diff --git a/db/fields.tsv b/db/fields.tsv index 0e062b8..71be27e 100644 --- a/db/fields.tsv +++ b/db/fields.tsv @@ -1379,3 +1379,211 @@ EntityList_EL 0x4 Entity** _data Beast/Dogma/Gideon AIs (00444cc0, 004aafa0, 004 EntityList_EL 0xc uint32_t _size same loops bound i by Room+0x1264 (EL+0xc of _updateEL) and EntityList+0x5c (EL+0xc of _renderEL) Entity 0x176 bool _isInitFlag176 ? only written in the dump: Entity::Init 006a93a0 zeroes it (word with _removedByFactory 0x177); Entity_Pickup::Init 006e02f0 sets 1; Entity_Effect::Init 005cdb20 sets 1 for floor/random-rotation effects (variants with sortingLayer 0/z 2000, 0x61, 0x91, 0x92, 0x9b); Entity_Projectile::Update 00653070 clears it when switching to the "Flickering" anim; no reader found Manager 0x29fbc MusicManager _musicManager 00428cd0 Lua MusicManager() returns g_Manager+0x29fbc; the Lua class is MusicManager (lua_fields), so the member gets that struct +RNG 0x0 uint32_t _seed RNG::Next 007e90f0 reads/writes the xorshift state at +0 ("RNG Seed is zero!"); RNG::SetSeed 007e8fe0 stores Seed there. Ghidra's RNG is 4 bytes today, so every RNG member shows its shifts as field_0x (Entity+0x3e0..0x3e8, Game+0x182d8.., ItemPool+0x658, Seeds+0xc/0x10, GridEntity+0x30) +RNG 0x4 uint32_t _shift1 RNG::Next 007e90f0 seed ^= seed >> this[1]; RNG::SetSeed 007e8fe0 copies 3 shifts from table DAT_00b1f4c8+idx*0xc into +4..+0xc; Game ctor writes 5,9 (qword) at Game+0x182d8 = _generationRNG+4 +RNG 0x8 uint32_t _shift2 RNG::Next 007e90f0 seed ^= seed << this[2]; SetSeed 007e8fe0 table dword 2 +RNG 0xc uint32_t _shift3 RNG::Next 007e90f0 seed ^= seed >> this[3]; SetSeed 007e8fe0 table dword 3; Level::Init 00744940 sets Game+0x182f0 (_devilAngelRoomRNG+0xc) = 0x13 +Weapon 0x4 Entity* _owner Weapon::Init 009f34d0 stores param_3 at +4; Weapon::Update 009f34f0 steps the charge by owner+0x39c; IsAxisAligned 009f3360 / Fire 009f3540 / Weapon_*::Fire read it as the Entity_Player (or familiar, type 3 -> its player) +Weapon 0x34 uint32_t _modifiers WeaponModifier bits: Weapon_Brimstone::GetMaxCharge 00a00f30 bit 0 (Chocolate Milk) scales max charge 2.5, bit 4 (Ludovico) makes it 0; GetFocusEntity 00a02870 / GetMarkedTargetVariant 00a02800 test bit 4; fire 00a02890 bit 9; Entity_Familiar::update_weapon 0062e620 copies the player's weapon +0x34 | 0x40000000 into the familiar's weapon +ProceduralItemManager 0x28 std_set_TypeVariant _spawnTriggerTargets set of (type, variant or -1) keys (node 0x18, key uint type +0x10 / int variant +0x14): ~ProceduralItemManager 009dc750 erases the tree head at +0x28 (= Game+0x67780, allocated by Game ctor 006f1020 with size +0x2c); ItemPool::CreateGlitchedCollectible 009dcc70 inserts (FUN_009e24f0) a glitched item's trigger target when its trigger kind is 6; Game::SpawnEx 006fe410 and Entity_NPC::Render 0058a010 look up the spawned entity's (type,variant)/(type,-1) and fire trigger_set_dispatch(6,..) on a hit +Manager 0xc int _previousState Manager::Update 00954cd0 saves _state here before switching to the cutscene state 3 and restores _state from it when the cutscene ends; Manager::Init 00952410 zeroes it +Manager 0x20dcc bool _isSavingGameState Manager::save_game_state 00958ed0 sets it to 1 around Game::store_game_state and clears it after saving; entity_type_is_saved 007eed10 forces true while it (or Game _isStoringGlowingHourglassState) is set +Manager 0x21618 bool _isCutscenePending Manager::ShowCutscene 00958e60 and Game::End 006f9770 set it to 1; Manager::Update 00954cd0 then calls Cutscene::Show(_pendingCutsceneId), enters state 3 and clears it; BossOverlay::update 004212c0 sets it too +Manager 0x2161c int _pendingCutsceneId Manager::ShowCutscene 00958e60 stores cutsceneID (<= 0x1a); Game::End 006f9770 stores 3/0xf/0x10..; Manager::Update 00954cd0 passes it to Cutscene::Show(&_cutsceneManager, id) +Manager 0x21620 bool _isCutsceneCleanupPending Manager::ShowCutscene 00958e60 stores its shouldCleanup argument; Manager::Update 00954cd0 unloads the game state (unload_state) before the cutscene and, after it, goes to _cutsceneNextMenuState with the fade color when set +Manager 0x21624 int _cutsceneNextMenuState Manager::ShowCutscene 00958e60 stores its 3rd argument; Manager::Update 00954cd0 copies it into _pendingMenuState and calls start_pending_menu after a cleanup cutscene; Game::End 006f9770 stores the menu to return to +Manager 0x4a950 PopupButtons _popupButtons Manager ctor 00950610 eh-vector-ctor 2 x 0x130 at +0x4a950 (FUN_00951130 = ANM2 ctor + fields); Manager::Init 00954733 loads gfx/ui/ButtonPromptWidget.anm2 into both (FUN_00423aa0); Manager::Update 00954cd0 slides them; Manager::Render 00955c7f calls PopupButtons::Render; Cutscene::Show 0095e7c0 / DeathScreen::Show / online_stats_finalize call PopupButtons::reset on it; ends at _framecount 0x4abbc +PopupButton 0x0 ANM2 _sprite FUN_00423aa0 (Manager::Init) loads gfx/ui/ButtonPromptWidget.anm2 into each 0x130 record and plays LeftPrompt/RightPrompt; PopupButtons::Render 00423cc0 sets layer "Text" frame and renders it +PopupButton 0x114 float _slideOffset Manager::Update 00954cd0 (954fb1) moves +0x114 toward +0x118 by 6.0 per frame for both buttons; FUN_00424130 adds scale*it to the button's screen y; PopupButtons::reset 004239b0 sets 96 +PopupButton 0x118 float _targetSlideOffset PopupButtons::reset 004239b0 sets 96 (hidden below the screen) or 0 with arg 1 (slide in); MenuManager::Render 0098a040 / Manager::RestartGame / update_ingame_input set Manager+0x4aa68/+0x4ab98 to 96 or 0 to hide/show the prompts; Manager::Update 00954cd0 slides _slideOffset to it +PopupButton 0x11c int _textFrame PopupButtons::Render 00423cc0 ANM2::SetLayerFrame(sprite, "Text" layer, *(+0x11c)); reset 004239b0 sets 1 / 0; Cutscene::Show 0095e7c0 sets button 1 to 6 +PopupButton 0x120 bool _isVisible ? PopupButtons::reset 004239b0 sets 1; PopupButtons::Render 00423cc0 draws the action glyph only while it is set (and _buttonAction != 0x20) +PopupButton 0x124 int _buttonAction PopupButtons::reset 004239b0 sets 0xf / 0xe (MENUBACK / MENUCONFIRM); PopupButtons::Render 00423cc0 looks it up in the input device's action table ("ActionId is out of range") and draws its glyph or name; Manager::Update 00954cd0 skips 0x20 +PopupButton 0x128 Vector _offset PopupButtons::reset 004239b0 zeroes it (g_vectorZero); FUN_00424130 adds +0x128/+0x12c to the button's screen position +PopupButtons 0x0 PopupButton _buttons[2] PopupButtons::reset 004239b0 resets records at +0x114.. and +0x244.. (0x130 apart); FUN_00424130 positions button 0 bottom-left and button 1 bottom-right; Manager::Update 00954cd0 loops 2 records of 0x130 +PopupButtons 0x260 float _scale PopupButtons::reset 004239b0 sets 1.0; PopupButtons::Render 00423cc0 and FUN_00424130/004240b0 scale positions, sprite scale and glyphs by it; FUN_0095eb60 (cutscene callback) reads +0x260 +PopupButtons 0x264 void* _callback PopupButtons::reset 004239b0 clears it; Cutscene::Show 0095e8dc stores 0x95eb60 at Manager+0x4abb4 (= +0x264); DeathScreen::Show installs FUN_008cb190 +PopupButtons 0x268 void* _callbackContext PopupButtons::reset 004239b0 clears it; Cutscene::Show 0095e8e6 stores the Cutscene* at Manager+0x4abb8 (= +0x268) beside _callback +Manager 0x4abc0 int _consecutiveResetCount Manager::RestartGame 00958cb0 increments it when its progresScaredHeart argument is set (else zeroes) and unlocks achievement 0x148 (Mr. Resetter) once > 6; StartNewGame 00958aa0 / Menu_Game::Update / Menu_DailyChallenge::Update / Manager::Init zero it +Manager 0x4b3bc Vector _lastMousePosition Manager::Update 00954cd0 compares the window cursor position with +0x4b3bc/+0x4b3c0 and stores it; Manager::Render 009555c0 draws _cursorSprite at it scaled to the window +Manager 0x4b3c4 int _cursorVisibleTimer Manager::Update 00954cd0 sets it to 300 when the mouse moves, else decrements to 0; Manager::Render 009555c0 draws _cursorSprite only while > 0 (mouse control on, state 1/2); Manager::Init zeroes it +Manager 0x4b3c9 bool _isRenderSurfaceResetPending Manager::update_screen_scale 00954150 sets it; Manager::Render 009555c0 then resets the render-target smart pointers, calls create_render_surfaces, re-reads the window size and clears it; Manager::Init zeroes it +Entity_Effect 0x474 float _rotation Lua EntityEffect.Rotation 005784c0 returns float this+0x474; Entity_Effect::Init 005cdb20 zeroes it and sets 30*rand+5 for some variants +Entity_Effect 0x478 float _scale Lua EntityEffect.Scale 004d7770 returns float this+0x478; Entity_Effect::Init 005cdb20 defaults it to 1.0 (1.3 for player-spawned 0x20, 0.033 for 0x9b, 0 for 0x79/0xb2); Entity_Effect::Render 00607620 uses scale*0.65 for the overlay layer +PlayerManager 0xc CoopJoinSlot _coopSlots[4] 4 records of 0x14 at +0xc/+0x20/+0x34/+0x48: PlayerManager::handle_coop_join 009bac40 checks each slot's controller/state and fills playerType/1/1.0/locked; GetPlayerSlotFromController 009baaa0 scans this+0xc for a controller; RemoveCoPlayer 009ba000 resets them (-1,0,-1,0) +CoopJoinSlot 0x0 int _controllerIndex PlayerManager::GetPlayerSlotFromController 009baaa0 matches it; handle_coop_join 009bac40 passes it to Entity_Player::SetControllerIndex for the joined player; RemoveCoPlayer 009ba000 sets -1; HUD::Render 009a3eb0 draws the join menu while >= 0 +CoopJoinSlot 0x4 int _playerType handle_coop_join 009bac40 sets 0 or the challenge's _playerType and spawns SpawnCoPlayer2(it); -1 picks a random entry of PlayerManager+0x70 +CoopJoinSlot 0x8 int _state ? handle_coop_join 009bac40 sets 1 when a controller joins; RemoveCoPlayer 009ba000 / RestoreGameState set -1; handle_coop_join and HUD::Render 009a3eb0 treat >= 0 as an open join menu +CoopJoinSlot 0xc float _menuPosition ? handle_coop_join 009bac40 sets 1.0 on join; HUD::Render 009a3eb0 (9a5d3c) draws character portraits from floor(x-2)..ceil(x+2) offset by (i - it), i.e. the scrolling character-select position +CoopJoinSlot 0x10 bool _isPlayerTypeForced handle_coop_join 009bac40 sets 1 when a challenge/daily forces the type (0 otherwise) and only lets the slot browse characters while it is 0, clearing it on confirm +PlayerManager 0x70 std_vector_int _coopPlayerTypes handle_coop_join 009bac40 picks a random element 1..n-1 of begin/end +0x70/+0x74 for a random (-1) co-op character; HUD::Render 009a3eb0 (Game+0x1bb18) draws the join carousel from it +RoomDescriptor 0x1c int _doors[8] RoomDescriptor::constructor 006ef590 sets the 8 dwords 0x1c..0x38 to -1; Level::ChangeRoom 0073fc80 / UncoverHiddenDoor 0074a1b0 read +0x1c+slot*4 as the neighbouring room index (GetRoomByIdx); MakeRedRoomDoor 0074d010 writes -2 or the new room's GridIndex +ColorModState 0x0 float _red Game::Render 006fbc10 sends Game+0x676b8 (+0) as the colour-modifier tint red; Game ctor 006f1020 inits 1,1,1,0,0,1 +ColorModState 0x4 float _green Game::Render 006fbc10 tint green from +4 (Game+0x676bc) +ColorModState 0x8 float _blue Game::Render 006fbc10 tint blue from +8 (Game+0x676c0) +ColorModState 0xc float _amount Game::Render 006fbc10 Shader::set_uniform("Amount", Game+0x676c4); MenuManager::Render 0098a040 set_uniform("Amount", +0xf7cc) (= its _currentColorModState+0xc) +ColorModState 0x10 float _brightness Game::Render 006fbc10 Shader::set_uniform("Brightness", Game+0x676c8) +ColorModState 0x14 float _contrast Game::Render 006fbc10 Shader::set_uniform("Contrast", Game+0x676cc); ctor default 1.0 +AchievementOverlay 0x0 std_deque_int _queue AchievementOverlay::Update 00931ba0 pops the front id when idle: map +4 [(off>>2) & (mapSize+8 - 1)][off & 3], then size (+0x10) -1 and offset (+0xc) +1 (0 when empty): MSVC deque layout +AchievementOverlay 0x14 int _currentEntry AchievementOverlay::Update 00931ba0 stores the popped id and indexes _entries (+0x134 + it*0x34) for the sprite and the "No sprite for achievement %d (%s)" log +AchievementOverlay 0x18 int _frame AchievementOverlay::Update 00931ba0 zeroes it on entering state 2 and plays "Dissapear" once it passes 0x5a (or MENUCONFIRM) +AchievementOverlay 0x1c int _state AchievementOverlay::Update 00931ba0: 0 idle (pops the queue, -> 1 "Appear"), 1 -> 2 "Idle" + sound 8 when the anim ends, 2 -> 3 "Dissapear", 3 -> 0 +AchievementOverlay 0x20 ANM2 _sprite AchievementOverlay::Update 00931ba0 ANM2::Play(this+0x20, Appear/Idle/Dissapear), GetLayer 0/3, ReplaceSpritesheet layer 3, LoadGraphics; Manager ctor builds an ANM2 at Overlay+0x20 +AchievementOverlay 0x134 AchievementOverlay_Entry _entries[642] AchievementOverlay::Update 00931ba0 indexes +0x134 + id*0x34 (id at +0, name std::string +0x138, gfx std::string +0x150); 0x134 + 0x282*0x34 = 0x839c = _isPopupBlocked +AchievementOverlay_Entry 0x0 int _id AchievementOverlay::Update 00931ba0 logs it as the %d of "No sprite for achievement %d (%s)" +AchievementOverlay_Entry 0x4 std_string _name AchievementOverlay::Update 00931ba0 logs it (heap ptr when capacity +0x14 > 0xf) as the %s +AchievementOverlay_Entry 0x1c std_string _gfx AchievementOverlay::Update 00931ba0 tests its size (+0x10) and passes it to Sprite::ReplaceSpritesheet(layer 3) +ItemOverlay 0x0 int _state ItemOverlay::Update 009aca90: 1 counts _delay down, 0 idle, 2 active until the anim ends (REPENTOGON INACTIVE/WAITING/ACTIVE) +ItemOverlay 0x4 int _overlayID ItemOverlay::Show 009ad210 stores eOverlayID (<= 0x2f) here; Update 009aca90 tests == 0x2c +ItemOverlay 0x8 ANM2 _sprite ItemOverlay::Show 009ad210 ANM2::Reset/Load/ReplaceSpritesheet/LoadGraphics(this+8) from the per-overlay table (0x58 records from +0x11c); Update 009aca90 updates/reads its anim state (+0x38/+0x3c) +ItemOverlay 0x119c int _delay ItemOverlay::Show 009ad210 stores delay; Update 009aca90 decrements it in state 1 and starts the overlay when < 1 +ItemOverlay 0x11a0 EntityPtr _player ItemOverlay::Show 009ad210 assigns player with the EntityPtr multiset erase/insert; Update 009aca90 sets player+0x171 and Render 009acfe0 skips without it +EntityList 0x20 EntityList_EL _mainEL EntityList::Reset 00418230 walks data +0x24 / size +0x2c (cap +0x28), removes entities without FLAG_PERSISTENT (hi flags 0x20) and keeps the rest; EntityList::AddEntity 00418500 pushes non-player entities into it +EntityList 0x30 EntityList_EL _persistentEL EntityList::AddEntity 00418500 pushes players (1), familiars (3) and knives 8.0 into data +0x34 / size +0x3c (cap +0x38); Reset 00418230 re-adds them to _updateEL/_renderEL; EntityList::Update 004186c0 drops the ones no longer existing +EntityList 0x90 EntityList_EL _wispEL EntityList::Reset 00418230 pushes every 3.206 (wisp) of _updateEL into data +0x94 / size +0x9c (cap +0x98) +EntityList_EL 0x8 uint32_t _capacity EntityList::Reset 00418230 / AddEntity 00418500 log "EL: not enough space for push_back" when size+1 > +0x8 +Entity_Player 0x1540 int _potatoPeelerBandageCounter Entity_Player::UseActiveItem 005b39d0 (Potato Peeler case) increments it instead of _potatoPeelerCounter when the player has Ball of Bandages (207) but no Cube of Meat (73); EvaluateItems 00763570 adds it to damage *0.2 and to the Ball of Bandages level (+ GetCollectibleNum(207) + effect num); RestoreGameState 007ae4b0 restores it +Entity_Player 0x1564 float _taurusSpeedBonus Entity_Player::update_effects 00794e50 (79681f) adds a constant to it while the Taurus (299) effect is active and sets cache flags 0x1010, zeroes it when the effect is gone; EvaluateItems 00763570 adds it to _movespeed with the Taurus effect; TriggerNewRoom_TemporaryEffects 007a8350 zeroes it +GenericPrompt 0x0 ANM2 _sprite GenericPrompt::Show 008380f0 ANM2::SetAnimation(this,"Appear") and AnimationState::Rewind(this+0x30); GenericPrompt::Update 00837ab0 updates the anim state while byte +0x109 (ANM2 _loaded) is set and reads its animData +0x34 +Game 0x18320 Vector _dungeonReturnPosition Lua Level:DungeonReturnPosition 0085e140 returns Game+0x18320/+0x18324; Level::GetEnterPosition 0074a090 returns it when re-entering _dungeonReturnRoomIndex from a crawlspace; GridEntity_Stairs::Update 0099bd50 / ENTITY_ROTGUT_face 0057bec0 set it; Level::Init sets 320 +Game 0x18328 int _dungeonReturnRoomIndex Level*==Game*: Level::GetEnterPosition 0074a090 compares _currentRoomIdx with Game+0x18328 (Level._dungeonReturnRoomIndex) before using _dungeonReturnPosition +Level 0x18320 Vector _dungeonReturnPosition Lua Level:DungeonReturnPosition 0085e140 returns this+0x18320/+0x18324; Level::GetEnterPosition 0074a090 returns it for the crawlspace return room; Level::RestoreGameState 007475b0 restores it +Game 0x265c4 uint8_t _restartHoldFrames Manager::update_ingame_input 006fa540 increments this byte each frame ACTION_RESTART (0x12) is held (0 when released), restarts the run once >= 0x10 (not in dailies / Eden); Game::reset_run_state 006f43b0 zeroes it +Ambush 0x18 int _maxWaves ? HUD::Render 009a3eb0 (9a42d9) prints "%d/%d" with Game+0x265ec (_currentWave) over Game+0x265e0 (= Ambush+0x18) +Ambush 0x24 int _currentWave HUD::Render 009a3eb0 prints it as the %d of "%d/%d" waves; Game::store_game_state 006f9000 saves max(it-1, 0); room reset FUN_007eb010 and Game ctor 006f1020 zero Game+0x265ec +OnlineStatsScreen 0x568 std_vector_OnlineStatsPlayer _players ? 0x38-byte records (controller id +0, std::string name +8): online_stats_finalize 008ca600 clears and _Emplace_reallocates them at +0x568/+0x56c/+0x570; Game::Exit 006fa0c0 and update_ingame_input 006fa540 destroy them (Game+0x25ebc) when closing the screen +MusicManager 0x0 int _currentChannel MusicManager::Crossfade 007e1e70 flips *this between 0 and 1 and starts the new music on channel *this; EnableLayer 007e2280 and ENTITY_BEAST 00592460 index the 0x184-byte channel at this+4+*this*0x184 +MusicManager 0x4 MusicChannel _channels[2] MusicManager::Crossfade 007e1e70 / EnableLayer 007e2280 index channels of 0x61 dwords from this+4; 4 + 2*0x184 = 0x30c = _currentMusicID +MusicChannel 0x16c uint32_t _enabledLayers MusicManager::EnableLayer 007e2280 ORs 1<::_Erase_tree) and resets the size; RoomTransition::Update 008318a0 updates every node's anim state +RoomTransition 0x22c Vector _slideOffset ? RoomTransition::ChangeRoom 00830950 sets x (+0x22c) or y (+0x230) to the screen-width/height offset of the new room for the door direction (this+0x10 = 0..3) +NightmareScene 0x36c int _stageBarIcons[14] ? NightmareScene::record_stage 00923320 maps (stage, stageType) to a stage-bar icon index stored at +0x36c + stage*4 (stage 13 at +0x3a0); FUN_00707ad0 sets entry 0 (Manager+0x21994) to -3 in greed / 0; Manager::unload_configs 00953f10 sets entries 0/1 to 0x11 +MenuManager 0xda98 Menu_Online _menuOnline MenuManager::Update 009897d0 Menu_Online::Update(this+0xda98); MenuManager::Render 0098a040 Menu_Online::Render(this+0xda98); ctor 00986450 stores "gfx/ui/main menu/OnlineMenu.anm2" at its first dword, LoadGraphics 00988d80 loads it +ItemConfig 0x7c std_map_LocustConfig _locustConfigs ItemConfig::LoadLocustConfig 0072ba80 clears the tree at +0x7c (size +0x80) before parsing locusts.xml (color/scale/quality per item) and inserts entries (FUN_00731870); ItemConfig::destructor 00725190 erases it and deletes the 0x54-byte head +GridEntity_Door 0x3a0 uint32_t _doorFlags ? GridEntity_Door::LoadSprite 0070d3f0 zeroes it then ORs style bits by room type (1, 2, 4, 8, 0x10 with the "Break" anims, 0x20 with "Collapse", 0x40); SetRoomTypes / Open / TryUnlock / Update / Entity_Effect::update_mr_me / Entity_Familiar::ai_wisp test bits 1/0x10/0x20/0x50 +PauseScreen 0x0 int _state PauseScreen::Show 009b7680 sets *this=1; PauseScreen::Update 009b5d20 sets 4 after GenericPrompt::Show of the quit-daily prompt and back to 1 (then Game::End) when the prompt is answered +PauseScreen 0x47c GenericPrompt _genericPrompt PauseScreen::Update 009b5d20 GenericPrompt::Show(this+0x47c,0) for "#QUIT_DAILY_RUN_*" and GenericPrompt::Update(this+0x47c,1); Render 009b7190 GenericPrompt::Render(this+0x47c); right after REPENTOGON's last ANM2 (0x368+0x114) +GameState 0x1fdec bool _isSaveAvailable FUN_00959fa0 (load save slot) sets byte Manager+0x20d90 (=_gamestate+0x1fdec) to 1 when GameState read 009cc1a0 succeeds, else GameState::Delete; Menu_Game::Update 00981140 / PreRenderContinueImg 00982100 enable the Continue widget on it +GameState 0x1fded bool _isRerunAvailable FUN_00959fa0 sets byte Manager+0x20d91 (=_gamestate+0x1fded) to 1 when GameState::read_rerun 009d7d50 succeeds, else GameState::DeleteRerun; Menu_Game::Update 00981140 also enables Continue on it +GameState 0x1fe24 void* _saveFile Manager::save_game_state 00958ed0 / save_rerun_to_steam_cloud 00959180 delete the old object (vtbl[0](1)), store SaveDataManager::open_file_write result at Manager+0x20dc8 (=_gamestate+0x1fe24), pass it to GameState::write and call vtbl+0x30/+0x34 (flush/close); GameState::read_player 009cb620 reads via this+0x1fe24 (REPENTOGON GameState _saveFile, last member) +Cutscene 0x808 int _currentCutsceneId Cutscene::Show 0095e7c0 unloads entry this[0x202] then stores cutsceneid at this+0x808; Manager::update_screen_scale 00954150 / ResizeWindowCallback 009a9ef0 / Manager::Update 00954cd0 index the 0x4c-byte entries at Cutscene+4 by Manager+0x215d8 (=Cutscene+0x808) +Cutscene 0x84c int _queuedCutsceneId Manager::ShowCutscene 00958e60 stores cutsceneID at Manager+0x2161c (=Cutscene+0x84c) and sets pending byte +0x848; Manager::Update 00954cd0 then calls Cutscene::Show(this, it); BossOverlay::update 004212c0 queues 0x19, Game::End 006f9770 queues the endings +Cutscene 0x850 bool _isQueuedCleanup Manager::ShowCutscene 00958e60 stores shouldCleanup at Manager+0x21620 (=Cutscene+0x850); Manager::Update 00954cd0 clears _isSaveOnExit and calls unload_state before showing when set, and on cutscene end restores the menu state (+0x854) and fade color only when set +StringTable 0xc std_map_cstr_StringTableCategory _categories ? Manager::destructor 00951160 erases trees at StringTable+4 (0x18-byte nodes) and +0xc (0x28-byte nodes, std::map); Game::ShowFortuneText 009807a0 map-finds a category name and compares with the head at Manager+0x4a92c, taking the entry count from the node for RNG::RandomInt +Manager 0x4b284 bool _isSaveOnExit Manager::unload_state 00959670 passes byte this+0x4b284 to Game::Exit(ShouldSave); start_pending_game 00959720 sets it (word 1); Game::DeleteSaveState 00959130 / RestartGame 00958cb0 / Init clear it; Console::RunCommand sets 1 after the rerun restart +Manager 0x4b2a4 bool _isNightmarePending StageTransition::Update 0092f1c0 / ItemOverlay::Update 009aca90 set it with the nightmare id in +0x4b2a5; Manager::Update 00954cd0 then calls NightmareScene::Show(this+0x21628, +0x4b2a5), enters state 5 and clears it; Init 00952410 clears +Game 0x1ba98 RNG _fortuneRNG Lua Game:ShowFortune 005b1870 and FUN_0065d070 ("Fortune_Seeds") pass this+0x1ba98 as the RNG to Game::ShowFortuneText 009807a0; ctor 006f1020 seed 0xaa17414f shifts 5/9/7 at +0x1ba9c..+0x1baa4; Game::Start 006f5320 reseeds from Seeds::GetNextSeed; store_game_state saves it +Game 0x269d0 bool _isConsoleUsedThisRun ? Game::Start 006f5320 / StartDebug 006f7750 / StartDailyChallenge 006f6dd0 copy Manager _isConsoleEnabled into it; StartFromRerunState 006f72f0 sets it when the rerun state flag or the console is on; store_game_state 006f9000 saves it; no other reader found +BossPool 0x8ac vector_bool _removedBosses Level::ForceHorsemanBoss 007481d0 tests bits 9..0xc / 0x26 in *(Game+0x1b81c) (=_bossPool+0x8ac data) and sets the chosen boss id bit; Room::SpawnEntry 007ed310 tests bit 0x18; ctor 006f1020 zeroes it (REPENTOGON BossPool _removedBosses 0x8ac, size 0x8cc) +RoomTransition 0x10 int _direction RoomTransition::ChangeRoom 00830950 switches on it (0..3 door side offsets) and sets Game _leaveDoor=-1 when it is -1; RoomTransition::Update 008318a0 hides players when -1; FUN_00429570 / FUN_00707ad0 zero it +RoomTransition 0x14 int _targetRoomIdx RoomTransition::ChangeRoom 00830950 Level::GetRoomByIdx(+0x14, +0x18) and Game::ChangeRoom(+0x14, +0x18); Update 008318a0 compares it with Game _currentRoomIdx +RoomTransition 0x18 int _targetDimension RoomTransition::ChangeRoom 00830950 passes it as the dimension with _targetRoomIdx to GetRoomByIdx and Game::ChangeRoom +RoomTransition 0x38 ANM2 _versusScreenSprite Game::constructor 006f1020 ANM2::constructor(_roomTransition+0x38); RoomTransition::StartBossIntro 0082f1c0 loads/plays the versus screen on this+0x38 +Seeds 0x18 uint32_t _stageSeeds[14] Lua Seeds:GetStageSeed 00738280 returns this+0x18+min(stage,13)*4 (so _rng at +8 is a 0x10 RNG, not 0x48; Seeds::GetNextSeed 006ef890 shifts are +0xc/+0x10/+0x14) +PersistentGameData 0x4 void* _saveFile PersistentGameData::Load 00926a50 / SaveToSteamCloud 00928ee0 delete the old file object at this+4 (vtbl[0](1)) and store the new one; ctor 00925f80 zeroes it; Manager::destructor frees it +PersistentGameData 0xf64 std_map_int_int _bestiaryEncounters PersistentGameData::TryAddBestiaryEncounter 0092aea0 inserts key (id<<12|variant)*0x100 into the map at this+0xf64 (size +0xf68); Clear 009262b0 erases it +PersistentGameData 0xf6c std_map_int_int _bestiaryKills PersistentGameData::AddBestiaryKill 0092acb0 / GetBestiaryKillCount 0092b100 use the map at this+0xf6c (size +0xf70); Clear 009262b0 erases it +PersistentGameData 0xf7c std_map_int_int _bestiaryDeaths PersistentGameData::GetBestiaryDeathCount 0092b070 finds key (id<<12|variant)*0x100 and returns node value (+0x14) unless it is the head this+0xf7c; Clear 009262b0 erases it and zeroes size +0xf80 +MenuManager 0xda9c ANM2 _onlineMenuSprite MenuManager::constructor 00986450 stores "gfx/ui/main menu/OnlineMenu.anm2" at +0xda98 and builds ANM2 at +0xda9c; LoadGraphics 00988d80 ANM2::Load(+0xda9c, that path) + Play Idle; unload_graphics 00988ba0 resets it (Menu_Mods ends at 0xd96c+0x12c = 0xda98) +MenuManager 0xf5cc ANM2 _onlineStatsMenuSprite MenuManager::LoadGraphics 00988d80 ANM2::Load(+0xf5cc,"gfx/ui/main menu/OnlineStatsMenu.anm2") + Play Idle; MenuManager::Update 009897d0 sets its "Cursor" layer frame; ctor builds it, unload_graphics resets it +EntityConfig_Entity 0x68 std_vector_BossColor _bossColors EntityConfig::load_boss_colors 00698e80 clears (end=begin +0x68/+0x6c) and push_backs 0x7c-byte entries (std::vector<124byte>::_Emplace_reallocate, cap +0x70) +Ambush 0xc std_vector_std_vector_BossRushEntry _bossRushWaves Ambush::SpawnBossrushWave 00833c40 pops the last 0xc-byte element (itself a vector of 12-byte entries) of begin +0xc / end +0x10 _bossesPerWave times; Ambush::Update 00834350 tests it empty in the boss rush room (type 0x11); StartChallenge 00833420 +Room 0x11f0 int _enterFrame Room::GetFrameCount 00813ce0 returns Game _frameCount - this+0x11f0 (-1 if room not initialised); Room::Update 00802980 runs first-frame logic on _frameCount - it == 1 / 4 +Room 0x788c float _beastBlastForce ? only NpcAI::ENTITY_BEAST 00592460 uses it: grows by +-0.2 (cap 7/7.5, sign from flipX) while shooting, decays 0.05/0.8/0.9/0.95, and pushes the colliding entity with -it (+0xbb8); ctor 007e9400 zeroes it +PlayerProceduralItems 0x0 Entity_Player* _player Entity_Player::Init 00755470 (007575bb) stores the player at Entity_Player+0x1fc8 (= _proceduralItems+0) +PlayerProceduralItems 0x4 std_set_int _itemIds Entity_Player::TryRemoveTrinket 00771f60 walks the tree at Entity_Player+0x1fcc for negative (glitched) ids indexing ProceduralItemManager _proceduralItems; ctor 00753da0 builds the head +PlayerHUDActiveItem 0x10 KAGE_SmartPointer_ImageBase _bookImage PlayerHUD::Update 00842230 swaps Manager::LoadImage("gfx/ui/hud_BookOfVirtues.png"/BookOfBelial/WithBelial) into PlayerHUD+0x1a0/+0x1a4+i*0x1c (entry+0x10/+0x14, REPENTOGON bookImage +0x10) +PlayerHUDActiveItem 0x4 int _bookItemId ? PlayerHUD::Update 00842230 reloads the book overlay only when the item id (0x248 Book of Virtues, 0x22 Book of Belial, 0x3b) differs from PlayerHUD+0x194+i*0x1c and then stores it +EntityRef 0x18 Vector _velocity EntityRef::constructor 00431310 copies entity _velocity (or g_vectorZero) to +0x18/+0x1c +EntityRef 0x20 uint32_t _flags EntityRef::constructor 00431310 builds 1 charmed (flag 0x100) | 2 friendly (0x20000000) | 4; Lua EntityRef:IsCharmed 004bc670 returns +0x20 & 1, IsFriendly 004a2910 returns bit 1 +LayerState 0x0 LayerData* _layerData LayerState::Init 00408310 stores its LayerInfo* arg at *this and copies the spritesheet path from arg+0x20; ANM2::Load 0040bd50 reads the layer name at *(layer)+8 to find "shadow" / "*" layers; AnmCache::Load 0040db90 calls Init(layerData + i*0x38) per layer +LayerState 0x4 ANM2* _animation AnmCache::Load 0040db90: after LayerState::Init, layerState[i]+4 = the ANM2 (whose +0x7c is the layer-state array) +LayerState 0x8 std_string _spriteSheetPath Sprite::ReplaceSpritesheet 0040bf30 compares/assigns the path at layer+8 (stride 0xa0) and clears +0x30; ANM2::LoadGraphics 0040c000 passes layer+8 to Manager::LoadImage +LayerState 0x20 unsigned int _minFilterMode LayerState::GetTexture 00408590 passes +0x20/+0x24 to texture vtbl+0x44 (filter) when they differ from tex+0x30/+0x34; SetTexture 00408640 copies tex+0x30 into +0x20; show_beta_disclaimer_popup 00420190 sets GetLayer(0)+0x20 = +0x24 = 1 on its popup sprite +LayerState 0x24 unsigned int _magFilterMode LayerState::GetTexture 00408590 second arg of texture vtbl+0x44 (filter) with +0x20; SetTexture 00408640 copies tex+0x34 +LayerState 0x28 unsigned int _wrapSMode LayerState::GetTexture 00408590 passes +0x28/+0x2c to texture vtbl+0x48 (wrap) when they differ from tex+0x38/+0x3c; SetTexture 00408640 copies tex+0x38; shader renders set GetLayer(0)+0x28 = +0x2c = 0 +LayerState 0x2c unsigned int _wrapTMode LayerState::GetTexture 00408590 second arg of texture vtbl+0x48 (wrap); SetTexture 00408640 copies tex+0x3c +LayerState 0x30 bool _spriteSheetLoaded ANM2::LoadGraphics 0040c000 skips a layer whose +0x30 is set, else loads the image and stores the success flag there; Sprite::ReplaceSpritesheet 0040bf30 clears it; Entity_Pickup::load_collectible_gfx 006e1e90 sets it after binding the glitched-item render target +LayerState 0x32 bool _flipX render_build_sprite_quad 00409cb0 (param_4 = the LayerState from AnimationLayer::RenderFrame 00409120) negates the x scale when layer+0x32 != 0 +LayerState 0x33 bool _flipY render_build_sprite_quad 00409cb0 negates the y scale when layer+0x33 != 0 +LayerState 0x34 Vector _size render_build_sprite_quad 00409cb0 multiplies frame scale (+0x18/+0x1c) by layer+0x34/+0x38; LayerState::Init 00408310 sets it to g_vectorOne +LayerState 0x3c float _rotation render_build_sprite_quad 00409cb0 adds layer+0x3c to the frame rotation (+0x5c); LayerState::Init 00408310 = 0 +LayerState 0x40 Vector _pos render_build_sprite_quad 00409cb0 adds layer+0x40/+0x44 to the frame position (+0x10/+0x14); LayerState::Init 00408310 sets it to g_vectorZero +LayerState 0x48 ColorMod _color AnimationLayer::RenderFrame 00409120 Color::operator_assign(layer+0x48) when flag 1 is set; LayerState::Init 00408310 = tint 1,1,1,1, colorize/offset 0 (0x48..0x73) +LayerState 0x74 bool _visible AnimationLayer::RenderFrame 00409120 returns when byte [layer+0x74] == 0 (CMP byte ptr [EDI+0x74],0 at 004091b8); LayerState::Init 00408310 sets it to 1; Menu_Online::Render 008e4e30 sets GetLayer("BackKey")->+0x74 by controller type +LayerState 0x78 int _blendMode[5] AnimationLayer::RenderFrame 00409120 loads +0x78..+0x84 into g_graphicsManager_blendMode[0..3] and +0x88 into DAT_00c79910; ctor 004081d0/Init 00408310 set 0, 1|6, 7, 1, 7 +LayerState 0x8c unsigned int _bitflags AnimationLayer::RenderFrame 00409120 ORs layer+0x8c with ANM2+0x110 flags (OR ECX,[EDI+0x8c] at 004091f1); render_build_sprite_quad 00409cb0 tests flag 8 in the same OR; ANM2::Load 0040bd50 sets |= 5 on "*" layers +LayerState 0x90 Vector _cropOffset AnimationLayer::RenderFrame 00409120 adds layer+0x90/+0x94 to the source quad position; Entity_Pickup::load_collectible_gfx 006e1e90 sets it to the glitched-item atlas cell (~id&0x1f)*32, (~id>>5)*32; Init 00408310 = g_vectorZero +LayerState 0x98 KAGE_SmartPointer_ImageBase _spriteSheet LayerState::GetTexture 00408590 reads the image at *(layer+0x98) (filter/wrap via its vtbl) and returns a SmartPointer copy of +0x98; ctor 004081d0 zeroes +0x98/+0x9c (8-byte smart pointer, struct stride 0xa0) +DailyChallenge 0x0 unsigned int _id DailyChallenge::Init 00426a50 sets this+0 = dailyDate (yyyymmdd) and seeds the xorshift picks from it; Game::StartDailyChallenge 006f6dd0 copies *daily; Console::Update 0068b260 tests g_game daily _id != 0 +DailyChallenge 0x4 unsigned int _seed Game::StartDailyChallenge 006f6dd0 passes daily[1] to Seeds::Seed2String then Seeds::SetStartSeed +DailyChallenge 0x8 bool _isPractice Game::StartDailyChallenge 006f6dd0 copies byte daily+8; Menu_DailyChallenge::Update 008cf610 sets Manager daily +8 = (selected option == 2) and only bumps the daily event counter when not practice; Console::Update 0068b260 blocks the console in a non-practice daily +DailyChallenge 0xc unsigned int _specialDailyId DailyChallenge::Init 00426a50 sets this+0xc = holiday_get_current() and uses ==2 to shift the date seed; Game::StartDailyChallenge 006f6dd0 copies daily[3] +DailyChallenge 0x10 ChallengeParam _params DailyChallenge::Init 00426a50 calls ChallengeParam::Reset with ECX = this+0x10 then writes playerType/endStage/pathType at +0x10+0x44/+0x40/+0x80; Game::StartDailyChallenge 006f6dd0 reads difficulty at daily+0x80 (=+0x10+0x70) and seed effects at daily+0xa8 (=+0x10+0x98); struct size 0xb4 +ChallengeParam 0x0 std_string _name challenges_xml_load 009569f0: "name" attribute std::string::assign with ECX = the params local (LEA ECX,[EBP-0xd0] at 00956d0b, same as the ChallengeParams ctor call 00956c36); ChallengeParams ctor 00424310 / copy ctor 0095c050 string at +0 +ChallengeParam 0x18 std_set_int _roomset challenges_xml_load 009569f0: "roomfilter" values inserted into the set at params+0x18 (LEA ECX,[EBP-0xb8] before CALL 00428560 at 00957682); ctor 00424310 allocates its head node; Reset 00424440 erases it +ChallengeParam 0x20 std_vector_int _collectibleList challenges_xml_load 009569f0 pushes "startingitems" ids into the vector at params+0x20 (end ptr local +0x24); copy ctor 0095c050 std::vector copy at +0x20 +ChallengeParam 0x2c std_vector_int _trinketList challenges_xml_load 009569f0 pushes "startingtrinkets" ids into the vector at params+0x2c (end ptr local +0x30); Reset 00424440 sets +0x30 = +0x2c +ChallengeParam 0x38 int _startingPill challenges_xml_load 009569f0 stores atoi("startingpill") at params+0x38; Reset 00424440 = -1 +ChallengeParam 0x3c int _startingCard challenges_xml_load 009569f0 stores atoi("startingcard") at params+0x3c +ChallengeParam 0x40 int _endStage challenges_xml_load 009569f0 stores atoi("endstage") at params+0x40; DailyChallenge::Init 00426a50 picks 6/8/10/11 (0xb + megasatan on Sundays) +ChallengeParam 0x44 int _playerType challenges_xml_load 009569f0 stores atoi("playertype") at params+0x44; DailyChallenge::Init 00426a50 picks seed % 20 (skipping 11/12/17/20) and maps to tainted 0x15..0x25 +ChallengeParam 0x48 std_vector_int _achievementList challenges_xml_load 009569f0 pushes "achievements" ids into the vector at params+0x48 (end ptr local +0x4c) +ChallengeParam 0x54 int _soulHearts challenges_xml_load 009569f0 stores atoi("soulhp") at params+0x54 +ChallengeParam 0x58 int _blackHearts challenges_xml_load 009569f0 stores atoi("blackhp") at params+0x58 +ChallengeParam 0x5c int _hearts challenges_xml_load 009569f0 stores atoi("redhp") at params+0x5c +ChallengeParam 0x60 int _maxHearts challenges_xml_load 009569f0 stores atoi("maxhp") at params+0x60 +ChallengeParam 0x64 int _coins challenges_xml_load 009569f0 stores atoi("coins") at params+0x64 +ChallengeParam 0x68 float _addDamage challenges_xml_load 009569f0 stores (float)atof("adddamage") at params+0x68 +ChallengeParam 0x6c bool _canShoot challenges_xml_load 009569f0 parses "canshoot" (true/1) into byte params+0x6c; Reset 00424440 = 1 +ChallengeParam 0x70 int _difficulty challenges_xml_load 009569f0 stores atoi("difficulty") at params+0x70; Game::StartDailyChallenge 006f6dd0 copies daily+0x80 (=+0x10+0x70) to Game _difficulty +ChallengeParam 0x74 bool _isMegaSatan challenges_xml_load 009569f0 stores string_to_bool("megasatan") at params+0x74; DailyChallenge::Init 00426a50 sets it with endStage 11 on Sundays +ChallengeParam 0x78 float _minFireRate challenges_xml_load 009569f0 stores (float)atof("minfirerate") at params+0x78 +ChallengeParam 0x7c bool _maxDamage challenges_xml_load 009569f0 parses "maxdamage" (true/1) into byte params+0x7c +ChallengeParam 0x7d bool _minShotSpeed challenges_xml_load 009569f0 parses "minshotspeed" (true/1) into byte params+0x7d +ChallengeParam 0x7e bool _bigRange challenges_xml_load 009569f0 parses "bigrange" (true/1) into byte params+0x7e +ChallengeParam 0x7f bool _isPathTypeSet ? challenges_xml_load 009569f0 sets byte params+0x7f = 1 for every parsed ; DailyChallenge::Init 00426a50 sets _params+0x7f = 1; Reset 00424440 clears it (dword +0x7c = 0) +ChallengeParam 0x80 int _pathType challenges_xml_load 009569f0: "altpath" true -> params+0x80 = 1, "secretpath" true -> 2; DailyChallenge::Init 00426a50 writes 0..3 with the end stage +ChallengeParam 0x84 unsigned int _getCurse challenges_xml_load 009569f0 stores atoi("getcurse") at params+0x84 +ChallengeParam 0x88 unsigned int _curseFilter challenges_xml_load 009569f0 stores atoi("cursefilter") at params+0x88 +ChallengeParam 0x8c std_vector_int _collectibleTwinList challenges_xml_load 009569f0 pushes "startingitems2" ids into the vector at params+0x8c (end ptr local +0x90); copy ctor 0095c050 std::vector copy at +0x8c +ChallengeParam 0x98 std_vector_int _seedEffects Game::StartDailyChallenge 006f6dd0 calls Seeds::AddSeedEffect(daily+0xa8[i]) (=_params+0x98) for each element (asm 006f6ed2..006f6f12); copy ctor 0095c050 copies the int vector at +0x98; Reset 00424440 sets +0x9c = +0x98; struct size 0xa4 (Game::GetChallengeParams 00706940 stride) +Menu_Online 0x4 ANM2 _anm2 Menu_Online::enter 008e5260 ANM2::SetAnimation(this+4, "Idle"); Menu_Online::Update 008e4b10 GetLayer(this+4, "Cursor") + SetLayerFrame(.., _state); Render 008e4e30 GetLayer(this+4, "BackKey") +Menu_Online 0x22c int _prevState Menu_Online::Update 008e4b10 (asm 008e4b83/008e4be7): a held-input repeat counter, not a previous state: the cursor moves only when it is 0 or >0x31 and %10 == 0, then it is incremented (reset to 0 when no input); Menu_Online::enter 008e5260 sets it to 1 +Menu_Online 0x230 int _state Menu_Online::Update 008e4b10 (asm 008e4ba8..008e4c18) cycles it 0..4 (Quick Match/Public Match/Friend Match/Daily Run/Options) and switches on it when confirming; Render 008e4e30 picks the #Online/ONLINE_*_DESCRIPTOR text from it +GameStateItemPool 0x0 std_vector_float _poolsItemWeights[31] ItemPool::StoreGameState 007367d0 resizes the 31 vectors at state+0 (stride 0xc) to each pool's item count and copies each PoolItem weight (+8, stride 0x18) into them +GameStateItemPool 0x174 uint32_t _bibleUpgrades[31] ItemPool::StoreGameState 007367d0 copies ItemPool _pools[i]._bibleUpgrade (pool+0x30) to state+0x174+i*4 (LEA EAX,[ECX+0x174] at 007367f0) +GameStateItemPool 0x1f0 uint32_t _seed ItemPool::StoreGameState 007367d0 MOV [ECX+0x1f0], ItemPool+0 (seed) at 0073690a +GameStateItemPool 0x1f4 int _lastPool ItemPool::StoreGameState 007367d0 MOV [ECX+0x1f4], ItemPool+0x650 (_lastPool) at 00736916 +GameStateItemPool 0x1f8 uint32_t _itemPoolRNGseed ItemPool::StoreGameState 007367d0 MOV [ECX+0x1f8], ItemPool+0x654 (_itemPoolRNG seed) at 00736922 +GameStateItemPool 0x1fc uint32_t _trinketPoolRNGseed ItemPool::StoreGameState 007367d0 MOV [ECX+0x1fc], ItemPool+0x664 (_trinketPoolRNG seed) at 0073692e +GameStateItemPool 0x200 float _unkFloat674 ? ItemPool::StoreGameState 007367d0 MOV [ECX+0x200], ItemPool+0x674 (_unkFloat674) at 0073693a +GameStateItemPool 0x204 float _unkFloat678 ? ItemPool::StoreGameState 007367d0 MOV [ECX+0x204], ItemPool+0x678 (_unkFloat678) at 00736946 +GameStateItemPool 0x208 vector_bool _removedCollectibles ItemPool::StoreGameState 007367d0 resizes the vector at state+0x208 to ItemPool+0x688 bits and copies the _removedCollectibles bits (ItemPool+0x67c) +GameStateItemPool 0x218 vector_bool _trinketPoolItems ItemPool::StoreGameState 007367d0 resizes the vector at state+0x218 (ADD ECX,0x218 at 007369c8) to the trinket count and stores each TrinketPoolItem +4 (available) flag as a bit (REPENTOGON types it vector_TrinketPoolItem: it is a bit vector) +GameStateItemPool 0x228 int _pillEffects[15] ItemPool::StoreGameState 007367d0 copies 15 dwords ItemPool+0x7a4 (pill effects) to state+0x228 (00736a39..00736a63) +GameStateItemPool 0x264 bool _identifiedPillEffects[15] ItemPool::StoreGameState 007367d0 copies 15 bytes ItemPool+0x7e0 (identified flags, ItemPool::IdentifyPill 00718ea0 / IsPillIdentified 0083c490) to state+0x264 +GameStateItemPool 0x274 uint16_t _remainingGenesisItems[31] ItemPool::StoreGameState 007367d0 copies 31 words ItemPool+0x7f0 to state+0x274 (00736a65..00736a85); struct ends 0x2b4 (name from REPENTOGON, meaning unchecked) +ItemPool_Item 0x0 float _totalWeight ItemPool::load_pools 00735a30 adds each item's weight to pool+0; ItemPool::GetCollectible 00733610 RNG::RandomFloat * pool._totalWeight; ctor 00732c20 = 0 +ItemPool_Item 0x4 std_vector_PoolItem _poolList ItemPool_Item ctor 00732c20 zeroes +4/+8/+0xc; ItemPool::load_pools 00735a30 emplaces 0x18-byte items at pool+8 (end) / +0xc (cap); shuffle_pools 00735910 and StoreGameState 007367d0 walk pool+4..+8 stride 0x18 +ItemPool_Item 0x10 RNG _rng1 ItemPool_Item ctor 00732c20 sets +0x10 = 0xaa17414f and the shift triple at +0x14..+0x1c (RNG layout) +ItemPool_Item 0x20 RNG _rng2 ItemPool_Item ctor 00732c20 sets +0x20 = 0xaa17414f and the shift triple at +0x24..+0x2c +ItemPool_Item 0x30 uint32_t _bibleUpgrade ItemPool_Item ctor 00732c20 zeroes +0x30; ItemPool::StoreGameState 007367d0 copies pool+0x30 to GameStateItemPool._bibleUpgrades[i]; ItemPool::AddBibleUpgrade 00736fd0 adds to ItemPool+0x34+i*0x34; stride 0x34 (GetPool 00732c70) +GlowingHourglassState 0x0 bool _isUsable Game::GetGlowingHourglassState 00706780 returns the slot only when its first byte is set; Game::save_rewind_state 00705ee0 sets *slot = 1 after storing +GlowingHourglassState 0x4 GameState _gameState Game::save_rewind_state 00705ee0 calls store_game_state(game, slot+4); GameState is 0x1fe28 bytes (last member _saveFile at 0x1fe24), so it ends at 0x1fe2c +GlowingHourglassState 0x1fe2c int _leaveDoor Game::save_rewind_state 00705ee0 stores its arg (the door slot, from Room::update_door_transitions 007f01c0; -1 otherwise) at slot+0x1fe2c and returns early if the same door is passed again (REPENTOGON 0x1fca4: drifted +0x188) +GlowingHourglassState 0x1fe30 uint32_t _timeCounter Game::save_rewind_state 00705ee0 stores Game _frameCount at slot+0x1fe30 and skips a new save within 0xf frames of it (REPENTOGON 0x1fca4+4: drifted +0x188) +GlowingHourglassState 0x1fe34 int _eventCounters[523] Game::save_rewind_state 00705ee0 copies 0x20b dwords of PersistentGameData _eventCounters to slot+0x1fe34; ends at 0x20660 = the slot stride (eh-vector ctor 0x20660 x2, GetGlowingHourglassState) (REPENTOGON 0x1fcac: drifted +0x188) +BackwardsStageDesc 0x0 RoomDescriptor _bossRooms[2] Game::SaveBackwardsStage 00708050 (desc = Game::get_backwards_stage 00738340 base): copy_room_list into boss room i, frees/zeroes the RoomDescriptor data pointer at desc+0x10+i*0xb8 (write_room_config first) +BackwardsStageDesc 0x170 GameStateRoomConfig _bossRoomConfigs[2] Game::SaveBackwardsStage 00708050 Level::write_room_config(bossRoom[i].data, desc+0x170+i*0xc) +BackwardsStageDesc 0x188 RoomDescriptor _treasureRooms[2] Game::SaveBackwardsStage 00708050: for room type 4 (treasure) copy_room_list into treasure room i, data pointer at desc+0x198+i*0xb8 +BackwardsStageDesc 0x2f8 GameStateRoomConfig _treasureRoomConfigs[2] Game::SaveBackwardsStage 00708050 Level::write_room_config(treasureRoom[i].data, desc+0x2f8+i*0xc) +BackwardsStageDesc 0x310 uint32_t _bossRoomsCount Game::SaveBackwardsStage 00708050 sets desc+0x310 = 1 (last boss room), increments it per extra type-5 room while < 2; Level::place_rooms_backwards 00741e60 reads it +BackwardsStageDesc 0x314 uint32_t _treasureRoomsCount Game::SaveBackwardsStage 00708050 zeroes desc+0x314 and increments it per type-4 (treasure) room while < 2; Level::place_rooms_backwards 00741e60 reads it +BackwardsStageDesc 0x318 uint32_t _stageType Game::SaveBackwardsStage 00708050 stores Game _stageType at desc+0x318 +BackwardsStageDesc 0x31c bool _isXL Game::SaveBackwardsStage 00708050 sets byte desc+0x31c = (_bossRoomsCount > 1); stride 800 (get_backwards_stage 00738340) diff --git a/db/globals.tsv b/db/globals.tsv index c29a0d9..07ed197 100644 --- a/db/globals.tsv +++ b/db/globals.tsv @@ -38,7 +38,7 @@ 00c79790 g_renderTargetStackSize uint32_t std::deque _Mysize of the render-target stack (_Myoff 00c7978c, _Mapsize 00c79788): pop does 'if (DAT_00c79790 == 0) "PopRenderTarget: stack is empty!"', KAGE_Graphics::SetRenderTarget(back()), size-- 00c798b8 g_mountPrefixes char** begin of a static std::vector (end 00c798bc, cap 00c798c0) lazily filled from FileSystem::GetMountPrefixes in TextureCache::Has/Release and AnmCache::*: each prefix is strcat'ed with the path and hashed (GetPrimaryFilePathHash) to look up the cache 00c798e4 g_graphicsManager_flags uint32_t KAGE::Graphics::Manager static at 00c798e0 (stores KAGE::Graphics::Manager::vftable, returns &DAT_00c798e0); this is +4 = in_ECX[1] flags: KAGE_Graphics::SetRenderTarget sets 0x20 when rendering to the backbuffer; bit 4 picks blend rgbSrc 1 vs 6 -00c79900 g_graphicsManager_blendMode int[4] KAGE::Graphics::Manager (00c798e0) + 0x20; _equation at +0 (set 0), then rgbS 00c79904, rgbD 00c79908, aS 00c7990c, aD 00c79910; saved/restored as 5 dwords around draws; REPENTOGON BlendMode layout 0x14 matches the store pattern +00c79900 g_graphicsManager_blendMode int[5] 5 dwords (equation, rgbSrc, rgbDst, alphaSrc, alphaDst; AnimationLayer::RenderFrame 00409120 saves 00c79900..00c79910); KAGE::Graphics::Manager (00c798e0) + 0x20; _equation at +0 (set 0), then rgbS 00c79904, rgbD 00c79908, aS 00c7990c, aD 00c79910; saved/restored as 5 dwords around draws; REPENTOGON BlendMode layout 0x14 matches the store pattern 00c79948 g_graphicsManager_renderTarget void* KAGE::Graphics::Manager (00c798e0) + 0x68: KAGE_Graphics::SetRenderTarget stores in_ECX[0x1a] = target and sets flag 0x20 when null; readers use +0x10/+0x14 as width/height (glViewport args) 00c7999c g_glfwWindow void* GLFWwindow* (member +0xbc of the static KAGE::Graphics::Manager at 00c798e0, zeroed in its ctor FUN_00a18aa0): glfwGetWin32Window inlined as hwnd = *(HWND*)(DAT_00c7999c + 0x2b4) (window->win32.handle) after the _glfw.initialized / platformID checks; used by Input::GetMousePosition, Input::IsMouseBtnPressed, Console::Update 00c79a58 g_multiplayerService void* KAGE::Network::MultiplayerManager static at 00c79a50 (stores MultiplayerManagerBase::vftable, zeroes +8); +8 = active KAGE::Network::Multiplayer::ServiceBase*, __RTDynamicCast to ServiceLocalhost / ServiceEOS diff --git a/db/names.tsv b/db/names.tsv index dca3aa5..6f59dd4 100644 --- a/db/names.tsv +++ b/db/names.tsv @@ -44,7 +44,7 @@ 0064e0c0 Entity_Familiar::ai_blood_clot strs Float/Walk*; salvage c4_clot.c (Tainted Eve) 007d5170 Entity_Player::bag_of_crafting_collect salvage c5_bag.c; str Collect 007d6670 Entity_Player::poop_spell_roll salvage spellq.c (Tainted ???); weighted pick; verify -0073e0a0 Level::generate_greed salvage greedgen.c; verify +0073e0a0 Level::load_room ? "Level::load_room: could not choose a door..."; called from Level::ChangeRoom and RestoreGameState (was Level::generate_greed) # # Imported from src/anm2 and src/rooms decompile labels (hand-verified there) 0082c720 RoomConfig::GetRoomByStageTypeAndVariant src/rooms labels; ZHL said ResetRoomWeights @@ -870,7 +870,7 @@ 0049cd90 NpcAI::ENTITY_CHIMERA_head_update ? once from ENTITY_CHIMERA_body for variant 0: HeadIdle/HeadCharge/HeadAttack overlay anims, "Shoot" event spawns small maggots / Game::Spawn toward GetPlayerTarget, Entity_Effect::FollowParent 004a6240 NpcHelper::delirium_remove_minions (type, variant, self, other): Entity::Remove (vfn 0x28) every room NPC that is not self/alive-check and matches type.variant or other type.variant; type 0x4f (Fistula) also removes the QuerySublist entries; from ENTITY_DELIRIUM morph 0074beb0 Level::init_rotgut_dungeon_room ? this=Level (stage type +4 is 4/5, RNG +0x182d4..): RoomConfig::GetRandomRoom into the RoomDescriptor at level+0x175d4 (+0x5d75*4) guarded by +0x1830c<3, Seeds::Init3; called once from NpcAI::ENTITY_ROTGUT_face (ROOM_ROTGUT_DUNGEON) -009997c0 DeathScreen::Show ? called once from Game::End: this[0]=2 state, +0x11c=1, loads gfx/ui/Death Screen.anm2 and gfx/ui/DeedsDeathScreen.anm2, "Diary" anim, logs "Game Over. Killed by (%d.%d) spawned by (%d.%d) damage flags (%d)" +009997c0 GameOver::Show ECX = Game+0x1d520 (Game::_gameOver) (was DeathScreen::Show) 007f96f0 get_angel_room_chance ? FirstCollectibleOwner of 238/239 Key Pieces, 584 Book of Virtues, 601, 499 Eucharist and game flag 0x20 -> angel room chance; callers Level::InitializeDevilAngelRoom, StatHUD::RecomputeStats (Found HUD chance), 0084cc40 007c3a60 Entity_Player::preload_item_sounds once from Entity_Player::room_enter: HasCollectible/HasTrinket chains then "Preload sound %d." per owned item 009ecdd0 Menu_Stats::Render right after Menu_Stats::Update 009ecbc0, rendered in the menu manager render sequence 0098a040; "%d/%d" counters via Font::DrawString, render_color_shader_pass @@ -956,7 +956,7 @@ 0061a240 Entity_Familiar::ai_blue_babys_only_friend Entity_Familiar::Update case 0x4d (variant 77, CheckFamiliar from COLLECTIBLE_BLUE_BABYS_ONLY_FRIEND 320); steered by Entity_Player::GetShootingJoystick and clamped with Room::GetClampedPositionImpl 006437a0 Entity_Familiar::ai_stitches Entity_Familiar::Update cases 0xdd/0xde (variants 221 Paschal Candle 567, 222 Stitches 635); anims TeleportDown/TeleportUp, aims with GetShootingJoystick + Room::GetClampedPositionImpl 00582b60 NpcHelper::scourge_spawn_chain (kind 0/1/2, npc, pos) spawns ENTITY_SCOURGE (0x38d) variant 10 (chain) and sets its anim; called 5x from the Scourge body AI 0x587aa0 (misnamed Entity_Familiar::HandleCollision, dispatcher case for type 909 variant!=10) -00ad60a0 theora_oc_state_frag_recon ? libtheora fragment reconstruction (state, fragi, pli, short* dct coeffs, last_zzi): inlined 8x8 idct then 8 pixels per row clamped through a 0x3ff lookup table; no direct callers (reached via the oc_dec opt vtable) +00ad60a0 jpeg_idct_6x6 libjpeg: case 6 of the start_pass 00acae00 IDCT switch, between 5x5 and 7x7 (was theora_oc_state_frag_recon) 00499a50 NpcHelper::chub_nearest_segment ? this = array of 3 segment entities, arg = a segment: returns the other segment closest by position (0x33c); called from NpcAI::ENTITY_CHUB and 0x4999d0 007e7820 pathfinder_can_reach_pos ? ECX=Vector pos, arg=Room: reads Room::_gridPath (+0x76c, 0x1c0 ints, 1000 = blocked) at the pos cell, copies the whole grid path table and flood-fills (most blocks folded by the decompiler); sits in the NPCAI_Pathfinder block next to HasPathToPos; caller 0x7a4ba0 tests every trapdoor (grid type 0x11) 0081df80 Room::compute_overlay_texcoords ? (out, world pos, texture with w/h at +0x10/+0x14, shader): maps a world position through the room render offset (+0x1204) to normalized texture coordinates, assert_lerp "Start and End parameters cannot be the same!"; used twice in Room::Render for the layers at +0x70c4/+0x70e0 @@ -982,7 +982,7 @@ 00700061 Game::BombExplosionEffects spurious split: 00700060 is PUSH EBP and 00700061 MOV EBP,ESP of the same function body (BombDamage/BombTearflagEffects callees); not a separate function 0084c2c0 StatHUD::Render HUD::Render calls it with a position; per-player slots at this+0x114 (stride 0xcc), "%.1f%%"/"+%.2f" stat strings, Font::DrawString 0084cc40 StatHUD::update_player ? (oldPlayer, newPlayer): finds the slot whose player == param1 (this+0x114, stride 0xcc), stores the new player's stats (0x1568 damage, 0x1460/0x1470/0x1480 speed/range...) with lerp fields; CanSpawnDevilRoom/GetDevilRoomChance for the deal chance line -00a65190 image_load_jpeg libjpeg: jpeg_std_error table ("Bogus message code %d"), setjmp3 error exit, "Failed to load image '%s' because ... channels (%d)" +00a65190 KAGE::Graphics::ImageJpg::load slot 14 of the KAGE::Graphics::ImageJpg vtable (0xba0020); loads a JPEG image (was image_load_jpeg) 00ab5cc0 libjpeg_jinit_master_decompress ? libjpeg internal called by image_load_jpeg: cinfo->err->msg_code = 0x30 then error_exit, memset, three jinit-style callees 00aad3b0 vorbis_synthesis_blockin libvorbis: v->lW = v->W; v->W = vb->W (edx[7]); v->nW = -1; vb->granulepos edx[0xe..0xf]; v->granulepos/sequence = -1 00952df0 Manager::load_configs this=Manager (zeroes 0x21628/0x21984 fields); ModManager::TryRedirectPath + load of achievements.xml, babies.xml, entities2.xml (EntityConfig::LoadEntities), items.xml, players.xml ... and the 4 .fnt fonts @@ -1109,7 +1109,7 @@ 0041e960 BeamRenderer::End 'Beam renderer needs per-vertex colors for Dogma'; RenderSegmentLink calls Begin, 5x 0041e720 (Add) then this; draws quads via shader 008fa390 ModManager::UpdateWorkshopMods ? ZHL name; walks 0x50-byte workshop entries, state 2 -> '#MOD_UNINSTALLING', '#MOD_INSTALLING'/'#MOD_UPDATING', writes /disable.it /unfinished.it, FileSystem::ResolvePath 00adebd0 th_decode_packetin libtheora decode.c: (dec, ogg_packet* op, granpos*); oc_pack_readinit on op->packet/bytes, 1-bit frame type, up to 3 6-bit qis; vendor string nearby -00acebf0 mapping0_inverse libvorbis mapping0.c: vb->vd at +0x40, vd->vi +4, vi->channels +4, vi->codec_setup +0x1c, alloca bundles, no callers (mapping_P table) +00acebf0 mapping0_forward libvorbis: the forward slot of the mapping0 table; calls mdct_forward, _vp_noisemask, floor1_fit, oggpack_write; the real mapping0_inverse is 00acf890 (was mapping0_inverse) 0062f7f0 FamiliarAI::bumbo Entity_Familiar::Update case 0x58 (88 BUMBO); Level1Float/Level2Idle..Level4Walking anims, PickEnemyTarget, FindFreePickupSpawnPosition 00618b00 FamiliarAI::gb_bug Entity_Familiar::Update case 0x5d (93 GB_BUG); Collide/Float anims, Entity_Pickup::Morph + IsChest on hit pickups, FollowParent 0064aab0 anm2_apply_gfx_overrides parses 'anm2=' 'spritesheet=' 'animation=' entries of a split string into an ANM2 (ANM2::Load, ReplaceSpritesheet, SetAnimation); used by locust config and Entity_NPC::HandleCollision @@ -1229,8 +1229,8 @@ 0090f760 NetplayManager::process_drop_player_message "Recieved Drop Player Message", eDropMessageType::MSG_DROP_EXECUTE, "This function should only be called on consolidated messages"; called from FUN_0090b150 00a5cd20 _glfwCreateWindowWin32 GLFW win32_window.c: "Win32: Failed to register window class", "Win32: Failed to create window", GLFW_ICON, "Win32: Failed to query monitor DPI" 00a83290 _glfwCreateContextEGL GLFW egl_context.c: "EGL: Failed to create context: %s", "EGL: Failed to bind OpenGL", attribs assert -00a98430 png_read_row libpng pngread.c: "NULL row buffer for row %ld, pass %d", "png_do_dither returned rowbytes=0" -00ad6ad0 jpeg_idct_islow libjpeg jidctint.c: reads coef rows 0/2/4/6 (0x20/0x40 byte strides) times quant table, CONST_BITS 13 shift, range_limit = cinfo->sample_range_limit + 128 (cinfo+0x124) +00a98430 png_do_read_transformations libpng 1.2: "NULL row buffer for row %ld, pass %d", "png_do_dither returned rowbytes=0", calls png_do_read_filler; only caller is the real png_read_row 00a96cc0 (was png_read_row) +00ad6ad0 jpeg_idct_5x5 libjpeg: case 5 of the DCT_scaled_size switch in start_pass 00acae00 (was jpeg_idct_islow) 00abc500 dsp_init_sincos_table ? (this, int n): 2*pi/n (DAT_00baa7a8 = 6.2831855) then libm cos/sin per element, 3855 bytes of pure arithmetic with no game calls; once from FUN_00abd410 <- FUN_00acebf0 (memset/alloca, no strings) in the audio/image library block before jpeg_idct_islow 00586c40 NpcAI::ENTITY_SCOURGE_projectile_attack ? called every 30 frames from the Scourge 909.0 body (00587aa0, misnamed Entity_Familiar::HandleCollision) when target +0x3c0 set; ProjectileParams + Entity_NPC::FireProjectiles toward Entity_NPC::GetPlayerTarget, Game::Spawn 0083c8d0 HUD::update_item_info ? called last in HUD::Update; item description panel: "##GAME###ITEM_INFO_UNIDENTIFIED", "Spins down into main = this[0x65], start_pass FUN_00aca730); with upsample->need_context_rows checks min_DCT_v_scaled_size >= 2 (error 0x30) and allocates the funny xbuffer pointer lists (+0x40/+0x44); only caller libjpeg_jinit_master_decompress 00ac71d0 libjpeg_jinit_d_coef_controller libjpeg jdcoefct.c: allocates the 0x8c-byte coef controller (cinfo->coef = this[0x66]); need_full_buffer (DL) builds whole-image virtual arrays, else one MCU of 10 blocks (0x80 bytes each) with decompress_onepass; data_precision must be 8; only caller libjpeg_jinit_master_decompress -00ac1280 libjpeg_jinit_upsampler ? libjpeg: requires data_precision 8 (error 0x10), allocates the upsampler into cinfo->upsample (this[0x6c]) with start_pass FUN_00abfc30 and need_context_rows = FALSE, then per-component method selection; only caller libjpeg_jinit_master_decompress +00ac1280 jinit_merged_upsampler libjpeg: sets h2v1/h2v2_merged_upsample; the real jinit_upsampler is 00ab5200 (was libjpeg_jinit_upsampler) 00abd630 _vorbis_apply_window libvorbis: (pcm, blocksizes, lW, W, nW) picks the vwin tables PTR_DAT_00b5dd40[] for the previous/next block sizes, zeroes [0,leftbegin), multiplies the overlap regions by the window and zeroes the tail; only caller mapping0_inverse 00ab5960 libjpeg_jpeg_calc_output_dimensions libjpeg jdmaster.c: checks global_state == DSTATE_READY (0xca, error 0x15 JERR_BAD_STATE), calls jpeg_core_output_dimensions (FUN_00ab5560), then per-component DCT scaling when not raw; only caller libjpeg_jinit_master_decompress 00aafed0 png_crc_finish libpng: ECX = png_ptr, EDX = bytes to skip: reads and CRCs the rest of the chunk in buffer-size pieces through the read function (+0x50, "Call to NULL read function"), then checks the CRC honoring the ancillary/critical CRC flags (+0x64 0x300/0x800) and reports "CRC error"; called by the png_handle_* chunk readers @@ -1652,7 +1652,7 @@ 009f5890 Weapon::get_tear_movement_inheritance this+4 owner: if player -> Entity_Player::GetTearMovementInheritance; if familiar -> uses owning player velocity*0.6*2 with Marked check (HasCollectible 0x18a); else zero; called from every Weapon_*::Fire 004147f0 std::vector::_Tidy destroys each 0x18 std::string in [begin,end), operator_delete storage, zeroes begin/end/cap 00a23ae0 UserProfile::find_or_create ? keyed by 64-bit id in this[0..1]; looks up map via FUN_00a23bb0 under mutex, else creates under global CRITICAL_SECTION 0xc5aa78 ("Trying to lock mutex that has not been initialized"); results stored into KAGE::System::UserProfile objects in NetplayManager::process_drop_player_message -009c25e0 FontDrawParams::FontDrawParams ? initialises a text-render descriptor: param_1 font (g_Manager+0x4ae28 / +0x4ae74), param_4 position, default scale 1.0, KColor white + 0xffd3d3d3, flags |=7; followed by FUN_009c2700 string draw in HUD::update_item_info +009c25e0 MessagePopup::MessagePopup ? (font, callback, userdata, pos) popup descriptor: the callback later gets button ids 0xDEADBEEF/0x1212/0x2323; followed by add-text 009c2700, add-button 009c2760 and PopupQueue::push (was FontDrawParams::FontDrawParams) 00a29f60 Multiplayer::get_lobby ? ECX = global 0xc79a50; builds a KAGE::Network::Multiplayer::Lobby (ConstLobby->Lobby vftable) holding shared_ptr copied from this+0x24 into param_1; used by PauseScreen/Menu_OnlineLobby 008e24c0 KAGE::Network::Multiplayer::ConstLobby::~ConstLobby resets vftable to ConstLobby::vftable and releases the shared_ptr control block at this+8 (refcount vslot 0xc, deleter DAT_00c7f60c); paired with the Lobby objects built by 00a29f60 00685bc0 std::map::_Find_lower_bound tree walk from head(this)->parent comparing std::string key (FUN_00423480) storing {node, isLeft, bound} into param_1; callers parse tag/flag name maps (EntityConfig::parse_entity_tags, ItemConfig::parse_cache_flags) @@ -2007,7 +2007,7 @@ 00adbed0 oc_dec_ac_coeff_unpack libtheora: (dec, zzi, huff_idxs, ntoks_left, eobs): for each zig-zag index from arg2 to 63 records token start/eob run (dec+0xcb38), decodes tokens with oc_huff_token_decode using the selected Huffman table (dec+0xc9f8), stores them in the token buffer (dec+0xd138) and handles EOB runs / extra bits; called from th_decode_packetin 00ad29e0 floor1_interpolate_fit libvorbis encoder: (A, B, del) with look in EDX: returns NULL unless both post arrays are set, allocates look->posts (+0x504) ints via _vorbis_block_alloc and blends ((65536-del)*(A&0x7fff)+del*(B&0x7fff)+32768)>>16 keeping 0x8000 when both set (SIMD path); the caller (named mapping0_inverse) calls it with del stepping by 0x10000 between the posts from floor1_fit, exactly mapping0_forward's PACKETBLOBS loop 00ad23f0 floor1_fit libvorbis encoder: look in EDX (posts +0x504, sorted index +0x508, n +0x510), large local arrays of 66 ints (VIF_POSIT+2) for fit lines/neighbours; result stored into floor_posts[i][0] (+0), [PACKETBLOBS-1] (+0x38) and [PACKETBLOBS/2] (+0x1c) in the caller, then floor1_interpolate_fit fills the rest (mapping0_forward pattern) -00aca570 jinit_d_coef_controller libjpeg(-turbo): ECX cinfo, DL need_full_buffer: checks data_precision (cinfo[0x30]) range with JERR 0x10, allocates the coef controller into cinfo[0x66], sets start_input_pass/start_output_pass, per component allocations; full buffer -> request_virt_barray per component and consume_data/decompress_data, else dummy consume (ICF'd to Weapon::GetFocusEntity) + onepass; called from libjpeg_jinit_master_decompress +00aca570 jinit_d_diff_controller libjpeg: the lossless branch of jinit_master_decompress, precision 2..8; the real coef controller is 00ac71d0 (was jinit_d_coef_controller) 00ac99f0 jinit_color_deconverter libjpeg(-turbo): ECX cinfo: precision check, allocates the deconverter into cinfo[0x6d] (start_pass = no-op guard_check_icall ICF), switch on jpeg_color_space (cinfo[10]) validating num_components (1 / 3 / 4, JERR_BAD_J_COLORSPACE 0xb), builds the YCC tables (SIMD); called from libjpeg_jinit_master_decompress 00ac4ac0 jinit_2pass_quantizer libjpeg(-turbo): ECX cinfo: requires 8-bit precision, allocates cquantizer into cinfo[0x6e], start_pass/new_color_map methods, errors JERR_NOTIMPL 0x30 unless out_color_components == 3 and not RGB565, allocates the 32-row histogram, validates desired_number_of_colors 8..256 (0x3a/0x3b) and allocates the colormap, dithering setup; called from libjpeg_jinit_master_decompress 00ac21c0 add_huff_table libjpeg(-turbo) jstdhuff.c: ECX cinfo, EDX htblptr: allocates the table when *htblptr is NULL (sent_table +0x111 = FALSE) else returns for decompressors (cinfo+0x10 is_decompressor), copies bits[17], sums the symbol count (SIMD) and copies huffval, zero-filling the rest; used via std_huff_tables from libjpeg_jinit_master_decompress @@ -2102,7 +2102,7 @@ 00a55ef0 FormattedText::split_lines ? 8-bit twin of 00a56060: splits on "\n" and literal "\\n" (DAT_00b65584) into 12-byte segments; Font::measure_string 00a55b70 FormattedText::FormattedText ? ctor from a single segment: zeroes flags and the segment vector (+4..+0xc), marks borrowed (bit0) and pushes the 12-byte segment param; OnlineChat::render 00a55330 std::vector::push_back 12-byte elements: in-place ConstLobby copy (vftable + shared_ptr assign from param+4) or _Emplace_reallocate FUN_00a556c0; netplay_lobby_host_handle_message -00a54890 Multiplayer::invite_user_to_lobby ? when the current lobby (this+0x24) is a LobbySteam (RTTI dynamic cast), calls ISteamMatchmaking vfunc +0x40 (InviteUserToLobby, slot 16) with the lobby and user CSteamIDs; returns bool; online_chat_window_update invite list +00a54890 KAGE::Network::MultiplayerManager::invite_user_to_lobby slot 5 of the KAGE::Network::MultiplayerManager vtable (was Multiplayer::invite_user_to_lobby) 00a53290 KAGE::Network::Multiplayer::LobbySteam::find_or_create ? builds a temporary LobbySteam (vftable 00b9e9a4) and calls the lobby registry FUN_00a71e10(out, lobbyId) that finds or clones the impl by 64-bit id; ModManager::RenderCustomCharacterMenu, Steam lobby code 00a52940 KAGE::Network::Multiplayer::LobbySteam::request_lobby_data ? ISteamMatchmaking (context 00c5c504) vfunc +0x70 (RequestLobbyData, slot 28) with the lobby CSteamID at this+8; on success stores (param_1,param_2) in the request map; Menu_OnlineLobbyList::Update 00a524b0 file_exists path_join then _access(path, 0) != -1; FileSystem::ResolvePath @@ -2538,7 +2538,7 @@ 0040b600 ANM2::GetTexel ? worker of the Lua Sprite::GetTexel glue (0040b590 calls it twice): "Start and End parameters cannot be the same!", ANM2::GetLayer, AnimationLayer::GetSourceQuad, LayerState::GetTexture, Quad::rotate sampling 00754ed0 Entity_Player::~Entity_Player destructor body: vtable IsaacRepentancePlus::Entity_Player, 16 AnimationState dtors, 8 ANM2::Reset, GameStatePlayer::~GameStatePlayer, OnlineEmotes::destructor, deques, ends with Entity::destructor; only caller Entity_Player::Free 007e17b0 Music::Update ECX Music (Manager::Update): volume fade (+0xd8/+0xd9 timer), pitch target +0xc6 -> +0xc5 lerp with Music::SetPitchAll, Game::IsInTimedSet, stream pitch vfunc +0x58, Music::Play -00a63490 png_write_info_before_PLTE libpng: only caller PngWriter::write_info; strings "Invalid sBIT depth specified", "Invalid sRGB rendering intent specified"; writes IHDR (FUN_00a911e0) then gAMA (info valid&1) with CRC table update, sBIT, sRGB chunks via write fn at png+0x4c +00a63490 png_write_info libpng: also writes PLTE ("Valid palette required..."), bKGD, pCAL, zTXt (was png_write_info_before_PLTE) 00420190 show_beta_disclaimer_popup ? "Disclaimer popup is already running", Repentance+ Beta welcome text, ACCEPT/DENY/I CONSENT buttons, PopupQueue::push stores id in DAT_00bf93e4, loads LoadingSpinner.anm2; returns bool; Menu_Game::Update and 3 others 0064a2d0 Entity_Familiar::break_grid_ahead ? ECX=familiar: grid index at _pos+2*_velocity, AbyssLocustData dyncast caches last index (+0x3c), item-config tear flags rolled per chance, grid vtable +0x14 hit then Room::TryMakeBridge; returns bool; only from FamiliarAI::apollyons_best_friend 0056c800 NpcHelper::mother_2_slam_burst ? ECX=npc, arg &npc->_velocity: clamped position, sfx 0x288 (with seed_fart_sound_override), Game::ShakeScreen 12, spawns effect 1000.2 with random angle/height and green splat color; called twice from NpcAI::ENTITY_MOTHER_2 after the same sfx @@ -2939,3 +2939,496 @@ 007deaf0 std::vector<28byte>::_Resize_reallocate MSVC resize(n, val) growth path, 0x1c-byte elements, max 0x9249249, fills new tail via FUN_007de2f0 then moves old elements; sole caller vector28_resize 0065b500 Entity_Projectile::update_height_collision ECX=projectile: from height (+0x410) sets sprite offset Y (+0x350), _entityCollisionClass (+0x188) and _entityGridCollisionClass (+0x184) by ProjectileFlags (+0x438/+0x43c); fixed height -5.1 in room type 16 (crawlspace); called twice from Entity_Projectile::Update 006be7e0 NpcHelper::is_target_valid NpcAI::ENTITY_BABY_BEGOTTEN attack gate: a player target not invisible (Entity_Player::IsInvisible), or with npc flag 0x100 a vulnerable enemy without flag 0x20000000 (pass7_i6.md) +00ab0830 png_handle_cHRM libpng: "Duplicate cHRM chunk", "Invalid cHRM white point", "wx=%f, wy=%f..."; called from the chunk loops png_read_end (00a97100) and 00a96980 (was a weak ZHL match KAGE_Graphics_ImageManager::apply_frame_images) +00a96cc0 png_read_row libpng: "Invalid attempt to read row data", "Not enough image data", "Extra compressed data"; calls png_read_filter_row, png_do_read_interlace, png_read_finish_row +0095f6f0 Cutscene::ANM2Part::Update slot 4 of the Cutscene::ANM2Part vtable (was a ZHL exact match Manager::ResizeWindow) +00ad4820 jpeg_idct_islow libjpeg: case 8 with dct_method 0 of the start_pass 00acae00 switch +0090d9b0 NetplayManager::add_new_players ? "[Frame %d] Adding %d new players\n", next to write_player_game_states_message (was a ZHL prefix match NPCAI_Pathfinder::EvadeTarget) +00a63ba0 png_write_row libpng (round 7 agent) +00abd900 inflate_blocks zlib (round 7 agent) +00a6a420 glfwInit glfw (round 7 agent) +00ad0520 _encodepart libvorbis (round 7 agent) +00ace450 floor0_inverse1 libvorbis (round 7 agent) +00ad11e0 res2_inverse libvorbis (round 7 agent) +00ade980 th_decode_alloc libtheora (round 7 agent) +00ab6a80 I420ToRGBAMatrix libyuv (round 7 agent) +00acdf70 InitCpuFlags libyuv (round 7 agent) +00926cf0 PersistentGameData::LoadFromSteamCloud logs "Loading PersistentGameData from Steam Cloud" +009cc1a0 GameState::read "ISAACNG_GSR%u" +00a89de0 tdefl_compress miniz (round 7 agent) +00a973a0 png_destroy_read_struct libpng (round 7 agent) +00423990 PopupButtons::Init ? round 7 agent +00ae1b60 oc_state_loop_filter_frag_rows libtheora (round 7 agent) +00a7a360 ClownResampler_HighLevel_Resample clownresampler (round 7 agent) +00a9e4f0 KAGE::Sound::Manager::Init slot 1 of the KAGE::Sound::Manager vtable +0069deb0 std::vector::_Emplace_reallocate round 7 agent +005a7920 NpcHelper::visage_pick_target_position ? round 7 agent +00ae3dc0 oc_idct8x8_c libtheora (round 7 agent) +00ae39c0 idct8_2 libtheora (round 7 agent) +0042bd70 DeathmatchTypeBase::StoreGameState ? round 7 agent +00743550 Level::generate_greed ? the greed generator per the round 7 agent that renamed 0073e0a0 to Level::load_room +00983f30 pressure_plate_kill_enemies_timer_callback timer callback: GridEntity_PressurePlate::Reward passes it to Entity_Effect::CreateTimer(cb,1,-1) after PlayWithFartOverride(0x10b)/ShakeScreen; it loops room entities, TakeDamage(1000) from the timer's parent, spawns effect 1000.15 poofs, Removes the timer after 4 empty ticks +00575a10 NpcHelper::clutch_render Entity_NPC::Render switch case 0x399 (ENTITY_CLUTCH 921); walks a deque of points at +0xc04 setting ANM2 layer 1/2 rotation (atan2f) and RenderFrame for each chain segment +008e5420 Menu_Online::start_quick_match ? Menu_Online::Update state 0 (and FUN_008e68a0 option 0) after show_beta_disclaimer_popup: resets daily challenge+LobbySettings, pushes popup ##GAME###Online/SEARCHING_FOR_LOBBIES, set_service_provider, lobby search (FUN_00a542c0) with callback 008e5f40 +008e5f40 Menu_Online::on_quick_match_search_result ? search callback passed by 008e5420 to FUN_00a542c0(params,cb,menu); iterates found lobbies (vector), checks lobby_mode/current_stage/lobby_password attributes, joins one, PopupManager::close +008a4300 luabridge::Namespace::Class::Class luabridge deriveClass ctor: name EntityEffect, sets __parent on class/const/static tables (rawgetp parent key), __gc closures +008a34c0 luabridge::Namespace::Class::Class luabridge deriveClass ctor for EntityKnife (__class/__const/__parent) +008a2260 luabridge::Namespace::Class::Class luabridge deriveClass ctor for GridEntityPressurePlate (__class/__const/__parent) +008a52c0 luabridge::Namespace::Class::Class luabridge beginClass ctor (522 bytes, same as Class::Class) for EntityList +008a5f20 luabridge::Namespace::Class::Class luabridge beginClass ctor for Costume (ItemConfig namespace), same shape as Class::Class +008a6b80 luabridge::Namespace::Class::Class luabridge beginClass ctor for ProjectileParams +008c3ed0 luabridge::Namespace::Class::Class luabridge beginClass ctor for EffectList; called from lua_register_EffectList +008a1df0 luabridge::Namespace::Class::Class luabridge beginClass ctor for Entry (RoomConfig.Entry) +008a1190 luabridge::Namespace::Class::Class luabridge beginClass ctor for Seeds +0089c0a0 luabridge::CFunc::CallMember::f lua_pushcclosure'd by FUN_00882f90 = addFunction(GetMultiShotPositionVelocity, 0x782160 Entity_Player::GetMultiShotPositionVelocity); reads userdata+lua args (luaL_checknumber), returns PosVel +008b3d60 luabridge::CFunc::CallMember::f lua_pushcclosure'd by FUN_00890430 = addFunction("CheckLine", 0x7f0df0 Room::CheckLine); reads args via luabridge::Userdata::getClass +009ce720 GameState::read_item_pool GameState::read (FUN_009cc1a0, ISAACNG_GSR%u) calls it with ecx=this+0x1e3cc; version-gated pool count 26..31 (save ver <0x57..>=0x7a), per pool reads count+ints with Checksum::Update, then a vector_bool sized by ItemConfig collectibles; mirror of GameState::write_item_pool +00a88bb0 tdefl_compress_fast miniz.cpp asserts '(cur_match_len >= TDEFL_MIN_MATCH_LEN) && (cur_match_dist >= 1) ...' and 'lookahead_size >= cur_match_len' (tdefl_compress_fast), calls tdefl_flush_block; called next to tdefl_compress_normal in FUN_00a89de0 (= tdefl_compress) +00a82d40 _glfwInitEGL GLFW egl_context.c: 'EGL: Library not found', loads EGL.dll entry points, eglGetPlatformDisplayEXT, EGL_ANGLE_platform_* extension checks +00a7fce0 _glfwInitWGL GLFW wgl_context.c: 'WGL: Failed to load opengl32.dll', dummy context, loads wglCreateContextAttribsARB/WGL_ARB_* extensions +00a6beb0 _glfwInputMonitor GLFW monitor.c asserts 'monitor != NULL', 'action == GLFW_CONNECTED || action == GLFW_DISCONNECTED', 'placement == _GLFW_INSERT_FIRST || ...'; _glfw_calloc/memmove of the monitor array +00a18e90 KAGE::Graphics::Manager::Init KAGE::Graphics::Manager vtable slot 1 (RTTI); KAGE::System::Init calls it with ecx=0xc798e0 (the KAGE_Graphics instance); glfwInit + 'GLFW failed to initialize', creates window, compiles KAGE_ColorShader/KAGE_ColorTextureShader/KAGE_IndexedTextureShader +00a7d2a0 KAGE::Sound::ManagerOpenAL::Init KAGE::Sound::ManagerOpenAL vtable slot 1 (RTTI); alcOpenDevice/alcCreateContext/alcMakeContextCurrent, 'Failed to open OpenAL device', starts the OpenAL processing thread; called from KAGE::System::Init and KAGE::Sound::Manager slot 1 (FUN_00a9e4f0) +00a5f770 KAGE::EosManager::Init KAGE::EosManager vtable slot 1 (RTTI); KAGE::System::Init calls it with ecx=0xc5abf0; EOS_Platform init, 'Failed to initialize EOS: %s', client id/secret/sandbox length checks +004a8680 NpcHelper::delirium_spawn_form_parts only caller FUN_004a84f0 (Delirium next-boss-form picker, called from NpcAI::ENTITY_DELIRIUM): for type 0x13 (Larry Jr) spawns 4..9 body segments linked through +0x3bc/+0x3c0, ANM2::LoadDeliriumForm + WalkBodyHori; for type 0x10a spawns variants 1 and 2 at the boss position +008c87b0 Menu_Bestiary::update_cursor ? first call in Menu_Bestiary::Update; counts held frames for input actions 0x14..0x17 (menu directions) via input manager vtable+0x74 into +0x368..+0x374 and moves the grid cursor (+0x344 page/+0x34c index) +00918870 NetplayManager::write_player_game_states_message mirror of NetplayManager::read_player_game_states_message: walks the same std::map at g_manager[1]+0x106c (u64 key, bytes at +0x18/+0x1c, four length-prefixed buffers at +0x48/+0x7c/+0xb0/+0xe4) into a BufferedStream, tdefl-compresses (FUN_00a89de0) and writes size+data +008e2530 Menu_OnlineLobbyList::on_password_search_result lobby-search callback pushed by Menu_OnlineLobbyList::update_password_entry into FUN_00a542c0 (ecx=0xc79a50 MultiplayerManager); compares each lobby's lobby_password and calls online_lobby_join, else plays sfx 0xbb +0042d1c0 DeathmatchTypeLudovico::render_ludovico_indicator ? DeathmatchTypeLudovico vtable slot 23 (Normal uses stub 0042bc90); for the local player dynamic_casts the weapon to Weapon_Ludovico, projects its tear to screen and draws a clamped off-screen arrow tinted with get_netplay_player_color +0042a4d0 DeathmatchTypeBase::Init ? DeathmatchTypeLudovico vtable slot 2 directly, DeathmatchTypeNormal slot 2 (FUN_0042d7f0) wraps it; logs 'Error: Game Start Seed was not set.', PlayerManager::init_main_player, SpawnCoPlayer2, HUD::AssignPlayerHUDs, Camera::update_follow +008d5990 PauseScreen_MyStuff::render_entry ? callers FUN_008d5440/FUN_008d5640 (from FUN_008d3640, pause screen items page); uses g_game->_pauseScreen._playerIdx player, ItemConfig::GetCollectible icon via ANM2::Render, '#ITEM_INFO_UNIDENTIFIED_PILL', rich_text_render +009e79b0 std::basic_filebuf::uflow slot 7 of the std::basic_filebuf vftable (MSVC order dtor,_Lock,_Unlock,overflow,pbackfail,showmanyc,underflow,uflow); std::string buffer for codecvt, memcpy/memmove +0095fd70 Cutscene::TemporaryPart::Init ? Cutscene::TemporaryPart vtable slot 1 (RTTI); Font::Load font/TeamMeatFont20Bold.fnt and font/terminus.fnt via ModManager::TryRedirectPath +00a8d0a0 VideoClip_Theora::_readData theoraplayer::VideoClip_Theora vtable slot 3 (after slot 2 VideoClip_Theora::_load); reads 4096-byte chunks from the data source, on EOF logs ' finished playing' unless autoRestart, ogg_sync_pageout/ogg_stream_pagein for theora+vorbis streams, granulepos -> time +00a74710 KAGE::Network::Multiplayer::ServiceLocalhost::join_lobby ServiceLocalhost vtable slot 8, same slot as ServiceEOS FUN_00a76650 which calls EOS_Lobby_JoinLobby; stores callback at +0x44/+0x48, sends 'lhrj' (localhost request join) packet via FUN_00a2a030, else calls callback(0,...) +00a76a20 KAGE::Network::Multiplayer::ServiceEOS::on_create_lobby_complete pushed as the completion callback by ServiceEOS vtable slot 7 (FUN_00a765a0 EOS_Lobby_CreateLobby); 'Failed to create EOS lobby: %s', sets user_id/user_name member attributes, 'localhost' +00a54f00 KAGE::Network::MultiplayerManager::on_lobby_data_update Steam CCallback static init FUN_00406850: obj 0xc79a50 (MultiplayerManager), func 0xa54f00, callback id 0x1f9=505=LobbyDataUpdate_t; lobby==member -> lobby data, else member data; Lobby::refresh_members on LobbySteam +00a91790 png_write_cHRM libpng 1.2 pngwutil.c floating-point png_write_cHRM: 'Invalid cHRM white/red/green/blue point specified' warnings, __dtoui3 (x*100000+0.5) conversions; called from png_write_info_before_PLTE +00a953b0 deflateInit2_ zlib deflate.c: default zalloc/zfree, level -1 -> 6, checks method==8, windowBits 9..15 (abs, <0 = raw), memLevel 1..9, strategy, allocates 0x16b8 deflate_state, w_size/hash_bits=(memLevel+7)/... 'insufficient memory' (ERR_MSG(Z_MEM_ERROR)); caller png_write_IHDR (FUN_00a911e0) +00aaeeb0 _tr_flush_block zlib trees.c: detect_data_type sum over dyn_ltree (+0x8c..), build_tree x2 (FUN_00aae270), scan_tree, build_bl_tree with bl_order table, opt_len+3*(max_blindex+1)+5+5+4 -> stored/static/dynamic choice, calls send_all_trees (00aaeb30); callers deflate_stored/fast/slow +00aaeb30 send_all_trees zlib trees.c: send_bits(lcodes-257,5), send_bits(dcodes-1,5), send_bits(blcodes-4,4) on bi_buf +0x16b0/bi_valid +0x16b4, then send_tree; only caller _tr_flush_block (00aaeeb0) passes l_desc.max_code+1, d_desc.max_code+1 +00ab3120 png_read_finish_row libpng 1.2 pngrutil.c: interlace pass advance, then drains IDAT ('Not enough image data', 'Call to NULL read function' via inlined png_read_data, png_crc_read/png_crc_finish), 'Extra compressed data', 'Decompression Error', 'Extra compression data'; called 7x from png_read_row (FUN_00a96cc0) +00ab33f0 png_read_start_row libpng 1.2: calls png_init_read_transformations, computes row buffer size, png_malloc ('Out of Memory'); called from FUN_00a96cc0 (png_read_row) and the image loader FUN_00a64a50 when PNG_FLAG_ROW_INIT (0x40) is unset +00a97450 png_read_destroy libpng 1.2 pngread.c: png_info_destroy(info_ptr), png_info_destroy(end_info), frees zbuf/big_row_buf/prev_row/palette/trans/hist/gamma tables by free_me flags; called from png_destroy_read_struct (FUN_00a973a0) and the inlined copy in FUN_00a64a50 +00ae9f10 mi_thread_init mimalloc init.c: calls mi_process_init (FUN_00ae9de0), if the thread's default heap is the empty heap: main thread -> heap main init, else takes a cached td or _mi_os_alloc(0xa68) ('unable to allocate thread local heap metadata (%zu bytes)'), copies _mi_heap_empty/tld_empty, random keys, FlsSetValue, stat threads++ +00aee850 mi_stat_print_ex mimalloc stats.c: '%10s:' label, __alldiv amounts, ' not all freed!' / ' ok'; called 10x from _mi_stats_print (FUN_00aedf80) +00ae1cf0 oc_state_ref_bufs_init libtheora state.c: rejects _nrefs outside 3..6, computes padded frame sizes (+32 border, chroma decimation from pixel_fmt), overflow checks, aligned alloc of nrefs frame buffers + frag_buf_offs (malloc nfrags*4), fills ref_frame_bufs planes; caller oc_state_init (FUN_00ae19b0) +00ae05b0 loop_filter_v libtheora state.c static loop_filter_v: _pix-=2*ystride, for 8 columns f=bv[(p0-p3+3*(p2-p1)+4)>>3], clamp p1+f / p2-f; called with loop_filter_h (FUN_00ae0200) from oc_state_loop_filter_frag_rows (FUN_00ae1b60) +00adf9a0 oc_comment_unpack libtheora decinfo.c: 4x8-bit vendor length, malloc(len+1) vendor -> tc[3], ncomments with 0x1fffffff/remaining-bytes checks, mallocs user_comments/comment_lengths; caller oc_dec_headerin (FUN_00adfbc0) +00abae50 mdct_butterfly_32 libvorbis mdct.c: 32-point butterfly with cPI2_8 0.70710677 constants, called twice back to back at the end of mdct_butterflies (DB note on mdct_butterflies already calls it butterfly_32) +00abf5d0 libjpeg_h2v2_merged_upsample libjpeg jdmerge.c h2v2_merged_upsample: upsample tables Cr_r/Cb_b/Cr_g/Cb_g at upsample+0x18..0x24, two luma rows input_buf[0][2*ctr], [2*ctr+1], chroma rows [1]/[2][ctr], output_width>>1 pixel pairs into output_buf[0]/[1] through range_limit +00ac35e0 libjpeg_update_box libjpeg jquant2.c update_box: shrinks c0/c1/c2 min/max of a box by scanning histogram (cquantize+0x1c, 32 c2 cells x UINT16) for non-zero cells; 3 calls from median_cut (FUN_00ac39d0, b1+b2) and select_colors (FUN_00ac3bb0) +00ac54f0 libjpeg_arith_decode_mcu libjpeg jdarith.c decode_mcu (sequential): restart handling (FUN_00ac4e00 process_restart), DC diff via arith_decode (FUN_00ac4c20) with dc_stats/last_dc_val, AC loop; installed by start_pass (FUN_00ac5840, mov eax,0xac54f0) in the non-progressive branch +00aa7340 vorbis_deinit stb_vorbis vorbis_deinit: frees residue classdata/part books, codebooks, floor/mapping/residue configs unless alloc_buffer (+0x60) is set; callers stb_vorbis_close path (FUN_00aa78e0) and SampleSourceOgg slot 7 (FUN_00a7bd80) +00a79ff0 ClownResampler_LowLevel_Resample clownresampler.h asserts 'kernel_index < CLOWNRESAMPLER_COUNT_OF(precomputed->lanczos_kernel_table)', 'min_relative/max_relative <= configuration->integer_stretched_kernel_radius' (Lanczos kernel convolution); caller FUN_00a7a360 (HighLevel_Resample) +00a7ab90 org_render_samples ? Organya mixer: called from KAGE::Sound::SampleSourceOrg slot 7 (FUN_00a7cc60) and StreamSourceOrg slot 27 (FUN_00a7cef0); per tick walks 8 melody + 8 drum tracks' note events (index <8 -> melody), wave tables, pow for pitch, returns a mixed buffer and its size (memset silence at end of song) +00a80770 glfw_createKeyTables GLFW win32_init.c createKeyTables: memset keycodes (0x400) and scancodes (0x2ba) to -1, then fills GLFW_KEY_* values (0x100 ESCAPE, '0'..'9', 'A'..'Z' ...); caller FUN_00a812f0 (_glfwInitWin32, 'GLFW3 Helper' window) +00a79a60 std::map::try_emplace MSVC _Tree lower-bound on uint key (node+0x10), returns existing node or allocates 0x1c node (key + 8 zeroed bytes), max_size 0x9249249 check, insert+rebalance; caller FUN_00a79480 (NetConnection send path) +00a59970 std::map::try_emplace ? MSVC _Tree insert keyed by {uint seq, byte channel} (compares +0x10 then byte), max_size 0x5555555 (0x30 nodes), value holds a KAGE::SmartPointer and GetTimeNs() send time; caller FUN_00a595a0 (net reliable-message queue; neighbour FUN_00a58cb0 handles 'ackn') +00a59640 std::map::erase ? equal_range on the same {uint, byte} key as 00a59970, erase(first,last) with clear fast path (FUN_00a59be0 erase-tree when range is whole map); called twice from FUN_00a590c0 +00a16f50 opendir dirent.h for Windows (opendir with _wopendir inlined): mbstowcs_s path, GetFullPathNameW, FindFirstFileW into a DIR struct (handle at +0x46c); only caller win32_opendir +00a68cf0 KAGE::Filesys::ArchivedFile::refill_buffer strings 'ArchivedFile::refill_buffer LZW compressed buffer overflow.' / '... MiniZ compressed buffer overflow.'; caller is KAGE::Filesys::ArchivedFile vtable slot 5 (FUN_00a69510) +00a22190 KAGE::Input::InputDeviceGamepad::Init ? KAGE::Input::InputDeviceGamepad vtable slot 1 (RTTI); stores descriptor, identifies the pad: 'Gamepad identified as %s, VendorId = %d, ProductId = %d, Family = %s', Xbox/PlayStation/Nintendo/Unknown Device, 'Could not find hardware descriptor for gamepad' +006a0e60 std::_Partition_by_median_guess_unchecked<20byte_floatkey> MSVC std::sort partition: stride 0x14, _Guess_median_unchecked via FUN_006a1e00 (ninther when >40 elements), equal-range on float at +0xc; only caller FUN_0069fd80 (= std::_Sort_unchecked<20byte_floatkey>, loops while >32 elements, then halves ideal) +0082e810 std::_Partition_by_median_guess_unchecked<16byte> MSVC std::sort partition with predicate (param_2 code*), stride 0x10, median-of-3/ninther (FUN_0082eb20) when >40; only caller std::_Sort_unchecked<16byte> +00823f50 Room::attach_minecarts Room::Init calls it; for each room entity (+0x125c list, types 10..0x3e7 or player in deathmatch) with a spawn grid index, checks the 4 neighbours in the rail grid byte array Room+0x746c and calls Entity::GiveMinecart, special case type 0x3c5 variant 10; Entity_NPC::update_move_direction_anim +005a7010 NpcHelper::visage_spawn_particles only called from NpcAI::ENTITY_VISAGE (x2) and NpcAI::ENTITY_VISAGE_mask (x2); spawns 5..8 effect 1000.59 particles around ECX position along the EDX direction with random velocity, sets +0x474 spin sign and 30..39 timeout +0084dc00 StatsPanel::add_stat_line called 4x from each StatsPanel::set (lines Speed/Tears/Damage/Range/Shot Speed); formats the delta as '+%.2f' (green) or '%.2f' (red), InfoDisplayText::constructor, pushes a 104-byte InfoDisplayEntry into the vector at +0x20 +008ffc70 NetDesyncHandler::write_desync_diff only caller NetDesyncHandler::Update; 'Desync detected on frame: %d ... Number of players', '[Frame: %d] Missing Desync Frame States from user "%s"! Cannot create Desync Diff', SaveDataManager::open_file_write desync_diff.txt +008e2c20 std::vector::_Emplace_reallocate MSVC vector growth with element size 0x18 (max 0xaaaaaaa), new element = KAGE::Network::Multiplayer::ConstLobby vftable + shared_ptr::assign + 8 bytes; caller FUN_008e1fb0 (lobby list builder, 'list too long', lobby_password) +009150d0 std::map::try_emplace ? MSVC _Tree insert on u64 key (+0x10/+0x14), max_size 0x11a7b96 (0xe8-byte node) whose value has four KAGE::Filesys::BufferedStream members, i.e. the map NetplayManager::read/write_player_game_states_message walk; callers FUN_0090c740 (x3) and NetplayManager::read_player_game_states_message +008cca10 Menu_OnlineMode::play_idle_animation ? called from Menu_OnlineMode::Update and FUN_008cc530 (menu enter via MenuManager::SetState); ECX is the menu ANM2: plays 'Idle_FriendMatch'/'Idle_DailyMatch'/'Idle_Challenge' by the current lobby mode and sets layer 'Title' frame to g_manager->_lobbySettings +009efb60 RichText::load_font callers PauseScreen_MyStuff::Init and FUN_0083c5f0; assigns the font path string, Font::Unload/Font::Load into +0x18 ('Failed to load font: %s'), lazily ANM2::Load gfx/ui/text_icons.anm2 into +0x64 and sets its scale from the font height; same object rich_text_render uses +00901930 NetInputDevice::NetInputDevice constructor: sets IsaacRepentancePlus::NetInputDevice::vftable, UserProfile member, SmartPointer from InputManager::get_device(userId), ring/map of 0x3c input frames (std::_Tree::_Extract trimming); caller FUN_006f6500 (adds remote players: 'Failed to find input device for UserId %llu') +008f2d80 ModEntry::ModEntry ? constructor of the object ModManager::ListMods allocates (0xf04 bytes via FUN_00a0f4c0) before parsing: 8 empty std::strings, two std::list sentinels, eh_vector_constructor_iterator for an array member +00423aa0 PopupButtons::load_graphics ? callers FUN_00423990 (load + PopupButtons::reset, from Manager::Init) and FUN_00954710; ANM2::Load gfx/ui/ButtonPromptWidget.anm2 into both button sprites and plays 'LeftPrompt' / 'RightPrompt' +00a70a10 eos_user_info_find_or_create ? looks a user up in two EpicUserInfo maps (_Find_lower_bound on EOS ids at +0x10/+0x14), else builds one (FUN_00a70710) as KAGE::SmartPointer and registers it via UserProfile::find_or_create; callers FUN_00a6f770/00a6fa10/00a6fd70 ('Failed to retrieve product ID mapping: %s', 'Unsupported platform for user') +00a72bc0 KAGE::Network::MultiplayerManager::request_user_profiles ? ECX=0xc79a60 (MultiplayerManager+0x10, its Lobby handle at +0x10 = 0xc79a70); takes a vector user ids + callback: no active lobby -> callback(0x10, empty Lobby); ids match lobby members -> UserProfile::find_or_create + load_steam_avatar each then callback(0, lobby); else Lobby::get_members and CommandThread::post_command; called from netplay code at 0x91287f with players lacking a profile +00ac64c0 decompress_smooth_data libjpeg jdcoefct.c: stored as coef->pub.decompress_data ([edi+0xc]) in jinit_d_coef_controller region (ac5c85), block-smoothing using coef_bits_latch -1 tests and 5x5 neighbour DC; neighbours libjpeg functions +00ae1330 oc_state_frarray_init libtheora state.c: computes fragment/superblock/macroblock counts from frame width/height>>3 and pixel_fmt chroma decimation, calloc frags(4)/malloc frag_mvs(2)/sb_maps(0x40)/sb_flags/mb_maps(0x30)/mb_modes/coded_fragis; called by FUN_00ae19b0 (oc_state_init); ends with oc_state_border_init (00ae0b90) +006f6500 Game::add_players ? ECX is Game (+0x1bb88 = Seeds._gameStartSeed "Error: Game Start Seed was not set."); iterates a vector of 0x14-byte user entries, logs "Adding local player, device ID"/"Adding remote player, UserID", new 0x3f8 netplay player object, PlayerManager::get_player_by_user_id, SpawnCoPlayer2, init_main_player, SetControllerIndex +00ad7450 jpeg_idct_9x9 libjpeg jidctint.c: start_pass switch case 9 (acaf65 stores 0xad7450, entry after the case-8 method sub-switch; case 7 = jpeg_idct_7x7 0xad4dc0, case 15/16 = jpeg_idct_15x15/16x16) +00ada820 jpeg_idct_4x4 libjpeg jidctint.c: start_pass switch case 4 (acaec8 stores 0xada820; jump table entries in order 1..16) +00a7a510 organya_song_load string "Organya track uses unsupported drum type: Instrument Index = %d, Drum Type = %d"; FileSystem::ResolvePath+open_archive_file/KAGE::Filesys::File::open, reads u16 wait, u8 beats/steps, s32 repeat start/end, samples-per-tick = wait*44100/1000, then 16 tracks (8 melody + 8 drum) of freq/wave/pipi/note count; callers 00a7cc60/00a7cfd0 render the org to PCM +00aae610 send_tree zlib trees.c: ECX=deflate_state (bi_buf +0x16b0, bi_valid +0x16b4, pending_buf +8, pending +0x14, bl_tree at +0xa74), EDX=tree, arg max_code; max_count 138/7, min_count 3/4, REP_3_6/REPZ codes; called twice from send_all_trees FUN_00aaeb30 +0043e4a0 Entity_Familiar::ai_mega_blast_wisp called only from Entity_Familiar::ai_wisp switch case 0x1b9 (441 Mega Blast); aims with TryAimAtMarkedTarget, FireBrimstone, keeps _linkedEntity laser rotated (Entity_Laser::RotateToAngle), PlayShoot/Charge/FloatAnim (sibling of ai_mr_me_wisp 0043db20) +008e1400 Menu_OnlineLobbyList::request_lobby_list called with ECX=this from Menu_OnlineLobbyList::reset (8de680 mov ecx,ebx); builds lobby search filters "lobby_tag", "lobby_mode", "current_stage" (cap 0x32 results) and starts the search with FUN_00a542c0(&filters, 008e1fb0 callback, this) +008e1fb0 Menu_OnlineLobbyList::on_lobby_list_received ? callback pushed by 008e1400 (push 0x8e1fb0 at 8e17d5) to the lobby search, param_2 = the menu (+0x4e6 flag); walks the result vector (0xc stride shared_ptr), drops full/password ("lobby_password") lobbies and those failing PersistentGameData::Unlocked, builds a list of ConstLobby +00a96370 deflate_slow zlib deflate.c: lookahead < MIN_LOOKAHEAD 0x106 -> fill_window (00a95c50), match_available (+0x60) emits the last literal via sym_buf/dyn_ltree freq++, FLUSH_BLOCK via _tr_flush_block (00aaeeb0) + flush_pending memcpy into strm; no direct callers (configuration_table function pointer) +00aebe30 mi_segment_alloc mimalloc segment.c (v2, 32-bit): mi_segment_calculate_slices inlined (info size 0x189f rounded to _mi_os_page_size, slices of 1<<15, default segment 0x400000), option checks, arena/OS alloc, memset of the slice table; callers 00aebdb0/00aec9d0 (mi_segment_reclaim_or_alloc / mi_segment_huge_page_alloc) +0069f560 EntityConfig_Entity::EntityConfig_Entity copy constructor of the 0x168-byte EntityConfig_Entity (id/variant/subtype +0..8, std::string name +0xc, vector of 0x7c records +0x68, string +0x74, vector of 0x24 +0x8c, vector +0x98 ...); used by FUN_00694f00 (EntityConfig filter by type -> vector, ProceduralEffect::roll_trigger_target) and its _Emplace_reallocate 0069deb0 +00ae0b90 oc_state_border_init libtheora state.c: called at the end of oc_state_frarray_init (00ae1330); zeroes nborders (+0x274), walks the 3 fplanes (+0x70, stride 0x20) over frags (+0xd0) with picture crop pic_x/pic_y/pic_width/pic_height (+0x14/+0x18/+0xc/+0x10) halved for chroma by pixel_fmt (+0x30) and marks border/invalid fragments +00a69090 KAGE::Filesys::ArchivedFile::refill_buffer strings "ArchivedFile::refill_buffer LZW compressed buffer overflow." / "MiniZ compressed buffer overflow."; reads the next compressed chunk (size dword, max 0x7ff) through the inner stream vtable +0x14 and decompresses with lzw (00a85320) or miniz (00a89f80) by archive compression type +00a911e0 png_write_IHDR libpng pngwutil.c: called from png_write_info_before_PLTE; switch on color_type/bit_depth with "Invalid bit depth for RGB image"/"...paletted image", "Invalid compression type specified", "Invalid filter type specified", "Invalid interlace type specified", then png_write_chunk_header + crc32 +00a9bdd0 get_dht libjpeg jdmarker.c: called from read_markers (a9ccb2); reads marker length (INPUT_2BYTES via src->fill_input_buffer), loops tables: index byte traced with JTRC_DHT (0x52), 16 bit counts, up to 256 huffval bytes into a local [256] buffer +00ae4830 oc_idct8x8_mmx libtheora x86/mmxidct.c: stored in the state accel vtable ([ecx+0x54] in oc_state_accel_init_x86 at ae3185), (y,x,last_zzi): last_zzi < 11 runs the inlined oc_idct8x8_10_mmx path (pmulhw OC_C3S5 0xd4db, OC_C5S3 0x8e3a, OC_C1S7 0xfb15, OC_C7S1 0x31f1, OC_C2S6 0xec83), else calls 00ae4bf0 (= oc_idct8x8_slow_mmx, currently misnamed oc_idct8x8_mmx); also called by FUN_00ae5260 +008d1600 kick_player_menu_render ? called only from PauseScreen::Render case 6 with ECX = PauseScreen+0x1218 (unnamed kick sub-menu object, player list vector at +0x22c/+0x230); centers its ANM2 (this+4) on screen, draws "KICK PLAYER" at the "Title" null, "%d / %d" at "KickCounter", player HUD layouts / NetplayManager::get_drop_entry +005a7590 NpcHelper::visage_score_position ? (float* pos) ECX = Visage npc: GetPlayerTarget, distance of pos to the target/_child (+0x3c0) and to the mask, branch on _state < 0x71; called twice from FUN_005a7920 (Visage new _targetPosition +0x334 picker over 20 random room positions, called 3x from NpcAI::ENTITY_VISAGE) to score candidates +00ac0e80 h2v2_merged_upsample_565D_le ? libjpeg-turbo jdmrg565.c: ECX=cinfo (upsample +0x1b0 Cr_r/Cb_b/Cr_g/Cb_g tabs +0x18..+0x24, range_limit +0x124, output_width +0x5c), EDX=input_buf; two output rows of ushort (RGB565) from 2 Y rows and 1 Cb/Cr row, dither_matrix DAT_00b5df94[output_scanline (+0x78) & 3]; called from 00ac1260 (h2v2 merged upsample wrapper) +00a96000 deflate_fast zlib deflate.c: twin of deflate_slow (00a96370) without match_available: lookahead < 0x106 -> fill_window, FLUSH_BLOCK via _tr_flush_block (00aaeeb0) + flush_pending; no direct callers (configuration_table) +00ac2430 jpeg_make_d_derived_tbl libjpeg jdhuff.c: (cinfo ECX, isDC DL, tblno, pdtbl): tblno outside 0..3 or missing dc/ac_huff_tbl_ptrs (cinfo+0xa0/+0xb0) -> JERR_NO_HUFF_TABLE (0x34); builds huffsize[257]/huffcode[257] and lookup tables (memset); 5 call sites from the huffman decoder start_pass functions +00ab0fc0 png_handle_sRGB libpng pngrutil.c: strings "Missing IHDR before sRGB", "Invalid sRGB after IDAT", "Out of place sRGB chunk", "Duplicate sRGB chunk", "Incorrect sRGB chunk length", "Unknown sRGB intent", "Ignoring incorrect gAMA value when sRGB is also present"; png_crc_read/png_crc_finish; called from the chunk dispatchers 00a96980/00a97100 +00827bf0 Room::spawn_sanguine_bond_spikes ECX=Room (grid width +0xc, height +0x10, grid entity array +0x24, 0x1c0 cells): only in room type 0xe (ROOM_DEVIL) when PlayerManager::FirstCollectibleOwner(692 COLLECTIBLE_SANGUINE_BOND); clears the cell at width*4+7, GridEntity::GridEntity/Init spikes there ("SpawnGridEntity: Grid index invalid"), unsummons other GridEntity_Spikes; callers Entity_Player::AddCollectible and Room::Init +00a18aa0 KAGE::Graphics::Manager::Manager ? constructor of the global graphics manager at 0xc798e0 (returns &DAT_00c798e0): sets KAGE::Graphics::ManagerBase::vftable then KAGE::Graphics::Manager::vftable, g_graphicsManager_flags/blendMode defaults, KColor white, several std::list/map heads, g_glfwWindow=0, 1920x1080 floats (0x44f00000/0x44870000); called once from the static initializer at 402140 +00acf890 mapping0_inverse libvorbis mapping0.c decoder (vb, info): vb->vd +0x40, vd->vi +4, ci->blocksizes[vb->W], alloca per-channel bundles, per channel _floor_P[ci->floor_type[info->floorsubmap[info->chmuxlist[i]]]] (table 0xb4f938) ->inverse1 (+0x14), then residue/coupling/inverse mdct; no direct callers (mapping_P table). The function named mapping0_inverse (00acebf0) is the encoder mapping0_forward +00a7e6e0 eos_friend_lobby_search_start ? EOS glue (ECX = unnamed lobby-search object, friend list at +8/+0xc): for each friend with presence (_EOS_Platform_GetPresenceInterface, _EOS_Presence_HasPresence/CopyPresence) reads "KAGE_PRESENCE_LOBBY_ID", creates a lobby search per friend; strings "Failed to copy friend presence info: %s", "Failed to create friend lobby search handle: %s", "Failed to set lobby ID for friend lobby search: %s"; called from FUN_00a57060 (friends-only lobby mode) +00a5e060 _glfwSetWindowMonitorWin32 glfw win32_window.c: platform table slot (stored at a8123d in _glfwConnectWin32), (window, monitor, xpos, ypos, width, height): same monitor -> acquire/fit; else AdjustWindowRectEx / _glfwIsWindows10BuildOrGreaterWin32 (AdjustWindowRectExForDpi), window style getStyle/getExStyle (00a5aa80) +00aca170 consume_data libjpeg jdcoefct.c: stored as coef->pub.consume_data (mov edx,0xaca170 at aca6eb in jinit_d_coef_controller); access_virt_barray (mem vtable +0x1c) for each cur_comp_info (+300, comps_in_scan +0x128), then decode_mcu loop over MCU rows/cols +00ae3f40 oc_idct8x8_slow libtheora idct.c (C path): (y, x) two-pass 8x8 IDCT through idct8 (00ae3830); reached from oc_idct8x8_c (00ae3dc0, stored at [eax+0x54] by oc_state_accel_init_c at ae0b60) when last_zzi >= 11 +00ae3b90 oc_idct8x8_10 libtheora idct.c (C path): called from oc_idct8x8_c (00ae3dc0) when 4 <= last_zzi < 11 (last_zzi < 4 runs the inlined oc_idct8x8_3 using idct8_2 00ae39c0) +008b7630 luabridge::CFunc::CallMember::f luabridge member thunk: pushed as a C closure (push 0x8b7630 at 893e62) whose upvalue is Game::BombDamage (0x6ff2a0), registered under "BombDamage" (0xb746d0); checks self Game, reads args 2..9 (Vector, damage, radius, line check, Entity source, BitSet128 tear flags, int damage flags, bool) via Userdata::getClass/luaL_checkinteger/lua_toboolean +00ac1410 start_pass_phuff_decoder libjpeg-turbo jdphuff.c: stored as entropy->pub.start_pass ([eax] at ab625c); progressive validation of Ss/Se/Ah/Al (+0x170..+0x17c: Se63, comps_in_scan!=1, Al>13) -> JERR_BAD_PROGRESSION (0x11), then jpeg_make_d_derived_tbl (00ac2430) per component +00998550 std::map::insert ? builds a 0x2c-byte tree node (std::string key at +0x10, int value at +0x28) for the global map head DAT_00c94320, lower_bound (00998270) + string_compare, insert/rebalance; only caller FUN_00998240 +00ab45a0 initial_setup libjpeg-turbo jcmaster.c (compressor): ECX=cinfo; image_height/width > JPEG_MAX_DIMENSION 0xffdc -> JERR_IMAGE_TOO_BIG (0x2a), data_precision 8/12 (or 2..16 when lossless, master+9) -> JERR_BAD_PRECISION (0x10), num_components > 10 -> JERR_COMPONENT_COUNT (0x1b), then per-component sampling factors; called from jinit_c_master_control 00ab4b10 +00ac3dc0 find_nearby_colors libjpeg jquant2.c: ECX=cinfo (actual_number_of_colors +0x70, colormap +0x74), (minc0 EDX, minc1, minc2, colorlist): per colormap entry computes min/max distance with the c0/c1/c2 scale tables (DAT_00b5dfa4 indexed by rgb_red/green/blue[out_color_space]), mindist[256] local, keeps colors within minmaxdist, returns ncolors; callers are the two fill_inverse_cmap users 00ac42c0/00ac43f0 +00a94f10 png_do_shift libpng pngwtran.c: ECX=row_info (color_type +2, bit_depth +9), param = png_color_8p sig_bit (red/green/blue/gray bytes 0..3): shift_start/shift_dec per channel, skipped for palette (color_type 3); called from png_do_write_transformations (00a94c80) +00a65d80 KAGE::Graphics::ImagePcx::load vtable slot 14 of KAGE::Graphics::ImagePcx (same slot as image_load_jpeg in ImageJpg); strings "Pcx image \"%s\" has premultiplied alpha but premultipled alpha rendering is not turned on in KAGE", "Failed to load image ... set_size failed / texel buffer allocation / bind_texel_data failed / unsupported number of channels"; reads the 0x80-byte PCX header via stream vtable +0x14, ImageBase::set_size(xmax-xmin+1, ymax-ymin+1), RLE decode, image_premultiply_alpha; sibling of image_load_jpeg (00a65190) +00a816f0 createMonitor glfw win32_monitor.c static createMonitor(adapter, display): EnumDisplaySettingsW(adapter->DeviceName), CreateDCW(L"DISPLAY"), widthMM/heightMM via GetDeviceCaps (HORZSIZE/VERTSIZE or LOGPIXELS on old Windows), _glfwAllocMonitor (00a6c190), DISPLAY_DEVICE_MODESPRUNED flag; called twice from _glfwPollMonitorsWin32 (00a81980) +00686220 Console::LoadCommandHistory ? ECX=Console: sprintf "%s/%s" g_userDataDir "cmd_history.txt", only when not online/daily (or practice) and OptionsConfig _enableDebugConsole && _enableSaveCommandHistory; SaveDataManager::open_file_read, reads 0x400 chunk, splits lines (isspace trim) into the history deque up to 0x40 entries (+100 count); counterpart of REPENTOGON Console::SaveCommandHistory; caller FUN_00686060 (console init) +00a85320 lzw_decompress counterpart of lzw_compress (00a85140): ECX = LZW state (next code +0, code width +4, dictionary +8 of 0x10-byte entries, reset to 0x100 / 8 bits at 0x1000 codes), bit reader over the input, "ERROR! wrong code %u"; callers KAGE::Filesys::ArchivedFile::refill_buffer (00a69090), 00a68cf0, 0091826a +00ae27f0 oc_huff_tree_collapse libtheora huffdec.c: (tree or NULL, tokens[][2], ntokens): called twice from oc_huff_trees_unpack (00ae2bf0) - first to size the tree, then to fill it; local depth/node stacks (short[34], byte[35]), uses oc_huff_subtree_tokens (00ae26e0) +0042bdf0 DeathmatchTypeBase::RestoreGameState ? vtable slot 29 of DeathmatchTypeBase and all 11 DeathmatchType* subclasses (no direct callers); clears the std::set at this+0x20 and refills it from the vector at GameState+0x1fde0..0x1fde4 (param_1); slot 28 (0042bd70) is the matching store that copies the set into GameState+0x1fde0 (GameState::~GameState frees that vector) +009b8130 PauseScreen::render_seed_paper ECX=PauseScreen (sprite +0x140 when _menuType (+4) == 1 else +0x2c, same pattern as PauseScreen::Update); only caller PauseScreen::Render (9b7383); shows the "SeedPaper" layer when no daily challenge, draws Seeds::Seed2String at a null frame with Font::DrawStringScaled ("Error: Game Start Seed was not set.") +00a8b570 TheoraVideoManager::createWorkerThreads theoraplayer: (n) loop allocating 0x20-byte worker thread objects named "Theoraplayer Worker Thread", starting them ("WARNING: Thread ... already running, cannot start!") and pushing into the manager vector; caller 00a8a970 (TheoraVideoManager init, next to TheoraVideoManager::destroyVideoClip) +0090c7e0 NetplayManager::restore_player_state ? ECX=NetplayManager (map end +0x1070 next to the +0x1064 map of get_player_persistent_game_data): (userId*, player) finds the pending entry for the user (FUN_00913e50), picks the one of 4 0x34-byte slots whose key == player _playerType (+0x13c0), GameStatePlayer::Init/read from its buffer + Entity_Player::RestoreGameState, marks the slot 0x29 (free; FUN_00913e70 erases when all 4 are free), recurses into the linked players +0x1e68/+0x1e6c; callers Game::add_players (006f6500) and itself +00ac9440 rgb_rgb565D_convert_le libjpeg-turbo jdcol565.c: ECX=cinfo (range_limit +0x124, output_width +0x5c), EDX=input_buf (3 planes R/G/B), dither_matrix DAT_00b5e394[output_scanline (+0x78) & 3], packs RGB565 pixels two at a time with an unaligned first pixel; only caller 00ac9890 (rgb_rgb565D_convert endian dispatch) +008a40a0 luabridge::Namespace::Class::Class luabridge deriveClass ctor: name "EntityFamiliar", __class/__const/__parent tables; only caller the EntityFamiliar registration wrapper 00885910 +008a2e40 luabridge::Namespace::Class::Class luabridge deriveClass ctor: name "GridEntityDoor", __class/__const/__parent; only caller 0088b5e0 +008a2000 luabridge::Namespace::Class::Class luabridge deriveClass ctor: name "GridEntitySpikes", __class/__const/__parent; only caller 0088d7d0 +008a6970 luabridge::Namespace::Class::Class luabridge beginClass ctor: name "BitSet128", __class/__const (522-byte beginClass shape); only caller 00877100 +008a5d10 luabridge::Namespace::Class::Class luabridge beginClass ctor: name "Config" (the ItemConfig namespace class whose methods are ItemConfig::GetCollectible/GetTrinket/IsValidCollectible); only caller 0087ac50 +008a50b0 luabridge::Namespace::Class::Class luabridge beginClass ctor: name "PosVel", __class/__const; only caller 0087d110 +008a1be0 luabridge::Namespace::Class::Class luabridge beginClass ctor (name passed in): LuaEngine::RegisterAPI calls the wrapper 0088e380(s_Spawn) inside the "RoomConfig" namespace right before addData of Class and "PickEntry"/"Entries"; rawget of "Spawn", __gc closure FUN_008c2d10 +008a0f80 luabridge::Namespace::Class::Class luabridge beginClass ctor: name "ItemPool", __class/__const; only caller 00893330 +00ab3cd0 realize_virt_arrays libjpeg jmemmgr.c: stored as mem->pub.realize_virt_arrays ([esi+0x18] at a9d44c in jinit_memory_mgr, inside jpeg_CreateDecompress); walks virt_sarray_list/virt_barray_list (mem+0x44/+0x48, next at +0x24) summing space (sample size 1 or 2 by data_precision), overflow -> JERR_OUT_OF_MEMORY (0x38) code 10, then alloc_sarray/alloc_barray (00ab3900/00ab3b30) +00a27a30 std::map::try_emplace std::map: _Find_lower_bound (00a280b0) + inline strcmp, on miss allocates the node (operator_new) and inserts/rebalances (FUN_00415f80/00415fe0, max-size check 004170d0); returns pair in param_1; only caller 00a27960 = operator[] (returns node+0x14), used by StringTable::load_xml +00a0fb60 KColor::hsl_to_rgb ? (out, in) KColor: "Specified color isn't in the HSL color space" unless in[4] (space tag) == 2; h/360, s*0.01, l*0.01, achromatic shortcut, standard hue2rgb with 1/3 offsets, copies alpha and sets out space tag 0; next to KColor::KColor (00a0f690) +00a80530 loadLibraries glfw win32_init.c: GetModuleHandleExW(&_glfw), LoadLibraryA user32.dll ("Win32: Failed to load user32.dll") + SetProcessDPIAware/ChangeWindowMessageFilterEx/EnableNonClientDpiScaling/..., dinput8.dll DirectInput8Create, xinput1_4..xinput1_1 XInputGetCapabilities/XInputGetState, dwmapi.dll, shcore.dll, ntdll.dll RtlVerifyVersionInfo; called from _glfwInitWin32 (00a812f0) +00ab1300 png_handle_tRNS libpng pngrutil.c: strings "Missing IHDR before tRNS", "Invalid tRNS after IDAT", "Duplicate tRNS chunk", "Missing PLTE before tRNS", "Incorrect tRNS chunk length", "Zero length tRNS chunk", "tRNS chunk not allowed with alpha channel"; palette (color_type 3) / gray / RGB cases, png_crc_read/finish; called from the chunk dispatchers 00a96980/00a97100 +00accb90 I422ToARGBRow_C libyuv row_common.cc: (src_y, src_u, src_v, dst_argb, yuvconstants, width): two pixels per U/V sample using the YuvConstants table (kUVToB/kUVToG/kUVToR/kUVBias/kYToRgb at +0/+0x20/+0x40/+0x60../+0xc0), clamps to 0..255, alpha 0xff, odd tail via YuvPixel (00accab0); default row function loaded with mov ecx,0xaccb90 in libyuv converter 00ab6d00 +0064b6c0 Entity_Familiar::render_abyss_locust_sprite ? ECX=familiar, (ANM2*, offset): called from Entity_Familiar::Render over the two ANM2 vectors (stride 0x114) of AbyssLocustData (before and after Entity::Render); fades the sprite alpha +-0.04 by this+0xd88 == -1 (ANM2::Reset at 0), scales by ItemConfig::get_wisp_entry +0x78 * 0.45 * sprite scale (+0x374/+0x378), AnimationState::Update x2, ANM2::Render +00abf1a0 extrgbx_h2v2_merged_upsample_internal libjpeg-turbo jdmrgext.c instance writing 4-byte R,G,B,0xff pixels: ECX=cinfo (upsample +0x1b0 Cr_r/Cb_b/Cr_g/Cb_g tables +0x18..+0x24, range_limit +0x124, output_width +0x5c), EDX=input_buf (two Y rows per call = h2v2); called from the out_color_space dispatcher at ac0754 +008d8870 item_info_update_charge_bar ? ECX = pause-screen item info widget (AnimationState at +0x55c, loaded flag +0x560): (collectible id, player): SetFrameFloat of the charge bar for active items (ItemConfig::GetCollectible type 3, chargeType 0/1/2), special cases 711 Flip for player types 29/38 (Tainted Lazarus) and 286/263/348/489/147 (Blank Card, Clear Rune, Placebo, D Infinity, Notched Axe); callers 008d5990/008d5da0 (item info builders with "#ITEM_INFO_UNIDENTIFIED_PILL") +00a12430 KAGE::Graphics::ImageBase::set_palette vtable slot 3 of KAGE::Graphics::ImageBase and all Image* subclasses; "Attempting to set palette on an image that isn't indexed" (vfunc +8 is_indexed), "Specified palette is larger than 256 texels in size", names the palette image "%s - Palette" from this+0x44/+0x40 or "unknown", creates/updates the palette texture (this+0x2c) +00a9e2d0 steam_user_profile_update ? Steam glue (param = user profile impl: steam id +8/+0xc, name buffer +0x10, flags +0): if the id is the local SteamUser (ISteamUser vfunc +8 GetSteamID) copies ISteamFriends::GetPersonaName, else GetFriendPersonaName (+0x1c), GetFriendRelationship (+0x14) == 3 sets flag 2 (friend), scans GetFriendCount/GetFriendByIndex(0x200 k_EFriendFlagIgnored) to set flag 4; callers std::map::try_emplace and 00a8c600 +00926f10 PersistentGameData::read ? ECX=PersistentGameData (stored to [ebp-0x24], fields +0xf84/+0xf88 filled), param = input stream: reads the 16-byte header and compares with "CNGSAVE06R".."CNGSAVE09R" ("PersistentGameData wrong file header (%.16s)"), checksum_stream vs trailing dword ("checksum invalid!"), "Unsuported save version (probably an AB or Rebirth save)!", then per-chunk loop ("Reading chunk %d"); counterpart of PersistentGameData::write (009282e0); 5 call sites incl. PersistentGameData::TryImportABLocalSave +008c4920 luabridge::Namespace::Class::Class luabridge beginClass ctor: name "CardConfigList", __class/__const, __gc closure FUN_008c5cb0; only caller lua_register_CardConfigList (0087a010) +008c3cc0 luabridge::Namespace::Class::Class luabridge beginClass ctor: name "RoomConfigEntries", __class/__const; only caller lua_register_RoomConfigEntries (0088d970) +00685360 std::map::try_emplace std::map: _Find_lower_bound (00685bc0) + string_compare, on miss allocates a 0x40-byte node (key string copied at +0x10, empty value string +0x28 with cap 0xf at +0x3c), max-size 0x3ffffff check, insert/rebalance; only caller 00684e10 = operator[] (returns node+0x28), used by keyvalue_map_parse +00a6fa10 eos_on_query_product_user_id_mappings EOS callback: pushed as the completion callback of _EOS_Connect_QueryProductUserIdMappings in 00a6fc30 and 00a70020; logs "Failed to retrieve product ID mapping: %s" (EOS_EResult_ToString), EOS_Connect_CopyProductUserInfo, external account type 0 (Epic) / 1 (Steam id string) else "Unsupported platform for user", stores the user (FUN_00a6f770), ExternalAccountInfo_Release, then queries EOS UserInfo with callback 00a6fd70 +00aedb40 mi_page_queue_find_free_ex mimalloc page.c: (heap, pq, first_try): walks pq->first pages (_mi_page_free_collect 00aed1f0, ...); when none is free runs the inlined _mi_heap_collect_retired over heap->pages[page_retired_min..max] (heap+0x630/+0x634, MI_BIN_FULL 0x4a, retire_expire byte +0xf) then mi_page_fresh via _mi_segment_page_alloc (00aeb300); on failure with first_try recurses once with first_try=0; callers mi_find_free_page (00aed6a0) and itself +0095f4f0 Cutscene::ANM2Part::start ? vtable slot 3 of Cutscene::ANM2Part (slot 1 0095f4b0 = ANM2::Reset+Load of the part, 2 = Reset, 4 = per-frame update, 5 = Render); resets the timer (+0x28/+0x2c), ANM2::SetAnimation(this+0x80, anim name +0x58) + AnimationState::Rewind, then Music::Play of the part music id (+0x70), swapping 0x3c for 0x46/0x47 by achievements 0x20/0x27d, music volume from OptionsConfig +008ae2d0 luabridge::CFunc::CallMember::f luabridge member thunk: pushed as a C closure (push 0x8ae2d0 at 882422) whose upvalue is Entity_Player::AnimatePickup (0x7ab130), registered as "AnimatePickup" (0xb71de8); self EntityPlayer, arg 2 Sprite by value ("nil passed to reference", ANM2::ANM2 copy), arg 3 bool, arg 4 optional string +005a7310 NpcHelper::visage_spawn_chain ECX = Visage npc; callers NpcAI::ENTITY_VISAGE (5a7ce7, 5a81c6): Game::Spawn(903 ENTITY_VISAGE, variant 10, at +0x33c) 40 (0x28) times with subtype = index, each link's +0x3bc parent = previous link (multiset EntityPtr refs), +0x3c0 child set when the previous is a variant-10 link; stores the last link at npc+0xbec and closes the chain with the first link +009c16b0 Popup::render_frame ? (KColor*, Vector* offset), ECX = Popup: builds ColorQuads (Quad::rotate, render_quad_set_uniform_color) and submits them via the image vfunc +0x14; FUN_009c0c30 (popup render, from the PopupQueue walker FUN_009c3890 <- Game::Render/Manager::Render) calls it twice: shadow offset (5,5) then &g_vectorZero +00ad8420 jpeg_idct_12x12 libjpeg(-turbo) jdddctmgr start_pass FUN_00acae00: switch on compptr->DCT_scaled_size case 12 stores 0xad8420 (cases 7/15/16 are the already named jpeg_idct_7x7/15x15/16x16) +00a6b570 _glfwRefreshContextAttribs GLFW 3.4 context.c: "Requested OpenGL version %i.%i, got version %i.%i", "OpenGL ES-CM ", GL_ARB_robustness/GL_KHR_context_flush_control, glGetString/glGetIntegerv lookups, win32_thread.c tls assert +00917a50 NetplayManager::load_game_start_packet ? called from the game-start notify FUN_0090ca40 ("[Frame %d] Notify Game Start"): reads a stream (vfunc +0x14 read(buf,size,count)) into Manager _lobbyMembers (UserProfile::find_or_create, load_steam_avatar), seeds (Seeds::set_start_seed, AddSeedEffect), then NetplayManager::reset / MenuManager::start_game +009c27c0 Popup::build_lines ? from Popup::constructor: Popup::free_line_buffers, then for each text entry (vector at +0x54) translates "##GAME##"/"##PLATFORM##" keys (string_table_translate), word-wraps via FUN_00682390 (width -1 entries) and stores per-line buffers/widths (Font::get_string_width_n) +00ad78a0 jpeg_idct_10x10 libjpeg(-turbo) start_pass FUN_00acae00: DCT_scaled_size case 10 stores 0xad78a0 +00adb2c0 jpeg_idct_float libjpeg(-turbo) start_pass FUN_00acae00: case 8 switches on cinfo->dct_method (+0x44): 0 ISLOW -> 00ad4820, 1 IFAST -> 00adae20, 2 FLOAT -> 0xadb2c0, else JERR_NOT_COMPILED (0x31) +00a25770 parseMapping GLFW 3.4 input.c parseMapping: gamepad mapping string fields a/b/x/y/dpup/leftshoulder/lefttrigger/leftx/.../"platform"; caller FUN_00a6a420 (glfwInit -> glfwUpdateGamepadMappings) +00a71770 kage_shutdown ? only call from IsaacMain (0093140e): releases EOS (_EOS_Platform_Release, _EOS_Shutdown), closes g_logFile, frees g_deflateCompressor, stops the multiplayer command thread (ThreadSafeQueue::shutdown x3), clears g_theoraVideoManager and global string tables +00ab28f0 png_do_read_interlace libpng: (row_info ECX, row EDX, pass, transformations): expands a row by png_pass_inc[pass] (table DAT_00b46840) with 1/2/4-bit paths honouring PNG_PACKSWAP (0x10000); called from png_read_row (00a96cc0) +006a15c0 EntityConfig_Entity::move_constructor ? moves a 0x168-byte record (strings reset to SSO 0/0xf, vectors stolen); only from the vector realloc FUN_0069deb0/FUN_0069fa30 (0x168 stride, filled by FUN_00694f00, same element as std::vector::_Tidy 0069d5a0) +008f9f40 ModManager::add_mod_entry ? (name, dir, path) from ModManager::UpdateWorkshopMods: builds an entry with "/disable.it" (FileSystem::ResolvePath -> disabled), "/metadata.xml" (missing flag), creates "/unfinished.it" (SaveDataManager::open_file_write) and pushes it via FUN_008fc5b0 +0095ed70 CutscenePart::load_subtitles ? ECX+0xc = subtitle path: FileSystem::Open, reads lines (vfunc +0x18), lines > 28 chars are SRT "hh:mm:ss,mmm --> hh:mm:ss,mmm" timestamps parsed by FUN_0095cb80, up to 4 following text lines -> utf8_to_utf16_alloc; 0x1c-byte cue vector at +0x24; from the anm2part loader FUN_0095f4b0 (ANM2::Load then this) and a vtable thunk 0095c920 (Cutscene::load_xml parses "subtitles") +00a772a0 KAGE::Network::Multiplayer::ServiceEOS::load_lobby_member_attributes ? dynamic_cast ServiceBase->ServiceEOS, for each member id reads lobby member attributes "user_id" (std::stoull) and "user_name" via FUN_00a84e50 on LobbyEOS and stores them in the EpicUserInfo map; from the EOS join-lobby completion FUN_00a76c90 ("Failed to join EOS lobby: %s") and pushed as a callback +008cc5e0 Menu_CreateLobby::update_paper_layers ? two ANM2s at ECX+0x114 (stride 0x120): hides every layer, shows "Paper", then DailyMode/ModeTitle/Challenge/Players/Password/TagTitle/Arrows per Manager _lobbySettings (gameMode) with ANM2::SetLayerFrame; from Menu_CreateLobby::load_graphics and Menu_OnlineMode::Update +00ad15f0 floor1_unpack libvorbis floor1.c: calloc(1,0x460) vorbis_info_floor1, oggpack_read (FUN_00ab7120) partitions/partitionclass, class_dim+1, class_subs, class_book, class_subbook-1, bounds-checked against ci->books (+0x18); no direct caller (in the _floor_P function table) +00a8d580 VideoClip_Theora::_decodeAudio theoraplayer: returns float, -1.0 when restarted (+0x91); drains vorbis pcm (+0x10c..+0x110) into an interleaved float buffer, else ogg_stream_packetout -> vorbis_synthesis -> vorbis_synthesis_blockin; sits next to VideoClip_Theora::_load/_executeSeek +00682390 text_wrap_lines ? (out vector) splits text on "\n" and wraps to a width with Font::get_string_width_n, pushing each line (vector_string_emplace_reallocate_move); only caller Popup::build_lines 009c27c0 +004248a0 ellipse_image_create ? (w, h, ...): heap_alloc'd w+1 x h+1 RGBA image named "Ellipse", midpoint ellipse rasterisation (rx^2, ry^2, 2rx^2 terms) plotting via FUN_00424580, then KAGE_Graphics::create_image; from FUN_00424d70 <- EmoteWheel::Render +00ab2d80 png_read_filter_row libpng: switch on filter type 0 none/1 sub/2 up/3 avg/4 paeth over (row, prev_row) with row_info bpp, default "Bad adaptive filter type"; from png_read_row 00a96cc0 +00ae2200 oc_dequant_tables_init libtheora dequant.c: per qti/pli/qi builds dequant tables from th_quant_info (base matrices +0x140.., dc/ac scales), value*scale/100*4 clamped to 4096, pp_dc_scale = qi/160 written to param_2; from the decoder init FUN_00add260 (<- th_decode_alloc area 00ade980) +00ac8f50 ycc_rgb565D_convert libjpeg-turbo jdcol565.c: color_convert(cinfo, input_buf, input_row, output_buf, num_rows) with Cr_r/Cb_b/Cr_g/Cb_g tables at cconvert(+0x1b4)+0x10..+0x1c (turbo 3.x pub has 12/16-bit hooks), range_limit +0x124, dither_matrix[output_scanline(+0x78) & 3] (DAT_00b5e394), 4-byte alignment packing +00a9b550 get_sof libjpeg(-turbo) jdmarker.c get_sof(cinfo, is_prog, is_lossless, is_arith): JERR_SOF_DUPLICATE (0x3c) if marker->saw_SOF, stores progressive_mode (+0xc9), master->lossless, arith_code (+0xca), reads bytes through src->fill_input_buffer +00835820 input_config_load_xml_node ? from input_configs_load: walks a config node's attributes/children, "Keyboard" device, maps action names ("Unknown action (%s) found while loading button config", "Unknown action slot (%d)...", "ActionId is out of range") +008ea3a0 Menu_OnlineLobby::handle_kicked ? when g_menuManager->_selectedMenuID == 0x11 (online lobby) and lobby check: pops menu state history (MenuManager::SetState), resets g_multiplayerLobbyPtr, netplay_leave_lobby, NetplayManager::reset, queues the "#Online/LOBBY_KICKED" popup (PopupQueue::push + add_ok_button); from FUN_008ea6e0 and NetplayManager::process_drop_player_message +004b3610 NpcHelper::gideon_update_death ? Entity_NPC::Update calls it (via thunk 004b3940) for type 0x38b (907 ENTITY_GIDEON): "Death" anim, "Sound" event -> SoundEffects::Play, Game::ShakeScreen(0xe), boss jingle Music::PlayJingle(0x55), then FUN_004b0fe0 spawns the stairs +00424580 ellipse_image_plot_points ? ECX = image {pixels, size, w}: plots the 4 symmetric ellipse points with atan2f angle (deg) inside [param_2, param_3] in white (KColor::SetFromARGB(0xffffffff)); only caller ellipse_image_create 004248a0 +008ee940 Menu_OnlineLobby::leave_popup_callback ? popup callback (pushed with ECX userdata by Menu_OnlineLobby::update_controls via the popup desc ctor 009c25e0 + MessagePopup::add_yes_no_buttons): on result != 1 pops the menu state, netplay_leave_lobby, NetplayManager::reset, PersistentGameData::Save/SaveToSteamCloud, Manager::BackupSaveFile +00903d60 online_logs_prune ? lists g_userDataDir/ (filesys_list_directory) with _time64 and DateTime, parses names (atoi) and deletes old ones (FUN_00a25560); called twice from FUN_00902fd0 with "online_logs/desyncs/" and "online_logs/sessions/" +0083c5f0 HUD::load_item_info_graphics ? ECX = HUD+0x5c80 (FUN_009a1970: HUD::LoadGraphics, FUN_009a19a0, then LEA ECX,[ESI+0x5c80]; same object as HUD::update_item_info 0083c8d0): loads font/TeamMeatEx/TeamMeatEx12.fnt, gfx/ui/ui_charge_icons.anm2 "ChargeIcon", gfx/ui/minimap_icons.anm2 +00a6a9b0 glfwCreateWindow GLFW 3.4 window.c: asserts "title != NULL", "width >= 0", "height >= 0", "Invalid window size %ix%i", copies _glfw.hints, _glfwIsValidContextConfig (00a6b1a0); caller FUN_00a19df0 +0043d850 FamiliarHelper::wisp_mine_crafter_update ? Entity_Familiar::ai_wisp case subtype 0x1ab (427 COLLECTIBLE_MINE_CRAFTER): random drift, EntityList::QueryRadius, explodes (Game::BombDamage, Game::Spawn 1000, Game::spawn_bomb_crater) +0095f1f0 CutscenePart::render_subtitles ? draws the current cue (vector +0x24 of 0x1c-byte cues, index +0x2c, time +0x28 between cue start/end) lines with Font::get_string_width_utf16 + Font::draw_string_wide centred; same cue layout as CutscenePart::load_subtitles 0095ed70 +00ad3530 floor1_inverse2 libvorbis floor1.c: n = blocksizes[W]/2, memset(out) when no memo, ly = post[0]*info->mult (look->vi +0x510, mult +0x340, postlist +0x344) clamped 0..255, hy = post[i] & 0x7fff render_line; no direct caller (_floor_P table) +00423610 std::map::_Emplace (pair): operator_new(0x2c) node, string key assign, int value at +0x28, max_size 0x5d1745d; via FUN_00423500 from BossPool::load_xml ("basement"=1, "cellar"=2, "caves"=4 ...) +00aca950 process_data_context_main libjpeg(-turbo) jdmainct.c: main = cinfo+0x194, coef->decompress_data (+0x198 vfunc +0xc), post->post_process_data (+0x19c vfunc +4), context_state +0x4c (0/1/2), rowgroup_ctr +0x3c, rowgroups_avail +0x50, iMCU_row_ctr +0x54; stored by start_pass_main (00aca783) +00aae270 build_tree zlib trees.c: heap_len (+0x1448) = 0, heap_max (+0x144c) = HEAP_SIZE 573 (0x23d), depth[] +0x1450, heap[] +0xb58; called 3 times from _tr_flush_block FUN_00aaeeb0; callees pqdownheap/gen_bitlen +00a841c0 KAGE::Network::Multiplayer::LobbyEOS::get_members ? LobbyEOS vftable 00ba5520 slot 6: FUN_00a84900 lobby details, _EOS_LobbyDetails_GetMemberByIndex per member, wraps each in ReferenceCount looked up in the EOS user map (DAT_00c5ac08), pushes into the out vector +0060ac70 room_perimeter_to_position ? (out, {inset, t}): clamps inset to [-10, 40], wraps t with fmodf over the room perimeter (Room +0x18..+0x20 bounds) and interpolates along the walls; two calls in Entity_Effect::Update (005f85ce/005f882a) +00ad0790 _01inverse libvorbis res0.c _01inverse(vb, vl, in, ch, decodepart): n = min(blocksize/2 (+0x24 >> 1), info->end) - begin, alloca partword arrays, decodepart callback param_3; callers res0_inverse 00ad0a20 and res1_inverse 00ad0e10 +00a69c00 glfw_terminate GLFW 3.4 init.c static terminate(): destroys every window (FUN_00a6af90 glfwDestroyWindow) and cursor (FUN_00a26570), frees monitors (g_glfwMonitorCount, modes +0xb0, gamma +0xb4 via g_glfwDeallocate); from glfwInit FUN_00a6a420 failure path +00a91b50 png_write_tRNS libpng pngwutil.c: palette (3) num_trans check "Invalid number of transparent colors specified", gray/RGB cases, "Can't write tRNS with an alpha channel", png_write_chunk_header +00ac5cb0 decompress_onepass libjpeg(-turbo) jdcoefct.c: coef = cinfo+0x198, memsets MCU_buffer (blocks_in_MCU*128), entropy->decode_mcu (+0x1a8 vfunc +4) with insufficient_data (+0x10) check, suspends with MCU_vert_offset/MCU_ctr (+0x2c/+0x28); stored by start_input_pass (00ac7353) +00aa9580 isaac_randinit Bob Jenkins ISAAC randinit: golden-ratio pre-mixed constants (0x1367df5a, 0xd92a4a78, 0xc4efea1b ...), mix shifts <<11 >>2 <<8 >>16 <<10 >>4 <<8 >>9 over randrsl, clears aa/bb/cc (+0x804..+0x80c), then isaac() FUN_00aa94a0; from FUN_00aa93e0 +00a6d2c0 deviceObjectCallback GLFW 3.4 win32_joystick.c DirectInput object enum callback: axes/sliders/buttons/POVs into the object array, DIPROP_RANGE SetProperty ("Warning: IDIrectInputDevice8_SetProperty returned 0x%X"); pushed as a callback at 00a6d989 +008fc9f0 std::map::_Try_emplace ? key-string lower-bound then operator_new(0x2c) node with 4-byte value at +0x28 zeroed (max_size 0x5d1745d); FUN_008fc6e0 returns node+0x28 (operator[]), used by ModManager::LoadShaders; separate instantiation from 0069e0c0 +00ab00b0 png_handle_IHDR libpng pngrutil.c: "Out of place IHDR", "Invalid IHDR chunk", width/height 0..0x7fffffff, bit depth/color type/compression/filter/interlace checks, png_crc_read(13)/png_crc_finish +00734cc0 ItemPool::remove_deathmatch_pill_effects ? when g_game->_deathmatchManager type > 1: collects available pill effects (PillEffect::IsAvailable) not disallowed by the deathmatch manager (vfunc +0x28), then re-rolls disallowed entries of the 15 pill-colour slots (+0x7a4) with the pool RNG (+0x654); from FUN_0042a4d0 +008a3e40 luabridge::Namespace::Class::Class luabridge deriveClass ctor for "EntityProjectile" (__class/__const/__parent, __gc closure FUN_008c2ef0); from FUN_00886550 +008a2be0 luabridge::Namespace::Class::Class luabridge deriveClass ctor for "GridEntityPoop" (__class/__const/__parent, __gc closure FUN_008c2df0); from FUN_0088c440 +00adab90 jpeg_idct_2x2 libjpeg(-turbo) jidctred.c: start_pass case 2; skips columns 2/4/6, odd-coefficient constants 0x73fc FIX_3_624509785, 0x28ba FIX_1_272758580, 0x1b37 FIX_0_850430095, 0x1712 FIX_0_720959822 +008d3640 PauseScreen::render_items_page ? ECX = PauseScreen+0x838 (PauseScreen::Render 009b7485 LEA ECX,[ESI+0x838]): ANM2 layer render ("AnimationData is NULL", "LayerId out of bounds"), "BackButton" glyph via Manager::render_controller_action_glyph, OnlinePlayerInfo::render_items +00a149a0 KAGE::Graphics::ShaderBase::free_uniforms ? frees the 8-byte param entries (+0xc, count +0x10) and the 0x18-byte uniform records (+0x34..+0x38) through the tracked heap; called by the ShaderBase dtors 00a145e0/00a24620/00a24660, ModManager::unload_shaders and Isaac::Shutdown +00a577b0 std::vector<20byte>::_Emplace_reallocate 0x14-byte elements (max 0xccccccc), growth 1.5x, std::shared_ptr::assign member copy; callers FUN_00a572d0/FUN_00a575e0 +00401390 completion_mark_names_init ? static initializer: fills a global string array "Mom's Heart", "Isaac", "Satan", "Boss Rush", "Cathedral", "Sheol", "Chest", "Dark Room", "Mega Satan", "Greed", "Delirium", "Mother", "Beast" (eh_vector_constructor_iterator + _atexit) +004bc680 NpcHelper::horny_boys_pick_position ? zeroes ECX+0x334 target, loops Room::GetRandomPosition(20) until the grid cell is valid and far enough from Game::GetNearestPlayer; two calls in NpcAI::ENTITY_HORNY_BOYS +00a59fd0 multiplayer_message_coalesce_fragments ? walks a std::map of fragments (ECX+8), mallocs total size + 4 through the tracked heap (oom handlers), writes an 8-byte header then memcpy's each fragment payload (minus 8-byte header); from multiplayer_send_message and FUN_00a58cb0 +0069e0c0 std::map::_Try_emplace std::map::_Find_lower_bound then operator_new(0x2c) node (value +0x28, max_size 0x5d1745d); FUN_0069d630 returns node+0x28 (operator[]), used by EntityConfig::parse_entity_tags / LoadEntities / ItemConfig::parse_cache_flags +004158b0 std::map::_Try_emplace ? g_anmCacheMap: FUN_00416490 lower bound on uint key, operator_new(0x54) node; from FUN_00414500 +00ab3900 alloc_sarray libjpeg(-turbo) jmemmgr.c alloc_sarray (mem->pub +8 = 0xab3900 at 00a9d430): sample size by data_precision (+0x48 / +0x0c0 > 8 ->2), MAX_ALLOC_CHUNK 1000000000 (JERR_WIDTH_OVERFLOW 0x38), (1000000000-12)/rowsize rows per chunk, alloc_small for the pointer array +00a9d620 default_decompress_parms libjpeg(-turbo) jdapimin.c: switch on num_components (+0x24): 1 GRAYSCALE, 3 JFIF/Adobe transform, 4 CMYK/YCCK (JWRN_ADOBE_XFORM 0x74), sets jpeg_color_space (+0x28) / out_color_space (+0x2c); from 00a653f3 +00a95de0 deflate_stored zlib deflate.c (1.2.x) deflate_stored(s, flush): max_block_size = min(0xffff, pending_buf_size-5), fill_window (FUN_00a95c50) when lookahead <= 1, _tr_flush_block (FUN_00aaeeb0) with last = flush==Z_FINISH(4) +00a6b1a0 _glfwIsValidContextConfig GLFW 3.4 context.c: "Invalid context creation API 0x%08X", "Invalid client API 0x%08X", "Context creation APIs do not match between contexts", profile/forward-compat/robustness/release checks; from glfwCreateWindow 00a6a9b0 +009047f0 online_log_make_path ? builds (userDataDir if param_1) + "online_logs/desyncs/" + make_timestamp_string into ECX std::string; callers FUN_008ffc70, FUN_009032d0 +008c4710 luabridge::Namespace::Class::Class luabridge beginClass ctor for "PillConfigList"; from lua_register_PillConfigList +008c3ab0 luabridge::Namespace::Class::Class luabridge beginClass ctor for "RoomConfigSpawns"; from lua_register_RoomConfigSpawns +008a6760 luabridge::Namespace::Class::Class luabridge class ctor for "PathFinder"; from FUN_00877660 +008a5b00 luabridge::Namespace::Class::Class luabridge class ctor for "TearParams"; from FUN_0087b130 +008a4ea0 luabridge::Namespace::Class::Class luabridge class ctor for "ActiveItemDesc"; from FUN_0087d2a0 +008a19d0 luabridge::Namespace::Class::Class luabridge class ctor, name DAT_00b734f0 = "Room"; from FUN_0088e9c0 +008a0d70 luabridge::Namespace::Class::Class luabridge class ctor, name DAT_00b6b338 = "HUD"; from FUN_00893a20 +00ac3bb0 select_colors libjpeg(-turbo) jquant2.c: alloc_small boxlist, box[0] = c0 0..31, c1 0..63, c2 0..31, update_box (FUN_00ac35e0), median_cut (FUN_00ac39d0), compute_color per box; from finish_pass1 FUN_00ac4950 +0085cad0 luabridge::CFunc::readOnlyError lua_CFunction pushed for setter-less properties (00896986.. push 0x85cad0): lua_tostring(upvalue) + "' is read-only" then luaL_error +00a66a20 image_convert_pixel_format ? (w, h, srcFmt, dstFmt) with ECX src / EDX dst: same format or same bytes-per-pixel (FUN_00a66370: fmt 0-2 ->1, 3-5 ->2, 6-7 ->3, 8-10 ->4) memcpy, else per-pair converters (6->7, 6->8 ...); callers FUN_00a66730 (alloc + convert) and FUN_00a667b0 (in-place) +00835620 input_config_save_xml_node ? from input_configs_save: allocates a rapidxml node (FUN_00416510(0x1c)) with "Name" attribute and "%s-%u" formatted values, appends children +00732a20 std::set::_Emplace std::set::find_node lower bound, insert when missing (max_size 0x7ffffff, operator_new node); via FUN_00731dd0 +00aed6a0 mi_find_page mimalloc page.c mi_find_page(heap, size, huge_alignment): size <= 0x10000 && no alignment -> bin (FUN_00aed620 _mi_bin), heap->pages[bin] first page, _mi_page_free_collect (FUN_00aed1f0), else mi_page_queue_find_free_ex (FUN_00aedb40); "allocation request is too large (%zu bytes)"; from _mi_malloc_generic FUN_00aed000 +00a51dc0 leaderboard_request_complete ? switch on the async op type (*param_1): 0/1 find ("Failed to get leaderboard '%s': %s", assigns a handle id from DAT_00c12934 under the service mutex), 2 download entries, upload score, attach UGC failures, then calls the stored callback (+8, userdata +0xc); callers are the Steam/EOS leaderboard result handlers 00a7df10/00a7e120/00a7e2b0/00a7e330 +004b0fe0 NpcHelper::gideon_spawn_stairs ? only caller NpcHelper::gideon_update_death 004b3610: at grid index ECX+0xba4 (checks 0..0x1bf, "SpawnGridEntity: Grid index invalid"), sets the crawlspace room (roomList+0x205 Data = RoomConfig::GetRandomRoom type 0x10 ROOM_DUNGEON) and spawns a GridEntity_Stairs (type 0x12, operator_new(0x154), GridEntity::Init) when the cell has no collision +00ad89f0 jpeg_idct_13x13 libjpeg-turbo jidctint.c: slot 13 of jddctmgr start_pass switch on DCT_scaled_size (jump table at 0xacb3bc, mov [ebp-4],0xad89f0); 8x13 int workspace, FIX(1.155388986)=0x24f9 +00ad7220 jpeg_idct_3x3 libjpeg-turbo: case 3 of jddctmgr start_pass DCT_scaled_size switch (jump table 0xacb3bc entry 3 -> acaeb5 mov [ebp-4],0xad7220) +00adae20 jpeg_idct_ifast libjpeg-turbo: case 8 of start_pass, dct_method==JDCT_IFAST(1) -> 0xadae20 (islow=0xad4820, float=0xadb2c0) +009b83a0 PauseScreen::render_my_stuff only caller PauseScreen::Render (0x9b73ac, ECX=this); renders layers MyStuff/StuffArrow1/StuffArrow2 of sprite +0x140/+0x2c, ModManager::RenderCustomCollectionItem, ItemConfig::GetCollectible per player item +009b7a20 PauseScreen::load_graphics called by graphics-reload helper FUN_00954710 (with Manager::load_fonts, AchievementOverlay::load_graphics) when g_game; loads gfx/ui/PauseScreen(.anm2|_small), Death Screen.anm2, PauseScreenStats.anm2, menu_mystuff.png into this+0x2c +00a64a50 ImagePng::load slot 14 of KAGE::Graphics::ImagePng vftable (0xb9ff84+0x38 = 0xb9ffbc; image_load_jpeg is the same slot of ImageJpg at 0xba0020); PNG sibling of image_load_jpeg: PNG signature compare, PLTE, 'Width too large for libpng', 'Failed to load image %s because the component depth is not 8-bit' (only user), ImageBase::set_size, image_premultiply_alpha +00a80010 _glfwCreateContextWGL GLFW 3.4 wgl_context.c: GetDC(window+0x2b4), glfw_choosePixelFormatWGL, SetPixelFormat, all 'WGL: Failed to create OpenGL context' etc. strings +009b8990 PauseScreen::render_lobby_buttons only caller PauseScreen::Render (0x9b72d9); layers InviteButton/KickButton/PasswordButton/PasswordPos, lobby_password_render, NetplayManager::IsIdxLocalPlayer, render_input_button_icon +005b30b0 alabaster_box_timer_callback callback passed to Entity_Effect::CreateTimer (mov ecx,0x5b30b0 at 0x5c3383) in Entity_Player::UseActiveItem case COLLECTIBLE_ALABASTER_BOX; uses collectible RNG 0x249 (585), spawns soul/black hearts 5.10 + item from pool 3/4 per devil deals, Book of Virtues (584) adds wisp 585, 'Happy' +00ad42e0 huft_build zlib 1.1.x inftrees.c: counts code lengths into 16 bins, returns Z_DATA_ERROR(-3) on oversubscribed/incomplete, MANY=1440 (0x5a0) hufts limit; called 3x from FUN_00abd900 (inflate_trees_bits/dynamic strings 'oversubscribed literal/length tree') +00acae00 jddctmgr_start_pass libjpeg-turbo jddctmgr.c start_pass: stored as idct->pub.start_pass (mov [eax],0xacae00 at 0xab6124), switch on DCT_scaled_size 1..16 picking jpeg_idct_NxN, dct_method switch for 8 (islow/ifast/float), float AAN scale doubles +00ab2140 png_handle_zTXt libpng pngrutil.c: 'Missing IHDR before zTXt', 'Zero length zTXt chunk', 'Unknown zTXt compression type %d', png_crc_read/png_crc_finish +009e4af0 RebirthSaveData::repair_counters ? thiscall, only call at end of the Rebirth save parser (0x9e4613, reached from PersistentGameData::TryImportRebirthLocalSave); for each set flag/count (+0x3c, +0xf0.., +0x148..+0x150) clamps a counter in +0x454..+0x498 to >=1 and +0x454 to >=1 +00ad0120 local_book_besterror libvorbis res0.c: book fields dim/minval/delta/quantvals, ze=qv>>1; only caller _encodepart (0xad0520) which then oggpack_write(codelist[entry], lengthlist[entry]) +00adb9c0 inflate_fast zlib 1.1.x inffast.c inflate_fast(bl,bd,tl,td,s,z): inflate_mask table 0xb5f660 indexed by bl(ECX)/bd(EDX), 'invalid distance code','invalid literal/length code' +0063b8b0 Entity_Familiar::RemoveFromPlayer thiscall on familiar: calls own vtable slot 10 (+0x28, Entity_Familiar::Remove), switch on variant (+0x2c) removing the granting collectible/trinket/null effect from player (+0x410), EvaluateItems; called in Entity_Player::UseActiveItem COLLECTIBLE_SACRIFICIAL_ALTAR loop; REPENTOGON EntityFamiliar::RemoveFromPlayer +00a8b7d0 TheoraVideoManager::requestWork libtheoraplayer: reads g_theoraVideoManager, locks its mutex (+0x28), iterates clips (+0x10..+0x14) scoring by queued frames/priority into vector<20byte>, returns chosen clip; only caller FUN_00aaad10 worker-thread loop (Sleep(100) when null) +00ae0200 loop_filter_h libtheora state.c: 8 rows, f=_bv[(p[-2]-p[1]+3*(p[0]-p[-1])+4)>>3], clamp p[-1]+f / p[0]-f, step ystride; called twice from FUN_00ae1b60 (oc_state_loop_filter_frag_rows) +00ac5840 start_pass_huff_decoder libjpeg jdhuff.c (progressive+sequential merged): stored as entropy->pub.start_pass (mov [eax],0xac5840 at 0xab61c4); checks Ss/Se(0x3f)/Ah/Al (Al>13 -> JERR_BAD_PROGRESSION 0x11), WARNMS JWRN_NOT_SEQUENTIAL when !progressive_mode(+0xc9), picks decode_mcu +00a588c0 KAGE::Network::Multiplayer::ConnectionBase::Update ? slot 1 of the ConnectionBase/ConnectionLocalhost/ConnectionSteam/ConnectionEOS vftables (0xb9ed74, 0xba83a0/b8/d0; slot 0 0xa586f0 is the deleting dtor); periodically sends 'ping' with GetTimeNs ms, walks peer set (+0x2c) and pending list (+0x38) for timeouts +00aaf9d0 inflate zlib 1.1.x inflate(): 14-mode state machine, 'incorrect header check','unknown compression method','invalid window size','need dictionary','incorrect data check', calls inflate_blocks (0xabd900); used by libpng png_read_row/png_handle_zTXt/0xab3120 +009d98f0 Menu_Save::select_slot thiscall Menu_Save, called 3x by Menu_Save::Update (0x9d9d04/12/20, one per slot); Manager::SetSaveSlot(param), if save not loaded shows GenericPrompt (+0x6a4) #SAVE_DATA_CORRUPTED_HAS_BACKUP/NO_BACKUP lines, else lobby join / MenuManager::push_menu +004bcc70 NpcHelper::horny_boys_spawn_bomb called twice by NpcAI::ENTITY_HORNY_BOYS (0x4bd4c9, 0x4bdc52) with npc in ECX; WeightedOutcomePicker over bomb variants 6/8/16, Game::Spawn(4,variant,npc+0x33c,...,spawner=npc), sets bomb spawner multiset ref +00a9db50 _glfwSelectPlatform GLFW 3.4 platform.c: 'Invalid platform ID 0x%%08X', 'The requested platform is not supported' via _glfwInputError; only caller FUN_00a6a420 (glfwInit) +00908070 netplay_lost_connection_callback ? pushed as popup callback (push 0x908070 at 0x90e748) by NetplayManager::check_connection for the LOST_CONNECTION_TO_SERVER popup; fades game out (fadeSpeed 0.08), netplay_leave_lobby, NetplayManager::reset, resets Menu_Character/Challenge/SpecialSeeds, ModManager::Reset +00707ad0 r_key_timer_callback reached only via thunk 0x5c7ee0, which Entity_Player::UseActiveItem passes to Entity_Effect::CreateTimer (mov ecx,0x5c7ee0 at 0x5c3855) in case COLLECTIBLE_R_KEY (use_dispatch.tsv 005c383b); Game::ResetState, reseeds, Level::SetNextStage/Init, Game::SaveBackwardsStage, StartRoomTransition +00ad3220 floor1_inverse1 libvorbis floor1.c: in vorbis_func_floor table (.rdata 0xb5e348, next to 0xad3530 inverse2); oggpack_read(1), _vorbis_block_alloc(posts), fit_value[0..1]=oggpack_read(ilog(look->quant_q-1)) with quant_q at look+0x50c +00a76c90 eos_join_lobby_callback ? EOS completion callback pushed (push 0xa76c90 at 0xa76787) with the EOS_Lobby_JoinLobby call through 0xb18044 in FUN_00a76650; 'Failed to join EOS lobby: %%s' with EOS_EResult_ToString, dynamic_cast to ServiceEOS, reads user_id/user_name member attributes +009088e0 netplay_lobby_join_requested_callback ? callback registered twice by SaveSlotManager::constructor (push 0x9088e0 at 0x9069eb/0x906ab7); takes a ConstLobby, online_check_game_version, online_lobby_is_user_banned, show_beta_disclaimer_popup, closes popup and queues ##GAME###Online/CONNECTING_TO_SERVER +00ae7b70 mi_option_init mimalloc options.c: builds 'mimalloc_'+name, reads env var, parses '1;TRUE;YES;ON'/'0;FALSE;NO;OFF', warns 'environment option mimalloc_%%s has an invalid value' / 'is deprecated'; called by all mi_option_get variants +007c97f0 Entity_Player::apply_victory_lap_penalty thiscall Entity_Player, only caller Game::NextVictoryLap (0x6f7cac); branches on g_game->_victoryLap==2 / >=3: caps max hearts to 6 (AddMaxHearts), removes collectibles, RemoveSkinCostume, EvaluateItems, UpdateCanShoot +00a19df0 KAGE_Graphics::create_window ? only caller FUN_00a18e90 (graphics init called by KAGE::System::Init, compiles KAGE_ColorShader etc.); glfwWindowHint calls, glfwCreateWindow -> this+0xbc, SetWindowLong icon, glfwMakeContextCurrent, 'Failed to create OpenGL window / context', 'OpenGL version %%s' +00917030 write_new_game_to_stream sibling of write_game_state_to_stream: FUN_00916f70 picks it when no game/stage 0/force; writes msg byte 4, lobby member count + per-member (id 8 bytes, 4,1,4), seed via Seeds::String2Seed or Random, seed effects, Steam user id +004fd280 quakey_timer_callback callback passed to Entity_Effect::CreateTimer (mov ecx,0x4fd280 at 0x4fd8af, 12 repeats) by NpcAI::ENTITY_QUAKEY; timer effect at offset (12-count)/12*150 along dir +0x334, Room::GetClampedPositionImpl, Game::SpawnEx(9,9,...) projectiles with apply_spawn_flags +00a9c1a0 get_dqt libjpeg jdmarker.c: reads 2-byte length from cinfo->src (next_input_byte/bytes_in_buffer/fill_input_buffer), JTRC_DQT(0x53), JERR_DQT_INDEX(0x20), allocs quant_tbl_ptrs[n] at cinfo+0x90, natural-order loop, JTRC_QUANTVALS(0x5f) +00a62b10 VideoPlayer::render thiscall, clip at this+4; only caller 0x95fcd0 = slot 5 of Cutscene::VideoPart vftable (0xb7c9f4); locks clip mutex, drops frames whose time passed (+0x9c dropped count), glBindTexture(this+8 +0x58) and draws the frame; neighbour of VideoPlayer::unload +00ad0e70 res2_class libvorbis res0.c: slot 5 (class) of residue2_exportbundle 0xb5f240 (_residue_P[2] at 0xb4f7bc; res0 bundle 0xb5f220 has NULL there), 5 args (vb,vl,in,nonzero,ch), vectorised nonzero count then _2class inlined +00aea2a0 chacha_block mimalloc random.c: copies 16-word ctx->input, 10 double rounds (local=10), adds input back, bumps 64-bit counter; callers 0xaea1b0/0xaea220 (chacha_next32 / mi_random_split region) +00a97100 png_read_end libpng pngread.c: called by image_load_png after rows (0xa65015); png_crc_finish, chunk loop dispatching png_handle_* (cHRM 0xab0830, zTXt 0xab2140 ...), 'Too many IDAT's found' +00a94c80 png_do_write_transformations libpng pngwtran.c: only caller FUN_00a63ba0 (png_write_row: png_write_finish_row, png_write_find_filter); transformation flags at +0x68: USER_TRANSFORM 0x100000 callback +0x58, FILLER 0x8000 png_do_strip_filler, PACKSWAP 0x10000, PACK 4, ..., png_do_bgr +00a98e6a png_do_read_filler libpng pngrtran.c: tail of the function entered at 0xa98e60 (10-byte prologue, called from 0xa98932 inside the read-transformations routine); between png_do_read_invert_alpha and png_do_gray_to_rgb; inserts filler byte per pixel, 8/16-bit, PNG_FLAG_FILLER_AFTER (0x80) branch +008cd3f0 Menu_OnlineMode::update_seed_input thiscall, only caller Menu_OnlineMode::Update (0x8cc097); polls keyboard via input vtable +0x74 for keys A-Z and 0-9 (GLFW codes 0x41.., 0x30..), backspace 0x103, appends into g_manager->_lobbySettings._seed (max 9 chars, space after 4), toggles _isHotkeysEnabled +00a83d20 _glfwCreateContextOSMesa GLFW 3.4 osmesa_context.c: 'OSMesa: OpenGL ES is not available on OSMesa', 'OSMesa: OpenGL profiles unavailable', 'OSMesa: Failed to create context', OSMesaCreateContextExt(0x1908 GL_RGBA, depth, stencil, accum) +00ab7c00 vorbis_book_decodev_set libvorbis codebook.c: zero-fills n floats when book->used_entries (ECX[2]) < 1, else decode_packed_entry_number (0xab7010) and copies valuelist[entry*dim]; only caller FUN_00ace450 (floor0_inverse1) +00856ba0 std::copy<104byte> element-wise copy-assign loop over 0x68-byte elements (std::string::assign at +0, vector reserve_clear+memmove at +0x18..); called by std::vector<104byte>::assign (0x8569a0, from InfoDisplayEntry::operator_assign) +008a4a20 luabridge::Namespace::Class::Class luabridge deriveClass ctor (has __parent): FUN_0087fdb0 thunk called by LuaEngine::RegisterAPI with "EntityTear" (parent key DAT_00c8297b); creates const/class/static tables, __gc closure FUN_008c2f90 +008a3be0 luabridge::Namespace::Class::Class luabridge deriveClass ctor (__parent): FUN_00886a80 thunk called by LuaEngine::RegisterAPI with "EntityNPC"; __gc FUN_008c2ed0 +008a2980 luabridge::Namespace::Class::Class luabridge deriveClass ctor (__parent): FUN_0088c940 thunk called by LuaEngine::RegisterAPI with "GridEntityPit" (parent key DAT_00c82979); __gc FUN_008c2dd0 +008c4500 luabridge::Namespace::Class>::Class ? luabridge beginClass ctor for "ItemConfigList" called by lua_register_ItemConfigList inside the CppContainer/ArrayProxy namespace (same template as 0x8c38a0); __gc FUN_008c5c70 +008c38a0 luabridge::Namespace::Class>::Class luabridge beginClass ctor: lua_register_RoomDescriptor_array opens CppContainer.ArrayProxy then calls it, pushes name "RoomDescriptor", __class/__const; __gc FUN_008c5bb0 +008a6550 luabridge::Namespace::Class::Class luabridge beginClass ctor: FUN_00877ae0 thunk called by LuaEngine::RegisterAPI in namespace "ItemConfig" with name DAT_00b70a1c = "Card"; followed by AchievementID/Description/HudAnim/GreedModeAllowed properties; __gc FUN_008c3130 +008a58f0 luabridge::Namespace::Class::Class luabridge beginClass ctor: FUN_0087b730 thunk called by LuaEngine::RegisterAPI with "QueueItemData"; __gc FUN_008c3070 +008a4c80 luabridge::Namespace::Class::Class luabridge beginClass ctor: FUN_0087d5b0 thunk called by LuaEngine::RegisterAPI with "Entity"; __gc FUN_008c2fb0 +008a17c0 luabridge::Namespace::Class::Class luabridge beginClass ctor: FUN_0088f2a0 thunk called by LuaEngine::RegisterAPI with "RoomDescriptor"; __gc FUN_008c2cd0 +008a0b60 luabridge::Namespace::Class::Class luabridge beginClass ctor: FUN_00893c70 thunk called by LuaEngine::RegisterAPI with DAT_00b74634 = "Game", followed by Update/Render/IsPaused/SpawnEntityDesc...; __gc FUN_008c2c10 +00a6ac80 glfwWindowHint GLFW 3.4 window.c: switch on hint (ECX) 0x20001.. storing _glfw.hints.window/framebuffer/context, 'Invalid window hint 0x%%08X'; called by KAGE window creation 0xa19df0 +00a5e660 _glfwPollEventsWin32 GLFW 3.4 win32_window.c: PeekMessageW loop, WM_QUIT (0x12) sets shouldClose on every window and calls close callback; key-release fixups (input.c asserts); stored in platform table (mov [ebp-0x28],0xa5e660 at 0xa81298), tail-called by glfwPollEvents 0xa5e8c6 +0092cbe0 std::_Sort_unchecked<4byte> MSVC std::sort core: loop while range > 0x80 bytes (32 x 4-byte, _ISORT_MAX), heap-sort fallback when ideal<=0, partitions with 0x8fd030, recurses on itself (0x92cc44/56), insertion sort tail with memmove; predicate in param_2; called by FUN_00926510 +008fd030 std::_Partition_by_median_guess_unchecked<4byte> MSVC std::sort partition: Tukey ninther when count > 40 (0x28) via FUN_008fd340 (_Med3), then fat partition; callers std::_Sort_unchecked 0x92cbe0 and 0x8fcc90 +008b72b0 luabridge::CFunc::CallMember::f lua_CFunction pushed as closure (push 0x8b72b0 at 0x893da2) with upvalue member pointer 0x428b20 (Game::Spawn, lua binding Game:Spawn) and name DAT_00b1de50 'Spawn'; luabridge::Userdata::getClass for self, reads args, pushes result +00a78370 KAGE::Network::Multiplayer::ConnectionBase::send_message ? thiscall, callers multiplayer_send_message and ConnectionBase::Update(0xa588c0); 'Invalid mutex object specified', if reliable and connection_map_contains(peer) stores packet with sequence (+0x28)++ in resend map, then sends chunks via vtable +0x14 +00a7c760 KAGE::Sound::StreamSourceOgg::open ? slot 3 of KAGE::Sound::StreamSourceOgg vftable (0xba2b5c, RTTI col 0xbb1fd8); locks this+0xa0, FileSystem::ResolvePath/open_archive_file/KAGE::Filesys::File::open on param path, tracked_alloc buffers +00acd000 I422ToRGBARow_C libyuv row_common.cc: default row fn of I420ToRGBAMatrix (0xab6a80, overridden by SSSE3 0x40 / AVX2 0x400 CPU-flag variants); per 2 pixels writes A=0xff at [0] then B,G,R via YuvPixel (0xaccab0) with yuvconstants offsets 0x20/0x21/0x41/0x80/0xa0/0xc0 +00ae5ff0 mi_reserve_huge_os_pages_at_ex mimalloc arena.c: (pages, numa_node, timeout_msecs, exclusive, arena_id*), 'failed to reserve %%zu GiB huge pages', 'numa node %%i: reserved %%zu GiB huge pages (of the %%zu GiB requested)'; callers mi_reserve_huge_os_pages_at (0xae5fd0) and _interleave (0xae6230) +00accdd0 I422ToRGB24Row_C libyuv row_common.cc: same YuvPixel (0xaccab0)/yuvconstants pattern as I422ToRGBARow_C but writes 3 bytes per pixel (param_4[0..5] per pair); row fn pointer of the matrix converter at 0xab6bcf/0xab6c45 +00add260 oc_dec_init libtheora decode.c: oc_state_init(dec,info,3) (0xae19b0), oc_huff_trees_copy(dec+0xc9f8, setup) and oc_state_clear (0xae1100) on failure; only caller FUN_00ade980 (th_decode_alloc) +00ab7e70 vorbis_book_decodevv_add libvorbis codebook.c: (book, a**, offset, ch, opb, n) loop i=offset/ch .. (offset+n)/ch, decode_packed_entry_number (0xab7010), skips when used_entries (ECX[2]) <= 0; only caller 0xad11e0 = res2_inverse (slot 7 of residue2_exportbundle 0xb5f25c) +00a93640 png_do_write_interlace libpng pngwutil.c: returns if pass > 5, png_pass_start/inc tables (0xb46860), per bit-depth (1/2/4/other) packing then memcpy; only caller png_write_row (0xa63ba0) +008bf700 luabridge::CFunc::setProperty lua __propset closure pushed by luabridge::Namespace::Class::addData_Pathfinder (push 0x8bf700 at 0x887a69, upvalue member offset 0x414, name 'Pathfinder'); getClass self, copies the 0x700-byte value +00a289d0 KAGE::Network::MultiplayerManager::dynamic_initializer ? static initializer called from CRT init stub 0x4068c0: sets MultiplayerManagerBase vftable at 0xc79a50, g_multiplayerService=0, builds a ConstLobby/Lobby (SmartPointer) at 0xc79a70 +00a65a60 ImageBmp::load slot 14 of KAGE::Graphics::ImageBmp vftable (0xba004c+0x38 = 0xba0084, same slot as ImagePng::load/image_load_jpeg); 'header type is invalid', 'compressed bitmaps are not supported', 'unsupported number of bits per pixel', ImageBase::set_size, image_premultiply_alpha +00abf3c0 h2v2_merged_upsample libjpeg jdmerge.c: cinfo->upsample (+0x1b0) Cr_r/Cb_b/Cr_g/Cb_g tables at +0x18..+0x24, sample_range_limit (+0x124), two Y rows -> two output rows, output_width (+0x5c)/2 pairs; only caller FUN_00abfd50 (merged_2v_upsample) +0056fcf0 NpcHelper::mother_render ECX=npc; only caller Entity_NPC::Render case 0x390 (912 ENTITY_MOTHER); for variant 0 maps pos into wall/background space ((pos-(60,140))*0.65 + (screen-(338,182))/2 * g_displayPixelRatio), copies color to the parent, Sprite::RenderLayer, then Entity::Render +0095eb60 cutscene_render_skip_vote_count ? render callback stored by Cutscene::Show (mov [edx+0x4abb4],0x95eb60 at 0x95e8dc); counts lobby members (/0x14) vs votes (+0x83c/+0x840), sprintf string_table_translate('#Online/VOTE_COUNT_STRING'), Font::DrawString +007de7f0 std::set::_Emplace MSVC _Tree insert-unique: walks tree comparing node+0x10 int, returns {node,false} if found, else operator_new(0x14) node (max_size 0xccccccc); wrapper 0x7dd660 used by Entity_Player::RecomputeWispCollectibles +0041ce30 std::map::_Try_emplace MSVC _Tree try_emplace: key 3 ints compared lexicographically (node+0x10..0x18), value 16 bytes zeroed (node 0x2c, max_size 0x5d1745d); operator[] wrapper 0x41c6f0 returns node+0x1c, used by EntityList::QuerySublist cache +009c6e30 std::map::_Try_emplace MSVC _Tree try_emplace: std::map::_Find_lower_bound + string_compare, operator_new(0x50) node (max_size 0x3333333); operator[] wrapper 0x9c6e10 returns node+0x28, used by load_preloads_xml +00ad9150 jpeg_idct_14x14 libjpeg(-turbo) IDCT method table in jinit_inverse_dct/start_pass (switch at 00acae8c): stored at acafb7 between jpeg_idct_13x13 (00ad89f0) and jpeg_idct_15x15 (00ad9840); 5 args (cinfo, compptr, coef_block, output_buf, output_col), workspace int[8*14] +00ae53b0 oc_state_loop_filter_frag_rows_mmx libtheora oc_state_accel_init_x86 (00ae3150): opt_vtable +0x60 after state_frag_recon(+0x58)/loop_filter_init(+0x5c), before restore_fpu(+0x64); 6 args (_state,_bv,_refi,_pli,_fragy0,_fragy_end), MMX code +00927d20 PersistentGameData::backfill_cutscene_counters ? ECX=PersistentGameData: raises _cutsceneCounters[2..] (+0xea8..+0xf04) to at least 1 when the matching _eventCounters (+0x2c0.., +0x2e8/+0x2f0/+0x31c/+0x320/+0x324/+0x534/+0x5a8) or flags +0xa68/+0xa6c are set, so already-earned cutscenes show in the cutscene menu; only caller FUN_00926cf0 ("Loading PersistentGameData from Steam Cloud") +00a542c0 KAGE::Network::MultiplayerManager::request_lobby_list MultiplayerManager vtable slot 4 (vftable 00b9ebb0); dynamic_cast to ServiceLocalhost -> ServiceLocalhost::request_lobby_list 00a74a40, else ISteamMatchmaking AddRequestLobbyListResultCountFilter(+0x28, "Steam has a maximum of 50 lobby results"), FilterSlotsAvailable(+0x20), DistanceFilter(+0x24), "String filter value index out of bounds"; stores result callback/ctx at +0x128/+0x12c; callers Menu_OnlineLobbyList right after Multiplayer::set_service_provider +00926510 save_backup_find_latest ? no ECX; lists "%s/save_backups/" (FUN_00a163f0), sorts names, keeps files whose name matches PersistentGameData::get_save_file_name after an 8-digit timestamp prefix, PersistentGameData::Load's each into a stack copy and returns the newest timestamp that loads; caller FUN_009d98f0 (save menu) +008d42a0 PauseScreen::update_pocket_item_display ? ECX=PauseScreen (same as caller PauseScreen::update_items_menu): player = vector +0x18[+0x24], pocket slot +0x2c clamped 0..3, reads _pocketSlots, ItemPool::GetPillEffect for pills, EntityConfig::GetEntity(5,0x46/0x12c,..) anm2 into ANM2 +0x64, gfx/ui/ui_cardspills.anm2 CardFronts, PocketArrowUp/Down layers +008d4040 PauseScreen::update_trinket_display ? ECX=PauseScreen (caller PauseScreen::update_items_menu, mov ecx,edi): trinket slot +0x28 (<2) of player +0x16c0[slot], looks up InfoDisplay trinket entry into +0x4c, StatsPanel::set, ItemConfig _trinkets gfx via Manager::LoadImage +0099a300 GameOver::render_collectible_icon ECX = Game+0x1d520 (= Game::_gameOver, db/fields.tsv) from Entity_Familiar::Render (625ebe lea ecx,[ecx+0x1d520]); param_1 collectible id (<0x2dd), lazy-loads gfx/ui/Death Screen.anm2 "Diary" into ANM2 +8, copies the item texture into layer 6 and Sprite::RenderLayer(6) at pos/scale/color +00ac1cf0 decode_mcu_AC_refine libjpeg progressive Huffman start_pass (00ac15db): Ah!=0 && AC band -> 0x00ac1cf0 stored to entropy->pub.decode_mcu (Ah!=0 && DC -> 00ac1c00 DC_refine); largest of the four (1221 bytes) +00ac19c0 decode_mcu_AC_first libjpeg progressive Huffman start_pass (00ac15e8): Ah==0 && AC band -> 0x00ac19c0 (Ah==0 && DC -> 00ac1750 decode_mcu_DC_first) +004e0930 NpcHelper::gutted_fatty_burst_projectiles ? Entity_Effect::CreateTimer callback (mov ecx,0x4e0930 / call 0x60af00 inside NpcAI::ENTITY_GUTTED_FATTY 004e0dd0, type 831): 2+2 Game::SpawnEx(9 projectile) at the timer's position with random angle/speed, FallingSpeed/Accel randomised, Entity_Projectile::apply_spawn_flags +00a722c0 KAGE::Network::MultiplayerManager::update_lobby_members ? first call of lobby_process_user_commands (MultiplayerManager vtable slot 3): if lobby +0x88 valid, refreshes UserProfile::find_or_create/load_steam_avatar for ids +0x90, Lobby::get_members, members missing from the lobby list -> Multiplayer::handle_member_status(..,2), then posts CommandThread commands 3 and 6 (ctx +0x9c/+0xa0) +00824350 Room::init_rain ECX=Room: zeroes _numRainSpawners (+0x7454), clears _isRainStopped (+0x745c); when _waterAmount (+0x7240)>0 and stage 27/28 (Downpour/Dross) or backdrop 0x2c, picks 0..4 spawners from the room seed (RNG % 1000) and fills the spawner array +0x73f4 with random positions/velocities, then 10x Room::update_ambient_spawns (db/fields.tsv already cites it as "rain init") +00aaf210 compress_block zlib trees.c: emits l_buf(+0x1690)/d_buf(+0x169c) symbols using bi_buf(+0x16b0)/bi_valid(+0x16b4), _length_code table DAT_00b4fa00; both callers inside _tr_flush_block 00aaeeb0 +00ac2980 decode_mcu_fast libjpeg-turbo jdhuff.c: only caller decode_mcu 00ac3450 (installed at ab6353 as pub.decode_mcu) whose slow path is decode_mcu_slow 00ac2da0; fastcall cinfo/MCU_data, bit buffer from entropy +0x14/+0x18 +00a78a10 NetworkManager::receive_packet ? called by ServiceSteam slot 2 (00a75280) right after ISteamNetworking::ReadP2PPacket (+8) and by ServiceEOS slot 2 (00a76180): (sender u64, buffer, size); finds the peer in the map +8 under mutex +0x10, creates a connection for unknown senders, else consolidates the packet (FUN_00a58cb0 "ackn") and appends messages to list +0x30 under mutex +0x38 (the list NetworkManager::receive_message 00a78770 reads) +00a88170 tdefl_compress_lz_codes miniz (KAGE\Source\Core\External\miniz.cpp) asserts "d->m_huff_code_sizes[0][lit]", "bits <= ((1U << len) - 1U)", "d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]]"; tail-jumped from tdefl_compress_block 00a88560 +0042a8b0 DeathmatchTypeBase::Update DeathmatchTypeBase vtable slot 4 (shared by all DeathmatchType* except Normal, whose slot 4 0042d850 wraps it): sudden-death countdown this[2], every 30 frames Game::SpawnEx(819 ENTITY_FLY_BOMB) at Room::GetRandomPosition and every 4th wave GridEntity_Spikes at free tiles away from players; this[10] timer calls slot 32 (spawn_random_pickup) every 5..13 s +0042c170 DeathmatchTypeBase::spawn_random_pickup DeathmatchType* vtable slot 32 (all 12 classes); counts room pickups (variant!=100), caps at 4 (9 in big room shapes 8..12), then Room::FindFreePickupSpawnPosition around room centre and Game::SpawnEx(5, variant ..) ; called through slot 0x80 by DeathmatchTypeBase::Update +006a1a40 EntityConfig_Player::EntityConfig_Player move-ctor of the 0x148-byte EntityConfig_Player (int id then std::strings moved field by field, source reset to empty/cap 15); 3 callers are uninitialized-move loops (0069fb60 stride 0x148) under EntityConfig::load_players_xml's vector growth +00ab7220 vorbis_staticbook_unpack libvorbis codebook.c: checks sync 0x564342 ("BCV"), dim/entries ilog sum < 24, ordered/sparse length lists, maptype 1/2 quantvals (_book_maptype1_quantvals 00ab8230); caller _vorbis_unpack_books +008e64f0 online_quick_match_popup_callback ? popup callback passed to FontDrawParams::FontDrawParams (popup ctor) by 008e5420 and itself; button ids 0xDEADBEEF (cancel), 0x1212 CREATE_NEW_LOBBY -> MenuManager::push_menu(0x15), 0x2323 JOIN_LOBBY_IN_PROGRESS -> online_lobby_join; builds "##GAME###Online/ONLY_FOUND_JOIN_IN_PROGRESS"/"NO_LOBBIES_FOUND" popups from the found lobby's "current_stage"; ctx = Menu_Online (+0x23c popup, +0x244 lobby, +0x24c flag) +00a90650 theoraplayer::VideoClip::VideoClip sets theoraplayer::VideoClip::vftable, FrameQueue::setSize, throws _Exception "Invalid output mode: FORMAT_UNDEFINED for video: " (src VideoClip.cpp); only caller is the VideoClip_Theora ctor 00a8c700 +00a921b0 png_check_keyword libpng: "zero length keyword", "invalid keyword character 0x%02X", "leading/trailing spaces removed from keyword", "keyword length must be 1 - 79 characters"; callers png_write_zTXt and neighbouring png_write_tEXt/iTXt +008d19a0 PauseScreen::build_player_user_list ? ECX=PauseScreen (caller PauseScreen::update_player_info_page): clears u64 vector +0x22c/+0x230, pushes the user id of each main player's netplay device (NetManager::GetDeviceById loop, "Invalid lobby user index"), then appends lobby members not yet listed (NetplayManager::is_user_in_player_list), loading their UserProfile/steam avatar +00a81980 _glfwPollMonitorsWin32 GLFW 3.4 win32_monitor.c: copies _glfw.monitors (g_glfwMonitorCount, "Allocation size overflow"), EnumDisplayDevices adapters/displays (DISPLAY_DEVICE.DeviceName memset 0x344), _glfwInputMonitor; callers _glfwInitWin32 and helperWindowProc (WM_DISPLAYCHANGE) +00a812f0 _glfwInitWin32 GLFW 3.4: pointer stored in the _GLFWplatform table built by _glfwConnectWin32 (00a81050, mov [ebp-0x11c],0xa812f0); loadLibraries/createKeyTables, DPI awareness by _glfwIsWindows10BuildOrGreaterWin32/_glfwIsWindowsVersionOrGreaterWin32, helper window "GLFW3 Helper"/"GLFW message window", then _glfwPollMonitorsWin32 +00a81cd0 _glfwSetVideoModeWin32 GLFW 3.4 win32_monitor.c: "Win32: Failed to set video mode: %s" with ChangeDisplaySettingsEx result strings ("The system uses DualView", "Graphics mode not supported"...), inlined _glfwChooseVideoMode over modes +0x90/count +0x94; caller acquireMonitor +00a96980 png_read_info libpng: signature check ("Not a PNG file", "PNG file corrupted by ASCII conversion"), chunk loop with "Missing IHDR before IDAT"/"Missing PLTE before IDAT", dispatches png_handle_* (00ab0xxx..00ab2xxx incl. png_handle_pCAL 00ab1bc0); caller image loader 00a64a50 +00ab1bc0 png_handle_pCAL libpng pngrutil.c: "Missing IHDR before pCAL", "Invalid pCAL after IDAT", "Duplicate pCAL chunk", "Invalid pCAL data", "Unrecognized equation type for pCAL chunk"; callers png_read_info and png_read_end +00a59270 KAGE::Network::Multiplayer::ConnectionBase::handle_internal_message ConnectionBase vtable slot 4 (shared by ConnectionLocalhost/Steam/EOS): "This function should only be called on consolidated messages", answers "ping" with "pong" (FUN_00a2a030 send), on "pong" computes RTT from GetTimeNs into the peer profile, handles "ackn" +00a6c650 KAGE::Input::InputDeviceKeyboard::update ? InputDeviceKeyboard vtable slot 30 (InputDeviceGamepad slot 30 = 00a22940): copies current key-state block (0x57 dwords) to previous, polls the GLFW window (GLFW_3.4 input.c asserts "window != NULL", cursor mode/position, glfw_get_window_size) +00a22940 KAGE::Input::InputDeviceGamepad::update ? InputDeviceGamepad vtable slot 30 (keyboard slot 30 = 00a6c650): finds its device in g_gamepadDevices by id (this+0x370), maps the 29 button bindings (this+0x388 pairs) and ORs pressed buttons into the 64-bit mask this+0x20/+0x24 +00aea6b0 mi_random_init_ex mimalloc random.c: BCryptGenRandom for the 32-byte key, on failure "unable to use secure randomness\n" and weak seed with _mi_random_shuffle constants 0x7feb352d/0x846ca68b, then chacha init; 3 callers = _mi_random_init / _mi_random_init_weak / _mi_random_reinit_if_weak (00aea170/00aea190/00aea200) +00ab82e0 _book_unquantize libvorbis sharedbook.c: _float32_unpack of q_min/q_delta (ldexp(mant, exp-788)), maptype 1 via _book_maptype1_quantvals 00ab8230, maptype 2 list, optional sparsemap; caller vorbis_book_init_decode +00913e70 std::map::erase equal_range on a u64 key (lower/upper bound loops on node +0x10/+0x14) then std_tree_extract + destroy (std::map::destroy_subtree) per node; 2 callers in NetplayManager FUN_0090c7e0 +004bcfd0 NpcHelper::horny_boys_render ? Entity_NPC::Render case 0x398 (920 ENTITY_HORNY_BOYS) calls it with the NPC in ECX; parallax screen placement ((pos-60/140)*0.65 + (g_screenWidth-338)/2), renders layers 3..5 for linked segment entities from the deque +0xbf4 via AnimationState::Render +009032d0 NetDesyncHandler::save_desync_files ? only caller NetDesyncHandler::Update: writes desync_log.txt (g_logFile flush), "Saving screenshot...", desync_shared_save.dat via SaveDataManager::open_file_write; next to write_desync_dump 009036b0 +00a74a40 KAGE::Network::Multiplayer::ServiceLocalhost::request_lobby_list called by MultiplayerManager::request_lobby_list 00a542c0 with ECX = __RTDynamicCast(service, ServiceBase -> ServiceLocalhost); scans filters for "process_name", enumerates local lobbies ("lhcj"), returns ConstLobby results to the callback +00a61f20 theoraplayer::init "Initializing theoraplayer with theora support." through the log fn PTR_00c5aa7c, creates g_theoraVideoManager = TheoraVideoManager::TheoraVideoManager, registers format "Theora" (0x34-byte entry) and VideoClip_Theora factory (FUN_00a8c430) +008e3580 std::list::_Merge_same MSVC list merge of two sorted runs [first,mid) [mid,last) with predicate param_2 on shared_ptr copies (std::shared_ptr::assign per compare), splicing nodes; only caller 008e34e0 (list::_Sort) next to Menu_Mods +008fcc90 std::_Sort_unchecked MSVC introsort on 4-byte elements with predicate: recursion on itself, heap-sort fallback when ideal<=0 (sift loops), insertion sort below 32 elements (0x80 bytes); caller ModManager::ListMods (008f7080) +00a73b60 KAGE::Network::Multiplayer::ServiceLocalhost::update ? ServiceLocalhost vtable slot 2 (ServiceSteam/EOS slot 2 = 00a75280/00a76180 read packets): under mutex +0x10 walks peers (map +8), collects those whose HWND fails IsWindow and drops them via Multiplayer::handle_member_status +008b78f0 luabridge::CFunc::CallMember::f lua_pushcclosure(FUN_008b78f0) with upvalue Game::BombExplosionEffects, name "BombExplosionEffects" (registration FUN_00893eb0); reads Game userdata, Vector, damage, TearFlags BitSet128, Color, source Entity, radius scale, bools then calls the member +005785a0 NpcHelper::rainmaker_drop_timer_launch ? Entity_Effect::CreateTimer callback set up in NpcHelper::rainmaker_spawn_homing_drop (mov ecx,0x5785a0 / call 0x60af00 at 578975): for the projectile child (type 9) clears flag 0x100, aims at the target (+0x3c4, leading by its velocity * this+0x478) or a random angle +00a57060 KAGE::System::FriendManager::request_friend_lobbies ? FriendManager vtable slot 5 (slot 4 steam_friends_get): stores callback/ctx (+8/+0xc), for each friend ISteamFriends::GetFriendGamePlayed (+0x20) and RequestLobbyData on the friend's lobby (LobbySteam::request_lobby_data / find_or_create); callers Menu_OnlineLobbyList friends refresh 008e18b0/008e1fb0 +00a727b0 KAGE::Network::MultiplayerManager::create_lobby ? same pattern as MultiplayerManager::join_lobby 00a72a20: if a lobby is active posts CommandThread command 3 (leave), then command 1 with (type param_1, max members param_2) and command 2 with callback FUN_00907c80 ("Successfully created lobby %llu"/"Failed to create lobby"); callers "Creating public lobby..." 00907230 and "Creating friend lobby..." 00907460 +006846c0 sha1_transform SHA-1 block function: 16 big-endian words, 80-word schedule with rol1 (W[t-3]^W[t-8]^W[t-14]^W[t-16]), 0x5a827999.. round constants on the 5-word state in EDX; caller sha1_digest 00684920 +0083bff0 std::vector<40byte>::_Emplace_reallocate MSVC vector growth for 0x28-byte elements: max_size 0x6666666, std::_Xlen, 1.5x capacity, std::_Allocate, copy-constructs the inserted element (KAGE::SmartPointer::operator_assign members) and moves the old range; caller push_back 0083bf90 +008a47c0 luabridge::Namespace::Class::Class luabridge deriveClass ctor: "EntityPlayer", __class/__const/__parent with lua_rawgetp of the parent key, g_luaClassKeyEntityPlayer (same shape as Class::Class 008a4300) +008a3980 luabridge::Namespace::Class::Class luabridge deriveClass ctor: "EntityBomb", __class/__const/__parent (same shape as Class::Class 008a34c0) +008a2720 luabridge::Namespace::Class::Class luabridge deriveClass ctor: "GridEntityRock", __class/__const/__parent (same shape as Class::Class 008a2260) +008a32b0 luabridge::Namespace::Class::Class luabridge beginClass ctor (522 bytes): "GridEntityDesc", __class/__const +008a15b0 luabridge::Namespace::Class::Class luabridge beginClass ctor (522 bytes, no name literal: name from caller): __class/__const, class key g_luaClassKeyRoom +008a0950 luabridge::Namespace::Class::Class luabridge beginClass ctor (522 bytes): "SFXManager", __class/__const +008a56e0 luabridge::Namespace::Class::Class luabridge beginClass ctor (522 bytes): "TemporaryEffect", __class/__const +008a6340 luabridge::Namespace::Class::Class luabridge beginClass ctor (522 bytes): Lua name "PillEffect" (ItemConfig.PillEffect; addData Name/GreedModeAllowed are Class), __class/__const +008c42f0 luabridge::Namespace::Class::Class luabridge beginClass ctor (522 bytes): "CostumeConfigList", __class/__const; caller lua_register_CostumeConfigList +008c3690 luabridge::Namespace::Class::Class luabridge beginClass ctor (522 bytes): "intValues", __class/__const; caller lua_register_intValues +007325e0 std::map::try_emplace ? MSVC _Tree emplace keyed by std::string: std::map::_Find_lower_bound + string_compare, returns {iterator,false} when present, else operator_new(0x54) node (string key + 0x2c value), max_size 0x30c30c3 check; caller 00731d70 (next to ItemPool) +009f2ee0 VideoPlayer::play ? ECX = video player (Cutscene object +0x5c, caller 0095fac0 passes the path +0x40 and volume in xmm2); copies path, checks ".ogv", ModManager::TryRedirectPath, opens clip (FUN_00a62910), clamps volume into clip +0x48, restarts/plays via clip vtable +0x1c/+0x18; sibling VideoPlayer::unload 00a62880 +00aa8360 deviceObjectCallback GLFW win32_joystick.c DirectInput EnumObjects callback (pushed with DIDFT_AXIS|BUTTON|POV = 0x1f at aa87c7): compares guidType with GUID_Slider/axis GUIDs (DAT_00b4ecec/cc), axis/slider/button/POV objects, POV offset DIJOFS_POV(n)=0x20+4n type 3 +008ee700 online_lobby_members_changed_callback ? event listener added to list 0xc79b70 (FUN_00a1d6b0) by Menu_OnlineLobby init and removed at 986cf0; ctx = Menu_OnlineLobby: Lobby::get_members(1) and syncs the member map ctx+0x694 (lobby_member_map_get_or_add), removes stale entries, Menu_OnlineLobby::update_ready_state +00ac09b0 h2v1_merged_upsample_565D_le libjpeg-turbo jdmrg565.c: single Y row (h2v1), RGB565 packing with dither_matrix (DAT_00b5df94 indexed by output_scanline&3); only caller the h2v1_merged_upsample_565D wrapper 00ac1220 +00ac0bf0 h2v2_merged_upsample_565_le libjpeg-turbo jdmrg565.c: two Y rows / two output rows (h2v2), RGB565 packing without dither; only caller the h2v2_merged_upsample_565 wrapper 00ac1240 +00abef90 extrgb_h2v2_merged_upsample_internal libjpeg-turbo jdmrgext.c (RGB_RED=0, pixel size 3): two Y rows to two output rows, writes [0..2],[3..5] per pixel pair; called from two cases of the h2v2_merged_upsample dispatcher (JCS_EXT_RGB and default JCS_RGB, ICF) +00abfa10 extxrgb_h2v2_merged_upsample_internal libjpeg-turbo jdmrgext.c (alpha 0xff at [0], RGB at [1..3], pixel size 4): XRGB/ARGB case of the h2v2_merged_upsample dispatcher (00ac07a0) +00a8d350 theoraplayer::VideoClip_Theora::_decodeNextFrame VideoClip_Theora vtable slot 4: frame queue requestEmptyFrame (FUN_00aaabb0), ogg_stream_packetout up to 100 tries, th_decode_packetin, th_granule_time/th_granule_frame, timer vtable +4 +00a8c7e0 theoraplayer::VideoClip_Theora::~VideoClip_Theora resets VideoClip_Theora::vftable, th_decode_free/th_setup_free on +0x404/+0x400, vorbis_dsp_clear, vorbis block/info/comment clear, AudioPacketQueue::destroyAllAudioPackets; only caller the scalar deleting dtor 00a8c6d0 (vtable slot 0) +0091f780 NetplayManager::load_mute_list ECX=NetplayManager (only caller NetplayManager::Init): "%s/mute_list.txt" in g_userDataDir, clears the u64 set +0x620, SaveDataManager::open_file_read, reads lines, stoull ("invalid stoull argument") into the set (map_u64_bool_subscript) +00acff00 res0_look libvorbis res0.c: info=param_2, parts=info->partitions (+0xc), fullbooks = codec_setup +0xb20, phrasebook = fullbooks + groupbook*0x38, calloc partbooks, ov_ilog(secondstages[j]) loops; pointer in the residue function tables 00b5f208/228/248 (residue0/1/2) +00912b60 NetplayManager::request_join_lobby ? ECX=NetplayManager (+0x18d8 state, +0x1918/+0x1928): with daily-challenge lobbies runs daily_challenge_refresh and "#Online/LOBBY_JOIN_DAILY_CHECK" popup, reads lobby "current_stage", otherwise NetplayManager::join_pending_lobby or LobbyPasswordPrompt::open for passworded lobbies; 3 callers in NetplayManager +00ac43f0 pass2_no_dither libjpeg jquant2.c: start_pass_2_quant (00ac49c2) installs 0xac4600 when dither_mode==JDITHER_FS else 0xac43f0; 5/6/5-bit histogram lookup, fill_inverse_cmap via find_nearby_colors/find_best_colors (00ac3dc0/00ac4060) on empty cells +00adfbc0 oc_dec_headerin libtheora decinfo.c: reads 6 header bytes "theora" (0x6f656874/0x6172), packet type 0x80 info (oc_info_unpack 00adfdd0), 0x81 comment, 0x82 setup, TH_EBADHEADER -0x14 on b_o_s mismatch; caller th_decode_headerin 00adff90 +00a7df10 steam_leaderboard_scores_downloaded ? Steam LeaderboardScoresDownloaded_t handler (hSteamLeaderboardEntries +8, cEntryCount +0x10): allocates 0x28-byte entries at request+0xa0 (count +0xa8), ISteamUserStats::GetDownloadedLeaderboardEntry (+0x74) with details buffer DAT_00c5ab40, UserProfile::find_or_create + avatar per entry, then FUN_00a51dc0 completes ("Failed to get leaderboard '%s'"); caller 00a7e310 +00ae4210 oc_cpu_flags_get libtheora x86/x86state.c: cpuid vendor checks "GenuineIntel" (0x756e6547/0x49656e69/0x6c65746e), "AuthenticAMD", "CentaurHauls", " UMC"/"NexGenDriven"/"Cyrix", extended leaf 0x80000001; result used by oc_state_accel_init_x86 (call at ae3153) +00651df0 std::map::try_emplace MSVC _Tree try_emplace keyed by uint: lower_bound on node +0x10, returns {node,false} when found, else operator_new(0x2c) node (key + empty std::string at +0x14..+0x28), max_size 0x5d1745d; caller 006518d0 (FXLayers area) +00a6f770 KAGE::System::UserProfile::set_id ? ECX=UserProfile (id u64 at +8/+0xc as in UserProfile::find_or_create users): when the new id param_1 differs, under the profile mutex removes the old key from the global profile map (FUN_00a24210 find, std_tree_extract) and re-inserts under the new id (FUN_00a70a10), re-points g_userProfile if it was the local user, then copies the display name param_2 and flag bits into the Epic user info (FUN_00a23bb0, SmartPointer); 4 callers: EOS product-user mapping 00a6fa10, localhost 00a703f0, "user_id"/"user_name" parsers 00a772a0/00a776a0 +00ad7dc0 jpeg_idct_11x11 libjpeg jidctint.c: case 0xb of the IDCT method switch in jddctmgr start_pass FUN_00acae00 (case 7 jpeg_idct_7x7, 0xf jpeg_idct_15x15, 0x10 jpeg_idct_16x16); fixed-point IDCT constants, 5 args (cinfo, compptr, coef_block, output_buf, output_col) +009c0c30 popup_render ? renders one entry of the mutex-guarded list at Manager+0x4d070 (the list Manager::update_controller_popups fills) when its layer (+0x3c) matches FUN_009c3890's arg (Game::Render calls 009c3890(0/1/2)); background quad (flag 1), shadow (flag 2), Font::measure_string + Font::render_glyph_quads +00aa8d90 _glfwPollJoystickWin32 GLFW 3.4 win32_joystick.c: slot 18 (pollJoystick) of the _GLFWplatform table built by _glfwConnectWin32 00a81050 ([ebp-0xd8]); inlined _glfwInputJoystickAxis/Button/Hat asserts "axis < js->axisCount", "button >= 0", "value == GLFW_PRESS || value == GLFW_RELEASE" (input.c) +00597d00 NpcHelper::beast_soul_render ? Entity_NPC::Render case 0x3b7 (ENTITY_BEAST) -> FUN_00598260 calls it when variant == 3 (else Entity::Render); projects the npc trail deque +0xc1c through the background parallax (338x182, x0.65) into static vector g_beastTrailPoints and draws it with BeamRenderer::Add/End (variant 3 = the Beast's soul per wiki, unverified) +00a5b7b0 windowProc GLFW 3.4 win32_window.c: stored as wc.lpfnWndProc in _glfwCreateWindowWin32 (mov [ebp-0x64],0xa5b7b0); strings "Win32: Failed to retrieve raw input data", inlined _glfwInputDrop "paths != NULL" and _glfwInputWindowContentScale "xscale > 0.f" asserts +00a6c960 keyboard_key_names_init ? only caller FUN_00a6c3e0 (input init: clears three 0x15d key tables then calls it); memset 0x2ba0 table of 32-byte names, 'A'..'Z', '0'..'9', strcpy_s "Space","Quote","Comma","Minus","Backspace","F1".."F25","CAPS LOCK"... +00aedf80 _mi_stats_print mimalloc stats.c: format strings "%10s: %10s %10s %10s..." / "heap stats" / "process" / "elapsed" / "numa nodes"; called by FUN_00aeef70 (mi_stats_print_out: merge thread stats via mi_stats_add then _mi_stats_print(&_mi_stats_main, out, 0)) +008e1a70 Menu_OnlineLobbyList::lobby_search_callback ? passed as callback to FUN_00a57060 by FUN_008e18b0/FUN_008e1fb0 (Menu_OnlineLobbyList::reset path) with the menu as context (param_2): filters the found ConstLobby list (lobby mode 2 needs status 5), copies into a std::list, sorts by name with _stricmp, fills the menu list at +0x350; strings "list too long", "lobby_mode" +005c83f0 everything_jar_shopkeeper_rain_timer ? Entity_Effect::CreateTimer callback (mov ecx,0x5c83f0 at 005c5dc5, RandomInt(12)+6 repeats every 2 frames) in Entity_Player::UseActiveItem's Everything Jar (0x2d0) 12-charge random pick, case 8: FindFreePickupSpawnPosition near a random point, clears the grid path cost to 900, WeightedOutcomePicker over variants 0..4 (weights 3,3,1,1,1), Game::Spawn(17 shopkeeper, variant) +00a179c0 KAGE_Filesys_FileManager::LoadArchiveFile REPENTOGON KAGE_Filesys_FileManager.zhl static LoadArchiveFile(char* path, int, ushort): same 0xe64 frame (sub esp,0xe64 matches the zhl sig prefix) and 3 args pushed (dword, dword, word) by FontKerningPair::IsaacStartup; strings "Failed to open archive file '%s'", "Cannot load archive file '%s', maximum number of archive files exceeded", "hash table is full"; FileSystem::open_archive_file +00aa7a10 stb_vorbis::compute_stereo_samples stb_vorbis: only caller FUN_00aa7e80 (convert_channels_short_interleaved, float*384 -> short clamp); 32-float local buffer filled 16 frames at a time, per channel channel_position mask table DAT_00b4eca0[num_c*6] tested for PLAYBACK_LEFT|RIGHT (6) / LEFT (2) / RIGHT (4) +0093d510 Backdrop::render_wall_detail ? ECX = Backdrop (ANM2 at +0x4f3c), 6 calls from Backdrop::pre_render_walls: randomizes layer visibility/frames by layer name prefix 'h'/'v' with the RNG arg and a chance, renders (AnimationState::Render), then for nulls named "*" spawns at backdrop_detail_to_world_pos via Game::SpawnEx; strings "%s: No null with Id %d", "LayerId out of bounds" +00a58cb0 KAGE::Network::Connection::send_message ? only caller FUN_00a78a10 (NetworkManager send: looks the peer's ConnectionBase up in a map, queues when absent, else calls this on it); timestamps with GetTimeNs/1e6, appends an "ackn" ack chunk when the reliable flag is set and acks are pending, sequence/fragment bookkeeping, SmartPointer +00a92cb0 png_write_pCAL libpng pngwutil.c: strings "Unrecognized equation type for pCAL chunk", "Out of Memory"; png_write_chunk_header + crc32; called from the png_write_info body 00a63490 +00a776a0 eos_lobby_member_on_user_info ? callback passed to FUN_00a70770 (EOS user info query) by FUN_00a770b0 (EOS lobby member update notify, pushed at a2966f/a603f1): once the user info is known reads lobby member attributes "user_id"/"user_name" (FUN_00a84e50), std::stoull ("invalid stoull argument"), then Multiplayer::handle_member_status +00a7bd80 KAGE::Sound::SampleSourceOgg::load vtable slot 7 of KAGE::Sound::SampleSourceOgg (RTTI vftable 00ba2aa4, same slot as SampleSourceWav::load 00a7b6a0): FileSystem::ResolvePath/open_archive_file, decodes with stb_vorbis (FUN_00aa7340/aa78e0/aa7fb0); strings "Could not decode OGG file %s.", "memory allocation error." +0073dae0 Level::update_room_doors ? ECX = Level; arg RoomDescriptor (+0x10 RoomConfig_Room: +0x46/+0x47 width/height, +0x48 shape, +0x38 door mask): computes the 8 neighbour grid indices (13x13 grid) per shape (shapes 9..0xc via FUN_00738620), drops doors not in the config mask, stores them at descriptor+0x1c; FUN_0073e040 runs it on every room and the 0x14 off-grid ones; also Level::GenerateHome +00431830 FamiliarHelper::umbilical_baby_load_graphics ECX = Entity_Familiar; only caller Entity_Familiar::Init case variant 0xf0 (240 FAMILIAR_UMBILICAL_BABY / Gello): HasCollectible 0x34 Dr Fetus, 0x105, 0x99, 2 Inner Eye ... picks gfx/familiar/umbilical_baby/{drfetus,innereye,brimstone,techx,...}.png and Sprite::ReplaceSpritesheet + LoadGraphics +005c8020 everything_jar_crack_the_sky_timer ? Entity_Effect::CreateTimer callback (mov ecx,0x5c8020 at 005c5ca5, RandomInt(10)+18 repeats every 5 frames) in UseActiveItem's Everything Jar (0x2d0) 12-charge random pick: at Room::GetRandomPosition spawns 1000.19 (Crack the Sky beam, as in 160's case) parented to the timer's player parent, damage (player +0x157c *3 +4) * rand(0.7..2.1), random hsv_to_rgb color +008d84f0 PauseScreen::update_items_menu_selection ? ECX = PauseScreen; only caller PauseScreen::update_items_menu: rebuilds the player list (pause player, twin +0x1e68, +0x1d98, backup +0x1e6c) into +0x18, then on input action 0xb (KAGE input vtable +0x74) cycles the selected player (+0x24), active slot (+0x2c, players' +0x17a0) and pocket slot (+0x28, +0x16c0) +00a82190 _glfwGetVideoModesWin32 GLFW 3.4 win32_monitor.c: slot 25 (getVideoModes) of the _GLFWplatform table in _glfwConnectWin32 ([ebp-0xbc]); EnumDisplaySettingsW loop over monitor +0xd4 adapter name, dmBitsPerPel split into RGB bits (32 -> 8/8/8), dedup, "Allocation size overflow" (_glfw_calloc) +00a9b8b0 get_sos libjpeg jdmarker.c: only caller read_markers FUN_00a9cac0; first ERREXIT JERR_SOS_NO_SOF when marker->saw_SOF (+0xd of cinfo->marker) is false, then reads the length and component count bytes through the source manager (fill_input_buffer at src+0xc) +00abb900 mdct_backward libvorbis mdct.c: only caller mapping0_inverse (the real one, FUN_00acf890, slot 4 of the mapping0 export bundle 00b5e294); calls mdct_butterflies and mdct_bitreverse like mdct_forward 00abbc60 +0069fd80 std::_Sort_unchecked<20byte> MSVC STL introsort: recursive (self calls), switches to heap sort (make_heap/pop loop) when the ideal counter runs out, insertion below 0x294 bytes (32 x 20-byte elements), keyed on the float at +0xc; wrapper FUN_0069de80 (begin,end) called twice by EntityConfig::LoadEntities +00ad0ae0 res1_class libvorbis res0.c: slot 5 (class) of residue1_exportbundle at 00b5f200 {res0_pack acfc30, res0_unpack acfd30, res0_look acff00, res0_free_info, res0_free_look, res1_class, res1_forward ad0a80, res1_inverse ad0e10}; compacts nonzero channels then inlined _01class with _vorbis_block_alloc (vb +0x44..+0x54) +00a60700 eos_lobby_search_on_find ? EOS_LobbySearch_Find completion callback pushed by FUN_00a5fba0: EOS_LobbySearch_GetSearchResultCount, CopySearchResultByIndex, LobbyDetails_CopyInfo, builds ConstLobby entries (vector _Emplace_reallocate), Lobby::refresh_members, LobbyDetails/LobbySearch_Release +00a52b10 KAGE::Network::Multiplayer::LobbySteam::get_members vtable slot 6 of KAGE::Network::Multiplayer::LobbySteam (00b9e9a4; LobbyLocalhost's slot 6 FUN_00a9ec40 copies its member id vector): ISteamMatchmaking GetNumLobbyMembers (+0x44) / GetLobbyMemberByIndex (+0x48), GetLobbyMemberData (+0x60) "user_join_time" atoi, list sorted by join time ("list too long") +00a5fba0 eos_lobby_search_find ? EOS backend of the lobby search FUN_00a542c0 (Menu_OnlineLobbyList callers; Steam branch has the "Steam has a maximum of 50 lobby results" strings): EOS_Platform_GetLobbyInterface, EOS_Lobby_CreateLobbySearch, SetParameter "KAGE_EOS_LOBBY_BUCKET_ID" plus number/string filters, EOS_LobbySearch_Find with callback FUN_00a60700; strings "Failed to create lobby search handle: %s" +00ab7750 vorbis_book_decodevs_add libvorbis codebook.c: passed as the decode callback to _01inverse FUN_00ad0790 by res0_inverse FUN_00ad0a20 (slot 7 of residue0_exportbundle 00b5f220); step = n/book->dim, alloca'd entry/t arrays, decode_packed_entry_number inlined (bit-reverse swap, FUN_00ab7010 oggpack_look) +00ae2e70 oc_quant_params_unpack libtheora dequant.c: called from the theora setup header decoder FUN_00adfbc0 on calloc(1,0x2c8)+0x140; reads with oc_pack_read (FUN_00ae25e0): 3-bit nbits then 64 loop filter limits, 4-bit AC scale bits x64, DC scale x64, 9-bit base matrix count, 64-byte base matrices, oc_ilog, per qi/pli range reading with oc_pack_read1 +00ab2620 png_combine_row libpng pngrutil.c: only caller the row reader FUN_00a96cc0 with the pass display mask table DAT_00b3db28[pass]; mask 0xff -> memcpy (row_info pixel_depth * width +7 >>3) from row_buf+1, else per-pixel masked merge honoring PNG_PACKSWAP (transformations & 0x10000) +00aeeca0 mi_stats_add mimalloc stats.c: (dst, src) adds every mi_stat_count_t (+0x00..+0x1a0, 0x20 each) and mi_stat_counter_t pairs (+0x1c0..) when dst != src; callers mi_stats_merge FUN_00aedf50 and mi_stats_print_out FUN_00aeef70 with &_mi_stats_main +00a703f0 eos_user_info_find_or_create ? (out, EOS user id): finds a SmartPointer in the ECX map (_Find_lower_bound), else creates one (FUN_00a70710) whose display name is "localhost" for id 0xfefefefe, "???" without g_userProfile, else the profile's name; FUN_00a61170 calls it with g_eosLocalUserId +00ac8ca0 ycc_rgb565_convert_le libjpeg-turbo jdcol565.c ycc_rgb565_convert_internal little-endian: only caller FUN_00ac9830 (ycc_rgb565_convert wrapper); deconverter +0x10..+0x1c Cr_r/Cb_b/Cr_g/Cb_g tables, packs (R&0xf8)<<8|(G&0xfc)<<3|B>>3 two pixels per dword, alignment pixel first +00ac4600 pass2_fs_dither libjpeg jquant2.c: start_pass_2_quant FUN_00ac4980 sets color_quantize = this when dither_mode (cinfo +0x4c) != 0 else pass2_no_dither FUN_00ac43f0; serpentine rows (dir +-1), fserrors at cquantize +0x24, error_limiter +0x2c, histogram +0x1c, fill_inverse_cmap FUN_00ac42c0 on empty cells +00900ca0 net_input_frame_capture ? ECX = a stack net input frame (lea ecx,[ebp-0x2c] in NetInputDevice::is_input_ready, only caller): skipped while console/pause/revive menu open; ORs 32 device actions (vtable +0x30) into a button mask (+4), quantizes axis pairs (vtable +0x38) to shorts *32767 (+6, +8, ...), Entity_Player::GetMouseAimTarget, is_any_player_restart_held +00a91dd0 png_write_bKGD libpng pngwutil.c: string "Invalid background palette index"; png_write_chunk_header; called from the png_write_info body 00a63490 +00a81050 _glfwConnectWin32 GLFW 3.4 win32_init.c: no callees, fills a local _GLFWplatform (first field 0x60001 GLFW_PLATFORM_WIN32, then init/terminate/... including pollJoystick 00aa8d90 and getVideoModes 00a82190) and copies 0x48 dwords to *platform, returns 1; called from glfwInit's platform select FUN_00a9db50 +00743fc3 Level::generate_greed_chunk_place ? not a real function: a Ghidra-split piece of FUN_00743550 (unaligned start, unaff_EBP/ESI/EDI frame -0x3bc, no refs; 743550 is the greed floor generator, Level::Init calls it when Game _difficulty 0x269c8 is 2/3): RNG step then Level::place_room, frees LevelGenerator vectors, Seeds::Init3, RoomDescriptor::constructor +006864a0 Console::history_push ? ECX = Console; only caller Console::submit_input with the typed line: drops a duplicate of the last history entry, push_front into the history deque (+0x54..+0x70, cursor +0x60/+0x68 reset), then echoes it as a ConsoleLine (color 0xffd3d3d3, 0x96 frames) via std::deque::push_front +00429570 DeathmatchManager::enter_arena ? ECX = DeathmatchManager (Game+0x26614: lea ecx,[edi+0x26614] in Game::Update case 10, also FUN_00428d30): sets mode +0 = 2, sound 0x341 unless +0x18, moves the room's "EL" entity lists, clears flag 0x20 on room entities, Game::StartRoomTransition(-19 ROOM_DEATHMATCH_IDX, -1, anim 0x15), RoomTransition::Update, resets the transition, Game::Fadein +0085d040 luabridge::Namespace::ClassBase::createConstTable LuaBridge Namespace.h: strings "const " + name, "__type", "__index", "__newindex", "__metatable", "__propget"; called first by every luabridge::Namespace::Class::Class (66 callers, e.g. Class 008a0740) +00ace590 floor0_inverse2 libvorbis floor0.c: last slot of floor0_exportbundle at 00b5e238 {NULL, unpack ace310, look ace410, free_info ace280, free_look ace2b0, inverse1 ace450, inverse2}; inlined floor0_map_lazy_init (toBARK 13.1*atan(.00074n)+2.24*atan(n*n*1.85e-8)+1e-4n, malloc linearmap), memset when memo NULL else vorbis_lsp_to_curve FUN_00adb7d0 +00ac1750 decode_mcu_DC_first libjpeg jdphuff.c: start_pass_phuff_decoder FUN_00ac1410 picks it (mov eax,0xac1750) for Ah == 0 and DC band (alternatives ac19c0/ac1c00/ac1cf0); process_restart FUN_00ac16c0 when restarts_to_go hits 0, per block DC huffman decode with jpeg_fill_bit_buffer FUN_00ac2780 / jpeg_huff_decode FUN_00ac28a0 +00ac7550 decode_mcus libjpeg-turbo jdlhuff.c (lossless): stored as entropy->decode_mcus (puVar[2]) next to start_pass/process_restart in the inlined jinit_lhuff_decoder of libjpeg_jinit_master_decompress (lossless branch, arith -> JERR 0x31); (cinfo, diff_buf, MCU_row_num, MCU_col_num, nMCU) huffman difference decoding, 0x10 -> 32768 +00a687f0 KAGE::Filesys::FileMap::scan_directory ? vtable slot 6 of KAGE::Filesys::FileMap (00ba04cc) and of ContentManagerBase::ContentMountPoint (00b81cf8): win32_opendir(path_join(...)), files (flag 1) hashed with GetPrimaryFilePathHash into the map (map_find_value), subdirectories (flag 2) queued and walked +004b3af0 NpcHelper::heretic_spawn_afterimage only caller NpcAI::ENTITY_HERETIC (2 sites in the dash states): Game::Spawn(905, variant 1/2, this pos/vel, spawner this), copies flags|0x11, color, current animation/frame and layer 0 state, state 0xd, no collision; notes/entities/pass6_h4.md lists the afterimages as unported +00ac4060 find_best_colors libjpeg jquant2.c: (minc0, minc1, minc2, numcolors, colorlist, bestcolor) via ECX cinfo: inits 128 bestdist to 0x7fffffff, per candidate color incremental distance over the 4x8x4 box with c0/c1/c2 scale tables; called by fill_inverse_cmap FUN_00ac42c0 after find_nearby_colors FUN_00ac3dc0 +008a4560 luabridge::Namespace::Class::Class derived-class ctor (pushes "__parent"): lua_pushstring "EntityPickup", createConstTable 0085d040 / createClassTable 0085d2c0 / createStaticTable 0085d500; only caller lua_register FUN_00884930 +008a3720 luabridge::Namespace::Class::Class derived-class ctor ("__parent"): name "EntityLaser", createConstTable/createClassTable/createStaticTable; only caller FUN_008882c0 +008a24c0 luabridge::Namespace::Class::Class derived-class ctor ("__parent"): name "GridEntityTNT", createConstTable/createClassTable/createStaticTable; only caller FUN_0088d130 +008a30a0 luabridge::Namespace::Class::Class lua_pushstring "GridEntity" then rawget, createConstTable/createClassTable/createStaticTable + __gc; only caller FUN_0088a560 +008a13a0 luabridge::Namespace::Class::Class lua_pushstring "Level", createConstTable/createClassTable/createStaticTable; only caller FUN_00891a10 +008a0740 luabridge::Namespace::Class::Class lua_pushstring "MusicManager", createConstTable/createClassTable/createStaticTable; only caller FUN_008956f0 +008a54d0 luabridge::Namespace::Class::Class lua_pushstring "TemporaryEffects", createConstTable/createClassTable/createStaticTable; only caller FUN_0087c510 +008a6130 luabridge::Namespace::Class::Class name string DAT_00b67800 = "Item" (ItemConfig::Item), createConstTable/createClassTable/createStaticTable; reached from LuaEngine::RegisterAPI via FUN_00878cb0 +008a6d90 luabridge::Namespace::Class::Class name string DAT_00b70764 = "RNG", createConstTable/createClassTable/createStaticTable; reached from LuaEngine::RegisterAPI via FUN_00876530 +008c40e0 luabridge::Namespace::Class::Class lua_pushstring "VectorList", createConstTable/createClassTable/createStaticTable; only caller lua_register_VectorList +0095c6a0 ChallengeParams::ChallengeParams ? move constructor: only caller FUN_0095c430 (uninitialized move of 0xa4-byte elements) from std::vector::_Emplace_reallocate; moves the leading std::string (source reset to cap 0xf), swaps a tree head (+0x18/+0x1c, fresh 0x14-byte head), steals three vectors (+0x20.., +0x2c..) +00731540 std::map::try_emplace MSVC _Tree: lower bound (FUN_00731e00) + string_compare, else new 0x30-byte node (16 header + moved std::string + zeroed 8-byte value), max_size 0x5555555; on the global map 00c80fcc; wrapper FUN_00730eb0 (operator[] returning node+0x28) used by ItemConfig::parse_tags +00898890 luabridge::CFunc::Call::f lua C closure pushed by FUN_00895f70 with upvalue Isaac::RenderText and registered as "RenderText": lua_touserdata(upvalueindex 1), luaL_checknumber args 2..7, std::string from arg 1, calls the stored function pointer +0085d2c0 luabridge::Namespace::ClassBase::createClassTable LuaBridge Namespace.h: strings "__class", "__const", "__index", "__newindex", "__metatable", "__propget", "__propset", "__type"; called by every luabridge::Namespace::Class::Class right after createConstTable +008aed10 luabridge::CFunc::CallMember::f lua C closure pushed by FUN_00882bd0 with upvalue Entity_Player::FireTechLaser and registered as "FireTechLaser": luabridge::Userdata::getClass(g_luaClassKeyEntityPlayer) for self, luaL_checknumber/checkinteger/toboolean args, optional Entity arg 7, Vector args via FUN_008baa50 +00a9c450 examine_app0 libjpeg jdmarker.c: (datalen, remaining) with EDX data: "JFIF\0" -> saw_JFIF_marker (+0x100), version/density bytes, TRACE JTRC_JFIF 0x59, warn JWRN_JFIF_MAJOR 0x7a, thumbnail JTRC 0x5c; only caller get_interesting_appn FUN_00a9c770 +006a1110 std::map::emplace MSVC _Tree: std::map::_Find_lower_bound + string_compare, else new 0x2c node (16 header + moved std::string + 4-byte value), max_size 0x5d1745d; wrapper FUN_006a00d0 (pair) used by Menu_Mods::Update +00ac5f20 consume_data libjpeg jdcoefct.c: set as coef->pub.consume_data (_Dst[1]) by libjpeg_jinit_d_coef_controller when need_full_buffer (decompress_data FUN_00ac6150 in [3]); else the dummy consume (ICF'd Weapon::GetFocusEntity) +00ace9c0 mapping0_unpack libvorbis mapping0.c: slot 1 of mapping0_exportbundle 00b5e294 {pack ace840, unpack, free_info ace810, forward acebf0, inverse acf890}; calloc(1,0xc88), oggpack_read (FUN_00ab7120) submaps, coupling steps with ilog(channels) bits and mag != ang checks +00abf7f0 extxbgr_h2v2_merged_upsample_internal libjpeg-turbo jdmrgext.c: called only from the h2v2_merged_upsample color-space switch at LAB_00ac0720 (set by jinit_merged_upsampler 00ac1280 for max_v_samp_factor 2); two luma rows, writes 0xff then B,G,R... (byte 3 = y + Cr_r), i.e. XBGR/ABGR +008fed60 NetDesyncHandler::receive_messages ? ECX = NetDesyncHandler, only caller NetDesyncHandler::Update (first thing it does): loops NetworkManager::receive_message(channel 3) and handles MSG_DESYNC_NOTIFY / CONFIRM / RECOVERY_START / RECOVERY_COMPLETE ("[Frame: %d] Recieved MSG_DESYNC_... from user %llu"), "This function should only be called on consolidated messages" +00a7b6a0 KAGE::Sound::SampleSourceWav::load vtable slot 7 of KAGE::Sound::SampleSourceWav (RTTI vftable 00ba2974): FileSystem::ResolvePath / open_archive_file / KAGE::Filesys::File::open, reads into KAGE_Memory::heap_alloc buffer, WAV parse FUN_00a7b940; string "Not enough memory to load WAV file: %s" +00a163f0 filesys_list_directory_mounts ? (dir, int* count) like filesys_list_directory 00a16610 but loops the mount root vector DAT_00c379e8..ec: path_join per root, platform filesystem vfunc +0x20 (PTR_vftable_00c379e0) appends entries, then new[] of 8-byte {flags & ~0x10, name}; only caller FUN_00926510 on "%s/save_backups/" +0074378b Level::generate_greed_chunk_rooms ? not a real function: a Ghidra-split piece of FUN_00743550 (greed floor generator called from Level::Init when Game _difficulty is 2/3; unaligned start, unaff_EBP/ESI frame -0x3d8/-0x3b0, no refs): RNG steps, PlayerManager::AnyoneHasTrinket/GetTrinketMultiplier, RoomConfig::GetRandomRoom / GetRandomRoomWithFallbackStage +008cddf0 Menu_OnlineMode::apply_lobby_seed ? only caller FUN_008cd3f0 (from Menu_OnlineMode::Update) after the keyboard confirm: 9-char Manager _lobbySettings._seed -> special seed (Seeds::GetSeedEffect: PersistentGameData unlock "Seed %d added to SaveState", RemoveBlockingSeedEffects, AddSeedEffect, Menu_SpecialSeeds::Reset) or Seeds::String2Seed/SetStartSeed (custom run), invalid -> fart sound 0xbb and clear +00aae060 gen_bitlen zlib trees.c: only caller build_tree FUN_00aae270 (heap of HEAP_SIZE 573 = 0x23d at s+0xb54, heap_len +0x1448, heap_max +0x144c); clears bl_count[16] (+0xb34), overflow fixup, opt_len (+0x16a0) / static_len (+0x16a4) updates +009015b0 NetInputDevice::NetInputDevice constructor: sets IsaacRepentancePlus::NetInputDevice::vftable at +0, UserProfile at +0x370, SmartPointer +0x378, std::map/list heads; base ctor FUN_00a1e050; only caller FUN_006f6500 (allocates it per remote player) +009c5bf0 daily_lobby_join_init ? ECX = NetplayManager+0x18d8 (lea ecx,[esi+0x18d8] in NetplayManager::Init), same object as daily_lobby_join_destructor 009c5b00 / daily_lobby_join_reset 009c5df0: clears state +0/+4, empty ConstLobby, ANM2::Load "resources/gfx/ui/LoadingSpinner.anm2" into +0x140 +00aec650 mi_segment_span_free mimalloc v2 segment.c: (segment, slice_index, slice_count, tld): span queue only if kind != HUGE (+0x60 == 1) and thread id (+0x64) set, slice_count 0 -> 1, first/last slice (0x30 each, offset (count-1)*0x30), inlined mi_segment_schedule_purge (option 0xf, 32 KiB slices, 4 MiB segment mask 0xffc00000) via _mi_os commit/purge FUN_00aeb9b0/aeb880 +006ab240 Entity::is_grid_collision_at ? ECX = Entity, arg position: for each collision sample offset in the vector +0x178..+0x17c (+ position offset +0x33c/+0x340) tests Room::GetGridCollision of the tile; GridCollisionClass +0x184 == 3 (walls) hits on wall 4 or solid door (grid type 0x10), == 5 (ground) on any non-0 non-5; returns whether the summed hit offsets are nonzero; callers Entity::push_apart_circle and 3 FUN_ diff --git a/dump/all.c b/dump/all.c index d2c9735..ebab871 100644 --- a/dump/all.c +++ b/dump/all.c @@ -53,11 +53,14 @@ void FUN_004011e0(void) } -//@@ 00401390 FUN_00401390 +//@@ 00401390 completion_mark_names_init /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: ? static initializer: fills a global string array "Mom's Heart", "Isaac", "Satan", "Boss + Rush", "Cathedral", "Sheol", "Chest", "Dark Room", "Mega Satan", "Greed", "Delirium", "Mother", + "Beast" (eh_vector_constructor_iterator + _atexit) */ -void FUN_00401390(void) +void completion_mark_names_init(void) { void *local_10; @@ -4205,13 +4208,11 @@ ANM2 * __thiscall ANM2::ANM2(ANM2 *this,int param_2) float fVar2; float fVar3; float fVar4; - undefined4 uVar5; - undefined4 uVar6; - char cVar7; - int *piVar8; - undefined4 uVar9; - undefined4 *puVar10; - undefined4 *puVar11; + char cVar5; + std_string *psVar6; + undefined4 uVar7; + LayerState *pLVar8; + undefined4 *puVar9; undefined1 local_38 [4]; uint *local_34; uint local_30; @@ -4317,65 +4318,65 @@ ANM2 * __thiscall ANM2::ANM2(ANM2 *this,int param_2) local_28 = (uint *)0x0; do { local_14._0_1_ = 3; - puVar10 = (undefined4 *)(*(int *)(param_2 + 0x7c) + (int)local_28); - puVar11 = (undefined4 *)((int)this->_layerState + (int)local_28); - *puVar11 = *puVar10; - piVar8 = puVar10 + 2; - if (puVar11 + 2 != piVar8) { - if (0xf < (uint)puVar10[7]) { - piVar8 = (int *)*piVar8; + pLVar8 = (LayerState *)(*(int *)(param_2 + 0x7c) + (int)local_28); + puVar9 = (undefined4 *)((int)this->_layerState + (int)local_28); + *puVar9 = pLVar8->_layerData; + psVar6 = &pLVar8->_spriteSheetPath; + if ((std_string *)(puVar9 + 2) != psVar6) { + if (0xf < (pLVar8->_spriteSheetPath)._capacity) { + psVar6 = *(std_string **)psVar6->_buf; } - std::string::assign(piVar8,puVar10[6]); + std::string::assign(psVar6,(pLVar8->_spriteSheetPath)._size); } - uVar9 = LayerState::GetTexture(local_38); + uVar7 = LayerState::GetTexture(pLVar8,local_38); local_14._0_1_ = 5; - KAGE::SmartPointer::operator_assign(uVar9); + KAGE::SmartPointer::operator_assign(uVar7); local_14._0_1_ = 6; if (local_34 != (uint *)0x0) { - cVar7 = (**(code **)(*local_34 + 0xc))(); - if ((cVar7 != '\0') && (g_imageReleaseFn != (void *)0x0)) { + cVar5 = (**(code **)(*local_34 + 0xc))(); + if ((cVar5 != '\0') && (g_imageReleaseFn != (void *)0x0)) { (*g_imageReleaseFn)(local_38); } } - *(undefined1 *)(puVar11 + 0xc) = *(undefined1 *)(puVar10 + 0xc); - *(undefined1 *)((int)puVar11 + 0x31) = *(undefined1 *)((int)puVar10 + 0x31); - *(undefined1 *)((int)puVar11 + 0x32) = *(undefined1 *)((int)puVar10 + 0x32); - *(undefined1 *)((int)puVar11 + 0x33) = *(undefined1 *)((int)puVar10 + 0x33); - puVar11[0xd] = puVar10[0xd]; - puVar11[0xe] = puVar10[0xe]; - puVar11[0xf] = puVar10[0xf]; - puVar11[0x10] = puVar10[0x10]; - puVar11[0x11] = puVar10[0x11]; - if (puVar11 + 0x12 != puVar10 + 0x12) { - uVar9 = puVar10[0x13]; - uVar5 = puVar10[0x14]; - uVar6 = puVar10[0x15]; - puVar11[0x12] = puVar10[0x12]; - puVar11[0x13] = uVar9; - puVar11[0x14] = uVar5; - puVar11[0x15] = uVar6; - uVar9 = puVar10[0x17]; - uVar5 = puVar10[0x18]; - uVar6 = puVar10[0x19]; - puVar11[0x16] = puVar10[0x16]; - puVar11[0x17] = uVar9; - puVar11[0x18] = uVar5; - puVar11[0x19] = uVar6; - uVar9 = puVar10[0x1b]; - puVar11[0x1a] = puVar10[0x1a]; - puVar11[0x1b] = uVar9; - puVar11[0x1c] = puVar10[0x1c]; + *(byte *)(puVar9 + 0xc) = pLVar8->_spriteSheetLoaded; + *(undefined1 *)((int)puVar9 + 0x31) = pLVar8->field_0x31; + *(byte *)((int)puVar9 + 0x32) = pLVar8->_flipX; + *(byte *)((int)puVar9 + 0x33) = pLVar8->_flipY; + puVar9[0xd] = (pLVar8->_size).x; + puVar9[0xe] = (pLVar8->_size).y; + puVar9[0xf] = pLVar8->_rotation; + puVar9[0x10] = (pLVar8->_pos).x; + puVar9[0x11] = (pLVar8->_pos).y; + if ((ColorMod *)(puVar9 + 0x12) != &pLVar8->_color) { + fVar2 = (pLVar8->_color)._tint[1]; + fVar3 = (pLVar8->_color)._tint[2]; + fVar4 = (pLVar8->_color)._tint[3]; + puVar9[0x12] = (pLVar8->_color)._tint[0]; + puVar9[0x13] = fVar2; + puVar9[0x14] = fVar3; + puVar9[0x15] = fVar4; + fVar2 = (pLVar8->_color)._colorize[1]; + fVar3 = (pLVar8->_color)._colorize[2]; + fVar4 = (pLVar8->_color)._colorize[3]; + puVar9[0x16] = (pLVar8->_color)._colorize[0]; + puVar9[0x17] = fVar2; + puVar9[0x18] = fVar3; + puVar9[0x19] = fVar4; + fVar2 = (pLVar8->_color)._offset[1]; + puVar9[0x1a] = (pLVar8->_color)._offset[0]; + puVar9[0x1b] = fVar2; + puVar9[0x1c] = (pLVar8->_color)._offset[2]; } - *(undefined1 *)(puVar11 + 0x1d) = *(undefined1 *)(puVar10 + 0x1d); - puVar11[0x1e] = puVar10[0x1e]; - puVar11[0x1f] = puVar10[0x1f]; + *(byte *)(puVar9 + 0x1d) = pLVar8->_visible; + puVar9[0x1e] = pLVar8->_blendMode[0]; + puVar9[0x1f] = pLVar8->_blendMode[1]; local_24 = local_24 + 1; - puVar11[0x20] = puVar10[0x20]; - puVar11[0x21] = puVar10[0x21]; - puVar11[0x22] = puVar10[0x22]; - puVar11[0x23] = puVar10[0x23]; - puVar11[0x24] = puVar10[0x24]; - puVar11[0x25] = puVar10[0x25]; + puVar9[0x20] = pLVar8->_blendMode[2]; + puVar9[0x21] = pLVar8->_blendMode[3]; + puVar9[0x22] = pLVar8->_blendMode[4]; + puVar9[0x23] = pLVar8->_bitflags; + puVar9[0x24] = (pLVar8->_cropOffset).x; + puVar9[0x25] = (pLVar8->_cropOffset).y; *(ANM2 **)((int)local_28 + 4 + (int)local_2c->_layerState) = local_2c; local_28 = (uint *)((int)local_28 + 0xa0); this = local_2c; @@ -4838,12 +4839,11 @@ void ANM2::~ANM2(void) /* DB: src/anm2 decompile labels (LayerState::LayerState) */ -void LayerState::LayerState(void) +LayerState * __thiscall LayerState::LayerState(LayerState *this) { uint uVar1; - undefined4 uVar2; - int in_ECX; + int iVar2; void *local_10; undefined1 *puStack_c; undefined4 local_8; @@ -4851,43 +4851,46 @@ void LayerState::LayerState(void) puStack_c = &LAB_00af0a8e; local_10 = ExceptionList; ExceptionList = &local_10; - *(undefined4 *)(in_ECX + 8) = 0; - *(undefined4 *)(in_ECX + 0x18) = 0; - *(undefined4 *)(in_ECX + 0x1c) = 0xf; - *(undefined1 *)(in_ECX + 8) = 0; - *(undefined4 *)(in_ECX + 0x38) = 0; - *(undefined4 *)(in_ECX + 0x34) = 0; - *(undefined4 *)(in_ECX + 0x44) = 0; - *(undefined4 *)(in_ECX + 0x40) = 0; - *(undefined4 *)(in_ECX + 0x48) = 0x3f800000; - *(undefined4 *)(in_ECX + 0x4c) = 0x3f800000; - *(undefined4 *)(in_ECX + 0x50) = 0x3f800000; - *(undefined4 *)(in_ECX + 0x54) = 0x3f800000; - *(undefined4 *)(in_ECX + 0x58) = 0; - *(undefined4 *)(in_ECX + 0x5c) = 0; - *(undefined4 *)(in_ECX + 0x60) = 0; - *(undefined4 *)(in_ECX + 100) = 0; - *(undefined4 *)(in_ECX + 0x68) = 0; - *(undefined4 *)(in_ECX + 0x6c) = 0; - *(undefined4 *)(in_ECX + 0x70) = 0; + (this->_spriteSheetPath)._buf[0] = '\0'; + (this->_spriteSheetPath)._buf[1] = '\0'; + (this->_spriteSheetPath)._buf[2] = '\0'; + (this->_spriteSheetPath)._buf[3] = '\0'; + (this->_spriteSheetPath)._size = 0; + (this->_spriteSheetPath)._capacity = 0xf; + (this->_spriteSheetPath)._buf[0] = '\0'; + (this->_size).y = 0.0; + (this->_size).x = 0.0; + (this->_pos).y = 0.0; + (this->_pos).x = 0.0; + (this->_color)._tint[0] = 1.0; + (this->_color)._tint[1] = 1.0; + (this->_color)._tint[2] = 1.0; + (this->_color)._tint[3] = 1.0; + (this->_color)._colorize[0] = 0.0; + (this->_color)._colorize[1] = 0.0; + (this->_color)._colorize[2] = 0.0; + (this->_color)._colorize[3] = 0.0; + (this->_color)._offset[0] = 0.0; + (this->_color)._offset[1] = 0.0; + (this->_color)._offset[2] = 0.0; uVar1 = g_graphicsManager_flags & 4; - *(undefined4 *)(in_ECX + 0x78) = 0; - uVar2 = 1; - *(undefined4 *)(in_ECX + 0x80) = 7; - *(undefined4 *)(in_ECX + 0x84) = 1; + this->_blendMode[0] = 0; + iVar2 = 1; + this->_blendMode[2] = 7; + this->_blendMode[3] = 1; if (uVar1 == 0) { - uVar2 = 6; + iVar2 = 6; } - *(undefined4 *)(in_ECX + 0x7c) = uVar2; - *(undefined4 *)(in_ECX + 0x88) = 7; - *(undefined4 *)(in_ECX + 0x94) = 0; - *(undefined4 *)(in_ECX + 0x90) = 0; - *(undefined4 *)(in_ECX + 0x98) = 0; - *(undefined4 *)(in_ECX + 0x9c) = 0; + this->_blendMode[1] = iVar2; + this->_blendMode[4] = 7; + (this->_cropOffset).y = 0.0; + (this->_cropOffset).x = 0.0; + this->_spriteSheet = 0; + this[1]._layerData = (void *)0x0; local_8 = 1; - Init(0); + Init(this,0); ExceptionList = local_10; - return; + return this; } @@ -4896,14 +4899,13 @@ void LayerState::LayerState(void) /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ /* DB: src/anm2 decompile labels (LayerState::Init(LayerInfo*)) */ -void LayerState::Init(int param_1) +void __thiscall LayerState::Init(LayerState *this,void *param_2) { int *piVar1; uint uVar2; int *piVar3; int iVar4; - int *in_ECX; uint uVar5; bool bVar6; int local_48; @@ -4922,8 +4924,8 @@ void LayerState::Init(int param_1) uVar2 = __security_cookie ^ (uint)(local_30 + 0xb); local_18 = uVar2; ExceptionList = &local_10; - *in_ECX = param_1; - bVar6 = param_1 == 0; + this->_layerData = param_2; + bVar6 = param_2 == (void *)0x0; if (bVar6) { local_1c = 0xf; local_20 = 0; @@ -4932,11 +4934,11 @@ void LayerState::Init(int param_1) local_8 = 1; } else { - piVar3 = (int *)std::string::string(param_1 + 0x20); + piVar3 = (int *)std::string::string((int)param_2 + 0x20); local_8 = 0; } local_8 = (uint)bVar6; - if (in_ECX + 2 != piVar3) { + if (&this->_spriteSheetPath != (std_string *)piVar3) { piVar1 = piVar3 + 4; if (0xf < (uint)piVar3[5]) { piVar3 = (int *)*piVar3; @@ -4970,41 +4972,44 @@ LAB_00408423: operator_delete(iVar4,uVar5,uVar2); } KAGE::SmartPointer::reset(0); - in_ECX[0xc] = 0; - in_ECX[0xd] = (int)g_vectorOne.x; - in_ECX[0xe] = (int)g_vectorOne.y; - in_ECX[0xf] = 0; - in_ECX[0x10] = (int)g_vectorZero.x; - in_ECX[0x11] = (int)g_vectorZero.y; - in_ECX[0x12] = 0x3f800000; - in_ECX[0x13] = 0x3f800000; - in_ECX[0x14] = 0x3f800000; - in_ECX[0x15] = 0x3f800000; - in_ECX[0x16] = 0; - in_ECX[0x17] = 0; - in_ECX[0x18] = 0; - in_ECX[0x19] = 0; - in_ECX[0x1a] = 0; - in_ECX[0x1b] = 0; - in_ECX[0x1c] = 0; - *(undefined1 *)(in_ECX + 0x1d) = 1; + this->_spriteSheetLoaded = 0; + this->field_0x31 = 0; + this->_flipX = 0; + this->_flipY = 0; + (this->_size).x = g_vectorOne.x; + (this->_size).y = g_vectorOne.y; + this->_rotation = 0.0; + (this->_pos).x = g_vectorZero.x; + (this->_pos).y = g_vectorZero.y; + (this->_color)._tint[0] = 1.0; + (this->_color)._tint[1] = 1.0; + (this->_color)._tint[2] = 1.0; + (this->_color)._tint[3] = 1.0; + (this->_color)._colorize[0] = 0.0; + (this->_color)._colorize[1] = 0.0; + (this->_color)._colorize[2] = 0.0; + (this->_color)._colorize[3] = 0.0; + (this->_color)._offset[0] = 0.0; + (this->_color)._offset[1] = 0.0; + (this->_color)._offset[2] = 0.0; + this->_visible = 1; uVar2 = g_graphicsManager_flags & 4; - in_ECX[0x1e] = 0; - in_ECX[0x20] = 7; + this->_blendMode[0] = 0; + this->_blendMode[2] = 7; iVar4 = 1; if (uVar2 == 0) { iVar4 = 6; } - in_ECX[0x21] = 1; - in_ECX[0x1f] = iVar4; - in_ECX[0x22] = 7; - in_ECX[8] = DAT_00c3799c; - in_ECX[9] = DAT_00c379a0; - in_ECX[10] = DAT_00c379a4; - in_ECX[0xb] = DAT_00c379a8; - in_ECX[0x23] = 0; - in_ECX[0x24] = (int)g_vectorZero.x; - in_ECX[0x25] = (int)g_vectorZero.y; + this->_blendMode[3] = 1; + this->_blendMode[1] = iVar4; + this->_blendMode[4] = 7; + this->_minFilterMode = DAT_00c3799c; + this->_magFilterMode = DAT_00c379a0; + this->_wrapSMode = DAT_00c379a4; + this->_wrapTMode = DAT_00c379a8; + this->_bitflags = 0; + (this->_cropOffset).x = g_vectorZero.x; + (this->_cropOffset).y = g_vectorZero.y; ExceptionList = local_10; return; } @@ -5014,34 +5019,33 @@ LAB_00408423: /* DB: src/anm2 decompile labels (LayerState::GetTexture) */ -undefined4 LayerState::GetTexture(undefined4 param_1) +undefined4 __thiscall LayerState::GetTexture(LayerState *this,undefined4 param_2) { int iVar1; int iVar2; - int in_ECX; int *piVar3; - piVar3 = *(int **)(in_ECX + 0x98); + piVar3 = (int *)this->_spriteSheet; if (piVar3 != (int *)0x0) { - iVar1 = *(int *)(in_ECX + 0x20); - if (((piVar3[0xc] != iVar1) || (piVar3[0xd] != *(int *)(in_ECX + 0x24))) && - ((iVar2 = *(int *)(in_ECX + 0x24), iVar1 != piVar3[0xc] || (iVar2 != piVar3[0xd])))) { + iVar1 = this->_minFilterMode; + if (((piVar3[0xc] != iVar1) || (piVar3[0xd] != this->_magFilterMode)) && + ((iVar2 = this->_magFilterMode, iVar1 != piVar3[0xc] || (iVar2 != piVar3[0xd])))) { (**(code **)(*piVar3 + 0x44))(iVar1,iVar2); piVar3[0xc] = iVar1; piVar3[0xd] = iVar2; - piVar3 = *(int **)(in_ECX + 0x98); + piVar3 = (int *)this->_spriteSheet; } - iVar1 = *(int *)(in_ECX + 0x28); - if (((piVar3[0xe] != iVar1) || (piVar3[0xf] != *(int *)(in_ECX + 0x2c))) && - ((iVar2 = *(int *)(in_ECX + 0x2c), iVar1 != piVar3[0xe] || (iVar2 != piVar3[0xf])))) { + iVar1 = this->_wrapSMode; + if (((piVar3[0xe] != iVar1) || (piVar3[0xf] != this->_wrapTMode)) && + ((iVar2 = this->_wrapTMode, iVar1 != piVar3[0xe] || (iVar2 != piVar3[0xf])))) { (**(code **)(*piVar3 + 0x48))(iVar1,iVar2); piVar3[0xe] = iVar1; piVar3[0xf] = iVar2; } } - KAGE::SmartPointer::operator_assign(in_ECX + 0x98); - return param_1; + KAGE::SmartPointer::operator_assign(&this->_spriteSheet); + return param_2; } @@ -5049,12 +5053,11 @@ undefined4 LayerState::GetTexture(undefined4 param_1) /* DB: src/anm2 decompile labels (LayerState::SetTexture) */ -void LayerState::SetTexture(int param_1,int *param_2) +void __thiscall LayerState::SetTexture(LayerState *this,int param_2,int *param_3) { char cVar1; uint uVar2; - int in_ECX; void *local_10; undefined1 *puStack_c; undefined4 local_8; @@ -5064,18 +5067,18 @@ void LayerState::SetTexture(int param_1,int *param_2) uVar2 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; local_8 = 0; - if (param_1 != 0) { - *(undefined4 *)(in_ECX + 0x20) = *(undefined4 *)(param_1 + 0x30); - *(undefined4 *)(in_ECX + 0x24) = *(undefined4 *)(param_1 + 0x34); - *(undefined4 *)(in_ECX + 0x28) = *(undefined4 *)(param_1 + 0x38); - *(undefined4 *)(in_ECX + 0x2c) = *(undefined4 *)(param_1 + 0x3c); + if (param_2 != 0) { + this->_minFilterMode = *(int *)(param_2 + 0x30); + this->_magFilterMode = *(int *)(param_2 + 0x34); + this->_wrapSMode = *(int *)(param_2 + 0x38); + this->_wrapTMode = *(int *)(param_2 + 0x3c); } - KAGE::SmartPointer::operator_assign(¶m_1); + KAGE::SmartPointer::operator_assign(¶m_2); local_8 = 1; - if (param_2 != (int *)0x0) { - cVar1 = (**(code **)(*param_2 + 0xc))(uVar2); + if (param_3 != (int *)0x0) { + cVar1 = (**(code **)(*param_3 + 0xc))(uVar2); if ((cVar1 != '\0') && (g_imageReleaseFn != (void *)0x0)) { - (*g_imageReleaseFn)(¶m_1); + (*g_imageReleaseFn)(¶m_2); } } ExceptionList = local_10; @@ -5708,7 +5711,7 @@ AnimationLayer::RenderFrame void *unused; uint extraout_EDX; uint extraout_EDX_00; - RNG animation_00; + ANM2 *animation_00; LayerState *pLVar13; undefined1 auStack_212 [2]; undefined1 local_208 [112]; @@ -5717,11 +5720,11 @@ AnimationLayer::RenderFrame int iStack_190; int iStack_18c; undefined4 local_184; - RNG RStack_180; - undefined4 uStack_17c; + ANM2 *pAStack_180; + int iStack_17c; float fStack_178; undefined4 local_174; - undefined4 local_170; + int local_170; int local_16c; Vector *local_164; AnimationFrame *local_160; @@ -5730,15 +5733,13 @@ AnimationLayer::RenderFrame float local_130; undefined4 local_124; RNG RStack_120; - undefined8 uStack_11c; - undefined4 local_114; uint local_110; LayerState *local_10c; AnimationFrame *local_108; - RNG local_104; + ANM2 *local_104; undefined4 local_50; - RNG RStack_4c; - undefined4 uStack_48; + ANM2 *pAStack_4c; + int iStack_48; float fStack_44; float local_34; uint local_24; @@ -5753,7 +5754,7 @@ AnimationLayer::RenderFrame local_1c = ExceptionList; local_24 = __security_cookie ^ (int)register0x00000010 - 0x10U; local_138 = position; - local_104 = (RNG)animation; + local_104 = animation; if (*(char *)(this + 3) == '\0') { return; } @@ -5773,7 +5774,7 @@ AnimationLayer::RenderFrame } ExceptionList = &local_1c; local_10c = pLVar13; - piVar9 = (int *)LayerState::GetTexture(); + piVar9 = (int *)LayerState::GetTexture(pLVar13); iVar12 = *piVar9; FUN_0040c440(); animation_00 = local_104; @@ -5781,17 +5782,17 @@ AnimationLayer::RenderFrame ExceptionList = local_1c; return; } - local_110 = *(int *)((int)local_104 + 0x110) | pLVar13->_bitflags; + local_110 = local_104->_bitflags | pLVar13->_bitflags; if (((local_110 & 4) != 0) && (DAT_00c7977e == '\0')) { ExceptionList = local_1c; return; } - local_170 = DAT_00c79910; - DAT_00c79910 = *(undefined4 *)&pLVar13->field_0x88; - iVar12 = *(int *)&pLVar13->field_0x78; - iVar1 = *(int *)&pLVar13->field_0x7c; - iVar2 = *(int *)&pLVar13->field_0x80; - iVar3 = *(int *)&pLVar13->field_0x84; + local_170 = g_graphicsManager_blendMode[4]; + g_graphicsManager_blendMode[4] = pLVar13->_blendMode[4]; + iVar12 = pLVar13->_blendMode[0]; + iVar1 = pLVar13->_blendMode[1]; + iVar2 = pLVar13->_blendMode[2]; + iVar3 = pLVar13->_blendMode[3]; local_198 = g_graphicsManager_blendMode[0]; iStack_194 = g_graphicsManager_blendMode[1]; iStack_190 = g_graphicsManager_blendMode[2]; @@ -5802,7 +5803,7 @@ AnimationLayer::RenderFrame g_graphicsManager_blendMode[3] = iVar3; if ((local_110 & 1) == 0) { if (g_colorStackSize == 0) { - Color::operator_assign((ColorMod *)((int)local_104 + 0xa8)); + Color::operator_assign(&local_104->_color); FUN_004072e0(); FUN_004072e0(); animation_00 = local_104; @@ -5814,7 +5815,7 @@ AnimationLayer::RenderFrame Color::operator_assign(); } else { - Color::operator_assign(&pLVar13->field_0x48); + Color::operator_assign(&pLVar13->_color); FUN_004072e0(); } Color::operator_assign(); @@ -5826,25 +5827,27 @@ AnimationLayer::RenderFrame fStack_44 = local_130; } local_130 = fStack_44; - GetSourceQuad(&local_15c,unused,local_108,local_10c,topLeftClamp,BottomRightClamp, - (ANM2 *)animation_00); + GetSourceQuad(&local_15c,unused,local_108,local_10c,topLeftClamp,BottomRightClamp,animation_00); pAVar8 = local_108; + pLVar13 = local_10c; render_build_sprite_quad(local_208,local_138,local_108,local_10c,topLeftClamp); if (DAT_00c7977f != '\0') { - uStack_11c = 0x900000005; - RStack_120 = local_104; + RStack_120._shift1 = 5; + RStack_120._shift2 = 9; + RStack_120._seed = (int)local_104; local_160 = (AnimationFrame *)(pAVar8->height * 0.5 + (pAVar8->crop).y); local_164 = (Vector *)(pAVar8->width * 0.5 + (pAVar8->crop).x); - local_114 = 7; + RStack_120._shift3 = 7; local_138 = local_164; local_108 = local_160; KAGE::SmartPointer::operator_assign(); local_14 = 0; - piVar9 = (int *)LayerState::GetTexture(); + piVar9 = (int *)LayerState::GetTexture(pLVar13); iVar12 = *piVar9; FUN_0040c440(); local_14 = 0xffffffff; FUN_0040c440(); + pLVar13 = local_10c; if (iVar12 == local_16c) { local_164 = (Vector *)((float)local_138 + (local_10c->_cropOffset).x); local_160 = (AnimationFrame *)((float)local_108 + (local_10c->_cropOffset).y); @@ -5869,15 +5872,16 @@ AnimationLayer::RenderFrame } if ((local_110 & 0x10) != 0) { FUN_00682260(); - LayerState::GetTexture(auStack_212 + -10); + LayerState::GetTexture(pLVar13,auStack_212 + -10); apply_sprite_shader_params(1); Shader::set_uniform("ChampionColor",0xb); - puVar11 = (undefined4 *)LayerState::GetTexture(); + puVar11 = (undefined4 *)LayerState::GetTexture(pLVar13); local_14 = 1; - local_114 = 0; + RStack_120._shift3 = 0; local_124 = local_50; - RStack_120 = RStack_4c; - uStack_11c = CONCAT44(fStack_44,uStack_48); + RStack_120._seed = (int)pAStack_4c; + RStack_120._shift2 = (int)fStack_44; + RStack_120._shift1 = iStack_48; (**(code **)(*(int *)*puVar11 + 0x14))(&local_15c); local_14 = 0xffffffff; FUN_0040c440(); @@ -5898,30 +5902,31 @@ AnimationLayer::RenderFrame uVar10 = (uVar10 - 1 | 0xffffff00) + 1; } local_34 = (float)(int)uVar10 * 0.00390625; - LayerState::GetTexture(auStack_212 + -10); + LayerState::GetTexture(pLVar13,auStack_212 + -10); apply_sprite_shader_params(1); - puVar11 = (undefined4 *)LayerState::GetTexture(); + puVar11 = (undefined4 *)LayerState::GetTexture(pLVar13); local_14 = 3; goto LAB_004096ad; } if ((local_110 & 0x200) != 0) { - puVar11 = (undefined4 *)LayerState::GetTexture(); + puVar11 = (undefined4 *)LayerState::GetTexture(pLVar13); local_14 = 4; iVar12 = *(int *)*puVar11; local_124 = local_50; - RStack_120 = RStack_4c; - uStack_11c = CONCAT44(local_130,uStack_48); + RStack_120._seed = (int)pAStack_4c; + RStack_120._shift2 = (int)local_130; + RStack_120._shift1 = iStack_48; goto LAB_004096bc; } FUN_00682260(); - LayerState::GetTexture(auStack_212 + -10); + LayerState::GetTexture(pLVar13,auStack_212 + -10); apply_sprite_shader_params(1); - puVar11 = (undefined4 *)LayerState::GetTexture(); + puVar11 = (undefined4 *)LayerState::GetTexture(pLVar13); local_14 = 5; local_174 = 0; local_184 = local_50; - RStack_180 = RStack_4c; - uStack_17c = uStack_48; + pAStack_180 = pAStack_4c; + iStack_17c = iStack_48; fStack_178 = fStack_44; (**(code **)(*(int *)*puVar11 + 0x14))(&local_15c); } @@ -5938,17 +5943,18 @@ AnimationLayer::RenderFrame uVar10 = (uVar10 - 1 | 0xffffff00) + 1; } local_34 = (float)(int)uVar10 * 0.00390625; - LayerState::GetTexture(auStack_212 + -10); + LayerState::GetTexture(pLVar13,auStack_212 + -10); apply_sprite_shader_params(1); - puVar11 = (undefined4 *)LayerState::GetTexture(); + puVar11 = (undefined4 *)LayerState::GetTexture(pLVar13); local_14 = 2; LAB_004096ad: iVar12 = *(int *)*puVar11; local_124 = local_50; - RStack_120 = RStack_4c; - uStack_11c = CONCAT44(fStack_44,uStack_48); + RStack_120._seed = (int)pAStack_4c; + RStack_120._shift2 = (int)fStack_44; + RStack_120._shift1 = iStack_48; LAB_004096bc: - local_114 = 0; + RStack_120._shift3 = 0; (**(code **)(iVar12 + 0x14))(&local_15c); } local_14 = 0xffffffff; @@ -5958,7 +5964,7 @@ LAB_0040983b: g_graphicsManager_blendMode[1] = iStack_194; g_graphicsManager_blendMode[2] = iStack_190; g_graphicsManager_blendMode[3] = iStack_18c; - DAT_00c79910 = local_170; + g_graphicsManager_blendMode[4] = local_170; shader_cache_find(); ExceptionList = local_1c; return; @@ -7906,12 +7912,11 @@ LayerState * __thiscall ANM2::GetLayer(ANM2 *this,byte *layerName) std::string, returns LayerState* or 0 (the byte* overload is ANM2::GetLayer); RichTextIcon::render/get_size */ -int ANM2::get_layer_by_string(undefined4 *param_1) +void * __thiscall ANM2::get_layer_by_string(ANM2 *this,undefined4 *param_2) { char cVar1; undefined4 *puVar2; - int in_ECX; uint uVar3; int iVar4; uint uVar5; @@ -7920,10 +7925,10 @@ int ANM2::get_layer_by_string(undefined4 *param_1) uint local_10; uVar3 = 0; - if (*(int *)(in_ECX + 0x80) != 0) { + if (this->_layerCount != 0) { local_2c = 0; do { - iVar4 = *(int *)(local_2c + *(int *)(in_ECX + 0x7c)); + iVar4 = *(int *)(local_2c + (int)this->_layerState); if (iVar4 == 0) { local_24 = 0; local_10 = 0xf; @@ -7931,11 +7936,11 @@ int ANM2::get_layer_by_string(undefined4 *param_1) else { std::string::string(iVar4 + 8); } - puVar2 = param_1; - if (0xf < (uint)param_1[5]) { - puVar2 = (undefined4 *)*param_1; + puVar2 = param_2; + if (0xf < (uint)param_2[5]) { + puVar2 = (undefined4 *)*param_2; } - cVar1 = str_eq(puVar2,param_1[4]); + cVar1 = str_eq(puVar2,param_2[4]); if (0xf < local_10) { uVar5 = local_10 + 1; iVar4 = local_24; @@ -7950,13 +7955,13 @@ int ANM2::get_layer_by_string(undefined4 *param_1) operator_delete(iVar4,uVar5); } if (cVar1 != '\0') { - return uVar3 * 0xa0 + *(int *)(in_ECX + 0x7c); + return (void *)(uVar3 * 0xa0 + (int)this->_layerState); } uVar3 = uVar3 + 1; local_2c = local_2c + 0xa0; - } while (uVar3 < *(uint *)(in_ECX + 0x80)); + } while (uVar3 < (uint)this->_layerCount); } - return 0; + return (void *)0x0; } @@ -8215,7 +8220,7 @@ ANM2::GetTexel(undefined4 *param_1,byte *param_2,float param_3,float param_4,und layer = GetLayer((ANM2 *)*local_a4,layerName); if (local_98.visible != 0) { if (layer->_visible != 0) { - pfVar4 = (float *)LayerState::GetTexture(local_d8); + pfVar4 = (float *)LayerState::GetTexture(layer,local_d8); local_a8 = *pfVar4; local_14 = 0; unused = (void *)0x0; @@ -8309,7 +8314,7 @@ ANM2::GetTexel(undefined4 *param_1,byte *param_2,float param_3,float param_4,und } param_4 = (local_118._bottomRight.y - local_118._topLeft.y) * fVar10 + local_118._topLeft.y; - puVar5 = (undefined4 *)LayerState::GetTexture(local_e0); + puVar5 = (undefined4 *)LayerState::GetTexture(layer,local_e0); local_14 = 1; (**(code **)(*(int *)*puVar5 + 0x2c))(&local_cc,(int)param_3,(int)param_4); local_14 = 2; @@ -8683,9 +8688,10 @@ void Sprite::LoadGraphics(void) void __thiscall ANM2::LoadGraphics(ANM2 *this,byte unk) { - undefined4 uVar1; - char cVar2; - int iVar3; + void *pvVar1; + undefined4 uVar2; + char cVar3; + int iVar4; undefined4 **ppuStack_58; undefined4 **ppuStack_54; uint uStack_50; @@ -8693,7 +8699,7 @@ void __thiscall ANM2::LoadGraphics(ANM2 *this,byte unk) int *local_38; undefined4 **local_34; int *local_30; - int local_2c; + LayerState *local_2c; undefined4 **local_28; int *local_24; ANM2 *local_20; @@ -8709,12 +8715,12 @@ void __thiscall ANM2::LoadGraphics(ANM2 *this,byte unk) ExceptionList = &local_10; local_1c = 0; if (this->_layerCount != 0) { - iVar3 = 0; + iVar4 = 0; local_20 = this; do { local_8 = 0xffffffff; - if (*(char *)(iVar3 + 0x30 + (int)this->_layerState) == '\0') { - ppuStack_54 = (undefined4 **)((int)this->_layerState + iVar3 + 8); + if (*(char *)(iVar4 + 0x30 + (int)this->_layerState) == '\0') { + ppuStack_54 = (undefined4 **)((int)this->_layerState + iVar4 + 8); if (0xf < ppuStack_54[5]) { ppuStack_54 = (undefined4 **)*ppuStack_54; } @@ -8727,47 +8733,48 @@ LAB_0040c096: } else { ppuStack_54 = (undefined4 **)0x40c079; - cVar2 = (*(code *)**local_34)(); - if (cVar2 == '\0') goto LAB_0040c096; + cVar3 = (*(code *)**local_34)(); + if (cVar3 == '\0') goto LAB_0040c096; local_15 = 1; KAGE::SmartPointer::operator_assign(&local_34); TextureCache::Add(); } ppuStack_54 = (undefined4 **)&local_3c; ppuStack_58 = (undefined4 **)0x40c0a8; - LayerState::GetTexture(); + LayerState::GetTexture((LayerState *)((int)this->_layerState + iVar4)); local_8 = CONCAT31(local_8._1_3_,1); if (local_3c != 0) { - uVar1 = *(undefined4 *)(local_3c + 0x44); + pvVar1 = this->_layerState; + uVar2 = *(undefined4 *)(local_3c + 0x44); KAGE::SmartPointer::SmartPointer(0); - LayerState::SetTexture(); + LayerState::SetTexture((LayerState *)((int)pvVar1 + iVar4)); ppuStack_58 = (undefined4 **)0x40c0d4; - ppuStack_54 = (undefined4 **)uVar1; + ppuStack_54 = (undefined4 **)uVar2; TextureCache::Release(); this = local_20; } - local_2c = (int)this->_layerState + iVar3; + local_2c = (LayerState *)((int)this->_layerState + iVar4); ppuStack_58 = (undefined4 **)0x0; ppuStack_54 = (undefined4 **)0x0; local_24 = local_30; local_28 = local_34; - if ((local_30 != (int *)0x0) && (cVar2 = (**(code **)(*local_30 + 4))(), cVar2 != '\0')) { + if ((local_30 != (int *)0x0) && (cVar3 = (**(code **)(*local_30 + 4))(), cVar3 != '\0')) { if ((ppuStack_54 != (undefined4 **)0x0) && - ((cVar2 = (**(code **)((int)*ppuStack_54 + 0xc))(), cVar2 != '\0' && + ((cVar3 = (**(code **)((int)*ppuStack_54 + 0xc))(), cVar3 != '\0' && (g_imageReleaseFn != (void *)0x0)))) { (*g_imageReleaseFn)(&ppuStack_58); } ppuStack_54 = (undefined4 **)local_24; ppuStack_58 = local_28; } - LayerState::SetTexture(); - *(undefined1 *)(iVar3 + 0x30 + (int)this->_layerState) = local_15; - *(undefined1 *)(iVar3 + 0x31 + (int)this->_layerState) = 0; + LayerState::SetTexture(local_2c); + *(undefined1 *)(iVar4 + 0x30 + (int)this->_layerState) = local_15; + *(undefined1 *)(iVar4 + 0x31 + (int)this->_layerState) = 0; local_8 = CONCAT31(local_8._1_3_,2); if (local_38 != (int *)0x0) { ppuStack_54 = (undefined4 **)0x40c164; - cVar2 = (**(code **)(*local_38 + 0xc))(); - if ((cVar2 != '\0') && (g_imageReleaseFn != (void *)0x0)) { + cVar3 = (**(code **)(*local_38 + 0xc))(); + if ((cVar3 != '\0') && (g_imageReleaseFn != (void *)0x0)) { ppuStack_54 = (undefined4 **)&local_3c; ppuStack_58 = (undefined4 **)0x40c177; (*g_imageReleaseFn)(); @@ -8776,8 +8783,8 @@ LAB_0040c096: local_8 = 3; if (local_30 != (int *)0x0) { ppuStack_54 = (undefined4 **)0x40c18f; - cVar2 = (**(code **)(*local_30 + 0xc))(); - if ((cVar2 != '\0') && (g_imageReleaseFn != (void *)0x0)) { + cVar3 = (**(code **)(*local_30 + 0xc))(); + if ((cVar3 != '\0') && (g_imageReleaseFn != (void *)0x0)) { ppuStack_54 = &local_34; ppuStack_58 = (undefined4 **)0x40c1a2; (*g_imageReleaseFn)(); @@ -8785,7 +8792,7 @@ LAB_0040c096: } } local_1c = local_1c + 1; - iVar3 = iVar3 + 0xa0; + iVar4 = iVar4 + 0xa0; } while (local_1c < (uint)this->_layerCount); } ExceptionList = local_10; @@ -10899,7 +10906,8 @@ void AnmCache::Load(char *param_1,int param_2) local_130 = (char *)0x0; local_134 = (undefined4 *)0x0; do { - LayerState::Init(*(int *)((int)puVar13 + 0x18) + (int)local_134); + LayerState::Init((LayerState *)(local_130 + *(int *)((int)pcVar7 + 0x7c)), + *(int *)((int)puVar13 + 0x18) + (int)local_134); local_134 = local_134 + 0xe; *(char **)(local_130 + *(int *)((int)pcVar7 + 0x7c) + 4) = pcVar7; local_130 = local_130 + 0xa0; @@ -16508,7 +16516,7 @@ int FUN_00414500(undefined4 param_1) int *piVar1; undefined1 local_10 [12]; - piVar1 = (int *)FUN_004158b0(local_10,param_1); + piVar1 = (int *)std::map::_Try_emplace(local_10,param_1); return *piVar1 + 0x14; } @@ -17845,9 +17853,12 @@ void std::map::_Erase_tree(undefined4 param_1,int *param_ } -//@@ 004158b0 FUN_004158b0 +//@@ 004158b0 std::map::_Try_emplace -void FUN_004158b0(int *param_1,uint *param_2) +/* DB: ? g_anmCacheMap: FUN_00416490 lower bound on uint key, operator_new(0x54) node; from + FUN_00414500 */ + +void std::map::_Try_emplace(int *param_1,uint *param_2) { char cVar1; @@ -20001,7 +20012,7 @@ void __thiscall EntityList_EL::constructor(EntityList_EL *this,EntityList_EL *so { *(undefined1 *)this = 1; this->_data = source->_data; - *(undefined4 *)&this->field_0x8 = *(undefined4 *)&source->field_0x8; + this->_capacity = source->_capacity; this->_size = source->_size; return; } @@ -20668,17 +20679,17 @@ void __thiscall EntityList::Reset(EntityList *this) (this->_updateEL)._size = 0; (this->_renderEL)._size = 0; *(undefined4 *)&this->field_0x6c = 0; - if (*(int *)&this->field_0x2c != 0) { + if ((this->_mainEL)._size != 0) { do { - piVar2 = *(int **)(*(int *)&this->field_0x24 + uVar5 * 4); + piVar2 = *(int **)((int)(this->_mainEL)._data + uVar5 * 4); if ((piVar2[0x5b] & 0x20U) == 0) { (**(code **)(*piVar2 + 0x44))(); - *(undefined1 *)(*(int *)(*(int *)&this->field_0x24 + uVar5 * 4) + 0x170) = 0; - (**(code **)(**(int **)(*(int *)&this->field_0x24 + uVar5 * 4) + 0x28))(); + *(undefined1 *)(*(int *)((int)(this->_mainEL)._data + uVar5 * 4) + 0x170) = 0; + (**(code **)(**(int **)((int)(this->_mainEL)._data + uVar5 * 4) + 0x28))(); } else { iVar4 = (this->_updateEL)._size; - if (*(uint *)&(this->_updateEL).field_0x8 < iVar4 + 1U) { + if ((uint)(this->_updateEL)._capacity < iVar4 + 1U) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"EL: not enough space for push_back\n"); } @@ -20686,78 +20697,81 @@ void __thiscall EntityList::Reset(EntityList *this) piVar2 = &(this->_updateEL)._size; *piVar2 = *piVar2 + 1; iVar4 = (this->_renderEL)._size; - if (*(uint *)&(this->_renderEL).field_0x8 < iVar4 + 1U) { + if ((uint)(this->_renderEL)._capacity < iVar4 + 1U) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"EL: not enough space for push_back\n"); } *(undefined4 *)((int)(this->_renderEL)._data + iVar4 * 4) = - *(undefined4 *)(*(int *)&this->field_0x24 + uVar5 * 4); + *(undefined4 *)((int)(this->_mainEL)._data + uVar5 * 4); piVar2 = &(this->_renderEL)._size; *piVar2 = *piVar2 + 1; } uVar5 = uVar5 + 1; - } while (uVar5 < *(uint *)&this->field_0x2c); + } while (uVar5 < (uint)(this->_mainEL)._size); iVar4 = (this->_updateEL)._size; } uVar5 = 0; - *(undefined4 *)&this->field_0x2c = 0; - *(undefined4 *)&this->field_0x9c = 0; + (this->_mainEL)._size = 0; + (this->_wispEL)._size = 0; if (iVar4 != 0) { iVar4 = 0; do { iVar1 = uVar5 * 4; - if (*(uint *)&this->field_0x28 < iVar4 + 1U) { + if ((uint)(this->_mainEL)._capacity < iVar4 + 1U) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"EL: not enough space for push_back\n"); } uVar5 = uVar5 + 1; - *(undefined4 *)(*(int *)&this->field_0x24 + iVar4 * 4) = + *(undefined4 *)((int)(this->_mainEL)._data + iVar4 * 4) = *(undefined4 *)((int)(this->_updateEL)._data + iVar1); - *(int *)&this->field_0x2c = *(int *)&this->field_0x2c + 1; - iVar4 = *(int *)&this->field_0x2c; + piVar2 = &(this->_mainEL)._size; + *piVar2 = *piVar2 + 1; + iVar4 = (this->_mainEL)._size; } while (uVar5 < (uint)(this->_updateEL)._size); } uVar5 = 0; - if (*(int *)&this->field_0x3c != 0) { + if ((this->_persistentEL)._size != 0) { do { iVar4 = (this->_updateEL)._size; - if (*(uint *)&(this->_updateEL).field_0x8 < iVar4 + 1U) { + if ((uint)(this->_updateEL)._capacity < iVar4 + 1U) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"EL: not enough space for push_back\n"); } *(undefined4 *)((int)(this->_updateEL)._data + iVar4 * 4) = - *(undefined4 *)(*(int *)&this->field_0x34 + uVar5 * 4); + *(undefined4 *)((int)(this->_persistentEL)._data + uVar5 * 4); piVar2 = &(this->_updateEL)._size; *piVar2 = *piVar2 + 1; iVar1 = (this->_renderEL)._size; iVar4 = uVar5 * 4; - if (*(uint *)&(this->_renderEL).field_0x8 < iVar1 + 1U) { + if ((uint)(this->_renderEL)._capacity < iVar1 + 1U) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"EL: not enough space for push_back\n"); } uVar5 = uVar5 + 1; *(undefined4 *)((int)(this->_renderEL)._data + iVar1 * 4) = - *(undefined4 *)(*(int *)&this->field_0x34 + iVar4); + *(undefined4 *)((int)(this->_persistentEL)._data + iVar4); piVar2 = &(this->_renderEL)._size; *piVar2 = *piVar2 + 1; - } while (uVar5 < *(uint *)&this->field_0x3c); + } while (uVar5 < (uint)(this->_persistentEL)._size); } uVar5 = 0; if ((this->_updateEL)._size != 0) { do { iVar4 = *(int *)((int)(this->_updateEL)._data + uVar5 * 4); if ((*(int *)(iVar4 + 0x28) == 3) && (*(int *)(iVar4 + 0x2c) == 0xce)) { - if (*(uint *)&this->field_0x98 < *(int *)&this->field_0x9c + 1U) { + iVar1 = (this->_wispEL)._size; + if ((uint)(this->_wispEL)._capacity < iVar1 + 1U) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"EL: not enough space for push_back\n"); } - *(int *)(*(int *)&this->field_0x94 + *(int *)&this->field_0x9c * 4) = iVar4; - *(int *)&this->field_0x9c = *(int *)&this->field_0x9c + 1; + *(int *)((int)(this->_wispEL)._data + iVar1 * 4) = iVar4; + piVar2 = &(this->_wispEL)._size; + *piVar2 = *piVar2 + 1; } uVar5 = uVar5 + 1; } while (uVar5 < (uint)(this->_updateEL)._size); } - iVar4 = *(int *)&this[1].field_0x38; + iVar4 = this[1]._persistentEL._capacity; this->_renderCursor = 0; this->_renderMode = 0; *(undefined4 *)(this + 1) = 0; @@ -20767,16 +20781,16 @@ void __thiscall EntityList::Reset(EntityList *this) *(undefined4 *)&this[1].field_0x10 = 0; *(undefined4 *)&this[1].field_0x14 = 0; *(undefined4 *)&this[1].field_0x18 = 0; - std::map::destroy_subtree(&this[1].field_0x38,*(undefined4 *)(iVar4 + 4)); + std::map::destroy_subtree(&this[1]._persistentEL._capacity,*(undefined4 *)(iVar4 + 4)); pMVar3 = g_manager; *(int *)(iVar4 + 4) = iVar4; *(int *)iVar4 = iVar4; *(int *)(iVar4 + 8) = iVar4; - *(undefined4 *)&this[1].field_0x3c = 0; + this[1]._persistentEL._size = 0; *(undefined4 *)&this->field_0x8c = 0; *(undefined4 *)&this[1]._updateEL = 0; *(undefined1 *)&this[1]._updateEL._data = 0; - *(undefined4 *)&this[1]._updateEL.field_0x8 = 0xfedcba76; + this[1]._updateEL._capacity = -0x123458a; if (((pMVar3->_netplayManager != *(NetplayManager *)(pMVar3 + 1)) && (*(int *)&this[6].field_0xc != 0)) && ((uint)pMVar3[1]._state < @@ -20980,7 +20994,7 @@ void EntityList::Update(char param_1) if (local_64 != local_80) { *(undefined4 *)&in_ECX[1]._updateEL = 0; *(undefined1 *)&in_ECX[1]._updateEL._data = 0; - *(undefined4 *)&in_ECX[1]._updateEL.field_0x8 = 0xfedcba76; + in_ECX[1]._updateEL._capacity = -0x123458a; uVar24 = *(uint *)&in_ECX[6].field_0xc; uVar21 = *(uint *)&in_ECX[6].field_0x8; if (uVar24 < 0x20) { @@ -20994,14 +21008,15 @@ void EntityList::Update(char param_1) local_7c[2] = local_7c[1]; *local_7c = pMVar9[1]._state; } - iVar3 = *(int *)&in_ECX[1].field_0x38; + iVar3 = in_ECX[1]._persistentEL._capacity; local_50 = in_ECX; - local_58 = std::map::destroy_subtree(&in_ECX[1].field_0x38,*(undefined4 *)(iVar3 + 4)); + local_58 = std::map::destroy_subtree + (&in_ECX[1]._persistentEL._capacity,*(undefined4 *)(iVar3 + 4)); *(int *)(iVar3 + 4) = iVar3; local_58 = local_58 & 0xffffff00; *(int *)iVar3 = iVar3; *(int *)(iVar3 + 8) = iVar3; - *(undefined4 *)&in_ECX[1].field_0x3c = 0; + in_ECX[1]._persistentEL._size = 0; local_40 = 0.0; local_78 = 0; EVar18 = (EntityPtr)(local_50->_updateEL)._size; @@ -21380,7 +21395,7 @@ LAB_0041915c: g_graphicsManager_blendMode[1] = 6; } g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; g_graphicsManager_flags = uVar13; if (local_21 != false) { shared_ptr::assign(); @@ -21509,11 +21524,11 @@ LAB_0041915c: } } while (uVar24 < uVar13); } - uVar13 = *(uint *)&pEVar25->field_0x9c; + uVar13 = (pEVar25->_wispEL)._size; uVar24 = 0; if (uVar13 != 0) { do { - if (*(char *)(*(int *)(*(int *)&pEVar25->field_0x94 + uVar24 * 4) + 0x172) == '\0') { + if (*(char *)(*(int *)((int)(pEVar25->_wispEL)._data + uVar24 * 4) + 0x172) == '\0') { if (uVar13 <= uVar24) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"EL: invalid index for remove\n"); @@ -21521,29 +21536,30 @@ LAB_0041915c: uVar21 = uVar24; if (uVar24 < uVar13 - 1) { do { - *(undefined4 *)(*(int *)&pEVar25->field_0x94 + uVar21 * 4) = - *(undefined4 *)(*(int *)&pEVar25->field_0x94 + 4 + uVar21 * 4); + pvVar4 = (pEVar25->_wispEL)._data; + *(undefined4 *)((int)pvVar4 + uVar21 * 4) = + *(undefined4 *)((int)pvVar4 + uVar21 * 4 + 4); uVar21 = uVar21 + 1; - uVar13 = *(uint *)&pEVar25->field_0x9c; + uVar13 = (pEVar25->_wispEL)._size; } while (uVar21 < uVar13 - 1); } uVar13 = uVar13 - 1; - *(uint *)&pEVar25->field_0x9c = uVar13; + (pEVar25->_wispEL)._size = uVar13; } else { uVar24 = uVar24 + 1; } } while (uVar24 < uVar13); } - uVar13 = *(uint *)&pEVar25->field_0x2c; + uVar13 = (pEVar25->_mainEL)._size; uVar24 = 0; if (uVar13 != 0) { do { - piVar23 = *(int **)(*(int *)&pEVar25->field_0x24 + uVar24 * 4); + piVar23 = *(int **)((int)(pEVar25->_mainEL)._data + uVar24 * 4); if (*(char *)((int)piVar23 + 0x172) == '\0') { (**(code **)(*piVar23 + 0x44))(); - *(undefined1 *)(*(int *)(*(int *)&pEVar25->field_0x24 + uVar24 * 4) + 0x170) = 0; - uVar13 = *(uint *)&pEVar25->field_0x2c; + *(undefined1 *)(*(int *)((int)(pEVar25->_mainEL)._data + uVar24 * 4) + 0x170) = 0; + uVar13 = (pEVar25->_mainEL)._size; if (uVar13 <= uVar24) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"EL: invalid index for remove\n"); @@ -21551,34 +21567,35 @@ LAB_0041915c: uVar21 = uVar24; if (uVar24 < uVar13 - 1) { do { - *(undefined4 *)(*(int *)&pEVar25->field_0x24 + uVar21 * 4) = - *(undefined4 *)(*(int *)&pEVar25->field_0x24 + 4 + uVar21 * 4); + pvVar4 = (pEVar25->_mainEL)._data; + *(undefined4 *)((int)pvVar4 + uVar21 * 4) = + *(undefined4 *)((int)pvVar4 + uVar21 * 4 + 4); uVar21 = uVar21 + 1; - uVar13 = *(uint *)&pEVar25->field_0x2c; + uVar13 = (pEVar25->_mainEL)._size; } while (uVar21 < uVar13 - 1); } uVar13 = uVar13 - 1; - *(uint *)&pEVar25->field_0x2c = uVar13; + (pEVar25->_mainEL)._size = uVar13; } else { uVar24 = uVar24 + 1; } } while (uVar24 < uVar13); } - uVar13 = *(uint *)&pEVar25->field_0x3c; + uVar13 = (pEVar25->_persistentEL)._size; uVar24 = 0; if (uVar13 != 0) { do { - piVar23 = *(int **)(*(int *)&pEVar25->field_0x34 + uVar24 * 4); + piVar23 = *(int **)((int)(pEVar25->_persistentEL)._data + uVar24 * 4); if (*(char *)((int)piVar23 + 0x172) == '\0') { local_21 = SUB41(piVar23[0x5c],0); (**(code **)(*piVar23 + 0x44))(); - *(undefined1 *)(*(int *)(*(int *)&pEVar25->field_0x34 + uVar24 * 4) + 0x170) = 0; - puVar17 = *(undefined4 **)(*(int *)&pEVar25->field_0x34 + uVar24 * 4); + *(undefined1 *)(*(int *)((int)(pEVar25->_persistentEL)._data + uVar24 * 4) + 0x170) = 0; + puVar17 = *(undefined4 **)((int)(pEVar25->_persistentEL)._data + uVar24 * 4); if (((puVar17[10] == 1) && (local_21 != false)) && (puVar17 != (undefined4 *)0x0)) { (**(code **)*puVar17)(); } - uVar13 = *(uint *)&pEVar25->field_0x3c; + uVar13 = (pEVar25->_persistentEL)._size; if (uVar13 <= uVar24) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"EL: invalid index for remove\n"); @@ -21586,14 +21603,15 @@ LAB_0041915c: uVar21 = uVar24; if (uVar24 < uVar13 - 1) { do { - *(undefined4 *)(*(int *)&pEVar25->field_0x34 + uVar21 * 4) = - *(undefined4 *)(*(int *)&pEVar25->field_0x34 + 4 + uVar21 * 4); + pvVar4 = (pEVar25->_persistentEL)._data; + *(undefined4 *)((int)pvVar4 + uVar21 * 4) = + *(undefined4 *)((int)pvVar4 + uVar21 * 4 + 4); uVar21 = uVar21 + 1; - uVar13 = *(uint *)&pEVar25->field_0x3c; + uVar13 = (pEVar25->_persistentEL)._size; } while (uVar21 < uVar13 - 1); } uVar13 = uVar13 - 1; - *(uint *)&pEVar25->field_0x3c = uVar13; + (pEVar25->_persistentEL)._size = uVar13; } else { uVar24 = uVar24 + 1; @@ -21613,12 +21631,12 @@ LAB_0041915c: if (bVar12 < 4) { memset(&pEVar25[1]._updateEL.field_0x0 + bVar12,0,(uint)(byte)(4 - bVar12)); } - uVar13 = *(uint *)&pEVar25[1]._updateEL.field_0x8; + uVar13 = pEVar25[1]._updateEL._capacity; *(undefined1 *)&pEVar25[1]._updateEL._data = 0; - *(uint *)&pEVar25[1]._updateEL.field_0x8 = + pEVar25[1]._updateEL._capacity = (uVar13 >> 1) + uVar13 * -0x80000000 + *(int *)&pEVar25[1]._updateEL; } - local_7c[5] = *(int *)&pEVar25[1]._updateEL.field_0x8; + local_7c[5] = pEVar25[1]._updateEL._capacity; *(NetplayManager *)(local_7c + 4) = local_64; } ExceptionList = local_1c; @@ -21711,7 +21729,7 @@ void __thiscall EntityList::sort_by_render_z(EntityList *this) } while (iVar8 < local_c); local_8 = (this->_renderEL)._size; } - iVar8 = (*(uint *)&(this->_renderEL).field_0x8 >> 4) + 1; + iVar8 = ((uint)(this->_renderEL)._capacity >> 4) + 1; if ((g_game->_frameCount & 1) == 0) { local_14 = 1; local_18 = 0; @@ -21999,14 +22017,15 @@ void EntityList::rebuild_sublists(void) undefined4 uVar2; void *pvVar3; Entity *pEVar4; - bool bVar5; - undefined4 uVar6; - undefined4 *puVar7; + float fVar5; + bool bVar6; + undefined4 uVar7; + undefined4 *puVar8; int in_ECX; - int iVar8; - int *piVar9; - PlayerManager *pPVar10; - uint uVar11; + int iVar9; + Entity *pEVar10; + PlayerManager *pPVar11; + uint uVar12; uint local_1c; uint local_14; @@ -22020,15 +22039,15 @@ void EntityList::rebuild_sublists(void) FUN_0041baf0(); FUN_0041baf0(); local_14 = 0; - bVar5 = false; + bVar6 = false; local_1c = 0; if (*(int *)(in_ECX + 0x4c) != 0) { do { iVar1 = *(int *)(*(int *)(in_ECX + 0x44) + local_1c * 4); *(undefined1 *)(iVar1 + 0x18c) = 0; if (*(int *)(iVar1 + 0x188) != 0) { - iVar8 = *(int *)(iVar1 + 0x28); - if (iVar8 == 3) { + iVar9 = *(int *)(iVar1 + 0x28); + if (iVar9 == 3) { if (*(int *)(iVar1 + 0x2c) == 0xef) { CellSpace::insert(iVar1); } @@ -22036,49 +22055,49 @@ LAB_0041a0aa: CellSpace::insert(iVar1); LAB_0041a0b4: *(uint *)(iVar1 + 0x24) = local_14; - iVar8 = *(int *)(iVar1 + 0x28); + iVar9 = *(int *)(iVar1 + 0x28); local_14 = local_14 + 1; } else { - if (iVar8 == 9) { + if (iVar9 == 9) { CellSpace::insert(iVar1); - if ((!bVar5) && ((*(uint *)(iVar1 + 0x43c) & 0x1000) != 0)) { - bVar5 = true; + if ((!bVar6) && ((*(uint *)(iVar1 + 0x43c) & 0x1000) != 0)) { + bVar6 = true; } if ((*(uint *)(iVar1 + 0x438) & 0x80) == 0) goto LAB_0041a0b4; goto LAB_0041a0aa; } - if ((iVar8 == 2) || (iVar8 == 8)) { - if ((!bVar5) && (iVar8 == 2)) { + if ((iVar9 == 2) || (iVar9 == 8)) { + if ((!bVar6) && (iVar9 == 2)) { if (((*(uint *)(iVar1 + 0x428) & DAT_00c34c60) != 0 || (*(uint *)(iVar1 + 0x42c) & DAT_00c34c64) != 0) || ((*(uint *)(iVar1 + 0x430) & DAT_00c34c68) != 0 || (*(uint *)(iVar1 + 0x434) & DAT_00c34c6c) != 0)) { - bVar5 = true; + bVar6 = true; } } goto LAB_0041a0aa; } - if ((((1 < *(int *)&g_game->_deathmatchManager) && (iVar8 == 1)) || (iVar8 - 10U < 0x3de)) - || (iVar8 == 4)) { + if ((((1 < *(int *)&g_game->_deathmatchManager) && (iVar9 == 1)) || (iVar9 - 10U < 0x3de)) + || (iVar9 == 4)) { CellSpace::insert(iVar1); - iVar8 = *(int *)(iVar1 + 0x28); - if (((iVar8 == 0x196) || (iVar8 == 0x394)) || - ((iVar8 == 4 && + iVar9 = *(int *)(iVar1 + 0x28); + if (((iVar9 == 0x196) || (iVar9 == 0x394)) || + ((iVar9 == 4 && ((*(int *)(iVar1 + 0x2c) == 0x13 || (*(int *)(iVar1 + 0x2c) == 0x14)))))) { CellSpace::insert(iVar1); - iVar8 = *(int *)(iVar1 + 0x28); + iVar9 = *(int *)(iVar1 + 0x28); } - if ((((((*(uint *)(iVar1 + 0x168) & 0x20000000) != 0) || (iVar8 == 0xf5)) || - (iVar8 == 0x3c3)) || - (((*(uint *)(iVar1 + 0x16c) & 0x100000) != 0 || (iVar8 == 0x322)))) || - (iVar8 == 0x362)) goto LAB_0041a0aa; + if ((((((*(uint *)(iVar1 + 0x168) & 0x20000000) != 0) || (iVar9 == 0xf5)) || + (iVar9 == 0x3c3)) || + (((*(uint *)(iVar1 + 0x16c) & 0x100000) != 0 || (iVar9 == 0x322)))) || + (iVar9 == 0x362)) goto LAB_0041a0aa; goto LAB_0041a0b4; } - if ((iVar8 == 5) || (iVar8 == 6)) goto LAB_0041a0aa; - if (iVar8 == 1) goto LAB_0041a0b4; + if ((iVar9 == 5) || (iVar9 == 6)) goto LAB_0041a0aa; + if (iVar9 == 1) goto LAB_0041a0b4; } - if (iVar8 == 1000) { + if (iVar9 == 1000) { if (*(uint *)(in_ECX + 0x68) < *(int *)(in_ECX + 0x6c) + 1U) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"EL: not enough space for push_back\n"); @@ -22092,9 +22111,9 @@ LAB_0041a0b4: } *(undefined4 *)(in_ECX + 200) = *(undefined4 *)(in_ECX + 0xc4); *(undefined4 *)(in_ECX + 0xd0) = 0; - uVar6 = FUN_0041ca00(local_14 * local_14,*(undefined4 *)(in_ECX + 0xc4),0); + uVar7 = FUN_0041ca00(local_14 * local_14,*(undefined4 *)(in_ECX + 0xc4),0); uVar2 = *(undefined4 *)(in_ECX + 0xc4); - FUN_0041c910(uVar6); + FUN_0041c910(uVar7); FUN_0041c910(local_14 * local_14); FUN_0041cb90(uVar2,0,uVar2,0); *(uint *)(in_ECX + 0xd4) = local_14; @@ -22104,26 +22123,26 @@ LAB_0041a0b4: } CellSpace::collide(*(undefined4 *)(in_ECX + 0xc)); CellSpace::collide(*(undefined4 *)(in_ECX + 8)); - pPVar10 = &g_game->_playerManager; + pPVar11 = &g_game->_playerManager; local_14 = 0; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar10->_playerList)._begin >> 2 != 0) + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar11->_playerList)._begin >> 2 != 0) { do { - pvVar3 = (pPVar10->_playerList)._end; - if ((int)pvVar3 - (int)(pPVar10->_playerList)._begin >> 2 == 0) { + pvVar3 = (pPVar11->_playerList)._end; + if ((int)pvVar3 - (int)(pPVar11->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - puVar7 = (pPVar10->_playerList)._begin; - if (local_14 < (uint)((int)pvVar3 - (int)puVar7 >> 2)) { - puVar7 = puVar7 + local_14; + puVar8 = (pPVar11->_playerList)._begin; + if (local_14 < (uint)((int)pvVar3 - (int)puVar8 >> 2)) { + puVar8 = puVar8 + local_14; } - CellSpace::collide_entity(*puVar7); - pPVar10 = &g_game->_playerManager; + CellSpace::collide_entity(*puVar8); + pPVar11 = &g_game->_playerManager; local_14 = local_14 + 1; } while (local_14 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar10->_playerList)._begin >> 2)); + (int)(pPVar11->_playerList)._begin >> 2)); } CellSpace::collide(*(undefined4 *)(in_ECX + 8)); CellSpace::collide_self(); @@ -22136,11 +22155,11 @@ LAB_0041a0b4: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - puVar7 = (g_game->_playerManager)._playerList._begin; - if (local_14 < (uint)((int)pvVar3 - (int)puVar7 >> 2)) { - puVar7 = puVar7 + local_14; + puVar8 = (g_game->_playerManager)._playerList._begin; + if (local_14 < (uint)((int)pvVar3 - (int)puVar8 >> 2)) { + puVar8 = puVar8 + local_14; } - CellSpace::collide_entity(*puVar7); + CellSpace::collide_entity(*puVar8); local_14 = local_14 + 1; } while (local_14 < (uint)((int)(g_game->_playerManager)._playerList._end - @@ -22155,11 +22174,11 @@ LAB_0041a0b4: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - puVar7 = (g_game->_playerManager)._playerList._begin; - if (local_14 < (uint)((int)pvVar3 - (int)puVar7 >> 2)) { - puVar7 = puVar7 + local_14; + puVar8 = (g_game->_playerManager)._playerList._begin; + if (local_14 < (uint)((int)pvVar3 - (int)puVar8 >> 2)) { + puVar8 = puVar8 + local_14; } - CellSpace::collide_entity(*puVar7); + CellSpace::collide_entity(*puVar8); local_14 = local_14 + 1; } while (local_14 < (uint)((int)(g_game->_playerManager)._playerList._end - @@ -22174,124 +22193,127 @@ LAB_0041a0b4: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - puVar7 = (g_game->_playerManager)._playerList._begin; - if (local_14 < (uint)((int)pvVar3 - (int)puVar7 >> 2)) { - puVar7 = puVar7 + local_14; + puVar8 = (g_game->_playerManager)._playerList._begin; + if (local_14 < (uint)((int)pvVar3 - (int)puVar8 >> 2)) { + puVar8 = puVar8 + local_14; } - CellSpace::collide_entity(*puVar7); + CellSpace::collide_entity(*puVar8); local_14 = local_14 + 1; } while (local_14 < (uint)((int)(g_game->_playerManager)._playerList._end - (int)(g_game->_playerManager)._playerList._begin >> 2)); } if (1 < *(int *)&g_game->_deathmatchManager) { - pPVar10 = &g_game->_playerManager; + pPVar11 = &g_game->_playerManager; local_14 = 0; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar10->_playerList)._begin >> 2 != + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar11->_playerList)._begin >> 2 != 0) { do { - pvVar3 = (pPVar10->_playerList)._end; - if ((int)pvVar3 - (int)(pPVar10->_playerList)._begin >> 2 == 0) { + pvVar3 = (pPVar11->_playerList)._end; + if ((int)pvVar3 - (int)(pPVar11->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - puVar7 = (pPVar10->_playerList)._begin; - if (local_14 < (uint)((int)pvVar3 - (int)puVar7 >> 2)) { - puVar7 = puVar7 + local_14; + puVar8 = (pPVar11->_playerList)._begin; + if (local_14 < (uint)((int)pvVar3 - (int)puVar8 >> 2)) { + puVar8 = puVar8 + local_14; } - CellSpace::collide_entity(*puVar7); - pPVar10 = &g_game->_playerManager; + CellSpace::collide_entity(*puVar8); + pPVar11 = &g_game->_playerManager; local_14 = local_14 + 1; } while (local_14 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar10->_playerList)._begin >> 2)); + (int)(pPVar11->_playerList)._begin >> 2)); } } CellSpace::collide_self(); CellSpace::collide(*(undefined4 *)(in_ECX + 0x18)); CellSpace::collide(*(undefined4 *)(in_ECX + 8)); - if (bVar5) { + if (bVar6) { CellSpace::collide(*(undefined4 *)(in_ECX + 4)); } CellSpace::collide(*(undefined4 *)(in_ECX + 0xc)); CellSpace::collide(*(undefined4 *)(in_ECX + 8)); - pPVar10 = &g_game->_playerManager; + pPVar11 = &g_game->_playerManager; local_14 = 0; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar10->_playerList)._begin >> 2 != 0) + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar11->_playerList)._begin >> 2 != 0) { do { - pvVar3 = (pPVar10->_playerList)._end; - piVar9 = (pPVar10->_playerList)._begin; - if ((int)pvVar3 - (int)piVar9 >> 2 == 0) { + pvVar3 = (pPVar11->_playerList)._end; + puVar8 = (pPVar11->_playerList)._begin; + if ((int)pvVar3 - (int)puVar8 >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - if (local_14 < (uint)((int)pvVar3 - (int)piVar9 >> 2)) { - piVar9 = piVar9 + local_14; + if (local_14 < (uint)((int)pvVar3 - (int)puVar8 >> 2)) { + puVar8 = puVar8 + local_14; } - iVar1 = *piVar9; - iVar8 = *(int *)(iVar1 + 0x1e68); - if ((iVar8 != 0) && - (((*(int *)(iVar8 + 0x161c) == -1 || (*(int *)(iVar1 + 0x161c) <= *(int *)(iVar8 + 0x161c)) - ) || (iVar8 == iVar1)))) { + pEVar10 = (Entity *)*puVar8; + pEVar4 = (Entity *)pEVar10[7]._damageCountdown; + if ((pEVar4 != (Entity *)0x0) && + (((fVar5 = pEVar4[5]._color._offset[2], fVar5 == -NAN || + ((int)pEVar10[5]._color._offset[2] <= (int)fVar5)) || (pEVar4 == pEVar10)))) { if ((g_game->_frameCount & 1) == 0) { - if ((((*(float *)(iVar1 + 0x374) == g_vectorOne.x) && - (*(float *)(iVar1 + 0x378) == g_vectorOne.y)) && - (*(float *)(iVar8 + 0x374) == g_vectorOne.x)) && - (*(float *)(iVar8 + 0x378) == g_vectorOne.y)) { - Entity::push_apart_circle(); + if ((((pEVar10->_sizeMulti).x == g_vectorOne.x) && + ((pEVar10->_sizeMulti).y == g_vectorOne.y)) && + (((pEVar4->_sizeMulti).x == g_vectorOne.x && ((pEVar4->_sizeMulti).y == g_vectorOne.y)) + )) { + Entity::push_apart_circle(pEVar10); } else { - Entity::push_apart_capsule(); + Entity::push_apart_capsule(pEVar10); } - if (((*(float *)(iVar8 + 0x374) == g_vectorOne.x) && - (*(float *)(iVar8 + 0x378) == g_vectorOne.y)) && - ((*(float *)(iVar1 + 0x374) == g_vectorOne.x && - (*(float *)(iVar1 + 0x378) == g_vectorOne.y)))) { - Entity::push_apart_circle(); + if ((((pEVar4->_sizeMulti).x != g_vectorOne.x) || + ((pEVar4->_sizeMulti).y != g_vectorOne.y)) || + (((pEVar10->_sizeMulti).x != g_vectorOne.x || + ((pEVar10->_sizeMulti).y != g_vectorOne.y)))) { + pEVar10 = pEVar4; + goto LAB_0041a727; + } + Entity::push_apart_circle(pEVar4); + } + else { + if (((((pEVar4->_sizeMulti).x == g_vectorOne.x) && + ((pEVar4->_sizeMulti).y == g_vectorOne.y)) && + ((pEVar10->_sizeMulti).x == g_vectorOne.x)) && + ((pEVar10->_sizeMulti).y == g_vectorOne.y)) { + Entity::push_apart_circle(pEVar4); + } + else { + Entity::push_apart_capsule(pEVar4); + } + if ((((pEVar10->_sizeMulti).x == g_vectorOne.x) && + ((pEVar10->_sizeMulti).y == g_vectorOne.y)) && + (((pEVar4->_sizeMulti).x == g_vectorOne.x && ((pEVar4->_sizeMulti).y == g_vectorOne.y)) + )) { + Entity::push_apart_circle(pEVar10); } else { LAB_0041a727: - Entity::push_apart_capsule(); + Entity::push_apart_capsule(pEVar10); } } - else { - if (((*(float *)(iVar8 + 0x374) == g_vectorOne.x) && - (*(float *)(iVar8 + 0x378) == g_vectorOne.y)) && - ((*(float *)(iVar1 + 0x374) == g_vectorOne.x && - (*(float *)(iVar1 + 0x378) == g_vectorOne.y)))) { - Entity::push_apart_circle(); - } - else { - Entity::push_apart_capsule(); - } - if (((*(float *)(iVar1 + 0x374) != g_vectorOne.x) || - (*(float *)(iVar1 + 0x378) != g_vectorOne.y)) || - ((*(float *)(iVar8 + 0x374) != g_vectorOne.x || - (*(float *)(iVar8 + 0x378) != g_vectorOne.y)))) goto LAB_0041a727; - Entity::push_apart_circle(); - } } - pPVar10 = &g_game->_playerManager; + pPVar11 = &g_game->_playerManager; local_14 = local_14 + 1; } while (local_14 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar10->_playerList)._begin >> 2)); + (int)(pPVar11->_playerList)._begin >> 2)); } - uVar11 = 0; + uVar12 = 0; if (*(int *)(in_ECX + 0x4c) != 0) { do { - pEVar4 = *(Entity **)(*(int *)(in_ECX + 0x44) + uVar11 * 4); - if (pEVar4->_type != 7) { - if (pEVar4->_type == 1) { - Entity::PlayerCollideWithGrid(pEVar4,0); + pEVar10 = *(Entity **)(*(int *)(in_ECX + 0x44) + uVar12 * 4); + if (pEVar10->_type != 7) { + if (pEVar10->_type == 1) { + Entity::PlayerCollideWithGrid(pEVar10,0); } else { - Entity::CollideWithGrid(pEVar4,0); + Entity::CollideWithGrid(pEVar10,0); } } - uVar11 = uVar11 + 1; - } while (uVar11 < *(uint *)(in_ECX + 0x4c)); + uVar12 = uVar12 + 1; + } while (uVar12 < *(uint *)(in_ECX + 0x4c)); } return; } @@ -23442,89 +23464,91 @@ void CellSpace::insert(int param_1) entity indices +0x24), circle (FUN_006b2940) or ellipse (FUN_006b25b0) collision when size multipliers differ from 1; per player from EntityList::rebuild_sublists */ -void CellSpace::collide_entity(int param_1) +void CellSpace::collide_entity(Entity *param_1) { float fVar1; - int iVar2; + float fVar2; int iVar3; int iVar4; - int iVar5; - int *in_ECX; + Entity *pEVar5; int iVar6; - uint uVar7; - int iVar8; + int *in_ECX; + int iVar7; + uint uVar8; int iVar9; - uint uVar10; - float fVar11; + int iVar10; + uint uVar11; float fVar12; float fVar13; float fVar14; float fVar15; + float fVar16; int local_2c; uint local_20; int local_1c; - if (*(int *)(param_1 + 0x188) != 0) { - fVar1 = *(float *)(param_1 + 0x33c); - fVar13 = *(float *)(param_1 + 0x370) * *(float *)(param_1 + 0x374); - iVar2 = *in_ECX; - fVar11 = *(float *)(param_1 + 0x370) * *(float *)(param_1 + 0x378); - fVar12 = (float)in_ECX[5]; - fVar14 = fVar13 + fVar1; - iVar3 = *(int *)(iVar2 + 0xd4); - fVar15 = fVar11 + *(float *)(param_1 + 0x340); - local_2c = (int)((*(float *)(param_1 + 0x340) - fVar11) / fVar12); - if (local_2c <= (int)(fVar15 / fVar12)) { + if (param_1->_entityCollisionClass != 0) { + fVar1 = (param_1->_pos).x; + fVar14 = param_1->_size * (param_1->_sizeMulti).x; + iVar3 = *in_ECX; + fVar12 = param_1->_size * (param_1->_sizeMulti).y; + fVar13 = (float)in_ECX[5]; + fVar15 = fVar14 + fVar1; + iVar4 = *(int *)(iVar3 + 0xd4); + fVar2 = (param_1->_pos).y; + fVar16 = fVar12 + fVar2; + local_2c = (int)((fVar2 - fVar12) / fVar13); + if (local_2c <= (int)(fVar16 / fVar13)) { do { - local_1c = (int)((fVar1 - fVar13) / fVar12); - if (local_1c <= (int)(fVar14 / fVar12)) { + local_1c = (int)((fVar1 - fVar14) / fVar13); + if (local_1c <= (int)(fVar15 / fVar13)) { do { - iVar8 = local_1c + in_ECX[3] * local_2c; - if ((-1 < iVar8) && (iVar8 < (in_ECX[7] - in_ECX[6]) / 0xa4)) { + iVar9 = local_1c + in_ECX[3] * local_2c; + if ((-1 < iVar9) && (iVar9 < (in_ECX[7] - in_ECX[6]) / 0xa4)) { local_20 = 0; - iVar8 = iVar8 * 0xa4 + in_ECX[6]; - if (*(int *)(iVar8 + 0xa0) != 0) { + iVar9 = iVar9 * 0xa4 + in_ECX[6]; + if (*(int *)(iVar9 + 0xa0) != 0) { do { - iVar4 = *(int *)(iVar8 + local_20 * 4); - iVar5 = *(int *)(param_1 + 0x24); - iVar6 = *(int *)(iVar4 + 0x24); - iVar9 = iVar6; - if (iVar6 < iVar5) { - iVar9 = iVar5; + pEVar5 = *(Entity **)(iVar9 + local_20 * 4); + iVar6 = param_1->_collisionIndex; + iVar7 = pEVar5->_collisionIndex; + iVar10 = iVar7; + if (iVar7 < iVar6) { + iVar10 = iVar6; } - if (iVar5 < iVar6) { - iVar6 = iVar5; + if (iVar6 < iVar7) { + iVar7 = iVar6; } - uVar10 = iVar9 * iVar3 + iVar6; - if ((iVar4 != param_1) && ((int)uVar10 < *(int *)(iVar2 + 0xd0))) { - uVar7 = uVar10 >> 5; - if ((*(uint *)(*(int *)(iVar2 + 0xc4) + uVar7 * 4) & 1 << (sbyte)(uVar10 & 0x1f) + uVar11 = iVar10 * iVar4 + iVar7; + if ((pEVar5 != param_1) && ((int)uVar11 < *(int *)(iVar3 + 0xd0))) { + uVar8 = uVar11 >> 5; + if ((*(uint *)(*(int *)(iVar3 + 0xc4) + uVar8 * 4) & 1 << (sbyte)(uVar11 & 0x1f) ) == 0) { - if ((((*(float *)(iVar4 + 0x374) == g_vectorOne.x) && - (*(float *)(iVar4 + 0x378) == g_vectorOne.y)) && - (*(float *)(param_1 + 0x374) == g_vectorOne.x)) && - (*(float *)(param_1 + 0x378) == g_vectorOne.y)) { - Entity::push_apart_circle(); + if (((((pEVar5->_sizeMulti).x == g_vectorOne.x) && + ((pEVar5->_sizeMulti).y == g_vectorOne.y)) && + ((param_1->_sizeMulti).x == g_vectorOne.x)) && + ((param_1->_sizeMulti).y == g_vectorOne.y)) { + Entity::push_apart_circle(pEVar5); } else { - Entity::push_apart_capsule(); + Entity::push_apart_capsule(pEVar5); } _DAT_00c71650 = _DAT_00c71650 + 1; - *(uint *)(*(int *)(iVar2 + 0xc4) + uVar7 * 4) = - *(uint *)(*(int *)(iVar2 + 0xc4) + uVar7 * 4) | 1 << (uVar10 & 0x1f); + *(uint *)(*(int *)(iVar3 + 0xc4) + uVar8 * 4) = + *(uint *)(*(int *)(iVar3 + 0xc4) + uVar8 * 4) | 1 << (uVar11 & 0x1f); } } local_20 = local_20 + 1; - } while (local_20 < *(uint *)(iVar8 + 0xa0)); + } while (local_20 < *(uint *)(iVar9 + 0xa0)); } } - fVar12 = (float)in_ECX[5]; + fVar13 = (float)in_ECX[5]; local_1c = local_1c + 1; - } while (local_1c <= (int)(fVar14 / fVar12)); + } while (local_1c <= (int)(fVar15 / fVar13)); } local_2c = local_2c + 1; - } while (local_2c <= (int)(fVar15 / fVar12)); + } while (local_2c <= (int)(fVar16 / fVar13)); } } return; @@ -23544,8 +23568,8 @@ void CellSpace::collide(int param_1) uint *puVar1; int iVar2; int iVar3; - int iVar4; - int iVar5; + Entity *pEVar4; + Entity *pEVar5; uint uVar6; int iVar7; int *in_ECX; @@ -23554,7 +23578,7 @@ void CellSpace::collide(int param_1) uint uVar10; uint uVar11; int iVar12; - int *local_38; + undefined4 *local_38; uint local_34; uint local_30; int local_2c; @@ -23569,44 +23593,44 @@ void CellSpace::collide(int param_1) iVar12 = in_ECX[7] - iVar7; local_30 = 0; iVar3 = *(int *)(iVar2 + 0xd4); - iVar4 = iVar12 >> 0x1f; - if (iVar12 / 0xa4 + iVar4 != iVar4) { + iVar8 = iVar12 >> 0x1f; + if (iVar12 / 0xa4 + iVar8 != iVar8) { local_2c = 0; do { - local_38 = (int *)(local_2c + iVar7); + local_38 = (undefined4 *)(local_2c + iVar7); local_34 = 0; iVar7 = *(int *)(param_1 + 0x18) + local_2c; - puVar1 = (uint *)(local_38 + 0x28); + puVar1 = local_38 + 0x28; if (*puVar1 != 0) { do { uVar11 = 0; if (*(int *)(iVar7 + 0xa0) != 0) { do { - iVar4 = *local_38; - iVar12 = *(int *)(iVar7 + uVar11 * 4); - iVar8 = *(int *)(iVar4 + 0x24); - iVar5 = *(int *)(iVar12 + 0x24); + pEVar4 = (Entity *)*local_38; + pEVar5 = *(Entity **)(iVar7 + uVar11 * 4); + iVar8 = pEVar4->_collisionIndex; + iVar12 = pEVar5->_collisionIndex; iVar9 = iVar8; - if (iVar8 < iVar5) { - iVar9 = iVar5; + if (iVar8 < iVar12) { + iVar9 = iVar12; } - if (iVar5 < iVar8) { - iVar8 = iVar5; + if (iVar12 < iVar8) { + iVar8 = iVar12; } uVar10 = iVar9 * iVar3 + iVar8; - if ((iVar4 != iVar12) && ((int)uVar10 < *(int *)(iVar2 + 0xd0))) { + if ((pEVar4 != pEVar5) && ((int)uVar10 < *(int *)(iVar2 + 0xd0))) { uVar6 = *(uint *)(*(int *)(iVar2 + 0xc4) + (uVar10 >> 5) * 4); if ((uVar6 & 1 << (sbyte)(uVar10 & 0x1f)) == 0) { *(uint *)(*(int *)(iVar2 + 0xc4) + (uVar10 >> 5) * 4) = uVar6 | 1 << (uVar10 & 0x1f); - if ((((*(float *)(iVar4 + 0x374) == g_vectorOne.x) && - (*(float *)(iVar4 + 0x378) == g_vectorOne.y)) && - (*(float *)(iVar12 + 0x374) == g_vectorOne.x)) && - (*(float *)(iVar12 + 0x378) == g_vectorOne.y)) { - Entity::push_apart_circle(); + if (((((pEVar4->_sizeMulti).x == g_vectorOne.x) && + ((pEVar4->_sizeMulti).y == g_vectorOne.y)) && + ((pEVar5->_sizeMulti).x == g_vectorOne.x)) && + ((pEVar5->_sizeMulti).y == g_vectorOne.y)) { + Entity::push_apart_circle(pEVar4); } else { - Entity::push_apart_capsule(); + Entity::push_apart_capsule(pEVar4); } _DAT_00c71650 = _DAT_00c71650 + 1; } @@ -23637,11 +23661,11 @@ void CellSpace::collide(int param_1) void CellSpace::collide_self(void) { - int *piVar1; + undefined4 *puVar1; int iVar2; int iVar3; - int iVar4; - int iVar5; + Entity *pEVar4; + Entity *pEVar5; uint uVar6; int *in_ECX; int iVar7; @@ -23650,7 +23674,7 @@ void CellSpace::collide_self(void) uint uVar10; int iVar11; bool bVar12; - int *local_38; + undefined4 *local_38; int local_34; uint local_30; uint local_2c; @@ -23659,50 +23683,50 @@ void CellSpace::collide_self(void) iVar2 = *in_ECX; iVar11 = in_ECX[6]; iVar3 = *(int *)(iVar2 + 0xd4); - iVar4 = in_ECX[7] - iVar11 >> 0x1f; - if ((in_ECX[7] - iVar11) / 0xa4 + iVar4 != iVar4) { + iVar7 = in_ECX[7] - iVar11 >> 0x1f; + if ((in_ECX[7] - iVar11) / 0xa4 + iVar7 != iVar7) { local_34 = 0; do { uVar9 = *(uint *)(local_34 + 0xa0 + iVar11); - piVar1 = (int *)(local_34 + iVar11); + puVar1 = (undefined4 *)(local_34 + iVar11); if (uVar9 != 0) { local_30 = 1; - local_38 = piVar1; + local_38 = puVar1; do { uVar10 = local_30; if (local_30 < uVar9) { do { - iVar11 = piVar1[uVar10]; - iVar4 = *local_38; - iVar5 = *(int *)(iVar11 + 0x24); - iVar7 = *(int *)(iVar4 + 0x24); + pEVar4 = (Entity *)puVar1[uVar10]; + pEVar5 = (Entity *)*local_38; + iVar11 = pEVar4->_collisionIndex; + iVar7 = pEVar5->_collisionIndex; iVar8 = iVar7; - if (iVar7 < iVar5) { - iVar8 = iVar5; + if (iVar7 < iVar11) { + iVar8 = iVar11; } - if (iVar5 < iVar7) { - iVar7 = iVar5; + if (iVar11 < iVar7) { + iVar7 = iVar11; } uVar9 = iVar8 * iVar3 + iVar7; - if ((iVar4 != iVar11) && ((int)uVar9 < *(int *)(iVar2 + 0xd0))) { + if ((pEVar5 != pEVar4) && ((int)uVar9 < *(int *)(iVar2 + 0xd0))) { uVar6 = *(uint *)(*(int *)(iVar2 + 0xc4) + (uVar9 >> 5) * 4); if ((uVar6 & 1 << (sbyte)(uVar9 & 0x1f)) == 0) { *(uint *)(*(int *)(iVar2 + 0xc4) + (uVar9 >> 5) * 4) = uVar6 | 1 << (uVar9 & 0x1f) ; - if ((((*(float *)(iVar4 + 0x374) == g_vectorOne.x) && - (*(float *)(iVar4 + 0x378) == g_vectorOne.y)) && - (*(float *)(iVar11 + 0x374) == g_vectorOne.x)) && - (*(float *)(iVar11 + 0x378) == g_vectorOne.y)) { - Entity::push_apart_circle(); + if (((((pEVar5->_sizeMulti).x == g_vectorOne.x) && + ((pEVar5->_sizeMulti).y == g_vectorOne.y)) && + ((pEVar4->_sizeMulti).x == g_vectorOne.x)) && + ((pEVar4->_sizeMulti).y == g_vectorOne.y)) { + Entity::push_apart_circle(pEVar5); } else { - Entity::push_apart_capsule(); + Entity::push_apart_capsule(pEVar5); } _DAT_00c71650 = _DAT_00c71650 + 1; } } uVar10 = uVar10 + 1; - uVar9 = piVar1[0x28]; + uVar9 = puVar1[0x28]; } while (uVar10 < uVar9); } local_38 = local_38 + 1; @@ -23846,7 +23870,7 @@ int FUN_0041c6f0(undefined4 param_1) int *piVar1; undefined1 local_10 [12]; - piVar1 = (int *)FUN_0041ce30(local_10,param_1); + piVar1 = (int *)std::map::_Try_emplace(local_10,param_1); return *piVar1 + 0x1c; } @@ -24338,9 +24362,13 @@ undefined4 * FUN_0041ccf0(int param_1,undefined4 *param_2) } -//@@ 0041ce30 FUN_0041ce30 +//@@ 0041ce30 std::map::_Try_emplace -void FUN_0041ce30(int *param_1,int *param_2) +/* DB: MSVC _Tree try_emplace: key 3 ints compared lexicographically (node+0x10..0x18), value 16 + bytes zeroed (node 0x2c, max_size 0x5d1745d); operator[] wrapper 0x41c6f0 returns node+0x1c, used + by EntityList::QuerySublist cache */ + +void std::map::_Try_emplace(int *param_1,int *param_2) { char cVar1; @@ -25840,8 +25868,8 @@ void BeamRenderer::End(void) undefined8 uVar2; undefined8 uVar3; char cVar4; - float *pfVar5; - LayerState *pLVar6; + LayerState *pLVar5; + float *pfVar6; int iVar7; float *pfVar8; uint uVar9; @@ -25951,16 +25979,16 @@ void BeamRenderer::End(void) local_24 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; local_20c = (float *)0x41e9b2; - ANM2::GetLayer(DAT_00c78ef0,DAT_00c78ef4); + pLVar5 = ANM2::GetLayer(DAT_00c78ef0,DAT_00c78ef4); local_20c = (float *)0x41e9c0; - LayerState::GetTexture(); + LayerState::GetTexture(pLVar5); local_14 = 0; if ((local_130 != (float *)0x0) && (1 < (uint)(((int)g_beamRendererPointsEnd - (int)g_beamRendererPoints) / 0x44))) { local_20c = (float *)0x41ea1c; - pfVar5 = (float *)AnimationState::GetLayerFrame(); - local_b8 = pfVar5; - if (pfVar5 != (float *)0x0) { + pfVar6 = (float *)AnimationState::GetLayerFrame(); + local_b8 = pfVar6; + if (pfVar6 != (float *)0x0) { iVar7 = *(int *)ThreadLocalStoragePointer; if (*(int *)(iVar7 + 0xc) < DAT_00c7f6d0) { local_20c = (float *)0x41f70f; @@ -25985,15 +26013,15 @@ void BeamRenderer::End(void) DAT_00c7f6d8 = DAT_00c7f6d4; DAT_00c7f6e8 = DAT_00c7f6e4; local_20c = (float *)0x41ea7d; - pLVar6 = ANM2::GetLayer(DAT_00c78ef0,DAT_00c78ef4); + pLVar5 = ANM2::GetLayer(DAT_00c78ef0,DAT_00c78ef4); local_99 = '\0'; - local_a1 = pLVar6->_flipX; + local_a1 = pLVar5->_flipX; local_a2 = DAT_00c78ef0->_flipX; pfVar8 = g_beamRendererPoints; if (g_beamRendererPoints != (void *)((int)g_beamRendererPointsEnd + -0x44)) { LAB_0041eac0: local_a0 = pfVar8 + 0x11; - fVar13 = pfVar5[2]; + fVar13 = pfVar6[2]; local_b4 = fVar13 * pfVar8[4] * pfVar8[2] * 0.5; local_b0 = fVar13 * pfVar8[4] * pfVar8[3] * 0.5; fVar15 = fVar13 * pfVar8[0x15] * pfVar8[0x13] * 0.5; @@ -26001,16 +26029,16 @@ LAB_0041eac0: fVar14 = pfVar8[5]; cVar4 = (char)((uint)DAT_00c78ef8 >> 8); if (cVar4 != '\0') { - fVar14 = fVar14 * pfVar5[3]; + fVar14 = fVar14 * pfVar6[3]; } fVar12 = pfVar8[0x16]; if (cVar4 != '\0') { - fVar12 = fVar12 * pfVar5[3]; + fVar12 = fVar12 * pfVar6[3]; } - fVar1 = *pfVar5; - fVar12 = pfVar5[1] + fVar12; + fVar1 = *pfVar6; + fVar12 = pfVar6[1] + fVar12; fVar13 = fVar13 + fVar1; - pfVar11 = (float *)(pfVar5[1] + fVar14); + pfVar11 = (float *)(pfVar6[1] + fVar14); local_ac = fVar15; local_a8 = fVar16; if (local_a1 == local_a2) { @@ -26103,7 +26131,7 @@ LAB_0041eca3: local_20c = (float *)0x41ee2d; Color::__mul(); local_16c = 0; - pfVar5 = local_17c; + pfVar6 = local_17c; local_180 = 0; pfVar8 = local_1b8 + 10; local_17c[0] = local_110; @@ -26116,13 +26144,13 @@ LAB_0041eca3: local_1b8[0xc] = fStack_d8; local_1b8[0xd] = fStack_d4; do { - if (*pfVar5 != *pfVar8) goto LAB_0041ef3a; - pfVar5 = pfVar5 + 1; + if (*pfVar6 != *pfVar8) goto LAB_0041ef3a; + pfVar6 = pfVar6 + 1; pfVar8 = pfVar8 + 1; bVar10 = 3 < uVar9; uVar9 = uVar9 - 4; } while (bVar10); - pfVar5 = local_1b8 + 5; + pfVar6 = local_1b8 + 5; local_1b8[5] = (float)local_100; pfVar8 = local_1b8; uVar9 = 0xc; @@ -26136,8 +26164,8 @@ LAB_0041eca3: local_1b8[2] = local_c8; local_1b8[3] = 1.0; do { - if (*pfVar5 != *pfVar8) goto LAB_0041ef3a; - pfVar5 = pfVar5 + 1; + if (*pfVar6 != *pfVar8) goto LAB_0041ef3a; + pfVar6 = pfVar6 + 1; pfVar8 = pfVar8 + 1; bVar10 = 3 < uVar9; uVar9 = uVar9 - 4; @@ -26153,19 +26181,19 @@ LAB_0041ef71: iStack_1c4 = g_graphicsManager_blendMode[2]; iStack_1c0 = g_graphicsManager_blendMode[3]; iVar7 = ((int)DAT_00c7f6d8 - (int)DAT_00c7f6d4) / 0x24; - local_164 = DAT_00c79910; + local_164 = (float)g_graphicsManager_blendMode[4]; local_20c = (float *)0x41efbe; local_b4 = (float)iVar7; - pLVar6 = ANM2::GetLayer(DAT_00c78ef0,DAT_00c78ef4); - g_graphicsManager_blendMode[0] = *(int *)&pLVar6->field_0x78; - g_graphicsManager_blendMode[1] = *(int *)&pLVar6->field_0x7c; - g_graphicsManager_blendMode[2] = *(int *)&pLVar6->field_0x80; - g_graphicsManager_blendMode[3] = *(int *)&pLVar6->field_0x84; - DAT_00c79910 = *(float *)&pLVar6->field_0x88; + pLVar5 = ANM2::GetLayer(DAT_00c78ef0,DAT_00c78ef4); + g_graphicsManager_blendMode[0] = pLVar5->_blendMode[0]; + g_graphicsManager_blendMode[1] = pLVar5->_blendMode[1]; + g_graphicsManager_blendMode[2] = pLVar5->_blendMode[2]; + g_graphicsManager_blendMode[3] = pLVar5->_blendMode[3]; + g_graphicsManager_blendMode[4] = pLVar5->_blendMode[4]; local_a0 = (float *)(uint)(local_99 != '\0'); local_20c = (float *)0x41f024; - pLVar6 = ANM2::GetLayer(DAT_00c78ef0,DAT_00c78ef4); - if (((DAT_00c78ef0->_bitflags | pLVar6->_bitflags) & 0x20U) != 0) { + pLVar5 = ANM2::GetLayer(DAT_00c78ef0,DAT_00c78ef4); + if (((DAT_00c78ef0->_bitflags | pLVar5->_bitflags) & 0x20U) != 0) { if (local_99 != '\0') { local_20c = (float *)0x8; /* WARNING: Subroutine does not return */ @@ -26183,9 +26211,9 @@ LAB_0041ef71: local_a8 = 0.0; local_b0 = 0.0; do { - fVar13 = pfVar5[0x10]; - fVar14 = pfVar5[0x11]; - fVar15 = pfVar5[0x12]; + fVar13 = pfVar6[0x10]; + fVar14 = pfVar6[0x11]; + fVar15 = pfVar6[0x12]; pfVar8 = (float *)((int)local_b0 + 0x28 + (int)g_beamRendererPoints); local_110 = *pfVar8; fStack_10c = pfVar8[1]; @@ -26193,13 +26221,13 @@ LAB_0041ef71: fStack_104 = pfVar8[3]; pfVar8 = (float *)((int)local_b0 + 0x18 + (int)g_beamRendererPoints); uVar2 = *(undefined8 *)((int)local_b0 + 0x38 + (int)g_beamRendererPoints); - local_134 = pfVar5[0xc]; + local_134 = pfVar6[0xc]; local_120 = local_134 * *pfVar8; - local_13c = (float *)pfVar5[0xd]; + local_13c = (float *)pfVar6[0xd]; fStack_11c = (float)local_13c * pfVar8[1]; - local_144 = (float *)pfVar5[0xe]; + local_144 = (float *)pfVar6[0xe]; fStack_118 = (float)local_144 * pfVar8[2]; - local_14c = pfVar5[0xf]; + local_14c = pfVar6[0xf]; fStack_114 = local_14c * pfVar8[3]; local_154 = fVar13 + fVar14 + fVar15; if (local_154 != 0.0) { @@ -26207,20 +26235,20 @@ LAB_0041ef71: local_110 = fVar13; fStack_10c = fVar14; fStack_108 = fVar15; - fStack_104 = pfVar5[0x13]; + fStack_104 = pfVar6[0x13]; } else { local_110 = (fVar13 + local_110) * 0.5; fStack_10c = (fVar14 + fStack_10c) * 0.5; fStack_108 = (fVar15 + fStack_108) * 0.5; - fStack_104 = (fStack_104 + pfVar5[0x13]) * 0.5; + fStack_104 = (fStack_104 + pfVar6[0x13]) * 0.5; } } local_100._4_4_ = (float)((ulonglong)uVar2 >> 0x20); local_100._0_4_ = (float)uVar2; - local_f8 = pfVar5[0x16] + *(float *)((int)local_b0 + 0x40 + (int)g_beamRendererPoints); + local_f8 = pfVar6[0x16] + *(float *)((int)local_b0 + 0x40 + (int)g_beamRendererPoints); pfVar8 = (float *)((int)local_b0 + 0x5c + (int)g_beamRendererPoints); - local_60 = CONCAT44(pfVar5[0x15] + local_100._4_4_,pfVar5[0x14] + (float)local_100); + local_60 = CONCAT44(pfVar6[0x15] + local_100._4_4_,pfVar6[0x14] + (float)local_100); local_70 = local_110; fStack_6c = fStack_10c; fStack_68 = fStack_108; @@ -26236,7 +26264,7 @@ LAB_0041ef71: fStack_e4 = local_14c * pfVar8[3]; fStack_d4 = pfVar11[3]; if (local_154 != 0.0) { - fStack_d4 = pfVar5[0x13]; + fStack_d4 = pfVar6[0x13]; if (local_e0 + fStack_dc + fStack_d8 != 0.0) { fVar13 = (fVar13 + local_e0) * 0.5; fVar14 = (fVar14 + fStack_dc) * 0.5; @@ -26247,12 +26275,12 @@ LAB_0041ef71: fStack_dc = fVar14; fStack_d8 = fVar15; } - local_c8 = pfVar5[0x16] + *(float *)((int)local_b0 + 0x84 + (int)g_beamRendererPoints); + local_c8 = pfVar6[0x16] + *(float *)((int)local_b0 + 0x84 + (int)g_beamRendererPoints); local_d0._0_4_ = (float)uVar3; local_d0._4_4_ = (float)((ulonglong)uVar3 >> 0x20); local_20c = (float *)0x0; piVar17 = (int *)0x0; - local_34 = CONCAT44(pfVar5[0x15] + local_d0._4_4_,pfVar5[0x14] + (float)local_d0); + local_34 = CONCAT44(pfVar6[0x15] + local_d0._4_4_,pfVar6[0x14] + (float)local_d0); local_bc = local_12c; local_124 = local_130; local_44 = local_e0; @@ -26296,31 +26324,31 @@ LAB_0041ef71: local_1b8[1] = fStack_7c; local_1b8[2] = fStack_78; local_1b8[5] = local_80; - pfVar5 = (float *)((int)local_a8 + 0x20 + (int)DAT_00c7f6e4); - *pfVar5 = local_80; - pfVar5[1] = fStack_7c; - pfVar5[2] = fStack_78; - pfVar5[3] = fStack_74; + pfVar6 = (float *)((int)local_a8 + 0x20 + (int)DAT_00c7f6e4); + *pfVar6 = local_80; + pfVar6[1] = fStack_7c; + pfVar6[2] = fStack_78; + pfVar6[3] = fStack_74; *(undefined4 *)((int)local_a8 + 0x30 + (int)pfVar8) = 0; local_1b8[6] = fStack_7c; local_1b8[7] = fStack_78; - pfVar5 = (float *)((int)local_a8 + 0x34 + (int)pfVar8); - *pfVar5 = local_80; - pfVar5[1] = fStack_7c; - pfVar5[2] = fStack_78; - pfVar5[3] = fStack_74; + pfVar6 = (float *)((int)local_a8 + 0x34 + (int)pfVar8); + *pfVar6 = local_80; + pfVar6[1] = fStack_7c; + pfVar6[2] = fStack_78; + pfVar6[3] = fStack_74; *(undefined4 *)((int)local_a8 + 0x44 + (int)pfVar8) = 0; - pfVar5 = (float *)((int)local_a8 + 0x48 + (int)pfVar8); - *pfVar5 = local_54; - pfVar5[1] = fStack_50; - pfVar5[2] = fStack_4c; - pfVar5[3] = fStack_48; + pfVar6 = (float *)((int)local_a8 + 0x48 + (int)pfVar8); + *pfVar6 = local_54; + pfVar6[1] = fStack_50; + pfVar6[2] = fStack_4c; + pfVar6[3] = fStack_48; *(undefined4 *)((int)local_a8 + 0x58 + (int)pfVar8) = 0; - pfVar5 = (float *)((int)local_a8 + 0x5c + (int)pfVar8); - *pfVar5 = local_54; - pfVar5[1] = fStack_50; - pfVar5[2] = fStack_4c; - pfVar5[3] = fStack_48; + pfVar6 = (float *)((int)local_a8 + 0x5c + (int)pfVar8); + *pfVar6 = local_54; + pfVar6[1] = fStack_50; + pfVar6[2] = fStack_4c; + pfVar6[3] = fStack_48; *(undefined4 *)((int)local_a8 + 0x6c + (int)pfVar8) = 0; local_20c = (float *)((int)local_a8 + (int)DAT_00c7f6e4); iVar7 = (**(code **)((int)*local_130 + 0x14))((int)DAT_00c7f6d4 + (int)local_ac); @@ -26354,14 +26382,14 @@ LAB_0041ef71: local_b0 = (float)((int)local_b0 + 0x44); local_ac = (float)((int)local_ac + 0x24); local_b4 = (float)((int)local_b4 + -1); - pfVar5 = local_b8; + pfVar6 = local_b8; } while (local_b4 != 0.0); } g_graphicsManager_blendMode[0] = local_1cc; g_graphicsManager_blendMode[1] = iStack_1c8; g_graphicsManager_blendMode[2] = iStack_1c4; g_graphicsManager_blendMode[3] = iStack_1c0; - DAT_00c79910 = local_164; + g_graphicsManager_blendMode[4] = (int)local_164; local_20c = (float *)0x41f6b6; shader_cache_find(); } @@ -26378,7 +26406,7 @@ LAB_0041ef71: LAB_0041ef3a: local_99 = '\x01'; LAB_0041ef41: - pfVar5 = local_b8; + pfVar6 = local_b8; LAB_0041ef47: pfVar8 = local_a0; if (local_a0 == (float *)((int)g_beamRendererPointsEnd + -0x44)) goto LAB_0041ef71; @@ -27220,7 +27248,7 @@ LAB_0042038d: local_248 = &DAT_bf800000; DAT_00bf93e0 = in_ECX; DAT_00c71658 = local_244; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,FUN_00420930,0,local_254 + 2); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,FUN_00420930,0,local_254 + 2); local_14 = 1; if (in_ECX == 0) { sprintf(local_228, @@ -28085,10 +28113,10 @@ void BossOverlay::update(void) piVar1 = (pMVar2->_persistentGameData)._cutsceneCounters + 2; *piVar1 = *piVar1 + 1; *(undefined1 *)&pMVar2->_persistentGameData = 1; - pMVar2->field_0x21618 = 1; - pMVar2->field_0x21620 = 0; - *(undefined4 *)&pMVar2->field_0x21624 = 1; - *(undefined4 *)&pMVar2->field_0x2161c = 0x19; + (pMVar2->_cutsceneManager).field_0x848 = 1; + (pMVar2->_cutsceneManager)._isQueuedCleanup = 0; + pMVar2->_cutsceneNextMenuState = 1; + (pMVar2->_cutsceneManager)._queuedCutsceneId = 0x19; (pMVar2->_achievementOverlay)._isPopupBlocked = 1; if ((pMVar2->_sfxManager)._volumeModifier != 1.0) { (pMVar2->_sfxManager)._volumeModifier = 1.0; @@ -29135,14 +29163,14 @@ LAB_00422803: Level::TryInitializeExtraBossRoom, 0074fbe0 prototype: REPENTOGON, confirmed by RET 12 */ -int __thiscall BossPool::GetBossId(void *this,int leveltype,int levelvariant,RNG *rng) +int __thiscall BossPool::GetBossId(BossPool *this,int leveltype,int levelvariant,RNG *rng) { - void *pvVar1; + undefined1 *puVar1; RNG *this_00; - RNG RVar2; - RNG RVar3; - RNG RVar4; + void *pvVar2; + int iVar3; + int iVar4; bool bVar5; Manager *pMVar6; char cVar7; @@ -29153,18 +29181,19 @@ int __thiscall BossPool::GetBossId(void *this,int leveltype,int levelvariant,RNG uint uVar12; uint uVar13; uint uVar14; - int *piVar15; - uint *puVar16; - int iVar17; + uint uVar15; + int *piVar16; + uint *puVar17; + int iVar18; + int iVar19; int *extraout_EDX; - RNG RVar18; - undefined8 uVar19; + undefined8 uVar20; pMVar6 = g_manager; - uVar19 = RoomConfig::GetStageID(0xffffffff); - iVar17 = (int)((ulonglong)uVar19 >> 0x20); - pvVar1 = (void *)((int)this + (int)uVar19 * 0x3c); - this_00 = (RNG *)((int)this + (int)uVar19 * 0x3c + 0x28); + uVar20 = RoomConfig::GetStageID(0xffffffff); + iVar18 = (int)((ulonglong)uVar20 >> 0x20); + puVar1 = &this->field_0x0 + (int)uVar20 * 0x3c; + this_00 = (RNG *)(&this->field_0x28 + (int)uVar20 * 0x3c); if (g_game->_challenge == 0x20) { return 0x1e; } @@ -29184,7 +29213,7 @@ int __thiscall BossPool::GetBossId(void *this,int leveltype,int levelvariant,RNG return 0xf; } } - if ((iVar17 == 4) || (iVar17 == 5)) { + if ((iVar18 == 4) || (iVar18 == 5)) { switch(leveltype) { case 6: return 0x59; @@ -29210,13 +29239,13 @@ int __thiscall BossPool::GetBossId(void *this,int leveltype,int levelvariant,RNG return 0x19; case 10: iVar9 = 0x18; - if (iVar17 == 1) { + if (iVar18 == 1) { iVar9 = 0x27; } return iVar9; case 0xb: iVar9 = 0x36; - if (iVar17 == 1) { + if (iVar18 == 1) { iVar9 = 0x28; } return iVar9; @@ -29232,10 +29261,10 @@ switchD_00422915_caseD_c: uVar14 = RNG::Next(this_00); RNG::Next(this_00); RNG::Next(this_00); - RVar18 = *this_00; - RVar2 = this_00[1]; - RVar3 = this_00[2]; - RVar4 = this_00[3]; + uVar15 = this_00->_seed; + iVar18 = this_00->_shift1; + iVar9 = this_00->_shift2; + iVar4 = this_00->_shift3; if (((uVar10 & 1) == 0) && (((pMVar6->_persistentGameData)._achievements[0x42] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && @@ -29252,49 +29281,48 @@ switchD_00422915_caseD_c: (((((leveltype == 1 || (leveltype == 3)) || (leveltype == 5)) || (leveltype == 7)) && ((levelvariant != 4 && (levelvariant != 5)))))))) { if ((uVar12 == (uVar12 / 10) * 10) && (cVar7 = FUN_00421720(0x16), cVar7 == '\0')) { - **(uint **)((int)this + 0x8bc) = **(uint **)((int)this + 0x8bc) | 0x400000; + **(uint **)(this + 1) = **(uint **)(this + 1) | 0x400000; return 0x16; } switch(leveltype) { case 1: cVar7 = FUN_00421720(9); if (cVar7 == '\0') { - **(uint **)((int)this + 0x8bc) = **(uint **)((int)this + 0x8bc) | 0x200; + **(uint **)(this + 1) = **(uint **)(this + 1) | 0x200; return 9; } break; case 3: cVar7 = FUN_00421720(10); if (cVar7 == '\0') { - **(uint **)((int)this + 0x8bc) = **(uint **)((int)this + 0x8bc) | 0x400; + **(uint **)(this + 1) = **(uint **)(this + 1) | 0x400; return 10; } break; case 5: cVar7 = FUN_00421720(0xb); if (cVar7 == '\0') { - **(uint **)((int)this + 0x8bc) = **(uint **)((int)this + 0x8bc) | 0x800; + **(uint **)(this + 1) = **(uint **)(this + 1) | 0x800; return 0xb; } break; case 7: cVar7 = FUN_00421720(0xc); if (cVar7 == '\0') { - **(uint **)((int)this + 0x8bc) = **(uint **)((int)this + 0x8bc) | 0x1000; + **(uint **)(this + 1) = **(uint **)(this + 1) | 0x1000; if (bVar5) { - *(uint *)(*(int *)((int)this + 0x8bc) + 4) = - *(uint *)(*(int *)((int)this + 0x8bc) + 4) | 0x40; + *(uint *)(*(int *)(this + 1) + 4) = *(uint *)(*(int *)(this + 1) + 4) | 0x40; } - iVar17 = 0xc; + iVar18 = 0xc; if (bVar5) { - iVar17 = 0x26; + iVar18 = 0x26; } - return iVar17; + return iVar18; } } } - iVar17 = *(int *)((int)pvVar1 + 0x38); - if (iVar17 != 0) { + iVar19 = *(int *)(puVar1 + 0x38); + if (iVar19 != 0) { if (g_game->_challenge == 0x22) { uVar10 = 1; } @@ -29310,50 +29338,51 @@ switchD_00422915_caseD_c: } if (uVar13 % uVar10 == 0) { LAB_00422e07: - return -iVar17; + return -iVar19; } } LAB_00422c80: if ((((uVar14 == (uVar14 / 10) * 10) && (levelvariant != 4)) && (levelvariant != 5)) && ((cVar7 = Game::GetStateFlag(g_game,6), cVar7 != '\0' && (cVar7 = FUN_00421720(0x17), cVar7 == '\0')))) { - **(uint **)((int)this + 0x8bc) = **(uint **)((int)this + 0x8bc) | 0x800000; + **(uint **)(this + 1) = **(uint **)(this + 1) | 0x800000; return 0x17; } leveltype = 0; do { - if (RVar18 == (RNG)0x0) { + if (uVar15 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar10 = (uint)RVar18 >> (RVar2._0_1_ & 0x1f) ^ (uint)RVar18; - uVar10 = uVar10 << (RVar3._0_1_ & 0x1f) ^ uVar10; - RVar18 = (RNG)(uVar10 >> (RVar4._0_1_ & 0x1f) ^ uVar10); - piVar15 = (int *)FUN_00422620(pvVar1); - if (piVar15 == (int *)0x0) { - puVar16 = *(uint **)((int)pvVar1 + 0x18); - if (puVar16 != *(uint **)((int)pvVar1 + 0x1c)) { + uVar15 = uVar15 >> ((byte)iVar18 & 0x1f) ^ uVar15; + uVar15 = uVar15 << ((byte)iVar9 & 0x1f) ^ uVar15; + uVar15 = uVar15 >> ((byte)iVar4 & 0x1f) ^ uVar15; + piVar16 = (int *)FUN_00422620(puVar1); + if (piVar16 == (int *)0x0) { + puVar17 = *(uint **)(puVar1 + 0x18); + if (puVar17 != *(uint **)(puVar1 + 0x1c)) { do { - uVar10 = *puVar16 >> 5; - *(uint *)(*(int *)((int)this + 0x8ac) + uVar10 * 4) = - *(uint *)(*(int *)((int)this + 0x8ac) + uVar10 * 4) & ~(1 << (*puVar16 & 0x1f)); - uVar10 = *puVar16; + pvVar2 = (this->_removedBosses)._begin; + uVar10 = *puVar17 >> 5; + *(uint *)((int)pvVar2 + uVar10 * 4) = + *(uint *)((int)pvVar2 + uVar10 * 4) & ~(1 << (*puVar17 & 0x1f)); + uVar10 = *puVar17; uVar11 = uVar10 >> 5; - puVar16 = puVar16 + 5; - *(uint *)(*(int *)((int)this + 0x8bc) + uVar11 * 4) = - *(uint *)(*(int *)((int)this + 0x8bc) + uVar11 * 4) & ~(1 << (uVar10 & 0x1f)); - } while (puVar16 != *(uint **)((int)pvVar1 + 0x1c)); + puVar17 = puVar17 + 5; + *(uint *)(*(int *)(this + 1) + uVar11 * 4) = + *(uint *)(*(int *)(this + 1) + uVar11 * 4) & ~(1 << (uVar10 & 0x1f)); + } while (puVar17 != *(uint **)(puVar1 + 0x1c)); } } else { - iVar9 = *piVar15; - if (((iVar9 != 0x4a) || (g_game->_challenge != 0x24)) && - ((piVar15[3] < 0 || - (bVar8 = PersistentGameData::Unlocked(&g_manager->_persistentGameData,piVar15[3]), - piVar15 = extraout_EDX, bVar8 != 0)))) { - iVar17 = piVar15[4]; - if (iVar17 == 0) { - return iVar9; + iVar3 = *piVar16; + if (((iVar3 != 0x4a) || (g_game->_challenge != 0x24)) && + ((piVar16[3] < 0 || + (bVar8 = PersistentGameData::Unlocked(&g_manager->_persistentGameData,piVar16[3]), + piVar16 = extraout_EDX, bVar8 != 0)))) { + iVar19 = piVar16[4]; + if (iVar19 == 0) { + return iVar3; } goto LAB_00422e07; } @@ -29625,8 +29654,8 @@ byte __thiscall Game::GetGameStateFlag(Game *this,uint GameStateFlag) if (0x3f < (GameStateFlag & 0x3f)) { uVar1 = uVar2; } - if ((uVar2 & *(uint *)((int)this->_roomList + (GameStateFlag >> 6) * 8 + -0x14)) == 0 && - (uVar1 & *(uint *)((int)this->_roomList + (GameStateFlag >> 6) * 8 + -0x10)) == 0) { + if ((uVar2 & this->_roomList[0]._doors[(GameStateFlag >> 6) * 2 + -0xc]) == 0 && + (uVar1 & this->_roomList[0]._doors[(GameStateFlag >> 6) * 2 + -0xb]) == 0) { return 0; } return 1; @@ -29811,7 +29840,7 @@ void FUN_00423500(undefined4 *param_1,undefined4 param_2) undefined4 local_10; undefined1 local_c; - FUN_00423610(&local_10,param_2); + std::map::_Emplace(&local_10,param_2); *param_1 = local_10; *(undefined1 *)(param_1 + 1) = local_c; return; @@ -29881,9 +29910,13 @@ void FUN_004235c0(undefined4 param_1,int *param_2) } -//@@ 00423610 FUN_00423610 +//@@ 00423610 std::map::_Emplace -int * FUN_00423610(int *param_1,undefined4 *param_2) +/* DB: (pair): operator_new(0x2c) node, string key assign, int value at +0x28, + max_size 0x5d1745d; via FUN_00423500 from BossPool::load_xml ("basement"=1, "cellar"=2, "caves"=4 + ...) */ + +int * std::map::_Emplace(int *param_1,undefined4 *param_2) { int *piVar1; @@ -29929,7 +29962,7 @@ int * FUN_00423610(int *param_1,undefined4 *param_2) pcVar11 = pcVar11 + 1; } while (cVar2 != '\0'); local_18 = piVar7; - std::string::assign(pcVar3,(int)pcVar11 - (int)(pcVar3 + 1)); + string::assign(pcVar3,(int)pcVar11 - (int)(pcVar3 + 1)); piVar7[10] = param_2[1]; *piVar7 = (int)local_14; piVar7[1] = (int)local_14; @@ -30124,13 +30157,15 @@ undefined4 FUN_00423970(void) } -//@@ 00423990 FUN_00423990 +//@@ 00423990 PopupButtons::Init -void FUN_00423990(void) +/* DB: ? round 7 agent */ + +void PopupButtons::Init(void) { - FUN_00423aa0(); - PopupButtons::reset(0); + load_graphics(); + reset(0); return; } @@ -30174,11 +30209,14 @@ void PopupButtons::reset(char param_1) } -//@@ 00423aa0 FUN_00423aa0 +//@@ 00423aa0 PopupButtons::load_graphics /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? callers FUN_00423990 (load + PopupButtons::reset, from Manager::Init) and FUN_00954710; + ANM2::Load gfx/ui/ButtonPromptWidget.anm2 into both button sprites and plays 'LeftPrompt' / + 'RightPrompt' */ -void FUN_00423aa0(void) +void PopupButtons::load_graphics(void) { byte *pbVar1; @@ -30386,7 +30424,7 @@ void PopupButtons::Render(void) g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; piVar8 = (int *)(in_ECX + 0x11c); - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; local_24 = 0; do { uVar1 = local_24; @@ -30675,41 +30713,45 @@ void FUN_00424420(void) Game::reset_run_state): clears set at +0x18 and vectors, sets +0x38=-1, +0x6c=1 (ChallengeParam at DailyChallenge+0x10 per db/fields.tsv) */ -void ChallengeParam::Reset(void) +void __thiscall ChallengeParam::Reset(ChallengeParam *this) { - int iVar1; - int in_ECX; + void *pvVar1; - iVar1 = *(int *)(in_ECX + 0x18); + pvVar1 = (this->_roomset)._head; FID_conflict__Erase_tree_>_> - ((void *)(in_ECX + 0x18),(void *)(in_ECX + 0x18), - *(_Tree_node **)(iVar1 + 4)); - *(int *)(iVar1 + 4) = iVar1; - *(int *)iVar1 = iVar1; - *(int *)(iVar1 + 8) = iVar1; - *(undefined4 *)(in_ECX + 0x1c) = 0; - *(undefined4 *)(in_ECX + 0x24) = *(undefined4 *)(in_ECX + 0x20); - *(undefined4 *)(in_ECX + 0x30) = *(undefined4 *)(in_ECX + 0x2c); - *(undefined4 *)(in_ECX + 0x40) = 0; - *(undefined4 *)(in_ECX + 0x84) = 0; - *(undefined4 *)(in_ECX + 0x88) = 0; - *(undefined4 *)(in_ECX + 0x44) = 0; - *(undefined4 *)(in_ECX + 0x38) = 0xffffffff; - *(undefined4 *)(in_ECX + 0x3c) = 0; - *(undefined4 *)(in_ECX + 0x58) = 0; - *(undefined4 *)(in_ECX + 0x54) = 0; - *(undefined4 *)(in_ECX + 100) = 0; - *(undefined1 *)(in_ECX + 0x6c) = 1; - *(undefined4 *)(in_ECX + 0x7c) = 0; - *(undefined4 *)(in_ECX + 0x78) = 0; - *(undefined4 *)(in_ECX + 0x60) = 0; - *(undefined4 *)(in_ECX + 0x5c) = 0; - *(undefined4 *)(in_ECX + 0x70) = 0; - *(undefined1 *)(in_ECX + 0x74) = 0; - *(undefined4 *)(in_ECX + 0x68) = 0; - *(undefined4 *)(in_ECX + 0x80) = 0; - *(undefined4 *)(in_ECX + 0x9c) = *(undefined4 *)(in_ECX + 0x98); + (&this->_roomset, + (fuzzer_allocator_> *)&this->_roomset, + *(_Tree_node **)((int)pvVar1 + 4)); + *(void **)((int)pvVar1 + 4) = pvVar1; + *(void **)pvVar1 = pvVar1; + *(void **)((int)pvVar1 + 8) = pvVar1; + (this->_roomset)._size = 0; + (this->_collectibleList)._end = (this->_collectibleList)._begin; + (this->_trinketList)._end = (this->_trinketList)._begin; + pvVar1 = (this->_seedEffects)._begin; + this->_endStage = 0; + this->_getCurse = 0; + this->_curseFilter = 0; + this->_playerType = 0; + this->_startingPill = -1; + this->_startingCard = 0; + this->_blackHearts = 0; + this->_soulHearts = 0; + this->_coins = 0; + this->_canShoot = 1; + this->_maxDamage = 0; + this->_minShotSpeed = 0; + this->_bigRange = 0; + this->_isPathTypeSet = 0; + this->_minFireRate = 0.0; + this->_maxHearts = 0; + this->_hearts = 0; + this->_difficulty = 0; + this->_isMegaSatan = 0; + this->_addDamage = 0.0; + this->_pathType = 0; + (this->_seedEffects)._end = pvVar1; return; } @@ -30780,9 +30822,13 @@ FID_conflict__Erase_tree> 0x10),(short)(int)fVar2 * 2); local_8 = in_XMM3_Da; - FUN_004248a0(uVar1,uVar1); + ellipse_image_create(uVar1,uVar1); fVar2 = *(float *)(in_ECX + 0x28); *(float *)(in_ECX + 0x14) = local_8; *(float *)(in_ECX + 0x18) = param_3; @@ -31415,7 +31466,7 @@ int __thiscall Entity_Player::GetPlayerType(Entity_Player *this) //@@ 004253c0 FUN_004253c0 -undefined4 * FUN_004253c0(void) +StringTable * FUN_004253c0(void) { return &g_manager->_stringTable; @@ -32716,15 +32767,11 @@ void __thiscall DailyChallenge::Init(DailyChallenge *this,uint dailyDate) { int iVar1; - uint uVar2; + tm *ptVar2; uint uVar3; - tm *ptVar4; - byte bVar5; - uint uVar6; - bool bVar7; + uint uVar4; + bool bVar5; RNG local_58; - undefined8 local_54; - undefined4 local_4c; byte local_48; __time64_t local_40; tm local_38; @@ -32736,44 +32783,45 @@ void __thiscall DailyChallenge::Init(DailyChallenge *this,uint dailyDate) this->_seed = 0; this->_specialDailyId = 0; this->_isPractice = 0; - ChallengeParam::Reset(); - (this->_params).field_0x7f = 1; + ChallengeParam::Reset(&this->_params); + (this->_params)._isPathTypeSet = 1; iVar1 = holiday_get_current(); this->_specialDailyId = iVar1; this->_id = dailyDate; DateTime::set_from_yyyymmdd(); - bVar7 = this->_specialDailyId == 2; - uVar3 = dailyDate; - if (bVar7) { - uVar3 = dailyDate - 1; + bVar5 = this->_specialDailyId == 2; + local_58._seed = dailyDate; + if (bVar5) { + local_58._seed = dailyDate - 1; } - local_4c = 0x15; - local_54 = 0x90000000a; + local_58._shift3 = 0x15; + local_58._shift1 = 10; + local_58._shift2 = 9; (this->_params)._playerType = 0x29; - uVar2 = dailyDate - 1; - if (!bVar7) { - uVar2 = dailyDate; + uVar3 = dailyDate - 1; + if (!bVar5) { + uVar3 = dailyDate; } do { - if (uVar2 == 0) { + if (uVar3 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar3 = uVar3 >> 10 ^ uVar3; - uVar3 = uVar3 << 9 ^ uVar3; - uVar3 = uVar3 >> 0x15 ^ uVar3; - uVar6 = uVar3 % 0x14; - (this->_params)._playerType = uVar6; - uVar2 = uVar3; - } while ((((uVar6 == 0xc) || (uVar6 == 0xb)) || (uVar6 == 0x11)) || (uVar6 == 0x14)); - if (uVar3 == 0) { + local_58._seed = (uint)local_58._seed >> 10 ^ local_58._seed; + local_58._seed = local_58._seed << 9 ^ local_58._seed; + local_58._seed = (uint)local_58._seed >> 0x15 ^ local_58._seed; + uVar4 = (uint)local_58._seed % 0x14; + (this->_params)._playerType = uVar4; + uVar3 = local_58._seed; + } while ((((uVar4 == 0xc) || (uVar4 == 0xb)) || (uVar4 == 0x11)) || (uVar4 == 0x14)); + if (local_58._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar3 = uVar3 >> 10 ^ uVar3; - uVar3 = uVar3 << 9 ^ uVar3; - local_58 = (RNG)(uVar3 >> 0x15 ^ uVar3); - switch((uint)local_58 & 3) { + local_58._seed = (uint)local_58._seed >> 10 ^ local_58._seed; + local_58._seed = local_58._seed << 9 ^ local_58._seed; + local_58._seed = (uint)local_58._seed >> 0x15 ^ local_58._seed; + switch(local_58._seed & 3) { case 0: (this->_params)._endStage = 6; break; @@ -32791,14 +32839,14 @@ LAB_00426bde: iVar1 = 1; } else { - if (local_58 == (RNG)0x0) { + if (local_58._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar3 = (uint)local_58 >> 10 ^ (uint)local_58; - uVar3 = uVar3 << 9 ^ uVar3; - local_58 = (RNG)(uVar3 >> 0x15 ^ uVar3); - if (((uint)local_58 & 1) != 0) goto LAB_00426bde; + local_58._seed = (uint)local_58._seed >> 10 ^ local_58._seed; + local_58._seed = local_58._seed << 9 ^ local_58._seed; + local_58._seed = (uint)local_58._seed >> 0x15 ^ local_58._seed; + if ((local_58._seed & 1U) != 0) goto LAB_00426bde; iVar1 = 0; } (this->_params)._pathType = iVar1; @@ -32808,30 +32856,29 @@ LAB_00426bde: local_40 = _mkgmtime64(&local_38); } if ((local_48 & 3) != 0) { - ptVar4 = _gmtime64(&local_40); - local_38.tm_sec = ptVar4->tm_sec; - local_38.tm_min = ptVar4->tm_min; - local_38.tm_hour = ptVar4->tm_hour; - local_38.tm_mday = ptVar4->tm_mday; - local_38.tm_mon = ptVar4->tm_mon; - local_38.tm_year = ptVar4->tm_year; - local_38.tm_wday = ptVar4->tm_wday; - local_38.tm_yday = ptVar4->tm_yday; - local_38.tm_isdst = ptVar4->tm_isdst; + ptVar2 = _gmtime64(&local_40); + local_38.tm_sec = ptVar2->tm_sec; + local_38.tm_min = ptVar2->tm_min; + local_38.tm_hour = ptVar2->tm_hour; + local_38.tm_mday = ptVar2->tm_mday; + local_38.tm_mon = ptVar2->tm_mon; + local_38.tm_year = ptVar2->tm_year; + local_38.tm_wday = ptVar2->tm_wday; + local_38.tm_yday = ptVar2->tm_yday; + local_38.tm_isdst = ptVar2->tm_isdst; } local_48 = local_48 & 0xfc; - bVar5 = (byte)((ulonglong)local_54 >> 0x20); if ((char)local_38.tm_wday == '\0') { (this->_params)._endStage = 0xb; (this->_params)._isMegaSatan = 1; - if (local_58 == (RNG)0x0) { + if (local_58._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar3 = (uint)local_58 >> ((byte)local_54 & 0x1f) ^ (uint)local_58; - uVar3 = uVar3 << (bVar5 & 0x1f) ^ uVar3; - local_58 = (RNG)(uVar3 >> ((byte)local_4c & 0x1f) ^ uVar3); - if (local_58 != (RNG)(((uint)local_58 / 6) * 6)) goto LAB_00427185; + local_58._seed = (uint)local_58._seed >> ((byte)local_58._shift1 & 0x1f) ^ local_58._seed; + local_58._seed = local_58._seed << ((byte)local_58._shift2 & 0x1f) ^ local_58._seed; + local_58._seed = (uint)local_58._seed >> ((byte)local_58._shift3 & 0x1f) ^ local_58._seed; + if (local_58._seed != ((uint)local_58._seed / 6) * 6) goto LAB_00427185; LAB_0042717b: (this->_params)._difficulty = 1; goto LAB_00427185; @@ -32900,14 +32947,14 @@ LAB_0042717b: case 0x13: (this->_params)._playerType = 0x25; } - if (local_58 == (RNG)0x0) { + if (local_58._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar3 = (uint)local_58 >> ((byte)local_54 & 0x1f) ^ (uint)local_58; - uVar3 = uVar3 << (bVar5 & 0x1f) ^ uVar3; - local_58 = (RNG)(uVar3 >> ((byte)local_4c & 0x1f) ^ uVar3); - uVar3 = (uint)local_58 % 100; + local_58._seed = (uint)local_58._seed >> ((byte)local_58._shift1 & 0x1f) ^ local_58._seed; + local_58._seed = local_58._seed << ((byte)local_58._shift2 & 0x1f) ^ local_58._seed; + local_58._seed = (uint)local_58._seed >> ((byte)local_58._shift3 & 0x1f) ^ local_58._seed; + uVar3 = (uint)local_58._seed % 100; if (uVar3 < 0x14) { (this->_params)._endStage = 6; goto LAB_00427185; @@ -33081,13 +33128,13 @@ LAB_00426e53: uVar3 = RNG::RandomInt(&local_58,2); (this->_params)._pathType = (uint)(uVar3 == 0); LAB_00427185: - if (local_58 == (RNG)0x0) { + if (local_58._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar3 = (uint)local_58 >> ((byte)local_54 & 0x1f) ^ (uint)local_58; - uVar3 = uVar3 << ((byte)((ulonglong)local_54 >> 0x20) & 0x1f) ^ uVar3; - this->_seed = uVar3 >> ((byte)local_4c & 0x1f) ^ uVar3; + uVar3 = (uint)local_58._seed >> ((byte)local_58._shift1 & 0x1f) ^ local_58._seed; + uVar3 = uVar3 << ((byte)local_58._shift2 & 0x1f) ^ uVar3; + this->_seed = uVar3 >> ((byte)local_58._shift3 & 0x1f) ^ uVar3; FUN_00427290(this->_specialDailyId); return; } @@ -34321,11 +34368,9 @@ void update_cutscene_state_machine(void) iVar12 = 0x43; } if ((iVar2 < iVar12) && (iVar12 <= iVar9)) { - *(undefined4 *) - ((int)&g_manager->_optionsConfig + *(int *)&g_manager->_musicManager * 0x184 + -0x204) = 0; - *(undefined4 *) - ((int)&pMVar6->_optionsConfig + *(int *)&pMVar6->_musicManager * 0x184 + -0x200) = 0x3ca3d70a - ; + (g_manager->_musicManager)._channels[(g_manager->_musicManager)._currentChannel]._targetVolume + = 0.0; + (pMVar6->_musicManager)._channels[(pMVar6->_musicManager)._currentChannel]._fadeRate = 0.02; (pMVar6->_musicManager)._queuedMusicID = 0; iVar9 = in_ECX[1]; } @@ -34438,9 +34483,14 @@ bool FUN_00429560(void) } -//@@ 00429570 FUN_00429570 +//@@ 00429570 DeathmatchManager::enter_arena -void FUN_00429570(void) +/* DB: ? ECX = DeathmatchManager (Game+0x26614: lea ecx,[edi+0x26614] in Game::Update case 10, also + FUN_00428d30): sets mode +0 = 2, sound 0x341 unless +0x18, moves the room's "EL" entity lists, + clears flag 0x20 on room entities, Game::StartRoomTransition(-19 ROOM_DEATHMATCH_IDX, -1, anim + 0x15), RoomTransition::Update, resets the transition, Game::Fadein */ + +void DeathmatchManager::enter_arena(void) { void *pvVar1; @@ -34531,7 +34581,7 @@ void FUN_00429570(void) (g_game->_roomTransition)._frame = 0; *(undefined4 *)&(pGVar5->_roomTransition).field_0xc = 0; *(undefined4 *)&pGVar5->_roomTransition = 0; - *(undefined4 *)&(pGVar5->_roomTransition).field_0x10 = 0; + (pGVar5->_roomTransition)._direction = 0; (pGVar5->_roomTransition)._animation = 0; *(undefined4 *)&(pGVar5->_roomTransition).field_0x20 = 0; (pGVar5->_roomTransition)._flags = 0; @@ -35341,9 +35391,13 @@ void FUN_0042a490(void) } -//@@ 0042a4d0 FUN_0042a4d0 +//@@ 0042a4d0 DeathmatchTypeBase::Init -undefined4 FUN_0042a4d0(void) +/* DB: ? DeathmatchTypeLudovico vtable slot 2 directly, DeathmatchTypeNormal slot 2 (FUN_0042d7f0) + wraps it; logs 'Error: Game Start Seed was not set.', PlayerManager::init_main_player, + SpawnCoPlayer2, HUD::AssignPlayerHUDs, Camera::update_follow */ + +undefined4 DeathmatchTypeBase::Init(void) { void *pvVar1; @@ -35365,7 +35419,7 @@ undefined4 FUN_0042a4d0(void) in_ECX[2] = 0xa8c; local_1c = in_ECX; - FUN_00734cc0(); + ItemPool::remove_deathmatch_pill_effects(); uVar6 = 0; if ((int)(g_game->_playerManager)._playerList._end - (int)(g_game->_playerManager)._playerList._begin >> 2 != 0) { @@ -35440,22 +35494,22 @@ undefined4 FUN_0042a4d0(void) (int)(pMStack_20->_lobbyMembers)._begin) / 0x14)); } pGVar4 = g_game; - *(undefined4 *)&(g_game->_playerManager).field_0xc = 0xffffffff; - *(undefined4 *)&(pGVar4->_playerManager).field_0x20 = 0xffffffff; - *(undefined4 *)&(pGVar4->_playerManager).field_0x14 = 0xffffffff; - *(undefined4 *)&(pGVar4->_playerManager).field_0x18 = 0; - *(undefined4 *)&(pGVar4->_playerManager).field_0x10 = 0; - *(undefined4 *)&(pGVar4->_playerManager).field_0x28 = 0xffffffff; - *(undefined4 *)&(pGVar4->_playerManager).field_0x2c = 0; - *(undefined4 *)&(pGVar4->_playerManager).field_0x24 = 0; - *(undefined4 *)&(pGVar4->_playerManager).field_0x34 = 0xffffffff; - *(undefined4 *)&(pGVar4->_playerManager).field_0x3c = 0xffffffff; - *(undefined4 *)&(pGVar4->_playerManager).field_0x40 = 0; - *(undefined4 *)&(pGVar4->_playerManager).field_0x38 = 0; - *(undefined4 *)&(pGVar4->_playerManager).field_0x48 = 0xffffffff; - *(undefined4 *)&(pGVar4->_playerManager).field_0x50 = 0xffffffff; - *(undefined4 *)&(pGVar4->_playerManager).field_0x54 = 0; - *(undefined4 *)&(pGVar4->_playerManager).field_0x4c = 0; + (g_game->_playerManager)._coopSlots[0]._controllerIndex = -1; + (pGVar4->_playerManager)._coopSlots[1]._controllerIndex = -1; + (pGVar4->_playerManager)._coopSlots[0]._state = -1; + (pGVar4->_playerManager)._coopSlots[0]._menuPosition = 0.0; + (pGVar4->_playerManager)._coopSlots[0]._playerType = 0; + (pGVar4->_playerManager)._coopSlots[1]._state = -1; + (pGVar4->_playerManager)._coopSlots[1]._menuPosition = 0.0; + (pGVar4->_playerManager)._coopSlots[1]._playerType = 0; + (pGVar4->_playerManager)._coopSlots[2]._controllerIndex = -1; + (pGVar4->_playerManager)._coopSlots[2]._state = -1; + (pGVar4->_playerManager)._coopSlots[2]._menuPosition = 0.0; + (pGVar4->_playerManager)._coopSlots[2]._playerType = 0; + (pGVar4->_playerManager)._coopSlots[3]._controllerIndex = -1; + (pGVar4->_playerManager)._coopSlots[3]._state = -1; + (pGVar4->_playerManager)._coopSlots[3]._menuPosition = 0.0; + (pGVar4->_playerManager)._coopSlots[3]._playerType = 0; HUD::AssignPlayerHUDs(&pGVar4->_hud); FUN_00943830(); pCVar3 = *(Camera **)((int)g_game->_room + 0x11f8); @@ -35488,9 +35542,14 @@ undefined4 FUN_0042a4d0(void) } -//@@ 0042a8b0 FUN_0042a8b0 +//@@ 0042a8b0 DeathmatchTypeBase::Update -void FUN_0042a8b0(void) +/* DB: DeathmatchTypeBase vtable slot 4 (shared by all DeathmatchType* except Normal, whose slot 4 + 0042d850 wraps it): sudden-death countdown this[2], every 30 frames Game::SpawnEx(819 + ENTITY_FLY_BOMB) at Room::GetRandomPosition and every 4th wave GridEntity_Spikes at free tiles + away from players; this[10] timer calls slot 32 (spawn_random_pickup) every 5..13 s */ + +void DeathmatchTypeBase::Update(void) { void *pvVar1; @@ -36161,7 +36220,7 @@ ItemPool::ReplaceBlacklistedPickup(ItemPool *this,int *param_2,uint *param_3,uin if ((uVar4 == 0x19) || (((local_20 = uVar4, std::set::find_node(&local_38,&local_20), *(char *)(local_30 + 0xd) == '\0' && (*(int *)(local_30 + 0x10) <= (int)uVar4)) && - (local_30 != *(int *)&this->_pools[0].field_0x1c)))) { + (local_30 != this->_pools[0]._rng1._shift3)))) { bVar2 = false; } else { @@ -36373,7 +36432,7 @@ void FUN_0042bc40(int param_1) local_10 = *(undefined4 *)(param_1 + 0x360); local_c = *(undefined4 *)(param_1 + 0x364); - cVar1 = FUN_006ab240(&local_10); + cVar1 = Entity::is_grid_collision_at(&local_10); if (cVar1 != '\0') { *(uint *)(param_1 + 0x16c) = *(uint *)(param_1 + 0x16c) & 0xffff7fff; *(undefined4 *)(param_1 + 0x168) = *(undefined4 *)(param_1 + 0x168); @@ -36435,9 +36494,11 @@ void FUN_0042bca0(Entity_Player *param_1) } -//@@ 0042bd70 FUN_0042bd70 +//@@ 0042bd70 DeathmatchTypeBase::StoreGameState -void FUN_0042bd70(int *param_1) +/* DB: ? round 7 agent */ + +void DeathmatchTypeBase::StoreGameState(int *param_1) { undefined4 *puVar1; @@ -36467,9 +36528,14 @@ void FUN_0042bd70(int *param_1) } -//@@ 0042bdf0 FUN_0042bdf0 +//@@ 0042bdf0 DeathmatchTypeBase::RestoreGameState -void FUN_0042bdf0(int param_1) +/* DB: ? vtable slot 29 of DeathmatchTypeBase and all 11 DeathmatchType* subclasses (no direct + callers); clears the std::set at this+0x20 and refills it from the vector at + GameState+0x1fde0..0x1fde4 (param_1); slot 28 (0042bd70) is the matching store that copies the + set into GameState+0x1fde0 (GameState::~GameState frees that vector) */ + +void DeathmatchTypeBase::RestoreGameState(int param_1) { int iVar1; @@ -36698,9 +36764,13 @@ undefined4 FUN_0042c160(void) } -//@@ 0042c170 FUN_0042c170 +//@@ 0042c170 DeathmatchTypeBase::spawn_random_pickup -undefined4 FUN_0042c170(void) +/* DB: DeathmatchType* vtable slot 32 (all 12 classes); counts room pickups (variant!=100), caps at + 4 (9 in big room shapes 8..12), then Room::FindFreePickupSpawnPosition around room centre and + Game::SpawnEx(5, variant ..) ; called through slot 0x80 by DeathmatchTypeBase::Update */ + +undefined4 DeathmatchTypeBase::spawn_random_pickup(void) { float fVar1; @@ -37514,7 +37584,7 @@ void FUN_0042cc90(int param_1) } local_10 = *(float *)(param_1 + 0x360); local_c = *(undefined4 *)(param_1 + 0x364); - cVar2 = FUN_006ab240(&local_10); + cVar2 = Entity::is_grid_collision_at(&local_10); if (cVar2 != '\0') { *(uint *)(param_1 + 0x16c) = *(uint *)(param_1 + 0x16c) & 0xffff7fff; *(undefined4 *)(param_1 + 0x168) = *(undefined4 *)(param_1 + 0x168); @@ -37790,11 +37860,14 @@ undefined4 FUN_0042d1b0(void) } -//@@ 0042d1c0 FUN_0042d1c0 +//@@ 0042d1c0 DeathmatchTypeLudovico::render_ludovico_indicator /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? DeathmatchTypeLudovico vtable slot 23 (Normal uses stub 0042bc90); for the local player + dynamic_casts the weapon to Weapon_Ludovico, projects its tear to screen and draws a clamped + off-screen arrow tinted with get_netplay_player_color */ -void FUN_0042d1c0(int param_1) +void DeathmatchTypeLudovico::render_ludovico_indicator(int param_1) { int iVar1; @@ -38062,7 +38135,7 @@ undefined1 FUN_0042d7f0(void) int *in_ECX; uint uVar4; - cVar1 = FUN_0042a4d0(); + cVar1 = DeathmatchTypeBase::Init(); if (cVar1 == '\0') { return 0; } @@ -38097,7 +38170,7 @@ void FUN_0042d850(void) in_ECX[0xb] = iVar2; in_ECX[0xc] = 6; } - FUN_0042a8b0(); + DeathmatchTypeBase::Update(); return; } @@ -38230,7 +38303,7 @@ void FUN_0042d9e0(int param_1) } local_10 = *(undefined4 *)(param_1 + 0x360); local_c = *(undefined4 *)(param_1 + 0x364); - cVar3 = FUN_006ab240(&local_10); + cVar3 = Entity::is_grid_collision_at(&local_10); if (cVar3 != '\0') { *(uint *)(param_1 + 0x16c) = *(uint *)(param_1 + 0x16c) & 0xffff7fff; *(undefined4 *)(param_1 + 0x168) = *(undefined4 *)(param_1 + 0x168); @@ -40849,8 +40922,8 @@ void __thiscall EntityRef::constructor(EntityRef *this,Entity *entity) fVar1 = (entity->_velocity).x; fVar3 = (entity->_velocity).y; } - *(float *)&this->field_0x18 = fVar1; - *(float *)&this->field_0x1c = fVar3; + (this->_velocity).x = fVar1; + (this->_velocity).y = fVar3; if ((entity == (Entity *)0x0) || ((entity->_flags & 0x100) == 0)) { uVar5 = 0; if (entity != (Entity *)0x0) goto LAB_004313dc; @@ -40873,7 +40946,7 @@ LAB_004313fb: uVar2 = 0; LAB_00431416: this->_entity = entity; - *(uint *)&this->field_0x20 = uVar2 | uVar4 | uVar5; + this->_flags = uVar2 | uVar4 | uVar5; return; } @@ -41261,11 +41334,15 @@ void FUN_00431790(byte param_1) } -//@@ 00431830 FUN_00431830 +//@@ 00431830 FamiliarHelper::umbilical_baby_load_graphics /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ECX = Entity_Familiar; only caller Entity_Familiar::Init case variant 0xf0 (240 + FAMILIAR_UMBILICAL_BABY / Gello): HasCollectible 0x34 Dr Fetus, 0x105, 0x99, 2 Inner Eye ... + picks gfx/familiar/umbilical_baby/{drfetus,innereye,brimstone,techx,...}.png and + Sprite::ReplaceSpritesheet + LoadGraphics */ -void FUN_00431830(void) +void FamiliarHelper::umbilical_baby_load_graphics(void) { char cVar1; @@ -43724,12 +43801,10 @@ void __thiscall Entity_Effect::SetTimeout(Entity_Effect *this,int param_2) /* DB: tiny: writes +0x474 (Lua EntityEffect.Rotation) (dogma_effects.md) */ -void Entity_Effect::set_rotation(undefined4 param_1) +void __thiscall Entity_Effect::set_rotation(Entity_Effect *this,float param_2) { - int in_ECX; - - *(undefined4 *)(in_ECX + 0x474) = param_1; + this->_rotation = param_2; return; } @@ -44294,11 +44369,12 @@ void __thiscall Entity_Familiar::WispInit(Entity_Familiar *this) float *pfVar15; ANM2 *extraout_ECX; ANM2 *pAVar16; - Game *pGVar17; - float fVar18; + ColorMod *pCVar17; + Game *pGVar18; float fVar19; float fVar20; float fVar21; + float fVar22; undefined4 local_a4; undefined4 local_a0; undefined4 local_9c; @@ -44440,17 +44516,17 @@ switchD_00436422_caseD_11a: local_14 = 0; local_74 = (EntityPtr)0x0; local_54 = g_game->_room; - pGVar17 = g_game; + pGVar18 = g_game; if (local_54[0x499] != (EntityPtr)0x0) { do { iVar2 = *(int *)((int)local_54[0x497] + (int)local_74 * 4); if ((((iVar2 != 0) && (*(int *)(iVar2 + 0x28) == 3)) && (*(int *)(iVar2 + 0x2c) == 0xce)) && ((*(void **)(iVar2 + 0x410) == this->_player && ((float *)*(uint *)(iVar2 + 0x30) == pfVar15)))) { - local_7c = *(int *)(iVar2 + 0x328) - pGVar17->_frameCount; + local_7c = *(int *)(iVar2 + 0x328) - pGVar18->_frameCount; local_78 = iVar2; FUN_0043ed20((int)&local_6c + 4,&local_7c); - pGVar17 = g_game; + pGVar18 = g_game; } local_74 = (EntityPtr)((int)local_74 + 1); } while ((uint)local_74 < (uint)local_54[0x499]); @@ -44508,16 +44584,16 @@ LAB_00436776: } switchD_00436422_caseD_67: local_58 = (float *)ItemConfig::get_wisp_config(); - fVar18 = *local_58; - this->_maxHitPoints = fVar18; - this->_health = fVar18; - fVar18 = local_58[0x61]; - if (fVar18 != 0.0) { + fVar19 = *local_58; + this->_maxHitPoints = fVar19; + this->_health = fVar19; + fVar19 = local_58[0x61]; + if (fVar19 != 0.0) { Sprite::ReplaceSpritesheet((Sprite *)&this->_sprite,0,local_58 + 0x5d); } pAVar16 = &this->_sprite; if (local_58[0x5b] == 0.0) { - if (fVar18 == 0.0) goto LAB_0043680d; + if (fVar19 == 0.0) goto LAB_0043680d; } else { Sprite::ReplaceSpritesheet((Sprite *)pAVar16,1,local_58 + 0x57); @@ -44527,43 +44603,43 @@ switchD_00436422_caseD_67: LAB_0043680d: local_54 = (EntityPtr *)(local_58 + 0x36); pLVar13 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - if ((EntityPtr *)&pLVar13->field_0x48 != local_54) { + if (&pLVar13->_color != (ColorMod *)local_54) { EVar5 = local_54[1]; EVar6 = local_54[2]; EVar7 = local_54[3]; - *(EntityPtr *)&pLVar13->field_0x48 = *local_54; - *(EntityPtr *)&pLVar13->field_0x4c = EVar5; - *(EntityPtr *)&pLVar13->field_0x50 = EVar6; - *(EntityPtr *)&pLVar13->field_0x54 = EVar7; + (pLVar13->_color)._tint[0] = (float)*local_54; + *(EntityPtr *)((pLVar13->_color)._tint + 1) = EVar5; + *(EntityPtr *)((pLVar13->_color)._tint + 2) = EVar6; + *(EntityPtr *)((pLVar13->_color)._tint + 3) = EVar7; EVar5 = local_54[5]; EVar6 = local_54[6]; EVar7 = local_54[7]; - *(EntityPtr *)&pLVar13->field_0x58 = local_54[4]; - *(EntityPtr *)&pLVar13->field_0x5c = EVar5; - *(EntityPtr *)&pLVar13->field_0x60 = EVar6; - *(EntityPtr *)&pLVar13->field_0x64 = EVar7; - *(undefined8 *)&pLVar13->field_0x68 = *(undefined8 *)(local_54 + 8); - *(EntityPtr *)&pLVar13->field_0x70 = local_54[10]; + (pLVar13->_color)._colorize[0] = (float)local_54[4]; + *(EntityPtr *)((pLVar13->_color)._colorize + 1) = EVar5; + *(EntityPtr *)((pLVar13->_color)._colorize + 2) = EVar6; + *(EntityPtr *)((pLVar13->_color)._colorize + 3) = EVar7; + *(undefined8 *)(pLVar13->_color)._offset = *(undefined8 *)(local_54 + 8); + *(EntityPtr *)((pLVar13->_color)._offset + 2) = local_54[10]; } local_54 = (EntityPtr *)(local_58 + 0x2b); pLVar13 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); - if ((EntityPtr *)&pLVar13->field_0x48 != local_54) { + if (&pLVar13->_color != (ColorMod *)local_54) { EVar5 = local_54[1]; EVar6 = local_54[2]; EVar7 = local_54[3]; - *(EntityPtr *)&pLVar13->field_0x48 = *local_54; - *(EntityPtr *)&pLVar13->field_0x4c = EVar5; - *(EntityPtr *)&pLVar13->field_0x50 = EVar6; - *(EntityPtr *)&pLVar13->field_0x54 = EVar7; + (pLVar13->_color)._tint[0] = (float)*local_54; + *(EntityPtr *)((pLVar13->_color)._tint + 1) = EVar5; + *(EntityPtr *)((pLVar13->_color)._tint + 2) = EVar6; + *(EntityPtr *)((pLVar13->_color)._tint + 3) = EVar7; EVar5 = local_54[5]; EVar6 = local_54[6]; EVar7 = local_54[7]; - *(EntityPtr *)&pLVar13->field_0x58 = local_54[4]; - *(EntityPtr *)&pLVar13->field_0x5c = EVar5; - *(EntityPtr *)&pLVar13->field_0x60 = EVar6; - *(EntityPtr *)&pLVar13->field_0x64 = EVar7; - *(undefined8 *)&pLVar13->field_0x68 = *(undefined8 *)(local_54 + 8); - *(EntityPtr *)&pLVar13->field_0x70 = local_54[10]; + (pLVar13->_color)._colorize[0] = (float)local_54[4]; + *(EntityPtr *)((pLVar13->_color)._colorize + 1) = EVar5; + *(EntityPtr *)((pLVar13->_color)._colorize + 2) = EVar6; + *(EntityPtr *)((pLVar13->_color)._colorize + 3) = EVar7; + *(undefined8 *)(pLVar13->_color)._offset = *(undefined8 *)(local_54 + 8); + *(EntityPtr *)((pLVar13->_color)._offset + 2) = local_54[10]; } if (pfVar15 == (float *)0x2bf) { pvVar4 = this->_player; @@ -44576,37 +44652,28 @@ LAB_0043680d: uStack_2c = 0xc0008081; local_28 = -2.0078433; pLVar13 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - if ((float *)&pLVar13->field_0x48 != &local_50) { - pLVar13->field_0x48 = '2'; - pLVar13->field_0x49 = '2'; - pLVar13->field_0x4a = '2'; - pLVar13->field_0x4b = '@'; - pLVar13->field_0x4c = '2'; - pLVar13->field_0x4d = '2'; - pLVar13->field_0x4e = '2'; - pLVar13->field_0x4f = '@'; - pLVar13->field_0x50 = '2'; - pLVar13->field_0x51 = '2'; - pLVar13->field_0x52 = '2'; - pLVar13->field_0x53 = '@'; - *(undefined4 *)&pLVar13->field_0x54 = 0x3f800000; - *(undefined4 *)&pLVar13->field_0x58 = 0; - *(undefined4 *)&pLVar13->field_0x5c = 0; - *(undefined4 *)&pLVar13->field_0x60 = 0; - *(undefined4 *)&pLVar13->field_0x64 = 0; - *(ulonglong *)&pLVar13->field_0x68 = CONCAT44(uStack_2c,local_30); - *(float *)&pLVar13->field_0x70 = local_28; + if (&pLVar13->_color != (ColorMod *)&local_50) { + (pLVar13->_color)._tint[0] = (float)0x40323232; + (pLVar13->_color)._tint[1] = (float)0x40323232; + (pLVar13->_color)._tint[2] = (float)0x40323232; + (pLVar13->_color)._tint[3] = 1.0; + (pLVar13->_color)._colorize[0] = 0.0; + (pLVar13->_color)._colorize[1] = 0.0; + (pLVar13->_color)._colorize[2] = 0.0; + (pLVar13->_color)._colorize[3] = 0.0; + *(ulonglong *)(pLVar13->_color)._offset = CONCAT44(uStack_2c,local_30); + (pLVar13->_color)._offset[2] = local_28; } local_30 = 0; uStack_2c = 0; local_28 = 0.0; pLVar13 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); - pfVar15 = (float *)&pLVar13->field_0x48; - if (pfVar15 != &local_50) { - fVar18 = 0.078431375; + pCVar17 = &pLVar13->_color; + if (pCVar17 != (ColorMod *)&local_50) { fVar19 = 0.078431375; fVar20 = 0.078431375; - fVar21 = 1.0; + fVar21 = 0.078431375; + fVar22 = 1.0; goto LAB_00436ceb; } break; @@ -44654,17 +44721,17 @@ LAB_0043680d: fStack_44 = 1.0; fStack_48 = local_88 * 2.0; pLVar13 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - if ((float *)&pLVar13->field_0x48 != &local_50) { - *(float *)&pLVar13->field_0x48 = local_50; - *(float *)&pLVar13->field_0x4c = fStack_4c; - *(float *)&pLVar13->field_0x50 = fStack_48; - *(float *)&pLVar13->field_0x54 = fStack_44; - *(undefined4 *)&pLVar13->field_0x58 = 0; - *(undefined4 *)&pLVar13->field_0x5c = 0; - *(undefined4 *)&pLVar13->field_0x60 = 0; - *(undefined4 *)&pLVar13->field_0x64 = 0; - *(ulonglong *)&pLVar13->field_0x68 = CONCAT44(uStack_2c,local_30); - *(float *)&pLVar13->field_0x70 = local_28; + if (&pLVar13->_color != (ColorMod *)&local_50) { + (pLVar13->_color)._tint[0] = local_50; + (pLVar13->_color)._tint[1] = fStack_4c; + (pLVar13->_color)._tint[2] = fStack_48; + (pLVar13->_color)._tint[3] = fStack_44; + (pLVar13->_color)._colorize[0] = 0.0; + (pLVar13->_color)._colorize[1] = 0.0; + (pLVar13->_color)._colorize[2] = 0.0; + (pLVar13->_color)._colorize[3] = 0.0; + *(ulonglong *)(pLVar13->_color)._offset = CONCAT44(uStack_2c,local_30); + (pLVar13->_color)._offset[2] = local_28; } if (uVar10 == 0) { /* WARNING: Subroutine does not return */ @@ -44700,23 +44767,23 @@ LAB_0043680d: fStack_4c = pfVar15[1] * 2.0; fStack_48 = pfVar15[2] * 2.0; pLVar13 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); - pfVar15 = (float *)&pLVar13->field_0x48; - if (pfVar15 != &local_50) { - fVar18 = local_50; - fVar19 = fStack_4c; - fVar20 = fStack_48; - fVar21 = fStack_44; + pCVar17 = &pLVar13->_color; + if (pCVar17 != (ColorMod *)&local_50) { + fVar19 = local_50; + fVar20 = fStack_4c; + fVar21 = fStack_48; + fVar22 = fStack_44; LAB_00436ceb: - *pfVar15 = fVar18; - pfVar15[1] = fVar19; - pfVar15[2] = fVar20; - pfVar15[3] = fVar21; - pfVar15[4] = 0.0; - pfVar15[5] = 0.0; - pfVar15[6] = 0.0; - pfVar15[7] = 0.0; - *(ulonglong *)(pfVar15 + 8) = CONCAT44(uStack_2c,local_30); - pfVar15[10] = local_28; + pCVar17->_tint[0] = fVar19; + pCVar17->_tint[1] = fVar20; + pCVar17->_tint[2] = fVar21; + pCVar17->_tint[3] = fVar22; + pCVar17->_colorize[0] = 0.0; + pCVar17->_colorize[1] = 0.0; + pCVar17->_colorize[2] = 0.0; + pCVar17->_colorize[3] = 0.0; + *(ulonglong *)pCVar17->_offset = CONCAT44(uStack_2c,local_30); + pCVar17->_offset[2] = local_28; } } if (this->_variant == 0xed) { @@ -44771,35 +44838,34 @@ undefined4 __thiscall Entity_Familiar::wisp_kill(Entity_Familiar *this) int iVar13; LayerState *pLVar14; Manager *pMVar15; - RNG RVar16; float in_XMM0_Da; - Entity_Familiar *pEVar17; - float fVar18; - Entity_Player *pEVar19; - float fVar20; - Entity_Familiar *pEVar21; + Entity_Familiar *pEVar16; + float fVar17; + Entity_Player *pEVar18; + float fVar19; + Entity_Familiar *pEVar20; byte ignoreBossStatusCooldown; - undefined4 uVar22; + undefined4 uVar21; byte addEnemyKillScore; - undefined4 uVar23; + undefined4 uVar22; undefined4 uStack_ec; undefined4 uStack_e8; undefined4 uStack_e4; undefined4 uStack_e0; - undefined4 uStack_dc; - undefined4 uStack_d8; - undefined4 uStack_d4; - undefined4 uStack_d0; + float fStack_dc; + float fStack_d8; + float fStack_d4; + float fStack_d0; undefined8 uStack_cc; undefined4 uStack_c4; undefined4 uStack_c0; undefined4 uStack_bc; undefined4 uStack_b8; undefined4 uStack_b4; - undefined4 uStack_b0; - undefined4 uStack_ac; - undefined4 uStack_a8; - undefined4 uStack_a4; + float fStack_b0; + float fStack_ac; + float fStack_a8; + float fStack_a4; undefined8 uStack_a0; undefined4 uStack_98; float fStack_94; @@ -44813,10 +44879,7 @@ undefined4 __thiscall Entity_Familiar::wisp_kill(Entity_Familiar *this) float fStack_6c; Entity_Familiar *pEStack_68; undefined4 uStack_64; - undefined1 auStack_5c [28]; - float fStack_40; - undefined4 uStack_3c; - void *pvStack_38; + EntityRef EStack_5c; uint uStack_34; undefined8 uStack_30; undefined1 *puStack_28; @@ -44824,13 +44887,13 @@ undefined4 __thiscall Entity_Familiar::wisp_kill(Entity_Familiar *this) undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; - undefined4 uStack_14; + Entity_Player *pEStack_14; - puStack_20 = auStack_5c + 0x58; - uStack_14 = 0xffffffff; + puStack_20 = (undefined1 *)(apEStack_74 + 0x1c); + pEStack_14 = (Entity_Player *)0xffffffff; puStack_18 = &LAB_00af21fd; local_1c = ExceptionList; - local_24 = __security_cookie ^ (uint)(auStack_5c + 0x4c); + local_24 = __security_cookie ^ (uint)(apEStack_74 + 0x19); ExceptionList = &local_1c; uStack_64 = this; iStack_8c = ItemConfig::get_wisp_config(local_24); @@ -44843,17 +44906,17 @@ undefined4 __thiscall Entity_Familiar::wisp_kill(Entity_Familiar *this) VStack_88.y = (float)this->_player; fStack_90 = (float)Room::FindFreePickupSpawnPosition ((int)&uStack_30 + 4,&this->_pos,0,0,0,0); - RVar16 = this->_dropRNG; - if (RVar16 == (RNG)0x0) { + uVar11 = (this->_dropRNG)._seed; + if (uVar11 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar16 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar16; - uVar11 = uVar11 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar11; + uVar11 = uVar11 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar11; + uVar11 = uVar11 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar11; uVar12 = 0xe3; - RVar16 = (RNG)(uVar11 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar11); - this->_dropRNG = RVar16; - if (RVar16 == (RNG)(((uint)RVar16 / 3) * 3)) { + uVar11 = uVar11 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar11; + (this->_dropRNG)._seed = uVar11; + if (uVar11 == (uVar11 / 3) * 3) { uVar12 = 0x115; } this_02 = (Entity *) @@ -44870,13 +44933,13 @@ undefined4 __thiscall Entity_Familiar::wisp_kill(Entity_Familiar *this) Entity::AddCharmed(this_02,ref,iVar13,ignoreBossStatusCooldown,addEnemyKillScore); (**(code **)(*(int *)this_02 + 0xc))(); Entity::SetVisibleFlag(0); - fVar18 = this_02->_maxHitPoints + this_02->_maxHitPoints; + fVar17 = this_02->_maxHitPoints + this_02->_maxHitPoints; pEStack_68 = (Entity_Familiar *)0x109; - this_02->_maxHitPoints = fVar18; - this_02->_health = fVar18; + this_02->_maxHitPoints = fVar17; + this_02->_health = fVar17; pMVar15 = g_manager; seed_fart_sound_override(); - pEVar17 = pEStack_68; + pEVar16 = pEStack_68; goto code_r0x00437295; } switch(pEVar10) { @@ -44884,10 +44947,10 @@ undefined4 __thiscall Entity_Familiar::wisp_kill(Entity_Familiar *this) apEStack_74[0] = this->_player; pfVar7 = (float *)MusicManager::RandomVector((int)&uStack_30 + 4); iVar13 = Random(); - fVar18 = (float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]) * 2.3283064e-10 + fVar17 = (float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]) * 2.3283064e-10 * 80.0 + 40.0; - VStack_88.y = fVar18 * pfVar7[1] + (uStack_64->_pos).y; - VStack_88.x = fVar18 * *pfVar7 + (uStack_64->_pos).x; + VStack_88.y = fVar17 * pfVar7[1] + (uStack_64->_pos).y; + VStack_88.x = fVar17 * *pfVar7 + (uStack_64->_pos).x; uVar12 = Room::FindFreePickupSpawnPosition(&fStack_94,&VStack_88,0x42200000,0,0,0); this = uStack_64; Entity_Player::ThrowBlueSpider(apEStack_74[0],&uStack_64->_pos,uVar12); @@ -44934,7 +44997,7 @@ LAB_0043785e: case (Entity_Player *)0x15c: EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); uVar11 = 0; - uStack_14 = 2; + pEStack_14 = (Entity_Player *)0x2; if (apEStack_74[0] != (Entity_Player *)0x0) { do { if (*(void **)(*(int *)(uStack_7c + uVar11 * 4) + 0x410) == this->_player) { @@ -44946,7 +45009,7 @@ LAB_0043785e: uVar11 = RNG::Next(&this->_dropRNG); uVar12 = Room::FindFreePickupSpawnPosition((int)&uStack_30 + 4,&this->_pos,0,0,0,0); Game::Spawn(5,0x46,uVar12,&g_vectorZero,this,0,uVar11); - uStack_14 = 0xffffffff; + pEStack_14 = (Entity_Player *)0xffffffff; EntityList_Query::~EntityList_Query(); break; case (Entity_Player *)0x15d: @@ -44964,50 +45027,50 @@ LAB_0043785e: Game::ButterBeanFart(pVVar1,0x43480000,this->_player,0,0); EntityList::QueryRadius(&uStack_34,pVVar1,8); uVar11 = 0; - uStack_14 = 0; + pEStack_14 = (Entity_Player *)0x0; if (puStack_28 != (undefined1 *)0x0) { do { apEStack_74[0] = *(Entity_Player **)((int)uStack_30 + uVar11 * 4); cVar5 = Entity::IsVulnerableEnemy((Entity *)apEStack_74[0],0); if (cVar5 != '\0') { - EntityRef::constructor((EntityRef *)auStack_5c,this->_player); - Entity::AddFreeze((Entity *)apEStack_74[0],(EntityRef *)auStack_5c,-0x32,0); + EntityRef::constructor(&EStack_5c,this->_player); + Entity::AddFreeze((Entity *)apEStack_74[0],&EStack_5c,-0x32,0); } uVar11 = uVar11 + 1; } while (uVar11 < puStack_28); } - uStack_14 = 0xffffffff; + pEStack_14 = (Entity_Player *)0xffffffff; EntityList_Query::~EntityList_Query(); break; case (Entity_Player *)0x160: if (DAT_00c7e83c == '\0') { DAT_00c7e83c = 1; EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); - uStack_14 = 1; + pEStack_14 = (Entity_Player *)0x1; pEStack_68 = (Entity_Familiar *)0x0; if (puStack_28 != (undefined1 *)0x0) { iVar13 = (int)uStack_30; do { piVar6 = *(int **)(iVar13 + (int)pEStack_68 * 4); if (*(char *)((int)piVar6 + 0x173) == '\0') { - auStack_5c._0_4_ = 0; - auStack_5c._4_4_ = 0; - auStack_5c._20_4_ = g_vectorZero.y; - fStack_40 = g_vectorZero.y; - auStack_5c._8_4_ = 0; - auStack_5c._12_4_ = 0; - auStack_5c._16_4_ = g_vectorZero.x; - auStack_5c._24_4_ = g_vectorZero.x; - uStack_3c = 0; - pvStack_38 = (void *)0x0; - (**(code **)(*piVar6 + 0x24))(auStack_5c); + EStack_5c._type = 0; + EStack_5c._variant = 0; + EStack_5c._position.y = g_vectorZero.y; + EStack_5c._velocity.y = g_vectorZero.y; + EStack_5c._spawnerType = 0; + EStack_5c._spawnerVariant = 0; + EStack_5c._position.x = g_vectorZero.x; + EStack_5c._velocity.x = g_vectorZero.x; + EStack_5c._flags = 0; + EStack_5c._entity = (void *)0x0; + (**(code **)(*piVar6 + 0x24))(&EStack_5c); } pEStack_68 = (Entity_Familiar *)&pEStack_68->field_0x1; } while (pEStack_68 < puStack_28); this = uStack_64; } DAT_00c7e83c = '\0'; - uStack_14 = 0xffffffff; + pEStack_14 = (Entity_Player *)0xffffffff; EntityList_Query::~EntityList_Query(); } break; @@ -45020,18 +45083,18 @@ LAB_0043785e: do { pEVar10 = this->_player; pEStack_68 = (Entity_Familiar *)(pEVar10->_shotspeed * 10.0); - pEVar19 = (Entity_Player *)(((float)uStack_64 + VStack_88.y) * 0.017453292); - apEStack_74[0] = pEVar19; + pEVar18 = (Entity_Player *)(((float)uStack_64 + VStack_88.y) * 0.017453292); + apEStack_74[0] = pEVar18; cos(); - fStack_94 = (float)pEVar19 * (float)pEStack_68; - pEVar19 = apEStack_74[0]; + fStack_94 = (float)pEVar18 * (float)pEStack_68; + pEVar18 = apEStack_74[0]; sin(); - fStack_90 = (float)pEVar19 * (float)pEStack_68; + fStack_90 = (float)pEVar18 * (float)pEStack_68; iVar13 = Entity_Player::FireTear(pEVar10,&this->_pos,fStack_94,fStack_90,6,0,0x3f800000); - fVar18 = (this->_pos).x; + fVar17 = (this->_pos).x; *(float *)(iVar13 + 0x338) = (this->_pos).y; uStack_64 = (Entity_Familiar *)((float)uStack_64 + 60.0); - *(float *)(iVar13 + 0x334) = fVar18; + *(float *)(iVar13 + 0x334) = fVar17; } while ((float)uStack_64 < 360.0); break; case (Entity_Player *)0x18c: @@ -45060,8 +45123,8 @@ LAB_0043785e: break; case (Entity_Player *)0x1e3: uVar12 = Random(); - uVar22 = Room::FindFreePickupSpawnPosition((int)&uStack_30 + 4,&this->_pos,0,0,0,0); - Game::Spawn(4,0x12,uVar22,&g_vectorZero,this,0,uVar12); + uVar21 = Room::FindFreePickupSpawnPosition((int)&uStack_30 + 4,&this->_pos,0,0,0,0); + Game::Spawn(4,0x12,uVar21,&g_vectorZero,this,0,uVar12); break; case (Entity_Player *)0x1e4: uVar12 = Random(); @@ -45089,7 +45152,7 @@ LAB_0043785e: if (uVar11 == 0) { EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); uVar11 = 0; - uStack_14 = 3; + pEStack_14 = (Entity_Player *)0x3; if (puStack_28 != (undefined1 *)0x0) { do { if (*(char *)(*(int *)((int)uStack_30 + uVar11 * 4) + 0x173) == '\0') { @@ -45105,27 +45168,27 @@ LAB_0043785e: } else { EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); - uStack_14 = 4; + pEStack_14 = (Entity_Player *)0x4; if (puStack_28 != (undefined1 *)0x0) { uVar11 = 0; do { - auStack_5c._0_4_ = 0; - auStack_5c._4_4_ = 0; - auStack_5c._8_4_ = 0; - auStack_5c._20_4_ = g_vectorZero.y; - fStack_40 = g_vectorZero.y; - auStack_5c._12_4_ = 0; - auStack_5c._16_4_ = g_vectorZero.x; - auStack_5c._24_4_ = g_vectorZero.x; - uStack_3c = 0; - pvStack_38 = (void *)0x0; - (**(code **)(**(int **)((int)uStack_30 + uVar11 * 4) + 0x24))(auStack_5c); + EStack_5c._type = 0; + EStack_5c._variant = 0; + EStack_5c._spawnerType = 0; + EStack_5c._position.y = g_vectorZero.y; + EStack_5c._velocity.y = g_vectorZero.y; + EStack_5c._spawnerVariant = 0; + EStack_5c._position.x = g_vectorZero.x; + EStack_5c._velocity.x = g_vectorZero.x; + EStack_5c._flags = 0; + EStack_5c._entity = (void *)0x0; + (**(code **)(**(int **)((int)uStack_30 + uVar11 * 4) + 0x24))(&EStack_5c); uVar11 = uVar11 + 1; } while (uVar11 < puStack_28); this = uStack_64; } } - uStack_14 = 0xffffffff; + pEStack_14 = (Entity_Player *)0xffffffff; EntityList_Query::~EntityList_Query(); DAT_00c7e83d = '\0'; } @@ -45166,9 +45229,9 @@ code_r0x00437e10: VStack_88.y = (float)this->_player; RNG::Next(this_00); pfVar7 = (float *)RandomVector(); - fVar18 = RNG::RandomFloat(this_00); + fVar17 = RNG::RandomFloat(this_00); this = uStack_64; - fStack_6c = fVar18 * 2.0 + 2.0; + fStack_6c = fVar17 * 2.0 + 2.0; pEStack_68 = (Entity_Familiar *)(fStack_6c * pfVar7[1]); fStack_6c = fStack_6c * *pfVar7; uVar12 = 0; @@ -45206,19 +45269,19 @@ code_r0x00437e10: pvVar9 = this->_player; uStack_64 = (Entity_Familiar *)((this->_pos).x - *(float *)((int)pvVar9 + 0x33c)); pEStack_68 = (Entity_Familiar *)((this->_pos).y - *(float *)((int)pvVar9 + 0x340)); - fVar18 = (float)uStack_64 * (float)uStack_64 + (float)pEStack_68 * (float)pEStack_68; + fVar17 = (float)uStack_64 * (float)uStack_64 + (float)pEStack_68 * (float)pEStack_68; sqrtf(); - if (70.0 <= fVar18) { - pEVar21 = uStack_64; - pEVar17 = pEStack_68; + if (70.0 <= fVar17) { + pEVar20 = uStack_64; + pEVar16 = pEStack_68; } else { - pEVar21 = (Entity_Familiar *)((float)uStack_64 * (70.0 / fVar18)); - pEVar17 = (Entity_Familiar *)((float)pEStack_68 * (70.0 / fVar18)); + pEVar20 = (Entity_Familiar *)((float)uStack_64 * (70.0 / fVar17)); + pEVar16 = (Entity_Familiar *)((float)pEStack_68 * (70.0 / fVar17)); } Color = (ColorMod *)::Color::Color(); - VStack_88.x = (float)pEVar21 + *(float *)((int)pvVar9 + 0x33c); - VStack_88.y = (float)pEVar17 + *(float *)((int)pvVar9 + 0x340); + VStack_88.x = (float)pEVar20 + *(float *)((int)pvVar9 + 0x33c); + VStack_88.y = (float)pEVar16 + *(float *)((int)pvVar9 + 0x340); Game::BombExplosionEffects (g_game,&VStack_88,30.0,(BitSet128)ZEXT816(0),Color,(Entity *)this,0.75,1,4,0); break; @@ -45251,15 +45314,15 @@ code_r0x00437e10: pMVar15 = g_manager; uStack_64 = (Entity_Familiar *)0x109; seed_fart_sound_override(); - pEVar17 = uStack_64; + pEVar16 = uStack_64; code_r0x00437295: - SoundEffects::Play(&pMVar15->_sfxManager,(int)pEVar17,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar15->_sfxManager,(int)pEVar16,1.0,2,0,1.0,0.0); break; case (Entity_Player *)0x55: uVar11 = RNG::Next(&this->_dropRNG); iVar13 = ItemPool::GetCardEx(uVar11,0x19,0,10,1); - uVar23 = 0; uVar22 = 0; + uVar21 = 0; uVar12 = 1; goto LAB_004372ff; case (Entity_Player *)0x66: @@ -45283,31 +45346,31 @@ code_r0x00437295: *(undefined4 *)(iVar13 + 0xd88) = 0xf; pfVar7 = (float *)MusicManager::RandomVector((int)&uStack_30 + 4); iVar8 = Random(); - fVar20 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10; - fVar18 = pfVar7[1]; + fVar19 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10; + fVar17 = pfVar7[1]; fVar3 = *pfVar7; *(undefined4 *)(iVar13 + 0x188) = 0; - *(float *)(iVar13 + 0x364) = fVar20 * fVar18 * 5.0; - *(float *)(iVar13 + 0x360) = fVar20 * fVar3 * 5.0; + *(float *)(iVar13 + 0x364) = fVar19 * fVar17 * 5.0; + *(float *)(iVar13 + 0x360) = fVar19 * fVar3 * 5.0; this = uStack_64; } break; case (Entity_Player *)0x107: uVar11 = RNG::Next(&this->_dropRNG); iVar13 = ItemPool::GetCardEx(uVar11,0,1,0,1); - uVar23 = 1; uVar22 = 1; + uVar21 = 1; uVar12 = 0; LAB_004372ff: puStack_28 = &DAT_00000007; uStack_30 = 0x900000005; uStack_34 = uVar11; - uVar12 = lua_callback_run_get_card(&uStack_34,iVar13,uVar12,uVar22,uVar23); + uVar12 = lua_callback_run_get_card(&uStack_34,iVar13,uVar12,uVar21,uVar22); uVar11 = RNG::Next(&uStack_64->_dropRNG); - uVar22 = Room::FindFreePickupSpawnPosition + uVar21 = Room::FindFreePickupSpawnPosition ((int)&uStack_30 + 4,&uStack_64->_pos,0x42200000,0,0,0); this = uStack_64; - Game::Spawn(5,300,uVar22,&g_vectorZero,uStack_64,uVar12,uVar11); + Game::Spawn(5,300,uVar21,&g_vectorZero,uStack_64,uVar12,uVar11); } LAB_004372a0: pEVar10 = (Entity_Player *)this->_wispCollectibleType; @@ -45331,19 +45394,19 @@ LAB_004372a0: if (0.0 < *(float *)(iStack_8c + 0x110) || *(float *)(iStack_8c + 0x110) == 0.0) { if (puVar2 != (undefined4 *)(iStack_8c + 0x104)) { uVar12 = *(undefined4 *)(iStack_8c + 0x108); - uVar22 = *(undefined4 *)(iStack_8c + 0x10c); - uVar23 = *(undefined4 *)(iStack_8c + 0x110); + uVar21 = *(undefined4 *)(iStack_8c + 0x10c); + uVar22 = *(undefined4 *)(iStack_8c + 0x110); *puVar2 = *(undefined4 *)(iStack_8c + 0x104); *(undefined4 *)(iVar13 + 0xf4) = uVar12; - *(undefined4 *)(iVar13 + 0xf8) = uVar22; - *(undefined4 *)(iVar13 + 0xfc) = uVar23; + *(undefined4 *)(iVar13 + 0xf8) = uVar21; + *(undefined4 *)(iVar13 + 0xfc) = uVar22; uVar12 = *(undefined4 *)(iStack_8c + 0x118); - uVar22 = *(undefined4 *)(iStack_8c + 0x11c); - uVar23 = *(undefined4 *)(iStack_8c + 0x120); + uVar21 = *(undefined4 *)(iStack_8c + 0x11c); + uVar22 = *(undefined4 *)(iStack_8c + 0x120); *(undefined4 *)(iVar13 + 0x100) = *(undefined4 *)(iStack_8c + 0x114); *(undefined4 *)(iVar13 + 0x104) = uVar12; - *(undefined4 *)(iVar13 + 0x108) = uVar22; - *(undefined4 *)(iVar13 + 0x10c) = uVar23; + *(undefined4 *)(iVar13 + 0x108) = uVar21; + *(undefined4 *)(iVar13 + 0x10c) = uVar22; *(undefined8 *)(iVar13 + 0x110) = *(undefined8 *)(iStack_8c + 0x124); uStack_98 = *(undefined4 *)(iStack_8c + 300); goto LAB_00438335; @@ -45352,19 +45415,19 @@ LAB_004372a0: else { ::Color::Color(); pLVar14 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); - uStack_b0 = *(undefined4 *)&pLVar14->field_0x48; - uStack_ac = *(undefined4 *)&pLVar14->field_0x4c; - uStack_a8 = *(undefined4 *)&pLVar14->field_0x50; - uStack_a4 = *(undefined4 *)&pLVar14->field_0x54; + fStack_b0 = (pLVar14->_color)._tint[0]; + fStack_ac = (pLVar14->_color)._tint[1]; + fStack_a8 = (pLVar14->_color)._tint[2]; + fStack_a4 = (pLVar14->_color)._tint[3]; if (puVar2 != &uStack_c0) { *puVar2 = uStack_c0; *(undefined4 *)(iVar13 + 0xf4) = uStack_bc; *(undefined4 *)(iVar13 + 0xf8) = uStack_b8; *(undefined4 *)(iVar13 + 0xfc) = uStack_b4; - *(undefined4 *)(iVar13 + 0x100) = uStack_b0; - *(undefined4 *)(iVar13 + 0x104) = uStack_ac; - *(undefined4 *)(iVar13 + 0x108) = uStack_a8; - *(undefined4 *)(iVar13 + 0x10c) = uStack_a4; + *(float *)(iVar13 + 0x100) = fStack_b0; + *(float *)(iVar13 + 0x104) = fStack_ac; + *(float *)(iVar13 + 0x108) = fStack_a8; + *(float *)(iVar13 + 0x10c) = fStack_a4; *(undefined8 *)(iVar13 + 0x110) = uStack_a0; LAB_00438335: *(undefined4 *)(iVar13 + 0x118) = uStack_98; @@ -45378,38 +45441,38 @@ LAB_00438335: if (0.0 < *(float *)(iStack_8c + 0x13c) || *(float *)(iStack_8c + 0x13c) == 0.0) { if (puVar2 == (undefined4 *)(iStack_8c + 0x130)) goto LAB_0043842f; uVar12 = *(undefined4 *)(iStack_8c + 0x134); - uVar22 = *(undefined4 *)(iStack_8c + 0x138); - uVar23 = *(undefined4 *)(iStack_8c + 0x13c); + uVar21 = *(undefined4 *)(iStack_8c + 0x138); + uVar22 = *(undefined4 *)(iStack_8c + 0x13c); *puVar2 = *(undefined4 *)(iStack_8c + 0x130); *(undefined4 *)(iVar13 + 0xf4) = uVar12; - *(undefined4 *)(iVar13 + 0xf8) = uVar22; - *(undefined4 *)(iVar13 + 0xfc) = uVar23; + *(undefined4 *)(iVar13 + 0xf8) = uVar21; + *(undefined4 *)(iVar13 + 0xfc) = uVar22; uVar12 = *(undefined4 *)(iStack_8c + 0x144); - uVar22 = *(undefined4 *)(iStack_8c + 0x148); - uVar23 = *(undefined4 *)(iStack_8c + 0x14c); + uVar21 = *(undefined4 *)(iStack_8c + 0x148); + uVar22 = *(undefined4 *)(iStack_8c + 0x14c); *(undefined4 *)(iVar13 + 0x100) = *(undefined4 *)(iStack_8c + 0x140); *(undefined4 *)(iVar13 + 0x104) = uVar12; - *(undefined4 *)(iVar13 + 0x108) = uVar22; - *(undefined4 *)(iVar13 + 0x10c) = uVar23; + *(undefined4 *)(iVar13 + 0x108) = uVar21; + *(undefined4 *)(iVar13 + 0x10c) = uVar22; *(undefined8 *)(iVar13 + 0x110) = *(undefined8 *)(iStack_8c + 0x150); uStack_c4 = *(undefined4 *)(iStack_8c + 0x158); } else { ::Color::Color(); pLVar14 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - uStack_dc = *(undefined4 *)&pLVar14->field_0x48; - uStack_d8 = *(undefined4 *)&pLVar14->field_0x4c; - uStack_d4 = *(undefined4 *)&pLVar14->field_0x50; - uStack_d0 = *(undefined4 *)&pLVar14->field_0x54; + fStack_dc = (pLVar14->_color)._tint[0]; + fStack_d8 = (pLVar14->_color)._tint[1]; + fStack_d4 = (pLVar14->_color)._tint[2]; + fStack_d0 = (pLVar14->_color)._tint[3]; if (puVar2 == &uStack_ec) goto LAB_0043842f; *puVar2 = uStack_ec; *(undefined4 *)(iVar13 + 0xf4) = uStack_e8; *(undefined4 *)(iVar13 + 0xf8) = uStack_e4; *(undefined4 *)(iVar13 + 0xfc) = uStack_e0; - *(undefined4 *)(iVar13 + 0x100) = uStack_dc; - *(undefined4 *)(iVar13 + 0x104) = uStack_d8; - *(undefined4 *)(iVar13 + 0x108) = uStack_d4; - *(undefined4 *)(iVar13 + 0x10c) = uStack_d0; + *(float *)(iVar13 + 0x100) = fStack_dc; + *(float *)(iVar13 + 0x104) = fStack_d8; + *(float *)(iVar13 + 0x108) = fStack_d4; + *(float *)(iVar13 + 0x10c) = fStack_d0; *(undefined8 *)(iVar13 + 0x110) = uStack_cc; } *(undefined4 *)(iVar13 + 0x118) = uStack_c4; @@ -45464,8 +45527,6 @@ Entity_Tear * Entity_Familiar::fire_wisp_projectile(EntityPtr *param_1,EntityPtr TypeDescriptor *pTVar26; undefined4 uVar27; RNG local_e0; - undefined8 local_dc; - undefined4 local_d4; EntityPtr *local_cc; float local_c8; Entity_Familiar *local_c4; @@ -45893,11 +45954,11 @@ LAB_00438842: case 0x4d: switchD_00438fa0_caseD_4d: pLVar14 = ANM2::GetLayer(&in_ECX->_sprite,(byte *)0x1); - local_74 = *(float *)&pLVar14->field_0x48 * 0.5; + local_74 = (pLVar14->_color)._tint[0] * 0.5; pLVar14 = ANM2::GetLayer(&in_ECX->_sprite,(byte *)0x1); - local_b4 = (void *)(*(float *)&pLVar14->field_0x4c * 0.5); + local_b4 = (void *)((pLVar14->_color)._tint[1] * 0.5); pLVar14 = ANM2::GetLayer(&in_ECX->_sprite,(byte *)0x1); - local_18 = *(float *)&pLVar14->field_0x50 * 0.5; + local_18 = (pLVar14->_color)._tint[2] * 0.5; local_30 = 0; uStack_2c = 0; uStack_28 = 0; @@ -45913,11 +45974,11 @@ switchD_00438fa0_caseD_4d: break; case 0x66: pLVar14 = ANM2::GetLayer(&in_ECX->_sprite,(byte *)0x1); - local_74 = *(float *)&pLVar14->field_0x48 * 0.5; + local_74 = (pLVar14->_color)._tint[0] * 0.5; pLVar14 = ANM2::GetLayer(&in_ECX->_sprite,(byte *)0x1); - local_b4 = (void *)(*(float *)&pLVar14->field_0x4c * 0.5); + local_b4 = (void *)((pLVar14->_color)._tint[1] * 0.5); pLVar14 = ANM2::GetLayer(&in_ECX->_sprite,(byte *)0x1); - local_18 = *(float *)&pLVar14->field_0x50 * 0.5; + local_18 = (pLVar14->_color)._tint[2] * 0.5; local_30 = 0; uStack_2c = 0; uStack_28 = 0; @@ -45974,9 +46035,10 @@ switchD_00438fa0_caseD_4d: } break; case 0x7b: - local_e0 = (RNG)in_ECX->_initSeed; - local_d4 = 9; - local_dc = 0x1500000002; + local_e0._seed = in_ECX->_initSeed; + local_e0._shift3 = 9; + local_e0._shift1 = 2; + local_e0._shift2 = 0x15; familiar_wisp_pick_tear_color(&local_e0,&local_a0,&local_98); local_98 = local_98 | (uint)g_tearFlagSpectral._l; uStack_94 = uStack_94 | g_tearFlagSpectral._l._4_4_; @@ -45988,11 +46050,11 @@ switchD_00438fa0_caseD_4d: local_c8 = 0.0; local_cc = (EntityPtr *)(fVar18 * 0.4 - 0.2); pLVar14 = ANM2::GetLayer(&in_ECX->_sprite,(byte *)0x1); - local_74 = *(float *)&pLVar14->field_0x48 * 0.5; + local_74 = (pLVar14->_color)._tint[0] * 0.5; pLVar14 = ANM2::GetLayer(&in_ECX->_sprite,(byte *)0x1); - local_b4 = (void *)(*(float *)&pLVar14->field_0x4c * 0.5); + local_b4 = (void *)((pLVar14->_color)._tint[1] * 0.5); pLVar14 = ANM2::GetLayer(&in_ECX->_sprite,(byte *)0x1); - local_18 = *(float *)&pLVar14->field_0x50 * 0.5; + local_18 = (pLVar14->_color)._tint[2] * 0.5; local_30 = 0; uStack_2c = 0; uStack_28 = 0; @@ -46072,9 +46134,10 @@ LAB_00439c27: local_9c = (EntityPtr *)0x1; goto LAB_00439c27; case 0x196: - local_e0 = in_ECX->_dropRNG; - local_dc = 0x700000002; - local_d4 = 7; + local_e0._seed = (in_ECX->_dropRNG)._seed; + local_e0._shift1 = 2; + local_e0._shift2 = 7; + local_e0._shift3 = 7; local_74 = RNG::RandomFloat(&local_e0); local_bc = (local_74 * 2.0 - 1.0) + local_bc; goto switchD_00438fa0_caseD_27; @@ -46266,10 +46329,7 @@ Entity_Familiar::wisp_take_damage(Entity_Familiar *this,float *param_2,uint *par bool bVar12; Entity_Familiar *local_3c; EntityPtr local_38; - undefined1 local_30 [28]; - float local_14; - uint local_10; - Entity_Familiar *local_c; + EntityRef local_30; local_3c = this; bVar6 = Entity_Player::HasInvincibility(this->_player,0,(EntityRef *)0x0); @@ -46331,14 +46391,14 @@ Entity_Familiar::wisp_take_damage(Entity_Familiar *this,float *param_2,uint *par this_00 = (EntityPtr)Entity::GetLastSpawner(); cVar7 = Entity::IsVulnerableEnemy((Entity *)this_00,0); if (cVar7 != '\0') { - local_30._0_4_ = this->_type; - local_30._8_4_ = this->_spawnerType; - local_30._16_4_ = (this->_pos).x; - local_30._20_4_ = (this->_pos).y; - local_30._12_4_ = this->_spawnerVariant; - local_30._4_4_ = this->_variant; - local_30._24_4_ = (this->_velocity).x; - local_14 = (this->_velocity).y; + local_30._type = this->_type; + local_30._spawnerType = this->_spawnerType; + local_30._position.x = (this->_pos).x; + local_30._position.y = (this->_pos).y; + local_30._spawnerVariant = this->_spawnerVariant; + local_30._variant = this->_variant; + local_30._velocity.x = (this->_velocity).x; + local_30._velocity.y = (this->_velocity).y; if ((this->_flags & 0x20000000) == 0) { uVar11 = 0; } @@ -46352,9 +46412,9 @@ Entity_Familiar::wisp_take_damage(Entity_Familiar *this,float *param_2,uint *par else { uVar8 = 4; } - local_10 = uVar8 | uVar11 | (uint)((this->_flags & 0x100) != 0); - local_c = this; - Entity::AddFear((Entity *)this_00,(EntityRef *)local_30,2,0); + local_30._flags = uVar8 | uVar11 | (uint)((this->_flags & 0x100) != 0); + local_30._entity = this; + Entity::AddFear((Entity *)this_00,&local_30,2,0); cVar7 = Entity::HasEntityFlags(0x800,0); if (cVar7 != '\0') { if (this->_target != (EntityPtr)0x0) { @@ -46446,37 +46506,35 @@ void __thiscall Entity_Familiar::ai_wisp(Entity_Familiar *this) code *pcVar3; Entity_Pickup *this_01; Entity *pEVar4; - undefined4 uVar5; - Game *pGVar6; - Manager *pMVar7; - char cVar8; - byte bVar9; - int iVar10; - LayerState *pLVar11; + Game *pGVar5; + Manager *pMVar6; + char cVar7; + byte bVar8; + int iVar9; + LayerState *pLVar10; Entity_Laser *this_02; ColorMod *Color; - int iVar12; - undefined4 *puVar13; - int *piVar14; - float *pfVar15; - uint uVar16; - undefined4 uVar17; + int iVar11; + int *piVar12; + float *pfVar13; + uint uVar14; + undefined4 uVar15; Entity_Tear *this_03; char *anim; byte *anim_00; - Vector *pVVar18; + Vector *pVVar16; undefined4 extraout_ECX; - uint uVar19; - EntityPtr EVar20; - bool bVar21; - float fVar22; + uint uVar17; + EntityPtr EVar18; + bool bVar19; + float fVar20; + float fVar21; + EntityPtr EVar22; float fVar23; - EntityPtr EVar24; - float fVar25; - Room *pRVar26; - Entity *pEVar27; - undefined8 uVar28; - undefined4 uVar29; + Room *pRVar24; + Entity *pEVar25; + undefined8 uVar26; + undefined4 uVar27; EntityRef EStack_414; EntityRef EStack_3d8; EntityRef EStack_3b0; @@ -46491,7 +46549,7 @@ void __thiscall Entity_Familiar::ai_wisp(Entity_Familiar *this) undefined1 auStack_31c [8]; undefined1 auStack_314 [8]; undefined1 auStack_30c [8]; - RNG aRStack_304 [5]; + RNG RStack_304; undefined8 uStack_2f0; float fStack_2e4; undefined1 auStack_2c8 [4]; @@ -46587,8 +46645,6 @@ void __thiscall Entity_Familiar::ai_wisp(Entity_Familiar *this) undefined4 local_2c; undefined4 local_28; RNG RStack_24; - undefined8 uStack_20; - undefined4 uStack_18; uint local_14; void *local_10; undefined1 *puStack_c; @@ -46604,24 +46660,24 @@ void __thiscall Entity_Familiar::ai_wisp(Entity_Familiar *this) local_1b5 = *(char *)&((Vector *)((int)local_1c8 + 0x10))->y; local_1f4 = (int)this->_updateTime - (int)this->_prevUpdateTime; if ((this->_variant == 0xce) && (this->_subtype == 0x28a)) { - EVar20 = this->_target; - if ((EVar20 == (EntityPtr)0x0) || - (((*(int *)((int)EVar20 + 0x28) != 3 || (*(int *)((int)EVar20 + 0xd88) != 6)) || - (*(int *)((int)EVar20 + 0xd4c) < 1)))) { + EVar18 = this->_target; + if ((EVar18 == (EntityPtr)0x0) || + (((*(int *)((int)EVar18 + 0x28) != 3 || (*(int *)((int)EVar18 + 0xd88) != 6)) || + (*(int *)((int)EVar18 + 0xd4c) < 1)))) { if (this->_state == 1) { this->_state = 0; this->_fireCooldown = 0; this->_entityGridCollisionClass = 0; - ANM2::GetLayer(&this->_sprite,(byte *)0x0); - piVar14 = (int *)LayerState::GetTexture(local_214); + pLVar10 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + piVar12 = (int *)LayerState::GetTexture(pLVar10,local_214); local_8 = 0; anim_00 = s_Idle2; - if (*(uint *)(*piVar14 + 0x10) < 0x81) { + if (*(uint *)(*piVar12 + 0x10) < 0x81) { anim_00 = s_Idle; } ANM2::SetAnimation(&this->_sprite,anim_00,0); local_8 = 1; - if (((local_210 != (int *)0x0) && (cVar8 = (**(code **)(*local_210 + 0xc))(), cVar8 != '\0') + if (((local_210 != (int *)0x0) && (cVar7 = (**(code **)(*local_210 + 0xc))(), cVar7 != '\0') ) && (g_imageReleaseFn != (void *)0x0)) { (*g_imageReleaseFn)(local_214); } @@ -46629,7 +46685,7 @@ void __thiscall Entity_Familiar::ai_wisp(Entity_Familiar *this) } goto LAB_0043ac23; } - bVar21 = false; + bVar19 = false; if (this->_state == 0) { this->_state = 1; this->_fireCooldown = 0; @@ -46639,34 +46695,34 @@ void __thiscall Entity_Familiar::ai_wisp(Entity_Familiar *this) } else { LAB_0043ac23: - bVar21 = this->_state == 0; + bVar19 = this->_state == 0; } local_1e0 = (Entity *)0x3f800000; - if (bVar21) { + if (bVar19) { if (this->_orbitLayer < 0) { - fVar22 = (this->_formationOffset).x; - if ((fVar22 != g_vectorZero.x) || ((this->_formationOffset).y != g_vectorZero.y)) { - (this->_pos).x = fVar22; + fVar20 = (this->_formationOffset).x; + if ((fVar20 != g_vectorZero.x) || ((this->_formationOffset).y != g_vectorZero.y)) { + (this->_pos).x = fVar20; (this->_pos).y = (this->_formationOffset).y; (this->_velocity).x = g_vectorZero.x; (this->_velocity).y = g_vectorZero.y; } } else { - iVar10 = get_orbit_parent(this); - local_1bc = *(Entity **)(iVar10 + 0x33c); - local_1cc = *(EntityPtr *)(iVar10 + 0x364); - local_1d0 = *(float *)(iVar10 + 0x340); - local_1c4 = *(EntityPtr *)(iVar10 + 0x360); + iVar9 = get_orbit_parent(this); + local_1bc = *(Entity **)(iVar9 + 0x33c); + local_1cc = *(EntityPtr *)(iVar9 + 0x364); + local_1d0 = *(float *)(iVar9 + 0x340); + local_1c4 = *(EntityPtr *)(iVar9 + 0x360); if (((this->_subtype == 0x2c5) || (this->_subtype == 0x25c)) && - ((pEVar27 = (Entity *)(this->_targetPosition).x, (float)pEVar27 != g_vectorZero.x || + ((pEVar25 = (Entity *)(this->_targetPosition).x, (float)pEVar25 != g_vectorZero.x || ((this->_targetPosition).y != g_vectorZero.y)))) { local_1d0 = (this->_targetPosition).y; local_1c4 = (EntityPtr)g_vectorZero.x; local_1cc = (EntityPtr)g_vectorZero.y; - local_1bc = pEVar27; + local_1bc = pEVar25; } - if ((*(int *)(iVar10 + 0x28) == 3) && (*(int *)(iVar10 + 0x2c) == 0xf0)) { + if ((*(int *)(iVar9 + 0x28) == 3) && (*(int *)(iVar9 + 0x2c) == 0xf0)) { local_1c4 = (EntityPtr)((float)local_1c4 * 0.5); local_1cc = (EntityPtr)((float)local_1cc * 0.5); } @@ -46684,58 +46740,58 @@ LAB_0043ac23: } local_1d0 = local_1d0 - (this->_pos).y; local_1bc = (Entity *)((float)local_1bc - (this->_pos).x); - fVar22 = local_1d0 * local_1d0 + (float)local_1bc * (float)local_1bc; + fVar20 = local_1d0 * local_1d0 + (float)local_1bc * (float)local_1bc; sqrtf(); local_1d0 = local_1d0 * 0.01; local_1bc = (Entity *)((float)local_1bc * 0.01); - fVar23 = local_1d0 * local_1d0 + (float)local_1bc * (float)local_1bc; - local_1c0 = (Entity *)fVar22; + fVar21 = local_1d0 * local_1d0 + (float)local_1bc * (float)local_1bc; + local_1c0 = (Entity *)fVar20; sqrtf(); - if ((8.0 < fVar23) && (0.0 < fVar23)) { - local_1bc = (Entity *)((float)local_1bc * (8.0 / fVar23)); - local_1d0 = local_1d0 * (8.0 / fVar23); + if ((8.0 < fVar21) && (0.0 < fVar21)) { + local_1bc = (Entity *)((float)local_1bc * (8.0 / fVar21)); + local_1d0 = local_1d0 * (8.0 / fVar21); } - fVar22 = (this->_orbitDistance).y; - pVVar18 = &this->_orbitDistance; - if ((this->_orbitDistance).x <= fVar22 && fVar22 != (this->_orbitDistance).x) { - pVVar18 = (Vector *)&(this->_orbitDistance).y; + fVar20 = (this->_orbitDistance).y; + pVVar16 = &this->_orbitDistance; + if ((this->_orbitDistance).x <= fVar20 && fVar20 != (this->_orbitDistance).x) { + pVVar16 = (Vector *)&(this->_orbitDistance).y; } - pEVar27 = (Entity *)((((float)local_1c0 - (pVVar18->x + 10.0)) - 0.0) / 160.0); - if ((float)pEVar27 <= 0.0) { - pEVar27 = (Entity *)0x0; + pEVar25 = (Entity *)((((float)local_1c0 - (pVVar16->x + 10.0)) - 0.0) / 160.0); + if ((float)pEVar25 <= 0.0) { + pEVar25 = (Entity *)0x0; } - if ((float)local_1e0 <= (float)pEVar27) { - pEVar27 = local_1e0; + if ((float)local_1e0 <= (float)pEVar25) { + pEVar25 = local_1e0; } - fVar22 = (float)local_1e0 - ((float)pEVar27 + 0.0); - local_1c0 = (Entity *)((float)local_1e0 - fVar22 * fVar22); - fVar22 = ((float)local_1e0 - (float)local_1c0) + ((float)local_1e0 - (float)local_1c0); - local_1c4 = (EntityPtr)(((float)local_1c4 * fVar22) / *(float *)(iVar10 + 0x36c)); - local_1cc = (EntityPtr)(((float)local_1cc * fVar22) / *(float *)(iVar10 + 0x36c)); + fVar20 = (float)local_1e0 - ((float)pEVar25 + 0.0); + local_1c0 = (Entity *)((float)local_1e0 - fVar20 * fVar20); + fVar20 = ((float)local_1e0 - (float)local_1c0) + ((float)local_1e0 - (float)local_1c0); + local_1c4 = (EntityPtr)(((float)local_1c4 * fVar20) / *(float *)(iVar9 + 0x36c)); + local_1cc = (EntityPtr)(((float)local_1cc * fVar20) / *(float *)(iVar9 + 0x36c)); local_1d4 = (Entity *)(((float)local_1d4 - ((this->_pos).x + (float)local_1c4)) * 0.5); local_1d8 = (local_1d8 - ((this->_pos).y + (float)local_1cc)) * 0.5; - fVar22 = (float)local_1d4 * (float)local_1d4 + local_1d8 * local_1d8; + fVar20 = (float)local_1d4 * (float)local_1d4 + local_1d8 * local_1d8; sqrtf(); - if ((fVar22 <= 5.0) || ((this->_flags & 0x20000000000) != 0)) { - pEVar27 = local_1d4; - fVar22 = local_1d8; + if ((fVar20 <= 5.0) || ((this->_flags & 0x20000000000) != 0)) { + pEVar25 = local_1d4; + fVar20 = local_1d8; } else { - pEVar27 = local_1d4; - fVar23 = local_1d8; - if (0.0 < fVar22) { - fVar23 = local_1d8 * ((float)local_1e0 / fVar22); - pEVar27 = (Entity *)((float)local_1d4 * ((float)local_1e0 / fVar22)); + pEVar25 = local_1d4; + fVar21 = local_1d8; + if (0.0 < fVar20) { + fVar21 = local_1d8 * ((float)local_1e0 / fVar20); + pEVar25 = (Entity *)((float)local_1d4 * ((float)local_1e0 / fVar20)); } - pEVar27 = (Entity *)((float)pEVar27 * 4.0); - fVar22 = fVar23 * 4.0; + pEVar25 = (Entity *)((float)pEVar25 * 4.0); + fVar20 = fVar21 * 4.0; } - fVar23 = (fVar22 + (float)local_1cc) / this->_friction; - fVar22 = ((float)pEVar27 + (float)local_1c4) / this->_friction; - (this->_velocity).y = ((local_1d0 + (this->_velocity).y) - fVar23) * (float)local_1c0 + fVar23 + fVar21 = (fVar20 + (float)local_1cc) / this->_friction; + fVar20 = ((float)pEVar25 + (float)local_1c4) / this->_friction; + (this->_velocity).y = ((local_1d0 + (this->_velocity).y) - fVar21) * (float)local_1c0 + fVar21 ; (this->_velocity).x = - (((float)local_1bc + (this->_velocity).x) - fVar22) * (float)local_1c0 + fVar22; + (((float)local_1bc + (this->_velocity).x) - fVar20) * (float)local_1c0 + fVar20; } } local_1c4 = (EntityPtr)((this->_health / this->_maxHitPoints) * 0.4 + 0.6); @@ -46747,18 +46803,18 @@ LAB_0043ac23: local_1c4 = (EntityPtr)(((float)this->_keys * 0.05 + (float)local_1e0) * (float)local_1c4); } } - EVar20 = local_1c4; + EVar18 = local_1c4; sqrtf(); - local_1c0 = (Entity *)((float)EVar20 * g_vectorOne.x); - local_1cc = (EntityPtr)((float)EVar20 * g_vectorOne.y); - pLVar11 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - (pLVar11->_size).x = (float)local_1c0; - (pLVar11->_size).y = (float)local_1cc; + local_1c0 = (Entity *)((float)EVar18 * g_vectorOne.x); + local_1cc = (EntityPtr)((float)EVar18 * g_vectorOne.y); + pLVar10 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + (pLVar10->_size).x = (float)local_1c0; + (pLVar10->_size).y = (float)local_1cc; local_1c0 = (Entity *)((float)local_1c4 * g_vectorOne.x); local_1c4 = (EntityPtr)((float)local_1c4 * g_vectorOne.y); - pLVar11 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); - (pLVar11->_size).x = (float)local_1c0; - (pLVar11->_size).y = (float)local_1c4; + pLVar10 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); + (pLVar10->_size).x = (float)local_1c0; + (pLVar10->_size).y = (float)local_1c4; this_00 = this->_player; local_1d8 = g_vectorZero.x; local_1bc = (Entity *)(this_00->_meleeDamage + this_00->_meleeDamage); @@ -46768,23 +46824,23 @@ LAB_0043ac23: this->_collisionDamage = (float)local_1bc; local_1d0 = (float)(int)((Vector *)((int)local_1c8 + 0x10))->x; if (this->_variant != 0xce) goto LAB_0043cdfe; - uVar16 = this->_subtype; - if (uVar16 < 299) { - if (uVar16 == 0x12a) { - bVar9 = TemporaryEffects::HasCollectibleEffect(&this_00->_temporaryeffects,0x12a); - if ((bVar9 != 0) || - (bVar9 = TemporaryEffects::HasCollectibleEffect(&this_00->_temporaryeffects,0x4d), - bVar9 != 0)) { - fVar22 = -5.0; + uVar14 = this->_subtype; + if (uVar14 < 299) { + if (uVar14 == 0x12a) { + bVar8 = TemporaryEffects::HasCollectibleEffect(&this_00->_temporaryeffects,0x12a); + if ((bVar8 != 0) || + (bVar8 = TemporaryEffects::HasCollectibleEffect(&this_00->_temporaryeffects,0x4d), + bVar8 != 0)) { + fVar20 = -5.0; goto code_r0x0043bfeb; } - fVar22 = 0.0; + fVar20 = 0.0; LAB_0043bfef: - this->_collisionDamage = fVar22; - bVar9 = TemporaryEffects::HasCollectibleEffect(&this_00->_temporaryeffects,0x4d); - if ((bVar9 == 0) && - (bVar9 = TemporaryEffects::HasCollectibleEffect(&this_00->_temporaryeffects,0x12a), - bVar9 == 0)) { + this->_collisionDamage = fVar20; + bVar8 = TemporaryEffects::HasCollectibleEffect(&this_00->_temporaryeffects,0x4d); + if ((bVar8 == 0) && + (bVar8 = TemporaryEffects::HasCollectibleEffect(&this_00->_temporaryeffects,0x12a), + bVar8 == 0)) { local_1c0 = (Entity *)0x3e99999a; local_1bc = (Entity *)0x3f333333; local_1b4[0] = (Room *)(((float)((uint)((g_game->_frameCount - this->_spawnFrame) + @@ -46797,79 +46853,79 @@ LAB_0043bfef: this->_initSeed) % 0x1e) + 0.0) / 30.0); } hsv_to_rgb(0x3f800000); - puVar13 = (undefined4 *)::Color::Color(); - pLVar11 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - if ((undefined4 *)&pLVar11->field_0x48 != puVar13) { - uVar17 = puVar13[1]; - uVar29 = puVar13[2]; - uVar5 = puVar13[3]; - *(undefined4 *)&pLVar11->field_0x48 = *puVar13; - *(undefined4 *)&pLVar11->field_0x4c = uVar17; - *(undefined4 *)&pLVar11->field_0x50 = uVar29; - *(undefined4 *)&pLVar11->field_0x54 = uVar5; - uVar17 = puVar13[5]; - uVar29 = puVar13[6]; - uVar5 = puVar13[7]; - *(undefined4 *)&pLVar11->field_0x58 = puVar13[4]; - *(undefined4 *)&pLVar11->field_0x5c = uVar17; - *(undefined4 *)&pLVar11->field_0x60 = uVar29; - *(undefined4 *)&pLVar11->field_0x64 = uVar5; - *(undefined8 *)&pLVar11->field_0x68 = *(undefined8 *)(puVar13 + 8); - *(undefined4 *)&pLVar11->field_0x70 = puVar13[10]; + pfVar13 = (float *)::Color::Color(); + pLVar10 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + if (&pLVar10->_color != (ColorMod *)pfVar13) { + fVar20 = pfVar13[1]; + fVar21 = pfVar13[2]; + fVar23 = pfVar13[3]; + (pLVar10->_color)._tint[0] = *pfVar13; + (pLVar10->_color)._tint[1] = fVar20; + (pLVar10->_color)._tint[2] = fVar21; + (pLVar10->_color)._tint[3] = fVar23; + fVar20 = pfVar13[5]; + fVar21 = pfVar13[6]; + fVar23 = pfVar13[7]; + (pLVar10->_color)._colorize[0] = pfVar13[4]; + (pLVar10->_color)._colorize[1] = fVar20; + (pLVar10->_color)._colorize[2] = fVar21; + (pLVar10->_color)._colorize[3] = fVar23; + *(undefined8 *)(pLVar10->_color)._offset = *(undefined8 *)(pfVar13 + 8); + (pLVar10->_color)._offset[2] = pfVar13[10]; } hsv_to_rgb(0x3f800000); - puVar13 = (undefined4 *)::Color::Color(); - pLVar11 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); - if ((undefined4 *)&pLVar11->field_0x48 != puVar13) { - uVar17 = puVar13[1]; - uVar29 = puVar13[2]; - uVar5 = puVar13[3]; - *(undefined4 *)&pLVar11->field_0x48 = *puVar13; - *(undefined4 *)&pLVar11->field_0x4c = uVar17; - *(undefined4 *)&pLVar11->field_0x50 = uVar29; - *(undefined4 *)&pLVar11->field_0x54 = uVar5; - uVar17 = puVar13[5]; - uVar29 = puVar13[6]; - uVar5 = puVar13[7]; - *(undefined4 *)&pLVar11->field_0x58 = puVar13[4]; - *(undefined4 *)&pLVar11->field_0x5c = uVar17; - *(undefined4 *)&pLVar11->field_0x60 = uVar29; - *(undefined4 *)&pLVar11->field_0x64 = uVar5; - *(undefined8 *)&pLVar11->field_0x68 = *(undefined8 *)(puVar13 + 8); - *(undefined4 *)&pLVar11->field_0x70 = puVar13[10]; + pfVar13 = (float *)::Color::Color(); + pLVar10 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); + if (&pLVar10->_color != (ColorMod *)pfVar13) { + fVar20 = pfVar13[1]; + fVar21 = pfVar13[2]; + fVar23 = pfVar13[3]; + (pLVar10->_color)._tint[0] = *pfVar13; + (pLVar10->_color)._tint[1] = fVar20; + (pLVar10->_color)._tint[2] = fVar21; + (pLVar10->_color)._tint[3] = fVar23; + fVar20 = pfVar13[5]; + fVar21 = pfVar13[6]; + fVar23 = pfVar13[7]; + (pLVar10->_color)._colorize[0] = pfVar13[4]; + (pLVar10->_color)._colorize[1] = fVar20; + (pLVar10->_color)._colorize[2] = fVar21; + (pLVar10->_color)._colorize[3] = fVar23; + *(undefined8 *)(pLVar10->_color)._offset = *(undefined8 *)(pfVar13 + 8); + (pLVar10->_color)._offset[2] = pfVar13[10]; } } else { - switch(uVar16) { + switch(uVar14) { case 0x28: local_1c8 = (EntityPtr) TemporaryEffects::GetCollectibleEffect(&this_00->_temporaryeffects,0x28); if ((this_00->_dead == 0) && (local_1c8 != (EntityPtr)0x0)) { pvVar2 = (g_manager->_itemConfig)._collectibles._begin; if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar2 >> 2 < 0x29) { - iVar10 = 0; + iVar9 = 0; } else { - iVar10 = *(int *)((int)pvVar2 + 0xa0); + iVar9 = *(int *)((int)pvVar2 + 0xa0); } - if (((std_multiset *)((int)local_1c8 + 8))->_head == - (void *)(*(int *)(iVar10 + 0x78) + -1)) { + if (((std_multiset *)((int)local_1c8 + 8))->_head == (void *)(*(int *)(iVar9 + 0x78) + -1) + ) { local_1b4[0] = (Room *)((this->_pos).x - (this_00->_pos).x); local_1bc = (Entity *)((this->_pos).y - (this_00->_pos).y); - fVar22 = (float)local_1b4[0] * (float)local_1b4[0] + (float)local_1bc * (float)local_1bc + fVar20 = (float)local_1b4[0] * (float)local_1b4[0] + (float)local_1bc * (float)local_1bc ; sqrtf(); - if (70.0 <= fVar22) { - pRVar26 = local_1b4[0]; - pEVar27 = local_1bc; + if (70.0 <= fVar20) { + pRVar24 = local_1b4[0]; + pEVar25 = local_1bc; } else { - pRVar26 = (Room *)((float)local_1b4[0] * (70.0 / fVar22)); - pEVar27 = (Entity *)((float)local_1bc * (70.0 / fVar22)); + pRVar24 = (Room *)((float)local_1b4[0] * (70.0 / fVar20)); + pEVar25 = (Entity *)((float)local_1bc * (70.0 / fVar20)); } Color = (ColorMod *)::Color::Color(); - VStack_22c.x = (float)pRVar26 + (this_00->_pos).x; - VStack_22c.y = (float)pEVar27 + (this_00->_pos).y; + VStack_22c.x = (float)pRVar24 + (this_00->_pos).x; + VStack_22c.y = (float)pEVar25 + (this_00->_pos).y; Game::BombExplosionEffects (g_game,&VStack_22c,30.0,(BitSet128)ZEXT816(0),Color,(Entity *)this,0.75,1,4,0 ); @@ -46880,9 +46936,9 @@ LAB_0043bfef: LAB_0043c942: switch(*(undefined4 *)(this + 1)) { case 0: - iVar10 = *(int *)&this[1].field_0x4; - *(int *)&this[1].field_0x4 = iVar10 + -1; - if (iVar10 < 0) { + iVar9 = *(int *)&this[1].field_0x4; + *(int *)&this[1].field_0x4 = iVar9 + -1; + if (iVar9 < 0) { *(undefined4 *)(this + 1) = 1; } break; @@ -46892,8 +46948,8 @@ LAB_0043c942: this->_collisionDamage = 0.0; if ((float)pvVar2 <= 0.0) { *(undefined4 *)(this + 1) = 3; - uVar16 = Random(); - *(uint *)&this[1].field_0x4 = uVar16 % 0x1e + 0x1e; + uVar14 = Random(); + *(uint *)&this[1].field_0x4 = uVar14 % 0x1e + 0x1e; } else { this[1]._damageEvents._begin = (void *)((float)pvVar2 - 0.1); @@ -46903,20 +46959,20 @@ LAB_0043c942: pvVar2 = this[1]._damageEvents._begin; if ((float)local_1e0 <= (float)pvVar2) { *(undefined4 *)(this + 1) = 0; - uVar16 = Random(); - *(uint *)&this[1].field_0x4 = uVar16 % 0x1e + 0x3c; + uVar14 = Random(); + *(uint *)&this[1].field_0x4 = uVar14 % 0x1e + 0x3c; } else { this[1]._damageEvents._begin = (void *)((float)pvVar2 + 0.1); } break; case 3: - iVar10 = *(int *)&this[1].field_0x4; + iVar9 = *(int *)&this[1].field_0x4; local_1b5 = '\0'; this->_visible = 0; this->_collisionDamage = 0.0; - *(int *)&this[1].field_0x4 = iVar10 + -1; - if (iVar10 < 0) { + *(int *)&this[1].field_0x4 = iVar9 + -1; + if (iVar9 < 0) { this->_visible = 1; *(undefined4 *)(this + 1) = 2; } @@ -46948,44 +47004,44 @@ LAB_0043c942: fStack_1ec = (this->_targetPosition).y; } Vector::Normalize(); - bVar9 = Entity_Player::HasCollectible(this_00,0xf7,0); - if (bVar9 == 0) { + bVar8 = Entity_Player::HasCollectible(this_00,0xf7,0); + if (bVar8 == 0) { local_1e0 = (Entity *)0x40000000; } uStack_224 = 0; uStack_220 = 0xc1900000; - fVar22 = fStack_1ec; + fVar20 = fStack_1ec; atan2f(0xf,&uStack_224,this,0); - this_02 = (Entity_Laser *)Entity_Laser::ShootAngle(3,&this->_pos,fVar22 * 57.295776); + this_02 = (Entity_Laser *)Entity_Laser::ShootAngle(3,&this->_pos,fVar20 * 57.295776); (**(code **)(*(int *)this_02 + 0x40))((float)local_1e0 * 3.5); this_02->_scale = (float)local_1e0 * 0.15 + 0.35; Entity_Laser::ResetSpriteScale(this_02); if (fStack_1ec <= -0.5) { - fVar22 = -50.0; + fVar20 = -50.0; } else { - fVar22 = 3000.0; + fVar20 = 3000.0; } - this_02->_renderDepthOffset = fVar22; + this_02->_renderDepthOffset = fVar20; (**(code **)(*(int *)this_02 + 0xc))(); this->_counter = 8; } break; case 0x38: - cVar8 = Entity::IsFrame((Entity *)this,4,0); - if (cVar8 != '\0') { - uVar16 = Random(); - if (uVar16 % 6 == 0) { - uVar17 = Random(); - piVar14 = (int *)Game::Spawn(1000,0x2e,&this->_pos,&g_vectorZero,this,0,uVar17); - fVar23 = g_vectorOne.x * 0.65; - fVar22 = g_vectorOne.y * 0.65; - piVar14[0x117] = 0x5a; - piVar14[0x39] = (int)fVar23; - piVar14[0x118] = 0x5a; - piVar14[0x3a] = (int)fVar22; - (**(code **)(*piVar14 + 0x40))(0x40e00000); - (**(code **)(*piVar14 + 0xc))(); + cVar7 = Entity::IsFrame((Entity *)this,4,0); + if (cVar7 != '\0') { + uVar14 = Random(); + if (uVar14 % 6 == 0) { + uVar15 = Random(); + piVar12 = (int *)Game::Spawn(1000,0x2e,&this->_pos,&g_vectorZero,this,0,uVar15); + fVar21 = g_vectorOne.x * 0.65; + fVar20 = g_vectorOne.y * 0.65; + piVar12[0x117] = 0x5a; + piVar12[0x39] = (int)fVar21; + piVar12[0x118] = 0x5a; + piVar12[0x3a] = (int)fVar20; + (**(code **)(*piVar12 + 0x40))(0x40e00000); + (**(code **)(*piVar12 + 0xc))(); uStack_a8 = 0x3f800000; uStack_a4 = 0x3f800000; uStack_a0 = 0x3f800000; @@ -46997,40 +47053,40 @@ LAB_0043c942: uStack_8c = 0x3f800000; uStack_84 = 0; uStack_80 = 0; - Sprite::SetColor((Sprite *)(piVar14 + 0x12),&uStack_a8); + Sprite::SetColor((Sprite *)(piVar12 + 0x12),&uStack_a8); } - uVar16 = Random(); - if (uVar16 % 6 == 0) { - iVar10 = Random(); - piVar14 = (int *)Entity_NPC::MakeSplat + uVar14 = Random(); + if (uVar14 % 6 == 0) { + iVar9 = Random(); + piVar12 = (int *)Entity_NPC::MakeSplat ((Entity_NPC *)this, - (float)((double)iVar10 + - __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + (float)((double)iVar9 + + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 0.5 + 0.2); - pfVar15 = (float *)MusicManager::RandomVector(auStack_32c); + pfVar13 = (float *)MusicManager::RandomVector(auStack_32c); uStack_5c = 0x3f48c8ca; uStack_58 = 0x3f48c8ca; uStack_54 = 0; - fVar22 = pfVar15[1]; - fVar23 = (this->_pos).y; - piVar14[0xcf] = (int)(*pfVar15 + *pfVar15 + (this->_pos).x + 0.0); + fVar20 = pfVar13[1]; + fVar21 = (this->_pos).y; + piVar12[0xcf] = (int)(*pfVar13 + *pfVar13 + (this->_pos).x + 0.0); uStack_6c = 0; uStack_68 = 0; uStack_64 = 0; uStack_60 = 0; - piVar14[0xd0] = (int)(fVar22 + fVar22 + fVar23 + 8.0); + piVar12[0xd0] = (int)(fVar20 + fVar20 + fVar21 + 8.0); uStack_7c = 0; uStack_78 = 0; uStack_74 = 0; uStack_70 = 0x3f333333; - (**(code **)(*piVar14 + 0x3c))(&uStack_7c,0xffffffff,0xff,0,1); + (**(code **)(*piVar12 + 0x3c))(&uStack_7c,0xffffffff,0xff,0,1); } } break; case 0x4d: - fVar22 = 8.0; + fVar20 = 8.0; code_r0x0043bfeb: - fVar22 = (float)local_1bc + fVar22; + fVar20 = (float)local_1bc + fVar20; goto LAB_0043bfef; case 0x5d: pEVar1 = &this->_target; @@ -47041,13 +47097,13 @@ code_r0x0043bfeb: *(undefined4 *)&pEVar1->field_0x0 = 0; } else { - uVar28 = ::Color::Color(); - (*(code *)((ulonglong)uVar28 >> 0x20))((int)uVar28,2,0,0,1); - pEVar27 = *(Entity **)&pEVar1->field_0x0; + uVar26 = ::Color::Color(); + (*(code *)((ulonglong)uVar26 >> 0x20))((int)uVar26,2,0,0,1); + pEVar25 = *(Entity **)&pEVar1->field_0x0; EntityRef::constructor(&EStack_3b0,(Entity *)this); - Entity::AddFear(pEVar27,&EStack_3b0,-2,0); - uVar16 = Random(); - if ((uVar16 & 3) == 0) { + Entity::AddFear(pEVar25,&EStack_3b0,-2,0); + uVar14 = Random(); + if ((uVar14 & 3) == 0) { pcVar3 = *(code **)(*(int *)*(EntityPtr *)local_1c8 + 0x20); EntityRef::constructor(&EStack_3d8,(Entity *)local_1b4[0]); (*pcVar3)(0,0x4000000,0,&EStack_3d8,0x1e); @@ -47070,75 +47126,76 @@ code_r0x0043bfeb: uRam00c7e834 = 5; uStack_2f0 = 0x900000002; local_1bc = (Entity *)0x0; - pEVar27 = local_1c0; + pEVar25 = local_1c0; do { - if (pEVar27 == (Entity *)0x0) { + if (pEVar25 == (Entity *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar16 = (uint)pEVar27 >> 2 ^ (uint)pEVar27; - uVar16 = uVar16 << 9 ^ uVar16; - pEVar27 = (Entity *)(uVar16 >> 0xf ^ uVar16); + uVar14 = (uint)pEVar25 >> 2 ^ (uint)pEVar25; + uVar14 = uVar14 << 9 ^ uVar14; + pEVar25 = (Entity *)(uVar14 >> 0xf ^ uVar14); if (6U - (int)local_1bc == 0) { - uVar16 = 0; + uVar14 = 0; } else { - uVar16 = (uint)pEVar27 % (6U - (int)local_1bc); + uVar14 = (uint)pEVar25 % (6U - (int)local_1bc); } - uVar17 = *(undefined4 *)((int)local_1bc * 4 + 0xc7e820); - iVar10 = (int)(&(local_1bc->_sprite)._filename + -3) + uVar16; + uVar15 = *(undefined4 *)((int)local_1bc * 4 + 0xc7e820); + iVar9 = (int)(&(local_1bc->_sprite)._filename + -3) + uVar14; *(undefined4 *)((int)local_1bc * 4 + 0xc7e820) = - *(undefined4 *)(iVar10 * 4 + 0xc7e820); + *(undefined4 *)(iVar9 * 4 + 0xc7e820); local_1bc = (Entity *)&local_1bc->field_0x1; - *(undefined4 *)(iVar10 * 4 + 0xc7e820) = uVar17; + *(undefined4 *)(iVar9 * 4 + 0xc7e820) = uVar15; } while (local_1bc < &DAT_00000005); this = (Entity_Familiar *)local_1b4[0]; pERam00c7e838 = local_1c0; } FUN_00a0f720(*(int *)(((Room *)this)->_gridPaths[0x184] * 4 + 0xc7e81c) * 0x14 + 0xc33a98); - uVar17 = ::Color::Color(); + uVar15 = ::Color::Color(); ANM2::GetLayer((ANM2 *)(((Room *)this)->_gridEntities + 9),(byte *)0x0); - ::Color::operator_assign(uVar17); - uVar17 = ::Color::Color(); + ::Color::operator_assign(uVar15); + uVar15 = ::Color::Color(); ANM2::GetLayer((ANM2 *)(((Room *)this)->_gridEntities + 9),(byte *)0x1); - ::Color::operator_assign(uVar17); + ::Color::operator_assign(uVar15); } } break; case 0x7b: - RStack_24 = (RNG)this->_initSeed; - uStack_20 = 0xb00000001; - uStack_18 = 0x10; - uVar16 = RNG::RandomInt(&RStack_24,0xe); - local_1d0 = (float)(uVar16 + 0x10); + RStack_24._seed = this->_initSeed; + RStack_24._shift1 = 1; + RStack_24._shift2 = 0xb; + RStack_24._shift3 = 0x10; + uVar14 = RNG::RandomInt(&RStack_24,0xe); + local_1d0 = (float)(uVar14 + 0x10); break; case 0x82: - iVar10 = this_00->_fireDirection; + iVar9 = this_00->_fireDirection; Isaac::GetAxisAlignedUnitVectorFromDir(); - iVar12 = this->_fireCooldown; - if (0 < iVar12) { - iVar12 = iVar12 + -1; - this->_fireCooldown = iVar12; + iVar11 = this->_fireCooldown; + if (0 < iVar11) { + iVar11 = iVar11 + -1; + this->_fireCooldown = iVar11; } - if (((-1 < iVar12) && (this->_isInvicible != 0)) && - (pfVar15 = (float *)GetOrbitPosition(this,auStack_31c,(int)this->_player + 0x33c), - fVar22 = (this->_pos).x - *pfVar15, fVar23 = (this->_pos).y - pfVar15[1], - fVar23 * fVar23 + fVar22 * fVar22 < 50.0)) { + if (((-1 < iVar11) && (this->_isInvicible != 0)) && + (pfVar13 = (float *)GetOrbitPosition(this,auStack_31c,(int)this->_player + 0x33c), + fVar20 = (this->_pos).x - *pfVar13, fVar21 = (this->_pos).y - pfVar13[1], + fVar21 * fVar21 + fVar20 * fVar20 < 50.0)) { this->_isInvicible = 0; PlayFloatAnim(this,0xffffffff); } - pGVar6 = g_game; - iVar12 = this->_fireCooldown; - if (iVar12 < 0) { - if (((this->_collidesWithGrid != 0) || (iVar12 < -1)) || - (cVar8 = Room::IsPositionInRoom(g_game->_room,&this->_pos,0xc2c80000), cVar8 == '\0')) + pGVar5 = g_game; + iVar11 = this->_fireCooldown; + if (iVar11 < 0) { + if (((this->_collidesWithGrid != 0) || (iVar11 < -1)) || + (cVar7 = Room::IsPositionInRoom(g_game->_room,&this->_pos,0xc2c80000), cVar7 == '\0')) { this->_entityGridCollisionClass = 0; - pRVar26 = pGVar6->_room; - uVar17 = Room::GetGridIndex(pRVar26,(Vector *)(local_1b4[0]->_gridEntities + 0xc6)); + pRVar24 = pGVar5->_room; + uVar15 = Room::GetGridIndex(pRVar24,(Vector *)(local_1b4[0]->_gridEntities + 0xc6)); EntityRef::constructor(&EStack_414,local_1b4[0]->_gridEntities[0xfb]); - Room::DamageGridWithSource(pRVar26,uVar17,1,&EStack_414); + Room::DamageGridWithSource(pRVar24,uVar15,1,&EStack_414); ((Vector *)(local_1b4[0]->_gridEntities + 0xcf))->x = ((Vector *)(local_1b4[0]->_gridEntities + 0xcf))->x * 0.5; local_1b4[0]->_gridEntities[0xd0] = @@ -47153,7 +47210,7 @@ code_r0x0043bfeb: } else { (this->_sprite)._flipX = fStack_234 < 0.0; - if ((iVar10 != -1) && (iVar12 < 1)) { + if ((iVar9 != -1) && (iVar11 < 1)) { this->_state = 1; this->_isInvicible = 1; this->_fireCooldown = -1; @@ -47163,7 +47220,7 @@ code_r0x0043bfeb: PlayShootAnim(this,0xffffffff); } } - iVar10 = 1; + iVar9 = 1; if (*(byte *)(((Room *)this)->_gridEntities + 0xe3) != 0) { ((Room *)this)->_gridEntities[0xd9] = (void *)((float)((Room *)this)->_gridEntities[0xd9] * 0.2); @@ -47178,27 +47235,27 @@ code_r0x0043bfeb: if (pvVar2 != (void *)0x0) { if (*(int *)((int)pvVar2 + 4) == 0x10) { if ((((local_1c8 == (EntityPtr)&DAT_00000004) && - (cVar8 = GridEntity_Door::IsLocked(), cVar8 != '\0')) && - ((local_1b4[0]->_gridEntities[(int)local_1bc]->field_0x3a0 & 1) == 0)) && - (cVar8 = GridEntity_Door::TryUnlock + (cVar7 = GridEntity_Door::IsLocked(), cVar7 != '\0')) && + ((local_1b4[0]->_gridEntities[(int)local_1bc]->_doorFlags & 1) == 0)) && + (cVar7 = GridEntity_Door::TryUnlock (local_1b4[0]->_gridEntities[(int)local_1bc],this_00,1), - cVar8 != '\0')) goto LAB_0043bc25; + cVar7 != '\0')) goto LAB_0043bc25; } else if ((*(int *)((int)pvVar2 + 4) == 0xb) && (*(int *)((int)pvVar2 + 0xc) == 0)) { GridEntity_Lock::try_unlock(this_00,1); LAB_0043bc25: - uVar28 = EntityRef::EntityRef(); - (*(code *)((ulonglong)uVar28 >> 0x20))((int)uVar28); + uVar26 = EntityRef::EntityRef(); + (*(code *)((ulonglong)uVar26 >> 0x20))((int)uVar26); } } } if (this->_dead == 0) { - cVar8 = Entity::IsFrame((Entity *)this,2,0); - if (cVar8 != '\0') { + cVar7 = Entity::IsFrame((Entity *)this,2,0); + if (cVar7 != '\0') { EntityList::QueryRadius(auStack_2c8,&this->_pos,0x10); local_8 = 2; - uVar19 = 0; - uVar16 = uStack_2bc; + uVar17 = 0; + uVar14 = uStack_2bc; if (uStack_2bc == 0) { LAB_0043bd3e: local_8 = 0xffffffff; @@ -47206,14 +47263,14 @@ LAB_0043bd3e: } else { do { - this_01 = *(Entity_Pickup **)(iStack_2c4 + uVar19 * 4); + this_01 = *(Entity_Pickup **)(iStack_2c4 + uVar17 * 4); if (this_01 != (Entity_Pickup *)0x0) { if (this_01->_type == 5) { - iVar10 = this_01->_variant; - if (((iVar10 == 0x3c) || (iVar10 == 0x35)) || (iVar10 == 0x37)) { - bVar9 = Entity_Pickup::TryOpenChest(this_01,this->_player); - if (bVar9 != 0) goto LAB_0043bd2f; - uVar16 = uStack_2bc; + iVar9 = this_01->_variant; + if (((iVar9 == 0x3c) || (iVar9 == 0x35)) || (iVar9 == 0x37)) { + bVar8 = Entity_Pickup::TryOpenChest(this_01,this->_player); + if (bVar8 != 0) goto LAB_0043bd2f; + uVar14 = uStack_2bc; } } else if (((this_01->_type == 6) && (this_01->_variant == 7)) && @@ -47222,13 +47279,13 @@ LAB_0043bd3e: ((this_01->_sprite)._animState._isPlaying == 0)))))) { Entity::ForceCollide(this->_player,1); LAB_0043bd2f: - uVar28 = EntityRef::EntityRef(); - (*(code *)((ulonglong)uVar28 >> 0x20))((int)uVar28); + uVar26 = EntityRef::EntityRef(); + (*(code *)((ulonglong)uVar26 >> 0x20))((int)uVar26); goto LAB_0043bd3e; } } - uVar19 = uVar19 + 1; - } while (uVar19 < uVar16); + uVar17 = uVar17 + 1; + } while (uVar17 < uVar14); local_8 = 0xffffffff; EntityList_Query::~EntityList_Query(); } @@ -47246,24 +47303,24 @@ LAB_0043cc72: } goto LAB_0043cdfe; } - if (0x242 < uVar16) { - if (uVar16 < 0x2d3) { - if (uVar16 == 0x2d2) { - EVar20 = this->_parent; - if (EVar20 == (EntityPtr)0x0) { - uVar17 = EntityRef::EntityRef(); - (**(code **)(*(int *)this + 0x24))(uVar17); + if (0x242 < uVar14) { + if (uVar14 < 0x2d3) { + if (uVar14 == 0x2d2) { + EVar18 = this->_parent; + if (EVar18 == (EntityPtr)0x0) { + uVar15 = EntityRef::EntityRef(); + (**(code **)(*(int *)this + 0x24))(uVar15); } else { - local_28c = *(float *)((int)EVar20 + 0x33c) - (this->_pos).x; - local_288 = *(float *)((int)EVar20 + 0x340) - (this->_pos).y; - pfVar15 = (float *)Vector::Normalized(local_344); - local_1d8 = *pfVar15; - local_1d4 = (Entity *)pfVar15[1]; + local_28c = *(float *)((int)EVar18 + 0x33c) - (this->_pos).x; + local_288 = *(float *)((int)EVar18 + 0x340) - (this->_pos).y; + pfVar13 = (float *)Vector::Normalized(local_344); + local_1d8 = *pfVar13; + local_1d4 = (Entity *)pfVar13[1]; } } else { - switch(uVar16) { + switch(uVar14) { case 0x263: this->_collisionDamage = (float)this->_keys * 0.15 * (float)local_1bc; break; @@ -47274,25 +47331,25 @@ LAB_0043cc72: this->_collisionDamage = (float)local_1bc * 0.25; break; case 0x2bf: - bVar9 = TemporaryEffects::HasNullEffect(&this_00->_temporaryeffects,100); - if (((bVar9 != 0) && (this->_coins == 0)) || - ((bVar9 = TemporaryEffects::HasNullEffect(&this_00->_temporaryeffects,100), bVar9 == 0 + bVar8 = TemporaryEffects::HasNullEffect(&this_00->_temporaryeffects,100); + if (((bVar8 != 0) && (this->_coins == 0)) || + ((bVar8 = TemporaryEffects::HasNullEffect(&this_00->_temporaryeffects,100), bVar8 == 0 && (this->_coins == 1)))) { - uVar17 = EntityRef::EntityRef(); - (**(code **)(*(int *)this + 0x24))(uVar17); + uVar15 = EntityRef::EntityRef(); + (**(code **)(*(int *)this + 0x24))(uVar15); } } } } else { - if (uVar16 != 0x2d8) { - if (uVar16 == 0x1000e) { - uVar16 = Random(); - iVar10 = (uVar16 & 3) + 5; + if (uVar14 != 0x2d8) { + if (uVar14 == 0x1000e) { + uVar14 = Random(); + iVar9 = (uVar14 & 3) + 5; } else { - if (uVar16 != 0x10010) goto LAB_0043cdfe; - iVar10 = 4; + if (uVar14 != 0x10010) goto LAB_0043cdfe; + iVar9 = 4; local_1cc = (EntityPtr)0x42b40000; if ((this->_coins & 1U) == 0) { local_1c4 = (EntityPtr)0x42340000; @@ -47307,101 +47364,100 @@ LAB_0043cc72: } goto LAB_0043cdfe; } - if (uVar16 == 0x242) { - cVar8 = Entity::IsFrame((Entity *)this,4,0); - if (cVar8 != '\0') { - uVar16 = Random(); - if (uVar16 % 6 == 0) { - iVar10 = Random(); - piVar14 = (int *)Entity_NPC::MakeSplat + if (uVar14 == 0x242) { + cVar7 = Entity::IsFrame((Entity *)this,4,0); + if (cVar7 != '\0') { + uVar14 = Random(); + if (uVar14 % 6 == 0) { + iVar9 = Random(); + piVar12 = (int *)Entity_NPC::MakeSplat ((Entity_NPC *)this, - (float)((double)iVar10 + - __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * - 2.3283064e-10 * 0.5 + 0.2); - pfVar15 = (float *)MusicManager::RandomVector(local_33c); + (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)] + ) * 2.3283064e-10 * 0.5 + 0.2); + pfVar13 = (float *)MusicManager::RandomVector(local_33c); local_30 = 0x3f48c8ca; local_2c = 0x3f48c8ca; local_28 = 0; - fVar22 = pfVar15[1]; - fVar23 = (this->_pos).y; - piVar14[0xcf] = (int)(*pfVar15 + *pfVar15 + (this->_pos).x + 0.0); + fVar20 = pfVar13[1]; + fVar21 = (this->_pos).y; + piVar12[0xcf] = (int)(*pfVar13 + *pfVar13 + (this->_pos).x + 0.0); local_40 = 0; uStack_3c = 0; uStack_38 = 0; uStack_34 = 0; - piVar14[0xd0] = (int)(fVar22 + fVar22 + fVar23 + 8.0); + piVar12[0xd0] = (int)(fVar20 + fVar20 + fVar21 + 8.0); local_50 = 0; uStack_4c = 0; uStack_48 = 0; uStack_44 = 0x3f333333; - (**(code **)(*piVar14 + 0x3c))(&local_50,0xffffffff,0xff,0,1); + (**(code **)(*piVar12 + 0x3c))(&local_50,0xffffffff,0xff,0,1); } } goto LAB_0043cdfe; } - switch(uVar16) { + switch(uVar14) { case 0x143: if (0x5a < g_game->_frameCount - this->_spawnFrame) { - uVar17 = EntityRef::EntityRef(); - (**(code **)(*(int *)this + 0x24))(uVar17); + uVar15 = EntityRef::EntityRef(); + (**(code **)(*(int *)this + 0x24))(uVar15); } break; case 0x145: - uVar16 = Random(); - iVar10 = (uVar16 & 1) + 2; + uVar14 = Random(); + iVar9 = (uVar14 & 1) + 2; goto LAB_0043ce03; case 0x18c: - EVar20 = this->_parent; + EVar18 = this->_parent; if (g_game->_frameCount == this->_spawnFrame) { - if (EVar20 != (EntityPtr)0x0) { - uStack_294 = *(undefined4 *)((int)EVar20 + 0x33c); - uStack_290 = *(undefined4 *)((int)EVar20 + 0x340); - pfVar15 = (float *)GetOrbitPosition(this,auStack_334,&uStack_294); - (this->_pos).x = *pfVar15; - (this->_pos).y = pfVar15[1]; + if (EVar18 != (EntityPtr)0x0) { + uStack_294 = *(undefined4 *)((int)EVar18 + 0x33c); + uStack_290 = *(undefined4 *)((int)EVar18 + 0x340); + pfVar13 = (float *)GetOrbitPosition(this,auStack_334,&uStack_294); + (this->_pos).x = *pfVar13; + (this->_pos).y = pfVar13[1]; } } - else if (EVar20 == (EntityPtr)0x0) { + else if (EVar18 == (EntityPtr)0x0) { (**(code **)(*(int *)this + 0x28))(); } - else if (*(char *)((int)EVar20 + 0x173) != '\0') { - uVar17 = EntityRef::EntityRef(); - (**(code **)(*(int *)this + 0x24))(uVar17); + else if (*(char *)((int)EVar18 + 0x173) != '\0') { + uVar15 = EntityRef::EntityRef(); + (**(code **)(*(int *)this + 0x24))(uVar15); } break; case 0x196: - RNG::game_constructor(aRStack_304,(uint)this->_dropRNG,0xd); - uVar16 = RNG::RandomInt(aRStack_304,5); - local_1d0 = (float)((int)local_1d0 + -2 + uVar16); + RNG::game_constructor(&RStack_304,(this->_dropRNG)._seed,0xd); + uVar14 = RNG::RandomInt(&RStack_304,5); + local_1d0 = (float)((int)local_1d0 + -2 + uVar14); break; case 0x1a3: goto LAB_0043c942; case 0x1ab: - FUN_0043d850(); + FamiliarHelper::wisp_mine_crafter_update(); break; case 0x1b9: - FUN_0043e4a0(); + ai_mega_blast_wisp(); break; case 0x1e7: - EVar20 = this->_target; + EVar18 = this->_target; local_1c8 = (EntityPtr)(*(short *)((int)local_1c8 + 0x18c) + 7); local_1b5 = '\0'; - if (EVar20 == (EntityPtr)0x0) { + if (EVar18 == (EntityPtr)0x0) { if (this->_orbitLayer < 0) { this->_friction = 0.9; - pfVar15 = (float *)GetOrbitDistance(auStack_354,local_1c8); + pfVar13 = (float *)GetOrbitDistance(auStack_354,local_1c8); local_1b4[0] = (Room *)(this->_pos).x; local_1bc = (Entity *)(this->_pos).y; - fVar22 = (float)local_1b4[0] - *(float *)((int)this->_player + 0x33c); - fVar23 = (float)local_1bc - *(float *)((int)this->_player + 0x340); - fVar22 = fVar22 * fVar22 + fVar23 * fVar23; + fVar20 = (float)local_1b4[0] - *(float *)((int)this->_player + 0x33c); + fVar21 = (float)local_1bc - *(float *)((int)this->_player + 0x340); + fVar20 = fVar20 * fVar20 + fVar21 * fVar21; sqrtf(); - if (*pfVar15 <= fVar22) { - uVar29 = 0; + if (*pfVar13 <= fVar20) { + uVar27 = 0; fStack_24c = *(float *)((int)this->_player + 0x33c) - (float)local_1b4[0]; fStack_248 = *(float *)((int)this->_player + 0x340) - (float)local_1bc; - uVar17 = Vector::Resized(auStack_30c,0x3f000000); - Entity::AddVelocity((Entity *)this,uVar17,uVar29); + uVar15 = Vector::Resized(auStack_30c,0x3f000000); + Entity::AddVelocity((Entity *)this,uVar15,uVar27); } else { AddToOrbit(this,local_1c8); @@ -47411,7 +47467,7 @@ LAB_0043cc72: this->_friction = 1.0; } EntityList::QueryRadius(auStack_26c,&this->_pos,8); - uVar16 = 0; + uVar14 = 0; local_8 = 4; if (uStack_260 == 0) { LAB_0043c7c6: @@ -47420,9 +47476,9 @@ LAB_0043c7c6: } else { do { - cVar8 = Entity::IsVulnerableEnemy(*(Entity **)(iStack_268 + uVar16 * 4),0); - if (cVar8 != '\0') { - local_1c8 = *(EntityPtr *)(iStack_268 + uVar16 * 4); + cVar7 = Entity::IsVulnerableEnemy(*(Entity **)(iStack_268 + uVar14 * 4),0); + if (cVar7 != '\0') { + local_1c8 = *(EntityPtr *)(iStack_268 + uVar14 * 4); pEVar1 = &this->_target; if (this->_target != (EntityPtr)0x0) { local_1bc = (Entity *)pEVar1; @@ -47435,40 +47491,40 @@ LAB_0043c7c6: RemoveFromOrbit(this); goto LAB_0043c7c6; } - uVar16 = uVar16 + 1; - } while (uVar16 < uStack_260); + uVar14 = uVar14 + 1; + } while (uVar14 < uStack_260); local_8 = 0xffffffff; EntityList_Query::~EntityList_Query(); } } else { this->_friction = 0.8; - fStack_250 = *(float *)((int)EVar20 + 0x340) - (this->_pos).y; - fStack_254 = *(float *)((int)EVar20 + 0x33c) - (this->_pos).x; + fStack_250 = *(float *)((int)EVar18 + 0x340) - (this->_pos).y; + fStack_254 = *(float *)((int)EVar18 + 0x33c) - (this->_pos).x; local_1c8 = (EntityPtr)(fStack_250 * fStack_250 + fStack_254 * fStack_254); if (10000.0 < (float)local_1c8) { - uVar29 = 0; - uVar17 = Vector::Resized(auStack_314,0x3f800000); - Entity::AddVelocity((Entity *)this,uVar17,uVar29); - EVar20 = this->_target; + uVar27 = 0; + uVar15 = Vector::Resized(auStack_314,0x3f800000); + Entity::AddVelocity((Entity *)this,uVar15,uVar27); + EVar18 = this->_target; } - EVar24 = local_1c8; + EVar22 = local_1c8; sqrtf(); - fStack_258 = ((float)EVar24 * 0.02 * *(float *)((int)EVar20 + 0x364) + - *(float *)((int)EVar20 + 0x340)) - (this->_pos).y; - fStack_25c = ((float)EVar24 * 0.02 * *(float *)((int)EVar20 + 0x360) + - *(float *)((int)EVar20 + 0x33c)) - (this->_pos).x; - pfVar15 = (float *)Vector::Normalized(auStack_324); - local_1d8 = *pfVar15; - local_1d4 = (Entity *)pfVar15[1]; + fStack_258 = ((float)EVar22 * 0.02 * *(float *)((int)EVar18 + 0x364) + + *(float *)((int)EVar18 + 0x340)) - (this->_pos).y; + fStack_25c = ((float)EVar22 * 0.02 * *(float *)((int)EVar18 + 0x360) + + *(float *)((int)EVar18 + 0x33c)) - (this->_pos).x; + pfVar13 = (float *)Vector::Normalized(auStack_324); + local_1d8 = *pfVar13; + local_1d4 = (Entity *)pfVar13[1]; if (this->_fireCooldown < 1) { local_1b5 = '\x01'; } else { this->_fireCooldown = this->_fireCooldown + -1; } - cVar8 = Entity::IsVulnerableEnemy((Entity *)EVar20,0); - if (cVar8 == '\0') { + cVar7 = Entity::IsVulnerableEnemy((Entity *)EVar18,0); + if (cVar7 == '\0') { if (this->_target != (EntityPtr)0x0) { local_1dc = (EntityPtr)&this->_target; std::multiset::erase(&local_1dc); @@ -47489,59 +47545,59 @@ LAB_0043c7c6: local_8 = 3; local_1c0 = (Entity *)0x0; if (puStack_2ac != (undefined1 *)0x0) { - pEVar27 = (Entity *)0x0; + pEVar25 = (Entity *)0x0; do { pEVar4 = *(Entity **)(iStack_2b4 + (int)local_1c0 * 4); - cVar8 = Entity::IsVulnerableEnemy(pEVar4,0); - if ((cVar8 != '\0') && ((pEVar4->_flags & 0x20000010) == 0)) { + cVar7 = Entity::IsVulnerableEnemy(pEVar4,0); + if ((cVar7 != '\0') && ((pEVar4->_flags & 0x20000010) == 0)) { fStack_238 = (pEVar4->_pos).y; fStack_23c = (pEVar4->_pos).x; - cVar8 = Room::CheckLine(local_1c8,&fStack_23c,3,900,0,0,0); - if (cVar8 != '\0') { - pEVar27 = pEVar4; + cVar7 = Room::CheckLine(local_1c8,&fStack_23c,3,900,0,0,0); + if (cVar7 != '\0') { + pEVar25 = pEVar4; } } this = (Entity_Familiar *)local_1b4[0]; local_1c0 = (Entity *)&local_1c0->field_0x1; } while (local_1c0 < puStack_2ac); - local_1c0 = pEVar27; - if (pEVar27 != (Entity *)0x0) { - fStack_244 = (pEVar27->_pos).x - ((Vector *)(local_1b4[0]->_gridEntities + 0xc6))->x; - fStack_240 = (pEVar27->_pos).y - (float)local_1b4[0]->_gridEntities[199]; - pfVar15 = (float *)Vector::Normalized(auStack_35c); - VStack_1fc.x = *pfVar15; - VStack_1fc.y = pfVar15[1]; + local_1c0 = pEVar25; + if (pEVar25 != (Entity *)0x0) { + fStack_244 = (pEVar25->_pos).x - ((Vector *)(local_1b4[0]->_gridEntities + 0xc6))->x; + fStack_240 = (pEVar25->_pos).y - (float)local_1b4[0]->_gridEntities[199]; + pfVar13 = (float *)Vector::Normalized(auStack_35c); + VStack_1fc.x = *pfVar13; + VStack_1fc.y = pfVar13[1]; } } - cVar8 = Vector::operator_ne(&g_vectorZero); - if ((cVar8 == '\0') || ((float)(int)local_1d0 <= 0.0)) { + cVar7 = Vector::operator_ne(&g_vectorZero); + if ((cVar7 == '\0') || ((float)(int)local_1d0 <= 0.0)) { if ((-1 < ((Room *)this)->_gridPaths[0x179]) && - (iVar10 = ((Room *)this)->_gridPaths[0x179] + -1, - ((Room *)this)->_gridPaths[0x179] = iVar10, iVar10 < 0)) { + (iVar9 = ((Room *)this)->_gridPaths[0x179] + -1, ((Room *)this)->_gridPaths[0x179] = iVar9, + iVar9 < 0)) { PlayFloatAnim(this,3); } local_8 = 0xffffffff; EntityList_Query::~EntityList_Query(); } else { - uVar17 = vector_to_direction(); + uVar15 = vector_to_direction(); if (((Room *)this)->_gridPaths[0x178] < 1) { FireProjectile(this,&VStack_1fc,0); ((Room *)this)->_gridPaths[0x178] = (int)local_1d0; ((Room *)this)->_gridPaths[0x179] = 0xc; - PlayShootAnim(this,uVar17); + PlayShootAnim(this,uVar15); ((Room *)this)->_gridPaths[0x179] = ((Room *)this)->_gridPaths[0x179] + -1; local_8 = 0xffffffff; EntityList_Query::~EntityList_Query(); } else if (((Room *)this)->_gridPaths[0x179] < 9) { - PlayFloatAnim(this,uVar17); + PlayFloatAnim(this,uVar15); ((Room *)this)->_gridPaths[0x179] = 8; local_8 = 0xffffffff; EntityList_Query::~EntityList_Query(); } else { - PlayShootAnim(this,uVar17); + PlayShootAnim(this,uVar15); ((Room *)this)->_gridPaths[0x179] = ((Room *)this)->_gridPaths[0x179] + -1; local_8 = 0xffffffff; EntityList_Query::~EntityList_Query(); @@ -47552,7 +47608,7 @@ LAB_0043c7c6: local_1c4 = (EntityPtr)((float)this->_coins * 45.0 + 0.0); break; case 0x209: - iVar10 = 3; + iVar9 = 3; local_1cc = (EntityPtr)0x41700000; local_1c4 = (EntityPtr)0xc1700000; goto LAB_0043ce03; @@ -47560,10 +47616,10 @@ LAB_0043c7c6: ai_mr_me_wisp(this); } LAB_0043cdfe: - iVar10 = 1; + iVar9 = 1; LAB_0043ce03: - bVar9 = Entity_Player::HasCollectible(((Room *)this)->_gridEntities[0xfb],0xf7,0); - if (bVar9 != 0) { + bVar8 = Entity_Player::HasCollectible(((Room *)this)->_gridEntities[0xfb],0xf7,0); + if (bVar8 != 0) { ((Room *)this)->_gridEntities[0xd9] = (void *)((float)((Room *)this)->_gridEntities[0xd9] + (float)((Room *)this)->_gridEntities[0xd9]); @@ -47584,70 +47640,70 @@ LAB_0043ce03: ExceptionList = local_10; return; } - EVar20 = (EntityPtr)0x3f490fdb; + EVar18 = (EntityPtr)0x3f490fdb; cos(); - fVar23 = 0.7853982; - local_1dc = EVar20; + fVar21 = 0.7853982; + local_1dc = EVar18; sin(); - fVar22 = ((Vector *)(((Room *)this)->_gridEntities + 0xcf))->x; - local_284 = fVar22 * (float)local_1dc - (float)((Room *)this)->_gridEntities[0xd0] * fVar23; - local_280 = fVar22 * fVar23 + (float)((Room *)this)->_gridEntities[0xd0] * (float)local_1dc; - pfVar15 = (float *)Vector::ToCardinal(); - fVar22 = -0.7853982; + fVar20 = ((Vector *)(((Room *)this)->_gridEntities + 0xcf))->x; + local_284 = fVar20 * (float)local_1dc - (float)((Room *)this)->_gridEntities[0xd0] * fVar21; + local_280 = fVar20 * fVar21 + (float)((Room *)this)->_gridEntities[0xd0] * (float)local_1dc; + pfVar13 = (float *)Vector::ToCardinal(); + fVar20 = -0.7853982; cos(); - fVar25 = -0.7853982; - local_1cc = (EntityPtr)fVar22; + fVar23 = -0.7853982; + local_1cc = (EntityPtr)fVar20; sin(); - fVar22 = pfVar15[1]; - fVar23 = *pfVar15; - local_1c4 = (EntityPtr)((float)local_1cc * *pfVar15 - fVar25 * pfVar15[1]); + fVar20 = pfVar13[1]; + fVar21 = *pfVar13; + local_1c4 = (EntityPtr)((float)local_1cc * *pfVar13 - fVar23 * pfVar13[1]); ((Room *)this)->_gridEntities[0xd2] = (void *)0x3f7ae148; - local_1cc = (EntityPtr)((float)local_1cc * fVar22 + fVar25 * fVar23); + local_1cc = (EntityPtr)((float)local_1cc * fVar20 + fVar23 * fVar21); if (0 < local_1f4) { do { ((Room *)this)->_gridPaths[0x178] = ((Room *)this)->_gridPaths[0x178] + 1; - pMVar7 = g_manager; - uVar16 = ((Room *)this)->_gridPaths[0x178] & 0x80000003; - bVar21 = uVar16 == 0; - if ((int)uVar16 < 0) { - bVar21 = (uVar16 - 1 | 0xfffffffc) == 0xffffffff; + pMVar6 = g_manager; + uVar14 = ((Room *)this)->_gridPaths[0x178] & 0x80000003; + bVar19 = uVar14 == 0; + if ((int)uVar14 < 0) { + bVar19 = (uVar14 - 1 | 0xfffffffc) == 0xffffffff; } - if (bVar21) { + if (bVar19) { local_1c0 = (Entity *)0xb9; seed_fart_sound_override(); - SoundEffects::Play(&pMVar7->_sfxManager,(int)local_1c0,1.0,2,0,1.0,0.0); - iVar10 = Random(); - fVar22 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * - 2.3283064e-10 * 0.2 + 0.9; - local_1c0 = (Entity *)(-(float)local_1c4 * 5.0 * fVar22); - local_1b4[0] = (Room *)(-(float)local_1cc * 5.0 * fVar22); - iVar10 = Random(); - EVar24 = (EntityPtr) - (((float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + SoundEffects::Play(&pMVar6->_sfxManager,(int)local_1c0,1.0,2,0,1.0,0.0); + iVar9 = Random(); + fVar20 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 + * 0.2 + 0.9; + local_1c0 = (Entity *)(-(float)local_1c4 * 5.0 * fVar20); + local_1b4[0] = (Room *)(-(float)local_1cc * 5.0 * fVar20); + iVar9 = Random(); + EVar22 = (EntityPtr) + (((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 60.0 - 30.0) * 0.017453292); - local_1dc = EVar24; + local_1dc = EVar22; cos(); - EVar20 = local_1dc; - local_1c8 = EVar24; + EVar18 = local_1dc; + local_1c8 = EVar22; sin(); local_274 = ((Vector *)(((Room *)this)->_gridEntities + 0xc6))->x; local_270 = ((Room *)this)->_gridEntities[199]; - local_27c = (float)local_1c8 * (float)local_1c0 - (float)EVar20 * (float)local_1b4[0]; - local_278 = (float)local_1c8 * (float)local_1b4[0] + (float)EVar20 * (float)local_1c0; - iVar10 = Random(); + local_27c = (float)local_1c8 * (float)local_1c0 - (float)EVar18 * (float)local_1b4[0]; + local_278 = (float)local_1c8 * (float)local_1b4[0] + (float)EVar18 * (float)local_1c0; + iVar9 = Random(); local_1dc = (EntityPtr) - ((float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + ((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10); - uVar17 = Random(); - this_03 = (Entity_Tear *)Game::Spawn(2,1,&local_274,&local_27c,this,0,uVar17); + uVar15 = Random(); + this_03 = (Entity_Tear *)Game::Spawn(2,1,&local_274,&local_27c,this,0,uVar15); this_03->_fallingAccel = this_03->_fallingAccel - 0.05; - uVar16 = Random(); - fVar22 = (float)(&DAT_00b64e34)[uVar16 & 1]; - if (fVar22 <= 0.01) { - fVar22 = 0.01; + uVar14 = Random(); + fVar20 = (float)(&DAT_00b64e34)[uVar14 & 1]; + if (fVar20 <= 0.01) { + fVar20 = 0.01; } - this_03->_baseScale = fVar22; - this_03->_fScale = fVar22; + this_03->_baseScale = fVar20; + this_03->_fScale = fVar20; Entity_Tear::ResetSpriteScale(this_03); Entity_Projectile::SetHeight((Entity_Projectile *)this_03,this_03->_height - 10.0); (**(code **)(*(int *)this_03 + 0x40))((float)local_1dc + 3.0); @@ -47685,9 +47741,9 @@ LAB_0043ce03: ExceptionList = local_10; return; } - iVar10 = ((Room *)this)->_gridPaths[0x179] + -1; - ((Room *)this)->_gridPaths[0x179] = iVar10; - if (iVar10 < 0) { + iVar9 = ((Room *)this)->_gridPaths[0x179] + -1; + ((Room *)this)->_gridPaths[0x179] = iVar9; + if (iVar9 < 0) { PlayFloatAnim(this,3); ExceptionList = local_10; return; @@ -47701,30 +47757,30 @@ LAB_0043ce03: local_1d4 = (Entity *)local_1e8.y; local_1d8 = local_1e8.x; } - EVar24 = (EntityPtr)((float)local_1c4 * 0.017453292); - local_1c4 = EVar24; + EVar22 = (EntityPtr)((float)local_1c4 * 0.017453292); + local_1c4 = EVar22; cos(); - EVar20 = local_1c4; - local_1dc = EVar24; + EVar18 = local_1c4; + local_1dc = EVar22; sin(); - local_1e8.x = (float)local_1dc * local_1d8 - (float)local_1d4 * (float)EVar20; - local_1e8.y = local_1d8 * (float)EVar20 + (float)local_1d4 * (float)local_1dc; + local_1e8.x = (float)local_1dc * local_1d8 - (float)local_1d4 * (float)EVar18; + local_1e8.y = local_1d8 * (float)EVar18 + (float)local_1d4 * (float)local_1dc; if (((Room *)this)->_gridPaths[0x178] < 1) { - if (iVar10 != 0) { - EVar24 = (EntityPtr)((float)local_1cc * 0.017453292); - local_1cc = EVar24; + if (iVar9 != 0) { + EVar22 = (EntityPtr)((float)local_1cc * 0.017453292); + local_1cc = EVar22; cos(); - EVar20 = local_1cc; - local_1dc = EVar24; + EVar18 = local_1cc; + local_1dc = EVar22; sin(); - local_1c8 = EVar20; + local_1c8 = EVar18; do { FireProjectile(this,&local_1e8,0); - fVar22 = local_1e8.x * (float)local_1c8; + fVar20 = local_1e8.x * (float)local_1c8; local_1e8.x = local_1e8.x * (float)local_1dc - local_1e8.y * (float)local_1c8; - local_1e8.y = local_1e8.y * (float)local_1dc + fVar22; - iVar10 = iVar10 + -1; - } while (iVar10 != 0); + local_1e8.y = local_1e8.y * (float)local_1dc + fVar20; + iVar9 = iVar9 + -1; + } while (iVar9 != 0); } ((Room *)this)->_gridPaths[0x178] = (int)local_1d0; ((Room *)this)->_gridPaths[0x179] = 0xc; @@ -47772,9 +47828,13 @@ void FUN_0043d7f0(int param_1) } -//@@ 0043d850 FUN_0043d850 +//@@ 0043d850 FamiliarHelper::wisp_mine_crafter_update -void FUN_0043d850(void) +/* DB: ? Entity_Familiar::ai_wisp case subtype 0x1ab (427 COLLECTIBLE_MINE_CRAFTER): random drift, + EntityList::QueryRadius, explodes (Game::BombDamage, Game::Spawn 1000, Game::spawn_bomb_crater) + */ + +void FamiliarHelper::wisp_mine_crafter_update(void) { qword qVar1; @@ -48248,11 +48308,14 @@ LAB_0043e46a: } -//@@ 0043e4a0 FUN_0043e4a0 +//@@ 0043e4a0 Entity_Familiar::ai_mega_blast_wisp /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: called only from Entity_Familiar::ai_wisp switch case 0x1b9 (441 Mega Blast); aims with + TryAimAtMarkedTarget, FireBrimstone, keeps _linkedEntity laser rotated + (Entity_Laser::RotateToAngle), PlayShoot/Charge/FloatAnim (sibling of ai_mr_me_wisp 0043db20) */ -void FUN_0043e4a0(void) +void Entity_Familiar::ai_mega_blast_wisp(void) { void *pvVar1; @@ -48278,8 +48341,7 @@ void FUN_0043e4a0(void) iVar6 = -1; } Isaac::GetAxisAlignedUnitVectorFromDir(); - bVar3 = Entity_Familiar::TryAimAtMarkedTarget - (in_ECX,&local_10,&in_ECX->_lastDirection,(Vector *)0x0); + bVar3 = TryAimAtMarkedTarget(in_ECX,&local_10,&in_ECX->_lastDirection,(Vector *)0x0); if (bVar3 != 0) { if (in_ECX->_fireCooldown < 0) { iVar6 = -1; @@ -48299,7 +48361,7 @@ void FUN_0043e4a0(void) if ((in_ECX->_fireCooldown < 0) && (((local_10.x != g_vectorZero.x || (local_10.y != g_vectorZero.y)) && (in_ECX->_linkedEntity == (EntityPtr)0x0)))) { - pEVar4 = Entity_Familiar::FireBrimstone(in_ECX,&local_10,1); + pEVar4 = FireBrimstone(in_ECX,&local_10,1); _DAT_00c5c554 = local_10.x * 7.0; DAT_00c5c558 = local_10.y * 5.0 - 18.0; iVar5 = *(int *)pEVar4; @@ -48308,7 +48370,7 @@ void FUN_0043e4a0(void) (**(code **)(iVar5 + 0xc))(); in_ECX->_headFrameDelay = 0x1e; vector_to_direction(); - Entity_Familiar::PlayShootAnim(); + PlayShootAnim(); } iVar5 = in_ECX->_headFrameDelay; in_ECX->_fireCooldown = 0x1e; @@ -48322,10 +48384,10 @@ void FUN_0043e4a0(void) } if (iVar5 < 9) { if (iVar6 == -1) { - Entity_Familiar::PlayFloatAnim(); + PlayFloatAnim(); } else { - Entity_Familiar::PlayChargeAnim(); + PlayChargeAnim(); } in_ECX->_headFrameDelay = 8; } @@ -48346,7 +48408,7 @@ void FUN_0043e4a0(void) local_18.y = local_20; } if ((0 < *(int *)((int)in_ECX->_player + 0x18f4)) && (in_ECX->_linkedEntity == (EntityPtr)0x0)) { - local_10.x = (float)Entity_Familiar::FireBrimstone(in_ECX,&local_18,0); + local_10.x = (float)FireBrimstone(in_ECX,&local_18,0); local_1c = (EntityPtr *)local_18.x; _DAT_00c5c554 = local_18.x * 7.0; local_20 = local_18.y; @@ -48362,7 +48424,7 @@ void FUN_0043e4a0(void) in_ECX->_linkedEntity = (EntityPtr)local_10.x; std::multiset::insert(&in_ECX->_linkedEntity); in_ECX->_headFrameDelay = 0x1e; - Entity_Familiar::PlayShootAnim(); + PlayShootAnim(); } EVar2 = in_ECX->_linkedEntity; if (EVar2 != (EntityPtr)0x0) { @@ -48480,11 +48542,10 @@ int __fastcall Entity_Familiar::GetRandomWisp(RNG *rng) uint uVar1; void *pvVar2; uint uVar3; - RNG RVar4; - int iVar5; - int *piVar6; - int iVar7; - int *piVar8; + int iVar4; + int *piVar5; + int iVar6; + int *piVar7; int *local_34; int local_30; int local_28; @@ -48505,9 +48566,9 @@ int __fastcall Entity_Familiar::GetRandomWisp(RNG *rng) local_1c = rng; pvVar2 = ItemConfig::GetTaggedItems(&g_manager->_itemConfig,0x4000000); std::vector::copy_constructor(pvVar2); - piVar6 = (int *)0x0; + piVar5 = (int *)0x0; local_18 = 0; - piVar8 = (int *)0x0; + piVar7 = (int *)0x0; local_28 = 0; local_24 = (int *)0x0; local_20 = (int *)0x0; @@ -48519,19 +48580,19 @@ int __fastcall Entity_Familiar::GetRandomWisp(RNG *rng) std::_Xlen(uVar1); } std::vector::_Reallocate(local_14); - piVar6 = local_24; - piVar8 = local_20; + piVar5 = local_24; + piVar7 = local_20; do { if (0 < *(short *)(*(int *)(*local_34 + 0xcc) + 400)) { - if (piVar6 == piVar8) { - std::vector::_Emplace_reallocate(piVar6,local_34); - piVar6 = local_24; - piVar8 = local_20; + if (piVar5 == piVar7) { + std::vector::_Emplace_reallocate(piVar5,local_34); + piVar5 = local_24; + piVar7 = local_20; } else { - *piVar6 = *local_34; - local_24 = piVar6 + 1; - piVar6 = local_24; + *piVar5 = *local_34; + local_24 = piVar5 + 1; + piVar5 = local_24; } } local_34 = local_34 + 1; @@ -48540,39 +48601,39 @@ int __fastcall Entity_Familiar::GetRandomWisp(RNG *rng) local_18 = local_28; local_14 = 0; } - uVar1 = (int)piVar6 - local_18 >> 2; + uVar1 = (int)piVar5 - local_18 >> 2; local_28 = local_18; if (uVar1 == 0) { - iVar7 = 0x248; + iVar6 = 0x248; } else { - RVar4 = *local_1c; - if (RVar4 == (RNG)0x0) { + uVar3 = local_1c->_seed; + if (uVar3 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar3 = (uint)RVar4 >> (SUB41(local_1c[1],0) & 0x1f) ^ (uint)RVar4; - uVar3 = uVar3 << (SUB41(local_1c[2],0) & 0x1f) ^ uVar3; - RVar4 = (RNG)(uVar3 >> (SUB41(local_1c[3],0) & 0x1f) ^ uVar3); - *local_1c = RVar4; - iVar7 = *(int *)(*(int *)(local_18 + ((uint)RVar4 % uVar1) * 4) + 4); + uVar3 = uVar3 >> ((byte)local_1c->_shift1 & 0x1f) ^ uVar3; + uVar3 = uVar3 << ((byte)local_1c->_shift2 & 0x1f) ^ uVar3; + uVar3 = uVar3 >> ((byte)local_1c->_shift3 & 0x1f) ^ uVar3; + local_1c->_seed = uVar3; + iVar6 = *(int *)(*(int *)(local_18 + (uVar3 % uVar1) * 4) + 4); } if (local_18 != 0) { - uVar1 = (int)piVar8 - local_18 & 0xfffffffc; - iVar5 = local_18; + uVar1 = (int)piVar7 - local_18 & 0xfffffffc; + iVar4 = local_18; if (0xfff < uVar1) { - iVar5 = *(int *)(local_18 + -4); + iVar4 = *(int *)(local_18 + -4); uVar1 = uVar1 + 0x23; - if (0x1f < (local_18 - iVar5) - 4U) { + if (0x1f < (local_18 - iVar4) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar5,uVar1); + operator_delete(iVar4,uVar1); } FID_conflict__Tidy(&local_34); ExceptionList = local_10; - return iVar7; + return iVar6; } @@ -48894,7 +48955,7 @@ void __fastcall NpcAI::ENTITY_BABY_PLUM(Entity_NPC *npc) uint uStack_140; Entity_NPC *local_13c; undefined4 uStack_138; - int iStack_130; + void *pvStack_130; uint uStack_12c; EntityPtr *pEStack_128; int iStack_124; @@ -49300,13 +49361,14 @@ LAB_0043fe11: (pGVar7->_proceduralItemManager)._proceduralItems._end)) { iStack_124 = pEVar11->_type; iStack_120 = pEVar11->_variant; - std::map::find(&iStack_130,&iStack_124); - if (iStack_130 == *(int *)&pGVar7->field_0x67780) { + std::map::find(&pvStack_130,&iStack_124); + if (pvStack_130 == (pGVar7->_proceduralItemManager)._spawnTriggerTargets._head) { aiStack_11c[0] = pEVar11->_type; aiStack_11c[1] = 0xffffffff; piVar16 = (int *)std::map::find(auStack_104,aiStack_11c); - iStack_130 = *piVar16; - if (iStack_130 == *(int *)&pGVar7->field_0x67780) goto LAB_0044008d; + pvStack_130 = (void *)*piVar16; + if (pvStack_130 == (pGVar7->_proceduralItemManager)._spawnTriggerTargets._head) + goto LAB_0044008d; } pPVar18 = &g_game->_playerManager; piStack_168 = (int *)0x0; @@ -50108,7 +50170,7 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_death(Entity_NPC *npc) if ((local_b8 != g_vectorZero.x) || ((float)local_b4 != g_vectorZero.y)) { EVar12 = npc->_entityRef; pLVar18 = ANM2::GetLayer(&npc->_sprite,&DAT_00000004); - *(undefined4 *)((int)EVar12 + 0xfc) = *(undefined4 *)&pLVar18->field_0x54; + *(float *)((int)EVar12 + 0xfc) = (pLVar18->_color)._tint[3]; fVar28 = (npc->_pos).y; EVar12 = npc->_entityRef; *(float *)((int)EVar12 + 0x33c) = local_b8 + (npc->_pos).x; @@ -50167,7 +50229,7 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_death(Entity_NPC *npc) *(undefined4 *)((int)&npc->_flags + 4) = uVar9; npc->_stateFrame = 0; npc->_i1 = 0; - *(undefined4 *)(&pMVar19->field_0x170 + *(int *)pMVar19 * 0x184) = 0; + pMVar19->_channels[pMVar19->_currentChannel]._enabledLayers = 0; MusicManager::EnableLayer(2,0); uVar9 = Random(); EVar12 = (EntityPtr)Game::Spawn(1000,0xa6,pVVar1,&g_vectorZero,npc,0,uVar9); @@ -50735,20 +50797,20 @@ LAB_0044262c: EStack_78._type = 0x3f4ccccd; EStack_78._variant = 0x3f4ccccd; EStack_78._spawnerType = 0x3f800000; - EStack_78._28_4_ = 0xbdcccccd; + EStack_78._velocity.y = -0.1; EStack_78._spawnerVariant = 0; EStack_78._position.x = 0.0; EStack_78._position.y = 0.0; - EStack_78._24_4_ = 0; - EStack_78._32_4_ = 0xbdcccccd; + EStack_78._velocity.x = 0.0; + EStack_78._flags = -0x42333333; EStack_78._entity = (void *)0xbdcccccd; (**(code **)(*piVar10 + 0x3c))(&local_7c,0xffffffff,0xff,0,1); - EStack_78._28_4_ = 0; + EStack_78._velocity.y = 0.0; EStack_78._spawnerVariant = 0; EStack_78._position.x = 0.0; EStack_78._position.y = 0.0; - EStack_78._24_4_ = 0; - EStack_78._32_4_ = 0; + EStack_78._velocity.x = 0.0; + EStack_78._flags = 0; EStack_78._entity = (void *)0x0; local_7c = 0; EStack_78._type = 0; @@ -51279,7 +51341,7 @@ LAB_00443b10: } fVar28 = fVar28 * g_game->_darknessModifier * g_game->_darknessStrength; } - *(float *)&pLVar18->field_0x54 = fVar28; + (pLVar18->_color)._tint[3] = fVar28; pbVar22 = pbVar22 + 1; } while (pbVar22 < *(byte **)((int)EVar12 + 200)); } @@ -52046,8 +52108,7 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_famine(Entity_NPC *npc) (npc->_pathfinder)._moveCountdown = 0; *(undefined4 *)((int)&npc->_flags + 4) = uVar6; npc->_stateFrame = 0; - *(undefined4 *)((int)&pMVar3->_optionsConfig + *(int *)&pMVar3->_musicManager * 0x184 + -0x210) - = 0; + (pMVar3->_musicManager)._channels[(pMVar3->_musicManager)._currentChannel]._enabledLayers = 0; return; case 3: ANM2::Play(&npc->_sprite,s_Idle,0); @@ -53115,33 +53176,32 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_pestilence(Entity_NPC *npc) { AnimationState *this; - uint *puVar1; - Manager *pMVar2; - byte bVar3; - uint uVar4; + Manager *pMVar1; + byte bVar2; + uint uVar3; + int iVar4; int iVar5; - int iVar6; - undefined4 uVar7; - int *piVar8; + undefined4 uVar6; + int *piVar7; + byte *pbVar8; byte *pbVar9; - byte *pbVar10; - Entity *pEVar11; + Entity *pEVar10; int extraout_EAX; - float *pfVar12; - EntityPtr EVar13; + float *pfVar11; + EntityPtr EVar12; int extraout_EAX_00; - uint uVar14; - byte *pbVar15; - char *pcVar16; - void *pvVar17; - bool bVar18; - EntityPtr *pEVar19; + uint uVar13; + byte *pbVar14; + char *pcVar15; + void *pvVar16; + bool bVar17; + EntityPtr *pEVar18; + float fVar19; float fVar20; float fVar21; - float fVar22; - undefined1 auVar23 [12]; + undefined1 auVar22 [12]; + float fVar23; float fVar24; - float fVar25; undefined1 auStack_210 [4]; EntityPtr *local_20c; EntityPtr *local_208; @@ -53179,42 +53239,42 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_pestilence(Entity_NPC *npc) float fStack_5c; uint local_c; - pMVar2 = g_manager; + pMVar1 = g_manager; local_c = __security_cookie ^ (uint)auStack_210; local_1c4 = (int)npc->_updateTime - (int)npc->_prevUpdateTime; - pvVar17 = g_game->_room; - iVar5 = npc->_state; + pvVar16 = g_game->_room; + iVar4 = npc->_state; local_1dc = npc; - local_1d8 = pvVar17; + local_1d8 = pvVar16; if (npc->_aiCallPhase == 1) { - if (iVar5 != 0x12) { + if (iVar4 != 0x12) { return; } - fVar20 = npc->_speedMultiplier; + fVar19 = npc->_speedMultiplier; npc->_friction = 0.8; - (npc->_velocity).y = fVar20 * 0.4 + (npc->_velocity).y; - (npc->_velocity).x = fVar20 * 0.0 + (npc->_velocity).x; + (npc->_velocity).y = fVar19 * 0.4 + (npc->_velocity).y; + (npc->_velocity).x = fVar19 * 0.0 + (npc->_velocity).x; if ((npc->_sprite)._animState._animData == (void *)0x0) { return; } - bVar3 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Explosion"); - if (bVar3 == 0) { + bVar2 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Explosion"); + if (bVar2 == 0) { return; } local_1dc = (Entity_NPC *)0x0; - if (*(int *)((int)pvVar17 + 0x1264) != 0) { + if (*(int *)((int)pvVar16 + 0x1264) != 0) { do { - piVar8 = *(int **)(*(int *)((int)pvVar17 + 0x125c) + (int)local_1dc * 4); - iVar5 = piVar8[10]; - if (iVar5 == 9) { - *(undefined1 *)((int)piVar8 + 0x173) = 1; + piVar7 = *(int **)(*(int *)((int)pvVar16 + 0x125c) + (int)local_1dc * 4); + iVar4 = piVar7[10]; + if (iVar4 == 9) { + *(undefined1 *)((int)piVar7 + 0x173) = 1; } - else if ((((1 < *(int *)&g_game->_deathmatchManager) && (iVar5 == 1)) || - (iVar5 - 10U < 0x3de)) && - ((*(char *)((int)piVar8 + 0x173) == '\0' && (piVar8[0xd] == 0x3b7)))) { + else if ((((1 < *(int *)&g_game->_deathmatchManager) && (iVar4 == 1)) || + (iVar4 - 10U < 0x3de)) && + ((*(char *)((int)piVar7 + 0x173) == '\0' && (piVar7[0xd] == 0x3b7)))) { local_1b0 = (npc->_pos).x; local_1ac = (npc->_pos).y; - local_208 = *(EntityPtr **)(*piVar8 + 0x24); + local_208 = *(EntityPtr **)(*piVar7 + 0x24); local_1c0 = (float)npc->_type; local_1bc = (float)npc->_variant; local_1b8 = (float)npc->_spawnerType; @@ -53227,62 +53287,62 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_pestilence(Entity_NPC *npc) local_1ec = 0.0; } if ((npc->_flags & 0x40000000000000) == 0) { - uVar4 = 0; + uVar3 = 0; } else { - uVar4 = 4; + uVar3 = 4; } local_19c = npc; - local_1a0 = (float)(uVar4 | (uint)local_1ec | (uint)local_1f0); + local_1a0 = (float)(uVar3 | (uint)local_1ec | (uint)local_1f0); (*(code *)local_208)(&local_1c0); } local_1dc = (Entity_NPC *)((int)local_1dc + 1); - } while (local_1dc < (uint)*(float *)((int)pvVar17 + 0x1264)); + } while (local_1dc < (uint)*(float *)((int)pvVar16 + 0x1264)); } local_1fc = 1.68156e-44; do { - iVar5 = Random(); - local_1ec = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 + iVar4 = Random(); + local_1ec = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 * 3.14; local_1ec = local_1ec + local_1ec; - iVar5 = Random(); + iVar4 = Random(); local_1f0 = (AnimationState *) - ((float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 + ((float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 * 10.0 + 8.0); - fVar20 = local_1ec; + fVar19 = local_1ec; cos(); - local_1dc = (Entity_NPC *)(fVar20 * (float)local_1f0); - fVar20 = local_1ec; + local_1dc = (Entity_NPC *)(fVar19 * (float)local_1f0); + fVar19 = local_1ec; sin(); - local_20c = (EntityPtr *)(fVar20 * (float)local_1f0); + local_20c = (EntityPtr *)(fVar19 * (float)local_1f0); local_208 = (EntityPtr *)((float)local_1dc + 0.0); - iVar5 = Random(); - local_204 = (-8.0 - (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * + iVar4 = Random(); + local_204 = (-8.0 - (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 * 4.0) + (float)local_20c; local_1f8.y = (float)local_20c + (float)local_20c + (npc->_pos).y; local_1f8.x = (float)local_1dc + (float)local_1dc + (npc->_pos).x; - iVar5 = spawn_small_maggot(&local_208,0xc1000000); - *(undefined4 *)(iVar5 + 0x188) = 0; - iVar6 = Random(); + iVar4 = spawn_small_maggot(&local_208,0xc1000000); + *(undefined4 *)(iVar4 + 0x188) = 0; + iVar5 = Random(); local_1fc = (float)((int)local_1fc + -1); - fVar20 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * 2.3283064e-10 * + fVar19 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 0.5 + 1.0; - fVar21 = fVar20 * g_vectorOne.y; - fVar20 = fVar20 * g_vectorOne.x; - *(undefined4 *)(iVar5 + 0x37c) = 0x41700000; - *(float *)(iVar5 + 0xe8) = fVar21; - *(float *)(iVar5 + 0xe4) = fVar20; + fVar20 = fVar19 * g_vectorOne.y; + fVar19 = fVar19 * g_vectorOne.x; + *(undefined4 *)(iVar4 + 0x37c) = 0x41700000; + *(float *)(iVar4 + 0xe8) = fVar20; + *(float *)(iVar4 + 0xe4) = fVar19; } while (local_1fc != 0.0); return; } local_1f0 = (AnimationState *)0x3f800000; - if ((((iVar5 != 3) && (iVar5 != 8)) && (iVar5 != 9)) || - (fVar20 = npc->_maxHitPoints * 0.4, fVar20 < npc->_health || fVar20 == npc->_health)) { + if ((((iVar4 != 3) && (iVar4 != 8)) && (iVar4 != 9)) || + (fVar19 = npc->_maxHitPoints * 0.4, fVar19 < npc->_health || fVar19 == npc->_health)) { if (npc->_dead != 0) { local_1ec = 9.30462e-43; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_1ec,1.0,2,0,1.0,0.0); - pvVar17 = local_1d8; + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_1ec,1.0,2,0,1.0,0.0); + pvVar16 = local_1d8; } } else { @@ -53290,7 +53350,7 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_pestilence(Entity_NPC *npc) Game::ShakeScreen(g_game,10); npc->_state = 0x10; ANM2::Play(&npc->_sprite,(byte *)"Transition",0); - pMVar2 = g_manager; + pMVar1 = g_manager; local_1fc = 1.0; if (npc->_championColorIdx == 0x12) { local_1fc = 1.5; @@ -53300,8 +53360,8 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_pestilence(Entity_NPC *npc) } local_1ec = 9.29061e-43; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_1ec,1.0,2,0,local_1fc,0.0); - pMVar2 = g_manager; + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_1ec,1.0,2,0,local_1fc,0.0); + pMVar1 = g_manager; local_1fc = 1.0; if (npc->_championColorIdx == 0x12) { local_1fc = 1.5; @@ -53311,37 +53371,37 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_pestilence(Entity_NPC *npc) } local_1ec = 9.36067e-43; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_1ec,1.0,2,0,local_1fc,0.0); + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_1ec,1.0,2,0,local_1fc,0.0); local_1fc = 0.0; npc->_aiFloat = npc->_maxHitPoints * 0.4; - pvVar17 = local_1d8; + pvVar16 = local_1d8; if (*(int *)((int)local_1d8 + 0x1264) != 0) { do { - piVar8 = *(int **)(*(int *)((int)pvVar17 + 0x125c) + (int)local_1fc * 4); - iVar5 = piVar8[10]; - if (iVar5 == 9) { - piVar8[0x10e] = 0; - piVar8[0x10f] = 0; + piVar7 = *(int **)(*(int *)((int)pvVar16 + 0x125c) + (int)local_1fc * 4); + iVar4 = piVar7[10]; + if (iVar4 == 9) { + piVar7[0x10e] = 0; + piVar7[0x10f] = 0; LAB_00447ecd: - *(undefined1 *)((int)piVar8 + 0x173) = 1; + *(undefined1 *)((int)piVar7 + 0x173) = 1; } - else if ((((*(int *)&g_game->_deathmatchManager < 2) || (iVar5 != 1)) && - (0x3dd < iVar5 - 10U)) || - ((*(char *)((int)piVar8 + 0x173) != '\0' || (piVar8[0xd] != 0x3b7)))) { + else if ((((*(int *)&g_game->_deathmatchManager < 2) || (iVar4 != 1)) && + (0x3dd < iVar4 - 10U)) || + ((*(char *)((int)piVar7 + 0x173) != '\0' || (piVar7[0xd] != 0x3b7)))) { LAB_00447ebc: - if ((iVar5 == 1000) && (piVar8[0xb] == 0x8d)) goto LAB_00447ecd; + if ((iVar4 == 1000) && (piVar7[0xb] == 0x8d)) goto LAB_00447ecd; } else { - if ((iVar5 == 0x3b7) && (piVar8[0xb] == 0x15)) { - bVar18 = true; + if ((iVar4 == 0x3b7) && (piVar7[0xb] == 0x15)) { + bVar17 = true; } else { - bVar18 = false; + bVar17 = false; } - if (bVar18) goto LAB_00447ebc; + if (bVar17) goto LAB_00447ebc; local_1b0 = (npc->_pos).x; local_1ac = (npc->_pos).y; - local_208 = *(EntityPtr **)(*piVar8 + 0x24); + local_208 = *(EntityPtr **)(*piVar7 + 0x24); local_1c0 = (float)npc->_type; local_1bc = (float)npc->_variant; local_1b8 = (float)npc->_spawnerType; @@ -53353,83 +53413,83 @@ LAB_00447ebc: local_1ec = 0.0; } if ((npc->_flags & 0x40000000000000) == 0) { - uVar4 = 0; + uVar3 = 0; } else { - uVar4 = 4; + uVar3 = 4; } local_19c = npc; - local_1a0 = (float)((uint)((npc->_flags & 0x100) != 0) | (uint)local_1ec | uVar4); + local_1a0 = (float)((uint)((npc->_flags & 0x100) != 0) | (uint)local_1ec | uVar3); (*(code *)local_208)(&local_1c0); - pvVar17 = local_1d8; + pvVar16 = local_1d8; } local_1fc = (float)((int)local_1fc + 1); - } while ((uint)local_1fc < *(uint *)((int)pvVar17 + 0x1264)); + } while ((uint)local_1fc < *(uint *)((int)pvVar16 + 0x1264)); } } local_1ec = 10.0; if (npc->_state == 0) { local_20c = (EntityPtr *)0x10; LAB_00447fc6: - iVar5 = *(int *)((int)pvVar17 + 0x1264); - if (iVar5 == 0) { + iVar4 = *(int *)((int)pvVar16 + 0x1264); + if (iVar4 == 0) { local_1fc = 0.0; local_208 = (EntityPtr *)0x0; if (local_20c == (EntityPtr *)0x0) goto LAB_0044829a; } else { - piVar8 = *(int **)((int)pvVar17 + 0x125c); - uVar4 = 0; + piVar7 = *(int **)((int)pvVar16 + 0x125c); + uVar3 = 0; do { - if ((*(int *)(*piVar8 + 0x28) != 0x3b7) || - (local_1fd = '\x01', *(int *)(*piVar8 + 0x2c) != 0x15)) { + if ((*(int *)(*piVar7 + 0x28) != 0x3b7) || + (local_1fd = '\x01', *(int *)(*piVar7 + 0x2c) != 0x15)) { local_1fd = '\0'; } - local_1fc = (float)(uVar4 + 1); + local_1fc = (float)(uVar3 + 1); if (local_1fd == '\0') { - local_1fc = (float)uVar4; + local_1fc = (float)uVar3; } - piVar8 = piVar8 + 1; - iVar5 = iVar5 + -1; - uVar4 = (uint)local_1fc; - } while (iVar5 != 0); + piVar7 = piVar7 + 1; + iVar4 = iVar4 + -1; + uVar3 = (uint)local_1fc; + } while (iVar4 != 0); npc = local_1dc; } local_208 = (EntityPtr *)0x0; do { if (0x17 < (int)local_1fc) break; - iVar5 = Random(); - fVar20 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * + iVar4 = Random(); + fVar19 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pEVar19 = (EntityPtr *)(fVar20 + fVar20); - local_1f8.x = (float)pEVar19; + pEVar18 = (EntityPtr *)(fVar19 + fVar19); + local_1f8.x = (float)pEVar18; cos(); - local_1d4.x = (float)pEVar19; + local_1d4.x = (float)pEVar18; sin(); - uVar7 = Random(); - uVar4 = Random(); - iVar5 = Random(); - local_1cc = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 + uVar6 = Random(); + uVar3 = Random(); + iVar4 = Random(); + local_1cc = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 * 4.0 + 2.0; local_1c8 = local_1cc * local_1f8.x; local_1cc = local_1cc * local_1d4.x; - iVar5 = Random(); + iVar4 = Random(); npc = local_1dc; - fVar20 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * + fVar19 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 * 20.0 + 10.0; - local_1e0 = fVar20 * local_1f8.x + (local_1dc->_pos).y; - local_1e4 = (EntityPtr *)(fVar20 * local_1d4.x + (local_1dc->_pos).x); - piVar8 = (int *)Game::SpawnEx(g_game,0x3b7,0x15,&local_1e4,&local_1cc,local_1dc,uVar4 % 3, - uVar7,0); - piVar8[0xe0] = 0x42480000; - if (piVar8[0xef] != 0) { - local_1f8.x = (float)(piVar8 + 0xef); + local_1e0 = fVar19 * local_1f8.x + (local_1dc->_pos).y; + local_1e4 = (EntityPtr *)(fVar19 * local_1d4.x + (local_1dc->_pos).x); + piVar7 = (int *)Game::SpawnEx(g_game,0x3b7,0x15,&local_1e4,&local_1cc,local_1dc,uVar3 % 3, + uVar6,0); + piVar7[0xe0] = 0x42480000; + if (piVar7[0xef] != 0) { + local_1f8.x = (float)(piVar7 + 0xef); std::multiset::erase(&local_1f8); } - piVar8[0xef] = (int)npc; - std::multiset::insert(piVar8 + 0xef); - piVar8[0x5a] = piVar8[0x5a] & 0xfffffffb; - piVar8[0x5b] = piVar8[0x5b]; + piVar7[0xef] = (int)npc; + std::multiset::insert(piVar7 + 0xef); + piVar7[0x5a] = piVar7[0x5a] & 0xfffffffb; + piVar7[0x5b] = piVar7[0x5b]; local_18c._colorize[0] = 0.0; local_18c._colorize[1] = 0.0; local_18c._colorize[2] = 0.0; @@ -53441,19 +53501,19 @@ LAB_00447fc6: local_18c._tint[1] = 1.0; local_18c._tint[2] = 1.0; local_18c._tint[3] = 0.0; - (**(code **)(*piVar8 + 0x3c))(&local_18c,0xf,1,1,1); - iVar5 = Random(); - fVar21 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * + (**(code **)(*piVar7 + 0x3c))(&local_18c,0xf,1,1,1); + iVar4 = Random(); + fVar20 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 * 0.4 + 0.8; - fVar20 = fVar21 * g_vectorOne.x; - piVar8[0x3a] = (int)(fVar21 * g_vectorOne.y); - piVar8[0x39] = (int)fVar20; - (**(code **)(*piVar8 + 0xc))(); + fVar19 = fVar20 * g_vectorOne.x; + piVar7[0x3a] = (int)(fVar20 * g_vectorOne.y); + piVar7[0x39] = (int)fVar19; + (**(code **)(*piVar7 + 0xc))(); local_208 = (EntityPtr *)&local_208->field_0x1; local_1fc = (float)((int)local_1fc + 1); } while ((int)local_208 < (int)local_20c); } - else if ((((npc->_flags & 0x4000) == 0) && (bVar3 = Game::IsPaused(g_game), bVar3 == 0)) && + else if ((((npc->_flags & 0x4000) == 0) && (bVar2 = Game::IsPaused(g_game), bVar2 == 0)) && (local_20c = (EntityPtr *) ((int)((npc->_prevUpdateTime + 0.0) / -30.0) - (int)((npc->_updateTime + 0.0) / -30.0)), 0 < (int)local_20c)) @@ -53461,89 +53521,88 @@ LAB_00447fc6: LAB_0044829a: switch(npc->_state) { case 0: - pbVar10 = (npc->_sprite)._animState._animData; - if (pbVar10 != (byte *)0x0) { - pbVar9 = pbVar10; - if (0xf < *(uint *)(pbVar10 + 0x14)) { - pbVar9 = *(byte **)pbVar10; + pbVar9 = (npc->_sprite)._animState._animData; + if (pbVar9 != (byte *)0x0) { + pbVar8 = pbVar9; + if (0xf < *(uint *)(pbVar9 + 0x14)) { + pbVar8 = *(byte **)pbVar9; } - pbVar15 = s_Idle; + pbVar14 = s_Idle; do { - bVar3 = *pbVar9; - bVar18 = bVar3 < *pbVar15; - if (bVar3 != *pbVar15) { + bVar2 = *pbVar8; + bVar17 = bVar2 < *pbVar14; + if (bVar2 != *pbVar14) { LAB_004482f0: - uVar4 = -(uint)bVar18 | 1; + uVar3 = -(uint)bVar17 | 1; goto LAB_004482f5; } - if (bVar3 == 0) break; - bVar3 = pbVar9[1]; - bVar18 = bVar3 < pbVar15[1]; - if (bVar3 != pbVar15[1]) goto LAB_004482f0; - pbVar9 = pbVar9 + 2; - pbVar15 = pbVar15 + 2; - } while (bVar3 != 0); - uVar4 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar17 = bVar2 < pbVar14[1]; + if (bVar2 != pbVar14[1]) goto LAB_004482f0; + pbVar8 = pbVar8 + 2; + pbVar14 = pbVar14 + 2; + } while (bVar2 != 0); + uVar3 = 0; LAB_004482f5: - if ((uVar4 == 0) && ((pbVar10[0x34] == 0 || ((npc->_sprite)._animState._isPlaying != 0)))) + if ((uVar3 == 0) && ((pbVar9[0x34] == 0 || ((npc->_sprite)._animState._isPlaying != 0)))) goto LAB_0044832c; } - bVar3 = ANM2::SetAnimation(&npc->_sprite,s_Idle,1); - if (bVar3 != 0) { + bVar2 = ANM2::SetAnimation(&npc->_sprite,s_Idle,1); + if (bVar2 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; } LAB_0044832c: - pMVar2 = g_manager; + pMVar1 = g_manager; local_20c = (EntityPtr *)0x29b; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); npc->_state = 3; (npc->_targetPosition).x = (npc->_pos).x; (npc->_targetPosition).y = (npc->_pos).y; (npc->_pathfinder)._movementTarget.x = (npc->_pos).x; (npc->_pathfinder)._movementTarget.y = (npc->_pos).y; - iVar5 = Random(); - fVar20 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * + iVar4 = Random(); + fVar19 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pEVar19 = (EntityPtr *)(fVar20 + fVar20); - local_20c = pEVar19; + pEVar18 = (EntityPtr *)(fVar19 + fVar19); + local_20c = pEVar18; cos(); - local_208 = pEVar19; + local_208 = pEVar18; sin(); (npc->_pathfinder)._moveDirection.x = (float)local_208; (npc->_pathfinder)._moveDirection.y = (float)local_20c * 0.5; (npc->_pathfinder)._moveCountdown = 0; - fVar22 = g_colorGreenSplat._tint[3]; - fVar21 = g_colorGreenSplat._tint[2]; - fVar20 = g_colorGreenSplat._tint[1]; + fVar21 = g_colorGreenSplat._tint[3]; + fVar20 = g_colorGreenSplat._tint[2]; + fVar19 = g_colorGreenSplat._tint[1]; if (&npc->_splatColor != &g_colorGreenSplat) { (npc->_splatColor)._tint[0] = g_colorGreenSplat._tint[0]; - (npc->_splatColor)._tint[1] = fVar20; - (npc->_splatColor)._tint[2] = fVar21; - (npc->_splatColor)._tint[3] = fVar22; - fVar22 = g_colorGreenSplat._colorize[3]; - fVar21 = g_colorGreenSplat._colorize[2]; - fVar20 = g_colorGreenSplat._colorize[1]; + (npc->_splatColor)._tint[1] = fVar19; + (npc->_splatColor)._tint[2] = fVar20; + (npc->_splatColor)._tint[3] = fVar21; + fVar21 = g_colorGreenSplat._colorize[3]; + fVar20 = g_colorGreenSplat._colorize[2]; + fVar19 = g_colorGreenSplat._colorize[1]; (npc->_splatColor)._colorize[0] = g_colorGreenSplat._colorize[0]; - (npc->_splatColor)._colorize[1] = fVar20; - (npc->_splatColor)._colorize[2] = fVar21; - (npc->_splatColor)._colorize[3] = fVar22; + (npc->_splatColor)._colorize[1] = fVar19; + (npc->_splatColor)._colorize[2] = fVar20; + (npc->_splatColor)._colorize[3] = fVar21; *(undefined8 *)(npc->_splatColor)._offset = g_colorGreenSplat._offset._0_8_; (npc->_splatColor)._offset[2] = g_colorGreenSplat._offset[2]; } - pMVar2 = g_manager; - uVar7 = *(undefined4 *)((int)&npc->_flags + 4); + pMVar1 = g_manager; + uVar6 = *(undefined4 *)((int)&npc->_flags + 4); *(uint *)&npc->_flags = (uint)npc->_flags | 0x44000000; npc->_stateFrame = 0; npc->_projectileCooldown = 0; - *(undefined4 *)((int)&npc->_flags + 4) = uVar7; + *(undefined4 *)((int)&npc->_flags + 4) = uVar6; npc->_aiCallFlags = 1; - *(undefined4 *)((int)&pMVar2->_optionsConfig + *(int *)&pMVar2->_musicManager * 0x184 + -0x210) - = 0; - puVar1 = (uint *)((int)&pMVar2->_optionsConfig + *(int *)&pMVar2->_musicManager * 0x184 + -0x210 - ); - *puVar1 = *puVar1 | 1; + (pMVar1->_musicManager)._channels[(pMVar1->_musicManager)._currentChannel]._enabledLayers = 0; + piVar7 = &(pMVar1->_musicManager)._channels[(pMVar1->_musicManager)._currentChannel]. + _enabledLayers; + *piVar7 = *piVar7 | 1; return; default: goto LAB_00449fa0; @@ -53551,233 +53610,233 @@ LAB_0044832c: case 4: if (((npc->_sprite)._animState._animData == (void *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { - pbVar10 = (npc->_sprite)._animState._animData; + pbVar9 = (npc->_sprite)._animState._animData; local_20c = (EntityPtr *)s_Idle; if (npc->_state != 3) { local_20c = (EntityPtr *)"HeadlessIdle"; } - if (pbVar10 != (byte *)0x0) { - pbVar9 = pbVar10; - pEVar19 = local_20c; - if (0xf < *(uint *)(pbVar10 + 0x14)) { - pbVar9 = *(byte **)pbVar10; + if (pbVar9 != (byte *)0x0) { + pbVar8 = pbVar9; + pEVar18 = local_20c; + if (0xf < *(uint *)(pbVar9 + 0x14)) { + pbVar8 = *(byte **)pbVar9; } do { - bVar3 = *pbVar9; - bVar18 = bVar3 < *(byte *)pEVar19; - if (bVar3 != *(byte *)pEVar19) { + bVar2 = *pbVar8; + bVar17 = bVar2 < *(byte *)pEVar18; + if (bVar2 != *(byte *)pEVar18) { LAB_00448681: - uVar4 = -(uint)bVar18 | 1; + uVar3 = -(uint)bVar17 | 1; goto LAB_00448686; } - if (bVar3 == 0) break; - bVar3 = pbVar9[1]; - bVar18 = bVar3 < (byte)pEVar19->field_0x1; - if (bVar3 != pEVar19->field_0x1) goto LAB_00448681; - pbVar9 = pbVar9 + 2; - pEVar19 = (EntityPtr *)&pEVar19->field_0x2; - } while (bVar3 != 0); - uVar4 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar17 = bVar2 < (byte)pEVar18->field_0x1; + if (bVar2 != pEVar18->field_0x1) goto LAB_00448681; + pbVar8 = pbVar8 + 2; + pEVar18 = (EntityPtr *)&pEVar18->field_0x2; + } while (bVar2 != 0); + uVar3 = 0; LAB_00448686: - if ((uVar4 == 0) && ((pbVar10[0x34] == 0 || ((npc->_sprite)._animState._isPlaying != 0)))) + if ((uVar3 == 0) && ((pbVar9[0x34] == 0 || ((npc->_sprite)._animState._isPlaying != 0)))) goto LAB_004486bc; } - bVar3 = ANM2::SetAnimation(&npc->_sprite,(byte *)local_20c,1); - if (bVar3 != 0) { + bVar2 = ANM2::SetAnimation(&npc->_sprite,(byte *)local_20c,1); + if (bVar2 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; } } LAB_004486bc: - fVar20 = npc->_speedMultiplier; + fVar19 = npc->_speedMultiplier; npc->_friction = 0.8; - fVar21 = (npc->_pathfinder)._moveDirection.y; - (npc->_velocity).x = (npc->_pathfinder)._moveDirection.x * 0.55 * fVar20 + (npc->_velocity).x; - (npc->_velocity).y = fVar21 * 0.55 * fVar20 + (npc->_velocity).y; + fVar20 = (npc->_pathfinder)._moveDirection.y; + (npc->_velocity).x = (npc->_pathfinder)._moveDirection.x * 0.55 * fVar19 + (npc->_velocity).x; + (npc->_velocity).y = fVar20 * 0.55 * fVar19 + (npc->_velocity).y; Entity_NPC::GetPlayerTarget(npc); - iVar5 = (npc->_pathfinder)._moveCountdown; - if (iVar5 < 1) { - uVar4 = Random(); - (npc->_pathfinder)._moveCountdown = uVar4 % 0x14 + 0x14; - iVar5 = Random(); - fVar20 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * + iVar4 = (npc->_pathfinder)._moveCountdown; + if (iVar4 < 1) { + uVar3 = Random(); + (npc->_pathfinder)._moveCountdown = uVar3 % 0x14 + 0x14; + iVar4 = Random(); + fVar19 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 * 3.14; - local_20c = (EntityPtr *)(fVar20 + fVar20); - iVar5 = Random(); + local_20c = (EntityPtr *)(fVar19 + fVar19); + iVar4 = Random(); local_208 = (EntityPtr *) - ((float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 + ((float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 * 60.0 + 20.0); - pEVar19 = local_20c; + pEVar18 = local_20c; cos(); local_1e4 = (EntityPtr *) - ((float)pEVar19 * (float)local_208 + (npc->_pathfinder)._movementTarget.x); - pEVar19 = local_20c; + ((float)pEVar18 * (float)local_208 + (npc->_pathfinder)._movementTarget.x); + pEVar18 = local_20c; sin(); - pvVar17 = local_1d8; - local_1e0 = (float)pEVar19 * (float)local_208 + (npc->_pathfinder)._movementTarget.y; + pvVar16 = local_1d8; + local_1e0 = (float)pEVar18 * (float)local_208 + (npc->_pathfinder)._movementTarget.y; Room::GetClampedPositionImpl(&local_1cc,&local_1e4,0x42700000,0x42700000,0x42700000); (npc->_pathfinder)._movementTarget.x = local_1cc; (npc->_pathfinder)._movementTarget.y = local_1c8; } else { - (npc->_pathfinder)._moveCountdown = iVar5 - local_1c4; - pvVar17 = local_1d8; + (npc->_pathfinder)._moveCountdown = iVar4 - local_1c4; + pvVar16 = local_1d8; } - fVar20 = (npc->_pos).x; - local_208 = (EntityPtr *)((npc->_pathfinder)._movementTarget.x - fVar20); + fVar19 = (npc->_pos).x; + local_208 = (EntityPtr *)((npc->_pathfinder)._movementTarget.x - fVar19); local_1d4.x = (npc->_pathfinder)._movementTarget.y - (npc->_pos).y; if (((float)local_208 != g_vectorZero.x) || (local_1d4.x != g_vectorZero.y)) { - fVar20 = npc->_updateTime * 0.01; + fVar19 = npc->_updateTime * 0.01; sin(); - pEVar19 = (EntityPtr *)(fVar20 * 30.0 * 0.017453292); - local_20c = pEVar19; + pEVar18 = (EntityPtr *)(fVar19 * 30.0 * 0.017453292); + local_20c = pEVar18; cos(); - local_1f8.x = (float)pEVar19; + local_1f8.x = (float)pEVar18; sin(); - fVar20 = npc->_speedMultiplier; - fVar21 = (npc->_pathfinder)._moveDirection.y; + fVar19 = npc->_speedMultiplier; + fVar20 = (npc->_pathfinder)._moveDirection.y; (npc->_pathfinder)._moveDirection.x = - ((float)local_208 * local_1f8.x - (float)local_20c * local_1d4.x) * 0.001 * fVar20 + + ((float)local_208 * local_1f8.x - (float)local_20c * local_1d4.x) * 0.001 * fVar19 + (npc->_pathfinder)._moveDirection.x; (npc->_pathfinder)._moveDirection.y = - (local_1f8.x * local_1d4.x + (float)local_208 * (float)local_20c) * 0.001 * fVar20 + - fVar21; - fVar20 = (npc->_pos).x; + (local_1f8.x * local_1d4.x + (float)local_208 * (float)local_20c) * 0.001 * fVar19 + + fVar20; + fVar19 = (npc->_pos).x; } - fVar24 = *(float *)((int)pvVar17 + 0x14) + 180.0; - fVar25 = *(float *)((int)pvVar17 + 0x1c) - 180.0; - fVar22 = *(float *)((int)pvVar17 + 0x18) + 180.0; - fVar21 = *(float *)((int)pvVar17 + 0x20) - 180.0; + fVar23 = *(float *)((int)pvVar16 + 0x14) + 180.0; + fVar24 = *(float *)((int)pvVar16 + 0x1c) - 180.0; + fVar21 = *(float *)((int)pvVar16 + 0x18) + 180.0; + fVar20 = *(float *)((int)pvVar16 + 0x20) - 180.0; if (npc->_state == 4) { - fVar21 = fVar22 + 80.0; + fVar20 = fVar21 + 80.0; } - if (fVar24 <= fVar20) { - if (fVar25 < fVar20) { + if (fVar23 <= fVar19) { + if (fVar24 < fVar19) { (npc->_pathfinder)._moveDirection.x = - (fVar25 - fVar20) * 0.002 + (npc->_pathfinder)._moveDirection.x; + (fVar24 - fVar19) * 0.002 + (npc->_pathfinder)._moveDirection.x; } } else { (npc->_pathfinder)._moveDirection.x = - (fVar24 - fVar20) * 0.002 + (npc->_pathfinder)._moveDirection.x; + (fVar23 - fVar19) * 0.002 + (npc->_pathfinder)._moveDirection.x; } - fVar20 = (npc->_pos).y; - if (fVar22 <= fVar20) { - if (fVar21 < fVar20) { + fVar19 = (npc->_pos).y; + if (fVar21 <= fVar19) { + if (fVar20 < fVar19) { (npc->_pathfinder)._moveDirection.y = - (fVar21 - fVar20) * 0.002 + (npc->_pathfinder)._moveDirection.y; + (fVar20 - fVar19) * 0.002 + (npc->_pathfinder)._moveDirection.y; } } else { (npc->_pathfinder)._moveDirection.y = - (fVar22 - fVar20) * 0.002 + (npc->_pathfinder)._moveDirection.y; + (fVar21 - fVar19) * 0.002 + (npc->_pathfinder)._moveDirection.y; } local_20c = (EntityPtr *)(npc->_pathfinder)._moveDirection.x; local_208 = (EntityPtr *)(npc->_pathfinder)._moveDirection.y; - fVar20 = (float)local_20c * (float)local_20c + (float)local_208 * (float)local_208; + fVar19 = (float)local_20c * (float)local_20c + (float)local_208 * (float)local_208; sqrtf(); - if ((1.0 < fVar20) && (0.0 < fVar20)) { - (npc->_pathfinder)._moveDirection.x = (float)local_20c * (1.0 / fVar20); - (npc->_pathfinder)._moveDirection.y = (float)local_208 * (1.0 / fVar20); + if ((1.0 < fVar19) && (0.0 < fVar19)) { + (npc->_pathfinder)._moveDirection.x = (float)local_20c * (1.0 / fVar19); + (npc->_pathfinder)._moveDirection.y = (float)local_208 * (1.0 / fVar19); } - iVar5 = npc->_stateFrame + local_1c4; - npc->_stateFrame = iVar5; + iVar4 = npc->_stateFrame + local_1c4; + npc->_stateFrame = iVar4; if (npc->_state != 3) { - if ((npc->_health <= npc->_aiFloat && npc->_aiFloat != npc->_health) && (0x3b < iVar5)) { + if ((npc->_health <= npc->_aiFloat && npc->_aiFloat != npc->_health) && (0x3b < iVar4)) { npc->_state = 0xd; - pbVar10 = (npc->_sprite)._animState._animData; - if (pbVar10 != (byte *)0x0) { - pbVar9 = pbVar10; - if (0xf < *(uint *)(pbVar10 + 0x14)) { - pbVar9 = *(byte **)pbVar10; + pbVar9 = (npc->_sprite)._animState._animData; + if (pbVar9 != (byte *)0x0) { + pbVar8 = pbVar9; + if (0xf < *(uint *)(pbVar9 + 0x14)) { + pbVar8 = *(byte **)pbVar9; } - pcVar16 = "HorseSpit"; + pcVar15 = "HorseSpit"; do { - bVar3 = *pbVar9; - bVar18 = bVar3 < (byte)*pcVar16; - if (bVar3 != *pcVar16) { + bVar2 = *pbVar8; + bVar17 = bVar2 < (byte)*pcVar15; + if (bVar2 != *pcVar15) { LAB_00448d60: - uVar4 = -(uint)bVar18 | 1; + uVar3 = -(uint)bVar17 | 1; goto LAB_00448d65; } - if (bVar3 == 0) break; - bVar3 = pbVar9[1]; - bVar18 = bVar3 < (byte)pcVar16[1]; - if (bVar3 != pcVar16[1]) goto LAB_00448d60; - pbVar9 = pbVar9 + 2; - pcVar16 = pcVar16 + 2; - } while (bVar3 != 0); - uVar4 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar17 = bVar2 < (byte)pcVar15[1]; + if (bVar2 != pcVar15[1]) goto LAB_00448d60; + pbVar8 = pbVar8 + 2; + pcVar15 = pcVar15 + 2; + } while (bVar2 != 0); + uVar3 = 0; LAB_00448d65: - if ((uVar4 == 0) && ((pbVar10[0x34] == 0 || ((npc->_sprite)._animState._isPlaying != 0)))) + if ((uVar3 == 0) && ((pbVar9[0x34] == 0 || ((npc->_sprite)._animState._isPlaying != 0)))) goto LAB_00448d9c; } - bVar3 = ANM2::SetAnimation(&npc->_sprite,(byte *)"HorseSpit",1); - if (bVar3 != 0) { + bVar2 = ANM2::SetAnimation(&npc->_sprite,(byte *)"HorseSpit",1); + if (bVar2 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; } LAB_00448d9c: - pEVar11 = Entity_NPC::GetPlayerTarget(npc); - fVar20 = (pEVar11->_pos).x; - (npc->_sprite)._flipX = (npc->_pos).x <= fVar20 && fVar20 != (npc->_pos).x; + pEVar10 = Entity_NPC::GetPlayerTarget(npc); + fVar19 = (pEVar10->_pos).x; + (npc->_sprite)._flipX = (npc->_pos).x <= fVar19 && fVar19 != (npc->_pos).x; npc->_aiFloat = npc->_aiFloat - npc->_maxHitPoints * 0.2; return; } - if (iVar5 < 0x78) { + if (iVar4 < 0x78) { return; } npc->_state = 7; - pbVar10 = (npc->_sprite)._animState._animData; - if (pbVar10 == (byte *)0x0) { + pbVar9 = (npc->_sprite)._animState._animData; + if (pbVar9 == (byte *)0x0) { LAB_00448e5e: - bVar3 = ANM2::SetAnimation(&npc->_sprite,(byte *)"HeadlessSpit",1); - if (bVar3 != 0) { + bVar2 = ANM2::SetAnimation(&npc->_sprite,(byte *)"HeadlessSpit",1); + if (bVar2 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; } } else { - pbVar9 = pbVar10; - if (0xf < *(uint *)(pbVar10 + 0x14)) { - pbVar9 = *(byte **)pbVar10; + pbVar8 = pbVar9; + if (0xf < *(uint *)(pbVar9 + 0x14)) { + pbVar8 = *(byte **)pbVar9; } - pcVar16 = "HeadlessSpit"; + pcVar15 = "HeadlessSpit"; do { - bVar3 = *pbVar9; - bVar18 = bVar3 < (byte)*pcVar16; - if (bVar3 != *pcVar16) { + bVar2 = *pbVar8; + bVar17 = bVar2 < (byte)*pcVar15; + if (bVar2 != *pcVar15) { LAB_00448e40: - uVar4 = -(uint)bVar18 | 1; + uVar3 = -(uint)bVar17 | 1; goto LAB_00448e45; } - if (bVar3 == 0) break; - bVar3 = pbVar9[1]; - bVar18 = bVar3 < (byte)pcVar16[1]; - if (bVar3 != pcVar16[1]) goto LAB_00448e40; - pbVar9 = pbVar9 + 2; - pcVar16 = pcVar16 + 2; - } while (bVar3 != 0); - uVar4 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar17 = bVar2 < (byte)pcVar15[1]; + if (bVar2 != pcVar15[1]) goto LAB_00448e40; + pbVar8 = pbVar8 + 2; + pcVar15 = pcVar15 + 2; + } while (bVar2 != 0); + uVar3 = 0; LAB_00448e45: - if ((uVar4 != 0) || ((pbVar10[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) + if ((uVar3 != 0) || ((pbVar9[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) goto LAB_00448e5e; } - pMVar2 = g_manager; + pMVar1 = g_manager; local_20c = (EntityPtr *)0x296; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); - pMVar2 = g_manager; + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); + pMVar1 = g_manager; local_20c = (EntityPtr *)0x2a0; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); goto LAB_00448f04; } if ((npc->_sprite)._animState._animData != (void *)0x0) { - bVar3 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Sound"); - pMVar2 = g_manager; - iVar5 = npc->_stateFrame; - if (bVar3 != 0) { + bVar2 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Sound"); + pMVar1 = g_manager; + iVar4 = npc->_stateFrame; + if (bVar2 != 0) { if (npc->_championColorIdx == 0x12) { local_1f0 = (AnimationState *)0x3fc00000; } @@ -53786,114 +53845,114 @@ LAB_00448e45: } local_20c = (EntityPtr *)0x1d; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_20c,1.0,2,0,(float)local_1f0,0.0); - iVar5 = npc->_stateFrame; + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_20c,1.0,2,0,(float)local_1f0,0.0); + iVar4 = npc->_stateFrame; } } - if ((npc->_child != (EntityPtr)0x0) && (0x3c < iVar5)) { + if ((npc->_child != (EntityPtr)0x0) && (0x3c < iVar4)) { npc->_stateFrame = 0x3c; return; } - if (iVar5 < 0x5a) { + if (iVar4 < 0x5a) { return; } if (npc->_projectileCooldown < 3) { npc->_state = 8; - pbVar10 = (npc->_sprite)._animState._animData; - if (pbVar10 != (byte *)0x0) { - pbVar9 = pbVar10; - if (0xf < *(uint *)(pbVar10 + 0x14)) { - pbVar9 = *(byte **)pbVar10; + pbVar9 = (npc->_sprite)._animState._animData; + if (pbVar9 != (byte *)0x0) { + pbVar8 = pbVar9; + if (0xf < *(uint *)(pbVar9 + 0x14)) { + pbVar8 = *(byte **)pbVar9; } - pbVar15 = &DAT_00b1d47c; + pbVar14 = &DAT_00b1d47c; do { - bVar3 = *pbVar9; - bVar18 = bVar3 < *pbVar15; - if (bVar3 != *pbVar15) { + bVar2 = *pbVar8; + bVar17 = bVar2 < *pbVar14; + if (bVar2 != *pbVar14) { LAB_00448c75: - uVar4 = -(uint)bVar18 | 1; + uVar3 = -(uint)bVar17 | 1; goto LAB_00448c7a; } - if (bVar3 == 0) break; - bVar3 = pbVar9[1]; - bVar18 = bVar3 < pbVar15[1]; - if (bVar3 != pbVar15[1]) goto LAB_00448c75; - pbVar9 = pbVar9 + 2; - pbVar15 = pbVar15 + 2; - } while (bVar3 != 0); - uVar4 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar17 = bVar2 < pbVar14[1]; + if (bVar2 != pbVar14[1]) goto LAB_00448c75; + pbVar8 = pbVar8 + 2; + pbVar14 = pbVar14 + 2; + } while (bVar2 != 0); + uVar3 = 0; LAB_00448c7a: - if ((uVar4 == 0) && ((pbVar10[0x34] == 0 || ((npc->_sprite)._animState._isPlaying != 0)))) + if ((uVar3 == 0) && ((pbVar9[0x34] == 0 || ((npc->_sprite)._animState._isPlaying != 0)))) goto LAB_00448ca6; } - bVar3 = ANM2::SetAnimation(&npc->_sprite,&DAT_00b1d47c,1); - if (bVar3 != 0) { + bVar2 = ANM2::SetAnimation(&npc->_sprite,&DAT_00b1d47c,1); + if (bVar2 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; } LAB_00448ca6: - pMVar2 = g_manager; + pMVar1 = g_manager; local_20c = (EntityPtr *)0x2a1; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); return; } npc->_state = 9; - pbVar10 = (npc->_sprite)._animState._animData; - if (pbVar10 == (byte *)0x0) { + pbVar9 = (npc->_sprite)._animState._animData; + if (pbVar9 == (byte *)0x0) { LAB_00448c08: - bVar3 = ANM2::SetAnimation(&npc->_sprite,(byte *)"MaggotAttack",1); - if (bVar3 != 0) { + bVar2 = ANM2::SetAnimation(&npc->_sprite,(byte *)"MaggotAttack",1); + if (bVar2 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; } } else { - if (0xf < *(uint *)(pbVar10 + 0x14)) { - pbVar10 = *(byte **)pbVar10; + if (0xf < *(uint *)(pbVar9 + 0x14)) { + pbVar9 = *(byte **)pbVar9; } - pcVar16 = "MaggotAttack"; + pcVar15 = "MaggotAttack"; do { - bVar3 = *pbVar10; - bVar18 = bVar3 < (byte)*pcVar16; - if (bVar3 != *pcVar16) { + bVar2 = *pbVar9; + bVar17 = bVar2 < (byte)*pcVar15; + if (bVar2 != *pcVar15) { LAB_00448bf0: - uVar4 = -(uint)bVar18 | 1; + uVar3 = -(uint)bVar17 | 1; goto LAB_00448bf5; } - if (bVar3 == 0) break; - bVar3 = pbVar10[1]; - bVar18 = bVar3 < (byte)pcVar16[1]; - if (bVar3 != pcVar16[1]) goto LAB_00448bf0; - pbVar10 = pbVar10 + 2; - pcVar16 = pcVar16 + 2; - } while (bVar3 != 0); - uVar4 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar9[1]; + bVar17 = bVar2 < (byte)pcVar15[1]; + if (bVar2 != pcVar15[1]) goto LAB_00448bf0; + pbVar9 = pbVar9 + 2; + pcVar15 = pcVar15 + 2; + } while (bVar2 != 0); + uVar3 = 0; LAB_00448bf5: - if ((uVar4 != 0) || + if ((uVar3 != 0) || ((*(char *)((int)(npc->_sprite)._animState._animData + 0x34) != '\0' && ((npc->_sprite)._animState._isPlaying == 0)))) goto LAB_00448c08; } npc->_projectileCooldown = 0; LAB_00448f04: - pEVar11 = Entity_NPC::GetPlayerTarget(npc); - fVar20 = (pEVar11->_pos).x; - (npc->_sprite)._flipX = (npc->_pos).x <= fVar20 && fVar20 != (npc->_pos).x; + pEVar10 = Entity_NPC::GetPlayerTarget(npc); + fVar19 = (pEVar10->_pos).x; + (npc->_sprite)._flipX = (npc->_pos).x <= fVar19 && fVar19 != (npc->_pos).x; return; case 7: npc->_friction = 0.8; this = &(npc->_sprite)._animState; if ((npc->_sprite)._animState._animData != (void *)0x0) { - bVar3 = AnimationState::IsEventTriggered(this,(byte *)"Shoot"); - if (bVar3 != 0) { + bVar2 = AnimationState::IsEventTriggered(this,(byte *)"Shoot"); + if (bVar2 != 0) { npc->_stateFrame = 0; } if ((npc->_sprite)._animState._animData != (void *)0x0) { - bVar3 = AnimationState::WasEventTriggered(this,(byte *)"Shoot"); - if (bVar3 != 0) { - pfVar12 = (float *)Entity::GetNullOffset((Entity *)npc,&local_1e4,"ShootPos"); - local_1d4.x = (npc->_pos).x + *pfVar12; - local_1d4.y = pfVar12[1] + (npc->_pos).y; + bVar2 = AnimationState::WasEventTriggered(this,(byte *)"Shoot"); + if (bVar2 != 0) { + pfVar11 = (float *)Entity::GetNullOffset((Entity *)npc,&local_1e4,"ShootPos"); + local_1d4.x = (npc->_pos).x + *pfVar11; + local_1d4.y = pfVar11[1] + (npc->_pos).y; ProjectileParams::ProjectileParams((Entity_NPC *)auStack_160); auStack_160._84_4_ = DAT_00c34f00; auStack_160._44_4_ = _DAT_00c34ed8; @@ -53906,7 +53965,7 @@ LAB_00448f04: auStack_160._72_4_ = fRam00c34ef4; auStack_160._76_4_ = (float)DAT_00c34ef8; auStack_160._80_4_ = DAT_00c34ef8._4_4_; - iVar5 = Random(); + iVar4 = Random(); auStack_160._88_4_ = 0x2080; auStack_160._92_4_ = 1; auStack_160._128_4_ = (void *)0x8002080; @@ -53914,7 +53973,7 @@ LAB_00448f04: auStack_160._36_4_ = 0.96; iStack_d4 = 0x1e; auStack_160._20_4_ = - (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * + (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 * 0.8 + 1.0; if ((npc->_sprite)._flipX == 0) { local_20c = (EntityPtr *)0xc0a00000; @@ -53922,21 +53981,21 @@ LAB_00448f04: else { local_20c = (EntityPtr *)0x40a00000; } - iVar5 = 0; + iVar4 = 0; if (0 < local_1c4) { - iVar6 = npc->_stateFrame; + iVar5 = npc->_stateFrame; do { - if (0x1d < iVar6) break; - iVar6 = Random(); - fVar20 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * + if (0x1d < iVar5) break; + iVar5 = Random(); + fVar19 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pEVar19 = (EntityPtr *)(fVar20 + fVar20); - local_208 = pEVar19; + pEVar18 = (EntityPtr *)(fVar19 + fVar19); + local_208 = pEVar18; cos(); - local_1f8.x = (float)pEVar19 * 6.0 + (float)local_20c; - pEVar19 = local_208; + local_1f8.x = (float)pEVar18 * 6.0 + (float)local_20c; + pEVar18 = local_208; sin(); - local_1f8.y = (float)pEVar19 * 6.0 - 16.0; + local_1f8.y = (float)pEVar18 * 6.0 - 16.0; if (-6.0 < local_1f8.y) { local_1f8.y = -6.0; } @@ -53944,22 +54003,22 @@ LAB_00448f04: (npc,&local_1d4,&local_1f8,0,(ProjectileParams *)auStack_160); *(undefined4 *)(extraout_EAX_00 + 0x414) = 0; *(undefined4 *)(extraout_EAX_00 + 0x418) = 0x3f000000; - uVar4 = npc->_stateFrame; - uVar14 = uVar4 & 0x80000003; - bVar18 = uVar14 == 0; - if ((int)uVar14 < 0) { - bVar18 = (uVar14 - 1 | 0xfffffffc) == 0xffffffff; + uVar3 = npc->_stateFrame; + uVar13 = uVar3 & 0x80000003; + bVar17 = uVar13 == 0; + if ((int)uVar13 < 0) { + bVar17 = (uVar13 - 1 | 0xfffffffc) == 0xffffffff; } - if (bVar18) { + if (bVar17) { local_1e4 = (EntityPtr *)(local_1f8.x * 0.4); local_1e0 = local_1f8.y * 0.4; spawn_blood_explosion(&g_vectorZero,&g_colorGreenSplat,&local_1e4); - uVar4 = npc->_stateFrame; + uVar3 = npc->_stateFrame; } - iVar6 = uVar4 + 1; - iVar5 = iVar5 + 1; - npc->_stateFrame = iVar6; - } while (iVar5 < local_1c4); + iVar5 = uVar3 + 1; + iVar4 = iVar4 + 1; + npc->_stateFrame = iVar5; + } while (iVar4 < local_1c4); } } if (((npc->_sprite)._animState._animData != (void *)0x0) && @@ -53968,35 +54027,35 @@ LAB_00448f04: } } } - pbVar10 = (npc->_sprite)._animState._animData; - if (pbVar10 != (byte *)0x0) { - pbVar9 = pbVar10; - if (0xf < *(uint *)(pbVar10 + 0x14)) { - pbVar9 = *(byte **)pbVar10; + pbVar9 = (npc->_sprite)._animState._animData; + if (pbVar9 != (byte *)0x0) { + pbVar8 = pbVar9; + if (0xf < *(uint *)(pbVar9 + 0x14)) { + pbVar8 = *(byte **)pbVar9; } - pcVar16 = "HeadlessIdle"; + pcVar15 = "HeadlessIdle"; do { - bVar3 = *pbVar9; - bVar18 = bVar3 < (byte)*pcVar16; - if (bVar3 != *pcVar16) { + bVar2 = *pbVar8; + bVar17 = bVar2 < (byte)*pcVar15; + if (bVar2 != *pcVar15) { LAB_00449f50: - uVar4 = -(uint)bVar18 | 1; + uVar3 = -(uint)bVar17 | 1; goto LAB_00449f55; } - if (bVar3 == 0) break; - bVar3 = pbVar9[1]; - bVar18 = bVar3 < (byte)pcVar16[1]; - if (bVar3 != pcVar16[1]) goto LAB_00449f50; - pbVar9 = pbVar9 + 2; - pcVar16 = pcVar16 + 2; - } while (bVar3 != 0); - uVar4 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar17 = bVar2 < (byte)pcVar15[1]; + if (bVar2 != pcVar15[1]) goto LAB_00449f50; + pbVar8 = pbVar8 + 2; + pcVar15 = pcVar15 + 2; + } while (bVar2 != 0); + uVar3 = 0; LAB_00449f55: - if ((uVar4 == 0) && ((pbVar10[0x34] == 0 || ((npc->_sprite)._animState._isPlaying != 0)))) + if ((uVar3 == 0) && ((pbVar9[0x34] == 0 || ((npc->_sprite)._animState._isPlaying != 0)))) goto LAB_00449f8c; } - bVar3 = ANM2::SetAnimation(&npc->_sprite,(byte *)"HeadlessIdle",1); - if (bVar3 != 0) { + bVar2 = ANM2::SetAnimation(&npc->_sprite,(byte *)"HeadlessIdle",1); + if (bVar2 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; } @@ -54004,15 +54063,15 @@ LAB_00449f55: case 8: npc->_friction = 0.8; if ((npc->_sprite)._animState._animData != (void *)0x0) { - bVar3 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"); - pMVar2 = g_manager; - if (bVar3 != 0) { + bVar2 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"); + pMVar1 = g_manager; + if (bVar2 != 0) { local_20c = (EntityPtr *)0x29a; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); - pfVar12 = (float *)Entity::GetNullOffset((Entity *)npc,&local_1e4,"ShootPos"); - local_1f8.x = (npc->_pos).x + *pfVar12; - local_1f8.y = (npc->_pos).y + pfVar12[1]; + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); + pfVar11 = (float *)Entity::GetNullOffset((Entity *)npc,&local_1e4,"ShootPos"); + local_1f8.x = (npc->_pos).x + *pfVar11; + local_1f8.y = (npc->_pos).y + pfVar11[1]; fStack_198 = (npc->_splatColor)._offset[2]; local_18c._colorize[0] = 0.0; local_18c._colorize[1] = 0.0; @@ -54062,25 +54121,25 @@ LAB_00449f55: auStack_b8._72_4_ = fRam00c34ec8; auStack_b8._76_4_ = (float)DAT_00c34ecc; auStack_b8._80_4_ = DAT_00c34ecc._4_4_; - pEVar11 = Entity_NPC::GetPlayerTarget(npc); - fVar20 = (pEVar11->_pos).x; - fVar21 = *(float *)((int)local_1d8 + 0x20); - fVar22 = fVar20 - local_1f8.x; - (npc->_sprite)._flipX = (npc->_pos).x <= fVar20 && fVar20 != (npc->_pos).x; - local_208 = (EntityPtr *)((fVar21 - 30.0) - local_1f8.y); - local_1fd = fVar22 < 0.0; + pEVar10 = Entity_NPC::GetPlayerTarget(npc); + fVar19 = (pEVar10->_pos).x; + fVar20 = *(float *)((int)local_1d8 + 0x20); + fVar21 = fVar19 - local_1f8.x; + (npc->_sprite)._flipX = (npc->_pos).x <= fVar19 && fVar19 != (npc->_pos).x; + local_208 = (EntityPtr *)((fVar20 - 30.0) - local_1f8.y); + local_1fd = fVar21 < 0.0; if ((bool)local_1fd) { - fVar22 = -fVar22; + fVar21 = -fVar21; } local_1d4.y = -20.0; - local_20c = (EntityPtr *)(fVar22 * -20.0); - fVar20 = fVar22 * 0.5 * fVar22 * 4.0 * (float)local_208 + + local_20c = (EntityPtr *)(fVar21 * -20.0); + fVar19 = fVar21 * 0.5 * fVar21 * 4.0 * (float)local_208 + (float)local_20c * (float)local_20c; - if (fVar20 <= 0.0) { - fVar20 = 0.0; + if (fVar19 <= 0.0) { + fVar19 = 0.0; } sqrtf(); - local_1d4.x = (fVar20 + (float)local_20c) / ((float)local_208 + (float)local_208); + local_1d4.x = (fVar19 + (float)local_20c) / ((float)local_208 + (float)local_208); if (local_1fd != '\0') { local_1d4.x = -local_1d4.x; } @@ -54101,32 +54160,32 @@ LAB_00449f55: npc->_friction = 0.8; local_1f0 = &(npc->_sprite)._animState; if ((npc->_sprite)._animState._animData != (void *)0x0) { - bVar3 = AnimationState::IsEventTriggered(local_1f0,(byte *)"Sound"); - pMVar2 = g_manager; - if (bVar3 != 0) { + bVar2 = AnimationState::IsEventTriggered(local_1f0,(byte *)"Sound"); + pMVar1 = g_manager; + if (bVar2 != 0) { local_20c = (EntityPtr *)0x293; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); - pMVar2 = g_manager; + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); + pMVar1 = g_manager; local_20c = (EntityPtr *)0x29e; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); local_1f0 = &(npc->_sprite)._animState; } if ((npc->_sprite)._animState._animData != (void *)0x0) { - bVar3 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"); - pMVar2 = g_manager; - if (bVar3 != 0) { + bVar2 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"); + pMVar1 = g_manager; + if (bVar2 != 0) { local_20c = (EntityPtr *)0x294; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); - pMVar2 = g_manager; + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); + pMVar1 = g_manager; local_20c = (EntityPtr *)0x29f; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); - pfVar12 = (float *)Entity::GetNullOffset((Entity *)npc,&local_1e4,"ShootPos"); - local_1f8.y = (npc->_pos).y + pfVar12[1]; - local_1f8.x = (npc->_pos).x + *pfVar12; + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); + pfVar11 = (float *)Entity::GetNullOffset((Entity *)npc,&local_1e4,"ShootPos"); + local_1f8.y = (npc->_pos).y + pfVar11[1]; + local_1f8.x = (npc->_pos).x + *pfVar11; if ((npc->_sprite)._flipX == 0) { local_1cc = -10.0; local_1ec = -10.0; @@ -54139,77 +54198,77 @@ LAB_00449f55: local_1e4 = (EntityPtr *)(local_1cc * 0.5); (npc->_v1).y = -0.0; local_1e0 = 0.0; - iVar5 = spawn_blood_explosion(&g_vectorZero,&g_colorGreenSplat,&local_1e4); - *(undefined4 *)(iVar5 + 0x354) = 500; - uVar7 = Random(); - EVar13 = (EntityPtr)Game::SpawnEx(g_game,0x3b7,0x16,&local_1f8,&local_1cc,npc,0,uVar7,0); - *(int *)((int)EVar13 + 0x338) = 0; - *(float *)((int)EVar13 + 0x334) = local_1ec * 0.75; - if (*(EntityPtr *)((int)EVar13 + 0x3bc) != (EntityPtr)0x0) { - local_20c = (EntityPtr *)((int)EVar13 + 0x3bc); + iVar4 = spawn_blood_explosion(&g_vectorZero,&g_colorGreenSplat,&local_1e4); + *(undefined4 *)(iVar4 + 0x354) = 500; + uVar6 = Random(); + EVar12 = (EntityPtr)Game::SpawnEx(g_game,0x3b7,0x16,&local_1f8,&local_1cc,npc,0,uVar6,0); + *(int *)((int)EVar12 + 0x338) = 0; + *(float *)((int)EVar12 + 0x334) = local_1ec * 0.75; + if (*(EntityPtr *)((int)EVar12 + 0x3bc) != (EntityPtr)0x0) { + local_20c = (EntityPtr *)((int)EVar12 + 0x3bc); std::multiset::erase(&local_20c); } - *(int *)((int)EVar13 + 0x3bc) = (int)npc; - std::multiset::insert((int *)((int)EVar13 + 0x3bc)); - *(uint *)((int)EVar13 + 0x168) = *(uint *)((int)EVar13 + 0x168) & 0xfffffffb; - *(int *)((int)EVar13 + 0x16c) = *(int *)((int)EVar13 + 0x16c); + *(int *)((int)EVar12 + 0x3bc) = (int)npc; + std::multiset::insert((int *)((int)EVar12 + 0x3bc)); + *(uint *)((int)EVar12 + 0x168) = *(uint *)((int)EVar12 + 0x168) & 0xfffffffb; + *(int *)((int)EVar12 + 0x16c) = *(int *)((int)EVar12 + 0x16c); if (npc->_child != (EntityPtr)0x0) { local_20c = &npc->_child; std::multiset::erase(&local_20c); } - npc->_child = EVar13; + npc->_child = EVar12; std::multiset::insert(&npc->_child); - (**(code **)(*(int *)EVar13 + 0xc))(); - iVar5 = 8; + (**(code **)(*(int *)EVar12 + 0xc))(); + iVar4 = 8; do { - iVar6 = Random(); - fVar20 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * + iVar5 = Random(); + fVar19 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 3.14; - local_20c = (EntityPtr *)(fVar20 + fVar20); - iVar6 = Random(); + local_20c = (EntityPtr *)(fVar19 + fVar19); + iVar5 = Random(); local_208 = (EntityPtr *) - ((float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * + ((float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 3.0); - pEVar19 = local_20c; + pEVar18 = local_20c; cos(); - local_1e4 = (EntityPtr *)((float)pEVar19 * (float)local_208 + local_1ec); - pEVar19 = local_20c; + local_1e4 = (EntityPtr *)((float)pEVar18 * (float)local_208 + local_1ec); + pEVar18 = local_20c; sin(); - local_1e0 = (float)pEVar19 * (float)local_208 + 0.0; - iVar6 = Random(); - fVar20 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * + local_1e0 = (float)pEVar18 * (float)local_208 + 0.0; + iVar5 = Random(); + fVar19 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 3.14; - local_20c = (EntityPtr *)(fVar20 + fVar20); - iVar6 = Random(); + local_20c = (EntityPtr *)(fVar19 + fVar19); + iVar5 = Random(); local_208 = (EntityPtr *) - ((float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * + ((float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10); - pEVar19 = local_20c; + pEVar18 = local_20c; cos(); - local_1cc = (float)pEVar19 * 6.0 * (float)local_208 + local_1f8.x; - pEVar19 = local_20c; + local_1cc = (float)pEVar18 * 6.0 * (float)local_208 + local_1f8.x; + pEVar18 = local_20c; sin(); - local_1c8 = (float)pEVar19 * 6.0 * (float)local_208 + local_1f8.y; - iVar6 = spawn_small_maggot(&local_1e4,0xc1000000); - *(undefined4 *)(iVar6 + 0x188) = 0; - *(undefined4 *)(iVar6 + 0x37c) = 0x41700000; - iVar5 = iVar5 + -1; - } while (iVar5 != 0); + local_1c8 = (float)pEVar18 * 6.0 * (float)local_208 + local_1f8.y; + iVar5 = spawn_small_maggot(&local_1e4,0xc1000000); + *(undefined4 *)(iVar5 + 0x188) = 0; + *(undefined4 *)(iVar5 + 0x37c) = 0x41700000; + iVar4 = iVar4 + -1; + } while (iVar4 != 0); } if ((npc->_sprite)._animState._animData != (void *)0x0) { - bVar3 = AnimationState::WasEventTriggered(local_1f0,(byte *)"Shoot"); - if (bVar3 != 0) { - fVar20 = npc->_speedMultiplier; - auVar23 = ZEXT812(0x3f000000); - (npc->_velocity).x = fVar20 * (npc->_v1).x + (npc->_velocity).x; - (npc->_velocity).y = fVar20 * (npc->_v1).y + (npc->_velocity).y; - if (fVar20 != 1.0) { - fVar21 = auVar23._0_4_; - auVar23._4_8_ = auVar23._4_8_; - auVar23._0_4_ = fVar21 / ((fVar20 + fVar21) - fVar20 * fVar21); + bVar2 = AnimationState::WasEventTriggered(local_1f0,(byte *)"Shoot"); + if (bVar2 != 0) { + fVar19 = npc->_speedMultiplier; + auVar22 = ZEXT812(0x3f000000); + (npc->_velocity).x = fVar19 * (npc->_v1).x + (npc->_velocity).x; + (npc->_velocity).y = fVar19 * (npc->_v1).y + (npc->_velocity).y; + if (fVar19 != 1.0) { + fVar20 = auVar22._0_4_; + auVar22._4_8_ = auVar22._4_8_; + auVar22._0_4_ = fVar20 / ((fVar19 + fVar20) - fVar19 * fVar20); } - (npc->_v1).y = auVar23._0_4_ * (npc->_v1).y; - (npc->_v1).x = auVar23._0_4_ * (npc->_v1).x; + (npc->_v1).y = auVar22._0_4_ * (npc->_v1).y; + (npc->_v1).x = auVar22._0_4_ * (npc->_v1).x; } if (((npc->_sprite)._animState._animData != (void *)0x0) && ((npc->_sprite)._animState._isPlaying != 0)) { @@ -54218,39 +54277,39 @@ LAB_00449f55: } } } - pbVar10 = (npc->_sprite)._animState._animData; - if (pbVar10 == (byte *)0x0) { + pbVar9 = (npc->_sprite)._animState._animData; + if (pbVar9 == (byte *)0x0) { LAB_004497de: - bVar3 = ANM2::SetAnimation(&npc->_sprite,s_Idle,1); - if (bVar3 != 0) { + bVar2 = ANM2::SetAnimation(&npc->_sprite,s_Idle,1); + if (bVar2 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; } } else { - pbVar9 = pbVar10; - if (0xf < *(uint *)(pbVar10 + 0x14)) { - pbVar9 = *(byte **)pbVar10; + pbVar8 = pbVar9; + if (0xf < *(uint *)(pbVar9 + 0x14)) { + pbVar8 = *(byte **)pbVar9; } - pbVar15 = s_Idle; + pbVar14 = s_Idle; do { - bVar3 = *pbVar9; - bVar18 = bVar3 < *pbVar15; - if (bVar3 != *pbVar15) { + bVar2 = *pbVar8; + bVar17 = bVar2 < *pbVar14; + if (bVar2 != *pbVar14) { LAB_004497c0: - uVar4 = -(uint)bVar18 | 1; + uVar3 = -(uint)bVar17 | 1; goto LAB_004497c5; } - if (bVar3 == 0) break; - bVar3 = pbVar9[1]; - bVar18 = bVar3 < pbVar15[1]; - if (bVar3 != pbVar15[1]) goto LAB_004497c0; - pbVar9 = pbVar9 + 2; - pbVar15 = pbVar15 + 2; - } while (bVar3 != 0); - uVar4 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar17 = bVar2 < pbVar14[1]; + if (bVar2 != pbVar14[1]) goto LAB_004497c0; + pbVar8 = pbVar8 + 2; + pbVar14 = pbVar14 + 2; + } while (bVar2 != 0); + uVar3 = 0; LAB_004497c5: - if ((uVar4 != 0) || ((pbVar10[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) + if ((uVar3 != 0) || ((pbVar9[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) goto LAB_004497de; } npc->_state = 3; @@ -54258,15 +54317,15 @@ LAB_004497c5: case 0xd: npc->_friction = 0.8; if ((npc->_sprite)._animState._animData != (void *)0x0) { - bVar3 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"); - pMVar2 = g_manager; - if (bVar3 != 0) { + bVar2 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"); + pMVar1 = g_manager; + if (bVar2 != 0) { local_20c = (EntityPtr *)0x299; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); - pfVar12 = (float *)Entity::GetNullOffset((Entity *)npc,&local_1e4,"ShootPos"); - local_1ec = (npc->_pos).x + *pfVar12; - fStack_1e8 = pfVar12[1] + (npc->_pos).y; + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_20c,1.0,2,0,1.0,0.0); + pfVar11 = (float *)Entity::GetNullOffset((Entity *)npc,&local_1e4,"ShootPos"); + local_1ec = (npc->_pos).x + *pfVar11; + fStack_1e8 = pfVar11[1] + (npc->_pos).y; if ((npc->_sprite)._flipX == 0) { local_20c = (EntityPtr *)0xc1000000; } @@ -54275,73 +54334,73 @@ LAB_004497c5: } local_1e0 = 3.0; local_1e4 = local_20c; - uVar7 = Random(); - EVar13 = (EntityPtr)Game::SpawnEx(g_game,0x3b7,0x17,&local_1ec,&local_1e4,npc,0,uVar7,0); - *(uint *)((int)EVar13 + 0x168) = *(uint *)((int)EVar13 + 0x168) & 0xfffffffb; - *(int *)((int)EVar13 + 0x16c) = *(int *)((int)EVar13 + 0x16c); - if (*(EntityPtr *)((int)EVar13 + 0x3bc) != (EntityPtr)0x0) { - local_208 = (EntityPtr *)((int)EVar13 + 0x3bc); + uVar6 = Random(); + EVar12 = (EntityPtr)Game::SpawnEx(g_game,0x3b7,0x17,&local_1ec,&local_1e4,npc,0,uVar6,0); + *(uint *)((int)EVar12 + 0x168) = *(uint *)((int)EVar12 + 0x168) & 0xfffffffb; + *(int *)((int)EVar12 + 0x16c) = *(int *)((int)EVar12 + 0x16c); + if (*(EntityPtr *)((int)EVar12 + 0x3bc) != (EntityPtr)0x0) { + local_208 = (EntityPtr *)((int)EVar12 + 0x3bc); std::multiset::erase(&local_208); } - *(int *)((int)EVar13 + 0x3bc) = (int)npc; - std::multiset::insert((int *)((int)EVar13 + 0x3bc)); + *(int *)((int)EVar12 + 0x3bc) = (int)npc; + std::multiset::insert((int *)((int)EVar12 + 0x3bc)); if (npc->_child != (EntityPtr)0x0) { local_208 = &npc->_child; std::multiset::erase(&local_208); } - npc->_child = EVar13; + npc->_child = EVar12; std::multiset::insert(&npc->_child); - (**(code **)(*(int *)EVar13 + 0xc))(); + (**(code **)(*(int *)EVar12 + 0xc))(); local_1d4.x = (float)&DAT_00000004; do { - uVar7 = Random(); - iVar5 = Random(); - fVar20 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 + uVar6 = Random(); + iVar4 = Random(); + fVar19 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 * 3.14; - local_208 = (EntityPtr *)(fVar20 + fVar20); - iVar5 = Random(); - local_1f8.x = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * + local_208 = (EntityPtr *)(fVar19 + fVar19); + iVar4 = Random(); + local_1f8.x = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10; - pEVar19 = local_208; + pEVar18 = local_208; cos(); - local_1e4 = (EntityPtr *)((float)pEVar19 * 1.5 * local_1f8.x + (float)local_20c); - pEVar19 = local_208; + local_1e4 = (EntityPtr *)((float)pEVar18 * 1.5 * local_1f8.x + (float)local_20c); + pEVar18 = local_208; sin(); - local_1e0 = (float)pEVar19 * 1.5 * local_1f8.x + 3.0; - iVar5 = Random(); - fVar20 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 + local_1e0 = (float)pEVar18 * 1.5 * local_1f8.x + 3.0; + iVar4 = Random(); + fVar19 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 * 3.14; - local_208 = (EntityPtr *)(fVar20 + fVar20); - iVar5 = Random(); - local_1f8.x = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * + local_208 = (EntityPtr *)(fVar19 + fVar19); + iVar4 = Random(); + local_1f8.x = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10; - pEVar19 = local_208; + pEVar18 = local_208; cos(); - local_1cc = (float)pEVar19 * 10.0 * local_1f8.x + local_1ec; - pEVar19 = local_208; + local_1cc = (float)pEVar18 * 10.0 * local_1f8.x + local_1ec; + pEVar18 = local_208; sin(); - local_1c8 = (float)pEVar19 * 10.0 * local_1f8.x + fStack_1e8; - piVar8 = (int *)Game::SpawnEx(g_game,1000,0x3b,&local_1cc,&local_1e4,npc,0,uVar7,0); - iVar5 = Random(); - piVar8[0x11d] = - (int)((float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * + local_1c8 = (float)pEVar18 * 10.0 * local_1f8.x + fStack_1e8; + piVar7 = (int *)Game::SpawnEx(g_game,1000,0x3b,&local_1cc,&local_1e4,npc,0,uVar6,0); + iVar4 = Random(); + piVar7[0x11d] = + (int)((float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 * 10.0 + 2.0); - uVar4 = Random(); - iVar5 = uVar4 % 0xf + 0xf; - piVar8[0x117] = iVar5; - piVar8[0x118] = iVar5; + uVar3 = Random(); + iVar4 = uVar3 % 0xf + 0xf; + piVar7[0x117] = iVar4; + piVar7[0x118] = iVar4; Color::Reset(); local_18c._tint[0] = 0.7; local_18c._tint[1] = 0.8; local_18c._tint[2] = 0.65; local_18c._tint[3] = 0.6; - (**(code **)(*piVar8 + 0x3c))(&local_18c,0xffffffff,0xff,0,1); - fVar20 = g_vectorOne.y; + (**(code **)(*piVar7 + 0x3c))(&local_18c,0xffffffff,0xff,0,1); + fVar19 = g_vectorOne.y; local_1d4.x = (float)((int)local_1d4.x + -1); - fVar21 = g_vectorOne.x * 2.0; - piVar8[0xd6] = -0x3f600000; - piVar8[0x39] = (int)fVar21; - piVar8[0x3a] = (int)(fVar20 * 2.0); + fVar20 = g_vectorOne.x * 2.0; + piVar7[0xd6] = -0x3f600000; + piVar7[0x39] = (int)fVar20; + piVar7[0x3a] = (int)(fVar19 * 2.0); } while ((undefined1 *)local_1d4.x != (undefined1 *)0x0); } } @@ -54363,63 +54422,63 @@ LAB_00449f8c: } return; case 99: - pbVar10 = (npc->_sprite)._animState._animData; - if (pbVar10 == (byte *)0x0) { + pbVar9 = (npc->_sprite)._animState._animData; + if (pbVar9 == (byte *)0x0) { code_r0x00448520: - bVar3 = ANM2::SetAnimation(&npc->_sprite,s_Idle,1); - if (bVar3 != 0) { + bVar2 = ANM2::SetAnimation(&npc->_sprite,s_Idle,1); + if (bVar2 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; } } else { - pbVar9 = pbVar10; - if (0xf < *(uint *)(pbVar10 + 0x14)) { - pbVar9 = *(byte **)pbVar10; + pbVar8 = pbVar9; + if (0xf < *(uint *)(pbVar9 + 0x14)) { + pbVar8 = *(byte **)pbVar9; } - pbVar15 = s_Idle; + pbVar14 = s_Idle; do { - bVar3 = *pbVar9; - bVar18 = bVar3 < *pbVar15; - if (bVar3 != *pbVar15) { + bVar2 = *pbVar8; + bVar17 = bVar2 < *pbVar14; + if (bVar2 != *pbVar14) { code_r0x00448502: - uVar4 = -(uint)bVar18 | 1; + uVar3 = -(uint)bVar17 | 1; goto code_r0x00448507; } - if (bVar3 == 0) break; - bVar3 = pbVar9[1]; - bVar18 = bVar3 < pbVar15[1]; - if (bVar3 != pbVar15[1]) goto code_r0x00448502; - pbVar9 = pbVar9 + 2; - pbVar15 = pbVar15 + 2; - } while (bVar3 != 0); - uVar4 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar17 = bVar2 < pbVar14[1]; + if (bVar2 != pbVar14[1]) goto code_r0x00448502; + pbVar8 = pbVar8 + 2; + pbVar14 = pbVar14 + 2; + } while (bVar2 != 0); + uVar3 = 0; code_r0x00448507: - if ((uVar4 != 0) || ((pbVar10[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) + if ((uVar3 != 0) || ((pbVar9[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) goto code_r0x00448520; } if (npc->_i1 == 0) { - fVar20 = (npc->_velocity).x - (npc->_speedMultiplier + npc->_speedMultiplier); - if (fVar20 <= -15.0) { - fVar20 = -15.0; + fVar19 = (npc->_velocity).x - (npc->_speedMultiplier + npc->_speedMultiplier); + if (fVar19 <= -15.0) { + fVar19 = -15.0; } - if (15.0 <= fVar20) { - fVar20 = 15.0; + if (15.0 <= fVar19) { + fVar19 = 15.0; } - (npc->_velocity).x = fVar20; - fVar20 = *(float *)((int)local_1d8 + 0x1c) + 40.0; - if ((npc->_pos).x <= fVar20 && fVar20 != (npc->_pos).x) { + (npc->_velocity).x = fVar19; + fVar19 = *(float *)((int)local_1d8 + 0x1c) + 40.0; + if ((npc->_pos).x <= fVar19 && fVar19 != (npc->_pos).x) { npc->_i1 = 1; return; } } else { npc->_friction = npc->_friction * 0.95; - fVar20 = (npc->_velocity).y; - fVar21 = (npc->_velocity).x; - fVar20 = fVar21 * fVar21 + fVar20 * fVar20; + fVar19 = (npc->_velocity).y; + fVar20 = (npc->_velocity).x; + fVar19 = fVar20 * fVar20 + fVar19 * fVar19; sqrtf(); - if (fVar20 < 8.0) { + if (fVar19 < 8.0) { npc->_state = 3; npc->_i1 = 0; return; @@ -54463,8 +54522,6 @@ void __fastcall NpcAI::ENTITY_BEAST_pestilence_fly(Entity_NPC *npc) float fVar17; float fVar18; RNG local_50; - undefined8 local_4c; - float local_44; float local_40; float local_3c; float local_38; @@ -54512,8 +54569,8 @@ void __fastcall NpcAI::ENTITY_BEAST_pestilence_fly(Entity_NPC *npc) else { iVar9 = npc->_state; if (iVar9 == 0) { - local_44 = 4.2039e-45; - piVar11 = (int *)&local_44; + local_50._shift3 = 3; + piVar11 = &local_50._shift3; if ((uint)npc->_subtype < 3) { piVar11 = &npc->_subtype; } @@ -54523,9 +54580,9 @@ void __fastcall NpcAI::ENTITY_BEAST_pestilence_fly(Entity_NPC *npc) fVar18 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 3.14; fVar18 = fVar18 + fVar18; - local_44 = fVar18; + local_50._shift3 = (int)fVar18; cos(); - fVar14 = local_44; + fVar14 = (float)local_50._shift3; local_3c = fVar18; sin(); (npc->_targetPosition).x = local_3c; @@ -54566,13 +54623,13 @@ void __fastcall NpcAI::ENTITY_BEAST_pestilence_fly(Entity_NPC *npc) fVar14 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 3.14; fVar14 = fVar14 + fVar14; - local_44 = fVar14; + local_50._shift3 = (int)fVar14; cos(); local_3c = fVar14 * 40.0 + (npc->_pos).x; sin(); fVar14 = (npc->_pos).y; (npc->_v2).x = local_3c; - (npc->_v2).y = local_44 * 40.0 + fVar14; + (npc->_v2).y = (float)local_50._shift3 * 40.0 + fVar14; } else if (iVar9 == 3) { EVar5 = npc->_parent; @@ -54580,7 +54637,7 @@ void __fastcall NpcAI::ENTITY_BEAST_pestilence_fly(Entity_NPC *npc) if (EVar5 == (EntityPtr)0x0) { uVar8 = Random(); if ((uVar8 & 0xf) == 0) { - pfVar10 = (float *)MusicManager::RandomVector((int)&local_4c + 4); + pfVar10 = (float *)MusicManager::RandomVector(&local_50._shift2); fVar18 = pfVar10[1]; fVar14 = *pfVar10 * 40.0 + (npc->_pos).x; fVar17 = (npc->_pos).y; @@ -54592,13 +54649,14 @@ void __fastcall NpcAI::ENTITY_BEAST_pestilence_fly(Entity_NPC *npc) } local_40 = (npc->_targetPosition).y; local_3c = (npc->_targetPosition).x; - local_44 = (((npc->_v2).y - (npc->_pos).y) * local_40 + (fVar14 - (npc->_pos).x) * local_3c) - * 0.005; - if (local_44 <= 1.0) { - local_44 = 1.0; + local_50._shift3 = + (int)((((npc->_v2).y - (npc->_pos).y) * local_40 + (fVar14 - (npc->_pos).x) * local_3c) + * 0.005); + if ((float)local_50._shift3 <= 1.0) { + local_50._shift3 = 0x3f800000; } - if (2.0 <= local_44) { - local_44 = 2.0; + if (2.0 <= (float)local_50._shift3) { + local_50._shift3 = 0x40000000; } iVar9 = Random(); fVar14 = npc->_friction; @@ -54606,12 +54664,12 @@ void __fastcall NpcAI::ENTITY_BEAST_pestilence_fly(Entity_NPC *npc) 0.0; if (fVar14 != 0.0) { fVar17 = npc->_speedMultiplier; - (npc->_velocity).x = (local_3c * local_44 * fVar18 * fVar17) / fVar14 + (npc->_velocity).x - ; - (npc->_velocity).y = (local_40 * local_44 * fVar18 * fVar17) / fVar14 + (npc->_velocity).y - ; + (npc->_velocity).x = + (local_3c * (float)local_50._shift3 * fVar18 * fVar17) / fVar14 + (npc->_velocity).x; + (npc->_velocity).y = + (local_40 * (float)local_50._shift3 * fVar18 * fVar17) / fVar14 + (npc->_velocity).y; } - pfVar10 = (float *)MusicManager::RandomVector((int)&local_4c + 4); + pfVar10 = (float *)MusicManager::RandomVector(&local_50._shift2); fVar14 = npc->_speedMultiplier; fVar18 = pfVar10[1]; fVar17 = (npc->_v2).y; @@ -54625,13 +54683,14 @@ void __fastcall NpcAI::ENTITY_BEAST_pestilence_fly(Entity_NPC *npc) fVar18 = *(float *)((int)EVar5 + 0x33c); local_40 = (npc->_targetPosition).y; local_3c = (npc->_targetPosition).x; - local_44 = ((local_38 - (npc->_pos).y) * local_40 + (fVar18 - (npc->_pos).x) * local_3c) * - 0.01; - if (local_44 <= 1.0) { - local_44 = 1.0; + local_50._shift3 = + (int)(((local_38 - (npc->_pos).y) * local_40 + (fVar18 - (npc->_pos).x) * local_3c) * + 0.01); + if ((float)local_50._shift3 <= 1.0) { + local_50._shift3 = 0x3f800000; } - if (4.0 <= local_44) { - local_44 = 4.0; + if (4.0 <= (float)local_50._shift3) { + local_50._shift3 = 0x40800000; } iVar9 = Random(); fVar17 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * @@ -54639,12 +54698,12 @@ void __fastcall NpcAI::ENTITY_BEAST_pestilence_fly(Entity_NPC *npc) fVar14 = npc->_friction; if (fVar14 != 0.0) { fVar15 = npc->_speedMultiplier; - (npc->_velocity).x = (local_3c * local_44 * fVar17 * fVar15) / fVar14 + (npc->_velocity).x - ; - (npc->_velocity).y = (local_40 * local_44 * fVar17 * fVar15) / fVar14 + (npc->_velocity).y - ; + (npc->_velocity).x = + (local_3c * (float)local_50._shift3 * fVar17 * fVar15) / fVar14 + (npc->_velocity).x; + (npc->_velocity).y = + (local_40 * (float)local_50._shift3 * fVar17 * fVar15) / fVar14 + (npc->_velocity).y; } - pfVar10 = (float *)MusicManager::RandomVector((int)&local_4c + 4); + pfVar10 = (float *)MusicManager::RandomVector(&local_50._shift2); fVar14 = npc->_speedMultiplier; fVar17 = pfVar10[1]; (npc->_targetPosition).x = @@ -54687,10 +54746,10 @@ void __fastcall NpcAI::ENTITY_BEAST_pestilence_fly(Entity_NPC *npc) npc->_state = 3; npc->_entityCollisionClass = 4; npc->_isInvicible = 0; - pfVar10 = (float *)Vector::Normalized((int)&local_4c + 4); + pfVar10 = (float *)Vector::Normalized(&local_50._shift2); (npc->_targetPosition).x = *pfVar10; (npc->_targetPosition).y = pfVar10[1]; - pfVar10 = (float *)MusicManager::RandomVector((int)&local_4c + 4); + pfVar10 = (float *)MusicManager::RandomVector(&local_50._shift2); fVar14 = *pfVar10; fVar18 = pfVar10[1]; fVar17 = (npc->_pos).x; @@ -54700,9 +54759,10 @@ void __fastcall NpcAI::ENTITY_BEAST_pestilence_fly(Entity_NPC *npc) (npc->_v2).y = fVar18 * 40.0 + fVar15; return; } - local_50 = (RNG)npc->_initSeed; - local_4c = 0x900000005; - local_44 = 9.80909e-45; + local_50._seed = npc->_initSeed; + local_50._shift1 = 5; + local_50._shift2 = 9; + local_50._shift3 = 7; fVar14 = RNG::RandomFloat(&local_50); local_38 = fVar14 * 8.0 - 4.0; fVar14 = local_38 * npc->_speedMultiplier + (npc->_v2).x; @@ -54721,7 +54781,7 @@ void __fastcall NpcAI::ENTITY_BEAST_pestilence_fly(Entity_NPC *npc) local_40 = fVar17 * (npc->_v1).y; fVar17 = local_38; sin(); - local_44 = fVar17 * (npc->_v1).y; + local_50._shift3 = (int)(fVar17 * (npc->_v1).y); iVar4 = npc->_stateFrame; iVar9 = ((int)npc->_updateTime - (int)npc->_prevUpdateTime) + iVar4; npc->_stateFrame = iVar9; @@ -54744,7 +54804,7 @@ void __fastcall NpcAI::ENTITY_BEAST_pestilence_fly(Entity_NPC *npc) fVar3 = (npc->_pos).y; npc->_friction = 1.0; (npc->_velocity).x = (local_38 * fVar18 * fVar14 + fVar15 + fVar17 * local_40) - fVar2; - (npc->_velocity).y = (local_38 * local_3c + fVar1 + fVar17 * local_44) - fVar3; + (npc->_velocity).y = (local_38 * local_3c + fVar1 + fVar17 * (float)local_50._shift3) - fVar3; ANM2::GetLayer(&npc->_sprite,(byte *)0x0); Color::operator_assign(iVar9); return; @@ -54786,10 +54846,7 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_pestilence_fly_ball(Entity_NPC *npc) Entity_NPC *pEVar22; float fVar23; double dVar24; - undefined1 local_74 [28]; - float local_58; - uint local_54; - Entity_NPC *local_50; + EntityRef local_74; undefined1 local_4c [4]; Entity_NPC *local_48; float local_44; @@ -54832,17 +54889,17 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_pestilence_fly_ball(Entity_NPC *npc) puStack_20 = local_4c + 0x48; uVar10 = EntityRef::EntityRef(uVar8); (**(code **)(*(int *)npc + 0x20))(0x41200000,2,0,uVar10); - local_74._0_4_ = 0; - local_74._4_4_ = 0; - local_74._8_4_ = 0; - local_74._12_4_ = 0; - local_74._16_4_ = g_vectorZero.x; - local_74._20_4_ = g_vectorZero.y; - local_74._24_4_ = g_vectorZero.x; - local_58 = g_vectorZero.y; - local_54 = 0; - local_50 = (Entity_NPC *)0x0; - Entity::AddBurn((Entity *)npc,(EntityRef *)local_74,0x5a,0.0,0); + local_74._type = 0; + local_74._variant = 0; + local_74._spawnerType = 0; + local_74._spawnerVariant = 0; + local_74._position.x = g_vectorZero.x; + local_74._position.y = g_vectorZero.y; + local_74._velocity.x = g_vectorZero.x; + local_74._velocity.y = g_vectorZero.y; + local_74._flags = 0; + local_74._entity = (Entity_NPC *)0x0; + Entity::AddBurn((Entity *)npc,&local_74,0x5a,0.0,0); } } } @@ -54863,15 +54920,15 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_pestilence_fly_ball(Entity_NPC *npc) ((npc->_entityDeque)._mapSize - 1 & uVar8 >> 2) * 4) + (uVar8 & 3) * 4); if (local_2c != (int *)0x0) { - local_74._16_4_ = (npc->_pos).x; - local_74._20_4_ = (npc->_pos).y; + local_74._position.x = (npc->_pos).x; + local_74._position.y = (npc->_pos).y; local_30 = *(code **)(*local_2c + 0x24); - local_74._0_4_ = npc->_type; - local_74._4_4_ = npc->_variant; - local_74._8_4_ = npc->_spawnerType; - local_74._12_4_ = npc->_spawnerVariant; - local_74._24_4_ = (npc->_velocity).x; - local_58 = (npc->_velocity).y; + local_74._type = npc->_type; + local_74._variant = npc->_variant; + local_74._spawnerType = npc->_spawnerType; + local_74._spawnerVariant = npc->_spawnerVariant; + local_74._velocity.x = (npc->_velocity).x; + local_74._velocity.y = (npc->_velocity).y; local_28 = (Entity_NPC *)(uint)((npc->_flags & 0x100) != 0); if ((npc->_flags & 0x20000000) == 0) { uVar8 = 0; @@ -54885,8 +54942,8 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_pestilence_fly_ball(Entity_NPC *npc) else { uVar9 = 4; } - local_54 = uVar9 | uVar8 | (uint)local_28; - local_50 = npc; + local_74._flags = uVar9 | uVar8 | (uint)local_28; + local_74._entity = npc; (*local_30)(); } pcVar4 = (code *)(npc->_entityDeque)._offset; @@ -55632,36 +55689,35 @@ LAB_0044c04e: void __fastcall NpcAI::ENTITY_BEAST_ultra_war(Entity_NPC *npc) { - uint *puVar1; - void *pvVar2; - EntityPtr EVar3; - Game *pGVar4; - Manager *pMVar5; - byte bVar6; - char cVar7; + void *pvVar1; + EntityPtr EVar2; + Game *pGVar3; + Manager *pMVar4; + byte bVar5; + char cVar6; ColorMod *Color; - int iVar8; - undefined4 uVar9; - int *piVar10; + int iVar7; + undefined4 uVar8; + int *piVar9; + uint uVar10; uint uVar11; - uint uVar12; - Entity *pEVar13; - float *pfVar14; - LayerState *pLVar15; - int iVar16; + Entity *pEVar12; + float *pfVar13; + LayerState *pLVar14; + int iVar15; undefined4 extraout_ECX; - Entity **ppEVar17; - Vector *pVVar18; - undefined1 *puVar19; - bool bVar20; - float10 fVar21; - float fVar22; - Entity *pEVar23; - float fVar24; - Entity *pEVar25; - Room *pRVar26; + Entity **ppEVar16; + Vector *pVVar17; + undefined1 *puVar18; + bool bVar19; + float10 fVar20; + float fVar21; + Entity *pEVar22; + float fVar23; + Entity *pEVar24; + Room *pRVar25; + float fVar26; float fVar27; - float fVar28; Entity *local_160; float fStack_15c; Entity *local_158; @@ -55703,20 +55759,20 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_war(Entity_NPC *npc) local_c = __security_cookie ^ (uint)&local_160; local_140 = (float)((int)npc->_updateTime - (int)npc->_prevUpdateTime); local_14c = g_game->_room; - iVar8 = npc->_state; + iVar7 = npc->_state; if (npc->_aiCallPhase == 1) { - if (iVar8 != 0x12) { + if (iVar7 != 0x12) { return; } - fVar22 = npc->_speedMultiplier; + fVar21 = npc->_speedMultiplier; npc->_friction = 0.8; - (npc->_velocity).y = fVar22 * 0.4 + (npc->_velocity).y; - (npc->_velocity).x = fVar22 * 0.0 + (npc->_velocity).x; + (npc->_velocity).y = fVar21 * 0.4 + (npc->_velocity).y; + (npc->_velocity).x = fVar21 * 0.0 + (npc->_velocity).x; if ((npc->_sprite)._animState._animData == (void *)0x0) { return; } - bVar6 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Explosion"); - if (bVar6 == 0) { + bVar5 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Explosion"); + if (bVar5 == 0) { return; } Color = (ColorMod *)::Color::Color(); @@ -55725,47 +55781,47 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_war(Entity_NPC *npc) 0,4,0); local_148 = 0.0; do { - fVar22 = local_148; - iVar8 = Random(); - local_140 = ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 - * 0.8 + ((float)(int)fVar22 - 0.4)) * 36.0 * 0.017453292; - uVar9 = Random(); - iVar8 = Random(); + fVar21 = local_148; + iVar7 = Random(); + local_140 = ((float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 + * 0.8 + ((float)(int)fVar21 - 0.4)) * 36.0 * 0.017453292; + uVar8 = Random(); + iVar7 = Random(); local_134 = (Entity *) - ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 + ((float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 5.0 + 10.0); - fVar22 = local_140; + fVar21 = local_140; cos(); - local_154 = (Entity *)(fVar22 * (float)local_134); - fVar22 = local_140; + local_154 = (Entity *)(fVar21 * (float)local_134); + fVar21 = local_140; sin(); - local_150 = fVar22 * (float)local_134; - piVar10 = (int *)Game::SpawnEx(g_game,1000,0x3b,&npc->_pos,&local_154,npc,0,uVar9,0); - iVar8 = Random(); - piVar10[0x11d] = - (int)((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * + local_150 = fVar21 * (float)local_134; + piVar9 = (int *)Game::SpawnEx(g_game,1000,0x3b,&npc->_pos,&local_154,npc,0,uVar8,0); + iVar7 = Random(); + piVar9[0x11d] = + (int)((float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 10.0 + 2.0); - uVar11 = Random(); + uVar10 = Random(); local_c4 = 0; local_c0 = (Entity_NPC *)0x0; - iVar8 = uVar11 % 0xf + 0xf; + iVar7 = uVar10 % 0xf + 0xf; local_bc = 0; - piVar10[0x117] = iVar8; + piVar9[0x117] = iVar7; local_d4 = 0.0; fStack_d0 = 0.0; fStack_cc = 0.0; fStack_c8 = 0.0; - piVar10[0x118] = iVar8; + piVar9[0x118] = iVar7; local_e4 = 0x3f4ccccd; iStack_e0 = 0x3f2e147b; iStack_dc = 0x3f266666; iStack_d8 = 0x3f19999a; - (**(code **)(*piVar10 + 0x3c))(&local_e4,0xffffffff,0xff,0,1); - fVar22 = g_vectorOne.y; - fVar24 = g_vectorOne.x * 2.0; - piVar10[0xd5] = -600; - piVar10[0x39] = (int)fVar24; - piVar10[0x3a] = (int)(fVar22 * 2.0); + (**(code **)(*piVar9 + 0x3c))(&local_e4,0xffffffff,0xff,0,1); + fVar21 = g_vectorOne.y; + fVar23 = g_vectorOne.x * 2.0; + piVar9[0xd5] = -600; + piVar9[0x39] = (int)fVar23; + piVar9[0x3a] = (int)(fVar21 * 2.0); local_148 = (float)((int)local_148 + 1); } while ((int)local_148 < 10); local_e4 = 0x3f800000; @@ -55781,65 +55837,65 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_war(Entity_NPC *npc) local_bc = 0; Entity::MakeGroundPoof((Entity *)npc,&npc->_pos,&local_e4); Game::ShakeScreen(g_game,0x32); - pGVar4 = g_game; + pGVar3 = g_game; g_game->_bloomDuration = 6; - pGVar4->_bloomTimer = 6; - pGVar4->_bloomStrength = 1.0; + pGVar3->_bloomTimer = 6; + pGVar3->_bloomStrength = 1.0; local_160 = (Entity *)(npc->_pos).x; local_140 = (npc->_pos).y; - pvVar2 = pGVar4->_room; - *(int *)((int)pvVar2 + 0x70fc) = *(int *)((int)pvVar2 + 0x70fc) + 1; - uVar11 = *(uint *)((int)pvVar2 + 0x70fc) & 0x80000001; - if ((int)uVar11 < 0) { - uVar11 = (uVar11 - 1 | 0xfffffffe) + 1; + pvVar1 = pGVar3->_room; + *(int *)((int)pvVar1 + 0x70fc) = *(int *)((int)pvVar1 + 0x70fc) + 1; + uVar10 = *(uint *)((int)pvVar1 + 0x70fc) & 0x80000001; + if ((int)uVar10 < 0) { + uVar10 = (uVar10 - 1 | 0xfffffffe) + 1; } - if (1 < uVar11) { + if (1 < uVar10) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Shockwave id is too large!"); } - iVar8 = uVar11 + 0x407; - *(Entity **)((int)pvVar2 + iVar8 * 0x1c) = local_160; - *(float *)((int)pvVar2 + iVar8 * 0x1c + 4) = local_140; - *(undefined4 *)((int)pvVar2 + iVar8 * 0x1c + 8) = 0; - *(undefined4 *)((int)pvVar2 + iVar8 * 0x1c + 0xc) = 0x3f000000; - *(undefined4 *)((int)pvVar2 + iVar8 * 0x1c + 0x10) = 0x3d8f5c29; - *(undefined4 *)((int)pvVar2 + iVar8 * 0x1c + 0x14) = 0; - *(undefined4 *)((int)pvVar2 + iVar8 * 0x1c + 0x18) = 0x14; + iVar7 = uVar10 + 0x407; + *(Entity **)((int)pvVar1 + iVar7 * 0x1c) = local_160; + *(float *)((int)pvVar1 + iVar7 * 0x1c + 4) = local_140; + *(undefined4 *)((int)pvVar1 + iVar7 * 0x1c + 8) = 0; + *(undefined4 *)((int)pvVar1 + iVar7 * 0x1c + 0xc) = 0x3f000000; + *(undefined4 *)((int)pvVar1 + iVar7 * 0x1c + 0x10) = 0x3d8f5c29; + *(undefined4 *)((int)pvVar1 + iVar7 * 0x1c + 0x14) = 0; + *(undefined4 *)((int)pvVar1 + iVar7 * 0x1c + 0x18) = 0x14; return; } - if ((((((iVar8 == 0x10) || (iVar8 == 4)) || (iVar8 == 6)) || ((iVar8 == 7 || (iVar8 == 0xd)))) || - (iVar8 == 10)) || (iVar8 == 5)) { + if ((((((iVar7 == 0x10) || (iVar7 == 4)) || (iVar7 == 6)) || ((iVar7 == 7 || (iVar7 == 0xd)))) || + (iVar7 == 10)) || (iVar7 == 5)) { local_135 = '\x01'; LAB_0044c6df: - pMVar5 = g_manager; + pMVar4 = g_manager; if (npc->_dead != 0) { local_134 = (Entity *)0x2a8; seed_fart_sound_override(); - SoundEffects::Play(&pMVar5->_sfxManager,(int)local_134,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar4->_sfxManager,(int)local_134,1.0,2,0,1.0,0.0); } } else { - fVar22 = npc->_maxHitPoints * 0.5; + fVar21 = npc->_maxHitPoints * 0.5; local_135 = '\0'; - if (((fVar22 < npc->_health || fVar22 == npc->_health) || (npc->_pendingDamage <= 0.0)) || - (cVar7 = Room::IsPositionInRoom(local_14c,&npc->_pos,0), cVar7 == '\0')) goto LAB_0044c6df; + if (((fVar21 < npc->_health || fVar21 == npc->_health) || (npc->_pendingDamage <= 0.0)) || + (cVar6 = Room::IsPositionInRoom(local_14c,&npc->_pos,0), cVar6 == '\0')) goto LAB_0044c6df; npc->_state = 0x10; ANM2::Play(&npc->_sprite,(byte *)"Transition",0); - uVar11 = 0; + uVar10 = 0; npc->_entityCollisionClass = 0; if ((local_14c->_entityList)._updateEL._size != 0) { do { - piVar10 = *(int **)((int)(local_14c->_entityList)._updateEL._data + uVar11 * 4); - iVar8 = piVar10[10]; - if (iVar8 == 9) { - *(undefined1 *)((int)piVar10 + 0x173) = 1; + piVar9 = *(int **)((int)(local_14c->_entityList)._updateEL._data + uVar10 * 4); + iVar7 = piVar9[10]; + if (iVar7 == 9) { + *(undefined1 *)((int)piVar9 + 0x173) = 1; } - else if ((((1 < *(int *)&g_game->_deathmatchManager) && (iVar8 == 1)) || - (iVar8 - 10U < 0x3de)) && - ((*(char *)((int)piVar10 + 0x173) == '\0' && (piVar10[0xd] == 0x3b7)))) { + else if ((((1 < *(int *)&g_game->_deathmatchManager) && (iVar7 == 1)) || + (iVar7 - 10U < 0x3de)) && + ((*(char *)((int)piVar9 + 0x173) == '\0' && (piVar9[0xd] == 0x3b7)))) { local_d4 = (npc->_pos).x; fStack_d0 = (npc->_pos).y; - local_144 = *(code **)(*piVar10 + 0x24); + local_144 = *(code **)(*piVar9 + 0x24); local_e4 = npc->_type; iStack_e0 = npc->_variant; iStack_dc = npc->_spawnerType; @@ -55852,25 +55908,25 @@ LAB_0044c6df: local_134 = (Entity *)0x0; } if ((npc->_flags & 0x40000000000000) == 0) { - uVar12 = 0; + uVar11 = 0; } else { - uVar12 = 4; + uVar11 = 4; } - local_c4 = uVar12 | (uint)local_134 | (uint)local_148; + local_c4 = uVar11 | (uint)local_134 | (uint)local_148; local_c0 = npc; (*local_144)(&local_e4); } - uVar11 = uVar11 + 1; - } while (uVar11 < (uint)(local_14c->_entityList)._updateEL._size); + uVar10 = uVar10 + 1; + } while (uVar10 < (uint)(local_14c->_entityList)._updateEL._size); } } local_144 = (code *)(local_14c->_topLeftPos).x; - fVar22 = (float)((int)npc->_updateTime - (int)npc->_prevUpdateTime); + fVar21 = (float)((int)npc->_updateTime - (int)npc->_prevUpdateTime); local_134 = (Entity *)(local_14c->_topLeftPos).y; local_120 = (Entity *)(local_14c->_bottomRightPos).x; local_14c = (Room *)(local_14c->_bottomRightPos).y; - local_148 = fVar22; + local_148 = fVar21; switch(npc->_state) { case 0: npc->_state = 3; @@ -55878,38 +55934,37 @@ LAB_0044c6df: (npc->_targetPosition).y = (npc->_pos).y; (npc->_pathfinder)._movementTarget.x = (npc->_pos).x; (npc->_pathfinder)._movementTarget.y = (npc->_pos).y; - pfVar14 = (float *)MusicManager::RandomVector(&local_12c); - pMVar5 = g_manager; - fVar22 = pfVar14[1]; - fVar24 = *pfVar14; - uVar9 = *(undefined4 *)((int)&npc->_flags + 4); + pfVar13 = (float *)MusicManager::RandomVector(&local_12c); + pMVar4 = g_manager; + fVar21 = pfVar13[1]; + fVar23 = *pfVar13; + uVar8 = *(undefined4 *)((int)&npc->_flags + 4); *(uint *)&npc->_flags = (uint)npc->_flags | 0x44000000; - (npc->_pathfinder)._moveDirection.x = fVar24; - (npc->_pathfinder)._moveDirection.y = fVar22 * 0.5; + (npc->_pathfinder)._moveDirection.x = fVar23; + (npc->_pathfinder)._moveDirection.y = fVar21 * 0.5; (npc->_pathfinder)._moveCountdown = 0; - *(undefined4 *)((int)&npc->_flags + 4) = uVar9; + *(undefined4 *)((int)&npc->_flags + 4) = uVar8; npc->_aiCallFlags = 1; npc->_stateFrame = 0; npc->_i1 = 0; - *(undefined4 *)((int)&pMVar5->_optionsConfig + *(int *)&pMVar5->_musicManager * 0x184 + -0x210) - = 0; - puVar1 = (uint *)((int)&pMVar5->_optionsConfig + *(int *)&pMVar5->_musicManager * 0x184 + -0x210 - ); - *puVar1 = *puVar1 | 2; + (pMVar4->_musicManager)._channels[(pMVar4->_musicManager)._currentChannel]._enabledLayers = 0; + piVar9 = &(pMVar4->_musicManager)._channels[(pMVar4->_musicManager)._currentChannel]. + _enabledLayers; + *piVar9 = *piVar9 | 2; break; case 3: ANM2::Play(&npc->_sprite,s_Idle,0); - fVar22 = npc->_speedMultiplier; - pVVar18 = &(npc->_pathfinder)._moveDirection; + fVar21 = npc->_speedMultiplier; + pVVar17 = &(npc->_pathfinder)._moveDirection; npc->_friction = 0.8; - fVar24 = (npc->_pathfinder)._moveDirection.y; - (npc->_velocity).x = pVVar18->x * 0.55 * fVar22 + (npc->_velocity).x; - (npc->_velocity).y = fVar24 * 0.55 * fVar22 + (npc->_velocity).y; + fVar23 = (npc->_pathfinder)._moveDirection.y; + (npc->_velocity).x = pVVar17->x * 0.55 * fVar21 + (npc->_velocity).x; + (npc->_velocity).y = fVar23 * 0.55 * fVar21 + (npc->_velocity).y; local_160 = Entity_NPC::GetPlayerTarget(npc); - iVar8 = (npc->_pathfinder)._moveCountdown; - if (iVar8 < 1) { - uVar11 = Random(); - (npc->_pathfinder)._moveCountdown = uVar11 % 0x14 + 0x14; + iVar7 = (npc->_pathfinder)._moveCountdown; + if (iVar7 < 1) { + uVar10 = Random(); + (npc->_pathfinder)._moveCountdown = uVar10 % 0x14 + 0x14; local_158 = (Entity *)(local_160->_pos).x; if ((float)local_158 < (npc->_pos).x || (float)local_158 == (npc->_pos).x) { local_148 = 100.0; @@ -55917,101 +55972,101 @@ LAB_0044c6df: else { local_148 = -100.0; } - iVar8 = Random(); - fVar22 = ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * + iVar7 = Random(); + fVar21 = ((float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 0.003 + 0.01) * npc->_updateTime; sin(); - (npc->_pathfinder)._movementTarget.x = fVar22 * 100.0 + local_148 + (float)local_158; + (npc->_pathfinder)._movementTarget.x = fVar21 * 100.0 + local_148 + (float)local_158; (npc->_pathfinder)._movementTarget.y = (local_160->_pos).y; - pfVar14 = (float *)MusicManager::RandomVector(&local_12c); - fVar22 = pfVar14[1]; - fVar24 = (npc->_pathfinder)._movementTarget.y; - (npc->_pathfinder)._movementTarget.x = *pfVar14 * 20.0 + (npc->_pathfinder)._movementTarget.x; - (npc->_pathfinder)._movementTarget.y = fVar22 * 20.0 + fVar24; + pfVar13 = (float *)MusicManager::RandomVector(&local_12c); + fVar21 = pfVar13[1]; + fVar23 = (npc->_pathfinder)._movementTarget.y; + (npc->_pathfinder)._movementTarget.x = *pfVar13 * 20.0 + (npc->_pathfinder)._movementTarget.x; + (npc->_pathfinder)._movementTarget.y = fVar21 * 20.0 + fVar23; } else { - (npc->_pathfinder)._moveCountdown = iVar8 - (int)local_140; + (npc->_pathfinder)._moveCountdown = iVar7 - (int)local_140; } - fVar22 = (npc->_pos).x; - local_148 = (npc->_pathfinder)._movementTarget.x - fVar22; + fVar21 = (npc->_pos).x; + local_148 = (npc->_pathfinder)._movementTarget.x - fVar21; local_154 = (Entity *)((npc->_pathfinder)._movementTarget.y - (npc->_pos).y); if ((local_148 == g_vectorZero.x) && ((float)local_154 == g_vectorZero.y)) { local_160 = (Entity *)(npc->_pathfinder)._moveDirection.x; } else { - fVar22 = npc->_updateTime * 0.01; + fVar21 = npc->_updateTime * 0.01; sin(); - pEVar23 = (Entity *)(fVar22 * 30.0 * 0.017453292); - local_158 = pEVar23; + pEVar22 = (Entity *)(fVar21 * 30.0 * 0.017453292); + local_158 = pEVar22; cos(); - pEVar25 = local_158; - local_160 = pEVar23; + pEVar24 = local_158; + local_160 = pEVar22; sin(); - fVar27 = (float)local_160 * (float)local_154; - fVar22 = npc->_speedMultiplier; + fVar26 = (float)local_160 * (float)local_154; + fVar21 = npc->_speedMultiplier; local_160 = (Entity *) - (((float)local_160 * local_148 - (float)pEVar25 * (float)local_154) * 0.001 * - fVar22 + pVVar18->x); - fVar24 = (npc->_pathfinder)._moveDirection.y; - pVVar18->x = (float)local_160; + (((float)local_160 * local_148 - (float)pEVar24 * (float)local_154) * 0.001 * + fVar21 + pVVar17->x); + fVar23 = (npc->_pathfinder)._moveDirection.y; + pVVar17->x = (float)local_160; (npc->_pathfinder)._moveDirection.y = - ((float)pEVar25 * local_148 + fVar27) * 0.001 * fVar22 + fVar24; - fVar22 = (npc->_pos).x; + ((float)pEVar24 * local_148 + fVar26) * 0.001 * fVar21 + fVar23; + fVar21 = (npc->_pos).x; } - fVar24 = (float)local_144 + 80.0; - if (fVar22 < fVar24) { + fVar23 = (float)local_144 + 80.0; + if (fVar21 < fVar23) { LAB_0044cbfd: - pEVar25 = (Entity *)((fVar24 - fVar22) * 0.001 + (float)local_160); - pVVar18->x = (float)pEVar25; + pEVar24 = (Entity *)((fVar23 - fVar21) * 0.001 + (float)local_160); + pVVar17->x = (float)pEVar24; } else { - pEVar25 = local_160; - fVar24 = (float)local_120 - 80.0; - if ((float)local_120 - 80.0 < fVar22) goto LAB_0044cbfd; + pEVar24 = local_160; + fVar23 = (float)local_120 - 80.0; + if ((float)local_120 - 80.0 < fVar21) goto LAB_0044cbfd; } - fVar22 = (npc->_pos).y; - if ((float)local_134 + 100.0 <= fVar22) { - if ((float)local_14c - 100.0 < fVar22) { + fVar21 = (npc->_pos).y; + if ((float)local_134 + 100.0 <= fVar21) { + if ((float)local_14c - 100.0 < fVar21) { (npc->_pathfinder)._moveDirection.y = - (((float)local_14c - 100.0) - fVar22) * 0.001 + (npc->_pathfinder)._moveDirection.y; + (((float)local_14c - 100.0) - fVar21) * 0.001 + (npc->_pathfinder)._moveDirection.y; } } else { (npc->_pathfinder)._moveDirection.y = - (((float)local_134 + 100.0) - fVar22) * 0.001 + (npc->_pathfinder)._moveDirection.y; + (((float)local_134 + 100.0) - fVar21) * 0.001 + (npc->_pathfinder)._moveDirection.y; } - fVar22 = (npc->_pathfinder)._moveDirection.y; - fVar22 = fVar22 * fVar22 + (float)pEVar25 * (float)pEVar25; + fVar21 = (npc->_pathfinder)._moveDirection.y; + fVar21 = fVar21 * fVar21 + (float)pEVar24 * (float)pEVar24; sqrtf(); - if (1.0 < fVar22) { + if (1.0 < fVar21) { Vector::Normalize(); } - iVar8 = npc->_stateFrame + (int)local_140; - npc->_stateFrame = iVar8; - if (0x3b < iVar8) { + iVar7 = npc->_stateFrame + (int)local_140; + npc->_stateFrame = iVar7; + if (0x3b < iVar7) { if (npc->_i1 < 3) { ANM2::Play(&npc->_sprite,(byte *)"ThrowBomb",0); - pMVar5 = g_manager; + pMVar4 = g_manager; local_160 = (Entity *)0x2ac; seed_fart_sound_override(); - SoundEffects::Play(&pMVar5->_sfxManager,(int)local_160,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar4->_sfxManager,(int)local_160,1.0,2,0,1.0,0.0); npc->_state = 8; - pEVar25 = Entity_NPC::GetPlayerTarget(npc); - fVar22 = (pEVar25->_pos).x; - (npc->_sprite)._flipX = (npc->_pos).x <= fVar22 && fVar22 != (npc->_pos).x; + pEVar24 = Entity_NPC::GetPlayerTarget(npc); + fVar21 = (pEVar24->_pos).x; + (npc->_sprite)._flipX = (npc->_pos).x <= fVar21 && fVar21 != (npc->_pos).x; npc->_i1 = npc->_i1 + 1; npc->_stateFrame = 0; } else { ANM2::Play(&npc->_sprite,(byte *)"DashStart",0); - pMVar5 = g_manager; + pMVar4 = g_manager; local_160 = (Entity *)0x2a5; seed_fart_sound_override(); - SoundEffects::Play(&pMVar5->_sfxManager,(int)local_160,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar4->_sfxManager,(int)local_160,1.0,2,0,1.0,0.0); npc->_state = 9; - pEVar25 = Entity_NPC::GetPlayerTarget(npc); - fVar22 = (pEVar25->_pos).x; - (npc->_sprite)._flipX = (npc->_pos).x <= fVar22 && fVar22 != (npc->_pos).x; + pEVar24 = Entity_NPC::GetPlayerTarget(npc); + fVar21 = (pEVar24->_pos).x; + (npc->_sprite)._flipX = (npc->_pos).x <= fVar21 && fVar21 != (npc->_pos).x; npc->_i1 = 0; npc->_stateFrame = 0; } @@ -56025,133 +56080,133 @@ LAB_0044cbfd: ANM2::Play(&npc->_sprite,(byte *)"ChaseLoop",0); } if (((npc->_sprite)._animState._animData != (void *)0x0) && - (bVar6 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"), - bVar6 != 0)) { + (bVar5 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"), + bVar5 != 0)) { Entity_NPC::PlaySound(npc,0x2ad,1.0,2,0,1.0); } npc->_friction = npc->_friction * 0.8; if (npc->_state == 6) { - fVar22 = 1.6; + fVar21 = 1.6; } else { - fVar22 = 0.55; + fVar21 = 0.55; } - fVar24 = (npc->_pathfinder)._moveDirection.y; - fVar27 = npc->_speedMultiplier; - (npc->_velocity).x = fVar22 * (npc->_pathfinder)._moveDirection.x * fVar27 + (npc->_velocity).x; - (npc->_velocity).y = fVar24 * fVar22 * fVar27 + (npc->_velocity).y; - pEVar13 = Entity_NPC::GetPlayerTarget(npc); + fVar23 = (npc->_pathfinder)._moveDirection.y; + fVar26 = npc->_speedMultiplier; + (npc->_velocity).x = fVar21 * (npc->_pathfinder)._moveDirection.x * fVar26 + (npc->_velocity).x; + (npc->_velocity).y = fVar23 * fVar21 * fVar26 + (npc->_velocity).y; + pEVar12 = Entity_NPC::GetPlayerTarget(npc); local_148 = (float)npc->_state; - pEVar25 = (Entity *)(pEVar13->_pos).x; - local_160 = (Entity *)(pEVar13->_pos).y; - pEVar23 = local_160; - local_158 = pEVar25; + pEVar24 = (Entity *)(pEVar12->_pos).x; + local_160 = (Entity *)(pEVar12->_pos).y; + pEVar22 = local_160; + local_158 = pEVar24; if (local_148 == 8.40779e-45) { local_14c = (Room *)(((float)local_14c + (float)local_134) * 0.5); if (((float)local_160 <= (float)local_14c) || (0x3b < npc->_stateFrame)) { - fVar22 = (npc->_pos).x; - fVar24 = (npc->_pos).y; - local_154 = (Entity *)((float)pEVar25 - 113.137085); + fVar21 = (npc->_pos).x; + fVar23 = (npc->_pos).y; + local_154 = (Entity *)((float)pEVar24 - 113.137085); local_150 = (float)local_160 - 113.137085; - local_134 = (Entity *)((float)pEVar25 + 113.137085); - fVar28 = fVar22 - (pEVar13->_pos).x; - fVar27 = fVar24 - (pEVar13->_pos).y; - fVar27 = fVar27 * fVar27 + fVar28 * fVar28; - ppEVar17 = &local_154; - if ((fVar22 - (float)local_134) * (fVar22 - (float)local_134) + - (fVar24 - local_150) * (fVar24 - local_150) <= - (fVar22 - (float)local_154) * (fVar22 - (float)local_154) + - (fVar24 - local_150) * (fVar24 - local_150)) { - ppEVar17 = &local_134; + local_134 = (Entity *)((float)pEVar24 + 113.137085); + fVar27 = fVar21 - (pEVar12->_pos).x; + fVar26 = fVar23 - (pEVar12->_pos).y; + fVar26 = fVar26 * fVar26 + fVar27 * fVar27; + ppEVar16 = &local_154; + if ((fVar21 - (float)local_134) * (fVar21 - (float)local_134) + + (fVar23 - local_150) * (fVar23 - local_150) <= + (fVar21 - (float)local_154) * (fVar21 - (float)local_154) + + (fVar23 - local_150) * (fVar23 - local_150)) { + ppEVar16 = &local_134; } fStack_130 = local_150; sqrtf(); - fVar22 = (fVar27 - 160.0) / 180.0; + fVar21 = (fVar26 - 160.0) / 180.0; local_148 = 8.40779e-45; - if (fVar22 <= 0.0) { - fVar22 = 0.0; + if (fVar21 <= 0.0) { + fVar21 = 0.0; } - if (1.0 <= fVar22) { - fVar22 = 1.0; + if (1.0 <= fVar21) { + fVar21 = 1.0; } - pEVar23 = (Entity *)((float)local_160 + ((float)ppEVar17[1] - (float)local_160) * fVar22); - pEVar25 = (Entity *)(((float)*ppEVar17 - (float)local_158) * fVar22 + (float)local_158); + pEVar22 = (Entity *)((float)local_160 + ((float)ppEVar16[1] - (float)local_160) * fVar21); + pEVar24 = (Entity *)(((float)*ppEVar16 - (float)local_158) * fVar21 + (float)local_158); if (npc->_stateFrame < 0x3c) goto LAB_0044db6c; - pRVar26 = local_14c; - if ((float)pEVar23 <= (float)local_14c) { - pRVar26 = (Room *)pEVar23; + pRVar25 = local_14c; + if ((float)pEVar22 <= (float)local_14c) { + pRVar25 = (Room *)pEVar22; } } else { - fVar24 = (npc->_pos).x - (float)pEVar25; - fVar22 = (npc->_pos).y - (float)local_160; - fVar22 = fVar22 * fVar22 + fVar24 * fVar24; - local_154 = pEVar13; + fVar23 = (npc->_pos).x - (float)pEVar24; + fVar21 = (npc->_pos).y - (float)local_160; + fVar21 = fVar21 * fVar21 + fVar23 * fVar23; + local_154 = pEVar12; sqrtf(); - pEVar25 = (Entity *)(fVar22 * 0.1 * (local_154->_velocity).x + (float)local_158); - pRVar26 = (Room *)(fVar22 * 0.1 * (local_154->_velocity).y + (float)local_160); + pEVar24 = (Entity *)(fVar21 * 0.1 * (local_154->_velocity).x + (float)local_158); + pRVar25 = (Room *)(fVar21 * 0.1 * (local_154->_velocity).y + (float)local_160); } local_148 = 8.40779e-45; - pEVar23 = (Entity *)pRVar26; + pEVar22 = (Entity *)pRVar25; } LAB_0044db6c: - pVVar18 = &(npc->_pathfinder)._moveDirection; - local_154 = (Entity *)((float)pEVar25 - (npc->_pos).x); - local_150 = (float)pEVar23 - (npc->_pos).y; - cVar7 = Vector::operator_ne(&g_vectorZero); - if (cVar7 == '\0') { - fVar22 = (npc->_pathfinder)._moveDirection.y; + pVVar17 = &(npc->_pathfinder)._moveDirection; + local_154 = (Entity *)((float)pEVar24 - (npc->_pos).x); + local_150 = (float)pEVar22 - (npc->_pos).y; + cVar6 = Vector::operator_ne(&g_vectorZero); + if (cVar6 == '\0') { + fVar21 = (npc->_pathfinder)._moveDirection.y; } else { - pfVar14 = (float *)Vector::Normalized(&local_12c); + pfVar13 = (float *)Vector::Normalized(&local_12c); if (local_148 == 8.40779e-45) { - fVar24 = 0.8; + fVar23 = 0.8; } else { - fVar24 = 0.1; + fVar23 = 0.1; } - fVar22 = pfVar14[1] * fVar24 * npc->_speedMultiplier + (npc->_pathfinder)._moveDirection.y; - pVVar18->x = fVar24 * *pfVar14 * npc->_speedMultiplier + pVVar18->x; - (npc->_pathfinder)._moveDirection.y = fVar22; + fVar21 = pfVar13[1] * fVar23 * npc->_speedMultiplier + (npc->_pathfinder)._moveDirection.y; + pVVar17->x = fVar23 * *pfVar13 * npc->_speedMultiplier + pVVar17->x; + (npc->_pathfinder)._moveDirection.y = fVar21; } - local_154 = (Entity *)pVVar18->x; - fVar22 = (float)local_154 * (float)local_154 + fVar22 * fVar22; + local_154 = (Entity *)pVVar17->x; + fVar21 = (float)local_154 * (float)local_154 + fVar21 * fVar21; sqrtf(); - if (fVar22 <= 1.0) { - pEVar25 = local_154; + if (fVar21 <= 1.0) { + pEVar24 = local_154; } else { Vector::Normalize(); - pEVar25 = (Entity *)(npc->_pathfinder)._moveDirection.x; + pEVar24 = (Entity *)(npc->_pathfinder)._moveDirection.x; } - (npc->_sprite)._flipX = 0.0 < (float)pEVar25; - iVar8 = npc->_stateFrame + (int)local_140; - npc->_stateFrame = iVar8; + (npc->_sprite)._flipX = 0.0 < (float)pEVar24; + iVar7 = npc->_stateFrame + (int)local_140; + npc->_stateFrame = iVar7; if (npc->_state != 4) { - if (0x59 < iVar8) { - fVar22 = (npc->_pos).x; - if (0.0 < (float)pEVar25) { - fVar24 = (float)local_120 - 150.0; - bVar20 = fVar24 < fVar22; + if (0x59 < iVar7) { + fVar21 = (npc->_pos).x; + if (0.0 < (float)pEVar24) { + fVar23 = (float)local_120 - 150.0; + bVar19 = fVar23 < fVar21; } else { - fVar24 = (float)local_144 + 150.0; - bVar20 = fVar22 < fVar24; + fVar23 = (float)local_144 + 150.0; + bVar19 = fVar21 < fVar23; } - if (!bVar20 && fVar24 != fVar22) { + if (!bVar19 && fVar23 != fVar21) { if (npc->_i1 < 2) { ANM2::Play(&npc->_sprite,(byte *)"LungeShort",0); - pEVar25 = Entity_NPC::GetPlayerTarget(npc); - fVar22 = (pEVar25->_pos).x; - (npc->_sprite)._flipX = (npc->_pos).x <= fVar22 && fVar22 != (npc->_pos).x; + pEVar24 = Entity_NPC::GetPlayerTarget(npc); + fVar21 = (pEVar24->_pos).x; + (npc->_sprite)._flipX = (npc->_pos).x <= fVar21 && fVar21 != (npc->_pos).x; npc->_i1 = npc->_i1 + 1; npc->_state = 7; npc->_stateFrame = 0; } else { ANM2::Play(&npc->_sprite,(byte *)"LungeBomb",0); - fVar22 = ((float)local_120 + (float)local_144) * 0.5; - (npc->_sprite)._flipX = (npc->_pos).x <= fVar22 && fVar22 != (npc->_pos).x; + fVar21 = ((float)local_120 + (float)local_144) * 0.5; + (npc->_sprite)._flipX = (npc->_pos).x <= fVar21 && fVar21 != (npc->_pos).x; npc->_state = 10; npc->_stateFrame = 0; npc->_i1 = 0; @@ -56160,38 +56215,38 @@ LAB_0044db6c: } break; } - if (iVar8 < 0x3c) break; + if (iVar7 < 0x3c) break; goto LAB_0044e4ea; case 5: - pVVar18 = &npc->_v1; + pVVar17 = &npc->_v1; npc->_friction = npc->_friction * 0.6; if (npc->_stateFrame == 2) { - fVar22 = 0.6; + fVar21 = 0.6; Math::timescale_factor(); - (npc->_v1).y = fVar22 * (npc->_v1).y; - pVVar18->x = fVar22 * pVVar18->x; - EVar3 = npc->_child; + (npc->_v1).y = fVar21 * (npc->_v1).y; + pVVar17->x = fVar21 * pVVar17->x; + EVar2 = npc->_child; (npc->_v1).y = npc->_speedMultiplier * 0.3 + (npc->_v1).y; - if ((EVar3 == (EntityPtr)0x0) || (*(int *)((int)EVar3 + 0x410) < 1)) { + if ((EVar2 == (EntityPtr)0x0) || (*(int *)((int)EVar2 + 0x410) < 1)) { Entity::SetChild((Entity *)npc,0); - pGVar4 = g_game; + pGVar3 = g_game; npc->_stateFrame = 3; (npc->_v1).x = 0.0; (npc->_v1).y = -18.0; - (npc->_pos).y = *(float *)((int)pGVar4->_room + 0x20) - 30.0; + (npc->_pos).y = *(float *)((int)pGVar3->_room + 0x20) - 30.0; ANM2::Play(&npc->_sprite,(byte *)"QuickBurst",0); play_sound_with_fart_seed(0x2a3,2,0,0x3f800000); Sprite::SetFrame_1((Sprite *)&npc->_sprite,5); } } else if (npc->_stateFrame == 3) { - Entity::AddVelocity((Entity *)npc,pVVar18,0); - fVar22 = 0.8; + Entity::AddVelocity((Entity *)npc,pVVar17,0); + fVar21 = 0.8; Math::timescale_factor(); - pVVar18->x = fVar22 * pVVar18->x; - (npc->_v1).y = fVar22 * (npc->_v1).y; - cVar7 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); - if (cVar7 != '\0') { + pVVar17->x = fVar21 * pVVar17->x; + (npc->_v1).y = fVar21 * (npc->_v1).y; + cVar6 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); + if (cVar6 != '\0') { ANM2::Play(&npc->_sprite,(byte *)"Float",0); npc->_i1 = 0; npc->_stateFrame = 0; @@ -56199,66 +56254,66 @@ LAB_0044db6c: } } else { - Entity::AddVelocity((Entity *)npc,pVVar18,0); - fVar22 = pVVar18->x; - (npc->_sprite)._flipX = fVar22 < 0.0; - if (((0.0 < fVar22) && ((float)local_120 < npc->_size + (npc->_pos).x)) || - ((fVar22 < 0.0 && ((npc->_pos).x - npc->_size < (float)local_144)))) { + Entity::AddVelocity((Entity *)npc,pVVar17,0); + fVar21 = pVVar17->x; + (npc->_sprite)._flipX = fVar21 < 0.0; + if (((0.0 < fVar21) && ((float)local_120 < npc->_size + (npc->_pos).x)) || + ((fVar21 < 0.0 && ((npc->_pos).x - npc->_size < (float)local_144)))) { Entity_NPC::PlaySound(npc,0x45,1.0,2,0,1.0); (npc->_v1).x = -(npc->_v1).x; - pfVar14 = &(npc->_pos).y; - if (*pfVar14 <= (float)local_134 + 100.0 && (float)local_134 + 100.0 != *pfVar14) { - fVar22 = (npc->_v1).y; + pfVar13 = &(npc->_pos).y; + if (*pfVar13 <= (float)local_134 + 100.0 && (float)local_134 + 100.0 != *pfVar13) { + fVar21 = (npc->_v1).y; npc->_stateFrame = 1; - (npc->_v1).y = fVar22 - 4.0; + (npc->_v1).y = fVar21 - 4.0; } } - iVar8 = Entity::GetIntervalTicks((Entity *)npc); - if (iVar8 != 0) { - uVar9 = Random(); + iVar7 = Entity::GetIntervalTicks((Entity *)npc); + if (iVar7 != 0) { + uVar8 = Random(); local_154 = (Entity *)(npc->_velocity).x; local_158 = (Entity *)(npc->_velocity).y; - pfVar14 = (float *)MusicManager::RandomVector(&local_160); - local_12c.x = *pfVar14 + *pfVar14 + (float)local_154 * 0.2; - local_12c.y = pfVar14[1] + pfVar14[1] + (float)local_158 * 0.2; + pfVar13 = (float *)MusicManager::RandomVector(&local_160); + local_12c.x = *pfVar13 + *pfVar13 + (float)local_154 * 0.2; + local_12c.y = pfVar13[1] + pfVar13[1] + (float)local_158 * 0.2; local_118[0].x = (npc->_pos).x + 0.0; local_118[0].y = (npc->_pos).y - 40.0; - piVar10 = (int *)Game::Spawn(1000,0x3b,local_118,&local_12c,npc,0,uVar9); - iVar8 = Random(); - piVar10[0x11d] = - (int)((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 + piVar9 = (int *)Game::Spawn(1000,0x3b,local_118,&local_12c,npc,0,uVar8); + iVar7 = Random(); + piVar9[0x11d] = + (int)((float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 10.0 + 2.0); - uVar11 = Random(); - iVar8 = uVar11 % 0xf + 0xf; - piVar10[0x117] = iVar8; - piVar10[0x118] = iVar8; - uVar9 = ::Color::Color(0x3f19999a); - (**(code **)(*piVar10 + 0x3c))(uVar9,0xffffffff,0xff,0,1); - fVar22 = g_vectorOne.y; - fVar24 = g_vectorOne.x * 2.0; - piVar10[0xd6] = -0x3f600000; - piVar10[0x39] = (int)fVar24; - piVar10[0x3a] = (int)(fVar22 * 2.0); + uVar10 = Random(); + iVar7 = uVar10 % 0xf + 0xf; + piVar9[0x117] = iVar7; + piVar9[0x118] = iVar7; + uVar8 = ::Color::Color(0x3f19999a); + (**(code **)(*piVar9 + 0x3c))(uVar8,0xffffffff,0xff,0,1); + fVar21 = g_vectorOne.y; + fVar23 = g_vectorOne.x * 2.0; + piVar9[0xd6] = -0x3f600000; + piVar9[0x39] = (int)fVar23; + piVar9[0x3a] = (int)(fVar21 * 2.0); } if (npc->_stateFrame == 1) { - fVar22 = npc->_speedMultiplier; - fVar24 = 0.94; + fVar21 = npc->_speedMultiplier; + fVar23 = 0.94; Math::timescale_factor(); - pGVar4 = g_game; - (npc->_v1).x = fVar24 * (npc->_v1).x; - (npc->_v1).y = fVar22 * 0.5 + (npc->_v1).y; - if ((*(float *)((int)pGVar4->_room + 0x20) - 30.0) + 80.0 < (npc->_pos).y) { + pGVar3 = g_game; + (npc->_v1).x = fVar23 * (npc->_v1).x; + (npc->_v1).y = fVar21 * 0.5 + (npc->_v1).y; + if ((*(float *)((int)pGVar3->_room + 0x20) - 30.0) + 80.0 < (npc->_pos).y) { Entity_NPC::PlaySound(npc,0xe2,1.0,2,0,1.0); Entity_NPC::PlaySound(npc,0x2b0,1.0,2,0,1.0); npc->_stateFrame = 2; - uVar9 = Random(); - piVar10 = (int *)Game::Spawn(0x3b7,0x1f,&npc->_pos,&g_vectorZero,npc,1,uVar9); - piVar10[0x5a] = piVar10[0x5a] & 0xfffffffb; - piVar10[0x5b] = piVar10[0x5b]; - (**(code **)(*piVar10 + 0xc))(); - *(undefined1 *)((int)piVar10 + 0x171) = 0; - (**(code **)(*piVar10 + 0xc))(); - Entity::SetChild((Entity *)npc,piVar10); + uVar8 = Random(); + piVar9 = (int *)Game::Spawn(0x3b7,0x1f,&npc->_pos,&g_vectorZero,npc,1,uVar8); + piVar9[0x5a] = piVar9[0x5a] & 0xfffffffb; + piVar9[0x5b] = piVar9[0x5b]; + (**(code **)(*piVar9 + 0xc))(); + *(undefined1 *)((int)piVar9 + 0x171) = 0; + (**(code **)(*piVar9 + 0xc))(); + Entity::SetChild((Entity *)npc,piVar9); } } } @@ -56267,52 +56322,52 @@ LAB_0044db6c: case 10: npc->_friction = npc->_friction * 0.8; Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Sound"); - cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - if (cVar7 != '\0') { + cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + if (cVar6 != '\0') { Entity_NPC::PlaySound(npc,(npc->_state == 10) + 0x2aa,1.0,2,0,1.0); if ((npc->_sprite)._flipX == 0) { - fVar22 = -15.0; + fVar21 = -15.0; } else { - fVar22 = 15.0; + fVar21 = 15.0; } - (npc->_v1).x = fVar22; + (npc->_v1).x = fVar21; (npc->_v1).y = 12.0; } - cVar7 = ANM2::WasEventTriggered(&npc->_sprite,"Shoot"); - if (cVar7 != '\0') { - fVar22 = npc->_speedMultiplier; - fVar24 = (npc->_v1).y; - (npc->_velocity).x = fVar22 * (npc->_v1).x + (npc->_velocity).x; - fVar27 = 0.7; - (npc->_velocity).y = fVar24 * fVar22 + (npc->_velocity).y; + cVar6 = ANM2::WasEventTriggered(&npc->_sprite,"Shoot"); + if (cVar6 != '\0') { + fVar21 = npc->_speedMultiplier; + fVar23 = (npc->_v1).y; + (npc->_velocity).x = fVar21 * (npc->_v1).x + (npc->_velocity).x; + fVar26 = 0.7; + (npc->_velocity).y = fVar23 * fVar21 + (npc->_velocity).y; Math::timescale_factor(); - (npc->_v1).y = fVar27 * (npc->_v1).y; - (npc->_v1).x = fVar27 * (npc->_v1).x; + (npc->_v1).y = fVar26 * (npc->_v1).y; + (npc->_v1).x = fVar26 * (npc->_v1).x; } if (((npc->_sprite)._animState._animData == (void *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { if (npc->_state == 10) { - uVar9 = Random(); - pfVar14 = (float *)MusicManager::RandomVector(&local_12c); - local_154 = (Entity *)((npc->_pos).x + *pfVar14); - local_150 = pfVar14[1] + (npc->_pos).y; - piVar10 = (int *)Game::Spawn(0x3b7,0x1f,&local_154,&g_vectorZero,npc,2,uVar9); - piVar10[0x5a] = piVar10[0x5a] & 0xfffffffb; - piVar10[0x5b] = piVar10[0x5b]; - (**(code **)(*piVar10 + 0xc))(); - *(undefined1 *)((int)piVar10 + 0x171) = 0; - piVar10[0x104] = 0; - (**(code **)(*piVar10 + 0xc))(); + uVar8 = Random(); + pfVar13 = (float *)MusicManager::RandomVector(&local_12c); + local_154 = (Entity *)((npc->_pos).x + *pfVar13); + local_150 = pfVar13[1] + (npc->_pos).y; + piVar9 = (int *)Game::Spawn(0x3b7,0x1f,&local_154,&g_vectorZero,npc,2,uVar8); + piVar9[0x5a] = piVar9[0x5a] & 0xfffffffb; + piVar9[0x5b] = piVar9[0x5b]; + (**(code **)(*piVar9 + 0xc))(); + *(undefined1 *)((int)piVar9 + 0x171) = 0; + piVar9[0x104] = 0; + (**(code **)(*piVar9 + 0xc))(); npc->_state = 5; ANM2::Play(&npc->_sprite,(byte *)"Knockback",0); if ((npc->_sprite)._flipX == 0) { - fVar22 = 15.0; + fVar21 = 15.0; } else { - fVar22 = -15.0; + fVar21 = -15.0; } - (npc->_v1).x = fVar22; + (npc->_v1).x = fVar21; (npc->_v1).y = -2.0; npc->_stateFrame = 0; } @@ -56326,35 +56381,35 @@ LAB_0044db6c: case 8: npc->_friction = npc->_friction * 0.8; Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Sound"); - cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - pMVar5 = g_manager; - if (cVar7 != '\0') { + cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + pMVar4 = g_manager; + if (cVar6 != '\0') { local_160 = (Entity *)0x2a4; seed_fart_sound_override(); - SoundEffects::Play(&pMVar5->_sfxManager,(int)local_160,1.0,2,0,1.0,0.0); - pMVar5 = g_manager; + SoundEffects::Play(&pMVar4->_sfxManager,(int)local_160,1.0,2,0,1.0,0.0); + pMVar4 = g_manager; local_160 = (Entity *)0x2ae; seed_fart_sound_override(); - SoundEffects::Play(&pMVar5->_sfxManager,(int)local_160,1.0,2,0,1.0,0.0); - pfVar14 = (float *)Entity::GetNullOffset((Entity *)npc,&local_12c,"ShootPos"); - fStack_13c = (npc->_pos).y + pfVar14[1]; - local_140 = (npc->_pos).x + *pfVar14; - pEVar25 = Entity_NPC::GetPlayerTarget(npc); - local_14c = (Room *)((pEVar25->_pos).x - local_140); - local_158 = (Entity *)((pEVar25->_pos).y - fStack_13c); + SoundEffects::Play(&pMVar4->_sfxManager,(int)local_160,1.0,2,0,1.0,0.0); + pfVar13 = (float *)Entity::GetNullOffset((Entity *)npc,&local_12c,"ShootPos"); + fStack_13c = (npc->_pos).y + pfVar13[1]; + local_140 = (npc->_pos).x + *pfVar13; + pEVar24 = Entity_NPC::GetPlayerTarget(npc); + local_14c = (Room *)((pEVar24->_pos).x - local_140); + local_158 = (Entity *)((pEVar24->_pos).y - fStack_13c); bStack_121 = (float)local_14c < 0.0; if ((bool)bStack_121) { local_14c = (Room *)-(float)local_14c; } fStack_15c = -18.0; local_154 = (Entity *)((float)local_14c * -18.0); - fVar22 = (float)local_14c * 0.6 * (float)local_14c * 4.0 * (float)local_158 + + fVar21 = (float)local_14c * 0.6 * (float)local_14c * 4.0 * (float)local_158 + (float)local_154 * (float)local_154; - if (fVar22 <= 0.0) { - fVar22 = 0.0; + if (fVar21 <= 0.0) { + fVar21 = 0.0; } sqrtf(); - local_160 = (Entity *)((fVar22 + (float)local_154) / ((float)local_158 + (float)local_158)); + local_160 = (Entity *)((fVar21 + (float)local_154) / ((float)local_158 + (float)local_158)); if ((float)local_14c <= 0.1) { local_14c = (Room *)0x41f00000; } @@ -56365,29 +56420,29 @@ LAB_0044db6c: local_160 = (Entity *)-(float)local_160; } (npc->_sprite)._flipX = bStack_121 ^ 1; - uVar9 = Random(); - piVar10 = (int *)Game::SpawnEx(g_game,0x3b7,0x1f,&local_140,&local_160,npc,0,uVar9,0); - piVar10[0x5a] = piVar10[0x5a] & 0xfffffffb; - piVar10[0x5b] = piVar10[0x5b]; - if (piVar10[0xef] != 0) { - local_154 = (Entity *)(piVar10 + 0xef); + uVar8 = Random(); + piVar9 = (int *)Game::SpawnEx(g_game,0x3b7,0x1f,&local_140,&local_160,npc,0,uVar8,0); + piVar9[0x5a] = piVar9[0x5a] & 0xfffffffb; + piVar9[0x5b] = piVar9[0x5b]; + if (piVar9[0xef] != 0) { + local_154 = (Entity *)(piVar9 + 0xef); std::multiset::erase(&local_154); } - piVar10[0xef] = (int)npc; - std::multiset::insert(piVar10 + 0xef); - piVar10[0x104] = (int)(float)local_14c + 0xf; - (**(code **)(*piVar10 + 0xc))(); + piVar9[0xef] = (int)npc; + std::multiset::insert(piVar9 + 0xef); + piVar9[0x104] = (int)(float)local_14c + 0xf; + (**(code **)(*piVar9 + 0xc))(); } if ((npc->_sprite)._animState._animData != (void *)0x0) { - bVar6 = (npc->_sprite)._animState._isPlaying; + bVar5 = (npc->_sprite)._animState._isPlaying; joined_r0x0044d76a: - if (bVar6 != 0) break; + if (bVar5 != 0) break; } goto LAB_0044d03a; case 9: - iVar8 = npc->_stateFrame; - if (-1 < iVar8) { - if (iVar8 < 4) { + iVar7 = npc->_stateFrame; + if (-1 < iVar7) { + if (iVar7 < 4) { local_160 = (Entity *)0x42200000; } else { @@ -56398,148 +56453,148 @@ joined_r0x0044d76a: ((npc->_sprite)._animState._isPlaying == 0)) { ANM2::Play(&npc->_sprite,(byte *)"DashLoop",0); } - cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - if (cVar7 != '\0') { + cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + if (cVar6 != '\0') { (npc->_velocity).y = 0.0; } - pvVar2 = (npc->_sprite)._animState._animData; - if (((pvVar2 != (void *)0x0) && (*(char *)((int)pvVar2 + 0x34) != '\0')) || - (cVar7 = ANM2::WasEventTriggered(&npc->_sprite,"Shoot"), cVar7 != '\0')) { + pvVar1 = (npc->_sprite)._animState._animData; + if (((pvVar1 != (void *)0x0) && (*(char *)((int)pvVar1 + 0x34) != '\0')) || + (cVar6 = ANM2::WasEventTriggered(&npc->_sprite,"Shoot"), cVar6 != '\0')) { if ((npc->_sprite)._flipX == 0) { - fVar22 = -10.0; + fVar21 = -10.0; } else { - fVar22 = 10.0; + fVar21 = 10.0; } - pEVar25 = (Entity *)(fVar22 * npc->_speedMultiplier + (npc->_velocity).x); - if ((float)pEVar25 <= -(float)local_160) { - pEVar25 = (Entity *)-(float)local_160; + pEVar24 = (Entity *)(fVar21 * npc->_speedMultiplier + (npc->_velocity).x); + if ((float)pEVar24 <= -(float)local_160) { + pEVar24 = (Entity *)-(float)local_160; } - if ((float)local_160 <= (float)pEVar25) { - pEVar25 = local_160; + if ((float)local_160 <= (float)pEVar24) { + pEVar24 = local_160; } - (npc->_velocity).x = (float)pEVar25; - iVar8 = Entity::GetIntervalTicks((Entity *)npc); - if (iVar8 != 0) { - uVar9 = Random(); + (npc->_velocity).x = (float)pEVar24; + iVar7 = Entity::GetIntervalTicks((Entity *)npc); + if (iVar7 != 0) { + uVar8 = Random(); local_154 = (Entity *)(npc->_velocity).x; local_158 = (Entity *)(npc->_velocity).y; - pfVar14 = (float *)MusicManager::RandomVector(&local_12c); - local_154 = (Entity *)(*pfVar14 + *pfVar14 + (float)local_154 * 0.2); - local_150 = pfVar14[1] + pfVar14[1] + (float)local_158 * 0.2; + pfVar13 = (float *)MusicManager::RandomVector(&local_12c); + local_154 = (Entity *)(*pfVar13 + *pfVar13 + (float)local_154 * 0.2); + local_150 = pfVar13[1] + pfVar13[1] + (float)local_158 * 0.2; local_160 = (Entity *)((npc->_pos).x + 0.0); fStack_15c = (npc->_pos).y - 40.0; - piVar10 = (int *)Game::SpawnEx(g_game,1000,0x3b,&local_160,&local_154,npc,0,uVar9,0); - iVar8 = Random(); - piVar10[0x11d] = - (int)((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * + piVar9 = (int *)Game::SpawnEx(g_game,1000,0x3b,&local_160,&local_154,npc,0,uVar8,0); + iVar7 = Random(); + piVar9[0x11d] = + (int)((float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 10.0 + 2.0); - uVar11 = Random(); - iVar8 = uVar11 % 0xf + 0xf; - piVar10[0x117] = iVar8; - piVar10[0x118] = iVar8; - uVar9 = ::Color::Color(0x3f19999a); - (**(code **)(*piVar10 + 0x3c))(uVar9,0xffffffff,0xff,0,1); - fVar22 = g_vectorOne.y; - fVar24 = g_vectorOne.x * 2.0; - piVar10[0xd6] = -0x3f600000; - piVar10[0x39] = (int)fVar24; - piVar10[0x3a] = (int)(fVar22 * 2.0); + uVar10 = Random(); + iVar7 = uVar10 % 0xf + 0xf; + piVar9[0x117] = iVar7; + piVar9[0x118] = iVar7; + uVar8 = ::Color::Color(0x3f19999a); + (**(code **)(*piVar9 + 0x3c))(uVar8,0xffffffff,0xff,0,1); + fVar21 = g_vectorOne.y; + fVar23 = g_vectorOne.x * 2.0; + piVar9[0xd6] = -0x3f600000; + piVar9[0x39] = (int)fVar23; + piVar9[0x3a] = (int)(fVar21 * 2.0); } } if ((npc->_projectileDelay == 0) && (npc->_stateFrame - 1U < 3)) { - fVar22 = (npc->_pos).x; - fVar24 = (npc->_v1).x; + fVar21 = (npc->_pos).x; + fVar23 = (npc->_v1).x; if ((npc->_sprite)._flipX == 0) { - fVar24 = fVar24 + 60.0; - bVar20 = fVar24 < fVar22; + fVar23 = fVar23 + 60.0; + bVar19 = fVar23 < fVar21; } else { - fVar24 = fVar24 - 60.0; - bVar20 = fVar22 < fVar24; + fVar23 = fVar23 - 60.0; + bVar19 = fVar21 < fVar23; } - if (!bVar20 && fVar22 != fVar24) { + if (!bVar19 && fVar21 != fVar23) { npc->_projectileDelay = 1; - uVar9 = Random(); + uVar8 = Random(); local_154 = (Entity *)((npc->_velocity).x * 0.06); local_150 = -8.0; - piVar10 = (int *)Game::SpawnEx(g_game,0x3b7,0x1f,&npc->_pos,&local_154,npc,1,uVar9,0); - piVar10[0x5a] = piVar10[0x5a] & 0xfffffffb; - piVar10[0x5b] = piVar10[0x5b]; - if (piVar10[0xef] != 0) { - local_154 = (Entity *)(piVar10 + 0xef); + piVar9 = (int *)Game::SpawnEx(g_game,0x3b7,0x1f,&npc->_pos,&local_154,npc,1,uVar8,0); + piVar9[0x5a] = piVar9[0x5a] & 0xfffffffb; + piVar9[0x5b] = piVar9[0x5b]; + if (piVar9[0xef] != 0) { + local_154 = (Entity *)(piVar9 + 0xef); std::multiset::erase(&local_154); } - piVar10[0xef] = (int)npc; - std::multiset::insert(piVar10 + 0xef); - (**(code **)(*piVar10 + 0xc))(); + piVar9[0xef] = (int)npc; + std::multiset::insert(piVar9 + 0xef); + (**(code **)(*piVar9 + 0xc))(); } } - iVar8 = npc->_stateFrame; - if (iVar8 < 4) { - if (iVar8 == 0) { - fVar22 = 180.0; + iVar7 = npc->_stateFrame; + if (iVar7 < 4) { + if (iVar7 == 0) { + fVar21 = 180.0; } else { - fVar22 = 1000.0; - if (iVar8 == 3) { - fVar22 = 3200.0; + fVar21 = 1000.0; + if (iVar7 == 3) { + fVar21 = 3200.0; } } - fVar24 = (npc->_pos).x; + fVar23 = (npc->_pos).x; if ((npc->_sprite)._flipX == 0) { - fVar22 = (float)local_144 - fVar22; - bVar20 = fVar22 < fVar24; + fVar21 = (float)local_144 - fVar21; + bVar19 = fVar21 < fVar23; } else { - fVar22 = fVar22 + (float)local_120; - bVar20 = fVar24 < fVar22; + fVar21 = fVar21 + (float)local_120; + bVar19 = fVar23 < fVar21; } - if (!bVar20 && fVar24 != fVar22) { - npc->_stateFrame = iVar8 + 1; - pMVar5 = g_manager; - if (iVar8 + 1 < 4) { + if (!bVar19 && fVar23 != fVar21) { + npc->_stateFrame = iVar7 + 1; + pMVar4 = g_manager; + if (iVar7 + 1 < 4) { Entity_NPC::PlaySound(npc,0x2a6,1.0,2,0,1.0); Entity_NPC::PlaySound(npc,0x2b1,1.0,2,0,1.0); } else { local_160 = (Entity *)0x2a2; seed_fart_sound_override(); - SoundEffects::Play(&pMVar5->_sfxManager,(int)local_160,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar4->_sfxManager,(int)local_160,1.0,2,0,1.0,0.0); } if ((npc->_sprite)._flipX == 0) { - fVar22 = (float)local_120 + 180.0; + fVar21 = (float)local_120 + 180.0; } else { - fVar22 = (float)local_144 - 180.0; + fVar21 = (float)local_144 - 180.0; } - iVar8 = npc->_stateFrame; - (npc->_pos).x = fVar22; - if (iVar8 - 1U < 3) { - fVar22 = (float)local_14c - 20.0; + iVar7 = npc->_stateFrame; + (npc->_pos).x = fVar21; + if (iVar7 - 1U < 3) { + fVar21 = (float)local_14c - 20.0; } else { - fVar22 = (((float)local_134 + 80.0 + (float)local_14c) - 120.0) * 0.5; + fVar21 = (((float)local_134 + 80.0 + (float)local_14c) - 120.0) * 0.5; } - (npc->_pos).y = fVar22; - if (iVar8 == 1) { - iVar8 = Random(); - fVar22 = (((float)local_120 - 160.0) - ((float)local_144 + 160.0)) * - (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * + (npc->_pos).y = fVar21; + if (iVar7 == 1) { + iVar7 = Random(); + fVar21 = (((float)local_120 - 160.0) - ((float)local_144 + 160.0)) * + (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 + (float)local_144 + 160.0; } else { - iVar8 = Random(); + iVar7 = Random(); local_158 = (Entity *)((npc->_v1).x + 70.0); local_154 = (Entity *) ((((((float)local_120 - 140.0) - ((float)local_144 + 140.0)) * - (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * + (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 + (float)local_144 + 140.0) - (float)local_158) / 140.0); - fVar21 = (float10)roundf(local_154); - local_154 = (Entity *)(float)fVar21; - fVar22 = (float)local_154 * 140.0 + (float)local_158; + fVar20 = (float10)roundf(local_154); + local_154 = (Entity *)(float)fVar20; + fVar21 = (float)local_154 * 140.0 + (float)local_158; } - (npc->_v1).x = fVar22; + (npc->_v1).x = fVar21; local_d4 = 0.0; fStack_d0 = 0.0; fStack_cc = 0.0; @@ -56556,33 +56611,33 @@ joined_r0x0044d76a: } } else { - fVar22 = (npc->_pos).x; + fVar21 = (npc->_pos).x; if ((npc->_sprite)._flipX == 0) { - fVar24 = (float)local_120 - 20.0; - bVar20 = fVar24 < fVar22; + fVar23 = (float)local_120 - 20.0; + bVar19 = fVar23 < fVar21; } else { - fVar24 = (float)local_144 + 20.0; - bVar20 = fVar22 < fVar24; + fVar23 = (float)local_144 + 20.0; + bVar19 = fVar21 < fVar23; } - if (!bVar20 && fVar22 != fVar24) { + if (!bVar19 && fVar21 != fVar23) { ANM2::Play(&npc->_sprite,(byte *)"DashEnd",0); npc->_stateFrame = -1; } } break; } - fVar22 = ((float)iVar8 - -1.0) / -29.0; - npc->_stateFrame = ((int)npc->_prevUpdateTime - (int)npc->_updateTime) + iVar8; - if (fVar22 <= 0.0) { - fVar22 = 0.0; + fVar21 = ((float)iVar7 - -1.0) / -29.0; + npc->_stateFrame = ((int)npc->_prevUpdateTime - (int)npc->_updateTime) + iVar7; + if (fVar21 <= 0.0) { + fVar21 = 0.0; } - if (1.0 <= fVar22) { - fVar22 = 1.0; + if (1.0 <= fVar21) { + fVar21 = 1.0; } - npc->_friction = (1.0 - fVar22 * 0.6) * npc->_friction; + npc->_friction = (1.0 - fVar21 * 0.6) * npc->_friction; if ((npc->_sprite)._animState._animData != (void *)0x0) { - bVar6 = (npc->_sprite)._animState._isPlaying; + bVar5 = (npc->_sprite)._animState._isPlaying; goto joined_r0x0044d76a; } LAB_0044d03a: @@ -56592,79 +56647,79 @@ LAB_0044d03a: break; case 0xd: npc->_friction = npc->_friction * 0.7; - cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - if (cVar7 != '\0') { + cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + if (cVar6 != '\0') { play_sound_with_fart_seed(0x2a9,2,0,0x3f800000); play_sound_with_fart_seed(0x2af,2,0,0x3f800000); ENTITY_BEAST_ultra_war_fire_burst(npc); - pEVar25 = (Entity *)0x3ec90fdb; - puVar19 = (undefined1 *)0x0; + pEVar24 = (Entity *)0x3ec90fdb; + puVar18 = (undefined1 *)0x0; npc->_stateFrame = 1; local_134 = (Entity *)0x0; cos(); - fVar22 = 0.3926991; - local_14c = (Room *)pEVar25; + fVar21 = 0.3926991; + local_14c = (Room *)pEVar24; sin(); - local_144 = (code *)fVar22; + local_144 = (code *)fVar21; do { - pEVar23 = (Entity *)((float)(int)puVar19 * 45.0 * 0.017453292); - local_154 = pEVar23; + pEVar22 = (Entity *)((float)(int)puVar18 * 45.0 * 0.017453292); + local_154 = pEVar22; cos(); - pEVar25 = local_154; - local_158 = pEVar23; + pEVar24 = local_154; + local_158 = pEVar22; sin(); - local_160 = (Entity *)((float)local_158 * 5.0 - (float)pEVar25 * 0.0); - local_140 = (float)pEVar25 * 5.0 + (float)local_158 * 0.0; + local_160 = (Entity *)((float)local_158 * 5.0 - (float)pEVar24 * 0.0); + local_140 = (float)pEVar24 * 5.0 + (float)local_158 * 0.0; local_120 = local_160; pEStack_11c = (Entity *)local_140; - uVar9 = Random(); + uVar8 = Random(); local_118[0].x = (float)local_160 * 4.0 + (npc->_pos).x; local_118[0].y = local_140 * 4.0 + (npc->_pos).y; - piVar10 = (int *)Game::SpawnEx(g_game,0x21,10,local_118,&local_120,npc,0,uVar9,0); - piVar10[0xd5] = -2000; - piVar10[0xe0] = (int)((float)piVar10[0xe1] * 1.2); - (**(code **)(*piVar10 + 0xc))(); - piVar10[0x61] = 0; + piVar9 = (int *)Game::SpawnEx(g_game,0x21,10,local_118,&local_120,npc,0,uVar8,0); + piVar9[0xd5] = -2000; + piVar9[0xe0] = (int)((float)piVar9[0xe1] * 1.2); + (**(code **)(*piVar9 + 0xc))(); + piVar9[0x61] = 0; local_154 = (Entity *) (((float)local_14c * (float)local_160 - (float)local_144 * local_140) * 0.6); local_158 = (Entity *) (((float)local_14c * local_140 + (float)local_144 * (float)local_160) * 0.6); local_120 = local_154; pEStack_11c = local_158; - uVar9 = Random(); + uVar8 = Random(); local_12c.x = (float)local_154 * 4.0 + (npc->_pos).x; local_12c.y = (float)local_158 * 4.0 + (npc->_pos).y; - piVar10 = (int *)Game::SpawnEx(g_game,0x21,10,&local_12c,&local_120,npc,0,uVar9,0); - piVar10[0xd5] = -2000; - piVar10[0xe0] = (int)((float)piVar10[0xe1] * 0.8); - (**(code **)(*piVar10 + 0xc))(); - piVar10[0x61] = 0; - puVar19 = &local_134->field_0x1; - local_134 = (Entity *)puVar19; - } while ((int)puVar19 < 8); - fVar22 = local_148; + piVar9 = (int *)Game::SpawnEx(g_game,0x21,10,&local_12c,&local_120,npc,0,uVar8,0); + piVar9[0xd5] = -2000; + piVar9[0xe0] = (int)((float)piVar9[0xe1] * 0.8); + (**(code **)(*piVar9 + 0xc))(); + piVar9[0x61] = 0; + puVar18 = &local_134->field_0x1; + local_134 = (Entity *)puVar18; + } while ((int)puVar18 < 8); + fVar21 = local_148; } - uVar11 = npc->_stateFrame; - if (0 < (int)uVar11) { - if (0 < (int)fVar22) { + uVar10 = npc->_stateFrame; + if (0 < (int)uVar10) { + if (0 < (int)fVar21) { do { - if ((uVar11 & 1) == 0) { - iVar8 = 0; + if ((uVar10 & 1) == 0) { + iVar7 = 0; do { - pEVar23 = (Entity *)((float)iVar8 * 90.0 * 0.017453292); - local_154 = pEVar23; + pEVar22 = (Entity *)((float)iVar7 * 90.0 * 0.017453292); + local_154 = pEVar22; cos(); - pEVar25 = local_154; - local_158 = pEVar23; + pEVar24 = local_154; + local_158 = pEVar22; sin(); - local_160 = (Entity *)((float)local_158 * 16.0 - (float)pEVar25 * 0.0); - local_140 = (float)pEVar25 * 16.0 + (float)local_158 * 0.0; + local_160 = (Entity *)((float)local_158 * 16.0 - (float)pEVar24 * 0.0); + local_140 = (float)pEVar24 * 16.0 + (float)local_158 * 0.0; ProjectileParams::ProjectileParams((Entity_NPC *)&PStack_b8); PStack_b8.Variant = 2; - iVar16 = Random(); + iVar15 = Random(); PStack_b8.FallingAccelModifier = -0.2; PStack_b8.Scale = - (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 0.4 + 0.7; ::Color::Reset(); PStack_b8.Color._tint[0] = 1.0; @@ -56678,37 +56733,37 @@ LAB_0044d03a: PStack_b8.Color._colorize[3] = fStack_f4; PStack_b8.Color._offset[0] = afStack_f0[0]; PStack_b8.Color._offset[1] = afStack_f0[1]; - iVar16 = Random(); - local_12c.x = (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + iVar15 = Random(); + local_12c.x = (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 0.2 + 0.8; local_12c.y = local_12c.x * local_140; local_12c.x = local_12c.x * (float)local_160; - iVar16 = Random(); - pEVar23 = (Entity *) - (((float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + iVar15 = Random(); + pEVar22 = (Entity *) + (((float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 90.0 - 45.0) * 0.017453292); - local_154 = pEVar23; + local_154 = pEVar22; cos(); - pEVar25 = local_154; - local_158 = pEVar23; + pEVar24 = local_154; + local_158 = pEVar22; sin(); local_118[0].x = - ((float)local_158 * (float)local_160 - (float)pEVar25 * local_140) * 4.0 + + ((float)local_158 * (float)local_160 - (float)pEVar24 * local_140) * 4.0 + (npc->_pos).x; local_118[0].y = - ((float)local_158 * local_140 + (float)pEVar25 * (float)local_160) * 4.0 + + ((float)local_158 * local_140 + (float)pEVar24 * (float)local_160) * 4.0 + (npc->_pos).y; Entity_NPC::FireProjectiles(npc,local_118,&local_12c,0,&PStack_b8); - iVar8 = iVar8 + 1; - } while (iVar8 < 4); - uVar11 = npc->_stateFrame; - fVar22 = local_148; + iVar7 = iVar7 + 1; + } while (iVar7 < 4); + uVar10 = npc->_stateFrame; + fVar21 = local_148; } - uVar11 = uVar11 + 1; - fVar22 = (float)((int)fVar22 + -1); - npc->_stateFrame = uVar11; - local_148 = fVar22; - } while (fVar22 != 0.0); + uVar10 = uVar10 + 1; + fVar21 = (float)((int)fVar21 + -1); + npc->_stateFrame = uVar10; + local_148 = fVar21; + } while (fVar21 != 0.0); } } if (((npc->_sprite)._animState._animData != (void *)0x0) && @@ -56721,12 +56776,12 @@ LAB_0044e4ea: case 0x10: npc->_friction = npc->_friction * 0.6; Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Sound"); - cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - pMVar5 = g_manager; - if (cVar7 != '\0') { + cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + pMVar4 = g_manager; + if (cVar6 != '\0') { local_160 = (Entity *)0x2a7; seed_fart_sound_override(); - SoundEffects::Play(&pMVar5->_sfxManager,(int)local_160,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar4->_sfxManager,(int)local_160,1.0,2,0,1.0,0.0); spawn_gibs((int)npc->_config + 0x60,npc,&npc->_splatColor,&g_vectorZero,0x3f800000); Entity_NPC::PlaySound(npc,0x8d,1.0,2,0,1.0); Game::ShakeScreen(g_game,10); @@ -56746,23 +56801,23 @@ LAB_0044e4ea: npc->_visible = 1; npc->_entityCollisionClass = 4; ANM2::Play(&npc->_sprite,(byte *)"DashLoop",0); - pMVar5 = g_manager; + pMVar4 = g_manager; local_140 = 9.44475e-43; seed_fart_sound_override(); - SoundEffects::Play(&pMVar5->_sfxManager,(int)local_140,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar4->_sfxManager,(int)local_140,1.0,2,0,1.0,0.0); npc->_stateFrame = 4; npc->_i1 = 0; } if ((local_135 != '\0') && (((npc->_state != 0x10 || (((npc->_sprite)._animState._animData != (void *)0x0 && - (bVar6 = AnimationState::WasEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"), - bVar6 != 0)))) && (iVar8 = Entity::GetIntervalTicks((Entity *)npc), iVar8 != 0)))) { - iVar8 = AnimationState::GetLayerFrame(0); - local_134 = *(Entity **)(iVar8 + 0x14); - local_160 = *(Entity **)(iVar8 + 0x10); - local_148 = *(float *)(iVar8 + 0x1c); - local_140 = *(float *)(iVar8 + 0x18); + (bVar5 = AnimationState::WasEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"), + bVar5 != 0)))) && (iVar7 = Entity::GetIntervalTicks((Entity *)npc), iVar7 != 0)))) { + iVar7 = AnimationState::GetLayerFrame(0); + local_134 = *(Entity **)(iVar7 + 0x14); + local_160 = *(Entity **)(iVar7 + 0x10); + local_148 = *(float *)(iVar7 + 0x1c); + local_140 = *(float *)(iVar7 + 0x18); if ((npc->_sprite)._flipX != 0) { local_160 = (Entity *)((uint)local_160 ^ 0x80000000); local_140 = -local_140; @@ -56771,48 +56826,48 @@ LAB_0044e4ea: local_154 = (Entity *)(npc->_pos).x; local_144 = (code *)(npc->_pos).y; local_14c = (Room *)(npc->_posOffset).y; - pfVar14 = (float *)MusicManager::RandomVector(&local_12c); - iVar8 = Random(); - fVar22 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10; + pfVar13 = (float *)MusicManager::RandomVector(&local_12c); + iVar7 = Random(); + fVar21 = (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10; local_118[0].x = ((float)local_160 / 0.65) * local_140 + (float)local_154 + (float)local_158 + - fVar22 * *pfVar14 * 40.0 * local_140; + fVar21 * *pfVar13 * 40.0 * local_140; local_118[0].y = ((float)local_134 / 0.65) * local_148 + (float)local_14c + (float)local_144 + - fVar22 * pfVar14[1] * 40.0 * local_148; - uVar9 = Random(); + fVar21 * pfVar13[1] * 40.0 * local_148; + uVar8 = Random(); local_154 = (Entity *)((npc->_velocity).y * 0.1); local_12c.x = (npc->_velocity).x * 0.1 + 0.0; - iVar8 = Random(); - local_12c.y = (-2.0 - (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * + iVar7 = Random(); + local_12c.y = (-2.0 - (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 6.0) + (float)local_154; - iVar8 = Game::SpawnEx(g_game,1000,0x3b,local_118,&local_12c,npc,0,uVar9,0); + iVar7 = Game::SpawnEx(g_game,1000,0x3b,local_118,&local_12c,npc,0,uVar8,0); BlendMode::SetMode(2,extraout_ECX); - pLVar15 = ANM2::GetLayer((ANM2 *)(iVar8 + 0x48),(byte *)0x0); - *(int *)&pLVar15->field_0x78 = local_e4; - *(int *)&pLVar15->field_0x7c = iStack_e0; - *(int *)&pLVar15->field_0x80 = iStack_dc; - *(int *)&pLVar15->field_0x84 = iStack_d8; - *(float *)&pLVar15->field_0x88 = local_d4; - uVar9 = ::Color::Color(0x3f800000); - ANM2::GetLayer((ANM2 *)(iVar8 + 0x48),(byte *)0x0); - ::Color::operator_assign(uVar9); - iVar16 = Random(); - *(float *)(iVar8 + 0x474) = - (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * 2.3283064e-10 * 10.0 + pLVar14 = ANM2::GetLayer((ANM2 *)(iVar7 + 0x48),(byte *)0x0); + pLVar14->_blendMode[0] = local_e4; + pLVar14->_blendMode[1] = iStack_e0; + pLVar14->_blendMode[2] = iStack_dc; + pLVar14->_blendMode[3] = iStack_d8; + pLVar14->_blendMode[4] = (int)local_d4; + uVar8 = ::Color::Color(0x3f800000); + ANM2::GetLayer((ANM2 *)(iVar7 + 0x48),(byte *)0x0); + ::Color::operator_assign(uVar8); + iVar15 = Random(); + *(float *)(iVar7 + 0x474) = + (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 10.0 + 2.0; - uVar11 = Random(); - iVar16 = uVar11 % 10 + 10; - *(int *)(iVar8 + 0x45c) = iVar16; - *(int *)(iVar8 + 0x460) = iVar16; - iVar16 = Random(); - fVar22 = (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * 2.3283064e-10 * + uVar10 = Random(); + iVar15 = uVar10 % 10 + 10; + *(int *)(iVar7 + 0x45c) = iVar15; + *(int *)(iVar7 + 0x460) = iVar15; + iVar15 = Random(); + fVar21 = (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 0.6 + 0.6; - fVar24 = fVar22 * g_vectorOne.y; - fVar22 = fVar22 * g_vectorOne.x; - *(undefined4 *)(iVar8 + 0x354) = 0xfffff830; - *(float *)(iVar8 + 0xe8) = fVar24; - *(float *)(iVar8 + 0xe4) = fVar22; + fVar23 = fVar21 * g_vectorOne.y; + fVar21 = fVar21 * g_vectorOne.x; + *(undefined4 *)(iVar7 + 0x354) = 0xfffff830; + *(float *)(iVar7 + 0xe8) = fVar23; + *(float *)(iVar7 + 0xe4) = fVar21; } return; } @@ -56852,7 +56907,7 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_war_fire_burst(Entity_NPC *npc) undefined4 local_38 [8]; undefined4 local_18; undefined4 uStack_14; - undefined4 local_10; + float local_10; uint local_c; pMVar1 = g_manager; @@ -56907,28 +56962,28 @@ void __fastcall NpcAI::ENTITY_BEAST_ultra_war_fire_burst(Entity_NPC *npc) pLVar5 = ANM2::GetLayer((ANM2 *)(iVar3 + 0x48),(byte *)0x0); local_18 = 0; uStack_14 = 0; - uVar4 = 1; - local_10 = 0; + iVar2 = 1; + local_10 = 0.0; if ((uVar6 & 4) == 0) { - uVar4 = 6; + iVar2 = 6; } - *(undefined4 *)&pLVar5->field_0x78 = 0; - *(undefined4 *)&pLVar5->field_0x7c = uVar4; - *(undefined4 *)&pLVar5->field_0x80 = 1; - *(undefined4 *)&pLVar5->field_0x84 = 1; - *(undefined4 *)&pLVar5->field_0x88 = 1; + pLVar5->_blendMode[0] = 0; + pLVar5->_blendMode[1] = iVar2; + pLVar5->_blendMode[2] = 1; + pLVar5->_blendMode[3] = 1; + pLVar5->_blendMode[4] = 1; pLVar5 = ANM2::GetLayer((ANM2 *)(iVar3 + 0x48),(byte *)0x0); - if ((undefined4 *)&pLVar5->field_0x48 != local_38) { - *(undefined4 *)&pLVar5->field_0x48 = 0x40a00000; - *(undefined4 *)&pLVar5->field_0x4c = 0x3f000000; - *(undefined4 *)&pLVar5->field_0x50 = 0x3e4ccccd; - *(undefined4 *)&pLVar5->field_0x54 = 0x3f800000; - *(undefined4 *)&pLVar5->field_0x58 = 0; - *(undefined4 *)&pLVar5->field_0x5c = 0; - *(undefined4 *)&pLVar5->field_0x60 = 0; - *(undefined4 *)&pLVar5->field_0x64 = 0; - *(ulonglong *)&pLVar5->field_0x68 = CONCAT44(uStack_14,local_18); - *(undefined4 *)&pLVar5->field_0x70 = local_10; + if (&pLVar5->_color != (ColorMod *)local_38) { + (pLVar5->_color)._tint[0] = 5.0; + (pLVar5->_color)._tint[1] = 0.5; + (pLVar5->_color)._tint[2] = 0.2; + (pLVar5->_color)._tint[3] = 1.0; + (pLVar5->_color)._colorize[0] = 0.0; + (pLVar5->_color)._colorize[1] = 0.0; + (pLVar5->_color)._colorize[2] = 0.0; + (pLVar5->_color)._colorize[3] = 0.0; + *(ulonglong *)(pLVar5->_color)._offset = CONCAT44(uStack_14,local_18); + (pLVar5->_color)._offset[2] = local_10; } iVar2 = Random(); *(float *)(iVar3 + 0x474) = @@ -59282,20 +59337,18 @@ void __fastcall NpcAI::ENTITY_BIG_HORN(Entity_NPC *npc) char *local_68 [2]; undefined8 local_60; undefined8 uStack_58; - undefined1 local_4c [32]; - float local_2c; - void *local_28; + EntityRef local_4c; uint local_24; undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; - undefined4 local_14; + char *local_14; - puStack_20 = local_4c + 0x48; - local_14 = 0xffffffff; + puStack_20 = (undefined1 *)(local_68 + 0x19); + local_14 = (char *)0xffffffff; puStack_18 = &LAB_00af249d; local_1c = ExceptionList; - local_24 = __security_cookie ^ (uint)(local_4c + 0x3c); + local_24 = __security_cookie ^ (uint)(local_68 + 0x16); ExceptionList = &local_1c; local_9c = (EntityPtr)npc->_variant; fVar23 = (float)((int)npc->_updateTime - (int)npc->_prevUpdateTime); @@ -59410,7 +59463,7 @@ void __fastcall NpcAI::ENTITY_BIG_HORN(Entity_NPC *npc) else { uVar9 = Random(); uStack_58 = 0; - uVar19 = Room::GetRandomPosition(&local_2c,0); + uVar19 = Room::GetRandomPosition(&local_4c._flags,0); uVar32 = 3; LAB_004560aa: iVar18 = Game::Spawn(0x19b,1,uVar19,&uStack_58,npc,uVar32,uVar9); @@ -59636,15 +59689,15 @@ LAB_00455d86: } cVar8 = Sprite::IsEventTriggered((Sprite *)pAVar1,&DAT_00b1d710); if (cVar8 != '\0') { - Entity::GetNullCapsule((Entity *)npc,local_4c,&DAT_00b1d710); - if (0.0 < local_2c) { + Entity::GetNullCapsule((Entity *)npc,&local_4c,&DAT_00b1d710); + if (0.0 < (float)local_4c._flags) { if (((uint)g_game->_debugFlags >> 5 & 1) != 0) { iVar18 = Entity::GetDebugShape((Entity *)npc,1); *(undefined4 *)(iVar18 + 4) = 1; - push_shape_points(local_4c); + push_shape_points(&local_4c); } - EntityList::QueryRadius(&local_60,local_4c,0xffffffff); - local_14 = 4; + EntityList::QueryRadius(&local_60,&local_4c,0xffffffff); + local_14 = (char *)0x4; local_a0 = 0.0; if (uStack_58._4_4_ != (EntityPtr)0x0) { do { @@ -59690,7 +59743,7 @@ LAB_00455d86: local_a0 = (float)((int)local_a0 + 1); } while ((uint)local_a0 < (uint)uStack_58._4_4_); } - local_14 = 0xffffffff; + local_14 = (char *)0xffffffff; EntityList_Query::~EntityList_Query(); } local_94._0_4_ = 1.0; @@ -59704,10 +59757,10 @@ LAB_00455d86: fStack_78 = 1.0; local_70 = 0.0; local_6c = 0.0; - Entity::MakeGroundPoof((Entity *)npc,local_4c,local_94); + Entity::MakeGroundPoof((Entity *)npc,&local_4c,local_94); local_b0 = 60.0; local_ac = 40.0; - spawn_rock_particles(local_4c,&local_b0); + spawn_rock_particles(&local_4c,&local_b0); Game::ShakeScreen(g_game,6); Entity_NPC::PlaySound(npc,0x30,1.0,2,0,1.0); } @@ -59862,9 +59915,10 @@ LAB_004556d6: EVar25 = local_b8; local_9c = EVar24; sin(); - local_2c = (float)local_cc * (float)local_9c - (float)local_bc * (float)EVar25; - local_28 = (void *)((float)local_cc * (float)EVar25 + (float)local_bc * (float)local_9c) - ; + local_4c._flags = + (int)((float)local_cc * (float)local_9c - (float)local_bc * (float)EVar25); + local_4c._entity = + (void *)((float)local_cc * (float)EVar25 + (float)local_bc * (float)local_9c); EVar25 = local_b8; cos(); EVar24 = local_b8; @@ -59873,7 +59927,7 @@ LAB_004556d6: uStack_58 = CONCAT44(local_a8 * (float)local_9c + (float)local_c4 * (float)EVar24 + local_ac,((float)local_c4 * (float)local_9c - local_a8 * (float)EVar24) + (float)local_d4); - iVar18 = Game::Spawn(4,3,&uStack_58,&local_2c,npc,0,uVar9); + iVar18 = Game::Spawn(4,3,&uStack_58,&local_4c._flags,npc,0,uVar9); local_a0 = local_a0 + 80.0; *(uint *)(iVar18 + 0x168) = *(uint *)(iVar18 + 0x168) & 0xfffffffb; *(undefined4 *)(iVar18 + 0x16c) = *(undefined4 *)(iVar18 + 0x16c); @@ -60138,11 +60192,11 @@ LAB_0045374a: cVar8 = Room::IsPositionInRoom(g_game->_room,&local_d8,0); if (cVar8 != '\0') { EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); - local_a1 = local_28 < (void *)0x2; - if (local_4c[0x18] == '\0') { - local_14 = 0; + local_a1 = local_4c._entity < (void *)0x2; + if (local_4c._velocity.x._0_1_ == '\0') { + local_14 = (char *)0x0; tracked_alloc(0,0); - local_14 = 0xffffffff; + local_14 = (char *)0xffffffff; } if (local_a1 != '\0') { iVar18 = 7; @@ -60425,12 +60479,12 @@ LAB_004547fb: if (cVar8 != '\0') { fVar23 = 1.4013e-45; local_a0 = 1.4013e-45; - local_4c._16_4_ = 5.0; - local_4c._20_4_ = 5.0; - local_4c._24_4_ = 0x41700000; - local_4c._28_4_ = 0x40e00000; - local_2c = -15.0; - local_28 = (void *)0x40e00000; + local_4c._position.x = 5.0; + local_4c._position.y = 5.0; + local_4c._velocity.x = 15.0; + local_4c._velocity.y = 7.0; + local_4c._flags = -0x3e900000; + local_4c._entity = (void *)0x40e00000; if ((npc->_sprite)._animState._animData != (void *)0x0) { if ((npc->_sprite)._animState._isPlaying != 0) { pbVar14 = (npc->_sprite)._animState._animData; @@ -60458,7 +60512,7 @@ LAB_004540d5: if ((uVar15 == 0) && (iVar18 = Game::GetRandomPlayer(g_game,&npc->_pos,0x4b18967f), fVar23 = (npc->_pos).x , *(float *)(iVar18 + 0x33c) <= fVar23 && fVar23 != *(float *)(iVar18 + 0x33c))) { - local_4c._16_4_ = -5.0; + local_4c._position.x = -5.0; } } fVar23 = 1.4013e-45; @@ -60543,9 +60597,9 @@ LAB_00454196: } local_a8 = 0.0; if (0 < (int)fVar23) { - local_b8 = (EntityPtr)((int)local_4c + 0x10); + local_b8 = (EntityPtr)&local_4c._position; if (fVar23 == 2.8026e-45) { - local_b8 = (EntityPtr)((int)local_4c + 0x18); + local_b8 = (EntityPtr)&local_4c._velocity; } do { local_98 = (EntityPtr)0x0; @@ -60569,9 +60623,9 @@ LAB_00454196: local_68[0] = (char *)std::_Allocate(); uStack_58 = 0x2f00000028; builtin_strncpy(local_68[0],"gfx/effects/Effect_088_DarkSmoke_Big.png",0x29); - local_14 = 1; + local_14 = (char *)0x1; Sprite::ReplaceSpritesheet((Sprite *)&pEVar12->_sprite,0,local_68); - local_14 = 0xffffffff; + local_14 = (char *)0xffffffff; bVar7 = extraout_CL; if (0xf < (uint)uStack_58._4_4_) { uVar15 = (int)uStack_58._4_4_ + 1; @@ -60767,7 +60821,7 @@ switchD_0045334c_caseD_5: npc = (Entity_NPC *)local_cc; } EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); - local_14 = 2; + local_14 = (char *)0x2; local_98 = (EntityPtr)0x0; if (uStack_58._4_4_ != (EntityPtr)0x0) { iVar18 = local_60._4_4_; @@ -60777,15 +60831,15 @@ switchD_0045334c_caseD_5: (*(EntityPtr *)((int)local_cc + 0x3bc) == (EntityPtr)npc)) && (*(byte *)((int)local_cc + 0x173) == 0)) { pcVar26 = *(code **)(*(int *)local_cc + 0x24); - EntityRef::constructor((EntityRef *)local_4c,(Entity *)npc); - (*pcVar26)(local_4c); + EntityRef::constructor(&local_4c,(Entity *)npc); + (*pcVar26)(&local_4c); iVar18 = local_60._4_4_; } local_98 = (EntityPtr)((int)local_98 + 1); } while ((uint)local_98 < (uint)uStack_58._4_4_); } if ((char)local_60 == '\0') { - local_14 = 3; + local_14 = (char *)0x3; tracked_alloc(0,0); } } @@ -63391,20 +63445,18 @@ void __fastcall NpcAI::ENTITY_DEATH(Entity_NPC *npc) undefined4 local_58; float local_54; float local_50; - undefined1 local_4c [32]; - float local_2c; - undefined1 *local_28; + EntityRef local_4c; uint local_24; undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; undefined4 local_14; - puStack_20 = local_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); local_14 = 0xffffffff; puStack_18 = &LAB_00af25d5; local_1c = ExceptionList; - local_24 = __security_cookie ^ (uint)(local_4c + 0x3c); + local_24 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; local_7c.y = (float)npc; pEVar9 = Entity_NPC::GetPlayerTarget(npc); @@ -63444,15 +63496,15 @@ void __fastcall NpcAI::ENTITY_DEATH(Entity_NPC *npc) if (0.5 <= npc->_health / npc->_maxHitPoints) { this = &npc->_sprite; if (fVar26 == 5.60519e-45) { - local_28 = &DAT_0000000f; - local_4c._16_4_ = 2.8576617e+26; - local_4c._20_4_ = local_4c._20_4_ & 0xffffff00; + local_4c._entity = &DAT_0000000f; + local_4c._position.x = 2.8576617e+26; + local_4c._position.y = (float)((uint)local_4c._position.y & 0xffffff00); local_50 = 2.10195e-44; local_64 = 0x6b6c6157; local_60 = 0; local_14 = 1; local_54 = fVar26; - local_2c = fVar26; + local_4c._flags = (int)fVar26; Entity_NPC::AnimWalkFrame(npc); local_14 = local_14 & 0xffffff00; if (0xf < (uint)local_50) { @@ -63464,9 +63516,9 @@ void __fastcall NpcAI::ENTITY_DEATH(Entity_NPC *npc) local_54 = 0.0; local_50 = 2.10195e-44; local_64 = local_64 & 0xffffff00; - if (&DAT_0000000f < local_28) { - if (((undefined1 *)0xfff < local_28 + 1) && - (0x1f < (local_4c._16_4_ - *(int *)(local_4c._16_4_ + -4)) - 4U)) { + if (&DAT_0000000f < local_4c._entity) { + if (((undefined1 *)0xfff < (undefined1 *)((int)local_4c._entity + 1)) && + (0x1f < ((int)local_4c._position.x - *(int *)((int)local_4c._position.x + -4)) - 4U)) { LAB_00459f91: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); @@ -63666,15 +63718,15 @@ LAB_0045a4ff: Entity_NPC::PlaySound(npc,0x68,1.0,2,0,1.0); local_70.y = 5.60519e-45; pvVar2 = g_game->_room; - local_4c._8_4_ = *(int *)((int)pvVar2 + 0x14); - local_4c._28_4_ = *(undefined4 *)((int)pvVar2 + 0x18); - local_4c._16_4_ = *(float *)((int)pvVar2 + 0x1c); - local_28 = *(undefined1 **)((int)pvVar2 + 0x20); - local_4c._12_4_ = (npc->_pos).y; - local_4c._24_4_ = (npc->_pos).x; - local_80 = (EntityPtr *)(local_4c + 8); - local_4c._20_4_ = local_4c._12_4_; - local_2c = (float)local_4c._24_4_; + local_4c._spawnerType = *(int *)((int)pvVar2 + 0x14); + local_4c._velocity.y = *(float *)((int)pvVar2 + 0x18); + local_4c._position.x = *(float *)((int)pvVar2 + 0x1c); + local_4c._entity = *(void **)((int)pvVar2 + 0x20); + local_4c._spawnerVariant = (int)(npc->_pos).y; + local_4c._velocity.x = (npc->_pos).x; + local_80 = (EntityPtr *)&local_4c._spawnerType; + local_4c._position.y = (float)local_4c._spawnerVariant; + local_4c._flags = (int)local_4c._velocity.x; do { pEVar19 = local_80; pEVar9 = Entity_NPC::GetPlayerTarget(npc); @@ -63775,7 +63827,7 @@ LAB_0045a7e9: (int)(g_game->_playerManager)._playerList._begin >> 2 != 0) { do { this_00 = Game::GetPlayer(g_game,(uint)local_70.y); - EntityRef::constructor((EntityRef *)local_4c,(Entity *)npc); + EntityRef::constructor(&local_4c,(Entity *)npc); auVar3 = ZEXT1632(CONCAT412(0x3f800000,CONCAT48(0x3fa66666,0x3f8000003f800000))); color._offset[0] = 0.15686275; color._tint[0] = (float)auVar3._0_4_; @@ -63788,7 +63840,7 @@ LAB_0045a7e9: color._colorize[3] = (float)auVar3._28_4_; color._offset[1] = 0.15686275; color._offset[2] = 0.15686275; - Entity::AddSlowing((Entity *)this_00,(EntityRef *)local_4c,0xa0,0.9,color,0); + Entity::AddSlowing((Entity *)this_00,&local_4c,0xa0,0.9,color,0); local_70.y = (float)((int)local_70.y + 1); } while ((uint)local_70.y < (uint)((int)(g_game->_playerManager)._playerList._end - @@ -64012,10 +64064,10 @@ LAB_0045ad21: ((npc->_sprite)._animState._isPlaying != 0)) goto LAB_0045b35a; npc->_state = 4; LAB_0045b363: - local_28 = &DAT_0000000f; - local_2c = 5.60519e-45; - local_4c._16_4_ = 2.8576617e+26; - local_4c._20_4_ = local_4c._20_4_ & 0xffffff00; + local_4c._entity = &DAT_0000000f; + local_4c._flags = 4; + local_4c._position.x = 2.8576617e+26; + local_4c._position.y = (float)((uint)local_4c._position.y & 0xffffff00); local_50 = 2.10195e-44; local_54 = 5.60519e-45; local_64 = 0x6b6c6157; @@ -64032,9 +64084,9 @@ LAB_0045b363: local_54 = 0.0; local_50 = 2.10195e-44; local_64 = local_64 & 0xffffff00; - if (&DAT_0000000f < local_28) { - if (((undefined1 *)0xfff < local_28 + 1) && - (0x1f < (local_4c._16_4_ - *(int *)(local_4c._16_4_ + -4)) - 4U)) { + if (&DAT_0000000f < local_4c._entity) { + if (((undefined1 *)0xfff < (undefined1 *)((int)local_4c._entity + 1)) && + (0x1f < ((int)local_4c._position.x - *(int *)((int)local_4c._position.x + -4)) - 4U)) { LAB_0045b42a: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); @@ -68532,8 +68584,6 @@ float __fastcall NpcAI::ENTITY_ISAAC(Entity_NPC *npc) TypeDescriptor *pTVar36; undefined4 uVar37; RNG local_2d4; - undefined8 local_2d0; - undefined4 local_2c8; char local_2c4 [4]; int local_2c0; uint local_2b8; @@ -69214,12 +69264,13 @@ LAB_00465fd1: } LAB_00465a75: pfVar16 = (float *)RandomVector(); - local_2d4 = (RNG)npc->_projectileDelay; - local_2c8 = 6; - local_2d0 = 0xb00000001; + local_2d4._seed = npc->_projectileDelay; + local_2d4._shift3 = 6; + local_2d4._shift1 = 1; + local_2d4._shift2 = 0xb; RNG::Next(&local_2d4); - fVar8 = (float)((double)(int)local_2d4 + - __uint_to_double_fixup[-((int)local_2d4 >> 0x1f)]) * 2.3283062e-10; + fVar8 = (float)((double)local_2d4._seed + + __uint_to_double_fixup[-(local_2d4._seed >> 0x1f)]) * 2.3283062e-10; local_234 = (undefined4 *)((float)local_234 + fVar8 * *pfVar16 * 20.0); local_244 = local_244 + fVar8 * pfVar16[1] * 20.0; uVar9 = (uint)local_298 & 0x80000007; @@ -71158,50 +71209,50 @@ LAB_0046813b: void __fastcall NpcAI::ENTITY_DADDYLONGLEGS(Entity_NPC *npc) { - float fVar1; - void *pvVar2; - code *pcVar3; - longlong lVar4; + std_set *psVar1; + float fVar2; + void *pvVar3; + code *pcVar4; longlong lVar5; - undefined1 auVar6 [12]; + longlong lVar6; undefined1 auVar7 [12]; undefined1 auVar8 [12]; undefined1 auVar9 [12]; undefined1 auVar10 [12]; undefined1 auVar11 [12]; + undefined1 auVar12 [12]; EntityPtr this; - byte bVar12; - char cVar13; - int iVar14; - undefined4 uVar15; - float fVar16; + byte bVar13; + char cVar14; + int iVar15; + undefined4 uVar16; + float fVar17; EntityRef *ref; - int *piVar17; - Entity_Effect *pEVar18; - int iVar19; + int *piVar18; + Entity_Effect *pEVar19; int iVar20; - Entity *pEVar21; - float *pfVar22; - undefined1 *puVar23; - Entity *pEVar24; - undefined4 *puVar25; - uint uVar26; + int iVar21; + Entity *pEVar22; + float *pfVar23; + undefined1 *puVar24; + Entity *pEVar25; + undefined4 *puVar26; + uint uVar27; undefined4 extraout_ECX; - void **ppvVar27; - uint uVar28; + void **ppvVar28; uint uVar29; - Game *pGVar30; - PlayerManager *pPVar31; + uint uVar30; + Game *pGVar31; + PlayerManager *pPVar32; byte unaff_DI; - bool bVar32; - ANM2 *pAVar33; - float fVar34; - Vector *pVVar35; - float fVar36; - ulonglong uVar37; - undefined8 uVar38; + bool bVar33; + ANM2 *pAVar34; + float fVar35; + Vector *pVVar36; + float fVar37; + ulonglong uVar38; + undefined8 uVar39; BitSet128 in_stack_fffffc94; - undefined1 auVar39 [16]; undefined1 auVar40 [16]; undefined1 auVar41 [16]; undefined1 auVar42 [16]; @@ -71216,7 +71267,8 @@ void __fastcall NpcAI::ENTITY_DADDYLONGLEGS(Entity_NPC *npc) undefined1 auVar51 [16]; undefined1 auVar52 [16]; undefined1 auVar53 [16]; - char *pcVar54; + undefined1 auVar54 [16]; + char *pcVar55; byte addEnemyKillScore; Entity *pEStack_348; float fStack_344; @@ -71244,10 +71296,7 @@ void __fastcall NpcAI::ENTITY_DADDYLONGLEGS(Entity_NPC *npc) float fStack_2ec; float fStack_2e4; float fStack_2e0; - undefined1 auStack_2dc [28]; - float fStack_2c0; - uint uStack_2bc; - void *pvStack_2b8; + EntityRef EStack_2dc; int aiStack_2b4 [2]; float fStack_2ac; float fStack_2a8; @@ -71267,14 +71316,8 @@ void __fastcall NpcAI::ENTITY_DADDYLONGLEGS(Entity_NPC *npc) undefined4 uStack_264; undefined4 uStack_260; undefined4 uStack_25c; - undefined1 auStack_258 [28]; - float fStack_23c; - undefined4 uStack_238; - void *pvStack_234; - undefined1 auStack_230 [28]; - float fStack_214; - undefined4 uStack_210; - void *pvStack_20c; + EntityRef EStack_258; + EntityRef EStack_230; float fStack_208; float fStack_204; float fStack_200; @@ -71327,8 +71370,8 @@ void __fastcall NpcAI::ENTITY_DADDYLONGLEGS(Entity_NPC *npc) float local_c; local_c = (float)(__security_cookie ^ (uint)&pEStack_348); - iVar14 = npc->_state; - if (iVar14 == 0) { + iVar15 = npc->_state; + if (iVar15 == 0) { (npc->_targetPosition).x = (npc->_pos).x; (npc->_targetPosition).y = (npc->_pos).y; npc->_state = 3; @@ -71337,24 +71380,24 @@ void __fastcall NpcAI::ENTITY_DADDYLONGLEGS(Entity_NPC *npc) local_30c = (EntityPtr)npc; if ((((npc->_sprite)._animState._animData == (void *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) && (npc->_projectileDelay < 1)) { - if (iVar14 == 7) { + if (iVar15 == 7) { if (npc->_i1 == 0) { - iVar14 = npc->_i2; - npc->_i2 = iVar14 + 1; - if ((iVar14 < (int)((npc->_variant != 1) + 3)) || (uVar26 = Random(), uVar26 % 7 == 0)) { - iVar14 = npc->_i2; - if (4 < iVar14) { - iVar14 = 4; + iVar15 = npc->_i2; + npc->_i2 = iVar15 + 1; + if ((iVar15 < (int)((npc->_variant != 1) + 3)) || (uVar27 = Random(), uVar27 % 7 == 0)) { + iVar15 = npc->_i2; + if (4 < iVar15) { + iVar15 = 4; } - local_33c = (Entity *)(iVar14 - 1); + local_33c = (Entity *)(iVar15 - 1); if (((int)local_33c / 2 == 0) || (npc->_variant == 1)) { - pcVar54 = "StompArm"; + pcVar55 = "StompArm"; } else { - pcVar54 = "StompLeg"; + pcVar55 = "StompLeg"; } - bVar12 = ANM2::SetAnimation(&npc->_sprite,(byte *)pcVar54,1); - if (bVar12 != 0) { + bVar13 = ANM2::SetAnimation(&npc->_sprite,(byte *)pcVar55,1); + if (bVar13 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; } @@ -71375,7 +71418,7 @@ void __fastcall NpcAI::ENTITY_DADDYLONGLEGS(Entity_NPC *npc) (**(code **)(*(int *)npc + 0x28))(); } } - else if (iVar14 == 6) { + else if (iVar15 == 6) { npc->_state = 7; local_314 = -g_vectorOne.y; local_318 = -g_vectorOne.x; @@ -71390,20 +71433,20 @@ void __fastcall NpcAI::ENTITY_DADDYLONGLEGS(Entity_NPC *npc) } if ((((npc->_state == 4) || (npc->_state == 7)) && ((npc->_sprite)._animState._animData != (void *)0x0)) && - (bVar12 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,s_Land), bVar12 != 0)) { - auVar39._0_8_ = in_stack_fffffc94._l; + (bVar13 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,s_Land), bVar13 != 0)) { + auVar40._0_8_ = in_stack_fffffc94._l; if (npc->_state == 4) { Entity_NPC::PlaySound(npc,0x34,0.7,2,0,1.0); ShockwaveParams::ShockwaveParams(); - pGVar30 = g_game; + pGVar31 = g_game; local_33c = (Entity *)(npc->_pos).x; pfStack_32c = (float *)(npc->_pos).y; uStack_25c = 0xd; - pvVar2 = g_game->_room; + pvVar3 = g_game->_room; uStack_264 = 0x3ccccccd; uStack_268 = 0x3d23d70a; - *(int *)((int)pvVar2 + 0x70fc) = *(int *)((int)pvVar2 + 0x70fc) + 1; - pvStack_328 = (void *)(*(uint *)((int)pvVar2 + 0x70fc) & 0x80000001); + *(int *)((int)pvVar3 + 0x70fc) = *(int *)((int)pvVar3 + 0x70fc) + 1; + pvStack_328 = (void *)(*(uint *)((int)pvVar3 + 0x70fc) & 0x80000001); if ((int)pvStack_328 < 0) { pvStack_328 = (void *)(((int)pvStack_328 - 1U | 0xfffffffe) + 1); } @@ -71413,15 +71456,15 @@ void __fastcall NpcAI::ENTITY_DADDYLONGLEGS(Entity_NPC *npc) /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Shockwave id is too large!"); } - iVar14 = (int)pvStack_328 + 0x407; - *(Entity **)((int)pvVar2 + iVar14 * 0x1c) = local_33c; - *(float **)((int)pvVar2 + iVar14 * 0x1c + 4) = pfStack_32c; - *(undefined4 *)((int)pvVar2 + iVar14 * 0x1c + 8) = uStack_26c; - *(undefined4 *)((int)pvVar2 + iVar14 * 0x1c + 0xc) = 0x3d23d70a; - *(undefined4 *)((int)pvVar2 + iVar14 * 0x1c + 0x10) = 0x3ccccccd; - *(undefined4 *)((int)pvVar2 + iVar14 * 0x1c + 0x14) = uStack_260; - *(undefined4 *)((int)pvVar2 + iVar14 * 0x1c + 0x18) = 0xd; - Game::ShakeScreen(pGVar30,0xc); + iVar15 = (int)pvStack_328 + 0x407; + *(Entity **)((int)pvVar3 + iVar15 * 0x1c) = local_33c; + *(float **)((int)pvVar3 + iVar15 * 0x1c + 4) = pfStack_32c; + *(undefined4 *)((int)pvVar3 + iVar15 * 0x1c + 8) = uStack_26c; + *(undefined4 *)((int)pvVar3 + iVar15 * 0x1c + 0xc) = 0x3d23d70a; + *(undefined4 *)((int)pvVar3 + iVar15 * 0x1c + 0x10) = 0x3ccccccd; + *(undefined4 *)((int)pvVar3 + iVar15 * 0x1c + 0x14) = uStack_260; + *(undefined4 *)((int)pvVar3 + iVar15 * 0x1c + 0x18) = 0xd; + Game::ShakeScreen(pGVar31,0xc); uStack_154 = 0; uStack_164 = 0; uStack_160 = 0; @@ -71436,23 +71479,23 @@ void __fastcall NpcAI::ENTITY_DADDYLONGLEGS(Entity_NPC *npc) Entity::MakeGroundPoof((Entity *)npc,&npc->_pos,&uStack_174); } else { - auVar39._8_4_ = 0x30; - auVar39._12_4_ = 0x3f800000; - auVar40._8_8_ = auVar39._8_8_; - auVar40._0_8_ = 0x46856c00000000; + auVar40._8_4_ = 0x30; + auVar40._12_4_ = 0x3f800000; + auVar41._8_8_ = auVar40._8_8_; + auVar41._0_8_ = 0x46856c00000000; Entity_NPC::PlaySound(npc,0x30,1.0,2,0,1.0); Game::ShakeScreen(g_game,8); - uVar15 = Random(); - auVar41._0_8_ = auVar40._0_8_; - auVar41._8_4_ = &g_vectorZero; - auVar41._12_4_ = npc; - auVar6._4_8_ = auVar41._8_8_; - auVar6._0_4_ = &npc->_pos; - piVar17 = (int *)Game::SpawnEx(g_game,1000,0x10,auVar6,2,uVar15,0); - bVar12 = Random(); - piVar17[0x37] = 0; - piVar17[0x38] = 0x41700000; - *(byte *)(piVar17 + 0x52) = ~bVar12 & 1; + uVar16 = Random(); + auVar42._0_8_ = auVar41._0_8_; + auVar42._8_4_ = &g_vectorZero; + auVar42._12_4_ = npc; + auVar7._4_8_ = auVar42._8_8_; + auVar7._0_4_ = &npc->_pos; + piVar18 = (int *)Game::SpawnEx(g_game,1000,0x10,auVar7,2,uVar16,0); + bVar13 = Random(); + piVar18[0x37] = 0; + piVar18[0x38] = 0x41700000; + *(byte *)(piVar18 + 0x52) = ~bVar13 & 1; uStack_138 = 0; uStack_134 = 0; uStack_130 = 0; @@ -71464,27 +71507,27 @@ void __fastcall NpcAI::ENTITY_DADDYLONGLEGS(Entity_NPC *npc) uStack_144 = 0x3f4ccccd; uStack_140 = 0x3f4ccccd; uStack_13c = 0x3f333333; - (**(code **)(*piVar17 + 0x3c))(); - if (piVar17[0xef] != 0) { - piStack_310 = piVar17 + 0xef; + (**(code **)(*piVar18 + 0x3c))(); + if (piVar18[0xef] != 0) { + piStack_310 = piVar18 + 0xef; std::multiset::erase(); } - piVar17[0xef] = (int)npc; + piVar18[0xef] = (int)npc; std::multiset::insert(); - fVar16 = (npc->_pos).x; - fVar34 = (npc->_pos).y; - *(undefined1 *)(piVar17 + 0x119) = 1; - piVar17[0x11a] = (int)((float)piVar17[0xcf] - fVar16); - piVar17[0x11b] = (int)((float)piVar17[0xd0] - fVar34); - (**(code **)(*piVar17 + 0xc))(); + fVar17 = (npc->_pos).x; + fVar35 = (npc->_pos).y; + *(undefined1 *)(piVar18 + 0x119) = 1; + piVar18[0x11a] = (int)((float)piVar18[0xcf] - fVar17); + piVar18[0x11b] = (int)((float)piVar18[0xd0] - fVar35); + (**(code **)(*piVar18 + 0xc))(); } - pVVar35 = &npc->_pos; - fVar16 = 300.0; + pVVar36 = &npc->_pos; + fVar17 = 300.0; if ((npc->_flags & 0x1000000000000000) != 0) { - fVar16 = 50.0; + fVar17 = 50.0; } in_stack_fffffc94 = g_tearFlagsNone; - Game::BombDamage(g_game,pVVar35,fVar16,44.0,0,(Entity *)npc,g_tearFlagsNone,0,unaff_DI); + Game::BombDamage(g_game,pVVar36,fVar17,44.0,0,(Entity *)npc,g_tearFlagsNone,0,unaff_DI); if (npc->_state == 4) { ProjectileParams::ProjectileParams((Entity_NPC *)&PStack_f0); if (npc->_variant == 1) { @@ -71499,49 +71542,49 @@ void __fastcall NpcAI::ENTITY_DADDYLONGLEGS(Entity_NPC *npc) VStack_294.x = 10.0; VStack_294.y = 0.0; in_stack_fffffc94._h._0_4_ = (Entity *)0x468762; - in_stack_fffffc94._h._4_4_ = pVVar35; - Entity_NPC::FireProjectiles(npc,pVVar35,&VStack_294,8,&PStack_f0); + in_stack_fffffc94._h._4_4_ = pVVar36; + Entity_NPC::FireProjectiles(npc,pVVar36,&VStack_294,8,&PStack_f0); } if (npc->_variant == 1) { pVStack_300 = (Vector *)Random(); - pGVar30 = g_game; + pGVar31 = g_game; pAStack_334 = (ANM2 *)&npc->_pos; - auVar42._0_8_ = in_stack_fffffc94._l; - auVar42._8_4_ = pAStack_334; - auVar42._12_4_ = &g_vectorZero; + auVar43._0_8_ = in_stack_fffffc94._l; + auVar43._8_4_ = pAStack_334; + auVar43._12_4_ = &g_vectorZero; pGStack_324 = g_game; - auVar7._4_8_ = auVar42._8_8_; - auVar7._0_4_ = &uStack_340; + auVar8._4_8_ = auVar43._8_8_; + auVar8._0_4_ = &uStack_340; pIStack_330 = (ItemPool *)0x0; uStack_340 = 0x19; uStack_304 = 1000; - lua_callback_run_pre_entity_spawn(&uStack_304,auVar7,npc,&pIStack_330,&pVStack_300); + lua_callback_run_pre_entity_spawn(&uStack_304,auVar8,npc,&pIStack_330,&pVStack_300); uStack_338 = uStack_304; if (1 < *(int *)&g_game->_deathmatchManager) { pEStack_348 = (g_game->_deathmatchManager)._type; - fVar16 = (float)Random(); - pEVar24 = pEStack_348; + fVar17 = (float)Random(); + pEVar25 = pEStack_348; uStack_288 = 0x900000005; piStack_310 = (int *)&DAT_00000007; uStack_280 = 7; - fStack_344 = fVar16; + fStack_344 = fVar17; if (uStack_338 == 5) { if (uStack_340 < 0x12d) { if (uStack_340 == 300) { while ((pIStack_330 == (ItemPool *)0x0 || - (cVar13 = (**(code **)(*(int *)pEStack_348 + 0x24))(pIStack_330), - cVar13 != '\0'))) { - if (fVar16 == 0.0) { + (cVar14 = (**(code **)(*(int *)pEStack_348 + 0x24))(pIStack_330), + cVar14 != '\0'))) { + if (fVar17 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar26 = (uint)fVar16 >> ((byte)uStack_288 & 0x1f) ^ (uint)fVar16; - uVar26 = uVar26 << ((byte)((ulonglong)uStack_288 >> 0x20) & 0x1f) ^ uVar26; - fVar16 = (float)(uVar26 >> ((byte)piStack_310 & 0x1f) ^ uVar26); - ItemPool::GetCardEx((int)fVar16,0x19,10,10,1); + uVar27 = (uint)fVar17 >> ((byte)uStack_288 & 0x1f) ^ (uint)fVar17; + uVar27 = uVar27 << ((byte)((ulonglong)uStack_288 >> 0x20) & 0x1f) ^ uVar27; + fVar17 = (float)(uVar27 >> ((byte)piStack_310 & 0x1f) ^ uVar27); + ItemPool::GetCardEx((int)fVar17,0x19,10,10,1); uStack_180 = 0x900000005; uStack_178 = 7; - uStack_184 = (uint)fVar16; + uStack_184 = (uint)fVar17; pIStack_330 = (ItemPool *)lua_callback_run_get_card(); } goto LAB_004688a3; @@ -71550,47 +71593,47 @@ void __fastcall NpcAI::ENTITY_DADDYLONGLEGS(Entity_NPC *npc) local_33c = (Entity *)((uint)pIStack_330 >> 0xb); do { if (pIStack_330 != (ItemPool *)0x0) { - pcVar3 = *(code **)(*(int *)pEStack_348 + 0x28); - iVar14 = ItemPool::GetPillEffect + pcVar4 = *(code **)(*(int *)pEStack_348 + 0x28); + iVar15 = ItemPool::GetPillEffect (&g_game->_itemPool,(uint)pIStack_330,(Entity_Player *)0x0); - cVar13 = (*pcVar3)(iVar14); - if (cVar13 == '\0') goto LAB_004688a3; - fVar16 = fStack_344; + cVar14 = (*pcVar4)(iVar15); + if (cVar14 == '\0') goto LAB_004688a3; + fVar17 = fStack_344; } pIStack_31c = &g_game->_itemPool; - if (fVar16 == 0.0) { + if (fVar17 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar26 = (uint)fVar16 >> ((byte)uStack_288 & 0x1f) ^ (uint)fVar16; - uVar26 = uVar26 << ((byte)((ulonglong)uStack_288 >> 0x20) & 0x1f) ^ uVar26; - fVar16 = (float)(uVar26 >> ((byte)piStack_310 & 0x1f) ^ uVar26); - fStack_344 = fVar16; - uVar26 = ItemPool::GetPill(fVar16); - pIStack_330 = (ItemPool *)(uVar26 | ((uint)local_33c & 1) << 0xb); + uVar27 = (uint)fVar17 >> ((byte)uStack_288 & 0x1f) ^ (uint)fVar17; + uVar27 = uVar27 << ((byte)((ulonglong)uStack_288 >> 0x20) & 0x1f) ^ uVar27; + fVar17 = (float)(uVar27 >> ((byte)piStack_310 & 0x1f) ^ uVar27); + fStack_344 = fVar17; + uVar27 = ItemPool::GetPill(fVar17); + pIStack_330 = (ItemPool *)(uVar27 | ((uint)local_33c & 1) << 0xb); } while( true ); } if (uStack_340 != 100) goto LAB_004688ab; if (pIStack_330 == (ItemPool *)0x19) { LAB_00468887: - bVar32 = false; + bVar33 = false; } else { pIStack_31c = pIStack_330; std::set::find_node(auStack_1d0,&pIStack_31c); if (((*(char *)(iStack_1c8 + 0xd) == '\0') && (*(int *)(iStack_1c8 + 0x10) <= (int)pIStack_330)) && - (iStack_1c8 != pEVar24->_index)) goto LAB_00468887; - bVar32 = true; + (iStack_1c8 != pEVar25->_index)) goto LAB_00468887; + bVar33 = true; } - if ((pIStack_330 == (ItemPool *)0x0) || (bVar32)) { - pIStack_330 = (ItemPool *)(**(code **)(*(int *)pEVar24 + 0x84))(0); + if ((pIStack_330 == (ItemPool *)0x0) || (bVar33)) { + pIStack_330 = (ItemPool *)(**(code **)(*(int *)pEVar25 + 0x84))(0); } } else { if (uStack_340 != 0x15e) goto LAB_004688ab; while ((pIStack_330 == (ItemPool *)0x0 || - (cVar13 = (**(code **)(*(int *)pEVar24 + 0x2c))(pIStack_330), cVar13 != '\0'))) { + (cVar14 = (**(code **)(*(int *)pEVar25 + 0x2c))(pIStack_330), cVar14 != '\0'))) { pIStack_330 = (ItemPool *)ItemPool::GetTrinket(&g_game->_itemPool,0); } npc = (Entity_NPC *)local_30c; @@ -71598,7 +71641,7 @@ LAB_00468887: LAB_004688a3: } LAB_004688ab: - pGVar30 = pGStack_324; + pGVar31 = pGStack_324; } if (((*(uint *)((int)npc + 0x168) & 0x20000000) != 0) && (uStack_338 == 1000)) { switch(uStack_340) { @@ -71607,114 +71650,114 @@ LAB_004688ab: uStack_340 = 0x2c; } } - local_33c = EntityFactory::Create(pGVar30->_entityFactory,uStack_338,0); - lVar4 = CONCAT44(pIStack_31c,pEStack_308); + local_33c = EntityFactory::Create(pGVar31->_entityFactory,uStack_338,0); + lVar5 = CONCAT44(pIStack_31c,pEStack_308); if (local_33c != (Entity *)0x0) { - uVar37 = GetTimeNs(); + uVar38 = GetTimeNs(); this = local_30c; - pEVar24 = local_33c; - uVar29 = (uint)(uVar37 >> 0x20); - lVar4 = (uVar37 & 0xffffffff) * 0x431bde82; - pvStack_328 = (void *)((ulonglong)lVar4 >> 0x20); - lVar5 = (ulonglong)uVar29 * 0xd7b634db; - pfStack_32c = (float *)((ulonglong)lVar5 >> 0x20); - uVar37 = lVar5 + ((uVar37 & 0xffffffff) * 0xd7b634db >> 0x20); - uVar28 = (uint)(uVar37 >> 0x20); - lVar4 = lVar4 + (uVar37 & 0xffffffff); - fStack_2f8 = (float)lVar4; - uVar26 = (uint)((ulonglong)lVar4 >> 0x20); - lVar4 = (ulonglong)uVar29 * 0x431bde82 + - (ulonglong)CONCAT14(CARRY4(uVar28,uVar26),uVar28 + uVar26); - uVar26 = (uint)((ulonglong)lVar4 >> 0x20); - piStack_310 = (int *)((uint)lVar4 >> 0x12 | uVar26 * 0x4000); - fStack_344 = (float)(uVar26 >> 0x12); + pEVar25 = local_33c; + uVar30 = (uint)(uVar38 >> 0x20); + lVar5 = (uVar38 & 0xffffffff) * 0x431bde82; + pvStack_328 = (void *)((ulonglong)lVar5 >> 0x20); + lVar6 = (ulonglong)uVar30 * 0xd7b634db; + pfStack_32c = (float *)((ulonglong)lVar6 >> 0x20); + uVar38 = lVar6 + ((uVar38 & 0xffffffff) * 0xd7b634db >> 0x20); + uVar29 = (uint)(uVar38 >> 0x20); + lVar5 = lVar5 + (uVar38 & 0xffffffff); + fStack_2f8 = (float)lVar5; + uVar27 = (uint)((ulonglong)lVar5 >> 0x20); + lVar5 = (ulonglong)uVar30 * 0x431bde82 + + (ulonglong)CONCAT14(CARRY4(uVar29,uVar27),uVar29 + uVar27); + uVar27 = (uint)((ulonglong)lVar5 >> 0x20); + piStack_310 = (int *)((uint)lVar5 >> 0x12 | uVar27 * 0x4000); + fStack_344 = (float)(uVar27 >> 0x12); local_33c->_spawnerType = *(int *)((int)local_30c + 0x28); local_33c->_spawnerVariant = *(int *)((int)local_30c + 0x2c); if (local_33c->_spawnerEntity != (EntityPtr)0x0) { pEStack_308 = &local_33c->_spawnerEntity; std::multiset::erase(&pEStack_308); } - pEVar24->_spawnerEntity = this; - std::multiset::insert(&pEVar24->_spawnerEntity); - (pEVar24->_pos).x = ((Vector *)((int)this + 0x33c))->x; - (pEVar24->_pos).y = *(float *)((int)this + 0x340); - iVar14 = *(int *)pEVar24; - (pEVar24->_velocity).x = g_vectorZero.x; - (pEVar24->_velocity).y = g_vectorZero.y; - (**(code **)(iVar14 + 4))(); - iVar14 = *(int *)((int)pGStack_324->_room + 0x1214); - *(int *)((int)pGStack_324->_room + 0x1214) = iVar14 + 1; - pEVar24->_index = iVar14; - EntityList::AddEntity(pEVar24); - bVar12 = Entity::IsActiveEnemy((Entity *)this,1); - if (bVar12 != 0) { + pEVar25->_spawnerEntity = this; + std::multiset::insert(&pEVar25->_spawnerEntity); + (pEVar25->_pos).x = ((Vector *)((int)this + 0x33c))->x; + (pEVar25->_pos).y = *(float *)((int)this + 0x340); + iVar15 = *(int *)pEVar25; + (pEVar25->_velocity).x = g_vectorZero.x; + (pEVar25->_velocity).y = g_vectorZero.y; + (**(code **)(iVar15 + 4))(); + iVar15 = *(int *)((int)pGStack_324->_room + 0x1214); + *(int *)((int)pGStack_324->_room + 0x1214) = iVar15 + 1; + pEVar25->_index = iVar15; + EntityList::AddEntity(pEVar25); + bVar13 = Entity::IsActiveEnemy((Entity *)this,1); + if (bVar13 != 0) { if ((*(uint *)((int)this + 0x16c) & 0x10000000) == 0) { - cVar13 = Entity::HasEntityFlags(0x20000000,0); - if (cVar13 != '\0') { + cVar14 = Entity::HasEntityFlags(0x20000000,0); + if (cVar14 != '\0') { addEnemyKillScore = 0; - bVar12 = 0; - iVar14 = -1; + bVar13 = 0; + iVar15 = -1; ref = (EntityRef *)EntityRef::EntityRef(); - Entity::AddCharmed(pEVar24,ref,iVar14,bVar12,addEnemyKillScore); + Entity::AddCharmed(pEVar25,ref,iVar15,bVar13,addEnemyKillScore); } } else { - uVar26 = *(uint *)((int)&pEVar24->_flags + 4); - uVar15 = (undefined4)pEVar24->_flags; - *(undefined4 *)&pEVar24->_flags = uVar15; - *(uint *)((int)&pEVar24->_flags + 4) = uVar26 | 0x10000000; + uVar27 = *(uint *)((int)&pEVar25->_flags + 4); + uVar16 = (undefined4)pEVar25->_flags; + *(undefined4 *)&pEVar25->_flags = uVar16; + *(uint *)((int)&pEVar25->_flags + 4) = uVar27 | 0x10000000; if ((uStack_338 != 9) && (uStack_338 != 7)) { - *(undefined4 *)&pEVar24->_flags = uVar15; - *(uint *)((int)&pEVar24->_flags + 4) = uVar26 | 0x10000020; + *(undefined4 *)&pEVar25->_flags = uVar16; + *(uint *)((int)&pEVar25->_flags + 4) = uVar27 | 0x10000020; } - pvStack_2b8 = *(void **)((int)this + 0x264); - if (pvStack_2b8 == (void *)0x0) { - auStack_2dc._0_4_ = 0; - auStack_2dc._4_4_ = 0; - auStack_2dc._8_4_ = 0; - auStack_2dc._12_4_ = 0; + EStack_2dc._entity = *(void **)((int)this + 0x264); + if (EStack_2dc._entity == (void *)0x0) { + EStack_2dc._type = 0; + EStack_2dc._variant = 0; + EStack_2dc._spawnerType = 0; + EStack_2dc._spawnerVariant = 0; fStack_1d8 = g_vectorZero.x; fStack_1d4 = g_vectorZero.y; - auStack_2dc._16_4_ = g_vectorZero.x; - auStack_2dc._20_4_ = g_vectorZero.y; + EStack_2dc._position.x = g_vectorZero.x; + EStack_2dc._position.y = g_vectorZero.y; fStack_208 = g_vectorZero.x; fStack_204 = g_vectorZero.y; - auStack_2dc._24_4_ = g_vectorZero.x; - fStack_2c0 = g_vectorZero.y; + EStack_2dc._velocity.x = g_vectorZero.x; + EStack_2dc._velocity.y = g_vectorZero.y; LAB_00468d9e: pEStack_348 = (Entity *)0x0; - if (pvStack_2b8 != (void *)0x0) goto LAB_00468da8; + if (EStack_2dc._entity != (void *)0x0) goto LAB_00468da8; pEStack_348 = (Entity *)0x0; LAB_00468dc8: pvStack_328 = (void *)0x0; - if (pvStack_2b8 != (void *)0x0) goto LAB_00468dd4; + if (EStack_2dc._entity != (void *)0x0) goto LAB_00468dd4; LAB_00468ded: - uStack_2bc = 0; + EStack_2dc._flags = 0; } else { - auStack_2dc._0_4_ = *(int *)((int)pvStack_2b8 + 0x28); - auStack_2dc._16_4_ = *(float *)((int)pvStack_2b8 + 0x33c); - auStack_2dc._20_4_ = *(float *)((int)pvStack_2b8 + 0x340); - auStack_2dc._4_4_ = *(int *)((int)pvStack_2b8 + 0x2c); - auStack_2dc._8_4_ = *(int *)((int)pvStack_2b8 + 0x34); - auStack_2dc._12_4_ = *(int *)((int)pvStack_2b8 + 0x38); - auStack_2dc._24_4_ = *(float *)((int)pvStack_2b8 + 0x360); - fStack_2c0 = *(float *)((int)pvStack_2b8 + 0x364); - fStack_1e8 = (float)auStack_2dc._16_4_; - fStack_1e4 = (float)auStack_2dc._20_4_; - fStack_1e0 = (float)auStack_2dc._24_4_; - fStack_1dc = fStack_2c0; - if ((*(uint *)((int)pvStack_2b8 + 0x168) & 0x100) == 0) goto LAB_00468d9e; + EStack_2dc._type = *(int *)((int)EStack_2dc._entity + 0x28); + EStack_2dc._position.x = *(float *)((int)EStack_2dc._entity + 0x33c); + EStack_2dc._position.y = *(float *)((int)EStack_2dc._entity + 0x340); + EStack_2dc._variant = *(int *)((int)EStack_2dc._entity + 0x2c); + EStack_2dc._spawnerType = *(int *)((int)EStack_2dc._entity + 0x34); + EStack_2dc._spawnerVariant = *(int *)((int)EStack_2dc._entity + 0x38); + EStack_2dc._velocity.x = *(float *)((int)EStack_2dc._entity + 0x360); + EStack_2dc._velocity.y = *(float *)((int)EStack_2dc._entity + 0x364); + fStack_1e8 = EStack_2dc._position.x; + fStack_1e4 = EStack_2dc._position.y; + fStack_1e0 = EStack_2dc._velocity.x; + fStack_1dc = EStack_2dc._velocity.y; + if ((*(uint *)((int)EStack_2dc._entity + 0x168) & 0x100) == 0) goto LAB_00468d9e; pEStack_348 = (Entity *)0x1; LAB_00468da8: - if ((*(uint *)((int)pvStack_2b8 + 0x168) & 0x20000000) == 0) goto LAB_00468dc8; + if ((*(uint *)((int)EStack_2dc._entity + 0x168) & 0x20000000) == 0) goto LAB_00468dc8; pvStack_328 = (void *)0x2; LAB_00468dd4: - if ((*(uint *)((int)pvStack_2b8 + 0x16c) & 0x400000) == 0) goto LAB_00468ded; - uStack_2bc = 4; + if ((*(uint *)((int)EStack_2dc._entity + 0x16c) & 0x400000) == 0) goto LAB_00468ded; + EStack_2dc._flags = 4; } - uStack_2bc = (uint)pEStack_348 | (uint)pvStack_328 | uStack_2bc; - Entity::AddCharmed(pEVar24,(EntityRef *)auStack_2dc,-1,0,0); + EStack_2dc._flags = (uint)pEStack_348 | (uint)pvStack_328 | EStack_2dc._flags; + Entity::AddCharmed(pEVar25,&EStack_2dc,-1,0,0); if (uStack_338 - 10 < 0x3de) { ANM2::LoadDeliriumForm(uStack_340,1); } @@ -71722,265 +71765,265 @@ LAB_00468dd4: uStack_338 = __RTDynamicCast(); pEStack_348 = (Entity *)__RTDynamicCast(); if ((uStack_338 != 0) && (pEStack_348 != (Entity *)0x0)) { - cVar13 = Entity::HasEntityFlags(1,0); - if (cVar13 == '\0') { - cVar13 = Entity::HasEntityFlags(0,0x1000000); - if (cVar13 != '\0') { - auStack_258._0_4_ = 0; - auStack_258._4_4_ = 0; - auStack_258._8_4_ = 0; - auStack_258._12_4_ = 0; + cVar14 = Entity::HasEntityFlags(1,0); + if (cVar14 == '\0') { + cVar14 = Entity::HasEntityFlags(0,0x1000000); + if (cVar14 != '\0') { + EStack_258._type = 0; + EStack_258._variant = 0; + EStack_258._spawnerType = 0; + EStack_258._spawnerVariant = 0; fStack_200 = g_vectorZero.x; fStack_1fc = g_vectorZero.y; - auStack_258._16_4_ = g_vectorZero.x; - auStack_258._20_4_ = g_vectorZero.y; + EStack_258._position.x = g_vectorZero.x; + EStack_258._position.y = g_vectorZero.y; fStack_1f8 = g_vectorZero.x; fStack_1f4 = g_vectorZero.y; - auStack_258._24_4_ = g_vectorZero.x; - fStack_23c = g_vectorZero.y; - uStack_238 = 0; - pvStack_234 = (void *)0x0; - Entity::AddBrimstoneMark(pEStack_348,(EntityRef *)auStack_258,0x5a); + EStack_258._velocity.x = g_vectorZero.x; + EStack_258._velocity.y = g_vectorZero.y; + EStack_258._flags = 0; + EStack_258._entity = (void *)0x0; + Entity::AddBrimstoneMark(pEStack_348,&EStack_258,0x5a); } - cVar13 = Entity::HasEntityFlags(0x1000000,0); - pEVar21 = pEStack_348; - if (cVar13 != '\0') { - auStack_230._0_4_ = 0; - auStack_230._4_4_ = 0; - auStack_230._8_4_ = 0; - auStack_230._12_4_ = 0; + cVar14 = Entity::HasEntityFlags(0x1000000,0); + pEVar22 = pEStack_348; + if (cVar14 != '\0') { + EStack_230._type = 0; + EStack_230._variant = 0; + EStack_230._spawnerType = 0; + EStack_230._spawnerVariant = 0; fStack_1f0 = g_vectorZero.x; fStack_1ec = g_vectorZero.y; - auStack_230._16_4_ = g_vectorZero.x; - auStack_230._20_4_ = g_vectorZero.y; + EStack_230._position.x = g_vectorZero.x; + EStack_230._position.y = g_vectorZero.y; fStack_2f8 = g_vectorZero.x; fStack_2f4 = g_vectorZero.y; - auStack_230._24_4_ = g_vectorZero.x; - fStack_214 = g_vectorZero.y; - uStack_210 = 0; - pvStack_20c = (void *)0x0; - Entity::AddShrink(pEStack_348,(EntityRef *)auStack_230,0x5a,0,0); - if (0 < pEVar21->_shrinkCountdown) { - uVar15 = *(undefined4 *)((int)&pEVar21->_flags + 4); - *(uint *)&pEVar21->_flags = (uint)pEVar21->_flags | 0x1000000; - *(undefined4 *)((int)&pEVar21->_flags + 4) = uVar15; - pEVar21->_shrinkStatus1 = pEVar21->_shrinkStatus2; + EStack_230._velocity.x = g_vectorZero.x; + EStack_230._velocity.y = g_vectorZero.y; + EStack_230._flags = 0; + EStack_230._entity = (void *)0x0; + Entity::AddShrink(pEStack_348,&EStack_230,0x5a,0,0); + if (0 < pEVar22->_shrinkCountdown) { + uVar16 = *(undefined4 *)((int)&pEVar22->_flags + 4); + *(uint *)&pEVar22->_flags = (uint)pEVar22->_flags | 0x1000000; + *(undefined4 *)((int)&pEVar22->_flags + 4) = uVar16; + pEVar22->_shrinkStatus1 = pEVar22->_shrinkStatus2; } } } else { - pEVar21 = pEStack_348; + pEVar22 = pEStack_348; } - fVar34 = *(float *)(uStack_338 + 0xf48) * pEVar21[3]._pendingDamage; - pEVar21[3]._pendingDamage = fVar34; - fVar34 = fVar34 * pEVar21->_shrinkStatus1; - fVar16 = fVar34 * g_vectorOne.x; - (pEVar21->_sprite)._scale.y = fVar34 * g_vectorOne.y; - (pEVar21->_sprite)._scale.x = fVar16; - pEVar21[3]._burnTickDamage = *(float *)(uStack_338 + 0xf48) * pEVar21[3]._burnTickDamage + fVar35 = *(float *)(uStack_338 + 0xf48) * pEVar22[3]._pendingDamage; + pEVar22[3]._pendingDamage = fVar35; + fVar35 = fVar35 * pEVar22->_shrinkStatus1; + fVar17 = fVar35 * g_vectorOne.x; + (pEVar22->_sprite)._scale.y = fVar35 * g_vectorOne.y; + (pEVar22->_sprite)._scale.x = fVar17; + pEVar22[3]._burnTickDamage = *(float *)(uStack_338 + 0xf48) * pEVar22[3]._burnTickDamage ; - pEVar21[3]._poisonTickDamage = - *(float *)(uStack_338 + 0xf44) * pEVar21[3]._poisonTickDamage; - pEVar21->_maxHitPoints = *(float *)(uStack_338 + 0xf44) * pEVar21->_maxHitPoints; - pcVar3 = *(code **)(*(int *)pEVar21 + 0x4c); - pEVar21->_health = *(float *)(uStack_338 + 0xf44) * pEVar21->_health; - cVar13 = (*pcVar3)(); - if (cVar13 != '\0') { - ppvVar27 = &pEVar21[3]._config; + pEVar22[3]._poisonTickDamage = + *(float *)(uStack_338 + 0xf44) * pEVar22[3]._poisonTickDamage; + pEVar22->_maxHitPoints = *(float *)(uStack_338 + 0xf44) * pEVar22->_maxHitPoints; + pcVar4 = *(code **)(*(int *)pEVar22 + 0x4c); + pEVar22->_health = *(float *)(uStack_338 + 0xf44) * pEVar22->_health; + cVar14 = (*pcVar4)(); + if (cVar14 != '\0') { + ppvVar28 = &pEVar22[3]._config; pvStack_328 = *(void **)(uStack_338 + 0xf54); - if (*ppvVar27 != pvStack_328) { - if (*ppvVar27 != (void *)0x0) { - pEStack_320 = (Entity *)ppvVar27; + if (*ppvVar28 != pvStack_328) { + if (*ppvVar28 != (void *)0x0) { + pEStack_320 = (Entity *)ppvVar28; std::multiset::erase(&pEStack_320); } - *ppvVar27 = pvStack_328; + *ppvVar28 = pvStack_328; if (pvStack_328 != (void *)0x0) { - std::multiset::insert(ppvVar27); + std::multiset::insert(ppvVar28); } } } } } - cVar13 = Game::ShouldEraseEnemy(pEVar24); - if (cVar13 != '\0') { - Entity::RemoveWithPoof(pEVar24,extraout_ECX); + cVar14 = Game::ShouldEraseEnemy(pEVar25); + if (cVar14 != '\0') { + Entity::RemoveWithPoof(pEVar25,extraout_ECX); } - if ((pEVar24->_exists != 0) && + if ((pEVar25->_exists != 0) && ((pGStack_324->_proceduralItemManager)._proceduralItems._begin != (pGStack_324->_proceduralItemManager)._proceduralItems._end)) { - iStack_278 = pEVar24->_variant; - puVar23 = &pGStack_324->field_0x67780; - iStack_27c = pEVar24->_type; + iStack_278 = pEVar25->_variant; + psVar1 = &(pGStack_324->_proceduralItemManager)._spawnTriggerTargets; + iStack_27c = pEVar25->_type; std::map::find(&pfStack_32c,&iStack_27c); - if (pfStack_32c == *(float **)puVar23) { - aiStack_2b4[0] = pEVar24->_type; + if (pfStack_32c == psVar1->_head) { + aiStack_2b4[0] = pEVar25->_type; aiStack_2b4[1] = 0xffffffff; - piVar17 = (int *)std::map::find(&fStack_2f0,aiStack_2b4); - pfStack_32c = (float *)*piVar17; - if (pfStack_32c == *(float **)puVar23) goto LAB_004692a0; + piVar18 = (int *)std::map::find(&fStack_2f0,aiStack_2b4); + pfStack_32c = (float *)*piVar18; + if (pfStack_32c == psVar1->_head) goto LAB_004692a0; } - pPVar31 = &g_game->_playerManager; + pPVar32 = &g_game->_playerManager; pEStack_348 = (Entity *)0x0; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar31->_playerList)._begin >> + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar32->_playerList)._begin >> 2 != 0) { do { - if ((int)(pPVar31->_playerList)._end - (int)(pPVar31->_playerList)._begin >> 2 == 0) { + if ((int)(pPVar32->_playerList)._end - (int)(pPVar32->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } trigger_set_dispatch(); - pPVar31 = &g_game->_playerManager; + pPVar32 = &g_game->_playerManager; pEStack_348 = (Entity *)&pEStack_348->field_0x1; } while (pEStack_348 < (undefined1 *) ((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar31->_playerList)._begin >> 2)); + (int)(pPVar32->_playerList)._begin >> 2)); } } LAB_004692a0: - uVar37 = GetTimeNs(); - pfStack_32c = (float *)(uVar37 >> 0x20); - lVar5 = (uVar37 & 0xffffffff) * 0x431bde82; - pEStack_320 = (Entity *)((ulonglong)lVar5 >> 0x20); + uVar38 = GetTimeNs(); + pfStack_32c = (float *)(uVar38 >> 0x20); + lVar6 = (uVar38 & 0xffffffff) * 0x431bde82; + pEStack_320 = (Entity *)((ulonglong)lVar6 >> 0x20); pAStack_334 = (ANM2 *)(ZEXT48(pfStack_32c) * 0xd7b634db >> 0x20); - lVar4 = ZEXT48(pfStack_32c) * 0x431bde82; - uVar37 = ZEXT48(pfStack_32c) * 0xd7b634db + ((uVar37 & 0xffffffff) * 0xd7b634db >> 0x20); - uVar29 = (uint)(uVar37 >> 0x20); - lVar5 = lVar5 + (uVar37 & 0xffffffff); - fStack_2f8 = (float)lVar5; - uVar26 = (uint)((ulonglong)lVar5 >> 0x20); - lVar5 = lVar4 + (ulonglong)CONCAT14(CARRY4(uVar29,uVar26),uVar29 + uVar26); - uVar29 = (uint)((ulonglong)lVar5 >> 0x20); - piVar17 = (int *)((uint)lVar5 >> 0x12 | uVar29 * 0x4000); - uVar26 = (int)piVar17 - (int)piStack_310; - bVar32 = CARRY4((uint)g_entitySpawnTimeMs,uVar26); - g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar26; + lVar5 = ZEXT48(pfStack_32c) * 0x431bde82; + uVar38 = ZEXT48(pfStack_32c) * 0xd7b634db + ((uVar38 & 0xffffffff) * 0xd7b634db >> 0x20); + uVar30 = (uint)(uVar38 >> 0x20); + lVar6 = lVar6 + (uVar38 & 0xffffffff); + fStack_2f8 = (float)lVar6; + uVar27 = (uint)((ulonglong)lVar6 >> 0x20); + lVar6 = lVar5 + (ulonglong)CONCAT14(CARRY4(uVar30,uVar27),uVar30 + uVar27); + uVar30 = (uint)((ulonglong)lVar6 >> 0x20); + piVar18 = (int *)((uint)lVar6 >> 0x12 | uVar30 * 0x4000); + uVar27 = (int)piVar18 - (int)piStack_310; + bVar33 = CARRY4((uint)g_entitySpawnTimeMs,uVar27); + g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar27; g_entitySpawnTimeMs._4_4_ = g_entitySpawnTimeMs._4_4_ + - (((uVar29 >> 0x12) - (int)fStack_344) - (uint)(piVar17 < piStack_310)) + (uint)bVar32; + (((uVar30 >> 0x12) - (int)fStack_344) - (uint)(piVar18 < piStack_310)) + (uint)bVar33; npc = (Entity_NPC *)local_30c; } - pIStack_31c = (ItemPool *)((ulonglong)lVar4 >> 0x20); - pEStack_308 = (EntityPtr *)lVar4; + pIStack_31c = (ItemPool *)((ulonglong)lVar5 >> 0x20); + pEStack_308 = (EntityPtr *)lVar5; in_stack_fffffc94._h._0_4_ = local_33c; in_stack_fffffc94._l = 0x46934a00000000; in_stack_fffffc94._h._4_4_ = (Vector *)0x0; - piVar17 = (int *)__RTDynamicCast(); - fVar16 = g_vectorOne.y * 2.0; - piVar17[0x39] = (int)(g_vectorOne.x * 2.0); - piVar17[0x3a] = (int)fVar16; - (**(code **)(*piVar17 + 0xc))(); + piVar18 = (int *)__RTDynamicCast(); + fVar17 = g_vectorOne.y * 2.0; + piVar18[0x39] = (int)(g_vectorOne.x * 2.0); + piVar18[0x3a] = (int)fVar17; + (**(code **)(*piVar18 + 0xc))(); } } - iVar14 = (int)*(float *)((int)npc + 0x3a4) - (int)*(float *)((int)npc + 0x3a0); + iVar15 = (int)*(float *)((int)npc + 0x3a4) - (int)*(float *)((int)npc + 0x3a0); *(float *)((int)npc + 0x36c) = *(float *)((int)npc + 0x36c) * 0.8; switch(*(int *)((int)npc + 0xb64)) { case 3: - cVar13 = Entity::HasEntityFlags(0,0x10000000); - if (((cVar13 == '\0') || ((*(byte *)(*(int *)((int)g_game->_room + 4) + 0x44) & 1) == 0)) && - (uVar26 = Random(), uVar26 % 0x14 == 0)) { + cVar14 = Entity::HasEntityFlags(0,0x10000000); + if (((cVar14 == '\0') || ((*(byte *)(*(int *)((int)g_game->_room + 4) + 0x44) & 1) == 0)) && + (uVar27 = Random(), uVar27 % 0x14 == 0)) { afStack_48[0] = 8.40779e-45; afStack_48[1] = 1.26117e-44; afStack_48[2] = 1.26117e-44; afStack_48[3] = 1.12104e-44; afStack_48[4] = 1.12104e-44; - iVar19 = *(int *)((int)g_game->_room + 0x12c4) + *(int *)((int)g_game->_room + 0x12c0); - iVar14 = 0; - if (0 < iVar19) { - iVar14 = iVar19; + iVar20 = *(int *)((int)g_game->_room + 0x12c4) + *(int *)((int)g_game->_room + 0x12c0); + iVar15 = 0; + if (0 < iVar20) { + iVar15 = iVar20; } - if (iVar14 < 4) { - uVar26 = Random(); - uVar29 = 5; + if (iVar15 < 4) { + uVar27 = Random(); + uVar30 = 5; } else { - uVar26 = Random(); - uVar29 = 3; + uVar27 = Random(); + uVar30 = 3; } - *(float *)((int)npc + 0xb64) = afStack_48[uVar26 % uVar29]; + *(float *)((int)npc + 0xb64) = afStack_48[uVar27 % uVar30]; *(int *)((int)npc + 0x410) = 0; *(int *)((int)npc + 0xbc4) = 0; } break; case 4: ANM2::Play((ANM2 *)((int)npc + 0x48),&DAT_00b1cddc,0); - cVar13 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),s_Land); - *(uint *)((int)npc + 0x188) = -(uint)(cVar13 != '\0') & 4; - cVar13 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),s_Land); - if ((cVar13 != '\0') && (0 < iVar14)) { + cVar14 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),s_Land); + *(uint *)((int)npc + 0x188) = -(uint)(cVar14 != '\0') & 4; + cVar14 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),s_Land); + if ((cVar14 != '\0') && (0 < iVar15)) { do { - iVar19 = *(int *)((int)npc + 0x410) + 1; - *(int *)((int)npc + 0x410) = iVar19; - if ((*(int *)((int)npc + 0x2c) == 1) && (iVar19 < 0x18)) { - iVar19 = Random(); - fVar16 = (float)((double)iVar19 + __uint_to_double_fixup[-(iVar19 >> 0x1f)]) * + iVar20 = *(int *)((int)npc + 0x410) + 1; + *(int *)((int)npc + 0x410) = iVar20; + if ((*(int *)((int)npc + 0x2c) == 1) && (iVar20 < 0x18)) { + iVar20 = Random(); + fVar17 = (float)((double)iVar20 + __uint_to_double_fixup[-(iVar20 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pVVar35 = (Vector *)(fVar16 + fVar16); + pVVar36 = (Vector *)(fVar17 + fVar17); local_33c = (Entity *) ((float)*(int *)((int)npc + 0x410) + (float)*(int *)((int)npc + 0x410) + 50.0) ; - pAStack_334 = (ANM2 *)pVVar35; + pAStack_334 = (ANM2 *)pVVar36; cos(); - fStack_29c = (float)pVVar35 * (float)local_33c + ((Vector *)((int)npc + 0x33c))->x; - pAVar33 = pAStack_334; + fStack_29c = (float)pVVar36 * (float)local_33c + ((Vector *)((int)npc + 0x33c))->x; + pAVar34 = pAStack_334; sin(); - fStack_298 = (float)pAVar33 * (float)local_33c + *(float *)((int)npc + 0x340); - uVar15 = Random(); - auVar53._0_8_ = in_stack_fffffc94._l; - auVar53._8_4_ = &g_vectorZero; - auVar53._12_4_ = npc; - auVar11._4_8_ = auVar53._8_8_; - auVar11._0_4_ = &fStack_29c; - uVar15 = Game::SpawnEx(g_game,1000,0x19,auVar11,0,uVar15,0); - in_stack_fffffc94._h._0_4_ = (Entity *)uVar15; + fStack_298 = (float)pAVar34 * (float)local_33c + *(float *)((int)npc + 0x340); + uVar16 = Random(); + auVar54._0_8_ = in_stack_fffffc94._l; + auVar54._8_4_ = &g_vectorZero; + auVar54._12_4_ = npc; + auVar12._4_8_ = auVar54._8_8_; + auVar12._0_4_ = &fStack_29c; + uVar16 = Game::SpawnEx(g_game,1000,0x19,auVar12,0,uVar16,0); + in_stack_fffffc94._h._0_4_ = (Entity *)uVar16; in_stack_fffffc94._l = 0x469ea400000000; in_stack_fffffc94._h._4_4_ = (Vector *)0x0; - piVar17 = (int *)__RTDynamicCast(); - fVar34 = (float)*(int *)((int)npc + 0x410) * 0.05 + 1.0; - fVar16 = fVar34 * g_vectorOne.x; - piVar17[0x3a] = (int)(fVar34 * g_vectorOne.y); - piVar17[0x39] = (int)fVar16; - (**(code **)(*piVar17 + 0xc))(); + piVar18 = (int *)__RTDynamicCast(); + fVar35 = (float)*(int *)((int)npc + 0x410) * 0.05 + 1.0; + fVar17 = fVar35 * g_vectorOne.x; + piVar18[0x3a] = (int)(fVar35 * g_vectorOne.y); + piVar18[0x39] = (int)fVar17; + (**(code **)(*piVar18 + 0xc))(); } - iVar14 = iVar14 + -1; - } while (iVar14 != 0); + iVar15 = iVar15 + -1; + } while (iVar15 != 0); } - iVar14 = ANM2::GetFrame((ANM2 *)((int)npc + 0x48)); - if (iVar14 == 0) { - pEVar24 = Entity_NPC::GetPlayerTarget(npc); - fVar16 = *(float *)((int)npc + 0x338); - ((Vector *)((int)npc + 0x33c))->x = (pEVar24->_pos).x; - *(float *)((int)npc + 0x340) = fVar16; + iVar15 = ANM2::GetFrame((ANM2 *)((int)npc + 0x48)); + if (iVar15 == 0) { + pEVar25 = Entity_NPC::GetPlayerTarget(npc); + fVar17 = *(float *)((int)npc + 0x338); + ((Vector *)((int)npc + 0x33c))->x = (pEVar25->_pos).x; + *(float *)((int)npc + 0x340) = fVar17; } break; case 6: - cVar13 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),s_Jump); - iVar14 = 4; - if (cVar13 != '\0') { - iVar14 = 0; + cVar14 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),s_Jump); + iVar15 = 4; + if (cVar14 != '\0') { + iVar15 = 0; } - bVar12 = 0; - *(int *)((int)npc + 0x188) = iVar14; - pcVar54 = (char *)&DAT_00b1cde4; + bVar13 = 0; + *(int *)((int)npc + 0x188) = iVar15; + pcVar55 = (char *)&DAT_00b1cde4; goto LAB_0046a02e; case 7: if (*(int *)((int)npc + 0xba4) < 1) { - cVar13 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),s_Jump); - if ((cVar13 == '\0') && - (cVar13 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),s_Land), cVar13 != '\0')) { - iVar14 = 4; + cVar14 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),s_Jump); + if ((cVar14 == '\0') && + (cVar14 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),s_Land), cVar14 != '\0')) { + iVar15 = 4; } else { - iVar14 = 0; + iVar15 = 0; } - *(int *)((int)npc + 0x188) = iVar14; + *(int *)((int)npc + 0x188) = iVar15; if (*(int *)((int)npc + 0xbc0) == 0) { - iVar14 = ANM2::GetFrame((ANM2 *)((int)npc + 0x48)); - if (iVar14 == 0) { - pEVar24 = Entity_NPC::GetPlayerTarget(npc); - fVar16 = (pEVar24->_pos).y; - ((Vector *)((int)npc + 0x33c))->x = (pEVar24->_pos).x; - *(float *)((int)npc + 0x340) = fVar16; + iVar15 = ANM2::GetFrame((ANM2 *)((int)npc + 0x48)); + if (iVar15 == 0) { + pEVar25 = Entity_NPC::GetPlayerTarget(npc); + fVar17 = (pEVar25->_pos).y; + ((Vector *)((int)npc + 0x33c))->x = (pEVar25->_pos).x; + *(float *)((int)npc + 0x340) = fVar17; } } else { @@ -71988,31 +72031,31 @@ LAB_004692a0: if (4 < (int)pAStack_334) { pAStack_334 = (ANM2 *)0x4; } - if (((int)pAStack_334 / 2 == 0) || (pcVar54 = "StompLeg", *(int *)((int)npc + 0x2c) == 1)) { - pcVar54 = "StompArm"; + if (((int)pAStack_334 / 2 == 0) || (pcVar55 = "StompLeg", *(int *)((int)npc + 0x2c) == 1)) { + pcVar55 = "StompArm"; } - ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)pcVar54,0); + ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)pcVar55,0); *(byte *)((int)npc + 0x148) = ~(byte)pAStack_334 & 1; } break; } - iVar14 = *(int *)((int)npc + 0xba4) - iVar14; - *(int *)((int)npc + 0xba4) = iVar14; - if (0 < iVar14) break; - bVar12 = 1; - pcVar54 = "StompArm"; + iVar15 = *(int *)((int)npc + 0xba4) - iVar15; + *(int *)((int)npc + 0xba4) = iVar15; + if (0 < iVar15) break; + bVar13 = 1; + pcVar55 = "StompArm"; LAB_0046a02e: - ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)pcVar54,bVar12); + ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)pcVar55,bVar13); break; case 8: ANM2::Play((ANM2 *)((int)npc + 0x48),s_Attack1,0); - cVar13 = Sprite::IsEventTriggered((Sprite *)((int)npc + 0x48),"Shoot"); - if (cVar13 != '\0') { - auVar43._0_8_ = in_stack_fffffc94._l; - auVar43._8_4_ = 0x10; - auVar43._12_4_ = 0x3f800000; - auVar44._8_8_ = auVar43._8_8_; - auVar44._0_8_ = 0x46940800000000; + cVar14 = Sprite::IsEventTriggered((Sprite *)((int)npc + 0x48),"Shoot"); + if (cVar14 != '\0') { + auVar44._0_8_ = in_stack_fffffc94._l; + auVar44._8_4_ = 0x10; + auVar44._12_4_ = 0x3f800000; + auVar45._8_8_ = auVar44._8_8_; + auVar45._0_8_ = 0x46940800000000; Entity_NPC::PlaySound(npc,0x10,1.0,2,0,1.0); CStack_11c._offset[0] = 0.4; CStack_11c._colorize[0] = 0.0; @@ -72025,136 +72068,136 @@ LAB_0046a02e: CStack_11c._tint[3] = 0.55; CStack_11c._offset[1] = 0.38; CStack_11c._offset[2] = 0.34; - pEVar18 = Entity_NPC::MakeBloodCloud(npc,(Vector *)((int)npc + 0x33c),&CStack_11c); - (pEVar18->_posOffset).x = 0.0; - (pEVar18->_posOffset).y = -26.0; + pEVar19 = Entity_NPC::MakeBloodCloud(npc,(Vector *)((int)npc + 0x33c),&CStack_11c); + (pEVar19->_posOffset).x = 0.0; + (pEVar19->_posOffset).y = -26.0; if (*(int *)((int)npc + 0x2c) == 0) { - uVar26 = Random(); - iVar14 = (uVar26 & 1) + 2; - cVar13 = Entity::HasEntityFlags(0,0x10000000); - if (cVar13 != '\0') { - auVar44._8_4_ = 0x4694ac; - auVar44._12_4_ = 0x55; - iVar19 = Entity::CountRelatedEntities(); - if (3 - iVar19 <= iVar14) { - iVar14 = 3 - iVar19; + uVar27 = Random(); + iVar15 = (uVar27 & 1) + 2; + cVar14 = Entity::HasEntityFlags(0,0x10000000); + if (cVar14 != '\0') { + auVar45._8_4_ = 0x4694ac; + auVar45._12_4_ = 0x55; + iVar20 = Entity::CountRelatedEntities(); + if (3 - iVar20 <= iVar15) { + iVar15 = 3 - iVar20; } } - if (0 < iVar14) { - pVVar35 = (Vector *)((int)npc + 0x33c); + if (0 < iVar15) { + pVVar36 = (Vector *)((int)npc + 0x33c); do { - auVar45._0_8_ = auVar44._0_8_; - auVar45._8_4_ = pVVar35; - auVar45._12_4_ = 0x42c80000; - auVar46._8_8_ = auVar45._8_8_; - auVar46._4_4_ = &fStack_2e4; - auVar46._0_4_ = 0x4694f0; + auVar46._0_8_ = auVar45._0_8_; + auVar46._8_4_ = pVVar36; + auVar46._12_4_ = 0x42c80000; + auVar47._8_8_ = auVar46._8_8_; + auVar47._4_4_ = &fStack_2e4; + auVar47._0_4_ = 0x4694f0; Room::FindFreePickupSpawnPosition(); - uVar15 = Random(); - auVar47._0_8_ = auVar46._0_8_; - auVar47._8_4_ = &g_vectorZero; - auVar47._12_4_ = npc; - auVar8._4_8_ = auVar47._8_8_; - auVar8._0_4_ = &fStack_2e4; - uVar15 = Game::SpawnEx(g_game,0x55,0,auVar8,0,uVar15,0); - auVar44._8_4_ = uVar15; - auVar44._0_8_ = 0x46952b00000000; - auVar44._12_4_ = 0; - iVar19 = __RTDynamicCast(); + uVar16 = Random(); + auVar48._0_8_ = auVar47._0_8_; + auVar48._8_4_ = &g_vectorZero; + auVar48._12_4_ = npc; + auVar9._4_8_ = auVar48._8_8_; + auVar9._0_4_ = &fStack_2e4; + uVar16 = Game::SpawnEx(g_game,0x55,0,auVar9,0,uVar16,0); + auVar45._8_4_ = uVar16; + auVar45._0_8_ = 0x46952b00000000; + auVar45._12_4_ = 0; + iVar20 = __RTDynamicCast(); pAStack_334 = (ANM2 *)&g_game->_room; - pvVar2 = *(void **)pAStack_334; + pvVar3 = *(void **)pAStack_334; fStack_344 = (float)(int)((fStack_2e4 - 40.0) / 40.0 + 0.5); - iVar20 = (int)((fStack_2e0 - 120.0) / 40.0 + 0.5); + iVar21 = (int)((fStack_2e0 - 120.0) / 40.0 + 0.5); if ((((-1 < (int)fStack_344) && - (npc = (Entity_NPC *)local_30c, (int)fStack_344 < *(int *)((int)pvVar2 + 0xc))) && - (-1 < iVar20)) && - (((iVar20 < *(int *)((int)pvVar2 + 0x10) && - (uVar26 = iVar20 * *(int *)((int)pvVar2 + 0xc) + (int)fStack_344, uVar26 < 0x1c0)) - && (*(int *)((int)pvVar2 + uVar26 * 4 + 0x76c) < 0x3b7)))) { - *(undefined4 *)((int)pvVar2 + uVar26 * 4 + 0x76c) = 900; + (npc = (Entity_NPC *)local_30c, (int)fStack_344 < *(int *)((int)pvVar3 + 0xc))) && + (-1 < iVar21)) && + (((iVar21 < *(int *)((int)pvVar3 + 0x10) && + (uVar27 = iVar21 * *(int *)((int)pvVar3 + 0xc) + (int)fStack_344, uVar27 < 0x1c0)) + && (*(int *)((int)pvVar3 + uVar27 * 4 + 0x76c) < 0x3b7)))) { + *(undefined4 *)((int)pvVar3 + uVar27 * 4 + 0x76c) = 900; } - fVar16 = *(float *)(iVar19 + 0x33c); - pVVar35 = (Vector *)((int)npc + 0x33c); - *(float *)(iVar19 + 0x334) = fVar16; - fVar34 = *(float *)(iVar19 + 0x340); - *(float *)(iVar19 + 0x338) = fVar34; - fVar36 = pVVar35->x; - *(float *)(iVar19 + 0x33c) = fVar36; - fVar1 = *(float *)((int)npc + 0x340); - *(float *)(iVar19 + 0x340) = fVar1; - *(undefined4 *)(iVar19 + 0xb64) = 6; - *(undefined4 *)(iVar19 + 0xbbc) = 0xc1000000; - fVar36 = (fVar16 - fVar36) * 0.04; - fVar16 = (fVar34 - fVar1) * 0.04; - *(float *)(iVar19 + 0x360) = fVar36; - *(float *)(iVar19 + 0xbb0) = fVar36; - *(float *)(iVar19 + 0x364) = fVar16; - *(float *)(iVar19 + 0xbb4) = fVar16; - *(float *)(iVar19 + 0x350) = *(float *)(iVar19 + 0x350) - 10.0; - iVar14 = iVar14 + -1; - } while (iVar14 != 0); + fVar17 = *(float *)(iVar20 + 0x33c); + pVVar36 = (Vector *)((int)npc + 0x33c); + *(float *)(iVar20 + 0x334) = fVar17; + fVar35 = *(float *)(iVar20 + 0x340); + *(float *)(iVar20 + 0x338) = fVar35; + fVar37 = pVVar36->x; + *(float *)(iVar20 + 0x33c) = fVar37; + fVar2 = *(float *)((int)npc + 0x340); + *(float *)(iVar20 + 0x340) = fVar2; + *(undefined4 *)(iVar20 + 0xb64) = 6; + *(undefined4 *)(iVar20 + 0xbbc) = 0xc1000000; + fVar37 = (fVar17 - fVar37) * 0.04; + fVar17 = (fVar35 - fVar2) * 0.04; + *(float *)(iVar20 + 0x360) = fVar37; + *(float *)(iVar20 + 0xbb0) = fVar37; + *(float *)(iVar20 + 0x364) = fVar17; + *(float *)(iVar20 + 0xbb4) = fVar17; + *(float *)(iVar20 + 0x350) = *(float *)(iVar20 + 0x350) - 10.0; + iVar15 = iVar15 + -1; + } while (iVar15 != 0); } } else { - cVar13 = Entity::HasEntityFlags(0,0x10000000); - if (cVar13 != '\0') { - auVar44._8_4_ = 0x4696a3; - auVar44._12_4_ = 0x1d; - uVar26 = Entity::CountRelatedEntities(); - if (2 < uVar26) break; + cVar14 = Entity::HasEntityFlags(0,0x10000000); + if (cVar14 != '\0') { + auVar45._8_4_ = 0x4696a3; + auVar45._12_4_ = 0x1d; + uVar27 = Entity::CountRelatedEntities(); + if (2 < uVar27) break; } - uVar15 = Random(); - auVar48._0_8_ = auVar44._0_8_; - auVar48._8_4_ = &g_vectorZero; - auVar48._12_4_ = npc; - auVar9._4_8_ = auVar48._8_8_; - auVar9._0_4_ = (Vector *)((int)npc + 0x33c); - Game::SpawnEx(g_game,0x1d,1,auVar9,0,uVar15,0); - pEVar24 = (Entity *)__RTDynamicCast(); - pEStack_320 = pEVar24; - pEVar21 = Entity_NPC::GetPlayerTarget(npc); - fVar16 = (pEVar21->_pos).y; - pAStack_334 = &pEVar24->_sprite; - (pEVar24->_targetPosition).x = (pEVar21->_pos).x; - (pEVar24->_targetPosition).y = fVar16; - pEVar24[2]._posOffset.x = 5.60519e-45; - *(undefined4 *)&pEVar24[1].field_0x4 = 5; - bVar12 = ANM2::SetAnimation(pAStack_334,&DAT_00b1de1c,1); - pAVar33 = pAStack_334; - if (bVar12 != 0) { + uVar16 = Random(); + auVar49._0_8_ = auVar45._0_8_; + auVar49._8_4_ = &g_vectorZero; + auVar49._12_4_ = npc; + auVar10._4_8_ = auVar49._8_8_; + auVar10._0_4_ = (Vector *)((int)npc + 0x33c); + Game::SpawnEx(g_game,0x1d,1,auVar10,0,uVar16,0); + pEVar25 = (Entity *)__RTDynamicCast(); + pEStack_320 = pEVar25; + pEVar22 = Entity_NPC::GetPlayerTarget(npc); + fVar17 = (pEVar22->_pos).y; + pAStack_334 = &pEVar25->_sprite; + (pEVar25->_targetPosition).x = (pEVar22->_pos).x; + (pEVar25->_targetPosition).y = fVar17; + pEVar25[2]._posOffset.x = 5.60519e-45; + *(undefined4 *)&pEVar25[1].field_0x4 = 5; + bVar13 = ANM2::SetAnimation(pAStack_334,&DAT_00b1de1c,1); + pAVar34 = pAStack_334; + if (bVar13 != 0) { AnimationState::Rewind(&pAStack_334->_animState); - (pAVar33->_animState)._isPlaying = 1; - pEVar24 = pEStack_320; + (pAVar34->_animState)._isPlaying = 1; + pEVar25 = pEStack_320; } - if ((pEVar24->_sprite)._animState._animData != (void *)0x0) { - AnimationState::SetFrameFloat(&(pEVar24->_sprite)._animState); + if ((pEVar25->_sprite)._animState._animData != (void *)0x0) { + AnimationState::SetFrameFloat(&(pEVar25->_sprite)._animState); } } } break; case 9: ANM2::Play((ANM2 *)((int)npc + 0x48),s_Attack2,0); - cVar13 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),s_Jump); - if ((cVar13 == '\0') || - (cVar13 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),s_Land), cVar13 != '\0')) { - iVar14 = 4; + cVar14 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),s_Jump); + if ((cVar14 == '\0') || + (cVar14 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),s_Land), cVar14 != '\0')) { + iVar15 = 4; } else { - iVar14 = 0; + iVar15 = 0; } - *(int *)((int)npc + 0x188) = iVar14; + *(int *)((int)npc + 0x188) = iVar15; if (*(int *)((int)npc + 0x410) == 0) { *(int *)((int)npc + 0x410) = 1; uStack_304 = (*(int *)((int)npc + 0x2c) != 1) + 3; pAStack_334 = (ANM2 *)Isaac::Random(uStack_304); - iVar14 = 5; - ppvVar27 = apvStack_34; + iVar15 = 5; + ppvVar28 = apvStack_34; do { - ppvVar27[1] = (void *)0x0; - *ppvVar27 = (void *)0x0; - iVar14 = iVar14 + -1; - ppvVar27 = ppvVar27 + 2; - } while (iVar14 != 0); + ppvVar28[1] = (void *)0x0; + *ppvVar28 = (void *)0x0; + iVar15 = iVar15 + -1; + ppvVar28 = ppvVar28 + 2; + } while (iVar15 != 0); apvStack_34[0] = (void *)((Vector *)((int)npc + 0x33c))->x; pVStack_300 = (Vector *)((int)npc + 0x33c); apvStack_34[1] = *(void **)((int)npc + 0x340); @@ -72162,73 +72205,73 @@ LAB_0046a02e: pvStack_328 = (void *)0x0; fStack_344 = 2.24208e-44; do { - pvVar2 = pvStack_328; + pvVar3 = pvStack_328; local_314 = 0.0; local_318 = 0.0; pEStack_320 = Entity_NPC::GetPlayerTarget(npc); - if (pAStack_334 == pvVar2) { + if (pAStack_334 == pvVar3) { pEStack_308 = (EntityPtr *)(pEStack_320->_pos).x; fStack_2fc = (pEStack_320->_pos).y; pIStack_31c = (ItemPool *)(pEStack_320->_velocity).y; pEStack_320 = (Entity *)(pEStack_320->_velocity).x; - iVar14 = Random(); - auVar49._0_8_ = in_stack_fffffc94._l; - auVar49._8_4_ = &fStack_2ac; - auVar49._12_4_ = 0x41a00000; - in_stack_fffffc94._h = auVar49._8_8_; + iVar15 = Random(); + auVar50._0_8_ = in_stack_fffffc94._l; + auVar50._8_4_ = &fStack_2ac; + auVar50._12_4_ = 0x41a00000; + in_stack_fffffc94._h = auVar50._8_8_; in_stack_fffffc94._l._4_4_ = auStack_1c4; - fVar16 = (float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * + fVar17 = (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 20.0; - fStack_2a8 = fVar16 * (float)pIStack_31c + fStack_2fc; - fStack_2ac = fVar16 * (float)pEStack_320 + (float)pEStack_308; + fStack_2a8 = fVar17 * (float)pIStack_31c + fStack_2fc; + fStack_2ac = fVar17 * (float)pEStack_320 + (float)pEStack_308; in_stack_fffffc94._l._0_4_ = 0x469a18; - pfVar22 = (float *)Room::FindFreePickupSpawnPosition(); - iVar14 = Random(); + pfVar23 = (float *)Room::FindFreePickupSpawnPosition(); + iVar15 = Random(); pEStack_348 = (Entity *) - ((float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * + ((float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 40.0 - 20.0); - iVar14 = Random(); - local_314 = (float)pEStack_348 + pfVar22[1]; - local_318 = ((float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * - 2.3283064e-10 * 40.0 - 20.0) + *pfVar22; + iVar15 = Random(); + local_314 = (float)pEStack_348 + pfVar23[1]; + local_318 = ((float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * + 2.3283064e-10 * 40.0 - 20.0) + *pfVar23; } else { - uVar26 = Random(); + uVar27 = Random(); local_33c = (Entity *)0x5; do { - if ((uVar26 & 3) == 0) { - iVar14 = Random(); + if ((uVar27 & 3) == 0) { + iVar15 = Random(); fStack_2a4 = (pEStack_320->_pos).x; fStack_2a0 = (pEStack_320->_pos).y; - auVar50._0_8_ = in_stack_fffffc94._l; - auVar50._8_4_ = &fStack_2a4; - auVar50._12_4_ = - (float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * + auVar51._0_8_ = in_stack_fffffc94._l; + auVar51._8_4_ = &fStack_2a4; + auVar51._12_4_ = + (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 100.0 + 80.0; - puVar23 = auStack_1bc; + puVar24 = auStack_1bc; } else { - iVar14 = Random(); - puVar23 = auStack_1b4; - auVar50._0_8_ = in_stack_fffffc94._l; - auVar50._8_4_ = pVStack_300; - auVar50._12_4_ = - (float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * + iVar15 = Random(); + puVar24 = auStack_1b4; + auVar51._0_8_ = in_stack_fffffc94._l; + auVar51._8_4_ = pVStack_300; + auVar51._12_4_ = + (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 400.0; } - in_stack_fffffc94._h = auVar50._8_8_; - in_stack_fffffc94._l._4_4_ = puVar23; + in_stack_fffffc94._h = auVar51._8_8_; + in_stack_fffffc94._l._4_4_ = puVar24; in_stack_fffffc94._l._0_4_ = 0x469b95; - pfVar22 = (float *)Room::FindFreePickupSpawnPosition(); - iVar14 = Random(); + pfVar23 = (float *)Room::FindFreePickupSpawnPosition(); + iVar15 = Random(); pEStack_348 = (Entity *) - ((float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * + ((float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 40.0 - 20.0); - iVar14 = Random(); - local_314 = (float)pEStack_348 + pfVar22[1]; + iVar15 = Random(); + local_314 = (float)pEStack_348 + pfVar23[1]; local_33c = (Entity *)((int)local_33c + -1); - local_318 = ((float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * - 2.3283064e-10 * 40.0 - 20.0) + *pfVar22; + local_318 = ((float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * + 2.3283064e-10 * 40.0 - 20.0) + *pfVar23; } while (local_33c != (Entity *)0x0); local_33c = (Entity *)0x0; npc = (Entity_NPC *)local_30c; @@ -72236,59 +72279,59 @@ LAB_0046a02e: *pfStack_32c = local_318; pfStack_32c[1] = local_314; pfStack_32c = pfStack_32c + 2; - uVar15 = Random(); - auVar51._0_8_ = in_stack_fffffc94._l; - auVar51._8_4_ = &g_vectorZero; - auVar51._12_4_ = npc; - auVar10._4_8_ = auVar51._8_8_; - auVar10._0_4_ = &local_318; - auVar52._4_12_ = auVar10; - auVar52._0_4_ = *(int *)((int)npc + 0x2c); - pEVar24 = (Entity *)Game::SpawnEx(g_game,0x65,*(int *)((int)npc + 0x2c),auVar10,0,uVar15,0); - uVar15 = *(undefined4 *)((int)&pEVar24->_flags + 4); - *(uint *)&pEVar24->_flags = (uint)pEVar24->_flags | 0x80000000; - *(undefined4 *)((int)&pEVar24->_flags + 4) = uVar15; - *(undefined4 *)&pEVar24[2].field_0x3a8 = 1; - pEVar24[2]._posOffset.x = 9.80909e-45; - fVar16 = *(float *)((int)npc + 0xbc4); - *(int *)((int)npc + 0xbc4) = (int)fVar16 + 1; - pEVar24[2]._slowingAmount = fVar16; - pEVar24[2]._prevPosition.x = fStack_344; - bVar12 = ANM2::SetAnimation(&pEVar24->_sprite,(byte *)"StompArm",1); - uVar38 = auVar52._0_8_; - if ((bVar12 != 0) && ((pEVar24->_sprite)._animState._animData != (void *)0x0)) { - AnimationState::SetFrameFloat(&(pEVar24->_sprite)._animState); - uVar38 = auVar52._0_8_; - if ((pEVar24->_sprite)._animState._animData != (void *)0x0) { - (pEVar24->_sprite)._animState._isPlaying = 0; + uVar16 = Random(); + auVar52._0_8_ = in_stack_fffffc94._l; + auVar52._8_4_ = &g_vectorZero; + auVar52._12_4_ = npc; + auVar11._4_8_ = auVar52._8_8_; + auVar11._0_4_ = &local_318; + auVar53._4_12_ = auVar11; + auVar53._0_4_ = *(int *)((int)npc + 0x2c); + pEVar25 = (Entity *)Game::SpawnEx(g_game,0x65,*(int *)((int)npc + 0x2c),auVar11,0,uVar16,0); + uVar16 = *(undefined4 *)((int)&pEVar25->_flags + 4); + *(uint *)&pEVar25->_flags = (uint)pEVar25->_flags | 0x80000000; + *(undefined4 *)((int)&pEVar25->_flags + 4) = uVar16; + *(undefined4 *)&pEVar25[2].field_0x3a8 = 1; + pEVar25[2]._posOffset.x = 9.80909e-45; + fVar17 = *(float *)((int)npc + 0xbc4); + *(int *)((int)npc + 0xbc4) = (int)fVar17 + 1; + pEVar25[2]._slowingAmount = fVar17; + pEVar25[2]._prevPosition.x = fStack_344; + bVar13 = ANM2::SetAnimation(&pEVar25->_sprite,(byte *)"StompArm",1); + uVar39 = auVar53._0_8_; + if ((bVar13 != 0) && ((pEVar25->_sprite)._animState._animData != (void *)0x0)) { + AnimationState::SetFrameFloat(&(pEVar25->_sprite)._animState); + uVar39 = auVar53._0_8_; + if ((pEVar25->_sprite)._animState._animData != (void *)0x0) { + (pEVar25->_sprite)._animState._isPlaying = 0; } } - pEVar24->_entityCollisionClass = 0; + pEVar25->_entityCollisionClass = 0; fStack_2ec = -g_vectorOne.y; fStack_2f0 = -g_vectorOne.x; in_stack_fffffc94._h._0_4_ = (Entity *)0x469d4b; - in_stack_fffffc94._l = uVar38; + in_stack_fffffc94._l = uVar39; in_stack_fffffc94._h._4_4_ = (Vector *)(*(float *)((int)*(void **)((int)npc + 0x330) + 0x38) * 0.5); - Entity::SetSize(pEVar24); + Entity::SetSize(pEVar25); fStack_344 = (float)((int)fStack_344 + 10); pvStack_328 = (void *)((int)pvStack_328 + 1); } while ((int)pvStack_328 < (int)uStack_304); } } if ((0.0 < *(float *)((int)npc + 0x14)) && - (puVar25 = ((std_vector *)((int)npc + 8))->_begin, puVar25 != *(void **)((int)npc + 0xc))) { + (puVar26 = ((std_vector *)((int)npc + 8))->_begin, puVar26 != *(void **)((int)npc + 0xc))) { do { - if (puVar25[4] == 0x65) { - *puVar25 = 0; + if (puVar26[4] == 0x65) { + *puVar26 = 0; } - puVar25 = puVar25 + 0xe; - } while (puVar25 != *(void **)((int)npc + 0xc)); + puVar26 = puVar26 + 0xe; + } while (puVar26 != *(void **)((int)npc + 0xc)); } if ((*(byte *)((int)npc + 0x173) != 0) && (*(int *)((int)npc + 0xbc0) == 0)) { - pvVar2 = g_game->_room; - *(undefined4 *)((int)pvVar2 + 0x7214) = 0x1e; - *(undefined4 *)((int)pvVar2 + 0x7218) = 7; + pvVar3 = g_game->_room; + *(undefined4 *)((int)pvVar3 + 0x7214) = 0x1e; + *(undefined4 *)((int)pvVar3 + 0x7218) = 7; } return; } @@ -72329,10 +72372,7 @@ void __fastcall NpcAI::ENTITY_LARRYJR(Entity_NPC *npc) undefined4 uVar25; undefined4 uVar26; int iVar27; - undefined1 local_12c [28]; - float local_110; - undefined4 local_10c; - void *local_108; + EntityRef local_12c; char local_101; undefined1 local_100 [4]; EntityPtr local_fc; @@ -72419,17 +72459,17 @@ void __fastcall NpcAI::ENTITY_LARRYJR(Entity_NPC *npc) } pfVar12 = local_2c; *(int *)((int)npc + 0xbc4) = 1; - local_12c._0_4_ = 0; - local_12c._4_4_ = 0; - local_12c._8_4_ = 0; - local_12c._12_4_ = 0; - local_12c._16_4_ = g_vectorZero.x; - local_12c._20_4_ = g_vectorZero.y; - local_12c._24_4_ = g_vectorZero.x; - local_110 = g_vectorZero.y; - local_10c = 0; - local_108 = (void *)0x0; - (**(code **)(*(int *)npc + 0x24))(local_12c); + local_12c._type = 0; + local_12c._variant = 0; + local_12c._spawnerType = 0; + local_12c._spawnerVariant = 0; + local_12c._position.x = g_vectorZero.x; + local_12c._position.y = g_vectorZero.y; + local_12c._velocity.x = g_vectorZero.x; + local_12c._velocity.y = g_vectorZero.y; + local_12c._flags = 0; + local_12c._entity = (void *)0x0; + (**(code **)(*(int *)npc + 0x24))(&local_12c); } EVar10 = local_fc; while( true ) { @@ -72455,17 +72495,17 @@ void __fastcall NpcAI::ENTITY_LARRYJR(Entity_NPC *npc) } pfVar12 = local_2c; *(float *)((int)EVar10 + 0xbc4) = 1.4013e-45; - local_12c._0_4_ = 0; - local_12c._4_4_ = 0; - local_12c._8_4_ = 0; - local_12c._12_4_ = 0; - local_12c._16_4_ = g_vectorZero.x; - local_12c._20_4_ = g_vectorZero.y; - local_12c._24_4_ = g_vectorZero.x; - local_110 = g_vectorZero.y; - local_10c = 0; - local_108 = (void *)0x0; - (**(code **)((int)*(float *)EVar10 + 0x24))(local_12c); + local_12c._type = 0; + local_12c._variant = 0; + local_12c._spawnerType = 0; + local_12c._spawnerVariant = 0; + local_12c._position.x = g_vectorZero.x; + local_12c._position.y = g_vectorZero.y; + local_12c._velocity.x = g_vectorZero.x; + local_12c._velocity.y = g_vectorZero.y; + local_12c._flags = 0; + local_12c._entity = (void *)0x0; + (**(code **)((int)*(float *)EVar10 + 0x24))(&local_12c); } puVar19 = (undefined1 *)((int)pfVar12 - (int)local_30 >> 3); local_f4 = (EntityPtr)(puVar19 + -1); @@ -72636,7 +72676,8 @@ LAB_0046a80b: do { EVar10 = (EntityPtr) __RTDynamicCast(((int *)((int)local_30 + 0x24)) - [(int)&((Room *)((int)local_f4 + -0x7898))->field_0x788f],0, + [(int)((int)&((Room *)((int)local_f4 + -0x7898))-> + _beastBlastForce + 3)],0, &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor,0); if ((EVar10 != (EntityPtr)0x0) && @@ -72936,8 +72977,8 @@ LAB_0046ad2d: if ((float)local_e4 < *(float *)((int)local_fc + 0x380) - *(float *)((int)local_fc + 0x14)) { pcVar3 = *(code **)((int)*(float *)local_fc + 0x20); EVar10 = local_e4; - EntityRef::constructor((EntityRef *)local_12c,(Entity *)npc); - (*pcVar3)(*(float *)((int)local_fc + 0x380) - (float)EVar10,0,0,local_12c,0x1e); + EntityRef::constructor(&local_12c,(Entity *)npc); + (*pcVar3)(*(float *)((int)local_fc + 0x380) - (float)EVar10,0,0,&local_12c,0x1e); } pEVar14 = (EntityPtr *)((int)local_fc + 0x3c0); EVar10 = *pEVar14; @@ -73292,10 +73333,10 @@ LAB_0046b9af: local_f8 = local_f0.y * 40.0 + (npc->_pos).x; local_f0.y = (float)g_game->_room; local_f4 = (EntityPtr)((float)local_f4 * 40.0 + (npc->_pos).y); - EntityRef::constructor((EntityRef *)local_12c,(Entity *)npc); + EntityRef::constructor(&local_12c,(Entity *)npc); uVar8 = Room::GetGridIndex(pGVar5->_room,&local_f8); if ((uVar8 < 0x1c0) && (((void **)((int)local_f0.y + 0x24))[uVar8] != (int *)0x0)) { - (**(code **)(*(int *)((void **)((int)local_f0.y + 0x24))[uVar8] + 0x10))(1,local_12c); + (**(code **)(*(int *)((void **)((int)local_f0.y + 0x24))[uVar8] + 0x10))(1,&local_12c); } LAB_0046bfa5: if (npc->_variant == 1) { @@ -73412,18 +73453,18 @@ void __fastcall NpcAI::ENTITY_MONSTRO(Entity_NPC *npc) undefined1 local_1a0 [168]; ProjectileParams local_f8; void *local_50; - undefined1 auStack_4c [40]; + EntityRef EStack_4c; void *local_24; undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; undefined4 local_14; - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); local_14 = -NAN; puStack_18 = &LAB_00af2850; local_1c = ExceptionList; - pvVar10 = (void *)(__security_cookie ^ (uint)(auStack_4c + 0x3c)); + pvVar10 = (void *)(__security_cookie ^ (int)register0x00000010 - 0x10U); ExceptionList = &local_1c; if ((npc->_type != 0x2b) || (local_1a5 = '\x01', npc->_variant != 1)) { local_1a5 = '\0'; @@ -73581,8 +73622,8 @@ LAB_0046c512: if ((local_1e0->_gridEntities[1] == (void *)0x3d) && (local_1e0->_gridEntities[2] == (void *)0x0)) { pcVar4 = *(code **)(*(int *)local_1e0 + 0x20); - EntityRef::constructor((EntityRef *)auStack_4c,(Entity *)npc); - (*pcVar4)(0x41f00000,0,0,auStack_4c,0x1e); + EntityRef::constructor(&EStack_4c,(Entity *)npc); + (*pcVar4)(0x41f00000,0,0,&EStack_4c,0x1e); puVar24 = local_1f0; } local_1b4 = (Room *)&local_1b4->field_0x1; @@ -73952,19 +73993,19 @@ LAB_0046dbc2: Color::Color(); if ((npc->_type == 0x2b) && (npc->_variant == 1)) { local_50 = (void *)0x40400000; - auStack_4c._0_4_ = 0x40400000; - auStack_4c._4_4_ = 0x40400000; - auStack_4c._12_4_ = 0.03; - auStack_4c._16_4_ = (void *)0x3cf5c28f; - auStack_4c._20_4_ = 0.03; - auStack_4c._24_4_ = (void *)0x3f800000; + EStack_4c._type = 0x40400000; + EStack_4c._variant = 0x40400000; + EStack_4c._spawnerVariant = 0x3cf5c28f; + EStack_4c._position.x = 0.03; + EStack_4c._position.y = 0.03; + EStack_4c._velocity.x = 1.0; } else { local_50 = (void *)0x3f800000; - auStack_4c._0_4_ = 0x3f800000; - auStack_4c._4_4_ = 0x3f800000; + EStack_4c._type = 0x3f800000; + EStack_4c._variant = 0x3f800000; } - auStack_4c._8_4_ = 1.0; + EStack_4c._spawnerType = 0x3f800000; Entity::MakeBloodPoof((Entity *)npc,&npc->_pos,&local_50); } cVar8 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); @@ -75271,10 +75312,7 @@ void __fastcall NpcAI::ENTITY_WIDOW(Entity_NPC *npc) TypeDescriptor *pTVar26; TypeDescriptor *pTVar27; undefined4 uVar28; - undefined1 local_198 [28]; - float local_17c; - undefined4 local_178; - void *local_174; + EntityRef local_198; char local_170 [4]; int local_16c; int *local_164; @@ -75686,8 +75724,8 @@ LAB_00470314: local_134 = *(int **)(local_140 + (int)local_12c * 4); if ((9 < local_134[10]) && (local_134[10] != npc->_type)) { pcVar2 = *(code **)(*local_134 + 0x20); - EntityRef::constructor((EntityRef *)local_198,(Entity *)npc); - (*pcVar2)(0x42c80000,0,0,local_198,0x1e); + EntityRef::constructor(&local_198,(Entity *)npc); + (*pcVar2)(0x42c80000,0,0,&local_198,0x1e); piVar17 = (int *)local_13c.y; } local_12c = (ANM2 *)((int)local_12c + 1); @@ -75863,17 +75901,17 @@ LAB_00470598: &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor,0); if (((pEVar15 != (Entity_NPC *)0x0) && (pEVar15 != npc)) && (pEVar15->_type == 0x1e)) { - local_198._16_4_ = g_vectorZero.x; - local_198._24_4_ = g_vectorZero.x; - local_198._20_4_ = g_vectorZero.y; - local_17c = g_vectorZero.y; - local_198._0_4_ = 0; - local_198._4_4_ = 0; - local_198._8_4_ = 0; - local_198._12_4_ = 0; - local_178 = 0; - local_174 = (void *)0x0; - (**(code **)(*(int *)pEVar15 + 0x24))(local_198); + local_198._position.x = g_vectorZero.x; + local_198._velocity.x = g_vectorZero.x; + local_198._position.y = g_vectorZero.y; + local_198._velocity.y = g_vectorZero.y; + local_198._type = 0; + local_198._variant = 0; + local_198._spawnerType = 0; + local_198._spawnerVariant = 0; + local_198._flags = 0; + local_198._entity = (void *)0x0; + (**(code **)(*(int *)pEVar15 + 0x24))(&local_198); } local_134 = (int *)((int)local_134 + 1); } while (local_134 < local_164); @@ -80931,10 +80969,7 @@ void __fastcall NpcAI::ENTITY_CHUB(Entity_NPC *npc) void *pvVar47; char *pcVar48; undefined1 auStack_15a [2]; - undefined1 local_fc [28]; - float local_e0; - float local_dc; - void *local_d8; + EntityRef local_fc; char local_d4; int local_d0; uint local_c8; @@ -81030,16 +81065,16 @@ LAB_0047a4f0: (**(code **)(*(int *)npc->_child + 0x24))(); } if (npc->_parent != (EntityPtr)0x0) { - local_fc._0_4_ = 0.0; - local_fc._4_4_ = 0.0; - local_fc._8_4_ = 0.0; - local_fc._12_4_ = 0; - local_fc._16_4_ = g_vectorZero.x; - local_fc._20_4_ = g_vectorZero.y; - local_fc._24_4_ = g_vectorZero.x; - local_e0 = g_vectorZero.y; - local_dc = 0.0; - local_d8 = (void *)0x0; + local_fc._type = 0; + local_fc._variant = 0; + local_fc._spawnerType = 0; + local_fc._spawnerVariant = 0; + local_fc._position.x = g_vectorZero.x; + local_fc._position.y = g_vectorZero.y; + local_fc._velocity.x = g_vectorZero.x; + local_fc._velocity.y = g_vectorZero.y; + local_fc._flags = 0; + local_fc._entity = (void *)0x0; (**(code **)(*(int *)npc->_parent + 0x24))(); } } @@ -81468,10 +81503,10 @@ LAB_0047af7c: pGVar21[1]._desc._variableSeed = 0; pGVar21[1]._gridIndex = 0; pGVar21[1]._spawnFrame = 0; - pGVar21[1]._rng = (RNG)0x0; - *(float *)&pGVar21[1].field_0x30 = g_vectorZero.x; - *(float *)&pGVar21[1].field_0x34 = g_vectorZero.y; - *(float *)&pGVar21[1].field_0x38 = g_vectorZero.x; + pGVar21[1]._rng._seed = 0; + pGVar21[1]._rng._shift1 = (int)g_vectorZero.x; + pGVar21[1]._rng._shift2 = (int)g_vectorZero.y; + pGVar21[1]._rng._shift3 = (int)g_vectorZero.x; pGVar21[1]._collisionClass = (int)g_vectorZero.y; pGVar7 = pGVar21 + 1; (pGVar7->_sprite)._filename._buf[0] = '\0'; @@ -81597,7 +81632,7 @@ LAB_0047af7c: do { if ((float)local_8c < *(float *)((int)local_b4 + 0x380) - *(float *)((int)local_b4 + 0x14)) { pcVar5 = *(code **)(*(int *)local_b4 + 0x20); - EntityRef::constructor((EntityRef *)local_fc,(Entity *)npc); + EntityRef::constructor(&local_fc,(Entity *)npc); (*pcVar5)(); } pEVar15 = (EntityPtr *)((int)local_b4 + 0x3c0); @@ -81623,7 +81658,7 @@ LAB_0047af7c: local_ac = (EntityPtr)((float)local_90 * 40.0 + (npc->_pos).x); local_a8 = (EntityPtr)((float)EVar14 * 40.0 + (npc->_pos).y); local_90 = (EntityPtr)g_game->_room; - EntityRef::constructor((EntityRef *)local_fc,(Entity *)npc); + EntityRef::constructor(&local_fc,(Entity *)npc); uVar18 = Room::GetGridIndex(pGVar10->_room); if ((uVar18 < 0x1c0) && ((int *)((int *)((int)local_90 + 0x24))[uVar18] != (int *)0x0)) { (**(code **)(*(int *)((int *)((int)local_90 + 0x24))[uVar18] + 0x10))(); @@ -85104,7 +85139,7 @@ void __fastcall NpcAI::ENTITY_THE_HAUNT(Entity_NPC *npc) do { pLVar12 = ANM2::GetLayer(&npc->_sprite,pbVar24); pbVar24 = pbVar24 + 1; - *(undefined4 *)&pLVar12->field_0x54 = 0x3f000000; + (pLVar12->_color)._tint[3] = 0.5; } while (pbVar24 < (byte *)(npc->_sprite)._layerCount); } uVar11 = *(undefined4 *)((int)&npc->_flags + 4); @@ -85410,7 +85445,7 @@ LAB_00482f74: do { pLVar12 = ANM2::GetLayer(&npc->_sprite,pbVar24); pbVar24 = pbVar24 + 1; - *(float *)&pLVar12->field_0x54 = local_15c; + (pLVar12->_color)._tint[3] = local_15c; } while (pbVar24 < (byte *)(npc->_sprite)._layerCount); } pGVar5 = g_game; @@ -85446,7 +85481,7 @@ LAB_00482f74: do { pLVar12 = ANM2::GetLayer(&npc->_sprite,pbVar24); pbVar24 = pbVar24 + 1; - *(undefined4 *)&pLVar12->field_0x54 = 0x3f800000; + (pLVar12->_color)._tint[3] = 1.0; } while (pbVar24 < (byte *)(npc->_sprite)._layerCount); } if (((npc->_sprite)._animState._animData == (void *)0x0) || @@ -88585,40 +88620,41 @@ void __fastcall NpcAI::ENTITY_CAGE(Entity_NPC *npc) AnimationState *pAVar1; Vector *pVVar2; EntityPtr *pEVar3; - float fVar4; - void *pvVar5; - code *pcVar6; - longlong lVar7; + std_set *psVar4; + float fVar5; + void *pvVar6; + code *pcVar7; longlong lVar8; - Manager *pMVar9; + longlong lVar9; + Manager *pMVar10; EntityPtr this; - byte bVar10; - char cVar11; - undefined4 uVar12; - undefined4 *puVar13; - byte *pbVar14; - uint uVar15; - float *pfVar16; - Entity *pEVar17; - int iVar18; - byte *pbVar19; - undefined1 *puVar20; - float fVar21; + byte bVar11; + char cVar12; + undefined4 uVar13; + undefined4 *puVar14; + byte *pbVar15; + uint uVar16; + float *pfVar17; + Entity *pEVar18; + int iVar19; + byte *pbVar20; + undefined1 *puVar21; + float fVar22; EntityRef *ref; - int *piVar22; - byte *pbVar23; - char *pcVar24; + int *piVar23; + byte *pbVar24; + char *pcVar25; undefined4 extraout_ECX; undefined4 extraout_ECX_00; - uint uVar25; uint uVar26; - int iVar27; - Game *pGVar28; - Entity_NPC *pEVar29; - bool bVar30; - float fVar31; - ulonglong uVar32; - int iVar33; + uint uVar27; + int iVar28; + Game *pGVar29; + Entity_NPC *pEVar30; + bool bVar31; + float fVar32; + ulonglong uVar33; + int iVar34; byte addEnemyKillScore; float local_318; uint local_314; @@ -88641,7 +88677,7 @@ void __fastcall NpcAI::ENTITY_CAGE(Entity_NPC *npc) EntityPtr *local_2c4; ItemPool *local_2c0; int *local_2bc; - int iStack_2b8; + void *pvStack_2b8; Vector *local_2b4; int iStack_2b0; int iStack_2ac; @@ -88692,9 +88728,9 @@ void __fastcall NpcAI::ENTITY_CAGE(Entity_NPC *npc) uint local_c; local_c = __security_cookie ^ (uint)&local_318; - iVar33 = npc->_state; + iVar34 = npc->_state; local_2cc = npc; - if (iVar33 == 0) { + if (iVar34 == 0) { npc->_stateFrame = 0; npc->_state = 3; (npc->_sizeMulti).x = 1.2; @@ -88719,11 +88755,11 @@ void __fastcall NpcAI::ENTITY_CAGE(Entity_NPC *npc) return; } if (npc->_spawnerType != npc->_type) { - uVar12 = Random(); + uVar13 = Random(); local_288 = (npc->_pos).x + 24.0; local_284 = (npc->_pos).y + 0.0; Game::SpawnEx(g_game,npc->_type,npc->_variant,&local_288,&npc->_velocity,npc,npc->_subtype, - uVar12,0); + uVar13,0); (npc->_pos).x = (npc->_pos).x - 24.0; (npc->_pos).y = (npc->_pos).y - 0.0; } @@ -88732,107 +88768,107 @@ void __fastcall NpcAI::ENTITY_CAGE(Entity_NPC *npc) } local_308 = (Entity_NPC *)0x0; if ((0.0 < npc->_pendingDamage) && - (puVar13 = (npc->_damageEvents)._begin, puVar13 != (npc->_damageEvents)._end)) { + (puVar14 = (npc->_damageEvents)._begin, puVar14 != (npc->_damageEvents)._end)) { do { - local_28c = puVar13[3]; - if ((((puVar13[2] & 8) != 0) && (puVar13[6] == 0x109)) || - (((puVar13[2] & 4) != 0 && (puVar13[4] == 0x109)))) { - *puVar13 = 0; + local_28c = puVar14[3]; + if ((((puVar14[2] & 8) != 0) && (puVar14[6] == 0x109)) || + (((puVar14[2] & 4) != 0 && (puVar14[4] == 0x109)))) { + *puVar14 = 0; } - puVar13 = puVar13 + 0xe; - } while (puVar13 != (npc->_damageEvents)._end); - iVar33 = npc->_state; + puVar14 = puVar14 + 0xe; + } while (puVar14 != (npc->_damageEvents)._end); + iVar34 = npc->_state; } local_310 = (Game *)0x3f800000; - if (iVar33 == 3) { - pbVar19 = (npc->_sprite)._animState._animData; - if (pbVar19 == (byte *)0x0) { + if (iVar34 == 3) { + pbVar20 = (npc->_sprite)._animState._animData; + if (pbVar20 == (byte *)0x0) { LAB_00487af0: - bVar10 = ANM2::SetAnimation(&npc->_sprite,s_Idle,1); - if (bVar10 != 0) { + bVar11 = ANM2::SetAnimation(&npc->_sprite,s_Idle,1); + if (bVar11 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; } } else { - pbVar14 = pbVar19; - if (0xf < *(uint *)(pbVar19 + 0x14)) { - pbVar14 = *(byte **)pbVar19; + pbVar15 = pbVar20; + if (0xf < *(uint *)(pbVar20 + 0x14)) { + pbVar15 = *(byte **)pbVar20; } - pbVar23 = s_Idle; + pbVar24 = s_Idle; do { - bVar10 = *pbVar14; - bVar30 = bVar10 < *pbVar23; - if (bVar10 != *pbVar23) { + bVar11 = *pbVar15; + bVar31 = bVar11 < *pbVar24; + if (bVar11 != *pbVar24) { LAB_00487ad2: - uVar15 = -(uint)bVar30 | 1; + uVar16 = -(uint)bVar31 | 1; goto LAB_00487ad7; } - if (bVar10 == 0) break; - bVar10 = pbVar14[1]; - bVar30 = bVar10 < pbVar23[1]; - if (bVar10 != pbVar23[1]) goto LAB_00487ad2; - pbVar14 = pbVar14 + 2; - pbVar23 = pbVar23 + 2; - } while (bVar10 != 0); - uVar15 = 0; + if (bVar11 == 0) break; + bVar11 = pbVar15[1]; + bVar31 = bVar11 < pbVar24[1]; + if (bVar11 != pbVar24[1]) goto LAB_00487ad2; + pbVar15 = pbVar15 + 2; + pbVar24 = pbVar24 + 2; + } while (bVar11 != 0); + uVar16 = 0; LAB_00487ad7: - if ((uVar15 != 0) || ((pbVar19[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) + if ((uVar16 != 0) || ((pbVar20[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) goto LAB_00487af0; } if (((((npc->_flags & 0x1000000000000000) == 0) || ((*(byte *)(*(int *)((int)g_game->_room + 4) + 0x44) & 1) == 0)) && - (iVar33 = npc->_stateFrame, npc->_stateFrame = iVar33 + 1, 0x1e < iVar33)) && - (uVar15 = Random(), uVar15 % 0x14 == 0)) { - uVar15 = Random(); - if (uVar15 % 3 == 0) { - pvVar5 = g_game->_room; - iVar18 = *(int *)((int)pvVar5 + 0x12c8) + *(int *)((int)pvVar5 + 0x12cc); - iVar27 = *(int *)((int)pvVar5 + 0x12c4) + *(int *)((int)pvVar5 + 0x12c0); - iVar33 = 0; - if (0 < iVar18) { - iVar33 = iVar18; + (iVar34 = npc->_stateFrame, npc->_stateFrame = iVar34 + 1, 0x1e < iVar34)) && + (uVar16 = Random(), uVar16 % 0x14 == 0)) { + uVar16 = Random(); + if (uVar16 % 3 == 0) { + pvVar6 = g_game->_room; + iVar19 = *(int *)((int)pvVar6 + 0x12c8) + *(int *)((int)pvVar6 + 0x12cc); + iVar28 = *(int *)((int)pvVar6 + 0x12c4) + *(int *)((int)pvVar6 + 0x12c0); + iVar34 = 0; + if (0 < iVar19) { + iVar34 = iVar19; } - iVar18 = 0; - if (0 < iVar27) { - iVar18 = iVar27; + iVar19 = 0; + if (0 < iVar28) { + iVar19 = iVar28; } - if (((iVar18 - iVar33 < 3) && (iVar33 = Isaac::Random(2), iVar33 != 0)) && + if (((iVar19 - iVar34 < 3) && (iVar34 = Isaac::Random(2), iVar34 != 0)) && (npc->_subtype != 1)) { npc->_state = 0xd; } else { npc->_state = 9; - iVar33 = Random(); - (npc->_v1).x = (float)((double)iVar33 + __uint_to_double_fixup[-(iVar33 >> 0x1f)]) * + iVar34 = Random(); + (npc->_v1).x = (float)((double)iVar34 + __uint_to_double_fixup[-(iVar34 >> 0x1f)]) * 2.3283064e-10 * 360.0 - 180.0; - uVar15 = Random(); - fVar21 = (float)(uVar15 & 1) + 0.0; - (npc->_v1).y = (fVar21 + fVar21) - 1.0; + uVar16 = Random(); + fVar22 = (float)(uVar16 & 1) + 0.0; + (npc->_v1).y = (fVar22 + fVar22) - 1.0; } } else { - uVar15 = Random(); - iVar33 = npc->_subtype; - if ((((uVar15 & 1) == 0) || (iVar33 == 2)) && - (cVar11 = Entity::HasEntityFlags(0x1000a00,0), cVar11 == '\0')) { + uVar16 = Random(); + iVar34 = npc->_subtype; + if ((((uVar16 & 1) == 0) || (iVar34 == 2)) && + (cVar12 = Entity::HasEntityFlags(0x1000a00,0), cVar12 == '\0')) { npc->_state = 8; npc->_i1 = 0; Entity_NPC::PlaySound(npc,0x12f,1.0,2,0,1.0); } else { - cVar11 = Entity::HasEntityFlags(0x200,0); - if ((cVar11 == '\0') && (iVar33 != 2)) { + cVar12 = Entity::HasEntityFlags(0x200,0); + if ((cVar12 == '\0') && (iVar34 != 2)) { npc->_state = 6; - pfVar16 = (float *)Entity_NPC::CalcTargetPosition(local_1d8,0); - pEVar17 = Entity_NPC::GetPlayerTarget(npc); - fVar21 = npc->_size; - fVar31 = (pEVar17->_velocity).y; - fVar4 = pfVar16[1]; + pfVar17 = (float *)Entity_NPC::CalcTargetPosition(local_1d8,0); + pEVar18 = Entity_NPC::GetPlayerTarget(npc); + fVar22 = npc->_size; + fVar32 = (pEVar18->_velocity).y; + fVar5 = pfVar17[1]; pVVar2 = &npc->_targetPosition; - pVVar2->x = (pEVar17->_velocity).x * 10.0 + *pfVar16; - (npc->_targetPosition).y = fVar31 * 10.0 + fVar4; - Room::GetClampedPositionImpl(&local_280,pVVar2,fVar21,fVar21,fVar21); + pVVar2->x = (pEVar18->_velocity).x * 10.0 + *pfVar17; + (npc->_targetPosition).y = fVar32 * 10.0 + fVar5; + Room::GetClampedPositionImpl(&local_280,pVVar2,fVar22,fVar22,fVar22); pVVar2->x = local_280; (npc->_targetPosition).y = local_27c; (npc->_v1).x = 0.0; @@ -88842,99 +88878,99 @@ LAB_00487ad7: } } } - else if (iVar33 == 6) { + else if (iVar34 == 6) { if (npc->_i1 == 0) { - pbVar19 = (npc->_sprite)._animState._animData; - if (pbVar19 == (byte *)0x0) { + pbVar20 = (npc->_sprite)._animState._animData; + if (pbVar20 == (byte *)0x0) { LAB_00487e3f: - pbVar19 = (npc->_sprite)._animState._animData; - if (pbVar19 == (byte *)0x0) { + pbVar20 = (npc->_sprite)._animState._animData; + if (pbVar20 == (byte *)0x0) { LAB_00487e93: - bVar10 = ANM2::SetAnimation(&npc->_sprite,(byte *)"Jumping",1); - if (bVar10 != 0) { + bVar11 = ANM2::SetAnimation(&npc->_sprite,(byte *)"Jumping",1); + if (bVar11 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; } } else { - pbVar14 = pbVar19; - if (0xf < *(uint *)(pbVar19 + 0x14)) { - pbVar14 = *(byte **)pbVar19; + pbVar15 = pbVar20; + if (0xf < *(uint *)(pbVar20 + 0x14)) { + pbVar15 = *(byte **)pbVar20; } - pcVar24 = "Jumping"; + pcVar25 = "Jumping"; do { - bVar10 = *pbVar14; - bVar30 = bVar10 < (byte)*pcVar24; - if (bVar10 != *pcVar24) { + bVar11 = *pbVar15; + bVar31 = bVar11 < (byte)*pcVar25; + if (bVar11 != *pcVar25) { LAB_00487e75: - uVar15 = -(uint)bVar30 | 1; + uVar16 = -(uint)bVar31 | 1; goto LAB_00487e7a; } - if (bVar10 == 0) break; - bVar10 = pbVar14[1]; - bVar30 = bVar10 < (byte)pcVar24[1]; - if (bVar10 != pcVar24[1]) goto LAB_00487e75; - pbVar14 = pbVar14 + 2; - pcVar24 = pcVar24 + 2; - } while (bVar10 != 0); - uVar15 = 0; + if (bVar11 == 0) break; + bVar11 = pbVar15[1]; + bVar31 = bVar11 < (byte)pcVar25[1]; + if (bVar11 != pcVar25[1]) goto LAB_00487e75; + pbVar15 = pbVar15 + 2; + pcVar25 = pcVar25 + 2; + } while (bVar11 != 0); + uVar16 = 0; LAB_00487e7a: - if ((uVar15 != 0) || ((pbVar19[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0))) + if ((uVar16 != 0) || ((pbVar20[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0))) ) goto LAB_00487e93; } - pMVar9 = g_manager; + pMVar10 = g_manager; local_2ec = 1.28779e-42; seed_fart_sound_override(); - SoundEffects::Play(&pMVar9->_sfxManager,(int)local_2ec,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar10->_sfxManager,(int)local_2ec,1.0,2,0,1.0,0.0); } else { if ((npc->_sprite)._animState._isPlaying == 0) { - pbVar19 = (npc->_sprite)._animState._animData; - if (0xf < *(uint *)(pbVar19 + 0x14)) { - pbVar19 = *(byte **)pbVar19; + pbVar20 = (npc->_sprite)._animState._animData; + if (0xf < *(uint *)(pbVar20 + 0x14)) { + pbVar20 = *(byte **)pbVar20; } - pcVar24 = "Jumping"; + pcVar25 = "Jumping"; do { - bVar10 = *pbVar19; - bVar30 = bVar10 < (byte)*pcVar24; - if (bVar10 != *pcVar24) { + bVar11 = *pbVar20; + bVar31 = bVar11 < (byte)*pcVar25; + if (bVar11 != *pcVar25) { LAB_00487e32: - uVar15 = -(uint)bVar30 | 1; + uVar16 = -(uint)bVar31 | 1; goto joined_r0x00487e39; } - if (bVar10 == 0) break; - bVar10 = pbVar19[1]; - bVar30 = bVar10 < (byte)pcVar24[1]; - if (bVar10 != pcVar24[1]) goto LAB_00487e32; - pbVar19 = pbVar19 + 2; - pcVar24 = pcVar24 + 2; - } while (bVar10 != 0); - uVar15 = 0; + if (bVar11 == 0) break; + bVar11 = pbVar20[1]; + bVar31 = bVar11 < (byte)pcVar25[1]; + if (bVar11 != pcVar25[1]) goto LAB_00487e32; + pbVar20 = pbVar20 + 2; + pcVar25 = pcVar25 + 2; + } while (bVar11 != 0); + uVar16 = 0; } else { - if (0xf < *(uint *)(pbVar19 + 0x14)) { - pbVar19 = *(byte **)pbVar19; + if (0xf < *(uint *)(pbVar20 + 0x14)) { + pbVar20 = *(byte **)pbVar20; } - pcVar24 = "Jumping"; + pcVar25 = "Jumping"; do { - bVar10 = *pbVar19; - bVar30 = bVar10 < (byte)*pcVar24; - if (bVar10 != *pcVar24) { + bVar11 = *pbVar20; + bVar31 = bVar11 < (byte)*pcVar25; + if (bVar11 != *pcVar25) { LAB_00487df4: - uVar15 = -(uint)bVar30 | 1; + uVar16 = -(uint)bVar31 | 1; goto joined_r0x00487e39; } - if (bVar10 == 0) break; - bVar10 = pbVar19[1]; - bVar30 = bVar10 < (byte)pcVar24[1]; - if (bVar10 != pcVar24[1]) goto LAB_00487df4; - pbVar19 = pbVar19 + 2; - pcVar24 = pcVar24 + 2; - } while (bVar10 != 0); - uVar15 = 0; + if (bVar11 == 0) break; + bVar11 = pbVar20[1]; + bVar31 = bVar11 < (byte)pcVar25[1]; + if (bVar11 != pcVar25[1]) goto LAB_00487df4; + pbVar20 = pbVar20 + 2; + pcVar25 = pcVar25 + 2; + } while (bVar11 != 0); + uVar16 = 0; } joined_r0x00487e39: - if (uVar15 != 0) goto LAB_00487e3f; + if (uVar16 != 0) goto LAB_00487e3f; } if (((npc->_sprite)._animState._animData == (void *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { @@ -88942,138 +88978,138 @@ joined_r0x00487e39: } } else { - pbVar19 = (npc->_sprite)._animState._animData; - if (pbVar19 == (byte *)0x0) { + pbVar20 = (npc->_sprite)._animState._animData; + if (pbVar20 == (byte *)0x0) { LAB_00487f66: - bVar10 = ANM2::SetAnimation(&npc->_sprite,(byte *)"JumpLoop",1); - if (bVar10 != 0) { + bVar11 = ANM2::SetAnimation(&npc->_sprite,(byte *)"JumpLoop",1); + if (bVar11 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; } } else { - pbVar14 = pbVar19; - if (0xf < *(uint *)(pbVar19 + 0x14)) { - pbVar14 = *(byte **)pbVar19; + pbVar15 = pbVar20; + if (0xf < *(uint *)(pbVar20 + 0x14)) { + pbVar15 = *(byte **)pbVar20; } - pcVar24 = "JumpLoop"; + pcVar25 = "JumpLoop"; do { - bVar10 = *pbVar14; - bVar30 = bVar10 < (byte)*pcVar24; - if (bVar10 != *pcVar24) { + bVar11 = *pbVar15; + bVar31 = bVar11 < (byte)*pcVar25; + if (bVar11 != *pcVar25) { LAB_00487f50: - uVar15 = -(uint)bVar30 | 1; + uVar16 = -(uint)bVar31 | 1; goto LAB_00487f55; } - if (bVar10 == 0) break; - bVar10 = pbVar14[1]; - bVar30 = bVar10 < (byte)pcVar24[1]; - if (bVar10 != pcVar24[1]) goto LAB_00487f50; - pbVar14 = pbVar14 + 2; - pcVar24 = pcVar24 + 2; - } while (bVar10 != 0); - uVar15 = 0; + if (bVar11 == 0) break; + bVar11 = pbVar15[1]; + bVar31 = bVar11 < (byte)pcVar25[1]; + if (bVar11 != pcVar25[1]) goto LAB_00487f50; + pbVar15 = pbVar15 + 2; + pcVar25 = pcVar25 + 2; + } while (bVar11 != 0); + uVar16 = 0; LAB_00487f55: - if ((uVar15 != 0) || ((pbVar19[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) + if ((uVar16 != 0) || ((pbVar20[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) goto LAB_00487f66; } - fVar21 = (npc->_targetPosition).x - (npc->_pos).x; - fVar31 = (npc->_targetPosition).y - (npc->_pos).y; - if (fVar31 * fVar31 + fVar21 * fVar21 < 2.0) { + fVar22 = (npc->_targetPosition).x - (npc->_pos).x; + fVar32 = (npc->_targetPosition).y - (npc->_pos).y; + if (fVar32 * fVar32 + fVar22 * fVar22 < 2.0) { npc->_state = 7; } } pAVar1 = &(npc->_sprite)._animState; if (((npc->_sprite)._animState._animData != (void *)0x0) && - (bVar10 = AnimationState::IsEventTriggered(pAVar1,s_Jump), bVar10 != 0)) { + (bVar11 = AnimationState::IsEventTriggered(pAVar1,s_Jump), bVar11 != 0)) { Entity_NPC::PlaySound(npc,0x12f,1.0,2,0,1.0); } if ((npc->_i1 != 0) || (((npc->_sprite)._animState._animData != (void *)0x0 && - (bVar10 = AnimationState::WasEventTriggered(pAVar1,s_Jump), bVar10 != 0)))) { - fVar21 = (npc->_v1).x + 0.02; - if (1.0 <= fVar21) { - fVar21 = 1.0; + (bVar11 = AnimationState::WasEventTriggered(pAVar1,s_Jump), bVar11 != 0)))) { + fVar22 = (npc->_v1).x + 0.02; + if (1.0 <= fVar22) { + fVar22 = 1.0; } - (npc->_v1).x = fVar21; - fVar31 = (npc->_targetPosition).x; - (npc->_pos).y = fVar21 * (npc->_targetPosition).y + (1.0 - fVar21) * (npc->_pos).y; - (npc->_pos).x = (1.0 - fVar21) * (npc->_pos).x + fVar21 * fVar31; + (npc->_v1).x = fVar22; + fVar32 = (npc->_targetPosition).x; + (npc->_pos).y = fVar22 * (npc->_targetPosition).y + (1.0 - fVar22) * (npc->_pos).y; + (npc->_pos).x = (1.0 - fVar22) * (npc->_pos).x + fVar22 * fVar32; npc->_entityCollisionClass = 0; npc->_entityGridCollisionClass = 0; } } else { - if (iVar33 == 7) { - pbVar19 = (npc->_sprite)._animState._animData; - if (pbVar19 == (byte *)0x0) { + if (iVar34 == 7) { + pbVar20 = (npc->_sprite)._animState._animData; + if (pbVar20 == (byte *)0x0) { LAB_0048810e: - bVar10 = ANM2::SetAnimation(&npc->_sprite,(byte *)"Landing",1); - if (bVar10 != 0) { + bVar11 = ANM2::SetAnimation(&npc->_sprite,(byte *)"Landing",1); + if (bVar11 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; } } else { - pbVar14 = pbVar19; - if (0xf < *(uint *)(pbVar19 + 0x14)) { - pbVar14 = *(byte **)pbVar19; + pbVar15 = pbVar20; + if (0xf < *(uint *)(pbVar20 + 0x14)) { + pbVar15 = *(byte **)pbVar20; } - pcVar24 = "Landing"; + pcVar25 = "Landing"; do { - bVar10 = *pbVar14; - bVar30 = bVar10 < (byte)*pcVar24; - if (bVar10 != *pcVar24) { + bVar11 = *pbVar15; + bVar31 = bVar11 < (byte)*pcVar25; + if (bVar11 != *pcVar25) { LAB_004880f0: - uVar15 = -(uint)bVar30 | 1; + uVar16 = -(uint)bVar31 | 1; goto LAB_004880f5; } - if (bVar10 == 0) break; - bVar10 = pbVar14[1]; - bVar30 = bVar10 < (byte)pcVar24[1]; - if (bVar10 != pcVar24[1]) goto LAB_004880f0; - pbVar14 = pbVar14 + 2; - pcVar24 = pcVar24 + 2; - } while (bVar10 != 0); - uVar15 = 0; + if (bVar11 == 0) break; + bVar11 = pbVar15[1]; + bVar31 = bVar11 < (byte)pcVar25[1]; + if (bVar11 != pcVar25[1]) goto LAB_004880f0; + pbVar15 = pbVar15 + 2; + pcVar25 = pcVar25 + 2; + } while (bVar11 != 0); + uVar16 = 0; LAB_004880f5: - if ((uVar15 != 0) || ((pbVar19[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) + if ((uVar16 != 0) || ((pbVar20[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) goto LAB_0048810e; } if (npc->_entityGridCollisionClass != 5) { local_2d8 = (npc->_pos).x; local_2d4 = (npc->_pos).y; local_2f4 = g_game->_room; - iVar33 = Room::GetGridCollisionAtPos(local_2d8,local_2d4); - if (iVar33 != 0) { - pfVar16 = (float *)Room::FindFreeTilePosition(local_1d0,&npc->_pos,0x42a00000); - (npc->_pos).x = *pfVar16; - (npc->_pos).y = pfVar16[1]; + iVar34 = Room::GetGridCollisionAtPos(local_2d8,local_2d4); + if (iVar34 != 0) { + pfVar17 = (float *)Room::FindFreeTilePosition(local_1d0,&npc->_pos,0x42a00000); + (npc->_pos).x = *pfVar17; + (npc->_pos).y = pfVar17[1]; } npc->_entityCollisionClass = 4; npc->_entityGridCollisionClass = 5; } if ((npc->_sprite)._animState._animData != (void *)0x0) { - bVar10 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Landed"); - if (bVar10 != 0) { + bVar11 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Landed"); + if (bVar11 != 0) { local_2f0 = 5; do { - uVar12 = Random(); - iVar33 = Random(); - local_2ec = (float)((double)iVar33 + __uint_to_double_fixup[-(iVar33 >> 0x1f)]) * + uVar13 = Random(); + iVar34 = Random(); + local_2ec = (float)((double)iVar34 + __uint_to_double_fixup[-(iVar34 >> 0x1f)]) * 2.3283064e-10 * 3.14; local_2ec = local_2ec + local_2ec; - iVar33 = Random(); - local_2f8 = (float)((double)iVar33 + __uint_to_double_fixup[-(iVar33 >> 0x1f)]) * + iVar34 = Random(); + local_2f8 = (float)((double)iVar34 + __uint_to_double_fixup[-(iVar34 >> 0x1f)]) * 2.3283064e-10 * 75.0; - fVar21 = local_2ec; + fVar22 = local_2ec; cos(); - local_278 = fVar21 * local_2f8 + (npc->_pos).x; - fVar21 = local_2ec; + local_278 = fVar22 * local_2f8 + (npc->_pos).x; + fVar22 = local_2ec; sin(); - local_274 = fVar21 * local_2f8 + (npc->_pos).y; - uVar12 = Game::SpawnEx(g_game,1000,0x16,&local_278,&g_vectorZero,npc,0,uVar12,0); - piVar22 = (int *)__RTDynamicCast(uVar12,0,&IsaacRepentancePlus::Entity:: + local_274 = fVar22 * local_2f8 + (npc->_pos).y; + uVar13 = Game::SpawnEx(g_game,1000,0x16,&local_278,&g_vectorZero,npc,0,uVar13,0); + piVar23 = (int *)__RTDynamicCast(uVar13,0,&IsaacRepentancePlus::Entity:: RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Effect:: RTTI_Type_Descriptor,0); @@ -89088,12 +89124,12 @@ LAB_004880f5: afStack_120[9] = 3.2; afStack_120[10] = 2.3; afStack_120[0xb] = 1.0; - (**(code **)(*piVar22 + 0x3c))(afStack_120 + 4,0xffffffff,0xff,0,1); + (**(code **)(*piVar23 + 0x3c))(afStack_120 + 4,0xffffffff,0xff,0,1); local_2f0 = local_2f0 - 1; - fVar21 = g_vectorOne.y * 2.0; - piVar22[0x39] = (int)(g_vectorOne.x * 2.0); - piVar22[0x3a] = (int)fVar21; - pMVar9 = g_manager; + fVar22 = g_vectorOne.y * 2.0; + piVar23[0x39] = (int)(g_vectorOne.x * 2.0); + piVar23[0x3a] = (int)fVar22; + pMVar10 = g_manager; } while (local_2f0 != 0); local_318 = 1.0; if (npc->_championColorIdx == 0x12) { @@ -89104,8 +89140,8 @@ LAB_004880f5: } iStack_2b0 = 0x12f; seed_fart_sound_override(); - SoundEffects::Play(&pMVar9->_sfxManager,iStack_2b0,1.0,2,0,local_318,0.0); - pMVar9 = g_manager; + SoundEffects::Play(&pMVar10->_sfxManager,iStack_2b0,1.0,2,0,local_318,0.0); + pMVar10 = g_manager; local_318 = 1.0; if (npc->_championColorIdx == 0x12) { local_318 = 1.5; @@ -89115,26 +89151,26 @@ LAB_004880f5: } iStack_2ac = 0x30; seed_fart_sound_override(); - SoundEffects::Play(&pMVar9->_sfxManager,iStack_2ac,0.8,2,0,local_318,0.0); + SoundEffects::Play(&pMVar10->_sfxManager,iStack_2ac,0.8,2,0,local_318,0.0); Game::ShakeScreen(g_game,10); - uVar15 = Random(); - local_2fc = (EntityPtr)(360.0 / ((float)((uVar15 & 1) + 4) + 0.0)); + uVar16 = Random(); + local_2fc = (EntityPtr)(360.0 / ((float)((uVar16 & 1) + 4) + 0.0)); do { - uVar12 = Random(); - uVar12 = Game::SpawnEx(g_game,1000,0x48,&npc->_pos,&g_vectorZero,npc,0,uVar12,0); - local_2f4 = (void *)__RTDynamicCast(uVar12,0,&IsaacRepentancePlus::Entity:: + uVar13 = Random(); + uVar13 = Game::SpawnEx(g_game,1000,0x48,&npc->_pos,&g_vectorZero,npc,0,uVar13,0); + local_2f4 = (void *)__RTDynamicCast(uVar13,0,&IsaacRepentancePlus::Entity:: RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Effect:: RTTI_Type_Descriptor,0); - puVar13 = (undefined4 *)((int)local_2f4 + 0x3bc); + puVar14 = (undefined4 *)((int)local_2f4 + 0x3bc); if (*(int *)((int)local_2f4 + 0x3bc) != 0) { - puStack_2c8 = puVar13; + puStack_2c8 = puVar14; std::multiset::erase(&puStack_2c8); } - *puVar13 = npc; - std::multiset::insert(puVar13); + *puVar14 = npc; + std::multiset::insert(puVar14); *(Entity_NPC **)((int)local_2f4 + 0x474) = local_308; - pMVar9 = g_manager; + pMVar10 = g_manager; local_308 = (Entity_NPC *)((float)local_308 + (float)local_2fc); } while ((float)local_308 < 360.0); if (npc->_championColorIdx == 0x12) { @@ -89145,17 +89181,17 @@ LAB_004880f5: } iStack_2a8 = 0x30; seed_fart_sound_override(); - SoundEffects::Play(&pMVar9->_sfxManager,iStack_2a8,1.0,2,0,(float)local_310,0.0); + SoundEffects::Play(&pMVar10->_sfxManager,iStack_2a8,1.0,2,0,(float)local_310,0.0); puStack_2c8 = (undefined4 *)(npc->_pos).x; local_2f4 = (void *)(npc->_pos).y; uStack_224 = 0; - pvVar5 = g_game->_room; + pvVar6 = g_game->_room; uStack_218 = 0; uStack_214 = 0xd; uStack_21c = 0x3ccccccd; - *(int *)((int)pvVar5 + 0x70fc) = *(int *)((int)pvVar5 + 0x70fc) + 1; + *(int *)((int)pvVar6 + 0x70fc) = *(int *)((int)pvVar6 + 0x70fc) + 1; uStack_220 = 0x3d23d70a; - local_2fc = (EntityPtr)(*(uint *)((int)pvVar5 + 0x70fc) & 0x80000001); + local_2fc = (EntityPtr)(*(uint *)((int)pvVar6 + 0x70fc) & 0x80000001); if ((int)local_2fc < 0) { local_2fc = (EntityPtr)(((uint)((int)local_2fc - 1U) | 0xfffffffe) + 1); } @@ -89163,14 +89199,14 @@ LAB_004880f5: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Shockwave id is too large!"); } - puVar20 = (undefined1 *)((int)local_2fc + 0x407); - *(undefined4 **)((int)pvVar5 + (int)puVar20 * 0x1c) = puStack_2c8; - *(void **)((int)pvVar5 + (int)puVar20 * 0x1c + 4) = local_2f4; - *(undefined4 *)((int)pvVar5 + (int)puVar20 * 0x1c + 8) = 0; - *(undefined4 *)((int)pvVar5 + (int)puVar20 * 0x1c + 0xc) = 0x3d23d70a; - *(undefined4 *)((int)pvVar5 + (int)puVar20 * 0x1c + 0x10) = 0x3ccccccd; - *(undefined4 *)((int)pvVar5 + (int)puVar20 * 0x1c + 0x14) = 0; - *(undefined4 *)((int)pvVar5 + (int)puVar20 * 0x1c + 0x18) = 0xd; + puVar21 = (undefined1 *)((int)local_2fc + 0x407); + *(undefined4 **)((int)pvVar6 + (int)puVar21 * 0x1c) = puStack_2c8; + *(void **)((int)pvVar6 + (int)puVar21 * 0x1c + 4) = local_2f4; + *(undefined4 *)((int)pvVar6 + (int)puVar21 * 0x1c + 8) = 0; + *(undefined4 *)((int)pvVar6 + (int)puVar21 * 0x1c + 0xc) = 0x3d23d70a; + *(undefined4 *)((int)pvVar6 + (int)puVar21 * 0x1c + 0x10) = 0x3ccccccd; + *(undefined4 *)((int)pvVar6 + (int)puVar21 * 0x1c + 0x14) = 0; + *(undefined4 *)((int)pvVar6 + (int)puVar21 * 0x1c + 0x18) = 0xd; } LAB_00488693: if (((npc->_sprite)._animState._animData != (void *)0x0) && @@ -89180,91 +89216,91 @@ LAB_004886a6: npc->_state = 3; } else { - if (iVar33 == 9) { - pbVar19 = (npc->_sprite)._animState._animData; - if ((pbVar19 == (byte *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { + if (iVar34 == 9) { + pbVar20 = (npc->_sprite)._animState._animData; + if ((pbVar20 == (byte *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { LAB_0048870d: - if ((pbVar19 != (byte *)0x0) && ((npc->_sprite)._animState._isPlaying == 0)) { - pbVar19 = (npc->_sprite)._animState._animData; - if (0xf < *(uint *)(pbVar19 + 0x14)) { - pbVar19 = *(byte **)pbVar19; + if ((pbVar20 != (byte *)0x0) && ((npc->_sprite)._animState._isPlaying == 0)) { + pbVar20 = (npc->_sprite)._animState._animData; + if (0xf < *(uint *)(pbVar20 + 0x14)) { + pbVar20 = *(byte **)pbVar20; } - pcVar24 = "Puking"; + pcVar25 = "Puking"; do { - bVar10 = *pbVar19; - bVar30 = bVar10 < (byte)*pcVar24; - if (bVar10 != *pcVar24) { + bVar11 = *pbVar20; + bVar31 = bVar11 < (byte)*pcVar25; + if (bVar11 != *pcVar25) { LAB_00488750: - uVar15 = -(uint)bVar30 | 1; + uVar16 = -(uint)bVar31 | 1; goto LAB_00488755; } - if (bVar10 == 0) break; - bVar10 = pbVar19[1]; - bVar30 = bVar10 < (byte)pcVar24[1]; - if (bVar10 != pcVar24[1]) goto LAB_00488750; - pbVar19 = pbVar19 + 2; - pcVar24 = pcVar24 + 2; - } while (bVar10 != 0); - uVar15 = 0; + if (bVar11 == 0) break; + bVar11 = pbVar20[1]; + bVar31 = bVar11 < (byte)pcVar25[1]; + if (bVar11 != pcVar25[1]) goto LAB_00488750; + pbVar20 = pbVar20 + 2; + pcVar25 = pcVar25 + 2; + } while (bVar11 != 0); + uVar16 = 0; LAB_00488755: - if (uVar15 == 0) goto LAB_004887ae; + if (uVar16 == 0) goto LAB_004887ae; } ANM2::Play(&npc->_sprite,(byte *)"Puking",0); - pMVar9 = g_manager; + pMVar10 = g_manager; local_2dc = 1.292e-42; seed_fart_sound_override(); - SoundEffects::Play(&pMVar9->_sfxManager,(int)local_2dc,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar10->_sfxManager,(int)local_2dc,1.0,2,0,1.0,0.0); } else { - pbVar14 = pbVar19; - if (0xf < *(uint *)(pbVar19 + 0x14)) { - pbVar14 = *(byte **)pbVar19; + pbVar15 = pbVar20; + if (0xf < *(uint *)(pbVar20 + 0x14)) { + pbVar15 = *(byte **)pbVar20; } - pcVar24 = "Puking"; + pcVar25 = "Puking"; do { - bVar10 = *pbVar14; - bVar30 = bVar10 < (byte)*pcVar24; - if (bVar10 != *pcVar24) { + bVar11 = *pbVar15; + bVar31 = bVar11 < (byte)*pcVar25; + if (bVar11 != *pcVar25) { LAB_00488700: - uVar15 = -(uint)bVar30 | 1; + uVar16 = -(uint)bVar31 | 1; goto LAB_00488705; } - if (bVar10 == 0) break; - bVar10 = pbVar14[1]; - bVar30 = bVar10 < (byte)pcVar24[1]; - if (bVar10 != pcVar24[1]) goto LAB_00488700; - pbVar14 = pbVar14 + 2; - pcVar24 = pcVar24 + 2; - } while (bVar10 != 0); - uVar15 = 0; + if (bVar11 == 0) break; + bVar11 = pbVar15[1]; + bVar31 = bVar11 < (byte)pcVar25[1]; + if (bVar11 != pcVar25[1]) goto LAB_00488700; + pbVar15 = pbVar15 + 2; + pcVar25 = pcVar25 + 2; + } while (bVar11 != 0); + uVar16 = 0; LAB_00488705: - if (uVar15 != 0) goto LAB_0048870d; + if (uVar16 != 0) goto LAB_0048870d; } LAB_004887ae: pAVar1 = &(npc->_sprite)._animState; if ((npc->_sprite)._animState._animData != (void *)0x0) { - bVar10 = AnimationState::IsEventTriggered(pAVar1,(byte *)"Shoot"); - if (bVar10 != 0) { + bVar11 = AnimationState::IsEventTriggered(pAVar1,(byte *)"Shoot"); + if (bVar11 != 0) { Entity_NPC::PlaySound(npc,0x137,1.0,2,0,1.0); } if ((npc->_sprite)._animState._animData != (void *)0x0) { - bVar10 = AnimationState::WasEventTriggered(pAVar1,(byte *)"Shoot"); - if ((bVar10 != 0) && + bVar11 = AnimationState::WasEventTriggered(pAVar1,(byte *)"Shoot"); + if ((bVar11 != 0) && ((((npc->_sprite)._animState._animData == (void *)0x0 || - (bVar10 = AnimationState::WasEventTriggered(pAVar1,(byte *)"StopShooting"), - bVar10 == 0)) && (cVar11 = Entity::IsFrame((Entity *)npc,3,0), cVar11 != '\0')))) { - pEVar29 = (Entity_NPC *)(npc->_v1).x; - local_308 = pEVar29; - if ((float)pEVar29 < (float)pEVar29 + 360.0) { + (bVar11 = AnimationState::WasEventTriggered(pAVar1,(byte *)"StopShooting"), + bVar11 == 0)) && (cVar12 = Entity::IsFrame((Entity *)npc,3,0), cVar12 != '\0')))) { + pEVar30 = (Entity_NPC *)(npc->_v1).x; + local_308 = pEVar30; + if ((float)pEVar30 < (float)pEVar30 + 360.0) { do { - uVar15 = Random(); - if ((uVar15 & 3) != 0) { + uVar16 = Random(); + if ((uVar16 & 3) != 0) { local_2dc = (float)local_308 * 0.017453292; ProjectileParams::ProjectileParams((Entity_NPC *)&local_b8); local_b8.HeightModifier = -30.0; local_b8.FallingSpeedModifier = 3.0; local_b8.FallingAccelModifier = -0.05; - iVar33 = Random(); + iVar34 = Random(); local_b8.BulletFlags._0_4_ = (uint)local_b8.BulletFlags | 0x20000; local_b8.Variant = 3; local_b8.Color._colorize[0] = 0.8; @@ -89272,124 +89308,124 @@ LAB_004887ae: local_b8.Color._colorize[2] = 0.85; local_b8.Color._colorize[3] = 1.0; local_b8.Scale = - (float)((double)iVar33 + __uint_to_double_fixup[-(iVar33 >> 0x1f)]) * + (float)((double)iVar34 + __uint_to_double_fixup[-(iVar34 >> 0x1f)]) * 2.3283064e-10 + 0.5; - fVar21 = local_2dc; + fVar22 = local_2dc; cos(); - local_270.x = fVar21 * 8.0; - fVar21 = local_2dc; + local_270.x = fVar22 * 8.0; + fVar22 = local_2dc; sin(); - local_270.y = fVar21 * 8.0; + local_270.y = fVar22 * 8.0; Entity_NPC::FireProjectiles(npc,&npc->_pos,&local_270,0,&local_b8); } - pEVar29 = (Entity_NPC *)(npc->_v1).x; + pEVar30 = (Entity_NPC *)(npc->_v1).x; local_308 = (Entity_NPC *)((float)local_308 + 60.0); - } while ((float)local_308 < (float)pEVar29 + 360.0); + } while ((float)local_308 < (float)pEVar30 + 360.0); } - (npc->_v1).x = (npc->_v1).y * 9.0 + (float)pEVar29; + (npc->_v1).x = (npc->_v1).y * 9.0 + (float)pEVar30; } goto LAB_00488693; } } goto LAB_004886a6; } - if (iVar33 == 0xd) { - pbVar19 = (npc->_sprite)._animState._animData; - if ((pbVar19 == (byte *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { + if (iVar34 == 0xd) { + pbVar20 = (npc->_sprite)._animState._animData; + if ((pbVar20 == (byte *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { LAB_00488a10: - if ((pbVar19 != (byte *)0x0) && ((npc->_sprite)._animState._isPlaying == 0)) { - pbVar19 = (npc->_sprite)._animState._animData; - if (0xf < *(uint *)(pbVar19 + 0x14)) { - pbVar19 = *(byte **)pbVar19; + if ((pbVar20 != (byte *)0x0) && ((npc->_sprite)._animState._isPlaying == 0)) { + pbVar20 = (npc->_sprite)._animState._animData; + if (0xf < *(uint *)(pbVar20 + 0x14)) { + pbVar20 = *(byte **)pbVar20; } - pbVar14 = s_Attack1; + pbVar15 = s_Attack1; do { - bVar10 = *pbVar19; - bVar30 = bVar10 < *pbVar14; - if (bVar10 != *pbVar14) { + bVar11 = *pbVar20; + bVar31 = bVar11 < *pbVar15; + if (bVar11 != *pbVar15) { LAB_00488a50: - uVar15 = -(uint)bVar30 | 1; + uVar16 = -(uint)bVar31 | 1; goto LAB_00488a55; } - if (bVar10 == 0) break; - bVar10 = pbVar19[1]; - bVar30 = bVar10 < pbVar14[1]; - if (bVar10 != pbVar14[1]) goto LAB_00488a50; - pbVar19 = pbVar19 + 2; - pbVar14 = pbVar14 + 2; - } while (bVar10 != 0); - uVar15 = 0; + if (bVar11 == 0) break; + bVar11 = pbVar20[1]; + bVar31 = bVar11 < pbVar15[1]; + if (bVar11 != pbVar15[1]) goto LAB_00488a50; + pbVar20 = pbVar20 + 2; + pbVar15 = pbVar15 + 2; + } while (bVar11 != 0); + uVar16 = 0; LAB_00488a55: - if (uVar15 == 0) goto LAB_00488ab1; + if (uVar16 == 0) goto LAB_00488ab1; } ANM2::Play(&npc->_sprite,s_Attack1,0); - pMVar9 = g_manager; + pMVar10 = g_manager; local_2a4 = 0x398; seed_fart_sound_override(); - SoundEffects::Play(&pMVar9->_sfxManager,local_2a4,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar10->_sfxManager,local_2a4,1.0,2,0,1.0,0.0); } else { - pbVar14 = pbVar19; - if (0xf < *(uint *)(pbVar19 + 0x14)) { - pbVar14 = *(byte **)pbVar19; + pbVar15 = pbVar20; + if (0xf < *(uint *)(pbVar20 + 0x14)) { + pbVar15 = *(byte **)pbVar20; } - pbVar23 = s_Attack1; + pbVar24 = s_Attack1; do { - bVar10 = *pbVar14; - bVar30 = bVar10 < *pbVar23; - if (bVar10 != *pbVar23) { + bVar11 = *pbVar15; + bVar31 = bVar11 < *pbVar24; + if (bVar11 != *pbVar24) { LAB_00488a03: - uVar15 = -(uint)bVar30 | 1; + uVar16 = -(uint)bVar31 | 1; goto LAB_00488a08; } - if (bVar10 == 0) break; - bVar10 = pbVar14[1]; - bVar30 = bVar10 < pbVar23[1]; - if (bVar10 != pbVar23[1]) goto LAB_00488a03; - pbVar14 = pbVar14 + 2; - pbVar23 = pbVar23 + 2; - } while (bVar10 != 0); - uVar15 = 0; + if (bVar11 == 0) break; + bVar11 = pbVar15[1]; + bVar31 = bVar11 < pbVar24[1]; + if (bVar11 != pbVar24[1]) goto LAB_00488a03; + pbVar15 = pbVar15 + 2; + pbVar24 = pbVar24 + 2; + } while (bVar11 != 0); + uVar16 = 0; LAB_00488a08: - if (uVar15 != 0) goto LAB_00488a10; + if (uVar16 != 0) goto LAB_00488a10; } LAB_00488ab1: if ((npc->_sprite)._animState._animData == (void *)0x0) goto LAB_004886a6; - bVar10 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"); - if ((bVar10 != 0) && - ((cVar11 = Entity::HasEntityFlags(0,0x10000000), cVar11 == '\0' || - (iVar33 = Entity::CountRelatedEntities(0x27,0,extraout_ECX,0), iVar33 == 0)))) { - uVar12 = Random(); + bVar11 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"); + if ((bVar11 != 0) && + ((cVar12 = Entity::HasEntityFlags(0,0x10000000), cVar12 == '\0' || + (iVar34 = Entity::CountRelatedEntities(0x27,0,extraout_ECX,0), iVar34 == 0)))) { + uVar13 = Random(); local_260 = (npc->_pos).x + (float)local_308; local_25c = (npc->_pos).y + 20.0; local_268 = 0; local_264 = 0x40a00000; - piVar22 = (int *)Game::SpawnEx(g_game,0x27,0,&local_260,&local_268,npc,0,uVar12,0); - (**(code **)(*piVar22 + 0xc))(); + piVar23 = (int *)Game::SpawnEx(g_game,0x27,0,&local_260,&local_268,npc,0,uVar13,0); + (**(code **)(*piVar23 + 0xc))(); Entity_NPC::PlaySound(npc,0x13a,1.0,2,0,1.0); - uVar15 = Random(); + uVar16 = Random(); local_318 = 0.0; - local_2fc = (EntityPtr)(uVar15 % 3 + 2); + local_2fc = (EntityPtr)(uVar16 % 3 + 2); if (local_2fc != (EntityPtr)0x0) { do { - iVar33 = Random(); - piVar22 = (int *)Entity_NPC::MakeSplat - (npc,(float)((double)iVar33 + - __uint_to_double_fixup[-(iVar33 >> 0x1f)]) * + iVar34 = Random(); + piVar23 = (int *)Entity_NPC::MakeSplat + (npc,(float)((double)iVar34 + + __uint_to_double_fixup[-(iVar34 >> 0x1f)]) * 2.3283064e-10 * 0.5 + 0.5); if (local_318 == 0.0) { - fVar31 = (npc->_pos).y + 20.0; - fVar21 = (npc->_pos).x + (float)local_308; + fVar32 = (npc->_pos).y + 20.0; + fVar22 = (npc->_pos).x + (float)local_308; } else { - iVar33 = Random(); - fVar31 = (float)((double)iVar33 + __uint_to_double_fixup[-(iVar33 >> 0x1f)]) * + iVar34 = Random(); + fVar32 = (float)((double)iVar34 + __uint_to_double_fixup[-(iVar34 >> 0x1f)]) * 2.3283064e-10; - fVar21 = fVar31 * (float)local_308 + (npc->_pos).x; - fVar31 = fVar31 * 20.0 + (npc->_pos).y; + fVar22 = fVar32 * (float)local_308 + (npc->_pos).x; + fVar32 = fVar32 * 20.0 + (npc->_pos).y; } - piVar22[0xcf] = (int)fVar21; - piVar22[0xd0] = (int)fVar31; + piVar23[0xcf] = (int)fVar22; + piVar23[0xd0] = (int)fVar32; afStack_120[0x13] = 0.0; afStack_120[0x14] = 0.0; afStack_120[0x15] = 0.0; @@ -89401,46 +89437,46 @@ LAB_00488ab1: afStack_120[0x17] = 0.42; afStack_120[0x18] = 0.43; afStack_120[0x19] = 0.35; - (**(code **)(*piVar22 + 0x3c))(afStack_120 + 0xf,0xffffffff,0xff,0,1); - (**(code **)(*piVar22 + 0xc))(); + (**(code **)(*piVar23 + 0x3c))(afStack_120 + 0xf,0xffffffff,0xff,0,1); + (**(code **)(*piVar23 + 0xc))(); local_318 = (float)((int)local_318 + 1); } while ((int)local_318 < (int)local_2fc); } } goto LAB_00488693; } - if (iVar33 != 8) { - if (iVar33 == 10) { - iVar18 = vector_to_direction(); - (npc->_sprite)._flipX = iVar18 == 0; - iVar33 = npc->_i1; - if (iVar33 == 0) { - ANM2::Play(&npc->_sprite,(&PTR_s_LaserStartSide_00b1dbf4)[iVar18],0); + if (iVar34 != 8) { + if (iVar34 == 10) { + iVar19 = vector_to_direction(); + (npc->_sprite)._flipX = iVar19 == 0; + iVar34 = npc->_i1; + if (iVar34 == 0) { + ANM2::Play(&npc->_sprite,(&PTR_s_LaserStartSide_00b1dbf4)[iVar19],0); if (((npc->_sprite)._animState._animData == (void *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { npc->_i1 = npc->_i1 + 1; } } - else if (iVar33 == 1) { - ANM2::Play(&npc->_sprite,(&PTR_s_LaserLoopSide_00b1dbe4)[iVar18],0); + else if (iVar34 == 1) { + ANM2::Play(&npc->_sprite,(&PTR_s_LaserLoopSide_00b1dbe4)[iVar19],0); local_2d8 = 0.0; local_2d4 = -30.0; - if (iVar18 == 0) { + if (iVar19 == 0) { local_2d8 = -35.0; } - else if (iVar18 == 2) { + else if (iVar19 == 2) { local_2d8 = 35.0; } - fVar21 = (float)iVar18 * 90.0 + 180.0; + fVar22 = (float)iVar19 * 90.0 + 180.0; normalize_angle_degrees(0x1e,&local_2d8,npc,0); - local_2fc = (EntityPtr)Entity_Laser::ShootAngle(6,&npc->_pos,fVar21); - if (iVar18 == 1) { - fVar21 = -10.0; + local_2fc = (EntityPtr)Entity_Laser::ShootAngle(6,&npc->_pos,fVar22); + if (iVar19 == 1) { + fVar22 = -10.0; } else { - fVar21 = 3000.0; + fVar22 = 3000.0; } - *(float *)((int)local_2fc + 0x358) = fVar21; + *(float *)((int)local_2fc + 0x358) = fVar22; (**(code **)(*(int *)local_2fc + 0xc))(); pEVar3 = &npc->_entityRef; if (npc->_entityRef != (EntityPtr)0x0) { @@ -89452,9 +89488,9 @@ LAB_00488ab1: npc->_i1 = npc->_i1 + 1; } else { - if (iVar33 != 2) { - if ((iVar33 != 3) || - ((ANM2::Play(&npc->_sprite,(&PTR_s_LaserEndSide_00b1dbd4)[iVar18],0), + if (iVar34 != 2) { + if ((iVar34 != 3) || + ((ANM2::Play(&npc->_sprite,(&PTR_s_LaserEndSide_00b1dbd4)[iVar19],0), (npc->_sprite)._animState._animData != (void *)0x0 && ((npc->_sprite)._animState._isPlaying != 0)))) goto LAB_004892ac; npc->_state = 3; @@ -89471,92 +89507,92 @@ LAB_00488ab1: if (npc->_i1 != 0) { if (npc->_i1 == 1) { ANM2::Play(&npc->_sprite,(byte *)"RollLoop",0); - cVar11 = Vector::operator_ne(&g_vectorZero); - if (cVar11 != '\0') { - pfVar16 = (float *)Vector::Normalized(local_248); - bVar10 = npc->_collidesWithGrid; - fVar21 = pfVar16[1]; - (npc->_velocity).x = *pfVar16 * 25.0; - (npc->_velocity).y = fVar21 * 25.0; - pMVar9 = g_manager; - if (bVar10 != 0) { + cVar12 = Vector::operator_ne(&g_vectorZero); + if (cVar12 != '\0') { + pfVar17 = (float *)Vector::Normalized(local_248); + bVar11 = npc->_collidesWithGrid; + fVar22 = pfVar17[1]; + (npc->_velocity).x = *pfVar17 * 25.0; + (npc->_velocity).y = fVar22 * 25.0; + pMVar10 = g_manager; + if (bVar11 != 0) { local_29c = 0x39c; seed_fart_sound_override(); - SoundEffects::Play(&pMVar9->_sfxManager,local_29c,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar10->_sfxManager,local_29c,1.0,2,0,1.0,0.0); } } - iVar33 = npc->_stateFrame; - npc->_stateFrame = iVar33 + 1; - if ((0x96 < iVar33) || (cVar11 = Entity::HasEntityFlags(0x1000a00,0), cVar11 != '\0')) { + iVar34 = npc->_stateFrame; + npc->_stateFrame = iVar34 + 1; + if ((0x96 < iVar34) || (cVar12 = Entity::HasEntityFlags(0x1000a00,0), cVar12 != '\0')) { npc->_i1 = npc->_i1 + 1; } - pEVar17 = Entity_NPC::GetPlayerTarget(npc); + pEVar18 = Entity_NPC::GetPlayerTarget(npc); if ((npc->_type == 0x19a) && - (((ABS((pEVar17->_pos).x - (npc->_pos).x) < 20.0 || - (ABS((pEVar17->_pos).y - (npc->_pos).y) < 20.0)) && - (uVar15 = Random(), uVar15 % 3 == 0)))) { + (((ABS((pEVar18->_pos).x - (npc->_pos).x) < 20.0 || + (ABS((pEVar18->_pos).y - (npc->_pos).y) < 20.0)) && + (uVar16 = Random(), uVar16 % 3 == 0)))) { npc->_friction = npc->_friction * 0.6; npc->_i1 = npc->_i1 + 1; } goto LAB_004892ac; } - pbVar19 = (npc->_sprite)._animState._animData; - if (pbVar19 == (byte *)0x0) { + pbVar20 = (npc->_sprite)._animState._animData; + if (pbVar20 == (byte *)0x0) { LAB_00489099: ANM2::Play(&npc->_sprite,(byte *)"Taunt",0); - pMVar9 = g_manager; + pMVar10 = g_manager; local_2e8 = 0x39b; seed_fart_sound_override(); - SoundEffects::Play(&pMVar9->_sfxManager,local_2e8,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar10->_sfxManager,local_2e8,1.0,2,0,1.0,0.0); } else { if ((npc->_sprite)._animState._isPlaying == 0) { - pbVar19 = (npc->_sprite)._animState._animData; - if (0xf < *(uint *)(pbVar19 + 0x14)) { - pbVar19 = *(byte **)pbVar19; + pbVar20 = (npc->_sprite)._animState._animData; + if (0xf < *(uint *)(pbVar20 + 0x14)) { + pbVar20 = *(byte **)pbVar20; } - pcVar24 = "Taunt"; + pcVar25 = "Taunt"; do { - bVar10 = *pbVar19; - bVar30 = bVar10 < (byte)*pcVar24; - if (bVar10 != *pcVar24) { + bVar11 = *pbVar20; + bVar31 = bVar11 < (byte)*pcVar25; + if (bVar11 != *pcVar25) { LAB_00489090: - uVar15 = -(uint)bVar30 | 1; + uVar16 = -(uint)bVar31 | 1; goto joined_r0x00489097; } - if (bVar10 == 0) break; - bVar10 = pbVar19[1]; - bVar30 = bVar10 < (byte)pcVar24[1]; - if (bVar10 != pcVar24[1]) goto LAB_00489090; - pbVar19 = pbVar19 + 2; - pcVar24 = pcVar24 + 2; - } while (bVar10 != 0); - uVar15 = 0; + if (bVar11 == 0) break; + bVar11 = pbVar20[1]; + bVar31 = bVar11 < (byte)pcVar25[1]; + if (bVar11 != pcVar25[1]) goto LAB_00489090; + pbVar20 = pbVar20 + 2; + pcVar25 = pcVar25 + 2; + } while (bVar11 != 0); + uVar16 = 0; } else { - if (0xf < *(uint *)(pbVar19 + 0x14)) { - pbVar19 = *(byte **)pbVar19; + if (0xf < *(uint *)(pbVar20 + 0x14)) { + pbVar20 = *(byte **)pbVar20; } - pcVar24 = "Taunt"; + pcVar25 = "Taunt"; do { - bVar10 = *pbVar19; - bVar30 = bVar10 < (byte)*pcVar24; - if (bVar10 != *pcVar24) { + bVar11 = *pbVar20; + bVar31 = bVar11 < (byte)*pcVar25; + if (bVar11 != *pcVar25) { LAB_00489050: - uVar15 = -(uint)bVar30 | 1; + uVar16 = -(uint)bVar31 | 1; goto joined_r0x00489097; } - if (bVar10 == 0) break; - bVar10 = pbVar19[1]; - bVar30 = bVar10 < (byte)pcVar24[1]; - if (bVar10 != pcVar24[1]) goto LAB_00489050; - pbVar19 = pbVar19 + 2; - pcVar24 = pcVar24 + 2; - } while (bVar10 != 0); - uVar15 = 0; + if (bVar11 == 0) break; + bVar11 = pbVar20[1]; + bVar31 = bVar11 < (byte)pcVar25[1]; + if (bVar11 != pcVar25[1]) goto LAB_00489050; + pbVar20 = pbVar20 + 2; + pcVar25 = pcVar25 + 2; + } while (bVar11 != 0); + uVar16 = 0; } joined_r0x00489097: - if (uVar15 != 0) goto LAB_00489099; + if (uVar16 != 0) goto LAB_00489099; } if ((npc->_sprite)._animState._animData != (void *)0x0) { if ((npc->_sprite)._animState._isPlaying == 0) { @@ -89566,85 +89602,85 @@ joined_r0x00489097: } goto LAB_004886a6; } - pbVar19 = (npc->_sprite)._animState._animData; - if (pbVar19 == (byte *)0x0) { + pbVar20 = (npc->_sprite)._animState._animData; + if (pbVar20 == (byte *)0x0) { LAB_00488d89: ANM2::Play(&npc->_sprite,(byte *)"RollStart",0); - pMVar9 = g_manager; + pMVar10 = g_manager; local_2a0 = 0x399; seed_fart_sound_override(); - SoundEffects::Play(&pMVar9->_sfxManager,local_2a0,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar10->_sfxManager,local_2a0,1.0,2,0,1.0,0.0); } else { if ((npc->_sprite)._animState._isPlaying == 0) { - pbVar19 = (npc->_sprite)._animState._animData; - if (0xf < *(uint *)(pbVar19 + 0x14)) { - pbVar19 = *(byte **)pbVar19; + pbVar20 = (npc->_sprite)._animState._animData; + if (0xf < *(uint *)(pbVar20 + 0x14)) { + pbVar20 = *(byte **)pbVar20; } - pcVar24 = "RollStart"; + pcVar25 = "RollStart"; do { - bVar10 = *pbVar19; - bVar30 = bVar10 < (byte)*pcVar24; - if (bVar10 != *pcVar24) { + bVar11 = *pbVar20; + bVar31 = bVar11 < (byte)*pcVar25; + if (bVar11 != *pcVar25) { LAB_00488d80: - uVar15 = -(uint)bVar30 | 1; + uVar16 = -(uint)bVar31 | 1; goto joined_r0x00488d87; } - if (bVar10 == 0) break; - bVar10 = pbVar19[1]; - bVar30 = bVar10 < (byte)pcVar24[1]; - if (bVar10 != pcVar24[1]) goto LAB_00488d80; - pbVar19 = pbVar19 + 2; - pcVar24 = pcVar24 + 2; - } while (bVar10 != 0); - uVar15 = 0; + if (bVar11 == 0) break; + bVar11 = pbVar20[1]; + bVar31 = bVar11 < (byte)pcVar25[1]; + if (bVar11 != pcVar25[1]) goto LAB_00488d80; + pbVar20 = pbVar20 + 2; + pcVar25 = pcVar25 + 2; + } while (bVar11 != 0); + uVar16 = 0; } else { - if (0xf < *(uint *)(pbVar19 + 0x14)) { - pbVar19 = *(byte **)pbVar19; + if (0xf < *(uint *)(pbVar20 + 0x14)) { + pbVar20 = *(byte **)pbVar20; } - pcVar24 = "RollStart"; + pcVar25 = "RollStart"; do { - bVar10 = *pbVar19; - bVar30 = bVar10 < (byte)*pcVar24; - if (bVar10 != *pcVar24) { + bVar11 = *pbVar20; + bVar31 = bVar11 < (byte)*pcVar25; + if (bVar11 != *pcVar25) { LAB_00488d42: - uVar15 = -(uint)bVar30 | 1; + uVar16 = -(uint)bVar31 | 1; goto joined_r0x00488d87; } - if (bVar10 == 0) break; - bVar10 = pbVar19[1]; - bVar30 = bVar10 < (byte)pcVar24[1]; - if (bVar10 != pcVar24[1]) goto LAB_00488d42; - pbVar19 = pbVar19 + 2; - pcVar24 = pcVar24 + 2; - } while (bVar10 != 0); - uVar15 = 0; + if (bVar11 == 0) break; + bVar11 = pbVar20[1]; + bVar31 = bVar11 < (byte)pcVar25[1]; + if (bVar11 != pcVar25[1]) goto LAB_00488d42; + pbVar20 = pbVar20 + 2; + pcVar25 = pcVar25 + 2; + } while (bVar11 != 0); + uVar16 = 0; } joined_r0x00488d87: - if (uVar15 != 0) goto LAB_00488d89; + if (uVar16 != 0) goto LAB_00488d89; } if (((npc->_sprite)._animState._animData != (void *)0x0) && ((npc->_sprite)._animState._isPlaying != 0)) goto LAB_004892ac; npc->_i1 = npc->_i1 + 1; - pEVar17 = Entity_NPC::GetPlayerTarget(npc); - local_258 = (pEVar17->_pos).x - (npc->_pos).x; - local_254 = (pEVar17->_pos).y - (npc->_pos).y; - pfVar16 = (float *)Vector::Normalized(local_1c8); - fVar21 = pfVar16[1]; - (npc->_velocity).x = *pfVar16 * 25.0 + (npc->_velocity).x; - (npc->_velocity).y = fVar21 * 25.0 + (npc->_velocity).y; + pEVar18 = Entity_NPC::GetPlayerTarget(npc); + local_258 = (pEVar18->_pos).x - (npc->_pos).x; + local_254 = (pEVar18->_pos).y - (npc->_pos).y; + pfVar17 = (float *)Vector::Normalized(local_1c8); + fVar22 = pfVar17[1]; + (npc->_velocity).x = *pfVar17 * 25.0 + (npc->_velocity).x; + (npc->_velocity).y = fVar22 * 25.0 + (npc->_velocity).y; } LAB_004892a2: npc->_stateFrame = 0; } LAB_004892ac: - pGVar28 = g_game; + pGVar29 = g_game; if (((npc->_subtype != 1) || ((npc->_flags & 0x4000) != 0)) || - ((bVar10 = Game::IsPaused(g_game), bVar10 != 0 || - ((pGVar28->_frameCount + npc->_index) % 0x1e != 0)))) goto LAB_00489c07; + ((bVar11 = Game::IsPaused(g_game), bVar11 != 0 || + ((pGVar29->_frameCount + npc->_index) % 0x1e != 0)))) goto LAB_00489c07; local_2e0 = Random(); - pGVar28 = g_game; + pGVar29 = g_game; local_2b4 = &npc->_pos; local_310 = g_game; local_30c = (ItemPool *)0x0; @@ -89655,29 +89691,29 @@ LAB_004892ac: local_318 = local_2e4; if (1 < *(int *)&g_game->_deathmatchManager) { local_308 = (g_game->_deathmatchManager)._type; - fVar21 = (float)Random(); - pEVar29 = local_308; + fVar22 = (float)Random(); + pEVar30 = local_308; local_23c = 0x900000005; local_2e8 = 7; - local_2e4 = fVar21; + local_2e4 = fVar22; if (local_318 == 7.00649e-45) { if (local_314 < 0x12d) { if (local_314 == 300) { while ((local_30c == (ItemPool *)0x0 || - (cVar11 = (**(code **)(*(int *)local_308 + 0x24))(local_30c), cVar11 != '\0'))) { - if (fVar21 == 0.0) { + (cVar12 = (**(code **)(*(int *)local_308 + 0x24))(local_30c), cVar12 != '\0'))) { + if (fVar22 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)fVar21 >> ((byte)local_23c & 0x1f) ^ (uint)fVar21; - uVar15 = uVar15 << ((byte)((ulonglong)local_23c >> 0x20) & 0x1f) ^ uVar15; - fVar21 = (float)(uVar15 >> ((byte)local_2e8 & 0x1f) ^ uVar15); - iVar33 = ItemPool::GetCardEx((int)fVar21,0x19,10,10,1); + uVar16 = (uint)fVar22 >> ((byte)local_23c & 0x1f) ^ (uint)fVar22; + uVar16 = uVar16 << ((byte)((ulonglong)local_23c >> 0x20) & 0x1f) ^ uVar16; + fVar22 = (float)(uVar16 >> ((byte)local_2e8 & 0x1f) ^ uVar16); + iVar34 = ItemPool::GetCardEx((int)fVar22,0x19,10,10,1); afStack_120[1] = 7.00649e-45; afStack_120[2] = 1.26117e-44; afStack_120[3] = 9.80909e-45; - afStack_120[0] = fVar21; - local_30c = (ItemPool *)lua_callback_run_get_card(afStack_120,iVar33,1,1,0); + afStack_120[0] = fVar22; + local_30c = (ItemPool *)lua_callback_run_get_card(afStack_120,iVar34,1,1,0); } goto LAB_00489428; } @@ -89685,47 +89721,47 @@ LAB_004892ac: local_2c4 = (EntityPtr *)((uint)local_30c >> 0xb); do { if (local_30c != (ItemPool *)0x0) { - pcVar6 = *(code **)(*(int *)local_308 + 0x28); - iVar33 = ItemPool::GetPillEffect + pcVar7 = *(code **)(*(int *)local_308 + 0x28); + iVar34 = ItemPool::GetPillEffect (&g_game->_itemPool,(uint)local_30c,(Entity_Player *)0x0); - cVar11 = (*pcVar6)(iVar33); - if (cVar11 == '\0') goto LAB_00489428; - fVar21 = local_2e4; + cVar12 = (*pcVar7)(iVar34); + if (cVar12 == '\0') goto LAB_00489428; + fVar22 = local_2e4; } local_2c0 = &g_game->_itemPool; - if (fVar21 == 0.0) { + if (fVar22 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)fVar21 >> ((byte)local_23c & 0x1f) ^ (uint)fVar21; - uVar15 = uVar15 << ((byte)((ulonglong)local_23c >> 0x20) & 0x1f) ^ uVar15; - fVar21 = (float)(uVar15 >> ((byte)local_2e8 & 0x1f) ^ uVar15); - local_2e4 = fVar21; - uVar15 = ItemPool::GetPill(fVar21); - local_30c = (ItemPool *)(uVar15 | ((uint)local_2c4 & 1) << 0xb); + uVar16 = (uint)fVar22 >> ((byte)local_23c & 0x1f) ^ (uint)fVar22; + uVar16 = uVar16 << ((byte)((ulonglong)local_23c >> 0x20) & 0x1f) ^ uVar16; + fVar22 = (float)(uVar16 >> ((byte)local_2e8 & 0x1f) ^ uVar16); + local_2e4 = fVar22; + uVar16 = ItemPool::GetPill(fVar22); + local_30c = (ItemPool *)(uVar16 | ((uint)local_2c4 & 1) << 0xb); } while( true ); } if (local_314 != 100) goto LAB_00489430; if (local_30c == (ItemPool *)0x19) { LAB_0048940c: - bVar30 = false; + bVar31 = false; } else { local_2c0 = local_30c; std::set::find_node(local_210,&local_2c0); if (((*(char *)(local_208 + 0xd) == '\0') && - (*(int *)(local_208 + 0x10) <= (int)local_30c)) && (local_208 != pEVar29->_index)) + (*(int *)(local_208 + 0x10) <= (int)local_30c)) && (local_208 != pEVar30->_index)) goto LAB_0048940c; - bVar30 = true; + bVar31 = true; } - if ((local_30c == (ItemPool *)0x0) || (bVar30)) { - local_30c = (ItemPool *)(**(code **)(*(int *)pEVar29 + 0x84))(0); + if ((local_30c == (ItemPool *)0x0) || (bVar31)) { + local_30c = (ItemPool *)(**(code **)(*(int *)pEVar30 + 0x84))(0); } } else { if (local_314 != 0x15e) goto LAB_00489430; while ((local_30c == (ItemPool *)0x0 || - (cVar11 = (**(code **)(*(int *)pEVar29 + 0x2c))(local_30c), cVar11 != '\0'))) { + (cVar12 = (**(code **)(*(int *)pEVar30 + 0x2c))(local_30c), cVar12 != '\0'))) { local_30c = (ItemPool *)ItemPool::GetTrinket(&g_game->_itemPool,0); } npc = local_2cc; @@ -89733,7 +89769,7 @@ LAB_0048940c: LAB_00489428: } LAB_00489430: - pGVar28 = local_310; + pGVar29 = local_310; } if (((npc->_flags & 0x20000000) != 0) && (local_318 == 1.4013e-42)) { switch(local_314) { @@ -89742,177 +89778,177 @@ LAB_00489430: local_314 = 0x35; } } - local_2fc = (EntityPtr)EntityFactory::Create(pGVar28->_entityFactory,(uint)local_318,0); - lVar7 = CONCAT44(local_298,local_2bc); + local_2fc = (EntityPtr)EntityFactory::Create(pGVar29->_entityFactory,(uint)local_318,0); + lVar8 = CONCAT44(local_298,local_2bc); if (local_2fc != (EntityPtr)0x0) { - uVar32 = GetTimeNs(); - pEVar29 = local_2cc; + uVar33 = GetTimeNs(); + pEVar30 = local_2cc; this = local_2fc; - uVar26 = (uint)(uVar32 >> 0x20); - lVar7 = (uVar32 & 0xffffffff) * 0x431bde82; - local_298 = (undefined4)((ulonglong)lVar7 >> 0x20); - uVar32 = (ulonglong)uVar26 * 0xd7b634db + ((uVar32 & 0xffffffff) * 0xd7b634db >> 0x20); - uVar25 = (uint)(uVar32 >> 0x20); - lVar7 = lVar7 + (uVar32 & 0xffffffff); - local_308 = (Entity_NPC *)lVar7; - uVar15 = (uint)((ulonglong)lVar7 >> 0x20); - lVar7 = (ulonglong)uVar26 * 0x431bde82 + - (ulonglong)CONCAT14(CARRY4(uVar25,uVar15),uVar25 + uVar15); - uVar15 = (uint)((ulonglong)lVar7 >> 0x20); - local_2f0 = (uint)lVar7 >> 0x12 | uVar15 * 0x4000; - local_2f8 = (float)(uVar15 >> 0x12); + uVar27 = (uint)(uVar33 >> 0x20); + lVar8 = (uVar33 & 0xffffffff) * 0x431bde82; + local_298 = (undefined4)((ulonglong)lVar8 >> 0x20); + uVar33 = (ulonglong)uVar27 * 0xd7b634db + ((uVar33 & 0xffffffff) * 0xd7b634db >> 0x20); + uVar26 = (uint)(uVar33 >> 0x20); + lVar8 = lVar8 + (uVar33 & 0xffffffff); + local_308 = (Entity_NPC *)lVar8; + uVar16 = (uint)((ulonglong)lVar8 >> 0x20); + lVar8 = (ulonglong)uVar27 * 0x431bde82 + + (ulonglong)CONCAT14(CARRY4(uVar26,uVar16),uVar26 + uVar16); + uVar16 = (uint)((ulonglong)lVar8 >> 0x20); + local_2f0 = (uint)lVar8 >> 0x12 | uVar16 * 0x4000; + local_2f8 = (float)(uVar16 >> 0x12); *(int *)((int)local_2fc + 0x34) = local_2cc->_type; *(int *)((int)local_2fc + 0x38) = local_2cc->_variant; if (*(int *)((int)local_2fc + 0x3c8) != 0) { local_2bc = (int *)((int)local_2fc + 0x3c8); std::multiset::erase(&local_2bc); } - *(undefined4 *)((int)this + 0x3c8) = pEVar29; + *(undefined4 *)((int)this + 0x3c8) = pEVar30; std::multiset::insert((undefined4 *)((int)this + 0x3c8)); - *(float *)((int)this + 0x33c) = (pEVar29->_pos).x; - *(float *)((int)this + 0x340) = (pEVar29->_pos).y; + *(float *)((int)this + 0x33c) = (pEVar30->_pos).x; + *(float *)((int)this + 0x340) = (pEVar30->_pos).y; *(float *)((int)this + 0x360) = g_vectorZero.x; *(float *)((int)this + 0x364) = g_vectorZero.y; (**(code **)(*(int *)this + 4))(local_318,local_314,local_30c,local_2e0); - iVar33 = *(int *)((int)local_310->_room + 0x1214); - *(int *)((int)local_310->_room + 0x1214) = iVar33 + 1; - *(int *)((int)this + 0x20) = iVar33; + iVar34 = *(int *)((int)local_310->_room + 0x1214); + *(int *)((int)local_310->_room + 0x1214) = iVar34 + 1; + *(int *)((int)this + 0x20) = iVar34; EntityList::AddEntity(this); - bVar10 = Entity::IsActiveEnemy((Entity *)pEVar29,1); - if (bVar10 != 0) { - cVar11 = Entity::HasEntityFlags(0,0x10000000); - if (cVar11 == '\0') { - cVar11 = Entity::HasEntityFlags(0x20000000,0); - if (cVar11 != '\0') { + bVar11 = Entity::IsActiveEnemy((Entity *)pEVar30,1); + if (bVar11 != 0) { + cVar12 = Entity::HasEntityFlags(0,0x10000000); + if (cVar12 == '\0') { + cVar12 = Entity::HasEntityFlags(0x20000000,0); + if (cVar12 != '\0') { addEnemyKillScore = 0; - bVar10 = 0; - iVar33 = -1; + bVar11 = 0; + iVar34 = -1; ref = (EntityRef *)EntityRef::EntityRef(); - Entity::AddCharmed((Entity *)this,ref,iVar33,bVar10,addEnemyKillScore); + Entity::AddCharmed((Entity *)this,ref,iVar34,bVar11,addEnemyKillScore); } } else { - uVar15 = *(uint *)((int)this + 0x16c); - uVar12 = *(undefined4 *)((int)this + 0x168); - *(undefined4 *)((int)this + 0x168) = uVar12; - *(uint *)((int)this + 0x16c) = uVar15 | 0x10000000; + uVar16 = *(uint *)((int)this + 0x16c); + uVar13 = *(undefined4 *)((int)this + 0x168); + *(undefined4 *)((int)this + 0x168) = uVar13; + *(uint *)((int)this + 0x16c) = uVar16 | 0x10000000; if ((local_318 != 1.26117e-44) && (local_318 != 9.80909e-45)) { - *(undefined4 *)((int)this + 0x168) = uVar12; - *(uint *)((int)this + 0x16c) = uVar15 | 0x10000020; + *(undefined4 *)((int)this + 0x168) = uVar13; + *(uint *)((int)this + 0x16c) = uVar16 | 0x10000020; } - EntityRef::constructor(&EStack_1c0,(pEVar29->_charmSource)._entity); + EntityRef::constructor(&EStack_1c0,(pEVar30->_charmSource)._entity); Entity::AddCharmed((Entity *)this,&EStack_1c0,-1,0,0); if ((int)local_318 - 10U < 0x3de) { ANM2::LoadDeliriumForm(local_314,1); } } - local_318 = (float)__RTDynamicCast(pEVar29,0, + local_318 = (float)__RTDynamicCast(pEVar30,0, &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor,0); local_308 = (Entity_NPC *) __RTDynamicCast(this,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor,0); if ((local_318 != 0.0) && (local_308 != (Entity_NPC *)0x0)) { - cVar11 = Entity::HasEntityFlags(1,0); - if (cVar11 == '\0') { - cVar11 = Entity::HasEntityFlags(0,0x1000000); - if (cVar11 != '\0') { + cVar12 = Entity::HasEntityFlags(1,0); + if (cVar12 == '\0') { + cVar12 = Entity::HasEntityFlags(0,0x1000000); + if (cVar12 != '\0') { EntityRef::constructor(&EStack_198,(Entity *)0x0); Entity::AddBrimstoneMark((Entity *)local_308,&EStack_198,0x5a); } - cVar11 = Entity::HasEntityFlags(0x1000000,0); - if (cVar11 == '\0') goto LAB_0048996a; + cVar12 = Entity::HasEntityFlags(0x1000000,0); + if (cVar12 == '\0') goto LAB_0048996a; EntityRef::constructor(aEStack_170,(Entity *)0x0); - pEVar29 = local_308; + pEVar30 = local_308; Entity::AddShrink((Entity *)local_308,aEStack_170,0x5a,0,0); - if (0 < pEVar29->_shrinkCountdown) { - uVar12 = *(undefined4 *)((int)&pEVar29->_flags + 4); - *(uint *)&pEVar29->_flags = (uint)pEVar29->_flags | 0x1000000; - *(undefined4 *)((int)&pEVar29->_flags + 4) = uVar12; - pEVar29->_shrinkStatus1 = pEVar29->_shrinkStatus2; + if (0 < pEVar30->_shrinkCountdown) { + uVar13 = *(undefined4 *)((int)&pEVar30->_flags + 4); + *(uint *)&pEVar30->_flags = (uint)pEVar30->_flags | 0x1000000; + *(undefined4 *)((int)&pEVar30->_flags + 4) = uVar13; + pEVar30->_shrinkStatus1 = pEVar30->_shrinkStatus2; } } else { LAB_0048996a: - pEVar29 = local_308; + pEVar30 = local_308; } - Entity_NPC::SetScale(pEVar29,pEVar29->_scale * *(float *)((int)local_318 + 0xf48)); - pEVar29->_scaleMulti = pEVar29->_scaleMulti * *(float *)((int)local_318 + 0xf48); - pEVar29->_hitPointsMulti = pEVar29->_hitPointsMulti * *(float *)((int)local_318 + 0xf44); - pEVar29->_maxHitPoints = pEVar29->_maxHitPoints * *(float *)((int)local_318 + 0xf44); - pEVar29->_health = pEVar29->_health * *(float *)((int)local_318 + 0xf44); - cVar11 = (**(code **)(*(int *)pEVar29 + 0x4c))(); - if (cVar11 != '\0') { + Entity_NPC::SetScale(pEVar30,pEVar30->_scale * *(float *)((int)local_318 + 0xf48)); + pEVar30->_scaleMulti = pEVar30->_scaleMulti * *(float *)((int)local_318 + 0xf48); + pEVar30->_hitPointsMulti = pEVar30->_hitPointsMulti * *(float *)((int)local_318 + 0xf44); + pEVar30->_maxHitPoints = pEVar30->_maxHitPoints * *(float *)((int)local_318 + 0xf44); + pEVar30->_health = pEVar30->_health * *(float *)((int)local_318 + 0xf44); + cVar12 = (**(code **)(*(int *)pEVar30 + 0x4c))(); + if (cVar12 != '\0') { Entity_NPC::set_entity_ptr_f54(*(undefined4 *)((int)local_318 + 0xf54)); } } } - cVar11 = Game::ShouldEraseEnemy(this); - if (cVar11 != '\0') { + cVar12 = Game::ShouldEraseEnemy(this); + if (cVar12 != '\0') { Entity::RemoveWithPoof(this,extraout_ECX_00); } if ((*(char *)((int)this + 0x172) != '\0') && ((local_310->_proceduralItemManager)._proceduralItems._begin != (local_310->_proceduralItemManager)._proceduralItems._end)) { uStack_24c = *(undefined4 *)((int)this + 0x2c); - puVar20 = &local_310->field_0x67780; + psVar4 = &(local_310->_proceduralItemManager)._spawnTriggerTargets; uStack_250 = *(undefined4 *)((int)this + 0x28); - std::map::find(&iStack_2b8,&uStack_250); - if (iStack_2b8 == *(int *)puVar20) { + std::map::find(&pvStack_2b8,&uStack_250); + if (pvStack_2b8 == psVar4->_head) { uStack_290 = *(undefined4 *)((int)this + 0x28); local_28c = 0xffffffff; - piVar22 = (int *)std::map::find(auStack_230,&uStack_290); - if (*piVar22 == *(int *)puVar20) goto LAB_00489b0d; + piVar23 = (int *)std::map::find(auStack_230,&uStack_290); + if ((void *)*piVar23 == psVar4->_head) goto LAB_00489b0d; } - uVar15 = 0; + uVar16 = 0; if ((int)(g_game->_playerManager)._playerList._end - (int)(g_game->_playerManager)._playerList._begin >> 2 != 0) { do { - PlayerManager::GetPlayer(&g_game->_playerManager,uVar15); + PlayerManager::GetPlayer(&g_game->_playerManager,uVar16); trigger_set_dispatch(6,this,local_2b4,&g_vectorZero); - uVar15 = uVar15 + 1; - } while (uVar15 < (uint)((int)(g_game->_playerManager)._playerList._end - + uVar16 = uVar16 + 1; + } while (uVar16 < (uint)((int)(g_game->_playerManager)._playerList._end - (int)(g_game->_playerManager)._playerList._begin >> 2)); } } LAB_00489b0d: - uVar32 = GetTimeNs(); - local_2e0 = (uint)(uVar32 >> 0x20); - lVar8 = (uVar32 & 0xffffffff) * 0x431bde82; - iStack_2b8 = (int)((ulonglong)lVar8 >> 0x20); + uVar33 = GetTimeNs(); + local_2e0 = (uint)(uVar33 >> 0x20); + lVar9 = (uVar33 & 0xffffffff) * 0x431bde82; + pvStack_2b8 = (void *)((ulonglong)lVar9 >> 0x20); local_2b4 = (Vector *)((ulonglong)local_2e0 * 0xd7b634db >> 0x20); - lVar7 = (ulonglong)local_2e0 * 0x431bde82; - uVar32 = (ulonglong)local_2e0 * 0xd7b634db + ((uVar32 & 0xffffffff) * 0xd7b634db >> 0x20); - uVar26 = (uint)(uVar32 >> 0x20); - lVar8 = lVar8 + (uVar32 & 0xffffffff); - local_248[0] = (undefined4)lVar8; - uVar15 = (uint)((ulonglong)lVar8 >> 0x20); - lVar8 = lVar7 + (ulonglong)CONCAT14(CARRY4(uVar26,uVar15),uVar26 + uVar15); - uVar25 = (uint)((ulonglong)lVar8 >> 0x20); - uVar15 = (uint)lVar8 >> 0x12 | uVar25 * 0x4000; - uVar26 = uVar15 - local_2f0; - bVar30 = CARRY4((uint)g_entitySpawnTimeMs,uVar26); - g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar26; + lVar8 = (ulonglong)local_2e0 * 0x431bde82; + uVar33 = (ulonglong)local_2e0 * 0xd7b634db + ((uVar33 & 0xffffffff) * 0xd7b634db >> 0x20); + uVar27 = (uint)(uVar33 >> 0x20); + lVar9 = lVar9 + (uVar33 & 0xffffffff); + local_248[0] = (undefined4)lVar9; + uVar16 = (uint)((ulonglong)lVar9 >> 0x20); + lVar9 = lVar8 + (ulonglong)CONCAT14(CARRY4(uVar27,uVar16),uVar27 + uVar16); + uVar26 = (uint)((ulonglong)lVar9 >> 0x20); + uVar16 = (uint)lVar9 >> 0x12 | uVar26 * 0x4000; + uVar27 = uVar16 - local_2f0; + bVar31 = CARRY4((uint)g_entitySpawnTimeMs,uVar27); + g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar27; g_entitySpawnTimeMs._4_4_ = g_entitySpawnTimeMs._4_4_ + - (((uVar25 >> 0x12) - (int)local_2f8) - (uint)(uVar15 < local_2f0)) + (uint)bVar30; + (((uVar26 >> 0x12) - (int)local_2f8) - (uint)(uVar16 < local_2f0)) + (uint)bVar31; npc = local_2cc; } - local_298 = (undefined4)((ulonglong)lVar7 >> 0x20); - local_2bc = (int *)lVar7; - piVar22 = (int *)__RTDynamicCast(local_2fc,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, + local_298 = (undefined4)((ulonglong)lVar8 >> 0x20); + local_2bc = (int *)lVar8; + piVar23 = (int *)__RTDynamicCast(local_2fc,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor,0); - fVar21 = g_vectorOne.y * 2.5; - piVar22[0x39] = (int)(g_vectorOne.x * 2.5); - piVar22[0x11e] = 0x3f400000; - piVar22[0x3a] = (int)fVar21; - (**(code **)(*piVar22 + 0xc))(); + fVar22 = g_vectorOne.y * 2.5; + piVar23[0x39] = (int)(g_vectorOne.x * 2.5); + piVar23[0x11e] = 0x3f400000; + piVar23[0x3a] = (int)fVar22; + (**(code **)(*piVar23 + 0xc))(); LAB_00489c07: - pMVar9 = g_manager; + pMVar10 = g_manager; if (npc->_dead != 0) { local_2f4 = (void *)0x396; seed_fart_sound_override(); - SoundEffects::Play(&pMVar9->_sfxManager,(int)local_2f4,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar10->_sfxManager,(int)local_2f4,1.0,2,0,1.0,0.0); } npc->_friction = npc->_friction * 0.5; return; @@ -91297,19 +91333,18 @@ void __fastcall NpcAI::ENTITY_BROWNIE(Entity_NPC *npc) undefined1 *local_fc; ProjectileParams local_f8; float local_50; - undefined1 auStack_4c [36]; - void *local_28; + EntityRef EStack_4c; void *local_24; undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; undefined4 local_14; - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); local_14 = -NAN; puStack_18 = &LAB_00af2d66; local_1c = ExceptionList; - local_24 = (void *)(__security_cookie ^ (uint)(auStack_4c + 0x3c)); + local_24 = (void *)(__security_cookie ^ (int)register0x00000010 - 0x10U); fVar36 = (float)npc->_subtype; if (npc->_state == 0) { npc->_state = 3; @@ -91358,7 +91393,7 @@ void __fastcall NpcAI::ENTITY_BROWNIE(Entity_NPC *npc) local_114 = fVar36; if (local_144 == (float)local_fc) { local_140 = fVar26; - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } @@ -91407,7 +91442,7 @@ void __fastcall NpcAI::ENTITY_BROWNIE(Entity_NPC *npc) auVar44._4_12_ = auVar45._4_12_; auVar44._0_4_ = 0xffffffff; if (fVar36 == 1.4013e-45) { - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); iVar19 = EntityList::QuerySublist(pEVar27); local_17c = 1; puVar29 = *(undefined4 **)(iVar19 + 4); @@ -91485,7 +91520,7 @@ LAB_0048c81f: else { auVar44._0_4_ = 0xd9; } - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); Entity::CountRelatedEntities(auVar44); local_158 = local_164; local_13c = 8.40779e-45; @@ -91729,7 +91764,7 @@ LAB_0048d265: if (*(int *)(iVar19 + 0x28) == 0xd9) { npc->_health = *(float *)(iVar19 + 0x380) + npc->_health; pcVar1 = *(code **)(**(int **)(local_134 + (int)local_fc * 4) + 0x24); - EntityRef::constructor((EntityRef *)auStack_4c,(Entity *)local_150); + EntityRef::constructor(&EStack_4c,(Entity *)local_150); (*pcVar1)(); pVVar33 = (Vector *)local_130.y; npc = local_150; @@ -92777,16 +92812,16 @@ LAB_0048d1fb: Random(); piVar28 = (int *)Entity_NPC::MakeSplat(npc); local_50 = (npc->_splatColor)._tint[0]; - auStack_4c._0_4_ = (npc->_splatColor)._tint[1]; - auStack_4c._4_4_ = (npc->_splatColor)._tint[2]; - local_28 = (void *)(npc->_splatColor)._offset[2]; - auStack_4c._12_4_ = (npc->_splatColor)._colorize[0]; - auStack_4c._16_4_ = (npc->_splatColor)._colorize[1]; - auStack_4c._20_4_ = (npc->_splatColor)._colorize[2]; - auStack_4c._24_4_ = (npc->_splatColor)._colorize[3]; - auStack_4c._8_4_ = 0x3f000000; - auStack_4c._28_4_ = (npc->_splatColor)._offset[0]; - auStack_4c._32_4_ = (npc->_splatColor)._offset[1]; + EStack_4c._type = (int)(npc->_splatColor)._tint[1]; + EStack_4c._variant = (int)(npc->_splatColor)._tint[2]; + EStack_4c._entity = (void *)(npc->_splatColor)._offset[2]; + EStack_4c._spawnerVariant = (int)(npc->_splatColor)._colorize[0]; + EStack_4c._position.x = (npc->_splatColor)._colorize[1]; + EStack_4c._position.y = (npc->_splatColor)._colorize[2]; + EStack_4c._velocity.x = (npc->_splatColor)._colorize[3]; + EStack_4c._spawnerType = 0x3f000000; + EStack_4c._velocity.y = (npc->_splatColor)._offset[0]; + EStack_4c._flags = (int)(npc->_splatColor)._offset[1]; (**(code **)(*piVar28 + 0x3c))(&local_50,0xffffffff); } } @@ -94239,7 +94274,8 @@ void __fastcall NpcAI::ENTITY_LITTLE_HORN(Entity_NPC *npc) if (pAVar30 != (AnimationState *)0x0) { if (-1 < npc->_bosscoloridx) { pLVar13 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - Sprite::ReplaceSpritesheet((Sprite *)&pAVar30[2]._layerFrames,0,&pLVar13->field_0x8); + Sprite::ReplaceSpritesheet + ((Sprite *)&pAVar30[2]._layerFrames,0,&pLVar13->_spriteSheetPath); ANM2::LoadGraphics((ANM2 *)&pAVar30[2]._layerFrames,unk); } fVar24 = (npc->_velocity).y; @@ -95558,10 +95594,7 @@ void __fastcall NpcAI::ENTITY_RAG_MAN(Entity_NPC *npc) int local_18c; uint local_184; undefined4 local_180; - undefined1 auStack_17c [28]; - float local_160; - undefined4 local_15c; - void *local_158; + EntityRef EStack_17c; char local_154; int local_150; uint local_148; @@ -95621,13 +95654,13 @@ void __fastcall NpcAI::ENTITY_RAG_MAN(Entity_NPC *npc) npc->_i1 = 0x3c - (int)((float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * -2.3283064e-10 * 45.0); Color::Reset(); - local_160 = 0.35; + EStack_17c._velocity.y = 0.35; local_180 = 0; - auStack_17c._0_4_ = 0; - auStack_17c._4_4_ = 0; - auStack_17c._8_4_ = 0x3f800000; - local_15c = 0x3de147ae; - local_158 = (void *)0x3eb851ec; + EStack_17c._type = 0; + EStack_17c._variant = 0; + EStack_17c._spawnerType = 0x3f800000; + EStack_17c._flags = 0x3de147ae; + EStack_17c._entity = (void *)0x3eb851ec; Color::operator_assign(&local_180); ExceptionList = local_1c; return; @@ -96434,17 +96467,17 @@ LAB_00493f3d: pEVar19->_maxHitPoints = 8.0; } } - auStack_17c._0_4_ = 0; - auStack_17c._4_4_ = 0; - auStack_17c._8_4_ = 0; - auStack_17c._12_4_ = 0; - auStack_17c._16_4_ = g_vectorZero.x; - auStack_17c._20_4_ = g_vectorZero.y; - auStack_17c._24_4_ = g_vectorZero.x; - local_160 = g_vectorZero.y; - local_15c = 0; - local_158 = (void *)0x0; - (**(code **)(*(int *)npc + 0x20))(&DAT_bf800000,0,0,auStack_17c,0x1e); + EStack_17c._type = 0; + EStack_17c._variant = 0; + EStack_17c._spawnerType = 0; + EStack_17c._spawnerVariant = 0; + EStack_17c._position.x = g_vectorZero.x; + EStack_17c._position.y = g_vectorZero.y; + EStack_17c._velocity.x = g_vectorZero.x; + EStack_17c._velocity.y = g_vectorZero.y; + EStack_17c._flags = 0; + EStack_17c._entity = (void *)0x0; + (**(code **)(*(int *)npc + 0x20))(&DAT_bf800000,0,0,&EStack_17c,0x1e); if (((npc->_sprite)._animState._animData == (void *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { npc->_state = 3; @@ -97010,8 +97043,8 @@ LAB_00494d49: local_ec = *(Entity_NPC **)(local_120 + (int)local_d8 * 4); if ((local_ec->_flags & 0x20000000) == 0) { pcVar2 = *(code **)(*(int *)local_ec + 0x24); - EntityRef::constructor((EntityRef *)auStack_17c,(Entity *)npc); - (*pcVar2)(auStack_17c); + EntityRef::constructor(&EStack_17c,(Entity *)npc); + (*pcVar2)(&EStack_17c); } local_d8 = (Entity_NPC *)&local_d8->field_0x1; } while (local_d8 < (uint)local_11c.y); @@ -97082,7 +97115,7 @@ void __fastcall NpcAI::ENTITY_RAG_MEGA(Entity_NPC *npc) undefined4 local_130 [8]; undefined4 local_110; undefined4 uStack_10c; - undefined4 local_108; + float local_108; undefined4 local_104 [11]; char local_d8; int local_d4; @@ -97127,22 +97160,22 @@ void __fastcall NpcAI::ENTITY_RAG_MEGA(Entity_NPC *npc) iVar14 = npc->_state; local_110 = 0x3e4ccccd; uStack_10c = 0; - local_108 = 0x3e4ccccd; + local_108 = 0.2; if (iVar14 == 0) { ExceptionList = &local_1c; puStack_20 = local_a8 + 0xa4; pLVar11 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - if ((undefined4 *)&pLVar11->field_0x48 != local_130) { - *(undefined4 *)&pLVar11->field_0x48 = 0x3fa66666; - *(undefined4 *)&pLVar11->field_0x4c = 0x3f4ccccd; - *(undefined4 *)&pLVar11->field_0x50 = 0x3fa66666; - *(undefined4 *)&pLVar11->field_0x54 = 0x3f800000; - *(undefined4 *)&pLVar11->field_0x58 = 0; - *(undefined4 *)&pLVar11->field_0x5c = 0; - *(undefined4 *)&pLVar11->field_0x60 = 0; - *(undefined4 *)&pLVar11->field_0x64 = 0; - *(ulonglong *)&pLVar11->field_0x68 = CONCAT44(uStack_10c,local_110); - *(undefined4 *)&pLVar11->field_0x70 = local_108; + if (&pLVar11->_color != (ColorMod *)local_130) { + (pLVar11->_color)._tint[0] = 1.3; + (pLVar11->_color)._tint[1] = 0.8; + (pLVar11->_color)._tint[2] = 1.3; + (pLVar11->_color)._tint[3] = 1.0; + (pLVar11->_color)._colorize[0] = 0.0; + (pLVar11->_color)._colorize[1] = 0.0; + (pLVar11->_color)._colorize[2] = 0.0; + (pLVar11->_color)._colorize[3] = 0.0; + *(ulonglong *)(pLVar11->_color)._offset = CONCAT44(uStack_10c,local_110); + (pLVar11->_color)._offset[2] = local_108; } if (&npc->_splatColor != (ColorMod *)local_15c) { (npc->_splatColor)._offset[0] = 0.5; @@ -97361,7 +97394,7 @@ LAB_00496afa: local_ac = (Entity_NPC *)Game::Spawn(1000,0x58,&npc->_pos,&g_vectorZero,npc,2,uVar12); pcVar4 = *(code **)(*(int *)local_ac + 0x3c); pLVar11 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - (*pcVar4)(&pLVar11->field_0x48,0xffffffff,0xff,0,1); + (*pcVar4)(&pLVar11->_color,0xffffffff,0xff,0,1); pEVar25 = local_ac; fVar22 = (npc->_velocity).y; *(float *)((int)local_ac + 0x360) = (npc->_velocity).x * -0.5; @@ -100095,7 +100128,7 @@ void __fastcall NpcAI::ENTITY_BUMBINO(Entity_NPC *npc) undefined4 uVar37; undefined4 uVar38; EntityRef local_328; - undefined1 local_300 [40]; + EntityRef local_300; undefined1 local_2d8 [4]; int local_2d4; EntityPtr local_2cc; @@ -100574,14 +100607,14 @@ LAB_0049a8fb: } local_249 = '\x01'; } - Entity::GetNullCapsule((Entity *)npc,local_300,"Hitbox"); - if (0.0 < (float)local_300._32_4_) { + Entity::GetNullCapsule((Entity *)npc,&local_300,"Hitbox"); + if (0.0 < (float)local_300._flags) { if (((uint)g_game->_debugFlags >> 5 & 1) != 0) { iVar22 = Entity::GetDebugShape((Entity *)npc,1); *(undefined4 *)(iVar22 + 4) = 1; - push_shape_points(local_300); + push_shape_points(&local_300); } - EntityList::QueryRadius(local_2d8,local_300,0xffffffff); + EntityList::QueryRadius(local_2d8,&local_300,0xffffffff); local_14 = 2.8026e-45; local_258 = (EntityPtr)0x0; if (local_2cc != (EntityPtr)0x0) { @@ -101197,8 +101230,8 @@ LAB_0049c518: if ((((uVar14 == 3) || (uVar14 == 2)) && (local_258 != (EntityPtr)0x0)) && (*(int *)((int)local_258 + 0x3c) == 3)) { pcVar25 = *(code **)(*(int *)local_258 + 0x14); - EntityRef::constructor((EntityRef *)local_300,(Entity *)local_288); - cVar6 = (*pcVar25)(0,local_300); + EntityRef::constructor(&local_300,(Entity *)local_288); + cVar6 = (*pcVar25)(0,&local_300); npc = (Entity_NPC *)local_288; if (cVar6 != '\0') { fVar34 = 40.0; @@ -101376,11 +101409,10 @@ WeightedOutcomePicker::AddOutcomeWeight //@@ 0049cbf0 WeightedOutcomePicker::PickOutcome -/* ZHL [exact] __thiscall unsigned int WeightedOutcomePicker::PickOutcome(RNG rng); */ +/* ZHL [exact] __thiscall unsigned int WeightedOutcomePicker::PickOutcome(RNG rng); + prototype: REPENTOGON, confirmed by RET 16 */ -undefined4 __thiscall -WeightedOutcomePicker::PickOutcome - (WeightedOutcomePicker *this,uint param_2,byte param_3,byte param_4,byte param_5) +uint __thiscall WeightedOutcomePicker::PickOutcome(WeightedOutcomePicker *this,RNG rng) { int iVar1; @@ -101448,17 +101480,17 @@ LAB_0049cce3: } uVar9 = uVar9 + iVar11 + iVar10; LAB_0049ccec: - if (param_2 == 0) { + if (rng._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - param_2 = param_2 >> (param_3 & 0x1f) ^ param_2; - param_2 = param_2 << (param_4 & 0x1f) ^ param_2; + uVar6 = (uint)rng._seed >> ((byte)rng._shift1 & 0x1f) ^ rng._seed; + uVar6 = uVar6 << ((byte)rng._shift2 & 0x1f) ^ uVar6; if (uVar9 == 0) { uVar9 = 0; } else { - uVar9 = (param_2 >> (param_5 & 0x1f) ^ param_2) % uVar9; + uVar9 = (uVar6 >> ((byte)rng._shift3 & 0x1f) ^ uVar6) % uVar9; } iVar10 = 0; uVar6 = 0; @@ -101469,7 +101501,7 @@ LAB_0049ccec: do { iVar10 = iVar10 + *piVar8; if ((int)uVar9 < iVar10) { - return *(undefined4 *)((int)WVar5 + uVar6 * 8); + return *(uint *)((int)WVar5 + uVar6 * 8); } uVar6 = uVar6 + 1; piVar8 = piVar8 + 2; @@ -101635,6 +101667,7 @@ void __fastcall NpcAI::ENTITY_CHIMERA_body(Entity_NPC *npc) Vector *pVVar1; byte bVar2; EntityPtr EVar3; + RNG rng; Game *this_00; char cVar4; float fVar5; @@ -101955,8 +101988,12 @@ LAB_0049d7b3: local_14c = local_14c | 1; auStack_148 = (undefined1 [8])0x900000005; piStack_140 = (int *)&DAT_00000007; - iVar7 = WeightedOutcomePicker::PickOutcome(&local_158,local_14c,5,9,7); - if (iVar7 == 1) { + rng._shift1 = 5; + rng._seed = local_14c; + rng._shift2 = 9; + rng._shift3 = 7; + uVar13 = WeightedOutcomePicker::PickOutcome(&local_158,rng); + if (uVar13 == 1) { Entity_NPC::PlaySound(npc,0x73,1.0,2,0,1.0); npc->_mass = 1000.0; npc->_state = 4; @@ -101972,12 +102009,12 @@ LAB_0049d8b7: npc->_projectileDelay = 0; } else { - if (iVar7 == 2) { + if (uVar13 == 2) { npc->_state = 8; ANM2::Play(&npc->_sprite,(byte *)"SpitFly",0); goto LAB_0049d8b7; } - if (iVar7 == 3) { + if (uVar13 == 3) { npc->_state = 9; ANM2::Play(&npc->_sprite,(byte *)"FallBack",0); goto LAB_0049d8b7; @@ -103622,6 +103659,7 @@ void __fastcall NpcAI::ENTITY_CLOG(Entity_NPC *npc) float fVar1; Entity *pEVar2; void *pvVar3; + RNG rng; Manager *pMVar4; byte bVar5; char cVar6; @@ -103836,14 +103874,17 @@ LAB_004a167b: local_140 = local_140 | 1; uStack_13c = 0x900000005; fStack_134 = 9.80909e-45; - iVar10 = WeightedOutcomePicker::PickOutcome - ((WeightedOutcomePicker *)&local_f4,local_140,5,9,7); - npc->_state = iVar10; - if (iVar10 == 9) { + rng._shift1 = 5; + rng._seed = local_140; + rng._shift2 = 9; + rng._shift3 = 7; + uVar14 = WeightedOutcomePicker::PickOutcome((WeightedOutcomePicker *)&local_f4,rng); + npc->_state = uVar14; + if (uVar14 == 9) { uVar14 = Random(); npc->_i1 = uVar14 & 1; } - else if (iVar10 == 10) { + else if (uVar14 == 10) { iVar10 = Random(); (npc->_v1).x = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 360.0; @@ -104311,13 +104352,10 @@ LAB_004a1adf: /* ZHL [lua] Lua binding EntityRef:IsFriendly */ -uint EntityRef::IsFriendly(void) +uint __thiscall EntityRef::IsFriendly(EntityRef *this) { - int in_ECX; - - return CONCAT31((uint3)(*(uint *)(in_ECX + 0x20) >> 9),(char)(*(uint *)(in_ECX + 0x20) >> 1)) & - 0xffffff01; + return CONCAT31((uint3)((uint)this->_flags >> 9),(char)((uint)this->_flags >> 1)) & 0xffffff01; } @@ -104650,6 +104688,7 @@ void __fastcall NpcAI::ENTITY_COLOSTOMIA(Entity_NPC *npc) Vector *position; float fVar1; void *pvVar2; + RNG rng; Game *pGVar3; undefined1 *puVar4; byte bVar5; @@ -104991,13 +105030,17 @@ LAB_004a4ba4: local_144 = local_144 | 1; auStack_140 = (undefined1 [8])0x900000005; fStack_138 = 9.80909e-45; - iVar15 = WeightedOutcomePicker::PickOutcome(&local_178,local_144,5,9,7); - if (iVar15 == 0) { + rng._shift1 = 5; + rng._seed = local_144; + rng._shift2 = 9; + rng._shift3 = 7; + uVar8 = WeightedOutcomePicker::PickOutcome(&local_178,rng); + if (uVar8 == 0) { ANM2::Play(&npc->_sprite,(byte *)"GoUnder",0); npc->_state = 0xb; npc->_i1 = 1; } - else if (iVar15 == 1) { + else if (uVar8 == 1) { ANM2::Play(&npc->_sprite,s_Attack2,0); pEVar12 = Entity_NPC::GetPlayerTarget(npc); fVar24 = (npc->_pos).y - (pEVar12->_pos).y; @@ -105008,7 +105051,7 @@ LAB_004a4ba4: (pEVar12->_pos).x + (pEVar12->_velocity).x * fVar24 * 0.1 < (npc->_pos).x; npc->_state = 10; } - else if (iVar15 == 2) { + else if (uVar8 == 2) { NpcHelper::colostomia_pick_dive_target(); ANM2::Play(&npc->_sprite,(byte *)"GoUnder",0); } @@ -105935,7 +105978,7 @@ void ANM2::LoadDeliriumForm(int param_1,char param_2) int iVar6; undefined4 ****ppppuVar7; undefined4 ****ppppuVar8; - std_string *anim; + std_string *psVar9; byte extraout_CL; byte extraout_CL_00; byte extraout_CL_01; @@ -105945,24 +105988,23 @@ void ANM2::LoadDeliriumForm(int param_1,char param_2) ANM2 *in_ECX; ANM2 *extraout_ECX; ANM2 *extraout_ECX_00; - ANM2 *pAVar9; - uint uVar10; + ANM2 *pAVar10; + uint uVar11; int in_EDX; char *_Src; - uint uVar11; + uint uVar12; char *_Size; - size_t sVar12; - undefined4 ****ppppuVar13; - uint uVar14; - int *_Src_00; + size_t sVar13; + undefined4 ****ppppuVar14; uint uVar15; uint uVar16; - byte bVar17; + uint uVar17; + byte bVar18; byte *local_4c; undefined4 ****local_3c; int iStack_38; - int iStack_34; - int iStack_30; + undefined4 uStack_34; + undefined4 uStack_30; uint local_2c; uint local_28; uint local_24; @@ -105977,21 +106019,21 @@ void ANM2::LoadDeliriumForm(int param_1,char param_2) local_1c = ExceptionList; uVar3 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; - pAVar9 = in_ECX; + pAVar10 = in_ECX; local_24 = uVar3; puVar2 = (undefined1 *)((int)register0x00000010 + -4); if (param_2 != '\0') { pEVar4 = EntityConfig::GetEntity(&g_manager->_entityConfig,in_EDX,param_1,0); - pAVar9 = extraout_ECX; + pAVar10 = extraout_ECX; puVar2 = puStack_20; if (pEVar4 != (EntityConfig_Entity *)0x0) { Load(in_ECX,&pEVar4->anm2Path,0); - pAVar9 = extraout_ECX_00; + pAVar10 = extraout_ECX_00; puVar2 = puStack_20; } } puStack_20 = puVar2; - bVar17 = (byte)pAVar9; + bVar18 = (byte)pAVar10; local_4c = (byte *)0x0; if (in_ECX->_layerCount != 0) { do { @@ -105999,49 +106041,49 @@ void ANM2::LoadDeliriumForm(int param_1,char param_2) local_3c = (undefined4 ****)0x0; local_2c = 0; local_28 = 0; - _Src_00 = (int *)&pLVar5->field_0x8; - uVar14 = *(uint *)&pLVar5->field_0x18; - if (0xf < *(uint *)&pLVar5->field_0x1c) { - _Src_00 = (int *)*_Src_00; + psVar9 = &pLVar5->_spriteSheetPath; + uVar15 = (pLVar5->_spriteSheetPath)._size; + if (0xf < (pLVar5->_spriteSheetPath)._capacity) { + psVar9 = *(std_string **)psVar9->_buf; } - if (uVar14 < 0x10) { - local_3c = (undefined4 ****)*_Src_00; - iStack_38 = _Src_00[1]; - iStack_34 = _Src_00[2]; - iStack_30 = _Src_00[3]; - uVar11 = 0xf; - bVar17 = extraout_CL; + if (uVar15 < 0x10) { + local_3c = *(undefined4 *****)psVar9->_buf; + iStack_38 = *(int *)(psVar9->_buf + 4); + uStack_34 = *(undefined4 *)(psVar9->_buf + 8); + uStack_30 = *(undefined4 *)(psVar9->_buf + 0xc); + uVar12 = 0xf; + bVar18 = extraout_CL; } else { - uVar11 = uVar14 | 0xf; - if (0x7fffffff < uVar11) { - uVar11 = 0x7fffffff; + uVar12 = uVar15 | 0xf; + if (0x7fffffff < uVar12) { + uVar12 = 0x7fffffff; } local_3c = (undefined4 ****)std::_Allocate(uVar3); - memcpy(local_3c,_Src_00,uVar14 + 1); - bVar17 = extraout_CL_00; + memcpy(local_3c,psVar9,uVar15 + 1); + bVar18 = extraout_CL_00; } local_14 = 0; - local_2c = uVar14; - local_28 = uVar11; + local_2c = uVar15; + local_28 = uVar12; if (in_EDX != 0x19c) { ppppuVar7 = &local_3c; - if (0xf < uVar11) { + if (0xf < uVar12) { ppppuVar7 = local_3c; } iVar6 = _strnicmp((char *)(ppppuVar7 + 1),"bosses",6); - uVar11 = local_28; - uVar14 = local_2c; + uVar12 = local_28; + uVar15 = local_2c; if (iVar6 == 0) { if (local_2c < 4) { /* WARNING: Subroutine does not return */ FUN_00499950(); } - uVar15 = 6; + uVar16 = 6; if (local_2c - 4 < 6) { - uVar15 = local_2c - 4; + uVar16 = local_2c - 4; } - if (uVar15 == 0x23) { + if (uVar16 == 0x23) { ppppuVar7 = &local_3c; if (0xf < local_28) { ppppuVar7 = local_3c; @@ -106050,25 +106092,25 @@ void ANM2::LoadDeliriumForm(int param_1,char param_2) LAB_004a609a: } else { - sVar12 = (local_2c - uVar15) - 3; - if (0x23 < uVar15) { - local_2c = (local_2c - uVar15) + 0x23; + sVar13 = (local_2c - uVar16) - 3; + if (0x23 < uVar16) { + local_2c = (local_2c - uVar16) + 0x23; ppppuVar7 = &local_3c; if (0xf < local_28) { ppppuVar7 = local_3c; } memmove(ppppuVar7 + 1,"Bosses/AfterbirthPlus/DeliriumForms",0x23); - memmove((void *)((int)ppppuVar7 + 0x27),(void *)((int)(ppppuVar7 + 1) + uVar15),sVar12 + memmove((void *)((int)ppppuVar7 + 0x27),(void *)((int)(ppppuVar7 + 1) + uVar16),sVar13 ); goto LAB_004a609a; } - uVar10 = -uVar15 + 0x23; - if (uVar10 <= local_28 - local_2c) { + uVar11 = -uVar16 + 0x23; + if (uVar11 <= local_28 - local_2c) { ppppuVar7 = &local_3c; if (0xf < local_28) { ppppuVar7 = local_3c; } - _Src = (char *)((int)ppppuVar7 + uVar15 + 4); + _Src = (char *)((int)ppppuVar7 + uVar16 + 4); ppppuVar8 = ppppuVar7 + 1; if (((undefined4 ****)0xb1e25e < ppppuVar8) || ((char *)((int)ppppuVar7 + local_2c) < "Bosses/AfterbirthPlus/DeliriumForms")) { @@ -106080,40 +106122,40 @@ LAB_004a609a: else { _Size = (char *)0x0; } - local_2c = local_2c + uVar10; - memmove(_Src + uVar10,_Src,sVar12); + local_2c = local_2c + uVar11; + memmove(_Src + uVar11,_Src,sVar13); memmove(ppppuVar8,"Bosses/AfterbirthPlus/DeliriumForms",(size_t)_Size); memcpy(_Size + (int)ppppuVar8, - "Bosses/AfterbirthPlus/DeliriumForms" + (int)(_Size + -uVar15 + 0x23), + "Bosses/AfterbirthPlus/DeliriumForms" + (int)(_Size + -uVar16 + 0x23), 0x23 - (int)_Size); goto LAB_004a609a; } - if (0x7fffffff - local_2c < uVar10) { + if (0x7fffffff - local_2c < uVar11) { /* WARNING: Subroutine does not return */ std::string::_Xlen(); } - uVar10 = uVar10 + local_2c; - uVar16 = uVar10 | 0xf; - if (uVar16 < 0x80000000) { + uVar11 = uVar11 + local_2c; + uVar17 = uVar11 | 0xf; + if (uVar17 < 0x80000000) { if (0x7fffffff - (local_28 >> 1) < local_28) { - uVar16 = 0x7fffffff; + uVar17 = 0x7fffffff; } else { uVar1 = local_28 + (local_28 >> 1); - if (uVar16 < uVar1) { - uVar16 = uVar1; + if (uVar17 < uVar1) { + uVar17 = uVar1; } } } else { - uVar16 = 0x7fffffff; + uVar17 = 0x7fffffff; } ppppuVar8 = (undefined4 ****)std::_Allocate(); ppppuVar7 = local_3c; - sVar12 = (uVar14 - uVar15) - 3; - local_2c = uVar10; - local_28 = uVar16; - if (uVar11 < 0x10) { + sVar13 = (uVar15 - uVar16) - 3; + local_2c = uVar11; + local_28 = uVar17; + if (uVar12 < 0x10) { *ppppuVar8 = local_3c; ppppuVar8[1] = (undefined4 ***)0x73736f42; ppppuVar8[2] = (undefined4 ***)0x412f7365; @@ -106125,7 +106167,7 @@ LAB_004a609a: ppppuVar8[8] = (undefined4 ***)0x6f466d75; *(undefined2 *)(ppppuVar8 + 9) = 0x6d72; *(undefined1 *)((int)ppppuVar8 + 0x26) = 0x73; - memcpy((void *)((int)ppppuVar8 + 0x27),(void *)((int)&iStack_38 + uVar15),sVar12); + memcpy((void *)((int)ppppuVar8 + 0x27),(void *)((int)&iStack_38 + uVar16),sVar13); local_3c = ppppuVar8; goto LAB_004a609a; } @@ -106140,15 +106182,15 @@ LAB_004a609a: ppppuVar8[8] = (undefined4 ***)0x6f466d75; *(undefined2 *)(ppppuVar8 + 9) = 0x6d72; *(undefined1 *)((int)ppppuVar8 + 0x26) = 0x73; - memcpy((void *)((int)ppppuVar8 + 0x27),(void *)(uVar15 + 4 + (int)local_3c),sVar12); - uVar14 = uVar11 + 1; - ppppuVar13 = ppppuVar7; - if (0xfff < uVar14) { - ppppuVar13 = (undefined4 ****)ppppuVar7[-1]; - uVar14 = uVar11 + 0x24; - if (0x1f < (uint)((int)ppppuVar7 + (-4 - (int)ppppuVar13))) goto LAB_004a622d; + memcpy((void *)((int)ppppuVar8 + 0x27),(void *)(uVar16 + 4 + (int)local_3c),sVar13); + uVar15 = uVar12 + 1; + ppppuVar14 = ppppuVar7; + if (0xfff < uVar15) { + ppppuVar14 = (undefined4 ****)ppppuVar7[-1]; + uVar15 = uVar12 + 0x24; + if (0x1f < (uint)((int)ppppuVar7 + (-4 - (int)ppppuVar14))) goto LAB_004a622d; } - operator_delete(ppppuVar13,uVar14); + operator_delete(ppppuVar14,uVar15); local_3c = ppppuVar8; } ppppuVar7 = &local_3c; @@ -106156,13 +106198,13 @@ LAB_004a609a: ppppuVar7 = local_3c; } iVar6 = FileSystem::ResolvePath(ppppuVar7); - bVar17 = iVar6 != 0; + bVar18 = iVar6 != 0; if (iVar6 != 0) { local_14._0_1_ = 1; tracked_alloc(0,0); local_14 = (uint)local_14._1_3_ << 8; Sprite::ReplaceSpritesheet((Sprite *)in_ECX,local_4c,&local_3c); - bVar17 = extraout_CL_01; + bVar18 = extraout_CL_01; } } else { @@ -106171,7 +106213,7 @@ LAB_004a609a: ppppuVar7 = local_3c; } iVar6 = _strnicmp((char *)(ppppuVar7 + 1),"monsters",8); - bVar17 = extraout_CL_02; + bVar18 = extraout_CL_02; if (iVar6 == 0) { std::string::replace(4,8,"Bosses/AfterbirthPlus/DeliriumForms",0x23); ppppuVar7 = &local_3c; @@ -106179,43 +106221,43 @@ LAB_004a609a: ppppuVar7 = local_3c; } iVar6 = FileSystem::ResolvePath(ppppuVar7); - bVar17 = iVar6 != 0; + bVar18 = iVar6 != 0; if (iVar6 != 0) { local_14._0_1_ = 2; tracked_alloc(0,0); local_14 = (uint)local_14._1_3_ << 8; Sprite::ReplaceSpritesheet((Sprite *)in_ECX,local_4c,&local_3c); - bVar17 = extraout_CL_03; + bVar18 = extraout_CL_03; } } } } local_14 = 0xffffffff; if (0xf < local_28) { - uVar14 = local_28 + 1; + uVar15 = local_28 + 1; ppppuVar7 = local_3c; - if (0xfff < uVar14) { + if (0xfff < uVar15) { ppppuVar7 = (undefined4 ****)local_3c[-1]; - uVar14 = local_28 + 0x24; + uVar15 = local_28 + 0x24; if (0x1f < (uint)((int)local_3c + (-4 - (int)ppppuVar7))) { LAB_004a622d: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(ppppuVar7,uVar14); - bVar17 = extraout_CL_04; + operator_delete(ppppuVar7,uVar15); + bVar18 = extraout_CL_04; } local_4c = local_4c + 1; } while (local_4c < (byte *)in_ECX->_layerCount); } - LoadGraphics(in_ECX,bVar17); - anim = &in_ECX->_animDefaultName; + LoadGraphics(in_ECX,bVar18); + psVar9 = &in_ECX->_animDefaultName; if (0xf < (in_ECX->_animDefaultName)._capacity) { - anim = *(std_string **)anim->_buf; + psVar9 = *(std_string **)psVar9->_buf; } - bVar17 = SetAnimation(in_ECX,(byte *)anim,1); - if (((bVar17 != 0) && ((in_ECX->_animState)._animData != (void *)0x0)) && + bVar18 = SetAnimation(in_ECX,(byte *)psVar9,1); + if (((bVar18 != 0) && ((in_ECX->_animState)._animData != (void *)0x0)) && (AnimationState::SetFrameFloat(&in_ECX->_animState), (in_ECX->_animState)._animData != (void *)0x0)) { (in_ECX->_animState)._isPlaying = 0; @@ -107376,7 +107418,7 @@ LAB_004a857c: piVar4[0xe1] = iVar1; piVar4[0x5b] = piVar4[0x5b]; ANM2::LoadDeliriumForm(iVar2,1); - FUN_004a8680(); + NpcHelper::delirium_spawn_form_parts(); local_8 = (int *)((int)local_8 + 0xbe8); if (*local_8 != 0) { local_c = local_8; @@ -107390,9 +107432,14 @@ LAB_004a857c: } -//@@ 004a8680 FUN_004a8680 +//@@ 004a8680 NpcHelper::delirium_spawn_form_parts -void FUN_004a8680(void) +/* DB: only caller FUN_004a84f0 (Delirium next-boss-form picker, called from + NpcAI::ENTITY_DELIRIUM): for type 0x13 (Larry Jr) spawns 4..9 body segments linked through + +0x3bc/+0x3c0, ANM2::LoadDeliriumForm + WalkBodyHori; for type 0x10a spawns variants 1 and 2 at + the boss position */ + +void NpcHelper::delirium_spawn_form_parts(void) { int iVar1; @@ -109007,7 +109054,7 @@ void __fastcall NpcAI::ENTITY_DOGMA_update_distortion(Entity_NPC *npc) do { pLVar4 = ANM2::GetLayer(&npc->_sprite,layerName); layerName = layerName + 1; - *(float *)&pLVar4->field_0x58 = local_8; + (pLVar4->_color)._colorize[0] = local_8; } while (layerName < (byte *)(npc->_sprite)._layerCount); } return; @@ -109026,24 +109073,24 @@ void __fastcall NpcAI::ENTITY_DOGMA(Entity_NPC *npc) ANM2 *this; short *psVar2; EntityPtr EVar3; + void *pvVar4; Camera *this_00; - qword qVar4; - int iVar5; - char cVar6; - void *pvVar7; - RoomConfig_Room *pRVar8; - void **ppvVar9; + qword qVar5; + int iVar6; + char cVar7; + void *pvVar8; + RoomConfig_Room *pRVar9; + void **ppvVar10; Vector *pos; - char *pcVar10; - float *pfVar11; - int iVar12; - Entity *pEVar13; - int iVar14; - undefined4 uVar15; - int *piVar16; - LayerState *pLVar17; - undefined1 *puVar18; - void *pvVar19; + char *pcVar11; + float *pfVar12; + int iVar13; + Entity *pEVar14; + int iVar15; + undefined4 uVar16; + int *piVar17; + LayerState *pLVar18; + undefined1 *puVar19; uint uVar20; uint uVar21; uint uVar22; @@ -109054,7 +109101,7 @@ void __fastcall NpcAI::ENTITY_DOGMA(Entity_NPC *npc) float fVar27; float fVar28; undefined4 uVar29; - EntityList_EL local_164; + RNG local_164; float local_154; Game *local_150; undefined1 local_14c [8]; @@ -109095,7 +109142,7 @@ void __fastcall NpcAI::ENTITY_DOGMA(Entity_NPC *npc) local_14 = -NAN; puStack_18 = &LAB_00af3170; local_1c = ExceptionList; - pvVar7 = (void *)(__security_cookie ^ (uint)(local_50 + 0x10)); + pvVar8 = (void *)(__security_cookie ^ (uint)(local_50 + 0x10)); ExceptionList = &local_1c; EVar3 = npc->_parent; pRVar23 = g_game->_room; @@ -109109,30 +109156,30 @@ void __fastcall NpcAI::ENTITY_DOGMA(Entity_NPC *npc) local_114 = (float)npc->_aiCallPhase; local_104 = (Game *)npc; local_138 = pRVar23; - local_24 = pvVar7; + local_24 = pvVar8; if ((local_114 == 1.4013e-45) || (local_114 == 2.8026e-45)) { local_150 = (Game *)CONCAT31(local_150._1_3_,local_114 == 2.8026e-45); - pfVar11 = local_50 + 0x13; + pfVar12 = local_50 + 0x13; if (npc->_state == 2) { - cVar6 = input_is_action_triggered(0xe,0xffffffff,0,0); - pfVar11 = (float *)puStack_20; - if (cVar6 != '\0') { - iVar14 = PersistentGameData::GetBestiaryEncounterCount + cVar7 = input_is_action_triggered(0xe,0xffffffff,0,0); + pfVar12 = (float *)puStack_20; + if (cVar7 != '\0') { + iVar15 = PersistentGameData::GetBestiaryEncounterCount (&g_manager->_persistentGameData,0x3b6,0); - pfVar11 = (float *)puStack_20; - if (iVar14 != 0) { + pfVar12 = (float *)puStack_20; + if (iVar15 != 0) { npc->_state = 7; } } } - puStack_20 = (undefined1 *)pfVar11; + puStack_20 = (undefined1 *)pfVar12; if (local_114 != 2.8026e-45) { ENTITY_DOGMA_update_distortion(npc); - pLVar17 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); + pLVar18 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); local_fc = (Game *)(npc->_speedMultiplier * 0.05); - local_12c.y = (float)&pLVar17->field_0x48; - pLVar17 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - fVar26 = *(float *)&pLVar17->field_0x60; + local_12c.y = (float)&pLVar18->_color; + pLVar18 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); + fVar26 = (pLVar18->_color)._colorize[2]; if ((float)local_fc < ABS(fVar26 - 0.0)) { if (0.0 <= fVar26) { fVar26 = fVar26 - (float)local_fc; @@ -109187,40 +109234,40 @@ void __fastcall NpcAI::ENTITY_DOGMA(Entity_NPC *npc) uVar22 = (npc->_vectorDeque1)._offset; uVar21 = uVar22 & 1; fVar26 = (npc->_pos).x; - iVar14 = *(int *)((int)(npc->_vectorDeque1)._map + + iVar15 = *(int *)((int)(npc->_vectorDeque1)._map + (uVar22 >> 1 & (npc->_vectorDeque1)._mapSize - 1) * 4); - *(float *)(iVar14 + 4 + uVar21 * 8) = (npc->_pos).y + 0.0; - *(float *)(iVar14 + uVar21 * 8) = local_10c.x + fVar26; + *(float *)(iVar15 + 4 + uVar21 * 8) = (npc->_pos).y + 0.0; + *(float *)(iVar15 + uVar21 * 8) = local_10c.x + fVar26; uVar22 = (npc->_vectorDeque1)._offset + 1; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)(npc->_vectorDeque1)._map + + iVar15 = *(int *)((int)(npc->_vectorDeque1)._map + ((npc->_vectorDeque1)._mapSize - 1 & uVar22 >> 1) * 4); - *(float *)(iVar14 + uVar21 * 8) = (npc->_velocity).x; - *(float *)(iVar14 + 4 + uVar21 * 8) = (npc->_velocity).y; + *(float *)(iVar15 + uVar21 * 8) = (npc->_velocity).x; + *(float *)(iVar15 + 4 + uVar21 * 8) = (npc->_velocity).y; uVar22 = (npc->_vectorDeque1)._offset + 2; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)(npc->_vectorDeque1)._map + + iVar15 = *(int *)((int)(npc->_vectorDeque1)._map + (uVar22 >> 1 & (npc->_vectorDeque1)._mapSize - 1) * 4); - *(float *)(iVar14 + uVar21 * 8) = local_10c.y; - *(undefined4 *)(iVar14 + 4 + uVar21 * 8) = 0; + *(float *)(iVar15 + uVar21 * 8) = local_10c.y; + *(undefined4 *)(iVar15 + 4 + uVar21 * 8) = 0; uVar22 = (npc->_vectorDeque1)._size + ((npc->_vectorDeque1)._offset - 3); uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)(npc->_vectorDeque1)._map + + iVar15 = *(int *)((int)(npc->_vectorDeque1)._map + (uVar22 >> 1 & (npc->_vectorDeque1)._mapSize - 1) * 4); - *(float *)(iVar14 + uVar21 * 8) = local_100 - 8.0; - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_fc + 0.0; + *(float *)(iVar15 + uVar21 * 8) = local_100 - 8.0; + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_fc + 0.0; uVar22 = (npc->_vectorDeque1)._size + ((npc->_vectorDeque1)._offset - 2); uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)(npc->_vectorDeque1)._map + + iVar15 = *(int *)((int)(npc->_vectorDeque1)._map + (uVar22 >> 1 & (npc->_vectorDeque1)._mapSize - 1) * 4); - *(float *)(iVar14 + uVar21 * 8) = g_vectorZero.x; - *(float *)(iVar14 + 4 + uVar21 * 8) = g_vectorZero.y; + *(float *)(iVar15 + uVar21 * 8) = g_vectorZero.x; + *(float *)(iVar15 + 4 + uVar21 * 8) = g_vectorZero.y; uVar22 = (npc->_vectorDeque1)._size + ((npc->_vectorDeque1)._offset - 1); uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)(npc->_vectorDeque1)._map + + iVar15 = *(int *)((int)(npc->_vectorDeque1)._map + (uVar22 >> 1 & (npc->_vectorDeque1)._mapSize - 1) * 4); - *(undefined4 *)(iVar14 + uVar21 * 8) = 0xc1f00000; - *(undefined4 *)(iVar14 + 4 + uVar21 * 8) = 0; + *(undefined4 *)(iVar15 + uVar21 * 8) = 0xc1f00000; + *(undefined4 *)(iVar15 + 4 + uVar21 * 8) = 0; Entity_NPC::UpdateCordChain(local_150); } local_110 = (Game *)((float)local_110 - (npc->_pos).y); @@ -109241,11 +109288,11 @@ void __fastcall NpcAI::ENTITY_DOGMA(Entity_NPC *npc) } puStack_20 = (undefined1 *)(local_50 + 0x13); if (npc->_parent == (EntityPtr)0x0) { - iVar14 = npc->_state; + iVar15 = npc->_state; puStack_20 = (undefined1 *)(local_50 + 0x13); - if (((iVar14 != 0) && (puStack_20 = (undefined1 *)(local_50 + 0x13), iVar14 != 0x10)) && - ((puStack_20 = (undefined1 *)(local_50 + 0x13), iVar14 != 2 && - (puStack_20 = (undefined1 *)(local_50 + 0x13), iVar14 != 7)))) { + if (((iVar15 != 0) && (puStack_20 = (undefined1 *)(local_50 + 0x13), iVar15 != 0x10)) && + ((puStack_20 = (undefined1 *)(local_50 + 0x13), iVar15 != 2 && + (puStack_20 = (undefined1 *)(local_50 + 0x13), iVar15 != 7)))) { npc->_state = 0x10; puStack_20 = (undefined1 *)(local_50 + 0x13); ANM2::Play(&npc->_sprite,(byte *)"Transition",0); @@ -109256,29 +109303,29 @@ void __fastcall NpcAI::ENTITY_DOGMA(Entity_NPC *npc) case 0: npc->_aiCallFlags = 3; if (npc->_spawnerType == 0) { - uVar15 = Room::GetCenterPos(&local_10c); - pEVar13 = (Entity *)Game::Spawn(0x3b6,1,uVar15,&g_vectorZero,npc,0,npc->_initSeed); - (**(code **)(*(int *)pEVar13 + 0xc))(); - Entity::SetChild(pEVar13,npc); - Entity::SetParent((Entity *)npc,pEVar13); + uVar16 = Room::GetCenterPos(&local_10c); + pEVar14 = (Entity *)Game::Spawn(0x3b6,1,uVar16,&g_vectorZero,npc,0,npc->_initSeed); + (**(code **)(*(int *)pEVar14 + 0xc))(); + Entity::SetChild(pEVar14,npc); + Entity::SetParent((Entity *)npc,pEVar14); npc->_state = 3; ANM2::Play(&npc->_sprite,s_Idle,0); ANM2::PlayOverlay(&DAT_00b1d20c,0); - pLVar17 = ANM2::GetLayer(&npc->_sprite,(byte *)0x2); + pLVar18 = ANM2::GetLayer(&npc->_sprite,(byte *)0x2); pRVar23 = local_138; - pLVar17->_visible = 0; - qVar4 = npc->_flags; + pLVar18->_visible = 0; + qVar5 = npc->_flags; puVar1 = (uint *)((int)&npc->_flags + 4); *puVar1 = *puVar1 | 8; npc->_entityCollisionClass = 4; - *(uint *)&npc->_flags = (uint)qVar4 & 0xfffffffb | 0x80000011; + *(uint *)&npc->_flags = (uint)qVar5 & 0xfffffffb | 0x80000011; npc->_projectileCooldown = 0x14; npc->_projectileDelay = -1; - iVar14 = 0; + iVar15 = 0; do { - Room::RemoveDoor(pRVar23,iVar14); - iVar14 = iVar14 + 1; - } while (iVar14 < 8); + Room::RemoveDoor(pRVar23,iVar15); + iVar15 = iVar15 + 1; + } while (iVar15 < 8); puVar1 = (uint *)((int)pRVar23->_descriptor + 0x44); *puVar1 = *puVar1 | 4; puVar1 = (uint *)((int)pRVar23->_descriptor + 0x44); @@ -109294,14 +109341,14 @@ void __fastcall NpcAI::ENTITY_DOGMA(Entity_NPC *npc) npc->_state = 2; ANM2::Play(&npc->_sprite,(byte *)"Appear",0); ANM2::PlayOverlay(&DAT_00b1d20c,0); - pLVar17 = ANM2::GetLayer(&npc->_sprite,(byte *)0x2); - pLVar17->_visible = 0; + pLVar18 = ANM2::GetLayer(&npc->_sprite,(byte *)0x2); + pLVar18->_visible = 0; pGVar24 = g_game; - qVar4 = npc->_flags; + qVar5 = npc->_flags; npc->_entityCollisionClass = 0; puVar1 = (uint *)((int)&npc->_flags + 4); *puVar1 = *puVar1 | 8; - *(uint *)&npc->_flags = (uint)qVar4 & 0xfffffffb | 0x80000011; + *(uint *)&npc->_flags = (uint)qVar5 & 0xfffffffb | 0x80000011; (pGVar24->_hud)._isVisible = 0; } local_50[0] = 1.0; @@ -109322,38 +109369,38 @@ void __fastcall NpcAI::ENTITY_DOGMA(Entity_NPC *npc) case 2: case 7: npc->_friction = npc->_friction * 0.8; - cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Splat"); - if (cVar6 != '\0') { - uVar15 = Random(); - piVar16 = (int *)Game::Spawn(1000,0xa9,&npc->_pos,&g_vectorZero,npc,0,uVar15); + cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Splat"); + if (cVar7 != '\0') { + uVar16 = Random(); + piVar17 = (int *)Game::Spawn(1000,0xa9,&npc->_pos,&g_vectorZero,npc,0,uVar16); fVar27 = g_vectorOne.x * 1.2; fVar26 = g_vectorOne.y * 1.2; - piVar16[0x5a] = piVar16[0x5a] | 0x10000; - piVar16[0x5b] = piVar16[0x5b]; - piVar16[0x39] = (int)fVar27; - piVar16[0x3a] = (int)fVar26; - piVar16[0x117] = 300; - piVar16[0x118] = 300; - (**(code **)(*piVar16 + 0xc))(); - uVar15 = Random(); - piVar16 = (int *)Game::Spawn(1000,0x84,&npc->_pos,&g_vectorZero,npc,1,uVar15); - (**(code **)(*piVar16 + 0xc))(); + piVar17[0x5a] = piVar17[0x5a] | 0x10000; + piVar17[0x5b] = piVar17[0x5b]; + piVar17[0x39] = (int)fVar27; + piVar17[0x3a] = (int)fVar26; + piVar17[0x117] = 300; + piVar17[0x118] = 300; + (**(code **)(*piVar17 + 0xc))(); + uVar16 = Random(); + piVar17 = (int *)Game::Spawn(1000,0x84,&npc->_pos,&g_vectorZero,npc,1,uVar16); + (**(code **)(*piVar17 + 0xc))(); } local_110 = (Game *)npc->_state; - cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Sound"); - if ((cVar6 != '\0') || (local_110 == (Game *)&DAT_00000007)) { + cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Sound"); + if ((cVar7 != '\0') || (local_110 == (Game *)&DAT_00000007)) { if (local_110 != (Game *)&DAT_00000007) { Entity_NPC::PlaySound(npc,0x21d,1.0,2,0,1.0); Game::MakeShockwave(g_game,&npc->_pos,0.04,0.07,0x14); } Game::SetColorModifier(); } - cVar6 = ANM2::WasEventTriggered(&npc->_sprite,"Sound"); - if (cVar6 != '\0') { + cVar7 = ANM2::WasEventTriggered(&npc->_sprite,"Sound"); + if (cVar7 != '\0') { Game::ShakeScreen(g_game,6); } - cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - if ((cVar6 != '\0') || (local_110 == (Game *)&DAT_00000007)) { + cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + if ((cVar7 != '\0') || (local_110 == (Game *)&DAT_00000007)) { puVar1 = (uint *)((int)pRVar23->_descriptor + 0x44); *puVar1 = *puVar1 | 4; puVar1 = (uint *)((int)pRVar23->_descriptor + 0x44); @@ -109368,9 +109415,9 @@ void __fastcall NpcAI::ENTITY_DOGMA(Entity_NPC *npc) local_130 = *(int **)((int)(pRVar23->_entityList)._updateEL._data + uVar22 * 4); if (local_130[10] == 0x3c0) { if (local_130[0xb] == 4) { - pfVar11 = (float *)Room::GetCenterPos(&local_10c); - local_114 = *pfVar11 - (float)local_130[0xcd]; - local_118 = (int *)(pfVar11[1] - (float)local_130[0xce]); + pfVar12 = (float *)Room::GetCenterPos(&local_10c); + local_114 = *pfVar12 - (float)local_130[0xcd]; + local_118 = (int *)(pfVar12[1] - (float)local_130[0xce]); } LAB_004ab524: (**(code **)(*local_130 + 0x28))(); @@ -109385,29 +109432,29 @@ LAB_004ab524: Room::RemoveDoor(pRVar23,local_11c); local_11c = (int *)((int)local_11c + 1); } while ((int)local_11c < 8); - pRVar8 = RoomConfig::GetRoomByStageTypeAndVariant + pRVar9 = RoomConfig::GetRoomByStageTypeAndVariant (&g_game->_roomConfig,**(uint **)((int)pRVar23->_descriptor + 0x10),1,1000, -1); - *(RoomConfig_Room **)((int)pRVar23->_descriptor + 0x10) = pRVar8; - local_164._0_4_ = 0; + *(RoomConfig_Room **)((int)pRVar23->_descriptor + 0x10) = pRVar9; + local_164._seed = 0; if (pRVar23->_descriptor != (void *)0x0) { - local_164._0_4_ = *(int *)((int)pRVar23->_descriptor + 0x58); + local_164._seed = *(int *)((int)pRVar23->_descriptor + 0x58); } uVar22 = 0; local_124 = (pRVar23->_bottomRightPos).y - (pRVar23->_topLeftPos).y; - local_164._data = (void *)0x1; - local_164._8_4_ = 5; + local_164._shift1 = 1; + local_164._shift2 = 5; local_130 = (int *)((pRVar23->_bottomRightPos).x - (pRVar23->_topLeftPos).x); - local_164._size = (int)&DAT_00000013; + local_164._shift3 = (int)&DAT_00000013; local_fc = (Game *)(local_124 + (float)local_130); local_12c.y = (float)local_130 + (float)local_fc; local_150 = (Game *)(local_124 + local_12c.y); do { - RNG::Next((RNG *)&local_164); + RNG::Next(&local_164); local_144.y = (pRVar23->_topLeftPos).x; fVar26 = (pRVar23->_topLeftPos).y; - fVar27 = (((float)((double)(int)local_164._0_4_ + - __uint_to_double_fixup[-((int)local_164._0_4_ >> 0x1f)]) * 2.3283062e-10 + + fVar27 = (((float)((double)local_164._seed + + __uint_to_double_fixup[-(local_164._seed >> 0x1f)]) * 2.3283062e-10 + ((float)((double)(int)uVar22 + __uint_to_double_fixup[-((int)uVar22 >> 0x1f)]) - 0.5)) * (float)local_150) / 20.0; if (fVar27 <= local_12c.y) { @@ -109432,209 +109479,209 @@ LAB_004ab524: } local_10c.x = local_144.y; local_10c.y = (float)local_11c; - pfVar11 = (float *)Room::GetCenterPos(local_14c); - local_144.y = local_144.y - *pfVar11; - local_11c = (int *)((float)local_11c - pfVar11[1]); - RNG::Next((RNG *)&local_164); + pfVar12 = (float *)Room::GetCenterPos(local_14c); + local_144.y = local_144.y - *pfVar12; + local_11c = (int *)((float)local_11c - pfVar12[1]); + RNG::Next(&local_164); fVar26 = (float)local_11c * (float)local_11c + local_144.y * local_144.y; sqrtf(); if (fVar26 <= 0.0) { fVar27 = local_144.y; - piVar16 = local_11c; + piVar17 = local_11c; } else { - fVar26 = ((float)((double)(int)local_164._0_4_ + - __uint_to_double_fixup[-((int)local_164._0_4_ >> 0x1f)]) * 2.3283062e-10 - * 80.0 + 10.0) / fVar26; + fVar26 = ((float)((double)local_164._seed + + __uint_to_double_fixup[-(local_164._seed >> 0x1f)]) * 2.3283062e-10 * + 80.0 + 10.0) / fVar26; fVar27 = local_144.y * fVar26; - piVar16 = (int *)((float)local_11c * fVar26); + piVar17 = (int *)((float)local_11c * fVar26); } local_10c.x = local_10c.x + fVar27; - local_10c.y = local_10c.y + (float)piVar16; - uVar21 = RNG::Next((RNG *)&local_164); - piVar16 = (int *)Game::Spawn(1000,0xaa,&local_10c,&g_vectorZero,0,0,uVar21); - (**(code **)(*piVar16 + 0xc))(); + local_10c.y = local_10c.y + (float)piVar17; + uVar21 = RNG::Next(&local_164); + piVar17 = (int *)Game::Spawn(1000,0xaa,&local_10c,&g_vectorZero,0,0,uVar21); + (**(code **)(*piVar17 + 0xc))(); npc = (Entity_NPC *)local_104; uVar22 = uVar22 + 1; } while (uVar22 < 0x1e); if (local_104->_roomList[0x10].RestrictedGridIndexes._head != (void *)0x0) { - pvVar19 = local_104->_roomList[0x10].SavedEntities._capacity; - uVar22 = (uint)pvVar19 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + + pvVar4 = local_104->_roomList[0x10].SavedEntities._capacity; + uVar22 = (uint)pvVar4 & 1; + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + ((int)local_104->_roomList[0x10].SavedEntities._end - 1U & - (uint)pvVar19 >> 1) * 4); - *(float *)(iVar14 + uVar22 * 8) = local_114 + *(float *)(iVar14 + uVar22 * 8); - *(float *)(iVar14 + 4 + uVar22 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar22 * 8) + (uint)pvVar4 >> 1) * 4); + *(float *)(iVar15 + uVar22 * 8) = local_114 + *(float *)(iVar15 + uVar22 * 8); + *(float *)(iVar15 + 4 + uVar22 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar22 * 8) ; - pvVar19 = local_104->_roomList[0x10].SavedEffects._capacity; - uVar22 = (uint)pvVar19 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + - ((uint)pvVar19 >> 1 & - (int)local_104->_roomList[0x10].SavedEffects._end - 1U) * 4); - *(float *)(iVar14 + uVar22 * 8) = local_114 + *(float *)(iVar14 + uVar22 * 8); - *(float *)(iVar14 + 4 + uVar22 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar22 * 8) + pvVar4 = local_104->_roomList[0x10].SavedEffects._capacity; + uVar22 = (uint)pvVar4 & 1; + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + + ((uint)pvVar4 >> 1 & (int)local_104->_roomList[0x10].SavedEffects._end - 1U + ) * 4); + *(float *)(iVar15 + uVar22 * 8) = local_114 + *(float *)(iVar15 + uVar22 * 8); + *(float *)(iVar15 + 4 + uVar22 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar22 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEntities._capacity + 3; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEntities._end - 1U) * 4 ); - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEffects._capacity + 3; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEffects._end - 1U) * 4) ; - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEntities._capacity + 6; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEntities._end - 1U) * 4 ); - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEffects._capacity + 6; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEffects._end - 1U) * 4) ; - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEntities._capacity + 9; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEntities._end - 1U) * 4 ); - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEffects._capacity + 9; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEffects._end - 1U) * 4) ; - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEntities._capacity + 0xc; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEntities._end - 1U) * 4 ); - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEffects._capacity + 0xc; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEffects._end - 1U) * 4) ; - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEntities._capacity + 0xf; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEntities._end - 1U) * 4 ); - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEffects._capacity + 0xf; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEffects._end - 1U) * 4) ; - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEntities._capacity + 0x12; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEntities._end - 1U) * 4 ); - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEffects._capacity + 0x12; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEffects._end - 1U) * 4) ; - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEntities._capacity + 0x15; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEntities._end - 1U) * 4 ); - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEffects._capacity + 0x15; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEffects._end - 1U) * 4) ; - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEntities._capacity + 0x18; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEntities._end - 1U) * 4 ); - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEffects._capacity + 0x18; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEffects._end - 1U) * 4) ; - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; uVar22 = (int)local_104->_roomList[0x10].SavedEntities._capacity + 0x1b; uVar21 = uVar22 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEntities._begin + (uVar22 >> 1 & (int)local_104->_roomList[0x10].SavedEntities._end - 1U) * 4 ); - *(float *)(iVar14 + uVar21 * 8) = local_114 + *(float *)(iVar14 + uVar21 * 8); - *(float *)(iVar14 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar21 * 8) + *(float *)(iVar15 + uVar21 * 8) = local_114 + *(float *)(iVar15 + uVar21 * 8); + *(float *)(iVar15 + 4 + uVar21 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar21 * 8) ; local_fc = local_104->_roomList[0x10].SavedEffects._capacity; - puVar18 = (undefined1 *)((int)&local_fc->_roomList[0].SafeGridIndex + 3); - uVar22 = (uint)puVar18 & 1; - iVar14 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + - ((uint)puVar18 >> 1 & + puVar19 = (undefined1 *)((int)&local_fc->_roomList[0].SafeGridIndex + 3); + uVar22 = (uint)puVar19 & 1; + iVar15 = *(int *)((int)local_104->_roomList[0x10].SavedEffects._begin + + ((uint)puVar19 >> 1 & (int)local_104->_roomList[0x10].SavedEffects._end - 1U) * 4); - *(float *)(iVar14 + uVar22 * 8) = local_114 + *(float *)(iVar14 + uVar22 * 8); - *(float *)(iVar14 + 4 + uVar22 * 8) = (float)local_118 + *(float *)(iVar14 + 4 + uVar22 * 8) + *(float *)(iVar15 + uVar22 * 8) = local_114 + *(float *)(iVar15 + uVar22 * 8); + *(float *)(iVar15 + 4 + uVar22 * 8) = (float)local_118 + *(float *)(iVar15 + 4 + uVar22 * 8) ; } local_11c = (int *)0x0; if ((int)(g_game->_playerManager)._playerList._end - (int)(g_game->_playerManager)._playerList._begin >> 2 != 0) { do { - pvVar19 = (g_game->_playerManager)._playerList._end; - if ((int)pvVar19 - (int)(g_game->_playerManager)._playerList._begin >> 2 == 0) { + pvVar4 = (g_game->_playerManager)._playerList._end; + if ((int)pvVar4 - (int)(g_game->_playerManager)._playerList._begin >> 2 == 0) { local_104 = g_game; /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - piVar16 = (g_game->_playerManager)._playerList._begin; - if (local_11c < (int *)((int)pvVar19 - (int)piVar16 >> 2)) { - piVar16 = piVar16 + (int)local_11c; + piVar17 = (g_game->_playerManager)._playerList._begin; + if (local_11c < (int *)((int)pvVar4 - (int)piVar17 >> 2)) { + piVar17 = piVar17 + (int)local_11c; } - local_104 = (Game *)*piVar16; + local_104 = (Game *)*piVar17; local_130 = (int *)((((Entity_Player *)local_104)->_pos).y - (float)((Game *)npc)->_roomList[4].GreedSubType); local_124 = (((Entity_Player *)local_104)->_pos).x - @@ -109646,14 +109693,14 @@ LAB_004ab524: } else { if (fVar26 <= 0.0) { - piVar16 = local_130; + piVar17 = local_130; fVar27 = local_124; } else { - piVar16 = (int *)((float)local_130 * (80.0 / fVar26)); + piVar17 = (int *)((float)local_130 * (80.0 / fVar26)); fVar27 = local_124 * (80.0 / fVar26); } - fVar26 = (float)piVar16 + (float)((Game *)npc)->_roomList[4].GreedSubType; + fVar26 = (float)piVar17 + (float)((Game *)npc)->_roomList[4].GreedSubType; ((Vector *)((int)local_104 + 0x33c))->x = fVar27 + *(float *)&((Game *)npc)->_roomList[4].TotalMoneySpent; ((Vector *)((int)local_104 + 0x33c))->y = fVar26; @@ -109668,8 +109715,8 @@ LAB_004ab524: (int)(g_game->_playerManager)._playerList._begin >> 2)); } local_104 = g_game; - uVar15 = Room::GetCenterPos(local_14c); - local_130 = (int *)Game::Spawn(0x3b6,1,uVar15,&g_vectorZero,npc,0, + uVar16 = Room::GetCenterPos(local_14c); + local_130 = (int *)Game::Spawn(0x3b6,1,uVar16,&g_vectorZero,npc,0, ((Game *)npc)->_roomList[5].VisitedCount); (**(code **)(*local_130 + 0xc))(); local_12c.y = (float)(local_130 + 0xf0); @@ -109683,9 +109730,9 @@ LAB_004ab524: local_fc = (Game *)&((Game *)npc)->_roomList[5].Data; std::multiset::erase(&local_fc); } - ppvVar9 = &((Game *)npc)->_roomList[5].Data; - *ppvVar9 = local_130; - std::multiset::insert(ppvVar9); + ppvVar10 = &((Game *)npc)->_roomList[5].Data; + *ppvVar10 = local_130; + std::multiset::insert(ppvVar10); fVar26 = (float)((Game *)npc)->_roomList[4].GreedSubType; *(float *)&((Game *)npc)->_roomList[4].TotalMoneySpent = local_114 + *(float *)&((Game *)npc)->_roomList[4].TotalMoneySpent; @@ -109699,28 +109746,28 @@ LAB_004ab524: } else { if (local_110 != (Game *)&DAT_00000007) { - pvVar19 = pRVar23->_Camera; - if (*(char *)((int)pvVar19 + 0x8c) == '\0') { + pvVar4 = pRVar23->_Camera; + if (*(char *)((int)pvVar4 + 0x8c) == '\0') { ring_buffer_push(&((Game *)npc)->_roomList[4].TotalMoneySpent); - *(undefined1 *)((int)pvVar19 + 0x8c) = 1; + *(undefined1 *)((int)pvVar4 + 0x8c) = 1; } break; } LAB_004ac08d: - piVar16 = (g_game->_playerManager)._playerList._begin; - if (piVar16 != (g_game->_playerManager)._playerList._end) { + piVar17 = (g_game->_playerManager)._playerList._begin; + if (piVar17 != (g_game->_playerManager)._playerList._end) { do { - iVar14 = *piVar16; - piVar16 = piVar16 + 1; - *(undefined1 *)(iVar14 + 0x410) = 1; - } while (piVar16 != (pGVar24->_playerManager)._playerList._end); + iVar15 = *piVar17; + piVar17 = piVar17 + 1; + *(undefined1 *)(iVar15 + 0x410) = 1; + } while (piVar17 != (pGVar24->_playerManager)._playerList._end); } Room::PlayMusic(); (g_game->_hud)._isVisible = 1; } ((Game *)npc)->_roomList[2].SafeGridIndex = 4; ((Game *)npc)->_roomList[0xf].SavedEffects._begin = (void *)0x3; - ANM2::Play((ANM2 *)&((Game *)npc)->_roomList[0].field_0x34,s_Idle,0); + ANM2::Play((ANM2 *)(((Game *)npc)->_roomList[0]._doors + 6),s_Idle,0); ((Game *)npc)->_roomList[0x10].Dimension = 0x3c; Game::SetColorModifier(); this_00 = pRVar23->_Camera; @@ -109757,8 +109804,8 @@ LAB_004ac08d: if ((float)local_104 * (float)local_130 + (float)local_110 * local_124 <= 0.0) { LAB_004ac401: uVar29 = 0; - uVar15 = Vector::Resized(local_14c,npc->_aiFloat); - Entity::AddVelocity((Entity *)npc,uVar15,uVar29); + uVar16 = Vector::Resized(local_14c,npc->_aiFloat); + Entity::AddVelocity((Entity *)npc,uVar16,uVar29); fVar26 = 0.5; } else { @@ -109773,8 +109820,8 @@ LAB_004ac401: fVar26 = (float)local_fc * (float)local_130 + local_100 * local_124; local_10c.y = fVar26 * (float)local_fc; local_10c.x = fVar26 * local_100; - uVar15 = Vector::Resized(local_14c,npc->_aiFloat); - Entity::AddVelocity((Entity *)npc,uVar15,uVar29); + uVar16 = Vector::Resized(local_14c,npc->_aiFloat); + Entity::AddVelocity((Entity *)npc,uVar16,uVar29); fVar26 = 0.9; } fVar27 = 0.9; @@ -109784,60 +109831,60 @@ LAB_004ac401: Math::timescale_factor(); npc->_aiFloat = (npc->_aiFloat - fVar26) * fVar27 + fVar26; if ((npc->_projectileCooldown < 1) || - (iVar14 = npc->_projectileCooldown - (int)local_118, npc->_projectileCooldown = iVar14, - 0 < iVar14)) break; + (iVar15 = npc->_projectileCooldown - (int)local_118, npc->_projectileCooldown = iVar15, + 0 < iVar15)) break; uVar22 = Random(); fVar26 = (float)(uVar22 & 3); goto LAB_004ace95; case 8: - iVar14 = npc->_stateFrame; + iVar15 = npc->_stateFrame; npc->_friction = npc->_friction * 0.8; - if (0 < iVar14) { - iVar14 = iVar14 + (int)local_118; - npc->_stateFrame = iVar14; + if (0 < iVar15) { + iVar15 = iVar15 + (int)local_118; + npc->_stateFrame = iVar15; } - if (iVar14 < 0x5a) { - pEVar13 = Entity_NPC::GetPlayerTarget(npc); - local_114 = (pEVar13->_pos).x; - local_11c = (int *)(pEVar13->_pos).y; + if (iVar15 < 0x5a) { + pEVar14 = Entity_NPC::GetPlayerTarget(npc); + local_114 = (pEVar14->_pos).x; + local_11c = (int *)(pEVar14->_pos).y; local_10c.x = (npc->_pos).x + 0.0; local_10c.y = (npc->_pos).y - 15.0; local_144.y = (float)npc->_stateFrame / 20.0; if (1.0 <= local_144.y) { local_144.y = 1.0; } - cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - if (cVar6 != '\0') { + cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + if (cVar7 != '\0') { Isaac::GetAxisAlignedUnitVectorFromDir(); - iVar12 = 0x5a - npc->_stateFrame; + iVar13 = 0x5a - npc->_stateFrame; local_12c.x = 0.0; local_12c.y = -30.0; - iVar14 = 0; - if (0 < iVar12) { - iVar14 = iVar12; + iVar15 = 0; + if (0 < iVar13) { + iVar15 = iVar13; } pGVar24 = local_fc; - atan2f(iVar14 + 0xf,&local_12c,npc,0); - piVar16 = (int *)Entity_Laser::ShootAngle(1,&local_10c,(float)pGVar24 * 57.295776); + atan2f(iVar15 + 0xf,&local_12c,npc,0); + piVar17 = (int *)Entity_Laser::ShootAngle(1,&local_10c,(float)pGVar24 * 57.295776); pGVar24 = local_fc; if (npc->_i1 == 1) { - iVar14 = -0x3db80000; + iVar15 = -0x3db80000; } else { - iVar14 = 0x447a0000; + iVar15 = 0x447a0000; } - piVar16[0xd6] = iVar14; + piVar17[0xd6] = iVar15; local_12c.y = 100.0; local_fc = (Game *)(((float)local_11c - local_10c.y) * (float)local_fc + (local_114 - local_10c.x) * local_100); - pfVar11 = (float *)&local_fc; + pfVar12 = (float *)&local_fc; if ((float)local_fc <= 100.0) { - pfVar11 = &local_12c.y; + pfVar12 = &local_12c.y; } - pGVar25 = (Game *)*pfVar11; + pGVar25 = (Game *)*pfVar12; (npc->_targetPosition).y = (float)pGVar25 * (float)pGVar24 + local_10c.y; (npc->_targetPosition).x = (float)pGVar25 * local_100 + local_10c.x; - *(undefined1 *)(piVar16 + 0x146) = 1; + *(undefined1 *)(piVar17 + 0x146) = 1; if (npc->_stateFrame < 1) { Entity_NPC::PlaySound(npc,0x224,1.0,2,0,1.0); Game::ShakeScreen(g_game,10); @@ -109851,27 +109898,27 @@ LAB_004ac401: fVar27 = ((float)local_11c - (npc->_targetPosition).y) * 0.1 + (npc->_targetPosition).y; (npc->_targetPosition).y = fVar27; } - piVar16[0xcd] = (int)fVar26; - piVar16[0xce] = (int)fVar27; - iVar5 = DAT_00c34b7c; - iVar12 = DAT_00c34b78; - iVar14 = DAT_00c34b74; - piVar16[0x10a] = DAT_00c34b70; - piVar16[0x10b] = iVar14; - piVar16[0x10c] = iVar12; - piVar16[0x10d] = iVar5; - (**(code **)(*piVar16 + 0xc))(); - Entity::SetChild((Entity *)npc,piVar16); + piVar17[0xcd] = (int)fVar26; + piVar17[0xce] = (int)fVar27; + iVar6 = DAT_00c34b7c; + iVar13 = DAT_00c34b78; + iVar15 = DAT_00c34b74; + piVar17[0x10a] = DAT_00c34b70; + piVar17[0x10b] = iVar15; + piVar17[0x10c] = iVar13; + piVar17[0x10d] = iVar6; + (**(code **)(*piVar17 + 0xc))(); + Entity::SetChild((Entity *)npc,piVar17); if (npc->_i1 == 3) { - pcVar10 = "BrimstoneLoopDown"; + pcVar11 = "BrimstoneLoopDown"; } else { - pcVar10 = "BrimstoneLoopUp"; + pcVar11 = "BrimstoneLoopUp"; if (npc->_i1 != 1) { - pcVar10 = "BrimstoneLoopRight"; + pcVar11 = "BrimstoneLoopRight"; } } - ANM2::Play(&npc->_sprite,(byte *)pcVar10,0); + ANM2::Play(&npc->_sprite,(byte *)pcVar11,0); if (npc->_stateFrame == 0) { npc->_stateFrame = 1; } @@ -109937,9 +109984,9 @@ LAB_004ac401: ((float)local_110 - fVar27) * ((float)local_110 - fVar27) < 3600.0) { local_100 = fVar27 - (float)local_110; local_fc = (Game *)(fVar26 - (float)local_118); - pfVar11 = (float *)Vector::Resized(local_14c,0x42700000); - fVar27 = (float)local_110 + *pfVar11; - fVar26 = pfVar11[1]; + pfVar12 = (float *)Vector::Resized(local_14c,0x42700000); + fVar27 = (float)local_110 + *pfVar12; + fVar26 = pfVar12[1]; (npc->_targetPosition).x = fVar27; (npc->_targetPosition).y = (float)local_118 + fVar26; } @@ -109970,8 +110017,8 @@ LAB_004ac401: ANM2::Play(this,(byte *)"BrimstoneStartRight",0); (npc->_sprite)._flipX = npc->_i1 == 0; } - iVar14 = AnimationState::GetAnimationLength(); - Sprite::SetFrame_1((Sprite *)&npc->_sprite,iVar14 + -2); + iVar15 = AnimationState::GetAnimationLength(); + Sprite::SetFrame_1((Sprite *)&npc->_sprite,iVar15 + -2); npc->_i2 = 4; Entity_NPC::PlaySound(npc,0x51,0.5,2,0,1.0); (npc->_v2).x = 0.0; @@ -109980,18 +110027,18 @@ LAB_004ac401: } } else { - cVar6 = AnimationState::IsLoopingAnimation(); - if (cVar6 != '\0') { + cVar7 = AnimationState::IsLoopingAnimation(); + if (cVar7 != '\0') { if ((npc->_i1 == 3) || (npc->_i1 == 1)) { - pcVar10 = "BrimstoneEndDown"; + pcVar11 = "BrimstoneEndDown"; } else { - pcVar10 = "BrimstoneEndRight"; + pcVar11 = "BrimstoneEndRight"; } - ANM2::Play(&npc->_sprite,(byte *)pcVar10,0); + ANM2::Play(&npc->_sprite,(byte *)pcVar11,0); } - cVar6 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); - if (cVar6 != '\0') { + cVar7 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); + if (cVar7 != '\0') { ANM2::Play(&npc->_sprite,s_Idle,0); (npc->_sprite)._flipX = 0; npc->_state = 3; @@ -110000,15 +110047,15 @@ LAB_004ac401: break; case 9: npc->_friction = npc->_friction * 0.6; - cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - if (cVar6 != '\0') { + cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + if (cVar7 != '\0') { Entity_NPC::PlaySound(npc,0x226,1.0,2,0,1.0); - pLVar17 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar17->field_0x60 = 0x3f800000; + pLVar18 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); + (pLVar18->_color)._colorize[2] = 1.0; uVar22 = Random(); - for (iVar14 = (uVar22 & 1) + 3; iVar14 != 0; iVar14 = iVar14 + -1) { - iVar12 = Random(); - fVar26 = (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 + for (iVar15 = (uVar22 & 1) + 3; iVar15 != 0; iVar15 = iVar15 + -1) { + iVar13 = Random(); + fVar26 = (float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]) * 2.3283064e-10 * 3.14; pGVar24 = (Game *)(fVar26 + fVar26); local_fc = pGVar24; @@ -110021,17 +110068,17 @@ LAB_004ac401: local_f8.BulletFlags._0_4_ = 0; local_f8.BulletFlags._4_4_ = 0x4000; local_f8.Scale = 1.5; - iVar12 = Random(); + iVar13 = Random(); local_f8.FallingAccelModifier = -0.096; local_f8.FallingSpeedModifier = - (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 * + (float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]) * 2.3283064e-10 * 3.0; Entity_NPC::FireProjectiles(npc,&npc->_pos,&local_10c,0,&local_f8); } npc->_stateFrame = npc->_stateFrame + 1; } - cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Splat"); - if (cVar6 == '\0') { + cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Splat"); + if (cVar7 == '\0') { LAB_004ace68: fVar26 = -NAN; } @@ -110047,8 +110094,8 @@ LAB_004ace68: fVar26 = local_114; } } - cVar6 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); - if (cVar6 != '\0') { + cVar7 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); + if (cVar7 != '\0') { ANM2::Play(&npc->_sprite,s_Idle,0); npc->_state = 3; } @@ -110062,13 +110109,13 @@ LAB_004ace95: if (ABS(fVar27) <= ABS(fVar26)) { if (0.0 <= fVar26) { fVar26 = 4.2039e-45; - pcVar10 = "BrimstoneStartDown"; + pcVar11 = "BrimstoneStartDown"; } else { fVar26 = 1.4013e-45; - pcVar10 = "BrimstoneStartUp"; + pcVar11 = "BrimstoneStartUp"; } - ANM2::Play(&npc->_sprite,(byte *)pcVar10,0); + ANM2::Play(&npc->_sprite,(byte *)pcVar11,0); } else { fVar26 = 0.0; @@ -110082,8 +110129,8 @@ LAB_004ace95: (npc->_v2).x = 0.0; npc->_state = 8; Entity_NPC::PlaySound(npc,0x223,1.0,2,0,1.0); - pLVar17 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar17->field_0x60 = 0x40000000; + pLVar18 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); + (pLVar18->_color)._colorize[2] = 2.0; npc->_projectileCooldown = 0x14; break; case 1.4013e-45: @@ -110123,11 +110170,11 @@ LAB_004ace95: fVar27 = (npc->_pos).y; (npc->_velocity).x = (npc->_v1).x - (npc->_pos).x; (npc->_velocity).y = fVar26 - fVar27; - iVar14 = npc->_stateFrame; - if ((0 < iVar14) && (local_114 = 0.0, 0 < (int)local_118)) { + iVar15 = npc->_stateFrame; + if ((0 < iVar15) && (local_114 = 0.0, 0 < (int)local_118)) { do { - local_124 = (float)((iVar14 + -1) / 5); - if (((iVar14 + -1) % 5 == 0) && ((int)local_124 < 5)) { + local_124 = (float)((iVar15 + -1) / 5); + if (((iVar15 + -1) % 5 == 0) && ((int)local_124 < 5)) { local_fc = (Game *)(10.0 - (float)(int)local_124 * 0.5); Entity_NPC::PlaySound(npc,0x10b,0.5,2,0,1.0); Entity_NPC::PlaySound(npc,0xb2,1.0,2,0,1.0); @@ -110144,13 +110191,13 @@ LAB_004ace95: local_10c.x = local_10c.x * 1.5; local_10c.y = local_10c.y * 1.5; } - iVar14 = 0; + iVar15 = 0; local_138 = (Room *)local_10c.x; local_130 = (int *)local_10c.y; if (0 < (int)local_124) { local_11c = (int *)((float)((int)local_124 + -1) * 0.5); do { - pGVar25 = (Game *)(((float)iVar14 - (float)local_11c) * 24.0 * 0.017453292); + pGVar25 = (Game *)(((float)iVar15 - (float)local_11c) * 24.0 * 0.017453292); local_12c.y = (float)pGVar25; cos(); pGVar24 = (Game *)local_12c.y; @@ -110161,16 +110208,16 @@ LAB_004ace95: local_144.y = (float)local_150 * (float)local_130 + (float)pGVar24 * (float)local_138; Entity_NPC::FireProjectiles(npc,&npc->_pos,&local_144,0,&local_f8); - iVar14 = iVar14 + 1; - } while (iVar14 < (int)local_124); + iVar15 = iVar15 + 1; + } while (iVar15 < (int)local_124); } local_104 = (Game *)((int)&local_104->_stage + 1); } while (local_104 < (Game *)&DAT_00000004); } - iVar14 = npc->_stateFrame + 1; - npc->_stateFrame = iVar14; - if (0x19 < iVar14) { - if ((0.33 <= (float)local_110) || (uVar22 = Random(pvVar7), (uVar22 & 1) != 0)) { + iVar15 = npc->_stateFrame + 1; + npc->_stateFrame = iVar15; + if (0x19 < iVar15) { + if ((0.33 <= (float)local_110) || (uVar22 = Random(pvVar8), (uVar22 & 1) != 0)) { ANM2::Play(&npc->_sprite,(byte *)"CrossEnd",0); } else { @@ -110183,12 +110230,12 @@ LAB_004ace95: local_114 = (float)((int)local_114 + 1); } while ((int)local_114 < (int)local_118); } - cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - if (cVar6 != '\0') { + cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + if (cVar7 != '\0') { npc->_stateFrame = 1; } - cVar6 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); - if (cVar6 != '\0') { + cVar7 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); + if (cVar7 != '\0') { if (npc->_stateFrame < 1) { ANM2::Play(&npc->_sprite,s_Idle,0); npc->_state = 3; @@ -110200,14 +110247,14 @@ LAB_004ace95: break; case 0xb: npc->_friction = npc->_friction * 0.6; - cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - if (cVar6 != '\0') { + cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + if (cVar7 != '\0') { Entity_NPC::PlaySound(npc,0x225,1.0,2,0,1.0); - pLVar17 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar17->field_0x60 = 0x3f800000; - pEVar13 = Entity_NPC::GetPlayerTarget(npc); - local_10c.x = (pEVar13->_pos).x - (npc->_pos).x; - local_10c.y = (pEVar13->_pos).y - (npc->_pos).y; + pLVar18 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); + (pLVar18->_color)._colorize[2] = 1.0; + pEVar14 = Entity_NPC::GetPlayerTarget(npc); + local_10c.x = (pEVar14->_pos).x - (npc->_pos).x; + local_10c.y = (pEVar14->_pos).y - (npc->_pos).y; Vector::Normalized(local_14c); Random(); ProjectileParams::ProjectileParams((Entity_NPC *)&local_f8); @@ -110223,14 +110270,14 @@ LAB_004ace95: local_10c.y = 8.0; Entity_NPC::FireProjectiles(npc,&npc->_pos,&local_10c,9,&local_f8); } - cVar6 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); - if (cVar6 == '\0') break; - iVar14 = 3; + cVar7 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); + if (cVar7 == '\0') break; + iVar15 = 3; if ((float)local_110 < 0.5) { - iVar14 = 4; + iVar15 = 4; } if (npc->_stateFrame != -1) { - if (npc->_stateFrame < iVar14) { + if (npc->_stateFrame < iVar15) { ANM2::Play(&npc->_sprite,(byte *)"GodheadShoot",1); npc->_stateFrame = npc->_stateFrame + 1; } @@ -110243,43 +110290,43 @@ LAB_004ace95: goto LAB_004ad5b4; case 0xc: npc->_friction = npc->_friction * 0.6; - cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - if (cVar6 != '\0') { + cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + if (cVar7 != '\0') { Entity_NPC::PlaySound(npc,0x220,1.0,2,0,1.0); SFXManager::Stop(0x21f); - pEVar13 = Entity_NPC::GetPlayerTarget(npc); - local_100 = (pEVar13->_pos).x - (npc->_pos).x; - local_fc = (Game *)((pEVar13->_pos).y - (npc->_pos).y); + pEVar14 = Entity_NPC::GetPlayerTarget(npc); + local_100 = (pEVar14->_pos).x - (npc->_pos).x; + local_fc = (Game *)((pEVar14->_pos).y - (npc->_pos).y); Vector::Normalized(&local_10c); (npc->_sprite)._flipX = local_10c.x < 0.0; - uVar15 = Random(); + uVar16 = Random(); local_100 = local_10c.x * 15.0; local_fc = (Game *)(local_10c.y * 15.0); - piVar16 = (int *)Game::Spawn(1000,0xab,&npc->_pos,&local_100,npc,0,uVar15); - (**(code **)(*piVar16 + 0xc))(); - piVar16[0xd3] = 0; - piVar16[0xd4] = -0x3dc80000; - Entity_NPC::SetRef_bec(npc,piVar16); + piVar17 = (int *)Game::Spawn(1000,0xab,&npc->_pos,&local_100,npc,0,uVar16); + (**(code **)(*piVar17 + 0xc))(); + piVar17[0xd3] = 0; + piVar17[0xd4] = -0x3dc80000; + Entity_NPC::SetRef_bec(npc,piVar17); } - cVar6 = ANM2::WasEventTriggered(&npc->_sprite,"Sound"); - if (((cVar6 != '\0') && (cVar6 = ANM2::WasEventTriggered(&npc->_sprite,"Splat"), cVar6 == '\0')) - && (iVar14 = Entity::GetIntervalTicks((Entity *)npc), iVar14 != 0)) { - uVar15 = Random(); - piVar16 = (int *)Game::Spawn(1000,0xab,&npc->_pos,&g_vectorZero,npc,1,uVar15); - (**(code **)(*piVar16 + 0xc))(); - iVar14 = Random(); - local_fc = (Game *)((float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * + cVar7 = ANM2::WasEventTriggered(&npc->_sprite,"Sound"); + if (((cVar7 != '\0') && (cVar7 = ANM2::WasEventTriggered(&npc->_sprite,"Splat"), cVar7 == '\0')) + && (iVar15 = Entity::GetIntervalTicks((Entity *)npc), iVar15 != 0)) { + uVar16 = Random(); + piVar17 = (int *)Game::Spawn(1000,0xab,&npc->_pos,&g_vectorZero,npc,1,uVar16); + (**(code **)(*piVar17 + 0xc))(); + iVar15 = Random(); + local_fc = (Game *)((float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 0.2 + 0.2); - iVar14 = Random(); - piVar16[0xd3] = 0; - piVar16[0xd4] = -0x3dc80000; - piVar16[0x39] = - (int)((float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * 2.3283064e-10 + iVar15 = Random(); + piVar17[0xd3] = 0; + piVar17[0xd4] = -0x3dc80000; + piVar17[0x39] = + (int)((float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 0.2 + 0.5); - piVar16[0x3a] = (int)local_fc; + piVar17[0x3a] = (int)local_fc; } - cVar6 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); - if (cVar6 != '\0') { + cVar7 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); + if (cVar7 != '\0') { ANM2::Play(&npc->_sprite,s_Idle,0); npc->_state = 3; (npc->_sprite)._flipX = 0; @@ -110290,27 +110337,27 @@ LAB_004ace95: Game::ShakeScreen(g_game,4); (npc->_v2).x = npc->_speedMultiplier * 40.0 + (npc->_v2).x; Entity_NPC::CalcTargetPosition(local_14c,0); - EntityList_EL::constructor(&local_164,&(pRVar23->_entityList)._updateEL); + EntityList_EL::constructor((EntityList_EL *)&local_164,&(pRVar23->_entityList)._updateEL); local_14 = 0.0; local_138 = (Room *)0x0; - if ((undefined1 *)local_164._size != (undefined1 *)0x0) { - puVar18 = (undefined1 *)local_164._size; - pvVar19 = local_164._data; + if ((undefined1 *)local_164._shift3 != (undefined1 *)0x0) { + puVar19 = (undefined1 *)local_164._shift3; + iVar15 = local_164._shift1; do { - piVar16 = *(int **)((int)pvVar19 + (int)local_138 * 4); - if (piVar16 != (int *)0x0) { - if (piVar16[10] == 9) { - if (piVar16[0xd] == 0x3b6) { - if (piVar16[0xc] == 0) { - fVar27 = (npc->_pos).x - (float)piVar16[0xcf]; - fVar28 = (npc->_pos).y - (float)piVar16[0xd0]; + piVar17 = *(int **)(iVar15 + (int)local_138 * 4); + if (piVar17 != (int *)0x0) { + if (piVar17[10] == 9) { + if (piVar17[0xd] == 0x3b6) { + if (piVar17[0xc] == 0) { + fVar27 = (npc->_pos).x - (float)piVar17[0xcf]; + fVar28 = (npc->_pos).y - (float)piVar17[0xd0]; fVar26 = (npc->_v2).x; if (fVar28 * fVar28 + fVar27 * fVar27 <= fVar26 * fVar26) { local_50[0] = 1.0; local_50[1] = 1.0; iStack_48 = 0x3f800000; iStack_44 = 0x3f800000; - piVar16[0xc] = 1; + piVar17[0xc] = 1; local_40._0_1_ = 0; local_40._1_3_ = 0x410000; pvStack_3c = (void *)0x0; @@ -110319,53 +110366,53 @@ LAB_004ace95: local_30 = 0; local_2c = (void *)0x0; local_28 = 0; - (**(code **)(*piVar16 + 0x3c))(local_50,0xc,0xff,1,1); - uVar22 = piVar16[0x10e]; - piVar16[0x115] = piVar16[0x10f]; - piVar16[0x116] = 0x40000000; - piVar16[0x104] = -0x3e240000; - piVar16[0x106] = -0x4251eb85; - piVar16[0x105] = (int)&DAT_bf800000; - piVar16[0x10a] = -0x40000000; - piVar16[0x10f] = piVar16[0x10f] | 3; - piVar16[0x117] = (int)(float)piVar16[0xe9] + 0x14; - piVar16[0x10e] = uVar22 | 0x8080000; - piVar16[0x114] = uVar22 & 0xf7ffffff; + (**(code **)(*piVar17 + 0x3c))(local_50,0xc,0xff,1,1); + uVar22 = piVar17[0x10e]; + piVar17[0x115] = piVar17[0x10f]; + piVar17[0x116] = 0x40000000; + piVar17[0x104] = -0x3e240000; + piVar17[0x106] = -0x4251eb85; + piVar17[0x105] = (int)&DAT_bf800000; + piVar17[0x10a] = -0x40000000; + piVar17[0x10f] = piVar17[0x10f] | 3; + piVar17[0x117] = (int)(float)piVar17[0xe9] + 0x14; + piVar17[0x10e] = uVar22 | 0x8080000; + piVar17[0x114] = uVar22 & 0xf7ffffff; local_12c.y = (float)Entity_NPC::GetPlayerTarget(npc); - if (piVar16[0xf1] != 0) { - local_fc = (Game *)(piVar16 + 0xf1); + if (piVar17[0xf1] != 0) { + local_fc = (Game *)(piVar17 + 0xf1); std::multiset::erase(&local_fc); } - piVar16[0xf1] = (int)local_12c.y; + piVar17[0xf1] = (int)local_12c.y; if ((Game *)local_12c.y != (Game *)0x0) { - std::multiset::insert(piVar16 + 0xf1); + std::multiset::insert(piVar17 + 0xf1); } - piVar16[0x10b] = 0x3f59999a; + piVar17[0x10b] = 0x3f59999a; npc->_i1 = npc->_i1 + 1; - puVar18 = (undefined1 *)local_164._size; - pvVar19 = local_164._data; + puVar19 = (undefined1 *)local_164._shift3; + iVar15 = local_164._shift1; } } } } } local_138 = (Room *)&local_138->field_0x1; - } while (local_138 < puVar18); + } while (local_138 < puVar19); } local_14 = -NAN; EntityList_Query::~EntityList_Query(); } - cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); pGVar24 = g_game; - if (cVar6 != '\0') { + if (cVar7 != '\0') { npc->_stateFrame = 0; (npc->_v2).x = 0.0; Game::MakeShockwave(pGVar24,&npc->_pos,0.02,0.07,0x14); npc->_i1 = 0; Entity_NPC::PlaySound(npc,0x228,1.0,2,0,1.0); } - cVar6 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); - if (cVar6 == '\0') break; + cVar7 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); + if (cVar7 == '\0') break; LAB_004ad5b4: ANM2::Play(&npc->_sprite,s_Idle,0); npc->_state = 3; @@ -110374,32 +110421,32 @@ LAB_004ad5b4: Camera::SetFocusPosition(pRVar23->_Camera,&npc->_pos); npc->_entityCollisionClass = 0; npc->_friction = npc->_friction * 0.5; - cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Sound"); - if (cVar6 != '\0') { + cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Sound"); + if (cVar7 != '\0') { local_138 = (Room *)0x0; if ((pRVar23->_entityList)._updateEL._size != 0) { do { local_fc = *(Game **)((int)(pRVar23->_entityList)._updateEL._data + (int)local_138 * 4); - if (*(int *)&local_fc->_roomList[0].field_0x20 == 0x3b6) { - puVar18 = local_fc->_roomList[0].OverrideData; - if (puVar18 == &DAT_00000009) { + if (local_fc->_roomList[0]._doors[1] == 0x3b6) { + puVar19 = local_fc->_roomList[0].OverrideData; + if (puVar19 == &DAT_00000009) { local_fc->_roomList[5].SavedEffects._end = (void *)0x0; local_fc->_roomList[5].SavedEffects._capacity = (void *)0x0; goto LAB_004adc69; } - if (puVar18 == &DAT_00000007) { + if (puVar19 == &DAT_00000007) { local_fc->_roomList[5].ShopItemIdx = 1; local_fc->_roomList[5].ShopItemDiscountIdx = 0; } - else if (puVar18 == (undefined1 *)0x3e8) { + else if (puVar19 == (undefined1 *)0x3e8) { if (local_fc->_roomList[0].AllowedDoors == 0x7e) { *(undefined4 *)&local_fc->_roomList[5].field_0xa4 = 1; } else { if ((local_fc->_roomList[0].AllowedDoors != 0xab) || - (*(int *)&local_fc->_roomList[0].field_0x1c != 0)) goto LAB_004adc70; + (local_fc->_roomList[0]._doors[0] != 0)) goto LAB_004adc70; *(undefined4 *)&local_fc->_roomList[5].field_0xa4 = 2; - ANM2::Play((ANM2 *)&local_fc->_roomList[0].field_0x34,(byte *)"Fizzle",0); + ANM2::Play((ANM2 *)(local_fc->_roomList[0]._doors + 6),(byte *)"Fizzle",0); } LAB_004adc69: local_fc->_roomList[1].field_0xa7 = 1; @@ -110413,21 +110460,21 @@ LAB_004adc70: if ((npc->_vectorDeque1)._size != 0) { do { uVar21 = (npc->_vectorDeque1)._offset; - uVar22 = (int)local_104->_roomList + (uVar21 - 0x14); + uVar22 = (int)local_104->_roomList[0]._doors + (uVar21 - 0x30); uVar20 = uVar22 & 1; - iVar14 = *(int *)((int)(npc->_vectorDeque1)._map + + iVar15 = *(int *)((int)(npc->_vectorDeque1)._map + (uVar22 >> 1 & (npc->_vectorDeque1)._mapSize - 1) * 4); - local_10c.x = *(float *)(iVar14 + uVar20 * 8); - local_10c.y = *(float *)(iVar14 + 4 + uVar20 * 8); - uVar22 = (int)local_104->_roomList + (uVar21 - 0x12); + local_10c.x = *(float *)(iVar15 + uVar20 * 8); + local_10c.y = *(float *)(iVar15 + 4 + uVar20 * 8); + uVar22 = (int)local_104->_roomList[0]._doors + (uVar21 - 0x2e); local_fc = *(Game **)(*(int *)((int)(npc->_vectorDeque1)._map + (uVar22 >> 1 & (npc->_vectorDeque1)._mapSize - 1) * 4) + (uVar22 & 1) * 8); - uVar15 = Random(); - iVar14 = Game::Spawn(1000,200,&local_10c,&g_vectorZero,0,0,uVar15); + uVar16 = Random(); + iVar15 = Game::Spawn(1000,200,&local_10c,&g_vectorZero,0,0,uVar16); local_104 = (Game *)((int)&local_104->_stage + 3); - *(undefined4 *)(iVar14 + 0xdc) = 0; - *(Game **)(iVar14 + 0xe0) = local_fc; + *(undefined4 *)(iVar15 + 0xdc) = 0; + *(Game **)(iVar15 + 0xe0) = local_fc; } while (local_104 < (Game *)(npc->_vectorDeque1)._size); } std::deque::_Tidy(); @@ -110435,33 +110482,33 @@ LAB_004adc70: Entity_NPC::PlaySound(npc,0x1e,1.0,2,0,1.0); } Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Splat"); - if (cVar6 != '\0') { - uVar15 = Random(); - piVar16 = (int *)Game::Spawn(1000,0x84,&npc->_pos,&g_vectorZero,npc,2,uVar15); - (**(code **)(*piVar16 + 0xc))(); + cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Splat"); + if (cVar7 != '\0') { + uVar16 = Random(); + piVar17 = (int *)Game::Spawn(1000,0x84,&npc->_pos,&g_vectorZero,npc,2,uVar16); + (**(code **)(*piVar17 + 0xc))(); Entity_NPC::PlaySound(npc,0xe2,1.0,2,0,1.0); } - cVar6 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); - if (cVar6 != '\0') { + cVar7 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); + if (cVar7 != '\0') { Entity_NPC::Morph(npc,0x3b6,2,0,-1); ANM2::Play(&npc->_sprite,(byte *)"Appear",0); Entity_NPC::PlaySound(npc,0x22f,0.6,2,0,1.0); } } if ((((Game *)npc)->_roomList[0xf].SavedEffects._begin != (void *)0x2) && - (iVar14 = Entity::GetIntervalTicks((Entity *)npc), iVar14 != 0)) { - uVar15 = Random(pvVar7); - piVar16 = (int *)Game::Spawn(1000,0xa9,&((Game *)npc)->_roomList[4].TotalMoneySpent, - &g_vectorZero,npc,0,uVar15); - iVar14 = Random(); - piVar16[0x117] = 0x3c; - piVar16[0x118] = 0x3c; - fVar26 = (float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * 2.3283064e-10 + + (iVar15 = Entity::GetIntervalTicks((Entity *)npc), iVar15 != 0)) { + uVar16 = Random(pvVar8); + piVar17 = (int *)Game::Spawn(1000,0xa9,&((Game *)npc)->_roomList[4].TotalMoneySpent, + &g_vectorZero,npc,0,uVar16); + iVar15 = Random(); + piVar17[0x117] = 0x3c; + piVar17[0x118] = 0x3c; + fVar26 = (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 + 0.5; - piVar16[0x39] = (int)fVar26; - piVar16[0x3a] = (int)fVar26; - (**(code **)(*piVar16 + 0xc))(); + piVar17[0x39] = (int)fVar26; + piVar17[0x3a] = (int)fVar26; + (**(code **)(*piVar17 + 0xc))(); } ExceptionList = local_1c; return; @@ -110637,8 +110684,8 @@ void __fastcall NpcAI::ENTITY_DOGMA_angel(Entity_NPC *npc) bVar5 = AnimationState::IsEventTriggered(this,(byte *)"Sound"); if (bVar5 != 0) { BossOverlay::play(2); - *(undefined4 *) - (&(g_manager->_musicManager).field_0x170 + *(int *)&g_manager->_musicManager * 0x184) = 0; + (g_manager->_musicManager)._channels[(g_manager->_musicManager)._currentChannel]. + _enabledLayers = 0; MusicManager::EnableLayer(1,0); } if ((npc->_sprite)._animState._animData == (void *)0x0) { @@ -111266,7 +111313,7 @@ LAB_004af666: g_game->_bloomDuration = 6; pGVar3->_bloomTimer = 6; pGVar3->_bloomStrength = 0.5; - *(undefined4 *)(&pMVar18->field_0x170 + *(int *)pMVar18 * 0x184) = 0; + pMVar18->_channels[pMVar18->_currentChannel]._enabledLayers = 0; MusicManager::EnableLayer(0,0); } if (((npc->_sprite)._animState._animData != (void *)0x0) && @@ -111428,8 +111475,6 @@ EntityPtr __fastcall NpcAI::ENTITY_DOGMA_angel_baby(Entity_NPC *npc) float local_34; float local_30; RNG local_2c; - undefined8 local_28; - float local_20; float local_1c; undefined1 *local_18; undefined4 local_14; @@ -111501,25 +111546,25 @@ EntityPtr __fastcall NpcAI::ENTITY_DOGMA_angel_baby(Entity_NPC *npc) if ((EVar4 == (EntityPtr)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { pEVar5 = Entity_NPC::GetPlayerTarget(npc); local_18 = (undefined1 *)(pEVar5->_pos).x; - local_20 = (pEVar5->_pos).y; + local_2c._shift3 = (int)(pEVar5->_pos).y; (npc->_targetPosition).x = (float)local_18; - (npc->_targetPosition).y = local_20; - local_20 = local_20 - (npc->_pos).y; - local_28 = CONCAT44((float)local_18 - (npc->_pos).x,(undefined4)local_28); + (npc->_targetPosition).y = (float)local_2c._shift3; + local_2c._shift3 = (int)((float)local_2c._shift3 - (npc->_pos).y); + local_2c._shift2 = (int)((float)local_18 - (npc->_pos).x); auVar21._0_8_ = in_stack_ffffff7c._0_8_; auVar21._8_4_ = 0x4b038f; auVar21._12_4_ = &local_34; pfVar6 = (float *)Vector::Resized(); fVar16 = *pfVar6; (npc->_targetPosition).x = (float)local_18 + fVar16; - local_20 = pfVar6[1] + (npc->_targetPosition).y; - (npc->_targetPosition).y = local_20; + local_2c._shift3 = (int)(pfVar6[1] + (npc->_targetPosition).y); + (npc->_targetPosition).y = (float)local_2c._shift3; local_18 = (undefined1 *)(((float)local_18 + fVar16) - (npc->_pos).x); - local_20 = local_20 - (npc->_pos).y; - local_28 = CONCAT44(local_18,(undefined4)local_28); + local_2c._shift3 = (int)((float)local_2c._shift3 - (npc->_pos).y); + local_2c._shift2 = (int)local_18; auVar22._0_12_ = auVar21._0_12_; auVar22._12_4_ = 0x4b03e5; - local_1c = local_20; + local_1c = (float)local_2c._shift3; pfVar6 = (float *)Vector::Normalized(&local_34); (npc->_v1).x = *pfVar6; (npc->_v1).y = pfVar6[1]; @@ -111559,8 +111604,8 @@ EntityPtr __fastcall NpcAI::ENTITY_DOGMA_angel_baby(Entity_NPC *npc) fVar16 = fVar17; } npc->_aiFloat = fVar16; - local_28 = CONCAT44((npc->_targetPosition).x - pVVar1->x,(undefined4)local_28); - local_20 = (npc->_targetPosition).y - (npc->_pos).y; + local_2c._shift2 = (int)((npc->_targetPosition).x - pVVar1->x); + local_2c._shift3 = (int)((npc->_targetPosition).y - (npc->_pos).y); auVar25._8_4_ = 0x4b04d6; auVar25._0_8_ = uVar20; auVar25._12_4_ = &local_34; @@ -111644,9 +111689,10 @@ LAB_004b0724: EVar4 = (EntityPtr)(npc->_sprite)._animState._animData; if ((EVar4 != (EntityPtr)0x0) && (*(char *)((int)EVar4 + 0x34) != '\0')) { Entity_NPC::CalcTargetPosition(); - local_2c = (RNG)npc->_initSeed; - local_28 = 0x10000000f; - local_20 = 4.06377e-44; + local_2c._seed = npc->_initSeed; + local_2c._shift1 = 0xf; + local_2c._shift2 = 1; + local_2c._shift3 = 0x1d; fVar16 = RNG::RandomFloat(&local_2c); local_38 = fVar16 * 80.0 + 100.0; uVar11 = RNG::RandomInt(&local_2c,2); @@ -111659,7 +111705,7 @@ LAB_004b0724: local_1c = RNG::RandomFloat(&local_2c); local_18 = (undefined1 *)((local_1c * 2.5 + 2.5) * (float)local_18); fVar16 = RNG::RandomFloat(&local_2c); - local_20 = fVar16 * 0.4 + 0.3; + local_2c._shift3 = (int)(fVar16 * 0.4 + 0.3); fVar16 = (float)local_18 * npc->_updateTime * 0.017453292; local_18 = (undefined1 *)fVar16; cos(); @@ -111964,9 +112010,14 @@ void std::deque::push_back(undefined4 *param_1) } -//@@ 004b0fe0 FUN_004b0fe0 +//@@ 004b0fe0 NpcHelper::gideon_spawn_stairs -void FUN_004b0fe0(void) +/* DB: ? only caller NpcHelper::gideon_update_death 004b3610: at grid index ECX+0xba4 (checks + 0..0x1bf, "SpawnGridEntity: Grid index invalid"), sets the crawlspace room (roomList+0x205 Data = + RoomConfig::GetRandomRoom type 0x10 ROOM_DUNGEON) and spawns a GridEntity_Stairs (type 0x12, + operator_new(0x154), GridEntity::Init) when the cell has no collision */ + +void NpcHelper::gideon_spawn_stairs(void) { undefined4 *puVar1; @@ -111978,14 +112029,12 @@ void FUN_004b0fe0(void) int in_ECX; uint uVar7; RoomDescriptor *pRVar8; - RNG local_28; - undefined8 local_24; - undefined4 local_1c; + uint local_28 [4]; Room *local_18; uint local_14; void *local_10; undefined1 *puStack_c; - undefined4 local_8; + uint local_8; pGVar2 = g_game; local_8 = 0xffffffff; @@ -111994,8 +112043,7 @@ void FUN_004b0fe0(void) ExceptionList = &local_10; if (-1 < *(int *)(in_ECX + 0xba4)) { if (*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < g_invalidRoomDescriptorGuard) { - _Init_thread_header(&g_invalidRoomDescriptorGuard, - __security_cookie ^ (int)register0x00000010 - 4U); + _Init_thread_header(&g_invalidRoomDescriptorGuard,__security_cookie ^ (uint)(local_28 + 9)); if (g_invalidRoomDescriptorGuard == -1) { local_8 = 0; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -112009,21 +112057,22 @@ void FUN_004b0fe0(void) pRVar8 = pGVar2->_roomList + 0x205; } if (pRVar8->Data == (void *)0x0) { - local_28 = pGVar2->_devilAngelRoomRNG; - local_1c = 0x1b; - local_24 = 0x1b00000001; - Seeds::Init3(&local_28); + local_28[0] = (pGVar2->_devilAngelRoomRNG)._seed; + local_28[3] = 0x1b; + local_28[1] = 1; + local_28[2] = 0x1b; + Seeds::Init3(local_28); local_18 = (Room *)&g_game->_roomConfig; local_14 = 0; - if (local_28 == (RNG)0x0) { + if (local_28[0] == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_28 >> ((byte)local_24 & 0x1f) ^ (uint)local_28; - uVar7 = uVar7 << ((byte)((ulonglong)local_24 >> 0x20) & 0x1f) ^ uVar7; + uVar7 = local_28[0] >> ((byte)local_28[1] & 0x1f) ^ local_28[0]; + uVar7 = uVar7 << ((byte)local_28[2] & 0x1f) ^ uVar7; pRVar4 = RoomConfig::GetRandomRoom - ((RoomConfig *)local_18,uVar7 >> ((byte)local_1c & 0x1f) ^ uVar7,0,0,0x10, - 0xd,0,-1,0,0,&local_14,1,-1); + ((RoomConfig *)local_18,uVar7 >> ((byte)local_28[3] & 0x1f) ^ uVar7,0,0, + 0x10,0xd,0,-1,0,0,&local_14,1,-1); pRVar8->Data = pRVar4; } local_18 = g_game->_room; @@ -112079,6 +112128,7 @@ void NpcHelper::gideon_choose_attack(void) uint *puVar1; int *piVar2; byte *pbVar3; + RNG rng; int iVar4; Manager *pMVar5; undefined1 *puVar6; @@ -112086,16 +112136,15 @@ void NpcHelper::gideon_choose_attack(void) uint *puVar8; uint uVar9; int iVar10; - undefined4 uVar11; - byte *pbVar12; + byte *pbVar11; int in_ECX; - uint uVar13; - int iVar14; - byte *pbVar15; - char *pcVar16; - ushort uVar17; - WeightedOutcomePicker WVar18; - bool bVar19; + uint uVar12; + int iVar13; + byte *pbVar14; + char *pcVar15; + ushort uVar16; + WeightedOutcomePicker WVar17; + bool bVar18; undefined8 uStack_40; uint uStack_38; WeightedOutcomePicker local_34; @@ -112114,22 +112163,22 @@ void NpcHelper::gideon_choose_attack(void) local_1c = ExceptionList; local_24 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; - iVar14 = *(int *)(in_ECX + 0x3bc); + iVar13 = *(int *)(in_ECX + 0x3bc); iVar10 = in_ECX; - while (iVar4 = iVar14, iVar4 != 0) { + while (iVar4 = iVar13, iVar4 != 0) { iVar10 = iVar4; - iVar14 = *(int *)(iVar4 + 0x3bc); + iVar13 = *(int *)(iVar4 + 0x3bc); } - iVar14 = *(int *)(iVar10 + 0x3c0); - while (puVar6 = (undefined1 *)((int)register0x00000010 + -4), iVar14 != 0) { + iVar13 = *(int *)(iVar10 + 0x3c0); + while (puVar6 = (undefined1 *)((int)register0x00000010 + -4), iVar13 != 0) { if ((iVar10 != in_ECX) && ((*(int *)(iVar10 + 0xb64) == 0xb || (*(int *)(iVar10 + 0xb64) == 7))) ) { uVar9 = Random(local_24); puVar1 = (uint *)(in_ECX + 0xbc6); - uVar17 = (short)(uVar9 % 0x96) + 0x5a; - uStack_38 = (uint)uVar17; + uVar16 = (short)(uVar9 % 0x96) + 0x5a; + uStack_38 = (uint)uVar16; puVar8 = &uStack_38; - if (uVar17 <= *(ushort *)puVar1) { + if (uVar16 <= *(ushort *)puVar1) { puVar8 = puVar1; } *(ushort *)puVar1 = (ushort)*puVar8; @@ -112137,7 +112186,7 @@ void NpcHelper::gideon_choose_attack(void) break; } iVar10 = *(int *)(iVar10 + 0x3c0); - iVar14 = *(int *)(iVar10 + 0x3c0); + iVar13 = *(int *)(iVar10 + 0x3c0); } puStack_20 = puVar6; local_34 = (WeightedOutcomePicker)0x0; @@ -112149,8 +112198,8 @@ void NpcHelper::gideon_choose_attack(void) std::vector<8byte>::_Emplace_reallocate(0,(int)&uStack_40 + 4); if (*(short *)(in_ECX + 0xbc4) == 0) { uVar9 = 0; - uVar13 = (int)local_30 - (int)local_34 >> 3; - if (uVar13 != 0) { + uVar12 = (int)local_30 - (int)local_34 >> 3; + if (uVar12 != 0) { do { if (*(int *)((int)local_34 + uVar9 * 8) == 1) { piVar2 = (int *)((int)local_34 + 4 + uVar9 * 8); @@ -112161,7 +112210,7 @@ void NpcHelper::gideon_choose_attack(void) goto LAB_004b137f; } uVar9 = uVar9 + 1; - } while (uVar9 < uVar13); + } while (uVar9 < uVar12); } uStack_40 = CONCAT44(1,(uint)uStack_40); uStack_38 = 1; @@ -112177,8 +112226,8 @@ void NpcHelper::gideon_choose_attack(void) LAB_004b137f: if ((3 < *(int *)(in_ECX + 0x410)) && (*(char *)(in_ECX + 0xbc1) == '\0')) { uVar9 = 0; - uVar13 = (int)local_30 - (int)local_34 >> 3; - if (uVar13 != 0) { + uVar12 = (int)local_30 - (int)local_34 >> 3; + if (uVar12 != 0) { do { if (*(int *)((int)local_34 + uVar9 * 8) == 2) { piVar2 = (int *)((int)local_34 + 4 + uVar9 * 8); @@ -112189,7 +112238,7 @@ LAB_004b137f: goto LAB_004b13f7; } uVar9 = uVar9 + 1; - } while (uVar9 < uVar13); + } while (uVar9 < uVar12); } uStack_40 = CONCAT44(2,(uint)uStack_40); uStack_38 = 6; @@ -112204,15 +112253,15 @@ LAB_004b137f: } LAB_004b13f7: if (*(short *)(in_ECX + 0xbc6) == 0) { - iVar14 = *(int *)((int)g_game->_room + 0x12c4) + *(int *)((int)g_game->_room + 0x12c0); + iVar13 = *(int *)((int)g_game->_room + 0x12c4) + *(int *)((int)g_game->_room + 0x12c0); iVar10 = 0; - if (0 < iVar14) { - iVar10 = iVar14; + if (0 < iVar13) { + iVar10 = iVar13; } if (iVar10 < 5) { uVar9 = 0; - uVar13 = (int)local_30 - (int)local_34 >> 3; - if (uVar13 != 0) { + uVar12 = (int)local_30 - (int)local_34 >> 3; + if (uVar12 != 0) { do { if (*(int *)((int)local_34 + uVar9 * 8) == 3) { piVar2 = (int *)((int)local_34 + 4 + uVar9 * 8); @@ -112223,7 +112272,7 @@ LAB_004b13f7: goto LAB_004b1488; } uVar9 = uVar9 + 1; - } while (uVar9 < uVar13); + } while (uVar9 < uVar12); } uStack_40 = CONCAT44(3,(uint)uStack_40); uStack_38 = 1; @@ -112241,9 +112290,13 @@ LAB_004b1488: uVar9 = Random(); uStack_40 = 0x900000005; uStack_38 = 7; - uVar11 = WeightedOutcomePicker::PickOutcome(&local_34,uVar9 | 1,5,9,7); + rng._shift1 = 5; + rng._seed = uVar9 | 1; + rng._shift2 = 9; + rng._shift3 = 7; + uVar9 = WeightedOutcomePicker::PickOutcome(&local_34,rng); pMVar5 = g_manager; - switch(uVar11) { + switch(uVar9) { case 0: *(undefined4 *)(in_ECX + 0xb64) = 8; pbVar3 = *(byte **)(in_ECX + 0x7c); @@ -112256,25 +112309,25 @@ LAB_004b152e: } } else { - pbVar12 = pbVar3; + pbVar11 = pbVar3; if (0xf < *(uint *)(pbVar3 + 0x14)) { - pbVar12 = *(byte **)pbVar3; + pbVar11 = *(byte **)pbVar3; } - pbVar15 = s_Attack1; + pbVar14 = s_Attack1; do { - bVar7 = *pbVar12; - bVar19 = bVar7 < *pbVar15; - if (bVar7 != *pbVar15) { + bVar7 = *pbVar11; + bVar18 = bVar7 < *pbVar14; + if (bVar7 != *pbVar14) { LAB_004b1510: - uVar9 = -(uint)bVar19 | 1; + uVar9 = -(uint)bVar18 | 1; goto LAB_004b1515; } if (bVar7 == 0) break; - bVar7 = pbVar12[1]; - bVar19 = bVar7 < pbVar15[1]; - if (bVar7 != pbVar15[1]) goto LAB_004b1510; - pbVar12 = pbVar12 + 2; - pbVar15 = pbVar15 + 2; + bVar7 = pbVar11[1]; + bVar18 = bVar7 < pbVar14[1]; + if (bVar7 != pbVar14[1]) goto LAB_004b1510; + pbVar11 = pbVar11 + 2; + pbVar14 = pbVar14 + 2; } while (bVar7 != 0); uVar9 = 0; LAB_004b1515: @@ -112302,25 +112355,25 @@ LAB_004b162e: } } else { - pbVar12 = pbVar3; + pbVar11 = pbVar3; if (0xf < *(uint *)(pbVar3 + 0x14)) { - pbVar12 = *(byte **)pbVar3; + pbVar11 = *(byte **)pbVar3; } - pcVar16 = "Attack2Start"; + pcVar15 = "Attack2Start"; do { - bVar7 = *pbVar12; - bVar19 = bVar7 < (byte)*pcVar16; - if (bVar7 != *pcVar16) { + bVar7 = *pbVar11; + bVar18 = bVar7 < (byte)*pcVar15; + if (bVar7 != *pcVar15) { LAB_004b1610: - uVar9 = -(uint)bVar19 | 1; + uVar9 = -(uint)bVar18 | 1; goto LAB_004b1615; } if (bVar7 == 0) break; - bVar7 = pbVar12[1]; - bVar19 = bVar7 < (byte)pcVar16[1]; - if (bVar7 != pcVar16[1]) goto LAB_004b1610; - pbVar12 = pbVar12 + 2; - pcVar16 = pcVar16 + 2; + bVar7 = pbVar11[1]; + bVar18 = bVar7 < (byte)pcVar15[1]; + if (bVar7 != pcVar15[1]) goto LAB_004b1610; + pbVar11 = pbVar11 + 2; + pcVar15 = pcVar15 + 2; } while (bVar7 != 0); uVar9 = 0; LAB_004b1615: @@ -112363,25 +112416,25 @@ LAB_004b177e: } } else { - pbVar12 = pbVar3; + pbVar11 = pbVar3; if (0xf < *(uint *)(pbVar3 + 0x14)) { - pbVar12 = *(byte **)pbVar3; + pbVar11 = *(byte **)pbVar3; } - pbVar15 = &DAT_00b1d2e4; + pbVar14 = &DAT_00b1d2e4; do { - bVar7 = *pbVar12; - bVar19 = bVar7 < *pbVar15; - if (bVar7 != *pbVar15) { + bVar7 = *pbVar11; + bVar18 = bVar7 < *pbVar14; + if (bVar7 != *pbVar14) { LAB_004b1760: - uVar9 = -(uint)bVar19 | 1; + uVar9 = -(uint)bVar18 | 1; goto LAB_004b1765; } if (bVar7 == 0) break; - bVar7 = pbVar12[1]; - bVar19 = bVar7 < pbVar15[1]; - if (bVar7 != pbVar15[1]) goto LAB_004b1760; - pbVar12 = pbVar12 + 2; - pbVar15 = pbVar15 + 2; + bVar7 = pbVar11[1]; + bVar18 = bVar7 < pbVar14[1]; + if (bVar7 != pbVar14[1]) goto LAB_004b1760; + pbVar11 = pbVar11 + 2; + pbVar14 = pbVar14 + 2; } while (bVar7 != 0); uVar9 = 0; LAB_004b1765: @@ -112411,25 +112464,25 @@ LAB_004b1874: } } else { - pbVar12 = pbVar3; + pbVar11 = pbVar3; if (0xf < *(uint *)(pbVar3 + 0x14)) { - pbVar12 = *(byte **)pbVar3; + pbVar11 = *(byte **)pbVar3; } - pcVar16 = "Attack4Start"; + pcVar15 = "Attack4Start"; do { - bVar7 = *pbVar12; - bVar19 = bVar7 < (byte)*pcVar16; - if (bVar7 != *pcVar16) { + bVar7 = *pbVar11; + bVar18 = bVar7 < (byte)*pcVar15; + if (bVar7 != *pcVar15) { LAB_004b1856: - uVar9 = -(uint)bVar19 | 1; + uVar9 = -(uint)bVar18 | 1; goto LAB_004b185b; } if (bVar7 == 0) break; - bVar7 = pbVar12[1]; - bVar19 = bVar7 < (byte)pcVar16[1]; - if (bVar7 != pcVar16[1]) goto LAB_004b1856; - pbVar12 = pbVar12 + 2; - pcVar16 = pcVar16 + 2; + bVar7 = pbVar11[1]; + bVar18 = bVar7 < (byte)pcVar15[1]; + if (bVar7 != pcVar15[1]) goto LAB_004b1856; + pbVar11 = pbVar11 + 2; + pcVar15 = pcVar15 + 2; } while (bVar7 != 0); uVar9 = 0; LAB_004b185b: @@ -112447,16 +112500,16 @@ LAB_004b185b: switchD_004b14c5_default: if (local_34 != (WeightedOutcomePicker)0x0) { uVar9 = (int)local_2c - (int)local_34 & 0xfffffff8; - WVar18 = local_34; + WVar17 = local_34; if (0xfff < uVar9) { - WVar18 = *(WeightedOutcomePicker *)((int)local_34 + -4); + WVar17 = *(WeightedOutcomePicker *)((int)local_34 + -4); uVar9 = uVar9 + 0x23; - if (0x1f < ((int)local_34 - (int)WVar18) - 4U) { + if (0x1f < ((int)local_34 - (int)WVar17) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(WVar18,uVar9); + operator_delete(WVar17,uVar9); } ExceptionList = local_1c; return; @@ -113484,11 +113537,14 @@ code_r0x004b21f5: } -//@@ 004b3610 FUN_004b3610 +//@@ 004b3610 NpcHelper::gideon_update_death /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? Entity_NPC::Update calls it (via thunk 004b3940) for type 0x38b (907 ENTITY_GIDEON): + "Death" anim, "Sound" event -> SoundEffects::Play, Game::ShakeScreen(0xe), boss jingle + Music::PlayJingle(0x55), then FUN_004b0fe0 spawns the stairs */ -void FUN_004b3610(void) +void NpcHelper::gideon_update_death(void) { void *pvVar1; @@ -113605,7 +113661,7 @@ void FUN_004b3610(void) *(undefined4 *)((int)pvVar1 + uVar7 * 4 + 0x76c) = 900; } Music::PlayJingle((Music *)&g_manager->_musicManager,0x55,iVar6,bVar4); - FUN_004b0fe0(); + gideon_spawn_stairs(); } return; } @@ -113762,11 +113818,14 @@ undefined4 * std::vector::_Emplace_reallocate(undefined4 *param_1,undefin } -//@@ 004b3af0 FUN_004b3af0 +//@@ 004b3af0 NpcHelper::heretic_spawn_afterimage /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: only caller NpcAI::ENTITY_HERETIC (2 sites in the dash states): Game::Spawn(905, variant 1/2, + this pos/vel, spawner this), copies flags|0x11, color, current animation/frame and layer 0 state, + state 0xd, no collision; notes/entities/pass6_h4.md lists the afterimages as unported */ -int * FUN_004b3af0(void) +int * NpcHelper::heretic_spawn_afterimage(void) { int iVar1; @@ -113778,19 +113837,19 @@ int * FUN_004b3af0(void) LayerState *pLVar7; LayerState *pLVar8; int in_ECX; - byte ****ppppbVar9; - byte ****ppppbVar10; + byte *****pppppbVar9; + byte *****pppppbVar10; bool bVar11; undefined4 local_38; - byte ****local_2c [4]; + byte *****local_2c [4]; undefined4 local_1c; uint local_18; uint local_14; void *local_10; undefined1 *puStack_c; - byte ***local_8; + byte ****local_8; - local_8 = (byte ***)0xffffffff; + local_8 = (byte ****)0xffffffff; puStack_c = &LAB_00af32ed; local_10 = ExceptionList; uVar3 = __security_cookie ^ (uint)(local_2c + 10); @@ -113810,71 +113869,71 @@ int * FUN_004b3af0(void) if (*(int *)(in_ECX + 0x7c) == 0) { local_18 = 0xf; local_1c = 0; - local_2c[0] = (byte ****)0x0; + local_2c[0] = (byte *****)0x0; } else { std::string::string(*(int *)(in_ECX + 0x7c)); } - local_8 = (byte ***)0x0; - ppppbVar9 = (byte ****)local_2c; + local_8 = (byte ****)0x0; + pppppbVar9 = (byte *****)local_2c; if (0xf < local_18) { - ppppbVar9 = local_2c[0]; + pppppbVar9 = local_2c[0]; } pbVar5 = (byte *)piVar4[0x1f]; if (pbVar5 != (byte *)0x0) { if (0xf < *(uint *)(pbVar5 + 0x14)) { pbVar5 = *(byte **)pbVar5; } - ppppbVar10 = ppppbVar9; + pppppbVar10 = pppppbVar9; do { bVar2 = *pbVar5; - bVar11 = bVar2 < *(byte *)ppppbVar10; - if (bVar2 != *(byte *)ppppbVar10) { + bVar11 = bVar2 < *(byte *)pppppbVar10; + if (bVar2 != *(byte *)pppppbVar10) { LAB_004b3c27: uVar6 = -(uint)bVar11 | 1; goto LAB_004b3c2c; } if (bVar2 == 0) break; bVar2 = pbVar5[1]; - bVar11 = bVar2 < *(byte *)((int)ppppbVar10 + 1); - if (bVar2 != *(byte *)((int)ppppbVar10 + 1)) goto LAB_004b3c27; + bVar11 = bVar2 < *(byte *)((int)pppppbVar10 + 1); + if (bVar2 != *(byte *)((int)pppppbVar10 + 1)) goto LAB_004b3c27; pbVar5 = pbVar5 + 2; - ppppbVar10 = (byte ****)((int)ppppbVar10 + 2); + pppppbVar10 = (byte *****)((int)pppppbVar10 + 2); } while (bVar2 != 0); uVar6 = 0; LAB_004b3c2c: if ((uVar6 == 0) && ((*(char *)(piVar4[0x1f] + 0x34) == '\0' || ((char)piVar4[0x23] != '\0')))) goto LAB_004b3c68; } - bVar2 = ANM2::SetAnimation((ANM2 *)(piVar4 + 0x12),(byte *)ppppbVar9,1); + bVar2 = ANM2::SetAnimation((ANM2 *)(piVar4 + 0x12),(byte *)pppppbVar9,1); if (bVar2 != 0) { AnimationState::Rewind((AnimationState *)(piVar4 + 0x1e)); *(undefined1 *)(piVar4 + 0x23) = 1; } LAB_004b3c68: - local_8 = (byte ***)0xffffffff; + local_8 = (byte ****)0xffffffff; if (0xf < local_18) { uVar6 = local_18 + 1; - ppppbVar9 = local_2c[0]; + pppppbVar9 = local_2c[0]; if (0xfff < uVar6) { - ppppbVar9 = (byte ****)local_2c[0][-1]; + pppppbVar9 = (byte *****)local_2c[0][-1]; uVar6 = local_18 + 0x24; - if ((byte *)0x1f < (byte *)((int)local_2c[0] + (-4 - (int)ppppbVar9))) { + if ((byte *)0x1f < (byte *)((int)local_2c[0] + (-4 - (int)pppppbVar9))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(ppppbVar9,uVar6,uVar3); + operator_delete(pppppbVar9,uVar6,uVar3); } local_1c = 0; local_18 = 0xf; - local_2c[0] = (byte ****)((uint)local_2c[0] & 0xffffff00); + local_2c[0] = (byte *****)((uint)local_2c[0] & 0xffffff00); if (piVar4[0x1f] != 0) { AnimationState::SetFrameFloat((AnimationState *)(piVar4 + 0x1e)); } pLVar7 = ANM2::GetLayer((ANM2 *)(piVar4 + 0x12),(byte *)0x0); pLVar8 = ANM2::GetLayer((ANM2 *)(in_ECX + 0x48),(byte *)0x0); - *(undefined4 *)&pLVar7->field_0x54 = *(undefined4 *)&pLVar8->field_0x54; + (pLVar7->_color)._tint[3] = (pLVar8->_color)._tint[3]; piVar4[0x61] = 0; piVar4[0x62] = 0; piVar4[0x2d9] = 0xd; @@ -114071,12 +114130,12 @@ void NpcHelper::heretic_choose_attack(void) { int *piVar1; + RNG rng; uint uVar2; - int iVar3; - uint uVar4; - WeightedOutcomePicker WVar5; - undefined4 *puVar6; - float fVar7; + uint uVar3; + WeightedOutcomePicker WVar4; + undefined4 *puVar5; + float fVar6; undefined8 uStack_44; undefined4 uStack_3c; undefined4 *local_38; @@ -114100,141 +114159,145 @@ void NpcHelper::heretic_choose_attack(void) local_28 = (undefined4 *)0x0; local_14 = 0; local_38 = (undefined4 *)heretic_count_out_fires(local_24); - WVar5 = (WeightedOutcomePicker)0x0; - puVar6 = (undefined4 *)0x0; + WVar4 = (WeightedOutcomePicker)0x0; + puVar5 = (undefined4 *)0x0; if (*(char *)(local_34 + 0xba5) < '\x01') { uStack_44 = CONCAT44(0xe,(undefined4)uStack_44); uStack_3c = 10; std::vector<8byte>::_Emplace_reallocate(0,(int)&uStack_44 + 4); - WVar5 = local_30; - puVar6 = local_2c; + WVar4 = local_30; + puVar5 = local_2c; } if (*(char *)(local_34 + 0xba6) < '\x01') { uVar2 = 0; - uVar4 = (int)puVar6 - (int)WVar5 >> 3; - if (uVar4 != 0) { + uVar3 = (int)puVar5 - (int)WVar4 >> 3; + if (uVar3 != 0) { do { - if (*(int *)((int)WVar5 + uVar2 * 8) == 9) { - piVar1 = (int *)((int)WVar5 + 4 + uVar2 * 8); + if (*(int *)((int)WVar4 + uVar2 * 8) == 9) { + piVar1 = (int *)((int)WVar4 + 4 + uVar2 * 8); *piVar1 = *piVar1 + 10; if (*piVar1 < 0) { - *(undefined4 *)((int)WVar5 + 4 + uVar2 * 8) = 0; + *(undefined4 *)((int)WVar4 + 4 + uVar2 * 8) = 0; } goto LAB_004b41d2; } uVar2 = uVar2 + 1; - } while (uVar2 < uVar4); + } while (uVar2 < uVar3); } uStack_44 = CONCAT44(9,(undefined4)uStack_44); uStack_3c = 10; - if (puVar6 == local_28) { - std::vector<8byte>::_Emplace_reallocate(puVar6,(int)&uStack_44 + 4); - WVar5 = local_30; - puVar6 = local_2c; + if (puVar5 == local_28) { + std::vector<8byte>::_Emplace_reallocate(puVar5,(int)&uStack_44 + 4); + WVar4 = local_30; + puVar5 = local_2c; } else { - *puVar6 = 9; - puVar6[1] = 10; - puVar6 = puVar6 + 2; - local_2c = puVar6; + *puVar5 = 9; + puVar5[1] = 10; + puVar5 = puVar5 + 2; + local_2c = puVar5; } } LAB_004b41d2: if (*(char *)(local_34 + 0xba7) < '\x01') { if ((undefined4 *)0x2 < local_38) { uVar2 = 0; - uVar4 = (int)puVar6 - (int)WVar5 >> 3; - if (uVar4 != 0) { + uVar3 = (int)puVar5 - (int)WVar4 >> 3; + if (uVar3 != 0) { do { - if (*(int *)((int)WVar5 + uVar2 * 8) == 7) { - piVar1 = (int *)((int)WVar5 + 4 + uVar2 * 8); + if (*(int *)((int)WVar4 + uVar2 * 8) == 7) { + piVar1 = (int *)((int)WVar4 + 4 + uVar2 * 8); *piVar1 = *piVar1 + 10; if (*piVar1 < 0) { - *(undefined4 *)((int)WVar5 + 4 + uVar2 * 8) = 0; + *(undefined4 *)((int)WVar4 + 4 + uVar2 * 8) = 0; } goto LAB_004b4249; } uVar2 = uVar2 + 1; - } while (uVar2 < uVar4); + } while (uVar2 < uVar3); } uStack_44 = CONCAT44(7,(undefined4)uStack_44); uStack_3c = 10; - if (puVar6 == local_28) { - std::vector<8byte>::_Emplace_reallocate(puVar6,(int)&uStack_44 + 4); - WVar5 = local_30; - puVar6 = local_2c; + if (puVar5 == local_28) { + std::vector<8byte>::_Emplace_reallocate(puVar5,(int)&uStack_44 + 4); + WVar4 = local_30; + puVar5 = local_2c; } else { - *puVar6 = 7; - puVar6[1] = 10; - local_2c = puVar6 + 2; - puVar6 = local_2c; + *puVar5 = 7; + puVar5[1] = 10; + local_2c = puVar5 + 2; + puVar5 = local_2c; } } } LAB_004b4249: uVar2 = 0; - uVar4 = (int)puVar6 - (int)WVar5 >> 3; - if (uVar4 != 0) { + uVar3 = (int)puVar5 - (int)WVar4 >> 3; + if (uVar3 != 0) { do { - if (*(int *)((int)WVar5 + uVar2 * 8) == 3) { - piVar1 = (int *)((int)WVar5 + 4 + uVar2 * 8); + if (*(int *)((int)WVar4 + uVar2 * 8) == 3) { + piVar1 = (int *)((int)WVar4 + 4 + uVar2 * 8); *piVar1 = *piVar1 + 1; if (*piVar1 < 0) { - *(undefined4 *)((int)WVar5 + 4 + uVar2 * 8) = 0; + *(undefined4 *)((int)WVar4 + 4 + uVar2 * 8) = 0; } goto LAB_004b42a6; } uVar2 = uVar2 + 1; - } while (uVar2 < uVar4); + } while (uVar2 < uVar3); } uStack_44 = CONCAT44(3,(undefined4)uStack_44); uStack_3c = 1; - if (puVar6 == local_28) { - std::vector<8byte>::_Emplace_reallocate(puVar6,(int)&uStack_44 + 4); + if (puVar5 == local_28) { + std::vector<8byte>::_Emplace_reallocate(puVar5,(int)&uStack_44 + 4); } else { - *puVar6 = 3; - puVar6[1] = 1; - local_2c = puVar6 + 2; + *puVar5 = 3; + puVar5[1] = 1; + local_2c = puVar5 + 2; } LAB_004b42a6: uVar2 = Random(); uStack_44 = 0x900000005; uStack_3c = 7; - iVar3 = WeightedOutcomePicker::PickOutcome(&local_30,uVar2 | 1,5,9,7); - if (iVar3 == 3) { + rng._shift1 = 5; + rng._seed = uVar2 | 1; + rng._shift2 = 9; + rng._shift3 = 7; + uVar2 = WeightedOutcomePicker::PickOutcome(&local_30,rng); + if (uVar2 == 3) { *(undefined2 *)(local_34 + 0x412) = 0; } else { *(undefined2 *)(local_34 + 0x410) = 0xffff; - *(int *)(local_34 + 0xb64) = iVar3; - if (iVar3 == 7) { + *(uint *)(local_34 + 0xb64) = uVar2; + if (uVar2 == 7) { Entity_NPC::ClearDequeRefs(); if (*(int *)(local_34 + 0x3c0) != 0) { local_38 = (undefined4 *)(local_34 + 0x3c0); std::multiset::erase(&local_38); } - fVar7 = *(float *)(local_34 + 900) * 0.5; + fVar6 = *(float *)(local_34 + 900) * 0.5; *(undefined4 *)(local_34 + 0x3c0) = 0; *(char *)(local_34 + 0xba0) = - (*(float *)(local_34 + 0x380) <= fVar7 && fVar7 != *(float *)(local_34 + 0x380)) + '\x05' + (*(float *)(local_34 + 0x380) <= fVar6 && fVar6 != *(float *)(local_34 + 0x380)) + '\x05' ; } *(undefined1 *)(local_34 + 0xba1) = 0; } if (local_30 != (WeightedOutcomePicker)0x0) { uVar2 = (int)local_28 - (int)local_30 & 0xfffffff8; - WVar5 = local_30; + WVar4 = local_30; if (0xfff < uVar2) { - WVar5 = *(WeightedOutcomePicker *)((int)local_30 + -4); + WVar4 = *(WeightedOutcomePicker *)((int)local_30 + -4); uVar2 = uVar2 + 0x23; - if (0x1f < ((int)local_30 - (int)WVar5) - 4U) { + if (0x1f < ((int)local_30 - (int)WVar4) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(WVar5,uVar2); + operator_delete(WVar4,uVar2); } ExceptionList = local_1c; return; @@ -114418,7 +114481,7 @@ LAB_004b44fe: pAVar26 = &npc->_sprite; pLVar15 = ANM2::GetLayer(pAVar26,(byte *)0x0); fVar37 = 0.0; - local_138 = *(undefined1 **)&pLVar15->field_0x54; + local_138 = (undefined1 *)(pLVar15->_color)._tint[3]; fVar38 = npc->_friction * 0.8; local_148 = (EntityPtr)((int)npc->_updateTime - (int)npc->_prevUpdateTime); npc->_friction = fVar38; @@ -115022,7 +115085,7 @@ LAB_004b5919: local_138 = puVar32; } if (0x1e < sVar21) { - FUN_004b3af0(); + NpcHelper::heretic_spawn_afterimage(); *(char *)((int)&npc->_projectileCooldown + 2) = '\x01' - *(char *)((int)&npc->_projectileCooldown + 2); FUN_004b3d50(); @@ -115063,7 +115126,7 @@ LAB_004b5919: (npc->_velocity).y = fVar37 * 0.0 + (npc->_velocity).y; if (10 < (short)iVar14) { if (*(char *)((int)&npc->_projectileCooldown + 1) < '\x04') { - FUN_004b3af0(); + NpcHelper::heretic_spawn_afterimage(); *(char *)((int)&npc->_projectileCooldown + 2) = '\x01' - *(char *)((int)&npc->_projectileCooldown + 2); FUN_004b3d50(); @@ -115125,13 +115188,13 @@ LAB_004b5919: } *(short *)&npc->_stateFrame = (short)npc->_stateFrame + local_148._0_2_; pLVar15 = ANM2::GetLayer(pAVar26,(byte *)0x0); - *(undefined1 **)&pLVar15->field_0x54 = local_138; + (pLVar15->_color)._tint[3] = (float)local_138; pbVar7 = (byte *)(npc->_sprite)._shadowLayerIndex; if ((int)pbVar7 < 0) { return; } pLVar15 = ANM2::GetLayer(pAVar26,pbVar7); - *(undefined1 **)&pLVar15->field_0x54 = local_138; + (pLVar15->_color)._tint[3] = (float)local_138; return; case 0xe: ANM2::Play(pAVar26,s_Attack2,0); @@ -115410,11 +115473,11 @@ LAB_004b67fd: } } pLVar15 = ANM2::GetLayer(pAVar26,(byte *)0x0); - *(undefined1 **)&pLVar15->field_0x54 = local_138; + (pLVar15->_color)._tint[3] = (float)local_138; pbVar7 = (byte *)(npc->_sprite)._shadowLayerIndex; if (-1 < (int)pbVar7) { pLVar15 = ANM2::GetLayer(pAVar26,pbVar7); - *(undefined1 **)&pLVar15->field_0x54 = local_138; + (pLVar15->_color)._tint[3] = (float)local_138; } fVar37 = (npc->_targetPosition).x; if ((fVar37 != g_vectorZero.x) || ((npc->_targetPosition).y != g_vectorZero.y)) { @@ -116493,7 +116556,7 @@ void NpcHelper::hornfel_render_minecart(int param_1,Vector *param_2) pLVar3 = ANM2::GetLayer(this,&DAT_00000004); pLVar3->_visible = 1; pLVar3 = ANM2::GetLayer(this,&DAT_00000004); - *(undefined4 *)&pLVar3->field_0x54 = *(undefined4 *)(param_1 + 0xb4); + (pLVar3->_color)._tint[3] = *(float *)(param_1 + 0xb4); AnimationLayer::RenderFrame(&local_8c,local_7c,0,&g_vectorZero,&g_vectorZero,this); pLVar3 = ANM2::GetLayer(this,&DAT_00000004); pLVar3->_visible = 0; @@ -116563,10 +116626,11 @@ int NpcHelper::hornfel_pick_spawn(void) { int *piVar1; + RNG rng; uint uVar2; uint uVar3; - int iVar4; - undefined4 uVar5; + undefined4 uVar4; + int iVar5; int in_ECX; WeightedOutcomePicker WVar6; uint uVar7; @@ -116576,7 +116640,7 @@ int NpcHelper::hornfel_pick_spawn(void) int *local_44; uint local_40; undefined8 uStack_3c; - int iStack_34; + uint uStack_34; WeightedOutcomePicker local_30; undefined4 *local_2c; undefined4 *local_28; @@ -116596,7 +116660,7 @@ int NpcHelper::hornfel_pick_spawn(void) local_28 = (undefined4 *)0x0; local_14 = 0; uStack_3c = (ulonglong)(uint)uStack_3c; - iStack_34 = 6; + uStack_34 = 6; local_24 = uVar2; std::vector<8byte>::_Emplace_reallocate(0,(int)&uStack_3c + 4); uVar3 = 0; @@ -116615,7 +116679,7 @@ int NpcHelper::hornfel_pick_spawn(void) } while (uVar3 < uVar7); } uStack_3c = CONCAT44(8,(uint)uStack_3c); - iStack_34 = 3; + uStack_34 = 3; if (local_2c == local_28) { std::vector<8byte>::_Emplace_reallocate(local_2c,(int)&uStack_3c + 4); } @@ -116641,7 +116705,7 @@ LAB_004b7fc7: } while (uVar3 < uVar7); } uStack_3c = CONCAT44(0x10,(uint)uStack_3c); - iStack_34 = 1; + uStack_34 = 1; if (local_2c == local_28) { std::vector<8byte>::_Emplace_reallocate(local_2c,(int)&uStack_3c + 4); } @@ -116654,32 +116718,36 @@ LAB_004b8025: local_40 = Random(uVar2); local_40 = local_40 | 1; uStack_3c = 0x900000005; - iStack_34 = 7; - iVar4 = WeightedOutcomePicker::PickOutcome(&local_30,local_40,5,9,7); + uStack_34 = 7; + rng._shift1 = 5; + rng._seed = local_40; + rng._shift2 = 9; + rng._shift3 = 7; + uVar2 = WeightedOutcomePicker::PickOutcome(&local_30,rng); local_14 = 0xffffffff; - iStack_34 = iVar4; + uStack_34 = uVar2; if (local_30 != (WeightedOutcomePicker)0x0) { - uVar2 = (int)local_28 - (int)local_30 & 0xfffffff8; + uVar3 = (int)local_28 - (int)local_30 & 0xfffffff8; WVar6 = local_30; - if (0xfff < uVar2) { + if (0xfff < uVar3) { WVar6 = *(WeightedOutcomePicker *)((int)local_30 + -4); - uVar2 = uVar2 + 0x23; + uVar3 = uVar3 + 0x23; if (0x1f < ((int)local_30 - (int)WVar6) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(WVar6,uVar2); + operator_delete(WVar6,uVar3); } - uVar5 = Random(); - iVar4 = Game::Spawn(4,iVar4,in_ECX + 0x33c,&g_vectorZero,in_ECX,0,uVar5); - piVar1 = (int *)(iVar4 + 0x3bc); - *(undefined1 *)(iVar4 + 0x171) = 0; - *(undefined4 *)(iVar4 + 0x188) = 0; - *(undefined4 *)(iVar4 + 0x184) = 0; - *(undefined4 *)(iVar4 + 0x410) = 0x23; - *(undefined4 *)(iVar4 + 0x414) = 0x23; - if (*(int *)(iVar4 + 0x3bc) != 0) { + uVar4 = Random(); + iVar5 = Game::Spawn(4,uVar2,in_ECX + 0x33c,&g_vectorZero,in_ECX,0,uVar4); + piVar1 = (int *)(iVar5 + 0x3bc); + *(undefined1 *)(iVar5 + 0x171) = 0; + *(undefined4 *)(iVar5 + 0x188) = 0; + *(undefined4 *)(iVar5 + 0x184) = 0; + *(undefined4 *)(iVar5 + 0x410) = 0x23; + *(undefined4 *)(iVar5 + 0x414) = 0x23; + if (*(int *)(iVar5 + 0x3bc) != 0) { local_44 = piVar1; std::multiset::erase(&local_44); } @@ -116687,29 +116755,29 @@ LAB_004b8025: if (in_ECX != 0) { std::multiset::insert(piVar1); } - if (iStack_34 == 8) { - uVar5 = DAT_00c34c00; + if (uStack_34 == 8) { + uVar4 = DAT_00c34c00; uVar8 = DAT_00c34c04; uVar9 = DAT_00c34c08; uVar10 = DAT_00c34c0c; } else { - if (iStack_34 != 0x10) goto LAB_004b814e; - uVar5 = DAT_00c34b90; + if (uStack_34 != 0x10) goto LAB_004b814e; + uVar4 = DAT_00c34b90; uVar8 = DAT_00c34b94; uVar9 = DAT_00c34b98; uVar10 = DAT_00c34b9c; } - *(undefined1 *)(iVar4 + 0x463) = 1; - *(undefined4 *)(iVar4 + 0x438) = uVar5; - *(undefined4 *)(iVar4 + 0x43c) = uVar8; - *(undefined4 *)(iVar4 + 0x440) = uVar9; - *(undefined4 *)(iVar4 + 0x444) = uVar10; + *(undefined1 *)(iVar5 + 0x463) = 1; + *(undefined4 *)(iVar5 + 0x438) = uVar4; + *(undefined4 *)(iVar5 + 0x43c) = uVar8; + *(undefined4 *)(iVar5 + 0x440) = uVar9; + *(undefined4 *)(iVar5 + 0x444) = uVar10; LAB_004b814e: - *(uint *)(iVar4 + 0x168) = *(uint *)(iVar4 + 0x168) | 0x20; - *(undefined4 *)(iVar4 + 0x16c) = *(undefined4 *)(iVar4 + 0x16c); + *(uint *)(iVar5 + 0x168) = *(uint *)(iVar5 + 0x168) | 0x20; + *(undefined4 *)(iVar5 + 0x16c) = *(undefined4 *)(iVar5 + 0x16c); ExceptionList = local_1c; - return iVar4; + return iVar5; } @@ -117187,9 +117255,10 @@ void NpcHelper::hornfel_attack(void) undefined4 *puVar1; float *pfVar2; int *piVar3; - uint uVar4; + int iVar4; + RNG rng; uint uVar5; - int iVar6; + uint uVar6; Entity *pEVar7; Entity_NPC *in_ECX; undefined4 extraout_ECX; @@ -117217,7 +117286,7 @@ void NpcHelper::hornfel_attack(void) puStack_20 = (undefined1 *)((int)register0x00000010 + -4); puStack_18 = &LAB_00af344d; local_1c = ExceptionList; - uVar4 = __security_cookie ^ (int)register0x00000010 - 0x10U; + uVar5 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; local_38 = (WeightedOutcomePicker)0x0; local_34 = (undefined4 *)0x0; @@ -117225,22 +117294,22 @@ void NpcHelper::hornfel_attack(void) local_14 = 0; uStack_48 = (ulonglong)(uint)uStack_48; fStack_40 = 4.2039e-45; - local_24 = uVar4; + local_24 = uVar5; std::vector<8byte>::_Emplace_reallocate(0,(int)&uStack_48 + 4); - uVar5 = 0; + uVar6 = 0; uVar10 = (int)local_34 - (int)local_38 >> 3; if (uVar10 != 0) { do { - if (*(int *)((int)local_38 + uVar5 * 8) == 1) { - piVar3 = (int *)((int)local_38 + 4 + uVar5 * 8); + if (*(int *)((int)local_38 + uVar6 * 8) == 1) { + piVar3 = (int *)((int)local_38 + 4 + uVar6 * 8); *piVar3 = *piVar3 + 1; if (*piVar3 < 0) { - *(undefined4 *)((int)local_38 + 4 + uVar5 * 8) = 0; + *(undefined4 *)((int)local_38 + 4 + uVar6 * 8) = 0; } goto LAB_004b8d87; } - uVar5 = uVar5 + 1; - } while (uVar5 < uVar10); + uVar6 = uVar6 + 1; + } while (uVar6 < uVar10); } uStack_48 = CONCAT44(1,(uint)uStack_48); fStack_40 = 1.4013e-45; @@ -117254,20 +117323,20 @@ void NpcHelper::hornfel_attack(void) } LAB_004b8d87: if ((char)in_ECX->_projectileCooldown == '\0') { - uVar5 = 0; + uVar6 = 0; uVar10 = (int)local_34 - (int)local_38 >> 3; if (uVar10 != 0) { do { - if (*(int *)((int)local_38 + uVar5 * 8) == 2) { - piVar3 = (int *)((int)local_38 + 4 + uVar5 * 8); + if (*(int *)((int)local_38 + uVar6 * 8) == 2) { + piVar3 = (int *)((int)local_38 + 4 + uVar6 * 8); *piVar3 = *piVar3 + 1; if (*piVar3 < 0) { - *(undefined4 *)((int)local_38 + 4 + uVar5 * 8) = 0; + *(undefined4 *)((int)local_38 + 4 + uVar6 * 8) = 0; } goto LAB_004b8df1; } - uVar5 = uVar5 + 1; - } while (uVar5 < uVar10); + uVar6 = uVar6 + 1; + } while (uVar6 < uVar10); } uStack_48 = CONCAT44(2,(uint)uStack_48); fStack_40 = 1.4013e-45; @@ -117281,10 +117350,14 @@ LAB_004b8d87: } } LAB_004b8df1: - uVar4 = Random(uVar4); + uVar5 = Random(uVar5); uStack_48 = 0x900000005; fStack_40 = 9.80909e-45; - iVar6 = WeightedOutcomePicker::PickOutcome(&local_38,uVar4 | 1,5,9,7); + rng._shift1 = 5; + rng._seed = uVar5 | 1; + rng._shift2 = 9; + rng._shift3 = 7; + uVar5 = WeightedOutcomePicker::PickOutcome(&local_38,rng); pEVar7 = Entity_NPC::GetPlayerTarget(in_ECX); local_28 = (undefined4 *)((pEVar7->_pos).x - (in_ECX->_pos).x); local_3c = (pEVar7->_pos).y - (in_ECX->_pos).y; @@ -117295,14 +117368,14 @@ LAB_004b8df1: local_3c = local_3c * (1.0 / fVar11); } *(undefined1 *)((int)&in_ECX->_projectileDelay + 3) = 1; - if (iVar6 == 0) { + if (uVar5 == 0) { fStack_40 = (float)hornfel_pick_spawn(extraout_ECX); - uVar4 = (in_ECX->_entityDeque)._offset; - uVar5 = uVar4 & 3; - iVar6 = *(int *)((int)(in_ECX->_entityDeque)._map + - ((in_ECX->_entityDeque)._mapSize - 1 & uVar4 >> 2) * 4); - pfVar2 = (float *)(iVar6 + uVar5 * 4); - if (*(int *)(iVar6 + uVar5 * 4) != 0) { + uVar5 = (in_ECX->_entityDeque)._offset; + uVar6 = uVar5 & 3; + iVar4 = *(int *)((int)(in_ECX->_entityDeque)._map + + ((in_ECX->_entityDeque)._mapSize - 1 & uVar5 >> 2) * 4); + pfVar2 = (float *)(iVar4 + uVar6 * 4); + if (*(int *)(iVar4 + uVar6 * 4) != 0) { local_2c = pfVar2; std::multiset::erase(&local_2c); } @@ -117330,8 +117403,8 @@ LAB_004b9068: } } else { - if (iVar6 != 1) { - if (iVar6 == 2) { + if (uVar5 != 1) { + if (uVar5 == 2) { ANM2::Play(&in_ECX->_sprite,s_Attack2,0); in_ECX->_state = 9; *(undefined1 *)&in_ECX->_projectileCooldown = 0x96; @@ -117339,13 +117412,13 @@ LAB_004b9068: goto LAB_004b9077; } local_2c = (float *)hornfel_pick_spawn(extraout_ECX); - uVar4 = (in_ECX->_entityDeque)._offset; - uVar5 = uVar4 & 3; - iVar6 = *(int *)((int)(in_ECX->_entityDeque)._map + - ((in_ECX->_entityDeque)._mapSize - 1 & uVar4 >> 2) * 4); - puVar1 = (undefined4 *)(iVar6 + uVar5 * 4); + uVar5 = (in_ECX->_entityDeque)._offset; + uVar6 = uVar5 & 3; + iVar4 = *(int *)((int)(in_ECX->_entityDeque)._map + + ((in_ECX->_entityDeque)._mapSize - 1 & uVar5 >> 2) * 4); + puVar1 = (undefined4 *)(iVar4 + uVar6 * 4); uVar8 = 0; - if (*(int *)(iVar6 + uVar5 * 4) != 0) { + if (*(int *)(iVar4 + uVar6 * 4) != 0) { local_28 = puVar1; std::multiset::erase(&local_28); uVar8 = extraout_ECX_00; @@ -117356,12 +117429,12 @@ LAB_004b9068: uVar8 = extraout_ECX_01; } local_28 = (undefined4 *)hornfel_pick_spawn(uVar8); - uVar4 = (in_ECX->_entityDeque)._offset + 1; - uVar5 = uVar4 & 3; - iVar6 = *(int *)((int)(in_ECX->_entityDeque)._map + - ((in_ECX->_entityDeque)._mapSize - 1 & uVar4 >> 2) * 4); - pfVar2 = (float *)(iVar6 + uVar5 * 4); - if (*(int *)(iVar6 + uVar5 * 4) != 0) { + uVar5 = (in_ECX->_entityDeque)._offset + 1; + uVar6 = uVar5 & 3; + iVar4 = *(int *)((int)(in_ECX->_entityDeque)._map + + ((in_ECX->_entityDeque)._mapSize - 1 & uVar5 >> 2) * 4); + pfVar2 = (float *)(iVar4 + uVar6 * 4); + if (*(int *)(iVar4 + uVar6 * 4) != 0) { local_2c = pfVar2; std::multiset::erase(&local_2c); } @@ -117380,17 +117453,17 @@ LAB_004b9068: LAB_004b9077: *(undefined1 *)((int)&in_ECX->_projectileDelay + 2) = 0; if (local_38 != (WeightedOutcomePicker)0x0) { - uVar4 = (int)local_30 - (int)local_38 & 0xfffffff8; + uVar5 = (int)local_30 - (int)local_38 & 0xfffffff8; WVar9 = local_38; - if (0xfff < uVar4) { + if (0xfff < uVar5) { WVar9 = *(WeightedOutcomePicker *)((int)local_38 + -4); - uVar4 = uVar4 + 0x23; + uVar5 = uVar5 + 0x23; if (0x1f < ((int)local_38 - (int)WVar9) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(WVar9,uVar4); + operator_delete(WVar9,uVar5); } ExceptionList = local_1c; return; @@ -119310,18 +119383,19 @@ undefined4 FUN_004bc660(void) /* ZHL [lua] Lua binding EntityRef:IsCharmed */ -byte EntityRef::IsCharmed(void) +byte __thiscall EntityRef::IsCharmed(EntityRef *this) { - int in_ECX; - - return *(byte *)(in_ECX + 0x20) & 1; + return (byte)this->_flags & 1; } -//@@ 004bc680 FUN_004bc680 +//@@ 004bc680 NpcHelper::horny_boys_pick_position -int FUN_004bc680(void) +/* DB: ? zeroes ECX+0x334 target, loops Room::GetRandomPosition(20) until the grid cell is valid and + far enough from Game::GetNearestPlayer; two calls in NpcAI::ENTITY_HORNY_BOYS */ + +int NpcHelper::horny_boys_pick_position(void) { void *pvVar1; @@ -119540,16 +119614,20 @@ int FUN_004bcb30(undefined4 param_1,undefined4 param_2) } -//@@ 004bcc70 FUN_004bcc70 +//@@ 004bcc70 NpcHelper::horny_boys_spawn_bomb /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: called twice by NpcAI::ENTITY_HORNY_BOYS (0x4bd4c9, 0x4bdc52) with npc in ECX; + WeightedOutcomePicker over bomb variants 6/8/16, + Game::Spawn(4,variant,npc+0x33c,...,spawner=npc), sets bomb spawner multiset ref */ -int * FUN_004bcc70(int param_1) +int * NpcHelper::horny_boys_spawn_bomb(int param_1) { int *piVar1; - undefined1 *puVar2; - int iVar3; + int iVar2; + RNG rng; + undefined1 *puVar3; undefined4 uVar4; int *piVar5; int in_ECX; @@ -119580,16 +119658,16 @@ int * FUN_004bcc70(int param_1) uVar6 = param_1 + *(int *)(in_ECX + 0xbfc); uVar8 = uVar6 >> 2; uVar6 = uVar6 & 3; - puVar2 = (undefined1 *)((int)register0x00000010 + -4); + puVar3 = (undefined1 *)((int)register0x00000010 + -4); if (*(int *)(*(int *)(*(int *)(in_ECX + 0xbf4) + (*(int *)(in_ECX + 0xbf8) - 1U & uVar8) * 4) + uVar6 * 4) != 0) { piStack_34 = *(int **)(in_ECX + 0xbfc); (**(code **)(**(int **)(*(int *)(*(int *)(in_ECX + 0xbf4) + (*(int *)(in_ECX + 0xbf8) - 1U & uVar8) * 4) + uVar6 * 4) + 0x28 ))(local_24); - puVar2 = puStack_20; + puVar3 = puStack_20; } - puStack_20 = puVar2; + puStack_20 = puVar3; local_30 = (WeightedOutcomePicker)0x0; local_2c = (undefined4 *)0x0; local_28 = (undefined4 *)0x0; @@ -119652,14 +119730,18 @@ LAB_004bce05: uVar6 = Random(); uStack_3c = 0x900000005; piStack_34 = (int *)&DAT_00000007; - iVar3 = WeightedOutcomePicker::PickOutcome(&local_30,uVar6 | 1,5,9,7); - if (iVar3 == 8) { + rng._shift1 = 5; + rng._seed = uVar6 | 1; + rng._shift2 = 9; + rng._shift3 = 7; + uVar6 = WeightedOutcomePicker::PickOutcome(&local_30,rng); + if (uVar6 == 8) { local_50 = DAT_00c34c00; iStack_4c = DAT_00c34c04; iStack_48 = DAT_00c34c08; iStack_44 = DAT_00c34c0c; } - else if (iVar3 == 0x10) { + else if (uVar6 == 0x10) { local_50 = DAT_00c34b90; iStack_4c = DAT_00c34b94; iStack_48 = DAT_00c34b98; @@ -119672,7 +119754,7 @@ LAB_004bce05: iStack_44 = 0; } uVar4 = Random(); - piVar5 = (int *)Game::Spawn(4,iVar3,in_ECX + 0x33c,&g_vectorZero,in_ECX,0,uVar4); + piVar5 = (int *)Game::Spawn(4,uVar6,in_ECX + 0x33c,&g_vectorZero,in_ECX,0,uVar4); *(undefined1 *)((int)piVar5 + 0x171) = 0; piVar5[0x62] = 0; piVar5[0x61] = 0; @@ -119696,10 +119778,10 @@ LAB_004bce05: (**(code **)(*piVar5 + 0xc))(); piStack_34 = *(int **)(in_ECX + 0xbfc); uVar6 = param_1 + (int)piStack_34 & 3; - iVar3 = *(int *)(*(int *)(in_ECX + 0xbf4) + + iVar2 = *(int *)(*(int *)(in_ECX + 0xbf4) + ((uint)(param_1 + (int)piStack_34) >> 2 & *(int *)(in_ECX + 0xbf8) - 1U) * 4); - piVar1 = (int *)(iVar3 + uVar6 * 4); - if (*(int *)(iVar3 + uVar6 * 4) != 0) { + piVar1 = (int *)(iVar2 + uVar6 * 4); + if (*(int *)(iVar2 + uVar6 * 4) != 0) { piStack_34 = piVar1; std::multiset::erase(&piStack_34); } @@ -119723,9 +119805,13 @@ LAB_004bce05: } -//@@ 004bcfd0 FUN_004bcfd0 +//@@ 004bcfd0 NpcHelper::horny_boys_render -void FUN_004bcfd0(float *param_1) +/* DB: ? Entity_NPC::Render case 0x398 (920 ENTITY_HORNY_BOYS) calls it with the NPC in ECX; + parallax screen placement ((pos-60/140)*0.65 + (g_screenWidth-338)/2), renders layers 3..5 for + linked segment entities from the deque +0xbf4 via AnimationState::Render */ + +void NpcHelper::horny_boys_render(float *param_1) { float *pfVar1; @@ -119893,7 +119979,7 @@ void __fastcall NpcAI::ENTITY_HORNY_BOYS(Entity_NPC *npc) npc->_state = 10; ANM2::Play(&npc->_sprite,(byte *)"JuggleStart",0); npc->_stateFrame = 0; - FUN_004bcc70(0); + NpcHelper::horny_boys_spawn_bomb(0); npc->_i1 = 0; goto switchD_004bd47d_default; case 2: @@ -119935,7 +120021,8 @@ switchD_004bd47d_default: npc->_entityCollisionClass = 0; } if ((((npc->_sprite)._animState._animData == (void *)0x0) || - ((npc->_sprite)._animState._isPlaying == 0)) && (cVar5 = FUN_004bc680(), cVar5 != '\0')) { + ((npc->_sprite)._animState._isPlaying == 0)) && + (cVar5 = NpcHelper::horny_boys_pick_position(), cVar5 != '\0')) { (npc->_pos).x = (npc->_targetPosition).x; (npc->_pos).y = (npc->_targetPosition).y; ANM2::Play(&npc->_sprite,(byte *)"TeleportDown",0); @@ -120022,7 +120109,8 @@ switchD_004bd47d_default: (**(code **)(*piVar9 + 0xc))(); } if ((((npc->_sprite)._animState._animData == (void *)0x0) || - ((npc->_sprite)._animState._isPlaying == 0)) && (cVar5 = FUN_004bc680(), cVar5 != '\0')) { + ((npc->_sprite)._animState._isPlaying == 0)) && + (cVar5 = NpcHelper::horny_boys_pick_position(), cVar5 != '\0')) { (npc->_pos).x = (npc->_targetPosition).x; (npc->_pos).y = (npc->_targetPosition).y; ANM2::Play(&npc->_sprite,(byte *)"BombPoofBack",0); @@ -120058,7 +120146,7 @@ switchD_004bd47d_default: *(int *)(*(int *)((int)(npc->_entityDeque)._map + ((npc->_entityDeque)._mapSize - 1 & (uint)((int)local_100.y + iVar13) >> 2 ) * 4) + ((int)local_100.y + iVar13 & 3U) * 4) == 0)) { - FUN_004bcc70(iVar13); + NpcHelper::horny_boys_spawn_bomb(iVar13); } else if (3 < iVar13) { pEVar11 = Entity_NPC::GetPlayerTarget(npc); @@ -121301,6 +121389,8 @@ void __fastcall NpcAI::ENTITY_HUSH(Entity_NPC *npc) { byte bVar1; code *pcVar2; + RNG rng; + RNG rng_00; qword qVar3; Manager *pMVar4; Entity_NPC *this; @@ -121313,38 +121403,39 @@ void __fastcall NpcAI::ENTITY_HUSH(Entity_NPC *npc) uint uVar11; int iVar12; byte *pbVar13; - int *piVar14; - undefined4 *puVar15; - Entity_Player *pEVar16; - undefined4 uVar17; - float *pfVar18; - char *pcVar19; - int iVar20; - WeightedOutcomePicker WVar21; + ANM2 *pAVar14; + int *piVar15; + undefined4 *puVar16; + Entity_Player *pEVar17; + undefined4 uVar18; + float *pfVar19; + char *pcVar20; + int iVar21; + WeightedOutcomePicker WVar22; PlayerManager *this_00; - Game *pGVar22; - qword *pqVar23; - void *pvVar24; - uint *puVar25; - RNG RVar26; + Game *pGVar23; + qword *pqVar24; + void *pvVar25; + uint *puVar26; Vector *pVVar27; bool bVar28; float fVar29; float fVar30; ANM2 *pAVar31; - ANM2 *pAVar32; - undefined4 *puVar33; - undefined1 auVar34 [16]; + undefined4 *puVar32; + undefined1 auVar33 [16]; + float fVar34; float fVar35; float fVar36; - float fVar37; - Entity *pEVar38; - undefined1 auVar39 [12]; - Entity *pEVar40; - undefined8 uVar41; - double dVar42; - undefined4 uVar43; + Entity *pEVar37; + undefined1 auVar38 [12]; + Entity *pEVar39; + undefined8 uVar40; + double dVar41; + undefined4 uVar42; + TypeDescriptor *pTVar43; TypeDescriptor *pTVar44; + undefined4 uVar45; EntityRef local_2be0; EntityRef local_2bb8; float local_2b80; @@ -121366,8 +121457,11 @@ void __fastcall NpcAI::ENTITY_HUSH(Entity_NPC *npc) undefined1 local_2b04 [8]; undefined1 local_2afc [8]; undefined1 local_2af4 [8]; - undefined1 local_2aec [16]; - undefined1 local_2adc [24]; + undefined1 local_2aec [8]; + undefined1 local_2ae4 [8]; + undefined1 local_2adc [8]; + undefined1 local_2ad4 [8]; + undefined1 local_2acc [8]; char local_2ac4; uint local_2ab8; char local_2ab4 [12]; @@ -121549,8 +121643,6 @@ void __fastcall NpcAI::ENTITY_HUSH(Entity_NPC *npc) int local_50; int iStack_4c; RNG local_48; - undefined8 uStack_44; - uint uStack_3c; undefined8 local_38; undefined4 *local_30; uint local_24; @@ -121584,21 +121676,21 @@ void __fastcall NpcAI::ENTITY_HUSH(Entity_NPC *npc) if (0xf < *(uint *)(pbVar9 + 0x14)) { pbVar8 = *(byte **)pbVar9; } - pcVar19 = "Appear"; + pcVar20 = "Appear"; do { bVar5 = *pbVar8; - bVar28 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) { + bVar28 = bVar5 < (byte)*pcVar20; + if (bVar5 != *pcVar20) { LAB_004bfe10: uVar7 = -(uint)bVar28 | 1; goto LAB_004bfe15; } if (bVar5 == 0) break; bVar5 = pbVar8[1]; - bVar28 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_004bfe10; + bVar28 = bVar5 < (byte)pcVar20[1]; + if (bVar5 != pcVar20[1]) goto LAB_004bfe10; pbVar8 = pbVar8 + 2; - pcVar19 = pcVar19 + 2; + pcVar20 = pcVar20 + 2; } while (bVar5 != 0); uVar7 = 0; LAB_004bfe15: @@ -121644,21 +121736,21 @@ LAB_004bff2d: if (0xf < *(uint *)(pbVar9 + 0x14)) { pbVar9 = *(byte **)pbVar9; } - pcVar19 = "Appear"; + pcVar20 = "Appear"; do { bVar5 = *pbVar9; - bVar28 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) { + bVar28 = bVar5 < (byte)*pcVar20; + if (bVar5 != *pcVar20) { LAB_004bff15: uVar10 = -(uint)bVar28 | 1; goto LAB_004bff1a; } if (bVar5 == 0) break; bVar5 = pbVar9[1]; - bVar28 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_004bff15; + bVar28 = bVar5 < (byte)pcVar20[1]; + if (bVar5 != pcVar20[1]) goto LAB_004bff15; pbVar9 = pbVar9 + 2; - pcVar19 = pcVar19 + 2; + pcVar20 = pcVar20 + 2; } while (bVar5 != 0); uVar10 = 0; LAB_004bff1a: @@ -121670,9 +121762,9 @@ LAB_004bff1a: } uStack_20 = uVar10; local_28cc = *(ANM2 **)((int)g_game->_room + 0x11f8); - if (*(char *)((int)local_28cc + 0x8c) == '\0') { - ring_buffer_push(); - *(undefined1 *)((int)local_28cc + 0x8c) = 1; + if (*(char *)&local_28cc->_eventNames == '\0') { + ring_buffer_push(&npc->_pos); + *(undefined1 *)&local_28cc->_eventNames = 1; } uVar10 = uStack_20; if (((npc->_sprite)._animState._animData == (void *)0x0) || @@ -121746,26 +121838,31 @@ LAB_004c0016: local_28ec = (byte *)0x0; local_28cc = g_game->_room; cVar6 = local_28c5; - if (*(int *)((int)local_28cc + 0x1264) != 0) { + if (local_28cc[0x11]._filename._size != 0) { do { - pEVar38 = *(Entity **)(*(int *)((int)local_28cc + 0x125c) + (int)local_28ec * 4); - local_28c4 = pEVar38; - if ((cVar6 == '\0') || - (((pEVar38->_flags & 0x1000000000000000) != 0 && (pEVar38->_type != 0x12a)))) { - cVar6 = Entity::is_valid_boss_enemy(pEVar38); + pEVar37 = *(Entity **)(*(int *)(local_28cc[0x11]._filename._buf + 8) + (int)local_28ec * 4); + pbVar9 = local_28ec; + local_28c4 = pEVar37; + if (cVar6 == '\0') { +LAB_004c026e: + cVar6 = Entity::is_valid_boss_enemy(pEVar37,pbVar9); if (cVar6 != '\0') { - pcVar2 = *(code **)(*(int *)pEVar38 + 0x24); + pcVar2 = *(code **)(*(int *)pEVar37 + 0x24); EntityRef::constructor(&local_2bb8,(Entity *)npc); - (*pcVar2)(); - pEVar38 = local_28c4; + (*pcVar2)(&local_2bb8); + pEVar37 = local_28c4; } cVar6 = local_28c5; - if (pEVar38->_type == 9) { - pEVar38->_dead = 1; + if (pEVar37->_type == 9) { + pEVar37->_dead = 1; } } + else { + pbVar9 = (byte *)(*(uint *)((int)&pEVar37->_flags + 4) & 0x10000000); + if ((pbVar9 != (byte *)0x0) && (pEVar37->_type != 0x12a)) goto LAB_004c026e; + } local_28ec = local_28ec + 1; - } while (local_28ec < *(byte **)((int)local_28cc + 0x1264)); + } while (local_28ec < (byte *)local_28cc[0x11]._filename._size); } } EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); @@ -121786,39 +121883,39 @@ LAB_004c0016: local_28cc = (ANM2 *)(fVar30 + 69.230774); EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); uVar7 = 0; - if (uStack_3c != 0) { + if (local_48._shift3 != 0) { do { - iVar12 = *(int *)((int)uStack_44 + uVar7 * 4); + iVar12 = *(int *)(local_48._shift1 + uVar7 * 4); fVar29 = 0.0; fVar30 = (npc->_pos).y; - fVar36 = *(float *)(iVar12 + 0x340); - if (fVar36 < fVar30) { - fVar37 = *(float *)(iVar12 + 0x33c) + *(float *)(iVar12 + 0x34c); - fVar35 = fVar36 + *(float *)(iVar12 + 0x350); - if (((((float)local_28e8 <= fVar37) && (fVar37 <= (float)local_2904)) && - ((float)local_28f4 <= fVar35)) && (fVar35 <= (float)local_28cc)) { - fVar29 = (fVar30 - fVar36) + 20.0; + fVar35 = *(float *)(iVar12 + 0x340); + if (fVar35 < fVar30) { + fVar36 = *(float *)(iVar12 + 0x33c) + *(float *)(iVar12 + 0x34c); + fVar34 = fVar35 + *(float *)(iVar12 + 0x350); + if (((((float)local_28e8 <= fVar36) && (fVar36 <= (float)local_2904)) && + ((float)local_28f4 <= fVar34)) && (fVar34 <= (float)local_28cc)) { + fVar29 = (fVar30 - fVar35) + 20.0; } } uVar7 = uVar7 + 1; *(float *)(iVar12 + 0x358) = fVar29; - } while (uVar7 < uStack_3c); + } while (uVar7 < (uint)local_48._shift3); } - if (local_48._0_1_ == '\0') { + if ((char)local_48._seed == '\0') { local_38._0_4_ = 0; local_38._4_4_ = 0; if (g_mainHeap == (void *)0x0) { - pqVar23 = &g_allocatedBytesNoHeap; + pqVar24 = &g_allocatedBytesNoHeap; } else { - pqVar23 = (qword *)((int)g_mainHeap + 0x30); + pqVar24 = (qword *)((int)g_mainHeap + 0x30); } - if ((int)uStack_44 != 0) { - uVar7 = *(uint *)((int)uStack_44 + -4); - qVar3 = *pqVar23; - *(uint *)pqVar23 = (uint)*pqVar23 - uVar7; - *(uint *)((int)pqVar23 + 4) = *(uint *)((int)pqVar23 + 4) - (uint)((uint)qVar3 < uVar7); - free((void *)((int)uStack_44 + -4)); + if (local_48._shift1 != 0) { + uVar7 = *(uint *)(local_48._shift1 + -4); + qVar3 = *pqVar24; + *(uint *)pqVar24 = (uint)*pqVar24 - uVar7; + *(uint *)((int)pqVar24 + 4) = *(uint *)((int)pqVar24 + 4) - (uint)((uint)qVar3 < uVar7); + free((void *)(local_48._shift1 + -4)); } local_14 = CONCAT31(local_14._1_3_,4); } @@ -121837,7 +121934,7 @@ LAB_004c0016: local_2a70 = g_vectorZero.y; local_2a6c = 0; local_2a68 = 0; - (**(code **)(**(int **)(iVar12 + uVar7 * 4) + 0x24))(); + (**(code **)(**(int **)(iVar12 + uVar7 * 4) + 0x24))(&local_2a8c); uVar7 = uVar7 + 1; } while (uVar7 < local_2954); npc = local_28f0; @@ -121857,21 +121954,21 @@ LAB_004c0016: if (0xf < *(uint *)(pbVar9 + 0x14)) { pbVar9 = *(byte **)pbVar9; } - pcVar19 = "BecomeConvex"; + pcVar20 = "BecomeConvex"; do { bVar5 = *pbVar9; - bVar28 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) { + bVar28 = bVar5 < (byte)*pcVar20; + if (bVar5 != *pcVar20) { LAB_004c0650: uVar7 = -(uint)bVar28 | 1; goto LAB_004c0655; } if (bVar5 == 0) break; bVar5 = pbVar9[1]; - bVar28 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_004c0650; + bVar28 = bVar5 < (byte)pcVar20[1]; + if (bVar5 != pcVar20[1]) goto LAB_004c0650; pbVar9 = pbVar9 + 2; - pcVar19 = pcVar19 + 2; + pcVar20 = pcVar20 + 2; } while (bVar5 != 0); uVar7 = 0; LAB_004c0655: @@ -121897,53 +121994,53 @@ LAB_004c0691: local_28ec = (byte *)0x0; if (0 < local_2968) { do { - pAVar32 = *(ANM2 **)(local_2970 + (int)local_28ec * 4); - local_28c4 = (Entity *)(*(float *)pAVar32[3]._filename._buf - (npc->_pos).x); - local_28e0 = (Entity *)(*(float *)((int)pAVar32[3]._filename._buf + 4) - (npc->_pos).y); + pAVar14 = *(ANM2 **)(local_2970 + (int)local_28ec * 4); + local_28c4 = (Entity *)(*(float *)pAVar14[3]._filename._buf - (npc->_pos).x); + local_28e0 = (Entity *)(*(float *)((int)pAVar14[3]._filename._buf + 4) - (npc->_pos).y); fVar30 = (float)local_28c4 * (float)local_28c4 + (float)local_28e0 * (float)local_28e0; - local_28cc = pAVar32; + local_28cc = pAVar14; sqrtf(); - pEVar40 = local_28e0; - pEVar38 = local_28c4; + pEVar39 = local_28e0; + pEVar37 = local_28c4; if (0.0 < fVar30) { - pEVar38 = (Entity *)((float)local_28c4 * (1.0 / fVar30)); - pEVar40 = (Entity *)((float)local_28e0 * (1.0 / fVar30)); + pEVar37 = (Entity *)((float)local_28c4 * (1.0 / fVar30)); + pEVar39 = (Entity *)((float)local_28e0 * (1.0 / fVar30)); } - uVar7 = (pAVar32->_animDefaultName)._size; + uVar7 = (pAVar14->_animDefaultName)._size; if (uVar7 == 0x12a) { - pcVar2 = *(code **)(*(int *)(pAVar32->_filename)._buf + 0x24); + pcVar2 = *(code **)(*(int *)(pAVar14->_filename)._buf + 0x24); EntityRef::constructor(&local_2be0,(Entity *)npc); - (*pcVar2)(); + (*pcVar2)(&local_2be0); cVar6 = Entity::HasEntityFlags(0,0x10000000); if (cVar6 == '\0') { fVar30 = *(float *)(*(int *)(local_2970 + (int)local_28ec * 4) + 900); local_2964 = fVar30 + fVar30 + npc->_health; - pfVar18 = &local_2964; + pfVar19 = &local_2964; if (npc->_maxHitPoints <= local_2964) { - pfVar18 = &npc->_maxHitPoints; + pfVar19 = &npc->_maxHitPoints; } - npc->_health = *pfVar18; + npc->_health = *pfVar19; } } else { if (uVar7 == 1) { - fVar30 = (float)pEVar38 * 20.0; - fVar36 = (float)pEVar40 * 20.0; + fVar30 = (float)pEVar37 * 20.0; + fVar35 = (float)pEVar39 * 20.0; } else { if (uVar7 != 0x129) goto LAB_004c08c8; - fVar30 = (float)pEVar38 * 3.0; - fVar36 = (float)pEVar40 * 3.0; + fVar30 = (float)pEVar37 * 3.0; + fVar35 = (float)pEVar39 * 3.0; } - pvVar24 = pAVar32[3]._animState._animation; - if ((float)pvVar24 != 0.0) { - fVar29 = pAVar32[3]._overlayAnimState._animFrame; - *(float *)((int)pAVar32[3]._animDefaultName._buf + 0xc) = - (fVar30 * fVar29) / (float)pvVar24 + - *(float *)((int)pAVar32[3]._animDefaultName._buf + 0xc); - pAVar32[3]._animDefaultName._size = - (uint)((fVar36 * fVar29) / (float)pvVar24 + - (float)pAVar32[3]._animDefaultName._size); + pvVar25 = pAVar14[3]._animState._animation; + if ((float)pvVar25 != 0.0) { + fVar29 = pAVar14[3]._overlayAnimState._animFrame; + *(float *)((int)pAVar14[3]._animDefaultName._buf + 0xc) = + (fVar30 * fVar29) / (float)pvVar25 + + *(float *)((int)pAVar14[3]._animDefaultName._buf + 0xc); + pAVar14[3]._animDefaultName._size = + (uint)((fVar35 * fVar29) / (float)pvVar25 + + (float)pAVar14[3]._animDefaultName._size); } } LAB_004c08c8: @@ -121962,20 +122059,20 @@ LAB_004c08c8: } } } - iVar12 = Game::GetNearestPlayer(); + iVar12 = Game::GetNearestPlayer(&npc->_pos); local_28c4 = (Entity *)npc->_speedMultiplier; fVar30 = (npc->_pos).x - *(float *)(iVar12 + 0x33c); - fVar36 = (npc->_pos).y - *(float *)(iVar12 + 0x340); - fVar30 = fVar30 * fVar30 + fVar36 * fVar36; + fVar35 = (npc->_pos).y - *(float *)(iVar12 + 0x340); + fVar30 = fVar30 * fVar30 + fVar35 * fVar35; sqrtf(); if (fVar30 <= 400.0) { - auVar39 = ZEXT812(0x3f7d70a4); + auVar38 = ZEXT812(0x3f7d70a4); if ((float)local_28c4 != 1.0) { - fVar30 = auVar39._0_4_; - auVar39._4_8_ = auVar39._4_8_; - auVar39._0_4_ = fVar30 / (((float)local_28c4 + fVar30) - (float)local_28c4 * fVar30); + fVar30 = auVar38._0_4_; + auVar38._4_8_ = auVar38._4_8_; + auVar38._0_4_ = fVar30 / (((float)local_28c4 + fVar30) - (float)local_28c4 * fVar30); } - (npc->_v1).x = auVar39._0_4_ * (npc->_v1).x; + (npc->_v1).x = auVar38._0_4_ * (npc->_v1).x; } else { (npc->_v1).x = (float)local_28c4 / 30.0 + (npc->_v1).x; @@ -122003,21 +122100,21 @@ LAB_004c0ad2: if (0xf < *(uint *)(pbVar9 + 0x14)) { pbVar8 = *(byte **)pbVar9; } - pcVar19 = "TurnConcave"; + pcVar20 = "TurnConcave"; do { bVar5 = *pbVar8; - bVar28 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) { + bVar28 = bVar5 < (byte)*pcVar20; + if (bVar5 != *pcVar20) { LAB_004c0ab4: uVar7 = -(uint)bVar28 | 1; goto LAB_004c0ab9; } if (bVar5 == 0) break; bVar5 = pbVar8[1]; - bVar28 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_004c0ab4; + bVar28 = bVar5 < (byte)pcVar20[1]; + if (bVar5 != pcVar20[1]) goto LAB_004c0ab4; pbVar8 = pbVar8 + 2; - pcVar19 = pcVar19 + 2; + pcVar20 = pcVar20 + 2; } while (bVar5 != 0); uVar7 = 0; LAB_004c0ab9: @@ -122030,14 +122127,14 @@ LAB_004c0ab9: SoundEffects::Play(&pMVar4->_sfxManager,(int)local_28c4,1.0,2,0,1.0,0.0); npc->_stateFrame = 0; } - fVar36 = (npc->_targetPosition).y - (npc->_pos).y; + fVar35 = (npc->_targetPosition).y - (npc->_pos).y; (npc->_velocity).x = (npc->_targetPosition).x - (npc->_pos).x; - (npc->_velocity).y = fVar36; + (npc->_velocity).y = fVar35; fVar30 = (npc->_velocity).x; - auVar34 = ZEXT416((uint)(fVar30 * fVar30 + fVar36 * fVar36)); + auVar33 = ZEXT416((uint)(fVar30 * fVar30 + fVar35 * fVar35)); local_2900 = local_28ec; sqrtf(); - fVar30 = auVar34._0_4_; + fVar30 = auVar33._0_4_; if ((2.0 < fVar30) && (0.0 < fVar30)) { (npc->_velocity).x = (2.0 / fVar30) * (npc->_velocity).x; (npc->_velocity).y = (2.0 / fVar30) * (npc->_velocity).y; @@ -122045,10 +122142,10 @@ LAB_004c0ab9: iVar12 = npc->_state; if (iVar12 == 3) { if (0 < npc->_stateFrame) { - iVar20 = ((int)npc->_prevUpdateTime - (int)npc->_updateTime) + npc->_stateFrame; + iVar21 = ((int)npc->_prevUpdateTime - (int)npc->_updateTime) + npc->_stateFrame; iVar12 = 0; - if (0 < iVar20) { - iVar12 = iVar20; + if (0 < iVar21) { + iVar12 = iVar21; } npc->_stateFrame = iVar12; } @@ -122082,11 +122179,11 @@ LAB_004c0c70: LAB_004c0c75: if (uVar7 == 0) { if ((pbVar9 != (byte *)0x0) && ((npc->_sprite)._animState._isPlaying != 0)) goto LAB_004c0f2f; - pcVar19 = "FaceAppearDown"; + pcVar20 = "FaceAppearDown"; npc->_i1 = 3; pbVar9 = (npc->_sprite)._animState._animData; if (pbVar9 == (byte *)0x0) { - uVar41 = 0x100b5fffc; + pcVar20 = "FaceAppearDown"; } else { pbVar8 = pbVar9; @@ -122095,31 +122192,31 @@ LAB_004c0c75: } do { bVar5 = *pbVar8; - bVar28 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) { + bVar28 = bVar5 < (byte)*pcVar20; + if (bVar5 != *pcVar20) { LAB_004c0cd0: uVar7 = -(uint)bVar28 | 1; goto LAB_004c0cd5; } if (bVar5 == 0) break; bVar5 = pbVar8[1]; - bVar28 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_004c0cd0; + bVar28 = bVar5 < (byte)pcVar20[1]; + if (bVar5 != pcVar20[1]) goto LAB_004c0cd0; pbVar8 = pbVar8 + 2; - pcVar19 = pcVar19 + 2; + pcVar20 = pcVar20 + 2; } while (bVar5 != 0); uVar7 = 0; LAB_004c0cd5: if (uVar7 == 0) { if ((pbVar9[0x34] == 0) || ((npc->_sprite)._animState._isPlaying != 0)) goto LAB_004c0f2f; - uVar41 = 0x100b5fffc; + pcVar20 = "FaceAppearDown"; } else { - uVar41 = 0x100b5fffc; + pcVar20 = "FaceAppearDown"; } } LAB_004c0f18: - bVar5 = ANM2::SetAnimation(&npc->_sprite,(byte *)uVar41,(byte)((ulonglong)uVar41 >> 0x20)); + bVar5 = ANM2::SetAnimation(&npc->_sprite,(byte *)pcVar20,1); if (bVar5 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; @@ -122129,7 +122226,7 @@ LAB_004c0f18: if ((pbVar9 == (byte *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { if (local_2900 == (byte *)0x1) { local_28cc = (ANM2 *)(npc->_targetPosition).y; - iVar12 = Room::GetCenterPos(); + iVar12 = Room::GetCenterPos(local_2acc); if ((float)local_28cc < *(float *)(iVar12 + 4)) { pbVar9 = (npc->_sprite)._animState._animData; if (pbVar9 != (byte *)0x0) { @@ -122137,33 +122234,33 @@ LAB_004c0f18: if (0xf < *(uint *)(pbVar9 + 0x14)) { pbVar8 = *(byte **)pbVar9; } - pcVar19 = "Moving"; + pcVar20 = "Moving"; do { bVar5 = *pbVar8; - bVar28 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) { + bVar28 = bVar5 < (byte)*pcVar20; + if (bVar5 != *pcVar20) { LAB_004c0e87: uVar7 = -(uint)bVar28 | 1; goto LAB_004c0e8c; } if (bVar5 == 0) break; bVar5 = pbVar8[1]; - bVar28 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_004c0e87; + bVar28 = bVar5 < (byte)pcVar20[1]; + if (bVar5 != pcVar20[1]) goto LAB_004c0e87; pbVar8 = pbVar8 + 2; - pcVar19 = pcVar19 + 2; + pcVar20 = pcVar20 + 2; } while (bVar5 != 0); uVar7 = 0; LAB_004c0e8c: if (uVar7 == 0) { if ((pbVar9[0x34] != 0) && ((npc->_sprite)._animState._isPlaying == 0)) { - uVar41 = 0x100b600b0; + pcVar20 = "Moving"; goto LAB_004c0f18; } goto LAB_004c0f2f; } } - uVar41 = 0x100b600b0; + pcVar20 = "Moving"; goto LAB_004c0f18; } } @@ -122173,24 +122270,24 @@ LAB_004c0e8c: if (0xf < *(uint *)(pbVar9 + 0x14)) { pbVar8 = *(byte **)pbVar9; } - pcVar19 = "Wiggle"; + pcVar20 = "Wiggle"; do { bVar5 = *pbVar8; - bVar28 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) goto LAB_004c0ef3; + bVar28 = bVar5 < (byte)*pcVar20; + if (bVar5 != *pcVar20) goto LAB_004c0ef3; if (bVar5 == 0) break; bVar5 = pbVar8[1]; - bVar28 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_004c0ef3; + bVar28 = bVar5 < (byte)pcVar20[1]; + if (bVar5 != pcVar20[1]) goto LAB_004c0ef3; pbVar8 = pbVar8 + 2; - pcVar19 = pcVar19 + 2; + pcVar20 = pcVar20 + 2; } while (bVar5 != 0); LAB_004c0eef: uVar7 = 0; goto LAB_004c0ef8; } LAB_004c0f11: - uVar41 = 0x100b600b8; + pcVar20 = "Wiggle"; goto LAB_004c0f18; } pbVar9 = (npc->_sprite)._animState._animData; @@ -122200,28 +122297,28 @@ LAB_004c0f11: else if (0xf < *(uint *)(pbVar9 + 0x14)) { pbVar9 = *(byte **)pbVar9; } - pcVar19 = "Moving"; + pcVar20 = "Moving"; do { bVar5 = *pbVar9; - bVar28 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) { + bVar28 = bVar5 < (byte)*pcVar20; + if (bVar5 != *pcVar20) { LAB_004c0d70: uVar7 = -(uint)bVar28 | 1; goto LAB_004c0d75; } if (bVar5 == 0) break; bVar5 = pbVar9[1]; - bVar28 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_004c0d70; + bVar28 = bVar5 < (byte)pcVar20[1]; + if (bVar5 != pcVar20[1]) goto LAB_004c0d70; pbVar9 = pbVar9 + 2; - pcVar19 = pcVar19 + 2; + pcVar20 = pcVar20 + 2; } while (bVar5 != 0); uVar7 = 0; LAB_004c0d75: if (uVar7 == 0) { local_28cc = (ANM2 *)((npc->_targetPosition).y + 2.0); (npc->_targetPosition).y = (float)local_28cc; - iVar12 = Room::GetCenterPos(); + iVar12 = Room::GetCenterPos(local_2ad4); if (*(float *)(iVar12 + 4) <= (float)local_28cc) { pbVar9 = (npc->_sprite)._animState._animData; if (pbVar9 != (byte *)0x0) { @@ -122229,17 +122326,17 @@ LAB_004c0d75: if (0xf < *(uint *)(pbVar9 + 0x14)) { pbVar8 = *(byte **)pbVar9; } - pcVar19 = "Wiggle"; + pcVar20 = "Wiggle"; do { bVar5 = *pbVar8; - bVar28 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) goto LAB_004c0ef3; + bVar28 = bVar5 < (byte)*pcVar20; + if (bVar5 != *pcVar20) goto LAB_004c0ef3; if (bVar5 == 0) goto LAB_004c0eef; bVar5 = pbVar8[1]; - bVar28 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_004c0ef3; + bVar28 = bVar5 < (byte)pcVar20[1]; + if (bVar5 != pcVar20[1]) goto LAB_004c0ef3; pbVar8 = pbVar8 + 2; - pcVar19 = pcVar19 + 2; + pcVar20 = pcVar20 + 2; } while (bVar5 != 0); uVar7 = 0; goto LAB_004c0ef8; @@ -122256,29 +122353,29 @@ LAB_004c0f2f: if (0xf < *(uint *)(pbVar9 + 0x14)) { pbVar9 = *(byte **)pbVar9; } - pcVar19 = "Wiggle"; + pcVar20 = "Wiggle"; do { bVar5 = *pbVar9; - bVar28 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) { + bVar28 = bVar5 < (byte)*pcVar20; + if (bVar5 != *pcVar20) { LAB_004c0f94: uVar7 = -(uint)bVar28 | 1; goto LAB_004c0f99; } if (bVar5 == 0) break; bVar5 = pbVar9[1]; - bVar28 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_004c0f94; + bVar28 = bVar5 < (byte)pcVar20[1]; + if (bVar5 != pcVar20[1]) goto LAB_004c0f94; pbVar9 = pbVar9 + 2; - pcVar19 = pcVar19 + 2; + pcVar20 = pcVar20 + 2; } while (bVar5 != 0); uVar7 = 0; LAB_004c0f99: if (uVar7 == 0) { local_28cc = (ANM2 *)(npc->_sprite)._animState._animFrame; - dVar42 = floor((double)(float)local_28cc); - local_28cc = (ANM2 *)(float)dVar42; - if (((int)dVar42 == 0) && + dVar41 = floor((double)(float)local_28cc); + local_28cc = (ANM2 *)(float)dVar41; + if (((int)dVar41 == 0) && ((uVar7 = Random(), (uVar7 & 1) == 0 || ((float)local_28e0 < 0.005)))) { local_28d8 = (WeightedOutcomePicker)0x0; local_28d4 = (undefined4 *)0x0; @@ -122290,15 +122387,15 @@ LAB_004c0f99: if (((local_28f0 == (Entity_NPC *)0x258) || (local_28f0 == (Entity_NPC *)0x2c6)) || (local_28f0 == (Entity_NPC *)0x2d0)) { local_2984 = 600; - puVar15 = &local_2984; + puVar16 = &local_2984; local_2980 = 0x19; } else { local_297c = 600; - puVar15 = &local_297c; + puVar16 = &local_297c; local_2978 = 200; } - std::vector<8byte>::_Emplace_reallocate(0,puVar15); + std::vector<8byte>::_Emplace_reallocate(0,puVar16); } if ((local_2900 + -1 < (byte *)0x3) && (local_28c5 == '\0')) { uVar7 = 0; @@ -122307,8 +122404,8 @@ LAB_004c0f99: if (uVar10 != 0) { do { if (*(int *)((int)local_28d8 + uVar7 * 8) == 100) { - piVar14 = (int *)((int)local_28d8 + 4 + uVar7 * 8); - *piVar14 = *piVar14 + 0x32; + piVar15 = (int *)((int)local_28d8 + 4 + uVar7 * 8); + *piVar15 = *piVar15 + 0x32; goto LAB_004c1133; } uVar7 = uVar7 + 1; @@ -122317,7 +122414,7 @@ LAB_004c0f99: local_298c = 100; local_2988 = 0x32; if (local_28d4 == local_28d0) { - puVar15 = &local_298c; + puVar16 = &local_298c; goto LAB_004c11bd; } *local_28d4 = 100; @@ -122328,8 +122425,8 @@ LAB_004c0f99: if (uVar10 != 0) { LAB_004c1160: if (*(int *)((int)local_28d8 + uVar7 * 8) != 100) goto code_r0x004c1166; - piVar14 = (int *)((int)local_28d8 + 4 + uVar7 * 8); - *piVar14 = *piVar14 + 200; + piVar15 = (int *)((int)local_28d8 + 4 + uVar7 * 8); + *piVar15 = *piVar15 + 200; LAB_004c1133: if (*(int *)((int)local_28d8 + 4 + uVar7 * 8) < 0) { *(undefined4 *)((int)local_28d8 + 4 + uVar7 * 8) = 0; @@ -122340,9 +122437,9 @@ LAB_004c116b: local_2994 = 100; local_2990 = 200; if (local_28d4 == local_28d0) { - puVar15 = &local_2994; + puVar16 = &local_2994; LAB_004c11bd: - std::vector<8byte>::_Emplace_reallocate(local_28d4,puVar15); + std::vector<8byte>::_Emplace_reallocate(local_28d4,puVar16); } else { *local_28d4 = 100; @@ -122363,8 +122460,8 @@ LAB_004c12a6: if (uVar10 != 0) { do { if (*(int *)((int)local_28d8 + uVar7 * 8) == 300) { - piVar14 = (int *)((int)local_28d8 + 4 + uVar7 * 8); - *piVar14 = *piVar14 + 200; + piVar15 = (int *)((int)local_28d8 + 4 + uVar7 * 8); + *piVar15 = *piVar15 + 200; if (*(int *)((int)local_28d8 + 4 + uVar7 * 8) < 0) { *(undefined4 *)((int)local_28d8 + 4 + uVar7 * 8) = 0; } @@ -122396,8 +122493,8 @@ LAB_004c12b6: if (uVar10 != 0) { do { if (*(int *)((int)local_28d8 + uVar7 * 8) == 0xd) { - piVar14 = (int *)((int)local_28d8 + 4 + uVar7 * 8); - *piVar14 = *piVar14 + 100; + piVar15 = (int *)((int)local_28d8 + 4 + uVar7 * 8); + *piVar15 = *piVar15 + 100; if (*(int *)((int)local_28d8 + 4 + uVar7 * 8) < 0) { *(undefined4 *)((int)local_28d8 + 4 + uVar7 * 8) = 0; } @@ -122426,8 +122523,8 @@ LAB_004c137c: if (uVar7 != 0) { do { if (*(int *)((int)local_28d8 + uVar10 * 8) == 0x2c6) { - piVar14 = (int *)((int)local_28d8 + 4 + uVar10 * 8); - *piVar14 = *piVar14 + 0x19; + piVar15 = (int *)((int)local_28d8 + 4 + uVar10 * 8); + *piVar15 = *piVar15 + 0x19; goto LAB_004c1400; } uVar10 = uVar10 + 1; @@ -122436,7 +122533,7 @@ LAB_004c137c: local_29b4 = 0x2c6; local_29b0 = 0x19; if (local_28d4 == local_28d0) { - puVar15 = &local_29b4; + puVar16 = &local_29b4; goto LAB_004c148d; } *local_28d4 = 0x2c6; @@ -122449,8 +122546,8 @@ LAB_004c137c: if (uVar7 != 0) { LAB_004c13b0: if (*(int *)((int)local_28d8 + uVar10 * 8) != 0x2c6) goto code_r0x004c13b9; - piVar14 = (int *)((int)local_28d8 + 4 + uVar10 * 8); - *piVar14 = *piVar14 + 100; + piVar15 = (int *)((int)local_28d8 + 4 + uVar10 * 8); + *piVar15 = *piVar15 + 100; LAB_004c1400: if (*(int *)((int)local_28d8 + 4 + uVar10 * 8) < 0) { *(undefined4 *)((int)local_28d8 + 4 + uVar10 * 8) = 0; @@ -122461,9 +122558,9 @@ LAB_004c13be: local_29ac = 0x2c6; local_29a8 = 100; if (local_28d4 == local_28d0) { - puVar15 = &local_29ac; + puVar16 = &local_29ac; LAB_004c148d: - std::vector<8byte>::_Emplace_reallocate(local_28d4,puVar15); + std::vector<8byte>::_Emplace_reallocate(local_28d4,puVar16); } else { *local_28d4 = 0x2c6; @@ -122478,8 +122575,8 @@ LAB_004c14a6: if (uVar10 != 0) { do { if (*(int *)((int)local_28d8 + uVar7 * 8) == 0x2d0) { - piVar14 = (int *)((int)local_28d8 + 4 + uVar7 * 8); - *piVar14 = *piVar14 + 0xa2c2a; + piVar15 = (int *)((int)local_28d8 + 4 + uVar7 * 8); + *piVar15 = *piVar15 + 0xa2c2a; if (*(int *)((int)local_28d8 + 4 + uVar7 * 8) < 0) { *(undefined4 *)((int)local_28d8 + 4 + uVar7 * 8) = 0; } @@ -122506,8 +122603,8 @@ LAB_004c155c: if (uVar7 != 0) { do { if (*(int *)((int)local_28d8 + uVar10 * 8) == 200) { - piVar14 = (int *)((int)local_28d8 + 4 + uVar10 * 8); - *piVar14 = *piVar14 + 0x19; + piVar15 = (int *)((int)local_28d8 + 4 + uVar10 * 8); + *piVar15 = *piVar15 + 0x19; goto LAB_004c15c5; } uVar10 = uVar10 + 1; @@ -122516,7 +122613,7 @@ LAB_004c155c: local_2a54 = 200; local_2a50 = 0x19; if (local_28d4 == local_28d0) { - puVar15 = &local_2a54; + puVar16 = &local_2a54; goto LAB_004c164d; } *local_28d4 = 200; @@ -122527,8 +122624,8 @@ LAB_004c155c: if (uVar7 != 0) { LAB_004c15f0: if (*(int *)((int)local_28d8 + uVar10 * 8) != 200) goto code_r0x004c15f9; - piVar14 = (int *)((int)local_28d8 + 4 + uVar10 * 8); - *piVar14 = *piVar14 + 100; + piVar15 = (int *)((int)local_28d8 + 4 + uVar10 * 8); + *piVar15 = *piVar15 + 100; LAB_004c15c5: if (*(int *)((int)local_28d8 + 4 + uVar10 * 8) < 0) { *(undefined4 *)((int)local_28d8 + 4 + uVar10 * 8) = 0; @@ -122539,9 +122636,9 @@ LAB_004c15fe: local_2a4c = 200; local_2a48 = 100; if (local_28d4 == local_28d0) { - puVar15 = &local_2a4c; + puVar16 = &local_2a4c; LAB_004c164d: - std::vector<8byte>::_Emplace_reallocate(local_28d4,puVar15); + std::vector<8byte>::_Emplace_reallocate(local_28d4,puVar16); } else { *local_28d4 = 200; @@ -122558,8 +122655,8 @@ LAB_004c1666: if (uVar10 != 0) { do { if (*(int *)((int)local_28d8 + uVar7 * 8) == 400) { - piVar14 = (int *)((int)local_28d8 + 4 + uVar7 * 8); - *piVar14 = *piVar14 + 0x32; + piVar15 = (int *)((int)local_28d8 + 4 + uVar7 * 8); + *piVar15 = *piVar15 + 0x32; goto LAB_004c17ea; } uVar7 = uVar7 + 1; @@ -122568,9 +122665,9 @@ LAB_004c1666: local_2a44 = 400; local_2a40 = 0x32; if (local_28d4 == local_28d0) { - uVar41 = CONCAT44(&local_2a44,local_28d4); + puVar16 = &local_2a44; LAB_004c1809: - std::vector<8byte>::_Emplace_reallocate(uVar41); + std::vector<8byte>::_Emplace_reallocate(local_28d4,puVar16); } else { *local_28d4 = 400; @@ -122582,8 +122679,8 @@ LAB_004c1809: if (uVar10 != 0) { do { if (*(int *)((int)local_28d8 + uVar7 * 8) == 400) { - piVar14 = (int *)((int)local_28d8 + 4 + uVar7 * 8); - *piVar14 = *piVar14 + 0xfa; + piVar15 = (int *)((int)local_28d8 + 4 + uVar7 * 8); + *piVar15 = *piVar15 + 0xfa; if (*(int *)((int)local_28d8 + 4 + uVar7 * 8) < 0) { *(undefined4 *)((int)local_28d8 + 4 + uVar7 * 8) = 0; } @@ -122609,8 +122706,8 @@ LAB_004c178c: if (uVar10 != 0) { LAB_004c17a2: if (*(int *)((int)local_28d8 + uVar7 * 8) != 400) goto code_r0x004c17ab; - piVar14 = (int *)((int)local_28d8 + 4 + uVar7 * 8); - *piVar14 = *piVar14 + 2000; + piVar15 = (int *)((int)local_28d8 + 4 + uVar7 * 8); + *piVar15 = *piVar15 + 2000; LAB_004c17ea: if (*(int *)((int)local_28d8 + 4 + uVar7 * 8) < 0) { *(undefined4 *)((int)local_28d8 + 4 + uVar7 * 8) = 0; @@ -122621,7 +122718,7 @@ LAB_004c17b0: local_2a1c = 400; local_2a18 = 2000; if (local_28d4 == local_28d0) { - uVar41 = CONCAT44(&local_2a1c,local_28d4); + puVar16 = &local_2a1c; goto LAB_004c1809; } *local_28d4 = 400; @@ -122631,14 +122728,18 @@ LAB_004c17b0: } } LAB_004c1814: - uVar7 = Random(); - local_48 = (RNG)(uVar7 | 1); - uStack_44._0_4_ = 5; - uStack_44._4_4_ = 9; - uStack_3c = 7; - iVar12 = WeightedOutcomePicker::PickOutcome(&local_28d8,local_48,5,9,7); - npc->_state = iVar12; - if (iVar12 == 100) { + local_48._seed = Random(); + local_48._seed = local_48._seed | 1; + local_48._shift1 = 5; + local_48._shift2 = 9; + local_48._shift3 = 7; + rng._shift1 = 5; + rng._seed = local_48._seed; + rng._shift2 = 9; + rng._shift3 = 7; + uVar7 = WeightedOutcomePicker::PickOutcome(&local_28d8,rng); + npc->_state = uVar7; + if (uVar7 == 100) { pbVar9 = (npc->_sprite)._animState._animData; if (pbVar9 == (byte *)0x0) { LAB_004c18ae: @@ -122679,11 +122780,11 @@ LAB_004c1895: npc->_i2 = uVar7 | 1; } else { - if ((iVar12 == 0x2c6) || (iVar12 == 0x2d0)) { + if ((uVar7 == 0x2c6) || (uVar7 == 0x2d0)) { ANM2::Play(&npc->_sprite,(byte *)"TurnConcave",0); - pfVar18 = (float *)Room::GetRandomPosition(local_2b0c,npc->_size * 1.3); - (npc->_targetPosition).x = *pfVar18; - (npc->_targetPosition).y = pfVar18[1]; + pfVar19 = (float *)Room::GetRandomPosition(local_2b0c,npc->_size * 1.3); + (npc->_targetPosition).x = *pfVar19; + (npc->_targetPosition).y = pfVar19[1]; uVar7 = Random(); npc->_i2 = uVar7 & 0xfffffff0 | 0x10; if (npc->_state == 0x2d0) { @@ -122698,8 +122799,8 @@ LAB_004c1895: local_28c4 = (Entity *)0x1a6; } else { - if (iVar12 != 200) { - if (iVar12 == 300) { + if (uVar7 != 200) { + if (uVar7 == 300) { ANM2::Play(&npc->_sprite,(&PTR_s_FaceVanishFromLeft_00b6013c)[npc->_i1],0); iVar12 = Random(); SoundEffects::PlayWithFartOverride @@ -122709,7 +122810,7 @@ LAB_004c1895: uVar7 = Random(); npc->_i2 = uVar7 % 3 + 1; } - else if (iVar12 == 600) { + else if (uVar7 == 600) { ANM2::Play(&npc->_sprite,(&PTR_s_FaceVanishFromLeft_00b6013c)[npc->_i1],0); uVar7 = Random(); npc->_i2 = uVar7 | 1; @@ -122719,13 +122820,13 @@ LAB_004c1895: (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 * 0.4 + 0.8); } - else if (iVar12 == 400) { + else if (uVar7 == 400) { ANM2::Play(&npc->_sprite,(byte *)"LaserStart",0); } - else if (iVar12 == 0xd) { + else if (uVar7 == 0xd) { ANM2::Play(&npc->_sprite,(byte *)"OpenMouth",0); } - else if (iVar12 == 500) { + else if (uVar7 == 500) { ANM2::Play(&npc->_sprite,(byte *)"Puffed",0); } goto LAB_004c1b51; @@ -122751,86 +122852,88 @@ LAB_004c1b51: goto LAB_004c5097; } if ((((iVar12 == 600) || (iVar12 == 700)) || (iVar12 == 0x2c6)) || (iVar12 == 0x2d0)) { - uVar7 = npc->_i2; + local_48._seed = npc->_i2; local_28c4 = (Entity *)&DAT_00000007; - uStack_3c = 7; + local_48._shift3 = 7; iVar12 = npc->_i1; - uStack_44._0_4_ = 5; - uStack_44._4_4_ = 9; + local_48._shift1 = 5; + local_48._shift2 = 9; local_28ec = (&PTR_s_FaceVanishFromLeft_00b6013c)[iVar12]; local_2904 = (ANM2 *)(&PTR_s_FaceAppearLeft_00b6015c)[iVar12]; local_28cc = (ANM2 *)(&PTR_s_AttackLoopLeft_00b6014c)[iVar12]; - if (uVar7 == 0) { + if (local_48._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = uVar7 >> 5 ^ uVar7; - uVar7 = uVar7 << 9 ^ uVar7; - uVar7 = uVar7 >> 7 ^ uVar7; - local_28fc = uVar7 % 3 + 1; - if (uVar7 == 0) { + local_48._seed = (uint)local_48._seed >> 5 ^ local_48._seed; + local_48._seed = local_48._seed << 9 ^ local_48._seed; + local_48._seed = (uint)local_48._seed >> 7 ^ local_48._seed; + local_28fc = (uint)local_48._seed % 3 + 1; + if (local_48._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } iVar12 = 0x30; - uVar7 = uVar7 >> 5 ^ uVar7; - uVar7 = uVar7 << 9 ^ uVar7; - local_48 = (RNG)(uVar7 >> 7 ^ uVar7); - local_2924 = (Entity *)((uint)local_48 % 3); - puVar15 = (undefined4 *)local_2620; + local_48._seed = (uint)local_48._seed >> 5 ^ local_48._seed; + local_48._seed = local_48._seed << 9 ^ local_48._seed; + local_48._seed = (uint)local_48._seed >> 7 ^ local_48._seed; + local_2924 = (Entity *)((uint)local_48._seed % 3); + puVar16 = (undefined4 *)local_2620; do { - *puVar15 = 1; - puVar15[1] = 5; - puVar15[2] = 7; - puVar15[3] = 0; - puVar15[4] = 0x40a00000; - ProjectileParams::ProjectileParams((Entity_NPC *)(puVar15 + 6)); + *puVar16 = 1; + puVar16[1] = 5; + puVar16[2] = 7; + puVar16[3] = 0; + puVar16[4] = 0x40a00000; + ProjectileParams::ProjectileParams((Entity_NPC *)(puVar16 + 6)); npc = local_28f0; - puVar15[0x30] = 0xffffffff; - puVar15[9] = 0xbdb851ec; - puVar15[8] = 0xc0000000; - puVar15[0xb] = 0x3f99999a; - puVar15[0x2d] = 0x40000000; + puVar16[0x30] = 0xffffffff; + puVar16[9] = 0xbdb851ec; + puVar16[8] = 0xc0000000; + puVar16[0xb] = 0x3f99999a; + puVar16[0x2d] = 0x40000000; iVar12 = iVar12 + -1; - puVar15 = puVar15 + 0x32; + puVar16 = puVar16 + 0x32; } while (iVar12 != 0); - pEVar38 = Entity_NPC::GetPlayerTarget(local_28f0); - local_290c = (byte *)((pEVar38->_pos).x - (npc->_pos).x); - pEVar38 = (Entity *)((pEVar38->_pos).y - (npc->_pos).y); - local_2908 = pEVar38; + pEVar37 = Entity_NPC::GetPlayerTarget(local_28f0); + local_290c = (byte *)((pEVar37->_pos).x - (npc->_pos).x); + pEVar37 = (Entity *)((pEVar37->_pos).y - (npc->_pos).y); + local_2908 = pEVar37; atan2f(); - local_2928 = pEVar38; + local_2928 = pEVar37; local_28dc = (WeightedOutcomePicker)0x0; local_28e4 = (WeightedOutcomePicker)0x0; do { if (local_28e4 == (WeightedOutcomePicker)0x0) { - pvVar24 = (npc->_sprite)._animState._animData; -joined_r0x004c3d00: - if ((pvVar24 != (void *)0x0) && - (pfVar18 = (float *)AnimationState::GetNullFrameById(&(npc->_sprite)._animState), - pfVar18 != (float *)0x0)) { - pEVar38 = Entity_NPC::GetPlayerTarget(npc); - local_290c = (byte *)((pEVar38->_pos).x - (*pfVar18 / 0.65 + (npc->_pos).x + 0.0)); - pEVar38 = (Entity *)((pEVar38->_pos).y - (pfVar18[1] / 0.65 + (npc->_pos).y + 23.0)); - local_2908 = pEVar38; + if ((npc->_sprite)._animState._animData != (void *)0x0) { + uVar18 = 0; + goto LAB_004c3d08; + } + } + else if (local_28e4 == (WeightedOutcomePicker)0x1) { + if ((npc->_sprite)._animState._animData != (void *)0x0) { + uVar18 = 1; + goto LAB_004c3d08; + } + } + else if ((local_28e4 == (WeightedOutcomePicker)0x2) && + ((npc->_sprite)._animState._animData != (void *)0x0)) { + uVar18 = 2; +LAB_004c3d08: + pfVar19 = (float *)AnimationState::GetNullFrameById(&(npc->_sprite)._animState,uVar18); + if (pfVar19 != (float *)0x0) { + pEVar37 = Entity_NPC::GetPlayerTarget(npc); + local_290c = (byte *)((pEVar37->_pos).x - (*pfVar19 / 0.65 + (npc->_pos).x + 0.0)); + pEVar37 = (Entity *)((pEVar37->_pos).y - (pfVar19[1] / 0.65 + (npc->_pos).y + 23.0)); + local_2908 = pEVar37; atan2f(); - local_2928 = pEVar38; + local_2928 = pEVar37; } } - else { - if (local_28e4 == (WeightedOutcomePicker)0x1) { - pvVar24 = (npc->_sprite)._animState._animData; - goto joined_r0x004c3d00; - } - if (local_28e4 == (WeightedOutcomePicker)0x2) { - pvVar24 = (npc->_sprite)._animState._animData; - goto joined_r0x004c3d00; - } - } - WVar21 = local_28e4; + WVar22 = local_28e4; iVar12 = (int)local_28e4 * 0xc80; - pEVar38 = (Entity *)(local_2620 + iVar12); - local_28c4 = pEVar38; + pEVar37 = (Entity *)(local_2620 + iVar12); + local_28c4 = pEVar37; if (local_28fc == 1) { if (local_28e4 == (WeightedOutcomePicker)local_2924) goto LAB_004c3de3; } @@ -122840,27 +122943,27 @@ joined_r0x004c3d00: else if (local_28fc == 3) { LAB_004c3de3: local_28e0 = (Entity *)0x0; - iVar20 = 3; + iVar21 = 3; if (local_2900 == (byte *)0x1) { - iVar20 = 5; + iVar21 = 5; local_28e0 = (Entity *)0x1; } else if (local_2900 == (byte *)0x2) { local_28e0 = (Entity *)0x3; - iVar20 = 6; + iVar21 = 6; } - uVar7 = RNG::RandomInt(&local_48,(iVar20 - (int)local_28e0) + 1); - iVar20 = (int)(&(local_28e0->_sprite)._filename + -3) + uVar7; - local_2560[(int)WVar21 * 800] = iVar20; - if (iVar20 == 0) { + uVar7 = RNG::RandomInt(&local_48,(iVar21 - (int)local_28e0) + 1); + iVar21 = (int)(&(local_28e0->_sprite)._filename + -3) + uVar7; + local_2560[(int)WVar22 * 800] = iVar21; + if (iVar21 == 0) { local_28e0 = (Entity *)0x0; iVar12 = 6 - local_28fc; - *(int *)pEVar38 = iVar12; + *(int *)pEVar37 = iVar12; local_28f4 = (uint *)(iVar12 / 2); if (0 < iVar12) { local_28e8 = (Entity *)(local_28fc * 2 + 2); - local_28f8 = auStack_25b0 + (int)WVar21 * 800; - puVar25 = local_28f4; + local_28f8 = auStack_25b0 + (int)WVar22 * 800; + puVar26 = local_28f4; do { local_28f8[-0x10] = (uint)local_2928; local_28f8[-0x1b] = 1; @@ -122874,7 +122977,7 @@ LAB_004c3eb2: *local_28f8 = *local_28f8 | 0x10000000; goto LAB_004c3eb2; } - uVar10 = (*(int *)pEVar38 + (int)puVar25) * (int)local_28e8; + uVar10 = (*(int *)pEVar37 + (int)puVar26) * (int)local_28e8; local_28f8[-0x1a] = uVar10; uVar7 = ((int)uVar10 / local_28fc) * (int)local_28dc; local_28f8[-0x19] = uVar7; @@ -122882,14 +122985,14 @@ LAB_004c3eb2: local_28e0 = (Entity *)&local_28e0->field_0x1; local_28f8[-0x19] = iVar12 + uVar7; local_28f8 = local_28f8 + 0x32; - puVar25 = local_28f4; - pEVar38 = local_28c4; + puVar26 = local_28f4; + pEVar37 = local_28c4; } while ((int)local_28e0 < *(int *)local_28c4); npc = local_28f0; } } - else if (iVar20 == 1) { - *(int *)pEVar38 = 4; + else if (iVar21 == 1) { + *(int *)pEVar37 = 4; local_28e0 = (Entity *)(local_2620 + iVar12 + 0x30); local_28c4 = (Entity *)local_28e4; *(float *)(local_2620 + iVar12 + 0x30) = @@ -122900,117 +123003,119 @@ LAB_004c3eb2: ((float)npc->_stateFrame * 4.3039823) / 30.0; if (local_28e4 == (WeightedOutcomePicker)0x2) { local_28f8 = (uint *)0x4; - if (local_48 == (RNG)0x0) { + if (local_48._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_48 >> ((byte)uStack_44 & 0x1f) ^ (uint)local_48; - uVar7 = uVar7 << (SUB81(uStack_44,4) & 0x1f) ^ uVar7; - local_48 = (RNG)(uVar7 >> ((byte)uStack_3c & 0x1f) ^ uVar7); - local_28c4 = (Entity *)((uint)local_48 & 1); + local_48._seed = + (uint)local_48._seed >> ((byte)local_48._shift1 & 0x1f) ^ local_48._seed; + local_48._seed = local_48._seed << ((byte)local_48._shift2 & 0x1f) ^ local_48._seed; + local_48._seed = + (uint)local_48._seed >> ((byte)local_48._shift3 & 0x1f) ^ local_48._seed; + local_28c4 = (Entity *)(local_48._seed & 1); } local_28f4 = (uint *)0x0; - puVar15 = (undefined4 *)(local_2620 + iVar12 + 4); + puVar16 = (undefined4 *)(local_2620 + iVar12 + 4); local_28e8 = (Entity *)(local_28fc * 10); - pEVar40 = local_28e8; + pEVar39 = local_28e8; do { if (0 < (int)local_28f4) { - puVar15[0xb] = (float)puVar15[-0x27] - 0.06283186; + puVar16[0xb] = (float)puVar16[-0x27] - 0.06283186; } - puVar15[1] = pEVar40; + puVar16[1] = pEVar39; if (local_28fc == 1) { - *puVar15 = 4; - pEVar40 = (Entity *)&DAT_00000014; - puVar15[1] = 0x14; + *puVar16 = 4; + pEVar39 = (Entity *)&DAT_00000014; + puVar16[1] = 0x14; } else if (local_28fc == 2) { - *puVar15 = 3; - pEVar40 = (Entity *)0x19; - puVar15[1] = 0x19; + *puVar16 = 3; + pEVar39 = (Entity *)0x19; + puVar16[1] = 0x19; } else if (local_28fc == 3) { - *puVar15 = 2; - pEVar40 = (Entity *)0x1e; - puVar15[1] = 0x1e; + *puVar16 = 2; + pEVar39 = (Entity *)0x1e; + puVar16[1] = 0x1e; } iVar12 = (int)local_28f4 * 2; local_28f4 = (uint *)((int)local_28f4 + 1); - puVar15[2] = ((int)pEVar40 / local_28fc) * (int)local_28dc + iVar12; - puVar15 = puVar15 + 0x32; - local_28f8 = *(uint **)pEVar38; - pEVar40 = local_28e8; + puVar16[2] = ((int)pEVar39 / local_28fc) * (int)local_28dc + iVar12; + puVar16 = puVar16 + 0x32; + local_28f8 = *(uint **)pEVar37; + pEVar39 = local_28e8; } while ((int)local_28f4 < (int)local_28f8); iVar12 = 0; npc = local_28f0; if (0 < (int)local_28f8) { - pEVar40 = local_28e0; + pEVar39 = local_28e0; do { if (local_28c4 == (Entity *)0x1) { - *(float *)pEVar40 = *(float *)pEVar40 * -1.0; + *(float *)pEVar39 = *(float *)pEVar39 * -1.0; } iVar12 = iVar12 + 1; - pEVar40 = (Entity *)&(pEVar40->_sprite)._layerCount; - } while (iVar12 < *(int *)pEVar38); + pEVar39 = (Entity *)&(pEVar39->_sprite)._layerCount; + } while (iVar12 < *(int *)pEVar37); } } - else if (iVar20 == 3) { + else if (iVar21 == 3) { local_28e8 = (Entity *)((int)(0x3c / (longlong)local_28fc) * (int)local_28dc); - *(int *)pEVar38 = 2; + *(int *)pEVar37 = 2; local_28f8 = (uint *)0x0; do { if (local_28fc == 1) { - *(undefined4 *)((int)&(pEVar38->_sprite)._filename + (int)local_28f8 * 200 + -0x44) = + *(undefined4 *)((int)&(pEVar37->_sprite)._filename + (int)local_28f8 * 200 + -0x44) = 0x14; } else if (local_28fc == 2) { - *(undefined4 *)((int)&(pEVar38->_sprite)._filename + (int)local_28f8 * 200 + -0x44) = + *(undefined4 *)((int)&(pEVar37->_sprite)._filename + (int)local_28f8 * 200 + -0x44) = 0x10; } else if (local_28fc == 3) { - *(undefined4 *)((int)&(pEVar38->_sprite)._filename + (int)local_28f8 * 200 + -0x44) = + *(undefined4 *)((int)&(pEVar37->_sprite)._filename + (int)local_28f8 * 200 + -0x44) = 0xc; } local_28f4 = (uint *)0x40000; local_28e0 = (Entity *)((int)local_28f8 * 200); - *(float *)((int)&local_28e0->_subtype + (int)pEVar38) = + *(float *)((int)&local_28e0->_subtype + (int)pEVar37) = ((float)npc->_stateFrame * 0.31415927) / 30.0; if (local_28f8 != (uint *)0x0) { local_28f4 = (uint *)0x80000; } local_28c4 = (Entity *)0x0; - uVar7 = *(uint *)((int)&(local_28e0->_sprite)._animDefaultName._size + (int)pEVar38); - uVar17 = *(undefined4 *) - ((int)&(local_28e0->_sprite)._animDefaultName._capacity + (int)pEVar38); - *(undefined4 *)((int)&local_28e0->_spawnerVariant + (int)pEVar38) = 0x3b449ba6; - *(uint *)((int)&(local_28e0->_sprite)._animDefaultName._size + (int)pEVar38) = + uVar7 = *(uint *)((int)&(local_28e0->_sprite)._animDefaultName._size + (int)pEVar37); + uVar18 = *(undefined4 *) + ((int)&(local_28e0->_sprite)._animDefaultName._capacity + (int)pEVar37); + *(undefined4 *)((int)&local_28e0->_spawnerVariant + (int)pEVar37) = 0x3b449ba6; + *(uint *)((int)&(local_28e0->_sprite)._animDefaultName._size + (int)pEVar37) = (uint)local_28f4 | uVar7 | 0x2000; - *(undefined4 *)((int)&(local_28e0->_sprite)._animDefaultName._capacity + (int)pEVar38) = - uVar17; - *(undefined4 *)((int)&(local_28e0->_damageEvents)._capacity + (int)pEVar38) = 0x40800000 + *(undefined4 *)((int)&(local_28e0->_sprite)._animDefaultName._capacity + (int)pEVar37) = + uVar18; + *(undefined4 *)((int)&(local_28e0->_damageEvents)._capacity + (int)pEVar37) = 0x40800000 ; - *(undefined4 *)((int)&local_28e0->_collisionIndex + (int)pEVar38) = 0xbdae147b; - *(undefined4 *)((int)&(local_28e0->_damageEvents)._begin + (int)pEVar38) = 0x3c; - *(uint *)((int)&(local_28e0->_damageEvents)._end + (int)pEVar38) = + *(undefined4 *)((int)&local_28e0->_collisionIndex + (int)pEVar37) = 0xbdae147b; + *(undefined4 *)((int)&(local_28e0->_damageEvents)._begin + (int)pEVar37) = 0x3c; + *(uint *)((int)&(local_28e0->_damageEvents)._end + (int)pEVar37) = (int)(&(local_28e8->_sprite)._filename + -3) + (-(uint)(local_28f8 != (uint *)0x0) & 0x1e); local_28f8 = (uint *)((int)local_28f8 + 1); npc = local_28f0; - } while ((int)local_28f8 < *(int *)pEVar38); + } while ((int)local_28f8 < *(int *)pEVar37); local_2900 = local_2900; } - else if (iVar20 == 6) { + else if (iVar21 == 6) { if (local_28fc == 1) { - *(int *)pEVar38 = 0x10; + *(int *)pEVar37 = 0x10; } else if (local_28fc == 2) { - *(int *)pEVar38 = 0xc; + *(int *)pEVar37 = 0xc; } else if (local_28fc == 3) { - *(int *)pEVar38 = 8; + *(int *)pEVar37 = 8; } local_28e8 = (Entity *)0x0; - if (0 < *(int *)pEVar38) { - local_28f4 = auStack_25b0 + (int)WVar21 * 800; + if (0 < *(int *)pEVar37) { + local_28f4 = auStack_25b0 + (int)WVar22 * 800; local_28f8 = (uint *)((int)(0x5a / (longlong)local_28fc) * (int)local_28dc); iVar12 = 0; local_28e0 = (Entity *)((float)local_2928 + 3.1415927); @@ -123019,10 +123124,10 @@ LAB_004c3eb2: local_28f4[-0x1b] = 1; local_28f4[-0x10] = (uint)(((float)local_28e8 * 3.1415927 + (float)local_28e8 * 3.1415927) / - (float)*(int *)pEVar38 + (float)local_2928 + 3.1415927); + (float)*(int *)pEVar37 + (float)local_2928 + 3.1415927); *local_28f4 = *local_28f4 | 0x40000; local_28f4[1] = local_28f4[1]; - local_28c4 = (Entity *)(float)*(int *)pEVar38; + local_28c4 = (Entity *)(float)*(int *)pEVar37; if ((float)local_28c4 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Start and End parameters cannot be the same!"); @@ -123043,89 +123148,89 @@ LAB_004c3eb2: local_28f4[-0x1a] = 0x5a; local_28f4[-0x19] = (uint)local_28f8; local_28f4 = local_28f4 + 0x32; - } while (iVar12 < *(int *)pEVar38); + } while (iVar12 < *(int *)pEVar37); npc = local_28f0; } } - else if (iVar20 == 2) { + else if (iVar21 == 2) { if (local_28fc == 1) { - *(int *)pEVar38 = 0x10; + *(int *)pEVar37 = 0x10; } else if (local_28fc == 2) { - *(int *)pEVar38 = 0xc; + *(int *)pEVar37 = 0xc; } else if (local_28fc == 3) { - *(int *)pEVar38 = 8; + *(int *)pEVar37 = 8; } local_28f4 = (uint *)0x0; - if (0 < *(int *)pEVar38) { - pfVar18 = (float *)(local_2620 + iVar12 + 0x30); + if (0 < *(int *)pEVar37) { + pfVar19 = (float *)(local_2620 + iVar12 + 0x30); local_28f8 = (uint *)((int)(0x5a / (longlong)local_28fc) * (int)local_28dc); - iVar12 = *(int *)pEVar38; + iVar12 = *(int *)pEVar37; do { fVar30 = (float)(int)local_28f4 / (float)(iVar12 + -1); fVar30 = (fVar30 + fVar30) - 1.0; - pEVar40 = (Entity *)(fVar30 + 0.0); + pEVar39 = (Entity *)(fVar30 + 0.0); local_28c4 = (Entity *)((1.0 - fVar30 * fVar30) + 7.0); - local_28e8 = pEVar40; + local_28e8 = pEVar39; atan2f(); fVar30 = (float)local_28e8 * (float)local_28e8 + (float)local_28c4 * (float)local_28c4 ; - local_28e0 = pEVar40; + local_28e0 = pEVar39; sqrtf(); local_28f4 = (uint *)((int)local_28f4 + 1); - pfVar18[-8] = fVar30; - *pfVar18 = (float)local_28e0 + (float)local_2928; - pfVar18[-0xb] = 1.4013e-45; - pfVar18[-10] = 1.26117e-43; - pfVar18[-9] = (float)local_28f8; - pfVar18 = pfVar18 + 0x32; - iVar12 = *(int *)pEVar38; + pfVar19[-8] = fVar30; + *pfVar19 = (float)local_28e0 + (float)local_2928; + pfVar19[-0xb] = 1.4013e-45; + pfVar19[-10] = 1.26117e-43; + pfVar19[-9] = (float)local_28f8; + pfVar19 = pfVar19 + 0x32; + iVar12 = *(int *)pEVar37; } while ((int)local_28f4 < iVar12); npc = local_28f0; } } - else if (iVar20 == 4) { - puVar15 = (undefined4 *)(local_2620 + iVar12 + 4); + else if (iVar21 == 4) { + puVar16 = (undefined4 *)(local_2620 + iVar12 + 4); local_28e8 = (Entity *)((int)(0xf / (longlong)local_28fc) * (int)local_28dc); - *(int *)pEVar38 = 1; + *(int *)pEVar37 = 1; local_28f4 = (uint *)0x0; do { if (local_28fc == 1) { - *puVar15 = 5; + *puVar16 = 5; } else if (local_28fc == 2) { - *puVar15 = 4; + *puVar16 = 4; } else if (local_28fc == 3) { - *puVar15 = 3; + *puVar16 = 3; } - puVar15[0xb] = ((float)npc->_stateFrame * 0.6911504) / 30.0; - puVar15[0xe] = 0x3f83d70a; - puVar15[3] = 0x40c00000; - puVar15[0x1b] = puVar15[0x1b] | 0x10000000; - puVar15[0x1c] = puVar15[0x1c] | 3; - puVar15[0x28] = 0x69; - puVar15[0x25] = 0x40000; - puVar15[0x26] = 0; - puVar15[0x27] = 0x40c00000; - puVar15[0xd] = 0x3b449ba6; - puVar15[1] = 0xf; - puVar15[2] = local_28e8; - puVar15 = puVar15 + 0x32; + puVar16[0xb] = ((float)npc->_stateFrame * 0.6911504) / 30.0; + puVar16[0xe] = 0x3f83d70a; + puVar16[3] = 0x40c00000; + puVar16[0x1b] = puVar16[0x1b] | 0x10000000; + puVar16[0x1c] = puVar16[0x1c] | 3; + puVar16[0x28] = 0x69; + puVar16[0x25] = 0x40000; + puVar16[0x26] = 0; + puVar16[0x27] = 0x40c00000; + puVar16[0xd] = 0x3b449ba6; + puVar16[1] = 0xf; + puVar16[2] = local_28e8; + puVar16 = puVar16 + 0x32; local_28f4 = (uint *)((int)local_28f4 + 1); - } while ((int)local_28f4 < *(int *)pEVar38); + } while ((int)local_28f4 < *(int *)pEVar37); } - else if (iVar20 == 5) { - *(int *)pEVar38 = 1; + else if (iVar21 == 5) { + *(int *)pEVar37 = 1; local_28f4 = (uint *)0x0; - pEVar38 = (Entity *) + pEVar37 = (Entity *) ((float)local_290c * (float)local_290c + (float)local_2908 * (float)local_2908); sqrtf(); local_28e0 = (Entity *)(local_2620 + iVar12 + 4); - local_28e8 = pEVar38; + local_28e8 = pEVar37; do { - pEVar38 = local_28e0; + pEVar37 = local_28e0; *(undefined4 *)local_28e0 = 0x3c; if (local_28fc == 1) { *(undefined4 *)((int)local_28e0 + 4) = 0x50; @@ -123140,33 +123245,33 @@ LAB_004c3eb2: do { if ((float)local_28e8 <= 0.0) { pbVar9 = local_290c; - pEVar40 = local_2908; + pEVar39 = local_2908; } else { pbVar9 = (byte *)((float)local_290c * (-1.0 / (float)local_28e8)); - pEVar40 = (Entity *)((float)local_2908 * (-1.0 / (float)local_28e8)); + pEVar39 = (Entity *)((float)local_2908 * (-1.0 / (float)local_28e8)); } - *(byte **)((int)pEVar38 + 0x84) = pbVar9; - *(Entity **)((int)pEVar38 + 0x88) = pEVar40; + *(byte **)((int)pEVar37 + 0x84) = pbVar9; + *(Entity **)((int)pEVar37 + 0x88) = pEVar39; iVar12 = Random(); - puVar33 = (undefined4 *) + puVar32 = (undefined4 *) (((float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 - 0.5) * 90.0 * 0.017453292); - local_293c = puVar33; + local_293c = puVar32; cos(); - puVar15 = local_293c; - local_30 = puVar33; + puVar16 = local_293c; + local_30 = puVar32; sin(); local_28f8 = (uint *)((int)local_28f8 + -1); - fVar36 = *(float *)((int)pEVar38 + 0x88) * (float)local_30 + - *(float *)((int)pEVar38 + 0x84) * (float)puVar15; - *(float *)((int)pEVar38 + 0x84) = - *(float *)((int)pEVar38 + 0x84) * (float)local_30 - - *(float *)((int)pEVar38 + 0x88) * (float)puVar15; - *(float *)((int)pEVar38 + 0x88) = fVar36; + fVar35 = *(float *)((int)pEVar37 + 0x88) * (float)local_30 + + *(float *)((int)pEVar37 + 0x84) * (float)puVar16; + *(float *)((int)pEVar37 + 0x84) = + *(float *)((int)pEVar37 + 0x84) * (float)local_30 - + *(float *)((int)pEVar37 + 0x88) * (float)puVar16; + *(float *)((int)pEVar37 + 0x88) = fVar35; fVar30 = npc->_size + 120.0; - local_29c8 = fVar36 * fVar30 * -1.0 + (npc->_pos).y; - local_29cc = fVar30 * *(float *)((int)pEVar38 + 0x84) * -1.0 + (npc->_pos).x; + local_29c8 = fVar35 * fVar30 * -1.0 + (npc->_pos).y; + local_29cc = fVar30 * *(float *)((int)pEVar37 + 0x84) * -1.0 + (npc->_pos).x; cVar6 = Room::IsPositionInRoom(g_game->_room,&local_29cc,0x41a00000); } while ((cVar6 == '\0') && (0 < (int)local_28f8)); if (local_28f8 == (uint *)0x0) { @@ -123206,7 +123311,7 @@ LAB_004c507d: else if ((npc->_sprite)._animState._isPlaying == 0) { if ((local_2904->_filename)._buf[0] != '\0') { pbVar9 = (npc->_sprite)._animState._animData; - pAVar32 = local_2904; + pAVar14 = local_2904; if (pbVar9 == (byte *)0x0) { pbVar9 = &s_empty; } @@ -123215,7 +123320,7 @@ LAB_004c507d: } do { bVar5 = *pbVar9; - bVar1 = (pAVar32->_filename)._buf[0]; + bVar1 = (pAVar14->_filename)._buf[0]; bVar28 = bVar5 < bVar1; if (bVar5 != bVar1) { LAB_004c5074: @@ -123224,11 +123329,11 @@ LAB_004c5074: } if (bVar5 == 0) break; bVar5 = pbVar9[1]; - bVar1 = (pAVar32->_filename)._buf[1]; + bVar1 = (pAVar14->_filename)._buf[1]; bVar28 = bVar5 < bVar1; if (bVar5 != bVar1) goto LAB_004c5074; pbVar9 = pbVar9 + 2; - pAVar32 = (ANM2 *)((pAVar32->_filename)._buf + 2); + pAVar14 = (ANM2 *)((pAVar14->_filename)._buf + 2); } while (bVar5 != 0); uVar7 = 0; LAB_004c5079: @@ -123270,15 +123375,15 @@ LAB_004c4f09: goto LAB_004c4f0b; } } - pEVar38 = Entity_NPC::GetPlayerTarget(npc); - fVar36 = (pEVar38->_pos).x - (npc->_pos).x; - fVar30 = (pEVar38->_pos).y - (npc->_pos).y; - if (ABS(fVar36) <= ABS(fVar30)) { + pEVar37 = Entity_NPC::GetPlayerTarget(npc); + fVar35 = (pEVar37->_pos).x - (npc->_pos).x; + fVar30 = (pEVar37->_pos).y - (npc->_pos).y; + if (ABS(fVar35) <= ABS(fVar30)) { iVar12 = (uint)(0.0 <= fVar30) * 2 + 1; } else { iVar12 = 2; - if (fVar36 < 0.0) { + if (fVar35 < 0.0) { iVar12 = 0; } } @@ -123287,24 +123392,24 @@ LAB_004c4f09: pbVar9 = (npc->_sprite)._animState._animData; if (pbVar9 != (byte *)0x0) { pbVar8 = pbVar9; - pEVar38 = local_28e8; + pEVar37 = local_28e8; if (0xf < *(uint *)(pbVar9 + 0x14)) { pbVar8 = *(byte **)pbVar9; } do { bVar5 = *pbVar8; - bVar28 = bVar5 < *(byte *)pEVar38; - if (bVar5 != *(byte *)pEVar38) { + bVar28 = bVar5 < *(byte *)pEVar37; + if (bVar5 != *(byte *)pEVar37) { LAB_004c4fb6: uVar7 = -(uint)bVar28 | 1; goto LAB_004c4fbb; } if (bVar5 == 0) break; bVar5 = pbVar8[1]; - bVar28 = bVar5 < (byte)pEVar38->field_0x1; - if (bVar5 != pEVar38->field_0x1) goto LAB_004c4fb6; + bVar28 = bVar5 < (byte)pEVar37->field_0x1; + if (bVar5 != pEVar37->field_0x1) goto LAB_004c4fb6; pbVar8 = pbVar8 + 2; - pEVar38 = (Entity *)&pEVar38->field_0x2; + pEVar37 = (Entity *)&pEVar37->field_0x2; } while (bVar5 != 0); uVar7 = 0; LAB_004c4fbb: @@ -123321,13 +123426,13 @@ LAB_004c4fbb: else { if ((local_28cc->_filename)._buf[0] != '\0') { pbVar8 = pbVar9; - pAVar32 = local_28cc; + pAVar14 = local_28cc; if (0xf < *(uint *)(pbVar9 + 0x14)) { pbVar8 = *(byte **)pbVar9; } do { bVar5 = *pbVar8; - bVar1 = (pAVar32->_filename)._buf[0]; + bVar1 = (pAVar14->_filename)._buf[0]; bVar28 = bVar5 < bVar1; if (bVar5 != bVar1) { LAB_004c4940: @@ -123336,11 +123441,11 @@ LAB_004c4940: } if (bVar5 == 0) break; bVar5 = pbVar8[1]; - bVar1 = (pAVar32->_filename)._buf[1]; + bVar1 = (pAVar14->_filename)._buf[1]; bVar28 = bVar5 < bVar1; if (bVar5 != bVar1) goto LAB_004c4940; pbVar8 = pbVar8 + 2; - pAVar32 = (ANM2 *)((pAVar32->_filename)._buf + 2); + pAVar14 = (ANM2 *)((pAVar14->_filename)._buf + 2); } while (bVar5 != 0); uVar7 = 0; LAB_004c4945: @@ -123349,21 +123454,21 @@ LAB_004c4945: if (0xf < *(uint *)(pbVar9 + 0x14)) { pbVar8 = *(byte **)pbVar9; } - pcVar19 = "MovingConcaveEyesOpen"; + pcVar20 = "MovingConcaveEyesOpen"; do { bVar5 = *pbVar8; - bVar28 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) { + bVar28 = bVar5 < (byte)*pcVar20; + if (bVar5 != *pcVar20) { LAB_004c4978: uVar7 = -(uint)bVar28 | 1; goto LAB_004c497d; } if (bVar5 == 0) break; bVar5 = pbVar8[1]; - bVar28 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_004c4978; + bVar28 = bVar5 < (byte)pcVar20[1]; + if (bVar5 != pcVar20[1]) goto LAB_004c4978; pbVar8 = pbVar8 + 2; - pcVar19 = pcVar19 + 2; + pcVar20 = pcVar20 + 2; } while (bVar5 != 0); uVar7 = 0; LAB_004c497d: @@ -123373,37 +123478,45 @@ LAB_004c497d: if (0 < (int)npc->_updateTime - (int)npc->_prevUpdateTime) { local_28c4 = (Entity *)0x0; do { - pEVar38 = local_28c4; + pEVar37 = local_28c4; local_28e0 = (Entity *)((int)local_28c4 * 0xc80); if (local_2560[(int)local_28c4 * 800] != -1) { local_28dc = (WeightedOutcomePicker)0x0; if (local_28c4 == (Entity *)0x0) { if ((npc->_sprite)._animState._animData == (void *)0x0) { - pfVar18 = (float *)0x0; + pfVar19 = (float *)0x0; } else { + uVar18 = 0; LAB_004c4a06: - pfVar18 = (float *)AnimationState::GetNullFrameById(&(npc->_sprite)._animState); + pfVar19 = (float *)AnimationState::GetNullFrameById + (&(npc->_sprite)._animState,uVar18); } LAB_004c4a0e: - local_28dc = (WeightedOutcomePicker)pfVar18; + local_28dc = (WeightedOutcomePicker)pfVar19; } else { if (local_28c4 == (Entity *)0x1) { - if ((npc->_sprite)._animState._animData != (void *)0x0) goto LAB_004c4a06; - pfVar18 = (float *)0x0; + if ((npc->_sprite)._animState._animData != (void *)0x0) { + uVar18 = 1; + goto LAB_004c4a06; + } + pfVar19 = (float *)0x0; goto LAB_004c4a0e; } if (local_28c4 == (Entity *)0x2) { - pfVar18 = (float *)0x0; - if ((npc->_sprite)._animState._animData != (void *)0x0) goto LAB_004c4a06; + pfVar19 = (float *)0x0; + if ((npc->_sprite)._animState._animData != (void *)0x0) { + uVar18 = 2; + goto LAB_004c4a06; + } goto LAB_004c4a0e; } } local_28e8 = (Entity *)0x0; if (0 < *(int *)(local_2620 + (int)local_28e0)) { pVVar27 = (Vector *)((int)&VStack_25bc.x + (int)local_28e0); - pEVar38 = local_28e0; + pEVar37 = local_28e0; do { if ((npc->_stateFrame - (int)pVVar27[-0xb].x) % (int)pVVar27[-0xc].y == 0) { local_26c8[0] = *(byte *)&pVVar27[-10].y; @@ -123514,16 +123627,16 @@ LAB_004c4cd7: Entity_NPC::FireProjectiles (npc,&npc->_pos,&local_29d4,9,(ProjectileParams *)local_26c8); } - pEVar38 = local_28e0; + pEVar37 = local_28e0; } pVVar27 = pVVar27 + 0x19; local_28e8 = (Entity *)&local_28e8->field_0x1; - } while ((int)local_28e8 < *(int *)(local_2620 + (int)pEVar38)); - pEVar38 = local_28c4; + } while ((int)local_28e8 < *(int *)(local_2620 + (int)pEVar37)); + pEVar37 = local_28c4; } } - local_28c4 = (Entity *)&pEVar38->field_0x1; - } while ((int)&pEVar38->field_0x1 < 3); + local_28c4 = (Entity *)&pEVar37->field_0x1; + } while ((int)&pEVar37->field_0x1 < 3); iVar12 = npc->_stateFrame + ((int)npc->_updateTime - (int)npc->_prevUpdateTime); npc->_stateFrame = iVar12; if ((0x96 < iVar12) && (npc->_state == 600)) { @@ -123573,19 +123686,19 @@ LAB_004c35fb: } if (iVar12 == 100) { uVar7 = npc->_i2; - uStack_44._0_4_ = 5; - uStack_44._4_4_ = 9; + local_48._shift1 = 5; + local_48._shift2 = 9; local_28fc = 7; - uStack_3c = 7; + local_48._shift3 = 7; if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar7 = uVar7 >> 5 ^ uVar7; uVar7 = uVar7 << 9 ^ uVar7; - RVar26 = (RNG)(uVar7 >> 7 ^ uVar7); - local_28ec = (byte *)((uint)RVar26 / 0xffffffff + (int)RVar26); - local_48 = RVar26; + uVar7 = uVar7 >> 7 ^ uVar7; + local_28ec = (byte *)(uVar7 / 0xffffffff + uVar7); + local_48._seed = uVar7; Entity_NPC::QueryNPCsGroup(local_2ab4,1); local_28e4 = (WeightedOutcomePicker)0x0; local_2918 = (WeightedOutcomePicker)0x0; @@ -123600,24 +123713,24 @@ LAB_004c35fb: local_28c4 = (Entity *)local_2914; local_28e4 = local_2918; } - uVar7 = 0; - uVar10 = (int)local_28c4 - (int)local_28e4 >> 3; + uVar10 = 0; + uVar11 = (int)local_28c4 - (int)local_28e4 >> 3; local_2918 = local_28e4; local_2914 = (undefined4 *)local_28c4; - if (uVar10 != 0) { - WVar21 = local_28e4; + if (uVar11 != 0) { + WVar22 = local_28e4; do { - if (*(int *)WVar21 == 1) { - ((int *)((int)local_28e4 + 4))[uVar7 * 2] = - ((int *)((int)local_28e4 + 4))[uVar7 * 2] + 100; - if (((int *)((int)local_28e4 + 4))[uVar7 * 2] < 0) { - ((int *)((int)local_28e4 + 4))[uVar7 * 2] = 0; + if (*(int *)WVar22 == 1) { + ((int *)((int)local_28e4 + 4))[uVar10 * 2] = + ((int *)((int)local_28e4 + 4))[uVar10 * 2] + 100; + if (((int *)((int)local_28e4 + 4))[uVar10 * 2] < 0) { + ((int *)((int)local_28e4 + 4))[uVar10 * 2] = 0; } goto LAB_004c1d65; } - uVar7 = uVar7 + 1; - WVar21 = (WeightedOutcomePicker)((int)WVar21 + 8); - } while (uVar7 < uVar10); + uVar10 = uVar10 + 1; + WVar22 = (WeightedOutcomePicker)((int)WVar22 + 8); + } while (uVar10 < uVar11); } local_2a0c = 1; local_2a08 = 100; @@ -123632,23 +123745,23 @@ LAB_004c1d65: local_2914 = (undefined4 *)((int)local_28c4 + 8); local_28dc = local_28e4; } - uVar7 = 0; + pAVar14 = (ANM2 *)0x0; local_28cc = (ANM2 *)((int)local_2914 - (int)local_28dc >> 3); local_2918 = local_28dc; if (local_28cc != (ANM2 *)0x0) { - WVar21 = local_28dc; + WVar22 = local_28dc; do { - if (*(int *)WVar21 == 2) { - ((int *)((int)local_28dc + 4))[uVar7 * 2] = - ((int *)((int)local_28dc + 4))[uVar7 * 2] + 100; - if (((int *)((int)local_28dc + 4))[uVar7 * 2] < 0) { - ((int *)((int)local_28dc + 4))[uVar7 * 2] = 0; + if (*(int *)WVar22 == 2) { + ((int *)((int)local_28dc + 4))[(int)pAVar14 * 2] = + ((int *)((int)local_28dc + 4))[(int)pAVar14 * 2] + 100; + if (((int *)((int)local_28dc + 4))[(int)pAVar14 * 2] < 0) { + ((int *)((int)local_28dc + 4))[(int)pAVar14 * 2] = 0; } goto LAB_004c1e00; } - uVar7 = uVar7 + 1; - WVar21 = (WeightedOutcomePicker)((int)WVar21 + 8); - } while (uVar7 < local_28cc); + pAVar14 = (ANM2 *)((pAVar14->_filename)._buf + 1); + WVar22 = (WeightedOutcomePicker)((int)WVar22 + 8); + } while (pAVar14 < local_28cc); } local_2a04 = 2; local_2a00 = 100; @@ -123661,71 +123774,74 @@ LAB_004c1d65: local_2914 = local_2914 + 2; } LAB_004c1e00: - uVar7 = g_game->_frameCount - npc->_spawnFrame & 0x80000001; - if ((int)uVar7 < 0) { - uVar7 = (uVar7 - 1 | 0xfffffffe) + 1; + uVar10 = g_game->_frameCount - npc->_spawnFrame & 0x80000001; + if ((int)uVar10 < 0) { + uVar10 = (uVar10 - 1 | 0xfffffffe) + 1; } - if (uVar7 == 1) { + if (uVar10 == 1) { local_28c4 = (Entity *)0x0; do { - if (RVar26 == (RNG)0x0) { + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar26 >> ((byte)uStack_44 & 0x1f) ^ (uint)RVar26; - uVar7 = uVar7 << (SUB81(uStack_44,4) & 0x1f) ^ uVar7; - RVar26 = (RNG)(uVar7 >> ((byte)local_28fc & 0x1f) ^ uVar7); + uVar7 = uVar7 >> ((byte)local_48._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)local_48._shift2 & 0x1f) ^ uVar7; + uVar7 = uVar7 >> ((byte)local_28fc & 0x1f) ^ uVar7; local_28c4 = (Entity *)((int)local_28c4 + 1); } while ((int)local_28c4 < 10); - local_48 = RVar26; + local_48._seed = uVar7; } - local_2904 = (ANM2 *)WeightedOutcomePicker::PickOutcome - (&local_2918,local_48,(int)uStack_44,uStack_44._4_4_,uStack_3c); + rng_00._shift1 = local_48._shift1; + rng_00._seed = local_48._seed; + rng_00._shift2 = local_48._shift2; + rng_00._shift3 = local_48._shift3; + local_2904 = (ANM2 *)WeightedOutcomePicker::PickOutcome(&local_2918,rng_00); local_2908 = (Entity *)&DAT_00000050; - pEVar38 = Entity_NPC::GetPlayerTarget(npc); - local_28dc = (WeightedOutcomePicker)((pEVar38->_pos).y - (npc->_pos).y); - local_28e4 = (WeightedOutcomePicker)((pEVar38->_pos).x - (npc->_pos).x); + pEVar37 = Entity_NPC::GetPlayerTarget(npc); + local_28dc = (WeightedOutcomePicker)((pEVar37->_pos).y - (npc->_pos).y); + local_28e4 = (WeightedOutcomePicker)((pEVar37->_pos).x - (npc->_pos).x); fVar30 = (float)local_28dc * (float)local_28dc + (float)local_28e4 * (float)local_28e4; sqrtf(); if (0.0 < fVar30) { local_28e4 = (WeightedOutcomePicker)((2.0 / fVar30) * (float)local_28e4); local_28dc = (WeightedOutcomePicker)((float)local_28dc * (2.0 / fVar30)); } - uVar7 = g_game->_frameCount - npc->_spawnFrame & 0x80000001; - if ((int)uVar7 < 0) { - uVar7 = (uVar7 - 1 | 0xfffffffe) + 1; + uVar10 = g_game->_frameCount - npc->_spawnFrame & 0x80000001; + if ((int)uVar10 < 0) { + uVar10 = (uVar10 - 1 | 0xfffffffe) + 1; } - if (uVar7 == 1) { - pAVar32 = (ANM2 *)0x3eb2b8c2; + if (uVar10 == 1) { + pAVar14 = (ANM2 *)0x3eb2b8c2; cos(); fVar30 = 0.34906584; - local_28cc = pAVar32; + local_28cc = pAVar14; } else { - pAVar32 = (ANM2 *)0xbeb2b8c2; + pAVar14 = (ANM2 *)0xbeb2b8c2; cos(); fVar30 = -0.34906584; - local_28cc = pAVar32; + local_28cc = pAVar14; } sin(); npc = local_28f0; local_2900 = (byte *)(fVar30 * (float)local_28e4 + (float)local_28cc * (float)local_28dc); local_28dc = (WeightedOutcomePicker) ((float)local_28cc * (float)local_28e4 - fVar30 * (float)local_28dc); - if (RVar26 == (RNG)0x0) { + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar26 >> ((byte)uStack_44 & 0x1f) ^ (uint)RVar26; - uVar7 = uVar7 << (SUB81(uStack_44,4) & 0x1f) ^ uVar7; + uVar7 = uVar7 >> ((byte)local_48._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)local_48._shift2 & 0x1f) ^ uVar7; uVar7 = uVar7 >> ((byte)local_28fc & 0x1f) ^ uVar7; local_28c4 = (Entity *)(uVar7 % 6 + 1); if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = uVar7 >> ((byte)uStack_44 & 0x1f) ^ uVar7; - uVar7 = uVar7 << (SUB81(uStack_44,4) & 0x1f) ^ uVar7; + uVar7 = uVar7 >> ((byte)local_48._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)local_48._shift2 & 0x1f) ^ uVar7; local_28e0 = (Entity *)((uVar7 >> ((byte)local_28fc & 0x1f) ^ uVar7) % 6 + 1); local_290c = (byte *)0x0; if (local_2904 == (ANM2 *)0x0) { @@ -123752,10 +123868,10 @@ LAB_004c216c: npc->_stateFrame = 0x1e; } else { - uVar41 = _string_holder_c_str(); + uVar40 = _string_holder_c_str(); do { - pbVar8 = (byte *)((ulonglong)uVar41 >> 0x20); - pbVar9 = (byte *)uVar41; + pbVar8 = (byte *)((ulonglong)uVar40 >> 0x20); + pbVar9 = (byte *)uVar40; bVar5 = *pbVar9; bVar28 = bVar5 < *pbVar8; if (bVar5 != *pbVar8) { @@ -123767,7 +123883,7 @@ LAB_004c21b3: bVar5 = pbVar9[1]; bVar28 = bVar5 < pbVar8[1]; if (bVar5 != pbVar8[1]) goto LAB_004c21b3; - uVar41 = CONCAT44(pbVar8 + 2,pbVar9 + 2); + uVar40 = CONCAT44(pbVar8 + 2,pbVar9 + 2); } while (bVar5 != 0); uVar7 = 0; LAB_004c21b8: @@ -123781,7 +123897,7 @@ LAB_004c21b8: local_28e4 = (WeightedOutcomePicker)0x0; if (local_2924 != (Entity *)0x0) { do { - uVar17 = Random(); + uVar18 = Random(); local_28e8 = (Entity *)((npc->_pos).x + 0.0); local_28f4 = (uint *)((npc->_pos).y - 10.0); iVar12 = Random(); @@ -123790,76 +123906,77 @@ LAB_004c21b8: pAVar31 = (ANM2 *)(fVar30 + fVar30); local_28cc = pAVar31; sin(); - pAVar32 = local_28cc; + pAVar14 = local_28cc; local_2904 = pAVar31; cos(); - local_29ec = (float)pAVar32 * 9.5 + (float)local_28e8; - uVar41 = 0xc5d6ac; + uVar45 = 0; + local_29ec = (float)pAVar14 * 9.5 + (float)local_28e8; + pTVar44 = &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor; local_29e8 = (float)local_2904 * 9.5 + (float)local_28f4; - pTVar44 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar43 = 0; - uVar17 = Game::Spawn(0x128,0,&local_29ec,&g_vectorZero,npc,0,uVar17); - iVar12 = __RTDynamicCast(uVar17,uVar43,pTVar44,uVar41); + pTVar43 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar42 = 0; + uVar18 = Game::Spawn(0x128,0,&local_29ec,&g_vectorZero,npc,0,uVar18); + iVar12 = __RTDynamicCast(uVar18,uVar42,pTVar43,pTVar44,uVar45); (&iStack_4c)[(int)local_28e4] = iVar12; iVar12 = (int)local_28e4 + 1; local_28e4 = (WeightedOutcomePicker)iVar12; } while (iVar12 < (int)local_2924); } - pEVar38 = (Entity *)(iVar12 + -1); - local_28e4 = (WeightedOutcomePicker)pEVar38; - if (-1 < (int)pEVar38) { - pEVar40 = (Entity *) + pEVar37 = (Entity *)(iVar12 + -1); + local_28e4 = (WeightedOutcomePicker)pEVar37; + if (-1 < (int)pEVar37) { + pEVar39 = (Entity *) ((float)local_28dc * (float)local_28dc + (float)local_2900 * (float)local_2900); sqrtf(); - local_28e8 = pEVar40; + local_28e8 = pEVar39; do { - piVar14 = (int *)(&iStack_4c)[(int)pEVar38]; - piVar14[0x5a] = piVar14[0x5a] & 0xfffffffb; - piVar14[0x5b] = piVar14[0x5b]; - piVar14[0x62] = 2; + piVar15 = (int *)(&iStack_4c)[(int)pEVar37]; + piVar15[0x5a] = piVar15[0x5a] & 0xfffffffb; + piVar15[0x5b] = piVar15[0x5b]; + piVar15[0x62] = 2; iVar12 = Random(); fVar30 = (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 * 3.14; pAVar31 = (ANM2 *)(fVar30 + fVar30); local_28cc = pAVar31; sin(); - pAVar32 = local_28cc; + pAVar14 = local_28cc; local_2904 = pAVar31; cos(); - piVar14[0xd8] = (int)((float)pAVar32 * 30.0); - piVar14[0xd9] = (int)((float)local_2904 * 30.0); - if (*(int *)(((ANM2 *)(piVar14 + 0xef))->_filename)._buf != 0) { - local_28cc = (ANM2 *)(piVar14 + 0xef); - std::multiset::erase(); + piVar15[0xd8] = (int)((float)pAVar14 * 30.0); + piVar15[0xd9] = (int)((float)local_2904 * 30.0); + if (*(int *)(((ANM2 *)(piVar15 + 0xef))->_filename)._buf != 0) { + local_28cc = (ANM2 *)(piVar15 + 0xef); + std::multiset::erase(&local_28cc); } - piVar14[0xef] = (int)npc; - std::multiset::insert(); - (**(code **)(*piVar14 + 0xc))(); + piVar15[0xef] = (int)npc; + std::multiset::insert(piVar15 + 0xef); + (**(code **)(*piVar15 + 0xc))(); if ((float)local_28e8 <= 0.0) { pbVar9 = local_2900; - WVar21 = local_28dc; + WVar22 = local_28dc; } else { fVar30 = npc->_size / (float)local_28e8; pbVar9 = (byte *)(fVar30 * (float)local_2900); - WVar21 = (WeightedOutcomePicker)(fVar30 * (float)local_28dc); + WVar22 = (WeightedOutcomePicker)(fVar30 * (float)local_28dc); } fVar30 = (npc->_pos).y; - fVar36 = (npc->_pos).x; - piVar14[799] = (int)local_28ec; - piVar14[0x2ec] = (int)((float)WVar21 + fVar36); - piVar14[0x2ed] = (int)((float)pbVar9 + fVar30); - piVar14[0x2ee] = (int)local_28dc; - piVar14[0x2ef] = (int)local_2900; - *(char *)(piVar14 + 0x2f1) = (char)local_28c4; - *(char *)((int)piVar14 + 0xbc5) = (char)local_28e0; - *(char *)((int)piVar14 + 0xbc6) = (char)local_2908; - *(char *)((int)piVar14 + 0xbc7) = (char)local_290c; - pEVar38 = (Entity *) + fVar35 = (npc->_pos).x; + piVar15[799] = (int)local_28ec; + piVar15[0x2ec] = (int)((float)WVar22 + fVar35); + piVar15[0x2ed] = (int)((float)pbVar9 + fVar30); + piVar15[0x2ee] = (int)local_28dc; + piVar15[0x2ef] = (int)local_2900; + *(char *)(piVar15 + 0x2f1) = (char)local_28c4; + *(char *)((int)piVar15 + 0xbc5) = (char)local_28e0; + *(char *)((int)piVar15 + 0xbc6) = (char)local_2908; + *(char *)((int)piVar15 + 0xbc7) = (char)local_290c; + pEVar37 = (Entity *) ((int)&((Entity *)((int)local_28e4 + -0x40c))->_luaBridgeRef + 3); - local_28e4 = (WeightedOutcomePicker)pEVar38; - } while (-1 < (int)pEVar38); + local_28e4 = (WeightedOutcomePicker)pEVar37; + } while (-1 < (int)pEVar37); } } } @@ -123893,7 +124010,7 @@ LAB_004c2155: } if (local_2aa4[0] == '\0') { local_14 = CONCAT31(local_14._1_3_,10); - tracked_alloc(0); + tracked_alloc(0,0); } if (local_2918 != (WeightedOutcomePicker)0x0) { deallocate(local_2918,(int)local_2910 - (int)local_2918 >> 3); @@ -123904,7 +124021,7 @@ LAB_004c2155: local_14 = CONCAT31(local_14._1_3_,4); if (local_2ab4[0] == '\0') { local_14._0_1_ = '\v'; - tracked_alloc(0); + tracked_alloc(0,0); local_14 = CONCAT31(local_14._1_3_,4); } goto LAB_004c5097; @@ -123921,7 +124038,7 @@ LAB_004c2155: iVar12 = ANM2::GetFrame(&npc->_sprite); if (iVar12 == 10) { ProjectileParams::ProjectileParams((Entity_NPC *)local_28c0); - pfVar18 = (float *)0x0; + pfVar19 = (float *)0x0; local_28ac = 3.0; local_28b4 = (void *)0xbe4ccccd; local_28b8 = (void *)0x404ccccd; @@ -123929,9 +124046,12 @@ LAB_004c2155: local_28e4 = (WeightedOutcomePicker)0x0; do { if (local_28e4 == (WeightedOutcomePicker)0x0) { - if ((npc->_sprite)._animState._animData != (void *)0x0) goto LAB_004c269b; + if ((npc->_sprite)._animState._animData != (void *)0x0) { + uVar18 = 0; + goto LAB_004c269b; + } LAB_004c267d: - pfVar18 = (float *)0x0; + pfVar19 = (float *)0x0; local_64.x = (float)&DAT_bf800000; local_64.y = -1.5; fStack_5c = 1.0; @@ -123942,11 +124062,16 @@ LAB_004c267d: else { if (local_28e4 == (WeightedOutcomePicker)0x1) { if ((npc->_sprite)._animState._animData == (void *)0x0) goto LAB_004c267d; + uVar18 = 1; LAB_004c269b: - pfVar18 = (float *)AnimationState::GetNullFrameById(&(npc->_sprite)._animState); + pfVar19 = (float *)AnimationState::GetNullFrameById(&(npc->_sprite)._animState,uVar18) + ; } else if (local_28e4 == (WeightedOutcomePicker)0x2) { - if ((npc->_sprite)._animState._animData != (void *)0x0) goto LAB_004c269b; + if ((npc->_sprite)._animState._animData != (void *)0x0) { + uVar18 = 2; + goto LAB_004c269b; + } local_64.x = (float)&DAT_bf800000; local_64.y = -1.5; fStack_5c = 1.0; @@ -123961,12 +124086,12 @@ LAB_004c269b: local_64.y = -1.5; fStack_5c = 1.0; iStack_58 = -0x40400000; - if (pfVar18 != (float *)0x0) { + if (pfVar19 != (float *)0x0) { local_2868 = 0x20000000; local_2864 = 0; - local_28c0._4_4_ = pfVar18[1] / 0.65 + 23.0; + local_28c0._4_4_ = pfVar19[1] / 0.65 + 23.0; local_29fc.y = (npc->_pos).y + 0.0; - local_29fc.x = *pfVar18 / 0.65 + (npc->_pos).x; + local_29fc.x = *pfVar19 / 0.65 + (npc->_pos).x; Entity_NPC::FireProjectiles (npc,&local_29fc,&local_64 + (int)local_28e4,0, (ProjectileParams *)local_28c0); @@ -123986,10 +124111,10 @@ LAB_004c269b: } if (((npc->_sprite)._animState._animData != (void *)0x0) && ((npc->_sprite)._animState._isPlaying == 0)) { - uVar41 = _string_holder_c_str(); + uVar40 = _string_holder_c_str(); do { - pbVar8 = (byte *)((ulonglong)uVar41 >> 0x20); - pbVar9 = (byte *)uVar41; + pbVar8 = (byte *)((ulonglong)uVar40 >> 0x20); + pbVar9 = (byte *)uVar40; bVar5 = *pbVar9; bVar28 = bVar5 < *pbVar8; if (bVar5 != *pbVar8) { @@ -124001,7 +124126,7 @@ LAB_004c2851: bVar5 = pbVar9[1]; bVar28 = bVar5 < pbVar8[1]; if (bVar5 != pbVar8[1]) goto LAB_004c2851; - uVar41 = CONCAT44(pbVar8 + 2,pbVar9 + 2); + uVar40 = CONCAT44(pbVar8 + 2,pbVar9 + 2); } while (bVar5 != 0); uVar7 = 0; LAB_004c2856: @@ -124011,29 +124136,30 @@ LAB_004c2856: npc->_stateFrame = -10 - uVar7 % 10; local_28c4 = (Entity *)0x0; do { - pEVar38 = local_28c4; + pEVar37 = local_28c4; if ((npc->_sprite)._animState._animData != (void *)0x0) { - local_28cc = (ANM2 *)AnimationState::GetNullFrameById(&(npc->_sprite)._animState); + local_28cc = (ANM2 *)AnimationState::GetNullFrameById + (&(npc->_sprite)._animState,local_28c4 != (Entity *)0x0); if (local_28cc != (ANM2 *)0x0) { - uVar17 = Random(); - piVar14 = (int *)Game::Spawn(1000,0x65,&npc->_pos,&g_vectorZero,npc,0,uVar17); - piVar14[0x37] = *(int *)(local_28cc->_filename)._buf; - piVar14[0x38] = *(int *)((local_28cc->_filename)._buf + 4); - piVar14[0xd6] = 0x447a0000; - piVar14[0x117] = -1; - piVar14[0x118] = -1; - if (*(int *)(((ANM2 *)(piVar14 + 0xef))->_filename)._buf != 0) { - local_28cc = (ANM2 *)(piVar14 + 0xef); - std::multiset::erase(); + uVar18 = Random(); + piVar15 = (int *)Game::Spawn(1000,0x65,&npc->_pos,&g_vectorZero,npc,0,uVar18); + piVar15[0x37] = *(int *)(local_28cc->_filename)._buf; + piVar15[0x38] = *(int *)((local_28cc->_filename)._buf + 4); + piVar15[0xd6] = 0x447a0000; + piVar15[0x117] = -1; + piVar15[0x118] = -1; + if (*(int *)(((ANM2 *)(piVar15 + 0xef))->_filename)._buf != 0) { + local_28cc = (ANM2 *)(piVar15 + 0xef); + std::multiset::erase(&local_28cc); } - piVar14[0xef] = (int)npc; - std::multiset::insert(); - (**(code **)(*piVar14 + 0xc))(); - pEVar38 = local_28c4; + piVar15[0xef] = (int)npc; + std::multiset::insert(piVar15 + 0xef); + (**(code **)(*piVar15 + 0xc))(); + pEVar37 = local_28c4; } } pMVar4 = g_manager; - local_28c4 = (Entity *)((int)pEVar38 + 1); + local_28c4 = (Entity *)((int)pEVar37 + 1); } while ((int)local_28c4 < 2); local_28c4 = (Entity *)0x1a5; seed_fart_sound_override(); @@ -124044,7 +124170,7 @@ LAB_004c2856: } bVar5 = ANM2::IsPlaying(&npc->_sprite,(byte *)"LaserLoop"); if (bVar5 == 0) { - cVar6 = ANM2::IsFinishedImpl(&npc->_sprite); + cVar6 = ANM2::IsFinishedImpl(&npc->_sprite,"LaserEnd"); if (cVar6 != '\0') { npc->_i2 = npc->_state; npc->_state = 3; @@ -124053,7 +124179,7 @@ LAB_004c2856: else { iVar12 = Entity::GetIntervalTicks((Entity *)npc); if ((iVar12 != 0) && - (pfVar18 = (float *)ANM2::GetLayerFrame(&npc->_sprite), pfVar18 != (float *)0x0)) { + (pfVar19 = (float *)ANM2::GetLayerFrame(&npc->_sprite,2), pfVar19 != (float *)0x0)) { ProjectileParams::ProjectileParams((Entity_NPC *)local_2818); local_2818._20_4_ = (void *)0x3fc00000; local_2818._12_4_ = (void *)0xbd99999a; @@ -124063,8 +124189,8 @@ LAB_004c2856: local_2818._92_4_ = 0.0; uVar7 = Random(); local_279c = (void *)(uVar7 % 0xf); - local_2818._96_4_ = *pfVar18; - local_27b4 = pfVar18[1]; + local_2818._96_4_ = *pfVar19; + local_27b4 = pfVar19[1]; local_29f4.x = 3.0; local_29f4.y = 5.0; Entity_NPC::FireProjectiles(npc,&npc->_pos,&local_29f4,9,(ProjectileParams *)local_2818); @@ -124074,11 +124200,12 @@ LAB_004c2856: if (local_2944 != 0) { do { if ((npc->_sprite)._animState._animData != (void *)0x0) { - puVar15 = (undefined4 *)AnimationState::GetNullFrameById(&(npc->_sprite)._animState); - if (puVar15 != (undefined4 *)0x0) { + puVar16 = (undefined4 *) + AnimationState::GetNullFrameById(&(npc->_sprite)._animState,uVar10 != 0); + if (puVar16 != (undefined4 *)0x0) { iVar12 = *(int *)(local_294c + uVar10 * 4); - *(undefined4 *)(iVar12 + 0xdc) = *puVar15; - *(undefined4 *)(iVar12 + 0xe0) = puVar15[1]; + *(undefined4 *)(iVar12 + 0xdc) = *puVar16; + *(undefined4 *)(iVar12 + 0xe0) = puVar16[1]; } uVar7 = local_2944; } @@ -124096,10 +124223,10 @@ LAB_004c2856: fVar30 = (local_28e8->_pos).x - (npc->_pos).x; local_30 = (undefined4 *)((local_28e8->_pos).y - (npc->_pos).y); local_38._4_4_ = fVar30; - pAVar32 = (ANM2 *)(fVar30 * fVar30 + (float)local_30 * (float)local_30); + pAVar14 = (ANM2 *)(fVar30 * fVar30 + (float)local_30 * (float)local_30); sqrtf(); - local_28cc = pAVar32; - Vector::Normalized(); + local_28cc = pAVar14; + Vector::Normalized(&local_2940); local_2a2c[1] = local_2940; local_2a24 = local_293c; local_28c4 = (Entity *)0x0; @@ -124115,23 +124242,23 @@ LAB_004c2856: ((float)local_28f4 + local_2a2c[(int)local_28c4 * 2] * 0.5) + (npc->_pos).x ; Room::GetClampedPositionImpl(local_2a94,&local_2a3c,0,0,0); - uVar17 = Random(); - piVar14 = (int *)Game::Spawn(1000,0x60,local_2a94,&g_vectorZero,npc,0,uVar17); - piVar14[0x117] = -1; - piVar14[0x118] = -1; - if (*(int *)(((ANM2 *)(piVar14 + 0xef))->_filename)._buf != 0) { - local_2904 = (ANM2 *)(piVar14 + 0xef); - std::multiset::erase(); + uVar18 = Random(); + piVar15 = (int *)Game::Spawn(1000,0x60,local_2a94,&g_vectorZero,npc,0,uVar18); + piVar15[0x117] = -1; + piVar15[0x118] = -1; + if (*(int *)(((ANM2 *)(piVar15 + 0xef))->_filename)._buf != 0) { + local_2904 = (ANM2 *)(piVar15 + 0xef); + std::multiset::erase(&local_2904); } - piVar14[0xef] = (int)npc; - std::multiset::insert(); - if (piVar14[0xf1] != 0) { - local_2904 = (ANM2 *)(piVar14 + 0xf1); - std::multiset::erase(); + piVar15[0xef] = (int)npc; + std::multiset::insert(piVar15 + 0xef); + if (piVar15[0xf1] != 0) { + local_2904 = (ANM2 *)(piVar15 + 0xf1); + std::multiset::erase(&local_2904); } - piVar14[0xf1] = (int)local_28e8; - std::multiset::insert(); - (**(code **)(*piVar14 + 0xc))(); + piVar15[0xf1] = (int)local_28e8; + std::multiset::insert(piVar15 + 0xf1); + (**(code **)(*piVar15 + 0xc))(); local_28c4 = (Entity *)&local_28c4->field_0x1; } while ((int)local_28c4 < 2); } @@ -124168,11 +124295,11 @@ LAB_004c2856: } if (iVar12 == 0xd) { bVar5 = ANM2::IsPlaying(&npc->_sprite,(byte *)"OpenMouth"); - if ((bVar5 != 0) && (cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite), cVar6 != '\0')) - { + if ((bVar5 != 0) && + (cVar6 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"SkinPull"), cVar6 != '\0')) { SoundEffects::PlayWithFartOverride(0x1a5,2,0,0x3f800000); } - cVar6 = ANM2::IsFinishedImpl(&npc->_sprite); + cVar6 = ANM2::IsFinishedImpl(&npc->_sprite,"OpenMouth"); if (cVar6 != '\0') { ANM2::Play(&npc->_sprite,(byte *)"OpenMouthLoop",0); uVar7 = Random(); @@ -124181,13 +124308,13 @@ LAB_004c2856: bVar5 = ANM2::IsPlaying(&npc->_sprite,(byte *)"OpenMouthLoop"); if (((bVar5 == 0) || ((int)npc->_updateTime - (int)npc->_prevUpdateTime < 1)) || (uVar7 = Random(), (uVar7 & 3) != 0)) { - cVar6 = ANM2::IsFinishedImpl(&npc->_sprite); + cVar6 = ANM2::IsFinishedImpl(&npc->_sprite,"CloseMouth"); if (cVar6 != '\0') { npc->_state = 700; ANM2::Play(&npc->_sprite,(byte *)"TurnConcave",0); - pfVar18 = (float *)Room::GetRandomPosition(local_2adc,npc->_size * 1.3); - (npc->_targetPosition).x = *pfVar18; - (npc->_targetPosition).y = pfVar18[1]; + pfVar19 = (float *)Room::GetRandomPosition(local_2adc,npc->_size * 1.3); + (npc->_targetPosition).x = *pfVar19; + (npc->_targetPosition).y = pfVar19[1]; uVar7 = Random(); npc->_i2 = uVar7 | 1; } @@ -124204,17 +124331,17 @@ LAB_004c2856: fVar30 = 1.0; } local_2938 = (fVar30 * 8.0 - 3.0) / 0.65 + (npc->_pos).x; - pfVar18 = (float *)Room::FindFreePickupSpawnPosition(local_2b04,&local_2938,0,1,0,0); - local_2938 = *pfVar18; - local_2934 = pfVar18[1]; - pEVar38 = Entity_NPC::GetPlayerTarget(npc); - local_29bc = (pEVar38->_pos).x - (npc->_pos).x; - local_29b8 = (pEVar38->_pos).y - (npc->_pos).y; - pfVar18 = (float *)Vector::Normalized(); - local_30 = (undefined4 *)(pfVar18[1] * 3.0); - local_38._4_4_ = *pfVar18 * 3.0; - uVar17 = Random(); - local_28ec = (byte *)Game::Spawn(0x129,3,&local_2938,(int)&local_38 + 4,npc,0,uVar17); + pfVar19 = (float *)Room::FindFreePickupSpawnPosition(local_2b04,&local_2938,0,1,0,0); + local_2938 = *pfVar19; + local_2934 = pfVar19[1]; + pEVar37 = Entity_NPC::GetPlayerTarget(npc); + local_29bc = (pEVar37->_pos).x - (npc->_pos).x; + local_29b8 = (pEVar37->_pos).y - (npc->_pos).y; + pfVar19 = (float *)Vector::Normalized(local_2ae4); + local_30 = (undefined4 *)(pfVar19[1] * 3.0); + local_38._4_4_ = *pfVar19 * 3.0; + uVar18 = Random(); + local_28ec = (byte *)Game::Spawn(0x129,3,&local_2938,(int)&local_38 + 4,npc,0,uVar18); iVar12 = Random(); fVar30 = (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 - 0.0; @@ -124242,9 +124369,9 @@ LAB_004c2856: local_28ec[0x18a] = 0; local_28ec[0x18b] = 0; (**(code **)(*(int *)local_28ec + 0xc))(); - puVar15 = (undefined4 *)Vector::Resized(local_2afc,0x40e00000); - *(undefined4 *)(local_28ec + 0x360) = *puVar15; - *(undefined4 *)(local_28ec + 0x364) = puVar15[1]; + puVar16 = (undefined4 *)Vector::Resized(local_2afc,0x40e00000); + *(undefined4 *)(local_28ec + 0x360) = *puVar16; + *(undefined4 *)(local_28ec + 0x364) = puVar16[1]; iVar12 = npc->_i2; if (iVar12 < 1) { ANM2::Play(&npc->_sprite,(byte *)"CloseMouth",0); @@ -124262,9 +124389,9 @@ LAB_004c3175: local_28cc = (ANM2 *)(&PTR_s_FaceAppearLeft_00b6015c)[iVar12]; bVar5 = ANM2::IsPlaying(&npc->_sprite,pbVar9); if (bVar5 == 0) { - cVar6 = ANM2::IsFinishedImpl(&npc->_sprite); + cVar6 = ANM2::IsFinishedImpl(&npc->_sprite,local_2908); if (cVar6 == '\0') { - cVar6 = ANM2::IsFinishedImpl(&npc->_sprite); + cVar6 = ANM2::IsFinishedImpl(&npc->_sprite,local_28cc); if (cVar6 != '\0') { ANM2::Play(&npc->_sprite,pbVar9,0); uVar7 = Random(); @@ -124273,9 +124400,9 @@ LAB_004c3175: } else { if (npc->_i2 == 0) { - pEVar38 = Entity_NPC::GetPlayerTarget(npc); - local_30 = (undefined4 *)((pEVar38->_pos).y - (npc->_pos).y); - local_38._4_4_ = (pEVar38->_pos).x - (npc->_pos).x; + pEVar37 = Entity_NPC::GetPlayerTarget(npc); + local_30 = (undefined4 *)((pEVar37->_pos).y - (npc->_pos).y); + local_38._4_4_ = (pEVar37->_pos).x - (npc->_pos).x; uVar7 = vector_to_direction(); } else { @@ -124298,101 +124425,102 @@ LAB_004c3175: local_2770._88_4_ = 131072.0; local_2770._92_4_ = (void *)0x0; local_2770._36_4_ = (void *)0x3f80c49c; - Color::Color(); - Color::operator_assign(); + uVar18 = Color::Color(); + Color::operator_assign(uVar18); local_2770._20_4_ = (void *)0x3fc00000; iVar12 = 0; do { if (iVar12 == 0) { - pvVar24 = (npc->_sprite)._animState._animData; -joined_r0x004c331a: - if (pvVar24 != (void *)0x0) { -LAB_004c3322: - local_28e8 = (Entity *)AnimationState::GetNullFrameById(&(npc->_sprite)._animState); - this = local_28f0; - if (local_28e8 != (Entity *)0x0) { - local_a0 = 0xbf860a92; - local_38._4_4_ = &local_94; - local_38._0_4_ = (int)&local_a0; - local_30 = &local_88; - local_9c = 0x3f860a92; - local_98 = 0; - local_94 = 0xbf567750; - local_90 = 0x3f567750; - local_8c = 0x3e0efa35; - local_88 = 0xbf1c61ab; - local_84 = 0x3f1c61ab; - local_80 = 0xbe0efa35; - local_28ec = (byte *)(((g_game->_frameCount - npc->_spawnFrame) / 7) % 3); - local_28e0 = (Entity *)npc->_i1; - pvVar24 = (void *)(local_2770._92_4_ & 0xfffffffe); - local_2770._88_4_ = local_2770._88_4_ & 0xfff3ffff; - pAVar32 = (ANM2 *)((float)(int)((int)&local_28e0[-1]._luaBridgeRef + 2) * 1.5707964 - + *(float *)(*(int *)((int)&local_38 + (int)local_28ec * 4) + - iVar12 * 4)); - local_28cc = (ANM2 *)((uint)local_28e0 & 1); - if (local_28cc == (ANM2 *)0x0) { - fVar30 = 0.0026; - } - else { - fVar30 = 0.0014; - } - local_7c = 0x34; - local_28c4 = (Entity *)&local_7c; - if (local_28cc != (ANM2 *)0x0) { - local_28c4 = (Entity *)&local_70; - } - local_78 = 0x28; - local_74 = (void *)0x20; - local_70 = &DAT_00000050; - local_6c = (void *)0x44; - local_68 = (void *)0x38; - if (iVar12 == 1) { - fVar36 = (float)(local_2770._88_4_ | 0x40000); -LAB_004c34a4: - local_26f0 = (void *)(local_2770._88_4_ | 0x400000); - local_26e4 = *(float *)((int)(&(local_28c4->_sprite)._filename + -3) + - (int)local_28ec * 4); - local_26f4 = (void *)-(int)local_26e4; - local_2770._32_4_ = fVar30; - local_2770._88_4_ = fVar36; - local_2770._92_4_ = (void *)((uint)pvVar24 | 1); - local_26ec = pvVar24; - } - else { - local_2770._92_4_ = pvVar24; - if (iVar12 == 0) { - fVar36 = (float)(local_2770._88_4_ | 0x80000); - goto LAB_004c34a4; - } - } - local_2904 = pAVar32; - sin(); - auVar34 = ZEXT416(local_2904); - local_28cc = pAVar32; - cos(); - local_26e0 = 30.0; - local_2770._96_4_ = *(float *)local_28e8 / 0.65 + 0.0; - local_270c = (void *)(*(float *)&local_28e8->field_0x4 / 0.65 + 23.0); - if (local_28e0 != (Entity *)0x1) { - local_26e0 = 20.0; - } - local_29c4.x = auVar34._0_4_ * 6.0; - local_29c4.y = (float)local_28cc * 6.0; - Entity_NPC::FireProjectiles - (this,&this->_pos,&local_29c4,0,(ProjectileParams *)local_2770); - npc = this; - } + if ((npc->_sprite)._animState._animData != (void *)0x0) { + uVar18 = 0; + goto LAB_004c3322; } } - else { - if (iVar12 == 1) { - pvVar24 = (npc->_sprite)._animState._animData; - goto joined_r0x004c331a; + else if (iVar12 == 1) { + if ((npc->_sprite)._animState._animData != (void *)0x0) { + uVar18 = 1; + goto LAB_004c3322; } - if (iVar12 == 2) { - if ((npc->_sprite)._animState._animData != (void *)0x0) goto LAB_004c3322; - break; + } + else if (iVar12 == 2) { + if ((npc->_sprite)._animState._animData == (void *)0x0) break; + uVar18 = 2; +LAB_004c3322: + local_28e8 = (Entity *) + AnimationState::GetNullFrameById(&(npc->_sprite)._animState,uVar18); + this = local_28f0; + if (local_28e8 != (Entity *)0x0) { + local_a0 = 0xbf860a92; + local_38._4_4_ = &local_94; + local_38._0_4_ = (int)&local_a0; + local_30 = &local_88; + local_9c = 0x3f860a92; + local_98 = 0; + local_94 = 0xbf567750; + local_90 = 0x3f567750; + local_8c = 0x3e0efa35; + local_88 = 0xbf1c61ab; + local_84 = 0x3f1c61ab; + local_80 = 0xbe0efa35; + local_28ec = (byte *)(((g_game->_frameCount - npc->_spawnFrame) / 7) % 3); + local_28e0 = (Entity *)npc->_i1; + pvVar25 = (void *)(local_2770._92_4_ & 0xfffffffe); + local_2770._88_4_ = local_2770._88_4_ & 0xfff3ffff; + pAVar14 = (ANM2 *)((float)(int)((int)&local_28e0[-1]._luaBridgeRef + 2) * 1.5707964 + + *(float *)(*(int *)((int)&local_38 + (int)local_28ec * 4) + + iVar12 * 4)); + local_28cc = (ANM2 *)((uint)local_28e0 & 1); + if (local_28cc == (ANM2 *)0x0) { + fVar30 = 0.0026; + } + else { + fVar30 = 0.0014; + } + local_7c = 0x34; + local_28c4 = (Entity *)&local_7c; + if (local_28cc != (ANM2 *)0x0) { + local_28c4 = (Entity *)&local_70; + } + local_78 = 0x28; + local_74 = (void *)0x20; + local_70 = &DAT_00000050; + local_6c = (void *)0x44; + local_68 = (void *)0x38; + if (iVar12 == 1) { + fVar35 = (float)(local_2770._88_4_ | 0x40000); +LAB_004c34a4: + local_26f0 = (void *)(local_2770._88_4_ | 0x400000); + local_26e4 = *(float *)((int)(&(local_28c4->_sprite)._filename + -3) + + (int)local_28ec * 4); + local_26f4 = (void *)-(int)local_26e4; + local_2770._32_4_ = fVar30; + local_2770._88_4_ = fVar35; + local_2770._92_4_ = (void *)((uint)pvVar25 | 1); + local_26ec = pvVar25; + } + else { + local_2770._92_4_ = pvVar25; + if (iVar12 == 0) { + fVar35 = (float)(local_2770._88_4_ | 0x80000); + goto LAB_004c34a4; + } + } + local_2904 = pAVar14; + sin(); + auVar33 = ZEXT416(local_2904); + local_28cc = pAVar14; + cos(); + local_26e0 = 30.0; + local_2770._96_4_ = *(float *)local_28e8 / 0.65 + 0.0; + local_270c = (void *)(*(float *)&local_28e8->field_0x4 / 0.65 + 23.0); + if (local_28e0 != (Entity *)0x1) { + local_26e0 = 20.0; + } + local_29c4.x = auVar33._0_4_ * 6.0; + local_29c4.y = (float)local_28cc * 6.0; + Entity_NPC::FireProjectiles + (this,&this->_pos,&local_29c4,0,(ProjectileParams *)local_2770); + npc = this; } } iVar12 = iVar12 + 1; @@ -124410,7 +124538,7 @@ LAB_004c34a4: goto LAB_004c5097; } if (iVar12 != 500) goto LAB_004c5097; - cVar6 = ANM2::IsFinishedImpl(&npc->_sprite); + cVar6 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); if (cVar6 != '\0') { npc->_i2 = 500; npc->_state = 3; @@ -124420,11 +124548,11 @@ LAB_004c34a4: iVar12 = ANM2::GetFrame(&npc->_sprite); if ((iVar12 < 4) || (iVar12 = ANM2::GetFrame(&npc->_sprite), 0x14 < iVar12)) goto LAB_004c5097; SoundEffects::PlayWithFartOverride(0x136,0x14,0,0x3f800000); - pvVar24 = g_game->_room; - local_2908 = *(Entity **)((int)pvVar24 + 0x14); - local_28ec = *(byte **)((int)pvVar24 + 0x18); - local_28e0 = *(Entity **)((int)pvVar24 + 0x1c); - local_290c = *(byte **)((int)pvVar24 + 0x20); + pvVar25 = g_game->_room; + local_2908 = *(Entity **)((int)pvVar25 + 0x14); + local_28ec = *(byte **)((int)pvVar25 + 0x18); + local_28e0 = *(Entity **)((int)pvVar25 + 0x1c); + local_290c = *(byte **)((int)pvVar25 + 0x20); local_2920 = (Entity *)g_vectorZero.x; local_291c = (byte *)g_vectorZero.y; local_28dc = (WeightedOutcomePicker)0x0; @@ -124468,25 +124596,25 @@ LAB_004c3982: local_2920 = (Entity *)(fVar30 + (float)local_2908); } iVar12 = Random(); - pAVar32 = (ANM2 *)((float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * + pAVar14 = (ANM2 *)((float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 * ((float)local_28e4 - (float)local_28dc) + (float)local_28dc); - local_28cc = pAVar32; + local_28cc = pAVar14; sin(); - local_2904 = pAVar32; + local_2904 = pAVar14; cos(); iVar12 = Random(); fVar30 = (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10; local_2920 = (Entity *)((float)local_2920 + fVar30 * (float)local_28cc * 60.0); local_291c = (byte *)((float)local_291c + fVar30 * (float)local_2904 * 60.0); - uVar17 = Random(); - piVar14 = (int *)Game::Spawn(1000,0x16,&local_2920,&g_vectorZero,npc,0,uVar17); + uVar18 = Random(); + piVar15 = (int *)Game::Spawn(1000,0x16,&local_2920,&g_vectorZero,npc,0,uVar18); iVar12 = Random(); - pcVar2 = *(code **)(*piVar14 + 0xc); + pcVar2 = *(code **)(*piVar15 + 0xc); fVar30 = (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 + 2.0 ; - fVar36 = fVar30 * g_vectorOne.y; - piVar14[0x39] = (int)(fVar30 * g_vectorOne.x); - piVar14[0x3a] = (int)fVar36; + fVar35 = fVar30 * g_vectorOne.y; + piVar15[0x39] = (int)(fVar30 * g_vectorOne.x); + piVar15[0x3a] = (int)fVar35; (*pcVar2)(); Game::ShakeScreen(g_game,4); LAB_004c5097: @@ -124504,21 +124632,21 @@ LAB_004c5113: if (0xf < *(uint *)(pbVar9 + 0x14)) { pbVar9 = *(byte **)pbVar9; } - pcVar19 = "TurnConcave"; + pcVar20 = "TurnConcave"; do { bVar5 = *pbVar9; - bVar28 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) { + bVar28 = bVar5 < (byte)*pcVar20; + if (bVar5 != *pcVar20) { LAB_004c5103: uVar7 = -(uint)bVar28 | 1; goto LAB_004c5108; } if (bVar5 == 0) break; bVar5 = pbVar9[1]; - bVar28 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_004c5103; + bVar28 = bVar5 < (byte)pcVar20[1]; + if (bVar5 != pcVar20[1]) goto LAB_004c5103; pbVar9 = pbVar9 + 2; - pcVar19 = pcVar19 + 2; + pcVar20 = pcVar20 + 2; } while (bVar5 != 0); uVar7 = 0; LAB_004c5108: @@ -124530,12 +124658,12 @@ LAB_004c5108: if ((int)(g_game->_playerManager)._playerList._end - (int)(this_00->_playerList)._begin >> 2 != 0) { do { - pEVar16 = PlayerManager::GetPlayer(this_00,uVar7); - local_30 = (undefined4 *)(npc->_size * 0.75 + pEVar16->_size); - pEVar16 = PlayerManager::GetPlayer(&g_game->_playerManager,uVar7); - fVar36 = (npc->_pos).x - (pEVar16->_pos).x; - fVar30 = (npc->_pos).y - (pEVar16->_pos).y; - if (fVar30 * fVar30 + fVar36 * fVar36 < (float)local_30 * (float)local_30) { + pEVar17 = PlayerManager::GetPlayer(this_00,uVar7); + local_30 = (undefined4 *)(npc->_size * 0.75 + pEVar17->_size); + pEVar17 = PlayerManager::GetPlayer(&g_game->_playerManager,uVar7); + fVar35 = (npc->_pos).x - (pEVar17->_pos).x; + fVar30 = (npc->_pos).y - (pEVar17->_pos).y; + if (fVar30 * fVar30 + fVar35 * fVar35 < (float)local_30 * (float)local_30) { if (local_28c5 != '\0') { ANM2::Play(&npc->_sprite,(byte *)"BecomeConvex",0); npc->_i2 = npc->_state; @@ -124555,7 +124683,7 @@ LAB_004c5233: uVar7 = 0; local_28c4 = (Entity *)0x0; local_30 = g_game->_room; - pGVar22 = g_game; + pGVar23 = g_game; if (local_30[0x499] != 0) { do { iVar12 = *(int *)(local_30[0x497] + uVar7 * 4); @@ -124563,8 +124691,8 @@ LAB_004c5233: (*(char *)(iVar12 + 0x173) == '\0')) { local_29dc = *(undefined4 *)(iVar12 + 0x33c); local_29d8 = *(undefined4 *)(iVar12 + 0x340); - cVar6 = Room::IsPositionInRoom(pGVar22->_room,&local_29dc,0); - pGVar22 = g_game; + cVar6 = Room::IsPositionInRoom(pGVar23->_room,&local_29dc,0); + pGVar23 = g_game; if (cVar6 != '\0') { local_28c4 = (Entity *)&local_28c4->field_0x1; } @@ -124581,8 +124709,8 @@ LAB_004c5233: cVar6 = Entity::IsFrame((Entity *)npc,10,0); if ((cVar6 != '\0') && (uVar7 = Random(), (uVar7 & 7) == 0)) { fVar30 = (npc->_velocity).x; - fVar36 = (npc->_velocity).y; - fVar30 = fVar30 * fVar30 + fVar36 * fVar36; + fVar35 = (npc->_velocity).y; + fVar30 = fVar30 * fVar30 + fVar35 * fVar35; sqrtf(); if ((0.5 < fVar30) && (local_2ab8 < 10)) { if (fVar30 <= 0.0) { @@ -124603,50 +124731,51 @@ LAB_004c5233: if (1.0 <= fVar30) { fVar30 = 1.0; } - puVar33 = (undefined4 *)((fVar30 * 90.0 - 45.0) * 0.017453292); - local_30 = puVar33; + puVar32 = (undefined4 *)((fVar30 * 90.0 - 45.0) * 0.017453292); + local_30 = puVar32; cos(); - puVar15 = local_30; - local_293c = puVar33; + puVar16 = local_30; + local_293c = puVar32; sin(); - fVar30 = local_2930 * (float)puVar15; - local_2930 = (local_2930 * (float)local_293c - local_292c * (float)puVar15) + (npc->_pos).x; + fVar30 = local_2930 * (float)puVar16; + local_2930 = (local_2930 * (float)local_293c - local_292c * (float)puVar16) + (npc->_pos).x; local_292c = local_292c * (float)local_293c + fVar30 + (npc->_pos).y; - uVar17 = Random(); - uVar41 = 0xc5d5ac; - pTVar44 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar43 = 0; - uVar17 = Game::Spawn(1000,0xf,&local_2930,&g_vectorZero,0,3,uVar17); - __RTDynamicCast(uVar17,uVar43,pTVar44,uVar41); + uVar18 = Random(); + uVar45 = 0; + pTVar44 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; + pTVar43 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar42 = 0; + uVar18 = Game::Spawn(1000,0xf,&local_2930,&g_vectorZero,0,3,uVar18); + __RTDynamicCast(uVar18,uVar42,pTVar43,pTVar44,uVar45); Entity_NPC::PlaySound(npc,0x109,1.0,2,0,1.0); - uVar17 = Random(); - Game::Spawn(0x12a,0,&local_2930,&g_vectorZero,npc,0,uVar17); + uVar18 = Random(); + Game::Spawn(0x12a,0,&local_2930,&g_vectorZero,npc,0,uVar18); } } iVar12 = npc->_state; if (iVar12 == 0x2d0) { - pfVar18 = (float *)Entity_NPC::CalcTargetPosition(local_2aec,0); - (npc->_targetPosition).x = *pfVar18; - (npc->_targetPosition).y = pfVar18[1]; + pfVar19 = (float *)Entity_NPC::CalcTargetPosition(local_2aec,0); + (npc->_targetPosition).x = *pfVar19; + (npc->_targetPosition).y = pfVar19[1]; (npc->_v1).x = 0.0; iVar12 = npc->_state; } if (iVar12 != 700) { if (iVar12 == 0x2c6) { fVar30 = (npc->_pos).y - (npc->_targetPosition).y; - fVar36 = (npc->_pos).x - (npc->_targetPosition).x; - fVar30 = fVar30 * fVar30 + fVar36 * fVar36; + fVar35 = (npc->_pos).x - (npc->_targetPosition).x; + fVar30 = fVar30 * fVar30 + fVar35 * fVar35; sqrtf(); if (10.0 <= fVar30) { - iVar20 = npc->_stateFrame; + iVar21 = npc->_stateFrame; goto joined_r0x004c56ac; } } else { if (iVar12 != 0x2d0) goto LAB_004c566c; - iVar20 = npc->_stateFrame; + iVar21 = npc->_stateFrame; joined_r0x004c56ac: - if (iVar20 < 0x5b) goto LAB_004c566c; + if (iVar21 < 0x5b) goto LAB_004c566c; } if ((npc->_i2 & 0xfU) == 0) { (npc->_targetPosition).x = (npc->_pos).x; @@ -124659,26 +124788,26 @@ joined_r0x004c56ac: npc->_i2 = npc->_i2 - 1; uVar7 = Random(); npc->_i2 = uVar7 & 0xfffffff0 ^ npc->_i2 | 0x10; - pfVar18 = (float *)Room::GetRandomPosition(local_2af4,npc->_size * 1.3); - (npc->_targetPosition).x = *pfVar18; - (npc->_targetPosition).y = pfVar18[1]; + pfVar19 = (float *)Room::GetRandomPosition(local_2af4,npc->_size * 1.3); + (npc->_targetPosition).x = *pfVar19; + (npc->_targetPosition).y = pfVar19[1]; } goto LAB_004c5765; } fVar30 = (npc->_pos).y - (npc->_targetPosition).y; - fVar36 = (npc->_pos).x - (npc->_targetPosition).x; - fVar30 = fVar30 * fVar30 + fVar36 * fVar36; + fVar35 = (npc->_pos).x - (npc->_targetPosition).x; + fVar30 = fVar30 * fVar30 + fVar35 * fVar35; sqrtf(); - if ((10.0 <= fVar30) && (iVar20 = FUN_0041b690(0x129,0xffffffff,0xffffffff), 2 < iVar20)) { + if ((10.0 <= fVar30) && (iVar21 = FUN_0041b690(0x129,0xffffffff,0xffffffff), 2 < iVar21)) { LAB_004c566c: if (local_28c5 != '\0') { if ((iVar12 == 0x2c6) || (iVar12 == 0x2d0)) { - pcVar19 = "MovingConcaveEyesOpen"; + pcVar20 = "MovingConcaveEyesOpen"; } else { - pcVar19 = "MovingConcave"; + pcVar20 = "MovingConcave"; } - ANM2::Play(local_28cc,(byte *)pcVar19,0); + ANM2::Play(local_28cc,(byte *)pcVar20,0); } goto LAB_004c5765; } @@ -126065,20 +126194,17 @@ void __fastcall NpcAI::ENTITY_MEGA_SATAN(Entity_NPC *npc) float local_6c; undefined8 local_68; float local_60; - undefined1 local_50 [28]; - float local_34; - float local_30; - void *local_2c; + EntityRef local_50; uint local_24; undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; undefined4 local_14; - puStack_20 = local_50 + 0x4c; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); puStack_18 = &LAB_00af36db; local_1c = ExceptionList; - uVar9 = __security_cookie ^ (uint)(local_50 + 0x40); + uVar9 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; if (npc->_state == 0) { *(uint *)&npc->_flags = (uint)npc->_flags | 0x40000; @@ -126218,16 +126344,16 @@ LAB_004c84af: (**(code **)(*local_28c + 0x24))(); } if (local_288 != (int *)0x0) { - local_50._0_4_ = 0.0; - local_50._4_4_ = 0.0; - local_50._8_4_ = 0.0; - local_50._12_4_ = 0.0; - local_50._16_4_ = g_vectorZero.x; - local_50._20_4_ = g_vectorZero.y; - local_50._24_4_ = g_vectorZero.x; - local_34 = g_vectorZero.y; - local_30 = 0.0; - local_2c = (void *)0x0; + local_50._type = 0; + local_50._variant = 0; + local_50._spawnerType = 0; + local_50._spawnerVariant = 0; + local_50._position.x = g_vectorZero.x; + local_50._position.y = g_vectorZero.y; + local_50._velocity.x = g_vectorZero.x; + local_50._velocity.y = g_vectorZero.y; + local_50._flags = 0; + local_50._entity = (void *)0x0; (**(code **)(*local_288 + 0x24))(); } npc->_state = 0x10; @@ -127840,7 +127966,7 @@ LAB_004cad22: pEVar17 = local_134; if ((byte)(cVar7 - 2U) < 3) { local_190._24_4_ = - (float)npc->_stateFrame * *(float *)(local_50 + (int)local_250 * 4 + -0x18); + (float)npc->_stateFrame * *(float *)((int)&local_68 + (int)local_250 * 4); local_190._88_4_ = pEVar31; } else { @@ -127849,21 +127975,21 @@ LAB_004cad22: uVar14 = (int)uVar9 >> 0x1f; local_190._24_4_ = ((float)(int)((uVar9 ^ uVar14) - uVar14) * - *(float *)(local_50 + (int)local_250 * 4 + -0x18)) / (float)((int)local_254 / 2); + *(float *)((int)&local_68 + (int)local_250 * 4)) / (float)((int)local_254 / 2); local_190._88_4_ = pEVar31; } else { if (cVar7 != '\t') { if (cVar7 == '\n') { local_190._24_4_ = - (float)npc->_stateFrame * *(float *)(local_50 + (int)local_250 * 4 + -0x18); + (float)npc->_stateFrame * *(float *)((int)&local_68 + (int)local_250 * 4); pEVar31 = (Entity_NPC *)(local_190._88_4_ | 0x10080); local_190._88_4_ = (Entity_NPC *)(local_190._88_4_ | 0x10080); } else if ((byte)(cVar7 - 0xbU) < 7) { local_23c = (Entity_NPC *)0x40000; local_190._24_4_ = - (float)npc->_stateFrame * *(float *)(local_50 + (int)local_250 * 4 + -0x18); + (float)npc->_stateFrame * *(float *)((int)&local_68 + (int)local_250 * 4); if (((uint)local_250 & 1) == 0) { local_23c = (Entity_NPC *)0x80000; } @@ -127889,12 +128015,12 @@ LAB_004cad22: } else if ((byte)(cVar7 - 0x12U) < 3) { local_190._24_4_ = - *(float *)(local_50 + (int)local_250 * 4 + -0x18) * (float)npc->_stateFrame; + *(float *)((int)&local_68 + (int)local_250 * 4) * (float)npc->_stateFrame; if (cVar7 == '\x13') { fVar35 = ((float)npc->_stateFrame * 6.2831855) / (float)(int)local_254; local_190._88_4_ = pEVar31; cos(); - local_190._24_4_ = fVar35 * *(float *)(local_50 + (int)local_250 * 4 + -0x18); + local_190._24_4_ = fVar35 * *(float *)((int)&local_68 + (int)local_250 * 4); } local_190._12_4_ = (void *)0xbdae147b; pEVar17 = local_23c; @@ -127904,12 +128030,12 @@ LAB_004cad22: } else if ((byte)(cVar7 - 0x15U) < 3) { local_190._24_4_ = - *(float *)(local_50 + (int)local_250 * 4 + -0x18) * (float)npc->_stateFrame; + *(float *)((int)&local_68 + (int)local_250 * 4) * (float)npc->_stateFrame; if ((cVar7 == '\x16') || (cVar7 == '\x17')) { fVar35 = ((float)npc->_stateFrame * 6.2831855) / (float)(int)local_254; local_190._88_4_ = pEVar31; cos(); - local_190._24_4_ = fVar35 * *(float *)(local_50 + (int)local_250 * 4 + -0x18); + local_190._24_4_ = fVar35 * *(float *)((int)&local_68 + (int)local_250 * 4); if (((uint)local_250 & 1) == 0) { local_190._24_4_ = 3.1415927 / (float)(int)local_268 + (float)local_190._24_4_ ; @@ -127927,7 +128053,7 @@ LAB_004cad22: local_190._88_4_ = pEVar31; cos(); local_190._12_4_ = (void *)0xbdae147b; - local_190._24_4_ = fVar35 * *(float *)(local_50 + (int)local_250 * 4 + -0x18); + local_190._24_4_ = fVar35 * *(float *)((int)&local_68 + (int)local_250 * 4); goto LAB_004cae53; } local_190._88_4_ = pEVar31; @@ -127935,7 +128061,7 @@ LAB_004cad22: if (cVar7 == '\x19') { fVar35 = ((float)npc->_stateFrame * 6.2831855) / (float)(int)local_254; cos(); - local_190._24_4_ = fVar35 * *(float *)(local_50 + (int)local_250 * 4 + -0x18); + local_190._24_4_ = fVar35 * *(float *)((int)&local_68 + (int)local_250 * 4); if (local_250 == (code *)0x1) goto LAB_004cae53; cVar7 = *(char *)((int)&npc->_i1 + 1); } @@ -127955,7 +128081,7 @@ LAB_004cad22: } local_190._24_4_ = (float)(npc->_stateFrame - npc->_stateFrame % (int)local_278) * - *(float *)(local_50 + (int)local_250 * 4 + -0x18); + *(float *)((int)&local_68 + (int)local_250 * 4); local_190._88_4_ = pEVar31; } LAB_004cae53: @@ -128612,7 +128738,7 @@ LAB_004cc351: local_260 = *(Entity_NPC **)((int)local_244[1]._knockbackDirection.x + (int)EVar33 * 4); if ((local_260->_type != 0x112) && (local_260->_type != 0x113)) { pcVar27 = *(code **)(*(int *)local_260 + 0x24); - EntityRef::constructor((EntityRef *)local_50,(Entity *)npc); + EntityRef::constructor(&local_50,(Entity *)npc); (*pcVar27)(); EVar33 = local_25c; } @@ -135156,10 +135282,9 @@ void __fastcall NpcAI::ENTITY_MOMS_HEART_mausoleum_death(Entity_NPC *npc) seed_fart_sound_override(uVar8); SoundEffects::Play(&pMVar6->_sfxManager,(int)local_14,1.8,2,0,0.8,0.0); pMVar6 = g_manager; - *(undefined4 *) - ((int)&g_manager->_optionsConfig + *(int *)&g_manager->_musicManager * 0x184 + -0x204) = 0; - *(undefined4 *)((int)&pMVar6->_optionsConfig + *(int *)&pMVar6->_musicManager * 0x184 + -0x200) - = 0x3da3d70a; + (g_manager->_musicManager)._channels[(g_manager->_musicManager)._currentChannel]._targetVolume = + 0.0; + (pMVar6->_musicManager)._channels[(pMVar6->_musicManager)._currentChannel]._fadeRate = 0.08; (pMVar6->_musicManager)._queuedMusicID = 0; pGVar5 = g_game; qVar4 = g_game->_gameStateFlags; @@ -135168,7 +135293,7 @@ void __fastcall NpcAI::ENTITY_MOMS_HEART_mausoleum_death(Entity_NPC *npc) uVar8 = 0; *(int *)&pGVar5->_gameStateFlags = (int)qVar4; do { - piVar18 = (int *)((int)&g_game->_roomList[0].GridIndex + uVar8); + piVar18 = (int *)((int)g_game->_roomList[0]._doors + (uVar8 - 0x1c)); if ((((piVar18[4] != 0) && (piVar18 != *(int **)((int)g_game->_room + 4))) && (*(int *)(piVar18[4] + 8) != 0x1d)) && (*piVar18 != -0x14)) { piVar18[0x11] = piVar18[0x11] | 9; @@ -135319,12 +135444,12 @@ void __fastcall NpcAI::ENTITY_MOMS_HEART_mausoleum_death(Entity_NPC *npc) uStack_bc = 0xffffffff; uVar8 = uVar8 << (bVar13 & 0x1f) ^ uVar8; uVar8 = uVar8 >> (bVar14 & 0x1f) ^ uVar8; - iVar11 = *(int *)((int)&local_48->_roomList[0].SavedEntities._end + local_4c); + iVar11 = *(int *)((int)local_48->_roomList[0]._doors + local_4c + 0x5c); fVar21 = (float)((double)(int)uVar8 + __uint_to_double_fixup[-((int)uVar8 >> 0x1f)]) * 2.3283062e-10 * 40.0; local_a8 = fVar21 * local_38 + local_1c; local_ac = fVar21 * local_18 + local_3c; - if (iVar11 == *(int *)((int)&local_48->_roomList[0].SavedEntities._capacity + local_4c)) { + if (iVar11 == *(int *)((int)local_48->_roomList[0]._doors + local_4c + 0x60)) { std::vector::_Emplace_reallocate(iVar11,&local_d4); } else { @@ -135467,12 +135592,12 @@ void __fastcall NpcAI::ENTITY_MOMS_HEART_mausoleum_death(Entity_NPC *npc) uVar8 = uVar8 >> ((byte)local_30 & 0x1f) ^ uVar8; uVar8 = uVar8 << (bVar13 & 0x1f) ^ uVar8; uVar8 = uVar8 >> (bVar14 & 0x1f) ^ uVar8; - iVar11 = *(int *)((int)&local_48->_roomList[0].SavedEntities._end + local_4c); + iVar11 = *(int *)((int)local_48->_roomList[0]._doors + local_4c + 0x5c); fVar21 = (float)((double)(int)uVar8 + __uint_to_double_fixup[-((int)uVar8 >> 0x1f)]) * 2.3283062e-10 * 40.0; local_120 = fVar21 * local_3c + local_18; local_124 = fVar21 * local_1c + local_38; - if (iVar11 == *(int *)((int)&local_48->_roomList[0].SavedEntities._capacity + local_4c)) { + if (iVar11 == *(int *)((int)local_48->_roomList[0]._doors + local_4c + 0x60)) { std::vector::_Emplace_reallocate(iVar11,&local_14c); } else { @@ -136079,12 +136204,10 @@ bool FUN_004d7760(void) /* ZHL [lua] Lua binding EntityEffect:Scale */ -float10 Entity_Effect::Scale(void) +float10 __thiscall Entity_Effect::Scale(Entity_Effect *this) { - int in_ECX; - - return (float10)*(float *)(in_ECX + 0x478); + return (float10)this->_scale; } @@ -140922,9 +141045,14 @@ void FUN_004e07a0(float *param_1) } -//@@ 004e0930 FUN_004e0930 +//@@ 004e0930 NpcHelper::gutted_fatty_burst_projectiles -void FUN_004e0930(int param_1) +/* DB: ? Entity_Effect::CreateTimer callback (mov ecx,0x4e0930 / call 0x60af00 inside + NpcAI::ENTITY_GUTTED_FATTY 004e0dd0, type 831): 2+2 Game::SpawnEx(9 projectile) at the timer's + position with random angle/speed, FallingSpeed/Accel randomised, + Entity_Projectile::apply_spawn_flags */ + +void NpcHelper::gutted_fatty_burst_projectiles(int param_1) { float fVar1; @@ -141082,8 +141210,6 @@ void __fastcall NpcAI::ENTITY_GUTTED_FATTY(Entity_NPC *npc) uint local_3c; char local_38 [4]; RNG local_34; - undefined8 local_30; - uint local_28; uint local_24; undefined1 *puStack_20; void *local_1c; @@ -141296,9 +141422,10 @@ void __fastcall NpcAI::ENTITY_GUTTED_FATTY(Entity_NPC *npc) Random(); Entity_NPC::MakeSplat(npc); } - local_34 = (RNG)npc->_initSeed; - local_28 = 7; - local_30 = 0x900000005; + local_34._seed = npc->_initSeed; + local_34._shift3 = 7; + local_34._shift1 = 5; + local_34._shift2 = 9; Entity_NPC::CalcTargetPosition(&local_c4,0); EVar3 = npc->_parent; if (EVar3 == (EntityPtr)0x0) { @@ -141361,9 +141488,9 @@ void __fastcall NpcAI::ENTITY_GUTTED_FATTY(Entity_NPC *npc) local_d0 = (Entity *)0x0; Entity_NPC::QueryNPCsType(&local_34,npc->_type,npc->_variant); uVar6 = 0; - if (local_28 != 0) { + if (local_34._shift3 != 0) { do { - pEVar18 = *(Entity_NPC **)((int)local_30 + uVar6 * 4); + pEVar18 = *(Entity_NPC **)(local_34._shift1 + uVar6 * 4); if (pEVar18 != npc) { local_d8 = (Entity *)((npc->_pos).y - (pEVar18->_pos).y); local_e0 = (npc->_pos).x - (pEVar18->_pos).x; @@ -141377,7 +141504,7 @@ void __fastcall NpcAI::ENTITY_GUTTED_FATTY(Entity_NPC *npc) } } uVar6 = uVar6 + 1; - } while (uVar6 < local_28); + } while (uVar6 < (uint)local_34._shift3); if (0 < (int)local_b8) { local_c4 = (Entity *)((float)local_d0 / (float)(int)local_b8 + (float)local_b0[0]); local_c0 = (Entity *)(local_d4 / (float)(int)local_b8 + (float)local_b4); @@ -141503,26 +141630,26 @@ LAB_004e2ae3: local_54 = 0x686769526b6c6157; local_4c = 0x74; local_4b = 0; - local_28 = 0xf; - local_30 = CONCAT44(8,(int)local_30); + local_34._shift3 = 0xf; + local_34._shift2 = 8; local_3c._0_1_ = 'W'; local_3c._1_1_ = 'a'; local_3c._2_1_ = 'l'; local_3c._3_1_ = 'k'; builtin_strncpy(local_38,"Left",4); - local_34 = (RNG)((uint)local_34 & 0xffffff00); + local_34._seed = local_34._seed & 0xffffff00; local_14 = 4; Entity_NPC::anim_walk_frame_4dir(npc,&local_3c,&local_54,&local_6c,&local_98,0x3dcccccd); local_14._0_1_ = 3; - if (0xf < local_28) { + if (0xf < (uint)local_34._shift3) { uVar6 = local_3c; - if ((0xfff < local_28 + 1) && (uVar6 = *(uint *)(local_3c - 4), 0x1f < (local_3c - uVar6) - 4)) - goto LAB_004e20c8; + if ((0xfff < local_34._shift3 + 1U) && + (uVar6 = *(uint *)(local_3c - 4), 0x1f < (local_3c - uVar6) - 4)) goto LAB_004e20c8; operator_delete(uVar6); } local_14._0_1_ = 2; - local_30 = local_30 & 0xffffffff; - local_28 = 0xf; + local_34._shift2 = 0; + local_34._shift3 = 0xf; local_3c = local_3c & 0xffffff00; if (0xf < local_40) { iVar13 = (int)local_54; @@ -141655,14 +141782,14 @@ LAB_004e256a: uVar15 = 0; Entity_NPC::QueryNPCsType(&local_34,0x33f,0x14); uVar6 = 0; - if (local_28 != 0) { + if (local_34._shift3 != 0) { do { - if (((*(uint *)(*(int *)((int)local_30 + uVar6 * 4) + 0x168) & 0x20000000) != 0) == + if (((*(uint *)(*(int *)(local_34._shift1 + uVar6 * 4) + 0x168) & 0x20000000) != 0) == ((npc->_flags & 0x20000000) != 0)) { uVar15 = uVar15 + 1; } uVar6 = uVar6 + 1; - } while (uVar6 < local_28); + } while (uVar6 < (uint)local_34._shift3); npc = local_b8; if (2 < uVar15) { local_b8->_projectileCooldown = 0x3c; @@ -147973,21 +148100,18 @@ void __fastcall NpcAI::ENTITY_CULTIST(Entity_NPC *npc) EntityPtr local_fc; undefined1 local_f8 [168]; float local_50; - undefined1 auStack_4c [28]; - int local_30; - void *local_2c; - void *local_28; + EntityRef EStack_4c; void *local_24; undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; undefined4 local_14; - puStack_20 = auStack_4c + 0x48; + puStack_20 = local_f8 + 0xf4; local_14 = -NAN; puStack_18 = &LAB_00af3e46; local_1c = ExceptionList; - pvVar8 = (void *)(__security_cookie ^ (uint)(auStack_4c + 0x3c)); + pvVar8 = (void *)(__security_cookie ^ (uint)(local_f8 + 0xe8)); ExceptionList = &local_1c; EVar22 = (EntityPtr)g_game->_room; local_114 = (EntityPtr)((int)npc->_updateTime - (int)npc->_prevUpdateTime); @@ -147995,10 +148119,10 @@ void __fastcall NpcAI::ENTITY_CULTIST(Entity_NPC *npc) local_104 = EVar22; local_24 = pvVar8; if (npc->_variant == 10) { - puStack_20 = auStack_4c + 0x48; + puStack_20 = local_f8 + 0xf4; switch(npc->_state) { case 0: - puStack_20 = auStack_4c + 0x48; + puStack_20 = local_f8 + 0xf4; Entity_NPC::UpdateDirtColor(npc,1); bVar7 = ANM2::SetAnimation(&npc->_sprite,(byte *)"Appear",1); if (bVar7 != 0) { @@ -148018,7 +148142,7 @@ void __fastcall NpcAI::ENTITY_CULTIST(Entity_NPC *npc) ExceptionList = local_1c; return; case 3: - puStack_20 = auStack_4c + 0x48; + puStack_20 = local_f8 + 0xf4; EntityList::QueryRadius(local_144,&npc->_pos,0xffffffff); uVar10 = 0; local_14 = 0.0; @@ -148044,15 +148168,15 @@ void __fastcall NpcAI::ENTITY_CULTIST(Entity_NPC *npc) goto LAB_004eda5e; case 5: if (((npc->_sprite)._animState._animData == (void *)0x0) || - (puStack_20 = auStack_4c + 0x48, (npc->_sprite)._animState._isPlaying == 0)) { - puStack_20 = auStack_4c + 0x48; + (puStack_20 = local_f8 + 0xf4, (npc->_sprite)._animState._isPlaying == 0)) { + puStack_20 = local_f8 + 0xf4; (**(code **)(*(int *)npc + 0x28))(); } break; case 8: - puStack_20 = auStack_4c + 0x48; + puStack_20 = local_f8 + 0xf4; if ((npc->_sprite)._animState._animData != (void *)0x0) { - puStack_20 = auStack_4c + 0x48; + puStack_20 = local_f8 + 0xf4; bVar7 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,&DAT_00b1d3b0); if (bVar7 != 0) { Entity_NPC::PlaySound(npc,500,1.0,2,0,1.0); @@ -148094,8 +148218,8 @@ void __fastcall NpcAI::ENTITY_CULTIST(Entity_NPC *npc) else { npc->_stateFrame = 0x5a; if (EVar22 != (EntityPtr)0x0) { - EntityRef::constructor((EntityRef *)auStack_4c,(Entity *)npc); - Entity::AddFreeze((Entity *)EVar22,(EntityRef *)auStack_4c,0x5a,0); + EntityRef::constructor(&EStack_4c,(Entity *)npc); + Entity::AddFreeze((Entity *)EVar22,&EStack_4c,0x5a,0); } } local_14 = -NAN; @@ -148110,9 +148234,9 @@ void __fastcall NpcAI::ENTITY_CULTIST(Entity_NPC *npc) } switch(npc->_state) { case 0: - puStack_20 = auStack_4c + 0x48; + puStack_20 = local_f8 + 0xf4; if (npc->_variant == 0) { - puStack_20 = auStack_4c + 0x48; + puStack_20 = local_f8 + 0xf4; Color::operator_assign(&DAT_00c34da4); pLVar11 = ANM2::GetLayer(&npc->_sprite,(byte *)0x2); pLVar11->_bitflags = pLVar11->_bitflags | 1; @@ -148136,7 +148260,7 @@ void __fastcall NpcAI::ENTITY_CULTIST(Entity_NPC *npc) local_fc = (EntityPtr)(npc->_sprite)._animState._animData; if (local_fc == (EntityPtr)0x0) { LAB_004ee10a: - puStack_20 = auStack_4c + 0x48; + puStack_20 = local_f8 + 0xf4; bVar7 = ANM2::SetAnimation(&npc->_sprite,s_Idle,1); if (bVar7 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); @@ -148167,8 +148291,8 @@ LAB_004ee0e4: uVar10 = 0; LAB_004ee0e9: if ((uVar10 != 0) || - ((puStack_20 = auStack_4c + 0x48, *(byte *)((int)local_fc + 0x34) != 0 && - (puStack_20 = auStack_4c + 0x48, (npc->_sprite)._animState._isPlaying == 0)))) + ((puStack_20 = local_f8 + 0xf4, *(byte *)((int)local_fc + 0x34) != 0 && + (puStack_20 = local_f8 + 0xf4, (npc->_sprite)._animState._isPlaying == 0)))) goto LAB_004ee10a; } cVar6 = Entity::HasEntityFlags(0x1000a00,0); @@ -148458,9 +148582,9 @@ LAB_004eeab9: break; case 8: npc->_friction = npc->_friction * 0.7; - puStack_20 = auStack_4c + 0x48; + puStack_20 = local_f8 + 0xf4; if ((npc->_sprite)._animState._animData != (void *)0x0) { - puStack_20 = auStack_4c + 0x48; + puStack_20 = local_f8 + 0xf4; bVar7 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"); if (bVar7 != 0) { Entity_NPC::PlaySound(npc,0xd,1.0,2,0,1.0); @@ -148543,9 +148667,9 @@ LAB_004eeab9: cVar6 = Room::IsPositionInRoom(g_game->_room,&local_124,0); if (cVar6 != '\0') { iVar21 = Random(); - local_30 = 0; - local_2c = (void *)0x0; - local_28 = (void *)0x0; + EStack_4c._velocity.y = 0.0; + EStack_4c._flags = 0; + EStack_4c._entity = (void *)0x0; fVar31 = (float)((double)iVar21 + __uint_to_double_fixup[-(iVar21 >> 0x1f)]) * 2.3283064e-10; fVar30 = (float)local_100 * fVar31; @@ -148553,13 +148677,13 @@ LAB_004eeab9: local_11c.x = fVar30 + fVar30; local_11c.y = fVar31 + fVar31; local_50 = 1.0; - auStack_4c._0_4_ = 0x3f800000; - auStack_4c._4_4_ = 0x3f800000; - auStack_4c._8_4_ = 0x3f800000; - auStack_4c._12_4_ = 0; - auStack_4c._16_4_ = (void *)0x0; - auStack_4c._20_4_ = 0.0; - auStack_4c._24_4_ = (void *)0x0; + EStack_4c._type = 0x3f800000; + EStack_4c._variant = 0x3f800000; + EStack_4c._spawnerType = 0x3f800000; + EStack_4c._spawnerVariant = 0; + EStack_4c._position.x = 0.0; + EStack_4c._position.y = 0.0; + EStack_4c._velocity.x = 0.0; iVar21 = Random(); local_10c = (EntityPtr) ((float)((double)iVar21 + __uint_to_double_fixup[-(iVar21 >> 0x1f)]) * @@ -148635,7 +148759,7 @@ LAB_004eeab9: fVar31 = (npc->_pos).y; (npc->_velocity).x = (npc->_targetPosition).x - (npc->_pos).x; (npc->_velocity).y = fVar30 - fVar31; - puVar5 = auStack_4c + 0x48; + puVar5 = local_f8 + 0xf4; if ((npc->_sprite)._animState._animData != (void *)0x0) { bVar7 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"); pMVar4 = g_manager; @@ -148670,8 +148794,8 @@ LAB_004eeab9: *(undefined2 *)((int)EVar22 + 0x16), *(EntityPtr *)((int)EVar22 + 0x18)); if (local_105 != '\0') { - EntityRef::constructor((EntityRef *)auStack_4c,(Entity *)0x0); - Entity::AddCharmed((Entity *)local_128,(EntityRef *)auStack_4c,-1,0,0); + EntityRef::constructor(&EStack_4c,(Entity *)0x0); + Entity::AddCharmed((Entity *)local_128,&EStack_4c,-1,0,0); } (**(code **)(*(int *)local_128 + 0xc))(); local_10c = *(EntityPtr *)EVar22; @@ -151609,15 +151733,15 @@ void __fastcall NpcAI::ENTITY_BALL_AND_CHAIN(Entity_NPC *npc) (int)((float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * 2.3283064e-10 * 10.0 + 2.0); uVar18 = Random(); - EStack_84._28_4_ = 0; - EStack_84._32_4_ = 0; + EStack_84._velocity.y = 0.0; + EStack_84._flags = 0; iVar14 = uVar18 % 0xf + 0xf; EStack_84._entity = (void *)0x0; piVar17[0x117] = iVar14; EStack_84._spawnerVariant = 0; EStack_84._position.x = 0.0; EStack_84._position.y = 0.0; - EStack_84._24_4_ = 0; + EStack_84._velocity.x = 0.0; piVar17[0x118] = iVar14; local_88 = 0.45; EStack_84._type = 0x3ee66666; @@ -154275,7 +154399,7 @@ LAB_004f91ad: iStack_68 = pEVar11->_variant; iStack_6c = pEVar11->_type; std::map::find(&local_a0,&iStack_6c); - pGVar6 = *(Game **)&pGVar6->field_0x67780; + pGVar6 = (pGVar6->_proceduralItemManager)._spawnTriggerTargets._head; if (local_a0 == pGVar6) { local_b0 = (float)pEVar11->_type; local_ac = -NAN; @@ -154361,10 +154485,7 @@ Entity * Entity_NPC::ThrowRockSpider(int param_1,int param_2) undefined4 uVar6; float fVar7; float in_XMM3_Da; - undefined1 local_30 [28]; - float local_14; - undefined4 local_10; - void *local_c; + EntityRef local_30; if (param_2 == 1) { uVar6 = 1; @@ -154387,17 +154508,17 @@ LAB_004f996a: *(uint *)&this->_flags = (uint)this->_flags & 0xfffffffb; *(undefined4 *)((int)&this->_flags + 4) = *(undefined4 *)((int)&this->_flags + 4); if ((param_1 != 0) && ((*(uint *)(param_1 + 0x168) & 0x100) != 0)) { - local_30._0_4_ = 0; - local_30._4_4_ = 0; - local_30._8_4_ = 0; - local_30._12_4_ = 0; - local_30._16_4_ = g_vectorZero.x; - local_30._20_4_ = g_vectorZero.y; - local_30._24_4_ = g_vectorZero.x; - local_14 = g_vectorZero.y; - local_10 = 0; - local_c = (void *)0x0; - Entity::AddCharmed(this,(EntityRef *)local_30,-1,0,0); + local_30._type = 0; + local_30._variant = 0; + local_30._spawnerType = 0; + local_30._spawnerVariant = 0; + local_30._position.x = g_vectorZero.x; + local_30._position.y = g_vectorZero.y; + local_30._velocity.x = g_vectorZero.x; + local_30._velocity.y = g_vectorZero.y; + local_30._flags = 0; + local_30._entity = (void *)0x0; + Entity::AddCharmed(this,&local_30,-1,0,0); } (**(code **)(*(int *)this + 0xc))(); (this->_posOffset).x = 0.0; @@ -154485,8 +154606,7 @@ void __fastcall NpcAI::ENTITY_ROCK_SPIDER(Entity_NPC *npc) npc->_subtype = (uint)npc->_initSeed % 3 + 1; (**(code **)(*(int *)npc + 100))(); } - if ((*(char *)local_2c == '\0') || (g_game->_frameCount - *(int *)&local_2c->field_0x11f0 < 2)) - { + if ((*(char *)local_2c == '\0') || (g_game->_frameCount - local_2c->_enterFrame < 2)) { uVar9 = *(undefined4 *)((int)&npc->_flags + 4); *(uint *)&npc->_flags = (uint)npc->_flags & 0xfffffffb; *(undefined4 *)((int)&npc->_flags + 4) = uVar9; @@ -154821,11 +154941,11 @@ LAB_004fa057: (pLVar6->_size).x = local_20; (pLVar6->_size).y = local_20; pLVar6 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar6->field_0x54 = 0x3f800000; + (pLVar6->_color)._tint[3] = 1.0; fVar12 = local_20 * 0.8 + 0.2; - *(float *)&pLVar6->field_0x48 = local_20 * 0.5 + 0.5; - *(float *)&pLVar6->field_0x4c = fVar12; - *(float *)&pLVar6->field_0x50 = fVar12; + (pLVar6->_color)._tint[0] = local_20 * 0.5 + 0.5; + (pLVar6->_color)._tint[1] = fVar12; + (pLVar6->_color)._tint[2] = fVar12; } } if (((npc->_variant == 2) || (npc->_type == 0x21)) && (uVar8 = Random(), uVar8 % 5 == 0)) { @@ -154961,8 +155081,6 @@ void __fastcall NpcAI::ENTITY_FACELESS(Entity_NPC *npc) undefined4 uVar21; undefined4 uVar22; RNG local_148; - undefined8 local_144; - undefined4 local_13c; float local_138; float local_134; Vector local_130; @@ -154994,10 +155112,11 @@ void __fastcall NpcAI::ENTITY_FACELESS(Entity_NPC *npc) local_1c = ExceptionList; local_24 = (float)(__security_cookie ^ (int)register0x00000010 - 0x10U); ExceptionList = &local_1c; - local_144 = 0x900000005; + local_148._shift1 = 5; + local_148._shift2 = 9; pvVar18 = g_game->_room; - local_148 = (RNG)(npc->_initSeed + npc->_index); - local_13c = 7; + local_148._seed = npc->_initSeed + npc->_index; + local_148._shift3 = 7; local_128 = pvVar18; puVar5 = (undefined1 *)((int)register0x00000010 + -4); switch(npc->_state) { @@ -156150,10 +156269,10 @@ float * __fastcall NpcAI::ENTITY_BLASTER(Entity_NPC *npc) return pfVar6; } local_64._entity = &DAT_0000000f; - local_64._32_4_ = 8; + local_64._flags = 8; local_64._position.x = (float)0x6b6c6157; local_64._position.y = (float)0x74726556; - local_64._24_1_ = 0; + local_64._velocity.x._0_1_ = 0; local_28 = 2.10195e-44; local_2c = 1.12104e-44; local_3c._0_1_ = 'W'; @@ -156248,9 +156367,13 @@ LAB_004fd11b: } -//@@ 004fd280 FUN_004fd280 +//@@ 004fd280 quakey_timer_callback -void FUN_004fd280(int param_1) +/* DB: callback passed to Entity_Effect::CreateTimer (mov ecx,0x4fd280 at 0x4fd8af, 12 repeats) by + NpcAI::ENTITY_QUAKEY; timer effect at offset (12-count)/12*150 along dir +0x334, + Room::GetClampedPositionImpl, Game::SpawnEx(9,9,...) projectiles with apply_spawn_flags */ + +void quakey_timer_callback(int param_1) { int iVar1; @@ -156351,8 +156474,7 @@ void __fastcall NpcAI::ENTITY_QUAKEY(Entity_NPC *npc) float local_118; float local_114; ProjectileParams local_110; - undefined1 local_64 [36]; - undefined1 *local_40; + EntityRef local_64; void *local_3c; int local_38; undefined1 local_34; @@ -156364,28 +156486,22 @@ void __fastcall NpcAI::ENTITY_QUAKEY(Entity_NPC *npc) undefined1 *puStack_18; undefined4 local_14; - puStack_20 = local_64 + 0x60; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); local_14 = -NAN; puStack_18 = &LAB_00af2a65; local_1c = ExceptionList; - fVar7 = (float)(__security_cookie ^ (uint)(local_64 + 0x54)); + fVar7 = (float)(__security_cookie ^ (int)register0x00000010 - 0x10U); ExceptionList = &local_1c; local_24 = fVar7; Entity_NPC::UpdateChargeBar(npc,1); iVar9 = npc->_state; if (iVar9 != 0) { if (iVar9 == 4) { - local_40 = &DAT_0000000f; - local_64._32_4_ = &DAT_00000008; - local_64[0x10] = 'W'; - local_64[0x11] = 'a'; - local_64[0x12] = 'l'; - local_64[0x13] = 'k'; - local_64[0x14] = 'V'; - local_64[0x15] = 'e'; - local_64[0x16] = 'r'; - local_64[0x17] = 't'; - local_64[0x18] = 0; + local_64._entity = &DAT_0000000f; + local_64._flags = (int)&DAT_00000008; + local_64._position.x = (float)0x6b6c6157; + local_64._position.y = (float)0x74726556; + local_64._velocity.x._0_1_ = 0; local_28 = 2.10195e-44; local_2c = 1.12104e-44; local_3c = (void *)0x6b6c6157; @@ -156395,7 +156511,7 @@ void __fastcall NpcAI::ENTITY_QUAKEY(Entity_NPC *npc) local_38._3_1_ = 'i'; local_34 = 0; local_14 = 1.4013e-45; - Entity_NPC::AnimWalkFrame(npc,&local_3c,local_64 + 0x10,0x3dcccccd); + Entity_NPC::AnimWalkFrame(npc,&local_3c,&local_64._position,0x3dcccccd); local_14 = (float)((uint)local_14 & 0xffffff00); if (0xf < (uint)local_28) { uVar17 = (int)local_28 + 1; @@ -156411,13 +156527,13 @@ void __fastcall NpcAI::ENTITY_QUAKEY(Entity_NPC *npc) local_2c = 0.0; local_28 = 2.10195e-44; local_3c = (void *)((uint)local_3c & 0xffffff00); - if (&DAT_0000000f < local_40) { - puVar18 = local_40 + 1; - pvVar15 = (void *)local_64._16_4_; + if (&DAT_0000000f < local_64._entity) { + puVar18 = (undefined1 *)((int)local_64._entity + 1); + pvVar15 = (void *)local_64._position.x; if ((undefined1 *)0xfff < puVar18) { - pvVar15 = *(void **)(local_64._16_4_ + -4); - puVar18 = local_40 + 0x24; - if (0x1f < (uint)(local_64._16_4_ + (-4 - (int)pvVar15))) { + pvVar15 = *(void **)((int)local_64._position.x + -4); + puVar18 = (undefined1 *)((int)local_64._entity + 0x24); + if (0x1f < (uint)((int)local_64._position.x + (-4 - (int)pvVar15))) { LAB_004fdb6a: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); @@ -156562,8 +156678,8 @@ LAB_004fde34: local_128 = local_128 * 3.0; local_124 = local_124 * 3.0; pcVar2 = *(code **)(*(int *)pEVar8 + 0x54); - EntityRef::constructor((EntityRef *)local_64,(Entity *)npc); - (*pcVar2)(local_64,&local_128,0x41100000); + EntityRef::constructor(&local_64,(Entity *)npc); + (*pcVar2)(&local_64,&local_128,0x41100000); } local_114 = (float)((int)local_114 + 1); } while ((uint)local_114 < @@ -156758,27 +156874,29 @@ void __fastcall NpcAI::ENTITY_MOLE(Entity_NPC *npc) Entity_NPC *local_100; Entity_NPC *local_fc; ProjectileParams local_f8; - GridEntityDesc local_44; + undefined1 local_44 [20]; + undefined8 local_30; + uint local_28; void *local_24; undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; undefined4 local_14; - puStack_20 = (undefined1 *)((int)register0x00000010 + -4); + puStack_20 = local_44 + 0x40; local_14 = -NAN; puStack_18 = &LAB_00af408d; local_1c = ExceptionList; - pvVar8 = (void *)(__security_cookie ^ (int)register0x00000010 - 0x10U); + pvVar8 = (void *)(__security_cookie ^ (uint)(local_44 + 0x34)); ExceptionList = &local_1c; - local_44._varData = 5; - local_44._initialized = 9; - local_44._25_3_ = 0; + local_30._0_4_ = 5; + local_30._4_1_ = 9; + local_30._5_3_ = 0; local_12c = g_game->_room; uVar16 = g_game->_debugCurses; uVar3 = g_game->_curses; - local_44._spawnSeed = npc->_initSeed + npc->_index; - local_44._variableSeed = 7; + local_44._16_4_ = npc->_initSeed + npc->_index; + local_28 = 7; local_fc = npc; local_24 = pvVar8; uVar9 = Seeds::GetForcedCurses(); @@ -156881,8 +156999,7 @@ LAB_004fe66f: local_114 = local_124.y; if ((this_01->_controllerID == -1) || (3 < local_110)) { in_stack_fffffe98._12_4_ = 0x4fe89d; - pfVar13 = (float *)Room::FindFreeTilePosition - (&local_44._initialized,&local_124,0x42800000); + pfVar13 = (float *)Room::FindFreeTilePosition((int)&local_30 + 4,&local_124,0x42800000); local_128 = *pfVar13; local_114 = pfVar13[1]; local_124.x = local_128; @@ -156928,13 +157045,13 @@ LAB_004fe66f: auVar31._0_4_ = 0x4fea7a; SoundEffects::Play(&pMVar5->_sfxManager,(int)local_fc,1.0,2,0,1.0,0.0); rng_pair_init(); - local_44._type = 0xe; + local_44._0_4_ = 0xe; uVar16 = Random(); - local_44._state = ((uVar16 & 1) + 1) * 0x7d; - local_44._spawnSeed = Random(); - local_44._variableSeed = Random(); + local_44._8_4_ = ((uVar16 & 1) + 1) * 0x7d; + local_44._16_4_ = Random(); + local_28 = Random(); this_02 = local_12c; - Room::SpawnGridEntityDesc(local_12c,(int)local_10c,&local_44); + Room::SpawnGridEntityDesc(local_12c,(int)local_10c,(GridEntityDesc *)local_44); if (((local_10c < (byte *)0x1c0) && (piVar4 = this_02->_gridEntities[(int)local_10c], piVar4 != (int *)0x0)) && (piVar4[1] == 0xe)) { @@ -157055,7 +157172,7 @@ LAB_004fec08: local_10c = (byte *)(this_01->_v2).x; local_11c = (byte *)(this_01->_v2).y; local_fc = (Entity_NPC *)fVar22; - local_100 = (Entity_NPC *)RNG::RandomFloat((RNG *)&local_44._spawnSeed); + local_100 = (Entity_NPC *)RNG::RandomFloat((RNG *)(local_44 + 0x10)); fVar22 = (float)local_100 * 0.4 + 0.0; local_118 = (float)local_10c * (float)local_fc * fVar22 + local_118; local_114 = (float)local_11c * (float)local_fc * fVar22 + local_114; @@ -157072,9 +157189,9 @@ LAB_004fec08: if (0.0 <= (float)local_10c) { local_10c = (byte *)0x0; } - fVar22 = RNG::RandomFloat((RNG *)&local_44._spawnSeed); + fVar22 = RNG::RandomFloat((RNG *)(local_44 + 0x10)); local_100 = (Entity_NPC *)(fVar22 * (float)(iVar19 - iVar20)); - fVar22 = RNG::RandomFloat((RNG *)&local_44._spawnSeed); + fVar22 = RNG::RandomFloat((RNG *)(local_44 + 0x10)); pEVar23 = (Entity_NPC *)((fVar22 * 360.0 + (float)local_100 + (float)local_100) * 0.017453292) ; local_100 = pEVar23; @@ -157105,7 +157222,7 @@ LAB_004ff05c: auVar34._12_4_ = &local_118; PathFinder::FindGridPath(); } - pfVar13 = (float *)Entity_NPC::CalcTargetPosition(&local_44._initialized,0); + pfVar13 = (float *)Entity_NPC::CalcTargetPosition((int)&local_30 + 4,0); fVar24 = *pfVar13 - (this_01->_pos).x; fVar22 = pfVar13[1] - (this_01->_pos).y; local_100 = (Entity_NPC *)(fVar24 * fVar24 + fVar22 * fVar22); @@ -157170,20 +157287,20 @@ LAB_004ff2b2: this_01->_stateFrame = this_01->_stateFrame + ((int)this_01->_updateTime - (int)this_01->_prevUpdateTime); auVar37._8_8_ = auVar36._8_8_; - auVar37._4_4_ = &local_44._spawnSeed; + auVar37._4_4_ = local_44 + 0x10; auVar37._0_4_ = 0x4ff2e9; EntityList::QuerySublist((Entity_NPC *)&this_02->_entityList); local_14 = 0.0; pos = &this_01->_pos; uVar16 = 0; - if (local_44._variableSeed != 0) { + if (local_28 != 0) { do { - iVar19 = *(int *)(local_44._varData + uVar16 * 4); + iVar19 = *(int *)((int)local_30 + uVar16 * 4); fVar22 = (this_01->_pos).y - *(float *)(iVar19 + 0x340); fVar24 = pos->x - *(float *)(iVar19 + 0x33c); if (fVar22 * fVar22 + fVar24 * fVar24 < 144.0) goto LAB_004ff42c; uVar16 = uVar16 + 1; - } while (uVar16 < (uint)local_44._variableSeed); + } while (uVar16 < local_28); } uVar14 = Random(); auVar38._0_8_ = auVar37._0_8_; @@ -157212,7 +157329,7 @@ LAB_004ff2b2: } LAB_004ff42c: local_14 = -NAN; - if ((char)local_44._spawnSeed == '\0') { + if (local_44[0x10] == '\0') { local_14 = 1.4013e-45; tracked_alloc(0); local_14 = -NAN; @@ -159761,7 +159878,7 @@ void __fastcall NpcAI::ENTITY_DUST(Entity_NPC *npc) do { pLVar6 = ANM2::GetLayer(&npc->_sprite,pbVar11); pbVar11 = pbVar11 + 1; - *(float *)&pLVar6->field_0x54 = (npc->_v1).x; + (pLVar6->_color)._tint[3] = (npc->_v1).x; } while (pbVar11 < (byte *)(npc->_sprite)._layerCount); } if (npc->_state != 0x10) { @@ -159797,7 +159914,7 @@ void __fastcall NpcAI::ENTITY_DUST(Entity_NPC *npc) do { pLVar6 = ANM2::GetLayer(&npc->_sprite,pbVar11); pbVar11 = pbVar11 + 1; - *(undefined4 *)&pLVar6->field_0x54 = 0; + (pLVar6->_color)._tint[3] = 0.0; } while (pbVar11 < (byte *)(npc->_sprite)._layerCount); } ANM2::Play(&npc->_sprite,(byte *)"Appear",0); @@ -160601,8 +160718,8 @@ void __fastcall NpcAI::ENTITY_NECRO(Entity_NPC *npc) int iVar11; float *pfVar12; int iVar13; - uint uVar14; - int iVar15; + int iVar14; + uint uVar15; float fVar16; EntityPtr *pEVar17; EntityPtr *pEVar18; @@ -160638,9 +160755,9 @@ void __fastcall NpcAI::ENTITY_NECRO(Entity_NPC *npc) local_98 = (int)npc->_updateTime - (int)npc->_prevUpdateTime; npc->_friction = npc->_friction * 0.7; this = pGVar1->_room; - iVar15 = npc->_state; - if (iVar15 != 0) { - if (iVar15 == 3) { + iVar13 = npc->_state; + if (iVar13 != 0) { + if (iVar13 == 3) { ANM2::Play(&npc->_sprite,(byte *)"Shake",0); if (npc->_projectileDelay < 1) { pEVar8 = Entity_NPC::GetPlayerTarget(npc); @@ -160655,7 +160772,7 @@ void __fastcall NpcAI::ENTITY_NECRO(Entity_NPC *npc) local_88 = local_88 * (1.0 / fVar16); } if ((local_8c != g_vectorZero.x) || (local_88 != g_vectorZero.y)) { - iVar15 = 0; + iVar13 = 0; do { iVar11 = Random(); pEVar17 = (EntityPtr *) @@ -160685,18 +160802,18 @@ void __fastcall NpcAI::ENTITY_NECRO(Entity_NPC *npc) ((this->_topLeftPos).y + 0.0 <= (float)local_9c)) && ((float)local_9c <= (this->_bottomRightPos).y - 0.0)))) { LAB_005059d2: - iVar13 = (int)(((float)local_9c - 120.0) / 40.0 + 0.5); + iVar14 = (int)(((float)local_9c - 120.0) / 40.0 + 0.5); iVar11 = (int)(((float)local_84 - 40.0) / 40.0 + 0.5); - if ((((iVar11 < 0) || (this->_gridWidth <= iVar11)) || (iVar13 < 0)) || - (this->_gridHeight <= iVar13)) { + if ((((iVar11 < 0) || (this->_gridWidth <= iVar11)) || (iVar14 < 0)) || + (this->_gridHeight <= iVar14)) { iVar11 = -1; } else { - iVar11 = this->_gridWidth * iVar13 + iVar11; + iVar11 = this->_gridWidth * iVar14 + iVar11; } uVar5 = 0x505a2c; - uVar14 = Room::GetGridCollision(this,iVar11); - if (uVar14 != 0) { + uVar15 = Room::GetGridCollision(this,iVar11); + if (uVar15 != 0) { iVar11 = 0; uVar5 = 0; pfVar12 = (float *)Room::FindFreePickupSpawnPosition @@ -160712,8 +160829,8 @@ LAB_005059d2: goto LAB_00505aae; } } - iVar15 = iVar15 + 1; - } while (iVar15 < 10); + iVar13 = iVar13 + 1; + } while (iVar13 < 10); pEVar17 = (EntityPtr *)0x0; pEVar9 = (EntityPtr *)0x0; LAB_00505aae: @@ -160727,7 +160844,7 @@ LAB_00505aae: } goto LAB_00505b19; } - if (iVar15 != 8) goto LAB_00505b19; + if (iVar13 != 8) goto LAB_00505b19; if ((npc->_sprite)._animState._animData != (void *)0x0) { bVar3 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Summon"); if (bVar3 != 0) { @@ -160823,19 +160940,19 @@ LAB_00505aae: uStack_48 = 0; local_9c = pEVar9; (**(code **)((int)*pEVar9 + 0x3c))(&local_64,0xffffffff,0xff,0,1); - uVar14 = g_graphicsManager_flags; + uVar15 = g_graphicsManager_flags; if (4 < (uint)pEVar9[0x32]) { pEVar9 = pEVar18; pLVar10 = ANM2::GetLayer((ANM2 *)(pEVar18 + 0x12),&DAT_00000004); - uVar5 = 1; - if ((uVar14 & 4) == 0) { - uVar5 = 6; + iVar13 = 1; + if ((uVar15 & 4) == 0) { + iVar13 = 6; } - *(undefined4 *)&pLVar10->field_0x78 = 0; - *(undefined4 *)&pLVar10->field_0x7c = uVar5; - *(undefined4 *)&pLVar10->field_0x80 = 1; - *(undefined4 *)&pLVar10->field_0x84 = 1; - *(undefined4 *)&pLVar10->field_0x88 = 1; + pLVar10->_blendMode[0] = 0; + pLVar10->_blendMode[1] = iVar13; + pLVar10->_blendMode[2] = 1; + pLVar10->_blendMode[3] = 1; + pLVar10->_blendMode[4] = 1; } (**(code **)((int)*pEVar9 + 0xc))(); Entity_NPC::PlaySound(npc,0xf9,1.0,2,0,1.0); @@ -160853,13 +160970,13 @@ LAB_00505aae: } npc->_state = 3; if (npc->_controllerID == -1) { - uVar14 = Random(); - uVar14 = uVar14 % 0x1e; + uVar15 = Random(); + uVar15 = uVar15 % 0x1e; } else { - uVar14 = 0; + uVar15 = 0; } - npc->_projectileDelay = uVar14; + npc->_projectileDelay = uVar15; LAB_00505b19: if (0 < npc->_projectileDelay) { npc->_projectileDelay = npc->_projectileDelay - local_98; @@ -163590,8 +163707,8 @@ void __fastcall NpcAI::ENTITY_ETERNALFLY(Entity_NPC *npc) local_30._variant = *(int *)((int)EVar11 + 0x2c); local_30._spawnerType = *(int *)((int)EVar11 + 0x34); local_30._spawnerVariant = *(int *)((int)EVar11 + 0x38); - local_30._24_4_ = *(undefined4 *)((int)EVar11 + 0x360); - local_30._28_4_ = *(undefined4 *)((int)EVar11 + 0x364); + local_30._velocity.x = *(float *)((int)EVar11 + 0x360); + local_30._velocity.y = *(float *)((int)EVar11 + 0x364); local_3c = (float)(uint)((uVar7 & 0x100) != 0); local_40 = 2.8026e-45; if ((uVar7 & 0x20000000) == 0) { @@ -163603,7 +163720,7 @@ void __fastcall NpcAI::ENTITY_ETERNALFLY(Entity_NPC *npc) else { uVar7 = 4; } - local_30._32_4_ = uVar7 | (uint)local_40 | (uint)local_3c; + local_30._flags = uVar7 | (uint)local_40 | (uint)local_3c; local_30._entity = (void *)EVar11; Entity::AddShrink((Entity *)npc,&local_30,*(int *)((int)EVar11 + 0x23c),1,1); if (0 < npc->_shrinkCountdown) { @@ -165199,25 +165316,24 @@ void __fastcall NpcAI::ENTITY_CLOTTY(Entity_NPC *npc) char cVar5; float fVar6; uint uVar7; - RNG RVar8; - int iVar9; - int *piVar10; - undefined4 uVar11; - byte *pbVar12; - int iVar13; - undefined4 uVar14; - float *pfVar15; - Entity *pEVar16; - byte *pbVar17; - char *pcVar18; - void *pvVar19; - bool bVar20; - float fVar21; - undefined8 uVar22; - undefined4 uVar23; + int iVar8; + int *piVar9; + undefined4 uVar10; + byte *pbVar11; + int iVar12; + undefined4 uVar13; + float *pfVar14; + Entity *pEVar15; + byte *pbVar16; + char *pcVar17; + void *pvVar18; + bool bVar19; + float fVar20; + undefined8 uVar21; + undefined4 uVar22; + TypeDescriptor *pTVar23; TypeDescriptor *pTVar24; - TypeDescriptor *pTVar25; - undefined4 uVar26; + undefined4 uVar25; undefined4 local_1b0 [8]; undefined4 local_190; undefined4 uStack_18c; @@ -165282,17 +165398,17 @@ void __fastcall NpcAI::ENTITY_CLOTTY(Entity_NPC *npc) (npc->_splatColor)._offset[1] = 0.16078432; (npc->_splatColor)._offset[2] = 0.13725491; } - RVar8 = npc->_dropRNG; - if (RVar8 == (RNG)0x0) { + uVar7 = (npc->_dropRNG)._seed; + if (uVar7 == 0) { puStack_20 = (undefined1 *)(local_3c + 0xe); /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar8 >> ((byte)*(undefined4 *)&npc->field_0x3e0 & 0x1f) ^ (uint)RVar8; - uVar7 = uVar7 << ((byte)*(undefined4 *)&npc->field_0x3e4 & 0x1f) ^ uVar7; - RVar8 = (RNG)(uVar7 >> ((byte)*(undefined4 *)&npc->field_0x3e8 & 0x1f) ^ uVar7); - npc->_dropRNG = RVar8; - npc->_i1 = (uint)RVar8 & 1; + uVar7 = uVar7 >> ((byte)(npc->_dropRNG)._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)(npc->_dropRNG)._shift2 & 0x1f) ^ uVar7; + uVar7 = uVar7 >> ((byte)(npc->_dropRNG)._shift3 & 0x1f) ^ uVar7; + (npc->_dropRNG)._seed = uVar7; + npc->_i1 = uVar7 & 1; ppvVar3 = local_3c + 0xe; } else if (npc->_variant == 1) { @@ -165332,13 +165448,13 @@ void __fastcall NpcAI::ENTITY_CLOTTY(Entity_NPC *npc) } } puStack_20 = (undefined1 *)ppvVar3; - iVar9 = Entity::GetIntervalTicks((Entity *)npc,fVar6); - if (iVar9 != 0) { - iVar9 = Random(); - piVar10 = (int *)Entity_NPC::MakeSplat - (npc,(float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)] - ) * 2.3283064e-10 * 0.7 + 0.5); - (**(code **)(*piVar10 + 0x3c))(&npc->_splatColor,0xffffffff,0xff,0,1); + iVar8 = Entity::GetIntervalTicks((Entity *)npc,fVar6); + if (iVar8 != 0) { + iVar8 = Random(); + piVar9 = (int *)Entity_NPC::MakeSplat + (npc,(float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) + * 2.3283064e-10 * 0.7 + 0.5); + (**(code **)(*piVar9 + 0x3c))(&npc->_splatColor,0xffffffff,0xff,0,1); } if ((npc->_dead != 0) && (npc->_type == 0x11a)) { fVar6 = (float)(2 - npc->_championRegenCount); @@ -165348,27 +165464,27 @@ void __fastcall NpcAI::ENTITY_CLOTTY(Entity_NPC *npc) } if (0 < (int)local_120) { do { - uVar11 = Random(); - iVar9 = Random(); - fVar21 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * + uVar10 = Random(); + iVar8 = Random(); + fVar20 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 3.14; - fVar21 = fVar21 + fVar21; - local_11c = fVar21; + fVar20 = fVar20 + fVar20; + local_11c = fVar20; sin(); fVar6 = local_11c; - local_124 = fVar21; + local_124 = fVar20; cos(); local_12c = fVar6 * 20.0 + (npc->_pos).x; local_128 = local_124 * 20.0 + (npc->_pos).y; - Game::Spawn(0xf,0,&local_12c,&g_vectorZero,npc,0,uVar11); + Game::Spawn(0xf,0,&local_12c,&g_vectorZero,npc,0,uVar10); local_120 = (float)((int)local_120 + -1); } while (local_120 != 0.0); } } - iVar9 = npc->_state; + iVar8 = npc->_state; npc->_friction = npc->_friction * 0.9; - if ((iVar9 != 3) && (iVar9 != 4)) { - if (iVar9 != 8) { + if ((iVar8 != 3) && (iVar8 != 4)) { + if (iVar8 != 8) { uVar7 = Random(); npc->_state = (~uVar7 & 1) * 4 + 4; (npc->_v1).x = 30.0; @@ -165377,25 +165493,25 @@ void __fastcall NpcAI::ENTITY_CLOTTY(Entity_NPC *npc) } pbVar1 = (npc->_sprite)._animState._animData; if (pbVar1 != (byte *)0x0) { - pbVar12 = pbVar1; + pbVar11 = pbVar1; if (0xf < *(uint *)(pbVar1 + 0x14)) { - pbVar12 = *(byte **)pbVar1; + pbVar11 = *(byte **)pbVar1; } - pbVar17 = &DAT_00b1de1c; + pbVar16 = &DAT_00b1de1c; do { - bVar4 = *pbVar12; - bVar20 = bVar4 < *pbVar17; - if (bVar4 != *pbVar17) { + bVar4 = *pbVar11; + bVar19 = bVar4 < *pbVar16; + if (bVar4 != *pbVar16) { LAB_0050d754: - uVar7 = -(uint)bVar20 | 1; + uVar7 = -(uint)bVar19 | 1; goto LAB_0050d759; } if (bVar4 == 0) break; - bVar4 = pbVar12[1]; - bVar20 = bVar4 < pbVar17[1]; - if (bVar4 != pbVar17[1]) goto LAB_0050d754; - pbVar12 = pbVar12 + 2; - pbVar17 = pbVar17 + 2; + bVar4 = pbVar11[1]; + bVar19 = bVar4 < pbVar16[1]; + if (bVar4 != pbVar16[1]) goto LAB_0050d754; + pbVar11 = pbVar11 + 2; + pbVar16 = pbVar16 + 2; } while (bVar4 != 0); uVar7 = 0; LAB_0050d759: @@ -165425,133 +165541,133 @@ LAB_0050d82e: } } else { - pbVar12 = pbVar1; + pbVar11 = pbVar1; if (0xf < *(uint *)(pbVar1 + 0x14)) { - pbVar12 = *(byte **)pbVar1; + pbVar11 = *(byte **)pbVar1; } - pcVar18 = "Attack"; + pcVar17 = "Attack"; do { - bVar4 = *pbVar12; - bVar20 = bVar4 < (byte)*pcVar18; - if (bVar4 != *pcVar18) { + bVar4 = *pbVar11; + bVar19 = bVar4 < (byte)*pcVar17; + if (bVar4 != *pcVar17) { LAB_0050d810: - uVar7 = -(uint)bVar20 | 1; + uVar7 = -(uint)bVar19 | 1; goto LAB_0050d815; } if (bVar4 == 0) break; - bVar4 = pbVar12[1]; - bVar20 = bVar4 < (byte)pcVar18[1]; - if (bVar4 != pcVar18[1]) goto LAB_0050d810; - pbVar12 = pbVar12 + 2; - pcVar18 = pcVar18 + 2; + bVar4 = pbVar11[1]; + bVar19 = bVar4 < (byte)pcVar17[1]; + if (bVar4 != pcVar17[1]) goto LAB_0050d810; + pbVar11 = pbVar11 + 2; + pcVar17 = pcVar17 + 2; } while (bVar4 != 0); uVar7 = 0; LAB_0050d815: if ((uVar7 != 0) || ((pbVar1[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) goto LAB_0050d82e; } - pvVar19 = (npc->_sprite)._animState._animData; + pvVar18 = (npc->_sprite)._animState._animData; if (npc->_type == 0x11a) { - if ((pvVar19 != (void *)0x0) && + if ((pvVar18 != (void *)0x0) && (bVar4 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"), bVar4 != 0)) { Entity_NPC::PlaySound(npc,0x30,0.8,2,0,1.0); local_11c = (float)npc->_controllerID; - uVar22 = CONCAT44(local_11c,0xffffffff); + uVar21 = CONCAT44(local_11c,0xffffffff); if (((npc->_controllerMovement).x != g_vectorZero.x) || ((npc->_controllerMovement).y != g_vectorZero.y)) { - uVar22 = vector_to_direction(); + uVar21 = vector_to_direction(); } - iVar9 = (int)uVar22; - if ((int)((ulonglong)uVar22 >> 0x20) == -1) { + iVar8 = (int)uVar21; + if ((int)((ulonglong)uVar21 >> 0x20) == -1) { uVar7 = Random(); if ((uVar7 & 3) != 0) goto LAB_0050dbc0; uVar7 = Random(); - bVar20 = uVar7 % 3 == 0; + bVar19 = uVar7 % 3 == 0; } else { - if ((iVar9 == 0) || (iVar9 == 2)) { + if ((iVar8 == 0) || (iVar8 == 2)) { LAB_0050dbc0: ProjectileParams::ProjectileParams((Entity_NPC *)&local_110); - iVar9 = Random(); + iVar8 = Random(); local_118.x = 10.0; local_118.y = 6.0; local_110.CircleAngle = - (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 + (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 360.0 - 180.0; LAB_0050dea3: uVar7 = 9; goto LAB_0050deac; } - bVar20 = iVar9 != -1; + bVar19 = iVar8 != -1; } - if ((bVar20) && (iVar13 = Entity_NPC::GetAliveEnemyCount(npc), iVar13 < 5)) { + if ((bVar19) && (iVar12 = Entity_NPC::GetAliveEnemyCount(npc), iVar12 < 5)) { if (local_11c == -NAN) { uVar7 = Random(); - bVar20 = uVar7 % 3 == 0; + bVar19 = uVar7 % 3 == 0; } else { - bVar20 = iVar9 == 1; + bVar19 = iVar8 == 1; } - if (bVar20) { - uVar11 = Random(); - uVar14 = Room::FindFreePickupSpawnPosition(&local_118,&npc->_pos,0x42200000,0,0,0); - uVar26 = 0; - pTVar25 = &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor; - pTVar24 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar23 = 0; - uVar11 = Game::Spawn(0x18,0,uVar14,&g_vectorZero,npc,0,uVar11); - piVar10 = (int *)__RTDynamicCast(uVar11,uVar23,pTVar24,pTVar25,uVar26); - ANM2::Play((ANM2 *)(piVar10 + 0x12),(byte *)"ReGen",0); - piVar10[0x2d9] = 3; - (**(code **)(*piVar10 + 0xc))(); + if (bVar19) { + uVar10 = Random(); + uVar13 = Room::FindFreePickupSpawnPosition(&local_118,&npc->_pos,0x42200000,0,0,0); + uVar25 = 0; + pTVar24 = &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor; + pTVar23 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar22 = 0; + uVar10 = Game::Spawn(0x18,0,uVar13,&g_vectorZero,npc,0,uVar10); + piVar9 = (int *)__RTDynamicCast(uVar10,uVar22,pTVar23,pTVar24,uVar25); + ANM2::Play((ANM2 *)(piVar9 + 0x12),(byte *)"ReGen",0); + piVar9[0x2d9] = 3; + (**(code **)(*piVar9 + 0xc))(); } else { - uVar11 = Random(); - uVar14 = Room::FindFreePickupSpawnPosition(&local_118,&npc->_pos,0x42200000,0,0,0); - Game::Spawn(0xf,0,uVar14,&g_vectorZero,npc,0,uVar11); + uVar10 = Random(); + uVar13 = Room::FindFreePickupSpawnPosition(&local_118,&npc->_pos,0x42200000,0,0,0); + Game::Spawn(0xf,0,uVar13,&g_vectorZero,npc,0,uVar10); } } else { local_11c = 5.60519e-45; do { - uVar11 = Random(); - iVar9 = Random(); - local_120 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + uVar10 = Random(); + iVar8 = Random(); + local_120 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 3.14; local_120 = local_120 + local_120; - iVar9 = Random(); - local_124 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + iVar8 = Random(); + local_124 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 40.0; fVar6 = local_120; cos(); local_118.x = fVar6 * local_124 + (npc->_pos).x; fVar6 = local_120; sin(); - uVar23 = 0; - pTVar25 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; + uVar22 = 0; + pTVar24 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; local_118.y = fVar6 * local_124 + (npc->_pos).y; - pTVar24 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar14 = 0; - uVar11 = Game::Spawn(1000,0x16,&local_118,&g_vectorZero,npc,0,uVar11); - iVar9 = __RTDynamicCast(uVar11,uVar14,pTVar24,pTVar25,uVar23); - iVar13 = Random(); + pTVar23 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar13 = 0; + uVar10 = Game::Spawn(1000,0x16,&local_118,&g_vectorZero,npc,0,uVar10); + iVar8 = __RTDynamicCast(uVar10,uVar13,pTVar23,pTVar24,uVar22); + iVar12 = Random(); local_11c = (float)((int)local_11c + -1); - fVar6 = (float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]) * + fVar6 = (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 * 0.5 + 1.0; - fVar21 = fVar6 * g_vectorOne.y; + fVar20 = fVar6 * g_vectorOne.y; fVar6 = fVar6 * g_vectorOne.x; - *(undefined4 *)(iVar9 + 0x45c) = 0xd2; - *(float *)(iVar9 + 0xe8) = fVar21; - *(undefined4 *)(iVar9 + 0x460) = 0xd2; - *(float *)(iVar9 + 0xe4) = fVar6; + *(undefined4 *)(iVar8 + 0x45c) = 0xd2; + *(float *)(iVar8 + 0xe8) = fVar20; + *(undefined4 *)(iVar8 + 0x460) = 0xd2; + *(float *)(iVar8 + 0xe4) = fVar6; } while (local_11c != 0.0); local_11c = 0.0; } } } else if (npc->_type == 0x368) { - if ((pvVar19 != (void *)0x0) && + if ((pvVar18 != (void *)0x0) && (bVar4 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"), bVar4 != 0)) { local_118.x = 0.0; @@ -165580,7 +165696,7 @@ LAB_0050dea3: npc->_i1 = 1 - npc->_i1; } } - else if ((pvVar19 != (void *)0x0) && + else if ((pvVar18 != (void *)0x0) && (bVar4 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"), bVar4 != 0)) { local_118.x = 0.0; @@ -165593,12 +165709,12 @@ LAB_0050dea3: if (npc->_variant == 3) { ProjectileParams::ProjectileParams((Entity_NPC *)&local_110); local_110.FallingAccelModifier = 0.02; - iVar9 = Random(); + iVar8 = Random(); local_110.CircleAngle = - (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * + (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 3.1415927 * 0.05; - iVar9 = Game::IsHardMode(); - if (iVar9 < 1) { + iVar8 = Game::IsHardMode(); + if (iVar8 < 1) { local_118.x = 7.0; } else { @@ -165608,13 +165724,13 @@ LAB_0050dea3: goto LAB_0050dea3; } ProjectileParams::ProjectileParams((Entity_NPC *)&local_110); - iVar9 = npc->_variant; - if ((iVar9 != 0) && ((iVar9 == 1 || ((iVar9 != 2 && (iVar9 == 1)))))) { + iVar8 = npc->_variant; + if ((iVar8 != 0) && ((iVar8 == 1 || ((iVar8 != 2 && (iVar8 == 1)))))) { Color::operator_assign(&DAT_00c34e54); } - uVar22 = Game::IsHardMode(); - uVar7 = (uint)((ulonglong)uVar22 >> 0x20); - if ((int)uVar22 < 1) { + uVar21 = Game::IsHardMode(); + uVar7 = (uint)((ulonglong)uVar21 >> 0x20); + if ((int)uVar21 < 1) { local_118.x = 7.0; } else { @@ -165648,13 +165764,13 @@ LAB_0050e0ad: local_14 = (void *)((uint)local_14 & 0xffffff00); if (0xf < (uint)local_28) { uVar7 = (int)local_28 + 1; - pvVar19 = local_3c[0]; + pvVar18 = local_3c[0]; if (0xfff < uVar7) { - pvVar19 = *(void **)((int)local_3c[0] - 4); + pvVar18 = *(void **)((int)local_3c[0] - 4); uVar7 = (int)local_28 + 0x24; - if (0x1f < (uint)((int)local_3c[0] + (-4 - (int)pvVar19))) goto LAB_0050e18d; + if (0x1f < (uint)((int)local_3c[0] + (-4 - (int)pvVar18))) goto LAB_0050e18d; } - operator_delete(pvVar19,uVar7); + operator_delete(pvVar18,uVar7); } local_14 = (void *)0xffffffff; local_2c = 0.0; @@ -165662,27 +165778,27 @@ LAB_0050e0ad: local_3c[0] = (void *)((uint)local_3c[0] & 0xffffff00); if (0xf < local_40) { uVar7 = local_40 + 1; - pvVar19 = pvStack_54; + pvVar18 = pvStack_54; if (0xfff < uVar7) { - pvVar19 = *(void **)((int)pvStack_54 + -4); + pvVar18 = *(void **)((int)pvStack_54 + -4); uVar7 = local_40 + 0x24; - if (0x1f < (uint)((int)pvStack_54 + (-4 - (int)pvVar19))) { + if (0x1f < (uint)((int)pvStack_54 + (-4 - (int)pvVar18))) { LAB_0050e18d: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pvVar19,uVar7); + operator_delete(pvVar18,uVar7); } } else { fVar6 = (npc->_velocity).y; - fVar21 = (npc->_velocity).x; - fVar6 = fVar21 * fVar21 + fVar6 * fVar6; + fVar20 = (npc->_velocity).x; + fVar6 = fVar20 * fVar20 + fVar6 * fVar6; sqrtf(); if (((0.5 <= fVar6) || - (pfVar15 = (float *)Entity_NPC::GetControllerInput(&local_118), *pfVar15 != g_vectorZero.x)) - || (pfVar15[1] != g_vectorZero.y)) goto LAB_0050e0ad; + (pfVar14 = (float *)Entity_NPC::GetControllerInput(&local_118), *pfVar14 != g_vectorZero.x)) + || (pfVar14[1] != g_vectorZero.y)) goto LAB_0050e0ad; pbVar1 = (npc->_sprite)._animState._animData; if (pbVar1 == (byte *)0x0) { LAB_0050e086: @@ -165693,25 +165809,25 @@ LAB_0050e086: } } else { - pbVar12 = pbVar1; + pbVar11 = pbVar1; if (0xf < *(uint *)(pbVar1 + 0x14)) { - pbVar12 = *(byte **)pbVar1; + pbVar11 = *(byte **)pbVar1; } - pbVar17 = s_Idle; + pbVar16 = s_Idle; do { - bVar4 = *pbVar12; - bVar20 = bVar4 < *pbVar17; - if (bVar4 != *pbVar17) { + bVar4 = *pbVar11; + bVar19 = bVar4 < *pbVar16; + if (bVar4 != *pbVar16) { LAB_0050e060: - uVar7 = -(uint)bVar20 | 1; + uVar7 = -(uint)bVar19 | 1; goto LAB_0050e065; } if (bVar4 == 0) break; - bVar4 = pbVar12[1]; - bVar20 = bVar4 < pbVar17[1]; - if (bVar4 != pbVar17[1]) goto LAB_0050e060; - pbVar12 = pbVar12 + 2; - pbVar17 = pbVar17 + 2; + bVar4 = pbVar11[1]; + bVar19 = bVar4 < pbVar16[1]; + if (bVar4 != pbVar16[1]) goto LAB_0050e060; + pbVar11 = pbVar11 + 2; + pbVar16 = pbVar16 + 2; } while (bVar4 != 0); uVar7 = 0; LAB_0050e065: @@ -165728,17 +165844,17 @@ LAB_0050e065: ((cVar5 = Entity_NPC::IsTargetInAttackRange(0,7), cVar5 != '\0' || (cVar5 = Entity_NPC::IsControllerActionPressed(npc,9), cVar5 != '\0')))))) { if ((npc->_type == 0xf) && (npc->_variant == 3)) { - iVar9 = npc->_i2; - if (2 < iVar9) { + iVar8 = npc->_i2; + if (2 < iVar8) { npc->_i2 = 0; goto LAB_0050e38d; } } else { - iVar9 = npc->_i2; + iVar8 = npc->_i2; } npc->_state = 8; - npc->_i2 = iVar9 + 1; + npc->_i2 = iVar8 + 1; if (npc->_controllerID == -1) { (npc->_controllerMovement).x = g_vectorZero.x; fVar6 = g_vectorZero.y; @@ -165751,25 +165867,25 @@ LAB_0050e065: (npc->_controllerMovement).y = fVar6; pbVar1 = (npc->_sprite)._animState._animData; if (pbVar1 != (byte *)0x0) { - pbVar12 = pbVar1; + pbVar11 = pbVar1; if (0xf < *(uint *)(pbVar1 + 0x14)) { - pbVar12 = *(byte **)pbVar1; + pbVar11 = *(byte **)pbVar1; } - pcVar18 = "Attack"; + pcVar17 = "Attack"; do { - bVar4 = *pbVar12; - bVar20 = bVar4 < (byte)*pcVar18; - if (bVar4 != *pcVar18) { + bVar4 = *pbVar11; + bVar19 = bVar4 < (byte)*pcVar17; + if (bVar4 != *pcVar17) { LAB_0050e351: - uVar7 = -(uint)bVar20 | 1; + uVar7 = -(uint)bVar19 | 1; goto LAB_0050e356; } if (bVar4 == 0) break; - bVar4 = pbVar12[1]; - bVar20 = bVar4 < (byte)pcVar18[1]; - if (bVar4 != pcVar18[1]) goto LAB_0050e351; - pbVar12 = pbVar12 + 2; - pcVar18 = pcVar18 + 2; + bVar4 = pbVar11[1]; + bVar19 = bVar4 < (byte)pcVar17[1]; + if (bVar4 != pcVar17[1]) goto LAB_0050e351; + pbVar11 = pbVar11 + 2; + pcVar17 = pcVar17 + 2; } while (bVar4 != 0); uVar7 = 0; LAB_0050e356: @@ -165784,9 +165900,9 @@ LAB_0050e356: } } else { - pEVar16 = Entity_NPC::GetPlayerTarget(npc); - local_118.x = (pEVar16->_pos).x; - local_118.y = (pEVar16->_pos).y; + pEVar15 = Entity_NPC::GetPlayerTarget(npc); + local_118.x = (pEVar15->_pos).x; + local_118.y = (pEVar15->_pos).y; PathFinder::EvadeTarget(&local_118,0); if (0 < (npc->_pathfinder)._evadeMovementCountdown) { npc->_friction = npc->_friction * 0.8; @@ -165800,11 +165916,11 @@ LAB_0050e3ae: if (npc->_type == 0xf) { if (*(float *)((int)g_game->_room + 0x7240) <= 0.2) { if (((npc->_variant == 0) || (npc->_variant == 3)) && - (pfVar15 = (npc->_damageEvents)._begin, pfVar15 != (npc->_damageEvents)._end)) { + (pfVar14 = (npc->_damageEvents)._begin, pfVar14 != (npc->_damageEvents)._end)) { do { - if (((uint)pfVar15[2] & 2) != 0) { - npc->_pendingDamage = npc->_pendingDamage - *pfVar15; - *pfVar15 = 0.0; + if (((uint)pfVar14[2] & 2) != 0) { + npc->_pendingDamage = npc->_pendingDamage - *pfVar14; + *pfVar14 = 0.0; if (npc->_variant == 0) { Entity_NPC::Morph(npc,0xf,3,0,-1); local_190 = 0x3e109091; @@ -165825,8 +165941,8 @@ LAB_0050e3ae: } } } - pfVar15 = pfVar15 + 0xe; - } while (pfVar15 != (npc->_damageEvents)._end); + pfVar14 = pfVar14 + 0xe; + } while (pfVar14 != (npc->_damageEvents)._end); } } else if (npc->_variant == 3) { @@ -165894,8 +166010,6 @@ void __fastcall NpcAI::ENTITY_GLOBIN(Entity_NPC *npc) uint local_3c; char local_38 [4]; RNG local_34; - undefined8 local_30; - uint local_28; uint local_24; undefined1 *puStack_20; void *local_1c; @@ -166044,30 +166158,30 @@ void __fastcall NpcAI::ENTITY_GLOBIN(Entity_NPC *npc) iStack_68._3_1_ = 'k'; builtin_strncpy(acStack_64,"Vert",4); uStack_60 = uStack_60 & 0xffffff00; - local_28 = 0xf; - local_30 = CONCAT44(8,(undefined4)local_30); + local_34._shift3 = 0xf; + local_34._shift2 = 8; local_3c._0_1_ = 'W'; local_3c._1_1_ = 'a'; local_3c._2_1_ = 'l'; local_3c._3_1_ = 'k'; builtin_strncpy(local_38,"Hori",4); - local_34 = (RNG)((uint)local_34 & 0xffffff00); + local_34._seed = local_34._seed & 0xffffff00; local_14 = 1; Entity_NPC::AnimWalkFrame(npc,&local_3c,&iStack_68,0x3dcccccd); local_14 = local_14 & 0xffffff00; - if (0xf < local_28) { - uVar8 = local_28 + 1; + if (0xf < (uint)local_34._shift3) { + uVar8 = local_34._shift3 + 1; uVar6 = local_3c; if (0xfff < uVar8) { uVar6 = *(uint *)(local_3c - 4); - uVar8 = local_28 + 0x24; + uVar8 = local_34._shift3 + 0x24; if (0x1f < (local_3c - uVar6) - 4) goto LAB_0050ea3b; } operator_delete(uVar6,uVar8); } local_14 = 0xffffffff; - local_30 = local_30 & 0xffffffff; - local_28 = 0xf; + local_34._shift2 = 0; + local_34._shift3 = 0xf; local_3c = local_3c & 0xffffff00; if (0xf < local_54) { uVar6 = local_54 + 1; @@ -166092,9 +166206,10 @@ LAB_0050ea3b: } else { if (npc->_variant == 3) { - local_34 = (RNG)npc->_initSeed; - local_30 = 0x70000000b; - local_28 = 0xc; + local_34._seed = npc->_initSeed; + local_34._shift1 = 0xb; + local_34._shift2 = 7; + local_34._shift3 = 0xc; if (npc->_subtype != 0) { fVar16 = RNG::RandomFloat(&local_34); piVar12 = (int *)(fVar16 * 0.25 + 0.65); @@ -166210,9 +166325,10 @@ LAB_0050ed8a: ExceptionList = local_1c; return; } - local_34 = (RNG)npc->_initSeed; - local_30 = 0x70000000b; - local_28 = 0x10; + local_34._seed = npc->_initSeed; + local_34._shift1 = 0xb; + local_34._shift2 = 7; + local_34._shift3 = 0x10; cVar4 = Entity::HasEntityFlags(0,0x200000); if (cVar4 == '\0') { iVar7 = 0xf; @@ -170957,17 +171073,17 @@ void __fastcall NpcAI::ENTITY_MRMAW(Entity_NPC *npc) pEVar5->_entityCollisionClass = 4; if (npc->_variant == 3) { pLVar7 = ANM2::GetLayer(&pEVar5->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar7->field_0x48 = 0x3f8a0a0b; - *(undefined4 *)&pLVar7->field_0x4c = 0x3f61e1e3; - *(undefined4 *)&pLVar7->field_0x50 = 0x3f61e1e3; + (pLVar7->_color)._tint[0] = 1.0784315; + (pLVar7->_color)._tint[1] = 0.882353; + (pLVar7->_color)._tint[2] = 0.882353; } else { pLVar7 = ANM2::GetLayer(&pEVar5->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar7->field_0x48 = 0x3fb1b1b2; - *(undefined4 *)&pLVar7->field_0x4c = 0x3fb1b1b2; - *(undefined4 *)&pLVar7->field_0x50 = 0x3fb1b1b2; + (pLVar7->_color)._tint[0] = 1.3882353; + (pLVar7->_color)._tint[1] = 1.3882353; + (pLVar7->_color)._tint[2] = 1.3882353; } - *(undefined4 *)&pLVar7->field_0x54 = 0x3f800000; + (pLVar7->_color)._tint[3] = 1.0; } if ((npc->_dead != 0) && (npc->_variant == 3)) { params = (ProjectileParams *)ProjectileParams::ProjectileParams((Entity_NPC *)local_100); @@ -171229,16 +171345,16 @@ LAB_005186e7: Entity_NPC::Morph(npc,0xb,0,0,npc->_championColorIdx); npc->_health = npc->_maxHitPoints; pLVar7 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar7->field_0x54 = 0x3f800000; + (pLVar7->_color)._tint[3] = 1.0; if (iVar4 == 3) { - *(undefined4 *)&pLVar7->field_0x48 = 0x3f8a0a0b; - *(undefined4 *)&pLVar7->field_0x4c = 0x3f61e1e3; - *(undefined4 *)&pLVar7->field_0x50 = 0x3f61e1e3; + (pLVar7->_color)._tint[0] = 1.0784315; + (pLVar7->_color)._tint[1] = 0.882353; + (pLVar7->_color)._tint[2] = 0.882353; } else { - *(undefined4 *)&pLVar7->field_0x48 = 0x3fb1b1b2; - *(undefined4 *)&pLVar7->field_0x4c = 0x3fb1b1b2; - *(undefined4 *)&pLVar7->field_0x50 = 0x3fb1b1b2; + (pLVar7->_color)._tint[0] = 1.3882353; + (pLVar7->_color)._tint[1] = 1.3882353; + (pLVar7->_color)._tint[2] = 1.3882353; } } } @@ -176561,10 +176677,9 @@ uint __fastcall NpcAI::ENTITY_PARA_BITE(Entity_NPC *npc) Entity *pEVar9; uint uVar10; undefined4 extraout_ECX; - RNG RVar11; - float fVar12; - double dVar13; - undefined8 uVar14; + float fVar11; + double dVar12; + undefined8 uVar13; Vector local_f8; Vector local_f0; float local_e8; @@ -176583,18 +176698,18 @@ uint __fastcall NpcAI::ENTITY_PARA_BITE(Entity_NPC *npc) local_c4 = (float)npc->_state; if (local_c4 == 0.0) { Entity_NPC::UpdateDirtColor(npc,1); - RVar11 = npc->_dropRNG; - if (RVar11 == (RNG)0x0) { + uVar6 = (npc->_dropRNG)._seed; + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar11 >> ((byte)*(undefined4 *)&npc->field_0x3e0 & 0x1f) ^ (uint)RVar11; - uVar6 = uVar6 << ((byte)*(undefined4 *)&npc->field_0x3e4 & 0x1f) ^ uVar6; - RVar11 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&npc->field_0x3e8 & 0x1f) ^ uVar6); - npc->_dropRNG = RVar11; + uVar6 = uVar6 >> ((byte)(npc->_dropRNG)._shift1 & 0x1f) ^ uVar6; + uVar6 = uVar6 << ((byte)(npc->_dropRNG)._shift2 & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)(npc->_dropRNG)._shift3 & 0x1f) ^ uVar6; + (npc->_dropRNG)._seed = uVar6; npc->_state = 4; - npc->_projectileCooldown = (uint)RVar11 % 0x14 + 5; - return ((uint)RVar11 / 0x14) * 0x14; + npc->_projectileCooldown = uVar6 % 0x14 + 5; + return (uVar6 / 0x14) * 0x14; } if (((npc->_sprite)._animState._animData == (void *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { @@ -176605,10 +176720,10 @@ uint __fastcall NpcAI::ENTITY_PARA_BITE(Entity_NPC *npc) { Room::GetRandomPosition(&local_d0,0x41a00000); iVar7 = Game::GetNearestPlayer(); - fVar12 = local_cc - *(float *)(iVar7 + 0x340); + fVar11 = local_cc - *(float *)(iVar7 + 0x340); local_d0 = local_d0 - *(float *)(iVar7 + 0x33c); - fVar12 = fVar12 * fVar12 + local_d0 * local_d0; - if ((16900.0 < fVar12) && (fVar12 < 1e+06)) { + fVar11 = fVar11 * fVar11 + local_d0 * local_d0; + if ((16900.0 < fVar11) && (fVar11 < 1e+06)) { pRVar2 = g_game->_room; uVar6 = Room::GetGridIndex(pRVar2); if ((0x1bf < uVar6) || (pRVar2->_gridPaths[uVar6] < 500)) { @@ -176618,8 +176733,8 @@ uint __fastcall NpcAI::ENTITY_PARA_BITE(Entity_NPC *npc) } } } - fVar12 = (float)npc->_state; - if (((local_c4 != fVar12) && (local_c4 == 8.40779e-45)) && + fVar11 = (float)npc->_state; + if (((local_c4 != fVar11) && (local_c4 == 8.40779e-45)) && (((npc->_targetPosition).x != g_vectorZero.x || ((npc->_targetPosition).y != g_vectorZero.y)))) { Entity_NPC::UpdateDirtColor(npc,1); @@ -176630,31 +176745,31 @@ uint __fastcall NpcAI::ENTITY_PARA_BITE(Entity_NPC *npc) (npc->_targetPosition).x = g_vectorZero.x; (npc->_targetPosition).y = g_vectorZero.y; Entity_NPC::ClearChild(npc); - fVar12 = (float)npc->_state; + fVar11 = (float)npc->_state; } - if (fVar12 == 2.24208e-44) { + if (fVar11 == 2.24208e-44) { if ((npc->_sprite)._animState._animData != (void *)0x0) { - dVar13 = floor((double)(npc->_sprite)._animState._animFrame); - local_c4 = (float)dVar13; - if (2 < (int)dVar13) goto LAB_0052439d; + dVar12 = floor((double)(npc->_sprite)._animState._animFrame); + local_c4 = (float)dVar12; + if (2 < (int)dVar12) goto LAB_0052439d; } LAB_00524463: uVar6 = 0; } else { - if ((fVar12 == 8.40779e-45) && ((npc->_sprite)._animState._animData != (void *)0x0)) { - dVar13 = floor((double)(npc->_sprite)._animState._animFrame); - local_c4 = (float)dVar13; - if (7 < (int)dVar13) goto LAB_00524463; + if ((fVar11 == 8.40779e-45) && ((npc->_sprite)._animState._animData != (void *)0x0)) { + dVar12 = floor((double)(npc->_sprite)._animState._animFrame); + local_c4 = (float)dVar12; + if (7 < (int)dVar12) goto LAB_00524463; } LAB_0052439d: uVar6 = 4; } npc->_entityCollisionClass = uVar6; - if (fVar12 == 2.24208e-44) { + if (fVar11 == 2.24208e-44) { if ((npc->_sprite)._animState._animData == (void *)0x0) goto LAB_005243ee; - dVar13 = floor((double)(npc->_sprite)._animState._animFrame); - uVar6 = (uint)dVar13; + dVar12 = floor((double)(npc->_sprite)._animState._animFrame); + uVar6 = (uint)dVar12; if (uVar6 != 3) goto LAB_005243ee; LAB_005244b4: pMVar4 = g_manager; @@ -176668,17 +176783,17 @@ LAB_005244b4: local_c4 = 1.00893e-43; seed_fart_sound_override(); SoundEffects::Play(&pMVar4->_sfxManager,(int)local_c4,1.0,2,0,local_cc,0.0); - fVar12 = (float)npc->_state; + fVar11 = (float)npc->_state; uVar6 = extraout_EAX; } - else if (fVar12 == 8.40779e-45) { + else if (fVar11 == 8.40779e-45) { if ((npc->_sprite)._animState._animData == (void *)0x0) goto LAB_005243ee; - dVar13 = floor((double)(npc->_sprite)._animState._animFrame); - uVar6 = (uint)dVar13; + dVar12 = floor((double)(npc->_sprite)._animState._animFrame); + uVar6 = (uint)dVar12; if (uVar6 != 7) goto LAB_005243ee; goto LAB_005244b4; } - if (fVar12 == 5.60519e-45) { + if (fVar11 == 5.60519e-45) { Entity_NPC::UpdateDirtColor(npc,0); uVar6 = Random(); if (uVar6 % 10 == 0) { @@ -176688,10 +176803,10 @@ LAB_005244b4: local_c4 = *(float *)((int)&npc->_flags + 4); if (((npc->_flags & 0x200) != 0) && (npc->_controllerID == -1)) { PathFinder::MoveRandomly((PathFinder *)&npc->_pathfinder); - fVar12 = (npc->_velocity).y; + fVar11 = (npc->_velocity).y; fVar1 = (npc->_velocity).x; pbVar8 = s_Idle; - if (1.0 < fVar1 * fVar1 + fVar12 * fVar12) { + if (1.0 < fVar1 * fVar1 + fVar11 * fVar11) { pbVar8 = s_Walk; } ANM2::Play(&npc->_sprite,pbVar8,0); @@ -176706,15 +176821,15 @@ LAB_005244b4: PathFinder::FindGridPath(&local_e8,0x3f4ccccd,0,1); if (npc->_variant == 1) { if (npc->_projectileCooldown < 1) { - fVar12 = (npc->_velocity).x; + fVar11 = (npc->_velocity).x; fVar1 = (npc->_velocity).y; - fVar12 = fVar12 * fVar12 + fVar1 * fVar1; + fVar11 = fVar11 * fVar11 + fVar1 * fVar1; sqrtf(); local_c4 = g_vectorZero.x; local_cc = g_vectorZero.y; - if (0.0 < fVar12) { - local_c4 = (npc->_velocity).x / fVar12; - local_cc = (npc->_velocity).y / fVar12; + if (0.0 < fVar11) { + local_c4 = (npc->_velocity).x / fVar11; + local_cc = (npc->_velocity).y / fVar11; } if ((local_c4 != g_vectorZero.x) || (local_cc != g_vectorZero.y)) { uVar6 = Random(); @@ -176744,10 +176859,10 @@ LAB_005244b4: PathFinder::EvadeTarget(&local_e0,0); npc->_friction = npc->_friction * 0.8; } - fVar12 = (npc->_velocity).y; + fVar11 = (npc->_velocity).y; fVar1 = (npc->_velocity).x; pbVar8 = s_Idle; - if (1.0 < fVar1 * fVar1 + fVar12 * fVar12) { + if (1.0 < fVar1 * fVar1 + fVar11 * fVar11) { pbVar8 = s_Walk; } ANM2::Play(&npc->_sprite,pbVar8,0); @@ -176772,12 +176887,12 @@ LAB_005244b4: if ((local_d8 == g_vectorZero.x) && (local_d4 == g_vectorZero.y)) { return (uint)bVar5; } - uVar14 = CONCAT44(local_d4,local_d8); + uVar13 = CONCAT44(local_d4,local_d8); uVar6 = Room::GetGridCollisionAtPos(local_d8,local_d4); if (uVar6 != 0) { return uVar6; } - uVar6 = Entity::IsPlayerInRadius((Entity *)npc,&local_d8,uVar14); + uVar6 = Entity::IsPlayerInRadius((Entity *)npc,&local_d8,uVar13); if ((char)uVar6 == '\0') { npc->_state = 6; (npc->_targetPosition).x = local_d8; @@ -177610,6 +177725,7 @@ void __fastcall NpcAI::ENTITY_HOPPER(Entity_NPC *npc) { float fVar1; void *pvVar2; + RNG rng; Manager *pMVar3; byte bVar4; char cVar5; @@ -177679,10 +177795,7 @@ void __fastcall NpcAI::ENTITY_HOPPER(Entity_NPC *npc) float local_90; float local_8c; float local_50; - undefined1 auStack_4c [28]; - int local_30; - void *local_2c; - void *local_28; + EntityRef EStack_4c; void *local_24; undefined1 *puStack_20; void *local_1c; @@ -177690,11 +177803,11 @@ void __fastcall NpcAI::ENTITY_HOPPER(Entity_NPC *npc) undefined4 local_14; pvVar2 = ExceptionList; - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); local_14 = -NAN; puStack_18 = &LAB_00af45f0; local_1c = ExceptionList; - pvVar6 = (void *)(__security_cookie ^ (uint)(auStack_4c + 0x3c)); + pvVar6 = (void *)(__security_cookie ^ (int)register0x00000010 - 0x10U); ExceptionList = &local_1c; local_2b4 = npc; local_24 = pvVar6; @@ -177705,24 +177818,24 @@ void __fastcall NpcAI::ENTITY_HOPPER(Entity_NPC *npc) if (iVar15 != 0x1d) { if (iVar15 == 0x36) { local_50 = 0.0; - auStack_4c._0_4_ = 0.0; - auStack_4c._4_4_ = 0.0; - auStack_4c._8_4_ = 1.0; - local_30 = 0x3e109091; - local_2c = (void *)0x3df8f8f9; - auStack_4c._12_4_ = 0.0; - auStack_4c._16_4_ = (void *)0x0; - auStack_4c._20_4_ = 0.0; - auStack_4c._24_4_ = (void *)0x0; - local_28 = (void *)0x3de0e0e1; - puStack_20 = auStack_4c + 0x48; + EStack_4c._type = 0; + EStack_4c._variant = 0; + EStack_4c._spawnerType = 0x3f800000; + EStack_4c._velocity.y = 0.14117648; + EStack_4c._flags = 0x3df8f8f9; + EStack_4c._spawnerVariant = 0; + EStack_4c._position.x = 0.0; + EStack_4c._position.y = 0.0; + EStack_4c._velocity.x = 0.0; + EStack_4c._entity = (void *)0x3de0e0e1; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); Color::operator_assign(&local_50); ExceptionList = local_1c; return; } if (iVar15 == 0xf6) { if (npc->_variant == 1) { - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); Color::operator_assign(&DAT_00c34da4); ExceptionList = local_1c; return; @@ -177776,12 +177889,12 @@ void __fastcall NpcAI::ENTITY_HOPPER(Entity_NPC *npc) } pRVar18 = (npc->_damageEvents)._begin; pVVar23 = (npc->_damageEvents)._end; - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); if (pRVar18 != (Room *)pVVar23) { local_25c = (Entity_NPC *)((int)pRVar18 + 0x38); pEVar22 = local_25c; local_278 = pRVar18; - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); do { if (((uint)((Vector *)((int)pEVar22 + -0x30))->x & 2) == 0) { LAB_005267e3: @@ -178809,8 +178922,12 @@ LAB_00528b17: local_2a8 = local_2a8 | 1; uStack_2a4 = 0x900000005; pVStack_29c = (Vector *)&DAT_00000007; - iVar17 = WeightedOutcomePicker::PickOutcome(&local_280,local_2a8,5,9,7); - if (iVar17 == 0) { + rng._shift1 = 5; + rng._seed = local_2a8; + rng._shift2 = 9; + rng._shift3 = 7; + uVar26 = WeightedOutcomePicker::PickOutcome(&local_280,rng); + if (uVar26 == 0) { ANM2::Play((ANM2 *)(iVar15 + 0x48),(byte *)"HopShort",0); if (*(int *)(iVar15 + 0x7c) != 0) { AnimationState::SetFrameFloat((AnimationState *)(iVar15 + 0x78)); @@ -178823,7 +178940,7 @@ LAB_00528c7d: pEVar22 = (Entity_NPC *)((float)local_25c * fVar20); } else { - if (iVar17 == 1) { + if (uVar26 == 1) { ANM2::Play((ANM2 *)(iVar15 + 0x48),&DAT_00b1de1c,0); if (*(int *)(iVar15 + 0x7c) != 0) { AnimationState::SetFrameFloat((AnimationState *)(iVar15 + 0x78)); @@ -178834,7 +178951,7 @@ LAB_00528c7d: fVar20 = fVar20 + fVar20 + 8.0; goto LAB_00528c7d; } - if (iVar17 == 2) { + if (uVar26 == 2) { ANM2::Play((ANM2 *)(iVar15 + 0x48),(byte *)"HopLong",0); if (*(int *)(iVar15 + 0x7c) != 0) { AnimationState::SetFrameFloat((AnimationState *)(iVar15 + 0x78)); @@ -178885,8 +179002,8 @@ LAB_00528d74: local_285 = Entity::HasEntityFlags(0x1000000,0); Entity::RemoveStatusEffects((Entity *)npc); if (local_285 != '\0') { - EntityRef::constructor((EntityRef *)auStack_4c,(Entity *)npc); - Entity::AddShrink((Entity *)npc,(EntityRef *)auStack_4c,-0x96,0,0); + EntityRef::constructor(&EStack_4c,(Entity *)npc); + Entity::AddShrink((Entity *)npc,&EStack_4c,-0x96,0,0); } npc->_stateFrame = -1; npc->_isInvicible = 1; @@ -178923,25 +179040,24 @@ void NpcHelper::migraine_timer_spawn(int param_1) char cVar8; int iVar9; uint uVar10; - float *pfVar11; + int *piVar11; void *pvVar12; - int *piVar13; - Entity *pEVar14; + Entity *pEVar13; undefined4 extraout_ECX; + uint uVar14; uint uVar15; - uint uVar16; - PlayerManager *pPVar17; - uint uVar18; - bool bVar19; - float fVar20; - Game *pGVar21; - float fVar22; - ulonglong uVar23; - EntityPtr *pEVar24; + PlayerManager *pPVar16; + uint uVar17; + bool bVar18; + float fVar19; + Game *pGVar20; + float fVar21; + ulonglong uVar22; + EntityPtr *pEVar23; float local_124; Entity *local_120; Game *local_11c; - float local_118; + void *local_118; float local_114; float local_110; float local_10c; @@ -178959,13 +179075,13 @@ void NpcHelper::migraine_timer_spawn(int param_1) float local_d0; uint uStack_cc; undefined4 local_c8; - float fStack_c4; + void *pvStack_c4; EntityPtr *apEStack_bc [4]; - float fStack_ac; + void *pvStack_ac; float fStack_a8; EntityPtr *local_a4; float local_a0; - float local_9c; + void *local_9c; int iStack_8c; uint uStack_88; int iStack_84; @@ -178991,18 +179107,18 @@ void NpcHelper::migraine_timer_spawn(int param_1) local_e8 = *(float *)(param_1 + 0x340); local_f0 = param_1; iVar9 = Random(); - fVar20 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 3.14; - local_120 = (Entity *)(fVar20 + fVar20); + fVar19 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 3.14; + local_120 = (Entity *)(fVar19 + fVar19); iVar9 = Random(); local_110 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 4.0 + 6.0; - pEVar14 = local_120; + pEVar13 = local_120; cos(); - local_100 = (float)pEVar14 * local_110; - pEVar14 = local_120; + local_100 = (float)pEVar13 * local_110; + pEVar13 = local_120; local_a0 = local_100; sin(); - local_118 = (float)pEVar14 * local_110; + local_118 = (void *)((float)pEVar13 * local_110); local_9c = local_118; local_c8 = Random(); local_11c = g_game; @@ -179010,25 +179126,25 @@ void NpcHelper::migraine_timer_spawn(int param_1) local_e4 = 3; local_f4 = (Game *)&DAT_00000004; lua_callback_run_pre_entity_spawn(&local_f4,&local_e4,&local_ec,&local_a0,0); - uVar18 = local_e4; + uVar17 = local_e4; if (*(int *)&g_game->_deathmatchManager < 2) { LAB_0052926a: local_124 = local_114; } else { - pEVar14 = (g_game->_deathmatchManager)._type; - local_120 = pEVar14; + pEVar13 = (g_game->_deathmatchManager)._type; + local_120 = pEVar13; uVar10 = Random(); - fVar20 = local_114; + fVar19 = local_114; local_68 = 5; uStack_64 = 9; local_110 = 9.80909e-45; local_60[0] = 7; if (local_f4 != (Game *)&DAT_00000005) goto LAB_0052926a; - if (uVar18 < 0x12d) { - if (uVar18 == 300) { + if (uVar17 < 0x12d) { + if (uVar17 == 300) { while ((local_124 = local_114, local_114 == 0.0 || - (cVar8 = (**(code **)(*(int *)pEVar14 + 0x24))(), cVar8 != '\0'))) { + (cVar8 = (**(code **)(*(int *)pEVar13 + 0x24))(), cVar8 != '\0'))) { if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); @@ -179045,16 +179161,16 @@ LAB_0052926a: } } else { - if (uVar18 == 0x46) { + if (uVar17 == 0x46) { local_d4 = (float)((uint)local_114 >> 0xb); do { local_124 = local_114; if (local_114 != 0.0) { - pcVar3 = *(code **)(*(int *)pEVar14 + 0x28); + pcVar3 = *(code **)(*(int *)pEVar13 + 0x28); ItemPool::GetPillEffect(&g_game->_itemPool,(uint)local_114,(Entity_Player *)0x0); cVar8 = (*pcVar3)(); if (cVar8 == '\0') goto LAB_00529272; - pEVar14 = local_120; + pEVar13 = local_120; } if (uVar10 == 0) { /* WARNING: Subroutine does not return */ @@ -179063,33 +179179,33 @@ LAB_0052926a: uVar10 = uVar10 >> ((byte)local_68 & 0x1f) ^ uVar10; uVar10 = uVar10 << ((byte)uStack_64 & 0x1f) ^ uVar10; uVar10 = uVar10 >> (SUB41(local_110,0) & 0x1f) ^ uVar10; - uVar18 = ItemPool::GetPill(); - local_114 = (float)(uVar18 | ((uint)local_d4 & 1) << 0xb); + uVar17 = ItemPool::GetPill(); + local_114 = (float)(uVar17 | ((uint)local_d4 & 1) << 0xb); } while( true ); } - if (uVar18 != 100) goto LAB_0052926a; + if (uVar17 != 100) goto LAB_0052926a; local_124 = local_114; if (local_114 == 3.50325e-44) { LAB_005290ba: - bVar19 = false; + bVar18 = false; } else { local_d4 = local_114; std::set::find_node(); - if (((*(char *)(local_3c + 0xd) == '\0') && (*(int *)(local_3c + 0x10) <= (int)fVar20)) && - (local_3c != pEVar14->_index)) goto LAB_005290ba; - bVar19 = true; + if (((*(char *)(local_3c + 0xd) == '\0') && (*(int *)(local_3c + 0x10) <= (int)fVar19)) && + (local_3c != pEVar13->_index)) goto LAB_005290ba; + bVar18 = true; } - if ((fVar20 == 0.0) || (bVar19)) { - local_124 = (float)(**(code **)(*(int *)pEVar14 + 0x84))(); + if ((fVar19 == 0.0) || (bVar18)) { + local_124 = (float)(**(code **)(*(int *)pEVar13 + 0x84))(); local_114 = local_124; } } } else { - if (uVar18 != 0x15e) goto LAB_0052926a; + if (uVar17 != 0x15e) goto LAB_0052926a; while ((local_124 = local_114, local_114 == 0.0 || - (cVar8 = (**(code **)(*(int *)pEVar14 + 0x2c))(), cVar8 != '\0'))) { + (cVar8 = (**(code **)(*(int *)pEVar13 + 0x2c))(), cVar8 != '\0'))) { local_114 = (float)ItemPool::GetTrinket(&g_game->_itemPool,0); } } @@ -179097,12 +179213,12 @@ LAB_005290ba: LAB_00529272: local_120 = EntityFactory::Create(local_11c->_entityFactory,(uint)local_f4,0); if (local_120 == (Entity *)0x0) goto LAB_00529568; - uVar23 = GetTimeNs(); - pEVar14 = local_120; - local_108 = (uint)(uVar23 >> 0x20); - lVar4 = (uVar23 & 0xffffffff) * 0x431bde82; + uVar22 = GetTimeNs(); + pEVar13 = local_120; + local_108 = (uint)(uVar22 >> 0x20); + lVar4 = (uVar22 & 0xffffffff) * 0x431bde82; local_104 = (int)((ulonglong)lVar4 >> 0x20); - lVar5 = (ulonglong)local_108 * 0xd7b634db + ((uVar23 & 0xffffffff) * 0xd7b634db >> 0x20); + lVar5 = (ulonglong)local_108 * 0xd7b634db + ((uVar22 & 0xffffffff) * 0xd7b634db >> 0x20); local_d0 = (float)(lVar5 + lVar4); lVar4 = (ulonglong)local_108 * 0x431bde82 + (ulonglong) @@ -179110,322 +179226,323 @@ LAB_00529272: local_104 + (uint)CARRY4((uint)lVar4,(uint)lVar5)), (int)((ulonglong)(lVar5 + lVar4) >> 0x20)); local_e0 = (uint)((ulonglong)lVar4 >> 0x20); - pEVar24 = &local_120->_spawnerEntity; + pEVar23 = &local_120->_spawnerEntity; local_10c = (float)((uint)lVar4 >> 0x12 | local_e0 * 0x4000); local_e0 = local_e0 >> 0x12; local_120->_spawnerType = 0; local_120->_spawnerVariant = 0; - if (*pEVar24 != (EntityPtr)0x0) { - local_a4 = pEVar24; + if (*pEVar23 != (EntityPtr)0x0) { + local_a4 = pEVar23; std::multiset::erase(); } - iVar9 = *(int *)pEVar14; - *pEVar24 = (EntityPtr)0x0; - (pEVar14->_pos).x = local_ec; - (pEVar14->_pos).y = local_e8; - (pEVar14->_velocity).x = local_100; - (pEVar14->_velocity).y = local_118; + iVar9 = *(int *)pEVar13; + *pEVar23 = (EntityPtr)0x0; + (pEVar13->_pos).x = local_ec; + (pEVar13->_pos).y = local_e8; + (pEVar13->_velocity).x = local_100; + (pEVar13->_velocity).y = (float)local_118; (**(code **)(iVar9 + 4))(local_f4,local_e4); - pGVar21 = local_11c; + pGVar20 = local_11c; iVar9 = *(int *)((int)local_11c->_room + 0x1214); *(int *)((int)local_11c->_room + 0x1214) = iVar9 + 1; - pEVar14->_index = iVar9; + pEVar13->_index = iVar9; EntityList::AddEntity(); cVar8 = Game::ShouldEraseEnemy(); if (cVar8 != '\0') { Entity::RemoveWithPoof(); } - if ((pEVar14->_exists != 0) && - ((pGVar21->_proceduralItemManager)._proceduralItems._begin != - (pGVar21->_proceduralItemManager)._proceduralItems._end)) { - uStack_88 = pEVar14->_variant; - iStack_8c = pEVar14->_type; + if ((pEVar13->_exists != 0) && + ((pGVar20->_proceduralItemManager)._proceduralItems._begin != + (pGVar20->_proceduralItemManager)._proceduralItems._end)) { + uStack_88 = pEVar13->_variant; + iStack_8c = pEVar13->_type; std::map::find(); - fVar20 = *(float *)&pGVar21->field_0x67780; - if (fStack_c4 == fVar20) { - iStack_84 = pEVar14->_type; + pvVar12 = (pGVar20->_proceduralItemManager)._spawnTriggerTargets._head; + if (pvStack_c4 == pvVar12) { + iStack_84 = pEVar13->_type; uStack_80 = 0xffffffff; - pfVar11 = (float *)std::map::find(); - fStack_c4 = *pfVar11; - if (fStack_c4 == fVar20) goto LAB_005294e4; + piVar11 = (int *)std::map::find(); + pvStack_c4 = (void *)*piVar11; + if (pvStack_c4 == pvVar12) goto LAB_005294e4; } - uVar18 = 0; - pPVar17 = &g_game->_playerManager; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar17->_playerList)._begin >> 2 != + uVar17 = 0; + pPVar16 = &g_game->_playerManager; + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar16->_playerList)._begin >> 2 != 0) { do { - if ((int)(pPVar17->_playerList)._end - (int)(pPVar17->_playerList)._begin >> 2 == 0) { + if ((int)(pPVar16->_playerList)._end - (int)(pPVar16->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - trigger_set_dispatch(6,pEVar14); - uVar18 = uVar18 + 1; - pPVar17 = &g_game->_playerManager; - } while (uVar18 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar17->_playerList)._begin >> 2)); + trigger_set_dispatch(6,pEVar13); + uVar17 = uVar17 + 1; + pPVar16 = &g_game->_playerManager; + } while (uVar17 < (uint)((int)(g_game->_playerManager)._playerList._end - + (int)(pPVar16->_playerList)._begin >> 2)); } } LAB_005294e4: - uVar23 = GetTimeNs(); - uVar18 = (uint)(uVar23 >> 0x20); - lVar4 = (uVar23 & 0xffffffff) * 0x431bde82; + uVar22 = GetTimeNs(); + uVar17 = (uint)(uVar22 >> 0x20); + lVar4 = (uVar22 & 0xffffffff) * 0x431bde82; local_104 = (int)((ulonglong)lVar4 >> 0x20); - lVar5 = (ulonglong)uVar18 * 0x431bde82; + lVar5 = (ulonglong)uVar17 * 0x431bde82; local_108 = (uint)lVar5; - lVar6 = (ulonglong)uVar18 * 0xd7b634db + ((uVar23 & 0xffffffff) * 0xd7b634db >> 0x20); + lVar6 = (ulonglong)uVar17 * 0xd7b634db + ((uVar22 & 0xffffffff) * 0xd7b634db >> 0x20); local_d0 = (float)(lVar6 + lVar4); lVar5 = lVar5 + (ulonglong) CONCAT14(CARRY4((uint)((ulonglong)lVar6 >> 0x20), local_104 + (uint)CARRY4((uint)lVar4,(uint)lVar6)), (int)((ulonglong)(lVar6 + lVar4) >> 0x20)); uVar10 = (uint)((ulonglong)lVar5 >> 0x20); - fVar20 = (float)((uint)lVar5 >> 0x12 | uVar10 * 0x4000); - uVar18 = (int)fVar20 - (int)local_10c; - bVar19 = CARRY4((uint)g_entitySpawnTimeMs,uVar18); - g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar18; + fVar19 = (float)((uint)lVar5 >> 0x12 | uVar10 * 0x4000); + uVar17 = (int)fVar19 - (int)local_10c; + bVar18 = CARRY4((uint)g_entitySpawnTimeMs,uVar17); + g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar17; g_entitySpawnTimeMs._4_4_ = g_entitySpawnTimeMs._4_4_ + - (((uVar10 >> 0x12) - local_e0) - (uint)((uint)fVar20 < (uint)local_10c)) + (uint)bVar19; + (((uVar10 >> 0x12) - local_e0) - (uint)((uint)fVar19 < (uint)local_10c)) + (uint)bVar18; LAB_00529568: local_7c = local_100 * 0.4; - local_78 = local_118 * 0.4; + local_78 = (float)local_118 * 0.4; pvVar12 = (void *)(*(int *)(local_f0 + 0x428) * -7 + 0x42); *(void **)&local_120[1].field_0x4 = pvVar12; local_120[1]._damageEvents._begin = pvVar12; Random(); - piVar13 = (int *)Game::Spawn(1000,2,&local_ec,&local_7c,0); - (**(code **)(*piVar13 + 0x3c))(&DAT_00c5c800,0xffffffff,0xff); - piVar13[0x37] = 0; - piVar13[0x38] = -0x3f600000; - piVar13[0xd6] = 0x41200000; - uVar18 = Random(); - local_11c = (Game *)((uVar18 & 1) + 1); + piVar11 = (int *)Game::Spawn(1000,2,&local_ec,&local_7c,0); + (**(code **)(*piVar11 + 0x3c))(&DAT_00c5c800,0xffffffff,0xff); + piVar11[0x37] = 0; + piVar11[0x38] = -0x3f600000; + piVar11[0xd6] = 0x41200000; + uVar17 = Random(); + local_11c = (Game *)((uVar17 & 1) + 1); do { if (local_11c == (Game *)0x0) { return; } iVar9 = Random(); - fVar20 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * + fVar19 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pGVar21 = (Game *)(fVar20 + fVar20); - local_f4 = pGVar21; + pGVar20 = (Game *)(fVar19 + fVar19); + local_f4 = pGVar20; cos(); - local_d4 = (float)pGVar21 * 12.0 * 0.5 + local_100; - pGVar21 = local_f4; + local_d4 = (float)pGVar20 * 12.0 * 0.5 + local_100; + pGVar20 = local_f4; sin(); - local_d0 = (float)pGVar21 * 12.0 * 0.5 + fStack_fc; + local_d0 = (float)pGVar20 * 12.0 * 0.5 + fStack_fc; iVar9 = Random(); - fVar22 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * + fVar21 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 3.14; - fVar22 = fVar22 + fVar22; + fVar21 = fVar21 + fVar21; iVar9 = Random(); local_114 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 4.0 + 2.0; - fVar20 = fVar22; + fVar19 = fVar21; cos(); - fStack_c4 = fVar20 * local_114; - fStack_ac = fStack_c4; + pvStack_c4 = (void *)(fVar19 * local_114); + pvStack_ac = pvStack_c4; sin(); - local_10c = fVar22 * local_114; + local_10c = fVar21 * local_114; fStack_a8 = local_10c; local_104 = Random(); local_f4 = g_game; - pEVar24 = (EntityPtr *)0x0; + pEVar23 = (EntityPtr *)0x0; local_124 = 7.00649e-45; local_120 = (Entity *)0x3e8; lua_callback_run_pre_entity_spawn - (&local_120,&local_124,&local_d4,&fStack_ac,0,apEStack_bc + -0x1f,&local_104); - fVar20 = local_124; + (&local_120,&local_124,&local_d4,&pvStack_ac,0,apEStack_bc + -0x1f,&local_104); + fVar19 = local_124; if (1 < *(int *)&g_game->_deathmatchManager) { - piVar13 = (g_game->_deathmatchManager)._type; - uVar18 = Random(); + piVar11 = (g_game->_deathmatchManager)._type; + uVar17 = Random(); uStack_6c = 5; local_68 = 9; local_114 = 9.80909e-45; uStack_64 = 7; if (local_120 == (Entity *)&DAT_00000005) { - if ((uint)fVar20 < 0x12d) { - if (fVar20 == 4.2039e-43) { - while ((pEVar24 == (EntityPtr *)0x0 || - (cVar8 = (**(code **)(*piVar13 + 0x24))(pEVar24), cVar8 != '\0'))) { - if (uVar18 == 0) { + if ((uint)fVar19 < 0x12d) { + if (fVar19 == 4.2039e-43) { + while ((pEVar23 == (EntityPtr *)0x0 || + (cVar8 = (**(code **)(*piVar11 + 0x24))(pEVar23), cVar8 != '\0'))) { + if (uVar17 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar18 = uVar18 >> ((byte)uStack_6c & 0x1f) ^ uVar18; - uVar18 = uVar18 << ((byte)local_68 & 0x1f) ^ uVar18; - uVar18 = uVar18 >> (SUB41(local_114,0) & 0x1f) ^ uVar18; - iVar9 = ItemPool::GetCardEx(uVar18,0x19,10,10,1); + uVar17 = uVar17 >> ((byte)uStack_6c & 0x1f) ^ uVar17; + uVar17 = uVar17 << ((byte)local_68 & 0x1f) ^ uVar17; + uVar17 = uVar17 >> (SUB41(local_114,0) & 0x1f) ^ uVar17; + iVar9 = ItemPool::GetCardEx(uVar17,0x19,10,10,1); uStack_2c = 5; uStack_28 = 9; uStack_24 = 7; - uStack_30 = uVar18; - pEVar24 = (EntityPtr *)lua_callback_run_get_card(&uStack_30,iVar9,1,1,0); + uStack_30 = uVar17; + pEVar23 = (EntityPtr *)lua_callback_run_get_card(&uStack_30,iVar9,1,1,0); } } else { - if (fVar20 == 9.80909e-44) { - uVar10 = (uint)pEVar24 >> 0xb; + if (fVar19 == 9.80909e-44) { + uVar10 = (uint)pEVar23 >> 0xb; do { - if (pEVar24 != (EntityPtr *)0x0) { - pcVar3 = *(code **)(*piVar13 + 0x28); + if (pEVar23 != (EntityPtr *)0x0) { + pcVar3 = *(code **)(*piVar11 + 0x28); iVar9 = ItemPool::GetPillEffect - (&g_game->_itemPool,(uint)pEVar24,(Entity_Player *)0x0); + (&g_game->_itemPool,(uint)pEVar23,(Entity_Player *)0x0); cVar8 = (*pcVar3)(iVar9); if (cVar8 == '\0') goto LAB_00529a2e; } - if (uVar18 == 0) { + if (uVar17 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar18 = uVar18 >> ((byte)uStack_6c & 0x1f) ^ uVar18; - uVar18 = uVar18 << ((byte)local_68 & 0x1f) ^ uVar18; - uVar18 = uVar18 >> (SUB41(local_114,0) & 0x1f) ^ uVar18; - uVar15 = ItemPool::GetPill(uVar18); - pEVar24 = (EntityPtr *)(uVar15 | (uVar10 & 1) << 0xb); + uVar17 = uVar17 >> ((byte)uStack_6c & 0x1f) ^ uVar17; + uVar17 = uVar17 << ((byte)local_68 & 0x1f) ^ uVar17; + uVar17 = uVar17 >> (SUB41(local_114,0) & 0x1f) ^ uVar17; + uVar14 = ItemPool::GetPill(uVar17); + pEVar23 = (EntityPtr *)(uVar14 | (uVar10 & 1) << 0xb); } while( true ); } - if (fVar20 == 1.4013e-43) { - if (pEVar24 == (EntityPtr *)0x19) { + if (fVar19 == 1.4013e-43) { + if (pEVar23 == (EntityPtr *)0x19) { LAB_00529876: - bVar19 = false; + bVar18 = false; } else { - local_a4 = pEVar24; + local_a4 = pEVar23; std::set::find_node(auStack_4c,&local_a4); if (((*(char *)(local_44 + 0xd) == '\0') && - (*(int *)(local_44 + 0x10) <= (int)pEVar24)) && (local_44 != piVar13[8])) + (*(int *)(local_44 + 0x10) <= (int)pEVar23)) && (local_44 != piVar11[8])) goto LAB_00529876; - bVar19 = true; + bVar18 = true; } - if ((pEVar24 == (EntityPtr *)0x0) || (bVar19)) { - pEVar24 = (EntityPtr *)(**(code **)(*piVar13 + 0x84))(0); + if ((pEVar23 == (EntityPtr *)0x0) || (bVar18)) { + pEVar23 = (EntityPtr *)(**(code **)(*piVar11 + 0x84))(0); } } } } - else if (fVar20 == 4.90454e-43) { - while ((pEVar24 == (EntityPtr *)0x0 || - (cVar8 = (**(code **)(*piVar13 + 0x2c))(pEVar24), cVar8 != '\0'))) { - pEVar24 = (EntityPtr *)ItemPool::GetTrinket(&g_game->_itemPool,0); + else if (fVar19 == 4.90454e-43) { + while ((pEVar23 == (EntityPtr *)0x0 || + (cVar8 = (**(code **)(*piVar11 + 0x2c))(pEVar23), cVar8 != '\0'))) { + pEVar23 = (EntityPtr *)ItemPool::GetTrinket(&g_game->_itemPool,0); } } } } LAB_00529a2e: - pEVar14 = EntityFactory::Create(local_f4->_entityFactory,(uint)local_120,0); - if (pEVar14 != (Entity *)0x0) { - uVar23 = GetTimeNs(); - uVar18 = (uint)(uVar23 >> 0x20); - lVar4 = (uVar23 & 0xffffffff) * 0x431bde82; - lVar5 = (ulonglong)uVar18 * 0xd7b634db + ((uVar23 & 0xffffffff) * 0xd7b634db >> 0x20); + pEVar13 = EntityFactory::Create(local_f4->_entityFactory,(uint)local_120,0); + if (pEVar13 != (Entity *)0x0) { + uVar22 = GetTimeNs(); + uVar17 = (uint)(uVar22 >> 0x20); + lVar4 = (uVar22 & 0xffffffff) * 0x431bde82; + lVar5 = (ulonglong)uVar17 * 0xd7b634db + ((uVar22 & 0xffffffff) * 0xd7b634db >> 0x20); local_114 = (float)(lVar5 + lVar4); - lVar4 = (ulonglong)uVar18 * 0x431bde82 + + lVar4 = (ulonglong)uVar17 * 0x431bde82 + (ulonglong) CONCAT14(CARRY4((uint)((ulonglong)lVar5 >> 0x20), (int)((ulonglong)lVar4 >> 0x20) + (uint)CARRY4((uint)lVar4,(uint)lVar5)), (int)((ulonglong)(lVar5 + lVar4) >> 0x20)); uStack_cc = (uint)((ulonglong)lVar4 >> 0x20); - pEVar1 = &pEVar14->_spawnerEntity; - uVar18 = (uint)lVar4 >> 0x12 | uStack_cc * 0x4000; + pEVar1 = &pEVar13->_spawnerEntity; + uVar17 = (uint)lVar4 >> 0x12 | uStack_cc * 0x4000; uStack_cc = uStack_cc >> 0x12; - pEVar14->_spawnerType = 0; - pEVar14->_spawnerVariant = 0; + pEVar13->_spawnerType = 0; + pEVar13->_spawnerVariant = 0; if (*pEVar1 != (EntityPtr)0x0) { apEStack_bc[0] = pEVar1; std::multiset::erase(apEStack_bc); } - iVar9 = *(int *)pEVar14; + iVar9 = *(int *)pEVar13; *pEVar1 = (EntityPtr)0x0; - (pEVar14->_pos).x = local_d4; - (pEVar14->_pos).y = local_d0; - (pEVar14->_velocity).x = fStack_c4; - (pEVar14->_velocity).y = local_10c; - (**(code **)(iVar9 + 4))(local_120,local_124,pEVar24,local_104); - pGVar21 = local_f4; + (pEVar13->_pos).x = local_d4; + (pEVar13->_pos).y = local_d0; + (pEVar13->_velocity).x = (float)pvStack_c4; + (pEVar13->_velocity).y = local_10c; + (**(code **)(iVar9 + 4))(local_120,local_124,pEVar23,local_104); + pGVar20 = local_f4; iVar9 = *(int *)((int)local_f4->_room + 0x1214); *(int *)((int)local_f4->_room + 0x1214) = iVar9 + 1; - pEVar14->_index = iVar9; - EntityList::AddEntity(pEVar14); - cVar8 = Game::ShouldEraseEnemy(pEVar14); + pEVar13->_index = iVar9; + EntityList::AddEntity(pEVar13); + cVar8 = Game::ShouldEraseEnemy(pEVar13); if (cVar8 != '\0') { - Entity::RemoveWithPoof(pEVar14,extraout_ECX); + Entity::RemoveWithPoof(pEVar13,extraout_ECX); } - if ((pEVar14->_exists != 0) && - ((pGVar21->_proceduralItemManager)._proceduralItems._begin != - (pGVar21->_proceduralItemManager)._proceduralItems._end)) { - iStack_84 = pEVar14->_variant; - uVar10 = pEVar14->_type; + if ((pEVar13->_exists != 0) && + ((pGVar20->_proceduralItemManager)._proceduralItems._begin != + (pGVar20->_proceduralItemManager)._proceduralItems._end)) { + iStack_84 = pEVar13->_variant; + uVar10 = pEVar13->_type; uStack_88 = uVar10; std::map::find(&local_118,&uStack_88); - if (local_118 == *(float *)&pGVar21->field_0x67780) { + if (local_118 == (pGVar20->_proceduralItemManager)._spawnTriggerTargets._head) { local_e0 = 0xffffffff; local_e4 = uVar10; - pfVar11 = (float *)std::map::find(local_60,&local_e4); - local_118 = *pfVar11; - if (local_118 == *(float *)&pGVar21->field_0x67780) goto LAB_00529ca4; + piVar11 = (int *)std::map::find(local_60,&local_e4); + local_118 = (void *)*piVar11; + if (local_118 == (pGVar20->_proceduralItemManager)._spawnTriggerTargets._head) + goto LAB_00529ca4; } uVar10 = 0; - pPVar17 = &g_game->_playerManager; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar17->_playerList)._begin >> 2 + pPVar16 = &g_game->_playerManager; + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar16->_playerList)._begin >> 2 != 0) { do { - if ((int)(pPVar17->_playerList)._end - (int)(pPVar17->_playerList)._begin >> 2 == 0) { + if ((int)(pPVar16->_playerList)._end - (int)(pPVar16->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - trigger_set_dispatch(6,pEVar14,&local_d4,&fStack_ac); + trigger_set_dispatch(6,pEVar13,&local_d4,&pvStack_ac); uVar10 = uVar10 + 1; - pPVar17 = &g_game->_playerManager; + pPVar16 = &g_game->_playerManager; } while (uVar10 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar17->_playerList)._begin >> 2)); + (int)(pPVar16->_playerList)._begin >> 2)); } } LAB_00529ca4: - uVar23 = GetTimeNs(); - uVar10 = (uint)(uVar23 >> 0x20); - lVar4 = (uVar23 & 0xffffffff) * 0x431bde82; - fStack_c4 = (float)((ulonglong)lVar4 >> 0x20); + uVar22 = GetTimeNs(); + uVar10 = (uint)(uVar22 >> 0x20); + lVar4 = (uVar22 & 0xffffffff) * 0x431bde82; + pvStack_c4 = (void *)((ulonglong)lVar4 >> 0x20); lVar5 = (ulonglong)uVar10 * 0x431bde82; local_10c = (float)lVar5; - lVar6 = (ulonglong)uVar10 * 0xd7b634db + ((uVar23 & 0xffffffff) * 0xd7b634db >> 0x20); + lVar6 = (ulonglong)uVar10 * 0xd7b634db + ((uVar22 & 0xffffffff) * 0xd7b634db >> 0x20); local_f4 = (Game *)(lVar6 + lVar4); lVar5 = lVar5 + (ulonglong) CONCAT14(CARRY4((uint)((ulonglong)lVar6 >> 0x20), - (int)fStack_c4 + (uint)CARRY4((uint)lVar4,(uint)lVar6)), + (int)pvStack_c4 + (uint)CARRY4((uint)lVar4,(uint)lVar6)), (int)((ulonglong)(lVar6 + lVar4) >> 0x20)); - uVar16 = (uint)((ulonglong)lVar5 >> 0x20); - uVar10 = (uint)lVar5 >> 0x12 | uVar16 * 0x4000; - uVar15 = uVar10 - uVar18; - bVar19 = CARRY4((uint)g_entitySpawnTimeMs,uVar15); - g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar15; + uVar15 = (uint)((ulonglong)lVar5 >> 0x20); + uVar10 = (uint)lVar5 >> 0x12 | uVar15 * 0x4000; + uVar14 = uVar10 - uVar17; + bVar18 = CARRY4((uint)g_entitySpawnTimeMs,uVar14); + g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar14; g_entitySpawnTimeMs._4_4_ = - g_entitySpawnTimeMs._4_4_ + (((uVar16 >> 0x12) - uStack_cc) - (uint)(uVar10 < uVar18)) + - (uint)bVar19; + g_entitySpawnTimeMs._4_4_ + (((uVar15 >> 0x12) - uStack_cc) - (uint)(uVar10 < uVar17)) + + (uint)bVar18; } - (**(code **)(*(int *)pEVar14 + 0x3c))(&DAT_00c5c800,0xffffffff,0xff,0,1); - pCVar2 = &(pEVar14->_sprite)._color; - if (&pEVar14->_splatColor != pCVar2) { - fVar20 = (pEVar14->_sprite)._color._tint[1]; - fVar22 = (pEVar14->_sprite)._color._tint[2]; - fVar7 = (pEVar14->_sprite)._color._tint[3]; - (pEVar14->_splatColor)._tint[0] = pCVar2->_tint[0]; - (pEVar14->_splatColor)._tint[1] = fVar20; - (pEVar14->_splatColor)._tint[2] = fVar22; - (pEVar14->_splatColor)._tint[3] = fVar7; - fVar20 = (pEVar14->_sprite)._color._colorize[1]; - fVar22 = (pEVar14->_sprite)._color._colorize[2]; - fVar7 = (pEVar14->_sprite)._color._colorize[3]; - (pEVar14->_splatColor)._colorize[0] = (pEVar14->_sprite)._color._colorize[0]; - (pEVar14->_splatColor)._colorize[1] = fVar20; - (pEVar14->_splatColor)._colorize[2] = fVar22; - (pEVar14->_splatColor)._colorize[3] = fVar7; - *(undefined8 *)(pEVar14->_splatColor)._offset = - *(undefined8 *)(pEVar14->_sprite)._color._offset; - (pEVar14->_splatColor)._offset[2] = (pEVar14->_sprite)._color._offset[2]; + (**(code **)(*(int *)pEVar13 + 0x3c))(&DAT_00c5c800,0xffffffff,0xff,0,1); + pCVar2 = &(pEVar13->_sprite)._color; + if (&pEVar13->_splatColor != pCVar2) { + fVar19 = (pEVar13->_sprite)._color._tint[1]; + fVar21 = (pEVar13->_sprite)._color._tint[2]; + fVar7 = (pEVar13->_sprite)._color._tint[3]; + (pEVar13->_splatColor)._tint[0] = pCVar2->_tint[0]; + (pEVar13->_splatColor)._tint[1] = fVar19; + (pEVar13->_splatColor)._tint[2] = fVar21; + (pEVar13->_splatColor)._tint[3] = fVar7; + fVar19 = (pEVar13->_sprite)._color._colorize[1]; + fVar21 = (pEVar13->_sprite)._color._colorize[2]; + fVar7 = (pEVar13->_sprite)._color._colorize[3]; + (pEVar13->_splatColor)._colorize[0] = (pEVar13->_sprite)._color._colorize[0]; + (pEVar13->_splatColor)._colorize[1] = fVar19; + (pEVar13->_splatColor)._colorize[2] = fVar21; + (pEVar13->_splatColor)._colorize[3] = fVar7; + *(undefined8 *)(pEVar13->_splatColor)._offset = + *(undefined8 *)(pEVar13->_sprite)._color._offset; + (pEVar13->_splatColor)._offset[2] = (pEVar13->_sprite)._color._offset[2]; } - (**(code **)(*(int *)pEVar14 + 0xc))(); + (**(code **)(*(int *)pEVar13 + 0xc))(); local_11c = (Game *)((int)local_11c + -1); } while( true ); } @@ -180895,10 +181012,10 @@ void __fastcall NpcAI::ENTITY_VIS(Entity_NPC *npc) } ANM2::LoadGraphics(&npc->_sprite,bVar7); pLVar8 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar8->field_0x48 = 0x3ef0f0f2; - *(undefined4 *)&pLVar8->field_0x4c = 0x3f028283; - *(undefined4 *)&pLVar8->field_0x50 = 0x3f028283; - *(undefined4 *)&pLVar8->field_0x54 = 0x3f800000; + (pLVar8->_color)._tint[0] = 0.47058827; + (pLVar8->_color)._tint[1] = 0.50980395; + (pLVar8->_color)._tint[2] = 0.50980395; + (pLVar8->_color)._tint[3] = 1.0; uVar9 = ColorParams::set_from_bytes(10,0x50,10,0xff,100,100,0x50); Color::operator_assign(uVar9); pEVar10 = EntityConfig::GetEntity(&g_manager->_entityConfig,1000,0x32,2); @@ -181493,8 +181610,7 @@ void __fastcall NpcAI::ENTITY_MAGGOT(Entity_NPC *npc) float local_e8; float local_e4; char *local_a8 [4]; - RNG local_98; - Vector local_94; + undefined1 local_98 [12]; char *local_8c; char *local_88 [3]; byte *local_7c [3]; @@ -181841,9 +181957,9 @@ LAB_0052e24c: local_a8[1] = "WalkVert"; local_a8[2] = "WalkLeft"; local_a8[3] = "WalkRight"; - local_98 = (RNG)0xb5fca8; - local_94.x = 1.6712878e-38; - local_94.y = 1.6712777e-38; + local_98._0_4_ = "ChargeUp"; + local_98._4_4_ = 1.6712878e-38; + local_98._8_4_ = 1.6712777e-38; local_8c = "ChargeRight"; local_7c[0] = (byte *)0xb610e8; local_7c[1] = (byte *)0xb610dc; @@ -182225,7 +182341,7 @@ LAB_00530392: ANM2::Play(&npc->_sprite,(byte *)local_60[local_22c],0); } else if (iVar14 == 0xed) { - ANM2::Play(&npc->_sprite,*(byte **)(local_64 + local_22c * 4 + -0x34),0); + ANM2::Play(&npc->_sprite,*(byte **)(local_98 + local_22c * 4),0); } else { ANM2::Play(&npc->_sprite,(byte *)local_60[local_22c + 9],0); @@ -182456,10 +182572,10 @@ LAB_0052fdf6: pRVar26 = (Room *)&npc->_sprite; local_40 = pRVar26; if (iVar14 == 0x37) { - pbVar19 = *(byte **)(local_64 + local_22c * 4 + -0x24); + pbVar19 = *(byte **)(local_98 + local_22c * 4 + 0x10); } else if (iVar14 == 0xed) { - pbVar19 = *(byte **)(local_64 + local_22c * 4 + -0x44); + pbVar19 = *(byte **)(local_98 + local_22c * 4 + -0x10); } else if (iVar14 == 0xf3) { pbVar19 = *(byte **)(local_64 + local_22c * 4 + -0xc); @@ -182892,13 +183008,13 @@ LAB_00530723: ExceptionList = local_1c; return; } - local_98 = (RNG)npc->_initSeed; + local_98._0_4_ = npc->_initSeed; local_240 = (Room *)0x0; local_230 = (char *)0x0; - local_94.x = 2.8026e-45; - local_94.y = 9.80909e-45; + local_98._4_4_ = 2.8026e-45; + local_98._8_4_ = 9.80909e-45; local_8c = (void *)0x19; - fVar22 = RNG::RandomFloat(&local_98); + fVar22 = RNG::RandomFloat((RNG *)local_98); fVar10 = (npc->_velocity).y; local_2c.y = fVar22 * 15.0 + 15.0; fVar22 = (npc->_velocity).x; @@ -184235,11 +184351,7 @@ void __fastcall NpcAI::ENTITY_DEATHS_HEAD(Entity_NPC *npc) undefined4 local_f0; undefined4 uStack_ec; undefined4 local_e8; - undefined1 local_e4 [24]; - float fStack_cc; - float fStack_c8; - uint local_c4; - Entity_NPC *local_c0; + EntityRef local_e4; undefined4 local_bc; ProjectileParams local_b8; uint local_c; @@ -184367,14 +184479,14 @@ void __fastcall NpcAI::ENTITY_DEATHS_HEAD(Entity_NPC *npc) if ((pEVar9->_entityCollisionClass != 0) && (fVar19 = (npc->_pos).x - (pEVar9->_pos).x, fVar17 = (npc->_pos).y - (pEVar9->_pos).y , fVar17 * fVar17 + fVar19 * fVar19 < 4900.0)) { - local_e4._0_4_ = npc->_type; - local_e4._16_4_ = (npc->_pos).x; - local_e4._20_4_ = (npc->_pos).y; - local_e4._4_4_ = npc->_variant; - local_e4._8_4_ = npc->_spawnerType; - local_e4._12_4_ = npc->_spawnerVariant; - fStack_cc = (npc->_velocity).x; - fStack_c8 = (npc->_velocity).y; + local_e4._type = npc->_type; + local_e4._position.x = (npc->_pos).x; + local_e4._position.y = (npc->_pos).y; + local_e4._variant = npc->_variant; + local_e4._spawnerType = npc->_spawnerType; + local_e4._spawnerVariant = npc->_spawnerVariant; + local_e4._velocity.x = (npc->_velocity).x; + local_e4._velocity.y = (npc->_velocity).y; local_144 = (float)(uint)((npc->_flags & 0x100) != 0); local_140 = 2.8026e-45; if ((npc->_flags & 0x20000000) == 0) { @@ -184386,9 +184498,9 @@ void __fastcall NpcAI::ENTITY_DEATHS_HEAD(Entity_NPC *npc) else { uVar10 = 4; } - local_c4 = uVar10 | (uint)local_140 | (uint)local_144; - local_c0 = npc; - Entity::AddFear((Entity *)pEVar9,(EntityRef *)local_e4,-0x2d,0); + local_e4._flags = uVar10 | (uint)local_140 | (uint)local_144; + local_e4._entity = npc; + Entity::AddFear((Entity *)pEVar9,&local_e4,-0x2d,0); } uVar16 = uVar16 + 1; } while (uVar16 < (uint)((int)(g_game->_playerManager)._playerList._end - @@ -184426,18 +184538,18 @@ void __fastcall NpcAI::ENTITY_DEATHS_HEAD(Entity_NPC *npc) pEVar11 = (Entity_Effect *) Game::SpawnEx(g_game,1000,0xc6,&local_138,&g_vectorZero,0,0,uVar7,0); Entity_Effect::FollowParent(pEVar11,npc); - local_c4 = 0; - local_e4._16_4_ = 0.0; - local_e4._20_4_ = 0.0; - fStack_cc = 0.0; - fStack_c8 = 0.0; - local_c0 = (Entity_NPC *)0x0; + local_e4._flags = 0; + local_e4._position.x = 0.0; + local_e4._position.y = 0.0; + local_e4._velocity.x = 0.0; + local_e4._velocity.y = 0.0; + local_e4._entity = (Entity_NPC *)0x0; local_bc = 0; - local_e4._0_4_ = 0x3f19999a; - local_e4._4_4_ = 0x3d4ccccd; - local_e4._8_4_ = 0; - local_e4._12_4_ = 0x3f19999a; - Sprite::SetColor((Sprite *)&pEVar11->_sprite,local_e4); + local_e4._type = 0x3f19999a; + local_e4._variant = 0x3d4ccccd; + local_e4._spawnerType = 0; + local_e4._spawnerVariant = 0x3f19999a; + Sprite::SetColor((Sprite *)&pEVar11->_sprite,&local_e4); fVar17 = g_vectorOne.x * 4.0; (pEVar11->_sprite)._scale.y = g_vectorOne.y * 4.0; (pEVar11->_sprite)._scale.x = fVar17; @@ -184605,17 +184717,17 @@ LAB_0053398b: } if (((npc->_type == 0x11e) && (npc->_controllerID != -1)) && (cVar5 = input_is_action_pressed(9,npc->_controllerID,npc,uVar7), cVar5 != '\0')) { - local_e4._0_4_ = 0; - local_e4._4_4_ = 0; - local_e4._8_4_ = 0; - local_e4._12_4_ = 0; - local_e4._16_4_ = g_vectorZero.x; - local_e4._20_4_ = g_vectorZero.y; - fStack_cc = g_vectorZero.x; - fStack_c8 = g_vectorZero.y; - local_c4 = 0; - local_c0 = (Entity_NPC *)0x0; - (**(code **)(*(int *)npc + 0x24))(local_e4); + local_e4._type = 0; + local_e4._variant = 0; + local_e4._spawnerType = 0; + local_e4._spawnerVariant = 0; + local_e4._position.x = g_vectorZero.x; + local_e4._position.y = g_vectorZero.y; + local_e4._velocity.x = g_vectorZero.x; + local_e4._velocity.y = g_vectorZero.y; + local_e4._flags = 0; + local_e4._entity = (Entity_NPC *)0x0; + (**(code **)(*(int *)npc + 0x24))(&local_e4); } if ((((npc->_dead != 0) || (npc->_state == 0x12)) && (npc->_type == 0x11e)) && ((npc->_flags & 0x1000000) == 0)) { @@ -184666,10 +184778,7 @@ void __fastcall NpcAI::ENTITY_MOMS_HAND(Entity_NPC *npc) uint local_44; float local_3c; undefined1 local_38 [8]; - undefined1 local_30 [28]; - float local_14; - uint local_10; - Entity_NPC *local_c; + EntityRef local_30; iVar18 = npc->_state; if (iVar18 == 0) { @@ -184719,17 +184828,17 @@ void __fastcall NpcAI::ENTITY_MOMS_HAND(Entity_NPC *npc) uVar6 = (uint)npc->_flags; local_44 = *(uint *)((int)&npc->_flags + 4); if (((uVar6 & 0x100) != 0) && (npc->_charmedCountdown < 3)) { - local_30._0_4_ = npc->_type; - local_30._16_4_ = (npc->_pos).x; - local_30._20_4_ = (npc->_pos).y; - local_10 = 3; - local_30._4_4_ = npc->_variant; - local_30._8_4_ = npc->_spawnerType; - local_30._24_4_ = (npc->_velocity).x; - local_14 = (npc->_velocity).y; - local_30._12_4_ = npc->_spawnerVariant; + local_30._type = npc->_type; + local_30._position.x = (npc->_pos).x; + local_30._position.y = (npc->_pos).y; + local_30._flags = 3; + local_30._variant = npc->_variant; + local_30._spawnerType = npc->_spawnerType; + local_30._velocity.x = (npc->_velocity).x; + local_30._velocity.y = (npc->_velocity).y; + local_30._spawnerVariant = npc->_spawnerVariant; if ((uVar6 & 0x20000000) == 0) { - local_10 = 1; + local_30._flags = 1; } if ((local_44 & 0x400000) == 0) { uVar6 = 0; @@ -184737,21 +184846,21 @@ void __fastcall NpcAI::ENTITY_MOMS_HAND(Entity_NPC *npc) else { uVar6 = 4; } - local_10 = local_10 | uVar6; - local_c = npc; - Entity::AddCharmed((Entity *)npc,(EntityRef *)local_30,1,0,0); + local_30._flags = local_30._flags | uVar6; + local_30._entity = npc; + Entity::AddCharmed((Entity *)npc,&local_30,1,0,0); uVar6 = (uint)npc->_flags; local_44 = *(uint *)((int)&npc->_flags + 4); } if (((uVar6 & 0x200) != 0) && (npc->_confusionCountdown < 3)) { - local_30._0_4_ = npc->_type; - local_30._16_4_ = (npc->_pos).x; - local_30._20_4_ = (npc->_pos).y; - local_30._4_4_ = npc->_variant; - local_30._8_4_ = npc->_spawnerType; - local_30._12_4_ = npc->_spawnerVariant; - local_30._24_4_ = (npc->_velocity).x; - local_14 = (npc->_velocity).y; + local_30._type = npc->_type; + local_30._position.x = (npc->_pos).x; + local_30._position.y = (npc->_pos).y; + local_30._variant = npc->_variant; + local_30._spawnerType = npc->_spawnerType; + local_30._spawnerVariant = npc->_spawnerVariant; + local_30._velocity.x = (npc->_velocity).x; + local_30._velocity.y = (npc->_velocity).y; if ((uVar6 & 0x20000000) == 0) { uVar15 = 0; } @@ -184764,21 +184873,21 @@ void __fastcall NpcAI::ENTITY_MOMS_HAND(Entity_NPC *npc) else { uVar7 = 4; } - local_10 = uVar7 | uVar15 | (uint)((uVar6 & 0x100) != 0); - local_c = npc; - Entity::AddConfusion((Entity *)npc,(EntityRef *)local_30,1,0); + local_30._flags = uVar7 | uVar15 | (uint)((uVar6 & 0x100) != 0); + local_30._entity = npc; + Entity::AddConfusion((Entity *)npc,&local_30,1,0); uVar6 = (uint)npc->_flags; local_44 = *(uint *)((int)&npc->_flags + 4); } if (((uVar6 & 0x800) != 0) && (npc->_fearCountdown < 3)) { - local_30._0_4_ = npc->_type; - local_30._16_4_ = (npc->_pos).x; - local_30._20_4_ = (npc->_pos).y; - local_30._4_4_ = npc->_variant; - local_30._8_4_ = npc->_spawnerType; - local_30._12_4_ = npc->_spawnerVariant; - local_30._24_4_ = (npc->_velocity).x; - local_14 = (npc->_velocity).y; + local_30._type = npc->_type; + local_30._position.x = (npc->_pos).x; + local_30._position.y = (npc->_pos).y; + local_30._variant = npc->_variant; + local_30._spawnerType = npc->_spawnerType; + local_30._spawnerVariant = npc->_spawnerVariant; + local_30._velocity.x = (npc->_velocity).x; + local_30._velocity.y = (npc->_velocity).y; if ((uVar6 & 0x20000000) == 0) { uVar15 = 0; } @@ -184791,21 +184900,21 @@ void __fastcall NpcAI::ENTITY_MOMS_HAND(Entity_NPC *npc) else { uVar7 = 4; } - local_10 = uVar7 | uVar15 | (uint)((uVar6 & 0x100) != 0); - local_c = npc; - Entity::AddFear((Entity *)npc,(EntityRef *)local_30,1,0); + local_30._flags = uVar7 | uVar15 | (uint)((uVar6 & 0x100) != 0); + local_30._entity = npc; + Entity::AddFear((Entity *)npc,&local_30,1,0); uVar6 = (uint)npc->_flags; local_44 = *(uint *)((int)&npc->_flags + 4); } if (((uVar6 & 0x1000000) != 0) && (npc->_shrinkCountdown < 3)) { - local_30._0_4_ = npc->_type; - local_30._16_4_ = (npc->_pos).x; - local_30._20_4_ = (npc->_pos).y; - local_30._4_4_ = npc->_variant; - local_30._8_4_ = npc->_spawnerType; - local_30._12_4_ = npc->_spawnerVariant; - local_30._24_4_ = (npc->_velocity).x; - local_14 = (npc->_velocity).y; + local_30._type = npc->_type; + local_30._position.x = (npc->_pos).x; + local_30._position.y = (npc->_pos).y; + local_30._variant = npc->_variant; + local_30._spawnerType = npc->_spawnerType; + local_30._spawnerVariant = npc->_spawnerVariant; + local_30._velocity.x = (npc->_velocity).x; + local_30._velocity.y = (npc->_velocity).y; if ((uVar6 & 0x20000000) == 0) { uVar15 = 0; } @@ -184818,9 +184927,9 @@ void __fastcall NpcAI::ENTITY_MOMS_HAND(Entity_NPC *npc) else { uVar7 = 4; } - local_10 = uVar7 | uVar15 | (uint)((uVar6 & 0x100) != 0); - local_c = npc; - Entity::AddShrink((Entity *)npc,(EntityRef *)local_30,1,0,0); + local_30._flags = uVar7 | uVar15 | (uint)((uVar6 & 0x100) != 0); + local_30._entity = npc; + Entity::AddShrink((Entity *)npc,&local_30,1,0,0); } } iVar18 = npc->_state; @@ -185405,31 +185514,32 @@ undefined4 * __fastcall NpcAI::ENTITY_SQUIRT(Entity_NPC *npc) longlong lVar7; longlong lVar8; longlong lVar9; + ProceduralItemManager *pPVar10; EntityPtr this; - byte bVar10; - char cVar11; - int iVar12; - undefined4 uVar13; - int *piVar14; - undefined4 *puVar15; - float *pfVar16; - uint uVar17; - Entity *pEVar18; - uint uVar19; + byte bVar11; + char cVar12; + int iVar13; + undefined4 uVar14; + int *piVar15; + undefined4 *puVar16; + float *pfVar17; + uint uVar18; + Entity *pEVar19; + uint uVar20; EntityRef *ref; Entity *this_00; undefined4 extraout_ECX; - undefined1 *puVar20; - uint uVar21; - PlayerManager *pPVar22; - int iVar23; - Game *pGVar24; - void **ppvVar25; - bool bVar26; - float fVar27; - ItemPool *pIVar28; - float fVar29; - ulonglong uVar30; + undefined1 *puVar21; + uint uVar22; + PlayerManager *pPVar23; + int iVar24; + Game *pGVar25; + void **ppvVar26; + bool bVar27; + float fVar28; + ItemPool *pIVar29; + float fVar30; + ulonglong uVar31; byte addEnemyKillScore; undefined1 auStack_2bc [4]; uint uStack_2b8; @@ -185445,7 +185555,7 @@ undefined4 * __fastcall NpcAI::ENTITY_SQUIRT(Entity_NPC *npc) Vector *pVStack_288; undefined4 local_284; uint uStack_280; - int iStack_27c; + void *pvStack_27c; EntityPtr local_278; float local_274; float local_270; @@ -185456,10 +185566,7 @@ undefined4 * __fastcall NpcAI::ENTITY_SQUIRT(Entity_NPC *npc) uint uStack_25c; EntityPtr *pEStack_258; EntityPtr *pEStack_254; - undefined1 auStack_250 [28]; - float fStack_234; - uint uStack_230; - void *pvStack_22c; + EntityRef EStack_250; float local_228; float local_224; float local_220; @@ -185487,14 +185594,8 @@ undefined4 * __fastcall NpcAI::ENTITY_SQUIRT(Entity_NPC *npc) int aiStack_1c8 [6]; undefined8 uStack_1b0; undefined4 uStack_1a8; - undefined1 auStack_1a4 [28]; - float fStack_188; - undefined4 uStack_184; - void *pvStack_180; - undefined1 auStack_17c [28]; - float fStack_160; - undefined4 uStack_15c; - void *pvStack_158; + EntityRef EStack_1a4; + EntityRef EStack_17c; float fStack_154; float fStack_150; float fStack_14c; @@ -185532,8 +185633,8 @@ undefined4 * __fastcall NpcAI::ENTITY_SQUIRT(Entity_NPC *npc) uint auStack_1c [6]; auStack_1c[4] = __security_cookie ^ (uint)auStack_2bc; - iVar23 = npc->_state; - if (iVar23 == 0) { + iVar24 = npc->_state; + if (iVar24 == 0) { pCVar1 = &npc->_splatColor; npc->_state = 3; if (npc->_variant != 1) { @@ -185569,92 +185670,92 @@ undefined4 * __fastcall NpcAI::ENTITY_SQUIRT(Entity_NPC *npc) (npc->_splatColor)._offset[2] = 0.0; return (undefined4 *)0x0; } - if ((npc->_type != 0x367) || (iVar12 = 6, *(float *)((int)g_game->_room + 0x7240) <= 0.0)) { - iVar12 = 5; + if ((npc->_type != 0x367) || (iVar13 = 6, *(float *)((int)g_game->_room + 0x7240) <= 0.0)) { + iVar13 = 5; } - npc->_entityGridCollisionClass = iVar12; + npc->_entityGridCollisionClass = iVar13; local_278 = (EntityPtr)npc; if ((npc->_dead != 0) && (npc->_championRegenCount == 0)) { if (npc->_type == 0x367) { - iVar23 = 2; + iVar24 = 2; do { - iVar12 = Random(); - fVar27 = (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 + iVar13 = Random(); + fVar28 = (float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pIVar28 = (ItemPool *)(fVar27 + fVar27); - local_2a8 = (Entity *)pIVar28; + pIVar29 = (ItemPool *)(fVar28 + fVar28); + local_2a8 = (Entity *)pIVar29; cos(); - pEVar18 = local_2a8; - local_2a4 = pIVar28; + pEVar19 = local_2a8; + local_2a4 = pIVar29; sin(); - local_2b4 = (ItemPool *)pEVar18; - uVar13 = Random(); + local_2b4 = (ItemPool *)pEVar19; + uVar14 = Random(); local_228 = (float)local_2a4 * 10.0 + (npc->_pos).x; local_224 = (float)local_2b4 * 10.0 + (npc->_pos).y; - piVar14 = (int *)Game::SpawnEx(g_game,0x366,0,&local_228,&g_vectorZero,npc,0,uVar13,0); - iVar12 = Random(); - fVar27 = (float)piVar14[0xdb]; - fVar29 = (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 + piVar15 = (int *)Game::SpawnEx(g_game,0x366,0,&local_228,&g_vectorZero,npc,0,uVar14,0); + iVar13 = Random(); + fVar28 = (float)piVar15[0xdb]; + fVar30 = (float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]) * 2.3283064e-10 ; - fVar29 = fVar29 + fVar29 + 4.0; - if (fVar27 != 0.0) { - piVar14[0xd9] = - (int)(((float)piVar14[0xe7] * (float)local_2b4 * fVar29) / fVar27 + - (float)piVar14[0xd9]); - piVar14[0xd8] = - (int)(((float)piVar14[0xe7] * (float)local_2a4 * fVar29) / fVar27 + - (float)piVar14[0xd8]); + fVar30 = fVar30 + fVar30 + 4.0; + if (fVar28 != 0.0) { + piVar15[0xd9] = + (int)(((float)piVar15[0xe7] * (float)local_2b4 * fVar30) / fVar28 + + (float)piVar15[0xd9]); + piVar15[0xd8] = + (int)(((float)piVar15[0xe7] * (float)local_2a4 * fVar30) / fVar28 + + (float)piVar15[0xd8]); } - piVar14[0x5a] = piVar14[0x5a] & 0xfffffffb; - piVar14[0x5b] = piVar14[0x5b]; - piVar14[0x2d9] = 4; - puVar15 = (undefined4 *)(**(code **)(*piVar14 + 0xc))(); - iVar23 = iVar23 + -1; - } while (iVar23 != 0); - return puVar15; + piVar15[0x5a] = piVar15[0x5a] & 0xfffffffb; + piVar15[0x5b] = piVar15[0x5b]; + piVar15[0x2d9] = 4; + puVar16 = (undefined4 *)(**(code **)(*piVar15 + 0xc))(); + iVar24 = iVar24 + -1; + } while (iVar24 != 0); + return puVar16; } if (npc->_variant == 1) { - uVar13 = Random(); + uVar14 = Random(); local_220 = (npc->_pos).x + 10.0; local_21c = (npc->_pos).y + 0.0; - Game::SpawnEx(g_game,0xf,1,&local_220,&g_vectorZero,npc,0,uVar13,0); - uVar13 = Random(); + Game::SpawnEx(g_game,0xf,1,&local_220,&g_vectorZero,npc,0,uVar14,0); + uVar14 = Random(); local_218 = (npc->_pos).x - 10.0; local_214 = (npc->_pos).y + 0.0; - puVar15 = (undefined4 *)Game::SpawnEx(g_game,0xf,1,&local_218,&g_vectorZero,npc,0,uVar13,0); - return puVar15; + puVar16 = (undefined4 *)Game::SpawnEx(g_game,0xf,1,&local_218,&g_vectorZero,npc,0,uVar14,0); + return puVar16; } - uVar13 = Random(); + uVar14 = Random(); local_210 = (npc->_pos).x + 10.0; local_20c = (npc->_pos).y + 0.0; - Game::SpawnEx(g_game,0xd9,0,&local_210,&g_vectorZero,npc,0,uVar13,0); - uVar13 = Random(); + Game::SpawnEx(g_game,0xd9,0,&local_210,&g_vectorZero,npc,0,uVar14,0); + uVar14 = Random(); local_208 = (npc->_pos).x - 10.0; local_204 = (npc->_pos).y + 0.0; - puVar15 = (undefined4 *)Game::SpawnEx(g_game,0xd9,0,&local_208,&g_vectorZero,npc,0,uVar13,0); - return puVar15; + puVar16 = (undefined4 *)Game::SpawnEx(g_game,0xd9,0,&local_208,&g_vectorZero,npc,0,uVar14,0); + return puVar16; } npc->_friction = npc->_friction * 0.95; - if (iVar23 == 3) { + if (iVar24 == 3) { ANM2::Play(&npc->_sprite,s_Idle,0); if (npc->_controllerID == -1) { - uVar17 = Random(); - if (uVar17 % 5 == 0) { - cVar11 = Entity::IsFrame((Entity *)npc,5,npc->_index); - bVar26 = cVar11 == '\0'; + uVar18 = Random(); + if (uVar18 % 5 == 0) { + cVar12 = Entity::IsFrame((Entity *)npc,5,npc->_index); + bVar27 = cVar12 == '\0'; goto LAB_005357e2; } } else { - pfVar16 = (float *)Entity_NPC::GetControllerInput(local_ac); - if ((*pfVar16 == g_vectorZero.x) && (pfVar16[1] == g_vectorZero.y)) { - bVar26 = true; + pfVar17 = (float *)Entity_NPC::GetControllerInput(local_ac); + if ((*pfVar17 == g_vectorZero.x) && (pfVar17[1] == g_vectorZero.y)) { + bVar27 = true; } else { - bVar26 = false; + bVar27 = false; } LAB_005357e2: - if (!bVar26) { + if (!bVar27) { local_284 = *(undefined4 *)((int)&npc->_flags + 4); if (((npc->_flags & 0x1000800) == 0) || (npc->_controllerID != -1)) { if (((npc->_flags & 0x200) == 0) || (npc->_controllerID != -1)) { @@ -185665,85 +185766,85 @@ LAB_005357e2: (npc->_v1).x = 0.0; npc->_state = 4; npc->_i1 = 0; - pfVar16 = (float *)MusicManager::RandomVector(local_9c); - (npc->_velocity).x = *pfVar16; - (npc->_velocity).y = pfVar16[1]; + pfVar17 = (float *)MusicManager::RandomVector(local_9c); + (npc->_velocity).x = *pfVar17; + (npc->_velocity).y = pfVar17[1]; } } else { (npc->_v1).x = 0.0; npc->_state = 4; npc->_i1 = 0; - pfVar16 = (float *)Entity_NPC::CalcTargetPosition(local_a4,0x3f800000); - fVar27 = pfVar16[1]; - fVar29 = (npc->_pos).y; - (npc->_velocity).x = *pfVar16 - (npc->_pos).x; - (npc->_velocity).y = fVar27 - fVar29; + pfVar17 = (float *)Entity_NPC::CalcTargetPosition(local_a4,0x3f800000); + fVar28 = pfVar17[1]; + fVar30 = (npc->_pos).y; + (npc->_velocity).x = *pfVar17 - (npc->_pos).x; + (npc->_velocity).y = fVar28 - fVar30; } } } - fVar27 = npc->_friction * 0.7; + fVar28 = npc->_friction * 0.7; LAB_00535fbb: - npc->_friction = fVar27; + npc->_friction = fVar28; } - else if ((iVar23 == 4) || (iVar23 == 6)) { + else if ((iVar24 == 4) || (iVar24 == 6)) { ANM2::Play(&npc->_sprite,(byte *)"Slide",0); if (npc->_type == 0x367) { - iVar23 = npc->_state; - if (iVar23 == 6) { + iVar24 = npc->_state; + if (iVar24 == 6) { Entity_NPC::SpawnControlTarget(npc,1); - iVar23 = npc->_state; + iVar24 = npc->_state; } local_2a8 = (Entity *)npc->_speedMultiplier; - fVar27 = (float)local_2a8 + (npc->_v1).x; - (npc->_v1).x = fVar27; - local_298 = fVar27; - if (10.0 <= fVar27) { - fVar29 = (npc->_velocity).y; + fVar28 = (float)local_2a8 + (npc->_v1).x; + (npc->_v1).x = fVar28; + local_298 = fVar28; + if (10.0 <= fVar28) { + fVar30 = (npc->_velocity).y; fVar4 = (npc->_velocity).x; - if (fVar4 * fVar4 + fVar29 * fVar29 < 9.0) { - bVar26 = iVar23 == 6; - iVar23 = 3; - if (bVar26) { - iVar23 = 9; + if (fVar4 * fVar4 + fVar30 * fVar30 < 9.0) { + bVar27 = iVar24 == 6; + iVar24 = 3; + if (bVar27) { + iVar24 = 9; } - npc->_state = iVar23; + npc->_state = iVar24; } } else { - pfVar16 = (float *)Vector::Resized(local_54,0x3f000000); - fVar27 = npc->_friction; - if (fVar27 == 0.0) { - fVar27 = local_298; + pfVar17 = (float *)Vector::Resized(local_54,0x3f000000); + fVar28 = npc->_friction; + if (fVar28 == 0.0) { + fVar28 = local_298; } else { - fVar29 = pfVar16[1]; - (npc->_velocity).x = ((float)local_2a8 * *pfVar16) / fVar27 + (npc->_velocity).x; - (npc->_velocity).y = (fVar29 * (float)local_2a8) / fVar27 + (npc->_velocity).y; - iVar23 = npc->_state; - fVar27 = (npc->_v1).x; + fVar30 = pfVar17[1]; + (npc->_velocity).x = ((float)local_2a8 * *pfVar17) / fVar28 + (npc->_velocity).x; + (npc->_velocity).y = (fVar30 * (float)local_2a8) / fVar28 + (npc->_velocity).y; + iVar24 = npc->_state; + fVar28 = (npc->_v1).x; } } - if (iVar23 == 6) { - fVar29 = 8.0; + if (iVar24 == 6) { + fVar30 = 8.0; } else { - fVar29 = 40.0; + fVar30 = 40.0; } - if (fVar27 <= fVar29) goto LAB_00535fc3; + if (fVar28 <= fVar30) goto LAB_00535fc3; LAB_00535fab: - fVar27 = npc->_friction * 0.85; + fVar28 = npc->_friction * 0.85; goto LAB_00535fbb; } local_2a8 = (Entity *)npc->_speedMultiplier; - fVar27 = (float)local_2a8 + (npc->_v1).x; - (npc->_v1).x = fVar27; - if (10.0 <= fVar27) { - fVar27 = (npc->_velocity).y; - fVar29 = (npc->_velocity).x; - fVar27 = fVar29 * fVar29 + fVar27 * fVar27; - if (1.0 <= fVar27) { - if (fVar27 < 9.0) { + fVar28 = (float)local_2a8 + (npc->_v1).x; + (npc->_v1).x = fVar28; + if (10.0 <= fVar28) { + fVar28 = (npc->_velocity).y; + fVar30 = (npc->_velocity).x; + fVar28 = fVar30 * fVar30 + fVar28 * fVar28; + if (1.0 <= fVar28) { + if (fVar28 < 9.0) { npc->_friction = npc->_friction * 0.8; } } @@ -185752,49 +185853,49 @@ LAB_00535fab: } } else { - pfVar16 = (float *)Vector::Resized(aiStack_1c8 + 2,0x3f000000); - fVar27 = npc->_friction; - if (fVar27 != 0.0) { - fVar29 = pfVar16[1]; - (npc->_velocity).x = ((float)local_2a8 * *pfVar16) / fVar27 + (npc->_velocity).x; - (npc->_velocity).y = ((float)local_2a8 * fVar29) / fVar27 + (npc->_velocity).y; + pfVar17 = (float *)Vector::Resized(aiStack_1c8 + 2,0x3f000000); + fVar28 = npc->_friction; + if (fVar28 != 0.0) { + fVar30 = pfVar17[1]; + (npc->_velocity).x = ((float)local_2a8 * *pfVar17) / fVar28 + (npc->_velocity).x; + (npc->_velocity).y = ((float)local_2a8 * fVar30) / fVar28 + (npc->_velocity).y; } } - iVar23 = npc->_i1; + iVar24 = npc->_i1; if (npc->_collidesWithGrid != 0) { - iVar23 = iVar23 + 1; - npc->_i1 = iVar23; + iVar24 = iVar24 + 1; + npc->_i1 = iVar24; } - if (4 < iVar23) goto LAB_00535fab; + if (4 < iVar24) goto LAB_00535fab; } else { - if (iVar23 != 8) { - if (iVar23 == 9) { + if (iVar24 != 8) { + if (iVar24 == 9) { ANM2::Play(&npc->_sprite,&DAT_00b1d554,0); Entity_NPC::SpawnControlTarget(npc,1); - cVar11 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Slide"); - if (cVar11 != '\0') { - pEVar18 = Entity_NPC::GetPlayerTarget(npc); + cVar12 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Slide"); + if (cVar12 != '\0') { + pEVar19 = Entity_NPC::GetPlayerTarget(npc); pVVar2 = &npc->_pos; - local_1e0 = (pEVar18->_pos).x - pVVar2->x; - local_1dc = (pEVar18->_pos).y - (npc->_pos).y; + local_1e0 = (pEVar19->_pos).x - pVVar2->x; + local_1dc = (pEVar19->_pos).y - (npc->_pos).y; Vector::Normalized(&local_264); if (npc->_controllerID != -1) { Entity_NPC::GetAimTargetPosition(npc,local_6c); - cVar11 = Vector::operator_ne(pVVar2); - if (cVar11 != '\0') { - pfVar16 = (float *)Entity_NPC::GetAimTargetPosition(npc,local_64); - local_1d8 = *pfVar16 - pVVar2->x; - local_1d4 = pfVar16[1] - (npc->_pos).y; - pfVar16 = (float *)Vector::Normalized(local_5c); - local_264 = *pfVar16; - local_260 = pfVar16[1]; + cVar12 = Vector::operator_ne(pVVar2); + if (cVar12 != '\0') { + pfVar17 = (float *)Entity_NPC::GetAimTargetPosition(npc,local_64); + local_1d8 = *pfVar17 - pVVar2->x; + local_1d4 = pfVar17[1] - (npc->_pos).y; + pfVar17 = (float *)Vector::Normalized(local_5c); + local_264 = *pfVar17; + local_260 = pfVar17[1]; } } - fVar27 = npc->_friction; - if (fVar27 != 0.0) { - (npc->_velocity).x = (local_264 * 20.0) / fVar27 + (npc->_velocity).x; - (npc->_velocity).y = (local_260 * 20.0) / fVar27 + (npc->_velocity).y; + fVar28 = npc->_friction; + if (fVar28 != 0.0) { + (npc->_velocity).x = (local_264 * 20.0) / fVar28 + (npc->_velocity).x; + (npc->_velocity).y = (local_260 * 20.0) / fVar28 + (npc->_velocity).y; } Entity_NPC::PlaySound(npc,0x39,1.0,100,0,1.0); } @@ -185808,59 +185909,59 @@ LAB_00535fab: } ANM2::Play(&npc->_sprite,&DAT_00b1d53c,0); Entity_NPC::SpawnControlTarget(npc,1); - cVar11 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Slide"); - if (cVar11 != '\0') { + cVar12 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Slide"); + if (cVar12 != '\0') { pVVar2 = &npc->_pos; if (npc->_type == 0x367) { - pEVar18 = Entity_NPC::GetPlayerTarget(npc); - local_200 = (pEVar18->_pos).x - pVVar2->x; - local_1fc = (pEVar18->_pos).y - (npc->_pos).y; + pEVar19 = Entity_NPC::GetPlayerTarget(npc); + local_200 = (pEVar19->_pos).x - pVVar2->x; + local_1fc = (pEVar19->_pos).y - (npc->_pos).y; Vector::Normalized(&local_274); if (npc->_controllerID != -1) { Entity_NPC::GetAimTargetPosition(npc,local_94); - cVar11 = Vector::operator_ne(pVVar2); - if (cVar11 != '\0') { - pfVar16 = (float *)Entity_NPC::GetAimTargetPosition(npc,local_8c); - local_1f8 = *pfVar16 - pVVar2->x; - local_1f4 = pfVar16[1] - (npc->_pos).y; - pfVar16 = (float *)Vector::Normalized(local_84); - local_274 = *pfVar16; - local_270 = pfVar16[1]; - fVar27 = local_274; - fVar29 = local_270; + cVar12 = Vector::operator_ne(pVVar2); + if (cVar12 != '\0') { + pfVar17 = (float *)Entity_NPC::GetAimTargetPosition(npc,local_8c); + local_1f8 = *pfVar17 - pVVar2->x; + local_1f4 = pfVar17[1] - (npc->_pos).y; + pfVar17 = (float *)Vector::Normalized(local_84); + local_274 = *pfVar17; + local_270 = pfVar17[1]; + fVar28 = local_274; + fVar30 = local_270; goto LAB_00535af6; } } - fVar27 = local_274; - fVar29 = local_270; + fVar28 = local_274; + fVar30 = local_270; } else { - pEVar18 = Entity_NPC::GetPlayerTarget(npc); - local_1f0 = (pEVar18->_pos).x - pVVar2->x; - local_1ec = (pEVar18->_pos).y - (npc->_pos).y; + pEVar19 = Entity_NPC::GetPlayerTarget(npc); + local_1f0 = (pEVar19->_pos).x - pVVar2->x; + local_1ec = (pEVar19->_pos).y - (npc->_pos).y; Vector::Normalized(&local_26c); if (npc->_controllerID != -1) { Entity_NPC::GetAimTargetPosition(npc,local_4c); - cVar11 = Vector::operator_ne(pVVar2); - if (cVar11 != '\0') { - pfVar16 = (float *)Entity_NPC::GetAimTargetPosition(npc,local_7c); - local_1e8 = *pfVar16 - pVVar2->x; - local_1e4 = pfVar16[1] - (npc->_pos).y; - pfVar16 = (float *)Vector::Normalized(local_74); - fVar27 = *pfVar16; - fVar29 = pfVar16[1]; - local_26c = fVar27; - local_268 = fVar29; + cVar12 = Vector::operator_ne(pVVar2); + if (cVar12 != '\0') { + pfVar17 = (float *)Entity_NPC::GetAimTargetPosition(npc,local_7c); + local_1e8 = *pfVar17 - pVVar2->x; + local_1e4 = pfVar17[1] - (npc->_pos).y; + pfVar17 = (float *)Vector::Normalized(local_74); + fVar28 = *pfVar17; + fVar30 = pfVar17[1]; + local_26c = fVar28; + local_268 = fVar30; goto LAB_00535af6; } } - fVar27 = local_26c; - fVar29 = local_268; + fVar28 = local_26c; + fVar30 = local_268; } LAB_00535af6: fVar4 = npc->_friction; - (npc->_velocity).y = (fVar29 * 20.0) / fVar4 + (npc->_velocity).y; - (npc->_velocity).x = (fVar27 * 20.0) / fVar4 + (npc->_velocity).x; + (npc->_velocity).y = (fVar30 * 20.0) / fVar4 + (npc->_velocity).y; + (npc->_velocity).x = (fVar28 * 20.0) / fVar4 + (npc->_velocity).x; Entity_NPC::PlaySound(npc,0x39,1.0,100,0,1.0); } if (((npc->_sprite)._animState._animData == (void *)0x0) || @@ -185870,51 +185971,51 @@ LAB_00535af6: } } LAB_00535fc3: - uVar17 = Random(); - if (uVar17 % 10 == 0) { - iVar23 = Random(); - piVar14 = (int *)Entity_NPC::MakeSplat - (npc,(float)((double)iVar23 + - __uint_to_double_fixup[-(iVar23 >> 0x1f)]) * + uVar18 = Random(); + if (uVar18 % 10 == 0) { + iVar24 = Random(); + piVar15 = (int *)Entity_NPC::MakeSplat + (npc,(float)((double)iVar24 + + __uint_to_double_fixup[-(iVar24 >> 0x1f)]) * 2.3283064e-10 * 0.5 + 0.2); - (**(code **)(*piVar14 + 0x3c))(&npc->_splatColor,0xffffffff,0xff,0,1); + (**(code **)(*piVar15 + 0x3c))(&npc->_splatColor,0xffffffff,0xff,0,1); } - bVar26 = (npc->_velocity).x <= 0.0 && (npc->_velocity).x != 0.0; - puVar15 = (undefined4 *)(uint)bVar26; - (npc->_sprite)._flipX = bVar26; + bVar27 = (npc->_velocity).x <= 0.0 && (npc->_velocity).x != 0.0; + puVar16 = (undefined4 *)(uint)bVar27; + (npc->_sprite)._flipX = bVar27; if ((npc->_state == 9) && (npc->_controllerID == -1)) { - pEVar18 = Entity_NPC::GetPlayerTarget(npc); - fVar27 = (npc->_pos).x; - bVar26 = (pEVar18->_pos).x <= fVar27 && fVar27 != (pEVar18->_pos).x; - puVar15 = (undefined4 *)(uint)bVar26; - (npc->_sprite)._flipX = bVar26; + pEVar19 = Entity_NPC::GetPlayerTarget(npc); + fVar28 = (npc->_pos).x; + bVar27 = (pEVar19->_pos).x <= fVar28 && fVar28 != (pEVar19->_pos).x; + puVar16 = (undefined4 *)(uint)bVar27; + (npc->_sprite)._flipX = bVar27; } - pGVar24 = g_game; + pGVar25 = g_game; if (npc->_variant != 1) { - return puVar15; + return puVar16; } if ((npc->_flags & 0x4000) != 0) { return (undefined4 *)0x0; } - bVar10 = Game::IsPaused(g_game); - if (bVar10 != 0) { - return (undefined4 *)(uint)bVar10; + bVar11 = Game::IsPaused(g_game); + if (bVar11 != 0) { + return (undefined4 *)(uint)bVar11; } - if (pGVar24->_frameCount % 3 != 0) { - return (undefined4 *)(pGVar24->_frameCount / 3); + if (pGVar25->_frameCount % 3 != 0) { + return (undefined4 *)(pGVar25->_frameCount / 3); } - puVar15 = (undefined4 *)npc->_state; - if (puVar15 != (undefined4 *)&DAT_00000004) { - if (puVar15 != (undefined4 *)&DAT_00000008) { - return puVar15; + puVar16 = (undefined4 *)npc->_state; + if (puVar16 != (undefined4 *)&DAT_00000004) { + if (puVar16 != (undefined4 *)&DAT_00000008) { + return puVar16; } - puVar15 = (undefined4 *)ANM2::WasEventTriggered(&npc->_sprite,"Slide"); - if ((char)puVar15 == '\0') { - return puVar15; + puVar16 = (undefined4 *)ANM2::WasEventTriggered(&npc->_sprite,"Slide"); + if ((char)puVar16 == '\0') { + return puVar16; } } local_298 = (float)Random(); - pGVar24 = g_game; + pGVar25 = g_game; pVStack_288 = &npc->_pos; pGStack_2ac = g_game; uStack_2b0 = 0; @@ -185924,10 +186025,10 @@ LAB_00535fc3: (&uStack_280,&uStack_2b8,pVStack_288,&g_vectorZero,npc,&uStack_2b0,&local_298); local_2b4 = (ItemPool *)uStack_280; if (1 < *(int *)&g_game->_deathmatchManager) { - pIVar28 = (g_game->_deathmatchManager)._type; - local_2a4 = pIVar28; - uVar19 = Random(); - uVar17 = uStack_2b0; + pIVar29 = (g_game->_deathmatchManager)._type; + local_2a4 = pIVar29; + uVar20 = Random(); + uVar18 = uStack_2b0; uStack_1b0 = 0x900000005; uStack_2a0 = 7; uStack_1a8 = 7; @@ -185935,20 +186036,20 @@ LAB_00535fc3: if (uStack_2b8 < 0x12d) { if (uStack_2b8 == 300) { while ((uStack_2b0 == 0 || - (cVar11 = (**(code **)(pIVar28->_seed + 0x24))(uStack_2b0), cVar11 != '\0'))) { - if (uVar19 == 0) { + (cVar12 = (**(code **)(pIVar29->_seed + 0x24))(uStack_2b0), cVar12 != '\0'))) { + if (uVar20 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar19 = uVar19 >> ((byte)uStack_1b0 & 0x1f) ^ uVar19; - uVar19 = uVar19 << ((byte)((ulonglong)uStack_1b0 >> 0x20) & 0x1f) ^ uVar19; - uVar19 = uVar19 >> ((byte)uStack_2a0 & 0x1f) ^ uVar19; - iVar23 = ItemPool::GetCardEx(uVar19,0x19,10,10,1); + uVar20 = uVar20 >> ((byte)uStack_1b0 & 0x1f) ^ uVar20; + uVar20 = uVar20 << ((byte)((ulonglong)uStack_1b0 >> 0x20) & 0x1f) ^ uVar20; + uVar20 = uVar20 >> ((byte)uStack_2a0 & 0x1f) ^ uVar20; + iVar24 = ItemPool::GetCardEx(uVar20,0x19,10,10,1); auStack_1c[1] = 5; auStack_1c[2] = 9; auStack_1c[3] = 7; - auStack_1c[0] = uVar19; - uStack_2b0 = lua_callback_run_get_card(auStack_1c,iVar23,1,1,0); + auStack_1c[0] = uVar20; + uStack_2b0 = lua_callback_run_get_card(auStack_1c,iVar24,1,1,0); } } else { @@ -185956,53 +186057,53 @@ LAB_00535fc3: uStack_290 = uStack_2b0 >> 0xb; do { if (uStack_2b0 != 0) { - pcVar5 = *(code **)(pIVar28->_seed + 0x28); - iVar23 = ItemPool::GetPillEffect(&g_game->_itemPool,uStack_2b0,(Entity_Player *)0x0) + pcVar5 = *(code **)(pIVar29->_seed + 0x28); + iVar24 = ItemPool::GetPillEffect(&g_game->_itemPool,uStack_2b0,(Entity_Player *)0x0) ; - cVar11 = (*pcVar5)(iVar23); - if (cVar11 == '\0') goto LAB_0053620f; - pIVar28 = local_2a4; + cVar12 = (*pcVar5)(iVar24); + if (cVar12 == '\0') goto LAB_0053620f; + pIVar29 = local_2a4; } local_2a8 = (Entity *)&g_game->_itemPool; - if (uVar19 == 0) { + if (uVar20 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar19 = uVar19 >> ((byte)uStack_1b0 & 0x1f) ^ uVar19; - uVar19 = uVar19 << ((byte)((ulonglong)uStack_1b0 >> 0x20) & 0x1f) ^ uVar19; - uVar19 = uVar19 >> ((byte)uStack_2a0 & 0x1f) ^ uVar19; - uStack_2b0 = ItemPool::GetPill(uVar19); + uVar20 = uVar20 >> ((byte)uStack_1b0 & 0x1f) ^ uVar20; + uVar20 = uVar20 << ((byte)((ulonglong)uStack_1b0 >> 0x20) & 0x1f) ^ uVar20; + uVar20 = uVar20 >> ((byte)uStack_2a0 & 0x1f) ^ uVar20; + uStack_2b0 = ItemPool::GetPill(uVar20); uStack_2b0 = uStack_2b0 | (uStack_290 & 1) << 0xb; } while( true ); } if (uStack_2b8 == 100) { if (uStack_2b0 == 0x19) { LAB_005361ed: - bVar26 = false; + bVar27 = false; } else { uStack_25c = uStack_2b0; std::set::find_node(auStack_110,&uStack_25c); if (((*(char *)(iStack_108 + 0xd) == '\0') && - (*(int *)(iStack_108 + 0x10) <= (int)uVar17)) && - (iStack_108 != *(int *)&pIVar28->_pools[0].field_0x1c)) goto LAB_005361ed; - bVar26 = true; + (*(int *)(iStack_108 + 0x10) <= (int)uVar18)) && + (iStack_108 != pIVar29->_pools[0]._rng1._shift3)) goto LAB_005361ed; + bVar27 = true; } - if ((uVar17 == 0) || (bVar26)) { - uStack_2b0 = (**(code **)(pIVar28->_seed + 0x84))(0); + if ((uVar18 == 0) || (bVar27)) { + uStack_2b0 = (**(code **)(pIVar29->_seed + 0x84))(0); } } } } else if (uStack_2b8 == 0x15e) { while ((uStack_2b0 == 0 || - (cVar11 = (**(code **)(pIVar28->_seed + 0x2c))(uStack_2b0), cVar11 != '\0'))) { + (cVar12 = (**(code **)(pIVar29->_seed + 0x2c))(uStack_2b0), cVar12 != '\0'))) { uStack_2b0 = ItemPool::GetTrinket(&g_game->_itemPool,0); } } } LAB_0053620f: - pGVar24 = pGStack_2ac; + pGVar25 = pGStack_2ac; } if (((npc->_flags & 0x20000000) != 0) && (local_2b4 == (ItemPool *)0x3e8)) { switch(uStack_2b8) { @@ -186011,19 +186112,19 @@ LAB_0053620f: uStack_2b8 = 0x2d; } } - local_2a8 = EntityFactory::Create(pGVar24->_entityFactory,(uint)local_2b4,0); + local_2a8 = EntityFactory::Create(pGVar25->_entityFactory,(uint)local_2b4,0); if (local_2a8 == (Entity *)0x0) goto LAB_00536c4e; - uVar30 = GetTimeNs(); + uVar31 = GetTimeNs(); this = local_278; - pEVar18 = local_2a8; - uVar19 = (uint)(uVar30 >> 0x20); - lVar7 = (uVar30 & 0xffffffff) * 0x431bde82; + pEVar19 = local_2a8; + uVar20 = (uint)(uVar31 >> 0x20); + lVar7 = (uVar31 & 0xffffffff) * 0x431bde82; uStack_2a0 = (uint)((ulonglong)lVar7 >> 0x20); - lVar8 = (ulonglong)uVar19 * 0xd7b634db + ((uVar30 & 0xffffffff) * 0xd7b634db >> 0x20); - uVar21 = (uint)((ulonglong)lVar8 >> 0x20); - uVar17 = uStack_2a0 + CARRY4((uint)lVar7,(uint)lVar8); - lVar7 = (ulonglong)uVar19 * 0x431bde82 + - (ulonglong)CONCAT14(CARRY4(uVar21,uVar17),uVar21 + uVar17); + lVar8 = (ulonglong)uVar20 * 0xd7b634db + ((uVar31 & 0xffffffff) * 0xd7b634db >> 0x20); + uVar22 = (uint)((ulonglong)lVar8 >> 0x20); + uVar18 = uStack_2a0 + CARRY4((uint)lVar7,(uint)lVar8); + lVar7 = (ulonglong)uVar20 * 0x431bde82 + + (ulonglong)CONCAT14(CARRY4(uVar22,uVar18),uVar22 + uVar18); uStack_290 = (uint)((ulonglong)lVar7 >> 0x20); pEVar3 = &local_2a8->_spawnerEntity; local_2a4 = (ItemPool *)((uint)lVar7 >> 0x12 | uStack_290 * 0x4000); @@ -186036,244 +186137,244 @@ LAB_0053620f: } *pEVar3 = this; std::multiset::insert(pEVar3); - pIVar28 = local_2b4; - (pEVar18->_pos).x = ((Vector *)((int)this + 0x33c))->x; - (pEVar18->_pos).y = *(float *)((int)this + 0x340); - iVar23 = *(int *)pEVar18; - (pEVar18->_velocity).x = g_vectorZero.x; - (pEVar18->_velocity).y = g_vectorZero.y; - (**(code **)(iVar23 + 4))(local_2b4,uStack_2b8,uStack_2b0,local_298); - iVar23 = *(int *)((int)pGStack_2ac->_room + 0x1214); - *(int *)((int)pGStack_2ac->_room + 0x1214) = iVar23 + 1; - pEVar18->_index = iVar23; - EntityList::AddEntity(pEVar18); - bVar10 = Entity::IsActiveEnemy((Entity *)this,1); - if (bVar10 != 0) { + pIVar29 = local_2b4; + (pEVar19->_pos).x = ((Vector *)((int)this + 0x33c))->x; + (pEVar19->_pos).y = *(float *)((int)this + 0x340); + iVar24 = *(int *)pEVar19; + (pEVar19->_velocity).x = g_vectorZero.x; + (pEVar19->_velocity).y = g_vectorZero.y; + (**(code **)(iVar24 + 4))(local_2b4,uStack_2b8,uStack_2b0,local_298); + iVar24 = *(int *)((int)pGStack_2ac->_room + 0x1214); + *(int *)((int)pGStack_2ac->_room + 0x1214) = iVar24 + 1; + pEVar19->_index = iVar24; + EntityList::AddEntity(pEVar19); + bVar11 = Entity::IsActiveEnemy((Entity *)this,1); + if (bVar11 != 0) { if ((*(uint *)((int)this + 0x16c) & 0x10000000) == 0) { - cVar11 = Entity::HasEntityFlags(0x20000000,0); - if (cVar11 != '\0') { + cVar12 = Entity::HasEntityFlags(0x20000000,0); + if (cVar12 != '\0') { addEnemyKillScore = 0; - bVar10 = 0; - iVar23 = -1; + bVar11 = 0; + iVar24 = -1; ref = (EntityRef *)EntityRef::EntityRef(); - Entity::AddCharmed(pEVar18,ref,iVar23,bVar10,addEnemyKillScore); + Entity::AddCharmed(pEVar19,ref,iVar24,bVar11,addEnemyKillScore); } } else { - uVar17 = *(uint *)((int)&pEVar18->_flags + 4); - uVar13 = (undefined4)pEVar18->_flags; - *(undefined4 *)&pEVar18->_flags = uVar13; - *(uint *)((int)&pEVar18->_flags + 4) = uVar17 | 0x10000000; - if ((pIVar28 != (ItemPool *)0x9) && (pIVar28 != (ItemPool *)0x7)) { - *(undefined4 *)&pEVar18->_flags = uVar13; - *(uint *)((int)&pEVar18->_flags + 4) = uVar17 | 0x10000020; + uVar18 = *(uint *)((int)&pEVar19->_flags + 4); + uVar14 = (undefined4)pEVar19->_flags; + *(undefined4 *)&pEVar19->_flags = uVar14; + *(uint *)((int)&pEVar19->_flags + 4) = uVar18 | 0x10000000; + if ((pIVar29 != (ItemPool *)0x9) && (pIVar29 != (ItemPool *)0x7)) { + *(undefined4 *)&pEVar19->_flags = uVar14; + *(uint *)((int)&pEVar19->_flags + 4) = uVar18 | 0x10000020; } - pvStack_22c = *(void **)((int)this + 0x264); - if (pvStack_22c == (void *)0x0) { - auStack_250._0_4_ = 0; - auStack_250._4_4_ = 0; - auStack_250._8_4_ = 0; - auStack_250._12_4_ = 0; + EStack_250._entity = *(void **)((int)this + 0x264); + if (EStack_250._entity == (void *)0x0) { + EStack_250._type = 0; + EStack_250._variant = 0; + EStack_250._spawnerType = 0; + EStack_250._spawnerVariant = 0; fStack_154 = g_vectorZero.x; fStack_150 = g_vectorZero.y; - auStack_250._16_4_ = g_vectorZero.x; - auStack_250._20_4_ = g_vectorZero.y; + EStack_250._position.x = g_vectorZero.x; + EStack_250._position.y = g_vectorZero.y; fStack_14c = g_vectorZero.x; fStack_148 = g_vectorZero.y; - auStack_250._24_4_ = g_vectorZero.x; - fStack_234 = g_vectorZero.y; + EStack_250._velocity.x = g_vectorZero.x; + EStack_250._velocity.y = g_vectorZero.y; LAB_005366e2: local_2b4 = (ItemPool *)0x0; - if (pvStack_22c != (void *)0x0) goto LAB_005366ee; + if (EStack_250._entity != (void *)0x0) goto LAB_005366ee; local_2b4 = (ItemPool *)0x0; LAB_00536710: uStack_2a0 = 0; - if (pvStack_22c != (void *)0x0) goto LAB_0053671c; + if (EStack_250._entity != (void *)0x0) goto LAB_0053671c; LAB_00536735: - uVar17 = 0; + uVar18 = 0; } else { - auStack_250._0_4_ = *(int *)((int)pvStack_22c + 0x28); - auStack_250._16_4_ = *(float *)((int)pvStack_22c + 0x33c); - auStack_250._20_4_ = *(float *)((int)pvStack_22c + 0x340); - auStack_250._4_4_ = *(int *)((int)pvStack_22c + 0x2c); - auStack_250._8_4_ = *(int *)((int)pvStack_22c + 0x34); - auStack_250._12_4_ = *(int *)((int)pvStack_22c + 0x38); - auStack_250._24_4_ = *(float *)((int)pvStack_22c + 0x360); - fStack_234 = *(float *)((int)pvStack_22c + 0x364); - fStack_124 = (float)auStack_250._16_4_; - fStack_120 = (float)auStack_250._20_4_; - fStack_11c = (float)auStack_250._24_4_; - fStack_118 = fStack_234; - if ((*(uint *)((int)pvStack_22c + 0x168) & 0x100) == 0) goto LAB_005366e2; + EStack_250._type = *(int *)((int)EStack_250._entity + 0x28); + EStack_250._position.x = *(float *)((int)EStack_250._entity + 0x33c); + EStack_250._position.y = *(float *)((int)EStack_250._entity + 0x340); + EStack_250._variant = *(int *)((int)EStack_250._entity + 0x2c); + EStack_250._spawnerType = *(int *)((int)EStack_250._entity + 0x34); + EStack_250._spawnerVariant = *(int *)((int)EStack_250._entity + 0x38); + EStack_250._velocity.x = *(float *)((int)EStack_250._entity + 0x360); + EStack_250._velocity.y = *(float *)((int)EStack_250._entity + 0x364); + fStack_124 = EStack_250._position.x; + fStack_120 = EStack_250._position.y; + fStack_11c = EStack_250._velocity.x; + fStack_118 = EStack_250._velocity.y; + if ((*(uint *)((int)EStack_250._entity + 0x168) & 0x100) == 0) goto LAB_005366e2; local_2b4 = (ItemPool *)0x1; LAB_005366ee: - if ((*(uint *)((int)pvStack_22c + 0x168) & 0x20000000) == 0) goto LAB_00536710; + if ((*(uint *)((int)EStack_250._entity + 0x168) & 0x20000000) == 0) goto LAB_00536710; uStack_2a0 = 2; LAB_0053671c: - if ((*(uint *)((int)pvStack_22c + 0x16c) & 0x400000) == 0) goto LAB_00536735; - uVar17 = 4; + if ((*(uint *)((int)EStack_250._entity + 0x16c) & 0x400000) == 0) goto LAB_00536735; + uVar18 = 4; } - uStack_230 = uVar17 | uStack_2a0 | (uint)local_2b4; - Entity::AddCharmed(pEVar18,(EntityRef *)auStack_250,-1,0,0); - if ((int)pIVar28 - 10U < 0x3de) { + EStack_250._flags = uVar18 | uStack_2a0 | (uint)local_2b4; + Entity::AddCharmed(pEVar19,&EStack_250,-1,0,0); + if ((int)pIVar29 - 10U < 0x3de) { ANM2::LoadDeliriumForm(uStack_2b8,1); } } uStack_2a0 = __RTDynamicCast(this,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor,0); this_00 = (Entity *) - __RTDynamicCast(pEVar18,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, + __RTDynamicCast(pEVar19,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor,0); if ((uStack_2a0 != 0) && (this_00 != (Entity *)0x0)) { - cVar11 = Entity::HasEntityFlags(1,0); - if (cVar11 == '\0') { - cVar11 = Entity::HasEntityFlags(0,0x1000000); - if (cVar11 != '\0') { - auStack_1a4._0_4_ = 0; - auStack_1a4._4_4_ = 0; - auStack_1a4._8_4_ = 0; - auStack_1a4._12_4_ = 0; + cVar12 = Entity::HasEntityFlags(1,0); + if (cVar12 == '\0') { + cVar12 = Entity::HasEntityFlags(0,0x1000000); + if (cVar12 != '\0') { + EStack_1a4._type = 0; + EStack_1a4._variant = 0; + EStack_1a4._spawnerType = 0; + EStack_1a4._spawnerVariant = 0; fStack_144 = g_vectorZero.x; fStack_140 = g_vectorZero.y; - auStack_1a4._16_4_ = g_vectorZero.x; - auStack_1a4._20_4_ = g_vectorZero.y; + EStack_1a4._position.x = g_vectorZero.x; + EStack_1a4._position.y = g_vectorZero.y; fStack_13c = g_vectorZero.x; fStack_138 = g_vectorZero.y; - auStack_1a4._24_4_ = g_vectorZero.x; - fStack_188 = g_vectorZero.y; - uStack_184 = 0; - pvStack_180 = (void *)0x0; - Entity::AddBrimstoneMark(this_00,(EntityRef *)auStack_1a4,0x5a); + EStack_1a4._velocity.x = g_vectorZero.x; + EStack_1a4._velocity.y = g_vectorZero.y; + EStack_1a4._flags = 0; + EStack_1a4._entity = (void *)0x0; + Entity::AddBrimstoneMark(this_00,&EStack_1a4,0x5a); } - cVar11 = Entity::HasEntityFlags(0x1000000,0); - if (cVar11 != '\0') { - auStack_17c._0_4_ = 0; - auStack_17c._4_4_ = 0; - auStack_17c._8_4_ = 0; - auStack_17c._12_4_ = 0; + cVar12 = Entity::HasEntityFlags(0x1000000,0); + if (cVar12 != '\0') { + EStack_17c._type = 0; + EStack_17c._variant = 0; + EStack_17c._spawnerType = 0; + EStack_17c._spawnerVariant = 0; fStack_134 = g_vectorZero.x; fStack_130 = g_vectorZero.y; - auStack_17c._16_4_ = g_vectorZero.x; - auStack_17c._20_4_ = g_vectorZero.y; + EStack_17c._position.x = g_vectorZero.x; + EStack_17c._position.y = g_vectorZero.y; fStack_12c = g_vectorZero.x; fStack_128 = g_vectorZero.y; - auStack_17c._24_4_ = g_vectorZero.x; - fStack_160 = g_vectorZero.y; - uStack_15c = 0; - pvStack_158 = (void *)0x0; - Entity::AddShrink(this_00,(EntityRef *)auStack_17c,0x5a,0,0); + EStack_17c._velocity.x = g_vectorZero.x; + EStack_17c._velocity.y = g_vectorZero.y; + EStack_17c._flags = 0; + EStack_17c._entity = (void *)0x0; + Entity::AddShrink(this_00,&EStack_17c,0x5a,0,0); if (0 < this_00->_shrinkCountdown) { - uVar13 = *(undefined4 *)((int)&this_00->_flags + 4); + uVar14 = *(undefined4 *)((int)&this_00->_flags + 4); *(uint *)&this_00->_flags = (uint)this_00->_flags | 0x1000000; - *(undefined4 *)((int)&this_00->_flags + 4) = uVar13; + *(undefined4 *)((int)&this_00->_flags + 4) = uVar14; this_00->_shrinkStatus1 = this_00->_shrinkStatus2; } } } - uVar17 = uStack_2a0; - fVar29 = *(float *)(uStack_2a0 + 0xf48) * this_00[3]._pendingDamage; + uVar18 = uStack_2a0; + fVar30 = *(float *)(uStack_2a0 + 0xf48) * this_00[3]._pendingDamage; pcVar5 = *(code **)(*(int *)this_00 + 0x4c); - this_00[3]._pendingDamage = fVar29; - fVar29 = fVar29 * this_00->_shrinkStatus1; - fVar27 = fVar29 * g_vectorOne.x; - (this_00->_sprite)._scale.y = fVar29 * g_vectorOne.y; - (this_00->_sprite)._scale.x = fVar27; + this_00[3]._pendingDamage = fVar30; + fVar30 = fVar30 * this_00->_shrinkStatus1; + fVar28 = fVar30 * g_vectorOne.x; + (this_00->_sprite)._scale.y = fVar30 * g_vectorOne.y; + (this_00->_sprite)._scale.x = fVar28; this_00[3]._burnTickDamage = this_00[3]._burnTickDamage * *(float *)(uStack_2a0 + 0xf48); this_00[3]._poisonTickDamage = this_00[3]._poisonTickDamage * *(float *)(uStack_2a0 + 0xf44); this_00->_maxHitPoints = this_00->_maxHitPoints * *(float *)(uStack_2a0 + 0xf44); this_00->_health = this_00->_health * *(float *)(uStack_2a0 + 0xf44); - cVar11 = (*pcVar5)(); - if (cVar11 != '\0') { - pvVar6 = *(void **)(uVar17 + 0xf54); - ppvVar25 = &this_00[3]._config; - if (*ppvVar25 != pvVar6) { - if (*ppvVar25 != (void *)0x0) { - ppvStack_294 = ppvVar25; + cVar12 = (*pcVar5)(); + if (cVar12 != '\0') { + pvVar6 = *(void **)(uVar18 + 0xf54); + ppvVar26 = &this_00[3]._config; + if (*ppvVar26 != pvVar6) { + if (*ppvVar26 != (void *)0x0) { + ppvStack_294 = ppvVar26; std::multiset::erase(&ppvStack_294); } - *ppvVar25 = pvVar6; + *ppvVar26 = pvVar6; if (pvVar6 != (void *)0x0) { - std::multiset::insert(ppvVar25); + std::multiset::insert(ppvVar26); } } } } } - cVar11 = Game::ShouldEraseEnemy(pEVar18); - if (cVar11 != '\0') { - Entity::RemoveWithPoof(pEVar18,extraout_ECX); + cVar12 = Game::ShouldEraseEnemy(pEVar19); + if (cVar12 != '\0') { + Entity::RemoveWithPoof(pEVar19,extraout_ECX); } - if ((pEVar18->_exists != 0) && + if ((pEVar19->_exists != 0) && ((pGStack_2ac->_proceduralItemManager)._proceduralItems._begin != (pGStack_2ac->_proceduralItemManager)._proceduralItems._end)) { - iStack_1cc = pEVar18->_variant; - puVar20 = &pGStack_2ac->field_0x67780; - iStack_1d0 = pEVar18->_type; - std::map::find(&iStack_27c,&iStack_1d0); - iVar23 = *(int *)puVar20; - if (iStack_27c == iVar23) { - aiStack_1c8[0] = pEVar18->_type; + iStack_1cc = pEVar19->_variant; + pPVar10 = &pGStack_2ac->_proceduralItemManager; + iStack_1d0 = pEVar19->_type; + std::map::find(&pvStack_27c,&iStack_1d0); + pvVar6 = (pPVar10->_spawnTriggerTargets)._head; + if (pvStack_27c == pvVar6) { + aiStack_1c8[0] = pEVar19->_type; aiStack_1c8[1] = 0xffffffff; - piVar14 = (int *)std::map::find(auStack_114,aiStack_1c8); - iStack_27c = *piVar14; - if (iStack_27c == iVar23) goto LAB_00536bc0; + piVar15 = (int *)std::map::find(auStack_114,aiStack_1c8); + pvStack_27c = (void *)*piVar15; + if (pvStack_27c == pvVar6) goto LAB_00536bc0; } - uVar17 = 0; - pPVar22 = &g_game->_playerManager; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar22->_playerList)._begin >> 2 != + uVar18 = 0; + pPVar23 = &g_game->_playerManager; + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar23->_playerList)._begin >> 2 != 0) { do { - if ((int)(pPVar22->_playerList)._end - (int)(pPVar22->_playerList)._begin >> 2 == 0) { + if ((int)(pPVar23->_playerList)._end - (int)(pPVar23->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - trigger_set_dispatch(6,pEVar18,pVStack_288,&g_vectorZero); - uVar17 = uVar17 + 1; - pPVar22 = &g_game->_playerManager; - } while (uVar17 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar22->_playerList)._begin >> 2)); + trigger_set_dispatch(6,pEVar19,pVStack_288,&g_vectorZero); + uVar18 = uVar18 + 1; + pPVar23 = &g_game->_playerManager; + } while (uVar18 < (uint)((int)(g_game->_playerManager)._playerList._end - + (int)(pPVar23->_playerList)._begin >> 2)); } } LAB_00536bc0: - uVar30 = GetTimeNs(); - uVar17 = (uint)(uVar30 >> 0x20); - lVar7 = (uVar30 & 0xffffffff) * 0x431bde82; + uVar31 = GetTimeNs(); + uVar18 = (uint)(uVar31 >> 0x20); + lVar7 = (uVar31 & 0xffffffff) * 0x431bde82; ppvStack_294 = (void **)((ulonglong)lVar7 >> 0x20); - lVar8 = (ulonglong)uVar17 * 0x431bde82; + lVar8 = (ulonglong)uVar18 * 0x431bde82; pVStack_288 = (Vector *)lVar8; - lVar9 = (ulonglong)uVar17 * 0xd7b634db + ((uVar30 & 0xffffffff) * 0xd7b634db >> 0x20); + lVar9 = (ulonglong)uVar18 * 0xd7b634db + ((uVar31 & 0xffffffff) * 0xd7b634db >> 0x20); aiStack_1c8[2] = (int)(lVar9 + lVar7); lVar8 = lVar8 + (ulonglong) CONCAT14(CARRY4((uint)((ulonglong)lVar9 >> 0x20), (int)ppvStack_294 + (uint)CARRY4((uint)lVar7,(uint)lVar9)), (int)((ulonglong)(lVar9 + lVar7) >> 0x20)); - uVar19 = (uint)((ulonglong)lVar8 >> 0x20); - puVar20 = (undefined1 *)((uint)lVar8 >> 0x12 | uVar19 * 0x4000); - uVar17 = (int)puVar20 - (int)local_2a4; - bVar26 = CARRY4((uint)g_entitySpawnTimeMs,uVar17); - g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar17; + uVar20 = (uint)((ulonglong)lVar8 >> 0x20); + puVar21 = (undefined1 *)((uint)lVar8 >> 0x12 | uVar20 * 0x4000); + uVar18 = (int)puVar21 - (int)local_2a4; + bVar27 = CARRY4((uint)g_entitySpawnTimeMs,uVar18); + g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar18; g_entitySpawnTimeMs._4_4_ = - g_entitySpawnTimeMs._4_4_ + (((uVar19 >> 0x12) - uStack_290) - (uint)(puVar20 < local_2a4)) + - (uint)bVar26; + g_entitySpawnTimeMs._4_4_ + (((uVar20 >> 0x12) - uStack_290) - (uint)(puVar21 < local_2a4)) + + (uint)bVar27; npc = (Entity_NPC *)local_278; LAB_00536c4e: - piVar14 = (int *)__RTDynamicCast(local_2a8,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, + piVar15 = (int *)__RTDynamicCast(local_2a8,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor,0); - pEVar3 = (EntityPtr *)(piVar14 + 0xef); - if (piVar14[0xef] != 0) { + pEVar3 = (EntityPtr *)(piVar15 + 0xef); + if (piVar15[0xef] != 0) { pEStack_254 = pEVar3; std::multiset::erase(&pEStack_254); } *pEVar3 = (EntityPtr)npc; std::multiset::insert(pEVar3); - fVar27 = g_vectorOne.y; - piVar14[0x39] = (int)g_vectorOne.x; - piVar14[0x3a] = (int)fVar27; - piVar14[0x117] = 0x3c; - piVar14[0x118] = 0x3c; - puVar15 = (undefined4 *)(**(code **)(*piVar14 + 0xc))(); - return puVar15; + fVar28 = g_vectorOne.y; + piVar15[0x39] = (int)g_vectorOne.x; + piVar15[0x3a] = (int)fVar28; + piVar15[0x117] = 0x3c; + piVar15[0x118] = 0x3c; + puVar16 = (undefined4 *)(**(code **)(*piVar15 + 0xc))(); + return puVar16; } @@ -191667,14 +191768,13 @@ void __fastcall NpcAI::ENTITY_SWARM(Entity_NPC *npc) byte *pbVar11; byte *pbVar12; qword *pqVar13; - RNG RVar14; - EntityPtr EVar15; - bool bVar16; - float fVar17; - EntityPtr *pEVar18; - float fVar19; - undefined1 *puVar20; - EntityPtr *pEVar21; + EntityPtr EVar14; + bool bVar15; + float fVar16; + EntityPtr *pEVar17; + float fVar18; + undefined1 *puVar19; + EntityPtr *pEVar20; char local_40 [4]; int local_3c; uint local_34; @@ -191699,36 +191799,36 @@ void __fastcall NpcAI::ENTITY_SWARM(Entity_NPC *npc) if (npc->_parent == (EntityPtr)0x0) { local_14 = 5.60519e-45; do { - RVar14 = npc->_dropRNG; - if (RVar14 == (RNG)0x0) { + uVar6 = (npc->_dropRNG)._seed; + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar14 >> ((byte)*(undefined4 *)&npc->field_0x3e0 & 0x1f) ^ (uint)RVar14; - uVar6 = uVar6 << ((byte)*(undefined4 *)&npc->field_0x3e4 & 0x1f) ^ uVar6; - RVar14 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&npc->field_0x3e8 & 0x1f) ^ uVar6); - npc->_dropRNG = RVar14; + uVar6 = uVar6 >> ((byte)(npc->_dropRNG)._shift1 & 0x1f) ^ uVar6; + uVar6 = uVar6 << ((byte)(npc->_dropRNG)._shift2 & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)(npc->_dropRNG)._shift3 & 0x1f) ^ uVar6; + (npc->_dropRNG)._seed = uVar6; iVar9 = npc->_subtype; iVar7 = Random(uVar5); - fVar17 = (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * + fVar16 = (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pEVar18 = (EntityPtr *)(fVar17 + fVar17); - local_20 = pEVar18; + pEVar17 = (EntityPtr *)(fVar16 + fVar16); + local_20 = pEVar17; sin(); - pEVar21 = local_20; - local_1c = pEVar18; + pEVar20 = local_20; + local_1c = pEVar17; cos(); - local_28 = (float)pEVar21 * 10.0 + (npc->_pos).x; + local_28 = (float)pEVar20 * 10.0 + (npc->_pos).x; local_24 = (float)local_1c * 10.0 + (npc->_pos).y; - piVar8 = (int *)Game::Spawn(npc->_type,npc->_variant,&local_28,&g_vectorZero,npc,iVar9, - RVar14); - pEVar21 = (EntityPtr *)(piVar8 + 0xef); + piVar8 = (int *)Game::Spawn(npc->_type,npc->_variant,&local_28,&g_vectorZero,npc,iVar9,uVar6 + ); + pEVar20 = (EntityPtr *)(piVar8 + 0xef); if (piVar8[0xef] != 0) { - local_20 = pEVar21; + local_20 = pEVar20; std::multiset::erase(&local_20); } - *pEVar21 = (EntityPtr)npc; - std::multiset::insert(pEVar21); + *pEVar20 = (EntityPtr)npc; + std::multiset::insert(pEVar20); (**(code **)(*piVar8 + 0xc))(); local_14 = (float)((int)local_14 + -1); } while (local_14 != 0.0); @@ -191766,12 +191866,12 @@ void __fastcall NpcAI::ENTITY_SWARM(Entity_NPC *npc) iVar9 = PlayerManager::FirstCollectibleOwner(&g_game->_playerManager,9,&g_game->_playerManager,1); if ((iVar9 != 0) && ((npc->_flags & 0x20000000) == 0)) { Entity_NPC::Morph(npc,0xd,0,0,-1); - fVar17 = g_vectorZero.x; + fVar16 = g_vectorZero.x; (npc->_v2).x = g_vectorZero.x; - fVar19 = g_vectorZero.y; + fVar18 = g_vectorZero.y; (npc->_v2).y = g_vectorZero.y; - (npc->_v1).x = fVar17; - (npc->_v1).y = fVar19; + (npc->_v1).x = fVar16; + (npc->_v1).y = fVar18; ExceptionList = local_10; return; } @@ -191781,19 +191881,19 @@ void __fastcall NpcAI::ENTITY_SWARM(Entity_NPC *npc) return; } if ((npc->_flags & 0x800000000000) != 0) { - fVar17 = (npc->_pos).y; + fVar16 = (npc->_pos).y; (npc->_targetPosition).x = (npc->_pos).x; - (npc->_targetPosition).y = fVar17; + (npc->_targetPosition).y = fVar16; } if ((npc->_parent == (EntityPtr)0x0) && (npc->_dead != 0)) { - EVar15 = (EntityPtr)0x0; + EVar14 = (EntityPtr)0x0; EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); - fVar17 = 0.0; + fVar16 = 0.0; local_8 = 0; if (local_24 != 0.0) { iVar9 = local_2c; do { - pEVar1 = *(Entity_NPC **)(iVar9 + (int)fVar17 * 4); + pEVar1 = *(Entity_NPC **)(iVar9 + (int)fVar16 * 4); if ((pEVar1 != npc) && (pEVar1->_parent == (EntityPtr)npc)) { local_1c = &pEVar1->_parent; if (pEVar1->_parent != (EntityPtr)0x0) { @@ -191801,23 +191901,23 @@ void __fastcall NpcAI::ENTITY_SWARM(Entity_NPC *npc) std::multiset::erase(&local_20); iVar9 = local_2c; } - *local_1c = EVar15; - if (EVar15 == (EntityPtr)0x0) { - EVar15 = *(EntityPtr *)(iVar9 + (int)fVar17 * 4); + *local_1c = EVar14; + if (EVar14 == (EntityPtr)0x0) { + EVar14 = *(EntityPtr *)(iVar9 + (int)fVar16 * 4); } else { std::multiset::insert(local_1c); iVar9 = local_2c; } } - fVar17 = (float)((int)fVar17 + 1); - } while ((uint)fVar17 < (uint)local_24); - if (EVar15 != (EntityPtr)0x0) { - fVar17 = (npc->_targetPosition).y; - *(float *)((int)EVar15 + 0x334) = (npc->_targetPosition).x; - *(float *)((int)EVar15 + 0x338) = fVar17; + fVar16 = (float)((int)fVar16 + 1); + } while ((uint)fVar16 < (uint)local_24); + if (EVar14 != (EntityPtr)0x0) { + fVar16 = (npc->_targetPosition).y; + *(float *)((int)EVar14 + 0x334) = (npc->_targetPosition).x; + *(float *)((int)EVar14 + 0x338) = fVar16; if (npc->_controllerID != -1) { - Entity_NPC::TransferControl(npc,EVar15); + Entity_NPC::TransferControl(npc,EVar14); } } } @@ -191829,64 +191929,64 @@ void __fastcall NpcAI::ENTITY_SWARM(Entity_NPC *npc) } } if (npc->_state == 4) { - fVar17 = npc->_speedMultiplier; - fVar19 = (npc->_v1).x; - (npc->_velocity).y = fVar17 * (npc->_v1).y + (npc->_velocity).y; - (npc->_velocity).x = fVar17 * fVar19 + (npc->_velocity).x; + fVar16 = npc->_speedMultiplier; + fVar18 = (npc->_v1).x; + (npc->_velocity).y = fVar16 * (npc->_v1).y + (npc->_velocity).y; + (npc->_velocity).x = fVar16 * fVar18 + (npc->_velocity).x; local_1c = (EntityPtr *)(npc->_targetPosition).x; - EVar15 = npc->_parent; + EVar14 = npc->_parent; local_20 = (EntityPtr *)(npc->_targetPosition).y; - if (EVar15 == (EntityPtr)0x0) { + if (EVar14 == (EntityPtr)0x0) { if (npc->_controllerID == -1) { pfVar10 = (float *)Entity_NPC::CalcTargetPosition(&local_28,0); local_14 = *pfVar10 - (npc->_pos).x; local_18 = pfVar10[1] - (npc->_pos).y; - fVar17 = local_14 * local_14 + local_18 * local_18; + fVar16 = local_14 * local_14 + local_18 * local_18; sqrtf(); - if (fVar17 <= 0.0) { - fVar17 = local_14; + if (fVar16 <= 0.0) { + fVar16 = local_14; } else { - local_18 = (5.0 / fVar17) * local_18; - fVar17 = (5.0 / fVar17) * local_14; + local_18 = (5.0 / fVar16) * local_18; + fVar16 = (5.0 / fVar16) * local_14; } - fVar19 = npc->_speedMultiplier; - (npc->_targetPosition).y = fVar19 * local_18 + (npc->_targetPosition).y; - (npc->_targetPosition).x = fVar19 * fVar17 + (npc->_targetPosition).x; + fVar18 = npc->_speedMultiplier; + (npc->_targetPosition).y = fVar18 * local_18 + (npc->_targetPosition).y; + (npc->_targetPosition).x = fVar18 * fVar16 + (npc->_targetPosition).x; } else { pfVar10 = (float *)Entity_NPC::GetControllerInput(&local_28); - fVar17 = npc->_speedMultiplier; - fVar19 = pfVar10[1]; - (npc->_targetPosition).x = fVar17 * *pfVar10 * 6.0 + (npc->_targetPosition).x; - (npc->_targetPosition).y = fVar17 * fVar19 * 6.0 + (npc->_targetPosition).y; + fVar16 = npc->_speedMultiplier; + fVar18 = pfVar10[1]; + (npc->_targetPosition).x = fVar16 * *pfVar10 * 6.0 + (npc->_targetPosition).x; + (npc->_targetPosition).y = fVar16 * fVar18 * 6.0 + (npc->_targetPosition).y; } } else { - local_1c = *(EntityPtr **)((int)EVar15 + 0x334); - local_20 = *(EntityPtr **)((int)EVar15 + 0x338); + local_1c = *(EntityPtr **)((int)EVar14 + 0x334); + local_20 = *(EntityPtr **)((int)EVar14 + 0x338); } uVar5 = npc->_index; if ((uVar5 & 1) == 0) { - puVar20 = (undefined1 *)0x3f800000; + puVar19 = (undefined1 *)0x3f800000; } else { - puVar20 = &DAT_bf800000; + puVar19 = &DAT_bf800000; } - fVar17 = ((float)(g_game->_frameCount - npc->_spawnFrame) * (float)puVar20 * 5.0 + + fVar16 = ((float)(g_game->_frameCount - npc->_spawnFrame) * (float)puVar19 * 5.0 + (float)((double)(int)uVar5 + __uint_to_double_fixup[-((int)uVar5 >> 0x1f)]) * 25.0) * 0.017453292; - local_18 = fVar17; + local_18 = fVar16; sin(); - local_24 = fVar17; + local_24 = fVar16; iVar9 = Random(); local_14 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 0.8; - fVar19 = local_18; + fVar18 = local_18; cos(); - fVar17 = (npc->_pos).y; - (npc->_v1).x = ((float)local_1c - (npc->_pos).x) * 0.03 + fVar19 * local_14; - (npc->_v1).y = ((float)local_20 - fVar17) * 0.03 + local_14 * local_24; + fVar16 = (npc->_pos).y; + (npc->_v1).x = ((float)local_1c - (npc->_pos).x) * 0.03 + fVar18 * local_14; + (npc->_v1).y = ((float)local_20 - fVar16) * 0.03 + local_14 * local_24; EntityList::QueryRadius(local_40,&npc->_pos,8); uVar5 = 0; if (local_34 != 0) { @@ -191896,20 +191996,20 @@ void __fastcall NpcAI::ENTITY_SWARM(Entity_NPC *npc) if ((uint)npc->_index <= *(uint *)(iVar7 + 0x20)) { local_20 = (EntityPtr *)((npc->_pos).x - *(float *)(iVar7 + 0x33c)); local_1c = (EntityPtr *)((npc->_pos).y - *(float *)(iVar7 + 0x340)); - fVar17 = (float)local_20 * (float)local_20 + (float)local_1c * (float)local_1c; + fVar16 = (float)local_20 * (float)local_20 + (float)local_1c * (float)local_1c; sqrtf(); - pEVar21 = local_20; - pEVar18 = local_1c; - if (0.0 < fVar17) { - fVar17 = ((1.0 - fVar17 / 50.0) * 0.75) / fVar17; - pEVar21 = (EntityPtr *)((float)local_20 * fVar17); - pEVar18 = (EntityPtr *)((float)local_1c * fVar17); + pEVar20 = local_20; + pEVar17 = local_1c; + if (0.0 < fVar16) { + fVar16 = ((1.0 - fVar16 / 50.0) * 0.75) / fVar16; + pEVar20 = (EntityPtr *)((float)local_20 * fVar16); + pEVar17 = (EntityPtr *)((float)local_1c * fVar16); } - fVar17 = npc->_speedMultiplier; - (npc->_velocity).y = fVar17 * (float)pEVar18 + (npc->_velocity).y; - (npc->_velocity).x = fVar17 * (float)pEVar21 + (npc->_velocity).x; - *(float *)(iVar7 + 0x360) = *(float *)(iVar7 + 0x360) - (float)pEVar21; - *(float *)(iVar7 + 0x364) = *(float *)(iVar7 + 0x364) - (float)pEVar18; + fVar16 = npc->_speedMultiplier; + (npc->_velocity).y = fVar16 * (float)pEVar17 + (npc->_velocity).y; + (npc->_velocity).x = fVar16 * (float)pEVar20 + (npc->_velocity).x; + *(float *)(iVar7 + 0x360) = *(float *)(iVar7 + 0x360) - (float)pEVar20; + *(float *)(iVar7 + 0x364) = *(float *)(iVar7 + 0x364) - (float)pEVar17; iVar9 = local_3c; } uVar5 = uVar5 + 1; @@ -191922,20 +192022,20 @@ void __fastcall NpcAI::ENTITY_SWARM(Entity_NPC *npc) local_24 = (npc->_targetPosition).x; local_1c = (EntityPtr *)((npc->_targetPosition).y - *(float *)(iVar9 + 0x338)); local_20 = (EntityPtr *)(local_24 - *(float *)(iVar9 + 0x334)); - fVar17 = (float)local_20 * (float)local_20 + (float)local_1c * (float)local_1c; - if (fVar17 < 10000.0) { + fVar16 = (float)local_20 * (float)local_20 + (float)local_1c * (float)local_1c; + if (fVar16 < 10000.0) { sqrtf(); - if (fVar17 <= 0.0) { - pEVar21 = local_20; - pEVar18 = local_1c; + if (fVar16 <= 0.0) { + pEVar20 = local_20; + pEVar17 = local_1c; } else { - fVar17 = ((1.0 - fVar17 / 100.0) * 0.5) / fVar17; - pEVar21 = (EntityPtr *)((float)local_20 * fVar17); - pEVar18 = (EntityPtr *)((float)local_1c * fVar17); + fVar16 = ((1.0 - fVar16 / 100.0) * 0.5) / fVar16; + pEVar20 = (EntityPtr *)((float)local_20 * fVar16); + pEVar17 = (EntityPtr *)((float)local_1c * fVar16); } - (npc->_targetPosition).y = (float)pEVar18 + (npc->_targetPosition).y; - (npc->_targetPosition).x = local_24 + (float)pEVar21; + (npc->_targetPosition).y = (float)pEVar17 + (npc->_targetPosition).y; + (npc->_targetPosition).x = local_24 + (float)pEVar20; } } uVar5 = uVar5 + 1; @@ -191968,15 +192068,15 @@ void __fastcall NpcAI::ENTITY_SWARM(Entity_NPC *npc) pbVar12 = s_Fly; do { bVar4 = *pbVar11; - bVar16 = bVar4 < *pbVar12; + bVar15 = bVar4 < *pbVar12; if (bVar4 != *pbVar12) { LAB_005417a0: - uVar5 = -(uint)bVar16 | 1; + uVar5 = -(uint)bVar15 | 1; goto LAB_005417a5; } if (bVar4 == 0) break; bVar4 = pbVar11[1]; - bVar16 = bVar4 < pbVar12[1]; + bVar15 = bVar4 < pbVar12[1]; if (bVar4 != pbVar12[1]) goto LAB_005417a0; pbVar11 = pbVar11 + 2; pbVar12 = pbVar12 + 2; @@ -192172,13 +192272,13 @@ float __fastcall NpcAI::ENTITY_MEATBALL(Entity_NPC *npc) ulonglong uVar21; uint uVar22; Entity *local_1ac; - float local_1a8 [2]; + void *local_1a8 [2]; float local_1a0; float local_19c [2]; int local_194; uint local_190; uint uStack_18c; - float local_184; + void *local_184; Entity *local_180; Game *pGStack_17c; uint uStack_174; @@ -192221,7 +192321,7 @@ float __fastcall NpcAI::ENTITY_MEATBALL(Entity_NPC *npc) pfVar9 = (float *)Entity_NPC::CalcTargetPosition(); pVVar19 = &npc->_pos; local_1ac = (Entity *)(pfVar9[1] - (npc->_pos).y); - local_1a8[0] = *pfVar9 - pVVar19->x; + local_1a8[0] = (void *)(*pfVar9 - pVVar19->x); local_184 = local_1a8[0]; local_180 = local_1ac; local_148 = pVVar19; @@ -192237,24 +192337,24 @@ float __fastcall NpcAI::ENTITY_MEATBALL(Entity_NPC *npc) npc->_stateFrame = 0; npc->_state = uVar11 & 1 | 8; if (npc->_controllerID == -1) { - fVar16 = local_1a8[0]; + pvVar13 = local_1a8[0]; pEVar10 = local_1ac; } else { pfVar9 = (float *)Entity_NPC::GetAimTargetPosition(npc); - local_184 = *pfVar9 - pVVar19->x; + local_184 = (void *)(*pfVar9 - pVVar19->x); local_180 = (Entity *)(pfVar9[1] - (npc->_pos).y); - fVar16 = local_184; + pvVar13 = local_184; pEVar10 = local_180; - if (100.0 <= (float)local_180 * (float)local_180 + local_184 * local_184) { + if (100.0 <= (float)local_180 * (float)local_180 + (float)local_184 * (float)local_184) { npc->_state = 9; } else { npc->_state = 8; } } - if ((fVar16 != g_vectorZero.x) || ((float)pEVar10 != g_vectorZero.y)) { - (npc->_sprite)._flipX = fVar16 < 0.0; + if (((float)pvVar13 != g_vectorZero.x) || ((float)pEVar10 != g_vectorZero.y)) { + (npc->_sprite)._flipX = (float)pvVar13 < 0.0; } pfVar9 = (float *)Vector::Normalized(); (npc->_targetPosition).x = *pfVar9; @@ -192475,12 +192575,13 @@ LAB_005427b6: fVar16 = (float)pEVar10->_type; fStack_130 = fVar16; std::map::find(local_1a8,&fStack_130); - if (local_1a8[0] == *(float *)&pGVar6->field_0x67780) { + if (local_1a8[0] == (pGVar6->_proceduralItemManager)._spawnTriggerTargets._head) { afStack_158[1] = -NAN; afStack_158[0] = fVar16; pfVar9 = (float *)std::map::find(auStack_118,afStack_158); - local_1a8[0] = *pfVar9; - if (local_1a8[0] == *(float *)&pGVar6->field_0x67780) goto LAB_00542a21; + local_1a8[0] = (void *)*pfVar9; + if (local_1a8[0] == (pGVar6->_proceduralItemManager)._spawnTriggerTargets._head) + goto LAB_00542a21; } uVar22 = 0; pPVar18 = &g_game->_playerManager; @@ -192542,17 +192643,17 @@ LAB_00542a21: ANM2::Play(&npc->_sprite,s_Idle,0); if (npc->_controllerID != -1) { pfVar9 = (float *)Entity_NPC::GetControllerInput(); - local_1a8[0] = *pfVar9; + local_1a8[0] = (void *)*pfVar9; local_1ac = (Entity *)pfVar9[1]; - if ((local_1a8[0] != g_vectorZero.x) || ((float)local_1ac != g_vectorZero.y)) { - (npc->_sprite)._flipX = local_1a8[0] < 0.0; + if (((float)local_1a8[0] != g_vectorZero.x) || ((float)local_1ac != g_vectorZero.y)) { + (npc->_sprite)._flipX = (float)local_1a8[0] < 0.0; } } if (npc->_controllerID == -1) { - if (90000.0 <= (float)local_1ac * (float)local_1ac + local_1a8[0] * local_1a8[0]) + if (90000.0 <= (float)local_1ac * (float)local_1ac + (float)local_1a8[0] * (float)local_1a8[0]) goto LAB_00542acf; pEVar10 = Entity_NPC::GetPlayerTarget(npc); - local_184 = (pEVar10->_pos).x; + local_184 = (void *)(pEVar10->_pos).x; local_180 = (Entity *)(pEVar10->_pos).y; cVar7 = Room::CheckLine(pVVar19,&local_184,3,999,0); if ((cVar7 == '\0') || (uVar11 = Random(), uVar11 % 0x14 != 0)) goto LAB_00542acf; @@ -192571,16 +192672,16 @@ LAB_00542a21: } npc->_projectileCooldown = iVar12; if (bVar20) { - fVar16 = local_1a8[0]; + pvVar13 = local_1a8[0]; pEVar10 = local_1ac; } else { pfVar9 = (float *)Entity_NPC::GetControllerMovementInput(); - fVar16 = *pfVar9; + pvVar13 = (void *)*pfVar9; pEVar10 = (Entity *)pfVar9[1]; } - if ((fVar16 != g_vectorZero.x) || ((float)pEVar10 != g_vectorZero.y)) { - (npc->_sprite)._flipX = fVar16 < 0.0; + if (((float)pvVar13 != g_vectorZero.x) || ((float)pEVar10 != g_vectorZero.y)) { + (npc->_sprite)._flipX = (float)pvVar13 < 0.0; } } LAB_00542acf: @@ -193025,14 +193126,13 @@ void __fastcall NpcAI::ENTITY_PORTAL(Entity_NPC *npc) float *pfVar12; EntityRef *ref; int *piVar13; - RNG RVar14; ANM2 *this_00; + float fVar14; float fVar15; - float fVar16; - double dVar17; - undefined4 uVar18; - int iVar19; - undefined8 uVar20; + double dVar16; + undefined4 uVar17; + int iVar18; + undefined8 uVar19; float local_80; float local_7c; byte local_75; @@ -193088,29 +193188,29 @@ void __fastcall NpcAI::ENTITY_PORTAL(Entity_NPC *npc) (npc->_splatColor)._tint[3] = 1.0; (npc->_splatColor)._offset[2] = 0.73333335; } - RVar14 = npc->_dropRNG; - if (RVar14 == (RNG)0x0) { + uVar7 = (npc->_dropRNG)._seed; + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar14 >> ((byte)*(undefined4 *)&npc->field_0x3e0 & 0x1f) ^ (uint)RVar14; - uVar7 = uVar7 << ((byte)*(undefined4 *)&npc->field_0x3e4 & 0x1f) ^ uVar7; - RVar14 = (RNG)(uVar7 >> ((byte)*(undefined4 *)&npc->field_0x3e8 & 0x1f) ^ uVar7); - npc->_dropRNG = RVar14; + uVar7 = uVar7 >> ((byte)(npc->_dropRNG)._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)(npc->_dropRNG)._shift2 & 0x1f) ^ uVar7; + uVar7 = uVar7 >> ((byte)(npc->_dropRNG)._shift3 & 0x1f) ^ uVar7; + (npc->_dropRNG)._seed = uVar7; npc->_i2 = 0xf; - npc->_i1 = (uint)RVar14 % 5 + 1; + npc->_i1 = uVar7 % 5 + 1; return; } - iVar19 = npc->_variant; - if (iVar19 == 0) { - iVar19 = g_game->_stage; - if (iVar19 < 0xb) { - if (iVar19 == 9) goto LAB_00543939; + iVar18 = npc->_variant; + if (iVar18 == 0) { + iVar18 = g_game->_stage; + if (iVar18 < 0xb) { + if (iVar18 == 9) goto LAB_00543939; } - else if (iVar19 != 0xc) { + else if (iVar18 != 0xc) { LAB_00543939: (**(code **)(*(int *)npc + 0x28))(); - iVar19 = npc->_variant; + iVar18 = npc->_variant; goto LAB_00543941; } LAB_0054389b: @@ -193119,31 +193219,31 @@ LAB_0054389b: else { LAB_00543941: pGVar4 = g_game; - if (iVar19 != 1) goto LAB_0054389b; + if (iVar18 != 1) goto LAB_0054389b; local_68 = g_displayPixelRatio * g_screenPointScale; local_7c = g_screenWidth; pvVar3 = g_game->_room; local_80 = ((g_screenWidth - 338.0) * 0.5 + ((local_70->_pos).x - 60.0) * 0.65) * local_68 + 0.5 ; - dVar17 = floor((double)local_80); - fStack_6c = (float)dVar17 / local_68; + dVar16 = floor((double)local_80); + fStack_6c = (float)dVar16 / local_68; local_80 = g_screenHeight; fStack_74 = ((g_screenHeight - 182.0) * 0.5 + ((local_70->_pos).y - 140.0) * 0.65) * local_68 + 0.5; - dVar17 = floor((double)fStack_74); - fStack_74 = (float)dVar17; + dVar16 = floor((double)fStack_74); + fStack_74 = (float)dVar16; local_7c = (local_7c * 0.5 - (fStack_6c + *(float *)((int)pvVar3 + 0x1204) + (pGVar4->_screenShakeOffset).x)) / (g_screenPointScale * 30.0); local_80 = (local_80 * 0.5 - (fStack_74 / local_68 + *(float *)((int)pvVar3 + 0x1208) + (pGVar4->_screenShakeOffset).y)) / (g_screenPointScale * 30.0); - fVar15 = local_80 * local_80 + local_7c * local_7c; + fVar14 = local_80 * local_80 + local_7c * local_7c; sqrtf(); npc = local_70; - if ((1.5 < fVar15) && (0.0 < fVar15)) { - local_7c = (1.5 / fVar15) * local_7c; - local_80 = local_80 * (1.5 / fVar15); + if ((1.5 < fVar14) && (0.0 < fVar14)) { + local_7c = (1.5 / fVar14) * local_7c; + local_80 = local_80 * (1.5 / fVar14); } this_00 = &local_70->_sprite; pLVar8 = ANM2::GetLayer(this_00,(byte *)0x2); @@ -193160,8 +193260,8 @@ LAB_00543941: ANM2::Play(this_00,s_Idle,0); if (npc->_i2 < 1) { local_80 = 0.0; - iVar19 = *(int *)((int)g_game->_room + 0x1264); - if (iVar19 != 0) { + iVar18 = *(int *)((int)g_game->_room + 0x1264); + if (iVar18 != 0) { piVar13 = *(int **)((int)g_game->_room + 0x125c); do { iVar9 = *piVar13; @@ -193171,9 +193271,9 @@ LAB_00543941: local_80 = (float)((int)local_80 + 1); } piVar13 = piVar13 + 1; - iVar19 = iVar19 + -1; + iVar18 = iVar18 + -1; npc = local_70; - } while (iVar19 != 0); + } while (iVar18 != 0); } if ((int)local_80 < (int)(4 - (uint)(npc->_variant != 1))) { npc->_state = 8; @@ -193189,13 +193289,13 @@ LAB_00543941: goto LAB_00544123; } uVar7 = Random(); - iVar19 = uVar7 % 0x3c + 0x5a; + iVar18 = uVar7 % 0x3c + 0x5a; } else { uVar7 = Random(); - iVar19 = uVar7 % 0x1e + 0x3c; + iVar18 = uVar7 % 0x1e + 0x3c; } - npc->_i2 = iVar19; + npc->_i2 = iVar18; } goto LAB_00544123; } @@ -193216,19 +193316,19 @@ LAB_00543941: } else { local_75 = g_game->_stageType != 0; - iVar19 = g_game->_stage; - if (iVar19 == 0xc) { + iVar18 = g_game->_stage; + if (iVar18 == 0xc) { iVar9 = Room::GetRoomConfigStage(g_game->_room); - iVar19 = 1; + iVar18 = 1; if (2 < iVar9 - 1U) { if (iVar9 - 4U < 3) { - iVar19 = 3; + iVar18 = 3; } else if (iVar9 - 7U < 3) { - iVar19 = 5; + iVar18 = 5; } else if (iVar9 - 10U < 3) { - iVar19 = 7; + iVar18 = 7; } else { if (iVar9 == 0xf) { @@ -193238,14 +193338,14 @@ LAB_00543941: if (iVar9 != 0xe) goto LAB_00543c18; local_75 = 0; } - iVar19 = 10; + iVar18 = 10; } } } LAB_00543c18: bVar5 = Game::IsGreedMode(g_game); if (bVar5 == 0) { - switch(iVar19 + -1) { + switch(iVar18 + -1) { case 0: case 1: uVar7 = 0; @@ -193273,7 +193373,7 @@ LAB_00543c18: } } else { - switch(iVar19 + -1) { + switch(iVar18 + -1) { case 0: uVar7 = 0; break; @@ -193334,35 +193434,35 @@ LAB_00543d30: } this->_health = *pfVar12; if ((npc->_flags & 0x100) != 0) { - uVar20 = 0; - iVar19 = -1; + uVar19 = 0; + iVar18 = -1; ref = (EntityRef *)EntityRef::EntityRef(); - Entity::AddCharmed(this,ref,iVar19,(byte)uVar20,(byte)((ulonglong)uVar20 >> 0x20)); + Entity::AddCharmed(this,ref,iVar18,(byte)uVar19,(byte)((ulonglong)uVar19 >> 0x20)); } if (npc->_variant == 1) { *(uint *)&this->_flags = (uint)this->_flags & 0xfffffffb; puVar1 = (uint *)((int)&this->_flags + 4); *puVar1 = *puVar1 | 0x400; - iVar19 = Random(); - fVar16 = ((float)((double)iVar19 + __uint_to_double_fixup[-(iVar19 >> 0x1f)]) * 2.3283064e-10 + iVar18 = Random(); + fVar15 = ((float)((double)iVar18 + __uint_to_double_fixup[-(iVar18 >> 0x1f)]) * 2.3283064e-10 * 40.0 - 20.0) * 0.017453292; - fStack_6c = fVar16; + fStack_6c = fVar15; cos(); - fVar15 = fStack_6c; - fStack_74 = fVar16; + fVar14 = fStack_6c; + fStack_74 = fVar15; sin(); uStack_18 = 0x3f21a1a2; uStack_14 = 0x3ec4c4c5; uStack_10 = 0x3f6feff0; - uVar18 = 0x1e; - (this->_velocity).x = fStack_74 * 0.0 - fVar15 * 4.0; - (this->_velocity).y = fVar15 * 0.0 + fStack_74 * 4.0; + uVar17 = 0x1e; + (this->_velocity).x = fStack_74 * 0.0 - fVar14 * 4.0; + (this->_velocity).y = fVar14 * 0.0 + fStack_74 * 4.0; } else { uStack_18 = 0; uStack_14 = 0; uStack_10 = 0; - uVar18 = 0x32; + uVar17 = 0x32; } uStack_28 = 0; uStack_24 = 0; @@ -193372,7 +193472,7 @@ LAB_00543d30: fStack_34 = 0.0; uStack_30 = 0; uStack_2c = 0x3f800000; - (**(code **)(*(int *)this + 0x3c))(&fStack_38,uVar18,0x14,0x100000001); + (**(code **)(*(int *)this + 0x3c))(&fStack_38,uVar17,0x14,0x100000001); (**(code **)(*(int *)this + 0xc))(); if (npc->_variant == 0) { Entity_NPC::PlaySound(npc,0x1c,1.0,2,0,1.0); @@ -193409,10 +193509,10 @@ LAB_00544123: if (npc->_i1 < 1) { (**(code **)(*(int *)npc + 0x28))(); } - fVar15 = npc->_friction; + fVar14 = npc->_friction; (npc->_pos).x = (npc->_targetPosition).x; (npc->_pos).y = (npc->_targetPosition).y; - npc->_friction = fVar15 * 0.7; + npc->_friction = fVar14 * 0.7; return; } @@ -193471,7 +193571,7 @@ EntityPtr __fastcall NpcAI::ENTITY_TARBOY(Entity_NPC *npc) { Vector *pVVar1; - undefined1 *puVar2; + std_set *psVar2; int iVar3; code *pcVar4; longlong lVar5; @@ -193629,7 +193729,7 @@ EntityPtr __fastcall NpcAI::ENTITY_TARBOY(Entity_NPC *npc) EntityPtr *local_278; EntityPtr *local_274; Room *local_270; - int local_26c; + void *local_26c; float local_268; float local_264; EntityPtr local_260; @@ -194592,7 +194692,7 @@ LAB_0054577e: auVar118._0_8_ = auVar117._0_8_; lVar5 = (auVar103._0_8_ & 0xffffffff) * 0x431bde82; lVar6 = (ulonglong)uVar23 * 0xd7b634db; - local_26c = (int)((ulonglong)lVar6 >> 0x20); + local_26c = (void *)((ulonglong)lVar6 >> 0x20); auVar103._0_8_ = lVar6 + ((auVar103._0_8_ & 0xffffffff) * 0xd7b634db >> 0x20); uVar22 = (uint)(auVar103._0_8_ >> 0x20); lVar6 = lVar5 + (auVar103._0_8_ & 0xffffffff); @@ -194663,7 +194763,7 @@ LAB_0054577e: } EntityRef::constructor(&EStack_190,*(void **)((int)EVar13 + 0x264)); Entity::AddCharmed(this,&EStack_190,-1,0,0); - if (&local_298[-1].field_0x788e < (undefined1 *)0x3de) { + if ((undefined1 *)((int)&local_298[-1]._beastBlastForce + 2U) < (undefined1 *)0x3de) { ANM2::LoadDeliriumForm(); } } @@ -194752,7 +194852,7 @@ LAB_00545ca9: ((local_29c->_proceduralItemManager)._proceduralItems._begin != (local_29c->_proceduralItemManager)._proceduralItems._end)) { iStack_25c = this->_variant; - puVar2 = &local_29c->field_0x67780; + psVar2 = &(local_29c->_proceduralItemManager)._spawnTriggerTargets; local_260 = (EntityPtr)this->_type; auVar134._8_4_ = &local_26c; auVar134._0_8_ = auVar132._0_8_; @@ -194760,7 +194860,7 @@ LAB_00545ca9: auVar138._8_8_ = auVar134._8_8_; auVar138._0_8_ = 0x545dcb00000000; std::map::find(); - if (local_26c == *(int *)puVar2) { + if (local_26c == psVar2->_head) { local_248[0] = this->_type; local_248[1] = 0xffffffff; auVar135._0_8_ = auVar138._0_8_; @@ -194769,7 +194869,7 @@ LAB_00545ca9: auVar138._8_8_ = auVar135._8_8_; auVar138._0_8_ = 0x545df600000000; piVar20 = (int *)std::map::find(); - if (*piVar20 == *(int *)puVar2) goto LAB_00545e4c; + if ((void *)*piVar20 == psVar2->_head) goto LAB_00545e4c; } uVar15 = 0; this_00 = &g_game->_playerManager; @@ -194819,7 +194919,7 @@ LAB_00545e4c: (((uVar23 >> 0x12) - (int)local_290) - (uint)(piVar20 < local_288)) + (uint)bVar26; LAB_00545ede: local_270 = (Room *)((ulonglong)lVar5 >> 0x20); - local_26c = (int)lVar5; + local_26c = (void *)lVar5; piVar20 = (int *)__RTDynamicCast(local_27c,0); piVar20[0x117] = 0x1e; piVar20[0x118] = 0x1e; @@ -194888,10 +194988,7 @@ void __fastcall NpcAI::ENTITY_FISTULOID(Entity_NPC *npc) TypeDescriptor *pTVar23; TypeDescriptor *pTVar24; undefined4 uVar25; - undefined1 local_148 [28]; - float local_12c; - undefined4 local_128; - void *local_124; + EntityRef local_148; char local_120 [4]; undefined8 local_11c; uint local_114; @@ -195267,8 +195364,8 @@ LAB_00546aa6: pEVar10 = *(Entity **)(local_f4 + (int)fVar16 * 4); if ((pEVar10->_spawnerType == 0x19d) && ((pEVar10[1]._variant & 0x100U) != 0)) { pcVar5 = *(code **)(*(int *)npc + 0x20); - EntityRef::constructor((EntityRef *)local_148,pEVar10); - (*pcVar5)(npc->_maxHitPoints,0,0,local_148,0x1e); + EntityRef::constructor(&local_148,pEVar10); + (*pcVar5)(npc->_maxHitPoints,0,0,&local_148,0x1e); fVar16 = extraout_ECX_19; break; } @@ -195286,17 +195383,17 @@ LAB_00546aa6: if (((npc->_controllerID != -1) && (cVar8 = input_is_action_pressed(9,npc->_controllerID,npc,fVar16), cVar8 != '\0')) && (npc->_state != 5)) { - local_148._0_4_ = 0; - local_148._4_4_ = 0; - local_148._8_4_ = 0; - local_148._12_4_ = 0; - local_148._16_4_ = g_vectorZero.x; - local_148._20_4_ = g_vectorZero.y; - local_148._24_4_ = g_vectorZero.x; - local_12c = g_vectorZero.y; - local_128 = 0; - local_124 = (void *)0x0; - (**(code **)(*(int *)npc + 0x24))(local_148); + local_148._type = 0; + local_148._variant = 0; + local_148._spawnerType = 0; + local_148._spawnerVariant = 0; + local_148._position.x = g_vectorZero.x; + local_148._position.y = g_vectorZero.y; + local_148._velocity.x = g_vectorZero.x; + local_148._velocity.y = g_vectorZero.y; + local_148._flags = 0; + local_148._entity = (void *)0x0; + (**(code **)(*(int *)npc + 0x24))(&local_148); } if (npc->_dead != 0) { if (local_d1 != '\0') { @@ -196661,7 +196758,7 @@ void __fastcall NpcAI::ENTITY_MR_MINE(Entity_NPC *npc) local_128.x = 1.0; } pLVar14 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - *(float *)&pLVar14->field_0x54 = local_128.x; + (pLVar14->_color)._tint[3] = local_128.x; return; } goto LAB_00549753; @@ -197435,13 +197532,13 @@ LAB_0054aa5b: } local_74 = 1.0 - local_68; pLVar14 = ANM2::GetLayer(&npc->_sprite,(byte *)0x1); - *(float *)&pLVar14->field_0x54 = local_74; + (pLVar14->_color)._tint[3] = local_74; pLVar14 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar14->field_0x54 = 0x3f800000; - *(float *)&pLVar14->field_0x48 = 1.0 - local_68 * 0.9; + (pLVar14->_color)._tint[3] = 1.0; + (pLVar14->_color)._tint[0] = 1.0 - local_68 * 0.9; fVar19 = 1.0 - local_68 * 0.8; - *(float *)&pLVar14->field_0x4c = fVar19; - *(float *)&pLVar14->field_0x50 = fVar19; + (pLVar14->_color)._tint[1] = fVar19; + (pLVar14->_color)._tint[2] = fVar19; if ((0.3 < local_68) && (npc->_collidesWithGrid != 0)) { local_6c = (npc->_velocity).x; local_74 = (npc->_velocity).y; @@ -198117,12 +198214,12 @@ LAB_0054becf: EStack_120._type = 0; EStack_120._variant = 0; EStack_120._spawnerType = 0x3f19999a; - EStack_120._28_4_ = 0x3f333333; - EStack_120._32_4_ = 0x3f333333; + EStack_120._velocity.y = 0.7; + EStack_120._flags = 0x3f333333; EStack_120._spawnerVariant = 0; EStack_120._position.x = 0.0; EStack_120._position.y = 0.0; - EStack_120._24_4_ = 0; + EStack_120._velocity.x = 0.0; EStack_120._entity = (void *)0x0; Color::operator_assign(&local_124); } @@ -198200,11 +198297,11 @@ LAB_0054becf: npc->_i1 = uVar8 % 0x18 + 6; npc->_stateFrame = 6; fVar4 = (npc->_pos).x; - fVar13 = (npc->_targetPosition).x; fVar12 = (npc->_targetPosition).x; + fVar13 = (npc->_targetPosition).x; npc->_i2 = -npc->_i2; npc->_state = 4; - (npc->_sprite)._flipX = fVar12 <= fVar4 && fVar4 != fVar13; + (npc->_sprite)._flipX = fVar13 <= fVar4 && fVar4 != fVar12; fVar4 = (npc->_v1).y; fVar13 = npc->_speedMultiplier; (npc->_velocity).x = (npc->_v1).x * 4.0 * fVar13 + (npc->_velocity).x; @@ -200286,6 +200383,7 @@ void __fastcall NpcAI::ENTITY_SWARM_SPIDER(Entity_NPC *npc) byte *pbVar3; Entity_NPC *pEVar4; EntityPtr EVar5; + RNG rng; byte bVar6; uint uVar7; int iVar8; @@ -200296,10 +200394,9 @@ void __fastcall NpcAI::ENTITY_SWARM_SPIDER(Entity_NPC *npc) byte *pbVar13; char *pcVar14; undefined4 *puVar15; - RNG RVar16; - bool bVar17; + bool bVar16; + float fVar17; float fVar18; - float fVar19; float local_68; float local_64; uint local_60; @@ -200376,15 +200473,15 @@ void __fastcall NpcAI::ENTITY_SWARM_SPIDER(Entity_NPC *npc) pbVar13 = s_Idle; do { bVar6 = *pbVar9; - bVar17 = bVar6 < *pbVar13; + bVar16 = bVar6 < *pbVar13; if (bVar6 != *pbVar13) { LAB_00551161: - uVar7 = -(uint)bVar17 | 1; + uVar7 = -(uint)bVar16 | 1; goto LAB_00551166; } if (bVar6 == 0) break; bVar6 = pbVar9[1]; - bVar17 = bVar6 < pbVar13[1]; + bVar16 = bVar6 < pbVar13[1]; if (bVar6 != pbVar13[1]) goto LAB_00551161; pbVar9 = pbVar9 + 2; pbVar13 = pbVar13 + 2; @@ -200406,15 +200503,15 @@ LAB_005511a0: if (npc->_subtype != 0) { local_48 = 0.0; do { - RVar16 = npc->_dropRNG; - if (RVar16 == (RNG)0x0) { + uVar7 = (npc->_dropRNG)._seed; + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar16 >> ((byte)*(undefined4 *)&npc->field_0x3e0 & 0x1f) ^ (uint)RVar16; - uVar7 = uVar7 << ((byte)*(undefined4 *)&npc->field_0x3e4 & 0x1f) ^ uVar7; - RVar16 = (RNG)(uVar7 >> ((byte)*(undefined4 *)&npc->field_0x3e8 & 0x1f) ^ uVar7); - npc->_dropRNG = RVar16; + uVar7 = uVar7 >> ((byte)(npc->_dropRNG)._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)(npc->_dropRNG)._shift2 & 0x1f) ^ uVar7; + uVar7 = uVar7 >> ((byte)(npc->_dropRNG)._shift3 & 0x1f) ^ uVar7; + (npc->_dropRNG)._seed = uVar7; EVar5 = npc->_spawnerEntity; iVar8 = Random(); fStack_54 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * @@ -200424,7 +200521,7 @@ LAB_005511a0: local_68 = ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 40.0 - 20.0) + (local_50->_pos).x; local_64 = fStack_54 + (local_50->_pos).y; - Game::Spawn(local_50->_type,local_50->_variant,&local_68,&g_vectorZero,EVar5,0,RVar16); + Game::Spawn(local_50->_type,local_50->_variant,&local_68,&g_vectorZero,EVar5,0,uVar7); local_48 = (float)((int)local_48 + 1); } while ((uint)local_48 < (uint)npc->_subtype); iVar8 = Random(); @@ -200496,15 +200593,15 @@ LAB_0055082f: pbVar13 = s_Idle; do { bVar6 = *pbVar9; - bVar17 = bVar6 < *pbVar13; + bVar16 = bVar6 < *pbVar13; if (bVar6 != *pbVar13) { LAB_00550865: - uVar7 = -(uint)bVar17 | 1; + uVar7 = -(uint)bVar16 | 1; goto LAB_0055086a; } if (bVar6 == 0) break; bVar6 = pbVar9[1]; - bVar17 = bVar6 < pbVar13[1]; + bVar16 = bVar6 < pbVar13[1]; if (bVar6 != pbVar13[1]) goto LAB_00550865; pbVar9 = pbVar9 + 2; pbVar13 = pbVar13 + 2; @@ -200550,12 +200647,12 @@ LAB_005509e9: pEVar4 = *(Entity_NPC **)((int)WVar10 + uVar7 * 4); if (pEVar4 != npc) { if ((pEVar4->_flags & 0x20000000) == 0) { - fVar18 = (npc->_pos).y - (pEVar4->_pos).y; - fVar19 = (npc->_pos).x - (pEVar4->_pos).x; - fVar18 = fVar18 * fVar18 + fVar19 * fVar19; + fVar17 = (npc->_pos).y - (pEVar4->_pos).y; + fVar18 = (npc->_pos).x - (pEVar4->_pos).x; + fVar17 = fVar17 * fVar17 + fVar18 * fVar18; sqrtf(); - if (local_44 < fVar18) { - local_44 = fVar18; + if (local_44 < fVar17) { + local_44 = fVar17; iVar8 = *(int *)((int)local_30 + uVar7 * 4); local_48 = *(float *)(iVar8 + 0x33c); local_40 = *(float *)(iVar8 + 0x340); @@ -200579,37 +200676,37 @@ LAB_005509e9: } local_44 = local_44 - (npc->_pos).x; local_40 = local_40 - (npc->_pos).y; - fVar18 = local_44 * local_44 + local_40 * local_40; + fVar17 = local_44 * local_44 + local_40 * local_40; sqrtf(); - if (fVar18 <= 0.0) { + if (fVar17 <= 0.0) { ExceptionList = local_1c; return; } uVar7 = 4; - if (200.0 < fVar18) { + if (200.0 < fVar17) { uVar7 = 0x14; } - local_48 = fVar18; + local_48 = fVar17; uVar12 = Random(); if ((uVar12 % uVar7 == 0) || (local_48 < 100.0)) { uVar7 = Random(); if ((uVar7 & 1) == 0) { uVar7 = Random(); if ((uVar7 & 1) == 0) { - fVar18 = 90.0; + fVar17 = 90.0; } else { - fVar18 = -90.0; + fVar17 = -90.0; } - fVar18 = fVar18 * 0.017453292; - local_64 = fVar18; + fVar17 = fVar17 * 0.017453292; + local_64 = fVar17; cos(); - fVar19 = local_64; - fStack_54 = fVar18; + fVar18 = local_64; + fStack_54 = fVar17; sin(); - fVar18 = local_44 * fVar19; - local_44 = local_44 * fStack_54 - local_40 * fVar19; - local_40 = local_40 * fStack_54 + fVar18; + fVar17 = local_44 * fVar18; + local_44 = local_44 * fStack_54 - local_40 * fVar18; + local_40 = local_40 * fStack_54 + fVar17; } else { local_44 = -local_44; @@ -200690,9 +200787,13 @@ LAB_00550caf: local_60 = local_60 | 1; uStack_5c = 0x900000005; fStack_54 = 9.80909e-45; - iVar8 = WeightedOutcomePicker::PickOutcome(&local_30,local_60,5,9,7); + rng._shift1 = 5; + rng._seed = local_60; + rng._shift2 = 9; + rng._shift3 = 7; + uVar7 = WeightedOutcomePicker::PickOutcome(&local_30,rng); pEVar4 = local_50; - if (iVar8 == 0) { + if (uVar7 == 0) { pbVar3 = (local_50->_sprite)._animState._animData; if (pbVar3 == (byte *)0x0) { LAB_00550fdf: @@ -200710,15 +200811,15 @@ LAB_00550fdf: pcVar14 = "HopShort"; do { bVar6 = *pbVar9; - bVar17 = bVar6 < (byte)*pcVar14; + bVar16 = bVar6 < (byte)*pcVar14; if (bVar6 != *pcVar14) { LAB_00550fc1: - uVar7 = -(uint)bVar17 | 1; + uVar7 = -(uint)bVar16 | 1; goto LAB_00550fc6; } if (bVar6 == 0) break; bVar6 = pbVar9[1]; - bVar17 = bVar6 < (byte)pcVar14[1]; + bVar16 = bVar6 < (byte)pcVar14[1]; if (bVar6 != pcVar14[1]) goto LAB_00550fc1; pbVar9 = pbVar9 + 2; pcVar14 = pcVar14 + 2; @@ -200729,22 +200830,22 @@ LAB_00550fc6: goto LAB_00550fdf; } iVar8 = Random(); - fVar18 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 + 5.0 + fVar17 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 + 5.0 ; - local_64 = fVar18 * local_44; - local_40 = local_40 * fVar18; + local_64 = fVar17 * local_44; + local_40 = local_40 * fVar17; iVar8 = Random(); - fVar18 = ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * + fVar17 = ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 90.0 - 45.0) * 0.017453292; - fStack_54 = fVar18; + fStack_54 = fVar17; cos(); - fVar19 = fStack_54; - local_48 = fVar18; + fVar18 = fStack_54; + local_48 = fVar17; sin(); - fVar18 = local_64 * local_48 - local_40 * fVar19; - fVar19 = local_40 * local_48 + local_64 * fVar19; + fVar17 = local_64 * local_48 - local_40 * fVar18; + fVar18 = local_40 * local_48 + local_64 * fVar18; } - else if (iVar8 == 1) { + else if (uVar7 == 1) { pbVar3 = (local_50->_sprite)._animState._animData; if (pbVar3 == (byte *)0x0) { LAB_00550e9e: @@ -200762,15 +200863,15 @@ LAB_00550e9e: pbVar13 = &DAT_00b1de1c; do { bVar6 = *pbVar9; - bVar17 = bVar6 < *pbVar13; + bVar16 = bVar6 < *pbVar13; if (bVar6 != *pbVar13) { LAB_00550e80: - uVar7 = -(uint)bVar17 | 1; + uVar7 = -(uint)bVar16 | 1; goto LAB_00550e85; } if (bVar6 == 0) break; bVar6 = pbVar9[1]; - bVar17 = bVar6 < pbVar13[1]; + bVar16 = bVar6 < pbVar13[1]; if (bVar6 != pbVar13[1]) goto LAB_00550e80; pbVar9 = pbVar9 + 2; pbVar13 = pbVar13 + 2; @@ -200781,22 +200882,22 @@ LAB_00550e85: goto LAB_00550e9e; } iVar8 = Random(); - fVar18 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10; - fVar18 = fVar18 + fVar18 + 8.0; - local_64 = fVar18 * local_44; - local_40 = local_40 * fVar18; + fVar17 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10; + fVar17 = fVar17 + fVar17 + 8.0; + local_64 = fVar17 * local_44; + local_40 = local_40 * fVar17; iVar8 = Random(); - fVar18 = ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * + fVar17 = ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 40.0 - 20.0) * 0.017453292; - fStack_54 = fVar18; + fStack_54 = fVar17; cos(); - fVar19 = fStack_54; - local_48 = fVar18; + fVar18 = fStack_54; + local_48 = fVar17; sin(); - fVar18 = local_64 * local_48 - local_40 * fVar19; - fVar19 = local_40 * local_48 + local_64 * fVar19; + fVar17 = local_64 * local_48 - local_40 * fVar18; + fVar18 = local_40 * local_48 + local_64 * fVar18; } - else if (iVar8 == 2) { + else if (uVar7 == 2) { pbVar3 = (local_50->_sprite)._animState._animData; if (pbVar3 == (byte *)0x0) { LAB_00550d55: @@ -200814,15 +200915,15 @@ LAB_00550d55: pcVar14 = "HopLong"; do { bVar6 = *pbVar9; - bVar17 = bVar6 < (byte)*pcVar14; + bVar16 = bVar6 < (byte)*pcVar14; if (bVar6 != *pcVar14) { LAB_00550d37: - uVar7 = -(uint)bVar17 | 1; + uVar7 = -(uint)bVar16 | 1; goto LAB_00550d3c; } if (bVar6 == 0) break; bVar6 = pbVar9[1]; - bVar17 = bVar6 < (byte)pcVar14[1]; + bVar16 = bVar6 < (byte)pcVar14[1]; if (bVar6 != pcVar14[1]) goto LAB_00550d37; pbVar9 = pbVar9 + 2; pcVar14 = pcVar14 + 2; @@ -200833,27 +200934,27 @@ LAB_00550d3c: goto LAB_00550d55; } iVar8 = Random(); - fVar18 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 3.0 + fVar17 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 3.0 + 10.0; - local_64 = fVar18 * local_44; - local_40 = local_40 * fVar18; + local_64 = fVar17 * local_44; + local_40 = local_40 * fVar17; iVar8 = Random(); - fVar18 = ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * + fVar17 = ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 20.0 - 10.0) * 0.017453292; - fStack_54 = fVar18; + fStack_54 = fVar17; cos(); - fVar19 = fStack_54; - local_48 = fVar18; + fVar18 = fStack_54; + local_48 = fVar17; sin(); - fVar18 = local_64 * local_48 - local_40 * fVar19; - fVar19 = local_40 * local_48 + local_64 * fVar19; + fVar17 = local_64 * local_48 - local_40 * fVar18; + fVar18 = local_40 * local_48 + local_64 * fVar18; } else { - fVar18 = local_44; - fVar19 = local_40; + fVar17 = local_44; + fVar18 = local_40; } - (pEVar4->_targetPosition).x = fVar18; - (pEVar4->_targetPosition).y = fVar19; + (pEVar4->_targetPosition).x = fVar17; + (pEVar4->_targetPosition).y = fVar18; pEVar4->_state = 6; if (local_30 == (WeightedOutcomePicker)0x0) { ExceptionList = local_1c; @@ -201179,8 +201280,6 @@ void __fastcall NpcAI::ENTITY_GENERIC_PROP(Entity_NPC *npc) float fVar17; float fVar18; RNG local_64; - undefined8 local_60; - undefined4 local_58; Entity_NPC *local_54; float local_50; float local_4c; @@ -201320,10 +201419,11 @@ LAB_00551dec: (fVar18 = ((npc->_pos).x + 0.0) - fVar18, fVar17 = ((npc->_pos).y + 60.0) - (pEVar12->_prevPosition).y, fVar17 * fVar17 + fVar18 * fVar18 <= 6400.0)))) { - local_64 = (RNG)npc->_initSeed; + local_64._seed = npc->_initSeed; npc->_i1 = 1; - local_60 = 0xb00000001; - local_58 = 0x10; + local_64._shift1 = 1; + local_64._shift2 = 0xb; + local_64._shift3 = 0x10; uVar11 = RNG::Next(&local_64); local_4c = (npc->_pos).x - 8.0; local_48 = (std_string *)((npc->_pos).y + 40.0); @@ -202521,21 +202621,18 @@ void __fastcall NpcAI::ENTITY_DARK_ESAU(Entity_NPC *npc) float local_58; float local_54; float local_50; - undefined1 auStack_4c [28]; - float local_30; - float local_2c; - void *local_28; + EntityRef EStack_4c; float local_24; undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; undefined4 local_14; - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); local_14 = -NAN; puStack_18 = &LAB_00af4be0; local_1c = ExceptionList; - fVar9 = (float)(__security_cookie ^ (uint)(auStack_4c + 0x3c)); + fVar9 = (float)(__security_cookie ^ (int)register0x00000010 - 0x10U); ExceptionList = &local_1c; local_170 = (EntityPtr)0x0; local_164 = (int *)((int)npc->_updateTime - (int)npc->_prevUpdateTime); @@ -202553,13 +202650,15 @@ void __fastcall NpcAI::ENTITY_DARK_ESAU(Entity_NPC *npc) npc->_pendingDamage = 0.0; (npc->_damageEvents)._end = pvVar2; } - if ((npc->_state == 8) || (puStack_20 = auStack_4c + 0x48, npc->_state == 9)) { + if ((npc->_state == 8) || + (puStack_20 = (undefined1 *)((int)register0x00000010 + -4), npc->_state == 9)) { pvVar2 = (npc->_sprite)._animState._animData; - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); if ((pvVar2 != (void *)0x0) && - (puStack_20 = auStack_4c + 0x48, *(char *)((int)pvVar2 + 0x34) != '\0')) { + (puStack_20 = (undefined1 *)((int)register0x00000010 + -4), + *(char *)((int)pvVar2 + 0x34) != '\0')) { (npc->_hitList)._end = (npc->_hitList)._begin; - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); iVar10 = Entity::GetIntervalTicks((Entity *)npc); if (iVar10 != 0) { iVar10 = _get_index_plus_one_if_kind_4_5(); @@ -202585,11 +202684,11 @@ void __fastcall NpcAI::ENTITY_DARK_ESAU(Entity_NPC *npc) } else { pcVar3 = *(code **)(*(int *)local_168 + 0x20); - EntityRef::constructor((EntityRef *)auStack_4c,(Entity *)npc); - (*pcVar3)(local_154,0x40000000,0,auStack_4c,0x1e); + EntityRef::constructor(&EStack_4c,(Entity *)npc); + (*pcVar3)(local_154,0x40000000,0,&EStack_4c,0x1e); pEVar19 = *(Entity **)(local_18c + (int)local_164 * 4); - EntityRef::constructor((EntityRef *)auStack_4c,(Entity *)npc->_parent); - Entity::AddBurn(pEVar19,(EntityRef *)auStack_4c,0x96,5.0,0); + EntityRef::constructor(&EStack_4c,(Entity *)npc->_parent); + Entity::AddBurn(pEVar19,&EStack_4c,0x96,5.0,0); piVar21 = local_164; } local_164 = (int *)((int)piVar21 + 1); @@ -202680,13 +202779,13 @@ LAB_005545e5: return; } pcVar3 = *(code **)(*(int *)local_154 + 0x20); - EntityRef::constructor((EntityRef *)auStack_4c,(Entity *)npc); - (*pcVar3)(0,0x12002000,0,auStack_4c,0x1e); + EntityRef::constructor(&EStack_4c,(Entity *)npc); + (*pcVar3)(0,0x12002000,0,&EStack_4c,0x1e); ExceptionList = local_1c; return; } if (npc->_aiCallPhase == 3) { - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); iVar10 = __RTDynamicCast(local_170,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Player::RTTI_Type_Descriptor,0); if ((iVar10 != 0) && (*(char *)(iVar10 + 0x20a9) != '\0')) { @@ -202704,8 +202803,8 @@ LAB_005545e5: uVar12 = Entity::GetHitListIndex(npc->_collisionEntity); sorted_vector_insert_unique(uVar12); pcVar3 = *(code **)(*(int *)npc->_collisionEntity + 0x20); - EntityRef::constructor((EntityRef *)auStack_4c,(Entity *)local_168); - (*pcVar3)(0x41f00000,0,0,auStack_4c,0x1e); + EntityRef::constructor(&EStack_4c,(Entity *)local_168); + (*pcVar3)(0x41f00000,0,0,&EStack_4c,0x1e); *(int *)((int)local_168 + 0xb80) = 0; ExceptionList = local_1c; return; @@ -202731,7 +202830,7 @@ LAB_005545e5: npc->_sortingLayer = 0; } else if (iVar10 == 3) { - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); if (cVar7 != '\0') { Game::ShakeScreen(g_game,6); @@ -202748,7 +202847,7 @@ LAB_005545e5: } } else if (iVar10 == 0x10) { - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); cVar7 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); if (cVar7 != '\0') { (**(code **)(*(int *)npc + 0x28))(); @@ -202764,10 +202863,10 @@ LAB_005545e5: local_155 = '\x01'; } iVar10 = npc->_state; - if (((iVar10 == 8) || (puStack_20 = auStack_4c + 0x48, iVar10 == 9)) && - (puStack_20 = auStack_4c + 0x48, local_155 != '\0')) { + if (((iVar10 == 8) || (puStack_20 = (undefined1 *)((int)register0x00000010 + -4), iVar10 == 9)) && + (puStack_20 = (undefined1 *)((int)register0x00000010 + -4), local_155 != '\0')) { npc->_state = 3; - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); ANM2::Play(&npc->_sprite,s_Idle,0); iVar10 = npc->_state; npc->_i1 = 0x3c; @@ -203299,16 +203398,16 @@ LAB_00555a07: local_150.FallingAccelModifier = 0.3; if (npc->_subtype != 0) { local_50 = 2.0; - auStack_4c._0_4_ = 1.2; - auStack_4c._4_4_ = 1.2; - auStack_4c._8_4_ = 1.0; - local_30 = 0.0; - local_2c = -0.5; - auStack_4c._12_4_ = 0.0; - auStack_4c._16_4_ = 0.0; - auStack_4c._20_4_ = 0.0; - auStack_4c._24_4_ = 0.0; - local_28 = (void *)0xbe4ccccd; + EStack_4c._type = 0x3f99999a; + EStack_4c._variant = 0x3f99999a; + EStack_4c._spawnerType = 0x3f800000; + EStack_4c._velocity.y = 0.0; + EStack_4c._flags = -0x41000000; + EStack_4c._spawnerVariant = 0; + EStack_4c._position.x = 0.0; + EStack_4c._position.y = 0.0; + EStack_4c._velocity.x = 0.0; + EStack_4c._entity = (void *)0xbe4ccccd; Color::operator_assign(&local_50); } local_160.x = 8.0; @@ -204043,14 +204142,13 @@ void FUN_005579b0(undefined4 param_1) if (in_ECX->_variant == 0) { Entity::Render(in_ECX,param_1); - if (*(int *)&in_ECX[2].field_0x3e8 != 0) { + if (in_ECX[2]._dropRNG._shift3 != 0) { uVar3 = 0; do { - uVar1 = *(int *)&in_ECX[2].field_0x3e4 + uVar3; + uVar1 = in_ECX[2]._dropRNG._shift2 + uVar3; pEVar2 = *(Entity_NPC **) - (*(int *)((int)in_ECX[2]._dropRNG + - (uVar1 >> 2 & *(int *)&in_ECX[2].field_0x3e0 - 1U) * 4) + (uVar1 & 3) * 4 - ); + (*(int *)(in_ECX[2]._dropRNG._seed + + (uVar1 >> 2 & in_ECX[2]._dropRNG._shift1 - 1U) * 4) + (uVar1 & 3) * 4); if ((pEVar2 != (Entity_NPC *)0x0) && (((1 < *(int *)&g_game->_deathmatchManager && (pEVar2->_type == 1)) || (pEVar2->_type - 10U < 0x3de)))) { @@ -205197,14 +205295,13 @@ void __fastcall NpcAI::ENTITY_WILLO_L2(Entity_NPC *npc) float *pfVar12; Entity *pEVar13; LayerState *pLVar14; - undefined4 uVar15; - int iVar16; - EntityPtr EVar17; - float fVar18; - EntityPtr *pEVar19; + int iVar15; + EntityPtr EVar16; + float fVar17; + EntityPtr *pEVar18; + float fVar19; float fVar20; float fVar21; - float fVar22; char local_110 [4]; int local_10c; uint local_104; @@ -205245,43 +205342,43 @@ void __fastcall NpcAI::ENTITY_WILLO_L2(Entity_NPC *npc) } return; } - iVar16 = npc->_projectileCooldown; + iVar15 = npc->_projectileCooldown; piVar1 = &npc->_projectileCooldown; ExceptionList = &local_1c; - if (0 < iVar16) { - iVar16 = iVar16 - ((int)npc->_updateTime - (int)npc->_prevUpdateTime); - *piVar1 = iVar16; + if (0 < iVar15) { + iVar15 = iVar15 - ((int)npc->_updateTime - (int)npc->_prevUpdateTime); + *piVar1 = iVar15; } if ((npc->_flags & 0x1000a00) != 0) { local_d4 = (EntityPtr *)0xa; piVar9 = (int *)&local_d4; - if (9 < iVar16) { + if (9 < iVar15) { piVar9 = piVar1; } *piVar1 = *piVar9; } - iVar16 = npc->_state; - if (iVar16 == 0) { + iVar15 = npc->_state; + if (iVar15 == 0) { ENTITY_WILLO_L2_find_target(npc); - EVar17 = npc->_entityRef; + EVar16 = npc->_entityRef; EVar10 = (EntityPtr)0x0; - if (EVar17 != (EntityPtr)0x0) { - local_d8 = (npc->_pos).y - *(float *)((int)EVar17 + 0x340); - local_d4 = (EntityPtr *)((npc->_pos).x - *(float *)((int)EVar17 + 0x33c)); - fVar18 = local_d8 * local_d8 + (float)local_d4 * (float)local_d4; + if (EVar16 != (EntityPtr)0x0) { + local_d8 = (npc->_pos).y - *(float *)((int)EVar16 + 0x340); + local_d4 = (EntityPtr *)((npc->_pos).x - *(float *)((int)EVar16 + 0x33c)); + fVar17 = local_d8 * local_d8 + (float)local_d4 * (float)local_d4; sqrtf(uVar8); - if (fVar18 <= 0.0) { - fVar20 = local_d8; - pEVar19 = local_d4; + if (fVar17 <= 0.0) { + fVar19 = local_d8; + pEVar18 = local_d4; } else { - fVar18 = (*(float *)((int)EVar17 + 0x370) + 40.0) / fVar18; - fVar20 = local_d8 * fVar18; - pEVar19 = (EntityPtr *)((float)local_d4 * fVar18); + fVar17 = (*(float *)((int)EVar16 + 0x370) + 40.0) / fVar17; + fVar19 = local_d8 * fVar17; + pEVar18 = (EntityPtr *)((float)local_d4 * fVar17); } - fVar18 = *(float *)((int)EVar17 + 0x340); - (npc->_pos).x = (float)pEVar19 + *(float *)((int)EVar17 + 0x33c); - (npc->_pos).y = fVar20 + fVar18; + fVar17 = *(float *)((int)EVar16 + 0x340); + (npc->_pos).x = (float)pEVar18 + *(float *)((int)EVar16 + 0x33c); + (npc->_pos).y = fVar19 + fVar17; EVar10 = npc->_entityRef; } npc->_projectileDelay = 0x28; @@ -205294,44 +205391,44 @@ void __fastcall NpcAI::ENTITY_WILLO_L2(Entity_NPC *npc) *(int *)&npc->_flags = (int)npc->_flags; uVar8 = g_graphicsManager_flags; pLVar14 = ANM2::GetLayer(&npc->_sprite,(byte *)0x3); - uVar15 = 1; + iVar15 = 1; if ((uVar8 & 4) == 0) { - uVar15 = 6; + iVar15 = 6; } - *(undefined4 *)&pLVar14->field_0x78 = 0; - *(undefined4 *)&pLVar14->field_0x7c = uVar15; - *(undefined4 *)&pLVar14->field_0x80 = 1; - *(undefined4 *)&pLVar14->field_0x84 = 1; - *(undefined4 *)&pLVar14->field_0x88 = 1; + pLVar14->_blendMode[0] = 0; + pLVar14->_blendMode[1] = iVar15; + pLVar14->_blendMode[2] = 1; + pLVar14->_blendMode[3] = 1; + pLVar14->_blendMode[4] = 1; ExceptionList = local_1c; return; } - if ((iVar16 != 3) && (iVar16 != 8)) { + if ((iVar15 != 3) && (iVar15 != 8)) { ExceptionList = pvVar4; return; } anim = s_Fly; - if (iVar16 != 3) { + if (iVar15 != 3) { anim = (byte *)"Attack"; } ANM2::Play(&npc->_sprite,anim,0); - EVar17 = npc->_entityRef; + EVar16 = npc->_entityRef; npc->_friction = npc->_friction * 0.9; - if (EVar17 == (EntityPtr)0x0) { + if (EVar16 == (EntityPtr)0x0) { ENTITY_WILLO_L2_find_target(npc); - EVar17 = npc->_entityRef; - npc->_i1 = (uint)(EVar17 != (EntityPtr)0x0); - if (EVar17 == (EntityPtr)0x0) { + EVar16 = npc->_entityRef; + npc->_i1 = (uint)(EVar16 != (EntityPtr)0x0); + if (EVar16 == (EntityPtr)0x0) { EVar10 = (EntityPtr)Entity_NPC::GetPlayerTarget(npc); if (npc->_entityRef != (EntityPtr)0x0) { local_d4 = &npc->_entityRef; std::multiset::erase(&local_d4); } npc->_entityRef = EVar10; - EVar17 = (EntityPtr)0x0; + EVar16 = (EntityPtr)0x0; if (EVar10 != (EntityPtr)0x0) { std::multiset::insert(&npc->_entityRef); - EVar17 = npc->_entityRef; + EVar16 = npc->_entityRef; } pfVar12 = &npc->_health; local_d4 = (EntityPtr *)(npc->_maxHitPoints * 0.5); @@ -205340,102 +205437,102 @@ void __fastcall NpcAI::ENTITY_WILLO_L2(Entity_NPC *npc) pfVar11 = pfVar12; } *pfVar12 = *pfVar11; - if (EVar17 == (EntityPtr)0x0) goto LAB_00559bd3; + if (EVar16 == (EntityPtr)0x0) goto LAB_00559bd3; } } - local_d4 = (EntityPtr *)(*(float *)((int)EVar17 + 0x370) + 20.0); - local_dc = *(float *)((int)EVar17 + 0x38c) - (npc->_pos).x; - local_e0 = *(float *)((int)EVar17 + 0x390) - (npc->_pos).y; + local_d4 = (EntityPtr *)(*(float *)((int)EVar16 + 0x370) + 20.0); + local_dc = *(float *)((int)EVar16 + 0x38c) - (npc->_pos).x; + local_e0 = *(float *)((int)EVar16 + 0x390) - (npc->_pos).y; if (npc->_i1 != 0) { (npc->_velocity).x = (npc->_velocity).x - (npc->_v1).x; (npc->_velocity).y = (npc->_velocity).y - (npc->_v1).y; } - fVar18 = local_e0 * local_e0 + local_dc * local_dc; + fVar17 = local_e0 * local_e0 + local_dc * local_dc; sqrtf(uVar8); - local_e4 = fVar18; - if (fVar18 == 0.0) { + local_e4 = fVar17; + if (fVar17 == 0.0) { local_e4 = 0.1; } local_dc = local_dc / local_e4; local_e0 = local_e0 / local_e4; - fVar18 = 1.5707964; + fVar17 = 1.5707964; cos(); - fVar20 = 1.5707964; - local_d8 = fVar18; + fVar19 = 1.5707964; + local_d8 = fVar17; sin(); - pEVar19 = &npc->_entityRef; - fVar18 = (local_e4 - (float)local_d4) * 0.05; - local_e8 = local_d8 * local_dc - fVar20 * local_e0; + pEVar18 = &npc->_entityRef; + fVar17 = (local_e4 - (float)local_d4) * 0.05; + local_e8 = local_d8 * local_dc - fVar19 * local_e0; local_100 = (npc->_velocity).y; - local_d8 = local_d8 * local_e0 + fVar20 * local_dc; + local_d8 = local_d8 * local_e0 + fVar19 * local_dc; local_fc = (npc->_velocity).x; - if (fVar18 <= -2.0) { - fVar18 = -2.0; + if (fVar17 <= -2.0) { + fVar17 = -2.0; } local_e4 = (local_e4 - (float)local_d4) / 300.0; - if (2.0 <= fVar18) { - fVar18 = 2.0; + if (2.0 <= fVar17) { + fVar17 = 2.0; } - local_f4 = fVar18 * local_dc * 0.5; - local_f0.y = fVar18 * local_e0 * 0.5; - fVar18 = 6.0 - (local_100 * local_d8 + local_fc * local_e8); + local_f4 = fVar17 * local_dc * 0.5; + local_f0.y = fVar17 * local_e0 * 0.5; + fVar17 = 6.0 - (local_100 * local_d8 + local_fc * local_e8); if (local_e4 <= 0.0) { local_e4 = 0.0; } - if (fVar18 <= 0.0) { - fVar18 = 0.0; + if (fVar17 <= 0.0) { + fVar17 = 0.0; } - if (3.0 <= fVar18) { - fVar18 = 3.0; + if (3.0 <= fVar17) { + fVar17 = 3.0; } - local_e8 = local_e8 * fVar18; - local_d8 = local_d8 * fVar18; + local_e8 = local_e8 * fVar17; + local_d8 = local_d8 * fVar17; if (1.0 <= local_e4) { local_e4 = 1.0; } if (npc->_i1 == 0) { - fVar18 = 1.0 - local_e4; - iVar16 = 0; + fVar17 = 1.0 - local_e4; + iVar15 = 0; } else { - fVar18 = local_e0 * (float)local_d4; - local_e0 = (*(float *)((int)*pEVar19 + 0x33c) - local_dc * (float)local_d4) - (npc->_pos).x; - local_dc = (*(float *)((int)*pEVar19 + 0x340) - fVar18) - (npc->_pos).y; - fVar18 = local_e0 * local_e0 + local_dc * local_dc; + fVar17 = local_e0 * (float)local_d4; + local_e0 = (*(float *)((int)*pEVar18 + 0x33c) - local_dc * (float)local_d4) - (npc->_pos).x; + local_dc = (*(float *)((int)*pEVar18 + 0x340) - fVar17) - (npc->_pos).y; + fVar17 = local_e0 * local_e0 + local_dc * local_dc; sqrtf(); - if ((fVar18 <= 15.0) || (fVar18 <= 0.0)) { - fVar20 = local_e0; - fVar22 = local_dc; + if ((fVar17 <= 15.0) || (fVar17 <= 0.0)) { + fVar19 = local_e0; + fVar21 = local_dc; } else { - fVar20 = local_e0 * (15.0 / fVar18); - fVar22 = local_dc * (15.0 / fVar18); + fVar19 = local_e0 * (15.0 / fVar17); + fVar21 = local_dc * (15.0 / fVar17); } fVar3 = npc->_speedMultiplier; - fVar18 = 1.0 - local_e4; - fVar21 = 1.0 - fVar18 * 0.5; + fVar17 = 1.0 - local_e4; + fVar20 = 1.0 - fVar17 * 0.5; if (fVar3 != 1.0) { - fVar21 = fVar21 / ((fVar3 + fVar21) - fVar3 * fVar21); + fVar20 = fVar20 / ((fVar3 + fVar20) - fVar3 * fVar20); } - (npc->_velocity).x = local_fc + (fVar20 - local_fc) * (1.0 - fVar21); - (npc->_velocity).y = local_100 + (fVar22 - local_100) * (1.0 - fVar21); - iVar16 = npc->_i1; + (npc->_velocity).x = local_fc + (fVar19 - local_fc) * (1.0 - fVar20); + (npc->_velocity).y = local_100 + (fVar21 - local_100) * (1.0 - fVar20); + iVar15 = npc->_i1; } - fVar20 = (local_f4 + local_e8) * npc->_speedMultiplier + (npc->_velocity).x; - fVar22 = (local_f0.y + local_d8) * npc->_speedMultiplier + (npc->_velocity).y; - (npc->_velocity).x = fVar20; - (npc->_velocity).y = fVar22; - if (iVar16 == 0) { + fVar19 = (local_f4 + local_e8) * npc->_speedMultiplier + (npc->_velocity).x; + fVar21 = (local_f0.y + local_d8) * npc->_speedMultiplier + (npc->_velocity).y; + (npc->_velocity).x = fVar19; + (npc->_velocity).y = fVar21; + if (iVar15 == 0) { (npc->_v1).x = g_vectorZero.x; (npc->_v1).y = g_vectorZero.y; } else { - fVar3 = *(float *)((int)*pEVar19 + 0x364); - (npc->_velocity).x = fVar20 + fVar18 * *(float *)((int)*pEVar19 + 0x360); - (npc->_velocity).y = fVar18 * fVar3 + fVar22; - fVar20 = *(float *)((int)*pEVar19 + 0x364); - (npc->_v1).x = fVar18 * *(float *)((int)*pEVar19 + 0x360); - (npc->_v1).y = fVar18 * fVar20; + fVar3 = *(float *)((int)*pEVar18 + 0x364); + (npc->_velocity).x = fVar19 + fVar17 * *(float *)((int)*pEVar18 + 0x360); + (npc->_velocity).y = fVar17 * fVar3 + fVar21; + fVar19 = *(float *)((int)*pEVar18 + 0x364); + (npc->_v1).x = fVar17 * *(float *)((int)*pEVar18 + 0x360); + (npc->_v1).y = fVar17 * fVar19; } EntityList::QueryRadius(local_110,&npc->_pos,8); uVar8 = 0; @@ -205443,21 +205540,21 @@ void __fastcall NpcAI::ENTITY_WILLO_L2(Entity_NPC *npc) do { pEVar5 = *(Entity_NPC **)(local_10c + uVar8 * 4); if ((((pEVar5 != (Entity_NPC *)0x0) && - ((((1 < *(int *)&g_game->_deathmatchManager && (iVar16 = 1, pEVar5->_type == 1)) || - (iVar16 = pEVar5->_type, iVar16 - 10U < 0x3de)) && - ((pEVar5 != npc && (iVar16 == npc->_type)))))) && + ((((1 < *(int *)&g_game->_deathmatchManager && (iVar15 = 1, pEVar5->_type == 1)) || + (iVar15 = pEVar5->_type, iVar15 - 10U < 0x3de)) && + ((pEVar5 != npc && (iVar15 == npc->_type)))))) && (((pEVar5->_flags & 0x20000000) != 0) == ((npc->_flags & 0x20000000) != 0))) && (pEVar5->_entityRef == npc->_entityRef)) { local_f4 = (npc->_pos).y - (pEVar5->_pos).y; local_f0.y = (npc->_pos).x - (pEVar5->_pos).x; - fVar18 = local_f4 * local_f4 + local_f0.y * local_f0.y; + fVar17 = local_f4 * local_f4 + local_f0.y * local_f0.y; sqrtf(); - if (0.0 < fVar18) { - fVar22 = fVar18 * 0.1 + 10.0; - fVar20 = npc->_speedMultiplier; - (npc->_velocity).x = ((local_f0.y / fVar18) / fVar22) * 10.0 * fVar20 + (npc->_velocity).x + if (0.0 < fVar17) { + fVar21 = fVar17 * 0.1 + 10.0; + fVar19 = npc->_speedMultiplier; + (npc->_velocity).x = ((local_f0.y / fVar17) / fVar21) * 10.0 * fVar19 + (npc->_velocity).x ; - (npc->_velocity).y = ((local_f4 / fVar18) / fVar22) * 10.0 * fVar20 + (npc->_velocity).y; + (npc->_velocity).y = ((local_f4 / fVar17) / fVar21) * 10.0 * fVar19 + (npc->_velocity).y; } } uVar8 = uVar8 + 1; @@ -205472,8 +205569,8 @@ LAB_00559bd3: if (((npc->_state != 3) || (uVar8 = Random(), uVar8 % 9 != 0)) || ((0 < npc->_projectileCooldown || (pfVar12 = (float *)Entity_NPC::CalcTargetPosition(local_f8,0), - fVar18 = (npc->_pos).x - *pfVar12, fVar20 = (npc->_pos).y - pfVar12[1], - 57600.0 <= fVar20 * fVar20 + fVar18 * fVar18)))) { + fVar17 = (npc->_pos).x - *pfVar12, fVar19 = (npc->_pos).y - pfVar12[1], + 57600.0 <= fVar19 * fVar19 + fVar17 * fVar17)))) { if (npc->_state == 8) { if ((npc->_sprite)._animState._animData != (void *)0x0) { bVar7 = AnimationState::IsEventTriggered(&(npc->_sprite)._animState,&DAT_00b6166c); @@ -205494,18 +205591,18 @@ LAB_00559bd3: ProjectileParams::ProjectileParams((Entity_NPC *)&local_d0); local_d4 = (EntityPtr *)(((pEVar13->_pos).x + (pEVar13->_velocity).x) - (npc->_pos).x); local_d8 = ((pEVar13->_pos).y + (pEVar13->_velocity).y) - (npc->_pos).y; - fVar18 = (float)local_d4 * (float)local_d4 + local_d8 * local_d8; + fVar17 = (float)local_d4 * (float)local_d4 + local_d8 * local_d8; sqrtf(); - if (fVar18 <= 0.0) { - pEVar19 = local_d4; + if (fVar17 <= 0.0) { + pEVar18 = local_d4; local_f0.y = local_d8; } else { - pEVar19 = (EntityPtr *)((float)local_d4 * (1.0 / fVar18)); - local_f0.y = local_d8 * (1.0 / fVar18); + pEVar18 = (EntityPtr *)((float)local_d4 * (1.0 / fVar17)); + local_f0.y = local_d8 * (1.0 / fVar17); } local_f0.y = local_f0.y * 10.0; - local_f0.x = (float)pEVar19 * 10.0; + local_f0.x = (float)pEVar18 * 10.0; local_d0.Color._offset[2] = DAT_00c33cd8; local_d0.Color._tint[0] = _DAT_00c33cb0; local_d0.Color._tint[1] = fRam00c33cb4; @@ -206336,13 +206433,11 @@ void __fastcall NpcAI::ENTITY_SMALL_LEECH(Entity_NPC *npc) ANM2 *pAVar10; float fVar11; float fVar12; - EntityPtr EVar13; + float fVar13; EntityPtr EVar14; float fVar15; - float fVar16; + EntityPtr EVar16; RNG local_30; - undefined8 local_2c; - EntityPtr local_24; EntityPtr local_20; EntityPtr local_1c; EntityPtr local_18; @@ -206357,32 +206452,32 @@ void __fastcall NpcAI::ENTITY_SMALL_LEECH(Entity_NPC *npc) if ((((g_manager->_optionsConfig)._enableWaterSurface == 0) || (fVar12 <= 0.0)) || ((npc->_posOffset).y <= -3.0)) { pLVar5 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar5->field_0x48 = 0x3f800000; - *(undefined4 *)&pLVar5->field_0x4c = 0x3f800000; - *(undefined4 *)&pLVar5->field_0x50 = 0x3f800000; + (pLVar5->_color)._tint[0] = 1.0; + (pLVar5->_color)._tint[1] = 1.0; + (pLVar5->_color)._tint[2] = 1.0; LAB_0055b857: - *(undefined4 *)&pLVar5->field_0x54 = 0x3f800000; + (pLVar5->_color)._tint[3] = 1.0; } else { pAVar10 = &npc->_sprite; uVar4 = Game::GetStageID(this,local_11); if (uVar4 == 0x1c) { pLVar5 = ANM2::GetLayer(pAVar10,(byte *)0x0); - *(undefined4 *)&pLVar5->field_0x48 = 0x3fb33333; - *(undefined4 *)&pLVar5->field_0x4c = 0x3fb33333; - *(undefined4 *)&pLVar5->field_0x50 = 0x3fb33333; + (pLVar5->_color)._tint[0] = 1.4; + (pLVar5->_color)._tint[1] = 1.4; + (pLVar5->_color)._tint[2] = 1.4; goto LAB_0055b857; } pLVar5 = ANM2::GetLayer(pAVar10,(byte *)0x0); - *(undefined4 *)&pLVar5->field_0x48 = 0x40a00000; - *(undefined4 *)&pLVar5->field_0x4c = 0x40a00000; - *(undefined4 *)&pLVar5->field_0x50 = 0x40a00000; - *(undefined4 *)&pLVar5->field_0x54 = 0x3f800000; + (pLVar5->_color)._tint[0] = 5.0; + (pLVar5->_color)._tint[1] = 5.0; + (pLVar5->_color)._tint[2] = 5.0; + (pLVar5->_color)._tint[3] = 1.0; pLVar5 = ANM2::GetLayer(pAVar10,(byte *)0x0); - *(undefined4 *)&pLVar5->field_0x58 = 0x3f800000; - *(undefined4 *)&pLVar5->field_0x5c = 0x3f800000; - *(undefined4 *)&pLVar5->field_0x60 = 0x3f800000; - *(undefined4 *)&pLVar5->field_0x64 = 0x3f19999a; + (pLVar5->_color)._colorize[0] = 1.0; + (pLVar5->_color)._colorize[1] = 1.0; + (pLVar5->_color)._colorize[2] = 1.0; + (pLVar5->_color)._colorize[3] = 0.6; } pAVar10 = &npc->_sprite; switch(npc->_state) { @@ -206401,33 +206496,34 @@ LAB_0055b857: bVar3 = ~bVar3 & 1; } else { - Entity_NPC::GetControllerInput((int)&local_2c + 4); + Entity_NPC::GetControllerInput(&local_30._shift2); bVar3 = Vector::operator_ne(&g_vectorZero); } if (bVar3 == 0) { return; } pfVar9 = (float *)Entity_NPC::CalcTargetPosition(&local_20,0); - local_2c._4_4_ = (EntityPtr)(*pfVar9 - (npc->_pos).x); - local_24 = (EntityPtr)(pfVar9[1] - (npc->_pos).y); - if (((float)local_2c._4_4_ == g_vectorZero.x) && ((float)local_24 == g_vectorZero.y)) { - pEVar8 = (EntityPtr *)MusicManager::RandomVector(&local_20); - local_24 = pEVar8[1]; - EVar13 = *pEVar8; + local_30._shift2 = (int)(*pfVar9 - (npc->_pos).x); + local_30._shift3 = (int)(pfVar9[1] - (npc->_pos).y); + if (((float)local_30._shift2 == g_vectorZero.x) && ((float)local_30._shift3 == g_vectorZero.y) + ) { + pfVar9 = (float *)MusicManager::RandomVector(&local_20); + local_30._shift3 = (int)pfVar9[1]; + fVar12 = *pfVar9; } else { Vector::Normalize(); - EVar13 = local_2c._4_4_; + fVar12 = (float)local_30._shift2; } - local_1c = local_24; + local_1c = (EntityPtr)local_30._shift3; if (npc->_controllerID != -1) { - local_24 = EVar13; - pEVar8 = (EntityPtr *)Entity_NPC::GetControllerInput(&local_20); - local_1c = pEVar8[1]; - EVar13 = *pEVar8; + local_30._shift3 = (int)fVar12; + pfVar9 = (float *)Entity_NPC::GetControllerInput(&local_20); + local_1c = (EntityPtr)pfVar9[1]; + fVar12 = *pfVar9; } - local_24 = EVar13; - if (((float)local_24 == g_vectorZero.x) && ((float)local_1c == g_vectorZero.y)) { + local_30._shift3 = (int)fVar12; + if (((float)local_30._shift3 == g_vectorZero.x) && ((float)local_1c == g_vectorZero.y)) { return; } if (npc->_controllerID == -1) { @@ -206438,13 +206534,14 @@ LAB_0055b857: else { fVar12 = 4.0; } - fVar16 = npc->_friction; - if (fVar16 != 0.0) { + fVar13 = npc->_friction; + if (fVar13 != 0.0) { fVar11 = npc->_speedMultiplier; - (npc->_velocity).y = (fVar11 * (float)local_1c * fVar12) / fVar16 + (npc->_velocity).y; - (npc->_velocity).x = (fVar11 * (float)local_24 * fVar12) / fVar16 + (npc->_velocity).x; + (npc->_velocity).y = (fVar11 * (float)local_1c * fVar12) / fVar13 + (npc->_velocity).y; + (npc->_velocity).x = + (fVar11 * (float)local_30._shift3 * fVar12) / fVar13 + (npc->_velocity).x; } - if (ABS((float)local_24) <= ABS((float)local_1c)) { + if (ABS((float)local_30._shift3) <= ABS((float)local_1c)) { if ((float)local_1c <= 0.0) { if (0.0 <= (float)local_1c) goto LAB_0055c43a; pcVar6 = "HopUp"; @@ -206453,8 +206550,8 @@ LAB_0055b857: pcVar6 = "HopDown"; } } - else if ((float)local_24 <= 0.0) { - if (0.0 <= (float)local_24) goto LAB_0055c43a; + else if ((float)local_30._shift3 <= 0.0) { + if (0.0 <= (float)local_30._shift3) goto LAB_0055c43a; pcVar6 = "HopLeft"; } else { @@ -206470,29 +206567,29 @@ LAB_0055c43a: return; } if ((npc->_controllerID != -1) && (npc->_parent != (EntityPtr)0x0)) { - local_24 = (EntityPtr)&npc->_parent; - std::multiset::erase(&local_24); + local_30._shift3 = (int)&npc->_parent; + std::multiset::erase(&local_30._shift3); npc->_parent = (EntityPtr)0x0; } if (((npc->_v1).y == 0.0) && (npc->_parent != (EntityPtr)0x0)) { iVar7 = Random(); - EVar13 = npc->_parent; - (npc->_v1).y = *(float *)((int)EVar13 + 0x370) + 20.0 + + EVar16 = npc->_parent; + (npc->_v1).y = *(float *)((int)EVar16 + 0x370) + 20.0 + (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 40.0; - fVar12 = (npc->_pos).y - *(float *)((int)EVar13 + 0x340); + fVar12 = (npc->_pos).y - *(float *)((int)EVar16 + 0x340); atan2f(); (npc->_v2).x = fVar12 * 57.295776; uVar4 = Random(); if ((uVar4 & 1) == 0) { - local_24 = (EntityPtr)0x3f800000; + local_30._shift3 = 0x3f800000; } else { - local_24 = (EntityPtr)&DAT_bf800000; + local_30._shift3 = (int)&DAT_bf800000; } iVar7 = Random(); (npc->_v2).y = ((float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * - 2.3283064e-10 + 4.0) * (float)local_24; + 2.3283064e-10 + 4.0) * (float)local_30._shift3; } if ((0.0 < npc->_pendingDamage) && (uVar4 = Random(), (uVar4 & 1) == 0)) { iVar7 = Random(); @@ -206503,11 +206600,10 @@ LAB_0055c43a: } local_1c = npc->_parent; if (local_1c == (EntityPtr)0x0) { - EVar13 = (EntityPtr)Entity_NPC::GetPlayerTarget(npc); + EVar16 = (EntityPtr)Entity_NPC::GetPlayerTarget(npc); LAB_0055be2a: - local_24 = (EntityPtr)(*(float *)((int)EVar13 + 0x340) - (npc->_pos).y); - local_2c = CONCAT44(((Vector *)((int)EVar13 + 0x33c))->x - (npc->_pos).x,(undefined4)local_2c) - ; + local_30._shift3 = (int)(*(float *)((int)EVar16 + 0x340) - (npc->_pos).y); + local_30._shift2 = (int)(((Vector *)((int)EVar16 + 0x33c))->x - (npc->_pos).x); Vector::Normalized(&local_20); cVar2 = Entity::HasEntityFlags(0x200,0); if (cVar2 == '\0') { @@ -206515,17 +206611,18 @@ LAB_0055be2a: local_1c = local_20; } else { - local_2c = 0x900000001; + local_30._shift1 = 1; + local_30._shift2 = 9; iVar7 = (g_game->_frameCount - npc->_spawnFrame) * 0x3ff; - local_30 = (RNG)(((int)(iVar7 + (iVar7 >> 0x1f & 3U)) >> 2) + npc->_initSeed); - local_24 = (EntityPtr)0x1d; + local_30._seed = ((int)(iVar7 + (iVar7 >> 0x1f & 3U)) >> 2) + npc->_initSeed; + local_30._shift3 = 0x1d; RNG::Next(&local_30); fVar12 = RNG::RandomFloat(&local_30); - EVar13 = (EntityPtr)(fVar12 * 360.0 * 0.017453292); - local_24 = EVar13; + EVar16 = (EntityPtr)(fVar12 * 360.0 * 0.017453292); + local_30._shift3 = (int)EVar16; cos(); - EVar14 = local_24; - local_1c = EVar13; + EVar14 = (EntityPtr)local_30._shift3; + local_1c = EVar16; sin(); local_18 = EVar14; } @@ -206535,7 +206632,7 @@ LAB_0055be2a: local_18 = (EntityPtr)((float)local_18 * -1.0); } if (npc->_controllerID != -1) { - pEVar8 = (EntityPtr *)Entity_NPC::GetControllerInput((int)&local_2c + 4); + pEVar8 = (EntityPtr *)Entity_NPC::GetControllerInput(&local_30._shift2); local_1c = *pEVar8; local_18 = pEVar8[1]; } @@ -206545,13 +206642,13 @@ LAB_0055be2a: } fVar12 = npc->_speedMultiplier; fVar11 = fVar12 * 0.016 + (npc->_v1).x; - fVar16 = 0.35; + fVar13 = 0.35; if (fVar11 <= 0.35) { - fVar16 = fVar11; + fVar13 = fVar11; } - (npc->_v1).x = fVar16; - (npc->_velocity).x = fVar16 * (float)local_1c * fVar12 + (npc->_velocity).x; - (npc->_velocity).y = fVar16 * (float)local_18 * fVar12 + (npc->_velocity).y; + (npc->_v1).x = fVar13; + (npc->_velocity).x = fVar13 * (float)local_1c * fVar12 + (npc->_velocity).x; + (npc->_velocity).y = fVar13 * (float)local_18 * fVar12 + (npc->_velocity).y; npc->_friction = npc->_friction * 0.96; if (((float)local_1c != g_vectorZero.x) || ((float)local_18 != g_vectorZero.y)) { if (ABS((float)local_1c) <= ABS((float)local_18)) { @@ -206583,48 +206680,48 @@ LAB_0055c07d: } } else { - EVar13 = (EntityPtr)((npc->_v2).y + (npc->_v2).x); + fVar12 = (npc->_v2).y + (npc->_v2).x; normalize_angle_degrees(); - (npc->_v2).x = (float)EVar13; - fVar12 = *(float *)((int)local_1c + 0x340) - (npc->_pos).y; - fVar16 = ((Vector *)((int)local_1c + 0x33c))->x - (npc->_pos).x; - fVar12 = fVar12 * fVar12 + fVar16 * fVar16; - local_24 = EVar13; + (npc->_v2).x = fVar12; + fVar13 = *(float *)((int)local_1c + 0x340) - (npc->_pos).y; + fVar11 = ((Vector *)((int)local_1c + 0x33c))->x - (npc->_pos).x; + fVar13 = fVar13 * fVar13 + fVar11 * fVar11; + local_30._shift3 = (int)fVar12; sqrtf(); - if ((npc->_v1).y + 30.0 < fVar12) { + if ((npc->_v1).y + 30.0 < fVar13) { (npc->_v1).x = 0.5; - EVar13 = local_1c; + EVar16 = local_1c; goto LAB_0055be2a; } - EVar13 = (EntityPtr)((float)local_24 * 0.017453292); - local_24 = EVar13; + fVar12 = (float)local_30._shift3 * 0.017453292; + local_30._shift3 = (int)fVar12; cos(); local_18 = (EntityPtr) - (((float)EVar13 * (npc->_v1).y + ((Vector *)((int)local_1c + 0x33c))->x) - - (npc->_pos).x); + ((fVar12 * (npc->_v1).y + ((Vector *)((int)local_1c + 0x33c))->x) - (npc->_pos).x); sin(); - local_24 = (EntityPtr) - (((float)local_24 * (npc->_v1).y + *(float *)((int)local_1c + 0x340)) - - (npc->_pos).y); - fVar12 = (float)local_24 * (float)local_24 + (float)local_18 * (float)local_18; + local_30._shift3 = + (int)(((float)local_30._shift3 * (npc->_v1).y + *(float *)((int)local_1c + 0x340)) - + (npc->_pos).y); + fVar12 = (float)local_30._shift3 * (float)local_30._shift3 + (float)local_18 * (float)local_18 + ; sqrtf(); - EVar13 = local_18; + EVar16 = local_18; if ((20.0 < fVar12) && (0.0 < fVar12)) { - EVar13 = (EntityPtr)((float)local_18 * (20.0 / fVar12)); - local_24 = (EntityPtr)((float)local_24 * (20.0 / fVar12)); + EVar16 = (EntityPtr)((float)local_18 * (20.0 / fVar12)); + local_30._shift3 = (int)((float)local_30._shift3 * (20.0 / fVar12)); } fVar12 = npc->_speedMultiplier; - fVar16 = 0.35000002; + fVar13 = 0.35000002; if (fVar12 != 1.0) { - fVar16 = 0.35000002 / ((fVar12 + 0.35000002) - fVar12 * 0.35000002); + fVar13 = 0.35000002 / ((fVar12 + 0.35000002) - fVar12 * 0.35000002); } fVar12 = (npc->_velocity).x; fVar11 = (npc->_velocity).y; fVar15 = *(float *)((int)local_1c + 0x364); (npc->_velocity).x = - (((float)EVar13 + ((Vector *)((int)local_1c + 0x360))->x) - fVar12) * (1.0 - fVar16) + + (((float)EVar16 + ((Vector *)((int)local_1c + 0x360))->x) - fVar12) * (1.0 - fVar13) + fVar12; - (npc->_velocity).y = (((float)local_24 + fVar15) - fVar11) * (1.0 - fVar16) + fVar11; + (npc->_velocity).y = (((float)local_30._shift3 + fVar15) - fVar11) * (1.0 - fVar13) + fVar11; npc->_friction = npc->_friction * 0.85; if ((npc->_v2).y <= 0.0) { fVar12 = -90.0; @@ -206632,15 +206729,15 @@ LAB_0055c07d: else { fVar12 = 90.0; } - EVar14 = (EntityPtr)((fVar12 + (npc->_v2).x) * 0.017453292); - local_24 = EVar14; + fVar13 = (fVar12 + (npc->_v2).x) * 0.017453292; + local_30._shift3 = (int)fVar13; cos(); - EVar13 = local_24; - local_1c = EVar14; + fVar12 = (float)local_30._shift3; + local_1c = (EntityPtr)fVar13; sin(); - if (ABS((float)local_1c) <= ABS((float)EVar13)) { - if ((float)EVar13 <= 0.0) { - if ((float)EVar13 < 0.0) { + if (ABS((float)local_1c) <= ABS(fVar12)) { + if (fVar12 <= 0.0) { + if (fVar12 < 0.0) { ANM2::Play(pAVar10,(byte *)"SwimUp",0); } } @@ -206658,24 +206755,24 @@ LAB_0055c07d: fVar12 = (npc->_velocity).x; pvVar1 = g_game->_room; fVar11 = fVar12 * npc->_friction + (npc->_pos).x; - fVar16 = npc->_friction * (npc->_velocity).y + (npc->_pos).y; + fVar13 = npc->_friction * (npc->_velocity).y + (npc->_pos).y; if (((fVar12 < 0.0) && (fVar11 < *(float *)((int)pvVar1 + 0x14) + 10.0)) || ((0.0 < fVar12 && (*(float *)((int)pvVar1 + 0x1c) - 10.0 < fVar11)))) { (npc->_velocity).x = fVar12 * -0.6; } fVar12 = (npc->_velocity).y; - if (((fVar12 < 0.0) && (fVar16 < *(float *)((int)pvVar1 + 0x18) + 20.0)) || - ((0.0 < fVar12 && (*(float *)((int)pvVar1 + 0x20) - 4.0 < fVar16)))) { + if (((fVar12 < 0.0) && (fVar13 < *(float *)((int)pvVar1 + 0x18) + 20.0)) || + ((0.0 < fVar12 && (*(float *)((int)pvVar1 + 0x20) - 4.0 < fVar13)))) { (npc->_velocity).y = fVar12 * -0.6; } - local_24 = (EntityPtr)(10.0 / npc->_friction); + local_30._shift3 = (int)(10.0 / npc->_friction); fVar12 = (npc->_velocity).x; local_1c = (EntityPtr)(npc->_velocity).y; fVar12 = fVar12 * fVar12 + (float)local_1c * (float)local_1c; sqrtf(); - if (((float)local_24 < fVar12) && (0.0 < fVar12)) { - (npc->_velocity).x = ((float)local_24 / fVar12) * (npc->_velocity).x; - (npc->_velocity).y = (float)local_1c * ((float)local_24 / fVar12); + if (((float)local_30._shift3 < fVar12) && (0.0 < fVar12)) { + (npc->_velocity).x = ((float)local_30._shift3 / fVar12) * (npc->_velocity).x; + (npc->_velocity).y = (float)local_1c * ((float)local_30._shift3 / fVar12); return; } break; @@ -206685,12 +206782,12 @@ LAB_0055c07d: fVar12 = (npc->_v2).x; (npc->_velocity).x = fVar12; (npc->_velocity).y = (npc->_v2).y; - fVar16 = npc->_speedMultiplier; - fVar15 = fVar16 * 0.7 + (npc->_v1).x; + fVar13 = npc->_speedMultiplier; + fVar15 = fVar13 * 0.7 + (npc->_v1).x; (npc->_v1).x = fVar15; - fVar11 = fVar15 * fVar16 + (npc->_posOffset).y; + fVar11 = fVar15 * fVar13 + (npc->_posOffset).y; (npc->_posOffset).y = fVar11; - if (fVar11 <= -fVar15 * fVar16) { + if (fVar11 <= -fVar15 * fVar13) { pcVar6 = "SwimRight"; if (fVar12 < 0.0) { pcVar6 = "SwimLeft"; @@ -207286,11 +207383,7 @@ EntityPtr __fastcall NpcAI::ENTITY_POLTY(Entity_NPC *npc) undefined4 uStack_70; undefined4 uStack_6c; undefined4 uStack_68; - undefined1 auStack_64 [24]; - float fStack_4c; - float fStack_48; - uint uStack_44; - Entity_NPC *pEStack_40; + EntityRef EStack_64; undefined4 uStack_3c; uint local_c; @@ -207359,7 +207452,7 @@ EntityPtr __fastcall NpcAI::ENTITY_POLTY(Entity_NPC *npc) if (*(char *)pRVar21 == '\0') { return (EntityPtr)0x0; } - EVar14 = (EntityPtr)(g_game->_frameCount - *(int *)&pRVar21->field_0x11f0); + EVar14 = (EntityPtr)(g_game->_frameCount - pRVar21->_enterFrame); if (EVar14 != (EntityPtr)0x0) { return EVar14; } @@ -207949,14 +208042,14 @@ LAB_0055e41c: iVar17 = *(int *)EVar14; if (iVar19 != 5) goto LAB_0055e41c; local_f0.x = *(float *)(iVar17 + 0x54); - auStack_64._16_4_ = (npc->_pos).x; - auStack_64._20_4_ = (npc->_pos).y; - auStack_64._0_4_ = npc->_type; - auStack_64._4_4_ = npc->_variant; - auStack_64._8_4_ = npc->_spawnerType; - auStack_64._12_4_ = npc->_spawnerVariant; - fStack_4c = (npc->_velocity).x; - fStack_48 = (npc->_velocity).y; + EStack_64._position.x = (npc->_pos).x; + EStack_64._position.y = (npc->_pos).y; + EStack_64._type = npc->_type; + EStack_64._variant = npc->_variant; + EStack_64._spawnerType = npc->_spawnerType; + EStack_64._spawnerVariant = npc->_spawnerVariant; + EStack_64._velocity.x = (npc->_velocity).x; + EStack_64._velocity.y = (npc->_velocity).y; if ((npc->_flags & 0x20000000) == 0) { uVar13 = 0; } @@ -207969,8 +208062,8 @@ LAB_0055e41c: else { uVar20 = 4; } - uStack_44 = uVar20 | uVar13 | (uint)((npc->_flags & 0x100) != 0); - pEStack_40 = npc; + EStack_64._flags = uVar20 | uVar13 | (uint)((npc->_flags & 0x100) != 0); + EStack_64._entity = npc; (*(code *)local_f0.x)(); if (*(EntityPtr *)((int)EVar14 + 0x3bc) != (EntityPtr)0x0) { local_f0.x = (float)((int)EVar14 + 0x3bc); @@ -208148,17 +208241,17 @@ LAB_0055e906: } cVar5 = Entity::IsFrame((Entity *)npc); if (cVar5 != '\0') { - auStack_64._0_4_ = 0x3f4ccccd; - auStack_64._4_4_ = 0x3f4ccccd; - auStack_64._8_4_ = 0x3f4ccccd; - auStack_64._12_4_ = 0x3f800000; - uStack_44 = 0x3e4ccccd; - pEStack_40 = (Entity_NPC *)0x0; + EStack_64._type = 0x3f4ccccd; + EStack_64._variant = 0x3f4ccccd; + EStack_64._spawnerType = 0x3f4ccccd; + EStack_64._spawnerVariant = 0x3f800000; + EStack_64._flags = 0x3e4ccccd; + EStack_64._entity = (Entity_NPC *)0x0; uStack_3c = 0x3ecccccd; - auStack_64._16_4_ = 0.0; - auStack_64._20_4_ = 0.0; - fStack_4c = 0.0; - fStack_48 = 0.0; + EStack_64._position.x = 0.0; + EStack_64._position.y = 0.0; + EStack_64._velocity.x = 0.0; + EStack_64._velocity.y = 0.0; pVStack_118 = (Vector *)0x55ea48; (**(code **)(*(int *)EVar14 + 0x3c))(); EVar14 = *pEVar1; @@ -208654,7 +208747,7 @@ LAB_0055f8e3: EVar15 = (EntityPtr)0x0; if ((EntityPtr)local_f0.x != (EntityPtr)0x0) { pcVar4 = *(code **)((int)*(EntityPtr *)local_f0.x + 0x14); - EntityRef::constructor((EntityRef *)auStack_64,(Entity *)npc); + EntityRef::constructor(&EStack_64,(Entity *)npc); EVar15 = (EntityPtr)(*pcVar4)(); } } @@ -208663,7 +208756,7 @@ LAB_0055f8e3: local_f0.x = (npc->_velocity).x * 0.7; local_f0.y = (npc->_velocity).y * 0.7; pcVar4 = *(code **)(*(int *)EVar14 + 0x54); - EntityRef::constructor((EntityRef *)auStack_64,(Entity *)npc); + EntityRef::constructor(&EStack_64,(Entity *)npc); EVar15 = (EntityPtr)(*pcVar4)(); if (*(EntityPtr *)((int)EVar14 + 0x3bc) != (EntityPtr)0x0) { local_f0.x = (float)((int)EVar14 + 0x3bc); @@ -209017,8 +209110,6 @@ void __fastcall NpcAI::ENTITY_DEEP_GAPER(Entity_NPC *npc) uint uStack_2c; char acStack_28 [4]; RNG RStack_24; - undefined8 uStack_20; - float fStack_18; uint local_14; void *local_10; undefined1 *puStack_c; @@ -209033,9 +209124,10 @@ void __fastcall NpcAI::ENTITY_DEEP_GAPER(Entity_NPC *npc) switch(npc->_state) { case 0: if (npc->_subtype == 0) { - RStack_24 = (RNG)npc->_initSeed; - uStack_20 = 0x500000001; - fStack_18 = 2.24208e-44; + RStack_24._seed = npc->_initSeed; + RStack_24._shift1 = 1; + RStack_24._shift2 = 5; + RStack_24._shift3 = 0x10; uVar5 = RNG::RandomInt(&RStack_24,3); if (uVar5 == 0) { uVar5 = RNG::RandomInt(&RStack_24,6); @@ -209122,30 +209214,30 @@ LAB_005607bc: iStack_44._2_1_ = 'l'; iStack_44._3_1_ = 'k'; builtin_strncpy(acStack_40,"Vert",5); - fStack_18 = 2.10195e-44; - uStack_20 = CONCAT44(8,(undefined4)uStack_20); + RStack_24._shift3 = 0xf; + RStack_24._shift2 = 8; uStack_2c._0_1_ = 'W'; uStack_2c._1_1_ = 'a'; uStack_2c._2_1_ = 'l'; uStack_2c._3_1_ = 'k'; builtin_strncpy(acStack_28,"Hori",4); - RStack_24 = (RNG)((uint)RStack_24 & 0xffffff00); + RStack_24._seed = RStack_24._seed & 0xffffff00; uStack_8 = 1; Entity_NPC::AnimWalkFrame(npc,&uStack_2c,&iStack_44,0x3dcccccd); uStack_8 = uStack_8 & 0xffffff00; - if (0xf < (uint)fStack_18) { - uVar11 = (int)fStack_18 + 1; + if (0xf < (uint)RStack_24._shift3) { + uVar11 = RStack_24._shift3 + 1; uVar5 = uStack_2c; if (0xfff < uVar11) { uVar5 = *(uint *)(uStack_2c - 4); - uVar11 = (int)fStack_18 + 0x24; + uVar11 = RStack_24._shift3 + 0x24; if (0x1f < (uStack_2c - uVar5) - 4) goto LAB_00560a99; } operator_delete(uVar5,uVar11); } uStack_8 = 0xffffffff; - uStack_20 = uStack_20 & 0xffffffff; - fStack_18 = 2.10195e-44; + RStack_24._shift2 = 0; + RStack_24._shift3 = 0xf; uStack_2c = uStack_2c & 0xffffff00; if (0xf < uStack_30) { uVar5 = uStack_30 + 1; @@ -209165,14 +209257,14 @@ LAB_00560a99: uVar13 = 1; uVar12 = 900; uVar14 = 0x3f19999a; - uVar10 = Entity_NPC::CalcTargetPosition((int)&uStack_20 + 4,0); + uVar10 = Entity_NPC::CalcTargetPosition(&RStack_24._shift2,0); PathFinder::FindGridPath(uVar10,uVar14,uVar12,uVar13); } else { pEVar9 = Entity_NPC::GetPlayerTarget(npc); - fStack_18 = (pEVar9->_pos).y; - uStack_20 = CONCAT44((pEVar9->_pos).x,(undefined4)uStack_20); - PathFinder::EvadeTarget((int)&uStack_20 + 4,0); + RStack_24._shift3 = (int)(pEVar9->_pos).y; + RStack_24._shift2 = (int)(pEVar9->_pos).x; + PathFinder::EvadeTarget(&RStack_24._shift2,0); npc->_friction = npc->_friction * 0.8; } if (npc->_controllerID == -1) { @@ -209193,9 +209285,9 @@ LAB_00560a99: else if (npc->_championColorIdx == 0x13) { fStack_48 = 0.5; } - fStack_18 = 2.31214e-43; + RStack_24._shift3 = 0xa5; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)fStack_18,1.0,0x28,0,fStack_48,0.0); + SoundEffects::Play(&pMVar2->_sfxManager,RStack_24._shift3,1.0,0x28,0,fStack_48,0.0); break; case 8: if ((npc->_sprite)._animState._animData != (void *)0x0) { @@ -209205,10 +209297,10 @@ LAB_00560a99: piVar8 = (int *)Game::Spawn(1000,0x84,&npc->_pos,&g_vectorZero,0,0,uVar10); (**(code **)(*piVar8 + 0xc))(); pMVar2 = g_manager; - fStack_18 = 6.64215e-43; + RStack_24._shift3 = 0x1da; seed_fart_sound_override(); fStack_48 = 1.0; - SoundEffects::Play(&pMVar2->_sfxManager,(int)fStack_18,1.0,10,0,1.0,0.0); + SoundEffects::Play(&pMVar2->_sfxManager,RStack_24._shift3,1.0,10,0,1.0,0.0); pMVar2 = g_manager; if (npc->_championColorIdx == 0x12) { fStack_48 = 1.5; @@ -209216,9 +209308,9 @@ LAB_00560a99: else if (npc->_championColorIdx == 0x13) { fStack_48 = 0.5; } - fStack_18 = 2.31214e-43; + RStack_24._shift3 = 0xa5; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)fStack_18,1.0,0x28,0,fStack_48,0.0); + SoundEffects::Play(&pMVar2->_sfxManager,RStack_24._shift3,1.0,0x28,0,fStack_48,0.0); npc->_entityCollisionClass = 4; } if (((npc->_sprite)._animState._animData != (void *)0x0) && @@ -211878,7 +211970,7 @@ LAB_005657ec: if (1.0 <= fVar12) { fVar12 = 1.0; } - *(float *)&pLVar7->field_0x54 = 1.0 - fVar12; + (pLVar7->_color)._tint[3] = 1.0 - fVar12; pLVar7 = ANM2::GetLayer(this_00,(byte *)0x1); fVar12 = (local_20 - 2.0) / 78.0; if (fVar12 <= 0.0) { @@ -211887,7 +211979,7 @@ LAB_005657ec: if (1.0 <= fVar12) { fVar12 = 1.0; } - *(float *)&pLVar7->field_0x54 = 1.0 - fVar12; + (pLVar7->_color)._tint[3] = 1.0 - fVar12; pLVar7 = ANM2::GetLayer(this_00,(byte *)0x2); fVar12 = (local_24 - 2.0) / 78.0; } @@ -211899,7 +211991,7 @@ LAB_005657ec: if (1.0 <= fVar12) { fVar12 = 1.0; } - *(float *)&pLVar7->field_0x54 = 1.0 - fVar12; + (pLVar7->_color)._tint[3] = 1.0 - fVar12; pLVar7 = ANM2::GetLayer(this_00,(byte *)0x1); fVar12 = (local_20 - -2.0) / 18.0; if (fVar12 <= 0.0) { @@ -211908,7 +212000,7 @@ LAB_005657ec: if (1.0 <= fVar12) { fVar12 = 1.0; } - *(float *)&pLVar7->field_0x54 = 1.0 - fVar12; + (pLVar7->_color)._tint[3] = 1.0 - fVar12; pLVar7 = ANM2::GetLayer(this_00,(byte *)0x2); fVar12 = (local_24 - -2.0) / 18.0; } @@ -211918,7 +212010,7 @@ LAB_005657ec: if (1.0 <= fVar12) { fVar12 = 1.0; } - *(float *)&pLVar7->field_0x54 = 1.0 - fVar12; + (pLVar7->_color)._tint[3] = 1.0 - fVar12; return; } @@ -213699,10 +213791,7 @@ void __fastcall NpcAI::ENTITY_MOTHER(Entity_NPC *npc) Entity_NPC *local_124; ProjectileParams local_120; float local_78; - undefined1 auStack_74 [28]; - int local_58; - void *local_54; - void *local_50; + EntityRef EStack_74; undefined1 local_4c [20]; float local_38; undefined1 local_34 [4]; @@ -213935,11 +214024,11 @@ void __fastcall NpcAI::ENTITY_MOTHER(Entity_NPC *npc) ((AnimationState *)((int)EVar20 + 0x30))->_isPlaying = 0; } pLVar10 = ANM2::GetLayer((ANM2 *)EVar20,(byte *)0x0); - *(undefined4 *)&pLVar10->field_0x78 = 0; - *(undefined4 *)&pLVar10->field_0x7c = 0; - *(undefined4 *)&pLVar10->field_0x80 = 2; - *(undefined4 *)&pLVar10->field_0x84 = 1; - *(undefined4 *)&pLVar10->field_0x88 = 1; + pLVar10->_blendMode[0] = 0; + pLVar10->_blendMode[1] = 0; + pLVar10->_blendMode[2] = 2; + pLVar10->_blendMode[3] = 1; + pLVar10->_blendMode[4] = 1; *(undefined4 *)((int)local_124 + 0x35c) = 0; uVar7 = Random(); iVar18 = Game::Spawn(1000,0x8c,&local_1b4,&g_vectorZero,0,0,uVar7); @@ -214476,8 +214565,8 @@ LAB_0056a0b7: (pEVar32->_velocity).y = (float)pEVar31 * 10.0 + (pEVar32->_velocity).y; if ((pEVar32->_type == 1) || (pEVar32->_type == 3)) { pcVar27 = *(code **)(*(int *)pEVar32 + 0x20); - EntityRef::constructor((EntityRef *)auStack_74,(Entity *)npc); - pEVar40 = (EntityRef *)auStack_74; + EntityRef::constructor(&EStack_74,(Entity *)npc); + pEVar40 = &EStack_74; uVar7 = 0x40000000; } else { @@ -214587,8 +214676,8 @@ LAB_0056a0b7: *(uint *)&pEVar32->_flags = (uint)pEVar32->_flags | 0x40000; *(undefined4 *)((int)&pEVar32->_flags + 4) = uVar7; pcVar27 = *(code **)(*(int *)pEVar32 + 0x24); - EntityRef::constructor((EntityRef *)auStack_74,(Entity *)npc); - (*pcVar27)(auStack_74); + EntityRef::constructor(&EStack_74,(Entity *)npc); + (*pcVar27)(&EStack_74); ProjectileParams::ProjectileParams((Entity_NPC *)&local_120); local_120.FallingAccelModifier = 1.5; iVar18 = Random(); @@ -214732,17 +214821,17 @@ LAB_0056b7ea: local_150.x = (local_13c.y + *pfVar8) - 0.0; local_150.y = (local_164.y + pfVar8[1]) - -10.0; piVar16 = (int *)Entity_Laser::ShootAngle(6,&local_150,0x42b40000,0x2f,&local_16c,npc,0); - local_58 = 0; + EStack_74._velocity.y = 0.0; local_78 = 1.0; - auStack_74._0_4_ = 0x3f800000; - auStack_74._4_4_ = 0x3f800000; - auStack_74._8_4_ = 0x3f800000; - local_54 = (void *)0x0; - auStack_74._12_4_ = 0x40000000; - auStack_74._16_4_ = (void *)0x400ccccd; - auStack_74._20_4_ = 1.0; - auStack_74._24_4_ = (void *)0x3f800000; - local_50 = (void *)0x0; + EStack_74._type = 0x3f800000; + EStack_74._variant = 0x3f800000; + EStack_74._spawnerType = 0x3f800000; + EStack_74._flags = 0; + EStack_74._spawnerVariant = 0x40000000; + EStack_74._position.x = 2.2; + EStack_74._position.y = 1.0; + EStack_74._velocity.x = 1.0; + EStack_74._entity = (void *)0x0; (**(code **)(*piVar16 + 0x3c))(&local_78,0xffffffff,0xff,0,1); piVar16[0xd6] = 0x447a0000; Entity_NPC::MakeBloodCloud(npc,&local_150,&npc->_splatColor); @@ -215036,16 +215125,16 @@ LAB_0056c187: local_13c.y = 1.0 - fVar34 * 0.5; do { pLVar10 = ANM2::GetLayer(&npc->_sprite,pbVar26); - *(float *)&pLVar10->field_0x48 = local_13c.y; - *(float *)&pLVar10->field_0x4c = local_13c.y; - *(float *)&pLVar10->field_0x50 = local_13c.y; - *(undefined4 *)&pLVar10->field_0x54 = 0x3f800000; + (pLVar10->_color)._tint[0] = local_13c.y; + (pLVar10->_color)._tint[1] = local_13c.y; + (pLVar10->_color)._tint[2] = local_13c.y; + (pLVar10->_color)._tint[3] = 1.0; pLVar10 = ANM2::GetLayer(&npc->_sprite,pbVar26); pbVar26 = pbVar26 + 1; - *(undefined4 *)&pLVar10->field_0x58 = 0x3f800000; - *(undefined4 *)&pLVar10->field_0x5c = 0x3f800000; - *(undefined4 *)&pLVar10->field_0x60 = 0x3f800000; - *(Entity_NPC **)&pLVar10->field_0x64 = local_124; + (pLVar10->_color)._colorize[0] = 1.0; + (pLVar10->_color)._colorize[1] = 1.0; + (pLVar10->_color)._colorize[2] = 1.0; + (pLVar10->_color)._colorize[3] = (float)local_124; } while (pbVar26 < (byte *)(npc->_sprite)._layerCount); } local_140 = npc->_entityRef; @@ -215065,8 +215154,8 @@ LAB_0056c187: } } pcVar27 = *(code **)(*(int *)local_140 + 0x24); - EntityRef::constructor((EntityRef *)auStack_74,(Entity *)npc); - (*pcVar27)(auStack_74); + EntityRef::constructor(&EStack_74,(Entity *)npc); + (*pcVar27)(&EStack_74); if (npc->_state != 0x10) { ANM2::Play(&npc->_sprite,(byte *)"Stunned",0); npc->_state = 5; @@ -215557,7 +215646,7 @@ LAB_0056ceab: if ((npc->_sprite)._layerCount != 0) { do { pLVar23 = ANM2::GetLayer(&npc->_sprite,(byte *)local_184); - *(Entity_NPC **)&pLVar23->field_0x54 = *ppEVar25; + (pLVar23->_color)._tint[3] = (float)*ppEVar25; local_184 = (Entity_NPC *)&local_184->field_0x1; } while (local_184 < (undefined1 *)(npc->_sprite)._layerCount); } @@ -215679,7 +215768,7 @@ LAB_0056ceab: do { pLVar23 = ANM2::GetLayer(&npc->_sprite,pbVar12); pbVar12 = pbVar12 + 1; - *(undefined4 *)&pLVar23->field_0x54 = 0x3f800000; + (pLVar23->_color)._tint[3] = 1.0; } while (pbVar12 < (byte *)(npc->_sprite)._layerCount); } pvVar21 = npc->_config; @@ -216570,9 +216659,13 @@ LAB_0056fb63: } -//@@ 0056fcf0 FUN_0056fcf0 +//@@ 0056fcf0 NpcHelper::mother_render -void FUN_0056fcf0(float *param_1) +/* DB: ECX=npc; only caller Entity_NPC::Render case 0x390 (912 ENTITY_MOTHER); for variant 0 maps + pos into wall/background space ((pos-(60,140))*0.65 + (screen-(338,182))/2 * + g_displayPixelRatio), copies color to the parent, Sprite::RenderLayer, then Entity::Render */ + +void NpcHelper::mother_render(float *param_1) { undefined4 *puVar1; @@ -216996,16 +217089,17 @@ void __fastcall NpcAI::ENTITY_MOTHERS_SHADOW(Entity_NPC *npc) if (0 < pGVar19->_nbRooms) { local_5c = (EntityPtr)0x0; do { - if (*(int *)((int)&pGVar19->_roomList[0].Dimension + (int)local_5c) == 1) { - puVar1 = *(uint **)((int)&pGVar19->_roomList[0].Data + (int)local_5c); + if (*(int *)((int)pGVar19->_roomList[0]._doors + (int)local_5c + -0x10) == 1) { + puVar1 = *(uint **)((int)pGVar19->_roomList[0]._doors + (int)local_5c + -0xc); if (((puVar1 != (uint *)0x0) && (puVar1[2] == 1)) && (puVar1[4] == 0x1e)) { pRVar13 = RoomConfig::GetRoomByStageTypeAndVariant (&pGVar19->_roomConfig,*puVar1,1,puVar1[3] + 1,-1); - *(RoomConfig_Room **)((int)&pGVar19->_roomList[0].Data + (int)local_5c) = pRVar13; + *(RoomConfig_Room **)((int)pGVar19->_roomList[0]._doors + (int)local_5c + -0xc) = + pRVar13; pEVar28 = *(Entity_NPC **) - ((int)&pGVar19->_roomList[0].SavedEffects._end + (int)local_5c); + ((int)pGVar19->_roomList[0]._doors + (int)local_5c + 0x70); pEVar21 = *(Entity_NPC **) - ((int)&pGVar19->_roomList[0].SavedEffects._begin + (int)local_5c); + ((int)pGVar19->_roomList[0]._doors + (int)local_5c + 0x6c); local_60 = pEVar28; if (pEVar21 != pEVar28) { do { @@ -217013,15 +217107,15 @@ void __fastcall NpcAI::ENTITY_MOTHERS_SHADOW(Entity_NPC *npc) pEVar21 = (Entity_NPC *)&(pEVar21->_sprite)._animState; } while (pEVar21 != pEVar28); pEVar21 = *(Entity_NPC **) - ((int)&local_54->_roomList[0].SavedEffects._begin + (int)local_5c); + ((int)local_54->_roomList[0]._doors + (int)local_5c + 0x6c); pGVar19 = local_54; } - *(Entity_NPC **)((int)&pGVar19->_roomList[0].SavedEffects._end + (int)local_5c) = + *(Entity_NPC **)((int)pGVar19->_roomList[0]._doors + (int)local_5c + 0x70) = pEVar21; pEVar28 = *(Entity_NPC **) - ((int)&pGVar19->_roomList[0].SavedEntities._end + (int)local_5c); + ((int)pGVar19->_roomList[0]._doors + (int)local_5c + 0x5c); pEVar21 = *(Entity_NPC **) - ((int)&pGVar19->_roomList[0].SavedEntities._begin + (int)local_5c); + ((int)pGVar19->_roomList[0]._doors + (int)local_5c + 0x58); local_60 = pEVar28; if (pEVar21 != pEVar28) { do { @@ -217029,18 +217123,18 @@ void __fastcall NpcAI::ENTITY_MOTHERS_SHADOW(Entity_NPC *npc) pEVar21 = (Entity_NPC *)&(pEVar21->_sprite)._animState; } while (pEVar21 != pEVar28); pEVar21 = *(Entity_NPC **) - ((int)&local_54->_roomList[0].SavedEntities._begin + (int)local_5c); + ((int)local_54->_roomList[0]._doors + (int)local_5c + 0x58); pGVar19 = local_54; } - *(Entity_NPC **)((int)&pGVar19->_roomList[0].SavedEntities._end + (int)local_5c) = + *(Entity_NPC **)((int)pGVar19->_roomList[0]._doors + (int)local_5c + 0x5c) = pEVar21; puVar14 = *(undefined4 **) - ((int)&pGVar19->_roomList[0].SavedGridEntities._begin + (int)local_5c); + ((int)pGVar19->_roomList[0]._doors + (int)local_5c + 0x4c); local_90 = 0; uStack_8c = 0; puVar20 = (undefined4 *) - ((*(int *)((int)&pGVar19->_roomList[0].SavedGridEntities._end + - (int)local_5c) - (int)puVar14 & 0xffffffe0U) + (int)puVar14); + ((*(int *)((int)pGVar19->_roomList[0]._doors + (int)local_5c + 0x50) - + (int)puVar14 & 0xffffffe0U) + (int)puVar14); uStack_88 = 0; uStack_84 = 0; local_80 = 0x16a9de81; @@ -217057,10 +217151,9 @@ void __fastcall NpcAI::ENTITY_MOTHERS_SHADOW(Entity_NPC *npc) puVar14[6] = fStack_78; puVar14[7] = 0x16a9de81; } - *(undefined4 **) - ((int)&pGVar19->_roomList[0].SavedGridEntities._end + (int)local_5c) = puVar20; - piVar10 = (int *)((int)&pGVar19->_roomList[0].RestrictedGridIndexes._head + - (int)local_5c); + *(undefined4 **)((int)pGVar19->_roomList[0]._doors + (int)local_5c + 0x50) = + puVar20; + piVar10 = (int *)((int)pGVar19->_roomList[0]._doors + (int)local_5c + 100); iVar11 = *piVar10; FID_conflict__Erase_tree_>_> (piVar10,(fuzzer_allocator_> *) @@ -217069,7 +217162,7 @@ void __fastcall NpcAI::ENTITY_MOTHERS_SHADOW(Entity_NPC *npc) *(int *)iVar11 = iVar11; *(int *)(iVar11 + 8) = iVar11; piVar10[1] = 0; - *(undefined4 *)((int)&local_54->_roomList[0].VisitedCount + (int)local_5c) = 0; + *(undefined4 *)((int)local_54->_roomList[0]._doors + (int)local_5c + 0x24) = 0; local_54 = g_game; pGVar19 = g_game; } @@ -217445,38 +217538,39 @@ void __fastcall NpcAI::ENTITY_POOP(Entity_NPC *npc) { uint *puVar1; undefined4 *puVar2; - code *pcVar3; - byte *pbVar4; - qword qVar5; - Game *pGVar6; - byte bVar7; - char cVar8; - float fVar9; - undefined4 uVar10; - uint uVar11; - EntityPtr EVar12; - EntityPtr *pEVar13; - int iVar14; + byte bVar3; + code *pcVar4; + byte *pbVar5; + qword qVar6; + Game *pGVar7; + byte bVar8; + char cVar9; + float fVar10; + undefined4 uVar11; + uint uVar12; + EntityPtr EVar13; + EntityPtr *pEVar14; + int iVar15; EntityRef *extraout_EAX; - EntityRef *pEVar15; - int *piVar16; - byte *pbVar17; - float *pfVar18; - Entity_Player *pEVar19; + EntityRef *pEVar16; + int *piVar17; + byte *pbVar18; + float *pfVar19; + Entity_Player *pEVar20; byte extraout_CL; byte extraout_CL_00; byte extraout_CL_01; byte extraout_CL_02; - int iVar20; - byte *pbVar21; - undefined1 *puVar22; - uint uVar23; - void *pvVar24; - bool bVar25; - float fVar26; + int iVar21; + Vector *pVVar22; + undefined1 *puVar23; + uint uVar24; + void *pvVar25; + bool bVar26; float fVar27; float fVar28; - char *pcVar29; + float fVar29; + char *pcVar30; EntityRef local_138; char local_10d; EntityPtr local_10c; @@ -217503,25 +217597,25 @@ void __fastcall NpcAI::ENTITY_POOP(Entity_NPC *npc) local_14 = -NAN; puStack_18 = &LAB_00af502b; local_1c = ExceptionList; - fVar9 = (float)(__security_cookie ^ (uint)(local_a8 + 0x98)); + fVar10 = (float)(__security_cookie ^ (uint)(local_a8 + 0x98)); local_ec = (EntityPtr)npc->_aiCallPhase; local_f5 = '\0'; local_10d = '\0'; local_10c = (EntityPtr)npc; - local_24 = fVar9; + local_24 = fVar10; if (local_ec == (EntityPtr)0x3) { if ((npc->_flags & 0x400000000000000) == 0) { return; } ExceptionList = &local_1c; puStack_20 = local_a8 + 0xa4; - bVar7 = Entity::IsActiveEnemy(npc->_collisionEntity,0); - if (bVar7 == 0) { + bVar8 = Entity::IsActiveEnemy(npc->_collisionEntity,0); + if (bVar8 == 0) { ExceptionList = local_1c; return; } - uVar10 = EntityRef::EntityRef(); - (**(code **)(*(int *)npc + 0x24))(uVar10); + uVar11 = EntityRef::EntityRef(); + (**(code **)(*(int *)npc + 0x24))(uVar11); local_100.x = 0.0; local_100.y = 0.0; if (npc->_variant == 0xb) { @@ -217531,91 +217625,91 @@ void __fastcall NpcAI::ENTITY_POOP(Entity_NPC *npc) local_f4 = (EntityPtr)0x0; } local_ec = (EntityPtr)0x0; - pcVar3 = *(code **)(*(int *)npc->_collisionEntity + 0x20); - EVar12 = local_10c; + pcVar4 = *(code **)(*(int *)npc->_collisionEntity + 0x20); + EVar13 = local_10c; if (*(EntityPtr *)((int)local_10c + 0x3c8) != (EntityPtr)0x0) { - EVar12 = *(EntityPtr *)((int)local_10c + 0x3c8); + EVar13 = *(EntityPtr *)((int)local_10c + 0x3c8); } - EntityRef::constructor(&local_138,(Entity *)EVar12); - (*pcVar3)(0x41700000,local_f4,local_ec,&local_138,0x1e); - pvVar24 = *(void **)((int)local_10c + 0xb7c); + EntityRef::constructor(&local_138,(Entity *)EVar13); + (*pcVar4)(0x41700000,local_f4,local_ec,&local_138,0x1e); + pvVar25 = *(void **)((int)local_10c + 0xb7c); *(int *)((int)local_10c + 0xb80) = 0; - fVar9 = *(float *)((int)local_10c + 0x364); - *(float *)((int)pvVar24 + 0x360) = - ((Vector *)((int)local_10c + 0x360))->x * 0.5 + *(float *)((int)pvVar24 + 0x360); - *(float *)((int)pvVar24 + 0x364) = fVar9 * 0.5 + *(float *)((int)pvVar24 + 0x364); + fVar10 = *(float *)((int)local_10c + 0x364); + *(float *)((int)pvVar25 + 0x360) = + ((Vector *)((int)local_10c + 0x360))->x * 0.5 + *(float *)((int)pvVar25 + 0x360); + *(float *)((int)pvVar25 + 0x364) = fVar10 * 0.5 + *(float *)((int)pvVar25 + 0x364); ExceptionList = local_1c; return; } if (local_ec == (EntityPtr)0x1) { ExceptionList = &local_1c; - pcVar29 = local_a8 + 0xa4; - if ((1.0 < npc->_health) && (pcVar29 = local_a8 + 0xa4, npc->_variant == 0xe)) { + pcVar30 = local_a8 + 0xa4; + if ((1.0 < npc->_health) && (pcVar30 = local_a8 + 0xa4, npc->_variant == 0xe)) { Entity::HasEntityFlags(0,0x4000000); - iVar14 = Entity::GetIntervalTicks((Entity *)npc); - pcVar29 = puStack_20; - if (iVar14 != 0) { - fVar26 = (float)Random(); - local_100.y = fVar26; - uVar11 = Random(); - pfVar18 = (float *)MusicManager::RandomVector(local_108); - iVar14 = Random(); + iVar15 = Entity::GetIntervalTicks((Entity *)npc); + pcVar30 = puStack_20; + if (iVar15 != 0) { + fVar27 = (float)Random(); + local_100.y = fVar27; + uVar12 = Random(); + pfVar19 = (float *)MusicManager::RandomVector(local_108); + iVar15 = Random(); npc = (Entity_NPC *)local_10c; - fVar26 = (float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * 2.3283064e-10 + fVar27 = (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 ; - fVar28 = fVar26 * pfVar18[1]; - fVar26 = fVar26 * *pfVar18; - local_ac = fVar28 + fVar28 + ((Vector *)((int)local_10c + 0x360))->y; - local_b0 = fVar26 + fVar26 + ((Vector *)((int)local_10c + 0x360))->x; - piVar16 = (int *)Game::Spawn(1000,0x8d,(Vector *)((int)local_10c + 0x33c),&local_b0,0, - uVar11 & 1,local_100.y); - piVar16[0xd] = 1; - piVar16[0x117] = 0x3c; - piVar16[0x118] = 0x3c; - (**(code **)(*piVar16 + 0xc))(); - pcVar29 = puStack_20; + fVar29 = fVar27 * pfVar19[1]; + fVar27 = fVar27 * *pfVar19; + local_ac = fVar29 + fVar29 + ((Vector *)((int)local_10c + 0x360))->y; + local_b0 = fVar27 + fVar27 + ((Vector *)((int)local_10c + 0x360))->x; + piVar17 = (int *)Game::Spawn(1000,0x8d,(Vector *)((int)local_10c + 0x33c),&local_b0,0, + uVar12 & 1,local_100.y); + piVar17[0xd] = 1; + piVar17[0x117] = 0x3c; + piVar17[0x118] = 0x3c; + (**(code **)(*piVar17 + 0xc))(); + pcVar30 = puStack_20; } } - puStack_20 = pcVar29; + puStack_20 = pcVar30; if (npc->_variant == 0x10) { if (npc->_health <= 1.0) { - pEVar13 = &npc->_entityRef; + pEVar14 = &npc->_entityRef; if (npc->_entityRef != (EntityPtr)0x0) { *(undefined1 *)((int)npc->_entityRef + 0x171) = 1; - local_104 = (EntityPtr)((int)*pEVar13 + 0x3bc); + local_104 = (EntityPtr)((int)*pEVar14 + 0x3bc); if (*(EntityPtr *)local_104 != (EntityPtr)0x0) { local_100.y = (float)local_104; std::multiset::erase(&local_100.y); } *(EntityPtr *)local_104 = (EntityPtr)0x0; - if (*pEVar13 != (EntityPtr)0x0) { - local_100.y = (float)pEVar13; + if (*pEVar14 != (EntityPtr)0x0) { + local_100.y = (float)pEVar14; std::multiset::erase(&local_100.y); } - *pEVar13 = (EntityPtr)0x0; + *pEVar14 = (EntityPtr)0x0; } } else { - cVar8 = Entity::IsFrame((Entity *)npc,3,0); - if ((cVar8 != '\0') && + cVar9 = Entity::IsFrame((Entity *)npc,3,0); + if ((cVar9 != '\0') && (local_104 = (EntityPtr)0x0, (int)(g_game->_playerManager)._playerList._end - (int)(g_game->_playerManager)._playerList._begin >> 2 != 0)) { do { - pEVar19 = Game::GetPlayer(g_game,(uint)local_104); - fVar26 = (npc->_pos).y - (pEVar19->_pos).y; - fVar28 = (npc->_pos).x - (pEVar19->_pos).x; - fVar26 = fVar26 * fVar26 + fVar28 * fVar28; + pEVar20 = Game::GetPlayer(g_game,(uint)local_104); + fVar27 = (npc->_pos).y - (pEVar20->_pos).y; + fVar29 = (npc->_pos).x - (pEVar20->_pos).x; + fVar27 = fVar27 * fVar27 + fVar29 * fVar29; sqrtf(); - if (fVar26 < pEVar19->_size + 70.0) { - iVar20 = pEVar19->_hallowedGroundCountdown; - iVar14 = iVar20 + 4; - if (4 < iVar14) { - iVar14 = 4; + if (fVar27 < pEVar20->_size + 70.0) { + iVar21 = pEVar20->_hallowedGroundCountdown; + iVar15 = iVar21 + 4; + if (4 < iVar15) { + iVar15 = 4; } - pEVar19->_hallowedGroundCountdown = iVar14; - if (0 < iVar20 != 0 < iVar14) { - pEVar19->_cacheFlags = pEVar19->_cacheFlags | 99; + pEVar20->_hallowedGroundCountdown = iVar15; + if (0 < iVar21 != 0 < iVar15) { + pEVar20->_cacheFlags = pEVar20->_cacheFlags | 99; Entity_Player::EvaluateItems(); } } @@ -217625,38 +217719,38 @@ void __fastcall NpcAI::ENTITY_POOP(Entity_NPC *npc) (int)(g_game->_playerManager)._playerList._begin >> 2)); } if (npc->_entityRef == (EntityPtr)0x0) { - uVar10 = Random(); - EVar12 = (EntityPtr)Game::Spawn(1000,0x70,&npc->_pos,&g_vectorZero,0,0,uVar10); - Entity_Effect::FollowParent((Entity_Effect *)EVar12,npc); - iVar14 = *(int *)EVar12; - ((Vector *)((int)EVar12 + 0xdc))->x = 0.0; - *(float *)((int)EVar12 + 0xe0) = -4.0; - *(int *)((int)EVar12 + 0x354) = 10000; - (**(code **)(iVar14 + 0xc))(); + uVar11 = Random(); + EVar13 = (EntityPtr)Game::Spawn(1000,0x70,&npc->_pos,&g_vectorZero,0,0,uVar11); + Entity_Effect::FollowParent((Entity_Effect *)EVar13,npc); + iVar15 = *(int *)EVar13; + ((Vector *)((int)EVar13 + 0xdc))->x = 0.0; + *(float *)((int)EVar13 + 0xe0) = -4.0; + *(int *)((int)EVar13 + 0x354) = 10000; + (**(code **)(iVar15 + 0xc))(); if (npc->_entityRef != (EntityPtr)0x0) { local_100.y = (float)&npc->_entityRef; std::multiset::erase(&local_100.y); } - npc->_entityRef = EVar12; + npc->_entityRef = EVar13; std::multiset::insert(&npc->_entityRef); } } } if ((npc->_variant == 0xf) && - (iVar14 = Entity::GetIntervalTicks((Entity *)npc,fVar9), iVar14 != 0)) { - uVar10 = Random(); - piVar16 = (int *)Game::Spawn(1000,0x2d,&npc->_pos,&g_vectorZero,0,0,uVar10); - piVar16[0xd] = 1; - iVar14 = Random(); - fVar9 = (float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * 2.3283064e-10 * - 0.4 + 0.8; - fVar26 = fVar9 * g_vectorOne.y; - fVar9 = fVar9 * g_vectorOne.x; - piVar16[0x117] = 0x3c; - piVar16[0x3a] = (int)fVar26; - piVar16[0x118] = 0x3c; - piVar16[0x39] = (int)fVar9; - (**(code **)(*piVar16 + 0xc))(); + (iVar15 = Entity::GetIntervalTicks((Entity *)npc,fVar10), iVar15 != 0)) { + uVar11 = Random(); + piVar17 = (int *)Game::Spawn(1000,0x2d,&npc->_pos,&g_vectorZero,0,0,uVar11); + piVar17[0xd] = 1; + iVar15 = Random(); + fVar10 = (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * + 0.4 + 0.8; + fVar27 = fVar10 * g_vectorOne.y; + fVar10 = fVar10 * g_vectorOne.x; + piVar17[0x117] = 0x3c; + piVar17[0x3a] = (int)fVar27; + piVar17[0x118] = 0x3c; + piVar17[0x39] = (int)fVar10; + (**(code **)(*piVar17 + 0xc))(); npc = (Entity_NPC *)local_10c; } LAB_0057272c: @@ -217671,54 +217765,54 @@ LAB_0057272c: } (npc->_targetPosition).x = g_vectorZero.x; (npc->_targetPosition).y = g_vectorZero.y; - fVar9 = (npc->_v1).y; - fVar26 = fVar9 + 2.0; - fVar9 = fVar9 * npc->_speedMultiplier + (npc->_v1).x; - (npc->_v1).x = fVar9; - (npc->_v1).y = fVar26; + fVar10 = (npc->_v1).y; + fVar27 = fVar10 + 2.0; + fVar10 = fVar10 * npc->_speedMultiplier + (npc->_v1).x; + (npc->_v1).x = fVar10; + (npc->_v1).y = fVar27; if (npc->_variant == 0xb) { - fVar26 = fVar26 + 0.8; - (npc->_v1).y = fVar26; + fVar27 = fVar27 + 0.8; + (npc->_v1).y = fVar27; } - if (-26.0 <= fVar9) { - npc->_entityGridCollisionClass = (fVar26 < -3.0) + 5; + if (-26.0 <= fVar10) { + npc->_entityGridCollisionClass = (fVar27 < -3.0) + 5; } else { npc->_entityGridCollisionClass = 3; } - if (0.0 <= fVar9) { - qVar5 = npc->_flags; + if (0.0 <= fVar10) { + qVar6 = npc->_flags; puVar1 = (uint *)((int)&npc->_flags + 4); *puVar1 = *puVar1 & 0xfbffffff; - *(int *)&npc->_flags = (int)qVar5; - iVar14 = 0x1e7; + *(int *)&npc->_flags = (int)qVar6; + iVar15 = 0x1e7; (npc->_velocity).x = (npc->_velocity).x * 0.6; (npc->_velocity).y = (npc->_velocity).y * 0.6; if (npc->_variant != 0xb) { - iVar14 = 0x45; + iVar15 = 0x45; } - Entity_NPC::PlaySound(npc,iVar14,1.0,2,0,1.0); - fVar9 = 6.0 - npc->_health; - if (fVar9 <= 1.0) { - fVar9 = 1.0; + Entity_NPC::PlaySound(npc,iVar15,1.0,2,0,1.0); + fVar10 = 6.0 - npc->_health; + if (fVar10 <= 1.0) { + fVar10 = 1.0; } - if (5.0 <= fVar9) { - fVar9 = 5.0; + if (5.0 <= fVar10) { + fVar10 = 5.0; } - sprintf(local_b8,"State%d",(int)fVar9); - bVar7 = ANM2::SetAnimation(&npc->_sprite,local_b8,1); - if (bVar7 != 0) { + sprintf(local_b8,"State%d",(int)fVar10); + bVar8 = ANM2::SetAnimation(&npc->_sprite,local_b8,1); + if (bVar8 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; npc = (Entity_NPC *)local_10c; } (npc->_v1).x = 0.0; - fVar9 = 0.0; + fVar10 = 0.0; (npc->_v1).y = 0.0; npc->_entityGridCollisionClass = 5; npc->_entityCollisionClass = 4; } - (npc->_posOffset).y = fVar9; + (npc->_posOffset).y = fVar10; ExceptionList = local_1c; return; } @@ -217730,86 +217824,86 @@ LAB_0057272c: npc->_variant = 1; puStack_20 = local_a8 + 0xa4; local_e8._position.x = (float)std::_Allocate(); - local_e8._32_4_ = 0x1b; + local_e8._flags = 0x1b; local_e8._entity = (void *)0x1f; builtin_strncpy((char *)local_e8._position.x,"gfx/grid/grid_poop_gold.png",0x1c); local_14 = 0.0; Sprite::ReplaceSpritesheet((Sprite *)&npc->_sprite,0,&local_e8._position); local_14 = -NAN; - bVar7 = extraout_CL; + bVar8 = extraout_CL; if (&DAT_0000000f < local_e8._entity) { - puVar22 = (undefined1 *)((int)local_e8._entity + 1); - pcVar29 = (char *)local_e8._position.x; - if ((undefined1 *)0xfff < puVar22) { - pcVar29 = *(char **)((int)local_e8._position.x + -4); - puVar22 = (undefined1 *)((int)local_e8._entity + 0x24); - if ((char *)0x1f < (char *)((int)local_e8._position.x + (-4 - (int)pcVar29))) { + puVar23 = (undefined1 *)((int)local_e8._entity + 1); + pcVar30 = (char *)local_e8._position.x; + if ((undefined1 *)0xfff < puVar23) { + pcVar30 = *(char **)((int)local_e8._position.x + -4); + puVar23 = (undefined1 *)((int)local_e8._entity + 0x24); + if ((char *)0x1f < (char *)((int)local_e8._position.x + (-4 - (int)pcVar30))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pcVar29,puVar22); - bVar7 = extraout_CL_00; + operator_delete(pcVar30,puVar23); + bVar8 = extraout_CL_00; } - ANM2::LoadGraphics(&npc->_sprite,bVar7); + ANM2::LoadGraphics(&npc->_sprite,bVar8); local_f5 = '\x01'; } if (npc->_state != 0) { - cVar8 = Entity::HasEntityFlags(0,0x4000000); - if (cVar8 == '\0') { + cVar9 = Entity::HasEntityFlags(0,0x4000000); + if (cVar9 == '\0') { local_ec = npc->_spawnerEntity; npc->_friction = npc->_friction * 0.5; if ((((local_ec != (EntityPtr)0x0) && (*(uint *)((int)local_ec + 0x28) == 1)) && (npc->_variant == 0xc)) && - ((cVar8 = Entity::IsFrame((Entity *)npc,0x3c,0), cVar8 != '\0' && (1.0 < npc->_health)))) { + ((cVar9 = Entity::IsFrame((Entity *)npc,0x3c,0), cVar9 != '\0' && (1.0 < npc->_health)))) { if ((npc->_entityDeque)._size < 3) { local_104 = (EntityPtr)0x0; std::deque::resize(3,&local_104); } - uVar11 = 0; - fVar9 = (float)(npc->_entityDeque)._offset; + uVar12 = 0; + fVar10 = (float)(npc->_entityDeque)._offset; do { - local_ac = fVar9; + local_ac = fVar10; if (*(int *)(*(int *)((int)(npc->_entityDeque)._map + - ((int)local_ac + uVar11 >> 2 & (npc->_entityDeque)._mapSize - 1) * 4) - + ((int)local_ac + uVar11 & 3) * 4) == 0) { + ((int)local_ac + uVar12 >> 2 & (npc->_entityDeque)._mapSize - 1) * 4) + + ((int)local_ac + uVar12 & 3) * 4) == 0) { local_f4 = (EntityPtr)Entity_Player::AddBlueFlies(1,&npc->_pos,0); if (local_f4 != (EntityPtr)0x0) { local_ac = (float)(npc->_entityDeque)._offset; - uVar23 = (int)local_ac + uVar11 & 3; - iVar14 = *(int *)((int)(npc->_entityDeque)._map + - ((int)local_ac + uVar11 >> 2 & (npc->_entityDeque)._mapSize - 1) * 4) + uVar24 = (int)local_ac + uVar12 & 3; + iVar15 = *(int *)((int)(npc->_entityDeque)._map + + ((int)local_ac + uVar12 >> 2 & (npc->_entityDeque)._mapSize - 1) * 4) ; - local_ec = (EntityPtr)(iVar14 + uVar23 * 4); - if (*(int *)(iVar14 + uVar23 * 4) != 0) { + local_ec = (EntityPtr)(iVar15 + uVar24 * 4); + if (*(int *)(iVar15 + uVar24 * 4) != 0) { local_104 = local_ec; std::multiset::erase(&local_104); } - EVar12 = local_f4; + EVar13 = local_f4; *(EntityPtr *)local_ec = local_f4; std::multiset::insert(local_ec); - if (*(int *)((int)EVar12 + 0x3bc) != 0) { - local_104 = (EntityPtr)((int)EVar12 + 0x3bc); + if (*(int *)((int)EVar13 + 0x3bc) != 0) { + local_104 = (EntityPtr)((int)EVar13 + 0x3bc); std::multiset::erase(&local_104); } - *(Entity_NPC **)((int)EVar12 + 0x3bc) = npc; - std::multiset::insert((int)EVar12 + 0x3bc); - Entity_Familiar::AddToOrbit((Entity_Familiar *)EVar12,1); + *(Entity_NPC **)((int)EVar13 + 0x3bc) = npc; + std::multiset::insert((int)EVar13 + 0x3bc); + Entity_Familiar::AddToOrbit((Entity_Familiar *)EVar13,1); } break; } - uVar11 = uVar11 + 1; - fVar9 = (float)(npc->_entityDeque)._offset; - } while (uVar11 < 3); + uVar12 = uVar12 + 1; + fVar10 = (float)(npc->_entityDeque)._offset; + } while (uVar12 < 3); } } if (((npc->_targetPosition).x != g_vectorZero.x) || ((npc->_targetPosition).y != g_vectorZero.y) ) { Room::RaiseGridPathAtPos(g_game->_room,&npc->_targetPosition,900); - fVar9 = (npc->_targetPosition).y; - fVar26 = (npc->_pos).y; + fVar10 = (npc->_targetPosition).y; + fVar27 = (npc->_pos).y; (npc->_velocity).x = (npc->_targetPosition).x - (npc->_pos).x; - (npc->_velocity).y = fVar9 - fVar26; + (npc->_velocity).y = fVar10 - fVar27; } if (((npc->_dead == 0) && (1.0 < npc->_health)) && (npc->_controllerID != -1)) { Entity_NPC::GetControllerInput(&local_100); @@ -217817,119 +217911,119 @@ LAB_0057272c: (npc->_v2).x = 0.0; } else { - fVar9 = npc->_friction; + fVar10 = npc->_friction; local_ec = (EntityPtr)0x0; local_104 = (EntityPtr)(1.0 - (npc->_v2).x); - pEVar13 = &local_104; + pEVar14 = &local_104; if ((float)local_104 <= 0.0) { - pEVar13 = &local_ec; + pEVar14 = &local_ec; } - EVar12 = *pEVar13; - if (fVar9 != 0.0) { - fVar26 = npc->_speedMultiplier; - (npc->_velocity).y = (fVar26 * local_100.y * (float)*pEVar13) / fVar9 + (npc->_velocity).y - ; - (npc->_velocity).x = (fVar26 * local_100.x * (float)EVar12) / fVar9 + (npc->_velocity).x; + EVar13 = *pEVar14; + if (fVar10 != 0.0) { + fVar27 = npc->_speedMultiplier; + (npc->_velocity).y = + (fVar27 * local_100.y * (float)*pEVar14) / fVar10 + (npc->_velocity).y; + (npc->_velocity).x = (fVar27 * local_100.x * (float)EVar13) / fVar10 + (npc->_velocity).x; } - fVar9 = npc->_speedMultiplier * 0.2 + (npc->_v1).x; - if (1.0 <= fVar9) { - fVar9 = 1.0; + fVar10 = npc->_speedMultiplier * 0.2 + (npc->_v1).x; + if (1.0 <= fVar10) { + fVar10 = 1.0; } - (npc->_v2).x = fVar9; + (npc->_v2).x = fVar10; } } npc->_pendingDamage = 0.0; - fVar9 = 0.0; - pvVar24 = (npc->_damageEvents)._begin; - iVar20 = (int)(npc->_damageEvents)._end - (int)pvVar24; - iVar14 = iVar20 >> 0x1f; - if (iVar20 / 0x38 + iVar14 != iVar14) { + fVar10 = 0.0; + pvVar25 = (npc->_damageEvents)._begin; + iVar21 = (int)(npc->_damageEvents)._end - (int)pvVar25; + iVar15 = iVar21 >> 0x1f; + if (iVar21 / 0x38 + iVar15 != iVar15) { local_ec = (EntityPtr)0x0; local_104 = (EntityPtr)0x0; do { - if ((*(int *)((int)pvVar24 + (int)((int)local_ec + 0x10)) == 1000) && - (*(int *)((int)pvVar24 + (int)((int)local_ec + 0x14)) == 0x33)) { - *(undefined4 *)((int)pvVar24 + (int)local_ec) = 0; + if ((*(int *)((int)pvVar25 + (int)((int)local_ec + 0x10)) == 1000) && + (*(int *)((int)pvVar25 + (int)((int)local_ec + 0x14)) == 0x33)) { + *(undefined4 *)((int)pvVar25 + (int)local_ec) = 0; } local_104 = (EntityPtr)((int)local_104 + 1); - fVar9 = *(float *)((int)pvVar24 + (int)local_ec) + npc->_pendingDamage; + fVar10 = *(float *)((int)pvVar25 + (int)local_ec) + npc->_pendingDamage; local_ec = (EntityPtr)((int)local_ec + 0x38); - npc->_pendingDamage = fVar9; - pvVar24 = (npc->_damageEvents)._begin; - } while ((uint)local_104 < (uint)(((int)(npc->_damageEvents)._end - (int)pvVar24) / 0x38)); + npc->_pendingDamage = fVar10; + pvVar25 = (npc->_damageEvents)._begin; + } while ((uint)local_104 < (uint)(((int)(npc->_damageEvents)._end - (int)pvVar25) / 0x38)); } - fVar26 = 6.0 - npc->_health; - if (fVar26 <= 1.0) { - fVar26 = 1.0; + fVar27 = 6.0 - npc->_health; + if (fVar27 <= 1.0) { + fVar27 = 1.0; } - if (5.0 <= fVar26) { - fVar26 = 5.0; + if (5.0 <= fVar27) { + fVar27 = 5.0; } - local_f4 = (EntityPtr)(int)fVar26; - if ((npc->_dead != 0) || (0.0 < fVar9)) { + local_f4 = (EntityPtr)(int)fVar27; + if ((npc->_dead != 0) || (0.0 < fVar10)) { local_f0 = 1.0; if ((npc->_dead != 0) || ((npc->_pendingDamageFlags & 4) != 0)) { local_f0 = 4.0; } - uVar11 = Random(); - if (uVar11 % 3 == 0) { + uVar12 = Random(); + if (uVar12 % 3 == 0) { local_f0 = local_f0 + 1.0; } - if (((npc->_variant != 1) && (npc->_variant != 0xb)) && (uVar11 = Random(), uVar11 % 3 == 0)) + if (((npc->_variant != 1) && (npc->_variant != 0xb)) && (uVar12 = Random(), uVar12 % 3 == 0)) { local_f0 = local_f0 + 1.0; } - if ((npc->_variant == 1) || (fVar9 = local_f0, npc->_variant == 0xb)) { - iVar14 = Random(); - fVar9 = ((float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * 2.3283064e-10 - * 0.3 + 0.2) * local_f0; + if ((npc->_variant == 1) || (fVar10 = local_f0, npc->_variant == 0xb)) { + iVar15 = Random(); + fVar10 = ((float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * + 2.3283064e-10 * 0.3 + 0.2) * local_f0; } - pvVar24 = (npc->_damageEvents)._begin; - iVar14 = ((int)(npc->_damageEvents)._end - (int)pvVar24) / 0x38; - if (iVar14 == 0) { + pvVar25 = (npc->_damageEvents)._begin; + iVar15 = ((int)(npc->_damageEvents)._end - (int)pvVar25) / 0x38; + if (iVar15 == 0) { EntityRef::constructor(&local_e8,(Entity *)0x0); - pEVar15 = extraout_EAX; + pEVar16 = extraout_EAX; } else { - piVar16 = (int *)((int)pvVar24 + iVar14 * 0x38 + -0x28); - local_e8._type = *piVar16; - local_e8._variant = piVar16[1]; - local_e8._spawnerType = piVar16[2]; - local_e8._spawnerVariant = piVar16[3]; - puVar2 = (undefined4 *)((int)pvVar24 + iVar14 * 0x38 + -0x18); + piVar17 = (int *)((int)pvVar25 + iVar15 * 0x38 + -0x28); + local_e8._type = *piVar17; + local_e8._variant = piVar17[1]; + local_e8._spawnerType = piVar17[2]; + local_e8._spawnerVariant = piVar17[3]; + puVar2 = (undefined4 *)((int)pvVar25 + iVar15 * 0x38 + -0x18); local_e8._position.x = (float)*puVar2; - local_e8._position.y = (float)*(RNG *)(puVar2 + 1); - local_e8._24_4_ = puVar2[2]; - local_e8._28_4_ = puVar2[3]; - pEVar15 = &local_e8; - local_e8._32_8_ = *(undefined8 *)((int)pvVar24 + iVar14 * 0x38 + -8); + local_e8._position.y = (float)puVar2[1]; + local_e8._velocity.x = (float)puVar2[2]; + local_e8._velocity.y = (float)puVar2[3]; + pEVar16 = &local_e8; + local_e8._32_8_ = *(undefined8 *)((int)pvVar25 + iVar15 * 0x38 + -8); } - local_138._type = pEVar15->_type; - local_138._variant = pEVar15->_variant; - local_138._spawnerType = pEVar15->_spawnerType; - local_138._spawnerVariant = pEVar15->_spawnerVariant; - local_138._position.x = (pEVar15->_position).x; - local_138._position.y = (pEVar15->_position).y; - local_138._24_4_ = *(undefined4 *)&pEVar15->field_0x18; - local_138._28_4_ = *(undefined4 *)&pEVar15->field_0x1c; - local_138._32_4_ = *(undefined4 *)&pEVar15->field_0x20; - local_138._entity = pEVar15->_entity; - if (0.0 < fVar9) { - fVar26 = npc->_health; - fVar28 = fVar26 - fVar9; + local_138._type = pEVar16->_type; + local_138._variant = pEVar16->_variant; + local_138._spawnerType = pEVar16->_spawnerType; + local_138._spawnerVariant = pEVar16->_spawnerVariant; + local_138._position.x = (pEVar16->_position).x; + local_138._position.y = (pEVar16->_position).y; + local_138._velocity.x = (pEVar16->_velocity).x; + local_138._velocity.y = (pEVar16->_velocity).y; + local_138._flags = pEVar16->_flags; + local_138._entity = pEVar16->_entity; + if (0.0 < fVar10) { + fVar27 = npc->_health; + fVar29 = fVar27 - fVar10; local_f5 = '\x01'; + if (fVar29 <= 1.0) { + fVar29 = 1.0; + } + fVar28 = 6.0 - fVar29; + npc->_health = fVar29; if (fVar28 <= 1.0) { fVar28 = 1.0; } - fVar27 = 6.0 - fVar28; - npc->_health = fVar28; - if (fVar27 <= 1.0) { - fVar27 = 1.0; + if (5.0 <= fVar28) { + fVar28 = 5.0; } - if (5.0 <= fVar27) { - fVar27 = 5.0; - } - local_f0 = (float)(int)fVar27; + local_f0 = (float)(int)fVar28; switch(npc->_variant) { case 1: break; @@ -217947,29 +218041,29 @@ LAB_0057272c: } local_ec = (EntityPtr)&npc->_pos; local_100 = npc->_pos; - spawn_poop_rewards(npc->_initSeed,(int)((5.0 - fVar26) * 250.0),(int)(fVar9 * 250.0),0, + spawn_poop_rewards(npc->_initSeed,(int)((5.0 - fVar27) * 250.0),(int)(fVar10 * 250.0),0, (npc->_pos).y,&local_138); if ((int)local_f4 < (int)local_f0) { if (local_f4 == (EntityPtr)0x0) { - uVar11 = 0; + uVar12 = 0; } else { - uVar11 = Random(); - uVar11 = uVar11 % (uint)local_f4; + uVar12 = Random(); + uVar12 = uVar12 % (uint)local_f4; } local_100 = *(Vector *)local_ec; - GridEntity_Poop::spawn_hit_gibs(uVar11 + 1); - pGVar6 = g_game; - uVar10 = Random(); - fVar9 = (float)PlayerManager::RandomCollectibleOwner - (&pGVar6->_playerManager,0x240,uVar10,0); - local_100.y = fVar9; + GridEntity_Poop::spawn_hit_gibs(uVar12 + 1); + pGVar7 = g_game; + uVar11 = Random(); + fVar10 = (float)PlayerManager::RandomCollectibleOwner + (&pGVar7->_playerManager,0x240,uVar11,0); + local_100.y = fVar10; local_104 = (EntityPtr)((int)local_f0 - (int)local_f4); - if ((fVar9 != 0.0) && (0 < (int)local_104)) { + if ((fVar10 != 0.0) && (0 < (int)local_104)) { do { if ((local_f0 == 7.00649e-45) || - ((cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,2), cVar8 != '\0' - || (uVar11 = Random(), (uVar11 & 1) == 0)))) { + ((cVar9 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,2), cVar9 != '\0' + || (uVar12 = Random(), (uVar12 & 1) == 0)))) { spawn_dip_at(local_100.y,&g_vectorZero); } local_104 = (EntityPtr)((int)local_104 + -1); @@ -217983,41 +218077,42 @@ LAB_0057272c: local_100 = npc->_pos; GridEntity_Poop::spawn_drops((GridEntity_Poop *)&local_100,npc->_initSeed,0,0,&local_138); if (npc->_variant == 0xd) { - uVar10 = Random(); - piVar16 = (int *)Game::Spawn(1000,0x33,&npc->_pos,&g_vectorZero,0,0,uVar10); - piVar16[0x117] = 0x96; - piVar16[0x118] = 0x96; - (**(code **)(*piVar16 + 0xc))(); + uVar11 = Random(); + piVar17 = (int *)Game::Spawn(1000,0x33,&npc->_pos,&g_vectorZero,0,0,uVar11); + piVar17[0x117] = 0x96; + piVar17[0x118] = 0x96; + (**(code **)(*piVar17 + 0xc))(); } else if (npc->_variant == 0xe) { - iVar14 = Random(); + iVar15 = Random(); local_f0 = 0.0; - local_100.y = (float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * + local_100.y = (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 360.0; do { - fVar9 = local_f0; - iVar14 = Random(); + fVar10 = local_f0; + iVar15 = Random(); local_f4 = (EntityPtr) - ((float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * - 2.3283064e-10 * 30.0 + (((float)(int)fVar9 * 45.0 + local_100.y) - 15.0)); - uVar10 = Random(); + ((float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * + 2.3283064e-10 * 30.0 + (((float)(int)fVar10 * 45.0 + local_100.y) - 15.0)) + ; uVar11 = Random(); + uVar12 = Random(); local_f4 = (EntityPtr)((float)local_f4 * 0.017453292); - iVar14 = Random(); - fVar9 = (float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * - 2.3283064e-10; - local_104 = (EntityPtr)(fVar9 + fVar9 + 8.0); - EVar12 = local_f4; + iVar15 = Random(); + fVar10 = (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * + 2.3283064e-10; + local_104 = (EntityPtr)(fVar10 + fVar10 + 8.0); + EVar13 = local_f4; cos(); - local_b0 = (float)EVar12 * (float)local_104; - EVar12 = local_f4; + local_b0 = (float)EVar13 * (float)local_104; + EVar13 = local_f4; sin(); - local_ac = (float)EVar12 * (float)local_104; - piVar16 = (int *)Game::Spawn(1000,0x8d,local_ec,&local_b0,0,uVar11 & 1,uVar10); - piVar16[0xd] = 1; - piVar16[0x117] = 0x96; - piVar16[0x118] = 0x96; - (**(code **)(*piVar16 + 0xc))(); + local_ac = (float)EVar13 * (float)local_104; + piVar17 = (int *)Game::Spawn(1000,0x8d,local_ec,&local_b0,0,uVar12 & 1,uVar11); + piVar17[0xd] = 1; + piVar17[0x117] = 0x96; + piVar17[0x118] = 0x96; + (**(code **)(*piVar17 + 0xc))(); local_f0 = (float)((int)local_f0 + 1); } while ((int)local_f0 < 8); npc = (Entity_NPC *)local_10c; @@ -218029,9 +218124,9 @@ LAB_0057272c: } } } - pvVar24 = (npc->_damageEvents)._begin; + pvVar25 = (npc->_damageEvents)._begin; npc->_dead = 0; - (npc->_damageEvents)._end = pvVar24; + (npc->_damageEvents)._end = pvVar25; npc->_pendingDamage = 0.0; *(undefined4 *)&npc->_pendingDamageFlags = 0; *(undefined4 *)((int)&npc->_pendingDamageFlags + 4) = 0; @@ -218040,20 +218135,20 @@ LAB_0057272c: ExceptionList = local_1c; return; } - cVar8 = local_10d; + cVar9 = local_10d; goto LAB_005721d7; } - qVar5 = npc->_flags; + qVar6 = npc->_flags; *(undefined4 *)((int)&npc->_flags + 4) = *(undefined4 *)((int)&npc->_flags + 4); - *(uint *)&npc->_flags = (uint)qVar5 & 0xfffffffb | 0x20d0011; + *(uint *)&npc->_flags = (uint)qVar6 & 0xfffffffb | 0x20d0011; npc->_aiCallFlags = 7; switch(npc->_variant) { case 1: sprintf(local_a8,"gfx/grid/grid_poop_gold.png"); break; default: - uVar11 = RNG::RandomInt(&npc->_dropRNG,3); - pcVar29 = "gfx/grid/grid_poop_%d.png"; + uVar12 = RNG::RandomInt(&npc->_dropRNG,3); + pcVar30 = "gfx/grid/grid_poop_%d.png"; goto LAB_00571615; case 0xb: sprintf(local_a8,"gfx/grid/grid_poop_stone.png"); @@ -218071,70 +218166,70 @@ LAB_0057272c: sprintf(local_a8,"gfx/grid/grid_poop_black.png"); break; case 0x10: - uVar11 = RNG::RandomInt(&npc->_dropRNG,3); - pcVar29 = "gfx/grid/grid_poop_white_%d.png"; + uVar12 = RNG::RandomInt(&npc->_dropRNG,3); + pcVar30 = "gfx/grid/grid_poop_white_%d.png"; LAB_00571615: - sprintf(local_a8,pcVar29,uVar11 + 1); + sprintf(local_a8,pcVar30,uVar12 + 1); } - pcVar29 = local_a8; + pcVar30 = local_a8; local_b0 = 0.0; local_ac = 2.10195e-44; local_c0[0] = 0; do { - cVar8 = *pcVar29; - pcVar29 = pcVar29 + 1; - } while (cVar8 != '\0'); - std::string::assign(local_a8,(int)pcVar29 - (int)(local_a8 + 1)); + cVar9 = *pcVar30; + pcVar30 = pcVar30 + 1; + } while (cVar9 != '\0'); + std::string::assign(local_a8,(int)pcVar30 - (int)(local_a8 + 1)); local_14 = 1.4013e-45; Sprite::ReplaceSpritesheet((Sprite *)&npc->_sprite,0,local_c0); local_14 = -NAN; - bVar7 = extraout_CL_01; + bVar8 = extraout_CL_01; if (0xf < (uint)local_ac) { - uVar11 = (int)local_ac + 1; - iVar14 = local_c0[0]; - if (0xfff < uVar11) { - iVar14 = *(int *)(local_c0[0] + -4); - uVar11 = (int)local_ac + 0x24; - if (0x1f < (local_c0[0] - iVar14) - 4U) { + uVar12 = (int)local_ac + 1; + iVar15 = local_c0[0]; + if (0xfff < uVar12) { + iVar15 = *(int *)(local_c0[0] + -4); + uVar12 = (int)local_ac + 0x24; + if (0x1f < (local_c0[0] - iVar15) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar14,uVar11); - bVar7 = extraout_CL_02; + operator_delete(iVar15,uVar12); + bVar8 = extraout_CL_02; } - ANM2::LoadGraphics(&npc->_sprite,bVar7); - uVar11 = RNG::RandomInt(&npc->_dropRNG,2); - (npc->_sprite)._flipX = uVar11 != 0; + ANM2::LoadGraphics(&npc->_sprite,bVar8); + uVar12 = RNG::RandomInt(&npc->_dropRNG,2); + (npc->_sprite)._flipX = uVar12 != 0; if ((npc->_variant == 0xd) && (1.0 < npc->_health)) { - uVar10 = Random(); - EVar12 = (EntityPtr)Game::Spawn(1000,0x33,&npc->_pos,&g_vectorZero,npc,0,uVar10); - Entity_Effect::FollowParent((Entity_Effect *)EVar12,npc); - *(int *)((int)EVar12 + 0x45c) = -1; - *(int *)((int)EVar12 + 0x460) = -1; + uVar11 = Random(); + EVar13 = (EntityPtr)Game::Spawn(1000,0x33,&npc->_pos,&g_vectorZero,npc,0,uVar11); + Entity_Effect::FollowParent((Entity_Effect *)EVar13,npc); + *(int *)((int)EVar13 + 0x45c) = -1; + *(int *)((int)EVar13 + 0x460) = -1; if (npc->_entityRef != (EntityPtr)0x0) { local_104 = (EntityPtr)&npc->_entityRef; std::multiset::erase(&local_104); } - npc->_entityRef = EVar12; + npc->_entityRef = EVar13; std::multiset::insert(&npc->_entityRef); - (**(code **)(*(int *)EVar12 + 0xc))(); - *(byte *)((int)EVar12 + 0x171) = 0; + (**(code **)(*(int *)EVar13 + 0xc))(); + *(byte *)((int)EVar13 + 0x171) = 0; } npc->_state = 3; - cVar8 = '\x01'; + cVar9 = '\x01'; LAB_005721d7: - fVar9 = 6.0 - npc->_health; - if (fVar9 <= 1.0) { - fVar9 = 1.0; + fVar10 = 6.0 - npc->_health; + if (fVar10 <= 1.0) { + fVar10 = 1.0; } - if (5.0 <= fVar9) { - fVar9 = 5.0; + if (5.0 <= fVar10) { + fVar10 = 5.0; } - local_100.y = (float)(int)fVar9; - if ((local_100.y == 1.4013e-45) && (cVar8 != '\0')) { - bVar7 = ANM2::SetAnimation(&npc->_sprite,(byte *)"Appear",1); - if (bVar7 == 0) { + local_100.y = (float)(int)fVar10; + if ((local_100.y == 1.4013e-45) && (cVar9 != '\0')) { + bVar8 = ANM2::SetAnimation(&npc->_sprite,(byte *)"Appear",1); + if (bVar8 == 0) { ExceptionList = local_1c; return; } @@ -218143,36 +218238,37 @@ LAB_005721d7: ExceptionList = local_1c; return; } - sprintf(&local_e8.field_0x18,"State%d",local_100.y); - pbVar4 = (npc->_sprite)._animState._animData; - if (pbVar4 != (byte *)0x0) { - pbVar17 = pbVar4; - if (0xf < *(uint *)(pbVar4 + 0x14)) { - pbVar17 = *(byte **)pbVar4; + sprintf(&local_e8._velocity,"State%d",local_100.y); + pbVar5 = (npc->_sprite)._animState._animData; + if (pbVar5 != (byte *)0x0) { + pbVar18 = pbVar5; + if (0xf < *(uint *)(pbVar5 + 0x14)) { + pbVar18 = *(byte **)pbVar5; } - pbVar21 = &local_e8.field_0x18; + pVVar22 = &local_e8._velocity; do { - bVar7 = *pbVar17; - bVar25 = bVar7 < *pbVar21; - if (bVar7 != *pbVar21) { + bVar8 = *pbVar18; + bVar26 = bVar8 < *(byte *)&pVVar22->x; + if (bVar8 != *(byte *)&pVVar22->x) { LAB_00572280: - uVar11 = -(uint)bVar25 | 1; + uVar12 = -(uint)bVar26 | 1; goto LAB_00572285; } - if (bVar7 == 0) break; - bVar7 = pbVar17[1]; - bVar25 = bVar7 < pbVar21[1]; - if (bVar7 != pbVar21[1]) goto LAB_00572280; - pbVar17 = pbVar17 + 2; - pbVar21 = pbVar21 + 2; - } while (bVar7 != 0); - uVar11 = 0; + if (bVar8 == 0) break; + bVar8 = pbVar18[1]; + bVar3 = *(byte *)((int)&pVVar22->x + 1); + bVar26 = bVar8 < bVar3; + if (bVar8 != bVar3) goto LAB_00572280; + pbVar18 = pbVar18 + 2; + pVVar22 = (Vector *)((int)&pVVar22->x + 2); + } while (bVar8 != 0); + uVar12 = 0; LAB_00572285: - if ((uVar11 == 0) && ((pbVar4[0x34] == 0 || ((npc->_sprite)._animState._isPlaying != 0)))) + if ((uVar12 == 0) && ((pbVar5[0x34] == 0 || ((npc->_sprite)._animState._isPlaying != 0)))) goto LAB_005722c4; } - bVar7 = ANM2::SetAnimation(&npc->_sprite,&local_e8.field_0x18,1); - if (bVar7 != 0) { + bVar8 = ANM2::SetAnimation(&npc->_sprite,(byte *)&local_e8._velocity,1); + if (bVar8 != 0) { AnimationState::Rewind(&(npc->_sprite)._animState); (npc->_sprite)._animState._isPlaying = 1; npc = (Entity_NPC *)local_10c; @@ -218377,8 +218473,8 @@ void NpcHelper::clutch_spawn_fire(int *param_1) { EntityPtr *pEVar1; code *pcVar2; - undefined4 uVar3; - undefined4 uVar4; + float fVar3; + float fVar4; byte bVar5; uint uVar6; undefined4 uVar7; @@ -218401,7 +218497,7 @@ void NpcHelper::clutch_spawn_fire(int *param_1) EntityPtr local_54; int *local_50; undefined1 local_4c [32]; - undefined4 local_2c; + int local_2c; undefined1 *local_28; uint local_24; undefined1 *puStack_20; @@ -218490,23 +218586,23 @@ LAB_00572e7c: if (local_50[0x32] != 0) { do { pLVar10 = ANM2::GetLayer(pAVar16,pbVar9); - uVar4 = uRam00c34e34; - uVar3 = uRam00c34e30; - uVar7 = uRam00c34e2c; - if (&pLVar10->field_0x48 != &DAT_00c34e28) { - *(undefined4 *)&pLVar10->field_0x48 = _DAT_00c34e28; - *(undefined4 *)&pLVar10->field_0x4c = uVar7; - *(undefined4 *)&pLVar10->field_0x50 = uVar3; - *(undefined4 *)&pLVar10->field_0x54 = uVar4; - uVar4 = uRam00c34e44; - uVar3 = uRam00c34e40; - uVar7 = uRam00c34e3c; - *(undefined4 *)&pLVar10->field_0x58 = _DAT_00c34e38; - *(undefined4 *)&pLVar10->field_0x5c = uVar7; - *(undefined4 *)&pLVar10->field_0x60 = uVar3; - *(undefined4 *)&pLVar10->field_0x64 = uVar4; - *(undefined8 *)&pLVar10->field_0x68 = DAT_00c34e48; - *(undefined4 *)&pLVar10->field_0x70 = DAT_00c34e50; + fVar4 = fRam00c34e34; + fVar3 = fRam00c34e30; + fVar15 = fRam00c34e2c; + if (&pLVar10->_color != (ColorMod *)&DAT_00c34e28) { + (pLVar10->_color)._tint[0] = _DAT_00c34e28; + (pLVar10->_color)._tint[1] = fVar15; + (pLVar10->_color)._tint[2] = fVar3; + (pLVar10->_color)._tint[3] = fVar4; + fVar4 = fRam00c34e44; + fVar3 = fRam00c34e40; + fVar15 = fRam00c34e3c; + (pLVar10->_color)._colorize[0] = _DAT_00c34e38; + (pLVar10->_color)._colorize[1] = fVar15; + (pLVar10->_color)._colorize[2] = fVar3; + (pLVar10->_color)._colorize[3] = fVar4; + *(undefined8 *)(pLVar10->_color)._offset = DAT_00c34e48; + (pLVar10->_color)._offset[2] = DAT_00c34e50; } pbVar9 = pbVar9 + 1; } while (pbVar9 < (byte *)local_50[0x32]); @@ -218561,41 +218657,40 @@ void __fastcall NpcAI::ENTITY_CLUTCH(Entity_NPC *npc) EntityPtr EVar1; float *pfVar2; code *pcVar3; - undefined4 uVar4; - undefined4 uVar5; - Manager *pMVar6; - char cVar7; - byte bVar8; - Entity *pEVar9; - EntityPtr *pEVar10; - undefined4 uVar11; - LayerState *pLVar12; - void *pvVar13; - float *pfVar14; - undefined4 *puVar15; - void *pvVar16; + Manager *pMVar4; + char cVar5; + byte bVar6; + Entity *pEVar7; + EntityPtr *pEVar8; + undefined4 uVar9; + LayerState *pLVar10; + void *pvVar11; + float *pfVar12; + undefined4 *puVar13; + void *pvVar14; int extraout_ECX; int extraout_ECX_00; undefined4 extraout_ECX_01; int extraout_ECX_02; - char *pcVar17; - uint uVar18; + char *pcVar15; + uint uVar16; int *extraout_EDX; - undefined1 *puVar19; - int *piVar20; - uint uVar21; + undefined1 *puVar17; + int *piVar18; + uint uVar19; + int iVar20; + EntityPtr EVar21; int iVar22; - EntityPtr EVar23; - int iVar24; - byte *pbVar25; - bool bVar26; + byte *pbVar23; + ColorMod *pCVar24; + bool bVar25; + float fVar26; float fVar27; float fVar28; float fVar29; float fVar30; - float fVar31; - undefined8 uVar32; - void *pvVar33; + undefined8 uVar31; + void *pvVar32; EntityRef local_1bc; float local_194; float local_190; @@ -218626,10 +218721,7 @@ void __fastcall NpcAI::ENTITY_CLUTCH(Entity_NPC *npc) EntityPtr local_124; ProjectileParams local_120; float local_78; - undefined1 auStack_74 [28]; - int local_58; - void *pvStack_54; - void *local_50; + EntityRef EStack_74; undefined1 local_4c [32]; float local_2c; undefined1 *local_28; @@ -218650,55 +218742,55 @@ void __fastcall NpcAI::ENTITY_CLUTCH(Entity_NPC *npc) if (local_128 == 4) { std::deque::resize((npc->_vectorDeque2)._size); if ((npc->_vectorDeque2)._size != 0) { - uVar18 = (npc->_vectorDeque1)._offset; - pvVar16 = (npc->_vectorDeque1)._proxy; - iVar24 = (npc->_vectorDeque2)._size + (npc->_vectorDeque2)._offset; - pvVar33 = (npc->_vectorDeque2)._proxy; - uVar21 = (npc->_vectorDeque2)._offset; - pvVar13 = (npc->_vectorDeque2)._proxy; + uVar16 = (npc->_vectorDeque1)._offset; + pvVar14 = (npc->_vectorDeque1)._proxy; + iVar22 = (npc->_vectorDeque2)._size + (npc->_vectorDeque2)._offset; + pvVar32 = (npc->_vectorDeque2)._proxy; + uVar19 = (npc->_vectorDeque2)._offset; + pvVar11 = (npc->_vectorDeque2)._proxy; LAB_00575082: - FUN_00575fe0(pvVar13,0,uVar21,pvVar33,0,iVar24,pvVar16,0,uVar18); + FUN_00575fe0(pvVar11,0,uVar19,pvVar32,0,iVar22,pvVar14,0,uVar16); } LAB_00575092: if (((npc->_state == 8) || (npc->_state == 9)) && ((((npc->_sprite)._animState._animData != (void *)0x0 && - (bVar8 = AnimationState::WasEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"), - bVar8 != 0)) || - ((pvVar16 = (npc->_sprite)._animState._animData, pvVar16 != (void *)0x0 && - (*(char *)((int)pvVar16 + 0x34) != '\0')))))) { + (bVar6 = AnimationState::WasEventTriggered(&(npc->_sprite)._animState,(byte *)"Shoot"), + bVar6 != 0)) || + ((pvVar14 = (npc->_sprite)._animState._animData, pvVar14 != (void *)0x0 && + (*(char *)((int)pvVar14 + 0x34) != '\0')))))) { local_129 = '\x01'; } else { local_129 = '\0'; } - pfVar14 = (float *)Entity::GetNullOffset((Entity *)npc,&local_14c,"Trail"); - local_164 = (npc->_pos).x + *pfVar14; - local_158 = (EntityPtr)(pfVar14[1] + (npc->_pos).y); + pfVar12 = (float *)Entity::GetNullOffset((Entity *)npc,&local_14c,"Trail"); + local_164 = (npc->_pos).x + *pfVar12; + local_158 = (EntityPtr)(pfVar12[1] + (npc->_pos).y); if (local_129 == '\0') { - fVar28 = (npc->_updateTime * 3.1415927) / 15.0; + fVar27 = (npc->_updateTime * 3.1415927) / 15.0; sin(); local_14c.y = (float)local_158 + 0.0; - local_14c.x = fVar28 * 6.0 + local_164; + local_14c.x = fVar27 * 6.0 + local_164; local_190 = g_vectorZero.x + 0.0; local_18c = g_vectorZero.y + 1.5; } else { - EVar23 = (EntityPtr)0x3fc90fdb; + EVar21 = (EntityPtr)0x3fc90fdb; cos(); - fVar30 = 1.5707964; - local_124 = EVar23; + fVar29 = 1.5707964; + local_124 = EVar21; sin(); - fVar28 = (npc->_velocity).y; - fVar29 = (npc->_velocity).x; - fVar27 = npc->_updateTime * 3.1415927 * 0.25; - fVar31 = fVar28 * (float)local_124; - local_124 = (EntityPtr)(fVar29 * (float)local_124 - fVar28 * fVar30); - local_144 = (EntityPtr)(fVar31 + fVar29 * fVar30); + fVar27 = (npc->_velocity).y; + fVar28 = (npc->_velocity).x; + fVar26 = npc->_updateTime * 3.1415927 * 0.25; + fVar30 = fVar27 * (float)local_124; + local_124 = (EntityPtr)(fVar28 * (float)local_124 - fVar27 * fVar29); + local_144 = (EntityPtr)(fVar30 + fVar28 * fVar29); sin(); - local_14c.x = local_164 + (float)local_124 * fVar27; - local_14c.y = (float)local_158 + (float)local_144 * fVar27; - local_190 = (float)local_124 * 0.33 * fVar27 + g_vectorZero.x; - local_18c = (float)local_144 * 0.33 * fVar27 + g_vectorZero.y; + local_14c.x = local_164 + (float)local_124 * fVar26; + local_14c.y = (float)local_158 + (float)local_144 * fVar26; + local_190 = (float)local_124 * 0.33 * fVar26 + g_vectorZero.x; + local_18c = (float)local_144 * 0.33 * fVar26 + g_vectorZero.y; } local_164 = local_14c.x; local_158 = (EntityPtr)local_14c.y; @@ -218717,44 +218809,44 @@ LAB_00575092: } local_168 = local_168 * npc->_speedMultiplier; local_15c = (int *)(npc->_vectorDeque1)._offset; - piVar20 = (npc->_vectorDeque1)._proxy; + piVar18 = (npc->_vectorDeque1)._proxy; while (local_15c < (npc->_vectorDeque1)._size + (npc->_vectorDeque1)._offset) { - if (piVar20 == (int *)0x0) { - iVar24 = 0; - } - else { - iVar24 = *piVar20; - } - local_180 = (int)local_15c + 1U >> 1; - local_154 = (EntityPtr)((int)local_15c + 1U & 1); - iVar24 = *(int *)(*(int *)(iVar24 + 4) + (*(int *)(iVar24 + 8) - 1U & local_180) * 4); - fVar28 = *(float *)(iVar24 + 4 + (int)local_154 * 8); - if (piVar20 == (int *)0x0) { + if (piVar18 == (int *)0x0) { iVar22 = 0; } else { - iVar22 = *piVar20; + iVar22 = *piVar18; + } + local_180 = (int)local_15c + 1U >> 1; + local_154 = (EntityPtr)((int)local_15c + 1U & 1); + iVar22 = *(int *)(*(int *)(iVar22 + 4) + (*(int *)(iVar22 + 8) - 1U & local_180) * 4); + fVar27 = *(float *)(iVar22 + 4 + (int)local_154 * 8); + if (piVar18 == (int *)0x0) { + iVar20 = 0; + } + else { + iVar20 = *piVar18; } local_17c = (void *)((uint)local_15c & 1); local_174 = (uint)local_15c >> 1; - iVar22 = *(int *)(*(int *)(iVar22 + 4) + (*(int *)(iVar22 + 8) - 1U & local_174) * 4); - *(float *)(iVar22 + (int)local_17c * 8) = - local_168 * *(float *)(iVar24 + (int)local_154 * 8) + - *(float *)(iVar22 + (int)local_17c * 8); - *(float *)(iVar22 + 4 + (int)local_17c * 8) = - local_168 * fVar28 + *(float *)(iVar22 + 4 + (int)local_17c * 8); - if (piVar20 == (int *)0x0) { - iVar24 = 0; + iVar20 = *(int *)(*(int *)(iVar20 + 4) + (*(int *)(iVar20 + 8) - 1U & local_174) * 4); + *(float *)(iVar20 + (int)local_17c * 8) = + local_168 * *(float *)(iVar22 + (int)local_154 * 8) + + *(float *)(iVar20 + (int)local_17c * 8); + *(float *)(iVar20 + 4 + (int)local_17c * 8) = + local_168 * fVar27 + *(float *)(iVar20 + 4 + (int)local_17c * 8); + if (piVar18 == (int *)0x0) { + iVar22 = 0; } else { - iVar24 = *piVar20; + iVar22 = *piVar18; } - local_184 = *(float *)(*(int *)(iVar24 + 4) + (*(int *)(iVar24 + 8) - 1U & local_180) * 4); - if (piVar20 == (int *)0x0) { + local_184 = *(float *)(*(int *)(iVar22 + 4) + (*(int *)(iVar22 + 8) - 1U & local_180) * 4); + if (piVar18 == (int *)0x0) { local_178 = 0.0; } else { - local_178 = (float)*piVar20; + local_178 = (float)*piVar18; } local_144 = (EntityPtr)((int)local_15c + 2U & 1); local_160 = (Entity_NPC *)((int)local_15c + 2U >> 1); @@ -218766,196 +218858,196 @@ LAB_00575092: } local_188 = local_16c * *(float *)((int)local_184 + (int)local_154 * 8); local_16c = local_16c * *(float *)((int)local_184 + 4 + (int)local_154 * 8); - iVar24 = Random(); - fVar28 = (float)((double)iVar24 + __uint_to_double_fixup[-(iVar24 >> 0x1f)]) * 2.3283064e-10 * + iVar22 = Random(); + fVar27 = (float)((double)iVar22 + __uint_to_double_fixup[-(iVar22 >> 0x1f)]) * 2.3283064e-10 * 3.14; - fVar28 = fVar28 + fVar28; - local_184 = fVar28; + fVar27 = fVar27 + fVar27; + local_184 = fVar27; sin(); - local_194 = fVar28; - iVar24 = Random(); - local_178 = (float)((double)iVar24 + __uint_to_double_fixup[-(iVar24 >> 0x1f)]) * + local_194 = fVar27; + iVar22 = Random(); + local_178 = (float)((double)iVar22 + __uint_to_double_fixup[-(iVar22 >> 0x1f)]) * 2.3283064e-10; - fVar28 = local_184; + fVar27 = local_184; cos(); - if (piVar20 == (int *)0x0) { - iVar24 = 0; + if (piVar18 == (int *)0x0) { + iVar22 = 0; } else { - iVar24 = *piVar20; + iVar22 = *piVar18; } - fVar29 = *(float *)(*(int *)(*(int *)(iVar24 + 4) + - (*(int *)(iVar24 + 8) - 1U & (uint)local_160) * 4) + + fVar28 = *(float *)(*(int *)(*(int *)(iVar22 + 4) + + (*(int *)(iVar22 + 8) - 1U & (uint)local_160) * 4) + (int)local_144 * 8); - if (piVar20 == (int *)0x0) { - iVar24 = 0; + if (piVar18 == (int *)0x0) { + iVar22 = 0; } else { - iVar24 = *piVar20; + iVar22 = *piVar18; } - iVar24 = *(int *)(*(int *)(iVar24 + 4) + (*(int *)(iVar24 + 8) - 1U & local_180) * 4); - *(float *)(iVar24 + (int)local_154 * 8) = - local_188 + fVar29 * fVar28 * local_178 * 0.3 * local_168; - *(float *)(iVar24 + 4 + (int)local_154 * 8) = - local_16c + fVar29 * local_194 * local_178 * 0.3 * local_168; - if (piVar20 == (int *)0x0) { - iVar24 = 0; + iVar22 = *(int *)(*(int *)(iVar22 + 4) + (*(int *)(iVar22 + 8) - 1U & local_180) * 4); + *(float *)(iVar22 + (int)local_154 * 8) = + local_188 + fVar28 * fVar27 * local_178 * 0.3 * local_168; + *(float *)(iVar22 + 4 + (int)local_154 * 8) = + local_16c + fVar28 * local_194 * local_178 * 0.3 * local_168; + if (piVar18 == (int *)0x0) { + iVar22 = 0; } else { - iVar24 = *piVar20; + iVar22 = *piVar18; } local_188 = 0.0; - local_16c = *(float *)(*(int *)(*(int *)(iVar24 + 4) + - (*(int *)(iVar24 + 8) - 1U & (uint)local_160) * 4) + + local_16c = *(float *)(*(int *)(*(int *)(iVar22 + 4) + + (*(int *)(iVar22 + 8) - 1U & (uint)local_160) * 4) + (int)local_144 * 8) - local_168 * 0.08; - pfVar14 = &local_16c; + pfVar12 = &local_16c; if (local_16c <= 0.0) { - pfVar14 = &local_188; + pfVar12 = &local_188; } - if (piVar20 == (int *)0x0) { - iVar24 = 0; + if (piVar18 == (int *)0x0) { + iVar22 = 0; } else { - iVar24 = *piVar20; + iVar22 = *piVar18; } - *(float *)(*(int *)(*(int *)(iVar24 + 4) + (*(int *)(iVar24 + 8) - 1U & (uint)local_160) * 4) - + (int)local_144 * 8) = *pfVar14; - if (piVar20 == (int *)0x0) { - iVar24 = 0; + *(float *)(*(int *)(*(int *)(iVar22 + 4) + (*(int *)(iVar22 + 8) - 1U & (uint)local_160) * 4) + + (int)local_144 * 8) = *pfVar12; + if (piVar18 == (int *)0x0) { + iVar22 = 0; } else { - iVar24 = *piVar20; + iVar22 = *piVar18; } - iVar24 = *(int *)(*(int *)(iVar24 + 4) + (*(int *)(iVar24 + 8) - 1U & local_174) * 4); - fVar28 = (float)local_158 - *(float *)(iVar24 + 4 + (int)local_17c * 8); - fVar29 = local_164 - *(float *)(iVar24 + (int)local_17c * 8); - fVar28 = fVar28 * fVar28 + fVar29 * fVar29; + iVar22 = *(int *)(*(int *)(iVar22 + 4) + (*(int *)(iVar22 + 8) - 1U & local_174) * 4); + fVar27 = (float)local_158 - *(float *)(iVar22 + 4 + (int)local_17c * 8); + fVar28 = local_164 - *(float *)(iVar22 + (int)local_17c * 8); + fVar27 = fVar27 * fVar27 + fVar28 * fVar28; sqrtf(); - fVar29 = 40.0; - if (40.0 < fVar28) { - fVar30 = 0.6; + fVar28 = 40.0; + if (40.0 < fVar27) { + fVar29 = 0.6; Math::timescale_factor(); - fVar29 = fVar30 * (fVar28 - fVar29) + fVar29; - if (piVar20 == (int *)0x0) { - iVar24 = 0; - } - else { - iVar24 = *piVar20; - } - iVar24 = *(int *)(*(int *)(iVar24 + 4) + (*(int *)(iVar24 + 8) - 1U & local_174) * 4); - fVar30 = *(float *)(iVar24 + 4 + (int)local_17c * 8); - if (piVar20 == (int *)0x0) { + fVar28 = fVar29 * (fVar27 - fVar28) + fVar28; + if (piVar18 == (int *)0x0) { iVar22 = 0; } else { - iVar22 = *piVar20; + iVar22 = *piVar18; } iVar22 = *(int *)(*(int *)(iVar22 + 4) + (*(int *)(iVar22 + 8) - 1U & local_174) * 4); - *(float *)(iVar22 + (int)local_17c * 8) = - local_164 + ((*(float *)(iVar24 + (int)local_17c * 8) - local_164) * fVar29) / fVar28; - *(float *)(iVar22 + 4 + (int)local_17c * 8) = - (float)local_158 + ((fVar30 - (float)local_158) * fVar29) / fVar28; + fVar29 = *(float *)(iVar22 + 4 + (int)local_17c * 8); + if (piVar18 == (int *)0x0) { + iVar20 = 0; + } + else { + iVar20 = *piVar18; + } + iVar20 = *(int *)(*(int *)(iVar20 + 4) + (*(int *)(iVar20 + 8) - 1U & local_174) * 4); + *(float *)(iVar20 + (int)local_17c * 8) = + local_164 + ((*(float *)(iVar22 + (int)local_17c * 8) - local_164) * fVar28) / fVar27; + *(float *)(iVar20 + 4 + (int)local_17c * 8) = + (float)local_158 + ((fVar29 - (float)local_158) * fVar28) / fVar27; } - if (piVar20 == (int *)0x0) { - iVar24 = 0; + if (piVar18 == (int *)0x0) { + iVar22 = 0; } else { - iVar24 = *piVar20; + iVar22 = *piVar18; } - if ((0.0 < *(float *)(*(int *)(*(int *)(iVar24 + 4) + - (*(int *)(iVar24 + 8) - 1U & (uint)local_160) * 4) + + if ((0.0 < *(float *)(*(int *)(*(int *)(iVar22 + 4) + + (*(int *)(iVar22 + 8) - 1U & (uint)local_160) * 4) + (int)local_144 * 8)) || (local_128 == 2)) { local_15c = (int *)((int)local_15c + 3); } else { - puVar15 = (undefined4 *) + puVar13 = (undefined4 *) std::deque::erase - (local_138,piVar20,0,local_15c,piVar20,0,(int)local_15c + 3); - piVar20 = (int *)*puVar15; - local_15c = (int *)puVar15[2]; + (local_138,piVar18,0,local_15c,piVar18,0,(int)local_15c + 3); + piVar18 = (int *)*puVar13; + local_15c = (int *)puVar13[2]; } } if ((local_128 != 2) && (((npc->_vectorDeque1)._size == 0 || - (uVar18 = (npc->_vectorDeque1)._offset, uVar21 = uVar18 & 1, - iVar24 = *(int *)((int)(npc->_vectorDeque1)._map + - ((npc->_vectorDeque1)._mapSize - 1 & uVar18 >> 1) * 4), - fVar28 = (float)local_158 - *(float *)(iVar24 + 4 + uVar21 * 8), - fVar29 = local_164 - *(float *)(iVar24 + uVar21 * 8), - 8.0 < fVar28 * fVar28 + fVar29 * fVar29)))) { + (uVar16 = (npc->_vectorDeque1)._offset, uVar19 = uVar16 & 1, + iVar22 = *(int *)((int)(npc->_vectorDeque1)._map + + ((npc->_vectorDeque1)._mapSize - 1 & uVar16 >> 1) * 4), + fVar27 = (float)local_158 - *(float *)(iVar22 + 4 + uVar19 * 8), + fVar28 = local_164 - *(float *)(iVar22 + uVar19 * 8), + 8.0 < fVar27 * fVar27 + fVar28 * fVar28)))) { if (local_140 != (void *)0x0) { local_124 = *(EntityPtr *)((int)local_140 + 0x10); } - iVar24 = Random(); + iVar22 = Random(); local_16c = 0.0; - local_170 = ((float)((double)iVar24 + __uint_to_double_fixup[-(iVar24 >> 0x1f)]) * + local_170 = ((float)((double)iVar22 + __uint_to_double_fixup[-(iVar22 >> 0x1f)]) * 2.3283064e-10 * 0.2 + 0.6) * (float)local_124; std::deque::push_back(&local_170); std::deque::push_back(&local_190); std::deque::push_back(&local_14c); } if ((local_140 == (void *)0x0) || (*(char *)((int)local_140 + 0xc) == '\0')) { - local_58 = 0; - pvStack_54 = (void *)0x0; - local_50 = (void *)0x0; - pLVar12 = ANM2::GetLayer(&npc->_sprite,(byte *)0x2); - puVar15 = (undefined4 *)&pLVar12->field_0x48; - if ((float *)puVar15 == &local_78) goto LAB_0057597a; - *puVar15 = 0x3f800000; - *(undefined4 *)&pLVar12->field_0x4c = 0x3f800000; - *(undefined4 *)&pLVar12->field_0x50 = 0x3f800000; - *(undefined4 *)&pLVar12->field_0x54 = 0; - *(undefined4 *)&pLVar12->field_0x58 = 0; - *(undefined4 *)&pLVar12->field_0x5c = 0; - *(undefined4 *)&pLVar12->field_0x60 = 0; - *(undefined4 *)&pLVar12->field_0x64 = 0; - *(ulonglong *)&pLVar12->field_0x68 = CONCAT44(pvStack_54,local_58); - pvVar16 = local_50; + EStack_74._velocity.y = 0.0; + EStack_74._flags = 0; + EStack_74._entity = (void *)0x0; + pLVar10 = ANM2::GetLayer(&npc->_sprite,(byte *)0x2); + pCVar24 = &pLVar10->_color; + if (pCVar24 == (ColorMod *)&local_78) goto LAB_0057597a; + pCVar24->_tint[0] = 1.0; + (pLVar10->_color)._tint[1] = 1.0; + (pLVar10->_color)._tint[2] = 1.0; + (pLVar10->_color)._tint[3] = 0.0; + (pLVar10->_color)._colorize[0] = 0.0; + (pLVar10->_color)._colorize[1] = 0.0; + (pLVar10->_color)._colorize[2] = 0.0; + (pLVar10->_color)._colorize[3] = 0.0; + *(ulonglong *)(pLVar10->_color)._offset = CONCAT44(EStack_74._flags,EStack_74._velocity.y); + pvVar14 = EStack_74._entity; } else { - pLVar12 = ANM2::GetLayer(&npc->_sprite,(byte *)0x2); - puVar15 = (undefined4 *)&pLVar12->field_0x48; - if (puVar15 == (undefined4 *)((int)local_140 + 0x18)) goto LAB_0057597a; - uVar11 = *(undefined4 *)((int)local_140 + 0x1c); - uVar4 = *(undefined4 *)((int)local_140 + 0x20); - uVar5 = *(undefined4 *)((int)local_140 + 0x24); - *puVar15 = *(undefined4 *)((int)local_140 + 0x18); - *(undefined4 *)&pLVar12->field_0x4c = uVar11; - *(undefined4 *)&pLVar12->field_0x50 = uVar4; - *(undefined4 *)&pLVar12->field_0x54 = uVar5; - uVar11 = *(undefined4 *)((int)local_140 + 0x2c); - uVar4 = *(undefined4 *)((int)local_140 + 0x30); - uVar5 = *(undefined4 *)((int)local_140 + 0x34); - *(undefined4 *)&pLVar12->field_0x58 = *(undefined4 *)((int)local_140 + 0x28); - *(undefined4 *)&pLVar12->field_0x5c = uVar11; - *(undefined4 *)&pLVar12->field_0x60 = uVar4; - *(undefined4 *)&pLVar12->field_0x64 = uVar5; - *(undefined8 *)&pLVar12->field_0x68 = *(undefined8 *)((int)local_140 + 0x38); - pvVar16 = *(void **)((int)local_140 + 0x40); + pLVar10 = ANM2::GetLayer(&npc->_sprite,(byte *)0x2); + pCVar24 = &pLVar10->_color; + if (pCVar24 == (ColorMod *)((int)local_140 + 0x18)) goto LAB_0057597a; + fVar27 = *(float *)((int)local_140 + 0x1c); + fVar28 = *(float *)((int)local_140 + 0x20); + fVar29 = *(float *)((int)local_140 + 0x24); + pCVar24->_tint[0] = *(float *)((int)local_140 + 0x18); + (pLVar10->_color)._tint[1] = fVar27; + (pLVar10->_color)._tint[2] = fVar28; + (pLVar10->_color)._tint[3] = fVar29; + fVar27 = *(float *)((int)local_140 + 0x2c); + fVar28 = *(float *)((int)local_140 + 0x30); + fVar29 = *(float *)((int)local_140 + 0x34); + (pLVar10->_color)._colorize[0] = *(float *)((int)local_140 + 0x28); + (pLVar10->_color)._colorize[1] = fVar27; + (pLVar10->_color)._colorize[2] = fVar28; + (pLVar10->_color)._colorize[3] = fVar29; + *(undefined8 *)(pLVar10->_color)._offset = *(undefined8 *)((int)local_140 + 0x38); + pvVar14 = *(void **)((int)local_140 + 0x40); } - puVar15[10] = pvVar16; + pCVar24->_offset[2] = (float)pvVar14; LAB_0057597a: - pLVar12 = ANM2::GetLayer(&npc->_sprite,(byte *)0x1); - if ((undefined4 *)&pLVar12->field_0x48 == puVar15) { + pLVar10 = ANM2::GetLayer(&npc->_sprite,(byte *)0x1); + if (&pLVar10->_color == pCVar24) { ExceptionList = local_1c; return; } - uVar11 = puVar15[1]; - uVar4 = puVar15[2]; - uVar5 = puVar15[3]; - *(undefined4 *)&pLVar12->field_0x48 = *puVar15; - *(undefined4 *)&pLVar12->field_0x4c = uVar11; - *(undefined4 *)&pLVar12->field_0x50 = uVar4; - *(undefined4 *)&pLVar12->field_0x54 = uVar5; - uVar11 = puVar15[5]; - uVar4 = puVar15[6]; - uVar5 = puVar15[7]; - *(undefined4 *)&pLVar12->field_0x58 = puVar15[4]; - *(undefined4 *)&pLVar12->field_0x5c = uVar11; - *(undefined4 *)&pLVar12->field_0x60 = uVar4; - *(undefined4 *)&pLVar12->field_0x64 = uVar5; - *(undefined8 *)&pLVar12->field_0x68 = *(undefined8 *)(puVar15 + 8); - *(undefined4 *)&pLVar12->field_0x70 = puVar15[10]; + fVar27 = pCVar24->_tint[1]; + fVar28 = pCVar24->_tint[2]; + fVar29 = pCVar24->_tint[3]; + (pLVar10->_color)._tint[0] = pCVar24->_tint[0]; + (pLVar10->_color)._tint[1] = fVar27; + (pLVar10->_color)._tint[2] = fVar28; + (pLVar10->_color)._tint[3] = fVar29; + fVar27 = pCVar24->_colorize[1]; + fVar28 = pCVar24->_colorize[2]; + fVar29 = pCVar24->_colorize[3]; + (pLVar10->_color)._colorize[0] = pCVar24->_colorize[0]; + (pLVar10->_color)._colorize[1] = fVar27; + (pLVar10->_color)._colorize[2] = fVar28; + (pLVar10->_color)._colorize[3] = fVar29; + *(undefined8 *)(pLVar10->_color)._offset = *(undefined8 *)pCVar24->_offset; + (pLVar10->_color)._offset[2] = pCVar24->_offset[2]; ExceptionList = local_1c; return; } @@ -218963,96 +219055,96 @@ LAB_0057597a: puStack_20 = local_4c + 0x48; std::deque::resize((npc->_vectorDeque1)._size); if ((npc->_vectorDeque1)._size != 0) { - uVar18 = (npc->_vectorDeque2)._offset; - pvVar16 = (npc->_vectorDeque2)._proxy; - iVar24 = (npc->_vectorDeque1)._size + (npc->_vectorDeque1)._offset; - pvVar33 = (npc->_vectorDeque1)._proxy; - uVar21 = (npc->_vectorDeque1)._offset; - pvVar13 = (npc->_vectorDeque1)._proxy; + uVar16 = (npc->_vectorDeque2)._offset; + pvVar14 = (npc->_vectorDeque2)._proxy; + iVar22 = (npc->_vectorDeque1)._size + (npc->_vectorDeque1)._offset; + pvVar32 = (npc->_vectorDeque1)._proxy; + uVar19 = (npc->_vectorDeque1)._offset; + pvVar11 = (npc->_vectorDeque1)._proxy; goto LAB_00575082; } goto LAB_00575092; } - iVar22 = (int)npc->_updateTime - (int)npc->_prevUpdateTime; + iVar20 = (int)npc->_updateTime - (int)npc->_prevUpdateTime; puStack_20 = local_4c + 0x48; local_174 = Entity::GetIntervalTicks((Entity *)npc,local_24); - iVar24 = npc->_state; - if ((((iVar24 == 3) || (iVar24 == 8)) || - ((iVar24 == 7 && - (cVar7 = ANM2::WasEventTriggered(&npc->_sprite,"Shoot"), iVar24 = extraout_ECX, cVar7 == '\0' + iVar22 = npc->_state; + if ((((iVar22 == 3) || (iVar22 == 8)) || + ((iVar22 == 7 && + (cVar5 = ANM2::WasEventTriggered(&npc->_sprite,"Shoot"), iVar22 = extraout_ECX, cVar5 == '\0' )))) && (npc->_health <= npc->_maxHitPoints * 0.25)) { ANM2::Play(&npc->_sprite,(byte *)"Transition",0); npc->_state = 0x10; npc->_entityCollisionClass = 2; npc->_shadowSize = *(float *)((int)npc->_config + 0x24); FUN_005729a0(1); - iVar24 = extraout_ECX_00; + iVar22 = extraout_ECX_00; } switch(npc->_state) { case 0: local_78 = 0.8; - auStack_74._0_4_ = 0x3f400000; - auStack_74._4_4_ = 0x3f800000; - auStack_74._8_4_ = 0x3f000000; - local_58 = 0; - auStack_74._12_4_ = 0x40066666; - auStack_74._16_4_ = (void *)0x3fd9999a; - auStack_74._20_4_ = 2.5; - auStack_74._24_4_ = (void *)0x3f800000; - pvStack_54 = (void *)0x0; - local_50 = (void *)0x0; + EStack_74._type = 0x3f400000; + EStack_74._variant = 0x3f800000; + EStack_74._spawnerType = 0x3f000000; + EStack_74._velocity.y = 0.0; + EStack_74._spawnerVariant = 0x40066666; + EStack_74._position.x = 1.7; + EStack_74._position.y = 2.5; + EStack_74._velocity.x = 1.0; + EStack_74._flags = 0; + EStack_74._entity = (void *)0x0; Color::operator_assign(&local_78); npc->_state = 3; npc->_aiCallFlags = 10; ANM2::PlayOverlay("Trail",0); - pLVar12 = ANM2::GetLayer(&npc->_sprite,(byte *)0x1); - pLVar12->_visible = 0; - pLVar12 = ANM2::GetLayer(&npc->_sprite,(byte *)0x2); - pLVar12->_visible = 0; + pLVar10 = ANM2::GetLayer(&npc->_sprite,(byte *)0x1); + pLVar10->_visible = 0; + pLVar10 = ANM2::GetLayer(&npc->_sprite,(byte *)0x2); + pLVar10->_visible = 0; npc->_entityCollisionClass = 2; npc->_entityGridCollisionClass = 3; local_140 = (int *)0x1; Entity_NPC::QueryNPCsType(local_13c,0x379,0xffffffff); local_14 = 0.0; local_128 = 0; - piVar20 = (int *)0x1; + piVar18 = (int *)0x1; if (local_130 != 0) { - iVar24 = local_138[0]; + iVar22 = local_138[0]; do { - iVar22 = *(int *)(iVar24 + local_128 * 4); - if (iVar22 != 0) { - if ((((1 < *(int *)&g_game->_deathmatchManager) && (*(int *)(iVar22 + 0x28) == 1)) || - (*(int *)(iVar22 + 0x28) - 10U < 0x3de)) && - ((((*(uint *)(iVar22 + 0x168) & 0x20000000) != 0) == ((npc->_flags & 0x20000000) != 0) - && (*(int *)(iVar22 + 0x3bc) == 0)))) { - *(undefined4 *)(iVar22 + 0x3bc) = npc; - std::multiset::insert((undefined4 *)(iVar22 + 0x3bc)); - fVar28 = *(float *)(iVar22 + 900) * 1.75; - *(int **)(iVar22 + 0xbc4) = local_140; - *(float *)(iVar22 + 900) = fVar28; - *(float *)(iVar22 + 0x380) = fVar28; + iVar20 = *(int *)(iVar22 + local_128 * 4); + if (iVar20 != 0) { + if ((((1 < *(int *)&g_game->_deathmatchManager) && (*(int *)(iVar20 + 0x28) == 1)) || + (*(int *)(iVar20 + 0x28) - 10U < 0x3de)) && + ((((*(uint *)(iVar20 + 0x168) & 0x20000000) != 0) == ((npc->_flags & 0x20000000) != 0) + && (*(int *)(iVar20 + 0x3bc) == 0)))) { + *(undefined4 *)(iVar20 + 0x3bc) = npc; + std::multiset::insert((undefined4 *)(iVar20 + 0x3bc)); + fVar27 = *(float *)(iVar20 + 900) * 1.75; + *(int **)(iVar20 + 0xbc4) = local_140; + *(float *)(iVar20 + 900) = fVar27; + *(float *)(iVar20 + 0x380) = fVar27; local_140 = (int *)((int)local_140 + 1); } - iVar24 = local_138[0]; + iVar22 = local_138[0]; } local_128 = local_128 + 1; } while (local_128 < local_130); - piVar20 = local_140; + piVar18 = local_140; } - npc->_i1 = (int)piVar20; + npc->_i1 = (int)piVar18; local_14 = -NAN; EntityList_Query::~EntityList_Query(); break; case 3: ANM2::Play(&npc->_sprite,s_Idle,0); PathFinder::MoveRandomlyBoss(0); - iVar24 = npc->_stateFrame; - if (-1 < iVar24) { - iVar24 = iVar24 + iVar22; - npc->_stateFrame = iVar24; + iVar22 = npc->_stateFrame; + if (-1 < iVar22) { + iVar22 = iVar22 + iVar20; + npc->_stateFrame = iVar22; } npc->_friction = npc->_friction * 0.9; - if ((0xf < iVar24) || (iVar24 < 0)) { + if ((0xf < iVar22) || (iVar22 < 0)) { local_154 = npc->_parent; if (((local_154 == (EntityPtr)0x0) || (*(int *)((int)local_154 + 0x28) != 0x379)) && (local_154 = (EntityPtr)NpcHelper::clutch_find_farthest_orbital(extraout_ECX_01), @@ -219062,27 +219154,27 @@ LAB_0057597a: FUN_005729a0(1); } else { - EVar23 = local_154; - fVar28 = (npc->_pos).y; + EVar21 = local_154; + fVar27 = (npc->_pos).y; npc->_state = 8; if (ABS(*(float *)((int)local_154 + 0x33c) - (npc->_pos).x) <= - ABS(*(float *)((int)local_154 + 0x340) - fVar28)) { - pcVar17 = "MoveStartUp"; - if (fVar28 <= *(float *)((int)local_154 + 0x340)) { - pcVar17 = "MoveStartDown"; + ABS(*(float *)((int)local_154 + 0x340) - fVar27)) { + pcVar15 = "MoveStartUp"; + if (fVar27 <= *(float *)((int)local_154 + 0x340)) { + pcVar15 = "MoveStartDown"; } } else { - pcVar17 = "MoveStart"; + pcVar15 = "MoveStart"; } - ANM2::Play(&npc->_sprite,(byte *)pcVar17,0); + ANM2::Play(&npc->_sprite,(byte *)pcVar15,0); if (npc->_child != (EntityPtr)0x0) { local_124 = (EntityPtr)&npc->_child; std::multiset::erase(&local_124); } - npc->_child = EVar23; + npc->_child = EVar21; std::multiset::insert(&npc->_child); - pMVar6 = g_manager; + pMVar4 = g_manager; if (npc->_stateFrame < 0) { if ((npc->_sprite)._animState._animData != (void *)0x0) { AnimationState::SetFrameFloat(&(npc->_sprite)._animState); @@ -219093,21 +219185,21 @@ LAB_0057597a: else { local_128 = 0x13c; seed_fart_sound_override(); - SoundEffects::Play(&pMVar6->_sfxManager,local_128,1.0,2,0,1.5,0.0); + SoundEffects::Play(&pMVar4->_sfxManager,local_128,1.0,2,0,1.5,0.0); FUN_005729a0(0); - uVar11 = Random(); - EVar23 = local_154; + uVar9 = Random(); + EVar21 = local_154; local_14c.x = *(float *)((int)local_154 + 0x33c); local_14c.y = *(float *)((int)local_154 + 0x340); - local_158 = (EntityPtr)Game::Spawn(1000,0xaf,&local_14c,&g_vectorZero,npc,0,uVar11); - uVar32 = Color::Color(0x3f4ccccd); - (*(code *)((ulonglong)uVar32 >> 0x20))((int)uVar32,0xffffffff,0xff,0,1); + local_158 = (EntityPtr)Game::Spawn(1000,0xaf,&local_14c,&g_vectorZero,npc,0,uVar9); + uVar31 = Color::Color(0x3f4ccccd); + (*(code *)((ulonglong)uVar31 >> 0x20))((int)uVar31,0xffffffff,0xff,0,1); local_144 = (EntityPtr)((int)local_158 + 0x3c4); if (*(EntityPtr *)local_144 != (EntityPtr)0x0) { local_124 = local_144; std::multiset::erase(&local_124); } - *(EntityPtr *)local_144 = EVar23; + *(EntityPtr *)local_144 = EVar21; std::multiset::insert(local_144); local_144 = (EntityPtr)((int)local_158 + 0x3bc); if (*(EntityPtr *)local_144 != (EntityPtr)0x0) { @@ -219124,57 +219216,57 @@ LAB_0057597a: npc->_entityRef = local_158; std::multiset::insert(&npc->_entityRef); } - if (*(int *)((int)EVar23 + 0xb64) != 0x10) { - *(undefined4 *)((int)EVar23 + 0xb64) = 7; - ANM2::Play((ANM2 *)((int)EVar23 + 0x48),(byte *)"Stunned",0); - fVar28 = g_vectorZero.y; - *(float *)((int)EVar23 + 0x334) = g_vectorZero.x; - *(float *)((int)EVar23 + 0x338) = fVar28; + if (*(int *)((int)EVar21 + 0xb64) != 0x10) { + *(undefined4 *)((int)EVar21 + 0xb64) = 7; + ANM2::Play((ANM2 *)((int)EVar21 + 0x48),(byte *)"Stunned",0); + fVar27 = g_vectorZero.y; + *(float *)((int)EVar21 + 0x334) = g_vectorZero.x; + *(float *)((int)EVar21 + 0x338) = fVar27; } (npc->_sprite)._flipX = - (npc->_pos).x <= *(float *)((int)EVar23 + 0x33c) && - *(float *)((int)EVar23 + 0x33c) != (npc->_pos).x; + (npc->_pos).x <= *(float *)((int)EVar21 + 0x33c) && + *(float *)((int)EVar21 + 0x33c) != (npc->_pos).x; } - iVar24 = 0; + iVar22 = 0; if (npc->_stateFrame < 0) { - iVar24 = 0x1e; + iVar22 = 0x1e; } - npc->_stateFrame = iVar24; + npc->_stateFrame = iVar22; } break; case 4: PathFinder::MoveRandomlyBoss(0); - npc->_stateFrame = npc->_stateFrame + iVar22; + npc->_stateFrame = npc->_stateFrame + iVar20; npc->_friction = npc->_friction * 0.9; if (8 < npc->_stateFrame) { - pEVar9 = Entity_NPC::GetPlayerTarget(npc); - local_14c.x = (pEVar9->_pos).x; - local_14c.y = (pEVar9->_pos).y; + pEVar7 = Entity_NPC::GetPlayerTarget(npc); + local_14c.x = (pEVar7->_pos).x; + local_14c.y = (pEVar7->_pos).y; local_144 = (EntityPtr)local_14c.y; local_124 = (EntityPtr)local_14c.x; - cVar7 = Vector::operator_ne(&g_vectorZero); - if (cVar7 != '\0') { + cVar5 = Vector::operator_ne(&g_vectorZero); + if (cVar5 != '\0') { npc->_state = 9; ANM2::Play(&npc->_sprite,(byte *)"MoveStart2",0); fVar28 = (npc->_pos).x; - fVar29 = (npc->_pos).x; + fVar27 = (npc->_pos).x; (npc->_targetPosition).x = (float)local_124; (npc->_targetPosition).y = (float)local_144; - (npc->_sprite)._flipX = fVar29 <= (float)local_124 && (float)local_124 != fVar28; + (npc->_sprite)._flipX = fVar27 <= (float)local_124 && (float)local_124 != fVar28; LAB_00574b41: npc->_stateFrame = 0; } } break; case 6: - EVar23 = npc->_child; + EVar21 = npc->_child; npc->_friction = npc->_friction * 0.9; - if (((EVar23 == (EntityPtr)0x0) || (*(char *)((int)EVar23 + 0x173) != '\0')) || - (cVar7 = Entity::HasEntityFlags(0x10,0), iVar24 = extraout_ECX_02, cVar7 != '\0')) { + if (((EVar21 == (EntityPtr)0x0) || (*(char *)((int)EVar21 + 0x173) != '\0')) || + (cVar5 = Entity::HasEntityFlags(0x10,0), iVar22 = extraout_ECX_02, cVar5 != '\0')) { if (npc->_entityCollisionClass == 0) { - EVar23 = (EntityPtr)NpcHelper::clutch_find_farthest_orbital(iVar24); - local_154 = EVar23; - if (EVar23 == (EntityPtr)0x0) { + EVar21 = (EntityPtr)NpcHelper::clutch_find_farthest_orbital(iVar22); + local_154 = EVar21; + if (EVar21 == (EntityPtr)0x0) { ANM2::Play(&npc->_sprite,&DAT_00b61c10,0); npc->_state = 7; npc->_stateFrame = 0; @@ -219185,50 +219277,50 @@ LAB_00574b41: local_124 = (EntityPtr)&npc->_parent; std::multiset::erase(&local_124); } - npc->_parent = EVar23; + npc->_parent = EVar21; std::multiset::insert(&npc->_parent); - pMVar6 = g_manager; + pMVar4 = g_manager; npc->_state = 0xb; local_128 = 0x13c; seed_fart_sound_override(); - SoundEffects::Play(&pMVar6->_sfxManager,local_128,1.0,2,0,1.5,0.0); + SoundEffects::Play(&pMVar4->_sfxManager,local_128,1.0,2,0,1.5,0.0); FUN_005729a0(1); - uVar11 = Random(); + uVar9 = Random(); local_14c.x = *(float *)((int)local_154 + 0x33c); local_14c.y = *(float *)((int)local_154 + 0x340); - EVar23 = (EntityPtr)Game::Spawn(1000,0xaf,&local_14c,&g_vectorZero,npc,0,uVar11); - uVar32 = Color::Color(0x3f4ccccd); - (*(code *)((ulonglong)uVar32 >> 0x20))((int)uVar32,0xffffffff,0xff,0,1); - if (*(int *)((int)EVar23 + 0x3c4) != 0) { - local_124 = (EntityPtr)((int)EVar23 + 0x3c4); + EVar21 = (EntityPtr)Game::Spawn(1000,0xaf,&local_14c,&g_vectorZero,npc,0,uVar9); + uVar31 = Color::Color(0x3f4ccccd); + (*(code *)((ulonglong)uVar31 >> 0x20))((int)uVar31,0xffffffff,0xff,0,1); + if (*(int *)((int)EVar21 + 0x3c4) != 0) { + local_124 = (EntityPtr)((int)EVar21 + 0x3c4); std::multiset::erase(&local_124); } - *(EntityPtr *)((int)EVar23 + 0x3c4) = local_154; - std::multiset::insert((EntityPtr *)((int)EVar23 + 0x3c4)); - if (*(int *)((int)EVar23 + 0x3bc) != 0) { - local_124 = (EntityPtr)((int)EVar23 + 0x3bc); + *(EntityPtr *)((int)EVar21 + 0x3c4) = local_154; + std::multiset::insert((EntityPtr *)((int)EVar21 + 0x3c4)); + if (*(int *)((int)EVar21 + 0x3bc) != 0) { + local_124 = (EntityPtr)((int)EVar21 + 0x3bc); std::multiset::erase(&local_124); } - *(int *)((int)EVar23 + 0x3bc) = (int)npc; - std::multiset::insert((int *)((int)EVar23 + 0x3bc)); - (**(code **)(*(int *)EVar23 + 0xc))(); + *(int *)((int)EVar21 + 0x3bc) = (int)npc; + std::multiset::insert((int *)((int)EVar21 + 0x3bc)); + (**(code **)(*(int *)EVar21 + 0xc))(); if (npc->_entityRef != (EntityPtr)0x0) { local_124 = (EntityPtr)&npc->_entityRef; std::multiset::erase(&local_124); } - npc->_entityRef = EVar23; + npc->_entityRef = EVar21; std::multiset::insert(&npc->_entityRef); ANM2::Play(&npc->_sprite,(byte *)"Unpossess",0); } npc->_entityCollisionClass = 2; npc->_shadowSize = *(float *)((int)npc->_config + 0x24); - pEVar9 = Entity_NPC::GetPlayerTarget(npc); - local_14c.x = (npc->_pos).x - (pEVar9->_pos).x; - local_14c.y = (npc->_pos).y - (pEVar9->_pos).y; - pfVar14 = (float *)Vector::Normalized(&local_190); - fVar28 = pfVar14[1]; - (npc->_velocity).x = *pfVar14 * 20.0 + (npc->_velocity).x; - (npc->_velocity).y = fVar28 * 20.0 + (npc->_velocity).y; + pEVar7 = Entity_NPC::GetPlayerTarget(npc); + local_14c.x = (npc->_pos).x - (pEVar7->_pos).x; + local_14c.y = (npc->_pos).y - (pEVar7->_pos).y; + pfVar12 = (float *)Vector::Normalized(&local_190); + fVar27 = pfVar12[1]; + (npc->_velocity).x = *pfVar12 * 20.0 + (npc->_velocity).x; + (npc->_velocity).y = fVar27 * 20.0 + (npc->_velocity).y; } else { ANM2::Play(&npc->_sprite,s_Idle,0); @@ -219239,35 +219331,35 @@ LAB_00574b41: } } else { - fVar28 = *(float *)((int)EVar23 + 0x340); - fVar29 = (npc->_pos).y; - (npc->_velocity).x = *(float *)((int)EVar23 + 0x33c) - (npc->_pos).x; - (npc->_velocity).y = fVar28 - fVar29; - cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Sound"); - pMVar6 = g_manager; - if (cVar7 != '\0') { + fVar27 = *(float *)((int)EVar21 + 0x340); + fVar28 = (npc->_pos).y; + (npc->_velocity).x = *(float *)((int)EVar21 + 0x33c) - (npc->_pos).x; + (npc->_velocity).y = fVar27 - fVar28; + cVar5 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Sound"); + pMVar4 = g_manager; + if (cVar5 != '\0') { local_128 = 0xa2; seed_fart_sound_override(); - SoundEffects::Play(&pMVar6->_sfxManager,local_128,1.0,2,0,1.5,0.0); + SoundEffects::Play(&pMVar4->_sfxManager,local_128,1.0,2,0,1.5,0.0); } - cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - if (cVar7 != '\0') { + cVar5 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + if (cVar5 != '\0') { Entity_NPC::ChildNPC(npc); - pMVar6 = g_manager; + pMVar4 = g_manager; local_128 = 0x1cd; seed_fart_sound_override(); - SoundEffects::Play(&pMVar6->_sfxManager,local_128,1.0,2,0,1.5,0.0); + SoundEffects::Play(&pMVar4->_sfxManager,local_128,1.0,2,0,1.5,0.0); npc->_entityCollisionClass = 0; npc->_shadowSize = 0.0; - iVar24 = Entity_NPC::ChildNPC(npc); - *(undefined4 *)(iVar24 + 0xb64) = 5; - iVar24 = Entity_NPC::ChildNPC(npc); - ANM2::Play((ANM2 *)(iVar24 + 0x48),(byte *)"Transition",0); - iVar24 = Entity_NPC::ChildNPC(npc); - iVar22 = Entity_NPC::ParentNPC(npc); - if ((iVar24 == iVar22) && (iVar24 = Entity_NPC::ChildNPC(npc), *(int *)(iVar24 + 0x7c) != 0) + iVar22 = Entity_NPC::ChildNPC(npc); + *(undefined4 *)(iVar22 + 0xb64) = 5; + iVar22 = Entity_NPC::ChildNPC(npc); + ANM2::Play((ANM2 *)(iVar22 + 0x48),(byte *)"Transition",0); + iVar22 = Entity_NPC::ChildNPC(npc); + iVar20 = Entity_NPC::ParentNPC(npc); + if ((iVar22 == iVar20) && (iVar22 = Entity_NPC::ChildNPC(npc), *(int *)(iVar22 + 0x7c) != 0) ) { - AnimationState::SetFrameFloat((AnimationState *)(iVar24 + 0x78)); + AnimationState::SetFrameFloat((AnimationState *)(iVar22 + 0x78)); } } } @@ -219280,145 +219372,145 @@ LAB_00574b41: local_14 = 1.4013e-45; local_168 = 0.0; if (local_130 != 0) { - iVar24 = local_138[0]; - uVar18 = local_130; + iVar22 = local_138[0]; + uVar16 = local_130; do { - EVar23 = *(EntityPtr *)(iVar24 + (int)local_168 * 4); - local_154 = EVar23; - if (EVar23 != (EntityPtr)0x0) { - if (((((1 < *(int *)&g_game->_deathmatchManager) && (*(int *)((int)EVar23 + 0x28) == 1)) - || (*(int *)((int)EVar23 + 0x28) - 10U < 0x3de)) && - ((*(Entity_NPC **)((int)EVar23 + 0x3bc) == npc && - (*(int *)((int)EVar23 + 0xb64) == 0x10)))) && (*(int *)((int)EVar23 + 0xbc4) == 99) + EVar21 = *(EntityPtr *)(iVar22 + (int)local_168 * 4); + local_154 = EVar21; + if (EVar21 != (EntityPtr)0x0) { + if (((((1 < *(int *)&g_game->_deathmatchManager) && (*(int *)((int)EVar21 + 0x28) == 1)) + || (*(int *)((int)EVar21 + 0x28) - 10U < 0x3de)) && + ((*(Entity_NPC **)((int)EVar21 + 0x3bc) == npc && + (*(int *)((int)EVar21 + 0xb64) == 0x10)))) && (*(int *)((int)EVar21 + 0xbc4) == 99) ) { - local_124 = (EntityPtr)((int)EVar23 + 0x48); - *(undefined4 *)((int)EVar23 + 0xbc4) = 0; - pbVar25 = *(byte **)((int)EVar23 + 0x7c); - if (pbVar25 == (byte *)0x0) { + local_124 = (EntityPtr)((int)EVar21 + 0x48); + *(undefined4 *)((int)EVar21 + 0xbc4) = 0; + pbVar23 = *(byte **)((int)EVar21 + 0x7c); + if (pbVar23 == (byte *)0x0) { LAB_00573ef6: - bVar8 = ANM2::SetAnimation((ANM2 *)((int)EVar23 + 0x48),(byte *)"Collapse",1); + bVar6 = ANM2::SetAnimation((ANM2 *)((int)EVar21 + 0x48),(byte *)"Collapse",1); EVar1 = local_124; - if (bVar8 != 0) { + if (bVar6 != 0) { AnimationState::Rewind((AnimationState *)((int)local_124 + 0x30)); *(undefined1 *)((int)EVar1 + 0x44) = 1; - EVar23 = local_154; + EVar21 = local_154; } } else { - if (0xf < *(uint *)(pbVar25 + 0x14)) { - pbVar25 = *(byte **)pbVar25; + if (0xf < *(uint *)(pbVar23 + 0x14)) { + pbVar23 = *(byte **)pbVar23; } - pcVar17 = "Collapse"; + pcVar15 = "Collapse"; do { - bVar8 = *pbVar25; - bVar26 = bVar8 < (byte)*pcVar17; - if (bVar8 != *pcVar17) { + bVar6 = *pbVar23; + bVar25 = bVar6 < (byte)*pcVar15; + if (bVar6 != *pcVar15) { LAB_00573ed6: - uVar18 = -(uint)bVar26 | 1; + uVar16 = -(uint)bVar25 | 1; goto LAB_00573edb; } - if (bVar8 == 0) break; - bVar8 = pbVar25[1]; - bVar26 = bVar8 < (byte)pcVar17[1]; - if (bVar8 != pcVar17[1]) goto LAB_00573ed6; - pbVar25 = pbVar25 + 2; - pcVar17 = pcVar17 + 2; - } while (bVar8 != 0); - uVar18 = 0; + if (bVar6 == 0) break; + bVar6 = pbVar23[1]; + bVar25 = bVar6 < (byte)pcVar15[1]; + if (bVar6 != pcVar15[1]) goto LAB_00573ed6; + pbVar23 = pbVar23 + 2; + pcVar15 = pcVar15 + 2; + } while (bVar6 != 0); + uVar16 = 0; LAB_00573edb: - if ((uVar18 != 0) || - ((*(char *)(*(int *)((int)EVar23 + 0x7c) + 0x34) != '\0' && - (*(char *)((int)EVar23 + 0x8c) == '\0')))) goto LAB_00573ef6; + if ((uVar16 != 0) || + ((*(char *)(*(int *)((int)EVar21 + 0x7c) + 0x34) != '\0' && + (*(char *)((int)EVar21 + 0x8c) == '\0')))) goto LAB_00573ef6; } - if (*(int *)((int)EVar23 + 0x7c) != 0) { + if (*(int *)((int)EVar21 + 0x7c) != 0) { AnimationState::AdvancePosition - ((AnimationState *)((int)EVar23 + 0x78), - *(int *)(*(int *)((int)EVar23 + 0x7c) + 0x30) + -1); + ((AnimationState *)((int)EVar21 + 0x78), + *(int *)(*(int *)((int)EVar21 + 0x7c) + 0x30) + -1); } - pMVar6 = g_manager; + pMVar4 = g_manager; local_128 = 0x105; seed_fart_sound_override(); - SoundEffects::Play(&pMVar6->_sfxManager,local_128,0.85,2,0,1.0,0.0); - uVar11 = Random(); + SoundEffects::Play(&pMVar4->_sfxManager,local_128,0.85,2,0,1.0,0.0); + uVar9 = Random(); local_14c.x = *(float *)((int)local_154 + 0x33c); local_14c.y = *(float *)((int)local_154 + 0x340); - local_140 = (int *)Game::Spawn(1000,0xf,&local_14c,&g_vectorZero,0,0,uVar11); - EVar23 = (EntityPtr)(local_140 + 0x12); + local_140 = (int *)Game::Spawn(1000,0xf,&local_14c,&g_vectorZero,0,0,uVar9); + EVar21 = (EntityPtr)(local_140 + 0x12); local_2c = 0.0; local_28 = &DAT_0000000f; local_4c._16_4_ = 0.0; - local_124 = EVar23; + local_124 = EVar21; std::string::assign("gfx/033.010_Movable Fireplace.anm2",0x22); local_14._0_1_ = 2; - ANM2::Load((ANM2 *)EVar23,(std_string *)(local_4c + 0x10),1); + ANM2::Load((ANM2 *)EVar21,(std_string *)(local_4c + 0x10),1); local_14 = (float)CONCAT31(local_14._1_3_,1); if (&DAT_0000000f < local_28) { - puVar19 = local_28 + 1; - fVar28 = (float)local_4c._16_4_; - if ((undefined1 *)0xfff < puVar19) { - fVar28 = *(float *)(local_4c._16_4_ + -4); - puVar19 = local_28 + 0x24; - if (0x1f < (local_4c._16_4_ - (int)fVar28) - 4U) goto LAB_00574161; + puVar17 = local_28 + 1; + fVar27 = (float)local_4c._16_4_; + if ((undefined1 *)0xfff < puVar17) { + fVar27 = *(float *)(local_4c._16_4_ + -4); + puVar17 = local_28 + 0x24; + if (0x1f < (local_4c._16_4_ - (int)fVar27) - 4U) goto LAB_00574161; } - operator_delete(fVar28,puVar19); + operator_delete(fVar27,puVar17); } - piVar20 = local_140; - pbVar25 = (byte *)0x0; + piVar18 = local_140; + pbVar23 = (byte *)0x0; if (local_140[0x32] != 0) { do { - pLVar12 = ANM2::GetLayer((ANM2 *)(piVar20 + 0x12),pbVar25); - uVar5 = uRam00c34e34; - uVar4 = uRam00c34e30; - uVar11 = uRam00c34e2c; - if (&pLVar12->field_0x48 != &DAT_00c34e28) { - *(undefined4 *)&pLVar12->field_0x48 = _DAT_00c34e28; - *(undefined4 *)&pLVar12->field_0x4c = uVar11; - *(undefined4 *)&pLVar12->field_0x50 = uVar4; - *(undefined4 *)&pLVar12->field_0x54 = uVar5; - uVar5 = uRam00c34e44; - uVar4 = uRam00c34e40; - uVar11 = uRam00c34e3c; - *(undefined4 *)&pLVar12->field_0x58 = _DAT_00c34e38; - *(undefined4 *)&pLVar12->field_0x5c = uVar11; - *(undefined4 *)&pLVar12->field_0x60 = uVar4; - *(undefined4 *)&pLVar12->field_0x64 = uVar5; - uVar11 = DAT_00c34e48._4_4_; - *(undefined4 *)&pLVar12->field_0x68 = (undefined4)DAT_00c34e48; - *(undefined4 *)&pLVar12->field_0x6c = uVar11; - *(undefined4 *)&pLVar12->field_0x70 = DAT_00c34e50; + pLVar10 = ANM2::GetLayer((ANM2 *)(piVar18 + 0x12),pbVar23); + fVar29 = fRam00c34e34; + fVar28 = fRam00c34e30; + fVar27 = fRam00c34e2c; + if (&pLVar10->_color != (ColorMod *)&DAT_00c34e28) { + (pLVar10->_color)._tint[0] = _DAT_00c34e28; + (pLVar10->_color)._tint[1] = fVar27; + (pLVar10->_color)._tint[2] = fVar28; + (pLVar10->_color)._tint[3] = fVar29; + fVar29 = fRam00c34e44; + fVar28 = fRam00c34e40; + fVar27 = fRam00c34e3c; + (pLVar10->_color)._colorize[0] = _DAT_00c34e38; + (pLVar10->_color)._colorize[1] = fVar27; + (pLVar10->_color)._colorize[2] = fVar28; + (pLVar10->_color)._colorize[3] = fVar29; + fVar27 = DAT_00c34e48._4_4_; + (pLVar10->_color)._offset[0] = (float)DAT_00c34e48; + (pLVar10->_color)._offset[1] = fVar27; + (pLVar10->_color)._offset[2] = DAT_00c34e50; } - pbVar25 = pbVar25 + 1; - } while (pbVar25 < (byte *)piVar20[0x32]); + pbVar23 = pbVar23 + 1; + } while (pbVar23 < (byte *)piVar18[0x32]); npc = local_160; } ANM2::Play((ANM2 *)local_124,(byte *)"Disappear",0); (**(code **)(*local_140 + 0xc))(); - uVar18 = local_130; + uVar16 = local_130; } - iVar24 = local_138[0]; + iVar22 = local_138[0]; } local_168 = (float)((int)local_168 + 1); - } while ((uint)local_168 < uVar18); + } while ((uint)local_168 < uVar16); } local_14 = -NAN; EntityList_Query::~EntityList_Query(); } - fVar28 = (npc->_v1).x; - if (fVar28 <= 0.0) { + fVar27 = (npc->_v1).x; + if (fVar27 <= 0.0) { ANM2::Play(&npc->_sprite,(byte *)"StunEnd",0); Entity::SetParent((Entity *)npc,0); Entity::SetChild((Entity *)npc,0); - cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - if (cVar7 != '\0') { + cVar5 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + if (cVar5 != '\0') { Entity_NPC::PlaySound(npc,0x10b,1.0,2,0,1.0); Entity_NPC::PlaySound(npc,0x139,1.0,2,0,1.0); Entity_NPC::PlaySound(npc,0x1a2,2.0,2,0,1.0); Game::ShakeScreen(g_game,0x10); Game::MakeShockwave(g_game,&npc->_pos,0.035,0.025,10); } - cVar7 = ANM2::WasEventTriggered(&npc->_sprite,"Shoot"); - if ((cVar7 != '\0') && (iVar24 = Entity::GetIntervalTicks((Entity *)npc), iVar24 != 0)) { - EVar23 = (EntityPtr)0x0; + cVar5 = ANM2::WasEventTriggered(&npc->_sprite,"Shoot"); + if ((cVar5 != '\0') && (iVar22 = Entity::GetIntervalTicks((Entity *)npc), iVar22 != 0)) { + EVar21 = (EntityPtr)0x0; local_150 = (EntityPtr)0x0; local_14c.x = 0.0; local_14c.y = 0.0; @@ -219427,10 +219519,10 @@ LAB_00573edb: local_14 = (float)CONCAT31(local_14._1_3_,4); local_128 = 0; if (local_130 != 0) { - iVar24 = local_138[0]; - uVar18 = local_130; + iVar22 = local_138[0]; + uVar16 = local_130; do { - EVar1 = *(EntityPtr *)(iVar24 + local_128 * 4); + EVar1 = *(EntityPtr *)(iVar22 + local_128 * 4); if (EVar1 != (EntityPtr)0x0) { if ((((1 < *(int *)&g_game->_deathmatchManager) && (*(uint *)((int)EVar1 + 0x28) == 1) ) || (*(uint *)((int)EVar1 + 0x28) - 10 < 0x3de)) && @@ -219438,25 +219530,25 @@ LAB_00573edb: if ((((*(uint *)((int)EVar1 + 0x168) & 0x20000000) != 0) == ((npc->_flags & 0x20000000) != 0)) && (*(Entity_NPC **)((int)EVar1 + 0x3bc) == npc)) { - if (EVar23 == (EntityPtr)local_14c.y) { - std::vector::_Emplace_reallocate(EVar23,&local_124); - EVar23 = (EntityPtr)local_14c.x; + if (EVar21 == (EntityPtr)local_14c.y) { + std::vector::_Emplace_reallocate(EVar21,&local_124); + EVar21 = (EntityPtr)local_14c.x; } else { - *(EntityPtr *)EVar23 = EVar1; - local_14c.x = (float)((int)EVar23 + 4); - EVar23 = (EntityPtr)local_14c.x; + *(EntityPtr *)EVar21 = EVar1; + local_14c.x = (float)((int)EVar21 + 4); + EVar21 = (EntityPtr)local_14c.x; } } - uVar18 = local_130; + uVar16 = local_130; } - iVar24 = local_138[0]; + iVar22 = local_138[0]; } local_128 = local_128 + 1; - } while (local_128 < uVar18); - if (local_150 != EVar23) { - iVar24 = Isaac::Random((int)EVar23 - (int)local_150 >> 2); - FUN_00572c10(*(EntityPtr *)((int)local_150 + iVar24 * 4)); + } while (local_128 < uVar16); + if (local_150 != EVar21) { + iVar22 = Isaac::Random((int)EVar21 - (int)local_150 >> 2); + FUN_00572c10(*(EntityPtr *)((int)local_150 + iVar22 * 4)); } } EntityList_Query::~EntityList_Query(); @@ -219466,25 +219558,25 @@ LAB_00573edb: if (((npc->_sprite)._animState._animData == (void *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { Entity_NPC::QueryNPCsType(local_13c,0x379,0xffffffff); - uVar18 = 0; + uVar16 = 0; local_14 = 7.00649e-45; if (local_130 != 0) { - iVar24 = local_138[0]; + iVar22 = local_138[0]; do { - iVar22 = *(int *)(iVar24 + uVar18 * 4); - if (iVar22 != 0) { - if ((((1 < *(int *)&g_game->_deathmatchManager) && (*(int *)(iVar22 + 0x28) == 1)) || - (*(int *)(iVar22 + 0x28) - 10U < 0x3de)) && - (((*(int *)(iVar22 + 0xb64) == 0x10 && - (((*(uint *)(iVar22 + 0x168) & 0x20000000) != 0) == - ((npc->_flags & 0x20000000) != 0))) && (*(Entity_NPC **)(iVar22 + 0x3bc) == npc) + iVar20 = *(int *)(iVar22 + uVar16 * 4); + if (iVar20 != 0) { + if ((((1 < *(int *)&g_game->_deathmatchManager) && (*(int *)(iVar20 + 0x28) == 1)) || + (*(int *)(iVar20 + 0x28) - 10U < 0x3de)) && + (((*(int *)(iVar20 + 0xb64) == 0x10 && + (((*(uint *)(iVar20 + 0x168) & 0x20000000) != 0) == + ((npc->_flags & 0x20000000) != 0))) && (*(Entity_NPC **)(iVar20 + 0x3bc) == npc) ))) { - FUN_00572c10(iVar22); + FUN_00572c10(iVar20); } - iVar24 = local_138[0]; + iVar22 = local_138[0]; } - uVar18 = uVar18 + 1; - } while (uVar18 < local_130); + uVar16 = uVar16 + 1; + } while (uVar16 < local_130); } ANM2::Play(&npc->_sprite,s_Idle,0); npc->_state = 3; @@ -219497,15 +219589,15 @@ LAB_00573edb: if (((npc->_sprite)._animState._animData == (void *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { ANM2::Play(&npc->_sprite,(byte *)"StunLoop",0); - fVar28 = (npc->_v1).x; + fVar27 = (npc->_v1).x; } - pfVar14 = &npc->_pendingDamage; + pfVar12 = &npc->_pendingDamage; local_124 = (EntityPtr)(npc->_speedMultiplier * 0.1); - pEVar10 = &local_124; - if ((float)local_124 < *pfVar14 || (float)local_124 == *pfVar14) { - pEVar10 = (EntityPtr *)pfVar14; + pEVar8 = &local_124; + if ((float)local_124 < *pfVar12 || (float)local_124 == *pfVar12) { + pEVar8 = (EntityPtr *)pfVar12; } - (npc->_v1).x = fVar28 - (float)*pEVar10; + (npc->_v1).x = fVar27 - (float)*pEVar8; } break; case 8: @@ -219520,36 +219612,36 @@ LAB_00573edb: ((npc->_sprite)._animState._isPlaying == 0)) { ANM2::Play(&npc->_sprite,(byte *)"MoveLoop",0); } - npc->_stateFrame = npc->_stateFrame + iVar22; - cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - pMVar6 = g_manager; - if (cVar7 != '\0') { + npc->_stateFrame = npc->_stateFrame + iVar20; + cVar5 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + pMVar4 = g_manager; + if (cVar5 != '\0') { local_128 = 0x2bd; seed_fart_sound_override(); - SoundEffects::Play(&pMVar6->_sfxManager,local_128,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar4->_sfxManager,local_128,1.0,2,0,1.0,0.0); FUN_005729a0(0); } - cVar7 = ANM2::WasEventTriggered(&npc->_sprite,"Shoot"); - if ((cVar7 == '\0') && - ((pvVar16 = (npc->_sprite)._animState._animData, pvVar16 == (void *)0x0 || - (*(char *)((int)pvVar16 + 0x34) == '\0')))) break; + cVar5 = ANM2::WasEventTriggered(&npc->_sprite,"Shoot"); + if ((cVar5 == '\0') && + ((pvVar14 = (npc->_sprite)._animState._animData, pvVar14 == (void *)0x0 || + (*(char *)((int)pvVar14 + 0x34) == '\0')))) break; local_144 = (EntityPtr)0x41f00000; local_124 = (EntityPtr)((float)npc->_stateFrame * 0.8); - pEVar10 = &local_124; + pEVar8 = &local_124; if (30.0 <= (float)local_124) { - pEVar10 = &local_144; + pEVar8 = &local_144; } local_17c = (void *)(*(float *)((int)npc->_child + 0x33c) - (npc->_pos).x); local_178 = *(float *)((int)npc->_child + 0x340) - (npc->_pos).y; (npc->_velocity).x = (float)local_17c; (npc->_velocity).y = local_178; - fVar28 = (float)local_17c * (float)local_17c + local_178 * local_178; + fVar27 = (float)local_17c * (float)local_17c + local_178 * local_178; sqrtf(); - if (20.0 <= fVar28) { - if (((float)*pEVar10 < fVar28) && (0.0 < fVar28)) { - fVar28 = (float)*pEVar10 / fVar28; - (npc->_velocity).y = fVar28 * local_178; - (npc->_velocity).x = fVar28 * (float)local_17c; + if (20.0 <= fVar27) { + if (((float)*pEVar8 < fVar27) && (0.0 < fVar27)) { + fVar27 = (float)*pEVar8 / fVar27; + (npc->_velocity).y = fVar27 * local_178; + (npc->_velocity).x = fVar27 * (float)local_17c; } break; } @@ -219558,41 +219650,41 @@ LAB_00573edb: npc->_stateFrame = 0; goto LAB_00574b58; case 9: - cVar7 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); - if (cVar7 != '\0') { + cVar5 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); + if (cVar5 != '\0') { ANM2::Play(&npc->_sprite,(byte *)"MoveLoop2",0); } - npc->_stateFrame = npc->_stateFrame + iVar22; - cVar7 = ANM2::WasEventTriggered(&npc->_sprite,"Shoot"); - if ((cVar7 != '\0') || (cVar7 = AnimationState::IsLoopingAnimation(), cVar7 != '\0')) { + npc->_stateFrame = npc->_stateFrame + iVar20; + cVar5 = ANM2::WasEventTriggered(&npc->_sprite,"Shoot"); + if ((cVar5 != '\0') || (cVar5 = AnimationState::IsLoopingAnimation(), cVar5 != '\0')) { local_144 = (EntityPtr)0x41f00000; - fVar30 = ((npc->_targetPosition).x - (npc->_pos).x) * 0.5; + fVar29 = ((npc->_targetPosition).x - (npc->_pos).x) * 0.5; local_124 = (EntityPtr)((float)npc->_stateFrame * 1.2); - fVar28 = (npc->_targetPosition).y; - fVar29 = (npc->_pos).y; - (npc->_velocity).x = fVar30; - pEVar10 = &local_124; + fVar27 = (npc->_targetPosition).y; + fVar28 = (npc->_pos).y; + (npc->_velocity).x = fVar29; + pEVar8 = &local_124; if (30.0 <= (float)local_124) { - pEVar10 = &local_144; + pEVar8 = &local_144; } - fVar28 = (fVar28 - fVar29) * 0.5; - (npc->_velocity).y = fVar28; - fVar28 = fVar30 * fVar30 + fVar28 * fVar28; + fVar27 = (fVar27 - fVar28) * 0.5; + (npc->_velocity).y = fVar27; + fVar27 = fVar29 * fVar29 + fVar27 * fVar27; sqrtf(); - if (fVar28 < 20.0) { + if (fVar27 < 20.0) { ANM2::Play(&npc->_sprite,(byte *)"AttackStart",0); npc->_state = 10; goto LAB_00574b41; } - if ((float)*pEVar10 < fVar28) { - Vector::Resize(*pEVar10); + if ((float)*pEVar8 < fVar27) { + Vector::Resize(*pEVar8); } } break; case 10: npc->_friction = npc->_friction * 0.9; - cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - if (cVar7 != '\0') { + cVar5 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + if (cVar5 != '\0') { Entity_NPC::PlaySound(npc,700,0.8,2,0,1.5); ProjectileParams::ProjectileParams((Entity_NPC *)&local_120); local_120.CircleAngle = 0.0; @@ -219606,8 +219698,8 @@ LAB_00573edb: Entity_NPC::FireProjectiles(npc,&npc->_pos,&local_14c,9,&local_120); npc->_stateFrame = npc->_stateFrame + 1; } - cVar7 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); - if (cVar7 != '\0') { + cVar5 = ANM2::IsFinishedImpl(&npc->_sprite,&s_empty); + if (cVar5 != '\0') { if (5 < npc->_stateFrame) { ANM2::Play(&npc->_sprite,s_Idle2,0); npc->_state = 4; @@ -219626,17 +219718,17 @@ LAB_00573edb: break; case 0x10: npc->_friction = npc->_friction * 0.8; - cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); - if (cVar7 != '\0') { + cVar5 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite,"Shoot"); + if (cVar5 != '\0') { Entity_NPC::PlaySound(npc,0x10b,1.0,2,0,1.0); Entity_NPC::PlaySound(npc,0x139,1.0,2,0,1.0); Entity_NPC::PlaySound(npc,0x1a2,1.5,2,0,1.0); Game::ShakeScreen(g_game,0x10); Game::MakeShockwave(g_game,&npc->_pos,0.035,0.025,10); } - cVar7 = ANM2::WasEventTriggered(&npc->_sprite,"Shoot"); - if ((cVar7 != '\0') && (iVar24 = Entity::GetIntervalTicks((Entity *)npc), iVar24 != 0)) { - EVar23 = (EntityPtr)0x0; + cVar5 = ANM2::WasEventTriggered(&npc->_sprite,"Shoot"); + if ((cVar5 != '\0') && (iVar22 = Entity::GetIntervalTicks((Entity *)npc), iVar22 != 0)) { + EVar21 = (EntityPtr)0x0; local_150 = (EntityPtr)0x0; local_14c.x = 0.0; local_14c.y = 0.0; @@ -219645,10 +219737,10 @@ LAB_00573edb: local_14 = (float)CONCAT31(local_14._1_3_,7); local_128 = 0; if (local_130 != 0) { - iVar24 = local_138[0]; - uVar18 = local_130; + iVar22 = local_138[0]; + uVar16 = local_130; do { - EVar1 = *(EntityPtr *)(iVar24 + local_128 * 4); + EVar1 = *(EntityPtr *)(iVar22 + local_128 * 4); if (EVar1 != (EntityPtr)0x0) { if (((1 < *(int *)&g_game->_deathmatchManager) && (*(EntityPtr *)((int)EVar1 + 0x28) == (EntityPtr)0x1)) || @@ -219657,25 +219749,25 @@ LAB_00573edb: if (((((uint)*(EntityPtr *)((int)EVar1 + 0x168) & 0x20000000) != 0) == ((npc->_flags & 0x20000000) != 0)) && (*(EntityPtr *)((int)EVar1 + 0x3bc) == (EntityPtr)npc)) { - if (EVar23 == (EntityPtr)local_14c.y) { - std::vector::_Emplace_reallocate(EVar23,&local_124); - EVar23 = (EntityPtr)local_14c.x; + if (EVar21 == (EntityPtr)local_14c.y) { + std::vector::_Emplace_reallocate(EVar21,&local_124); + EVar21 = (EntityPtr)local_14c.x; } else { - *(EntityPtr *)EVar23 = EVar1; - local_14c.x = (float)((int)EVar23 + 4); - EVar23 = (EntityPtr)local_14c.x; + *(EntityPtr *)EVar21 = EVar1; + local_14c.x = (float)((int)EVar21 + 4); + EVar21 = (EntityPtr)local_14c.x; } } - uVar18 = local_130; + uVar16 = local_130; } - iVar24 = local_138[0]; + iVar22 = local_138[0]; } local_128 = local_128 + 1; - } while (local_128 < uVar18); - if (local_150 != EVar23) { - iVar24 = Isaac::Random((int)EVar23 - (int)local_150 >> 2); - NpcHelper::clutch_spawn_fire(*(EntityPtr *)((int)local_150 + iVar24 * 4)); + } while (local_128 < uVar16); + if (local_150 != EVar21) { + iVar22 = Isaac::Random((int)EVar21 - (int)local_150 >> 2); + NpcHelper::clutch_spawn_fire(*(EntityPtr *)((int)local_150 + iVar22 * 4)); } } EntityList_Query::~EntityList_Query(); @@ -219685,25 +219777,25 @@ LAB_00573edb: if (((npc->_sprite)._animState._animData == (void *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { Entity_NPC::QueryNPCsType(local_13c,0x379,0xffffffff); - uVar18 = 0; + uVar16 = 0; local_14 = 1.12104e-44; if (local_130 != 0) { - iVar24 = local_138[0]; + iVar22 = local_138[0]; do { - iVar22 = *(int *)(iVar24 + uVar18 * 4); - if (iVar22 != 0) { - if ((((1 < *(int *)&g_game->_deathmatchManager) && (*(int *)(iVar22 + 0x28) == 1)) || - (*(int *)(iVar22 + 0x28) - 10U < 0x3de)) && - (((*(int *)(iVar22 + 0xb64) == 0x10 && - (((*(uint *)(iVar22 + 0x168) & 0x20000000) != 0) == - ((npc->_flags & 0x20000000) != 0))) && (*(Entity_NPC **)(iVar22 + 0x3bc) == npc))) + iVar20 = *(int *)(iVar22 + uVar16 * 4); + if (iVar20 != 0) { + if ((((1 < *(int *)&g_game->_deathmatchManager) && (*(int *)(iVar20 + 0x28) == 1)) || + (*(int *)(iVar20 + 0x28) - 10U < 0x3de)) && + (((*(int *)(iVar20 + 0xb64) == 0x10 && + (((*(uint *)(iVar20 + 0x168) & 0x20000000) != 0) == + ((npc->_flags & 0x20000000) != 0))) && (*(Entity_NPC **)(iVar20 + 0x3bc) == npc))) ) { - NpcHelper::clutch_spawn_fire(iVar22); + NpcHelper::clutch_spawn_fire(iVar20); } - iVar24 = local_138[0]; + iVar22 = local_138[0]; } - uVar18 = uVar18 + 1; - } while (uVar18 < local_130); + uVar16 = uVar16 + 1; + } while (uVar16 < local_130); } ANM2::Play(&npc->_sprite,s_Idle2,0); npc->_state = 4; @@ -219714,41 +219806,41 @@ LAB_00573edb: else { npc->_pendingDamage = 0.0; pfVar2 = (npc->_damageEvents)._end; - for (pfVar14 = (npc->_damageEvents)._begin; pfVar14 != pfVar2; pfVar14 = pfVar14 + 0xe) { - fVar28 = *pfVar14; - *pfVar14 = fVar28 * 0.1; - npc->_pendingDamage = fVar28 * 0.1 + npc->_pendingDamage; + for (pfVar12 = (npc->_damageEvents)._begin; pfVar12 != pfVar2; pfVar12 = pfVar12 + 0xe) { + fVar27 = *pfVar12; + *pfVar12 = fVar27 * 0.1; + npc->_pendingDamage = fVar27 * 0.1 + npc->_pendingDamage; } } } if (local_174 != 0) { LAB_00574b58: - iVar24 = 1; + iVar22 = 1; EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); - uVar18 = 0; - iVar22 = iVar24; + uVar16 = 0; + iVar20 = iVar22; if (local_130 != 0) { do { - EVar23 = *(EntityPtr *)(local_138[0] + uVar18 * 4); - iVar24 = iVar22; - if ((EVar23 != (EntityPtr)0x0) && - ((((1 < *(int *)&g_game->_deathmatchManager && (*(int *)((int)EVar23 + 0x28) == 1)) || - (*(int *)((int)EVar23 + 0x28) - 10U < 0x3de)) && - ((*(Entity_NPC **)((int)EVar23 + 0x3bc) == npc && - (*(int *)((int)EVar23 + 0xb64) != 0x10)))))) { - if (EVar23 == npc->_child) { - *(undefined4 *)((int)EVar23 + 0xbc4) = 0; + EVar21 = *(EntityPtr *)(local_138[0] + uVar16 * 4); + iVar22 = iVar20; + if ((EVar21 != (EntityPtr)0x0) && + ((((1 < *(int *)&g_game->_deathmatchManager && (*(int *)((int)EVar21 + 0x28) == 1)) || + (*(int *)((int)EVar21 + 0x28) - 10U < 0x3de)) && + ((*(Entity_NPC **)((int)EVar21 + 0x3bc) == npc && + (*(int *)((int)EVar21 + 0xb64) != 0x10)))))) { + if (EVar21 == npc->_child) { + *(undefined4 *)((int)EVar21 + 0xbc4) = 0; } else { - iVar24 = iVar22 + 1; - *(int *)((int)EVar23 + 0xbc4) = iVar22; + iVar22 = iVar20 + 1; + *(int *)((int)EVar21 + 0xbc4) = iVar20; } } - uVar18 = uVar18 + 1; - iVar22 = iVar24; - } while (uVar18 < local_130); + uVar16 = uVar16 + 1; + iVar20 = iVar22; + } while (uVar16 < local_130); } - npc->_i1 = iVar24; + npc->_i1 = iVar22; if (local_13c[0] == '\0') { local_14 = 1.26117e-44; tracked_alloc(0,0); @@ -219760,108 +219852,108 @@ LAB_00574b58: local_17c = g_game->_room; if (*(int *)((int)local_17c + 0x1264) != 0) { do { - piVar20 = *(int **)(*(int *)((int)local_17c + 0x125c) + (int)local_154 * 4); - if ((piVar20 == (int *)0x0) || - (((*(int *)&g_game->_deathmatchManager < 2 || (iVar24 = 1, piVar20[10] != 1)) && - (iVar24 = piVar20[10], 0x3dd < iVar24 - 10U)))) { - iVar24 = piVar20[10]; + piVar18 = *(int **)(*(int *)((int)local_17c + 0x125c) + (int)local_154 * 4); + if ((piVar18 == (int *)0x0) || + (((*(int *)&g_game->_deathmatchManager < 2 || (iVar22 = 1, piVar18[10] != 1)) && + (iVar22 = piVar18[10], 0x3dd < iVar22 - 10U)))) { + iVar22 = piVar18[10]; LAB_00574f1b: - if ((iVar24 == 9) && ((Entity_NPC *)piVar20[0xef] == npc)) { - piVar20[0x10e] = 0; - piVar20[0x10f] = 0; - *(undefined1 *)((int)piVar20 + 0x173) = 1; + if ((iVar22 == 9) && ((Entity_NPC *)piVar18[0xef] == npc)) { + piVar18[0x10e] = 0; + piVar18[0x10f] = 0; + *(undefined1 *)((int)piVar18 + 0x173) = 1; } } else { - local_129 = (piVar20[0x5a] & 0x20000000U) != 0; - local_15c = piVar20; - cVar7 = Entity::IsFriendly((Entity *)npc); - piVar20 = extraout_EDX; - if (local_129 != cVar7) goto LAB_00574f1b; - if (iVar24 == 0x379) { + local_129 = (piVar18[0x5a] & 0x20000000U) != 0; + local_15c = piVar18; + cVar5 = Entity::IsFriendly((Entity *)npc); + piVar18 = extraout_EDX; + if (local_129 != cVar5) goto LAB_00574f1b; + if (iVar22 == 0x379) { if ((Entity_NPC *)extraout_EDX[0xef] != npc) { LAB_00574d28: - bVar26 = false; + bVar25 = false; goto LAB_00574d2a; } extraout_EDX[0x5a] = extraout_EDX[0x5a] | 0x10; extraout_EDX[0x5b] = extraout_EDX[0x5b]; pcVar3 = *(code **)(*extraout_EDX + 0x24); - EntityRef::constructor((EntityRef *)auStack_74,(Entity *)npc); - (*pcVar3)(auStack_74); + EntityRef::constructor(&EStack_74,(Entity *)npc); + (*pcVar3)(&EStack_74); } else { - if ((iVar24 != 0x21) || (extraout_EDX[0xb] != 0xd)) goto LAB_00574d28; - bVar26 = true; + if ((iVar22 != 0x21) || (extraout_EDX[0xb] != 0xd)) goto LAB_00574d28; + bVar25 = true; LAB_00574d2a: - if (bVar26) { + if (bVar25) { pcVar3 = *(code **)(*extraout_EDX + 0x24); EntityRef::constructor((EntityRef *)local_4c,(Entity *)npc); (*pcVar3)(local_4c); - pMVar6 = g_manager; + pMVar4 = g_manager; local_128 = 0x105; seed_fart_sound_override(); - SoundEffects::Play(&pMVar6->_sfxManager,local_128,0.85,2,0,1.0,0.0); - uVar11 = Random(); + SoundEffects::Play(&pMVar4->_sfxManager,local_128,0.85,2,0,1.0,0.0); + uVar9 = Random(); local_14c.x = *(float *)(local_15c + 0xcf); local_14c.y = *(float *)(local_15c + 0xd0); - local_140 = (int *)Game::Spawn(1000,0xf,&local_14c,&g_vectorZero,0,0,uVar11); - EVar23 = (EntityPtr)(local_140 + 0x12); + local_140 = (int *)Game::Spawn(1000,0xf,&local_14c,&g_vectorZero,0,0,uVar9); + EVar21 = (EntityPtr)(local_140 + 0x12); local_2c = 0.0; local_28 = &DAT_0000000f; local_4c._16_4_ = 0.0; - local_124 = EVar23; + local_124 = EVar21; std::string::assign("gfx/033.010_Movable Fireplace.anm2",0x22); local_14 = 1.4013e-44; - ANM2::Load((ANM2 *)EVar23,(std_string *)(local_4c + 0x10),1); + ANM2::Load((ANM2 *)EVar21,(std_string *)(local_4c + 0x10),1); local_14 = -NAN; if (&DAT_0000000f < local_28) { - puVar19 = local_28 + 1; - fVar28 = (float)local_4c._16_4_; - if ((undefined1 *)0xfff < puVar19) { - fVar28 = *(float *)(local_4c._16_4_ + -4); - puVar19 = local_28 + 0x24; - if (0x1f < (local_4c._16_4_ - (int)fVar28) - 4U) { + puVar17 = local_28 + 1; + fVar27 = (float)local_4c._16_4_; + if ((undefined1 *)0xfff < puVar17) { + fVar27 = *(float *)(local_4c._16_4_ + -4); + puVar17 = local_28 + 0x24; + if (0x1f < (local_4c._16_4_ - (int)fVar27) - 4U) { LAB_00574161: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(fVar28,puVar19); + operator_delete(fVar27,puVar17); } - piVar20 = local_140; - pbVar25 = (byte *)0x0; + piVar18 = local_140; + pbVar23 = (byte *)0x0; if (local_140[0x32] != 0) { do { - pLVar12 = ANM2::GetLayer((ANM2 *)(piVar20 + 0x12),pbVar25); - uVar5 = uRam00c34e34; - uVar4 = uRam00c34e30; - uVar11 = uRam00c34e2c; - if (&pLVar12->field_0x48 != &DAT_00c34e28) { - *(undefined4 *)&pLVar12->field_0x48 = _DAT_00c34e28; - *(undefined4 *)&pLVar12->field_0x4c = uVar11; - *(undefined4 *)&pLVar12->field_0x50 = uVar4; - *(undefined4 *)&pLVar12->field_0x54 = uVar5; - uVar5 = uRam00c34e44; - uVar4 = uRam00c34e40; - uVar11 = uRam00c34e3c; - *(undefined4 *)&pLVar12->field_0x58 = _DAT_00c34e38; - *(undefined4 *)&pLVar12->field_0x5c = uVar11; - *(undefined4 *)&pLVar12->field_0x60 = uVar4; - *(undefined4 *)&pLVar12->field_0x64 = uVar5; - uVar11 = DAT_00c34e48._4_4_; - *(undefined4 *)&pLVar12->field_0x68 = (undefined4)DAT_00c34e48; - *(undefined4 *)&pLVar12->field_0x6c = uVar11; - *(undefined4 *)&pLVar12->field_0x70 = DAT_00c34e50; + pLVar10 = ANM2::GetLayer((ANM2 *)(piVar18 + 0x12),pbVar23); + fVar29 = fRam00c34e34; + fVar28 = fRam00c34e30; + fVar27 = fRam00c34e2c; + if (&pLVar10->_color != (ColorMod *)&DAT_00c34e28) { + (pLVar10->_color)._tint[0] = _DAT_00c34e28; + (pLVar10->_color)._tint[1] = fVar27; + (pLVar10->_color)._tint[2] = fVar28; + (pLVar10->_color)._tint[3] = fVar29; + fVar29 = fRam00c34e44; + fVar28 = fRam00c34e40; + fVar27 = fRam00c34e3c; + (pLVar10->_color)._colorize[0] = _DAT_00c34e38; + (pLVar10->_color)._colorize[1] = fVar27; + (pLVar10->_color)._colorize[2] = fVar28; + (pLVar10->_color)._colorize[3] = fVar29; + fVar27 = DAT_00c34e48._4_4_; + (pLVar10->_color)._offset[0] = (float)DAT_00c34e48; + (pLVar10->_color)._offset[1] = fVar27; + (pLVar10->_color)._offset[2] = DAT_00c34e50; } - pbVar25 = pbVar25 + 1; - } while (pbVar25 < (byte *)piVar20[0x32]); + pbVar23 = pbVar23 + 1; + } while (pbVar23 < (byte *)piVar18[0x32]); npc = local_160; } ANM2::Play((ANM2 *)local_124,(byte *)"Disappear",0); (**(code **)(*local_140 + 0xc))(); } - else if (((iVar24 == 0x399) && (extraout_EDX[0xb] == 1)) && + else if (((iVar22 == 0x399) && (extraout_EDX[0xb] == 1)) && ((Entity_NPC *)extraout_EDX[0xef] == npc)) { pcVar3 = *(code **)(*extraout_EDX + 0x24); EntityRef::constructor(&local_1bc,(Entity *)npc); @@ -219878,9 +219970,12 @@ LAB_00574161: } -//@@ 00575a10 FUN_00575a10 +//@@ 00575a10 NpcHelper::clutch_render -void FUN_00575a10(float *param_1) +/* DB: Entity_NPC::Render switch case 0x399 (ENTITY_CLUTCH 921); walks a deque of points at +0xc04 + setting ANM2 layer 1/2 rotation (atan2f) and RenderFrame for each chain segment */ + +void NpcHelper::clutch_render(float *param_1) { int *piVar1; @@ -219910,7 +220005,7 @@ void FUN_00575a10(float *param_1) if (*(int *)(in_ECX + 0x2c) == 0) { pLVar2 = ANM2::GetLayer((ANM2 *)(in_ECX + 0x48),(byte *)0x1); - if ((0.0 < *(float *)&pLVar2->field_0x54) && (*(int *)(in_ECX + 0xc14) != 0)) { + if ((0.0 < (pLVar2->_color)._tint[3]) && (*(int *)(in_ECX + 0xc14) != 0)) { pLVar2 = ANM2::GetLayer((ANM2 *)(in_ECX + 0x48),(byte *)0x1); pLVar2->_visible = 1; pLVar2 = ANM2::GetLayer((ANM2 *)(in_ECX + 0x48),(byte *)0x2); @@ -221241,12 +221336,10 @@ switchD_00576dbf_caseD_1: /* ZHL [lua] Lua binding EntityEffect:Rotation */ -float10 Entity_Effect::Rotation(void) +float10 __thiscall Entity_Effect::Rotation(Entity_Effect *this) { - int in_ECX; - - return (float10)*(float *)(in_ECX + 0x474); + return (float10)this->_rotation; } @@ -221291,9 +221384,13 @@ void FUN_005784e0(void) } -//@@ 005785a0 FUN_005785a0 +//@@ 005785a0 NpcHelper::rainmaker_drop_timer_launch -void FUN_005785a0(int param_1) +/* DB: ? Entity_Effect::CreateTimer callback set up in NpcHelper::rainmaker_spawn_homing_drop (mov + ecx,0x5785a0 / call 0x60af00 at 578975): for the projectile child (type 9) clears flag 0x100, + aims at the target (+0x3c4, leading by its velocity * this+0x478) or a random angle */ + +void NpcHelper::rainmaker_drop_timer_launch(int param_1) { int iVar1; @@ -221970,7 +222067,7 @@ void __fastcall NpcAI::ENTITY_REAP_CREEP(Entity_NPC *npc) ANM2 *pAVar1; AnimationState *this; EntityPtr *pEVar2; - undefined1 *puVar3; + std_set *psVar3; Vector *pVVar4; byte bVar5; char cVar6; @@ -221987,9 +222084,9 @@ void __fastcall NpcAI::ENTITY_REAP_CREEP(Entity_NPC *npc) int *piVar17; uint uVar18; int iVar19; - float *pfVar20; + byte *pbVar20; byte *pbVar21; - byte *pbVar22; + float *pfVar22; ItemPool **ppIVar23; int iVar24; undefined4 *puVar25; @@ -222025,7 +222122,7 @@ void __fastcall NpcAI::ENTITY_REAP_CREEP(Entity_NPC *npc) ItemPool *pIStack_310; float fStack_30c; ItemPool *pIStack_308; - float fStack_304; + void *pvStack_304; Vector VStack_300; Entity_NPC *local_2f8; float fStack_2f4; @@ -222192,8 +222289,8 @@ LAB_0057a756: } break; case 6: - pbVar22 = (npc->_sprite)._animState._animData; - if (pbVar22 == (byte *)0x0) { + pbVar21 = (npc->_sprite)._animState._animData; + if (pbVar21 == (byte *)0x0) { LAB_0057a438: bVar15 = ANM2::SetAnimation(&npc->_sprite,s_Jump,1); if (bVar15 != 0) { @@ -222202,24 +222299,24 @@ LAB_0057a438: } } else { - if (0xf < *(uint *)(pbVar22 + 0x14)) { - pbVar22 = *(byte **)pbVar22; + if (0xf < *(uint *)(pbVar21 + 0x14)) { + pbVar21 = *(byte **)pbVar21; } - pbVar21 = s_Jump; + pbVar20 = s_Jump; do { - bVar15 = *pbVar22; - bVar31 = bVar15 < *pbVar21; - if (bVar15 != *pbVar21) { + bVar15 = *pbVar21; + bVar31 = bVar15 < *pbVar20; + if (bVar15 != *pbVar20) { LAB_0057a420: uVar18 = -(uint)bVar31 | 1; goto LAB_0057a425; } if (bVar15 == 0) break; - bVar15 = pbVar22[1]; - bVar31 = bVar15 < pbVar21[1]; - if (bVar15 != pbVar21[1]) goto LAB_0057a420; - pbVar22 = pbVar22 + 2; + bVar15 = pbVar21[1]; + bVar31 = bVar15 < pbVar20[1]; + if (bVar15 != pbVar20[1]) goto LAB_0057a420; pbVar21 = pbVar21 + 2; + pbVar20 = pbVar20 + 2; } while (bVar15 != 0); uVar18 = 0; LAB_0057a425: @@ -222326,9 +222423,9 @@ LAB_0057a425: if ((uVar18 % 3 == 0) && (iVar19 = NpcHelper::ReapCreep_CountOtherEnemies(), iVar19 < 4)) { uVar18 = Game::GetStageID(g_game,unused); - pfVar20 = (float *)MusicManager::RandomVector(auStack_228); - local_2f8 = (Entity_NPC *)(VStack_2e0.x - *pfVar20 * 20.0); - fStack_2f4 = VStack_2e0.y - pfVar20[1] * 20.0; + pfVar22 = (float *)MusicManager::RandomVector(auStack_228); + local_2f8 = (Entity_NPC *)(VStack_2e0.x - *pfVar22 * 20.0); + fStack_2f4 = VStack_2e0.y - pfVar22[1] * 20.0; if ((uVar18 == 0x1d) || (uVar18 == 0x1e)) { Entity_NPC::ThrowRockSpider(npc,0); } @@ -222390,12 +222487,12 @@ LAB_0057a425: PStack_b8.FallingSpeedModifier = 2.0; local_2f8 = (Entity_NPC *)(npc->_pos).x; VStack_2e0.x = (npc->_pos).y; - pfVar20 = (float *)MusicManager::RandomVector(auStack_220); + pfVar22 = (float *)MusicManager::RandomVector(auStack_220); iVar19 = Random(); fVar32 = (float)((double)iVar19 + __uint_to_double_fixup[-(iVar19 >> 0x1f)]) * 2.3283064e-10; - VStack_2cc.x = fVar32 * *pfVar20 * 13.0 + (float)local_2f8 + 0.0; - VStack_2cc.y = pfVar20[1] * fVar32 * 13.0 + VStack_2e0.x + 5.0; + VStack_2cc.x = fVar32 * *pfVar22 * 13.0 + (float)local_2f8 + 0.0; + VStack_2cc.y = pfVar22[1] * fVar32 * 13.0 + VStack_2e0.x + 5.0; Entity_NPC::FireProjectiles(npc,&VStack_2cc,&VStack_2c0,0,&PStack_b8); Entity_NPC::PlaySound(npc,0x99,1.0,2,0,1.0); uVar18 = npc->_projectileCooldown; @@ -222663,14 +222760,15 @@ LAB_0057aad1: (((float)((double)iVar19 + __uint_to_double_fixup[-(iVar19 >> 0x1f)]) * 2.3283064e-10 * 90.0 + 45.0) * 0.017453292); iVar19 = Random(); - fStack_304 = (float)((double)iVar19 + __uint_to_double_fixup[-(iVar19 >> 0x1f)]) * - 2.3283064e-10; + pvStack_304 = (void *)((float)((double)iVar19 + + __uint_to_double_fixup[-(iVar19 >> 0x1f)]) * 2.3283064e-10 + ); pIVar27 = pIStack_324; cos(); - fStack_2b8 = (float)pIVar27 * fStack_304 * 200.0 + pVVar4->x; + fStack_2b8 = (float)pIVar27 * (float)pvStack_304 * 200.0 + pVVar4->x; pIVar27 = pIStack_324; sin(); - fStack_2b4 = (float)pIVar27 * fStack_304 * 200.0 + (npc->_pos).y; + fStack_2b4 = (float)pIVar27 * (float)pvStack_304 * 200.0 + (npc->_pos).y; puVar25 = (undefined4 *)Room::FindFreeTilePosition(auStack_238,&fStack_2b8,0x42800000); Entity_NPC::ThrowSpider(pVVar4,npc,*puVar25,puVar25[1],0,0xc2000000); fStack_30c = (float)((int)fStack_30c + -1); @@ -222687,14 +222785,14 @@ LAB_0057aad1: (((float)((double)iVar24 + __uint_to_double_fixup[-(iVar24 >> 0x1f)]) * 2.3283064e-10 * 90.0 + 45.0) * 0.017453292); iVar24 = Random(); - fStack_304 = (float)((double)iVar24 + __uint_to_double_fixup[-(iVar24 >> 0x1f)]) * - 2.3283064e-10 * 200.0 + 100.0; + pvStack_304 = (void *)((float)((double)iVar24 + __uint_to_double_fixup[-(iVar24 >> 0x1f)]) + * 2.3283064e-10 * 200.0 + 100.0); pIVar27 = pIStack_324; cos(); - fStack_268 = (float)pIVar27 * fStack_304 + (npc->_pos).x; + fStack_268 = (float)pIVar27 * (float)pvStack_304 + (npc->_pos).x; pIVar27 = pIStack_324; sin(); - fStack_264 = (float)pIVar27 * fStack_304 + (npc->_pos).y; + fStack_264 = (float)pIVar27 * (float)pvStack_304 + (npc->_pos).y; puVar25 = (undefined4 *)Room::FindFreeTilePosition(auStack_240,&fStack_268,0x42800000); uVar16 = puVar25[1]; *(undefined4 *)(iVar19 + 0x334) = *puVar25; @@ -222912,15 +223010,15 @@ LAB_00579ef5: (pGStack_2d4->_proceduralItemManager)._proceduralItems._end)) { iStack_28c = *(int *)((int)fVar32 + 0x2c); iVar19 = *(int *)((int)fVar32 + 0x28); - puVar3 = &pGStack_2d4->field_0x67780; + psVar3 = &(pGStack_2d4->_proceduralItemManager)._spawnTriggerTargets; iStack_290 = iVar19; - std::map::find(&fStack_304,&iStack_290); - if (fStack_304 == *(float *)puVar3) { + std::map::find(&pvStack_304,&iStack_290); + if (pvStack_304 == psVar3->_head) { uStack_284 = 0xffffffff; iStack_288 = iVar19; - pfVar20 = (float *)std::map::find(auStack_250,&iStack_288); - fStack_304 = *pfVar20; - if (fStack_304 == *(float *)puVar3) goto LAB_0057a17c; + piVar17 = (int *)std::map::find(auStack_250,&iStack_288); + pvStack_304 = (void *)*piVar17; + if (pvStack_304 == psVar3->_head) goto LAB_0057a17c; } uVar18 = 0; pPVar30 = &g_game->_playerManager; @@ -222978,8 +223076,8 @@ LAB_0057a17c: else { pIStack_324 = (ItemPool *)(&PTR_s_Transition1Alt_00b61f6c)[cVar14]; } - pbVar22 = (npc->_sprite)._animState._animData; - if (pbVar22 == (byte *)0x0) { + pbVar21 = (npc->_sprite)._animState._animData; + if (pbVar21 == (byte *)0x0) { LAB_0057a2ae: bVar15 = ANM2::SetAnimation(&npc->_sprite,(byte *)pIStack_324,1); if (bVar15 != 0) { @@ -222988,13 +223086,13 @@ LAB_0057a2ae: } } else { - pbVar21 = pbVar22; + pbVar20 = pbVar21; pIVar27 = pIStack_324; - if (0xf < *(uint *)(pbVar22 + 0x14)) { - pbVar21 = *(byte **)pbVar22; + if (0xf < *(uint *)(pbVar21 + 0x14)) { + pbVar20 = *(byte **)pbVar21; } do { - bVar15 = *pbVar21; + bVar15 = *pbVar20; bVar5 = (byte)pIVar27->_seed; bVar31 = bVar15 < bVar5; if (bVar15 != bVar5) { @@ -223003,16 +223101,16 @@ LAB_0057a290: goto LAB_0057a295; } if (bVar15 == 0) break; - bVar15 = pbVar21[1]; + bVar15 = pbVar20[1]; bVar5 = *(byte *)((int)&pIVar27->_seed + 1); bVar31 = bVar15 < bVar5; if (bVar15 != bVar5) goto LAB_0057a290; - pbVar21 = pbVar21 + 2; + pbVar20 = pbVar20 + 2; pIVar27 = (ItemPool *)((int)&pIVar27->_seed + 2); } while (bVar15 != 0); uVar18 = 0; LAB_0057a295: - if ((uVar18 != 0) || ((pbVar22[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) + if ((uVar18 != 0) || ((pbVar21[0x34] != 0 && ((npc->_sprite)._animState._isPlaying == 0)))) goto LAB_0057a2ae; } npc->_state = 0x10; @@ -223032,9 +223130,9 @@ code_r0x0057a2df: else { npc->_pendingDamage = 0.0; pfVar8 = (npc->_damageEvents)._end; - for (pfVar20 = (npc->_damageEvents)._begin; pfVar20 != pfVar8; pfVar20 = pfVar20 + 0xe) { - fVar32 = *pfVar20; - *pfVar20 = fVar32 * 0.1; + for (pfVar22 = (npc->_damageEvents)._begin; pfVar22 != pfVar8; pfVar22 = pfVar22 + 0xe) { + fVar32 = *pfVar22; + *pfVar22 = fVar32 * 0.1; npc->_pendingDamage = fVar32 * 0.1 + npc->_pendingDamage; } } @@ -223215,6 +223313,8 @@ void __fastcall NpcAI::ENTITY_ROTGUT_face(Entity_NPC *npc) int iVar2; Entity_Player *this; code *pcVar3; + RNG rng; + RNG rng_00; Game *pGVar4; undefined1 *puVar5; char cVar6; @@ -223405,19 +223505,23 @@ LAB_0057c174: local_4ac = local_4ac | 1; uStack_4a8 = 0x900000005; uStack_4a0 = 7; - iVar9 = WeightedOutcomePicker::PickOutcome(&local_43c,local_4ac,5,9,7); - if (iVar9 == 0) { + rng._shift1 = 5; + rng._seed = local_4ac; + rng._shift2 = 9; + rng._shift3 = 7; + uVar18 = WeightedOutcomePicker::PickOutcome(&local_43c,rng); + if (uVar18 == 0) { ANM2::Play(&npc->_sprite,(byte *)"Attack1Begin",0); npc->_state = 8; uVar18 = Random(); npc->_i1 = uVar18 % 3; } - else if (iVar9 == 1) { + else if (uVar18 == 1) { ANM2::Play(&npc->_sprite,(byte *)"Attack2Begin",0); npc->_state = 9; npc->_i1 = 0; } - else if (iVar9 == 2) { + else if (uVar18 == 2) { ANM2::Play(&npc->_sprite,(byte *)"Munch",0); npc->_state = 10; uVar18 = Random(); @@ -223853,8 +223957,12 @@ LAB_0057d023: local_4bc = local_4bc | 1; uStack_4b8 = 0x900000005; uStack_4b0 = 7; - uVar13 = WeightedOutcomePicker::PickOutcome(&local_43c,local_4bc,5,9,7); - switch(uVar13) { + rng_00._shift1 = 5; + rng_00._seed = local_4bc; + rng_00._shift2 = 9; + rng_00._shift3 = 7; + uVar18 = WeightedOutcomePicker::PickOutcome(&local_43c,rng_00); + switch(uVar18) { case 0: local_178.Scale = 2.0; local_178.Variant = 3; @@ -224166,8 +224274,8 @@ LAB_0057dd48: if (0x13 < iVar9) { g_game->_enterDoor = -1; fVar8 = (npc->_pos).y; - *(float *)&pGVar4->field_0x18320 = (npc->_pos).x; - *(float *)&pGVar4->field_0x18324 = fVar8; + (pGVar4->_dungeonReturnPosition).x = (npc->_pos).x; + (pGVar4->_dungeonReturnPosition).y = fVar8; FUN_0057be90(pGVar4->_currentRoomIdx); Game::StartRoomTransition(0xfffffff2,0xffffffff,2,0,0xffffffff); } @@ -225807,6 +225915,7 @@ void __fastcall NpcAI::ENTITY_ROTGUT(Entity_NPC *npc) { AnimationState *this; int *piVar1; + RNG rng; Game *pGVar2; Manager *pMVar3; void *pvVar4; @@ -226076,18 +226185,22 @@ LAB_00581cb8: uVar17 = Random(); uStack_1ec = 0x900000005; fStack_1e4 = 9.80909e-45; - iVar18 = WeightedOutcomePicker::PickOutcome(&local_1c4,uVar17 | 1,5,9,7); - if (iVar18 == 0) { + rng._shift1 = 5; + rng._seed = uVar17 | 1; + rng._shift2 = 9; + rng._shift3 = 7; + uVar17 = WeightedOutcomePicker::PickOutcome(&local_1c4,rng); + if (uVar17 == 0) { ANM2::Play(&npc->_sprite,(byte *)"SpitDown",0); npc->_state = 8; } - else if (iVar18 == 1) { + else if (uVar17 == 1) { ANM2::Play(&npc->_sprite,(byte *)"Summon",0); npc->_state = 0xd; Entity_NPC::PlaySound(npc,0xa7,1.0,10,0,0.6); npc->_projectileDelay = 10; } - else if (iVar18 == 2) { + else if (uVar17 == 2) { ANM2::Play(&npc->_sprite,(byte *)"Retract",0); npc->_state = 4; uVar17 = Random(); @@ -227041,7 +227154,7 @@ void __thiscall Entity_Pickup::GetLootList(Entity_Pickup *this) int iVar3; int iVar4; int iVar5; - undefined4 uVar6; + int iVar6; char cVar7; EntityPtr EVar8; uint uVar9; @@ -227259,7 +227372,7 @@ void __thiscall Entity_Pickup::GetLootList(Entity_Pickup *this) render_quad_copy(); local_b8 = local_b8 + 0x70; } - uVar6 = DAT_00c79910; + iVar6 = g_graphicsManager_blendMode[4]; iVar5 = g_graphicsManager_blendMode[3]; iVar4 = g_graphicsManager_blendMode[2]; iVar14 = g_graphicsManager_blendMode[1]; @@ -227275,13 +227388,13 @@ void __thiscall Entity_Pickup::GetLootList(Entity_Pickup *this) this_00 = &this->_sprite; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; pLVar10 = ANM2::GetLayer(this_00,(byte *)0x0); pLVar10->_wrapSMode = 0; pLVar10 = ANM2::GetLayer(this_00,(byte *)0x0); pLVar10->_wrapTMode = 0; - ANM2::GetLayer(this_00,(byte *)0x0); - LayerState::GetTexture(); + pLVar10 = ANM2::GetLayer(this_00,(byte *)0x0); + LayerState::GetTexture(pLVar10); local_14 = CONCAT31(local_14._1_3_,3); if (local_7c != (int *)0x0) { puVar11 = &g_shaders; @@ -227329,7 +227442,7 @@ void __thiscall Entity_Pickup::GetLootList(Entity_Pickup *this) g_graphicsManager_blendMode[1] = iVar14; g_graphicsManager_blendMode[2] = iVar4; g_graphicsManager_blendMode[3] = iVar5; - DAT_00c79910 = uVar6; + g_graphicsManager_blendMode[4] = iVar6; _Find_lower_bound<>(); if (((*(char *)((int)local_f0 + 0xd) == '\0') && (*(uint *)((int)local_f0 + 0x10) <= uVar17)) && (local_f0 != DAT_00c379bc)) { @@ -227363,14 +227476,14 @@ void __thiscall Entity_Pickup::GetLootList(Entity_Pickup *this) void __fastcall NpcAI::ENTITY_SCOURGE_chain(Entity_NPC *npc) { - undefined1 *puVar1; - Vector *pVVar2; - byte *pbVar3; - code *pcVar4; - void *pvVar5; + Vector *pVVar1; + byte *pbVar2; + code *pcVar3; + void *pvVar4; + longlong lVar5; longlong lVar6; longlong lVar7; - longlong lVar8; + ProceduralItemManager *pPVar8; byte bVar9; undefined1 uVar10; char cVar11; @@ -227430,7 +227543,7 @@ void __fastcall NpcAI::ENTITY_SCOURGE_chain(Entity_NPC *npc) float fStack_318; float fStack_314; uint uStack_310; - int iStack_30c; + void *pvStack_30c; EntityPtr *local_308; float local_304; float local_300; @@ -227439,10 +227552,7 @@ void __fastcall NpcAI::ENTITY_SCOURGE_chain(Entity_NPC *npc) float local_2f4; float local_2f0; uint uStack_2ec; - undefined1 auStack_2e8 [28]; - float fStack_2cc; - uint uStack_2c8; - void *pvStack_2c4; + EntityRef EStack_2e8; undefined4 local_2c0; float local_2bc; float local_2b8; @@ -227467,14 +227577,8 @@ void __fastcall NpcAI::ENTITY_SCOURGE_chain(Entity_NPC *npc) undefined4 auStack_268 [3]; undefined8 uStack_25c; undefined4 uStack_254; - undefined1 auStack_250 [28]; - float fStack_234; - undefined4 uStack_230; - void *pvStack_22c; - undefined1 auStack_228 [28]; - float fStack_20c; - undefined4 uStack_208; - void *pvStack_204; + EntityRef EStack_250; + EntityRef EStack_228; int local_200; int local_1fc; int local_1f8; @@ -227559,11 +227663,11 @@ void __fastcall NpcAI::ENTITY_SCOURGE_chain(Entity_NPC *npc) npc->_child = (EntityPtr)0x0; FUN_00583170(); FUN_00583170(); - pbVar3 = (npc->_sprite)._animState._animData; - if (pbVar3 != (byte *)0x0) { - pbVar12 = pbVar3; - if (0xf < *(uint *)(pbVar3 + 0x14)) { - pbVar12 = *(byte **)pbVar3; + pbVar2 = (npc->_sprite)._animState._animData; + if (pbVar2 != (byte *)0x0) { + pbVar12 = pbVar2; + if (0xf < *(uint *)(pbVar2 + 0x14)) { + pbVar12 = *(byte **)pbVar2; } pcVar24 = "WallImpact"; do { @@ -227584,7 +227688,7 @@ LAB_00584290: uVar13 = 0; LAB_00584295: if (uVar13 == 0) { - if (pbVar3[0x34] == 0) { + if (pbVar2[0x34] == 0) { return; } if ((npc->_sprite)._animState._isPlaying != 0) { @@ -227721,7 +227825,7 @@ LAB_005843f4: (npc->_velocity).x = (float)local_36c; fVar31 = (float)local_354 * (float)local_354 + (float)local_36c * (float)local_36c; sqrtf(); - pvVar5 = local_360; + pvVar4 = local_360; if ((80.0 < fVar31) && (0.0 < fVar31)) { (npc->_velocity).y = (80.0 / fVar31) * (float)local_354; (npc->_velocity).x = (80.0 / fVar31) * (float)local_36c; @@ -227747,7 +227851,7 @@ LAB_005843f4: local_360 = (void *)0x0; } if (fVar36 <= fVar31) { - fVar36 = *(float *)((int)pvVar5 + 0x1c) + 34.0; + fVar36 = *(float *)((int)pvVar4 + 0x1c) + 34.0; if (fVar36 < fVar31) { (npc->_pos).x = fVar36; } @@ -227756,9 +227860,9 @@ LAB_005843f4: (npc->_pos).x = fVar36; } fVar31 = (npc->_pos).y; - fVar36 = (*(float *)((int)pvVar5 + 0x18) - 34.0) + 20.0; + fVar36 = (*(float *)((int)pvVar4 + 0x18) - 34.0) + 20.0; if ((fVar31 < fVar36) || - (fVar36 = *(float *)((int)pvVar5 + 0x20) + 34.0 + 20.0, fVar36 < fVar31)) { + (fVar36 = *(float *)((int)pvVar4 + 0x20) + 34.0 + 20.0, fVar36 < fVar31)) { (npc->_pos).y = fVar36; } Entity_NPC::PlaySound(npc,0x4d,1.0,2,0,1.0); @@ -227766,7 +227870,7 @@ LAB_005843f4: uVar17 = Color::Color(); local_288 = 0; iVar16 = Random(); - pVVar2 = &npc->_pos; + pVVar1 = &npc->_pos; local_284 = -10.0 - (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * 2.3283064e-10 * 20.0; piVar19 = (int *)spawn_blood_explosion(&local_288,uVar17,&g_vectorZero); @@ -227789,7 +227893,7 @@ LAB_005843f4: iVar21 = Random(); fVar31 = (float)((double)iVar21 + __uint_to_double_fixup[-(iVar21 >> 0x1f)]) * 2.3283064e-10; - fStack_278 = (float)local_368 * fVar31 * 12.0 + pVVar2->x; + fStack_278 = (float)local_368 * fVar31 * 12.0 + pVVar1->x; fStack_274 = (float)local_34c * fVar31 * 12.0 + (npc->_pos).y; uVar17 = Random(); fStack_280 = (float)local_368 * 5.0; @@ -227801,11 +227905,11 @@ LAB_005843f4: } while (iVar16 != 0); (npc->_velocity).x = g_vectorZero.x; (npc->_velocity).y = g_vectorZero.y; - (npc->_targetPosition).x = pVVar2->x; + (npc->_targetPosition).x = pVVar1->x; (npc->_targetPosition).y = (npc->_pos).y; npc->_state = 6; fVar31 = *(float *)((int)local_344 + 0x340) - (npc->_pos).y; - fVar36 = *(float *)((int)local_344 + 0x33c) - pVVar2->x; + fVar36 = *(float *)((int)local_344 + 0x33c) - pVVar1->x; fVar31 = fVar31 * fVar31 + fVar36 * fVar36; sqrtf(); (npc->_v2).x = fVar31; @@ -228056,10 +228160,10 @@ LAB_0058461d: local_340 = (Entity_NPC *)(uStack_358 >> 0xb); do { if (uStack_358 != 0) { - pcVar4 = *(code **)(*local_370 + 0x28); + pcVar3 = *(code **)(*local_370 + 0x28); iVar16 = ItemPool::GetPillEffect (&g_game->_itemPool,uStack_358,(Entity_Player *)0x0); - cVar11 = (*pcVar4)(iVar16); + cVar11 = (*pcVar3)(iVar16); if (cVar11 == '\0') goto LAB_00584cb6; fVar31 = local_35c; } @@ -228121,17 +228225,17 @@ LAB_00584cbe: EVar22 = local_34c; EVar14 = local_368; uVar23 = (uint)(uVar39 >> 0x20); - lVar6 = (uVar39 & 0xffffffff) * 0x431bde82; - uStack_338 = (uint)((ulonglong)lVar6 >> 0x20); - lVar7 = (ulonglong)uVar23 * 0xd7b634db + + lVar5 = (uVar39 & 0xffffffff) * 0x431bde82; + uStack_338 = (uint)((ulonglong)lVar5 >> 0x20); + lVar6 = (ulonglong)uVar23 * 0xd7b634db + ((uVar39 & 0xffffffff) * 0xd7b634db >> 0x20); - uVar25 = (uint)((ulonglong)lVar7 >> 0x20); - uVar13 = uStack_338 + CARRY4((uint)lVar6,(uint)lVar7); - lVar6 = (ulonglong)uVar23 * 0x431bde82 + + uVar25 = (uint)((ulonglong)lVar6 >> 0x20); + uVar13 = uStack_338 + CARRY4((uint)lVar5,(uint)lVar6); + lVar5 = (ulonglong)uVar23 * 0x431bde82 + (ulonglong)CONCAT14(CARRY4(uVar25,uVar13),uVar25 + uVar13); - uVar13 = (uint)((ulonglong)lVar6 >> 0x20); + uVar13 = (uint)((ulonglong)lVar5 >> 0x20); pEVar34 = (EntityPtr *)((int)local_368 + 0x3c8); - local_35c = (float)((uint)lVar6 >> 0x12 | uVar13 * 0x4000); + local_35c = (float)((uint)lVar5 >> 0x12 | uVar13 * 0x4000); *(int *)((int)local_368 + 0x34) = *(int *)((int)local_34c + 0x28); local_340 = (Entity_NPC *)(uVar13 >> 0x12); *(int *)((int)local_368 + 0x38) = *(int *)((int)local_34c + 0x2c); @@ -228173,56 +228277,57 @@ LAB_00584cbe: *(undefined4 *)((int)EVar14 + 0x168) = uVar17; *(uint *)((int)((int)EVar14 + 0x168) + 4) = uVar23 | 0x10000020; } - pvStack_2c4 = *(void **)((int)EVar22 + 0x264); - if (pvStack_2c4 == (void *)0x0) { - auStack_2e8._0_4_ = 0; - auStack_2e8._4_4_ = 0; - auStack_2e8._8_4_ = 0; - auStack_2e8._12_4_ = 0; + EStack_2e8._entity = *(void **)((int)EVar22 + 0x264); + if (EStack_2e8._entity == (void *)0x0) { + EStack_2e8._type = 0; + EStack_2e8._variant = 0; + EStack_2e8._spawnerType = 0; + EStack_2e8._spawnerVariant = 0; fStack_1b0 = g_vectorZero.x; fStack_1ac = g_vectorZero.y; - auStack_2e8._16_4_ = g_vectorZero.x; - auStack_2e8._20_4_ = g_vectorZero.y; + EStack_2e8._position.x = g_vectorZero.x; + EStack_2e8._position.y = g_vectorZero.y; fStack_1a8 = g_vectorZero.x; fStack_1a4 = g_vectorZero.y; - auStack_2e8._24_4_ = g_vectorZero.x; - fStack_2cc = g_vectorZero.y; + EStack_2e8._velocity.x = g_vectorZero.x; + EStack_2e8._velocity.y = g_vectorZero.y; LAB_005851ae: local_370 = (int *)0x0; - if (pvStack_2c4 != (void *)0x0) goto LAB_005851ba; + if (EStack_2e8._entity != (void *)0x0) goto LAB_005851ba; local_370 = (int *)0x0; LAB_005851dc: uStack_338 = 0; - if (pvStack_2c4 != (void *)0x0) goto LAB_005851e8; + if (EStack_2e8._entity != (void *)0x0) goto LAB_005851e8; LAB_00585201: uVar23 = 0; } else { - auStack_2e8._0_4_ = *(int *)((int)pvStack_2c4 + 0x28); - auStack_2e8._16_4_ = *(float *)((int)pvStack_2c4 + 0x33c); - auStack_2e8._20_4_ = *(float *)((int)pvStack_2c4 + 0x340); - auStack_2e8._4_4_ = *(int *)((int)pvStack_2c4 + 0x2c); - auStack_2e8._8_4_ = *(int *)((int)pvStack_2c4 + 0x34); - auStack_2e8._12_4_ = *(int *)((int)pvStack_2c4 + 0x38); - auStack_2e8._24_4_ = *(float *)((int)pvStack_2c4 + 0x360); - fStack_2cc = *(float *)((int)pvStack_2c4 + 0x364); - fStack_180 = (float)auStack_2e8._16_4_; - fStack_17c = (float)auStack_2e8._20_4_; - fStack_178 = (float)auStack_2e8._24_4_; - fStack_174 = fStack_2cc; - if ((*(uint *)((int)pvStack_2c4 + 0x168) & 0x100) == 0) goto LAB_005851ae; + EStack_2e8._type = *(int *)((int)EStack_2e8._entity + 0x28); + EStack_2e8._position.x = *(float *)((int)EStack_2e8._entity + 0x33c); + EStack_2e8._position.y = *(float *)((int)EStack_2e8._entity + 0x340); + EStack_2e8._variant = *(int *)((int)EStack_2e8._entity + 0x2c); + EStack_2e8._spawnerType = *(int *)((int)EStack_2e8._entity + 0x34); + EStack_2e8._spawnerVariant = *(int *)((int)EStack_2e8._entity + 0x38); + EStack_2e8._velocity.x = *(float *)((int)EStack_2e8._entity + 0x360); + EStack_2e8._velocity.y = *(float *)((int)EStack_2e8._entity + 0x364); + fStack_180 = EStack_2e8._position.x; + fStack_17c = EStack_2e8._position.y; + fStack_178 = EStack_2e8._velocity.x; + fStack_174 = EStack_2e8._velocity.y; + if ((*(uint *)((int)EStack_2e8._entity + 0x168) & 0x100) == 0) + goto LAB_005851ae; local_370 = (int *)0x1; LAB_005851ba: - if ((*(uint *)((int)pvStack_2c4 + 0x168) & 0x20000000) == 0) + if ((*(uint *)((int)EStack_2e8._entity + 0x168) & 0x20000000) == 0) goto LAB_005851dc; uStack_338 = 2; LAB_005851e8: - if ((*(uint *)((int)pvStack_2c4 + 0x16c) & 0x400000) == 0) + if ((*(uint *)((int)EStack_2e8._entity + 0x16c) & 0x400000) == 0) goto LAB_00585201; uVar23 = 4; } - uStack_2c8 = uVar23 | uStack_338 | (uint)local_370; - Entity::AddCharmed((Entity *)EVar14,(EntityRef *)auStack_2e8,-1,0,0); + EStack_2e8._flags = uVar23 | uStack_338 | (uint)local_370; + Entity::AddCharmed((Entity *)EVar14,&EStack_2e8,-1,0,0); if (uVar13 - 10 < 0x3de) { ANM2::LoadDeliriumForm(uStack_364,1); } @@ -228241,39 +228346,39 @@ LAB_005851e8: if (cVar11 == '\0') { cVar11 = Entity::HasEntityFlags(0,0x1000000); if (cVar11 != '\0') { - auStack_250._0_4_ = 0; - auStack_250._4_4_ = 0; - auStack_250._8_4_ = 0; - auStack_250._12_4_ = 0; + EStack_250._type = 0; + EStack_250._variant = 0; + EStack_250._spawnerType = 0; + EStack_250._spawnerVariant = 0; fStack_1a0 = g_vectorZero.x; fStack_19c = g_vectorZero.y; - auStack_250._16_4_ = g_vectorZero.x; - auStack_250._20_4_ = g_vectorZero.y; + EStack_250._position.x = g_vectorZero.x; + EStack_250._position.y = g_vectorZero.y; fStack_198 = g_vectorZero.x; fStack_194 = g_vectorZero.y; - auStack_250._24_4_ = g_vectorZero.x; - fStack_234 = g_vectorZero.y; - uStack_230 = 0; - pvStack_22c = (void *)0x0; - Entity::AddBrimstoneMark(this,(EntityRef *)auStack_250,0x5a); + EStack_250._velocity.x = g_vectorZero.x; + EStack_250._velocity.y = g_vectorZero.y; + EStack_250._flags = 0; + EStack_250._entity = (void *)0x0; + Entity::AddBrimstoneMark(this,&EStack_250,0x5a); } cVar11 = Entity::HasEntityFlags(0x1000000,0); if (cVar11 != '\0') { - auStack_228._0_4_ = 0; - auStack_228._4_4_ = 0; - auStack_228._8_4_ = 0; - auStack_228._12_4_ = 0; + EStack_228._type = 0; + EStack_228._variant = 0; + EStack_228._spawnerType = 0; + EStack_228._spawnerVariant = 0; fStack_190 = g_vectorZero.x; fStack_18c = g_vectorZero.y; - auStack_228._16_4_ = g_vectorZero.x; - auStack_228._20_4_ = g_vectorZero.y; + EStack_228._position.x = g_vectorZero.x; + EStack_228._position.y = g_vectorZero.y; fStack_188 = g_vectorZero.x; fStack_184 = g_vectorZero.y; - auStack_228._24_4_ = g_vectorZero.x; - fStack_20c = g_vectorZero.y; - uStack_208 = 0; - pvStack_204 = (void *)0x0; - Entity::AddShrink(this,(EntityRef *)auStack_228,0x5a,0,0); + EStack_228._velocity.x = g_vectorZero.x; + EStack_228._velocity.y = g_vectorZero.y; + EStack_228._flags = 0; + EStack_228._entity = (void *)0x0; + Entity::AddShrink(this,&EStack_228,0x5a,0,0); if (0 < this->_shrinkCountdown) { uVar17 = *(undefined4 *)((int)&this->_flags + 4); *(uint *)&this->_flags = (uint)this->_flags | 0x1000000; @@ -228284,7 +228389,7 @@ LAB_005851e8: } uVar13 = uStack_338; fVar36 = this[3]._pendingDamage * *(float *)(uStack_338 + 0xf48); - pcVar4 = *(code **)(*(int *)this + 0x4c); + pcVar3 = *(code **)(*(int *)this + 0x4c); this[3]._pendingDamage = fVar36; fVar36 = fVar36 * this->_shrinkStatus1; fVar31 = fVar36 * g_vectorOne.x; @@ -228296,17 +228401,17 @@ LAB_005851e8: *(float *)(uStack_338 + 0xf44) * this[3]._poisonTickDamage; this->_maxHitPoints = this->_maxHitPoints * *(float *)(uStack_338 + 0xf44); this->_health = this->_health * *(float *)(uStack_338 + 0xf44); - cVar11 = (*pcVar4)(); + cVar11 = (*pcVar3)(); if (cVar11 != '\0') { - pvVar5 = *(void **)(uVar13 + 0xf54); + pvVar4 = *(void **)(uVar13 + 0xf54); ppvVar28 = &this[3]._config; - if (*ppvVar28 != pvVar5) { + if (*ppvVar28 != pvVar4) { if (*ppvVar28 != (void *)0x0) { local_36c = (EntityPtr *)ppvVar28; std::multiset::erase(&local_36c); } - *ppvVar28 = pvVar5; - if (pvVar5 != (void *)0x0) { + *ppvVar28 = pvVar4; + if (pvVar4 != (void *)0x0) { std::multiset::insert(ppvVar28); } } @@ -228321,16 +228426,16 @@ LAB_005851e8: ((pGStack_350->_proceduralItemManager)._proceduralItems._begin != (pGStack_350->_proceduralItemManager)._proceduralItems._end)) { iStack_29c = *(int *)((int)EVar14 + 0x2c); - puVar1 = &pGStack_350->field_0x67780; + pPVar8 = &pGStack_350->_proceduralItemManager; iStack_2a0 = *(int *)((int)EVar14 + 0x28); - std::map::find(&iStack_30c,&iStack_2a0); - iVar16 = *(int *)puVar1; - if (iStack_30c == iVar16) { + std::map::find(&pvStack_30c,&iStack_2a0); + pvVar4 = (pPVar8->_spawnTriggerTargets)._head; + if (pvStack_30c == pvVar4) { aiStack_298[0] = *(int *)((int)EVar14 + 0x28); aiStack_298[1] = 0xffffffff; piVar19 = (int *)std::map::find(auStack_170,aiStack_298); - iStack_30c = *piVar19; - if (iStack_30c == iVar16) goto LAB_00585691; + pvStack_30c = (void *)*piVar19; + if (pvStack_30c == pvVar4) goto LAB_00585691; } uVar13 = 0; pPVar27 = &g_game->_playerManager; @@ -228353,20 +228458,20 @@ LAB_005851e8: LAB_00585691: uVar39 = GetTimeNs(); uVar13 = (uint)(uVar39 >> 0x20); - lVar6 = (uVar39 & 0xffffffff) * 0x431bde82; - local_354 = (EntityPtr *)((ulonglong)lVar6 >> 0x20); - lVar7 = (ulonglong)uVar13 * 0x431bde82; - local_36c = (EntityPtr *)lVar7; - lVar8 = (ulonglong)uVar13 * 0xd7b634db + + lVar5 = (uVar39 & 0xffffffff) * 0x431bde82; + local_354 = (EntityPtr *)((ulonglong)lVar5 >> 0x20); + lVar6 = (ulonglong)uVar13 * 0x431bde82; + local_36c = (EntityPtr *)lVar6; + lVar7 = (ulonglong)uVar13 * 0xd7b634db + ((uVar39 & 0xffffffff) * 0xd7b634db >> 0x20); - auStack_268[0] = (undefined4)(lVar8 + lVar6); - lVar7 = lVar7 + (ulonglong) - CONCAT14(CARRY4((uint)((ulonglong)lVar8 >> 0x20), + auStack_268[0] = (undefined4)(lVar7 + lVar5); + lVar6 = lVar6 + (ulonglong) + CONCAT14(CARRY4((uint)((ulonglong)lVar7 >> 0x20), (uint)(&local_354->field_0x0 + - CARRY4((uint)lVar6,(uint)lVar8))), - (int)((ulonglong)(lVar8 + lVar6) >> 0x20)); - uVar23 = (uint)((ulonglong)lVar7 >> 0x20); - fVar31 = (float)((uint)lVar7 >> 0x12 | uVar23 * 0x4000); + CARRY4((uint)lVar5,(uint)lVar7))), + (int)((ulonglong)(lVar7 + lVar5) >> 0x20)); + uVar23 = (uint)((ulonglong)lVar6 >> 0x20); + fVar31 = (float)((uint)lVar6 >> 0x12 | uVar23 * 0x4000); uVar13 = (int)fVar31 - (int)local_35c; bVar29 = CARRY4((uint)g_entitySpawnTimeMs,uVar13); g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar13; @@ -228551,11 +228656,12 @@ void __fastcall NpcAI::ENTITY_SCOURGE_main(Entity_NPC *npc) { float *pfVar1; int *piVar2; + RNG rng; Entity_NPC *pEVar3; uint uVar4; Entity *pEVar5; - int iVar6; - char *pcVar7; + char *pcVar6; + int iVar7; uint uVar8; WeightedOutcomePicker WVar9; undefined4 *puVar10; @@ -228792,15 +228898,19 @@ LAB_005868ab: uVar4 = Random(); uStack_74 = 0x900000005; fStack_6c = 9.80909e-45; - iVar6 = WeightedOutcomePicker::PickOutcome(&local_60,uVar4 | 1,5,9,7); + rng._shift1 = 5; + rng._seed = uVar4 | 1; + rng._shift2 = 9; + rng._shift3 = 7; + uVar4 = WeightedOutcomePicker::PickOutcome(&local_60,rng); pEVar3 = local_64; - if (iVar6 != 0) { - local_64->_state = local_54[iVar6 + 6]; - *(char *)((int)(local_64->_floorColor)._tint + iVar6 + -200) = (char)local_54[iVar6]; + if (uVar4 != 0) { + local_64->_state = local_54[uVar4 + 6]; + *(char *)((int)(local_64->_floorColor)._tint + (uVar4 - 200)) = (char)local_54[uVar4]; *(undefined2 *)&local_64->_projectileDelay = 0xffff; *(undefined2 *)&local_64->_projectileCooldown = 0xffff; *(undefined2 *)((int)&local_64->_projectileDelay + 2) = 0; - switch(iVar6) { + switch(uVar4) { case 1: ANM2::Play(&local_64->_sprite,(byte *)"TrapDown",0); break; @@ -228811,11 +228921,11 @@ LAB_005868ab: fVar15 = (local_64->_pos).x; fVar12 = (local_64->_pos).x; *(undefined2 *)((int)&local_64->_projectileDelay + 2) = 1; - pcVar7 = "SliceLeft"; + pcVar6 = "SliceLeft"; if (fVar12 <= local_68 && local_68 != fVar15) { - pcVar7 = "SliceRight"; + pcVar6 = "SliceRight"; } - ANM2::Play(&local_64->_sprite,(byte *)pcVar7,0); + ANM2::Play(&local_64->_sprite,(byte *)pcVar6,0); break; case 4: ANM2::Play(&local_64->_sprite,(byte *)"BroccoliAttack",0); @@ -228824,18 +228934,18 @@ LAB_005868ab: } else { pEVar3->_i1 = 3; - pcVar7 = (char *)((int)(pEVar3->_floorColor)._tint + iVar6 + -200); - *pcVar7 = *pcVar7 + -0x6a; + pcVar6 = (char *)((int)(pEVar3->_floorColor)._tint + (uVar4 - 200)); + *pcVar6 = *pcVar6 + -0x6a; } break; case 5: ANM2::Play(&local_64->_sprite,(byte *)"HoverStart",0); *(undefined2 *)&pEVar3->_projectileCooldown = 0; - iVar6 = Random(); + iVar7 = Random(); uVar4 = (pEVar3->_vectorDeque1)._offset; *(float *)(*(int *)((int)(pEVar3->_vectorDeque1)._map + (uVar4 >> 1 & (pEVar3->_vectorDeque1)._mapSize - 1) * 4) + (uVar4 & 1) * 8) - = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * 2.3283064e-10 * + = (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 360.0; uVar4 = Random(); if ((uVar4 & 1) == 0) { @@ -230585,15 +230695,16 @@ void __thiscall Entity_NPC::Render(undefined4 param_1,int param_2) uint uVar17; uint uVar18; PlayerManager *pPVar19; + void *pvVar20; Room *this; - bool bVar20; - float fVar21; - Entity *pEVar22; - ulonglong uVar23; + bool bVar21; + float fVar22; + Entity *pEVar23; + ulonglong uVar24; undefined1 local_11c [8]; - int local_114; + void *local_114; undefined1 local_110 [8]; - int local_108; + void *local_108; undefined1 local_104 [8]; int local_fc; int *local_f8; @@ -230750,11 +230861,11 @@ void __thiscall Entity_NPC::Render(undefined4 param_1,int param_2) local_68 = (float)((int)uVar18 / this->_gridWidth) * 40.0 + 120.0; local_5c = local_6c - *(float *)(local_8c + 0x33c); local_60 = local_68 - *(float *)(local_8c + 0x340); - fVar21 = local_5c * local_5c + local_60 * local_60; + fVar22 = local_5c * local_5c + local_60 * local_60; sqrtf(); - if (0.0 < fVar21) { - local_5c = local_5c * (1.0 / fVar21); - local_60 = local_60 * (1.0 / fVar21); + if (0.0 < fVar22) { + local_5c = local_5c * (1.0 / fVar22); + local_60 = local_60 * (1.0 / fVar22); } local_70 = (float)Random(); local_4c = g_game; @@ -230824,7 +230935,7 @@ LAB_0058a5f2: local_2c = local_28; if (local_28 == 0x19) { LAB_0058a467: - bVar20 = false; + bVar21 = false; } else { local_98 = local_28; @@ -230832,9 +230943,9 @@ LAB_0058a467: if (((*(char *)(local_fc + 0xd) == '\0') && (*(int *)(local_fc + 0x10) <= (int)uVar17)) && (local_fc != piVar12[8])) goto LAB_0058a467; - bVar20 = true; + bVar21 = true; } - if ((uVar17 == 0) || (bVar20)) { + if ((uVar17 == 0) || (bVar21)) { local_2c = (**(code **)(*piVar12 + 0x84))(0); local_28 = local_2c; } @@ -230851,12 +230962,12 @@ LAB_0058a467: LAB_0058a5f8: local_30 = EntityFactory::Create(local_4c->_entityFactory,local_48,0); if (local_30 != (Entity *)0x0) { - uVar23 = GetTimeNs(); - pEVar22 = local_30; - local_50 = (Entity *)(uVar23 >> 0x20); - uVar3 = (uVar23 & 0xffffffff) * 0xd7b634db; + uVar24 = GetTimeNs(); + pEVar23 = local_30; + local_50 = (Entity *)(uVar24 >> 0x20); + uVar3 = (uVar24 & 0xffffffff) * 0xd7b634db; local_44 = (undefined4)uVar3; - lVar4 = (uVar23 & 0xffffffff) * 0x431bde82; + lVar4 = (uVar24 & 0xffffffff) * 0x431bde82; lVar5 = ZEXT48(local_50) * 0xd7b634db + (uVar3 >> 0x20); local_54 = (undefined4)(lVar5 + lVar4); lVar4 = ZEXT48(local_50) * 0x431bde82 + @@ -230875,43 +230986,45 @@ LAB_0058a5f8: local_90 = pEVar1; std::multiset::erase(&local_90); } - iVar16 = *(int *)pEVar22; + iVar16 = *(int *)pEVar23; *pEVar1 = (EntityPtr)0x0; - (pEVar22->_pos).x = local_6c; - (pEVar22->_pos).y = local_68; - (pEVar22->_velocity).x = g_vectorZero.x; - (pEVar22->_velocity).y = g_vectorZero.y; + (pEVar23->_pos).x = local_6c; + (pEVar23->_pos).y = local_68; + (pEVar23->_velocity).x = g_vectorZero.x; + (pEVar23->_velocity).y = g_vectorZero.y; (**(code **)(iVar16 + 4))(local_48,local_58,local_2c,local_70); pGVar7 = local_4c; iVar16 = *(int *)((int)local_4c->_room + 0x1214); *(int *)((int)local_4c->_room + 0x1214) = iVar16 + 1; - pEVar22->_index = iVar16; - EntityList::AddEntity(pEVar22); - cVar10 = Game::ShouldEraseEnemy(pEVar22); + pEVar23->_index = iVar16; + EntityList::AddEntity(pEVar23); + cVar10 = Game::ShouldEraseEnemy(pEVar23); if (cVar10 != '\0') { - Entity::RemoveWithPoof(pEVar22,extraout_ECX); + Entity::RemoveWithPoof(pEVar23,extraout_ECX); } - if ((pEVar22->_exists != 0) && + if ((pEVar23->_exists != 0) && ((pGVar7->_proceduralItemManager)._proceduralItems._begin != (pGVar7->_proceduralItemManager)._proceduralItems._end)) { - local_a0 = pEVar22->_variant; - uVar18 = pEVar22->_type; + local_a0 = pEVar23->_variant; + uVar18 = pEVar23->_type; local_ac[2] = uVar18; FUN_009e2760(local_110,local_ac + 2); - if (((*(char *)(local_108 + 0xd) == '\0') && (*(uint *)(local_108 + 0x10) <= uVar18)) - && ((*(uint *)(local_108 + 0x10) < uVar18 || - (*(uint *)(local_108 + 0x14) <= (uint)pEVar22->_variant)))) { - iVar16 = *(int *)&local_4c->field_0x67780; - if (local_108 == iVar16) goto LAB_0058a7bc; + if (((*(char *)((int)local_108 + 0xd) == '\0') && + (*(uint *)((int)local_108 + 0x10) <= uVar18)) && + ((*(uint *)((int)local_108 + 0x10) < uVar18 || + (*(uint *)((int)local_108 + 0x14) <= (uint)pEVar23->_variant)))) { + pvVar20 = (local_4c->_proceduralItemManager)._spawnTriggerTargets._head; + if (local_108 == pvVar20) goto LAB_0058a7bc; } else { - iVar16 = *(int *)&pGVar7->field_0x67780; + pvVar20 = (pGVar7->_proceduralItemManager)._spawnTriggerTargets._head; LAB_0058a7bc: local_ac[1] = 0xffffffff; local_ac[0] = uVar18; FUN_009e2760(local_11c,local_ac); - if (((*(char *)(local_114 + 0xd) != '\0') || (uVar18 < *(uint *)(local_114 + 0x10))) - || (local_114 == iVar16)) goto LAB_0058a878; + if (((*(char *)((int)local_114 + 0xd) != '\0') || + (uVar18 < *(uint *)((int)local_114 + 0x10))) || (local_114 == pvVar20)) + goto LAB_0058a878; } uVar18 = 0; pPVar19 = &g_game->_playerManager; @@ -230923,7 +231036,7 @@ LAB_0058a7bc: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - trigger_set_dispatch(6,pEVar22,&local_6c,&g_vectorZero); + trigger_set_dispatch(6,pEVar23,&local_6c,&g_vectorZero); uVar18 = uVar18 + 1; pPVar19 = &g_game->_playerManager; } while (uVar18 < (uint)((int)(g_game->_playerManager)._playerList._end - @@ -230931,11 +231044,11 @@ LAB_0058a7bc: } } LAB_0058a878: - uVar23 = GetTimeNs(); - uVar18 = (uint)(uVar23 >> 0x20); - uVar3 = (uVar23 & 0xffffffff) * 0xd7b634db; + uVar24 = GetTimeNs(); + uVar18 = (uint)(uVar24 >> 0x20); + uVar3 = (uVar24 & 0xffffffff) * 0xd7b634db; local_54 = (undefined4)uVar3; - lVar4 = (uVar23 & 0xffffffff) * 0x431bde82; + lVar4 = (uVar24 & 0xffffffff) * 0x431bde82; local_50 = (Entity *)((ulonglong)lVar4 >> 0x20); lVar5 = (ulonglong)uVar18 * 0x431bde82; local_30 = (Entity *)lVar5; @@ -230949,22 +231062,22 @@ LAB_0058a878: uVar17 = (uint)((ulonglong)lVar5 >> 0x20); piVar12 = (int *)((uint)lVar5 >> 0x12 | uVar17 * 0x4000); uVar18 = (int)piVar12 - (int)local_34; - bVar20 = CARRY4((uint)g_entitySpawnTimeMs,uVar18); + bVar21 = CARRY4((uint)g_entitySpawnTimeMs,uVar18); g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar18; g_entitySpawnTimeMs._4_4_ = g_entitySpawnTimeMs._4_4_ + - (((uVar17 >> 0x12) - (int)local_40) - (uint)(piVar12 < local_34)) + (uint)bVar20; + (((uVar17 >> 0x12) - (int)local_40) - (uint)(piVar12 < local_34)) + (uint)bVar21; } iVar16 = 5; do { uVar14 = Random(); iVar15 = Random(); - pEVar22 = (Entity *) + pEVar23 = (Entity *) (((float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 60.0 - 30.0) * 0.017453292); - local_30 = pEVar22; + local_30 = pEVar23; cos(); - local_50 = pEVar22; + local_50 = pEVar23; sin(); iVar15 = Random(); local_b0 = (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * @@ -230978,12 +231091,12 @@ LAB_0058a878: iVar15 = Random(); local_40 = (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 20.0; - fVar21 = local_70; + fVar22 = local_70; cos(); - local_bc = fVar21 * local_40 + local_6c; - fVar21 = local_70; + local_bc = fVar22 * local_40 + local_6c; + fVar22 = local_70; sin(); - local_b8 = fVar21 * local_40 + local_68; + local_b8 = fVar22 * local_40 + local_68; Game::SpawnEx(g_game,1000,4,&local_bc,&local_b4,0,0x20000,uVar14,0); iVar16 = iVar16 + -1; } while (iVar16 != 0); @@ -232815,6 +232928,7 @@ void NpcHelper::siren_pick(void) { int *piVar1; void *pvVar2; + RNG rng; qword qVar3; uint uVar4; int iVar5; @@ -233112,12 +233226,16 @@ LAB_0058ebbb: uVar4 = Random(); uStack_60 = 0x900000005; fStack_58 = 9.80909e-45; - iVar5 = WeightedOutcomePicker::PickOutcome(&local_50,uVar4 | 1,5,9,7); - if (iVar5 == 0) { + rng._shift1 = 5; + rng._seed = uVar4 | 1; + rng._shift2 = 9; + rng._shift3 = 7; + uVar4 = WeightedOutcomePicker::PickOutcome(&local_50,rng); + if (uVar4 == 0) { *(undefined2 *)(local_54 + 0xba2) = 0; } else { - fVar9 = local_40[iVar5 + 1]; + fVar9 = local_40[uVar4 + 1]; *(undefined2 *)(local_54 + 0xba0) = 0xffff; *(float *)(local_54 + 0xb64) = fVar9; } @@ -233159,26 +233277,27 @@ void __fastcall NpcAI::ENTITY_SIREN_main(Entity_NPC *npc) void *pvVar10; int *extraout_EAX; Entity_Player *pEVar11; - int *piVar12; - undefined4 uVar13; - char *pcVar14; - float *pfVar15; - int iVar16; - Entity *pEVar17; + Entity_Familiar *pEVar12; + int *piVar13; + undefined4 uVar14; + char *pcVar15; + float *pfVar16; + int iVar17; + Entity *pEVar18; int extraout_ECX; - EntityPtr EVar18; EntityPtr EVar19; - ANM2 *pAVar20; - int iVar21; - uint uVar22; - bool bVar23; - float fVar24; + EntityPtr EVar20; + ANM2 *pAVar21; + int iVar22; + uint uVar23; + bool bVar24; float fVar25; - undefined1 auVar26 [12]; + float fVar26; undefined1 auVar27 [12]; - undefined8 uVar28; - double dVar29; - undefined4 uVar30; + undefined1 auVar28 [12]; + undefined8 uVar29; + double dVar30; + undefined4 uVar31; char cStack_148; int iStack_144; uint local_13c; @@ -233242,7 +233361,7 @@ void __fastcall NpcAI::ENTITY_SIREN_main(Entity_NPC *npc) } npc->_friction = npc->_friction * 0.8; sVar9 = (short)local_114; - pfVar15 = local_50 + 0x13; + pfVar16 = local_50 + 0x13; switch(npc->_state) { case 0: puStack_20 = (undefined1 *)(local_50 + 0x13); @@ -233253,23 +233372,23 @@ void __fastcall NpcAI::ENTITY_SIREN_main(Entity_NPC *npc) local_100.y = (float)operator_new(); local_14 = 0.0; if ((Entity_Player *)local_100.y == (Entity_Player *)0x0) { - piVar12 = (int *)0x0; + piVar13 = (int *)0x0; } else { Entity_Player::constructor((Entity_Player *)local_100.y); - piVar12 = extraout_EAX; + piVar13 = extraout_EAX; } local_14 = -NAN; - npc->_sirenPlayerEntity = piVar12; - (**(code **)(*piVar12 + 4))(1,0,0); + npc->_sirenPlayerEntity = piVar13; + (**(code **)(*piVar13 + 4))(1,0,0); *(int *)((int)npc->_sirenPlayerEntity + 0x34) = npc->_type; *(int *)((int)npc->_sirenPlayerEntity + 0x38) = npc->_variant; - EVar19 = (EntityPtr)((int)npc->_sirenPlayerEntity + 0x3c8); - if (*(int *)EVar19 != 0) { - local_104 = EVar19; + EVar20 = (EntityPtr)((int)npc->_sirenPlayerEntity + 0x3c8); + if (*(int *)EVar20 != 0) { + local_104 = EVar20; std::multiset::erase(); } - *(Entity_NPC **)EVar19 = npc; + *(Entity_NPC **)EVar20 = npc; std::multiset::insert(); pvVar4 = npc->_sirenPlayerEntity; *(float *)((int)pvVar4 + 0x33c) = (npc->_pos).x; @@ -233307,7 +233426,7 @@ void __fastcall NpcAI::ENTITY_SIREN_main(Entity_NPC *npc) (npc->_v2).x = 0.0; *(undefined2 *)&(npc->_v2).y = 0; *(undefined2 *)&npc->_projectileDelay = 0; - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; break; case 3: if (((npc->_sprite)._animState._animData == (void *)0x0) || @@ -233317,68 +233436,68 @@ void __fastcall NpcAI::ENTITY_SIREN_main(Entity_NPC *npc) } if (npc->_subtype == 999) { EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); - uVar22 = 0; + uVar23 = 0; local_14 = 1.4013e-45; if (local_13c != 0) { do { - iVar16 = *(int *)(iStack_144 + uVar22 * 4); - if (((iVar16 != 0) && (*(int *)(iVar16 + 0x28) == 3)) && - ((*(uint *)(iVar16 + 0x168) & 0x100) == 0)) { - Entity_Familiar::siren_charm(npc,npc->_sirenPlayerEntity); + pEVar12 = *(Entity_Familiar **)(iStack_144 + uVar23 * 4); + if (((pEVar12 != (Entity_Familiar *)0x0) && (pEVar12->_type == 3)) && + ((pEVar12->_flags & 0x100) == 0)) { + Entity_Familiar::siren_charm(pEVar12,npc,npc->_sirenPlayerEntity); } - uVar22 = uVar22 + 1; - } while (uVar22 < local_13c); + uVar23 = uVar23 + 1; + } while (uVar23 < local_13c); } local_14 = -NAN; EntityList_Query::~EntityList_Query(); - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; } else { bVar6 = ANM2::IsPlaying(&npc->_sprite,s_Idle); if (bVar6 != 0) { PathFinder::MoveRandomlyBoss(); - uVar22 = Random(); - if (((uVar22 % 0x14 == 0) && - (fVar25 = (npc->_pos).y + 100.0, pfVar15 = (float *)((int)g_game->_room + 0x20), - *pfVar15 <= fVar25 && fVar25 != *pfVar15)) && - (fVar25 = (npc->_pathfinder)._moveDirection.y, 0.0 < fVar25)) { - (npc->_pathfinder)._moveDirection.y = fVar25 * -1.0; + uVar23 = Random(); + if (((uVar23 % 0x14 == 0) && + (fVar26 = (npc->_pos).y + 100.0, pfVar16 = (float *)((int)g_game->_room + 0x20), + *pfVar16 <= fVar26 && fVar26 != *pfVar16)) && + (fVar26 = (npc->_pathfinder)._moveDirection.y, 0.0 < fVar26)) { + (npc->_pathfinder)._moveDirection.y = fVar26 * -1.0; } } sVar9 = *(short *)((int)&npc->_projectileCooldown + 2) + sVar9; *(short *)((int)&npc->_projectileCooldown + 2) = sVar9; if (sVar9 < 0x1f) { if ((((sVar9 - local_114) / 10 < (int)sVar9 / 10) && - (iVar16 = Isaac::Random(*(byte *)&(npc->_v2).x + 5), iVar16 == 0)) || - (pfVar15 = (float *)puStack_20, 0 < (short)npc->_projectileDelay)) { - pEVar17 = Entity_NPC::GetPlayerTarget(npc); - fVar25 = (pEVar17->_pos).y - (npc->_pos).y; - fVar24 = (pEVar17->_pos).x - (npc->_pos).x; - fVar25 = fVar25 * fVar25 + fVar24 * fVar24; + (iVar17 = Isaac::Random(*(byte *)&(npc->_v2).x + 5), iVar17 == 0)) || + (pfVar16 = (float *)puStack_20, 0 < (short)npc->_projectileDelay)) { + pEVar18 = Entity_NPC::GetPlayerTarget(npc); + fVar26 = (pEVar18->_pos).y - (npc->_pos).y; + fVar25 = (pEVar18->_pos).x - (npc->_pos).x; + fVar26 = fVar26 * fVar26 + fVar25 * fVar25; sqrtf(); - pfVar15 = (float *)puStack_20; - if (fVar25 < 180.0) { - iVar16 = Vector::Normalized(); - pfVar15 = (float *)puStack_20; - if (0.1 < *(float *)(iVar16 + 4)) { + pfVar16 = (float *)puStack_20; + if (fVar26 < 180.0) { + iVar17 = Vector::Normalized(); + pfVar16 = (float *)puStack_20; + if (0.1 < *(float *)(iVar17 + 4)) { NpcHelper::siren_familiar_counts(&local_10c,&local_104,&local_100.y); - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; if (local_104 == (EntityPtr)0x0) { *(undefined2 *)&npc->_projectileCooldown = 0; *(undefined2 *)&npc->_projectileDelay = 0; npc->_state = 0xb; - pfVar15 = (float *)Vector::Normalized(); - fVar25 = *pfVar15; - (npc->_targetPosition).x = fVar25; - fVar24 = pfVar15[1]; + pfVar16 = (float *)Vector::Normalized(); + fVar26 = *pfVar16; + (npc->_targetPosition).x = fVar26; + fVar25 = pfVar16[1]; *(char *)&(npc->_v2).x = *(char *)&(npc->_v2).x + '\a'; - (npc->_targetPosition).y = fVar24; - pcVar14 = "SlashLeft"; - if (0.0 < fVar25) { - pcVar14 = "SlashRight"; + (npc->_targetPosition).y = fVar25; + pcVar15 = "SlashLeft"; + if (0.0 < fVar26) { + pcVar15 = "SlashRight"; } - ANM2::Play(&npc->_sprite,(byte *)pcVar14,0); - pfVar15 = (float *)puStack_20; + ANM2::Play(&npc->_sprite,(byte *)pcVar15,0); + pfVar16 = (float *)puStack_20; } } } @@ -233386,7 +233505,7 @@ void __fastcall NpcAI::ENTITY_SIREN_main(Entity_NPC *npc) } else { NpcHelper::siren_pick(); - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; } } break; @@ -233395,10 +233514,10 @@ void __fastcall NpcAI::ENTITY_SIREN_main(Entity_NPC *npc) Entity_NPC::CalcTargetPosition(&local_100,0); local_12c.x = local_100.x + 0.0; local_12c.y = local_100.y - 10.0; - pfVar15 = (float *)Room::GetClampedPositionImpl + pfVar16 = (float *)Room::GetClampedPositionImpl (local_108,&local_12c,0x40a00000,0x40a00000,0x40a00000); - local_100.x = *pfVar15; - local_100.y = pfVar15[1]; + local_100.x = *pfVar16; + local_100.y = pfVar16[1]; PathFinder::FindGridPath(&local_100,0x40200000,0,1); sVar9 = (short)npc->_projectileCooldown + sVar9; *(short *)&npc->_projectileCooldown = sVar9; @@ -233407,77 +233526,77 @@ LAB_00590c80: if (0x5a < sVar9) goto LAB_00590c86; } else { - fVar25 = local_100.y - (npc->_pos).y; - fVar24 = local_100.x - (npc->_pos).x; - fVar25 = fVar25 * fVar25 + fVar24 * fVar24; + fVar26 = local_100.y - (npc->_pos).y; + fVar25 = local_100.x - (npc->_pos).x; + fVar26 = fVar26 * fVar26 + fVar25 * fVar25; sqrtf(); - if (20.0 <= fVar25) goto LAB_00590c80; + if (20.0 <= fVar26) goto LAB_00590c80; LAB_00590c86: npc->_state = 7; } - uVar22 = Random(); - pfVar15 = (float *)puStack_20; - if ((uVar22 & 1) == 0) { - uVar13 = Random(); - piVar12 = (int *)Game::Spawn(1000,0x1a,&npc->_pos,&g_vectorZero,0,0,uVar13); - fVar25 = g_vectorOne.y; - piVar12[0x39] = (int)g_vectorOne.x; - piVar12[0x3a] = (int)fVar25; - piVar12[0x117] = 300; - piVar12[0x118] = 300; - (**(code **)(*piVar12 + 0xc))(); - pfVar15 = (float *)puStack_20; + uVar23 = Random(); + pfVar16 = (float *)puStack_20; + if ((uVar23 & 1) == 0) { + uVar14 = Random(); + piVar13 = (int *)Game::Spawn(1000,0x1a,&npc->_pos,&g_vectorZero,0,0,uVar14); + fVar26 = g_vectorOne.y; + piVar13[0x39] = (int)g_vectorOne.x; + piVar13[0x3a] = (int)fVar26; + piVar13[0x117] = 300; + piVar13[0x118] = 300; + (**(code **)(*piVar13 + 0xc))(); + pfVar16 = (float *)puStack_20; } break; case 5: - pAVar20 = &npc->_sprite; + pAVar21 = &npc->_sprite; puStack_20 = (undefined1 *)(local_50 + 0x13); - cVar7 = Sprite::IsEventTriggered((Sprite *)pAVar20); + cVar7 = Sprite::IsEventTriggered((Sprite *)pAVar21); if (cVar7 != '\0') { play_sound_with_fart_seed(0x32a,2,0,0x3f800000); } - cVar7 = Sprite::IsEventTriggered((Sprite *)pAVar20); + cVar7 = Sprite::IsEventTriggered((Sprite *)pAVar21); if (cVar7 != '\0') { - pEVar17 = Entity_NPC::GetPlayerTarget(npc); - fVar25 = (npc->_pos).y - (pEVar17->_pos).y; - fVar24 = (npc->_pos).x - (pEVar17->_pos).x; - fVar25 = fVar25 * fVar25 + fVar24 * fVar24; + pEVar18 = Entity_NPC::GetPlayerTarget(npc); + fVar26 = (npc->_pos).y - (pEVar18->_pos).y; + fVar25 = (npc->_pos).x - (pEVar18->_pos).x; + fVar26 = fVar26 * fVar26 + fVar25 * fVar25; sqrtf(); - local_12c.y = (fVar25 * 0.1 * (pEVar17->_velocity).y + (pEVar17->_pos).y) - (npc->_pos).y; - local_12c.x = (fVar25 * 0.1 * (pEVar17->_velocity).x + (pEVar17->_pos).x) - (npc->_pos).x; + local_12c.y = (fVar26 * 0.1 * (pEVar18->_velocity).y + (pEVar18->_pos).y) - (npc->_pos).y; + local_12c.x = (fVar26 * 0.1 * (pEVar18->_velocity).x + (pEVar18->_pos).x) - (npc->_pos).x; Vector::Normalized(); - EVar19 = local_10c; + EVar20 = local_10c; ((Vector *)((int)local_10c + 0x334))->x = local_100.x; *(float *)((int)local_10c + 0x338) = local_100.y; *(undefined2 *)((int)local_10c + 0xba0) = 0; - uVar13 = Random(); + uVar14 = Random(); local_12c.x = local_100.x * 10.0; local_12c.y = local_100.y * 10.0; - pEVar17 = (Entity *)Game::Spawn(0x388,10,&npc->_pos,&local_12c,EVar19,0,uVar13); + pEVar18 = (Entity *)Game::Spawn(0x388,10,&npc->_pos,&local_12c,EVar20,0,uVar14); npc = (Entity_NPC *)local_10c; - pEVar17->_visible = 0; - pEVar17->_entityCollisionClass = 0; - pEVar17->_entityGridCollisionClass = 3; - Entity::SetParent(pEVar17); - (**(code **)(*(int *)pEVar17 + 0xc))(); + pEVar18->_visible = 0; + pEVar18->_entityCollisionClass = 0; + pEVar18->_entityGridCollisionClass = 3; + Entity::SetParent(pEVar18); + (**(code **)(*(int *)pEVar18 + 0xc))(); Entity::SetChild((Entity *)npc); - pAVar20 = (ANM2 *)((int)npc + 0x48); + pAVar21 = (ANM2 *)((int)npc + 0x48); } - cVar7 = ANM2::WasEventTriggered(pAVar20); + cVar7 = ANM2::WasEventTriggered(pAVar21); sVar9 = *(short *)((int)npc + 0xba0); if ((cVar7 == '\0') || (3 < sVar9)) { - fVar25 = 1.1 - (float)(sVar9 + -4) * 0.01; - if (fVar25 <= 1.0) { - fVar25 = 1.0; + fVar26 = 1.1 - (float)(sVar9 + -4) * 0.01; + if (fVar26 <= 1.0) { + fVar26 = 1.0; } - *(float *)((int)npc + 0x36c) = fVar25 * *(float *)((int)npc + 0x36c); + *(float *)((int)npc + 0x36c) = fVar26 * *(float *)((int)npc + 0x36c); } else { - fVar25 = *(float *)((int)npc + 0x338); - fVar24 = *(float *)((int)npc + 0x364); + fVar26 = *(float *)((int)npc + 0x338); + fVar25 = *(float *)((int)npc + 0x364); ((Vector *)((int)npc + 0x360))->x = ((Vector *)((int)npc + 0x334))->x * 6.0 + ((Vector *)((int)npc + 0x360))->x; - *(float *)((int)npc + 0x364) = fVar25 * 6.0 + fVar24; + *(float *)((int)npc + 0x364) = fVar26 * 6.0 + fVar25; sVar9 = *(short *)((int)npc + 0xba0); } *(short *)((int)npc + 0xba0) = sVar9 + (short)local_114; @@ -233487,15 +233606,15 @@ LAB_00590c86: *(undefined1 *)((int)npc + 0xbbc) = 0xf; } pvVar4 = *(void **)((int)npc + 0xf40); - auVar27 = ZEXT812(0x40a00000); - fVar25 = *(float *)((int)npc + 0x39c) * 0.3 + *(float *)((int)pvVar4 + 0x338); + auVar28 = ZEXT812(0x40a00000); + fVar26 = *(float *)((int)npc + 0x39c) * 0.3 + *(float *)((int)pvVar4 + 0x338); *(undefined4 *)((int)pvVar4 + 0x334) = *(undefined4 *)((int)pvVar4 + 0x334); - if (fVar25 <= auVar27._0_4_) { - auVar27._4_8_ = auVar27._4_8_; - auVar27._0_4_ = fVar25; + if (fVar26 <= auVar28._0_4_) { + auVar28._4_8_ = auVar28._4_8_; + auVar28._0_4_ = fVar26; } - *(int *)((int)pvVar4 + 0x338) = auVar27._0_4_; - pfVar15 = (float *)puStack_20; + *(int *)((int)pvVar4 + 0x338) = auVar28._0_4_; + pfVar16 = (float *)puStack_20; break; case 6: puStack_20 = (undefined1 *)(local_50 + 0x13); @@ -233508,15 +233627,15 @@ LAB_00590c86: npc->_shadowSize = 0.0; } cVar7 = ANM2::WasEventTriggered(&npc->_sprite); - if ((cVar7 != '\0') && (uVar22 = Random(), uVar22 % 3 == 0)) { - uVar13 = Random(); - piVar12 = (int *)Game::Spawn(1000,0x1a,&npc->_pos,&g_vectorZero,0,0,uVar13); - fVar25 = g_vectorOne.y; - piVar12[0x39] = (int)g_vectorOne.x; - piVar12[0x3a] = (int)fVar25; - (**(code **)(*piVar12 + 0xc))(); + if ((cVar7 != '\0') && (uVar23 = Random(), uVar23 % 3 == 0)) { + uVar14 = Random(); + piVar13 = (int *)Game::Spawn(1000,0x1a,&npc->_pos,&g_vectorZero,0,0,uVar14); + fVar26 = g_vectorOne.y; + piVar13[0x39] = (int)g_vectorOne.x; + piVar13[0x3a] = (int)fVar26; + (**(code **)(*piVar13 + 0xc))(); } - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; if (((npc->_sprite)._animState._animData == (void *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { *(undefined2 *)&npc->_projectileCooldown = 0; @@ -233533,7 +233652,7 @@ LAB_00590c86: npc->_entityGridCollisionClass = 3; npc->_shadowSize = *(float *)((int)npc->_config + 0x24); } - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; if (((npc->_sprite)._animState._animData == (void *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { npc->_state = 3; @@ -233548,7 +233667,7 @@ LAB_00590c86: ANM2::Play(&npc->_sprite,(byte *)"Attack1Start",0); cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite); pMVar5 = g_manager; - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; if (cVar7 != '\0') { local_10c = (EntityPtr)0x2d7; *(undefined2 *)&npc->_projectileCooldown = 0; @@ -233558,7 +233677,7 @@ LAB_00590c86: local_10c = (EntityPtr)0x32c; seed_fart_sound_override(); SoundEffects::Play(&pMVar5->_sfxManager,(int)local_10c,1.0,2,0,1.0,0.0); - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; } } else { @@ -233571,11 +233690,11 @@ LAB_00590c86: } local_104._2_2_ = 0; local_104._0_2_ = uVar8; - iVar16 = (int)(short)uVar8; - if ((int)(iVar16 + (iVar16 >> 0x1f & 7U)) >> 3 < - (int)((local_114 + iVar16 >> 0x1f & 7U) + local_114 + iVar16) >> 3) { - uVar13 = Random(); - local_10c = (EntityPtr)Game::Spawn(1000,0xa4,&npc->_pos,&g_vectorZero,0,0,uVar13); + iVar17 = (int)(short)uVar8; + if ((int)(iVar17 + (iVar17 >> 0x1f & 7U)) >> 3 < + (int)((local_114 + iVar17 >> 0x1f & 7U) + local_114 + iVar17) >> 3) { + uVar14 = Random(); + local_10c = (EntityPtr)Game::Spawn(1000,0xa4,&npc->_pos,&g_vectorZero,0,0,uVar14); pEVar1 = (EntityPtr *)((int)local_10c + 0x3bc); if (*(EntityPtr *)((int)local_10c + 0x3bc) != (EntityPtr)0x0) { local_104 = (EntityPtr)pEVar1; @@ -233587,30 +233706,30 @@ LAB_00590c86: *(float *)((int)local_10c + 0x350) = -45.0; uVar8 = (ushort)npc->_projectileCooldown; } - iVar16 = (int)(short)uVar8; + iVar17 = (int)(short)uVar8; local_104._2_2_ = 0; local_104._0_2_ = uVar8; - if ((int)(iVar16 + (iVar16 >> 0x1f & 0xfU)) >> 4 < - (int)((local_114 + iVar16 >> 0x1f & 0xfU) + local_114 + iVar16) >> 4) { - pEVar17 = Entity_NPC::GetPlayerTarget(npc); - local_100.x = (pEVar17->_pos).x; - local_100.y = (pEVar17->_pos).y; + if ((int)(iVar17 + (iVar17 >> 0x1f & 0xfU)) >> 4 < + (int)((local_114 + iVar17 >> 0x1f & 0xfU) + local_114 + iVar17) >> 4) { + pEVar18 = Entity_NPC::GetPlayerTarget(npc); + local_100.x = (pEVar18->_pos).x; + local_100.y = (pEVar18->_pos).y; Room::GetClampedPositionImpl(local_108,&local_100,0x42700000,0x42700000,0x42700000); - fVar25 = (float)local_104 - (npc->_pos).y; + fVar26 = (float)local_104 - (npc->_pos).y; atan2f(); - local_104 = (EntityPtr)(fVar25 * 57.295776); + local_104 = (EntityPtr)(fVar26 * 57.295776); local_10c = (EntityPtr)((float)local_104 + 180.0); - iVar16 = Random(); - local_118 = (int *)(((float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + iVar17 = Random(); + local_118 = (int *)(((float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 - 0.5) * 30.0 + (float)local_104); - iVar16 = Random(); + iVar17 = Random(); local_104 = (EntityPtr) - (((float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + (((float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 - 0.5) * 30.0 + (float)local_10c); if (0 < (short)npc->_projectileCooldown) { - piVar12 = (int *)(npc->_v1).x; + piVar13 = (int *)(npc->_v1).x; approach_angle(); - local_118 = piVar12; + local_118 = piVar13; } (npc->_v1).x = (float)local_118; ProjectileParams::ProjectileParams((Entity_NPC *)&local_f8); @@ -233619,48 +233738,48 @@ LAB_00590c86: local_f8.BulletFlags._0_4_ = 0x200000; local_f8.BulletFlags._4_4_ = 0; local_10c = (EntityPtr)0x0; - uVar22 = (int)(short)npc->_projectileCooldown & 0x8000001f; - bVar23 = uVar22 == 0; - if ((int)uVar22 < 0) { - bVar23 = (uVar22 - 1 | 0xffffffe0) == 0xffffffff; + uVar23 = (int)(short)npc->_projectileCooldown & 0x8000001f; + bVar24 = uVar23 == 0; + if ((int)uVar23 < 0) { + bVar24 = (uVar23 - 1 | 0xffffffe0) == 0xffffffff; } - if (bVar23) { + if (bVar24) { local_10c = (EntityPtr)0x40f00000; } local_11c = 0.0; do { - fVar25 = (float)local_118 - local_11c; - if (360.0 < ABS(fVar25)) { + fVar26 = (float)local_118 - local_11c; + if (360.0 < ABS(fVar26)) { fmodf(); } - if (fVar25 <= 180.0) { - if (fVar25 < -180.0) { - fVar25 = fVar25 + 360.0; + if (fVar26 <= 180.0) { + if (fVar26 < -180.0) { + fVar26 = fVar26 + 360.0; } } else { - fVar25 = fVar25 - 360.0; + fVar26 = fVar26 - 360.0; } - if (7.5 <= ABS(fVar25)) { - fVar25 = (float)local_104 - local_11c; - if (360.0 < ABS(fVar25)) { + if (7.5 <= ABS(fVar26)) { + fVar26 = (float)local_104 - local_11c; + if (360.0 < ABS(fVar26)) { fmodf(); } - if (fVar25 <= 180.0) { - if (fVar25 < -180.0) { - fVar25 = fVar25 + 360.0; + if (fVar26 <= 180.0) { + if (fVar26 < -180.0) { + fVar26 = fVar26 + 360.0; } } else { - fVar25 = fVar25 - 360.0; + fVar26 = fVar26 - 360.0; } - if (7.5 <= ABS(fVar25)) { - fVar24 = (local_11c + (float)local_10c) * 0.017453292; - fVar25 = fVar24; + if (7.5 <= ABS(fVar26)) { + fVar25 = (local_11c + (float)local_10c) * 0.017453292; + fVar26 = fVar25; cos(); - local_12c.x = fVar25 * 5.0; + local_12c.x = fVar26 * 5.0; sin(); - local_12c.y = fVar24 * 5.0; + local_12c.y = fVar25 * 5.0; Entity_NPC::FireProjectiles(npc,&npc->_pos,&local_12c,0,&local_f8); } } @@ -233683,43 +233802,43 @@ LAB_00590c86: if (local_104 != (EntityPtr)npc) { if ((*(int *)&g_game->_deathmatchManager < 2) || (*(int *)((int)local_104 + 0x28) != 1)) { - iVar16 = *(int *)((int)local_104 + 0x28); - if ((((0x3dd < iVar16 - 10U) || (iVar16 == 0x21)) && - (((iVar16 != 1 && (iVar16 != 2)) && (iVar16 != 4)))) && (iVar16 != 5)) + iVar17 = *(int *)((int)local_104 + 0x28); + if ((((0x3dd < iVar17 - 10U) || (iVar17 == 0x21)) && + (((iVar17 != 1 && (iVar17 != 2)) && (iVar17 != 4)))) && (iVar17 != 5)) goto LAB_0058f9a7; } else { - iVar16 = 1; + iVar17 = 1; } - fVar25 = *(float *)((int)local_104 + 0x340) - (npc->_pos).y; + fVar26 = *(float *)((int)local_104 + 0x340) - (npc->_pos).y; local_10c = (EntityPtr)(((Vector *)((int)local_104 + 0x33c))->x - (npc->_pos).x); - fVar24 = fVar25 * fVar25 + (float)local_10c * (float)local_10c; - local_11c = 2.0 / (fVar24 * 0.0001 + 1.0); + fVar25 = fVar26 * fVar26 + (float)local_10c * (float)local_10c; + local_11c = 2.0 / (fVar25 * 0.0001 + 1.0); sqrtf(); - if (fVar24 <= 0.0) { - EVar19 = local_10c; + if (fVar25 <= 0.0) { + EVar20 = local_10c; } else { - fVar25 = fVar25 * (1.0 / fVar24); - EVar19 = (EntityPtr)((float)local_10c * (1.0 / fVar24)); + fVar26 = fVar26 * (1.0 / fVar25); + EVar20 = (EntityPtr)((float)local_10c * (1.0 / fVar25)); } - if (iVar16 == 1) { - fVar24 = local_11c * 0.7; + if (iVar17 == 1) { + fVar25 = local_11c * 0.7; } else { - fVar24 = local_11c; - if (iVar16 == 2) { - fVar24 = local_11c * 0.4; + fVar25 = local_11c; + if (iVar17 == 2) { + fVar25 = local_11c * 0.4; } } fVar2 = *(float *)((int)local_104 + 0x36c); if (fVar2 != 0.0) { fVar3 = ((Vector *)((int)local_104 + 0x360))->x; *(float *)((int)local_104 + 0x364) = - (*(float *)((int)local_104 + 0x39c) * fVar24 * fVar25) / fVar2 + + (*(float *)((int)local_104 + 0x39c) * fVar25 * fVar26) / fVar2 + *(float *)((int)local_104 + 0x364); ((Vector *)((int)local_104 + 0x360))->x = - (*(float *)((int)local_104 + 0x39c) * fVar24 * (float)EVar19) / fVar2 + fVar3; + (*(float *)((int)local_104 + 0x39c) * fVar25 * (float)EVar20) / fVar2 + fVar3; } } LAB_0058f9a7: @@ -233728,13 +233847,13 @@ LAB_0058f9a7: } sVar9 = (short)npc->_projectileCooldown + (short)local_114; *(short *)&npc->_projectileCooldown = sVar9; - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; if (0x96 < sVar9) { ANM2::Play(&npc->_sprite,(byte *)"Attack1End",0); npc->_state = 3; *(undefined2 *)((int)&npc->_projectileCooldown + 2) = 0; *(undefined1 *)((int)&(npc->_v2).x + 1) = 0x1e; - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; } } break; @@ -233744,14 +233863,14 @@ LAB_0058f9a7: puStack_20 = (undefined1 *)(local_50 + 0x13); ANM2::Play(&npc->_sprite,(byte *)"Attack2Start",0); cVar7 = Sprite::IsEventTriggered((Sprite *)&npc->_sprite); - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; if ((cVar7 != '\0') && (*(undefined2 *)&npc->_projectileCooldown = 0, npc->_entityRef != (EntityPtr)0x0)) { - uVar28 = Color::Color(); - (*(code *)((ulonglong)uVar28 >> 0x20))((int)uVar28,0xffffffff,0xff,0,1); - uVar28 = Color::Color(); - (*(code *)((ulonglong)uVar28 >> 0x20))((int)uVar28,0xf,0xff,1,1); - pfVar15 = (float *)puStack_20; + uVar29 = Color::Color(); + (*(code *)((ulonglong)uVar29 >> 0x20))((int)uVar29,0xffffffff,0xff,0,1); + uVar29 = Color::Color(); + (*(code *)((ulonglong)uVar29 >> 0x20))((int)uVar29,0xf,0xff,1,1); + pfVar16 = (float *)puStack_20; } } else { @@ -233763,9 +233882,9 @@ LAB_0058f9a7: uVar8 = (ushort)npc->_projectileCooldown; } local_100.y = (float)(uint)uVar8; - iVar16 = (int)(short)uVar8; - if ((int)(iVar16 + (iVar16 >> 0x1f & 7U)) >> 3 < - (int)((local_114 + iVar16 >> 0x1f & 7U) + local_114 + iVar16) >> 3) { + iVar17 = (int)(short)uVar8; + if ((int)(iVar17 + (iVar17 >> 0x1f & 7U)) >> 3 < + (int)((local_114 + iVar17 >> 0x1f & 7U) + local_114 + iVar17) >> 3) { ProjectileParams::ProjectileParams((Entity_NPC *)&local_f8); local_f8.FallingSpeedModifier = local_f8.FallingSpeedModifier - 0.1; local_f8.FallingAccelModifier = -0.099; @@ -233773,10 +233892,10 @@ LAB_0058f9a7: Color::operator_assign(); local_f8.BulletFlags._0_4_ = 0x20; local_f8.BulletFlags._4_4_ = 0; - iVar16 = Random(); + iVar17 = Random(); local_10c = (EntityPtr)0x0; local_104 = (EntityPtr) - ((float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + ((float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * 60.0); do { pEVar11 = (Entity_Player *)(((float)local_10c + (float)local_104) * 0.017453292); @@ -233793,41 +233912,41 @@ LAB_0058f9a7: } sVar9 = uVar8 + (short)local_114; *(short *)&npc->_projectileCooldown = sVar9; - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; if (0x5a < sVar9) { ANM2::Play(&npc->_sprite,(byte *)"Attack2End",0); npc->_state = 3; *(undefined2 *)((int)&npc->_projectileCooldown + 2) = 0; if (npc->_entityRef != (EntityPtr)0x0) { - uVar28 = Color::Color(); - (*(code *)((ulonglong)uVar28 >> 0x20))((int)uVar28,0xffffffff,0xff,0,1); - uVar28 = Color::Color(); - (*(code *)((ulonglong)uVar28 >> 0x20))((int)uVar28,0xf,0xff,1,1); + uVar29 = Color::Color(); + (*(code *)((ulonglong)uVar29 >> 0x20))((int)uVar29,0xffffffff,0xff,0,1); + uVar29 = Color::Color(); + (*(code *)((ulonglong)uVar29 >> 0x20))((int)uVar29,0xf,0xff,1,1); } *(undefined1 *)((int)&(npc->_v2).x + 2) = 0x1e; - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; } } break; case 10: sVar9 = (short)npc->_projectileCooldown; - pAVar20 = &npc->_sprite; + pAVar21 = &npc->_sprite; if (sVar9 < 0) { puStack_20 = (undefined1 *)(local_50 + 0x13); - ANM2::Play(pAVar20,(byte *)"Attack2BStart",0); - cVar7 = Sprite::IsEventTriggered((Sprite *)pAVar20); + ANM2::Play(pAVar21,(byte *)"Attack2BStart",0); + cVar7 = Sprite::IsEventTriggered((Sprite *)pAVar21); pMVar5 = g_manager; - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; if (cVar7 != '\0') { local_10c = (EntityPtr)0x2d8; seed_fart_sound_override(); SoundEffects::Play(&pMVar5->_sfxManager,(int)local_10c,1.0,2,0,1.0,0.0); *(undefined2 *)&npc->_projectileCooldown = 0; - uVar28 = Color::Color(); - (*(code *)((ulonglong)uVar28 >> 0x20))((int)uVar28,0xffffffff,0xff,0,1); - uVar28 = Color::Color(); - (*(code *)((ulonglong)uVar28 >> 0x20))((int)uVar28,0xf,0xff,1,1); - pfVar15 = (float *)puStack_20; + uVar29 = Color::Color(); + (*(code *)((ulonglong)uVar29 >> 0x20))((int)uVar29,0xffffffff,0xff,0,1); + uVar29 = Color::Color(); + (*(code *)((ulonglong)uVar29 >> 0x20))((int)uVar29,0xf,0xff,1,1); + pfVar16 = (float *)puStack_20; } } else { @@ -233835,7 +233954,7 @@ LAB_0058f9a7: (puStack_20 = (undefined1 *)(local_50 + 0x13), (npc->_sprite)._animState._isPlaying == 0)) { puStack_20 = (undefined1 *)(local_50 + 0x13); - ANM2::Play(pAVar20,(byte *)"Attack2BLoop",0); + ANM2::Play(pAVar21,(byte *)"Attack2BLoop",0); sVar9 = (short)npc->_projectileCooldown; } pMVar5 = g_manager; @@ -233850,61 +233969,61 @@ LAB_0058f9a7: seed_fart_sound_override(pvVar10); SoundEffects::Play(&pMVar5->_sfxManager,(int)local_104,1.0,2,0,1.0,0.0); EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); - uVar22 = 0; + uVar23 = 0; local_14 = (float)CONCAT31(local_14._1_3_,3); if (local_13c != 0) { - piVar12 = (int *)0x0; + piVar13 = (int *)0x0; do { - pEVar11 = *(Entity_Player **)(iStack_144 + uVar22 * 4); + pEVar11 = *(Entity_Player **)(iStack_144 + uVar23 * 4); if ((pEVar11 != (Entity_Player *)0x0) && (pEVar11->_type == 3)) { local_100.y = (float)pEVar11; cVar7 = FUN_0060dae0(); if ((cVar7 != '\0') && ((*(uint *)(extraout_ECX + 0x168) & 0x100) == 0)) { - if (piVar12 == local_134) { - std::vector<4byte>::_Emplace_reallocate(piVar12,&local_100.y); + if (piVar13 == local_134) { + std::vector<4byte>::_Emplace_reallocate(piVar13,&local_100.y); local_134 = (int *)local_12c.y; - piVar12 = (int *)local_12c.x; + piVar13 = (int *)local_12c.x; } else { - *piVar12 = extraout_ECX; - local_12c.x = (float)(piVar12 + 1); - piVar12 = (int *)local_12c.x; + *piVar13 = extraout_ECX; + local_12c.x = (float)(piVar13 + 1); + piVar13 = (int *)local_12c.x; } } } - uVar22 = uVar22 + 1; - } while (uVar22 < local_13c); + uVar23 = uVar23 + 1; + } while (uVar23 < local_13c); local_11c = 0.0; npc = (Entity_NPC *)local_10c; - local_118 = piVar12; + local_118 = piVar13; } local_10c = (EntityPtr)0x0; - EVar19 = (EntityPtr)(((int)local_118 >> 2) + -1); - if (-1 < (int)EVar19) { - fVar25 = 0.0; + EVar20 = (EntityPtr)(((int)local_118 >> 2) + -1); + if (-1 < (int)EVar20) { + fVar26 = 0.0; local_118 = (int *)((int)local_118 >> 2); do { if (2 < (uint)local_10c) break; - EVar18 = (EntityPtr)0x0; + EVar19 = (EntityPtr)0x0; if (local_118 != (int *)0x0) { - uVar22 = Random(); - EVar18 = (EntityPtr)(uVar22 % (uint)local_118); - fVar25 = local_11c; + uVar23 = Random(); + EVar19 = (EntityPtr)(uVar23 % (uint)local_118); + fVar26 = local_11c; } - if (EVar19 != EVar18) { - uVar13 = *(undefined4 *)((int)fVar25 + (int)EVar19 * 4); - *(undefined4 *)((int)fVar25 + (int)EVar19 * 4) = - *(undefined4 *)((int)fVar25 + (int)EVar18 * 4); - *(undefined4 *)((int)fVar25 + (int)EVar18 * 4) = uVar13; + if (EVar20 != EVar19) { + uVar14 = *(undefined4 *)((int)fVar26 + (int)EVar20 * 4); + *(undefined4 *)((int)fVar26 + (int)EVar20 * 4) = + *(undefined4 *)((int)fVar26 + (int)EVar19 * 4); + *(undefined4 *)((int)fVar26 + (int)EVar19 * 4) = uVar14; } - local_104 = EVar18; + local_104 = EVar19; NpcHelper::siren_charm_familiar(); local_118 = (int *)((int)local_118 + -1); local_10c = (EntityPtr)((int)local_10c + 1); - EVar19 = (EntityPtr) - ((int)&((Entity_NPC *)((int)EVar19 + -0xf54))->_pickupGhostsEntity + 3); - fVar25 = local_11c; - } while (-1 < (int)EVar19); + EVar20 = (EntityPtr) + ((int)&((Entity_NPC *)((int)EVar20 + -0xf54))->_pickupGhostsEntity + 3); + fVar26 = local_11c; + } while (-1 < (int)EVar20); } if (cStack_148 == '\0') { local_14 = (float)CONCAT31(local_14._1_3_,4); @@ -233912,32 +234031,32 @@ LAB_0058f9a7: } local_14 = -NAN; if (local_11c != 0.0) { - fVar25 = local_11c; + fVar26 = local_11c; if ((0xfff < ((int)local_134 - (int)local_11c & 0xfffffffcU)) && - (fVar25 = *(float *)((int)local_11c + -4), 0x1f < ((int)local_11c - (int)fVar25) - 4U)) + (fVar26 = *(float *)((int)local_11c + -4), 0x1f < ((int)local_11c - (int)fVar26) - 4U)) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } - operator_delete(fVar25); + operator_delete(fVar26); } - pAVar20 = (ANM2 *)((int)npc + 0x48); + pAVar21 = (ANM2 *)((int)npc + 0x48); } sVar9 = *(short *)((int)npc + 0xba0) + (short)local_114; *(short *)((int)npc + 0xba0) = sVar9; - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; if (0x5a < sVar9) { - ANM2::Play(pAVar20,(byte *)"Attack2BEnd",0); + ANM2::Play(pAVar21,(byte *)"Attack2BEnd",0); *(int *)((int)npc + 0xb64) = 3; *(undefined2 *)((int)npc + 0xba2) = 0; if (*(EntityPtr *)((int)npc + 0xbec) != (EntityPtr)0x0) { - uVar28 = Color::Color(); - (*(code *)((ulonglong)uVar28 >> 0x20))((int)uVar28,0xffffffff,0xff,0,1); - uVar28 = Color::Color(); - (*(code *)((ulonglong)uVar28 >> 0x20))((int)uVar28,0xf,0xff,1,1); + uVar29 = Color::Color(); + (*(code *)((ulonglong)uVar29 >> 0x20))((int)uVar29,0xffffffff,0xff,0,1); + uVar29 = Color::Color(); + (*(code *)((ulonglong)uVar29 >> 0x20))((int)uVar29,0xf,0xff,1,1); } *(undefined1 *)((int)npc + 0xbbb) = 0x1e; - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; } } break; @@ -233954,12 +234073,12 @@ LAB_0058f9a7: if (cVar7 != '\0') { *(undefined2 *)&npc->_projectileCooldown = 0; ProjectileParams::ProjectileParams((Entity_NPC *)&local_f8); - fVar25 = (npc->_targetPosition).x; - fVar24 = (npc->_targetPosition).y; - local_12c.x = fVar25 * 15.0; - local_100.x = fVar25 * 10.0 + (npc->_pos).x; - local_12c.y = fVar24 * 15.0; - local_100.y = fVar24 * 10.0 + (npc->_pos).y; + fVar26 = (npc->_targetPosition).x; + fVar25 = (npc->_targetPosition).y; + local_12c.x = fVar26 * 15.0; + local_100.x = fVar26 * 10.0 + (npc->_pos).x; + local_12c.y = fVar25 * 15.0; + local_100.y = fVar25 * 10.0 + (npc->_pos).y; local_f8.Spread = 0.7; Entity_NPC::FireProjectiles(npc,&local_100,&local_12c,5,&local_f8); } @@ -233967,9 +234086,9 @@ LAB_0058f9a7: sVar9 = (short)npc->_projectileCooldown; if (cVar7 == '\0') { if ((sVar9 < 5) && (4 < sVar9 + local_114)) { - pEVar17 = Entity_NPC::GetPlayerTarget(npc); - local_100.x = (pEVar17->_pos).x - (npc->_pos).x; - local_100.y = (pEVar17->_pos).y - (npc->_pos).y; + pEVar18 = Entity_NPC::GetPlayerTarget(npc); + local_100.x = (pEVar18->_pos).x - (npc->_pos).x; + local_100.y = (pEVar18->_pos).y - (npc->_pos).y; if ((0.0 <= local_100.x) || ((npc->_targetPosition).x <= 0.0)) { if ((0.0 < local_100.x) && ((npc->_targetPosition).x <= 0.0 && (npc->_targetPosition).x != 0.0)) { @@ -233989,20 +234108,20 @@ LAB_0058f9a7: } } else if (sVar9 < 4) { - fVar25 = (npc->_targetPosition).y; - fVar24 = npc->_speedMultiplier; - (npc->_velocity).x = (npc->_targetPosition).x * 6.0 * fVar24 + (npc->_velocity).x; - (npc->_velocity).y = fVar25 * 6.0 * fVar24 + (npc->_velocity).y; + fVar26 = (npc->_targetPosition).y; + fVar25 = npc->_speedMultiplier; + (npc->_velocity).x = (npc->_targetPosition).x * 6.0 * fVar25 + (npc->_velocity).x; + (npc->_velocity).y = fVar26 * 6.0 * fVar25 + (npc->_velocity).y; } else { - fVar25 = 1.1 - (float)(sVar9 + -4) * 0.01; - if (fVar25 <= 1.0) { - fVar25 = 1.0; + fVar26 = 1.1 - (float)(sVar9 + -4) * 0.01; + if (fVar26 <= 1.0) { + fVar26 = 1.0; } - npc->_friction = fVar25 * npc->_friction; + npc->_friction = fVar26 * npc->_friction; } *(short *)&npc->_projectileCooldown = (short)npc->_projectileCooldown + (short)local_114; - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; if (((npc->_sprite)._animState._animData == (void *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { npc->_state = 3; @@ -234020,22 +234139,25 @@ LAB_0058f9a7: SoundEffects::Play(&pMVar5->_sfxManager,(int)local_104,1.0,2,0,1.0,0.0); pEVar11 = Game::GetPlayer(g_game,0); local_100.y = (float)pEVar11; - iVar16 = NpcHelper::siren_charmed_count(); - local_104 = (EntityPtr)(3 - iVar16); + iVar17 = NpcHelper::siren_charmed_count(); + local_104 = (EntityPtr)(3 - iVar17); if (0 < (int)local_104) { do { local_12c.x = (npc->_pos).x; local_12c.y = (npc->_pos).y; - uVar13 = Random(); - piVar12 = (int *)Game::Spawn(3,0xdc,&local_12c,&g_vectorZero,pEVar11,0,uVar13); - piVar12[0x5a] = piVar12[0x5a] & 0xfffffffb; - piVar12[0x5b] = piVar12[0x5b]; - (**(code **)(*piVar12 + 0xc))(); - Entity_Familiar::siren_charm(npc,npc->_sirenPlayerEntity); - uVar13 = Random(); - local_110 = (Entity_Player *)piVar12[0xcf]; - local_10c = *(EntityPtr *)(piVar12 + 0xd0); - piVar12 = (int *)Game::Spawn(1000,0xf,&local_110,&g_vectorZero,0,0,uVar13); + uVar14 = Random(); + pEVar12 = (Entity_Familiar *)Game::Spawn(3,0xdc,&local_12c,&g_vectorZero,pEVar11,0,uVar14) + ; + uVar14 = *(undefined4 *)((int)&pEVar12->_flags + 4); + iVar17 = *(int *)pEVar12; + *(uint *)&pEVar12->_flags = (uint)pEVar12->_flags & 0xfffffffb; + *(undefined4 *)((int)&pEVar12->_flags + 4) = uVar14; + (**(code **)(iVar17 + 0xc))(); + Entity_Familiar::siren_charm(pEVar12,npc,npc->_sirenPlayerEntity); + uVar14 = Random(); + local_110 = (Entity_Player *)(pEVar12->_pos).x; + local_10c = (EntityPtr)(pEVar12->_pos).y; + piVar13 = (int *)Game::Spawn(1000,0xf,&local_110,&g_vectorZero,0,0,uVar14); local_30 = 0; local_50[0] = 0.2; local_50[1] = 0.2; @@ -234047,8 +234169,8 @@ LAB_0058f9a7: pvStack_34 = (void *)0x3f800000; local_2c = (void *)0x0; local_28 = 0; - (**(code **)(*piVar12 + 0x3c))(local_50,0xffffffff,0xff); - (**(code **)(*piVar12 + 0xc))(); + (**(code **)(*piVar13 + 0x3c))(local_50,0xffffffff,0xff); + (**(code **)(*piVar13 + 0xc))(); local_104 = (EntityPtr) ((int)&((Entity_NPC *)((int)local_104 + -0xf54))->_pickupGhostsEntity + 3); pEVar11 = (Entity_Player *)local_100.y; @@ -234062,10 +234184,10 @@ LAB_0058f9a7: *(undefined4 *)((int)pvVar4 + 0x338) = 0x40a00000; } if (((npc->_sprite)._animState._animData == (void *)0x0) || - (pfVar15 = (float *)puStack_20, (npc->_sprite)._animState._isPlaying == 0)) { + (pfVar16 = (float *)puStack_20, (npc->_sprite)._animState._isPlaying == 0)) { ANM2::Play(&npc->_sprite,(byte *)"HoverStart",0); npc->_state = 0xd; - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; } break; case 0xd: @@ -234074,39 +234196,39 @@ LAB_0058f9a7: puStack_20 = (undefined1 *)(local_50 + 0x13); ANM2::Play(&npc->_sprite,(byte *)"HoverLoop",0); } - uVar28 = 0x100000000; - uVar30 = 0x3e99999a; - uVar13 = Entity_NPC::CalcTargetPosition(&local_12c,0); - PathFinder::FindGridPath(uVar13,uVar30,uVar28); - iVar16 = (int)(short)npc->_projectileCooldown; - if ((iVar16 / 0x1e < (local_114 + iVar16) / 0x1e) && - (iVar16 = NpcHelper::siren_charmed_count(), iVar16 == 0)) { + uVar29 = 0x100000000; + uVar31 = 0x3e99999a; + uVar14 = Entity_NPC::CalcTargetPosition(&local_12c,0); + PathFinder::FindGridPath(uVar14,uVar31,uVar29); + iVar17 = (int)(short)npc->_projectileCooldown; + if ((iVar17 / 0x1e < (local_114 + iVar17) / 0x1e) && + (iVar17 = NpcHelper::siren_charmed_count(), iVar17 == 0)) { ANM2::Play(&npc->_sprite,(byte *)"HoverEnd",0); npc->_state = 3; *(undefined2 *)((int)&npc->_projectileCooldown + 2) = 0; *(undefined1 *)&(npc->_v2).y = 0xf; - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; } else { sVar9 = (short)npc->_projectileCooldown + (short)local_114; *(short *)&npc->_projectileCooldown = sVar9; local_100.y = npc->_pendingDamage; if (0.0 < local_100.y) { - dVar29 = ceil((double)local_100.y); - local_100.y = (float)dVar29; - sVar9 = (short)(int)dVar29 + sVar9; + dVar30 = ceil((double)local_100.y); + local_100.y = (float)dVar30; + sVar9 = (short)(int)dVar30 + sVar9; *(short *)&npc->_projectileCooldown = sVar9; } - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; if (300 < sVar9) { - pEVar17 = Entity_NPC::GetPlayerTarget(npc); - pcVar14 = "SlashRight"; - if ((pEVar17->_pos).x - (npc->_pos).x <= 0.0) { - pcVar14 = "SlashLeft"; + pEVar18 = Entity_NPC::GetPlayerTarget(npc); + pcVar15 = "SlashRight"; + if ((pEVar18->_pos).x - (npc->_pos).x <= 0.0) { + pcVar15 = "SlashLeft"; } - ANM2::Play(&npc->_sprite,(byte *)pcVar14,0); + ANM2::Play(&npc->_sprite,(byte *)pcVar15,0); npc->_state = 5; - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; } } break; @@ -234116,15 +234238,15 @@ LAB_0058f9a7: if (cVar7 != '\0') { Entity_NPC::PlaySound(npc,0x80,1.0,0x14,0,1.0); sVar9 = *(short *)((int)&npc->_projectileDelay + 2); - fVar25 = npc->_maxHitPoints; + fVar26 = npc->_maxHitPoints; npc->_shadowSize = *(float *)((int)npc->_config + 0x24); if (sVar9 == 0x51) { - fVar25 = fVar25 * 0.2; + fVar26 = fVar26 * 0.2; } - npc->_health = fVar25; + npc->_health = fVar26; npc->_entityCollisionClass = 4; } - pfVar15 = (float *)puStack_20; + pfVar16 = (float *)puStack_20; if (((npc->_sprite)._animState._animData == (void *)0x0) || ((npc->_sprite)._animState._isPlaying == 0)) { npc->_state = 3; @@ -234137,10 +234259,10 @@ LAB_0058f9a7: *(undefined1 *)((int)pvVar4 + 0x139a) = 0; } } - puStack_20 = (undefined1 *)pfVar15; - iVar21 = 0; - iVar16 = Entity::GetIntervalTicks((Entity *)npc); - if (0 < iVar16) { + puStack_20 = (undefined1 *)pfVar16; + iVar22 = 0; + iVar17 = Entity::GetIntervalTicks((Entity *)npc); + if (0 < iVar17) { local_11d = *(char *)((int)npc + 3000); local_11e = *(char *)((int)npc + 0xbb9); local_11f = *(char *)((int)npc + 0xbba); @@ -234172,61 +234294,61 @@ LAB_0058f9a7: local_122 = local_122 + -1; *(char *)((int)npc + 0xbbd) = local_122; } - iVar21 = iVar21 + 1; - iVar16 = Entity::GetIntervalTicks((Entity *)npc); - } while (iVar21 < iVar16); + iVar22 = iVar22 + 1; + iVar17 = Entity::GetIntervalTicks((Entity *)npc); + } while (iVar22 < iVar17); } if (0 < *(short *)((int)npc + 0xba4)) { *(short *)((int)npc + 0xba4) = *(short *)((int)npc + 0xba4) - (short)local_114; } - iVar16 = *(int *)((int)npc + 0xf40); - fVar25 = *(float *)(iVar16 + 0x338); - fVar24 = *(float *)((int)npc + 0x39c); - *(float *)(iVar16 + 0x338) = fVar25; - *(float *)(iVar16 + 0x334) = fVar25 * fVar24 + *(float *)(iVar16 + 0x334); + iVar17 = *(int *)((int)npc + 0xf40); + fVar26 = *(float *)(iVar17 + 0x338); + fVar25 = *(float *)((int)npc + 0x39c); + *(float *)(iVar17 + 0x338) = fVar26; + *(float *)(iVar17 + 0x334) = fVar26 * fVar25 + *(float *)(iVar17 + 0x334); if (*(int *)((int)npc + 0x3c0) == 0) { - pEVar17 = Entity_NPC::GetPlayerTarget(npc); - local_10c = (EntityPtr)((pEVar17->_pos).y - *(float *)((int)npc + 0x340)); - local_110 = (Entity_Player *)((pEVar17->_pos).x - *(float *)((int)npc + 0x33c)); - fVar25 = (float)local_10c * (float)local_10c + (float)local_110 * (float)local_110; + pEVar18 = Entity_NPC::GetPlayerTarget(npc); + local_10c = (EntityPtr)((pEVar18->_pos).y - *(float *)((int)npc + 0x340)); + local_110 = (Entity_Player *)((pEVar18->_pos).x - *(float *)((int)npc + 0x33c)); + fVar26 = (float)local_10c * (float)local_10c + (float)local_110 * (float)local_110; local_104 = local_10c; local_100.y = (float)local_110; sqrtf(); - if (0.0 < fVar25) { - local_10c = (EntityPtr)((1.0 / fVar25) * (float)local_104); - local_110 = (Entity_Player *)((1.0 / fVar25) * local_100.y); + if (0.0 < fVar26) { + local_10c = (EntityPtr)((1.0 / fVar26) * (float)local_104); + local_110 = (Entity_Player *)((1.0 / fVar26) * local_100.y); } FUN_00770640(); - iVar16 = *(int *)((int)npc + 0xf40); - fVar25 = *(float *)(iVar16 + 0x338) - *(float *)((int)npc + 0x39c) * 0.08; - *(undefined4 *)(iVar16 + 0x334) = *(undefined4 *)(iVar16 + 0x334); - auVar26 = ZEXT812(0x3f800000); - if (auVar26._0_4_ <= fVar25) { - auVar26._4_8_ = auVar26._4_8_; - auVar26._0_4_ = fVar25; + iVar17 = *(int *)((int)npc + 0xf40); + fVar26 = *(float *)(iVar17 + 0x338) - *(float *)((int)npc + 0x39c) * 0.08; + *(undefined4 *)(iVar17 + 0x334) = *(undefined4 *)(iVar17 + 0x334); + auVar27 = ZEXT812(0x3f800000); + if (auVar27._0_4_ <= fVar26) { + auVar27._4_8_ = auVar27._4_8_; + auVar27._0_4_ = fVar26; } - *(int *)(iVar16 + 0x338) = auVar26._0_4_; + *(int *)(iVar17 + 0x338) = auVar27._0_4_; } else { FUN_00770640(); } if (*(char *)((int)npc + 0x173) != '\0') { - uVar22 = 0; + uVar23 = 0; local_100.y = (float)g_game->_room; if (((Entity_Player *)local_100.y)->_playerCostumeMap[3]._priority != 0) { do { - iVar16 = *(int *)(((PlayerCostumeMap *)((int)local_100.y + 0x122c))[3]._index + uVar22 * 4); - if ((((*(int *)(iVar16 + 0x28) == 3) && - (*(int *)(iVar16 + 0x410) == *(int *)((int)npc + 0xf40))) && - (*(int *)(iVar16 + 0x2c) != 0x29)) && (*(int *)(iVar16 + 0x2c) != 0x28)) { + iVar17 = *(int *)(((PlayerCostumeMap *)((int)local_100.y + 0x122c))[3]._index + uVar23 * 4); + if ((((*(int *)(iVar17 + 0x28) == 3) && + (*(int *)(iVar17 + 0x410) == *(int *)((int)npc + 0xf40))) && + (*(int *)(iVar17 + 0x2c) != 0x29)) && (*(int *)(iVar17 + 0x2c) != 0x28)) { Entity_Familiar::RemoveFromPlayer(); } - uVar22 = uVar22 + 1; - } while (uVar22 < (uint)((PlayerCostumeMap *)((int)local_100.y + 0x122c))[3]._priority); + uVar23 = uVar23 + 1; + } while (uVar23 < (uint)((PlayerCostumeMap *)((int)local_100.y + 0x122c))[3]._priority); } - iVar16 = *(int *)((int)npc + 0xf40); - *(uint *)(iVar16 + 0x168) = *(uint *)(iVar16 + 0x168) & 0xffbfffff; - *(undefined4 *)(iVar16 + 0x16c) = *(undefined4 *)(iVar16 + 0x16c); + iVar17 = *(int *)((int)npc + 0xf40); + *(uint *)(iVar17 + 0x168) = *(uint *)(iVar17 + 0x168) & 0xffbfffff; + *(undefined4 *)(iVar17 + 0x16c) = *(undefined4 *)(iVar17 + 0x16c); } (**(code **)(**(int **)((int)npc + 0xf40) + 0xc))(); ExceptionList = local_1c; @@ -235155,11 +235277,11 @@ void __fastcall NpcAI::ENTITY_BEAST(Entity_NPC *npc) EntityRef local_2b8; EntityRef local_290; undefined1 local_258 [32]; - undefined4 local_238; - undefined4 local_234; - undefined4 local_230; - undefined4 local_22c; - undefined4 local_228; + int local_238; + int local_234; + int local_230; + int local_22c; + int local_228; Vector local_220; int *local_218; float local_214; @@ -235474,11 +235596,11 @@ LAB_00592b43: if (npc->_dead != 0) { BlendMode::SetMode(2,fVar17); pLVar7 = ANM2::GetLayer(&npc->_sprite,&DAT_00000009); - *(undefined4 *)&pLVar7->field_0x78 = local_238; - *(undefined4 *)&pLVar7->field_0x7c = local_234; - *(undefined4 *)&pLVar7->field_0x80 = local_230; - *(undefined4 *)&pLVar7->field_0x84 = local_22c; - *(undefined4 *)&pLVar7->field_0x88 = local_228; + pLVar7->_blendMode[0] = local_238; + pLVar7->_blendMode[1] = local_234; + pLVar7->_blendMode[2] = local_230; + pLVar7->_blendMode[3] = local_22c; + pLVar7->_blendMode[4] = local_228; pLVar7 = ANM2::GetLayer(&npc->_sprite,&DAT_00000009); pLVar7->_wrapSMode = 1; pLVar7 = ANM2::GetLayer(&npc->_sprite,&DAT_00000009); @@ -235551,7 +235673,7 @@ LAB_00592b43: ANM2::Play(&npc->_sprite,s_Idle,1); pMVar18 = &g_manager->_musicManager; npc->_state = 3; - *(undefined4 *)(&pMVar18->field_0x170 + *(int *)pMVar18 * 0x184) = 0; + pMVar18->_channels[pMVar18->_currentChannel]._enabledLayers = 0; MusicManager::EnableLayer(3,0); } pLVar7 = ANM2::GetLayer(&npc->_sprite,&DAT_00000009); @@ -235685,18 +235807,18 @@ LAB_00595ea4: fVar17 = 7.5; } if ((npc->_sprite)._flipX == 0) { - fVar27 = *(float *)&local_1a8->field_0x788c + 0.2; + fVar27 = local_1a8->_beastBlastForce + 0.2; if (fVar17 <= fVar27) { fVar27 = fVar17; } } else { - fVar27 = *(float *)&local_1a8->field_0x788c - 0.2; + fVar27 = local_1a8->_beastBlastForce - 0.2; if (fVar27 <= -fVar17) { fVar27 = -fVar17; } } - *(float *)&local_1a8->field_0x788c = fVar27; + local_1a8->_beastBlastForce = fVar27; fVar17 = (npc->_v1).x - ABS(fVar27); (npc->_v1).x = fVar17; if (fVar17 <= 0.0) { @@ -236832,7 +236954,7 @@ switchD_00592f92_default: *(undefined4 *)((int)&npc->_flags + 4) = uVar6; npc->_isInvicible = 0; npc->_i1 = 0; - *(undefined4 *)(&pMVar18->field_0x170 + *(int *)pMVar18 * 0x184) = 0; + pMVar18->_channels[pMVar18->_currentChannel]._enabledLayers = 0; MusicManager::EnableLayer(3,0); (npc->_pos).x = local_1b4 - 400.0; (npc->_pos).y = (float)local_1b0 - 0.0; @@ -236857,11 +236979,11 @@ LAB_00595eb4: iVar8 = npc->_state; } if ((iVar8 != 4) && (iVar8 != 0x10)) { - fVar17 = *(float *)&pRVar21->field_0x788c - 0.05; + fVar17 = pRVar21->_beastBlastForce - 0.05; if (fVar17 <= 0.0) { fVar17 = 0.0; } - *(float *)&pRVar21->field_0x788c = fVar17; + pRVar21->_beastBlastForce = fVar17; } ExceptionList = local_1c; return; @@ -237389,18 +237511,16 @@ void __fastcall NpcAI::ENTITY_BEAST_soul(Entity_NPC *npc) EntityPtr local_2c; EntityPtr *local_28; RNG local_24; - undefined8 local_20; - float local_18; undefined4 local_14; local_14 = __security_cookie ^ (int)register0x00000010 - 0x10U; - local_18 = (float)npc->_aiCallPhase; + local_24._shift3 = npc->_aiCallPhase; local_2c = (EntityPtr)npc; - if (local_18 == 5.60519e-45) { + if (local_24._shift3 == 4) { fVar18 = 1.0; } else { - if (local_18 != 2.8026e-45) { + if (local_24._shift3 != 2) { switch(npc->_state) { case 0: (npc->_posOffset).y = -15.0; @@ -237413,11 +237533,12 @@ void __fastcall NpcAI::ENTITY_BEAST_soul(Entity_NPC *npc) pEVar19 = local_28; local_2c = (EntityPtr)pEVar16; sin(); - local_24 = (RNG)npc->_initSeed; - local_18 = 3.78351e-44; + local_24._seed = npc->_initSeed; + local_24._shift3 = 0x1b; fVar18 = (float)local_2c * 0.0 - (float)pEVar19 * -1.0; fVar17 = (float)pEVar19 * 0.0 - (float)local_2c * 1.0; - local_20 = 0x1b00000001; + local_24._shift1 = 1; + local_24._shift2 = 0x1b; (npc->_v2).x = fVar18; (npc->_v2).y = fVar17; (npc->_velocity).x = fVar18 * 10.0; @@ -237487,9 +237608,8 @@ void __fastcall NpcAI::ENTITY_BEAST_soul(Entity_NPC *npc) } iVar11 = npc->_stateFrame; if (iVar11 < 0x28) { - local_18 = *(float *)((int)npc->_target + 0x340) - (npc->_pos).y; - local_20 = CONCAT44(*(float *)((int)npc->_target + 0x33c) - (npc->_pos).x, - (undefined4)local_20); + local_24._shift3 = (int)(*(float *)((int)npc->_target + 0x340) - (npc->_pos).y); + local_24._shift2 = (int)(*(float *)((int)npc->_target + 0x33c) - (npc->_pos).x); pfVar8 = (float *)Vector::Resized(); fVar18 = npc->_speedMultiplier; fVar17 = pfVar8[1]; @@ -237629,7 +237749,7 @@ LAB_00597c51: fVar18 = (npc->_velocity).y; atan2f(); (npc->_sprite)._rotation = fVar18 * 57.295776 + 90.0; - if (local_18 != 2.8026e-45) { + if (local_24._shift3 != 2) { std::deque::assign(&npc->_vectorDeque2); } return; @@ -237646,9 +237766,10 @@ switchD_00597234_caseD_3: pEVar19 = local_28; local_2c = (EntityPtr)pEVar16; sin(); - local_18 = (float)local_2c * pfVar8[1] + (float)pEVar19 * *pfVar8 + (npc->_velocity).y; - local_20 = CONCAT44(((float)local_2c * *pfVar8 - (float)pEVar19 * pfVar8[1]) + (npc->_velocity).x, - (undefined4)local_20); + local_24._shift3 = + (int)((float)local_2c * pfVar8[1] + (float)pEVar19 * *pfVar8 + (npc->_velocity).y); + local_24._shift2 = + (int)(((float)local_2c * *pfVar8 - (float)pEVar19 * pfVar8[1]) + (npc->_velocity).x); sqrtf(); pfVar8 = (float *)Vector::Resized(); fVar18 = (npc->_v1).x; @@ -237664,7 +237785,7 @@ switchD_00597234_caseD_3: (npc->_velocity).y = fVar17; (npc->_velocity).x = fVar18; if (1.0 < fVar18 * fVar18 + fVar17 * fVar17) { - pfVar8 = (float *)Vector::Normalized((int)&local_20 + 4); + pfVar8 = (float *)Vector::Normalized(&local_24._shift2); (npc->_v2).x = *pfVar8; (npc->_v2).y = pfVar8[1]; } @@ -237691,11 +237812,15 @@ switchD_00597234_caseD_3: } -//@@ 00597d00 FUN_00597d00 +//@@ 00597d00 NpcHelper::beast_soul_render /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? Entity_NPC::Render case 0x3b7 (ENTITY_BEAST) -> FUN_00598260 calls it when variant == 3 + (else Entity::Render); projects the npc trail deque +0xc1c through the background parallax + (338x182, x0.65) into static vector g_beastTrailPoints and draws it with BeamRenderer::Add/End + (variant 3 = the Beast's soul per wiki, unverified) */ -void FUN_00597d00(float *param_1) +void NpcHelper::beast_soul_render(float *param_1) { float *pfVar1; @@ -237875,7 +238000,7 @@ void FUN_00598260(undefined4 param_1) Entity *in_ECX; if (in_ECX->_variant == 3) { - FUN_00597d00(param_1); + NpcHelper::beast_soul_render(param_1); return; } Entity::Render(in_ECX,param_1); @@ -238006,6 +238131,7 @@ void __fastcall NpcAI::ENTITY_POLYCEPHALUS_the_pile(Entity_NPC *npc) { ANM2 *this; Room *this_00; + RNG rng; Manager *pMVar1; char cVar2; void *pvVar3; @@ -238180,14 +238306,18 @@ LAB_00598737: uVar7 = Random(); uStack_140 = 0x900000005; fStack_138 = 9.80909e-45; - iVar9 = WeightedOutcomePicker::PickOutcome(&local_110,uVar7 | 1,5,9,7); + rng._shift1 = 5; + rng._seed = uVar7 | 1; + rng._shift2 = 9; + rng._shift3 = 7; + uVar7 = WeightedOutcomePicker::PickOutcome(&local_110,rng); pEVar17 = local_128; pMVar1 = g_manager; - if (iVar9 == 0) { + if (uVar7 == 0) { npc->_state = 9; npc->_projectileCooldown = 0; } - else if (iVar9 == 1) { + else if (uVar7 == 1) { npc->_state = 0xe; local_fc = (Entity *)(int)(((npc->_pos).x - 40.0) / 40.0 + 0.5); local_114 = (Entity *)((this_00->_gridWidth - (int)local_fc) + -1); @@ -238210,7 +238340,7 @@ LAB_00598737: Entity_NPC::PlaySound(local_128,0x133,1.0,2,0,1.0); npc = pEVar17; } - else if (iVar9 == 2) { + else if (uVar7 == 2) { npc->_state = 0xd; } else { @@ -241518,6 +241648,7 @@ void NpcHelper::UltraGreed_Smash(float param_1,float param_2) { int *piVar1; void *pvVar2; + RNG rng; qword qVar3; Game *this; Manager *pMVar4; @@ -241668,8 +241799,12 @@ LAB_0059eaaa: local_90 = local_90 | 1; uStack_8c = 0x900000005; fStack_84 = 9.80909e-45; - iVar7 = WeightedOutcomePicker::PickOutcome(&local_a0,local_90,5,9,7); - if ((iVar7 == 0) || (local_94->_state == 0x10)) { + rng._shift1 = 5; + rng._seed = local_90; + rng._shift2 = 9; + rng._shift3 = 7; + uVar6 = WeightedOutcomePicker::PickOutcome(&local_a0,rng); + if ((uVar6 == 0) || (local_94->_state == 0x10)) { Game::ShakeScreen(g_game,0xd); if (local_a4 != 0) { uVar6 = Random(); @@ -241692,7 +241827,7 @@ LAB_0059eaaa: } } } - else if ((iVar7 == 1) && (Game::ShakeScreen(g_game,0x12), local_a4 != 0)) { + else if ((uVar6 == 1) && (Game::ShakeScreen(g_game,0x12), local_a4 != 0)) { local_80 = (float)local_a4; do { if (local_a4 == 0) { @@ -241777,6 +241912,8 @@ void __fastcall NpcAI::ENTITY_ULTRA_GREED(Entity_NPC *npc) { AnimationState *this; code *pcVar1; + RNG rng; + RNG rng_00; Manager *pMVar2; byte bVar3; char cVar4; @@ -241795,24 +241932,27 @@ void __fastcall NpcAI::ENTITY_ULTRA_GREED(Entity_NPC *npc) char *pcVar17; Game *extraout_ECX; Game *extraout_ECX_00; - Game *pGVar18; Game *extraout_ECX_01; - undefined4 extraout_ECX_02; - undefined4 extraout_ECX_03; - undefined4 extraout_ECX_04; + Game *extraout_ECX_02; + Game *extraout_ECX_03; + Game *pGVar18; + Game *extraout_ECX_04; undefined4 extraout_ECX_05; undefined4 extraout_ECX_06; undefined4 extraout_ECX_07; undefined4 extraout_ECX_08; undefined4 extraout_ECX_09; - byte *extraout_ECX_10; - byte *extraout_ECX_11; - byte *extraout_ECX_12; + undefined4 extraout_ECX_10; + undefined4 extraout_ECX_11; + undefined4 extraout_ECX_12; byte *extraout_ECX_13; byte *extraout_ECX_14; byte *extraout_ECX_15; byte *extraout_ECX_16; byte *extraout_ECX_17; + byte *extraout_ECX_18; + byte *extraout_ECX_19; + byte *extraout_ECX_20; void *pvVar19; undefined4 extraout_EDX; uint3 uVar22; @@ -241835,6 +241975,8 @@ void __fastcall NpcAI::ENTITY_ULTRA_GREED(Entity_NPC *npc) double dVar35; undefined4 uVar36; TypeDescriptor *pTVar37; + TypeDescriptor *pTVar38; + undefined4 uVar39; EntityRef local_25c; char local_234; int local_228; @@ -241848,8 +241990,7 @@ void __fastcall NpcAI::ENTITY_ULTRA_GREED(Entity_NPC *npc) char local_1f4; int local_1f0; float local_1e8; - undefined1 local_1e4 [24]; - RNG local_1cc; + undefined1 local_1e4 [28]; undefined8 uStack_1c8; undefined1 *puStack_1c0; undefined1 local_1bc [8]; @@ -241941,7 +242082,7 @@ void __fastcall NpcAI::ENTITY_ULTRA_GREED(Entity_NPC *npc) do { uVar34 = __RTDynamicCast(*(undefined4 *)(local_1f0 + (int)fVar23 * 4),0, &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, - &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor); + &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor,0); uVar6 = (undefined4)((ulonglong)uVar34 >> 0x20); iVar9 = (int)uVar34; if (iVar9 != 0) { @@ -242005,11 +242146,12 @@ void __fastcall NpcAI::ENTITY_ULTRA_GREED(Entity_NPC *npc) local_138.y = (float)(*(int *)((int)local_130 + (int)local_194) / *(int *)((int)local_194 + 0xc)) * 40.0 + 120.0; uVar6 = Random(); - uVar34 = 0xc5d6ac; + uVar39 = 0; + pTVar38 = &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor; pTVar37 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar36 = 0; uVar6 = Game::Spawn(0x126,0,&local_138,&g_vectorZero,npc,0,uVar6); - piVar7 = (int *)__RTDynamicCast(uVar6,uVar36,pTVar37,uVar34); + piVar7 = (int *)__RTDynamicCast(uVar6,uVar36,pTVar37,pTVar38,uVar39); if (piVar7 != (int *)0x0) { piVar7[0x2f0] = uVar5; (**(code **)(*piVar7 + 0xc))(); @@ -242087,20 +242229,23 @@ LAB_0059f29a: *(byte *)((int)EVar28 + 0x173) = 1; } else { - cVar4 = Entity::is_valid_boss_enemy((Entity *)EVar28); + cVar4 = Entity::is_valid_boss_enemy((Entity *)EVar28,pGVar18); if (cVar4 == '\0') { - if ((*(int *)((int)EVar28 + 0x28) == 0x126) && - (iVar9 = __RTDynamicCast(EVar28,0,&IsaacRepentancePlus::Entity:: - RTTI_Type_Descriptor, - &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor), - iVar9 != 0)) { - *(undefined4 *)(iVar9 + 0xb64) = 3; + pGVar18 = extraout_ECX; + if (*(int *)((int)EVar28 + 0x28) == 0x126) { + iVar9 = __RTDynamicCast(EVar28,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, + &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor,0); + pGVar18 = extraout_ECX_01; + if (iVar9 != 0) { + *(undefined4 *)(iVar9 + 0xb64) = 3; + } } } else { pcVar1 = *(code **)(*(int *)EVar28 + 0x24); EntityRef::constructor((EntityRef *)local_1e4,(Entity *)npc); - (*pcVar1)(); + (*pcVar1)(local_1e4); + pGVar18 = extraout_ECX_00; } } } @@ -242109,7 +242254,7 @@ LAB_0059f29a: } PersistentGameData::AddBestiaryKill (&g_manager->_persistentGameData,*(int *)((int)npc + 0x28),*(int *)((int)npc + 0x2c)); - pGVar18 = extraout_ECX; + pGVar18 = extraout_ECX_02; uVar22 = extraout_var; } this = (AnimationState *)((int)npc + 0x78); @@ -242122,7 +242267,7 @@ LAB_0059f29a: local_190 = CONCAT31((int3)((uint)extraout_EDX_00 >> 8),local_142); local_141 = local_142; if (*(int *)((int)npc + 0x7c) == 0) { - pGVar18 = extraout_ECX_00; + pGVar18 = extraout_ECX_03; } else { bVar3 = AnimationState::IsEventTriggered(this,(byte *)"Stomp1"); @@ -242141,7 +242286,7 @@ LAB_0059f29a: if (bVar3 != 0) { local_190 = 1; } - pGVar18 = extraout_ECX_01; + pGVar18 = extraout_ECX_04; } local_164 = *(undefined1 **)((int)npc + 0xf1c); fVar23 = 0.0; @@ -242154,7 +242299,7 @@ LAB_0059f29a: local_180 = (EntityPtr)(0.0 - fVar23); if (*(int *)((int)npc + 0xf1c) == -1) { local_138.x = (float)local_180 + 0.0; - uVar6 = extraout_ECX_02; + uVar6 = extraout_ECX_05; LAB_0059f5e9: local_13c = (EntityPtr)0x0; local_180 = (EntityPtr)local_138.x; @@ -242164,29 +242309,29 @@ LAB_0059f5f6: iVar9 = -1; } else { - InputManager::GetActionValue(1,*(int *)((int)npc + 0xf1c),npc,extraout_ECX_02); + InputManager::GetActionValue(1,*(int *)((int)npc + 0xf1c),npc,extraout_ECX_05); EVar28 = (EntityPtr)(fVar23 + (float)local_180); - uVar6 = extraout_ECX_03; + uVar6 = extraout_ECX_06; local_138.x = (float)EVar28; if (*(int *)((int)npc + 0xf1c) == -1) goto LAB_0059f5e9; local_180 = EVar28; local_150 = EVar28; - InputManager::GetActionValue(2,*(int *)((int)npc + 0xf1c),npc,extraout_ECX_03); + InputManager::GetActionValue(2,*(int *)((int)npc + 0xf1c),npc,extraout_ECX_06); local_13c = (EntityPtr)(0.0 - (float)EVar28); if (*(int *)((int)npc + 0xf1c) == -1) { - uVar6 = extraout_ECX_04; + uVar6 = extraout_ECX_07; goto LAB_0059f5f6; } - InputManager::GetActionValue(3,*(int *)((int)npc + 0xf1c),npc,extraout_ECX_04); + InputManager::GetActionValue(3,*(int *)((int)npc + 0xf1c),npc,extraout_ECX_07); iVar9 = *(int *)((int)npc + 0xf1c); - uVar6 = extraout_ECX_05; + uVar6 = extraout_ECX_08; } local_13c = (EntityPtr)((float)EVar28 + (float)local_13c); fVar23 = (float)local_13c * (float)local_13c + (float)local_150 * (float)local_150; local_138.y = (float)local_13c; if (1.0 < fVar23) { sqrtf(); - uVar6 = extraout_ECX_06; + uVar6 = extraout_ECX_09; if (0.0 < fVar23) { local_180 = (EntityPtr)((float)local_150 * (1.0 / fVar23)); local_13c = (EntityPtr)((float)local_13c * (1.0 / fVar23)); @@ -242197,11 +242342,11 @@ LAB_0059f5f6: if (iVar9 != -1) { InputManager::GetActionValue(4,iVar9,npc,uVar6); if (*(int *)((int)npc + 0xf1c) != -1) { - InputManager::GetActionValue(5,*(int *)((int)npc + 0xf1c),npc,extraout_ECX_07); + InputManager::GetActionValue(5,*(int *)((int)npc + 0xf1c),npc,extraout_ECX_10); if (*(int *)((int)npc + 0xf1c) != -1) { - InputManager::GetActionValue(6,*(int *)((int)npc + 0xf1c),npc,extraout_ECX_08); + InputManager::GetActionValue(6,*(int *)((int)npc + 0xf1c),npc,extraout_ECX_11); if (*(int *)((int)npc + 0xf1c) != -1) { - InputManager::GetActionValue(7,*(int *)((int)npc + 0xf1c),npc,extraout_ECX_09); + InputManager::GetActionValue(7,*(int *)((int)npc + 0xf1c),npc,extraout_ECX_12); } } } @@ -242289,7 +242434,7 @@ LAB_0059f5f6: *(undefined4 *)((int)npc + 0x1e0) = 0; } fStack_34 = local_188; - (**(code **)(*(int *)npc + 0x3c))(&local_50,1,0,0); + (**(code **)(*(int *)npc + 0x3c))(&local_50,1,0,0,1); local_178 = *(float *)((int)npc + 0xb64); if (local_178 == 2.8026e-45) { local_12c = (EntityPtr)(*(float *)((int)npc + 0x33c) + 0.0); @@ -242464,7 +242609,7 @@ LAB_005a09ef: SoundEffects::PlayWithFartOverride(0x1b1,0x2d,0,0x3f800000); } ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)"Smash",0); - cVar4 = Sprite::IsEventTriggered((Sprite *)((int)npc + 0x48)); + cVar4 = Sprite::IsEventTriggered((Sprite *)((int)npc + 0x48),"Smash"); if (cVar4 != '\0') { local_138.y = *(float *)((int)npc + 0x340) + 60.0; local_138.x = *(float *)((int)npc + 0x33c) + 0.0; @@ -242491,7 +242636,7 @@ LAB_005a1af9: iVar9 = *(int *)((int)npc + 0xbc0); if (iVar9 == 0) { ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)"GuardStart",0); - cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48)); + cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48),&s_empty); if (cVar4 != '\0') { *(undefined4 *)((int)npc + 0xbc0) = 1; } @@ -242499,9 +242644,10 @@ LAB_005a1af9: else if (iVar9 == 1) { *(uint *)((int)npc + 0x168) = *(uint *)((int)npc + 0x168) | 0x2000000; *(undefined4 *)((int)npc + 0x16c) = *(undefined4 *)((int)npc + 0x16c); - cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48)); + cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48),"GuardFlashSlow"); if ((cVar4 != '\0') || - (cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48)), cVar4 != '\0')) { + (cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48),"GuardStart"), cVar4 != '\0')) + { ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)"Guarding",0); } if (0.0 < *(float *)((int)npc + 0x14)) { @@ -242511,7 +242657,7 @@ LAB_005a1af9: if ((int)local_14c < 5) goto LAB_0059fe46; } else { - cVar4 = Entity_NPC::IsControllerActionPressed(npc); + cVar4 = Entity_NPC::IsControllerActionPressed(npc,0xb); if (cVar4 == '\0') { LAB_0059fe46: *(undefined4 *)((int)npc + 0xbc0) = 2; @@ -242522,7 +242668,7 @@ LAB_0059fe46: } else if (iVar9 == 2) { ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)"GuardEnd",0); - cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48)); + cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48),&s_empty); if (cVar4 != '\0') { *(undefined4 *)((int)npc + 0xb64) = 4; *(undefined4 *)((int)npc + 0x410) = 0; @@ -242541,7 +242687,7 @@ LAB_0059fe46: if (iVar9 == 0) { ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)"SpinStart",0); SoundEffects::PlayWithFartOverride(0x1b1,0x1e,0,0x3f800000); - cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48)); + cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48),&s_empty); if (cVar4 != '\0') { *(undefined4 *)((int)npc + 0xbc0) = 1; } @@ -242571,7 +242717,7 @@ LAB_0059fe46: Entity::AddVelocity((Entity *)npc,&local_138,0); local_138.x = *(float *)((int)npc + 0x334) - ((Vector *)((int)npc + 0x33c))->x; local_138.y = *(float *)((int)npc + 0x338) - *(float *)((int)npc + 0x340); - Vector::Resize(); + Vector::Resize(0x3f800000); if (local_164 != (undefined1 *)0xffffffff) { local_138.x = (float)local_180; local_138.y = (float)local_13c; @@ -242615,7 +242761,7 @@ LAB_0059fe46: if ((int)(120.0 - local_188 * 60.0) < (int)uVar5) goto LAB_005a15ba; } else { - cVar4 = Entity_NPC::IsControllerActionPressed(npc); + cVar4 = Entity_NPC::IsControllerActionPressed(npc,4); if (cVar4 != '\0') { *(int *)((int)npc + 0x410) = *(int *)((int)npc + 0x410) + 1; goto LAB_005a1634; @@ -242628,7 +242774,7 @@ LAB_005a15ba: } else if (iVar9 == 2) { ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)"SpinEnd",0); - cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48)); + cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48),&s_empty); if (cVar4 != '\0') { *(undefined4 *)((int)npc + 0xb64) = 4; *(undefined4 *)((int)npc + 0x410) = 0; @@ -242647,7 +242793,7 @@ LAB_005a1634: if (3 < iVar9) { local_130 = (EntityPtr)0x1; } - cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48)); + cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48),&s_empty); if (cVar4 != '\0') { *(undefined4 *)((int)npc + 0xb64) = 4; *(undefined4 *)((int)npc + 0x410) = 0; @@ -242655,12 +242801,12 @@ LAB_005a1634: } } if (local_130._0_1_ != '\0') { - EntityList::QueryRadius(&local_1cc,(int)npc + 0x33c,0xffffffff); + EntityList::QueryRadius(local_1e4 + 0x18,(int)npc + 0x33c,0xffffffff); local_14._0_1_ = 6; local_164 = (undefined1 *)0x0; if (puStack_1c0 != (undefined1 *)0x0) { do { - piVar7 = *(int **)((int)uStack_1c8 + (int)local_164 * 4); + piVar7 = *(int **)((int)(float)uStack_1c8 + (int)local_164 * 4); if (((piVar7 != (int *)0x0) && (piVar7[0x62] != 0)) && ((((iVar9 = piVar7[10], iVar9 == 1 || (iVar9 == 3)) && ((*(uint *)((int)npc + 0x168) & 0x20000000) == 0)) || @@ -242679,11 +242825,11 @@ LAB_005a1634: if (*(char *)((int)npc + 0x148) != '\0') { fVar23 = 70.0; } - fVar23 = fVar23 * 0.017453292; - local_12c = (EntityPtr)fVar23; + EVar29 = (EntityPtr)(fVar23 * 0.017453292); + local_12c = EVar29; cos(); EVar28 = local_12c; - local_130 = (EntityPtr)fVar23; + local_130 = EVar29; sin(); local_148 = (float)local_130 * (float)local_13c - (float)EVar28 * local_14c; local_130 = (EntityPtr) @@ -242712,7 +242858,7 @@ LAB_005a1634: else { uVar6 = 0x41f00000; } - (*(code *)local_12c)(uVar6,0x40,0,&local_25c); + (*(code *)local_12c)(uVar6,0x40,0,&local_25c,0x1e); } } local_164 = local_164 + 1; @@ -242766,12 +242912,14 @@ LAB_005a1634: EVar28 = local_12c; local_140 = EVar29; cos(); + uVar39 = 0; + pTVar38 = &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor; pTVar37 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar36 = 0; local_138.y = (float)local_140; local_138.x = (float)EVar28; uVar6 = Game::Spawn(0x125,2,local_1bc,&local_138,npc,0,uVar6); - piVar7 = (int *)__RTDynamicCast(uVar6,uVar36,pTVar37); + piVar7 = (int *)__RTDynamicCast(uVar6,uVar36,pTVar37,pTVar38,uVar39); piVar7[0xc] = 1; (**(code **)(*piVar7 + 0xc))(); local_148 = (float)((int)local_148 - 1); @@ -242781,8 +242929,8 @@ LAB_005a1634: local_1e4._12_4_ = *(int *)((int)npc + 0x33c); local_1e4._16_4_ = *(float *)((int)npc + 0x340); puStack_1c0 = (undefined1 *)0x19; - uStack_1c8._0_4_ = 0x3ccccccd; - local_1cc = (RNG)0x3ccccccd; + uStack_1c8._0_4_ = 0.025; + local_1e4._24_4_ = 0.025; FUN_0081e220(); Game::SetShockwaveParams(); } @@ -242798,7 +242946,7 @@ LAB_005a1634: } } else { - cVar4 = Entity_NPC::IsControllerActionPressed(npc); + cVar4 = Entity_NPC::IsControllerActionPressed(npc,10); if (cVar4 == '\0') { LAB_005a09d1: *(undefined4 *)((int)npc + 0xb64) = 4; @@ -242818,7 +242966,7 @@ LAB_005a09d1: *(float *)((int)npc + 0x334) = (pEVar11->_pos).x; *(float *)((int)npc + 0x338) = fVar23; } - cVar4 = Sprite::IsEventTriggered((Sprite *)((int)npc + 0x48)); + cVar4 = Sprite::IsEventTriggered((Sprite *)((int)npc + 0x48),s_Jump); if (cVar4 != '\0') { *(undefined4 *)((int)npc + 0x188) = 0; *(undefined4 *)((int)npc + 0x184) = 0; @@ -242826,7 +242974,7 @@ LAB_005a09d1: Entity_NPC::CreateGoldParticles(npc,0xf); Game::ShakeScreen(g_game,8); } - cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48)); + cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48),&DAT_00b1e0e4); if (cVar4 == '\0') { iVar9 = *(int *)((int)npc + 0xbc0); } @@ -242864,7 +243012,7 @@ LAB_005a09d1: local_128.FallingSpeedModifier = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 5.0 + 30.0; - pfVar12 = (float *)MusicManager::RandomVector(); + pfVar12 = (float *)MusicManager::RandomVector(local_1bc); iVar9 = Random(); fVar23 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10; @@ -242894,7 +243042,7 @@ LAB_005a09d1: } if (iVar9 == 2) { ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)"JumpDown",0); - cVar4 = Sprite::IsEventTriggered((Sprite *)((int)npc + 0x48)); + cVar4 = Sprite::IsEventTriggered((Sprite *)((int)npc + 0x48),"Stomp"); if (cVar4 != '\0') { *(undefined4 *)((int)npc + 0x188) = 4; *(undefined4 *)((int)npc + 0x184) = 5; @@ -242908,33 +243056,34 @@ LAB_005a09d1: local_1e4._12_4_ = *(int *)((int)npc + 0x33c); local_1e4._16_4_ = *(float *)((int)npc + 0x340); puStack_1c0 = (undefined1 *)0x19; - uStack_1c8._0_4_ = 0x3ccccccd; - local_1cc = (RNG)0x3ccccccd; + uStack_1c8._0_4_ = 0.025; + local_1e4._24_4_ = 0.025; FUN_0081e220(); Game::SetShockwaveParams(); Game::ShakeScreen(g_game,0x12); local_148 = 0.0; do { uVar6 = Random(); - uVar34 = 0xc5d5ac; + uVar39 = 0; + pTVar38 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; pTVar37 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar36 = 0; uVar6 = Game::Spawn(1000,0x48,(int)npc + 0x33c,&g_vectorZero,npc,0,uVar6); - local_140 = (EntityPtr)__RTDynamicCast(uVar6,uVar36,pTVar37,uVar34); + local_140 = (EntityPtr)__RTDynamicCast(uVar6,uVar36,pTVar37,pTVar38,uVar39); EVar28 = (EntityPtr)((int)local_140 + 0x3bc); if (*(EntityPtr *)((int)local_140 + 0x3bc) != (EntityPtr)0x0) { local_12c = EVar28; - std::multiset::erase(); + std::multiset::erase(&local_12c); } *(Entity_NPC **)EVar28 = npc; - std::multiset::insert(); + std::multiset::insert(EVar28); fVar23 = (float)((int)local_148 + 1); *(float *)((int)local_140 + 0x474) = ((float)(int)local_148 * 360.0) / 5.0; local_148 = fVar23; } while ((int)fVar23 < 5); } *(int *)((int)npc + 0x410) = *(int *)((int)npc + 0x410) + 1; - cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48)); + cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48),"JumpDown"); if (cVar4 != '\0') { *(undefined4 *)((int)npc + 0xbc0) = 0; *(undefined4 *)((int)npc + 0x410) = 0; @@ -242947,11 +243096,11 @@ LAB_005a09d1: ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)"Death",0); *(undefined4 *)((int)npc + 0x14c) = 0x3f800000; Entity_NPC::CreateBling(npc); - cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48)); + cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48),&s_empty); if (cVar4 != '\0') { *(undefined4 *)((int)npc + 0xb64) = 0x2329; } - cVar4 = Sprite::IsEventTriggered((Sprite *)((int)npc + 0x48)); + cVar4 = Sprite::IsEventTriggered((Sprite *)((int)npc + 0x48),"Disappear"); if (cVar4 != '\0') { SoundEffects::PlayWithFartOverride(0x1af,2,0,0x3f800000); SoundEffects::PlayWithFartOverride(0x1ab,2,0,0x3f800000); @@ -243000,7 +243149,7 @@ LAB_005a09d1: if (iVar9 == 0) { ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)"SlotStart",0); SoundEffects::PlayWithFartOverride(0x1b3,0x3c,0,0x3f800000); - cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48)); + cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48),&s_empty); if (cVar4 != '\0') { *(undefined4 *)((int)npc + 0xbc0) = 1; *(undefined4 *)((int)npc + 0x410) = 0; @@ -243011,7 +243160,7 @@ LAB_005a09d1: SFXManager::SetAmbientSound(0x1b4,0x3f800000,0x3f800000); *(int *)((int)npc + 0x410) = *(int *)((int)npc + 0x410) + 1; if ((int)(51.0 - local_188 * 21.0) < *(int *)((int)npc + 0x410)) { - SFXManager::Stop(); + SFXManager::Stop(0x1b4); SoundEffects::PlayWithFartOverride(0x1b5,0x5a,0,0x3f800000); *(undefined4 *)((int)npc + 0xbc0) = 2; uVar5 = Random(); @@ -243067,7 +243216,7 @@ LAB_005a0396: local_13c = (EntityPtr)0x0; local_130 = (EntityPtr)0x1; LAB_005a044d: - SFXManager::Stop(); + SFXManager::Stop(0x1b7); SoundEffects::PlayWithFartOverride(0x1b6,0x5a,0,0x3f800000); } iVar9 = *(int *)((int)npc + 0x410); @@ -243093,19 +243242,22 @@ LAB_005a044d: EVar28 = local_12c; local_140 = EVar29; cos(); + uVar39 = 0; + pTVar38 = &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor; pTVar37 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar36 = 0; local_138.y = (float)local_140; local_138.x = (float)EVar28; uVar6 = Game::Spawn(0x125,local_180,local_1bc,&local_138,npc,0,uVar6); - piVar7 = (int *)__RTDynamicCast(uVar6,uVar36,pTVar37); + piVar7 = (int *)__RTDynamicCast(uVar6,uVar36,pTVar37,pTVar38,uVar39); if (piVar7 != (int *)0x0) { if (((local_180 == (EntityPtr)0x1) && (iVar9 = *(int *)((int)npc + 0x410) / (int)local_178 + -1, iVar9 < (int)local_1f8)) && (iVar9 = __RTDynamicCast(*(undefined4 *)(local_200 + iVar9 * 4),0, - &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor), - iVar9 != 0)) { + &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, + &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor,0 + ), iVar9 != 0)) { piVar7[0x2f0] = *(int *)(iVar9 + 0xbc0); } (**(code **)(*piVar7 + 0xc))(); @@ -243154,7 +243306,7 @@ switchD_0059ff31_default: uVar5 = uVar5 | 1; *(uint *)((int)npc + 0xbc0) = uVar5; } - RNG::game_constructor(&local_1cc,uVar5,0x23); + RNG::game_constructor((RNG *)(local_1e4 + 0x18),uVar5,0x23); local_160 = (WeightedOutcomePicker)0x0; local_15c = (EntityPtr *)0x0; local_158 = (EntityPtr *)0x0; @@ -243163,10 +243315,12 @@ switchD_0059ff31_default: WeightedOutcomePicker::AddOutcomeWeight(&local_160,4,100,0); WeightedOutcomePicker::AddOutcomeWeight(&local_160,5,100,0); WeightedOutcomePicker::AddOutcomeWeight(&local_160,0x32,100,0); - local_148 = (float)WeightedOutcomePicker::PickOutcome - (&local_160,local_1cc,(int)uStack_1c8,uStack_1c8._4_4_, - puStack_1c0); - cVar4 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48)); + rng._shift1 = (int)(float)uStack_1c8; + rng._seed = local_1e4._24_4_; + rng._shift2 = uStack_1c8._4_4_; + rng._shift3 = (int)puStack_1c0; + local_148 = (float)WeightedOutcomePicker::PickOutcome(&local_160,rng); + cVar4 = ANM2::WasEventTriggered((ANM2 *)((int)npc + 0x48),"Shoot"); if (cVar4 != '\0') { if (*(int *)((int)npc + 0x410) == 0) { SoundEffects::PlayWithFartOverride(0x1b2,2,0,0x3f800000); @@ -243193,7 +243347,7 @@ switchD_0059ff31_default: } *(int *)((int)npc + 0x410) = *(int *)((int)npc + 0x410) + 1; } - cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48)); + cVar4 = ANM2::IsFinishedImpl((ANM2 *)((int)npc + 0x48),&s_empty); if (cVar4 != '\0') { *(undefined4 *)((int)npc + 0xb64) = 3; *(undefined4 *)((int)npc + 0xbc0) = 0; @@ -243289,7 +243443,7 @@ switchD_0059ff31_default: fVar23 = *(float *)((int)npc + 0x33c) - *(float *)(iVar9 + 0x33c); local_16c = (EntityPtr)(fVar25 * fVar25 + fVar23 * fVar23); iVar9 = __RTDynamicCast(iVar9,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, - &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor); + &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor,0); if (iVar9 == 0) { EVar28 = local_16c; } @@ -243541,10 +243695,10 @@ LAB_005a257b: case (EntityPtr)0x0: case (EntityPtr)0x2: ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)"Walking",0); - pcVar17 = (char *)extraout_ECX_10; + pcVar17 = (char *)extraout_ECX_13; if (*(int *)((int)npc + 0x7c) != 0) { AnimationState::SetFrameFloat((AnimationState *)((int)npc + 0x78)); - pcVar17 = (char *)extraout_ECX_11; + pcVar17 = (char *)extraout_ECX_14; } break; case (EntityPtr)0x1: @@ -243554,10 +243708,10 @@ LAB_005a257b: pcVar17 = "WalkingDown"; LAB_005a25bc: ANM2::Play((ANM2 *)((int)npc + 0x48),(byte *)pcVar17,0); - pcVar17 = (char *)extraout_ECX_12; + pcVar17 = (char *)extraout_ECX_15; if (*(int *)((int)npc + 0x7c) != 0) { AnimationState::SetFrameFloat((AnimationState *)((int)npc + 0x78)); - pcVar17 = (char *)extraout_ECX_13; + pcVar17 = (char *)extraout_ECX_16; } goto LAB_005a2696; default: @@ -243591,11 +243745,11 @@ LAB_005a2635: (*(char *)((int)npc + 0x8c) != '\0')))) break; } bVar3 = ANM2::SetAnimation((ANM2 *)((int)npc + 0x48),s_Idle,1); - pcVar17 = (char *)extraout_ECX_14; + pcVar17 = (char *)extraout_ECX_17; if (bVar3 != 0) { AnimationState::Rewind((AnimationState *)((int)npc + 0x78)); *(undefined1 *)((int)npc + 0x8c) = 1; - pcVar17 = (char *)extraout_ECX_15; + pcVar17 = (char *)extraout_ECX_18; EVar28 = local_180; } } @@ -243998,10 +244152,15 @@ LAB_005a2fd3: WeightedOutcomePicker::AddOutcomeWeight(&local_160,6,(int)(fVar23 * 40.0 + 10.0),0); } uVar5 = Random(); - local_1cc = (RNG)(uVar5 | 1); - uStack_1c8 = 0x900000005; + local_1e4._24_4_ = uVar5 | 1; + uStack_1c8._0_4_ = 7.00649e-45; + uStack_1c8._4_4_ = 9; puStack_1c0 = &DAT_00000007; - local_178 = (float)WeightedOutcomePicker::PickOutcome(&local_160,local_1cc,5,9,7); + rng_00._shift1 = 5; + rng_00._seed = local_1e4._24_4_; + rng_00._shift2 = 9; + rng_00._shift3 = 7; + local_178 = (float)WeightedOutcomePicker::PickOutcome(&local_160,rng_00); local_14 = (float)CONCAT31(local_14._1_3_,4); if (local_160 != (WeightedOutcomePicker)0x0) { deallocate(local_160,(int)local_158 - (int)local_160 >> 3); @@ -244017,12 +244176,12 @@ LAB_005a3c6b: } else { cVar4 = input_is_action_pressed(5,*(int *)((int)npc + 0xf1c),npc,pcVar17); - pcVar17 = (char *)extraout_ECX_16; + pcVar17 = (char *)extraout_ECX_19; if ((cVar4 == '\0') || ((float)local_1a0 <= 0.5)) goto LAB_005a3c6b; pEVar15 = (EntityPtr *)Vector::ToCardinal(); local_16c = *pEVar15; local_150 = pEVar15[1]; - pcVar17 = (char *)extraout_ECX_17; + pcVar17 = (char *)extraout_ECX_20; fVar23 = 4.2039e-43; } if (*(int *)((int)npc + 0xf1c) != -1) { @@ -244094,13 +244253,14 @@ LAB_005a3277: 2.3283064e-10); pRVar31 = local_198; cos(); + uVar39 = 0; local_138.x = (float)pRVar31 * (float)local_168 + (float)local_130; - uVar34 = 0xc5d5ac; + pTVar38 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; local_138.y = (float)local_174 * (float)local_168 + (float)local_13c; pTVar37 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar36 = 0; uVar6 = Game::Spawn(1000,0x58,(int)npc + 0x33c,&local_138,0,0,local_12c); - local_12c = (EntityPtr)__RTDynamicCast(uVar6,uVar36,pTVar37,uVar34); + local_12c = (EntityPtr)__RTDynamicCast(uVar6,uVar36,pTVar37,pTVar38,uVar39); (**(code **)((int)*(float *)local_12c + 0xc))(); fVar23 = g_vectorOne.y * 2.0; ((Vector *)((int)local_12c + 0xe4))->x = g_vectorOne.x * 2.0; @@ -244322,7 +244482,7 @@ LAB_005a3586: ((EVar28 != (EntityPtr)0x0 && (*(float *)((int)EVar28 + 0x3c) == 4.2039e-45)))) { pcVar1 = *(code **)((int)*(float *)EVar28 + 0x14); EntityRef::constructor(&local_25c,(Entity *)npc); - cVar4 = (*pcVar1)(0); + cVar4 = (*pcVar1)(0,&local_25c); fVar23 = 40.0; if (cVar4 != '\0') { local_1a0 = g_game->_room; @@ -244431,14 +244591,15 @@ joined_r0x005a412e: local_148 = ABS(local_148 * (float)local_198 * 3.0); uVar6 = Random(); local_17c = (float)local_1a0 + *(float *)((int)npc + 0x360) * 0.5; - uVar34 = 0xc5d5ac; + uVar39 = 0; + pTVar38 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; pTVar37 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar36 = 0; local_178 = local_148 + *(float *)((int)npc + 0x364) * 0.5; local_150 = (EntityPtr)(local_148 + *(float *)((int)npc + 0x340) + 0.0); local_154 = (float)local_12c + (float)local_1a0 + *(float *)((int)npc + 0x33c); uVar6 = Game::Spawn(1000,0x58,&local_154,&local_17c,0,0,uVar6); - piVar7 = (int *)__RTDynamicCast(uVar6,uVar36,pTVar37,uVar34); + piVar7 = (int *)__RTDynamicCast(uVar6,uVar36,pTVar37,pTVar38,uVar39); (**(code **)(*piVar7 + 0xc))(); piVar7[0xd5] = 1000; piVar7[0x37] = 0; @@ -244447,7 +244608,7 @@ joined_r0x005a412e: local_5c = (void *)0x3df0f0f2; local_58 = 0x3d70f0f2; local_54 = (void *)0x3ca0a0a1; - (**(code **)(*piVar7 + 0x3c))(local_7c,0xffffffff,0xff); + (**(code **)(*piVar7 + 0x3c))(local_7c,0xffffffff,0xff,0,1); local_194 = (void *)((int)local_194 + -1); } while (local_194 != (void *)0x0); uVar5 = Random(); @@ -244466,12 +244627,14 @@ joined_r0x005a412e: cos(); local_170 = (float)pRVar31 + (float)local_198; local_16c = (EntityPtr)((float)local_168 + (float)local_174); + uVar39 = 0; + pTVar38 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; pTVar37 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar36 = 0; local_188 = local_14c + *(float *)((int)npc + 0x340); local_18c = (float)local_12c + *(float *)((int)npc + 0x33c); uVar6 = Game::Spawn(1000,4,&local_18c,&local_170,0,0,uVar6); - piVar7 = (int *)__RTDynamicCast(uVar6,uVar36,pTVar37); + piVar7 = (int *)__RTDynamicCast(uVar6,uVar36,pTVar37,pTVar38,uVar39); (**(code **)(*piVar7 + 0xc))(); } EVar28 = local_130; @@ -244485,16 +244648,16 @@ joined_r0x005a412e: local_164 = local_164 + 1; } while ((int)local_164 < 2); } - cVar4 = SFXManager::IsPlaying(); + cVar4 = SFXManager::IsPlaying(0x1b8); if (((cVar4 != '\0') && (*(int *)((int)npc + 0xb64) != 500)) && (*(int *)((int)npc + 0xb64) != 0x1fe)) { - fVar27 = (float10)SFXManager::GetAmbientSoundVolume(); + fVar27 = (float10)SFXManager::GetAmbientSoundVolume(0x1b8); local_1a0 = (Room *)(float)(fVar27 - (float10)0.15); SFXManager::SetAmbientSound(0x1b8,local_1a0,0x3f800000); } if (*(int *)((int)npc + 0xb64) != 100) { - SFXManager::Stop(); - SFXManager::Stop(); + SFXManager::Stop(0x1b4); + SFXManager::Stop(0x1b7); } LAB_005a472a: if (local_204 == '\0') { @@ -246278,9 +246441,13 @@ void __thiscall Entity::MultiplyFriction(Entity *this,float param_2) } -//@@ 005a7010 FUN_005a7010 +//@@ 005a7010 NpcHelper::visage_spawn_particles -void FUN_005a7010(void) +/* DB: only called from NpcAI::ENTITY_VISAGE (x2) and NpcAI::ENTITY_VISAGE_mask (x2); spawns 5..8 + effect 1000.59 particles around ECX position along the EDX direction with random velocity, sets + +0x474 spin sign and 30..39 timeout */ + +void NpcHelper::visage_spawn_particles(void) { float fVar1; @@ -246363,14 +246530,18 @@ void FUN_005a7010(void) } -//@@ 005a7310 FUN_005a7310 +//@@ 005a7310 NpcHelper::visage_spawn_chain /* WARNING: Removing unreachable block (ram,0x005a74c2) */ /* WARNING: Removing unreachable block (ram,0x005a74d4) */ /* WARNING: Removing unreachable block (ram,0x005a74e4) */ /* WARNING: Removing unreachable block (ram,0x005a74ea) */ +/* DB: ECX = Visage npc; callers NpcAI::ENTITY_VISAGE (5a7ce7, 5a81c6): Game::Spawn(903 + ENTITY_VISAGE, variant 10, at +0x33c) 40 (0x28) times with subtype = index, each link's +0x3bc + parent = previous link (multiset EntityPtr refs), +0x3c0 child set when the previous is a + variant-10 link; stores the last link at npc+0xbec and closes the chain with the first link */ -void FUN_005a7310(void) +void NpcHelper::visage_spawn_chain(void) { int iVar1; @@ -246510,9 +246681,14 @@ undefined1 FUN_005a7570(void) } -//@@ 005a7590 FUN_005a7590 +//@@ 005a7590 NpcHelper::visage_score_position -void FUN_005a7590(void) +/* DB: ? (float* pos) ECX = Visage npc: GetPlayerTarget, distance of pos to the target/_child + (+0x3c0) and to the mask, branch on _state < 0x71; called twice from FUN_005a7920 (Visage new + _targetPosition +0x334 picker over 20 random room positions, called 3x from NpcAI::ENTITY_VISAGE) + to score candidates */ + +void NpcHelper::visage_score_position(void) { Entity_NPC *in_ECX; @@ -246538,9 +246714,11 @@ void FUN_005a7590(void) } -//@@ 005a7920 FUN_005a7920 +//@@ 005a7920 NpcHelper::visage_pick_target_position -void FUN_005a7920(void) +/* DB: ? round 7 agent */ + +void NpcHelper::visage_pick_target_position(void) { void *pvVar1; @@ -246559,7 +246737,7 @@ void FUN_005a7920(void) *(undefined4 *)(in_ECX + 0x334) = *(undefined4 *)(in_ECX + 0x33c); *(undefined4 *)(in_ECX + 0x338) = *(undefined4 *)(in_ECX + 0x340); - FUN_005a7590((float *)(in_ECX + 0x33c)); + visage_score_position((float *)(in_ECX + 0x33c)); iVar3 = 0x14; local_1c = in_XMM0_Da; do { @@ -246582,7 +246760,7 @@ void FUN_005a7920(void) Room::GetClampedPositionImpl(&local_10,&local_18,0x41200000,0x41200000,0x41200000); if ((local_10 == fVar6) && (fVar4 = local_c, local_c == fVar5)) { LAB_005a7ace: - FUN_005a7590(&local_18); + visage_score_position(&local_18); if (local_1c < fVar4) { *(float *)(in_ECX + 0x334) = fVar6; *(float *)(in_ECX + 0x338) = fVar5; @@ -246655,10 +246833,7 @@ void __fastcall NpcAI::ENTITY_VISAGE(Entity_NPC *npc) undefined1 auStack_2fc [16]; undefined1 auStack_2ec [8]; undefined1 auStack_2e4 [8]; - undefined1 local_2dc [28]; - float local_2c0; - uint local_2bc; - Entity_NPC *local_2b8; + EntityRef local_2dc; undefined1 auStack_2b0 [4]; float fStack_2ac; int iStack_21c; @@ -246679,15 +246854,15 @@ void __fastcall NpcAI::ENTITY_VISAGE(Entity_NPC *npc) switch(npc->_state) { case 0: pLVar7 = ANM2::GetLayer(&npc->_sprite,(byte *)0x1); - uVar13 = 1; + iVar16 = 1; if ((uVar20 & 4) == 0) { - uVar13 = 6; + iVar16 = 6; } - *(undefined4 *)&pLVar7->field_0x7c = uVar13; - *(undefined4 *)&pLVar7->field_0x78 = 0; - *(undefined4 *)&pLVar7->field_0x80 = 1; - *(undefined4 *)&pLVar7->field_0x84 = 1; - *(undefined4 *)&pLVar7->field_0x88 = 1; + pLVar7->_blendMode[1] = iVar16; + pLVar7->_blendMode[0] = 0; + pLVar7->_blendMode[2] = 1; + pLVar7->_blendMode[3] = 1; + pLVar7->_blendMode[4] = 1; npc->_state = 100; npc->_isInvicible = 1; Color::operator_assign(&DAT_00c34c70); @@ -246717,7 +246892,7 @@ void __fastcall NpcAI::ENTITY_VISAGE(Entity_NPC *npc) } *pEVar9 = local_340; std::multiset::insert(pEVar9); - FUN_005a7310(); + NpcHelper::visage_spawn_chain(); break; case 100: ANM2::Play(&npc->_sprite,&DAT_00b601c4,0); @@ -246837,7 +247012,7 @@ void __fastcall NpcAI::ENTITY_VISAGE(Entity_NPC *npc) } npc->_state = 0x69; if (npc->_entityRef == (EntityPtr)0x0) { - FUN_005a7310(); + NpcHelper::visage_spawn_chain(); } break; case 0x69: @@ -246861,7 +247036,7 @@ LAB_005a83be: uVar20 = Random(); if ((uVar20 % 0x14 == 0) || ((0.0 < npc->_pendingDamage && (uVar20 = Random(), (uVar20 & 3) == 0)))) { - FUN_005a7920(); + NpcHelper::visage_pick_target_position(); } EStack_358 = (EntityPtr)((npc->_targetPosition).x - (npc->_pos).x); EStack_354 = (EntityPtr)((npc->_targetPosition).y - (npc->_pos).y); @@ -247051,7 +247226,7 @@ LAB_005a83be: Game::ShakeScreen(g_game,0xf); EStack_358 = (EntityPtr)((npc->_gridCollisionNormal).x * -1.0); EStack_354 = (EntityPtr)((npc->_gridCollisionNormal).y * -1.0); - FUN_005a7010(); + NpcHelper::visage_spawn_particles(); ProjectileParams::ProjectileParams((Entity_NPC *)auStack_2b0); fStack_2ac = fStack_2ac - 10.0; iStack_21c = 9; @@ -247062,7 +247237,7 @@ LAB_005a83be: (npc->_velocity).x = g_vectorZero.x; (npc->_velocity).y = g_vectorZero.y; FUN_005ad1c0(); - FUN_005a7920(); + NpcHelper::visage_pick_target_position(); break; } if (cStack_335 != '\0') { @@ -247089,8 +247264,8 @@ LAB_005a9793: iVar16 = pEVar24->_type; if (iVar16 == 1) { pcVar2 = *(code **)(*(int *)pEVar24 + 0x20); - EntityRef::constructor((EntityRef *)local_2dc,(Entity *)npc); - (*pcVar2)(0x40000000,0,0,local_2dc,0x1e); + EntityRef::constructor(&local_2dc,(Entity *)npc); + (*pcVar2)(0x40000000,0,0,&local_2dc,0x1e); pEVar24 = (Entity_NPC *)VStack_314.x; } else if (iVar16 == 4) { @@ -247330,7 +247505,7 @@ LAB_005a8d84: } EStack_358 = (EntityPtr)((pEVar24->_gridCollisionNormal).x * -1.0); EStack_354 = (EntityPtr)((pEVar24->_gridCollisionNormal).y * -1.0); - FUN_005a7010(); + NpcHelper::visage_spawn_particles(); (npc->_v1).x = 0.0; goto LAB_005a94a3; } @@ -247543,7 +247718,7 @@ LAB_005a9910: uVar20 = Random(); if ((uVar20 % 0x14 == 0) || ((0.0 < npc->_pendingDamage && (uVar20 = Random(), (uVar20 & 3) == 0)))) { - FUN_005a7920(); + NpcHelper::visage_pick_target_position(); } EStack_358 = (EntityPtr)((npc->_targetPosition).x - (npc->_pos).x); EStack_354 = (EntityPtr)((npc->_targetPosition).y - (npc->_pos).y); @@ -247910,15 +248085,15 @@ LAB_005aac26: bVar21 = true; LAB_005aac28: if (bVar21) { - local_2dc._16_4_ = (npc->_pos).x; - local_2dc._20_4_ = (npc->_pos).y; + local_2dc._position.x = (npc->_pos).x; + local_2dc._position.y = (npc->_pos).y; local_31c.x = *(float *)(*piVar15 + 0x24); - local_2dc._0_4_ = npc->_type; - local_2dc._4_4_ = npc->_variant; - local_2dc._8_4_ = npc->_spawnerType; - local_2dc._12_4_ = npc->_spawnerVariant; - local_2dc._24_4_ = (npc->_velocity).x; - local_2c0 = (npc->_velocity).y; + local_2dc._type = npc->_type; + local_2dc._variant = npc->_variant; + local_2dc._spawnerType = npc->_spawnerType; + local_2dc._spawnerVariant = npc->_spawnerVariant; + local_2dc._velocity.x = (npc->_velocity).x; + local_2dc._velocity.y = (npc->_velocity).y; local_340._1_3_ = 0; local_340._0_1_ = (npc->_flags & 0x100) != 0; local_350.x = 2.8026e-45; @@ -247931,9 +248106,9 @@ LAB_005aac28: else { uVar17 = 4; } - local_2bc = uVar17 | (uint)local_350.x | (uint)local_340; - local_2b8 = npc; - (*(code *)local_31c.x)(local_2dc); + local_2dc._flags = uVar17 | (uint)local_350.x | (uint)local_340; + local_2dc._entity = npc; + (*(code *)local_31c.x)(&local_2dc); } } uVar20 = uVar20 + 1; @@ -248338,15 +248513,15 @@ void __fastcall NpcAI::ENTITY_VISAGE_mask(Entity_NPC *npc) pLVar7 = ANM2::GetLayer(&npc->_sprite,(byte *)0x1); fStack_114 = 0.0; fStack_110 = 1.0; - uVar13 = 1; - *(undefined4 *)&pLVar7->field_0x78 = 0; + iVar8 = 1; + pLVar7->_blendMode[0] = 0; if ((uVar16 & 4) == 0) { - uVar13 = 6; + iVar8 = 6; } - *(undefined4 *)&pLVar7->field_0x7c = uVar13; - *(undefined4 *)&pLVar7->field_0x80 = 1; - *(undefined4 *)&pLVar7->field_0x84 = 1; - *(undefined4 *)&pLVar7->field_0x88 = 1; + pLVar7->_blendMode[1] = iVar8; + pLVar7->_blendMode[2] = 1; + pLVar7->_blendMode[3] = 1; + pLVar7->_blendMode[4] = 1; uVar13 = *(undefined4 *)((int)&npc->_flags + 4); *(uint *)&npc->_flags = (uint)npc->_flags | 0x11; *(undefined4 *)((int)&npc->_flags + 4) = uVar13; @@ -248479,7 +248654,7 @@ void __fastcall NpcAI::ENTITY_VISAGE_mask(Entity_NPC *npc) npc->_state = 0x67; fStack_114 = (npc->_gridCollisionNormal).x * -1.0; fStack_110 = (npc->_gridCollisionNormal).y * -1.0; - FUN_005a7010(); + NpcHelper::visage_spawn_particles(); ProjectileParams::ProjectileParams((Entity_NPC *)&PStack_b8); PStack_b8.HeightModifier = PStack_b8.HeightModifier - 10.0; PStack_b8.Variant = 9; @@ -248718,7 +248893,7 @@ LAB_005ac2d7: npc->_state = 0x6f; local_f8.x = (npc->_gridCollisionNormal).x * -1.0; local_f8.y = (npc->_gridCollisionNormal).y * -1.0; - FUN_005a7010(); + NpcHelper::visage_spawn_particles(); ProjectileParams::ProjectileParams((Entity_NPC *)&PStack_b8); local_f8.x = 10.0; local_f8.y = 8.0; @@ -249405,13 +249580,13 @@ void __fastcall NpcAI::ENTITY_VISAGE_plasma(Entity_NPC *npc) float fVar2; float fVar3; float fVar4; - int iVar5; - EntityPtr EVar6; - void *pvVar7; + EntityPtr EVar5; + void *pvVar6; + undefined4 uVar7; Game *pGVar8; uint uVar9; LayerState *pLVar10; - undefined4 uVar11; + int iVar11; float fVar12; float fVar13; undefined1 *puVar14; @@ -249424,18 +249599,18 @@ void __fastcall NpcAI::ENTITY_VISAGE_plasma(Entity_NPC *npc) float local_8; uVar9 = g_graphicsManager_flags; - iVar5 = npc->_state; - if (iVar5 == 0) { + iVar11 = npc->_state; + if (iVar11 == 0) { pLVar10 = ANM2::GetLayer(&npc->_sprite,(byte *)0x1); - uVar11 = 1; + iVar11 = 1; if ((uVar9 & 4) == 0) { - uVar11 = 6; + iVar11 = 6; } - *(undefined4 *)&pLVar10->field_0x78 = 0; - *(undefined4 *)&pLVar10->field_0x7c = uVar11; - *(undefined4 *)&pLVar10->field_0x80 = 1; - *(undefined4 *)&pLVar10->field_0x84 = 1; - *(undefined4 *)&pLVar10->field_0x88 = 1; + pLVar10->_blendMode[0] = 0; + pLVar10->_blendMode[1] = iVar11; + pLVar10->_blendMode[2] = 1; + pLVar10->_blendMode[3] = 1; + pLVar10->_blendMode[4] = 1; npc->_state = 3; fVar2 = fRam00c34c7c; fVar16 = fRam00c34c78; @@ -249455,17 +249630,17 @@ void __fastcall NpcAI::ENTITY_VISAGE_plasma(Entity_NPC *npc) *(undefined8 *)(npc->_splatColor)._offset = DAT_00c34c90; (npc->_splatColor)._offset[2] = DAT_00c34c98; } - uVar11 = *(undefined4 *)((int)&npc->_flags + 4); + uVar7 = *(undefined4 *)((int)&npc->_flags + 4); *(uint *)&npc->_flags = (uint)npc->_flags | 1; - *(undefined4 *)((int)&npc->_flags + 4) = uVar11; + *(undefined4 *)((int)&npc->_flags + 4) = uVar7; ANM2::Play(&npc->_sprite,s_Idle,0); (npc->_v1).x = 0.6; } - else if (iVar5 == 3) { - EVar6 = npc->_target; - if (EVar6 != (EntityPtr)0x0) { - if (((*(int *)((int)EVar6 + 0x28) == 0x387) && (*(int *)((int)EVar6 + 0x2c) == 1)) && - (*(int *)((int)EVar6 + 0xb64) == 0x6d)) { + else if (iVar11 == 3) { + EVar5 = npc->_target; + if (EVar5 != (EntityPtr)0x0) { + if (((*(int *)((int)EVar5 + 0x28) == 0x387) && (*(int *)((int)EVar5 + 0x2c) == 1)) && + (*(int *)((int)EVar5 + 0xb64) == 0x6d)) { local_18 = (EntityPtr *)(npc->_velocity).x; local_14 = (npc->_velocity).y; fVar12 = (float)local_18 * (float)local_18 + local_14 * local_14; @@ -249475,8 +249650,8 @@ void __fastcall NpcAI::ENTITY_VISAGE_plasma(Entity_NPC *npc) local_10 = (EntityPtr *)((1.0 / fVar12) * (float)local_10); local_14 = (npc->_velocity).y * (1.0 / fVar12); } - local_8 = *(float *)((int)EVar6 + 0x33c) - (npc->_pos).x; - local_c = *(float *)((int)EVar6 + 0x340) - (npc->_pos).y; + local_8 = *(float *)((int)EVar5 + 0x33c) - (npc->_pos).x; + local_c = *(float *)((int)EVar5 + 0x340) - (npc->_pos).y; fVar12 = local_8 * local_8 + local_c * local_c; sqrtf(); if (0.0 < fVar12) { @@ -249510,11 +249685,11 @@ void __fastcall NpcAI::ENTITY_VISAGE_plasma(Entity_NPC *npc) fVar12 = (npc->_pos).x; puVar15 = &DAT_bf800000; (npc->_v1).x = 0.5; - pvVar7 = pGVar8->_room; - fVar16 = *(float *)((int)pvVar7 + 0x14); - fVar2 = *(float *)((int)pvVar7 + 0x18); - fVar3 = *(float *)((int)pvVar7 + 0x1c); - fVar4 = *(float *)((int)pvVar7 + 0x20); + pvVar6 = pGVar8->_room; + fVar16 = *(float *)((int)pvVar6 + 0x14); + fVar2 = *(float *)((int)pvVar6 + 0x18); + fVar3 = *(float *)((int)pvVar6 + 0x1c); + fVar4 = *(float *)((int)pvVar6 + 0x20); if ((fVar16 <= fVar12) || (0.0 < (npc->_velocity).x || (npc->_velocity).x == 0.0)) { if ((fVar3 < fVar12) && (0.0 < (npc->_velocity).x)) { (npc->_velocity).x = (float)&DAT_bf800000; @@ -249568,7 +249743,7 @@ void __fastcall NpcAI::ENTITY_VISAGE_plasma(Entity_NPC *npc) return; } } - else if (iVar5 == 4) { + else if (iVar11 == 4) { npc->_friction = npc->_friction * 0.9; return; } @@ -250260,7 +250435,7 @@ LAB_005aed71: fVar10 = (npc->_v1).y; if (fVar10 <= 0.0) { pLVar4 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar4->field_0x54 = 0x3f800000; + (pLVar4->_color)._tint[3] = 1.0; fVar10 = *(float *)((int)npc->_config + 0x24); } else { @@ -250274,7 +250449,7 @@ LAB_005aed71: local_5c = 1.0 - local_5c; pLVar4 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); fVar10 = 0.0; - *(float *)&pLVar4->field_0x54 = local_5c; + (pLVar4->_color)._tint[3] = local_5c; } npc->_shadowSize = fVar10; fVar10 = (npc->_v1).y; @@ -250616,27 +250791,24 @@ void __fastcall NpcAI::ENTITY_WORMWOOD_main(Entity_NPC *npc) Entity *local_ec; undefined1 local_e8 [148]; int local_54; - undefined1 local_3c [28]; - float local_20; - void *local_1c; - void *local_18; + EntityRef local_3c; undefined4 local_14; - local_14 = (void *)(__security_cookie ^ (uint)(local_3c + 0x2c)); + local_14 = (void *)(__security_cookie ^ (uint)(local_e8 + 0xd8)); local_f8 = g_game->_room; local_f0 = (EntityPtr)((int)npc->_updateTime - (int)npc->_prevUpdateTime); if (npc->_subtype != 0) { if (npc->_parent == (EntityPtr)0x0) { - local_3c._0_4_ = 0; - local_3c._4_4_ = 0; - local_3c._8_4_ = 0; - local_3c._12_4_ = 0; - local_3c._16_4_ = g_vectorZero.x; - local_3c._20_4_ = g_vectorZero.y; - local_3c._24_4_ = g_vectorZero.x; - local_20 = g_vectorZero.y; - local_1c = (void *)0x0; - local_18 = (void *)0x0; + local_3c._type = 0; + local_3c._variant = 0; + local_3c._spawnerType = 0; + local_3c._spawnerVariant = 0; + local_3c._position.x = g_vectorZero.x; + local_3c._position.y = g_vectorZero.y; + local_3c._velocity.x = g_vectorZero.x; + local_3c._velocity.y = g_vectorZero.y; + local_3c._flags = 0; + local_3c._entity = (void *)0x0; (**(code **)(*(int *)npc + 0x24))(); return; } @@ -250930,7 +251102,7 @@ LAB_005b0665: npc->_entityCollisionClass = 4; ANM2::Play(this,s_Attack1,0); pLVar12 = ANM2::GetLayer(this,(byte *)0x0); - *(undefined4 *)&pLVar12->field_0x54 = 0x3f800000; + (pLVar12->_color)._tint[3] = 1.0; fVar18 = npc->_friction * 0.4; npc->_friction = fVar18; fVar16 = (npc->_targetPosition).y; @@ -250980,7 +251152,7 @@ LAB_005b0665: } (npc->_v1).y = 14.0; pLVar12 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar12->field_0x54 = 0; + (pLVar12->_color)._tint[3] = 0.0; npc->_stateFrame = 0xf; goto LAB_005b11c4; case 9: @@ -250992,7 +251164,7 @@ LAB_005b0665: } ANM2::Play(&npc->_sprite,s_Attack2,0); pLVar12 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar12->field_0x54 = 0x3f800000; + (pLVar12->_color)._tint[3] = 1.0; fVar18 = npc->_friction * 0.4; npc->_friction = fVar18; fVar16 = (npc->_targetPosition).y; @@ -251018,8 +251190,8 @@ LAB_005b0de8: sqrtf(); if (fVar16 < 40.0) { pcVar1 = *(code **)(*(int *)pEVar20 + 0x20); - EntityRef::constructor((EntityRef *)local_3c,(Entity *)npc); - (*pcVar1)(0x3f800000,0,0,local_3c); + EntityRef::constructor(&local_3c,(Entity *)npc); + (*pcVar1)(0x3f800000,0,0,&local_3c); pEVar20 = local_ec; goto LAB_005b0e62; } @@ -251031,17 +251203,17 @@ LAB_005b0de8: fVar16 = fVar16 * fVar16 + fVar17 * fVar17; sqrtf(); if (40.0 <= fVar16) goto LAB_005b0de8; - local_3c._0_4_ = 0; - local_3c._4_4_ = 0; - local_3c._8_4_ = 0; - local_3c._12_4_ = 0; - local_3c._16_4_ = g_vectorZero.x; - local_3c._20_4_ = g_vectorZero.y; - local_3c._24_4_ = g_vectorZero.x; - local_20 = g_vectorZero.y; - local_1c = (void *)0x0; - local_18 = (void *)0x0; - (**(code **)(*(int *)pEVar20 + 0x20))(0x41c80000,0,0,local_3c); + local_3c._type = 0; + local_3c._variant = 0; + local_3c._spawnerType = 0; + local_3c._spawnerVariant = 0; + local_3c._position.x = g_vectorZero.x; + local_3c._position.y = g_vectorZero.y; + local_3c._velocity.x = g_vectorZero.x; + local_3c._velocity.y = g_vectorZero.y; + local_3c._flags = 0; + local_3c._entity = (void *)0x0; + (**(code **)(*(int *)pEVar20 + 0x20))(0x41c80000,0,0,&local_3c); LAB_005b0e62: local_ec = (Entity *)((pEVar20->_pos).x - (npc->_pos).x); local_f4 = (Entity *)((pEVar20->_pos).y - (npc->_pos).y); @@ -251077,7 +251249,7 @@ LAB_005b0e62: Game::ShakeScreen(g_game,8); if (local_f4 != (Entity *)0x0) { pcVar1 = *(code **)(*(int *)local_f4 + 0x14); - EntityRef::constructor((EntityRef *)local_3c,(Entity *)npc); + EntityRef::constructor(&local_3c,(Entity *)npc); (*pcVar1)(1); } } @@ -251123,7 +251295,7 @@ LAB_005b0e62: } (npc->_v1).y = 14.0; pLVar12 = ANM2::GetLayer(&npc->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar12->field_0x54 = 0; + (pLVar12->_color)._tint[3] = 0.0; npc->_stateFrame = 0x1e; LAB_005b11c4: npc->_entityCollisionClass = 0; @@ -251301,33 +251473,33 @@ LAB_005b11c4: do { fVar16 = *(float *)((int)EVar5 + 0x380) - *(float *)((int)EVar5 + 0x14); if ((float)pEVar20 < fVar16) { - local_3c._0_4_ = 0; - local_3c._4_4_ = 0; - local_3c._8_4_ = 0; - local_3c._12_4_ = 0; - local_3c._16_4_ = g_vectorZero.x; - local_3c._20_4_ = g_vectorZero.y; - local_3c._24_4_ = g_vectorZero.x; - local_20 = g_vectorZero.y; - local_1c = (void *)0x0; - local_18 = (void *)0x0; - (**(code **)(*(int *)EVar5 + 0x20))(fVar16 - (float)pEVar20,0x2000,0,local_3c,0x1e); + local_3c._type = 0; + local_3c._variant = 0; + local_3c._spawnerType = 0; + local_3c._spawnerVariant = 0; + local_3c._position.x = g_vectorZero.x; + local_3c._position.y = g_vectorZero.y; + local_3c._velocity.x = g_vectorZero.x; + local_3c._velocity.y = g_vectorZero.y; + local_3c._flags = 0; + local_3c._entity = (void *)0x0; + (**(code **)(*(int *)EVar5 + 0x20))(fVar16 - (float)pEVar20,0x2000,0,&local_3c,0x1e); pEVar20 = local_ec; } EVar5 = *(EntityPtr *)((int)EVar5 + 0x3c0); } while (EVar5 != (EntityPtr)0x0); if (npc->_dead != 0) { for (EVar5 = npc->_child; EVar5 != (EntityPtr)0x0; EVar5 = *(EntityPtr *)((int)EVar5 + 0x3c0)) { - local_3c._0_4_ = 0; - local_3c._4_4_ = 0; - local_3c._8_4_ = 0; - local_3c._12_4_ = 0; - local_1c = (void *)0x0; - local_18 = (void *)0x0; - local_3c._16_4_ = g_vectorZero.x; - local_3c._20_4_ = g_vectorZero.y; - local_3c._24_4_ = g_vectorZero.x; - local_20 = g_vectorZero.y; + local_3c._type = 0; + local_3c._variant = 0; + local_3c._spawnerType = 0; + local_3c._spawnerVariant = 0; + local_3c._flags = 0; + local_3c._entity = (void *)0x0; + local_3c._position.x = g_vectorZero.x; + local_3c._position.y = g_vectorZero.y; + local_3c._velocity.x = g_vectorZero.x; + local_3c._velocity.y = g_vectorZero.y; (**(code **)(*(int *)EVar5 + 0x24))(); } } @@ -251486,10 +251658,10 @@ byte __thiscall Entity::IsInvincible(Entity *this) /* ZHL [lua] Lua binding Entity:DropSeed */ -RNG __thiscall Entity::DropSeed(Entity *this) +int __thiscall Entity::DropSeed(Entity *this) { - return this->_dropRNG; + return (this->_dropRNG)._seed; } @@ -252911,9 +253083,14 @@ LAB_005b2adc: } -//@@ 005b30b0 FUN_005b30b0 +//@@ 005b30b0 alabaster_box_timer_callback -void FUN_005b30b0(int param_1) +/* DB: callback passed to Entity_Effect::CreateTimer (mov ecx,0x5b30b0 at 0x5c3383) in + Entity_Player::UseActiveItem case COLLECTIBLE_ALABASTER_BOX; uses collectible RNG 0x249 (585), + spawns soul/black hearts 5.10 + item from pool 3/4 per devil deals, Book of Virtues (584) adds + wisp 585, 'Happy' */ + +void alabaster_box_timer_callback(int param_1) { Entity_Player *this; @@ -253315,11 +253492,17 @@ Entity_Player::UseActiveItem code *pcVar3; ColorMod color; ColorMod color_00; + RNG rng; + RNG rng_00; + RNG rng_01; + RNG rng_02; + RNG rng_03; + RNG rng_04; + RNG rng_05; double dVar4; - Entity_Player *this_00; byte bVar5; - char cVar6; - undefined1 uVar7; + undefined1 uVar6; + char cVar7; RNG *pRVar8; int iVar9; Entity_Player *pEVar10; @@ -253330,17 +253513,18 @@ Entity_Player::UseActiveItem PersistentGameData *pPVar15; Sprite *pSVar16; HUD *pHVar17; - SoundEffects *this_01; + SoundEffects *this_00; Entity_Laser *pEVar18; Vector *pVVar19; Entity_Bomb *pEVar20; Entity_Knife *pEVar21; ColorMod *Color; BitSet128 *pBVar22; - ItemConfig_Item *pIVar23; - undefined1 *puVar24; - Entity_NPC *pEVar25; - Entity_Player *pEVar26; + Entity_Player *this_01; + undefined4 uVar23; + ItemConfig_Item *pIVar24; + undefined1 *puVar25; + Entity_NPC *pEVar26; Level *pLVar27; RNG *this_02; Room *pRVar28; @@ -253371,21 +253555,23 @@ Entity_Player::UseActiveItem RNG *this_06; double *pdVar49; Entity_Effect *pEVar50; - Ambush *pAVar51; - GlowingHourglassState *pGVar52; - ItemPool *pIVar53; - undefined4 uVar54; - Entity_Player *pEVar55; - Level *pLVar56; + undefined4 uVar51; + Ambush *pAVar52; + GlowingHourglassState *pGVar53; + ItemPool *pIVar54; + Level *pLVar55; ANM2 *this_07; - ItemOverlay *pIVar57; - void *pvVar58; + ItemOverlay *pIVar56; + void *pvVar57; + undefined4 uVar58; uint uVar59; + Entity_Player *pos; undefined1 *puVar60; WeightedOutcomePicker *pWVar61; bool bVar62; bool bVar63; float10 fVar64; + Entity_Player *pEVar65; undefined1 auStack_1af0 [184]; float fStack_1a38; float fStack_1a34; @@ -253400,15 +253586,20 @@ Entity_Player::UseActiveItem float in_stack_ffffe5fc; float in_stack_ffffe600; float in_stack_ffffe604; - float fVar65; - undefined1 *puVar66; - undefined4 uVar67; - float fVar68; - byte bVar69; - undefined4 uVar70; + float fVar66; + Entity_Player *pEVar67; + undefined4 uVar68; + undefined4 uVar69; + uint shiftidx; + Entity_Player *pEVar70; float fVar71; byte bVar72; - int iVar73; + Entity_Player *pEVar73; + undefined4 uVar74; + undefined4 uVar75; + float fVar76; + byte bVar77; + int iVar78; EntitySaveState aEStack_1818 [42]; EntityRef EStack_1770; EntityRef EStack_1748; @@ -253586,12 +253777,12 @@ Entity_Player::UseActiveItem Entity *pEStack_650; undefined1 *puStack_64c; WeightedOutcomePicker aWStack_63c [4]; - ItemConfig_Item *local_62c; + Entity_Player *local_62c; void *pvStack_628; Entity_Pickup *pEStack_624; Entity *pEStack_620; void *local_61c; - void *local_618; + Entity_Player *local_618; Entity_Player *pEStack_614; Entity_Player *local_610; char local_60a; @@ -253600,26 +253791,26 @@ Entity_Player::UseActiveItem Entity_Player *local_600; undefined2 local_5fc; Entity_Player *local_5f8; - undefined1 *local_5f4; + Entity_Player *local_5f4; Entity_Player *local_5f0; Entity_Player *local_5ec; void *local_5e8; Entity_Player *local_5e4; Entity_Player *local_5e0; byte local_5d9; - RNG aRStack_264 [4]; - RNG aRStack_254 [4]; - RNG aRStack_244 [4]; + RNG RStack_264; + RNG RStack_254; + RNG RStack_244; undefined1 auStack_234 [44]; - RNG aRStack_208 [4]; - RNG aRStack_1f8 [4]; - RNG aRStack_1e8 [4]; - RNG aRStack_1d8 [4]; - RNG aRStack_1c8 [4]; - RNG aRStack_1b8 [4]; - RNG aRStack_1a8 [4]; - RNG aRStack_198 [4]; - RNG aRStack_188 [4]; + RNG RStack_208; + RNG RStack_1f8; + RNG RStack_1e8; + RNG RStack_1d8; + RNG RStack_1c8; + RNG RStack_1b8; + RNG RStack_1a8; + RNG RStack_198; + RNG RStack_188; void *pvStack_178; void *pvStack_174; void *pvStack_170; @@ -253702,9 +253893,9 @@ Entity_Player::UseActiveItem local_1c = ExceptionList; local_24 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; - local_618 = (void *)useFlags; + local_618 = (Entity_Player *)useFlags; local_5ec = (void *)0x0; - local_62c = (ItemConfig_Item *)collectible; + local_62c = (Entity_Player *)collectible; local_70c = (ushort *)resultFlags; local_61c = (void *)activeSlot; local_5f0 = (Entity_Player *)0x0; @@ -253718,8 +253909,10 @@ LAB_005c72f6: local_5e0 = this; pRVar8 = GetCollectibleRNG(this,collectible); pEVar10 = local_5e0; - fVar65 = 8.378051e-39; - puVar66 = (undefined1 *)collectible; + fVar66 = 8.378051e-39; + pEVar67 = (Entity_Player *)collectible; + pEVar70 = local_5e0; + pEVar73 = local_618; bVar5 = LuaEngine::PreUseItem (g_luaEngine,collectible,pRVar8,local_5e0,(uint)local_618,(int)local_61c,varData ); @@ -253740,7 +253933,9 @@ LAB_005c72f6: pEVar10 = Game::GetPlayer(g_game,uVar59); iVar9 = Entity::Variant((Entity *)pEVar10); if (iVar9 == 1) { - puVar66 = (undefined1 *)0x5b3b44; + pEVar73 = (Entity_Player *)0x0; + pEVar67 = (Entity_Player *)0x5b3b44; + pEVar70 = local_62c; UseActiveItem(pEVar10,&local_86e,(int)local_62c,0,-1,0); } uVar59 = uVar59 + 1; @@ -253749,51 +253944,55 @@ LAB_005c72f6: collectible = (int)local_62c; } } - puVar24 = (undefined1 *)0x22; - if ((undefined1 *)collectible != &DAT_0000003b) { - puVar24 = (undefined1 *)collectible; + pEVar10 = (Entity_Player *)0x22; + if ((Entity_Player *)collectible != (Entity_Player *)&DAT_0000003b) { + pEVar10 = (Entity_Player *)collectible; } - local_5f4 = puVar24; + local_5f4 = pEVar10; pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - local_62c = ItemConfig::GetCollectible(pIVar12,(int)puVar24); - puVar24 = local_5f4; + local_62c = (Entity_Player *)ItemConfig::GetCollectible(pIVar12,(int)pEVar10); + pEVar10 = local_5f4; local_60a = '\x01'; local_5e8 = (void *)0x0; if (local_5e0->_variant == 0) { local_5e8 = (void *)(uint)local_609; } if (((char)local_5e8 == '\0') && (((uint)local_618 & 0x200) == 0)) { - uVar7 = 0; + uVar6 = 0; } else { - uVar7 = 1; + uVar6 = 1; } - local_610 = (Entity_Player *)CONCAT31(local_610._1_3_,uVar7); + local_610 = (Entity_Player *)CONCAT31(local_610._1_3_,uVar6); if ((int)local_5f4 < 0) { if ((char)local_5e8 != '\0') { AnimateCollectible(local_5e0); } FUN_004074a0(); - pEVar10 = (Entity_Player *)&local_5e0->_pos; - fVar65 = 8.378593e-39; - puVar66 = puVar24; - local_5ec = pEVar10; + pos = (Entity_Player *)&local_5e0->_pos; + pEVar70 = (Entity_Player *)0x0; + fVar66 = 8.378593e-39; + pEVar67 = pEVar10; + pEVar73 = local_5e0; + local_5ec = pos; glitched_item_effects_run(); } else { - pEVar10 = (Entity_Player *)&local_5e0->_pos; - local_5ec = pEVar10; + pos = (Entity_Player *)&local_5e0->_pos; + local_5ec = pos; } local_600 = (Entity_Player *)0x3f800000; if ((char)local_5e8 != '\0') { + pEVar73 = (Entity_Player *)0x2; + pEVar70 = (Entity_Player *)0x3f9; SoundEffects::PlayWithFartOverride(); } - pEVar55 = local_5e0; - pvVar58 = ThreadLocalStoragePointer; - pEVar26 = (Entity_Player *)0x3f800000; + this_01 = local_5e0; + pvVar57 = ThreadLocalStoragePointer; + pEVar65 = (Entity_Player *)0x3f800000; bVar5 = (byte)local_5e8; - if ((int)puVar24 < 0x11b) { - if (puVar24 == (undefined1 *)0x11a) { + if ((int)pEVar10 < 0x11b) { + if (pEVar10 == (Entity_Player *)0x11a) { if (local_5e0->_variant == 0) { local_94c = 0x42700000; local_600 = (Entity_Player *)&local_5e0->_velocity; @@ -253825,8 +254024,8 @@ LAB_005c72f6: do { puVar35 = (undefined4 *)std::vector::operator_index(); local_5e4 = (Entity_Player *)*puVar35; - cVar6 = Entity::IsEnemy((Entity *)local_5e4); - if (cVar6 != '\0') { + cVar7 = Entity::IsEnemy((Entity *)local_5e4); + if (cVar7 != '\0') { FUN_00417340(); local_5f8 = (Entity_Player *)((float)pEVar10 + local_5e0->_size + 5.0); Entity::Position((Entity *)local_5e4); @@ -253865,15 +254064,15 @@ LAB_005c72f6: SoundEffects::PlayWithFartOverride(); if (local_5e0->_canFly == 0) { PlayExtraAnimation(local_5e0); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; goto LAB_005b54d1; } } goto LAB_005b3e24; } - switch(puVar24) { - case (undefined1 *)0x21: + switch(pEVar10) { + case (Entity_Player *)0x21: SoundEffects::PlayWithFartOverride(); SoundEffects::PlayWithFartOverride(); Level::GetCurrentRoom((Level *)g_game); @@ -253907,29 +254106,29 @@ LAB_005c72f6: } while (uVar59 < uVar11); } goto LAB_005b40d0; - case (undefined1 *)0x22: + case (Entity_Player *)0x22: SoundEffects::PlayWithFartOverride(); bVar5 = 0; if ((char)local_5e8 != '\0') { AnimateCollectible(local_5e0); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; goto LAB_005b54d1; } goto LAB_005b3e2a; - case (undefined1 *)0x23: + case (Entity_Player *)0x23: if ((local_5e0->_variant == 0) || ((char)local_5e4 != '\0')) { local_5ec = (Entity_Player *)0x42200000; local_5e4 = local_5ec; Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + if (cVar7 != '\0') { local_5ec = (Entity_Player *)0x41a00000; local_5e4 = (Entity_Player *)0x41200000; } iVar9 = GetCollectibleNum(local_5e0,0x106,0); - iVar73 = GetTrinketMultiplier(local_5e0,0x30); - local_600 = (Entity_Player *)((float)(iVar9 + iVar73) * (float)local_5e4 + (float)local_5ec) + iVar78 = GetTrinketMultiplier(local_5e0,0x30); + local_600 = (Entity_Player *)((float)(iVar9 + iVar78) * (float)local_5e4 + (float)local_5ec) ; SoundEffects::PlayWithFartOverride(); Game::ShakeScreen(g_game,0xf); @@ -253944,11 +254143,11 @@ LAB_005c72f6: puVar35 = (undefined4 *)std::vector::operator_index(); pEVar10 = (Entity_Player *)*puVar35; local_5ec = pEVar10; - cVar6 = Entity::IsEnemy((Entity *)pEVar10); - if ((((cVar6 != '\0') && (pEVar10 != local_5e0)) && - (cVar6 = Entity::HasEntityFlags(), cVar6 == '\0')) && - ((cVar6 = Entity::IsInvincible((Entity *)pEVar10), cVar6 == '\0' && - (cVar6 = Entity::HasEntityFlags(), cVar6 == '\0')))) { + cVar7 = Entity::IsEnemy((Entity *)pEVar10); + if ((((cVar7 != '\0') && (pEVar10 != local_5e0)) && + (cVar7 = Entity::HasEntityFlags(), cVar7 == '\0')) && + ((cVar7 = Entity::IsInvincible((Entity *)pEVar10), cVar7 == '\0' && + (cVar7 = Entity::HasEntityFlags(), cVar7 == '\0')))) { pcVar3 = *(code **)(*(int *)pEVar10 + 0x20); EntityRef::constructor(&EStack_1658,(Entity *)local_5e0); (*pcVar3)(); @@ -253956,7 +254155,7 @@ LAB_005c72f6: if (bVar5 != 0) { Entity::AddEntityFlags(); } - fVar68 = 0.2; + fVar71 = 0.2; ::Color::Color(); Random(); Entity::Position((Entity *)pEVar10); @@ -253982,7 +254181,7 @@ LAB_005c72f6: puStack_1a2c = (undefined1 *)0x5b446f; ::Color::SetTint(); puStack_1a1c = (undefined1 *)0x5b4474; - fVar65 = (float)Random(); + fVar66 = (float)Random(); puStack_1a1c = auStack_1090; fStack_1a20 = 8.381609e-39; puStack_1a2c = (undefined1 *)Entity::Position((Entity *)pEVar10); @@ -253992,7 +254191,7 @@ LAB_005c72f6: fStack_1a30 = 9.80909e-45; fStack_1a34 = 1.4013e-42; fStack_1a38 = 8.38165e-39; - puStack_1a1c = (undefined1 *)fVar65; + puStack_1a1c = (undefined1 *)fVar66; piVar33 = (int *)Game::Spawn(); puStack_1a2c = auStack_234; puStack_1a1c = (undefined1 *)0x1; @@ -254012,13 +254211,13 @@ LAB_005c72f6: uStack_8f4 = 0x3f000000; Vector::operator_mul(); FUN_00417340(); - fStack_8f8 = fVar68; + fStack_8f8 = fVar71; Vector::__mul(); Vector::__add(); MusicManager::RandomVector(); random_float(); - fVar68 = fVar68 * 4.0 + 2.0; - fStack_91c = fVar68; + fVar71 = fVar71 * 4.0 + 2.0; + fStack_91c = fVar71; Vector::operator_mul(); Random(); piVar33 = (int *)Game::Spawn(); @@ -254030,21 +254229,21 @@ LAB_005c72f6: } while (local_5e4 != (Entity_Player *)0x0); } } - puVar24 = &local_5f0->field_0x1; - local_5f0 = (Entity_Player *)puVar24; - puVar66 = (undefined1 *)EntityList::Size(); - } while (puVar24 < puVar66); + puVar60 = &local_5f0->field_0x1; + local_5f0 = (Entity_Player *)puVar60; + puVar25 = (undefined1 *)EntityList::Size(); + } while (puVar60 < puVar25); } - cVar6 = HasPlayerForm(local_5e0); - pvVar58 = local_61c; - pEVar55 = local_5e0; - if ((cVar6 != '\0') && (local_5e0->_activeDesc[(int)local_61c]._varData == 1)) { + cVar7 = HasPlayerForm(local_5e0); + pvVar57 = local_61c; + this_01 = local_5e0; + if ((cVar7 != '\0') && (local_5e0->_activeDesc[(int)local_61c]._varData == 1)) { local_5fc = local_5fc & 0xff00; AddActiveCharge(local_5e0,-1,(int)local_61c,0,0,0); - iVar9 = GetActiveItem(local_5e0,(int)pvVar58); + iVar9 = GetActiveItem(local_5e0,(int)pvVar57); pGVar47 = g_game; if (iVar9 < 1) { - local_5e0->_activeDesc[(int)pvVar58]._varData = 0; + local_5e0->_activeDesc[(int)pvVar57]._varData = 0; pHVar17 = (HUD *)Game::GetHUD(pGVar47); HUD::InvalidateActiveItem(pHVar17); } @@ -254054,22 +254253,22 @@ LAB_005c72f6: goto switchD_005b5899_default; } break; - case (undefined1 *)0x24: + case (Entity_Player *)0x24: pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); pEVar10 = (Entity_Player *)Room::GetGridIndex(pRVar28); local_5f8 = pEVar10; pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); local_5e4 = (Entity_Player *)Room::GetGridEntity(pRVar28,(uint)pEVar10); Level::GetCurrentRoom((Level *)g_game); - cVar6 = Room::is_type_16(); - if (cVar6 == '\0') { + cVar7 = Room::is_type_16(); + if (cVar7 == '\0') { pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); uVar59 = Room::GetGridCollision(pRVar28,(int)pEVar10); if (uVar59 == 0) { if (local_5e4 != (Entity_Player *)0x0) { GridEntity::GetType(); - cVar6 = is_grid_type_floor_special(); - if (cVar6 != '\0') goto LAB_005b4907; + cVar7 = is_grid_type_floor_special(); + if (cVar7 != '\0') goto LAB_005b4907; } local_5f0 = (Entity_Player *)GetCollectibleRNG(local_5e0,0x24); pEVar10 = (Entity_Player *)0x0; @@ -254096,8 +254295,8 @@ LAB_005b47e2: local_5e4 = (Entity_Player *)0x64; } pRVar8 = (RNG *)FUN_005cbd00(); - pEVar26 = (Entity_Player *)RNG::RandomInt(pRVar8,100); - if (pEVar26 < local_5e4) { + pEVar67 = (Entity_Player *)RNG::RandomInt(pRVar8,100); + if (pEVar67 < local_5e4) { pEVar10 = (Entity_Player *)&DAT_00000005; } local_5ec = pEVar10; @@ -254119,10 +254318,10 @@ LAB_005b47e2: LAB_005b4907: SoundEffects::PlayWithFartOverride(); ShootCandle(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; goto LAB_005b54d1; - case (undefined1 *)0x25: + case (Entity_Player *)0x25: Random(); Game::Spawn(); pEVar32 = (Entity_Tear *)__RTDynamicCast(); @@ -254133,29 +254332,29 @@ LAB_005b4907: Entity_Tear::FallingAcceleration(pEVar32); Entity_Projectile::set_falling_accel((Entity_Projectile *)pEVar32); } - this_01 = (SoundEffects *)MusicManager::SFXManager(); - SoundEffects::Play(this_01,0x28,1.0,4,0,1.0,0.0); - pEVar55 = local_5e0; + this_00 = (SoundEffects *)MusicManager::SFXManager(); + SoundEffects::Play(this_00,0x28,1.0,4,0,1.0,0.0); + this_01 = local_5e0; local_5d9 = (byte)local_5e8; goto LAB_005b54d1; - case (undefined1 *)0x26: + case (Entity_Player *)0x26: random_float(); if (varData != 0) { local_600 = (Entity_Player *)((float)varData / 100.0); } - local_5f0 = pEVar26; + local_5f0 = pEVar65; if (local_5e0->_megaBlastLaser == (void *)0x0) { - cVar6 = HasWeaponType(); - if (cVar6 == '\0') { - cVar6 = HasWeaponType(); - if (cVar6 == '\0') { + cVar7 = HasWeaponType(); + if (cVar7 == '\0') { + cVar7 = HasWeaponType(); + if (cVar7 == '\0') { local_600 = (Entity_Player *)((float)local_600 * 25.0); local_5ec = local_600; - cVar6 = HasWeaponType(); - if (cVar6 == '\0') { + cVar7 = HasWeaponType(); + if (cVar7 == '\0') { local_5ec = local_600; - cVar6 = HasWeaponType(); - if (cVar6 == '\0') { + cVar7 = HasWeaponType(); + if (cVar7 == '\0') { local_600 = (Entity_Player *)&local_5e0->_pos; local_5e4 = (void *)0x0; do { @@ -254170,7 +254369,7 @@ LAB_005b4907: (*pcVar3)(); local_5e4 = (Entity_Player *)((int)local_5e4 + 1); } while ((int)local_5e4 < 10); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; } else { @@ -254190,7 +254389,7 @@ LAB_005b4907: (**(code **)(*(int *)pEVar21 + 0xc))(); local_5e4 = (Entity_Player *)((int)local_5e4 + 1); } while ((int)local_5e4 < 10); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; } } @@ -254199,13 +254398,13 @@ LAB_005b4907: local_5e4 = (void *)0x0; do { pEVar10 = local_600; - fVar65 = 1.0; + fVar66 = 1.0; pEVar31 = (Entity *)0x0; - bVar69 = 1; + bVar72 = 1; bVar5 = 1; pVVar19 = (Vector *)Vector::FromAngle(); - pEVar18 = FireTechLaser(local_5e0,(Vector *)pEVar10,0,pVVar19,bVar5,bVar69,pEVar31, - fVar65); + pEVar18 = FireTechLaser(local_5e0,(Vector *)pEVar10,0,pVVar19,bVar5,bVar72,pEVar31, + fVar66); pcVar3 = *(code **)(*(int *)pEVar18 + 0x40); fVar64 = (float10)Entity::CollisionDamage((Entity *)pEVar18); local_5f8 = (Entity_Player *)(float)(fVar64 + (float10)(float)local_5ec); @@ -254216,7 +254415,7 @@ LAB_005b4907: (**(code **)(*(int *)pEVar18 + 0xc))(); local_5e4 = (Entity_Player *)((int)local_5e4 + 1); } while ((int)local_5e4 < 10); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; } } @@ -254233,7 +254432,7 @@ LAB_005b4907: (**(code **)(*(int *)pEVar31 + 0xc))(); local_5e4 = (Entity_Player *)((int)local_5e4 + 1); } while ((int)local_5e4 < 10); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; } } @@ -254252,7 +254451,7 @@ LAB_005b4907: (**(code **)(*(int *)pEVar20 + 0xc))(); iVar9 = iVar9 + 1; } while (iVar9 < 10); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; } } @@ -254283,10 +254482,10 @@ LAB_005b4907: } while (iVar9 < 10); Game::ShakeScreen(g_game,0xf); local_5d9 = 0; - pEVar55 = local_5e0; + this_01 = local_5e0; } goto LAB_005b54d1; - case (undefined1 *)0x27: + case (Entity_Player *)0x27: SoundEffects::PlayWithFartOverride(); Level::GetCurrentRoom((Level *)g_game); local_5ec = (Entity_Player *)Room::GetEntities(); @@ -254297,11 +254496,11 @@ LAB_005b4907: puVar35 = (undefined4 *)std::vector::operator_index(); pEVar10 = (Entity_Player *)*puVar35; local_5e4 = pEVar10; - cVar6 = Entity::IsVulnerableEnemy((Entity *)pEVar10); - if ((cVar6 != '\0') && (pEVar10 != local_5e0)) { + cVar7 = Entity::IsVulnerableEnemy((Entity *)pEVar10); + if ((cVar7 != '\0') && (pEVar10 != local_5e0)) { pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetCollectible(pIVar12,0x27); - iVar9 = pIVar23->maxCooldown; + pIVar24 = ItemConfig::GetCollectible(pIVar12,0x27); + iVar9 = pIVar24->maxCooldown; EntityRef::constructor(&EStack_16a8,(Entity *)local_5e0); Entity::AddFreeze((Entity *)local_5e4,&EStack_16a8,iVar9,0); } @@ -254310,21 +254509,21 @@ LAB_005b4907: } while (uVar59 < uVar11); } goto LAB_005b40d0; - case (undefined1 *)0x28: + case (Entity_Player *)0x28: if (local_5e0->_variant == 0) { Color = (ColorMod *)::Color::Color(); pBVar22 = (BitSet128 *)GetBombFlags(); Game::BombExplosionEffects - (g_game,(Vector *)pEVar10,185.0,*pBVar22,Color,(Entity *)local_5e0,1.0,0, - 0x50000004,1); - pEVar55 = local_5e0; + (g_game,(Vector *)pos,185.0,*pBVar22,Color,(Entity *)local_5e0,1.0,0,0x50000004,1) + ; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; goto LAB_005b54d1; } goto LAB_005b3e24; - case (undefined1 *)0x29: + case (Entity_Player *)0x29: SoundEffects::PlayWithFartOverride(); - pEVar55 = local_5e0; + this_01 = local_5e0; if (local_5e0->_variant == 0) { Level::GetCurrentRoom((Level *)g_game); local_5e4 = (Entity_Player *)Room::GetEntities(); @@ -254335,39 +254534,39 @@ LAB_005b4907: do { puVar35 = (undefined4 *)std::vector::operator_index(); local_5e4 = (Entity_Player *)*puVar35; - cVar6 = Entity::IsVulnerableEnemy((Entity *)local_5e4); - if ((cVar6 != '\0') && (local_5e4 != local_5e0)) { + cVar7 = Entity::IsVulnerableEnemy((Entity *)local_5e4); + if ((cVar7 != '\0') && (local_5e4 != local_5e0)) { pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetCollectible(pIVar12,0x27); - iVar9 = pIVar23->maxCooldown; + pIVar24 = ItemConfig::GetCollectible(pIVar12,0x27); + iVar9 = pIVar24->maxCooldown; EntityRef::constructor(&EStack_1680,(Entity *)local_5e0); Entity::AddFear((Entity *)local_5e4,&EStack_1680,iVar9,0); pEVar10 = local_5f0; } pEVar10 = (Entity_Player *)&pEVar10->field_0x1; local_5f0 = pEVar10; - puVar66 = (undefined1 *)EntityList::Size(); - } while (pEVar10 < puVar66); + puVar25 = (undefined1 *)EntityList::Size(); + } while (pEVar10 < puVar25); } AddBlueFlies(); goto LAB_005b46cc; } break; - case (undefined1 *)0x2a: + case (Entity_Player *)0x2a: goto LAB_005b5445; default: goto LAB_005c71f1; - case (undefined1 *)0x2c: + case (Entity_Player *)0x2c: if (local_5e0->_variant == 0) { pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = RNG::Next(pRVar8); - pEVar55 = local_5e0; + this_01 = local_5e0; Game::MoveToRandomRoom(g_game,0,uVar59,local_5e0); local_5d9 = (byte)local_5e8; goto LAB_005b54d1; } goto LAB_005b3e24; - case (undefined1 *)0x2d: + case (Entity_Player *)0x2d: if (local_5e0->_variant == 0) { play_sound_with_fart_seed(); uVar59 = 0; @@ -254375,7 +254574,7 @@ LAB_005b4907: if (iVar9 != 0) { do { pEVar10 = Game::GetPlayer(g_game,uVar59); - AddHearts(pEVar10,(pEVar10 == pEVar55) + 1,0,0); + AddHearts(pEVar10,(pEVar10 == this_01) + 1,0,0); uVar59 = uVar59 + 1; uVar11 = Game::GetNumPlayers(g_game); } while (uVar59 < uVar11); @@ -254383,60 +254582,60 @@ LAB_005b4907: goto switchD_005b5899_default; } break; - case (undefined1 *)0x2f: + case (Entity_Player *)0x2f: LAB_005b5445: SetItemState(local_5e0); goto LAB_005b3eb4; - case (undefined1 *)0x31: + case (Entity_Player *)0x31: SetItemState(local_5e0); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; goto LAB_005b54d1; - case (undefined1 *)0x38: + case (Entity_Player *)0x38: SoundEffects::PlayWithFartOverride(); Random(); Game::Spawn(); piVar33 = (int *)__RTDynamicCast(); (**(code **)(*piVar33 + 0xc))(); goto LAB_005b3e9f; - case (undefined1 *)0x3a: + case (Entity_Player *)0x3a: goto LAB_005b3e91; - case (undefined1 *)0x41: + case (Entity_Player *)0x41: LAB_005b3e91: SoundEffects::PlayWithFartOverride(); goto LAB_005b3e9f; - case (undefined1 *)0x42: - uVar67._0_1_ = 0xc5; - uVar67._1_1_ = 0x3c; - uVar67._2_2_ = 0x5b; + case (Entity_Player *)0x42: + uVar68._0_1_ = 0xc5; + uVar68._1_1_ = 0x3c; + uVar68._2_2_ = 0x5b; SoundEffects::PlayWithFartOverride(); if ((char)local_5e8 != '\0') { AnimateCollectible(local_5e0); } Level::GetCurrentRoom((Level *)g_game); pTVar30 = (TemporaryEffects *)FUN_004360d0(); - fVar68 = 8.378916e-39; - TemporaryEffects::AddCollectibleEffect(pTVar30,(int)puVar24,1,1); + fVar71 = 8.378916e-39; + TemporaryEffects::AddCollectibleEffect(pTVar30,(int)pEVar10,1,1); pMVar13 = (MusicManager *)MusicManager::MusicManager(); pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); Room::time_scale_update(pRVar28); MusicManager::PitchSlide(pMVar13); Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + if (cVar7 != '\0') { pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetCollectible(pIVar12,(int)local_5f4); + pIVar24 = ItemConfig::GetCollectible(pIVar12,(int)local_5f4); uVar59 = 0; - local_5e4 = (Entity_Player *)pIVar23->maxCooldown; + local_5e4 = (Entity_Player *)pIVar24->maxCooldown; Game::GetPlayerManager(g_game); iVar9 = std::vector::size(); if (iVar9 != 0) { do { pPVar14 = (PlayerManager *)Game::GetPlayerManager(g_game); - pEVar10 = PlayerManager::GetPlayer(pPVar14,uVar59); - if ((pEVar10 != local_5e0) && - (pEVar26 = (Entity_Player *)GetOtherTwin(local_5e0), pEVar10 != pEVar26)) { - fVar71 = 8.379182e-39; + pEVar70 = PlayerManager::GetPlayer(pPVar14,uVar59); + if ((pEVar70 != local_5e0) && + (pEVar73 = (Entity_Player *)GetOtherTwin(local_5e0), pEVar70 != pEVar73)) { + fVar76 = 8.379182e-39; EntityRef::constructor(&EStack_1748,(Entity *)local_5e0); bVar5 = 0; puStack_1a1c = (undefined1 *)0x3f800000; @@ -254448,13 +254647,13 @@ LAB_005b3e91: color._tint[2] = in_stack_ffffe5fc; color._tint[3] = in_stack_ffffe600; color._colorize[0] = in_stack_ffffe604; - color._colorize[1] = fVar65; - color._colorize[2] = (float)puVar66; - color._colorize[3] = (float)uVar67; - color._offset[0] = fVar68; - color._offset[1] = (float)puVar24; - color._offset[2] = fVar71; - Entity::AddSlowing((Entity *)pEVar10,&EStack_1748,(int)local_5e4,0.9,color,bVar5); + color._colorize[1] = fVar66; + color._colorize[2] = (float)pEVar67; + color._colorize[3] = (float)uVar68; + color._offset[0] = fVar71; + color._offset[1] = (float)pEVar10; + color._offset[2] = fVar76; + Entity::AddSlowing((Entity *)pEVar70,&EStack_1748,(int)local_5e4,0.9,color,bVar5); } uVar59 = uVar59 + 1; Game::GetPlayerManager(g_game); @@ -254463,7 +254662,7 @@ LAB_005b3e91: } } goto LAB_005b3e24; - case (undefined1 *)0x4e: + case (Entity_Player *)0x4e: if (local_5e0->_variant == 0) { AddSoulHearts(local_5e0,2,0); Config::GetCollectibles(); @@ -254474,20 +254673,20 @@ LAB_005b3e91: goto LAB_005b46cc; } break; - case (undefined1 *)0x53: + case (Entity_Player *)0x53: if (local_5e0->_variant == 0) { SoundEffects::PlayWithFartOverride(); AddBlackHearts(local_5e0,1); LAB_005b5414: - pEVar55 = local_5e0; + this_01 = local_5e0; } break; - case (undefined1 *)0x54: + case (Entity_Player *)0x54: goto LAB_005b83e0; - case (undefined1 *)0x55: + case (Entity_Player *)0x55: if (local_5e0->_variant != 0) goto LAB_005b3e24; bVar5 = HasCollectible(local_5e0,0xfc,0); - pEVar55 = local_5e0; + this_01 = local_5e0; if ((bVar5 == 0) || (bVar5 = HasCollectible(local_5e0,0xfb,0), bVar5 != 0)) { Game::GetItemPool(g_game); pRVar8 = (RNG *)FUN_005cbd00(); @@ -254496,8 +254695,8 @@ LAB_005b5414: AddCard(); bVar5 = 0; if ((char)local_5e8 != '\0') { - AnimateCard(pEVar55); - pEVar55 = local_5e0; + AnimateCard(this_01); + this_01 = local_5e0; local_5d9 = (byte)local_5e8; goto LAB_005b54d1; } @@ -254511,19 +254710,19 @@ LAB_005b67ef: AddPill(); bVar5 = 0; if ((char)local_5e8 != '\0') { - AnimatePill(pEVar55); - pEVar55 = local_5e0; + AnimatePill(this_01); + this_01 = local_5e0; local_5d9 = (byte)local_5e8; goto LAB_005b54d1; } } goto LAB_005b3e2a; - case (undefined1 *)0x56: + case (Entity_Player *)0x56: if (local_5e0->_variant == 0) { Level::GetCurrentRoom((Level *)g_game); local_5ec = (Entity_Player *)Room::GetEntities(); iVar9 = EntityList::Size(); - pEVar55 = local_5e0; + this_01 = local_5e0; if (iVar9 != 0) { local_5f8 = local_5e0; local_5e4 = (Entity_Player *)((uint)local_5e4 & 0xffffff00); @@ -254534,28 +254733,28 @@ LAB_005b67ef: puVar35 = (undefined4 *)std::vector::operator_index(); pEVar10 = (Entity_Player *)*puVar35; puVar35 = (undefined4 *)std::vector::operator_index(); - if (((((Entity_Player *)*puVar35 != pEVar55) && - ((cVar6 = Entity::IsVulnerableEnemy((Entity *)pEVar10), cVar6 != '\0' || - (((cVar6 = Entity::IsEnemy((Entity *)pEVar10), cVar6 != '\0' && + if (((((Entity_Player *)*puVar35 != this_01) && + ((cVar7 = Entity::IsVulnerableEnemy((Entity *)pEVar10), cVar7 != '\0' || + (((cVar7 = Entity::IsEnemy((Entity *)pEVar10), cVar7 != '\0' && (iVar9 = Entity::Type((Entity *)pEVar10), iVar9 != 0x21)) && ((char)local_5e4 == '\0')))))) && - (cVar6 = Entity::IsDead((Entity *)pEVar10), cVar6 == '\0')) || + (cVar7 = Entity::IsDead((Entity *)pEVar10), cVar7 == '\0')) || (iVar9 = Entity::Type((Entity *)pEVar10), iVar9 == 1)) { fVar64 = (float10)Entity::HitPoints((Entity *)pEVar10); local_600 = (Entity_Player *)(float)fVar64; if (0.0 < (float)local_600) { local_5f8 = pEVar10; - cVar6 = Entity::IsVulnerableEnemy((Entity *)pEVar10); + cVar7 = Entity::IsVulnerableEnemy((Entity *)pEVar10); local_5e4 = (Entity_Player *)((uint)local_5e4 & 0xff); - if (cVar6 != '\0') { + if (cVar7 != '\0') { local_5e4 = (Entity_Player *)0x1; } } } - puVar24 = &local_5f0->field_0x1; - local_5f0 = (Entity_Player *)puVar24; - puVar66 = (undefined1 *)EntityList::Size(); - } while (puVar24 < puVar66); + puVar60 = &local_5f0->field_0x1; + local_5f0 = (Entity_Player *)puVar60; + puVar25 = (undefined1 *)EntityList::Size(); + } while (puVar60 < puVar25); } Random(); Entity::Position((Entity *)local_5f8); @@ -254567,12 +254766,12 @@ LAB_005b67ef: } } goto LAB_005b3e24; - case (undefined1 *)0x5d: + case (Entity_Player *)0x5d: goto LAB_005b83cf; - case (undefined1 *)0x61: + case (Entity_Player *)0x61: if (local_5e0->_variant != 0) break; SoundEffects::PlayWithFartOverride(); - pEVar55 = local_5e0; + this_01 = local_5e0; pEVar10 = (Entity_Player *)FUN_005cbd00(); local_5ec = pEVar10; local_5e4 = (Entity_Player *)RNG::RandomInt((RNG *)pEVar10,7); @@ -254581,19 +254780,19 @@ LAB_005b67ef: Room::FindFreePickupSpawnPosition(); uVar59 = RNG::RandomInt((RNG *)pEVar10,6); local_5f8 = (Entity_Player *)(uVar59 + 1); - bVar5 = HasTrinket(pEVar55,0x16,0); + bVar5 = HasTrinket(this_01,0x16,0); if (bVar5 == 0) { - pEVar26 = local_5e4; + pEVar67 = local_5e4; } else { pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = RNG::RandomInt(pRVar8,5); - pEVar26 = local_5e4; + pEVar67 = local_5e4; if (uVar59 != 0) { - pEVar26 = local_5f8; + pEVar67 = local_5f8; } } - switch(pEVar26) { + switch(pEVar67) { case (Entity_Player *)0x0: FUN_00424510(); uStack_14 = 2; @@ -254606,11 +254805,26 @@ LAB_005b67ef: WeightedOutcomePicker::AddOutcomeWeight(aWStack_6a8); PersistentGameData::Unlocked(pPVar15,0x187); WeightedOutcomePicker::AddOutcomeWeight(aWStack_6a8); - PersistentGameData::Unlocked(pPVar15,0x19b); + iVar9 = 4; + bVar5 = PersistentGameData::Unlocked(pPVar15,0x19b); + uVar23._0_1_ = 1; + uVar23._1_1_ = 0; + uVar23._2_2_ = 0; + if (bVar5 != 0) { + uVar23._0_1_ = 0xc; + uVar23._1_1_ = 0; + uVar23._2_2_ = 0; + } + fVar66 = 8.389142e-39; WeightedOutcomePicker::AddOutcomeWeight(aWStack_6a8); + iVar78 = 0x5b598f; RNG::Next((RNG *)local_5ec); RNG::game_constructor((RNG *)(auStack_1af0 + 0x104),(uint)local_5f0,0x23); - WeightedOutcomePicker::PickOutcome(aWStack_6a8); + rng._shift1 = uVar23; + rng._seed = (int)fVar66; + rng._shift2 = iVar9; + rng._shift3 = iVar78; + WeightedOutcomePicker::PickOutcome(aWStack_6a8,rng); Game::Spawn(); uStack_14 = -1; std::vector::_Tidy(); @@ -254642,25 +254856,40 @@ LAB_005b67ef: pPVar15 = (PersistentGameData *)Room::GetTopLeftPos((Room *)g_manager); WeightedOutcomePicker::AddOutcomeWeight(aWStack_86c); WeightedOutcomePicker::AddOutcomeWeight(aWStack_86c); - PersistentGameData::Unlocked(pPVar15,0x267); + iVar9 = 1; + bVar5 = PersistentGameData::Unlocked(pPVar15,0x267); + uVar58._0_1_ = 1; + uVar58._1_1_ = 0; + uVar58._2_2_ = 0; + if (bVar5 != 0) { + uVar58._0_1_ = 4; + uVar58._1_1_ = 0; + uVar58._2_2_ = 0; + } + fVar66 = 8.389746e-39; WeightedOutcomePicker::AddOutcomeWeight(aWStack_86c); + iVar78 = 0x5b5b3e; RNG::Next((RNG *)local_5ec); RNG::game_constructor((RNG *)(auStack_1af0 + 0x104),(uint)local_5f0,0x23); - WeightedOutcomePicker::PickOutcome(aWStack_86c); + rng_00._shift1 = uVar58; + rng_00._seed = (int)fVar66; + rng_00._shift2 = iVar9; + rng_00._shift3 = iVar78; + WeightedOutcomePicker::PickOutcome(aWStack_86c,rng_00); Game::Spawn(); uStack_14 = -1; std::vector::_Tidy(); LAB_005b46cc: - pEVar55 = local_5e0; + this_01 = local_5e0; } switchD_005b5899_default: break; - case (undefined1 *)0x66: + case (Entity_Player *)0x66: if (local_5e0->_variant != 0) goto LAB_005b3e24; SoundEffects::PlayWithFartOverride(); - pEVar55 = local_5e0; + this_01 = local_5e0; bVar5 = HasCollectible(local_5e0,0xfb,0); - if ((bVar5 == 0) || (bVar5 = HasCollectible(pEVar55,0xfc,0), bVar5 != 0)) { + if ((bVar5 == 0) || (bVar5 = HasCollectible(this_01,0xfc,0), bVar5 != 0)) { Game::GetItemPool(g_game); goto LAB_005b67ef; } @@ -254671,14 +254900,14 @@ switchD_005b5899_default: AddCard(); bVar5 = 0; if ((char)local_5e8 != '\0') { - AnimateCard(pEVar55); + AnimateCard(this_01); local_5d9 = (byte)local_5e8; goto LAB_005b54d1; } goto LAB_005b3e2a; - case (undefined1 *)0x69: + case (Entity_Player *)0x69: goto LAB_005b7f80; - case (undefined1 *)0x6b: + case (Entity_Player *)0x6b: if (local_5e0->_variant == 0) { SoundEffects::PlayWithFartOverride(); FUN_0058e240(); @@ -254688,17 +254917,17 @@ switchD_005b5899_default: Game::Spawn(); iVar9 = Isaac::Random(3); local_5ec = (Entity_Player *)(iVar9 + 2); - iVar73 = Isaac::Random(6); + iVar78 = Isaac::Random(6); local_5e4 = (Entity_Player *)0x0; local_5f0 = (Entity_Player *) - ((((Entity_Player *)(iVar9 + 2))->_sprite)._filename._buf + iVar73 + -0x42); + ((((Entity_Player *)(iVar9 + 2))->_sprite)._filename._buf + iVar78 + -0x42); if (0 < (int)local_5f0) { do { random_float(); - pEVar26 = (Entity_Player *)((float)pEVar26 * 20.0 - 10.0); + pEVar65 = (Entity_Player *)((float)pEVar65 * 20.0 - 10.0); Vector::Rotated(); random_float(); - pEStack_940 = pEVar26; + pEStack_940 = pEVar65; Vector::__mul(); Vector::__add(); Random(); @@ -254708,15 +254937,15 @@ switchD_005b5899_default: local_5e4 = (Entity_Player *)&pEVar10->field_0x1; } while ((int)local_5e4 < (int)local_5f0); } - pEVar55 = local_5e0; - local_5e0->_cacheFlags = local_5e0->_cacheFlags | local_62c->cacheFlags; + this_01 = local_5e0; + local_5e0->_cacheFlags = local_5e0->_cacheFlags | *(int *)((int)local_62c + 0x54); TemporaryEffect::TemporaryEffect(); Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + if (cVar7 != '\0') { uStack_900 = 0x1c2; } - TemporaryEffects::AddEffect(&pEVar55->_temporaryeffects,&uStack_908,1,1); + TemporaryEffects::AddEffect(&this_01->_temporaryeffects,&uStack_908,1,1); EvaluateItems(); pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); ItemConfig::GetCollectible(pIVar12,0x14); @@ -254726,23 +254955,23 @@ switchD_005b5899_default: uStack_900 = puVar35[2]; uStack_8fc = puVar35[3]; Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + if (cVar7 != '\0') { uStack_900 = 0x1c2; } - TemporaryEffects::AddEffect(&pEVar55->_temporaryeffects,&uStack_908,1,1); + TemporaryEffects::AddEffect(&this_01->_temporaryeffects,&uStack_908,1,1); local_60a = '\0'; local_5d9 = (byte)local_5e8; goto LAB_005b54d1; } goto LAB_005b3e24; - case (undefined1 *)0x6f: + case (Entity_Player *)0x6f: ::Color::Color(); - pEVar55 = local_5e0; + this_01 = local_5e0; Game::Fart(); Game::ButterBeanFart(); goto switchD_005bfbd8_caseD_11d; - case (undefined1 *)0x7b: + case (Entity_Player *)0x7b: if (local_5e0->_variant == 0) { SoundEffects::PlayWithFartOverride(); pEVar10 = local_5e0; @@ -254751,33 +254980,33 @@ switchD_005b5899_default: pRVar8 = (RNG *)FUN_005cbd00(); uVar11 = 7; uVar59 = RNG::Next(pRVar8); - RNG::game_constructor(aRStack_208,uVar59,uVar11); + RNG::game_constructor(&RStack_208,uVar59,uVar11); uStack_14 = 0xe; - pEVar26 = (Entity_Player *)0x0; + pEVar67 = (Entity_Player *)0x0; Isaac::GetItemConfig(); Config::GetCollectibles(); iVar9 = std::vector::size(); if (iVar9 != 0) { do { - cVar6 = FUN_0072fe80(); - if (cVar6 != '\0') { - local_5f0 = (Entity_Player *)RNG::RandomFloat(aRStack_208); + cVar7 = FUN_0072fe80(); + if (cVar7 != '\0') { + local_5f0 = (Entity_Player *)RNG::RandomFloat(&RStack_208); if ((float)local_5e4 < (float)local_5f0) { - local_5ec = pEVar26; + local_5ec = pEVar67; local_5e4 = local_5f0; } } - pEVar26 = (Entity_Player *)&pEVar26->field_0x1; + pEVar67 = (Entity_Player *)&pEVar67->field_0x1; Isaac::GetItemConfig(); Config::GetCollectibles(); - puVar66 = (undefined1 *)std::vector::size(); - } while (pEVar26 < puVar66); + puVar25 = (undefined1 *)std::vector::size(); + } while (pEVar67 < puVar25); } uVar59 = std::vector::size(); - pEVar26 = local_5ec; + pEVar67 = local_5ec; if (uVar59 < 0x40) { TemporaryEffects::AddCollectibleEffect(&pEVar10->_temporaryeffects,(int)local_5ec,1,1); - pEStack_938 = pEVar26; + pEStack_938 = pEVar67; std::vector::push_back(); } uStack_14 = -1; @@ -254785,10 +255014,10 @@ switchD_005b5899_default: goto LAB_005b46cc; } break; - case (undefined1 *)0x7c: + case (Entity_Player *)0x7c: if (local_5e0->_variant == 0) { SoundEffects::PlayWithFartOverride(); - pEVar55 = local_5e0; + this_01 = local_5e0; if (local_5e0->_itemState == 0) { iVar9 = 0; local_5e4 = (Entity_Player *)0x26; @@ -254798,20 +255027,20 @@ switchD_005b5899_default: uVar59 = RNG::RandomInt(pRVar8,0x20); pEVar10 = *(Entity_Player **)(&DAT_00b62f50 + uVar59 * 4); Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 == '\0') { + cVar7 = FUN_00429550(); + if (cVar7 == '\0') { LAB_005b6056: local_5d9 = 0; } else { Game::GetField26614(); piVar33 = (int *)EntityList::Size(); - cVar6 = (**(code **)(*piVar33 + 0x30))(); + cVar7 = (**(code **)(*piVar33 + 0x30))(); local_5d9 = 1; - if (cVar6 == '\0') goto LAB_005b6056; + if (cVar7 == '\0') goto LAB_005b6056; } - iVar73 = Game::Challenge(g_game); - if (((iVar73 != 0x2b) || (cVar6 = FUN_0072fe80(), cVar6 == '\0')) && (local_5d9 == 0)) { + iVar78 = Game::Challenge(g_game); + if (((iVar78 != 0x2b) || (cVar7 = FUN_0072fe80(), cVar7 == '\0')) && (local_5d9 == 0)) { local_5e4 = pEVar10; break; } @@ -254819,56 +255048,56 @@ LAB_005b6056: } while (iVar9 < 10); Game::GetHUD(g_game); pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetCollectible(pIVar12,(int)local_5e4); - ItemConfig_Item::GetLocalizedName(pIVar23); + pIVar24 = ItemConfig::GetCollectible(pIVar12,(int)local_5e4); + ItemConfig_Item::GetLocalizedName(pIVar24); uStack_14 = 10; std::string::c_str(); - pEVar55 = local_5e0; + this_01 = local_5e0; PlayerHUD::show_pill_name(); uStack_14 = -1; std::string::_Tidy_deallocate(); - UseActiveItem(pEVar55,&sStack_870,(int)local_5e4,1,-1,0); + UseActiveItem(this_01,&sStack_870,(int)local_5e4,1,-1,0); TriggerBookOfVirtues(); } } goto joined_r0x005b9d4a; - case (undefined1 *)0x7e: + case (Entity_Player *)0x7e: if (local_5e0->_variant == 0) { local_5e0->_damageCooldown = 0; local_5e4 = (Entity_Player *)0x3f800000; Game::GetField26614(); - cVar6 = FUN_00429550(); - pEVar55 = local_5e0; - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + this_01 = local_5e0; + if (cVar7 != '\0') { local_5e4 = (Entity_Player *)0x41200000; } pcVar3 = *(code **)(*(int *)local_5e0 + 0x20); local_5ec = (Entity_Player *)EntityRef::EntityRef(); - TemporaryEffects::GetCollectibleEffectNum(&pEVar55->_temporaryeffects,0x7e); + TemporaryEffects::GetCollectibleEffectNum(&this_01->_temporaryeffects,0x7e); (*pcVar3)(); SoundEffects::PlayWithFartOverride(); goto switchD_005b5899_default; } break; - case (undefined1 *)0x7f: + case (Entity_Player *)0x7f: if (local_5e0->_variant == 0) { if (local_5f8 != (Entity_Player *)0x0) { local_5fc._1_1_ = 1; } Game::GetField26614(); - cVar6 = FUN_00429560(); - if (cVar6 == '\0') { + cVar7 = FUN_00429560(); + if (cVar7 == '\0') { pEVar31 = (Entity *)Entity_Effect::CreateTimer(); Entity::SetParent(pEVar31); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; goto LAB_005b54d1; } goto LAB_005b743f; } goto LAB_005b3e24; - case (undefined1 *)0x82: - case (undefined1 *)0xb5: + case (Entity_Player *)0x82: + case (Entity_Player *)0xb5: if (local_5e0->_variant != 0) { local_5d9 = bVar5; goto LAB_005b54d1; @@ -254885,7 +255114,7 @@ LAB_005b6056: goto LAB_005b562c; } goto LAB_005b3e24; - case (undefined1 *)0x85: + case (Entity_Player *)0x85: if ((local_5e0->_variant == 0) && (1 < local_5e0->_maxHearts)) { play_sound_with_fart_seed(); local_5e0->_maxHearts = local_5e0->_maxHearts + -2; @@ -254902,14 +255131,14 @@ LAB_005b6056: bVar5 = HasCollectible(pEVar10,0x3b,0); if (bVar5 != 0) { TemporaryEffects::AddNullEffect(&pEVar10->_temporaryeffects,0x82,1,1); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; goto LAB_005b54d1; } } } goto LAB_005b3e24; - case (undefined1 *)0x87: + case (Entity_Player *)0x87: if (local_5e0->_variant == 0) { SoundEffects::PlayWithFartOverride(); pEVar10 = local_5e0; @@ -254926,27 +255155,27 @@ LAB_005b6056: iVar9 = 0; if ((local_5e0->_playerType == 0xe) || (local_5e0->_playerType == 0x21)) { bVar5 = HasCollectible(local_5e0,0x4b,0); - if ((bVar5 != 0) && (iVar73 = Isaac::Random(2), iVar73 == 0)) { + if ((bVar5 != 0) && (iVar78 = Isaac::Random(2), iVar78 == 0)) { iVar9 = 1; } bVar5 = HasCollectible(local_5e0,0xe3,0); if (bVar5 != 0) { - pEVar26 = (Entity_Player *)0x40000000; + pEVar65 = (Entity_Player *)0x40000000; local_600 = (Entity_Player *)0x40000000; } random_float(); if (iVar9 == 0) { - fVar65 = 0.5; + fVar66 = 0.5; } else { - fVar65 = 0.25; + fVar66 = 0.25; } - iVar9 = iVar9 + (uint)((float)pEVar26 * (float)local_600 <= fVar65); + iVar9 = iVar9 + (uint)((float)pEVar65 * (float)local_600 <= fVar66); } else { pRVar8 = &local_5e0->_dropRNG; - cVar6 = Game::IsHardMode(); - if (cVar6 == '\0') { + cVar7 = Game::IsHardMode(); + if (cVar7 == '\0') { uStack_930 = RNG::RandomInt(pRVar8,3); uStack_92c = 1; } @@ -254961,7 +255190,7 @@ LAB_005b6056: iVar9 = iVar9 + 1; } } - pEVar55 = local_5e0; + this_01 = local_5e0; if (0 < iVar9) { local_5e4 = (Entity_Player *)&local_5e0->_pos; do { @@ -254976,10 +255205,10 @@ LAB_005b6056: goto switchD_005b5899_default; } break; - case (undefined1 *)0x88: + case (Entity_Player *)0x88: if (local_5e0->_variant == 0) { Random(); - pEVar55 = local_5e0; + this_01 = local_5e0; Game::Spawn(); pEVar32 = (Entity_Tear *)__RTDynamicCast(); EntityPtr::SetReference(); @@ -254996,45 +255225,45 @@ LAB_005b6056: } } goto LAB_005b3e24; - case (undefined1 *)0x91: + case (Entity_Player *)0x91: if (local_5e0->_variant == 0) { pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = RNG::RandomInt(pRVar8,3); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5e4 = (Entity_Player *)(uVar59 + 2); bVar5 = HasCollectible(local_5e0,0x248,0); if ((bVar5 == 0) || ((char)local_610 == '\0')) { AddBlueFlies(); } else { - pEVar55 = local_5e0; + this_01 = local_5e0; pEVar10 = local_5e4; if (0 < (int)local_5e4) { do { AddWisp(); pEVar10 = (Entity_Player *)((int)&pEVar10[-1]._replacedPlayer + 3); - pEVar55 = local_5e0; + this_01 = local_5e0; } while (pEVar10 != (Entity_Player *)0x0); } } goto switchD_005b5899_default; } break; - case (undefined1 *)0x92: + case (Entity_Player *)0x92: if (local_5e0->_variant == 0) { AddEternalHearts(local_5e0,1); - pEVar55 = local_5e0; + this_01 = local_5e0; } break; - case (undefined1 *)0x93: + case (Entity_Player *)0x93: bVar5 = TemporaryEffects::HasCollectibleEffect(&local_5e0->_temporaryeffects,0x93); if (bVar5 == 0) { - TemporaryEffects::AddCollectibleEffect(&pEVar55->_temporaryeffects,0x93,0,1); + TemporaryEffects::AddCollectibleEffect(&this_01->_temporaryeffects,0x93,0,1); SoundEffects::PlayWithFartOverride(); } local_5fc = local_5fc & 0xff00; goto LAB_005b54bc; - case (undefined1 *)0x9e: + case (Entity_Player *)0x9e: if (local_5e0->_variant == 0) { pRVar8 = (RNG *)FUN_005cbd00(); pLVar27 = (Level *)Config::GetCollectibles(); @@ -255062,11 +255291,11 @@ LAB_005b6a39: goto LAB_005b46cc; } break; - case (undefined1 *)0xa0: + case (Entity_Player *)0xa0: goto LAB_005b78cc; - case (undefined1 *)0xa4: + case (Entity_Player *)0xa4: goto LAB_005b7eff; - case (undefined1 *)0xa6: + case (Entity_Player *)0xa6: if (local_5e0->_variant == 0) { Level::GetCurrentRoom((Level *)g_game); iVar9 = GridEntity::GetVariant(); @@ -255075,8 +255304,8 @@ LAB_005b6a39: Room::ShopReshuffle(); } Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 7; pEVar10 = (Entity_Player *)0x0; local_5ec = (Entity_Player *)0x0; @@ -255084,72 +255313,72 @@ LAB_005b6a39: if (iVar9 != 0) { do { puVar35 = (undefined4 *)std::vector::operator_index(); - cVar6 = Entity::IsDead((Entity *)*puVar35); - if (cVar6 == '\0') { + cVar7 = Entity::IsDead((Entity *)*puVar35); + if (cVar7 == '\0') { puVar35 = (undefined4 *)std::vector::operator_index(); iVar9 = Entity::Variant((Entity *)*puVar35); if (iVar9 != 100) { std::vector::operator_index(); - pEVar26 = (Entity_Player *)__RTDynamicCast(); - local_5e4 = pEVar26; - bVar5 = Entity_Pickup::CanReroll((Entity_Pickup *)pEVar26); + pEVar67 = (Entity_Player *)__RTDynamicCast(); + local_5e4 = pEVar67; + bVar5 = Entity_Pickup::CanReroll((Entity_Pickup *)pEVar67); if (bVar5 != 0) { bVar5 = HasCollectible(local_5e0,0x248,0); if ((bVar5 == 0) || ((char)local_610 == '\0')) { - cVar6 = Entity_Pickup::IsShopItem((Entity_Pickup *)pEVar26); - if (cVar6 == '\0') { + cVar7 = Entity_Pickup::IsShopItem((Entity_Pickup *)pEVar67); + if (cVar7 == '\0') { uVar11 = 0x3d; - uVar59 = Entity::InitSeed((Entity *)pEVar26); - RNG::game_constructor(aRStack_1d8,uVar59,uVar11); + uVar59 = Entity::InitSeed((Entity *)pEVar67); + RNG::game_constructor(&RStack_1d8,uVar59,uVar11); uStack_14 = CONCAT31(uStack_14._1_3_,9); - cVar6 = FUN_006ee330(); - if (((cVar6 == '\0') || (uVar59 = RNG::RandomInt(aRStack_1d8,5), uVar59 == 0)) - && (uVar59 = RNG::RandomInt(aRStack_1d8,10), uVar59 != 0)) { + cVar7 = FUN_006ee330(); + if (((cVar7 == '\0') || (uVar59 = RNG::RandomInt(&RStack_1d8,5), uVar59 == 0)) + && (uVar59 = RNG::RandomInt(&RStack_1d8,10), uVar59 != 0)) { + bVar77 = 0; bVar72 = 0; - bVar69 = 0; bVar5 = 1; - fVar65 = 1.4013e-45; - iVar73 = 0; - iVar9 = Entity::Type((Entity *)pEVar26); + fVar66 = 1.4013e-45; + iVar78 = 0; + iVar9 = Entity::Type((Entity *)pEVar67); } else { - uVar59 = RNG::RandomInt(aRStack_1d8,4); - iVar73 = (-(uint)(uVar59 != 0) & 0xfffffff6) + 0x3c; + uVar59 = RNG::RandomInt(&RStack_1d8,4); + iVar78 = (-(uint)(uVar59 != 0) & 0xfffffff6) + 0x3c; iVar9 = Entity::Type((Entity *)local_5e4); + bVar77 = 0; bVar72 = 0; - bVar69 = 0; bVar5 = 1; - fVar65 = 0.0; - pEVar26 = local_5e4; + fVar66 = 0.0; + pEVar67 = local_5e4; } Entity_Pickup::Morph - ((Entity_Pickup *)pEVar26,iVar9,iVar73,(int)fVar65,bVar5,bVar69, - bVar72); + ((Entity_Pickup *)pEVar67,iVar9,iVar78,(int)fVar66,bVar5,bVar72, + bVar77); goto LAB_005b5f61; } + bVar77 = 0; bVar72 = 0; - bVar69 = 0; bVar5 = 1; - fVar65 = 0.0; - iVar73 = 0x96; + fVar66 = 0.0; + iVar78 = 0x96; iVar9 = Entity::Type(); Entity_Pickup::Morph - ((Entity_Pickup *)pEVar26,iVar9,iVar73,(int)fVar65,bVar5,bVar69,bVar72 + ((Entity_Pickup *)pEVar67,iVar9,iVar78,(int)fVar66,bVar5,bVar72,bVar77 ); } else { uVar11 = 0x23; - uVar59 = Entity::InitSeed((Entity *)pEVar26); - RNG::game_constructor(aRStack_1f8,uVar59,uVar11); + uVar59 = Entity::InitSeed((Entity *)pEVar67); + RNG::game_constructor(&RStack_1f8,uVar59,uVar11); uStack_14 = CONCAT31(uStack_14._1_3_,8); - uVar59 = RNG::RandomInt(aRStack_1f8,5); + uVar59 = RNG::RandomInt(&RStack_1f8,5); if (uVar59 == 0) { - Entity::Position((Entity *)pEVar26); - Entity_Familiar::GetRandomWisp(aRStack_1f8); + Entity::Position((Entity *)pEVar67); + Entity_Familiar::GetRandomWisp(&RStack_1f8); AddWisp(); - pEVar26 = local_5e4; + pEVar67 = local_5e4; } - (**(code **)(*(int *)pEVar26 + 0x28))(); + (**(code **)(*(int *)pEVar67 + 0x28))(); LAB_005b5f61: uStack_14 = CONCAT31(uStack_14._1_3_,7); guard_check_icall(); @@ -255160,19 +255389,19 @@ LAB_005b5f61: } pEVar10 = (Entity_Player *)&pEVar10->field_0x1; local_5ec = pEVar10; - puVar66 = (undefined1 *)EntityList::Size(); - } while (pEVar10 < puVar66); + puVar25 = (undefined1 *)EntityList::Size(); + } while (pEVar10 < puVar25); } uStack_14 = -1; EntityList_Query::~EntityList_Query(); } goto LAB_005b8358; - case (undefined1 *)0xab: + case (Entity_Player *)0xab: if (local_5e0->_variant == 0) { - fVar68 = 4.62428e-44; - uVar54._0_1_ = 0xbe; - uVar54._1_1_ = 0x5b; - uVar54._2_2_ = 0x5b; + fVar71 = 4.62428e-44; + uVar69._0_1_ = 0xbe; + uVar69._1_1_ = 0x5b; + uVar69._2_2_ = 0x5b; SoundEffects::PlayWithFartOverride(); Level::GetCurrentRoom((Level *)g_game); local_5f0 = (Entity_Player *)Room::GetEntities(); @@ -255183,18 +255412,18 @@ LAB_005b5f61: puVar35 = (undefined4 *)std::vector::operator_index(); pEVar10 = (Entity_Player *)*puVar35; local_5e4 = pEVar10; - cVar6 = Entity::IsVulnerableEnemy((Entity *)pEVar10); - if ((cVar6 != '\0') && (pEVar10 != local_5e0)) { - uVar70._0_1_ = 0x2b; - uVar70._1_1_ = 0x5c; - uVar70._2_2_ = 0x5b; - cVar6 = Entity::HasEntityFlags(); - if (cVar6 == '\0') { + cVar7 = Entity::IsVulnerableEnemy((Entity *)pEVar10); + if ((cVar7 != '\0') && (pEVar10 != local_5e0)) { + uVar74._0_1_ = 0x2b; + uVar74._1_1_ = 0x5c; + uVar74._2_2_ = 0x5b; + cVar7 = Entity::HasEntityFlags(); + if (cVar7 == '\0') { pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetCollectible(pIVar12,0xab); - pEVar26 = local_5e0; - iVar9 = pIVar23->maxCooldown; - fVar71 = 8.390167e-39; + pIVar24 = ItemConfig::GetCollectible(pIVar12,0xab); + pEVar70 = local_5e0; + iVar9 = pIVar24->maxCooldown; + fVar76 = 8.390167e-39; EntityRef::constructor(&EStack_16d0,(Entity *)local_5e0); bVar5 = 0; puStack_1a1c = (undefined1 *)0x3f800000; @@ -255207,41 +255436,41 @@ LAB_005b5f61: color_00._tint[2] = in_stack_ffffe5fc; color_00._tint[3] = in_stack_ffffe600; color_00._colorize[0] = in_stack_ffffe604; - color_00._colorize[1] = fVar65; - color_00._colorize[2] = (float)puVar66; - color_00._colorize[3] = (float)uVar54; - color_00._offset[0] = fVar68; - color_00._offset[1] = (float)uVar70; - color_00._offset[2] = fVar71; + color_00._colorize[1] = fVar66; + color_00._colorize[2] = (float)pEVar67; + color_00._colorize[3] = (float)uVar69; + color_00._offset[0] = fVar71; + color_00._offset[1] = (float)uVar74; + color_00._offset[2] = fVar76; Entity::AddSlowing((Entity *)local_5e4,&EStack_16d0,iVar9,0.9,color_00,bVar5); Entity::AddEntityFlags(); pcVar3 = *(code **)(*(int *)pEVar10 + 0x20); - EntityRef::constructor(&EStack_15e0,(Entity *)pEVar26); - fVar68 = 2.0; - uVar54._0_1_ = 0; - uVar54._1_1_ = 0; - uVar54._2_2_ = 0x4120; - puVar66 = (undefined1 *)0x5b5ce8; + EntityRef::constructor(&EStack_15e0,(Entity *)pEVar70); + fVar71 = 2.0; + uVar69._0_1_ = 0; + uVar69._1_1_ = 0; + uVar69._2_2_ = 0x4120; + pEVar67 = (Entity_Player *)0x5b5ce8; (*pcVar3)(); } } puVar60 = &local_5ec->field_0x1; local_5ec = (Entity_Player *)puVar60; - puVar24 = (undefined1 *)EntityList::Size(); - } while (puVar60 < puVar24); + puVar25 = (undefined1 *)EntityList::Size(); + } while (puVar60 < puVar25); } goto LAB_005b46cc; } break; - case (undefined1 *)0xaf: + case (Entity_Player *)0xaf: if (local_5e0->_variant == 0) { SoundEffects::PlayWithFartOverride(); iVar9 = 0; do { pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); pGVar29 = Room::GetDoor(pRVar28,iVar9); - if (((pGVar29 != (GridEntity_Door *)0x0) && (cVar6 = FUN_00710370(), cVar6 != '\0')) && - (cVar6 = GridEntity_Door::TryUnlock(pGVar29), cVar6 == '\0')) { + if (((pGVar29 != (GridEntity_Door *)0x0) && (cVar7 = FUN_00710370(), cVar7 != '\0')) && + (cVar7 = GridEntity_Door::TryUnlock(pGVar29), cVar7 == '\0')) { GridEntity_Door::Open(); GridEntity_Door::TryBlowOpen(pGVar29); } @@ -255253,7 +255482,7 @@ LAB_005b5f61: goto LAB_005b46cc; } break; - case (undefined1 *)0xb1: + case (Entity_Player *)0xb1: if (local_5e0->_variant == 0) { local_5d9 = bVar5; if (local_5e0->_numCoins < 1) goto LAB_005b54d1; @@ -255295,7 +255524,7 @@ switchD_005b73b8_caseD_a: } iVar9 = iVar9 + -1; } while (iVar9 != 0); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; goto LAB_005b54d1; } @@ -255318,7 +255547,7 @@ LAB_005b73ac: Game::Spawn(); AnimateSad(); local_5d9 = (byte)local_5e8; - pEVar55 = local_5e0; + this_01 = local_5e0; goto LAB_005b54d1; } AddPrettyFly(pEVar10); @@ -255339,7 +255568,7 @@ LAB_005b73ac: if ((bVar5 != 0) && ((char)local_610 != '\0')) { AddWisp(); local_5d9 = (byte)local_5e8; - pEVar55 = local_5e0; + this_01 = local_5e0; goto LAB_005b54d1; } break; @@ -255354,7 +255583,7 @@ LAB_005b73ac: if ((bVar5 != 0) && ((char)local_610 != '\0')) { AddWisp(); local_5d9 = (byte)local_5e8; - pEVar55 = local_5e0; + this_01 = local_5e0; goto LAB_005b54d1; } break; @@ -255368,7 +255597,7 @@ LAB_005b73ac: if ((bVar5 != 0) && ((char)local_610 != '\0')) { AddWisp(); local_5d9 = (byte)local_5e8; - pEVar55 = local_5e0; + this_01 = local_5e0; goto LAB_005b54d1; } break; @@ -255382,13 +255611,13 @@ LAB_005b73ac: if ((bVar5 != 0) && ((char)local_610 != '\0')) { AddWisp(); local_5d9 = (byte)local_5e8; - pEVar55 = local_5e0; + this_01 = local_5e0; goto LAB_005b54d1; } break; default: PlayExtraAnimation(pEVar10); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; goto LAB_005b54d1; case 10: @@ -255399,7 +255628,7 @@ LAB_005b73ac: } } goto LAB_005b3e24; - case (undefined1 *)0xba: + case (Entity_Player *)0xba: if (local_5e0->_variant == 0) { SoundEffects::PlayWithFartOverride(); local_5e0->_damageCooldown = 0; @@ -255408,51 +255637,51 @@ LAB_005b73ac: local_600 = (Entity_Player *)0x40000000; } Game::GetField26614(); - cVar6 = FUN_00429550(); - pEVar55 = local_5e0; - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + this_01 = local_5e0; + if (cVar7 != '\0') { local_600 = (Entity_Player *)0x41700000; } pcVar3 = *(code **)(*(int *)local_5e0 + 0x20); EntityRef::EntityRef(); (*pcVar3)(); - UseActiveItem(pEVar55,&sStack_872,0x23,1,-1,0); + UseActiveItem(this_01,&sStack_872,0x23,1,-1,0); Game::ShakeScreen(g_game,8); Level::GetCurrentRoom((Level *)g_game); Room::EmitBloodFromWalls(); Game::GetField26614(); - cVar6 = FUN_00429550(); - if ((cVar6 != '\0') && - (iVar9 = TemporaryEffects::GetCollectibleEffectNum(&pEVar55->_temporaryeffects,0xba), + cVar7 = FUN_00429550(); + if ((cVar7 != '\0') && + (iVar9 = TemporaryEffects::GetCollectibleEffectNum(&this_01->_temporaryeffects,0xba), 1 < iVar9)) { - RemoveCollectible(pEVar55,0xba,1,(uint)local_61c,1); + RemoveCollectible(this_01,0xba,1,(uint)local_61c,1); } - AddCacheFlags(pEVar55,2); + AddCacheFlags(this_01,2); EvaluateItems(); goto switchD_005b5899_default; } break; - case (undefined1 *)0xc0: + case (Entity_Player *)0xc0: SoundEffects::PlayWithFartOverride(); BitSet128::operator_and(); - cVar6 = BitSet128::IsNonZero(); - if (cVar6 != '\0') { + cVar7 = BitSet128::IsNonZero(); + if (cVar7 != '\0') { pPVar15 = (PersistentGameData *)Room::GetTopLeftPos((Room *)g_manager); PersistentGameData::TryUnlock(pPVar15,0x185); } LAB_005b3e9f: - cVar6 = (char)local_5e8; + cVar7 = (char)local_5e8; joined_r0x005b3ea7: bVar5 = 0; - if (cVar6 == '\0') goto LAB_005b3e2a; + if (cVar7 == '\0') goto LAB_005b3e2a; goto LAB_005b3eb4; - case (undefined1 *)0x107: + case (Entity_Player *)0x107: if (local_5e0->_variant == 0) { iVar9 = GetCard(local_5e0); pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); pIVar34 = ItemConfig::GetCard(pIVar12,iVar9); if (((iVar9 == 0) || (pIVar34 == (ItemConfig_Card *)0x0)) || - (cVar6 = Card::IsRune(), cVar6 == '\0')) goto LAB_005b46cc; + (cVar7 = Card::IsRune(), cVar7 == '\0')) goto LAB_005b46cc; if (((((uint)local_618 & 4) != 0) && (-1 < (int)local_61c)) && (local_5e0->_activeDesc[(int)local_61c]._item == 0x107)) { local_5e0->_activeDesc[(int)local_61c]._varData = pIVar34->mimicCharge; @@ -255461,27 +255690,27 @@ joined_r0x005b3ea7: local_5e0->_wildCardItemType = 1; local_5e0->_wildCardItem = iVar9; local_5e0->_wildCardVarData = 0; - pEVar55 = local_5e0; + this_01 = local_5e0; goto switchD_005b5899_default; } } LAB_005b46d8: joined_r0x005b9d4a: if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); - pEVar55 = local_5e0; + AnimateCollectible(this_01); + this_01 = local_5e0; local_5d9 = (byte)local_5e8; goto LAB_005b54d1; } goto LAB_005b3e24; } - if ((undefined1 *)0x1be < puVar24 + -0x11b) { + if ((undefined1 *)0x1be < &pEVar10[-1].field_0x25b1) { LAB_005c71f1: local_5d9 = bVar5; Isaac::GetItemConfig(); Config::GetCollectibles(); iVar9 = std::vector::size(); - if (iVar9 <= (int)puVar24) { + if (iVar9 <= (int)pEVar10) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } @@ -255489,7 +255718,7 @@ LAB_005c71f1: } /* WARNING (jumptable): Sanity check requires truncation of jumptable */ /* WARNING: Could not find normalized switch variable to match jumptable */ - switch(puVar24[0x5c7645]) { + switch(*(undefined1 *)((int)&pEVar10[0x262]._bodySprite._filename._size + 1)) { case 0: pEVar10 = local_5e0; if (local_5e0->_variant == 0) { @@ -255504,12 +255733,12 @@ LAB_005c71f1: UseActiveItem(pEVar10,&sStack_8a2,0x11c,1,-1,0); } bVar5 = HasCollectible(pEVar10,0x248,0); - pEVar55 = local_5e0; + this_01 = local_5e0; if ((bVar5 != 0) && ((char)local_610 != '\0')) { AddWisp(); Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0xf; uVar59 = 0; iVar9 = EntityList::Size(); @@ -255519,7 +255748,7 @@ LAB_005c71f1: local_5e4 = (Entity_Player *)FUN_00435de0(); if ((local_5e4 != (Entity_Player *)0x0) && (pEVar10 = (Entity_Player *)Entity_Familiar::Player((Entity_Familiar *)local_5e4), - pEVar10 == pEVar55)) { + pEVar10 == this_01)) { FUN_005cbd00(); FUN_0043e990(); } @@ -255536,8 +255765,8 @@ LAB_005b8efd: bVar5 = HasCollectible(local_5e0,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0x10; uVar59 = 0; iVar9 = EntityList::Size(); @@ -255549,7 +255778,7 @@ LAB_005b8efd: uVar11 = EntityList::Size(); } while (uVar59 < uVar11); } - iVar73 = 0; + iVar78 = 0; local_5e4 = (Entity_Player *)Config::GetCollectibles(); local_5ec = (Entity_Player *)0x0; iVar9 = FUN_0042c7f0(); @@ -255558,10 +255787,10 @@ LAB_005b8efd: if (((uint)local_5ec & 1) == 0) { pRVar8 = (RNG *)FUN_005cbd00(); Entity_Familiar::GetRandomWisp(pRVar8); - pEVar55 = local_5e0; + this_01 = local_5e0; AddWisp(); - iVar73 = iVar73 + 1; - if (iVar73 == 0xc) break; + iVar78 = iVar78 + 1; + if (iVar78 == 0xc) break; } local_5ec = (Entity_Player *)&local_5ec->field_0x1; pEVar10 = (Entity_Player *)FUN_0042c7f0(); @@ -255585,8 +255814,8 @@ LAB_005b8efd: do { puVar35 = (undefined4 *)std::vector::operator_index(); pEStack_66c = (Entity *)*puVar35; - cVar6 = Entity::HasMortalDamage(); - if (((cVar6 == '\0') && (cVar6 = Entity::IsDead(pEStack_66c), cVar6 == '\0')) && + cVar7 = Entity::HasMortalDamage(); + if (((cVar7 == '\0') && (cVar7 = Entity::IsDead(pEStack_66c), cVar7 == '\0')) && (bVar5 = Entity::CanDevolve(pEStack_66c), bVar5 != 0)) { std::vector::push_back(); } @@ -255596,13 +255825,13 @@ LAB_005b8efd: } std::iterator_copy(); FUN_00456190(); - cVar6 = FUN_0042c710(); - while (cVar6 != '\0') { + cVar7 = FUN_0042c710(); + while (cVar7 != '\0') { EntityPtr::Ref(); Game::DevolveEnemy(); FUN_005cbb80(); FUN_00456190(); - cVar6 = FUN_0042c710(); + cVar7 = FUN_0042c710(); } uStack_14 = -1; FID_conflict__Tidy(auStack_8c0); @@ -255618,9 +255847,9 @@ LAB_005b8efd: local_5e4 = (Entity_Player *)ItemConfig::GetCard(pIVar12,iVar9); local_5d9 = (byte)local_5e8; if (local_5e4 != (Entity_Player *)0x0) { - cVar6 = Card::IsCard(); + cVar7 = Card::IsCard(); pEVar10 = local_5e0; - if (cVar6 != '\0') { + if (cVar7 != '\0') { if (((((uint)local_618 & 4) != 0) && (-1 < (int)local_61c)) && (local_5e0->_activeDesc[(int)local_61c]._item == 0x11e)) { local_5e0->_activeDesc[(int)local_61c]._varData = @@ -255637,7 +255866,7 @@ LAB_005b8efd: local_5e0->_pocketSlots[4] = local_5e0->_pocketSlots[6]; local_5e0->_pocketSlots[5] = local_5e0->_pocketSlots[7]; local_5e0->_pocketSlots[6] = 0; - pEVar55 = local_5e0; + this_01 = local_5e0; break; } if (iVar9 != 0x50) { @@ -255657,7 +255886,7 @@ LAB_005b8efd: } if (local_5d9 != 0) { AnimateCollectible(local_5e0); - pEVar55 = local_5e0; + this_01 = local_5e0; break; } goto LAB_005b3e30; @@ -255666,22 +255895,31 @@ LAB_005b8efd: FUN_00424510(); uStack_14 = 0x14; pLVar27 = (Level *)Config::GetCollectibles(); - cVar6 = Level::GetStateFlag(pLVar27); - if (cVar6 == '\0') { + cVar7 = Level::GetStateFlag(pLVar27); + if (cVar7 == '\0') { + pEVar73 = (Entity_Player *)0x0; + pEVar70 = (Entity_Player *)&LAB_005ba6f2; WeightedOutcomePicker::AddOutcomeWeight(aWStack_778); } pLVar27 = (Level *)Config::GetCollectibles(); - cVar6 = Level::GetStateFlag(pLVar27); - if (cVar6 == '\0') { + cVar7 = Level::GetStateFlag(pLVar27); + if (cVar7 == '\0') { + pEVar73 = (Entity_Player *)0x1; + pEVar70 = (Entity_Player *)&LAB_005ba71b; WeightedOutcomePicker::AddOutcomeWeight(aWStack_778); } pLVar27 = (Level *)Config::GetCollectibles(); - cVar6 = Level::GetStateFlag(pLVar27); - if (cVar6 == '\0') { + iVar9 = 0x5ba72f; + cVar7 = Level::GetStateFlag(pLVar27); + if (cVar7 == '\0') { + iVar9 = 1; + pEVar73 = (Entity_Player *)0x2; + pEVar70 = (Entity_Player *)&LAB_005ba744; WeightedOutcomePicker::AddOutcomeWeight(aWStack_778); } - cVar6 = FUN_004178f0(); - if (cVar6 == '\0') { + iVar78 = 0x5ba74f; + cVar7 = FUN_004178f0(); + if (cVar7 == '\0') { pLVar27 = (Level *)Config::GetCollectibles(); Level::SetCanSeeEverything(pLVar27); pGVar47 = (Game *)Config::GetCollectibles(); @@ -255692,16 +255930,20 @@ LAB_005b8efd: pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = RNG::Next(pRVar8); RNG::game_constructor((RNG *)(auStack_1af0 + 0x104),uVar59,uVar11); - iVar9 = WeightedOutcomePicker::PickOutcome(aWStack_778); - if (iVar9 == 0) { + rng_01._shift1 = (int)pEVar73; + rng_01._seed = (int)pEVar70; + rng_01._shift2 = iVar9; + rng_01._shift3 = iVar78; + uVar59 = WeightedOutcomePicker::PickOutcome(aWStack_778,rng_01); + if (uVar59 == 0) { pLVar27 = (Level *)Config::GetCollectibles(); Level::ApplyBlueMapEffect(pLVar27); } - else if (iVar9 == 1) { + else if (uVar59 == 1) { pLVar27 = (Level *)Config::GetCollectibles(); Level::ApplyCompassEffect(pLVar27); } - else if (iVar9 == 2) { + else if (uVar59 == 2) { pLVar27 = (Level *)Config::GetCollectibles(); Level::ApplyMapEffect(pLVar27); } @@ -255715,25 +255957,25 @@ LAB_005b8efd: TemporaryEffects::AddEffect(pTVar30,auStack_cb4,1,1); uStack_14 = -1; std::vector::_Tidy(); - pEVar55 = local_5e0; + this_01 = local_5e0; } goto LAB_005b46d8; case 5: if (local_5e0->_variant == 0) { iVar9 = Isaac::Random(5); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5e4 = (Entity_Player *)(iVar9 + 4); if (local_5e4 == (Entity_Player *)0x0) goto LAB_005b5414; - local_5ec = pEVar10; + local_5ec = pos; do { - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 == 0) || ((char)local_610 == '\0')) { - ThrowBlueSpider(pEVar55); + ThrowBlueSpider(this_01); SoundEffects::PlayWithFartOverride(); } else { AddWisp(); - local_5ec = pEVar10; + local_5ec = pos; } local_5e4 = (Entity_Player *)((int)&local_5e4[-1]._replacedPlayer + 3); } while (local_5e4 != (Entity_Player *)0x0); @@ -255772,12 +256014,12 @@ LAB_005b7eff: Entity_Effect::SetTimeout(pEVar50); (**(code **)(*(int *)pEVar50 + 0xc))(); Random(); - pEVar31 = (Entity *)Game::Spawn(); + pEVar50 = (Entity_Effect *)Game::Spawn(); random_float(); - Entity_Effect::set_rotation(); + Entity_Effect::set_rotation(pEVar50); Vector::operator_mul(); - Entity::SetSpriteScale(pEVar31); - (**(code **)(*(int *)pEVar31 + 0xc))(); + Entity::SetSpriteScale((Entity *)pEVar50); + (**(code **)(*(int *)pEVar50 + 0xc))(); local_5d9 = '\0'; pEVar10 = local_5e0; } @@ -255826,7 +256068,7 @@ LAB_005b9b2b: } FUN_005b19d0(); local_5d9 = (byte)local_5e8; - pEVar55 = local_5e0; + this_01 = local_5e0; break; } } @@ -255847,40 +256089,40 @@ LAB_005b9b2b: do { puVar35 = (undefined4 *)std::vector::operator_index(); pEVar10 = (Entity_Player *)*puVar35; - pEVar26 = (Entity_Player *)__RTDynamicCast(); - local_5f0 = pEVar26; - if ((pEVar26 == (Entity_Player *)0x0) || (cVar6 = Entity::HasEntityFlags(), cVar6 == '\0') + pEVar67 = (Entity_Player *)__RTDynamicCast(); + local_5f0 = pEVar67; + if ((pEVar67 == (Entity_Player *)0x0) || (cVar7 = Entity::HasEntityFlags(), cVar7 == '\0') ) { - cVar6 = Entity::is_player((Entity *)pEVar10); - if ((cVar6 != '\0') && (pEVar10 != local_5e0)) { + cVar7 = Entity::is_player((Entity *)pEVar10); + if ((cVar7 != '\0') && (pEVar10 != local_5e0)) { Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + if (cVar7 != '\0') { pcVar3 = *(code **)(*(int *)pEVar10 + 0x20); EntityRef::EntityRef(); (*pcVar3)(); goto LAB_005b986f; } } - if ((pEVar26 == (Entity_Player *)0x0) || - (((((((iVar9 = Entity::Type((Entity *)pEVar26), iVar9 != 0xd9 && - (iVar9 = Entity::Type((Entity *)pEVar26), iVar9 != 0xdc)) && - (iVar9 = Entity::Type((Entity *)pEVar26), iVar9 != 0xdf)) && - ((iVar9 = Entity::Type((Entity *)pEVar26), iVar9 != 0x105 && - (iVar9 = Entity::Type((Entity *)pEVar26), iVar9 != 0x192)))) && - ((iVar9 = Entity::Type((Entity *)pEVar26), iVar9 != 0x366 && - ((iVar9 = Entity::Type((Entity *)pEVar26), iVar9 != 0x367 && - (iVar9 = Entity::Type((Entity *)pEVar26), iVar9 != 0x392)))))) && - (iVar9 = Entity::Type((Entity *)pEVar26), iVar9 != 0x368)) && - ((iVar9 = Entity::Type((Entity *)pEVar26), iVar9 != 0xed || - (iVar9 = Entity::Variant((Entity *)pEVar26), iVar9 != 2)))))) { + if ((pEVar67 == (Entity_Player *)0x0) || + (((((((iVar9 = Entity::Type((Entity *)pEVar67), iVar9 != 0xd9 && + (iVar9 = Entity::Type((Entity *)pEVar67), iVar9 != 0xdc)) && + (iVar9 = Entity::Type((Entity *)pEVar67), iVar9 != 0xdf)) && + ((iVar9 = Entity::Type((Entity *)pEVar67), iVar9 != 0x105 && + (iVar9 = Entity::Type((Entity *)pEVar67), iVar9 != 0x192)))) && + ((iVar9 = Entity::Type((Entity *)pEVar67), iVar9 != 0x366 && + ((iVar9 = Entity::Type((Entity *)pEVar67), iVar9 != 0x367 && + (iVar9 = Entity::Type((Entity *)pEVar67), iVar9 != 0x392)))))) && + (iVar9 = Entity::Type((Entity *)pEVar67), iVar9 != 0x368)) && + ((iVar9 = Entity::Type((Entity *)pEVar67), iVar9 != 0xed || + (iVar9 = Entity::Variant((Entity *)pEVar67), iVar9 != 2)))))) { iVar9 = Entity::Type((Entity *)pEVar10); if (((iVar9 != 0xf5) && (((iVar9 = Entity::Type((Entity *)pEVar10), iVar9 != 0x1c && - (cVar6 = Entity::IsVulnerableEnemy((Entity *)pEVar10), cVar6 != '\0')) && + (cVar7 = Entity::IsVulnerableEnemy((Entity *)pEVar10), cVar7 != '\0')) && (iVar9 = Entity::Type((Entity *)pEVar10), iVar9 != 0xd5)))) && - ((pEVar26 != (Entity_Player *)0x0 && - (cVar6 = Entity_NPC::CanReroll((Entity_NPC *)pEVar26), cVar6 != '\0')))) { + ((pEVar67 != (Entity_Player *)0x0 && + (cVar7 = Entity_NPC::CanReroll((Entity_NPC *)pEVar67), cVar7 != '\0')))) { (**(code **)(*(int *)pEVar10 + 0x28))(); Random(); Entity::Position((Entity *)pEVar10); @@ -255891,46 +256133,46 @@ LAB_005b9b2b: if ((bVar5 != 0) && ((char)local_610 != '\0')) { AddWisp(); } - cVar6 = FUN_004e47b0(); - if (cVar6 != '\0') { - pEVar25 = (Entity_NPC *)FUN_004b7090(); - Entity_NPC::MinecartUpdateChild(pEVar25,(Entity *)local_5e4); + cVar7 = FUN_004e47b0(); + if (cVar7 != '\0') { + pEVar26 = (Entity_NPC *)FUN_004b7090(); + Entity_NPC::MinecartUpdateChild(pEVar26,(Entity *)local_5e4); } } } else { - Entity_NPC::KillUnique((Entity_NPC *)pEVar26); - cVar6 = (**(code **)(*(int *)pEVar26 + 0x4c))(); - if (cVar6 != '\0') { + Entity_NPC::KillUnique((Entity_NPC *)pEVar67); + cVar7 = (**(code **)(*(int *)pEVar67 + 0x4c))(); + if (cVar7 != '\0') { fVar64 = (float10)Entity::MaxHitPoints(); local_5e4 = (Entity_Player *)(float)fVar64; - fVar64 = (float10)Entity::HitPoints((Entity *)pEVar26); - pvVar58 = (void *)(float)fVar64; - local_5ec = pvVar58; + fVar64 = (float10)Entity::HitPoints((Entity *)pEVar67); + pvVar57 = (void *)(float)fVar64; + local_5ec = pvVar57; assert_lerp_range(); - pEVar10 = (Entity_Player *)(int)(float)pvVar58; + pEVar10 = (Entity_Player *)(int)(float)pvVar57; local_5e4 = (Entity_Player *)0x0; local_5ec = pEVar10; - iVar9 = Entity::Type((Entity *)pEVar26); - if (((iVar9 == 0x105) && (iVar9 = Entity::Variant((Entity *)pEVar26), iVar9 == 1)) - || (iVar9 = Entity::Type((Entity *)pEVar26), iVar9 == 0x192)) { + iVar9 = Entity::Type((Entity *)pEVar67); + if (((iVar9 == 0x105) && (iVar9 = Entity::Variant((Entity *)pEVar67), iVar9 == 1)) + || (iVar9 = Entity::Type((Entity *)pEVar67), iVar9 == 0x192)) { local_5e4 = (Entity_Player *)0x2; } if (0 < (int)pEVar10) { do { local_600 = (Entity_Player *)Random(); - Entity::Position((Entity *)pEVar26); + Entity::Position((Entity *)pEVar67); MusicManager::RandomVector(); random_float(); - pvStack_968 = pvVar58; + pvStack_968 = pvVar57; Vector::__mul(); FUN_00417340(); - pvStack_96c = pvVar58; + pvStack_96c = pvVar57; Vector::__mul(); Vector::__add(); Game::Spawn(); local_5ec = (Entity_Player *)((int)&local_5ec[-1]._replacedPlayer + 3); - pEVar26 = local_5f0; + pEVar67 = local_5f0; } while (local_5ec != (Entity_Player *)0x0); local_5ec = (Entity_Player *)0x0; } @@ -255938,10 +256180,10 @@ LAB_005b9b2b: } } LAB_005b986f: - puVar24 = &local_5f8->field_0x1; - local_5f8 = (Entity_Player *)puVar24; - puVar66 = (undefined1 *)EntityList::Size(); - } while (puVar24 < puVar66); + puVar60 = &local_5f8->field_0x1; + local_5f8 = (Entity_Player *)puVar60; + puVar25 = (undefined1 *)EntityList::Size(); + } while (puVar60 < puVar25); } uStack_14 = -1; EntityList_Query::~EntityList_Query(); @@ -255959,14 +256201,14 @@ LAB_005b986f: pLVar27 = (Level *)Config::GetCollectibles(); Level::SetStateFlag(pLVar27); local_5d9 = (byte)local_5e8; - pEVar55 = local_5e0; + this_01 = local_5e0; break; case 10: Vector::Vector(); Vector::Vector(); Vector::Vector(); Vector::Vector(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5ec = (void *)0x0; do { Vector::Vector(); @@ -255986,19 +256228,19 @@ LAB_005b986f: } while ((int)local_5ec < 4); local_5d9 = 0; if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); goto switchD_005bfbd8_caseD_11d; } goto LAB_005b54cf; case 0xb: Game::ButterBeanFart(); local_5d9 = (byte)local_5e8; - pEVar55 = local_5e0; + this_01 = local_5e0; break; case 0xc: if ((local_5e0->_variant == 0) && (0 < local_5e0->_numCoins)) { SoundEffects::PlayWithFartOverride(); - pEVar55 = local_5e0; + this_01 = local_5e0; AddCoins(local_5e0,-1); Game::ShakeScreen(g_game,0xf); Level::GetCurrentRoom((Level *)g_game); @@ -256010,16 +256252,16 @@ LAB_005b986f: puVar35 = (undefined4 *)std::vector::operator_index(); pEVar10 = (Entity_Player *)*puVar35; local_5f8 = pEVar10; - cVar6 = Entity::IsVulnerableEnemy((Entity *)pEVar10); - if (cVar6 != '\0') { + cVar7 = Entity::IsVulnerableEnemy((Entity *)pEVar10); + if (cVar7 != '\0') { if (pEVar10 == local_5e0) { - pEVar55 = local_5e0; + this_01 = local_5e0; } else { Game::GetField26614(); - cVar6 = FUN_00429550(); - pEVar55 = local_5e0; - if (cVar6 == '\0') { + cVar7 = FUN_00429550(); + this_01 = local_5e0; + if (cVar7 == '\0') { local_5e4 = (Entity_Player *)0x41200000; } else { @@ -256030,12 +256272,12 @@ LAB_005b986f: (*pcVar3)(); } } - puVar24 = &local_5ec->field_0x1; - local_5ec = (Entity_Player *)puVar24; - puVar66 = (undefined1 *)EntityList::Size(); - } while (puVar24 < puVar66); + puVar60 = &local_5ec->field_0x1; + local_5ec = (Entity_Player *)puVar60; + puVar25 = (undefined1 *)EntityList::Size(); + } while (puVar60 < puVar25); } - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { AddWisp(); } @@ -256050,19 +256292,19 @@ LAB_005b986f: local_5d9 = bVar5; break; } - iVar73 = iVar9; + iVar78 = iVar9; if (iVar9 + -2 < iVar9) { do { - cVar6 = IsBlackHeart(pEVar55); - if (cVar6 != '\0') { + cVar7 = IsBlackHeart(this_01); + if (cVar7 != '\0') { RemoveBlackHeart(); - UseActiveItem(pEVar55,&sStack_8a4,0x23,1,-1,0); + UseActiveItem(this_01,&sStack_8a4,0x23,1,-1,0); } - iVar9 = pEVar55->_soulHearts; - iVar73 = iVar73 + -1; - } while (iVar9 + -2 < iVar73); + iVar9 = this_01->_soulHearts; + iVar78 = iVar78 + -1; + } while (iVar9 + -2 < iVar78); } - pEVar55->_soulHearts = iVar9 + -2; + this_01->_soulHearts = iVar9 + -2; if ((local_5e0->_playerType == 0x11) && ((Entity_Player *)local_5e0->_subPlayer != (Entity_Player *)0x0)) { AddBoneHearts((Entity_Player *)local_5e0->_subPlayer,1); @@ -256089,25 +256331,25 @@ LAB_005b986f: if (local_5e0->_variant != 0) goto LAB_005bbae2; IsLocalPlayer(local_5e0); SoundEffects::PlayWithFartOverride(); - uVar7 = local_5fc._1_1_; + uVar6 = local_5fc._1_1_; if (local_5f8 != (Entity_Player *)0x0) { - uVar7 = 1; + uVar6 = 1; } - local_5fc = CONCAT11(uVar7,(char)local_5fc); + local_5fc = CONCAT11(uVar6,(char)local_5fc); Config::GetCollectibles(); pEVar10 = (Entity_Player *)EntityPtr::Ref(); local_600 = pEVar10; - bVar5 = HasTrinket(pEVar55,0xaf,0); + bVar5 = HasTrinket(this_01,0xaf,0); if (bVar5 != 0) { local_5f0 = (Entity_Player *)&DAT_00000006; - iVar9 = GetTrinketMultiplier(pEVar55,0xaf); + iVar9 = GetTrinketMultiplier(this_01,0xaf); if (iVar9 == 2) { local_5f0 = (Entity_Player *)&DAT_00000008; } else if (iVar9 == 3) { local_5f0 = (Entity_Player *)0xa; } - TryRemoveTrinket(pEVar55,0xaf); + TryRemoveTrinket(this_01,0xaf); bVar5 = Game::IsGreedMode(g_game); pvStack_b0 = (void *)0x1a; if (bVar5 == 0) { @@ -256130,38 +256372,38 @@ LAB_005b986f: pvStack_b4 = (void *)0x15; } uStack_608._4_4_ = (Entity_Player *)((int)local_5ec + -1); - pvVar58 = (void *)0x0; - local_5e4 = (Entity_Player *)&pEVar55->_collectibleRNGs; + pvVar57 = (void *)0x0; + local_5e4 = (Entity_Player *)&this_01->_collectibleRNGs; puStack_bc = &DAT_00000006; puStack_b8 = &DAT_00000008; do { pRVar8 = (RNG *)FUN_005cbd00(); - uVar59 = RNG::RandomInt(pRVar8,(int)local_5ec - (int)pvVar58); + uVar59 = RNG::RandomInt(pRVar8,(int)local_5ec - (int)pvVar57); if (uVar59 != 0) { FUN_005cbf90(); } - pvVar58 = (void *)((int)pvVar58 + 1); - } while (pvVar58 < uStack_608._4_4_); + pvVar57 = (void *)((int)pvVar57 + 1); + } while (pvVar57 < uStack_608._4_4_); local_5ec = (void *)0x0; uStack_608 = (double)CONCAT44(&local_5e0->_pos,(void *)uStack_608); do { pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - ItemPool::GetCollectible(pIVar53); + ItemPool::GetCollectible(pIVar54); Level::GetCurrentRoom((Level *)g_game); Room::FindFreePickupSpawnPosition(); - pEVar55 = local_5e0; + this_01 = local_5e0; Game::Spawn(); local_5ec = (Entity_Player *)((int)local_5ec + 1); } while ((int)local_5ec < (int)local_5f0); goto switchD_005bb135_caseD_b; } Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + if (cVar7 != '\0') { Game::GetField26614(); EntityList::Size(); FUN_0042b550(); @@ -256189,16 +256431,16 @@ LAB_005b986f: Game::GetPlayerManager(g_game); uVar11 = PlayerManager::count_main_players(); } while (uVar59 < uVar11); - pEVar55 = local_5e0; + this_01 = local_5e0; } uStack_14 = -1; FUN_0042c780(); goto switchD_005bb135_caseD_b; } - puVar66 = (undefined1 *)((int)&pEVar10[-1]._replacedPlayer + 3); + puVar25 = (undefined1 *)((int)&pEVar10[-1]._replacedPlayer + 3); bVar5 = Game::IsGreedMode(g_game); if (bVar5 != 0) { - switch(puVar66) { + switch(puVar25) { case (undefined1 *)0x0: local_5e4 = (void *)0x2; do { @@ -256221,16 +256463,16 @@ LAB_005b986f: local_5e4 = (Entity_Player *)0x0; break; case (undefined1 *)0x1: - uStack_608 = (double)CONCAT44(&pEVar55->_collectibleRNGs,(void *)uStack_608); + uStack_608 = (double)CONCAT44(&this_01->_collectibleRNGs,(void *)uStack_608); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - ItemPool::GetCollectible(pIVar53); + ItemPool::GetCollectible(pIVar54); Level::GetCurrentRoom((Level *)g_game); Room::FindFreePickupSpawnPosition(); - pEVar55 = local_5e0; + this_01 = local_5e0; Game::Spawn(); local_5e4 = (void *)0x2; do { @@ -256257,18 +256499,18 @@ LAB_005b986f: break; case (undefined1 *)0x3: local_5e4 = (void *)0x2; - pEStack_614 = (Entity_Player *)&pEVar55->_pos; - uStack_608 = (double)CONCAT44(&pEVar55->_collectibleRNGs,(void *)uStack_608); + pEStack_614 = (Entity_Player *)&this_01->_pos; + uStack_608 = (double)CONCAT44(&this_01->_collectibleRNGs,(void *)uStack_608); do { pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - ItemPool::GetCollectible(pIVar53); + ItemPool::GetCollectible(pIVar54); Level::GetCurrentRoom((Level *)g_game); Room::FindFreePickupSpawnPosition(); - pEVar55 = local_5e0; + this_01 = local_5e0; Game::Spawn(); local_5e4 = (Entity_Player *)((int)local_5e4 + -1); } while (local_5e4 != (void *)0x0); @@ -256277,13 +256519,13 @@ LAB_005b986f: case (undefined1 *)0x4: pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - ItemPool::GetCollectible(pIVar53); + ItemPool::GetCollectible(pIVar54); Level::GetCurrentRoom((Level *)g_game); Room::FindFreePickupSpawnPosition(); - pEVar55 = local_5e0; + this_01 = local_5e0; Game::Spawn(); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); @@ -256304,7 +256546,7 @@ LAB_005bb8ef: } goto switchD_005bb135_caseD_b; } - switch(puVar66) { + switch(puVar25) { case (undefined1 *)0x0: local_5e4 = (void *)0x2; do { @@ -256342,25 +256584,25 @@ LAB_005bb8ef: pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = RNG::Next(pRVar8); uStack_608 = (double)CONCAT44(uVar59,(void *)uStack_608); - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - ItemPool::GetCollectible(pIVar53); + ItemPool::GetCollectible(pIVar54); Level::GetCurrentRoom((Level *)g_game); - pEVar55 = local_5e0; + this_01 = local_5e0; Room::FindFreePickupSpawnPosition(); goto LAB_005bb9aa; case (undefined1 *)0x3: - uStack_608 = (double)CONCAT44(&pEVar55->_collectibleRNGs,(void *)uStack_608); + uStack_608 = (double)CONCAT44(&this_01->_collectibleRNGs,(void *)uStack_608); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - ItemPool::GetCollectible(pIVar53); + ItemPool::GetCollectible(pIVar54); Level::GetCurrentRoom((Level *)g_game); Room::FindFreePickupSpawnPosition(); - pEVar55 = local_5e0; + this_01 = local_5e0; Game::Spawn(); local_5e4 = (void *)0x2; do { @@ -256399,18 +256641,18 @@ LAB_005bb8ef: break; case (undefined1 *)0x6: local_5e4 = (void *)0x2; - pEStack_614 = (Entity_Player *)&pEVar55->_pos; - uStack_608 = (double)CONCAT44(&pEVar55->_collectibleRNGs,(void *)uStack_608); + pEStack_614 = (Entity_Player *)&this_01->_pos; + uStack_608 = (double)CONCAT44(&this_01->_collectibleRNGs,(void *)uStack_608); do { pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - ItemPool::GetCollectible(pIVar53); + ItemPool::GetCollectible(pIVar54); Level::GetCurrentRoom((Level *)g_game); Room::FindFreePickupSpawnPosition(); - pEVar55 = local_5e0; + this_01 = local_5e0; Game::Spawn(); local_5e4 = (Entity_Player *)((int)local_5e4 + -1); } while (local_5e4 != (void *)0x0); @@ -256427,19 +256669,19 @@ switchD_005bac48_default: /* WARNING: Subroutine does not return */ KAGE_LogMessage(); case (undefined1 *)0x9: - local_5e4 = (Entity_Player *)&pEVar55->_collectibleRNGs; + local_5e4 = (Entity_Player *)&this_01->_collectibleRNGs; Config::GetCollectibles(); - cVar6 = Level::IsAltStage(); - if (cVar6 == '\0') { + cVar7 = Level::IsAltStage(); + if (cVar7 == '\0') { pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - ItemPool::GetCollectible(pIVar53); + ItemPool::GetCollectible(pIVar54); Level::GetCurrentRoom((Level *)g_game); Room::FindFreePickupSpawnPosition(); - pEVar55 = local_5e0; + this_01 = local_5e0; Game::Spawn(); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); @@ -256448,13 +256690,13 @@ switchD_005bac48_default: } pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - ItemPool::GetCollectible(pIVar53); + ItemPool::GetCollectible(pIVar54); Level::GetCurrentRoom((Level *)g_game); Room::FindFreePickupSpawnPosition(); - pEVar55 = local_5e0; + this_01 = local_5e0; Game::Spawn(); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); @@ -256463,8 +256705,8 @@ switchD_005bac48_default: goto LAB_005bb9aa; case (undefined1 *)0xa: Config::GetCollectibles(); - cVar6 = Level::IsAltStage(); - if (cVar6 != '\0') { + cVar7 = Level::IsAltStage(); + if (cVar7 != '\0') { pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); Level::GetCurrentRoom((Level *)g_game); @@ -256491,25 +256733,25 @@ LAB_005bb9aa: } switchD_005bb135_caseD_b: pEVar10 = local_600; - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if (((bVar5 != 0) && ((char)local_610 != '\0')) && - (puVar66 = (undefined1 *)((int)&pEVar10[-1]._replacedPlayer + 3), 0 < (int)puVar66)) { + (puVar25 = (undefined1 *)((int)&pEVar10[-1]._replacedPlayer + 3), 0 < (int)puVar25)) { do { AddWisp(); - puVar66 = puVar66 + -1; - } while (puVar66 != (undefined1 *)0x0); + puVar25 = puVar25 + -1; + } while (puVar25 != (undefined1 *)0x0); } - bVar5 = HasCollectible(pEVar55,0x3b,0); + bVar5 = HasCollectible(this_01,0x3b,0); if (bVar5 != 0) { Game::GetItemPool(g_game); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - uVar54 = ItemPool::get_available_collectibles(); - uStack_608 = (double)CONCAT44(uVar54,(void *)uStack_608); + uVar51 = ItemPool::get_available_collectibles(); + uStack_608 = (double)CONCAT44(uVar51,(void *)uStack_608); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); Level::GetCurrentRoom((Level *)g_game); - pEVar55 = local_5e0; + this_01 = local_5e0; Room::FindFreePickupSpawnPosition(); Game::Spawn(); piVar33 = (int *)__RTDynamicCast(); @@ -256519,7 +256761,7 @@ LAB_005bbadc: goto LAB_005bbae2; case 0xf: local_5d9 = HasCollectible(local_5e0,0x3b,0); - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 == 0) || ((char)local_610 == '\0')) { LAB_005ba336: local_5ec = (Entity_Player *)0x40a00000; @@ -256540,9 +256782,9 @@ LAB_005ba336: else { local_5e4 = (void *)0x3fb33333; } - fVar65 = ((float)((double)(int)local_5f0 + __uint_to_double_fixup[-((int)local_5f0 >> 0x1f)] + fVar66 = ((float)((double)(int)local_5f0 + __uint_to_double_fixup[-((int)local_5f0 >> 0x1f)] ) / (float)pEStack_614) * 3.1415927; - pEVar10 = (Entity_Player *)(fVar65 + fVar65); + pEVar10 = (Entity_Player *)(fVar66 + fVar66); local_600 = pEVar10; sinf_wrapper(); local_610 = pEVar10; @@ -256554,8 +256796,8 @@ LAB_005ba336: if (local_5d9 != 0) { Entity::Variant((Entity *)pEVar32); iVar9 = FUN_0067d9b0(); - iVar73 = Entity::Variant((Entity *)pEVar32); - if (iVar9 != iVar73) { + iVar78 = Entity::Variant((Entity *)pEVar32); + if (iVar9 != iVar78) { Entity_Tear::ChangeVariant(); } Entity_Tear::TearFlags(pEVar32); @@ -256571,12 +256813,12 @@ LAB_005ba336: (*pcVar3)(); local_5f0 = (Entity_Player *)((int)local_5f0 + 1); } while (local_5f0 < local_5f8); - pEVar55 = local_5e0; + this_01 = local_5e0; } else { Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0x12; uVar59 = 0; iVar9 = EntityList::Size(); @@ -256584,7 +256826,7 @@ LAB_005ba336: do { puVar35 = (undefined4 *)std::vector::operator_index(); pEVar10 = (Entity_Player *)Entity_Familiar::Player((Entity_Familiar *)*puVar35); - if (pEVar10 == pEVar55) { + if (pEVar10 == this_01) { puVar35 = (undefined4 *)std::vector::operator_index(); (**(code **)(*(int *)*puVar35 + 0x28))(); } @@ -256614,30 +256856,30 @@ LAB_005ba336: iVar9 = 0; do { pRVar28 = (Room *)Config::GetCollectibles(); - iVar73 = Room::GetTopLeftPos(pRVar28); - puVar35 = (undefined4 *)(iVar9 + iVar73); - if (*(int *)(iVar9 + 0x10 + iVar73) != 0) { + iVar78 = Room::GetTopLeftPos(pRVar28); + puVar35 = (undefined4 *)(iVar9 + iVar78); + if (*(int *)(iVar9 + 0x10 + iVar78) != 0) { Config::GetCollectibles(); - iVar73 = FUN_004f8930(); - if ((puVar35[3] == iVar73) && - (((iVar73 = *(int *)(puVar35[4] + 8), iVar73 == 4 || (iVar73 == 7)) || (iVar73 == 8)) + iVar78 = FUN_004f8930(); + if ((puVar35[3] == iVar78) && + (((iVar78 = *(int *)(puVar35[4] + 8), iVar78 == 4 || (iVar78 == 7)) || (iVar78 == 8)) )) { pvStack_670 = (void *)*puVar35; std::set::find(); std::iterator_copy(); - cVar6 = FUN_00557bb0(); - if (cVar6 != '\0') { + cVar7 = FUN_00557bb0(); + if (cVar7 != '\0') { std::set::insert(); std::vector::push_back(); } } } iVar9 = iVar9 + 0xb8; - puVar66 = &local_5e4->field_0x1; - local_5e4 = (Entity_Player *)puVar66; + puVar25 = &local_5e4->field_0x1; + local_5e4 = (Entity_Player *)puVar25; pLVar27 = (Level *)Config::GetCollectibles(); - iVar73 = Level::GetRoomCount(pLVar27); - } while ((int)puVar66 < iVar73); + iVar78 = Level::GetRoomCount(pLVar27); + } while ((int)puVar25 < iVar78); pEVar10 = local_5ec; } pLVar27 = (Level *)Config::GetCollectibles(); @@ -256673,7 +256915,7 @@ LAB_005ba336: FID_conflict__Tidy(auStack_708); uStack_14 = -1; FUN_00424420(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } @@ -256688,17 +256930,17 @@ LAB_005ba336: Game::Spawn(); iVar9 = Isaac::Random(3); local_5ec = (Entity_Player *)(iVar9 + 2); - iVar73 = Isaac::Random(6); + iVar78 = Isaac::Random(6); local_5e4 = (Entity_Player *)0x0; local_5f0 = (Entity_Player *) - ((((Entity_Player *)(iVar9 + 2))->_sprite)._filename._buf + iVar73 + -0x42); + ((((Entity_Player *)(iVar9 + 2))->_sprite)._filename._buf + iVar78 + -0x42); if (0 < (int)local_5f0) { do { random_float(); - pEVar26 = (Entity_Player *)((float)pEVar26 * 20.0 - 10.0); + pEVar65 = (Entity_Player *)((float)pEVar65 * 20.0 - 10.0); Vector::Rotated(); random_float(); - pEStack_964 = pEVar26; + pEStack_964 = pEVar65; Vector::__mul(); Vector::__add(); Random(); @@ -256707,7 +256949,7 @@ LAB_005ba336: (**(code **)(*piVar33 + 0xc))(); local_5e4 = (Entity_Player *)&pEVar10->field_0x1; } while ((int)local_5e4 < (int)local_5f0); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } @@ -256721,9 +256963,9 @@ LAB_005ba336: SetItemState(local_5e0); Isaac::GetItemConfig(); bVar5 = 0; - pIVar23 = (ItemConfig_Item *)Config::GetNullItem(); - AddCostume(local_5e0,pIVar23,bVar5); - pEVar55 = local_5e0; + pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); + AddCostume(local_5e0,pIVar24,bVar5); + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x14: @@ -256734,8 +256976,8 @@ LAB_005ba336: FUN_005cba40(); uStack_14 = 0x16; Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = CONCAT31(uStack_14._1_3_,0x17); local_5ec = (Entity_Player *)0x0; iVar9 = EntityList::Size(); @@ -256754,12 +256996,12 @@ LAB_005ba336: bVar5 = Entity_Pickup::CanJeraDuplicate((Entity_Pickup *)pEVar10); if (bVar5 != 0) { LAB_005bbc3f: - uVar54 = Entity::SubType((Entity *)pEVar10); + uVar51 = Entity::SubType((Entity *)pEVar10); iVar9 = Entity::Variant((Entity *)pEVar10); if (iVar9 == 0x15e) { - uVar54 = 0; + uVar51 = 0; } - uStack_608 = (double)CONCAT44(uVar54,(void *)uStack_608); + uStack_608 = (double)CONCAT44(uVar51,(void *)uStack_608); Entity::InitSeed((Entity *)pEVar10); Level::GetCurrentRoom((Level *)g_game); Entity::Position((Entity *)local_5e4); @@ -256779,8 +257021,8 @@ LAB_005bbc3f: uStack_984 = Entity_Pickup::OptionsPickupIndex((Entity_Pickup *)pEVar10); std::set::find(); std::iterator_copy(); - cVar6 = FUN_00557bb0(); - if (cVar6 == '\0') { + cVar7 = FUN_00557bb0(); + if (cVar7 == '\0') { FUN_005cba30(); FUN_005b1970(); } @@ -256793,20 +257035,20 @@ LAB_005bbc3f: } } } - puVar24 = &local_5ec->field_0x1; - local_5ec = (Entity_Player *)puVar24; - puVar66 = (undefined1 *)EntityList::Size(); - } while (puVar24 < puVar66); - pEVar55 = local_5e0; + puVar60 = &local_5ec->field_0x1; + local_5ec = (Entity_Player *)puVar60; + puVar25 = (undefined1 *)EntityList::Size(); + } while (puVar60 < puVar25); + this_01 = local_5e0; } if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); } - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = CONCAT31(uStack_14._1_3_,0x18); uVar59 = 0; iVar9 = EntityList::Size(); @@ -256824,7 +257066,7 @@ LAB_005bbc3f: EntityList_Query::~EntityList_Query(); uStack_14 = -1; FUN_00436fb0(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } @@ -256835,8 +257077,8 @@ LAB_005bbc3f: if (pEStack_614 != (Entity_Player *)0x0) { SoundEffects::PlayWithFartOverride(); Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0x19; uVar59 = 0; iVar9 = EntityList::Size(); @@ -256845,26 +257087,26 @@ LAB_005bbc3f: puVar35 = (undefined4 *)std::vector::operator_index(); uStack_608 = (double)CONCAT44((Entity_Familiar *)*puVar35,(void *)uStack_608); pEVar10 = (Entity_Player *)Entity_Familiar::Player((Entity_Familiar *)*puVar35); - if (pEVar10 == pEVar55) { - Entity_Familiar::farting_baby_fart(); + if (pEVar10 == this_01) { + Entity_Familiar::farting_baby_fart((Entity_Familiar *)uStack_608._4_4_); } uVar59 = uVar59 + 1; uVar11 = EntityList::Size(); } while (uVar59 < uVar11); } - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); pEVar10 = pEStack_614; - local_5e4 = (Entity_Player *)ItemPool::GetPillEffect(pIVar53,(uint)pEStack_614,pEVar55); + local_5e4 = (Entity_Player *)ItemPool::GetPillEffect(pIVar54,(uint)pEStack_614,this_01); Isaac::GetItemConfig(); iVar9 = Config::GetPillEffect(); if ((((((uint)local_618 & 4) != 0) && (-1 < (int)local_61c)) && - (pEVar55->_activeDesc[(int)local_61c]._item == 0x15c)) && (iVar9 != 0)) { - pEVar55->_activeDesc[(int)local_61c]._varData = *(int *)(iVar9 + 0x48); + (this_01->_activeDesc[(int)local_61c]._item == 0x15c)) && (iVar9 != 0)) { + this_01->_activeDesc[(int)local_61c]._varData = *(int *)(iVar9 + 0x48); } UsePill(); - pEVar55->_wildCardItemType = 0; - pEVar55->_wildCardItem = (int)local_5e4; - pEVar55->_wildCardVarData = (int)pEVar10; + this_01->_wildCardItemType = 0; + this_01->_wildCardItem = (int)local_5e4; + this_01->_wildCardVarData = (int)pEVar10; LAB_005bc1ec: uStack_14 = -1; EntityList_Query::~EntityList_Query(); @@ -256900,20 +257142,20 @@ LAB_005bc1ec: goto LAB_005bc067; case 0x17: ::Color::Color(); - pEVar55 = local_5e0; + this_01 = local_5e0; Game::Fart(); Game::ButterBeanFart(); Random(); pEVar31 = (Entity *)Game::Spawn(); Entity::SetTargetPosition(pEVar31); (**(code **)(*(int *)pEVar31 + 0xc))(); - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { FUN_005ca880(); } local_5d9 = 0; if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); local_5d9 = (byte)local_5e8; break; } @@ -256925,7 +257167,7 @@ LAB_005bc1ec: Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); local_5e4 = (Entity_Player *)FUN_0041b690(); - iVar73 = 1; + iVar78 = 1; local_5d9 = 0; Isaac::GetItemConfig(); Config::GetCollectibles(); @@ -256933,7 +257175,7 @@ LAB_005bc1ec: if (iVar9 < 2) { LAB_005bc473: if (local_5e4 < (Entity_Player *)&DAT_0000003c) { - TemporaryEffects::AddCollectibleEffect(&pEVar55->_temporaryeffects,0x71,1,1); + TemporaryEffects::AddCollectibleEffect(&this_01->_temporaryeffects,0x71,1,1); } } else { @@ -256941,33 +257183,33 @@ LAB_005bc473: Isaac::GetItemConfig(); Config::GetCollectibles(); piVar33 = (int *)FUN_0042c810(); - if ((((*piVar33 != 0) && (cVar6 = Item::HasTags(), cVar6 == '\0')) && - (iVar9 = GetCollectibleNum(pEVar55,iVar73,0), 0 < iVar9)) && - (cVar6 = ItemConfig::IsValidCollectible(), cVar6 != '\0')) { + if ((((*piVar33 != 0) && (cVar7 = Item::HasTags(), cVar7 == '\0')) && + (iVar9 = GetCollectibleNum(this_01,iVar78,0), 0 < iVar9)) && + (cVar7 = ItemConfig::IsValidCollectible(), cVar7 != '\0')) { pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetCollectible(pIVar12,iVar73); - if ((pIVar23 != (ItemConfig_Item *)0x0) && (pIVar23->type == 4)) { + pIVar24 = ItemConfig::GetCollectible(pIVar12,iVar78); + if ((pIVar24 != (ItemConfig_Item *)0x0) && (pIVar24->type == 4)) { local_5e4 = (Entity_Player *)&local_5e4->field_0x1; if (&DAT_0000003c < local_5e4) break; - TemporaryEffects::AddCollectibleEffect(&pEVar55->_temporaryeffects,iVar73,1,1); + TemporaryEffects::AddCollectibleEffect(&this_01->_temporaryeffects,iVar78,1,1); local_5d9 = 1; } } - iVar73 = iVar73 + 1; + iVar78 = iVar78 + 1; Isaac::GetItemConfig(); Config::GetCollectibles(); iVar9 = std::vector::size(); - } while (iVar73 < iVar9); + } while (iVar78 < iVar9); if (local_5d9 == 0) goto LAB_005bc473; } if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); } - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0x1a; uVar59 = 0; iVar9 = EntityList::Size(); @@ -257000,8 +257242,8 @@ LAB_005bc473: case 0x1b: local_5d9 = HasCollectible(local_5e0,0x3b,0); Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0x1b; pEVar10 = (Entity_Player *)0x0; local_5ec = (Entity_Player *)0x0; @@ -257009,17 +257251,17 @@ LAB_005bc473: if (iVar9 != 0) { do { puVar35 = (undefined4 *)std::vector::operator_index(); - cVar6 = Entity::IsDead((Entity *)*puVar35); - if (cVar6 == '\0') { + cVar7 = Entity::IsDead((Entity *)*puVar35); + if (cVar7 == '\0') { SoundEffects::PlayWithFartOverride(); puVar35 = (undefined4 *)std::vector::operator_index(); (**(code **)(*(int *)*puVar35 + 0x28))(); random_float(); local_5f0 = (Entity_Player *)0x0; - pEStack_614 = (Entity_Player *)((float)pEVar26 * 360.0 - 180.0); + pEStack_614 = (Entity_Player *)((float)pEVar65 * 360.0 - 180.0); do { Vector::FromAngle(); - fStack_990 = pEVar55->_shotspeed * 10.0; + fStack_990 = this_01->_shotspeed * 10.0; Vector::__mul(); if (local_5d9 == 0) { local_5e4 = (Entity_Player *)0x3f800000; @@ -257029,7 +257271,7 @@ LAB_005bc473: } puVar35 = (undefined4 *)std::vector::operator_index(); Entity::Position((Entity *)*puVar35); - pEVar55 = local_5e0; + this_01 = local_5e0; pEVar32 = (Entity_Tear *)FireTear(local_5e0); puVar35 = (undefined4 *)std::vector::operator_index(); Entity::Position((Entity *)*puVar35); @@ -257037,8 +257279,8 @@ LAB_005bc473: if (local_5d9 != 0) { Entity::Variant((Entity *)pEVar32); iVar9 = FUN_0067d9b0(); - iVar73 = Entity::Variant((Entity *)pEVar32); - if (iVar9 != iVar73) { + iVar78 = Entity::Variant((Entity *)pEVar32); + if (iVar9 != iVar78) { Entity_Tear::ChangeVariant(); } Entity_Tear::TearFlags(pEVar32); @@ -257051,24 +257293,24 @@ LAB_005bc473: (*pcVar3)(); fVar64 = (float10)Entity_Tear::Scale(pEVar32); Entity_Tear::SetScale(pEVar32,(float)(fVar64 + (float10)0.5)); - pEVar55 = local_5e0; + this_01 = local_5e0; } - pEVar26 = (Entity_Player *)((float)local_5f0 + 60.0); - local_5f0 = pEVar26; - } while ((float)pEVar26 < 360.0); + pEVar65 = (Entity_Player *)((float)local_5f0 + 60.0); + local_5f0 = pEVar65; + } while ((float)pEVar65 < 360.0); pEVar10 = local_5ec; } pEVar10 = (Entity_Player *)&pEVar10->field_0x1; local_5ec = pEVar10; - puVar66 = (undefined1 *)EntityList::Size(); - } while (pEVar10 < puVar66); + puVar25 = (undefined1 *)EntityList::Size(); + } while (pEVar10 < puVar25); } if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); } uStack_14 = -1; EntityList_Query::~EntityList_Query(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x1c: @@ -257079,15 +257321,15 @@ LAB_005bc473: _atexit(FUN_00b15580); _Init_thread_footer(); } - if ((*(int *)(*(int *)pvVar58 + 0xc) < DAT_00c7f968) && + if ((*(int *)(*(int *)pvVar57 + 0xc) < DAT_00c7f968) && (_Init_thread_header(), DAT_00c7f968 == -1)) { FUN_00424510(); _atexit(FUN_00b15570); _Init_thread_footer(); } memset(&DAT_00c7f980,0xff,0x1c0); - cVar6 = FUN_004178f0(); - if (cVar6 == '\0') { + cVar7 = FUN_004178f0(); + if (cVar7 == '\0') { uVar59 = 0; puVar35 = &DAT_00b62d6c; do { @@ -257106,7 +257348,7 @@ LAB_005bc473: uVar11 = 0x11; pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = RNG::Next(pRVar8); - RNG::game_constructor(aRStack_198,uVar59,uVar11); + RNG::game_constructor(&RStack_198,uVar59,uVar11); uStack_14 = 0x1c; local_5f0 = (Entity_Player *)((int)local_5f0 * iVar9); local_5e4 = (Entity_Player *)0x0; @@ -257116,8 +257358,8 @@ LAB_005bc473: pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); pGVar38 = Room::GetGridEntity(pRVar28,(uint)pEVar10); if (pGVar38 == (GridEntity *)0x0) goto switchD_005bca27_caseD_5; - uVar54 = GridEntity::GetType(); - switch(uVar54) { + uVar51 = GridEntity::GetType(); + switch(uVar51) { case 2: case 3: case 4: @@ -257140,16 +257382,23 @@ switchD_005bca27_caseD_9: bVar63 = false; LAB_005bca51: pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); + iVar78 = 1; + iVar9 = 0; + fVar66 = 8.42964e-39; Room::RemoveGridEntityImmediate(pRVar28,(int)pEVar10,0,1); pWVar61 = (WeightedOutcomePicker *)&DAT_00c7f95c; if (bVar63) { pWVar61 = (WeightedOutcomePicker *)&DAT_00c7f96c; } uVar11 = 0x23; - uVar59 = RNG::Next(aRStack_198); + uVar59 = RNG::Next(&RStack_198); RNG::game_constructor((RNG *)(auStack_1af0 + 0x104),uVar59,uVar11); - uVar7 = WeightedOutcomePicker::PickOutcome(pWVar61); - *(undefined1 *)&local_5e4[0x527]._firedTearCount = uVar7; + rng_02._shift1 = (int)pEVar10; + rng_02._seed = (int)fVar66; + rng_02._shift2 = iVar9; + rng_02._shift3 = iVar78; + uVar59 = WeightedOutcomePicker::PickOutcome(pWVar61,rng_02); + *(char *)&local_5e4[0x527]._firedTearCount = (char)uVar59; pEVar10 = local_5e4; break; case 0xc: @@ -257169,15 +257418,19 @@ switchD_005bca27_caseD_5: if (iVar9 != 0) { do { pEVar31 = (Entity *)FUN_00417610(); - cVar6 = Entity::IsType(pEVar31); - if (cVar6 == '\0') { + cVar7 = Entity::IsType(pEVar31); + if (cVar7 == '\0') { pEVar31 = (Entity *)FUN_00417610(); - cVar6 = Entity::IsType(pEVar31); - if (cVar6 == '\0') { + uVar59 = 0x21; + puVar25 = (undefined1 *)0x5bcb40; + cVar7 = Entity::IsType(pEVar31); + if (cVar7 == '\0') { LAB_005bcb82: pEVar31 = (Entity *)FUN_00417610(); - cVar6 = Entity::IsType(pEVar31); - if (cVar6 != '\0') { + uVar59 = 0x124; + puVar25 = (undefined1 *)0x5bcb9a; + cVar7 = Entity::IsType(pEVar31); + if (cVar7 != '\0') { pEVar31 = (Entity *)FUN_00417610(); iVar9 = Entity::EntityCollisionClass(pEVar31); if (iVar9 != 0) goto switchD_005bcb6f_caseD_0; @@ -257188,8 +257441,8 @@ LAB_005bcb82: iVar9 = Entity::EntityCollisionClass(pEVar31); if (iVar9 == 0) goto LAB_005bcb82; pEVar31 = (Entity *)FUN_00417610(); - uVar54 = Entity::Variant(pEVar31); - switch(uVar54) { + uVar51 = Entity::Variant(pEVar31); + switch(uVar51) { case 0: case 1: switchD_005bcb6f_caseD_0: @@ -257205,29 +257458,37 @@ switchD_005bcb6f_caseD_0: pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); pEVar31 = (Entity *)FUN_00417610(); Entity::Position(pEVar31); - uVar59 = Room::GetGridIndex(pRVar28); - uStack_608 = (double)CONCAT44(uVar59,(void *)uStack_608); - if ((-1 < (int)uVar59) && ((&DAT_00c7f980)[uVar59] == -1)) { + uVar11 = Room::GetGridIndex(pRVar28); + uStack_608 = (double)CONCAT44(uVar11,(void *)uStack_608); + if ((-1 < (int)uVar11) && ((&DAT_00c7f980)[uVar11] == -1)) { pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); - pGVar38 = Room::GetGridEntity(pRVar28,uVar59); + pGVar38 = Room::GetGridEntity(pRVar28,uVar11); if (pGVar38 != (GridEntity *)0x0) { GridEntity::GetType(); - cVar6 = is_grid_type_floor_special(); - if (cVar6 != '\0') goto switchD_005bcb6f_default; + cVar7 = is_grid_type_floor_special(); + if (cVar7 != '\0') goto switchD_005bcb6f_default; pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); - Room::RemoveGridEntityImmediate(pRVar28,uVar59,0,0); + puVar25 = &LAB_005bcc53; + Room::RemoveGridEntityImmediate(pRVar28,uVar11,0,0); + uVar59 = uVar11; } + iVar9 = 0x5bcc5f; piVar33 = (int *)FUN_00417610(); + iVar78 = 0x5bcc68; (**(code **)(*piVar33 + 0x28))(); pWVar61 = (WeightedOutcomePicker *)&DAT_00c7f95c; if (local_5e4 != (Entity_Player *)0x0) { pWVar61 = (WeightedOutcomePicker *)&DAT_00c7f96c; } - uVar11 = 0x23; - uVar59 = RNG::Next(aRStack_198); - RNG::game_constructor((RNG *)(auStack_1af0 + 0x104),uVar59,uVar11); - uVar7 = WeightedOutcomePicker::PickOutcome(pWVar61); - *(undefined1 *)((int)uStack_608._4_4_ + 0xc7f980) = uVar7; + shiftidx = 0x23; + uVar11 = RNG::Next(&RStack_198); + RNG::game_constructor((RNG *)(auStack_1af0 + 0x104),uVar11,shiftidx); + rng_03._shift1 = uVar59; + rng_03._seed = (int)puVar25; + rng_03._shift2 = iVar9; + rng_03._shift3 = iVar78; + uVar59 = WeightedOutcomePicker::PickOutcome(pWVar61,rng_03); + *(char *)((int)uStack_608._4_4_ + 0xc7f980) = (char)uVar59; pEVar10 = local_5f8; } } @@ -257243,8 +257504,8 @@ switchD_005bcb6f_caseD_0: switchD_005bcb6f_default: pEVar10 = (Entity_Player *)&pEVar10->field_0x1; local_5f8 = pEVar10; - puVar66 = (undefined1 *)EntityList::Size(); - } while (pEVar10 < puVar66); + puVar25 = (undefined1 *)EntityList::Size(); + } while (pEVar10 < puVar25); } iVar9 = 0; pEVar10 = local_5f0; @@ -257256,9 +257517,9 @@ switchD_005bcb6f_default: Room::GetGridPosition(pRVar28); if ((int)puStack_64c < 0) { pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); - uVar59 = RNG::Next(aRStack_198); + uVar59 = RNG::Next(&RStack_198); Room::SpawnGridEntity(pRVar28,iVar9,1,1000,uVar59,0); - RNG::Next(aRStack_198); + RNG::Next(&RStack_198); Game::Spawn(); LAB_005bcdcc: Random(); @@ -257266,13 +257527,13 @@ LAB_005bcdcc: } else { pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); - uVar59 = RNG::Next(aRStack_198); + uVar59 = RNG::Next(&RStack_198); Room::SpawnGridEntity(pRVar28,iVar9,(uint)puStack_64c,(uint)pvStack_6bc,uVar59,0); if (puStack_64c != &DAT_0000000e) goto LAB_005bcdcc; } pEVar10 = local_5f0; } - pEVar26 = local_5f0; + pEVar67 = local_5f0; iVar9 = iVar9 + 1; } while (iVar9 < (int)pEVar10); uVar59 = 0; @@ -257285,7 +257546,7 @@ LAB_005bcdcc: } } uVar59 = uVar59 + 1; - } while ((int)uVar59 < (int)pEVar26); + } while ((int)uVar59 < (int)pEVar67); } pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); Room::InvalidatePickupVision(pRVar28); @@ -257296,7 +257557,7 @@ LAB_005bcdcc: } uStack_14 = -1; guard_check_icall(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } @@ -257305,8 +257566,8 @@ LAB_005bcdcc: if (local_5e0->_variant == 0) { SoundEffects::PlayWithFartOverride(); Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0x1d; iVar9 = EntityList::Size(); if (iVar9 != 0) { @@ -257325,9 +257586,9 @@ LAB_005bcdcc: Room::FindFreePickupSpawnPosition(); pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); Room::GetGridIndex(pRVar28); - uVar54 = Config::GetCollectibles(); - uStack_608 = (double)CONCAT44(uVar54,(void *)uStack_608); - HasCollectible(pEVar55,0x248,0); + uVar51 = Config::GetCollectibles(); + uStack_608 = (double)CONCAT44(uVar51,(void *)uStack_608); + HasCollectible(this_01,0x248,0); FUN_0074a280(); Random(); piVar33 = (int *)Game::Spawn(); @@ -257342,86 +257603,86 @@ LAB_005bcdcc: FUN_0043eea0(); (**(code **)(*piVar33 + 0xc))(); SoundEffects::PlayWithFartOverride(); - uVar59 = *(int *)&pEVar55->field_0x1ae0 + 1U & 0x80000001; + uVar59 = *(int *)&this_01->field_0x1ae0 + 1U & 0x80000001; if ((int)uVar59 < 0) { uVar59 = (uVar59 - 1 | 0xfffffffe) + 1; } - *(uint *)&pEVar55->field_0x1ae0 = uVar59; + *(uint *)&this_01->field_0x1ae0 = uVar59; if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); } uStack_14 = -1; EntityList_Query::~EntityList_Query(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } goto LAB_005b3e24; case 0x1e: pRVar8 = (RNG *)FUN_005cbd00(); - fVar65 = RNG::RandomFloat(pRVar8); - pEVar55->_d8DamageModifier = fVar65; + fVar66 = RNG::RandomFloat(pRVar8); + this_01->_d8DamageModifier = fVar66; pRVar8 = (RNG *)FUN_005cbd00(); - fVar65 = RNG::RandomFloat(pRVar8); - pEVar55->_d8SpeedModifier = fVar65; + fVar66 = RNG::RandomFloat(pRVar8); + this_01->_d8SpeedModifier = fVar66; pRVar8 = (RNG *)FUN_005cbd00(); - fVar65 = RNG::RandomFloat(pRVar8); - pEVar55->_d8RangeModifier = fVar65; + fVar66 = RNG::RandomFloat(pRVar8); + this_01->_d8RangeModifier = fVar66; pRVar8 = (RNG *)FUN_005cbd00(); - fVar65 = RNG::RandomFloat(pRVar8); - pEVar55->_d8FireDelayModifier = fVar65; + fVar66 = RNG::RandomFloat(pRVar8); + this_01->_d8FireDelayModifier = fVar66; iVar9 = 5; do { - fVar65 = 0.0; + fVar66 = 0.0; local_5e4 = (Entity_Player *) - ((2.0 - (pEVar55->_d8DamageModifier + pEVar55->_d8SpeedModifier + - pEVar55->_d8RangeModifier + pEVar55->_d8FireDelayModifier)) * 0.25); + ((2.0 - (this_01->_d8DamageModifier + this_01->_d8SpeedModifier + + this_01->_d8RangeModifier + this_01->_d8FireDelayModifier)) * 0.25); Math::clamp(); - pEVar55->_d8DamageModifier = fVar65; - fVar65 = 0.0; + this_01->_d8DamageModifier = fVar66; + fVar66 = 0.0; Math::clamp(); - pEVar55->_d8SpeedModifier = fVar65; - fVar65 = 0.0; + this_01->_d8SpeedModifier = fVar66; + fVar66 = 0.0; Math::clamp(); - pEVar55->_d8RangeModifier = fVar65; - fVar65 = 0.0; + this_01->_d8RangeModifier = fVar66; + fVar66 = 0.0; Math::clamp(); - pEVar55->_d8FireDelayModifier = fVar65; + this_01->_d8FireDelayModifier = fVar66; iVar9 = iVar9 + -1; } while (iVar9 != 0); - fVar65 = pEVar55->_d8DamageModifier; - fVar71 = 0.5; - fVar68 = fVar71; - if (0.5 <= fVar65) { - fVar68 = fVar65; + fVar66 = this_01->_d8DamageModifier; + fVar76 = 0.5; + fVar71 = fVar76; + if (0.5 <= fVar66) { + fVar71 = fVar66; } - pEVar55->_d8DamageModifier = fVar65 + fVar68; - fVar65 = pEVar55->_d8SpeedModifier; - fVar68 = fVar71; - if (0.5 <= fVar65) { - fVar68 = fVar65; + this_01->_d8DamageModifier = fVar66 + fVar71; + fVar66 = this_01->_d8SpeedModifier; + fVar71 = fVar76; + if (0.5 <= fVar66) { + fVar71 = fVar66; } - pEVar55->_d8SpeedModifier = fVar65 + fVar68; - fVar65 = pEVar55->_d8RangeModifier; - if (0.5 <= fVar65) { - fVar71 = fVar65; + this_01->_d8SpeedModifier = fVar66 + fVar71; + fVar66 = this_01->_d8RangeModifier; + if (0.5 <= fVar66) { + fVar76 = fVar66; } - pEVar55->_d8RangeModifier = fVar65 + fVar71; - fVar65 = pEVar55->_d8FireDelayModifier; - if (0.5 <= fVar65) { - fVar65 = fVar65 + fVar65; + this_01->_d8RangeModifier = fVar66 + fVar76; + fVar66 = this_01->_d8FireDelayModifier; + if (0.5 <= fVar66) { + fVar66 = fVar66 + fVar66; } else { - fVar65 = fVar65 + 0.5; + fVar66 = fVar66 + 0.5; } - pEVar55->_d8FireDelayModifier = fVar65; - pEVar55->_cacheFlags = pEVar55->_cacheFlags | 0x1b; + this_01->_d8FireDelayModifier = fVar66; + this_01->_cacheFlags = this_01->_cacheFlags | 0x1b; EvaluateItems(); - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0x1e; iVar9 = EntityList::Size(); if (iVar9 != 0) { @@ -257435,14 +257696,14 @@ LAB_005bcdcc: uVar59 = uVar59 + 1; uVar11 = EntityList::Size(); } while (uVar59 < uVar11); - pEVar55 = local_5e0; + this_01 = local_5e0; } uStack_14 = -1; EntityList_Query::~EntityList_Query(); } bVar5 = 0; if ((char)local_5e8 == '\0') goto LAB_005b3e2a; - IsLocalPlayer(pEVar55); + IsLocalPlayer(this_01); SoundEffects::PlayWithFartOverride(); goto LAB_005b8b8d; case 0x1f: @@ -257460,7 +257721,7 @@ LAB_005bcdcc: goto switchD_005bfbd8_caseD_11d; case 0x20: Game::CharmFart(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x21: @@ -257525,12 +257786,12 @@ LAB_005bd679: } else { iVar9 = pEVar10->_jarFlies; - iVar73 = iVar9 / 5; - if (0 < iVar73) { + iVar78 = iVar9 / 5; + if (0 < iVar78) { do { AddWisp(); - iVar73 = iVar73 + -1; - } while (iVar73 != 0); + iVar78 = iVar78 + -1; + } while (iVar78 != 0); iVar9 = local_5e0->_jarFlies; } if (iVar9 % 5 != 0) { @@ -257538,7 +257799,7 @@ LAB_005bd679: } } local_5e0->_jarFlies = 0; - pEVar55 = local_5e0; + this_01 = local_5e0; goto joined_r0x005b9d4a; } goto LAB_005b3e24; @@ -257546,12 +257807,12 @@ LAB_005bd679: if (local_5e0->_variant == 0) { Level::GetCurrentRoom((Level *)g_game); if ((char)local_5e8 != '\0') { - IsLocalPlayer(pEVar55); + IsLocalPlayer(this_01); SoundEffects::PlayWithFartOverride(); - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); } iVar9 = GridEntity::GetVariant(); - if (((iVar9 != 5) && (cVar6 = Room::IsBeastDungeon(), cVar6 == '\0')) && + if (((iVar9 != 5) && (cVar7 = Room::IsBeastDungeon(), cVar7 == '\0')) && (((iVar9 = GridEntity::GetVariant(), iVar9 != 0x10 || (iVar9 = GridEntity::GetType(), *(int *)(iVar9 + 0x10) == 0)) || ((iVar9 = GridEntity::GetType(), *(int *)(*(int *)(iVar9 + 0x10) + 0x10) != 2 && @@ -257576,28 +257837,28 @@ LAB_005bd679: local_5d9 = 0; if ((char)local_5e8 != '\0') { SoundEffects::PlayWithFartOverride(); - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); local_5d9 = (byte)local_5e8; break; } goto LAB_005bc073; case 0x26: Game::GetField26614(); - cVar6 = FUN_00429550(); - pEVar55 = local_5e0; + cVar7 = FUN_00429550(); + this_01 = local_5e0; iVar9 = 0x1c2; - if (cVar6 != '\0') { + if (cVar7 != '\0') { iVar9 = 0x96; } local_5e0->_megaBlastDuration = iVar9; bVar5 = HasCollectible(local_5e0,0x164,0); if (bVar5 != 0) { - pEVar55->_megaBlastDuration = (int)((double)pEVar55->_megaBlastDuration * 1.5); + this_01->_megaBlastDuration = (int)((double)this_01->_megaBlastDuration * 1.5); } Isaac::GetItemConfig(); bVar5 = 0; - pIVar23 = (ItemConfig_Item *)Config::GetNullItem(); - AddCostume(pEVar55,pIVar23,bVar5); + pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); + AddCostume(this_01,pIVar24,bVar5); goto switchD_005bfbd8_caseD_11d; case 0x27: if (local_5e0->_variant == 0) { @@ -257607,14 +257868,14 @@ LAB_005bd679: pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); iVar9 = Room::GetBossID(pRVar28); if (iVar9 == 0x46) { - pEVar55->_planCKillCountdown = 300; + this_01->_planCKillCountdown = 300; } else { - iVar73 = 0x159; + iVar78 = 0x159; if (iVar9 != 0x58) { - iVar73 = 0x5a; + iVar78 = 0x5a; } - pEVar55->_planCKillCountdown = iVar73; + this_01->_planCKillCountdown = iVar78; } SoundEffects::PlayWithFartOverride(); Level::GetCurrentRoom((Level *)g_game); @@ -257628,28 +257889,28 @@ LAB_005bd679: bVar5 = Entity::IsActiveEnemy((Entity *)*puVar35,0); if (bVar5 != 0) { puVar35 = (undefined4 *)std::vector::operator_index(); - if ((Entity_Player *)*puVar35 != pEVar55) { + if ((Entity_Player *)*puVar35 != this_01) { puVar35 = (undefined4 *)std::vector::operator_index(); pcVar3 = *(code **)(*(int *)*puVar35 + 0x20); EntityRef::constructor(aEStack_14a0,(Entity *)local_5e0); (*pcVar3)(); - pEVar55 = local_5e0; + this_01 = local_5e0; pEVar10 = local_5e4; } } pEVar10 = (Entity_Player *)&pEVar10->field_0x1; local_5e4 = pEVar10; - puVar66 = (undefined1 *)EntityList::Size(); - } while (pEVar10 < puVar66); + puVar25 = (undefined1 *)EntityList::Size(); + } while (pEVar10 < puVar25); } Level::GetCurrentRoom((Level *)g_game); Room::EmitBloodFromWalls(); Game::ShakeScreen(g_game,0x1e); - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0x21; uVar59 = 0; iVar9 = EntityList::Size(); @@ -257658,11 +257919,11 @@ LAB_005bd679: std::vector::operator_index(); local_5e4 = (Entity_Player *)FUN_00435de0(); pEVar10 = (Entity_Player *)Entity_Familiar::Player((Entity_Familiar *)local_5e4); - if (pEVar10 == pEVar55) { + if (pEVar10 == this_01) { pcVar3 = *(code **)(*(int *)local_5e4 + 0x24); EntityRef::EntityRef(); (*pcVar3)(); - pEVar55 = local_5e0; + this_01 = local_5e0; } uVar59 = uVar59 + 1; uVar11 = EntityList::Size(); @@ -257670,9 +257931,9 @@ LAB_005bd679: } iVar9 = 0x20; do { - Entity::Position((Entity *)pEVar55); - iVar73 = AddWisp(); - if (iVar73 == 0) break; + Entity::Position((Entity *)this_01); + iVar78 = AddWisp(); + if (iVar78 == 0) break; iVar9 = iVar9 + -1; } while (-1 < iVar9); goto LAB_005bc1ec; @@ -257682,8 +257943,8 @@ LAB_005bd679: case 0x28: if (local_5e0->_variant == 0) { Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0x1f; FUN_00424510(); uStack_14 = CONCAT31(uStack_14._1_3_,0x20); @@ -257705,14 +257966,14 @@ LAB_005bd679: } iVar9 = std::vector::size(); if (iVar9 == 0) { - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { AddWisp(); } FID_conflict__Tidy(auStack_76c); goto LAB_005b8efd; } - uStack_608 = (double)CONCAT44(&pEVar55->_collectibleRNGs,(void *)uStack_608); + uStack_608 = (double)CONCAT44(&this_01->_collectibleRNGs,(void *)uStack_608); pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = std::vector::size(); RNG::RandomInt(pRVar8,uVar59); @@ -257720,22 +257981,22 @@ LAB_005bd679: pEVar10 = (Entity_Player *)*puVar35; pEStack_614 = pEVar10; local_5f0 = (Entity_Player *)Entity::Type((Entity *)pEVar10); - pEVar26 = (Entity_Player *)Entity::Variant((Entity *)pEVar10); - local_5e4 = pEVar26; + pEVar67 = (Entity_Player *)Entity::Variant((Entity *)pEVar10); + local_5e4 = pEVar67; local_5ec = (Entity_Player *)Entity::SubType((Entity *)pEVar10); if (local_5f0 == (Entity_Player *)&DAT_00000005) { - cVar6 = FUN_006ee330(); - if (cVar6 != '\0') { + cVar7 = FUN_006ee330(); + if (cVar7 != '\0') { pRVar8 = (RNG *)Entity::GetDropRNG((Entity *)pEVar10); uVar59 = RNG::RandomInt(pRVar8,2); - pEVar26 = (Entity_Player *)((-(uint)(uVar59 != 0) & 0xfffffff6) + 0x3c); - local_5e4 = pEVar26; + pEVar67 = (Entity_Player *)((-(uint)(uVar59 != 0) & 0xfffffff6) + 0x3c); + local_5e4 = pEVar67; } - pEVar55 = local_5ec; - if (pEVar26 == (Entity_Player *)0x12c) { + pEVar70 = local_5ec; + if (pEVar67 == (Entity_Player *)0x12c) { if (local_5ec != (Entity_Player *)0x0) { pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar34 = ItemConfig::GetCard(pIVar12,(int)pEVar55); + pIVar34 = ItemConfig::GetCard(pIVar12,(int)pEVar70); if (pIVar34 != (ItemConfig_Card *)0x0) { if (pIVar34->cardType == 2) { Game::GetItemPool(g_game); @@ -257763,7 +258024,7 @@ LAB_005bdbdf: Level::GetCurrentRoom((Level *)g_game); Entity::Position((Entity *)pEStack_614); Room::FindFreePickupSpawnPosition(); - pEVar55 = local_5e0; + this_01 = local_5e0; Game::Spawn(); FID_conflict__Tidy(auStack_76c); goto LAB_005b8efd; @@ -257771,7 +258032,7 @@ LAB_005bdbdf: LAB_005b8f09: bVar5 = 0; if ((char)local_5e8 == '\0') goto LAB_005b3e2a; - IsLocalPlayer(pEVar55); + IsLocalPlayer(this_01); SoundEffects::PlayWithFartOverride(); goto LAB_005b8f47; case 0x29: @@ -257780,8 +258041,8 @@ LAB_005b8f09: FUN_00424510(); uStack_14 = 0x25; Level::GetCurrentRoom((Level *)g_game); - uVar54 = Room::GetEntities(); - uStack_608 = (double)CONCAT44(uVar54,(void *)uStack_608); + uVar51 = Room::GetEntities(); + uStack_608 = (double)CONCAT44(uVar51,(void *)uStack_608); uVar59 = 0; iVar9 = EntityList::Size(); if (iVar9 != 0) { @@ -257790,13 +258051,13 @@ LAB_005b8f09: iVar9 = Entity::Type((Entity *)*puVar35); if (iVar9 == 5) { puVar35 = (undefined4 *)std::vector::operator_index(); - cVar6 = Entity::IsDead((Entity *)*puVar35); - if (cVar6 == '\0') { + cVar7 = Entity::IsDead((Entity *)*puVar35); + if (cVar7 == '\0') { puVar35 = (undefined4 *)std::vector::operator_index(); pEStack_664 = (Entity_Pickup *)*puVar35; bVar5 = Entity_Pickup::CanReroll(pEStack_664); if (((bVar5 != 0) && (iVar9 = Entity::Variant((Entity *)pEStack_664), iVar9 == 100)) && - (cVar6 = Entity_Pickup::IsShopItem(pEStack_664), cVar6 == '\0')) { + (cVar7 = Entity_Pickup::IsShopItem(pEStack_664), cVar7 == '\0')) { std::vector::push_back(); } } @@ -257804,24 +258065,24 @@ LAB_005b8f09: uVar59 = uVar59 + 1; uVar11 = EntityList::Size(); } while (uVar59 < uVar11); - pEVar55 = local_5e0; + this_01 = local_5e0; } local_5ec = (Entity_Player *)0x0; - if ((((pEVar55->_queuedItem)._item == (void *)0x0) || - (cVar6 = Item::IsCollectible(), cVar6 == '\0')) || (cVar6 = Item::HasTags(), cVar6 != '\0')) + if ((((this_01->_queuedItem)._item == (void *)0x0) || + (cVar7 = Item::IsCollectible(), cVar7 == '\0')) || (cVar7 = Item::HasTags(), cVar7 != '\0')) { local_5f8 = pEStack_cc8; } else { - pEStack_cd8 = (pEVar55->_queuedItem)._item; - iStack_cd4 = (pEVar55->_queuedItem)._charge; - uStack_cd0 = *(undefined4 *)&(pEVar55->_queuedItem)._flags; - uStack_ccc = *(undefined4 *)&pEVar55->field_0x17d0; - local_5f8 = *(Entity_Player **)&pEVar55->field_0x17d4; - ClearQueueItem(pEVar55); + pEStack_cd8 = (this_01->_queuedItem)._item; + iStack_cd4 = (this_01->_queuedItem)._charge; + uStack_cd0 = *(undefined4 *)&(this_01->_queuedItem)._flags; + uStack_ccc = *(undefined4 *)&this_01->field_0x17d0; + local_5f8 = *(Entity_Player **)&this_01->field_0x17d4; + ClearQueueItem(this_01); local_5ec = pEStack_cd8; } - local_5f0 = (Entity_Player *)&pEVar55->_voidedCollectibles; + local_5f0 = (Entity_Player *)&this_01->_voidedCollectibles; local_5e4 = (void *)0x0; iVar9 = std::vector::size(); if (iVar9 != 0) { @@ -257830,46 +258091,46 @@ LAB_005b8f09: iVar9 = *piVar33; uStack_608 = (double)CONCAT44(iVar9,(void *)uStack_608); if (iVar9 == 0x146) { - if (pEVar55->_damageCooldown < 8) { - pcVar3 = *(code **)(*(int *)pEVar55 + 0x3c); + if (this_01->_damageCooldown < 8) { + pcVar3 = *(code **)(*(int *)this_01 + 0x3c); ::Color::Color(); (*pcVar3)(); - pEVar55->_damageCooldown = 8; - *(int *)&pEVar55->_flags = (int)pEVar55->_flags; - puVar44 = (uint *)((int)&pEVar55->_flags + 4); + this_01->_damageCooldown = 8; + *(int *)&this_01->_flags = (int)this_01->_flags; + puVar44 = (uint *)((int)&this_01->_flags + 4); *puVar44 = *puVar44 | 0x10; } } else if (iVar9 != 0x1dd) { - UseActiveItem(pEVar55,&sStack_8a8,iVar9,0x43,-1,0); + UseActiveItem(this_01,&sStack_8a8,iVar9,0x43,-1,0); pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetCollectible(pIVar12,(int)uStack_608._4_4_); - AddCostume(pEVar55,pIVar23,1); + pIVar24 = ItemConfig::GetCollectible(pIVar12,(int)uStack_608._4_4_); + AddCostume(this_01,pIVar24,1); } local_5e4 = (Entity_Player *)((int)local_5e4 + 1); - pvVar58 = (void *)std::vector::size(); - } while (local_5e4 < pvVar58); + pvVar57 = (void *)std::vector::size(); + } while (local_5e4 < pvVar57); } - if (pEVar55->_itemState != 0) { - DischargeActiveItem(pEVar55,0,0); + if (this_01->_itemState != 0) { + DischargeActiveItem(this_01,0,0); } - if ((pEVar55->_playerType == 0xf) && (bVar5 = HasCollectible(pEVar55,0x26b,0), bVar5 != 0)) { + if ((this_01->_playerType == 0xf) && (bVar5 = HasCollectible(this_01,0x26b,0), bVar5 != 0)) { uVar11 = 0x2f; FUN_005cbd00(); uVar59 = EntityPtr::Ref(); - RNG::game_constructor(aRStack_1b8,uVar59,uVar11); + RNG::game_constructor(&RStack_1b8,uVar59,uVar11); uStack_14 = CONCAT31(uStack_14._1_3_,0x26); - uVar59 = RNG::RandomInt(aRStack_1b8,10); - if ((uVar59 == 0) && (cVar6 = FUN_004bc660(), cVar6 == '\0')) { + uVar59 = RNG::RandomInt(&RStack_1b8,10); + if ((uVar59 == 0) && (cVar7 = FUN_004bc660(), cVar7 == '\0')) { Level::GetCurrentRoom((Level *)g_game); Room::FindFreePickupSpawnPosition(); uVar59 = FUN_0042f160(); - RNG::RandomInt(aRStack_1b8,uVar59); + RNG::RandomInt(&RStack_1b8,uVar59); std::vector::operator__(); - RNG::Next(aRStack_1b8); + RNG::Next(&RStack_1b8); Game::Spawn(); FUN_005b1990(); - pEVar55 = local_5e0; + this_01 = local_5e0; play_sound_with_fart_seed(); Random(); Game::Spawn(); @@ -257879,19 +258140,19 @@ LAB_005b8f09: } pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - if (((local_5ec != (Entity_Player *)0x0) && (cVar6 = Item::IsCollectible(), cVar6 != '\0')) && - (cVar6 = Item::HasTags(), cVar6 == '\0')) { + if (((local_5ec != (Entity_Player *)0x0) && (cVar7 = Item::IsCollectible(), cVar7 != '\0')) && + (cVar7 = Item::HasTags(), cVar7 == '\0')) { if ((*(int *)local_5ec == 3) && (*(int *)&local_5ec->field_0x4 != 0x20b)) { iStack_99c = *(int *)&local_5ec->field_0x4; std::vector::push_back(); } else { - piStack_54 = &pEVar55->_speedModifier; - piStack_50 = &pEVar55->_fireDelayModifier; - piStack_4c = &pEVar55->_damageModifier; - piStack_48 = &pEVar55->_tearRangeModifier; - piStack_44 = &pEVar55->_shotSpeedModifier; - piStack_40 = &pEVar55->_luckModifier; + piStack_54 = &this_01->_speedModifier; + piStack_50 = &this_01->_fireDelayModifier; + piStack_4c = &this_01->_damageModifier; + piStack_48 = &this_01->_tearRangeModifier; + piStack_44 = &this_01->_shotSpeedModifier; + piStack_40 = &this_01->_luckModifier; FUN_005cbd00(); FUN_005cbfe0(); *piStack_54 = *piStack_54 + 1; @@ -257902,7 +258163,7 @@ LAB_005b8f09: } } Random(); - pEVar55 = local_5e0; + this_01 = local_5e0; Vector::Vector(); Vector::__add(); Game::Spawn(); @@ -257919,31 +258180,31 @@ LAB_005bef93: puVar35 = (undefined4 *)FUN_0042c810(); pEVar10 = (Entity_Player *)*puVar35; local_5ec = pEVar10; - cVar6 = Entity::Exists((Entity *)pEVar10); - if (((cVar6 != '\0') && (cVar6 = Entity::IsDead((Entity *)pEVar10), cVar6 == '\0')) && - ((cVar6 = Entity_Pickup::IsShopItem((Entity_Pickup *)pEVar10), cVar6 == '\0' && + cVar7 = Entity::Exists((Entity *)pEVar10); + if (((cVar7 != '\0') && (cVar7 = Entity::IsDead((Entity *)pEVar10), cVar7 == '\0')) && + ((cVar7 = Entity_Pickup::IsShopItem((Entity_Pickup *)pEVar10), cVar7 == '\0' && (((iVar9 = Entity::Variant((Entity *)pEVar10), iVar9 == 100 && (iVar9 = Entity::SubType((Entity *)pEVar10), iVar9 != 0)) && (iVar9 = Entity_Pickup::Timeout((Entity_Pickup *)pEVar10), iVar9 < 1)))))) { pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); iVar9 = Entity::SubType((Entity *)local_5ec); - pIVar23 = ItemConfig::GetCollectible(pIVar12,iVar9); - if ((pIVar23->type == 3) && (pIVar23->id != 0x20b)) { + pIVar24 = ItemConfig::GetCollectible(pIVar12,iVar9); + if ((pIVar24->type == 3) && (pIVar24->id != 0x20b)) { uStack_9a0 = Entity::SubType((Entity *)local_5ec); std::vector::push_back(); } else { - piStack_6c = &pEVar55->_speedModifier; - piStack_68 = &pEVar55->_fireDelayModifier; - piStack_64 = &pEVar55->_damageModifier; - piStack_60 = &pEVar55->_tearRangeModifier; - piStack_5c = &pEVar55->_shotSpeedModifier; - piStack_58 = &pEVar55->_luckModifier; + piStack_6c = &this_01->_speedModifier; + piStack_68 = &this_01->_fireDelayModifier; + piStack_64 = &this_01->_damageModifier; + piStack_60 = &this_01->_tearRangeModifier; + piStack_5c = &this_01->_shotSpeedModifier; + piStack_58 = &this_01->_luckModifier; FUN_005cbd00(); FUN_005cbfe0(); *piStack_6c = *piStack_6c + 1; *piStack_68 = *piStack_68 + 1; - if (pIVar23->type != 3) { + if (pIVar24->type != 3) { FUN_005b19a0(); Entity::SubType((Entity *)local_5ec); FUN_005b1490(); @@ -257966,10 +258227,10 @@ LAB_005bef93: if (iVar9 + 1U < uVar59) { Entity::Position((Entity *)pEVar10); (**(code **)(*(int *)pEVar10 + 0x28))(); - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); pEVar10 = local_5e0; RNG::Next(&local_5e0->_dropRNG); - ItemPool::GetCollectible(pIVar53); + ItemPool::GetCollectible(pIVar54); RNG::Next(&pEVar10->_dropRNG); piVar33 = (int *)Game::Spawn(); FUN_006e2ff0(); @@ -257978,16 +258239,16 @@ LAB_005bef93: } local_5d9 = 1; } - puVar24 = &local_5e4->field_0x1; - local_5e4 = (Entity_Player *)puVar24; - puVar66 = (undefined1 *)std::vector::size(); - pEVar55 = local_5e0; - } while (puVar24 < puVar66); + puVar60 = &local_5e4->field_0x1; + local_5e4 = (Entity_Player *)puVar60; + puVar25 = (undefined1 *)std::vector::size(); + this_01 = local_5e0; + } while (puVar60 < puVar25); if (local_5d9 == 0) goto LAB_005bef93; SoundEffects::PlayWithFartOverride(); SoundEffects::PlayWithFartOverride(); } - pEVar55 = local_5e0; + this_01 = local_5e0; bVar5 = HasCollectible(local_5e0,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { local_5e4 = (Entity_Player *)0x0; @@ -258001,7 +258262,7 @@ LAB_005bef93: } while (local_5e4 < pEVar10); } } - pEVar55->_cacheFlags = pEVar55->_cacheFlags | 0x41f; + this_01->_cacheFlags = this_01->_cacheFlags | 0x41f; EvaluateItems(); if (local_5d9 != 0) { Level::GetCurrentRoom((Level *)g_game); @@ -258011,8 +258272,8 @@ LAB_005bef93: iVar9 = GridEntity::GetVariant(); if (iVar9 != 0x11) goto LAB_005bf09d; } - pAVar51 = (Ambush *)Game::GetAmbush(g_game); - Ambush::StartChallenge(pAVar51); + pAVar52 = (Ambush *)Game::GetAmbush(g_game); + Ambush::StartChallenge(pAVar52); } LAB_005bf09d: uStack_14 = -1; @@ -258026,13 +258287,13 @@ LAB_005bf09d: Level::GetCurrentRoom((Level *)g_game); pTVar30 = (TemporaryEffects *)FUN_004360d0(); TemporaryEffects::AddCollectibleEffect(pTVar30,0x1de,1,1); - *(undefined2 *)((int)pEVar55[1]._chargeBarSprites[0]._color._tint + 6) = 0xf0; + *(undefined2 *)((int)this_01[1]._chargeBarSprites[0]._color._tint + 6) = 0xf0; } goto LAB_005bdf0b; case 0x2b: if (local_5e0->_variant == 0) { FlushQueueItem(local_5e0); - local_5ec = (Entity_Player *)pEVar55->_trinketsID; + local_5ec = (Entity_Player *)this_01->_trinketsID; local_5f0 = (Entity_Player *)0x2; do { uVar59 = *(uint *)local_5ec; @@ -258040,10 +258301,10 @@ LAB_005bf09d: pEStack_614 = (Entity_Player *)(uVar59 >> 0xf & 0xffffff01); local_5e4 = (void *)(uVar59 & 0x7fff); pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetTrinket(pIVar12,uVar59 & 0x7fff); + pIVar24 = ItemConfig::GetTrinket(pIVar12,uVar59 & 0x7fff); std::string::c_str(); uStack_608._4_4_ = (Entity_Player *)local_5e0->_playerIndex; - ItemConfig_Item::GetLocalizedName(pIVar23); + ItemConfig_Item::GetLocalizedName(pIVar24); uStack_14 = 0x22; std::string::c_str(); /* WARNING: Subroutine does not return */ @@ -258052,13 +258313,13 @@ LAB_005bf09d: local_5ec = (Entity_Player *)((int)local_5ec + 4); local_5f0 = (Entity_Player *)((int)&local_5f0[-1]._replacedPlayer + 3); } while (local_5f0 != (Entity_Player *)0x0); - InvalidateCoPlayerItems(pEVar55); + InvalidateCoPlayerItems(this_01); Game::GetHUD(g_game); mark_all_slots_dirty(); } bVar5 = 0; if ((char)local_5e8 != '\0') { - IsLocalPlayer(pEVar55); + IsLocalPlayer(this_01); SoundEffects::PlayWithFartOverride(); goto LAB_005b8b8d; } @@ -258071,7 +258332,7 @@ LAB_005bf09d: pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = RNG::RandomInt(pRVar8,2); if (uVar59 == 0) { - AddBlueSpider(pEVar55); + AddBlueSpider(this_01); } else { AddBlueFlies(); @@ -258080,11 +258341,11 @@ LAB_005bf09d: else { if (0 < local_5e0->_numBlueFlies) { AddBlueFlies(); - iVar9 = pEVar55->_numBlueSpiders; + iVar9 = this_01->_numBlueSpiders; } if (0 < iVar9) { do { - AddBlueSpider(pEVar55); + AddBlueSpider(this_01); iVar9 = iVar9 + -1; } while (iVar9 != 0); } @@ -258105,15 +258366,15 @@ LAB_005bf09d: if (iVar9 != 100) { std::vector::operator_index(); pEVar37 = (Entity_Pickup *)__RTDynamicCast(); - cVar6 = Entity_Pickup::IsShopItem(pEVar37); - if ((cVar6 == '\0') && (bVar5 = Entity_Pickup::CanReroll(pEVar37), bVar5 != 0)) { + cVar7 = Entity_Pickup::IsShopItem(pEVar37); + if ((cVar7 == '\0') && (bVar5 = Entity_Pickup::CanReroll(pEVar37), bVar5 != 0)) { (**(code **)(*(int *)pEVar37 + 0x28))(); local_5e4 = (Entity_Player *)&local_5e4->field_0x1; pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = RNG::RandomInt(pRVar8,2); if (uVar59 == 0) { Entity::Position((Entity *)pEVar37); - AddBlueSpider(pEVar55); + AddBlueSpider(this_01); } else { Entity::Position((Entity *)pEVar37); @@ -258125,10 +258386,10 @@ LAB_005bf09d: } pEVar10 = (Entity_Player *)&pEVar10->field_0x1; local_5ec = pEVar10; - puVar66 = (undefined1 *)EntityList::Size(); - } while (pEVar10 < puVar66); + puVar25 = (undefined1 *)EntityList::Size(); + } while (pEVar10 < puVar25); } - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((((bVar5 != 0) && ((char)local_610 != '\0')) && (0 < (int)local_5e4)) && (local_5e4 = (Entity_Player *)AddWisp(), local_5e4 != (Entity_Player *)0x0)) { (**(code **)(*(int *)local_5e4 + 0xc))(); @@ -258150,12 +258411,12 @@ LAB_005bf09d: FUN_005cbfe0(); *piStack_3c = *piStack_3c + 1; *piStack_38 = *piStack_38 + -1; - pEVar55->_cacheFlags = pEVar55->_cacheFlags | 0x41f; + this_01->_cacheFlags = this_01->_cacheFlags | 0x41f; EvaluateItems(); - TemporaryEffects::AddCollectibleEffect(&pEVar55->_temporaryeffects,0x1e1,1,1); + TemporaryEffects::AddCollectibleEffect(&this_01->_temporaryeffects,0x1e1,1,1); Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); pEVar10 = (Entity_Player *)0x0; uStack_14 = 0x2c; local_5e4 = (Entity_Player *)0x0; @@ -258170,8 +258431,8 @@ LAB_005bf09d: if (iVar9 == 100) { puVar35 = (undefined4 *)std::vector::operator_index(); Entity::SubType((Entity *)*puVar35); - cVar6 = FUN_0072fe80(); - if (cVar6 != '\0') goto code_r0x005c0308; + cVar7 = FUN_0072fe80(); + if (cVar7 != '\0') goto code_r0x005c0308; } std::vector::operator_index(); FUN_004074a0(); @@ -258193,25 +258454,25 @@ LAB_005bf09d: code_r0x005c0308: pEVar10 = (Entity_Player *)&pEVar10->field_0x1; local_5e4 = pEVar10; - puVar66 = (undefined1 *)EntityList::Size(); - } while (pEVar10 < puVar66); - pEVar55 = local_5e0; + puVar25 = (undefined1 *)EntityList::Size(); + } while (pEVar10 < puVar25); + this_01 = local_5e0; } uStack_14 = -1; EntityList_Query::~EntityList_Query(); } - TemporaryEffects::AddCollectibleEffect(&pEVar55->_temporaryeffects,0x1a2,0,1); + TemporaryEffects::AddCollectibleEffect(&this_01->_temporaryeffects,0x1a2,0,1); Level::GetCurrentRoom((Level *)g_game); pTVar30 = (TemporaryEffects *)FUN_004360d0(); TemporaryEffects::AddCollectibleEffect(pTVar30,0x1e1,1,1); SoundEffects::PlayWithFartOverride(); local_5d9 = 0; if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); local_5d9 = (byte)local_5e8; } local_60a = '\0'; - pEVar55 = local_5e0; + this_01 = local_5e0; break; case 0x2e: if (local_5e0->_variant == 0) { @@ -258219,18 +258480,18 @@ code_r0x005c0308: if (local_5e0->_dead != 0) goto LAB_005bc067; iVar9 = GetOtherTwin(local_5e0); if (iVar9 != 0) { - pEVar31 = (Entity *)GetOtherTwin(pEVar55); - cVar6 = Entity::IsDead(pEVar31); - if (cVar6 != '\0') goto LAB_005bc067; + pEVar31 = (Entity *)GetOtherTwin(this_01); + cVar7 = Entity::IsDead(pEVar31); + if (cVar7 != '\0') goto LAB_005bc067; } - pEVar10 = (Entity_Player *)GetMainTwin(); - if (pEVar10 != pEVar55) { - pEVar10 = (Entity_Player *)GetMainTwin(); - UseActiveItem(pEVar10,&sStack_8a6,(int)puVar24,(uint)local_618,-1,0); + pEVar67 = (Entity_Player *)GetMainTwin(); + if (pEVar67 != this_01) { + pEVar67 = (Entity_Player *)GetMainTwin(); + UseActiveItem(pEVar67,&sStack_8a6,(int)pEVar10,(uint)local_618,-1,0); local_5d9 = (byte)local_5e8; break; } - uVar59 = pEVar55->_playerType - 0x15; + uVar59 = this_01->_playerType - 0x15; if (local_5e4 == (Entity_Player *)&DAT_00000011) { local_5e4 = (Entity_Player *)0x10; } @@ -258239,8 +258500,8 @@ code_r0x005c0308: FUN_005cbb60(); pEVar10 = (Entity_Player *)((-(uint)(0x13 < uVar59) & 0xffffffeb) + 0x15); uStack_608 = (double)CONCAT44(pEVar10,(void *)uStack_608); - pEVar26 = (Entity_Player *)((-(uint)(0x13 < uVar59) & 0xffffffec) + 0x28); - if (pEVar10 < pEVar26) { + pEVar67 = (Entity_Player *)((-(uint)(0x13 < uVar59) & 0xffffffec) + 0x28); + if (pEVar10 < pEVar67) { do { FUN_00417910(); iVar9 = FUN_0069bd10(); @@ -258258,12 +258519,12 @@ code_r0x005c0308: } LAB_005be4fe: pEVar10 = (Entity_Player *)&pEVar10->field_0x1; - } while ((int)pEVar10 < (int)pEVar26); - pEVar55 = local_5e0; + } while ((int)pEVar10 < (int)pEVar67); + this_01 = local_5e0; } - local_609 = HasCollectible(pEVar55,0x3b,0); - cVar6 = FUN_004bc660(); - if (cVar6 == '\0') { + local_609 = HasCollectible(this_01,0x3b,0); + cVar7 = FUN_004bc660(); + if (cVar7 == '\0') { pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = std::vector::size(); RNG::RandomInt(pRVar8,uVar59); @@ -258280,38 +258541,38 @@ LAB_005be4fe: Config::GetCollectibles(); iVar9 = FUN_005cbe00(); if (*(char *)(iVar9 + 4) != '\0') { - TryRemoveSmeltedTrinket(pEVar55,*(uint *)(iVar9 + 8)); + TryRemoveSmeltedTrinket(this_01,*(uint *)(iVar9 + 8)); break; } Config::GetCollectibles(); iVar9 = FUN_005cbe00(); iVar9 = *(int *)(iVar9 + 8); - if ((((iVar9 != 0x1e2) && (iVar9 != pEVar55->_activeDesc[0]._item)) && - (bVar5 = CanRerollCollectible(pEVar55,iVar9,1), bVar5 != 0)) && + if ((((iVar9 != 0x1e2) && (iVar9 != this_01->_activeDesc[0]._item)) && + (bVar5 = CanRerollCollectible(this_01,iVar9,1), bVar5 != 0)) && (piVar33 = (int *)FUN_0042c810(), 0 < *piVar33)) { - RemoveCollectibleByHistoryIndex(pEVar55,(int)local_5e4,1); + RemoveCollectibleByHistoryIndex(this_01,(int)local_5e4,1); break; } } } } - ChangePlayerType(pEVar55,(int)uStack_608._4_4_,0); + ChangePlayerType(this_01,(int)uStack_608._4_4_,0); if (local_609 != 0) { - AddCollectible(pEVar55,0x33,0,1,0,0,0); + AddCollectible(this_01,0x33,0,1,0,0,0); } } - if (((char)local_5e8 != '\0') && (iVar9 = GetOtherTwin(pEVar55), iVar9 != 0)) { - pEVar10 = (Entity_Player *)GetOtherTwin(pEVar55); + if (((char)local_5e8 != '\0') && (iVar9 = GetOtherTwin(this_01), iVar9 != 0)) { + pEVar10 = (Entity_Player *)GetOtherTwin(this_01); AnimateCollectible(pEVar10); } - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { pRVar8 = (RNG *)FUN_005cbd00(); Entity_Familiar::GetRandomWisp(pRVar8); AddWisp(); } - pIVar57 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar57,0x27,0,(Entity_Player *)0x0); + pIVar56 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar56,0x27,0,(Entity_Player *)0x0); uStack_14 = -1; FID_conflict__Tidy(auStack_760); } @@ -258329,19 +258590,19 @@ LAB_005be4fe: } pLVar27 = (Level *)Config::GetCollectibles(); Game::GetField26614(); - cVar6 = FUN_00429550(); + cVar7 = FUN_00429550(); pEVar10 = (Entity_Player *)0x0; - if (cVar6 != '\0') { - pEVar10 = pEVar55; + if (cVar7 != '\0') { + pEVar10 = this_01; } - Level::StartMamaMega(pLVar27,&pEVar55->_pos,pEVar10); + Level::StartMamaMega(pLVar27,&this_01->_pos,pEVar10); } goto LAB_005bc04b; case 0x30: Game::ButterBeanFart(); Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + if (cVar7 != '\0') { Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); EntityList::QueryRadius(); @@ -258352,18 +258613,18 @@ LAB_005be4fe: pEVar10 = (Entity_Player *)0x0; do { puVar35 = (undefined4 *)std::vector::operator_index(); - cVar6 = Entity::IsDescendantOf((Entity *)*puVar35); - if (cVar6 == '\0') { + cVar7 = Entity::IsDescendantOf((Entity *)*puVar35); + if (cVar7 == '\0') { puVar35 = (undefined4 *)std::vector::operator_index(); pEVar31 = (Entity *)*puVar35; - EntityRef::constructor(&EStack_14c8,(Entity *)pEVar55); + EntityRef::constructor(&EStack_14c8,(Entity *)this_01); Entity::AddPoison(pEVar31,&EStack_14c8,0x3c,0.0,0); pEVar10 = local_5e4; } pEVar10 = (Entity_Player *)&pEVar10->field_0x1; local_5e4 = pEVar10; - puVar66 = (undefined1 *)EntityList::Size(); - } while (pEVar10 < puVar66); + puVar25 = (undefined1 *)EntityList::Size(); + } while (pEVar10 < puVar25); } uStack_14 = -1; EntityList_Query::~EntityList_Query(); @@ -258373,15 +258634,15 @@ LAB_005be4fe: Entity::SetParent((Entity *)pEVar50); Entity_Effect::SetRadii(pEVar50); Entity_Effect::SetTimeout(pEVar50); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x31: if (local_5e0->_variant == 0) { SoundEffects::PlayWithFartOverride(); Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0x28; pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = RNG::Next(pRVar8); @@ -258391,7 +258652,7 @@ LAB_005be4fe: if (uVar59 == 0) { uVar59 = 1; } - RNG::game_constructor(aRStack_254,uVar59,4); + RNG::game_constructor(&RStack_254,uVar59,4); uStack_14._0_1_ = 0x29; pEVar10 = (Entity_Player *)RNG::RandomInt(this_04,2); uStack_14._0_1_ = 0x28; @@ -258408,18 +258669,18 @@ LAB_005be4fe: local_5e4 = pEVar10; bVar5 = Entity_Pickup::CanReroll((Entity_Pickup *)pEVar10); if (((bVar5 != 0) && - ((cVar6 = FUN_006ee330(), cVar6 == '\0' || + ((cVar7 = FUN_006ee330(), cVar7 == '\0' || (iVar9 = Entity::SubType((Entity *)pEVar10), iVar9 != 0)))) && ((iVar9 = Entity::Variant((Entity *)pEVar10), iVar9 != 100 || (iVar9 = Entity::SubType((Entity *)pEVar10), iVar9 != 0)))) { - uVar54 = Entity::InitSeed((Entity *)pEVar10); - uStack_608 = (double)CONCAT44(uVar54,(void *)uStack_608); + uVar51 = Entity::InitSeed((Entity *)pEVar10); + uStack_608 = (double)CONCAT44(uVar51,(void *)uStack_608); Entity::SubType((Entity *)pEVar10); Level::GetCurrentRoom((Level *)g_game); Entity::Position((Entity *)local_5e4); Room::FindFreePickupSpawnPosition(); Entity::Variant((Entity *)local_5e4); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5ec = (Entity_Player *)Game::Spawn(); pEVar10 = local_5e4; bVar5 = FUN_005b1a00(); @@ -258431,8 +258692,8 @@ LAB_005be4fe: uStack_9a4 = Entity_Pickup::OptionsPickupIndex((Entity_Pickup *)pEVar10); std::set::find(); std::iterator_copy(); - cVar6 = FUN_00557bb0(); - if (cVar6 == '\0') { + cVar7 = FUN_00557bb0(); + if (cVar7 == '\0') { FUN_005cba30(); FUN_005b1970(); } @@ -258444,10 +258705,10 @@ LAB_005be4fe: } } } - puVar24 = &local_5f0->field_0x1; - local_5f0 = (Entity_Player *)puVar24; - puVar66 = (undefined1 *)EntityList::Size(); - } while (puVar24 < puVar66); + puVar60 = &local_5f0->field_0x1; + local_5f0 = (Entity_Player *)puVar60; + puVar25 = (undefined1 *)EntityList::Size(); + } while (puVar60 < puVar25); } FUN_00436fb0(); uStack_14 = -1; @@ -258464,13 +258725,13 @@ LAB_005be4fe: uStack_608 = (double)CONCAT44(pEVar37,(void *)uStack_608); bVar5 = Entity_Pickup::CanReroll(pEVar37); if ((bVar5 != 0) && - ((cVar6 = FUN_006ee330(), cVar6 == '\0' || + ((cVar7 = FUN_006ee330(), cVar7 == '\0' || (iVar9 = Entity::SubType((Entity *)pEVar37), iVar9 != 0)))) { pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); Entity::Position((Entity *)uStack_608._4_4_); Level::GetCurrentRoom((Level *)g_game); - uVar54 = EntityList::Size(); - uStack_608 = (double)CONCAT44(uVar54,(void *)uStack_608); + uVar51 = EntityList::Size(); + uStack_608 = (double)CONCAT44(uVar51,(void *)uStack_608); iVar9 = Room::GetGridIndex(pRVar28); uVar59 = (int)uStack_608._4_4_ + iVar9; pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); @@ -258478,7 +258739,7 @@ LAB_005be4fe: pGVar39 = (GridEntity_Spikes *)__RTDynamicCast(); if ((pGVar39 != (GridEntity_Spikes *)0x0) && ((iVar9 = GridEntity::GetType(), iVar9 == 0x1c && - (cVar6 = FUN_005b1a10(), cVar6 != '\0')))) { + (cVar7 = FUN_005b1a10(), cVar7 != '\0')))) { GridEntity_Spikes::unsummon(pGVar39); } pEVar10 = local_5e4; @@ -258487,9 +258748,9 @@ LAB_005be4fe: } pEVar10 = (Entity_Player *)&pEVar10->field_0x1; local_5e4 = pEVar10; - puVar66 = (undefined1 *)EntityList::Size(); - } while (pEVar10 < puVar66); - pEVar55 = local_5e0; + puVar25 = (undefined1 *)EntityList::Size(); + } while (pEVar10 < puVar25); + this_01 = local_5e0; } pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); @@ -258511,20 +258772,20 @@ LAB_005be4fe: case 0x33: if ((local_5e0->_variant == 0) && (0 < local_5e0->_maxHearts)) { AddMaxHearts(local_5e0,-2,0); - bVar5 = HasCollectible(pEVar55,0x49,0); - if ((bVar5 == 0) && (bVar5 = HasCollectible(pEVar55,0xcf,0), bVar5 != 0)) { - bVar5 = HasCollectible(pEVar55,0xcf,0); + bVar5 = HasCollectible(this_01,0x49,0); + if ((bVar5 == 0) && (bVar5 = HasCollectible(this_01,0xcf,0), bVar5 != 0)) { + bVar5 = HasCollectible(this_01,0xcf,0); if (bVar5 != 0) { - *(int *)&pEVar55->field_0x1540 = *(int *)&pEVar55->field_0x1540 + 1; + this_01->_potatoPeelerBandageCounter = this_01->_potatoPeelerBandageCounter + 1; } } else { - pEVar55->_potatoPeelerCounter = pEVar55->_potatoPeelerCounter + 1; + this_01->_potatoPeelerCounter = this_01->_potatoPeelerCounter + 1; } - pEVar55->_cacheFlags = pEVar55->_cacheFlags | 0x201; + this_01->_cacheFlags = this_01->_cacheFlags | 0x201; EvaluateItems(); - pcVar3 = *(code **)(*(int *)pEVar55 + 0x20); - EntityRef::constructor(&EStack_14f0,(Entity *)pEVar55); + pcVar3 = *(code **)(*(int *)this_01 + 0x20); + EntityRef::constructor(&EStack_14f0,(Entity *)this_01); (*pcVar3)(); FUN_0058e240(); uStack_9b0 = 0x40000000; @@ -258534,16 +258795,16 @@ LAB_005be4fe: Game::Spawn(); iVar9 = Isaac::Random(3); uStack_608 = (double)CONCAT44(iVar9 + 2,(void *)uStack_608); - iVar73 = Isaac::Random(6); + iVar78 = Isaac::Random(6); local_5e4 = (Entity_Player *)0x0; - pEStack_614 = (Entity_Player *)(iVar73 + 6 + iVar9 + 2); + pEStack_614 = (Entity_Player *)(iVar78 + 6 + iVar9 + 2); if (0 < (int)pEStack_614) { do { random_float(); - pEVar26 = (Entity_Player *)((float)pEVar26 * 20.0 - 10.0); + pEVar65 = (Entity_Player *)((float)pEVar65 * 20.0 - 10.0); Vector::Rotated(); random_float(); - pEStack_7b0 = pEVar26; + pEStack_7b0 = pEVar65; Vector::__mul(); Vector::__add(); Random(); @@ -258552,21 +258813,21 @@ LAB_005be4fe: (**(code **)(*piVar33 + 0xc))(); local_5e4 = (Entity_Player *)&pEVar10->field_0x1; } while ((int)local_5e4 < (int)pEStack_614); - pEVar55 = local_5e0; + this_01 = local_5e0; } - try_trigger_astral_projection(pEVar55); + try_trigger_astral_projection(this_01); pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); ItemConfig::GetCollectible(pIVar12,0xd6); TemporaryEffect::TemporaryEffect(); Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + if (cVar7 != '\0') { uStack_bc8 = 300; } - TemporaryEffects::AddEffect(&pEVar55->_temporaryeffects,auStack_bd0,1,1); - bVar5 = HasCollectible(pEVar55,0x3b,0); + TemporaryEffects::AddEffect(&this_01->_temporaryeffects,auStack_bd0,1,1); + bVar5 = HasCollectible(this_01,0x3b,0); if (bVar5 != 0) { - TemporaryEffects::AddNullEffect(&pEVar55->_temporaryeffects,0x82,1,1); + TemporaryEffects::AddNullEffect(&this_01->_temporaryeffects,0x82,1,1); } goto LAB_005b8b6f; } @@ -258576,28 +258837,28 @@ LAB_005be4fe: if (local_5e0->_metronomeCollectibleID != 0) { TemporaryEffects::RemoveCollectibleEffect(&local_5e0->_temporaryeffects,0x1e8,1); TemporaryEffects::RemoveCollectibleEffect - (&pEVar55->_temporaryeffects,pEVar55->_metronomeCollectibleID,1); - if ((pEVar55->_metronomeCollectibleID == 0x6b) && - (bVar5 = HasCollectible(pEVar55,0x14,0), bVar5 == 0)) { - TemporaryEffects::RemoveCollectibleEffect(&pEVar55->_temporaryeffects,0x14,1); + (&this_01->_temporaryeffects,this_01->_metronomeCollectibleID,1); + if ((this_01->_metronomeCollectibleID == 0x6b) && + (bVar5 = HasCollectible(this_01,0x14,0), bVar5 == 0)) { + TemporaryEffects::RemoveCollectibleEffect(&this_01->_temporaryeffects,0x14,1); } pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetCollectible(pIVar12,pEVar55->_metronomeCollectibleID); - if (pIVar23->type == 3) { + pIVar24 = ItemConfig::GetCollectible(pIVar12,this_01->_metronomeCollectibleID); + if (pIVar24->type == 3) { ResetItemState(); } - iVar9 = pEVar55->_metronomeCollectibleID; - pEVar55->_metronomeCollectibleID = 0; - bVar5 = HasCollectible(pEVar55,iVar9,0); + iVar9 = this_01->_metronomeCollectibleID; + this_01->_metronomeCollectibleID = 0; + bVar5 = HasCollectible(this_01,iVar9,0); if (bVar5 == 0) { - RemoveCostume(pEVar55,pIVar23); + RemoveCostume(this_01,pIVar24); } } if (DAT_00c7166c == 0) { uVar11 = 0xf; pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = RNG::Next(pRVar8); - RNG::game_constructor(aRStack_1e8,uVar59,uVar11); + RNG::game_constructor(&RStack_1e8,uVar59,uVar11); uStack_14 = 0x2b; pEStack_614 = (Entity_Player *)&DAT_0000000f; do { @@ -258610,45 +258871,45 @@ LAB_005be4fe: iVar9 = uVar59 + 1; if ((((((iVar9 != 0x1e8) && (iVar9 != 0x1db)) && (iVar9 != 0x1a6)) && ((iVar9 != 0x146 && (iVar9 != 0x1e2)))) && (iVar9 != 0x27c)) && (iVar9 != 0x280)) { - iVar73 = Game::Challenge(g_game); - if (iVar73 == 0x2b) { + iVar78 = Game::Challenge(g_game); + if (iVar78 == 0x2b) { Isaac::GetItemConfig(); - cVar6 = FUN_0072fe80(); - if (cVar6 != '\0') goto LAB_005bfef6; + cVar7 = FUN_0072fe80(); + if (cVar7 != '\0') goto LAB_005bfef6; } if (iVar9 == 0x274) { - fVar65 = RNG::RandomFloat(aRStack_1e8); - uStack_608 = (double)CONCAT44(fVar65,(void *)uStack_608); - bVar63 = fVar65 == 0.15; - bVar62 = 0.15 < fVar65; + fVar66 = RNG::RandomFloat(&RStack_1e8); + uStack_608 = (double)CONCAT44(fVar66,(void *)uStack_608); + bVar63 = fVar66 == 0.15; + bVar62 = 0.15 < fVar66; LAB_005bfe68: if (bVar62 || bVar63) goto LAB_005bfef6; } else if (iVar9 == 0x26e) { - fVar65 = RNG::RandomFloat(aRStack_1e8); - uStack_608 = (double)CONCAT44(fVar65,(void *)uStack_608); - bVar63 = fVar65 == 0.25; - bVar62 = 0.25 < fVar65; + fVar66 = RNG::RandomFloat(&RStack_1e8); + uStack_608 = (double)CONCAT44(fVar66,(void *)uStack_608); + bVar63 = fVar66 == 0.25; + bVar62 = 0.25 < fVar66; goto LAB_005bfe68; } FUN_00421780(); - cVar6 = FUN_005b1840(); - if ((cVar6 == '\0') || (iVar9 != 0x7f)) { + cVar7 = FUN_005b1840(); + if ((cVar7 == '\0') || (iVar9 != 0x7f)) { Isaac::GetItemConfig(); - cVar6 = ItemConfig::IsValidCollectible(); - if (cVar6 != '\0') { + cVar7 = ItemConfig::IsValidCollectible(); + if (cVar7 != '\0') { pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetCollectible(pIVar12,iVar9); - if (pIVar23 != (ItemConfig_Item *)0x0) { + pIVar24 = ItemConfig::GetCollectible(pIVar12,iVar9); + if (pIVar24 != (ItemConfig_Item *)0x0) { Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + if (cVar7 != '\0') { Game::GetField26614(); piVar33 = (int *)EntityList::Size(); - cVar6 = (**(code **)(*piVar33 + 0x30))(); - if (cVar6 != '\0') goto LAB_005bfef6; + cVar7 = (**(code **)(*piVar33 + 0x30))(); + if (cVar7 != '\0') goto LAB_005bfef6; } - pEVar55->_metronomeCollectibleID = iVar9; + this_01->_metronomeCollectibleID = iVar9; break; } } @@ -258660,9 +258921,9 @@ LAB_005bfef6: guard_check_icall(); } else { - pEVar55->_metronomeCollectibleID = DAT_00c7166c; + this_01->_metronomeCollectibleID = DAT_00c7166c; } - if (pEVar55->_metronomeCollectibleID == 0) { + if (this_01->_metronomeCollectibleID == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } @@ -258679,42 +258940,42 @@ LAB_005bfef6: FUN_005cbd00(); uVar59 = EntityPtr::Ref(); uVar59 = uVar59 % 10; - pvVar58 = uStack_608._4_4_; + pvVar57 = uStack_608._4_4_; goto LAB_005bfb5e; } iVar9 = *(int *)(&DAT_00b1f450 + *(short *)((int)&local_5e0->_activeDesc[(int)local_61c]._varData + 2) * 4); LAB_005bfb73: - if (pEVar55->_activeDesc[(int)local_61c]._item == 0x1e9) { + if (this_01->_activeDesc[(int)local_61c]._item == 0x1e9) { pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetCollectible(pIVar12,iVar9); - *(short *)&pEVar55->_activeDesc[(int)local_61c]._varData = (short)pIVar23->maxCharges; + pIVar24 = ItemConfig::GetCollectible(pIVar12,iVar9); + *(short *)&this_01->_activeDesc[(int)local_61c]._varData = (short)pIVar24->maxCharges; } } else { uVar59 = varData >> 0x10; - pvVar58 = (void *)((uint)local_618 & 4); + pvVar57 = (void *)((uint)local_618 & 4); LAB_005bfb5e: iVar9 = *(int *)(&DAT_00b1f450 + uVar59 * 4); - if ((pvVar58 != (void *)0x0) && (-1 < (int)local_61c)) goto LAB_005bfb73; + if ((pvVar57 != (void *)0x0) && (-1 < (int)local_61c)) goto LAB_005bfb73; } - UseActiveItem(pEVar55,&sStack_8aa,iVar9,0,-1,0); + UseActiveItem(this_01,&sStack_8aa,iVar9,0,-1,0); switch(iVar9) { case 0x11b: - pIVar57 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar57,0x1c,0,(Entity_Player *)0x0); + pIVar56 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar56,0x1c,0,(Entity_Player *)0x0); break; case 0x11c: - pIVar57 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar57,0x11,0,(Entity_Player *)0x0); + pIVar56 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar56,0x11,0,(Entity_Player *)0x0); break; case 0x182: - pIVar57 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar57,0x25,0,(Entity_Player *)0x0); + pIVar56 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar56,0x25,0,(Entity_Player *)0x0); break; case 0x196: - pIVar57 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar57,0x24,0,(Entity_Player *)0x0); + pIVar56 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar56,0x24,0,(Entity_Player *)0x0); } } goto switchD_005bfbd8_caseD_11d; @@ -258737,7 +258998,7 @@ LAB_005bfb5e: LAB_005bc04b: local_5d9 = 0; if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); goto LAB_005bc067; } goto LAB_005bc073; @@ -258745,13 +259006,13 @@ LAB_005bc04b: if (bVar5 != 0) { AnimateCollectible(local_5e0); SoundEffects::PlayWithFartOverride(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } case 0x60: LAB_005b83cf: - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x38: @@ -258764,42 +259025,42 @@ LAB_005b83cf: if (iVar9 != 0) { do { puVar35 = (undefined4 *)std::vector::operator_index(); - cVar6 = Entity::IsVulnerableEnemy((Entity *)*puVar35); - if (cVar6 != '\0') { + cVar7 = Entity::IsVulnerableEnemy((Entity *)*puVar35); + if (cVar7 != '\0') { puVar35 = (undefined4 *)std::vector::operator_index(); if ((Entity_Player *)*puVar35 != local_5e0) { std::vector::operator_index(); - cVar6 = Entity::HasEntityFlags(); - if (cVar6 == '\0') { + cVar7 = Entity::HasEntityFlags(); + if (cVar7 == '\0') { std::vector::operator_index(); fVar64 = (float10)Entity::MaxHitPoints(); uStack_608 = (double)CONCAT44((float)(fVar64 * (float10)0.1),(void *)uStack_608); Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 == '\0') { + cVar7 = FUN_00429550(); + if (cVar7 == '\0') { LAB_005c0516: local_5e4 = uStack_608._4_4_; } else { puVar35 = (undefined4 *)std::vector::operator_index(); - cVar6 = Entity::is_player((Entity *)*puVar35); - if (cVar6 == '\0') goto LAB_005c0516; + cVar7 = Entity::is_player((Entity *)*puVar35); + if (cVar7 == '\0') goto LAB_005c0516; puVar35 = (undefined4 *)std::vector::operator_index(); pEVar10 = (Entity_Player *)*puVar35; iVar9 = GetBlackHearts(pEVar10); - iVar73 = GetBoneHearts(pEVar10); + iVar78 = GetBoneHearts(pEVar10); iVar40 = GetRottenHearts(pEVar10); iVar41 = GetGoldenHearts(pEVar10); iVar42 = GetSoulHearts(pEVar10); iVar43 = GetMaxHearts(pEVar10); local_5e4 = (Entity_Player *) - ((float)(iVar43 + iVar9 + iVar73 + iVar40 + iVar41 + iVar42) * 0.1); + ((float)(iVar43 + iVar9 + iVar78 + iVar40 + iVar41 + iVar42) * 0.1); } puVar35 = (undefined4 *)std::vector::operator_index(); pcVar3 = *(code **)(*(int *)*puVar35 + 0x20); EntityRef::constructor(&EStack_1540,(Entity *)local_5e0); - cVar6 = (*pcVar3)(); - if (cVar6 != '\0') { + cVar7 = (*pcVar3)(); + if (cVar7 != '\0') { puVar35 = (undefined4 *)std::vector::operator_index(); Entity::Position((Entity *)*puVar35); pEVar10 = local_5e0; @@ -258807,9 +259068,9 @@ LAB_005c0516: uStack_7b4 = 0x3dcccccd; Vector::__mul(); fVar64 = (float10)Vector::Length(); - fVar65 = (float)fVar64; - uStack_608 = (double)CONCAT44(fVar65,(void *)uStack_608); - if (30.0 < fVar65) { + fVar66 = (float)fVar64; + uStack_608 = (double)CONCAT44(fVar66,(void *)uStack_608); + if (30.0 < fVar66) { Vector::Resize(); } Random(); @@ -258818,28 +259079,28 @@ LAB_005c0516: Game::Spawn(); iVar9 = Isaac::Random(2); pEStack_614 = (Entity_Player *)(iVar9 + 2); - iVar73 = Isaac::Random(10); + iVar78 = Isaac::Random(10); uStack_608 = (double)((ulonglong)uStack_608 & 0xffffffff); dVar4 = uStack_608; local_5e4 = (Entity_Player *) ((((Entity_Player *)(iVar9 + 2))->_sprite)._filename._buf + - iVar73 + -0x42); + iVar78 + -0x42); if (0 < (int)local_5e4) { uStack_608._4_4_ = (void *)0x0; - pvVar58 = uStack_608._4_4_; + pvVar57 = uStack_608._4_4_; uStack_608 = dVar4; do { random_float(); - fVar65 = fVar65 * 10.0 - 5.0; + fVar66 = fVar66 * 10.0 - 5.0; Vector::Rotated(); random_float(); - fStack_7b8 = fVar65; + fStack_7b8 = fVar66; Vector::__mul(); puVar35 = (undefined4 *)std::vector::operator_index(); Entity::Position((Entity *)*puVar35); Vector::__add(); Random(); - if ((int)pvVar58 < (int)pEStack_614) { + if ((int)pvVar57 < (int)pEStack_614) { uStack_7bc = 0x3e4ccccd; Vector::__mul(); piVar33 = (int *)Game::Spawn(); @@ -258850,8 +259111,8 @@ LAB_005c0516: (**(code **)(*piVar33 + 0xc))(); FUN_00444c70(); } - pvVar58 = (void *)((int)pvVar58 + 1); - } while ((int)pvVar58 < (int)local_5e4); + pvVar57 = (void *)((int)pvVar57 + 1); + } while ((int)pvVar57 < (int)local_5e4); pEVar10 = local_5e0; } bVar5 = HasCollectible(pEVar10,0x248,0); @@ -258875,8 +259136,8 @@ LAB_005c0516: LAB_005c0845: pEVar10 = (Entity_Player *)&pEVar10->field_0x1; local_5f8 = pEVar10; - puVar66 = (undefined1 *)EntityList::Size(); - } while (pEVar10 < puVar66); + puVar25 = (undefined1 *)EntityList::Size(); + } while (pEVar10 < puVar25); if (local_5d9 != 0) { Game::ShakeScreen(g_game,6); SoundEffects::PlayWithFartOverride(); @@ -258892,7 +259153,7 @@ LAB_005c0845: } } LAB_005b40d0: - cVar6 = (char)local_5e8; + cVar7 = (char)local_5e8; goto joined_r0x005b3ea7; case 0x39: if (local_5e0->_variant == 0) { @@ -258908,7 +259169,7 @@ LAB_005b40d0: if (local_5e0->_variant == 0) { local_5ec = (Entity_Player *)FUN_005cbd00(); uStack_7c4 = 2; - iStack_7c0 = (int)pEVar55->_luck + 0xc; + iStack_7c0 = (int)this_01->_luck + 0xc; puVar44 = (uint *)std::max(); uVar59 = RNG::RandomInt((RNG *)local_5ec,*puVar44); uStack_608 = (double)CONCAT44(uVar59,(void *)uStack_608); @@ -258923,15 +259184,15 @@ LAB_005b40d0: } else if (uStack_608._4_4_ == (void *)0x1) { RNG::Next((RNG *)local_5ec); - uVar54 = Game::Spawn(); - uStack_608 = (double)CONCAT44(uVar54,(void *)uStack_608); + uVar51 = Game::Spawn(); + uStack_608 = (double)CONCAT44(uVar51,(void *)uStack_608); SoundEffects::PlayWithFartOverride(); Random(); piVar33 = (int *)Game::Spawn(); pcVar3 = *(code **)(*piVar33 + 0x3c); ::Color::Color(); (*pcVar3)(); - pEVar55 = local_5e0; + this_01 = local_5e0; piVar33 = (int *)uStack_608._4_4_; } else { @@ -258943,11 +259204,11 @@ LAB_005b40d0: } Entity::ClearEntityFlags(); (**(code **)(*piVar33 + 0xc))(); - uVar7 = local_5fc._1_1_; + uVar6 = local_5fc._1_1_; if (local_5f8 != (Entity_Player *)0x0) { - uVar7 = 1; + uVar6 = 1; } - local_5fc = CONCAT11(uVar7,(char)local_5fc); + local_5fc = CONCAT11(uVar6,(char)local_5fc); } goto LAB_005bc1f8; case 0x3c: @@ -258956,8 +259217,8 @@ LAB_005b40d0: uStack_14 = 0x2d; FUN_005cbb40(); Level::GetCurrentRoom((Level *)g_game); - uVar54 = Room::GetEntities(); - uStack_608 = (double)CONCAT44(uVar54,(void *)uStack_608); + uVar51 = Room::GetEntities(); + uStack_608 = (double)CONCAT44(uVar51,(void *)uStack_608); uVar59 = 0; iVar9 = EntityList::Size(); if (iVar9 != 0) { @@ -258968,14 +259229,14 @@ LAB_005b40d0: std::vector::operator_index(); pEStack_7c8 = (Entity_Pickup *)__RTDynamicCast(); if ((pEStack_7c8 != (Entity_Pickup *)0x0) && - (cVar6 = Entity_Pickup::IsShopItem(pEStack_7c8), cVar6 != '\0')) { + (cVar7 = Entity_Pickup::IsShopItem(pEStack_7c8), cVar7 != '\0')) { std::vector::push_back(); } } uVar59 = uVar59 + 1; uVar11 = EntityList::Size(); } while (uVar59 < uVar11); - pEVar55 = local_5e0; + this_01 = local_5e0; } iVar9 = std::vector::size(); if (iVar9 != 0) { @@ -258984,7 +259245,7 @@ LAB_005b40d0: RNG::RandomInt(pRVar8,uVar59); FUN_0042c810(); Entity_Pickup::update_price_sprite(); - pEVar55 = local_5e0; + this_01 = local_5e0; } uStack_14 = -1; FID_conflict__Tidy(auStack_754); @@ -259001,8 +259262,8 @@ LAB_005b83be: case 0x3e: if (local_5e0->_variant == 0) { local_5f0 = (Entity_Player *)&local_5e0->_movingBoxContents; - cVar6 = FUN_004bc660(); - if (cVar6 == '\0') { + cVar7 = FUN_004bc660(); + if (cVar7 == '\0') { SoundEffects::PlayWithFartOverride(); FUN_005b19d0(); FUN_005cba40(); @@ -259014,8 +259275,8 @@ LAB_005b83be: if (iVar9 != 0) { do { FUN_005cbe60(); - uVar54 = Game::Spawn(); - uStack_608 = (double)CONCAT44(uVar54,(void *)uStack_608); + uVar51 = Game::Spawn(); + uStack_608 = (double)CONCAT44(uVar51,(void *)uStack_608); Level::GetCurrentRoom((Level *)g_game); pEVar37 = (Entity_Pickup *)uStack_608._4_4_; Entity_Pickup::RestoreState(); @@ -259026,8 +259287,8 @@ LAB_005b83be: uStack_7d0 = Entity_Pickup::OptionsPickupIndex(pEVar37); std::set::find(); std::iterator_copy(); - cVar6 = FUN_00557bb0(); - if (cVar6 == '\0') { + cVar7 = FUN_00557bb0(); + if (cVar7 == '\0') { FUN_005cba30(); FUN_005b1970(); } @@ -259039,8 +259300,8 @@ LAB_005b83be: } } local_5e4 = (Entity_Player *)((int)local_5e4 + 1); - pvVar58 = (void *)FUN_005cbe80(); - } while (local_5e4 < pvVar58); + pvVar57 = (void *)FUN_005cbe80(); + } while (local_5e4 < pvVar57); } FUN_005b19d0(); local_5e4 = (Entity_Player *)0x0; @@ -259052,14 +259313,14 @@ LAB_005b83be: Level::GetCurrentRoom((Level *)g_game); Room::FindFreePickupSpawnPosition(); Entity::SetPosition(pEVar31); - puVar24 = &local_5e4->field_0x1; - local_5e4 = (Entity_Player *)puVar24; - puVar66 = (undefined1 *)std::vector::size(); - } while (puVar24 < puVar66); - pEVar55 = local_5e0; + puVar60 = &local_5e4->field_0x1; + local_5e4 = (Entity_Player *)puVar60; + puVar25 = (undefined1 *)std::vector::size(); + } while (puVar60 < puVar25); + this_01 = local_5e0; } FUN_00571170(); - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { AddWisp(); } @@ -259081,22 +259342,22 @@ LAB_005b83be: std::vector::operator_index(); pEStack_624 = (Entity_Pickup *)FUN_00435e30(); if ((pEStack_624 != (Entity_Pickup *)0x0) && - (cVar6 = Entity::IsDead((Entity *)pEStack_624), cVar6 == '\0')) { + (cVar7 = Entity::IsDead((Entity *)pEStack_624), cVar7 == '\0')) { local_609 = FUN_006ee330(); bVar5 = Entity_Pickup::CanReroll(pEStack_624); - if (((((bVar5 != 0) && (cVar6 = Entity_Pickup::IsShopItem(pEStack_624), cVar6 == '\0')) + if (((((bVar5 != 0) && (cVar7 = Entity_Pickup::IsShopItem(pEStack_624), cVar7 == '\0')) && ((iVar9 = Entity::Variant((Entity *)pEStack_624), iVar9 != 100 || (iVar9 = Entity::SubType((Entity *)pEStack_624), iVar9 != 0)))) && ((local_609 == 0 || (iVar9 = Entity::SubType((Entity *)pEStack_624), iVar9 != 0)))) && ((iVar9 = Entity_Pickup::Timeout(pEStack_624), iVar9 < 0 && - (cVar6 = Entity::IsDead((Entity *)pEStack_624), cVar6 == '\0')))) { + (cVar7 = Entity::IsDead((Entity *)pEStack_624), cVar7 == '\0')))) { std::vector::push_back(); } } uVar59 = uVar59 + 1; uVar11 = EntityList::Size(); } while (uVar59 < uVar11); - pEVar55 = local_5e0; + this_01 = local_5e0; } iVar9 = std::vector::size(); if (iVar9 != 0) { @@ -259107,15 +259368,15 @@ LAB_005b83be: puVar35 = (undefined4 *)FUN_0042c810(); pEVar10 = (Entity_Player *)*puVar35; local_5e4 = pEVar10; - cVar6 = FUN_006ee330(); - if ((cVar6 != '\0') || (iVar9 = Entity::Variant((Entity *)pEVar10), iVar9 == 100)) { + cVar7 = FUN_006ee330(); + if ((cVar7 != '\0') || (iVar9 = Entity::Variant((Entity *)pEVar10), iVar9 == 100)) { local_5d9 = 1; } EntitySaveState::constructor(aEStack_1818); uStack_14 = CONCAT31(uStack_14._1_3_,0x2f); Level::GetCurrentRoom((Level *)g_game); - cVar6 = Entity_Pickup::CanFlip(); - if (cVar6 != '\0') { + cVar7 = Entity_Pickup::CanFlip(); + if (cVar7 != '\0') { FUN_004d7100(); iVar9 = Entity_Pickup::Timeout((Entity_Pickup *)pEVar10); if (iVar9 < 0) { @@ -259132,7 +259393,7 @@ LAB_005b83be: uVar59 = uVar59 + 1; uVar11 = std::vector::size(); } while (uVar59 < uVar11); - pEVar55 = local_5e0; + this_01 = local_5e0; if (local_5d9 != 0) { Level::GetCurrentRoom((Level *)g_game); iVar9 = GridEntity::GetVariant(); @@ -259141,8 +259402,8 @@ LAB_005b83be: iVar9 = GridEntity::GetVariant(); if (iVar9 != 0x11) goto LAB_005c1127; } - pAVar51 = (Ambush *)Game::GetAmbush(g_game); - Ambush::StartChallenge(pAVar51); + pAVar52 = (Ambush *)Game::GetAmbush(g_game); + Ambush::StartChallenge(pAVar52); } } LAB_005c1127: @@ -259170,8 +259431,8 @@ LAB_005c1127: Entity::SetTarget((Entity *)uStack_608._4_4_); (**(code **)(*(int *)pEVar31 + 0xc))(); } - cVar6 = (char)local_5e8; - pEVar55 = local_5e0; + cVar7 = (char)local_5e8; + this_01 = local_5e0; goto joined_r0x005c14d7; case 0x40: if (local_5e0->_variant == 0) { @@ -259190,8 +259451,8 @@ LAB_005c1127: pEVar45 = (Entity_Familiar *)FUN_00435de0(); if (pEVar45 != (Entity_Familiar *)0x0) { pEVar10 = (Entity_Player *)Entity_Familiar::Player(pEVar45); - if (pEVar10 == pEVar55) { - if (pEVar55->_playerType == 0xd) { + if (pEVar10 == this_01) { + if (this_01->_playerType == 0xd) { iVar9 = Entity::Variant((Entity *)pEVar45); if (iVar9 == 0x50) goto LAB_005c1788; } @@ -259225,8 +259486,8 @@ LAB_005c1127: else { iVar9 = Entity::Variant((Entity *)pEVar45); if (iVar9 != 0xed) { - cVar6 = FUN_005b18e0(); - if (cVar6 == '\0') { + cVar7 = FUN_005b18e0(); + if (cVar7 == '\0') { iVar9 = FUN_00417490(); if ((*(uint *)(iVar9 + 0xd8) & 0x20) != 0) { pEStack_7e0 = pEVar45; @@ -259248,16 +259509,16 @@ LAB_005c1127: } } local_5d9 = 1; - pEVar55 = local_5e0; + this_01 = local_5e0; } } LAB_005c1788: - puVar24 = &local_5e4->field_0x1; - local_5e4 = (Entity_Player *)puVar24; - puVar66 = (undefined1 *)EntityList::Size(); - } while (puVar24 < puVar66); + puVar60 = &local_5e4->field_0x1; + local_5e4 = (Entity_Player *)puVar60; + puVar25 = (undefined1 *)EntityList::Size(); + } while (puVar60 < puVar25); } - local_5f0 = (Entity_Player *)&pEVar55->_collectibleRNGs; + local_5f0 = (Entity_Player *)&this_01->_collectibleRNGs; FUN_005cbd00(); FUN_00456190(); std::iterator_copy(); @@ -259268,7 +259529,7 @@ LAB_005c1788: pEStack_614 = (Entity_Player *)*puVar35; local_600 = (Entity_Player *)0x0; if (pEStack_614 == (Entity_Player *)0x0) { - pEVar55 = local_5e0; + this_01 = local_5e0; if (local_5d9 != 0) goto LAB_005c1a82; } else { @@ -259281,7 +259542,7 @@ LAB_005c1788: Entity::Position((Entity *)pEVar10); piVar33 = (int *)Game::Spawn(); (**(code **)(*piVar33 + 0xc))(); - FUN_0063b8b0(); + Entity_Familiar::RemoveFromPlayer((Entity_Familiar *)pEVar10,1); iVar9 = Entity::Variant((Entity *)pEVar10); if (((iVar9 == 0x20) || (iVar9 = Entity::Variant((Entity *)pEVar10), iVar9 == 0x53)) || (iVar9 = Entity::Variant((Entity *)pEVar10), iVar9 == 0x5c)) { @@ -259299,37 +259560,37 @@ LAB_005c1788: Game::GetItemPool(g_game); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - uVar54 = ItemPool::get_available_collectibles(); - uStack_608 = (double)CONCAT44(uVar54,(void *)uStack_608); + uVar51 = ItemPool::get_available_collectibles(); + uStack_608 = (double)CONCAT44(uVar51,(void *)uStack_608); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); Level::GetCurrentRoom((Level *)g_game); Entity::Position((Entity *)local_5ec); Room::FindFreePickupSpawnPosition(); - pvVar58 = uStack_608._4_4_; + pvVar57 = uStack_608._4_4_; Game::Spawn(); __RTDynamicCast(); FUN_005b1990(); - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); - ItemPool::AddRoomBlacklist(pIVar53,(int)pvVar58); - pEVar55 = local_5e0; + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); + ItemPool::AddRoomBlacklist(pIVar54,(int)pvVar57); + this_01 = local_5e0; bVar5 = HasCollectible(local_5e0,0x3b,0); if (bVar5 != 0) { - pEVar55->_redStewBonusDuration = pEVar55->_redStewBonusDuration + 0xa8c; + this_01->_redStewBonusDuration = this_01->_redStewBonusDuration + 0xa8c; } local_600 = (Entity_Player *)&local_600->field_0x1; } while (local_600 < pEStack_614); LAB_005c1a82: - uVar7 = local_5fc._1_1_; + uVar6 = local_5fc._1_1_; if (local_5f8 != (Entity_Player *)0x0) { - uVar7 = 1; + uVar6 = 1; } - local_5fc = CONCAT11(uVar7,(char)local_5fc); + local_5fc = CONCAT11(uVar6,(char)local_5fc); Game::Darken(g_game); SoundEffects::PlayWithFartOverride(); - AddNullCostume(pEVar55,0x2b); + AddNullCostume(this_01,0x2b); if (local_609 != 0) { - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if (bVar5 != 0) { if ((char)local_610 != '\0') { AddWisp(); @@ -259344,8 +259605,8 @@ LAB_005bc1f8: bVar5 = 0; if ((char)local_5e8 != '\0') { LAB_005b8f47: - AnimateCollectible(pEVar55); - pEVar55 = local_5e0; + AnimateCollectible(this_01); + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } @@ -259354,8 +259615,8 @@ LAB_005b8f47: local_5d9 = '\0'; local_5ec = (Entity_Player *)FUN_005cbd00(); Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0x33; FUN_005cbb00(); uStack_14 = CONCAT31(uStack_14._1_3_,0x34); @@ -259366,7 +259627,7 @@ LAB_005b8f47: puVar35 = (undefined4 *)std::vector::operator_index(); uStack_7ec = *puVar35; pEVar10 = (Entity_Player *)Entity_Familiar::Player(); - if (pEVar10 == pEVar55) { + if (pEVar10 == this_01) { std::deque::push_front(); } uVar59 = uVar59 + 1; @@ -259375,35 +259636,35 @@ LAB_005b8f47: } Level::GetCurrentRoom((Level *)g_game); local_600 = (Entity_Player *)FUN_004e4840(); - cVar6 = FUN_004073a0(); - if (cVar6 == '\0') { + cVar7 = FUN_004073a0(); + if (cVar7 == '\0') { pEVar10 = (Entity_Player *)0x0; local_5e4 = (Entity_Player *)0x0; FUN_0042c770(); do { std::iterator_copy(); - cVar6 = FUN_0042c710(); - this_00 = local_5ec; - if (cVar6 == '\0') break; + cVar7 = FUN_0042c710(); + pEVar67 = local_5ec; + if (cVar7 == '\0') break; if (((int)pEVar10 < 1) || (uVar59 = RNG::RandomInt((RNG *)local_5ec,3), uVar59 != 0)) { puVar35 = (undefined4 *)FUN_0042c700(); VStack_6ec.x = (float)*puVar35; VStack_6ec.y = (float)puVar35[1]; - uVar59 = RNG::RandomInt((RNG *)this_00,5); + uVar59 = RNG::RandomInt((RNG *)pEVar67,5); if (uVar59 == 0) { uVar11 = 4; - uVar59 = RNG::Next((RNG *)this_00); - RNG::game_constructor(aRStack_188,uVar59,uVar11); + uVar59 = RNG::Next((RNG *)pEVar67); + RNG::game_constructor(&RStack_188,uVar59,uVar11); uStack_14 = CONCAT31(uStack_14._1_3_,0x35); pEVar10 = (Entity_Player *)0xe3; local_5f8 = (Entity_Player *)0x0; - uVar59 = RNG::RandomInt(aRStack_188,4); + uVar59 = RNG::RandomInt(&RStack_188,4); if (uVar59 == 0) { pEVar10 = (Entity_Player *)0x115; } local_5f0 = pEVar10; - uVar54 = FUN_00417910(); - uStack_608 = (double)CONCAT44(uVar54,(void *)uStack_608); + uVar51 = FUN_00417910(); + uStack_608 = (double)CONCAT44(uVar51,(void *)uStack_608); iVar9 = FUN_0042c700(); uVar1 = *(ushort *)(iVar9 + 0xe); iVar9 = FUN_0042c700(); @@ -259412,37 +259673,37 @@ LAB_005b8f47: pEVar46 = EntityConfig::GetEntity ((EntityConfig *)uStack_608._4_4_,*(int *)(iVar9 + 8),(uint)uVar2, (uint)uVar1); - uVar59 = RNG::RandomInt(aRStack_188,4); + uVar59 = RNG::RandomInt(&RStack_188,4); if ((uVar59 == 0) && - ((cVar6 = str_ne(), cVar6 != '\0' || (pEVar46->gridCollisionPoints == 0)))) { + ((cVar7 = str_ne(), cVar7 != '\0' || (pEVar46->gridCollisionPoints == 0)))) { pPVar15 = (PersistentGameData *)Room::GetTopLeftPos((Room *)g_manager); iVar9 = PersistentGameData::GetBestiaryKillCount(pPVar15,0x19,4); if (iVar9 == 0) { FUN_00421780(); - cVar6 = FUN_005b1840(); - if (cVar6 == '\0') goto LAB_005c1db9; + cVar7 = FUN_005b1840(); + if (cVar7 == '\0') goto LAB_005c1db9; } local_5f0 = (Entity_Player *)0x19; local_5f8 = (Entity_Player *)&DAT_00000004; } LAB_005c1db9: - uVar59 = RNG::RandomInt(aRStack_188,4); + uVar59 = RNG::RandomInt(&RStack_188,4); if (uVar59 == 0) { Config::GetCollectibles(); uStack_608._4_4_ = (void *)pEVar46->stageHP; - pEVar26 = (Entity_Player *)pEVar46->baseHP; - pEStack_614 = pEVar26; + pEVar65 = (Entity_Player *)pEVar46->baseHP; + pEStack_614 = pEVar65; Config::GetCollectibles(); FUN_0074b9a0(); - uStack_608 = (double)CONCAT44(pEVar26,(void *)uStack_608); + uStack_608 = (double)CONCAT44(pEVar65,(void *)uStack_608); FUN_0074b9a0(); - if ((float)pEVar26 <= (float)uStack_608._4_4_) { + if ((float)pEVar65 <= (float)uStack_608._4_4_) { pPVar15 = (PersistentGameData *)Room::GetTopLeftPos((Room *)g_manager); iVar9 = PersistentGameData::GetBestiaryKillCount(pPVar15,0x33e,0); if (iVar9 == 0) { FUN_00421780(); - cVar6 = FUN_005b1840(); - if (cVar6 == '\0') goto LAB_005c1e97; + cVar7 = FUN_005b1840(); + if (cVar7 == '\0') goto LAB_005c1e97; } local_5f8 = (Entity_Player *)0x0; } @@ -259450,17 +259711,17 @@ LAB_005c1db9: LAB_005c1e97: pGVar47 = (Game *)Config::GetCollectibles(); uVar59 = Game::GetStageID(pGVar47,0); - uVar11 = RNG::RandomInt(aRStack_188,100); + uVar11 = RNG::RandomInt(&RStack_188,100); if ((uVar11 == 0) || - ((uVar11 = RNG::RandomInt(aRStack_188,0xc), uVar11 != 0 && + ((uVar11 = RNG::RandomInt(&RStack_188,0xc), uVar11 != 0 && ((((uVar59 == 0xe || (uVar59 == 0x10)) || (uVar59 == 0x1f)) || (uVar59 == 0x20)))))) { pPVar15 = (PersistentGameData *)Room::GetTopLeftPos((Room *)g_manager); iVar9 = PersistentGameData::GetBestiaryKillCount(pPVar15,0x349,0); if (iVar9 == 0) { FUN_00421780(); - cVar6 = FUN_005b1840(); - if (cVar6 == '\0') goto LAB_005c1f2d; + cVar7 = FUN_005b1840(); + if (cVar7 == '\0') goto LAB_005c1f2d; } local_5f8 = (Entity_Player *)0x0; } @@ -259468,11 +259729,11 @@ LAB_005c1f2d: RNG::Next((RNG *)local_5ec); pEVar31 = (Entity *)Game::Spawn(); pEVar31 = (Entity *)Entity::to_npc_or_coop_player(pEVar31); - bVar69 = 0; + bVar72 = 0; bVar5 = 0; iVar9 = -1; pEVar48 = (EntityRef *)EntityRef::EntityRef(); - Entity::AddCharmed(pEVar31,pEVar48,iVar9,bVar5,bVar69); + Entity::AddCharmed(pEVar31,pEVar48,iVar9,bVar5,bVar72); (**(code **)(*(int *)pEVar31 + 0xc))(); Entity::SetVisibleFlag(); Entity::MaxHitPoints(); @@ -259490,12 +259751,12 @@ LAB_005c1f2d: (**(code **)(*(int *)*puVar35 + 0x28))(); FUN_00499560(); } - pEStack_674 = AddBoneOrbital(pEVar55,&VStack_6ec); + pEStack_674 = AddBoneOrbital(this_01,&VStack_6ec); MusicManager::RandomVector(); uStack_7f0 = 0x41000000; Vector::__mul(); random_float(); - pEStack_7f4 = pEVar26; + pEStack_7f4 = pEVar65; Vector::__mul(); Entity::SetVelocity(pEStack_674); Entity::ClearEntityFlags(); @@ -259503,11 +259764,11 @@ LAB_005c1f2d: } ::Color::Color(); random_float(); - fVar65 = (float)pEVar26 * 3.0 + 2.0; + fVar66 = (float)pEVar65 * 3.0 + 2.0; Game::SpawnParticles(); random_float(); - pEVar26 = (Entity_Player *)(fVar65 * 3.0 + 2.0); - pEStack_7f8 = pEVar26; + pEVar65 = (Entity_Player *)(fVar66 * 3.0 + 2.0); + pEStack_7f8 = pEVar65; iVar9 = Isaac::Random(2); local_5f0 = (Entity_Player *)(iVar9 + 2); if (0 < (int)local_5f0) { @@ -259528,7 +259789,7 @@ LAB_005c1f2d: puVar35 = (undefined4 *)FUN_004f8460(); local_5d9 = '\x01'; pvStack_628 = (void *)*puVar35; - pEVar55 = local_5e0; + this_01 = local_5e0; } else { FUN_004f8390(); @@ -259537,8 +259798,8 @@ LAB_005c1f2d: } while ((int)pEVar10 < 8); } Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + if (cVar7 != '\0') { FUN_00424510(); uStack_14 = CONCAT31(uStack_14._1_3_,0x36); uVar59 = 0; @@ -259548,8 +259809,8 @@ LAB_005c1f2d: do { pPVar14 = (PlayerManager *)Game::GetPlayerManager(g_game); pEVar10 = PlayerManager::GetPlayer(pPVar14,uVar59); - cVar6 = IsCoopGhost(pEVar10); - if (cVar6 != '\0') { + cVar7 = IsCoopGhost(pEVar10); + if (cVar7 != '\0') { pPVar14 = (PlayerManager *)Game::GetPlayerManager(g_game); pEVar10 = PlayerManager::GetPlayer(pPVar14,uVar59); Entity::Position((Entity *)pEVar10); @@ -259569,19 +259830,19 @@ LAB_005c1f2d: if (uVar59 == 0) { uVar11 = 4; uVar59 = RNG::Next((RNG *)local_5ec); - RNG::game_constructor(aRStack_1a8,uVar59,uVar11); + RNG::game_constructor(&RStack_1a8,uVar59,uVar11); uStack_14 = CONCAT31(uStack_14._1_3_,0x37); pEVar10 = (Entity_Player *)0xe3; - uVar59 = RNG::RandomInt(aRStack_1a8,4); + uVar59 = RNG::RandomInt(&RStack_1a8,4); if (uVar59 == 0) { pEVar10 = (Entity_Player *)0x115; } - uVar59 = RNG::RandomInt(aRStack_1a8,4); + uVar59 = RNG::RandomInt(&RStack_1a8,4); if (uVar59 == 0) { pEVar10 = (Entity_Player *)0x33e; } local_5e4 = pEVar10; - uVar59 = RNG::RandomInt(aRStack_1a8,100); + uVar59 = RNG::RandomInt(&RStack_1a8,100); if (uVar59 == 0) { pPVar15 = (PersistentGameData *)Room::GetTopLeftPos((Room *)g_manager); iVar9 = PersistentGameData::GetBestiaryDeathCount(pPVar15,0x349,0); @@ -259594,11 +259855,11 @@ LAB_005c1f2d: std::vector::operator__(); pEVar31 = (Entity *)Game::Spawn(); pEVar31 = (Entity *)Entity::to_npc_or_coop_player(pEVar31); - bVar69 = 0; + bVar72 = 0; bVar5 = 0; iVar9 = -1; pEVar48 = (EntityRef *)EntityRef::EntityRef(); - Entity::AddCharmed(pEVar31,pEVar48,iVar9,bVar5,bVar69); + Entity::AddCharmed(pEVar31,pEVar48,iVar9,bVar5,bVar72); (**(code **)(*(int *)pEVar31 + 0xc))(); Entity::SetVisibleFlag(); Entity::MaxHitPoints(); @@ -259617,12 +259878,12 @@ LAB_005c1f2d: FUN_00499560(); } pVVar19 = (Vector *)std::vector::operator__(); - pEStack_69c = AddBoneOrbital(pEVar55,pVVar19); + pEStack_69c = AddBoneOrbital(this_01,pVVar19); MusicManager::RandomVector(); uStack_7fc = 0x41000000; Vector::__mul(); random_float(); - pEStack_800 = pEVar26; + pEStack_800 = pEVar65; Vector::__mul(); Entity::SetVelocity(pEStack_69c); Entity::ClearEntityFlags(); @@ -259630,13 +259891,13 @@ LAB_005c1f2d: } ::Color::Color(); random_float(); - uStack_608 = (double)CONCAT44((float)pEVar26 * 3.0 + 2.0,(void *)uStack_608); + uStack_608 = (double)CONCAT44((float)pEVar65 * 3.0 + 2.0,(void *)uStack_608); std::vector::operator__(); - pvVar58 = uStack_608._4_4_; + pvVar57 = uStack_608._4_4_; Game::SpawnParticles(); random_float(); - pEVar26 = (Entity_Player *)((float)pvVar58 * 3.0 + 2.0); - pEStack_804 = pEVar26; + pEVar65 = (Entity_Player *)((float)pvVar57 * 3.0 + 2.0); + pEStack_804 = pEVar65; iVar9 = Isaac::Random(2); local_5e4 = (Entity_Player *)(iVar9 + 2); if (0 < (int)local_5e4) { @@ -259653,12 +259914,12 @@ LAB_005c1f2d: local_5e4 = (Entity_Player *)((int)&local_5e4[-1]._replacedPlayer + 3); } while (local_5e4 != (Entity_Player *)0x0); local_5e4 = (Entity_Player *)0x0; - pEVar55 = local_5e0; + this_01 = local_5e0; } - puVar24 = &local_5f0->field_0x1; - local_5f0 = (Entity_Player *)puVar24; - puVar66 = (undefined1 *)FUN_0042f160(); - } while (puVar24 < puVar66); + puVar60 = &local_5f0->field_0x1; + local_5f0 = (Entity_Player *)puVar60; + puVar25 = (undefined1 *)FUN_0042f160(); + } while (puVar60 < puVar25); } uStack_14 = CONCAT31(uStack_14._1_3_,0x34); std::vector::_Tidy(); @@ -259667,12 +259928,12 @@ LAB_005c1f2d: SoundEffects::PlayWithFartOverride(); } if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); } std::deque<4byte>::~deque(); uStack_14 = -1; EntityList_Query::~EntityList_Query(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x42: @@ -259690,10 +259951,10 @@ LAB_005b83e0: Entity::Position((Entity *)local_5e0); local_5f0 = (Entity_Player *)Room::GetGridIndex(pRVar28); Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0xb; - pEVar26 = (Entity_Player *)0x0; + pEVar67 = (Entity_Player *)0x0; local_5ec = (Entity_Player *)0x0; iVar9 = EntityList::Size(); if (iVar9 != 0) { @@ -259704,9 +259965,9 @@ LAB_005b83e0: if (iVar9 == 0) { pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); Entity::Position((Entity *)local_5e4); - pEVar26 = (Entity_Player *)Room::GetGridIndex(pRVar28); - if (pEVar26 == local_5f0) { - if (local_5f4 == (undefined1 *)0x228) { + pEVar67 = (Entity_Player *)Room::GetGridIndex(pRVar28); + if (pEVar67 == local_5f0) { + if (local_5f4 == (Entity_Player *)0x228) { pPVar15 = (PersistentGameData *)Room::GetTopLeftPos((Room *)g_manager); bVar5 = PersistentGameData::Unlocked(pPVar15,0x186); if (bVar5 == 0) { @@ -259719,14 +259980,14 @@ LAB_005b83e0: Entity_Effect::set_state((Entity_Effect *)local_5e4); uVar11 = 5; uVar59 = Entity::InitSeed((Entity *)pEVar10); - RNG::game_constructor(aRStack_1c8,uVar59,uVar11); + RNG::game_constructor(&RStack_1c8,uVar59,uVar11); uStack_14._0_1_ = 0xc; Entity::Position((Entity *)pEVar10); Entity_Pickup::GetRandomPickupVelocity(); - RNG::Next(aRStack_1c8); + RNG::Next(&RStack_1c8); uStack_95c = 0x40800000; Vector::__mul(); - RNG::RandomInt(aRStack_1c8,3); + RNG::RandomInt(&RStack_1c8,3); pEVar10 = local_5e0; Game::Spawn(); SoundEffects::PlayWithFartOverride(); @@ -259736,14 +259997,14 @@ LAB_005b83e0: guard_check_icall(); } LAB_005b862a: - pEVar26 = local_5ec; + pEVar67 = local_5ec; } - pEVar26 = (Entity_Player *)&pEVar26->field_0x1; - local_5ec = pEVar26; - puVar66 = (undefined1 *)EntityList::Size(); - } while (pEVar26 < puVar66); + pEVar67 = (Entity_Player *)&pEVar67->field_0x1; + local_5ec = pEVar67; + puVar25 = (undefined1 *)EntityList::Size(); + } while (pEVar67 < puVar25); } - if ((local_5f4 == (undefined1 *)0x228) && + if ((local_5f4 == (Entity_Player *)0x228) && (bVar5 = HasCollectible(pEVar10,0x248,0), bVar5 != 0)) { AddWisp(); } @@ -259751,9 +260012,9 @@ LAB_005b862a: EntityList_Query::~EntityList_Query(); if ((local_5e0->_variant == 0) && (local_5d9 != 0)) { Level::GetCurrentRoom((Level *)g_game); - cVar6 = Room::is_type_16(); - pEVar55 = local_5e0; - if (cVar6 == '\0') { + cVar7 = Room::is_type_16(); + this_01 = local_5e0; + if (cVar7 == '\0') { pvStack_65c = (void *)(local_5e0->_pos).y; pvStack_660 = (void *)(local_5e0->_pos).x; Level::GetCurrentRoom((Level *)g_game); @@ -259775,7 +260036,7 @@ LAB_005b862a: fVar64 = (float10)Vector::LengthSquared(); local_5ec = (Entity_Player *)(float)fVar64; if ((float)local_5ec < 4900.0) { - iVar73 = 0x14; + iVar78 = 0x14; goto LAB_005b87b2; } } @@ -259790,24 +260051,24 @@ LAB_005b862a: goto LAB_005b8b6f; } } - pEVar55 = local_5e0; + this_01 = local_5e0; goto LAB_005b8b6f; case 0x44: if (local_5e0->_variant == 0) { AddCoins(local_5e0,-5); SoundEffects::PlayWithFartOverride(); - pEVar55 = local_5e0; + this_01 = local_5e0; } goto LAB_005b46d8; case 0x45: if (local_5e0->_variant == 0) { SoundEffects::PlayWithFartOverride(); } - TemporaryEffects::AddCollectibleEffect(&pEVar55->_temporaryeffects,0x76,0,1); + TemporaryEffects::AddCollectibleEffect(&this_01->_temporaryeffects,0x76,0,1); pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); bVar5 = 0; - pIVar23 = ItemConfig::GetCollectible(pIVar12,0x76); - AddCostume(pEVar55,pIVar23,bVar5); + pIVar24 = ItemConfig::GetCollectible(pIVar12,0x76); + AddCostume(this_01,pIVar24,bVar5); goto LAB_005bdf0b; case 0x46: if (bVar5 != 0) { @@ -259816,13 +260077,13 @@ LAB_005b862a: pRVar8 = (RNG *)FUN_005cbd00(); SoundEffects::PlayWithFartOverride(); local_5ec = (Entity_Player *)0x0; - fVar65 = RNG::RandomFloat(pRVar8); - uStack_608 = (double)fVar65; + fVar66 = RNG::RandomFloat(pRVar8); + uStack_608 = (double)fVar66; if (0.03 <= uStack_608) { if (0.167 <= uStack_608) { if (0.333 <= uStack_608) { Game::ShowFortune(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } @@ -259840,26 +260101,26 @@ LAB_005b862a: Level::GetCurrentRoom((Level *)g_game); Room::FindFreePickupSpawnPosition(); Game::Spawn(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x47: if (bVar5 != 0) { AnimateCollectible(local_5e0); } - uVar7 = local_5fc._1_1_; + uVar6 = local_5fc._1_1_; if (local_5f8 != (Entity_Player *)0x0) { - uVar7 = 1; + uVar6 = 1; } - local_5fc = CONCAT11(uVar7,(char)local_5fc); + local_5fc = CONCAT11(uVar6,(char)local_5fc); AddCollectible(local_5e0,0x290,0,1,0,0,0); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x48: SoundEffects::PlayWithFartOverride(); Random(); - pEVar55 = local_5e0; + this_01 = local_5e0; pEVar50 = (Entity_Effect *)Game::Spawn(); Entity_Effect::SetTimeout(pEVar50); (**(code **)(*(int *)pEVar50 + 0xc))(); @@ -259867,10 +260128,10 @@ LAB_005b862a: case 0x49: UseRedKey(local_5e0); if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); } if ((-1 < (int)local_61c) && (iVar9 = Game::Challenge(g_game), iVar9 == 0x2c)) { - TemporaryEffects::AddNullEffect(&pEVar55->_temporaryeffects,0x6d,1,1); + TemporaryEffects::AddNullEffect(&this_01->_temporaryeffects,0x6d,1,1); } goto switchD_005bfbd8_caseD_11d; case 0x4a: @@ -259884,29 +260145,29 @@ LAB_005b78cc: if (bVar5 != 0) { AnimateCollectible(local_5e0); } - uVar7 = local_5fc._1_1_; + uVar6 = local_5fc._1_1_; if (local_5f8 != (Entity_Player *)0x0) { - uVar7 = 1; + uVar6 = 1; } - local_5fc = CONCAT11(uVar7,(char)local_5fc); + local_5fc = CONCAT11(uVar6,(char)local_5fc); pEVar31 = (Entity *)Entity_Effect::CreateTimer(); Entity::SetParent(pEVar31); - bVar5 = HasCollectible(pEVar55,0x3b,0); + bVar5 = HasCollectible(this_01,0x3b,0); if (bVar5 != 0) { FUN_00435cd0(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } goto LAB_005b3e24; case 0x4d: moms_bracelet_grab(local_5e0); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x4e: play_sound_with_fart_seed(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x4f: @@ -259915,8 +260176,8 @@ LAB_005b7f80: Game::GetItemPool(g_game); ItemPool::ResetRoomBlacklist(); Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 4; local_5e4 = (Entity_Player *)0x0; iVar9 = EntityList::Size(); @@ -259924,17 +260185,17 @@ LAB_005b7f80: do { puVar35 = (undefined4 *)std::vector::operator_index(); pEVar31 = (Entity *)*puVar35; - cVar6 = Entity::IsDead(pEVar31); - if ((cVar6 == '\0') && (iVar9 = Entity::SubType(pEVar31), iVar9 != 0)) { + cVar7 = Entity::IsDead(pEVar31); + if ((cVar7 == '\0') && (iVar9 = Entity::SubType(pEVar31), iVar9 != 0)) { pEVar37 = (Entity_Pickup *)__RTDynamicCast(); bVar5 = Entity_Pickup::CanReroll(pEVar37); if ((bVar5 != 0) && ((iVar9 = Entity_Pickup::OptionsPickupIndex(pEVar37), iVar9 == 0 || (iVar9 = Entity_Pickup::Timeout(pEVar37), iVar9 < 0)))) { - if (local_5f4 == (undefined1 *)0x261) { + if (local_5f4 == (Entity_Player *)0x261) { uVar11 = 0x2c; uVar59 = Entity::DropSeed((Entity *)pEVar37); - RNG::game_constructor(aRStack_264,uVar59,uVar11); + RNG::game_constructor(&RStack_264,uVar59,uVar11); uStack_14 = CONCAT31(uStack_14._1_3_,5); local_5f0 = (Entity_Player *)((uint)local_5f0 | 1); local_5ec = local_5f0; @@ -259953,12 +260214,12 @@ LAB_005b80bd: } if (local_5d9 == 0) { iVar9 = Entity::Variant((Entity *)pEVar37); - iVar73 = Entity::Type((Entity *)pEVar37); - Entity_Pickup::Morph(pEVar37,iVar73,iVar9,0,1,0,0); + iVar78 = Entity::Type((Entity *)pEVar37); + Entity_Pickup::Morph(pEVar37,iVar78,iVar9,0,1,0,0); FUN_005b1950(); bVar5 = HasCollectible(local_5e0,0x248,0); - if (((bVar5 != 0) && ((char)local_610 != '\0')) && (local_5f4 == (undefined1 *)0x69) - ) { + if (((bVar5 != 0) && ((char)local_610 != '\0')) && + (local_5f4 == (Entity_Player *)0x69)) { Entity::Position((Entity *)pEVar37); AddWisp(); } @@ -259966,8 +260227,8 @@ LAB_005b80bd: else { Entity_Pickup::empty_pedestal(); Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + if (cVar7 != '\0') { Random(); Entity::Position((Entity *)pEVar37); Game::Spawn(); @@ -259982,21 +260243,21 @@ LAB_005b80bd: Game::Spawn(); } } - puVar24 = &local_5e4->field_0x1; - local_5e4 = (Entity_Player *)puVar24; - puVar66 = (undefined1 *)EntityList::Size(); - } while (puVar24 < puVar66); + puVar60 = &local_5e4->field_0x1; + local_5e4 = (Entity_Player *)puVar60; + puVar25 = (undefined1 *)EntityList::Size(); + } while (puVar60 < puVar25); } bVar5 = HasCollectible(local_5e0,0x248,0); - if (((bVar5 != 0) && ((char)local_610 != '\0')) && (local_5f4 == (undefined1 *)0x261)) { + if (((bVar5 != 0) && ((char)local_610 != '\0')) && (local_5f4 == (Entity_Player *)0x261)) { iVar9 = Isaac::Random(2); if (iVar9 == 0) { AddWisp(); } else { Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = CONCAT31(uStack_14._1_3_,6); local_5e4 = (Entity_Player *)0x0; iVar9 = EntityList::Size(); @@ -260006,10 +260267,10 @@ LAB_005b80bd: pcVar3 = *(code **)(*(int *)*puVar35 + 0x24); EntityRef::EntityRef(); (*pcVar3)(); - puVar24 = &local_5e4->field_0x1; - local_5e4 = (Entity_Player *)puVar24; - puVar66 = (undefined1 *)EntityList::Size(); - } while (puVar24 < puVar66); + puVar60 = &local_5e4->field_0x1; + local_5e4 = (Entity_Player *)puVar60; + puVar25 = (undefined1 *)EntityList::Size(); + } while (puVar60 < puVar25); } EntityList_Query::~EntityList_Query(); } @@ -260031,8 +260292,8 @@ LAB_005b8358: iStack_830 = GetTotalActiveCharge(local_5e0,(int)local_61c); puVar35 = (undefined4 *)std::min(); local_5f0 = (Entity_Player *)*puVar35; - if ((pEVar55->_wildCardItemType == 2) && (pEVar55->_wildCardItem == 0x263)) { - pEVar55->_wildCardVarData = (int)local_5f0; + if ((this_01->_wildCardItemType == 2) && (this_01->_wildCardItem == 0x263)) { + this_01->_wildCardVarData = (int)local_5f0; } goto LAB_005c5161; } @@ -260045,7 +260306,7 @@ LAB_005c51c9: uStack_828 = 1; puVar35 = (undefined4 *)std::max(); local_5f0 = (Entity_Player *)*puVar35; - pEVar55 = local_5e0; + this_01 = local_5e0; LAB_005c5161: pEVar10 = local_5f0; if (((int)local_5f0 < 5) || ((int)local_5f0 < 9)) goto LAB_005c51c9; @@ -260072,12 +260333,12 @@ LAB_005c51d7: FUN_00429550(); (**(code **)(*(int *)pEVar50 + 0x40))(); (**(code **)(*(int *)pEVar50 + 0xc))(); - TemporaryEffects::RemoveCollectibleEffect(&pEVar55->_temporaryeffects,0x263,-1); + TemporaryEffects::RemoveCollectibleEffect(&this_01->_temporaryeffects,0x263,-1); TemporaryEffect::TemporaryEffect(); psStack_cbc = &local_5f0->_damageEvents; - TemporaryEffects::AddEffect(&pEVar55->_temporaryeffects,auStack_cc4,1,1); + TemporaryEffects::AddEffect(&this_01->_temporaryeffects,auStack_cc4,1,1); local_60a = '\0'; - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if (bVar5 != 0) { if ((char)local_610 != '\0') { pEVar31 = (Entity *)AddWisp(); @@ -260089,7 +260350,7 @@ LAB_005c51d7: uStack_608 = (double)CONCAT44((float)fVar64,(void *)uStack_608); Entity::SetField380(pEVar31); FUN_005b18d0(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } @@ -260107,7 +260368,7 @@ LAB_005c51d7: FUN_00428ae0(); GetMainTwin(); Game::StartRoomTransition(); - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { pEVar31 = (Entity *)Entity_Effect::CreateTimer(); GetMainTwin(); @@ -260120,7 +260381,7 @@ LAB_005c51d7: case 0x52: if (0 < local_5e0->_numKeys) { SetItemState(local_5e0); - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); } goto switchD_005bfbd8_caseD_11d; case 0x53: @@ -260128,9 +260389,9 @@ LAB_005c51d7: ItemConfig::GetCollectible(pIVar12,0x271); TemporaryEffect::TemporaryEffect(); Game::GetField26614(); - cVar6 = FUN_00429550(); + cVar7 = FUN_00429550(); pEVar10 = local_5e0; - if (cVar6 != '\0') { + if (cVar7 != '\0') { uStack_bdc = 300; } TemporaryEffects::AddEffect(&local_5e0->_temporaryeffects,auStack_be4,1,1); @@ -260169,25 +260430,25 @@ LAB_005c51d7: uVar11 = Sprite::GetLayerCount(pSVar16); } while (uVar59 < uVar11); } - pIVar57 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar57,0x2d,0,pEVar10); + pIVar56 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar56,0x2d,0,pEVar10); pEVar10->_visible = 0; } local_5d9 = (byte)local_5e8; } local_60a = '\0'; - pEVar55 = local_5e0; + this_01 = local_5e0; break; case 0x54: SoundEffects::PlayWithFartOverride(); Config::GetCollectibles(); FUN_007515c0(); - uVar7 = local_5fc._1_1_; + uVar6 = local_5fc._1_1_; if (local_5f8 != (Entity_Player *)0x0) { - uVar7 = 1; + uVar6 = 1; } - local_5fc = CONCAT11(uVar7,(char)local_5fc); - pEVar55 = local_5e0; + local_5fc = CONCAT11(uVar6,(char)local_5fc); + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x55: @@ -260195,8 +260456,8 @@ LAB_005c51d7: AnimateCollectible(local_5e0); } Level::GetCurrentRoom((Level *)g_game); - uVar54 = Room::GetEntities(); - uStack_608 = (double)CONCAT44(uVar54,(void *)uStack_608); + uVar51 = Room::GetEntities(); + uStack_608 = (double)CONCAT44(uVar51,(void *)uStack_608); iVar9 = EntityList::Size(); if (iVar9 != 0) { uVar59 = 0; @@ -260206,15 +260467,15 @@ LAB_005c51d7: local_5e4 = pEVar10; if (pEVar10 != (Entity_Player *)0x0) { local_609 = 0; - cVar6 = Entity::is_same_segmented_body((Entity *)pEVar10); - if ((cVar6 == '\0') || - (pEVar26 = (Entity_Player *)Entity::GetStatusEffectTarget((Entity *)pEVar10), - pEVar26 != pEVar10)) { - cVar6 = Entity::IsVulnerableEnemy((Entity *)pEVar10); - if ((cVar6 != '\0') && - (cVar6 = Entity::is_same_segmented_body((Entity *)pEVar10), cVar6 == '\0')) { - cVar6 = (**(code **)(*(int *)pEVar10 + 0x48))(); - if ((cVar6 == '\0') && (cVar6 = Entity::IsType((Entity *)pEVar10), cVar6 == '\0')) { + cVar7 = Entity::is_same_segmented_body((Entity *)pEVar10); + if ((cVar7 == '\0') || + (pEVar67 = (Entity_Player *)Entity::GetStatusEffectTarget((Entity *)pEVar10), + pEVar67 != pEVar10)) { + cVar7 = Entity::IsVulnerableEnemy((Entity *)pEVar10); + if ((cVar7 != '\0') && + (cVar7 = Entity::is_same_segmented_body((Entity *)pEVar10), cVar7 == '\0')) { + cVar7 = (**(code **)(*(int *)pEVar10 + 0x48))(); + if ((cVar7 == '\0') && (cVar7 = Entity::IsType((Entity *)pEVar10), cVar7 == '\0')) { bVar5 = Entity::IsType((Entity *)pEVar10); goto LAB_005c3a69; } @@ -260225,15 +260486,15 @@ LAB_005c51d7: FUN_00424510(); uStack_14 = 0x3a; do { - cVar6 = Entity::IsVulnerableEnemy((Entity *)pEVar10); - if (cVar6 != '\0') { + cVar7 = Entity::IsVulnerableEnemy((Entity *)pEVar10); + if (cVar7 != '\0') { pEStack_814 = pEVar10; std::vector::push_back(); } pEVar10 = (Entity_Player *)Entity::Child((Entity *)pEVar10); } while (pEVar10 != (Entity_Player *)0x0); - cVar6 = FUN_004bc660(); - if (cVar6 == '\0') { + cVar7 = FUN_004bc660(); + if (cVar7 == '\0') { std::vector::size(); puVar35 = (undefined4 *)FUN_0042c810(); local_609 = 1; @@ -260257,14 +260518,14 @@ LAB_005c3a6f: uVar59 = uVar59 + 1; uVar11 = EntityList::Size(); } while (uVar59 < uVar11); - pEVar55 = local_5e0; + this_01 = local_5e0; } - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if (bVar5 != 0) { if ((char)local_610 != '\0') { Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0x3b; iVar9 = EntityList::Size(); if (iVar9 != 0) { @@ -260280,13 +260541,13 @@ LAB_005c3a6f: uVar59 = uVar59 + 1; uVar11 = EntityList::Size(); } while (uVar59 < uVar11); - pEVar55 = local_5e0; + this_01 = local_5e0; } - Entity::Position((Entity *)pEVar55); + Entity::Position((Entity *)this_01); AddWisp(); uStack_14 = -1; EntityList_Query::~EntityList_Query(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } @@ -260299,12 +260560,12 @@ LAB_005c3a6f: pdVar49 = (double *)Entity::Position((Entity *)local_5e4); uStack_608 = *pdVar49; iVar9 = Room::GetGridCollisionAtPos(); - if (pEVar55->_canFly == 0) { + if (this_01->_canFly == 0) { if ((iVar9 == 0) || (iVar9 == 5)) goto LAB_005c320a; } else if (iVar9 != 4) { LAB_005c320a: - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { AddWisp(); } @@ -260321,7 +260582,7 @@ LAB_005c320a: local_5fc._1_1_ = 1; } pEVar31 = (Entity *)Entity_Effect::CreateTimer(); - pEVar55 = local_5e0; + this_01 = local_5e0; Entity::SetParent(pEVar31); SoundEffects::PlayWithFartOverride(); local_5d9 = 0; @@ -260338,12 +260599,12 @@ LAB_005c320a: case 0x59: if (local_5e0->_variant == 0) { play_sound_with_fart_seed(); - AddRottenHearts(pEVar55,2,0); + AddRottenHearts(this_01,2,0); } LAB_005bdf0b: local_5d9 = 0; if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); goto switchD_005bfbd8_caseD_11d; } goto LAB_005b54cf; @@ -260353,9 +260614,9 @@ LAB_005bdf0b: SoundEffects::PlayWithFartOverride(); } else { - TemporaryEffects::RemoveCollectibleEffect(&pEVar55->_temporaryeffects,0x280,-1); + TemporaryEffects::RemoveCollectibleEffect(&this_01->_temporaryeffects,0x280,-1); if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); } SoundEffects::PlayWithFartOverride(); LAB_005b54bc: @@ -260401,11 +260662,11 @@ LAB_005b54bc: LAB_005c3074: if (iVar9 != 10) goto LAB_005c3079; LAB_005c308b: - uVar7 = local_5fc._1_1_; + uVar6 = local_5fc._1_1_; if (local_5f8 != (Entity_Player *)0x0) { - uVar7 = 1; + uVar6 = 1; } - local_5fc = CONCAT11(uVar7,(char)local_5fc); + local_5fc = CONCAT11(uVar6,(char)local_5fc); FUN_005b18a0(); FUN_005b18b0(); } @@ -260420,7 +260681,7 @@ LAB_005c3079: } *(undefined4 *)&pEVar10->_lastDamageFlags = 0x400; *(undefined4 *)((int)&pEVar10->_lastDamageFlags + 4) = 0; - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } @@ -260433,7 +260694,7 @@ LAB_005c3079: pEVar31 = (Entity *)Entity_Effect::CreateTimer(); Entity::SetPosition(pEVar31); Entity::SetParent(pEVar31); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x5d: @@ -260452,11 +260713,11 @@ LAB_005c3079: pVVar19 = (Vector *)Entity::Position((Entity *)pEVar10); bVar5 = Camera::IsPosVisible(this_05,pVVar19); if (bVar5 != 0) { - cVar6 = Entity::IsEnemy((Entity *)pEVar10); - if ((cVar6 == '\0') || (cVar6 = Entity::IsDead((Entity *)pEVar10), cVar6 != '\0')) { - cVar6 = Entity::IsType((Entity *)pEVar10); - if (((cVar6 != '\0') && (iVar9 = Entity::FrameCount((Entity *)pEVar10), 1 < iVar9)) && - (cVar6 = Entity::Exists((Entity *)pEVar10), cVar6 != '\0')) { + cVar7 = Entity::IsEnemy((Entity *)pEVar10); + if ((cVar7 == '\0') || (cVar7 = Entity::IsDead((Entity *)pEVar10), cVar7 != '\0')) { + cVar7 = Entity::IsType((Entity *)pEVar10); + if (((cVar7 != '\0') && (iVar9 = Entity::FrameCount((Entity *)pEVar10), 1 < iVar9)) && + (cVar7 = Entity::Exists((Entity *)pEVar10), cVar7 != '\0')) { bVar5 = HasCollectible(local_5e0,0x3b,0); if (bVar5 == 0) { Entity_Effect::set_state((Entity_Effect *)pEVar10); @@ -260466,7 +260727,7 @@ LAB_005c3079: else { uVar11 = 0xd; uVar59 = Entity::InitSeed(); - RNG::game_constructor(aRStack_244,uVar59,uVar11); + RNG::game_constructor(&RStack_244,uVar59,uVar11); uStack_14 = 0x38; RNG::Next(this_06); Entity::Position((Entity *)local_5ec); @@ -260487,9 +260748,9 @@ LAB_005c3079: } } else { - cVar6 = Entity::IsType((Entity *)pEVar10); - pEVar26 = local_5e0; - if (cVar6 != '\0') { + cVar7 = Entity::IsType((Entity *)pEVar10); + pEVar67 = local_5e0; + if (cVar7 != '\0') { pcVar3 = *(code **)(*(int *)pEVar10 + 0x24); EntityRef::constructor(&EStack_1568,(Entity *)local_5e0); (*pcVar3)(); @@ -260502,16 +260763,16 @@ LAB_005c3079: if (((float)pEStack_614 < (float)(fVar64 * (float10)0.5)) && (iVar9 = FUN_00417490(), (*(uint *)(iVar9 + 0xd8) & 8) != 0)) { pcVar3 = *(code **)(*(int *)pEVar10 + 0x24); - EntityRef::constructor(&EStack_1590,(Entity *)pEVar26); + EntityRef::constructor(&EStack_1590,(Entity *)pEVar67); (*pcVar3)(); } } } pEVar10 = local_5f8; - puVar24 = &local_5e4->field_0x1; - local_5e4 = (Entity_Player *)puVar24; - puVar66 = (undefined1 *)EntityList::Size(); - } while (puVar24 < puVar66); + puVar60 = &local_5e4->field_0x1; + local_5e4 = (Entity_Player *)puVar60; + puVar25 = (undefined1 *)EntityList::Size(); + } while (puVar60 < puVar25); if (0 < (int)pEVar10) { iVar9 = (int)((float)(int)pEVar10 + 8.0); if (0x14 < iVar9) { @@ -260520,7 +260781,7 @@ LAB_005c3079: random_float(); SoundEffects::PlayWithFartOverride(); Game::ShakeScreen(g_game,iVar9); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } @@ -260530,16 +260791,16 @@ LAB_005c3079: if (bVar5 != 0) { AnimateCollectible(local_5e0); } - pvVar58 = local_61c; + pvVar57 = local_61c; local_5f0 = (Entity_Player *)0x1; if (((uint)local_618 & 0x400) == 0) { if (((((uint)local_618 & 4) != 0) && (-1 < (int)local_61c)) && - (pEVar55->_activeDesc[(int)local_61c]._item == 0x2ad)) { - local_5f0 = (Entity_Player *)pEVar55->_activeDesc[(int)local_61c]._varData; + (this_01->_activeDesc[(int)local_61c]._item == 0x2ad)) { + local_5f0 = (Entity_Player *)this_01->_activeDesc[(int)local_61c]._varData; puStack_808 = &local_5f0->field_0x1; uStack_80c = 0xc; piVar33 = (int *)std::min(); - pEVar55->_activeDesc[(int)pvVar58]._varData = *piVar33; + this_01->_activeDesc[(int)pvVar57]._varData = *piVar33; } } else { @@ -260554,9 +260815,9 @@ LAB_005c3079: if (iVar9 != 0) { do { pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetCollectible(pIVar12,uVar59); - if (((pIVar23 != (ItemConfig_Item *)0x0) && (pIVar23->type == 3)) && - ((pIVar23[1].type != 0 && (0 < *(short *)(pIVar23[1].type + 400))))) { + pIVar24 = ItemConfig::GetCollectible(pIVar12,uVar59); + if (((pIVar24 != (ItemConfig_Item *)0x0) && (pIVar24->type == 3)) && + ((pIVar24[1].type != 0 && (0 < *(short *)(pIVar24[1].type + 400))))) { uStack_810 = uVar59; std::vector::push_back(); } @@ -260569,9 +260830,9 @@ LAB_005c3079: if (0 < (int)local_5f0) { do { pRVar8 = (RNG *)FUN_005cbd00(); - fVar65 = RNG::RandomFloat(pRVar8); - uStack_608 = (double)CONCAT44(fVar65,(void *)uStack_608); - if (0.67 <= fVar65) { + fVar66 = RNG::RandomFloat(pRVar8); + uStack_608 = (double)CONCAT44(fVar66,(void *)uStack_608); + if (0.67 <= fVar66) { LAB_005c3686: pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); pEVar10 = (Entity_Player *)ItemConfig::GetCollectible(pIVar12,0x248); @@ -260587,22 +260848,22 @@ LAB_005c3686: pEVar10 = (Entity_Player *)ItemConfig::GetCollectible(pIVar12,iVar9); local_5ec = pEVar10; if (((pEVar10 == (Entity_Player *)0x0) || - (cVar6 = ItemConfig::IsValidCollectible(), cVar6 == '\0')) || (*(int *)pEVar10 != 3)) + (cVar7 = ItemConfig::IsValidCollectible(), cVar7 == '\0')) || (*(int *)pEVar10 != 3)) goto LAB_005c3686; } - pvVar58 = (pEVar10->_sprite)._nullLayerNames; - if ((pvVar58 == (void *)0x0) || (*(short *)((int)pvVar58 + 400) < 1)) { + pvVar57 = (pEVar10->_sprite)._nullLayerNames; + if ((pvVar57 == (void *)0x0) || (*(short *)((int)pvVar57 + 400) < 1)) { pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); pEVar10 = (Entity_Player *)ItemConfig::GetCollectible(pIVar12,0x248); local_5ec = pEVar10; } if ((*(int *)&pEVar10->field_0x4 == 0x248) && - (bVar5 = HasCollectible(pEVar55,0x3b,0), bVar5 != 0)) { + (bVar5 = HasCollectible(this_01,0x3b,0), bVar5 != 0)) { pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); local_5ec = (Entity_Player *)ItemConfig::GetCollectible(pIVar12,0x124); } AddWisp(); - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { AddWisp(); AddWisp(); @@ -260614,7 +260875,7 @@ LAB_005c3686: SoundEffects::PlayWithFartOverride2(); uStack_14 = -1; FID_conflict__Tidy(auStack_9cc); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x5f: @@ -260670,12 +260931,12 @@ LAB_005c3686: Vector::__mul(); Vector::__add(); pEVar31 = (Entity *)Game::Spawn(); - pEVar55 = local_5e0; + this_01 = local_5e0; EntityRef::constructor(&EStack_15b8,(Entity *)local_5e0); Entity::AddCharmed(pEVar31,&EStack_15b8,-1,0,0); FUN_005b1830(); (**(code **)(*(int *)pEVar31 + 0xc))(); - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { pRVar8 = (RNG *)FUN_005cbd00(); Entity_Familiar::GetRandomWisp(pRVar8); @@ -260684,7 +260945,7 @@ LAB_005c3686: LAB_005bfa98: local_5d9 = 0; if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); local_5d9 = (byte)local_5e8; break; } @@ -260693,7 +260954,7 @@ LAB_005bfa98: play_sound_with_fart_seed(); LAB_005b562c: play_sound_with_fart_seed(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x62: @@ -260703,18 +260964,18 @@ LAB_005b562c: ::Color::Color(); (*pcVar3)(); SoundEffects::PlayWithFartOverride(); - pEVar55 = local_5e0; + this_01 = local_5e0; if (local_5e0->_markedTarget != (int *)0x0) { (**(code **)(*(int *)local_5e0->_markedTarget + 0x28))(); EntityPtr::SetReference(); } - if (pEVar55->_darkArtsLastSnare == (void *)0x0) { + if (this_01->_darkArtsLastSnare == (void *)0x0) { Random(); piVar33 = (int *)Game::Spawn(); (**(code **)(*piVar33 + 0xc))(); EntityPtr::SetReference(); std::vector::clear(); - pEVar55->_darkArtsDamage = 0.0; + this_01->_darkArtsDamage = 0.0; local_5d9 = (byte)local_5e8; break; } @@ -260726,10 +260987,10 @@ LAB_005bc073: if (local_5e0->_variant == 0) { local_5d9 = 0; if ((((local_5e0->_queuedItem)._item != (void *)0x0) && - (cVar6 = Item::IsCollectible(), cVar6 != '\0')) && - (cVar6 = Item::HasTags(), cVar6 == '\0')) { + (cVar7 = Item::IsCollectible(), cVar7 != '\0')) && + (cVar7 = Item::HasTags(), cVar7 == '\0')) { Isaac::SpawnLocust(); - ClearQueueItem(pEVar55); + ClearQueueItem(this_01); local_5d9 = 1; } Level::GetCurrentRoom((Level *)g_game); @@ -260744,14 +261005,14 @@ LAB_005bc073: iVar9 = Entity::Type((Entity *)*puVar35); if (iVar9 == 5) { puVar35 = (undefined4 *)std::vector::operator_index(); - cVar6 = Entity::IsDead((Entity *)*puVar35); - if (cVar6 == '\0') { + cVar7 = Entity::IsDead((Entity *)*puVar35); + if (cVar7 == '\0') { std::vector::operator_index(); pEVar10 = (Entity_Player *)FUN_00435e30(); local_5f0 = pEVar10; bVar5 = Entity_Pickup::CanReroll((Entity_Pickup *)pEVar10); if ((((bVar5 != 0) && - (cVar6 = Entity_Pickup::IsShopItem((Entity_Pickup *)pEVar10), cVar6 == '\0')) && + (cVar7 = Entity_Pickup::IsShopItem((Entity_Pickup *)pEVar10), cVar7 == '\0')) && ((pEVar10 != (Entity_Player *)0x0 && ((iVar9 = Entity::Variant((Entity *)pEVar10), iVar9 == 100 && (iVar9 = Entity::SubType((Entity *)pEVar10), iVar9 != 0)))))) && @@ -260790,10 +261051,10 @@ LAB_005bc073: pPVar14 = (PlayerManager *)Game::GetPlayerManager(g_game); bVar5 = PlayerManager::IsCoopPlay(pPVar14); if ((bVar5 != 0) && (local_5f8 != (Entity_Player *)0xffffffff)) { - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); - RNG::Next(&pEVar55->_dropRNG); - ItemPool::GetCollectible(pIVar53); - RNG::Next(&pEVar55->_dropRNG); + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); + RNG::Next(&this_01->_dropRNG); + ItemPool::GetCollectible(pIVar54); + RNG::Next(&this_01->_dropRNG); piVar33 = (int *)Game::Spawn(); FUN_006e2ff0(); (**(code **)(*piVar33 + 0xc))(); @@ -260805,19 +261066,19 @@ LAB_005bc073: iVar9 = GridEntity::GetVariant(); if (iVar9 != 0x11) goto LAB_005bbadc; } - pAVar51 = (Ambush *)Game::GetAmbush(g_game); - Ambush::StartChallenge(pAVar51); + pAVar52 = (Ambush *)Game::GetAmbush(g_game); + Ambush::StartChallenge(pAVar52); } goto LAB_005bbadc; } LAB_005bbae2: - cVar6 = (char)local_5e8; + cVar7 = (char)local_5e8; joined_r0x005c14d7: bVar5 = 0; - if (cVar6 != '\0') { + if (cVar7 != '\0') { LAB_005b8b8d: - AnimateCollectible(pEVar55); - pEVar55 = local_5e0; + AnimateCollectible(this_01); + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } @@ -260827,15 +261088,15 @@ LAB_005b8b8d: fVar64 = (float10)Vector::LengthSquared(); uStack_608 = (double)CONCAT44((float)fVar64,(void *)uStack_608); if ((1.0 < (float)fVar64) && - (bVar5 = TemporaryEffects::HasCollectibleEffect(&pEVar55->_temporaryeffects,0x271), + (bVar5 = TemporaryEffects::HasCollectibleEffect(&this_01->_temporaryeffects,0x271), bVar5 == 0)) { SoundEffects::PlayWithFartOverride(); Vector::Normalized(); uStack_81c = 0x41200000; Vector::__mul(); - Entity::SetVelocity((Entity *)pEVar55); - pEVar55->_suplexState = 1; - pEVar55->_suplexAimCountdown = 0x10; + Entity::SetVelocity((Entity *)this_01); + this_01->_suplexState = 1; + this_01->_suplexAimCountdown = 0x10; std::vector::clear(); random_float(); play_sound_with_fart_seed(); @@ -260850,10 +261111,10 @@ LAB_005b8b8d: iVar9 = Game::Challenge(g_game); if (iVar9 != 0x2b) { if (((local_61c == (void *)0x0) || (local_61c == (void *)0x1)) && - (pEVar55->_bagOfCraftingOutput != 0)) { + (this_01->_bagOfCraftingOutput != 0)) { pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetCollectible(pIVar12,pEVar55->_bagOfCraftingOutput); - if (pIVar23 != (ItemConfig_Item *)0x0) { + pIVar24 = ItemConfig::GetCollectible(pIVar12,this_01->_bagOfCraftingOutput); + if (pIVar24 != (ItemConfig_Item *)0x0) { FUN_005b19d0(); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); @@ -260861,47 +261122,47 @@ LAB_005b8b8d: Room::FindFreePickupSpawnPosition(); Game::Spawn(); FUN_005b19d0(); - pEVar55 = local_5e0; + this_01 = local_5e0; FUN_005b1990(); - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if (bVar5 != 0) { pRVar8 = (RNG *)FUN_005cbd00(); Entity_Familiar::GetRandomWisp(pRVar8); AddWisp(); } } - pEVar55->_bagOfCraftingHoldFrames = 0; + this_01->_bagOfCraftingHoldFrames = 0; puVar35 = (undefined4 *)FUN_005b1560(); - uVar54 = puVar35[1]; - pEVar55->_bagOfCraftingOutput = *puVar35; + uVar51 = puVar35[1]; + this_01->_bagOfCraftingOutput = *puVar35; pGVar47 = g_game; - *(undefined4 *)&pEVar55->field_0x1f50 = uVar54; - pEVar55->_bagOfCraftingContent[0] = 0; - pEVar55->_bagOfCraftingContent[1] = 0; - pEVar55->_bagOfCraftingContent[2] = 0; - pEVar55->_bagOfCraftingContent[3] = 0; - pEVar55->_bagOfCraftingContent[4] = 0; - pEVar55->_bagOfCraftingContent[5] = 0; - pEVar55->_bagOfCraftingContent[6] = 0; - pEVar55->_bagOfCraftingContent[7] = 0; + *(undefined4 *)&this_01->field_0x1f50 = uVar51; + this_01->_bagOfCraftingContent[0] = 0; + this_01->_bagOfCraftingContent[1] = 0; + this_01->_bagOfCraftingContent[2] = 0; + this_01->_bagOfCraftingContent[3] = 0; + this_01->_bagOfCraftingContent[4] = 0; + this_01->_bagOfCraftingContent[5] = 0; + this_01->_bagOfCraftingContent[6] = 0; + this_01->_bagOfCraftingContent[7] = 0; pHVar17 = (HUD *)Game::GetHUD(pGVar47); - HUD::InvalidateCraftingItem(pHVar17,pEVar55); + HUD::InvalidateCraftingItem(pHVar17,this_01); play_sound_with_fart_seed(); } else { - SetItemState(pEVar55); + SetItemState(this_01); } goto LAB_005b8b8d; } iVar9 = std::vector::size(); if (iVar9 != 0) { EntityPtr::Ref(); - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); EntityPtr::Ref(); std::set::find(); std::iterator_copy(); - cVar6 = FUN_00557bb0(); - if (cVar6 == '\0') { + cVar7 = FUN_00557bb0(); + if (cVar7 == '\0') { iVar9 = FUN_005cba30(); *(int *)(iVar9 + 4) = *(int *)(iVar9 + 4) + 1; } @@ -260917,68 +261178,68 @@ LAB_005b8b8d: local_5e4 = pEVar10; if (pEVar10 != (Entity_Player *)0x0) { if (*(int *)&pEVar10->field_0x4 == 0x1a6) { - pGVar52 = Game::GetGlowingHourglassState(g_game); - if ((pGVar52 != (GlowingHourglassState *)0x0) && (-1 < pEVar55->_glowingHourglassIndex)) { - pGVar52 = Game::GetGlowingHourglassState(g_game); - if (pGVar52 != (GlowingHourglassState *)0x0) { - iVar9 = pEVar55->_glowingHourglassIndex; + pGVar53 = Game::GetGlowingHourglassState(g_game); + if ((pGVar53 != (GlowingHourglassState *)0x0) && (-1 < this_01->_glowingHourglassIndex)) { + pGVar53 = Game::GetGlowingHourglassState(g_game); + if (pGVar53 != (GlowingHourglassState *)0x0) { + iVar9 = this_01->_glowingHourglassIndex; std::iterator_copy(); FUN_00456190(); - cVar6 = FUN_0042c710(); - while (cVar6 != '\0') { + cVar7 = FUN_0042c710(); + while (cVar7 != '\0') { piVar33 = (int *)EntityPtr::Ref(); if (*piVar33 == 0x1a6) { std::vector_>::erase ((vector_> *) - (&pGVar52->field_0x1a280 + iVar9 * 0x5dc)); + (pGVar53->_eventCounters + iVar9 * 0x177 + -0x16ed)); break; } FUN_005cbad0(); FUN_00456190(); - cVar6 = FUN_0042c710(); + cVar7 = FUN_0042c710(); } pEVar10 = local_5e4; } } } if (*(int *)pEVar10 == 3) { - UseActiveItem(pEVar55,asStack_8ae,*(int *)&pEVar10->field_0x4,4,-1,0); + UseActiveItem(this_01,asStack_8ae,*(int *)&pEVar10->field_0x4,4,-1,0); } else { - AddCollectible(pEVar55,*(int *)&pEVar10->field_0x4,0,1,0,0,0); + AddCollectible(this_01,*(int *)&pEVar10->field_0x4,0,1,0,0,0); } pHVar17 = (HUD *)Game::GetHUD(g_game); - HUD::ShowItemText(pHVar17,pEVar55,(ItemConfig_Item *)pEVar10); + HUD::ShowItemText(pHVar17,this_01,(ItemConfig_Item *)pEVar10); } SoundEffects::PlayWithFartOverride(); std::iterator_copy(); std::vector_>::erase - ((vector_> *)&pEVar55->_itemCards); + ((vector_> *)&this_01->_itemCards); Game::GetHUD(g_game); mark_all_slots_dirty(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } goto LAB_005b3e24; case 0x66: local_5d9 = bVar5; - cVar6 = FUN_00417390(); - if (cVar6 == '\0') { + cVar7 = FUN_00417390(); + if (cVar7 == '\0') { LAB_005c4634: bVar5 = (byte)local_618; } else { local_5d9 = (byte)local_5e8; - cVar6 = IsCoopGhost(pEVar55); - if (cVar6 != '\0') goto LAB_005c4634; + cVar7 = IsCoopGhost(this_01); + if (cVar7 != '\0') goto LAB_005c4634; local_5d9 = (byte)local_5e8; - if ((pEVar55->_playerType != 0x1d) && (pEVar55->_playerType != 0x26)) goto LAB_005c4634; + if ((this_01->_playerType != 0x1d) && (this_01->_playerType != 0x26)) goto LAB_005c4634; bVar5 = (byte)local_618; if (((uint)local_618 & 0x20) == 0) { iVar9 = EntityPtr::Ref(); if (iVar9 == 0) { - pEVar10 = pEVar55->_backupPlayer; + pEVar10 = this_01->_backupPlayer; } else { pEVar10 = (Entity_Player *)EntityPtr::Ref(); @@ -260995,19 +261256,19 @@ LAB_005c4634: Random(); piVar33 = (int *)Game::Spawn(); (**(code **)(*piVar33 + 0xc))(); - SyncConsumables(pEVar55); + SyncConsumables(this_01); PlayExtraAnimation(pEVar10); FUN_005b17a0(); FUN_005b17b0(); pEVar10->_entityCollisionClass = 4; local_5d9 = (byte)local_5e8; if (local_609 != 0) { - PlayExtraAnimation(pEVar55); + PlayExtraAnimation(this_01); FUN_005b17b0(); Random(); piVar33 = (int *)Game::Spawn(); (**(code **)(*piVar33 + 0xc))(); - pEVar55->_entityCollisionClass = 0; + this_01->_entityCollisionClass = 0; local_5d9 = 0; } } @@ -261015,7 +261276,7 @@ LAB_005c4634: } } if ((bVar5 & 0x24) == 4) { - if ((pEVar55->_playerType == 0x1d) || (pEVar55->_playerType == 0x26)) { + if ((this_01->_playerType == 0x1d) || (this_01->_playerType == 0x26)) { pLVar27 = (Level *)Config::GetCollectibles(); iVar9 = Level::GetCurrentRoomIndex(pLVar27); if (iVar9 == -0xc) { @@ -261026,8 +261287,8 @@ LAB_005c4634: Game::GetItemPool(g_game); ItemPool::ResetRoomBlacklist(); Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0x3c; uVar59 = 0; iVar9 = EntityList::Size(); @@ -261035,18 +261296,18 @@ LAB_005c4634: do { puVar35 = (undefined4 *)std::vector::operator_index(); uStack_608 = (double)CONCAT44((Entity *)*puVar35,(void *)uStack_608); - cVar6 = Entity::IsDead((Entity *)*puVar35); - if (cVar6 == '\0') { + cVar7 = Entity::IsDead((Entity *)*puVar35); + if (cVar7 == '\0') { local_5e4 = (Entity_Player *)__RTDynamicCast(); pRVar8 = (RNG *)FUN_005cbd00(); uVar11 = RNG::Next(pRVar8); - bVar5 = Entity_Pickup::TryFlip((Entity_Pickup *)local_5e4,pEVar55,uVar11); + bVar5 = Entity_Pickup::TryFlip((Entity_Pickup *)local_5e4,this_01,uVar11); if (bVar5 != 0) { Random(); Entity::Position((Entity *)local_5e4); Game::Spawn(); SoundEffects::PlayWithFartOverride(); - pEVar55 = local_5e0; + this_01 = local_5e0; } } uVar59 = uVar59 + 1; @@ -261054,11 +261315,11 @@ LAB_005c4634: } while (uVar59 < uVar11); } if (local_5d9 != 0) { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); } uStack_14 = -1; EntityList_Query::~EntityList_Query(); - pEVar55 = local_5e0; + this_01 = local_5e0; break; } goto LAB_005b54cf; @@ -261068,7 +261329,7 @@ LAB_005c4634: } Isaac::GetItemConfig(); FUN_00730de0(); - uStack_608 = (double)CONCAT44(&pEVar55->_collectibleRNGs,(void *)uStack_608); + uStack_608 = (double)CONCAT44(&this_01->_collectibleRNGs,(void *)uStack_608); pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = RNG::RandomInt(pRVar8,4); if (uVar59 == 0) { @@ -261077,18 +261338,18 @@ LAB_005c4634: uVar59 = RNG::Next(pRVar8); iVar9 = Room::GetSeededCollectible(pRVar28,uVar59,1); Game::GetField26614(); - cVar6 = FUN_00429550(); - while (cVar6 != '\0') { + cVar7 = FUN_00429550(); + while (cVar7 != '\0') { Game::GetField26614(); piVar33 = (int *)EntityList::Size(); - cVar6 = (**(code **)(*piVar33 + 0x30))(); - if (cVar6 == '\0') break; + cVar7 = (**(code **)(*piVar33 + 0x30))(); + if (cVar7 == '\0') break; pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = RNG::Next(pRVar8); iVar9 = Room::GetSeededCollectible(pRVar28,uVar59,1); Game::GetField26614(); - cVar6 = FUN_00429550(); + cVar7 = FUN_00429550(); } } else { @@ -261103,6 +261364,9 @@ LAB_005c4634: WeightedOutcomePicker::AddOutcomeWeight(aWStack_63c); WeightedOutcomePicker::AddOutcomeWeight(aWStack_63c); WeightedOutcomePicker::AddOutcomeWeight(aWStack_63c); + uVar75._0_1_ = 0xc; + uVar75._1_1_ = 0; + uVar75._2_2_ = 0; } else { WeightedOutcomePicker::AddOutcomeWeight(aWStack_63c); @@ -261110,33 +261374,43 @@ LAB_005c4634: WeightedOutcomePicker::AddOutcomeWeight(aWStack_63c); WeightedOutcomePicker::AddOutcomeWeight(aWStack_63c); WeightedOutcomePicker::AddOutcomeWeight(aWStack_63c); + uVar75._0_1_ = 0x1a; + uVar75._1_1_ = 0; + uVar75._2_2_ = 0; } + iVar78 = 0; + iVar9 = 2; + fVar66 = 8.477023e-39; WeightedOutcomePicker::AddOutcomeWeight(aWStack_63c); uVar11 = 0x23; pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = RNG::Next(pRVar8); RNG::game_constructor((RNG *)(auStack_1af0 + 0x104),uVar59,uVar11); - local_5e4 = (Entity_Player *)WeightedOutcomePicker::PickOutcome(aWStack_63c); - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); + rng_04._shift1 = uVar75; + rng_04._seed = (int)fVar66; + rng_04._shift2 = iVar9; + rng_04._shift3 = iVar78; + local_5e4 = (Entity_Player *)WeightedOutcomePicker::PickOutcome(aWStack_63c,rng_04); + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - iVar9 = ItemPool::GetCollectible(pIVar53); + iVar9 = ItemPool::GetCollectible(pIVar54); Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + if (cVar7 != '\0') { do { Game::GetField26614(); piVar33 = (int *)EntityList::Size(); - cVar6 = (**(code **)(*piVar33 + 0x30))(); - if (cVar6 == '\0') break; - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); + cVar7 = (**(code **)(*piVar33 + 0x30))(); + if (cVar7 == '\0') break; + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); pRVar8 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar8); - iVar9 = ItemPool::GetCollectible(pIVar53); + iVar9 = ItemPool::GetCollectible(pIVar54); Game::GetField26614(); - cVar6 = FUN_00429550(); - } while (cVar6 != '\0'); - pEVar55 = local_5e0; + cVar7 = FUN_00429550(); + } while (cVar7 != '\0'); + this_01 = local_5e0; } uStack_14 = -1; std::vector::_Tidy(); @@ -261145,14 +261419,14 @@ LAB_005c4634: FUN_00730e20(); AddItemWisp(); pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetCollectible(pIVar12,iVar9); - if (pIVar23 != (ItemConfig_Item *)0x0) { + pIVar24 = ItemConfig::GetCollectible(pIVar12,iVar9); + if (pIVar24 != (ItemConfig_Item *)0x0) { pHVar17 = (HUD *)Game::GetHUD(g_game); - HUD::ShowItemText(pHVar17,pEVar55,pIVar23); + HUD::ShowItemText(pHVar17,this_01,pIVar24); } LAB_005b743f: SoundEffects::PlayWithFartOverride(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x68: @@ -261161,13 +261435,13 @@ LAB_005b743f: if (bVar5 != 0) { AnimateCollectible(local_5e0); } - SpawnClot(pEVar55,(Vector *)pEVar10,1); + SpawnClot(this_01,(Vector *)pos,1); goto LAB_005b54bc; } if (bVar5 != 0) { AnimateCollectible(local_5e0); } - TemporaryEffects::RemoveCollectibleEffect(&pEVar55->_temporaryeffects,0x2c9,-1); + TemporaryEffects::RemoveCollectibleEffect(&this_01->_temporaryeffects,0x2c9,-1); } goto switchD_005bfbd8_caseD_11d; case 0x69: @@ -261184,27 +261458,27 @@ LAB_005b54cf: iVar9 = FUN_005b1720(); if (0 < iVar9) { if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); } FUN_005b1720(); - UsePoopSpell(pEVar55); - SetActiveVarData(pEVar55,0,(int)local_61c); - pEVar55 = local_5e0; + UsePoopSpell(this_01); + SetActiveVarData(this_01,0,(int)local_61c); + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } - if ((pEVar55->_playerType == 0x19) && (0 < pEVar55->_poopMana)) { + if ((this_01->_playerType == 0x19) && (0 < this_01->_poopMana)) { AddPoopMana(); if ((char)local_5e8 != '\0') { - AnimateCollectible(pEVar55); + AnimateCollectible(this_01); } - SetActiveVarData(pEVar55,(uint)pEVar55->_poopSpellQueue[0],(int)local_61c); - pEVar55->_poopSpellQueue[0] = pEVar55->_poopSpellQueue[1]; - pEVar55->_poopSpellQueue[1] = pEVar55->_poopSpellQueue[2]; - pEVar55->_poopSpellQueue[2] = pEVar55->_poopSpellQueue[3]; - pEVar55->_poopSpellQueue[3] = pEVar55->_poopSpellQueue[4]; - pEVar55->_poopSpellQueue[4] = pEVar55->_poopSpellQueue[5]; - pEVar55->_poopSpellQueue[5] = 0; + SetActiveVarData(this_01,(uint)this_01->_poopSpellQueue[0],(int)local_61c); + this_01->_poopSpellQueue[0] = this_01->_poopSpellQueue[1]; + this_01->_poopSpellQueue[1] = this_01->_poopSpellQueue[2]; + this_01->_poopSpellQueue[2] = this_01->_poopSpellQueue[3]; + this_01->_poopSpellQueue[3] = this_01->_poopSpellQueue[4]; + this_01->_poopSpellQueue[4] = this_01->_poopSpellQueue[5]; + this_01->_poopSpellQueue[5] = 0; poop_spell_roll(); goto LAB_005b562c; } @@ -261215,7 +261489,7 @@ LAB_005b54cf: AnimateCollectible(local_5e0); } UsePoopSpell(local_5e0); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } @@ -261234,13 +261508,23 @@ LAB_005b54cf: WeightedOutcomePicker::AddOutcomeWeight(aWStack_690); WeightedOutcomePicker::AddOutcomeWeight(aWStack_690); WeightedOutcomePicker::AddOutcomeWeight(aWStack_690); + uVar51._0_1_ = 8; + uVar51._1_1_ = 0; + uVar51._2_2_ = 0; + fVar66 = 8.479575e-39; WeightedOutcomePicker::AddOutcomeWeight(aWStack_690); + iVar78 = 0x2cf; + iVar9 = 0x5c55ab; local_5ec = (Entity_Player *)FUN_005cbd00(); uVar11 = 0x23; uVar59 = RNG::Next((RNG *)local_5ec); RNG::game_constructor((RNG *)(auStack_1af0 + 0x104),uVar59,uVar11); - uVar54 = WeightedOutcomePicker::PickOutcome(aWStack_690); - switch(uVar54) { + rng_05._shift1 = uVar51; + rng_05._seed = (int)fVar66; + rng_05._shift2 = iVar9; + rng_05._shift3 = iVar78; + uVar59 = WeightedOutcomePicker::PickOutcome(aWStack_690,rng_05); + switch(uVar59) { case 0: pEVar10 = (Entity_Player *)0xa; local_5f8 = (Entity_Player *)0x1; @@ -261281,10 +261565,10 @@ LAB_005b54cf: break; case 8: local_600 = (Entity_Player *)0x64; - pIVar53 = (ItemPool *)Game::GetItemPool(g_game); + pIVar54 = (ItemPool *)Game::GetItemPool(g_game); RNG::Next((RNG *)local_5ec); Game::IsGreedMode(g_game); - local_5f8 = (Entity_Player *)ItemPool::GetCollectible(pIVar53); + local_5f8 = (Entity_Player *)ItemPool::GetCollectible(pIVar54); pEVar10 = (Entity_Player *)0x64; goto LAB_005c574d; default: @@ -261296,16 +261580,16 @@ LAB_005c574d: local_5e4 = (Entity_Player *)0x0; iVar9 = Game::GetNumPlayers(g_game); if (iVar9 != 0) { - pEVar26 = (Entity_Player *)0x0; + pEVar67 = (Entity_Player *)0x0; do { - local_5f0 = Game::GetPlayer(g_game,(uint)pEVar26); + local_5f0 = Game::GetPlayer(g_game,(uint)pEVar67); iVar9 = Entity::Variant((Entity *)local_5f0); if (((iVar9 == 0) && (iVar9 = GetPlayerType(local_5f0), iVar9 != 0xe)) && (iVar9 = GetPlayerType(local_5f0), iVar9 != 0x21)) goto LAB_005c57f3; local_5e4 = (Entity_Player *)&local_5e4->field_0x1; - pEVar55 = (Entity_Player *)Game::GetNumPlayers(g_game); - pEVar26 = local_5e4; - } while (local_5e4 < pEVar55); + pEVar70 = (Entity_Player *)Game::GetNumPlayers(g_game); + pEVar67 = local_5e4; + } while (local_5e4 < pEVar70); } if (pEVar10 == (Entity_Player *)0xa) { uVar59 = RNG::RandomInt((RNG *)local_5ec,2); @@ -261326,7 +261610,7 @@ LAB_005c57f3: (**(code **)(*piVar33 + 0xc))(); uStack_14 = -1; std::vector::_Tidy(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x6c: @@ -261336,13 +261620,13 @@ LAB_005c57f3: local_5e4 = (Entity_Player *)0x1; if (((uint)local_618 & 0x400) == 0) { if (((((uint)local_618 & 4) != 0) && (-1 < (int)local_61c)) && - (pEVar55->_activeDesc[(int)local_61c]._item == 0x2d0)) { + (this_01->_activeDesc[(int)local_61c]._item == 0x2d0)) { uStack_838 = 0xc; - iStack_83c = GetTotalActiveCharge(pEVar55,(int)local_61c); + iStack_83c = GetTotalActiveCharge(this_01,(int)local_61c); puVar35 = (undefined4 *)std::min(); local_5e4 = (Entity_Player *)*puVar35; - if ((pEVar55->_wildCardItemType == 2) && (pEVar55->_wildCardItem == 0x2d0)) { - pEVar55->_wildCardVarData = (int)local_5e4; + if ((this_01->_wildCardItemType == 2) && (this_01->_wildCardItem == 0x2d0)) { + this_01->_wildCardVarData = (int)local_5e4; } goto LAB_005c59e4; } @@ -261358,7 +261642,7 @@ LAB_005c59e4: local_5f0 = pEVar10; switch(local_5e4) { case (Entity_Player *)0x1: - UseActiveItem(pEVar55,&sStack_8b0,0x24,3,-1,0); + UseActiveItem(this_01,&sStack_8b0,0x24,3,-1,0); goto switchD_005c5a14_default; case (Entity_Player *)0x2: local_600 = (Entity_Player *)&DAT_00000014; @@ -261404,7 +261688,7 @@ LAB_005c5b0b: uVar59 = RNG::RandomInt((RNG *)pEVar10,0xc); switch(uVar59) { case 0: - UseActiveItem(pEVar55,&sStack_8b2,0x1e1,3,-1,0); + UseActiveItem(this_01,&sStack_8b2,0x1e1,3,-1,0); break; case 1: RNG::RandomInt((RNG *)pEVar10,10); @@ -261412,7 +261696,7 @@ LAB_005c5b0b: pRVar8 = (RNG *)Entity::GetDropRNG(pEVar31); uVar59 = RNG::Next((RNG *)local_5f0); RNG::SetSeed(pRVar8,uVar59,0x23); - pEVar55 = local_5e0; + this_01 = local_5e0; Entity::SetPosition(pEVar31); Entity::SetParent(pEVar31); (**(code **)(*(int *)pEVar31 + 0xc))(); @@ -261433,7 +261717,7 @@ LAB_005c5b0b: Entity::SetParent(pEVar31); (**(code **)(*(int *)pEVar31 + 0xc))(); pEVar10 = local_5f0; - pEVar55 = local_5e0; + this_01 = local_5e0; break; case 5: Level::GetCurrentRoom((Level *)g_game); @@ -261449,11 +261733,11 @@ LAB_005c5b0b: iVar9 = 1; bVar5 = 1; ItemConfig::GetCollectible(pIVar12,0x41); - pvVar58 = (void *)TemporaryEffect::TemporaryEffect(); - TemporaryEffects::AddEffect(&pEVar55->_temporaryeffects,pvVar58,bVar5,iVar9); + pvVar57 = (void *)TemporaryEffect::TemporaryEffect(); + TemporaryEffects::AddEffect(&this_01->_temporaryeffects,pvVar57,bVar5,iVar9); break; case 7: - UseCard(pEVar55,0x2d,0x183); + UseCard(this_01,0x2d,0x183); break; case 8: RNG::RandomInt((RNG *)pEVar10,0xc); @@ -261464,7 +261748,7 @@ LAB_005c5b0b: Entity::SetPosition(pEVar31); (**(code **)(*(int *)pEVar31 + 0xc))(); pEVar10 = local_5f0; - pEVar55 = local_5e0; + this_01 = local_5e0; break; case 9: Level::GetCurrentRoom((Level *)g_game); @@ -261493,18 +261777,18 @@ LAB_005c5b0b: pEVar31 = (Entity *)Game::GetNearestPlayer(); Entity::Position(pEVar31); fVar64 = (float10)Vector::DistanceSquared(); - pEVar26 = (Entity_Player *)(float)fVar64; - uStack_608 = (double)CONCAT44(pEVar26,(void *)uStack_608); - if (6400.0 < (float)pEVar26) { + pEVar65 = (Entity_Player *)(float)fVar64; + uStack_608 = (double)CONCAT44(pEVar65,(void *)uStack_608); + if (6400.0 < (float)pEVar65) { GridEntity::Position(*(GridEntity **)(iVar9 + (int)local_5ec * 4)); FUN_0042f170(); } } local_5ec = (Entity_Player *)((int)local_5ec + 1); } while (local_5ec < &DAT_00000008); - cVar6 = FUN_004bc660(); - pEVar55 = local_5e0; - if (cVar6 != '\0') { + cVar7 = FUN_004bc660(); + this_01 = local_5e0; + if (cVar7 != '\0') { Level::GetCurrentRoom((Level *)g_game); Room::GetCenterPos(); FUN_0042f170(); @@ -261513,7 +261797,7 @@ LAB_005c5b0b: Config::GetCollectibles(); FUN_0074b9a0(); pEStack_614 = (Entity_Player *)&local_5ec->field_0x4; - local_5f8 = pEVar26; + local_5f8 = pEVar65; if ((int)local_5ec < (int)pEStack_614) { do { uVar59 = RNG::Next((RNG *)pEVar10); @@ -261524,7 +261808,7 @@ LAB_005c5b0b: Room::FindFreePickupSpawnPosition(); MusicManager::RandomVector(); random_float(); - pEStack_840 = pEVar26; + pEStack_840 = pEVar65; Vector::__mul(); uStack_844 = 0x41a00000; Vector::__mul(); @@ -261532,14 +261816,14 @@ LAB_005c5b0b: RNG::RandomInt((RNG *)local_5f0,2); pEVar31 = (Entity *)Game::Spawn(); Entity::SetField380(pEVar31); - pEVar26 = local_5f8; + pEVar65 = local_5f8; FUN_00435d40(); local_5ec = (Entity_Player *)&local_5ec->field_0x1; pEVar10 = local_5f0; } while ((int)local_5ec < (int)pEStack_614); - pEVar55 = local_5e0; + this_01 = local_5e0; } - UseActiveItem(pEVar55,&sStack_8b4,0x11d,3,-1,0); + UseActiveItem(this_01,&sStack_8b4,0x11d,3,-1,0); Level::GetCurrentRoom((Level *)g_game); iVar9 = Room::GetAliveEnemiesCount(); if ((int)local_600 < iVar9) { @@ -261553,11 +261837,11 @@ LAB_005c5b0b: iVar9 = iVar9 + 1; } while (iVar9 < 8); Level::GetCurrentRoom((Level *)g_game); - cVar6 = Room::IsClear(); - if (cVar6 != '\0') { + cVar7 = Room::IsClear(); + if (cVar7 != '\0') { pLVar27 = (Level *)Config::GetCollectibles(); - pLVar56 = (Level *)Config::GetCollectibles(); - iVar9 = Level::GetCurrentRoomIndex(pLVar56); + pLVar55 = (Level *)Config::GetCollectibles(); + iVar9 = Level::GetCurrentRoomIndex(pLVar55); Level::GetRoomByIdx(pLVar27,iVar9,-1); FUN_005b1690(); } @@ -261580,8 +261864,8 @@ LAB_005c5b0b: local_5ec = (Entity_Player *)Game::Spawn(); RNG::RandomInt((RNG *)pEVar10,5); FUN_005b19f0(); - cVar6 = FUN_006ee330(); - if ((cVar6 == '\0') && (uVar59 = RNG::RandomInt((RNG *)pEVar10,3), uVar59 == 0)) { + cVar7 = FUN_006ee330(); + if ((cVar7 == '\0') && (uVar59 = RNG::RandomInt((RNG *)pEVar10,3), uVar59 == 0)) { Entity::AddEntityFlags(); } local_5f0 = (Entity_Player *)&local_5f0->field_0x1; @@ -261598,7 +261882,7 @@ LAB_005c5b0b: Game::Spawn(); pEVar10 = local_5f0; switchD_005c5a14_default: - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if (bVar5 != 0) { if ((char)local_610 != '\0') { Entity_Familiar::GetRandomWisp((RNG *)pEVar10); @@ -261611,7 +261895,7 @@ switchD_005c5a14_default: Entity::MaxHitPoints(); Entity::SetField380(pEVar31); FUN_005b1900(); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; } @@ -261622,7 +261906,7 @@ LAB_005b3e24: LAB_005b3e2a: local_5d9 = bVar5; LAB_005b3e30: - pEVar55 = local_5e0; + this_01 = local_5e0; break; case 0x6d: if (bVar5 != 0) { @@ -261642,7 +261926,7 @@ LAB_005b3e30: if (iVar9 != 0) { do { piVar33 = (int *)std::vector::operator_index(); - if ((Entity_Player *)*piVar33 != pEVar55) { + if ((Entity_Player *)*piVar33 != this_01) { puVar35 = (undefined4 *)std::vector::operator_index(); bVar5 = Entity::IsActiveEnemy((Entity *)*puVar35,0); if (bVar5 != 0) { @@ -261650,8 +261934,8 @@ LAB_005b3e30: iVar9 = Entity::EntityCollisionClass((Entity *)*puVar35); if (iVar9 != 0) { std::vector::operator_index(); - cVar6 = Entity::HasEntityFlags(); - if (cVar6 == '\0') { + cVar7 = Entity::HasEntityFlags(); + if (cVar7 == '\0') { std::vector::operator_index(); std::vector::push_back(); goto LAB_005c65e4; @@ -261659,8 +261943,8 @@ LAB_005b3e30: } } puVar35 = (undefined4 *)std::vector::operator_index(); - cVar6 = Entity::IsType((Entity *)*puVar35); - if (cVar6 != '\0') { + cVar7 = Entity::IsType((Entity *)*puVar35); + if (cVar7 != '\0') { puVar35 = (undefined4 *)std::vector::operator_index(); iVar9 = Entity::Target((Entity *)*puVar35); if (iVar9 != 0) { @@ -261669,13 +261953,13 @@ LAB_005b3e30: uStack_848 = Entity::Target(); FUN_005cba80(); std::iterator_copy(); - cVar6 = FUN_00557bb0(); - if (cVar6 == '\0') { + cVar7 = FUN_00557bb0(); + if (cVar7 == '\0') { iVar9 = FUN_005cba30(); iVar9 = Entity_Projectile::ChangeTimeout(*(Entity_Projectile **)(iVar9 + 4)); - iVar73 = Entity_Projectile::ChangeTimeout(pEStack_714); + iVar78 = Entity_Projectile::ChangeTimeout(pEStack_714); pEVar10 = local_5e4; - if (iVar73 <= iVar9) goto LAB_005c65e4; + if (iVar78 <= iVar9) goto LAB_005c65e4; } puVar35 = (undefined4 *)std::vector::operator_index(); uStack_84c = Entity::Target((Entity *)*puVar35); @@ -261687,8 +261971,8 @@ LAB_005b3e30: LAB_005c65e4: pEVar10 = (Entity_Player *)((int)pEVar10 + 1); local_5e4 = pEVar10; - pvVar58 = (void *)EntityList::Size(); - } while (pEVar10 < pvVar58); + pvVar57 = (void *)EntityList::Size(); + } while (pEVar10 < pvVar57); } local_5e4 = (Entity_Player *)0x0; iVar9 = std::vector::size(); @@ -261699,23 +261983,23 @@ LAB_005c65e4: fVar64 = (float10)Vector::DistanceSquared(); uStack_608 = (double)CONCAT44((float)fVar64,(void *)uStack_608); puVar35 = (undefined4 *)FUN_0042c810(); - cVar6 = Entity::IsType((Entity *)*puVar35); - if (cVar6 == '\0') { + cVar7 = Entity::IsType((Entity *)*puVar35); + if (cVar7 == '\0') { LAB_005c668f: local_5ec = uStack_608._4_4_; } else { puVar35 = (undefined4 *)FUN_0042c810(); pEVar10 = (Entity_Player *)Entity::SpawnerEntity((Entity *)*puVar35); - if (pEVar10 != pEVar55) goto LAB_005c668f; + if (pEVar10 != this_01) goto LAB_005c668f; local_5ec = (Entity_Player *)&DAT_bf800000; } FUN_0042c810(); FUN_005cba80(); std::iterator_copy(); - cVar6 = FUN_0042c710(); + cVar7 = FUN_0042c710(); pEVar10 = local_5e4; - if (cVar6 != '\0') { + if (cVar7 != '\0') { local_5ec = (Entity_Player *)((float)local_5ec + 1e+06); } if ((float)local_5ec < (float)local_5f0) { @@ -261725,37 +262009,37 @@ LAB_005c668f: if ((float)local_5ec < 0.0) break; } local_5e4 = (Entity_Player *)&pEVar10->field_0x1; - puVar66 = (undefined1 *)std::vector::size(); - } while (&pEVar10->field_0x1 < puVar66); + puVar25 = (undefined1 *)std::vector::size(); + } while (&pEVar10->field_0x1 < puVar25); } if (pEStack_620 == (Entity *)0x0) { if (((uint)local_618 & 0x20) == 0) { - pvVar58 = TemporaryEffects::GetNullEffect(&pEVar55->_temporaryeffects,0x6d); - if (pvVar58 != (void *)0x0) { - *(undefined4 *)((int)pvVar58 + 8) = 10; + pvVar57 = TemporaryEffects::GetNullEffect(&this_01->_temporaryeffects,0x6d); + if (pvVar57 != (void *)0x0) { + *(undefined4 *)((int)pvVar57 + 8) = 10; } local_5fc = local_5fc & 0xff00; } } else { - pvVar58 = (void *)0x96; + pvVar57 = (void *)0x96; local_5e4 = (void *)0x96; - if ((pEVar55->_playerType == 0x25) || (pEVar55->_playerType == 0x27)) { - bVar5 = HasCollectible(pEVar55,0x26b,0); + if ((this_01->_playerType == 0x25) || (this_01->_playerType == 0x27)) { + bVar5 = HasCollectible(this_01,0x26b,0); if (bVar5 != 0) { - pvVar58 = (void *)0xc8; + pvVar57 = (void *)0xc8; } - local_5e4 = pvVar58; + local_5e4 = pvVar57; } pEVar10 = local_5e4; Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + if (cVar7 != '\0') { local_5e4 = (Entity_Player *)((uint)pEVar10 >> 1); } Entity::Position(pEStack_620); - cVar6 = Entity::IsType(pEStack_620); - if (cVar6 != '\0') { + cVar7 = Entity::IsType(pEStack_620); + if (cVar7 != '\0') { iVar9 = Entity::Parent(pEStack_620); if (iVar9 == 0) { LAB_005c6810: @@ -261763,8 +262047,8 @@ LAB_005c6810: } else { pEVar31 = (Entity *)Entity::Parent(pEStack_620); - cVar6 = Entity::IsEnemy(pEVar31); - if (cVar6 == '\0') goto LAB_005c6810; + cVar7 = Entity::IsEnemy(pEVar31); + if (cVar7 == '\0') goto LAB_005c6810; pEVar31 = (Entity *)Entity::Parent(pEStack_620); } pEStack_650 = (Entity *)Entity::to_npc_or_coop_player(pEVar31); @@ -261792,8 +262076,8 @@ LAB_005c6810: Entity_Effect::SetTimeout((Entity_Effect *)local_5ec); FUN_005cba80(); std::iterator_copy(); - cVar6 = FUN_0042c710(); - if (cVar6 != '\0') { + cVar7 = FUN_0042c710(); + if (cVar7 != '\0') { iVar9 = FUN_005cba30(); Entity_Projectile::ChangeTimeout(*(Entity_Projectile **)(iVar9 + 4)); Entity_Effect::SetTimeout((Entity_Effect *)local_5ec); @@ -261808,14 +262092,14 @@ LAB_005c6810: Entity_Effect::SetTimeout((Entity_Effect *)local_5e4); FUN_005cba80(); std::iterator_copy(); - cVar6 = FUN_0042c710(); - if (cVar6 != '\0') { + cVar7 = FUN_0042c710(); + if (cVar7 != '\0') { iVar9 = FUN_005cba30(); Entity_Projectile::ChangeTimeout(*(Entity_Projectile **)(iVar9 + 4)); Entity_Effect::SetTimeout((Entity_Effect *)local_5e4); } (**(code **)(*(int *)local_5e4 + 0xc))(); - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if (((bVar5 != 0) && ((char)local_610 != '\0')) && (pEVar31 = (Entity *)AddWisp(), pEVar31 != (Entity *)0x0)) { Entity::SetParent(pEVar31); @@ -261825,7 +262109,7 @@ LAB_005c6810: FUN_00436fb0(); uStack_14 = -1; FID_conflict__Tidy(auStack_6b4); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x6e: @@ -261833,8 +262117,8 @@ LAB_005c6810: Game::GetItemPool(g_game); ItemPool::ResetRoomBlacklist(); Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = 0x42; iVar9 = EntityList::Size(); if (iVar9 != 0) { @@ -261842,8 +262126,8 @@ LAB_005c6810: do { puVar35 = (undefined4 *)std::vector::operator_index(); pEVar31 = (Entity *)*puVar35; - cVar6 = Entity::IsDead(pEVar31); - if ((cVar6 == '\0') && (iVar9 = Entity::SubType(pEVar31), iVar9 != 0)) { + cVar7 = Entity::IsDead(pEVar31); + if ((cVar7 == '\0') && (iVar9 = Entity::SubType(pEVar31), iVar9 != 0)) { pEVar10 = (Entity_Player *)__RTDynamicCast(); local_5ec = pEVar10; iVar9 = Entity_Pickup::OptionsPickupIndex((Entity_Pickup *)pEVar10); @@ -261859,13 +262143,13 @@ LAB_005c6810: goto LAB_005c6cee; } pIVar12 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar23 = ItemConfig::GetCollectible(pIVar12,iVar9); - } while ((pIVar23 == (ItemConfig_Item *)0x0) || - (cVar6 = Item::IsAvailable(), cVar6 == '\0')); + pIVar24 = ItemConfig::GetCollectible(pIVar12,iVar9); + } while ((pIVar24 == (ItemConfig_Item *)0x0) || + (cVar7 = Item::IsAvailable(), cVar7 == '\0')); iVar9 = Entity::Variant((Entity *)local_5ec); - iVar73 = Entity::Type((Entity *)local_5ec); + iVar78 = Entity::Type((Entity *)local_5ec); Entity_Pickup::Morph - ((Entity_Pickup *)local_5ec,iVar73,iVar9,(int)uStack_608._4_4_,1,0,0); + ((Entity_Pickup *)local_5ec,iVar78,iVar9,(int)uStack_608._4_4_,1,0,0); FUN_005b1950(); LAB_005c6cee: Random(); @@ -261876,13 +262160,13 @@ LAB_005c6cee: uVar59 = uVar59 + 1; uVar11 = EntityList::Size(); } while (uVar59 < uVar11); - pEVar55 = local_5e0; + this_01 = local_5e0; } - bVar5 = HasCollectible(pEVar55,0x248,0); + bVar5 = HasCollectible(this_01,0x248,0); if ((bVar5 != 0) && ((char)local_610 != '\0')) { Level::GetCurrentRoom((Level *)g_game); - pEVar25 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar25); + pEVar26 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar26); uStack_14 = CONCAT31(uStack_14._1_3_,0x43); pRVar8 = (RNG *)FUN_005cbd00(); local_5e4 = (Entity_Player *)Entity_Familiar::GetRandomWisp(pRVar8); @@ -261896,9 +262180,9 @@ LAB_005c6cee: uVar59 = uVar59 + 1; uVar11 = EntityList::Size(); } while (uVar59 < uVar11); - pEVar55 = local_5e0; + this_01 = local_5e0; } - Entity::Position((Entity *)pEVar55); + Entity::Position((Entity *)this_01); AddWisp(); EntityList_Query::~EntityList_Query(); } @@ -261907,7 +262191,7 @@ LAB_005c6cee: } bVar5 = 0; if ((char)local_5e8 != '\0') { - IsLocalPlayer(pEVar55); + IsLocalPlayer(this_01); SoundEffects::PlayWithFartOverride(); goto LAB_005b8b8d; } @@ -261918,7 +262202,7 @@ LAB_005b7f60: SetItemState(local_5e0); LAB_005b3eb4: AnimateCollectible(local_5e0); - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x70: @@ -261926,14 +262210,14 @@ LAB_005b3eb4: SetItemState(local_5e0); AnimateCollectible(local_5e0); local_60a = '\0'; - pEVar55 = local_5e0; + this_01 = local_5e0; local_5d9 = (byte)local_5e8; break; case 0x71: goto LAB_005c71f1; } LAB_005b54d1: - pRVar8 = GetCollectibleRNG(pEVar55,(int)local_5f4); + pRVar8 = GetCollectibleRNG(this_01,(int)local_5f4); pEVar10 = local_5e0; bVar5 = LuaEngine::UseItem(g_luaEngine,(int)local_5f4,pRVar8,local_5e0,(uint)local_618, (int)local_61c,varData,&local_5fc); @@ -261944,32 +262228,32 @@ LAB_005b54d1: RemoveCollectible(pEVar10,(uint)local_5f4,0,0xffffffff,1); local_5fc = local_5fc & 0xff; } - pIVar23 = local_62c; + pEVar67 = local_62c; if (((char)local_5fc == '\0') || ((pEVar10->_itemState != 0 && (pEVar10->_itemState != 0x2f)))) { local_5fc = (ushort)local_5fc._1_1_ << 8; } else { local_5fc = CONCAT11(local_5fc._1_1_,1); } - pEVar10->_cacheFlags = pEVar10->_cacheFlags | local_62c->cacheFlags; + pEVar10->_cacheFlags = pEVar10->_cacheFlags | *(int *)((int)local_62c + 0x54); iVar9 = pEVar10->_cacheFlags; if (local_60a != '\0') { - iVar73 = 1; + iVar78 = 1; iVar9 = local_85c; - pvVar58 = (void *)TemporaryEffect::TemporaryEffect(); - TemporaryEffects::AddEffect(&pEVar10->_temporaryeffects,pvVar58,(byte)iVar9,iVar73); + pvVar57 = (void *)TemporaryEffect::TemporaryEffect(); + TemporaryEffects::AddEffect(&pEVar10->_temporaryeffects,pvVar57,(byte)iVar9,iVar78); iVar9 = pEVar10->_cacheFlags; } if (iVar9 != 0) { EvaluateItems(); } if ((char)local_860 != '\0') { - AddCostume(pEVar10,pIVar23,0); + AddCostume(pEVar10,(ItemConfig_Item *)pEVar67,0); } - if (local_5f4 == (undefined1 *)0x246) { + if (local_5f4 == (Entity_Player *)0x246) { update_mini_mush_costume(); } - else if (local_5f4 == (undefined1 *)0x2c0) { + else if (local_5f4 == (Entity_Player *)0x2c0) { Level::GetCurrentRoom((Level *)g_game); Level::UpdateBackwardsPathStages(); } @@ -261985,12 +262269,12 @@ LAB_005b54d1: Vector::__sub(); fVar64 = (float10)Vector::LengthSquared(); local_5ec = (Entity_Player *)(float)fVar64; - iVar73 = iVar73 + -1; + iVar78 = iVar78 + -1; if (4900.0 <= (float)local_5ec) break; LAB_005b87b2: - if (iVar73 < 1) break; + if (iVar78 < 1) break; } - pEVar55 = local_5e0; + this_01 = local_5e0; LAB_005b8849: pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); pEVar10 = (Entity_Player *)Room::GetGridIndex(pRVar28); @@ -262007,26 +262291,26 @@ LAB_005b8849: } LAB_005b88a3: Level::GetCurrentRoom((Level *)g_game); - cVar6 = Room::is_type_16(); - if ((((cVar6 == '\0') && (pGVar38 != (GridEntity *)0x0)) && + cVar7 = Room::is_type_16(); + if ((((cVar7 == '\0') && (pGVar38 != (GridEntity *)0x0)) && (iVar9 = GridEntity::GetType(), iVar9 == 1)) && (uVar59 = GridEntity::GetVariant(), uVar59 < 0x1f)) { pLVar27 = (Level *)Config::GetCollectibles(); - cVar6 = Level::GetStateFlag(pLVar27); + cVar7 = Level::GetStateFlag(pLVar27); local_5d9 = 1; - if (cVar6 != '\0') goto LAB_005b88f4; + if (cVar7 != '\0') goto LAB_005b88f4; } else { LAB_005b88f4: local_5d9 = 0; } pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); - EntityRef::constructor(&EStack_16f8,(Entity *)pEVar55); + EntityRef::constructor(&EStack_16f8,(Entity *)this_01); Room::DestroyGridWithSource(pRVar28); if (local_5d9 == 0) { Config::GetCollectibles(); - cVar6 = Level::CanSpawnTrapDoor(); - if (cVar6 != '\0') { + cVar7 = Level::CanSpawnTrapDoor(); + if (cVar7 != '\0') { pRVar28 = (Room *)Level::GetCurrentRoom((Level *)g_game); pRVar8 = (RNG *)FUN_005cbd00(); uVar59 = RNG::Next(pRVar8); @@ -262052,8 +262336,8 @@ LAB_005b88f4: Isaac::Random(4); FUN_0043eea0(); Config::GetCollectibles(); - cVar6 = Level::IsMausoleumHeartStage(); - if (cVar6 == '\0') { + cVar7 = Level::IsMausoleumHeartStage(); + if (cVar7 == '\0') { Config::GetCollectibles(); iVar9 = EntityPtr::Ref(); if (iVar9 == 7) { @@ -262117,14 +262401,14 @@ void FUN_005c7ad0(int param_1) if (uVar5 < 0xd) { uVar4 = uVar5; } - uVar5 = *(uint *)((int)(&g_game->_itemPool + 2) + uVar4 * 4 + 0x514); + uVar5 = (g_game->_seedEffects)._stageSeeds[uVar4]; if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar5 = uVar5 >> 5 ^ uVar5; uVar5 = uVar5 << 0xf ^ uVar5; - *(uint *)((int)(&g_game->_itemPool + 2) + uVar4 * 4 + 0x514) = uVar5 >> 0x11 ^ uVar5; + (g_game->_seedEffects)._stageSeeds[uVar4] = uVar5 >> 0x11 ^ uVar5; Game::StartStageTransition(pGVar2,1,1,pEVar1); } return; @@ -262302,20 +262586,25 @@ void FUN_005c7f20(int param_1) } -//@@ 005c8020 FUN_005c8020 +//@@ 005c8020 everything_jar_crack_the_sky_timer -void FUN_005c8020(int param_1) +/* DB: ? Entity_Effect::CreateTimer callback (mov ecx,0x5c8020 at 005c5ca5, RandomInt(10)+18 repeats + every 5 frames) in UseActiveItem's Everything Jar (0x2d0) 12-charge random pick: at + Room::GetRandomPosition spawns 1000.19 (Crack the Sky beam, as in 160's case) parented to the + timer's player parent, damage (player +0x157c *3 +4) * rand(0.7..2.1), random hsv_to_rgb color */ + +void everything_jar_crack_the_sky_timer(int param_1) { float fVar1; float fVar2; EntityPtr EVar3; - int iVar4; - uint uVar5; - undefined4 uVar6; - int *piVar7; - float *pfVar8; - LayerState *pLVar9; + uint uVar4; + undefined4 uVar5; + int *piVar6; + float *pfVar7; + LayerState *pLVar8; + int iVar9; float fVar10; Entity *pEStack_40; EntityPtr *local_38; @@ -262326,24 +262615,24 @@ void FUN_005c8020(int param_1) Room::GetRandomPosition(local_24,0x41a00000); EVar3 = *(EntityPtr *)(param_1 + 0x3bc); if ((EVar3 != (EntityPtr)0x0) && (*(int *)((int)EVar3 + 0x28) == 1)) { - uVar5 = *(uint *)(param_1 + 0x3dc); - if (uVar5 == 0) { + uVar4 = *(uint *)(param_1 + 0x3dc); + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = uVar5 >> ((byte)*(undefined4 *)(param_1 + 0x3e0) & 0x1f) ^ uVar5; - uVar5 = uVar5 << ((byte)*(undefined4 *)(param_1 + 0x3e4) & 0x1f) ^ uVar5; - uVar5 = uVar5 >> ((byte)*(undefined4 *)(param_1 + 1000) & 0x1f) ^ uVar5; - *(uint *)(param_1 + 0x3dc) = uVar5; + uVar4 = uVar4 >> ((byte)*(undefined4 *)(param_1 + 0x3e0) & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)*(undefined4 *)(param_1 + 0x3e4) & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)*(undefined4 *)(param_1 + 1000) & 0x1f) ^ uVar4; + *(uint *)(param_1 + 0x3dc) = uVar4; local_38 = (EntityPtr *) - ((float)((double)(int)uVar5 + __uint_to_double_fixup[-((int)uVar5 >> 0x1f)]) * + ((float)((double)(int)uVar4 + __uint_to_double_fixup[-((int)uVar4 >> 0x1f)]) * 2.3283062e-10 * 1.4 + 0.7); - uVar6 = Random(); - piVar7 = (int *)Game::SpawnEx(g_game,1000,0x13,local_24,&g_vectorZero,EVar3,2,uVar6,0); - (**(code **)(*piVar7 + 0x40))((*(float *)((int)EVar3 + 0x157c) * 3.0 + 4.0) * (float)local_38); + uVar5 = Random(); + piVar6 = (int *)Game::SpawnEx(g_game,1000,0x13,local_24,&g_vectorZero,EVar3,2,uVar5,0); + (**(code **)(*piVar6 + 0x40))((*(float *)((int)EVar3 + 0x157c) * 3.0 + 4.0) * (float)local_38); fStack_30 = -g_vectorOne.y; pEStack_34 = (EntityPtr *)-g_vectorOne.x; - Entity::SetSize(pEStack_40,(float)piVar7 * 20.0,pEStack_34,fStack_30,0xffffffff); + Entity::SetSize(pEStack_40,(float)piVar6 * 20.0,pEStack_34,fStack_30,0xffffffff); pEStack_34 = &pEStack_40->_parent; if (*pEStack_34 != (EntityPtr)0x0) { local_38 = pEStack_34; @@ -262351,73 +262640,80 @@ void FUN_005c8020(int param_1) } *pEStack_34 = EVar3; std::multiset::insert(pEStack_34); - uVar5 = *(uint *)(param_1 + 0x3dc); - if (uVar5 == 0) { + uVar4 = *(uint *)(param_1 + 0x3dc); + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = uVar5 >> ((byte)*(undefined4 *)(param_1 + 0x3e0) & 0x1f) ^ uVar5; - uVar5 = uVar5 << ((byte)*(undefined4 *)(param_1 + 0x3e4) & 0x1f) ^ uVar5; - uVar5 = uVar5 >> ((byte)*(undefined4 *)(param_1 + 1000) & 0x1f) ^ uVar5; - *(uint *)(param_1 + 0x3dc) = uVar5; + uVar4 = uVar4 >> ((byte)*(undefined4 *)(param_1 + 0x3e0) & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)*(undefined4 *)(param_1 + 0x3e4) & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)*(undefined4 *)(param_1 + 1000) & 0x1f) ^ uVar4; + *(uint *)(param_1 + 0x3dc) = uVar4; pEStack_34 = (EntityPtr *) - ((float)((double)(int)uVar5 + __uint_to_double_fixup[-((int)uVar5 >> 0x1f)]) * + ((float)((double)(int)uVar4 + __uint_to_double_fixup[-((int)uVar4 >> 0x1f)]) * 2.3283062e-10 * 0.2 + 0.6); - if (uVar5 == 0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = uVar5 >> ((byte)*(undefined4 *)(param_1 + 0x3e0) & 0x1f) ^ uVar5; - uVar5 = uVar5 << ((byte)*(undefined4 *)(param_1 + 0x3e4) & 0x1f) ^ uVar5; - *(uint *)(param_1 + 0x3dc) = uVar5 >> ((byte)*(undefined4 *)(param_1 + 1000) & 0x1f) ^ uVar5; - pfVar8 = (float *)hsv_to_rgb(0x3f800000); - fVar10 = pfVar8[1]; - fVar1 = pfVar8[2]; - fVar2 = pfVar8[3]; - (pEStack_40->_sprite)._color._tint[0] = *pfVar8; + uVar4 = uVar4 >> ((byte)*(undefined4 *)(param_1 + 0x3e0) & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)*(undefined4 *)(param_1 + 0x3e4) & 0x1f) ^ uVar4; + *(uint *)(param_1 + 0x3dc) = uVar4 >> ((byte)*(undefined4 *)(param_1 + 1000) & 0x1f) ^ uVar4; + pfVar7 = (float *)hsv_to_rgb(0x3f800000); + fVar10 = pfVar7[1]; + fVar1 = pfVar7[2]; + fVar2 = pfVar7[3]; + (pEStack_40->_sprite)._color._tint[0] = *pfVar7; (pEStack_40->_sprite)._color._tint[1] = fVar10; (pEStack_40->_sprite)._color._tint[2] = fVar1; (pEStack_40->_sprite)._color._tint[3] = fVar2; - uVar5 = g_graphicsManager_flags; - pLVar9 = ANM2::GetLayer(&pEStack_40->_sprite,(byte *)0x0); - uVar6 = 1; - if ((uVar5 & 4) == 0) { - uVar6 = 6; + uVar4 = g_graphicsManager_flags; + pLVar8 = ANM2::GetLayer(&pEStack_40->_sprite,(byte *)0x0); + iVar9 = 1; + if ((uVar4 & 4) == 0) { + iVar9 = 6; } - *(undefined4 *)&pLVar9->field_0x78 = 0; - *(undefined4 *)&pLVar9->field_0x7c = uVar6; - *(undefined4 *)&pLVar9->field_0x80 = 1; - *(undefined4 *)&pLVar9->field_0x84 = 1; - *(undefined4 *)&pLVar9->field_0x88 = 1; - uVar5 = g_graphicsManager_flags; - pLVar9 = ANM2::GetLayer(&pEStack_40->_sprite,(byte *)0x1); - uVar6 = 1; - if ((uVar5 & 4) == 0) { - uVar6 = 6; + pLVar8->_blendMode[0] = 0; + pLVar8->_blendMode[1] = iVar9; + pLVar8->_blendMode[2] = 1; + pLVar8->_blendMode[3] = 1; + pLVar8->_blendMode[4] = 1; + uVar4 = g_graphicsManager_flags; + pLVar8 = ANM2::GetLayer(&pEStack_40->_sprite,(byte *)0x1); + iVar9 = 1; + if ((uVar4 & 4) == 0) { + iVar9 = 6; } - *(undefined4 *)&pLVar9->field_0x7c = uVar6; - *(undefined4 *)&pLVar9->field_0x78 = 0; - *(undefined4 *)&pLVar9->field_0x80 = 1; - *(undefined4 *)&pLVar9->field_0x84 = 1; - *(undefined4 *)&pLVar9->field_0x88 = 1; - iVar4 = *(int *)pEStack_40; - fVar10 = (float)piVar7 * g_vectorOne.x; - (pEStack_40->_sprite)._scale.y = (float)piVar7 * g_vectorOne.y; + pLVar8->_blendMode[1] = iVar9; + pLVar8->_blendMode[0] = 0; + pLVar8->_blendMode[2] = 1; + pLVar8->_blendMode[3] = 1; + pLVar8->_blendMode[4] = 1; + iVar9 = *(int *)pEStack_40; + fVar10 = (float)piVar6 * g_vectorOne.x; + (pEStack_40->_sprite)._scale.y = (float)piVar6 * g_vectorOne.y; (pEStack_40->_sprite)._scale.x = fVar10; - (**(code **)(iVar4 + 0xc))(); + (**(code **)(iVar9 + 0xc))(); } return; } -//@@ 005c83f0 FUN_005c83f0 +//@@ 005c83f0 everything_jar_shopkeeper_rain_timer -void FUN_005c83f0(int param_1) +/* DB: ? Entity_Effect::CreateTimer callback (mov ecx,0x5c83f0 at 005c5dc5, RandomInt(12)+6 repeats + every 2 frames) in Entity_Player::UseActiveItem's Everything Jar (0x2d0) 12-charge random pick, + case 8: FindFreePickupSpawnPosition near a random point, clears the grid path cost to 900, + WeightedOutcomePicker over variants 0..4 (weights 3,3,1,1,1), Game::Spawn(17 shopkeeper, variant) + */ + +void everything_jar_shopkeeper_rain_timer(int param_1) { int *piVar1; void *pvVar2; code *pcVar3; + RNG rng; bool bVar4; uint uVar5; undefined4 uVar6; @@ -262425,8 +262721,9 @@ void FUN_005c83f0(int param_1) Game *pGVar8; int iVar9; Manager *pMVar10; - uint uVar11; - float fVar12; + WeightedOutcomePicker WVar11; + uint uVar12; + float fVar13; WeightedOutcomePicker local_30; undefined4 *local_2c; undefined4 *local_28; @@ -262444,21 +262741,21 @@ void FUN_005c83f0(int param_1) local_10 = ExceptionList; uVar5 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; - uVar6 = Room::GetRandomPosition(); + uVar6 = Room::GetRandomPosition(&local_1c,0x41a00000); Room::FindFreePickupSpawnPosition(&local_24,uVar6,0x42200000,0,0,0); iVar7 = Random(uVar5); - fVar12 = (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 3.14; - fVar12 = fVar12 + fVar12; - local_18 = fVar12; + fVar13 = (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 3.14; + fVar13 = fVar13 + fVar13; + local_18 = fVar13; sin(); - local_14 = fVar12; + local_14 = fVar13; cos(); local_18 = local_18 * 20.0; local_14 = local_14 * 20.0; iVar7 = Random(); - fVar12 = (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10; - local_20 = local_20 + fVar12 * local_14; - local_24 = local_24 + fVar12 * local_18; + fVar13 = (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10; + local_20 = local_20 + fVar13 * local_14; + local_24 = local_24 + fVar13 * local_18; pvVar2 = g_game->_room; iVar7 = (int)((local_20 - 120.0) / 40.0 + 0.5); iVar9 = (int)((local_24 - 40.0) / 40.0 + 0.5); @@ -262477,10 +262774,10 @@ void FUN_005c83f0(int param_1) local_8 = 0; local_1c = 0; local_18 = 4.2039e-45; - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(0,&local_1c); uVar5 = 0; - uVar11 = (int)local_2c - (int)local_30 >> 3; - if (uVar11 != 0) { + uVar12 = (int)local_2c - (int)local_30 >> 3; + if (uVar12 != 0) { do { if (*(int *)((int)local_30 + uVar5 * 8) == 1) { piVar1 = (int *)((int)local_30 + 4 + uVar5 * 8); @@ -262491,12 +262788,12 @@ void FUN_005c83f0(int param_1) goto LAB_005c8637; } uVar5 = uVar5 + 1; - } while (uVar5 < uVar11); + } while (uVar5 < uVar12); } local_1c = 1; local_18 = 4.2039e-45; if (local_2c == local_28) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_2c,&local_1c); } else { *local_2c = 1; @@ -262505,8 +262802,8 @@ void FUN_005c83f0(int param_1) } LAB_005c8637: uVar5 = 0; - uVar11 = (int)local_2c - (int)local_30 >> 3; - if (uVar11 != 0) { + uVar12 = (int)local_2c - (int)local_30 >> 3; + if (uVar12 != 0) { do { if (*(int *)((int)local_30 + uVar5 * 8) == 2) { piVar1 = (int *)((int)local_30 + 4 + uVar5 * 8); @@ -262517,12 +262814,12 @@ LAB_005c8637: goto LAB_005c8698; } uVar5 = uVar5 + 1; - } while (uVar5 < uVar11); + } while (uVar5 < uVar12); } local_1c = 2; local_18 = 1.4013e-45; if (local_2c == local_28) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_2c,&local_1c); } else { *local_2c = 2; @@ -262546,7 +262843,7 @@ LAB_005c8698: local_1c = 3; } if (local_2c == local_28) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_2c,&local_1c); pGVar8 = g_game; pMVar10 = g_manager; } @@ -262565,7 +262862,7 @@ LAB_005c8698: } local_18 = 1.4013e-45; if (local_2c == local_28) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_2c,&local_1c); } else { *local_2c = local_1c; @@ -262575,7 +262872,7 @@ LAB_005c8698: uVar5 = *(uint *)(param_1 + 0x3dc); if (uVar5 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar5 = uVar5 >> ((byte)*(undefined4 *)(param_1 + 0x3e0) & 0x1f) ^ uVar5; uVar5 = uVar5 << ((byte)*(undefined4 *)(param_1 + 0x3e4) & 0x1f) ^ uVar5; @@ -262583,27 +262880,35 @@ LAB_005c8698: *(uint *)(param_1 + 0x3dc) = uVar5; if (uVar5 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } if (uVar5 == 0) { pcVar3 = (code *)swi(3); (*pcVar3)(); return; } - uVar11 = uVar5 >> ((byte)*(undefined4 *)(param_1 + 0x3e0) & 0x1f) ^ uVar5; - uVar11 = uVar11 << ((byte)*(undefined4 *)(param_1 + 0x3e4) & 0x1f) ^ uVar11; - uVar11 = uVar11 >> ((byte)*(undefined4 *)(param_1 + 1000) & 0x1f) ^ uVar11; - *(uint *)(param_1 + 0x3dc) = uVar11; - uVar6 = WeightedOutcomePicker::PickOutcome(&local_30,uVar11,0x900000005,7); - Game::Spawn(0x11,uVar6,&local_24,&g_vectorZero,0,0,uVar5); + uVar12 = uVar5 >> ((byte)*(undefined4 *)(param_1 + 0x3e0) & 0x1f) ^ uVar5; + uVar12 = uVar12 << ((byte)*(undefined4 *)(param_1 + 0x3e4) & 0x1f) ^ uVar12; + uVar12 = uVar12 >> ((byte)*(undefined4 *)(param_1 + 1000) & 0x1f) ^ uVar12; + *(uint *)(param_1 + 0x3dc) = uVar12; + rng._shift1 = 5; + rng._seed = uVar12; + rng._shift2 = 9; + rng._shift3 = 7; + uVar12 = WeightedOutcomePicker::PickOutcome(&local_30,rng); + Game::Spawn(0x11,uVar12,&local_24,&g_vectorZero,0,0,uVar5); if (local_30 != (WeightedOutcomePicker)0x0) { - if (0xfff < ((int)local_28 - (int)local_30 & 0xfffffff8U)) { - if (0x1f < ((int)local_30 - *(int *)((int)local_30 + -4)) - 4U) { + uVar5 = (int)local_28 - (int)local_30 & 0xfffffff8; + WVar11 = local_30; + if (0xfff < uVar5) { + WVar11 = *(WeightedOutcomePicker *)((int)local_30 + -4); + uVar5 = uVar5 + 0x23; + if (0x1f < ((int)local_30 - (int)WVar11) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(); + operator_delete(WVar11,uVar5); } ExceptionList = local_10; return; @@ -263406,22 +263711,18 @@ void Entity_Player::trigger_book_of_belial_passive(int param_1,int param_2) undefined4 local_58; uint local_54; undefined4 local_50; - undefined1 auStack_4c [24]; - undefined4 uStack_34; - float local_30; - uint uStack_2c; - void *local_28; + EntityRef EStack_4c; uint local_24; undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; - undefined4 uStack_14; + int iStack_14; - puStack_20 = auStack_4c + 0x48; - uStack_14 = 0xffffffff; + puStack_20 = (undefined1 *)(local_88 + 0x21); + iStack_14 = 0xffffffff; puStack_18 = &LAB_00af5e50; local_1c = ExceptionList; - uVar7 = __security_cookie ^ (uint)(auStack_4c + 0x3c); + uVar7 = __security_cookie ^ (uint)(local_88 + 0x1e); ExceptionList = &local_1c; local_68 = in_ECX; local_24 = uVar7; @@ -263511,14 +263812,14 @@ LAB_005c9c18: uVar7 = Random(); if (uVar7 % 3 == 0) { if (in_ECX == (Entity_Player *)0x0) { - auStack_4c._0_4_ = 0; - auStack_4c._4_4_ = 0; - auStack_4c._8_4_ = 0; - auStack_4c._12_4_ = 0; - auStack_4c._16_4_ = g_vectorZero.x; - auStack_4c._20_4_ = g_vectorZero.y; - uStack_34 = g_vectorZero.x; - local_30 = g_vectorZero.y; + EStack_4c._type = 0; + EStack_4c._variant = 0; + EStack_4c._spawnerType = 0; + EStack_4c._spawnerVariant = 0; + EStack_4c._position.x = g_vectorZero.x; + EStack_4c._position.y = g_vectorZero.y; + EStack_4c._velocity.x = g_vectorZero.x; + EStack_4c._velocity.y = g_vectorZero.y; LAB_005c9d27: uVar7 = 0; if (in_ECX != (Entity_Player *)0x0) goto LAB_005c9d2d; @@ -263527,17 +263828,17 @@ LAB_005c9d48: local_54 = 0; if (in_ECX != (Entity_Player *)0x0) goto LAB_005c9d53; LAB_005c9d6c: - uStack_2c = 0; + EStack_4c._flags = 0; } else { - auStack_4c._0_4_ = in_ECX->_type; - auStack_4c._16_4_ = (in_ECX->_pos).x; - auStack_4c._20_4_ = (in_ECX->_pos).y; - auStack_4c._4_4_ = in_ECX->_variant; - auStack_4c._8_4_ = in_ECX->_spawnerType; - auStack_4c._12_4_ = in_ECX->_spawnerVariant; - uStack_34 = (in_ECX->_velocity).x; - local_30 = (in_ECX->_velocity).y; + EStack_4c._type = in_ECX->_type; + EStack_4c._position.x = (in_ECX->_pos).x; + EStack_4c._position.y = (in_ECX->_pos).y; + EStack_4c._variant = in_ECX->_variant; + EStack_4c._spawnerType = in_ECX->_spawnerType; + EStack_4c._spawnerVariant = in_ECX->_spawnerVariant; + EStack_4c._velocity.x = (in_ECX->_velocity).x; + EStack_4c._velocity.y = (in_ECX->_velocity).y; if ((in_ECX->_flags & 0x100) == 0) goto LAB_005c9d27; uVar7 = 1; LAB_005c9d2d: @@ -263545,21 +263846,21 @@ LAB_005c9d2d: local_54 = 2; LAB_005c9d53: if ((in_ECX->_flags & 0x40000000000000) == 0) goto LAB_005c9d6c; - uStack_2c = 4; + EStack_4c._flags = 4; } - uStack_2c = uVar7 | local_54 | uStack_2c; - Entity::AddMidasFreeze(this_00,(EntityRef *)auStack_4c,3,0); + EStack_4c._flags = uVar7 | local_54 | EStack_4c._flags; + Entity::AddMidasFreeze(this_00,&EStack_4c,3,0); } local_60 = *(code **)(*(int *)this_00 + 0x20); if (in_ECX == (Entity_Player *)0x0) { - auStack_4c._0_4_ = 0; - auStack_4c._4_4_ = 0; - auStack_4c._8_4_ = 0; - auStack_4c._12_4_ = 0; - auStack_4c._16_4_ = g_vectorZero.x; - auStack_4c._20_4_ = g_vectorZero.y; - uStack_34 = g_vectorZero.x; - local_30 = g_vectorZero.y; + EStack_4c._type = 0; + EStack_4c._variant = 0; + EStack_4c._spawnerType = 0; + EStack_4c._spawnerVariant = 0; + EStack_4c._position.x = g_vectorZero.x; + EStack_4c._position.y = g_vectorZero.y; + EStack_4c._velocity.x = g_vectorZero.x; + EStack_4c._velocity.y = g_vectorZero.y; LAB_005c9e39: local_54 = 0; if (in_ECX != (Entity_Player *)0x0) goto LAB_005c9e44; @@ -263571,14 +263872,14 @@ LAB_005c9e81: uVar8 = 0; } else { - auStack_4c._0_4_ = in_ECX->_type; - auStack_4c._16_4_ = (in_ECX->_pos).x; - auStack_4c._20_4_ = (in_ECX->_pos).y; - auStack_4c._4_4_ = in_ECX->_variant; - auStack_4c._8_4_ = in_ECX->_spawnerType; - auStack_4c._12_4_ = in_ECX->_spawnerVariant; - uStack_34 = (in_ECX->_velocity).x; - local_30 = (in_ECX->_velocity).y; + EStack_4c._type = in_ECX->_type; + EStack_4c._position.x = (in_ECX->_pos).x; + EStack_4c._position.y = (in_ECX->_pos).y; + EStack_4c._variant = in_ECX->_variant; + EStack_4c._spawnerType = in_ECX->_spawnerType; + EStack_4c._spawnerVariant = in_ECX->_spawnerVariant; + EStack_4c._velocity.x = (in_ECX->_velocity).x; + EStack_4c._velocity.y = (in_ECX->_velocity).y; if ((in_ECX->_flags & 0x100) == 0) goto LAB_005c9e39; local_54 = 1; LAB_005c9e44: @@ -263588,8 +263889,8 @@ LAB_005c9e68: if ((in_ECX->_flags & 0x40000000000000) == 0) goto LAB_005c9e81; uVar8 = 4; } - uStack_2c = uVar7 | uVar8 | local_54; - (*local_60)(in_ECX->_meleeDamage + in_ECX->_meleeDamage + 15.0,0,0,auStack_4c,0x1e); + EStack_4c._flags = uVar7 | uVar8 | local_54; + (*local_60)(in_ECX->_meleeDamage + in_ECX->_meleeDamage + 15.0,0,0,&EStack_4c,0x1e); } pGVar13 = g_game; } @@ -263663,32 +263964,32 @@ LAB_005c9f70: if (param_2 < 4) { uVar9 = Random(); piVar10 = (int *)Game::Spawn(1000,0xf,&in_ECX->_pos,&g_vectorZero,0,0,uVar9); - local_30 = 0.0; + EStack_4c._velocity.y = 0.0; local_50 = 0x3e4ccccd; - auStack_4c._0_4_ = 0x3e4ccccd; - auStack_4c._4_4_ = 0x3e4ccccd; - auStack_4c._8_4_ = 0x3f19999a; - auStack_4c._12_4_ = 0x3f800000; - auStack_4c._16_4_ = 1.0; - auStack_4c._20_4_ = 1.0; - uStack_34 = 1.0; - uStack_2c = 0; - local_28 = (void *)0x0; + EStack_4c._type = 0x3e4ccccd; + EStack_4c._variant = 0x3e4ccccd; + EStack_4c._spawnerType = 0x3f19999a; + EStack_4c._spawnerVariant = 0x3f800000; + EStack_4c._position.x = 1.0; + EStack_4c._position.y = 1.0; + EStack_4c._velocity.x = 1.0; + EStack_4c._flags = 0; + EStack_4c._entity = (void *)0x0; (**(code **)(*piVar10 + 0x3c))(&local_50,0xffffffff,0xff,0,1); (**(code **)(*piVar10 + 0xc))(); } else { local_50 = 0x3e4ccccd; - auStack_4c._0_4_ = 0x3e4ccccd; - auStack_4c._4_4_ = 0x3e4ccccd; - auStack_4c._8_4_ = 0x3f19999a; - local_30 = 0.0; - auStack_4c._12_4_ = 0x3f800000; - auStack_4c._16_4_ = 1.0; - auStack_4c._20_4_ = 1.0; - uStack_34 = 1.0; - uStack_2c = 0; - local_28 = (void *)0x0; + EStack_4c._type = 0x3e4ccccd; + EStack_4c._variant = 0x3e4ccccd; + EStack_4c._spawnerType = 0x3f19999a; + EStack_4c._velocity.y = 0.0; + EStack_4c._spawnerVariant = 0x3f800000; + EStack_4c._position.x = 1.0; + EStack_4c._position.y = 1.0; + EStack_4c._velocity.x = 1.0; + EStack_4c._flags = 0; + EStack_4c._entity = (void *)0x0; Entity::MakeGroundPoof(); } local_54 = 0; @@ -263724,30 +264025,30 @@ LAB_005c9f70: uVar7 = g_graphicsManager_flags; this = (ANM2 *)((int)local_64 + 0x48); pLVar12 = ANM2::GetLayer(this,(byte *)0x0); - local_30 = 0.0; - uStack_2c = 0; - uVar9 = 1; - local_28 = (void *)0x0; + EStack_4c._velocity.y = 0.0; + EStack_4c._flags = 0; + iVar11 = 1; + EStack_4c._entity = (void *)0x0; if ((uVar7 & 4) == 0) { - uVar9 = 6; + iVar11 = 6; } - *(undefined4 *)&pLVar12->field_0x78 = 0; - *(undefined4 *)&pLVar12->field_0x7c = uVar9; - *(undefined4 *)&pLVar12->field_0x80 = 1; - *(undefined4 *)&pLVar12->field_0x84 = 1; - *(undefined4 *)&pLVar12->field_0x88 = 1; + pLVar12->_blendMode[0] = 0; + pLVar12->_blendMode[1] = iVar11; + pLVar12->_blendMode[2] = 1; + pLVar12->_blendMode[3] = 1; + pLVar12->_blendMode[4] = 1; pLVar12 = ANM2::GetLayer(this,(byte *)0x0); - if ((undefined4 *)&pLVar12->field_0x48 != &local_50) { - *(undefined4 *)&pLVar12->field_0x48 = 0x40a00000; - *(undefined4 *)&pLVar12->field_0x4c = 0x3f000000; - *(undefined4 *)&pLVar12->field_0x50 = 0x3e4ccccd; - *(undefined4 *)&pLVar12->field_0x54 = 0x3f800000; - *(undefined4 *)&pLVar12->field_0x58 = 0; - *(undefined4 *)&pLVar12->field_0x5c = 0; - *(undefined4 *)&pLVar12->field_0x60 = 0; - *(undefined4 *)&pLVar12->field_0x64 = 0; - *(ulonglong *)&pLVar12->field_0x68 = CONCAT44(uStack_2c,local_30); - *(void **)&pLVar12->field_0x70 = local_28; + if (&pLVar12->_color != (ColorMod *)&local_50) { + (pLVar12->_color)._tint[0] = 5.0; + (pLVar12->_color)._tint[1] = 0.5; + (pLVar12->_color)._tint[2] = 0.2; + (pLVar12->_color)._tint[3] = 1.0; + (pLVar12->_color)._colorize[0] = 0.0; + (pLVar12->_color)._colorize[1] = 0.0; + (pLVar12->_color)._colorize[2] = 0.0; + (pLVar12->_color)._colorize[3] = 0.0; + *(ulonglong *)(pLVar12->_color)._offset = CONCAT44(EStack_4c._flags,EStack_4c._velocity.y); + (pLVar12->_color)._offset[2] = (float)EStack_4c._entity; } iVar11 = Random(); fVar4 = local_64; @@ -264067,11 +264368,7 @@ void Entity_Player::console_spawn(EntityPtr param_1,char param_2) float fStack_74; float fStack_70; void *pvStack_6c; - undefined1 local_68 [24]; - float fStack_50; - float fStack_4c; - float fStack_48; - void *pvStack_44; + EntityRef local_68; EntityPtr local_40; uint *local_3c; EntityPtr *local_38; @@ -264091,7 +264388,7 @@ void Entity_Player::console_spawn(EntityPtr param_1,char param_2) local_8 = 0xffffffff; puStack_c = &LAB_00af5ec5; local_10 = ExceptionList; - uVar2 = __security_cookie ^ (uint)(local_68 + 100); + uVar2 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; uVar8 = 0; local_34 = g_game->_room; @@ -264136,13 +264433,13 @@ void Entity_Player::console_spawn(EntityPtr param_1,char param_2) local_1c = (float *)0x0; local_8 = 1; local_28 = &local_30->_pos; - local_68._16_4_ = local_28->x; - local_68._20_4_ = (local_30->_pos).y; - fStack_50 = *(float *)param_1; - fStack_4c = *(float *)((int)param_1 + 4); - fStack_48 = *(float *)((int)param_1 + 8); - pvStack_44 = *(void **)((int)param_1 + 0xc); - std::vector<24byte>::_Emplace_reallocate(0,local_68 + 0x10); + local_68._position.x = local_28->x; + local_68._position.y = (local_30->_pos).y; + local_68._velocity.x = *(float *)param_1; + local_68._velocity.y = *(float *)((int)param_1 + 4); + local_68._flags = *(int *)((int)param_1 + 8); + local_68._entity = *(void **)((int)param_1 + 0xc); + std::vector<24byte>::_Emplace_reallocate(0,&local_68._position); switch(*(float *)param_1) { case 2.66247e-44: local_78 = *(float *)param_1; @@ -264158,18 +264455,18 @@ void Entity_Player::console_spawn(EntityPtr param_1,char param_2) local_18 = fVar11 * 40.0; sin(); local_14 = local_14 * 40.0; - local_68._16_4_ = local_18 + local_28->x; - local_68._20_4_ = local_14 + local_28->y; - fStack_50 = local_78; - fStack_4c = fStack_74; - fStack_48 = fStack_70; - pvStack_44 = pvStack_6c; + local_68._position.x = local_18 + local_28->x; + local_68._position.y = local_14 + local_28->y; + local_68._velocity.x = local_78; + local_68._velocity.y = fStack_74; + local_68._flags = (int)fStack_70; + local_68._entity = pvStack_6c; if (local_20 == local_1c) { - std::vector<24byte>::_Emplace_reallocate(local_20,local_68 + 0x10); + std::vector<24byte>::_Emplace_reallocate(local_20,&local_68._position); } else { - *local_20 = (float)local_68._16_4_; - local_20[1] = (float)local_68._20_4_; + *local_20 = local_68._position.x; + local_20[1] = local_68._position.y; local_20[2] = local_78; local_20[3] = fStack_74; *(ulonglong *)(local_20 + 4) = CONCAT44(pvStack_6c,fStack_70); @@ -264197,18 +264494,18 @@ switchD_005cac1b_caseD_14: local_18 = fVar11 * 40.0; sin(); local_14 = local_14 * 40.0; - local_68._16_4_ = local_18 + local_28->x; - local_68._20_4_ = local_14 + local_28->y; - fStack_50 = local_78; - fStack_4c = fStack_74; - fStack_48 = fStack_70; - pvStack_44 = pvStack_6c; + local_68._position.x = local_18 + local_28->x; + local_68._position.y = local_14 + local_28->y; + local_68._velocity.x = local_78; + local_68._velocity.y = fStack_74; + local_68._flags = (int)fStack_70; + local_68._entity = pvStack_6c; if (local_20 == local_1c) { - std::vector<24byte>::_Emplace_reallocate(local_20,local_68 + 0x10); + std::vector<24byte>::_Emplace_reallocate(local_20,&local_68._position); } else { - *local_20 = (float)local_68._16_4_; - local_20[1] = (float)local_68._20_4_; + *local_20 = local_68._position.x; + local_20[1] = local_68._position.y; local_20[2] = local_78; local_20[3] = fStack_74; *(ulonglong *)(local_20 + 4) = CONCAT44(pvStack_6c,fStack_70); @@ -264232,20 +264529,20 @@ switchD_005cac1b_caseD_14: local_18 = fVar11 * 40.0; sin(); local_14 = local_14 * 40.0; - local_68._16_4_ = local_18 + local_28->x; + local_68._position.x = local_18 + local_28->x; local_78 = 1.16308e-43; fStack_70 = 50.0; - local_68._20_4_ = local_14 + local_28->y; - fStack_50 = 1.16308e-43; - fStack_4c = fStack_74; - fStack_48 = 50.0; - pvStack_44 = pvStack_6c; + local_68._position.y = local_14 + local_28->y; + local_68._velocity.x = 1.16308e-43; + local_68._velocity.y = fStack_74; + local_68._flags = 0x42480000; + local_68._entity = pvStack_6c; if (local_20 == local_1c) { - std::vector<24byte>::_Emplace_reallocate(local_20,local_68 + 0x10); + std::vector<24byte>::_Emplace_reallocate(local_20,&local_68._position); } else { - *local_20 = (float)local_68._16_4_; - local_20[1] = (float)local_68._20_4_; + *local_20 = local_68._position.x; + local_20[1] = local_68._position.y; local_20[2] = 1.16308e-43; local_20[3] = fStack_74; *(ulonglong *)(local_20 + 4) = CONCAT44(pvStack_6c,0x42480000); @@ -264269,18 +264566,18 @@ switchD_005cac1b_caseD_14: local_18 = fVar11 * 40.0; sin(); local_14 = local_14 * 40.0; - local_68._16_4_ = local_18 + local_28->x; - local_68._20_4_ = local_14 + local_28->y; - fStack_50 = local_78; - fStack_4c = fStack_74; - fStack_48 = fStack_70; - pvStack_44 = pvStack_6c; + local_68._position.x = local_18 + local_28->x; + local_68._position.y = local_14 + local_28->y; + local_68._velocity.x = local_78; + local_68._velocity.y = fStack_74; + local_68._flags = (int)fStack_70; + local_68._entity = pvStack_6c; if (local_20 == local_1c) { - std::vector<24byte>::_Emplace_reallocate(local_20,local_68 + 0x10); + std::vector<24byte>::_Emplace_reallocate(local_20,&local_68._position); } else { - *local_20 = (float)local_68._16_4_; - local_20[1] = (float)local_68._20_4_; + *local_20 = local_68._position.x; + local_20[1] = local_68._position.y; local_20[2] = local_78; local_20[3] = fStack_74; *(ulonglong *)(local_20 + 4) = CONCAT44(pvStack_6c,fStack_70); @@ -264319,8 +264616,8 @@ switchD_005cac1b_caseD_14: *(uint *)((int)EVar4 + 0x16c) = *(uint *)((int)EVar4 + 0x16c) | 0x10000020; *(undefined4 *)((int)EVar4 + 0x168) = *(undefined4 *)((int)EVar4 + 0x168); local_40 = EVar4; - EntityRef::constructor((EntityRef *)local_68,(Entity *)local_30); - Entity::AddCharmed((Entity *)EVar4,(EntityRef *)local_68,-1,0,0); + EntityRef::constructor(&local_68,(Entity *)local_30); + Entity::AddCharmed((Entity *)EVar4,&local_68,-1,0,0); Entity::SetVisibleFlag(0); *(float *)((int)EVar4 + 0x380) = *(float *)(iVar10 + 0x10); *(float *)((int)EVar4 + 900) = *(float *)(iVar10 + 0x10); @@ -267293,8 +267590,6 @@ Entity_Effect::Init(Entity_Effect *this,undefined4 param_2,int param_3,undefined undefined1 local_40 [24]; undefined1 local_28 [4]; RNG local_24; - undefined8 local_20; - undefined4 local_18; uint local_14; void *local_10; undefined1 *puStack_c; @@ -267322,9 +267617,9 @@ Entity_Effect::Init(Entity_Effect *this,undefined4 param_2,int param_3,undefined (this->_parentOffset).x = g_vectorZero.x; pLVar31 = (Level *)g_vectorZero.y; (this->_parentOffset).y = g_vectorZero.y; - *(undefined4 *)&this->field_0x474 = 0; + this->_rotation = 0.0; this->_isFollowing = 0; - *(undefined4 *)&this->field_0x478 = 0x3f800000; + this->_scale = 1.0; this->_minRadius = 0.0; this->_maxRadius = 0.0; this->_damageSource = 0; @@ -267428,11 +267723,11 @@ Entity_Effect::Init(Entity_Effect *this,undefined4 param_2,int param_3,undefined if (iVar10 != 100) goto LAB_005ce02f; ANM2::Play(&this->_sprite,(byte *)"Final",0); pLVar8 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar8->field_0x78 = 0; - *(undefined4 *)&pLVar8->field_0x7c = 4; - *(undefined4 *)&pLVar8->field_0x80 = 7; - *(undefined4 *)&pLVar8->field_0x84 = 4; - *(undefined4 *)&pLVar8->field_0x88 = 7; + pLVar8->_blendMode[0] = 0; + pLVar8->_blendMode[1] = 4; + pLVar8->_blendMode[2] = 7; + pLVar8->_blendMode[3] = 4; + pLVar8->_blendMode[4] = 7; Color::Reset(); Color::SetTint(0x3f800000,0x3f800000,0x3f800000,0x3f28f5c3); local_170 = 0; @@ -267486,14 +267781,14 @@ LAB_005ce0c2: if ((((iVar10 == 0xc) || (iVar10 == 0xd)) || (iVar10 == 0x4f)) || (iVar10 == 0x50)) { uVar7 = Random(); pLVar31 = (Level *)(((float)(uVar7 & 3) + 0.0) * 90.0); - *(Level **)&this->field_0x474 = pLVar31; + this->_rotation = (float)pLVar31; goto LAB_005d03c8; } if (iVar10 == 0x61) { uVar7 = Random(); this->_isInitFlag176 = 1; pLVar31 = (Level *)(((float)(uVar7 & 3) + 0.0) * 90.0); - *(Level **)&this->field_0x474 = pLVar31; + this->_rotation = (float)pLVar31; bVar5 = Random(); (this->_sprite)._flipX = (bVar5 ^ 0xff) & 1; goto LAB_005d03cf; @@ -267582,7 +267877,7 @@ LAB_005ce0c2: Entity::SetSpawnerEntity((Entity *)this,*(int *)((int)EVar1 + 0x3c8)); } if (this->_variant != 10) { - *(undefined4 *)&this->field_0x478 = 0x3f800000; + this->_scale = 1.0; this->_timeout = 300; this->_lifespan = 300; } @@ -267665,13 +267960,14 @@ LAB_005d03c8: } else { if (iVar10 == 0x42) { - local_24 = (RNG)this->_initSeed; + local_24._seed = this->_initSeed; pLVar31 = (Level *)0x1; - local_20 = 0xb00000001; - local_18 = 6; + local_24._shift1 = 1; + local_24._shift2 = 0xb; + local_24._shift3 = 6; local_8 = 1; RNG::Next(&local_24); - ANM2::Play(&this->_sprite,(&PTR_s_Poof0_00b63b34)[(uint)local_24 % 3],0); + ANM2::Play(&this->_sprite,(&PTR_s_Poof0_00b63b34)[(uint)local_24._seed % 3],0); local_8 = 0xffffffff; } else { @@ -267817,7 +268113,7 @@ LAB_005ceeab: random_float(); fVar32 = (float)pLVar31 * 360.0; normalize_angle_degrees(); - *(float *)&this->field_0x474 = fVar32; + this->_rotation = fVar32; Sprite::SetRotation((Sprite *)&this->_sprite,fVar32); this->_sortingLayer = 1; this->_fallingAcceleration = 1.3; @@ -267831,7 +268127,7 @@ LAB_005ceeab: random_float(); pLVar31 = (Level *)((float)pLVar31 * 360.0); normalize_angle_degrees(); - *(Level **)&this->field_0x474 = pLVar31; + this->_rotation = (float)pLVar31; local_2b8 = pLVar31; iVar10 = Sprite::GetLayer(0); *(Level **)(iVar10 + 0x3c) = local_2b8; @@ -268299,7 +268595,7 @@ LAB_005d00d8: } else if (iVar10 == 0x79) { Entity::AddEntityFlags(0x200000,0); - *(undefined4 *)&this->field_0x478 = 0; + this->_scale = 0.0; ANM2::SetFrame(&this->_sprite,(std_string *)"Default",0); } else if (iVar10 == 0x7c) { @@ -268324,7 +268620,7 @@ LAB_005d00d8: set_state(pEVar21,uVar25); Entity::SetChild((Entity *)local_2b0,pEVar21); pGVar16 = g_game; - *(byte *)&local_2b8->_roomList[0].AwardSeed = 0; + *(undefined1 *)&local_2b8->_roomList[0].AwardSeed = 0; pRVar14 = (Room *)Level::GetCurrentRoom((Level *)pGVar16); this = local_2b0; Room::GetFloorColorAt(pRVar14,local_2d8,pVVar28); @@ -268359,7 +268655,7 @@ LAB_005d00d8: random_float(); fVar32 = (float)pLVar31 * 360.0; normalize_angle_degrees(); - *(float *)&this->field_0x474 = fVar32; + this->_rotation = fVar32; Sprite::SetRotation((Sprite *)&this->_sprite,fVar32); random_float(); pLVar31 = (Level *)(fVar32 * -30.0 - 5.0); @@ -268507,7 +268803,7 @@ LAB_005ceaae: local_8 = 0xffffffff; std::string::_Tidy_deallocate(); RNG::Next(&this->_dropRNG); - ANM2::Play(&this->_sprite,(&PTR_s_WombBreak1_00b63b88)[(uint)this->_dropRNG % 3],0); + ANM2::Play(&this->_sprite,(&PTR_s_WombBreak1_00b63b88)[(uint)(this->_dropRNG)._seed % 3],0); break; case 0x2e: std::string::string_from_cstr("gfx/Effects/Effect_062_GroundBreakMinesLava.png"); @@ -268536,7 +268832,7 @@ LAB_005d03dd: cVar6 = Entity::is_player(); pEVar21 = local_2b0; if (cVar6 != '\0') { - *(undefined4 *)&this->field_0x478 = 0x3fa66666; + this->_scale = 1.3; } goto LAB_005d1317; } @@ -268761,12 +269057,12 @@ LAB_005d05aa: random_float(); iVar10 = this->_subtype; fVar32 = (float)pLVar31 * 30.0 + 5.0; - *(float *)&this->field_0x474 = fVar32; + this->_rotation = fVar32; if (iVar10 == 0xb) { random_float(); Sprite::SetRotation((Sprite *)&this->_sprite,fVar32 * 360.0); this->_maxRadius = 100.0; - *(undefined4 *)&this->field_0x478 = 0x3f800000; + this->_scale = 1.0; } else if (iVar10 == 10) { this->_maxRadius = 100.0; @@ -268775,7 +269071,7 @@ LAB_005d05aa: Sprite::ReplaceSpritesheet((Sprite *)&this->_sprite,0,local_40); local_8 = 0xffffffff; std::string::_Tidy_deallocate(); - *(undefined4 *)&this->field_0x478 = 0x3f800000; + this->_scale = 1.0; } else { if (iVar10 == 0) { @@ -268790,11 +269086,11 @@ LAB_005d05aa: if (this->_spawnerType == 0x3b7) { random_float(); Sprite::SetRotation((Sprite *)&this->_sprite,fVar32 * 80.0 + 140.0); - *(undefined4 *)&this->field_0x478 = 0x3f800000; + this->_scale = 1.0; break; } } - *(undefined4 *)&this->field_0x478 = 0x3f800000; + this->_scale = 1.0; } break; case 0x98: @@ -268804,7 +269100,7 @@ LAB_005d05aa: this->_sortingLayer = 0; this->_renderZOffset = 2000; this->_isInitFlag176 = 1; - *(undefined4 *)&this->field_0x478 = 0x3d072b02; + this->_scale = 0.033; break; case 0x9d: goto LAB_005d11e7; @@ -268813,7 +269109,7 @@ LAB_005d05aa: random_float(); fVar32 = (float)pLVar31 * 360.0; normalize_angle_degrees(); - *(float *)&this->field_0x474 = fVar32; + this->_rotation = fVar32; local_2bc = (Level *)(fVar32 + 180.0); iVar10 = Sprite::GetLayer(0); *(Level **)(iVar10 + 0x3c) = local_2bc; @@ -268825,7 +269121,7 @@ LAB_005d05aa: random_float(); fVar32 = (float)pLVar31 * 360.0; normalize_angle_degrees(); - *(float *)&this->field_0x474 = fVar32; + this->_rotation = fVar32; ANM2::Play(&this->_sprite,s_Idle,0); fVar32 = RNG::RandomFloat(&this->_dropRNG); local_2bc = (Level *)(fVar32 * 0.2 + 1.0); @@ -268931,10 +269227,10 @@ LAB_005d10c7: *(undefined4 *)&this->field_0x430 = 0x40600000; *(undefined4 *)&this->field_0x434 = 0x3f800000; FUN_00435bc0(0,0); - *(RNG *)&(this->_varData)._l = local_24; - *(undefined4 *)((int)&(this->_varData)._l + 4) = (undefined4)local_20; - *(undefined4 *)&(this->_varData)._h = local_20._4_4_; - *(undefined4 *)((int)&(this->_varData)._h + 4) = local_18; + *(int *)&(this->_varData)._l = local_24._seed; + *(int *)((int)&(this->_varData)._l + 4) = local_24._shift1; + *(int *)&(this->_varData)._h = local_24._shift2; + *(int *)((int)&(this->_varData)._h + 4) = local_24._shift3; goto LAB_005d11c7; case 0xa8: this->_sortingLayer = 0; @@ -269085,7 +269381,7 @@ LAB_005d1763: break; case 0xb2: this->_timeout = -1; - *(undefined4 *)&this->field_0x478 = 0; + this->_scale = 0.0; Entity::AddEntityFlags(0x200000,0x20); break; case 0xb3: @@ -269099,7 +269395,7 @@ LAB_005d1763: uVar25 = Vector::__mul(local_2e0,&local_2bc); Sprite::SetScale((Sprite *)&this->_sprite,uVar25); fVar32 = RNG::RandomFloat(&pEVar21->_dropRNG); - *(float *)&pEVar21->field_0x478 = fVar32 * 0.08 + 0.06; + pEVar21->_scale = fVar32 * 0.08 + 0.06; goto LAB_005d1317; case 0xb4: this->_renderDepthOffset = -100.0; @@ -269548,7 +269844,7 @@ LAB_005d2702: pLVar3->_rotation = fVar5 * 57.295776; fVar5 = fVar4 * fVar4 + fStack_10 * fStack_10; sqrtf(); - *(float *)&this->field_0x478 = fVar5; + this->_scale = fVar5; return; } break; @@ -269790,11 +270086,10 @@ void __thiscall Entity_Effect::update_mr_me(Entity_Effect *this) pGVar11 = (GridEntity_Door *)__RTDynamicCast(); fVar24 = local_50; fVar28 = local_74; - if ((((*(uint *)&pGVar11->field_0x3a0 & 0x50) == 0) && - ((((*(uint *)&pGVar11->field_0x3a0 & 0x20) == 0 || - ((pGVar11->_desc)._variant != 4)) && - (iVar12 = GridEntity_Door::get_secret_exit_kind(pGVar11), iVar12 != 4)))) - && ((pGVar11->_desc)._state != 2)) { + if ((((pGVar11->_doorFlags & 0x50U) == 0) && + ((((pGVar11->_doorFlags & 0x20U) == 0 || ((pGVar11->_desc)._variant != 4)) + && (iVar12 = GridEntity_Door::get_secret_exit_kind(pGVar11), iVar12 != 4))) + ) && ((pGVar11->_desc)._state != 2)) { iVar14 = *(int *)(iVar14 + 0x24); local_48 = 2.8026e-45; iVar12 = *(int *)((int)g_game->_room + 0xc); @@ -271379,7 +271674,7 @@ LAB_00609482: if (iVar8 != 0) { AnimationState::copy_assign(&local_150); LayerAnimation::LayerAnimation(); - local_150._layerFrames = (void *)(*(float *)&this->field_0x478 * 0.65); + local_150._layerFrames = (void *)(this->_scale * 0.65); local_168 = &local_150; local_164.x = 1.4013e-45; local_16c = (AnimationLayer)0x1; @@ -271519,7 +271814,7 @@ LAB_0060a8e9: local_184.y = (float)local_18c; local_158 = (EntityPtr)local_184.x; if ((g_manager->_framecount & 1) == 0) { - fVar18 = *(float *)&this->field_0x474 * this->_speedMultiplier * 0.5 * 0.017453292; + fVar18 = this->_rotation * this->_speedMultiplier * 0.5 * 0.017453292; local_164.y = fVar18; cos(); local_178.y = fVar18; @@ -271724,9 +272019,13 @@ undefined4 Entity_Effect::IsPlayerCreep(int param_1) } -//@@ 0060ac70 FUN_0060ac70 +//@@ 0060ac70 room_perimeter_to_position -void FUN_0060ac70(float *param_1,float *param_2) +/* DB: ? (out, {inset, t}): clamps inset to [-10, 40], wraps t with fmodf over the room perimeter + (Room +0x18..+0x20 bounds) and interpolates along the walls; two calls in Entity_Effect::Update + (005f85ce/005f882a) */ + +void room_perimeter_to_position(float *param_1,float *param_2) { void *pvVar1; @@ -271990,7 +272289,7 @@ void __thiscall Entity_Effect::update_variant178_shooter(Entity_Effect *this,cha if (param_2 == '\0') { fVar15 = (this->_sprite)._rotation; pppppppbVar12 = (byte *******)(local_3c + 0xe); - if (360.0 < ABS(*(float *)&this->field_0x474 - fVar15)) { + if (360.0 < ABS(this->_rotation - fVar15)) { fmodf(uVar5); pppppppbVar12 = (byte *******)puStack_20; } @@ -272002,7 +272301,7 @@ void __thiscall Entity_Effect::update_variant178_shooter(Entity_Effect *this,cha puStack_20 = (undefined1 *)pppppppbVar12; fVar15 = (this->_sprite)._rotation; if (param_2 != '\0') { - if (360.0 < ABS(*(float *)&this->field_0x474 - fVar15)) { + if (360.0 < ABS(this->_rotation - fVar15)) { fmodf(uVar5); } approach_angle(); @@ -275162,8 +275461,6 @@ Entity_Familiar::Init undefined1 local_2c [4]; float fStack_28; RNG RStack_24; - undefined8 uStack_20; - ANM2 *pAStack_18; uint local_14; void *local_10; undefined1 *puStack_c; @@ -275361,26 +275658,26 @@ LAB_0060dfcc: } if ((this->_chargeBarSprite)._loaded == 0) { if (this->_variant == 0xe6) { - uStack_20 = uStack_20 & 0xffffffff; - pAStack_18 = (ANM2 *)0xf; + RStack_24._shift2 = 0; + RStack_24._shift3 = 0xf; local_2c[0] = '\0'; local_2c[1] = '\0'; local_2c[2] = '\0'; local_2c[3] = '\0'; local_2c = (undefined1 [4])std::_Allocate(); - uStack_20 = CONCAT44(0x16,(ANM2 *)uStack_20); - pAStack_18 = (ANM2 *)0x1f; + RStack_24._shift2 = 0x16; + RStack_24._shift3 = 0x1f; builtin_strncpy((char *)local_2c,"gfx/chargebar_maw.anm2",0x17); local_8 = 0; ANM2::Load(&this->_chargeBarSprite,(std_string *)local_2c,1); local_8._0_1_ = 0xff; local_8._1_3_ = 0xffffff; - if ((ANM2 *)0xf < pAStack_18) { - pcVar23 = (pAStack_18->_filename)._buf + 1; + if ((ANM2 *)0xf < (uint)RStack_24._shift3) { + pcVar23 = ((std_string *)RStack_24._shift3)->_buf + 1; auVar24 = local_2c; if ((char *)0xfff < pcVar23) { auVar24 = *(undefined1 (*) [4])((int)local_2c + -4); - pcVar23 = (pAStack_18->_animDefaultName)._buf + 0xc; + pcVar23 = ((std_string *)(RStack_24._shift3 + 0x18))->_buf + 0xc; if ((char *)0x1f < (char *)((int)local_2c + (-4 - (int)auVar24))) { code_r0x0060e596: /* WARNING: Subroutine does not return */ @@ -275389,8 +275686,8 @@ code_r0x0060e596: } operator_delete(auVar24,pcVar23); } - uStack_20 = uStack_20 & 0xffffffff; - pAStack_18 = (ANM2 *)0xf; + RStack_24._shift2 = 0; + RStack_24._shift3 = 0xf; local_2c = (undefined1 [4])((uint)local_2c & 0xffffff00); } else { @@ -275520,14 +275817,14 @@ LAB_0060e6d4: } EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); local_8 = 2; - buffer_init((pAStack_18->_filename)._buf + 1); + buffer_init(((std_string *)RStack_24._shift3)->_buf + 1); local_8 = CONCAT31(local_8._1_3_,3); - local_fc = (ANM2 *)uStack_20; + local_fc = (ANM2 *)RStack_24._shift1; local_f4 = (ANM2 *)0x0; local_104 = (std_string *)local_44._12_4_; - if (pAStack_18 != (ANM2 *)0x0) { - pAVar22 = pAStack_18; - pAVar25 = (ANM2 *)uStack_20; + if ((ANM2 *)RStack_24._shift3 != (ANM2 *)0x0) { + pAVar22 = (ANM2 *)RStack_24._shift3; + pAVar25 = (ANM2 *)RStack_24._shift1; do { pEVar3 = *(Entity_Familiar **)((pAVar25->_filename)._buf + (int)local_f4 * 4); if (pEVar3->_exists != 0) { @@ -275559,7 +275856,7 @@ LAB_0060e6d4: } EVar11 = local_f0; } - pAVar22 = pAStack_18; + pAVar22 = (ANM2 *)RStack_24._shift3; pAVar25 = local_fc; } } @@ -275632,7 +275929,7 @@ LAB_0060e6d4: } } local_8 = 0xffffffff; - if (RStack_24._0_1_ == '\0') { + if ((char)RStack_24._seed == '\0') { pqVar26 = (qword *)((int)g_mainHeap + 0x30); if (g_mainHeap == (void *)0x0) { pqVar26 = &g_allocatedBytesNoHeap; @@ -275739,7 +276036,8 @@ LAB_0060ed24: (EVar11 = this->_spawnerEntity, EVar11 != (EntityPtr)0x0)) && (*(int *)((int)EVar11 + 0x28) == 1)) { GetPlayerSlot((Entity_Familiar *)&g_game->_playerManager,&fStack_28,EVar11); - uVar31 = Color::Color(fStack_28 * 0.6,(float)RStack_24 * 0.6,(float)(ANM2 *)uStack_20 * 0.6); + uVar31 = Color::Color(fStack_28 * 0.6,(float)RStack_24._seed * 0.6, + (float)RStack_24._shift1 * 0.6); (*(code *)((ulonglong)uVar31 >> 0x20))((int)uVar31,0xffffffff,0xff,0,1); } } @@ -275841,10 +276139,11 @@ LAB_0060ef49: } if (iVar15 == 0x67) goto LAB_0060f2aa; if (iVar15 == 0x80) { - RStack_24 = this->_dropRNG; + RStack_24._seed = (this->_dropRNG)._seed; iVar15 = this->_subtype; - uStack_20 = 0x700000002; - pAStack_18 = (ANM2 *)0x19; + RStack_24._shift1 = 2; + RStack_24._shift2 = 7; + RStack_24._shift3 = 0x19; uVar10 = RNG::RandomInt(&RStack_24,8); this->_subtype = uVar10 + 1; pcVar23 = "Idle%d"; @@ -275907,9 +276206,10 @@ LAB_0060ef49: } goto LAB_0060f2b1; } - RStack_24 = this->_dropRNG; - uStack_20 = 0x700000002; - pAStack_18 = (ANM2 *)0x19; + RStack_24._seed = (this->_dropRNG)._seed; + RStack_24._shift1 = 2; + RStack_24._shift2 = 7; + RStack_24._shift3 = 0x19; uVar10 = RNG::RandomInt(&RStack_24,8); this->_subtype = uVar10 + 1; sprintf_s(abStack_94,0x20,"Idle%d",uVar10); @@ -276061,9 +276361,9 @@ LAB_0060f3c0: puVar17 = (undefined4 *)std::string::append("hungry_0.png",0xc); local_2c = (undefined1 [4])*puVar17; fStack_28 = (float)puVar17[1]; - RStack_24 = *(RNG *)(puVar17 + 2); - uStack_20 = *(ulonglong *)(puVar17 + 3); - pAStack_18 = (ANM2 *)puVar17[5]; + RStack_24._seed = puVar17[2]; + RStack_24._4_8_ = *(undefined8 *)(puVar17 + 3); + RStack_24._shift3 = puVar17[5]; puVar17[4] = 0; puVar17[5] = 0xf; *(undefined1 *)puVar17 = 0; @@ -276071,12 +276371,12 @@ LAB_0060f3c0: Sprite::ReplaceSpritesheet((Sprite *)&this->_sprite,0,local_2c); local_8._0_1_ = 8; bVar8 = extraout_CL; - if ((ANM2 *)0xf < pAStack_18) { - pcVar23 = (pAStack_18->_filename)._buf + 1; + if ((ANM2 *)0xf < (uint)RStack_24._shift3) { + pcVar23 = ((std_string *)RStack_24._shift3)->_buf + 1; auVar24 = local_2c; if ((char *)0xfff < pcVar23) { auVar24 = *(undefined1 (*) [4])((int)local_2c + -4); - pcVar23 = (pAStack_18->_animDefaultName)._buf + 0xc; + pcVar23 = ((std_string *)(RStack_24._shift3 + 0x18))->_buf + 0xc; if ((char *)0x1f < (char *)((int)local_2c + (-4 - (int)auVar24))) goto LAB_0060f5ad; } operator_delete(auVar24,pcVar23); @@ -276174,20 +276474,20 @@ LAB_0060f5ad: local_fc = local_fc + 1; local_f8 = local_f8 + 1; } while (local_f8 < (uint *)0x10); - uStack_20 = uStack_20 & 0xffffffff; - pAStack_18 = (ANM2 *)0xf; + RStack_24._shift2 = 0; + RStack_24._shift3 = 0xf; local_2c = (undefined1 [4])0x0; std::string::assign("gfx/characters/blood gush.anm2",0x1e); local_8 = 0xf; ANM2::Load((ANM2 *)((int)EVar11 + 4),(std_string *)local_2c,1); local_8._0_1_ = 0xff; local_8._1_3_ = 0xffffff; - if ((ANM2 *)0xf < pAStack_18) { - pcVar23 = (pAStack_18->_filename)._buf + 1; + if ((ANM2 *)0xf < (uint)RStack_24._shift3) { + pcVar23 = ((std_string *)RStack_24._shift3)->_buf + 1; auVar24 = local_2c; if ((char *)0xfff < pcVar23) { auVar24 = *(undefined1 (*) [4])((int)local_2c + -4); - pcVar23 = (pAStack_18->_animDefaultName)._buf + 0xc; + pcVar23 = ((std_string *)(RStack_24._shift3 + 0x18))->_buf + 0xc; if ((char *)0x1f < (char *)((int)local_2c + (-4 - (int)auVar24))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); @@ -276304,8 +276604,8 @@ switchD_0060fe51_caseD_7: this->_entityGridCollisionClass = 5; this->_shootDirection = -1; if (this->_subtype == 0) break; - uStack_20 = uStack_20 & 0xffffffff; - pAStack_18 = (ANM2 *)0xf; + RStack_24._shift2 = 0; + RStack_24._shift3 = 0xf; local_2c = (undefined1 [4])0x0; local_8 = 0x10; bVar8 = extraout_CL_02; @@ -276362,10 +276662,10 @@ DAT_0060fa34: FUN_00651a90(auStack_d0,0,iVar15); local_8._0_1_ = 0x14; auVar24 = (undefined1 [4])local_2c; - if ((ANM2 *)0xf < pAStack_18) { + if ((ANM2 *)0xf < (uint)RStack_24._shift3) { auVar24 = local_2c; } - uVar19 = std::string::append(auVar24,uStack_20._4_4_); + uVar19 = std::string::append(auVar24,RStack_24._shift2); FUN_00417100(uVar19); local_8._0_1_ = 0x15; FUN_00651d50(auStack_b8); @@ -276426,12 +276726,12 @@ DAT_0060fa34: ANM2::LoadGraphics(&this->_sprite,bVar8); local_8._0_1_ = 0xff; local_8._1_3_ = 0xffffff; - if ((ANM2 *)0xf < pAStack_18) { - pcVar23 = (pAStack_18->_filename)._buf + 1; + if ((ANM2 *)0xf < (uint)RStack_24._shift3) { + pcVar23 = ((std_string *)RStack_24._shift3)->_buf + 1; auVar24 = local_2c; if ((char *)0xfff < pcVar23) { auVar24 = *(undefined1 (*) [4])((int)local_2c + -4); - pcVar23 = (pAStack_18->_animDefaultName)._buf + 0xc; + pcVar23 = ((std_string *)(RStack_24._shift3 + 0x18))->_buf + 0xc; if ((char *)0x1f < (char *)((int)local_2c + (-4 - (int)auVar24))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); @@ -276525,7 +276825,7 @@ DAT_0060fa34: ANM2::SetFrame(&this->_sprite,(std_string *)&DAT_00b602e8,(int)(fVar32 * 8.0)); break; case 0xf0: - FUN_00431830(); + FamiliarHelper::umbilical_baby_load_graphics(); if (this->_player != (void *)0x0) { uVar19 = Random(); EVar11 = (EntityPtr)Game::Spawn(1000,0xc9,(int)this->_player + 0x33c,&g_vectorZero,0,0,uVar19) @@ -276685,7 +276985,7 @@ void __thiscall Entity_Familiar::Kill(Entity_Familiar *this) float local_154; float local_150; void *local_14c; - int local_148; + void *local_148; uint local_144; uint local_140; int *local_13c; @@ -276941,12 +277241,13 @@ LAB_00611ab4: local_1d0 = pEVar29->_type; local_1cc = pEVar29->_variant; std::map::find(&local_148,&local_1d0); - if (local_148 == *(int *)&pGVar9->field_0x67780) { + if (local_148 == (pGVar9->_proceduralItemManager)._spawnTriggerTargets._head) { local_1d8 = pEVar29->_type; local_1d4 = 0xffffffff; piVar17 = (int *)std::map::find(local_21c,&local_1d8); - local_148 = *piVar17; - if (local_148 == *(int *)&pGVar9->field_0x67780) goto LAB_00611d87; + local_148 = (void *)*piVar17; + if (local_148 == (pGVar9->_proceduralItemManager)._spawnTriggerTargets._head) + goto LAB_00611d87; } pPVar24 = &g_game->_playerManager; local_118 = (int *)0x0; @@ -277179,11 +277480,11 @@ LAB_00611d87: local_138 = (Game *)0x40400000; local_124 = (Entity_Familiar *)0x40c90fdb; do { - local_148 = __RTDynamicCast(*(undefined4 *)(local_1b4 + (int)local_118 * 4),0, - &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, - &IsaacRepentancePlus::Entity_Familiar:: - RTTI_Type_Descriptor,0); - *(float *)(local_148 + 0xd60) = + local_148 = (void *)__RTDynamicCast(*(undefined4 *)(local_1b4 + (int)local_118 * 4),0, + &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor + ,&IsaacRepentancePlus::Entity_Familiar:: + RTTI_Type_Descriptor,0); + *(float *)((int)local_148 + 0xd60) = ((float)(int)local_118 * (float)local_124) / (float)local_134; bVar12 = Entity_Player::HasCollectible(this->_player,0x70,0); if (bVar12 == 0) { @@ -277193,9 +277494,9 @@ LAB_00611d87: fVar27 = *(float *)(&DAT_00c3413c + (int)(float)local_120) * *(float *)(&DAT_00c34138 + (int)(float)local_120); } - *(float *)(local_148 + 0xd6c) = fVar27 * (float)local_12c; - if (*(int *)(local_148 + 0x2c) == 0x3c) { - *(float *)(local_148 + 0xd6c) = fVar27 * (float)local_12c * (float)local_138; + *(float *)((int)local_148 + 0xd6c) = fVar27 * (float)local_12c; + if (*(int *)((int)local_148 + 0x2c) == 0x3c) { + *(float *)((int)local_148 + 0xd6c) = fVar27 * (float)local_12c * (float)local_138; } local_118 = (int *)((int)local_118 + 1); } while (local_118 < piVar17); @@ -278818,7 +279119,8 @@ void __thiscall Entity_Familiar::PlayFloatAnim(Entity_Familiar *this,undefined4 int iVar1; char cVar2; uint uVar3; - int *piVar4; + LayerState *pLVar4; + int *piVar5; byte *anim; char *anim_00; undefined1 local_1c [4]; @@ -278837,11 +279139,11 @@ void __thiscall Entity_Familiar::PlayFloatAnim(Entity_Familiar *this,undefined4 } if (iVar1 == 0xce) { ExceptionList = &local_10; - ANM2::GetLayer(&this->_sprite,(byte *)0x0); - piVar4 = (int *)LayerState::GetTexture(local_1c); + pLVar4 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + piVar5 = (int *)LayerState::GetTexture(pLVar4,local_1c); local_8 = 0; anim = s_Idle2; - if (*(uint *)(*piVar4 + 0x10) < 0x81) { + if (*(uint *)(*piVar5 + 0x10) < 0x81) { anim = s_Idle; } ANM2::SetAnimation(&this->_sprite,anim,0); @@ -279230,8 +279532,9 @@ void __thiscall Entity_Familiar::PlayShootAnim(Entity_Familiar *this,int param_2 char cVar2; byte bVar3; uint uVar4; - int *piVar5; - char *pcVar6; + LayerState *pLVar5; + int *piVar6; + char *pcVar7; undefined1 local_1c [4]; int *local_18; void *local_10; @@ -279245,14 +279548,14 @@ void __thiscall Entity_Familiar::PlayShootAnim(Entity_Familiar *this,int param_2 iVar1 = this->_variant; if (iVar1 == 0xce) { ExceptionList = &local_10; - ANM2::GetLayer(&this->_sprite,(byte *)0x0); - piVar5 = (int *)LayerState::GetTexture(local_1c); + pLVar5 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + piVar6 = (int *)LayerState::GetTexture(pLVar5,local_1c); local_8 = 0; - pcVar6 = "Shoot2"; - if (*(uint *)(*piVar5 + 0x10) < 0x81) { - pcVar6 = "Shoot"; + pcVar7 = "Shoot2"; + if (*(uint *)(*piVar6 + 0x10) < 0x81) { + pcVar7 = "Shoot"; } - ANM2::SetAnimation(&this->_sprite,(byte *)pcVar6,0); + ANM2::SetAnimation(&this->_sprite,(byte *)pcVar7,0); local_8 = 1; if (local_18 == (int *)0x0) { ExceptionList = local_10; @@ -279283,12 +279586,12 @@ void __thiscall Entity_Familiar::PlayShootAnim(Entity_Familiar *this,int param_2 ExceptionList = &local_10; (this->_sprite)._flipX = 0; if (iVar1 == 0x4c) { - pcVar6 = "Shoot"; + pcVar7 = "Shoot"; } else if ((iVar1 == 6) || (iVar1 == 0x35)) { switch(param_2) { case 0: - pcVar6 = "FloatShootSide2"; + pcVar7 = "FloatShootSide2"; break; case 1: goto switchD_00614663_caseD_1; @@ -279320,21 +279623,21 @@ void __thiscall Entity_Familiar::PlayShootAnim(Entity_Familiar *this,int param_2 (this->_sprite)._flipX = 1; case 2: switchD_00614663_caseD_2: - pcVar6 = "FloatShootSide"; + pcVar7 = "FloatShootSide"; break; case 1: switchD_00614663_caseD_1: - pcVar6 = "FloatShootUp"; + pcVar7 = "FloatShootUp"; break; case 3: switchD_00614663_caseD_3: - pcVar6 = "FloatShootDown"; + pcVar7 = "FloatShootDown"; break; default: goto switchD_00614663_default; } } - ANM2::Play(&this->_sprite,(byte *)pcVar6,0); + ANM2::Play(&this->_sprite,(byte *)pcVar7,0); switchD_00614663_default: ExceptionList = local_10; return; @@ -279489,12 +279792,13 @@ void __thiscall Entity_Familiar::Shoot(Entity_Familiar *this) uint uVar4; Vector *AimDirection; int iVar5; - int *piVar6; - EntityPtr EVar7; + LayerState *pLVar6; + int *piVar7; + EntityPtr EVar8; byte *anim; - int iVar8; - EntityPtr *pEVar9; + int iVar9; EntityPtr *pEVar10; + EntityPtr *pEVar11; char *anim_00; Vector local_4c; Vector local_44; @@ -279526,28 +279830,28 @@ void __thiscall Entity_Familiar::Shoot(Entity_Familiar *this) if ((bVar2 != 0) && (0 < this->_fireCooldown)) { this->_fireCooldown = this->_fireCooldown + -1; } - iVar8 = this->_variant; + iVar9 = this->_variant; local_24 = 0x16; - if (iVar8 == 0x4a) { + if (iVar9 == 0x4a) { local_24 = 0xb; } - if ((iVar8 == 1) || (iVar8 == 8)) { + if ((iVar9 == 1) || (iVar9 == 8)) { local_24 = 0x10; } - if (iVar8 == 0x51) { + if (iVar9 == 0x51) { local_24 = 0x2c; } if ((this->_flags & 0x100) != 0) { local_24 = (int)((float)local_24 * 1.4); } local_2c = (EntityPtr *)0xffffffff; - if (iVar8 == 0xf4) { + if (iVar9 == 0xf4) { local_24 = 0xb; } - else if (iVar8 == 0x4a) { + else if (iVar9 == 0x4a) { local_2c = (EntityPtr *)this->_subtype; } - if ((1 < *(int *)&g_game->_deathmatchManager) && (iVar8 == 0x36)) { + if ((1 < *(int *)&g_game->_deathmatchManager) && (iVar9 == 0x36)) { local_24 = 0x21; } iVar5 = local_24; @@ -279556,13 +279860,13 @@ void __thiscall Entity_Familiar::Shoot(Entity_Familiar *this) if (local_28 == -1) { if (((-1 < this->_headFrameDelay) && (iVar5 = this->_headFrameDelay + -1, this->_headFrameDelay = iVar5, iVar5 < 0)) && - (iVar8 != 0x58)) { - if (iVar8 == 0xce) { - ANM2::GetLayer(&this->_sprite,(byte *)0x0); - piVar6 = (int *)LayerState::GetTexture(local_34); + (iVar9 != 0x58)) { + if (iVar9 == 0xce) { + pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + piVar7 = (int *)LayerState::GetTexture(pLVar6,local_34); local_14 = 0; anim = s_Idle2; - if (*(uint *)(*piVar6 + 0x10) < 0x81) { + if (*(uint *)(*piVar7 + 0x10) < 0x81) { anim = s_Idle; } ANM2::SetAnimation(&this->_sprite,anim,0); @@ -279576,18 +279880,18 @@ void __thiscall Entity_Familiar::Shoot(Entity_Familiar *this) } } else { - if (iVar8 == 0xed) { + if (iVar9 == 0xed) { ANM2::SetAnimation(&this->_sprite,s_Idle,0); ExceptionList = local_1c; return; } - if (iVar8 != 0xee) { + if (iVar9 != 0xee) { (this->_sprite)._flipX = 0; - if (iVar8 == 0x4c) { + if (iVar9 == 0x4c) { anim_00 = "Float"; } - else if (((iVar8 == 6) || (iVar8 == 0x35)) || - ((iVar8 != 0x6d || (*(int *)((int)this->_player + 0x162c) == -1)))) { + else if (((iVar9 == 6) || (iVar9 == 0x35)) || + ((iVar9 != 0x6d || (*(int *)((int)this->_player + 0x162c) == -1)))) { anim_00 = "FloatDown"; } else { @@ -279602,7 +279906,7 @@ void __thiscall Entity_Familiar::Shoot(Entity_Familiar *this) } local_4c.x = *(float *)((int)pvVar1 + 0x33c) - (this->_pos).x; local_4c.y = *(float *)((int)pvVar1 + 0x340) - (this->_pos).y; - if ((iVar8 == 8) || (iVar8 == 0xf4)) { + if ((iVar9 == 8) || (iVar9 == 0xf4)) { if (ABS(local_4c.x) <= ABS(local_4c.y)) { local_28 = (uint)(0.0 <= local_4c.y) * 2 + 1; } @@ -279618,36 +279922,36 @@ void __thiscall Entity_Familiar::Shoot(Entity_Familiar *this) local_30._0_1_ = bVar2; (this->_sprite)._flipX = local_28 == 0; if (0 < this->_fireCooldown) goto LAB_00614e92; - iVar8 = this->_variant; - if (iVar8 == 0x61) { - iVar8 = 0; + iVar9 = this->_variant; + if (iVar9 == 0x61) { + iVar9 = 0; do { - pEVar9 = (EntityPtr *)((float)iVar8 * 90.0 * 0.017453292); - local_2c = pEVar9; + pEVar10 = (EntityPtr *)((float)iVar9 * 90.0 * 0.017453292); + local_2c = pEVar10; cos(); - pEVar10 = local_2c; - local_38 = pEVar9; + pEVar11 = local_2c; + local_38 = pEVar10; sin(); - local_4c.x = local_44.x * (float)local_38 - local_44.y * (float)pEVar10; - local_4c.y = local_44.y * (float)local_38 + local_44.x * (float)pEVar10; + local_4c.x = local_44.x * (float)local_38 - local_44.y * (float)pEVar11; + local_4c.y = local_44.y * (float)local_38 + local_44.x * (float)pEVar11; FireProjectile(this,&local_4c,local_30._0_1_); - iVar8 = iVar8 + 1; - } while (iVar8 < 4); + iVar9 = iVar9 + 1; + } while (iVar9 < 4); iVar5 = local_24; LAB_00614e78: this->_fireCooldown = iVar5; this->_headFrameDelay = 0x12; } else { - if ((iVar8 == 6) || (local_2c == (EntityPtr *)&DAT_00000004)) { + if ((iVar9 == 6) || (local_2c == (EntityPtr *)&DAT_00000004)) { fire_robo_baby_laser(this,&local_44); goto LAB_00614e78; } - if ((iVar8 != 0x36) && (local_2c != (EntityPtr *)&DAT_00000009)) { - if ((iVar8 == 8) || (iVar8 == 0xf4)) { - EVar7 = local_30; + if ((iVar9 != 0x36) && (local_2c != (EntityPtr *)&DAT_00000009)) { + if ((iVar9 == 8) || (iVar9 == 0xf4)) { + EVar8 = local_30; AimDirection = (Vector *)Vector::Normalized(local_3c); - FireProjectile(this,AimDirection,EVar7._0_1_); + FireProjectile(this,AimDirection,EVar8._0_1_); } else { FireProjectile(this,&local_44,bVar2); @@ -279662,12 +279966,12 @@ LAB_00614e78: std::multiset::erase(&local_38); } this->_linkedEntity = local_30; - EVar7 = (EntityPtr)0x0; + EVar8 = (EntityPtr)0x0; if (local_30 != (EntityPtr)0x0) { std::multiset::insert(&this->_linkedEntity); - EVar7 = this->_linkedEntity; + EVar8 = this->_linkedEntity; } - Entity::convert_shot_for_enemy_owner(EVar7); + Entity::convert_shot_for_enemy_owner(EVar8); goto LAB_00614e78; } } @@ -282340,15 +282644,16 @@ void __thiscall Entity_Familiar::ai_auto_shooter(Entity_Familiar *this) undefined4 uVar5; Entity_Tear *this_00; int **ppiVar6; - qword *pqVar7; + LayerState *pLVar7; + qword *pqVar8; byte *anim; - int *piVar8; - Entity *pEVar9; - undefined4 uVar10; - TypeDescriptor *pTVar11; + int *piVar9; + Entity *pEVar10; + undefined4 uVar11; TypeDescriptor *pTVar12; + TypeDescriptor *pTVar13; char *anim_00; - undefined4 uVar13; + undefined4 uVar14; char local_34 [4]; int local_30; int *local_28; @@ -282375,17 +282680,17 @@ void __thiscall Entity_Familiar::ai_auto_shooter(Entity_Familiar *this) local_18 = (int *)0x0; if (local_28 != (int *)0x0) { do { - pEVar9 = *(Entity **)(local_30 + (int)local_18 * 4); - cVar4 = Entity::IsVulnerableEnemy(pEVar9,0); + pEVar10 = *(Entity **)(local_30 + (int)local_18 * 4); + cVar4 = Entity::IsVulnerableEnemy(pEVar10,0); if ((cVar4 != '\0') && (((this->_spawnerEntity == (EntityPtr)0x0 || - (cVar4 = Entity::IsDescendantOf((Entity *)this->_spawnerEntity,pEVar9), cVar4 == '\0')) - && ((pEVar9->_flags & 0x20000010) == 0)))) { - local_20 = (int *)(pEVar9->_pos).y; - local_24 = (pEVar9->_pos).x; + (cVar4 = Entity::IsDescendantOf((Entity *)this->_spawnerEntity,pEVar10), cVar4 == '\0') + ) && ((pEVar10->_flags & 0x20000010) == 0)))) { + local_20 = (int *)(pEVar10->_pos).y; + local_24 = (pEVar10->_pos).x; cVar4 = Room::CheckLine(&this->_pos,&local_24,3,900,0,0,0); if (cVar4 != '\0') { - local_14 = pEVar9; + local_14 = pEVar10; } } local_18 = (int *)((int)local_18 + 1); @@ -282403,26 +282708,26 @@ void __thiscall Entity_Familiar::ai_auto_shooter(Entity_Familiar *this) this->_headFrameDelay = 0xc; PlayShootAnim(this,cVar4); local_20 = (int *)Random(); - piVar8 = (int *)((float)local_18 * (float)local_18 + (float)local_14 * (float)local_14); + piVar9 = (int *)((float)local_18 * (float)local_18 + (float)local_14 * (float)local_14); sqrtf(); - pEVar9 = local_14; - if (0.0 < (float)piVar8) { - local_18 = (int *)((float)local_18 * (1.0 / (float)piVar8)); - pEVar9 = (Entity *)((float)local_14 * (1.0 / (float)piVar8)); + pEVar10 = local_14; + if (0.0 < (float)piVar9) { + local_18 = (int *)((float)local_18 * (1.0 / (float)piVar9)); + pEVar10 = (Entity *)((float)local_14 * (1.0 / (float)piVar9)); } local_1c = (float)local_18 * 8.0; - local_18 = (int *)((float)pEVar9 * 8.0); - uVar13 = 0; - pTVar12 = &IsaacRepentancePlus::Entity_Tear::RTTI_Type_Descriptor; - pTVar11 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar10 = 0; + local_18 = (int *)((float)pEVar10 * 8.0); + uVar14 = 0; + pTVar13 = &IsaacRepentancePlus::Entity_Tear::RTTI_Type_Descriptor; + pTVar12 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar11 = 0; uVar5 = Game::Spawn(2,1,&this->_pos,&local_1c,this,0,local_20); - this_00 = (Entity_Tear *)__RTDynamicCast(uVar5,uVar10,pTVar11,pTVar12,uVar13); + this_00 = (Entity_Tear *)__RTDynamicCast(uVar5,uVar11,pTVar12,pTVar13,uVar14); this_00->_fallingSpeed = 1.2; apply_tear_modifiers(this); - local_20 = piVar8; + local_20 = piVar9; apply_tear_modifiers(this); - local_18 = (int *)((float)piVar8 * 0.35 + 0.55); + local_18 = (int *)((float)piVar9 * 0.35 + 0.55); (**(code **)(*(int *)this_00 + 0x40))((float)local_20 * 3.0); local_20 = local_18; local_18 = (int *)0x3c23d70a; @@ -282430,9 +282735,9 @@ void __thiscall Entity_Familiar::ai_auto_shooter(Entity_Familiar *this) if ((float)local_20 <= 0.01) { ppiVar6 = &local_18; } - piVar8 = *ppiVar6; - this_00->_baseScale = (float)piVar8; - this_00->_fScale = (float)piVar8; + piVar9 = *ppiVar6; + this_00->_baseScale = (float)piVar9; + this_00->_fScale = (float)piVar9; Entity_Tear::ResetSpriteScale(this_00); TryFireTear(this,this_00); Entity::convert_shot_for_enemy_owner(this_00); @@ -282442,16 +282747,16 @@ void __thiscall Entity_Familiar::ai_auto_shooter(Entity_Familiar *this) local_8 = 0xffffffff; if (local_34[0] == '\0') { if (g_mainHeap == (void *)0x0) { - pqVar7 = &g_allocatedBytesNoHeap; + pqVar8 = &g_allocatedBytesNoHeap; } else { - pqVar7 = (qword *)((int)g_mainHeap + 0x30); + pqVar8 = (qword *)((int)g_mainHeap + 0x30); } if (local_30 != 0) { uVar1 = *(uint *)(local_30 + -4); - qVar3 = *pqVar7; - *(uint *)pqVar7 = (uint)*pqVar7 - uVar1; - *(uint *)((int)pqVar7 + 4) = *(uint *)((int)pqVar7 + 4) - (uint)((uint)qVar3 < uVar1); + qVar3 = *pqVar8; + *(uint *)pqVar8 = (uint)*pqVar8 - uVar1; + *(uint *)((int)pqVar8 + 4) = *(uint *)((int)pqVar8 + 4) - (uint)((uint)qVar3 < uVar1); free((void *)(local_30 + -4)); } local_8 = 0xffffffff; @@ -282465,11 +282770,11 @@ void __thiscall Entity_Familiar::ai_auto_shooter(Entity_Familiar *this) iVar2 = this->_variant; if (iVar2 != 0x58) { if (iVar2 == 0xce) { - ANM2::GetLayer(&this->_sprite,(byte *)0x0); - piVar8 = (int *)LayerState::GetTexture(&local_24); + pLVar7 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + piVar9 = (int *)LayerState::GetTexture(pLVar7,&local_24); local_8 = 2; anim = s_Idle2; - if (*(uint *)(*piVar8 + 0x10) < 0x81) { + if (*(uint *)(*piVar9 + 0x10) < 0x81) { anim = s_Idle; } ANM2::SetAnimation(&this->_sprite,anim,0); @@ -282526,15 +282831,16 @@ void __fastcall FamiliarAI::variant_53(Entity_Familiar *familiar) int **ppiVar8; undefined4 uVar9; float *pfVar10; - byte *pbVar11; - float fVar12; + LayerState *pLVar11; + byte *pbVar12; float fVar13; float fVar14; float fVar15; float fVar16; - int *piVar17; - Entity *pEVar18; - float fVar19; + float fVar17; + int *piVar18; + Entity *pEVar19; + float fVar20; char *anim; float local_5c; int *local_58; @@ -282563,7 +282869,7 @@ void __fastcall FamiliarAI::variant_53(Entity_Familiar *familiar) uVar6 = __security_cookie ^ (uint)(local_4c + 0x3c); ExceptionList = &local_1c; pEVar1 = familiar->_player; - pEVar18 = (Entity *)g_vectorZero.y; + pEVar19 = (Entity *)g_vectorZero.y; local_34 = (int *)g_vectorZero.x; puVar3 = local_4c + 0x48; if ((pEVar1->_isControlsEnabled != 0) && (puVar3 = local_4c + 0x48, pEVar1->_controlsCooldown < 1) @@ -282573,76 +282879,76 @@ void __fastcall FamiliarAI::variant_53(Entity_Familiar *familiar) local_24 = (Entity *)local_50; local_30 = local_50; local_34 = local_54; - fVar12 = (float)local_50 * (float)local_50 + (float)local_54 * (float)local_54; + fVar13 = (float)local_50 * (float)local_50 + (float)local_54 * (float)local_54; sqrtf(); puVar3 = puStack_20; - if ((fVar12 <= 1.0) || (fVar12 <= 0.0)) { - pEVar18 = local_24; + if ((fVar13 <= 1.0) || (fVar13 <= 0.0)) { + pEVar19 = local_24; local_34 = local_28; } else { - pEVar18 = (Entity *)((1.0 / fVar12) * (float)local_30); - local_34 = (int *)((1.0 / fVar12) * (float)local_34); + pEVar19 = (Entity *)((1.0 / fVar13) * (float)local_30); + local_34 = (int *)((1.0 / fVar13) * (float)local_34); } } puStack_20 = puVar3; - fVar19 = (float)local_34 * 1.25; - fVar12 = (float)pEVar18 * 1.25; - if ((fVar19 == g_vectorZero.x) && (fVar12 == g_vectorZero.y)) { + fVar20 = (float)local_34 * 1.25; + fVar13 = (float)pEVar19 * 1.25; + if ((fVar20 == g_vectorZero.x) && (fVar13 == g_vectorZero.y)) { iVar7 = 3; } else { iVar7 = 0; - if (ABS(fVar19) <= ABS(fVar12)) { - iVar7 = (uint)(0.0 < fVar12) * 2 + 1; + if (ABS(fVar20) <= ABS(fVar13)) { + iVar7 = (uint)(0.0 < fVar13) * 2 + 1; } - else if (0.0 < fVar19) { + else if (0.0 < fVar20) { iVar7 = 2; } } familiar->_moveDirection = iVar7; - if ((fVar19 != 0.0) || (fVar12 != 0.0)) { - fVar15 = (familiar->_velocity).y; - fVar13 = (familiar->_velocity).x; - fVar14 = fVar19 * fVar13 + fVar12 * fVar15; - fVar16 = fVar12 * fVar14; - fVar14 = fVar19 * fVar14; - (familiar->_velocity).y = (fVar15 - fVar16) * 0.79999995 + fVar16; - (familiar->_velocity).x = (fVar13 - fVar14) * 0.79999995 + fVar14; + if ((fVar20 != 0.0) || (fVar13 != 0.0)) { + fVar16 = (familiar->_velocity).y; + fVar14 = (familiar->_velocity).x; + fVar15 = fVar20 * fVar14 + fVar13 * fVar16; + fVar17 = fVar13 * fVar15; + fVar15 = fVar20 * fVar15; + (familiar->_velocity).y = (fVar16 - fVar17) * 0.79999995 + fVar17; + (familiar->_velocity).x = (fVar14 - fVar15) * 0.79999995 + fVar15; } - fVar15 = (familiar->_velocity).x; + fVar16 = (familiar->_velocity).x; local_30 = (int *)0x0; - local_34 = (int *)((fVar12 * (familiar->_velocity).y + fVar19 * fVar15) * -0.2); + local_34 = (int *)((fVar13 * (familiar->_velocity).y + fVar20 * fVar16) * -0.2); ppiVar8 = &local_34; if ((float)local_34 <= 0.0) { ppiVar8 = &local_30; } - fVar13 = ((float)*ppiVar8 + 3.0) * 0.425; - (familiar->_velocity).y = (fVar12 * fVar13 + (familiar->_velocity).y) * 0.775; - (familiar->_velocity).x = (fVar15 + fVar19 * fVar13) * 0.775; + fVar14 = ((float)*ppiVar8 + 3.0) * 0.425; + (familiar->_velocity).y = (fVar13 * fVar14 + (familiar->_velocity).y) * 0.775; + (familiar->_velocity).x = (fVar16 + fVar20 * fVar14) * 0.775; Room::GetClampedPositionImpl(&local_54,&familiar->_pos,0,0,0); local_24 = (Entity *)((float)local_54 - (familiar->_pos).x); local_28 = (int *)((float)local_50 - (familiar->_pos).y); if (((float)local_24 != g_vectorZero.x) || ((float)local_28 != g_vectorZero.y)) { - fVar12 = (float)local_24 * (float)local_24 + (float)local_28 * (float)local_28; + fVar13 = (float)local_24 * (float)local_24 + (float)local_28 * (float)local_28; sqrtf(uVar6); - piVar17 = local_28; - pEVar18 = local_24; - if (0.0 < fVar12) { - piVar17 = (int *)((float)local_28 * (1.0 / fVar12)); - pEVar18 = (Entity *)((float)local_24 * (1.0 / fVar12)); + piVar18 = local_28; + pEVar19 = local_24; + if (0.0 < fVar13) { + piVar18 = (int *)((float)local_28 * (1.0 / fVar13)); + pEVar19 = (Entity *)((float)local_24 * (1.0 / fVar13)); } - fVar12 = (familiar->_velocity).x; - fVar19 = familiar->_speedMultiplier; - fVar15 = -((float)piVar17 * (familiar->_velocity).y + (float)pEVar18 * fVar12); - if (fVar15 <= 1.0) { - fVar15 = 1.0; + fVar13 = (familiar->_velocity).x; + fVar20 = familiar->_speedMultiplier; + fVar16 = -((float)piVar18 * (familiar->_velocity).y + (float)pEVar19 * fVar13); + if (fVar16 <= 1.0) { + fVar16 = 1.0; } - if (10.0 <= fVar15) { - fVar15 = 10.0; + if (10.0 <= fVar16) { + fVar16 = 10.0; } - (familiar->_velocity).y = (float)piVar17 * fVar15 * fVar19 + (familiar->_velocity).y; - (familiar->_velocity).x = fVar12 + (float)pEVar18 * fVar15 * fVar19; + (familiar->_velocity).y = (float)piVar18 * fVar16 * fVar20 + (familiar->_velocity).y; + (familiar->_velocity).x = fVar13 + (float)pEVar19 * fVar16 * fVar20; } uVar9 = 0x3c; if (*(int *)&g_game->_deathmatchManager < 2) { @@ -282657,52 +282963,52 @@ void __fastcall FamiliarAI::variant_53(Entity_Familiar *familiar) local_24 = (Entity *)0x0; if (local_50[0x499] != 0) { do { - pEVar18 = *(Entity **)(local_50[0x497] + (int)local_34 * 4); - if ((*(int *)&g_game->_deathmatchManager < 2) || (iVar7 = 1, pEVar18->_type != 1)) { - iVar7 = pEVar18->_type; + pEVar19 = *(Entity **)(local_50[0x497] + (int)local_34 * 4); + if ((*(int *)&g_game->_deathmatchManager < 2) || (iVar7 = 1, pEVar19->_type != 1)) { + iVar7 = pEVar19->_type; if (iVar7 - 10U < 0x3de) goto LAB_00619afb; } else { LAB_00619afb: - if ((((pEVar18->_entityCollisionClass != 1) && (pEVar18->_entityCollisionClass != 0)) && - ((pEVar18->_isInvicible == 0 && (pEVar18->_dead == 0)))) && - ((((pEVar18->_flags & 0x10) == 0 || (iVar7 == 0x322)) || (iVar7 == 0x362)))) { - cVar5 = Entity::IsDescendantOf(pEVar18,familiar->_spawnerEntity); - if ((cVar5 == '\0') && ((pEVar18->_flags & 0x20000010) == 0)) { - local_44 = (pEVar18->_pos).x; - local_48 = (int *)(pEVar18->_pos).y; + if ((((pEVar19->_entityCollisionClass != 1) && (pEVar19->_entityCollisionClass != 0)) && + ((pEVar19->_isInvicible == 0 && (pEVar19->_dead == 0)))) && + ((((pEVar19->_flags & 0x10) == 0 || (iVar7 == 0x322)) || (iVar7 == 0x362)))) { + cVar5 = Entity::IsDescendantOf(pEVar19,familiar->_spawnerEntity); + if ((cVar5 == '\0') && ((pEVar19->_flags & 0x20000010) == 0)) { + local_44 = (pEVar19->_pos).x; + local_48 = (int *)(pEVar19->_pos).y; local_2c = (float)local_48 - (familiar->_pos).y; local_28 = (int *)(local_44 - (familiar->_pos).x); local_38 = ABS(local_2c); local_3c = ABS((float)local_28); - local_40 = pEVar18->_size; + local_40 = pEVar19->_size; pfVar10 = &local_38; if (ABS((float)local_28) <= ABS(local_2c)) { pfVar10 = &local_3c; } if (!(local_40 + 10.0 < *pfVar10 || local_40 + 10.0 == *pfVar10)) { - fVar12 = (float)local_28 * (float)local_28 + local_2c * local_2c; + fVar13 = (float)local_28 * (float)local_28 + local_2c * local_2c; sqrtf(); - if (fVar12 <= 0.0) { - piVar17 = local_28; - fVar12 = local_2c; + if (fVar13 <= 0.0) { + piVar18 = local_28; + fVar13 = local_2c; } else { - piVar17 = (int *)((local_40 / fVar12) * (float)local_28); - fVar12 = (local_40 / fVar12) * local_2c; + piVar18 = (int *)((local_40 / fVar13) * (float)local_28); + fVar13 = (local_40 / fVar13) * local_2c; } - local_5c = local_44 - (float)piVar17; - local_58 = (int *)((float)local_48 - fVar12); - fVar19 = local_5c - (familiar->_pos).x; - fVar12 = (float)local_58 - (familiar->_pos).y; - piVar17 = (int *)(fVar12 * fVar12 + fVar19 * fVar19); + local_5c = local_44 - (float)piVar18; + local_58 = (int *)((float)local_48 - fVar13); + fVar20 = local_5c - (familiar->_pos).x; + fVar13 = (float)local_58 - (familiar->_pos).y; + piVar18 = (int *)(fVar13 * fVar13 + fVar20 * fVar20); sqrtf(); - local_48 = piVar17; - if (((float)piVar17 < (float)local_30) && + local_48 = piVar18; + if (((float)piVar18 < (float)local_30) && (cVar5 = Room::CheckLine(&familiar->_pos,&local_5c,3,0x3b6,0,0,0), cVar5 != '\0') ) { local_30 = local_48; - local_24 = pEVar18; + local_24 = pEVar19; } } } @@ -282711,14 +283017,14 @@ LAB_00619afb: local_34 = (int *)((int)local_34 + 1); } while (local_34 < (int *)local_50[0x499]); if (local_24 != (Entity *)0x0) { - fVar19 = (local_24->_pos).x - (familiar->_pos).x; - fVar12 = (local_24->_pos).y - (familiar->_pos).y; - if (ABS(fVar19) <= ABS(fVar12)) { - iVar7 = (uint)(0.0 < fVar12) * 2 + 1; + fVar20 = (local_24->_pos).x - (familiar->_pos).x; + fVar13 = (local_24->_pos).y - (familiar->_pos).y; + if (ABS(fVar20) <= ABS(fVar13)) { + iVar7 = (uint)(0.0 < fVar13) * 2 + 1; } else { iVar7 = 2; - if (fVar19 <= 0.0) { + if (fVar20 <= 0.0) { iVar7 = 0; } } @@ -282740,14 +283046,14 @@ LAB_00619afb: iVar2 = familiar->_variant; if (iVar2 != 0x58) { if (iVar2 == 0xce) { - ANM2::GetLayer(&familiar->_sprite,(byte *)0x0); - piVar17 = (int *)LayerState::GetTexture(&local_5c); + pLVar11 = ANM2::GetLayer(&familiar->_sprite,(byte *)0x0); + piVar18 = (int *)LayerState::GetTexture(pLVar11,&local_5c); local_14 = 1; - pbVar11 = s_Idle2; - if (*(uint *)(*piVar17 + 0x10) < 0x81) { - pbVar11 = s_Idle; + pbVar12 = s_Idle2; + if (*(uint *)(*piVar18 + 0x10) < 0x81) { + pbVar12 = s_Idle; } - ANM2::SetAnimation(&familiar->_sprite,pbVar11,0); + ANM2::SetAnimation(&familiar->_sprite,pbVar12,0); local_14 = 2; if (((local_58 != (int *)0x0) && (cVar5 = (**(code **)(*local_58 + 0xc))(), cVar5 != '\0')) && (g_imageReleaseFn != (void *)0x0)) { @@ -282846,14 +283152,14 @@ switchD_00619ef3_default: return; } if (iVar7 == 0xce) { - ANM2::GetLayer(&familiar->_sprite,(byte *)0x0); - piVar17 = (int *)LayerState::GetTexture(local_4c); + pLVar11 = ANM2::GetLayer(&familiar->_sprite,(byte *)0x0); + piVar18 = (int *)LayerState::GetTexture(pLVar11,local_4c); local_14 = 3; - pbVar11 = s_Idle2; - if (*(uint *)(*piVar17 + 0x10) < 0x81) { - pbVar11 = s_Idle; + pbVar12 = s_Idle2; + if (*(uint *)(*piVar18 + 0x10) < 0x81) { + pbVar12 = s_Idle; } - ANM2::SetAnimation(&familiar->_sprite,pbVar11,0); + ANM2::SetAnimation(&familiar->_sprite,pbVar12,0); local_14 = 4; if (local_48 == (int *)0x0) { ExceptionList = local_1c; @@ -283031,32 +283337,32 @@ LAB_0061a315: void __thiscall Entity_Familiar::ai_pickup_sack(Entity_Familiar *this) { - EntityPtr *pEVar1; - RNG *pRVar2; - int *piVar3; - EntityPtr EVar4; - Entity_Familiar *pEVar5; - int iVar6; - code *pcVar7; - qword qVar8; - Manager *pMVar9; - char cVar10; - byte bVar11; - int iVar12; - byte *pbVar13; - uint uVar14; - undefined4 uVar15; - ItemPool *pIVar16; - RNG RVar17; - byte *pbVar18; - char *pcVar19; - byte *pbVar20; - qword *pqVar21; - int iVar22; - RNG RVar23; - bool bVar24; + RNG *pRVar1; + int *piVar2; + EntityPtr EVar3; + Entity_Familiar *pEVar4; + int iVar5; + code *pcVar6; + qword qVar7; + Manager *pMVar8; + char cVar9; + byte bVar10; + int iVar11; + byte *pbVar12; + uint uVar13; + undefined4 uVar14; + ItemPool *pIVar15; + uint uVar16; + byte *pbVar17; + char *pcVar18; + byte *pbVar19; + qword *pqVar20; + int iVar21; + bool bVar22; + EntityPtr *pEVar23; + float fVar24; float fVar25; - float fVar26; + EntityPtr *pEVar26; undefined1 local_a8 [8]; undefined1 local_a0 [8]; undefined1 local_98 [8]; @@ -283067,7 +283373,7 @@ void __thiscall Entity_Familiar::ai_pickup_sack(Entity_Familiar *this) uint local_74; char local_70 [4]; int local_6c; - RNG local_64; + undefined1 *local_64; float local_60; float local_5c; float local_58; @@ -283085,8 +283391,8 @@ void __thiscall Entity_Familiar::ai_pickup_sack(Entity_Familiar *this) float local_28; ItemPool *local_20; float local_1c; - RNG local_18; - RNG local_14; + EntityPtr *local_18; + EntityPtr *local_14; void *local_10; undefined1 *puStack_c; undefined4 local_8; @@ -283095,43 +283401,43 @@ void __thiscall Entity_Familiar::ai_pickup_sack(Entity_Familiar *this) puStack_c = &LAB_00af6b95; local_10 = ExceptionList; ExceptionList = &local_10; - EVar4 = this->_target; - pEVar1 = &this->_target; - if ((EVar4 == (EntityPtr)0x0) || (*(char *)((int)EVar4 + 0x173) != '\0')) { - local_18 = *(RNG *)((int)this->_player + 0x33c); - local_14 = *(RNG *)((int)this->_player + 0x340); + EVar3 = this->_target; + pEVar23 = &this->_target; + if ((EVar3 == (EntityPtr)0x0) || (*(char *)((int)EVar3 + 0x173) != '\0')) { + local_18 = *(EntityPtr **)((int)this->_player + 0x33c); + local_14 = *(EntityPtr **)((int)this->_player + 0x340); local_1c = 80.0; EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); local_8 = 0; - uVar14 = 0; + uVar13 = 0; if (local_74 != 0) { do { - pEVar5 = *(Entity_Familiar **)(local_7c + uVar14 * 4); - if (pEVar5->_exists != 0) { - iVar22 = pEVar5->_variant; - if ((((iVar22 == 0x18) || (iVar22 == 0x40)) || (iVar22 == 0x5a)) || - ((iVar22 == 0x66 || (iVar22 == 0x58)))) { - if (pEVar5 == this) break; - local_18 = (RNG)(pEVar5->_pos).x; - local_14 = (RNG)(pEVar5->_pos).y; + pEVar4 = *(Entity_Familiar **)(local_7c + uVar13 * 4); + if (pEVar4->_exists != 0) { + iVar21 = pEVar4->_variant; + if ((((iVar21 == 0x18) || (iVar21 == 0x40)) || (iVar21 == 0x5a)) || + ((iVar21 == 0x66 || (iVar21 == 0x58)))) { + if (pEVar4 == this) break; + local_18 = (EntityPtr *)(pEVar4->_pos).x; + local_14 = (EntityPtr *)(pEVar4->_pos).y; local_1c = 50.0; } - else if (pEVar5 == this) break; + else if (pEVar4 == this) break; } - uVar14 = uVar14 + 1; - } while (uVar14 < local_74); + uVar13 = uVar13 + 1; + } while (uVar13 < local_74); } local_28 = (this->_pos).y; - local_14 = (RNG)((float)local_14 - local_28); - local_18 = (RNG)((float)local_18 - (this->_pos).x); + local_14 = (EntityPtr *)((float)local_14 - local_28); + local_18 = (EntityPtr *)((float)local_18 - (this->_pos).x); local_28 = *(float *)((int)this->_player + 0x340) - local_28; local_2c = *(float *)((int)this->_player + 0x33c) - (this->_pos).x; - pIVar16 = (ItemPool *)((float)local_14 * (float)local_14 + (float)local_18 * (float)local_18); + pIVar15 = (ItemPool *)((float)local_14 * (float)local_14 + (float)local_18 * (float)local_18); sqrtf(); - fVar26 = local_28 * local_28 + local_2c * local_2c; - local_20 = pIVar16; + fVar25 = local_28 * local_28 + local_2c * local_2c; + local_20 = pIVar15; sqrtf(); - if (80.0 <= fVar26) { + if (80.0 <= fVar25) { if (local_1c < (float)local_20) { (this->_velocity).x = ((float)local_18 / (float)local_20) * 0.8 + (this->_velocity).x; (this->_velocity).y = ((float)local_14 / (float)local_20) * 0.8 + (this->_velocity).y; @@ -283140,30 +283446,30 @@ void __thiscall Entity_Familiar::ai_pickup_sack(Entity_Familiar *this) else if ((((5 < this->_coins) || (2 < this->_hearts)) || (this->_state < this->_keys)) && (((this->_sprite)._animState._animData != (void *)0x0 && ((this->_sprite)._animState._isPlaying != 0)))) { - pbVar13 = (this->_sprite)._animState._animData; - if (0xf < *(uint *)(pbVar13 + 0x14)) { - pbVar13 = *(byte **)pbVar13; + pbVar12 = (this->_sprite)._animState._animData; + if (0xf < *(uint *)(pbVar12 + 0x14)) { + pbVar12 = *(byte **)pbVar12; } - pcVar19 = "FloatDown"; + pcVar18 = "FloatDown"; do { - bVar11 = *pbVar13; - bVar24 = bVar11 < (byte)*pcVar19; - if (bVar11 != *pcVar19) { + bVar10 = *pbVar12; + bVar22 = bVar10 < (byte)*pcVar18; + if (bVar10 != *pcVar18) { LAB_0061a861: - uVar14 = -(uint)bVar24 | 1; + uVar13 = -(uint)bVar22 | 1; goto LAB_0061a866; } - if (bVar11 == 0) break; - bVar11 = pbVar13[1]; - bVar24 = bVar11 < (byte)pcVar19[1]; - if (bVar11 != pcVar19[1]) goto LAB_0061a861; - pbVar13 = pbVar13 + 2; - pcVar19 = pcVar19 + 2; - } while (bVar11 != 0); - uVar14 = 0; + if (bVar10 == 0) break; + bVar10 = pbVar12[1]; + bVar22 = bVar10 < (byte)pcVar18[1]; + if (bVar10 != pcVar18[1]) goto LAB_0061a861; + pbVar12 = pbVar12 + 2; + pcVar18 = pcVar18 + 2; + } while (bVar10 != 0); + uVar13 = 0; LAB_0061a866: - if ((uVar14 == 0) && - (bVar11 = ANM2::SetAnimation(&this->_sprite,(byte *)"PreSpawn",1), bVar11 != 0)) { + if ((uVar13 == 0) && + (bVar10 = ANM2::SetAnimation(&this->_sprite,(byte *)"PreSpawn",1), bVar10 != 0)) { AnimationState::Rewind(&(this->_sprite)._animState); (this->_sprite)._animState._isPlaying = 1; } @@ -283171,113 +283477,113 @@ LAB_0061a866: local_8 = 0xffffffff; if (local_80 == '\0') { if (g_mainHeap == (void *)0x0) { - pqVar21 = &g_allocatedBytesNoHeap; + pqVar20 = &g_allocatedBytesNoHeap; } else { - pqVar21 = (qword *)((int)g_mainHeap + 0x30); + pqVar20 = (qword *)((int)g_mainHeap + 0x30); } if (local_7c != 0) { - uVar14 = *(uint *)(local_7c + -4); - qVar8 = *pqVar21; - *(uint *)pqVar21 = (uint)*pqVar21 - uVar14; - *(uint *)((int)pqVar21 + 4) = *(uint *)((int)pqVar21 + 4) - (uint)((uint)qVar8 < uVar14); + uVar13 = *(uint *)(local_7c + -4); + qVar7 = *pqVar20; + *(uint *)pqVar20 = (uint)*pqVar20 - uVar13; + *(uint *)((int)pqVar20 + 4) = *(uint *)((int)pqVar20 + 4) - (uint)((uint)qVar7 < uVar13); free((uint *)(local_7c + -4)); } local_8 = 0xffffffff; } LAB_0061a925: this->_friction = this->_friction * 0.8; - cVar10 = Entity::IsFrame((Entity *)this,5,0); - if (cVar10 != '\0') goto LAB_0061a950; + cVar9 = Entity::IsFrame((Entity *)this,5,0); + if (cVar9 != '\0') goto LAB_0061a950; } else { - local_18 = (RNG)(*(float *)((int)EVar4 + 0x340) - (this->_pos).y); - local_14 = (RNG)(*(float *)((int)EVar4 + 0x33c) - (this->_pos).x); - fVar26 = (float)local_18 * (float)local_18 + (float)local_14 * (float)local_14; - if (100.0 <= fVar26) { + local_18 = (EntityPtr *)(*(float *)((int)EVar3 + 0x340) - (this->_pos).y); + local_14 = (EntityPtr *)(*(float *)((int)EVar3 + 0x33c) - (this->_pos).x); + fVar25 = (float)local_18 * (float)local_18 + (float)local_14 * (float)local_14; + if (100.0 <= fVar25) { sqrtf(__security_cookie ^ (uint)(local_70 + 0x6c)); - RVar23 = local_14; - RVar17 = local_18; - if (0.0 < fVar26) { - RVar17 = (RNG)((float)local_18 * (1.0 / fVar26)); - RVar23 = (RNG)((float)local_14 * (1.0 / fVar26)); + pEVar23 = local_14; + pEVar26 = local_18; + if (0.0 < fVar25) { + pEVar26 = (EntityPtr *)((float)local_18 * (1.0 / fVar25)); + pEVar23 = (EntityPtr *)((float)local_14 * (1.0 / fVar25)); } - (this->_velocity).x = (float)RVar23 * 1.1 + (this->_velocity).x; - (this->_velocity).y = (float)RVar17 * 1.1 + (this->_velocity).y; + (this->_velocity).x = (float)pEVar23 * 1.1 + (this->_velocity).x; + (this->_velocity).y = (float)pEVar26 * 1.1 + (this->_velocity).y; goto LAB_0061a925; } Entity::collide_with_entity(); - EVar4 = *pEVar1; - if (*(byte *)((int)EVar4 + 0x173) == 0) { - if ((((EVar4 != (EntityPtr)0x0) && (*(int *)((int)EVar4 + 0x28) == 5)) && - (*(int *)((int)EVar4 + 0x2c) == 0x14)) && (*(int *)((int)EVar4 + 0x30) == 6)) { - uVar14 = Entity::GetHitListIndex((Entity *)EVar4); - sorted_vector_insert_unique(uVar14); - if (*pEVar1 != (EntityPtr)0x0) { - local_18 = (RNG)pEVar1; + EVar3 = *pEVar23; + if (*(byte *)((int)EVar3 + 0x173) == 0) { + if ((((EVar3 != (EntityPtr)0x0) && (*(int *)((int)EVar3 + 0x28) == 5)) && + (*(int *)((int)EVar3 + 0x2c) == 0x14)) && (*(int *)((int)EVar3 + 0x30) == 6)) { + uVar13 = Entity::GetHitListIndex((Entity *)EVar3); + sorted_vector_insert_unique(uVar13); + if (*pEVar23 != (EntityPtr)0x0) { + local_18 = pEVar23; std::multiset::erase(&local_18); } - *pEVar1 = (EntityPtr)0x0; + *pEVar23 = (EntityPtr)0x0; } goto LAB_0061a925; } - if (EVar4 != (EntityPtr)0x0) { - local_14 = (RNG)pEVar1; + if (EVar3 != (EntityPtr)0x0) { + local_14 = pEVar23; std::multiset::erase(&local_14); } - *pEVar1 = (EntityPtr)0x0; + *pEVar23 = (EntityPtr)0x0; this->_friction = this->_friction * 0.8; LAB_0061a950: if (this->_target == (EntityPtr)0x0) { local_1c = 40000.0; EntityList::QueryRadius(local_70,&this->_pos,0x10); local_8 = 2; - local_14 = (RNG)0x0; - if (local_64 != (RNG)0x0) { + local_14 = (EntityPtr *)0x0; + if (local_64 != (undefined1 *)0x0) { do { - iVar22 = *(int *)(local_6c + (int)local_14 * 4); - if (*(int *)(iVar22 + 0x28) == 5) { - iVar12 = __RTDynamicCast(iVar22,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, + iVar21 = *(int *)(local_6c + (int)local_14 * 4); + if (*(int *)(iVar21 + 0x28) == 5) { + iVar11 = __RTDynamicCast(iVar21,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor,0); - iVar22 = this->_variant; - if (((((iVar22 == 0x18) || (iVar22 == 0x66)) && (*(int *)(iVar12 + 0x2c) == 0x14)) || - (((((iVar22 == 0x40 || (iVar22 == 0x66)) && (*(int *)(iVar12 + 0x2c) == 10)) && - ((((iVar6 = *(int *)(iVar12 + 0x30), iVar6 == 1 || (iVar6 == 2)) || (iVar6 == 5)) - || (iVar6 == 9)))) || - (((iVar22 == 0x5a || (iVar22 == 0x66)) && - ((*(int *)(iVar12 + 0x2c) == 0x1e && (*(int *)(iVar12 + 0x30) != 2)))))))) && - (((*(char *)(iVar12 + 0x173) == '\0' && (*(int *)(iVar12 + 0x534) == 0)) && - (((cVar10 = EntityList::HitListContains(iVar12), cVar10 == '\0' || - ((*(int *)(iVar12 + 0x2c) == 0x14 && (*(int *)(iVar12 + 0x30) == 2)))) && - (fVar26 = *(float *)(iVar12 + 0x33c) - (this->_pos).x, - fVar25 = *(float *)(iVar12 + 0x340) - (this->_pos).y, - local_2c = fVar25 * fVar25 + fVar26 * fVar26, local_2c < local_1c)))))) { - pEVar1 = &this->_target; + iVar21 = this->_variant; + if (((((iVar21 == 0x18) || (iVar21 == 0x66)) && (*(int *)(iVar11 + 0x2c) == 0x14)) || + (((((iVar21 == 0x40 || (iVar21 == 0x66)) && (*(int *)(iVar11 + 0x2c) == 10)) && + ((((iVar5 = *(int *)(iVar11 + 0x30), iVar5 == 1 || (iVar5 == 2)) || (iVar5 == 5)) + || (iVar5 == 9)))) || + (((iVar21 == 0x5a || (iVar21 == 0x66)) && + ((*(int *)(iVar11 + 0x2c) == 0x1e && (*(int *)(iVar11 + 0x30) != 2)))))))) && + (((*(char *)(iVar11 + 0x173) == '\0' && (*(int *)(iVar11 + 0x534) == 0)) && + (((cVar9 = EntityList::HitListContains(iVar11), cVar9 == '\0' || + ((*(int *)(iVar11 + 0x2c) == 0x14 && (*(int *)(iVar11 + 0x30) == 2)))) && + (fVar25 = *(float *)(iVar11 + 0x33c) - (this->_pos).x, + fVar24 = *(float *)(iVar11 + 0x340) - (this->_pos).y, + local_2c = fVar24 * fVar24 + fVar25 * fVar25, local_2c < local_1c)))))) { + pEVar23 = &this->_target; if (this->_target != (EntityPtr)0x0) { - local_20 = (ItemPool *)pEVar1; + local_20 = (ItemPool *)pEVar23; std::multiset::erase(&local_20); } - *(int *)&pEVar1->field_0x0 = iVar12; - std::multiset::insert(pEVar1); + *(int *)&pEVar23->field_0x0 = iVar11; + std::multiset::insert(pEVar23); local_1c = local_2c; } } - local_14 = (RNG)((int)local_14 + 1); - } while ((uint)local_14 < (uint)local_64); + local_14 = (EntityPtr *)&local_14->field_0x1; + } while (local_14 < local_64); } local_8 = 0xffffffff; if (local_70[0] == '\0') { if (g_mainHeap == (void *)0x0) { - pqVar21 = &g_allocatedBytesNoHeap; + pqVar20 = &g_allocatedBytesNoHeap; } else { - pqVar21 = (qword *)((int)g_mainHeap + 0x30); + pqVar20 = (qword *)((int)g_mainHeap + 0x30); } if (local_6c != 0) { - uVar14 = *(uint *)(local_6c + -4); - qVar8 = *pqVar21; - *(uint *)pqVar21 = (uint)*pqVar21 - uVar14; - *(uint *)((int)pqVar21 + 4) = *(uint *)((int)pqVar21 + 4) - (uint)((uint)qVar8 < uVar14); + uVar13 = *(uint *)(local_6c + -4); + qVar7 = *pqVar20; + *(uint *)pqVar20 = (uint)*pqVar20 - uVar13; + *(uint *)((int)pqVar20 + 4) = *(uint *)((int)pqVar20 + 4) - (uint)((uint)qVar7 < uVar13); free((void *)(local_6c + -4)); } local_8 = 0xffffffff; @@ -283287,55 +283593,55 @@ LAB_0061a950: if (((this->_sprite)._animState._animData == (void *)0x0) || ((this->_sprite)._animState._isPlaying != 0)) { LAB_0061b7e0: - pbVar13 = (this->_sprite)._animState._animData; - if ((pbVar13 != (byte *)0x0) && ((this->_sprite)._animState._isPlaying == 0)) { - pbVar18 = pbVar13; - if (0xf < *(uint *)(pbVar13 + 0x14)) { - pbVar18 = *(byte **)pbVar13; + pbVar12 = (this->_sprite)._animState._animData; + if ((pbVar12 != (byte *)0x0) && ((this->_sprite)._animState._isPlaying == 0)) { + pbVar17 = pbVar12; + if (0xf < *(uint *)(pbVar12 + 0x14)) { + pbVar17 = *(byte **)pbVar12; } - pbVar20 = s_Spawn; + pbVar19 = s_Spawn; do { - bVar11 = *pbVar18; - bVar24 = bVar11 < *pbVar20; - if (bVar11 != *pbVar20) { + bVar10 = *pbVar17; + bVar22 = bVar10 < *pbVar19; + if (bVar10 != *pbVar19) { LAB_0061b827: - uVar14 = -(uint)bVar24 | 1; + uVar13 = -(uint)bVar22 | 1; goto LAB_0061b82c; } - if (bVar11 == 0) break; - bVar11 = pbVar18[1]; - bVar24 = bVar11 < pbVar20[1]; - if (bVar11 != pbVar20[1]) goto LAB_0061b827; - pbVar18 = pbVar18 + 2; - pbVar20 = pbVar20 + 2; - } while (bVar11 != 0); - uVar14 = 0; + if (bVar10 == 0) break; + bVar10 = pbVar17[1]; + bVar22 = bVar10 < pbVar19[1]; + if (bVar10 != pbVar19[1]) goto LAB_0061b827; + pbVar17 = pbVar17 + 2; + pbVar19 = pbVar19 + 2; + } while (bVar10 != 0); + uVar13 = 0; LAB_0061b82c: - if (uVar14 == 0) { - pbVar18 = pbVar13; - if (0xf < *(uint *)(pbVar13 + 0x14)) { - pbVar18 = *(byte **)pbVar13; + if (uVar13 == 0) { + pbVar17 = pbVar12; + if (0xf < *(uint *)(pbVar12 + 0x14)) { + pbVar17 = *(byte **)pbVar12; } - pcVar19 = "FloatDown"; + pcVar18 = "FloatDown"; do { - bVar11 = *pbVar18; - bVar24 = bVar11 < (byte)*pcVar19; - if (bVar11 != *pcVar19) { + bVar10 = *pbVar17; + bVar22 = bVar10 < (byte)*pcVar18; + if (bVar10 != *pcVar18) { LAB_0061b860: - uVar14 = -(uint)bVar24 | 1; + uVar13 = -(uint)bVar22 | 1; goto LAB_0061b865; } - if (bVar11 == 0) break; - bVar11 = pbVar18[1]; - bVar24 = bVar11 < (byte)pcVar19[1]; - if (bVar11 != pcVar19[1]) goto LAB_0061b860; - pbVar18 = pbVar18 + 2; - pcVar19 = pcVar19 + 2; - } while (bVar11 != 0); - uVar14 = 0; + if (bVar10 == 0) break; + bVar10 = pbVar17[1]; + bVar22 = bVar10 < (byte)pcVar18[1]; + if (bVar10 != pcVar18[1]) goto LAB_0061b860; + pbVar17 = pbVar17 + 2; + pcVar18 = pcVar18 + 2; + } while (bVar10 != 0); + uVar13 = 0; LAB_0061b865: - if (((uVar14 != 0) || (pbVar13[0x34] != 0)) && - (bVar11 = ANM2::SetAnimation(&this->_sprite,(byte *)"FloatDown",1), bVar11 != 0)) { + if (((uVar13 != 0) || (pbVar12[0x34] != 0)) && + (bVar10 = ANM2::SetAnimation(&this->_sprite,(byte *)"FloatDown",1), bVar10 != 0)) { AnimationState::Rewind(&(this->_sprite)._animState); (this->_sprite)._animState._isPlaying = 1; } @@ -283344,168 +283650,168 @@ LAB_0061b865: ExceptionList = local_10; return; } - pbVar13 = (this->_sprite)._animState._animData; - if (0xf < *(uint *)(pbVar13 + 0x14)) { - pbVar13 = *(byte **)pbVar13; + pbVar12 = (this->_sprite)._animState._animData; + if (0xf < *(uint *)(pbVar12 + 0x14)) { + pbVar12 = *(byte **)pbVar12; } - pcVar19 = "PreSpawn"; + pcVar18 = "PreSpawn"; do { - bVar11 = *pbVar13; - bVar24 = bVar11 < (byte)*pcVar19; - if (bVar11 != *pcVar19) { + bVar10 = *pbVar12; + bVar22 = bVar10 < (byte)*pcVar18; + if (bVar10 != *pcVar18) { LAB_0061ab77: - uVar14 = -(uint)bVar24 | 1; + uVar13 = -(uint)bVar22 | 1; goto LAB_0061ab7c; } - if (bVar11 == 0) break; - bVar11 = pbVar13[1]; - bVar24 = bVar11 < (byte)pcVar19[1]; - if (bVar11 != pcVar19[1]) goto LAB_0061ab77; - pbVar13 = pbVar13 + 2; - pcVar19 = pcVar19 + 2; - } while (bVar11 != 0); - uVar14 = 0; + if (bVar10 == 0) break; + bVar10 = pbVar12[1]; + bVar22 = bVar10 < (byte)pcVar18[1]; + if (bVar10 != pcVar18[1]) goto LAB_0061ab77; + pbVar12 = pbVar12 + 2; + pcVar18 = pcVar18 + 2; + } while (bVar10 != 0); + uVar13 = 0; LAB_0061ab7c: - if (uVar14 != 0) goto LAB_0061b7e0; - bVar11 = ANM2::SetAnimation(&this->_sprite,s_Spawn,1); - if (bVar11 != 0) { + if (uVar13 != 0) goto LAB_0061b7e0; + bVar10 = ANM2::SetAnimation(&this->_sprite,s_Spawn,1); + if (bVar10 != 0) { AnimationState::Rewind(&(this->_sprite)._animState); (this->_sprite)._animState._isPlaying = 1; } local_28 = 0.0; - iVar22 = this->_variant; - if (iVar22 == 0x66) { + iVar21 = this->_variant; + if (iVar21 == 0x66) { if (this->_coins < 6) { if (this->_hearts < 3) goto LAB_0061b57f; goto LAB_0061b0d0; } } - else if (iVar22 != 0x18) { - if (iVar22 != 0x40) { - if (iVar22 != 0x5a) { + else if (iVar21 != 0x18) { + if (iVar21 != 0x40) { + if (iVar21 != 0x5a) { ExceptionList = local_10; return; } LAB_0061b57f: - bVar11 = Entity_Player::HasCollectible(this->_player,0xf7,0); - RVar23 = this->_dropRNG; - if (bVar11 == 0) { - if (RVar23 == (RNG)0x0) { + bVar10 = Entity_Player::HasCollectible(this->_player,0xf7,0); + uVar13 = (this->_dropRNG)._seed; + if (bVar10 == 0) { + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - RVar23 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - this->_dropRNG = RVar23; - iVar12 = this->_keys + -4; - iVar22 = 0; - if (0 < iVar12) { - iVar22 = iVar12; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13; + (this->_dropRNG)._seed = uVar13; + iVar11 = this->_keys + -4; + iVar21 = 0; + if (0 < iVar11) { + iVar21 = iVar11; } - uVar14 = (uint)RVar23 & 3; + uVar13 = uVar13 & 3; } else { - if (RVar23 == (RNG)0x0) { + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - RVar23 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - this->_dropRNG = RVar23; - iVar12 = this->_keys + -3; - iVar22 = 0; - if (0 < iVar12) { - iVar22 = iVar12; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13; + (this->_dropRNG)._seed = uVar13; + iVar11 = this->_keys + -3; + iVar21 = 0; + if (0 < iVar11) { + iVar21 = iVar11; } - uVar14 = (uint)RVar23 % 3; + uVar13 = uVar13 % 3; } - this->_state = uVar14 + 2; - this->_keys = iVar22; - iVar22 = (this->_variant == 0x66) + 1; + this->_state = uVar13 + 2; + this->_keys = iVar21; + iVar21 = (this->_variant == 0x66) + 1; do { local_60 = (this->_pos).x * 0.5 + *(float *)((int)this->_player + 0x33c) * 0.5; local_5c = *(float *)((int)this->_player + 0x340) * 0.5 + (this->_pos).y * 0.5; Room::FindFreePickupSpawnPosition(local_a8,&local_60,0,0,0,0); - RVar23 = this->_dropRNG; - if (RVar23 == (RNG)0x0) { + uVar13 = (this->_dropRNG)._seed; + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - RVar23 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - this->_dropRNG = RVar23; - if (RVar23 == (RNG)0x0) { + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13; + (this->_dropRNG)._seed = uVar13; + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - if (RVar23 == (RNG)0x0) { - pcVar7 = (code *)swi(3); - (*pcVar7)(); + if (uVar13 == 0) { + pcVar6 = (code *)swi(3); + (*pcVar6)(); return; } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - RVar17 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - this->_dropRNG = RVar17; - Game::Spawn(5,*(undefined4 *)(&DAT_00b62fd0 + ((uint)RVar17 % 3) * 4),local_a8,&g_vectorZero - ,0,0,RVar23); - iVar22 = iVar22 + -1; - } while (iVar22 != 0); + uVar16 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar16 = uVar16 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar16; + uVar16 = uVar16 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar16; + (this->_dropRNG)._seed = uVar16; + Game::Spawn(5,*(undefined4 *)(&DAT_00b62fd0 + (uVar16 % 3) * 4),local_a8,&g_vectorZero,0,0, + uVar13); + iVar21 = iVar21 + -1; + } while (iVar21 != 0); ExceptionList = local_10; return; } LAB_0061b0d0: this->_hearts = this->_hearts + -3; - pRVar2 = &this->_dropRNG; - RVar23 = *pRVar2; - if (RVar23 == (RNG)0x0) { + pRVar1 = &this->_dropRNG; + uVar13 = pRVar1->_seed; + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - RVar23 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - *pRVar2 = RVar23; - if (((uint)RVar23 % 10 == 0) && - (bVar11 = Entity_Player::HasCollectible(this->_player,0xf7,0), bVar11 == 0)) { + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13; + pRVar1->_seed = uVar13; + if ((uVar13 % 10 == 0) && + (bVar10 = Entity_Player::HasCollectible(this->_player,0xf7,0), bVar10 == 0)) { this->_hearts = this->_hearts + -1; } - pMVar9 = g_manager; + pMVar8 = g_manager; local_28 = 1.19531e-42; seed_fart_sound_override(); - SoundEffects::Play(&pMVar9->_sfxManager,(int)local_28,1.0,2,0,1.0,0.0); - RVar23 = *pRVar2; - if (RVar23 == (RNG)0x0) { + SoundEffects::Play(&pMVar8->_sfxManager,(int)local_28,1.0,2,0,1.0,0.0); + uVar13 = pRVar1->_seed; + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - local_20 = (ItemPool *)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f)); - RVar23 = (RNG)((uint)local_20 ^ uVar14); - *pRVar2 = RVar23; - uVar14 = (uint)RVar23 % 5; - if (uVar14 == 0) { + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + local_20 = (ItemPool *)(uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f)); + uVar13 = (uint)local_20 ^ uVar13; + pRVar1->_seed = uVar13; + uVar13 = uVar13 % 5; + if (uVar13 == 0) { local_40 = (this->_pos).x * 0.5 + *(float *)((int)this->_player + 0x33c) * 0.5; local_3c = (this->_pos).y * 0.5 + *(float *)((int)this->_player + 0x340) * 0.5; Room::FindFreePickupSpawnPosition(&local_30,&local_40,0,0,0,0); - RVar23 = *pRVar2; - if (RVar23 == (RNG)0x0) { + uVar13 = pRVar1->_seed; + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - RVar23 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - *pRVar2 = RVar23; - if (((uint)RVar23 & 1) == 0) { - piVar3 = (int *)((int)this->_player + 0x1370); - *piVar3 = *piVar3 + 1; - uVar15 = spawn_blue_spider(&g_vectorZero); - Entity::convert_shot_for_enemy_owner(uVar15); + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13; + pRVar1->_seed = uVar13; + if ((uVar13 & 1) == 0) { + piVar2 = (int *)((int)this->_player + 0x1370); + *piVar2 = *piVar2 + 1; + uVar14 = spawn_blue_spider(&g_vectorZero); + Entity::convert_shot_for_enemy_owner(uVar14); ExceptionList = local_10; return; } @@ -283513,148 +283819,146 @@ LAB_0061b0d0: ExceptionList = local_10; return; } - if (uVar14 == 1) { + if (uVar13 == 1) { local_48 = *(float *)((int)this->_player + 0x33c) * 0.5 + (this->_pos).x * 0.5; local_44 = (this->_pos).y * 0.5 + *(float *)((int)this->_player + 0x340) * 0.5; Room::FindFreePickupSpawnPosition(local_90,&local_48,0,0,0,0); - uVar14 = RNG::Next(pRVar2); - Game::Spawn(5,0x46,local_90,&g_vectorZero,this,0,uVar14); + uVar13 = RNG::Next(pRVar1); + Game::Spawn(5,0x46,local_90,&g_vectorZero,this,0,uVar13); ExceptionList = local_10; return; } - if (uVar14 == 2) { + if (uVar13 == 2) { local_50 = (this->_pos).x * 0.5 + *(float *)((int)this->_player + 0x33c) * 0.5; local_4c = (this->_pos).y * 0.5 + *(float *)((int)this->_player + 0x340) * 0.5; Room::FindFreePickupSpawnPosition(local_98,&local_50,0,0,0,0); - uVar14 = RNG::Next(pRVar2); - Game::Spawn(5,300,local_98,&g_vectorZero,this,0,uVar14); + uVar13 = RNG::Next(pRVar1); + Game::Spawn(5,300,local_98,&g_vectorZero,this,0,uVar13); ExceptionList = local_10; return; } - pIVar16 = (ItemPool *)((this->_variant == 0x66) + 1); - local_20 = pIVar16; + pIVar15 = (ItemPool *)((this->_variant == 0x66) + 1); + local_20 = pIVar15; do { local_58 = (this->_pos).x * 0.5 + *(float *)((int)this->_player + 0x33c) * 0.5; local_54 = *(float *)((int)this->_player + 0x340) * 0.5 + (this->_pos).y * 0.5; Room::FindFreePickupSpawnPosition(local_a0,&local_58,0,0,0,0); - RVar23 = *pRVar2; - if (RVar23 == (RNG)0x0) { + uVar13 = pRVar1->_seed; + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - RVar23 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - *pRVar2 = RVar23; - Game::Spawn(5,10,local_a0,&g_vectorZero,this,6,RVar23); - pIVar16 = (ItemPool *)((int)&pIVar16[-1]._numAvailableTrinkets + 3); - } while (pIVar16 != (ItemPool *)0x0); + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13; + pRVar1->_seed = uVar13; + Game::Spawn(5,10,local_a0,&g_vectorZero,this,6,uVar13); + pIVar15 = (ItemPool *)((int)&pIVar15[-1]._numAvailableTrinkets + 3); + } while (pIVar15 != (ItemPool *)0x0); ExceptionList = local_10; return; } - bVar11 = Entity_Player::HasCollectible(this->_player,0xf7,0); - if (bVar11 == 0) { - RVar23 = this->_dropRNG; - if (RVar23 == (RNG)0x0) { + bVar10 = Entity_Player::HasCollectible(this->_player,0xf7,0); + if (bVar10 == 0) { + uVar13 = (this->_dropRNG)._seed; + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - RVar23 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - this->_dropRNG = RVar23; - local_18 = (RNG)(((uint)RVar23 & 1) + 3); + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13; + (this->_dropRNG)._seed = uVar13; + local_18 = (EntityPtr *)((uVar13 & 1) + 3); } else { - local_18 = (RNG)0x3; + local_18 = (EntityPtr *)0x3; } if ((this->_coins < 10) || (this->_subtype != 0)) { LAB_0061acb1: - RVar23 = this->_dropRNG; - pRVar2 = &this->_dropRNG; - if (RVar23 == (RNG)0x0) { + uVar13 = (this->_dropRNG)._seed; + pRVar1 = &this->_dropRNG; + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - RVar23 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - *pRVar2 = RVar23; - if (RVar23 != (RNG)(((uint)RVar23 / 100) * 100)) { - if (RVar23 == (RNG)0x0) { + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13; + pRVar1->_seed = uVar13; + if (uVar13 != (uVar13 / 100) * 100) { + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - local_14 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - *pRVar2 = local_14; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + local_14 = (EntityPtr *)(uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13); + pRVar1->_seed = (int)local_14; if (((uint)local_14 & 1) == 0) { - if (local_14 == (RNG)0x0) { + if (local_14 == (EntityPtr *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)local_14 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)local_14 - ; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - local_14 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - *pRVar2 = local_14; - local_14 = (RNG)((uint)local_14 % 3); - RVar23 = local_14; - if (local_14 == (RNG)0x0) { - bVar11 = Entity_Player::HasTrinket(this->_player,0x16,0); - if ((bVar11 == 0) || (uVar14 = Random(), uVar14 % 5 == 0)) { - RVar23 = local_14; + uVar13 = (uint)local_14 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ (uint)local_14; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13; + pRVar1->_seed = uVar13; + local_14 = (EntityPtr *)(uVar13 % 3); + pEVar23 = local_14; + if (local_14 == (EntityPtr *)0x0) { + bVar10 = Entity_Player::HasTrinket(this->_player,0x16,0); + if ((bVar10 == 0) || (uVar13 = Random(), uVar13 % 5 == 0)) { + pEVar23 = local_14; } else { - uVar14 = RNG::RandomInt(pRVar2,2); - RVar23 = (RNG)(uVar14 + 1); + uVar13 = RNG::RandomInt(pRVar1,2); + pEVar23 = (EntityPtr *)(uVar13 + 1); } } - if (RVar23 == (RNG)0x0) { - fVar26 = 1.4013e-44; + if (pEVar23 == (EntityPtr *)0x0) { + fVar25 = 1.4013e-44; } - else if (RVar23 == (RNG)0x1) { - fVar26 = 4.2039e-44; + else if (pEVar23 == (EntityPtr *)0x1) { + fVar25 = 4.2039e-44; } - else if (RVar23 == (RNG)0x2) { - fVar26 = 5.60519e-44; + else if (pEVar23 == (EntityPtr *)0x2) { + fVar25 = 5.60519e-44; } else { - fVar26 = 0.0; + fVar25 = 0.0; } } else { - if (local_14 == (RNG)0x0) { + if (local_14 == (EntityPtr *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)local_14 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)local_14 - ; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - RVar23 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - *pRVar2 = RVar23; - if (RVar23 == (RNG)(((uint)RVar23 / 3) * 3)) { - fVar26 = 4.90454e-43; + uVar13 = (uint)local_14 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ (uint)local_14; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13; + pRVar1->_seed = uVar13; + if (uVar13 == (uVar13 / 3) * 3) { + fVar25 = 4.90454e-43; } else { - if (RVar23 == (RNG)0x0) { + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - RVar23 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - *pRVar2 = RVar23; - switch((uint)RVar23 & 3) { + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13; + pRVar1->_seed = uVar13; + switch(uVar13 & 3) { case 0: - fVar26 = 9.80909e-44; + fVar25 = 9.80909e-44; break; case 1: - fVar26 = 4.2039e-43; + fVar25 = 4.2039e-43; break; default: - fVar26 = 1.26117e-43; + fVar25 = 1.26117e-43; } } } @@ -283662,62 +283966,62 @@ LAB_0061acb1: } } else { - RVar23 = this->_dropRNG; - if (RVar23 == (RNG)0x0) { + uVar13 = (this->_dropRNG)._seed; + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - RVar23 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - this->_dropRNG = RVar23; - if (RVar23 != (RNG)(((uint)RVar23 / 3) * 3)) goto LAB_0061acb1; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13; + (this->_dropRNG)._seed = uVar13; + if (uVar13 != (uVar13 / 3) * 3) goto LAB_0061acb1; } local_20 = &g_game->_itemPool; local_2c = 1.4013e-43; - if (RVar23 == (RNG)0x0) { + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - if (RVar23 == (RNG)0x0) { - pcVar7 = (code *)swi(3); - (*pcVar7)(); + if (uVar13 == 0) { + pcVar6 = (code *)swi(3); + (*pcVar6)(); return; } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - RVar23 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - this->_dropRNG = RVar23; - local_28 = (float)ItemPool::GetCollectible(local_20,10,RVar23,0,0,0); - pMVar9 = g_manager; - local_18 = (RNG)0xa; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13; + (this->_dropRNG)._seed = uVar13; + local_28 = (float)ItemPool::GetCollectible(local_20,10,uVar13,0,0,0); + pMVar8 = g_manager; + local_18 = (EntityPtr *)0xa; this->_subtype = 1; local_1c = 3.75548e-43; seed_fart_sound_override(); - SoundEffects::Play(&pMVar9->_sfxManager,(int)local_1c,1.0,2,0,1.0,0.0); - fVar26 = local_2c; + SoundEffects::Play(&pMVar8->_sfxManager,(int)local_1c,1.0,2,0,1.0,0.0); + fVar25 = local_2c; LAB_0061af9a: - iVar12 = this->_coins - (int)local_18; - iVar22 = 0; - if (0 < iVar12) { - iVar22 = iVar12; + iVar11 = this->_coins - (int)local_18; + iVar21 = 0; + if (0 < iVar11) { + iVar21 = iVar11; } - this->_coins = iVar22; + this->_coins = iVar21; local_1c = (float)((this->_variant == 0x66) + 1); do { local_38 = (this->_pos).x * 0.5 + *(float *)((int)this->_player + 0x33c) * 0.5; local_34 = *(float *)((int)this->_player + 0x340) * 0.5 + (this->_pos).y * 0.5; Room::FindFreePickupSpawnPosition(local_88,&local_38,0,0,0,0); - RVar23 = this->_dropRNG; - if (RVar23 == (RNG)0x0) { + uVar13 = (this->_dropRNG)._seed; + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar14 = (uint)RVar23 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar14 = uVar14 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar14; - RVar23 = (RNG)(uVar14 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar14); - this->_dropRNG = RVar23; - Game::Spawn(5,fVar26,local_88,&g_vectorZero,this,local_28,RVar23); + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar13; + uVar13 = uVar13 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar13; + (this->_dropRNG)._seed = uVar13; + Game::Spawn(5,fVar25,local_88,&g_vectorZero,this,local_28,uVar13); local_1c = (float)((int)local_1c + -1); } while (local_1c != 0.0); ExceptionList = local_10; @@ -285205,9 +285509,8 @@ void __thiscall Entity_Familiar::Update(Entity_Familiar *this) bool bVar34; float10 fVar35; Entity_Player *in_XMM0_Da; - RNG RVar36; + float fVar36; float fVar37; - float fVar38; undefined4 in_stack_fffffd0c; undefined4 in_stack_fffffd10; undefined4 in_stack_fffffd14; @@ -285216,7 +285519,7 @@ void __thiscall Entity_Familiar::Update(Entity_Familiar *this) undefined4 in_stack_fffffd20; char *in_stack_fffffd24; void *in_stack_fffffd28; - undefined4 uVar39; + undefined4 uVar38; byte addEnemyKillScore; int local_168; Vector local_160 [2]; @@ -285234,9 +285537,6 @@ void __thiscall Entity_Familiar::Update(Entity_Familiar *this) Entity_Familiar *local_114; EntityRef local_a4; RNG local_78; - char *pcStack_74; - undefined1 *puStack_70; - char *pcStack_6c; char local_68 [4]; char *local_64; undefined4 *local_60; @@ -285260,16 +285560,16 @@ void __thiscall Entity_Familiar::Update(Entity_Familiar *this) local_114 = this; pcVar22 = local_14 + 0x10; if (this->_variant != 900) { - fVar38 = 1.0; + fVar37 = 1.0; pcVar22 = local_14 + 0x10; if (this->_variant == 0xe7) { in_stack_fffffd28 = this->_extraData; in_stack_fffffd24 = (char *)0x61da92; __RTDynamicCast(); iVar5 = get_item_config_entry(this); - fVar38 = *(float *)(iVar5 + 0x78); + fVar37 = *(float *)(iVar5 + 0x78); pcVar22 = puStack_20; - if ((fVar38 == 1.0) && (piVar29 = this->_item, piVar29 != (int *)0x0)) { + if ((fVar37 == 1.0) && (piVar29 = this->_item, piVar29 != (int *)0x0)) { if ((*piVar29 == 2) && (piVar29[1] == 0xba)) { bVar4 = 3; } @@ -285277,16 +285577,16 @@ void __thiscall Entity_Familiar::Update(Entity_Familiar *this) bVar4 = (byte)piVar29[0x30]; } if (bVar4 < 5) { - fVar38 = *(float *)((int)(&(g_manager->_itemConfig)._wispGfxRoot + 1) + (uint)bVar4 * 4); + fVar37 = *(float *)((int)(&(g_manager->_itemConfig)._wispGfxRoot + 1) + (uint)bVar4 * 4); } else { - fVar38 = 1.0; + fVar37 = 1.0; } } } puStack_20 = pcVar22; - in_XMM0_Da = (Entity_Player *)(fVar38 * g_vectorOne.x); - (this->_sprite)._scale.y = fVar38 * g_vectorOne.y; + in_XMM0_Da = (Entity_Player *)(fVar37 * g_vectorOne.x); + (this->_sprite)._scale.y = fVar37 * g_vectorOne.y; (this->_sprite)._scale.x = (float)in_XMM0_Da; pcVar22 = puStack_20; } @@ -285297,9 +285597,9 @@ void __thiscall Entity_Familiar::Update(Entity_Familiar *this) if ((((iVar5 == 0x62) || (iVar5 == 99)) || (iVar5 == 0x65)) || ((iVar5 == 0x83 || (iVar5 == 0x6a)))) { in_XMM0_Da = *(Entity_Player **)((int)this->_player + 0x33c); - fVar38 = *(float *)((int)this->_player + 0x340); + fVar37 = *(float *)((int)this->_player + 0x340); (this->_pos).x = (float)in_XMM0_Da; - (this->_pos).y = fVar38; + (this->_pos).y = fVar37; } if (this->_orbitLayer == 0) { in_stack_fffffd24 = local_68; @@ -285967,17 +286267,17 @@ LAB_0061dea4: pEVar19 = (Entity_Tear *)Game::Spawn(); Entity_Projectile::set_falling_accel((Entity_Projectile *)pEVar19); random_float(); - fVar38 = -(float)pEVar32 * 25.0; + fVar37 = -(float)pEVar32 * 25.0; FUN_00444c70(); iVar5 = Isaac::Random(2); if (iVar5 == 0) { random_float(); - in_XMM0_Da = (Entity_Player *)(fVar38 * 0.05 + 0.9); + in_XMM0_Da = (Entity_Player *)(fVar37 * 0.05 + 0.9); Entity_Tear::SetScale(pEVar19,(float)in_XMM0_Da); } else { random_float(); - in_XMM0_Da = (Entity_Player *)(fVar38 * 0.05 + 1.3); + in_XMM0_Da = (Entity_Player *)(fVar37 * 0.05 + 1.3); Entity_Tear::SetScale(pEVar19,(float)in_XMM0_Da); } (**(code **)(*(int *)pEVar19 + 0x40))(); @@ -286362,7 +286662,7 @@ switchD_0061ddf2_caseD_70: if (iVar5 != 0) { do { std::vector::operator_index(); - uVar39 = 0x61e56c; + uVar38 = 0x61e56c; cVar3 = Entity::HasEntityFlags(); if (cVar3 == '\0') { puVar26 = (undefined4 *)std::vector::operator_index(); @@ -286422,7 +286722,7 @@ switchD_0061ddf2_caseD_70: else { puVar26 = (undefined4 *)std::vector::operator_index(); pEVar8 = (Entity *)*puVar26; - fVar38 = 8.990418e-39; + fVar37 = 8.990418e-39; EntityRef::constructor(&local_a4,(Entity *)this); bVar4 = 0; Color::Color(0x3f800000,0x28,0x28,0x28); @@ -286435,8 +286735,8 @@ switchD_0061ddf2_caseD_70: color._colorize[2] = (float)in_stack_fffffd24; color._colorize[3] = (float)in_stack_fffffd28; color._offset[0] = (float)pEVar20; - color._offset[1] = (float)uVar39; - color._offset[2] = fVar38; + color._offset[1] = (float)uVar38; + color._offset[2] = fVar37; Entity::AddSlowing(pEVar8,&local_a4,2,0.9,color,bVar4); LAB_0061e7b5: pEVar32 = local_118; @@ -286777,11 +287077,11 @@ LAB_00620f26: local_64 = "WalkDown"; local_60 = &DAT_00b1e020; local_5c = "WalkHori"; - pcStack_74 = "FlyDown"; - puStack_70 = &DAT_00b1ddc0; - pcStack_6c = "FlyHori"; + local_78._shift1 = 0xb1ddfc; + local_78._shift2 = (int)&DAT_00b1ddc0; + local_78._shift3 = 0xb63980; bVar4 = Entity::IsFlying(this->_player); - local_12c = (Entity_Player *)&pcStack_74; + local_12c = (Entity_Player *)&local_78._shift1; if (bVar4 == 0) { local_12c = (Entity_Player *)&local_64; } @@ -286937,10 +287237,10 @@ LAB_00620f26: } } fVar35 = (float10)Vector::GetAngleDegrees(); - fVar38 = this->_orbitAngleOffset; + fVar37 = this->_orbitAngleOffset; local_124 = (Entity_Player *)(float)fVar35; LerpAngleDeg(); - this->_orbitAngleOffset = fVar38; + this->_orbitAngleOffset = fVar37; Entity::Position(this->_player); Vector::FromAngle(); local_124 = (Entity_Player *)0x42480000; @@ -287296,15 +287596,15 @@ LAB_00621e31: Entity::SetParent((Entity *)pEVar19); Entity::SpawnerEntity((Entity *)pEVar32); Entity::SetSpawnerEntity((Entity *)pEVar19); - fVar38 = (float)(int)local_118; + fVar37 = (float)(int)local_118; if (local_134._3_1_ == '\0') { Entity::Velocity((Entity *)pEVar19); - in_XMM0_Da = (Entity_Player *)(30.0 - fVar38 * 20.0); + in_XMM0_Da = (Entity_Player *)(30.0 - fVar37 * 20.0); Vector::Rotated(); } else { Entity::Velocity((Entity *)pEVar19); - in_XMM0_Da = (Entity_Player *)(fVar38 * 90.0); + in_XMM0_Da = (Entity_Player *)(fVar37 * 90.0); Vector::FromAngle(); local_144 = (Entity_Player *)0x41200000; Vector::__mul(); @@ -287562,10 +287862,10 @@ LAB_006223ba: assert_lerp_range(); local_14c = pEVar32; fVar35 = (float10)Vector::GetAngleDegrees(); - fVar38 = this->_orbitAngleOffset; + fVar37 = this->_orbitAngleOffset; local_144 = (Entity_Player *)(float)fVar35; LerpAngleDeg(); - this->_orbitAngleOffset = fVar38; + this->_orbitAngleOffset = fVar37; Entity::Position(this->_player); Vector::FromAngle(); Vector::__mul(); @@ -287578,10 +287878,10 @@ LAB_006223ba: Entity::Position(this->_player); Vector::__sub(); fVar35 = (float10)Vector::GetAngleDegrees(); - fVar38 = (float)(fVar35 - (float10)90.0); - local_144 = (Entity_Player *)fVar38; + fVar37 = (float)(fVar35 - (float10)90.0); + local_144 = (Entity_Player *)fVar37; normalize_angle_degrees(); - local_144 = (Entity_Player *)fVar38; + local_144 = (Entity_Player *)fVar37; iVar5 = Sprite::GetLayer(); *(Entity_Player **)(iVar5 + 0x3c) = local_144; fVar35 = (float10)Sprite::Rotation((Sprite *)&this->_sprite); @@ -287629,9 +287929,9 @@ LAB_006223ba: iVar5 = Entity::FrameCount((Entity *)this); if (iVar5 < 0x28) { iVar5 = Entity::FrameCount((Entity *)this); - fVar38 = (float)(iVar5 + -10) / 30.0; + fVar37 = (float)(iVar5 + -10) / 30.0; Math::clamp(); - local_118 = (Entity_Player *)(1.0 / fVar38 + 4.0); + local_118 = (Entity_Player *)(1.0 / fVar37 + 4.0); } else { local_118 = (Entity_Player *)0x40a00000; @@ -287754,22 +288054,22 @@ LAB_00623343: Entity_Projectile::set_falling_accel((Entity_Projectile *)pEVar19); random_float(); FUN_00444c70(); - flags._l._4_4_ = pcStack_74; - flags._l._0_4_ = local_78; - flags._h._0_4_ = puStack_70; - flags._h._4_4_ = pcStack_6c; - RVar36 = local_78; + flags._l._4_4_ = local_78._shift1; + flags._l._0_4_ = local_78._seed; + flags._h._0_4_ = local_78._shift2; + flags._h._4_4_ = local_78._shift3; + fVar37 = (float)local_78._seed; Entity_Tear::SetTearFlags(pEVar19,flags); (**(code **)(*(int *)pEVar19 + 0x3c))(); iVar5 = Isaac::Random(2); if (iVar5 == 0) { random_float(); - Entity_Tear::SetScale(pEVar19,((float)RVar36 * 0.05 + 0.9) * 0.8); + Entity_Tear::SetScale(pEVar19,(fVar37 * 0.05 + 0.9) * 0.8); in_XMM0_Da = local_11c; } else { random_float(); - Entity_Tear::SetScale(pEVar19,((float)RVar36 * 0.05 + 1.3) * 0.8); + Entity_Tear::SetScale(pEVar19,(fVar37 * 0.05 + 1.3) * 0.8); in_XMM0_Da = (Entity_Player *)((float)local_11c * 1.5); } (**(code **)(*(int *)pEVar19 + 0x40))(); @@ -287780,18 +288080,18 @@ LAB_00623343: pEVar19 = (Entity_Tear *)Game::Spawn(); Entity_Projectile::set_falling_accel((Entity_Projectile *)pEVar19); random_float(); - fVar38 = -(float)pEVar32 * 25.0; + fVar37 = -(float)pEVar32 * 25.0; FUN_00444c70(); iVar5 = Isaac::Random(2); if (iVar5 == 0) { random_float(); - fVar38 = fVar38 * 0.05 + 0.9; + fVar37 = fVar37 * 0.05 + 0.9; } else { random_float(); - fVar38 = fVar38 * 0.05 + 1.3; + fVar37 = fVar37 * 0.05 + 1.3; } - in_XMM0_Da = (Entity_Player *)(fVar38 * 0.8); + in_XMM0_Da = (Entity_Player *)(fVar37 * 0.8); FUN_004508a0(); } (**(code **)(*(int *)pEVar19 + 0xc))(); @@ -287961,9 +288261,9 @@ LAB_00623343: iVar5 = Entity::FrameCount((Entity *)this); if (iVar5 < 0x28) { iVar5 = Entity::FrameCount((Entity *)this); - fVar38 = (float)(iVar5 + -10) / 30.0; + fVar37 = (float)(iVar5 + -10) / 30.0; Math::clamp(); - local_11c = (Entity_Player *)(1.0 / fVar38 + 4.0); + local_11c = (Entity_Player *)(1.0 / fVar37 + 4.0); } else { local_11c = (Entity_Player *)0x40a00000; @@ -287988,9 +288288,9 @@ LAB_00623343: Config::GetPillEffects(); cVar3 = AnimationState::IsLoopingAnimation(); if (cVar3 != '\0') { - fVar38 = this->_updateTime; + fVar37 = this->_updateTime; assert_lerp_range(); - in_XMM0_Da = (Entity_Player *)(fVar38 * this->_friction); + in_XMM0_Da = (Entity_Player *)(fVar37 * this->_friction); this->_friction = (float)in_XMM0_Da; } break; @@ -288103,20 +288403,20 @@ LAB_00623343: break; case 0xf3: if (this->_state < 1) { - fVar38 = (this->_targetPosition).x; - if ((0.0 <= fVar38) && + fVar37 = (this->_targetPosition).x; + if ((0.0 <= fVar37) && (pfVar21 = &(this->_targetPosition).y, 0.0 < *pfVar21 || *pfVar21 == 0.0)) goto LAB_0061fc21; fVar2 = (this->_targetPosition).y; - fVar37 = this->_speedMultiplier * 1.2 + fVar2; - fVar38 = this->_speedMultiplier * fVar2 + fVar38; - (this->_targetPosition).x = fVar38; - (this->_targetPosition).y = fVar37; - if ((fVar37 < 0.0) || (iVar5 = 5, fVar37 < -26.0)) { + fVar36 = this->_speedMultiplier * 1.2 + fVar2; + fVar37 = this->_speedMultiplier * fVar2 + fVar37; + (this->_targetPosition).x = fVar37; + (this->_targetPosition).y = fVar36; + if ((fVar36 < 0.0) || (iVar5 = 5, fVar36 < -26.0)) { iVar5 = 3; } this->_entityGridCollisionClass = iVar5; - if (0.0 < fVar38) { + if (0.0 < fVar37) { (this->_targetPosition).x = 0.0; (this->_targetPosition).y = 0.0; Entity::ClearEntityFlags(); @@ -288276,13 +288576,13 @@ LAB_0062442e: iVar5 = Room::GetGridEntityFromPos(pRVar25); if (((iVar5 != 0) && (iVar5 = GridEntity::GetType(), iVar5 == 0x13)) || ((local_114->_variant == 0x4b || (local_114->_variant == 900)))) { - fVar38 = (local_114->_velocity).y; + fVar37 = (local_114->_velocity).y; if (local_114->_variant == 900) { - (local_114->_velocity).y = fVar38 + 0.8; + (local_114->_velocity).y = fVar37 + 0.8; } else { pVVar12 = &local_114->_velocity; - (local_114->_velocity).y = fVar38 * 0.5; + (local_114->_velocity).y = fVar37 * 0.5; if (pVVar12->x <= 0.0) { if (pVVar12->x < 0.0) { fVar35 = (float10)Vector::Length(); @@ -288926,7 +289226,7 @@ LAB_0062578c: iVar8 = *(int *)((int)local_d0 + 0x24); if (iVar8 != *(int *)((int)local_d0 + 0x28)) { do { - FUN_0064b6c0(iVar8,local_f8); + render_abyss_locust_sprite(iVar8,local_f8); iVar8 = iVar8 + 0x114; } while (iVar8 != *(int *)((int)local_d0 + 0x28)); } @@ -288934,7 +289234,7 @@ LAB_0062578c: iVar8 = *(int *)((int)local_d0 + 0x30); if (iVar8 != *(int *)((int)local_d0 + 0x34)) { do { - FUN_0064b6c0(iVar8,local_f8); + render_abyss_locust_sprite(iVar8,local_f8); iVar8 = iVar8 + 0x114; } while (iVar8 != *(int *)((int)local_d0 + 0x34)); } @@ -288968,7 +289268,7 @@ LAB_0062578c: iStack_24 = 0; fStack_e8 = (this->_renderPosition).x + *(float *)(iVar8 + 0x10); local_e4 = *(float *)(iVar8 + 0x14) + (this->_renderPosition).y; - FUN_0099a300(this->_subtype,&fStack_e8,&local_40,&fStack_cc,&uStack_13c); + GameOver::render_collectible_icon(this->_subtype,&fStack_e8,&local_40,&fStack_cc,&uStack_13c); } break; case 0xf0: @@ -289061,7 +289361,7 @@ Entity_Familiar::HandleCollision(Entity_Familiar *this,EntityPtr param_2,char pa float in_stack_fffffd9c; undefined *in_stack_fffffda0; undefined4 in_stack_fffffda4; - undefined1 *in_stack_fffffda8; + EntityRef *in_stack_fffffda8; void *in_stack_fffffdac; undefined *in_stack_fffffdb0; EntityRef *ref; @@ -289081,10 +289381,7 @@ Entity_Familiar::HandleCollision(Entity_Familiar *this,EntityPtr param_2,char pa char cStack_135; float fStack_134; float fStack_130; - undefined1 auStack_12c [28]; - float fStack_110; - uint uStack_10c; - Entity_Familiar *pEStack_108; + EntityRef EStack_12c; float fStack_104; int iStack_100; float fStack_fc; @@ -289225,17 +289522,17 @@ LAB_006266d3: ((cVar7 = Entity::IsVulnerableEnemy((Entity *)param_2), cVar7 != '\0' && (cVar7 = Entity::IsDescendantOf((Entity *)this), cVar7 == '\0')))))) { uVar10 = Random(); - pEStack_108 = this; + EStack_12c._entity = this; switch(uVar10 & 7) { case 0: - auStack_12c._0_4_ = this->_type; - auStack_12c._16_4_ = (this->_pos).x; - auStack_12c._20_4_ = (this->_pos).y; - auStack_12c._4_4_ = this->_variant; - auStack_12c._8_4_ = this->_spawnerType; - auStack_12c._12_4_ = this->_spawnerVariant; - auStack_12c._24_4_ = (this->_velocity).x; - fStack_110 = (this->_velocity).y; + EStack_12c._type = this->_type; + EStack_12c._position.x = (this->_pos).x; + EStack_12c._position.y = (this->_pos).y; + EStack_12c._variant = this->_variant; + EStack_12c._spawnerType = this->_spawnerType; + EStack_12c._spawnerVariant = this->_spawnerVariant; + EStack_12c._velocity.x = (this->_velocity).x; + EStack_12c._velocity.y = (this->_velocity).y; pvStack_bc = (void *)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar10 = 0; @@ -289249,9 +289546,9 @@ LAB_006266d3: else { uVar11 = 4; } - uStack_10c = uVar11 | uVar10 | (uint)pvStack_bc; + EStack_12c._flags = uVar11 | uVar10 | (uint)pvStack_bc; in_stack_fffffda4 = 0; - in_stack_fffffda8 = (undefined1 *)0x0; + in_stack_fffffda8 = (EntityRef *)0x0; in_stack_fffffdac = (void *)0x0; in_stack_fffffdb0 = (undefined *)0x0; in_stack_fffffd94 = 0x3f800000; @@ -289271,17 +289568,17 @@ LAB_006266d3: color._colorize[3] = (float)auVar2._28_4_; color._offset[1] = 0.15686275; color._offset[2] = 0.15686275; - Entity::AddSlowing((Entity *)param_2,(EntityRef *)auStack_12c,0x3c,0.9,color,0); + Entity::AddSlowing((Entity *)param_2,&EStack_12c,0x3c,0.9,color,0); break; case 1: - auStack_12c._0_4_ = this->_type; - auStack_12c._16_4_ = (this->_pos).x; - auStack_12c._20_4_ = (this->_pos).y; - auStack_12c._4_4_ = this->_variant; - auStack_12c._8_4_ = this->_spawnerType; - auStack_12c._12_4_ = this->_spawnerVariant; - auStack_12c._24_4_ = (this->_velocity).x; - fStack_110 = (this->_velocity).y; + EStack_12c._type = this->_type; + EStack_12c._position.x = (this->_pos).x; + EStack_12c._position.y = (this->_pos).y; + EStack_12c._variant = this->_variant; + EStack_12c._spawnerType = this->_spawnerType; + EStack_12c._spawnerVariant = this->_spawnerVariant; + EStack_12c._velocity.x = (this->_velocity).x; + EStack_12c._velocity.y = (this->_velocity).y; pvStack_bc = (void *)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar10 = 0; @@ -289295,20 +289592,20 @@ LAB_006266d3: else { uVar11 = 4; } - uStack_10c = uVar11 | uVar10 | (uint)pvStack_bc; - ref = (EntityRef *)auStack_12c; + EStack_12c._flags = uVar11 | uVar10 | (uint)pvStack_bc; + ref = &EStack_12c; in_stack_fffffdb0 = &UNK_00626954; Entity::AddPoison((Entity *)param_2,ref,0x28,0.0,0); break; case 2: - auStack_12c._0_4_ = this->_type; - auStack_12c._16_4_ = (this->_pos).x; - auStack_12c._20_4_ = (this->_pos).y; - auStack_12c._4_4_ = this->_variant; - auStack_12c._8_4_ = this->_spawnerType; - auStack_12c._12_4_ = this->_spawnerVariant; - auStack_12c._24_4_ = (this->_velocity).x; - fStack_110 = (this->_velocity).y; + EStack_12c._type = this->_type; + EStack_12c._position.x = (this->_pos).x; + EStack_12c._position.y = (this->_pos).y; + EStack_12c._variant = this->_variant; + EStack_12c._spawnerType = this->_spawnerType; + EStack_12c._spawnerVariant = this->_spawnerVariant; + EStack_12c._velocity.x = (this->_velocity).x; + EStack_12c._velocity.y = (this->_velocity).y; pvStack_bc = (void *)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar10 = 0; @@ -289322,19 +289619,19 @@ LAB_006266d3: else { uVar11 = 4; } - uStack_10c = uVar11 | uVar10 | (uint)pvStack_bc; + EStack_12c._flags = uVar11 | uVar10 | (uint)pvStack_bc; ref = (EntityRef *)&UNK_00626a38; - Entity::AddFreeze((Entity *)param_2,(EntityRef *)auStack_12c,0x32,0); + Entity::AddFreeze((Entity *)param_2,&EStack_12c,0x32,0); break; case 3: - auStack_12c._0_4_ = this->_type; - auStack_12c._16_4_ = (this->_pos).x; - auStack_12c._20_4_ = (this->_pos).y; - auStack_12c._4_4_ = this->_variant; - auStack_12c._8_4_ = this->_spawnerType; - auStack_12c._12_4_ = this->_spawnerVariant; - auStack_12c._24_4_ = (this->_velocity).x; - fStack_110 = (this->_velocity).y; + EStack_12c._type = this->_type; + EStack_12c._position.x = (this->_pos).x; + EStack_12c._position.y = (this->_pos).y; + EStack_12c._variant = this->_variant; + EStack_12c._spawnerType = this->_spawnerType; + EStack_12c._spawnerVariant = this->_spawnerVariant; + EStack_12c._velocity.x = (this->_velocity).x; + EStack_12c._velocity.y = (this->_velocity).y; pvStack_bc = (void *)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar10 = 0; @@ -289348,22 +289645,22 @@ LAB_006266d3: else { uVar11 = 4; } - uStack_10c = uVar11 | uVar10 | (uint)pvStack_bc; - ref = (EntityRef *)auStack_12c; + EStack_12c._flags = uVar11 | uVar10 | (uint)pvStack_bc; + ref = &EStack_12c; in_stack_fffffdb0 = &UNK_00626b21; Entity::AddCharmed((Entity *)param_2,ref,0x96,0,0); break; case 4: uVar10 = Random(); - auStack_12c._16_4_ = (this->_pos).x; - auStack_12c._20_4_ = (this->_pos).y; - auStack_12c._24_4_ = (this->_velocity).x; - fStack_110 = (this->_velocity).y; + EStack_12c._position.x = (this->_pos).x; + EStack_12c._position.y = (this->_pos).y; + EStack_12c._velocity.x = (this->_velocity).x; + EStack_12c._velocity.y = (this->_velocity).y; pEStack_c8 = (Entity_Player *)(uVar10 % 0x1e + 0x96); - auStack_12c._0_4_ = this->_type; - auStack_12c._4_4_ = this->_variant; - auStack_12c._8_4_ = this->_spawnerType; - auStack_12c._12_4_ = this->_spawnerVariant; + EStack_12c._type = this->_type; + EStack_12c._variant = this->_variant; + EStack_12c._spawnerType = this->_spawnerType; + EStack_12c._spawnerVariant = this->_spawnerVariant; pvStack_bc = (void *)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar10 = 0; @@ -289377,19 +289674,19 @@ LAB_006266d3: else { uVar11 = 4; } - uStack_10c = uVar11 | uVar10 | (uint)pvStack_bc; + EStack_12c._flags = uVar11 | uVar10 | (uint)pvStack_bc; ref = (EntityRef *)&UNK_00626c23; - Entity::AddConfusion((Entity *)param_2,(EntityRef *)auStack_12c,(int)pEStack_c8,0); + Entity::AddConfusion((Entity *)param_2,&EStack_12c,(int)pEStack_c8,0); break; case 5: - auStack_12c._0_4_ = this->_type; - auStack_12c._16_4_ = (this->_pos).x; - auStack_12c._20_4_ = (this->_pos).y; - auStack_12c._4_4_ = this->_variant; - auStack_12c._8_4_ = this->_spawnerType; - auStack_12c._12_4_ = this->_spawnerVariant; - auStack_12c._24_4_ = (this->_velocity).x; - fStack_110 = (this->_velocity).y; + EStack_12c._type = this->_type; + EStack_12c._position.x = (this->_pos).x; + EStack_12c._position.y = (this->_pos).y; + EStack_12c._variant = this->_variant; + EStack_12c._spawnerType = this->_spawnerType; + EStack_12c._spawnerVariant = this->_spawnerVariant; + EStack_12c._velocity.x = (this->_velocity).x; + EStack_12c._velocity.y = (this->_velocity).y; pvStack_bc = (void *)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar10 = 0; @@ -289403,19 +289700,19 @@ LAB_006266d3: else { uVar11 = 4; } - uStack_10c = uVar11 | uVar10 | (uint)pvStack_bc; + EStack_12c._flags = uVar11 | uVar10 | (uint)pvStack_bc; ref = (EntityRef *)&UNK_00626d0a; - Entity::AddFear((Entity *)param_2,(EntityRef *)auStack_12c,-0x96,0); + Entity::AddFear((Entity *)param_2,&EStack_12c,-0x96,0); break; case 6: - auStack_12c._0_4_ = this->_type; - auStack_12c._16_4_ = (this->_pos).x; - auStack_12c._20_4_ = (this->_pos).y; - auStack_12c._4_4_ = this->_variant; - auStack_12c._8_4_ = this->_spawnerType; - auStack_12c._12_4_ = this->_spawnerVariant; - auStack_12c._24_4_ = (this->_velocity).x; - fStack_110 = (this->_velocity).y; + EStack_12c._type = this->_type; + EStack_12c._position.x = (this->_pos).x; + EStack_12c._position.y = (this->_pos).y; + EStack_12c._variant = this->_variant; + EStack_12c._spawnerType = this->_spawnerType; + EStack_12c._spawnerVariant = this->_spawnerVariant; + EStack_12c._velocity.x = (this->_velocity).x; + EStack_12c._velocity.y = (this->_velocity).y; pvStack_bc = (void *)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar10 = 0; @@ -289429,20 +289726,20 @@ LAB_006266d3: else { uVar11 = 4; } - uStack_10c = uVar11 | uVar10 | (uint)pvStack_bc; - ref = (EntityRef *)auStack_12c; + EStack_12c._flags = uVar11 | uVar10 | (uint)pvStack_bc; + ref = &EStack_12c; in_stack_fffffdb0 = &UNK_00626df6; Entity::AddBurn((Entity *)param_2,ref,0x28,0.0,0); break; case 7: - auStack_12c._0_4_ = this->_type; - auStack_12c._16_4_ = (this->_pos).x; - auStack_12c._20_4_ = (this->_pos).y; - auStack_12c._4_4_ = this->_variant; - auStack_12c._8_4_ = this->_spawnerType; - auStack_12c._12_4_ = this->_spawnerVariant; - auStack_12c._24_4_ = (this->_velocity).x; - fStack_110 = (this->_velocity).y; + EStack_12c._type = this->_type; + EStack_12c._position.x = (this->_pos).x; + EStack_12c._position.y = (this->_pos).y; + EStack_12c._variant = this->_variant; + EStack_12c._spawnerType = this->_spawnerType; + EStack_12c._spawnerVariant = this->_spawnerVariant; + EStack_12c._velocity.x = (this->_velocity).x; + EStack_12c._velocity.y = (this->_velocity).y; pvStack_bc = (void *)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar10 = 0; @@ -289456,8 +289753,8 @@ LAB_006266d3: else { uVar11 = 4; } - uStack_10c = uVar11 | uVar10 | (uint)pvStack_bc; - ref = (EntityRef *)auStack_12c; + EStack_12c._flags = uVar11 | uVar10 | (uint)pvStack_bc; + ref = &EStack_12c; in_stack_fffffdb0 = &UNK_00626edf; Entity::AddShrink((Entity *)param_2,ref,-0x96,0,0); } @@ -289525,7 +289822,7 @@ LAB_006266d3: seed_fart_sound_override(); ref = (EntityRef *)0x2; in_stack_fffffdb0 = (undefined *)0x3f800000; - in_stack_fffffda8 = (undefined1 *)0x6266ca; + in_stack_fffffda8 = (EntityRef *)0x6266ca; in_stack_fffffdac = pvStack_bc; SoundEffects::Play(&pMVar5->_sfxManager,(int)pvStack_bc,1.0,2,0,1.0,0.0); param_2 = EStack_c4; @@ -289556,7 +289853,7 @@ LAB_006266d3: in_stack_fffffdac = (void *)uVar37; ref = (EntityRef *)0x1; in_stack_fffffdb0 = (undefined *)0x1e; - in_stack_fffffda8 = (undefined1 *)0x627031; + in_stack_fffffda8 = (EntityRef *)0x627031; (*(code *)((ulonglong)uVar37 >> 0x20))(); } EVar26 = EStack_c4; @@ -289592,8 +289889,8 @@ LAB_006266d3: ref = (EntityRef *)&DAT_00000004; Entity_Player::GetTearHitParams(); pcVar30 = *(code **)(*(int *)EStack_c4 + 0x20); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); - in_stack_fffffda8 = auStack_12c; + EntityRef::constructor(&EStack_12c,(Entity *)this); + in_stack_fffffda8 = &EStack_12c; in_stack_fffffdac = (void *)0x1e; in_stack_fffffda4 = 0; in_stack_fffffda0 = (undefined *)0x0; @@ -289610,7 +289907,7 @@ LAB_006266d3: (((this->_subtype == 0 && (this->_fireCooldown < 0)) && ((iVar9 = *piStack_cc, iVar9 == 0x21 || ((iVar9 == 0x124 || (iVar9 == 0xf5)))))))) { pcVar30 = *(code **)(*(int *)EVar26 + 0x20); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); + EntityRef::constructor(&EStack_12c,(Entity *)this); ref = (EntityRef *)0x0; in_stack_fffffdb0 = (undefined *)0x40600000; in_stack_fffffdac = (void *)0x627256; @@ -289626,7 +289923,7 @@ LAB_006266d3: if ((((this->_variant == 0xce) && (this->_subtype == 0x82)) && (this->_fireCooldown < 0)) && (((iVar9 = *piStack_cc, iVar9 == 0x21 || (iVar9 == 0x124)) || (iVar9 == 0xf5)))) { pcVar30 = *(code **)(*(int *)EStack_c4 + 0x20); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); + EntityRef::constructor(&EStack_12c,(Entity *)this); ref = (EntityRef *)0x0; in_stack_fffffdb0 = (undefined *)0x40600000; in_stack_fffffdac = (void *)0x62731c; @@ -289661,8 +289958,8 @@ LAB_006266d3: } cVar7 = Entity::IsDescendantOf((Entity *)EVar26); if (cVar7 == '\0') { - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); - Entity::AddCharmed((Entity *)EVar26,(EntityRef *)auStack_12c,0x96,0,0); + EntityRef::constructor(&EStack_12c,(Entity *)this); + Entity::AddCharmed((Entity *)EVar26,&EStack_12c,0x96,0,0); SoundEffects::PlayWithFartOverride(); ExceptionList = pvStack_1c; return 1; @@ -289725,8 +290022,8 @@ LAB_006266d3: uVar17 = *(undefined4 *)((int)&pEVar15->_flags + 4); *(uint *)&pEVar15->_flags = (uint)pEVar15->_flags & 0xfffffffb; *(undefined4 *)((int)&pEVar15->_flags + 4) = uVar17; - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); - Entity::AddCharmed((Entity *)pEVar15,(EntityRef *)auStack_12c,-1,0,0); + EntityRef::constructor(&EStack_12c,(Entity *)this); + Entity::AddCharmed((Entity *)pEVar15,&EStack_12c,-1,0,0); Entity_NPC::TryForceTarget(pEVar15,(Entity *)EStack_c4,0x5a); pEVar15->_canShutDoors = 0; Color::Color(); @@ -289770,7 +290067,7 @@ LAB_006266d3: } pcVar30 = *(code **)(*(int *)EVar26 + 0x20); in_stack_fffffdb0 = (undefined *)(this->_collisionDamage * 1.5 + 6.0); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); + EntityRef::constructor(&EStack_12c,(Entity *)this); ref = (EntityRef *)0x0; in_stack_fffffdac = (void *)0x627933; (*pcVar30)(); @@ -289798,8 +290095,8 @@ LAB_006266d3: if ((cVar7 == '\0') && (uVar10 = Random(), uVar10 % 3 == 0)) { *(int *)((int)EVar26 + 0x238) = 0; Entity::CopyStatusEffects((Entity *)EVar26); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); - Entity::AddMidasFreeze((Entity *)EVar26,(EntityRef *)auStack_12c,0x78,0); + EntityRef::constructor(&EStack_12c,(Entity *)this); + Entity::AddMidasFreeze((Entity *)EVar26,&EStack_12c,0x78,0); } break; case 4: @@ -289807,8 +290104,8 @@ LAB_006266d3: if ((cVar7 == '\0') && (uVar10 = Random(), uVar10 % 3 == 0)) { *(int *)((int)EVar26 + 0x238) = 0; Entity::CopyStatusEffects((Entity *)EVar26); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); - Entity::AddCharmed((Entity *)EVar26,(EntityRef *)auStack_12c,0x78,0,0); + EntityRef::constructor(&EStack_12c,(Entity *)this); + Entity::AddCharmed((Entity *)EVar26,&EStack_12c,0x78,0,0); } break; case 5: @@ -289818,7 +290115,7 @@ LAB_006266d3: *(int *)((int)EVar26 + 0x238) = 0; Entity::CopyStatusEffects((Entity *)EVar26); fVar31 = 9.043973e-39; - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); + EntityRef::constructor(&EStack_12c,(Entity *)this); bVar8 = 0; Color::Color(0x3f800000); color_00._tint[1] = (float)in_stack_fffffd98; @@ -289832,7 +290129,7 @@ LAB_006266d3: color_00._offset[0] = (float)ref; color_00._offset[1] = (float)uVar17; color_00._offset[2] = fVar31; - Entity::AddSlowing((Entity *)EVar26,(EntityRef *)auStack_12c,0x78,0.9,color_00,bVar8); + Entity::AddSlowing((Entity *)EVar26,&EStack_12c,0x78,0.9,color_00,bVar8); } break; case 0xd: @@ -289842,8 +290139,8 @@ LAB_006266d3: if (cVar7 == '\0') { *(int *)((int)EVar26 + 0x238) = 0; Entity::CopyStatusEffects((Entity *)EVar26); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); - Entity::AddBurn((Entity *)EVar26,(EntityRef *)auStack_12c,0x78,3.5,0); + EntityRef::constructor(&EStack_12c,(Entity *)this); + Entity::AddBurn((Entity *)EVar26,&EStack_12c,0x78,3.5,0); } } fVar31 = this->_collisionDamage; @@ -289855,7 +290152,7 @@ LAB_006266d3: EVar29 = EVar26; if (this->_damageCountdown < 1) { pcVar30 = *(code **)(*(int *)EVar26 + 0x20); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); + EntityRef::constructor(&EStack_12c,(Entity *)this); (*pcVar30)(); EVar29 = EStack_c4; } @@ -289876,7 +290173,7 @@ LAB_00627cf6: } if (this->_damageCountdown < 1) { pcVar30 = *(code **)(*(int *)this + 0x20); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)EStack_c4); + EntityRef::constructor(&EStack_12c,(Entity *)EStack_c4); (*pcVar30)(); ExceptionList = pvStack_1c; return 1; @@ -289887,7 +290184,7 @@ LAB_00627cf6: if ((iVar9 == 0xd8) || (iVar9 == 0xd9)) { if (this->_damageCountdown < 1) { pcVar30 = *(code **)(*(int *)EVar26 + 0x20); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); + EntityRef::constructor(&EStack_12c,(Entity *)this); (*pcVar30)(); EVar26 = EStack_c4; } @@ -289909,7 +290206,7 @@ LAB_00627cf6: (bVar8 = Entity_Player::HasInvincibility(this->_player,0,(EntityRef *)0x0), bVar8 == 0)) && (this->_isInvicible == 0)) { pEStack_c8 = *(Entity_Player **)(*(int *)this + 0x20); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)EVar26); + EntityRef::constructor(&EStack_12c,(Entity *)EVar26); (*(code *)pEStack_c8)(); } pEStack_c8 = (Entity_Player *)&this->_hitList; @@ -289942,7 +290239,7 @@ LAB_00627ec1: } LAB_00627f86: pcVar30 = *(code **)(*(int *)EVar26 + 0x20); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); + EntityRef::constructor(&EStack_12c,(Entity *)this); (*pcVar30)(); FUN_00431620(); ExceptionList = pvStack_1c; @@ -289950,7 +290247,7 @@ LAB_00627f86: } if ((0.0 < *(float *)((int)EVar26 + 0x388)) && (this->_damageCountdown < 1)) { pcVar30 = *(code **)(*(int *)this + 0x20); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)EStack_c4); + EntityRef::constructor(&EStack_12c,(Entity *)EStack_c4); (*pcVar30)(); EVar26 = EStack_c4; VStack_e0.y = (this->_pos).y - *(float *)((int)EStack_c4 + 0x340); @@ -290261,10 +290558,10 @@ LAB_0062892d: in_stack_fffffda4 = 0x628b8a; get_tear_flags_from_player(); pcVar30 = *(code **)(*(int *)EStack_c4 + 0x20); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); + EntityRef::constructor(&EStack_12c,(Entity *)this); (*pcVar30)(); EVar26 = EStack_c4; - in_stack_fffffda8 = (undefined1 *)0x628c02; + in_stack_fffffda8 = (EntityRef *)0x628c02; fVar31 = fStack_f8; Entity_Tear::ApplyTearFlagEffects((Entity_Tear *)EStack_c4); apply_tear_flag_effects(this); @@ -290435,7 +290732,7 @@ LAB_006290bc: } if (((this->_variant != 0x2b) && (this->_variant != 0x49)) || (bVar3)) { pcVar30 = *(code **)(*(int *)EVar26 + 0x20); - EntityRef::constructor((EntityRef *)auStack_12c,(Entity *)this); + EntityRef::constructor(&EStack_12c,(Entity *)this); fVar31 = fStack_c0 * fStack_fc; uVar41 = 0; uVar39 = 0; @@ -291033,7 +291330,7 @@ uint __thiscall Entity_Familiar::AddCoins(Entity_Familiar *this,int param_2) uint uVar2; int iVar3; uint uVar4; - RNG RVar5; + uint uVar5; uVar2 = this->_variant; iVar3 = this->_coins + param_2; @@ -291051,30 +291348,30 @@ uint __thiscall Entity_Familiar::AddCoins(Entity_Familiar *this,int param_2) if ((((uVar2 != 0xf1) && (uVar2 == 0x58)) && (this->_state == 3)) && (0 < param_2)) { do { bVar1 = Entity_Player::HasCollectible(this->_player,0xf7,0); - RVar5 = this->_dropRNG; + uVar2 = (this->_dropRNG)._seed; if (bVar1 == 0) { - if (RVar5 == (RNG)0x0) { + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar5; - uVar2 = uVar2 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar2; - RVar5 = (RNG)(uVar2 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar2); - uVar2 = (uint)RVar5 / 5; - uVar4 = (uint)RVar5 % 5; + uVar2 = uVar2 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar2; + uVar2 = uVar2 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar2; + uVar4 = uVar2 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar2; + uVar2 = uVar4 / 5; + uVar5 = uVar4 % 5; } else { - if (RVar5 == (RNG)0x0) { + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar2 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar2; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar4); - uVar4 = (uint)RVar5 & 3; + uVar2 = uVar2 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar2; + uVar4 = uVar2 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar2; + uVar4 = uVar4 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar4; + uVar5 = uVar4 & 3; } - this->_dropRNG = RVar5; - if (uVar4 == 0) { + (this->_dropRNG)._seed = uVar4; + if (uVar5 == 0) { this->_counter = this->_counter + 1; } param_2 = param_2 + -1; @@ -291116,8 +291413,6 @@ void __thiscall Entity_Familiar::TriggerRoomClear(Entity_Familiar *this) int iVar8; float fVar9; RNG local_28; - undefined8 local_24; - undefined4 local_1c; undefined1 local_18 [8]; float local_10; undefined1 local_c [4]; @@ -291375,9 +291670,10 @@ LAB_0062acdf: iVar7 = ItemPool::GetCardEx(uVar6,0,-1,0,1); } Room::FindFreePickupSpawnPosition(local_c,&this->_pos,0,0,0,0); - local_28 = (RNG)RNG::Next(&this->_dropRNG); - local_24 = 0x1100000005; - local_1c = 0xd; + local_28._seed = RNG::Next(&this->_dropRNG); + local_28._shift1 = 5; + local_28._shift2 = 0x11; + local_28._shift3 = 0xd; uVar6 = RNG::Next(&local_28); Game::Spawn(5,iVar8,local_c,&g_vectorZero,this,iVar7,uVar6); bVar3 = ANM2::SetAnimation(&this->_sprite,s_Spawn,1); @@ -291435,42 +291731,41 @@ LAB_0062ae77: TemporaryEffects::RemoveEffect of collectible 0x1b4 item, variant 0x2a halves +0x30, 0x77/0x18 cases */ -void Entity_Familiar::level_start(void) +void __thiscall Entity_Familiar::level_start(Entity_Familiar *this) { float fVar1; - int iVar2; - byte *pbVar3; - void *pvVar4; + byte *pbVar2; + void *pvVar3; + EntityPtr EVar4; byte bVar5; byte *pbVar6; uint uVar7; int iVar8; - int *piVar9; - int *in_ECX; + float *pfVar9; byte *pbVar10; int extraout_ECX; bool bVar11; int local_18 [3]; undefined4 local_c; - if (in_ECX[0xb] != 100) goto LAB_0062b462; - in_ECX[0xc] = 0; - *(undefined1 *)((int)in_ECX + 0x171) = 1; - in_ECX[0x57] = *(int *)(in_ECX[0xcc] + 0x24); - pbVar3 = (byte *)in_ECX[0x1f]; - if (pbVar3 == (byte *)0x0) { + if (this->_variant != 100) goto LAB_0062b462; + this->_subtype = 0; + this->_visible = 1; + this->_shadowSize = *(float *)((int)this->_config + 0x24); + pbVar2 = (this->_sprite)._animState._animData; + if (pbVar2 == (byte *)0x0) { LAB_0062b3e6: - bVar5 = ANM2::SetAnimation((ANM2 *)(in_ECX + 0x12),s_Idle,1); + bVar5 = ANM2::SetAnimation(&this->_sprite,s_Idle,1); if (bVar5 != 0) { - AnimationState::Rewind((AnimationState *)(in_ECX + 0x1e)); - *(undefined1 *)(in_ECX + 0x23) = 1; + AnimationState::Rewind(&(this->_sprite)._animState); + (this->_sprite)._animState._isPlaying = 1; } } else { - pbVar6 = pbVar3; - if (0xf < *(uint *)(pbVar3 + 0x14)) { - pbVar6 = *(byte **)pbVar3; + pbVar6 = pbVar2; + if (0xf < *(uint *)(pbVar2 + 0x14)) { + pbVar6 = *(byte **)pbVar2; } pbVar10 = s_Idle; do { @@ -291490,63 +291785,64 @@ LAB_0062b3d0: } while (bVar5 != 0); uVar7 = 0; LAB_0062b3d5: - if ((uVar7 != 0) || ((pbVar3[0x34] != 0 && ((char)in_ECX[0x23] == '\0')))) goto LAB_0062b3e6; + if ((uVar7 != 0) || ((pbVar2[0x34] != 0 && ((this->_sprite)._animState._isPlaying == 0)))) + goto LAB_0062b3e6; } - pvVar4 = (g_manager->_itemConfig)._collectibles._begin; - if ((0x6d0 < (int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar4 & 0xfffffffcU)) - && (iVar8 = *(int *)((int)pvVar4 + 0x6d0), iVar8 != 0)) { + pvVar3 = (g_manager->_itemConfig)._collectibles._begin; + if ((0x6d0 < (int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar3 & 0xfffffffcU)) + && (iVar8 = *(int *)((int)pvVar3 + 0x6d0), iVar8 != 0)) { local_18[2] = *(undefined4 *)(iVar8 + 0x78); local_18[1] = 0; local_c = 0; local_18[0] = iVar8; - TemporaryEffects::RemoveEffect((TemporaryEffects *)(in_ECX[0x104] + 0x1508),local_18,1); + TemporaryEffects::RemoveEffect((TemporaryEffects *)((int)this->_player + 0x1508),local_18,1); } LAB_0062b462: - iVar8 = in_ECX[0xb]; + iVar8 = this->_variant; if (iVar8 == 0x2a) { - in_ECX[0xc] = (uint)in_ECX[0xc] >> 1; + this->_subtype = (uint)this->_subtype >> 1; } else if ((iVar8 == 0x77) || (iVar8 == 0x18)) { - in_ECX[0xc] = 0; + this->_subtype = 0; } else if (iVar8 == 0xcb) { if (g_game->_isStartingFromState == 0) { - in_ECX[0x360] = 0; - iVar8 = Entity_Player::GetHealthType((Entity_Player *)in_ECX[0x104]); + this->_hearts = 0; + iVar8 = Entity_Player::GetHealthType(this->_player); if ((int)(2 - (uint)(iVar8 != 3)) < *(int *)(extraout_ECX + 0x1344)) { - in_ECX[0x362] = 4; - iVar8 = *(int *)(extraout_ECX + 0x340); - in_ECX[0xcf] = *(int *)(extraout_ECX + 0x33c); - in_ECX[0xd0] = iVar8; + this->_state = 4; + fVar1 = *(float *)(extraout_ECX + 0x340); + (this->_pos).x = *(float *)(extraout_ECX + 0x33c); + (this->_pos).y = fVar1; } } FUN_00640050(); } else if (iVar8 == 0xdd) { - paschal_candle_sync_effects(); + paschal_candle_sync_effects(this); } else if (iVar8 == 0xd3) { if (g_game->_isStartingFromState == 0) { - if (in_ECX[0x362] == 4) { - *(undefined1 *)((int)in_ECX + 0x171) = 1; + if (this->_state == 4) { + this->_visible = 1; iVar8 = 1; } else { iVar8 = 2; } - in_ECX[0x362] = iVar8; - fVar1 = *(float *)(in_ECX[0x104] + 0x340); - in_ECX[0xcf] = (int)(*(float *)(in_ECX[0x104] + 0x33c) + 0.0); - in_ECX[0xd0] = (int)(fVar1 + 48.0); + this->_state = iVar8; + fVar1 = *(float *)((int)this->_player + 0x340); + (this->_pos).x = *(float *)((int)this->_player + 0x33c) + 0.0; + (this->_pos).y = fVar1 + 48.0; return; } } else if (iVar8 == 0xce) { - if (in_ECX[0xc] == 0x2be) { - (**(code **)(*in_ECX + 0x28))(); + if (this->_subtype == 0x2be) { + (**(code **)(*(int *)this + 0x28))(); } - else if ((in_ECX[0xc] == 0x7f) && (5 < g_game->_frameCount - in_ECX[0xca])) { - (**(code **)(*in_ECX + 0x28))(); + else if ((this->_subtype == 0x7f) && (5 < g_game->_frameCount - this->_spawnFrame)) { + (**(code **)(*(int *)this + 0x28))(); } } else if (iVar8 == 0xec) { @@ -291554,43 +291850,43 @@ LAB_0062b462: if (iVar8 < 0) { iVar8 = g_game->_startingRoomIdx; } - in_ECX[0x35f] = -1; - in_ECX[0x366] = (int)(float)(iVar8 % 0xd); - in_ECX[0x364] = (int)(float)(iVar8 % 0xd); - in_ECX[0x367] = (int)(float)(iVar8 / 0xd); - in_ECX[0x365] = (int)(float)(iVar8 / 0xd); + this->_coins = -1; + (this->_formationTargetOffset).x = (float)(iVar8 % 0xd); + (this->_formationOffset).x = (float)(iVar8 % 0xd); + (this->_formationTargetOffset).y = (float)(iVar8 / 0xd); + (this->_formationOffset).y = (float)(iVar8 / 0xd); } else if (iVar8 == 0xf0) { - (**(code **)(*in_ECX + 0x28))(); + (**(code **)(*(int *)this + 0x28))(); } - piVar9 = (int *)GetFollowTargetPosition(); - in_ECX[0xcf] = *piVar9; - in_ECX[0xd0] = piVar9[1]; - iVar8 = in_ECX[0xb]; + pfVar9 = (float *)GetFollowTargetPosition(this,local_18,0); + (this->_pos).x = *pfVar9; + (this->_pos).y = pfVar9[1]; + iVar8 = this->_variant; if (iVar8 == 0xf1) { uVar7 = 0; - pvVar4 = g_game->_room; - if (*(int *)((int)pvVar4 + 0x1254) == 0) { + pvVar3 = g_game->_room; + if (*(int *)((int)pvVar3 + 0x1254) == 0) { return; } do { - iVar8 = *(int *)(*(int *)((int)pvVar4 + 0x124c) + uVar7 * 4); - if ((*(int *)(iVar8 + 0x28) == 0x322) && (*(int **)(iVar8 + 0x3bc) == in_ECX)) { + iVar8 = *(int *)(*(int *)((int)pvVar3 + 0x124c) + uVar7 * 4); + if ((*(int *)(iVar8 + 0x28) == 0x322) && (*(Entity_Familiar **)(iVar8 + 0x3bc) == this)) { *(float *)(iVar8 + 0x33c) = *(float *)(iVar8 + 0x33c) + 0.0; *(float *)(iVar8 + 0x340) = *(float *)(iVar8 + 0x340) + 80.0; - iVar8 = *(int *)(*(int *)((int)pvVar4 + 0x124c) + uVar7 * 4); - if (iVar8 == in_ECX[0x370]) { - iVar2 = *(int *)(iVar8 + 0x340); - in_ECX[0xcf] = *(int *)(iVar8 + 0x33c); - in_ECX[0xd0] = iVar2; + EVar4 = *(EntityPtr *)(*(int *)((int)pvVar3 + 0x124c) + uVar7 * 4); + if (EVar4 == this->_linkedEntity) { + fVar1 = *(float *)((int)EVar4 + 0x340); + (this->_pos).x = *(float *)((int)EVar4 + 0x33c); + (this->_pos).y = fVar1; } } uVar7 = uVar7 + 1; - } while (uVar7 < *(uint *)((int)pvVar4 + 0x1254)); - iVar8 = in_ECX[0xb]; + } while (uVar7 < *(uint *)((int)pvVar3 + 0x1254)); + iVar8 = this->_variant; } if (iVar8 == 0xf2) { - in_ECX[0x362] = 0; + this->_state = 0; } return; } @@ -292157,7 +292453,7 @@ void FUN_0062c8a0(void) Game::start_poop_cloud_screen_effect; from Entity_Player::update_effects loop over the player's familiars */ -void Entity_Familiar::farting_baby_fart(void) +void __thiscall Entity_Familiar::farting_baby_fart(Entity_Familiar *this) { int iVar1; @@ -292170,7 +292466,6 @@ void Entity_Familiar::farting_baby_fart(void) byte *pbVar8; undefined4 uVar9; int *piVar10; - int in_ECX; uint uVar11; byte *pbVar12; void *pvVar13; @@ -292186,25 +292481,25 @@ void Entity_Familiar::farting_baby_fart(void) uint local_c; local_c = __security_cookie ^ (uint)&local_4c; - if (*(int *)(in_ECX + 0x2c) != 0x70) { - if (*(int *)(in_ECX + 0x2c) == 0x7d) { - uVar14 = *(uint *)(in_ECX + 0xd88); - uVar11 = *(uint *)(in_ECX + 0x3dc); + if (this->_variant != 0x70) { + if (this->_variant == 0x7d) { + uVar14 = this->_state; + uVar11 = (this->_dropRNG)._seed; do { if (uVar11 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = uVar11 >> ((byte)*(undefined4 *)(in_ECX + 0x3e0) & 0x1f) ^ uVar11; - uVar11 = uVar11 << ((byte)*(undefined4 *)(in_ECX + 0x3e4) & 0x1f) ^ uVar11; - uVar11 = uVar11 >> ((byte)*(undefined4 *)(in_ECX + 1000) & 0x1f) ^ uVar11; - *(uint *)(in_ECX + 0x3dc) = uVar11; - *(uint *)(in_ECX + 0xd88) = uVar11 % 5; + uVar11 = uVar11 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar11; + uVar11 = uVar11 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar11; + uVar11 = uVar11 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar11; + (this->_dropRNG)._seed = uVar11; + this->_state = uVar11 % 5; } while (uVar11 % 5 == uVar14); FUN_0063b240(); uVar9 = Random(); - local_44 = (void *)(*(float *)(in_ECX + 0x360) + *(float *)(in_ECX + 0x33c)); - local_40 = *(float *)(in_ECX + 0x340) + *(float *)(in_ECX + 0x364); + local_44 = (void *)((this->_velocity).x + (this->_pos).x); + local_40 = (this->_pos).y + (this->_velocity).y; piVar10 = (int *)Game::SpawnEx(g_game,1000,0xf,&local_44,&g_vectorZero,0,0,uVar9,0); (**(code **)(*piVar10 + 0xc))(); pMVar4 = g_manager; @@ -292235,55 +292530,57 @@ void Entity_Familiar::farting_baby_fart(void) } else { LAB_0062c990: - if ((*(char *)(iVar1 + 0x173) == '\0') && (cVar5 = Entity::IsDescendantOf(), cVar5 == '\0')) - { - local_38._position.x = *(float *)(in_ECX + 0x33c); - local_38._position.y = *(float *)(in_ECX + 0x340); + if ((*(char *)(iVar1 + 0x173) == '\0') && + (cVar5 = Entity::IsDescendantOf((Entity *)this,iVar1), cVar5 == '\0')) { + local_38._position.x = (this->_pos).x; + local_38._position.y = (this->_pos).y; local_3c = *(int **)(*(int *)((int)pvVar13 + 0x125c) + uVar14 * 4); - local_38._24_4_ = *(undefined4 *)(in_ECX + 0x360); + local_38._velocity.x = (this->_velocity).x; local_48 = *(Entity **)(*local_3c + 0x20); - local_38._28_4_ = *(undefined4 *)(in_ECX + 0x364); - local_38._type = *(int *)(in_ECX + 0x28); - local_38._variant = *(int *)(in_ECX + 0x2c); - local_38._spawnerType = *(int *)(in_ECX + 0x34); - local_38._spawnerVariant = *(int *)(in_ECX + 0x38); - local_4c = (uint)((*(uint *)(in_ECX + 0x168) & 0x100) != 0); - if ((*(uint *)(in_ECX + 0x168) & 0x20000000) == 0) { + local_38._velocity.y = (this->_velocity).y; + local_38._type = this->_type; + local_38._variant = this->_variant; + local_38._spawnerType = this->_spawnerType; + local_38._spawnerVariant = this->_spawnerVariant; + local_4c = (uint)((this->_flags & 0x100) != 0); + if ((this->_flags & 0x20000000) == 0) { uVar11 = 0; } else { uVar11 = 2; } - if ((*(uint *)(in_ECX + 0x16c) & 0x400000) == 0) { + if ((this->_flags & 0x40000000000000) == 0) { uVar7 = 0; } else { uVar7 = 4; } - local_38._32_4_ = uVar7 | uVar11 | local_4c; + local_38._flags = uVar7 | uVar11 | local_4c; + local_38._entity = this; (*(code *)local_48)(0x41200000,0,0,&local_38,0x1e); - local_38._position.x = *(float *)(in_ECX + 0x33c); - local_38._position.y = *(float *)(in_ECX + 0x340); + local_38._position.x = (this->_pos).x; + local_38._position.y = (this->_pos).y; local_48 = *(Entity **)(*(int *)((int)pvVar13 + 0x125c) + uVar14 * 4); - local_38._type = *(int *)(in_ECX + 0x28); - local_38._variant = *(int *)(in_ECX + 0x2c); - local_38._spawnerType = *(int *)(in_ECX + 0x34); - local_38._spawnerVariant = *(int *)(in_ECX + 0x38); - local_38._24_4_ = *(undefined4 *)(in_ECX + 0x360); - local_38._28_4_ = *(undefined4 *)(in_ECX + 0x364); - if ((*(uint *)(in_ECX + 0x168) & 0x20000000) == 0) { + local_38._type = this->_type; + local_38._variant = this->_variant; + local_38._spawnerType = this->_spawnerType; + local_38._spawnerVariant = this->_spawnerVariant; + local_38._velocity.x = (this->_velocity).x; + local_38._velocity.y = (this->_velocity).y; + if ((this->_flags & 0x20000000) == 0) { uVar11 = 0; } else { uVar11 = 2; } - if ((*(uint *)(in_ECX + 0x16c) & 0x400000) == 0) { + if ((this->_flags & 0x40000000000000) == 0) { uVar7 = 0; } else { uVar7 = 4; } - local_38._32_4_ = uVar7 | uVar11 | (uint)((*(uint *)(in_ECX + 0x168) & 0x100) != 0); + local_38._flags = uVar7 | uVar11 | (uint)((this->_flags & 0x100) != 0); + local_38._entity = this; Entity::AddPoison(local_48,&local_38,0x96,0.0,0); pvVar13 = local_44; } @@ -292292,7 +292589,7 @@ LAB_0062cb69: uVar14 = uVar14 + 1; } while (uVar14 < *(uint *)((int)pvVar13 + 0x1264)); } - pbVar3 = *(byte **)(in_ECX + 0x7c); + pbVar3 = (this->_sprite)._animState._animData; if (pbVar3 != (byte *)0x0) { pbVar8 = pbVar3; if (0xf < *(uint *)(pbVar3 + 0x14)) { @@ -292316,39 +292613,39 @@ LAB_0062cbb0: } while (bVar6 != 0); uVar14 = 0; LAB_0062cbb5: - if ((uVar14 == 0) && ((pbVar3[0x34] == 0 || (*(char *)(in_ECX + 0x8c) != '\0')))) + if ((uVar14 == 0) && ((pbVar3[0x34] == 0 || ((this->_sprite)._animState._isPlaying != 0)))) goto LAB_0062cbe8; } - bVar6 = ANM2::SetAnimation((ANM2 *)(in_ECX + 0x48),s_Spawn,1); + bVar6 = ANM2::SetAnimation(&this->_sprite,s_Spawn,1); if (bVar6 != 0) { - AnimationState::Rewind((AnimationState *)(in_ECX + 0x78)); - *(undefined1 *)(in_ECX + 0x8c) = 1; + AnimationState::Rewind(&(this->_sprite)._animState); + (this->_sprite)._animState._isPlaying = 1; } LAB_0062cbe8: local_38._type = 0x3f800000; local_38._variant = 0x3f800000; local_38._spawnerType = 0x3f800000; local_38._spawnerVariant = 0x3f800000; - local_38._32_4_ = 0; + local_38._flags = 0; local_38._entity = (void *)0x0; uStack_10 = 0; local_38._position.x = 0.0; local_38._position.y = 1.0; - local_38._24_4_ = 0; - local_38._28_4_ = 0x3f800000; + local_38._velocity.x = 0.0; + local_38._velocity.y = 1.0; Game::start_poop_cloud_screen_effect((Game *)((int)g_game->_room + 0x1618),&local_38); local_38._type = 0x3f800000; local_38._variant = 0x3f800000; local_38._spawnerType = 0x3f800000; local_38._spawnerVariant = 0x3f000000; - local_38._32_4_ = 0; + local_38._flags = 0; local_38._position.x = 0.6; local_38._position.y = 1.0; - local_38._24_4_ = 0x3e99999a; - local_38._28_4_ = 0x3f800000; + local_38._velocity.x = 0.3; + local_38._velocity.y = 1.0; local_38._entity = (void *)0x0; uStack_10 = 0; - Entity::MakeGroundPoof(); + Entity::MakeGroundPoof((Entity *)this,&this->_pos,&local_38); return; } @@ -293838,15 +294135,14 @@ void __fastcall FamiliarAI::bumbo(Entity_Familiar *familiar) undefined4 uVar12; undefined4 uVar13; float *pfVar14; - RNG RVar15; - byte *pbVar16; - EntityPtr EVar17; - qword *pqVar18; - bool bVar19; + byte *pbVar15; + EntityPtr EVar16; + qword *pqVar17; + bool bVar18; + float fVar19; float fVar20; - float fVar21; - EntityPtr *pEVar22; - char *pcVar23; + EntityPtr *pEVar21; + char *pcVar22; char local_58; int local_54; uint local_4c; @@ -293872,42 +294168,42 @@ void __fastcall FamiliarAI::bumbo(Entity_Familiar *familiar) uVar10 = __security_cookie ^ (uint)(local_38 + 0x34); ExceptionList = &local_10; pvVar2 = familiar->_player; - bVar19 = false; + bVar18 = false; local_11 = '\0'; - fVar20 = *(float *)((int)pvVar2 + 0x33c) - (familiar->_pos).x; - fVar21 = *(float *)((int)pvVar2 + 0x340) - (familiar->_pos).y; - if (((fVar21 * fVar21 + fVar20 * fVar20 < 6400.0) && (0 < familiar->_counter)) && + fVar19 = *(float *)((int)pvVar2 + 0x33c) - (familiar->_pos).x; + fVar20 = *(float *)((int)pvVar2 + 0x340) - (familiar->_pos).y; + if (((fVar20 * fVar20 + fVar19 * fVar19 < 6400.0) && (0 < familiar->_counter)) && ((familiar->_state == 1 || (familiar->_state == 3)))) { - bVar19 = true; + bVar18 = true; local_11 = '\x01'; } if (familiar->_state == 3) { local_30.x = *(float *)((int)pvVar2 + 0x33c); - EVar17 = familiar->_target; + EVar16 = familiar->_target; local_30.y = *(float *)((int)pvVar2 + 0x340); - if (EVar17 == (EntityPtr)0x0) { + if (EVar16 == (EntityPtr)0x0) { Entity_Familiar::PickEnemyTarget(familiar,0x43960000,0xd,0,&g_vectorZero,0x41700000); - EVar17 = familiar->_target; - if (EVar17 != (EntityPtr)0x0) goto LAB_0062f8e5; - fVar20 = 6400.0; + EVar16 = familiar->_target; + if (EVar16 != (EntityPtr)0x0) goto LAB_0062f8e5; + fVar19 = 6400.0; } else { LAB_0062f8e5: - local_30.x = *(float *)((int)EVar17 + 0x33c); - local_30.y = *(float *)((int)EVar17 + 0x340); - fVar20 = 400.0; - if (*(int *)((int)EVar17 + 0x28) == 5) { - fVar20 = 16.0; + local_30.x = *(float *)((int)EVar16 + 0x33c); + local_30.y = *(float *)((int)EVar16 + 0x340); + fVar19 = 400.0; + if (*(int *)((int)EVar16 + 0x28) == 5) { + fVar19 = 16.0; } } local_20 = local_30.x - (familiar->_pos).x; local_1c = (EntityPtr *)(local_30.y - (familiar->_pos).y); local_24 = (EntityPtr *)(local_20 * local_20 + (float)local_1c * (float)local_1c); - if (fVar20 < (float)local_24) { + if (fVar19 < (float)local_24) { PathFinder::FindGridPath(&local_30,0x3f400000,0,1); - EVar17 = familiar->_target; + EVar16 = familiar->_target; } - if ((((EVar17 != (EntityPtr)0x0) && + if ((((EVar16 != (EntityPtr)0x0) && (cVar8 = Entity::IsFrame((Entity *)familiar,0x3c,familiar->_index), cVar8 != '\0')) && (uVar11 = Random(), (uVar11 & 3) == 0)) && ((float)local_24 < 2500.0)) { uVar12 = Random(); @@ -293915,12 +294211,12 @@ LAB_0062f8e5: Game::Spawn(4,0,&familiar->_pos,uVar13,familiar,0,uVar12); } familiar->_friction = familiar->_friction * 0.85; - if (!bVar19) { - fVar20 = (familiar->_velocity).y; - fVar21 = (familiar->_velocity).x; - fVar20 = fVar21 * fVar21 + fVar20 * fVar20; + if (!bVar18) { + fVar19 = (familiar->_velocity).y; + fVar20 = (familiar->_velocity).x; + fVar19 = fVar20 * fVar20 + fVar19 * fVar19; sqrtf(uVar10); - if (2.0 <= fVar20) { + if (2.0 <= fVar19) { ANM2::Play(&familiar->_sprite,(byte *)"Level4Walking",0); (familiar->_sprite)._flipX = (familiar->_velocity).x <= 0.0 && (familiar->_velocity).x != 0.0; @@ -293967,11 +294263,11 @@ LAB_0062f8e5: familiar->_collisionDamage = 2.5; familiar->_state = 3; } - EVar17 = familiar->_target; + EVar16 = familiar->_target; pEVar1 = &familiar->_target; local_12 = '\0'; - if (((EVar17 == (EntityPtr)0x0) || (*(char *)((int)EVar17 + 0x173) != '\0')) || - (*(int *)((int)EVar17 + 0x28) != 5)) { + if (((EVar16 == (EntityPtr)0x0) || (*(char *)((int)EVar16 + 0x173) != '\0')) || + (*(int *)((int)EVar16 + 0x28) != 5)) { if (familiar->_state != 3) { local_18 = *(float *)((int)familiar->_player + 0x33c); local_1c = *(EntityPtr **)((int)familiar->_player + 0x340); @@ -293996,11 +294292,11 @@ LAB_0062f8e5: } local_1c = (EntityPtr *)((float)local_1c - (familiar->_pos).y); local_18 = local_18 - (familiar->_pos).x; - fVar20 = (float)local_1c * (float)local_1c + local_18 * local_18; + fVar19 = (float)local_1c * (float)local_1c + local_18 * local_18; sqrtf(); - if ((float)local_24 < fVar20) { - (familiar->_velocity).x = (local_18 / fVar20) * 0.8 + (familiar->_velocity).x; - (familiar->_velocity).y = ((float)local_1c / fVar20) * 0.8 + (familiar->_velocity).y; + if ((float)local_24 < fVar19) { + (familiar->_velocity).x = (local_18 / fVar19) * 0.8 + (familiar->_velocity).x; + (familiar->_velocity).y = ((float)local_1c / fVar19) * 0.8 + (familiar->_velocity).y; } if ((familiar->_state == 2) && (Entity_Familiar::Shoot(familiar), 0 < familiar->_headFrameDelay)) { @@ -294009,16 +294305,16 @@ LAB_0062f8e5: local_8 = 0xffffffff; if (local_58 == '\0') { if (g_mainHeap == (void *)0x0) { - pqVar18 = &g_allocatedBytesNoHeap; + pqVar17 = &g_allocatedBytesNoHeap; } else { - pqVar18 = (qword *)((int)g_mainHeap + 0x30); + pqVar17 = (qword *)((int)g_mainHeap + 0x30); } if (local_54 != 0) { uVar10 = *(uint *)(local_54 + -4); - qVar6 = *pqVar18; - *(uint *)pqVar18 = (uint)*pqVar18 - uVar10; - *(uint *)((int)pqVar18 + 4) = *(uint *)((int)pqVar18 + 4) - (uint)((uint)qVar6 < uVar10); + qVar6 = *pqVar17; + *(uint *)pqVar17 = (uint)*pqVar17 - uVar10; + *(uint *)((int)pqVar17 + 4) = *(uint *)((int)pqVar17 + 4) - (uint)((uint)qVar6 < uVar10); free((void *)(local_54 + -4)); } local_8 = 0xffffffff; @@ -294026,16 +294322,16 @@ LAB_0062f8e5: } } else { - fVar20 = *(float *)((int)EVar17 + 0x33c) - (familiar->_pos).x; - pEVar22 = (EntityPtr *)(*(float *)((int)EVar17 + 0x340) - (familiar->_pos).y); - if (100.0 <= (float)pEVar22 * (float)pEVar22 + fVar20 * fVar20) { + fVar19 = *(float *)((int)EVar16 + 0x33c) - (familiar->_pos).x; + pEVar21 = (EntityPtr *)(*(float *)((int)EVar16 + 0x340) - (familiar->_pos).y); + if (100.0 <= (float)pEVar21 * (float)pEVar21 + fVar19 * fVar19) { if (familiar->_state != 3) { - local_28 = fVar20; - local_24 = pEVar22; + local_28 = fVar19; + local_24 = pEVar21; pfVar14 = (float *)Vector::Normalized(&local_20); - fVar20 = pfVar14[1]; + fVar19 = pfVar14[1]; (familiar->_velocity).x = *pfVar14 * 1.1 + (familiar->_velocity).x; - (familiar->_velocity).y = fVar20 * 1.1 + (familiar->_velocity).y; + (familiar->_velocity).y = fVar19 * 1.1 + (familiar->_velocity).y; } } else { @@ -294055,13 +294351,13 @@ LAB_0062f8e5: ((familiar->_sprite)._animState._isPlaying == 0)) || (*(char *)((int)pvVar2 + 0x34) != '\0')) )) { if (familiar->_state == 1) { - pcVar23 = "Level2Spawn"; + pcVar22 = "Level2Spawn"; } else { if (familiar->_state != 3) goto LAB_0062fedd; - pcVar23 = "Level4Spawn"; + pcVar22 = "Level4Spawn"; } - bVar9 = ANM2::SetAnimation(&familiar->_sprite,(byte *)pcVar23,1); + bVar9 = ANM2::SetAnimation(&familiar->_sprite,(byte *)pcVar22,1); if (bVar9 != 0) { AnimationState::Rewind(&(familiar->_sprite)._animState); (familiar->_sprite)._animState._isPlaying = 1; @@ -294071,16 +294367,16 @@ LAB_0062fedd: if (((familiar->_sprite)._animState._animData != (void *)0x0) && (bVar9 = AnimationState::IsEventTriggered(&(familiar->_sprite)._animState,s_Spawn), bVar9 != 0) ) { - RVar15 = familiar->_dropRNG; - if (RVar15 == (RNG)0x0) { + uVar10 = (familiar->_dropRNG)._seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar10 = (uint)RVar15 >> ((byte)*(undefined4 *)&familiar->field_0x3e0 & 0x1f) ^ (uint)RVar15; - uVar10 = uVar10 << ((byte)*(undefined4 *)&familiar->field_0x3e4 & 0x1f) ^ uVar10; - RVar15 = (RNG)(uVar10 >> ((byte)*(undefined4 *)&familiar->field_0x3e8 & 0x1f) ^ uVar10); - familiar->_dropRNG = RVar15; - Game::Spawn(5,0,&familiar->_pos,&g_vectorZero,familiar,0,RVar15); + uVar10 = uVar10 >> ((byte)(familiar->_dropRNG)._shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)(familiar->_dropRNG)._shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)(familiar->_dropRNG)._shift3 & 0x1f) ^ uVar10; + (familiar->_dropRNG)._seed = uVar10; + Game::Spawn(5,0,&familiar->_pos,&g_vectorZero,familiar,0,uVar10); familiar->_counter = familiar->_counter + -1; } if (local_11 != '\0') goto LAB_0063023d; @@ -294090,102 +294386,102 @@ LAB_0062fedd: ((familiar->_sprite)._animState._isPlaying != 0)) goto LAB_0063023d; pbVar5 = (familiar->_sprite)._animState._animData; if (pbVar5 != (byte *)0x0) { - pbVar16 = pbVar5; + pbVar15 = pbVar5; if (0xf < *(uint *)(pbVar5 + 0x14)) { - pbVar16 = *(byte **)pbVar5; + pbVar15 = *(byte **)pbVar5; } - pcVar23 = "Level1Float"; + pcVar22 = "Level1Float"; do { - bVar9 = *pbVar16; - bVar19 = bVar9 < (byte)*pcVar23; - if (bVar9 != *pcVar23) { + bVar9 = *pbVar15; + bVar18 = bVar9 < (byte)*pcVar22; + if (bVar9 != *pcVar22) { LAB_00630201: - uVar10 = -(uint)bVar19 | 1; + uVar10 = -(uint)bVar18 | 1; goto LAB_00630206; } if (bVar9 == 0) break; - bVar9 = pbVar16[1]; - bVar19 = bVar9 < (byte)pcVar23[1]; - if (bVar9 != pcVar23[1]) goto LAB_00630201; - pbVar16 = pbVar16 + 2; - pcVar23 = pcVar23 + 2; + bVar9 = pbVar15[1]; + bVar18 = bVar9 < (byte)pcVar22[1]; + if (bVar9 != pcVar22[1]) goto LAB_00630201; + pbVar15 = pbVar15 + 2; + pcVar22 = pcVar22 + 2; } while (bVar9 != 0); uVar10 = 0; LAB_00630206: if ((uVar10 == 0) && ((pbVar5[0x34] == 0 || ((familiar->_sprite)._animState._isPlaying != 0))) ) goto LAB_0063023d; } - pcVar23 = "Level1Float"; + pcVar22 = "Level1Float"; } else if (iVar3 == 1) { - fVar20 = (familiar->_velocity).y; - fVar21 = (familiar->_velocity).x; + fVar19 = (familiar->_velocity).y; + fVar20 = (familiar->_velocity).x; pbVar5 = (familiar->_sprite)._animState._animData; - if (fVar21 * fVar21 + fVar20 * fVar20 <= 1.0) { + if (fVar20 * fVar20 + fVar19 * fVar19 <= 1.0) { if (pbVar5 != (byte *)0x0) { - pbVar16 = pbVar5; + pbVar15 = pbVar5; if (0xf < *(uint *)(pbVar5 + 0x14)) { - pbVar16 = *(byte **)pbVar5; + pbVar15 = *(byte **)pbVar5; } - pcVar23 = "Level2Idle"; + pcVar22 = "Level2Idle"; do { - bVar9 = *pbVar16; - bVar19 = bVar9 < (byte)*pcVar23; - if (bVar9 != *pcVar23) { + bVar9 = *pbVar15; + bVar18 = bVar9 < (byte)*pcVar22; + if (bVar9 != *pcVar22) { LAB_00630186: - uVar10 = -(uint)bVar19 | 1; + uVar10 = -(uint)bVar18 | 1; goto LAB_0063018b; } if (bVar9 == 0) break; - bVar9 = pbVar16[1]; - bVar19 = bVar9 < (byte)pcVar23[1]; - if (bVar9 != pcVar23[1]) goto LAB_00630186; - pbVar16 = pbVar16 + 2; - pcVar23 = pcVar23 + 2; + bVar9 = pbVar15[1]; + bVar18 = bVar9 < (byte)pcVar22[1]; + if (bVar9 != pcVar22[1]) goto LAB_00630186; + pbVar15 = pbVar15 + 2; + pcVar22 = pcVar22 + 2; } while (bVar9 != 0); uVar10 = 0; LAB_0063018b: if (uVar10 == 0) { if ((pbVar5[0x34] == 0) || ((familiar->_sprite)._animState._isPlaying != 0)) goto LAB_0063023d; - pcVar23 = "Level2Idle"; + pcVar22 = "Level2Idle"; goto LAB_00630226; } } - pcVar23 = "Level2Idle"; + pcVar22 = "Level2Idle"; } else { if (pbVar5 != (byte *)0x0) { - pbVar16 = pbVar5; + pbVar15 = pbVar5; if (0xf < *(uint *)(pbVar5 + 0x14)) { - pbVar16 = *(byte **)pbVar5; + pbVar15 = *(byte **)pbVar5; } - pcVar23 = "Level2Walking"; + pcVar22 = "Level2Walking"; do { - bVar9 = *pbVar16; - bVar19 = bVar9 < (byte)*pcVar23; - if (bVar9 != *pcVar23) { + bVar9 = *pbVar15; + bVar18 = bVar9 < (byte)*pcVar22; + if (bVar9 != *pcVar22) { LAB_00630117: - uVar10 = -(uint)bVar19 | 1; + uVar10 = -(uint)bVar18 | 1; goto LAB_0063011c; } if (bVar9 == 0) break; - bVar9 = pbVar16[1]; - bVar19 = bVar9 < (byte)pcVar23[1]; - if (bVar9 != pcVar23[1]) goto LAB_00630117; - pbVar16 = pbVar16 + 2; - pcVar23 = pcVar23 + 2; + bVar9 = pbVar15[1]; + bVar18 = bVar9 < (byte)pcVar22[1]; + if (bVar9 != pcVar22[1]) goto LAB_00630117; + pbVar15 = pbVar15 + 2; + pcVar22 = pcVar22 + 2; } while (bVar9 != 0); uVar10 = 0; LAB_0063011c: if (uVar10 == 0) { if ((pbVar5[0x34] == 0) || ((familiar->_sprite)._animState._isPlaying != 0)) goto LAB_0063023d; - pcVar23 = "Level2Walking"; + pcVar22 = "Level2Walking"; goto LAB_00630226; } } - pcVar23 = "Level2Walking"; + pcVar22 = "Level2Walking"; } } else { @@ -294193,78 +294489,78 @@ LAB_0063011c: (((pvVar2 = (familiar->_sprite)._animState._animData, pvVar2 != (void *)0x0 && ((familiar->_sprite)._animState._isPlaying != 0)) && (*(char *)((int)pvVar2 + 0x34) == '\0')))) goto LAB_0063023d; - fVar20 = (familiar->_velocity).y; - fVar21 = (familiar->_velocity).x; + fVar19 = (familiar->_velocity).y; + fVar20 = (familiar->_velocity).x; pbVar5 = (familiar->_sprite)._animState._animData; - if (fVar21 * fVar21 + fVar20 * fVar20 <= 1.0) { + if (fVar20 * fVar20 + fVar19 * fVar19 <= 1.0) { if (pbVar5 != (byte *)0x0) { - pbVar16 = pbVar5; + pbVar15 = pbVar5; if (0xf < *(uint *)(pbVar5 + 0x14)) { - pbVar16 = *(byte **)pbVar5; + pbVar15 = *(byte **)pbVar5; } - pcVar23 = "Level3Idle"; + pcVar22 = "Level3Idle"; do { - bVar9 = *pbVar16; - bVar19 = bVar9 < (byte)*pcVar23; - if (bVar9 != *pcVar23) { + bVar9 = *pbVar15; + bVar18 = bVar9 < (byte)*pcVar22; + if (bVar9 != *pcVar22) { LAB_00630080: - uVar10 = -(uint)bVar19 | 1; + uVar10 = -(uint)bVar18 | 1; goto LAB_00630085; } if (bVar9 == 0) break; - bVar9 = pbVar16[1]; - bVar19 = bVar9 < (byte)pcVar23[1]; - if (bVar9 != pcVar23[1]) goto LAB_00630080; - pbVar16 = pbVar16 + 2; - pcVar23 = pcVar23 + 2; + bVar9 = pbVar15[1]; + bVar18 = bVar9 < (byte)pcVar22[1]; + if (bVar9 != pcVar22[1]) goto LAB_00630080; + pbVar15 = pbVar15 + 2; + pcVar22 = pcVar22 + 2; } while (bVar9 != 0); uVar10 = 0; LAB_00630085: if (uVar10 == 0) { if ((pbVar5[0x34] == 0) || ((familiar->_sprite)._animState._isPlaying != 0)) goto LAB_0063023d; - pcVar23 = "Level3Idle"; + pcVar22 = "Level3Idle"; goto LAB_00630226; } } - pcVar23 = "Level3Idle"; + pcVar22 = "Level3Idle"; } else { if (pbVar5 != (byte *)0x0) { - pbVar16 = pbVar5; + pbVar15 = pbVar5; if (0xf < *(uint *)(pbVar5 + 0x14)) { - pbVar16 = *(byte **)pbVar5; + pbVar15 = *(byte **)pbVar5; } - pcVar23 = "Level3Walking"; + pcVar22 = "Level3Walking"; do { - bVar9 = *pbVar16; - bVar19 = bVar9 < (byte)*pcVar23; - if (bVar9 != *pcVar23) { + bVar9 = *pbVar15; + bVar18 = bVar9 < (byte)*pcVar22; + if (bVar9 != *pcVar22) { LAB_00630010: - uVar10 = -(uint)bVar19 | 1; + uVar10 = -(uint)bVar18 | 1; goto LAB_00630015; } if (bVar9 == 0) break; - bVar9 = pbVar16[1]; - bVar19 = bVar9 < (byte)pcVar23[1]; - if (bVar9 != pcVar23[1]) goto LAB_00630010; - pbVar16 = pbVar16 + 2; - pcVar23 = pcVar23 + 2; + bVar9 = pbVar15[1]; + bVar18 = bVar9 < (byte)pcVar22[1]; + if (bVar9 != pcVar22[1]) goto LAB_00630010; + pbVar15 = pbVar15 + 2; + pcVar22 = pcVar22 + 2; } while (bVar9 != 0); uVar10 = 0; LAB_00630015: if (uVar10 == 0) { if ((pbVar5[0x34] == 0) || ((familiar->_sprite)._animState._isPlaying != 0)) goto LAB_0063023d; - pcVar23 = "Level3Walking"; + pcVar22 = "Level3Walking"; goto LAB_00630226; } } - pcVar23 = "Level3Walking"; + pcVar22 = "Level3Walking"; } } LAB_00630226: - bVar9 = ANM2::SetAnimation(&familiar->_sprite,(byte *)pcVar23,1); + bVar9 = ANM2::SetAnimation(&familiar->_sprite,(byte *)pcVar22,1); if (bVar9 != 0) { AnimationState::Rewind(&(familiar->_sprite)._animState); (familiar->_sprite)._animState._isPlaying = 1; @@ -294286,19 +294582,19 @@ LAB_0063023d: do { iVar3 = *(int *)(local_44 + uVar10 * 4); if (((*(int *)(iVar3 + 0x28) == 5) && - (EVar17 = (EntityPtr) + (EVar16 = (EntityPtr) __RTDynamicCast(iVar3,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor,0), - *(int *)((int)EVar17 + 0x2c) == 0x14)) && - ((*(char *)((int)EVar17 + 0x173) == '\0' && - ((*(int *)((int)EVar17 + 0x534) == 0 && - (fVar20 = *(float *)((int)EVar17 + 0x33c) - (familiar->_pos).x, - fVar21 = *(float *)((int)EVar17 + 0x340) - (familiar->_pos).y, - local_1c = (EntityPtr *)(fVar21 * fVar21 + fVar20 * fVar20), + *(int *)((int)EVar16 + 0x2c) == 0x14)) && + ((*(char *)((int)EVar16 + 0x173) == '\0' && + ((*(int *)((int)EVar16 + 0x534) == 0 && + (fVar19 = *(float *)((int)EVar16 + 0x33c) - (familiar->_pos).x, + fVar20 = *(float *)((int)EVar16 + 0x340) - (familiar->_pos).y, + local_1c = (EntityPtr *)(fVar20 * fVar20 + fVar19 * fVar19), (float)local_1c < (float)local_24)))))) { if (familiar->_entityGridCollisionClass == 5) { - local_30.x = *(float *)((int)EVar17 + 0x33c); - local_30.y = *(float *)((int)EVar17 + 0x340); + local_30.x = *(float *)((int)EVar16 + 0x33c); + local_30.y = *(float *)((int)EVar16 + 0x340); bVar9 = NPCAI_Pathfinder::HasPathToPos(&familiar->_pathfinder,&local_30,0); if (bVar9 == 0) goto LAB_006303e4; } @@ -294306,7 +294602,7 @@ LAB_0063023d: local_24 = &familiar->_target; std::multiset::erase(&local_24); } - familiar->_target = EVar17; + familiar->_target = EVar16; std::multiset::insert(&familiar->_target); local_24 = local_1c; } @@ -294316,16 +294612,16 @@ LAB_006303e4: } if (local_48[0] == '\0') { if (g_mainHeap == (void *)0x0) { - pqVar18 = &g_allocatedBytesNoHeap; + pqVar17 = &g_allocatedBytesNoHeap; } else { - pqVar18 = (qword *)((int)g_mainHeap + 0x30); + pqVar17 = (qword *)((int)g_mainHeap + 0x30); } if (local_44 != 0) { uVar10 = *(uint *)(local_44 + -4); - qVar6 = *pqVar18; - *(uint *)pqVar18 = (uint)*pqVar18 - uVar10; - *(uint *)((int)pqVar18 + 4) = *(uint *)((int)pqVar18 + 4) - (uint)((uint)qVar6 < uVar10); + qVar6 = *pqVar17; + *(uint *)pqVar17 = (uint)*pqVar17 - uVar10; + *(uint *)((int)pqVar17 + 4) = *(uint *)((int)pqVar17 + 4) - (uint)((uint)qVar6 < uVar10); free((void *)(local_44 + -4)); } } @@ -294361,7 +294657,7 @@ void __thiscall Entity_Familiar::store_backup(Entity_Familiar *this,int *param_2 int iVar1; *param_2 = this->_initSeed; - *(RNG *)(param_2 + 0xb) = this->_dropRNG; + param_2[0xb] = (this->_dropRNG)._seed; param_2[1] = this->_variant; param_2[2] = this->_subtype; param_2[3] = this->_coins; @@ -299033,14 +299329,13 @@ void __thiscall Entity_Familiar::ai_lil_harbingers(Entity_Familiar *this) int iVar13; uint uVar14; char *pcVar15; - RNG RVar16; - EntityPtr *pEVar17; - bool bVar18; + EntityPtr *pEVar16; + bool bVar17; + float fVar18; float fVar19; float fVar20; - float fVar21; - undefined4 uVar22; - void *pvVar23; + undefined4 uVar21; + void *pvVar22; uint local_6c; int local_68; undefined1 local_64 [4]; @@ -299066,17 +299361,17 @@ void __thiscall Entity_Familiar::ai_lil_harbingers(Entity_Familiar *this) iVar13 = this->_state; pfVar8 = local_38 + 0xd; if (300 < iVar13) { - RVar16 = this->_dropRNG; - if (RVar16 == (RNG)0x0) { + uVar5 = (this->_dropRNG)._seed; + if (uVar5 == 0) { puStack_20 = (undefined1 *)(local_38 + 0xd); /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar16 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar16; - uVar5 = uVar5 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar5; - RVar16 = (RNG)(uVar5 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar5); - this->_dropRNG = RVar16; - this->_subtype = (uint)RVar16 % 5; + uVar5 = uVar5 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar5; + (this->_dropRNG)._seed = uVar5; + this->_subtype = uVar5 % 5; (this->_targetPosition).x = g_vectorZero.x; (this->_targetPosition).y = g_vectorZero.y; init_lil_harbinger_sprite(this,local_24); @@ -299100,23 +299395,23 @@ void __thiscall Entity_Familiar::ai_lil_harbingers(Entity_Familiar *this) pVVar1 = &this->_pos; local_50 = (this->_targetPosition).y - (this->_pos).y; local_58 = local_58 - pVVar1->x; - fVar19 = local_50 * local_50 + local_58 * local_58; + fVar18 = local_50 * local_50 + local_58 * local_58; sqrtf(); - if (fVar19 <= 0.0) { - fVar20 = local_58; - fVar19 = local_50; + if (fVar18 <= 0.0) { + fVar19 = local_58; + fVar18 = local_50; } else { - fVar20 = (2.0 / fVar19) * local_58; - fVar19 = (2.0 / fVar19) * local_50; + fVar19 = (2.0 / fVar18) * local_58; + fVar18 = (2.0 / fVar18) * local_50; } - (this->_velocity).x = fVar20 + (this->_velocity).x; - (this->_velocity).y = fVar19 + (this->_velocity).y; + (this->_velocity).x = fVar19 + (this->_velocity).x; + (this->_velocity).y = fVar18 + (this->_velocity).y; iVar13 = this->_subtype; if ((iVar13 == 0) || (iVar13 == 3)) { - fVar20 = pVVar1->x - (this->_targetPosition).x; - fVar19 = (this->_pos).y - (this->_targetPosition).y; - if (fVar19 * fVar19 + fVar20 * fVar20 < 25.0) { + fVar19 = pVVar1->x - (this->_targetPosition).x; + fVar18 = (this->_pos).y - (this->_targetPosition).y; + if (fVar18 * fVar18 + fVar19 * fVar19 < 25.0) { (this->_velocity).x = g_vectorZero.x; (this->_velocity).y = g_vectorZero.y; } @@ -299132,30 +299427,30 @@ void __thiscall Entity_Familiar::ai_lil_harbingers(Entity_Familiar *this) if (uVar5 != 0) { local_60 = *(EntityPtr **)&pGVar2->_deathmatchManager; do { - fVar19 = *(float *)(*(int *)((int)local_5c + 0x125c) + local_6c * 4); - if (((int)local_60 < 2) || (*(int *)((int)fVar19 + 0x28) != 1)) { - local_68 = *(int *)((int)fVar19 + 0x28); + fVar18 = *(float *)(*(int *)((int)local_5c + 0x125c) + local_6c * 4); + if (((int)local_60 < 2) || (*(int *)((int)fVar18 + 0x28) != 1)) { + local_68 = *(int *)((int)fVar18 + 0x28); uVar5 = local_54; if (local_68 - 10U < 0x3de) goto LAB_00637d3b; } else { local_68 = 1; LAB_00637d3b: - if (((*(int *)((int)fVar19 + 0x188) != 1) && (*(int *)((int)fVar19 + 0x188) != 0)) && - ((*(char *)((int)fVar19 + 0x3b0) == '\0' && (*(char *)((int)fVar19 + 0x173) == '\0')) + if (((*(int *)((int)fVar18 + 0x188) != 1) && (*(int *)((int)fVar18 + 0x188) != 0)) && + ((*(char *)((int)fVar18 + 0x3b0) == '\0' && (*(char *)((int)fVar18 + 0x173) == '\0')) )) { cVar3 = Entity::HasEntityFlags(0x10,0); if (((cVar3 == '\0') || (local_68 == 0x322)) || (local_68 == 0x362)) { - fVar20 = *(float *)((int)fVar19 + 0x33c) - (this->_pos).x; - fVar21 = *(float *)((int)fVar19 + 0x340) - (this->_pos).y; - fVar20 = fVar21 * fVar21 + fVar20 * fVar20; + fVar19 = *(float *)((int)fVar18 + 0x33c) - (this->_pos).x; + fVar20 = *(float *)((int)fVar18 + 0x340) - (this->_pos).y; + fVar19 = fVar20 * fVar20 + fVar19 * fVar19; if (local_50 == 0.0) { - local_58 = fVar20; - local_50 = fVar19; + local_58 = fVar19; + local_50 = fVar18; } - else if (fVar20 < local_58) { - local_58 = fVar20; - local_50 = fVar19; + else if (fVar19 < local_58) { + local_58 = fVar19; + local_50 = fVar18; } } uVar5 = local_54; @@ -299165,25 +299460,25 @@ LAB_00637d3b: } while (local_6c < uVar5); } if (local_50 == 0.0) { - fVar20 = (this->_pos).x - (this->_targetPosition).x; - fVar19 = (this->_pos).y - (this->_targetPosition).y; - if (fVar19 * fVar19 + fVar20 * fVar20 < 25.0) { + fVar19 = (this->_pos).x - (this->_targetPosition).x; + fVar18 = (this->_pos).y - (this->_targetPosition).y; + if (fVar18 * fVar18 + fVar19 * fVar19 < 25.0) { pfVar8 = (float *)Room::GetRandomPosition(local_64,this->_size); (this->_targetPosition).x = *pfVar8; (this->_targetPosition).y = pfVar8[1]; } } else { - fVar19 = *(float *)((int)local_50 + 0x340); + fVar18 = *(float *)((int)local_50 + 0x340); (this->_targetPosition).x = *(float *)((int)local_50 + 0x33c); - (this->_targetPosition).y = fVar19; + (this->_targetPosition).y = fVar18; } } } else { - fVar19 = pVVar1->x - (this->_targetPosition).x; - fVar20 = (this->_pos).y - (this->_targetPosition).y; - if (fVar20 * fVar20 + fVar19 * fVar19 < 25.0) { + fVar18 = pVVar1->x - (this->_targetPosition).x; + fVar19 = (this->_pos).y - (this->_targetPosition).y; + if (fVar19 * fVar19 + fVar18 * fVar18 < 25.0) { pfVar8 = (float *)Room::GetRandomPosition(local_64,this->_size); (this->_targetPosition).x = *pfVar8; (this->_targetPosition).y = pfVar8[1]; @@ -299193,8 +299488,8 @@ LAB_00637d3b: cVar3 = Entity::IsFrame((Entity *)this,0xc,this->_index); if ((cVar3 != '\0') && ((*(byte *)(*(int *)((int)g_game->_room + 4) + 0x44) & 1) == 0)) { uVar6 = Random(); - pvVar23 = this->_player; - uVar22 = 0x35; + pvVar22 = this->_player; + uVar21 = 0x35; goto LAB_00637be3; } } @@ -299202,10 +299497,10 @@ LAB_00637d3b: (cVar3 = Entity::IsFrame((Entity *)this,0xc,this->_index), cVar3 != '\0')) && ((*(byte *)(*(int *)((int)g_game->_room + 4) + 0x44) & 1) == 0)) { uVar6 = Random(); - pvVar23 = this->_player; - uVar22 = 0x2d; + pvVar22 = this->_player; + uVar21 = 0x2d; LAB_00637be3: - uVar6 = Game::SpawnEx(g_game,1000,uVar22,pVVar1,&g_vectorZero,pvVar23,0,uVar6,0); + uVar6 = Game::SpawnEx(g_game,1000,uVar21,pVVar1,&g_vectorZero,pvVar22,0,uVar6,0); iVar13 = __RTDynamicCast(uVar6,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor,0); *(undefined4 *)(iVar13 + 0x45c) = 0x78; @@ -299228,24 +299523,24 @@ LAB_00637be3: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"[err] Wrong Harbinger subtype %u!\n",uVar5); } - fVar19 = (this->_velocity).x; + fVar18 = (this->_velocity).x; local_60 = (EntityPtr *)(this->_velocity).y; - fVar19 = fVar19 * fVar19 + (float)local_60 * (float)local_60; + fVar18 = fVar18 * fVar18 + (float)local_60 * (float)local_60; sqrtf(); uVar14 = -(uint)(uVar5 != 0) & uVar5; uVar9 = 4; if (uVar14 < 4) { uVar9 = uVar14; } - if (local_38[uVar9] <= fVar19 && fVar19 != local_38[uVar9]) { + if (local_38[uVar9] <= fVar18 && fVar18 != local_38[uVar9]) { uVar9 = 4; if (uVar14 < 4) { uVar9 = uVar14; } - if (0.0 < fVar19) { - fVar20 = local_38[uVar9]; - (this->_velocity).y = (fVar20 / fVar19) * (float)local_60; - (this->_velocity).x = (fVar20 / fVar19) * (this->_velocity).x; + if (0.0 < fVar18) { + fVar19 = local_38[uVar9]; + (this->_velocity).y = (fVar19 / fVar18) * (float)local_60; + (this->_velocity).x = (fVar19 / fVar18) * (this->_velocity).x; uVar5 = this->_subtype; } } @@ -299273,15 +299568,15 @@ LAB_00637be3: AnimationState::Rewind(&(this->_sprite)._animState); (this->_sprite)._animState._isPlaying = 1; } - pEVar17 = &this->_linkedEntity; - if (*pEVar17 != (EntityPtr)0x0) { - local_60 = pEVar17; + pEVar16 = &this->_linkedEntity; + if (*pEVar16 != (EntityPtr)0x0) { + local_60 = pEVar16; std::multiset::erase(&local_60); } - *pEVar17 = local_5c; + *pEVar16 = local_5c; EVar10 = (EntityPtr)0x0; if (local_5c != (EntityPtr)0x0) { - std::multiset::insert(pEVar17); + std::multiset::insert(pEVar16); EVar10 = this->_linkedEntity; } Entity::convert_shot_for_enemy_owner(EVar10); @@ -299295,15 +299590,15 @@ LAB_00637be3: pcVar15 = "PreSpawn"; do { bVar4 = *pbVar11; - bVar18 = bVar4 < (byte)*pcVar15; + bVar17 = bVar4 < (byte)*pcVar15; if (bVar4 != *pcVar15) { LAB_006380a0: - uVar5 = -(uint)bVar18 | 1; + uVar5 = -(uint)bVar17 | 1; goto LAB_006380a5; } if (bVar4 == 0) break; bVar4 = pbVar11[1]; - bVar18 = bVar4 < (byte)pcVar15[1]; + bVar17 = bVar4 < (byte)pcVar15[1]; if (bVar4 != pcVar15[1]) goto LAB_006380a0; pbVar11 = pbVar11 + 2; pcVar15 = pcVar15 + 2; @@ -299320,15 +299615,15 @@ LAB_006380a5: pcVar15 = "FloatDown"; do { bVar4 = *pbVar12; - bVar18 = bVar4 < (byte)*pcVar15; + bVar17 = bVar4 < (byte)*pcVar15; if (bVar4 != *pcVar15) { LAB_006380e0: - uVar5 = -(uint)bVar18 | 1; + uVar5 = -(uint)bVar17 | 1; goto LAB_006380e5; } if (bVar4 == 0) break; bVar4 = pbVar12[1]; - bVar18 = bVar4 < (byte)pcVar15[1]; + bVar17 = bVar4 < (byte)pcVar15[1]; if (bVar4 != pcVar15[1]) goto LAB_006380e0; pbVar12 = pbVar12 + 2; pcVar15 = pcVar15 + 2; @@ -299346,9 +299641,9 @@ LAB_006380e5: } } LAB_0063811c: - fVar19 = (this->_velocity).x; - if (0.0 < ABS(fVar19)) { - (this->_sprite)._flipX = fVar19 < 0.0; + fVar18 = (this->_velocity).x; + if (0.0 < ABS(fVar18)) { + (this->_sprite)._flipX = fVar18 < 0.0; } ExceptionList = local_1c; return; @@ -299376,11 +299671,7 @@ void __fastcall FamiliarAI::mystery_egg(Entity_Familiar *familiar) undefined *puVar9; bool bVar10; int iStack_3c; - undefined1 auStack_38 [24]; - undefined4 uStack_20; - float fStack_1c; - undefined4 uStack_18; - void *pvStack_14; + EntityRef EStack_38; undefined4 uStack_10; uint local_c; @@ -299413,24 +299704,24 @@ void __fastcall FamiliarAI::mystery_egg(Entity_Familiar *familiar) } uVar4 = RNG::RandomInt(&familiar->_dropRNG,uVar4); uVar5 = Game::SpawnEx(g_game,*(undefined4 *)(puVar9 + uVar4 * 4),0,&familiar->_pos, - &g_vectorZero,familiar,0,familiar->_dropRNG,0); + &g_vectorZero,familiar,0,(familiar->_dropRNG)._seed,0); this = (Entity_NPC *) __RTDynamicCast(uVar5,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor,0); - auStack_38._20_4_ = g_vectorZero.y; - fStack_1c = g_vectorZero.y; - auStack_38._0_4_ = 0; - auStack_38._4_4_ = 0; - auStack_38._8_4_ = 0; - auStack_38._12_4_ = 0; - auStack_38._16_4_ = g_vectorZero.x; - uStack_20 = g_vectorZero.x; - uStack_18 = 0; - pvStack_14 = (void *)0x0; - Entity::AddCharmed((Entity *)this,(EntityRef *)auStack_38,-1,0,0); + EStack_38._position.y = g_vectorZero.y; + EStack_38._velocity.y = g_vectorZero.y; + EStack_38._type = 0; + EStack_38._variant = 0; + EStack_38._spawnerType = 0; + EStack_38._spawnerVariant = 0; + EStack_38._position.x = g_vectorZero.x; + EStack_38._velocity.x = g_vectorZero.x; + EStack_38._flags = 0; + EStack_38._entity = (void *)0x0; + Entity::AddCharmed((Entity *)this,&EStack_38,-1,0,0); bVar3 = Entity_Player::HasCollectible(familiar->_player,0xf7,0); if (bVar3 != 0) { - Entity_NPC::MakeChampion(this,familiar->_dropRNG,0xffffffff,0); + Entity_NPC::MakeChampion(this,(familiar->_dropRNG)._seed,0xffffffff,0); } pMVar2 = g_manager; iStack_3c = 0xed; @@ -299444,18 +299735,18 @@ void __fastcall FamiliarAI::mystery_egg(Entity_Familiar *familiar) uVar5 = Game::SpawnEx(g_game,1000,2,&familiar->_pos,&g_vectorZero,0,3,uVar5,0); piVar6 = (int *)__RTDynamicCast(uVar5,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor,0); - uStack_18 = 0x3f4ccccd; - pvStack_14 = (void *)0x3f4ccccd; + EStack_38._flags = 0x3f4ccccd; + EStack_38._entity = (void *)0x3f4ccccd; uStack_10 = 0x3f4ccccd; - auStack_38._16_4_ = 0.0; - auStack_38._20_4_ = 0.0; - uStack_20 = 0.0; - fStack_1c = 0.0; - auStack_38._0_4_ = 0x3f800000; - auStack_38._4_4_ = 0x3f800000; - auStack_38._8_4_ = 0x3f800000; - auStack_38._12_4_ = 0x3f800000; - (**(code **)(*piVar6 + 0x3c))(auStack_38,0xffffffff,0xff,0,1); + EStack_38._position.x = 0.0; + EStack_38._position.y = 0.0; + EStack_38._velocity.x = 0.0; + EStack_38._velocity.y = 0.0; + EStack_38._type = 0x3f800000; + EStack_38._variant = 0x3f800000; + EStack_38._spawnerType = 0x3f800000; + EStack_38._spawnerVariant = 0x3f800000; + (**(code **)(*piVar6 + 0x3c))(&EStack_38,0xffffffff,0xff,0,1); piVar6[0xd3] = 0; piVar6[0xd4] = -0x3ea00000; (**(code **)(*piVar6 + 0xc))(); @@ -300959,14 +301250,13 @@ LAB_0063aec8: collision 6 else 3; sprinkler calls it for its Technology shots (extra for Mom's Eye 0x37, Monstro's Lung 0xe5, multishot) */ -int * Entity_Familiar::sprinkler_shoot_laser(void) +int * __thiscall Entity_Familiar::sprinkler_shoot_laser(Entity_Familiar *this) { bool bVar1; int *piVar2; uint uVar3; int iVar4; - int in_ECX; float fVar5; float in_XMM1_Da; float in_XMM2_Da; @@ -300998,7 +301288,7 @@ int * Entity_Familiar::sprinkler_shoot_laser(void) fVar5 = local_88; sin(); local_7c = fVar5 * local_8c - 32.0; - piVar2 = (int *)Entity_Laser::ShootAngle(2,in_ECX + 0x33c,local_84,3,&local_80); + piVar2 = (int *)Entity_Laser::ShootAngle(2,&this->_pos,local_84,3,&local_80,this,0); *(undefined1 *)((int)piVar2 + 0x515) = 1; uVar3 = Random(); Entity_Player::GetTearHitParams(local_78,3,0x3f800000,(uVar3 & 1) * 2 + -1,0); @@ -301393,34 +301683,36 @@ Entity_Familiar::GetFollowTargetPosition(Entity_Familiar *this,float *param_2,ch } -//@@ 0063b8b0 FUN_0063b8b0 +//@@ 0063b8b0 Entity_Familiar::RemoveFromPlayer /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: thiscall on familiar: calls own vtable slot 10 (+0x28, Entity_Familiar::Remove), switch on + variant (+0x2c) removing the granting collectible/trinket/null effect from player (+0x410), + EvaluateItems; called in Entity_Player::UseActiveItem COLLECTIBLE_SACRIFICIAL_ALTAR loop; + REPENTOGON EntityFamiliar::RemoveFromPlayer + prototype: REPENTOGON, confirmed by RET 4 */ -void FUN_0063b8b0(void) +void __thiscall Entity_Familiar::RemoveFromPlayer(Entity_Familiar *this,byte UnusedRemoveFamiliar) { - int *piVar1; uint *_Src; + short *psVar1; void **ppvVar2; void *pvVar3; int iVar4; - Entity_Player *this; + Entity_Player *this_00; uint *puVar5; Manager *pMVar6; byte bVar7; - RNG RVar8; + ItemConfig_Item *pIVar8; uint uVar9; uint uVar10; - RNG *pRVar11; - uint *_Dst; - undefined2 uVar12; - int *in_ECX; - int iVar13; + int *piVar11; + uint *puVar12; + undefined2 uVar13; int iVar14; + int iVar15; RNG local_38; - longlong local_34; - undefined4 local_2c; uint local_28; int local_24; int local_20; @@ -301428,114 +301720,115 @@ void FUN_0063b8b0(void) int local_18 [5]; local_18[4] = __security_cookie ^ (uint)(local_18 + 5); - (**(code **)(*in_ECX + 0x28))(); + (**(code **)(*(int *)this + 0x28))(); pMVar6 = g_manager; - RVar8 = *(RNG *)(in_ECX + 0x3ba); + pIVar8 = this->_item; local_19 = '\0'; - switch(in_ECX[0xb]) { + switch(this->_variant) { case 0x1c: - bVar7 = Entity_Player::HasCollectible((Entity_Player *)in_ECX[0x104],0xef,0); - iVar14 = (bVar7 != 0) + 0xee; + bVar7 = Entity_Player::HasCollectible(this->_player,0xef,0); + iVar15 = (bVar7 != 0) + 0xee; goto LAB_0063b918; case 0x41: - iVar14 = in_ECX[0x104]; - bVar7 = TemporaryEffects::HasNullEffect((TemporaryEffects *)(iVar14 + 0x1508),0x6b); + pvVar3 = this->_player; + bVar7 = TemporaryEffects::HasNullEffect((TemporaryEffects *)((int)pvVar3 + 0x1508),0x6b); if (bVar7 != 0) { - TemporaryEffects::RemoveNullEffect((TemporaryEffects *)(iVar14 + 0x1508),0x6b,1); + TemporaryEffects::RemoveNullEffect((TemporaryEffects *)((int)pvVar3 + 0x1508),0x6b,1); goto LAB_0063bcad; } break; case 0x66: - local_38 = *(RNG *)(in_ECX + 0xfb); - local_34 = 0x1500000002; - local_2c = 9; + local_38._seed = this->_initSeed; + local_38._shift1 = 2; + local_38._shift2 = 0x15; + local_38._shift3 = 9; local_18[1] = 0x90; local_18[2] = 0x116; local_18[3] = 0x184; uVar9 = RNG::RandomInt(&local_38,3); - iVar14 = local_18[uVar9 + 1]; + iVar15 = local_18[uVar9 + 1]; LAB_0063b918: - RVar8 = (RNG)ItemConfig::GetCollectible(&pMVar6->_itemConfig,iVar14); + pIVar8 = ItemConfig::GetCollectible(&pMVar6->_itemConfig,iVar15); local_19 = '\x01'; break; case 0x67: - iVar14 = *(short *)(in_ECX[0x104] + 0x1382) + -1; - uVar12 = 0; - if (0 < iVar14) { - uVar12 = (short)iVar14; + iVar15 = *(short *)((int)this->_player + 0x1382) + -1; + uVar13 = 0; + if (0 < iVar15) { + uVar13 = (short)iVar15; } - *(undefined2 *)(in_ECX[0x104] + 0x1382) = uVar12; + *(undefined2 *)((int)this->_player + 0x1382) = uVar13; goto LAB_0063bcad; case 0x71: - iVar14 = ((Entity_Player *)in_ECX[0x104])->_playerForms[0xc]; - if (iVar14 < 1) { + iVar15 = this->_player->_playerForms[0xc]; + if (iVar15 < 1) { return; } - Entity_Player::IncrementPlayerFormCounter((Entity_Player *)in_ECX[0x104],0xc,-iVar14); + Entity_Player::IncrementPlayerFormCounter(this->_player,0xc,-iVar15); return; case 0xf4: - TemporaryEffects::RemoveNullEffect((TemporaryEffects *)(in_ECX[0x104] + 0x1508),0x6b,1); + TemporaryEffects::RemoveNullEffect((TemporaryEffects *)((int)this->_player + 0x1508),0x6b,1); goto LAB_0063bcad; } - if (RVar8 != (RNG)0x0) { - iVar14 = *(int *)RVar8; - if (((iVar14 == 1) || (iVar14 == 3)) || (iVar14 == 4)) { - uVar9 = *(int *)((int)RVar8 + 4); + if (pIVar8 != (ItemConfig_Item *)0x0) { + iVar15 = pIVar8->type; + if (((iVar15 == 1) || (iVar15 == 3)) || (iVar15 == 4)) { + uVar9 = pIVar8->id; local_20 = 0; local_28 = uVar9; - bVar7 = Entity_Player::HasCollectible((Entity_Player *)in_ECX[0x104],0x19d,0); - if ((bVar7 == 0) && - (bVar7 = Entity_Player::HasCollectible((Entity_Player *)in_ECX[0x104],0x19c,0), bVar7 == 0) + bVar7 = Entity_Player::HasCollectible(this->_player,0x19d,0); + if ((bVar7 == 0) && (bVar7 = Entity_Player::HasCollectible(this->_player,0x19c,0), bVar7 == 0) ) { LAB_0063bb29: if (uVar9 == 10) { - pvVar3 = (((Entity_Player *)in_ECX[0x104])->_pillEffectUses)._begin; - iVar14 = *(int *)((int)pvVar3 + 0x28); - if (iVar14 < 1) { - bVar7 = Entity_Player::HasCollectible((Entity_Player *)in_ECX[0x104],10,0); + pvVar3 = (this->_player->_pillEffectUses)._begin; + iVar15 = *(int *)((int)pvVar3 + 0x28); + if (iVar15 < 1) { + bVar7 = Entity_Player::HasCollectible(this->_player,10,0); if (bVar7 == 0) { - iVar14 = 0; + iVar15 = 0; } else { - iVar14 = 1; + iVar15 = 1; local_20 = 1; - piVar1 = (int *)(*(int *)(in_ECX[0x104] + 0x16d4) + 0x28); - *piVar1 = *piVar1 + 1; + piVar11 = (int *)(*(int *)((int)this->_player + 0x16d4) + 0x28); + *piVar11 = *piVar11 + 1; } goto LAB_0063bc53; } - *(int *)((int)pvVar3 + 0x28) = iVar14 + -1; + *(int *)((int)pvVar3 + 0x28) = iVar15 + -1; } else { LAB_0063bbd4: if (uVar9 != 0x20d) { if (uVar9 == 0x49) { - iVar14 = in_ECX[0xb] + -0x2b; - iVar4 = *(int *)(in_ECX[0x104] + 0x153c); - iVar13 = iVar4; - if (iVar14 < iVar4) { - iVar13 = iVar14; + iVar15 = this->_variant + -0x2b; + iVar4 = *(int *)((int)this->_player + 0x153c); + iVar14 = iVar4; + if (iVar15 < iVar4) { + iVar14 = iVar15; } - iVar14 = iVar14 - iVar13; - *(int *)(in_ECX[0x104] + 0x153c) = iVar4 - iVar13; - local_20 = iVar14; + iVar15 = iVar15 - iVar14; + *(int *)((int)this->_player + 0x153c) = iVar4 - iVar14; + local_20 = iVar15; } else { uVar10 = 0; if (uVar9 != 0xcf) goto LAB_0063bad8; - iVar14 = in_ECX[0xb] + -0x44; - iVar4 = *(int *)(in_ECX[0x104] + 0x1540); - iVar13 = iVar4; - if (iVar14 < iVar4) { - iVar13 = iVar14; + iVar15 = this->_variant + -0x44; + iVar4 = *(int *)((int)this->_player + 0x1540); + iVar14 = iVar4; + if (iVar15 < iVar4) { + iVar14 = iVar15; } - iVar14 = iVar14 - iVar13; - *(int *)(in_ECX[0x104] + 0x1540) = iVar4 - iVar13; - local_20 = iVar14; + iVar15 = iVar15 - iVar14; + *(int *)((int)this->_player + 0x1540) = iVar4 - iVar14; + local_20 = iVar15; } goto LAB_0063bc53; } - *(short *)(in_ECX[0x104] + 0x1384) = *(short *)(in_ECX[0x104] + 0x1384) + -1; + psVar1 = (short *)((int)this->_player + 0x1384); + *psVar1 = *psVar1 + -1; } } else { @@ -301585,44 +301878,44 @@ LAB_0063bbd4: } } LAB_0063bad8: - iVar14 = 1; + iVar15 = 1; local_20 = 1; if (uVar10 != 0) { - uVar9 = *(uint *)(in_ECX[0x104] + 0x1938); + uVar9 = *(uint *)((int)this->_player + 0x1938); if ((uVar10 & uVar9) != 0) { - iVar14 = 0; - *(uint *)(in_ECX[0x104] + 0x1938) = uVar9 | uVar10; + iVar15 = 0; + *(uint *)((int)this->_player + 0x1938) = uVar9 | uVar10; local_20 = 0; } } LAB_0063bc53: local_24 = 0; - if (0 < iVar14) { + if (0 < iVar15) { LAB_0063bc60: - this = (Entity_Player *)in_ECX[0x104]; - if ((this->_temporaryeffects)._disabled == 0) { - for (pRVar11 = (this->_temporaryeffects)._effects._begin; - pRVar11 != (this->_temporaryeffects)._effects._end; pRVar11 = pRVar11 + 4) { - if (*pRVar11 == RVar8) { - if ((*(int *)RVar8 == 3) && (*(byte *)((int)RVar8 + 0xb1) == 0)) goto LAB_0063bdc5; - _Dst = (this->_levelEffectItems)._begin; - puVar5 = (this->_levelEffectItems)._end; - if (_Dst != puVar5) goto LAB_0063bd00; + this_00 = this->_player; + if ((this_00->_temporaryeffects)._disabled == 0) { + for (piVar11 = (this_00->_temporaryeffects)._effects._begin; + piVar11 != (this_00->_temporaryeffects)._effects._end; piVar11 = piVar11 + 4) { + if ((ItemConfig_Item *)*piVar11 == pIVar8) { + if ((pIVar8->type == 3) && (pIVar8->passiveCache == 0)) goto LAB_0063bdc5; + puVar12 = (this_00->_levelEffectItems)._begin; + puVar5 = (this_00->_levelEffectItems)._end; + if (puVar12 != puVar5) goto LAB_0063bd00; break; } } } LAB_0063bc8b: - Entity_Player::RemoveCollectible(this,local_28,0,0,1); + Entity_Player::RemoveCollectible(this_00,local_28,0,0,1); goto LAB_0063bc9b; } } } - else if (iVar14 == 2) { - uVar9 = *(int *)((int)RVar8 + 4); - bVar7 = Entity_Player::HasTrinket((Entity_Player *)in_ECX[0x104],uVar9,0); + else if (iVar15 == 2) { + uVar9 = pIVar8->id; + bVar7 = Entity_Player::HasTrinket(this->_player,uVar9,0); if (bVar7 != 0) { - Entity_Player::TryRemoveTrinket((Entity_Player *)in_ECX[0x104],uVar9); + Entity_Player::TryRemoveTrinket(this->_player,uVar9); } } } @@ -301631,27 +301924,28 @@ LAB_0063bca7: return; } LAB_0063bcad: - *(uint *)(in_ECX[0x104] + 0x1574) = *(uint *)(in_ECX[0x104] + 0x1574) | 0x200; + puVar12 = (uint *)((int)this->_player + 0x1574); + *puVar12 = *puVar12 | 0x200; Entity_Player::EvaluateItems(); return; LAB_0063bd00: - _Src = _Dst + 1; - if (*_Dst != local_28) { - _Dst = _Src; + _Src = puVar12 + 1; + if (*puVar12 != local_28) { + puVar12 = _Src; if (_Src == puVar5) goto LAB_0063bc8b; goto LAB_0063bd00; } - memmove(_Dst,_Src,(int)puVar5 - (int)_Src); - ppvVar2 = &(this->_levelEffectItems)._end; + memmove(puVar12,_Src,(int)puVar5 - (int)_Src); + ppvVar2 = &(this_00->_levelEffectItems)._end; *ppvVar2 = (void *)((int)*ppvVar2 + -4); - uVar9 = *(uint *)(*(int *)(in_ECX[0x104] + 0x173c) + local_24 * 4); + uVar9 = *(uint *)(*(int *)((int)this->_player + 0x173c) + local_24 * 4); if (g_game == (Game *)0x0) { if ((int)uVar9 < 0) goto LAB_0063bdc5; LAB_0063bd84: pvVar3 = (g_manager->_itemConfig)._collectibles._begin; if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar3 >> 2 <= (int)uVar9) goto LAB_0063bdc5; - iVar14 = *(int *)((int)pvVar3 + uVar9 * 4); + iVar15 = *(int *)((int)pvVar3 + uVar9 * 4); } else { if (-1 < (int)uVar9) goto LAB_0063bd84; @@ -301659,24 +301953,24 @@ LAB_0063bd84: (pvVar3 = (g_game->_proceduralItemManager)._proceduralItems._begin, (int)~uVar9 < (int)(g_game->_proceduralItemManager)._proceduralItems._end - (int)pvVar3 >> 2) ) { - iVar14 = **(int **)((int)pvVar3 + ~uVar9 * 4); + iVar15 = **(int **)((int)pvVar3 + ~uVar9 * 4); } else { - iVar14 = 0; + iVar15 = 0; } } - if (iVar14 != 0) { - local_18[2] = *(undefined4 *)(iVar14 + 0x78); + if (iVar15 != 0) { + local_18[2] = *(undefined4 *)(iVar15 + 0x78); local_18[1] = 0; local_18[3] = 0; - local_18[0] = iVar14; - TemporaryEffects::RemoveEffect((TemporaryEffects *)(in_ECX[0x104] + 0x1508),local_18,1); + local_18[0] = iVar15; + TemporaryEffects::RemoveEffect((TemporaryEffects *)((int)this->_player + 0x1508),local_18,1); } LAB_0063bdc5: - local_34 = (ulonglong)(uint)*(int *)((int)RVar8 + 0x78) << 0x20; - local_2c = 0; - local_38 = RVar8; - TemporaryEffects::RemoveEffect((TemporaryEffects *)(in_ECX[0x104] + 0x1508),&local_38,1); + local_38._4_8_ = (ulonglong)(uint)pIVar8->maxCooldown << 0x20; + local_38._shift3 = 0; + local_38._seed = (int)pIVar8; + TemporaryEffects::RemoveEffect((TemporaryEffects *)((int)this->_player + 0x1508),&local_38,1); LAB_0063bc9b: local_24 = local_24 + 1; if (local_20 <= local_24) goto LAB_0063bca7; @@ -301755,7 +302049,7 @@ void __thiscall Entity_Familiar::ai_minisaac(Entity_Familiar *this) { ANM2 *this_00; EntityPtr *pEVar1; - undefined1 *puVar2; + std_set *psVar2; float fVar3; code *pcVar4; longlong lVar5; @@ -301795,7 +302089,7 @@ void __thiscall Entity_Familiar::ai_minisaac(Entity_Familiar *this) int local_b8; int local_b4; int local_b0; - int iStack_ac; + void *pvStack_ac; float local_a8; float local_a0; float local_9c; @@ -301910,7 +302204,7 @@ void __thiscall Entity_Familiar::ai_minisaac(Entity_Familiar *this) } FamiliarHelper::fly_head_pathfind_move(); minisaac_find_target(); - minisaac_fire(); + minisaac_fire(this); pGVar8 = g_game; if ((((this->_flags & 0x4000) == 0) && (bVar10 = Game::IsPaused(g_game), bVar10 == 0)) && ((pGVar8->_frameCount % 0xf == 0 && (1.0 < this->_health)))) { @@ -302143,15 +302437,15 @@ LAB_0063cae7: (local_c8->_proceduralItemManager)._proceduralItems._end)) { iStack_78 = pEVar20->_variant; iVar12 = pEVar20->_type; - puVar2 = &local_c8->field_0x67780; + psVar2 = &(local_c8->_proceduralItemManager)._spawnTriggerTargets; iStack_7c = iVar12; - std::map::find(&iStack_ac,&iStack_7c); - if (iStack_ac == *(int *)puVar2) { + std::map::find(&pvStack_ac,&iStack_7c); + if (pvStack_ac == psVar2->_head) { uStack_70 = 0xffffffff; iStack_74 = iVar12; piVar15 = (int *)std::map::find(auStack_5c,&iStack_74); - iStack_ac = *piVar15; - if (iStack_ac == *(int *)puVar2) goto LAB_0063cd56; + pvStack_ac = (void *)*piVar15; + if (pvStack_ac == psVar2->_head) goto LAB_0063cd56; } uVar14 = 0; pPVar18 = &g_game->_playerManager; @@ -302212,15 +302506,14 @@ LAB_0063cd56: branch, apply_tear_modifiers, spawns knife (8.1) or TryFireTear depending on the player's weapon */ -void Entity_Familiar::minisaac_fire(void) +void __thiscall Entity_Familiar::minisaac_fire(Entity_Familiar *this) { int iVar1; undefined4 uVar2; Entity_Knife *pEVar3; float *pfVar4; - Entity_Tear *this; - EntityPtr in_ECX; + Entity_Tear *this_00; Manager *pMVar5; EntityPtr *pEVar6; float fVar7; @@ -302236,21 +302529,21 @@ void Entity_Familiar::minisaac_fire(void) float local_14; undefined1 local_10 [12]; - if ((-1 < *(int *)((int)in_ECX + 0xd58)) && (*(int *)((int)in_ECX + 0xd4c) < 1)) { + if ((-1 < this->_shootDirection) && (this->_fireCooldown < 1)) { Isaac::GetAxisAlignedUnitVectorFromDir(); - if (*(int *)((int)in_ECX + 0x30) == 99) { + if (this->_subtype == 99) { iVar1 = _get_index_plus_one_if_kind_4_5(); pEVar6 = (EntityPtr *)((float)iVar1 * 0.15 + 1.2); local_20[0] = pEVar6; - apply_tear_modifiers(); + apply_tear_modifiers(this); fVar7 = ((float)pEVar6 * 0.4 + 0.6) * (float)local_20[0]; local_24 = fVar7; - apply_tear_modifiers(); + apply_tear_modifiers(this); local_2c = (fVar7 * 0.25 + 0.75) * 0.7; uVar2 = Random(); - local_34 = *(float *)((int)in_ECX + 0x33c); - local_30 = *(float *)((int)in_ECX + 0x340); - uVar2 = Game::SpawnEx(g_game,8,1,&local_34,&g_vectorZero,in_ECX,4,uVar2,0); + local_34 = (this->_pos).x; + local_30 = (this->_pos).y; + uVar2 = Game::SpawnEx(g_game,8,1,&local_34,&g_vectorZero,this,4,uVar2,0); pEVar3 = (Entity_Knife *) __RTDynamicCast(uVar2,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Knife::RTTI_Type_Descriptor,0); @@ -302259,7 +302552,7 @@ void Entity_Familiar::minisaac_fire(void) local_20[0] = pEVar6; std::multiset::erase(local_20); } - *pEVar6 = in_ECX; + *pEVar6 = (EntityPtr)this; std::multiset::insert(pEVar6); (pEVar3->_targetPosition).x = 8.0; (pEVar3->_targetPosition).y = 0.0; @@ -302276,15 +302569,15 @@ void Entity_Familiar::minisaac_fire(void) Entity_Knife::SetAttackAnimation(pEVar3); (**(code **)(*(int *)pEVar3 + 0xc))(); pMVar5 = g_manager; - *(undefined4 *)((int)in_ECX + 0xd4c) = 0x14; + this->_fireCooldown = 0x14; seed_fart_sound_override(); Pitch = 1.5; Volume = 0.6; fVar7 = 3.53127e-43; } else { - local_20[0] = (EntityPtr *)(*(float *)((int)in_ECX + 0x360) * 0.5); - local_34 = *(float *)((int)in_ECX + 0x364) * 0.5; + local_20[0] = (EntityPtr *)((this->_velocity).x * 0.5); + local_34 = (this->_velocity).y * 0.5; local_2c = local_14; local_24 = local_18; fVar7 = local_14 * local_14 + local_18 * local_18; @@ -302308,34 +302601,33 @@ void Entity_Familiar::minisaac_fire(void) iVar1 = _get_index_plus_one_if_kind_4_5(); pEVar6 = (EntityPtr *)((float)iVar1 * 0.15 + 1.2); local_20[0] = pEVar6; - apply_tear_modifiers(); + apply_tear_modifiers(this); pEVar6 = (EntityPtr *)(((float)pEVar6 * 0.4 + 0.6) * (float)local_20[0]); local_20[0] = pEVar6; - apply_tear_modifiers(); + apply_tear_modifiers(this); local_24 = ((float)pEVar6 * 0.25 + 0.75) * 0.5; uVar2 = Random(); - this = (Entity_Tear *)Game::SpawnEx(g_game,2,0,(int)in_ECX + 0x33c,&local_2c,in_ECX,0,uVar2,0) - ; - (**(code **)(*(int *)this + 0x40))(local_20[0]); - if (*(int *)((int)in_ECX + 0x184) == 5) { + this_00 = (Entity_Tear *)Game::SpawnEx(g_game,2,0,&this->_pos,&local_2c,this,0,uVar2,0); + (**(code **)(*(int *)this_00 + 0x40))(local_20[0]); + if (this->_entityGridCollisionClass == 5) { uVar2 = 0xc1600000; } else { uVar2 = 0xc1900000; } - Entity_Projectile::SetHeight((Entity_Projectile *)this,uVar2); - fVar7 = local_28 * this->_baseScale; + Entity_Projectile::SetHeight((Entity_Projectile *)this_00,uVar2); + fVar7 = local_28 * this_00->_baseScale; if (fVar7 <= 0.01) { fVar7 = 0.01; } - this->_baseScale = fVar7; - this->_fScale = fVar7; - Entity_Tear::ResetSpriteScale(this); - TryFireTear(); - (**(code **)(*(int *)this + 0xc))(); - Entity::convert_shot_for_enemy_owner(this); + this_00->_baseScale = fVar7; + this_00->_fScale = fVar7; + Entity_Tear::ResetSpriteScale(this_00); + TryFireTear(this,this_00); + (**(code **)(*(int *)this_00 + 0xc))(); + Entity::convert_shot_for_enemy_owner(this_00); pMVar5 = g_manager; - *(undefined4 *)((int)in_ECX + 0xd4c) = 10; + this->_fireCooldown = 10; local_24 = 2.14399e-43; seed_fart_sound_override(); Pitch = 1.0; @@ -302344,8 +302636,8 @@ void Entity_Familiar::minisaac_fire(void) } SoundEffects::Play(&pMVar5->_sfxManager,(int)fVar7,Volume,2,0,Pitch,0.0); } - if (0 < *(int *)((int)in_ECX + 0xd4c)) { - *(int *)((int)in_ECX + 0xd4c) = *(int *)((int)in_ECX + 0xd4c) + -1; + if (0 < this->_fireCooldown) { + this->_fireCooldown = this->_fireCooldown + -1; } return; } @@ -303175,12 +303467,13 @@ LAB_0063f1f9: iStack_7c = *(int *)((int)pGVar21 + 0x2c); uStack_80 = *(int *)((int)pGVar21 + 0x28); std::map::find(&pGStack_ac,&uStack_80); - if (pGStack_ac == *(Game **)&pGVar23->field_0x67780) { + if (pGStack_ac == (pGVar23->_proceduralItemManager)._spawnTriggerTargets._head) { fStack_88 = *(float *)((int)pGVar21 + 0x28); fStack_84 = -NAN; piVar11 = (int *)std::map::find(&fStack_90,&fStack_88); pGStack_ac = (Game *)*piVar11; - if (pGStack_ac == *(Game **)&pGVar23->field_0x67780) goto LAB_0063f472; + if (pGStack_ac == (pGVar23->_proceduralItemManager)._spawnTriggerTargets._head) + goto LAB_0063f472; } pPVar16 = &g_game->_playerManager; pIStack_bc = (ItemPool *)0x0; @@ -303837,8 +304130,6 @@ void FUN_006403f0(void) float fVar13; float fVar14; RNG RStack_38; - undefined8 uStack_34; - undefined4 uStack_2c; Vector VStack_28; float fStack_20; float fStack_1c; @@ -303892,9 +304183,10 @@ void FUN_006403f0(void) break; case 3: ANM2::Play(&in_ECX->_sprite,s_Fly,0); - RStack_38 = (RNG)in_ECX->_initSeed; - uStack_34 = 0x900000005; - uStack_2c = 7; + RStack_38._seed = in_ECX->_initSeed; + RStack_38._shift1 = 5; + RStack_38._shift2 = 9; + RStack_38._shift3 = 7; fVar14 = RNG::RandomFloat(&RStack_38); pvVar2 = in_ECX->_player; fVar12 = (float)(g_game->_frameCount - in_ECX->_spawnFrame); @@ -305732,18 +306024,17 @@ void __thiscall Entity_Familiar::ai_stitches(Entity_Familiar *this) byte bVar5; int *piVar6; LayerState *pLVar7; - int iVar8; - byte *pbVar9; - uint uVar10; - undefined4 uVar11; - Game *pGVar12; - char *pcVar13; - bool bVar14; + byte *pbVar8; + uint uVar9; + int iVar10; + Game *pGVar11; + char *pcVar12; + bool bVar13; + float fVar14; float fVar15; float fVar16; float fVar17; - float fVar18; - Entity_Familiar *pEVar19; + Entity_Familiar *pEVar18; undefined1 auStack_18c [228]; float fStack_a8; Vector *pVStack_a4; @@ -305874,8 +306165,8 @@ LAB_0064423d: } bVar5 = Entity_Player::HasCollectible(this->_player,0x3b,0); if (bVar5 != 0) { - fVar16 = *(float *)((int)this->_player + 0x157c); - fStack_3c = fVar16 + fVar16 + 3.0; + fVar15 = *(float *)((int)this->_player + 0x157c); + fStack_3c = fVar15 + fVar15 + 3.0; Random(); fStack_94 = 2.32616e-43; fStack_98 = 1.4013e-42; @@ -305904,63 +306195,63 @@ LAB_0064423d: uStack_30 = 0; uStack_2c = 0x3f800000; Sprite::SetColor((Sprite *)(piStack_64 + 0x12)); - uVar10 = g_graphicsManager_flags; + uVar9 = g_graphicsManager_flags; pLVar7 = ANM2::GetLayer((ANM2 *)(piVar6 + 0x12),(byte *)0x0); - uVar11 = 1; - if ((uVar10 & 4) == 0) { - uVar11 = 6; + iVar10 = 1; + if ((uVar9 & 4) == 0) { + iVar10 = 6; } - *(undefined4 *)&pLVar7->field_0x7c = uVar11; - *(undefined4 *)&pLVar7->field_0x78 = 0; - *(undefined4 *)&pLVar7->field_0x80 = 7; - *(undefined4 *)&pLVar7->field_0x84 = 1; - *(undefined4 *)&pLVar7->field_0x88 = 7; - fVar16 = g_vectorOne.y; + pLVar7->_blendMode[1] = iVar10; + pLVar7->_blendMode[0] = 0; + pLVar7->_blendMode[2] = 7; + pLVar7->_blendMode[3] = 1; + pLVar7->_blendMode[4] = 7; + fVar15 = g_vectorOne.y; piVar6[0x39] = (int)g_vectorOne.x; - piVar6[0x3a] = (int)fVar16; + piVar6[0x3a] = (int)fVar15; piVar6[0x115] = 0x3da3d70a; piVar6[0x116] = 0x3da3d70a; (**(code **)(*piVar6 + 0xc))(); this = local_5c; - iVar8 = *(int *)((int)local_5c->_player + 0x340); + iVar10 = *(int *)((int)local_5c->_player + 0x340); piVar6[0xcf] = *(int *)((int)local_5c->_player + 0x33c); - piVar6[0xd0] = iVar8; - fVar16 = g_vectorOne.x; - fVar15 = g_vectorOne.y * 2.0; + piVar6[0xd0] = iVar10; + fVar15 = g_vectorOne.x; + fVar14 = g_vectorOne.y * 2.0; piVar6[0x115] = 0x3d23d70a; piVar6[0x116] = 0x3d23d70a; - piVar6[0x3a] = (int)fVar15; - piVar6[0x39] = (int)(fVar16 * 2.0); + piVar6[0x3a] = (int)fVar14; + piVar6[0x39] = (int)(fVar15 * 2.0); (**(code **)(*piVar6 + 0xc))(); fStack_68 = *(float *)((int)this->_player + 0x340) - (this->_pos).y; local_5c = (Entity_Familiar *)(*(float *)((int)this->_player + 0x33c) - (this->_pos).x); - fVar16 = fStack_68 * fStack_68 + (float)local_5c * (float)local_5c; + fVar15 = fStack_68 * fStack_68 + (float)local_5c * (float)local_5c; sqrtf(); - fStack_40 = fVar16; - if (0.0 < fVar16) { - pEVar19 = (Entity_Familiar *)((float)local_5c / fVar16); + fStack_40 = fVar15; + if (0.0 < fVar15) { + pEVar18 = (Entity_Familiar *)((float)local_5c / fVar15); local_70 = (int *)0x0; local_58 = g_game->_room; - fVar16 = fStack_68 / fVar16; - pGVar12 = g_game; - fStack_68 = fVar16; - local_5c = pEVar19; + fVar15 = fStack_68 / fVar15; + pGVar11 = g_game; + fStack_68 = fVar15; + local_5c = pEVar18; if (*(int *)((int)local_58 + 0x1264) != 0) { do { piVar6 = *(int **)(*(int *)((int)local_58 + 0x125c) + (int)local_70 * 4); if ((piVar6[0x62] != 0) && - ((((1 < *(int *)&pGVar12->_deathmatchManager && (piVar6[10] == 1)) || + ((((1 < *(int *)&pGVar11->_deathmatchManager && (piVar6[10] == 1)) || (piVar6[10] - 10U < 0x3de)) && ((piVar6[0x5a] & 0x20000000U) == 0)))) { piStack_64 = (int *)((float)piVar6[0xd0] - (this->_pos).y); fStack_44 = (float)piVar6[0xcf] - (this->_pos).x; - pcStack_48 = (code *)(fVar16 * (float)piStack_64 + (float)pEVar19 * fStack_44); - fVar16 = 1.5707964; - cos(); + pcStack_48 = (code *)(fVar15 * (float)piStack_64 + (float)pEVar18 * fStack_44); fVar15 = 1.5707964; - local_60 = fVar16; + cos(); + fVar14 = 1.5707964; + local_60 = fVar15; sin(); - if ((((fVar15 * (float)local_5c + local_60 * fStack_68) * (float)piStack_64 + - (local_60 * (float)local_5c - fVar15 * fStack_68) * fStack_44 < + if ((((fVar14 * (float)local_5c + local_60 * fStack_68) * (float)piStack_64 + + (local_60 * (float)local_5c - fVar14 * fStack_68) * fStack_44 < (float)piVar6[0xdc] + 25.0) && (0.0 <= (float)pcStack_48)) && ((float)pcStack_48 <= fStack_40)) { pvStack_14 = this->_player; @@ -305982,7 +306273,7 @@ LAB_00643fcf: local_60 = 0.0; if (pvStack_14 != (void *)0x0) goto LAB_00643fdb; LAB_00643ff4: - uVar10 = 0; + uVar9 = 0; } else { uStack_38 = *(undefined4 *)((int)pvStack_14 + 0x28); @@ -306000,34 +306291,34 @@ LAB_00643fad: local_60 = 2.8026e-45; LAB_00643fdb: if ((*(uint *)((int)pvStack_14 + 0x16c) & 0x400000) == 0) goto LAB_00643ff4; - uVar10 = 4; + uVar9 = 4; } - uStack_18 = uVar10 | (uint)local_60 | (uint)piStack_64; + uStack_18 = uVar9 | (uint)local_60 | (uint)piStack_64; (*pcStack_48)(); } - pGVar12 = g_game; - pEVar19 = local_5c; - fVar16 = fStack_68; + pGVar11 = g_game; + pEVar18 = local_5c; + fVar15 = fStack_68; } local_70 = (int *)((int)local_70 + 1); } while (local_70 < *(int **)((int)local_58 + 0x1264)); } } - iVar8 = Random(); + iVar10 = Random(); pMVar4 = g_manager; local_70 = (int *)0x1fa; - local_58 = (void *)((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * + local_58 = (void *)((float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 0.2 + 1.5); seed_fart_sound_override(); fStack_94 = 9.206801e-39; SoundEffects::Play(&pMVar4->_sfxManager,(int)local_70,1.0,1,0,(float)local_58,0.0); Game::ShakeScreen(g_game,6); } - iVar8 = *(int *)((int)this->_player + 0x13bc); - if (iVar8 < 0x1e) { - iVar8 = 0x1e; + iVar10 = *(int *)((int)this->_player + 0x13bc); + if (iVar10 < 0x1e) { + iVar10 = 0x1e; } - *(int *)((int)this->_player + 0x13bc) = iVar8; + *(int *)((int)this->_player + 0x13bc) = iVar10; pvVar2 = this->_player; *(uint *)((int)pvVar2 + 0x16c) = *(uint *)((int)pvVar2 + 0x16c) | 0x10; *(undefined4 *)((int)pvVar2 + 0x168) = *(undefined4 *)((int)pvVar2 + 0x168); @@ -306043,29 +306334,29 @@ LAB_0064418e: } } else { - pbVar9 = pbVar3; + pbVar8 = pbVar3; if (0xf < *(uint *)(pbVar3 + 0x14)) { - pbVar9 = *(byte **)pbVar3; + pbVar8 = *(byte **)pbVar3; } - pcVar13 = "TeleportDown"; + pcVar12 = "TeleportDown"; do { - bVar5 = *pbVar9; - bVar14 = bVar5 < (byte)*pcVar13; - if (bVar5 != *pcVar13) { + bVar5 = *pbVar8; + bVar13 = bVar5 < (byte)*pcVar12; + if (bVar5 != *pcVar12) { LAB_00644170: - uVar10 = -(uint)bVar14 | 1; + uVar9 = -(uint)bVar13 | 1; goto LAB_00644175; } if (bVar5 == 0) break; - bVar5 = pbVar9[1]; - bVar14 = bVar5 < (byte)pcVar13[1]; - if (bVar5 != pcVar13[1]) goto LAB_00644170; - pbVar9 = pbVar9 + 2; - pcVar13 = pcVar13 + 2; + bVar5 = pbVar8[1]; + bVar13 = bVar5 < (byte)pcVar12[1]; + if (bVar5 != pcVar12[1]) goto LAB_00644170; + pbVar8 = pbVar8 + 2; + pcVar12 = pcVar12 + 2; } while (bVar5 != 0); - uVar10 = 0; + uVar9 = 0; LAB_00644175: - if ((uVar10 != 0) || ((pbVar3[0x34] != 0 && ((this->_sprite)._animState._isPlaying == 0)))) + if ((uVar9 != 0) || ((pbVar3[0x34] != 0 && ((this->_sprite)._animState._isPlaying == 0)))) goto LAB_0064418e; } this->_state = 2; @@ -306081,29 +306372,29 @@ LAB_00644210: } } else { - pbVar9 = pbVar3; + pbVar8 = pbVar3; if (0xf < *(uint *)(pbVar3 + 0x14)) { - pbVar9 = *(byte **)pbVar3; + pbVar8 = *(byte **)pbVar3; } - pcVar13 = "TeleportDown"; + pcVar12 = "TeleportDown"; do { - bVar5 = *pbVar9; - bVar14 = bVar5 < (byte)*pcVar13; - if (bVar5 != *pcVar13) { + bVar5 = *pbVar8; + bVar13 = bVar5 < (byte)*pcVar12; + if (bVar5 != *pcVar12) { LAB_006441f2: - uVar10 = -(uint)bVar14 | 1; + uVar9 = -(uint)bVar13 | 1; goto LAB_006441f7; } if (bVar5 == 0) break; - bVar5 = pbVar9[1]; - bVar14 = bVar5 < (byte)pcVar13[1]; - if (bVar5 != pcVar13[1]) goto LAB_006441f2; - pbVar9 = pbVar9 + 2; - pcVar13 = pcVar13 + 2; + bVar5 = pbVar8[1]; + bVar13 = bVar5 < (byte)pcVar12[1]; + if (bVar5 != pcVar12[1]) goto LAB_006441f2; + pbVar8 = pbVar8 + 2; + pcVar12 = pcVar12 + 2; } while (bVar5 != 0); - uVar10 = 0; + uVar9 = 0; LAB_006441f7: - if ((uVar10 != 0) || ((pbVar3[0x34] != 0 && ((this->_sprite)._animState._isPlaying == 0)))) + if ((uVar9 != 0) || ((pbVar3[0x34] != 0 && ((this->_sprite)._animState._isPlaying == 0)))) goto LAB_00644210; } if (((this->_sprite)._animState._animData == (void *)0x0) || @@ -306113,53 +306404,53 @@ LAB_006441f7: ANM2::Play(&this->_sprite,s_Idle,0); } Entity_Player::GetShootingJoystick(this->_player); - fVar16 = (this->_velocity).x; + fVar15 = (this->_velocity).x; if (this->_collidesWithGrid != 0) { - fVar16 = fVar16 * 0.88; - (this->_velocity).x = fVar16; + fVar15 = fVar15 * 0.88; + (this->_velocity).x = fVar15; (this->_velocity).y = (this->_velocity).y * 0.88; } - fVar15 = 0.0; + fVar14 = 0.0; if (((float)local_58 == 0.0) || (local_54 != 0.0)) { if ((local_54 == 0.0) || ((float)local_58 != 0.0)) goto LAB_00644300; - fVar15 = (this->_velocity).y; - fVar16 = fVar16 * 0.5; + fVar14 = (this->_velocity).y; + fVar15 = fVar15 * 0.5; } else { (this->_velocity).y = (this->_velocity).y * 0.5; - fVar15 = fVar16; + fVar14 = fVar15; } - fVar15 = ABS(fVar15); + fVar14 = ABS(fVar14); LAB_00644300: - fVar17 = (this->_velocity).y; - fVar18 = -(fVar17 * local_54 + fVar16 * (float)local_58) * 0.2; - if (fVar18 <= 0.0) { - fVar18 = 0.0; + fVar16 = (this->_velocity).y; + fVar17 = -(fVar16 * local_54 + fVar15 * (float)local_58) * 0.2; + if (fVar17 <= 0.0) { + fVar17 = 0.0; } - fVar15 = (fVar18 + fVar15 * 0.3 * 0.1 + 3.0) * 0.8; - (this->_velocity).y = (fVar15 * local_54 + fVar17) * 0.775; - (this->_velocity).x = (fVar15 * (float)local_58 + fVar16) * 0.775; + fVar14 = (fVar17 + fVar14 * 0.3 * 0.1 + 3.0) * 0.8; + (this->_velocity).y = (fVar14 * local_54 + fVar16) * 0.775; + (this->_velocity).x = (fVar14 * (float)local_58 + fVar15) * 0.775; Room::GetClampedPositionImpl(); local_60 = (float)local_58 - (this->_pos).x; local_70 = (int *)(local_54 - (this->_pos).y); if ((local_60 != g_vectorZero.x) || ((float)local_70 != g_vectorZero.y)) { - fVar16 = (float)local_70 * (float)local_70 + local_60 * local_60; + fVar15 = (float)local_70 * (float)local_70 + local_60 * local_60; sqrtf(); - if (0.0 < fVar16) { - local_70 = (int *)((float)local_70 * (1.0 / fVar16)); - local_60 = local_60 * (1.0 / fVar16); + if (0.0 < fVar15) { + local_70 = (int *)((float)local_70 * (1.0 / fVar15)); + local_60 = local_60 * (1.0 / fVar15); } - fVar16 = (this->_velocity).x; - fVar15 = this->_speedMultiplier; - fVar17 = -((float)local_70 * (this->_velocity).y + fVar16 * local_60); - if (fVar17 <= 1.0) { - fVar17 = 1.0; + fVar15 = (this->_velocity).x; + fVar14 = this->_speedMultiplier; + fVar16 = -((float)local_70 * (this->_velocity).y + fVar15 * local_60); + if (fVar16 <= 1.0) { + fVar16 = 1.0; } - if (10.0 <= fVar17) { - fVar17 = 10.0; + if (10.0 <= fVar16) { + fVar16 = 10.0; } - (this->_velocity).x = local_60 * fVar17 * fVar15 + fVar16; - (this->_velocity).y = (float)local_70 * fVar17 * fVar15 + (this->_velocity).y; + (this->_velocity).x = local_60 * fVar16 * fVar14 + fVar15; + (this->_velocity).y = (float)local_70 * fVar16 * fVar14 + (this->_velocity).y; } return; } @@ -306547,7 +306838,7 @@ void __thiscall Entity_Familiar::ai_shadow_intruder_damocles(Entity_Familiar *th int local_e8; float fStack_e4; float fStack_e0; - int iStack_dc; + void *pvStack_dc; uint uStack_d8; float fStack_d4; float fStack_d0; @@ -306920,13 +307211,15 @@ LAB_0064567d: iStack_98 = pEVar8->_variant; iVar15 = pEVar8->_type; iStack_9c = iVar15; - std::map::find(&iStack_dc,&iStack_9c); - if (iStack_dc == *(int *)&pGVar23->field_0x67780) { + std::map::find(&pvStack_dc,&iStack_9c); + if (pvStack_dc == (pGVar23->_proceduralItemManager)._spawnTriggerTargets._head) + { aiStack_94[1] = 0xffffffff; aiStack_94[0] = iVar15; piVar17 = (int *)std::map::find(auStack_54,aiStack_94); - iStack_dc = *piVar17; - if (iStack_dc == *(int *)&pGVar23->field_0x67780) goto LAB_006458e9; + pvStack_dc = (void *)*piVar17; + if (pvStack_dc == (pGVar23->_proceduralItemManager)._spawnTriggerTargets._head + ) goto LAB_006458e9; } uVar12 = 0; pPVar20 = &g_game->_playerManager; @@ -307004,42 +307297,41 @@ void FUN_00645bc0(void) { EntityPtr *pEVar1; - RNG RVar2; - int iVar3; + int iVar2; + longlong lVar3; longlong lVar4; longlong lVar5; - longlong lVar6; - Game *pGVar7; - Manager *pMVar8; + Game *pGVar6; + Manager *pMVar7; Game *type; - Entity *pEVar9; - char cVar10; + Entity *pEVar8; + char cVar9; RNG *this; - uint uVar11; - int *piVar12; - undefined4 *puVar13; - undefined4 uVar14; + uint uVar10; + int *piVar11; + undefined4 *puVar12; + undefined4 uVar13; float in_ECX; undefined4 extraout_ECX; undefined4 extraout_ECX_00; + uint uVar14; uint uVar15; - uint uVar16; - PlayerManager *pPVar17; - bool bVar18; + PlayerManager *pPVar16; + bool bVar17; + float fVar18; float fVar19; float fVar20; float fVar21; - float fVar22; - ulonglong uVar23; + ulonglong uVar22; uint uStack_80; uint uStack_7c; Game *pGStack_78; uint uStack_74; int iStack_70; - RNG RStack_6c; + uint uStack_6c; Entity *pEStack_68; Entity *pEStack_64; - RNG RStack_60; + float fStack_60; RNG *pRStack_5c; float fStack_58; float local_54; @@ -307066,27 +307358,27 @@ void FUN_00645bc0(void) break; case 1: ANM2::Play((ANM2 *)((int)in_ECX + 0x48),(byte *)"FloatDown",0); - iVar3 = *(int *)((int)in_ECX + 0x410); - fVar21 = *(float *)(iVar3 + 0x33c) - *(float *)(iVar3 + 0x1630) * 48.0; - fVar22 = *(float *)(iVar3 + 0x340) - *(float *)(iVar3 + 0x1634) * 48.0; - fVar20 = *(float *)((int)in_ECX + 0x33c) - fVar21; - fVar19 = *(float *)((int)in_ECX + 0x340) - fVar22; - if (fVar19 * fVar19 + fVar20 * fVar20 <= 2304.0) { - fVar19 = *(float *)(iVar3 + 0x364); + iVar2 = *(int *)((int)in_ECX + 0x410); + fVar20 = *(float *)(iVar2 + 0x33c) - *(float *)(iVar2 + 0x1630) * 48.0; + fVar21 = *(float *)(iVar2 + 0x340) - *(float *)(iVar2 + 0x1634) * 48.0; + fVar19 = *(float *)((int)in_ECX + 0x33c) - fVar20; + fVar18 = *(float *)((int)in_ECX + 0x340) - fVar21; + if (fVar18 * fVar18 + fVar19 * fVar19 <= 2304.0) { + fVar18 = *(float *)(iVar2 + 0x364); *(float *)((int)in_ECX + 0x360) = - *(float *)(iVar3 + 0x360) * 0.4 * *(float *)((int)in_ECX + 0x39c) + + *(float *)(iVar2 + 0x360) * 0.4 * *(float *)((int)in_ECX + 0x39c) + *(float *)((int)in_ECX + 0x360); *(float *)((int)in_ECX + 0x364) = - fVar19 * 0.4 * *(float *)((int)in_ECX + 0x39c) + *(float *)((int)in_ECX + 0x364); + fVar18 * 0.4 * *(float *)((int)in_ECX + 0x39c) + *(float *)((int)in_ECX + 0x364); } else { - local_54 = (fVar21 - *(float *)((int)in_ECX + 0x33c)) * 0.04; - fStack_58 = (fVar22 - *(float *)((int)in_ECX + 0x340)) * 0.04; - fVar19 = fStack_58 * fStack_58 + local_54 * local_54; + local_54 = (fVar20 - *(float *)((int)in_ECX + 0x33c)) * 0.04; + fStack_58 = (fVar21 - *(float *)((int)in_ECX + 0x340)) * 0.04; + fVar18 = fStack_58 * fStack_58 + local_54 * local_54; sqrtf(); - if ((5.0 < fVar19) && (0.0 < fVar19)) { - fStack_58 = (5.0 / fVar19) * fStack_58; - local_54 = (5.0 / fVar19) * local_54; + if ((5.0 < fVar18) && (0.0 < fVar18)) { + fStack_58 = (5.0 / fVar18) * fStack_58; + local_54 = (5.0 / fVar18) * local_54; } *(float *)((int)in_ECX + 0x360) = local_54 * *(float *)((int)in_ECX + 0x39c) + *(float *)((int)in_ECX + 0x360); @@ -307100,192 +307392,195 @@ void FUN_00645bc0(void) ANM2::Play((ANM2 *)((int)in_ECX + 0x48),(byte *)"PreSpawn",0); if ((*(int *)((int)in_ECX + 0x7c) == 0) || (*(char *)((int)in_ECX + 0x8c) == '\0')) { ANM2::Play((ANM2 *)((int)in_ECX + 0x48),s_Spawn,0); - pMVar8 = g_manager; + pMVar7 = g_manager; *(undefined4 *)((int)in_ECX + 0xd88) = 3; iStack_70 = 0x10c; seed_fart_sound_override(); - SoundEffects::Play(&pMVar8->_sfxManager,iStack_70,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar7->_sfxManager,iStack_70,1.0,2,0,1.0,0.0); this = Entity_Player::GetCollectibleRNG(*(Entity_Player **)((int)in_ECX + 0x410),0x264); pRStack_5c = this; - RStack_60 = (RNG)RNG::RandomFloat(this); + fStack_60 = RNG::RandomFloat(this); fStack_58 = (float)((int)in_ECX + 0x33c); - if (0.25 <= (float)RStack_60) { - if (0.5 <= (float)RStack_60) { - if (0.75 <= (float)RStack_60) { - RStack_6c = (RNG)0x0; + if (0.25 <= fStack_60) { + if (0.5 <= fStack_60) { + if (0.75 <= fStack_60) { + uStack_6c = 0; do { Room::FindFreePickupSpawnPosition(&fStack_20,fStack_58,0x42200000,0,0,0); - pGVar7 = g_game; - RVar2 = *this; - if (RVar2 == (RNG)0x0) { + pGVar6 = g_game; + uVar10 = this->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar2 >> (SUB41(this[1],0) & 0x1f) ^ (uint)RVar2; - uVar11 = uVar11 << (SUB41(this[2],0) & 0x1f) ^ uVar11; + uVar10 = uVar10 >> ((byte)this->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)this->_shift2 & 0x1f) ^ uVar10; apGStack_50[0] = g_game; - RStack_60 = (RNG)(uVar11 >> (SUB41(this[3],0) & 0x1f) ^ uVar11); + fStack_60 = (float)(uVar10 >> ((byte)this->_shift3 & 0x1f) ^ uVar10); uStack_74 = 4; - *this = RStack_60; + this->_seed = (int)fStack_60; pGStack_78 = (Game *)0xa; uStack_7c = 5; lua_callback_run_pre_entity_spawn - (&uStack_7c,&pGStack_78,&fStack_20,&g_vectorZero,0,&uStack_74,&RStack_60); - uVar11 = uStack_7c; + (&uStack_7c,&pGStack_78,&fStack_20,&g_vectorZero,0,&uStack_74,&fStack_60); + uVar10 = uStack_7c; auStack_30[0] = uStack_7c; if (1 < *(int *)&g_game->_deathmatchManager) { ItemPool::ReplaceBlacklistedPickup ((g_game->_deathmatchManager)._type,auStack_30,&pGStack_78,&uStack_74); } - pEStack_68 = EntityFactory::Create(pGVar7->_entityFactory,uVar11,0); + pEStack_68 = EntityFactory::Create(pGVar6->_entityFactory,uVar10,0); if (pEStack_68 != (Entity *)0x0) { - uVar23 = GetTimeNs(); - pEVar9 = pEStack_68; - uVar11 = (uint)(uVar23 >> 0x20); - lVar4 = (uVar23 & 0xffffffff) * 0x431bde82; - lVar5 = (ulonglong)uVar11 * 0xd7b634db + - ((uVar23 & 0xffffffff) * 0xd7b634db >> 0x20); - pGStack_38 = (Game *)(lVar5 + lVar4); - lVar4 = (ulonglong)uVar11 * 0x431bde82 + + uVar22 = GetTimeNs(); + pEVar8 = pEStack_68; + uVar10 = (uint)(uVar22 >> 0x20); + lVar3 = (uVar22 & 0xffffffff) * 0x431bde82; + lVar4 = (ulonglong)uVar10 * 0xd7b634db + + ((uVar22 & 0xffffffff) * 0xd7b634db >> 0x20); + pGStack_38 = (Game *)(lVar4 + lVar3); + lVar3 = (ulonglong)uVar10 * 0x431bde82 + (ulonglong) - CONCAT14(CARRY4((uint)((ulonglong)lVar5 >> 0x20), - (int)((ulonglong)lVar4 >> 0x20) + - (uint)CARRY4((uint)lVar4,(uint)lVar5)), - (int)((ulonglong)(lVar5 + lVar4) >> 0x20)); - uVar11 = (uint)((ulonglong)lVar4 >> 0x20); + CONCAT14(CARRY4((uint)((ulonglong)lVar4 >> 0x20), + (int)((ulonglong)lVar3 >> 0x20) + + (uint)CARRY4((uint)lVar3,(uint)lVar4)), + (int)((ulonglong)(lVar4 + lVar3) >> 0x20)); + uVar10 = (uint)((ulonglong)lVar3 >> 0x20); pEVar1 = &pEStack_68->_spawnerEntity; - uStack_80 = (uint)lVar4 >> 0x12 | uVar11 * 0x4000; - apEStack_40[0] = (EntityPtr *)(uVar11 >> 0x12); + uStack_80 = (uint)lVar3 >> 0x12 | uVar10 * 0x4000; + apEStack_40[0] = (EntityPtr *)(uVar10 >> 0x12); pEStack_68->_spawnerType = 0; pEStack_68->_spawnerVariant = 0; if (*pEVar1 != (EntityPtr)0x0) { apEStack_48[0] = pEVar1; std::multiset::erase(apEStack_48); } - iVar3 = *(int *)pEVar9; + iVar2 = *(int *)pEVar8; *pEVar1 = (EntityPtr)0x0; - (pEVar9->_pos).x = fStack_20; - (pEVar9->_pos).y = fStack_1c; - (pEVar9->_velocity).x = g_vectorZero.x; - (pEVar9->_velocity).y = g_vectorZero.y; - (**(code **)(iVar3 + 4))(uStack_7c,pGStack_78,uStack_74,RStack_60); - pGVar7 = apGStack_50[0]; - iVar3 = *(int *)((int)apGStack_50[0]->_room + 0x1214); - *(int *)((int)apGStack_50[0]->_room + 0x1214) = iVar3 + 1; - pEVar9->_index = iVar3; - EntityList::AddEntity(pEVar9); - cVar10 = Game::ShouldEraseEnemy(pEVar9); - if (cVar10 != '\0') { - Entity::RemoveWithPoof(pEVar9,extraout_ECX_00); + (pEVar8->_pos).x = fStack_20; + (pEVar8->_pos).y = fStack_1c; + (pEVar8->_velocity).x = g_vectorZero.x; + (pEVar8->_velocity).y = g_vectorZero.y; + (**(code **)(iVar2 + 4))(uStack_7c,pGStack_78,uStack_74,fStack_60); + pGVar6 = apGStack_50[0]; + iVar2 = *(int *)((int)apGStack_50[0]->_room + 0x1214); + *(int *)((int)apGStack_50[0]->_room + 0x1214) = iVar2 + 1; + pEVar8->_index = iVar2; + EntityList::AddEntity(pEVar8); + cVar9 = Game::ShouldEraseEnemy(pEVar8); + if (cVar9 != '\0') { + Entity::RemoveWithPoof(pEVar8,extraout_ECX_00); } - if ((pEVar9->_exists != 0) && - ((pGVar7->_proceduralItemManager)._proceduralItems._begin != - (pGVar7->_proceduralItemManager)._proceduralItems._end)) { - iStack_c = pEVar9->_variant; - iVar3 = pEVar9->_type; - iStack_10 = iVar3; + if ((pEVar8->_exists != 0) && + ((pGVar6->_proceduralItemManager)._proceduralItems._begin != + (pGVar6->_proceduralItemManager)._proceduralItems._end)) { + iStack_c = pEVar8->_variant; + iVar2 = pEVar8->_type; + iStack_10 = iVar2; std::map::find(&pEStack_64,&iStack_10); - if (pEStack_64 == *(Entity **)&pGVar7->field_0x67780) { + if (pEStack_64 == (pGVar6->_proceduralItemManager)._spawnTriggerTargets._head) { iStack_14 = -1; - iStack_18 = iVar3; - puVar13 = (undefined4 *) + iStack_18 = iVar2; + puVar12 = (undefined4 *) std::map::find(auStack_24,&iStack_18); - pEStack_64 = (Entity *)*puVar13; - if (pEStack_64 == *(Entity **)&pGVar7->field_0x67780) goto code_r0x006466b1; + pEStack_64 = (Entity *)*puVar12; + if (pEStack_64 == (pGVar6->_proceduralItemManager)._spawnTriggerTargets._head) + goto code_r0x006466b1; } - uVar11 = 0; - pPVar17 = &g_game->_playerManager; + uVar10 = 0; + pPVar16 = &g_game->_playerManager; if ((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar17->_playerList)._begin >> 2 != 0) { + (int)(pPVar16->_playerList)._begin >> 2 != 0) { do { - if ((int)(pPVar17->_playerList)._end - (int)(pPVar17->_playerList)._begin >> 2 + if ((int)(pPVar16->_playerList)._end - (int)(pPVar16->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n" ); } - trigger_set_dispatch(6,pEVar9,&fStack_20,&g_vectorZero); - uVar11 = uVar11 + 1; - pPVar17 = &g_game->_playerManager; - } while (uVar11 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar17->_playerList)._begin >> 2)); + trigger_set_dispatch(6,pEVar8,&fStack_20,&g_vectorZero); + uVar10 = uVar10 + 1; + pPVar16 = &g_game->_playerManager; + } while (uVar10 < (uint)((int)(g_game->_playerManager)._playerList._end - + (int)(pPVar16->_playerList)._begin >> 2)); } } code_r0x006466b1: - uVar23 = GetTimeNs(); - uVar11 = (uint)(uVar23 >> 0x20); - lVar4 = (uVar23 & 0xffffffff) * 0x431bde82; - pGStack_38 = (Game *)((ulonglong)lVar4 >> 0x20); - lVar5 = (ulonglong)uVar11 * 0x431bde82; - auStack_30[0] = (uint)lVar5; - lVar6 = (ulonglong)uVar11 * 0xd7b634db + - ((uVar23 & 0xffffffff) * 0xd7b634db >> 0x20); - apGStack_50[0] = (Game *)(lVar6 + lVar4); - lVar5 = lVar5 + (ulonglong) - CONCAT14(CARRY4((uint)((ulonglong)lVar6 >> 0x20), - (int)pGStack_38->_roomList + - (CARRY4((uint)lVar4,(uint)lVar6) - 0x14)), - (int)((ulonglong)(lVar6 + lVar4) >> 0x20)); - uVar15 = (uint)((ulonglong)lVar5 >> 0x20); - uVar11 = (uint)lVar5 >> 0x12 | uVar15 * 0x4000; - uVar16 = uVar11 - uStack_80; - bVar18 = CARRY4((uint)g_entitySpawnTimeMs,uVar16); - g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar16; + uVar22 = GetTimeNs(); + uVar10 = (uint)(uVar22 >> 0x20); + lVar3 = (uVar22 & 0xffffffff) * 0x431bde82; + pGStack_38 = (Game *)((ulonglong)lVar3 >> 0x20); + lVar4 = (ulonglong)uVar10 * 0x431bde82; + auStack_30[0] = (uint)lVar4; + lVar5 = (ulonglong)uVar10 * 0xd7b634db + + ((uVar22 & 0xffffffff) * 0xd7b634db >> 0x20); + apGStack_50[0] = (Game *)(lVar5 + lVar3); + lVar4 = lVar4 + (ulonglong) + CONCAT14(CARRY4((uint)((ulonglong)lVar5 >> 0x20), + (int)pGStack_38->_roomList[0]._doors + + (CARRY4((uint)lVar3,(uint)lVar5) - 0x30)), + (int)((ulonglong)(lVar5 + lVar3) >> 0x20)); + uVar14 = (uint)((ulonglong)lVar4 >> 0x20); + uVar10 = (uint)lVar4 >> 0x12 | uVar14 * 0x4000; + uVar15 = uVar10 - uStack_80; + bVar17 = CARRY4((uint)g_entitySpawnTimeMs,uVar15); + g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar15; g_entitySpawnTimeMs._4_4_ = g_entitySpawnTimeMs._4_4_ + - (((uVar15 >> 0x12) - (int)apEStack_40[0]) - (uint)(uVar11 < uStack_80)) + - (uint)bVar18; + (((uVar14 >> 0x12) - (int)apEStack_40[0]) - (uint)(uVar10 < uStack_80)) + + (uint)bVar17; this = pRStack_5c; } - *(RNG *)&pEStack_68[1]._sprite._flipX = RStack_6c; - RStack_6c = (RNG)((int)RStack_6c + 1); - } while ((int)RStack_6c < 2); + pEStack_68[1]._sprite._flipX = (undefined1)uStack_6c; + pEStack_68[1]._sprite._flipY = uStack_6c._1_1_; + *(undefined2 *)&pEStack_68[1]._sprite.field_0x102 = uStack_6c._2_2_; + uStack_6c = uStack_6c + 1; + } while ((int)uStack_6c < 2); } else { - RStack_60 = (RNG)0x0; + fStack_60 = 0.0; do { Room::FindFreePickupSpawnPosition(&fStack_20,fStack_58,0x42200000,0,0,0); - pGVar7 = g_game; - RVar2 = *this; - if (RVar2 == (RNG)0x0) { + pGVar6 = g_game; + uVar10 = this->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar2 >> (SUB41(this[1],0) & 0x1f) ^ (uint)RVar2; - uVar11 = uVar11 << (SUB41(this[2],0) & 0x1f) ^ uVar11; + uVar10 = uVar10 >> ((byte)this->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)this->_shift2 & 0x1f) ^ uVar10; pGStack_38 = g_game; - RStack_6c = (RNG)(uVar11 >> (SUB41(this[3],0) & 0x1f) ^ uVar11); + uStack_6c = uVar10 >> ((byte)this->_shift3 & 0x1f) ^ uVar10; uStack_80 = 3; - *this = RStack_6c; + this->_seed = uStack_6c; uStack_7c = 10; pGStack_78 = (Game *)&DAT_00000005; lua_callback_run_pre_entity_spawn - (&pGStack_78,&uStack_7c,&fStack_20,&g_vectorZero,0,&uStack_80,&RStack_6c); + (&pGStack_78,&uStack_7c,&fStack_20,&g_vectorZero,0,&uStack_80,&uStack_6c); type = pGStack_78; apGStack_50[0] = pGStack_78; if (1 < *(int *)&g_game->_deathmatchManager) { ItemPool::ReplaceBlacklistedPickup ((g_game->_deathmatchManager)._type,apGStack_50,&uStack_7c,&uStack_80); } - pEStack_64 = EntityFactory::Create(pGVar7->_entityFactory,(uint)type,0); + pEStack_64 = EntityFactory::Create(pGVar6->_entityFactory,(uint)type,0); if (pEStack_64 != (Entity *)0x0) { - uVar23 = GetTimeNs(); - pEVar9 = pEStack_64; - uVar11 = (uint)(uVar23 >> 0x20); - lVar4 = (uVar23 & 0xffffffff) * 0x431bde82; - apEStack_48[0] = (EntityPtr *)((ulonglong)lVar4 >> 0x20); - lVar5 = (ulonglong)uVar11 * 0xd7b634db + - ((uVar23 & 0xffffffff) * 0xd7b634db >> 0x20); - uVar16 = (uint)((ulonglong)lVar5 >> 0x20); - lVar4 = (ulonglong)uVar11 * 0x431bde82 + + uVar22 = GetTimeNs(); + pEVar8 = pEStack_64; + uVar10 = (uint)(uVar22 >> 0x20); + lVar3 = (uVar22 & 0xffffffff) * 0x431bde82; + apEStack_48[0] = (EntityPtr *)((ulonglong)lVar3 >> 0x20); + lVar4 = (ulonglong)uVar10 * 0xd7b634db + + ((uVar22 & 0xffffffff) * 0xd7b634db >> 0x20); + uVar15 = (uint)((ulonglong)lVar4 >> 0x20); + lVar3 = (ulonglong)uVar10 * 0x431bde82 + (ulonglong) - CONCAT14(CARRY4(uVar16,(uint)(&apEStack_48[0]->field_0x0 + - CARRY4((uint)lVar4,(uint)lVar5))), - &apEStack_48[0]->field_0x0 + CARRY4((uint)lVar4,(uint)lVar5) + - uVar16); - auStack_30[0] = (uint)((ulonglong)lVar4 >> 0x20); + CONCAT14(CARRY4(uVar15,(uint)(&apEStack_48[0]->field_0x0 + + CARRY4((uint)lVar3,(uint)lVar4))), + &apEStack_48[0]->field_0x0 + CARRY4((uint)lVar3,(uint)lVar4) + + uVar15); + auStack_30[0] = (uint)((ulonglong)lVar3 >> 0x20); pEVar1 = &pEStack_64->_spawnerEntity; - uStack_74 = (uint)lVar4 >> 0x12 | auStack_30[0] * 0x4000; + uStack_74 = (uint)lVar3 >> 0x12 | auStack_30[0] * 0x4000; auStack_30[0] = auStack_30[0] >> 0x12; pEStack_64->_spawnerType = 0; pEStack_64->_spawnerVariant = 0; @@ -307293,102 +307588,103 @@ code_r0x006466b1: apEStack_40[0] = pEVar1; std::multiset::erase(apEStack_40); } - iVar3 = *(int *)pEVar9; + iVar2 = *(int *)pEVar8; *pEVar1 = (EntityPtr)0x0; - (pEVar9->_pos).x = fStack_20; - (pEVar9->_pos).y = fStack_1c; - (pEVar9->_velocity).x = g_vectorZero.x; - (pEVar9->_velocity).y = g_vectorZero.y; - (**(code **)(iVar3 + 4))(pGStack_78,uStack_7c,uStack_80,RStack_6c); - pGVar7 = pGStack_38; - iVar3 = *(int *)((int)pGStack_38->_room + 0x1214); - *(int *)((int)pGStack_38->_room + 0x1214) = iVar3 + 1; - pEVar9->_index = iVar3; - EntityList::AddEntity(pEVar9); - cVar10 = Game::ShouldEraseEnemy(pEVar9); - if (cVar10 != '\0') { - Entity::RemoveWithPoof(pEVar9,extraout_ECX); + (pEVar8->_pos).x = fStack_20; + (pEVar8->_pos).y = fStack_1c; + (pEVar8->_velocity).x = g_vectorZero.x; + (pEVar8->_velocity).y = g_vectorZero.y; + (**(code **)(iVar2 + 4))(pGStack_78,uStack_7c,uStack_80,uStack_6c); + pGVar6 = pGStack_38; + iVar2 = *(int *)((int)pGStack_38->_room + 0x1214); + *(int *)((int)pGStack_38->_room + 0x1214) = iVar2 + 1; + pEVar8->_index = iVar2; + EntityList::AddEntity(pEVar8); + cVar9 = Game::ShouldEraseEnemy(pEVar8); + if (cVar9 != '\0') { + Entity::RemoveWithPoof(pEVar8,extraout_ECX); } - if ((pEVar9->_exists != 0) && - ((pGVar7->_proceduralItemManager)._proceduralItems._begin != - (pGVar7->_proceduralItemManager)._proceduralItems._end)) { - iStack_14 = pEVar9->_variant; - iVar3 = pEVar9->_type; - iStack_18 = iVar3; + if ((pEVar8->_exists != 0) && + ((pGVar6->_proceduralItemManager)._proceduralItems._begin != + (pGVar6->_proceduralItemManager)._proceduralItems._end)) { + iStack_14 = pEVar8->_variant; + iVar2 = pEVar8->_type; + iStack_18 = iVar2; std::map::find(&pEStack_68,&iStack_18); - if (pEStack_68 == *(Entity **)&pGVar7->field_0x67780) { + if (pEStack_68 == (pGVar6->_proceduralItemManager)._spawnTriggerTargets._head) { iStack_c = -1; - iStack_10 = iVar3; - piVar12 = (int *)std::map::find(auStack_24,&iStack_10); - pEStack_68 = (Entity *)*piVar12; - if (pEStack_68 == *(Entity **)&pGVar7->field_0x67780) goto code_r0x006462c1; + iStack_10 = iVar2; + piVar11 = (int *)std::map::find(auStack_24,&iStack_10); + pEStack_68 = (Entity *)*piVar11; + if (pEStack_68 == (pGVar6->_proceduralItemManager)._spawnTriggerTargets._head) + goto code_r0x006462c1; } - uVar11 = 0; - pPVar17 = &g_game->_playerManager; + uVar10 = 0; + pPVar16 = &g_game->_playerManager; if ((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar17->_playerList)._begin >> 2 != 0) { + (int)(pPVar16->_playerList)._begin >> 2 != 0) { do { - if ((int)(pPVar17->_playerList)._end - (int)(pPVar17->_playerList)._begin >> 2 + if ((int)(pPVar16->_playerList)._end - (int)(pPVar16->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n" ); } - trigger_set_dispatch(6,pEVar9,&fStack_20,&g_vectorZero); - uVar11 = uVar11 + 1; - pPVar17 = &g_game->_playerManager; - } while (uVar11 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar17->_playerList)._begin >> 2)); + trigger_set_dispatch(6,pEVar8,&fStack_20,&g_vectorZero); + uVar10 = uVar10 + 1; + pPVar16 = &g_game->_playerManager; + } while (uVar10 < (uint)((int)(g_game->_playerManager)._playerList._end - + (int)(pPVar16->_playerList)._begin >> 2)); } } code_r0x006462c1: - uVar23 = GetTimeNs(); - uVar11 = (uint)(uVar23 >> 0x20); - lVar4 = (uVar23 & 0xffffffff) * 0x431bde82; - apEStack_48[0] = (EntityPtr *)((ulonglong)lVar4 >> 0x20); - lVar5 = (ulonglong)uVar11 * 0x431bde82; - pGStack_38 = (Game *)lVar5; - lVar6 = (ulonglong)uVar11 * 0xd7b634db + - ((uVar23 & 0xffffffff) * 0xd7b634db >> 0x20); - apGStack_50[0] = (Game *)(lVar6 + lVar4); - lVar5 = lVar5 + (ulonglong) - CONCAT14(CARRY4((uint)((ulonglong)lVar6 >> 0x20), + uVar22 = GetTimeNs(); + uVar10 = (uint)(uVar22 >> 0x20); + lVar3 = (uVar22 & 0xffffffff) * 0x431bde82; + apEStack_48[0] = (EntityPtr *)((ulonglong)lVar3 >> 0x20); + lVar4 = (ulonglong)uVar10 * 0x431bde82; + pGStack_38 = (Game *)lVar4; + lVar5 = (ulonglong)uVar10 * 0xd7b634db + + ((uVar22 & 0xffffffff) * 0xd7b634db >> 0x20); + apGStack_50[0] = (Game *)(lVar5 + lVar3); + lVar4 = lVar4 + (ulonglong) + CONCAT14(CARRY4((uint)((ulonglong)lVar5 >> 0x20), (uint)(&apEStack_48[0]->field_0x0 + - CARRY4((uint)lVar4,(uint)lVar6))), - (int)((ulonglong)(lVar6 + lVar4) >> 0x20)); - uVar15 = (uint)((ulonglong)lVar5 >> 0x20); - uVar11 = (uint)lVar5 >> 0x12 | uVar15 * 0x4000; - uVar16 = uVar11 - uStack_74; - bVar18 = CARRY4((uint)g_entitySpawnTimeMs,uVar16); - g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar16; + CARRY4((uint)lVar3,(uint)lVar5))), + (int)((ulonglong)(lVar5 + lVar3) >> 0x20)); + uVar14 = (uint)((ulonglong)lVar4 >> 0x20); + uVar10 = (uint)lVar4 >> 0x12 | uVar14 * 0x4000; + uVar15 = uVar10 - uStack_74; + bVar17 = CARRY4((uint)g_entitySpawnTimeMs,uVar15); + g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar15; g_entitySpawnTimeMs._4_4_ = g_entitySpawnTimeMs._4_4_ + - (((uVar15 >> 0x12) - auStack_30[0]) - (uint)(uVar11 < uStack_74)) + - (uint)bVar18; + (((uVar14 >> 0x12) - auStack_30[0]) - (uint)(uVar10 < uStack_74)) + + (uint)bVar17; this = pRStack_5c; } - *(RNG *)&pEStack_64[1]._sprite._flipX = RStack_60; - RStack_60 = (RNG)((int)RStack_60 + 1); - } while ((int)RStack_60 < 3); + *(float *)&pEStack_64[1]._sprite._flipX = fStack_60; + fStack_60 = (float)((int)fStack_60 + 1); + } while ((int)fStack_60 < 3); } in_ECX = local_54; } else { Room::FindFreePickupSpawnPosition(&iStack_10,fStack_58,0x42200000,0,0,0); - pGVar7 = g_game; - uVar11 = RNG::Next(this); - uVar14 = ItemPool::GetCollectible(&pGVar7->_itemPool,0,uVar11,0,0,0); - uVar11 = RNG::Next(this); - Game::SpawnEx(g_game,5,100,&iStack_10,&g_vectorZero,0,uVar14,uVar11,0); + pGVar6 = g_game; + uVar10 = RNG::Next(this); + uVar13 = ItemPool::GetCollectible(&pGVar6->_itemPool,0,uVar10,0,0,0); + uVar10 = RNG::Next(this); + Game::SpawnEx(g_game,5,100,&iStack_10,&g_vectorZero,0,uVar13,uVar10,0); } } else { Room::FindFreePickupSpawnPosition(&iStack_10,fStack_58,0x42200000,0,0,0); - pGVar7 = g_game; - uVar11 = RNG::Next(this); - uVar14 = ItemPool::GetCollectible(&pGVar7->_itemPool,4,uVar11,0,0,0); - uVar11 = RNG::Next(this); - Game::SpawnEx(g_game,5,100,&iStack_10,&g_vectorZero,0,uVar14,uVar11,0); + pGVar6 = g_game; + uVar10 = RNG::Next(this); + uVar13 = ItemPool::GetCollectible(&pGVar6->_itemPool,4,uVar10,0,0,0); + uVar10 = RNG::Next(this); + Game::SpawnEx(g_game,5,100,&iStack_10,&g_vectorZero,0,uVar13,uVar10,0); } } goto LAB_00646759; @@ -307402,12 +307698,12 @@ LAB_00646759: break; case 4: ANM2::Play((ANM2 *)((int)in_ECX + 0x48),(byte *)"Death",0); - cVar10 = Sprite::IsEventTriggered((Sprite *)((int)in_ECX + 0x48),"Sound"); - pMVar8 = g_manager; - if ((cVar10 != '\0') && (*(char *)((int)in_ECX + 0x171) != '\0')) { + cVar9 = Sprite::IsEventTriggered((Sprite *)((int)in_ECX + 0x48),"Sound"); + pMVar7 = g_manager; + if ((cVar9 != '\0') && (*(char *)((int)in_ECX + 0x171) != '\0')) { local_54 = 3.04082e-43; seed_fart_sound_override(); - SoundEffects::Play(&pMVar8->_sfxManager,(int)local_54,1.0,2,0,1.5,0.0); + SoundEffects::Play(&pMVar7->_sfxManager,(int)local_54,1.0,2,0,1.5,0.0); } if ((*(int *)((int)in_ECX + 0x7c) == 0) || (*(char *)((int)in_ECX + 0x8c) == '\0')) { *(undefined1 *)((int)in_ECX + 0x171) = 0; @@ -307415,12 +307711,12 @@ LAB_00646759: *(float *)((int)in_ECX + 0x360) = g_vectorZero.x; *(float *)((int)in_ECX + 0x364) = g_vectorZero.y; } - uVar14 = 0; + uVar13 = 0; *(undefined4 *)((int)in_ECX + 0x184) = 3; if (*(int *)((int)in_ECX + 0xd88) == 1) { - uVar14 = 4; + uVar13 = 4; } - *(undefined4 *)((int)in_ECX + 0x188) = uVar14; + *(undefined4 *)((int)in_ECX + 0x188) = uVar13; *(bool *)((int)in_ECX + 0x148) = 0.0 < *(float *)((int)in_ECX + 0x360); return; } @@ -307727,7 +308023,7 @@ int ItemConfig::get_wisp_entry(void) Locust); dynamic_cast ExtraData -> AbyssLocustData, increments hunger byte +0x50 up to 25 and every 5 swaps the spritesheet "hungry_%d.png"; Entity_Pickup::HandleCollision */ -undefined4 Entity_Familiar::abyss_locust_eat(void) +undefined4 __thiscall Entity_Familiar::abyss_locust_eat(Entity_Familiar *this) { char cVar1; @@ -307738,7 +308034,6 @@ undefined4 Entity_Familiar::abyss_locust_eat(void) byte extraout_CL; byte extraout_CL_00; byte extraout_CL_01; - int in_ECX; char *pcVar6; uint uVar7; uint uVar8; @@ -307761,11 +308056,11 @@ undefined4 Entity_Familiar::abyss_locust_eat(void) local_10 = ExceptionList; local_14 = __security_cookie ^ (uint)(local_34 + 0x30); ExceptionList = &local_10; - if (*(int *)(in_ECX + 0x2c) != 0xe7) { + if (this->_variant != 0xe7) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"This should only be called on a locust\n"); } - iVar2 = __RTDynamicCast(*(undefined4 *)(in_ECX + 0xee0),0, + iVar2 = __RTDynamicCast(this->_extraData,0, &IsaacRepentancePlus::Entity_Familiar::ExtraData::RTTI_Type_Descriptor, &IsaacRepentancePlus::AbyssLocustData::RTTI_Type_Descriptor,0,local_14); if (*(byte *)(iVar2 + 0x50) < 0x19) { @@ -307790,7 +308085,7 @@ undefined4 Entity_Familiar::abyss_locust_eat(void) piVar3[5] = 0xf; *(undefined1 *)piVar3 = 0; local_8._0_1_ = 1; - Sprite::ReplaceSpritesheet((Sprite *)(in_ECX + 0x48),0,&local_64); + Sprite::ReplaceSpritesheet((Sprite *)&this->_sprite,0,&local_64); local_8 = (uint)local_8._1_3_ << 8; bVar5 = extraout_CL; if (0xf < local_54._4_4_) { @@ -307823,7 +308118,7 @@ LAB_006472d2: local_3c = 0; local_38 = 0xf; local_4c = local_4c & 0xffffff00; - ANM2::LoadGraphics((ANM2 *)(in_ECX + 0x48),bVar5); + ANM2::LoadGraphics(&this->_sprite,bVar5); } uVar4 = 1; } @@ -307903,7 +308198,7 @@ void __fastcall FamiliarAI::apollyons_best_friend(Entity_Familiar *familiar) local_20 = (float)ItemConfig::get_wisp_entry(); if (familiar->_fireCooldown < 0) { familiar->_state = -1; - Entity_Familiar::break_grid_ahead(); + Entity_Familiar::break_grid_ahead(familiar); fVar16 = 0.8; local_2c = (EntityPtr)0x4e6e6b28; if (familiar->_fireCooldown == -1) { @@ -309438,27 +309733,29 @@ LAB_00649d22: (+0x3c), item-config tear flags rolled per chance, grid vtable +0x14 hit then Room::TryMakeBridge; returns bool; only from FamiliarAI::apollyons_best_friend */ -undefined1 Entity_Familiar::break_grid_ahead(void) +undefined1 __thiscall Entity_Familiar::break_grid_ahead(Entity_Familiar *this) { - GridEntity *pGVar1; - Room *pRVar2; - code *pcVar3; - char cVar4; - int iVar5; - int iVar6; - float *pfVar7; - code *in_ECX; + float fVar1; + float fVar2; + GridEntity *pGVar3; + Room *pRVar4; + Entity_Familiar *pEVar5; + char cVar6; + int iVar7; int iVar8; - uint uVar9; - uint uVar10; + Entity_Familiar *pEVar9; + float *pfVar10; + int iVar11; + uint uVar12; + uint uVar13; uint uStack_9c; uint uStack_98; uint uStack_90; uint uStack_88; uint uStack_80; - code *local_68 [2]; - code *local_60; + Entity_Familiar *local_68 [2]; + Vector *local_60; float fStack_5c; float local_58; float fStack_54; @@ -309466,162 +309763,163 @@ undefined1 Entity_Familiar::break_grid_ahead(void) uint uStack_4c; uint uStack_48; uint uStack_44; - undefined4 uStack_38; - undefined4 uStack_34; - undefined4 uStack_30; - undefined4 uStack_2c; - undefined4 uStack_28; - undefined4 uStack_24; - undefined4 uStack_20; - undefined4 uStack_1c; + int iStack_38; + int iStack_34; + int iStack_30; + int iStack_2c; + float fStack_28; + float fStack_24; + float fStack_20; + float fStack_1c; uint uStack_18; - code *pcStack_14; + Entity_Familiar *pEStack_14; - local_58 = (float)((10.0 < *(float *)(in_ECX + 0x388)) + 1); - local_60 = in_ECX + 0x360; - iVar8 = (int)(((*(float *)(in_ECX + 0x360) + *(float *)(in_ECX + 0x360) + - *(float *)(in_ECX + 0x33c)) - 40.0) / 40.0 + 0.5); - if ((((iVar8 < 0) || (iVar6 = *(int *)((int)g_game->_room + 0xc), iVar6 <= iVar8)) || - (iVar5 = (int)(((*(float *)(in_ECX + 0x364) + *(float *)(in_ECX + 0x364) + - *(float *)(in_ECX + 0x340)) - 120.0) / 40.0 + 0.5), iVar5 < 0)) || - ((*(int *)((int)g_game->_room + 0x10) <= iVar5 || (iVar8 = iVar6 * iVar5 + iVar8, iVar8 < 0)))) - { + fVar1 = (this->_velocity).y; + fVar2 = (this->_velocity).x; + local_58 = (float)((10.0 < this->_collisionDamage) + 1); + local_60 = &this->_velocity; + iVar11 = (int)(((fVar2 + fVar2 + (this->_pos).x) - 40.0) / 40.0 + 0.5); + if ((((iVar11 < 0) || (iVar8 = *(int *)((int)g_game->_room + 0xc), iVar8 <= iVar11)) || + (iVar7 = (int)(((fVar1 + fVar1 + (this->_pos).y) - 120.0) / 40.0 + 0.5), iVar7 < 0)) || + ((*(int *)((int)g_game->_room + 0x10) <= iVar7 || (iVar11 = iVar8 * iVar7 + iVar11, iVar11 < 0) + ))) { return 0; } - local_68[0] = in_ECX; - iVar6 = __RTDynamicCast(*(undefined4 *)(in_ECX + 0xee0),0, + local_68[0] = this; + iVar8 = __RTDynamicCast(this->_extraData,0, &IsaacRepentancePlus::Entity_Familiar::ExtraData::RTTI_Type_Descriptor, &IsaacRepentancePlus::AbyssLocustData::RTTI_Type_Descriptor,0); - if (iVar6 != 0) { - if (*(int *)(iVar6 + 0x3c) == iVar8) { + if (iVar8 != 0) { + if (*(int *)(iVar8 + 0x3c) == iVar11) { return 0; } - *(int *)(iVar6 + 0x3c) = iVar8; + *(int *)(iVar8 + 0x3c) = iVar11; } - if (0x1bf < iVar8) { + if (0x1bf < iVar11) { return 0; } - pGVar1 = *(GridEntity **)((int)g_game->_room + iVar8 * 4 + 0x24); - if (pGVar1 == (GridEntity *)0x0) { + pGVar3 = *(GridEntity **)((int)g_game->_room + iVar11 * 4 + 0x24); + if (pGVar3 == (GridEntity *)0x0) { return 0; } - if (pGVar1->_collisionClass == 1) { + if (pGVar3->_collisionClass == 1) { return 0; } - if (pGVar1->_collisionClass == 0) { + if (pGVar3->_collisionClass == 0) { return 0; } - iVar8 = get_item_config_entry(); - uVar9 = 0; + iVar11 = get_item_config_entry(this); + uVar12 = 0; uStack_90 = 0; - uStack_80 = *(uint *)(iVar8 + 8); - uStack_9c = *(uint *)(iVar8 + 0xc); - uStack_88 = *(uint *)(iVar8 + 0x10); - uStack_98 = *(uint *)(iVar8 + 0x14); - pfVar7 = *(float **)(iVar8 + 0x68); + uStack_80 = *(uint *)(iVar11 + 8); + uStack_9c = *(uint *)(iVar11 + 0xc); + uStack_88 = *(uint *)(iVar11 + 0x10); + uStack_98 = *(uint *)(iVar11 + 0x14); + pfVar10 = *(float **)(iVar11 + 0x68); uStack_50 = uStack_80; uStack_4c = uStack_9c; uStack_48 = uStack_88; uStack_44 = uStack_98; - if (pfVar7 != *(float **)(iVar8 + 0x6c)) { - uVar10 = 1; + if (pfVar10 != *(float **)(iVar11 + 0x6c)) { + uVar13 = 1; do { - if (((uVar9 & uVar10) == 0) && (0.0 < *pfVar7)) { - iVar6 = Random(); - uVar9 = uStack_90; - if ((float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * 2.3283064e-10 < - *pfVar7) { - uStack_80 = uStack_80 | (uint)pfVar7[2]; - uStack_9c = uStack_9c | (uint)pfVar7[3]; - uStack_88 = uStack_88 | (uint)pfVar7[4]; - uStack_98 = uStack_98 | (uint)pfVar7[5]; - uStack_90 = uStack_90 | (uint)pfVar7[7]; - uVar9 = uStack_90; + if (((uVar12 & uVar13) == 0) && (0.0 < *pfVar10)) { + iVar8 = Random(); + uVar12 = uStack_90; + if ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 < + *pfVar10) { + uStack_80 = uStack_80 | (uint)pfVar10[2]; + uStack_9c = uStack_9c | (uint)pfVar10[3]; + uStack_88 = uStack_88 | (uint)pfVar10[4]; + uStack_98 = uStack_98 | (uint)pfVar10[5]; + uStack_90 = uStack_90 | (uint)pfVar10[7]; + uVar12 = uStack_90; } } - pfVar7 = pfVar7 + 0x1a; - uVar10 = uVar10 << 1 | (uint)((int)uVar10 < 0); - } while (pfVar7 != *(float **)(iVar8 + 0x6c)); + pfVar10 = pfVar10 + 0x1a; + uVar13 = uVar13 << 1 | (uint)((int)uVar13 < 0); + } while (pfVar10 != *(float **)(iVar11 + 0x6c)); } - cVar4 = (**(code **)(*(int *)pGVar1 + 0x1c))(); - pcVar3 = local_68[0]; - if (cVar4 != '\0') { + cVar6 = (**(code **)(*(int *)pGVar3 + 0x1c))(); + pEVar5 = local_68[0]; + if (cVar6 != '\0') { if (((uStack_80 & DAT_00c34a30) == 0 && (uStack_9c & DAT_00c34a34) == 0) && ((uStack_88 & DAT_00c34a38) == 0 && (uStack_98 & DAT_00c34a3c) == 0)) { if (((uStack_80 & _DAT_00c34980) == 0 && (uStack_9c & DAT_00c34984) == 0) && ((uStack_88 & _DAT_00c34988) == 0 && (uStack_98 & DAT_00c3498c) == 0)) goto LAB_0064a73c; } - uStack_28 = *(undefined4 *)(local_68[0] + 0x33c); - uStack_24 = *(undefined4 *)(local_68[0] + 0x340); - uStack_20 = *(undefined4 *)(local_68[0] + 0x360); - uStack_38 = *(undefined4 *)(local_68[0] + 0x28); - uStack_34 = *(undefined4 *)(local_68[0] + 0x2c); - uStack_30 = *(undefined4 *)(local_68[0] + 0x34); - uStack_2c = *(undefined4 *)(local_68[0] + 0x38); - uStack_1c = *(undefined4 *)(local_68[0] + 0x364); - if ((*(uint *)(local_68[0] + 0x168) & 0x20000000) == 0) { - uVar9 = 0; + fStack_28 = (local_68[0]->_pos).x; + fStack_24 = (local_68[0]->_pos).y; + fStack_20 = (local_68[0]->_velocity).x; + iStack_38 = local_68[0]->_type; + iStack_34 = local_68[0]->_variant; + iStack_30 = local_68[0]->_spawnerType; + iStack_2c = local_68[0]->_spawnerVariant; + fStack_1c = (local_68[0]->_velocity).y; + if ((local_68[0]->_flags & 0x20000000) == 0) { + uVar12 = 0; } else { - uVar9 = 2; + uVar12 = 2; } - if ((code *)(*(uint *)(local_68[0] + 0x16c) & 0x400000) == (code *)0x0) { - uVar10 = 0; + pEVar9 = (Entity_Familiar *)(*(uint *)((int)&local_68[0]->_flags + 4) & 0x400000); + if (pEVar9 == (Entity_Familiar *)0x0) { + uVar13 = 0; } else { - uVar10 = 4; + uVar13 = 4; } - pcStack_14 = local_68[0]; - uStack_18 = uVar10 | uVar9 | (uint)((*(uint *)(local_68[0] + 0x168) & 0x100) != 0); - local_68[0] = (code *)(*(uint *)(local_68[0] + 0x16c) & 0x400000); - cVar4 = (**(code **)(*(int *)pGVar1 + 0x14))(0,&uStack_38); - if (cVar4 != '\0') { + pEStack_14 = local_68[0]; + uStack_18 = uVar13 | uVar12 | (uint)((local_68[0]->_flags & 0x100) != 0); + local_68[0] = pEVar9; + cVar6 = (**(code **)(*(int *)pGVar3 + 0x14))(0,&iStack_38); + if (cVar6 != '\0') { Vector::ToCardinal(); if ((local_58 == g_vectorZero.x) && (fStack_54 == g_vectorZero.y)) { return 1; } - pfVar7 = (float *)GridEntity::Position(pGVar1,local_68); - local_60 = (code *)(local_58 * 40.0 + *pfVar7); - fStack_5c = fStack_54 * 40.0 + pfVar7[1]; - pRVar2 = g_game->_room; - iVar8 = Room::GetGridIndex(pRVar2,&local_60); - if (iVar8 < 0) { + pfVar10 = (float *)GridEntity::Position(pGVar3,local_68); + local_60 = (Vector *)(local_58 * 40.0 + *pfVar10); + fStack_5c = fStack_54 * 40.0 + pfVar10[1]; + pRVar4 = g_game->_room; + iVar11 = Room::GetGridIndex(pRVar4,&local_60); + if (iVar11 < 0) { return 1; } - if (iVar8 < 0x1c0) { - Room::TryMakeBridge(pRVar2,pRVar2->_gridEntities[iVar8],pGVar1); + if (iVar11 < 0x1c0) { + Room::TryMakeBridge(pRVar4,pRVar4->_gridEntities[iVar11],pGVar3); return 1; } - Room::TryMakeBridge(pRVar2,0,pGVar1); + Room::TryMakeBridge(pRVar4,0,pGVar3); return 1; } } LAB_0064a73c: - uStack_28 = *(undefined4 *)(pcVar3 + 0x33c); - uStack_24 = *(undefined4 *)(pcVar3 + 0x340); - local_68[0] = *(code **)(*(int *)pGVar1 + 0x10); - uStack_38 = *(undefined4 *)(pcVar3 + 0x28); - uStack_34 = *(undefined4 *)(pcVar3 + 0x2c); - uStack_30 = *(undefined4 *)(pcVar3 + 0x34); - uStack_2c = *(undefined4 *)(pcVar3 + 0x38); - uStack_20 = *(undefined4 *)(pcVar3 + 0x360); - uStack_1c = *(undefined4 *)(pcVar3 + 0x364); - if ((*(uint *)(pcVar3 + 0x168) & 0x20000000) == 0) { - uVar9 = 0; + fStack_28 = (pEVar5->_pos).x; + fStack_24 = (pEVar5->_pos).y; + local_68[0] = *(Entity_Familiar **)(*(int *)pGVar3 + 0x10); + iStack_38 = pEVar5->_type; + iStack_34 = pEVar5->_variant; + iStack_30 = pEVar5->_spawnerType; + iStack_2c = pEVar5->_spawnerVariant; + fStack_20 = (pEVar5->_velocity).x; + fStack_1c = (pEVar5->_velocity).y; + if ((pEVar5->_flags & 0x20000000) == 0) { + uVar12 = 0; } else { - uVar9 = 2; + uVar12 = 2; } - local_60 = (code *)(*(uint *)(pcVar3 + 0x16c) & 0x400000); - if (local_60 == (code *)0x0) { - uVar10 = 0; + local_60 = (Vector *)(*(uint *)((int)&pEVar5->_flags + 4) & 0x400000); + if (local_60 == (Vector *)0x0) { + uVar13 = 0; } else { - uVar10 = 4; + uVar13 = 4; } - pcStack_14 = pcVar3; - uStack_18 = uVar10 | uVar9 | (uint)((*(uint *)(pcVar3 + 0x168) & 0x100) != 0); - (*local_68[0])(local_58,&uStack_38); + pEStack_14 = pEVar5; + uStack_18 = uVar13 | uVar12 | (uint)((pEVar5->_flags & 0x100) != 0); + (*(code *)local_68[0])(local_58,&iStack_38); return 1; } @@ -309789,35 +310087,38 @@ void anm2_apply_gfx_overrides(undefined4 param_1,undefined4 param_2,ANM2 *param_ { char cVar1; int *piVar2; - uint uVar3; - bool bVar4; - int *piVar5; - byte bVar6; - char *pcVar7; - undefined4 *puVar8; - char *******pppppppcVar9; - uint *puVar10; - std_string *psVar11; + float fVar3; + float fVar4; + bool bVar5; + int *piVar6; + byte bVar7; + char *pcVar8; + undefined4 *puVar9; + char *******pppppppcVar10; + float *pfVar11; undefined4 extraout_EAX; int iVar12; + std_string *psVar13; byte *layerName; - LayerState *pLVar13; + LayerState *pLVar14; byte extraout_CL; byte extraout_CL_00; - uint uVar14; - char *******pppppppcVar15; + uint uVar15; + float fVar16; + char *******pppppppcVar17; int *extraout_ECX; + float fVar18; int *extraout_ECX_00; - int *piVar16; - uint uVar17; - char *pcVar18; - ANM2 *pAVar19; - int *piVar20; - uint uVar21; - int iVar22; + int *piVar19; + uint uVar20; + char *pcVar21; + ANM2 *pAVar22; + int *piVar23; + uint uVar24; + int iVar25; int *piStack_124; int *piStack_120; - uint uStack_11c; + float fStack_11c; undefined4 local_114; undefined8 local_110; uint local_104; @@ -309825,7 +310126,7 @@ void anm2_apply_gfx_overrides(undefined4 param_1,undefined4 param_2,ANM2 *param_ int local_fc; int *local_f8; int *piStack_f4; - uint local_f0; + float local_f0; uint local_ec; ANM2 *local_e8; uint local_e4; @@ -309835,16 +310136,20 @@ void anm2_apply_gfx_overrides(undefined4 param_1,undefined4 param_2,ANM2 *param_ uint local_c8; undefined4 local_b8; uint local_b4; - undefined4 local_b0; - undefined4 uStack_ac; - undefined4 uStack_a8; - undefined4 uStack_a4; - undefined4 local_a0; - std_string sStack_9c; + float local_b0; + float fStack_ac; + float fStack_a8; + float fStack_a4; + float local_a0; + undefined1 auStack_9c [8]; + float fStack_94; + float local_90; + int *piStack_8c; + float local_88; char *******local_84; int *piStack_80; int *piStack_7c; - uint uStack_78; + float fStack_78; undefined8 local_74; std_string *local_6c [4]; int local_5c; @@ -309867,7 +310172,7 @@ void anm2_apply_gfx_overrides(undefined4 param_1,undefined4 param_2,ANM2 *param_ local_1c = ExceptionList; local_24 = __security_cookie ^ (uint)(local_54 + 0x11); ExceptionList = &local_1c; - uVar21 = 0; + uVar24 = 0; local_114 = param_2; local_e8 = param_3; local_e4 = 0; @@ -309888,482 +310193,470 @@ void anm2_apply_gfx_overrides(undefined4 param_1,undefined4 param_2,ANM2 *param_ local_6c[0] = (std_string *)0x0; local_14._0_1_ = 3; local_ec = 0; - uVar14 = (int)piStack_f4 - (int)local_f8; - if ((int)uVar14 / 0x18 + ((int)uVar14 >> 0x1f) == (int)uVar14 >> 0x1f) { + uVar15 = (int)piStack_f4 - (int)local_f8; + if ((int)uVar15 / 0x18 + ((int)uVar15 >> 0x1f) == (int)uVar15 >> 0x1f) { LAB_0064b108: - bVar6 = (byte)uVar14; - pAVar19 = local_e8; + bVar7 = (byte)uVar15; + pAVar22 = local_e8; } else { local_110 = local_110 & 0xffffffff; do { - pcVar18 = (char *)((int)local_f8 + uVar21); - if (0xf < *(uint *)(pcVar18 + 0x14)) { - pcVar18 = *(char **)pcVar18; + pcVar21 = (char *)((int)local_f8 + uVar24); + if (0xf < *(uint *)(pcVar21 + 0x14)) { + pcVar21 = *(char **)pcVar21; } - pcVar7 = strstr(pcVar18,"anm2="); - if (pcVar7 == pcVar18) { - puVar8 = (undefined4 *)((int)local_f8 + uVar21); - if (0xf < (uint)puVar8[5]) { - puVar8 = (undefined4 *)*puVar8; + pcVar8 = strstr(pcVar21,"anm2="); + if (pcVar8 == pcVar21) { + puVar9 = (undefined4 *)((int)local_f8 + uVar24); + if (0xf < (uint)puVar9[5]) { + puVar9 = (undefined4 *)*puVar9; } std::string::string(&(g_manager->_itemConfig)._wispGfxRoot); local_e4 = local_e4 | 2; local_14._0_1_ = 4; - pcVar18 = (char *)((int)puVar8 + 5); + pcVar21 = (char *)((int)puVar9 + 5); do { - cVar1 = *pcVar18; - pcVar18 = pcVar18 + 1; + cVar1 = *pcVar21; + pcVar21 = pcVar21 + 1; } while (cVar1 != '\0'); - puVar8 = (undefined4 *) - std::string::append((char *)((int)puVar8 + 5),(int)pcVar18 - (int)((int)puVar8 + 6) + puVar9 = (undefined4 *) + std::string::append((char *)((int)puVar9 + 5),(int)pcVar21 - (int)((int)puVar9 + 6) ); local_e4 = local_e4 | 4; - pppppppcVar9 = (char *******)*puVar8; - piStack_124 = (int *)puVar8[1]; - piStack_120 = (int *)puVar8[2]; - uStack_11c = puVar8[3]; - local_110 = *(ulonglong *)(puVar8 + 4); - puVar8[4] = 0; - puVar8[5] = 0xf; - *(undefined1 *)puVar8 = 0; + pppppppcVar10 = (char *******)*puVar9; + piStack_124 = (int *)puVar9[1]; + piStack_120 = (int *)puVar9[2]; + fStack_11c = (float)puVar9[3]; + local_110 = *(ulonglong *)(puVar9 + 4); + puVar9[4] = 0; + puVar9[5] = 0xf; + *(undefined1 *)puVar9 = 0; if (0xf < local_74._4_4_) { - uVar14 = local_74._4_4_ + 1; - pppppppcVar15 = local_84; - if (0xfff < uVar14) { - pppppppcVar15 = (char *******)local_84[-1]; - uVar14 = local_74._4_4_ + 0x24; - if ((char *)0x1f < (char *)((int)local_84 + (-4 - (int)pppppppcVar15))) + uVar15 = local_74._4_4_ + 1; + pppppppcVar17 = local_84; + if (0xfff < uVar15) { + pppppppcVar17 = (char *******)local_84[-1]; + uVar15 = local_74._4_4_ + 0x24; + if ((char *)0x1f < (char *)((int)local_84 + (-4 - (int)pppppppcVar17))) goto LAB_0064b07d; } - operator_delete(pppppppcVar15,uVar14); + operator_delete(pppppppcVar17,uVar15); } local_14._0_1_ = 3; local_74 = local_110; - local_84 = pppppppcVar9; + local_84 = pppppppcVar10; piStack_80 = piStack_124; piStack_7c = piStack_120; - uStack_78 = uStack_11c; + fStack_78 = fStack_11c; if (0xf < local_b4) { - uVar17 = local_b4 + 1; - uVar14 = local_c8; - if (0xfff < uVar17) { - uVar14 = *(uint *)(local_c8 - 4); - uVar17 = local_b4 + 0x24; - if (0x1f < (local_c8 - uVar14) - 4) goto LAB_0064b07d; + uVar20 = local_b4 + 1; + uVar15 = local_c8; + if (0xfff < uVar20) { + uVar15 = *(uint *)(local_c8 - 4); + uVar20 = local_b4 + 0x24; + if (0x1f < (local_c8 - uVar15) - 4) goto LAB_0064b07d; } - operator_delete(uVar14,uVar17); + operator_delete(uVar15,uVar20); } local_b8 = 0; local_b4 = 0xf; local_c8 = local_c8 & 0xffffff00; } else { - pcVar18 = (char *)((int)local_f8 + uVar21); - if (0xf < *(uint *)(pcVar18 + 0x14)) { - pcVar18 = *(char **)pcVar18; + pcVar21 = (char *)((int)local_f8 + uVar24); + if (0xf < *(uint *)(pcVar21 + 0x14)) { + pcVar21 = *(char **)pcVar21; } - pcVar7 = strstr(pcVar18,"spritesheet="); - if (pcVar7 == pcVar18) { - puVar8 = (undefined4 *)((int)local_f8 + uVar21); - if (0xf < (uint)puVar8[5]) { - puVar8 = (undefined4 *)*puVar8; + pcVar8 = strstr(pcVar21,"spritesheet="); + if (pcVar8 == pcVar21) { + puVar9 = (undefined4 *)((int)local_f8 + uVar24); + if (0xf < (uint)puVar9[5]) { + puVar9 = (undefined4 *)*puVar9; } - pcVar18 = (char *)(puVar8 + 3); - pcVar7 = strchr(pcVar18,0x2d); - if (pcVar7 != (char *)0x0) { + pcVar21 = (char *)(puVar9 + 3); + pcVar8 = strchr(pcVar21,0x2d); + if (pcVar8 != (char *)0x0) { local_44 = 0; local_40 = 0xf; local_54[0] = (char *******)0x0; - std::string::assign(pcVar18,(int)pcVar7 - (int)pcVar18); + std::string::assign(pcVar21,(int)pcVar8 - (int)pcVar21); local_14._0_1_ = 5; local_2c = 0; local_28 = 0xf; local_3c[0] = (std_string *)0x0; - pcVar18 = pcVar7 + 1; + pcVar21 = pcVar8 + 1; do { - cVar1 = *pcVar18; - pcVar18 = pcVar18 + 1; + cVar1 = *pcVar21; + pcVar21 = pcVar21 + 1; } while (cVar1 != '\0'); - std::string::assign(pcVar7 + 1,(int)pcVar18 - (int)(pcVar7 + 2)); + std::string::assign(pcVar8 + 1,(int)pcVar21 - (int)(pcVar8 + 2)); local_14._0_1_ = 6; - pppppppcVar9 = (char *******)local_54; + pppppppcVar10 = (char *******)local_54; if (0xf < local_40) { - pppppppcVar9 = local_54[0]; + pppppppcVar10 = local_54[0]; } - local_104 = atoi((char *)pppppppcVar9); + local_104 = atoi((char *)pppppppcVar10); std::string::string(&(g_manager->_itemConfig)._wispGfxRoot); - uVar14 = local_e4; + uVar15 = local_e4; local_14._0_1_ = 7; - psVar11 = (std_string *)local_3c; + psVar13 = (std_string *)local_3c; if (0xf < local_28) { - psVar11 = local_3c[0]; + psVar13 = local_3c[0]; } - puVar10 = (uint *)std::string::append(psVar11,local_2c); - local_e4 = uVar14 | 0x18; - uVar14 = *puVar10; - uVar21 = puVar10[1]; - uVar17 = puVar10[2]; - uVar3 = puVar10[3]; - piStack_120 = (int *)puVar10[4]; - uStack_11c = puVar10[5]; - puVar10[4] = 0; - puVar10[5] = 0xf; - *(undefined1 *)puVar10 = 0; + pfVar11 = (float *)std::string::append(psVar13,local_2c); + local_e4 = uVar15 | 0x18; + fVar18 = *pfVar11; + fVar16 = pfVar11[1]; + fVar3 = pfVar11[2]; + fVar4 = pfVar11[3]; + piStack_120 = (int *)pfVar11[4]; + fStack_11c = pfVar11[5]; + pfVar11[4] = 0.0; + pfVar11[5] = 2.10195e-44; + *(undefined1 *)pfVar11 = 0; local_14 = (char ******)CONCAT31(local_14._1_3_,8); - sStack_9c._buf._0_4_ = uVar14; - sStack_9c._buf._4_4_ = uVar21; - sStack_9c._buf._8_4_ = uVar17; - sStack_9c._buf._12_4_ = uVar3; - sStack_9c._size = (uint)piStack_120; - sStack_9c._capacity = uStack_11c; - psVar11 = (std_string *)FUN_006518d0(&local_104); - if (psVar11 == &sStack_9c) { - uVar14 = sStack_9c._capacity; + auStack_9c._0_4_ = fVar18; + auStack_9c._4_4_ = fVar16; + fStack_94 = fVar3; + local_90 = fVar4; + piStack_8c = piStack_120; + local_88 = fStack_11c; + pfVar11 = (float *)FUN_006518d0(&local_104); + if (pfVar11 == (float *)auStack_9c) { + fVar18 = local_88; } else { std::string::_Tidy_deallocate(); - sStack_9c._buf._0_4_ = sStack_9c._buf._0_4_ & 0xffffff00; - *(uint *)psVar11->_buf = uVar14; - *(uint *)(psVar11->_buf + 4) = uVar21; - *(uint *)(psVar11->_buf + 8) = uVar17; - *(uint *)(psVar11->_buf + 0xc) = uVar3; - psVar11->_size = (uint)piStack_120; - psVar11->_capacity = uStack_11c; - uVar14 = 0xf; + auStack_9c._0_4_ = auStack_9c._0_4_ & 0xffffff00; + *pfVar11 = fVar18; + pfVar11[1] = fVar16; + pfVar11[2] = fVar3; + pfVar11[3] = fVar4; + pfVar11[4] = (float)piStack_120; + pfVar11[5] = fStack_11c; + fVar18 = 2.10195e-44; } local_14._0_1_ = 7; - if (0xf < uVar14) { - uVar17 = uVar14 + 1; - uVar21 = sStack_9c._buf._0_4_; - if (0xfff < uVar17) { - uVar21 = *(uint *)(sStack_9c._buf._0_4_ - 4); - uVar17 = uVar14 + 0x24; - if (0x1f < (sStack_9c._buf._0_4_ - uVar21) - 4) goto LAB_0064b07d; + if (0xf < (uint)fVar18) { + uVar15 = (int)fVar18 + 1; + fVar16 = (float)auStack_9c._0_4_; + if (0xfff < uVar15) { + fVar16 = *(float *)(auStack_9c._0_4_ + -4); + uVar15 = (int)fVar18 + 0x24; + if (0x1f < (auStack_9c._0_4_ - (int)fVar16) - 4U) goto LAB_0064b07d; } - operator_delete(uVar21,uVar17); + operator_delete(fVar16,uVar15); } local_14._0_1_ = 6; if (0xf < local_cc) { - uVar21 = local_cc + 1; - uVar14 = local_e0; - if (0xfff < uVar21) { - uVar14 = *(uint *)(local_e0 - 4); - uVar21 = local_cc + 0x24; - if (0x1f < (local_e0 - uVar14) - 4) goto LAB_0064b07d; + uVar24 = local_cc + 1; + uVar15 = local_e0; + if (0xfff < uVar24) { + uVar15 = *(uint *)(local_e0 - 4); + uVar24 = local_cc + 0x24; + if (0x1f < (local_e0 - uVar15) - 4) goto LAB_0064b07d; } - operator_delete(uVar14,uVar21); + operator_delete(uVar15,uVar24); } local_14._0_1_ = 5; local_d0 = 0; local_cc = 0xf; local_e0 = local_e0 & 0xffffff00; if (0xf < local_28) { - uVar14 = local_28 + 1; - psVar11 = local_3c[0]; - if (0xfff < uVar14) { - psVar11 = (std_string *)local_3c[0][-1]._capacity; - uVar14 = local_28 + 0x24; - if ((char *)0x1f < (char *)((int)local_3c[0] + (-4 - (int)psVar11))) + uVar15 = local_28 + 1; + psVar13 = local_3c[0]; + if (0xfff < uVar15) { + psVar13 = (std_string *)local_3c[0][-1]._capacity; + uVar15 = local_28 + 0x24; + if ((char *)0x1f < (char *)((int)local_3c[0] + (-4 - (int)psVar13))) goto LAB_0064b07d; } - operator_delete(psVar11,uVar14); + operator_delete(psVar13,uVar15); } local_14._0_1_ = 3; if (0xf < local_40) { - uVar14 = local_40 + 1; - pppppppcVar9 = local_54[0]; - if (0xfff < uVar14) { - pppppppcVar9 = (char *******)local_54[0][-1]; - uVar14 = local_40 + 0x24; - if ((char *)0x1f < (char *)((int)local_54[0] + (-4 - (int)pppppppcVar9))) + uVar15 = local_40 + 1; + pppppppcVar10 = local_54[0]; + if (0xfff < uVar15) { + pppppppcVar10 = (char *******)local_54[0][-1]; + uVar15 = local_40 + 0x24; + if ((char *)0x1f < (char *)((int)local_54[0] + (-4 - (int)pppppppcVar10))) goto LAB_0064b07d; } - operator_delete(pppppppcVar9,uVar14); + operator_delete(pppppppcVar10,uVar15); } local_44 = 0; local_40 = 0xf; local_54[0] = (char *******)((uint)local_54[0] & 0xffffff00); } - uVar21 = local_110._4_4_; + uVar24 = local_110._4_4_; } else { - pcVar18 = (char *)((int)local_f8 + uVar21); - if (0xf < *(uint *)(pcVar18 + 0x14)) { - pcVar18 = *(char **)pcVar18; + pcVar21 = (char *)((int)local_f8 + uVar24); + if (0xf < *(uint *)(pcVar21 + 0x14)) { + pcVar21 = *(char **)pcVar21; } - pcVar7 = strstr(pcVar18,"animation="); - if (pcVar7 == pcVar18) { - puVar8 = (undefined4 *)((int)local_f8 + uVar21); - if (0xf < (uint)puVar8[5]) { - puVar8 = (undefined4 *)*puVar8; + pcVar8 = strstr(pcVar21,"animation="); + if (pcVar8 == pcVar21) { + puVar9 = (undefined4 *)((int)local_f8 + uVar24); + if (0xf < (uint)puVar9[5]) { + puVar9 = (undefined4 *)*puVar9; } - pcVar18 = (char *)((int)puVar8 + 10); + pcVar21 = (char *)((int)puVar9 + 10); do { - cVar1 = *pcVar18; - pcVar18 = pcVar18 + 1; + cVar1 = *pcVar21; + pcVar21 = pcVar21 + 1; } while (cVar1 != '\0'); - std::string::assign((char *)((int)puVar8 + 10),(int)pcVar18 - (int)((int)puVar8 + 0xb)); + std::string::assign((char *)((int)puVar9 + 10),(int)pcVar21 - (int)((int)puVar9 + 0xb)); } } } - uVar21 = uVar21 + 0x18; - uVar14 = local_ec + 1; - local_110 = CONCAT44(uVar21,(undefined4)local_110); - local_ec = uVar14; - } while (uVar14 < (uint)(((int)piStack_f4 - (int)local_f8) / 0x18)); + uVar24 = uVar24 + 0x18; + uVar15 = local_ec + 1; + local_110 = CONCAT44(uVar24,(undefined4)local_110); + local_ec = uVar15; + } while (uVar15 < (uint)(((int)piStack_f4 - (int)local_f8) / 0x18)); if ((int)local_74 == 0) { - uVar21 = local_e4; + uVar24 = local_e4; goto LAB_0064b108; } - pppppppcVar9 = (char *******)&local_84; + pppppppcVar10 = (char *******)&local_84; if (0xf < local_74._4_4_) { - pppppppcVar9 = local_84; + pppppppcVar10 = local_84; } local_2c = 0; local_28 = 0xf; local_3c[0] = (std_string *)0x0; - pppppppcVar15 = pppppppcVar9; + pppppppcVar17 = pppppppcVar10; do { - cVar1 = *(char *)pppppppcVar15; - pppppppcVar15 = (char *******)((int)pppppppcVar15 + 1); + cVar1 = *(char *)pppppppcVar17; + pppppppcVar17 = (char *******)((int)pppppppcVar17 + 1); } while (cVar1 != '\0'); - std::string::assign(pppppppcVar9,(int)pppppppcVar15 - (int)((int)pppppppcVar9 + 1)); - pAVar19 = local_e8; + std::string::assign(pppppppcVar10,(int)pppppppcVar17 - (int)((int)pppppppcVar10 + 1)); + pAVar22 = local_e8; local_14._0_1_ = 9; ANM2::Load(local_e8,(std_string *)local_3c,1); local_14._0_1_ = 3; - bVar6 = extraout_CL; + bVar7 = extraout_CL; if (0xf < local_28) { - uVar14 = local_28 + 1; - psVar11 = local_3c[0]; - if (0xfff < uVar14) { - psVar11 = (std_string *)local_3c[0][-1]._capacity; - uVar14 = local_28 + 0x24; - if ((char *)0x1f < (char *)((int)local_3c[0] + (-4 - (int)psVar11))) goto LAB_0064b07d; + uVar15 = local_28 + 1; + psVar13 = local_3c[0]; + if (0xfff < uVar15) { + psVar13 = (std_string *)local_3c[0][-1]._capacity; + uVar15 = local_28 + 0x24; + if ((char *)0x1f < (char *)((int)local_3c[0] + (-4 - (int)psVar13))) goto LAB_0064b07d; } - operator_delete(psVar11,uVar14); - bVar6 = extraout_CL_00; + operator_delete(psVar13,uVar15); + bVar7 = extraout_CL_00; } local_2c = 0; local_28 = 0xf; local_3c[0] = (std_string *)((uint)local_3c[0] & 0xffffff00); - uVar21 = local_e4; + uVar24 = local_e4; } - if (pAVar19->_loaded != 0) { + if (pAVar22->_loaded != 0) { if (local_fc != 0) { - piVar20 = (int *)*local_100; - if (piVar20 != local_100) { + piVar23 = (int *)*local_100; + if (piVar23 != local_100) { do { ModManager::TryRedirectPath - (&g_manager->_modManager,&sStack_9c,(std_string *)(piVar20 + 5)); + (&g_manager->_modManager,(std_string *)auStack_9c,(std_string *)(piVar23 + 5)); local_14._0_1_ = 10; - Sprite::ReplaceSpritesheet((Sprite *)local_e8,piVar20[4],extraout_EAX); + Sprite::ReplaceSpritesheet((Sprite *)local_e8,piVar23[4],extraout_EAX); local_14._0_1_ = 3; - piVar16 = extraout_ECX; - if (0xf < sStack_9c._capacity) { - uVar17 = sStack_9c._capacity + 1; - uVar14 = sStack_9c._buf._0_4_; - if (0xfff < uVar17) { - uVar14 = *(uint *)(sStack_9c._buf._0_4_ - 4); - uVar17 = sStack_9c._capacity + 0x24; - if (0x1f < (sStack_9c._buf._0_4_ - uVar14) - 4) goto LAB_0064b07d; + piVar19 = extraout_ECX; + if (0xf < (uint)local_88) { + uVar15 = (int)local_88 + 1; + fVar18 = (float)auStack_9c._0_4_; + if (0xfff < uVar15) { + fVar18 = *(float *)(auStack_9c._0_4_ + -4); + uVar15 = (int)local_88 + 0x24; + if (0x1f < (auStack_9c._0_4_ - (int)fVar18) - 4U) goto LAB_0064b07d; } - operator_delete(uVar14,uVar17); - piVar16 = extraout_ECX_00; + operator_delete(fVar18,uVar15); + piVar19 = extraout_ECX_00; } - piVar2 = (int *)piVar20[2]; + piVar2 = (int *)piVar23[2]; if (*(char *)((int)piVar2 + 0xd) == '\0') { cVar1 = *(char *)(*piVar2 + 0xd); - piVar20 = piVar2; - piVar16 = (int *)*piVar2; + piVar23 = piVar2; + piVar19 = (int *)*piVar2; while (cVar1 == '\0') { - cVar1 = *(char *)(*piVar16 + 0xd); - piVar20 = piVar16; - piVar16 = (int *)*piVar16; + cVar1 = *(char *)(*piVar19 + 0xd); + piVar23 = piVar19; + piVar19 = (int *)*piVar19; } } else { - cVar1 = *(char *)(piVar20[1] + 0xd); - piVar5 = (int *)piVar20[1]; - piVar2 = piVar20; - while ((piVar20 = piVar5, cVar1 == '\0' && (piVar2 == (int *)piVar20[2]))) { - cVar1 = *(char *)(piVar20[1] + 0xd); - piVar5 = (int *)piVar20[1]; - piVar2 = piVar20; + cVar1 = *(char *)(piVar23[1] + 0xd); + piVar6 = (int *)piVar23[1]; + piVar2 = piVar23; + while ((piVar23 = piVar6, cVar1 == '\0' && (piVar2 == (int *)piVar23[2]))) { + cVar1 = *(char *)(piVar23[1] + 0xd); + piVar6 = (int *)piVar23[1]; + piVar2 = piVar23; } } - bVar6 = (byte)piVar16; - } while (piVar20 != local_100); + bVar7 = (byte)piVar19; + } while (piVar23 != local_100); } - pAVar19 = local_e8; - ANM2::LoadGraphics(local_e8,bVar6); + pAVar22 = local_e8; + ANM2::LoadGraphics(local_e8,bVar7); } if (local_5c == 0) { - psVar11 = &pAVar19->_animDefaultName; - if (0xf < (pAVar19->_animDefaultName)._capacity) { - psVar11 = (std_string *)*(std_string ***)(pAVar19->_animDefaultName)._buf; + psVar13 = &pAVar22->_animDefaultName; + if (0xf < (pAVar22->_animDefaultName)._capacity) { + psVar13 = (std_string *)*(std_string ***)(pAVar22->_animDefaultName)._buf; } } else { - psVar11 = (std_string *)local_6c; + psVar13 = (std_string *)local_6c; if (0xf < local_58) { - psVar11 = local_6c[0]; + psVar13 = local_6c[0]; } } - bVar6 = ANM2::SetAnimation(pAVar19,(byte *)psVar11,1); - if (bVar6 != 0) { - AnimationState::Rewind(&pAVar19->_animState); - (pAVar19->_animState)._isPlaying = 1; + bVar7 = ANM2::SetAnimation(pAVar22,(byte *)psVar13,1); + if (bVar7 != 0) { + AnimationState::Rewind(&pAVar22->_animState); + (pAVar22->_animState)._isPlaying = 1; } local_14._0_1_ = 0xb; - local_104 = uVar21 | 0x20; + local_104 = uVar24 | 0x20; piStack_124 = (int *)0x0; piStack_120 = (int *)0x0; - uStack_11c = 0; + fStack_11c = 0.0; string_split(&piStack_124); - piVar16 = piStack_f4; - piVar20 = local_f8; + piVar19 = piStack_f4; + piVar23 = local_f8; if (local_f8 != (int *)0x0) { - for (; piVar20 != piVar16; piVar20 = piVar20 + 6) { - uVar14 = piVar20[5]; - if (0xf < uVar14) { - iVar22 = *piVar20; - uVar21 = uVar14 + 1; - iVar12 = iVar22; - if (0xfff < uVar21) { - iVar12 = *(int *)(iVar22 + -4); - uVar21 = uVar14 + 0x24; - if (0x1f < (iVar22 - iVar12) - 4U) goto LAB_0064b07d; + for (; piVar23 != piVar19; piVar23 = piVar23 + 6) { + uVar15 = piVar23[5]; + if (0xf < uVar15) { + iVar25 = *piVar23; + uVar24 = uVar15 + 1; + iVar12 = iVar25; + if (0xfff < uVar24) { + iVar12 = *(int *)(iVar25 + -4); + uVar24 = uVar15 + 0x24; + if (0x1f < (iVar25 - iVar12) - 4U) goto LAB_0064b07d; } - operator_delete(iVar12,uVar21); + operator_delete(iVar12,uVar24); } - piVar20[4] = 0; - piVar20[5] = 0xf; - *(undefined1 *)piVar20 = 0; + piVar23[4] = 0; + piVar23[5] = 0xf; + *(undefined1 *)piVar23 = 0; } - uVar14 = ((int)(local_f0 - (int)local_f8) / 0x18) * 0x18; - piVar20 = local_f8; - if (0xfff < uVar14) { - piVar20 = (int *)local_f8[-1]; - uVar14 = uVar14 + 0x23; - if ((undefined1 *)0x1f < (undefined1 *)((int)local_f8 + (-4 - (int)piVar20))) + uVar15 = (((int)local_f0 - (int)local_f8) / 0x18) * 0x18; + piVar23 = local_f8; + if (0xfff < uVar15) { + piVar23 = (int *)local_f8[-1]; + uVar15 = uVar15 + 0x23; + if ((undefined1 *)0x1f < (undefined1 *)((int)local_f8 + (-4 - (int)piVar23))) goto LAB_0064b07d; } - operator_delete(piVar20,uVar14); + operator_delete(piVar23,uVar15); } - local_f0 = uStack_11c; + local_f0 = fStack_11c; local_14._0_1_ = 3; local_ec = 0; local_f8 = piStack_124; piStack_f4 = piStack_120; - iVar22 = (int)piStack_120 - (int)piStack_124 >> 0x1f; - if (((int)piStack_120 - (int)piStack_124) / 0x18 + iVar22 != iVar22) { - iVar22 = 0; + iVar25 = (int)piStack_120 - (int)piStack_124 >> 0x1f; + if (((int)piStack_120 - (int)piStack_124) / 0x18 + iVar25 != iVar25) { + iVar25 = 0; local_110 = local_110 & 0xffffffff; do { - pcVar18 = (char *)((int)local_f8 + iVar22); - if (0xf < *(uint *)(pcVar18 + 0x14)) { - pcVar18 = *(char **)pcVar18; + pcVar21 = (char *)((int)local_f8 + iVar25); + if (0xf < *(uint *)(pcVar21 + 0x14)) { + pcVar21 = *(char **)pcVar21; } - pcVar7 = strchr(pcVar18,0x2d); - if (pcVar7 != (char *)0x0) { + pcVar8 = strchr(pcVar21,0x2d); + if (pcVar8 != (char *)0x0) { local_2c = 0; local_28 = 0xf; local_3c[0] = (std_string *)0x0; - std::string::assign(pcVar18,(int)pcVar7 - (int)pcVar18); + std::string::assign(pcVar21,(int)pcVar8 - (int)pcVar21); local_14._0_1_ = 0xc; local_44 = 0; local_40 = 0xf; local_54[0] = (char *******)0x0; - pcVar18 = pcVar7 + 1; + pcVar21 = pcVar8 + 1; do { - cVar1 = *pcVar18; - pcVar18 = pcVar18 + 1; + cVar1 = *pcVar21; + pcVar21 = pcVar21 + 1; } while (cVar1 != '\0'); - std::string::assign(pcVar7 + 1,(int)pcVar18 - (int)(pcVar7 + 2)); + std::string::assign(pcVar8 + 1,(int)pcVar21 - (int)(pcVar8 + 2)); local_14 = (char ******)CONCAT31(local_14._1_3_,0xd); - psVar11 = (std_string *)local_3c; + psVar13 = (std_string *)local_3c; if (0xf < local_28) { - psVar11 = local_3c[0]; + psVar13 = local_3c[0]; } - layerName = (byte *)atoi(psVar11->_buf); - pAVar19 = local_e8; + layerName = (byte *)atoi(psVar13->_buf); + pAVar22 = local_e8; if (((int)layerName < 0) || (local_e8->_layerCount <= (int)layerName)) { - bVar4 = false; + bVar5 = false; } else { - bVar4 = true; + bVar5 = true; } - if (bVar4) { - color_preset_lookup(&(g_manager->_itemConfig).field_0x7c); - pLVar13 = ANM2::GetLayer(pAVar19,layerName); - if ((undefined4 *)&pLVar13->field_0x48 != &local_b0) { - *(undefined4 *)&pLVar13->field_0x48 = local_b0; - *(undefined4 *)&pLVar13->field_0x4c = uStack_ac; - *(undefined4 *)&pLVar13->field_0x50 = uStack_a8; - *(undefined4 *)&pLVar13->field_0x54 = uStack_a4; - *(undefined4 *)&pLVar13->field_0x58 = local_a0; - pLVar13->field_0x5c = sStack_9c._buf[0]; - pLVar13->field_0x5d = sStack_9c._buf[1]; - pLVar13->field_0x5e = sStack_9c._buf[2]; - pLVar13->field_0x5f = sStack_9c._buf[3]; - pLVar13->field_0x60 = sStack_9c._buf[4]; - pLVar13->field_0x61 = sStack_9c._buf[5]; - pLVar13->field_0x62 = sStack_9c._buf[6]; - pLVar13->field_0x63 = sStack_9c._buf[7]; - pLVar13->field_0x64 = sStack_9c._buf[8]; - pLVar13->field_0x65 = sStack_9c._buf[9]; - pLVar13->field_0x66 = sStack_9c._buf[10]; - pLVar13->field_0x67 = sStack_9c._buf[0xb]; - pLVar13->field_0x68 = sStack_9c._buf[0xc]; - pLVar13->field_0x69 = sStack_9c._buf[0xd]; - pLVar13->field_0x6a = sStack_9c._buf[0xe]; - pLVar13->field_0x6b = sStack_9c._buf[0xf]; - *(uint *)&pLVar13->field_0x6c = sStack_9c._size; - *(uint *)&pLVar13->field_0x70 = sStack_9c._capacity; + if (bVar5) { + color_preset_lookup(&(g_manager->_itemConfig)._locustConfigs); + pLVar14 = ANM2::GetLayer(pAVar22,layerName); + if (&pLVar14->_color != (ColorMod *)&local_b0) { + (pLVar14->_color)._tint[0] = local_b0; + (pLVar14->_color)._tint[1] = fStack_ac; + (pLVar14->_color)._tint[2] = fStack_a8; + (pLVar14->_color)._tint[3] = fStack_a4; + (pLVar14->_color)._colorize[0] = local_a0; + (pLVar14->_color)._colorize[1] = (float)auStack_9c._0_4_; + (pLVar14->_color)._colorize[2] = (float)auStack_9c._4_4_; + (pLVar14->_color)._colorize[3] = fStack_94; + (pLVar14->_color)._offset[0] = local_90; + (pLVar14->_color)._offset[1] = (float)piStack_8c; + (pLVar14->_color)._offset[2] = local_88; } } local_14._0_1_ = 0xc; if (0xf < local_40) { - uVar14 = local_40 + 1; - pppppppcVar9 = local_54[0]; - if (0xfff < uVar14) { - pppppppcVar9 = (char *******)local_54[0][-1]; - uVar14 = local_40 + 0x24; - if ((char *)0x1f < (char *)((int)local_54[0] + (-4 - (int)pppppppcVar9))) + uVar15 = local_40 + 1; + pppppppcVar10 = local_54[0]; + if (0xfff < uVar15) { + pppppppcVar10 = (char *******)local_54[0][-1]; + uVar15 = local_40 + 0x24; + if ((char *)0x1f < (char *)((int)local_54[0] + (-4 - (int)pppppppcVar10))) goto LAB_0064b07d; } - operator_delete(pppppppcVar9,uVar14); + operator_delete(pppppppcVar10,uVar15); } local_14._0_1_ = 3; if (0xf < local_28) { - uVar14 = local_28 + 1; - psVar11 = local_3c[0]; - if (0xfff < uVar14) { - psVar11 = (std_string *)local_3c[0][-1]._capacity; - uVar14 = local_28 + 0x24; - if ((char *)0x1f < (char *)((int)local_3c[0] + (-4 - (int)psVar11))) + uVar15 = local_28 + 1; + psVar13 = local_3c[0]; + if (0xfff < uVar15) { + psVar13 = (std_string *)local_3c[0][-1]._capacity; + uVar15 = local_28 + 0x24; + if ((char *)0x1f < (char *)((int)local_3c[0] + (-4 - (int)psVar13))) goto LAB_0064b07d; } - operator_delete(psVar11,uVar14); + operator_delete(psVar13,uVar15); } } local_ec = local_ec + 1; - iVar22 = local_110._4_4_ + 0x18; - local_110 = CONCAT44(iVar22,(undefined4)local_110); + iVar25 = local_110._4_4_ + 0x18; + local_110 = CONCAT44(iVar25,(undefined4)local_110); } while (local_ec < (uint)(((int)piStack_f4 - (int)local_f8) / 0x18)); } } if (0xf < local_58) { - uVar14 = local_58 + 1; - psVar11 = local_6c[0]; - if (0xfff < uVar14) { - psVar11 = *(std_string **)(local_6c[0][-1]._buf + 0x14); - uVar14 = local_58 + 0x24; - if ((byte *)0x1f < (byte *)((int)local_6c[0] + (-4 - (int)psVar11))) goto LAB_0064b07d; + uVar15 = local_58 + 1; + psVar13 = local_6c[0]; + if (0xfff < uVar15) { + psVar13 = *(std_string **)(local_6c[0][-1]._buf + 0x14); + uVar15 = local_58 + 0x24; + if ((byte *)0x1f < (byte *)((int)local_6c[0] + (-4 - (int)psVar13))) goto LAB_0064b07d; } - operator_delete(psVar11,uVar14); + operator_delete(psVar13,uVar15); } local_5c = 0; local_58 = 0xf; @@ -310371,40 +310664,40 @@ LAB_0064b108: FUN_00652780(&local_100,local_100[1]); operator_delete(local_100,0x2c); if (0xf < local_74._4_4_) { - uVar14 = local_74._4_4_ + 1; - pppppppcVar9 = local_84; - if (0xfff < uVar14) { - pppppppcVar9 = (char *******)local_84[-1]; - uVar14 = local_74._4_4_ + 0x24; - if ((char *)0x1f < (char *)((int)local_84 + (-4 - (int)pppppppcVar9))) { + uVar15 = local_74._4_4_ + 1; + pppppppcVar10 = local_84; + if (0xfff < uVar15) { + pppppppcVar10 = (char *******)local_84[-1]; + uVar15 = local_74._4_4_ + 0x24; + if ((char *)0x1f < (char *)((int)local_84 + (-4 - (int)pppppppcVar10))) { LAB_0064b07d: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pppppppcVar9,uVar14); + operator_delete(pppppppcVar10,uVar15); } - piVar16 = piStack_f4; - piVar20 = local_f8; + piVar19 = piStack_f4; + piVar23 = local_f8; if (local_f8 != (int *)0x0) { - for (; piVar20 != piVar16; piVar20 = piVar20 + 6) { - uVar14 = piVar20[5]; - if (0xf < uVar14) { - iVar22 = *piVar20; - uVar21 = uVar14 + 1; - iVar12 = iVar22; - if (0xfff < uVar21) { - iVar12 = *(int *)(iVar22 + -4); - uVar21 = uVar14 + 0x24; - if (0x1f < (iVar22 - iVar12) - 4U) goto LAB_0064b07d; + for (; piVar23 != piVar19; piVar23 = piVar23 + 6) { + uVar15 = piVar23[5]; + if (0xf < uVar15) { + iVar25 = *piVar23; + uVar24 = uVar15 + 1; + iVar12 = iVar25; + if (0xfff < uVar24) { + iVar12 = *(int *)(iVar25 + -4); + uVar24 = uVar15 + 0x24; + if (0x1f < (iVar25 - iVar12) - 4U) goto LAB_0064b07d; } - operator_delete(iVar12,uVar21); + operator_delete(iVar12,uVar24); } - piVar20[4] = 0; - piVar20[5] = 0xf; - *(undefined1 *)piVar20 = 0; + piVar23[4] = 0; + piVar23[5] = 0xf; + *(undefined1 *)piVar23 = 0; } - deallocate(local_f8,(int)(local_f0 - (int)local_f8) / 0x18); + deallocate(local_f8,((int)local_f0 - (int)local_f8) / 0x18); } ExceptionList = local_1c; return; @@ -310424,9 +310717,14 @@ void FUN_0064b6a0(void) } -//@@ 0064b6c0 FUN_0064b6c0 +//@@ 0064b6c0 Entity_Familiar::render_abyss_locust_sprite -void FUN_0064b6c0(ANM2 *param_1,float *param_2) +/* DB: ? ECX=familiar, (ANM2*, offset): called from Entity_Familiar::Render over the two ANM2 + vectors (stride 0x114) of AbyssLocustData (before and after Entity::Render); fades the sprite + alpha +-0.04 by this+0xd88 == -1 (ANM2::Reset at 0), scales by ItemConfig::get_wisp_entry +0x78 * + 0.45 * sprite scale (+0x374/+0x378), AnimationState::Update x2, ANM2::Render */ + +void Entity_Familiar::render_abyss_locust_sprite(ANM2 *param_1,float *param_2) { int iVar1; @@ -310489,65 +310787,65 @@ void FUN_0064b6c0(ANM2 *param_1,float *param_2) familiar, counts it for the player, sets +0xef0 = 1 and the familiar's parent to the helper; NpcAI::ENTITY_SIREN_main */ -void Entity_Familiar::siren_charm(int param_1,int param_2) +void __thiscall Entity_Familiar::siren_charm(Entity_Familiar *this,int param_2,void *param_3) { - undefined4 uVar1; - int *piVar2; - int *in_ECX; - int *piVar3; - int *local_c [2]; + int *piVar1; + undefined4 uVar2; + EntityPtr EVar3; + EntityPtr *pEVar4; + Entity_Familiar *local_c [2]; - if (in_ECX[0x105] == 0) { - in_ECX[0x105] = in_ECX[0x104]; + if (this->_sirenOriginalPlayer == (void *)0x0) { + this->_sirenOriginalPlayer = this->_player; } - local_c[0] = in_ECX; - if (in_ECX[0x104] != param_2) { - set_player(param_2); + local_c[0] = this; + if (this->_player != param_3) { + set_player(param_3); } - in_ECX[0x353] = 0x2d; - if (in_ECX[0xf1] != 0) { - local_c[0] = in_ECX + 0xf1; + this->_fireCooldown = 0x2d; + if (this->_target != (EntityPtr)0x0) { + local_c[0] = (Entity_Familiar *)&this->_target; std::multiset::erase(local_c); } - in_ECX[0xf1] = 0; - uVar1 = Random(); - piVar2 = (int *)Game::SpawnEx(g_game,0x3c6,0,in_ECX + 0xcf,&g_vectorZero,0,0,uVar1,0); - if (piVar2[0xef] != 0) { - local_c[0] = piVar2 + 0xef; + this->_target = (EntityPtr)0x0; + uVar2 = Random(); + EVar3 = (EntityPtr)Game::SpawnEx(g_game,0x3c6,0,&this->_pos,&g_vectorZero,0,0,uVar2,0); + if (*(int *)((int)EVar3 + 0x3bc) != 0) { + local_c[0] = (Entity_Familiar *)((int)EVar3 + 0x3bc); std::multiset::erase(local_c); } - piVar2[0xef] = param_1; - if (param_1 != 0) { - std::multiset::insert(piVar2 + 0xef); + *(int *)((int)EVar3 + 0x3bc) = param_2; + if (param_2 != 0) { + std::multiset::insert((int *)((int)EVar3 + 0x3bc)); } - if (piVar2[0xf1] != 0) { - local_c[0] = piVar2 + 0xf1; + if (*(int *)((int)EVar3 + 0x3c4) != 0) { + local_c[0] = (Entity_Familiar *)((int)EVar3 + 0x3c4); std::multiset::erase(local_c); } - piVar2[0xf1] = (int)in_ECX; - std::multiset::insert(piVar2 + 0xf1); - piVar2[0x5a] = piVar2[0x5a] & 0xfffffffb; - piVar2[0x5b] = piVar2[0x5b]; - piVar2[0xe0] = piVar2[0xe1]; - (**(code **)(*piVar2 + 0xc))(); - if (in_ECX[0xb] == 0x41) { - piVar3 = (int *)(*(int *)(param_2 + 0x16c8) + 0x45c); - *piVar3 = *piVar3 + 1; + *(int *)((int)EVar3 + 0x3c4) = (int)this; + std::multiset::insert((int *)((int)EVar3 + 0x3c4)); + *(uint *)((int)EVar3 + 0x168) = *(uint *)((int)EVar3 + 0x168) & 0xfffffffb; + *(int *)((int)EVar3 + 0x16c) = *(int *)((int)EVar3 + 0x16c); + *(int *)((int)EVar3 + 0x380) = *(int *)((int)EVar3 + 900); + (**(code **)(*(int *)EVar3 + 0xc))(); + if (this->_variant == 0x41) { + piVar1 = (int *)(*(int *)((int)param_3 + 0x16c8) + 0x45c); + *piVar1 = *piVar1 + 1; } - else if (in_ECX[0xb] == 0x20) { - piVar3 = (int *)(*(int *)(param_2 + 0x16c8) + 0x1c0); - *piVar3 = *piVar3 + 1; + else if (this->_variant == 0x20) { + piVar1 = (int *)(*(int *)((int)param_3 + 0x16c8) + 0x1c0); + *piVar1 = *piVar1 + 1; } - in_ECX[0x3bc] = 1; - piVar3 = in_ECX + 0x3bb; - if ((int *)*piVar3 != piVar2) { - if ((int *)*piVar3 != (int *)0x0) { - local_c[0] = piVar3; + this->_sirenCharmFrames = 1; + pEVar4 = &this->_sirenHelper; + if (*pEVar4 != EVar3) { + if (*pEVar4 != (EntityPtr)0x0) { + local_c[0] = (Entity_Familiar *)pEVar4; std::multiset::erase(local_c); } - *piVar3 = (int)piVar2; - std::multiset::insert(piVar3); + *pEVar4 = EVar3; + std::multiset::insert(pEVar4); } return; } @@ -310760,10 +311058,7 @@ int __fastcall FamiliarAI::worm_friend(Entity_Familiar *familiar) float fVar17; float fVar18; EntityPtr local_34; - undefined1 auStack_30 [28]; - float fStack_14; - uint uStack_10; - Entity_Familiar *pEStack_c; + EntityRef EStack_30; if ((familiar->_fireCooldown == 0) && (familiar->_visible == 0)) { Entity_Familiar::PickEnemyTarget(familiar,0x43b68000,0xd,4,&g_vectorZero,0x41700000); @@ -311050,14 +311345,14 @@ LAB_0064c748: *(float *)((int)EVar8 + 0x360) = pVVar14->x - *(float *)((int)EVar8 + 0x33c); *(float *)((int)EVar8 + 0x364) = fVar16 - *(float *)((int)EVar8 + 0x340); local_34 = familiar->_target; - auStack_30._16_4_ = pVVar14->x; - auStack_30._20_4_ = (familiar->_pos).y; - auStack_30._0_4_ = familiar->_type; - auStack_30._4_4_ = familiar->_variant; - auStack_30._8_4_ = familiar->_spawnerType; - auStack_30._12_4_ = familiar->_spawnerVariant; + EStack_30._position.x = pVVar14->x; + EStack_30._position.y = (familiar->_pos).y; + EStack_30._type = familiar->_type; + EStack_30._variant = familiar->_variant; + EStack_30._spawnerType = familiar->_spawnerType; + EStack_30._spawnerVariant = familiar->_spawnerVariant; fVar16 = (familiar->_velocity).x; - fStack_14 = (familiar->_velocity).y; + EStack_30._velocity.y = (familiar->_velocity).y; if ((familiar->_flags & 0x20000000) == 0) { uVar10 = 0; } @@ -311070,7 +311365,7 @@ LAB_0064c748: else { uVar11 = 4; } - uStack_10 = uVar11 | uVar10 | (uint)((familiar->_flags & 0x100) != 0); + EStack_30._flags = uVar11 | uVar10 | (uint)((familiar->_flags & 0x100) != 0); auVar4 = ZEXT1632(CONCAT412(0x3f800000,CONCAT48(0x3fa66666,0x3f8000003f800000))); color._offset[0] = 0.15686275; color._tint[0] = (float)auVar4._0_4_; @@ -311083,22 +311378,22 @@ LAB_0064c748: color._colorize[3] = (float)auVar4._28_4_; color._offset[1] = 0.15686275; color._offset[2] = 0.15686275; - auStack_30._24_4_ = fVar16; - pEStack_c = familiar; - Entity::AddSlowing((Entity *)local_34,(EntityRef *)auStack_30,-1,0.9,color,0); + EStack_30._velocity.x = fVar16; + EStack_30._entity = familiar; + Entity::AddSlowing((Entity *)local_34,&EStack_30,-1,0.9,color,0); iVar3 = familiar->_fireCooldown; iVar12 = iVar3; if ((0 < iVar3) && (iVar12 = iVar3 / 0xf, iVar3 % 0xf == 0)) { Entity_Familiar::apply_tear_modifiers(familiar); - auStack_30._16_4_ = pVVar14->x; - auStack_30._20_4_ = (familiar->_pos).y; + EStack_30._position.x = pVVar14->x; + EStack_30._position.y = (familiar->_pos).y; local_34 = *(EntityPtr *)(*(int *)familiar->_target + 0x20); - auStack_30._24_4_ = (familiar->_velocity).x; - auStack_30._0_4_ = familiar->_type; - auStack_30._4_4_ = familiar->_variant; - auStack_30._8_4_ = familiar->_spawnerType; - auStack_30._12_4_ = familiar->_spawnerVariant; - fStack_14 = (familiar->_velocity).y; + EStack_30._velocity.x = (familiar->_velocity).x; + EStack_30._type = familiar->_type; + EStack_30._variant = familiar->_variant; + EStack_30._spawnerType = familiar->_spawnerType; + EStack_30._spawnerVariant = familiar->_spawnerVariant; + EStack_30._velocity.y = (familiar->_velocity).y; if ((familiar->_flags & 0x20000000) == 0) { uVar10 = 0; } @@ -311111,9 +311406,9 @@ LAB_0064c748: else { uVar11 = 4; } - uStack_10 = uVar11 | uVar10 | (uint)((familiar->_flags & 0x100) != 0); - pEStack_c = familiar; - iVar12 = (*(code *)local_34)(fVar16 * familiar->_collisionDamage,0,0,auStack_30,0x1e); + EStack_30._flags = uVar11 | uVar10 | (uint)((familiar->_flags & 0x100) != 0); + EStack_30._entity = familiar; + iVar12 = (*(code *)local_34)(fVar16 * familiar->_collisionDamage,0,0,&EStack_30,0x1e); } } } @@ -311130,17 +311425,17 @@ LAB_0064c748: void __thiscall Entity_Familiar::UpdateDirtColor(Entity_Familiar *this,byte Immediate) { - undefined4 uVar1; - undefined4 uVar2; - undefined4 uVar3; + float fVar1; + float fVar2; + float fVar3; char cVar4; uint uVar5; LayerState *pLVar6; - undefined4 *puVar7; + float *pfVar7; int iVar8; uint uVar9; int iVar10; - undefined1 *puVar11; + ColorMod *pCVar11; uint uVar12; undefined1 local_a4 [44]; ANM2 *local_78; @@ -311256,27 +311551,27 @@ LAB_0064ccc7: } pLVar6 = local_6c; if (local_59 != '\0') { - puVar11 = &local_6c->field_0x48; - puVar7 = (undefined4 *)Color::Lerp(local_a4,puVar11,local_70,0x3f800000); - if ((undefined4 *)puVar11 != puVar7) { - uVar1 = puVar7[1]; - uVar2 = puVar7[2]; - uVar3 = puVar7[3]; - *(undefined4 *)puVar11 = *puVar7; - *(undefined4 *)&pLVar6->field_0x4c = uVar1; - *(undefined4 *)&pLVar6->field_0x50 = uVar2; - *(undefined4 *)&pLVar6->field_0x54 = uVar3; - uVar1 = puVar7[5]; - uVar2 = puVar7[6]; - uVar3 = puVar7[7]; - *(undefined4 *)&pLVar6->field_0x58 = puVar7[4]; - *(undefined4 *)&pLVar6->field_0x5c = uVar1; - *(undefined4 *)&pLVar6->field_0x60 = uVar2; - *(undefined4 *)&pLVar6->field_0x64 = uVar3; - uVar1 = puVar7[9]; - *(undefined4 *)&pLVar6->field_0x68 = puVar7[8]; - *(undefined4 *)&pLVar6->field_0x6c = uVar1; - *(undefined4 *)&pLVar6->field_0x70 = puVar7[10]; + pCVar11 = &local_6c->_color; + pfVar7 = (float *)Color::Lerp(local_a4,pCVar11,local_70,0x3f800000); + if (pCVar11 != (ColorMod *)pfVar7) { + fVar1 = pfVar7[1]; + fVar2 = pfVar7[2]; + fVar3 = pfVar7[3]; + pCVar11->_tint[0] = *pfVar7; + (pLVar6->_color)._tint[1] = fVar1; + (pLVar6->_color)._tint[2] = fVar2; + (pLVar6->_color)._tint[3] = fVar3; + fVar1 = pfVar7[5]; + fVar2 = pfVar7[6]; + fVar3 = pfVar7[7]; + (pLVar6->_color)._colorize[0] = pfVar7[4]; + (pLVar6->_color)._colorize[1] = fVar1; + (pLVar6->_color)._colorize[2] = fVar2; + (pLVar6->_color)._colorize[3] = fVar3; + fVar1 = pfVar7[9]; + (pLVar6->_color)._offset[0] = pfVar7[8]; + (pLVar6->_color)._offset[1] = fVar1; + (pLVar6->_color)._offset[2] = pfVar7[10]; } } local_60 = local_60 + 1; @@ -311465,7 +311760,7 @@ Level::compute_room_distances(Level *this,int param_2,uint param_3,uint *param_4 *local_4c = (int)&local_4c; local_8 = 0; std::deque::push_front(&local_54); - *(undefined2 *)((int)this->_roomList + local_54 * 2 + -0x14) = 0; + *(undefined2 *)((int)this->_roomList[0]._doors + local_54 * 2 + -0x30) = 0; if (local_3c != 0) { do { local_3c = local_3c + -1; @@ -311480,7 +311775,7 @@ Level::compute_room_distances(Level *this,int param_2,uint param_3,uint *param_4 local_58 = level_get_room_neighbors(uVar10,local_34); iVar8 = 0; if (0 < local_58) { - puVar6 = (ushort *)((int)local_50->_roomList + uVar10 * 2 + -0x14); + puVar6 = (ushort *)((int)local_50->_roomList[0]._doors + uVar10 * 2 + -0x30); do { pLVar4 = local_50; local_54 = (uint)*puVar6; @@ -311489,12 +311784,12 @@ Level::compute_room_distances(Level *this,int param_2,uint param_3,uint *param_4 if (((uVar10 < 0xa9) && (local_64 < 0xa9)) && (local_38[local_64] == local_38[uVar10])) { uVar7 = local_54 + 1; } - if (uVar7 < *(ushort *)((int)local_50->_roomList + local_64 * 2 + -0x14)) { - *(short *)((int)local_50->_roomList + local_64 * 2 + -0x14) = (short)uVar7; + if (uVar7 < *(ushort *)((int)local_50->_roomList[0]._doors + local_64 * 2 + -0x30)) { + *(short *)((int)local_50->_roomList[0]._doors + local_64 * 2 + -0x30) = (short)uVar7; std::deque::push_front(&local_64); } iVar8 = iVar8 + 1; - puVar6 = (ushort *)((int)pLVar4->_roomList + uVar10 * 2 + -0x14); + puVar6 = (ushort *)((int)pLVar4->_roomList[0]._doors + uVar10 * 2 + -0x30); } while (iVar8 < local_58); } } while (local_3c != 0); @@ -311507,7 +311802,7 @@ Level::compute_room_distances(Level *this,int param_2,uint param_3,uint *param_4 local_38 = (int *)0xffff; if (0 < local_58) { do { - uVar1 = *(ushort *)((int)local_50->_roomList + local_34[iVar8] * 2 + -0x14); + uVar1 = *(ushort *)((int)local_50->_roomList[0]._doors + local_34[iVar8] * 2 + -0x30); if (uVar1 < (ushort)local_38) { local_38 = (int *)(uint)uVar1; uVar10 = local_34[iVar8]; @@ -311517,7 +311812,7 @@ Level::compute_room_distances(Level *this,int param_2,uint param_3,uint *param_4 } *local_5c = uVar10; } - uVar2 = *(undefined2 *)((int)local_50->_roomList + local_60 * 2 + -0x14); + uVar2 = *(undefined2 *)((int)local_50->_roomList[0]._doors + local_60 * 2 + -0x30); if (local_3c != 0) { do { local_3c = local_3c + -1; @@ -311669,8 +311964,8 @@ int star_of_bethlehem_get_target_room(void) } else if (iVar7 == 0xb) { pRVar8 = Level::GetRoomByIdx((Level *)pGVar12,pGVar12->_startingRoomIdx,-1); - if ((pRVar8->Data != (void *)0x0) && (-1 < *(int *)&pRVar8->field_0x20)) { - pRVar9 = Level::GetRoomByIdx((Level *)g_game,*(int *)&pRVar8->field_0x20,-1); + if ((pRVar8->Data != (void *)0x0) && (-1 < pRVar8->_doors[1])) { + pRVar9 = Level::GetRoomByIdx((Level *)g_game,pRVar8->_doors[1],-1); if (pRVar9->Data == (void *)0x0) { pRVar9 = Game::GetCurrentRoomDesc(g_game); pGVar12 = g_game; @@ -312813,15 +313108,15 @@ switchD_0064e588_default: uVar9 = g_graphicsManager_flags; pLVar14 = ANM2::GetLayer((ANM2 *)((int)local_38 + 0x48),(byte *)0x0); EVar25 = local_38; - uVar10 = 1; + iVar11 = 1; if ((uVar9 & 4) == 0) { - uVar10 = 6; + iVar11 = 6; } - *(undefined4 *)&pLVar14->field_0x78 = 0; - *(undefined4 *)&pLVar14->field_0x7c = uVar10; - *(undefined4 *)&pLVar14->field_0x80 = 7; - *(undefined4 *)&pLVar14->field_0x84 = 1; - *(undefined4 *)&pLVar14->field_0x88 = 7; + pLVar14->_blendMode[0] = 0; + pLVar14->_blendMode[1] = iVar11; + pLVar14->_blendMode[2] = 7; + pLVar14->_blendMode[3] = 1; + pLVar14->_blendMode[4] = 7; *(int *)((int)local_38 + 0x454) = 0x3e19999a; *(int *)((int)local_38 + 0x458) = 0x3e19999a; if (*(EntityPtr *)((int)local_38 + 0x3bc) != (EntityPtr)0x0) { @@ -312892,7 +313187,7 @@ void __fastcall FamiliarAI::thrown_familiar_239(Entity_Familiar *familiar) undefined4 auStack_70 [8]; undefined4 uStack_50; undefined4 uStack_4c; - undefined4 uStack_48; + float fStack_48; uint local_44; local_44 = __security_cookie ^ (uint)auStack_b8; @@ -312983,23 +313278,23 @@ void __fastcall FamiliarAI::thrown_familiar_239(Entity_Familiar *familiar) uStack_50 = 0x3f4ccccd; uStack_4c = 0x3f666666; iVar9 = uVar5 % 0xf + 0xf; - uStack_48 = 0x3f800000; + fStack_48 = 1.0; *(int *)(iVar8 + 0x45c) = iVar9; *(int *)(iVar8 + 0x460) = iVar9; *(float *)(iVar8 + 0x34c) = (familiar->_posOffset).x; *(float *)(iVar8 + 0x350) = (familiar->_posOffset).y; pLVar10 = ANM2::GetLayer((ANM2 *)(iVar8 + 0x48),(byte *)0x0); - if ((undefined4 *)&pLVar10->field_0x48 != auStack_70) { - *(undefined4 *)&pLVar10->field_0x48 = 0x3f800000; - *(undefined4 *)&pLVar10->field_0x4c = 0x3f800000; - *(undefined4 *)&pLVar10->field_0x50 = 0x3f800000; - *(undefined4 *)&pLVar10->field_0x54 = 0x3ecccccd; - *(undefined4 *)&pLVar10->field_0x58 = 0; - *(undefined4 *)&pLVar10->field_0x5c = 0; - *(undefined4 *)&pLVar10->field_0x60 = 0; - *(undefined4 *)&pLVar10->field_0x64 = 0; - *(ulonglong *)&pLVar10->field_0x68 = CONCAT44(uStack_4c,uStack_50); - *(undefined4 *)&pLVar10->field_0x70 = uStack_48; + if (&pLVar10->_color != (ColorMod *)auStack_70) { + (pLVar10->_color)._tint[0] = 1.0; + (pLVar10->_color)._tint[1] = 1.0; + (pLVar10->_color)._tint[2] = 1.0; + (pLVar10->_color)._tint[3] = 0.4; + (pLVar10->_color)._colorize[0] = 0.0; + (pLVar10->_color)._colorize[1] = 0.0; + (pLVar10->_color)._colorize[2] = 0.0; + (pLVar10->_color)._colorize[3] = 0.0; + *(ulonglong *)(pLVar10->_color)._offset = CONCAT44(uStack_4c,uStack_50); + (pLVar10->_color)._offset[2] = fStack_48; } fVar11 = (familiar->_velocity).x; fVar12 = (familiar->_velocity).y; @@ -313354,20 +313649,19 @@ void __thiscall Entity_Familiar::ai_variant_242(Entity_Familiar *this) undefined4 uVar12; int *piVar13; Entity_Player *pEVar14; - RNG RVar15; Entity_Pickup *this_00; - uint uVar16; - char *pcVar17; - int iVar18; - byte *pbVar19; - int iVar20; - EntityPtr *pEVar21; - int iVar22; - bool bVar23; - float fVar24; - EntityPtr EVar25; + uint uVar15; + char *pcVar16; + int iVar17; + byte *pbVar18; + int iVar19; + EntityPtr *pEVar20; + int iVar21; + bool bVar22; + float fVar23; + EntityPtr EVar24; + float fVar25; float fVar26; - float fVar27; int local_60; int *local_5c; undefined4 local_58; @@ -313411,25 +313705,25 @@ void __thiscall Entity_Familiar::ai_variant_242(Entity_Familiar *this) if (0xf < *(uint *)(pbVar3 + 0x14)) { pbVar10 = *(byte **)pbVar3; } - pbVar19 = s_Idle; + pbVar18 = s_Idle; do { bVar6 = *pbVar10; - bVar23 = bVar6 < *pbVar19; - if (bVar6 != *pbVar19) { + bVar22 = bVar6 < *pbVar18; + if (bVar6 != *pbVar18) { LAB_00651780: - uVar16 = -(uint)bVar23 | 1; + uVar15 = -(uint)bVar22 | 1; goto LAB_00651785; } if (bVar6 == 0) break; bVar6 = pbVar10[1]; - bVar23 = bVar6 < pbVar19[1]; - if (bVar6 != pbVar19[1]) goto LAB_00651780; + bVar22 = bVar6 < pbVar18[1]; + if (bVar6 != pbVar18[1]) goto LAB_00651780; pbVar10 = pbVar10 + 2; - pbVar19 = pbVar19 + 2; + pbVar18 = pbVar18 + 2; } while (bVar6 != 0); - uVar16 = 0; + uVar15 = 0; LAB_00651785: - if ((uVar16 == 0) && ((pbVar3[0x34] == 0 || ((this->_sprite)._animState._isPlaying != 0)))) + if ((uVar15 == 0) && ((pbVar3[0x34] == 0 || ((this->_sprite)._animState._isPlaying != 0)))) goto LAB_006517bc; } bVar6 = ANM2::SetAnimation(&this->_sprite,s_Idle,1); @@ -313465,16 +313759,16 @@ LAB_006517bc: pEVar2 = (Entity_Familiar *)local_5c[uVar8]; if (((pEVar2 != this) && ((pEVar2->_targetPosition).x == (this->_targetPosition).x)) && ((pEVar2->_targetPosition).y == (this->_targetPosition).y)) { - iVar18 = Random(); - fVar24 = (float)((double)iVar18 + __uint_to_double_fixup[-(iVar18 >> 0x1f)]) * + iVar17 = Random(); + fVar23 = (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * 3.14; - EVar11 = (EntityPtr)(fVar24 + fVar24); + EVar11 = (EntityPtr)(fVar23 + fVar23); local_30 = EVar11; sin(); local_24 = EVar11; - iVar18 = Random(); + iVar17 = Random(); local_28 = (EntityPtr) - ((float)((double)iVar18 + __uint_to_double_fixup[-(iVar18 >> 0x1f)]) * + ((float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * 15.0 + 15.0); EVar11 = local_30; cos(); @@ -313499,21 +313793,21 @@ LAB_0065088e: if (0xf < *(uint *)(pbVar3 + 0x14)) { pbVar10 = *(byte **)pbVar3; } - pcVar17 = "Transform"; + pcVar16 = "Transform"; do { bVar6 = *pbVar10; - bVar23 = bVar6 < (byte)*pcVar17; - if (bVar6 != *pcVar17) { + bVar22 = bVar6 < (byte)*pcVar16; + if (bVar6 != *pcVar16) { LAB_00650870: - uVar8 = -(uint)bVar23 | 1; + uVar8 = -(uint)bVar22 | 1; goto LAB_00650875; } if (bVar6 == 0) break; bVar6 = pbVar10[1]; - bVar23 = bVar6 < (byte)pcVar17[1]; - if (bVar6 != pcVar17[1]) goto LAB_00650870; + bVar22 = bVar6 < (byte)pcVar16[1]; + if (bVar6 != pcVar16[1]) goto LAB_00650870; pbVar10 = pbVar10 + 2; - pcVar17 = pcVar17 + 2; + pcVar16 = pcVar16 + 2; } while (bVar6 != 0); uVar8 = 0; LAB_00650875: @@ -313549,30 +313843,30 @@ LAB_00650875: } this->_target = EVar11; std::multiset::insert(&this->_target); - iVar18 = *(int *)((int)EVar11 + 0x28); - if (iVar18 == 0x13) { + iVar17 = *(int *)((int)EVar11 + 0x28); + if (iVar17 == 0x13) { local_18 = (this->_pos).x - *(float *)((int)this->_player + 0x33c); local_20 = (Entity_Pickup *)((this->_pos).y - *(float *)((int)this->_player + 0x340)); - fVar24 = local_18 * local_18 + (float)local_20 * (float)local_20; + fVar23 = local_18 * local_18 + (float)local_20 * (float)local_20; local_30 = EVar11; sqrtf(); - if (0.0 < fVar24) { - local_18 = (1.0 / fVar24) * local_18; - local_20 = (Entity_Pickup *)((float)local_20 * (1.0 / fVar24)); + if (0.0 < fVar23) { + local_18 = (1.0 / fVar23) * local_18; + local_20 = (Entity_Pickup *)((float)local_20 * (1.0 / fVar23)); } uVar8 = Random(); - EVar25 = (EntityPtr)((float)(int)(uVar8 % 0x5a - 0x2d) * 0.017453292); - local_38 = EVar25; + EVar24 = (EntityPtr)((float)(int)(uVar8 % 0x5a - 0x2d) * 0.017453292); + local_38 = EVar24; cos(); EVar11 = local_38; - local_24 = EVar25; + local_24 = EVar24; sin(); - fVar26 = (float)EVar11 * (float)local_20; - fVar27 = (float)local_24 * (float)local_20; + fVar25 = (float)EVar11 * (float)local_20; + fVar26 = (float)local_24 * (float)local_20; local_20 = (Entity_Pickup *)0x1; - fVar24 = (float)EVar11 * local_18; - local_18 = (float)local_24 * local_18 - fVar26; - local_24 = (EntityPtr)(fVar27 + fVar24); + fVar23 = (float)EVar11 * local_18; + local_18 = (float)local_24 * local_18 - fVar25; + local_24 = (EntityPtr)(fVar26 + fVar23); do { local_40 = local_18 * (float)(int)local_20 * 20.0 + (this->_pos).x; local_3c = (float)(int)local_20 * 20.0 * (float)local_24 + (this->_pos).y; @@ -313602,7 +313896,7 @@ LAB_00650875: } while ((int)local_20 < 5); EVar11 = local_28; } - else if (iVar18 == 0xed) { + else if (iVar17 == 0xed) { uVar12 = Random(); pfVar9 = (float *)MusicManager::RandomVector(&local_48); EVar11 = local_28; @@ -313622,7 +313916,7 @@ LAB_00650875: } (**(code **)(*(int *)local_28 + 0xc))(); } - else if (iVar18 == 0x38b) { + else if (iVar17 == 0x38b) { EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); if (local_54 < 2) { local_30 = (EntityPtr)(*(float *)((int)g_game->_room + 0x18) + 60.0); @@ -313632,17 +313926,17 @@ LAB_00650875: } pfVar9 = (float *)Room::GetCenterPos(&local_48); uVar8 = 0; - fVar24 = *pfVar9 - ((float)((double)(int)local_54 + + fVar23 = *pfVar9 - ((float)((double)(int)local_54 + __uint_to_double_fixup[-((int)local_54 >> 0x1f)]) - 1.0) * 40.0; if (local_54 != 0) { do { - iVar18 = local_5c[uVar8]; + iVar17 = local_5c[uVar8]; uVar8 = uVar8 + 1; - *(float *)(iVar18 + 0x334) = fVar24; - *(EntityPtr *)(iVar18 + 0x338) = local_30; - *(float *)(iVar18 + 0x33c) = fVar24; - fVar24 = fVar24 + 80.0; - *(undefined4 *)(iVar18 + 0x340) = *(undefined4 *)(iVar18 + 0x338); + *(float *)(iVar17 + 0x334) = fVar23; + *(EntityPtr *)(iVar17 + 0x338) = local_30; + *(float *)(iVar17 + 0x33c) = fVar23; + fVar23 = fVar23 + 80.0; + *(undefined4 *)(iVar17 + 0x340) = *(undefined4 *)(iVar17 + 0x338); } while (uVar8 < local_54); this = local_2c; } @@ -313663,11 +313957,11 @@ LAB_00650875: SoundEffects::Play(&pMVar5->_sfxManager,(int)local_30,1.0,2,0,1.0,0.0); pvVar1 = (g_manager->_itemConfig)._collectibles._begin; if ((0xae4 < (int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar1 & 0xfffffffcU) - ) && (iVar18 = *(int *)((int)pvVar1 + 0xae4), iVar18 != 0)) { - local_58 = *(undefined4 *)(iVar18 + 0x78); + ) && (iVar17 = *(int *)((int)pvVar1 + 0xae4), iVar17 != 0)) { + local_58 = *(undefined4 *)(iVar17 + 0x78); local_5c = (int *)0x0; local_54 = 0; - local_60 = iVar18; + local_60 = iVar17; TemporaryEffects::AddEffect((TemporaryEffects *)((int)g_game->_room + 0x7310),&local_60,1,1); } local_30 = (EntityPtr)g_game->_room; @@ -313676,24 +313970,24 @@ LAB_00650875: do { cVar7 = (**(code **)(**(int **)(*(int *)((int)local_30 + 0x125c) + uVar8 * 4) + 0x4c))(); if (cVar7 != '\0') { - iVar18 = *(int *)(*(int *)((int)local_30 + 0x125c) + uVar8 * 4); - if (*(int *)(iVar18 + 0x28) == 0x38b) { - if (*(int *)(iVar18 + 0x30) == 0) { - *(float *)(iVar18 + 0x380) = *(float *)(iVar18 + 0x380) + 2.0; - iVar18 = *(int *)(*(int *)((int)local_30 + 0x125c) + uVar8 * 4); - *(float *)(iVar18 + 900) = *(float *)(iVar18 + 900) + 2.0; + iVar17 = *(int *)(*(int *)((int)local_30 + 0x125c) + uVar8 * 4); + if (*(int *)(iVar17 + 0x28) == 0x38b) { + if (*(int *)(iVar17 + 0x30) == 0) { + *(float *)(iVar17 + 0x380) = *(float *)(iVar17 + 0x380) + 2.0; + iVar17 = *(int *)(*(int *)((int)local_30 + 0x125c) + uVar8 * 4); + *(float *)(iVar17 + 900) = *(float *)(iVar17 + 900) + 2.0; pGVar4 = g_game; - iVar18 = *(int *)(*(int *)((int)local_30 + 0x125c) + uVar8 * 4); - if (*(int *)(iVar18 + 0x3bc) == 0) { - fVar24 = *(float *)(iVar18 + 900); + iVar17 = *(int *)(*(int *)((int)local_30 + 0x125c) + uVar8 * 4); + if (*(int *)(iVar17 + 0x3bc) == 0) { + fVar23 = *(float *)(iVar17 + 900); *(short *)&(g_game->_hud).field_0x54b8 = - (short)(int)((fVar24 - *(float *)(iVar18 + 0x380)) + 1.0); - *(short *)&(pGVar4->_hud).field_0x54ba = (short)(int)fVar24; + (short)(int)((fVar23 - *(float *)(iVar17 + 0x380)) + 1.0); + *(short *)&(pGVar4->_hud).field_0x54ba = (short)(int)fVar23; } } } else { - *(float *)(iVar18 + 0x380) = *(float *)(iVar18 + 0x380) * 0.75; + *(float *)(iVar17 + 0x380) = *(float *)(iVar17 + 0x380) * 0.75; } } uVar8 = uVar8 + 1; @@ -313705,9 +313999,9 @@ LAB_00650875: goto LAB_00651625; local_28 = (EntityPtr)0x0; if (*(int *)((int)g_game->_room + 0x1264) != 0) { - pEVar21 = *(EntityPtr **)((int)g_game->_room + 0x125c); + pEVar20 = *(EntityPtr **)((int)g_game->_room + 0x125c); do { - EVar11 = *pEVar21; + EVar11 = *pEVar20; if ((EVar11 != (EntityPtr)0x0) && ((((1 < *(int *)&g_game->_deathmatchManager && (*(int *)((int)EVar11 + 0x28) == 1)) || (*(int *)((int)EVar11 + 0x28) - 10U < 0x3de)) && @@ -313717,7 +314011,7 @@ LAB_00650875: break; } local_28 = (EntityPtr)((int)local_28 + 1); - pEVar21 = pEVar21 + 1; + pEVar20 = pEVar20 + 1; } while ((uint)local_28 < (uint)*(EntityPtr *)((int)g_game->_room + 0x1264)); } pGVar4 = g_game; @@ -313744,73 +314038,73 @@ LAB_00651068: local_28 = (EntityPtr)0x0; while( true ) { local_30 = (EntityPtr)g_game->_room; - iVar22 = (int)((local_18 - 120.0) / 40.0 + 0.5); - iVar18 = (int)((local_1c - 40.0) / 40.0 + 0.5); - if ((((iVar18 < 0) || (*(int *)((int)local_30 + 0xc) <= iVar18)) || (iVar22 < 0)) || - (*(int *)((int)local_30 + 0x10) <= iVar22)) { - iVar18 = -1; + iVar21 = (int)((local_18 - 120.0) / 40.0 + 0.5); + iVar17 = (int)((local_1c - 40.0) / 40.0 + 0.5); + if ((((iVar17 < 0) || (*(int *)((int)local_30 + 0xc) <= iVar17)) || (iVar21 < 0)) || + (*(int *)((int)local_30 + 0x10) <= iVar21)) { + iVar17 = -1; } else { - iVar18 = iVar22 * *(int *)((int)local_30 + 0xc) + iVar18; + iVar17 = iVar21 * *(int *)((int)local_30 + 0xc) + iVar17; } pfVar9 = (float *)Room::GetCenterPos(&local_48); this = local_2c; - iVar20 = (int)(((*pfVar9 + 0.0) - 40.0) / 40.0 + 0.5); - iVar22 = (int)(((pfVar9[1] - 80.0) - 120.0) / 40.0 + 0.5); - if (((iVar20 < 0) || (*(int *)((int)local_30 + 0xc) <= iVar20)) || - ((iVar22 < 0 || (*(int *)((int)local_30 + 0x10) <= iVar22)))) { - iVar20 = -1; + iVar19 = (int)(((*pfVar9 + 0.0) - 40.0) / 40.0 + 0.5); + iVar21 = (int)(((pfVar9[1] - 80.0) - 120.0) / 40.0 + 0.5); + if (((iVar19 < 0) || (*(int *)((int)local_30 + 0xc) <= iVar19)) || + ((iVar21 < 0 || (*(int *)((int)local_30 + 0x10) <= iVar21)))) { + iVar19 = -1; } else { - iVar20 = iVar22 * *(int *)((int)local_30 + 0xc) + iVar20; + iVar19 = iVar21 * *(int *)((int)local_30 + 0xc) + iVar19; } - if (iVar18 != iVar20) break; + if (iVar17 != iVar19) break; local_28 = (EntityPtr)((float)local_28 + 10.0); pfVar9 = (float *)Room::FindFreePickupSpawnPosition(&local_40,EVar11,local_28,1,0,0); local_1c = *pfVar9; local_18 = pfVar9[1]; } - RVar15 = local_2c->_dropRNG; + uVar8 = (local_2c->_dropRNG)._seed; pvVar1 = g_game->_room; - if (RVar15 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)RVar15 >> ((byte)*(undefined4 *)&local_2c->field_0x3e0 & 0x1f) ^ (uint)RVar15; - uVar8 = uVar8 << ((byte)*(undefined4 *)&local_2c->field_0x3e4 & 0x1f) ^ uVar8; - local_2c->_dropRNG = (RNG)(uVar8 >> ((byte)*(undefined4 *)&local_2c->field_0x3e8 & 0x1f) ^ uVar8); + uVar8 = uVar8 >> ((byte)(local_2c->_dropRNG)._shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)(local_2c->_dropRNG)._shift2 & 0x1f) ^ uVar8; + (local_2c->_dropRNG)._seed = uVar8 >> ((byte)(local_2c->_dropRNG)._shift3 & 0x1f) ^ uVar8; uVar12 = ItemPool::GetSeededCollectible(*(undefined4 *)((int)pvVar1 + 4)); - RVar15 = this->_dropRNG; - if (RVar15 == (RNG)0x0) { + uVar8 = (this->_dropRNG)._seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)RVar15 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar15; - uVar8 = uVar8 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar8; - RVar15 = (RNG)(uVar8 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar8); - this->_dropRNG = RVar15; - local_20 = (Entity_Pickup *)Game::Spawn(5,100,&local_1c,&g_vectorZero,0,uVar12,RVar15); + uVar8 = uVar8 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar8; + (this->_dropRNG)._seed = uVar8; + local_20 = (Entity_Pickup *)Game::Spawn(5,100,&local_1c,&g_vectorZero,0,uVar12,uVar8); if (local_11 != '\0') { Entity_Pickup::MakeShopItem(local_20,-1); } - iVar18 = PlayerManager::FirstCollectibleOwner + iVar17 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0xf9,&g_game->_playerManager,1); - if (iVar18 != 0) { - RVar15 = this->_dropRNG; + if (iVar17 != 0) { + uVar8 = (this->_dropRNG)._seed; pvVar1 = g_game->_room; - if (RVar15 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)RVar15 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar15; - uVar8 = uVar8 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar8; - this->_dropRNG = (RNG)(uVar8 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar8); + uVar8 = uVar8 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar8; + (this->_dropRNG)._seed = uVar8 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar8; local_24 = (EntityPtr)ItemPool::GetSeededCollectible(*(undefined4 *)((int)pvVar1 + 4)); ItemPool::RemoveCollectible(local_24,0,0); - iVar18 = Random(); - fVar24 = (float)((double)iVar18 + __uint_to_double_fixup[-(iVar18 >> 0x1f)]) * 2.3283064e-10 * + iVar17 = Random(); + fVar23 = (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * 3.14; - EVar11 = (EntityPtr)(fVar24 + fVar24); + EVar11 = (EntityPtr)(fVar23 + fVar23); local_38 = EVar11; cos(); local_34 = (float)EVar11 * 24.0 + local_1c; @@ -313821,31 +314115,31 @@ LAB_00651068: local_2c = (Entity_Familiar *)0x0; while( true ) { local_28 = (EntityPtr)g_game->_room; - iVar18 = (int)((local_3c - 120.0) / 40.0 + 0.5); - iVar22 = (int)((local_40 - 40.0) / 40.0 + 0.5); - if (((iVar22 < 0) || (*(int *)((int)local_28 + 0xc) <= iVar22)) || - ((iVar18 < 0 || (*(int *)((int)local_28 + 0x10) <= iVar18)))) { - iVar22 = -1; + iVar17 = (int)((local_3c - 120.0) / 40.0 + 0.5); + iVar21 = (int)((local_40 - 40.0) / 40.0 + 0.5); + if (((iVar21 < 0) || (*(int *)((int)local_28 + 0xc) <= iVar21)) || + ((iVar17 < 0 || (*(int *)((int)local_28 + 0x10) <= iVar17)))) { + iVar21 = -1; } else { - iVar22 = *(int *)((int)local_28 + 0xc) * iVar18 + iVar22; + iVar21 = *(int *)((int)local_28 + 0xc) * iVar17 + iVar21; } pfVar9 = (float *)Room::GetCenterPos(local_50); local_30 = (EntityPtr)(int)(((*pfVar9 + 0.0) - 40.0) / 40.0 + 0.5); - iVar18 = (int)(((pfVar9[1] - 80.0) - 120.0) / 40.0 + 0.5); - if (((((int)local_30 < 0) || (*(int *)((int)local_28 + 0xc) <= (int)local_30)) || (iVar18 < 0) - ) || (*(int *)((int)local_28 + 0x10) <= iVar18)) { - iVar18 = -1; + iVar17 = (int)(((pfVar9[1] - 80.0) - 120.0) / 40.0 + 0.5); + if (((((int)local_30 < 0) || (*(int *)((int)local_28 + 0xc) <= (int)local_30)) || (iVar17 < 0) + ) || (*(int *)((int)local_28 + 0x10) <= iVar17)) { + iVar17 = -1; } else { - iVar18 = *(int *)((int)local_28 + 0xc) * iVar18 + (int)local_30; + iVar17 = *(int *)((int)local_28 + 0xc) * iVar17 + (int)local_30; } - if (iVar22 != iVar18) break; + if (iVar21 != iVar17) break; local_2c = (Entity_Familiar *)((float)local_2c + 10.0); - iVar18 = Random(); - fVar24 = (float)((double)iVar18 + __uint_to_double_fixup[-(iVar18 >> 0x1f)]) * 2.3283064e-10 * + iVar17 = Random(); + fVar23 = (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * 3.14; - EVar11 = (EntityPtr)(fVar24 + fVar24); + EVar11 = (EntityPtr)(fVar23 + fVar23); local_38 = EVar11; cos(); local_48 = (float)EVar11 * 24.0 + local_1c; @@ -313856,43 +314150,43 @@ LAB_00651068: local_40 = *pfVar9; local_3c = pfVar9[1]; } - RVar15 = this->_dropRNG; - if (RVar15 == (RNG)0x0) { + uVar8 = (this->_dropRNG)._seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)RVar15 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar15; - uVar8 = uVar8 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar8; - RVar15 = (RNG)(uVar8 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar8); - this->_dropRNG = RVar15; - this_00 = (Entity_Pickup *)Game::Spawn(5,100,&local_40,&g_vectorZero,0,local_24,RVar15); + uVar8 = uVar8 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar8; + (this->_dropRNG)._seed = uVar8; + this_00 = (Entity_Pickup *)Game::Spawn(5,100,&local_40,&g_vectorZero,0,local_24,uVar8); if (local_11 != '\0') { Entity_Pickup::MakeShopItem(this_00,-1); } - iVar18 = Entity_Pickup::AssignOptionsIndex(local_20); - this_00->_optionsPickupIndex = iVar18; + iVar17 = Entity_Pickup::AssignOptionsIndex(local_20); + this_00->_optionsPickupIndex = iVar17; } LAB_00651625: EVar11 = this->_target; if (EVar11 != (EntityPtr)0x0) { - fVar24 = *(float *)((int)EVar11 + 0x340); + fVar23 = *(float *)((int)EVar11 + 0x340); (this->_pos).x = *(float *)((int)EVar11 + 0x33c); - (this->_pos).y = fVar24; + (this->_pos).y = fVar23; ExceptionList = local_10; return; } if ((this->_visible != 0) && - ((fVar24 = (this->_targetPosition).x, fVar24 != g_vectorZero.x || + ((fVar23 = (this->_targetPosition).x, fVar23 != g_vectorZero.x || ((this->_targetPosition).y != g_vectorZero.y)))) { - local_38 = (EntityPtr)((fVar24 - (this->_pos).x) * 0.1); + local_38 = (EntityPtr)((fVar23 - (this->_pos).x) * 0.1); local_30 = (EntityPtr)(((this->_targetPosition).y - (this->_pos).y) * 0.1); (this->_velocity).x = (float)local_38; (this->_velocity).y = (float)local_30; - fVar24 = (float)local_38 * (float)local_38 + (float)local_30 * (float)local_30; + fVar23 = (float)local_38 * (float)local_38 + (float)local_30 * (float)local_30; sqrtf(); - if ((20.0 < fVar24) && (0.0 < fVar24)) { - (this->_velocity).x = (float)local_38 * (20.0 / fVar24); - (this->_velocity).y = (20.0 / fVar24) * (float)local_30; + if ((20.0 < fVar23) && (0.0 < fVar23)) { + (this->_velocity).x = (float)local_38 * (20.0 / fVar23); + (this->_velocity).y = (20.0 / fVar23) * (float)local_30; ExceptionList = local_10; return; } @@ -313964,7 +314258,7 @@ int FUN_006518d0(undefined4 param_1) int *piVar1; undefined1 local_10 [12]; - piVar1 = (int *)FUN_00651df0(local_10,param_1); + piVar1 = (int *)std::map::try_emplace(local_10,param_1); return *piVar1 + 0x14; } @@ -314337,9 +314631,13 @@ void FUN_00651db0(undefined4 *param_1,undefined4 param_2) } -//@@ 00651df0 FUN_00651df0 +//@@ 00651df0 std::map::try_emplace -void FUN_00651df0(undefined4 *param_1,uint *param_2) +/* DB: MSVC _Tree try_emplace keyed by uint: lower_bound on node +0x10, returns {node,false} when + found, else operator_new(0x2c) node (key + empty std::string at +0x14..+0x28), max_size + 0x5d1745d; caller 006518d0 (FXLayers area) */ + +void std::map::try_emplace(undefined4 *param_1,uint *param_2) { char cVar1; @@ -315255,12 +315553,11 @@ Entity_Projectile::Init uint *puVar1; float fVar2; double dVar3; - int iVar4; - qword qVar5; - uint uVar6; - int iVar7; - LayerState *pLVar8; - undefined4 uVar9; + qword qVar4; + uint uVar5; + int iVar6; + LayerState *pLVar7; + int iVar8; Entity::Init((Entity *)this,param_2,param_3,param_4,param_5); this->_entityGridCollisionClass = 4; @@ -315268,16 +315565,16 @@ Entity_Projectile::Init ANM2::Load(&this->_sprite,(std_string *)((int)this->_config + 0x74),1); } this->_height = -23.0; - iVar7 = Random(); + iVar6 = Random(); this->_fallingAccel = 0.0; this->_scale = 1.0; *(undefined4 *)&this->_projectileFlags = 0; - iVar4 = this->_variant; + iVar8 = this->_variant; *(undefined4 *)((int)&this->_projectileFlags + 4) = 0; this->_homingStrength = 1.0; this->_curvingStrength = 0.015; this->_acceleration = 1.01; - dVar3 = __uint_to_double_fixup[-(iVar7 >> 0x1f)]; + dVar3 = __uint_to_double_fixup[-(iVar6 >> 0x1f)]; this->_orbitDistance = 0.0; this->_animKey = -1; this->_collisionDamage = 1.0; @@ -315287,35 +315584,35 @@ Entity_Projectile::Init this->_changeVelocity = 0.0; this->_changeTimeout = 0x1e; this->_maxHitPoints = 0.0; - this->_fallingSpeed = ((float)((double)iVar7 + dVar3) * 2.3283064e-10 - 0.5) * 0.2; + this->_fallingSpeed = ((float)((double)iVar6 + dVar3) * 2.3283064e-10 - 0.5) * 0.2; *(float *)(this + 1) = g_vectorZero.x; *(float *)&this[1].field_0x4 = g_vectorZero.y; this[1]._damageEvents._capacity = (void *)0x0; - uVar6 = g_graphicsManager_flags; - if (iVar4 == 2) { - pLVar8 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - uVar9 = 1; - if ((uVar6 & 4) == 0) { - uVar9 = 6; + uVar5 = g_graphicsManager_flags; + if (iVar8 == 2) { + pLVar7 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + iVar8 = 1; + if ((uVar5 & 4) == 0) { + iVar8 = 6; } - *(undefined4 *)&pLVar8->field_0x78 = 0; - *(undefined4 *)&pLVar8->field_0x7c = uVar9; - *(undefined4 *)&pLVar8->field_0x80 = 1; - *(undefined4 *)&pLVar8->field_0x84 = 1; - *(undefined4 *)&pLVar8->field_0x88 = 1; + pLVar7->_blendMode[0] = 0; + pLVar7->_blendMode[1] = iVar8; + pLVar7->_blendMode[2] = 1; + pLVar7->_blendMode[3] = 1; + pLVar7->_blendMode[4] = 1; if (*(int *)((int)g_game->_room + 8) == 0x10) { - pLVar8 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - (pLVar8->_pos).x = 0.0; - (pLVar8->_pos).y = 8.0; + pLVar7 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + (pLVar7->_pos).x = 0.0; + (pLVar7->_pos).y = 8.0; } } if ((this->_spawnerEntity != (EntityPtr)0x0) && ((*(uint *)((int)this->_spawnerEntity + 0x16c) & 0x400000) != 0)) { fVar2 = (this->_velocity).x; - qVar5 = this->_flags; + qVar4 = this->_flags; puVar1 = (uint *)((int)&this->_flags + 4); *puVar1 = *puVar1 | 0x400000; - *(int *)&this->_flags = (int)qVar5; + *(int *)&this->_flags = (int)qVar4; (this->_velocity).x = fVar2 * 0.8; (this->_velocity).y = (this->_velocity).y * 0.8; } @@ -315432,37 +315729,37 @@ void __thiscall Entity_Projectile::Update(Entity_Projectile *this) { undefined4 uVar1; - undefined4 uVar2; - char cVar3; - byte bVar4; - uint uVar5; + char cVar2; + byte bVar3; + uint uVar4; char *anim; + int iVar5; int iVar6; - int iVar7; - EntityPtr EVar8; - Font *pFVar9; - Entity *pEVar10; - Entity_Projectile *pEVar11; - Entity_Effect *pEVar12; - Entity_NPC *pEVar13; - EntityPtr EVar14; - uint uVar15; - undefined4 *puVar16; - int *piVar17; - EntityPtr *pEVar18; - ANM2 *pAVar19; - uint *puVar20; - Room *pRVar21; - Sprite *pSVar22; - Entity_Player *pEVar23; - float *pfVar24; + EntityPtr EVar7; + Font *pFVar8; + Entity *pEVar9; + Entity_Projectile *pEVar10; + Entity_Effect *pEVar11; + Entity_NPC *pEVar12; + EntityPtr EVar13; + uint uVar14; + undefined4 *puVar15; + int *piVar16; + EntityPtr *pEVar17; + ANM2 *pAVar18; + uint *puVar19; + Room *pRVar20; + Sprite *pSVar21; + Entity_Player *pEVar22; + float *pfVar23; RNG *this_00; Entity_Tear *this_01; - TemporaryEffects *pTVar25; - code *pcVar26; - uint uVar27; - float10 fVar28; + TemporaryEffects *pTVar24; + code *pcVar25; + uint uVar26; + float10 fVar27; float in_XMM0_Da; + undefined4 uVar28; undefined1 *puVar29; float fVar30; undefined1 auVar31 [16]; @@ -315508,16 +315805,15 @@ void __thiscall Entity_Projectile::Update(Entity_Projectile *this) EntityPtr EStack_364; EntityPtr EStack_360; EntityPtr EStack_35c; - Entity *pEStack_358; + Entity_Effect *pEStack_358; EntityPtr EStack_354; EntityPtr EStack_350; EntityPtr EStack_34c; TearParams aTStack_2e0 [2]; float fStack_22c; RNG RStack_dc; - uint auStack_d8 [3]; - undefined1 auStack_cc [72]; - byte abStack_84 [32]; + undefined1 auStack_cc [64]; + EntityRef EStack_8c; byte abStack_64 [32]; uint uStack_44; uint uStack_40; @@ -315536,12 +315832,12 @@ void __thiscall Entity_Projectile::Update(Entity_Projectile *this) iStack_14 = 0xffffffff; puStack_18 = &UNK_00af75f6; pvStack_1c = ExceptionList; - uVar5 = __security_cookie ^ (uint)(aiStack_3c + 0xb); + uVar4 = __security_cookie ^ (uint)(aiStack_3c + 0xb); ExceptionList = &pvStack_1c; EStack_368 = (EntityPtr)0x0; pfStack_3c8 = &this->_speedMultiplier; EStack_350 = (EntityPtr)this; - uStack_24 = uVar5; + uStack_24 = uVar4; FUN_00652df0(); this->_speedMultiplier = in_XMM0_Da; if (0 < this->_pauseTimer) { @@ -315552,8 +315848,8 @@ void __thiscall Entity_Projectile::Update(Entity_Projectile *this) } if (((this->_flags & 0x20) != 0) && (this->_freezeCountdown < 1)) { Random(); - cVar3 = Entity::IsFrame((Entity *)this); - if (cVar3 != '\0') { + cVar2 = Entity::IsFrame((Entity *)this); + if (cVar2 != '\0') { *(uint *)&this->_flags = (uint)this->_flags & 0xffffffdf; *(undefined4 *)((int)&this->_flags + 4) = *(undefined4 *)((int)&this->_flags + 4); *(float *)(this + 1) = g_vectorZero.x; @@ -315568,28 +315864,28 @@ void __thiscall Entity_Projectile::Update(Entity_Projectile *this) ExceptionList = pvStack_1c; return; } - iVar7 = this->_variant; - if ((((iVar7 == 0) || (iVar7 == 3)) || (iVar7 == 4)) || (iVar7 == 6)) { - iVar6 = (int)(this->_scale * 3.0 + 3.0); - iVar7 = 0xd; - if (iVar6 < 0xd) { - iVar7 = iVar6; + iVar6 = this->_variant; + if ((((iVar6 == 0) || (iVar6 == 3)) || (iVar6 == 4)) || (iVar6 == 6)) { + iVar5 = (int)(this->_scale * 3.0 + 3.0); + iVar6 = 0xd; + if (iVar5 < 0xd) { + iVar6 = iVar5; } - if (this->_animKey != iVar7) { + if (this->_animKey != iVar6) { if (this->_spawnerType == 0x3b6) { sprintf_s(); this->_renderDepthOffset = 300.0; - piVar17 = &(this->_sprite)._bitflags; - *piVar17 = *piVar17 | 0x20; + piVar16 = &(this->_sprite)._bitflags; + *piVar16 = *piVar16 | 0x20; } else { sprintf_s(); } ANM2::Play(&this->_sprite,(byte *)&uStack_44,0); - this->_animKey = iVar7; + this->_animKey = iVar6; } } - else if (iVar7 == 1) { + else if (iVar6 == 1) { if (this->_animKey != 100) { if ((this->_projectileFlags & 0x200000000000) != 0) { std::string::string_from_cstr(); @@ -315606,7 +315902,7 @@ void __thiscall Entity_Projectile::Update(Entity_Projectile *this) this->_animKey = 100; } } - else if (iVar7 == 2) { + else if (iVar6 == 2) { if (this->_animKey != 200) { ANM2::Play(&this->_sprite,(byte *)"Flickering",0); Config::GetPillEffects(); @@ -315619,24 +315915,24 @@ void __thiscall Entity_Projectile::Update(Entity_Projectile *this) this->_animKey = 200; this->_isInitFlag176 = 0; } - EVar8 = (EntityPtr)0x3dcccccd; + EVar7 = (EntityPtr)0x3dcccccd; Math::clamp(); - EStack_34c = EVar8; + EStack_34c = EVar7; LAB_0065334c: Vector::__mul(); Sprite::GetLayer(); Vector::operator_assign(); } - else if (iVar7 == 5) { + else if (iVar6 == 5) { if (this->_animKey != 300) { Isaac::Random(4); sprintf_s(); - ANM2::Play(&this->_sprite,abStack_84,0); + ANM2::Play(&this->_sprite,(byte *)&EStack_8c._spawnerType,0); this->_animKey = 300; } } else { - if (iVar7 == 7) { + if (iVar6 == 7) { if (this->_animKey != 400) { ANM2::Play(&this->_sprite,(byte *)"MoveHori",0); Config::GetPillEffects(); @@ -315650,7 +315946,7 @@ LAB_0065334c: EStack_354 = (EntityPtr)(this->_scale / 2.75); goto LAB_0065334c; } - if ((iVar7 == 0xc) && (this->_animKey != 700)) { + if ((iVar6 == 0xc) && (this->_animKey != 700)) { anim = &UNK_00b64a64; if (this->_scale <= 1.5 && this->_scale != 1.5) { anim = "Small"; @@ -315659,21 +315955,21 @@ LAB_0065334c: this->_animKey = 700; } } - pEStack_358 = (Entity *)&this->_scale; + pEStack_358 = (Entity_Effect *)&this->_scale; fVar34 = this->_scale * *(float *)((int)this->_config + 0x24); - iVar7 = this->_variant; + iVar6 = this->_variant; this->_shadowSize = fVar34; - if (iVar7 == 8) { + if (iVar6 == 8) { this->_shadowSize = fVar34 + fVar34; } - else if (iVar7 == 9) { + else if (iVar6 == 9) { if (this->_animKey != 500) { sprintf_s(); ANM2::Play(&this->_sprite,abStack_64,0); this->_animKey = 500; } } - else if (iVar7 == 0xb) { + else if (iVar6 == 0xb) { if (this->_animKey != 600) { ANM2::Play(&this->_sprite,&DAT_00b1d6fc,0); Config::GetPillEffects(); @@ -315685,60 +315981,60 @@ LAB_0065334c: } } else { - if (iVar7 == 0xd) { - EVar8 = (EntityPtr)&this->_sprite; - EStack_35c = EVar8; + if (iVar6 == 0xd) { + EVar7 = (EntityPtr)&this->_sprite; + EStack_35c = EVar7; if (this->_animKey != 800) { - ANM2::Play((ANM2 *)EVar8,&DAT_00b1d6fc,0); + ANM2::Play((ANM2 *)EVar7,&DAT_00b1d6fc,0); EntityPtr::Ref(); set_byte_0x101(); Config::GetPillEffects(); AnimationState::GetAnimationLength(); EntityPtr::Ref(); - EVar8 = EStack_35c; + EVar7 = EStack_35c; Sprite::SetFrame_1((Sprite *)EStack_35c); this = (Entity_Projectile *)EStack_350; *(int *)((int)EStack_350 + 0x444) = 800; - Entity::AddFlagsLow((Entity *)EVar8); + Entity::AddFlagsLow((Entity *)EVar7); LAB_00653797: Vector::__mul(); - Sprite::SetScale((Sprite *)EVar8); + Sprite::SetScale((Sprite *)EVar7); } } else { - if (iVar7 != 0xe) { - if (iVar7 == 0xf) { + if (iVar6 != 0xe) { + if (iVar6 == 0xf) { if (this->_animKey != 1000) { - pAVar19 = &this->_sprite; - ANM2::Play(pAVar19,s_Idle,0); + pAVar18 = &this->_sprite; + ANM2::Play(pAVar18,s_Idle,0); this = (Entity_Projectile *)EStack_350; EntityPtr::Ref(); - Sprite::set_flip_x((Sprite *)pAVar19); - uVar27 = RNG::RandomInt((RNG *)((int)this + 0x3dc),4); + Sprite::set_flip_x((Sprite *)pAVar18); + uVar26 = RNG::RandomInt((RNG *)((int)this + 0x3dc),4); EStack_35c = (EntityPtr) - ((float)((double)(int)uVar27 + - __uint_to_double_fixup[-((int)uVar27 >> 0x1f)]) * 48.0); - iVar7 = Sprite::GetLayer(); - *(EntityPtr *)(iVar7 + 0x90) = EStack_35c; + ((float)((double)(int)uVar26 + + __uint_to_double_fixup[-((int)uVar26 >> 0x1f)]) * 48.0); + iVar6 = Sprite::GetLayer(); + *(EntityPtr *)(iVar6 + 0x90) = EStack_35c; random_float(); - Sprite::SetRotation((Sprite *)pAVar19); + Sprite::SetRotation((Sprite *)pAVar18); *(int *)((int)this + 0x444) = 1000; Vector::__mul(); - Sprite::SetScale((Sprite *)pAVar19); + Sprite::SetScale((Sprite *)pAVar18); } } - else if (iVar7 == 0x10) { + else if (iVar6 == 0x10) { fStack_3c4 = 1.82169e-44; EStack_35c = (EntityPtr)(int)(this->_scale * 3.0 + 3.0); - piVar17 = (int *)std::min(); - EStack_35c = (EntityPtr)(*piVar17 + 0x44c); + piVar16 = (int *)std::min(); + EStack_35c = (EntityPtr)(*piVar16 + 0x44c); if ((EntityPtr)this->_animKey != EStack_35c) { sprintf_s(); ANM2::Play(&this->_sprite,abStack_64,0); this->_animKey = (int)EStack_35c; } - fVar28 = (float10)Vector::GetAngleDegrees(); - EStack_35c = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::GetAngleDegrees(); + EStack_35c = (EntityPtr)(float)fVar27; if (((float)EStack_35c < -90.0) || (90.0 < (float)EStack_35c)) { EStack_364 = (EntityPtr)(180.0 - (float)EStack_35c); EStack_360._0_1_ = 1; @@ -315751,55 +316047,55 @@ LAB_00653797: Sprite::SetRotation((Sprite *)&this->_sprite); if (this->_child == (EntityPtr)0x0) { Random(); - pEVar12 = (Entity_Effect *)Game::Spawn(); - pSVar22 = (Sprite *)Entity::GetSprite((Entity *)pEVar12); + pEVar11 = (Entity_Effect *)Game::Spawn(); + pSVar21 = (Sprite *)Entity::GetSprite((Entity *)pEVar11); Color::Color(); - Sprite::SetColor(pSVar22); + Sprite::SetColor(pSVar21); BlendMode::SetMode(); - Entity::GetSprite((Entity *)pEVar12); + Entity::GetSprite((Entity *)pEVar11); Sprite::GetLayer(); copy_20_bytes(); - pSVar22 = (Sprite *)Entity::GetSprite((Entity *)pEVar12); + pSVar21 = (Sprite *)Entity::GetSprite((Entity *)pEVar11); EStack_35c = (EntityPtr)(*(float *)pEStack_358 + *(float *)pEStack_358); Vector::operator_mul(); - Sprite::SetScale(pSVar22); - Entity_Effect::SetRadii(pEVar12); - Entity::SetParent((Entity *)pEVar12); - (**(code **)(*(int *)pEVar12 + 0xc))(); + Sprite::SetScale(pSVar21); + Entity_Effect::SetRadii(pEVar11); + Entity::SetParent((Entity *)pEVar11); + (**(code **)(*(int *)pEVar11 + 0xc))(); this = (Entity_Projectile *)EStack_350; Entity::SetChild((Entity *)EStack_350); if (*(EntityPtr *)((int)this + 0x3c0) == (EntityPtr)0x0) goto LAB_00653bc5; } if (*(byte *)((int)this + 0x171) == 0) { - pSVar22 = (Sprite *)Entity::GetSprite(); - pFVar9 = (Font *)Sprite::Color(pSVar22); - Font::SetLineHeightModifier(pFVar9); + pSVar21 = (Sprite *)Entity::GetSprite(); + pFVar8 = (Font *)Sprite::Color(pSVar21); + Font::SetLineHeightModifier(pFVar8); } else { - pSVar22 = (Sprite *)Entity::GetSprite(); - pFVar9 = (Font *)Sprite::Color(pSVar22); + pSVar21 = (Sprite *)Entity::GetSprite(); + pFVar8 = (Font *)Sprite::Color(pSVar21); Sprite::Color((Sprite *)((int)this + 0x48)); - fVar28 = (float10)Color::A(); - EStack_35c = (EntityPtr)(float)(fVar28 * (float10)0.5); - Font::SetLineHeightModifier(pFVar9); - EVar8 = *(EntityPtr *)((int)this + 0x3c0); + fVar27 = (float10)Color::A(); + EStack_35c = (EntityPtr)(float)(fVar27 * (float10)0.5); + Font::SetLineHeightModifier(pFVar8); + EVar7 = *(EntityPtr *)((int)this + 0x3c0); Vector::__add(); - Entity::SetPosition((Entity *)EVar8); + Entity::SetPosition((Entity *)EVar7); Entity::SetVelocity((Entity *)*(EntityPtr *)((int)this + 0x3c0)); } } goto LAB_00653bc5; } - EVar8 = (EntityPtr)&this->_sprite; - EStack_35c = EVar8; + EVar7 = (EntityPtr)&this->_sprite; + EStack_35c = EVar7; if (this->_animKey != 900) { - ANM2::Play((ANM2 *)EVar8,&DAT_00b1d6fc,0); + ANM2::Play((ANM2 *)EVar7,&DAT_00b1d6fc,0); EntityPtr::Ref(); set_byte_0x101(); Config::GetPillEffects(); AnimationState::GetAnimationLength(); EntityPtr::Ref(); - EVar8 = EStack_35c; + EVar7 = EStack_35c; Sprite::SetFrame_1((Sprite *)EStack_35c); *(int *)((int)EStack_350 + 0x444) = 900; this = (Entity_Projectile *)EStack_350; @@ -315809,13 +316105,13 @@ LAB_00653797: fVar34 = *(float *)((int)this + 0x364); FUN_00456230(); EStack_35c = (EntityPtr)(fVar34 * 57.295776); - Sprite::FlipY((Sprite *)EVar8); - Sprite::SetRotation((Sprite *)EVar8); + Sprite::FlipY((Sprite *)EVar7); + Sprite::SetRotation((Sprite *)EVar7); } LAB_00653bc5: Level::GetCurrentRoom((Level *)g_game); cStack_3d1 = Room::is_type_16(); - if ((cStack_3d1 != '\0') && (iVar7 = Entity::FrameCount((Entity *)this), iVar7 == 1)) { + if ((cStack_3d1 != '\0') && (iVar6 = Entity::FrameCount((Entity *)this), iVar6 == 1)) { if (0.0 < *(float *)((int)this + 0x418)) { EStack_34c = *(EntityPtr *)((int)this + 0x364); fVar34 = ((Vector *)((int)this + 0x360))->x; @@ -315825,8 +316121,8 @@ LAB_00653bc5: } } Level::GetCurrentRoom((Level *)g_game); - cVar3 = Room::IsBeastDungeon(); - if (cVar3 == '\0') { + cVar2 = Room::IsBeastDungeon(); + if (cVar2 == '\0') { if ((*(uint *)((int)this + 0x438) & 2) != 0) { *(undefined4 *)((int)this + 0x43c) = *(undefined4 *)((int)this + 0x43c); *(uint *)((int)this + 0x438) = *(uint *)((int)this + 0x438) & 0xffffdfef; @@ -315834,19 +316130,19 @@ LAB_00653bc5: } } Entity::Update((Entity *)this); - iVar7 = Entity::FrameCount((Entity *)this); - if (iVar7 == 1) { - uVar27 = *(uint *)((int)this + 0x43c); - if ((((uVar27 & 0x98) == 0) && + iVar6 = Entity::FrameCount((Entity *)this); + if (iVar6 == 1) { + uVar26 = *(uint *)((int)this + 0x43c); + if ((((uVar26 & 0x98) == 0) && ((((*(uint *)((int)this + 0x438) & 2) == 0 || (*(int *)((int)this + 0x34) != 0x389)) && - ((uVar27 & 0x2000) == 0)))) && ((uVar27 & 0x800000) == 0)) { - if ((uVar27 & 0x8000) != 0) { + ((uVar26 & 0x2000) == 0)))) && ((uVar26 & 0x800000) == 0)) { + if ((uVar26 & 0x8000) != 0) { Random(); - pEVar10 = (Entity *)Game::Spawn(); + pEVar9 = (Entity *)Game::Spawn(); Vector::__mul(); - Entity::SetSpriteScale(pEVar10); - Entity::SetParent(pEVar10); - (**(code **)(*(int *)pEVar10 + 0xc))(); + Entity::SetSpriteScale(pEVar9); + Entity::SetParent(pEVar9); + (**(code **)(*(int *)pEVar9 + 0xc))(); } } else { @@ -315865,14 +316161,14 @@ LAB_00653bc5: EStack_374 = EStack_360; do { Random(); - EVar8 = (EntityPtr)Game::Spawn(); - EStack_354 = EVar8; - Entity::SetTarget((Entity *)EVar8); - Entity::SetParent((Entity *)EVar8); + EVar7 = (EntityPtr)Game::Spawn(); + EStack_354 = EVar7; + Entity::SetTarget((Entity *)EVar7); + Entity::SetParent((Entity *)EVar7); Sprite::Color((Sprite *)((int)this + 0x48)); Color::operator_assign(); - iVar7 = Isaac::Random(2); - if (iVar7 == 0) { + iVar6 = Isaac::Random(2); + if (iVar6 == 0) { EStack_364 = (EntityPtr)0x40800000; } else { @@ -315880,12 +316176,12 @@ LAB_00653bc5: } FUN_005cd370(); FUN_005cd380(); - EVar14 = EStack_364; + EVar13 = EStack_364; FUN_005cd3a0(); - (**(code **)(*(int *)EVar8 + 0x3c))(); - set_projectile_flags((Entity_Projectile *)EVar8); + (**(code **)(*(int *)EVar7 + 0x3c))(); + set_projectile_flags((Entity_Projectile *)EVar7); random_float(); - fVar34 = (float)EVar14 * 360.0; + fVar34 = (float)EVar13 * 360.0; FUN_00565de0(); Vector::Vector(); Vector::operator_mul(); @@ -315902,8 +316198,8 @@ LAB_00653bc5: } while (EStack_374 != (EntityPtr)0x0); EStack_374 = (EntityPtr)0x0; } - pFVar9 = (Font *)Sprite::Color((Sprite *)((int)this + 0x48)); - Font::SetLineHeightModifier(pFVar9); + pFVar8 = (Font *)Sprite::Color((Sprite *)((int)this + 0x48)); + Font::SetLineHeightModifier(pFVar8); *(int *)((int)this + 0x30) = 1000; } } @@ -315920,24 +316216,24 @@ LAB_00653bc5: } if ((((*(uint *)((int)this + 0x43c) & 0x200000) != 0) && (*(EntityPtr *)((int)this + 0x3c4) != (EntityPtr)0x0)) && - (cVar3 = Entity::IsProjectile(), cVar3 != '\0')) { + (cVar2 = Entity::IsProjectile(), cVar2 != '\0')) { Vector::FromAngle(); Vector::operator_mul(); Vector::FromAngle(); Vector::operator_mul(); - iVar7 = Game::GetFrameCount(g_game); + iVar6 = Game::GetFrameCount(g_game); EStack_360 = (EntityPtr) - ((((float)((uint)(iVar7 + *(int *)((int)this + 0x3ec)) % 0x1e) + 0.0) * 6.2831855) + ((((float)((uint)(iVar6 + *(int *)((int)this + 0x3ec)) % 0x1e) + 0.0) * 6.2831855) / 30.0); Entity::Position((Entity *)*(EntityPtr *)((int)this + 0x3c4)); - EVar8 = EStack_360; + EVar7 = EStack_360; FUN_00417150(); - EStack_34c = EVar8; + EStack_34c = EVar7; Vector::operator_mul(); Vector::__add(); - EVar8 = EStack_360; + EVar7 = EStack_360; sinf_wrapper(); - EStack_354 = EVar8; + EStack_354 = EVar7; Vector::operator_mul(); Vector::__add(); Vector::__sub(); @@ -315948,29 +316244,29 @@ LAB_00653bc5: } fVar34 = 2.0; if (((*(uint *)((int)this + 0x43c) & 0x2000) == 0) || - (iVar7 = Entity::GetIntervalTicks((Entity *)this), iVar7 == 0)) { + (iVar6 = Entity::GetIntervalTicks((Entity *)this), iVar6 == 0)) { fVar34 = 2.0; if ((*(int *)((int)this + 0x34) == 0x33c) && ((*(int *)((int)this + 0x2c) == 1 && - (iVar7 = Entity::GetIntervalTicks((Entity *)this), iVar7 != 0)))) { + (iVar6 = Entity::GetIntervalTicks((Entity *)this), iVar6 != 0)))) { Random(); EStack_34c = (EntityPtr)0x3f000000; Vector::__mul(); - pEVar10 = (Entity *)Game::Spawn(); + pEVar9 = (Entity *)Game::Spawn(); BlendMode::SetMode(); - Entity::GetSprite(pEVar10); + Entity::GetSprite(pEVar9); Sprite::GetLayer(); copy_20_bytes(); Vector::Vector(); Vector::__add(); - Entity::SetPositionOffset(pEVar10); + Entity::SetPositionOffset(pEVar9); random_float(); EStack_354 = (EntityPtr)(fVar34 * 0.7 + 0.3); Color::Color(); Color::SetOffset(); EStack_354 = (EntityPtr)0x3f28f5c3; Vector::operator_mul(); - Entity::SetSpriteScale(pEVar10); + Entity::SetSpriteScale(pEVar9); goto LAB_0065453a; } } @@ -315978,81 +316274,81 @@ LAB_00653bc5: Random(); EStack_34c = (EntityPtr)0x3f000000; Vector::__mul(); - pEVar10 = (Entity *)Game::Spawn(); + pEVar9 = (Entity *)Game::Spawn(); BlendMode::SetMode(); - Entity::GetSprite(pEVar10); + Entity::GetSprite(pEVar9); Sprite::GetLayer(); copy_20_bytes(); Vector::Vector(); Vector::__add(); - Entity::SetPositionOffset(pEVar10); + Entity::SetPositionOffset(pEVar9); random_float(); EStack_354 = (EntityPtr)(fVar34 * 0.7 + 0.3); Color::Color(); Color::SetOffset(); LAB_0065453a: - (**(code **)(*(int *)pEVar10 + 0x3c))(); + (**(code **)(*(int *)pEVar9 + 0x3c))(); set_field_358(); - (**(code **)(*(int *)pEVar10 + 0xc))(); + (**(code **)(*(int *)pEVar9 + 0xc))(); this = (Entity_Projectile *)EStack_350; } if (((*(uint *)((int)this + 0x43c) & 0x800000) != 0) && - (iVar7 = Entity::GetIntervalTicks((Entity *)this), iVar7 != 0)) { + (iVar6 = Entity::GetIntervalTicks((Entity *)this), iVar6 != 0)) { Vector::Rotated(); EStack_360 = (EntityPtr)0x0; do { - EVar8 = EStack_360; + EVar7 = EStack_360; EStack_35c = (EntityPtr)Random(); EStack_34c = (EntityPtr)0x3e19999a; Vector::__mul(); - if (EVar8 == (EntityPtr)0x0) { + if (EVar7 == (EntityPtr)0x0) { EStack_354 = (EntityPtr)&DAT_bf800000; } else { EStack_354 = (EntityPtr)0x3f800000; } Vector::__mul(); - pEVar11 = (Entity_Projectile *)Game::Spawn(); - Entity::SetSpawnerEntity((Entity *)pEVar11); + pEVar10 = (Entity_Projectile *)Game::Spawn(); + Entity::SetSpawnerEntity((Entity *)pEVar10); FUN_004316b0(); FUN_004b7070(); - (**(code **)(*(int *)pEVar11 + 0x3c))(); + (**(code **)(*(int *)pEVar10 + 0x3c))(); FUN_00450880(); - set_projectile_flags(pEVar11); - set_falling_accel(pEVar11); + set_projectile_flags(pEVar10); + set_falling_accel(pEVar10); FUN_004aad70(); - (**(code **)(*(int *)pEVar11 + 0xc))(); + (**(code **)(*(int *)pEVar10 + 0xc))(); EStack_360 = (EntityPtr)((int)EStack_360 + 1); } while ((int)EStack_360 < 2); } if ((*(int *)((int)this + 0x2c) == 0xe) && - (iVar7 = Entity::GetIntervalTicks((Entity *)this), iVar7 != 0)) { - EVar8 = (EntityPtr)0x42200000; + (iVar6 = Entity::GetIntervalTicks((Entity *)this), iVar6 != 0)) { + EVar7 = (EntityPtr)0x42200000; if ((*(float *)((int)this + 0x3a4) <= 40.0 && *(float *)((int)this + 0x3a4) != 40.0) && - (random_float(), (float)EVar8 < (50.0 - *(float *)((int)this + 0x3a4)) / 40.0)) { + (random_float(), (float)EVar7 < (50.0 - *(float *)((int)this + 0x3a4)) / 40.0)) { Random(); EStack_34c = (EntityPtr)0x3f000000; Vector::__mul(); - pEVar12 = (Entity_Effect *)Game::Spawn(); + pEVar11 = (Entity_Effect *)Game::Spawn(); Vector::Vector(); Vector::__add(); - Entity::SetPositionOffset((Entity *)pEVar12); + Entity::SetPositionOffset((Entity *)pEVar11); EStack_354 = (EntityPtr)0x3fc00000; Vector::operator_mul(); - Entity::SetSpriteScale((Entity *)pEVar12); + Entity::SetSpriteScale((Entity *)pEVar11); random_float(); - EVar8 = (EntityPtr)((float)EVar8 * 10.0 + 2.0); - Entity_Effect::set_rotation(); + EVar7 = (EntityPtr)((float)EVar7 * 10.0 + 2.0); + Entity_Effect::set_rotation(pEVar11); Isaac::Random(0xf); - Entity_Effect::SetTimeout(pEVar12); - pcVar26 = *(code **)(*(int *)pEVar12 + 0x3c); + Entity_Effect::SetTimeout(pEVar11); + pcVar25 = *(code **)(*(int *)pEVar11 + 0x3c); Color::Color(); - (*pcVar26)(); - pcVar26 = *(code **)(*(int *)pEVar12 + 0x3c); + (*pcVar25)(); + pcVar25 = *(code **)(*(int *)pEVar11 + 0x3c); Color::Color(); - (*pcVar26)(); + (*pcVar25)(); set_field_358(); - (**(code **)(*(int *)pEVar12 + 0xc))(); + (**(code **)(*(int *)pEVar11 + 0xc))(); } EStack_35c = (EntityPtr)Random(); EStack_34c = (EntityPtr)0x3f000000; @@ -316060,52 +316356,52 @@ LAB_0065453a: MusicManager::RandomVector(); Vector::operator_mul(); random_float(); - EStack_354 = EVar8; + EStack_354 = EVar7; Vector::__mul(); Vector::__add(); - pEVar10 = (Entity *)Game::Spawn(); + pEVar9 = (Entity *)Game::Spawn(); Vector::Vector(); Vector::__add(); - Entity::SetPositionOffset(pEVar10); + Entity::SetPositionOffset(pEVar9); random_float(); - EStack_35c = (EntityPtr)((float)EVar8 * 0.7 + 0.3); + EStack_35c = (EntityPtr)((float)EVar7 * 0.7 + 0.3); Color::Color(); - EVar8 = EStack_35c; + EVar7 = EStack_35c; Color::SetOffset(); random_float(); - EStack_35c = (EntityPtr)((float)EVar8 + 1.0); + EStack_35c = (EntityPtr)((float)EVar7 + 1.0); Vector::operator_mul(); - Entity::SetSpriteScale(pEVar10); - pcVar26 = *(code **)(*(int *)pEVar10 + 0x3c); + Entity::SetSpriteScale(pEVar9); + pcVar25 = *(code **)(*(int *)pEVar9 + 0x3c); Color::Color(); - (*pcVar26)(); - pcVar26 = *(code **)(*(int *)pEVar10 + 0x3c); + (*pcVar25)(); + pcVar25 = *(code **)(*(int *)pEVar9 + 0x3c); Isaac::Random(0x13); - (*pcVar26)(); + (*pcVar25)(); FUN_00440e90(); - Entity::GetSprite(pEVar10); + Entity::GetSprite(pEVar9); set_PlaybackSpeed(); - (**(code **)(*(int *)pEVar10 + 0xc))(); + (**(code **)(*(int *)pEVar9 + 0xc))(); this = (Entity_Projectile *)EStack_350; } if (((((*(uint *)((int)this + 0x438) & 2) != 0) && (*(int *)((int)this + 0x34) == 0x3b7)) && (*(int *)((int)this + 0x38) == 0x14)) && - (iVar7 = Entity::GetIntervalTicks((Entity *)this), iVar7 != 0)) { + (iVar6 = Entity::GetIntervalTicks((Entity *)this), iVar6 != 0)) { Random(); EStack_34c = (EntityPtr)0x3f000000; Vector::__mul(); - pEVar10 = (Entity *)Game::Spawn(); + pEVar9 = (Entity *)Game::Spawn(); Vector::Vector(); Vector::__add(); - Entity::SetPositionOffset(pEVar10); + Entity::SetPositionOffset(pEVar9); random_float(); Color::Color(); - (**(code **)(*(int *)pEVar10 + 0x3c))(); + (**(code **)(*(int *)pEVar9 + 0x3c))(); FUN_00440e90(); - (**(code **)(*(int *)pEVar10 + 0xc))(); + (**(code **)(*(int *)pEVar9 + 0xc))(); this = (Entity_Projectile *)EStack_350; } - bVar4 = (byte)uVar5; + bVar3 = (byte)uVar4; BVar32._0_12_ = ZEXT812(0xc2a00000); BVar32._h._4_4_ = 0; EStack_364 = BVar32._l._0_4_; @@ -316113,19 +316409,19 @@ LAB_0065453a: if (*(byte *)((int)this + 0x173) == 0) { if (*(int *)((int)this + 0x34) != 0x390) { if ((*(EntityPtr *)((int)this + 0x3c4) == (EntityPtr)0x0) && - (iVar7 = Game::GetNearestPlayerEx(), iVar7 != 0)) { + (iVar6 = Game::GetNearestPlayerEx(), iVar6 != 0)) { Entity::SetTarget((Entity *)this); } if (*(EntityPtr *)((int)this + 0x3c4) != (EntityPtr)0x0) { Entity::Position(); Vector::__sub(); Vector::Normalized(); - fVar28 = (float10)Vector::Dot(); - EStack_34c = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Dot(); + EStack_34c = (EntityPtr)(float)fVar27; BVar32 = (BitSet128)ZEXT416((uint)EStack_34c); if (0.0 < (float)EStack_34c) { - fVar28 = (float10)Vector::Length(); - EStack_34c = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Length(); + EStack_34c = (EntityPtr)(float)fVar27; Vector::__mul(); Vector::operator_add_assign(); BVar32 = (BitSet128)ZEXT416((uint)EStack_34c); @@ -316133,27 +316429,27 @@ LAB_0065453a: } } } - iVar7 = Entity::GetIntervalTicks((Entity *)this); - bVar4 = (byte)uVar5; - if (iVar7 != 0) { + iVar6 = Entity::GetIntervalTicks((Entity *)this); + bVar3 = (byte)uVar4; + if (iVar6 != 0) { Level::GetCurrentRoom((Level *)g_game); - pEVar13 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar13); + pEVar12 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar12); iStack_14 = 3; - uVar27 = 0; - iVar7 = EntityList::Size(); - bVar4 = (byte)uVar5; - if (iVar7 != 0) { + uVar26 = 0; + iVar6 = EntityList::Size(); + bVar3 = (byte)uVar4; + if (iVar6 != 0) { do { std::vector::operator_index(); - pEVar10 = (Entity *)FUN_004aad40(); - EVar8 = (EntityPtr)Entity::Target(pEVar10); - bVar4 = (byte)uVar5; - if (EVar8 == (EntityPtr)this) goto LAB_006555d5; - uVar27 = uVar27 + 1; - uVar15 = EntityList::Size(); - bVar4 = (byte)uVar5; - } while (uVar27 < uVar15); + pEVar9 = (Entity *)FUN_004aad40(); + EVar7 = (EntityPtr)Entity::Target(pEVar9); + bVar3 = (byte)uVar4; + if (EVar7 == (EntityPtr)this) goto LAB_006555d5; + uVar26 = uVar26 + 1; + uVar14 = EntityList::Size(); + bVar3 = (byte)uVar4; + } while (uVar26 < uVar14); } (**(code **)(*(int *)this + 0x28))(); LAB_006555d5: @@ -316166,104 +316462,104 @@ LAB_006555d5: SoundEffects::PlayWithFartOverride(); Random(); EStack_354 = (EntityPtr)((int)this + 0x33c); - pEVar10 = (Entity *)Game::Spawn(); + pEVar9 = (Entity *)Game::Spawn(); EStack_34c = (EntityPtr)0x3fc00000; Vector::operator_mul(); - Entity::SetSpriteScale(pEVar10); + Entity::SetSpriteScale(pEVar9); Vector::Vector(); - Entity::SetPositionOffset(pEVar10); + Entity::SetPositionOffset(pEVar9); set_field_358(); - pcVar26 = *(code **)(*(int *)pEVar10 + 0x3c); + pcVar25 = *(code **)(*(int *)pEVar9 + 0x3c); Color::Color(); - (*pcVar26)(); + (*pcVar25)(); FUN_00424510(); iStack_14 = 1; Level::GetCurrentRoom((Level *)g_game); - pEVar13 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar13); + pEVar12 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar12); iStack_14 = CONCAT31(iStack_14._1_3_,2); - uVar27 = 0; - iVar7 = EntityList::Size(); - EVar8 = EStack_350; - if (iVar7 != 0) { + uVar26 = 0; + iVar6 = EntityList::Size(); + EVar7 = EStack_350; + if (iVar6 != 0) { do { std::vector::operator_index(); EStack_34c = (EntityPtr)FUN_004aad40(); if ((EStack_34c != (EntityPtr)0x0) && - (EVar14 = (EntityPtr)Entity::Target((Entity *)EStack_34c), EVar14 == EVar8)) { + (EVar13 = (EntityPtr)Entity::Target((Entity *)EStack_34c), EVar13 == EVar7)) { std::vector::push_back(); } - uVar27 = uVar27 + 1; - uVar15 = EntityList::Size(); - } while (uVar27 < uVar15); + uVar26 = uVar26 + 1; + uVar14 = EntityList::Size(); + } while (uVar26 < uVar14); } - EVar8 = EStack_350; + EVar7 = EStack_350; Vector::Normalized(); Vector::__unm(); EStack_374 = (EntityPtr)0x42a00000; - cVar3 = Vector::operator_eq(); - if (cVar3 != '\0') { + cVar2 = Vector::operator_eq(); + if (cVar2 != '\0') { MusicManager::RandomVector(); Vector::operator_assign(); EStack_364 = (EntityPtr)0xc3340000; EStack_374 = (EntityPtr)0x43340000; } - uVar27 = std::vector::size(); - if (uVar27 < 2) { + uVar26 = std::vector::size(); + if (uVar26 < 2) { auVar33 = ZEXT812(0); EStack_374 = (EntityPtr)0x0; EStack_364 = (EntityPtr)0x0; } else { EStack_374 = (EntityPtr)((float)EStack_374 - (float)EStack_364); - iVar7 = std::vector::size(); + iVar6 = std::vector::size(); auVar33._0_4_ = - (float)((double)(iVar7 + -1) + __uint_to_double_fixup[-(iVar7 + -1 >> 0x1f)]); + (float)((double)(iVar6 + -1) + __uint_to_double_fixup[-(iVar6 + -1 >> 0x1f)]); auVar33._4_8_ = 0; EStack_374 = (EntityPtr)((float)EStack_374 / auVar33._0_4_); } auVar31._12_4_ = 0; auVar31._0_12_ = auVar33; - iVar7 = std::vector::size(); - if (iVar7 != 0) { - uVar27 = 0; + iVar6 = std::vector::size(); + if (iVar6 != 0) { + uVar26 = 0; do { - puVar16 = (undefined4 *)FUN_0042c810(); - pEVar11 = (Entity_Projectile *)*puVar16; - auVar31 = ZEXT416((uint)((float)((double)(int)uVar27 + - __uint_to_double_fixup[-((int)uVar27 >> 0x1f)]) * + puVar15 = (undefined4 *)FUN_0042c810(); + pEVar10 = (Entity_Projectile *)*puVar15; + auVar31 = ZEXT416((uint)((float)((double)(int)uVar26 + + __uint_to_double_fixup[-((int)uVar26 >> 0x1f)]) * (float)EStack_374 + (float)EStack_364)); Vector::Rotated(); EStack_34c = (EntityPtr)0x40c00000; Vector::__mul(); Vector::__add(); - Entity::SetPosition((Entity *)pEVar11); + Entity::SetPosition((Entity *)pEVar10); random_float(); auVar31._0_4_ = (EntityPtr)(auVar31._0_4_ * 3.0 + 9.0); EStack_35c = auVar31._0_4_; Vector::__mul(); - Entity::SetVelocity((Entity *)pEVar11); - set_projectile_flags(pEVar11); - iVar7 = Entity::SubType((Entity *)pEVar11); - if (iVar7 == 1000) { - ProjectileFlags(pEVar11); - set_projectile_flags(pEVar11); + Entity::SetVelocity((Entity *)pEVar10); + set_projectile_flags(pEVar10); + iVar6 = Entity::SubType((Entity *)pEVar10); + if (iVar6 == 1000) { + ProjectileFlags(pEVar10); + set_projectile_flags(pEVar10); } FUN_0044bfa0(); - set_falling_accel(pEVar11); - Entity::SetTarget((Entity *)pEVar11); + set_falling_accel(pEVar10); + Entity::SetTarget((Entity *)pEVar10); Isaac::Random(0x1e); FUN_00444cb0(); - uVar27 = uVar27 + 1; - uVar15 = std::vector::size(); - } while (uVar27 < uVar15); - EVar8 = EStack_350; + uVar26 = uVar26 + 1; + uVar14 = std::vector::size(); + } while (uVar26 < uVar14); + EVar7 = EStack_350; } Level::GetCurrentRoom((Level *)g_game); Room::GetClampedPositionImpl(); Vector::operator_assign(); - bVar4 = (byte)uVar5; - if (*(int *)((int)EVar8 + 0x34) != 0x390) { + bVar3 = (byte)uVar4; + if (*(int *)((int)EVar7 + 0x34) != 0x390) { EStack_360 = (EntityPtr)0x6; do { MusicManager::RandomVector(); @@ -316274,16 +316570,16 @@ LAB_006555d5: Vector::__mul(); Vector::__add(); Level::GetCurrentRoom((Level *)g_game); - iVar7 = Room::GetGridCollisionAtPos(); - if (0 < iVar7) { + iVar6 = Room::GetGridCollisionAtPos(); + if (0 < iVar6) { Level::GetCurrentRoom((Level *)g_game); Room::FindFreeTilePosition(); random_float(); auVar33 = auVar31._4_12_; - EVar14 = (EntityPtr)(auVar31._0_4_ * 38.0 - 19.0); - EStack_35c = EVar14; + EVar13 = (EntityPtr)(auVar31._0_4_ * 38.0 - 19.0); + EStack_35c = EVar13; random_float(); - auVar31._0_4_ = (EntityPtr)((float)EVar14 * 38.0 - 19.0); + auVar31._0_4_ = (EntityPtr)((float)EVar13 * 38.0 - 19.0); auVar31._4_12_ = auVar33; Vector::Vector(); Vector::__add(); @@ -316293,32 +316589,32 @@ LAB_006555d5: Vector::Normalized(); random_float(); auVar33 = auVar31._4_12_; - EVar14 = (EntityPtr)(auVar31._0_4_ * 15.0 - 30.0); - EStack_35c = EVar14; + EVar13 = (EntityPtr)(auVar31._0_4_ * 15.0 - 30.0); + EStack_35c = EVar13; random_float(); - auVar31._0_4_ = (EntityPtr)((float)EVar14 * 15.0); + auVar31._0_4_ = (EntityPtr)((float)EVar13 * 15.0); auVar31._4_12_ = auVar33; fStack_3c4 = (float)auVar31._0_4_; Vector::operator_mul(); Vector::__add(); spawn_small_maggot_jump(); - bVar4 = (byte)uVar5; + bVar3 = (byte)uVar4; EStack_360 = (EntityPtr)((int)EStack_360 + -1); } while (EStack_360 != (EntityPtr)0x0); Random(); - pEVar10 = (Entity *)Game::Spawn(1000); + pEVar9 = (Entity *)Game::Spawn(1000); EStack_34c = (EntityPtr)0x3fc00000; Vector::operator_mul(); - Entity::SetSpriteScale(pEVar10); + Entity::SetSpriteScale(pEVar9); } random_float(); BVar32._4_12_ = auVar31._4_12_; BVar32._l._0_4_ = (EntityPtr)((auVar31._0_4_ * 0.5 + 0.5) * 1.5); - piVar17 = (int *)Entity_NPC::MakeSplat((Entity_NPC *)EVar8); - pcVar26 = *(code **)(*piVar17 + 0x3c); + piVar16 = (int *)Entity_NPC::MakeSplat((Entity_NPC *)EVar7); + pcVar25 = *(code **)(*piVar16 + 0x3c); Color::Color(0x3f800000,0); - (*pcVar26)(); - (**(code **)(*piVar17 + 0xc))(); + (*pcVar25)(); + (**(code **)(*piVar16 + 0xc))(); Game::ShakeScreen(g_game,5); EntityList_Query::~EntityList_Query(); iStack_14 = 0xffffffff; @@ -316331,28 +316627,28 @@ LAB_006555d5: } if ((((*(int *)((int)this + 0x34) == 0x390) && (*(int *)((int)this + 0x38) == 0)) && (*(int *)((int)this + 0x30) == 1)) && - (iVar7 = Entity::GetIntervalTicks((Entity *)this), iVar7 != 0)) { + (iVar6 = Entity::GetIntervalTicks((Entity *)this), iVar6 != 0)) { Random(); EStack_34c = (EntityPtr)0x3e4ccccd; Vector::__mul(); - pEVar11 = (Entity_Projectile *)Game::Spawn(); - Entity::SetSpawnerEntity((Entity *)pEVar11); + pEVar10 = (Entity_Projectile *)Game::Spawn(); + Entity::SetSpawnerEntity((Entity *)pEVar10); FUN_004316b0(); FUN_004b7070(); - (**(code **)(*(int *)pEVar11 + 0x3c))(); + (**(code **)(*(int *)pEVar10 + 0x3c))(); FUN_00444c70(); - set_falling_accel(pEVar11); - (**(code **)(*(int *)pEVar11 + 0xc))(); + set_falling_accel(pEVar10); + (**(code **)(*(int *)pEVar10 + 0xc))(); } if (*(byte *)((int)this + 0x173) != 0) { - cVar3 = Entity::HasEntityFlags(); - if (cVar3 != '\0') goto LAB_00653169; + cVar2 = Entity::HasEntityFlags(); + if (cVar2 != '\0') goto LAB_00653169; EStack_374 = (EntityPtr)0x0; EStack_368 = (EntityPtr)0xa; if ((*(uint *)((int)this + 0x438) & 2) == 0) { - iVar7 = *(int *)((int)this + 0x2c); - if (((((iVar7 == 0) || (iVar7 == 3)) || ((iVar7 == 4 || ((iVar7 == 5 || (iVar7 == 6)))))) || - (iVar7 == 0xc)) || ((iVar7 == 0xd || (iVar7 == 0x10)))) { + iVar6 = *(int *)((int)this + 0x2c); + if (((((iVar6 == 0) || (iVar6 == 3)) || ((iVar6 == 4 || ((iVar6 == 5 || (iVar6 == 6)))))) || + (iVar6 == 0xc)) || ((iVar6 == 0xd || (iVar6 == 0x10)))) { fStack_380 = *(float *)((int)this + 0x410); EStack_368 = (EntityPtr)0x96; fVar34 = *(float *)((int)this + 0x420); @@ -316361,7 +316657,7 @@ LAB_006555d5: EStack_368 = (EntityPtr)0x102; } EStack_364 = (EntityPtr)0x3f800000; - if (iVar7 == 4) { + if (iVar6 == 4) { if (0.4 <= fVar34) { if (0.8 <= fVar34) { EStack_364 = (EntityPtr)0x3f800000; @@ -316376,33 +316672,33 @@ LAB_006555d5: EStack_360 = (EntityPtr)0x3f800000; } } - else if (iVar7 == 5) { + else if (iVar6 == 5) { Sprite::Color((Sprite *)((int)this + 0x48)); random_float(); Game::SpawnParticles(); } - else if (iVar7 != 6) { + else if (iVar6 != 6) { _has_flag_0x110(); } Random(); Game::Spawn(); - pEVar10 = (Entity *)__RTDynamicCast(); - EStack_374 = (EntityPtr)pEVar10; - Entity::SetPositionOffset(pEVar10); + pEVar9 = (Entity *)__RTDynamicCast(); + EStack_374 = (EntityPtr)pEVar9; + Entity::SetPositionOffset(pEVar9); Vector::__mul(); - Entity::SetSpriteScale(pEVar10); - iVar7 = Isaac::Random(4); + Entity::SetSpriteScale(pEVar9); + iVar6 = Isaac::Random(4); BVar32 = (BitSet128) - ZEXT416((uint)((float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * + ZEXT416((uint)((float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * 90.0)); FUN_0043eea0(); - pRVar21 = (Room *)Level::GetCurrentRoom((Level *)g_game); - cVar3 = Room::IsPositionInRoom(pRVar21); - if (cVar3 != '\0') { + pRVar20 = (Room *)Level::GetCurrentRoom((Level *)g_game); + cVar2 = Room::IsPositionInRoom(pRVar20); + if (cVar2 != '\0') { SoundEffects::PlayWithFartOverride2(); } } - else if (iVar7 == 1) { + else if (iVar6 == 1) { fStack_380 = *(float *)((int)this + 0x410); auVar31 = ZEXT416((uint)fStack_380); Sprite::Color((Sprite *)((int)this + 0x48)); @@ -316411,28 +316707,28 @@ LAB_006555d5: BVar32._l._0_4_ = (EntityPtr)(auVar31._0_4_ * 2.0 + 1.0); Game::SpawnParticles(); } - else if (iVar7 == 2) { + else if (iVar6 == 2) { Random(); Entity::Position((Entity *)EStack_350); Vector::Vector(); Vector::__add(); - piVar17 = (int *)Game::Spawn(); + piVar16 = (int *)Game::Spawn(); this = (Entity_Projectile *)EStack_350; Sprite::Color((Sprite *)((int)EStack_350 + 0x48)); Color::operator_assign(); Color::A(); Font::SetLineHeightModifier((Font *)auStack_cc); - (**(code **)(*piVar17 + 0x3c))(); + (**(code **)(*piVar16 + 0x3c))(); } - else if (iVar7 == 7) { + else if (iVar6 == 7) { Random(); Entity::Position((Entity *)EStack_350); Vector::Vector(); Vector::__add(); - piVar17 = (int *)Game::Spawn(); - pcVar26 = *(code **)(*piVar17 + 0x3c); + piVar16 = (int *)Game::Spawn(); + pcVar25 = *(code **)(*piVar16 + 0x3c); Color::Color(); - (*pcVar26)(); + (*pcVar25)(); fVar34 = *(float *)((int)EStack_350 + 0x410); fStack_380 = fVar34; Sprite::Color((Sprite *)((int)EStack_350 + 0x48)); @@ -316448,39 +316744,39 @@ LAB_006555d5: LAB_00655e83: this = (Entity_Projectile *)EStack_350; } - else if (iVar7 == 8) { + else if (iVar6 == 8) { Color::Color(); Sprite::SetColor((Sprite *)((int)this + 0x48)); rng_pair_init(); uStack_44 = (uint)*(int *)((int)this + 0x30) >> 0x10; uStack_40 = *(int *)((int)this + 0x30) & 0xffff; iStack_34 = *(int *)((int)this + 0x3ec); - cVar3 = Entity::HasEntityFlags(); + cVar2 = Entity::HasEntityFlags(); aiStack_3c[0] = (int)*(float *)((int)this + 0x380); - uStack_30 = (uint)(cVar3 != '\0'); + uStack_30 = (uint)(cVar2 != '\0'); Entity::DestroyRockGridAt(); } else { - if (iVar7 == 9) { + if (iVar6 == 9) { Color::Color(); KColor::FromRGBA255(); Sprite::Color((Sprite *)((int)this + 0x48)); Color::__mul(); Random(); EStack_360 = (EntityPtr)((int)this + 0x33c); - pEVar10 = (Entity *)Game::Spawn(); + pEVar9 = (Entity *)Game::Spawn(); pVStack_384 = (Vector *)((int)EStack_350 + 0x34c); - Entity::SetPositionOffset(pEVar10); - (**(code **)(*(int *)pEVar10 + 0x3c))(); - (**(code **)(*(int *)pEVar10 + 0xc))(); - pSVar22 = (Sprite *)Entity::GetSprite(pEVar10); + Entity::SetPositionOffset(pEVar9); + (**(code **)(*(int *)pEVar9 + 0x3c))(); + (**(code **)(*(int *)pEVar9 + 0xc))(); + pSVar21 = (Sprite *)Entity::GetSprite(pEVar9); Vector::__mul(); - Sprite::SetScale(pSVar22); - pSVar22 = (Sprite *)Entity::GetSprite(pEVar10); - Sprite::SetRotation(pSVar22); - pRVar21 = (Room *)Level::GetCurrentRoom((Level *)g_game); - cVar3 = Room::IsPositionInRoom(pRVar21); - if (cVar3 != '\0') { + Sprite::SetScale(pSVar21); + pSVar21 = (Sprite *)Entity::GetSprite(pEVar9); + Sprite::SetRotation(pSVar21); + pRVar20 = (Room *)Level::GetCurrentRoom((Level *)g_game); + cVar2 = Room::IsPositionInRoom(pRVar20); + if (cVar2 != '\0') { SoundEffects::PlayWithFartOverride2(); EStack_34c = (EntityPtr)0x10; fStack_380 = 1.4013e-45; @@ -316488,10 +316784,10 @@ LAB_00655e83: BVar32._l._0_4_ = (EntityPtr)((float)BVar32._l * 0.5 + 1.0); EStack_368 = (EntityPtr)(int)(*(float *)pEStack_358 * 4.0 * (float)BVar32._l._0_4_); std::max(); - pEVar18 = (EntityPtr *)std::min(); - EVar8 = *pEVar18; - EStack_354 = EVar8; - if (0 < (int)EVar8) { + pEVar17 = (EntityPtr *)std::min(); + EVar7 = *pEVar17; + EStack_354 = EVar7; + if (0 < (int)EVar7) { EStack_35c = (EntityPtr)((int)EStack_350 + 0x370); do { random_float(); @@ -316509,42 +316805,42 @@ LAB_00655e83: Vector::__add(); Random(); Vector::__mul(); - pEVar10 = (Entity *)Game::Spawn(); - Entity::SetPositionOffset(pEVar10); - (**(code **)(*(int *)pEVar10 + 0x3c))(); - (**(code **)(*(int *)pEVar10 + 0xc))(); - EVar8 = (EntityPtr)((int)EVar8 + -1); - } while (EVar8 != (EntityPtr)0x0); + pEVar9 = (Entity *)Game::Spawn(); + Entity::SetPositionOffset(pEVar9); + (**(code **)(*(int *)pEVar9 + 0x3c))(); + (**(code **)(*(int *)pEVar9 + 0xc))(); + EVar7 = (EntityPtr)((int)EVar7 + -1); + } while (EVar7 != (EntityPtr)0x0); } } goto LAB_00655e83; } - if (iVar7 == 0xb) { + if (iVar6 == 0xb) { Random(); EStack_34c = (EntityPtr)((int)this + 0x33c); - pEVar10 = (Entity *)Game::Spawn(); - Entity::SetPositionOffset(pEVar10); + pEVar9 = (Entity *)Game::Spawn(); + Entity::SetPositionOffset(pEVar9); SoundEffects::PlayWithFartOverride2(); Level::GetCurrentRoom((Level *)g_game); fStack_3f0 = *(float *)((int)this + 0x33c); fStack_3ec = *(float *)((int)this + 0x340); BVar32 = (BitSet128)ZEXT416((uint)fStack_3ec); - iVar7 = Room::GetGridCollisionAtPos(); - if (iVar7 == 0) { + iVar6 = Room::GetGridCollisionAtPos(); + if (iVar6 == 0) { Random(); fStack_380 = 0.1; Vector::__mul(); - pEVar10 = (Entity *)Game::Spawn(); + pEVar9 = (Entity *)Game::Spawn(); Entity::ClearEntityFlags(); - Entity::SetField380(pEVar10); - pAVar19 = (ANM2 *)Entity::GetSprite(pEVar10); - ANM2::Play(pAVar19,(byte *)"ReGenProjectile",0); + Entity::SetField380(pEVar9); + pAVar18 = (ANM2 *)Entity::GetSprite(pEVar9); + ANM2::Play(pAVar18,(byte *)"ReGenProjectile",0); FUN_00440ed0(); this = (Entity_Projectile *)EStack_350; - cVar3 = Entity::HasEntityFlags(); - if (cVar3 != '\0') { - EntityRef::constructor((EntityRef *)(auStack_cc + 0x40),(Entity *)this); - Entity::AddShrink(pEVar10,(EntityRef *)(auStack_cc + 0x40),-0x96,0,0); + cVar2 = Entity::HasEntityFlags(); + if (cVar2 != '\0') { + EntityRef::constructor(&EStack_8c,(Entity *)this); + Entity::AddShrink(pEVar9,&EStack_8c,-0x96,0,0); } } } @@ -316552,28 +316848,28 @@ LAB_00655e83: if ((*(uint *)((int)this + 0x438) & 0x4000) != 0) { Random(); Game::Spawn(); - pEVar12 = (Entity_Effect *)__RTDynamicCast(); - (**(code **)(*(int *)pEVar12 + 0xc))(); - Entity_Effect::SetTimeout(pEVar12); + pEVar11 = (Entity_Effect *)__RTDynamicCast(); + (**(code **)(*(int *)pEVar11 + 0xc))(); + Entity_Effect::SetTimeout(pEVar11); } } else { Random(); - pEStack_358 = (Entity *)((int)this + 0x33c); + pEStack_358 = (Entity_Effect *)((int)this + 0x33c); EStack_374 = (EntityPtr)Game::Spawn(); if (*(EntityPtr *)((int)this + 0x3bc) == (EntityPtr)0x0) { - EVar8 = (EntityPtr)this; + EVar7 = (EntityPtr)this; } else { - EVar8 = *(EntityPtr *)((int)this + 0x3bc); + EVar7 = *(EntityPtr *)((int)this + 0x3bc); } BVar32 = g_tearFlagsNone; - Game::BombDamage(g_game,(Vector *)((int)this + 0x33c),50.0,60.0,1,(Entity *)EVar8, - g_tearFlagsNone,0,bVar4); + Game::BombDamage(g_game,(Vector *)((int)this + 0x33c),50.0,60.0,1,(Entity *)EVar7, + g_tearFlagsNone,0,bVar3); *(uint *)((int)this + 0x438) = *(uint *)((int)this + 0x438) & 0xfffffffd; *(undefined4 *)((int)this + 0x43c) = *(undefined4 *)((int)this + 0x43c); - iVar7 = *(int *)((int)this + 0x34); - if (iVar7 == 0x389) { + iVar6 = *(int *)((int)this + 0x34); + if (iVar6 == 0x389) { EStack_360 = (EntityPtr)0x0; do { BVar32 = (BitSet128)ZEXT416((uint)((float)(int)EStack_360 * 60.0 + 0.0)); @@ -316581,42 +316877,42 @@ LAB_00655e83: fStack_380 = 8.0; Vector::operator_mul(); Random(); - pEVar11 = (Entity_Projectile *)Game::Spawn(); + pEVar10 = (Entity_Projectile *)Game::Spawn(); FUN_004316b0(); FUN_004b7070(); - set_falling_accel(pEVar11); - (**(code **)(*(int *)pEVar11 + 0x3c))(); + set_falling_accel(pEVar10); + (**(code **)(*(int *)pEVar10 + 0x3c))(); EStack_360 = (EntityPtr)((int)EStack_360 + 1); } while ((int)EStack_360 < 6); - iVar7 = *(int *)((int)this + 0x34); + iVar6 = *(int *)((int)this + 0x34); } - if ((iVar7 == 0x3b7) && (*(int *)((int)this + 0x38) == 0x14)) { + if ((iVar6 == 0x3b7) && (*(int *)((int)this + 0x38) == 0x14)) { Game::ShakeScreen(g_game,8); EStack_360 = (EntityPtr)0x0; do { - EVar8 = EStack_360; + EVar7 = EStack_360; Random(); EStack_368 = *(EntityPtr *)((int)EStack_350 + 0x3c8); auVar33 = ZEXT812(0); - fVar34 = (float)(int)EVar8 * 7.0; + fVar34 = (float)(int)EVar7 * 7.0; Vector::Vector(); MusicManager::RandomVector(); fStack_380 = 10.0; Vector::__mul(); Vector::__add(); - pEVar12 = (Entity_Effect *)Game::Spawn(); + pEVar11 = (Entity_Effect *)Game::Spawn(); FUN_004316b0(); FUN_004b7070(); random_float(); - EVar8 = (EntityPtr)(fVar34 * 0.3 + 1.2); - EStack_34c = EVar8; + EVar7 = (EntityPtr)(fVar34 * 0.3 + 1.2); + EStack_34c = EVar7; Vector::__mul(); - Entity::SetSpriteScale((Entity *)pEVar12); - (**(code **)(*(int *)pEVar12 + 0xc))(); - Entity_Effect::SetTimeout(pEVar12); + Entity::SetSpriteScale((Entity *)pEVar11); + (**(code **)(*(int *)pEVar11 + 0xc))(); + Entity_Effect::SetTimeout(pEVar11); Random(); random_float(); - fVar34 = (float)EVar8 * 28.0; + fVar34 = (float)EVar7 * 28.0; Vector::Vector(); random_float(); fVar34 = fVar34 * 20.0 - 10.0; @@ -316625,19 +316921,19 @@ LAB_00655e83: fVar34 = fVar34 * 60.0 - 30.0; Vector::Vector(); Vector::__add(); - pEVar11 = (Entity_Projectile *)Game::Spawn(); + pEVar10 = (Entity_Projectile *)Game::Spawn(); random_float(); BVar32._l._0_4_ = (EntityPtr)(fVar34 * 0.7 + 1.0); BVar32._4_12_ = auVar33; FUN_004508a0(); this = (Entity_Projectile *)EStack_350; - Entity::SetSpawnerEntity((Entity *)pEVar11); + Entity::SetSpawnerEntity((Entity *)pEVar10); FUN_004316b0(); FUN_004b7070(); - (**(code **)(*(int *)pEVar11 + 0x3c))(); + (**(code **)(*(int *)pEVar10 + 0x3c))(); FUN_00444c70(); - set_falling_accel(pEVar11); - (**(code **)(*(int *)pEVar11 + 0xc))(); + set_falling_accel(pEVar10); + (**(code **)(*(int *)pEVar10 + 0xc))(); EStack_360 = (EntityPtr)((int)EStack_360 + 1); } while ((int)EStack_360 < 0xe); Level::GetCurrentRoom((Level *)g_game); @@ -316650,93 +316946,93 @@ LAB_00655e83: Level::GetCurrentRoom((Level *)g_game); Room::get_lava_line_y(); fStack_3ec = (float)BVar32._l; - pEVar12 = (Entity_Effect *)Entity_Effect::CreateTimer(); - Entity::SetSpawnerEntity((Entity *)pEVar12); + pEVar11 = (Entity_Effect *)Entity_Effect::CreateTimer(); + Entity::SetSpawnerEntity((Entity *)pEVar11); FUN_004316b0(); FUN_004b7070(); - Entity::SetPosition((Entity *)pEVar12); - Entity_Effect::set_state(pEVar12); + Entity::SetPosition((Entity *)pEVar11); + Entity_Effect::set_state(pEVar11); } } } iStack_434 = *(int *)((int)this + 0x43c); - uVar5 = *(uint *)((int)this + 0x438); - if ((uVar5 & 0x104) != 0) { + uVar4 = *(uint *)((int)this + 0x438); + if ((uVar4 & 0x104) != 0) { Random(); Game::Spawn(); - pEVar12 = (Entity_Effect *)__RTDynamicCast(); + pEVar11 = (Entity_Effect *)__RTDynamicCast(); FUN_004316b0(); if ((*(uint *)((int)this + 0x438) & 0x10) == 0) { EStack_354 = (EntityPtr)0x40400000; Vector::__mul(); - Entity::SetSpriteScale((Entity *)pEVar12); + Entity::SetSpriteScale((Entity *)pEVar11); } else { EStack_354 = (EntityPtr)0x3fc00000; Vector::__mul(); - Entity::SetSpriteScale((Entity *)pEVar12); - Entity_Effect::SetTimeout(pEVar12); + Entity::SetSpriteScale((Entity *)pEVar11); + Entity_Effect::SetTimeout(pEVar11); } - (**(code **)(*(int *)pEVar12 + 0xc))(); + (**(code **)(*(int *)pEVar11 + 0xc))(); Random(); Game::Spawn(); - pEVar10 = (Entity *)__RTDynamicCast(); + pEVar9 = (Entity *)__RTDynamicCast(); random_float(); BVar32._l._0_4_ = (EntityPtr)((float)BVar32._l + 0.8); EStack_354 = BVar32._l._0_4_; Vector::__mul(); - Entity::SetSpriteScale(pEVar10); - pcVar26 = *(code **)(*(int *)pEVar10 + 0x3c); + Entity::SetSpriteScale(pEVar9); + pcVar25 = *(code **)(*(int *)pEVar9 + 0x3c); Sprite::Color((Sprite *)((int)EStack_350 + 0x48)); - (*pcVar26)(); - (**(code **)(*(int *)pEVar10 + 0xc))(); + (*pcVar25)(); + (**(code **)(*(int *)pEVar9 + 0xc))(); iStack_434 = *(int *)((int)EStack_350 + 0x43c); - uVar5 = *(uint *)((int)EStack_350 + 0x438); + uVar4 = *(uint *)((int)EStack_350 + 0x438); this = (Entity_Projectile *)EStack_350; } - if ((uVar5 & 8) != 0) { - iVar7 = *(int *)((int)this + 0x34); - if (iVar7 == 0x3e) { + if ((uVar4 & 8) != 0) { + iVar6 = *(int *)((int)this + 0x34); + if (iVar6 == 0x3e) { Random(); Game::Spawn(); - pEVar10 = (Entity *)__RTDynamicCast(); + pEVar9 = (Entity *)__RTDynamicCast(); EStack_354 = (EntityPtr)0x40000000; Vector::__mul(); - Entity::SetSpriteScale(pEVar10); - (**(code **)(*(int *)pEVar10 + 0xc))(); + Entity::SetSpriteScale(pEVar9); + (**(code **)(*(int *)pEVar9 + 0xc))(); SoundEffects::PlayWithFartOverride(); } else { - if ((iVar7 == 0x133) || (iVar7 == 0x22)) { + if ((iVar6 == 0x133) || (iVar6 == 0x22)) { Random(); Game::Spawn(); - pEVar12 = (Entity_Effect *)__RTDynamicCast(); - Entity_Effect::SetTimeout(pEVar12); + pEVar11 = (Entity_Effect *)__RTDynamicCast(); + Entity_Effect::SetTimeout(pEVar11); EStack_354 = (EntityPtr)0x40000000; } else { Random(); Game::Spawn(); - pEVar12 = (Entity_Effect *)__RTDynamicCast(); + pEVar11 = (Entity_Effect *)__RTDynamicCast(); EStack_354 = (EntityPtr)0x40400000; } Vector::__mul(); - Entity::SetSpriteScale((Entity *)pEVar12); - (**(code **)(*(int *)pEVar12 + 0xc))(); + Entity::SetSpriteScale((Entity *)pEVar11); + (**(code **)(*(int *)pEVar11 + 0xc))(); } } if ((*(uint *)((int)this + 0x438) & 0x10000) != 0) { if (*(int *)((int)this + 0x34) == 0x3e) { - fVar28 = (float10)Vector::Length(); - EStack_354 = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Length(); + EStack_354 = (EntityPtr)(float)fVar27; Vector::Vector(); - iVar7 = Isaac::Random(2); - if (iVar7 == 0) { + iVar6 = Isaac::Random(2); + if (iVar6 == 0) { Vector::Rotated(); Vector::operator_assign(); } - fVar28 = (float10)Vector::LengthSquared(); - EStack_354 = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::LengthSquared(); + EStack_354 = (EntityPtr)(float)fVar27; if (25.0 <= (float)EStack_354) { uStack_400 = uStack_3cc; pfStack_3fc = pfStack_3c8; @@ -316747,76 +317043,76 @@ LAB_00655e83: } Vector::operator_assign(); EStack_364 = (EntityPtr)((int)this + 0x48); - pEStack_358 = (Entity *)0x4; + pEStack_358 = (Entity_Effect *)0x4; do { Random(); Vector::__sub(); Game::Spawn(); - pEVar10 = (Entity *)__RTDynamicCast(); - EVar8 = EStack_350; + pEVar9 = (Entity *)__RTDynamicCast(); + EVar7 = EStack_350; FUN_004316b0(); FUN_004b7070(); - EStack_354 = (EntityPtr)(*(float *)((int)EVar8 + 0x410) * 0.6); + EStack_354 = (EntityPtr)(*(float *)((int)EVar7 + 0x410) * 0.6); pVStack_384 = (Vector *)0xc1b80000; std::min(); FUN_00450880(); - EStack_354 = (EntityPtr)(*(float *)((int)EVar8 + 0x420) - 0.667); + EStack_354 = (EntityPtr)(*(float *)((int)EVar7 + 0x420) - 0.667); pVStack_384 = (Vector *)0x3f800000; - puVar20 = (uint *)std::max(); - BVar32 = (BitSet128)ZEXT416(*puVar20); + puVar19 = (uint *)std::max(); + BVar32 = (BitSet128)ZEXT416(*puVar19); FUN_004508a0(); - uVar5 = *(uint *)((int)EVar8 + 0x438); - pEVar10[1]._subtype = *(int *)((int)EVar8 + 0x43c); - iVar7 = *(int *)pEVar10; - pEVar10[1]._variant = uVar5 & 0xfffeffff; - pEVar10[1]._damageEvents._end = (void *)0x3dcccccd; - pcVar26 = *(code **)(iVar7 + 0x3c); - pEVar10[1]._damageEvents._begin = (void *)0xc0400000; + uVar4 = *(uint *)((int)EVar7 + 0x438); + pEVar9[1]._subtype = *(int *)((int)EVar7 + 0x43c); + iVar6 = *(int *)pEVar9; + pEVar9[1]._variant = uVar4 & 0xfffeffff; + pEVar9[1]._damageEvents._end = (void *)0x3dcccccd; + pcVar25 = *(code **)(iVar6 + 0x3c); + pEVar9[1]._damageEvents._begin = (void *)0xc0400000; Sprite::Color((Sprite *)EStack_364); - (*pcVar26)(); - Entity::SetParent(pEVar10); - (**(code **)(*(int *)pEVar10 + 0xc))(); + (*pcVar25)(); + Entity::SetParent(pEVar9); + (**(code **)(*(int *)pEVar9 + 0xc))(); Vector::Vector(); Vector::operator_assign(); - pEStack_358 = (Entity *)((int)pEStack_358 + -1); - } while (pEStack_358 != (Entity *)0x0); - pEStack_358 = (Entity *)0x0; + pEStack_358 = (Entity_Effect *)((int)pEStack_358 + -1); + } while (pEStack_358 != (Entity_Effect *)0x0); + pEStack_358 = (Entity_Effect *)0x0; this = (Entity_Projectile *)EStack_350; } else if ((*(int *)((int)this + 0x34) == 0x38f) && (*(int *)((int)this + 0x38) == 2)) { EStack_354 = (EntityPtr)((int)this + 0x33c); - pEStack_358 = (Entity *)0xffffffff; + pEStack_358 = (Entity_Effect *)0xffffffff; do { - pEVar10 = pEStack_358; + pEVar11 = pEStack_358; Random(); EStack_35c = *(EntityPtr *)((int)EStack_350 + 0x3c8); random_float(); Math::lerp(); Vector::Vector(); - BVar32 = (BitSet128)ZEXT416((uint)((float)(int)pEVar10 * 30.0)); + BVar32 = (BitSet128)ZEXT416((uint)((float)(int)pEVar11 * 30.0)); Vector::Rotated(); Vector::Vector(); Vector::__add(); - pEVar11 = (Entity_Projectile *)Game::Spawn(); - set_projectile_flags(pEVar11); + pEVar10 = (Entity_Projectile *)Game::Spawn(); + set_projectile_flags(pEVar10); FUN_004aad90(); FUN_004aadd0(); this = (Entity_Projectile *)EStack_350; FUN_004316b0(); FUN_004b7070(); - set_falling_accel(pEVar11); - (**(code **)(*(int *)pEVar11 + 0x3c))(); - pEStack_358 = (Entity *)((int)pEStack_358 + 2); + set_falling_accel(pEVar10); + (**(code **)(*(int *)pEVar10 + 0x3c))(); + pEStack_358 = (Entity_Effect *)((int)pEStack_358 + 2); } while ((int)pEStack_358 < 2); } else { MusicManager::RandomVector(); EStack_35c = (EntityPtr)((int)this + 0x360); - fVar28 = (float10)Vector::Length(); - EStack_354 = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Length(); + EStack_354 = (EntityPtr)(float)fVar27; Vector::operator_mul_assign(); pVStack_384 = (Vector *)((int)this + 0x33c); - pEStack_358 = (Entity *)0x0; + pEStack_358 = (Entity_Effect *)0x0; EStack_364 = (EntityPtr)((int)this + 0x48); do { EntityPtr::clear(); @@ -316830,66 +317126,66 @@ LAB_00655e83: } Random(); Vector::__sub(); - EVar8 = EStack_350; + EVar7 = EStack_350; Game::Spawn(); - pEVar10 = (Entity *)__RTDynamicCast(); + pEVar9 = (Entity *)__RTDynamicCast(); FUN_00450880(); - pEVar10[1]._damageEvents._end = *(void **)((int)EVar8 + 0x418); + pEVar9[1]._damageEvents._end = *(void **)((int)EVar7 + 0x418); random_float(); FUN_00444c70(); - (**(code **)(*(int *)pEVar10 + 0x40))(); - iVar7 = *(int *)((int)EVar8 + 0x43c); - pEVar10[1]._variant = *(uint *)((int)EVar8 + 0x438) & 0xfffeffff; - pEVar10[1]._subtype = iVar7; - BVar32 = (BitSet128)ZEXT416((uint)(*(float *)((int)EVar8 + 0x420) * 0.6)); + (**(code **)(*(int *)pEVar9 + 0x40))(); + iVar6 = *(int *)((int)EVar7 + 0x43c); + pEVar9[1]._variant = *(uint *)((int)EVar7 + 0x438) & 0xfffeffff; + pEVar9[1]._subtype = iVar6; + BVar32 = (BitSet128)ZEXT416((uint)(*(float *)((int)EVar7 + 0x420) * 0.6)); FUN_004508a0(); - pcVar26 = *(code **)(*(int *)pEVar10 + 0x3c); + pcVar25 = *(code **)(*(int *)pEVar9 + 0x3c); Sprite::Color((Sprite *)EStack_364); - (*pcVar26)(); - Entity::SetParent(pEVar10); - (**(code **)(*(int *)pEVar10 + 0xc))(); - pEStack_358 = (Entity *)((int)pEStack_358 + 1); + (*pcVar25)(); + Entity::SetParent(pEVar9); + (**(code **)(*(int *)pEVar9 + 0xc))(); + pEStack_358 = (Entity_Effect *)((int)pEStack_358 + 1); this = (Entity_Projectile *)EStack_350; } while ((int)pEStack_358 < 4); } } if ((*(uint *)((int)this + 0x43c) & 8) != 0) { SoundEffects::PlayWithFartOverride2(); - iVar7 = 0; + iVar6 = 0; do { Random(); - pEStack_358 = (Entity *)Game::Spawn(); - Entity::SetParent(pEStack_358); - BVar32 = (BitSet128)ZEXT416((uint)((float)iVar7 * 90.0 + 0.0)); - Entity_Effect::set_rotation(); - cVar3 = Entity::HasEntityFlags(); - if ((cVar3 != '\0') || ((*(uint *)((int)this + 0x438) & 0x80000000) != 0)) { + pEStack_358 = (Entity_Effect *)Game::Spawn(); + Entity::SetParent((Entity *)pEStack_358); + BVar32 = (BitSet128)ZEXT416((uint)((float)iVar6 * 90.0 + 0.0)); + Entity_Effect::set_rotation(pEStack_358); + cVar2 = Entity::HasEntityFlags(); + if ((cVar2 != '\0') || ((*(uint *)((int)this + 0x438) & 0x80000000) != 0)) { Entity::AddEntityFlags(); } - iVar7 = iVar7 + 1; - } while (iVar7 < 4); + iVar6 = iVar6 + 1; + } while (iVar6 < 4); } if ((*(uint *)((int)this + 0x43c) & 0x10) != 0) { SoundEffects::PlayWithFartOverride2(); - pEStack_358 = (Entity *)0x0; + pEStack_358 = (Entity_Effect *)0x0; do { Random(); - pEVar10 = (Entity *)Game::Spawn(); - Entity::SetParent(pEVar10); + pEVar11 = (Entity_Effect *)Game::Spawn(); + Entity::SetParent((Entity *)pEVar11); FUN_004316b0(); FUN_004b7070(); BVar32 = (BitSet128)ZEXT416((uint)((float)(int)pEStack_358 * 90.0 + 45.0)); - Entity_Effect::set_rotation(); - cVar3 = Entity::HasEntityFlags(); - if ((cVar3 != '\0') || ((*(uint *)((int)this + 0x438) & 0x80000000) != 0)) { + Entity_Effect::set_rotation(pEVar11); + cVar2 = Entity::HasEntityFlags(); + if ((cVar2 != '\0') || ((*(uint *)((int)this + 0x438) & 0x80000000) != 0)) { Entity::AddEntityFlags(); } - pEStack_358 = (Entity *)((int)pEStack_358 + 1); + pEStack_358 = (Entity_Effect *)((int)pEStack_358 + 1); } while ((int)pEStack_358 < 4); } - uVar5 = *(uint *)((int)this + 0x43c); + uVar4 = *(uint *)((int)this + 0x43c); iStack_418 = *(int *)((int)this + 0x438); - if ((uVar5 & 0x40) != 0) { + if ((uVar4 & 0x40) != 0) { pVStack_384 = (Vector *)0x40000000; pVStack_398 = (Vector *)((int)this + 0x33c); Vector::__mul(); @@ -316897,16 +317193,16 @@ LAB_00655e83: SoundEffects::PlayWithFartOverride2(); Random(); Game::Spawn(); - EVar8 = (EntityPtr)0x8; + EVar7 = (EntityPtr)0x8; EStack_364 = (EntityPtr)0x8; if (*(int *)((int)this + 0x34) == 0x3d) { if (*(int *)((int)this + 0x38) == 7) { - EVar8 = (EntityPtr)0x6; + EVar7 = (EntityPtr)0x6; } - EStack_364 = EVar8; + EStack_364 = EVar7; } fStack_37c = (float)(int)EStack_364; - pEStack_358 = (Entity *)0x0; + pEStack_358 = (Entity_Effect *)0x0; do { BVar32 = (BitSet128)ZEXT416((uint)(((float)(int)pEStack_358 * 360.0) / fStack_37c + 0.0)); Vector::FromAngle(); @@ -316914,7 +317210,7 @@ LAB_00655e83: Vector::__mul(); Random(); Vector::__add(); - pEVar11 = (Entity_Projectile *)Game::Spawn(); + pEVar10 = (Entity_Projectile *)Game::Spawn(); this = (Entity_Projectile *)EStack_350; FUN_004316b0(); FUN_004b7070(); @@ -316923,17 +317219,17 @@ LAB_00655e83: FUN_004508a0(); FUN_00435cd0(); } - set_projectile_flags(pEVar11); - pEStack_358 = (Entity *)((int)pEStack_358 + 1); + set_projectile_flags(pEVar10); + pEStack_358 = (Entity_Effect *)((int)pEStack_358 + 1); } while ((int)pEStack_358 < (int)EStack_364); iStack_418 = *(int *)((int)this + 0x438); - uVar5 = *(uint *)((int)this + 0x43c); + uVar4 = *(uint *)((int)this + 0x43c); } - if ((uVar5 & 0x400000) != 0) { + if ((uVar4 & 0x400000) != 0) { Vector::Normalized(); Vector::__unm(); pVStack_398 = (Vector *)((int)this + 0x33c); - pEStack_358 = (Entity *)0xffffffff; + pEStack_358 = (Entity_Effect *)0xffffffff; do { BVar32 = (BitSet128)ZEXT416((uint)((float)(int)pEStack_358 * 24.0)); Vector::Rotated(); @@ -316941,29 +317237,29 @@ LAB_00655e83: Vector::__mul(); Random(); Vector::__add(); - pEVar11 = (Entity_Projectile *)Game::Spawn(); + pEVar10 = (Entity_Projectile *)Game::Spawn(); this = (Entity_Projectile *)EStack_350; FUN_004316b0(); FUN_004b7070(); - set_falling_accel(pEVar11); - set_projectile_flags(pEVar11); - pEStack_358 = (Entity *)((int)pEStack_358 + 2); + set_falling_accel(pEVar10); + set_projectile_flags(pEVar10); + pEStack_358 = (Entity_Effect *)((int)pEStack_358 + 2); } while ((int)pEStack_358 < 2); iStack_418 = *(int *)((int)this + 0x438); - uVar5 = *(uint *)((int)this + 0x43c); + uVar4 = *(uint *)((int)this + 0x43c); } - if ((uVar5 & 0x20000) != 0) { + if ((uVar4 & 0x20000) != 0) { SoundEffects::PlayWithFartOverride2(); Random(); - piVar17 = (int *)Game::Spawn(); - pcVar26 = *(code **)(*piVar17 + 0x3c); + piVar16 = (int *)Game::Spawn(); + pcVar25 = *(code **)(*piVar16 + 0x3c); Color::Color(); - (*pcVar26)(); + (*pcVar25)(); this = (Entity_Projectile *)EStack_350; if ((*(int *)((int)EStack_350 + 0x34) == 0x38f) && (*(int *)((int)EStack_350 + 0x38) == 2)) { EStack_364 = *(EntityPtr *)((int)EStack_350 + 0x438); pVStack_398 = (Vector *)(*(uint *)((int)EStack_350 + 0x43c) & 0xfffdffff); - pEStack_358 = (Entity *)0x0; + pEStack_358 = (Entity_Effect *)0x0; fStack_37c = (float)((uint)pVStack_398 | 0x401); do { random_float(); @@ -316973,22 +317269,22 @@ LAB_00655e83: assert_lerp_range(); Vector::Rotated(); Random(); - pEVar11 = (Entity_Projectile *)Game::Spawn(); - set_projectile_flags(pEVar11); + pEVar10 = (Entity_Projectile *)Game::Spawn(); + set_projectile_flags(pEVar10); FUN_004aad90(); FUN_004aadd0(); FUN_004316b0(); FUN_004b7070(); - set_falling_accel(pEVar11); + set_falling_accel(pEVar10); random_float(); BVar32._4_12_ = auVar31._4_12_; BVar32._l._0_4_ = (EntityPtr)(auVar31._0_4_ * 0.6 + 0.8); FUN_004508a0(); - pEStack_358 = (Entity *)((int)pEStack_358 + 1); + pEStack_358 = (Entity_Effect *)((int)pEStack_358 + 1); } while ((int)pEStack_358 < 0xd); } else { - pEStack_358 = (Entity *)0x10; + pEStack_358 = (Entity_Effect *)0x10; do { random_float(); Math::lerp(); @@ -316998,114 +317294,114 @@ LAB_00655e83: Math::lerp(); Vector::Rotated(); Random(); - pEVar11 = (Entity_Projectile *)Game::Spawn(); - (**(code **)(*(int *)pEVar11 + 0x3c))(); - set_projectile_flags(pEVar11); + pEVar10 = (Entity_Projectile *)Game::Spawn(); + (**(code **)(*(int *)pEVar10 + 0x3c))(); + set_projectile_flags(pEVar10); FUN_004316b0(); FUN_004b7070(); - set_falling_accel(pEVar11); + set_falling_accel(pEVar10); random_float(); BVar32._4_12_ = auVar31._4_12_; BVar32._l._0_4_ = (EntityPtr)(auVar31._0_4_ * 0.6 + 0.9); FUN_004508a0(); - pEStack_358 = (Entity *)((int)&pEStack_358[-1]._luaBridgeRef + 3); - } while (pEStack_358 != (Entity *)0x0); + pEStack_358 = (Entity_Effect *)((int)&pEStack_358[-1]._hitList._capacity + 3); + } while (pEStack_358 != (Entity_Effect *)0x0); } } if ((*(uint *)((int)this + 0x43c) & 0x2000) != 0) { if (*(int *)((int)this + 0x2c) == 1) { SoundEffects::PlayWithFartOverride2(); } - pRVar21 = (Room *)Level::GetCurrentRoom((Level *)g_game); - cVar3 = Room::IsPositionInRoom(pRVar21); - if (cVar3 != '\0') { + pRVar20 = (Room *)Level::GetCurrentRoom((Level *)g_game); + cVar2 = Room::IsPositionInRoom(pRVar20); + if (cVar2 != '\0') { Random(); - piVar17 = (int *)Game::Spawn(); + piVar16 = (int *)Game::Spawn(); auVar31 = ZEXT816(0x3f800000); - pcVar26 = *(code **)(*piVar17 + 0x3c); + pcVar25 = *(code **)(*piVar16 + 0x3c); Color::Color(); - (*pcVar26)(); - (**(code **)(*piVar17 + 0xc))(); + (*pcVar25)(); + (**(code **)(*piVar16 + 0xc))(); this = (Entity_Projectile *)EStack_350; - cVar3 = Entity::HasEntityFlags(); - if ((cVar3 == '\0') && ((*(uint *)((int)this + 0x438) & 0x80000000) == 0)) { + cVar2 = Entity::HasEntityFlags(); + if ((cVar2 == '\0') && ((*(uint *)((int)this + 0x438) & 0x80000000) == 0)) { Random(); - pEVar10 = (Entity *)Game::Spawn(); - Entity::SetTargetPosition(pEVar10); - fVar28 = (float10)Entity::HitPoints(pEVar10); - pVStack_398 = (Vector *)(float)fVar28; + pEVar9 = (Entity *)Game::Spawn(); + Entity::SetTargetPosition(pEVar9); + fVar27 = (float10)Entity::HitPoints(pEVar9); + pVStack_398 = (Vector *)(float)fVar27; random_float(); BVar32._4_12_ = auVar31._4_12_; BVar32._l._0_4_ = (EntityPtr)(auVar31._0_4_ * 0.2 + 0.6); fStack_37c = (float)BVar32._l._0_4_; - Entity::SetField380(pEVar10); + Entity::SetField380(pEVar9); } else { Random(); - pEVar12 = (Entity_Effect *)Game::Spawn(); + pEVar11 = (Entity_Effect *)Game::Spawn(); FUN_004316b0(); FUN_004b7070(); random_float(); BVar32._4_12_ = auVar31._4_12_; BVar32._l._0_4_ = (EntityPtr)(auVar31._0_4_ * 0.2 + 0.6); FUN_00435ed0(); - (**(code **)(*(int *)pEVar12 + 0x40))(); - Entity_Effect::SetTimeout(pEVar12); + (**(code **)(*(int *)pEVar11 + 0x40))(); + Entity_Effect::SetTimeout(pEVar11); } SoundEffects::PlayWithFartOverride2(); } } if ((*(uint *)((int)this + 0x43c) & 0x80) != 0) { Random(); - pEStack_358 = (Entity *)Game::Spawn(); + pEStack_358 = (Entity_Effect *)Game::Spawn(); FUN_004316b0(); FUN_004b7070(); - cVar3 = Entity::HasEntityFlags(); - if ((cVar3 != '\0') || ((*(uint *)((int)this + 0x438) & 0x80000000) != 0)) { + cVar2 = Entity::HasEntityFlags(); + if ((cVar2 != '\0') || ((*(uint *)((int)this + 0x438) & 0x80000000) != 0)) { Entity::AddEntityFlags(); } - iVar7 = Isaac::Random(10); - if (iVar7 == 0) { - pRVar21 = (Room *)Level::GetCurrentRoom((Level *)g_game); - cVar3 = Room::IsPositionInRoom(pRVar21); - if (cVar3 != '\0') { - cVar3 = Entity::HasEntityFlags(); - if ((cVar3 == '\0') && ((*(uint *)((int)this + 0x438) & 0x80000000) == 0)) { + iVar6 = Isaac::Random(10); + if (iVar6 == 0) { + pRVar20 = (Room *)Level::GetCurrentRoom((Level *)g_game); + cVar2 = Room::IsPositionInRoom(pRVar20); + if (cVar2 != '\0') { + cVar2 = Entity::HasEntityFlags(); + if ((cVar2 == '\0') && ((*(uint *)((int)this + 0x438) & 0x80000000) == 0)) { Random(); - pEVar10 = (Entity *)Game::Spawn(); - Entity::SetTargetPosition(pEVar10); - fVar28 = (float10)Entity::HitPoints(pEVar10); - pVStack_398 = (Vector *)(float)fVar28; + pEVar9 = (Entity *)Game::Spawn(); + Entity::SetTargetPosition(pEVar9); + fVar27 = (float10)Entity::HitPoints(pEVar9); + pVStack_398 = (Vector *)(float)fVar27; random_float(); fStack_37c = (float)BVar32._l * 0.2 + 0.4; - Entity::SetField380(pEVar10); + Entity::SetField380(pEVar9); } else { Random(); - pEVar12 = (Entity_Effect *)Game::Spawn(); + pEVar11 = (Entity_Effect *)Game::Spawn(); random_float(); FUN_00435ed0(); - (**(code **)(*(int *)pEVar12 + 0x40))(); + (**(code **)(*(int *)pEVar11 + 0x40))(); Isaac::Random(0x78); - Entity_Effect::SetTimeout(pEVar12); + Entity_Effect::SetTimeout(pEVar11); } } } } - uVar5 = *(uint *)((int)this + 0x438); + uVar4 = *(uint *)((int)this + 0x438); if ((*(uint *)((int)this + 0x43c) & 0x4000) != 0) { if (*(EntityPtr *)((int)this + 0x3c4) == (EntityPtr)0x0) { uStack_3f4 = *(undefined4 *)((int)this + 0x43c); if (*(EntityPtr *)((int)this + 0x3c8) == (EntityPtr)0x0) { LAB_00657ca1: - if ((uVar5 & 0x80000000) != 0) goto LAB_00657cca; + if ((uVar4 & 0x80000000) != 0) goto LAB_00657cca; Game::GetNearestTargetPlayer(); } else { - cVar3 = Entity::HasEntityFlags(); - if (cVar3 == '\0') { + cVar2 = Entity::HasEntityFlags(); + if (cVar2 == '\0') { uStack_3f4 = *(undefined4 *)((int)this + 0x43c); - uVar5 = *(uint *)((int)this + 0x438); + uVar4 = *(uint *)((int)this + 0x438); goto LAB_00657ca1; } LAB_00657cca: @@ -317114,10 +317410,10 @@ LAB_00657cca: Entity::SetTarget((Entity *)this); } Random(); - pEStack_358 = (Entity *)Game::Spawn(); - pSVar22 = (Sprite *)Entity::GetSprite(pEStack_358); + pEStack_358 = (Entity_Effect *)Game::Spawn(); + pSVar21 = (Sprite *)Entity::GetSprite((Entity *)pEStack_358); Color::Color(); - Sprite::SetColor(pSVar22); + Sprite::SetColor(pSVar21); if (*(EntityPtr *)((int)this + 0x3c4) == (EntityPtr)0x0) { Vector::Normalized(); Vector::__unm(); @@ -317127,9 +317423,9 @@ LAB_00657cca: Vector::__sub(); Vector::Normalized(); } - pEVar10 = pEStack_358; - Entity::SetTargetPosition(pEStack_358); - (**(code **)(*(int *)pEVar10 + 0xc))(); + pEVar11 = pEStack_358; + Entity::SetTargetPosition((Entity *)pEStack_358); + (**(code **)(*(int *)pEVar11 + 0xc))(); } if ((*(uint *)((int)this + 0x43c) & 0x800000) != 0) { Vector::Normalized(); @@ -317137,47 +317433,47 @@ LAB_00657cca: play_sound_with_fart_seed(); Random(); pVStack_398 = (Vector *)((int)this + 0x33c); - piVar17 = (int *)Game::Spawn(); - (**(code **)(*piVar17 + 0xc))(); - pEStack_358 = (Entity *)0xfffffffe; + piVar16 = (int *)Game::Spawn(); + (**(code **)(*piVar16 + 0xc))(); + pEStack_358 = (Entity_Effect *)0xfffffffe; do { Random(); Vector::Rotated(); fStack_37c = 10.0; Vector::__mul(); - pEVar10 = (Entity *)Game::Spawn(); + pEVar9 = (Entity *)Game::Spawn(); this = (Entity_Projectile *)EStack_350; - Entity::SetTarget(pEVar10); - Entity::SetParent(pEVar10); - (**(code **)(*(int *)pEVar10 + 0x3c))(); - (**(code **)(*(int *)pEVar10 + 0xc))(); - pEStack_358 = (Entity *)((int)pEStack_358 + 1); + Entity::SetTarget(pEVar9); + Entity::SetParent(pEVar9); + (**(code **)(*(int *)pEVar9 + 0x3c))(); + (**(code **)(*(int *)pEVar9 + 0xc))(); + pEStack_358 = (Entity_Effect *)((int)pEStack_358 + 1); } while ((int)pEStack_358 < 3); } if (*(int *)((int)this + 0x2c) == 0xf) { Random(); - piVar17 = (int *)Game::Spawn(); - (**(code **)(*piVar17 + 0x3c))(); - (**(code **)(*piVar17 + 0xc))(); + piVar16 = (int *)Game::Spawn(); + (**(code **)(*piVar16 + 0x3c))(); + (**(code **)(*piVar16 + 0xc))(); this = (Entity_Projectile *)EStack_350; play_sound_with_fart_seed(); FUN_00557b50(); spawn_gibs(); } if (EStack_374 != (EntityPtr)0x0) { - pcVar26 = *(code **)(*(int *)EStack_374 + 0x3c); + pcVar25 = *(code **)(*(int *)EStack_374 + 0x3c); Sprite::Color((Sprite *)((int)this + 0x48)); - (*pcVar26)(); + (*pcVar25)(); if (*(int *)((int)this + 0x2c) == 3) { - pcVar26 = *(code **)(*(int *)EStack_374 + 0x3c); + pcVar25 = *(code **)(*(int *)EStack_374 + 0x3c); Color::Color(); } else { if (*(int *)((int)this + 0x2c) != 0xc) goto LAB_006580b1; - pcVar26 = *(code **)(*(int *)EStack_374 + 0x3c); + pcVar25 = *(code **)(*(int *)EStack_374 + 0x3c); Color::Color(); } - (*pcVar26)(); + (*pcVar25)(); } LAB_006580b1: (**(code **)(*(int *)this + 0x28))(); @@ -317197,19 +317493,19 @@ LAB_006580b1: if ((*(uint *)((int)this + 0x43c) & 4) != 0) { if ((*(EntityPtr *)((int)this + 0x3bc) != (EntityPtr)0x0) && ((((*(uint *)((int)this + 0x43c) & 1) == 0 || - (iVar7 = Entity::FrameCount((Entity *)this), iVar7 < 1)) || + (iVar6 = Entity::FrameCount((Entity *)this), iVar6 < 1)) || ((0 < *(int *)((int)this + 0x45c) && - (iVar7 = Entity::GetIntervalTicks((Entity *)this), iVar7 == 0)))))) { - pEStack_358 = (Entity *)((int)this + 0x360); + (iVar6 = Entity::GetIntervalTicks((Entity *)this), iVar6 == 0)))))) { + pEStack_358 = (Entity_Effect *)((int)this + 0x360); Vector::__add(); FUN_004172b0(); Vector::__sub(); - fVar28 = (float10)Vector::Length(); - EStack_360 = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Length(); + EStack_360 = (EntityPtr)(float)fVar27; if ((float)EStack_360 != 0.0) { Vector::__div(); - fVar28 = (float10)Vector::GetAngleDegrees(); - *(float *)((int)this + 0x428) = (float)fVar28; + fVar27 = (float10)Vector::GetAngleDegrees(); + *(float *)((int)this + 0x428) = (float)fVar27; Vector::operator__(); fStack_37c = (50.0 - (float)EStack_360) * 0.1; Vector::__mul(); @@ -317221,17 +317517,17 @@ LAB_006580b1: Vector::operator_assign(); this = (Entity_Projectile *)EStack_350; } - fVar34 = *(float *)((int)this + 0x410); + uVar28 = *(undefined4 *)((int)this + 0x410); Math::lerp(); - *(float *)((int)this + 0x410) = fVar34; - update_height_collision(); - cVar3 = Entity::IsFrame((Entity *)this); - if (cVar3 != '\0') { - pcVar26 = *(code **)(*(int *)this + 0x3c); + *(undefined4 *)((int)this + 0x410) = uVar28; + update_height_collision(this); + cVar2 = Entity::IsFrame((Entity *)this); + if (cVar2 != '\0') { + pcVar25 = *(code **)(*(int *)this + 0x3c); Color::Color(); Color::operator_assign((ColorMod *)((int)EStack_350 + 0x1b8)); FUN_004072e0(); - (*pcVar26)(); + (*pcVar25)(); } goto LAB_0065acd8; } @@ -317243,17 +317539,17 @@ LAB_006580b1: if (*(void **)((int)this + 0x470) != (code *)0x0) { (**(void **)((int)this + 0x470))(); } - uVar5 = *(uint *)((int)this + 0x43c); - uVar27 = *(uint *)((int)this + 0x438); - if ((uVar5 & 0x10000) == 0) { - if ((uVar27 & 1) != 0) { - cVar3 = Entity::IsFrame((Entity *)this); - if (cVar3 != '\0') { + uVar4 = *(uint *)((int)this + 0x43c); + uVar26 = *(uint *)((int)this + 0x438); + if ((uVar4 & 0x10000) == 0) { + if ((uVar26 & 1) != 0) { + cVar2 = Entity::IsFrame((Entity *)this); + if (cVar2 != '\0') { Entity::SetTarget((Entity *)this); } if (*(EntityPtr *)((int)this + 0x3c4) == (EntityPtr)0x0) { if (((*(EntityPtr *)((int)this + 0x3c8) == (EntityPtr)0x0) || - (cVar3 = Entity::HasEntityFlags(), cVar3 == '\0')) && + (cVar2 = Entity::HasEntityFlags(), cVar2 == '\0')) && ((*(uint *)((int)this + 0x438) & 0x80000000) == 0)) { Game::GetNearestTargetPlayer(); } @@ -317271,8 +317567,8 @@ LAB_00658602: Vector::__mul(); Vector::__add(); Vector::__sub(); - fVar28 = (float10)Vector::Length(); - fStack_3bc = (float)fVar28; + fVar27 = (float10)Vector::Length(); + fStack_3bc = (float)fVar27; if (fStack_3bc < 100.0) { Vector::__sub(); Vector::operator_assign(); @@ -317291,8 +317587,8 @@ LAB_00658602: } } Entity::GetColor((Entity *)this); - fVar28 = (float10)Color::R(); - fStack_3bc = (float)fVar28; + fVar27 = (float10)Color::R(); + fStack_3bc = (float)fVar27; if (fStack_3bc == 1.0) { Color::Color(); Color::SetColorize(); @@ -317303,17 +317599,17 @@ LAB_00658602: } else { if (*(EntityPtr *)((int)this + 0x3c4) == (EntityPtr)0x0) { - uStack_3a4 = uVar5; + uStack_3a4 = uVar4; if (*(EntityPtr *)((int)this + 0x3c8) == (EntityPtr)0x0) { LAB_00658433: - if ((uVar27 & 0x80000000) != 0) goto LAB_00658462; + if ((uVar26 & 0x80000000) != 0) goto LAB_00658462; Game::GetNearestTargetPlayer(); } else { - cVar3 = Entity::HasEntityFlags(); - if (cVar3 == '\0') { + cVar2 = Entity::HasEntityFlags(); + if (cVar2 == '\0') { uStack_3a4 = *(uint *)((int)this + 0x43c); - uVar27 = *(uint *)((int)this + 0x438); + uVar26 = *(uint *)((int)this + 0x438); goto LAB_00658433; } LAB_00658462: @@ -317327,44 +317623,44 @@ LAB_00658462: fStack_37c = 0.1; Vector::__mul(); Vector::__add(); - fVar28 = (float10)Vector::Length(); + fVar27 = (float10)Vector::Length(); fStack_3bc = 0.001; - pVStack_398 = (Vector *)(float)fVar28; + pVStack_398 = (Vector *)(float)fVar27; std::max(); Vector::Resized(); Vector::operator_assign(); } LAB_00658802: - uVar5 = *(uint *)((int)this + 0x438); + uVar4 = *(uint *)((int)this + 0x438); fStack_39c = *(float *)((int)this + 0x43c); - if (((uVar5 & 0x10) != 0) && (*(int *)((int)this + 0x34) != 0x11d)) { - pcVar26 = *(code **)(*(int *)this + 0x3c); + if (((uVar4 & 0x10) != 0) && (*(int *)((int)this + 0x34) != 0x11d)) { + pcVar25 = *(code **)(*(int *)this + 0x3c); Color::Color(); - (*pcVar26)(); + (*pcVar25)(); fStack_39c = *(float *)((int)this + 0x43c); - uVar5 = *(uint *)((int)this + 0x438); + uVar4 = *(uint *)((int)this + 0x438); } - if (((uVar5 & 0x400) != 0) && (cVar3 = Entity::IsFrame((Entity *)this), cVar3 != '\0')) { + if (((uVar4 & 0x400) != 0) && (cVar2 = Entity::IsFrame((Entity *)this), cVar2 != '\0')) { Random(); - pEVar12 = (Entity_Effect *)Game::Spawn(); + pEVar11 = (Entity_Effect *)Game::Spawn(); if (*(int *)((int)this + 0x34) != 0x10e) { - Entity_Effect::SetTimeout(pEVar12); + Entity_Effect::SetTimeout(pEVar11); } } if (((*(uint *)((int)this + 0x438) & 0x4000) != 0) && - (iVar7 = Entity::GetIntervalTicks((Entity *)this), iVar7 != 0)) { + (iVar6 = Entity::GetIntervalTicks((Entity *)this), iVar6 != 0)) { Random(); Game::Spawn(); - pEVar12 = (Entity_Effect *)__RTDynamicCast(); - (**(code **)(*(int *)pEVar12 + 0xc))(); - Entity_Effect::SetTimeout(pEVar12); + pEVar11 = (Entity_Effect *)__RTDynamicCast(); + (**(code **)(*(int *)pEVar11 + 0xc))(); + Entity_Effect::SetTimeout(pEVar11); } if ((*(uint *)((int)this + 0x438) & 0x40000000) == 0) goto LAB_00658b5a; Level::GetCurrentRoom((Level *)g_game); Room::ScreenWrapPosition(); Vector::operator_assign(); - cVar3 = Entity::IsFrame((Entity *)this); - if (cVar3 == '\0') goto LAB_00658b5a; + cVar2 = Entity::IsFrame((Entity *)this); + if (cVar2 == '\0') goto LAB_00658b5a; fVar34 = *(float *)((int)this + 0x3a4); Color::Color(); switch((int)(fVar34 * 0.5) % 9) { @@ -317407,10 +317703,10 @@ LAB_00658b5a: EStack_34c = (EntityPtr)0x3f000000; } else { - fVar28 = (float10)Vector::Length(); + fVar27 = (float10)Vector::Length(); puVar29 = &DAT_bf800000; EStack_34c = (EntityPtr) - (float)((float10)1 - fVar28 / (float10)*(float *)((int)this + 0x430)); + (float)((float10)1 - fVar27 / (float10)*(float *)((int)this + 0x430)); Math::clamp(); EStack_354 = (EntityPtr)((float)puVar29 * 0.5); } @@ -317435,18 +317731,18 @@ LAB_00658b5a: EStack_34c = (EntityPtr)0x3f000000; } else { - fVar28 = (float10)Vector::Length(); + fVar27 = (float10)Vector::Length(); puVar29 = &DAT_bf800000; EStack_34c = (EntityPtr) - (float)((float10)1 - fVar28 / (float10)*(float *)((int)this + 0x430)); + (float)((float10)1 - fVar27 / (float10)*(float *)((int)this + 0x430)); Math::clamp(); EStack_354 = (EntityPtr)((float)puVar29 * 0.5); } Vector::operator_mul_assign(); Vector::__add(); Vector::Normalized(); - fVar28 = (float10)Vector::Length(); - EStack_34c = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Length(); + EStack_34c = (EntityPtr)(float)fVar27; Vector::__mul(); Vector::operator_assign(); Entity::Velocity((Entity *)*(EntityPtr *)((int)this + 0x3bc)); @@ -317459,8 +317755,8 @@ LAB_00658b5a: } EStack_364 = (EntityPtr)((int)this + 0x360); if ((*(uint *)((int)this + 0x438) & 0xc0000) != 0) { - fVar28 = (float10)Vector::Length(); - EStack_374 = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Length(); + EStack_374 = (EntityPtr)(float)fVar27; Vector::Vector(); if ((*(uint *)((int)this + 0x438) & 0x40000) != 0) { Vector::__unm(); @@ -317474,33 +317770,33 @@ LAB_00658b5a: } EStack_364 = (EntityPtr)((int)this + 0x360); if ((*(uint *)((int)this + 0x438) & 0x100000) != 0) { - uVar5 = 0; - iVar7 = Game::GetNumPlayers(g_game); - if (0 < iVar7) { + uVar4 = 0; + iVar6 = Game::GetNumPlayers(g_game); + if (0 < iVar6) { do { - pEVar23 = Game::GetPlayer(g_game,uVar5); - Entity::Position((Entity *)pEVar23); + pEVar22 = Game::GetPlayer(g_game,uVar4); + Entity::Position((Entity *)pEVar22); Vector::__sub(); Vector::Vector(); Vector::Normalized(); - fVar28 = (float10)Vector::Dot(); - EStack_34c = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Dot(); + EStack_34c = (EntityPtr)(float)fVar27; if (((float)EStack_34c < 0.05) && (-0.4 < (float)EStack_34c)) { - pRVar21 = (Room *)Level::GetCurrentRoom((Level *)g_game); - pfVar24 = (float *)Room::GetTopLeftPos(pRVar21); - if (*pfVar24 - 120.0 < ((Vector *)((int)this + 0x33c))->x) { - pRVar21 = (Room *)Level::GetCurrentRoom((Level *)g_game); - pfVar24 = (float *)Room::GetBottomRightPos(pRVar21); - if (((Vector *)((int)this + 0x33c))->x <= *pfVar24 + 120.0 && - *pfVar24 + 120.0 != ((Vector *)((int)this + 0x33c))->x) { + pRVar20 = (Room *)Level::GetCurrentRoom((Level *)g_game); + pfVar23 = (float *)Room::GetTopLeftPos(pRVar20); + if (*pfVar23 - 120.0 < ((Vector *)((int)this + 0x33c))->x) { + pRVar20 = (Room *)Level::GetCurrentRoom((Level *)g_game); + pfVar23 = (float *)Room::GetBottomRightPos(pRVar20); + if (((Vector *)((int)this + 0x33c))->x <= *pfVar23 + 120.0 && + *pfVar23 + 120.0 != ((Vector *)((int)this + 0x33c))->x) { Vector::Vector(); - fVar28 = (float10)Vector::Length(); - EStack_34c = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Length(); + EStack_34c = (EntityPtr)(float)fVar27; Vector::__mul(); EStack_354 = (EntityPtr)0x40000000; Vector::__mul(); - fVar28 = (float10)Vector::Dot(); - EStack_34c = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Dot(); + EStack_34c = (EntityPtr)(float)fVar27; if ((float)EStack_34c <= 0.0) { Vector::__unm(); } @@ -317511,39 +317807,39 @@ LAB_00658b5a: } } } - uVar5 = uVar5 + 1; - iVar7 = Game::GetNumPlayers(g_game); - } while ((int)uVar5 < iVar7); + uVar4 = uVar4 + 1; + iVar6 = Game::GetNumPlayers(g_game); + } while ((int)uVar4 < iVar6); } } - uVar5 = *(uint *)((int)this + 0x43c); - uVar27 = *(uint *)((int)this + 0x438); - if ((uVar5 & 0x200) != 0) { + uVar4 = *(uint *)((int)this + 0x43c); + uVar26 = *(uint *)((int)this + 0x438); + if ((uVar4 & 0x200) != 0) { if (*(EntityPtr *)((int)this + 0x3c8) == (EntityPtr)0x0) { LAB_006592f6: Entity::Die((Entity *)this); - uVar27 = *(uint *)((int)this + 0x438); + uVar26 = *(uint *)((int)this + 0x438); *(uint *)((int)this + 0x43c) = *(uint *)((int)this + 0x43c) & 0xfffffdff; - *(uint *)((int)this + 0x438) = uVar27; + *(uint *)((int)this + 0x438) = uVar26; } else { Entity::TargetPosition(); - cVar3 = Vector::operator_ne(); - if (cVar3 == '\0') goto LAB_006592f6; + cVar2 = Vector::operator_ne(); + if (cVar2 == '\0') goto LAB_006592f6; Entity::Position((Entity *)*(EntityPtr *)((int)this + 0x3c8)); - puVar16 = (undefined4 *)Entity::TargetPosition((Entity *)*(EntityPtr *)((int)this + 0x3c8)); - uStack_394 = *puVar16; - uStack_390 = puVar16[1]; - fVar28 = (float10)Vector::Length(); - pVStack_384 = (Vector *)(float)fVar28; + puVar15 = (undefined4 *)Entity::TargetPosition((Entity *)*(EntityPtr *)((int)this + 0x3c8)); + uStack_394 = *puVar15; + uStack_390 = puVar15[1]; + fVar27 = (float10)Vector::Length(); + pVStack_384 = (Vector *)(float)fVar27; Vector::__div_assign(); Vector::__sub(); - fVar28 = (float10)Vector::Length(); - pEStack_358 = (Entity *)(float)fVar28; - fVar28 = (float10)Vector::Dot(); - EStack_34c = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Length(); + pEStack_358 = (Entity_Effect *)(float)fVar27; + fVar27 = (float10)Vector::Dot(); + EStack_34c = (EntityPtr)(float)fVar27; if ((float)EStack_34c < 0.0) { - pEStack_358 = (Entity *)((float)pEStack_358 * -1.0); + pEStack_358 = (Entity_Effect *)((float)pEStack_358 * -1.0); } Vector::Length(); if (((float)pEStack_358 < 0.0) || ((float)pVStack_384 < (float)pEStack_358)) @@ -317553,11 +317849,11 @@ LAB_006592f6: Vector::operator_assign(); Vector::operator_mul(); Vector::operator_assign(); - uVar27 = *(uint *)((int)this + 0x438); + uVar26 = *(uint *)((int)this + 0x438); } - uVar5 = *(uint *)((int)this + 0x43c); + uVar4 = *(uint *)((int)this + 0x43c); } - if ((uVar5 & 0x40000) != 0) { + if ((uVar4 & 0x40000) != 0) { RNG::game_constructor((RNG *)(auStack_cc + 0x30),*(int *)((int)this + 0x3ec),8); iStack_14 = 4; EStack_34c = (EntityPtr)RNG::RandomFloat((RNG *)(auStack_cc + 0x30)); @@ -317566,17 +317862,17 @@ LAB_006592f6: fStack_3d8 = *(float *)((int)this + 0x338); fStack_3dc = ((Vector *)((int)this + 0x334))->x; EStack_34c = (EntityPtr)(*(float *)((int)this + 0x3a4) / 100.0 + fVar34); - fVar28 = (float10)Vector::Length(); - EStack_360 = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Length(); + EStack_360 = (EntityPtr)(float)fVar27; Vector::__div_assign(); Vector::Rotated(); - fVar28 = (float10)Vector::Dot(); - fStack_3c4 = (float)fVar28; + fVar27 = (float10)Vector::Dot(); + fStack_3c4 = (float)fVar27; Vector::__mul(); Vector::__mul(); - EVar8 = (EntityPtr)(((float)EStack_34c + (float)EStack_34c) * 3.1415927); + EVar7 = (EntityPtr)(((float)EStack_34c + (float)EStack_34c) * 3.1415927); sinf_wrapper(); - EStack_354 = EVar8; + EStack_354 = EVar7; Vector::__mul(); if (fStack_3c4 < (float)EStack_360) { Vector::__mul(); @@ -317588,53 +317884,53 @@ LAB_006592f6: Vector::operator_assign(); iStack_14 = 0xffffffff; guard_check_icall(); - uVar27 = *(uint *)((int)this + 0x438); - uVar5 = *(uint *)((int)this + 0x43c); + uVar26 = *(uint *)((int)this + 0x438); + uVar4 = *(uint *)((int)this + 0x43c); } - if ((uVar27 & 0x200000) != 0) { + if ((uVar26 & 0x200000) != 0) { sinf_wrapper(); Vector::__mul(); Vector::operator_add_assign(); - uVar27 = *(uint *)((int)this + 0x438); - uVar5 = *(uint *)((int)this + 0x43c); + uVar26 = *(uint *)((int)this + 0x438); + uVar4 = *(uint *)((int)this + 0x43c); } EStack_364 = (EntityPtr)((int)this + 0x33c); - if ((uVar27 & 0x20) != 0) { + if ((uVar26 & 0x20) != 0) { Vector::Vector(); Vector::Normalize(); FUN_00417150(); Vector::__mul(); Vector::operator_add_assign(); - uVar27 = *(uint *)((int)this + 0x438); - uVar5 = *(uint *)((int)this + 0x43c); + uVar26 = *(uint *)((int)this + 0x438); + uVar4 = *(uint *)((int)this + 0x43c); } - uStack_3a4 = uVar5; - if ((uVar27 & 0x400000) != 0) { + uStack_3a4 = uVar4; + if ((uVar26 & 0x400000) != 0) { Vector::Vector(); Vector::Normalize(); EStack_34c = (EntityPtr)0x40800000; EStack_354 = (EntityPtr) (((float)*(int *)((int)this + 0x448) + *(float *)((int)this + 0x3a4)) * 0.04); - pfVar24 = (float *)std::min(); - EStack_34c = (EntityPtr)(*pfVar24 + 3.0); + pfVar23 = (float *)std::min(); + EStack_34c = (EntityPtr)(*pfVar23 + 3.0); FUN_00417150(); Vector::__mul(); Vector::operator_add_assign(); uStack_3a4 = *(uint *)((int)this + 0x43c); - uVar27 = *(uint *)((int)this + 0x438); + uVar26 = *(uint *)((int)this + 0x438); } - if ((uVar27 & 0x800000) != 0) { + if ((uVar26 & 0x800000) != 0) { fVar34 = 2.0; sqrtf(); EStack_34c = (EntityPtr)(fVar34 * 30.0); fVar34 = 2.0; sqrtf(); EStack_34c = (EntityPtr)(int)((float)EStack_34c / (fVar34 + 1.0)); - iVar7 = Entity::FrameCount((Entity *)this); - if ((iVar7 == 1) || - ((iVar7 = Entity::GetHitPointsLost((Entity *)this), 0 < iVar7 && - ((EVar8 = (EntityPtr)((int)*(float *)((int)this + 0x3a4) % 0x1e), EVar8 == EStack_34c || - (EVar8 == (EntityPtr)0x0)))))) { + iVar6 = Entity::FrameCount((Entity *)this); + if ((iVar6 == 1) || + ((iVar6 = Entity::GetHitPointsLost((Entity *)this), 0 < iVar6 && + ((EVar7 = (EntityPtr)((int)*(float *)((int)this + 0x3a4) % 0x1e), EVar7 == EStack_34c || + (EVar7 == (EntityPtr)0x0)))))) { Vector::Rotated(); Vector::operator_assign(); } @@ -317646,11 +317942,11 @@ LAB_006592f6: fVar34 = 2.0; sqrtf(); EStack_34c = (EntityPtr)(int)((float)EStack_34c / (fVar34 + 1.0)); - iVar7 = Entity::FrameCount((Entity *)this); - if ((iVar7 == 1) || - ((iVar7 = Entity::GetHitPointsLost((Entity *)this), 0 < iVar7 && - ((EVar8 = (EntityPtr)((int)*(float *)((int)this + 0x3a4) % 0xf), EVar8 == EStack_34c || - (EVar8 == (EntityPtr)0x0)))))) { + iVar6 = Entity::FrameCount((Entity *)this); + if ((iVar6 == 1) || + ((iVar6 = Entity::GetHitPointsLost((Entity *)this), 0 < iVar6 && + ((EVar7 = (EntityPtr)((int)*(float *)((int)this + 0x3a4) % 0xf), EVar7 == EStack_34c || + (EVar7 == (EntityPtr)0x0)))))) { Vector::Rotated(); Vector::operator_assign(); } @@ -317662,10 +317958,10 @@ LAB_006592f6: Vector::Length(); Vector::Resized(); Vector::operator_assign(); - fVar28 = (float10)Vector::LengthSquared(); - EStack_354 = (EntityPtr)(float)fVar28; - fVar28 = (float10)Vector::LengthSquared(); - EStack_34c = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::LengthSquared(); + EStack_354 = (EntityPtr)(float)fVar27; + fVar27 = (float10)Vector::LengthSquared(); + EStack_34c = (EntityPtr)(float)fVar27; if ((float)EStack_354 < (float)EStack_34c) { LAB_00653169: (**(code **)(*(int *)this + 0x28))(); @@ -317675,8 +317971,8 @@ LAB_00653169: } if ((*(uint *)((int)this + 0x43c) & 0x100000) != 0) { Vector::__sub(); - fVar28 = (float10)Vector::Length(); - EStack_35c = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Length(); + EStack_35c = (EntityPtr)(float)fVar27; if (10.0 <= (float)EStack_35c) { Vector::__div_assign(); Vector::__mul(); @@ -317694,8 +317990,8 @@ LAB_00653169: Math::timescale_factor(); Vector::operator_mul_assign(); if (*(int *)((int)this + 0x34) == 0x197) { - fVar28 = (float10)Vector::Length(); - EStack_34c = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Length(); + EStack_34c = (EntityPtr)(float)fVar27; if (9.0 < (float)EStack_34c) { fStack_40c = 9.0 / (float)EStack_34c; LAB_00659b08: @@ -317703,21 +317999,21 @@ LAB_00659b08: } } else if (*(int *)((int)this + 0x34) == 0x378) { - fVar28 = (float10)Vector::Length(); - fStack_40c = (float)fVar28; + fVar27 = (float10)Vector::Length(); + fStack_40c = (float)fVar27; if (10.0 < fStack_40c) goto LAB_00659b08; } } - uVar27 = *(uint *)((int)this + 0x438); - uVar5 = *(uint *)((int)this + 0x43c); - if ((uVar27 & 0x10000000) != 0) { + uVar26 = *(uint *)((int)this + 0x438); + uVar4 = *(uint *)((int)this + 0x43c); + if ((uVar26 & 0x10000000) != 0) { Math::timescale_factor(); Vector::operator_mul_assign(); - uVar27 = *(uint *)((int)this + 0x438); - uVar5 = *(uint *)((int)this + 0x43c); + uVar26 = *(uint *)((int)this + 0x438); + uVar4 = *(uint *)((int)this + 0x43c); } - uStack_3a4 = uVar5; - if ((uVar5 & 0x20) != 0) { + uStack_3a4 = uVar4; + if ((uVar4 & 0x20) != 0) { EStack_34c = (EntityPtr)(*(float *)((int)this + 0x3a4) / 20.0); EStack_354 = (EntityPtr)0x3f800000; std::min(); @@ -317726,40 +318022,40 @@ LAB_00659b08: Math::timescale_factor(); Vector::operator_mul_assign(); uStack_3a4 = *(uint *)((int)this + 0x43c); - uVar27 = *(uint *)((int)this + 0x438); + uVar26 = *(uint *)((int)this + 0x438); } - if ((((uVar27 & 0x20000000) != 0) && (20.0 < *(float *)((int)this + 0x3a4))) && - (((iVar7 = Entity::GetHitPointsLost((Entity *)this), 0 < iVar7 && - (iVar7 = Isaac::Random(0x1e), iVar7 == 0)) || (*(int *)((int)this + 0x34) == 0x3e)))) { + if ((((uVar26 & 0x20000000) != 0) && (20.0 < *(float *)((int)this + 0x3a4))) && + (((iVar6 = Entity::GetHitPointsLost((Entity *)this), 0 < iVar6 && + (iVar6 = Isaac::Random(0x1e), iVar6 == 0)) || (*(int *)((int)this + 0x34) == 0x3e)))) { Vector::Vector(); Vector::Vector(); fStack_2c = ((Vector *)((int)this + 0x360))->x; EStack_34c = (EntityPtr)aiStack_3c; fStack_28 = *(float *)((int)this + 0x364); - auStack_d8[0] = 0x40000; - auStack_d8[1] = 0x80000; - auStack_d8[2] = 0x200000; + RStack_dc._shift1 = 0x40000; + RStack_dc._shift2 = 0x80000; + RStack_dc._shift3 = 0x200000; EStack_364 = (EntityPtr)0x0; do { - EVar8 = EStack_34c; - fVar28 = (float10)Vector::LengthSquared(); - EStack_354 = (EntityPtr)(float)fVar28; - if (25.0 <= (float)fVar28) { - iStack_478 = *(int *)((int)EVar8 + 4); - piVar17 = &iStack_47c; - iStack_47c = *(int *)EVar8; + EVar7 = EStack_34c; + fVar27 = (float10)Vector::LengthSquared(); + EStack_354 = (EntityPtr)(float)fVar27; + if (25.0 <= (float)fVar27) { + iStack_478 = *(int *)((int)EVar7 + 4); + piVar16 = &iStack_47c; + iStack_47c = *(int *)EVar7; } else { iStack_410 = 0x3fcccccd; - piVar17 = (int *)Vector::__mul(); + piVar16 = (int *)Vector::__mul(); } - iStack_3a8 = *piVar17; - uStack_3a4 = piVar17[1]; + iStack_3a8 = *piVar16; + uStack_3a4 = piVar16[1]; Random(); Vector::__sub(); Game::Spawn(); - EVar8 = (EntityPtr)__RTDynamicCast(); - EStack_354 = EVar8; + EVar7 = (EntityPtr)__RTDynamicCast(); + EStack_354 = EVar7; FUN_004316b0(); FUN_004b7070(); pVStack_3d0 = (Vector *)(*(float *)((int)this + 0x410) * 0.6); @@ -317771,36 +318067,36 @@ LAB_00659b08: std::max(); FUN_004508a0(); if (1.0 < *(float *)((int)this + 0x420)) { - *(float *)((int)EVar8 + 0x418) = *(float *)((int)this + 0x418); + *(float *)((int)EVar7 + 0x418) = *(float *)((int)this + 0x418); random_float(); } else { *(uint *)((int)this + 0x438) = *(uint *)((int)this + 0x438) & 0xdfffffff; *(undefined4 *)((int)this + 0x43c) = *(undefined4 *)((int)this + 0x43c); - *(float *)((int)EVar8 + 0x418) = 0.1; - *(float *)((int)EVar8 + 0x414) = -3.0; + *(float *)((int)EVar7 + 0x418) = 0.1; + *(float *)((int)EVar7 + 0x414) = -3.0; } - uVar5 = *(uint *)((int)this + 0x438); - *(int *)((int)EVar8 + 0x43c) = *(int *)((int)this + 0x43c); - iVar7 = *(int *)EVar8; - *(uint *)&((BitSet128 *)((int)EVar8 + 0x438))->_l = - auStack_d8[(int)EStack_364] | uVar5 & 0xffd3ffff; - pcVar26 = *(code **)(iVar7 + 0x3c); + uVar4 = *(uint *)((int)this + 0x438); + *(int *)((int)EVar7 + 0x43c) = *(int *)((int)this + 0x43c); + iVar6 = *(int *)EVar7; + *(uint *)&((BitSet128 *)((int)EVar7 + 0x438))->_l = + *(uint *)(auStack_cc + (int)EStack_364 * 4 + -0xc) | uVar4 & 0xffd3ffff; + pcVar25 = *(code **)(iVar6 + 0x3c); Sprite::Color((Sprite *)((int)this + 0x48)); - (*pcVar26)(); - EVar8 = EStack_354; + (*pcVar25)(); + EVar7 = EStack_354; Entity::SetParent((Entity *)EStack_354); - (**(code **)(*(int *)EVar8 + 0xc))(); + (**(code **)(*(int *)EVar7 + 0xc))(); EStack_364 = (EntityPtr)((int)EStack_364 + 1); EStack_34c = (EntityPtr)((int)EStack_34c + 8); } while ((int)EStack_364 < 3); - pcVar26 = *(code **)(*(int *)this + 0x24); + pcVar25 = *(code **)(*(int *)this + 0x24); EntityRef::EntityRef(); - (*pcVar26)(); + (*pcVar25)(); } Game::GetPlayerManager(g_game); - cVar3 = PlayerManager::AnyoneHasCollectible(); - if (cVar3 == '\0') { + cVar2 = PlayerManager::AnyoneHasCollectible(); + if (cVar2 == '\0') { LAB_00659f8a: cStack_3bd = '\0'; } @@ -317808,9 +318104,9 @@ LAB_00659f8a: RNG::game_constructor(&RStack_dc,*(int *)((int)this + 0x3ec),0x2c); iStack_14 = 5; EStack_368 = (EntityPtr)0x1; - uVar5 = RNG::RandomInt(this_00,100); + uVar4 = RNG::RandomInt(this_00,100); cStack_3bd = '\x01'; - if (0x20 < uVar5) goto LAB_00659f8a; + if (0x20 < uVar4) goto LAB_00659f8a; } iStack_14 = 0xffffffff; if (((uint)EStack_368 & 1) != 0) { @@ -317818,36 +318114,36 @@ LAB_00659f8a: } if (cStack_3bd != '\0') { Level::GetCurrentRoom((Level *)g_game); - pEVar13 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar13); + pEVar12 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar12); iStack_14 = 6; - EVar8 = (EntityPtr)0x0; + EVar7 = (EntityPtr)0x0; EStack_34c = (EntityPtr)0x0; - iVar7 = EntityList::Size(); - if (iVar7 != 0) { + iVar6 = EntityList::Size(); + if (iVar6 != 0) { do { std::vector::operator_index(); EStack_368 = (EntityPtr)__RTDynamicCast(); - fVar28 = (float10)Entity_Laser::Radius((Entity_Laser *)EStack_368); - EStack_378 = (EntityPtr)(float)fVar28; + fVar27 = (float10)Entity_Laser::Radius((Entity_Laser *)EStack_368); + EStack_378 = (EntityPtr)(float)fVar27; Entity::Position((Entity *)EStack_368); - fVar28 = (float10)Vector::DistanceSquared(); - pVStack_3d0 = (Vector *)(float)fVar28; + fVar27 = (float10)Vector::DistanceSquared(); + pVStack_3d0 = (Vector *)(float)fVar27; if ((float)pVStack_3d0 < (float)EStack_378 * (float)EStack_378) { (**(code **)(*(int *)this + 0x28))(); - EVar8 = (EntityPtr)Entity::SpawnerEntity((Entity *)EStack_368); - EStack_360 = EVar8; - if (EVar8 == (EntityPtr)0x0) { + EVar7 = (EntityPtr)Entity::SpawnerEntity((Entity *)EStack_368); + EStack_360 = EVar7; + if (EVar7 == (EntityPtr)0x0) { LAB_0065a0e7: TearParams::constructor(aTStack_2e0); } else { - cVar3 = Entity::is_player((Entity *)EVar8); - if (cVar3 == '\0') { - EVar8 = (EntityPtr)0x0; + cVar2 = Entity::is_player((Entity *)EVar7); + if (cVar2 == '\0') { + EVar7 = (EntityPtr)0x0; } - EStack_360 = EVar8; - if (EVar8 == (EntityPtr)0x0) goto LAB_0065a0e7; + EStack_360 = EVar7; + if (EVar7 == (EntityPtr)0x0) goto LAB_0065a0e7; Isaac::Random(2); Entity_Player::GetTearHitParams(); } @@ -317866,12 +318162,12 @@ LAB_0065a0e7: (**(code **)(*(int *)this_01 + 0x3c))(); Entity::SetParent((Entity *)this_01); (**(code **)(*(int *)this_01 + 0xc))(); - EVar8 = EStack_34c; + EVar7 = EStack_34c; } - EVar8 = (EntityPtr)((int)EVar8 + 1); - EStack_34c = EVar8; - EVar14 = (EntityPtr)EntityList::Size(); - } while ((uint)EVar8 < (uint)EVar14); + EVar7 = (EntityPtr)((int)EVar7 + 1); + EStack_34c = EVar7; + EVar13 = (EntityPtr)EntityList::Size(); + } while ((uint)EVar7 < (uint)EVar13); } iStack_14 = 0xffffffff; EntityList_Query::~EntityList_Query(); @@ -317888,8 +318184,8 @@ LAB_0065a0e7: FUN_00431290(); FUN_004312b0(); EStack_378 = (EntityPtr)(fVar30 * 2.0); - fVar28 = (float10)Sprite::Rotation((Sprite *)((int)this + 0x48)); - EStack_378 = (EntityPtr)(float)(fVar28 + (float10)(float)EStack_378); + fVar27 = (float10)Sprite::Rotation((Sprite *)((int)this + 0x48)); + EStack_378 = (EntityPtr)(float)(fVar27 + (float10)(float)EStack_378); normalize_angle_degrees(); Sprite::SetRotation((Sprite *)((int)this + 0x48)); fVar34 = *(float *)((int)this + 0x410); @@ -317909,18 +318205,18 @@ LAB_0065a376: } Level::GetCurrentRoom((Level *)g_game); Room::GetClampedPositionImpl(); - cVar3 = Vector::operator_ne(); - if (cVar3 != '\0') { + cVar2 = Vector::operator_ne(); + if (cVar2 != '\0') { Vector::__sub(); - fVar28 = (float10)Vector::Dot(); - EStack_378 = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::Dot(); + EStack_378 = (EntityPtr)(float)fVar27; if ((float)EStack_378 < 0.0) { (**(code **)(*(int *)this + 0x28))(); } } Level::GetCurrentRoom((Level *)g_game); - cVar3 = Room::IsBeastDungeon(); - if (((cVar3 != '\0') && (iVar7 = Entity::FrameCount((Entity *)this), 2 < iVar7)) && + cVar2 = Room::IsBeastDungeon(); + if (((cVar2 != '\0') && (iVar6 = Entity::FrameCount((Entity *)this), 2 < iVar6)) && (fVar34 = *(float *)((int)this + 0x364), 0.0 < fVar34)) { Level::GetCurrentRoom((Level *)g_game); Room::get_lava_line_y(); @@ -317933,8 +318229,8 @@ LAB_0065a376: EStack_368 = (EntityPtr)0x43; } Random(); - piVar17 = (int *)Game::Spawn(); - (**(code **)(*piVar17 + 0xc))(); + piVar16 = (int *)Game::Spawn(); + (**(code **)(*piVar16 + 0xc))(); } else { *(byte *)((int)this + 0x173) = 1; @@ -317945,23 +318241,23 @@ LAB_0065a376: uStack_404 = *(undefined4 *)((int)this + 0x43c); if ((*(uint *)((int)this + 0x438) & 0x1000000) == 0) { if ((*(uint *)((int)this + 0x438) & 0x80000080) == 0x80000080) { - pRVar21 = (Room *)Level::GetCurrentRoom((Level *)g_game); - cVar3 = Room::HasSlowDown(pRVar21); - if (cVar3 != '\0') goto LAB_0065a5c5; + pRVar20 = (Room *)Level::GetCurrentRoom((Level *)g_game); + cVar2 = Room::HasSlowDown(pRVar20); + if (cVar2 != '\0') goto LAB_0065a5c5; } else if ((*(EntityPtr *)((int)this + 0x3bc) == (EntityPtr)0x0) || - (cVar3 = Entity::HasEntityFlags(), cVar3 == '\0')) { + (cVar2 = Entity::HasEntityFlags(), cVar2 == '\0')) { Level::GetCurrentRoom((Level *)g_game); - pTVar25 = (TemporaryEffects *)FUN_004360d0(); - bVar4 = TemporaryEffects::HasCollectibleEffect(pTVar25,0x42); - if (bVar4 == 0) { + pTVar24 = (TemporaryEffects *)FUN_004360d0(); + bVar3 = TemporaryEffects::HasCollectibleEffect(pTVar24,0x42); + if (bVar3 == 0) { Level::GetCurrentRoom((Level *)g_game); - pTVar25 = (TemporaryEffects *)FUN_004360d0(); - bVar4 = TemporaryEffects::HasCollectibleEffect(pTVar25,0xe8); - if (bVar4 == 0) { - pRVar21 = (Room *)Level::GetCurrentRoom((Level *)g_game); - uVar5 = Room::GetBrokenWatchState(pRVar21); - if (uVar5 != 1) goto LAB_0065a621; + pTVar24 = (TemporaryEffects *)FUN_004360d0(); + bVar3 = TemporaryEffects::HasCollectibleEffect(pTVar24,0xe8); + if (bVar3 == 0) { + pRVar20 = (Room *)Level::GetCurrentRoom((Level *)g_game); + uVar4 = Room::GetBrokenWatchState(pRVar20); + if (uVar4 != 1) goto LAB_0065a621; } } goto LAB_0065a5c5; @@ -317969,18 +318265,18 @@ LAB_0065a376: } else { LAB_0065a5c5: - EVar8 = EStack_350; - pcVar26 = *(code **)(*(int *)this + 0x3c); + EVar7 = EStack_350; + pcVar25 = *(code **)(*(int *)this + 0x3c); Color::Color(0x3f800000,0x28,0x28,0x28); FUN_004072e0(); - (*pcVar26)(); - this = (Entity_Projectile *)EVar8; + (*pcVar25)(); + this = (Entity_Projectile *)EVar7; } LAB_0065a621: if (((*(uint *)((int)this + 0x43c) & 2) != 0) && ((((*(int *)((int)this + 0x45c) < 1 || - (iVar7 = Entity::GetIntervalTicks((Entity *)this), iVar7 != 0)) && - (iVar7 = Entity::FrameCount((Entity *)this), 0 < iVar7)) && + (iVar6 = Entity::GetIntervalTicks((Entity *)this), iVar6 != 0)) && + (iVar6 = Entity::FrameCount((Entity *)this), 0 < iVar6)) && (Vector::Resize(), (*(uint *)((int)this + 0x454) & 3) != 3)))) { *(uint *)((int)this + 0x43c) = *(uint *)((int)this + 0x43c) & 0xfffffffd; *(undefined4 *)((int)this + 0x438) = *(undefined4 *)((int)this + 0x438); @@ -317989,12 +318285,12 @@ LAB_0065a621: Level::GetCurrentRoom((Level *)g_game); fStack_3a0 = ((Vector *)((int)this + 0x33c))->x; fStack_39c = *(float *)((int)this + 0x340); - iVar7 = Room::GetGridCollisionAtPos(); - if ((iVar7 == 2) || (iVar7 == 3)) { + iVar6 = Room::GetGridCollisionAtPos(); + if ((iVar6 == 2) || (iVar6 == 3)) { fVar34 = -50.0; } else { - if (iVar7 != 0) goto LAB_0065a73e; + if (iVar6 != 0) goto LAB_0065a73e; fVar34 = -5.0; } if ((fVar34 < *(float *)((int)this + 0x410)) && (2.0 < *(float *)((int)this + 0x414))) { @@ -318007,29 +318303,29 @@ LAB_0065a73e: pVStack_3d0 = (Vector *)((int)this + 0x33c); fStack_3dc = g_vectorZero.x; fStack_3d8 = g_vectorZero.y; - uVar5 = 0; + uVar4 = 0; iStack_410 = (uint)(*(float *)((int)this + 0x410) < -50.0) * 2 + 2; EStack_378 = (EntityPtr)((int)this + 0x178); - iVar7 = FUN_0042f160(); - if (iVar7 != 0) { + iVar6 = FUN_0042f160(); + if (iVar6 != 0) { do { std::vector::operator__(); Vector::__add(); Level::GetCurrentRoom((Level *)g_game); Room::GetGridCollisionAtPos(); Level::GetCurrentRoom((Level *)g_game); - iVar7 = Room::GetGridCollisionAtPos(); - if (iStack_410 <= iVar7) { + iVar6 = Room::GetGridCollisionAtPos(); + if (iStack_410 <= iVar6) { std::vector::operator__(); Vector::operator_add_assign(); } - uVar5 = uVar5 + 1; - uVar27 = FUN_0042f160(); - } while (uVar5 < uVar27); + uVar4 = uVar4 + 1; + uVar26 = FUN_0042f160(); + } while (uVar4 < uVar26); this = (Entity_Projectile *)EStack_350; } - cVar3 = Vector::operator_ne(); - if (cVar3 != '\0') { + cVar2 = Vector::operator_ne(); + if (cVar2 != '\0') { Vector::Normalize(); EStack_378 = (EntityPtr) (-fStack_3dc * ((Vector *)((int)this + 0x360))->x - @@ -318044,48 +318340,48 @@ LAB_0065a73e: } } if ((((*(uint *)((int)this + 0x43c) & 1) != 0) && - (iVar7 = Entity::FrameCount((Entity *)this), 0 < iVar7)) && + (iVar6 = Entity::FrameCount((Entity *)this), 0 < iVar6)) && ((*(int *)((int)this + 0x45c) < 1 || - (iVar7 = Entity::GetIntervalTicks((Entity *)this), iVar7 != 0)))) { - uVar1 = *(undefined4 *)((int)this + 0x438); - uVar2 = *(undefined4 *)((int)this + 0x43c); + (iVar6 = Entity::GetIntervalTicks((Entity *)this), iVar6 != 0)))) { + uVar28 = *(undefined4 *)((int)this + 0x438); + uVar1 = *(undefined4 *)((int)this + 0x43c); *(undefined4 *)((int)this + 0x438) = *(undefined4 *)((int)this + 0x450); *(undefined4 *)((int)this + 0x43c) = *(undefined4 *)((int)this + 0x454); - *(undefined4 *)((int)this + 0x450) = uVar1; - *(undefined4 *)((int)this + 0x454) = uVar2; + *(undefined4 *)((int)this + 0x450) = uVar28; + *(undefined4 *)((int)this + 0x454) = uVar1; } - update_height_collision(); - iVar7 = Entity::GetHitPointsLost((Entity *)this); - if ((0 < iVar7) && (iVar7 = Isaac::Random(3), iVar7 == 0)) { + update_height_collision(this); + iVar6 = Entity::GetHitPointsLost((Entity *)this); + if ((0 < iVar6) && (iVar6 = Isaac::Random(3), iVar6 == 0)) { Game::GetPlayerManager(g_game); - cVar3 = PlayerManager::AnyoneHasCollectible(); - if (cVar3 != '\0') { - uVar5 = 0; + cVar2 = PlayerManager::AnyoneHasCollectible(); + if (cVar2 != '\0') { + uVar4 = 0; EStack_360 = (EntityPtr)0x4e6e6b28; EStack_34c = (EntityPtr)0x0; - iVar7 = Game::GetNumPlayers(g_game); - if (iVar7 != 0) { + iVar6 = Game::GetNumPlayers(g_game); + if (iVar6 != 0) { do { - EStack_368 = (EntityPtr)Game::GetPlayer(g_game,uVar5); - bVar4 = Entity_Player::HasCollectible((Entity_Player *)EStack_368,0x14f,0); - if (bVar4 != 0) { + EStack_368 = (EntityPtr)Game::GetPlayer(g_game,uVar4); + bVar3 = Entity_Player::HasCollectible((Entity_Player *)EStack_368,0x14f,0); + if (bVar3 != 0) { Entity::Position((Entity *)EStack_368); - fVar28 = (float10)Vector::DistanceSquared(); - EStack_378 = (EntityPtr)(float)fVar28; + fVar27 = (float10)Vector::DistanceSquared(); + EStack_378 = (EntityPtr)(float)fVar27; if ((float)EStack_378 < (float)EStack_360) { EStack_34c = EStack_368; EStack_360 = EStack_378; } } - uVar5 = uVar5 + 1; - uVar27 = Game::GetNumPlayers(g_game); - EVar8 = EStack_34c; - } while (uVar5 < uVar27); + uVar4 = uVar4 + 1; + uVar26 = Game::GetNumPlayers(g_game); + EVar7 = EStack_34c; + } while (uVar4 < uVar26); if ((EStack_34c != (EntityPtr)0x0) && ((float)EStack_360 < 6400.0)) { - EVar14 = EStack_360; + EVar13 = EStack_360; sqrtf(); - EStack_378 = EVar14; - Entity::Position((Entity *)EVar8); + EStack_378 = EVar13; + Entity::Position((Entity *)EVar7); Vector::__sub(); random_float(); Vector::Resized(); @@ -318095,35 +318391,35 @@ LAB_0065a73e: } } if ((-5.0 < *(float *)((int)this + 0x410)) || - ((*(byte *)((int)this + 400) != 0 && (-50.0 <= *(float *)((int)this + 0x410))))) { - *(byte *)((int)this + 0x173) = 1; + ((*(char *)((int)this + 400) != '\0' && (-50.0 <= *(float *)((int)this + 0x410))))) { + *(undefined1 *)((int)this + 0x173) = 1; } Game::GetPlayerManager(g_game); - cVar3 = PlayerManager::AnyoneHasCollectible(); - if (cVar3 != '\0') { + cVar2 = PlayerManager::AnyoneHasCollectible(); + if (cVar2 != '\0') { Game::GetPlayerManager(g_game); vector_iterate_noop(); iStack_478 = 0x32; - piVar17 = (int *)std::max(); - iVar7 = Isaac::Random(*piVar17); - if ((iVar7 == 0) && (*(byte *)((int)this + 0x173) == 0)) { + piVar16 = (int *)std::max(); + iVar6 = Isaac::Random(*piVar16); + if ((iVar6 == 0) && (*(char *)((int)this + 0x173) == '\0')) { Vector::operator_assign(); Entity::AddEntityFlags(); Vector::operator_assign(); } } if ((*(uint *)((int)this + 0x43c) & 0x2000000) != 0) { - *(int *)((int)this + 0x188) = 0; - pSVar22 = (Sprite *)((int)this + 0x48); - pFVar9 = (Font *)Sprite::Color(pSVar22); - Sprite::Color(pSVar22); - fVar28 = (float10)Color::A(); - pfStack_3c8 = (float *)(float)(fVar28 - (float10)(*pfStack_3c8 * 0.1)); - Font::SetLineHeightModifier(pFVar9); - Sprite::Color(pSVar22); - fVar28 = (float10)Color::A(); + *(undefined4 *)((int)this + 0x188) = 0; + pSVar21 = (Sprite *)((int)this + 0x48); + pFVar8 = (Font *)Sprite::Color(pSVar21); + Sprite::Color(pSVar21); + fVar27 = (float10)Color::A(); + pfStack_3c8 = (float *)(float)(fVar27 - (float10)(*pfStack_3c8 * 0.1)); + Font::SetLineHeightModifier(pFVar8); + Sprite::Color(pSVar21); + fVar27 = (float10)Color::A(); this = (Entity_Projectile *)EStack_350; - pfStack_3c8 = (float *)(float)fVar28; + pfStack_3c8 = (float *)(float)fVar27; if ((float)pfStack_3c8 <= 0.0) { (**(code **)(*(int *)EStack_350 + 0x28))(); } @@ -318188,7 +318484,7 @@ void reroll_entity_to_free_tile(int param_1) uint local_c4; uint local_c0; undefined4 local_b8; - int iStack_b4; + void *pvStack_b4; int local_b0; int local_ac; int local_a8; @@ -318357,13 +318653,14 @@ LAB_0065b0bc: iStack_74 = pEVar8->_variant; iVar11 = pEVar8->_type; iStack_78 = iVar11; - std::map::find(&iStack_b4,&iStack_78); - if (iStack_b4 == *(int *)&pGVar9->field_0x67780) { + std::map::find(&pvStack_b4,&iStack_78); + if (pvStack_b4 == (pGVar9->_proceduralItemManager)._spawnTriggerTargets._head) { aiStack_70[1] = 0xffffffff; aiStack_70[0] = iVar11; piVar13 = (int *)std::map::find(auStack_58,aiStack_70); - iStack_b4 = *piVar13; - if (iStack_b4 == *(int *)&pGVar9->field_0x67780) goto LAB_0065b313; + pvStack_b4 = (void *)*piVar13; + if (pvStack_b4 == (pGVar9->_proceduralItemManager)._spawnTriggerTargets._head) + goto LAB_0065b313; } uVar14 = 0; pPVar16 = &g_game->_playerManager; @@ -318498,39 +318795,38 @@ void TearParams::copy(undefined4 *param_1) (+0x188) and _entityGridCollisionClass (+0x184) by ProjectileFlags (+0x438/+0x43c); fixed height -5.1 in room type 16 (crawlspace); called twice from Entity_Projectile::Update */ -void Entity_Projectile::update_height_collision(void) +void __thiscall Entity_Projectile::update_height_collision(Entity_Projectile *this) { float fVar1; int *piVar2; Game *pGVar3; - undefined4 uVar4; - int in_ECX; + int iVar4; float fVar5; pGVar3 = g_game; - fVar1 = *(float *)(in_ECX + 0x410); + fVar1 = this->_height; if (*(int *)((int)g_game->_room + 8) == 0x10) { - *(undefined4 *)(in_ECX + 0x350) = 0xc1700000; + (this->_posOffset).y = -15.0; if (-5.1 < fVar1) { - *(undefined4 *)(in_ECX + 0x410) = 0xc0a33333; + this->_height = -5.1; } - *(undefined4 *)(in_ECX + 0x188) = 4; - if (((*(uint *)(in_ECX + 0x438) & 0x40003810) == 0 && (*(uint *)(in_ECX + 0x43c) & 0x400) == 0) - || ((*(uint *)(in_ECX + 0x438) & 2) != 0)) { - uVar4 = 4; + this->_entityCollisionClass = 4; + if (((this->_projectileFlags & 0x40003810) == 0 && (this->_projectileFlags & 0x40000000000) == 0 + ) || ((this->_projectileFlags & 2) != 0)) { + iVar4 = 4; } else { - uVar4 = 0; + iVar4 = 0; } - *(undefined4 *)(in_ECX + 0x184) = uVar4; + this->_entityGridCollisionClass = iVar4; piVar2 = *(int **)(*(int *)((int)pGVar3->_room + 4) + 0x10); if (((piVar2 != (int *)0x0) && (piVar2[2] == 0x10)) && (*piVar2 == 0x23)) { - *(undefined4 *)(in_ECX + 0x184) = 0; + this->_entityGridCollisionClass = 0; } } else { - if (0.0 < *(float *)(in_ECX + 0x418) || *(float *)(in_ECX + 0x418) == 0.0) { + if (0.0 < this->_fallingAccel || this->_fallingAccel == 0.0) { fVar5 = fVar1; } else { @@ -318540,23 +318836,23 @@ void Entity_Projectile::update_height_collision(void) } fVar5 = (fVar1 * 0.5 - 15.0) + fVar5 * fVar5; } - *(float *)(in_ECX + 0x350) = fVar5; + (this->_posOffset).y = fVar5; if (-50.0 <= fVar1) { - *(undefined4 *)(in_ECX + 0x188) = 4; - if ((*(uint *)(in_ECX + 0x438) & 0x40003810) == 0 && (*(uint *)(in_ECX + 0x43c) & 0x400) == 0) - { - *(undefined4 *)(in_ECX + 0x184) = 4; + this->_entityCollisionClass = 4; + if ((this->_projectileFlags & 0x40003810) == 0 && + (this->_projectileFlags & 0x40000000000) == 0) { + this->_entityGridCollisionClass = 4; } else { - *(undefined4 *)(in_ECX + 0x184) = 0; + this->_entityGridCollisionClass = 0; } } - else if ((*(uint *)(in_ECX + 0x438) & 0x20000) == 0) { - *(undefined4 *)(in_ECX + 0x188) = 0; + else if ((this->_projectileFlags & 0x20000) == 0) { + this->_entityCollisionClass = 0; } } - if ((*(uint *)(in_ECX + 0x168) & 0x20) != 0) { - *(undefined4 *)(in_ECX + 0x188) = 0; + if ((this->_flags & 0x20) != 0) { + this->_entityCollisionClass = 0; } return; } @@ -318599,11 +318895,7 @@ Entity_Projectile::HandleCollision(Entity_Projectile *this,Entity *collider,byte code *pcStack_50; float fStack_4c; Entity_Player *local_48; - undefined1 auStack_44 [24]; - float fStack_2c; - float fStack_28; - uint uStack_24; - Entity_Projectile *pEStack_20; + EntityRef EStack_44; undefined4 uStack_1c; uint local_c; @@ -318641,15 +318933,15 @@ Entity_Projectile::HandleCollision(Entity_Projectile *this,Entity *collider,byte return bVar8; } if (iVar9 == 0xf5) { - auStack_44._16_4_ = (this->_pos).x; - auStack_44._20_4_ = (this->_pos).y; + EStack_44._position.x = (this->_pos).x; + EStack_44._position.y = (this->_pos).y; pEStack_54 = *(Entity_Projectile **)(*(int *)collider + 0x20); - auStack_44._0_4_ = this->_type; - auStack_44._4_4_ = this->_variant; - auStack_44._8_4_ = this->_spawnerType; - auStack_44._12_4_ = this->_spawnerVariant; - fStack_2c = (this->_velocity).x; - fStack_28 = (this->_velocity).y; + EStack_44._type = this->_type; + EStack_44._variant = this->_variant; + EStack_44._spawnerType = this->_spawnerType; + EStack_44._spawnerVariant = this->_spawnerVariant; + EStack_44._velocity.x = (this->_velocity).x; + EStack_44._velocity.y = (this->_velocity).y; if ((this->_flags & 0x20000000) == 0) { uVar14 = 0; } @@ -318662,10 +318954,10 @@ Entity_Projectile::HandleCollision(Entity_Projectile *this,Entity *collider,byte else { uVar11 = 4; } - uStack_24 = uVar11 | uVar14 | (uint)((this->_flags & 0x100) != 0); + EStack_44._flags = uVar11 | uVar14 | (uint)((this->_flags & 0x100) != 0); bVar8 = 0; - pEStack_20 = this; - (*(code *)pEStack_54)(0x3f800000,0x40,0,auStack_44); + EStack_44._entity = this; + (*(code *)pEStack_54)(0x3f800000,0x40,0,&EStack_44); this->_dead = 1; return bVar8; } @@ -318690,14 +318982,14 @@ Entity_Projectile::HandleCollision(Entity_Projectile *this,Entity *collider,byte if (cVar7 == '\0') { return 1; } - auStack_44._4_4_ = collider->_variant; - auStack_44._16_4_ = (collider->_pos).x; - auStack_44._20_4_ = (collider->_pos).y; - auStack_44._8_4_ = collider->_spawnerType; - auStack_44._12_4_ = collider->_spawnerVariant; - fStack_2c = (collider->_velocity).x; - fStack_28 = (collider->_velocity).y; - auStack_44._0_4_ = 1; + EStack_44._variant = collider->_variant; + EStack_44._position.x = (collider->_pos).x; + EStack_44._position.y = (collider->_pos).y; + EStack_44._spawnerType = collider->_spawnerType; + EStack_44._spawnerVariant = collider->_spawnerVariant; + EStack_44._velocity.x = (collider->_velocity).x; + EStack_44._velocity.y = (collider->_velocity).y; + EStack_44._type = 1; if ((collider->_flags & 0x20000000) == 0) { uVar14 = 0; } @@ -318710,9 +319002,9 @@ Entity_Projectile::HandleCollision(Entity_Projectile *this,Entity *collider,byte else { uVar11 = 4; } - pEStack_20 = (Entity_Projectile *)collider; - uStack_24 = uVar11 | uVar14 | (uint)((collider->_flags & 0x100) != 0); - cVar7 = Entity::IsDamageSourceFriendly((Entity *)EVar3,auStack_44); + EStack_44._entity = collider; + EStack_44._flags = uVar11 | uVar14 | (uint)((collider->_flags & 0x100) != 0); + cVar7 = Entity::IsDamageSourceFriendly((Entity *)EVar3,&EStack_44); if (cVar7 != '\0') { return 1; } @@ -318769,15 +319061,15 @@ Entity_Projectile::HandleCollision(Entity_Projectile *this,Entity *collider,byte bVar8 = Entity_Player::HasCollectible(this_00,0xf2,0); if ((bVar8 == 0) || (iVar9 = Isaac::Random((uint)(1 < iVar9) * 2 + 2), pMVar6 = g_manager, iVar9 != 0)) { - auStack_44._16_4_ = (this->_pos).x; - auStack_44._20_4_ = (this->_pos).y; + EStack_44._position.x = (this->_pos).x; + EStack_44._position.y = (this->_pos).y; pcStack_50 = *(code **)(*(int *)this_00 + 0x20); - auStack_44._0_4_ = this->_type; - auStack_44._4_4_ = this->_variant; - auStack_44._8_4_ = this->_spawnerType; - auStack_44._12_4_ = this->_spawnerVariant; - fStack_2c = (this->_velocity).x; - fStack_28 = (this->_velocity).y; + EStack_44._type = this->_type; + EStack_44._variant = this->_variant; + EStack_44._spawnerType = this->_spawnerType; + EStack_44._spawnerVariant = this->_spawnerVariant; + EStack_44._velocity.x = (this->_velocity).x; + EStack_44._velocity.y = (this->_velocity).y; if ((this->_flags & 0x20000000) == 0) { uVar14 = 0; } @@ -318790,25 +319082,25 @@ Entity_Projectile::HandleCollision(Entity_Projectile *this,Entity *collider,byte else { uVar11 = 4; } - uStack_24 = uVar11 | uVar14 | (uint)((this->_flags & 0x100) != 0); - pEStack_20 = this; - cVar7 = (*pcStack_50)(this->_collisionDamage,pcStack_58,0,auStack_44,0x1e); + EStack_44._flags = uVar11 | uVar14 | (uint)((this->_flags & 0x100) != 0); + EStack_44._entity = this; + cVar7 = (*pcStack_50)(this->_collisionDamage,pcStack_58,0,&EStack_44,0x1e); } else { seed_fart_sound_override(); SoundEffects::Play(&pMVar6->_sfxManager,0x35f,1.0,2,0,1.0,0.0); - uStack_24 = 0x3e808081; - auStack_44._16_4_ = 0.0; - auStack_44._20_4_ = 0.0; - fStack_2c = 0.0; - fStack_28 = 0.0; - auStack_44._0_4_ = 0x3f800000; - auStack_44._4_4_ = 0x3f800000; - auStack_44._8_4_ = 0x3f800000; - auStack_44._12_4_ = 0x3f800000; - pEStack_20 = (Entity_Projectile *)0x3e808081; + EStack_44._flags = 0x3e808081; + EStack_44._position.x = 0.0; + EStack_44._position.y = 0.0; + EStack_44._velocity.x = 0.0; + EStack_44._velocity.y = 0.0; + EStack_44._type = 0x3f800000; + EStack_44._variant = 0x3f800000; + EStack_44._spawnerType = 0x3f800000; + EStack_44._spawnerVariant = 0x3f800000; + EStack_44._entity = (Entity_Projectile *)0x3e808081; uStack_1c = 0x3f008081; - (**(code **)(*(int *)this_00 + 0x3c))(auStack_44,0xf,0xff,1,1); + (**(code **)(*(int *)this_00 + 0x3c))(&EStack_44,0xf,0xff,1,1); } LAB_0065bd53: uVar14 = (uint)this->_projectileFlags; @@ -318850,18 +319142,18 @@ LAB_0065bd53: } if ((uVar11 & 0x80000) != 0) { this_00->_controlsCooldown = 0x1e; - auStack_44._16_4_ = 0.0; - auStack_44._20_4_ = 0.0; - fStack_2c = 0.0; - fStack_28 = 0.0; - auStack_44._0_4_ = 0x3f19999a; - auStack_44._4_4_ = 0x3f19999a; - auStack_44._8_4_ = 0x3f19999a; - auStack_44._12_4_ = 0x3f800000; - uStack_24 = 0x3ecccccd; - pEStack_20 = (void *)0x3ecccccd; + EStack_44._position.x = 0.0; + EStack_44._position.y = 0.0; + EStack_44._velocity.x = 0.0; + EStack_44._velocity.y = 0.0; + EStack_44._type = 0x3f19999a; + EStack_44._variant = 0x3f19999a; + EStack_44._spawnerType = 0x3f19999a; + EStack_44._spawnerVariant = 0x3f800000; + EStack_44._flags = 0x3ecccccd; + EStack_44._entity = (void *)0x3ecccccd; uStack_1c = 0x3ecccccd; - (**(code **)(*(int *)this_00 + 0x3c))(auStack_44,0x1e,0xffffffff,1,1); + (**(code **)(*(int *)this_00 + 0x3c))(&EStack_44,0x1e,0xffffffff,1,1); } if (this->_dead == 0) { return 1; @@ -318913,18 +319205,18 @@ LAB_0065c185: if ((qVar5 & 2) != 0) { return bVar16; } - auStack_44._4_4_ = this->_variant; + EStack_44._variant = this->_variant; pcStack_58 = *(code **)(*(int *)collider + 0x20); uVar14 = (uint)this->_flags; - if (auStack_44._4_4_ == 8) { - auStack_44._0_4_ = this->_type; - auStack_44._16_4_ = (this->_pos).x; - auStack_44._20_4_ = (this->_pos).y; - auStack_44._8_4_ = this->_spawnerType; - fStack_2c = (this->_velocity).x; - fStack_28 = (this->_velocity).y; - auStack_44._12_4_ = this->_spawnerVariant; - auStack_44._4_4_ = 8; + if (EStack_44._variant == 8) { + EStack_44._type = this->_type; + EStack_44._position.x = (this->_pos).x; + EStack_44._position.y = (this->_pos).y; + EStack_44._spawnerType = this->_spawnerType; + EStack_44._velocity.x = (this->_velocity).x; + EStack_44._velocity.y = (this->_velocity).y; + EStack_44._spawnerVariant = this->_spawnerVariant; + EStack_44._variant = 8; if ((uVar14 & 0x20000000) == 0) { uVar11 = 0; } @@ -318937,17 +319229,17 @@ LAB_0065c185: else { uVar13 = 4; } - uStack_24 = uVar13 | uVar11 | (uint)((uVar14 & 0x100) != 0); + EStack_44._flags = uVar13 | uVar11 | (uint)((uVar14 & 0x100) != 0); fVar17 = 35.0; } else { - auStack_44._0_4_ = this->_type; - auStack_44._16_4_ = (pEStack_54->_pos).x; - auStack_44._20_4_ = (pEStack_54->_pos).y; - auStack_44._8_4_ = pEStack_54->_spawnerType; - fStack_2c = (pEStack_54->_velocity).x; - fStack_28 = (pEStack_54->_velocity).y; - auStack_44._12_4_ = pEStack_54->_spawnerVariant; + EStack_44._type = this->_type; + EStack_44._position.x = (pEStack_54->_pos).x; + EStack_44._position.y = (pEStack_54->_pos).y; + EStack_44._spawnerType = pEStack_54->_spawnerType; + EStack_44._velocity.x = (pEStack_54->_velocity).x; + EStack_44._velocity.y = (pEStack_54->_velocity).y; + EStack_44._spawnerVariant = pEStack_54->_spawnerVariant; if ((uVar14 & 0x20000000) == 0) { uVar11 = 0; } @@ -318961,22 +319253,22 @@ LAB_0065c185: uVar13 = 4; } fVar17 = pEStack_54->_collisionDamage + 5.0; - uStack_24 = uVar13 | uVar11 | (uint)((uVar14 & 0x100) != 0); + EStack_44._flags = uVar13 | uVar11 | (uint)((uVar14 & 0x100) != 0); this = pEStack_54; } - pEStack_20 = this; - (*pcStack_58)(fVar17,0,0,auStack_44,0x1e); + EStack_44._entity = this; + (*pcStack_58)(fVar17,0,0,&EStack_44,0x1e); if ((this->_projectileFlags & 0x8000000000000) == 0) { return bVar16; } - auStack_44._0_4_ = this->_type; - auStack_44._16_4_ = (this->_pos).x; - auStack_44._20_4_ = (this->_pos).y; - auStack_44._4_4_ = this->_variant; - auStack_44._8_4_ = this->_spawnerType; - auStack_44._12_4_ = this->_spawnerVariant; - fStack_2c = (this->_velocity).x; - fStack_28 = (this->_velocity).y; + EStack_44._type = this->_type; + EStack_44._position.x = (this->_pos).x; + EStack_44._position.y = (this->_pos).y; + EStack_44._variant = this->_variant; + EStack_44._spawnerType = this->_spawnerType; + EStack_44._spawnerVariant = this->_spawnerVariant; + EStack_44._velocity.x = (this->_velocity).x; + EStack_44._velocity.y = (this->_velocity).y; if ((this->_flags & 0x20000000) == 0) { uVar14 = 0; } @@ -318989,9 +319281,9 @@ LAB_0065c185: else { uVar11 = 4; } - uStack_24 = uVar11 | uVar14 | (uint)((this->_flags & 0x100) != 0); - pEStack_20 = this; - Entity::AddFreeze(collider,(EntityRef *)auStack_44,0x5a,0); + EStack_44._flags = uVar11 | uVar14 | (uint)((this->_flags & 0x100) != 0); + EStack_44._entity = this; + Entity::AddFreeze(collider,&EStack_44,0x5a,0); return bVar16; } uVar14 = Entity::GetHitListIndex((Entity *)this->_parent); @@ -319043,15 +319335,15 @@ LAB_0065c079: if (((this->_projectileFlags & 2) != 0) || (bVar4)) { return bVar16; } - auStack_44._16_4_ = (this->_pos).x; - auStack_44._20_4_ = (this->_pos).y; + EStack_44._position.x = (this->_pos).x; + EStack_44._position.y = (this->_pos).y; uStack_64 = CONCAT44(uStack_64._4_4_,*(code **)(*(int *)collider + 0x20)); - auStack_44._0_4_ = this->_type; - auStack_44._4_4_ = this->_variant; - auStack_44._8_4_ = this->_spawnerType; - auStack_44._12_4_ = this->_spawnerVariant; - fStack_2c = (this->_velocity).x; - fStack_28 = (this->_velocity).y; + EStack_44._type = this->_type; + EStack_44._variant = this->_variant; + EStack_44._spawnerType = this->_spawnerType; + EStack_44._spawnerVariant = this->_spawnerVariant; + EStack_44._velocity.x = (this->_velocity).x; + EStack_44._velocity.y = (this->_velocity).y; if ((this->_flags & 0x20000000) == 0) { uVar14 = 0; } @@ -319064,10 +319356,10 @@ LAB_0065c079: else { uVar11 = 4; } - uStack_24 = uVar11 | uVar14 | (uint)((this->_flags & 0x100) != 0); + EStack_44._flags = uVar11 | uVar14 | (uint)((this->_flags & 0x100) != 0); bVar8 = 0; - pEStack_20 = this; - (**(code **)(*(int *)collider + 0x20))(this->_collisionDamage,0,0,auStack_44); + EStack_44._entity = this; + (**(code **)(*(int *)collider + 0x20))(this->_collisionDamage,0,0,&EStack_44); return bVar8; } @@ -319896,184 +320188,187 @@ LAB_0065d8c2: void __thiscall Entity_Slot::Update(Entity_Slot *this) { - short *psVar1; - code *pcVar2; + RNG *pRVar1; + short *psVar2; + code *pcVar3; PersistentGameData *this_00; - Game *pGVar3; - Manager *pMVar4; - byte bVar5; - char cVar6; - undefined1 uVar7; - undefined2 uVar8; - uint uVar9; - undefined4 uVar10; - byte *pbVar11; - uint uVar12; - undefined4 uVar13; - int *piVar14; - int iVar15; - void *pvVar16; - ItemPool *pIVar17; + Game *pGVar4; + Manager *pMVar5; + byte bVar6; + char cVar7; + undefined1 uVar8; + undefined2 uVar9; + uint uVar10; + undefined4 uVar11; + byte *pbVar12; + uint uVar13; + undefined4 uVar14; + int *piVar15; + int iVar16; + void *pvVar17; + ItemPool *pIVar18; ItemPool *this_01; - int iVar18; - Entity_Pickup *pEVar19; - Level *pLVar20; - RNG *pRVar21; + int iVar19; + Entity_Pickup *pEVar20; + Level *pLVar21; + undefined4 *puVar22; RNG *this_02; - RNG RVar22; Entity *pEVar23; RNG *this_03; - Room *this_04; - AnimationState *pAVar24; - undefined2 *puVar25; - Entity_Effect *pEVar26; - short sVar27; - char *pcVar28; - Entity_Slot *pEVar29; - EntityPtr EVar30; - bool bVar31; - float fVar32; - RNG RVar33; + Room *pRVar24; + AnimationState *pAVar25; + undefined2 *puVar26; + Entity_Effect *pEVar27; + short sVar28; + char *pcVar29; + ANM2 *pAVar30; + Entity_Slot *pEVar31; + EntityPtr EVar32; + bool bVar33; float fVar34; - float *pfVar35; - undefined4 uVar36; - TypeDescriptor *pTVar37; - RNG RVar38; + Room *pRVar35; + float fVar36; + float *pfVar37; + undefined4 uVar38; TypeDescriptor *pTVar39; + ANM2 *pAVar40; + TypeDescriptor *pTVar41; byte unk2; - undefined4 uVar40; - Vector *pVVar41; + undefined4 uVar42; + Vector *pVVar43; undefined1 local_110 [8]; undefined1 local_108 [8]; undefined1 local_100 [8]; undefined1 local_f8 [4]; undefined4 local_f4; float local_f0; - RNG local_ec; + ANM2 *local_ec; undefined1 local_e8 [4]; - RNG local_e4; + ANM2 *local_e4; undefined1 local_e0 [4]; EntityPtr local_dc; undefined1 local_d8 [4]; float local_d4; float local_d0; - RNG local_cc; + ANM2 *local_cc; float local_c8; - RNG local_c4; + ANM2 *local_c4; undefined1 local_c0 [4]; - RNG local_bc; + Room *local_bc; float local_b8; - RNG local_b4; + ANM2 *local_b4; undefined1 local_b0 [4]; - RNG local_ac; + ANM2 *local_ac; undefined1 local_a8 [4]; - RNG local_a4; + ANM2 *local_a4; float local_a0; - RNG local_9c [2]; + ANM2 *local_9c [2]; Entity_Slot *local_94; undefined1 local_90 [52]; - RNG local_5c [14]; + int local_5c [6]; + RNG RStack_44; + RNG local_34; uint local_24; - RNG *pRStack_20; + undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; - RNG local_14; + int local_14; - pRStack_20 = local_5c + 0x16; - local_14 = (RNG)0xffffffff; + puStack_20 = (undefined1 *)(local_5c + 0x16); + local_14 = 0xffffffff; puStack_18 = &LAB_00af768c; local_1c = ExceptionList; - uVar9 = __security_cookie ^ (uint)(local_5c + 0x13); + uVar10 = __security_cookie ^ (uint)(local_5c + 0x13); ExceptionList = &local_1c; - local_ac = (RNG)0x0; - local_e4 = (RNG)0x0; - iVar15 = this->_variant; + local_ac = (ANM2 *)0x0; + local_e4 = (ANM2 *)0x0; + iVar16 = this->_variant; local_94 = this; - local_24 = uVar9; - pRVar21 = local_5c + 0x16; - if (iVar15 == 0x10) { - pRVar21 = local_5c + 0x16; + local_24 = uVar10; + piVar15 = local_5c + 0x16; + if (iVar16 == 0x10) { + piVar15 = local_5c + 0x16; if ((*(int *)&this[1].field_0x4 != 3) && - (pRVar21 = local_5c + 0x16, this[1]._sprite._championColor._colorize[2] == 0.0)) { - uVar10 = ItemPool::GetCollectible(&g_game->_itemPool,0x17,this->_dropRNG,0,0x206,0); - SetPrizeType(this,uVar10); - iVar15 = this->_variant; - pRVar21 = pRStack_20; + (piVar15 = local_5c + 0x16, this[1]._sprite._championColor._colorize[2] == 0.0)) { + uVar11 = ItemPool::GetCollectible(&g_game->_itemPool,0x17,(this->_dropRNG)._seed,0,0x206,0); + SetPrizeType(this,uVar11); + iVar16 = this->_variant; + piVar15 = (int *)puStack_20; goto LAB_0065d9f6; } } else { LAB_0065d9f6: - pRStack_20 = pRVar21; - pRVar21 = pRStack_20; - if (((iVar15 == 0xc) && (1 < g_game->_frameCount - this->_spawnFrame)) && + puStack_20 = (undefined1 *)piVar15; + piVar15 = (int *)puStack_20; + if (((iVar16 == 0xc) && (1 < g_game->_frameCount - this->_spawnFrame)) && (this->_visible = 1, (this->_sprite)._animState._animData != (void *)0x0)) { - bVar5 = AnimationState::IsEventTriggered(&(this->_sprite)._animState,(byte *)"Ground"); - pMVar4 = g_manager; - pRVar21 = pRStack_20; - if (bVar5 != 0) { - local_cc = (RNG)0x15; + bVar6 = AnimationState::IsEventTriggered(&(this->_sprite)._animState,(byte *)"Ground"); + pMVar5 = g_manager; + piVar15 = (int *)puStack_20; + if (bVar6 != 0) { + local_cc = (ANM2 *)0x15; seed_fart_sound_override(); - SoundEffects::Play(&pMVar4->_sfxManager,(int)local_cc,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar5->_sfxManager,(int)local_cc,1.0,2,0,1.0,0.0); this = local_94; - pRVar21 = pRStack_20; + piVar15 = (int *)puStack_20; } } } - pRStack_20 = pRVar21; - uVar12 = (uint)this->_flags; - uVar10 = *(undefined4 *)((int)&this->_flags + 4); - if ((uVar12 & 4) != 0) { + puStack_20 = (undefined1 *)piVar15; + uVar13 = (uint)this->_flags; + uVar11 = *(undefined4 *)((int)&this->_flags + 4); + if ((uVar13 & 4) != 0) { *(undefined4 *)&this[1].field_0x4 = 0; *(undefined2 *)&this[1]._damageEvents._capacity = 0; - iVar15 = this->_variant; - *(uint *)&this->_flags = uVar12 & 0xfffffffb; - *(undefined4 *)((int)&this->_flags + 4) = uVar10; - if (iVar15 == 0xb) { + iVar16 = this->_variant; + *(uint *)&this->_flags = uVar13 & 0xfffffffb; + *(undefined4 *)((int)&this->_flags + 4) = uVar11; + if (iVar16 == 0xb) { ANM2::Play(&this->_sprite,(byte *)"Appear",0); this->_visible = 1; } } if (*(int *)&this[1].field_0x4 == 0) { if ((this->_sprite)._animState._animData == (void *)0x0) { - pbVar11 = &s_empty; + pbVar12 = &s_empty; } else { - pbVar11 = (byte *)std::string::c_str(); + pbVar12 = (byte *)std::string::c_str(); } - pcVar28 = "Appear"; + pcVar29 = "Appear"; do { - bVar5 = *pbVar11; - bVar31 = bVar5 < (byte)*pcVar28; - if (bVar5 != *pcVar28) { + bVar6 = *pbVar12; + bVar33 = bVar6 < (byte)*pcVar29; + if (bVar6 != *pcVar29) { LAB_0065db20: - uVar12 = -(uint)bVar31 | 1; + uVar13 = -(uint)bVar33 | 1; goto LAB_0065db25; } - if (bVar5 == 0) break; - bVar5 = pbVar11[1]; - bVar31 = bVar5 < (byte)pcVar28[1]; - if (bVar5 != pcVar28[1]) goto LAB_0065db20; - pbVar11 = pbVar11 + 2; - pcVar28 = pcVar28 + 2; - } while (bVar5 != 0); - uVar12 = 0; + if (bVar6 == 0) break; + bVar6 = pbVar12[1]; + bVar33 = bVar6 < (byte)pcVar29[1]; + if (bVar6 != pcVar29[1]) goto LAB_0065db20; + pbVar12 = pbVar12 + 2; + pcVar29 = pcVar29 + 2; + } while (bVar6 != 0); + uVar13 = 0; LAB_0065db25: - if (uVar12 != 0) { - sVar27 = *(short *)&this[1]._damageEvents._capacity; - if (sVar27 == 0) { - iVar15 = this->_variant; - uVar10 = 3; - if ((((iVar15 == 4) || (iVar15 == 5)) || - ((iVar15 == 7 || ((iVar15 == 9 || (iVar15 == 0xd)))))) || (iVar15 == 0x12)) { - uVar10 = 2; + if (uVar13 != 0) { + sVar28 = *(short *)&this[1]._damageEvents._capacity; + if (sVar28 == 0) { + iVar16 = this->_variant; + uVar11 = 3; + if ((((iVar16 == 4) || (iVar16 == 5)) || + ((iVar16 == 7 || ((iVar16 == 9 || (iVar16 == 0xd)))))) || (iVar16 == 0x12)) { + uVar11 = 2; } - uVar13 = Random(uVar9); - Game::Spawn(1000,0xf,&this->_pos,&g_vectorZero,0,uVar10,uVar13); - sVar27 = *(short *)&this[1]._damageEvents._capacity; + uVar14 = Random(uVar10); + Game::Spawn(1000,0xf,&this->_pos,&g_vectorZero,0,uVar11,uVar14); + sVar28 = *(short *)&this[1]._damageEvents._capacity; } - *(short *)&this[1]._damageEvents._capacity = sVar27 + 1; - if ((short)(sVar27 + 1) < 3) { + *(short *)&this[1]._damageEvents._capacity = sVar28 + 1; + if ((short)(sVar28 + 1) < 3) { ExceptionList = local_1c; return; } @@ -320086,60 +320381,60 @@ LAB_0065db25: AnimationState::Update(); AnimationState::Update(); } - cVar6 = ANM2::IsFinishedImpl(&this->_sprite,&s_empty); - if (cVar6 == '\0') { + cVar7 = ANM2::IsFinishedImpl(&this->_sprite,&s_empty); + if (cVar7 == '\0') { ExceptionList = local_1c; return; } - fVar32 = this[1]._sprite._championColor._offset[0]; + fVar34 = this[1]._sprite._championColor._offset[0]; *(undefined4 *)&this[1].field_0x4 = 1; - iVar15 = *(int *)((int)fVar32 + 0x488); + iVar16 = *(int *)((int)fVar34 + 0x488); ANM2::SetFrame(&this->_sprite,(std_string *)"Prize",0); if ((this->_sprite)._animState._animData == (void *)0x0) { ExceptionList = local_1c; return; } - AnimationState::SetLayerFrame(&(this->_sprite)._animState,1,(iVar15 / 100) % 10); + AnimationState::SetLayerFrame(&(this->_sprite)._animState,1,(iVar16 / 100) % 10); if ((this->_sprite)._animState._animData == (void *)0x0) { ExceptionList = local_1c; return; } - AnimationState::SetLayerFrame(&(this->_sprite)._animState,2,(iVar15 / 10) % 10); + AnimationState::SetLayerFrame(&(this->_sprite)._animState,2,(iVar16 / 10) % 10); if ((this->_sprite)._animState._animData == (void *)0x0) { ExceptionList = local_1c; return; } - AnimationState::SetLayerFrame(&(this->_sprite)._animState,3,iVar15 % 10); + AnimationState::SetLayerFrame(&(this->_sprite)._animState,3,iVar16 % 10); ExceptionList = local_1c; return; } - local_c4 = (RNG)0x3f266666; + local_c4 = (ANM2 *)0x3f266666; if ((this->_variant == 0x12) && (g_game->_frameCount - this->_spawnFrame == 1)) { - uVar10 = Random(uVar9); - piVar14 = (int *)Game::Spawn(1000,7,&this->_pos,&g_vectorZero,0,0,uVar10); - iVar15 = Random(); - pcVar2 = *(code **)(*piVar14 + 0x3c); - fVar34 = (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * + uVar11 = Random(uVar10); + piVar15 = (int *)Game::Spawn(1000,7,&this->_pos,&g_vectorZero,0,0,uVar11); + iVar16 = Random(); + pcVar3 = *(code **)(*piVar15 + 0x3c); + fVar36 = (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * 2.3283064e-10 * 0.4 + 0.2; - fVar32 = fVar34 * g_vectorOne.x; - piVar14[0x3a] = (int)(fVar34 * g_vectorOne.y); - piVar14[0x39] = (int)fVar32; + fVar34 = fVar36 * g_vectorOne.x; + piVar15[0x3a] = (int)(fVar36 * g_vectorOne.y); + piVar15[0x39] = (int)fVar34; Color::Reset(); Color::SetTint(0x3f333333,0x3f666666,0x3f266666,0x3f800000); - (*pcVar2)(local_90,0xffffffff,0xff,0,1); - (**(code **)(*piVar14 + 0xc))(); + (*pcVar3)(local_90,0xffffffff,0xff,0,1); + (**(code **)(*piVar15 + 0xc))(); Color::Reset(); - uVar9 = Random(); + uVar10 = Random(); this = local_94; - Game::SpawnParticles(&local_94->_pos,0x3f,uVar9 % 3 + 1,0x40000000,local_90,0x47c35000,0); + Game::SpawnParticles(&local_94->_pos,0x3f,uVar10 % 3 + 1,0x40000000,local_90,0x47c35000,0); } local_dc = this->_target; if (local_dc == (EntityPtr)0x0) { local_dc = (EntityPtr)PlayerManager::GetPlayer(&g_game->_playerManager,0); } - EVar30 = local_dc; - local_cc = (RNG)Entity_Player::GetTrinketRNG((Entity_Player *)local_dc,0x16); - local_e4 = (RNG)Entity_Player::GetCollectibleRNG((Entity_Player *)EVar30,0x2e); + EVar32 = local_dc; + local_cc = (ANM2 *)Entity_Player::GetTrinketRNG((Entity_Player *)local_dc,0x16); + local_e4 = (ANM2 *)Entity_Player::GetCollectibleRNG((Entity_Player *)EVar32,0x2e); if (((this->_targetPosition).x == g_vectorZero.x) && ((this->_targetPosition).y == g_vectorZero.y) ) { (this->_targetPosition).x = (this->_pos).x; @@ -320147,875 +320442,876 @@ LAB_0065db25: (this->_velocity).x = g_vectorZero.x; (this->_velocity).y = g_vectorZero.y; } - pEVar29 = this; - if ((((*(int *)&this[1].field_0x4 == 3) && (iVar15 = this->_variant, iVar15 != 6)) && - (iVar15 != 0xf)) && ((iVar15 != 8 && (iVar15 != 0xb)))) { - RVar33 = (RNG)(this->_friction * 0.8); - this->_friction = (float)RVar33; + pEVar31 = this; + if ((((*(int *)&this[1].field_0x4 == 3) && (iVar16 = this->_variant, iVar16 != 6)) && + (iVar16 != 0xf)) && ((iVar16 != 8 && (iVar16 != 0xb)))) { + pRVar35 = (Room *)(this->_friction * 0.8); + this->_friction = (float)pRVar35; LAB_0065df30: this->_entityGridCollisionClass = 5; if (this->_variant == 10) { - iVar15 = (int)this[1]._pendingDamageFlags; - if ((iVar15 != 0) && - (iVar15 = iVar15 + -1, *(int *)&this[1]._pendingDamageFlags = iVar15, iVar15 == 0)) { + iVar16 = (int)this[1]._pendingDamageFlags; + if ((iVar16 != 0) && + (iVar16 = iVar16 + -1, *(int *)&this[1]._pendingDamageFlags = iVar16, iVar16 == 0)) { Room::ShopRestockFull(g_game->_room); } goto LAB_0065df69; } } else { - fVar32 = (this->_targetPosition).x; - fVar34 = (this->_pos).x; + fVar34 = (this->_targetPosition).x; + fVar36 = (this->_pos).x; (this->_velocity).y = (this->_targetPosition).y - (this->_pos).y; - (this->_velocity).x = fVar32 - fVar34; - iVar15 = *(int *)&this[1].field_0x4; - RVar33 = (RNG)(this->_friction * 0.8); - this->_friction = (float)RVar33; - if (iVar15 == 3) goto LAB_0065df30; + (this->_velocity).x = fVar34 - fVar36; + iVar16 = *(int *)&this[1].field_0x4; + pRVar35 = (Room *)(this->_friction * 0.8); + this->_friction = (float)pRVar35; + if (iVar16 == 3) goto LAB_0065df30; LAB_0065df69: if ((this->_variant == 10) && - (cVar6 = ANM2::IsFinishedImpl(&this->_sprite,"WiggleEnd"), cVar6 != '\0')) { + (cVar7 = ANM2::IsFinishedImpl(&this->_sprite,"WiggleEnd"), cVar7 != '\0')) { Room::ShopRestockFull(g_game->_room); this[1]._pendingDamage = 0.0; ANM2::Play(&this->_sprite,s_Idle,0); *(int *)&this[1]._pendingDamageFlags = (int)this[1]._pendingDamageFlags + 1; if (4 < (uint)this[1]._pendingDamageFlags) { RNG::Next(&this->_dropRNG); - pEVar29 = local_94; - if (((uint)this->_dropRNG & 1) == 0) { + pEVar31 = local_94; + if (((this->_dropRNG)._seed & 1U) == 0) { *(undefined4 *)&local_94[1]._pendingDamageFlags = 0; - uVar10 = Random(); - Game::Spawn(1000,1,&pEVar29->_pos,&g_vectorZero,0,0,uVar10); - spawn_break_drops(pEVar29); - *(undefined4 *)&pEVar29[1].field_0x4 = 3; - ANM2::Play(&pEVar29->_sprite,(byte *)"Death",0); + uVar11 = Random(); + Game::Spawn(1000,1,&pEVar31->_pos,&g_vectorZero,0,0,uVar11); + spawn_break_drops(pEVar31); + *(undefined4 *)&pEVar31[1].field_0x4 = 3; + ANM2::Play(&pEVar31->_sprite,(byte *)"Death",0); } } } } - local_bc = (RNG)&DAT_00000005; - if (((pEVar29->_variant == 9) && (uVar9 = (uint)pEVar29[1]._pendingDamageFlags, uVar9 != 0)) && - (*(uint *)&pEVar29[1]._pendingDamageFlags = uVar9 - 1, uVar9 % 5 == 0)) { + local_bc = (Room *)&DAT_00000005; + if (((pEVar31->_variant == 9) && (uVar10 = (uint)pEVar31[1]._pendingDamageFlags, uVar10 != 0)) && + (*(uint *)&pEVar31[1]._pendingDamageFlags = uVar10 - 1, uVar10 % 5 == 0)) { Room::get_random_pickup_position(g_game->_room,&local_a0,0,0); - local_bc = (RNG)g_game->_room; - uVar9 = Room::GetGridIndex((Room *)local_bc,&local_a0); - if ((uVar9 < 0x1c0) && (((int *)((int)local_bc + 0x76c))[uVar9] < 0x3b7)) { - ((int *)((int)local_bc + 0x76c))[uVar9] = 900; + local_bc = g_game->_room; + uVar10 = Room::GetGridIndex(local_bc,&local_a0); + if ((uVar10 < 0x1c0) && (local_bc->_gridPaths[uVar10] < 0x3b7)) { + local_bc->_gridPaths[uVar10] = 900; } - uVar10 = Random(); - Game::Spawn(4,3,&local_a0,&g_vectorZero,pEVar29,0,uVar10); + uVar11 = Random(); + Game::Spawn(4,3,&local_a0,&g_vectorZero,pEVar31,0,uVar11); } - sVar27 = *(short *)&pEVar29[1]._damageEvents._capacity; - if (0 < sVar27) { - sVar27 = sVar27 + -1; - *(short *)&pEVar29[1]._damageEvents._capacity = sVar27; - if (((sVar27 == 0) && (*(int *)&pEVar29[1].field_0x4 == 2)) && (pEVar29->_variant == 1)) { - ANM2::Play(&pEVar29->_sprite,(byte *)"WiggleEnd",0); - sVar27 = *(short *)&pEVar29[1]._damageEvents._capacity; + sVar28 = *(short *)&pEVar31[1]._damageEvents._capacity; + if (0 < sVar28) { + sVar28 = sVar28 + -1; + *(short *)&pEVar31[1]._damageEvents._capacity = sVar28; + if (((sVar28 == 0) && (*(int *)&pEVar31[1].field_0x4 == 2)) && (pEVar31->_variant == 1)) { + ANM2::Play(&pEVar31->_sprite,(byte *)"WiggleEnd",0); + sVar28 = *(short *)&pEVar31[1]._damageEvents._capacity; } } - local_bc = (RNG)0xa; - local_a4 = (RNG)&DAT_0000000f; - if (sVar27 == 0) { - cVar6 = ANM2::IsFinishedImpl(&pEVar29->_sprite,"WiggleEnd"); - if ((cVar6 != '\0') && (pEVar29->_variant == 1)) { - ANM2::SetFrame(&pEVar29->_sprite,(std_string *)"Prize",0); - RNG::Next(&pEVar29->_dropRNG); - if ((uint)pEVar29->_dropRNG % 0x32 == 0) { - uVar10 = Random(); - Game::Spawn(1000,1,&pEVar29->_pos,&g_vectorZero,0,0,uVar10); - spawn_break_drops(pEVar29); - *(undefined4 *)&pEVar29[1].field_0x4 = 3; - ANM2::Play(&pEVar29->_sprite,(byte *)"Death",0); + local_bc = (Room *)0xa; + local_a4 = (ANM2 *)&DAT_0000000f; + if (sVar28 == 0) { + cVar7 = ANM2::IsFinishedImpl(&pEVar31->_sprite,"WiggleEnd"); + if ((cVar7 != '\0') && (pEVar31->_variant == 1)) { + ANM2::SetFrame(&pEVar31->_sprite,(std_string *)"Prize",0); + RNG::Next(&pEVar31->_dropRNG); + if ((uint)(pEVar31->_dropRNG)._seed % 0x32 == 0) { + uVar11 = Random(); + Game::Spawn(1000,1,&pEVar31->_pos,&g_vectorZero,0,0,uVar11); + spawn_break_drops(pEVar31); + *(undefined4 *)&pEVar31[1].field_0x4 = 3; + ANM2::Play(&pEVar31->_sprite,(byte *)"Death",0); } else { - pEVar29[1]._damageEvents._begin = (void *)0x0; - bVar5 = Entity_Player::HasCollectible((Entity_Player *)EVar30,0x2e,0); - if ((bVar5 == 0) && - ((bVar5 = Entity_Player::HasTrinket((Entity_Player *)EVar30,0x4c,0), bVar5 == 0 || - (RNG::Next(&pEVar29->_dropRNG), ((uint)pEVar29->_dropRNG & 3) != 0)))) { - RNG::Next(&pEVar29->_dropRNG); - local_a4 = (RNG)0x15; - uVar9 = (uint)pEVar29->_dropRNG % 0x15; + pEVar31[1]._damageEvents._begin = (void *)0x0; + bVar6 = Entity_Player::HasCollectible((Entity_Player *)EVar32,0x2e,0); + if ((bVar6 == 0) && + ((bVar6 = Entity_Player::HasTrinket((Entity_Player *)EVar32,0x4c,0), bVar6 == 0 || + (RNG::Next(&pEVar31->_dropRNG), ((pEVar31->_dropRNG)._seed & 3U) != 0)))) { + RNG::Next(&pEVar31->_dropRNG); + local_a4 = (ANM2 *)0x15; + uVar10 = (uint)(pEVar31->_dropRNG)._seed % 0x15; } else { - RNG::Next(&pEVar29->_dropRNG); - uVar9 = (uint)pEVar29->_dropRNG % (uint)local_a4; + RNG::Next(&pEVar31->_dropRNG); + uVar10 = (uint)(pEVar31->_dropRNG)._seed % (uint)local_a4; } - pvVar16 = (void *)(uVar9 + 3); - pEVar29[1]._damageEvents._begin = pvVar16; - if (pvVar16 == (void *)0x9) { - RNG::Next(&pEVar29->_dropRNG); - if ((uint)pEVar29->_dropRNG % (uint)local_bc < 3) { - pvVar16 = pEVar29[1]._damageEvents._begin; + pvVar17 = (void *)(uVar10 + 3); + pEVar31[1]._damageEvents._begin = pvVar17; + if (pvVar17 == (void *)0x9) { + RNG::Next(&pEVar31->_dropRNG); + if ((uint)(pEVar31->_dropRNG)._seed % (uint)local_bc < 3) { + pvVar17 = pEVar31[1]._damageEvents._begin; goto LAB_0065e2a5; } LAB_0065e2c8: - pEVar29[1]._damageEvents._begin = (void *)0xb; + pEVar31[1]._damageEvents._begin = (void *)0xb; } else { LAB_0065e2a5: - bVar31 = false; - if (pvVar16 == (void *)0xa) { - RNG::Next(&pEVar29->_dropRNG); - if (4 < (uint)pEVar29->_dropRNG % (uint)local_bc) goto LAB_0065e2c8; - pvVar16 = pEVar29[1]._damageEvents._begin; - bVar31 = pvVar16 == (void *)0xa; + bVar33 = false; + if (pvVar17 == (void *)0xa) { + RNG::Next(&pEVar31->_dropRNG); + if (4 < (uint)(pEVar31->_dropRNG)._seed % (uint)local_bc) goto LAB_0065e2c8; + pvVar17 = pEVar31[1]._damageEvents._begin; + bVar33 = pvVar17 == (void *)0xa; } - if (((void *)0x9 < pvVar16 && !bVar31) && - (RNG::Next(&pEVar29->_dropRNG), (uint)pEVar29->_dropRNG % (uint)local_bc != 0)) { - pEVar29[1]._damageEvents._begin = (void *)((int)pEVar29[1]._damageEvents._begin + 1); + if (((void *)0x9 < pvVar17 && !bVar33) && + (RNG::Next(&pEVar31->_dropRNG), (uint)(pEVar31->_dropRNG)._seed % (uint)local_bc != 0)) + { + pEVar31[1]._damageEvents._begin = (void *)((int)pEVar31[1]._damageEvents._begin + 1); } } - if ((pEVar29[1]._damageEvents._begin == (void *)0x7) && - (RNG::Next(&pEVar29->_dropRNG), (uint)pEVar29->_dropRNG % 3 == 0)) { - pEVar29[1]._damageEvents._begin = (void *)0xb; + if ((pEVar31[1]._damageEvents._begin == (void *)0x7) && + (RNG::Next(&pEVar31->_dropRNG), (uint)(pEVar31->_dropRNG)._seed % 3 == 0)) { + pEVar31[1]._damageEvents._begin = (void *)0xb; } - pvVar16 = pEVar29[1]._damageEvents._begin; - if ((((pvVar16 == (void *)0x6) || (pvVar16 == (void *)0x5)) && - (bVar5 = Entity_Player::HasTrinket((Entity_Player *)EVar30,0x16,0), bVar5 != 0)) && - (RNG::Next((RNG *)local_cc), (uint)*(RNG *)local_cc % 5 != 0)) { - pEVar29[1]._damageEvents._begin = (void *)0xb; + pvVar17 = pEVar31[1]._damageEvents._begin; + if ((((pvVar17 == (void *)0x6) || (pvVar17 == (void *)0x5)) && + (bVar6 = Entity_Player::HasTrinket((Entity_Player *)EVar32,0x16,0), bVar6 != 0)) && + (RNG::Next((RNG *)local_cc), *(uint *)(local_cc->_filename)._buf % 5 != 0)) { + pEVar31[1]._damageEvents._begin = (void *)0xb; } if ((g_game->_difficulty == 1) && - (RNG::Next(&pEVar29->_dropRNG), ((uint)pEVar29->_dropRNG & 1) == 0)) { - pEVar29[1]._damageEvents._begin = (void *)0x0; + (RNG::Next(&pEVar31->_dropRNG), ((pEVar31->_dropRNG)._seed & 1U) == 0)) { + pEVar31[1]._damageEvents._begin = (void *)0x0; } if (1 < *(int *)&g_game->_deathmatchManager) { - if ((pEVar29[1]._damageEvents._begin == (void *)0x9) && - (cVar6 = (**(code **)(*(int *)(g_game->_deathmatchManager)._type + 0x30))(0x12), - cVar6 != '\0')) { - pEVar29[1]._damageEvents._begin = (void *)0xb; + if ((pEVar31[1]._damageEvents._begin == (void *)0x9) && + (cVar7 = (**(code **)(*(int *)(g_game->_deathmatchManager)._type + 0x30))(0x12), + cVar7 != '\0')) { + pEVar31[1]._damageEvents._begin = (void *)0xb; } - if ((pEVar29[1]._damageEvents._begin == (void *)0xa) && - (cVar6 = (**(code **)(*(int *)(g_game->_deathmatchManager)._type + 0x30))(0xb1), - cVar6 != '\0')) { - pEVar29[1]._damageEvents._begin = (void *)0x3; + if ((pEVar31[1]._damageEvents._begin == (void *)0xa) && + (cVar7 = (**(code **)(*(int *)(g_game->_deathmatchManager)._type + 0x30))(0xb1), + cVar7 != '\0')) { + pEVar31[1]._damageEvents._begin = (void *)0x3; } } - switch(pEVar29[1]._damageEvents._begin) { + switch(pEVar31[1]._damageEvents._begin) { case (void *)0x3: - if ((((pEVar29->_sprite)._animState._animData != (void *)0x0) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,1,0), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,2,0), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) { - AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,3,0); + if ((((pEVar31->_sprite)._animState._animData != (void *)0x0) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,1,0), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,2,0), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) { + AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,3,0); } break; case (void *)0x4: - if ((((pEVar29->_sprite)._animState._animData != (void *)0x0) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,1,2), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,2,2), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) { - AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,3,2); + if ((((pEVar31->_sprite)._animState._animData != (void *)0x0) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,1,2), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,2,2), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) { + AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,3,2); } break; case (void *)0x5: case (void *)0x6: - if ((((pEVar29->_sprite)._animState._animData != (void *)0x0) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,1,6), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,2,6), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) { - AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,3,6); + if ((((pEVar31->_sprite)._animState._animData != (void *)0x0) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,1,6), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,2,6), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) { + AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,3,6); } break; case (void *)0x7: - if ((((pEVar29->_sprite)._animState._animData != (void *)0x0) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,1,4), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,2,4), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) { - AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,3,4); + if ((((pEVar31->_sprite)._animState._animData != (void *)0x0) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,1,4), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,2,4), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) { + AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,3,4); } break; case (void *)0x8: - if ((((pEVar29->_sprite)._animState._animData != (void *)0x0) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,1,5), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,2,5), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) { - AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,3,5); + if ((((pEVar31->_sprite)._animState._animData != (void *)0x0) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,1,5), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,2,5), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) { + AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,3,5); } break; case (void *)0x9: - if ((((pEVar29->_sprite)._animState._animData != (void *)0x0) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,1,1), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,2,1), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) { - AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,3,1); + if ((((pEVar31->_sprite)._animState._animData != (void *)0x0) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,1,1), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,2,1), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) { + AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,3,1); } break; case (void *)0xa: - if ((((pEVar29->_sprite)._animState._animData != (void *)0x0) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,1,7), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,2,7), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) { - AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,3,7); + if ((((pEVar31->_sprite)._animState._animData != (void *)0x0) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,1,7), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,2,7), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) { + AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,3,7); } break; case (void *)0xb: case (void *)0xc: case (void *)0xd: - if ((((pEVar29->_sprite)._animState._animData != (void *)0x0) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,1,3), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,2,3), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) { - AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,3,3); + if ((((pEVar31->_sprite)._animState._animData != (void *)0x0) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,1,3), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,2,3), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) { + AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,3,3); } break; default: - pRVar21 = &pEVar29->_dropRNG; + pRVar1 = &pEVar31->_dropRNG; do { - RNG::Next(pRVar21); - local_a4 = (RNG)((uint)*pRVar21 & 7); - RNG::Next(pRVar21); - local_bc = (RNG)((uint)*pRVar21 & 7); - RNG::Next(pRVar21); - EVar30 = local_dc; - local_f4 = (RNG)((uint)*pRVar21 & 7); - if (local_a4 != local_bc) break; - } while (local_bc == local_f4); - if ((((pEVar29->_sprite)._animState._animData != (void *)0x0) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,1,(int)local_a4), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) && - (AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,2,(int)local_bc), - (pEVar29->_sprite)._animState._animData != (void *)0x0)) { - AnimationState::SetLayerFrame(&(pEVar29->_sprite)._animState,3,(int)local_f4); + RNG::Next(pRVar1); + local_a4 = (ANM2 *)(pRVar1->_seed & 7); + RNG::Next(pRVar1); + local_bc = (Room *)(pRVar1->_seed & 7); + RNG::Next(pRVar1); + EVar32 = local_dc; + local_f4 = (ANM2 *)(pRVar1->_seed & 7); + if ((Room *)local_a4 != local_bc) break; + } while (local_bc == (Room *)local_f4); + if ((((pEVar31->_sprite)._animState._animData != (void *)0x0) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,1,(int)local_a4), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) && + (AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,2,(int)local_bc), + (pEVar31->_sprite)._animState._animData != (void *)0x0)) { + AnimationState::SetLayerFrame(&(pEVar31->_sprite)._animState,3,(int)local_f4); } - pMVar4 = g_manager; - local_bc = (RNG)0xf9; + pMVar5 = g_manager; + local_bc = (Room *)0xf9; seed_fart_sound_override(); - SoundEffects::Play(&pMVar4->_sfxManager,(int)local_bc,1.0,2,0,1.0,0.0); - pEVar29 = local_94; + SoundEffects::Play(&pMVar5->_sfxManager,(int)local_bc,1.0,2,0,1.0,0.0); + pEVar31 = local_94; } } } } - if (*(short *)&pEVar29[1]._damageEvents._capacity == 0) { - if (pEVar29->_variant == 0x10) { - local_bc = (RNG)&pEVar29->_sprite; - cVar6 = ANM2::IsFinishedImpl((ANM2 *)local_bc,"Wiggle"); - if (cVar6 == '\0') { - RVar22 = (RNG)&pEVar29->_sprite; + if (*(short *)&pEVar31[1]._damageEvents._capacity == 0) { + if (pEVar31->_variant == 0x10) { + local_bc = (Room *)&pEVar31->_sprite; + cVar7 = ANM2::IsFinishedImpl((ANM2 *)local_bc,"Wiggle"); + if (cVar7 == '\0') { + pRVar24 = (Room *)&pEVar31->_sprite; } else { - RNG::Next(&pEVar29->_dropRNG); - uVar9 = (uint)pEVar29->_dropRNG % 100; - bVar5 = Entity_Player::HasTrinket((Entity_Player *)EVar30,0x4c,0); - RVar22 = local_bc; - if (bVar5 != 0) { - uVar9 = uVar9 - 5; + RNG::Next(&pEVar31->_dropRNG); + uVar10 = (uint)(pEVar31->_dropRNG)._seed % 100; + bVar6 = Entity_Player::HasTrinket((Entity_Player *)EVar32,0x4c,0); + pRVar24 = local_bc; + if (bVar6 != 0) { + uVar10 = uVar10 - 5; } - if ((int)uVar9 < 0x19) { + if ((int)uVar10 < 0x19) { ANM2::Play((ANM2 *)local_bc,(byte *)"Prize",0); - uVar10 = 0x10c; + uVar11 = 0x10c; } else { ANM2::Play((ANM2 *)local_bc,(byte *)"NoPrize",0); - uVar10 = 0x10b; + uVar11 = 0x10b; } - SoundEffects::PlayWithFartOverride(uVar10,2,0,0x3f800000); - pEVar29 = local_94; + SoundEffects::PlayWithFartOverride(uVar11,2,0,0x3f800000); + pEVar31 = local_94; } - cVar6 = Sprite::IsEventTriggered((Sprite *)RVar22,"Prize"); - if (cVar6 != '\0') { - uVar9 = RNG::Next(&pEVar29->_dropRNG); - fVar32 = local_94[1]._sprite._championColor._colorize[2]; - uVar10 = FUN_006653c0(local_c0); - piVar14 = (int *)Game::Spawn(5,100,uVar10,&g_vectorZero,0,fVar32,uVar9); - (**(code **)(*piVar14 + 0xc))(); + cVar7 = Sprite::IsEventTriggered((Sprite *)pRVar24,"Prize"); + if (cVar7 != '\0') { + uVar10 = RNG::Next(&pEVar31->_dropRNG); + fVar34 = local_94[1]._sprite._championColor._colorize[2]; + uVar11 = FUN_006653c0(local_c0); + piVar15 = (int *)Game::Spawn(5,100,uVar11,&g_vectorZero,0,fVar34,uVar10); + (**(code **)(*piVar15 + 0xc))(); SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - uVar10 = EntityPtr::Ref(); - uVar10 = ItemPool::GetCollectible(pIVar17,0x17,uVar10,0,0x206,0); - pEVar29 = local_94; - SetPrizeType(local_94,uVar10); - RVar22 = (RNG)&pEVar29->_sprite; + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + uVar11 = EntityPtr::Ref(); + uVar11 = ItemPool::GetCollectible(pIVar18,0x17,uVar11,0,0x206,0); + pEVar31 = local_94; + SetPrizeType(local_94,uVar11); + pRVar24 = (Room *)&pEVar31->_sprite; } - cVar6 = Sprite::IsEventTriggered((Sprite *)RVar22,"Explosion"); - if (cVar6 != '\0') { - uVar10 = Random(); - Game::Spawn(1000,1,&pEVar29->_pos,&g_vectorZero,0,0,uVar10); - spawn_break_drops(pEVar29); - *(undefined4 *)&pEVar29[1].field_0x4 = 3; - ANM2::Play((ANM2 *)RVar22,(byte *)"Death",0); + cVar7 = Sprite::IsEventTriggered((Sprite *)pRVar24,"Explosion"); + if (cVar7 != '\0') { + uVar11 = Random(); + Game::Spawn(1000,1,&pEVar31->_pos,&g_vectorZero,0,0,uVar11); + spawn_break_drops(pEVar31); + *(undefined4 *)&pEVar31[1].field_0x4 = 3; + ANM2::Play((ANM2 *)pRVar24,(byte *)"Death",0); } - cVar6 = ANM2::IsFinishedImpl((ANM2 *)RVar22,"Prize"); - if (cVar6 != '\0') { - pEVar29[1]._pendingDamage = (float)((int)pEVar29[1]._pendingDamage + 1); - if ((uint)pEVar29[1]._pendingDamage < 3) { - ANM2::Play((ANM2 *)RVar22,(byte *)"Regenerate",0); + cVar7 = ANM2::IsFinishedImpl((ANM2 *)pRVar24,"Prize"); + if (cVar7 != '\0') { + pEVar31[1]._pendingDamage = (float)((int)pEVar31[1]._pendingDamage + 1); + if ((uint)pEVar31[1]._pendingDamage < 3) { + ANM2::Play((ANM2 *)pRVar24,(byte *)"Regenerate",0); } else { - *(undefined4 *)&pEVar29[1].field_0x4 = 4; - ANM2::Play((ANM2 *)RVar22,(byte *)"OutOfPrizes",0); + *(undefined4 *)&pEVar31[1].field_0x4 = 4; + ANM2::Play((ANM2 *)pRVar24,(byte *)"OutOfPrizes",0); } } } - else if (pEVar29->_variant == 0x11) { - bVar5 = ANM2::IsPlaying(&pEVar29->_sprite,(byte *)"Wiggle"); - if (bVar5 != 0) { - local_bc = (RNG)0x3e99999a; - iVar15 = Game::Difficulty(g_game); - if (iVar15 == 1) { - local_bc = (RNG)0x3e800000; + else if (pEVar31->_variant == 0x11) { + bVar6 = ANM2::IsPlaying(&pEVar31->_sprite,(byte *)"Wiggle"); + if (bVar6 != 0) { + local_bc = (Room *)0x3e99999a; + iVar16 = Game::Difficulty(g_game); + if (iVar16 == 1) { + local_bc = (Room *)0x3e800000; } - bVar5 = Entity_Player::HasCollectible((Entity_Player *)EVar30,0x2e,0); - if (bVar5 != 0) { - local_bc = (RNG)((float)local_bc * 1.5); + bVar6 = Entity_Player::HasCollectible((Entity_Player *)EVar32,0x2e,0); + if (bVar6 != 0) { + local_bc = (Room *)((float)local_bc * 1.5); } - local_a4 = (RNG)RNG::RandomFloat(&pEVar29->_dropRNG); + local_a4 = (ANM2 *)RNG::RandomFloat(&pEVar31->_dropRNG); if ((float)local_bc <= (float)local_a4) { - pcVar28 = "NoPrize"; + pcVar29 = "NoPrize"; } else { - pcVar28 = "Prize"; + pcVar29 = "Prize"; } - RVar33 = local_bc; - ANM2::Play(&pEVar29->_sprite,(byte *)pcVar28,0); + pRVar35 = local_bc; + ANM2::Play(&pEVar31->_sprite,(byte *)pcVar29,0); } - cVar6 = Sprite::IsEventTriggered((Sprite *)&pEVar29->_sprite,"Prize"); - if (cVar6 != '\0') { - local_bc = (RNG)&pEVar29->_dropRNG; - uVar9 = RNG::RandomInt((RNG *)local_bc,0x14); - if (uVar9 == 0) { - uVar10 = Random(); - Game::Spawn(1000,1,&pEVar29->_pos,&g_vectorZero,0,0,uVar10); - spawn_break_drops(pEVar29); - ANM2::Play(&pEVar29->_sprite,(byte *)"Death",0); - *(undefined4 *)&pEVar29[1].field_0x4 = 3; + cVar7 = Sprite::IsEventTriggered((Sprite *)&pEVar31->_sprite,"Prize"); + if (cVar7 != '\0') { + local_bc = (Room *)&pEVar31->_dropRNG; + uVar10 = RNG::RandomInt((RNG *)local_bc,0x14); + if (uVar10 == 0) { + uVar11 = Random(); + Game::Spawn(1000,1,&pEVar31->_pos,&g_vectorZero,0,0,uVar11); + spawn_break_drops(pEVar31); + ANM2::Play(&pEVar31->_sprite,(byte *)"Death",0); + *(undefined4 *)&pEVar31[1].field_0x4 = 3; } else { - uVar9 = RNG::RandomInt(&pEVar29->_dropRNG,0x1e); - if (uVar9 == 0) { - (**(code **)(*(int *)pEVar29 + 0x28))(); - uVar10 = Random(); - local_a4 = (RNG)&pEVar29->_pos; - Game::Spawn(1000,1,local_a4,&g_vectorZero,0,0,uVar10); - iVar15 = Game::GetDevilRoomDeals(g_game); - if (iVar15 < 1) { + uVar10 = RNG::RandomInt(&pEVar31->_dropRNG,0x1e); + if (uVar10 == 0) { + (**(code **)(*(int *)pEVar31 + 0x28))(); + uVar11 = Random(); + local_a4 = (ANM2 *)&pEVar31->_pos; + Game::Spawn(1000,1,local_a4,&g_vectorZero,0,0,uVar11); + iVar16 = Game::GetDevilRoomDeals(g_game); + if (iVar16 < 1) { LAB_0065eb25: - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - iVar15 = pEVar29->_initSeed; + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + iVar16 = pEVar31->_initSeed; this_01 = (ItemPool *)Game::GetItemPool(g_game); - iVar18 = ItemPool::GetPoolForRoom(this_01,0xf,local_94->_initSeed); - iVar15 = ItemPool::GetCollectible(pIVar17,iVar18,iVar15,0,0x21,0); - if (iVar15 == 0) goto LAB_0065ed10; + iVar19 = ItemPool::GetPoolForRoom(this_01,0xf,local_94->_initSeed); + iVar16 = ItemPool::GetCollectible(pIVar18,iVar19,iVar16,0,0x21,0); + if (iVar16 == 0) goto LAB_0065ed10; } else { Game::GetItemPool(g_game); - cVar6 = ItemPool::RemoveCollectible(0x2a1,1,0); - if (cVar6 == '\0') goto LAB_0065eb25; - iVar15 = 0x2a1; + cVar7 = ItemPool::RemoveCollectible(0x2a1,1,0); + if (cVar7 == '\0') goto LAB_0065eb25; + iVar16 = 0x2a1; } - uVar9 = RNG::Next((RNG *)local_bc); - pEVar19 = (Entity_Pickup *)Game::Spawn(5,100,local_a4,&g_vectorZero,0,iVar15,uVar9); - Entity_Pickup::SetAlternatePedestal(pEVar19,0xf); - (**(code **)(*(int *)pEVar19 + 0xc))(); + uVar10 = RNG::Next((RNG *)local_bc); + pEVar20 = (Entity_Pickup *)Game::Spawn(5,100,local_a4,&g_vectorZero,0,iVar16,uVar10); + Entity_Pickup::SetAlternatePedestal(pEVar20,0xf); + (**(code **)(*(int *)pEVar20 + 0xc))(); } else { - iVar15 = Entity_Player::GetBrokenHearts((Entity_Player *)EVar30); - if (0 < iVar15) { - Entity_Player::AddBrokenHearts((Entity_Player *)EVar30,-1); + iVar16 = Entity_Player::GetBrokenHearts((Entity_Player *)EVar32); + if (0 < iVar16) { + Entity_Player::AddBrokenHearts((Entity_Player *)EVar32,-1); Entity_Player::UseActiveItem - ((Entity_Player *)EVar30,(short *)((int)&local_f4 + 2),0x23,1,-1,0); + ((Entity_Player *)EVar32,(short *)((int)&local_f4 + 2),0x23,1,-1,0); SoundEffects::PlayWithFartOverride(0x10c,2,0,0x3f800000); goto LAB_0065ed16; } - uVar9 = RNG::RandomInt(&pEVar29->_dropRNG,2); - if ((uVar9 == 0) && - ((bVar5 = Entity_Player::HasTrinket((Entity_Player *)EVar30,0x16,0), bVar5 == 0 || - (uVar9 = RNG::RandomInt((RNG *)local_cc,5), uVar9 == 0)))) { - Entity_Player::AddSoulHearts((Entity_Player *)EVar30,2,0); - uVar10 = 0x36; + uVar10 = RNG::RandomInt(&pEVar31->_dropRNG,2); + if ((uVar10 == 0) && + ((bVar6 = Entity_Player::HasTrinket((Entity_Player *)EVar32,0x16,0), bVar6 == 0 || + (uVar10 = RNG::RandomInt((RNG *)local_cc,5), uVar10 == 0)))) { + Entity_Player::AddSoulHearts((Entity_Player *)EVar32,2,0); + uVar11 = 0x36; LAB_0065ec99: - play_sound_with_fart_seed(uVar10,2,0,0x3f800000); + play_sound_with_fart_seed(uVar11,2,0,0x3f800000); Entity_Player::AnimateHappy(); goto LAB_0065ed16; } - uVar9 = RNG::RandomInt(&pEVar29->_dropRNG,0x10); - if ((uVar9 == 0) && - ((bVar5 = Entity_Player::HasTrinket((Entity_Player *)EVar30,0x16,0), bVar5 == 0 || - (uVar9 = RNG::RandomInt((RNG *)local_cc,5), uVar9 == 0)))) { - Entity_Player::AddEternalHearts((Entity_Player *)EVar30,1); - uVar10 = 0x10a; + uVar10 = RNG::RandomInt(&pEVar31->_dropRNG,0x10); + if ((uVar10 == 0) && + ((bVar6 = Entity_Player::HasTrinket((Entity_Player *)EVar32,0x16,0), bVar6 == 0 || + (uVar10 = RNG::RandomInt((RNG *)local_cc,5), uVar10 == 0)))) { + Entity_Player::AddEternalHearts((Entity_Player *)EVar32,1); + uVar11 = 0x10a; goto LAB_0065ec99; } - pLVar20 = (Level *)Config::GetCollectibles(); - Level::RemoveCurses(pLVar20,0xffffffff); - pLVar20 = (Level *)Config::GetCollectibles(); - Level::AddAngelRoomChance(pLVar20,0x3dcccccd); + pLVar21 = (Level *)Config::GetCollectibles(); + Level::RemoveCurses(pLVar21,0xffffffff); + pLVar21 = (Level *)Config::GetCollectibles(); + Level::AddAngelRoomChance(pLVar21,0x3dcccccd); Game::GetHUD(g_game); - uVar10 = FUN_004253c0(); - uVar10 = string_table_translate(uVar10,"#YOU_FEEL_BLESSED"); - HUD::show_fortune_text_impl(uVar10); + uVar11 = FUN_004253c0(); + uVar11 = string_table_translate(uVar11,"#YOU_FEEL_BLESSED"); + HUD::show_fortune_text_impl(uVar11); } LAB_0065ed10: - pEVar29 = local_94; + pEVar31 = local_94; } } } } LAB_0065ed16: - if (((*(int *)&pEVar29[1].field_0x4 != 2) || (*(short *)&pEVar29[1]._damageEvents._capacity != 0)) - || (((((iVar15 = pEVar29->_variant, iVar15 == 4 || - ((((iVar15 == 5 || (iVar15 == 7)) || (iVar15 == 9)) || - ((iVar15 == 0xd || (iVar15 == 0x12)))))) || (iVar15 == 0xe)) && - ((bVar5 = ANM2::IsPlaying(&pEVar29->_sprite,(byte *)"PayPrize"), bVar5 != 0 && - (cVar6 = ANM2::IsFinishedImpl(&pEVar29->_sprite,&s_empty), cVar6 == '\0')))) || - ((pEVar29->_variant == 6 || (pEVar29->_variant == 0xf)))))) { - iVar15 = *(int *)&pEVar29[1].field_0x4; - if (iVar15 != 5) { - if (iVar15 == 2) { - iVar15 = pEVar29->_variant; - if (((((iVar15 == 1) || (iVar15 == 3)) || (iVar15 == 2)) || - ((iVar15 == 0x10 || (iVar15 == 0x11)))) && - (cVar6 = ANM2::IsFinishedImpl(&pEVar29->_sprite,&s_empty), cVar6 != '\0')) { - ANM2::Play(&pEVar29->_sprite,(byte *)"Wiggle",0); + if (((*(int *)&pEVar31[1].field_0x4 != 2) || (*(short *)&pEVar31[1]._damageEvents._capacity != 0)) + || (((((iVar16 = pEVar31->_variant, iVar16 == 4 || + ((((iVar16 == 5 || (iVar16 == 7)) || (iVar16 == 9)) || + ((iVar16 == 0xd || (iVar16 == 0x12)))))) || (iVar16 == 0xe)) && + ((bVar6 = ANM2::IsPlaying(&pEVar31->_sprite,(byte *)"PayPrize"), bVar6 != 0 && + (cVar7 = ANM2::IsFinishedImpl(&pEVar31->_sprite,&s_empty), cVar7 == '\0')))) || + ((pEVar31->_variant == 6 || (pEVar31->_variant == 0xf)))))) { + iVar16 = *(int *)&pEVar31[1].field_0x4; + if (iVar16 != 5) { + if (iVar16 == 2) { + iVar16 = pEVar31->_variant; + if (((((iVar16 == 1) || (iVar16 == 3)) || (iVar16 == 2)) || + ((iVar16 == 0x10 || (iVar16 == 0x11)))) && + (cVar7 = ANM2::IsFinishedImpl(&pEVar31->_sprite,&s_empty), cVar7 != '\0')) { + ANM2::Play(&pEVar31->_sprite,(byte *)"Wiggle",0); } - if (pEVar29->_variant == 0xe) { - RVar22 = (RNG)&pEVar29->_pos; - local_9c[0] = RVar22; - cVar6 = Sprite::IsEventTriggered((Sprite *)&pEVar29->_sprite,&DAT_00b64ba4); - if (cVar6 != '\0') { - uVar10 = Random(); - pEVar26 = (Entity_Effect *)Game::Spawn(1000,0xc,RVar22,&g_vectorZero,0,10,uVar10); - Entity_Effect::FollowParent(pEVar26,pEVar29); + if (pEVar31->_variant == 0xe) { + pAVar30 = (ANM2 *)&pEVar31->_pos; + local_9c[0] = pAVar30; + cVar7 = Sprite::IsEventTriggered((Sprite *)&pEVar31->_sprite,&DAT_00b64ba4); + if (cVar7 != '\0') { + uVar11 = Random(); + pEVar27 = (Entity_Effect *)Game::Spawn(1000,0xc,pAVar30,&g_vectorZero,0,10,uVar11); + Entity_Effect::FollowParent(pEVar27,pEVar31); set_field_358(0xc1200000); - uVar10 = Sprite::Scale((Sprite *)&pEVar29->_sprite); - Entity::SetSpriteScale((Entity *)pEVar26,uVar10); - Entity::SpriteScale((Entity *)pEVar26); - uVar10 = Vector::Vector(); - uVar10 = Vector::Mul(local_5c + 2,uVar10); - FUN_004563c0(uVar10); + uVar11 = Sprite::Scale((Sprite *)&pEVar31->_sprite); + Entity::SetSpriteScale((Entity *)pEVar27,uVar11); + Entity::SpriteScale((Entity *)pEVar27); + uVar11 = Vector::Vector(); + uVar11 = Vector::Mul(local_5c + 2,uVar11); + FUN_004563c0(uVar11); Entity::AddEntityFlags(0,0x1000); - (**(code **)(*(int *)pEVar26 + 0xc))(); - Entity_Effect::set_rotation(0); - pEVar29 = local_94; - RVar22 = local_9c[0]; + (**(code **)(*(int *)pEVar27 + 0xc))(); + Entity_Effect::set_rotation(pEVar27,0); + pEVar31 = local_94; + pAVar30 = local_9c[0]; } - cVar6 = Sprite::IsEventTriggered((Sprite *)&pEVar29->_sprite,&DAT_00b1d534); - if (cVar6 != '\0') { - uVar10 = Random(); - Game::Spawn(1000,0xf,RVar22,&g_vectorZero,0,0,uVar10); + cVar7 = Sprite::IsEventTriggered((Sprite *)&pEVar31->_sprite,&DAT_00b1d534); + if (cVar7 != '\0') { + uVar11 = Random(); + Game::Spawn(1000,0xf,pAVar30,&g_vectorZero,0,0,uVar11); } } } - else if (iVar15 == 3) { - iVar15 = pEVar29->_variant; - if (((iVar15 == 1) || (iVar15 == 2)) || - ((iVar15 == 3 || (((iVar15 == 0x13 || (iVar15 == 0x10)) || (iVar15 == 0x11)))))) { + else if (iVar16 == 3) { + iVar16 = pEVar31->_variant; + if (((iVar16 == 1) || (iVar16 == 2)) || + ((iVar16 == 3 || (((iVar16 == 0x13 || (iVar16 == 0x10)) || (iVar16 == 0x11)))))) { Config::GetPillEffects(); - cVar6 = AnimationState::IsLoopingAnimation(); - if ((cVar6 != '\0') || - (cVar6 = ANM2::IsFinishedImpl(&pEVar29->_sprite,&s_empty), cVar6 != '\0')) { - ANM2::Play(&pEVar29->_sprite,(byte *)"Broken",0); + cVar7 = AnimationState::IsLoopingAnimation(); + if ((cVar7 != '\0') || + (cVar7 = ANM2::IsFinishedImpl(&pEVar31->_sprite,&s_empty), cVar7 != '\0')) { + ANM2::Play(&pEVar31->_sprite,(byte *)"Broken",0); } } } - else if ((iVar15 == 4) && (pEVar29->_variant != 0x10)) { - pEVar29->_entityCollisionClass = 0; - cVar6 = Sprite::IsEventTriggered((Sprite *)&pEVar29->_sprite,"Disappear"); - if (cVar6 != '\0') { - pEVar29->_shadowSize = 0.0; + else if ((iVar16 == 4) && (pEVar31->_variant != 0x10)) { + pEVar31->_entityCollisionClass = 0; + cVar7 = Sprite::IsEventTriggered((Sprite *)&pEVar31->_sprite,"Disappear"); + if (cVar7 != '\0') { + pEVar31->_shadowSize = 0.0; } - cVar6 = ANM2::IsFinishedImpl(&pEVar29->_sprite,&s_empty); - if (cVar6 != '\0') { - (**(code **)(*(int *)pEVar29 + 0x28))(); + cVar7 = ANM2::IsFinishedImpl(&pEVar31->_sprite,&s_empty); + if (cVar7 != '\0') { + (**(code **)(*(int *)pEVar31 + 0x28))(); } } goto LAB_00662654; } - iVar15 = pEVar29->_variant; - if ((iVar15 != 6) && (iVar15 != 0xf)) { - if (iVar15 == 9) { - cVar6 = Sprite::IsEventTriggered((Sprite *)&pEVar29->_sprite,"Prize"); - if (cVar6 != '\0') { - *(undefined4 *)&pEVar29[1]._pendingDamageFlags = 0x1e; + iVar16 = pEVar31->_variant; + if ((iVar16 != 6) && (iVar16 != 0xf)) { + if (iVar16 == 9) { + cVar7 = Sprite::IsEventTriggered((Sprite *)&pEVar31->_sprite,"Prize"); + if (cVar7 != '\0') { + *(undefined4 *)&pEVar31[1]._pendingDamageFlags = 0x1e; } - cVar6 = ANM2::IsFinishedImpl(&pEVar29->_sprite,&s_empty); - if (cVar6 != '\0') { - *(undefined4 *)&pEVar29[1].field_0x4 = 1; - ANM2::Play(&pEVar29->_sprite,s_Idle,0); + cVar7 = ANM2::IsFinishedImpl(&pEVar31->_sprite,&s_empty); + if (cVar7 != '\0') { + *(undefined4 *)&pEVar31[1].field_0x4 = 1; + ANM2::Play(&pEVar31->_sprite,s_Idle,0); } } goto LAB_00662654; } } - RVar22 = (RNG)&pEVar29->_dropRNG; - uVar12 = 3; - local_bc = RVar22; - uVar9 = EntityPtr::Ref(); - RNG::game_constructor(local_5c + 10,uVar9,uVar12); - local_14 = (RNG)0x0; - bVar5 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x4c,0); - if (bVar5 == 0) { - local_a4 = (RNG)0x1; + pRVar24 = (Room *)&pEVar31->_dropRNG; + uVar13 = 3; + local_bc = pRVar24; + uVar10 = EntityPtr::Ref(); + RNG::game_constructor(&local_34,uVar10,uVar13); + local_14 = 0; + bVar6 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x4c,0); + if (bVar6 == 0) { + local_a4 = (ANM2 *)0x1; } else { - local_a4 = (RNG)Entity_Player::GetTrinketMultiplier((Entity_Player *)local_dc,0x4c); - local_f4 = (RNG)0x3; - pRVar21 = (RNG *)std::min(); - local_a4 = *pRVar21; + local_a4 = (ANM2 *)Entity_Player::GetTrinketMultiplier((Entity_Player *)local_dc,0x4c); + local_f4 = (ANM2 *)0x3; + puVar22 = (undefined4 *)std::min(); + local_a4 = (ANM2 *)*puVar22; } - switch(pEVar29->_variant) { + switch(pEVar31->_variant) { case 1: std::string::string_from_cstr("Prize"); local_14._0_1_ = 1; Config::GetPillEffects(); ANM2::GetAnimation(local_5c + 4); - uVar7 = FUN_0040c790(); - local_f4._3_1_ = uVar7; + uVar8 = FUN_0040c790(); + local_f4 = (ANM2 *)CONCAT13(uVar8,(undefined3)local_f4); std::string::_Tidy_deallocate(); - local_14 = (RNG)((uint)(uint3)local_14._1_3_ << 8); + local_14 = (uint)local_14._1_3_ << 8; std::string::_Tidy_deallocate(); - pEVar29 = local_94; + pEVar31 = local_94; if (local_f4._3_1_ != '\0') { switch(local_94[1]._damageEvents._begin) { case (void *)0x3: - uVar9 = RNG::RandomInt((RNG *)RVar22,3); - if (uVar9 == 0) { + uVar10 = RNG::RandomInt((RNG *)pRVar24,3); + if (uVar10 == 0) { Entity_Player::AddPrettyFly((Entity_Player *)local_dc); Entity_Player::AnimateHappy(); - *(undefined4 *)&pEVar29[1].field_0x4 = 1; + *(undefined4 *)&pEVar31[1].field_0x4 = 1; } else { - local_c4 = (RNG)&pEVar29->_pos; + local_c4 = (ANM2 *)&pEVar31->_pos; local_a0 = g_vectorZero.x; - iVar15 = 0; - local_9c[0] = (RNG)g_vectorZero.y; + iVar16 = 0; + local_9c[0] = (ANM2 *)g_vectorZero.y; do { - RNG::Next(local_5c + 10); + RNG::Next(&local_34); RandomVector(); - local_e4 = (RNG)0x40a00000; - uVar10 = Vector::__mul(&local_b8,&local_e4); - Vector::operator_assign(uVar10); - RVar33 = (RNG)((float)local_9c[0] * 0.2 + 3.0); - local_9c[0] = RVar33; + local_e4 = (ANM2 *)0x40a00000; + uVar11 = Vector::__mul(&local_b8,&local_e4); + Vector::operator_assign(uVar11); + pRVar35 = (Room *)((float)local_9c[0] * 0.2 + 3.0); + local_9c[0] = (ANM2 *)pRVar35; Level::GetCurrentRoom((Level *)g_game); - local_ac = (RNG)0x40e00000; - uVar10 = Vector::__mul(&local_f0,&local_ac); - uVar10 = Vector::__add(&local_d0,uVar10); - cVar6 = Room::CheckLine(local_c4,uVar10,1,0,0,0,0); - if (cVar6 != '\0') break; - iVar15 = iVar15 + 1; - } while (iVar15 < 10); - uVar9 = RNG::Next((RNG *)local_bc); - Game::Spawn(0xd,0,local_c4,&local_a0,0,0,uVar9); + local_ac = (ANM2 *)0x40e00000; + uVar11 = Vector::__mul(&local_f0,&local_ac); + uVar11 = Vector::__add(&local_d0,uVar11); + cVar7 = Room::CheckLine(local_c4,uVar11,1,0,0,0,0); + if (cVar7 != '\0') break; + iVar16 = iVar16 + 1; + } while (iVar16 < 10); + uVar10 = RNG::Next((RNG *)local_bc); + Game::Spawn(0xd,0,local_c4,&local_a0,0,0,uVar10); Entity_Player::AnimateSad(); *(undefined4 *)&local_94[1].field_0x4 = 1; - pEVar29 = local_94; + pEVar31 = local_94; } break; case (void *)0x4: SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - HandleCollision(pEVar29,0x28,0,local_a4,local_5c + 10,&g_vectorZero,&g_vectorZero); - *(undefined4 *)&pEVar29[1].field_0x4 = 1; + HandleCollision(pEVar31,0x28,0,local_a4,&local_34,&g_vectorZero,&g_vectorZero); + *(undefined4 *)&pEVar31[1].field_0x4 = 1; break; case (void *)0x5: case (void *)0x6: SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - HandleCollision(pEVar29,10,0,local_a4,local_5c + 10,&g_vectorZero,&g_vectorZero); - *(undefined4 *)&pEVar29[1].field_0x4 = 1; + HandleCollision(pEVar31,10,0,local_a4,&local_34,&g_vectorZero,&g_vectorZero); + *(undefined4 *)&pEVar31[1].field_0x4 = 1; break; case (void *)0x7: SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - HandleCollision(pEVar29,0x1e,0,local_a4,local_5c + 10,&g_vectorZero,&g_vectorZero); - *(undefined4 *)&pEVar29[1].field_0x4 = 1; + HandleCollision(pEVar31,0x1e,0,local_a4,&local_34,&g_vectorZero,&g_vectorZero); + *(undefined4 *)&pEVar31[1].field_0x4 = 1; break; case (void *)0x8: SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - HandleCollision(pEVar29,0x46,0,local_a4,local_5c + 10,&g_vectorZero,&g_vectorZero); - *(undefined4 *)&pEVar29[1].field_0x4 = 1; + HandleCollision(pEVar31,0x46,0,local_a4,&local_34,&g_vectorZero,&g_vectorZero); + *(undefined4 *)&pEVar31[1].field_0x4 = 1; break; case (void *)0x9: case (void *)0xa: SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - Game::ButterBeanFart(&pEVar29->_pos,0x41100000,pEVar29,0,0); - (**(code **)(*(int *)pEVar29 + 0x28))(); - uVar10 = Random(); - Game::Spawn(1000,1,&pEVar29->_pos,&g_vectorZero,0,0,uVar10); - pvVar16 = pEVar29[1]._damageEvents._begin; - if (pvVar16 == (void *)0x9) { - uVar9 = RNG::Next((RNG *)RVar22); - uVar36 = 0; - pTVar39 = &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor; - pTVar37 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar13 = 0; - uVar10 = Game::Spawn(5,100,&pEVar29->_pos,&g_vectorZero,0,0x12,uVar9); - pEVar19 = (Entity_Pickup *)__RTDynamicCast(uVar10,uVar13,pTVar37,pTVar39,uVar36); + Game::ButterBeanFart(&pEVar31->_pos,0x41100000,pEVar31,0,0); + (**(code **)(*(int *)pEVar31 + 0x28))(); + uVar11 = Random(); + Game::Spawn(1000,1,&pEVar31->_pos,&g_vectorZero,0,0,uVar11); + pvVar17 = pEVar31[1]._damageEvents._begin; + if (pvVar17 == (void *)0x9) { + uVar10 = RNG::Next((RNG *)pRVar24); + uVar38 = 0; + pTVar41 = &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor; + pTVar39 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar14 = 0; + uVar11 = Game::Spawn(5,100,&pEVar31->_pos,&g_vectorZero,0,0x12,uVar10); + pEVar20 = (Entity_Pickup *)__RTDynamicCast(uVar11,uVar14,pTVar39,pTVar41,uVar38); } - else if (pvVar16 == (void *)0xa) { - uVar9 = RNG::Next((RNG *)RVar22); - uVar36 = 0; - pTVar39 = &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor; - pTVar37 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar13 = 0; - uVar10 = Game::Spawn(5,100,&pEVar29->_pos,&g_vectorZero,0,0xb1,uVar9); - pEVar19 = (Entity_Pickup *)__RTDynamicCast(uVar10,uVar13,pTVar37,pTVar39,uVar36); + else if (pvVar17 == (void *)0xa) { + uVar10 = RNG::Next((RNG *)pRVar24); + uVar38 = 0; + pTVar41 = &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor; + pTVar39 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar14 = 0; + uVar11 = Game::Spawn(5,100,&pEVar31->_pos,&g_vectorZero,0,0xb1,uVar10); + pEVar20 = (Entity_Pickup *)__RTDynamicCast(uVar11,uVar14,pTVar39,pTVar41,uVar38); Game::GetItemPool(g_game); ItemPool::RemoveCollectible(0xb1,0,0); } else { - pEVar19 = (Entity_Pickup *)0x0; + pEVar20 = (Entity_Pickup *)0x0; } FUN_005b1990(1); - Entity_Pickup::SetAlternatePedestal(pEVar19,3); - (**(code **)(*(int *)pEVar19 + 0xc))(); + Entity_Pickup::SetAlternatePedestal(pEVar20,3); + (**(code **)(*(int *)pEVar20 + 0xc))(); default: switchD_0065eef5_default: - *(undefined4 *)&pEVar29[1].field_0x4 = 1; + *(undefined4 *)&pEVar31[1].field_0x4 = 1; break; case (void *)0xb: case (void *)0xc: case (void *)0xd: SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - local_e4 = (RNG)RNG::RandomInt((RNG *)RVar22,3); - local_ac = (RNG)0x1; - pRVar21 = (RNG *)FUN_0040cdc0(); - RVar22 = local_a4; - local_ac = *pRVar21; - if (local_ac == (RNG)0x0) goto switchD_0065eef5_default; + local_e4 = (ANM2 *)RNG::RandomInt((RNG *)pRVar24,3); + local_ac = (ANM2 *)0x1; + puVar22 = (undefined4 *)FUN_0040cdc0(); + pAVar30 = local_a4; + local_ac = (ANM2 *)*puVar22; + if (local_ac == (ANM2 *)0x0) goto switchD_0065eef5_default; do { - HandleCollision(pEVar29,0x14,0,RVar22,local_5c + 10,&g_vectorZero,&g_vectorZero); - local_ac = (RNG)((int)local_ac + -1); - } while (local_ac != (RNG)0x0); - *(undefined4 *)&pEVar29[1].field_0x4 = 1; - local_ac = (RNG)0x0; + HandleCollision(pEVar31,0x14,0,pAVar30,&local_34,&g_vectorZero,&g_vectorZero); + local_ac = (ANM2 *)((int)&local_ac[-1]._bitflags + 3); + } while (local_ac != (ANM2 *)0x0); + *(undefined4 *)&pEVar31[1].field_0x4 = 1; + local_ac = (ANM2 *)0x0; } } break; case 2: - ANM2::Play(&pEVar29->_sprite,(byte *)"Prize",0); - cVar6 = Sprite::IsEventTriggered((Sprite *)&pEVar29->_sprite,"Prize"); - if (cVar6 != '\0') { - uVar9 = RNG::RandomInt((RNG *)RVar22,100); - if (uVar9 == 0) { - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - cVar6 = ItemPool::RemoveTrinket(pIVar17,0x22); - if (cVar6 == '\0') goto LAB_0065f619; - iVar15 = 0; + ANM2::Play(&pEVar31->_sprite,(byte *)"Prize",0); + cVar7 = Sprite::IsEventTriggered((Sprite *)&pEVar31->_sprite,"Prize"); + if (cVar7 != '\0') { + uVar10 = RNG::RandomInt((RNG *)pRVar24,100); + if (uVar10 == 0) { + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + cVar7 = ItemPool::RemoveTrinket(pIVar18,0x22); + if (cVar7 == '\0') goto LAB_0065f619; + iVar16 = 0; local_d0 = g_vectorZero.x; - local_c4 = (RNG)&local_94->_pos; - local_cc = (RNG)g_vectorZero.y; + local_c4 = (ANM2 *)&local_94->_pos; + local_cc = (ANM2 *)g_vectorZero.y; do { - RNG::Next(local_5c + 10); + RNG::Next(&local_34); RandomVector(); - local_e4 = (RNG)0x40a00000; - uVar10 = Vector::__mul(local_d8,&local_e4); - Vector::operator_assign(uVar10); - RVar33 = (RNG)((float)local_cc * 0.2 + 3.0); - local_cc = RVar33; + local_e4 = (ANM2 *)0x40a00000; + uVar11 = Vector::__mul(local_d8,&local_e4); + Vector::operator_assign(uVar11); + pRVar35 = (Room *)((float)local_cc * 0.2 + 3.0); + local_cc = (ANM2 *)pRVar35; Level::GetCurrentRoom((Level *)g_game); - local_ac = (RNG)0x40e00000; - uVar10 = Vector::__mul(&local_b8,&local_ac); - uVar10 = Vector::__add(&local_f0,uVar10); - cVar6 = Room::CheckLine(local_c4,uVar10,1,0,0,0,0); - if (cVar6 != '\0') break; - iVar15 = iVar15 + 1; - } while (iVar15 < 10); - uVar10 = Random(); - Game::Spawn(5,0x15e,local_c4,&local_d0,0,0x22,uVar10); + local_ac = (ANM2 *)0x40e00000; + uVar11 = Vector::__mul(&local_b8,&local_ac); + uVar11 = Vector::__add(&local_f0,uVar11); + cVar7 = Room::CheckLine(local_c4,uVar11,1,0,0,0,0); + if (cVar7 != '\0') break; + iVar16 = iVar16 + 1; + } while (iVar16 < 10); + uVar11 = Random(); + Game::Spawn(5,0x15e,local_c4,&local_d0,0,0x22,uVar11); LAB_0065f522: - pEVar29 = local_94; + pEVar31 = local_94; } else { LAB_0065f619: - uVar9 = RNG::RandomInt((RNG *)RVar22,0xf); - if (uVar9 == 0) { - local_cc = (RNG)0x87; - uVar9 = RNG::RandomInt((RNG *)RVar22,2); - if (uVar9 == 0) { + uVar10 = RNG::RandomInt((RNG *)pRVar24,0xf); + if (uVar10 == 0) { + local_cc = (ANM2 *)0x87; + uVar10 = RNG::RandomInt((RNG *)pRVar24,2); + if (uVar10 == 0) { LAB_0065f65e: - pEVar29 = local_94; - bVar5 = PersistentGameData::Unlocked + pEVar31 = local_94; + bVar6 = PersistentGameData::Unlocked ((PersistentGameData *)local_94[1]._sprite._championColor._offset[0], 0x93); - local_cc = (RNG)0x87; - if (bVar5 != 0) { - local_cc = (RNG)0x77; + local_cc = (ANM2 *)0x87; + if (bVar6 != 0) { + local_cc = (ANM2 *)0x77; } } else { - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - cVar6 = ItemPool::is_collectible_available(pIVar17,0x87,0); - if (cVar6 == '\0') goto LAB_0065f65e; - pEVar29 = local_94; + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + cVar7 = ItemPool::is_collectible_available(pIVar18,0x87,0); + if (cVar7 == '\0') goto LAB_0065f65e; + pEVar31 = local_94; } Game::GetField26614(); - cVar6 = FUN_00429550(); - if (cVar6 != '\0') { + cVar7 = FUN_00429550(); + if (cVar7 != '\0') { Game::GetField26614(); - piVar14 = (int *)EntityList::Size(); - cVar6 = (**(code **)(*piVar14 + 0x30))(local_cc); - if (cVar6 != '\0') goto LAB_0065f76e; + piVar15 = (int *)EntityList::Size(); + cVar7 = (**(code **)(*piVar15 + 0x30))(local_cc); + if (cVar7 != '\0') goto LAB_0065f76e; } Game::GetItemPool(g_game); ItemPool::RemoveCollectible(local_cc,0,0); - (**(code **)(*(int *)pEVar29 + 0x28))(); - uVar10 = Random(); - Game::Spawn(1000,1,&pEVar29->_pos,&g_vectorZero,0,0,uVar10); - uVar9 = RNG::Next((RNG *)RVar22); - uVar36 = 0; - pTVar39 = &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor; - pTVar37 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar13 = 0; - uVar10 = Game::Spawn(5,100,&pEVar29->_pos,&g_vectorZero,0,local_cc,uVar9); - pEVar19 = (Entity_Pickup *)__RTDynamicCast(uVar10,uVar13,pTVar37,pTVar39,uVar36); - Entity_Pickup::SetAlternatePedestal(pEVar19,2); - (**(code **)(*(int *)pEVar19 + 0xc))(); + (**(code **)(*(int *)pEVar31 + 0x28))(); + uVar11 = Random(); + Game::Spawn(1000,1,&pEVar31->_pos,&g_vectorZero,0,0,uVar11); + uVar10 = RNG::Next((RNG *)pRVar24); + uVar38 = 0; + pTVar41 = &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor; + pTVar39 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar14 = 0; + uVar11 = Game::Spawn(5,100,&pEVar31->_pos,&g_vectorZero,0,local_cc,uVar10); + pEVar20 = (Entity_Pickup *)__RTDynamicCast(uVar11,uVar14,pTVar39,pTVar41,uVar38); + Entity_Pickup::SetAlternatePedestal(pEVar20,2); + (**(code **)(*(int *)pEVar20 + 0xc))(); goto LAB_0065f522; } LAB_0065f76e: - EVar30 = local_dc; + EVar32 = local_dc; if ((local_dc == (EntityPtr)0x0) || - (iVar15 = Entity_Player::GetHealthType((Entity_Player *)local_dc), iVar15 != 3)) { - cVar6 = Game::IsHardMode(); - if (cVar6 == '\0') { - local_d4 = (float)RNG::RandomInt((RNG *)RVar22,3); - local_9c[0] = (RNG)0x1; + (iVar16 = Entity_Player::GetHealthType((Entity_Player *)local_dc), iVar16 != 3)) { + cVar7 = Game::IsHardMode(); + if (cVar7 == '\0') { + local_d4 = (float)RNG::RandomInt((RNG *)pRVar24,3); + local_9c[0] = (ANM2 *)0x1; } else { - local_ec = (RNG)RNG::RandomInt((RNG *)RVar22,2); - local_b4 = (RNG)0x1; + local_ec = (ANM2 *)RNG::RandomInt((RNG *)pRVar24,2); + local_b4 = (ANM2 *)0x1; } - pRVar21 = (RNG *)FUN_0040cdc0(); - RVar22 = *pRVar21; - local_bc = RVar22; - bVar5 = Entity_Player::HasCollectible((Entity_Player *)EVar30,0x4b,0); + puVar22 = (undefined4 *)FUN_0040cdc0(); + pRVar24 = (Room *)*puVar22; + local_bc = pRVar24; + bVar6 = Entity_Player::HasCollectible((Entity_Player *)EVar32,0x4b,0); } else { - local_bc = (RNG)RNG::RandomInt((RNG *)RVar22,2); - bVar5 = Entity_Player::HasCollectible((Entity_Player *)EVar30,0x4b,0); - if (bVar5 == 0) { + local_bc = (Room *)RNG::RandomInt((RNG *)pRVar24,2); + bVar6 = Entity_Player::HasCollectible((Entity_Player *)EVar32,0x4b,0); + if (bVar6 == 0) { LAB_0065f7e9: - local_f4 = (RNG)((uint)local_f4 & 0xffffff); + local_f4 = (ANM2 *)((uint)local_f4 & 0xffffff); } else { - uVar12 = 8; - uVar9 = EntityPtr::Ref(); - RNG::game_constructor(local_5c + 6,uVar9,uVar12); - local_14._0_1_ = 2; - local_e4 = (RNG)((uint)local_ac | 1); + uVar13 = 8; + uVar10 = EntityPtr::Ref(); + RNG::game_constructor(&RStack_44,uVar10,uVar13); + local_14 = CONCAT31(local_14._1_3_,2); + local_e4 = (ANM2 *)((uint)local_ac | 1); local_ac = local_e4; - uVar9 = RNG::RandomInt(this_02,4); - local_f4._3_1_ = 1; - if (uVar9 != 0) goto LAB_0065f7e9; + uVar10 = RNG::RandomInt(this_02,4); + local_f4 = (ANM2 *)CONCAT13(1,(undefined3)local_f4); + if (uVar10 != 0) goto LAB_0065f7e9; } - local_14 = (RNG)0x0; + local_14 = 0; if (((uint)local_ac & 1) != 0) { guard_check_icall(); } - RVar22 = local_bc; - bVar5 = local_f4._3_1_; + pRVar24 = local_bc; + bVar6 = local_f4._3_1_; } - pEVar29 = local_94; - RVar38 = local_a4; - if (bVar5 != 0) { - RVar22 = (RNG)((int)RVar22 + 1); - local_bc = RVar22; + pEVar31 = local_94; + pAVar30 = local_a4; + if (bVar6 != 0) { + pRVar24 = (Room *)((int)(((ANM2 *)pRVar24)->_filename)._buf + 1); + local_bc = pRVar24; } - if (RVar22 == (RNG)0x0) goto LAB_0065f522; + if (pRVar24 == (Room *)0x0) goto LAB_0065f522; do { - HandleCollision(pEVar29,0x14,0,RVar38,local_5c + 10,&g_vectorZero,&g_vectorZero); - local_bc = (RNG)((int)local_bc + -1); - } while (local_bc != (RNG)0x0); - local_bc = (RNG)0x0; + HandleCollision(pEVar31,0x14,0,pAVar30,&local_34,&g_vectorZero,&g_vectorZero); + local_bc = (Room *)((int)&((ANM2 *)((int)local_bc + -0x114))->_bitflags + 3); + } while (local_bc != (Room *)0x0); + local_bc = (Room *)0x0; } - if (pEVar29->_exists == 0) break; + if (pEVar31->_exists == 0) break; SoundEffects::PlayWithFartOverride(0xaf,2,0,0x3f800000); - uVar10 = Random(); - Game::Spawn(1000,2,&pEVar29->_pos,&g_vectorZero,0,3,uVar10); - uVar10 = Vector::Vector(); - FUN_004563c0(uVar10); + uVar11 = Random(); + Game::Spawn(1000,2,&pEVar31->_pos,&g_vectorZero,0,3,uVar11); + uVar11 = Vector::Vector(); + FUN_004563c0(uVar11); set_field_358(0x40a00000); } LAB_0065f5b0: - pEVar29 = local_94; + pEVar31 = local_94; break; case 3: - ANM2::Play(&pEVar29->_sprite,(byte *)"Prize",0); - cVar6 = Sprite::IsEventTriggered((Sprite *)&pEVar29->_sprite,"Prize"); - if (cVar6 != '\0') { - iVar15 = Game::Difficulty(g_game); - if (iVar15 == 1) { - local_c4 = (RNG)0x3f59999a; + ANM2::Play(&pEVar31->_sprite,(byte *)"Prize",0); + cVar7 = Sprite::IsEventTriggered((Sprite *)&pEVar31->_sprite,"Prize"); + if (cVar7 != '\0') { + iVar16 = Game::Difficulty(g_game); + if (iVar16 == 1) { + local_c4 = (ANM2 *)0x3f59999a; } - bVar5 = Entity_Player::HasCollectible((Entity_Player *)local_dc,0x2e,0); - if ((bVar5 != 0) || - ((bVar5 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x4c,0), bVar5 != 0 && - (uVar9 = RNG::RandomInt((RNG *)RVar22,5), uVar9 == 0)))) { - local_c4 = (RNG)((float)local_c4 * 0.46); + bVar6 = Entity_Player::HasCollectible((Entity_Player *)local_dc,0x2e,0); + if ((bVar6 != 0) || + ((bVar6 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x4c,0), bVar6 != 0 && + (uVar10 = RNG::RandomInt((RNG *)pRVar24,5), uVar10 == 0)))) { + local_c4 = (ANM2 *)((float)local_c4 * 0.46); } - local_9c[0] = (RNG)RNG::RandomFloat((RNG *)RVar22); + local_9c[0] = (ANM2 *)RNG::RandomFloat((RNG *)pRVar24); if ((float)local_c4 <= (float)local_9c[0]) { - RVar33 = local_c4; + pRVar35 = (Room *)local_c4; SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - uVar9 = RNG::RandomInt((RNG *)RVar22,0x14); - if (uVar9 == 0) { - uVar10 = Random(); - Game::Spawn(1000,1,&pEVar29->_pos,&g_vectorZero,0,0,uVar10); - spawn_break_drops(pEVar29); - ANM2::Play(&pEVar29->_sprite,(byte *)"Death",0); - *(undefined4 *)&pEVar29[1].field_0x4 = 3; + uVar10 = RNG::RandomInt((RNG *)pRVar24,0x14); + if (uVar10 == 0) { + uVar11 = Random(); + Game::Spawn(1000,1,&pEVar31->_pos,&g_vectorZero,0,0,uVar11); + spawn_break_drops(pEVar31); + ANM2::Play(&pEVar31->_sprite,(byte *)"Death",0); + *(undefined4 *)&pEVar31[1].field_0x4 = 3; } else { - uVar9 = RNG::RandomInt((RNG *)RVar22,0x1e); - if (uVar9 == 0) { - (**(code **)(*(int *)pEVar29 + 0x28))(); - uVar10 = Random(); - Game::Spawn(1000,1,&pEVar29->_pos,&g_vectorZero,0,0,uVar10); - uVar9 = RNG::Next((RNG *)RVar22); - uVar36 = 0; - pTVar39 = &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor; - pTVar37 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar13 = 0; - uVar10 = Game::Spawn(5,100,&pEVar29->_pos,&g_vectorZero,0,0x9e,uVar9); - pEVar19 = (Entity_Pickup *)__RTDynamicCast(uVar10,uVar13,pTVar37,pTVar39,uVar36); - Entity_Pickup::SetAlternatePedestal(pEVar19,1); - (**(code **)(*(int *)pEVar19 + 0xc))(); + uVar10 = RNG::RandomInt((RNG *)pRVar24,0x1e); + if (uVar10 == 0) { + (**(code **)(*(int *)pEVar31 + 0x28))(); + uVar11 = Random(); + Game::Spawn(1000,1,&pEVar31->_pos,&g_vectorZero,0,0,uVar11); + uVar10 = RNG::Next((RNG *)pRVar24); + uVar38 = 0; + pTVar41 = &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor; + pTVar39 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar14 = 0; + uVar11 = Game::Spawn(5,100,&pEVar31->_pos,&g_vectorZero,0,0x9e,uVar10); + pEVar20 = (Entity_Pickup *)__RTDynamicCast(uVar11,uVar14,pTVar39,pTVar41,uVar38); + Entity_Pickup::SetAlternatePedestal(pEVar20,1); + (**(code **)(*(int *)pEVar20 + 0xc))(); goto LAB_0065f5b0; } - uVar9 = RNG::RandomInt((RNG *)RVar22,3); - if (uVar9 == 0) goto LAB_0065facd; - uVar9 = RNG::RandomInt((RNG *)RVar22,3); - if ((uVar9 != 0) || - ((bVar5 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x16,0), bVar5 != 0 && - (uVar9 = RNG::RandomInt((RNG *)local_cc,5), uVar9 != 0)))) { - local_ac = (RNG)&pEVar29->_pos; + uVar10 = RNG::RandomInt((RNG *)pRVar24,3); + if (uVar10 == 0) goto LAB_0065facd; + uVar10 = RNG::RandomInt((RNG *)pRVar24,3); + if ((uVar10 != 0) || + ((bVar6 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x16,0), bVar6 != 0 && + (uVar10 = RNG::RandomInt((RNG *)local_cc,5), uVar10 != 0)))) { + local_ac = (ANM2 *)&pEVar31->_pos; local_b8 = g_vectorZero.x; - iVar15 = 0; - local_b4 = (RNG)g_vectorZero.y; + iVar16 = 0; + local_b4 = (ANM2 *)g_vectorZero.y; do { - RNG::Next(local_5c + 10); + RNG::Next(&local_34); RandomVector(); - local_9c[0] = (RNG)0x40a00000; - uVar10 = Vector::__mul(local_e8,local_9c); - Vector::operator_assign(uVar10); - RVar33 = (RNG)((float)local_b4 * 0.2 + 3.0); - local_b4 = RVar33; + local_9c[0] = (ANM2 *)0x40a00000; + uVar11 = Vector::__mul(local_e8,local_9c); + Vector::operator_assign(uVar11); + pRVar35 = (Room *)((float)local_b4 * 0.2 + 3.0); + local_b4 = (ANM2 *)pRVar35; Level::GetCurrentRoom((Level *)g_game); local_d4 = 7.0; - uVar10 = Vector::__mul(&local_c8,&local_d4); - uVar10 = Vector::__add(&local_d0,uVar10); - cVar6 = Room::CheckLine(local_ac,uVar10,1,0,0,0,0); - if (cVar6 != '\0') break; - iVar15 = iVar15 + 1; - } while (iVar15 < 10); - uVar9 = RNG::Next((RNG *)local_bc); + uVar11 = Vector::__mul(&local_c8,&local_d4); + uVar11 = Vector::__add(&local_d0,uVar11); + cVar7 = Room::CheckLine(local_ac,uVar11,1,0,0,0,0); + if (cVar7 != '\0') break; + iVar16 = iVar16 + 1; + } while (iVar16 < 10); + uVar10 = RNG::Next((RNG *)local_bc); goto LAB_0065fc5e; } - HandleCollision(pEVar29,10,3,local_a4,local_5c + 10,&g_vectorZero,&g_vectorZero); + HandleCollision(pEVar31,10,3,local_a4,&local_34,&g_vectorZero,&g_vectorZero); } } else { - RVar33 = (RNG)0x3b03126f; + pRVar35 = (Room *)0x3b03126f; if (0.002 <= (float)local_9c[0]) { Game::ShowFortune(); } @@ -321026,759 +321322,759 @@ LAB_0065f5b0: } break; case 4: - ANM2::Play(&pEVar29->_sprite,(byte *)"Prize",0); - cVar6 = Sprite::IsEventTriggered((Sprite *)&pEVar29->_sprite,"Prize"); - if (cVar6 != '\0') { + ANM2::Play(&pEVar31->_sprite,(byte *)"Prize",0); + cVar7 = Sprite::IsEventTriggered((Sprite *)&pEVar31->_sprite,"Prize"); + if (cVar7 != '\0') { SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - uVar9 = RNG::RandomInt((RNG *)RVar22,2); - if (uVar9 == 0) { - uVar9 = RNG::RandomInt((RNG *)RVar22,3); - if ((uVar9 == 0) && - ((bVar5 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x16,0), bVar5 == 0 || - (uVar9 = RNG::RandomInt((RNG *)local_cc,5), uVar9 == 0)))) { - HandleCollision(pEVar29,10,0,local_a4,local_5c + 10,&g_vectorZero,&g_vectorZero); + uVar10 = RNG::RandomInt((RNG *)pRVar24,2); + if (uVar10 == 0) { + uVar10 = RNG::RandomInt((RNG *)pRVar24,3); + if ((uVar10 == 0) && + ((bVar6 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x16,0), bVar6 == 0 || + (uVar10 = RNG::RandomInt((RNG *)local_cc,5), uVar10 == 0)))) { + HandleCollision(pEVar31,10,0,local_a4,&local_34,&g_vectorZero,&g_vectorZero); } else { - uVar9 = RNG::RandomInt((RNG *)RVar22,2); - if (uVar9 == 0) { - HandleCollision(pEVar29,0x1e,0,local_a4,local_5c + 10,&g_vectorZero,&g_vectorZero); + uVar10 = RNG::RandomInt((RNG *)pRVar24,2); + if (uVar10 == 0) { + HandleCollision(pEVar31,0x1e,0,local_a4,&local_34,&g_vectorZero,&g_vectorZero); } else { - HandleCollision(pEVar29,0x28,0,local_a4,local_5c + 10,&g_vectorZero,&g_vectorZero); + HandleCollision(pEVar31,0x28,0,local_a4,&local_34,&g_vectorZero,&g_vectorZero); } } } else { - uVar9 = RNG::RandomInt((RNG *)RVar22,2); - if (uVar9 == 0) { - uVar9 = RNG::RandomInt((RNG *)RVar22,2); - if (uVar9 != 0) { + uVar10 = RNG::RandomInt((RNG *)pRVar24,2); + if (uVar10 == 0) { + uVar10 = RNG::RandomInt((RNG *)pRVar24,2); + if (uVar10 != 0) { LAB_0065facd: - HandleCollision(pEVar29,300,0,local_a4,local_5c + 10,&g_vectorZero,&g_vectorZero); + HandleCollision(pEVar31,300,0,local_a4,&local_34,&g_vectorZero,&g_vectorZero); break; } - uVar9 = RNG::RandomInt((RNG *)RVar22,5); - local_ac = (RNG)(uVar9 + 0x16); + uVar10 = RNG::RandomInt((RNG *)pRVar24,5); + local_ac = (ANM2 *)(uVar10 + 0x16); Game::GetPlayerManager(g_game); - cVar6 = FUN_0060d1c0(0x1f); - if (cVar6 == '\0') { + cVar7 = FUN_0060d1c0(0x1f); + if (cVar7 == '\0') { Game::GetPlayerManager(g_game); - cVar6 = FUN_0065cfe0(10); - if (cVar6 != '\0') goto LAB_0065fdc3; + cVar7 = FUN_0065cfe0(10); + if (cVar7 != '\0') goto LAB_0065fdc3; } else { LAB_0065fdc3: - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - uVar9 = RNG::Next((RNG *)RVar22); - local_ac = (RNG)ItemPool::GetCollectible(pIVar17,10,uVar9,0,0,0); + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + uVar10 = RNG::Next((RNG *)pRVar24); + local_ac = (ANM2 *)ItemPool::GetCollectible(pIVar18,10,uVar10,0,0,0); } - uVar9 = RNG::Next((RNG *)RVar22); - uVar10 = FUN_006653c0(&local_a0); - RVar22 = local_ac; + uVar10 = RNG::Next((RNG *)pRVar24); + uVar11 = FUN_006653c0(&local_a0); + pAVar30 = local_ac; } else { - uVar9 = RNG::Next((RNG *)RVar22); - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - uVar12 = RNG::Next((RNG *)local_bc); - RVar22 = (RNG)ItemPool::GetCollectible(pIVar17,10,uVar12,0,0,0); - uVar10 = FUN_006653c0(&local_a0); + uVar10 = RNG::Next((RNG *)pRVar24); + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + uVar13 = RNG::Next((RNG *)local_bc); + pAVar30 = (ANM2 *)ItemPool::GetCollectible(pIVar18,10,uVar13,0,0,0); + uVar11 = FUN_006653c0(&local_a0); } - Game::Spawn(5,100,uVar10,&g_vectorZero,0,RVar22,uVar9); - pEVar29 = local_94; + Game::Spawn(5,100,uVar11,&g_vectorZero,0,pAVar30,uVar10); + pEVar31 = local_94; *(undefined4 *)&local_94[1].field_0x4 = 4; ANM2::Play(&local_94->_sprite,(byte *)"Teleport",0); - pLVar20 = (Level *)Config::GetCollectibles(); - Level::SetStateFlag(pLVar20,3,1); + pLVar21 = (Level *)Config::GetCollectibles(); + Level::SetStateFlag(pLVar21,3,1); } } break; case 5: - ANM2::Play(&pEVar29->_sprite,(byte *)"Prize",0); - cVar6 = Sprite::IsEventTriggered((Sprite *)&pEVar29->_sprite,"Prize"); - if (cVar6 != '\0') { + ANM2::Play(&pEVar31->_sprite,(byte *)"Prize",0); + cVar7 = Sprite::IsEventTriggered((Sprite *)&pEVar31->_sprite,"Prize"); + if (cVar7 != '\0') { SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - local_ac = (RNG)&pEVar29->_pos; + local_ac = (ANM2 *)&pEVar31->_pos; local_b8 = g_vectorZero.x; - iVar15 = 0; - local_b4 = (RNG)g_vectorZero.y; + iVar16 = 0; + local_b4 = (ANM2 *)g_vectorZero.y; do { - RNG::Next(local_5c + 10); + RNG::Next(&local_34); RandomVector(); - local_9c[0] = (RNG)0x40a00000; - uVar10 = Vector::__mul(local_e8,local_9c); - Vector::operator_assign(uVar10); - RVar33 = (RNG)((float)local_b4 * 0.2 + 3.0); - local_b4 = RVar33; + local_9c[0] = (ANM2 *)0x40a00000; + uVar11 = Vector::__mul(local_e8,local_9c); + Vector::operator_assign(uVar11); + pRVar35 = (Room *)((float)local_b4 * 0.2 + 3.0); + local_b4 = (ANM2 *)pRVar35; Level::GetCurrentRoom((Level *)g_game); local_d4 = 7.0; - uVar10 = Vector::__mul(&local_c8,&local_d4); - uVar10 = Vector::__add(&local_d0,uVar10); - cVar6 = Room::CheckLine(local_ac,uVar10,1,0,0,0,0); - RVar22 = local_bc; - if (cVar6 != '\0') break; - iVar15 = iVar15 + 1; - } while (iVar15 < 10); - uVar9 = RNG::RandomInt((RNG *)local_bc,2); - if (uVar9 == 0) { - uVar9 = RNG::RandomInt((RNG *)RVar22,2); - pEVar29 = local_94; - if (uVar9 == 0) { - HandleCollision(local_94,0x46,0,local_a4,local_5c + 10,&g_vectorZero,&g_vectorZero); + uVar11 = Vector::__mul(&local_c8,&local_d4); + uVar11 = Vector::__add(&local_d0,uVar11); + cVar7 = Room::CheckLine(local_ac,uVar11,1,0,0,0,0); + pRVar24 = local_bc; + if (cVar7 != '\0') break; + iVar16 = iVar16 + 1; + } while (iVar16 < 10); + uVar10 = RNG::RandomInt((RNG *)local_bc,2); + if (uVar10 == 0) { + uVar10 = RNG::RandomInt((RNG *)pRVar24,2); + pEVar31 = local_94; + if (uVar10 == 0) { + HandleCollision(local_94,0x46,0,local_a4,&local_34,&g_vectorZero,&g_vectorZero); } else { - HandleCollision(local_94,300,0,local_a4,local_5c + 10,&g_vectorZero,&g_vectorZero); + HandleCollision(local_94,300,0,local_a4,&local_34,&g_vectorZero,&g_vectorZero); } } else { - uVar9 = RNG::RandomInt((RNG *)RVar22,4); - if (uVar9 == 0) { - uVar9 = RNG::Next((RNG *)RVar22); + uVar10 = RNG::RandomInt((RNG *)pRVar24,4); + if (uVar10 == 0) { + uVar10 = RNG::Next((RNG *)pRVar24); LAB_0065fc5e: - Game::Spawn(5,0x15e,local_ac,&local_b8,0,0,uVar9); + Game::Spawn(5,0x15e,local_ac,&local_b8,0,0,uVar10); goto LAB_0065f5b0; } - uVar9 = RNG::Next((RNG *)RVar22); - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - uVar12 = RNG::Next((RNG *)local_bc); - uVar10 = ItemPool::GetCollectible(pIVar17,0xb,uVar12,0,0,0); - uVar13 = FUN_006653c0(&local_a0); - Game::Spawn(5,100,uVar13,&g_vectorZero,0,uVar10,uVar9); - pEVar29 = local_94; + uVar10 = RNG::Next((RNG *)pRVar24); + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + uVar13 = RNG::Next((RNG *)local_bc); + uVar11 = ItemPool::GetCollectible(pIVar18,0xb,uVar13,0,0,0); + uVar14 = FUN_006653c0(&local_a0); + Game::Spawn(5,100,uVar14,&g_vectorZero,0,uVar11,uVar10); + pEVar31 = local_94; *(undefined4 *)&local_94[1].field_0x4 = 4; ANM2::Play(&local_94->_sprite,(byte *)"Teleport",0); - pLVar20 = (Level *)Config::GetCollectibles(); - Level::SetStateFlag(pLVar20,4,1); + pLVar21 = (Level *)Config::GetCollectibles(); + Level::SetStateFlag(pLVar21,4,1); } } break; case 6: case 0xf: - ANM2::Play(&pEVar29->_sprite, - (&PTR_s_Shell1Prize_00b64c30)[*(short *)((int)&pEVar29[1]._damageEvents._end + 2)],0) + ANM2::Play(&pEVar31->_sprite, + (&PTR_s_Shell1Prize_00b64c30)[*(short *)((int)&pEVar31[1]._damageEvents._end + 2)],0) ; - cVar6 = Sprite::IsEventTriggered((Sprite *)&pEVar29->_sprite,"Prize"); - if (cVar6 != '\0') { - uVar9 = RNG::RandomInt((RNG *)RVar22,3); - if (((uVar9 == 0) || - ((bVar5 = Entity_Player::HasCollectible((Entity_Player *)local_dc,0x2e,0), bVar5 != 0 && - (uVar9 = RNG::RandomInt((RNG *)local_e4,3), uVar9 == 0)))) || - ((bVar5 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x4c,0), bVar5 != 0 && - (uVar9 = RNG::RandomInt((RNG *)local_e4,0x14), uVar9 == 0)))) { + cVar7 = Sprite::IsEventTriggered((Sprite *)&pEVar31->_sprite,"Prize"); + if (cVar7 != '\0') { + uVar10 = RNG::RandomInt((RNG *)pRVar24,3); + if (((uVar10 == 0) || + ((bVar6 = Entity_Player::HasCollectible((Entity_Player *)local_dc,0x2e,0), bVar6 != 0 && + (uVar10 = RNG::RandomInt((RNG *)local_e4,3), uVar10 == 0)))) || + ((bVar6 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x4c,0), bVar6 != 0 && + (uVar10 = RNG::RandomInt((RNG *)local_e4,0x14), uVar10 == 0)))) { SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - pvVar16 = pEVar29[1]._damageEvents._begin; - local_cc = (RNG)0x1; - if (pvVar16 == (void *)0x14) { - uVar9 = RNG::RandomInt((RNG *)RVar22,2); - local_cc = (RNG)(uVar9 + 2); + pvVar17 = pEVar31[1]._damageEvents._begin; + local_cc = (ANM2 *)0x1; + if (pvVar17 == (void *)0x14) { + uVar10 = RNG::RandomInt((RNG *)pRVar24,2); + local_cc = (ANM2 *)(uVar10 + 2); } - else if (pvVar16 != (void *)0x64) { - local_9c[0] = (RNG)0x2; - local_d4 = (float)RNG::RandomInt((RNG *)RVar22,3); - pRVar21 = (RNG *)FUN_0040cdc0(); - local_cc = *pRVar21; + else if (pvVar17 != (void *)0x64) { + local_9c[0] = (ANM2 *)0x2; + local_d4 = (float)RNG::RandomInt((RNG *)pRVar24,3); + puVar22 = (undefined4 *)FUN_0040cdc0(); + local_cc = (ANM2 *)*puVar22; } - pvVar16 = pEVar29[1]._damageEvents._begin; - if (pvVar16 == (void *)0x0) { + pvVar17 = pEVar31[1]._damageEvents._begin; + if (pvVar17 == (void *)0x0) { Vector::Vector(); - EVar30 = local_dc; - if (local_cc != (RNG)0x0) { - local_9c[0] = (RNG)&pEVar29->_pos; - RVar22 = local_cc; + EVar32 = local_dc; + if (local_cc != (ANM2 *)0x0) { + local_9c[0] = (ANM2 *)&pEVar31->_pos; + pAVar30 = local_cc; do { - pVVar41 = &g_vectorZero; - uVar10 = Vector::__add(&local_b8,local_d8); - Entity_Player::ThrowBlueSpider((Entity_Player *)EVar30,uVar10,pVVar41); - RVar22 = (RNG)((int)RVar22 + -1); - } while (RVar22 != (RNG)0x0); - pEVar29 = local_94; + pVVar43 = &g_vectorZero; + uVar11 = Vector::__add(&local_b8,local_d8); + Entity_Player::ThrowBlueSpider((Entity_Player *)EVar32,uVar11,pVVar43); + pAVar30 = (ANM2 *)((int)&pAVar30[-1]._bitflags + 3); + } while (pAVar30 != (ANM2 *)0x0); + pEVar31 = local_94; } } - else if (pvVar16 == (void *)0x64) { - if (pEVar29->_variant == 0xf) { - uVar9 = RNG::Next((RNG *)RVar22); - fVar32 = pEVar29[1]._sprite._championColor._colorize[2]; - uVar10 = FUN_006653c0(local_5c + 8); - Game::Spawn(5,100,uVar10,&g_vectorZero,0,fVar32,uVar9); + else if (pvVar17 == (void *)0x64) { + if (pEVar31->_variant == 0xf) { + uVar10 = RNG::Next((RNG *)pRVar24); + fVar34 = pEVar31[1]._sprite._championColor._colorize[2]; + uVar11 = FUN_006653c0(&RStack_44._shift2); + Game::Spawn(5,100,uVar11,&g_vectorZero,0,fVar34,uVar10); Game::GetItemPool(g_game); - pEVar29 = local_94; + pEVar31 = local_94; ItemPool::RemoveCollectible(local_94[1]._sprite._championColor._colorize[2],0,0); } else { - uVar9 = RNG::Next((RNG *)RVar22); - uVar10 = FUN_006653c0(local_5c + 8); - Game::Spawn(5,100,uVar10,&g_vectorZero,0,9,uVar9); - pEVar29 = local_94; + uVar10 = RNG::Next((RNG *)pRVar24); + uVar11 = FUN_006653c0(&RStack_44._shift2); + Game::Spawn(5,100,uVar11,&g_vectorZero,0,9,uVar10); + pEVar31 = local_94; } - *(undefined4 *)&pEVar29[1].field_0x4 = 4; - ANM2::Play(&pEVar29->_sprite,(byte *)"Teleport",0); + *(undefined4 *)&pEVar31[1].field_0x4 = 4; + ANM2::Play(&pEVar31->_sprite,(byte *)"Teleport",0); } else { - local_c4 = (RNG)0x0; - if (pvVar16 == (void *)0xa) { - if (pEVar29->_variant != 0xf) goto LAB_00660ed1; - local_c4 = (RNG)&DAT_00000006; - local_cc = (RNG)0x1; + local_c4 = (ANM2 *)0x0; + if (pvVar17 == (void *)0xa) { + if (pEVar31->_variant != 0xf) goto LAB_00660ed1; + local_c4 = (ANM2 *)&DAT_00000006; + local_cc = (ANM2 *)0x1; } - else if (pvVar16 == (void *)0x12c) { - local_cc = (RNG)0x1; + else if (pvVar17 == (void *)0x12c) { + local_cc = (ANM2 *)0x1; } else { LAB_00660ed1: - if (local_cc == (RNG)0x0) goto LAB_0066113f; + if (local_cc == (ANM2 *)0x0) goto LAB_0066113f; } - local_e4 = (RNG)&pEVar29->_pos; + local_e4 = (ANM2 *)&pEVar31->_pos; do { EntityPtr::clear(); EntityPtr::clear(); - local_ac = (RNG)0x0; + local_ac = (ANM2 *)0x0; do { Vector::Vector(); MusicManager::RandomVector(local_e0); - local_9c[0] = (RNG)0x40000000; - uVar10 = Vector::__mul(local_f8,local_9c); - uVar10 = Vector::__add(local_110,uVar10); - Vector::operator_assign(uVar10); - uVar10 = Vector::Vector(); - Vector::operator_assign(uVar10); + local_9c[0] = (ANM2 *)0x40000000; + uVar11 = Vector::__mul(local_f8,local_9c); + uVar11 = Vector::__add(local_110,uVar11); + Vector::operator_assign(uVar11); + uVar11 = Vector::Vector(); + Vector::operator_assign(uVar11); Level::GetCurrentRoom((Level *)g_game); local_d4 = 7.0; - uVar10 = Vector::__mul(local_100,&local_d4); - uVar10 = Vector::__add(local_5c + 2,uVar10); - uVar13 = Vector::__add(local_5c + 8,&local_f0); - cVar6 = Room::CheckLine(uVar13,uVar10,1,0,0,0,0); - pEVar29 = local_94; - if (cVar6 != '\0') break; - local_ac = (RNG)((int)local_ac + 1); - } while ((uint)local_ac < (undefined1 *)0xa); - HandleCollision(local_94,local_94[1]._damageEvents._begin,local_c4,local_a4, - local_5c + 10,&local_f0,&local_b8); - local_cc = (RNG)((int)local_cc + -1); - } while (local_cc != (RNG)0x0); - local_cc = (RNG)0x0; + uVar11 = Vector::__mul(local_100,&local_d4); + uVar11 = Vector::__add(local_5c + 2,uVar11); + uVar14 = Vector::__add(&RStack_44._shift2,&local_f0); + cVar7 = Room::CheckLine(uVar14,uVar11,1,0,0,0,0); + pEVar31 = local_94; + if (cVar7 != '\0') break; + local_ac = (ANM2 *)((int)(local_ac->_filename)._buf + 1); + } while (local_ac < (ANM2 *)0xa); + HandleCollision(local_94,local_94[1]._damageEvents._begin,local_c4,local_a4,&local_34, + &local_f0,&local_b8); + local_cc = (ANM2 *)((int)&local_cc[-1]._bitflags + 3); + } while (local_cc != (ANM2 *)0x0); + local_cc = (ANM2 *)0x0; } } else { SoundEffects::PlayWithFartOverride(0xbb,2,0,0x3f800000); Vector::Vector(); MusicManager::RandomVector(local_e8); - local_9c[0] = (RNG)0x40000000; - uVar10 = Vector::__mul(local_b0,local_9c); - Vector::__add(&local_b8,uVar10); - pEVar29 = local_94; + local_9c[0] = (ANM2 *)0x40000000; + uVar11 = Vector::__mul(local_b0,local_9c); + Vector::__add(&local_b8,uVar11); + pEVar31 = local_94; Vector::Vector(); - local_9c[0] = (RNG)&pEVar29->_pos; - if (pEVar29->_variant == 0xf) { + local_9c[0] = (ANM2 *)&pEVar31->_pos; + if (pEVar31->_variant == 0xf) { local_a0 = g_vectorZero.x; - local_9c[0] = (RNG)g_vectorZero.y; - RVar33 = (RNG)g_vectorZero.y; - uVar10 = Vector::__add(&local_f0,local_d8); - Entity_NPC::ThrowSpider(uVar10,0,local_a0,local_9c[0],0,0xc1f00000); + local_9c[0] = (ANM2 *)g_vectorZero.y; + pRVar35 = (Room *)g_vectorZero.y; + uVar11 = Vector::__add(&local_f0,local_d8); + Entity_NPC::ThrowSpider(uVar11,0,local_a0,local_9c[0],0,0xc1f00000); } else { - uVar9 = RNG::Next((RNG *)RVar22); - uVar10 = Vector::__add(&local_f0,local_d8); - Game::Spawn(0x12,0,uVar10,&local_b8,0,0,uVar9); - pEVar29 = local_94; + uVar10 = RNG::Next((RNG *)pRVar24); + uVar11 = Vector::__add(&local_f0,local_d8); + Game::Spawn(0x12,0,uVar11,&local_b8,0,0,uVar10); + pEVar31 = local_94; } } } LAB_0066113f: - cVar6 = ANM2::IsFinishedImpl(&pEVar29->_sprite,&s_empty); - if (cVar6 != '\0') { - *(undefined4 *)&pEVar29[1].field_0x4 = 1; - ANM2::Play(&pEVar29->_sprite,s_Idle,0); + cVar7 = ANM2::IsFinishedImpl(&pEVar31->_sprite,&s_empty); + if (cVar7 != '\0') { + *(undefined4 *)&pEVar31[1].field_0x4 = 1; + ANM2::Play(&pEVar31->_sprite,s_Idle,0); } break; case 7: - ANM2::Play(&pEVar29->_sprite,(byte *)"Prize",0); - cVar6 = Sprite::IsEventTriggered((Sprite *)&pEVar29->_sprite,"Prize"); - if (cVar6 != '\0') { + ANM2::Play(&pEVar31->_sprite,(byte *)"Prize",0); + cVar7 = Sprite::IsEventTriggered((Sprite *)&pEVar31->_sprite,"Prize"); + if (cVar7 != '\0') { SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - uVar9 = RNG::RandomInt((RNG *)RVar22,8); - if ((uVar9 != 0) && (*(char *)&pEVar29[1]._damageEvents._end == '\0')) { - local_ac = (RNG)&pEVar29->_pos; + uVar10 = RNG::RandomInt((RNG *)pRVar24,8); + if ((uVar10 != 0) && (*(char *)&pEVar31[1]._damageEvents._end == '\0')) { + local_ac = (ANM2 *)&pEVar31->_pos; local_b8 = g_vectorZero.x; - iVar15 = 0; - local_b4 = (RNG)g_vectorZero.y; + iVar16 = 0; + local_b4 = (ANM2 *)g_vectorZero.y; do { - RNG::Next(local_5c + 10); + RNG::Next(&local_34); RandomVector(); - local_9c[0] = (RNG)0x40a00000; - uVar10 = Vector::__mul(local_5c + 2,local_9c); - Vector::operator_assign(uVar10); - RVar33 = (RNG)((float)local_b4 * 0.2 + 3.0); - local_b4 = RVar33; + local_9c[0] = (ANM2 *)0x40a00000; + uVar11 = Vector::__mul(local_5c + 2,local_9c); + Vector::operator_assign(uVar11); + pRVar35 = (Room *)((float)local_b4 * 0.2 + 3.0); + local_b4 = (ANM2 *)pRVar35; Level::GetCurrentRoom((Level *)g_game); local_d4 = 7.0; - uVar10 = Vector::__mul(local_100,&local_d4); - uVar10 = Vector::__add(local_108,uVar10); - cVar6 = Room::CheckLine(local_ac,uVar10,1,0,0,0,0); - if (cVar6 != '\0') break; - iVar15 = iVar15 + 1; - } while (iVar15 < 10); - uVar9 = RNG::Next((RNG *)local_bc); - local_9c[0] = (RNG)0x40a00000; - uVar10 = Vector::__mul(local_5c + 8,local_9c); - uVar12 = RNG::RandomInt((RNG *)local_bc,3); - Game::Spawn(5,*(undefined4 *)(&DAT_00b62fd0 + uVar12 * 4),local_ac,uVar10,0,0,uVar9); + uVar11 = Vector::__mul(local_100,&local_d4); + uVar11 = Vector::__add(local_108,uVar11); + cVar7 = Room::CheckLine(local_ac,uVar11,1,0,0,0,0); + if (cVar7 != '\0') break; + iVar16 = iVar16 + 1; + } while (iVar16 < 10); + uVar10 = RNG::Next((RNG *)local_bc); + local_9c[0] = (ANM2 *)0x40a00000; + uVar11 = Vector::__mul(&RStack_44._shift2,local_9c); + uVar13 = RNG::RandomInt((RNG *)local_bc,3); + Game::Spawn(5,*(undefined4 *)(&DAT_00b62fd0 + uVar13 * 4),local_ac,uVar11,0,0,uVar10); goto LAB_0065f5b0; } - local_ac = (RNG)&pEVar29->_pos; + local_ac = (ANM2 *)&pEVar31->_pos; local_b8 = g_vectorZero.x; - iVar15 = 0; - local_b4 = (RNG)g_vectorZero.y; + iVar16 = 0; + local_b4 = (ANM2 *)g_vectorZero.y; do { - RNG::Next(local_5c + 10); + RNG::Next(&local_34); RandomVector(); - local_9c[0] = (RNG)0x40a00000; - uVar10 = Vector::__mul(local_5c + 2,local_9c); - Vector::operator_assign(uVar10); - RVar33 = (RNG)((float)local_b4 * 0.2 + 3.0); - local_b4 = RVar33; + local_9c[0] = (ANM2 *)0x40a00000; + uVar11 = Vector::__mul(local_5c + 2,local_9c); + Vector::operator_assign(uVar11); + pRVar35 = (Room *)((float)local_b4 * 0.2 + 3.0); + local_b4 = (ANM2 *)pRVar35; Level::GetCurrentRoom((Level *)g_game); local_d4 = 7.0; - uVar10 = Vector::__mul(local_100,&local_d4); - uVar10 = Vector::__add(local_108,uVar10); - cVar6 = Room::CheckLine(local_ac,uVar10,1,0,0,0,0); - pEVar29 = local_94; - if (cVar6 != '\0') break; - iVar15 = iVar15 + 1; - } while (iVar15 < 10); - pRVar21 = &local_94->_dropRNG; + uVar11 = Vector::__mul(local_100,&local_d4); + uVar11 = Vector::__add(local_108,uVar11); + cVar7 = Room::CheckLine(local_ac,uVar11,1,0,0,0,0); + pEVar31 = local_94; + if (cVar7 != '\0') break; + iVar16 = iVar16 + 1; + } while (iVar16 < 10); + pRVar1 = &local_94->_dropRNG; if ((*(char *)&local_94[1]._damageEvents._end == '\0') && - (uVar9 = RNG::RandomInt(pRVar21,2), uVar9 == 0)) { - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - cVar6 = ItemPool::RemoveTrinket(pIVar17,0x13); - if (cVar6 == '\0') goto LAB_0066148d; - uVar9 = RNG::Next(pRVar21); - Game::Spawn(5,0x15e,&pEVar29->_pos,&local_b8,pEVar29,0x13,uVar9); + (uVar10 = RNG::RandomInt(pRVar1,2), uVar10 == 0)) { + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + cVar7 = ItemPool::RemoveTrinket(pIVar18,0x13); + if (cVar7 == '\0') goto LAB_0066148d; + uVar10 = RNG::Next(pRVar1); + Game::Spawn(5,0x15e,&pEVar31->_pos,&local_b8,pEVar31,0x13,uVar10); } else { LAB_0066148d: - local_9c[0] = (RNG)RNG::Next(pRVar21); - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - uVar9 = RNG::Next(pRVar21); - uVar10 = ItemPool::GetCollectible(pIVar17,0xd,uVar9,0,0,0); + local_9c[0] = (ANM2 *)RNG::Next(pRVar1); + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + uVar10 = RNG::Next(pRVar1); + uVar11 = ItemPool::GetCollectible(pIVar18,0xd,uVar10,0,0,0); Level::GetCurrentRoom((Level *)g_game); - uVar13 = Vector::Vector(); - uVar13 = Vector::__add(local_5c + 2,uVar13); - uVar13 = Room::FindFreePickupSpawnPosition(local_100,uVar13,0,0,0,0); - Game::Spawn(5,100,uVar13,&g_vectorZero,0,uVar10,local_9c[0]); - pEVar29 = local_94; + uVar14 = Vector::Vector(); + uVar14 = Vector::__add(local_5c + 2,uVar14); + uVar14 = Room::FindFreePickupSpawnPosition(local_100,uVar14,0,0,0,0); + Game::Spawn(5,100,uVar14,&g_vectorZero,0,uVar11,local_9c[0]); + pEVar31 = local_94; } - *(undefined1 *)&pEVar29[1]._damageEvents._end = 0; - *(undefined4 *)&pEVar29[1].field_0x4 = 4; - ANM2::Play(&pEVar29->_sprite,(byte *)"Teleport",0); + *(undefined1 *)&pEVar31[1]._damageEvents._end = 0; + *(undefined4 *)&pEVar31[1].field_0x4 = 4; + ANM2::Play(&pEVar31->_sprite,(byte *)"Teleport",0); } break; case 8: - local_c4 = (RNG)&pEVar29->_sprite; - pAVar24 = (AnimationState *)FUN_0041e470(); - bVar5 = AnimationState::IsEventTriggered(pAVar24,(byte *)"CoinInsert"); - if (bVar5 != 0) { - *(undefined4 *)&pEVar29[1].field_0x4 = 1; - uVar9 = FUN_00424e60(0x14); - local_a4 = (RNG)(uVar9 % 1000); + local_c4 = &pEVar31->_sprite; + pAVar25 = (AnimationState *)FUN_0041e470(); + bVar6 = AnimationState::IsEventTriggered(pAVar25,(byte *)"CoinInsert"); + if (bVar6 != 0) { + *(undefined4 *)&pEVar31[1].field_0x4 = 1; + uVar10 = FUN_00424e60(0x14); + local_a4 = (ANM2 *)(uVar10 % 1000); PersistentGameData::IncreaseEventCounter - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x14,1); - RVar38 = (RNG)((int)local_a4 + 1); - local_a4 = RVar38; - ANM2::SetFrame((ANM2 *)local_c4,(std_string *)"Prize",0); - ANM2::SetLayerFrame((ANM2 *)local_c4,1,((int)RVar38 / 100) % 10); - ANM2::SetLayerFrame((ANM2 *)local_c4,2,((int)RVar38 / 10) % 10); - ANM2::SetLayerFrame((ANM2 *)local_c4,3,(int)((int)local_a4 + ((int)RVar38 / 10) * -10)); - uVar9 = RNG::RandomInt((RNG *)RVar22,0x32); - EVar30 = local_dc; - if (uVar9 == 0) { + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x14,1); + pAVar30 = (ANM2 *)((int)local_a4 + 1); + local_a4 = pAVar30; + ANM2::SetFrame(local_c4,(std_string *)"Prize",0); + ANM2::SetLayerFrame(local_c4,1,((int)pAVar30 / 100) % 10); + ANM2::SetLayerFrame(local_c4,2,((int)pAVar30 / 10) % 10); + ANM2::SetLayerFrame(local_c4,3,(int)((int)local_a4 + ((int)pAVar30 / 10) * -10)); + uVar10 = RNG::RandomInt((RNG *)pRVar24,0x32); + EVar32 = local_dc; + if (uVar10 == 0) { Entity_Player::DonateLuck((Entity_Player *)local_dc,1); } - bVar5 = Entity_Player::HasTrinket((Entity_Player *)EVar30,0x55,0); - if ((bVar5 == 0) || (uVar9 = RNG::RandomInt((RNG *)RVar22,3), uVar9 != 0)) { + bVar6 = Entity_Player::HasTrinket((Entity_Player *)EVar32,0x55,0); + if ((bVar6 == 0) || (uVar10 = RNG::RandomInt((RNG *)pRVar24,3), uVar10 != 0)) { LAB_006616a8: - pEVar29 = local_94; + pEVar31 = local_94; } else { - local_9c[0] = (RNG)RNG::RandomFloat((RNG *)RVar22); - RVar33 = (RNG)0x3ecccccd; + local_9c[0] = (ANM2 *)RNG::RandomFloat((RNG *)pRVar24); + pRVar35 = (Room *)0x3ecccccd; if ((float)local_9c[0] < 0.4) { - iVar15 = Entity_Player::GetTrinketMultiplier((Entity_Player *)EVar30,0x55); - Entity_Player::AddCoins((Entity_Player *)EVar30,iVar15); + iVar16 = Entity_Player::GetTrinketMultiplier((Entity_Player *)EVar32,0x55); + Entity_Player::AddCoins((Entity_Player *)EVar32,iVar16); goto LAB_006616a8; } - RVar33 = (RNG)0x3f4ccccd; + pRVar35 = (Room *)0x3f4ccccd; if ((float)local_9c[0] < 0.8) { unk2 = 0; - bVar5 = 0; - iVar15 = Entity_Player::GetTrinketMultiplier((Entity_Player *)EVar30,0x55); - Entity_Player::AddHearts((Entity_Player *)EVar30,iVar15 * 2,bVar5,unk2); + bVar6 = 0; + iVar16 = Entity_Player::GetTrinketMultiplier((Entity_Player *)EVar32,0x55); + Entity_Player::AddHearts((Entity_Player *)EVar32,iVar16 * 2,bVar6,unk2); goto LAB_006616a8; } - RVar33 = (RNG)0x3f733333; + pRVar35 = (Room *)0x3f733333; if ((float)local_9c[0] < 0.95) { - iVar15 = Entity_Player::GetTrinketMultiplier((Entity_Player *)EVar30,0x55); - Entity_Player::DonateLuck((Entity_Player *)EVar30,iVar15); + iVar16 = Entity_Player::GetTrinketMultiplier((Entity_Player *)EVar32,0x55); + Entity_Player::DonateLuck((Entity_Player *)EVar32,iVar16); goto LAB_006616a8; } - local_9c[0] = (RNG)RNG::Next((RNG *)RVar22); + local_9c[0] = (ANM2 *)RNG::Next((RNG *)pRVar24); Level::GetCurrentRoom((Level *)g_game); - pEVar29 = local_94; - uVar10 = Vector::Vector(); - uVar10 = Vector::__add(local_5c + 2,uVar10); - uVar10 = Room::FindFreePickupSpawnPosition(local_100,uVar10,0,0,0,0); - Game::Spawn(6,4,uVar10,&g_vectorZero,pEVar29,0,local_9c[0]); - RVar22 = (RNG)&pEVar29->_dropRNG; + pEVar31 = local_94; + uVar11 = Vector::Vector(); + uVar11 = Vector::__add(local_5c + 2,uVar11); + uVar11 = Room::FindFreePickupSpawnPosition(local_100,uVar11,0,0,0,0); + Game::Spawn(6,4,uVar11,&g_vectorZero,pEVar31,0,local_9c[0]); + pRVar24 = (Room *)&pEVar31->_dropRNG; } Game::DonateAngel(g_game,1); Game::DonateGreed(g_game,1); if (9 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x86); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x86); } if (0x13 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x97); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x97); } if (0x31 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x87); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x87); } if (99 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x98); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x98); } if (0x95 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x88); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x88); } if (199 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x99); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x99); } if (399 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x89); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x89); } if (599 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x9a); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x9a); } if (899 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x3b); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x3b); } if (0x3e6 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x8a); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x8a); } if (999 < (int)local_a4) { - uVar10 = Random(); - local_ac = (RNG)&pEVar29->_pos; - Game::Spawn(1000,1,local_ac,&g_vectorZero,0,0,uVar10); - ANM2::Play(&pEVar29->_sprite,(byte *)"Death",0); - *(undefined4 *)&pEVar29[1].field_0x4 = 3; - local_e4 = (RNG)&DAT_0000000f; + uVar11 = Random(); + local_ac = (ANM2 *)&pEVar31->_pos; + Game::Spawn(1000,1,local_ac,&g_vectorZero,0,0,uVar11); + ANM2::Play(&pEVar31->_sprite,(byte *)"Death",0); + *(undefined4 *)&pEVar31[1].field_0x4 = 3; + local_e4 = (ANM2 *)&DAT_0000000f; do { - iVar15 = 0; + iVar16 = 0; local_b8 = g_vectorZero.x; - local_b4 = (RNG)g_vectorZero.y; + local_b4 = (ANM2 *)g_vectorZero.y; do { - MusicManager::RandomVector(local_5c + 8); - local_9c[0] = (RNG)0x40a00000; - uVar10 = Vector::__mul(local_5c + 2,local_9c); - Vector::operator_assign(uVar10); - RVar33 = (RNG)((float)local_b4 * 0.2 + 3.0); - local_b4 = RVar33; + MusicManager::RandomVector(&RStack_44._shift2); + local_9c[0] = (ANM2 *)0x40a00000; + uVar11 = Vector::__mul(local_5c + 2,local_9c); + Vector::operator_assign(uVar11); + pRVar35 = (Room *)((float)local_b4 * 0.2 + 3.0); + local_b4 = (ANM2 *)pRVar35; Level::GetCurrentRoom((Level *)g_game); local_d4 = 7.0; - uVar10 = Vector::__mul(local_100,&local_d4); - uVar10 = Vector::__add(local_108,uVar10); - cVar6 = Room::CheckLine(local_ac,uVar10,1,0,0,0,0); - RVar22 = local_bc; - if (cVar6 != '\0') break; - iVar15 = iVar15 + 1; - } while (iVar15 < 10); - uVar9 = RNG::Next((RNG *)local_bc); - Game::Spawn(5,0x14,local_ac,&local_b8,0,3,uVar9); - local_e4 = (RNG)((int)local_e4 + -1); - } while (local_e4 != (RNG)0x0); + uVar11 = Vector::__mul(local_100,&local_d4); + uVar11 = Vector::__add(local_108,uVar11); + cVar7 = Room::CheckLine(local_ac,uVar11,1,0,0,0,0); + pRVar24 = local_bc; + if (cVar7 != '\0') break; + iVar16 = iVar16 + 1; + } while (iVar16 < 10); + uVar10 = RNG::Next((RNG *)local_bc); + Game::Spawn(5,0x14,local_ac,&local_b8,0,3,uVar10); + local_e4 = (ANM2 *)((int)&local_e4[-1]._bitflags + 3); + } while (local_e4 != (ANM2 *)0x0); Game::SetStateFlag(0x11,1); } - pEVar29 = local_94; - if (local_a4 == (RNG)0x3e7) { + pEVar31 = local_94; + if (local_a4 == (ANM2 *)0x3e7) { *(undefined2 *)((int)&local_94[1]._pendingDamageFlags + 6) = 0; - uVar8 = 0x14; + uVar9 = 0x14; } else { - local_e4 = (RNG)0x0; - local_ac = (RNG)(0xf - *(ushort *)((int)&local_94[1]._pendingDamageFlags + 6) / 10); - puVar25 = (undefined2 *)std::max(); - uVar8 = *puVar25; + local_e4 = (ANM2 *)0x0; + local_ac = (ANM2 *)(0xf - *(ushort *)((int)&local_94[1]._pendingDamageFlags + 6) / 10); + puVar26 = (undefined2 *)std::max(); + uVar9 = *puVar26; } - *(undefined2 *)&pEVar29[1]._damageEvents._capacity = uVar8; + *(undefined2 *)&pEVar31[1]._damageEvents._capacity = uVar9; SoundEffects::PlayWithFartOverride(0x18,2,0,0x3f800000); - iVar15 = Game::GetDonationModGreed(g_game); - local_cc = (RNG)(iVar15 * 3); - local_9c[0] = (RNG)Entity_Player::GetTrinketMultiplier((Entity_Player *)local_dc,0x55); - piVar14 = (int *)std_min_ptr(); - local_cc = (RNG)((int)local_cc - *piVar14); - if (*(int *)&pEVar29[1].field_0x4 != 3) { - uVar9 = RNG::RandomInt((RNG *)RVar22,3000); - if (uVar9 < (uint)((int)local_cc * 3)) { - bVar5 = 0; - pbVar11 = (byte *)FUN_0065d1f0(); - ANM2::Play(&pEVar29->_sprite,pbVar11,bVar5); - uVar10 = 0x12; + iVar16 = Game::GetDonationModGreed(g_game); + local_cc = (ANM2 *)(iVar16 * 3); + local_9c[0] = (ANM2 *)Entity_Player::GetTrinketMultiplier((Entity_Player *)local_dc,0x55); + piVar15 = (int *)std_min_ptr(); + local_cc = (ANM2 *)((int)local_cc - *piVar15); + if (*(int *)&pEVar31[1].field_0x4 != 3) { + uVar10 = RNG::RandomInt((RNG *)pRVar24,3000); + if (uVar10 < (uint)((int)local_cc * 3)) { + bVar6 = 0; + pbVar12 = (byte *)FUN_0065d1f0(); + ANM2::Play(&pEVar31->_sprite,pbVar12,bVar6); + uVar11 = 0x12; LAB_00661b4b: - Game::SetStateFlag(uVar10,1); - *(undefined4 *)&pEVar29[1].field_0x4 = 3; + Game::SetStateFlag(uVar11,1); + *(undefined4 *)&pEVar31[1].field_0x4 = 3; } } } break; case 9: - ANM2::Play(&pEVar29->_sprite,(byte *)"Prize",0); - cVar6 = Sprite::IsEventTriggered((Sprite *)&pEVar29->_sprite,"Prize"); - if (cVar6 != '\0') { + ANM2::Play(&pEVar31->_sprite,(byte *)"Prize",0); + cVar7 = Sprite::IsEventTriggered((Sprite *)&pEVar31->_sprite,"Prize"); + if (cVar7 != '\0') { SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - pvVar16 = pEVar29[1]._damageEvents._begin; - if ((pvVar16 == (void *)0x1) || (pvVar16 == (void *)0x2)) { - local_c4 = (RNG)0xa; - local_ac = (RNG)0x1; - if ((pvVar16 == (void *)0x1) || - ((bVar5 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x16,0), bVar5 != 0 && - (uVar9 = RNG::RandomInt((RNG *)local_cc,5), uVar9 != 0)))) { - local_c4 = (RNG)&DAT_00000014; - uVar9 = RNG::RandomInt((RNG *)RVar22,3); - local_ac = (RNG)(uVar9 + 1); + pvVar17 = pEVar31[1]._damageEvents._begin; + if ((pvVar17 == (void *)0x1) || (pvVar17 == (void *)0x2)) { + local_c4 = (ANM2 *)0xa; + local_ac = (ANM2 *)0x1; + if ((pvVar17 == (void *)0x1) || + ((bVar6 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x16,0), bVar6 != 0 && + (uVar10 = RNG::RandomInt((RNG *)local_cc,5), uVar10 != 0)))) { + local_c4 = (ANM2 *)&DAT_00000014; + uVar10 = RNG::RandomInt((RNG *)pRVar24,3); + local_ac = (ANM2 *)(uVar10 + 1); if ((int)local_ac < 1) break; } - RVar22 = local_a4; + pAVar30 = local_a4; do { - HandleCollision(pEVar29,local_c4,0,RVar22,local_5c + 10,&g_vectorZero,&g_vectorZero); - local_ac = (RNG)((int)local_ac + -1); - } while (local_ac != (RNG)0x0); - local_ac = (RNG)0x0; + HandleCollision(pEVar31,local_c4,0,pAVar30,&local_34,&g_vectorZero,&g_vectorZero); + local_ac = (ANM2 *)((int)&local_ac[-1]._bitflags + 3); + } while (local_ac != (ANM2 *)0x0); + local_ac = (ANM2 *)0x0; } else { - uVar9 = RNG::Next((RNG *)RVar22); - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - uVar12 = RNG::Next((RNG *)local_bc); - uVar10 = ItemPool::GetCollectible(pIVar17,0x19,uVar12,0,0,0); - uVar13 = FUN_006653c0(&local_a0); - Game::Spawn(5,100,uVar13,&g_vectorZero,0,uVar10,uVar9); - pEVar29 = local_94; + uVar10 = RNG::Next((RNG *)pRVar24); + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + uVar13 = RNG::Next((RNG *)local_bc); + uVar11 = ItemPool::GetCollectible(pIVar18,0x19,uVar13,0,0,0); + uVar14 = FUN_006653c0(&local_a0); + Game::Spawn(5,100,uVar14,&g_vectorZero,0,uVar11,uVar10); + pEVar31 = local_94; *(undefined4 *)&local_94[1].field_0x4 = 4; ANM2::Play(&local_94->_sprite,(byte *)"Teleport",0); } } break; case 10: - pAVar24 = (AnimationState *)FUN_0041e470(); - bVar5 = AnimationState::IsEventTriggered(pAVar24,(byte *)"CoinInsert"); - if (bVar5 != 0) { - fVar32 = pEVar29[1]._pendingDamage; - *(undefined4 *)&pEVar29[1].field_0x4 = 1; - if (fVar32 == 0.0) { - uVar9 = 4; + pAVar25 = (AnimationState *)FUN_0041e470(); + bVar6 = AnimationState::IsEventTriggered(pAVar25,(byte *)"CoinInsert"); + if (bVar6 != 0) { + fVar34 = pEVar31[1]._pendingDamage; + *(undefined4 *)&pEVar31[1].field_0x4 = 1; + if (fVar34 == 0.0) { + uVar10 = 4; LAB_00662124: - uVar9 = RNG::RandomInt((RNG *)RVar22,uVar9); - local_f4._3_1_ = uVar9 == 0; + uVar10 = RNG::RandomInt((RNG *)pRVar24,uVar10); + local_f4 = (ANM2 *)CONCAT13(uVar10 == 0,(undefined3)local_f4); } else { - if (fVar32 == 1.4013e-45) { - uVar9 = 3; + if (fVar34 == 1.4013e-45) { + uVar10 = 3; goto LAB_00662124; } - if (fVar32 == 2.8026e-45) { - uVar9 = 2; + if (fVar34 == 2.8026e-45) { + uVar10 = 2; goto LAB_00662124; } - uVar9 = RNG::RandomInt((RNG *)RVar22,4); - local_f4._3_1_ = uVar9 != 0; + uVar10 = RNG::RandomInt((RNG *)pRVar24,4); + local_f4 = (ANM2 *)CONCAT13(uVar10 != 0,(undefined3)local_f4); } - bVar5 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x4c,0); - if (((bVar5 == 0) || (uVar9 = RNG::RandomInt((RNG *)RVar22,0x14), uVar9 != 0)) && + bVar6 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x4c,0); + if (((bVar6 == 0) || (uVar10 = RNG::RandomInt((RNG *)pRVar24,0x14), uVar10 != 0)) && (local_f4._3_1_ == '\0')) { - pEVar29[1]._pendingDamage = (float)((int)pEVar29[1]._pendingDamage + 1); + pEVar31[1]._pendingDamage = (float)((int)pEVar31[1]._pendingDamage + 1); } else { - *(int *)&pEVar29[1]._pendingDamageFlags = (int)pEVar29[1]._pendingDamageFlags + 1; - pEVar29[1]._pendingDamage = 0.0; - bVar5 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x70,0); - if (bVar5 == 0) { - uVar9 = 2; + *(int *)&pEVar31[1]._pendingDamageFlags = (int)pEVar31[1]._pendingDamageFlags + 1; + pEVar31[1]._pendingDamage = 0.0; + bVar6 = Entity_Player::HasTrinket((Entity_Player *)local_dc,0x70,0); + if (bVar6 == 0) { + uVar10 = 2; } else { - iVar15 = Entity_Player::GetTrinketMultiplier((Entity_Player *)local_dc,0x70); - uVar9 = iVar15 + 1; + iVar16 = Entity_Player::GetTrinketMultiplier((Entity_Player *)local_dc,0x70); + uVar10 = iVar16 + 1; } - if (((uint)pEVar29[1]._pendingDamageFlags < 5) || - (uVar9 = RNG::RandomInt((RNG *)RVar22,uVar9), uVar9 != 0)) { - this_04 = (Room *)Level::GetCurrentRoom((Level *)g_game); - Room::ShopRestockFull(this_04); + if (((uint)pEVar31[1]._pendingDamageFlags < 5) || + (uVar10 = RNG::RandomInt((RNG *)pRVar24,uVar10), uVar10 != 0)) { + pRVar24 = (Room *)Level::GetCurrentRoom((Level *)g_game); + Room::ShopRestockFull(pRVar24); } else { - uVar10 = Random(); - Game::Spawn(1000,1,&pEVar29->_pos,&g_vectorZero,0,0,uVar10); - spawn_break_drops(pEVar29); - *(undefined4 *)&pEVar29[1].field_0x4 = 3; - ANM2::Play(&pEVar29->_sprite,(byte *)"Death",0); + uVar11 = Random(); + Game::Spawn(1000,1,&pEVar31->_pos,&g_vectorZero,0,0,uVar11); + spawn_break_drops(pEVar31); + *(undefined4 *)&pEVar31[1].field_0x4 = 3; + ANM2::Play(&pEVar31->_sprite,(byte *)"Death",0); } } - uVar8 = 0xf; + uVar9 = 0xf; LAB_00662215: - *(undefined2 *)&pEVar29[1]._damageEvents._capacity = uVar8; + *(undefined2 *)&pEVar31[1]._damageEvents._capacity = uVar9; SoundEffects::PlayWithFartOverride(0x18,2,0,0x3f800000); } break; case 0xb: - local_c4 = (RNG)&pEVar29->_sprite; - pAVar24 = (AnimationState *)FUN_0041e470(); - bVar5 = AnimationState::IsEventTriggered(pAVar24,(byte *)"CoinInsert"); - if (bVar5 != 0) { - *(undefined4 *)&pEVar29[1].field_0x4 = 1; - uVar9 = FUN_00424e60(0x73); - local_a4 = (RNG)(uVar9 % 1000); - if (*(char *)(pEVar29[1]._sprite._championColor._colorize + 3) != '\0') { - iVar15 = Entity_Player::GetPlayerType((Entity_Player *)local_dc); - if (iVar15 < 0x29) { - this_00 = (PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0]; + local_c4 = &pEVar31->_sprite; + pAVar25 = (AnimationState *)FUN_0041e470(); + bVar6 = AnimationState::IsEventTriggered(pAVar25,(byte *)"CoinInsert"); + if (bVar6 != 0) { + *(undefined4 *)&pEVar31[1].field_0x4 = 1; + uVar10 = FUN_00424e60(0x73); + local_a4 = (ANM2 *)(uVar10 % 1000); + if (*(char *)(pEVar31[1]._sprite._championColor._colorize + 3) != '\0') { + iVar16 = Entity_Player::GetPlayerType((Entity_Player *)local_dc); + if (iVar16 < 0x29) { + this_00 = (PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0]; Entity_Player::GetPlayerType((Entity_Player *)local_dc); - iVar15 = FUN_00929b20(); - PersistentGameData::IncreaseEventCounter(this_00,iVar15,1); - pEVar29 = local_94; + iVar16 = FUN_00929b20(); + PersistentGameData::IncreaseEventCounter(this_00,iVar16,1); + pEVar31 = local_94; } PersistentGameData::IncreaseEventCounter - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x73,1); - local_a4 = (RNG)((int)local_a4 + 1); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x73,1); + local_a4 = (ANM2 *)((int)(local_a4->_filename)._buf + 1); } - RVar38 = local_a4; - ANM2::SetFrame((ANM2 *)local_c4,(std_string *)"Prize",0); - ANM2::SetLayerFrame((ANM2 *)local_c4,1,((int)RVar38 / 100) % 10); - iVar15 = (int)RVar38 / 10; - ANM2::SetLayerFrame((ANM2 *)local_c4,2,iVar15 % 10); - ANM2::SetLayerFrame((ANM2 *)local_c4,3,(int)((int)local_a4 + iVar15 * -10)); - pEVar29 = local_94; + pAVar30 = local_a4; + ANM2::SetFrame(local_c4,(std_string *)"Prize",0); + ANM2::SetLayerFrame(local_c4,1,((int)pAVar30 / 100) % 10); + iVar16 = (int)pAVar30 / 10; + ANM2::SetLayerFrame(local_c4,2,iVar16 % 10); + ANM2::SetLayerFrame(local_c4,3,(int)((int)local_a4 + iVar16 * -10)); + pEVar31 = local_94; if (1 < (int)local_a4) { PersistentGameData::TryUnlock ((PersistentGameData *)local_94[1]._sprite._championColor._offset[0],0xf2); } if (0xd < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0xf3); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0xf3); } if (0x20 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0xf4); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0xf4); } if (0x43 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0xf5); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0xf5); } if ((int)local_a4 < 999) { if (0x6e < (int)local_a4) goto LAB_00661da8; } else { - bVar5 = PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x113) + bVar6 = PersistentGameData::TryUnlock + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x113) ; - if (bVar5 != 0) { - uVar10 = Random(); - uVar36 = 0; - pTVar39 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; - pTVar37 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar13 = 0; - uVar10 = Game::Spawn(1000,0x68,&pEVar29->_pos,&g_vectorZero,pEVar29,0,uVar10); - pEVar26 = (Entity_Effect *)__RTDynamicCast(uVar10,uVar13,pTVar37,pTVar39,uVar36); - Entity_Effect::SetTimeout(pEVar26,0x1c2); - uVar10 = Vector::Vector(); - Entity::SetPositionOffset((Entity *)pEVar26,uVar10); - (**(code **)(*(int *)pEVar26 + 0xc))(); - pEVar29 = local_94; + if (bVar6 != 0) { + uVar11 = Random(); + uVar38 = 0; + pTVar41 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; + pTVar39 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar14 = 0; + uVar11 = Game::Spawn(1000,0x68,&pEVar31->_pos,&g_vectorZero,pEVar31,0,uVar11); + pEVar27 = (Entity_Effect *)__RTDynamicCast(uVar11,uVar14,pTVar39,pTVar41,uVar38); + Entity_Effect::SetTimeout(pEVar27,0x1c2); + uVar11 = Vector::Vector(); + Entity::SetPositionOffset((Entity *)pEVar27,uVar11); + (**(code **)(*(int *)pEVar27 + 0xc))(); + pEVar31 = local_94; } LAB_00661da8: PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0xf6); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0xf6); } if (0xe9 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0xf7); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0xf7); } if (0x1b6 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0xf8); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0xf8); } if (499 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x155); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x155); } if (0x299 < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0xf9); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0xf9); } if (0x36e < (int)local_a4) { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0xfa); + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0xfa); } if ((int)local_a4 < 1000) { - if (local_a4 != (RNG)0x3e7) goto LAB_00661fe0; - *(undefined2 *)((int)&pEVar29[1]._pendingDamageFlags + 6) = 0; - uVar8 = 0x14; + if (local_a4 != (ANM2 *)0x3e7) goto LAB_00661fe0; + *(undefined2 *)((int)&pEVar31[1]._pendingDamageFlags + 6) = 0; + uVar9 = 0x14; } else { PersistentGameData::TryUnlock - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0xfb); - uVar10 = Random(); - local_ac = (RNG)&pEVar29->_pos; - Game::Spawn(1000,1,local_ac,&g_vectorZero,0,0,uVar10); - ANM2::Play(&pEVar29->_sprite,(byte *)"Death",0); - *(undefined4 *)&pEVar29[1].field_0x4 = 3; - local_e4 = (RNG)0xf; + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0xfb); + uVar11 = Random(); + local_ac = (ANM2 *)&pEVar31->_pos; + Game::Spawn(1000,1,local_ac,&g_vectorZero,0,0,uVar11); + ANM2::Play(&pEVar31->_sprite,(byte *)"Death",0); + *(undefined4 *)&pEVar31[1].field_0x4 = 3; + local_e4 = (ANM2 *)0xf; do { - iVar15 = 0; + iVar16 = 0; local_c8 = g_vectorZero.x; - local_c4 = (RNG)g_vectorZero.y; + local_c4 = (ANM2 *)g_vectorZero.y; do { - MusicManager::RandomVector(local_5c + 8); - local_9c[0] = (RNG)0x40a00000; - uVar10 = Vector::__mul(local_5c + 2,local_9c); - Vector::operator_assign(uVar10); - RVar33 = (RNG)((float)local_c4 * 0.2 + 3.0); - local_c4 = RVar33; + MusicManager::RandomVector(&RStack_44._shift2); + local_9c[0] = (ANM2 *)0x40a00000; + uVar11 = Vector::__mul(local_5c + 2,local_9c); + Vector::operator_assign(uVar11); + pRVar35 = (Room *)((float)local_c4 * 0.2 + 3.0); + local_c4 = (ANM2 *)pRVar35; Level::GetCurrentRoom((Level *)g_game); local_d4 = 7.0; - uVar10 = Vector::__mul(local_100,&local_d4); - uVar10 = Vector::__add(local_108,uVar10); - cVar6 = Room::CheckLine(local_ac,uVar10,1,0,0,0,0); - RVar22 = local_bc; - if (cVar6 != '\0') break; - iVar15 = iVar15 + 1; - } while (iVar15 < 10); - uVar9 = RNG::Next((RNG *)local_bc); - Game::Spawn(5,0x14,local_ac,&local_c8,0,3,uVar9); - local_e4 = (RNG)((int)local_e4 + -1); - } while (local_e4 != (RNG)0x0); - pEVar29 = local_94; + uVar11 = Vector::__mul(local_100,&local_d4); + uVar11 = Vector::__add(local_108,uVar11); + cVar7 = Room::CheckLine(local_ac,uVar11,1,0,0,0,0); + pRVar24 = local_bc; + if (cVar7 != '\0') break; + iVar16 = iVar16 + 1; + } while (iVar16 < 10); + uVar10 = RNG::Next((RNG *)local_bc); + Game::Spawn(5,0x14,local_ac,&local_c8,0,3,uVar10); + local_e4 = (ANM2 *)((int)&local_e4[-1]._bitflags + 3); + } while (local_e4 != (ANM2 *)0x0); + pEVar31 = local_94; LAB_00661fe0: - local_e4 = (RNG)0x0; - local_ac = (RNG)(0xf - *(ushort *)((int)&pEVar29[1]._pendingDamageFlags + 6) / 10); - puVar25 = (undefined2 *)std::max(); - uVar8 = *puVar25; + local_e4 = (ANM2 *)0x0; + local_ac = (ANM2 *)(0xf - *(ushort *)((int)&pEVar31[1]._pendingDamageFlags + 6) / 10); + puVar26 = (undefined2 *)std::max(); + uVar9 = *puVar26; } - *(undefined2 *)&pEVar29[1]._damageEvents._capacity = uVar8; + *(undefined2 *)&pEVar31[1]._damageEvents._capacity = uVar9; SoundEffects::PlayWithFartOverride(0x18,2,0,0x3f800000); Entity_Player::GetGreedDonationJamChance - ((Entity_Player *)local_dc,pEVar29[1]._sprite._championColor._offset[0]); - local_9c[0] = RVar33; - if (*(int *)&pEVar29[1].field_0x4 != 3) { - local_d4 = RNG::RandomFloat((RNG *)RVar22); + ((Entity_Player *)local_dc,pEVar31[1]._sprite._championColor._offset[0]); + local_9c[0] = (ANM2 *)pRVar35; + if (*(int *)&pEVar31[1].field_0x4 != 3) { + local_d4 = RNG::RandomFloat((RNG *)pRVar24); local_d4 = local_d4 * 100.0; - RVar33 = local_9c[0]; + pRVar35 = (Room *)local_9c[0]; if (local_d4 < (float)local_9c[0]) { - bVar5 = 0; - pbVar11 = (byte *)FUN_0065d1f0(); - ANM2::Play(&pEVar29->_sprite,pbVar11,bVar5); - uVar10 = 0x22; + bVar6 = 0; + pbVar12 = (byte *)FUN_0065d1f0(); + ANM2::Play(&pEVar31->_sprite,pbVar12,bVar6); + uVar11 = 0x22; goto LAB_00661b4b; } } @@ -321786,132 +322082,132 @@ LAB_00661fe0: break; default: /* WARNING: Subroutine does not return */ - KAGE_LogMessage(1,"Slot type %d is not implemented!\n",pEVar29->_variant); + KAGE_LogMessage(1,"Slot type %d is not implemented!\n",pEVar31->_variant); case 0xd: - ANM2::Play(&pEVar29->_sprite,(byte *)"Prize",0); - cVar6 = Sprite::IsEventTriggered((Sprite *)&pEVar29->_sprite,"Prize"); - if (cVar6 != '\0') { - uVar9 = RNG::RandomInt((RNG *)RVar22,0x10); - if (uVar9 == 0) { + ANM2::Play(&pEVar31->_sprite,(byte *)"Prize",0); + cVar7 = Sprite::IsEventTriggered((Sprite *)&pEVar31->_sprite,"Prize"); + if (cVar7 != '\0') { + uVar10 = RNG::RandomInt((RNG *)pRVar24,0x10); + if (uVar10 == 0) { SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - uVar9 = RNG::Next((RNG *)RVar22); - uVar10 = ItemPool::GetCollectible(pIVar17,0xe,uVar9,0,0x25b,0); - uVar9 = RNG::Next((RNG *)local_bc); - uVar13 = FUN_006653c0(&local_a0); - Game::Spawn(5,100,uVar13,&g_vectorZero,0,uVar10,uVar9); - pEVar29 = local_94; + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + uVar10 = RNG::Next((RNG *)pRVar24); + uVar11 = ItemPool::GetCollectible(pIVar18,0xe,uVar10,0,0x25b,0); + uVar10 = RNG::Next((RNG *)local_bc); + uVar14 = FUN_006653c0(&local_a0); + Game::Spawn(5,100,uVar14,&g_vectorZero,0,uVar11,uVar10); + pEVar31 = local_94; *(undefined4 *)&local_94[1].field_0x4 = 4; ANM2::Play(&local_94->_sprite,(byte *)"Teleport",0); - pLVar20 = (Level *)Config::GetCollectibles(); - Level::SetStateFlag(pLVar20,3,1); + pLVar21 = (Level *)Config::GetCollectibles(); + Level::SetStateFlag(pLVar21,3,1); PersistentGameData::IncreaseEventCounter - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0],0x1ef,1); - pEVar29[1]._pendingDamage = 0.0; + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0],0x1ef,1); + pEVar31[1]._pendingDamage = 0.0; } else { - uVar9 = RNG::RandomInt((RNG *)RVar22,8); - if (uVar9 == 0) { + uVar10 = RNG::RandomInt((RNG *)pRVar24,8); + if (uVar10 == 0) { SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - local_c4 = (RNG)&pEVar29->_pos; + local_c4 = (ANM2 *)&pEVar31->_pos; local_b8 = g_vectorZero.x; - iVar15 = 0; - local_b4 = (RNG)g_vectorZero.y; + iVar16 = 0; + local_b4 = (ANM2 *)g_vectorZero.y; do { - RNG::Next(local_5c + 10); + RNG::Next(&local_34); RandomVector(); - local_9c[0] = (RNG)0x40a00000; - uVar10 = Vector::__mul(local_e8,local_9c); - Vector::operator_assign(uVar10); - RVar33 = (RNG)((float)local_b4 * 0.2 + 3.0); - local_b4 = RVar33; + local_9c[0] = (ANM2 *)0x40a00000; + uVar11 = Vector::__mul(local_e8,local_9c); + Vector::operator_assign(uVar11); + pRVar35 = (Room *)((float)local_b4 * 0.2 + 3.0); + local_b4 = (ANM2 *)pRVar35; Level::GetCurrentRoom((Level *)g_game); local_d4 = 7.0; - uVar10 = Vector::__mul(local_b0,&local_d4); - uVar10 = Vector::__add(&local_d0,uVar10); - cVar6 = Room::CheckLine(local_c4,uVar10,1,0,0,0,0); - RVar22 = local_bc; - if (cVar6 != '\0') break; - iVar15 = iVar15 + 1; - } while (iVar15 < 10); - uVar9 = RNG::RandomInt((RNG *)local_bc,10); - if (uVar9 == 0) { - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - cVar6 = ItemPool::RemoveTrinket(pIVar17,3); - if (cVar6 == '\0') goto LAB_00660524; - uVar9 = RNG::Next((RNG *)RVar22); - RVar38 = (RNG)0x3; + uVar11 = Vector::__mul(local_b0,&local_d4); + uVar11 = Vector::__add(&local_d0,uVar11); + cVar7 = Room::CheckLine(local_c4,uVar11,1,0,0,0,0); + pRVar24 = local_bc; + if (cVar7 != '\0') break; + iVar16 = iVar16 + 1; + } while (iVar16 < 10); + uVar10 = RNG::RandomInt((RNG *)local_bc,10); + if (uVar10 == 0) { + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + cVar7 = ItemPool::RemoveTrinket(pIVar18,3); + if (cVar7 == '\0') goto LAB_00660524; + uVar10 = RNG::Next((RNG *)pRVar24); + pAVar40 = (ANM2 *)0x3; LAB_006604ee: - pfVar35 = &local_b8; - RVar22 = local_c4; + pfVar37 = &local_b8; + pAVar30 = local_c4; LAB_006604fd: - Game::Spawn(5,0x15e,RVar22,pfVar35,0,RVar38,uVar9); + Game::Spawn(5,0x15e,pAVar30,pfVar37,0,pAVar40,uVar10); local_94[1]._pendingDamage = 0.0; - pEVar29 = local_94; + pEVar31 = local_94; } else { LAB_00660524: - uVar9 = RNG::RandomInt((RNG *)RVar22,10); - if (uVar9 == 0) { - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - cVar6 = ItemPool::RemoveTrinket(pIVar17,0x48); - if (cVar6 != '\0') { - uVar9 = RNG::Next((RNG *)RVar22); - RVar38 = (RNG)0x48; + uVar10 = RNG::RandomInt((RNG *)pRVar24,10); + if (uVar10 == 0) { + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + cVar7 = ItemPool::RemoveTrinket(pIVar18,0x48); + if (cVar7 != '\0') { + uVar10 = RNG::Next((RNG *)pRVar24); + pAVar40 = (ANM2 *)0x48; goto LAB_006604ee; } } - pEVar29 = local_94; - HandleCollision(local_94,0x5a,0,local_a4,local_5c + 10,&g_vectorZero,&g_vectorZero); - pEVar29[1]._pendingDamage = 0.0; + pEVar31 = local_94; + HandleCollision(local_94,0x5a,0,local_a4,&local_34,&g_vectorZero,&g_vectorZero); + pEVar31[1]._pendingDamage = 0.0; } } else { - RVar33 = (RNG)0x1; - local_5c[4] = (RNG)0x1; - local_5c[5] = (RNG)0x1; - local_5c[6] = (RNG)0x1; - local_5c[7] = (RNG)0x2; - local_5c[8] = (RNG)0x2; - local_5c[9] = (RNG)0x3; - uVar9 = RNG::RandomInt((RNG *)RVar22,6); - EVar30 = local_dc; - uVar12 = 0; - local_9c[0] = local_5c[uVar9 + 4]; + pRVar35 = (Room *)0x1; + local_5c[4] = 1; + local_5c[5] = 1; + RStack_44._seed = 1; + RStack_44._shift1 = 2; + RStack_44._shift2 = 2; + RStack_44._shift3 = 3; + uVar10 = RNG::RandomInt((RNG *)pRVar24,6); + EVar32 = local_dc; + uVar13 = 0; + local_9c[0] = (ANM2 *)local_5c[uVar10 + 4]; do { - iVar15 = Entity_Player::GetActiveMaxCharge((Entity_Player *)EVar30,uVar12); - if (iVar15 == 0) { + iVar16 = Entity_Player::GetActiveMaxCharge((Entity_Player *)EVar32,uVar13); + if (iVar16 == 0) { if (0 < (int)local_9c[0]) { pEVar23 = (Entity *)Entity_Effect::CreateTimer(local_9c[0],1); - Entity::SetParent(pEVar23,EVar30); + Entity::SetParent(pEVar23,EVar32); (**(code **)(*(int *)pEVar23 + 0xc))(); } break; } - uVar12 = uVar12 + 1; - } while (uVar12 < 4); + uVar13 = uVar13 + 1; + } while (uVar13 < 4); Entity_Player::AnimateHappy(); SoundEffects::PlayWithFartOverride(0xaa,2,0,0x3f800000); - uVar10 = Random(); - uVar13 = Entity::Position((Entity *)EVar30,&local_a0); - uVar40 = 0; - pTVar39 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; - pTVar37 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar36 = 0; - uVar10 = Game::Spawn(1000,0x31,uVar13,&g_vectorZero,0,1,uVar10); - __RTDynamicCast(uVar10,uVar36,pTVar37,pTVar39,uVar40); - uVar10 = Vector::Vector(); - FUN_004563c0(uVar10); + uVar11 = Random(); + uVar14 = Entity::Position((Entity *)EVar32,&local_a0); + uVar42 = 0; + pTVar41 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; + pTVar39 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar38 = 0; + uVar11 = Game::Spawn(1000,0x31,uVar14,&g_vectorZero,0,1,uVar11); + __RTDynamicCast(uVar11,uVar38,pTVar39,pTVar41,uVar42); + uVar11 = Vector::Vector(); + FUN_004563c0(uVar11); set_field_358(0x3f800000); - pEVar29 = local_94; + pEVar31 = local_94; LAB_006606b2: - pEVar29[1]._pendingDamage = 0.0; + pEVar31[1]._pendingDamage = 0.0; } } } break; case 0xe: - (**(code **)(*(int *)pEVar29 + 0x28))(); + (**(code **)(*(int *)pEVar31 + 0x28))(); PlayerManager::unlock_completion_mark(0xf); guard_check_icall(); ExceptionList = local_1c; @@ -321920,142 +322216,142 @@ LAB_006606b2: case 0x11: break; case 0x12: - ANM2::Play(&pEVar29->_sprite,(byte *)"Prize",0); - cVar6 = Sprite::IsEventTriggered((Sprite *)&pEVar29->_sprite,"Prize"); - if (cVar6 != '\0') { - uVar9 = RNG::RandomInt((RNG *)RVar22,0x18); - if (uVar9 == 0) { + ANM2::Play(&pEVar31->_sprite,(byte *)"Prize",0); + cVar7 = Sprite::IsEventTriggered((Sprite *)&pEVar31->_sprite,"Prize"); + if (cVar7 != '\0') { + uVar10 = RNG::RandomInt((RNG *)pRVar24,0x18); + if (uVar10 == 0) { SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - uVar9 = RNG::Next((RNG *)RVar22); - uVar10 = ItemPool::GetCollectible(pIVar17,0x1e,uVar9,0,0x1a,0); - uVar9 = RNG::Next((RNG *)local_bc); - uVar13 = FUN_006653c0(&local_a0); - Game::Spawn(5,100,uVar13,&g_vectorZero,0,uVar10,uVar9); - pEVar29 = local_94; + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + uVar10 = RNG::Next((RNG *)pRVar24); + uVar11 = ItemPool::GetCollectible(pIVar18,0x1e,uVar10,0,0x1a,0); + uVar10 = RNG::Next((RNG *)local_bc); + uVar14 = FUN_006653c0(&local_a0); + Game::Spawn(5,100,uVar14,&g_vectorZero,0,uVar11,uVar10); + pEVar31 = local_94; *(undefined4 *)&local_94[1].field_0x4 = 4; ANM2::Play(&local_94->_sprite,(byte *)"Teleport",0); - pLVar20 = (Level *)Config::GetCollectibles(); - Level::SetStateFlag(pLVar20,3,1); - pEVar29[1]._pendingDamage = 0.0; + pLVar21 = (Level *)Config::GetCollectibles(); + Level::SetStateFlag(pLVar21,3,1); + pEVar31[1]._pendingDamage = 0.0; } else { - uVar9 = RNG::RandomInt((RNG *)RVar22,4); - if (uVar9 == 0) { - uVar9 = RNG::RandomInt((RNG *)RVar22,6); - if (uVar9 == 0) { - bVar5 = PersistentGameData::Unlocked - ((PersistentGameData *)pEVar29[1]._sprite._championColor._offset[0], + uVar10 = RNG::RandomInt((RNG *)pRVar24,4); + if (uVar10 == 0) { + uVar10 = RNG::RandomInt((RNG *)pRVar24,6); + if (uVar10 == 0) { + bVar6 = PersistentGameData::Unlocked + ((PersistentGameData *)pEVar31[1]._sprite._championColor._offset[0], 0x187); - if (bVar5 == 0) goto LAB_006608b1; + if (bVar6 == 0) goto LAB_006608b1; SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - HandleCollision(pEVar29,10,0xb,local_a4,local_5c + 10,&g_vectorZero,&g_vectorZero); - pEVar29[1]._pendingDamage = 0.0; + HandleCollision(pEVar31,10,0xb,local_a4,&local_34,&g_vectorZero,&g_vectorZero); + pEVar31[1]._pendingDamage = 0.0; } else { - if ((2 < uVar9 - 1) || - (bVar5 = PersistentGameData::Unlocked + if ((2 < uVar10 - 1) || + (bVar6 = PersistentGameData::Unlocked ((PersistentGameData *) - pEVar29[1]._sprite._championColor._offset[0],0x19b), bVar5 == 0)) + pEVar31[1]._sprite._championColor._offset[0],0x19b), bVar6 == 0)) { LAB_006608b1: - RVar33 = (RNG)&DAT_0000001d; - uVar12 = 7; - local_5c[0] = (RNG)0x1d; - local_5c[1] = (RNG)0x5e; - local_5c[2] = (RNG)0x47; - local_5c[3] = (RNG)0x7e; - uVar9 = EntityPtr::Ref(); - RNG::game_constructor(local_5c + 6,uVar9,uVar12); + pRVar35 = (Room *)&DAT_0000001d; + uVar13 = 7; + local_5c[0] = 0x1d; + local_5c[1] = 0x5e; + local_5c[2] = 0x47; + local_5c[3] = 0x7e; + uVar10 = EntityPtr::Ref(); + RNG::game_constructor(&RStack_44,uVar10,uVar13); local_14._0_1_ = 3; - local_ac = (RNG)RNG::RandomInt(this_03,8); - local_14 = (RNG)((uint)(uint3)local_14._1_3_ << 8); + local_ac = (ANM2 *)RNG::RandomInt(this_03,8); + local_14 = (uint)local_14._1_3_ << 8; guard_check_icall(); - if (&DAT_00000004 <= (uint)local_ac) { + if ((ANM2 *)&DAT_00000004 <= local_ac) { LAB_00660a66: - uVar10 = Color::Color(); - EVar30 = local_dc; - Game::Fart(&pEVar29->_pos,0x42aa0000,local_dc,0x3f800000,0,uVar10); - Game::ButterBeanFart(&pEVar29->_pos,0x42f00000,EVar30,0,0); + uVar11 = Color::Color(); + EVar32 = local_dc; + Game::Fart(&pEVar31->_pos,0x42aa0000,local_dc,0x3f800000,0,uVar11); + Game::ButterBeanFart(&pEVar31->_pos,0x42f00000,EVar32,0,0); local_94[1]._pendingDamage = 0.0; - pEVar29 = local_94; + pEVar31 = local_94; break; } - pIVar17 = (ItemPool *)Game::GetItemPool(g_game); - local_b4 = local_5c[(int)local_ac]; - cVar6 = ItemPool::RemoveTrinket(pIVar17,local_b4); - if (cVar6 == '\0') goto LAB_00660a66; + pIVar18 = (ItemPool *)Game::GetItemPool(g_game); + local_b4 = (ANM2 *)local_5c[(int)local_ac]; + cVar7 = ItemPool::RemoveTrinket(pIVar18,local_b4); + if (cVar7 == '\0') goto LAB_00660a66; SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - local_ac = (RNG)&pEVar29->_pos; + local_ac = (ANM2 *)&pEVar31->_pos; local_f0 = g_vectorZero.x; - iVar15 = 0; - local_ec = (RNG)g_vectorZero.y; + iVar16 = 0; + local_ec = (ANM2 *)g_vectorZero.y; do { - RNG::Next(local_5c + 10); + RNG::Next(&local_34); RandomVector(); - local_9c[0] = (RNG)0x40a00000; - uVar10 = Vector::__mul(&local_c8,local_9c); - Vector::operator_assign(uVar10); - RVar33 = (RNG)((float)local_ec * 0.2 + 3.0); - local_ec = RVar33; + local_9c[0] = (ANM2 *)0x40a00000; + uVar11 = Vector::__mul(&local_c8,local_9c); + Vector::operator_assign(uVar11); + pRVar35 = (Room *)((float)local_ec * 0.2 + 3.0); + local_ec = (ANM2 *)pRVar35; Level::GetCurrentRoom((Level *)g_game); local_d4 = 7.0; - uVar10 = Vector::__mul(&local_d0,&local_d4); - uVar10 = Vector::__add(local_a8,uVar10); - cVar6 = Room::CheckLine(local_ac,uVar10,1,0,0,0,0); - if (cVar6 != '\0') break; - iVar15 = iVar15 + 1; - } while (iVar15 < 10); - uVar9 = RNG::Next((RNG *)local_bc); - pfVar35 = &local_f0; - RVar22 = local_ac; - RVar38 = local_b4; + uVar11 = Vector::__mul(&local_d0,&local_d4); + uVar11 = Vector::__add(local_a8,uVar11); + cVar7 = Room::CheckLine(local_ac,uVar11,1,0,0,0,0); + if (cVar7 != '\0') break; + iVar16 = iVar16 + 1; + } while (iVar16 < 10); + uVar10 = RNG::Next((RNG *)local_bc); + pfVar37 = &local_f0; + pAVar30 = local_ac; + pAVar40 = local_b4; goto LAB_006604fd; } SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - HandleCollision(pEVar29,10,0xc,local_a4,local_5c + 10,&g_vectorZero,&g_vectorZero); - pEVar29[1]._pendingDamage = 0.0; + HandleCollision(pEVar31,10,0xc,local_a4,&local_34,&g_vectorZero,&g_vectorZero); + pEVar31[1]._pendingDamage = 0.0; } } else { SoundEffects::PlayWithFartOverride(0xff,2,0,0x3f800000); - uVar9 = RNG::RandomInt((RNG *)RVar22,2); - if (uVar9 == 0) { - pVVar41 = &pEVar29->_pos; - uVar12 = RNG::RandomInt((RNG *)RVar22,3); - Entity_Player::AddBlueFlies(uVar12 + 1,pVVar41,uVar9); - pEVar29[1]._pendingDamage = 0.0; + uVar10 = RNG::RandomInt((RNG *)pRVar24,2); + if (uVar10 == 0) { + pVVar43 = &pEVar31->_pos; + uVar13 = RNG::RandomInt((RNG *)pRVar24,3); + Entity_Player::AddBlueFlies(uVar13 + 1,pVVar43,uVar10); + pEVar31[1]._pendingDamage = 0.0; } else { - uVar9 = RNG::RandomInt((RNG *)RVar22,3); - EVar30 = local_dc; - iVar15 = uVar9 + 1; - if (iVar15 < 1) goto LAB_006606b2; - local_9c[0] = (RNG)&pEVar29->_pos; + uVar10 = RNG::RandomInt((RNG *)pRVar24,3); + EVar32 = local_dc; + iVar16 = uVar10 + 1; + if (iVar16 < 1) goto LAB_006606b2; + local_9c[0] = (ANM2 *)&pEVar31->_pos; do { - Entity_Player::ThrowBlueSpider((Entity_Player *)EVar30,local_9c[0],&g_vectorZero); - iVar15 = iVar15 + -1; - } while (iVar15 != 0); + Entity_Player::ThrowBlueSpider((Entity_Player *)EVar32,local_9c[0],&g_vectorZero); + iVar16 = iVar16 + -1; + } while (iVar16 != 0); local_94[1]._pendingDamage = 0.0; - pEVar29 = local_94; + pEVar31 = local_94; } } } } break; case 0x13: - pAVar24 = (AnimationState *)FUN_0041e470(); - bVar5 = AnimationState::IsEventTriggered(pAVar24,(byte *)"CoinInsert"); - if (bVar5 != 0) { - *(undefined4 *)&pEVar29[1].field_0x4 = 1; + pAVar25 = (AnimationState *)FUN_0041e470(); + bVar6 = AnimationState::IsEventTriggered(pAVar25,(byte *)"CoinInsert"); + if (bVar6 != 0) { + *(undefined4 *)&pEVar31[1].field_0x4 = 1; FUN_00704b50(1); - iVar15 = FUN_0065d010(); - pGVar3 = g_game; - if (iVar15 < 1) { - *(undefined2 *)((int)&pEVar29[1]._pendingDamageFlags + 6) = 0; - Game::GetPlayerManager(pGVar3); - iVar15 = PlayerManager::GetNumCoopPlayers(); - if (iVar15 == 1) { + iVar16 = FUN_0065d010(); + pGVar4 = g_game; + if (iVar16 < 1) { + *(undefined2 *)((int)&pEVar31[1]._pendingDamageFlags + 6) = 0; + Game::GetPlayerManager(pGVar4); + iVar16 = PlayerManager::GetNumCoopPlayers(); + if (iVar16 == 1) { SoundEffects::PlayWithFartOverride(0x36,2,0,0x3f800000); Game::GetPlayerManager(g_game); PlayerManager::revive_player_ghosts(); @@ -322065,26 +322361,26 @@ LAB_00660a66: } else { Game::GetPlayerManager(g_game); - uVar9 = PlayerManager::GetNumCoopPlayers(); - if (uVar9 < 2) { + uVar10 = PlayerManager::GetNumCoopPlayers(); + if (uVar10 < 2) { SoundEffects::PlayWithFartOverride(0x10b,2,0,0x3f800000); } else { - cVar6 = FUN_00423960(); - if (cVar6 == '\0') { + cVar7 = FUN_00423960(); + if (cVar7 == '\0') { FUN_0065d060(); - uVar10 = Entity_Player::ControllerIndex((Entity_Player *)local_dc); + uVar11 = Entity_Player::ControllerIndex((Entity_Player *)local_dc); LAB_006623ad: - FUN_008ef840(uVar10); - pEVar29 = local_94; + FUN_008ef840(uVar11); + pEVar31 = local_94; } else { FUN_00417920(); InputManager::GetDeviceByPlayerEntity(local_dc); - cVar6 = FUN_0065d0a0(); - if (cVar6 != '\0') { + cVar7 = FUN_0065d0a0(); + if (cVar7 != '\0') { FUN_0065d060(); - uVar10 = FUN_00423970(); + uVar11 = FUN_00423970(); goto LAB_006623ad; } } @@ -322094,43 +322390,43 @@ LAB_006623ad: FUN_0065d020(); } FUN_00665630(); - local_9c[0] = (RNG)0x0; - local_d4 = (float)(0xf - *(ushort *)((int)&pEVar29[1]._pendingDamageFlags + 6) / 10); - puVar25 = (undefined2 *)std::max(); - uVar8 = *puVar25; + local_9c[0] = (ANM2 *)0x0; + local_d4 = (float)(0xf - *(ushort *)((int)&pEVar31[1]._pendingDamageFlags + 6) / 10); + puVar26 = (undefined2 *)std::max(); + uVar9 = *puVar26; goto LAB_00662215; } } - if ((((((*(int *)&pEVar29[1].field_0x4 == 2) && - (cVar6 = ANM2::IsFinishedImpl(&pEVar29->_sprite,&s_empty), cVar6 != '\0')) && - (iVar15 = pEVar29->_variant, iVar15 != 1)) && ((iVar15 != 8 && (iVar15 != 10)))) && - (iVar15 != 0xb)) && (iVar15 != 0x13)) { - *(undefined4 *)&pEVar29[1].field_0x4 = 1; - ANM2::Play(&pEVar29->_sprite,s_Idle,0); + if ((((((*(int *)&pEVar31[1].field_0x4 == 2) && + (cVar7 = ANM2::IsFinishedImpl(&pEVar31->_sprite,&s_empty), cVar7 != '\0')) && + (iVar16 = pEVar31->_variant, iVar16 != 1)) && ((iVar16 != 8 && (iVar16 != 10)))) && + (iVar16 != 0xb)) && (iVar16 != 0x13)) { + *(undefined4 *)&pEVar31[1].field_0x4 = 1; + ANM2::Play(&pEVar31->_sprite,s_Idle,0); } - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; guard_check_icall(); LAB_00662654: - if (((((Entity *)pEVar29)->_variant == 6) || (((Entity *)pEVar29)->_variant == 0xf)) && - ((bVar5 = ANM2::IsPlaying(&((Entity *)pEVar29)->_sprite,(byte *)"PayShuffle"), bVar5 != 0 && - (cVar6 = Sprite::IsEventTriggered((Sprite *)&((Entity *)pEVar29)->_sprite,"Shuffle"), - cVar6 != '\0')))) { + if (((((Entity *)pEVar31)->_variant == 6) || (((Entity *)pEVar31)->_variant == 0xf)) && + ((bVar6 = ANM2::IsPlaying(&((Entity *)pEVar31)->_sprite,(byte *)"PayShuffle"), bVar6 != 0 && + (cVar7 = Sprite::IsEventTriggered((Sprite *)&((Entity *)pEVar31)->_sprite,"Shuffle"), + cVar7 != '\0')))) { random_float(); - local_9c[0] = (RNG)((float)RVar33 * 0.1 + 1.0); + local_9c[0] = (ANM2 *)((float)pRVar35 * 0.1 + 1.0); random_float(); SoundEffects::PlayWithFartOverride(0xfc,2,0,local_9c[0]); } - sVar27 = *(short *)((int)&((Entity *)(pEVar29 + 1))->_pendingDamageFlags + 4); - if (sVar27 == 0) { - *(undefined2 *)((int)&((Entity *)(pEVar29 + 1))->_pendingDamageFlags + 6) = 0; + sVar28 = *(short *)((int)&((Entity *)(pEVar31 + 1))->_pendingDamageFlags + 4); + if (sVar28 == 0) { + *(undefined2 *)((int)&((Entity *)(pEVar31 + 1))->_pendingDamageFlags + 6) = 0; } else { - psVar1 = (short *)((int)&((Entity *)(pEVar29 + 1))->_pendingDamageFlags + 6); - *psVar1 = *psVar1 + 1; - *(short *)((int)&((Entity *)(pEVar29 + 1))->_pendingDamageFlags + 4) = sVar27 + -1; + psVar2 = (short *)((int)&((Entity *)(pEVar31 + 1))->_pendingDamageFlags + 6); + *psVar2 = *psVar2 + 1; + *(short *)((int)&((Entity *)(pEVar31 + 1))->_pendingDamageFlags + 4) = sVar28 + -1; } - Entity::Update((Entity *)pEVar29); - ANM2::Update((ANM2 *)&((Entity *)(pEVar29 + 1))->_index); + Entity::Update((Entity *)pEVar31); + ANM2::Update((ANM2 *)&((Entity *)(pEVar31 + 1))->_index); ExceptionList = local_1c; return; } @@ -322932,15 +323228,14 @@ void __thiscall Entity_Slot::spawn_break_drops(Entity_Slot *this) RNG *pRVar10; int iVar11; undefined4 uVar12; - undefined1 *puVar13; + int *piVar13; TypeDescriptor *pTVar14; TypeDescriptor *pTVar15; undefined4 uVar16; - undefined1 local_a8 [8]; + int local_a8 [2]; undefined1 local_a0 [8]; undefined1 local_98 [8]; - RNG local_90 [2]; - undefined1 local_88 [8]; + RNG local_90; uint local_80 [4]; undefined1 local_70 [4]; Entity_Player *local_6c; @@ -323034,12 +323329,12 @@ void __thiscall Entity_Slot::spawn_break_drops(Entity_Slot *this) } } else if (iVar11 == 0xc) { - RNG::game_constructor(local_90,local_80[0],0x1f); - uVar5 = RNG::RandomInt(local_90,100); + RNG::game_constructor(&local_90,local_80[0],0x1f); + uVar5 = RNG::RandomInt(&local_90,100); if (uVar5 == 0) { - uVar5 = RNG::Next(local_90); + uVar5 = RNG::Next(&local_90); uVar4 = ItemPool::get_available_collectibles(&DAT_00b64be0,10,uVar5,0x1e,1,0); - uVar5 = RNG::Next(local_90); + uVar5 = RNG::Next(&local_90); uVar16 = 0; pTVar15 = &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor; pTVar14 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; @@ -323051,11 +323346,11 @@ void __thiscall Entity_Slot::spawn_break_drops(Entity_Slot *this) (**(code **)(*(int *)this + 0x28))(); return; } - uVar5 = RNG::RandomInt(local_90,4); + uVar5 = RNG::RandomInt(&local_90,4); iVar11 = uVar5 + 1; if (0 < iVar11) { do { - uVar5 = RNG::Next(local_90); + uVar5 = RNG::Next(&local_90); Isaac::GetRandomPickupVelocity(1,local_80); Game::Spawn(5,0x46,&this->_pos,&local_5c,0,0,uVar5); iVar11 = iVar11 + -1; @@ -323123,7 +323418,7 @@ LAB_00663f4c: Game::Spawn(5,0x3c,&this->_pos,&g_vectorZero,0,0,uVar5); return; } - RNG::game_constructor(local_90,this->_initSeed,0x1b); + RNG::game_constructor(&local_90,this->_initSeed,0x1b); uVar6 = RNG::RandomInt(pRVar10,4); uVar5 = 2; if (2 < (int)uVar6) { @@ -323143,7 +323438,7 @@ LAB_00663f4c: local_4c = (RNG *)0x0; do { pGVar1 = g_game; - uVar5 = RNG::Next(local_90); + uVar5 = RNG::Next(&local_90); local_6c = (Entity_Player *) PlayerManager::RandomTrinketOwner (&pGVar1->_playerManager,local_1c[(int)local_4c],uVar5,0); @@ -323201,24 +323496,24 @@ LAB_00664266: do { RNG::Next(pRVar10); local_6c = (Entity_Player *) - ((float)((double)(int)*pRVar10 + __uint_to_double_fixup[-((int)*pRVar10 >> 0x1f)] - ) * 2.3283062e-10); + ((float)((double)pRVar10->_seed + + __uint_to_double_fixup[-(pRVar10->_seed >> 0x1f)]) * 2.3283062e-10); if (0.35 <= (float)local_6c) { if ((0.55 <= (float)local_6c) || ((pRVar7 != (RNG *)0x0 && (uVar5 = RNG::RandomInt(pRVar7,5), uVar5 != 0)))) { if (0.7 <= (float)local_6c) { uVar5 = RNG::Next(pRVar10); Isaac::GetRandomPickupVelocity(1,local_80); - puVar13 = local_88; + piVar13 = &local_90._shift2; uVar4 = 0x28; } else { uVar5 = RNG::Next(pRVar10); Isaac::GetRandomPickupVelocity(1,local_80); - puVar13 = local_a8; + piVar13 = local_a8; uVar4 = 0x1e; } - Game::Spawn(5,uVar4,pVVar9,puVar13,0,0,uVar5); + Game::Spawn(5,uVar4,pVVar9,piVar13,0,0,uVar5); } else { uVar5 = RNG::Next(pRVar10); @@ -323281,22 +323576,21 @@ Entity_Slot::TakeDamage byte bVar9; uint uVar10; undefined4 uVar11; - uint uVar12; - int *piVar13; - byte *pbVar14; + int *piVar12; + byte *pbVar13; undefined4 extraout_ECX; - Entity *pEVar15; - int iVar16; - Vector *pVVar17; + Entity *pEVar14; + int iVar15; + Vector *pVVar16; + uint uVar17; uint uVar18; - RNG RVar19; - PlayerManager *pPVar20; - bool bVar21; + PlayerManager *pPVar19; + bool bVar20; + float fVar21; float fVar22; float fVar23; - float fVar24; - ulonglong uVar25; - char *pcVar26; + ulonglong uVar24; + char *pcVar25; uint local_bc; uint local_b8; int *local_b4; @@ -323312,7 +323606,7 @@ Entity_Slot::TakeDamage float local_8c; uint local_88; undefined4 local_80; - int iStack_7c; + void *pvStack_7c; float local_78; Entity_Slot *local_74; float local_70; @@ -323332,87 +323626,86 @@ Entity_Slot::TakeDamage uint auStack_1c [6]; auStack_1c[4] = __security_cookie ^ (uint)&local_bc; - iVar16 = this->_variant; + iVar15 = this->_variant; local_74 = this; - if (iVar16 == 0xe) { + if (iVar15 == 0xe) { if (*(int *)&this[1].field_0x4 != 1) { return 0; } *(undefined4 *)&this[1].field_0x4 = 2; *(undefined2 *)&this[1]._damageEvents._capacity = 0x1e; - pcVar26 = "PayPrize"; + pcVar25 = "PayPrize"; LAB_006645b4: - ANM2::Play(&this->_sprite,(byte *)pcVar26,0); + ANM2::Play(&this->_sprite,(byte *)pcVar25,0); return 0; } if ((param_3 & 4) == 0) { return 0; } - if (iVar16 == 8) { + if (iVar15 == 8) { if (*(int *)&this[1].field_0x4 != 3) { ANM2::Play(&this->_sprite,(byte *)"Death",0); - fVar22 = this[1]._sprite._championColor._offset[0]; + fVar21 = this[1]._sprite._championColor._offset[0]; this_00 = &this->_dropRNG; *(undefined4 *)&this[1].field_0x4 = 3; - uVar18 = *(uint *)((int)fVar22 + 0x30c) % 1000; + uVar17 = *(uint *)((int)fVar21 + 0x30c) % 1000; uVar10 = RNG::RandomInt(this_00,9); - if ((int)(uVar10 + 7) <= (int)uVar18) { - uVar18 = uVar10 + 7; + if ((int)(uVar10 + 7) <= (int)uVar17) { + uVar17 = uVar10 + 7; } PersistentGameData::IncreaseEventCounter - ((PersistentGameData *)this[1]._sprite._championColor._offset[0],0x14,-uVar18); - local_b0 = (float)(uVar18 - 1); + ((PersistentGameData *)this[1]._sprite._championColor._offset[0],0x14,-uVar17); + local_b0 = (float)(uVar17 - 1); if (0 < (int)local_b0) { do { - iVar16 = 0; + iVar15 = 0; do { - RVar19 = *this_00; - if (RVar19 == (RNG)0x0) { + uVar17 = this_00->_seed; + if (uVar17 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar18 = (uint)RVar19 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar19 - ; + uVar17 = uVar17 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar17; auStack_1c[1] = 3; auStack_1c[2] = 1; - uVar18 = uVar18 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar18; - uVar10 = uVar18 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f); - RVar19 = (RNG)(uVar10 ^ uVar18); + uVar17 = uVar17 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar17; + uVar10 = uVar17 >> ((byte)(this->_dropRNG)._shift3 & 0x1f); + uVar18 = uVar10 ^ uVar17; local_a8 = 1.96182e-44; - *this_00 = RVar19; - if (uVar10 == uVar18) { + this_00->_seed = uVar18; + if (uVar10 == uVar17) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar18 = (uint)RVar19 >> 3 ^ (uint)RVar19; + uVar18 = uVar18 >> 3 ^ uVar18; uVar18 = uVar18 << 1 ^ uVar18; uVar18 = uVar18 >> 0xe ^ uVar18; - fVar22 = (float)((double)(int)uVar18 + __uint_to_double_fixup[-((int)uVar18 >> 0x1f)]) * + fVar21 = (float)((double)(int)uVar18 + __uint_to_double_fixup[-((int)uVar18 >> 0x1f)]) * 2.3283062e-10 * 3.14; - fVar22 = fVar22 + fVar22; - local_a8 = fVar22; + fVar21 = fVar21 + fVar21; + local_a8 = fVar21; cos(); - local_94 = fVar22 * 5.0; - fVar22 = local_a8; + local_94 = fVar21 * 5.0; + fVar21 = local_a8; local_50 = local_94; sin(); - pVVar17 = &local_74->_pos; - local_a4 = local_94 * 7.0 + pVVar17->x; - local_4c = fVar22 * 5.0 * 0.2 + 3.0; + pVVar16 = &local_74->_pos; + local_a4 = local_94 * 7.0 + pVVar16->x; + local_4c = fVar21 * 5.0 * 0.2 + 3.0; local_a0 = local_4c * 7.0 + (local_74->_pos).y; - cVar8 = Room::CheckLine(pVVar17,&local_a4,1,0,0,0,0); + cVar8 = Room::CheckLine(pVVar16,&local_a4,1,0,0,0,0); pGVar7 = g_game; - } while ((cVar8 == '\0') && (iVar16 = iVar16 + 1, iVar16 < 10)); - RVar19 = *this_00; - if (RVar19 == (RNG)0x0) { + } while ((cVar8 == '\0') && (iVar15 = iVar15 + 1, iVar15 < 10)); + uVar17 = this_00->_seed; + if (uVar17 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar18 = (uint)RVar19 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar19; - uVar18 = uVar18 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar18; - RVar19 = (RNG)(uVar18 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar18); - *this_00 = RVar19; - Game::SpawnEx(pGVar7,5,0x14,pVVar17,&local_50,0,1,RVar19,0); + uVar17 = uVar17 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar17; + uVar17 = uVar17 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar17; + uVar17 = uVar17 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar17; + this_00->_seed = uVar17; + Game::SpawnEx(pGVar7,5,0x14,pVVar16,&local_50,0,1,uVar17,0); local_b0 = (float)((int)local_b0 + -1); } while (local_b0 != 0.0); } @@ -323424,34 +323717,34 @@ LAB_006645b4: } } else { - if (iVar16 == 0xb) { + if (iVar15 == 0xb) { bVar9 = PlayerManager::IsCoopPlay(&g_game->_playerManager); if (bVar9 == 0) { return 0; } - uVar18 = PlayerManager::count_main_players(); - if (uVar18 < 2) { + uVar17 = PlayerManager::count_main_players(); + if (uVar17 < 2) { return 0; } ANM2::Play(&this->_sprite,(byte *)"Death",0); *(undefined4 *)&this[1].field_0x4 = 3; return 1; } - if ((iVar16 == 10) && (*(int *)&this[1].field_0x4 != 3)) { + if ((iVar15 == 10) && (*(int *)&this[1].field_0x4 != 3)) { Room::ShopRestockFull(g_game->_room); *(undefined4 *)&this[1]._pendingDamageFlags = 0; uVar11 = Random(); Game::SpawnEx(g_game,1000,1,&this->_pos,&g_vectorZero,0,0,uVar11,0); spawn_break_drops(this); *(undefined4 *)&this[1].field_0x4 = 3; - pcVar26 = "Death"; + pcVar25 = "Death"; goto LAB_006645b4; } } if (*(int *)&this[1].field_0x4 == 3) { return 0; } - if (iVar16 == 9) { + if (iVar15 == 9) { if ((param_3 & 0x1000000) == 0) { if (*(int *)&this[1].field_0x4 != 1) { return 0; @@ -323471,41 +323764,41 @@ LAB_006645b4: } else { *(undefined4 *)&this[1].field_0x4 = 3; - if (iVar16 == 1) { + if (iVar15 == 1) { PersistentGameData::IncreaseEventCounter ((PersistentGameData *)this[1]._sprite._championColor._offset[0],0x12,1); - iVar16 = this->_variant; + iVar15 = this->_variant; } } - if (iVar16 == 2) { + if (iVar15 == 2) { uVar11 = Random(); - pVVar17 = &this->_pos; - local_54 = pVVar17; - iVar16 = Game::SpawnEx(g_game,1000,2,pVVar17,&g_vectorZero,0,4,uVar11,0); + pVVar16 = &this->_pos; + local_54 = pVVar16; + iVar15 = Game::SpawnEx(g_game,1000,2,pVVar16,&g_vectorZero,0,4,uVar11,0); local_a8 = 7.00649e-45; - *(undefined4 *)(iVar16 + 0xdc) = 0; - *(undefined4 *)(iVar16 + 0xe0) = 0xc1200000; - *(undefined4 *)(iVar16 + 0x358) = 0x40a00000; + *(undefined4 *)(iVar15 + 0xdc) = 0; + *(undefined4 *)(iVar15 + 0xe0) = 0xc1200000; + *(undefined4 *)(iVar15 + 0x358) = 0x40a00000; do { - iVar16 = Random(); - local_b0 = (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * 2.3283064e-10 + iVar15 = Random(); + local_b0 = (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 3.14; local_b0 = local_b0 + local_b0; - iVar16 = Random(); - local_b4 = (int *)((float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + iVar15 = Random(); + local_b4 = (int *)((float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 20.0 + 30.0); - fVar22 = local_b0; + fVar21 = local_b0; cos(); - local_8c = fVar22 * (float)local_b4; - fVar22 = local_b0; + local_8c = fVar21 * (float)local_b4; + fVar21 = local_b0; sin(); - local_78 = fVar22 * (float)local_b4 * 0.65; - local_a4 = local_8c * 0.2 + pVVar17->x; - local_a0 = local_78 * 0.2 + pVVar17->y; - iVar16 = Random(); + local_78 = fVar21 * (float)local_b4 * 0.65; + local_a4 = local_8c * 0.2 + pVVar16->x; + local_a0 = local_78 * 0.2 + pVVar16->y; + iVar15 = Random(); local_94 = 5.60519e-45; - fVar22 = (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * 2.3283064e-10; - local_b0 = fVar22 + fVar22 + 2.0; + fVar21 = (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10; + local_b0 = fVar21 + fVar21 + 2.0; do { local_80 = Random(); local_68 = g_game; @@ -323514,87 +323807,87 @@ LAB_006645b4: local_98 = 1000; lua_callback_run_pre_entity_spawn (&local_98,&local_90,&local_a4,&g_vectorZero,0,&local_bc,&local_80); - uVar18 = local_90; + uVar17 = local_90; if (*(int *)&g_game->_deathmatchManager < 2) { LAB_00664dda: local_b8 = local_bc; } else { - piVar13 = (g_game->_deathmatchManager)._type; - local_b4 = piVar13; - uVar12 = Random(); + piVar12 = (g_game->_deathmatchManager)._type; + local_b4 = piVar12; + uVar18 = Random(); uVar10 = local_bc; local_34 = 0x900000005; local_9c = (Entity *)&DAT_00000007; local_2c = 7; if (local_98 != 5) goto LAB_00664dda; - if (uVar18 < 0x12d) { - if (uVar18 == 300) { + if (uVar17 < 0x12d) { + if (uVar17 == 300) { while ((local_b8 = local_bc, local_bc == 0 || - (cVar8 = (**(code **)(*piVar13 + 0x24))(local_bc), cVar8 != '\0'))) { - if (uVar12 == 0) { + (cVar8 = (**(code **)(*piVar12 + 0x24))(local_bc), cVar8 != '\0'))) { + if (uVar18 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = uVar12 >> ((byte)local_34 & 0x1f) ^ uVar12; - uVar12 = uVar12 << ((byte)((ulonglong)local_34 >> 0x20) & 0x1f) ^ uVar12; - uVar12 = uVar12 >> ((byte)local_9c & 0x1f) ^ uVar12; - iVar16 = ItemPool::GetCardEx(uVar12,0x19,10,10,1); + uVar18 = uVar18 >> ((byte)local_34 & 0x1f) ^ uVar18; + uVar18 = uVar18 << ((byte)((ulonglong)local_34 >> 0x20) & 0x1f) ^ uVar18; + uVar18 = uVar18 >> ((byte)local_9c & 0x1f) ^ uVar18; + iVar15 = ItemPool::GetCardEx(uVar18,0x19,10,10,1); auStack_1c[1] = 5; auStack_1c[2] = 9; auStack_1c[3] = 7; - auStack_1c[0] = uVar12; - local_bc = lua_callback_run_get_card(auStack_1c,iVar16,1,1,0); + auStack_1c[0] = uVar18; + local_bc = lua_callback_run_get_card(auStack_1c,iVar15,1,1,0); } } else { - if (uVar18 == 0x46) { + if (uVar17 == 0x46) { local_88 = local_bc >> 0xb; do { local_b8 = local_bc; if (local_bc != 0) { - pcVar2 = *(code **)(*piVar13 + 0x28); - iVar16 = ItemPool::GetPillEffect + pcVar2 = *(code **)(*piVar12 + 0x28); + iVar15 = ItemPool::GetPillEffect (&g_game->_itemPool,local_bc,(Entity_Player *)0x0); - cVar8 = (*pcVar2)(iVar16); + cVar8 = (*pcVar2)(iVar15); if (cVar8 == '\0') goto LAB_00664de2; - piVar13 = local_b4; + piVar12 = local_b4; } - if (uVar12 == 0) { + if (uVar18 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = uVar12 >> ((byte)local_34 & 0x1f) ^ uVar12; - uVar12 = uVar12 << ((byte)((ulonglong)local_34 >> 0x20) & 0x1f) ^ uVar12; - uVar12 = uVar12 >> ((byte)local_9c & 0x1f) ^ uVar12; - local_bc = ItemPool::GetPill(uVar12); + uVar18 = uVar18 >> ((byte)local_34 & 0x1f) ^ uVar18; + uVar18 = uVar18 << ((byte)((ulonglong)local_34 >> 0x20) & 0x1f) ^ uVar18; + uVar18 = uVar18 >> ((byte)local_9c & 0x1f) ^ uVar18; + local_bc = ItemPool::GetPill(uVar18); local_bc = local_bc | (local_88 & 1) << 0xb; } while( true ); } - if (uVar18 != 100) goto LAB_00664dda; + if (uVar17 != 100) goto LAB_00664dda; local_b8 = local_bc; if (local_bc == 0x19) { LAB_00664c2a: - bVar21 = false; + bVar20 = false; } else { local_5c = local_bc; std::set::find_node(local_28,&local_5c); if (((*(char *)(local_20 + 0xd) == '\0') && - (*(int *)(local_20 + 0x10) <= (int)uVar10)) && (local_20 != piVar13[8])) + (*(int *)(local_20 + 0x10) <= (int)uVar10)) && (local_20 != piVar12[8])) goto LAB_00664c2a; - bVar21 = true; + bVar20 = true; } - if ((uVar10 == 0) || (bVar21)) { - local_bc = (**(code **)(*piVar13 + 0x84))(0); + if ((uVar10 == 0) || (bVar20)) { + local_bc = (**(code **)(*piVar12 + 0x84))(0); local_b8 = local_bc; } } } else { - if (uVar18 != 0x15e) goto LAB_00664dda; + if (uVar17 != 0x15e) goto LAB_00664dda; while ((local_b8 = local_bc, local_bc == 0 || - (cVar8 = (**(code **)(*piVar13 + 0x2c))(local_bc), cVar8 != '\0'))) { + (cVar8 = (**(code **)(*piVar12 + 0x2c))(local_bc), cVar8 != '\0'))) { local_bc = ItemPool::GetTrinket(&g_game->_itemPool,0); } } @@ -323603,146 +323896,147 @@ LAB_00664de2: local_9c = EntityFactory::Create(local_68->_entityFactory,local_98,0); if (local_9c == (Entity *)0x0) { LAB_006650d5: - pEVar15 = (Entity *)0x0; + pEVar14 = (Entity *)0x0; } else { - uVar25 = GetTimeNs(); - pEVar15 = local_9c; - local_88 = (uint)(uVar25 >> 0x20); - lVar4 = (uVar25 & 0xffffffff) * 0x431bde82; + uVar24 = GetTimeNs(); + pEVar14 = local_9c; + local_88 = (uint)(uVar24 >> 0x20); + lVar4 = (uVar24 & 0xffffffff) * 0x431bde82; local_ac = (float)((ulonglong)lVar4 >> 0x20); - lVar5 = (ulonglong)local_88 * 0xd7b634db + ((uVar25 & 0xffffffff) * 0xd7b634db >> 0x20); + lVar5 = (ulonglong)local_88 * 0xd7b634db + ((uVar24 & 0xffffffff) * 0xd7b634db >> 0x20); uVar10 = (uint)((ulonglong)lVar5 >> 0x20); - uVar18 = (int)local_ac + (uint)CARRY4((uint)lVar4,(uint)lVar5); + uVar17 = (int)local_ac + (uint)CARRY4((uint)lVar4,(uint)lVar5); lVar4 = (ulonglong)local_88 * 0x431bde82 + - (ulonglong)CONCAT14(CARRY4(uVar10,uVar18),uVar10 + uVar18); - uVar18 = (uint)((ulonglong)lVar4 >> 0x20); + (ulonglong)CONCAT14(CARRY4(uVar10,uVar17),uVar10 + uVar17); + uVar17 = (uint)((ulonglong)lVar4 >> 0x20); pEVar1 = &local_9c->_spawnerEntity; - local_b4 = (int *)((uint)lVar4 >> 0x12 | uVar18 * 0x4000); - local_70 = (float)(uVar18 >> 0x12); + local_b4 = (int *)((uint)lVar4 >> 0x12 | uVar17 * 0x4000); + local_70 = (float)(uVar17 >> 0x12); local_9c->_spawnerType = 0; local_9c->_spawnerVariant = 0; if (*pEVar1 != (EntityPtr)0x0) { local_58 = pEVar1; std::multiset::erase(&local_58); } - iVar16 = *(int *)pEVar15; + iVar15 = *(int *)pEVar14; *pEVar1 = (EntityPtr)0x0; - (pEVar15->_pos).x = local_a4; - (pEVar15->_pos).y = local_a0; - (pEVar15->_velocity).x = g_vectorZero.x; - (pEVar15->_velocity).y = g_vectorZero.y; - (**(code **)(iVar16 + 4))(local_98,local_90,local_b8,local_80); + (pEVar14->_pos).x = local_a4; + (pEVar14->_pos).y = local_a0; + (pEVar14->_velocity).x = g_vectorZero.x; + (pEVar14->_velocity).y = g_vectorZero.y; + (**(code **)(iVar15 + 4))(local_98,local_90,local_b8,local_80); pGVar7 = local_68; - iVar16 = *(int *)((int)local_68->_room + 0x1214); - *(int *)((int)local_68->_room + 0x1214) = iVar16 + 1; - pEVar15->_index = iVar16; - EntityList::AddEntity(pEVar15); - cVar8 = Game::ShouldEraseEnemy(pEVar15); + iVar15 = *(int *)((int)local_68->_room + 0x1214); + *(int *)((int)local_68->_room + 0x1214) = iVar15 + 1; + pEVar14->_index = iVar15; + EntityList::AddEntity(pEVar14); + cVar8 = Game::ShouldEraseEnemy(pEVar14); if (cVar8 != '\0') { - Entity::RemoveWithPoof(pEVar15,extraout_ECX); + Entity::RemoveWithPoof(pEVar14,extraout_ECX); } - if ((pEVar15->_exists != 0) && + if ((pEVar14->_exists != 0) && ((pGVar7->_proceduralItemManager)._proceduralItems._begin != (pGVar7->_proceduralItemManager)._proceduralItems._end)) { - iStack_44 = pEVar15->_variant; - iVar16 = pEVar15->_type; - iStack_48 = iVar16; - std::map::find(&iStack_7c,&iStack_48); - if (iStack_7c == *(int *)&pGVar7->field_0x67780) { + iStack_44 = pEVar14->_variant; + iVar15 = pEVar14->_type; + iStack_48 = iVar15; + std::map::find(&pvStack_7c,&iStack_48); + if (pvStack_7c == (pGVar7->_proceduralItemManager)._spawnTriggerTargets._head) { aiStack_40[1] = 0xffffffff; - aiStack_40[0] = iVar16; - piVar13 = (int *)std::map::find(&local_50,aiStack_40); - iStack_7c = *piVar13; - if (iStack_7c == *(int *)&pGVar7->field_0x67780) goto LAB_00665048; + aiStack_40[0] = iVar15; + piVar12 = (int *)std::map::find(&local_50,aiStack_40); + pvStack_7c = (void *)*piVar12; + if (pvStack_7c == (pGVar7->_proceduralItemManager)._spawnTriggerTargets._head) + goto LAB_00665048; } - uVar18 = 0; - pPVar20 = &g_game->_playerManager; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar20->_playerList)._begin + uVar17 = 0; + pPVar19 = &g_game->_playerManager; + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar19->_playerList)._begin >> 2 != 0) { do { - if ((int)(pPVar20->_playerList)._end - (int)(pPVar20->_playerList)._begin >> 2 == 0) + if ((int)(pPVar19->_playerList)._end - (int)(pPVar19->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - trigger_set_dispatch(6,pEVar15,&local_a4,&g_vectorZero); - uVar18 = uVar18 + 1; - pPVar20 = &g_game->_playerManager; - } while (uVar18 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar20->_playerList)._begin >> 2)); + trigger_set_dispatch(6,pEVar14,&local_a4,&g_vectorZero); + uVar17 = uVar17 + 1; + pPVar19 = &g_game->_playerManager; + } while (uVar17 < (uint)((int)(g_game->_playerManager)._playerList._end - + (int)(pPVar19->_playerList)._begin >> 2)); } } LAB_00665048: - uVar25 = GetTimeNs(); - uVar18 = (uint)(uVar25 >> 0x20); - lVar4 = (uVar25 & 0xffffffff) * 0x431bde82; + uVar24 = GetTimeNs(); + uVar17 = (uint)(uVar24 >> 0x20); + lVar4 = (uVar24 & 0xffffffff) * 0x431bde82; local_88 = (uint)((ulonglong)lVar4 >> 0x20); - lVar5 = (ulonglong)uVar18 * 0x431bde82; + lVar5 = (ulonglong)uVar17 * 0x431bde82; local_ac = (float)lVar5; - lVar6 = (ulonglong)uVar18 * 0xd7b634db + ((uVar25 & 0xffffffff) * 0xd7b634db >> 0x20); + lVar6 = (ulonglong)uVar17 * 0xd7b634db + ((uVar24 & 0xffffffff) * 0xd7b634db >> 0x20); local_68 = (Game *)(lVar6 + lVar4); lVar5 = lVar5 + (ulonglong) CONCAT14(CARRY4((uint)((ulonglong)lVar6 >> 0x20), local_88 + CARRY4((uint)lVar4,(uint)lVar6)), (int)((ulonglong)(lVar6 + lVar4) >> 0x20)); uVar10 = (uint)((ulonglong)lVar5 >> 0x20); - piVar13 = (int *)((uint)lVar5 >> 0x12 | uVar10 * 0x4000); - uVar18 = (int)piVar13 - (int)local_b4; - bVar21 = CARRY4((uint)g_entitySpawnTimeMs,uVar18); - g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar18; + piVar12 = (int *)((uint)lVar5 >> 0x12 | uVar10 * 0x4000); + uVar17 = (int)piVar12 - (int)local_b4; + bVar20 = CARRY4((uint)g_entitySpawnTimeMs,uVar17); + g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar17; g_entitySpawnTimeMs._4_4_ = g_entitySpawnTimeMs._4_4_ + - (((uVar10 >> 0x12) - (int)local_70) - (uint)(piVar13 < local_b4)) + (uint)bVar21; - pEVar15 = local_9c; + (((uVar10 >> 0x12) - (int)local_70) - (uint)(piVar12 < local_b4)) + (uint)bVar20; + pEVar14 = local_9c; if (local_9c->_type != 1000) goto LAB_006650d5; } - iVar16 = *(int *)pEVar15; - (pEVar15->_sprite)._scale.x = local_b0; - (pEVar15->_sprite)._scale.y = local_b0; - (**(code **)(iVar16 + 0xc))(); - iVar16 = Random(); - fVar23 = ((float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + iVar15 = *(int *)pEVar14; + (pEVar14->_sprite)._scale.x = local_b0; + (pEVar14->_sprite)._scale.y = local_b0; + (**(code **)(iVar15 + 0xc))(); + iVar15 = Random(); + fVar22 = ((float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 * 40.0 - 20.0) * 0.017453292; - local_70 = fVar23; + local_70 = fVar22; cos(); - fVar22 = local_70; - local_ac = fVar23; + fVar21 = local_70; + local_ac = fVar22; sin(); local_94 = (float)((int)local_94 + -1); - fVar24 = local_8c * 0.9; - fVar23 = local_78 * local_ac; - local_a4 = (local_8c * local_ac - local_78 * fVar22) + local_a4; + fVar23 = local_8c * 0.9; + fVar22 = local_78 * local_ac; + local_a4 = (local_8c * local_ac - local_78 * fVar21) + local_a4; local_78 = local_78 * 0.9; local_b0 = local_b0 * 0.6; - local_a0 = local_8c * fVar22 + fVar23 + local_a0; - local_8c = fVar24; + local_a0 = local_8c * fVar21 + fVar22 + local_a0; + local_8c = fVar23; } while (local_94 != 0.0); local_a8 = (float)((int)local_a8 + -1); local_94 = 0.0; - pVVar17 = local_54; + pVVar16 = local_54; } while (local_a8 != 0.0); local_94 = 0.0; local_a8 = 0.0; this = local_74; } - iVar16 = ((Entity *)this)->_variant; - if (((((iVar16 == 4) || (iVar16 == 5)) || (iVar16 == 7)) || ((iVar16 == 6 || (iVar16 == 9)))) || - ((iVar16 == 0xf || ((iVar16 == 0xd || (iVar16 == 0x12)))))) { + iVar15 = ((Entity *)this)->_variant; + if (((((iVar15 == 4) || (iVar15 == 5)) || (iVar15 == 7)) || ((iVar15 == 6 || (iVar15 == 9)))) || + ((iVar15 == 0xf || ((iVar15 == 0xd || (iVar15 == 0x12)))))) { uVar11 = Random(); uVar11 = Game::SpawnEx(g_game,1000,2,&((Entity *)this)->_pos,&g_vectorZero,0,0,uVar11,0); - iVar16 = __RTDynamicCast(uVar11,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, + iVar15 = __RTDynamicCast(uVar11,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor,0); - *(undefined4 *)(iVar16 + 0xdc) = 0; - *(undefined4 *)(iVar16 + 0xe0) = 0xc1200000; + *(undefined4 *)(iVar15 + 0xdc) = 0; + *(undefined4 *)(iVar15 + 0xe0) = 0xc1200000; Entity::BloodExplode((Entity *)this); (**(code **)(*(int *)this + 0x28))(); - iVar16 = ((Entity *)this)->_variant; - if ((iVar16 == 4) || ((((iVar16 == 5 || (iVar16 == 0x12)) || (iVar16 == 7)) || (iVar16 == 9)))) + iVar15 = ((Entity *)this)->_variant; + if ((iVar15 == 4) || ((((iVar15 == 5 || (iVar15 == 0x12)) || (iVar15 == 7)) || (iVar15 == 9)))) { g_game->_levelStateFlags = g_game->_levelStateFlags | 1; } - else if (iVar16 == 0xd) { + else if (iVar15 == 0xd) { g_game->_levelStateFlags = g_game->_levelStateFlags | 1; PersistentGameData::IncreaseEventCounter ((PersistentGameData *)(((Entity *)(this + 1))->_sprite)._championColor._offset[0], @@ -323760,29 +324054,29 @@ LAB_00665316: } } else { - pbVar14 = pbVar3; + pbVar13 = pbVar3; if (0xf < *(uint *)(pbVar3 + 0x14)) { - pbVar14 = *(byte **)pbVar3; + pbVar13 = *(byte **)pbVar3; } - pcVar26 = "Broken"; + pcVar25 = "Broken"; do { - bVar9 = *pbVar14; - bVar21 = bVar9 < (byte)*pcVar26; - if (bVar9 != *pcVar26) { + bVar9 = *pbVar13; + bVar20 = bVar9 < (byte)*pcVar25; + if (bVar9 != *pcVar25) { LAB_00665300: - uVar18 = -(uint)bVar21 | 1; + uVar17 = -(uint)bVar20 | 1; goto LAB_00665305; } if (bVar9 == 0) break; - bVar9 = pbVar14[1]; - bVar21 = bVar9 < (byte)pcVar26[1]; - if (bVar9 != pcVar26[1]) goto LAB_00665300; - pbVar14 = pbVar14 + 2; - pcVar26 = pcVar26 + 2; + bVar9 = pbVar13[1]; + bVar20 = bVar9 < (byte)pcVar25[1]; + if (bVar9 != pcVar25[1]) goto LAB_00665300; + pbVar13 = pbVar13 + 2; + pcVar25 = pcVar25 + 2; } while (bVar9 != 0); - uVar18 = 0; + uVar17 = 0; LAB_00665305: - if ((uVar18 != 0) || + if ((uVar17 != 0) || ((pbVar3[0x34] != 0 && ((((Entity *)this)->_sprite)._animState._isPlaying == 0)))) goto LAB_00665316; } @@ -323882,7 +324176,8 @@ void __thiscall Entity_Slot::SetPrizeType(Entity_Slot *this,float param_2) uVar3 = Seeds::GetForcedCurses(); uVar4 = Seeds::GetPreventedCurses(); bVar5 = (byte)(~uVar4 >> 6) & (byte)((uVar3 | uVar1 | uVar2) >> 6) & 1; - Entity_Pickup::load_collectible_gfx(this[1]._sprite._championColor._colorize[2],this->_dropRNG); + Entity_Pickup::load_collectible_gfx + (this[1]._sprite._championColor._colorize[2],(this->_dropRNG)._seed); ANM2::LoadGraphics((ANM2 *)&this[1]._index,bVar5); return; } @@ -323892,7 +324187,8 @@ void __thiscall Entity_Slot::SetPrizeType(Entity_Slot *this,float param_2) uVar3 = Seeds::GetForcedCurses(); uVar4 = Seeds::GetPreventedCurses(); bVar5 = (byte)(~uVar4 >> 6) & (byte)((uVar3 | uVar1 | uVar2) >> 6) & 1; - Entity_Pickup::load_collectible_gfx(this[1]._sprite._championColor._colorize[2],this->_dropRNG); + Entity_Pickup::load_collectible_gfx + (this[1]._sprite._championColor._colorize[2],(this->_dropRNG)._seed); ANM2::LoadGraphics(&this->_sprite,bVar5); } return; @@ -323981,10 +324277,9 @@ Entity_Slot::HandleCollision uint uVar4; float *pfVar5; int iVar6; - RNG RVar7; - uint uVar8; + uint uVar7; + float fVar8; float fVar9; - float fVar10; float local_30; float local_2c; float local_28; @@ -324008,36 +324303,36 @@ Entity_Slot::HandleCollision local_14 = 0x100000003; uVar3 = uVar3 << ((byte)param_5[2] & 0x1f) ^ uVar3; uVar4 = uVar3 >> ((byte)param_5[3] & 0x1f); - uVar8 = uVar4 ^ uVar3; - *param_5 = uVar8; + uVar7 = uVar4 ^ uVar3; + *param_5 = uVar7; if (uVar4 == uVar3) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = uVar8 >> 3 ^ uVar8; - uVar8 = uVar8 << 1 ^ uVar8; - uVar8 = uVar8 >> 0xe ^ uVar8; - fVar9 = (float)((double)(int)uVar8 + __uint_to_double_fixup[-((int)uVar8 >> 0x1f)]) * + uVar7 = uVar7 >> 3 ^ uVar7; + uVar7 = uVar7 << 1 ^ uVar7; + uVar7 = uVar7 >> 0xe ^ uVar7; + fVar8 = (float)((double)(int)uVar7 + __uint_to_double_fixup[-((int)uVar7 >> 0x1f)]) * 2.3283062e-10 * 3.14; - fVar9 = fVar9 + fVar9; - fVar10 = fVar9; + fVar8 = fVar8 + fVar8; + fVar9 = fVar8; cos(); - local_30 = fVar10 * 5.0; + local_30 = fVar9 * 5.0; sin(); - local_28 = fVar10 * 5.0 * 7.0 + (this->_pos).x; - local_2c = fVar9 * 5.0 * 0.2 + 3.0; + local_28 = fVar9 * 5.0 * 7.0 + (this->_pos).x; + local_2c = fVar8 * 5.0 * 0.2 + 3.0; local_24 = local_2c * 7.0 + (this->_pos).y; cVar2 = Room::CheckLine(&this->_pos,&local_28,1,0,0,0,0); } while ((cVar2 == '\0') && (iVar6 = iVar6 + 1, iVar6 < 10)); - RVar7 = this->_dropRNG; - if (RVar7 == (RNG)0x0) { + uVar3 = (this->_dropRNG)._seed; + if (uVar3 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar3 = (uint)RVar7 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar7; - uVar3 = uVar3 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar3; - RVar7 = (RNG)(uVar3 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar3); - this->_dropRNG = RVar7; + uVar3 = uVar3 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar3; + uVar3 = uVar3 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar3; + uVar3 = uVar3 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar3; + (this->_dropRNG)._seed = uVar3; if ((*param_7 == g_vectorZero.x) && (param_7[1] == g_vectorZero.y)) { bVar1 = false; } @@ -324050,7 +324345,7 @@ Entity_Slot::HandleCollision if (bVar1) { pfVar5 = param_7; } - Game::SpawnEx(g_game,5,param_2,&local_20,pfVar5,0,param_3,RVar7,0); + Game::SpawnEx(g_game,5,param_2,&local_20,pfVar5,0,param_3,uVar3,0); param_4 = param_4 + -1; } while (param_4 != 0); } @@ -324508,9 +324803,8 @@ Entity_Tear::Init(Entity_Tear *this,undefined4 param_2,undefined4 param_3,undefi uint uVar3; int iVar4; LayerState *pLVar5; - undefined4 uVar6; - char *pcVar7; - float fVar8; + char *pcVar6; + float fVar7; byte *layerName; EntityPtr *local_48; std_string local_44; @@ -324536,12 +324830,12 @@ Entity_Tear::Init(Entity_Tear *this,undefined4 param_2,undefined4 param_3,undefi iVar4 = Random(uVar3); this->_fallingAccel = 0.0; this->_height = -23.0; - fVar8 = ((float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 - 0.5) + fVar7 = ((float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) * 2.3283064e-10 - 0.5) * 0.2; - this->_fallingSpeed = fVar8; + this->_fallingSpeed = fVar7; get_height_offset_y(this); pGVar2 = g_game; - (this->_posOffset).y = fVar8; + (this->_posOffset).y = fVar7; if (*(int *)((int)pGVar2->_room + 8) == 0x10) { (this->_posOffset).y = -18.0; } @@ -324599,15 +324893,15 @@ Entity_Tear::Init(Entity_Tear *this,undefined4 param_2,undefined4 param_3,undefi uVar3 = g_graphicsManager_flags; if (this->_variant == 0x25) { pLVar5 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); - uVar6 = 1; + iVar4 = 1; if ((uVar3 & 4) == 0) { - uVar6 = 6; + iVar4 = 6; } - *(undefined4 *)&pLVar5->field_0x78 = 0; - *(undefined4 *)&pLVar5->field_0x7c = uVar6; - *(undefined4 *)&pLVar5->field_0x80 = 1; - *(undefined4 *)&pLVar5->field_0x84 = 1; - *(undefined4 *)&pLVar5->field_0x88 = 1; + pLVar5->_blendMode[0] = 0; + pLVar5->_blendMode[1] = iVar4; + pLVar5->_blendMode[2] = 1; + pLVar5->_blendMode[3] = 1; + pLVar5->_blendMode[4] = 1; } this->_orbitAngle = 0.0; this->_orbitRadius = 0.0; @@ -324645,16 +324939,16 @@ Entity_Tear::Init(Entity_Tear *this,undefined4 param_2,undefined4 param_3,undefi local_8 = 0xffffffff; if (0xf < local_44._capacity) { uVar3 = local_44._capacity + 1; - pcVar7 = (char *)local_44._buf._0_4_; + pcVar6 = (char *)local_44._buf._0_4_; if (0xfff < uVar3) { - pcVar7 = *(char **)(local_44._buf._0_4_ + -4); + pcVar6 = *(char **)(local_44._buf._0_4_ + -4); uVar3 = local_44._capacity + 0x24; - if ((char *)0x1f < (char *)(local_44._buf._0_4_ + (-4 - (int)pcVar7))) { + if ((char *)0x1f < (char *)(local_44._buf._0_4_ + (-4 - (int)pcVar6))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pcVar7,uVar3); + operator_delete(pcVar6,uVar3); } layerName = (byte *)0x0; } @@ -324680,16 +324974,16 @@ Entity_Tear::Init(Entity_Tear *this,undefined4 param_2,undefined4 param_3,undefi local_8 = 0xffffffff; if (0xf < local_2c._capacity) { uVar3 = local_2c._capacity + 1; - pcVar7 = (char *)local_2c._buf._0_4_; + pcVar6 = (char *)local_2c._buf._0_4_; if (0xfff < uVar3) { - pcVar7 = *(char **)(local_2c._buf._0_4_ + -4); + pcVar6 = *(char **)(local_2c._buf._0_4_ + -4); uVar3 = local_2c._capacity + 0x24; - if ((char *)0x1f < (char *)(local_2c._buf._0_4_ + (-4 - (int)pcVar7))) { + if ((char *)0x1f < (char *)(local_2c._buf._0_4_ + (-4 - (int)pcVar6))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pcVar7,uVar3); + operator_delete(pcVar6,uVar3); } local_2c._size = 0; local_2c._capacity = (uint)&DAT_0000000f; @@ -324698,15 +324992,15 @@ Entity_Tear::Init(Entity_Tear *this,undefined4 param_2,undefined4 param_3,undefi } uVar3 = g_graphicsManager_flags; pLVar5 = ANM2::GetLayer(&this->_sprite,layerName); - uVar6 = 1; + iVar4 = 1; if ((uVar3 & 4) == 0) { - uVar6 = 6; + iVar4 = 6; } - *(undefined4 *)&pLVar5->field_0x88 = 1; - *(undefined4 *)&pLVar5->field_0x84 = 1; - *(undefined4 *)&pLVar5->field_0x80 = 1; - *(undefined4 *)&pLVar5->field_0x7c = uVar6; - *(undefined4 *)&pLVar5->field_0x78 = 0; + pLVar5->_blendMode[4] = 1; + pLVar5->_blendMode[3] = 1; + pLVar5->_blendMode[2] = 1; + pLVar5->_blendMode[1] = iVar4; + pLVar5->_blendMode[0] = 0; LAB_0066669b: FUN_008629c0(this); ExceptionList = local_10; @@ -325051,7 +325345,7 @@ void __thiscall Entity_Tear::Update(Entity_Tear *this) BitSet128 flags_00; BitSet128 flags_01; Game *pGVar3; - RNG *pRVar4; + undefined1 *puVar4; char cVar5; byte bVar6; byte bVar7; @@ -325341,31 +325635,31 @@ void __thiscall Entity_Tear::Update(Entity_Tear *this) Font local_150; int local_f8; float local_b0; - RNG local_8c [4]; + RNG local_8c; Font local_7c; uint local_24; undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; - RNG local_14; + undefined4 local_14; - puStack_20 = (undefined1 *)(local_8c + 0x22); - local_14 = (RNG)0xffffffff; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); + local_14 = 0xffffffff; puStack_18 = &LAB_00af78c4; local_1c = ExceptionList; - uVar8 = __security_cookie ^ (uint)(local_8c + 0x1f); + uVar8 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; local_87c = (EntityPtr)0x0; local_8f8 = (EntityPtr)0x0; local_884 = (EntityPtr)this; local_24 = uVar8; - pRVar4 = local_8c + 0x22; + puVar4 = (undefined1 *)((int)register0x00000010 + -4); if (this->_isFireSoundPending != 0) { play_fire_sound(); this->_isFireSoundPending = 0; - pRVar4 = (RNG *)puStack_20; + puVar4 = puStack_20; } - puStack_20 = (undefined1 *)pRVar4; + puStack_20 = puVar4; local_908 = &this->_tearFlags; piVar9 = (int *)BitSet128::operator_and(); if ((((*piVar9 != 0 || piVar9[1] != 0) || (piVar9[2] != 0 || piVar9[3] != 0)) && @@ -325577,7 +325871,7 @@ LAB_006677ce: Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); EntityList::QueryRadius(); - local_14 = (RNG)0x0; + local_14 = 0; local_898 = (EntityPtr)0x0; iVar10 = EntityList::Size(); if (iVar10 != 0) { @@ -325638,7 +325932,7 @@ LAB_006677ce: } } LAB_00667cb7: - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; EntityList_Query::~EntityList_Query(); } pbVar31 = (byte *)((int)this + 0x48c); @@ -326898,7 +327192,7 @@ LAB_0066aff6: Vector::operator_mul(); Vector::__add(); EntityList::QueryRadius(); - local_14 = (RNG)0x3; + local_14 = 3; local_888 = (EntityPtr)0x0; iVar10 = EntityList::Size(); if (iVar10 != 0) { @@ -326966,7 +327260,7 @@ LAB_0066cdbc: pEVar28 = (Entity_NPC *)FUN_00428a60(); EntityList::QuerySublist(pEVar28); EVar16 = (EntityPtr)0x0; - local_14._0_1_ = 4; + local_14 = CONCAT31(local_14._1_3_,4); local_888 = (EntityPtr)0x0; iVar10 = EntityList::Size(); if (iVar10 != 0) { @@ -326998,11 +327292,11 @@ LAB_0066cdbc: EVar18 = (EntityPtr)EntityList::Size(); } while ((uint)EVar16 < (uint)EVar18); } - local_14._0_1_ = 3; + local_14 = CONCAT31(local_14._1_3_,3); EntityList_Query::~EntityList_Query(); } Entity::SetTarget((Entity *)this); - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; EntityList_Query::~EntityList_Query(); } if (*(EntityPtr *)((int)this + 0x3c4) == (EntityPtr)0x0) goto LAB_0066d04f; @@ -327356,7 +327650,7 @@ LAB_0066b8aa: Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); EntityList::QueryRadius(); - local_14 = (RNG)0x1; + local_14 = 1; local_89c = (EntityPtr)0x0; iVar10 = EntityList::Size(); if (iVar10 != 0) { @@ -327444,7 +327738,7 @@ LAB_0066c0c5: } } } - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; EntityList_Query::~EntityList_Query(); } else { @@ -327477,7 +327771,7 @@ LAB_0066c0c5: Vector::operator_mul(); Vector::__add(); EntityList::QueryRadius(); - local_14 = (RNG)0x2; + local_14 = 2; local_8b4 = (EntityPtr)0x0; iVar10 = EntityList::Size(); if (iVar10 != 0) { @@ -327523,7 +327817,7 @@ LAB_0066c6d8: } while ((uint)EVar18 < (uint)EVar16); } Entity::SetTarget((Entity *)this); - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; EntityList_Query::~EntityList_Query(); } if (*(EntityPtr *)((int)this + 0x3c4) != (EntityPtr)0x0) { @@ -328096,7 +328390,7 @@ LAB_0066e037: Color::Color(); (*pcVar2)(); random_float(); - Entity_Effect::set_rotation(); + Entity_Effect::set_rotation(pEVar23); Isaac::Random(0xf); Entity_Effect::SetTimeout(pEVar23); EVar16 = local_884; @@ -328178,7 +328472,7 @@ LAB_0066e037: Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); EntityList::QueryRadius(); - local_14 = (RNG)0x5; + local_14 = 5; local_888 = (EntityPtr)0x0; iVar10 = EntityList::Size(); if (iVar10 != 0) { @@ -328210,7 +328504,7 @@ LAB_0066e037: EVar18 = (EntityPtr)EntityList::Size(); } while ((uint)local_888 < (uint)EVar18); } - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; EntityList_Query::~EntityList_Query(); } BitSet128::operator_and(); @@ -328380,7 +328674,7 @@ LAB_0066ebda: Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); EntityList::QueryRadius(); - local_14 = (RNG)0x6; + local_14 = 6; local_8b0 = (EntityPtr)0x0; iVar10 = EntityList::Size(); if (iVar10 != 0) { @@ -328456,7 +328750,7 @@ LAB_0066ebda: EVar18 = (EntityPtr)EntityList::Size(); } while ((uint)local_8b0 < (uint)EVar18); } - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; EntityList_Query::~EntityList_Query(); } } @@ -328481,7 +328775,7 @@ LAB_0066ebda: goto LAB_0066f416; } } - iVar10 = find_nearest_linkable_tear(); + iVar10 = find_nearest_linkable_tear((Entity_Tear *)EVar16); if (iVar10 != 0) { FUN_0067ae30(); } @@ -328499,7 +328793,8 @@ LAB_0066f416: cVar5 = Entity::IsFrame((Entity *)EVar16); if (((cVar5 != '\0') && (iVar10 = FUN_0067adc0(), iVar10 < 5)) && ((iVar10 = Isaac::Random(10), iVar10 == 0 && - (local_87c = (EntityPtr)find_link_partner(), local_87c != (EntityPtr)0x0)))) { + (local_87c = (EntityPtr)find_link_partner((Entity_Tear *)EVar16), + local_87c != (EntityPtr)0x0)))) { EntityPtr::Set(); EntityPtr::Set(); } @@ -328570,7 +328865,7 @@ LAB_0066f4a9: Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); EntityList::QueryRadius(); - local_14 = (RNG)0x7; + local_14 = 7; local_8b0 = (EntityPtr)0x0; iVar10 = EntityList::Size(); if (iVar10 != 0) { @@ -328633,7 +328928,7 @@ LAB_0066f4a9: EVar18 = (EntityPtr)EntityList::Size(); } while ((uint)local_8b0 < (uint)EVar18); } - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; *(float *)((int)EVar16 + 0x36c) = *(float *)((int)EVar16 + 0x36c) * 0.96; EntityList_Query::~EntityList_Query(); } @@ -329007,7 +329302,7 @@ LAB_00670792: LAB_006708cc: FUN_00428a60(); EntityList::QueryRadius(); - local_14 = (RNG)0x8; + local_14 = 8; iVar10 = EntityList::Size(); EVar18 = local_8b0; if (iVar10 != 0) { @@ -329035,7 +329330,7 @@ LAB_006708cc: } while (uVar8 < uVar22); EVar16 = local_884; } - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; EntityList_Query::~EntityList_Query(); } BitSet128::operator_and(); @@ -329218,7 +329513,7 @@ LAB_0067162f: } else { FUN_00424510(); - local_14 = (RNG)0x9; + local_14 = 9; for (local_944 = (Entity *)Entity::Child((Entity *)EVar16); local_944 != (Entity *)0x0; local_944 = (Entity *)Entity::Child(local_944)) { std::vector::push_back(); @@ -329276,7 +329571,7 @@ LAB_0067162f: Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); EntityList::QueryRadius(); - local_14._0_1_ = 10; + local_14 = CONCAT31(local_14._1_3_,10); local_8b0 = (EntityPtr)0x0; iVar10 = EntityList::Size(); if (iVar10 != 0) { @@ -329316,7 +329611,7 @@ LAB_0067162f: EVar18 = (EntityPtr)EntityList::Size(); } while ((uint)local_8b0 < (uint)EVar18); } - local_14._0_1_ = 9; + local_14 = CONCAT31(local_14._1_3_,9); EntityList_Query::~EntityList_Query(); } Entity::Position((Entity *)*(EntityPtr *)((int)EVar16 + 0x3bc)); @@ -329324,7 +329619,7 @@ LAB_0067162f: local_87c = (EntityPtr)(float)fVar34; if (local_888._0_1_ != '\0') { if ((float)local_87c <= 1600.0) { - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; *(float *)((int)EVar16 + 0x36c) = *(float *)((int)EVar16 + 0x36c) * 0.9; FID_conflict__Tidy(local_9e0); } @@ -329335,7 +329630,7 @@ LAB_0067162f: local_afc = 0x3dcccccd; Vector::__mul(); Entity::AddVelocity((Entity *)EVar16); - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; FID_conflict__Tidy(local_9e0); } goto LAB_0067176f; @@ -329354,7 +329649,7 @@ LAB_0067162f: } } } - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; FID_conflict__Tidy(local_9e0); } } @@ -329369,15 +329664,15 @@ LAB_006717e1: Game::GetPlayerManager(g_game); cVar5 = PlayerManager::AnyoneHasCollectible(); if (cVar5 == '\0') goto LAB_006717e1; - RNG::game_constructor(local_8c,*(int *)((int)EVar16 + 0x3ec),0x2c); - local_14 = (RNG)0xb; + RNG::game_constructor(&local_8c,*(int *)((int)EVar16 + 0x3ec),0x2c); + local_14 = 0xb; local_8f8 = (EntityPtr)((uint)local_8f8 | 1); local_87c = local_8f8; uVar8 = RNG::RandomInt(this_03,100); local_8a1 = '\x01'; if (0x20 < uVar8) goto LAB_006717e1; } - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; if (((uint)local_8f8 & 1) != 0) { guard_check_icall(); } @@ -329385,7 +329680,7 @@ LAB_006717e1: Level::GetCurrentRoom((Level *)g_game); pEVar28 = (Entity_NPC *)FUN_00428a60(); EntityList::QuerySublist(pEVar28); - local_14 = (RNG)0xc; + local_14 = 0xc; local_8f8 = (EntityPtr)0x0; iVar10 = EntityList::Size(); if (iVar10 != 0) { @@ -329433,7 +329728,7 @@ LAB_006717e1: EVar18 = (EntityPtr)EntityList::Size(); } while ((uint)EVar35 < (uint)EVar18); } - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; EntityList_Query::~EntityList_Query(); } pcVar21 = (char *)((int)EVar16 + 0x420); @@ -329591,9 +329886,9 @@ LAB_006722d8: (bVar6 = ANM2::IsPlaying((ANM2 *)((int)EVar16 + 0x48),&s_empty), bVar6 == 0)) { Config::GetPillEffects(); ANM2::GetAnimation(); - local_14 = (RNG)0x10; + local_14 = 0x10; Sprite::Play(); - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; std::string::_Tidy_deallocate(); } } @@ -329606,9 +329901,9 @@ LAB_006722d8: if ((*(int *)((int)EVar16 + 0x2c) == 0x1a) || (*(int *)((int)EVar16 + 0x2c) == 0x30)) { Config::GetPillEffects(); ANM2::GetAnimation(); - local_14 = (RNG)0xd; + local_14 = 0xd; Sprite::Play(); - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; std::string::_Tidy_deallocate(); } } @@ -329669,12 +329964,12 @@ LAB_006722d8: random_float(); local_87c = (EntityPtr)((float)EVar18 * 360.0); FUN_00424510(); - local_14 = (RNG)0xe; + local_14 = 0xe; FUN_00431620(); Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); EntityList::QueryRadius(); - local_14._0_1_ = 0xf; + local_14 = CONCAT31(local_14._1_3_,0xf); local_8f8 = (EntityPtr)0x0; if (0 < (int)local_8ec) { local_8e0 = (EntityPtr)((int)EVar16 + 0x360); @@ -329765,7 +330060,7 @@ LAB_006722d8: EVar16 = local_884; } EntityList_Query::~EntityList_Query(); - local_14 = (RNG)0xffffffff; + local_14 = 0xffffffff; FID_conflict__Tidy(local_c80); } } @@ -330078,8 +330373,6 @@ undefined4 __thiscall Entity_Tear::HandleCollision(Entity_Tear *this,EntityPtr p undefined4 uStack_64; EntityRef EStack_60; RNG RStack_38; - undefined8 uStack_34; - Entity_Tear *pEStack_2c; uint uStack_24; undefined1 *puStack_20; void *pvStack_1c; @@ -330136,7 +330429,7 @@ undefined4 __thiscall Entity_Tear::HandleCollision(Entity_Tear *this,EntityPtr p (cVar8 = Entity::HasEntityFlags(0x100,0), cVar8 != '\0')) && ((pEVar20 = *(Entity **)((int)this->_spawnerEntity + 0x264), pEVar20 != (Entity *)0x0 && (cVar8 = Entity::IsDescendantOf(pEVar20,param_2), cVar8 != '\0')))) { - pfVar14 = (float *)MusicManager::RandomVector((int)&uStack_34 + 4); + pfVar14 = (float *)MusicManager::RandomVector(&RStack_38._shift2); pEVar23 = pEStack_104; fVar27 = (pEStack_104->_velocity).y; fVar26 = (pEStack_104->_velocity).x; @@ -330151,16 +330444,16 @@ undefined4 __thiscall Entity_Tear::HandleCollision(Entity_Tear *this,EntityPtr p EStack_154 = (EntityPtr)((uint)(1 < *(int *)&g_game->_deathmatchManager) * 2 + 2); bVar9 = Entity_Player::HasCollectible((Entity_Player *)param_2,0xf2,0); if ((bVar9 != 0) && (iVar12 = Isaac::Random((int)EStack_154), iVar12 == 0)) { - EStack_60._28_4_ = 0x3e808081; + EStack_60._velocity.y = 0.2509804; EStack_60._spawnerVariant = 0; EStack_60._position.x = 0.0; EStack_60._position.y = 0.0; - EStack_60._24_4_ = 0; + EStack_60._velocity.x = 0.0; uStack_64 = 0x3f800000; EStack_60._type = 0x3f800000; EStack_60._variant = 0x3f800000; EStack_60._spawnerType = 0x3f800000; - EStack_60._32_4_ = 0x3e808081; + EStack_60._flags = 0x3e808081; EStack_60._entity = (void *)0x3f008081; (**(code **)(*(int *)param_2 + 0x3c))(&uStack_64,0xf,0xff,1,1); pcVar22 = *(code **)(*(int *)this + 0x24); @@ -330176,15 +330469,15 @@ undefined4 __thiscall Entity_Tear::HandleCollision(Entity_Tear *this,EntityPtr p ExceptionList = pvStack_1c; return 1; } - RStack_38 = *(RNG *)&(this->_tearFlags)._l; - uStack_34 = *(undefined8 *)((int)&(this->_tearFlags)._l + 4); - pEStack_2c = *(Entity_Tear **)((int)&(this->_tearFlags)._h + 4); + RStack_38._seed = (int)(this->_tearFlags)._l; + RStack_38._4_8_ = *(undefined8 *)((int)&(this->_tearFlags)._l + 4); + RStack_38._shift3 = *(int *)((int)&(this->_tearFlags)._h + 4); BitSet128::operator_and(&DAT_00c34c60); cVar8 = BitSet128::IsZero(); if (cVar8 != '\0') { - RStack_38 = *(RNG *)((int)param_2 + 0x428); - uStack_34 = *(undefined8 *)((int)param_2 + 0x42c); - pEStack_2c = *(Entity_Tear **)((int)param_2 + 0x434); + RStack_38._seed = *(int *)((int)param_2 + 0x428); + RStack_38._4_8_ = *(undefined8 *)((int)param_2 + 0x42c); + RStack_38._shift3 = *(int *)((int)param_2 + 0x434); BitSet128::operator_and(&DAT_00c34c60); cVar8 = BitSet128::IsZero(); if (cVar8 != '\0') { @@ -330192,9 +330485,9 @@ undefined4 __thiscall Entity_Tear::HandleCollision(Entity_Tear *this,EntityPtr p return 1; } } - RStack_38 = *(RNG *)&(this->_tearFlags)._l; - uStack_34 = *(undefined8 *)((int)&(this->_tearFlags)._l + 4); - pEStack_2c = *(Entity_Tear **)((int)&(this->_tearFlags)._h + 4); + RStack_38._seed = (int)(this->_tearFlags)._l; + RStack_38._4_8_ = *(undefined8 *)((int)&(this->_tearFlags)._l + 4); + RStack_38._shift3 = *(undefined4 *)((int)&(this->_tearFlags)._h + 4); BitSet128::operator_and(&DAT_00c34c60); cVar8 = BitSet128::IsNonZero(); if (cVar8 == '\0') { @@ -330355,7 +330648,7 @@ joined_r0x00673c0b: if ((*(float *)((int)param_2 + 0x370) + this->_size) * 0.5 < fVar26) { fVar26 = (float)EStack_154 * (float)pEStack_fc + (float)EStack_13c * (float)EStack_110; if (fVar26 < 0.0) { - pfVar14 = (float *)Vector::Normalized((int)&uStack_34 + 4); + pfVar14 = (float *)Vector::Normalized(&RStack_38._shift2); pfVar21 = (float *)Vector::Normalized(&uStack_130); fVar27 = pfVar14[1] * pfVar21[1] + *pfVar14 * *pfVar21; fVar26 = fVar27 * (float)pEStack_fc; @@ -330387,9 +330680,10 @@ joined_r0x00673c0b: return 1; } if (((cStack_105 == '\0') && (iVar12 == 0x336)) && (*(int *)((int)param_2 + 0xb64) == 0x10)) { - RStack_38 = (RNG)(*(int *)((int)param_2 + 0x3ec) + this->_initSeed); - uStack_34 = 0x900000005; - pEStack_2c = (Entity_Tear *)&DAT_00000007; + RStack_38._seed = *(int *)((int)param_2 + 0x3ec) + this->_initSeed; + RStack_38._shift1 = 5; + RStack_38._shift2 = 9; + RStack_38._shift3 = (int)&DAT_00000007; uVar11 = RNG::RandomInt(&RStack_38,5); if (uVar11 == 0) { uStack_130 = CONCAT44((this->_pos).y - *(float *)((int)param_2 + 0x340), @@ -330462,15 +330756,15 @@ joined_r0x00673c0b: uVar11 = 0; uStack_14 = 0; uVar25 = 0; - if (pEStack_2c != (Entity_Tear *)0x0) { + if ((Entity_Tear *)RStack_38._shift3 != (Entity_Tear *)0x0) { do { - iVar12 = *(int *)((int)uStack_34 + uVar11 * 4); + iVar12 = *(int *)(RStack_38._shift1 + uVar11 * 4); if (((iVar12 != 0) && (*(int *)(iVar12 + 0x28) == 2)) && (*(EntityPtr *)(iVar12 + 0x478) == param_2)) { uVar25 = uVar25 + 1; } uVar11 = uVar11 + 1; - } while (uVar11 < pEStack_2c); + } while (uVar11 < (uint)RStack_38._shift3); this = pEStack_104; if (0xf < uVar25) { (**(code **)(*(int *)pEStack_104 + 0x28))(); @@ -330843,17 +331137,18 @@ LAB_006746d2: pvVar3 = (g_manager->_itemConfig)._collectibles._begin; if ((int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar3 & 0xfffffffcU) < 0xe9) { - RStack_38 = (RNG)0x0; + RStack_38._seed = 0; } else { - RStack_38 = *(RNG *)((int)pvVar3 + 0xe8); + RStack_38._seed = *(int *)((int)pvVar3 + 0xe8); } - pEStack_2c = (Entity_Tear *)0x0; - uStack_34 = 0x1e00000000; + RStack_38._shift3 = 0; + RStack_38._shift1 = 0; + RStack_38._shift2 = 0x1e; if (pvVar18 == (void *)0x0) { SoundEffects::PlayWithFartOverride(0x404,2,0,0x3f800000); } - pEStack_2c = (Entity_Tear *)(uint)(pvVar18 == (void *)0x0); + RStack_38._shift3 = (int)(pvVar18 == (void *)0x0); TemporaryEffects::AddEffect(&this_00->_temporaryeffects,&RStack_38,1,1); } } @@ -330881,7 +331176,7 @@ LAB_006746d2: if (10.0 <= fVar27) { fVar27 = 10.0; } - pfVar14 = (float *)Vector::Resized((int)&uStack_34 + 4,fVar27); + pfVar14 = (float *)Vector::Resized(&RStack_38._shift2,fVar27); fVar27 = this->_speedMultiplier; fVar26 = pfVar14[1]; (this->_velocity).x = fVar27 * *pfVar14 + (this->_velocity).x; @@ -331058,10 +331353,10 @@ LAB_00675369: if (cVar8 == '\0') { pEStack_fc = (Entity_Tear *)(*(float *)((int)param_2 + 0x340) - (this->_pos).y); EStack_110 = (EntityPtr)(*(float *)((int)param_2 + 0x33c) - (this->_pos).x); - uStack_34 = CONCAT44(EStack_110,(int)uStack_34); + RStack_38._shift2 = (int)EStack_110; EVar24 = (EntityPtr) ((float)pEStack_fc * (float)pEStack_fc + (float)EStack_110 * (float)EStack_110); - pEStack_2c = pEStack_fc; + RStack_38._shift3 = (int)pEStack_fc; sqrtf(); EStack_154 = EVar24; if (0.0001 <= (float)EVar24) { @@ -331217,7 +331512,7 @@ LAB_0067588d: cVar8 = BitSet128::IsNonZero(); if (((cVar8 == '\0') || (cVar8 = func_0x006ac660(), cVar8 != '\0')) || (uVar11 = Random(), (uVar11 & 3) == 0)) { - pfVar14 = (float *)MusicManager::RandomVector((int)&uStack_34 + 4); + pfVar14 = (float *)MusicManager::RandomVector(&RStack_38._shift2); pEVar23 = pEStack_104; fVar27 = (pEStack_104->_velocity).y; fVar26 = (pEStack_104->_velocity).x; @@ -331455,7 +331750,7 @@ void __thiscall Entity_Tear::SetTearFlags(Entity_Tear *this,BitSet128 flags) int *piVar4; LayerState *pLVar5; byte *pbVar6; - undefined4 uVar7; + int iVar7; char *pcVar8; byte *pbVar9; uint uVar10; @@ -331464,43 +331759,46 @@ void __thiscall Entity_Tear::SetTearFlags(Entity_Tear *this,BitSet128 flags) byte *local_74; std_string local_70; undefined4 local_58 [5]; - std_string local_44; + undefined1 local_44 [12]; + float local_38; + float fStack_34; + float local_30; uint local_24; undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; undefined4 local_14; - puStack_20 = (undefined1 *)(local_58 + 0x15); + puStack_20 = local_44 + 0x40; local_14 = 0xffffffff; puStack_18 = &LAB_00af7975; local_1c = ExceptionList; - uVar3 = __security_cookie ^ (uint)(local_58 + 0x12); + uVar3 = __security_cookie ^ (uint)(local_44 + 0x34); ExceptionList = &local_1c; local_24 = uVar3; piVar4 = (int *)BitSet128::operator_and(&DAT_00c34920,uVar3); if (((*piVar4 != 0 || piVar4[1] != 0) || (piVar4[2] != 0 || piVar4[3] != 0)) && ((this->_tearHaloANM2)._loaded == 0)) { - local_44._size = 0; - local_44._capacity = 0xf; - local_44._buf[0] = '\0'; - local_44._buf[1] = '\0'; - local_44._buf[2] = '\0'; - local_44._buf[3] = '\0'; - local_44._buf._0_4_ = std::_Allocate(); - local_44._size = 0x11; - local_44._capacity = 0x1f; - builtin_strncpy((char *)local_44._buf._0_4_,"gfx/TearHalo.anm2",0x12); + fStack_34 = 0.0; + local_30 = 2.10195e-44; + local_44[0] = '\0'; + local_44[1] = '\0'; + local_44[2] = '\0'; + local_44[3] = '\0'; + local_44._0_4_ = std::_Allocate(); + fStack_34 = 2.38221e-44; + local_30 = 4.34403e-44; + builtin_strncpy((char *)local_44._0_4_,"gfx/TearHalo.anm2",0x12); local_14 = 0; - ANM2::Load(&this->_tearHaloANM2,&local_44,1); + ANM2::Load(&this->_tearHaloANM2,(std_string *)local_44,1); local_14 = 0xffffffff; - if (0xf < local_44._capacity) { - uVar10 = local_44._capacity + 1; - pcVar8 = (char *)local_44._buf._0_4_; + if (0xf < (uint)local_30) { + uVar10 = (int)local_30 + 1; + pcVar8 = (char *)local_44._0_4_; if (0xfff < uVar10) { - pcVar8 = *(char **)(local_44._buf._0_4_ + -4); - uVar10 = local_44._capacity + 0x24; - if ((char *)0x1f < (char *)(local_44._buf._0_4_ + (-4 - (int)pcVar8))) { + pcVar8 = *(char **)(local_44._0_4_ + -4); + uVar10 = (int)local_30 + 0x24; + if ((char *)0x1f < (char *)(local_44._0_4_ + (-4 - (int)pcVar8))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } @@ -331512,26 +331810,26 @@ void __thiscall Entity_Tear::SetTearFlags(Entity_Tear *this,BitSet128 flags) if ((this->_tearEffectANM2)._loaded != 0) goto LAB_00676b9b; piVar4 = (int *)BitSet128::operator_and(&DAT_00c34a00,uVar3); if ((*piVar4 != 0 || piVar4[1] != 0) || (piVar4[2] != 0 || piVar4[3] != 0)) { - local_44._size = 0; - local_44._capacity = 0xf; - local_44._buf[0] = '\0'; - local_44._buf[1] = '\0'; - local_44._buf[2] = '\0'; - local_44._buf[3] = '\0'; - local_44._buf._0_4_ = std::_Allocate(); - local_44._size = 0x1d; - local_44._capacity = 0x1f; - builtin_strncpy((char *)local_44._buf._0_4_,"gfx/LittleHornTearEffect.anm2",0x1e); + fStack_34 = 0.0; + local_30 = 2.10195e-44; + local_44[0] = '\0'; + local_44[1] = '\0'; + local_44[2] = '\0'; + local_44[3] = '\0'; + local_44._0_4_ = std::_Allocate(); + fStack_34 = 4.06377e-44; + local_30 = 4.34403e-44; + builtin_strncpy((char *)local_44._0_4_,"gfx/LittleHornTearEffect.anm2",0x1e); local_14 = 1; - ANM2::Load(&this->_tearEffectANM2,&local_44,1); + ANM2::Load(&this->_tearEffectANM2,(std_string *)local_44,1); local_14 = 0xffffffff; - if (0xf < local_44._capacity) { - uVar3 = local_44._capacity + 1; - pcVar8 = (char *)local_44._buf._0_4_; + if (0xf < (uint)local_30) { + uVar3 = (int)local_30 + 1; + pcVar8 = (char *)local_44._0_4_; if (0xfff < uVar3) { - pcVar8 = *(char **)(local_44._buf._0_4_ + -4); - uVar3 = local_44._capacity + 0x24; - if ((char *)0x1f < (char *)(local_44._buf._0_4_ + (-4 - (int)pcVar8))) { + pcVar8 = *(char **)(local_44._0_4_ + -4); + uVar3 = (int)local_30 + 0x24; + if ((char *)0x1f < (char *)(local_44._0_4_ + (-4 - (int)pcVar8))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } @@ -331543,15 +331841,15 @@ void __thiscall Entity_Tear::SetTearFlags(Entity_Tear *this,BitSet128 flags) do { uVar3 = g_graphicsManager_flags; pLVar5 = ANM2::GetLayer(&this->_tearEffectANM2,local_74); - uVar7 = 1; + iVar7 = 1; if ((uVar3 & 4) == 0) { - uVar7 = 6; + iVar7 = 6; } - *(undefined4 *)&pLVar5->field_0x78 = 0; - *(undefined4 *)&pLVar5->field_0x7c = uVar7; - *(undefined4 *)&pLVar5->field_0x80 = 1; - *(undefined4 *)&pLVar5->field_0x84 = 1; - *(undefined4 *)&pLVar5->field_0x88 = 1; + pLVar5->_blendMode[0] = 0; + pLVar5->_blendMode[1] = iVar7; + pLVar5->_blendMode[2] = 1; + pLVar5->_blendMode[3] = 1; + pLVar5->_blendMode[4] = 1; local_74 = local_74 + 1; } while (local_74 < (byte *)(this->_tearEffectANM2)._layerCount); } @@ -331598,26 +331896,26 @@ LAB_00676b6a: BitSet128::operator_and(&DAT_00c34ac0); cVar1 = BitSet128::IsNonZero(); if (cVar1 != '\0') { - local_44._size = 0; - local_44._capacity = 0xf; - local_44._buf[0] = '\0'; - local_44._buf[1] = '\0'; - local_44._buf[2] = '\0'; - local_44._buf[3] = '\0'; - local_44._buf._0_4_ = std::_Allocate(); - local_44._size = 0x1d; - local_44._capacity = 0x1f; - builtin_strncpy((char *)local_44._buf._0_4_,"gfx/MysteriousTearEffect.anm2",0x1e); + fStack_34 = 0.0; + local_30 = 2.10195e-44; + local_44[0] = '\0'; + local_44[1] = '\0'; + local_44[2] = '\0'; + local_44[3] = '\0'; + local_44._0_4_ = std::_Allocate(); + fStack_34 = 4.06377e-44; + local_30 = 4.34403e-44; + builtin_strncpy((char *)local_44._0_4_,"gfx/MysteriousTearEffect.anm2",0x1e); local_14 = 5; - ANM2::Load(&this->_tearEffectANM2,&local_44,1); + ANM2::Load(&this->_tearEffectANM2,(std_string *)local_44,1); local_14 = 0xffffffff; - if (0xf < local_44._capacity) { - uVar3 = local_44._capacity + 1; - pcVar8 = (char *)local_44._buf._0_4_; + if (0xf < (uint)local_30) { + uVar3 = (int)local_30 + 1; + pcVar8 = (char *)local_44._0_4_; if (0xfff < uVar3) { - pcVar8 = *(char **)(local_44._buf._0_4_ + -4); - uVar3 = local_44._capacity + 0x24; - if ((char *)0x1f < (char *)(local_44._buf._0_4_ + (-4 - (int)pcVar8))) { + pcVar8 = *(char **)(local_44._0_4_ + -4); + uVar3 = (int)local_30 + 0x24; + if ((char *)0x1f < (char *)(local_44._0_4_ + (-4 - (int)pcVar8))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } @@ -331644,26 +331942,26 @@ LAB_00676b6a: std::string::_Tidy_deallocate(); } else { - local_44._size = 0; - local_44._capacity = 0xf; - local_44._buf[0] = '\0'; - local_44._buf[1] = '\0'; - local_44._buf[2] = '\0'; - local_44._buf[3] = '\0'; - local_44._buf._0_4_ = std::_Allocate(); - local_44._size = 0x1b; - local_44._capacity = 0x1f; - builtin_strncpy((char *)local_44._buf._0_4_,"gfx/FireMindTearEffect.anm2",0x1c); + fStack_34 = 0.0; + local_30 = 2.10195e-44; + local_44[0] = '\0'; + local_44[1] = '\0'; + local_44[2] = '\0'; + local_44[3] = '\0'; + local_44._0_4_ = std::_Allocate(); + fStack_34 = 3.78351e-44; + local_30 = 4.34403e-44; + builtin_strncpy((char *)local_44._0_4_,"gfx/FireMindTearEffect.anm2",0x1c); local_14 = 6; - ANM2::Load(&this->_tearEffectANM2,&local_44,1); + ANM2::Load(&this->_tearEffectANM2,(std_string *)local_44,1); local_14 = 0xffffffff; - if (0xf < local_44._capacity) { - uVar3 = local_44._capacity + 1; - pcVar8 = (char *)local_44._buf._0_4_; + if (0xf < (uint)local_30) { + uVar3 = (int)local_30 + 1; + pcVar8 = (char *)local_44._0_4_; if (0xfff < uVar3) { - pcVar8 = *(char **)(local_44._buf._0_4_ + -4); - uVar3 = local_44._capacity + 0x24; - if ((char *)0x1f < (char *)(local_44._buf._0_4_ + (-4 - (int)pcVar8))) { + pcVar8 = *(char **)(local_44._0_4_ + -4); + uVar3 = (int)local_30 + 0x24; + if ((char *)0x1f < (char *)(local_44._0_4_ + (-4 - (int)pcVar8))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } @@ -331677,26 +331975,26 @@ LAB_00676b6a: pLVar5->_bitflags = 0x1000; } else { - local_44._size = 0; - local_44._capacity = 0xf; - local_44._buf[0] = '\0'; - local_44._buf[1] = '\0'; - local_44._buf[2] = '\0'; - local_44._buf[3] = '\0'; - local_44._buf._0_4_ = std::_Allocate(); - local_44._size = 0x1f; - local_44._capacity = 0x1f; - builtin_strncpy((char *)local_44._buf._0_4_,"gfx/JacobsLadderTearEffect.anm2",0x20); + fStack_34 = 0.0; + local_30 = 2.10195e-44; + local_44[0] = '\0'; + local_44[1] = '\0'; + local_44[2] = '\0'; + local_44[3] = '\0'; + local_44._0_4_ = std::_Allocate(); + fStack_34 = 4.34403e-44; + local_30 = 4.34403e-44; + builtin_strncpy((char *)local_44._0_4_,"gfx/JacobsLadderTearEffect.anm2",0x20); local_14 = 4; - ANM2::Load(&this->_tearEffectANM2,&local_44,1); + ANM2::Load(&this->_tearEffectANM2,(std_string *)local_44,1); local_14 = 0xffffffff; - if (0xf < local_44._capacity) { - uVar3 = local_44._capacity + 1; - pcVar8 = (char *)local_44._buf._0_4_; + if (0xf < (uint)local_30) { + uVar3 = (int)local_30 + 1; + pcVar8 = (char *)local_44._0_4_; if (0xfff < uVar3) { - pcVar8 = *(char **)(local_44._buf._0_4_ + -4); - uVar3 = local_44._capacity + 0x24; - if ((char *)0x1f < (char *)(local_44._buf._0_4_ + (-4 - (int)pcVar8))) { + pcVar8 = *(char **)(local_44._0_4_ + -4); + uVar3 = (int)local_30 + 0x24; + if ((char *)0x1f < (char *)(local_44._0_4_ + (-4 - (int)pcVar8))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } @@ -331707,39 +332005,39 @@ LAB_00676b6a: LAB_00676426: uVar3 = g_graphicsManager_flags; pLVar5 = ANM2::GetLayer(&this->_tearEffectANM2,pbVar12); - uVar7 = 1; + iVar7 = 1; if ((uVar3 & 4) == 0) { - uVar7 = 6; + iVar7 = 6; } - *(undefined4 *)&pLVar5->field_0x78 = 0; - *(undefined4 *)&pLVar5->field_0x7c = uVar7; - *(undefined4 *)&pLVar5->field_0x80 = 1; - *(undefined4 *)&pLVar5->field_0x84 = 1; - *(undefined4 *)&pLVar5->field_0x88 = 1; + pLVar5->_blendMode[0] = 0; + pLVar5->_blendMode[1] = iVar7; + pLVar5->_blendMode[2] = 1; + pLVar5->_blendMode[3] = 1; + pLVar5->_blendMode[4] = 1; } ANM2::Play(&this->_tearEffectANM2,s_Idle,0); goto LAB_00676b9b; } - local_44._size = 0; - local_44._capacity = 0xf; - local_44._buf[0] = '\0'; - local_44._buf[1] = '\0'; - local_44._buf[2] = '\0'; - local_44._buf[3] = '\0'; - local_44._buf._0_4_ = std::_Allocate(); - local_44._size = 0x1c; - local_44._capacity = 0x1f; - builtin_strncpy((char *)local_44._buf._0_4_,"gfx/HolyLightTearEffect.anm2",0x1d); + fStack_34 = 0.0; + local_30 = 2.10195e-44; + local_44[0] = '\0'; + local_44[1] = '\0'; + local_44[2] = '\0'; + local_44[3] = '\0'; + local_44._0_4_ = std::_Allocate(); + fStack_34 = 3.92364e-44; + local_30 = 4.34403e-44; + builtin_strncpy((char *)local_44._0_4_,"gfx/HolyLightTearEffect.anm2",0x1d); local_14 = 3; - ANM2::Load(&this->_tearEffectANM2,&local_44,1); + ANM2::Load(&this->_tearEffectANM2,(std_string *)local_44,1); local_14 = 0xffffffff; - if (0xf < local_44._capacity) { - uVar3 = local_44._capacity + 1; - pcVar8 = (char *)local_44._buf._0_4_; + if (0xf < (uint)local_30) { + uVar3 = (int)local_30 + 1; + pcVar8 = (char *)local_44._0_4_; if (0xfff < uVar3) { - pcVar8 = *(char **)(local_44._buf._0_4_ + -4); - uVar3 = local_44._capacity + 0x24; - if ((char *)0x1f < (char *)(local_44._buf._0_4_ + (-4 - (int)pcVar8))) { + pcVar8 = *(char **)(local_44._0_4_ + -4); + uVar3 = (int)local_30 + 0x24; + if ((char *)0x1f < (char *)(local_44._0_4_ + (-4 - (int)pcVar8))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } @@ -331748,15 +332046,15 @@ LAB_00676426: } uVar3 = g_graphicsManager_flags; pLVar5 = ANM2::GetLayer(&this->_tearEffectANM2,(byte *)0x0); - uVar7 = 1; + iVar7 = 1; if ((uVar3 & 4) == 0) { - uVar7 = 6; + iVar7 = 6; } - *(undefined4 *)&pLVar5->field_0x78 = 0; - *(undefined4 *)&pLVar5->field_0x7c = uVar7; - *(undefined4 *)&pLVar5->field_0x80 = 1; - *(undefined4 *)&pLVar5->field_0x84 = 1; - *(undefined4 *)&pLVar5->field_0x88 = 1; + pLVar5->_blendMode[0] = 0; + pLVar5->_blendMode[1] = iVar7; + pLVar5->_blendMode[2] = 1; + pLVar5->_blendMode[3] = 1; + pLVar5->_blendMode[4] = 1; pbVar12 = (this->_tearEffectANM2)._animState._animData; if (pbVar12 != (byte *)0x0) { pbVar6 = pbVar12; @@ -331781,26 +332079,26 @@ LAB_006767dc: } } else { - local_44._size = 0; - local_44._capacity = 0xf; - local_44._buf[0] = '\0'; - local_44._buf[1] = '\0'; - local_44._buf[2] = '\0'; - local_44._buf[3] = '\0'; - local_44._buf._0_4_ = std::_Allocate(); - local_44._size = 0x1d; - local_44._capacity = 0x1f; - builtin_strncpy((char *)local_44._buf._0_4_,"gfx/LittleHornTearEffect.anm2",0x1e); + fStack_34 = 0.0; + local_30 = 2.10195e-44; + local_44[0] = '\0'; + local_44[1] = '\0'; + local_44[2] = '\0'; + local_44[3] = '\0'; + local_44._0_4_ = std::_Allocate(); + fStack_34 = 4.06377e-44; + local_30 = 4.34403e-44; + builtin_strncpy((char *)local_44._0_4_,"gfx/LittleHornTearEffect.anm2",0x1e); local_14 = 2; - ANM2::Load(&this->_tearEffectANM2,&local_44,1); + ANM2::Load(&this->_tearEffectANM2,(std_string *)local_44,1); local_14 = 0xffffffff; - if (0xf < local_44._capacity) { - uVar3 = local_44._capacity + 1; - pcVar8 = (char *)local_44._buf._0_4_; + if (0xf < (uint)local_30) { + uVar3 = (int)local_30 + 1; + pcVar8 = (char *)local_44._0_4_; if (0xfff < uVar3) { - pcVar8 = *(char **)(local_44._buf._0_4_ + -4); - uVar3 = local_44._capacity + 0x24; - if ((char *)0x1f < (char *)(local_44._buf._0_4_ + (-4 - (int)pcVar8))) { + pcVar8 = *(char **)(local_44._0_4_ + -4); + uVar3 = (int)local_30 + 0x24; + if ((char *)0x1f < (char *)(local_44._0_4_ + (-4 - (int)pcVar8))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } @@ -331812,37 +332110,31 @@ LAB_006767dc: do { uVar3 = g_graphicsManager_flags; pLVar5 = ANM2::GetLayer(&this->_tearEffectANM2,local_74); - local_44._buf[0xc] = '\0'; - local_44._buf[0xd] = '\0'; - local_44._buf[0xe] = '\0'; - local_44._buf[0xf] = '\0'; - local_44._size = 0; - uVar7 = 1; - *(undefined4 *)&pLVar5->field_0x78 = 0; + local_38 = 0.0; + fStack_34 = 0.0; + iVar7 = 1; + pLVar5->_blendMode[0] = 0; if ((uVar3 & 4) == 0) { - uVar7 = 6; + iVar7 = 6; } - *(undefined4 *)&pLVar5->field_0x80 = 1; - *(undefined4 *)&pLVar5->field_0x7c = uVar7; - *(undefined4 *)&pLVar5->field_0x84 = 1; - *(undefined4 *)&pLVar5->field_0x88 = 1; - local_44._capacity = 0; + pLVar5->_blendMode[2] = 1; + pLVar5->_blendMode[1] = iVar7; + pLVar5->_blendMode[3] = 1; + pLVar5->_blendMode[4] = 1; + local_30 = 0.0; pLVar5 = ANM2::GetLayer(&this->_tearEffectANM2,local_74); - if ((undefined4 *)&pLVar5->field_0x48 != local_58) { - *(undefined4 *)&pLVar5->field_0x48 = 0x3f800000; - *(undefined4 *)&pLVar5->field_0x4c = 0x3f333333; - *(undefined4 *)&pLVar5->field_0x50 = 0x3f333333; - *(undefined4 *)&pLVar5->field_0x54 = 0x3f800000; - *(undefined4 *)&pLVar5->field_0x58 = 0; - *(undefined4 *)&pLVar5->field_0x5c = 0; - *(undefined4 *)&pLVar5->field_0x60 = 0; - *(undefined4 *)&pLVar5->field_0x64 = 0; - pLVar5->field_0x68 = local_44._buf[0xc]; - pLVar5->field_0x69 = local_44._buf[0xd]; - pLVar5->field_0x6a = local_44._buf[0xe]; - pLVar5->field_0x6b = local_44._buf[0xf]; - *(uint *)&pLVar5->field_0x6c = local_44._size; - *(uint *)&pLVar5->field_0x70 = local_44._capacity; + if (&pLVar5->_color != (ColorMod *)local_58) { + (pLVar5->_color)._tint[0] = 1.0; + (pLVar5->_color)._tint[1] = 0.7; + (pLVar5->_color)._tint[2] = 0.7; + (pLVar5->_color)._tint[3] = 1.0; + (pLVar5->_color)._colorize[0] = 0.0; + (pLVar5->_color)._colorize[1] = 0.0; + (pLVar5->_color)._colorize[2] = 0.0; + (pLVar5->_color)._colorize[3] = 0.0; + (pLVar5->_color)._offset[0] = local_38; + (pLVar5->_color)._offset[1] = fStack_34; + (pLVar5->_color)._offset[2] = local_30; } local_74 = local_74 + 1; } while (local_74 < (byte *)(this->_tearEffectANM2)._layerCount); @@ -332317,14 +332609,13 @@ void __thiscall Entity_Tear::ResetSpriteScale(Entity_Tear *this) int iVar4; LayerState *pLVar5; uint uVar6; - undefined4 uVar7; - char *pcVar8; - int iVar9; - byte *pbVar10; - uint uVar11; + char *pcVar7; + int iVar8; + byte *pbVar9; + uint uVar10; + float fVar11; float fVar12; float fVar13; - float fVar14; float local_4c; float local_48; float local_44; @@ -332338,8 +332629,8 @@ void __thiscall Entity_Tear::ResetSpriteScale(Entity_Tear *this) local_c = __security_cookie ^ (uint)&local_4c; local_4c = 1.0; iVar4 = this->_variant; - iVar9 = iVar4 * 100; - local_48 = (float)iVar9; + iVar8 = iVar4 * 100; + local_48 = (float)iVar8; switch(iVar4) { case 0: case 1: @@ -332377,51 +332668,51 @@ void __thiscall Entity_Tear::ResetSpriteScale(Entity_Tear *this) case 0x27: case 0x29: case 0x30: - uVar11 = 1; + uVar10 = 1; pfVar2 = (float *)&DAT_00b64e30; do { if (this->_fScale <= *pfVar2 + 0.05) break; - uVar11 = uVar11 + 1; + uVar10 = uVar10 + 1; pfVar2 = pfVar2 + 1; - } while (uVar11 < 0xd); - if (this->_scaleAnimNum != iVar9 + uVar11) { + } while (uVar10 < 0xd); + if (this->_scaleAnimNum != iVar8 + uVar10) { if (((((iVar4 == 1) || (iVar4 == 0xc)) || (iVar4 == 0xf)) || ((iVar4 == 0x11 || (iVar4 == 0x22)))) || (iVar4 == 0x19)) { - pcVar8 = "BloodTear%d"; + pcVar7 = "BloodTear%d"; LAB_006778bd: - uVar6 = uVar11; + uVar6 = uVar10; } else if ((iVar4 == 2) || (iVar4 == 0x1e)) { - pcVar8 = "Tooth%dMove"; + pcVar7 = "Tooth%dMove"; uVar6 = 1; - if (1 < (int)uVar11 / 2) { - uVar6 = (int)uVar11 / 2; + if (1 < (int)uVar10 / 2) { + uVar6 = (int)uVar10 / 2; } } else if (iVar4 == 0x14) { - pcVar8 = "Rotate%d"; + pcVar7 = "Rotate%d"; uVar6 = 1; - if (1 < (int)uVar11 / 2) { - uVar6 = (int)uVar11 / 2; + if (1 < (int)uVar10 / 2) { + uVar6 = (int)uVar10 / 2; } } else { if ((((iVar4 != 0x16) && (iVar4 != 0x1a)) && (iVar4 != 0x1b)) && (((iVar4 != 0x1c && (iVar4 != 0x1d)) && (iVar4 != 0x30)))) { - pcVar8 = "RegularTear%d"; + pcVar7 = "RegularTear%d"; goto LAB_006778bd; } - pcVar8 = "Stone%dMove"; + pcVar7 = "Stone%dMove"; uVar6 = 1; - if (1 < (int)uVar11 / 2) { - uVar6 = (int)uVar11 / 2; + if (1 < (int)uVar10 / 2) { + uVar6 = (int)uVar10 / 2; } } - sprintf_s(local_2c,0x20,pcVar8,uVar6); + sprintf_s(local_2c,0x20,pcVar7,uVar6); ANM2::Play(&this->_sprite,local_2c,0); - this->_scaleAnimNum = iVar9 + uVar11; + this->_scaleAnimNum = iVar8 + uVar10; } - if ((int)uVar11 < 0xd) { + if ((int)uVar10 < 0xd) { if ((((DAT_00c34b30 | (uint)g_tearFlagLudovico._l) & (uint)(this->_tearFlags)._l) == 0 && ((DAT_00c34b34 | g_tearFlagLudovico._l._4_4_) & *(uint *)((int)&(this->_tearFlags)._l + 4)) == 0) && @@ -332429,42 +332720,42 @@ LAB_006778bd: (*(uint *)((int)&(this->_tearFlags)._h + 4) & (DAT_00c34b3c | g_tearFlagLudovico._h._4_4_) ) == 0)) { local_4c = 1.0; - fVar12 = 1.0; + fVar11 = 1.0; } else { - local_4c = this->_fScale / *(float *)(&DAT_00b64e2c + uVar11 * 4); - fVar12 = local_4c; + local_4c = this->_fScale / *(float *)(&DAT_00b64e2c + uVar10 * 4); + fVar11 = local_4c; } } else { local_4c = this->_fScale / 2.75; - fVar12 = local_4c; + fVar11 = local_4c; } break; default: - if (this->_scaleAnimNum != iVar9) { + if (this->_scaleAnimNum != iVar8) { ANM2::Play(&this->_sprite,s_Idle,0); - this->_scaleAnimNum = iVar9; + this->_scaleAnimNum = iVar8; } case 0x28: switchD_006777c1_caseD_28: - fVar12 = 1.0; + fVar11 = 1.0; break; case 5: case 6: case 7: - if (this->_scaleAnimNum != iVar9) { + if (this->_scaleAnimNum != iVar8) { ANM2::Play(&this->_sprite,(byte *)"MoveHori",0); - this->_scaleAnimNum = iVar9; + this->_scaleAnimNum = iVar8; } local_4c = this->_fScale / 2.75; - fVar12 = this->_fallingSpeed + (this->_velocity).y; + fVar11 = this->_fallingSpeed + (this->_velocity).y; if (0 < this->_waitFrames) { - fVar12 = (this->_continueVelocity).y; + fVar11 = (this->_continueVelocity).y; } atan2f(); - (this->_sprite)._rotation = fVar12 * 57.295776; - fVar12 = local_4c; + (this->_sprite)._rotation = fVar11 * 57.295776; + fVar11 = local_4c; break; case 8: case 0x2a: @@ -332490,51 +332781,51 @@ switchD_006777c1_caseD_28: else { ANM2::SetAnimation(&this->_sprite,local_2c,0); } - fVar12 = local_4c; + fVar11 = local_4c; if (this->_variant == 8) { this->_fScale = this->_fScale + this->_fScale; } break; case 9: if (this->_dead == 0) { - if (this->_scaleAnimNum != iVar9) { + if (this->_scaleAnimNum != iVar8) { ANM2::Play(&this->_sprite,(byte *)"Rotate",0); - this->_scaleAnimNum = iVar9; + this->_scaleAnimNum = iVar8; } (this->_sprite)._flipX = (this->_velocity).x <= 0.0 && (this->_velocity).x != 0.0; } goto switchD_006777c1_caseD_28; case 0x2e: ANM2::Play(&this->_sprite,(byte *)"Flickering",0); - uVar11 = g_graphicsManager_flags; + uVar10 = g_graphicsManager_flags; pLVar5 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - uVar7 = 1; - if ((uVar11 & 4) == 0) { - uVar7 = 6; + iVar4 = 1; + if ((uVar10 & 4) == 0) { + iVar4 = 6; } - *(undefined4 *)&pLVar5->field_0x78 = 0; - *(undefined4 *)&pLVar5->field_0x7c = uVar7; - *(undefined4 *)&pLVar5->field_0x80 = 1; - *(undefined4 *)&pLVar5->field_0x84 = 1; - *(undefined4 *)&pLVar5->field_0x88 = 1; + pLVar5->_blendMode[0] = 0; + pLVar5->_blendMode[1] = iVar4; + pLVar5->_blendMode[2] = 1; + pLVar5->_blendMode[3] = 1; + pLVar5->_blendMode[4] = 1; goto switchD_006777c1_caseD_28; case 0x2f: case 0x31: ANM2::Play(&this->_sprite,s_Idle,0); local_4c = this->_fScale; - fVar12 = local_4c; + fVar11 = local_4c; break; case 0x32: - uVar11 = 0; - fVar12 = this->_fScale + 0.25; - this->_fScale = fVar12; + uVar10 = 0; + fVar11 = this->_fScale + 0.25; + this->_fScale = fVar11; do { - if (fVar12 <= (float)(&DAT_00b64e70)[uVar11]) break; - uVar11 = uVar11 + 1; - } while ((int)uVar11 < 4); - if (this->_scaleAnimNum != uVar11 + iVar9) { - this->_scaleAnimNum = uVar11 + iVar9; - sprintf(local_2c,"Rotate%d",uVar11 + 1); + if (fVar11 <= (float)(&DAT_00b64e70)[uVar10]) break; + uVar10 = uVar10 + 1; + } while ((int)uVar10 < 4); + if (this->_scaleAnimNum != uVar10 + iVar8) { + this->_scaleAnimNum = uVar10 + iVar8; + sprintf(local_2c,"Rotate%d",uVar10 + 1); if (this->_scaleAnimNum / 100 == (int)local_48 / 100) { iVar4 = ANM2::GetFrame(&this->_sprite); ANM2::Play(&this->_sprite,local_2c,0); @@ -332558,85 +332849,85 @@ LAB_00677c46: (this->_sprite)._animState._isPlaying = 0; } } - if (uVar11 < 5) { - local_4c = this->_fScale / (float)(&DAT_00b64e70)[uVar11]; - fVar12 = local_4c; + if (uVar10 < 5) { + local_4c = this->_fScale / (float)(&DAT_00b64e70)[uVar10]; + fVar11 = local_4c; } else { local_4c = this->_fScale / 2.25; - fVar12 = local_4c; + fVar11 = local_4c; } } pGVar1 = g_game; - fVar13 = (this->_sizeMulti).x; - fVar14 = (this->_sizeMulti).y; - uVar11 = this->_variant; - local_48 = fVar14; - local_44 = fVar13; - if (uVar11 < 0x33) { - if ((uVar11 == 0xd) || (uVar11 == 0x17)) { + fVar12 = (this->_sizeMulti).x; + fVar13 = (this->_sizeMulti).y; + uVar10 = this->_variant; + local_48 = fVar13; + local_44 = fVar12; + if (uVar10 < 0x33) { + if ((uVar10 == 0xd) || (uVar10 == 0x17)) { local_40 = 1.10703e-43; std::set::find_node(local_38,&local_40); if ((*(char *)((int)local_30 + 0xd) == '\0') && ((*(int *)((int)local_30 + 0x10) < 0x50 && (local_30 != (pGVar1->_seedEffects)._seedEffects)))) { - fVar13 = fVar13 / 3.0; - local_44 = fVar13; + fVar12 = fVar12 / 3.0; + local_44 = fVar12; } } - pbVar10 = (byte *)0x0; + pbVar9 = (byte *)0x0; if ((this->_sprite)._layerCount != 0) { do { - local_40 = fVar12 * g_vectorOne.x * fVar13; - local_3c = fVar12 * g_vectorOne.y * fVar14; - pLVar5 = ANM2::GetLayer(&this->_sprite,pbVar10); - pbVar10 = pbVar10 + 1; + local_40 = fVar11 * g_vectorOne.x * fVar12; + local_3c = fVar11 * g_vectorOne.y * fVar13; + pLVar5 = ANM2::GetLayer(&this->_sprite,pbVar9); + pbVar9 = pbVar9 + 1; (pLVar5->_size).x = local_40; (pLVar5->_size).y = local_3c; - fVar13 = local_44; - fVar14 = local_48; - fVar12 = local_4c; - } while (pbVar10 < (byte *)(this->_sprite)._layerCount); + fVar12 = local_44; + fVar13 = local_48; + fVar11 = local_4c; + } while (pbVar9 < (byte *)(this->_sprite)._layerCount); } } else { - pbVar10 = (byte *)0x0; + pbVar9 = (byte *)0x0; if ((this->_sprite)._layerCount != 0) { do { local_40 = this->_fScale * g_vectorOne.y * local_48; local_4c = this->_fScale * g_vectorOne.x * local_44; - pLVar5 = ANM2::GetLayer(&this->_sprite,pbVar10); - pbVar10 = pbVar10 + 1; + pLVar5 = ANM2::GetLayer(&this->_sprite,pbVar9); + pbVar9 = pbVar9 + 1; (pLVar5->_size).x = local_4c; (pLVar5->_size).y = local_40; - fVar13 = local_44; - fVar14 = local_48; - } while (pbVar10 < (byte *)(this->_sprite)._layerCount); + fVar12 = local_44; + fVar13 = local_48; + } while (pbVar9 < (byte *)(this->_sprite)._layerCount); } } if ((((uint)(this->_tearFlags)._l & _DAT_00c34920) != 0 || (*(uint *)((int)&(this->_tearFlags)._l + 4) & DAT_00c34924) != 0) || (((uint)(this->_tearFlags)._h & _DAT_00c34928) != 0 || (*(uint *)((int)&(this->_tearFlags)._h + 4) & DAT_00c3492c) != 0)) { - fVar12 = this->_fScale * 0.45; - (this->_tearHaloANM2)._scale.y = fVar12 * fVar14; - (this->_tearHaloANM2)._scale.x = fVar12 * fVar13; + fVar11 = this->_fScale * 0.45; + (this->_tearHaloANM2)._scale.y = fVar11 * fVar13; + (this->_tearHaloANM2)._scale.x = fVar11 * fVar12; if ((this->_tearHaloANM2)._loaded != 0) { AnimationState::Update(); AnimationState::Update(); } } if ((this->_tearEffectANM2)._loaded != 0) { - fVar12 = this->_fScale * 0.45; - (this->_tearEffectANM2)._scale.y = fVar12 * local_48; - (this->_tearEffectANM2)._scale.x = fVar12 * local_44; + fVar11 = this->_fScale * 0.45; + (this->_tearEffectANM2)._scale.y = fVar11 * local_48; + (this->_tearEffectANM2)._scale.x = fVar11 * local_44; AnimationState::Update(); AnimationState::Update(); } if (this->_deadEyeIntensity != 0.0) { - fVar12 = this->_fScale * 0.45; - (this->_deadEyeANM2)._scale.y = fVar12 * local_48; - (this->_deadEyeANM2)._scale.x = fVar12 * local_44; + fVar11 = this->_fScale * 0.45; + (this->_deadEyeANM2)._scale.y = fVar11 * local_48; + (this->_deadEyeANM2)._scale.x = fVar11 * local_44; if ((this->_deadEyeANM2)._loaded != 0) { AnimationState::Update(); AnimationState::Update(); @@ -332690,16 +332981,15 @@ uint __thiscall Entity_Tear::fire_split_projectiles(Entity_Tear *this,char param int iVar9; Entity_Tear *this_00; Entity_Bomb *pEVar10; - RNG RVar11; - int iVar12; - Entity_Laser *pEVar13; - undefined4 uVar14; + int iVar11; + Entity_Laser *pEVar12; + undefined4 uVar13; + uint uVar14; uint uVar15; uint uVar16; - uint uVar17; + float fVar17; float fVar18; float fVar19; - float fVar20; EntityPtr local_78; uint local_74; float local_68; @@ -332759,19 +333049,19 @@ LAB_00678128: do { if (local_78 == (EntityPtr)0x0) { LAB_00678885: - uVar14 = Random(); + uVar13 = Random(); EVar3 = this->_spawnerEntity; iVar9 = Random(); - fVar18 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * + fVar17 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 360.0 * 0.017453292; - fVar20 = fVar18; + fVar19 = fVar17; cos(); sin(); - fStack_28 = fVar20 * local_68 * 10.0 - fVar18 * 0.0; - fStack_24 = fVar18 * local_68 * 10.0 + fVar20 * 0.0; - uVar14 = Game::SpawnEx(g_game,2,1,&this->_pos,&fStack_28,EVar3,0,uVar14,0); + fStack_28 = fVar19 * local_68 * 10.0 - fVar17 * 0.0; + fStack_24 = fVar17 * local_68 * 10.0 + fVar19 * 0.0; + uVar13 = Game::SpawnEx(g_game,2,1,&this->_pos,&fStack_28,EVar3,0,uVar13,0); this_00 = (Entity_Tear *) - __RTDynamicCast(uVar14,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, + __RTDynamicCast(uVar13,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Tear::RTTI_Type_Descriptor,0); if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < DAT_00c80008) && (_Init_thread_header(&DAT_00c80008), DAT_00c80008 == -1)) { @@ -332839,24 +333129,24 @@ LAB_00678885: ((this->_collisionDamage / 1.5) * ((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 0.5 + 0.75)); - fVar20 = fVar20 * this->_fScale * 0.55; - if (fVar20 <= 0.01) { - fVar20 = 0.01; + fVar19 = fVar19 * this->_fScale * 0.55; + if (fVar19 <= 0.01) { + fVar19 = 0.01; } - this_00->_baseScale = fVar20; - this_00->_fScale = fVar20; + this_00->_baseScale = fVar19; + this_00->_fScale = fVar19; ResetSpriteScale(this_00); - fVar20 = -6.0; + fVar19 = -6.0; if (this->_height <= -6.0) { - fVar20 = this->_height; + fVar19 = this->_height; } - this_00->_height = fVar20; - fVar18 = fVar20; + this_00->_height = fVar19; + fVar17 = fVar19; get_height_offset_y(this_00); pGVar5 = g_game; - (this_00->_posOffset).y = fVar18; + (this_00->_posOffset).y = fVar17; if ((*(int *)((int)pGVar5->_room + 8) == 0x10) && - ((this_00->_posOffset).y = -18.0, -5.1 < fVar20)) { + ((this_00->_posOffset).y = -18.0, -5.1 < fVar19)) { this_00->_height = -5.1; } iVar9 = Random(); @@ -332897,13 +333187,13 @@ LAB_00678b68: bVar6 = Entity_Player::HasCollectible((Entity_Player *)local_78,0x44,0); if (bVar6 == 0) goto LAB_00678885; iVar9 = Random(); - fVar18 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + fVar17 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 360.0 * 0.017453292; - fVar20 = fVar18; + fVar19 = fVar17; cos(); sin(); - local_30.x = fVar20 - fVar18 * 0.0; - local_30.y = fVar20 * 0.0 + fVar18; + local_30.x = fVar19 - fVar17 * 0.0; + local_30.y = fVar19 * 0.0 + fVar17; this_00 = (Entity_Tear *) Entity_Player::FireTechLaser ((Entity_Player *)local_78,&this->_pos,1,&local_30,0,0,(Entity *)0x0 @@ -332922,47 +333212,47 @@ LAB_00678b68: } iVar9 = Random(); dVar2 = __uint_to_double_fixup[-(iVar9 >> 0x1f)]; - fVar18 = *(float *)((int)local_78 + 0x1464) * 10.0; - iVar12 = Random(); - fVar19 = (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * + fVar17 = *(float *)((int)local_78 + 0x1464) * 10.0; + iVar11 = Random(); + fVar18 = (float)((double)iVar11 + __uint_to_double_fixup[-(iVar11 >> 0x1f)]) * 2.3283064e-10 * 360.0 * 0.017453292; - fVar20 = fVar19; + fVar19 = fVar18; cos(); sin(); - local_38.y = fVar19 * fVar18 + fVar20 * 0.0; - local_38.x = fVar20 * fVar18 - fVar19 * 0.0; - pEVar13 = Entity_Player::FireTechXLaser + local_38.y = fVar18 * fVar17 + fVar19 * 0.0; + local_38.x = fVar19 * fVar17 - fVar18 * 0.0; + pEVar12 = Entity_Player::FireTechXLaser ((Entity_Player *)local_78,&this->_pos,&local_38, (float)((double)iVar9 + dVar2) * 2.3283064e-10 * 60.0 + 20.0, (Entity *)0x0,1.0); - pEVar13->_prismTouched = this->_prismTouched; - pEVar13->_multidimensionalTouched = this->_multidimensionalTouched; - uVar8 = (**(code **)(*(int *)pEVar13 + 0xc))(); + pEVar12->_prismTouched = this->_prismTouched; + pEVar12->_multidimensionalTouched = this->_multidimensionalTouched; + uVar8 = (**(code **)(*(int *)pEVar12 + 0xc))(); } else { iVar9 = Random(); - fVar18 = ((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + fVar17 = ((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 4.0 + 3.0) * *(float *)((int)local_78 + 0x1464); iVar9 = Random(); - fVar19 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 + fVar18 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 360.0 * 0.017453292; - fVar20 = fVar19; + fVar19 = fVar18; cos(); sin(); - local_48.x = fVar18 * fVar20 - fVar19 * 0.0; - local_48.y = fVar18 * fVar19 + fVar20 * 0.0; - iVar9 = Random(); - fVar19 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 - * 3.14; - fVar19 = fVar19 + fVar19; + local_48.x = fVar17 * fVar19 - fVar18 * 0.0; + local_48.y = fVar17 * fVar18 + fVar19 * 0.0; iVar9 = Random(); fVar18 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 + * 3.14; + fVar18 = fVar18 + fVar18; + iVar9 = Random(); + fVar17 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 ; - fVar20 = fVar19; + fVar19 = fVar18; cos(); - local_40.x = fVar20 * fVar18 * 10.0 + (this->_pos).x; + local_40.x = fVar19 * fVar17 * 10.0 + (this->_pos).x; sin(); - local_40.y = fVar19 * fVar18 * 10.0 + (this->_pos).y; + local_40.y = fVar18 * fVar17 * 10.0 + (this->_pos).y; pEVar10 = Entity_Player::FireBomb ((Entity_Player *)local_78,&local_40,&local_48,(Entity *)0x0); (**(code **)(*(int *)pEVar10 + 0x3c))(&(this->_sprite)._color,0xffffffff,0xff,0,1); @@ -332971,13 +333261,13 @@ LAB_00678b68: uVar8 = *(uint *)((int)&(pEVar10->_tearFlags)._l + 4); qVar4 = (pEVar10->_tearFlags)._h; uVar7 = *(uint *)((int)&(pEVar10->_tearFlags)._h + 4); - uVar17 = ~DAT_00c34b98; - uVar16 = ~DAT_00c34b9c; - uVar15 = ~DAT_00c34b94; + uVar16 = ~DAT_00c34b98; + uVar15 = ~DAT_00c34b9c; + uVar14 = ~DAT_00c34b94; *(uint *)&(pEVar10->_tearFlags)._l = ~DAT_00c34b90 & (uint)(pEVar10->_tearFlags)._l; - *(uint *)((int)&(pEVar10->_tearFlags)._l + 4) = uVar15 & uVar8; - *(uint *)&(pEVar10->_tearFlags)._h = uVar17 & (uint)qVar4; - *(uint *)((int)&(pEVar10->_tearFlags)._h + 4) = uVar16 & uVar7; + *(uint *)((int)&(pEVar10->_tearFlags)._l + 4) = uVar14 & uVar8; + *(uint *)&(pEVar10->_tearFlags)._h = uVar16 & (uint)qVar4; + *(uint *)((int)&(pEVar10->_tearFlags)._h + 4) = uVar15 & uVar7; } pEVar10->_loadCostumes = 1; pEVar10->_scale = pEVar10->_scale * 0.5; @@ -332991,19 +333281,18 @@ LAB_00678b68: pEVar10->_fallSpeed = -3.0 - (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 5.0; - RVar11 = pEVar10->_dropRNG; - if (RVar11 == (RNG)0x0) { + uVar7 = (pEVar10->_dropRNG)._seed; + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)RVar11 >> ((byte)*(undefined4 *)&pEVar10->field_0x3e0 & 0x1f) ^ - (uint)RVar11; - uVar8 = uVar8 << ((byte)*(undefined4 *)&pEVar10->field_0x3e4 & 0x1f) ^ uVar8; - RVar11 = (RNG)(uVar8 >> ((byte)*(undefined4 *)&pEVar10->field_0x3e8 & 0x1f) ^ uVar8); - pEVar10->_dropRNG = RVar11; - uVar8 = (uint)RVar11 / 0xe; + uVar7 = uVar7 >> ((byte)(pEVar10->_dropRNG)._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)(pEVar10->_dropRNG)._shift2 & 0x1f) ^ uVar7; + uVar7 = uVar7 >> ((byte)(pEVar10->_dropRNG)._shift3 & 0x1f) ^ uVar7; + (pEVar10->_dropRNG)._seed = uVar7; + uVar8 = uVar7 / 0xe; (pEVar10->_posOffset).x = 0.0; - iVar9 = (uint)RVar11 % 0xe + 10; + iVar9 = uVar7 % 0xe + 10; (pEVar10->_posOffset).y = -3.0; pEVar10->_explosionCountdown1 = iVar9; *(int *)&pEVar10->field_0x414 = iVar9; @@ -333412,7 +333701,7 @@ void __thiscall Entity_Tear::SetDeadEyeIntensity(Entity_Tear *this,float param_2 { LayerState *pLVar1; char *pcVar2; - undefined4 uVar3; + int iVar3; uint uVar4; ColorMod *pCVar5; undefined4 local_68 [11]; @@ -333459,15 +333748,15 @@ void __thiscall Entity_Tear::SetDeadEyeIntensity(Entity_Tear *this,float param_2 } uVar4 = g_graphicsManager_flags; pLVar1 = ANM2::GetLayer(&this->_deadEyeANM2,(byte *)0x0); - uVar3 = 1; + iVar3 = 1; if ((uVar4 & 4) == 0) { - uVar3 = 6; + iVar3 = 6; } - *(undefined4 *)&pLVar1->field_0x7c = uVar3; - *(undefined4 *)&pLVar1->field_0x78 = 0; - *(undefined4 *)&pLVar1->field_0x80 = 1; - *(undefined4 *)&pLVar1->field_0x84 = 1; - *(undefined4 *)&pLVar1->field_0x88 = 1; + pLVar1->_blendMode[1] = iVar3; + pLVar1->_blendMode[0] = 0; + pLVar1->_blendMode[2] = 1; + pLVar1->_blendMode[3] = 1; + pLVar1->_blendMode[4] = 1; ANM2::Play(&this->_deadEyeANM2,s_Idle,0); pCVar5 = &(this->_deadEyeANM2)._color; if (pCVar5 != (ColorMod *)local_68) { @@ -333557,7 +333846,7 @@ Entity_Tear * __thiscall Entity_Tear::MakeMultidimensionalCopy(Entity_Tear *this iVar4 = 0x15; } uVar3 = Game::SpawnEx(g_game,2,iVar4,&this->_pos,&this->_velocity,spawner,this->_subtype, - this->_dropRNG,0); + (this->_dropRNG)._seed,0); this_00 = (Entity_Tear *) __RTDynamicCast(uVar3,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Tear::RTTI_Type_Descriptor,0); @@ -333636,7 +333925,7 @@ void Entity_Tear::ChangeVariant(int param_1) byte bVar4; LayerState *pLVar5; Entity_Tear *in_ECX; - undefined4 uVar6; + int iVar6; char *pcVar7; uint uVar8; std_string local_54; @@ -333691,15 +333980,15 @@ void Entity_Tear::ChangeVariant(int param_1) } uVar8 = g_graphicsManager_flags; pLVar5 = ANM2::GetLayer(&in_ECX->_sprite,(byte *)0x0); - uVar6 = 1; + iVar6 = 1; if ((uVar8 & 4) == 0) { - uVar6 = 6; + iVar6 = 6; } - *(undefined4 *)&pLVar5->field_0x78 = 0; - *(undefined4 *)&pLVar5->field_0x7c = uVar6; - *(undefined4 *)&pLVar5->field_0x80 = 1; - *(undefined4 *)&pLVar5->field_0x84 = 1; - *(undefined4 *)&pLVar5->field_0x88 = 1; + pLVar5->_blendMode[0] = 0; + pLVar5->_blendMode[1] = iVar6; + pLVar5->_blendMode[2] = 1; + pLVar5->_blendMode[3] = 1; + pLVar5->_blendMode[4] = 1; } } else if (in_ECX->_variant == 0x17) { @@ -333736,15 +334025,15 @@ void Entity_Tear::ChangeVariant(int param_1) local_3c._capacity = 0xf; local_3c._buf._0_4_ = local_3c._buf._0_4_ & 0xffffff00; pLVar5 = ANM2::GetLayer(&in_ECX->_sprite,(byte *)0x1); - uVar6 = 1; + iVar6 = 1; if ((uVar8 & 4) == 0) { - uVar6 = 6; + iVar6 = 6; } - *(undefined4 *)&pLVar5->field_0x7c = uVar6; - *(undefined4 *)&pLVar5->field_0x78 = 0; - *(undefined4 *)&pLVar5->field_0x80 = 1; - *(undefined4 *)&pLVar5->field_0x84 = 1; - *(undefined4 *)&pLVar5->field_0x88 = 1; + pLVar5->_blendMode[1] = iVar6; + pLVar5->_blendMode[0] = 0; + pLVar5->_blendMode[2] = 1; + pLVar5->_blendMode[3] = 1; + pLVar5->_blendMode[4] = 1; pLVar5 = ANM2::GetLayer(&in_ECX->_sprite,(byte *)0x1); pLVar5->_bitflags = pLVar5->_bitflags | 1; } @@ -333789,15 +334078,14 @@ void __thiscall Entity::GetRootParent(Entity *this) (type 2), returns the nearest within 40; Entity_Tear::Update then calls FUN_0067ae30 to link this+0x494/0x498 with it (multiset EntityPtr refs) */ -int Entity_Tear::find_nearest_linkable_tear(void) +Entity_Tear * __thiscall Entity_Tear::find_nearest_linkable_tear(Entity_Tear *this) { - int iVar1; + Entity_Tear *pEVar1; qword qVar2; uint uVar3; qword *pqVar4; - int in_ECX; - int iVar5; + Entity_Tear *pEVar5; uint uVar6; float fVar7; float fVar8; @@ -333805,7 +334093,7 @@ int Entity_Tear::find_nearest_linkable_tear(void) int local_28; uint local_20; float local_1c; - int local_18; + Entity_Tear *local_18; void *local_10; undefined1 *puStack_c; undefined4 uStack_8; @@ -333816,31 +334104,32 @@ int Entity_Tear::find_nearest_linkable_tear(void) uVar3 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); - iVar5 = 0; + pEVar5 = (Entity_Tear *)0x0; uVar6 = 0; local_1c = 40.0; - local_18 = 0; + local_18 = (Entity_Tear *)0x0; if (local_20 != 0) { do { - iVar1 = *(int *)(local_28 + uVar6 * 4); - if (iVar1 != in_ECX) { - if ((((*(uint *)(iVar1 + 0x428) & _DAT_00c34810) != 0 || - (*(uint *)(iVar1 + 0x42c) & _DAT_00c34814) != 0) || - ((*(uint *)(iVar1 + 0x430) & _DAT_00c34818) != 0 || - (*(uint *)(iVar1 + 0x434) & _DAT_00c3481c) != 0)) && - ((*(int *)(iVar1 + 0x494) == 0 || (*(int *)(*(int *)(iVar1 + 0x494) + 0x28) != 2)))) { - fVar7 = *(float *)(in_ECX + 0x340) - *(float *)(iVar1 + 0x340); - fVar8 = *(float *)(in_ECX + 0x33c) - *(float *)(iVar1 + 0x33c); + pEVar1 = *(Entity_Tear **)(local_28 + uVar6 * 4); + if (pEVar1 != this) { + if (((((uint)(pEVar1->_tearFlags)._l & _DAT_00c34810) != 0 || + (*(uint *)((int)&(pEVar1->_tearFlags)._l + 4) & _DAT_00c34814) != 0) || + (((uint)(pEVar1->_tearFlags)._h & _DAT_00c34818) != 0 || + (*(uint *)((int)&(pEVar1->_tearFlags)._h + 4) & _DAT_00c3481c) != 0)) && + ((pEVar1->_linkPrev == (EntityPtr)0x0 || (*(int *)((int)pEVar1->_linkPrev + 0x28) != 2))) + ) { + fVar7 = (this->_pos).y - (pEVar1->_pos).y; + fVar8 = (this->_pos).x - (pEVar1->_pos).x; fVar7 = fVar7 * fVar7 + fVar8 * fVar8; sqrtf(uVar3); if (fVar7 < local_1c) { - iVar5 = iVar1; + pEVar5 = pEVar1; local_1c = fVar7; - local_18 = iVar1; + local_18 = pEVar1; goto LAB_0067a88e; } } - iVar5 = local_18; + pEVar5 = local_18; } LAB_0067a88e: uVar6 = uVar6 + 1; @@ -333862,7 +334151,7 @@ LAB_0067a88e: } } ExceptionList = local_10; - return iVar5; + return pEVar5; } @@ -333873,7 +334162,7 @@ LAB_0067a88e: 128-bit tear flags (+0x428..+0x434) intersect the mask at DAT_00c34810 and which has no link yet (+0x498==0); Entity_Tear::Update links the two with EntityPtr::Set on a random 1/10 roll */ -int Entity_Tear::find_link_partner(void) +int __thiscall Entity_Tear::find_link_partner(Entity_Tear *this) { bool bVar1; @@ -333881,8 +334170,7 @@ int Entity_Tear::find_link_partner(void) qword qVar3; uint uVar4; qword *pqVar5; - int in_ECX; - int iVar6; + EntityPtr EVar6; int iVar7; bool bVar8; float fVar9; @@ -333909,37 +334197,37 @@ int Entity_Tear::find_link_partner(void) local_1c = 0; if (local_24 != 0) { do { - iVar6 = *(int *)(local_2c + local_1c * 4); - if (iVar6 != in_ECX) { - if (((!((*(uint *)(iVar6 + 0x428) & _DAT_00c34810) == 0 && - (*(uint *)(iVar6 + 0x42c) & _DAT_00c34814) == 0)) || - (!((*(uint *)(iVar6 + 0x430) & _DAT_00c34818) == 0 && - (*(uint *)(iVar6 + 0x434) & _DAT_00c3481c) == 0))) && (*(int *)(iVar6 + 0x498) == 0)) - { + EVar6 = *(EntityPtr *)(local_2c + local_1c * 4); + if (EVar6 != (EntityPtr)this) { + if (((!((*(uint *)((int)EVar6 + 0x428) & _DAT_00c34810) == 0 && + (*(uint *)((int)EVar6 + 0x42c) & _DAT_00c34814) == 0)) || + (!((*(uint *)((int)EVar6 + 0x430) & _DAT_00c34818) == 0 && + (*(uint *)((int)EVar6 + 0x434) & _DAT_00c3481c) == 0))) && + (*(int *)((int)EVar6 + 0x498) == 0)) { bVar2 = true; do { - if (iVar6 == 0) goto LAB_0067aa2a; - if (((*(uint *)(iVar6 + 0x428) & _DAT_00c34810) == 0 && - (*(uint *)(iVar6 + 0x42c) & _DAT_00c34814) == 0) && + if (EVar6 == (EntityPtr)0x0) goto LAB_0067aa2a; + if ((((uint)((BitSet128 *)((int)EVar6 + 0x428))->_l & _DAT_00c34810) == 0 && + (*(uint *)((int)EVar6 + 0x42c) & _DAT_00c34814) == 0) && (bVar1 = bVar2, - (*(uint *)(iVar6 + 0x430) & _DAT_00c34818) == 0 && - (*(uint *)(iVar6 + 0x434) & _DAT_00c3481c) == 0)) break; - bVar8 = iVar6 != in_ECX; - iVar6 = *(int *)(iVar6 + 0x494); + (*(uint *)((int)EVar6 + 0x430) & _DAT_00c34818) == 0 && + (*(uint *)((int)EVar6 + 0x434) & _DAT_00c3481c) == 0)) break; + bVar8 = EVar6 != (EntityPtr)this; + EVar6 = *(EntityPtr *)((int)EVar6 + 0x494); bVar1 = false; if (bVar8) { bVar1 = bVar2; } - if ((iVar6 == 0) || (*(int *)(iVar6 + 0x28) != 2)) { - iVar6 = 0; + if ((EVar6 == (EntityPtr)0x0) || (*(int *)((int)EVar6 + 0x28) != 2)) { + EVar6 = (EntityPtr)0x0; } bVar2 = bVar1; } while (bVar1); if (bVar1) { LAB_0067aa2a: iVar7 = *(int *)(local_2c + local_1c * 4); - fVar9 = *(float *)(in_ECX + 0x340) - *(float *)(iVar7 + 0x340); - fVar10 = *(float *)(in_ECX + 0x33c) - *(float *)(iVar7 + 0x33c); + fVar9 = (this->_pos).y - *(float *)(iVar7 + 0x340); + fVar10 = (this->_pos).x - *(float *)(iVar7 + 0x33c); fVar9 = fVar9 * fVar9 + fVar10 * fVar10; sqrtf(uVar4); if (fVar9 < local_20) { @@ -334667,9 +334955,9 @@ LAB_0067b313: EStack_3c._spawnerVariant = _DAT_00bac7b0; EStack_3c._position.x = (float)_UNK_00bac7b4; EStack_3c._position.y = (float)_UNK_00bac7b8; - EStack_3c._24_4_ = _UNK_00bac7bc; - EStack_3c._28_4_ = 0xbe4ccccd; - EStack_3c._32_4_ = 0xbe4ccccd; + EStack_3c._velocity.x = (float)_UNK_00bac7bc; + EStack_3c._velocity.y = -0.2; + EStack_3c._flags = -0x41b33333; EStack_3c._entity = (void *)0xbe4ccccd; (**(code **)(*(int *)local_b4 + 0x3c))(&local_40,0xffffffff,0xff,0,1); *(undefined1 *)&local_b4->_chargeBarSprites[0]._numEvents = 0; @@ -335536,7 +335824,7 @@ LAB_0067dc59: } operator_delete(pcVar8,uVar5); } - pbVar3 = *(byte **)&this[1].field_0x34; + pbVar3 = (byte *)this[1]._rng._shift2; local_2c._size = 0; local_2c._capacity = 0xf; local_2c._buf._0_4_ = local_2c._buf._0_4_ & 0xffffff00; @@ -335544,7 +335832,7 @@ LAB_0067dc59: LAB_0067ddb6: bVar4 = ANM2::SetAnimation((ANM2 *)(this + 1),(byte *)"FireStage00",1); if (bVar4 != 0) { - AnimationState::Rewind((AnimationState *)&this[1].field_0x30); + AnimationState::Rewind((AnimationState *)&this[1]._rng._shift1); this[1]._sprite._filename._buf[4] = '\x01'; } } @@ -335769,7 +336057,7 @@ float * __thiscall GridEntity_Fire::Update(GridEntity_Fire *this) ANM2::Play((ANM2 *)(this + 1),(byte *)"FireStage03",0); break; case 4: - if (*(int *)&this[1].field_0x34 != 0) { + if (this[1]._rng._shift2 != 0) { this[1]._sprite._filename._buf[4] = '\0'; } pLVar4 = ANM2::GetLayer((ANM2 *)(this + 1),(byte *)0x0); @@ -337333,11 +337621,14 @@ void FUN_00682350(void) } -//@@ 00682390 FUN_00682390 +//@@ 00682390 text_wrap_lines /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? (out vector) splits text on "\n" and wraps to a width with + Font::get_string_width_n, pushing each line (vector_string_emplace_reallocate_move); only caller + Popup::build_lines 009c27c0 Popup::build_lines -void FUN_00682390(int *param_1) +void text_wrap_lines(int *param_1) { char cVar1; @@ -339233,11 +339524,14 @@ LAB_00684639: } -//@@ 006846c0 FUN_006846c0 +//@@ 006846c0 sha1_transform /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: SHA-1 block function: 16 big-endian words, 80-word schedule with rol1 + (W[t-3]^W[t-8]^W[t-14]^W[t-16]), 0x5a827999.. round constants on the 5-word state in EDX; caller + sha1_digest 00684920 sha1_digest -void FUN_006846c0(void) +void sha1_transform(void) { uint uVar1; @@ -339407,7 +339701,7 @@ void sha1_digest(uint param_1) uVar1 = 0; if (uVar3 != 0xffffff80) { do { - FUN_006846c0(); + sha1_transform(); uVar1 = uVar1 + 0x40; } while (uVar1 < uVar3 + 0x80); } @@ -339586,7 +339880,7 @@ int FUN_00684e10(undefined4 param_1) int *piVar1; undefined1 local_10 [12]; - piVar1 = (int *)FUN_00685360(local_10,param_1); + piVar1 = (int *)std::map::try_emplace(local_10,param_1); return *piVar1 + 0x28; } @@ -339957,9 +340251,14 @@ void Catch_All_0068532b(void) } -//@@ 00685360 FUN_00685360 +//@@ 00685360 std::map::try_emplace -void FUN_00685360(int *param_1,undefined4 param_2) +/* DB: std::map: _Find_lower_bound (00685bc0) + string_compare, on miss + allocates a 0x40-byte node (key string copied at +0x10, empty value string +0x28 with cap 0xf at + +0x3c), max-size 0x3ffffff check, insert/rebalance; only caller 00684e10 = operator[] (returns + node+0x28), used by keyvalue_map_parse */ + +void std::map::try_emplace(int *param_1,undefined4 param_2) { int *piVar1; @@ -339982,7 +340281,7 @@ void FUN_00685360(int *param_1,undefined4 param_2) local_10 = ExceptionList; uVar2 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; - std::map::_Find_lower_bound(&local_24,param_2); + map::_Find_lower_bound(&local_24,param_2); if (*(char *)(local_1c + 0xd) == '\0') { piVar4 = (int *)(local_1c + 0x10); if (0xf < *(uint *)(local_1c + 0x24)) { @@ -340006,7 +340305,7 @@ void FUN_00685360(int *param_1,undefined4 param_2) piVar4 = (int *)operator_new(0x40); local_8 = 1; local_14 = piVar4; - std::string::string(param_2); + string::string(param_2); piVar4[10] = 0; piVar4[0xe] = 0; piVar4[0xf] = 0xf; @@ -340759,7 +341058,7 @@ void FUN_00685ee0(void) //@@ 00685ef0 FUN_00685ef0 -undefined4 * FUN_00685ef0(void) +BossPool * FUN_00685ef0(void) { return &g_game->_bossPool; @@ -340894,7 +341193,7 @@ void FUN_00686060(void) in_ECX[0x43] = 0; in_ECX[0x42] = in_ECX[0xb] + (int)puVar2; FUN_006936f0(); - FUN_00686220(); + Console::LoadCommandHistory(); in_ECX[0x1a] = in_ECX[0x15]; in_ECX[0x1c] = in_ECX[0x18]; return; @@ -340957,11 +341256,16 @@ void FUN_00686110(void) } -//@@ 00686220 FUN_00686220 +//@@ 00686220 Console::LoadCommandHistory /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? ECX=Console: sprintf "%s/%s" g_userDataDir "cmd_history.txt", only when not online/daily + (or practice) and OptionsConfig _enableDebugConsole && _enableSaveCommandHistory; + SaveDataManager::open_file_read, reads 0x400 chunk, splits lines (isspace trim) into the history + deque up to 0x40 entries (+100 count); counterpart of REPENTOGON Console::SaveCommandHistory; + caller FUN_00686060 (console init) */ -void FUN_00686220(void) +void Console::LoadCommandHistory(void) { char cVar1; @@ -341063,11 +341367,15 @@ void FUN_00686220(void) } -//@@ 006864a0 FUN_006864a0 +//@@ 006864a0 Console::history_push /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? ECX = Console; only caller Console::submit_input with the typed line: drops a duplicate of + the last history entry, push_front into the history deque (+0x54..+0x70, cursor +0x60/+0x68 + reset), then echoes it as a ConsoleLine (color 0xffd3d3d3, 0x96 frames) via + std::deque::push_front */ -void FUN_006864a0(int param_1) +void Console::history_push(int param_1) { qword qVar1; @@ -341217,13 +341525,13 @@ void FUN_00686730(undefined4 param_1,uint param_2) if (0xf < (uint)g_game[1]._roomList[0].AllowedDoors) { piVar2 = (int *)*piVar4; } - iVar3 = *(int *)&g_game[1]._roomList[1].field_0x38 - (int)piVar2; + iVar3 = g_game[1]._roomList[1]._doors[7] - (int)piVar2; FUN_00693d20(iVar3,piVar2,param_2); if (0xf < (uint)pGVar1[1]._roomList[0].AllowedDoors) { piVar4 = (int *)*piVar4; } pGVar1[1]._roomList[1].DisplayFlags = 0; - *(int *)&pGVar1[1]._roomList[1].field_0x38 = iVar3 + 1 + (int)piVar4; + pGVar1[1]._roomList[1]._doors[7] = iVar3 + 1 + (int)piVar4; FUN_006924d0(); } return; @@ -341526,7 +341834,7 @@ void Console::submit_input(void) if (iVar11 != *(int *)(in_ECX + 0x2c)) { local_24 = uVar5; std::string::string(piVar12); - FUN_006864a0(); + history_push(); local_14 = 0; local_3c = *piVar12; uVar8 = *(undefined4 *)(in_ECX + 0x20); @@ -345029,7 +345337,7 @@ void Console::RunCommand(undefined4 param_1,undefined4 param_2,Entity_Player *pa LuaEngine *this_00; byte *pbVar27; ModManager *pMVar28; - void *this_01; + BossPool *this_01; int leveltype; uint uVar29; Entity_Player *pEVar30; @@ -345047,22 +345355,22 @@ void Console::RunCommand(undefined4 param_1,undefined4 param_2,Entity_Player *pa double dVar41; char *pcStack_2c0; std_string *psStack_2bc; - RNG RStack_2b8; + int iStack_2b8; char *pcStack_2b4; std_string *psStack_2b0; - undefined4 uStack_2ac; + int iStack_2ac; char *pcStack_2a8; std_string *psStack_2a4; - undefined4 uStack_2a0; + int iStack_2a0; char *pcStack_29c; std_string *psStack_298; - undefined4 uStack_294; + int iStack_294; char *pcStack_290; std_string *psStack_28c; - undefined4 uStack_288; + int iStack_288; char *pcStack_284; std_string *psStack_280; - undefined4 uStack_27c; + int iStack_27c; std_string *psStack_278; byte bVar42; size_t _MaxCount; @@ -346052,7 +346360,7 @@ LAB_0068f438: if (cVar3 == '\0') { Game::GetSeeds(g_game); psStack_278 = &local_7c; - uStack_27c = 0x68f84a; + iStack_27c = 0x68f84a; std::string::string(); psStack_278 = (std_string *)0x68f851; Seeds::SetStartSeed(); @@ -346187,10 +346495,10 @@ LAB_0068fda9: psStack_278 = (std_string *)0x690003; std::string::_Tidy_deallocate(); psStack_278 = (std_string *)0xb664c4; - uStack_27c = 0x690013; + iStack_27c = 0x690013; std::string::string_from_cstr(); psStack_278 = (std_string *)0x0; - uStack_27c = 0; + iStack_27c = 0; psStack_280 = &local_94; local_8._0_1_ = 0x45; pcStack_284 = (char *)0x690029; @@ -346199,10 +346507,10 @@ LAB_0068fda9: pcStack_284 = (char *)0x690038; std::string::_Tidy_deallocate(); pcStack_284 = "debug 3"; - uStack_288 = 0x690048; + iStack_288 = 0x690048; std::string::string_from_cstr(); pcStack_284 = (char *)0x0; - uStack_288 = 0; + iStack_288 = 0; psStack_28c = &local_ac; local_8._0_1_ = 0x46; pcStack_290 = (char *)0x69005e; @@ -346211,10 +346519,10 @@ LAB_0068fda9: pcStack_290 = (char *)0x69006d; std::string::_Tidy_deallocate(); pcStack_290 = "debug 4"; - uStack_294 = 0x69007a; + iStack_294 = 0x69007a; std::string::string_from_cstr(); pcStack_290 = (char *)0x0; - uStack_294 = 0; + iStack_294 = 0; psStack_298 = &local_7c; local_8._0_1_ = 0x47; pcStack_29c = (char *)0x69008d; @@ -346254,10 +346562,10 @@ LAB_00690100: psStack_278 = (std_string *)0x6901ad; std::string::_Tidy_deallocate(); psStack_278 = (std_string *)0xb66510; - uStack_27c = 0x6901bd; + iStack_27c = 0x6901bd; std::string::string_from_cstr(); psStack_278 = (std_string *)0x0; - uStack_27c = 0; + iStack_27c = 0; psStack_280 = &local_94; local_8._0_1_ = 0x4c; pcStack_284 = (char *)0x6901d3; @@ -346266,10 +346574,10 @@ LAB_00690100: pcStack_284 = (char *)0x6901e2; std::string::_Tidy_deallocate(); pcStack_284 = "giveitem Sad Onion"; - uStack_288 = 0x6901f2; + iStack_288 = 0x6901f2; std::string::string_from_cstr(); pcStack_284 = (char *)0x0; - uStack_288 = 0; + iStack_288 = 0; psStack_28c = &local_ac; local_8._0_1_ = 0x4d; pcStack_290 = (char *)0x690208; @@ -346278,10 +346586,10 @@ LAB_00690100: pcStack_290 = (char *)0x690217; std::string::_Tidy_deallocate(); pcStack_290 = "giveitem Torn"; - uStack_294 = 0x690224; + iStack_294 = 0x690224; std::string::string_from_cstr(); pcStack_290 = (char *)0x0; - uStack_294 = 0; + iStack_294 = 0; psStack_298 = &local_7c; local_8._0_1_ = 0x4e; pcStack_29c = (char *)0x690237; @@ -346290,10 +346598,10 @@ LAB_00690100: pcStack_29c = (char *)0x690243; std::string::_Tidy_deallocate(); pcStack_29c = "giveitem Torn"; - uStack_2a0 = 0x690253; + iStack_2a0 = 0x690253; std::string::string_from_cstr(); pcStack_29c = (char *)0x0; - uStack_2a0 = 0; + iStack_2a0 = 0; psStack_2a4 = &local_c4; local_8._0_1_ = 0x4f; pcStack_2a8 = (char *)0x690269; @@ -346302,10 +346610,10 @@ LAB_00690100: pcStack_2a8 = (char *)0x690278; std::string::_Tidy_deallocate(); pcStack_2a8 = "giveitem Mutant"; - uStack_2ac = 0x690288; + iStack_2ac = 0x690288; std::string::string_from_cstr(); pcStack_2a8 = (char *)0x0; - uStack_2ac = 0; + iStack_2ac = 0; psStack_2b0 = &local_154; local_8._0_1_ = 0x50; pcStack_2b4 = (char *)0x69029e; @@ -346314,10 +346622,10 @@ LAB_00690100: pcStack_2b4 = (char *)0x6902ad; std::string::_Tidy_deallocate(); pcStack_2b4 = "giveitem A Dollar"; - RStack_2b8 = (RNG)0x6902bd; + iStack_2b8 = 0x6902bd; std::string::string_from_cstr(); pcStack_2b4 = (char *)0x0; - RStack_2b8 = (RNG)0x0; + iStack_2b8 = 0; psStack_2bc = &local_13c; local_8._0_1_ = 0x51; pcStack_2c0 = (char *)0x6902d3; @@ -346464,10 +346772,10 @@ LAB_00690100: psStack_278 = (std_string *)0x69116a; std::string::_Tidy_deallocate(); psStack_278 = (std_string *)0xb66730; - uStack_27c = 0x69117a; + iStack_27c = 0x69117a; std::string::string_from_cstr(); psStack_278 = (std_string *)0x0; - uStack_27c = 0; + iStack_27c = 0; psStack_280 = &local_16c; local_8._0_1_ = 0x94; pcStack_284 = (char *)0x691190; @@ -346476,10 +346784,10 @@ LAB_00690100: pcStack_284 = (char *)0x69119f; std::string::_Tidy_deallocate(); pcStack_284 = "giveitem Blue Map"; - uStack_288 = 0x6911af; + iStack_288 = 0x6911af; std::string::string_from_cstr(); pcStack_284 = (char *)0x0; - uStack_288 = 0; + iStack_288 = 0; psStack_28c = &local_19c; local_8._0_1_ = 0x95; pcStack_290 = (char *)0x6911c5; @@ -346488,10 +346796,10 @@ LAB_00690100: pcStack_290 = (char *)0x6911d4; std::string::_Tidy_deallocate(); pcStack_290 = "giveitem Compass"; - uStack_294 = 0x6911e4; + iStack_294 = 0x6911e4; std::string::string_from_cstr(); pcStack_290 = (char *)0x0; - uStack_294 = 0; + iStack_294 = 0; psStack_298 = &local_1b4; local_8._0_1_ = 0x96; pcStack_29c = (char *)0x6911fa; @@ -346500,10 +346808,10 @@ LAB_00690100: pcStack_29c = (char *)0x691209; std::string::_Tidy_deallocate(); pcStack_29c = "debug 3"; - uStack_2a0 = 0x691219; + iStack_2a0 = 0x691219; std::string::string_from_cstr(); pcStack_29c = (char *)0x0; - uStack_2a0 = 0; + iStack_2a0 = 0; psStack_2a4 = &local_1cc; local_8._0_1_ = 0x97; pcStack_2a8 = (char *)0x69122f; @@ -346525,10 +346833,10 @@ LAB_00690100: psStack_278 = (std_string *)0x690e3f; std::string::_Tidy_deallocate(); psStack_278 = (std_string *)0xb665e0; - uStack_27c = 0x690e4f; + iStack_27c = 0x690e4f; std::string::string_from_cstr(); psStack_278 = (std_string *)0x0; - uStack_27c = 0; + iStack_27c = 0; psStack_280 = &local_16c; local_8._0_1_ = 0x85; pcStack_284 = (char *)0x690e65; @@ -346537,10 +346845,10 @@ LAB_00690100: pcStack_284 = (char *)0x690e74; std::string::_Tidy_deallocate(); pcStack_284 = "giveitem Treasure Map"; - uStack_288 = 0x690e84; + iStack_288 = 0x690e84; std::string::string_from_cstr(); pcStack_284 = (char *)0x0; - uStack_288 = 0; + iStack_288 = 0; psStack_28c = &local_19c; local_8._0_1_ = 0x86; pcStack_290 = (char *)0x690e9a; @@ -346549,10 +346857,10 @@ LAB_00690100: pcStack_290 = (char *)0x690ea9; std::string::_Tidy_deallocate(); pcStack_290 = "giveitem Blue Map"; - uStack_294 = 0x690eb9; + iStack_294 = 0x690eb9; std::string::string_from_cstr(); pcStack_290 = (char *)0x0; - uStack_294 = 0; + iStack_294 = 0; psStack_298 = &local_1b4; local_8._0_1_ = 0x87; pcStack_29c = (char *)0x690ecf; @@ -346561,10 +346869,10 @@ LAB_00690100: pcStack_29c = (char *)0x690ede; std::string::_Tidy_deallocate(); pcStack_29c = "giveitem Compass"; - uStack_2a0 = 0x690eee; + iStack_2a0 = 0x690eee; std::string::string_from_cstr(); pcStack_29c = (char *)0x0; - uStack_2a0 = 0; + iStack_2a0 = 0; psStack_2a4 = &local_1cc; local_8._0_1_ = 0x88; pcStack_2a8 = (char *)0x690f04; @@ -346573,10 +346881,10 @@ LAB_00690100: pcStack_2a8 = (char *)0x690f13; std::string::_Tidy_deallocate(); pcStack_2a8 = "giveitem Black Candle"; - uStack_2ac = 0x690f23; + iStack_2ac = 0x690f23; std::string::string_from_cstr(); pcStack_2a8 = (char *)0x0; - uStack_2ac = 0; + iStack_2ac = 0; psStack_2b0 = &local_1e4; local_8._0_1_ = 0x89; pcStack_2b4 = (char *)0x690f39; @@ -346585,10 +346893,10 @@ LAB_00690100: pcStack_2b4 = (char *)0x690f48; std::string::_Tidy_deallocate(); pcStack_2b4 = "giveitem X-Ray"; - RStack_2b8 = (RNG)0x690f58; + iStack_2b8 = 0x690f58; std::string::string_from_cstr(); pcStack_2b4 = (char *)0x0; - RStack_2b8 = (RNG)0x0; + iStack_2b8 = 0; psStack_2bc = &local_f4; local_8._0_1_ = 0x8a; pcStack_2c0 = (char *)0x690f6e; @@ -346648,10 +346956,10 @@ LAB_00690100: psStack_278 = (std_string *)0x690ac5; std::string::_Tidy_deallocate(); psStack_278 = (std_string *)0xb66748; - uStack_27c = 0x690ad5; + iStack_27c = 0x690ad5; std::string::string_from_cstr(); psStack_278 = (std_string *)0x0; - uStack_27c = 0; + iStack_27c = 0; psStack_280 = &local_13c; local_8._0_1_ = 0x74; pcStack_284 = (char *)0x690aeb; @@ -346660,10 +346968,10 @@ LAB_00690100: pcStack_284 = (char *)0x690afa; std::string::_Tidy_deallocate(); pcStack_284 = "giveitem Holy Mantle"; - uStack_288 = 0x690b0a; + iStack_288 = 0x690b0a; std::string::string_from_cstr(); pcStack_284 = (char *)0x0; - uStack_288 = 0; + iStack_288 = 0; psStack_28c = &local_154; local_8._0_1_ = 0x75; pcStack_290 = (char *)0x690b20; @@ -346672,10 +346980,10 @@ LAB_00690100: pcStack_290 = (char *)0x690b2f; std::string::_Tidy_deallocate(); pcStack_290 = "giveitem Schoolbag"; - uStack_294 = 0x690b3f; + iStack_294 = 0x690b3f; std::string::string_from_cstr(); pcStack_290 = (char *)0x0; - uStack_294 = 0; + iStack_294 = 0; psStack_298 = &local_dc; local_8._0_1_ = 0x76; pcStack_29c = (char *)0x690b55; @@ -346684,10 +346992,10 @@ LAB_00690100: pcStack_29c = (char *)0x690b64; std::string::_Tidy_deallocate(); pcStack_29c = "giveitem MEAT!"; - uStack_2a0 = 0x690b74; + iStack_2a0 = 0x690b74; std::string::string_from_cstr(); pcStack_29c = (char *)0x0; - uStack_2a0 = 0; + iStack_2a0 = 0; psStack_2a4 = &local_10c; local_8._0_1_ = 0x77; pcStack_2a8 = (char *)0x690b8a; @@ -346696,10 +347004,10 @@ LAB_00690100: pcStack_2a8 = (char *)0x690b99; std::string::_Tidy_deallocate(); pcStack_2a8 = "repeat 12"; - uStack_2ac = 0x690ba9; + iStack_2ac = 0x690ba9; std::string::string_from_cstr(); pcStack_2a8 = (char *)0x0; - uStack_2ac = 0; + iStack_2ac = 0; psStack_2b0 = &local_94; local_8._0_1_ = 0x78; pcStack_2b4 = (char *)0x690bbf; @@ -346708,10 +347016,10 @@ LAB_00690100: pcStack_2b4 = (char *)0x690bce; std::string::_Tidy_deallocate(); pcStack_2b4 = "giveitem Compass"; - RStack_2b8 = (RNG)0x690bde; + iStack_2b8 = 0x690bde; std::string::string_from_cstr(); pcStack_2b4 = (char *)0x0; - RStack_2b8 = (RNG)0x0; + iStack_2b8 = 0; psStack_2bc = &local_ac; local_8._0_1_ = 0x79; pcStack_2c0 = (char *)0x690bf4; @@ -346781,10 +347089,10 @@ LAB_00690100: psStack_278 = (std_string *)0x690930; std::string::_Tidy_deallocate(); psStack_278 = (std_string *)0xb66674; - uStack_27c = 0x690940; + iStack_27c = 0x690940; std::string::string_from_cstr(); psStack_278 = (std_string *)0x0; - uStack_27c = 0; + iStack_27c = 0; psStack_280 = &local_13c; local_8._0_1_ = 0x6d; pcStack_284 = (char *)0x690956; @@ -346793,10 +347101,10 @@ LAB_00690100: pcStack_284 = (char *)0x690965; std::string::_Tidy_deallocate(); pcStack_284 = "combo 2.8"; - uStack_288 = 0x690975; + iStack_288 = 0x690975; std::string::string_from_cstr(); pcStack_284 = (char *)0x0; - uStack_288 = 0; + iStack_288 = 0; psStack_28c = &local_154; local_8._0_1_ = 0x6e; pcStack_290 = (char *)0x69098b; @@ -346805,10 +347113,10 @@ LAB_00690100: pcStack_290 = (char *)0x69099a; std::string::_Tidy_deallocate(); pcStack_290 = "combo 1.3"; - uStack_294 = 0x6909aa; + iStack_294 = 0x6909aa; std::string::string_from_cstr(); pcStack_290 = (char *)0x0; - uStack_294 = 0; + iStack_294 = 0; psStack_298 = &local_dc; local_8._0_1_ = 0x6f; pcStack_29c = (char *)0x6909c0; @@ -346817,10 +347125,10 @@ LAB_00690100: pcStack_29c = (char *)0x6909cf; std::string::_Tidy_deallocate(); pcStack_29c = "combo 4.3"; - uStack_2a0 = 0x6909df; + iStack_2a0 = 0x6909df; std::string::string_from_cstr(); pcStack_29c = (char *)0x0; - uStack_2a0 = 0; + iStack_2a0 = 0; psStack_2a4 = &local_10c; local_8._0_1_ = 0x70; pcStack_2a8 = (char *)0x6909f5; @@ -346829,10 +347137,10 @@ LAB_00690100: pcStack_2a8 = (char *)0x690a04; std::string::_Tidy_deallocate(); pcStack_2a8 = "debug 3"; - uStack_2ac = 0x690a14; + iStack_2ac = 0x690a14; std::string::string_from_cstr(); pcStack_2a8 = (char *)0x0; - uStack_2ac = 0; + iStack_2ac = 0; psStack_2b0 = &local_94; local_8._0_1_ = 0x71; pcStack_2b4 = (char *)0x690a2a; @@ -346854,10 +347162,10 @@ LAB_00690100: psStack_278 = (std_string *)0x6907ed; std::string::_Tidy_deallocate(); psStack_278 = (std_string *)0xb66634; - uStack_27c = 0x6907fd; + iStack_27c = 0x6907fd; std::string::string_from_cstr(); psStack_278 = (std_string *)0x0; - uStack_27c = 0; + iStack_27c = 0; psStack_280 = &local_13c; local_8._0_1_ = 0x67; pcStack_284 = (char *)0x690813; @@ -346866,10 +347174,10 @@ LAB_00690100: pcStack_284 = (char *)0x690822; std::string::_Tidy_deallocate(); pcStack_284 = "combo 4.3"; - uStack_288 = 0x690832; + iStack_288 = 0x690832; std::string::string_from_cstr(); pcStack_284 = (char *)0x0; - uStack_288 = 0; + iStack_288 = 0; psStack_28c = &local_154; local_8._0_1_ = 0x68; pcStack_290 = (char *)0x690848; @@ -346878,10 +347186,10 @@ LAB_00690100: pcStack_290 = (char *)0x690857; std::string::_Tidy_deallocate(); pcStack_290 = "debug 3"; - uStack_294 = 0x690867; + iStack_294 = 0x690867; std::string::string_from_cstr(); pcStack_290 = (char *)0x0; - uStack_294 = 0; + iStack_294 = 0; psStack_298 = &local_dc; local_8._0_1_ = 0x69; pcStack_29c = (char *)0x69087d; @@ -346905,10 +347213,10 @@ LAB_00690100: psStack_278 = (std_string *)0x6906aa; std::string::_Tidy_deallocate(); psStack_278 = (std_string *)0xb66674; - uStack_27c = 0x6906ba; + iStack_27c = 0x6906ba; std::string::string_from_cstr(); psStack_278 = (std_string *)0x0; - uStack_27c = 0; + iStack_27c = 0; psStack_280 = &local_13c; local_8._0_1_ = 0x61; pcStack_284 = (char *)0x6906d0; @@ -346917,10 +347225,10 @@ LAB_00690100: pcStack_284 = (char *)0x6906df; std::string::_Tidy_deallocate(); pcStack_284 = "combo 2.8"; - uStack_288 = 0x6906ef; + iStack_288 = 0x6906ef; std::string::string_from_cstr(); pcStack_284 = (char *)0x0; - uStack_288 = 0; + iStack_288 = 0; psStack_28c = &local_154; local_8._0_1_ = 0x62; pcStack_290 = (char *)0x690705; @@ -346929,10 +347237,10 @@ LAB_00690100: pcStack_290 = (char *)0x690714; std::string::_Tidy_deallocate(); pcStack_290 = "combo 1.3"; - uStack_294 = 0x690724; + iStack_294 = 0x690724; std::string::string_from_cstr(); pcStack_290 = (char *)0x0; - uStack_294 = 0; + iStack_294 = 0; psStack_298 = &local_dc; local_8._0_1_ = 99; pcStack_29c = (char *)0x69073a; @@ -346957,10 +347265,10 @@ LAB_00690100: psStack_278 = (std_string *)0x6904e6; std::string::_Tidy_deallocate(); psStack_278 = (std_string *)&DAT_00b665bc; - uStack_27c = 0x6904f6; + iStack_27c = 0x6904f6; std::string::string_from_cstr(); psStack_278 = (std_string *)0x0; - uStack_27c = 0; + iStack_27c = 0; psStack_280 = &local_13c; local_8._0_1_ = 0x5b; pcStack_284 = (char *)0x69050c; @@ -346969,10 +347277,10 @@ LAB_00690100: pcStack_284 = (char *)0x69051b; std::string::_Tidy_deallocate(); pcStack_284 = "debug 3"; - uStack_288 = 0x69052b; + iStack_288 = 0x69052b; std::string::string_from_cstr(); pcStack_284 = (char *)0x0; - uStack_288 = 0; + iStack_288 = 0; psStack_28c = &local_154; local_8._0_1_ = 0x5c; pcStack_290 = (char *)0x690541; @@ -346996,10 +347304,10 @@ LAB_00690100: psStack_278 = (std_string *)0x6903d8; std::string::_Tidy_deallocate(); psStack_278 = (std_string *)&DAT_00b665bc; - uStack_27c = 0x6903e8; + iStack_27c = 0x6903e8; std::string::string_from_cstr(); psStack_278 = (std_string *)0x0; - uStack_27c = 0; + iStack_27c = 0; psStack_280 = &local_13c; local_8._0_1_ = 0x56; pcStack_284 = (char *)0x6903fe; @@ -347008,10 +347316,10 @@ LAB_00690100: pcStack_284 = (char *)0x69040d; std::string::_Tidy_deallocate(); pcStack_284 = "debug 3"; - uStack_288 = 0x69041d; + iStack_288 = 0x69041d; std::string::string_from_cstr(); pcStack_284 = (char *)0x0; - uStack_288 = 0; + iStack_288 = 0; psStack_28c = &local_154; local_8._0_1_ = 0x57; pcStack_290 = (char *)0x690433; @@ -347041,10 +347349,10 @@ LAB_00690100: psStack_278 = (std_string *)0x68fe79; std::string::_Tidy_deallocate(); psStack_278 = (std_string *)0xb66478; - uStack_27c = 0x68fe86; + iStack_27c = 0x68fe86; std::string::string_from_cstr(); psStack_278 = (std_string *)0x0; - uStack_27c = 0; + iStack_27c = 0; psStack_280 = &local_7c; local_8._0_1_ = 0x3e; pcStack_284 = (char *)0x68fe99; @@ -347053,10 +347361,10 @@ LAB_00690100: pcStack_284 = (char *)0x68fea5; std::string::_Tidy_deallocate(); pcStack_284 = "giveitem Soy"; - uStack_288 = 0x68feb5; + iStack_288 = 0x68feb5; std::string::string_from_cstr(); pcStack_284 = (char *)0x0; - uStack_288 = 0; + iStack_288 = 0; psStack_28c = &local_c4; local_8._0_1_ = 0x3f; pcStack_290 = (char *)0x68fecb; @@ -347065,10 +347373,10 @@ LAB_00690100: pcStack_290 = (char *)0x68feda; std::string::_Tidy_deallocate(); pcStack_290 = "giveitem Bar"; - uStack_294 = 0x68feea; + iStack_294 = 0x68feea; std::string::string_from_cstr(); pcStack_290 = (char *)0x0; - uStack_294 = 0; + iStack_294 = 0; psStack_298 = &local_10c; local_8._0_1_ = 0x40; pcStack_29c = (char *)0x68ff00; @@ -347120,10 +347428,10 @@ LAB_00690100: FUN_004143f0(); cVar3 = str_eq_cstr(); if (cVar3 != '\0') { - Game::GetSeeds(g_game); + pSVar24 = (Seeds *)Game::GetSeeds(g_game); Config::GetCollectibles(); _get_index_plus_one_if_kind_4_5(); - Seeds::ForgetStageSeed(); + Seeds::ForgetStageSeed(pSVar24); Config::GetCollectibles(); Level::Init(); pLVar11 = (Level *)Config::GetCollectibles(); @@ -347295,7 +347603,7 @@ LAB_006918d8: lua_gc(); FUN_00685cc0(); lua_gc(); - uStack_27c = 0x691bb8; + iStack_27c = 0x691bb8; psStack_278 = (std_string *)in_ECX; print_format(); goto LAB_0069249e; @@ -347317,7 +347625,7 @@ LAB_006918d8: FUN_00685ef0(); Random(); BossPool::init(); - this_01 = (void *)FUN_00685ef0(); + this_01 = (BossPool *)FUN_00685ef0(); Config::GetCollectibles(); iVar6 = GridEntity::GetType(); Config::GetCollectibles(); @@ -347445,9 +347753,9 @@ LAB_00691de8: Seeds::construct_from_copy((Seeds *)&pcStack_2c0,pSVar24); Manager::RestartGame(); Game::GetSeeds(g_game); - Seeds::operator_assign(); + Seeds::operator_assign(&g_manager->_startSeeds); pMVar2 = g_manager; - g_manager->field_0x4b284 = 1; + g_manager->_isSaveOnExit = 1; pMVar2->_rerunAvailable = 1; FUN_00685ee0(); goto LAB_0069249e; @@ -347904,7 +348212,7 @@ LAB_0068d95d: else if (local_22c != (Console *)0x0) { Random(); psStack_278 = (std_string *)local_22c; - uStack_27c = 0x68d123; + iStack_27c = 0x68d123; local_208 = (Entity_Player *)Game::Spawn(); } local_1fc = (Entity_NPC *)__RTDynamicCast(); @@ -347979,7 +348287,7 @@ LAB_0068d245: if (iVar34 != -1) { pCVar36 = *(Console **)local_1fc; Random(); - uStack_27c = 0x68d46b; + iStack_27c = 0x68d46b; psStack_278 = (std_string *)pCVar36; local_208 = (Entity_Player *)Game::Spawn(); std::string::string_from_cstr(); @@ -349920,80 +350228,100 @@ void FUN_00694210(void) +0xc4/+0xc8), 1.0f at +0x38, g_vectorOne at +0x3c, +0x64 = -1, bool +0x58 = 1; per node in EntityConfig::LoadEntities */ -void EntityConfig_Entity::EntityConfig_Entity(void) +EntityConfig_Entity * __thiscall EntityConfig_Entity::EntityConfig_Entity(EntityConfig_Entity *this) { - undefined4 *in_ECX; - - in_ECX[3] = 0; - in_ECX[7] = 0; - in_ECX[8] = 0xf; - *in_ECX = 0; - in_ECX[1] = 0; - in_ECX[2] = 0; - in_ECX[9] = 0; - in_ECX[10] = 0; - *(undefined1 *)(in_ECX + 0xb) = 0; - in_ECX[0xc] = 0; - *(undefined1 *)(in_ECX + 0xd) = 0; - in_ECX[0xe] = 0x3f800000; - in_ECX[0xf] = g_vectorOne.x; - in_ECX[0x10] = g_vectorOne.y; - in_ECX[0x11] = 0; - in_ECX[0x12] = 0; - in_ECX[0x13] = 0; - in_ECX[0x14] = 0; - in_ECX[0x15] = 0; - *(undefined1 *)(in_ECX + 0x16) = 1; - in_ECX[0x17] = 0; - in_ECX[0x18] = 0; - in_ECX[0x1a] = 0; - in_ECX[0x1b] = 0; - in_ECX[0x1c] = 0; - in_ECX[0x1d] = 0; - in_ECX[0x21] = 0; - in_ECX[0x22] = 0xf; - in_ECX[0x23] = 0; - in_ECX[0x24] = 0; - in_ECX[0x25] = 0; - in_ECX[0x26] = 0; - in_ECX[0x27] = 0; - in_ECX[0x28] = 0; - in_ECX[0x29] = 0; - in_ECX[0x2a] = 0; - in_ECX[0x2b] = 0; - in_ECX[0x2d] = 0; - in_ECX[0x31] = 0; - in_ECX[0x32] = 0xf; - in_ECX[0x19] = 0xffffffff; - *(undefined1 *)(in_ECX + 0x2c) = 0; - *(undefined2 *)(in_ECX + 0x33) = 0; - in_ECX[0x34] = 7; - in_ECX[0x36] = 0; - in_ECX[0x37] = 0; - in_ECX[0x38] = 0; - in_ECX[0x39] = 0x78; - *(undefined1 *)(in_ECX + 0x3a) = 0; - in_ECX[0x3b] = g_vectorZero.x; - in_ECX[0x3c] = g_vectorZero.y; - in_ECX[0x3d] = 0x3f800000; - in_ECX[0x3e] = 0; - in_ECX[0x42] = 0; - in_ECX[0x43] = 0xf; - in_ECX[0x44] = 0; - in_ECX[0x48] = 0; - in_ECX[0x49] = 0xf; - in_ECX[0x4a] = 0; - in_ECX[0x4e] = 0; - in_ECX[0x4f] = 0xf; - in_ECX[0x50] = 0; - in_ECX[0x54] = 0; - in_ECX[0x55] = 0xf; - in_ECX[0x56] = 0; - in_ECX[0x57] = 0; - in_ECX[0x58] = 0; - *(undefined1 *)(in_ECX + 0x59) = 0; - return; + (this->name)._buf[0] = '\0'; + (this->name)._buf[1] = '\0'; + (this->name)._buf[2] = '\0'; + (this->name)._buf[3] = '\0'; + (this->name)._size = 0; + (this->name)._capacity = 0xf; + this->id = 0; + this->variant = 0; + this->subtype = 0; + this->shadowSize = 0.0; + this->collisionDamage = 0.0; + this->isBoss = 0; + this->bossID = 0; + this->canBeChampion = 0; + this->collisionRadius = 1.0; + (this->collisionRadiusMulti).x = g_vectorOne.x; + (this->collisionRadiusMulti).y = g_vectorOne.y; + this->mass = 0.0; + this->gridCollisionPoints = 0; + this->friction = 0.0; + this->baseHP = 0.0; + this->stageHP = 0.0; + this->shutDoors = 1; + this->gibsAmount = 0; + this->gibFlags = 0; + (this->_bossColors)._begin = (void *)0x0; + (this->_bossColors)._end = (void *)0x0; + (this->_bossColors)._capacity = (void *)0x0; + (this->anm2Path)._buf[0] = '\0'; + (this->anm2Path)._buf[1] = '\0'; + (this->anm2Path)._buf[2] = '\0'; + (this->anm2Path)._buf[3] = '\0'; + (this->anm2Path)._size = 0; + (this->anm2Path)._capacity = 0xf; + *(undefined4 *)&this->field_0x8c = 0; + *(undefined4 *)&this->field_0x90 = 0; + *(undefined4 *)&this->field_0x94 = 0; + (this->preloadSounds)._begin = (void *)0x0; + (this->preloadSounds)._end = (void *)0x0; + (this->preloadSounds)._capacity = (void *)0x0; + (this->devolve)._begin = (void *)0x0; + (this->devolve)._end = (void *)0x0; + (this->devolve)._capacity = (void *)0x0; + (this->gridCollisionClassString)._buf[0] = '\0'; + (this->gridCollisionClassString)._buf[1] = '\0'; + (this->gridCollisionClassString)._buf[2] = '\0'; + (this->gridCollisionClassString)._buf[3] = '\0'; + (this->gridCollisionClassString)._size = 0; + (this->gridCollisionClassString)._capacity = 0xf; + this->portrait = -1; + this->isPreloaded = 0; + this->reroll = 0; + this->hasFloorAlts = 0; + this->collisionInterval = 7; + this->tags = 0; + *(undefined4 *)&this->field_0xdc = 0; + this->shieldStrength = 0.0; + this->shieldFrames = 0x78; + this->bestiary = 0; + (this->bestiaryOffset).x = g_vectorZero.x; + (this->bestiaryOffset).y = g_vectorZero.y; + this->bestiaryScale = 1.0; + (this->bestiaryAnm2Path)._buf[0] = '\0'; + (this->bestiaryAnm2Path)._buf[1] = '\0'; + (this->bestiaryAnm2Path)._buf[2] = '\0'; + (this->bestiaryAnm2Path)._buf[3] = '\0'; + (this->bestiaryAnm2Path)._size = 0; + (this->bestiaryAnm2Path)._capacity = 0xf; + (this->bestiaryAnim)._buf[0] = '\0'; + (this->bestiaryAnim)._buf[1] = '\0'; + (this->bestiaryAnim)._buf[2] = '\0'; + (this->bestiaryAnim)._buf[3] = '\0'; + (this->bestiaryAnim)._size = 0; + (this->bestiaryAnim)._capacity = 0xf; + (this->bestiaryOverlay)._buf[0] = '\0'; + (this->bestiaryOverlay)._buf[1] = '\0'; + (this->bestiaryOverlay)._buf[2] = '\0'; + (this->bestiaryOverlay)._buf[3] = '\0'; + (this->bestiaryOverlay)._size = 0; + (this->bestiaryOverlay)._capacity = 0xf; + (this->bestiaryFloorAlt)._buf[0] = '\0'; + (this->bestiaryFloorAlt)._buf[1] = '\0'; + (this->bestiaryFloorAlt)._buf[2] = '\0'; + (this->bestiaryFloorAlt)._buf[3] = '\0'; + (this->bestiaryFloorAlt)._size = 0; + (this->bestiaryFloorAlt)._capacity = 0xf; + this->bestiaryParentType = 0; + this->bestiaryParentVariant = 0; + this->modEntry = (void *)0x0; + this->isPortraitModded = 0; + return this; } @@ -350003,67 +350331,92 @@ void EntityConfig_Entity::EntityConfig_Entity(void) the rest; per node in EntityConfig::load_players_xml (copy ctor 0069e6c0, assign 0069b810) */ -void EntityConfig_Player::EntityConfig_Player(void) +EntityConfig_Player * __thiscall EntityConfig_Player::EntityConfig_Player(EntityConfig_Player *this) { - undefined4 *in_ECX; - - *in_ECX = 0xffffffff; - in_ECX[1] = 0; - in_ECX[5] = 0; - in_ECX[6] = 0xf; - in_ECX[7] = 0; - in_ECX[0xb] = 0; - in_ECX[0xc] = 0xf; - in_ECX[0xd] = 0; - in_ECX[0x11] = 0; - in_ECX[0x12] = 0xf; - in_ECX[0x13] = 0; - in_ECX[0x17] = 0; - in_ECX[0x18] = 0xf; - in_ECX[0x19] = 0; - in_ECX[0x1d] = 0; - in_ECX[0x1e] = 0xf; - in_ECX[0x1f] = 0; - in_ECX[0x23] = 0; - in_ECX[0x24] = 0xf; - in_ECX[0x25] = 0; - in_ECX[0x29] = 0; - in_ECX[0x2a] = 0xf; - in_ECX[0x2b] = 0xffffffff; - in_ECX[0x2c] = 0; - in_ECX[0x2d] = 0; - in_ECX[0x2e] = 0; - in_ECX[0x2f] = 0; - in_ECX[0x30] = 0; - in_ECX[0x31] = 0; - in_ECX[0x32] = 0; - in_ECX[0x33] = 0; - *(undefined1 *)(in_ECX + 0x34) = 1; - in_ECX[0x35] = 0; - in_ECX[0x36] = 0; - in_ECX[0x37] = 0; - in_ECX[0x38] = 0; - in_ECX[0x39] = 0; - in_ECX[0x3a] = 0xffffffff; - in_ECX[0x3b] = 0; - in_ECX[0x3c] = 0; - in_ECX[0x3d] = 0; - in_ECX[0x41] = 0; - in_ECX[0x42] = 0xf; - in_ECX[0x43] = 0; - in_ECX[0x47] = 0; - in_ECX[0x48] = 0xf; - in_ECX[0x49] = 0xffffffff; - *(undefined1 *)(in_ECX + 0x4a) = 0; - in_ECX[0x4b] = 0; - *(undefined1 *)(in_ECX + 0x4c) = 0; - in_ECX[0x4d] = 0; - in_ECX[0x4e] = 0; - in_ECX[0x4f] = 0; - in_ECX[0x50] = 0; - in_ECX[0x51] = 0; - return; + this->_id = -1; + (this->_name)._buf[0] = '\0'; + (this->_name)._buf[1] = '\0'; + (this->_name)._buf[2] = '\0'; + (this->_name)._buf[3] = '\0'; + (this->_name)._size = 0; + (this->_name)._capacity = 0xf; + (this->_skinPath)._buf[0] = '\0'; + (this->_skinPath)._buf[1] = '\0'; + (this->_skinPath)._buf[2] = '\0'; + (this->_skinPath)._buf[3] = '\0'; + (this->_skinPath)._size = 0; + (this->_skinPath)._capacity = 0xf; + (this->_nameImagePath)._buf[0] = '\0'; + (this->_nameImagePath)._buf[1] = '\0'; + (this->_nameImagePath)._buf[2] = '\0'; + (this->_nameImagePath)._buf[3] = '\0'; + (this->_nameImagePath)._size = 0; + (this->_nameImagePath)._capacity = 0xf; + (this->_portraitPath)._buf[0] = '\0'; + (this->_portraitPath)._buf[1] = '\0'; + (this->_portraitPath)._buf[2] = '\0'; + (this->_portraitPath)._buf[3] = '\0'; + (this->_portraitPath)._size = 0; + (this->_portraitPath)._capacity = 0xf; + (this->_unkString)._buf[0] = '\0'; + (this->_unkString)._buf[1] = '\0'; + (this->_unkString)._buf[2] = '\0'; + (this->_unkString)._buf[3] = '\0'; + (this->_unkString)._size = 0; + (this->_unkString)._capacity = 0xf; + (this->_extraPortraitPath)._buf[0] = '\0'; + (this->_extraPortraitPath)._buf[1] = '\0'; + (this->_extraPortraitPath)._buf[2] = '\0'; + (this->_extraPortraitPath)._buf[3] = '\0'; + (this->_extraPortraitPath)._size = 0; + (this->_extraPortraitPath)._capacity = 0xf; + (this->_costumeSuffixName)._buf[0] = '\0'; + (this->_costumeSuffixName)._buf[1] = '\0'; + (this->_costumeSuffixName)._buf[2] = '\0'; + (this->_costumeSuffixName)._buf[3] = '\0'; + (this->_costumeSuffixName)._size = 0; + (this->_costumeSuffixName)._capacity = 0xf; + this->_costumeID = -1; + this->_heart = 0; + this->_armor = 0; + this->_blackHeart = 0; + this->_coins = 0; + this->_bombs = 0; + this->_keys = 0; + this->_card = 0; + this->_pill = 0; + this->_canShoot = 1; + (this->_collectibles)._begin = (void *)0x0; + (this->_collectibles)._end = (void *)0x0; + (this->_collectibles)._capacity = (void *)0x0; + this->_trinket = 0; + this->_skinColor = 0; + this->_achievement = -1; + this->_brokenHeart = 0; + this->_pocketActiveID = 0; + (this->_birthrightDescription)._buf[0] = '\0'; + (this->_birthrightDescription)._buf[1] = '\0'; + (this->_birthrightDescription)._buf[2] = '\0'; + (this->_birthrightDescription)._buf[3] = '\0'; + (this->_birthrightDescription)._size = 0; + (this->_birthrightDescription)._capacity = 0xf; + (this->_bSkinParentName)._buf[0] = '\0'; + (this->_bSkinParentName)._buf[1] = '\0'; + (this->_bSkinParentName)._buf[2] = '\0'; + (this->_bSkinParentName)._buf[3] = '\0'; + (this->_bSkinParentName)._size = 0; + (this->_bSkinParentName)._capacity = 0xf; + this->_moddedTaintedPlayerID = -1; + this->_hidden = 0; + this->_modEntry = (void *)0x0; + this->_renderCustomBackground = 0; + this->_moddedMenuBackgroundANM2 = (void *)0x0; + this->_moddedMenuPortraitANM2 = (void *)0x0; + this->_moddedGameOverANM2 = (void *)0x0; + this->_moddedCoopMenuANM2 = (void *)0x0; + this->_moddedControlsANM2 = (void *)0x0; + return this; } @@ -350388,7 +350741,7 @@ EntityConfig_Entity::GetName(EntityConfig_Entity *this,undefined4 *param_2,uint } uVar4 = param_3; if (param_3 == 0x14) { - uVar4 = g_manager->_stringTable; + uVar4 = *(uint *)&g_manager->_stringTable; } if (((std_string *)pbVar3)->_buf[0] == '#') { param_3 = param_3 & 0xffffff; @@ -350437,7 +350790,7 @@ EntityConfig_Player::GetDisplayName(EntityConfig_Player *this,undefined4 *param_ if (0xf < (this->_name)._capacity) { pbVar4 = *(byte **)((std_string *)pbVar4)->_buf; } - uVar1 = g_manager->_stringTable; + uVar1 = *(undefined4 *)&g_manager->_stringTable; if (((std_string *)pbVar4)->_buf[0] == '#') { local_5 = '\0'; StringTable::get_string("Players",uVar1,((std_string *)pbVar4)->_buf + 1,&local_5); @@ -350506,10 +350859,10 @@ undefined4 * FUN_00694f00(undefined4 *param_1,int param_2) piVar1 = (int *)(local_14 + 0x18); if (*piVar1 == param_2) { if (param_1[1] == param_1[2]) { - FUN_0069deb0(param_1[1],piVar1); + std::vector::_Emplace_reallocate(param_1[1],piVar1); } else { - FUN_0069f560(piVar1); + EntityConfig_Entity::EntityConfig_Entity(piVar1); param_1[1] = param_1[1] + 0x168; } } @@ -350613,35 +350966,38 @@ EntityConfig::GetBestiaryConfig(EntityConfig *this,int id,int variant) /* DB: (path, isMod): parses entities2.xml ("Could not find root node 'entities'", collisionRadius/gibs/bestiary attrs); called by Manager config loader with entities2.xml */ -undefined4 EntityConfig::LoadEntities(char *param_1,int param_2) +undefined4 EntityConfig::LoadEntities(char *param_1,void *param_2) { - byte bVar1; - char cVar2; - uint uVar3; - int *piVar4; - int iVar5; + void *pvVar1; + byte bVar2; + char cVar3; + uint uVar4; + int *piVar5; int iVar6; - byte *pbVar7; - char *pcVar8; - undefined4 *******pppppppuVar9; - int *piVar10; - undefined4 *puVar11; - uint uVar12; - int *******pppppppiVar13; - byte *pbVar14; + int iVar7; + byte *pbVar8; + char *pcVar9; + undefined4 *******pppppppuVar10; + int *piVar11; + undefined4 *puVar12; + uint uVar13; + EntityConfig_Entity *pEVar14; + int *******pppppppiVar15; + byte *pbVar16; undefined4 extraout_ECX; - byte *pbVar15; - char *pcVar16; + byte *pbVar17; + char *pcVar18; int extraout_EDX; - int *piVar17; - undefined4 *puVar18; - char *pcVar19; - code *pcVar20; - bool bVar21; - double dVar22; - undefined4 uVar23; - int *******pppppppiVar24; + int *piVar19; + undefined4 *puVar20; + char *pcVar21; + code *pcVar22; + bool bVar23; + double dVar24; + undefined4 uVar25; + int *******pppppppiVar26; + undefined1 *puVar27; undefined1 auStack_10298 [8]; int iStack_10290; int iStack_1028c; @@ -350657,38 +351013,18 @@ undefined4 EntityConfig::LoadEntities(char *param_1,int param_2) int *piStack_10258; int iStack_10254; undefined4 uStack_10250; - int iStack_1024c; + void *pvStack_1024c; int iStack_10248; int *piStack_10244; byte *pbStack_10240; - undefined1 uStack_10239; + byte bStack_10239; int iStack_10238; uint uStack_10234; char *pcStack_10230; undefined4 *puStack_1022c; uint uStack_10228; byte bStack_10221; - int iStack_10220; - uint uStack_1021c; - uint uStack_10218; - float fStack_101fc; - float fStack_101f8; - char cStack_101f4; - undefined4 uStack_101f0; - undefined1 uStack_101ec; - float fStack_101e8; - float fStack_101e4; - float fStack_101e0; - float fStack_101dc; - int iStack_101d8; - float fStack_101d4; - int *******pppppppiStack_101d0; - float fStack_101cc; - undefined1 uStack_101c8; - int iStack_101c4; - uint uStack_101c0; - int iStack_101bc; - int *******pppppppiStack_101ac; + undefined1 auStack_10220 [120]; int iStack_101a8; uint uStack_101a4; uint uStack_101a0; @@ -350701,15 +351037,15 @@ undefined4 EntityConfig::LoadEntities(char *param_1,int param_2) int *piStack_10180; undefined4 *puStack_10178; undefined4 *puStack_10174; - int iStack_1015c; - char cStack_10154; - undefined1 uStack_10153; - undefined4 uStack_10150; - undefined4 uStack_10148; + uint uStack_1015c; + byte bStack_10154; + byte bStack_10153; + int iStack_10150; + int iStack_10148; undefined4 uStack_10144; float fStack_10140; - undefined4 uStack_1013c; - undefined1 uStack_10138; + int iStack_1013c; + byte bStack_10138; float fStack_10134; float fStack_10130; float fStack_1012c; @@ -350721,8 +351057,8 @@ undefined4 EntityConfig::LoadEntities(char *param_1,int param_2) float fStack_10114; int iStack_100c8; int iStack_100c4; - int iStack_100c0; - undefined1 uStack_100bc; + void *pvStack_100c0; + byte bStack_100bc; char *local_6c; undefined4 uStack_68; undefined4 local_64; @@ -350748,815 +351084,815 @@ undefined4 EntityConfig::LoadEntities(char *param_1,int param_2) local_14 = (undefined4 ******)0xffffffff; puStack_18 = &LAB_00af9b90; local_1c = ExceptionList; - uVar3 = __security_cookie ^ (uint)(local_60 + 0x14); + uVar4 = __security_cookie ^ (uint)(local_60 + 0x14); ExceptionList = &local_1c; - iStack_1024c = param_2; + pvStack_1024c = param_2; pcStack_10230 = param_1; uStack_10234 = 0; uStack_10228 = 0; - local_24 = uVar3; - piVar4 = (int *)FileSystem::Open(param_1,0); - if (piVar4 == (int *)0x0) { - uVar23 = 0; + local_24 = uVar4; + piVar5 = (int *)FileSystem::Open(param_1,0); + if (piVar5 == (int *)0x0) { + uVar25 = 0; } else { - iVar5 = (**(code **)(*piVar4 + 4))(uVar3); + iVar6 = (**(code **)(*piVar5 + 4))(uVar4); iStack_10248 = operator_new_tracked(); - (**(code **)(*piVar4 + 0x14))(iStack_10248,1,iVar5); - *(undefined1 *)(iStack_10248 + iVar5) = 0; - (**(code **)*piVar4)(1); + (**(code **)(*piVar5 + 0x14))(iStack_10248,1,iVar6); + *(undefined1 *)(iStack_10248 + iVar6) = 0; + (**(code **)*piVar5)(1); FUN_00413b90(); local_14 = (undefined4 ******)0x0; - uVar23 = 0x6951a1; - iVar5 = iStack_10248; + uVar25 = 0x6951a1; + iVar6 = iStack_10248; rapidxml::xml_document::parse(iStack_10248); - iVar6 = xml_node::first_node("entities",uVar23,iVar5); - if (iVar6 == 0) { + iVar7 = xml_node::first_node("entities",uVar25,iVar6); + if (iVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Could not find root node \'entities\' in %s\n",pcStack_10230); } - iVar6 = xml_node::first_attribute("version",uVar23,iVar5); - pbVar15 = &g_xmlNullStr; - if (*(byte **)(iVar6 + 4) != (byte *)0x0) { - pbVar15 = *(byte **)(iVar6 + 4); + iVar7 = xml_node::first_attribute("version",uVar25,iVar6); + pbVar17 = &g_xmlNullStr; + if (*(byte **)(iVar7 + 4) != (byte *)0x0) { + pbVar17 = *(byte **)(iVar7 + 4); } - iVar5 = xml_node::first_attribute("anm2root",uVar23,iVar5); + iVar6 = xml_node::first_attribute("anm2root",uVar25,iVar6); local_50 = 0; local_4c = 0xf; local_60[0] = (undefined4 *******)0x0; - pppppppiVar24 = (int *******)&g_xmlNullStr; - if (*(int ********)(iVar5 + 4) != (int *******)0x0) { - pppppppiVar24 = *(int ********)(iVar5 + 4); + pppppppiVar26 = (int *******)&g_xmlNullStr; + if (*(int ********)(iVar6 + 4) != (int *******)0x0) { + pppppppiVar26 = *(int ********)(iVar6 + 4); } - pbStack_10240 = (byte *)((int)pppppppiVar24 + 1); - pppppppiVar13 = pppppppiVar24; + pbStack_10240 = (byte *)((int)pppppppiVar26 + 1); + pppppppiVar15 = pppppppiVar26; do { - bVar1 = *(byte *)pppppppiVar13; - pppppppiVar13 = (int *******)((int)pppppppiVar13 + 1); - } while (bVar1 != 0); - pppppppiVar13 = (int *******)((int)pppppppiVar13 - (int)pbStack_10240); - std::string::assign(pppppppiVar24,pppppppiVar13); - iVar5 = iStack_1024c; + bVar2 = *(byte *)pppppppiVar15; + pppppppiVar15 = (int *******)((int)pppppppiVar15 + 1); + } while (bVar2 != 0); + pppppppiVar15 = (int *******)((int)pppppppiVar15 - (int)pbStack_10240); + std::string::assign(pppppppiVar26,pppppppiVar15); + pvVar1 = pvStack_1024c; local_14._0_1_ = 1; - pbVar14 = &DAT_00b63160; - pbVar7 = pbVar15; + pbVar16 = &DAT_00b63160; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - bVar21 = bVar1 < *pbVar14; - if (bVar1 != *pbVar14) { + bVar2 = *pbVar8; + bVar23 = bVar2 < *pbVar16; + if (bVar2 != *pbVar16) { LAB_00695272: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00695277; } - if (bVar1 == 0) break; - bVar1 = pbVar7[1]; - bVar21 = bVar1 < pbVar14[1]; - if (bVar1 != pbVar14[1]) goto LAB_00695272; - pbVar7 = pbVar7 + 2; - pbVar14 = pbVar14 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar23 = bVar2 < pbVar16[1]; + if (bVar2 != pbVar16[1]) goto LAB_00695272; + pbVar8 = pbVar8 + 2; + pbVar16 = pbVar16 + 2; + } while (bVar2 != 0); + uVar4 = 0; LAB_00695277: - if (uVar3 != 0) { + if (uVar4 != 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(0x10,"Invalid version %s for %s\n",pbVar15,pcStack_10230); + KAGE_LogMessage(0x10,"Invalid version %s for %s\n",pbVar17,pcStack_10230); } - uStack_10239 = 0; - if ((iStack_1024c != 0) && - (iVar6 = xml_node::first_attribute("deathanm2",pppppppiVar24,pppppppiVar13), iVar6 != 0)) { - pbVar15 = &g_xmlNullStr; + bStack_10239 = 0; + if ((pvStack_1024c != (void *)0x0) && + (iVar6 = xml_node::first_attribute("deathanm2",pppppppiVar26,pppppppiVar15), iVar6 != 0)) { + pbVar17 = &g_xmlNullStr; if (*(byte **)(iVar6 + 4) != (byte *)0x0) { - pbVar15 = *(byte **)(iVar6 + 4); + pbVar17 = *(byte **)(iVar6 + 4); } - std::string::string_from_cstr(pbVar15); - pppppppiVar13 = (int *******)&local_3c; + std::string::string_from_cstr(pbVar17); + pppppppiVar15 = (int *******)&local_3c; local_14._0_1_ = 2; - pppppppiVar24 = (int *******)0xc; - Mod::load_content_anm2(0xc,pppppppiVar13); + pppppppiVar26 = (int *******)0xc; + Mod::load_content_anm2(0xc,pppppppiVar15); local_14._0_1_ = 1; if (0xf < (uint)fStack_28) { - pppppppiVar13 = (int *******)((int)fStack_28 + 1); - pppppppiVar24 = local_3c; - if ((int *******)0xfff < pppppppiVar13) { - pppppppiVar24 = (int *******)local_3c[-1]; - pppppppiVar13 = (int *******)((int)fStack_28 + 0x24); - if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar24))) goto LAB_006989c8; + pppppppiVar15 = (int *******)((int)fStack_28 + 1); + pppppppiVar26 = local_3c; + if ((int *******)0xfff < pppppppiVar15) { + pppppppiVar26 = (int *******)local_3c[-1]; + pppppppiVar15 = (int *******)((int)fStack_28 + 0x24); + if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar26))) goto LAB_006989c8; } - operator_delete(pppppppiVar24,pppppppiVar13); + operator_delete(pppppppiVar26,pppppppiVar15); } - uStack_10239 = *(undefined1 *)(iVar5 + 0xef9); + bStack_10239 = *(byte *)((int)pvVar1 + 0xef9); } - iStack_10238 = xml_node::first_node("entity",pppppppiVar24,pppppppiVar13); + iStack_10238 = xml_node::first_node("entity",pppppppiVar26,pppppppiVar15); if (iStack_10238 != 0) { LAB_0069533f: - pcVar20 = atoi_exref; - EntityConfig_Entity::EntityConfig_Entity(); + pcVar22 = atoi_exref; + EntityConfig_Entity::EntityConfig_Entity((EntityConfig_Entity *)auStack_10220); local_14._0_1_ = 3; puStack_1022c = *(undefined4 **)(extraout_EDX + 0x20); - iVar5 = extraout_EDX; + iVar6 = extraout_EDX; if (puStack_1022c != (undefined4 *)0x0) { LAB_00695376: - puVar18 = puStack_1022c; - pbVar7 = s_id; - pbVar15 = &g_xmlNullStr; + puVar20 = puStack_1022c; + pbVar8 = s_id; + pbVar17 = &g_xmlNullStr; if ((byte *)*puStack_1022c != (byte *)0x0) { - pbVar15 = (byte *)*puStack_1022c; + pbVar17 = (byte *)*puStack_1022c; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar7; - pbVar14 = (byte *)*puStack_1022c; - if (bStack_10221 != *pbVar7) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar8; + pbVar16 = (byte *)*puStack_1022c; + if (bStack_10221 != *pbVar8) { LAB_006953ca: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_006953cf; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar7[1]; - pbVar14 = (byte *)*puStack_1022c; - if (bStack_10221 != pbVar7[1]) goto LAB_006953ca; - pbVar7 = pbVar7 + 2; - pbVar15 = pbVar15 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar8[1]; + pbVar16 = (byte *)*puStack_1022c; + if (bStack_10221 != pbVar8[1]) goto LAB_006953ca; + pbVar8 = pbVar8 + 2; + pbVar17 = pbVar17 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_006953cf: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - iStack_10220 = (*pcVar20)(pbVar15); + auStack_10220._0_4_ = (*pcVar22)(pbVar17); } else { - pcVar8 = "variant"; - pbVar15 = &g_xmlNullStr; - if (pbVar14 != (byte *)0x0) { - pbVar15 = pbVar14; + pcVar9 = "variant"; + pbVar17 = &g_xmlNullStr; + if (pbVar16 != (byte *)0x0) { + pbVar17 = pbVar16; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_0069543a: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_0069543f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_0069543a; - pcVar8 = pcVar8 + 2; - pbVar15 = pbVar15 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_0069543a; + pcVar9 = pcVar9 + 2; + pbVar17 = pbVar17 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_0069543f: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - uStack_1021c = (*pcVar20)(pbVar15); + auStack_10220._4_4_ = (*pcVar22)(pbVar17); } else { - pcVar8 = "subtype"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "subtype"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_006954aa: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_006954af; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_006954aa; - pcVar8 = pcVar8 + 2; - pbVar15 = pbVar15 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_006954aa; + pcVar9 = pcVar9 + 2; + pbVar17 = pbVar17 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_006954af: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - uStack_10218 = (*pcVar20)(pbVar15); + auStack_10220._8_4_ = (*pcVar22)(pbVar17); } else { - pcVar8 = "shadowSize"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "shadowSize"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_0069551a: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_0069551f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_0069551a; - pcVar8 = pcVar8 + 2; - pbVar15 = pbVar15 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_0069551a; + pcVar9 = pcVar9 + 2; + pbVar17 = pbVar17 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_0069551f: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - iVar5 = (*pcVar20)(pbVar15); - fStack_101fc = (float)iVar5 / 100.0; + iVar6 = (*pcVar22)(pbVar17); + auStack_10220._36_4_ = (float)iVar6 / 100.0; } else { - pbVar14 = s_name; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar16 = s_name; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar14; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pbVar14) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar16; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pbVar16) { LAB_0069559a: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_0069559f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar14[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pbVar14[1]) goto LAB_0069559a; - pbVar15 = pbVar15 + 2; - pbVar14 = pbVar14 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar16[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pbVar16[1]) goto LAB_0069559a; + pbVar17 = pbVar17 + 2; + pbVar16 = pbVar16 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_0069559f: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - iVar5 = (int)pbVar7 - (int)(pbVar15 + 1); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + iVar6 = (int)pbVar8 - (int)(pbVar17 + 1); goto LAB_006955c6; } - pcVar8 = "collisionDamage"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "collisionDamage"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_0069566b: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00695670; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_0069566b; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_0069566b; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_00695670: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - dVar22 = atof((char *)pbVar15); - fStack_101f8 = (float)dVar22; + dVar24 = atof((char *)pbVar17); + auStack_10220._40_4_ = (BADTYPE)dVar24; goto LAB_006955d1; } - pbVar14 = &DAT_00b66bc8; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar16 = &DAT_00b66bc8; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar14; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pbVar14) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar16; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pbVar16) { LAB_006956da: - pppppppiVar24 = (int *******)(-(uint)bVar21 | 1); + pppppppiVar26 = (int *******)(-(uint)bVar23 | 1); goto LAB_006956df; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar14[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pbVar14[1]) goto LAB_006956da; - pbVar15 = pbVar15 + 2; - pbVar14 = pbVar14 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar16[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pbVar16[1]) goto LAB_006956da; + pbVar17 = pbVar17 + 2; + pbVar16 = pbVar16 + 2; } while (bStack_10221 != 0); - pppppppiVar24 = (int *******)0x0; + pppppppiVar26 = (int *******)0x0; LAB_006956df: - if (pppppppiVar24 == (int *******)0x0) { - pbVar15 = &g_xmlNullStr; + if (pppppppiVar26 == (int *******)0x0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } fStack_28 = 2.10195e-44; - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - local_3c = pppppppiVar24; - pppppppiStack_2c = pppppppiVar24; - std::string::assign(pbVar15,(int)pbVar7 - (int)(pbVar15 + 1)); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + local_3c = pppppppiVar26; + pppppppiStack_2c = pppppppiVar26; + std::string::assign(pbVar17,(int)pbVar8 - (int)(pbVar17 + 1)); if (pppppppiStack_2c == (int *******)0x0) { LAB_006957d8: - cStack_101f4 = '\0'; + auStack_10220[0x2c] = 0; } else { - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } if (pppppppiStack_2c == (int *******)&DAT_00000004) { - if ((*pppppppiVar24 == (int ******)0x65757274) || - ((((bVar1 = (byte)*pppppppiVar24, bVar21 = bVar1 < 0x74, bVar1 == 0x74 && - (bVar21 = *(byte *)((int)pppppppiVar24 + 1) < 0x72, - *(byte *)((int)pppppppiVar24 + 1) == 0x72)) && - (bVar21 = *(byte *)((int)pppppppiVar24 + 2) < 0x75, - *(byte *)((int)pppppppiVar24 + 2) == 0x75)) && - (bVar21 = *(byte *)((int)pppppppiVar24 + 3) < 0x65, - *(byte *)((int)pppppppiVar24 + 3) == 0x65)))) { - uVar3 = 0; + if ((*pppppppiVar26 == (int ******)0x65757274) || + ((((bVar2 = (byte)*pppppppiVar26, bVar23 = bVar2 < 0x74, bVar2 == 0x74 && + (bVar23 = *(byte *)((int)pppppppiVar26 + 1) < 0x72, + *(byte *)((int)pppppppiVar26 + 1) == 0x72)) && + (bVar23 = *(byte *)((int)pppppppiVar26 + 2) < 0x75, + *(byte *)((int)pppppppiVar26 + 2) == 0x75)) && + (bVar23 = *(byte *)((int)pppppppiVar26 + 3) < 0x65, + *(byte *)((int)pppppppiVar26 + 3) == 0x65)))) { + uVar4 = 0; } else { - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; } - if (uVar3 != 0) goto LAB_0069576f; + if (uVar4 != 0) goto LAB_0069576f; } else { LAB_0069576f: - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } if (pppppppiStack_2c == (int *******)&DAT_00000004) { - if ((*pppppppiVar24 == (int ******)0x65757254) || - (((bVar1 = (byte)*pppppppiVar24, bVar21 = bVar1 < 0x54, bVar1 == 0x54 && - (bVar21 = *(byte *)((int)pppppppiVar24 + 1) < 0x72, - *(byte *)((int)pppppppiVar24 + 1) == 0x72)) && - ((bVar21 = *(byte *)((int)pppppppiVar24 + 2) < 0x75, - *(byte *)((int)pppppppiVar24 + 2) == 0x75 && - (bVar21 = *(byte *)((int)pppppppiVar24 + 3) < 0x65, - *(byte *)((int)pppppppiVar24 + 3) == 0x65)))))) { - uVar3 = 0; + if ((*pppppppiVar26 == (int ******)0x65757254) || + (((bVar2 = (byte)*pppppppiVar26, bVar23 = bVar2 < 0x54, bVar2 == 0x54 && + (bVar23 = *(byte *)((int)pppppppiVar26 + 1) < 0x72, + *(byte *)((int)pppppppiVar26 + 1) == 0x72)) && + ((bVar23 = *(byte *)((int)pppppppiVar26 + 2) < 0x75, + *(byte *)((int)pppppppiVar26 + 2) == 0x75 && + (bVar23 = *(byte *)((int)pppppppiVar26 + 3) < 0x65, + *(byte *)((int)pppppppiVar26 + 3) == 0x65)))))) { + uVar4 = 0; } else { - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; } - if (uVar3 == 0) goto LAB_006957cf; + if (uVar4 == 0) goto LAB_006957cf; } - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } - iVar5 = atoi((char *)pppppppiVar24); - if (iVar5 == 0) goto LAB_006957d8; + iVar6 = atoi((char *)pppppppiVar26); + if (iVar6 == 0) goto LAB_006957d8; } LAB_006957cf: - cStack_101f4 = '\x01'; + auStack_10220[0x2c] = 1; } if (0xf < (uint)fStack_28) { - uVar3 = (int)fStack_28 + 1; - pppppppiVar24 = local_3c; - if (0xfff < uVar3) { - pppppppiVar24 = (int *******)local_3c[-1]; - uVar3 = (int)fStack_28 + 0x24; - if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar24))) + uVar4 = (int)fStack_28 + 1; + pppppppiVar26 = local_3c; + if (0xfff < uVar4) { + pppppppiVar26 = (int *******)local_3c[-1]; + uVar4 = (int)fStack_28 + 0x24; + if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar26))) goto LAB_006989c8; } - operator_delete(pppppppiVar24,uVar3); + operator_delete(pppppppiVar26,uVar4); } } else { - pcVar8 = "bossID"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "bossID"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_0069586a: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_0069586f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_0069586a; - pcVar8 = pcVar8 + 2; - pbVar15 = pbVar15 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_0069586a; + pcVar9 = pcVar9 + 2; + pbVar17 = pbVar17 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_0069586f: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - uStack_101f0 = (*pcVar20)(pbVar15); + auStack_10220._48_4_ = (*pcVar22)(pbVar17); goto LAB_006955d1; } - pcVar8 = "champion"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "champion"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_006958da: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_006958df; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_006958da; - pcVar8 = pcVar8 + 2; - pbVar15 = pbVar15 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_006958da; + pcVar9 = pcVar9 + 2; + pbVar17 = pbVar17 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_006958df: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_00695921: - uStack_101ec = (-(uint)bVar21 | 1) == 0; + auStack_10220[0x34] = (-(uint)bVar23 | 1) == 0; goto LAB_006955d1; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_00695921; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uStack_101ec = 1; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_00695921; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + auStack_10220[0x34] = 1; goto LAB_006955d1; } - pcVar8 = "collisionRadius"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "collisionRadius"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_0069597a: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_0069597f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_0069597a; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_0069597a; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_0069597f: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - dVar22 = atof((char *)pbVar15); - fStack_101e8 = (float)dVar22; + dVar24 = atof((char *)pbVar17); + auStack_10220._56_4_ = (BADTYPE)dVar24; goto LAB_006955d1; } - pcVar8 = "collisionRadiusXMulti"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "collisionRadiusXMulti"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_006959ea: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_006959ef; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_006959ea; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_006959ea; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_006959ef: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - dVar22 = atof((char *)pbVar15); - fStack_101e4 = (float)dVar22; + dVar24 = atof((char *)pbVar17); + auStack_10220._60_4_ = (BADTYPE)dVar24; goto LAB_006955d1; } - pcVar8 = "collisionRadiusYMulti"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "collisionRadiusYMulti"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_00695a5a: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00695a5f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_00695a5a; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_00695a5a; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_00695a5f: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - dVar22 = atof((char *)pbVar15); - fStack_101e0 = (float)dVar22; + dVar24 = atof((char *)pbVar17); + auStack_10220._64_4_ = (BADTYPE)dVar24; goto LAB_006955d1; } - pcVar8 = "collisionMass"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "collisionMass"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_00695aca: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00695acf; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_00695aca; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_00695aca; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_00695acf: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - dVar22 = atof((char *)pbVar15); - fStack_101dc = (float)dVar22; + dVar24 = atof((char *)pbVar17); + auStack_10220._68_4_ = (BADTYPE)dVar24; goto LAB_006955d1; } - pcVar8 = "numGridCollisionPoints"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "numGridCollisionPoints"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_00695b3a: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00695b3f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_00695b3a; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_00695b3a; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_00695b3f: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - iStack_101d8 = (*pcVar20)(pbVar15); + auStack_10220._72_4_ = (*pcVar22)(pbVar17); goto LAB_006955d1; } - pcVar8 = "friction"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "friction"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_00695baa: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00695baf; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_00695baa; - pcVar8 = pcVar8 + 2; - pbVar15 = pbVar15 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_00695baa; + pcVar9 = pcVar9 + 2; + pbVar17 = pbVar17 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_00695baf: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - dVar22 = atof((char *)pbVar15); - fStack_101d4 = (float)dVar22; + dVar24 = atof((char *)pbVar17); + auStack_10220._76_4_ = (BADTYPE)dVar24; goto LAB_006955d1; } - pbVar14 = &DAT_00b66c2c; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar16 = &DAT_00b66c2c; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar14; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pbVar14) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar16; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pbVar16) { LAB_00695c1a: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00695c1f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar14[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pbVar14[1]) goto LAB_00695c1a; - pbVar15 = pbVar15 + 2; - pbVar14 = pbVar14 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar16[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pbVar16[1]) goto LAB_00695c1a; + pbVar17 = pbVar17 + 2; + pbVar16 = pbVar16 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_00695c1f: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - dVar22 = atof((char *)pbVar15); - pppppppiStack_101d0 = (int *******)(float)dVar22; + dVar24 = atof((char *)pbVar17); + auStack_10220._80_4_ = (BADTYPE)dVar24; goto LAB_006955d1; } - pbVar14 = &DAT_00b66c34; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar16 = &DAT_00b66c34; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar14; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pbVar14) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar16; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pbVar16) { LAB_00695c8a: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00695c8f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar14[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pbVar14[1]) goto LAB_00695c8a; - pbVar15 = pbVar15 + 2; - pbVar14 = pbVar14 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar16[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pbVar16[1]) goto LAB_00695c8a; + pbVar17 = pbVar17 + 2; + pbVar16 = pbVar16 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_00695c8f: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - dVar22 = atof((char *)pbVar15); - fStack_101cc = (float)dVar22; + dVar24 = atof((char *)pbVar17); + auStack_10220._84_4_ = (BADTYPE)dVar24; goto LAB_006955d1; } - pbVar14 = &DAT_00b66cc8; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar16 = &DAT_00b66cc8; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar14; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pbVar14) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar16; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pbVar16) { LAB_00695cfa: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00695cff; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar14[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pbVar14[1]) goto LAB_00695cfa; - pbVar15 = pbVar15 + 2; - pbVar14 = pbVar14 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar16[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pbVar16[1]) goto LAB_00695cfa; + pbVar17 = pbVar17 + 2; + pbVar16 = pbVar16 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_00695cff: - if (uVar3 == 0) { - pbVar15 = (byte *)puStack_1022c[1]; - pbVar7 = &g_xmlNullStr; - if (pbVar15 != (byte *)0x0) { - pbVar7 = pbVar15; + if (uVar4 == 0) { + pbVar17 = (byte *)puStack_1022c[1]; + pbVar8 = &g_xmlNullStr; + if (pbVar17 != (byte *)0x0) { + pbVar8 = pbVar17; } - if (*pbVar7 == 0) goto LAB_006955d1; - pbVar7 = &g_xmlNullStr; - if (pbVar15 != (byte *)0x0) { - pbVar7 = pbVar15; + if (*pbVar8 == 0) goto LAB_006955d1; + pbVar8 = &g_xmlNullStr; + if (pbVar17 != (byte *)0x0) { + pbVar8 = pbVar17; } - pbVar15 = pbVar7; + pbVar17 = pbVar8; do { - bVar1 = *pbVar15; - pbVar15 = pbVar15 + 1; - } while (bVar1 != 0); - uVar3 = (int)pbVar15 - (int)(pbVar7 + 1); - if (uVar3 <= 0x7fffffffU - local_50) { - pppppppuVar9 = local_60; + bVar2 = *pbVar17; + pbVar17 = pbVar17 + 1; + } while (bVar2 != 0); + uVar4 = (int)pbVar17 - (int)(pbVar8 + 1); + if (uVar4 <= 0x7fffffffU - local_50) { + pppppppuVar10 = local_60; if (0xf < local_4c) { - pppppppuVar9 = local_60[0]; + pppppppuVar10 = local_60[0]; } - std::string::concat(iStack_1024c,uVar3,pppppppuVar9,local_50,pbVar7,uVar3); + std::string::concat(pvStack_1024c,uVar4,pppppppuVar10,local_50,pbVar8,uVar4); uStack_10234 = uStack_10234 | 1; std::string::_Tidy_deallocate(); - pppppppiStack_101ac = local_3c; + auStack_10220._116_4_ = local_3c; iStack_101a8 = iStack_38; uStack_101a4 = uStack_34; uStack_101a0 = uStack_30; @@ -351566,812 +351902,812 @@ LAB_00695cff: } goto LAB_00698aa1; } - pcVar8 = "portrait"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "portrait"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_00695dea: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00695def; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_00695dea; - pcVar8 = pcVar8 + 2; - pbVar15 = pbVar15 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_00695dea; + pcVar9 = pcVar9 + 2; + pbVar17 = pbVar17 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_00695def: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - iStack_101bc = (*pcVar20)(pbVar15); - if (iStack_101bc < 0) { - iStack_101bc = -iStack_101bc; - uStack_100bc = 0; + auStack_10220._100_4_ = (*pcVar22)(pbVar17); + if ((int)auStack_10220._100_4_ < 0) { + auStack_10220._100_4_ = -auStack_10220._100_4_; + bStack_100bc = 0; } else { - uStack_100bc = uStack_10239; + bStack_100bc = bStack_10239; } goto LAB_006955d1; } - pcVar8 = "shutdoors"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "shutdoors"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_00695e7a: - pppppppiVar24 = (int *******)(-(uint)bVar21 | 1); + pppppppiVar26 = (int *******)(-(uint)bVar23 | 1); goto LAB_00695e7f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_00695e7a; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_00695e7a; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - pppppppiVar24 = (int *******)0x0; + pppppppiVar26 = (int *******)0x0; LAB_00695e7f: - if (pppppppiVar24 == (int *******)0x0) { - pbVar15 = &g_xmlNullStr; + if (pppppppiVar26 == (int *******)0x0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } fStack_28 = 2.10195e-44; - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - local_3c = pppppppiVar24; - pppppppiStack_2c = pppppppiVar24; - std::string::assign(pbVar15,(int)pbVar7 - (int)(pbVar15 + 1)); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + local_3c = pppppppiVar26; + pppppppiStack_2c = pppppppiVar26; + std::string::assign(pbVar17,(int)pbVar8 - (int)(pbVar17 + 1)); if (pppppppiStack_2c == (int *******)0x0) { LAB_00695f7c: - uStack_101c8 = 0; + auStack_10220[0x58] = 0; } else { - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } if (pppppppiStack_2c == (int *******)&DAT_00000004) { - if ((*pppppppiVar24 == (int ******)0x65757274) || - (((bVar1 = (byte)*pppppppiVar24, bVar21 = bVar1 < 0x74, bVar1 == 0x74 && - (bVar21 = *(byte *)((int)pppppppiVar24 + 1) < 0x72, - *(byte *)((int)pppppppiVar24 + 1) == 0x72)) && - ((bVar21 = *(byte *)((int)pppppppiVar24 + 2) < 0x75, - *(byte *)((int)pppppppiVar24 + 2) == 0x75 && - (bVar21 = *(byte *)((int)pppppppiVar24 + 3) < 0x65, - *(byte *)((int)pppppppiVar24 + 3) == 0x65)))))) { - uVar3 = 0; + if ((*pppppppiVar26 == (int ******)0x65757274) || + (((bVar2 = (byte)*pppppppiVar26, bVar23 = bVar2 < 0x74, bVar2 == 0x74 && + (bVar23 = *(byte *)((int)pppppppiVar26 + 1) < 0x72, + *(byte *)((int)pppppppiVar26 + 1) == 0x72)) && + ((bVar23 = *(byte *)((int)pppppppiVar26 + 2) < 0x75, + *(byte *)((int)pppppppiVar26 + 2) == 0x75 && + (bVar23 = *(byte *)((int)pppppppiVar26 + 3) < 0x65, + *(byte *)((int)pppppppiVar26 + 3) == 0x65)))))) { + uVar4 = 0; } else { - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; } - if (uVar3 != 0) goto LAB_00695f13; + if (uVar4 != 0) goto LAB_00695f13; } else { LAB_00695f13: - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } if (pppppppiStack_2c == (int *******)&DAT_00000004) { - if ((*pppppppiVar24 == (int ******)0x65757254) || - ((((bVar1 = (byte)*pppppppiVar24, bVar21 = bVar1 < 0x54, bVar1 == 0x54 - && (bVar21 = *(byte *)((int)pppppppiVar24 + 1) < 0x72, - *(byte *)((int)pppppppiVar24 + 1) == 0x72)) && - (bVar21 = *(byte *)((int)pppppppiVar24 + 2) < 0x75, - *(byte *)((int)pppppppiVar24 + 2) == 0x75)) && - (bVar21 = *(byte *)((int)pppppppiVar24 + 3) < 0x65, - *(byte *)((int)pppppppiVar24 + 3) == 0x65)))) { - uVar3 = 0; + if ((*pppppppiVar26 == (int ******)0x65757254) || + ((((bVar2 = (byte)*pppppppiVar26, bVar23 = bVar2 < 0x54, bVar2 == 0x54 + && (bVar23 = *(byte *)((int)pppppppiVar26 + 1) < 0x72, + *(byte *)((int)pppppppiVar26 + 1) == 0x72)) && + (bVar23 = *(byte *)((int)pppppppiVar26 + 2) < 0x75, + *(byte *)((int)pppppppiVar26 + 2) == 0x75)) && + (bVar23 = *(byte *)((int)pppppppiVar26 + 3) < 0x65, + *(byte *)((int)pppppppiVar26 + 3) == 0x65)))) { + uVar4 = 0; } else { - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; } - if (uVar3 == 0) goto LAB_00695f73; + if (uVar4 == 0) goto LAB_00695f73; } - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } - iVar5 = atoi((char *)pppppppiVar24); - if (iVar5 == 0) goto LAB_00695f7c; + iVar6 = atoi((char *)pppppppiVar26); + if (iVar6 == 0) goto LAB_00695f7c; } LAB_00695f73: - uStack_101c8 = 1; + auStack_10220[0x58] = 1; } if (0xf < (uint)fStack_28) { - uVar3 = (int)fStack_28 + 1; - pppppppiVar24 = local_3c; - if (0xfff < uVar3) { - pppppppiVar24 = (int *******)local_3c[-1]; - uVar3 = (int)fStack_28 + 0x24; - if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar24))) + uVar4 = (int)fStack_28 + 1; + pppppppiVar26 = local_3c; + if (0xfff < uVar4) { + pppppppiVar26 = (int *******)local_3c[-1]; + uVar4 = (int)fStack_28 + 0x24; + if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar26))) goto LAB_006989c8; } - operator_delete(pppppppiVar24,uVar3); + operator_delete(pppppppiVar26,uVar4); } } else { - pcVar8 = "gridCollision"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "gridCollision"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_0069600a: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_0069600f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_0069600a; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_0069600a; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_0069600f: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - iVar5 = (int)pbVar7 - (int)(pbVar15 + 1); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + iVar6 = (int)pbVar8 - (int)(pbVar17 + 1); goto LAB_006955c6; } - pcVar8 = "reroll"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "reroll"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_0069608a: - pppppppiVar24 = (int *******)(-(uint)bVar21 | 1); + pppppppiVar26 = (int *******)(-(uint)bVar23 | 1); goto LAB_0069608f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_0069608a; - pcVar8 = pcVar8 + 2; - pbVar15 = pbVar15 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_0069608a; + pcVar9 = pcVar9 + 2; + pbVar17 = pbVar17 + 2; } while (bStack_10221 != 0); - pppppppiVar24 = (int *******)0x0; + pppppppiVar26 = (int *******)0x0; LAB_0069608f: - if (pppppppiVar24 == (int *******)0x0) { - pbVar15 = &g_xmlNullStr; + if (pppppppiVar26 == (int *******)0x0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } fStack_28 = 2.10195e-44; - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - local_3c = pppppppiVar24; - pppppppiStack_2c = pppppppiVar24; - std::string::assign(pbVar15,(int)pbVar7 - (int)(pbVar15 + 1)); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + local_3c = pppppppiVar26; + pppppppiStack_2c = pppppppiVar26; + std::string::assign(pbVar17,(int)pbVar8 - (int)(pbVar17 + 1)); if (pppppppiStack_2c == (int *******)0x0) { LAB_0069618c: - cStack_10154 = '\0'; + bStack_10154 = 0; } else { - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } if (pppppppiStack_2c == (int *******)&DAT_00000004) { - if ((*pppppppiVar24 == (int ******)0x65757274) || - (((bVar1 = (byte)*pppppppiVar24, bVar21 = bVar1 < 0x74, bVar1 == 0x74 - && (bVar21 = *(byte *)((int)pppppppiVar24 + 1) < 0x72, - *(byte *)((int)pppppppiVar24 + 1) == 0x72)) && - ((bVar21 = *(byte *)((int)pppppppiVar24 + 2) < 0x75, - *(byte *)((int)pppppppiVar24 + 2) == 0x75 && - (bVar21 = *(byte *)((int)pppppppiVar24 + 3) < 0x65, - *(byte *)((int)pppppppiVar24 + 3) == 0x65)))))) { - uVar3 = 0; + if ((*pppppppiVar26 == (int ******)0x65757274) || + (((bVar2 = (byte)*pppppppiVar26, bVar23 = bVar2 < 0x74, bVar2 == 0x74 + && (bVar23 = *(byte *)((int)pppppppiVar26 + 1) < 0x72, + *(byte *)((int)pppppppiVar26 + 1) == 0x72)) && + ((bVar23 = *(byte *)((int)pppppppiVar26 + 2) < 0x75, + *(byte *)((int)pppppppiVar26 + 2) == 0x75 && + (bVar23 = *(byte *)((int)pppppppiVar26 + 3) < 0x65, + *(byte *)((int)pppppppiVar26 + 3) == 0x65)))))) { + uVar4 = 0; } else { - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; } - if (uVar3 != 0) goto LAB_00696123; + if (uVar4 != 0) goto LAB_00696123; } else { LAB_00696123: - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } if (pppppppiStack_2c == (int *******)&DAT_00000004) { - if ((*pppppppiVar24 == (int ******)0x65757254) || - (((bVar1 = (byte)*pppppppiVar24, bVar21 = bVar1 < 0x54, bVar1 == 0x54 - && (bVar21 = *(byte *)((int)pppppppiVar24 + 1) < 0x72, - *(byte *)((int)pppppppiVar24 + 1) == 0x72)) && - ((bVar21 = *(byte *)((int)pppppppiVar24 + 2) < 0x75, - *(byte *)((int)pppppppiVar24 + 2) == 0x75 && - (bVar21 = *(byte *)((int)pppppppiVar24 + 3) < 0x65, - *(byte *)((int)pppppppiVar24 + 3) == 0x65)))))) { - uVar3 = 0; + if ((*pppppppiVar26 == (int ******)0x65757254) || + (((bVar2 = (byte)*pppppppiVar26, bVar23 = bVar2 < 0x54, bVar2 == 0x54 + && (bVar23 = *(byte *)((int)pppppppiVar26 + 1) < 0x72, + *(byte *)((int)pppppppiVar26 + 1) == 0x72)) && + ((bVar23 = *(byte *)((int)pppppppiVar26 + 2) < 0x75, + *(byte *)((int)pppppppiVar26 + 2) == 0x75 && + (bVar23 = *(byte *)((int)pppppppiVar26 + 3) < 0x65, + *(byte *)((int)pppppppiVar26 + 3) == 0x65)))))) { + uVar4 = 0; } else { - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; } - if (uVar3 == 0) goto LAB_00696183; + if (uVar4 == 0) goto LAB_00696183; } - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } - iVar5 = atoi((char *)pppppppiVar24); - if (iVar5 == 0) goto LAB_0069618c; + iVar6 = atoi((char *)pppppppiVar26); + if (iVar6 == 0) goto LAB_0069618c; } LAB_00696183: - cStack_10154 = '\x01'; + bStack_10154 = 1; } if (0xf < (uint)fStack_28) { - uVar3 = (int)fStack_28 + 1; - pppppppiVar24 = local_3c; - if (0xfff < uVar3) { - pppppppiVar24 = (int *******)local_3c[-1]; - uVar3 = (int)fStack_28 + 0x24; - if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar24))) + uVar4 = (int)fStack_28 + 1; + pppppppiVar26 = local_3c; + if (0xfff < uVar4) { + pppppppiVar26 = (int *******)local_3c[-1]; + uVar4 = (int)fStack_28 + 0x24; + if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar26))) goto LAB_006989c8; } - operator_delete(pppppppiVar24,uVar3); + operator_delete(pppppppiVar26,uVar4); } } else { - pcVar8 = "hasFloorAlts"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "hasFloorAlts"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_0069621a: - pppppppiVar24 = (int *******)(-(uint)bVar21 | 1); + pppppppiVar26 = (int *******)(-(uint)bVar23 | 1); goto LAB_0069621f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_0069621a; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_0069621a; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - pppppppiVar24 = (int *******)0x0; + pppppppiVar26 = (int *******)0x0; LAB_0069621f: - if (pppppppiVar24 == (int *******)0x0) { - pbVar15 = &g_xmlNullStr; + if (pppppppiVar26 == (int *******)0x0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } fStack_28 = 2.10195e-44; - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - local_3c = pppppppiVar24; - pppppppiStack_2c = pppppppiVar24; - std::string::assign(pbVar15,(int)pbVar7 - (int)(pbVar15 + 1)); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + local_3c = pppppppiVar26; + pppppppiStack_2c = pppppppiVar26; + std::string::assign(pbVar17,(int)pbVar8 - (int)(pbVar17 + 1)); if (pppppppiStack_2c == (int *******)0x0) { LAB_0069631c: - uStack_10153 = 0; + bStack_10153 = 0; } else { - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } if (pppppppiStack_2c == (int *******)&DAT_00000004) { - if ((*pppppppiVar24 == (int ******)0x65757274) || - ((((bVar1 = (byte)*pppppppiVar24, bVar21 = bVar1 < 0x74, - bVar1 == 0x74 && - (bVar21 = *(byte *)((int)pppppppiVar24 + 1) < 0x72, - *(byte *)((int)pppppppiVar24 + 1) == 0x72)) && - (bVar21 = *(byte *)((int)pppppppiVar24 + 2) < 0x75, - *(byte *)((int)pppppppiVar24 + 2) == 0x75)) && - (bVar21 = *(byte *)((int)pppppppiVar24 + 3) < 0x65, - *(byte *)((int)pppppppiVar24 + 3) == 0x65)))) { - uVar3 = 0; + if ((*pppppppiVar26 == (int ******)0x65757274) || + ((((bVar2 = (byte)*pppppppiVar26, bVar23 = bVar2 < 0x74, + bVar2 == 0x74 && + (bVar23 = *(byte *)((int)pppppppiVar26 + 1) < 0x72, + *(byte *)((int)pppppppiVar26 + 1) == 0x72)) && + (bVar23 = *(byte *)((int)pppppppiVar26 + 2) < 0x75, + *(byte *)((int)pppppppiVar26 + 2) == 0x75)) && + (bVar23 = *(byte *)((int)pppppppiVar26 + 3) < 0x65, + *(byte *)((int)pppppppiVar26 + 3) == 0x65)))) { + uVar4 = 0; } else { - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; } - if (uVar3 != 0) goto LAB_006962b3; + if (uVar4 != 0) goto LAB_006962b3; } else { LAB_006962b3: - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } if (pppppppiStack_2c == (int *******)&DAT_00000004) { - if ((*pppppppiVar24 == (int ******)0x65757254) || - (((bVar1 = (byte)*pppppppiVar24, bVar21 = bVar1 < 0x54, - bVar1 == 0x54 && - (bVar21 = *(byte *)((int)pppppppiVar24 + 1) < 0x72, - *(byte *)((int)pppppppiVar24 + 1) == 0x72)) && - ((bVar21 = *(byte *)((int)pppppppiVar24 + 2) < 0x75, - *(byte *)((int)pppppppiVar24 + 2) == 0x75 && - (bVar21 = *(byte *)((int)pppppppiVar24 + 3) < 0x65, - *(byte *)((int)pppppppiVar24 + 3) == 0x65)))))) { - uVar3 = 0; + if ((*pppppppiVar26 == (int ******)0x65757254) || + (((bVar2 = (byte)*pppppppiVar26, bVar23 = bVar2 < 0x54, + bVar2 == 0x54 && + (bVar23 = *(byte *)((int)pppppppiVar26 + 1) < 0x72, + *(byte *)((int)pppppppiVar26 + 1) == 0x72)) && + ((bVar23 = *(byte *)((int)pppppppiVar26 + 2) < 0x75, + *(byte *)((int)pppppppiVar26 + 2) == 0x75 && + (bVar23 = *(byte *)((int)pppppppiVar26 + 3) < 0x65, + *(byte *)((int)pppppppiVar26 + 3) == 0x65)))))) { + uVar4 = 0; } else { - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; } - if (uVar3 == 0) goto LAB_00696313; + if (uVar4 == 0) goto LAB_00696313; } - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } - iVar5 = atoi((char *)pppppppiVar24); - if (iVar5 == 0) goto LAB_0069631c; + iVar6 = atoi((char *)pppppppiVar26); + if (iVar6 == 0) goto LAB_0069631c; } LAB_00696313: - uStack_10153 = 1; + bStack_10153 = 1; } if ((uint)fStack_28 < 0x10) goto LAB_006955cb; - uVar3 = (int)fStack_28 + 1; - pppppppiVar24 = local_3c; - if (0xfff < uVar3) { - pppppppiVar24 = (int *******)local_3c[-1]; - uVar3 = (int)fStack_28 + 0x24; - if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar24))) + uVar4 = (int)fStack_28 + 1; + pppppppiVar26 = local_3c; + if (0xfff < uVar4) { + pppppppiVar26 = (int *******)local_3c[-1]; + uVar4 = (int)fStack_28 + 0x24; + if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar26))) goto LAB_006989c8; } - operator_delete(pppppppiVar24,uVar3); + operator_delete(pppppppiVar26,uVar4); } else { - pcVar8 = "collisionInterval"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "collisionInterval"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_006963aa: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_006963af; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_006963aa; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_006963aa; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_006963af: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - uStack_10150 = (*pcVar20)(pbVar15); + iStack_10150 = (*pcVar22)(pbVar17); goto LAB_006955d1; } - pcVar8 = "shieldStrength"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "shieldStrength"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_0069641a: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_0069641f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_0069641a; - pcVar8 = pcVar8 + 2; - pbVar15 = pbVar15 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_0069641a; + pcVar9 = pcVar9 + 2; + pbVar17 = pbVar17 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_0069641f: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - dVar22 = atof((char *)pbVar15); - fStack_10140 = (float)dVar22; + dVar24 = atof((char *)pbVar17); + fStack_10140 = (float)dVar24; goto LAB_006955d1; } - pcVar8 = "shieldFrames"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "shieldFrames"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_0069648a: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_0069648f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_0069648a; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_0069648a; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_0069648f: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - uStack_1013c = (*pcVar20)(pbVar15); + iStack_1013c = (*pcVar22)(pbVar17); goto LAB_006955d1; } - pbVar14 = &DAT_00b66d44; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar16 = &DAT_00b66d44; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar14; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pbVar14) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar16; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pbVar16) { LAB_006964fa: - pppppppiVar24 = (int *******)(-(uint)bVar21 | 1); + pppppppiVar26 = (int *******)(-(uint)bVar23 | 1); goto LAB_006964ff; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar14[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pbVar14[1]) goto LAB_006964fa; - pbVar14 = pbVar14 + 2; - pbVar15 = pbVar15 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar16[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pbVar16[1]) goto LAB_006964fa; + pbVar16 = pbVar16 + 2; + pbVar17 = pbVar17 + 2; } while (bStack_10221 != 0); - pppppppiVar24 = (int *******)0x0; + pppppppiVar26 = (int *******)0x0; LAB_006964ff: - if (pppppppiVar24 == (int *******)0x0) { - pbVar15 = &g_xmlNullStr; + if (pppppppiVar26 == (int *******)0x0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } local_3c = (int *******)0x0; fStack_28 = 2.10195e-44; - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - pppppppiStack_2c = pppppppiVar24; - std::string::assign(pbVar15,(int)pbVar7 - (int)(pbVar15 + 1)); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + pppppppiStack_2c = pppppppiVar26; + std::string::assign(pbVar17,(int)pbVar8 - (int)(pbVar17 + 1)); local_14._0_1_ = 4; - uStack_10148 = parse_entity_tags(); + iStack_10148 = parse_entity_tags(); local_14._0_1_ = 3; uStack_10144 = 0; if (0xf < (uint)fStack_28) { - uVar3 = (int)fStack_28 + 1; - pppppppiVar24 = local_3c; - if (0xfff < uVar3) { - pppppppiVar24 = (int *******)local_3c[-1]; - uVar3 = (int)fStack_28 + 0x24; - if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar24)) + uVar4 = (int)fStack_28 + 1; + pppppppiVar26 = local_3c; + if (0xfff < uVar4) { + pppppppiVar26 = (int *******)local_3c[-1]; + uVar4 = (int)fStack_28 + 0x24; + if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar26)) ) goto LAB_006989c8; } - operator_delete(pppppppiVar24,uVar3); + operator_delete(pppppppiVar26,uVar4); } } else { - pcVar8 = "bestiary"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "bestiary"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_006965ea: - pppppppiVar24 = (int *******)(-(uint)bVar21 | 1); + pppppppiVar26 = (int *******)(-(uint)bVar23 | 1); goto LAB_006965ef; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_006965ea; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_006965ea; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - pppppppiVar24 = (int *******)0x0; + pppppppiVar26 = (int *******)0x0; LAB_006965ef: - if (pppppppiVar24 == (int *******)0x0) { - pbVar15 = &g_xmlNullStr; + if (pppppppiVar26 == (int *******)0x0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } fStack_28 = 2.10195e-44; - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - local_3c = pppppppiVar24; - pppppppiStack_2c = pppppppiVar24; - std::string::assign(pbVar15,(int)pbVar7 - (int)(pbVar15 + 1)); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + local_3c = pppppppiVar26; + pppppppiStack_2c = pppppppiVar26; + std::string::assign(pbVar17,(int)pbVar8 - (int)(pbVar17 + 1)); if (pppppppiStack_2c == (int *******)0x0) { LAB_006966ec: - uStack_10138 = 0; + bStack_10138 = 0; } else { - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } if (pppppppiStack_2c == (int *******)&DAT_00000004) { - if ((*pppppppiVar24 == (int ******)0x65757274) || - (((bVar1 = (byte)*pppppppiVar24, bVar21 = bVar1 < 0x74, - bVar1 == 0x74 && - (bVar21 = *(byte *)((int)pppppppiVar24 + 1) < 0x72, - *(byte *)((int)pppppppiVar24 + 1) == 0x72)) && - ((bVar21 = *(byte *)((int)pppppppiVar24 + 2) < 0x75, - *(byte *)((int)pppppppiVar24 + 2) == 0x75 && - (bVar21 = *(byte *)((int)pppppppiVar24 + 3) < 0x65, - *(byte *)((int)pppppppiVar24 + 3) == 0x65)))))) { - uVar3 = 0; + if ((*pppppppiVar26 == (int ******)0x65757274) || + (((bVar2 = (byte)*pppppppiVar26, bVar23 = bVar2 < 0x74, + bVar2 == 0x74 && + (bVar23 = *(byte *)((int)pppppppiVar26 + 1) < 0x72, + *(byte *)((int)pppppppiVar26 + 1) == 0x72)) && + ((bVar23 = *(byte *)((int)pppppppiVar26 + 2) < 0x75, + *(byte *)((int)pppppppiVar26 + 2) == 0x75 && + (bVar23 = *(byte *)((int)pppppppiVar26 + 3) < 0x65, + *(byte *)((int)pppppppiVar26 + 3) == 0x65)))))) { + uVar4 = 0; } else { - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; } - if (uVar3 != 0) goto LAB_00696683; + if (uVar4 != 0) goto LAB_00696683; } else { LAB_00696683: - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } if (pppppppiStack_2c == (int *******)&DAT_00000004) { - if ((*pppppppiVar24 == (int ******)0x65757254) || - ((((bVar1 = (byte)*pppppppiVar24, bVar21 = bVar1 < 0x54, - bVar1 == 0x54 && - (bVar21 = *(byte *)((int)pppppppiVar24 + 1) < 0x72, - *(byte *)((int)pppppppiVar24 + 1) == 0x72)) && - (bVar21 = *(byte *)((int)pppppppiVar24 + 2) < 0x75, - *(byte *)((int)pppppppiVar24 + 2) == 0x75)) && - (bVar21 = *(byte *)((int)pppppppiVar24 + 3) < 0x65, - *(byte *)((int)pppppppiVar24 + 3) == 0x65)))) { - uVar3 = 0; + if ((*pppppppiVar26 == (int ******)0x65757254) || + ((((bVar2 = (byte)*pppppppiVar26, bVar23 = bVar2 < 0x54, + bVar2 == 0x54 && + (bVar23 = *(byte *)((int)pppppppiVar26 + 1) < 0x72, + *(byte *)((int)pppppppiVar26 + 1) == 0x72)) && + (bVar23 = *(byte *)((int)pppppppiVar26 + 2) < 0x75, + *(byte *)((int)pppppppiVar26 + 2) == 0x75)) && + (bVar23 = *(byte *)((int)pppppppiVar26 + 3) < 0x65, + *(byte *)((int)pppppppiVar26 + 3) == 0x65)))) { + uVar4 = 0; } else { - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; } - if (uVar3 == 0) goto LAB_006966e3; + if (uVar4 == 0) goto LAB_006966e3; } - pppppppiVar24 = (int *******)&local_3c; + pppppppiVar26 = (int *******)&local_3c; if (0xf < (uint)fStack_28) { - pppppppiVar24 = local_3c; + pppppppiVar26 = local_3c; } - iVar5 = atoi((char *)pppppppiVar24); - if (iVar5 == 0) goto LAB_006966ec; + iVar6 = atoi((char *)pppppppiVar26); + if (iVar6 == 0) goto LAB_006966ec; } LAB_006966e3: - uStack_10138 = 1; + bStack_10138 = 1; } if (0xf < (uint)fStack_28) { - uVar3 = (int)fStack_28 + 1; - pppppppiVar24 = local_3c; - if (0xfff < uVar3) { - pppppppiVar24 = (int *******)local_3c[-1]; - uVar3 = (int)fStack_28 + 0x24; + uVar4 = (int)fStack_28 + 1; + pppppppiVar26 = local_3c; + if (0xfff < uVar4) { + pppppppiVar26 = (int *******)local_3c[-1]; + uVar4 = (int)fStack_28 + 0x24; if ((byte *)0x1f < - (byte *)((int)local_3c + (-4 - (int)pppppppiVar24))) + (byte *)((int)local_3c + (-4 - (int)pppppppiVar26))) goto LAB_006989c8; } - operator_delete(pppppppiVar24,uVar3); + operator_delete(pppppppiVar26,uVar4); } } else { - pcVar8 = "bestiaryTransform"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "bestiaryTransform"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_0069677a: - pppppppiVar24 = (int *******)(-(uint)bVar21 | 1); + pppppppiVar26 = (int *******)(-(uint)bVar23 | 1); goto LAB_0069677f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_0069677a; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_0069677a; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - pppppppiVar24 = (int *******)0x0; + pppppppiVar26 = (int *******)0x0; LAB_0069677f: - if (pppppppiVar24 != (int *******)0x0) { - pcVar8 = "bestiaryAnim"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + if (pppppppiVar26 != (int *******)0x0) { + pcVar9 = "bestiaryAnim"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_006969ea: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_006969ef; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_006969ea; - pcVar8 = pcVar8 + 2; - pbVar15 = pbVar15 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_006969ea; + pcVar9 = pcVar9 + 2; + pbVar17 = pbVar17 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_006969ef: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - iVar5 = (int)pbVar7 - (int)(pbVar15 + 1); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + iVar6 = (int)pbVar8 - (int)(pbVar17 + 1); } else { - pcVar8 = "bestiaryOverlay"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "bestiaryOverlay"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_00696a6a: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00696a6f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_00696a6a; - pcVar8 = pcVar8 + 2; - pbVar15 = pbVar15 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_00696a6a; + pcVar9 = pcVar9 + 2; + pbVar17 = pbVar17 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_00696a6f: - if (uVar3 != 0) { - pcVar8 = "gibAmount"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + if (uVar4 != 0) { + pcVar9 = "gibAmount"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != *pcVar9) { LAB_00696aea: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00696aef; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puStack_1022c; - if (bStack_10221 != pcVar8[1]) goto LAB_00696aea; - pcVar8 = pcVar8 + 2; - pbVar15 = pbVar15 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puStack_1022c; + if (bStack_10221 != pcVar9[1]) goto LAB_00696aea; + pcVar9 = pcVar9 + 2; + pbVar17 = pbVar17 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_00696aef: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - iStack_101c4 = (*pcVar20)(pbVar15); + auStack_10220._92_4_ = (*pcVar22)(pbVar17); } else { - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } - pcVar8 = "gibFlags"; + pcVar9 = "gibFlags"; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < (byte)*pcVar8; - if (bVar1 != *pcVar8) { + bVar2 = *pbVar17; + bVar23 = bVar2 < (byte)*pcVar9; + if (bVar2 != *pcVar9) { LAB_00696b40: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00696b45; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < (byte)pcVar8[1]; - if (bVar1 != pcVar8[1]) goto LAB_00696b40; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < (byte)pcVar9[1]; + if (bVar2 != pcVar9[1]) goto LAB_00696b40; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; + } while (bVar2 != 0); + uVar4 = 0; LAB_00696b45: - if (uVar3 == 0) { + if (uVar4 == 0) { if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < DAT_00c80a8c) && (_Init_thread_header(&DAT_00c80a8c), DAT_00c80a8c == -1)) { @@ -352384,124 +352720,124 @@ LAB_00696b45: if (DAT_00c80a94 == 0) { std::string::string_from_cstr("blood"); local_14._0_1_ = 9; - puVar11 = (undefined4 *)FUN_0069d630(&local_3c); + puVar12 = (undefined4 *)FUN_0069d630(&local_3c); local_14._0_1_ = 3; - *puVar11 = 0; + *puVar12 = 0; std::string::_Tidy_deallocate(); std::string::string_from_cstr(&DAT_00b66d98); local_14._0_1_ = 10; - puVar11 = (undefined4 *)FUN_0069d630(&local_3c); + puVar12 = (undefined4 *)FUN_0069d630(&local_3c); local_14._0_1_ = 3; - *puVar11 = 1; + *puVar12 = 1; std::string::_Tidy_deallocate(); std::string::string_from_cstr(&DAT_00b66da0); local_14._0_1_ = 0xb; - puVar11 = (undefined4 *)FUN_0069d630(&local_3c); + puVar12 = (undefined4 *)FUN_0069d630(&local_3c); local_14._0_1_ = 3; - *puVar11 = 2; + *puVar12 = 2; std::string::_Tidy_deallocate(); std::string::string_from_cstr(&DAT_00b66da4); local_14._0_1_ = 0xc; - puVar11 = (undefined4 *)FUN_0069d630(&local_3c); + puVar12 = (undefined4 *)FUN_0069d630(&local_3c); local_14._0_1_ = 3; - *puVar11 = 3; + *puVar12 = 3; std::string::_Tidy_deallocate(); std::string::string_from_cstr("large"); local_14._0_1_ = 0xd; - puVar11 = (undefined4 *)FUN_0069d630(&local_3c); + puVar12 = (undefined4 *)FUN_0069d630(&local_3c); local_14._0_1_ = 3; - *puVar11 = 4; + *puVar12 = 4; std::string::_Tidy_deallocate(); std::string::string_from_cstr(&DAT_00b66afc); local_14._0_1_ = 0xe; - puVar11 = (undefined4 *)FUN_0069d630(&local_3c); + puVar12 = (undefined4 *)FUN_0069d630(&local_3c); local_14._0_1_ = 3; - *puVar11 = 5; + *puVar12 = 5; std::string::_Tidy_deallocate(); std::string::string_from_cstr(&DAT_00b66d74); local_14._0_1_ = 0xf; - puVar11 = (undefined4 *)FUN_0069d630(&local_3c); + puVar12 = (undefined4 *)FUN_0069d630(&local_3c); local_14._0_1_ = 3; - *puVar11 = 6; + *puVar12 = 6; std::string::_Tidy_deallocate(); std::string::string_from_cstr(&DAT_00b66d7c); local_14._0_1_ = 0x10; - puVar11 = (undefined4 *)FUN_0069d630(&local_3c); + puVar12 = (undefined4 *)FUN_0069d630(&local_3c); local_14._0_1_ = 3; - *puVar11 = 7; + *puVar12 = 7; std::string::_Tidy_deallocate(); std::string::string_from_cstr("rock_small"); local_14._0_1_ = 0x11; - puVar11 = (undefined4 *)FUN_0069d630(&local_3c); + puVar12 = (undefined4 *)FUN_0069d630(&local_3c); local_14._0_1_ = 3; - *puVar11 = 8; + *puVar12 = 8; std::string::_Tidy_deallocate(); std::string::string_from_cstr("sound_baby"); local_14._0_1_ = 0x12; - puVar11 = (undefined4 *)FUN_0069d630(&local_3c); + puVar12 = (undefined4 *)FUN_0069d630(&local_3c); local_14._0_1_ = 3; - *puVar11 = 9; + *puVar12 = 9; std::string::_Tidy_deallocate(); std::string::string_from_cstr("sound_bone"); local_14._0_1_ = 0x13; - puVar11 = (undefined4 *)FUN_0069d630(&local_3c); + puVar12 = (undefined4 *)FUN_0069d630(&local_3c); local_14._0_1_ = 3; - *puVar11 = 10; + *puVar12 = 10; std::string::_Tidy_deallocate(); std::string::string_from_cstr("chain"); local_14._0_1_ = 0x14; - puVar11 = (undefined4 *)FUN_0069d630(&local_3c); + puVar12 = (undefined4 *)FUN_0069d630(&local_3c); local_14._0_1_ = 3; - *puVar11 = 0xb; + *puVar12 = 0xb; std::string::_Tidy_deallocate(); std::string::string_from_cstr(&DAT_00b66dfc); local_14._0_1_ = 0x15; - puVar11 = (undefined4 *)FUN_0069d630(&local_3c); + puVar12 = (undefined4 *)FUN_0069d630(&local_3c); local_14._0_1_ = 3; - *puVar11 = 0xc; + *puVar12 = 0xc; std::string::_Tidy_deallocate(); std::string::string_from_cstr(&DAT_00b66da8); local_14._0_1_ = 0x16; - puVar11 = (undefined4 *)FUN_0069d630(&local_3c); + puVar12 = (undefined4 *)FUN_0069d630(&local_3c); local_14._0_1_ = 3; - *puVar11 = 0xd; + *puVar12 = 0xd; std::string::_Tidy_deallocate(); } - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - std::string::string_from_cstr(pbVar15); + std::string::string_from_cstr(pbVar17); local_14._0_1_ = 0x17; string_split(0x20); local_14 = (undefined4 ******)CONCAT31(local_14._1_3_,0x19); std::string::_Tidy_deallocate(); pcStack_10230 = (char *)0x0; - iVar5 = FUN_00414410(); - if (iVar5 != 0) { - iVar5 = 0; + iVar6 = FUN_00414410(); + if (iVar6 != 0) { + iVar6 = 0; do { - puVar18 = (undefined4 *)(iStack_1028c + iVar5); - puVar11 = (undefined4 *) + puVar20 = (undefined4 *)(iStack_1028c + iVar6); + puVar12 = (undefined4 *) std::map::find - (&uStack_10250,puVar18); - pbStack_10240 = (byte *)*puVar11; + (&uStack_10250,puVar20); + pbStack_10240 = (byte *)*puVar12; if (pbStack_10240 == DAT_00c80a90) { - if (0xf < (uint)puVar18[5]) { - puVar18 = (undefined4 *)*puVar18; + if (0xf < (uint)puVar20[5]) { + puVar20 = (undefined4 *)*puVar20; } /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"invalid gibflag entry: %s\n", - puVar18); + puVar20); } FUN_0069d9d0(*(undefined4 *)(pbStack_10240 + 0x28), extraout_ECX); - pcVar16 = pcStack_10230 + 1; - iVar5 = iVar5 + 0x18; - pcStack_10230 = pcVar16; - pcVar8 = (char *)FUN_00414410(); - } while (pcVar16 < pcVar8); - puVar18 = puStack_1022c; + pcVar18 = pcStack_10230 + 1; + iVar6 = iVar6 + 0x18; + pcStack_10230 = pcVar18; + pcVar9 = (char *)FUN_00414410(); + } while (pcVar18 < pcVar9); + puVar20 = puStack_1022c; } local_14._0_1_ = 3; std::vector::_Tidy(); @@ -352509,35 +352845,35 @@ LAB_00696b45: } goto LAB_006955d1; } - pbVar15 = &g_xmlNullStr; + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - iVar5 = (int)pbVar7 - (int)(pbVar15 + 1); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + iVar6 = (int)pbVar8 - (int)(pbVar17 + 1); } LAB_006955c6: - std::string::assign(pbVar15,iVar5); + std::string::assign(pbVar17,iVar6); goto LAB_006955cb; } - pbVar15 = &g_xmlNullStr; + pbVar17 = &g_xmlNullStr; if ((byte *)puStack_1022c[1] != (byte *)0x0) { - pbVar15 = (byte *)puStack_1022c[1]; + pbVar17 = (byte *)puStack_1022c[1]; } local_3c = (int *******)0x0; fStack_28 = 2.10195e-44; - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - pppppppiStack_2c = pppppppiVar24; - std::string::assign(pbVar15,(int)pbVar7 - (int)(pbVar15 + 1)); - uVar3 = uStack_10234; + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + pppppppiStack_2c = pppppppiVar26; + std::string::assign(pbVar17,(int)pbVar8 - (int)(pbVar17 + 1)); + uVar4 = uStack_10234; local_14._0_1_ = 6; uStack_10228 = uStack_10234 | 2; piStack_1025c = (int *)0x0; @@ -352546,74 +352882,74 @@ LAB_006955c6: string_split(&piStack_1025c); local_14._0_1_ = 7; if (0xf < (uint)fStack_28) { - uVar12 = (int)fStack_28 + 1; - pppppppiVar24 = local_3c; - if (0xfff < uVar12) { - pppppppiVar24 = (int *******)local_3c[-1]; - uVar12 = (int)fStack_28 + 0x24; + uVar13 = (int)fStack_28 + 1; + pppppppiVar26 = local_3c; + if (0xfff < uVar13) { + pppppppiVar26 = (int *******)local_3c[-1]; + uVar13 = (int)fStack_28 + 0x24; if ((byte *)0x1f < - (byte *)((int)local_3c + (-4 - (int)pppppppiVar24))) + (byte *)((int)local_3c + (-4 - (int)pppppppiVar26))) goto LAB_006989c8; } - operator_delete(pppppppiVar24,uVar12); + operator_delete(pppppppiVar26,uVar13); } - piVar4 = piStack_1025c; + piVar5 = piStack_1025c; if (((int)piStack_10258 - (int)piStack_1025c) / 0x18 == 3) { - piVar10 = piStack_1025c; + piVar11 = piStack_1025c; if (0xf < (uint)piStack_1025c[5]) { - piVar10 = (int *)*piStack_1025c; + piVar11 = (int *)*piStack_1025c; } - dVar22 = atof((char *)piVar10); - fStack_10134 = (float)dVar22; - piVar10 = piVar4 + 6; - if (0xf < (uint)piVar4[0xb]) { - piVar10 = (int *)*piVar10; + dVar24 = atof((char *)piVar11); + fStack_10134 = (float)dVar24; + piVar11 = piVar5 + 6; + if (0xf < (uint)piVar5[0xb]) { + piVar11 = (int *)*piVar11; } - dVar22 = atof((char *)piVar10); - fStack_10130 = (float)dVar22; - piVar10 = piVar4 + 0xc; - if (0xf < (uint)piVar4[0x11]) { - piVar10 = (int *)*piVar10; + dVar24 = atof((char *)piVar11); + fStack_10130 = (float)dVar24; + piVar11 = piVar5 + 0xc; + if (0xf < (uint)piVar5[0x11]) { + piVar11 = (int *)*piVar11; } - dVar22 = atof((char *)piVar10); - fStack_1012c = (float)dVar22; + dVar24 = atof((char *)piVar11); + fStack_1012c = (float)dVar24; } - uStack_10234 = uVar3 & 0xfffffffd; + uStack_10234 = uVar4 & 0xfffffffd; local_14._0_1_ = 3; - if (piVar4 != (int *)0x0) { - piVar10 = piStack_10258; - piVar17 = piVar4; - if (piVar4 != piStack_10258) { + if (piVar5 != (int *)0x0) { + piVar11 = piStack_10258; + piVar19 = piVar5; + if (piVar5 != piStack_10258) { do { - uVar3 = piVar17[5]; - if (0xf < uVar3) { - iVar5 = *piVar17; - uVar12 = uVar3 + 1; - iVar6 = iVar5; - if (0xfff < uVar12) { - iVar6 = *(int *)(iVar5 + -4); - uVar12 = uVar3 + 0x24; - if (0x1f < (iVar5 - iVar6) - 4U) goto LAB_006989c8; + uVar4 = piVar19[5]; + if (0xf < uVar4) { + iVar6 = *piVar19; + uVar13 = uVar4 + 1; + iVar7 = iVar6; + if (0xfff < uVar13) { + iVar7 = *(int *)(iVar6 + -4); + uVar13 = uVar4 + 0x24; + if (0x1f < (iVar6 - iVar7) - 4U) goto LAB_006989c8; } - operator_delete(iVar6,uVar12); - piVar10 = piStack_10258; + operator_delete(iVar7,uVar13); + piVar11 = piStack_10258; } - piVar17[4] = 0; - piVar17[5] = 0xf; - *(undefined1 *)piVar17 = 0; - piVar17 = piVar17 + 6; - } while (piVar17 != piVar10); + piVar19[4] = 0; + piVar19[5] = 0xf; + *(undefined1 *)piVar19 = 0; + piVar19 = piVar19 + 6; + } while (piVar19 != piVar11); } - uVar3 = ((iStack_10254 - (int)piVar4) / 0x18) * 0x18; - piVar10 = piVar4; - if (0xfff < uVar3) { - piVar10 = (int *)piVar4[-1]; - uVar3 = uVar3 + 0x23; + uVar4 = ((iStack_10254 - (int)piVar5) / 0x18) * 0x18; + piVar11 = piVar5; + if (0xfff < uVar4) { + piVar11 = (int *)piVar5[-1]; + uVar4 = uVar4 + 0x23; if ((undefined1 *)0x1f < - (undefined1 *)((int)piVar4 + (-4 - (int)piVar10))) + (undefined1 *)((int)piVar5 + (-4 - (int)piVar11))) goto LAB_006989c8; } - operator_delete(piVar10,uVar3); + operator_delete(piVar11,uVar4); piStack_1025c = (int *)0x0; piStack_10258 = (int *)0x0; iStack_10254 = 0; @@ -352625,148 +352961,148 @@ LAB_006955c6: } } LAB_006955cb: - puVar18 = puStack_1022c; + puVar20 = puStack_1022c; } } } } LAB_006955d1: - if ((puVar18[4] == 0) || - (puStack_1022c = (undefined4 *)puVar18[6], puStack_1022c == (undefined4 *)0x0)) + if ((puVar20[4] == 0) || + (puStack_1022c = (undefined4 *)puVar20[6], puStack_1022c == (undefined4 *)0x0)) goto LAB_006955e8; - pcVar20 = atoi_exref; + pcVar22 = atoi_exref; goto LAB_00695376; } goto LAB_006955ee; } - piVar10 = piStack_10244; + piVar5 = piStack_10244; LAB_0069899e: local_14._0_1_ = 0; if (0xf < local_4c) { - uVar3 = local_4c + 1; - pppppppuVar9 = local_60[0]; - if (0xfff < uVar3) { - pppppppuVar9 = (undefined4 *******)local_60[0][-1]; - uVar3 = local_4c + 0x24; - if (0x1f < (uint)((int)local_60[0] + (-4 - (int)pppppppuVar9))) { + uVar4 = local_4c + 1; + pppppppuVar10 = local_60[0]; + if (0xfff < uVar4) { + pppppppuVar10 = (undefined4 *******)local_60[0][-1]; + uVar4 = local_4c + 0x24; + if (0x1f < (uint)((int)local_60[0] + (-4 - (int)pppppppuVar10))) { LAB_006989c8: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pppppppuVar9,uVar3); + operator_delete(pppppppuVar10,uVar4); } local_14 = (undefined4 ******)0x22; xml_memory_pool::clear(); local_14 = (undefined4 ******)0xffffffff; - FUN_0069de80(piVar10[0x11],piVar10[0x12],uStack_10250); - FUN_0069de80(piVar10[0xe],piVar10[0xf],uStack_10250); + FUN_0069de80(piVar5[0x11],piVar5[0x12],uStack_10250); + FUN_0069de80(piVar5[0xe],piVar5[0xf],uStack_10250); local_14 = (undefined4 ******)0x23; tracked_alloc(0,0); - uVar23 = 1; + uVar25 = 1; } ExceptionList = local_1c; - return uVar23; + return uVar25; LAB_006955e8: - iVar5 = iStack_10238; + iVar6 = iStack_10238; LAB_006955ee: - pcVar8 = "gibs"; + pcVar9 = "gibs"; do { - pcStack_10230 = pcVar8; - pcVar8 = pcStack_10230 + 1; - } while (*pcVar8 != '\0'); - puVar18 = *(undefined4 **)(iVar5 + 0x18); + pcStack_10230 = pcVar9; + pcVar9 = pcStack_10230 + 1; + } while (*pcVar9 != '\0'); + puVar20 = *(undefined4 **)(iVar6 + 0x18); pcStack_10230 = pcStack_10230 + -0xb66dcb; - if (puVar18 != (undefined4 *)0x0) { + if (puVar20 != (undefined4 *)0x0) { do { - pbVar15 = (byte *)*puVar18; - if (pbVar15 == (byte *)0x0) { - pcVar8 = (char *)0x0; - pbVar15 = &g_xmlNullStr; + pbVar17 = (byte *)*puVar20; + if (pbVar17 == (byte *)0x0) { + pcVar9 = (char *)0x0; + pbVar17 = &g_xmlNullStr; } else { - pcVar8 = (char *)puVar18[2]; + pcVar9 = (char *)puVar20[2]; } - if (pcVar8 == pcStack_10230) { - pbVar7 = pbVar15 + (int)pcVar8; - if (pbVar7 <= pbVar15) { + if (pcVar9 == pcStack_10230) { + pbVar8 = pbVar17 + (int)pcVar9; + if (pbVar8 <= pbVar17) { LAB_00696f40: - puVar18 = (undefined4 *)puVar18[8]; - if (puVar18 != (undefined4 *)0x0) { - uVar3 = uStack_101c0; + puVar20 = (undefined4 *)puVar20[8]; + if (puVar20 != (undefined4 *)0x0) { + uVar4 = auStack_10220._96_4_; goto LAB_00696f51; } break; } - iVar5 = (int)&DAT_00b66dcc - (int)pbVar15; - while (*pbVar15 == pbVar15[iVar5]) { - pbVar15 = pbVar15 + 1; - if (pbVar7 <= pbVar15) goto LAB_00696f40; + iVar6 = (int)&DAT_00b66dcc - (int)pbVar17; + while (*pbVar17 == pbVar17[iVar6]) { + pbVar17 = pbVar17 + 1; + if (pbVar8 <= pbVar17) goto LAB_00696f40; } } - puVar18 = (undefined4 *)puVar18[0xb]; - } while (puVar18 != (undefined4 *)0x0); + puVar20 = (undefined4 *)puVar20[0xb]; + } while (puVar20 != (undefined4 *)0x0); goto LAB_00697896; } LAB_0069789c: - pcVar8 = "bestiary"; + pcVar9 = "bestiary"; do { - pcVar16 = pcVar8; - pcVar8 = pcVar16 + 1; - } while (*pcVar8 != '\0'); - puVar18 = *(undefined4 **)(iVar5 + 0x18); - if (puVar18 != (undefined4 *)0x0) { + pcVar18 = pcVar9; + pcVar9 = pcVar18 + 1; + } while (*pcVar9 != '\0'); + puVar20 = *(undefined4 **)(iVar6 + 0x18); + if (puVar20 != (undefined4 *)0x0) { do { - pbVar15 = (byte *)*puVar18; - if (pbVar15 == (byte *)0x0) { - pcVar8 = (char *)0x0; - pbVar15 = &g_xmlNullStr; + pbVar17 = (byte *)*puVar20; + if (pbVar17 == (byte *)0x0) { + pcVar9 = (char *)0x0; + pbVar17 = &g_xmlNullStr; } else { - pcVar8 = (char *)puVar18[2]; + pcVar9 = (char *)puVar20[2]; } - if (pcVar8 == pcVar16 + -0xb66d4b) { - pbVar7 = (byte *)(pcVar8 + (int)pbVar15); - if (pbVar7 <= pbVar15) { + if (pcVar9 == pcVar18 + -0xb66d4b) { + pbVar8 = (byte *)(pcVar9 + (int)pbVar17); + if (pbVar8 <= pbVar17) { LAB_006978f0: - pcVar8 = (char *)puVar18[8]; - uStack_10138 = 1; + pcVar9 = (char *)puVar20[8]; + bStack_10138 = 1; goto joined_r0x00697902; } - iVar5 = (int)"bestiary" - (int)pbVar15; - while (*pbVar15 == pbVar15[iVar5]) { - pbVar15 = pbVar15 + 1; - if (pbVar7 <= pbVar15) goto LAB_006978f0; + iVar6 = (int)"bestiary" - (int)pbVar17; + while (*pbVar17 == pbVar17[iVar6]) { + pbVar17 = pbVar17 + 1; + if (pbVar8 <= pbVar17) goto LAB_006978f0; } } - puVar18 = (undefined4 *)puVar18[0xb]; - } while (puVar18 != (undefined4 *)0x0); - iVar5 = iStack_10238; + puVar20 = (undefined4 *)puVar20[0xb]; + } while (puVar20 != (undefined4 *)0x0); + iVar6 = iStack_10238; } LAB_00697958: - pcVar8 = "preload"; + pcVar9 = "preload"; do { - pcStack_10230 = pcVar8; - pcVar8 = pcStack_10230 + 1; - } while (*pcVar8 != '\0'); + pcStack_10230 = pcVar9; + pcVar9 = pcStack_10230 + 1; + } while (*pcVar9 != '\0'); pcStack_10230 = pcStack_10230 + -0xb66e03; - for (puStack_1022c = *(undefined4 **)(iVar5 + 0x18); puStack_1022c != (undefined4 *)0x0; + for (puStack_1022c = *(undefined4 **)(iVar6 + 0x18); puStack_1022c != (undefined4 *)0x0; puStack_1022c = (undefined4 *)puStack_1022c[0xb]) { - pbVar15 = (byte *)*puStack_1022c; - if (pbVar15 == (byte *)0x0) { - pcVar8 = (char *)0x0; - pbVar15 = &g_xmlNullStr; + pbVar17 = (byte *)*puStack_1022c; + if (pbVar17 == (byte *)0x0) { + pcVar9 = (char *)0x0; + pbVar17 = &g_xmlNullStr; } else { - pcVar8 = (char *)puStack_1022c[2]; + pcVar9 = (char *)puStack_1022c[2]; } - if (pcVar8 == pcStack_10230) { - pbVar7 = (byte *)(pcVar8 + (int)pbVar15); - if (pbVar7 <= pbVar15) goto joined_r0x00697ee4; - iVar5 = (int)"preload" - (int)pbVar15; - while (*pbVar15 == pbVar15[iVar5]) { - pbVar15 = pbVar15 + 1; - if (pbVar7 <= pbVar15) goto joined_r0x00697ee4; + if (pcVar9 == pcStack_10230) { + pbVar8 = (byte *)(pcVar9 + (int)pbVar17); + if (pbVar8 <= pbVar17) goto joined_r0x00697ee4; + iVar6 = (int)"preload" - (int)pbVar17; + while (*pbVar17 == pbVar17[iVar6]) { + pbVar17 = pbVar17 + 1; + if (pbVar8 <= pbVar17) goto joined_r0x00697ee4; } } } @@ -352780,139 +353116,139 @@ joined_r0x00697ee4: fStack_28 = 2.10195e-44; local_3c = (int *******)0x0; local_14 = (undefined4 ******)CONCAT31(local_14._1_3_,0x20); - for (puVar18 = (undefined4 *)puStack_1022c[8]; puVar18 != (undefined4 *)0x0; - puVar18 = (undefined4 *)puVar18[6]) { - pbVar15 = (byte *)*puVar18; - pbVar14 = s_id; - pbVar7 = &g_xmlNullStr; - if (pbVar15 != (byte *)0x0) { - pbVar7 = pbVar15; + for (puVar20 = (undefined4 *)puStack_1022c[8]; puVar20 != (undefined4 *)0x0; + puVar20 = (undefined4 *)puVar20[6]) { + pbVar17 = (byte *)*puVar20; + pbVar16 = s_id; + pbVar8 = &g_xmlNullStr; + if (pbVar17 != (byte *)0x0) { + pbVar8 = pbVar17; } do { - bVar1 = *pbVar7; - bVar21 = bVar1 < *pbVar14; - if (bVar1 != *pbVar14) { + bVar2 = *pbVar8; + bVar23 = bVar2 < *pbVar16; + if (bVar2 != *pbVar16) { LAB_00697f61: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00697f66; } - if (bVar1 == 0) break; - bVar1 = pbVar7[1]; - bVar21 = bVar1 < pbVar14[1]; - if (bVar1 != pbVar14[1]) goto LAB_00697f61; - pbVar7 = pbVar7 + 2; - pbVar14 = pbVar14 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar23 = bVar2 < pbVar16[1]; + if (bVar2 != pbVar16[1]) goto LAB_00697f61; + pbVar8 = pbVar8 + 2; + pbVar16 = pbVar16 + 2; + } while (bVar2 != 0); + uVar4 = 0; LAB_00697f66: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - local_48 = atoi((char *)pbVar15); + local_48 = atoi((char *)pbVar17); } else { - pcVar8 = "variant"; - pbVar7 = &g_xmlNullStr; - if (pbVar15 != (byte *)0x0) { - pbVar7 = pbVar15; + pcVar9 = "variant"; + pbVar8 = &g_xmlNullStr; + if (pbVar17 != (byte *)0x0) { + pbVar8 = pbVar17; } do { - bVar1 = *pbVar7; - bVar21 = bVar1 < (byte)*pcVar8; - if (bVar1 != *pcVar8) { + bVar2 = *pbVar8; + bVar23 = bVar2 < (byte)*pcVar9; + if (bVar2 != *pcVar9) { LAB_00697fb8: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00697fbd; } - if (bVar1 == 0) break; - bVar1 = pbVar7[1]; - bVar21 = bVar1 < (byte)pcVar8[1]; - if (bVar1 != pcVar8[1]) goto LAB_00697fb8; - pbVar7 = pbVar7 + 2; - pcVar8 = pcVar8 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar23 = bVar2 < (byte)pcVar9[1]; + if (bVar2 != pcVar9[1]) goto LAB_00697fb8; + pbVar8 = pbVar8 + 2; + pcVar9 = pcVar9 + 2; + } while (bVar2 != 0); + uVar4 = 0; LAB_00697fbd: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - local_44 = atoi((char *)pbVar15); + local_44 = atoi((char *)pbVar17); } else { - pcVar8 = "subtype"; - pbVar7 = &g_xmlNullStr; - if (pbVar15 != (byte *)0x0) { - pbVar7 = pbVar15; + pcVar9 = "subtype"; + pbVar8 = &g_xmlNullStr; + if (pbVar17 != (byte *)0x0) { + pbVar8 = pbVar17; } do { - bVar1 = *pbVar7; - bVar21 = bVar1 < (byte)*pcVar8; - if (bVar1 != *pcVar8) { + bVar2 = *pbVar8; + bVar23 = bVar2 < (byte)*pcVar9; + if (bVar2 != *pcVar9) { LAB_00698010: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00698015; } - if (bVar1 == 0) break; - bVar1 = pbVar7[1]; - bVar21 = bVar1 < (byte)pcVar8[1]; - if (bVar1 != pcVar8[1]) goto LAB_00698010; - pbVar7 = pbVar7 + 2; - pcVar8 = pcVar8 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar23 = bVar2 < (byte)pcVar9[1]; + if (bVar2 != pcVar9[1]) goto LAB_00698010; + pbVar8 = pbVar8 + 2; + pcVar9 = pcVar9 + 2; + } while (bVar2 != 0); + uVar4 = 0; LAB_00698015: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - local_40 = atoi((char *)pbVar15); + local_40 = atoi((char *)pbVar17); } else { - pbVar14 = &DAT_00b66e0c; - pbVar7 = &g_xmlNullStr; - if (pbVar15 != (byte *)0x0) { - pbVar7 = pbVar15; + pbVar16 = &DAT_00b66e0c; + pbVar8 = &g_xmlNullStr; + if (pbVar17 != (byte *)0x0) { + pbVar8 = pbVar17; } do { - bVar1 = *pbVar7; - bVar21 = bVar1 < *pbVar14; - if (bVar1 != *pbVar14) { + bVar2 = *pbVar8; + bVar23 = bVar2 < *pbVar16; + if (bVar2 != *pbVar16) { LAB_00698067: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_0069806c; } - if (bVar1 == 0) break; - bVar1 = pbVar7[1]; - bVar21 = bVar1 < pbVar14[1]; - if (bVar1 != pbVar14[1]) goto LAB_00698067; - pbVar7 = pbVar7 + 2; - pbVar14 = pbVar14 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar23 = bVar2 < pbVar16[1]; + if (bVar2 != pbVar16[1]) goto LAB_00698067; + pbVar8 = pbVar8 + 2; + pbVar16 = pbVar16 + 2; + } while (bVar2 != 0); + uVar4 = 0; LAB_0069806c: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - std::string::assign(pbVar15,(int)pbVar7 - (int)(pbVar15 + 1)); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + std::string::assign(pbVar17,(int)pbVar8 - (int)(pbVar17 + 1)); } } } } - if (puVar18[4] == 0) break; + if (puVar20[4] == 0) break; } - piVar4 = piStack_10190; + piVar5 = piStack_10190; if (piStack_10190 == piStack_1018c) { std::vector<36byte>::_Emplace_reallocate(piStack_10190,&local_48); } @@ -352921,100 +353257,100 @@ LAB_0069806c: piStack_10190[1] = local_44; piStack_10190[2] = local_40; std::string::string(&local_3c); - piStack_10190 = piVar4 + 9; + piStack_10190 = piVar5 + 9; } local_14._0_1_ = 3; if (0xf < (uint)fStack_28) { - uVar3 = (int)fStack_28 + 1; - pppppppiVar24 = local_3c; - if (0xfff < uVar3) { - pppppppiVar24 = (int *******)local_3c[-1]; - uVar3 = (int)fStack_28 + 0x24; - if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar24))) goto LAB_006989c8; + uVar4 = (int)fStack_28 + 1; + pppppppiVar26 = local_3c; + if (0xfff < uVar4) { + pppppppiVar26 = (int *******)local_3c[-1]; + uVar4 = (int)fStack_28 + 0x24; + if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar26))) goto LAB_006989c8; } - operator_delete(pppppppiVar24,uVar3); + operator_delete(pppppppiVar26,uVar4); } - pcVar8 = "preload"; + pcVar9 = "preload"; do { - pcVar16 = pcVar8; - pcVar8 = pcVar16 + 1; - } while (*pcVar8 != '\0'); + pcVar18 = pcVar9; + pcVar9 = pcVar18 + 1; + } while (*pcVar9 != '\0'); for (puStack_1022c = (undefined4 *)puStack_1022c[0xb]; puStack_1022c != (undefined4 *)0x0; puStack_1022c = (undefined4 *)puStack_1022c[0xb]) { - pbVar15 = (byte *)*puStack_1022c; - if (pbVar15 == (byte *)0x0) { - pcVar8 = (char *)0x0; - pbVar15 = &g_xmlNullStr; + pbVar17 = (byte *)*puStack_1022c; + if (pbVar17 == (byte *)0x0) { + pcVar9 = (char *)0x0; + pbVar17 = &g_xmlNullStr; } else { - pcVar8 = (char *)puStack_1022c[2]; + pcVar9 = (char *)puStack_1022c[2]; } - if (pcVar8 == pcVar16 + -0xb66e03) { - pbVar7 = pbVar15 + (int)pcVar8; - if (pbVar7 <= pbVar15) goto joined_r0x00697ee4; - iVar5 = (int)"preload" - (int)pbVar15; - while (*pbVar15 == pbVar15[iVar5]) { - pbVar15 = pbVar15 + 1; - if (pbVar7 <= pbVar15) goto joined_r0x00697ee4; + if (pcVar9 == pcVar18 + -0xb66e03) { + pbVar8 = pbVar17 + (int)pcVar9; + if (pbVar8 <= pbVar17) goto joined_r0x00697ee4; + iVar6 = (int)"preload" - (int)pbVar17; + while (*pbVar17 == pbVar17[iVar6]) { + pbVar17 = pbVar17 + 1; + if (pbVar8 <= pbVar17) goto joined_r0x00697ee4; } } } puStack_1022c = (undefined4 *)0x0; goto joined_r0x00697ee4; } - pcVar8 = "preload-snd"; + pcVar9 = "preload-snd"; do { - pcStack_10230 = pcVar8; - pcVar8 = pcStack_10230 + 1; - } while (*pcVar8 != '\0'); + pcStack_10230 = pcVar9; + pcVar9 = pcStack_10230 + 1; + } while (*pcVar9 != '\0'); pcStack_10230 = pcStack_10230 + -0xb66e13; - for (puVar18 = *(undefined4 **)(iStack_10238 + 0x18); puVar18 != (undefined4 *)0x0; - puVar18 = (undefined4 *)puVar18[0xb]) { - pbVar15 = (byte *)*puVar18; - if (pbVar15 == (byte *)0x0) { - pcVar8 = (char *)0x0; - pbVar15 = &g_xmlNullStr; + for (puVar20 = *(undefined4 **)(iStack_10238 + 0x18); puVar20 != (undefined4 *)0x0; + puVar20 = (undefined4 *)puVar20[0xb]) { + pbVar17 = (byte *)*puVar20; + if (pbVar17 == (byte *)0x0) { + pcVar9 = (char *)0x0; + pbVar17 = &g_xmlNullStr; } else { - pcVar8 = (char *)puVar18[2]; + pcVar9 = (char *)puVar20[2]; } - if (pcVar8 == pcStack_10230) { - pbVar7 = (byte *)(pcVar8 + (int)pbVar15); - if (pbVar7 <= pbVar15) { + if (pcVar9 == pcStack_10230) { + pbVar8 = (byte *)(pcVar9 + (int)pbVar17); + if (pbVar8 <= pbVar17) { LAB_00698210: - puVar11 = (undefined4 *)puVar18[8]; + puVar12 = (undefined4 *)puVar20[8]; puStack_1022c = (undefined4 *)0x0; - for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)puVar11[6]) { - pbVar15 = &g_xmlNullStr; - if ((byte *)*puVar11 != (byte *)0x0) { - pbVar15 = (byte *)*puVar11; + for (; puVar12 != (undefined4 *)0x0; puVar12 = (undefined4 *)puVar12[6]) { + pbVar17 = &g_xmlNullStr; + if ((byte *)*puVar12 != (byte *)0x0) { + pbVar17 = (byte *)*puVar12; } - pbVar7 = s_id; + pbVar8 = s_id; do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar7; - if (bStack_10221 != *pbVar7) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar8; + if (bStack_10221 != *pbVar8) { LAB_0069828c: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00698291; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar7[1]; - if (bStack_10221 != pbVar7[1]) goto LAB_0069828c; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar8[1]; + if (bStack_10221 != pbVar8[1]) goto LAB_0069828c; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; } while (bStack_10221 != 0); - uVar3 = 0; + uVar4 = 0; LAB_00698291: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar11[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar11[1]; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar12[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar12[1]; } - puStack_1022c = (undefined4 *)atoi((char *)pbVar15); + puStack_1022c = (undefined4 *)atoi((char *)pbVar17); } - if (puVar11[4] == 0) break; + if (puVar12[4] == 0) break; } if (piStack_10184 == piStack_10180) { FUN_0069efc0(piStack_10184,&puStack_1022c); @@ -353023,125 +353359,128 @@ LAB_00698291: *piStack_10184 = (int)puStack_1022c; piStack_10184 = piStack_10184 + 1; } - pcVar8 = "preload-snd"; + pcVar9 = "preload-snd"; do { - pcStack_10230 = pcVar8; - pcVar8 = pcStack_10230 + 1; - } while (*pcVar8 != '\0'); - puVar18 = (undefined4 *)puVar18[0xb]; + pcStack_10230 = pcVar9; + pcVar9 = pcStack_10230 + 1; + } while (*pcVar9 != '\0'); + puVar20 = (undefined4 *)puVar20[0xb]; pcStack_10230 = pcStack_10230 + -0xb66e13; do { - if (puVar18 == (undefined4 *)0x0) goto LAB_0069835c; - pbVar15 = (byte *)*puVar18; - if (pbVar15 == (byte *)0x0) { - pcVar8 = (char *)0x0; - pbVar15 = &g_xmlNullStr; + if (puVar20 == (undefined4 *)0x0) goto LAB_0069835c; + pbVar17 = (byte *)*puVar20; + if (pbVar17 == (byte *)0x0) { + pcVar9 = (char *)0x0; + pbVar17 = &g_xmlNullStr; } else { - pcVar8 = (char *)puVar18[2]; + pcVar9 = (char *)puVar20[2]; } - if (pcVar8 == pcStack_10230) { - pbVar7 = (byte *)(pcVar8 + (int)pbVar15); - if (pbVar7 <= pbVar15) goto LAB_00698210; - iVar5 = (int)"preload-snd" - (int)pbVar15; - while (*pbVar15 == pbVar15[iVar5]) { - pbVar15 = pbVar15 + 1; - if (pbVar7 <= pbVar15) goto LAB_00698210; + if (pcVar9 == pcStack_10230) { + pbVar8 = (byte *)(pcVar9 + (int)pbVar17); + if (pbVar8 <= pbVar17) goto LAB_00698210; + iVar6 = (int)"preload-snd" - (int)pbVar17; + while (*pbVar17 == pbVar17[iVar6]) { + pbVar17 = pbVar17 + 1; + if (pbVar8 <= pbVar17) goto LAB_00698210; } } - puVar18 = (undefined4 *)puVar18[0xb]; + puVar20 = (undefined4 *)puVar20[0xb]; } while( true ); } - iVar5 = (int)"preload-snd" - (int)pbVar15; - while (*pbVar15 == pbVar15[iVar5]) { - pbVar15 = pbVar15 + 1; - if (pbVar7 <= pbVar15) goto LAB_00698210; + iVar6 = (int)"preload-snd" - (int)pbVar17; + while (*pbVar17 == pbVar17[iVar6]) { + pbVar17 = pbVar17 + 1; + if (pbVar8 <= pbVar17) goto LAB_00698210; } } } LAB_0069835c: - pcVar8 = "devolve"; + pcVar9 = "devolve"; do { - pcVar16 = pcVar8; - pcVar8 = pcVar16 + 1; - } while (*pcVar8 != '\0'); + pcVar18 = pcVar9; + pcVar9 = pcVar18 + 1; + } while (*pcVar9 != '\0'); for (puStack_1022c = *(undefined4 **)(iStack_10238 + 0x18); puStack_1022c != (undefined4 *)0x0; puStack_1022c = (undefined4 *)puStack_1022c[0xb]) { - pbVar15 = (byte *)*puStack_1022c; - if (pbVar15 == (byte *)0x0) { - pcVar8 = (char *)0x0; - pbVar15 = &g_xmlNullStr; + pbVar17 = (byte *)*puStack_1022c; + if (pbVar17 == (byte *)0x0) { + pcVar9 = (char *)0x0; + pbVar17 = &g_xmlNullStr; } else { - pcVar8 = (char *)puStack_1022c[2]; + pcVar9 = (char *)puStack_1022c[2]; } - if (pcVar8 == pcVar16 + -0xb66e1f) { - pbVar7 = pbVar15 + (int)pcVar8; - if (pbVar7 <= pbVar15) goto LAB_006983c0; - iVar5 = (int)"devolve" - (int)pbVar15; - while (*pbVar15 == pbVar15[iVar5]) { - pbVar15 = pbVar15 + 1; - if (pbVar7 <= pbVar15) goto LAB_006983c0; + if (pcVar9 == pcVar18 + -0xb66e1f) { + pbVar8 = pbVar17 + (int)pcVar9; + if (pbVar8 <= pbVar17) goto LAB_006983c0; + iVar6 = (int)"devolve" - (int)pbVar17; + while (*pbVar17 == pbVar17[iVar6]) { + pbVar17 = pbVar17 + 1; + if (pbVar8 <= pbVar17) goto LAB_006983c0; } } } LAB_00698436: - iStack_100c0 = iStack_1024c; - if (iStack_1024c != 0) { - iVar5 = *piStack_10244; - iVar6 = iStack_10220; + pvStack_100c0 = pvStack_1024c; + if (pvStack_1024c != (void *)0x0) { + iVar6 = *piStack_10244; + iVar7 = auStack_10220._0_4_; while( true ) { - iStack_10220 = iVar6; - pcVar8 = (char *)((iStack_10220 << 0xc | uStack_1021c) << 8 | uStack_10218); - pcStack_10230 = pcVar8; + auStack_10220._0_4_ = iVar7; + pcVar9 = (char *)((auStack_10220._0_4_ << 0xc | auStack_10220._4_4_) << 8 | + auStack_10220._8_4_); + pcStack_10230 = pcVar9; _Find_lower_bound<>(auStack_10298,&pcStack_10230); if ((*(char *)(iStack_10290 + 0xd) != '\0') || - (iVar6 = iStack_10290, pcVar8 < *(char **)(iStack_10290 + 0x10))) { - iVar6 = *piStack_10244; + (iVar7 = iStack_10290, pcVar9 < *(char **)(iStack_10290 + 0x10))) { + iVar7 = *piStack_10244; } - if (iVar6 == iVar5) break; - if (((iStack_10220 == 1000) || (iStack_10220 == 0x2329)) || (iStack_10220 < 10)) { - uStack_1021c = uStack_1021c + 1; - iVar6 = iStack_10220; + if (iVar7 == iVar6) break; + if (((auStack_10220._0_4_ == 1000) || (auStack_10220._0_4_ == 0x2329)) || + ((int)auStack_10220._0_4_ < 10)) { + auStack_10220._4_4_ = auStack_10220._4_4_ + 1; + iVar7 = auStack_10220._0_4_; } else { - iVar6 = iStack_10220 + 1; - if ((iVar6 == 0x2329) || (iVar6 == 1000)) { - iVar6 = iStack_10220 + 2; + iVar7 = auStack_10220._0_4_ + 1; + if ((iVar7 == 0x2329) || (iVar7 == 1000)) { + iVar7 = auStack_10220._0_4_ + 2; } } } } - piVar10 = piStack_10244; - pcStack_10230 = (char *)((iStack_10220 << 0xc | uStack_1021c) << 8 | uStack_10218); - piVar4 = &iStack_10220; - FUN_0069d8f0(&pcStack_10230); - EntityConfig_Entity::operator_assign(piVar4); - iVar5 = iStack_1015c; - if ((cStack_101f4 == '\0') && (cStack_10154 != '\0')) { - iStack_38 = iStack_10220; - uStack_34 = uStack_1021c; - pppppppiStack_2c = pppppppiStack_101d0; - uStack_30 = uStack_10218; - fStack_28 = fStack_101cc; - cVar2 = str_eq("ground",6); - if ((cVar2 == '\0') && ((iVar5 != 0 || (iStack_101d8 < 1)))) { - piVar4 = piVar10 + 0x11; + piVar5 = piStack_10244; + pcStack_10230 = + (char *)((auStack_10220._0_4_ << 0xc | auStack_10220._4_4_) << 8 | auStack_10220._8_4_); + puVar27 = auStack_10220; + pEVar14 = (EntityConfig_Entity *)FUN_0069d8f0(&pcStack_10230); + EntityConfig_Entity::operator_assign(pEVar14,puVar27); + uVar4 = uStack_1015c; + if ((auStack_10220[0x2c] == 0) && (bStack_10154 != 0)) { + iStack_38 = auStack_10220._0_4_; + uStack_34 = auStack_10220._4_4_; + pppppppiStack_2c = (int *******)auStack_10220._80_4_; + uStack_30 = auStack_10220._8_4_; + fStack_28 = (float)auStack_10220._84_4_; + cVar3 = str_eq("ground",6); + if ((cVar3 == '\0') && ((uVar4 != 0 || ((int)auStack_10220._72_4_ < 1)))) { + piVar11 = piVar5 + 0x11; } else { - piVar4 = piVar10 + 0xe; + piVar11 = piVar5 + 0xe; } - piVar17 = (int *)piVar4[1]; - if (piVar17 == (int *)piVar4[2]) { - std::vector<20byte>::_Emplace_reallocate(piVar17,&iStack_38); + piVar19 = (int *)piVar11[1]; + if (piVar19 == (int *)piVar11[2]) { + std::vector<20byte>::_Emplace_reallocate(piVar19,&iStack_38); } else { - *piVar17 = iStack_38; - piVar17[1] = uStack_34; - piVar17[2] = uStack_30; - piVar17[3] = (int)pppppppiStack_2c; - piVar17[4] = (int)fStack_28; - piVar4[1] = piVar4[1] + 0x14; + *piVar19 = iStack_38; + piVar19[1] = uStack_34; + piVar19[2] = uStack_30; + piVar19[3] = (int)pppppppiStack_2c; + piVar19[4] = (int)fStack_28; + piVar11[1] = piVar11[1] + 0x14; } } local_14._0_1_ = 1; @@ -353149,15 +353488,15 @@ LAB_00698436: std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); if (0xf < (uint)fStack_10114) { - uVar3 = (int)fStack_10114 + 1; - pppppppiVar24 = pppppppiStack_10128; - if (0xfff < uVar3) { - pppppppiVar24 = (int *******)pppppppiStack_10128[-1]; - uVar3 = (int)fStack_10114 + 0x24; - if ((byte *)0x1f < (byte *)((int)pppppppiStack_10128 + (-4 - (int)pppppppiVar24))) + uVar4 = (int)fStack_10114 + 1; + pppppppiVar26 = pppppppiStack_10128; + if (0xfff < uVar4) { + pppppppiVar26 = (int *******)pppppppiStack_10128[-1]; + uVar4 = (int)fStack_10114 + 0x24; + if ((byte *)0x1f < (byte *)((int)pppppppiStack_10128 + (-4 - (int)pppppppiVar26))) goto LAB_006989c8; } - operator_delete(pppppppiVar24,uVar3); + operator_delete(pppppppiVar26,uVar4); } pppppppiStack_10118 = (int *******)0x0; fStack_10114 = 2.10195e-44; @@ -353167,19 +353506,19 @@ LAB_00698436: FID_conflict__Tidy(auStack_10188); FUN_0069db30(); if (0xf < (uint)fStack_10198) { - uVar3 = (int)fStack_10198 + 1; - pppppppiVar24 = pppppppiStack_101ac; - if (0xfff < uVar3) { - pppppppiVar24 = (int *******)pppppppiStack_101ac[-1]; - uVar3 = (int)fStack_10198 + 0x24; - if ((byte *)0x1f < (byte *)((int)pppppppiStack_101ac + (-4 - (int)pppppppiVar24))) + uVar4 = (int)fStack_10198 + 1; + pppppppiVar26 = (int *******)auStack_10220._116_4_; + if (0xfff < uVar4) { + pppppppiVar26 = *(int ********)(auStack_10220._116_4_ + -4); + uVar4 = (int)fStack_10198 + 0x24; + if ((byte *)0x1f < (byte *)(auStack_10220._116_4_ + (-4 - (int)pppppppiVar26))) goto LAB_006989c8; } - operator_delete(pppppppiVar24,uVar3); + operator_delete(pppppppiVar26,uVar4); } pppppppiStack_1019c = (int *******)0x0; fStack_10198 = 2.10195e-44; - pppppppiStack_101ac = (int *******)((uint)pppppppiStack_101ac & 0xffffff00); + auStack_10220._116_4_ = auStack_10220._116_4_ & 0xffffff00; FUN_0069dbc0(); std::string::_Tidy_deallocate(); iStack_10238 = *(int *)(iStack_10238 + 0x2c); @@ -353187,775 +353526,775 @@ LAB_00698436: goto LAB_0069533f; LAB_00696f51: do { - pcVar8 = "amount"; - pbVar15 = &g_xmlNullStr; - if ((byte *)*puVar18 != (byte *)0x0) { - pbVar15 = (byte *)*puVar18; + pcVar9 = "amount"; + pbVar17 = &g_xmlNullStr; + if ((byte *)*puVar20 != (byte *)0x0) { + pbVar17 = (byte *)*puVar20; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != *pcVar9) { LAB_00696fb2: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_00696fb7; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != pcVar8[1]) goto LAB_00696fb2; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != pcVar9[1]) goto LAB_00696fb2; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar12 = 0; + uVar13 = 0; LAB_00696fb7: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - iStack_101c4 = atoi((char *)pbVar15); + auStack_10220._92_4_ = atoi((char *)pbVar17); } else { - pcVar8 = "blood"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "blood"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != *pcVar9) { LAB_0069702a: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069702f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != pcVar8[1]) goto LAB_0069702a; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != pcVar9[1]) goto LAB_0069702a; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar12 = 0; + uVar13 = 0; LAB_0069702f: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_00697065: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069706a; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_00697065; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_00697065; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_0069706a: - if (uVar12 == 0) { - uVar3 = uVar3 | 1; + if (uVar13 == 0) { + uVar4 = uVar4 | 1; LAB_0069787f: - uStack_101c0 = uVar3; + auStack_10220._96_4_ = uVar4; } } else { - pbVar14 = &DAT_00b66d98; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar16 = &DAT_00b66d98; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar14; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != *pbVar14) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar16; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != *pbVar16) { LAB_006970ca: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_006970cf; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar14[1]; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != pbVar14[1]) goto LAB_006970ca; - pbVar15 = pbVar15 + 2; - pbVar14 = pbVar14 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar16[1]; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != pbVar16[1]) goto LAB_006970ca; + pbVar17 = pbVar17 + 2; + pbVar16 = pbVar16 + 2; } while (bStack_10221 != 0); - uVar12 = 0; + uVar13 = 0; LAB_006970cf: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_00697105: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069710a; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_00697105; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_00697105; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_0069710a: - if (uVar12 == 0) { - uVar3 = uVar3 | 2; + if (uVar13 == 0) { + uVar4 = uVar4 | 2; goto LAB_0069787f; } } else { - pbVar14 = &DAT_00b66da0; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar16 = &DAT_00b66da0; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar14; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != *pbVar14) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar16; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != *pbVar16) { LAB_0069716a: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069716f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar14[1]; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != pbVar14[1]) goto LAB_0069716a; - pbVar15 = pbVar15 + 2; - pbVar14 = pbVar14 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar16[1]; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != pbVar16[1]) goto LAB_0069716a; + pbVar17 = pbVar17 + 2; + pbVar16 = pbVar16 + 2; } while (bStack_10221 != 0); - uVar12 = 0; + uVar13 = 0; LAB_0069716f: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_006971a5: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_006971aa; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_006971a5; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_006971a5; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_006971aa: - if (uVar12 == 0) { - uVar3 = uVar3 | 4; + if (uVar13 == 0) { + uVar4 = uVar4 | 4; goto LAB_0069787f; } } else { - pbVar14 = &DAT_00b66da4; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar16 = &DAT_00b66da4; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar14; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != *pbVar14) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar16; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != *pbVar16) { LAB_0069720a: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069720f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar14[1]; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != pbVar14[1]) goto LAB_0069720a; - pbVar15 = pbVar15 + 2; - pbVar14 = pbVar14 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar16[1]; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != pbVar16[1]) goto LAB_0069720a; + pbVar17 = pbVar17 + 2; + pbVar16 = pbVar16 + 2; } while (bStack_10221 != 0); - uVar12 = 0; + uVar13 = 0; LAB_0069720f: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_00697245: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069724a; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_00697245; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_00697245; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_0069724a: - if (uVar12 == 0) { - uVar3 = uVar3 | 8; + if (uVar13 == 0) { + uVar4 = uVar4 | 8; goto LAB_0069787f; } } else { - pcVar8 = "large"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "large"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != *pcVar9) { LAB_006972aa: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_006972af; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != pcVar8[1]) goto LAB_006972aa; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != pcVar9[1]) goto LAB_006972aa; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar12 = 0; + uVar13 = 0; LAB_006972af: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_006972e5: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_006972ea; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_006972e5; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_006972e5; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_006972ea: - if (uVar12 == 0) { - uVar3 = uVar3 | 0x10; + if (uVar13 == 0) { + uVar4 = uVar4 | 0x10; goto LAB_0069787f; } } else { - pbVar14 = &DAT_00b66afc; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar16 = &DAT_00b66afc; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar14; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != *pbVar14) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar16; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != *pbVar16) { LAB_0069734a: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069734f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar14[1]; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != pbVar14[1]) goto LAB_0069734a; - pbVar15 = pbVar15 + 2; - pbVar14 = pbVar14 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar16[1]; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != pbVar16[1]) goto LAB_0069734a; + pbVar17 = pbVar17 + 2; + pbVar16 = pbVar16 + 2; } while (bStack_10221 != 0); - uVar12 = 0; + uVar13 = 0; LAB_0069734f: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_00697385: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069738a; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_00697385; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_00697385; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_0069738a: - if (uVar12 == 0) { - uVar3 = uVar3 | 0x20; + if (uVar13 == 0) { + uVar4 = uVar4 | 0x20; goto LAB_0069787f; } } else { - pbVar14 = &DAT_00b66d74; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar16 = &DAT_00b66d74; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar14; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != *pbVar14) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar16; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != *pbVar16) { LAB_006973ea: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_006973ef; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar14[1]; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != pbVar14[1]) goto LAB_006973ea; - pbVar15 = pbVar15 + 2; - pbVar14 = pbVar14 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar16[1]; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != pbVar16[1]) goto LAB_006973ea; + pbVar17 = pbVar17 + 2; + pbVar16 = pbVar16 + 2; } while (bStack_10221 != 0); - uVar12 = 0; + uVar13 = 0; LAB_006973ef: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_00697425: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069742a; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_00697425; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_00697425; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_0069742a: - if (uVar12 == 0) { - uVar3 = uVar3 | 0x40; + if (uVar13 == 0) { + uVar4 = uVar4 | 0x40; goto LAB_0069787f; } } else { - pbVar14 = &DAT_00b66d7c; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar16 = &DAT_00b66d7c; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar14; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != *pbVar14) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar16; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != *pbVar16) { LAB_0069748a: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069748f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar14[1]; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != pbVar14[1]) goto LAB_0069748a; - pbVar15 = pbVar15 + 2; - pbVar14 = pbVar14 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar16[1]; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != pbVar16[1]) goto LAB_0069748a; + pbVar17 = pbVar17 + 2; + pbVar16 = pbVar16 + 2; } while (bStack_10221 != 0); - uVar12 = 0; + uVar13 = 0; LAB_0069748f: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_006974c5: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_006974ca; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_006974c5; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_006974c5; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_006974ca: - if (uVar12 == 0) { - uVar3 = uVar3 | 0x80; + if (uVar13 == 0) { + uVar4 = uVar4 | 0x80; goto LAB_0069787f; } } else { - pcVar8 = "rock_small"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "rock_small"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != *pcVar9) { LAB_0069752a: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069752f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != pcVar8[1]) goto LAB_0069752a; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != pcVar9[1]) goto LAB_0069752a; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar12 = 0; + uVar13 = 0; LAB_0069752f: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_00697565: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069756a; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_00697565; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_00697565; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_0069756a: - if (uVar12 == 0) { - uVar3 = uVar3 | 0x100; + if (uVar13 == 0) { + uVar4 = uVar4 | 0x100; goto LAB_0069787f; } } else { - pcVar8 = "sound_baby"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "sound_baby"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != *pcVar9) { LAB_006975ca: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_006975cf; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != pcVar8[1]) goto LAB_006975ca; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != pcVar9[1]) goto LAB_006975ca; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar12 = 0; + uVar13 = 0; LAB_006975cf: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_00697605: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069760a; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_00697605; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_00697605; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_0069760a: - if (uVar12 == 0) { - uVar3 = uVar3 | 0x200; + if (uVar13 == 0) { + uVar4 = uVar4 | 0x200; goto LAB_0069787f; } } else { - pcVar8 = "sound_bone"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "sound_bone"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != *pcVar9) { LAB_0069766a: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069766f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != pcVar8[1]) goto LAB_0069766a; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != pcVar9[1]) goto LAB_0069766a; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar12 = 0; + uVar13 = 0; LAB_0069766f: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_006976a5: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_006976aa; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_006976a5; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_006976a5; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_006976aa: - if (uVar12 == 0) { - uVar3 = uVar3 | 0x400; + if (uVar13 == 0) { + uVar4 = uVar4 | 0x400; goto LAB_0069787f; } } else { - pcVar8 = "chain"; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pcVar9 = "chain"; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < (byte)*pcVar8; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != *pcVar8) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < (byte)*pcVar9; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != *pcVar9) { LAB_0069770a: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069770f; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < (byte)pcVar8[1]; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != pcVar8[1]) goto LAB_0069770a; - pbVar15 = pbVar15 + 2; - pcVar8 = pcVar8 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < (byte)pcVar9[1]; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != pcVar9[1]) goto LAB_0069770a; + pbVar17 = pbVar17 + 2; + pcVar9 = pcVar9 + 2; } while (bStack_10221 != 0); - uVar12 = 0; + uVar13 = 0; LAB_0069770f: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_00697745: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_0069774a; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_00697745; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_00697745; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_0069774a: - if (uVar12 == 0) { - uVar3 = uVar3 | 0x800; + if (uVar13 == 0) { + uVar4 = uVar4 | 0x800; goto LAB_0069787f; } } else { - pbVar14 = &DAT_00b66dfc; - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar16 = &DAT_00b66dfc; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } do { - bStack_10221 = *pbVar15; - bVar21 = bStack_10221 < *pbVar14; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != *pbVar14) { + bStack_10221 = *pbVar17; + bVar23 = bStack_10221 < *pbVar16; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != *pbVar16) { LAB_006977aa: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_006977af; } if (bStack_10221 == 0) break; - bStack_10221 = pbVar15[1]; - bVar21 = bStack_10221 < pbVar14[1]; - pbVar7 = (byte *)*puVar18; - if (bStack_10221 != pbVar14[1]) goto LAB_006977aa; - pbVar15 = pbVar15 + 2; - pbVar14 = pbVar14 + 2; + bStack_10221 = pbVar17[1]; + bVar23 = bStack_10221 < pbVar16[1]; + pbVar8 = (byte *)*puVar20; + if (bStack_10221 != pbVar16[1]) goto LAB_006977aa; + pbVar17 = pbVar17 + 2; + pbVar16 = pbVar16 + 2; } while (bStack_10221 != 0); - uVar12 = 0; + uVar13 = 0; LAB_006977af: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_006977e5: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_006977ea; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_006977e5; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_006977e5; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_006977ea: - if (uVar12 == 0) { - uVar3 = uVar3 | 0x1000; + if (uVar13 == 0) { + uVar4 = uVar4 | 0x1000; goto LAB_0069787f; } } else { - pbVar15 = &g_xmlNullStr; - if (pbVar7 != (byte *)0x0) { - pbVar15 = pbVar7; + pbVar17 = &g_xmlNullStr; + if (pbVar8 != (byte *)0x0) { + pbVar17 = pbVar8; } - pbVar7 = &DAT_00b66da8; + pbVar8 = &DAT_00b66da8; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_00697830: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_00697835; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_00697830; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_00697830; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_00697835: - if (uVar12 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar13 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - pbVar7 = &DAT_00b63104; + pbVar8 = &DAT_00b63104; do { - bVar1 = *pbVar15; - bVar21 = bVar1 < *pbVar7; - if (bVar1 != *pbVar7) { + bVar2 = *pbVar17; + bVar23 = bVar2 < *pbVar8; + if (bVar2 != *pbVar8) { LAB_00697870: - uVar12 = -(uint)bVar21 | 1; + uVar13 = -(uint)bVar23 | 1; goto LAB_00697875; } - if (bVar1 == 0) break; - bVar1 = pbVar15[1]; - bVar21 = bVar1 < pbVar7[1]; - if (bVar1 != pbVar7[1]) goto LAB_00697870; - pbVar15 = pbVar15 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar12 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar17[1]; + bVar23 = bVar2 < pbVar8[1]; + if (bVar2 != pbVar8[1]) goto LAB_00697870; + pbVar17 = pbVar17 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar13 = 0; LAB_00697875: - if (uVar12 == 0) { - uVar3 = uVar3 | 0x2000; + if (uVar13 == 0) { + uVar4 = uVar4 | 0x2000; goto LAB_0069787f; } } @@ -353973,50 +354312,50 @@ LAB_00697875: } } } - } while ((puVar18[4] != 0) && (puVar18 = (undefined4 *)puVar18[6], puVar18 != (undefined4 *)0x0)); + } while ((puVar20[4] != 0) && (puVar20 = (undefined4 *)puVar20[6], puVar20 != (undefined4 *)0x0)); LAB_00697896: - iVar5 = iStack_10238; + iVar6 = iStack_10238; goto LAB_0069789c; joined_r0x00697902: - if (pcVar8 == (char *)0x0) goto LAB_00697e7d; - pbVar15 = *(byte **)pcVar8; - pcVar16 = "transform"; - pbVar7 = &g_xmlNullStr; - if (pbVar15 != (byte *)0x0) { - pbVar7 = pbVar15; + if (pcVar9 == (char *)0x0) goto LAB_00697e7d; + pbVar17 = *(byte **)pcVar9; + pcVar18 = "transform"; + pbVar8 = &g_xmlNullStr; + if (pbVar17 != (byte *)0x0) { + pbVar8 = pbVar17; } do { - bVar1 = *pbVar7; - bVar21 = bVar1 < (byte)*pcVar16; - if (bVar1 != *pcVar16) { + bVar2 = *pbVar8; + bVar23 = bVar2 < (byte)*pcVar18; + if (bVar2 != *pcVar18) { LAB_00697994: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00697999; } - if (bVar1 == 0) break; - bVar1 = pbVar7[1]; - bVar21 = bVar1 < (byte)pcVar16[1]; - if (bVar1 != pcVar16[1]) goto LAB_00697994; - pbVar7 = pbVar7 + 2; - pcVar16 = pcVar16 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar23 = bVar2 < (byte)pcVar18[1]; + if (bVar2 != pcVar18[1]) goto LAB_00697994; + pbVar8 = pbVar8 + 2; + pcVar18 = pcVar18 + 2; + } while (bVar2 != 0); + uVar4 = 0; LAB_00697999: - pcStack_10230 = pcVar8; - if (uVar3 == 0) { + pcStack_10230 = pcVar9; + if (uVar4 == 0) { pppppppiStack_2c = (int *******)0x0; - pbVar15 = &g_xmlNullStr; - if (*(byte **)(pcVar8 + 4) != (byte *)0x0) { - pbVar15 = *(byte **)(pcVar8 + 4); + pbVar17 = &g_xmlNullStr; + if (*(byte **)(pcVar9 + 4) != (byte *)0x0) { + pbVar17 = *(byte **)(pcVar9 + 4); } fStack_28 = 2.10195e-44; local_3c = (int *******)0x0; - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - std::string::assign(pbVar15,(int)pbVar7 - (int)(pbVar15 + 1)); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + std::string::assign(pbVar17,(int)pbVar8 - (int)(pbVar17 + 1)); local_14._0_1_ = 0x1b; uStack_10234 = uStack_10234 | 4; pcStack_10268 = (char *)0x0; @@ -354026,77 +354365,77 @@ LAB_00697999: string_split(&pcStack_10268); local_14._0_1_ = 0x1c; if (0xf < (uint)fStack_28) { - uVar3 = (int)fStack_28 + 1; - pppppppiVar24 = local_3c; - if (0xfff < uVar3) { - pppppppiVar24 = (int *******)local_3c[-1]; - uVar3 = (int)fStack_28 + 0x24; - if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar24))) goto LAB_006989c8; + uVar4 = (int)fStack_28 + 1; + pppppppiVar26 = local_3c; + if (0xfff < uVar4) { + pppppppiVar26 = (int *******)local_3c[-1]; + uVar4 = (int)fStack_28 + 0x24; + if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar26))) goto LAB_006989c8; } - operator_delete(pppppppiVar24,uVar3); + operator_delete(pppppppiVar26,uVar4); } - pcVar16 = pcStack_10268; + pcVar18 = pcStack_10268; if ((iStack_10264 - (int)pcStack_10268) / 0x18 == 3) { - pcVar19 = pcStack_10268; + pcVar21 = pcStack_10268; if (0xf < *(uint *)(pcStack_10268 + 0x14)) { - pcVar19 = *(char **)pcStack_10268; + pcVar21 = *(char **)pcStack_10268; } - dVar22 = atof(pcVar19); - fStack_10134 = (float)dVar22; - pcVar19 = pcVar16 + 0x18; - if (0xf < *(uint *)(pcVar16 + 0x2c)) { - pcVar19 = *(char **)pcVar19; + dVar24 = atof(pcVar21); + fStack_10134 = (float)dVar24; + pcVar21 = pcVar18 + 0x18; + if (0xf < *(uint *)(pcVar18 + 0x2c)) { + pcVar21 = *(char **)pcVar21; } - dVar22 = atof(pcVar19); - fStack_10130 = (float)dVar22; - pcVar19 = pcVar16 + 0x30; - if (0xf < *(uint *)(pcVar16 + 0x44)) { - pcVar19 = *(char **)pcVar19; + dVar24 = atof(pcVar21); + fStack_10130 = (float)dVar24; + pcVar21 = pcVar18 + 0x30; + if (0xf < *(uint *)(pcVar18 + 0x44)) { + pcVar21 = *(char **)pcVar21; } - dVar22 = atof(pcVar19); - fStack_1012c = (float)dVar22; + dVar24 = atof(pcVar21); + fStack_1012c = (float)dVar24; } uStack_10234 = uStack_10234 & 0xfffffffb; local_14._0_1_ = 3; std::vector::_Tidy(); } else { - pcVar16 = "parent"; - pbVar7 = &g_xmlNullStr; - if (pbVar15 != (byte *)0x0) { - pbVar7 = pbVar15; + pcVar18 = "parent"; + pbVar8 = &g_xmlNullStr; + if (pbVar17 != (byte *)0x0) { + pbVar8 = pbVar17; } do { - bVar1 = *pbVar7; - bVar21 = bVar1 < (byte)*pcVar16; - if (bVar1 != *pcVar16) { + bVar2 = *pbVar8; + bVar23 = bVar2 < (byte)*pcVar18; + if (bVar2 != *pcVar18) { LAB_00697b24: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00697b29; } - if (bVar1 == 0) break; - bVar1 = pbVar7[1]; - bVar21 = bVar1 < (byte)pcVar16[1]; - if (bVar1 != pcVar16[1]) goto LAB_00697b24; - pbVar7 = pbVar7 + 2; - pcVar16 = pcVar16 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar23 = bVar2 < (byte)pcVar18[1]; + if (bVar2 != pcVar18[1]) goto LAB_00697b24; + pbVar8 = pbVar8 + 2; + pcVar18 = pcVar18 + 2; + } while (bVar2 != 0); + uVar4 = 0; LAB_00697b29: - if (uVar3 == 0) { + if (uVar4 == 0) { pppppppiStack_2c = (int *******)0x0; - pbVar15 = &g_xmlNullStr; - if (*(byte **)(pcVar8 + 4) != (byte *)0x0) { - pbVar15 = *(byte **)(pcVar8 + 4); + pbVar17 = &g_xmlNullStr; + if (*(byte **)(pcVar9 + 4) != (byte *)0x0) { + pbVar17 = *(byte **)(pcVar9 + 4); } fStack_28 = 2.10195e-44; local_3c = (int *******)0x0; - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - std::string::assign(pbVar15,(int)pbVar7 - (int)(pbVar15 + 1)); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + std::string::assign(pbVar17,(int)pbVar8 - (int)(pbVar17 + 1)); local_14._0_1_ = 0x1e; uStack_10234 = uStack_10234 | 8; pcStack_10274 = (char *)0x0; @@ -354106,81 +354445,81 @@ LAB_00697b29: string_split(&pcStack_10274); local_14._0_1_ = 0x1f; if (0xf < (uint)fStack_28) { - uVar3 = (int)fStack_28 + 1; - pppppppiVar24 = local_3c; - if (0xfff < uVar3) { - pppppppiVar24 = (int *******)local_3c[-1]; - uVar3 = (int)fStack_28 + 0x24; - if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar24))) goto LAB_006989c8; + uVar4 = (int)fStack_28 + 1; + pppppppiVar26 = local_3c; + if (0xfff < uVar4) { + pppppppiVar26 = (int *******)local_3c[-1]; + uVar4 = (int)fStack_28 + 0x24; + if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar26))) goto LAB_006989c8; } - operator_delete(pppppppiVar24,uVar3); + operator_delete(pppppppiVar26,uVar4); } - pcVar8 = pcStack_10274; - iVar5 = iStack_10270 - (int)pcStack_10274 >> 0x1f; - iVar6 = (iStack_10270 - (int)pcStack_10274) / 0x18 + iVar5; - if (iVar6 != iVar5) { - pcVar16 = pcStack_10274; + pcVar9 = pcStack_10274; + iVar6 = iStack_10270 - (int)pcStack_10274 >> 0x1f; + iVar7 = (iStack_10270 - (int)pcStack_10274) / 0x18 + iVar6; + if (iVar7 != iVar6) { + pcVar18 = pcStack_10274; if (0xf < *(uint *)(pcStack_10274 + 0x14)) { - pcVar16 = *(char **)pcStack_10274; + pcVar18 = *(char **)pcStack_10274; } - iStack_100c8 = atoi(pcVar16); - if (1 < (uint)(iVar6 - iVar5)) { - pcVar16 = pcVar8 + 0x18; - if (0xf < *(uint *)(pcVar8 + 0x2c)) { - pcVar16 = *(char **)pcVar16; + iStack_100c8 = atoi(pcVar18); + if (1 < (uint)(iVar7 - iVar6)) { + pcVar18 = pcVar9 + 0x18; + if (0xf < *(uint *)(pcVar9 + 0x2c)) { + pcVar18 = *(char **)pcVar18; } - iStack_100c4 = atoi(pcVar16); + iStack_100c4 = atoi(pcVar18); } } uStack_10234 = uStack_10234 & 0xfffffff7; local_14._0_1_ = 3; std::vector::_Tidy(); - pcVar8 = pcStack_10230; + pcVar9 = pcStack_10230; } else { - pbVar14 = &DAT_00b66cc8; - pbVar7 = &g_xmlNullStr; - if (pbVar15 != (byte *)0x0) { - pbVar7 = pbVar15; + pbVar16 = &DAT_00b66cc8; + pbVar8 = &g_xmlNullStr; + if (pbVar17 != (byte *)0x0) { + pbVar8 = pbVar17; } do { - bVar1 = *pbVar7; - bVar21 = bVar1 < *pbVar14; - if (bVar1 != *pbVar14) { + bVar2 = *pbVar8; + bVar23 = bVar2 < *pbVar16; + if (bVar2 != *pbVar16) { LAB_00697ca4: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00697ca9; } - if (bVar1 == 0) break; - bVar1 = pbVar7[1]; - bVar21 = bVar1 < pbVar14[1]; - if (bVar1 != pbVar14[1]) goto LAB_00697ca4; - pbVar7 = pbVar7 + 2; - pbVar14 = pbVar14 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar23 = bVar2 < pbVar16[1]; + if (bVar2 != pbVar16[1]) goto LAB_00697ca4; + pbVar8 = pbVar8 + 2; + pbVar16 = pbVar16 + 2; + } while (bVar2 != 0); + uVar4 = 0; LAB_00697ca9: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; - if (*(byte **)(pcVar8 + 4) != (byte *)0x0) { - pbVar15 = *(byte **)(pcVar8 + 4); + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; + if (*(byte **)(pcVar9 + 4) != (byte *)0x0) { + pbVar17 = *(byte **)(pcVar9 + 4); } - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - uVar3 = (int)pbVar7 - (int)(pbVar15 + 1); - if (0x7fffffffU - local_50 < uVar3) { + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + uVar4 = (int)pbVar8 - (int)(pbVar17 + 1); + if (0x7fffffffU - local_50 < uVar4) { LAB_00698aa1: /* WARNING: Subroutine does not return */ std::string::_Xlen(); } - pppppppuVar9 = local_60; + pppppppuVar10 = local_60; if (0xf < local_4c) { - pppppppuVar9 = local_60[0]; + pppppppuVar10 = local_60[0]; } - std::string::concat(uStack_10250,uVar3,pppppppuVar9,local_50,pbVar15,uVar3); + std::string::concat(uStack_10250,uVar4,pppppppuVar10,local_50,pbVar17,uVar4); uStack_10234 = uStack_10234 | 0x10; std::string::_Tidy_deallocate(); pppppppiStack_10128 = local_3c; @@ -354195,234 +354534,234 @@ LAB_00698aa1: std::string::_Tidy_deallocate(); } else { - pbVar14 = &DAT_00b1bffc; - pbVar7 = &g_xmlNullStr; - if (pbVar15 != (byte *)0x0) { - pbVar7 = pbVar15; + pbVar16 = &DAT_00b1bffc; + pbVar8 = &g_xmlNullStr; + if (pbVar17 != (byte *)0x0) { + pbVar8 = pbVar17; } do { - bVar1 = *pbVar7; - bVar21 = bVar1 < *pbVar14; - if (bVar1 != *pbVar14) { + bVar2 = *pbVar8; + bVar23 = bVar2 < *pbVar16; + if (bVar2 != *pbVar16) { LAB_00697d74: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00697d79; } - if (bVar1 == 0) break; - bVar1 = pbVar7[1]; - bVar21 = bVar1 < pbVar14[1]; - if (bVar1 != pbVar14[1]) goto LAB_00697d74; - pbVar7 = pbVar7 + 2; - pbVar14 = pbVar14 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar23 = bVar2 < pbVar16[1]; + if (bVar2 != pbVar16[1]) goto LAB_00697d74; + pbVar8 = pbVar8 + 2; + pbVar16 = pbVar16 + 2; + } while (bVar2 != 0); + uVar4 = 0; LAB_00697d79: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; - if (*(byte **)(pcVar8 + 4) != (byte *)0x0) { - pbVar15 = *(byte **)(pcVar8 + 4); + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; + if (*(byte **)(pcVar9 + 4) != (byte *)0x0) { + pbVar17 = *(byte **)(pcVar9 + 4); } - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - iVar5 = (int)pbVar7 - (int)(pbVar15 + 1); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + iVar6 = (int)pbVar8 - (int)(pbVar17 + 1); } else { - pcVar16 = "overlay"; - pbVar7 = &g_xmlNullStr; - if (pbVar15 != (byte *)0x0) { - pbVar7 = pbVar15; + pcVar18 = "overlay"; + pbVar8 = &g_xmlNullStr; + if (pbVar17 != (byte *)0x0) { + pbVar8 = pbVar17; } do { - bVar1 = *pbVar7; - bVar21 = bVar1 < (byte)*pcVar16; - if (bVar1 != *pcVar16) { + bVar2 = *pbVar8; + bVar23 = bVar2 < (byte)*pcVar18; + if (bVar2 != *pcVar18) { LAB_00697dd4: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00697dd9; } - if (bVar1 == 0) break; - bVar1 = pbVar7[1]; - bVar21 = bVar1 < (byte)pcVar16[1]; - if (bVar1 != pcVar16[1]) goto LAB_00697dd4; - pbVar7 = pbVar7 + 2; - pcVar16 = pcVar16 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar23 = bVar2 < (byte)pcVar18[1]; + if (bVar2 != pcVar18[1]) goto LAB_00697dd4; + pbVar8 = pbVar8 + 2; + pcVar18 = pcVar18 + 2; + } while (bVar2 != 0); + uVar4 = 0; LAB_00697dd9: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; - if (*(byte **)(pcVar8 + 4) != (byte *)0x0) { - pbVar15 = *(byte **)(pcVar8 + 4); + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; + if (*(byte **)(pcVar9 + 4) != (byte *)0x0) { + pbVar17 = *(byte **)(pcVar9 + 4); } - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - iVar5 = (int)pbVar7 - (int)(pbVar15 + 1); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + iVar6 = (int)pbVar8 - (int)(pbVar17 + 1); } else { - pbVar14 = &DAT_00b66e44; - pbVar7 = &g_xmlNullStr; - if (pbVar15 != (byte *)0x0) { - pbVar7 = pbVar15; + pbVar16 = &DAT_00b66e44; + pbVar8 = &g_xmlNullStr; + if (pbVar17 != (byte *)0x0) { + pbVar8 = pbVar17; } do { - bVar1 = *pbVar7; - bVar21 = bVar1 < *pbVar14; - if (bVar1 != *pbVar14) { + bVar2 = *pbVar8; + bVar23 = bVar2 < *pbVar16; + if (bVar2 != *pbVar16) { LAB_00697e31: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00697e36; } - if (bVar1 == 0) break; - bVar1 = pbVar7[1]; - bVar21 = bVar1 < pbVar14[1]; - if (bVar1 != pbVar14[1]) goto LAB_00697e31; - pbVar7 = pbVar7 + 2; - pbVar14 = pbVar14 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar23 = bVar2 < pbVar16[1]; + if (bVar2 != pbVar16[1]) goto LAB_00697e31; + pbVar8 = pbVar8 + 2; + pbVar16 = pbVar16 + 2; + } while (bVar2 != 0); + uVar4 = 0; LAB_00697e36: - if (uVar3 != 0) goto LAB_00697e66; - pbVar15 = &g_xmlNullStr; - if (*(byte **)(pcVar8 + 4) != (byte *)0x0) { - pbVar15 = *(byte **)(pcVar8 + 4); + if (uVar4 != 0) goto LAB_00697e66; + pbVar17 = &g_xmlNullStr; + if (*(byte **)(pcVar9 + 4) != (byte *)0x0) { + pbVar17 = *(byte **)(pcVar9 + 4); } - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - iVar5 = (int)pbVar7 - (int)(pbVar15 + 1); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + iVar6 = (int)pbVar8 - (int)(pbVar17 + 1); } } - std::string::assign(pbVar15,iVar5); + std::string::assign(pbVar17,iVar6); } } } LAB_00697e66: - if (*(int *)(pcVar8 + 0x10) == 0) goto LAB_00697e7d; - pcVar8 = *(char **)(pcVar8 + 0x18); + if (*(int *)(pcVar9 + 0x10) == 0) goto LAB_00697e7d; + pcVar9 = *(char **)(pcVar9 + 0x18); goto joined_r0x00697902; LAB_00697e7d: - iVar5 = iStack_10238; + iVar6 = iStack_10238; if (iStack_100c8 != 0) { - uStack_10138 = 0; + bStack_10138 = 0; } goto LAB_00697958; LAB_006983c0: - puVar18 = (undefined4 *)puStack_1022c[8]; + puVar20 = (undefined4 *)puStack_1022c[8]; pcStack_10230 = (char *)0x0; pbStack_10240 = (byte *)0x0; uStack_10228 = 0; - for (; puVar18 != (undefined4 *)0x0; puVar18 = (undefined4 *)puVar18[6]) { - pbVar15 = (byte *)*puVar18; - pbVar14 = s_id; - pbVar7 = &g_xmlNullStr; - if (pbVar15 != (byte *)0x0) { - pbVar7 = pbVar15; + for (; puVar20 != (undefined4 *)0x0; puVar20 = (undefined4 *)puVar20[6]) { + pbVar17 = (byte *)*puVar20; + pbVar16 = s_id; + pbVar8 = &g_xmlNullStr; + if (pbVar17 != (byte *)0x0) { + pbVar8 = pbVar17; } do { - bVar1 = *pbVar7; - bVar21 = bVar1 < *pbVar14; - if (bVar1 != *pbVar14) { + bVar2 = *pbVar8; + bVar23 = bVar2 < *pbVar16; + if (bVar2 != *pbVar16) { LAB_006984b5: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_006984ba; } - if (bVar1 == 0) break; - bVar1 = pbVar7[1]; - bVar21 = bVar1 < pbVar14[1]; - if (bVar1 != pbVar14[1]) goto LAB_006984b5; - pbVar7 = pbVar7 + 2; - pbVar14 = pbVar14 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar23 = bVar2 < pbVar16[1]; + if (bVar2 != pbVar16[1]) goto LAB_006984b5; + pbVar8 = pbVar8 + 2; + pbVar16 = pbVar16 + 2; + } while (bVar2 != 0); + uVar4 = 0; LAB_006984ba: - if (uVar3 == 0) { + if (uVar4 == 0) { pppppppiStack_2c = (int *******)0x0; - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } fStack_28 = 2.10195e-44; local_3c = (int *******)0x0; - pbVar7 = pbVar15; + pbVar8 = pbVar17; do { - bVar1 = *pbVar7; - pbVar7 = pbVar7 + 1; - } while (bVar1 != 0); - std::string::assign(pbVar15,(int)pbVar7 - (int)(pbVar15 + 1)); + bVar2 = *pbVar8; + pbVar8 = pbVar8 + 1; + } while (bVar2 != 0); + std::string::assign(pbVar17,(int)pbVar8 - (int)(pbVar17 + 1)); local_14 = (undefined4 ******)CONCAT31(local_14._1_3_,0x21); string_split(0x2e); if ((iStack_1027c - (int)pcStack_10280) / 0x18 == 3) { - pcVar8 = pcStack_10280; + pcVar9 = pcStack_10280; if (0xf < *(uint *)(pcStack_10280 + 0x14)) { - pcVar8 = *(char **)pcStack_10280; + pcVar9 = *(char **)pcStack_10280; } - pcStack_10230 = (char *)atoi(pcVar8); - pcVar8 = pcStack_10280 + 0x18; + pcStack_10230 = (char *)atoi(pcVar9); + pcVar9 = pcStack_10280 + 0x18; if (0xf < *(uint *)(pcStack_10280 + 0x2c)) { - pcVar8 = *(char **)pcVar8; + pcVar9 = *(char **)pcVar9; } - pbStack_10240 = (byte *)atoi(pcVar8); - pcVar8 = pcStack_10280 + 0x30; + pbStack_10240 = (byte *)atoi(pcVar9); + pcVar9 = pcStack_10280 + 0x30; if (0xf < *(uint *)(pcStack_10280 + 0x44)) { - pcVar8 = *(char **)pcVar8; + pcVar9 = *(char **)pcVar9; } - uStack_10228 = atoi(pcVar8); + uStack_10228 = atoi(pcVar9); } std::vector::_Tidy(); local_14._0_1_ = 3; if (0xf < (uint)fStack_28) { - uVar3 = (int)fStack_28 + 1; - pppppppiVar24 = local_3c; - if (0xfff < uVar3) { - pppppppiVar24 = (int *******)local_3c[-1]; - uVar3 = (int)fStack_28 + 0x24; - if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar24))) goto LAB_006989c8; + uVar4 = (int)fStack_28 + 1; + pppppppiVar26 = local_3c; + if (0xfff < uVar4) { + pppppppiVar26 = (int *******)local_3c[-1]; + uVar4 = (int)fStack_28 + 0x24; + if ((byte *)0x1f < (byte *)((int)local_3c + (-4 - (int)pppppppiVar26))) goto LAB_006989c8; } - operator_delete(pppppppiVar24,uVar3); + operator_delete(pppppppiVar26,uVar4); } } else { - pcVar8 = "weight"; - pbVar7 = &g_xmlNullStr; - if (pbVar15 != (byte *)0x0) { - pbVar7 = pbVar15; + pcVar9 = "weight"; + pbVar8 = &g_xmlNullStr; + if (pbVar17 != (byte *)0x0) { + pbVar8 = pbVar17; } do { - bVar1 = *pbVar7; - bVar21 = bVar1 < (byte)*pcVar8; - if (bVar1 != *pcVar8) { + bVar2 = *pbVar8; + bVar23 = bVar2 < (byte)*pcVar9; + if (bVar2 != *pcVar9) { LAB_00698610: - uVar3 = -(uint)bVar21 | 1; + uVar4 = -(uint)bVar23 | 1; goto LAB_00698615; } - if (bVar1 == 0) break; - bVar1 = pbVar7[1]; - bVar21 = bVar1 < (byte)pcVar8[1]; - if (bVar1 != pcVar8[1]) goto LAB_00698610; - pcVar8 = pcVar8 + 2; - pbVar7 = pbVar7 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar8[1]; + bVar23 = bVar2 < (byte)pcVar9[1]; + if (bVar2 != pcVar9[1]) goto LAB_00698610; + pcVar9 = pcVar9 + 2; + pbVar8 = pbVar8 + 2; + } while (bVar2 != 0); + uVar4 = 0; LAB_00698615: - if (uVar3 == 0) { - pbVar15 = &g_xmlNullStr; - if ((byte *)puVar18[1] != (byte *)0x0) { - pbVar15 = (byte *)puVar18[1]; + if (uVar4 == 0) { + pbVar17 = &g_xmlNullStr; + if ((byte *)puVar20[1] != (byte *)0x0) { + pbVar17 = (byte *)puVar20[1]; } - atof((char *)pbVar15); + atof((char *)pbVar17); } } - if (puVar18[4] == 0) break; + if (puVar20[4] == 0) break; } - puVar18 = puStack_1022c; + puVar20 = puStack_1022c; uStack_68 = CONCAT22((short)uStack_10228,(short)pbStack_10240); local_64 = 0x3f800000; local_6c = pcStack_10230; @@ -354435,29 +354774,29 @@ LAB_00698615: puStack_10178[2] = 0x3f800000; puStack_10178 = puStack_10178 + 3; } - pcVar8 = "devolve"; + pcVar9 = "devolve"; do { - pcVar16 = pcVar8; - pcVar8 = pcVar16 + 1; - } while (*pcVar8 != '\0'); - puStack_1022c = (undefined4 *)puVar18[0xb]; + pcVar18 = pcVar9; + pcVar9 = pcVar18 + 1; + } while (*pcVar9 != '\0'); + puStack_1022c = (undefined4 *)puVar20[0xb]; if (puStack_1022c != (undefined4 *)0x0) { do { - pbVar15 = (byte *)*puStack_1022c; - if (pbVar15 == (byte *)0x0) { - pcVar8 = (char *)0x0; - pbVar15 = &g_xmlNullStr; + pbVar17 = (byte *)*puStack_1022c; + if (pbVar17 == (byte *)0x0) { + pcVar9 = (char *)0x0; + pbVar17 = &g_xmlNullStr; } else { - pcVar8 = (char *)puStack_1022c[2]; + pcVar9 = (char *)puStack_1022c[2]; } - if (pcVar8 == pcVar16 + -0xb66e1f) { - pbVar7 = (byte *)(pcVar8 + (int)pbVar15); - if (pbVar7 <= pbVar15) goto LAB_006983c0; - iVar5 = (int)"devolve" - (int)pbVar15; - while (*pbVar15 == pbVar15[iVar5]) { - pbVar15 = pbVar15 + 1; - if (pbVar7 <= pbVar15) goto LAB_006983c0; + if (pcVar9 == pcVar18 + -0xb66e1f) { + pbVar8 = (byte *)(pcVar9 + (int)pbVar17); + if (pbVar8 <= pbVar17) goto LAB_006983c0; + iVar6 = (int)"devolve" - (int)pbVar17; + while (*pbVar17 == pbVar17[iVar6]) { + pbVar17 = pbVar17 + 1; + if (pbVar8 <= pbVar17) goto LAB_006983c0; } } puStack_1022c = (undefined4 *)puStack_1022c[0xb]; @@ -354473,18 +354812,16 @@ LAB_00698615: /* DB: destroys the strings, vector<12byte>, +0x98 vector and maps of an entity config record; std::vector::_Tidy and other EntityConfig loaders */ -void EntityConfig_Entity::~EntityConfig_Entity(void) +void __thiscall EntityConfig_Entity::~EntityConfig_Entity(EntityConfig_Entity *this) { - int in_ECX; - std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); std::vector<12byte>::_Tidy(); - FID_conflict__Tidy((void *)(in_ECX + 0x98)); + FID_conflict__Tidy(&this->preloadSounds); FUN_0069db30(); std::string::_Tidy_deallocate(); FUN_0069dbc0(); @@ -354508,135 +354845,137 @@ void FUN_00698b30(void) /* DB: ? copy-assigns an entity-config record: 3 dwords, std::string at +0xc, then vectors via 006a0dc0/006a0850/006a06b0; used in EntityConfig::LoadEntities to copy the parsed entity */ -void EntityConfig_Entity::operator_assign(undefined4 *param_1) +EntityConfig_Entity * __thiscall +EntityConfig_Entity::operator_assign(EntityConfig_Entity *this,int *param_2) { - void *pvVar1; - undefined4 uVar2; - undefined4 *puVar3; - size_t sVar4; - int *piVar5; - undefined4 *in_ECX; + std_vector *psVar1; + void *pvVar2; + int iVar3; + int *piVar4; + size_t sVar5; + int *piVar6; void *local_8; - puVar3 = param_1; - *in_ECX = *param_1; - in_ECX[1] = param_1[1]; - in_ECX[2] = param_1[2]; - piVar5 = param_1 + 3; - if (in_ECX + 3 != piVar5) { - if (0xf < (uint)param_1[8]) { - piVar5 = (int *)*piVar5; + piVar4 = param_2; + this->id = *param_2; + this->variant = param_2[1]; + this->subtype = param_2[2]; + piVar6 = param_2 + 3; + if (&this->name != (std_string *)piVar6) { + if (0xf < (uint)param_2[8]) { + piVar6 = (int *)*piVar6; } - std::string::assign(piVar5,param_1[7]); + std::string::assign(piVar6,param_2[7]); } - in_ECX[9] = param_1[9]; - in_ECX[10] = param_1[10]; - *(undefined1 *)(in_ECX + 0xb) = *(undefined1 *)(param_1 + 0xb); - in_ECX[0xc] = param_1[0xc]; - *(undefined1 *)(in_ECX + 0xd) = *(undefined1 *)(param_1 + 0xd); - in_ECX[0xe] = param_1[0xe]; - in_ECX[0xf] = param_1[0xf]; - in_ECX[0x10] = param_1[0x10]; - in_ECX[0x11] = param_1[0x11]; - in_ECX[0x12] = param_1[0x12]; - in_ECX[0x13] = param_1[0x13]; - in_ECX[0x14] = param_1[0x14]; - in_ECX[0x15] = param_1[0x15]; - *(undefined1 *)(in_ECX + 0x16) = *(undefined1 *)(param_1 + 0x16); - in_ECX[0x17] = param_1[0x17]; - in_ECX[0x18] = param_1[0x18]; - in_ECX[0x19] = param_1[0x19]; - if (in_ECX + 0x1a != param_1 + 0x1a) { - FUN_006a0850(param_1[0x1a],param_1[0x1b],param_1); + this->shadowSize = (float)param_2[9]; + this->collisionDamage = (float)param_2[10]; + this->isBoss = *(byte *)(param_2 + 0xb); + this->bossID = param_2[0xc]; + this->canBeChampion = *(byte *)(param_2 + 0xd); + this->collisionRadius = (float)param_2[0xe]; + (this->collisionRadiusMulti).x = (float)param_2[0xf]; + (this->collisionRadiusMulti).y = (float)param_2[0x10]; + this->mass = (float)param_2[0x11]; + this->gridCollisionPoints = param_2[0x12]; + this->friction = (float)param_2[0x13]; + this->baseHP = (float)param_2[0x14]; + this->stageHP = (float)param_2[0x15]; + this->shutDoors = *(byte *)(param_2 + 0x16); + this->gibsAmount = param_2[0x17]; + this->gibFlags = param_2[0x18]; + this->portrait = param_2[0x19]; + if (&this->_bossColors != (std_vector *)(param_2 + 0x1a)) { + FUN_006a0850(param_2[0x1a],param_2[0x1b],param_2); } - piVar5 = param_1 + 0x1d; - if (in_ECX + 0x1d != piVar5) { - if (0xf < (uint)param_1[0x22]) { - piVar5 = (int *)*piVar5; + piVar6 = param_2 + 0x1d; + if (&this->anm2Path != (std_string *)piVar6) { + if (0xf < (uint)param_2[0x22]) { + piVar6 = (int *)*piVar6; } - std::string::assign(piVar5,param_1[0x21]); + std::string::assign(piVar6,param_2[0x21]); } - if (in_ECX + 0x23 != param_1 + 0x23) { - FUN_006a06b0(param_1[0x23],param_1[0x24],param_1); + if ((int *)&this->field_0x8c != param_2 + 0x23) { + FUN_006a06b0(param_2[0x23],param_2[0x24],param_2); } - piVar5 = in_ECX + 0x26; - if (piVar5 != param_1 + 0x26) { - pvVar1 = (void *)param_1[0x26]; - sVar4 = param_1[0x27] - (int)pvVar1; - local_8 = (void *)*piVar5; - if ((uint)(in_ECX[0x28] - (int)local_8 >> 2) < (uint)((int)sVar4 >> 2)) { - std::vector::reserve_clear((int)sVar4 >> 2); - local_8 = (void *)*piVar5; + psVar1 = &this->preloadSounds; + if (psVar1 != (std_vector *)(param_2 + 0x26)) { + pvVar2 = (void *)param_2[0x26]; + sVar5 = param_2[0x27] - (int)pvVar2; + local_8 = psVar1->_begin; + if ((uint)((int)(this->preloadSounds)._capacity - (int)local_8 >> 2) < (uint)((int)sVar5 >> 2)) + { + std::vector::reserve_clear((int)sVar5 >> 2); + local_8 = psVar1->_begin; } - memmove(local_8,pvVar1,sVar4); - in_ECX[0x27] = sVar4 + (int)local_8; + memmove(local_8,pvVar2,sVar5); + (this->preloadSounds)._end = (void *)(sVar5 + (int)local_8); } - piVar5 = in_ECX + 0x29; - if (piVar5 != param_1 + 0x29) { - pvVar1 = (void *)param_1[0x29]; - sVar4 = param_1[0x2a] - (int)pvVar1; - param_1 = (undefined4 *)*piVar5; - if ((uint)((in_ECX[0x2b] - (int)param_1) / 0xc) < (uint)((int)sVar4 / 0xc)) { - FUN_006a0dc0((int)sVar4 / 0xc); - param_1 = (undefined4 *)*piVar5; + psVar1 = &this->devolve; + if (psVar1 != (std_vector *)(param_2 + 0x29)) { + pvVar2 = (void *)param_2[0x29]; + sVar5 = param_2[0x2a] - (int)pvVar2; + param_2 = psVar1->_begin; + if ((uint)(((int)(this->devolve)._capacity - (int)param_2) / 0xc) < (uint)((int)sVar5 / 0xc)) { + FUN_006a0dc0((int)sVar5 / 0xc); + param_2 = psVar1->_begin; } - memmove(param_1,pvVar1,sVar4); - in_ECX[0x2a] = (int)param_1 + sVar4; + memmove(param_2,pvVar2,sVar5); + (this->devolve)._end = (void *)((int)param_2 + sVar5); } - *(undefined1 *)(in_ECX + 0x2c) = *(undefined1 *)(puVar3 + 0x2c); - piVar5 = puVar3 + 0x2d; - if (in_ECX + 0x2d != piVar5) { - if (0xf < (uint)puVar3[0x32]) { - piVar5 = (int *)*piVar5; + this->isPreloaded = *(byte *)(piVar4 + 0x2c); + piVar6 = piVar4 + 0x2d; + if (&this->gridCollisionClassString != (std_string *)piVar6) { + if (0xf < (uint)piVar4[0x32]) { + piVar6 = (int *)*piVar6; } - std::string::assign(piVar5,puVar3[0x31]); + std::string::assign(piVar6,piVar4[0x31]); } - *(undefined1 *)(in_ECX + 0x33) = *(undefined1 *)(puVar3 + 0x33); - *(undefined1 *)((int)in_ECX + 0xcd) = *(undefined1 *)((int)puVar3 + 0xcd); - in_ECX[0x34] = puVar3[0x34]; - uVar2 = puVar3[0x37]; - in_ECX[0x36] = puVar3[0x36]; - in_ECX[0x37] = uVar2; - in_ECX[0x38] = puVar3[0x38]; - in_ECX[0x39] = puVar3[0x39]; - *(undefined1 *)(in_ECX + 0x3a) = *(undefined1 *)(puVar3 + 0x3a); - in_ECX[0x3b] = puVar3[0x3b]; - in_ECX[0x3c] = puVar3[0x3c]; - in_ECX[0x3d] = puVar3[0x3d]; - piVar5 = puVar3 + 0x3e; - if (in_ECX + 0x3e != piVar5) { - if (0xf < (uint)puVar3[0x43]) { - piVar5 = (int *)*piVar5; + this->reroll = *(byte *)(piVar4 + 0x33); + this->hasFloorAlts = *(byte *)((int)piVar4 + 0xcd); + this->collisionInterval = piVar4[0x34]; + iVar3 = piVar4[0x37]; + this->tags = piVar4[0x36]; + *(int *)&this->field_0xdc = iVar3; + this->shieldStrength = (float)piVar4[0x38]; + this->shieldFrames = piVar4[0x39]; + this->bestiary = *(byte *)(piVar4 + 0x3a); + (this->bestiaryOffset).x = (float)piVar4[0x3b]; + (this->bestiaryOffset).y = (float)piVar4[0x3c]; + this->bestiaryScale = (float)piVar4[0x3d]; + piVar6 = piVar4 + 0x3e; + if (&this->bestiaryAnm2Path != (std_string *)piVar6) { + if (0xf < (uint)piVar4[0x43]) { + piVar6 = (int *)*piVar6; } - std::string::assign(piVar5,puVar3[0x42]); + std::string::assign(piVar6,piVar4[0x42]); } - piVar5 = puVar3 + 0x44; - if (in_ECX + 0x44 != piVar5) { - if (0xf < (uint)puVar3[0x49]) { - piVar5 = (int *)*piVar5; + piVar6 = piVar4 + 0x44; + if (&this->bestiaryAnim != (std_string *)piVar6) { + if (0xf < (uint)piVar4[0x49]) { + piVar6 = (int *)*piVar6; } - std::string::assign(piVar5,puVar3[0x48]); + std::string::assign(piVar6,piVar4[0x48]); } - piVar5 = puVar3 + 0x4a; - if (in_ECX + 0x4a != piVar5) { - if (0xf < (uint)puVar3[0x4f]) { - piVar5 = (int *)*piVar5; + piVar6 = piVar4 + 0x4a; + if (&this->bestiaryOverlay != (std_string *)piVar6) { + if (0xf < (uint)piVar4[0x4f]) { + piVar6 = (int *)*piVar6; } - std::string::assign(piVar5,puVar3[0x4e]); + std::string::assign(piVar6,piVar4[0x4e]); } - piVar5 = puVar3 + 0x50; - if (in_ECX + 0x50 != piVar5) { - if (0xf < (uint)puVar3[0x55]) { - piVar5 = (int *)*piVar5; + piVar6 = piVar4 + 0x50; + if (&this->bestiaryFloorAlt != (std_string *)piVar6) { + if (0xf < (uint)piVar4[0x55]) { + piVar6 = (int *)*piVar6; } - std::string::assign(piVar5,puVar3[0x54]); + std::string::assign(piVar6,piVar4[0x54]); } - in_ECX[0x56] = puVar3[0x56]; - in_ECX[0x57] = puVar3[0x57]; - in_ECX[0x58] = puVar3[0x58]; - *(undefined1 *)(in_ECX + 0x59) = *(undefined1 *)(puVar3 + 0x59); - return; + this->bestiaryParentType = piVar4[0x56]; + this->bestiaryParentVariant = piVar4[0x57]; + this->modEntry = (void *)piVar4[0x58]; + this->isPortraitModded = *(byte *)(piVar4 + 0x59); + return this; } @@ -354650,28 +354989,30 @@ void EntityConfig_Entity::operator_assign(undefined4 *param_1) undefined4 EntityConfig::load_boss_colors(undefined4 param_1) { - byte bVar1; - qword qVar2; - uint uVar3; - int *piVar4; - int iVar5; - int iVar6; + void **ppvVar1; + byte bVar2; + void *pvVar3; + qword qVar4; + uint uVar5; + int *piVar6; int iVar7; - EntityConfig_Entity *pEVar8; - undefined4 ****ppppuVar9; + int iVar8; + int iVar9; + EntityConfig_Entity *pEVar10; + undefined4 ****ppppuVar11; EntityConfig *in_ECX; - byte *pbVar10; + byte *pbVar12; undefined4 extraout_ECX; - byte *pbVar11; - int iVar12; - qword *pqVar13; - char *pcVar15; - char *pcVar14; - undefined4 *puVar16; - bool bVar17; - double dVar18; - undefined4 uVar19; - byte *pbVar20; + byte *pbVar13; + int iVar14; + qword *pqVar15; + char *pcVar17; + char *pcVar16; + undefined4 *puVar18; + bool bVar19; + double dVar20; + undefined4 uVar21; + byte *pbVar22; int iStack_1015c; int iStack_10158; undefined4 *puStack_1013c; @@ -354716,40 +355057,40 @@ undefined4 EntityConfig::load_boss_colors(undefined4 param_1) local_14 = (undefined4 ***)0xffffffff; puStack_18 = &LAB_00af9beb; local_1c = ExceptionList; - uVar3 = __security_cookie ^ (uint)(local_3c + 0xb); + uVar5 = __security_cookie ^ (uint)(local_3c + 0xb); ExceptionList = &local_1c; - local_24 = uVar3; - piVar4 = (int *)FileSystem::Open(param_1,0); - if (piVar4 == (int *)0x0) { - uVar19 = 0; + local_24 = uVar5; + piVar6 = (int *)FileSystem::Open(param_1,0); + if (piVar6 == (int *)0x0) { + uVar21 = 0; } else { - iVar5 = (**(code **)(*piVar4 + 4))(uVar3); - iVar6 = operator_new_tracked(); - (**(code **)(*piVar4 + 0x14))(iVar6,1,iVar5); - *(undefined1 *)(iVar6 + iVar5) = 0; - (**(code **)*piVar4)(1); + iVar7 = (**(code **)(*piVar6 + 4))(uVar5); + iVar8 = operator_new_tracked(); + (**(code **)(*piVar6 + 0x14))(iVar8,1,iVar7); + *(undefined1 *)(iVar8 + iVar7) = 0; + (**(code **)*piVar6)(1); FUN_00413b90(); local_14 = (undefined4 ***)0x0; - uVar19 = 0x698f55; - iVar5 = iVar6; - rapidxml::xml_document::parse(iVar6); - iVar7 = xml_node::first_node("bosscolors",uVar19,iVar5); - if (iVar7 == 0) { + uVar21 = 0x698f55; + iVar7 = iVar8; + rapidxml::xml_document::parse(iVar8); + iVar9 = xml_node::first_node("bosscolors",uVar21,iVar7); + if (iVar9 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Could not find root node \'bosscolors\' in %s\n",param_1); } - iVar5 = xml_node::first_attribute("version",uVar19,iVar5); - pbVar11 = &g_xmlNullStr; - if (*(byte **)(iVar5 + 4) != (byte *)0x0) { - pbVar11 = *(byte **)(iVar5 + 4); + iVar7 = xml_node::first_attribute("version",uVar21,iVar7); + pbVar13 = &g_xmlNullStr; + if (*(byte **)(iVar7 + 4) != (byte *)0x0) { + pbVar13 = *(byte **)(iVar7 + 4); } - pbVar20 = (byte *)0x698fad; - pbVar10 = pbVar11; - iVar5 = atoi((char *)pbVar11); - if ((iVar5 < 0) || (1 < iVar5)) { + pbVar22 = (byte *)0x698fad; + pbVar12 = pbVar13; + iVar7 = atoi((char *)pbVar13); + if ((iVar7 < 0) || (1 < iVar7)) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(0x10,"Invalid version %s for %s\n",pbVar11,param_1); + KAGE_LogMessage(0x10,"Invalid version %s for %s\n",pbVar13,param_1); } local_44 = 0; local_40 = 0xf; @@ -354758,128 +355099,128 @@ undefined4 EntityConfig::load_boss_colors(undefined4 param_1) local_28 = 0xf; local_3c[0] = (undefined4 ****)0x0; local_14._0_1_ = 2; - if (0 < iVar5) { - iVar7 = xml_node::first_attribute("anm2root",pbVar20,pbVar10); - pbVar11 = &g_xmlNullStr; - if (*(byte **)(iVar7 + 4) != (byte *)0x0) { - pbVar11 = *(byte **)(iVar7 + 4); + if (0 < iVar7) { + iVar9 = xml_node::first_attribute("anm2root",pbVar22,pbVar12); + pbVar13 = &g_xmlNullStr; + if (*(byte **)(iVar9 + 4) != (byte *)0x0) { + pbVar13 = *(byte **)(iVar9 + 4); } - pbVar10 = pbVar11; + pbVar12 = pbVar13; do { - bVar1 = *pbVar10; - pbVar10 = pbVar10 + 1; - } while (bVar1 != 0); - iVar7 = (int)pbVar10 - (int)(pbVar11 + 1); - std::string::assign(pbVar11,iVar7); - iVar7 = xml_node::first_attribute("portraitroot",pbVar11,iVar7); - pbVar20 = &g_xmlNullStr; - if (*(byte **)(iVar7 + 4) != (byte *)0x0) { - pbVar20 = *(byte **)(iVar7 + 4); + bVar2 = *pbVar12; + pbVar12 = pbVar12 + 1; + } while (bVar2 != 0); + iVar9 = (int)pbVar12 - (int)(pbVar13 + 1); + std::string::assign(pbVar13,iVar9); + iVar9 = xml_node::first_attribute("portraitroot",pbVar13,iVar9); + pbVar22 = &g_xmlNullStr; + if (*(byte **)(iVar9 + 4) != (byte *)0x0) { + pbVar22 = *(byte **)(iVar9 + 4); } - pbVar10 = pbVar20; + pbVar12 = pbVar22; do { - bVar1 = *pbVar10; - pbVar10 = pbVar10 + 1; - } while (bVar1 != 0); - pbVar10 = pbVar10 + -(int)(pbVar20 + 1); - std::string::assign(pbVar20,pbVar10); + bVar2 = *pbVar12; + pbVar12 = pbVar12 + 1; + } while (bVar2 != 0); + pbVar12 = pbVar12 + -(int)(pbVar22 + 1); + std::string::assign(pbVar22,pbVar12); } - for (iVar7 = xml_node::first_node(&DAT_00b66bc8,pbVar20,pbVar10); iVar7 != 0; - iVar7 = *(int *)(iVar7 + 0x2c)) { - for (puVar16 = *(undefined4 **)(iVar7 + 0x20); puVar16 != (undefined4 *)0x0; - puVar16 = (undefined4 *)puVar16[6]) { - pbVar11 = (byte *)*puVar16; - pbVar20 = s_id; - pbVar10 = &g_xmlNullStr; - if (pbVar11 != (byte *)0x0) { - pbVar10 = pbVar11; + for (iVar9 = xml_node::first_node(&DAT_00b66bc8,pbVar22,pbVar12); iVar9 != 0; + iVar9 = *(int *)(iVar9 + 0x2c)) { + for (puVar18 = *(undefined4 **)(iVar9 + 0x20); puVar18 != (undefined4 *)0x0; + puVar18 = (undefined4 *)puVar18[6]) { + pbVar13 = (byte *)*puVar18; + pbVar22 = s_id; + pbVar12 = &g_xmlNullStr; + if (pbVar13 != (byte *)0x0) { + pbVar12 = pbVar13; } do { - bVar1 = *pbVar10; - bVar17 = bVar1 < *pbVar20; - if (bVar1 != *pbVar20) { + bVar2 = *pbVar12; + bVar19 = bVar2 < *pbVar22; + if (bVar2 != *pbVar22) { LAB_006990e1: - uVar3 = -(uint)bVar17 | 1; + uVar5 = -(uint)bVar19 | 1; goto LAB_006990e6; } - if (bVar1 == 0) break; - bVar1 = pbVar10[1]; - bVar17 = bVar1 < pbVar20[1]; - if (bVar1 != pbVar20[1]) goto LAB_006990e1; - pbVar10 = pbVar10 + 2; - pbVar20 = pbVar20 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar12[1]; + bVar19 = bVar2 < pbVar22[1]; + if (bVar2 != pbVar22[1]) goto LAB_006990e1; + pbVar12 = pbVar12 + 2; + pbVar22 = pbVar22 + 2; + } while (bVar2 != 0); + uVar5 = 0; LAB_006990e6: - if (uVar3 == 0) { - pbVar11 = &g_xmlNullStr; - if ((byte *)puVar16[1] != (byte *)0x0) { - pbVar11 = (byte *)puVar16[1]; + if (uVar5 == 0) { + pbVar13 = &g_xmlNullStr; + if ((byte *)puVar18[1] != (byte *)0x0) { + pbVar13 = (byte *)puVar18[1]; } - iStack_1015c = atoi((char *)pbVar11); + iStack_1015c = atoi((char *)pbVar13); } else { - pcVar14 = "variant"; - pbVar10 = &g_xmlNullStr; - if (pbVar11 != (byte *)0x0) { - pbVar10 = pbVar11; + pcVar16 = "variant"; + pbVar12 = &g_xmlNullStr; + if (pbVar13 != (byte *)0x0) { + pbVar12 = pbVar13; } do { - bVar1 = *pbVar10; - bVar17 = bVar1 < (byte)*pcVar14; - if (bVar1 != *pcVar14) { + bVar2 = *pbVar12; + bVar19 = bVar2 < (byte)*pcVar16; + if (bVar2 != *pcVar16) { LAB_00699135: - uVar3 = -(uint)bVar17 | 1; + uVar5 = -(uint)bVar19 | 1; goto LAB_0069913a; } - if (bVar1 == 0) break; - bVar1 = pbVar10[1]; - bVar17 = bVar1 < (byte)pcVar14[1]; - if (bVar1 != pcVar14[1]) goto LAB_00699135; - pbVar10 = pbVar10 + 2; - pcVar14 = pcVar14 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar12[1]; + bVar19 = bVar2 < (byte)pcVar16[1]; + if (bVar2 != pcVar16[1]) goto LAB_00699135; + pbVar12 = pbVar12 + 2; + pcVar16 = pcVar16 + 2; + } while (bVar2 != 0); + uVar5 = 0; LAB_0069913a: - if (uVar3 == 0) { - pbVar11 = &g_xmlNullStr; - if ((byte *)puVar16[1] != (byte *)0x0) { - pbVar11 = (byte *)puVar16[1]; + if (uVar5 == 0) { + pbVar13 = &g_xmlNullStr; + if ((byte *)puVar18[1] != (byte *)0x0) { + pbVar13 = (byte *)puVar18[1]; } - iStack_10158 = atoi((char *)pbVar11); + iStack_10158 = atoi((char *)pbVar13); } } - if (puVar16[4] == 0) break; + if (puVar18[4] == 0) break; } - pEVar8 = GetEntity(in_ECX,iStack_1015c,iStack_10158,0); - if ((pEVar8 == (EntityConfig_Entity *)0x0) || (pEVar8->variant != iStack_10158)) { + pEVar10 = GetEntity(in_ECX,iStack_1015c,iStack_10158,0); + if ((pEVar10 == (EntityConfig_Entity *)0x0) || (pEVar10->variant != iStack_10158)) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"Cannot patch boss colors for Entity %d.%d\n",iStack_1015c,iStack_10158); } FUN_0069f4e0(extraout_ECX); - *(undefined4 *)&pEVar8->field_0x6c = *(undefined4 *)&pEVar8->field_0x68; - pcVar14 = "color"; + (pEVar10->_bossColors)._end = (pEVar10->_bossColors)._begin; + pcVar16 = "color"; do { - pcVar15 = pcVar14; - pcVar14 = pcVar15 + 1; - } while (*pcVar14 != '\0'); - for (puStack_1013c = *(undefined4 **)(iVar7 + 0x18); puStack_1013c != (undefined4 *)0x0; + pcVar17 = pcVar16; + pcVar16 = pcVar17 + 1; + } while (*pcVar16 != '\0'); + for (puStack_1013c = *(undefined4 **)(iVar9 + 0x18); puStack_1013c != (undefined4 *)0x0; puStack_1013c = (undefined4 *)puStack_1013c[0xb]) { - pbVar11 = (byte *)*puStack_1013c; - if (pbVar11 == (byte *)0x0) { - pcVar14 = (char *)0x0; - pbVar11 = &g_xmlNullStr; + pbVar13 = (byte *)*puStack_1013c; + if (pbVar13 == (byte *)0x0) { + pcVar16 = (char *)0x0; + pbVar13 = &g_xmlNullStr; } else { - pcVar14 = (char *)puStack_1013c[2]; + pcVar16 = (char *)puStack_1013c[2]; } - if (pcVar14 == pcVar15 + -0xb66e47) { - pbVar10 = pbVar11 + (int)pcVar14; - if (pbVar10 <= pbVar11) goto LAB_00699233; - iVar12 = (int)"color" - (int)pbVar11; - while (*pbVar11 == pbVar11[iVar12]) { - pbVar11 = pbVar11 + 1; - if (pbVar10 <= pbVar11) goto LAB_00699233; + if (pcVar16 == pcVar17 + -0xb66e47) { + pbVar12 = pbVar13 + (int)pcVar16; + if (pbVar12 <= pbVar13) goto LAB_00699233; + iVar14 = (int)"color" - (int)pbVar13; + while (*pbVar13 == pbVar13[iVar14]) { + pbVar13 = pbVar13 + 1; + if (pbVar12 <= pbVar13) goto LAB_00699233; } } } @@ -354910,309 +355251,311 @@ LAB_00699233: local_64 = 1.0; local_60 = 1.0; local_14._0_1_ = 3; - puVar16 = (undefined4 *)puStack_1013c[8]; - if (puVar16 != (undefined4 *)0x0) { + puVar18 = (undefined4 *)puStack_1013c[8]; + if (puVar18 != (undefined4 *)0x0) { do { - pbVar11 = (byte *)*puVar16; - pbVar20 = &DAT_00b66e50; - pbVar10 = &g_xmlNullStr; - if (pbVar11 != (byte *)0x0) { - pbVar10 = pbVar11; + pbVar13 = (byte *)*puVar18; + pbVar22 = &DAT_00b66e50; + pbVar12 = &g_xmlNullStr; + if (pbVar13 != (byte *)0x0) { + pbVar12 = pbVar13; } do { - bVar1 = *pbVar10; - bVar17 = bVar1 < *pbVar20; - if (bVar1 != *pbVar20) { + bVar2 = *pbVar12; + bVar19 = bVar2 < *pbVar22; + if (bVar2 != *pbVar22) { LAB_00699322: - uVar3 = -(uint)bVar17 | 1; + uVar5 = -(uint)bVar19 | 1; goto LAB_00699327; } - if (bVar1 == 0) break; - bVar1 = pbVar10[1]; - bVar17 = bVar1 < pbVar20[1]; - if (bVar1 != pbVar20[1]) goto LAB_00699322; - pbVar10 = pbVar10 + 2; - pbVar20 = pbVar20 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar12[1]; + bVar19 = bVar2 < pbVar22[1]; + if (bVar2 != pbVar22[1]) goto LAB_00699322; + pbVar12 = pbVar12 + 2; + pbVar22 = pbVar22 + 2; + } while (bVar2 != 0); + uVar5 = 0; LAB_00699327: - if (uVar3 == 0) { - pbVar11 = &g_xmlNullStr; - if ((byte *)puVar16[1] != (byte *)0x0) { - pbVar11 = (byte *)puVar16[1]; + if (uVar5 == 0) { + pbVar13 = &g_xmlNullStr; + if ((byte *)puVar18[1] != (byte *)0x0) { + pbVar13 = (byte *)puVar18[1]; } - iVar12 = atoi((char *)pbVar11); - if (iVar12 - 1U < 0x17) { - iVar12 = iVar12 * 0x2c; - if (&local_d8 != (undefined4 *)(&DAT_00c3508c + iVar12)) { - local_d8 = *(undefined4 *)(&DAT_00c3508c + iVar12); - uStack_d4 = *(undefined4 *)(iVar12 + 0xc35090); - uStack_d0 = *(undefined4 *)(iVar12 + 0xc35094); - uStack_cc = *(undefined4 *)(&DAT_00c35098 + iVar12); - local_c8 = *(undefined4 *)(&DAT_00c3509c + iVar12); - uStack_c4 = *(undefined4 *)(&DAT_00c350a0 + iVar12); - uStack_c0 = *(undefined4 *)(iVar12 + 0xc350a4); - uStack_bc = *(undefined4 *)(iVar12 + 0xc350a8); - local_b8 = *(undefined4 *)(&DAT_00c350ac + iVar12); - uStack_b4 = *(undefined4 *)(iVar12 + 0xc350b0); - local_b0 = *(undefined4 *)(&DAT_00c350b4 + iVar12); + iVar14 = atoi((char *)pbVar13); + if (iVar14 - 1U < 0x17) { + iVar14 = iVar14 * 0x2c; + if (&local_d8 != (undefined4 *)(&DAT_00c3508c + iVar14)) { + local_d8 = *(undefined4 *)(&DAT_00c3508c + iVar14); + uStack_d4 = *(undefined4 *)(iVar14 + 0xc35090); + uStack_d0 = *(undefined4 *)(iVar14 + 0xc35094); + uStack_cc = *(undefined4 *)(&DAT_00c35098 + iVar14); + local_c8 = *(undefined4 *)(&DAT_00c3509c + iVar14); + uStack_c4 = *(undefined4 *)(&DAT_00c350a0 + iVar14); + uStack_c0 = *(undefined4 *)(iVar14 + 0xc350a4); + uStack_bc = *(undefined4 *)(iVar14 + 0xc350a8); + local_b8 = *(undefined4 *)(&DAT_00c350ac + iVar14); + uStack_b4 = *(undefined4 *)(iVar14 + 0xc350b0); + local_b0 = *(undefined4 *)(&DAT_00c350b4 + iVar14); } } } else { - pcVar14 = "suffix"; - pbVar10 = &g_xmlNullStr; - if (pbVar11 != (byte *)0x0) { - pbVar10 = pbVar11; + pcVar16 = "suffix"; + pbVar12 = &g_xmlNullStr; + if (pbVar13 != (byte *)0x0) { + pbVar12 = pbVar13; } do { - bVar1 = *pbVar10; - bVar17 = bVar1 < (byte)*pcVar14; - if (bVar1 != *pcVar14) { + bVar2 = *pbVar12; + bVar19 = bVar2 < (byte)*pcVar16; + if (bVar2 != *pcVar16) { LAB_006993c4: - uVar3 = -(uint)bVar17 | 1; + uVar5 = -(uint)bVar19 | 1; goto LAB_006993c9; } - if (bVar1 == 0) break; - bVar1 = pbVar10[1]; - bVar17 = bVar1 < (byte)pcVar14[1]; - if (bVar1 != pcVar14[1]) goto LAB_006993c4; - pbVar10 = pbVar10 + 2; - pcVar14 = pcVar14 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar12[1]; + bVar19 = bVar2 < (byte)pcVar16[1]; + if (bVar2 != pcVar16[1]) goto LAB_006993c4; + pbVar12 = pbVar12 + 2; + pcVar16 = pcVar16 + 2; + } while (bVar2 != 0); + uVar5 = 0; LAB_006993c9: - if (uVar3 == 0) { - pbVar11 = &g_xmlNullStr; - if ((byte *)puVar16[1] != (byte *)0x0) { - pbVar11 = (byte *)puVar16[1]; + if (uVar5 == 0) { + pbVar13 = &g_xmlNullStr; + if ((byte *)puVar18[1] != (byte *)0x0) { + pbVar13 = (byte *)puVar18[1]; } - pbVar10 = pbVar11; + pbVar12 = pbVar13; do { - bVar1 = *pbVar10; - pbVar10 = pbVar10 + 1; - } while (bVar1 != 0); - std::string::assign(pbVar11,(int)pbVar10 - (int)(pbVar11 + 1)); + bVar2 = *pbVar12; + pbVar12 = pbVar12 + 1; + } while (bVar2 != 0); + std::string::assign(pbVar13,(int)pbVar12 - (int)(pbVar13 + 1)); } else { - pbVar20 = &DAT_00b66cc8; - pbVar10 = &g_xmlNullStr; - if (pbVar11 != (byte *)0x0) { - pbVar10 = pbVar11; + pbVar22 = &DAT_00b66cc8; + pbVar12 = &g_xmlNullStr; + if (pbVar13 != (byte *)0x0) { + pbVar12 = pbVar13; } do { - bVar1 = *pbVar10; - bVar17 = bVar1 < *pbVar20; - if (bVar1 != *pbVar20) { + bVar2 = *pbVar12; + bVar19 = bVar2 < *pbVar22; + if (bVar2 != *pbVar22) { LAB_00699430: - uVar3 = -(uint)bVar17 | 1; + uVar5 = -(uint)bVar19 | 1; goto LAB_00699435; } - if (bVar1 == 0) break; - bVar1 = pbVar10[1]; - bVar17 = bVar1 < pbVar20[1]; - if (bVar1 != pbVar20[1]) goto LAB_00699430; - pbVar20 = pbVar20 + 2; - pbVar10 = pbVar10 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar12[1]; + bVar19 = bVar2 < pbVar22[1]; + if (bVar2 != pbVar22[1]) goto LAB_00699430; + pbVar22 = pbVar22 + 2; + pbVar12 = pbVar12 + 2; + } while (bVar2 != 0); + uVar5 = 0; LAB_00699435: - if ((uVar3 == 0) && (0 < iVar5)) { - pbVar11 = &g_xmlNullStr; - if ((byte *)puVar16[1] != (byte *)0x0) { - pbVar11 = (byte *)puVar16[1]; + if ((uVar5 == 0) && (0 < iVar7)) { + pbVar13 = &g_xmlNullStr; + if ((byte *)puVar18[1] != (byte *)0x0) { + pbVar13 = (byte *)puVar18[1]; } - pbVar10 = pbVar11; + pbVar12 = pbVar13; do { - bVar1 = *pbVar10; - pbVar10 = pbVar10 + 1; - } while (bVar1 != 0); - uVar3 = (int)pbVar10 - (int)(pbVar11 + 1); - if (0x7fffffffU - local_44 < uVar3) { + bVar2 = *pbVar12; + pbVar12 = pbVar12 + 1; + } while (bVar2 != 0); + uVar5 = (int)pbVar12 - (int)(pbVar13 + 1); + if (0x7fffffffU - local_44 < uVar5) { LAB_00699898: /* WARNING: Subroutine does not return */ std::string::_Xlen(); } - ppppuVar9 = local_54; + ppppuVar11 = local_54; if (0xf < local_40) { - ppppuVar9 = local_54[0]; + ppppuVar11 = local_54[0]; } - std::string::concat(in_ECX,uVar3,ppppuVar9,local_44,pbVar11,uVar3); + std::string::concat(in_ECX,uVar5,ppppuVar11,local_44,pbVar13,uVar5); if (0xf < uStack_80) { - uVar3 = uStack_80 + 1; - iVar12 = local_94; - if (0xfff < uVar3) { - iVar12 = *(int *)(local_94 + -4); - uVar3 = uStack_80 + 0x24; - if (0x1f < (local_94 - iVar12) - 4U) goto LAB_00699821; + uVar5 = uStack_80 + 1; + iVar14 = local_94; + if (0xfff < uVar5) { + iVar14 = *(int *)(local_94 + -4); + uVar5 = uStack_80 + 0x24; + if (0x1f < (local_94 - iVar14) - 4U) goto LAB_00699821; } - operator_delete(iVar12,uVar3); + operator_delete(iVar14,uVar5); } local_94 = local_f0; local_84 = local_e0; uStack_80 = uStack_dc; } else { - pcVar14 = "portrait"; - pbVar10 = &g_xmlNullStr; - if (pbVar11 != (byte *)0x0) { - pbVar10 = pbVar11; + pcVar16 = "portrait"; + pbVar12 = &g_xmlNullStr; + if (pbVar13 != (byte *)0x0) { + pbVar12 = pbVar13; } do { - bVar1 = *pbVar10; - bVar17 = bVar1 < (byte)*pcVar14; - if (bVar1 != *pcVar14) { + bVar2 = *pbVar12; + bVar19 = bVar2 < (byte)*pcVar16; + if (bVar2 != *pcVar16) { LAB_00699530: - uVar3 = -(uint)bVar17 | 1; + uVar5 = -(uint)bVar19 | 1; goto LAB_00699535; } - if (bVar1 == 0) break; - bVar1 = pbVar10[1]; - bVar17 = bVar1 < (byte)pcVar14[1]; - if (bVar1 != pcVar14[1]) goto LAB_00699530; - pcVar14 = pcVar14 + 2; - pbVar10 = pbVar10 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar12[1]; + bVar19 = bVar2 < (byte)pcVar16[1]; + if (bVar2 != pcVar16[1]) goto LAB_00699530; + pcVar16 = pcVar16 + 2; + pbVar12 = pbVar12 + 2; + } while (bVar2 != 0); + uVar5 = 0; LAB_00699535: - if ((uVar3 == 0) && (0 < iVar5)) { - pbVar11 = &g_xmlNullStr; - if ((byte *)puVar16[1] != (byte *)0x0) { - pbVar11 = (byte *)puVar16[1]; + if ((uVar5 == 0) && (0 < iVar7)) { + pbVar13 = &g_xmlNullStr; + if ((byte *)puVar18[1] != (byte *)0x0) { + pbVar13 = (byte *)puVar18[1]; } - pbVar10 = pbVar11; + pbVar12 = pbVar13; do { - bVar1 = *pbVar10; - pbVar10 = pbVar10 + 1; - } while (bVar1 != 0); - uVar3 = (int)pbVar10 - (int)(pbVar11 + 1); - if (0x7fffffffU - local_2c < uVar3) goto LAB_00699898; - ppppuVar9 = local_3c; + bVar2 = *pbVar12; + pbVar12 = pbVar12 + 1; + } while (bVar2 != 0); + uVar5 = (int)pbVar12 - (int)(pbVar13 + 1); + if (0x7fffffffU - local_2c < uVar5) goto LAB_00699898; + ppppuVar11 = local_3c; if (0xf < local_28) { - ppppuVar9 = local_3c[0]; + ppppuVar11 = local_3c[0]; } - std::string::concat(in_ECX,uVar3,ppppuVar9,local_2c,pbVar11,uVar3); + std::string::concat(in_ECX,uVar5,ppppuVar11,local_2c,pbVar13,uVar5); if (0xf < uStack_68) { - uVar3 = uStack_68 + 1; - iVar12 = local_7c; - if (0xfff < uVar3) { - iVar12 = *(int *)(local_7c + -4); - uVar3 = uStack_68 + 0x24; - if (0x1f < (local_7c - iVar12) - 4U) goto LAB_00699821; + uVar5 = uStack_68 + 1; + iVar14 = local_7c; + if (0xfff < uVar5) { + iVar14 = *(int *)(local_7c + -4); + uVar5 = uStack_68 + 0x24; + if (0x1f < (local_7c - iVar14) - 4U) goto LAB_00699821; } - operator_delete(iVar12,uVar3); + operator_delete(iVar14,uVar5); } local_7c = local_f0; local_6c = local_e0; uStack_68 = uStack_dc; } else { - pcVar14 = "scale"; - pbVar10 = &g_xmlNullStr; - if (pbVar11 != (byte *)0x0) { - pbVar10 = pbVar11; + pcVar16 = "scale"; + pbVar12 = &g_xmlNullStr; + if (pbVar13 != (byte *)0x0) { + pbVar12 = pbVar13; } do { - bVar1 = *pbVar10; - bVar17 = bVar1 < (byte)*pcVar14; - if (bVar1 != *pcVar14) { + bVar2 = *pbVar12; + bVar19 = bVar2 < (byte)*pcVar16; + if (bVar2 != *pcVar16) { LAB_00699625: - uVar3 = -(uint)bVar17 | 1; + uVar5 = -(uint)bVar19 | 1; goto LAB_0069962a; } - if (bVar1 == 0) break; - bVar1 = pbVar10[1]; - bVar17 = bVar1 < (byte)pcVar14[1]; - if (bVar1 != pcVar14[1]) goto LAB_00699625; - pbVar10 = pbVar10 + 2; - pcVar14 = pcVar14 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar12[1]; + bVar19 = bVar2 < (byte)pcVar16[1]; + if (bVar2 != pcVar16[1]) goto LAB_00699625; + pbVar12 = pbVar12 + 2; + pcVar16 = pcVar16 + 2; + } while (bVar2 != 0); + uVar5 = 0; LAB_0069962a: - if (uVar3 == 0) { - pbVar11 = &g_xmlNullStr; - if ((byte *)puVar16[1] != (byte *)0x0) { - pbVar11 = (byte *)puVar16[1]; + if (uVar5 == 0) { + pbVar13 = &g_xmlNullStr; + if ((byte *)puVar18[1] != (byte *)0x0) { + pbVar13 = (byte *)puVar18[1]; } - dVar18 = atof((char *)pbVar11); - local_64 = (float)dVar18; + dVar20 = atof((char *)pbVar13); + local_64 = (float)dVar20; } else { - pbVar20 = &DAT_00b66f08; - pbVar10 = &g_xmlNullStr; - if (pbVar11 != (byte *)0x0) { - pbVar10 = pbVar11; + pbVar22 = &DAT_00b66f08; + pbVar12 = &g_xmlNullStr; + if (pbVar13 != (byte *)0x0) { + pbVar12 = pbVar13; } do { - bVar1 = *pbVar10; - bVar17 = bVar1 < *pbVar20; - if (bVar1 != *pbVar20) { + bVar2 = *pbVar12; + bVar19 = bVar2 < *pbVar22; + if (bVar2 != *pbVar22) { LAB_00699676: - uVar3 = -(uint)bVar17 | 1; + uVar5 = -(uint)bVar19 | 1; goto LAB_0069967b; } - if (bVar1 == 0) break; - bVar1 = pbVar10[1]; - bVar17 = bVar1 < pbVar20[1]; - if (bVar1 != pbVar20[1]) goto LAB_00699676; - pbVar10 = pbVar10 + 2; - pbVar20 = pbVar20 + 2; - } while (bVar1 != 0); - uVar3 = 0; + if (bVar2 == 0) break; + bVar2 = pbVar12[1]; + bVar19 = bVar2 < pbVar22[1]; + if (bVar2 != pbVar22[1]) goto LAB_00699676; + pbVar12 = pbVar12 + 2; + pbVar22 = pbVar22 + 2; + } while (bVar2 != 0); + uVar5 = 0; LAB_0069967b: - if (uVar3 == 0) { - pbVar11 = &g_xmlNullStr; - if ((byte *)puVar16[1] != (byte *)0x0) { - pbVar11 = (byte *)puVar16[1]; + if (uVar5 == 0) { + pbVar13 = &g_xmlNullStr; + if ((byte *)puVar18[1] != (byte *)0x0) { + pbVar13 = (byte *)puVar18[1]; } - dVar18 = atof((char *)pbVar11); - local_60 = (float)dVar18; + dVar20 = atof((char *)pbVar13); + local_60 = (float)dVar20; } } } } } } - } while ((puVar16[4] != 0) && - (puVar16 = (undefined4 *)puVar16[6], puVar16 != (undefined4 *)0x0)); + } while ((puVar18[4] != 0) && + (puVar18 = (undefined4 *)puVar18[6], puVar18 != (undefined4 *)0x0)); } - if (*(int *)&pEVar8->field_0x6c == *(int *)&pEVar8->field_0x70) { - std::vector<124byte>::_Emplace_reallocate(*(int *)&pEVar8->field_0x6c,&local_d8); + pvVar3 = (pEVar10->_bossColors)._end; + if (pvVar3 == (pEVar10->_bossColors)._capacity) { + std::vector<124byte>::_Emplace_reallocate(pvVar3,&local_d8); } else { Color::copy_constructor_ext(&local_d8); - *(int *)&pEVar8->field_0x6c = *(int *)&pEVar8->field_0x6c + 0x7c; + ppvVar1 = &(pEVar10->_bossColors)._end; + *ppvVar1 = (void *)((int)*ppvVar1 + 0x7c); } local_14._0_1_ = 2; if (0xf < uStack_68) { - uVar3 = uStack_68 + 1; - iVar12 = local_7c; - if (0xfff < uVar3) { - iVar12 = *(int *)(local_7c + -4); - uVar3 = uStack_68 + 0x24; - if (0x1f < (local_7c - iVar12) - 4U) goto LAB_00699821; + uVar5 = uStack_68 + 1; + iVar14 = local_7c; + if (0xfff < uVar5) { + iVar14 = *(int *)(local_7c + -4); + uVar5 = uStack_68 + 0x24; + if (0x1f < (local_7c - iVar14) - 4U) goto LAB_00699821; } - operator_delete(iVar12,uVar3); + operator_delete(iVar14,uVar5); } if (0xf < uStack_80) { - uVar3 = uStack_80 + 1; - iVar12 = local_94; - if (0xfff < uVar3) { - iVar12 = *(int *)(local_94 + -4); - uVar3 = uStack_80 + 0x24; - if (0x1f < (local_94 - iVar12) - 4U) goto LAB_00699821; + uVar5 = uStack_80 + 1; + iVar14 = local_94; + if (0xfff < uVar5) { + iVar14 = *(int *)(local_94 + -4); + uVar5 = uStack_80 + 0x24; + if (0x1f < (local_94 - iVar14) - 4U) goto LAB_00699821; } - operator_delete(iVar12,uVar3); + operator_delete(iVar14,uVar5); } if (0xf < local_98) { - uVar3 = local_98 + 1; - iVar12 = local_ac; - if (0xfff < uVar3) { - iVar12 = *(int *)(local_ac + -4); - uVar3 = local_98 + 0x24; - if (0x1f < (local_ac - iVar12) - 4U) goto LAB_00699821; + uVar5 = local_98 + 1; + iVar14 = local_ac; + if (0xfff < uVar5) { + iVar14 = *(int *)(local_ac + -4); + uVar5 = local_98 + 0x24; + if (0x1f < (local_ac - iVar14) - 4U) goto LAB_00699821; } - operator_delete(iVar12,uVar3); + operator_delete(iVar14,uVar5); } puStack_1013c = (undefined4 *)puStack_1013c[0xb]; } while (puStack_1013c != (undefined4 *)0x0); @@ -355220,49 +355563,49 @@ LAB_0069967b: } local_14._0_1_ = 1; if (0xf < local_28) { - uVar3 = local_28 + 1; - ppppuVar9 = local_3c[0]; - if (0xfff < uVar3) { - ppppuVar9 = (undefined4 ****)local_3c[0][-1]; - uVar3 = local_28 + 0x24; - if (0x1f < (uint)((int)local_3c[0] + (-4 - (int)ppppuVar9))) goto LAB_00699821; + uVar5 = local_28 + 1; + ppppuVar11 = local_3c[0]; + if (0xfff < uVar5) { + ppppuVar11 = (undefined4 ****)local_3c[0][-1]; + uVar5 = local_28 + 0x24; + if (0x1f < (uint)((int)local_3c[0] + (-4 - (int)ppppuVar11))) goto LAB_00699821; } - operator_delete(ppppuVar9,uVar3); + operator_delete(ppppuVar11,uVar5); } local_14._0_1_ = 0; if (0xf < local_40) { - uVar3 = local_40 + 1; - ppppuVar9 = local_54[0]; - if (0xfff < uVar3) { - ppppuVar9 = (undefined4 ****)local_54[0][-1]; - uVar3 = local_40 + 0x24; - if (0x1f < (uint)((int)local_54[0] + (-4 - (int)ppppuVar9))) { + uVar5 = local_40 + 1; + ppppuVar11 = local_54[0]; + if (0xfff < uVar5) { + ppppuVar11 = (undefined4 ****)local_54[0][-1]; + uVar5 = local_40 + 0x24; + if (0x1f < (uint)((int)local_54[0] + (-4 - (int)ppppuVar11))) { LAB_00699821: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(ppppuVar9,uVar3); + operator_delete(ppppuVar11,uVar5); } local_14 = (undefined4 ***)0x4; xml_memory_pool::clear(); if (g_mainHeap == (void *)0x0) { - pqVar13 = &g_allocatedBytesNoHeap; + pqVar15 = &g_allocatedBytesNoHeap; } else { - pqVar13 = (qword *)((int)g_mainHeap + 0x30); + pqVar15 = (qword *)((int)g_mainHeap + 0x30); } - if (iVar6 != 0) { - uVar3 = *(uint *)(iVar6 + -4); - qVar2 = *pqVar13; - *(uint *)pqVar13 = (uint)*pqVar13 - uVar3; - *(uint *)((int)pqVar13 + 4) = *(uint *)((int)pqVar13 + 4) - (uint)((uint)qVar2 < uVar3); - free((uint *)(iVar6 + -4)); + if (iVar8 != 0) { + uVar5 = *(uint *)(iVar8 + -4); + qVar4 = *pqVar15; + *(uint *)pqVar15 = (uint)*pqVar15 - uVar5; + *(uint *)((int)pqVar15 + 4) = *(uint *)((int)pqVar15 + 4) - (uint)((uint)qVar4 < uVar5); + free((uint *)(iVar8 + -4)); } - uVar19 = 1; + uVar21 = 1; } ExceptionList = local_1c; - return uVar19; + return uVar21; } @@ -355544,7 +355887,7 @@ undefined4 EntityConfig::load_players_xml(undefined4 *param_1,void *param_2) uStack_10238 = xml_node::first_node("player",pbVar10,iVar15); joined_r0x00699bbe: if (uStack_10238 != 0) { - EntityConfig_Player::EntityConfig_Player(); + EntityConfig_Player::EntityConfig_Player((EntityConfig_Player *)auStack_10218); local_14._0_1_ = 4; puVar8 = *(undefined4 **)(extraout_EDX + 0x20); joined_r0x00699bde: @@ -356785,7 +357128,9 @@ LAB_0069ab6f: if (pvStack_10228 == (void *)0x0) { if (-1 < (int)auStack_10218._0_4_) { iStack_100f4 = auStack_10218._0_4_; - EntityConfig_Player::operator_assign(auStack_10218); + EntityConfig_Player::operator_assign + ((EntityConfig_Player *)(auStack_10218._0_4_ * 0x148 + *(int *)(iStack_1022c + 8)), + auStack_10218); goto LAB_0069b2cf; } } @@ -357339,122 +357684,126 @@ void FUN_0069b7b0(void) field by field); once from EntityConfig::load_players_xml when an existing player id is redefined */ -void EntityConfig_Player::operator_assign(undefined4 *param_1) +EntityConfig_Player * __thiscall +EntityConfig_Player::operator_assign(EntityConfig_Player *this,int *param_2) { - void *_Src; - undefined4 uVar1; - undefined4 uVar2; - undefined4 uVar3; - undefined4 *puVar4; + std_vector *psVar1; + void *pvVar2; + void *pvVar3; + void *pvVar4; + int iVar5; + int *piVar6; size_t _Size; - int *piVar5; - undefined4 *in_ECX; + int *piVar7; - puVar4 = param_1; - *in_ECX = *param_1; - piVar5 = param_1 + 1; - if (in_ECX + 1 != piVar5) { - if (0xf < (uint)param_1[6]) { - piVar5 = (int *)*piVar5; + piVar6 = param_2; + this->_id = *param_2; + piVar7 = param_2 + 1; + if (&this->_name != (std_string *)piVar7) { + if (0xf < (uint)param_2[6]) { + piVar7 = (int *)*piVar7; } - std::string::assign(piVar5,param_1[5]); + std::string::assign(piVar7,param_2[5]); } - piVar5 = param_1 + 7; - if (in_ECX + 7 != piVar5) { - if (0xf < (uint)param_1[0xc]) { - piVar5 = (int *)*piVar5; + piVar7 = param_2 + 7; + if (&this->_skinPath != (std_string *)piVar7) { + if (0xf < (uint)param_2[0xc]) { + piVar7 = (int *)*piVar7; } - std::string::assign(piVar5,param_1[0xb]); + std::string::assign(piVar7,param_2[0xb]); } - piVar5 = param_1 + 0xd; - if (in_ECX + 0xd != piVar5) { - if (0xf < (uint)param_1[0x12]) { - piVar5 = (int *)*piVar5; + piVar7 = param_2 + 0xd; + if (&this->_nameImagePath != (std_string *)piVar7) { + if (0xf < (uint)param_2[0x12]) { + piVar7 = (int *)*piVar7; } - std::string::assign(piVar5,param_1[0x11]); + std::string::assign(piVar7,param_2[0x11]); } - piVar5 = param_1 + 0x13; - if (in_ECX + 0x13 != piVar5) { - if (0xf < (uint)param_1[0x18]) { - piVar5 = (int *)*piVar5; + piVar7 = param_2 + 0x13; + if (&this->_portraitPath != (std_string *)piVar7) { + if (0xf < (uint)param_2[0x18]) { + piVar7 = (int *)*piVar7; } - std::string::assign(piVar5,param_1[0x17]); + std::string::assign(piVar7,param_2[0x17]); } - piVar5 = param_1 + 0x19; - if (in_ECX + 0x19 != piVar5) { - if (0xf < (uint)param_1[0x1e]) { - piVar5 = (int *)*piVar5; + piVar7 = param_2 + 0x19; + if (&this->_unkString != (std_string *)piVar7) { + if (0xf < (uint)param_2[0x1e]) { + piVar7 = (int *)*piVar7; } - std::string::assign(piVar5,param_1[0x1d]); + std::string::assign(piVar7,param_2[0x1d]); } - piVar5 = param_1 + 0x1f; - if (in_ECX + 0x1f != piVar5) { - if (0xf < (uint)param_1[0x24]) { - piVar5 = (int *)*piVar5; + piVar7 = param_2 + 0x1f; + if (&this->_extraPortraitPath != (std_string *)piVar7) { + if (0xf < (uint)param_2[0x24]) { + piVar7 = (int *)*piVar7; } - std::string::assign(piVar5,param_1[0x23]); + std::string::assign(piVar7,param_2[0x23]); } - piVar5 = param_1 + 0x25; - if (in_ECX + 0x25 != piVar5) { - if (0xf < (uint)param_1[0x2a]) { - piVar5 = (int *)*piVar5; + piVar7 = param_2 + 0x25; + if (&this->_costumeSuffixName != (std_string *)piVar7) { + if (0xf < (uint)param_2[0x2a]) { + piVar7 = (int *)*piVar7; } - std::string::assign(piVar5,param_1[0x29]); + std::string::assign(piVar7,param_2[0x29]); } - in_ECX[0x2b] = param_1[0x2b]; - in_ECX[0x2c] = param_1[0x2c]; - in_ECX[0x2d] = param_1[0x2d]; - in_ECX[0x2e] = param_1[0x2e]; - in_ECX[0x2f] = param_1[0x2f]; - in_ECX[0x30] = param_1[0x30]; - in_ECX[0x31] = param_1[0x31]; - in_ECX[0x32] = param_1[0x32]; - in_ECX[0x33] = param_1[0x33]; - piVar5 = in_ECX + 0x35; - *(undefined1 *)(in_ECX + 0x34) = *(undefined1 *)(param_1 + 0x34); - if (piVar5 != param_1 + 0x35) { - _Src = (void *)param_1[0x35]; - _Size = param_1[0x36] - (int)_Src; - param_1 = (undefined4 *)*piVar5; - if ((uint)(in_ECX[0x37] - (int)param_1 >> 2) < (uint)((int)_Size >> 2)) { + this->_costumeID = param_2[0x2b]; + this->_heart = param_2[0x2c]; + this->_armor = param_2[0x2d]; + this->_blackHeart = param_2[0x2e]; + this->_coins = param_2[0x2f]; + this->_bombs = param_2[0x30]; + this->_keys = param_2[0x31]; + this->_card = param_2[0x32]; + this->_pill = param_2[0x33]; + psVar1 = &this->_collectibles; + this->_canShoot = *(byte *)(param_2 + 0x34); + if (psVar1 != (std_vector *)(param_2 + 0x35)) { + pvVar2 = (void *)param_2[0x35]; + _Size = param_2[0x36] - (int)pvVar2; + param_2 = psVar1->_begin; + if ((uint)((int)(this->_collectibles)._capacity - (int)param_2 >> 2) < (uint)((int)_Size >> 2)) + { std::vector::reserve_clear((int)_Size >> 2); - param_1 = (undefined4 *)*piVar5; + param_2 = psVar1->_begin; } - memmove(param_1,_Src,_Size); - in_ECX[0x36] = (int)param_1 + _Size; + memmove(param_2,pvVar2,_Size); + (this->_collectibles)._end = (void *)((int)param_2 + _Size); } - in_ECX[0x38] = puVar4[0x38]; - in_ECX[0x39] = puVar4[0x39]; - in_ECX[0x3a] = puVar4[0x3a]; - in_ECX[0x3b] = puVar4[0x3b]; - in_ECX[0x3c] = puVar4[0x3c]; - piVar5 = puVar4 + 0x3d; - if (in_ECX + 0x3d != piVar5) { - if (0xf < (uint)puVar4[0x42]) { - piVar5 = (int *)*piVar5; + this->_trinket = piVar6[0x38]; + this->_skinColor = piVar6[0x39]; + this->_achievement = piVar6[0x3a]; + this->_brokenHeart = piVar6[0x3b]; + this->_pocketActiveID = piVar6[0x3c]; + piVar7 = piVar6 + 0x3d; + if (&this->_birthrightDescription != (std_string *)piVar7) { + if (0xf < (uint)piVar6[0x42]) { + piVar7 = (int *)*piVar7; } - std::string::assign(piVar5,puVar4[0x41]); + std::string::assign(piVar7,piVar6[0x41]); } - piVar5 = puVar4 + 0x43; - if (in_ECX + 0x43 != piVar5) { - if (0xf < (uint)puVar4[0x48]) { - piVar5 = (int *)*piVar5; + piVar7 = piVar6 + 0x43; + if (&this->_bSkinParentName != (std_string *)piVar7) { + if (0xf < (uint)piVar6[0x48]) { + piVar7 = (int *)*piVar7; } - std::string::assign(piVar5,puVar4[0x47]); + std::string::assign(piVar7,piVar6[0x47]); } - in_ECX[0x49] = puVar4[0x49]; - *(undefined1 *)(in_ECX + 0x4a) = *(undefined1 *)(puVar4 + 0x4a); - in_ECX[0x4b] = puVar4[0x4b]; - uVar1 = puVar4[0x4d]; - uVar2 = puVar4[0x4e]; - uVar3 = puVar4[0x4f]; - in_ECX[0x4c] = puVar4[0x4c]; - in_ECX[0x4d] = uVar1; - in_ECX[0x4e] = uVar2; - in_ECX[0x4f] = uVar3; - *(undefined8 *)(in_ECX + 0x50) = *(undefined8 *)(puVar4 + 0x50); - return; + this->_moddedTaintedPlayerID = piVar6[0x49]; + this->_hidden = *(byte *)(piVar6 + 0x4a); + this->_modEntry = (void *)piVar6[0x4b]; + pvVar2 = (void *)piVar6[0x4d]; + pvVar3 = (void *)piVar6[0x4e]; + pvVar4 = (void *)piVar6[0x4f]; + *(int *)&this->_renderCustomBackground = piVar6[0x4c]; + this->_moddedMenuBackgroundANM2 = pvVar2; + this->_moddedMenuPortraitANM2 = pvVar3; + this->_moddedGameOverANM2 = pvVar4; + iVar5 = piVar6[0x51]; + this->_moddedCoopMenuANM2 = (void *)piVar6[0x50]; + this->_moddedControlsANM2 = (void *)iVar5; + return this; } @@ -359016,30 +359365,30 @@ void std::vector::_Tidy(void) { uint uVar1; int *in_ECX; - int iVar2; - int iVar3; + EntityConfig_Entity *pEVar2; + EntityConfig_Entity *pEVar3; - iVar2 = *in_ECX; - if (iVar2 != 0) { - iVar3 = in_ECX[1]; - if (iVar2 != iVar3) { + pEVar2 = (EntityConfig_Entity *)*in_ECX; + if (pEVar2 != (EntityConfig_Entity *)0x0) { + pEVar3 = (EntityConfig_Entity *)in_ECX[1]; + if (pEVar2 != pEVar3) { do { - EntityConfig_Entity::~EntityConfig_Entity(); - iVar2 = iVar2 + 0x168; - } while (iVar2 != iVar3); - iVar2 = *in_ECX; + EntityConfig_Entity::~EntityConfig_Entity(pEVar2); + pEVar2 = pEVar2 + 1; + } while (pEVar2 != pEVar3); + pEVar2 = (EntityConfig_Entity *)*in_ECX; } - uVar1 = ((in_ECX[2] - iVar2) / 0x168) * 0x168; - iVar3 = iVar2; + uVar1 = ((in_ECX[2] - (int)pEVar2) / 0x168) * 0x168; + pEVar3 = pEVar2; if (0xfff < uVar1) { - iVar3 = *(int *)(iVar2 + -4); + pEVar3 = *(EntityConfig_Entity **)&pEVar2[-1].isPortraitModded; uVar1 = uVar1 + 0x23; - if (0x1f < (iVar2 - iVar3) - 4U) { + if (0x1f < (uint)((int)pEVar2 + (-4 - (int)pEVar3))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar3,uVar1); + operator_delete(pEVar3,uVar1); *in_ECX = 0; in_ECX[1] = 0; in_ECX[2] = 0; @@ -359056,7 +359405,7 @@ int FUN_0069d630(undefined4 param_1) int *piVar1; undefined1 local_10 [12]; - piVar1 = (int *)FUN_0069e0c0(local_10,param_1); + piVar1 = (int *)std::map::_Try_emplace(local_10,param_1); return *piVar1 + 0x28; } @@ -359489,11 +359838,11 @@ void FUN_0069dc40(void) //@@ 0069dc60 FUN_0069dc60 -void FUN_0069dc60(int param_1,int param_2) +void FUN_0069dc60(EntityConfig_Entity *param_1,EntityConfig_Entity *param_2) { - for (; param_1 != param_2; param_1 = param_1 + 0x168) { - EntityConfig_Entity::~EntityConfig_Entity(); + for (; param_1 != param_2; param_1 = param_1 + 1) { + EntityConfig_Entity::~EntityConfig_Entity(param_1); } return; } @@ -359684,25 +360033,29 @@ void FUN_0069de40(int param_1,int param_2) void FUN_0069de80(int param_1,int param_2,undefined4 param_3) { - FUN_0069fd80((param_2 - param_1) / 0x14,param_3); + std::_Sort_unchecked<20byte>((param_2 - param_1) / 0x14,param_3); return; } -//@@ 0069deb0 FUN_0069deb0 +//@@ 0069deb0 std::vector::_Emplace_reallocate -int FUN_0069deb0(int param_1,undefined4 param_2) +/* DB: round 7 agent */ + +int std::vector::_Emplace_reallocate(int param_1,undefined4 param_2) { undefined **ppuVar1; - undefined **ppuVar2; - int iVar3; + int iVar2; + undefined **ppuVar3; + int iVar4; int *in_ECX; - undefined **ppuVar4; - int iVar5; - uint uVar6; - int iVar7; + undefined **ppuVar5; + int iVar6; + uint uVar7; int iVar8; + EntityConfig_Entity *pEVar9; + EntityConfig_Entity *pEVar10; void *local_10; undefined1 *puStack_c; undefined4 local_8; @@ -359711,70 +360064,70 @@ int FUN_0069deb0(int param_1,undefined4 param_2) puStack_c = &LAB_00af9df0; local_10 = ExceptionList; ExceptionList = &local_10; - iVar8 = *in_ECX; - ppuVar2 = (undefined **)((in_ECX[1] - iVar8) / 0x168); - if (ppuVar2 == &PTR_s_SummonLoop4_00b60b60) { + iVar2 = *in_ECX; + ppuVar3 = (undefined **)((in_ECX[1] - iVar2) / 0x168); + if (ppuVar3 == &PTR_s_SummonLoop4_00b60b60) { /* WARNING: Subroutine does not return */ - std::_Xlen(); + _Xlen(); } - ppuVar2 = (undefined **)((int)ppuVar2 + 1); - uVar6 = (in_ECX[2] - iVar8) / 0x168; - if ((int)&PTR_s_SummonLoop4_00b60b60 - (uVar6 >> 1) < uVar6) { - ppuVar4 = &PTR_s_SummonLoop4_00b60b60; + ppuVar3 = (undefined **)((int)ppuVar3 + 1); + uVar7 = (in_ECX[2] - iVar2) / 0x168; + if ((int)&PTR_s_SummonLoop4_00b60b60 - (uVar7 >> 1) < uVar7) { + ppuVar5 = &PTR_s_SummonLoop4_00b60b60; } else { - ppuVar1 = (undefined **)((uVar6 >> 1) + uVar6); - ppuVar4 = ppuVar2; - if (ppuVar2 <= ppuVar1) { - ppuVar4 = ppuVar1; + ppuVar1 = (undefined **)((uVar7 >> 1) + uVar7); + ppuVar5 = ppuVar3; + if (ppuVar3 <= ppuVar1) { + ppuVar5 = ppuVar1; } - if (&PTR_s_SummonLoop4_00b60b60 < ppuVar4) { + if (&PTR_s_SummonLoop4_00b60b60 < ppuVar5) { /* WARNING: Subroutine does not return */ FUN_0040cee0(); } } - iVar3 = std::_Allocate(); + iVar4 = _Allocate(); local_8 = 0; - iVar5 = ((param_1 - iVar8) / 0x168) * 0x168 + iVar3; - FUN_0069f560(param_2); - iVar8 = in_ECX[1]; - iVar7 = *in_ECX; - if (param_1 == iVar8) { - for (; iVar7 != iVar8; iVar7 = iVar7 + 0x168) { - FUN_006a15c0(iVar7); + iVar6 = ((param_1 - iVar2) / 0x168) * 0x168 + iVar4; + EntityConfig_Entity::EntityConfig_Entity(param_2); + iVar2 = in_ECX[1]; + iVar8 = *in_ECX; + if (param_1 == iVar2) { + for (; iVar8 != iVar2; iVar8 = iVar8 + 0x168) { + EntityConfig_Entity::move_constructor(iVar8); } } else { - FUN_0069fa30(iVar7,param_1,iVar3); - FUN_0069fa30(param_1,in_ECX[1],iVar5 + 0x168); + FUN_0069fa30(iVar8,param_1,iVar4); + FUN_0069fa30(param_1,in_ECX[1],iVar6 + 0x168); } - iVar8 = *in_ECX; - if (iVar8 != 0) { - iVar7 = in_ECX[1]; - if (iVar8 != iVar7) { + pEVar9 = (EntityConfig_Entity *)*in_ECX; + if (pEVar9 != (EntityConfig_Entity *)0x0) { + pEVar10 = (EntityConfig_Entity *)in_ECX[1]; + if (pEVar9 != pEVar10) { do { - EntityConfig_Entity::~EntityConfig_Entity(); - iVar8 = iVar8 + 0x168; - } while (iVar8 != iVar7); - iVar8 = *in_ECX; + EntityConfig_Entity::~EntityConfig_Entity(pEVar9); + pEVar9 = pEVar9 + 1; + } while (pEVar9 != pEVar10); + pEVar9 = (EntityConfig_Entity *)*in_ECX; } - uVar6 = ((in_ECX[2] - iVar8) / 0x168) * 0x168; - iVar7 = iVar8; - if (0xfff < uVar6) { - iVar7 = *(int *)(iVar8 + -4); - uVar6 = uVar6 + 0x23; - if (0x1f < (iVar8 - iVar7) - 4U) { + uVar7 = ((in_ECX[2] - (int)pEVar9) / 0x168) * 0x168; + pEVar10 = pEVar9; + if (0xfff < uVar7) { + pEVar10 = *(EntityConfig_Entity **)&pEVar9[-1].isPortraitModded; + uVar7 = uVar7 + 0x23; + if (0x1f < (uint)((int)pEVar9 + (-4 - (int)pEVar10))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar7,uVar6); + operator_delete(pEVar10,uVar7); } - *in_ECX = iVar3; - in_ECX[1] = (int)ppuVar2 * 0x168 + iVar3; - in_ECX[2] = (int)ppuVar4 * 0x168 + iVar3; + *in_ECX = iVar4; + in_ECX[1] = (int)ppuVar3 * 0x168 + iVar4; + in_ECX[2] = (int)ppuVar5 * 0x168 + iVar4; ExceptionList = local_10; - return iVar5; + return iVar6; } @@ -359792,9 +360145,13 @@ void Catch_All_0069e08b(void) } -//@@ 0069e0c0 FUN_0069e0c0 +//@@ 0069e0c0 std::map::_Try_emplace -void FUN_0069e0c0(undefined4 *param_1,int *param_2) +/* DB: std::map::_Find_lower_bound then operator_new(0x2c) node (value +0x28, max_size + 0x5d1745d); FUN_0069d630 returns node+0x28 (operator[]), used by EntityConfig::parse_entity_tags + / LoadEntities / ItemConfig::parse_cache_flags */ + +void std::map::_Try_emplace(undefined4 *param_1,int *param_2) { int *piVar1; @@ -359822,7 +360179,7 @@ void FUN_0069e0c0(undefined4 *param_1,int *param_2) local_1c = ExceptionList; uVar5 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; - std::map::_Find_lower_bound(&local_38,param_2); + string>::_Find_lower_bound(&local_38,param_2); if (*(char *)((int)local_30 + 0xd) == '\0') { piVar6 = local_30 + 4; if (0xf < (uint)local_30[9]) { @@ -360349,7 +360706,7 @@ void FUN_0069ea30(int *param_1,uint *param_2) local_14 = 0; piVar6 = (int *)operator_new(0x180); piVar6[4] = *param_2; - EntityConfig_Entity::EntityConfig_Entity(); + EntityConfig_Entity::EntityConfig_Entity((EntityConfig_Entity *)(piVar6 + 6)); *piVar6 = iVar2; piVar6[1] = iVar2; piVar6[2] = iVar2; @@ -360433,7 +360790,7 @@ void FUN_0069ec00(undefined4 param_1,int *param_2) while (cVar1 == '\0') { FUN_0069ec00(param_1,param_2[2]); piVar2 = (int *)*param_2; - EntityConfig_Entity::~EntityConfig_Entity(); + EntityConfig_Entity::~EntityConfig_Entity((EntityConfig_Entity *)(param_2 + 6)); operator_delete(param_2,0x180); param_2 = piVar2; cVar1 = *(char *)((int)piVar2 + 0xd); @@ -360953,9 +361310,14 @@ void FUN_0069f520(void) } -//@@ 0069f560 FUN_0069f560 +//@@ 0069f560 EntityConfig_Entity::EntityConfig_Entity -void FUN_0069f560(undefined4 *param_1) +/* DB: copy constructor of the 0x168-byte EntityConfig_Entity (id/variant/subtype +0..8, std::string + name +0xc, vector of 0x7c records +0x68, string +0x74, vector of 0x24 +0x8c, vector +0x98 + ...); used by FUN_00694f00 (EntityConfig filter by type -> vector, + ProceduralEffect::roll_trigger_target) and its _Emplace_reallocate 0069deb0 std::vector::_Emplace_reallocate + +void EntityConfig_Entity::EntityConfig_Entity(undefined4 *param_1) { int *piVar1; @@ -361170,7 +361532,7 @@ int FUN_0069fa30(int param_1,int param_2,int param_3) { for (; param_1 != param_2; param_1 = param_1 + 0x168) { - FUN_006a15c0(param_1); + EntityConfig_Entity::move_constructor(param_1); param_3 = param_3 + 0x168; } return param_3; @@ -361241,7 +361603,7 @@ void FUN_0069fb60(int param_1,int param_2) { for (; param_1 != param_2; param_1 = param_1 + 0x148) { - FUN_006a1a40(param_1); + EntityConfig_Player::EntityConfig_Player(param_1); } return; } @@ -361253,7 +361615,7 @@ int FUN_0069fb90(int param_1,int param_2,int param_3) { for (; param_1 != param_2; param_1 = param_1 + 0x148) { - FUN_006a1a40(param_1); + EntityConfig_Player::EntityConfig_Player(param_1); param_3 = param_3 + 0x148; } return param_3; @@ -361464,9 +361826,13 @@ void FUN_0069fd60(void) } -//@@ 0069fd80 FUN_0069fd80 +//@@ 0069fd80 std::_Sort_unchecked<20byte> -void FUN_0069fd80(int param_1,undefined4 param_2) +/* DB: MSVC STL introsort: recursive (self calls), switches to heap sort (make_heap/pop loop) when + the ideal counter runs out, insertion below 0x294 bytes (32 x 20-byte elements), keyed on the + float at +0xc; wrapper FUN_0069de80 (begin,end) called twice by EntityConfig::LoadEntities */ + +void std::_Sort_unchecked<20byte>(int param_1,undefined4 param_2) { undefined4 *puVar1; @@ -361600,14 +361966,14 @@ void FUN_0069fd80(int param_1,undefined4 param_2) } while (0x27 < iVar13); return; } - FUN_006a0e60(local_90,param_2); + _Partition_by_median_guess_unchecked<20byte_floatkey>(local_90,param_2); param_1 = (param_1 >> 1) + (param_1 >> 2); if (((int)local_50 - (int)in_ECX) / 0x14 < ((int)local_90 - (int)puStack_4c) / 0x14) { - FUN_0069fd80(param_1,param_2); + _Sort_unchecked<20byte>(param_1,param_2); in_ECX = puStack_4c; } else { - FUN_0069fd80(param_1,param_2); + _Sort_unchecked<20byte>(param_1,param_2); local_90 = local_50; } } while (0x293 < (int)local_90 - (int)in_ECX); @@ -361667,7 +362033,7 @@ void FUN_006a00d0(undefined4 *param_1,undefined4 param_2) undefined4 local_10; undefined1 local_c; - FUN_006a1110(&local_10,param_2); + std::map::emplace(&local_10,param_2); *param_1 = local_10; *(undefined1 *)(param_1 + 1) = local_c; return; @@ -361834,14 +362200,15 @@ void FUN_006a03a0(void) { int iVar1; uint uVar2; - undefined4 uVar3; + int iVar3; int *in_ECX; + EntityConfig_Player *pEVar4; + int extraout_ECX; int extraout_EDX; - int iVar4; + int iVar5; undefined *local_8; - iVar1 = in_ECX[1]; - iVar4 = *in_ECX; + iVar1 = (in_ECX[1] - *in_ECX) / 0x148; uVar2 = (in_ECX[2] - *in_ECX) / 0x148; if ((int)&DAT_00c7ce0c - (uVar2 >> 1) < uVar2) { local_8 = &DAT_00c7ce0c; @@ -361856,17 +362223,19 @@ void FUN_006a03a0(void) FUN_0040cee0(); } } - uVar3 = std::_Allocate(); - if ((iVar1 - iVar4) / 0x148 != 0x29) { + iVar3 = std::_Allocate(); + pEVar4 = (EntityConfig_Player *)(iVar1 * 0x148 + iVar3); + if (iVar1 != 0x29) { do { - EntityConfig_Player::EntityConfig_Player(); + EntityConfig_Player::EntityConfig_Player(pEVar4); + pEVar4 = (EntityConfig_Player *)(extraout_ECX + 0x148); } while (extraout_EDX != 1); } iVar1 = in_ECX[1]; - for (iVar4 = *in_ECX; iVar4 != iVar1; iVar4 = iVar4 + 0x148) { - FUN_006a1a40(iVar4); + for (iVar5 = *in_ECX; iVar5 != iVar1; iVar5 = iVar5 + 0x148) { + EntityConfig_Player::EntityConfig_Player(iVar5); } - FUN_0069fac0(uVar3,0x29,local_8); + FUN_0069fac0(iVar3,0x29,local_8); return; } @@ -362457,9 +362826,14 @@ void FUN_006a0dc0(uint param_1) } -//@@ 006a0e60 FUN_006a0e60 +//@@ 006a0e60 std::_Partition_by_median_guess_unchecked<20byte_floatkey> -void FUN_006a0e60(undefined4 *param_1,undefined4 *param_2) +/* DB: MSVC std::sort partition: stride 0x14, _Guess_median_unchecked via FUN_006a1e00 (ninther when + >40 elements), equal-range on float at +0xc; only caller FUN_0069fd80 (= + std::_Sort_unchecked<20byte_floatkey>, loops while >32 elements, then halves ideal) */ + +void std::_Partition_by_median_guess_unchecked<20byte_floatkey> + (undefined4 *param_1,undefined4 *param_2) { undefined4 uVar1; @@ -362695,9 +363069,13 @@ LAB_006a0fd3: } -//@@ 006a1110 FUN_006a1110 +//@@ 006a1110 std::map::emplace -void FUN_006a1110(undefined4 *param_1,int *param_2) +/* DB: MSVC _Tree: std::map::_Find_lower_bound + string_compare, else new 0x2c node (16 + header + moved std::string + 4-byte value), max_size 0x5d1745d; wrapper FUN_006a00d0 + (pair) used by Menu_Mods::Update */ + +void std::map::emplace(undefined4 *param_1,int *param_2) { int *piVar1; @@ -362725,7 +363103,7 @@ void FUN_006a1110(undefined4 *param_1,int *param_2) local_1c = ExceptionList; uVar5 = __security_cookie ^ (uint)(local_44 + 0x34); ExceptionList = &local_1c; - puVar6 = (undefined8 *)std::map::_Find_lower_bound(local_44,param_2); + puVar6 = (undefined8 *)string>::_Find_lower_bound(local_44,param_2); local_38 = *puVar6; local_24 = *(int **)(puVar6 + 1); if (*(char *)((int)local_24 + 0xd) == '\0') { @@ -363054,9 +363432,13 @@ void FUN_006a14f0(uint param_1,undefined4 *param_2) } -//@@ 006a15c0 FUN_006a15c0 +//@@ 006a15c0 EntityConfig_Entity::move_constructor -void FUN_006a15c0(undefined4 *param_1) +/* DB: ? moves a 0x168-byte record (strings reset to SSO 0/0xf, vectors stolen); only from the + vector realloc FUN_0069deb0/FUN_0069fa30 (0x168 stride, filled by FUN_00694f00, same element as + std::vector::_Tidy 0069d5a0) */ + +void EntityConfig_Entity::move_constructor(undefined4 *param_1) { undefined4 uVar1; @@ -363241,9 +363623,13 @@ void FUN_006a15c0(undefined4 *param_1) } -//@@ 006a1a40 FUN_006a1a40 +//@@ 006a1a40 EntityConfig_Player::EntityConfig_Player -void FUN_006a1a40(undefined4 *param_1) +/* DB: move-ctor of the 0x148-byte EntityConfig_Player (int id then std::strings moved field by + field, source reset to empty/cap 15); 3 callers are uninitialized-move loops (0069fb60 stride + 0x148) under EntityConfig::load_players_xml's vector growth */ + +void EntityConfig_Player::EntityConfig_Player(undefined4 *param_1) { undefined4 uVar1; @@ -363614,10 +364000,9 @@ Entity_Bomb::Init(Entity_Bomb *this,undefined4 param_2,undefined4 param_3,undefi byte *pbVar5; byte *pbVar6; uint uVar7; - RNG RVar8; - int iVar9; - bool bVar10; - byte *pbVar11; + int iVar8; + bool bVar9; + byte *pbVar10; undefined1 auStack_74 [7]; char local_6d; byte *local_6c; @@ -363625,10 +364010,10 @@ Entity_Bomb::Init(Entity_Bomb *this,undefined4 param_2,undefined4 param_3,undefi float local_64; float fStack_60; float fStack_5c; - undefined4 uStack_58; - undefined4 local_44; - undefined4 uStack_40; - undefined4 local_3c; + float fStack_58; + float local_44; + float fStack_40; + float local_3c; float local_38; float local_34; float local_30; @@ -363645,16 +364030,16 @@ Entity_Bomb::Init(Entity_Bomb *this,undefined4 param_2,undefined4 param_3,undefi this->_updateDelay = 0; this->_scatterTimer = 0; if ((((iVar1 == 3) || (iVar1 == 4)) || (iVar1 == 8)) || (iVar1 == 0x12)) { - RVar8 = this->_dropRNG; - if (RVar8 == (RNG)0x0) { + uVar4 = (this->_dropRNG)._seed; + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar8 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar8; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar4; - RVar8 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar4); - this->_dropRNG = RVar8; - this->_explosionCountdown1 = this->_explosionCountdown1 + (uint)RVar8 % 0x1e; + uVar4 = uVar4 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar4; + (this->_dropRNG)._seed = uVar4; + this->_explosionCountdown1 = this->_explosionCountdown1 + uVar4 % 0x1e; } iVar1 = this->_variant; if (iVar1 == 0xf) { @@ -363689,34 +364074,34 @@ Entity_Bomb::Init(Entity_Bomb *this,undefined4 param_2,undefined4 param_3,undefi this->_hasCostumes = 0; this->_loadCostumes = 0; if (iVar1 == 2) { - pbVar11 = (this->_sprite)._animState._animData; - if (pbVar11 != (byte *)0x0) { - pbVar5 = pbVar11; - if (0xf < *(uint *)(pbVar11 + 0x14)) { - pbVar5 = *(byte **)pbVar11; + pbVar10 = (this->_sprite)._animState._animData; + if (pbVar10 != (byte *)0x0) { + pbVar5 = pbVar10; + if (0xf < *(uint *)(pbVar10 + 0x14)) { + pbVar5 = *(byte **)pbVar10; } pbVar6 = s_Idle; do { bVar3 = *pbVar5; - bVar10 = bVar3 < *pbVar6; + bVar9 = bVar3 < *pbVar6; if (bVar3 != *pbVar6) { LAB_006a2260: - uVar4 = -(uint)bVar10 | 1; + uVar4 = -(uint)bVar9 | 1; goto LAB_006a2265; } if (bVar3 == 0) break; bVar3 = pbVar5[1]; - bVar10 = bVar3 < pbVar6[1]; + bVar9 = bVar3 < pbVar6[1]; if (bVar3 != pbVar6[1]) goto LAB_006a2260; pbVar5 = pbVar5 + 2; pbVar6 = pbVar6 + 2; } while (bVar3 != 0); uVar4 = 0; LAB_006a2265: - if ((uVar4 == 0) && ((pbVar11[0x34] == 0 || ((this->_sprite)._animState._isPlaying != 0)))) + if ((uVar4 == 0) && ((pbVar10[0x34] == 0 || ((this->_sprite)._animState._isPlaying != 0)))) goto LAB_006a2468; } - pbVar11 = s_Idle; + pbVar10 = s_Idle; } else if (((iVar1 == 4) || (iVar1 == 3)) || ((iVar1 == 8 || ((iVar1 == 0x11 || (iVar1 == 0x12)))))) { @@ -363728,11 +364113,11 @@ LAB_006a2265: } Room::GetFloorColorAt(g_game->_room,&local_38,&this->_pos); local_64 = local_38 * 2.0; - local_44 = 0; - uStack_40 = 0; - local_3c = 0; + local_44 = 0.0; + fStack_40 = 0.0; + local_3c = 0.0; fStack_60 = local_34 * 2.0; - uStack_58 = 0x3f800000; + fStack_58 = 1.0; local_6c = (byte *)0x0; fStack_5c = local_30 * 2.0; if ((this->_sprite)._layerCount != 0) { @@ -363751,41 +364136,41 @@ LAB_006a2265: local_6d = str_eq(&DAT_00b1d57c,4); if (0xf < uVar4) { uVar7 = uVar4 + 1; - iVar9 = iVar1; + iVar8 = iVar1; if (0xfff < uVar7) { - iVar9 = *(int *)(iVar1 + -4); + iVar8 = *(int *)(iVar1 + -4); uVar7 = uVar4 + 0x24; - if (0x1f < (iVar1 - iVar9) - 4U) { + if (0x1f < (iVar1 - iVar8) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar9,uVar7); + operator_delete(iVar8,uVar7); } - if ((local_6d != '\0') && ((float *)&local_68->field_0x48 != &local_64)) { - *(float *)&local_68->field_0x48 = local_64; - *(float *)&local_68->field_0x4c = fStack_60; - *(float *)&local_68->field_0x50 = fStack_5c; - *(undefined4 *)&local_68->field_0x54 = uStack_58; - *(undefined4 *)&local_68->field_0x58 = 0; - *(undefined4 *)&local_68->field_0x5c = 0; - *(undefined4 *)&local_68->field_0x60 = 0; - *(undefined4 *)&local_68->field_0x64 = 0; - *(undefined4 *)&local_68->field_0x68 = local_44; - *(undefined4 *)&local_68->field_0x6c = uStack_40; - *(undefined4 *)&local_68->field_0x70 = local_3c; + if ((local_6d != '\0') && (&local_68->_color != (ColorMod *)&local_64)) { + (local_68->_color)._tint[0] = local_64; + (local_68->_color)._tint[1] = fStack_60; + (local_68->_color)._tint[2] = fStack_5c; + (local_68->_color)._tint[3] = fStack_58; + (local_68->_color)._colorize[0] = 0.0; + (local_68->_color)._colorize[1] = 0.0; + (local_68->_color)._colorize[2] = 0.0; + (local_68->_color)._colorize[3] = 0.0; + (local_68->_color)._offset[0] = local_44; + (local_68->_color)._offset[1] = fStack_40; + (local_68->_color)._offset[2] = local_3c; } local_6c = local_6c + 1; } while (local_6c < (byte *)(this->_sprite)._layerCount); } goto LAB_006a2468; } - pbVar11 = (byte *)"Appear"; + pbVar10 = (byte *)"Appear"; } else { - pbVar11 = (byte *)"Pulse"; + pbVar10 = (byte *)"Pulse"; } - bVar3 = ANM2::SetAnimation(&this->_sprite,pbVar11,1); + bVar3 = ANM2::SetAnimation(&this->_sprite,pbVar10,1); if (bVar3 != 0) { AnimationState::Rewind(&(this->_sprite)._animState); (this->_sprite)._animState._isPlaying = 1; @@ -363884,8 +364269,6 @@ void __thiscall Entity_Bomb::Update(Entity_Bomb *this) Vector *local_c8; Entity_Player *local_c4; RNG local_c0; - undefined8 local_bc; - undefined1 *local_b4; EntityPtr local_b0; EntityPtr local_ac; char local_a5; @@ -364259,9 +364642,9 @@ LAB_006a2afe: EntityList::QueryRadius(&local_c0,&this->_pos,8); local_14 = (Entity_Player *)0x0; local_84 = (Entity_Player *)0x0; - if (local_b4 != (undefined1 *)0x0) { + if ((undefined1 *)local_c0._shift3 != (undefined1 *)0x0) { do { - pEVar33 = *(Entity_Player **)((int)local_bc + (int)local_84 * 4); + pEVar33 = *(Entity_Player **)(local_c0._shift1 + (int)local_84 * 4); local_80 = pEVar33; cVar14 = Entity::IsVulnerableEnemy((Entity *)pEVar33,0); if ((cVar14 != '\0') && @@ -364273,7 +364656,7 @@ LAB_006a2afe: (*pcVar2)(0x41800000,2,0,&local_4c,0x1e); } local_84 = (Entity_Player *)&local_84->field_0x1; - } while (local_84 < local_b4); + } while (local_84 < (uint)local_c0._shift3); } local_14 = (Entity_Player *)0xffffffff; EntityList_Query::~EntityList_Query(); @@ -364442,9 +364825,9 @@ LAB_006a34c6: local_ac = (EntityPtr)0x0; local_a4 = (Entity_Player *)0x501502f9; local_80 = (Entity_Player *)0x0; - if (local_b4 != (undefined1 *)0x0) { + if ((undefined1 *)local_c0._shift3 != (undefined1 *)0x0) { do { - EVar27 = *(EntityPtr *)((int)local_bc + (int)local_80 * 4); + EVar27 = *(EntityPtr *)(local_c0._shift1 + (int)local_80 * 4); cVar14 = Entity::IsVulnerableEnemy((Entity *)EVar27,0); if (cVar14 != '\0') { if (this->_spawnerEntity != (EntityPtr)0x0) { @@ -364484,7 +364867,7 @@ LAB_006a34c6: LAB_006a39af: EVar27 = local_ac; local_80 = (Entity_Player *)&local_80->field_0x1; - } while (local_80 < local_b4); + } while (local_80 < (uint)local_c0._shift3); if (local_ac != (EntityPtr)0x0) { if (this->_target != (EntityPtr)0x0) { apEStack_94[0] = (Entity_Player *)&this->_target; @@ -364494,7 +364877,7 @@ LAB_006a39af: std::multiset::insert(&this->_target); } } - if (local_c0._0_1_ == '\0') { + if ((char)local_c0._seed == '\0') { local_14 = (Entity_Player *)0x2; tracked_alloc(0,0); } @@ -364809,9 +365192,10 @@ LAB_006a4412: * 0.4 + 2.0); seed_fart_sound_override(); SoundEffects::Play(&pMVar13->_sfxManager,(int)local_80,0.7,2,0,(float)apEStack_94[0],0.0); - local_c0 = (RNG)this->_initSeed; - local_bc = 0x700000002; - local_b4 = (undefined1 *)0x19; + local_c0._seed = this->_initSeed; + local_c0._shift1 = 2; + local_c0._shift2 = 7; + local_c0._shift3 = 0x19; uVar38 = RNG::Next(&local_c0); BVar47._h._4_4_ = 0x6a4a18; pEVar22 = (Entity *)Game::Spawn(1000,0xba,&this->_pos,&g_vectorZero,local_b0,1,uVar38); @@ -364831,9 +365215,10 @@ LAB_006a4412: fVar39 = this->_scale; } else { - local_c0 = (RNG)this->_initSeed; - local_bc = 0x700000002; - local_b4 = (undefined1 *)0x19; + local_c0._seed = this->_initSeed; + local_c0._shift1 = 2; + local_c0._shift2 = 7; + local_c0._shift3 = 0x19; uVar38 = RNG::Next(&local_c0); BVar47._h._4_4_ = 0x6a490f; pEVar22 = (Entity *)Game::Spawn(1000,0xbd,&this->_pos,&g_vectorZero,local_b0,1,uVar38); @@ -365051,9 +365436,9 @@ LAB_006a4412: RNG::Next(&this->_dropRNG); pfVar21 = (float *)RandomVector(); RNG::Next(&this->_dropRNG); - fVar37 = (float)((double)(int)this->_dropRNG + - __uint_to_double_fixup[-((int)this->_dropRNG >> 0x1f)]) * 2.3283062e-10 * - 5.0 + 5.0; + iVar19 = (this->_dropRNG)._seed; + fVar37 = (float)((double)iVar19 + __uint_to_double_fixup[-(iVar19 >> 0x1f)]) * 2.3283062e-10 + * 5.0 + 5.0; fVar39 = *pfVar21; (this->_velocity).y = fVar37 * pfVar21[1]; (this->_velocity).x = fVar37 * fVar39; @@ -367222,9 +367607,9 @@ void __thiscall Entity::constructor(Entity *this) (this->_charmSource)._spawnerVariant = 0; (this->_charmSource)._position.x = g_vectorZero.x; (this->_charmSource)._position.y = g_vectorZero.y; - *(float *)&(this->_charmSource).field_0x18 = g_vectorZero.x; - *(float *)&(this->_charmSource).field_0x1c = g_vectorZero.y; - *(undefined4 *)&(this->_charmSource).field_0x20 = 0; + (this->_charmSource)._velocity.x = g_vectorZero.x; + (this->_charmSource)._velocity.y = g_vectorZero.y; + (this->_charmSource)._flags = 0; (this->_charmSource)._entity = (void *)0x0; (this->_entityRef2)._type = 0; (this->_entityRef2)._variant = 0; @@ -367232,9 +367617,9 @@ void __thiscall Entity::constructor(Entity *this) (this->_entityRef2)._spawnerVariant = 0; (this->_entityRef2)._position.x = g_vectorZero.x; (this->_entityRef2)._position.y = g_vectorZero.y; - *(float *)&(this->_entityRef2).field_0x18 = g_vectorZero.x; - *(float *)&(this->_entityRef2).field_0x1c = g_vectorZero.y; - *(undefined4 *)&(this->_entityRef2).field_0x20 = 0; + (this->_entityRef2)._velocity.x = g_vectorZero.x; + (this->_entityRef2)._velocity.y = g_vectorZero.y; + (this->_entityRef2)._flags = 0; (this->_entityRef2)._entity = (void *)0x0; (this->_entityRef3)._type = 0; (this->_entityRef3)._variant = 0; @@ -367242,9 +367627,9 @@ void __thiscall Entity::constructor(Entity *this) (this->_entityRef3)._spawnerVariant = 0; (this->_entityRef3)._position.x = g_vectorZero.x; (this->_entityRef3)._position.y = g_vectorZero.y; - *(float *)&(this->_entityRef3).field_0x18 = g_vectorZero.x; - *(float *)&(this->_entityRef3).field_0x1c = g_vectorZero.y; - *(undefined4 *)&(this->_entityRef3).field_0x20 = 0; + (this->_entityRef3)._velocity.x = g_vectorZero.x; + (this->_entityRef3)._velocity.y = g_vectorZero.y; + (this->_entityRef3)._flags = 0; (this->_entityRef3)._entity = (void *)0x0; (this->_entityRef4)._type = 0; (this->_entityRef4)._variant = 0; @@ -367252,9 +367637,9 @@ void __thiscall Entity::constructor(Entity *this) (this->_entityRef4)._spawnerVariant = 0; (this->_entityRef4)._position.x = g_vectorZero.x; (this->_entityRef4)._position.y = g_vectorZero.y; - *(float *)&(this->_entityRef4).field_0x18 = g_vectorZero.x; - *(float *)&(this->_entityRef4).field_0x1c = g_vectorZero.y; - *(undefined4 *)&(this->_entityRef4).field_0x20 = 0; + (this->_entityRef4)._velocity.x = g_vectorZero.x; + (this->_entityRef4)._velocity.y = g_vectorZero.y; + (this->_entityRef4)._flags = 0; (this->_entityRef4)._entity = (void *)0x0; (this->_knockbackDirection).y = 0.0; (this->_knockbackDirection).x = 0.0; @@ -367291,9 +367676,10 @@ void __thiscall Entity::constructor(Entity *this) (this->_entityPtrReferrers)._head = pvVar2; this->_minecart = (EntityPtr)0x0; this->_hitEffect = (EntityPtr)0x0; - *(undefined8 *)&this->field_0x3e0 = 0x900000005; - *(undefined4 *)&this->field_0x3e8 = 7; - this->_dropRNG = (RNG)0xaa17414f; + (this->_dropRNG)._shift1 = 5; + (this->_dropRNG)._shift2 = 9; + (this->_dropRNG)._shift3 = 7; + (this->_dropRNG)._seed = -0x55e8beb1; (this->_holdPosition).y = 0.0; (this->_holdPosition).x = 0.0; this->_scoreMultiplier = 1.0; @@ -368007,7 +368393,7 @@ void __thiscall Entity::SetSpawnerEntity(Entity *this,EntityPtr param_2) /* ZHL [exact] void Init(unsigned int type, unsigned int variant, unsigned int subtype, unsigned int initSeed); */ -void __thiscall Entity::Init(Entity *this,EntityPtr *param_2,int param_3,int param_4,RNG param_5) +void __thiscall Entity::Init(Entity *this,EntityPtr *param_2,int param_3,int param_4,int param_5) { EntityPtr *pEVar1; @@ -368026,10 +368412,11 @@ void __thiscall Entity::Init(Entity *this,EntityPtr *param_2,int param_3,int par this->_type = (int)param_2; this->_variant = param_3; this->_subtype = param_4; - this->_initSeed = (int)param_5; - this->_dropRNG = param_5; - *(undefined8 *)&this->field_0x3e0 = 0x300000004; - *(undefined4 *)&this->field_0x3e8 = 0x11; + this->_initSeed = param_5; + (this->_dropRNG)._seed = param_5; + (this->_dropRNG)._shift1 = 4; + (this->_dropRNG)._shift2 = 3; + (this->_dropRNG)._shift3 = 0x11; (this->_splatColor)._tint[0] = 1.0; (this->_splatColor)._tint[1] = 1.0; (this->_splatColor)._tint[2] = 1.0; @@ -368971,9 +369358,15 @@ LAB_006aad6f: } -//@@ 006ab240 FUN_006ab240 +//@@ 006ab240 Entity::is_grid_collision_at -uint FUN_006ab240(float *param_1) +/* DB: ? ECX = Entity, arg position: for each collision sample offset in the vector +0x178..+0x17c + (+ position offset +0x33c/+0x340) tests Room::GetGridCollision of the tile; GridCollisionClass + +0x184 == 3 (walls) hits on wall 4 or solid door (grid type 0x10), == 5 (ground) on any non-0 + non-5; returns whether the summed hit offsets are nonzero; callers Entity::push_apart_circle and + 3 FUN_ */ + +uint Entity::is_grid_collision_at(float *param_1) { float fVar1; @@ -369287,11 +369680,11 @@ LAB_006ab679: *(undefined1 *)(pGVar8 + 1) = 0; pGVar8[1]._desc._varData = 0; pGVar8[1]._spawnFrame = 0; - pGVar8[1]._rng = (RNG)0xf; + pGVar8[1]._rng._seed = 0xf; *(undefined1 *)&pGVar8[1]._desc._varData = 0; - *(undefined4 *)&pGVar8[1].field_0x30 = 0; - *(undefined4 *)&pGVar8[1].field_0x34 = 0; - *(undefined4 *)&pGVar8[1].field_0x38 = 0; + pGVar8[1]._rng._shift1 = 0; + pGVar8[1]._rng._shift2 = 0; + pGVar8[1]._rng._shift3 = 0; } local_14 = 0xffffffff; if (pGVar8 != (GridEntity *)0x0) { @@ -370899,9 +371292,9 @@ LAB_006adc99: (this->_charmSource)._spawnerVariant = iStack_48; (this->_charmSource)._position.x = fVar14; (this->_charmSource)._position.y = fVar15; - *(float *)&(this->_charmSource).field_0x18 = fVar16; - *(float *)&(this->_charmSource).field_0x1c = fVar17; - *(uint *)&(this->_charmSource).field_0x20 = uVar8 | uStack_3c | uVar13; + (this->_charmSource)._velocity.x = fVar16; + (this->_charmSource)._velocity.y = fVar17; + (this->_charmSource)._flags = uVar8 | uStack_3c | uVar13; (this->_charmSource)._entity = pvVar11; CopyStatusEffects((Entity *)this_01); if (((((Entity *)this_01)->_charmedCountdown != 0) && (local_4d == '\0')) && @@ -371490,46 +371883,47 @@ void __thiscall Entity::Update(Entity *this) { void **ppvVar1; - void *pvVar2; - code *pcVar3; - longlong lVar4; + std_set *psVar2; + void *pvVar3; + code *pcVar4; longlong lVar5; + longlong lVar6; BitSet128 flags; - qword qVar6; - Game *pGVar7; - Manager *pMVar8; - char cVar9; - byte bVar10; - float *pfVar11; - int iVar12; - undefined4 uVar13; - EntityPtr EVar14; - int *piVar15; - EntityPtr **ppEVar16; - int iVar17; - uint *puVar18; + qword qVar7; + Game *pGVar8; + Manager *pMVar9; + char cVar10; + byte bVar11; + float *pfVar12; + int iVar13; + undefined4 uVar14; + EntityPtr EVar15; + int *piVar16; + EntityPtr **ppEVar17; + int iVar18; + uint *puVar19; undefined4 extraout_ECX; - ColorMod *pCVar19; - uint uVar20; + ColorMod *pCVar20; uint uVar21; uint uVar22; - void *pvVar23; + uint uVar23; void *pvVar24; - Vector *pVVar25; - PlayerManager *pPVar26; - Entity *pEVar27; - bool bVar28; - Vector *pVVar29; - float fVar30; - EntityPtr *pEVar31; - float fVar32; - EntityPtr EVar33; - float fVar34; - undefined1 *puVar35; - float fVar36; - undefined8 uVar37; - ulonglong uVar38; - double dVar39; + void *pvVar25; + Vector *pVVar26; + PlayerManager *pPVar27; + Entity *pEVar28; + bool bVar29; + Vector *pVVar30; + float fVar31; + EntityPtr *pEVar32; + float fVar33; + EntityPtr EVar34; + float fVar35; + undefined1 *puVar36; + float fVar37; + undefined8 uVar38; + ulonglong uVar39; + double dVar40; undefined1 auStack_328 [8]; Vector *local_320; byte local_319; @@ -371596,79 +371990,79 @@ void __thiscall Entity::Update(Entity *this) local_14 = __security_cookie ^ (uint)auStack_328; local_320 = *(Vector **)&this->_flags; - uVar22 = *(uint *)((int)&this->_flags + 4); + uVar23 = *(uint *)((int)&this->_flags + 4); local_2e8 = (EntityPtr)this; if (((uint)local_320 & 0x4000) == 0) { this->_prevUpdateTime = this->_updateTime; this->_updateTime = this->_speedMultiplier + this->_updateTime; if ((((((uint)local_320 & 0x20) == 0) && (this->_holdCountdown < 1)) || (this->_dead != 0)) && - ((uVar22 & 1) == 0)) { + ((uVar23 & 1) == 0)) { local_310 = (Vector *)(this->_sprite)._playbackSpeed; (this->_sprite)._playbackSpeed = (float)local_310 * this->_speedMultiplier; if ((this->_sprite)._loaded != 0) { AnimationState::Update(); AnimationState::Update(); local_320 = *(Vector **)&this->_flags; - uVar22 = *(uint *)((int)&this->_flags + 4); + uVar23 = *(uint *)((int)&this->_flags + 4); } (this->_sprite)._playbackSpeed = (float)local_310; } } - if ((uVar22 & 0x8000) != 0) { + if ((uVar23 & 0x8000) != 0) { local_319 = this->_collidesWithGrid; if (local_319 == 0) { local_2e4 = (Vector *)(this->_velocity).x; local_304 = (Vector *)(this->_velocity).y; - pVVar29 = (Vector *) + pVVar30 = (Vector *) ((float)local_2e4 * (float)local_2e4 + (float)local_304 * (float)local_304); sqrtf(); - fVar30 = (this->_knockbackDirection).x; - fVar34 = (this->_knockbackDirection).y; - fVar30 = fVar30 * fVar30 + fVar34 * fVar34; - local_310 = pVVar29; + fVar31 = (this->_knockbackDirection).x; + fVar35 = (this->_knockbackDirection).y; + fVar31 = fVar31 * fVar31 + fVar35 * fVar35; + local_310 = pVVar30; sqrtf(); - if (((float)local_310 < fVar30) || + if (((float)local_310 < fVar31) || (0.0 <= (this->_knockbackDirection).x * (float)local_2e4 + (this->_knockbackDirection).y * (float)local_304)) goto LAB_006ae9c3; } else { LAB_006ae9c3: local_310 = (Vector *)(this->_knockbackDirection).x; - fVar30 = (this->_knockbackDirection).y; - fVar30 = (float)local_310 * (float)local_310 + fVar30 * fVar30; + fVar31 = (this->_knockbackDirection).y; + fVar31 = (float)local_310 * (float)local_310 + fVar31 * fVar31; sqrtf(); - if (2.0 <= fVar30) { + if (2.0 <= fVar31) { this->_friction = this->_baseFriction * 0.95; - if ((uVar22 & 0x20000) == 0) { + if ((uVar23 & 0x20000) == 0) { (this->_knockbackDirection).x = (float)local_310 * 0.95; local_308 = (EntityPtr)((this->_knockbackDirection).y * 0.95); (this->_knockbackDirection).y = (float)local_308; - bVar10 = this->_collidesWithGrid; + bVar11 = this->_collidesWithGrid; local_2c8 = *(Vector **)&this->_flags; - uVar22 = *(uint *)((int)&this->_flags + 4); + uVar23 = *(uint *)((int)&this->_flags + 4); } else { local_308 = (EntityPtr)(this->_knockbackDirection).y; local_2c8 = local_320; - bVar10 = local_319; + bVar11 = local_319; } - if (bVar10 != 0) { - if ((uVar22 & 0x10000) != 0) { - pfVar11 = (float *)Vector::Normalized(local_214); - fVar30 = (this->_knockbackDirection).x; - fVar34 = (float)local_308 * (float)local_308 + fVar30 * fVar30; + if (bVar11 != 0) { + if ((uVar23 & 0x10000) != 0) { + pfVar12 = (float *)Vector::Normalized(local_214); + fVar31 = (this->_knockbackDirection).x; + fVar35 = (float)local_308 * (float)local_308 + fVar31 * fVar31; sqrtf(); - fVar30 = pfVar11[1]; - (this->_knockbackDirection).x = fVar34 * *pfVar11 * 0.8; - (this->_knockbackDirection).y = fVar34 * fVar30 * 0.8; - iVar12 = _get_index_plus_one_if_kind_4_5(); - fVar30 = (float)(iVar12 + -1) + (float)(iVar12 + -1) + 10.0; - uVar37 = EntityRef::EntityRef(); - (*(code *)((ulonglong)uVar37 >> 0x20))(fVar30,0,0,(int)uVar37,0x1e); - qVar6 = this->_flags; - puVar18 = (uint *)((int)&this->_flags + 4); - *puVar18 = *puVar18 & 0xfffeffff; - *(int *)&this->_flags = (int)qVar6; + fVar31 = pfVar12[1]; + (this->_knockbackDirection).x = fVar35 * *pfVar12 * 0.8; + (this->_knockbackDirection).y = fVar35 * fVar31 * 0.8; + iVar13 = _get_index_plus_one_if_kind_4_5(); + fVar31 = (float)(iVar13 + -1) + (float)(iVar13 + -1) + 10.0; + uVar38 = EntityRef::EntityRef(); + (*(code *)((ulonglong)uVar38 >> 0x20))(fVar31,0,0,(int)uVar38,0x1e); + qVar7 = this->_flags; + puVar19 = (uint *)((int)&this->_flags + 4); + *puVar19 = *puVar19 & 0xfffeffff; + *(int *)&this->_flags = (int)qVar7; } this->_knockbackCountdown = this->_knockbackCountdown / 2; } @@ -371678,118 +372072,118 @@ LAB_006ae9c3: } } *(Vector **)&this->_flags = local_320; - *(uint *)((int)&this->_flags + 4) = uVar22 & 0xfffe7fff; + *(uint *)((int)&this->_flags + 4) = uVar23 & 0xfffe7fff; this->_knockbackCountdown = 0; } LAB_006aeb95: - fVar30 = this->_speedMultiplier; - fVar36 = 1.0; - fVar34 = this->_friction; - if (fVar30 != 1.0) { - fVar34 = fVar34 / ((fVar34 + fVar30) - fVar34 * fVar30); + fVar31 = this->_speedMultiplier; + fVar37 = 1.0; + fVar35 = this->_friction; + if (fVar31 != 1.0) { + fVar35 = fVar35 / ((fVar35 + fVar31) - fVar35 * fVar31); } local_2e4 = &this->_pos; - fVar32 = fVar34 * (this->_velocity).x; - fVar34 = fVar34 * (this->_velocity).y; - (this->_velocity).x = fVar32; - (this->_velocity).y = fVar34; - fVar30 = this->_speedMultiplier; - (this->_pos).y = fVar30 * fVar34 + (this->_pos).y; - local_2e4->x = fVar30 * fVar32 + local_2e4->x; + fVar33 = fVar35 * (this->_velocity).x; + fVar35 = fVar35 * (this->_velocity).y; + (this->_velocity).x = fVar33; + (this->_velocity).y = fVar35; + fVar31 = this->_speedMultiplier; + (this->_pos).y = fVar31 * fVar35 + (this->_pos).y; + local_2e4->x = fVar31 * fVar33 + local_2e4->x; local_318 = *(Vector **)&this->_flags; - pVVar29 = *(Vector **)((int)&this->_flags + 4); + pVVar30 = *(Vector **)((int)&this->_flags + 4); this->_friction = this->_baseFriction; if (((uint)local_318 & 0x4000) == 0) { - pvVar23 = (this->_colorParams)._begin; - bVar28 = false; - if (pvVar23 != (this->_colorParams)._end) { + pvVar24 = (this->_colorParams)._begin; + bVar29 = false; + if (pvVar24 != (this->_colorParams)._end) { do { - iVar12 = *(int *)((int)pvVar23 + 0x34) + -1; - *(int *)((int)pvVar23 + 0x34) = iVar12; - if (*(char *)((int)pvVar23 + 0x38) != '\0') { - bVar28 = true; + iVar13 = *(int *)((int)pvVar24 + 0x34) + -1; + *(int *)((int)pvVar24 + 0x34) = iVar13; + if (*(char *)((int)pvVar24 + 0x38) != '\0') { + bVar29 = true; } - pvVar24 = (void *)((int)pvVar23 + 0x3c); - if (iVar12 == 0) { - FUN_004b6ec0(pvVar23); - bVar28 = true; + pvVar25 = (void *)((int)pvVar24 + 0x3c); + if (iVar13 == 0) { + FUN_004b6ec0(pvVar24); + bVar29 = true; ppvVar1 = &(this->_colorParams)._end; *ppvVar1 = (void *)((int)*ppvVar1 + -0x3c); - pvVar24 = pvVar23; + pvVar25 = pvVar24; } - pvVar2 = (this->_colorParams)._end; - pvVar23 = pvVar24; - } while (pvVar24 != pvVar2); - if (bVar28) { - pvVar23 = (this->_colorParams)._begin; - iVar17 = (int)pvVar2 - (int)pvVar23; - iVar12 = iVar17 >> 0x1f; - iVar17 = iVar17 / 0x3c + iVar12; - if (iVar17 == iVar12) { + pvVar3 = (this->_colorParams)._end; + pvVar24 = pvVar25; + } while (pvVar25 != pvVar3); + if (bVar29) { + pvVar24 = (this->_colorParams)._begin; + iVar18 = (int)pvVar3 - (int)pvVar24; + iVar13 = iVar18 >> 0x1f; + iVar18 = iVar18 / 0x3c + iVar13; + if (iVar18 == iVar13) { (**(code **)(*(int *)this + 0x60))(); } else { - pCVar19 = (ColorMod *)((int)pvVar23 + 0x40); - if ((uint)(iVar17 - iVar12) < 2) { - pCVar19 = &this->_color; + pCVar20 = (ColorMod *)((int)pvVar24 + 0x40); + if ((uint)(iVar18 - iVar13) < 2) { + pCVar20 = &this->_color; } - local_240 = *(undefined4 *)((int)pvVar23 + 4); - uStack_23c = *(undefined4 *)((int)pvVar23 + 8); - uStack_238 = *(undefined4 *)((int)pvVar23 + 0xc); - uStack_234 = *(undefined4 *)((int)pvVar23 + 0x10); - local_218 = *(undefined4 *)((int)pvVar23 + 0x2c); - local_230 = *(undefined4 *)((int)pvVar23 + 0x14); - uStack_22c = *(undefined4 *)((int)pvVar23 + 0x18); - uStack_228 = *(undefined4 *)((int)pvVar23 + 0x1c); - uStack_224 = *(undefined4 *)((int)pvVar23 + 0x20); - local_220 = *(undefined8 *)((int)pvVar23 + 0x24); - if (*(char *)((int)pvVar23 + 0x38) != '\0') { - uVar13 = ::Color::Lerp(local_158,(undefined4 *)((int)pvVar23 + 4),pCVar19, - fVar36 - (float)*(int *)((int)pvVar23 + 0x34) / - (float)*(int *)((int)pvVar23 + 0x30)); - ::Color::operator_assign(uVar13); + local_240 = *(undefined4 *)((int)pvVar24 + 4); + uStack_23c = *(undefined4 *)((int)pvVar24 + 8); + uStack_238 = *(undefined4 *)((int)pvVar24 + 0xc); + uStack_234 = *(undefined4 *)((int)pvVar24 + 0x10); + local_218 = *(undefined4 *)((int)pvVar24 + 0x2c); + local_230 = *(undefined4 *)((int)pvVar24 + 0x14); + uStack_22c = *(undefined4 *)((int)pvVar24 + 0x18); + uStack_228 = *(undefined4 *)((int)pvVar24 + 0x1c); + uStack_224 = *(undefined4 *)((int)pvVar24 + 0x20); + local_220 = *(undefined8 *)((int)pvVar24 + 0x24); + if (*(char *)((int)pvVar24 + 0x38) != '\0') { + uVar14 = ::Color::Lerp(local_158,(undefined4 *)((int)pvVar24 + 4),pCVar20, + fVar37 - (float)*(int *)((int)pvVar24 + 0x34) / + (float)*(int *)((int)pvVar24 + 0x30)); + ::Color::operator_assign(uVar14); } Sprite::SetColor((Sprite *)&this->_sprite,&local_240); } } } - pVVar25 = *(Vector **)&this->_flags; + pVVar26 = *(Vector **)&this->_flags; local_318 = *(Vector **)((int)&this->_flags + 4); - pVVar29 = local_318; - if ((((uint)pVVar25 & 1) == 0) && + pVVar30 = local_318; + if ((((uint)pVVar26 & 1) == 0) && (((1 < *(int *)&g_game->_deathmatchManager && (this->_type == 1)) || (this->_type - 10U < 0x3de)))) { - cVar9 = Game::IsInTimedSet(0x11); - if ((cVar9 != '\0') || (cVar9 = Game::IsInTimedSet(0x15), cVar9 != '\0')) { - pVVar25 = (Vector *)((uint)pVVar25 | 0x100); + cVar10 = Game::IsInTimedSet(0x11); + if ((cVar10 != '\0') || (cVar10 = Game::IsInTimedSet(0x15), cVar10 != '\0')) { + pVVar26 = (Vector *)((uint)pVVar26 | 0x100); this->_charmedCountdown = 2; - *(Vector **)&this->_flags = pVVar25; + *(Vector **)&this->_flags = pVVar26; *(Vector **)((int)&this->_flags + 4) = local_318; } - local_310 = pVVar25; + local_310 = pVVar26; local_304 = local_318; - cVar9 = Game::IsInTimedSet(0x12); - if (cVar9 != '\0') { - pVVar25 = (Vector *)((uint)pVVar25 | 0x200); + cVar10 = Game::IsInTimedSet(0x12); + if (cVar10 != '\0') { + pVVar26 = (Vector *)((uint)pVVar26 | 0x200); this->_confusionCountdown = 2; local_318 = local_304; - *(Vector **)&this->_flags = pVVar25; + *(Vector **)&this->_flags = pVVar26; *(Vector **)((int)&this->_flags + 4) = local_304; } - local_310 = pVVar25; + local_310 = pVVar26; local_304 = local_318; - cVar9 = Game::IsInTimedSet(0x13); - if ((cVar9 == '\0') && (cVar9 = Game::IsInTimedSet(0x15), cVar9 == '\0')) { - cVar9 = Game::IsInTimedSet(0x14); - pVVar29 = local_318; - if ((cVar9 == '\0') || (((g_game->_frameCount - this->_spawnFrame) / 0x3c & 1U) != 0)) + cVar10 = Game::IsInTimedSet(0x13); + if ((cVar10 == '\0') && (cVar10 = Game::IsInTimedSet(0x15), cVar10 == '\0')) { + cVar10 = Game::IsInTimedSet(0x14); + pVVar30 = local_318; + if ((cVar10 == '\0') || (((g_game->_frameCount - this->_spawnFrame) / 0x3c & 1U) != 0)) goto LAB_006aeed2; } - pVVar25 = (Vector *)((uint)local_310 | 0x800); + pVVar26 = (Vector *)((uint)local_310 | 0x800); this->_fearCountdown = 2; - *(Vector **)&this->_flags = pVVar25; + *(Vector **)&this->_flags = pVVar26; *(Vector **)((int)&this->_flags + 4) = local_304; - pVVar29 = local_304; + pVVar30 = local_304; } LAB_006aeed2: if (0 < this->_fireDamageCountdown) { @@ -371799,69 +372193,69 @@ LAB_006aeed2: this->_damageCountdown = this->_damageCountdown + -1; } if ((0 < this->_freezeCountdown) && - (iVar12 = this->_freezeCountdown + -1, this->_freezeCountdown = iVar12, iVar12 < 1)) { - pVVar25 = (Vector *)((uint)pVVar25 & 0xffffffdf); - *(Vector **)&this->_flags = pVVar25; - *(Vector **)((int)&this->_flags + 4) = pVVar29; + (iVar13 = this->_freezeCountdown + -1, this->_freezeCountdown = iVar13, iVar13 < 1)) { + pVVar26 = (Vector *)((uint)pVVar26 & 0xffffffdf); + *(Vector **)&this->_flags = pVVar26; + *(Vector **)((int)&this->_flags + 4) = pVVar30; } if ((0 < this->_poisonCountdown) && - (iVar12 = this->_poisonCountdown + -1, this->_poisonCountdown = iVar12, iVar12 < 1)) { - pVVar25 = (Vector *)((uint)pVVar25 & 0xffffffbf); - *(Vector **)((int)&this->_flags + 4) = pVVar29; - *(Vector **)&this->_flags = pVVar25; + (iVar13 = this->_poisonCountdown + -1, this->_poisonCountdown = iVar13, iVar13 < 1)) { + pVVar26 = (Vector *)((uint)pVVar26 & 0xffffffbf); + *(Vector **)((int)&this->_flags + 4) = pVVar30; + *(Vector **)&this->_flags = pVVar26; this->_poisonTickDamage = 2.0; } if ((0 < this->_slowingCountdown) && - (iVar12 = this->_slowingCountdown + -1, this->_slowingCountdown = iVar12, iVar12 < 1)) { - pVVar25 = (Vector *)((uint)pVVar25 & 0xffffff7f); - *(Vector **)&this->_flags = pVVar25; - *(Vector **)((int)&this->_flags + 4) = pVVar29; + (iVar13 = this->_slowingCountdown + -1, this->_slowingCountdown = iVar13, iVar13 < 1)) { + pVVar26 = (Vector *)((uint)pVVar26 & 0xffffff7f); + *(Vector **)&this->_flags = pVVar26; + *(Vector **)((int)&this->_flags + 4) = pVVar30; } - local_314 = pVVar29; + local_314 = pVVar30; if ((0 < this->_charmedCountdown) && - (iVar12 = this->_charmedCountdown + -1, this->_charmedCountdown = iVar12, iVar12 < 1)) { - EVar33 = this->_target; - *(Vector **)((int)&this->_flags + 4) = pVVar29; - pVVar25 = (Vector *)((uint)pVVar25 & 0xfffffeff); - *(Vector **)&this->_flags = pVVar25; - if (EVar33 != (EntityPtr)0x0) { - local_320 = pVVar29; + (iVar13 = this->_charmedCountdown + -1, this->_charmedCountdown = iVar13, iVar13 < 1)) { + EVar34 = this->_target; + *(Vector **)((int)&this->_flags + 4) = pVVar30; + pVVar26 = (Vector *)((uint)pVVar26 & 0xfffffeff); + *(Vector **)&this->_flags = pVVar26; + if (EVar34 != (EntityPtr)0x0) { + local_320 = pVVar30; local_26c = &this->_target; std::multiset::erase(&local_26c); - pVVar25 = *(Vector **)&this->_flags; - pVVar29 = *(Vector **)((int)&this->_flags + 4); + pVVar26 = *(Vector **)&this->_flags; + pVVar30 = *(Vector **)((int)&this->_flags + 4); this->_target = (EntityPtr)0x0; } } if ((0 < this->_confusionCountdown) && - (iVar12 = this->_confusionCountdown + -1, this->_confusionCountdown = iVar12, iVar12 < 1)) { - pVVar25 = (Vector *)((uint)pVVar25 & 0xfffffdff); - *(Vector **)&this->_flags = pVVar25; - *(Vector **)((int)&this->_flags + 4) = pVVar29; + (iVar13 = this->_confusionCountdown + -1, this->_confusionCountdown = iVar13, iVar13 < 1)) { + pVVar26 = (Vector *)((uint)pVVar26 & 0xfffffdff); + *(Vector **)&this->_flags = pVVar26; + *(Vector **)((int)&this->_flags + 4) = pVVar30; } if ((0 < this->_fearCountdown) && - (iVar12 = this->_fearCountdown + -1, this->_fearCountdown = iVar12, iVar12 < 1)) { - pVVar25 = (Vector *)((uint)pVVar25 & 0xfffff7ff); - *(Vector **)((int)&this->_flags + 4) = pVVar29; - *(Vector **)&this->_flags = pVVar25; + (iVar13 = this->_fearCountdown + -1, this->_fearCountdown = iVar13, iVar13 < 1)) { + pVVar26 = (Vector *)((uint)pVVar26 & 0xfffff7ff); + *(Vector **)((int)&this->_flags + 4) = pVVar30; + *(Vector **)&this->_flags = pVVar26; } - fVar30 = this->_shrinkStatus1; - if (this->_shrinkStatus2 != fVar30) { - this->_shrinkStatus1 = (this->_shrinkStatus2 - fVar30) * 5.0 * 0.033333335 + fVar30; + fVar31 = this->_shrinkStatus1; + if (this->_shrinkStatus2 != fVar31) { + this->_shrinkStatus1 = (this->_shrinkStatus2 - fVar31) * 5.0 * 0.033333335 + fVar31; } - local_320 = pVVar29; + local_320 = pVVar30; if ((0 < this->_shrinkCountdown) && - (iVar12 = this->_shrinkCountdown + -1, this->_shrinkCountdown = iVar12, iVar12 < 1)) { + (iVar13 = this->_shrinkCountdown + -1, this->_shrinkCountdown = iVar13, iVar13 < 1)) { FUN_006b5f40(); - pVVar25 = *(Vector **)&this->_flags; - pVVar29 = *(Vector **)((int)&this->_flags + 4); + pVVar26 = *(Vector **)&this->_flags; + pVVar30 = *(Vector **)((int)&this->_flags + 4); } if (0 < this->_burnCountdown) { - iVar12 = this->_burnCountdown + -1; - this->_burnCountdown = iVar12; - if (iVar12 < 1) { - *(Vector **)((int)&this->_flags + 4) = pVVar29; - *(uint *)&this->_flags = (uint)pVVar25 & 0xffffefff; + iVar13 = this->_burnCountdown + -1; + this->_burnCountdown = iVar13; + if (iVar13 < 1) { + *(Vector **)((int)&this->_flags + 4) = pVVar30; + *(uint *)&this->_flags = (uint)pVVar26 & 0xffffefff; this->_burnTickDamage = 2.0; } if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < DAT_00c80a98) && @@ -371936,26 +372330,26 @@ LAB_006aeed2: } (**(code **)(*(int *)this + 0x3c)) (&DAT_00c80aa0 + ((g_game->_frameCount - this->_spawnFrame) % 6) * 0x2c,1,0xff,0,1); - pVVar25 = *(Vector **)&this->_flags; - pVVar29 = *(Vector **)((int)&this->_flags + 4); + pVVar26 = *(Vector **)&this->_flags; + pVVar30 = *(Vector **)((int)&this->_flags + 4); } if ((this->_midasFreezeCountdown < 1) || - (iVar12 = this->_midasFreezeCountdown + -1, this->_midasFreezeCountdown = iVar12, 0 < iVar12) + (iVar13 = this->_midasFreezeCountdown + -1, this->_midasFreezeCountdown = iVar13, 0 < iVar13) ) { - pVStack_30c = pVVar25; + pVStack_30c = pVVar26; } else { - *(Vector **)((int)&this->_flags + 4) = pVVar29; - *(Vector **)&this->_flags = (Vector *)((uint)pVVar25 & 0xfffffbff); - pVStack_30c = (Vector *)((uint)pVVar25 & 0xfffffbff); + *(Vector **)((int)&this->_flags + 4) = pVVar30; + *(Vector **)&this->_flags = (Vector *)((uint)pVVar26 & 0xfffffbff); + pVStack_30c = (Vector *)((uint)pVVar26 & 0xfffffbff); } - local_314 = pVVar25; + local_314 = pVVar26; if (0 < this->_bleedingCountdown) { - iVar12 = this->_bleedingCountdown + -1; - this->_bleedingCountdown = iVar12; - if (iVar12 < 1) { + iVar13 = this->_bleedingCountdown + -1; + this->_bleedingCountdown = iVar13; + if (iVar13 < 1) { *(Vector **)&this->_flags = pVStack_30c; - *(uint *)((int)&this->_flags + 4) = (uint)pVVar29 & 0xfffffffb; + *(uint *)((int)&this->_flags + 4) = (uint)pVVar30 & 0xfffffffb; this->_bleedDamageAccumulator = 0.0; } if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < DAT_00c80ba8) && @@ -372028,91 +372422,91 @@ LAB_006aeed2: _DAT_00c80cb4 = 0; _Init_thread_footer(&DAT_00c80ba8); } - fVar30 = (this->_pos).y - (this->_prevPosition).y; - fVar34 = (this->_pos).x - (this->_prevPosition).x; - fVar30 = fVar30 * fVar30 + fVar34 * fVar34; + fVar31 = (this->_pos).y - (this->_prevPosition).y; + fVar35 = (this->_pos).x - (this->_prevPosition).x; + fVar31 = fVar31 * fVar31 + fVar35 * fVar35; sqrtf(); - fVar30 = (fVar30 * 0.02) / this->_speedMultiplier; - if (fVar30 <= 0.0) { - fVar30 = 0.0; + fVar31 = (fVar31 * 0.02) / this->_speedMultiplier; + if (fVar31 <= 0.0) { + fVar31 = 0.0; } - if (1.0 <= fVar30) { - fVar30 = 1.0; + if (1.0 <= fVar31) { + fVar31 = 1.0; } - uVar13 = ::Color::Color(&DAT_00c80bb0 + - ((uint)(g_game->_frameCount - this->_spawnFrame) % 6) * 0x2c,fVar30); - uVar13 = ::Color::Lerp(auStack_40,uVar13); - (**(code **)(*(int *)this + 0x3c))(uVar13,1,0xff,0,1); + uVar14 = ::Color::Color(&DAT_00c80bb0 + + ((uint)(g_game->_frameCount - this->_spawnFrame) % 6) * 0x2c,fVar31); + uVar14 = ::Color::Lerp(auStack_40,uVar14); + (**(code **)(*(int *)this + 0x3c))(uVar14,1,0xff,0,1); pVStack_30c = *(Vector **)&this->_flags; - pVVar29 = *(Vector **)((int)&this->_flags + 4); + pVVar30 = *(Vector **)((int)&this->_flags + 4); } if ((0 < this->_magnetizedCountdown) && - (iVar12 = this->_magnetizedCountdown + -1, this->_magnetizedCountdown = iVar12, iVar12 < 1)) + (iVar13 = this->_magnetizedCountdown + -1, this->_magnetizedCountdown = iVar13, iVar13 < 1)) { - pVVar29 = (Vector *)((uint)pVVar29 & 0xfff7ffff); + pVVar30 = (Vector *)((uint)pVVar30 & 0xfff7ffff); *(Vector **)&this->_flags = pVStack_30c; - *(Vector **)((int)&this->_flags + 4) = pVVar29; + *(Vector **)((int)&this->_flags + 4) = pVVar30; } local_320 = pVStack_30c; if ((0 < this->_baitedCountdown) && - (iVar12 = this->_baitedCountdown + -1, this->_baitedCountdown = iVar12, iVar12 < 1)) { - pVVar29 = (Vector *)((uint)pVVar29 & 0xffefffff); + (iVar13 = this->_baitedCountdown + -1, this->_baitedCountdown = iVar13, iVar13 < 1)) { + pVVar30 = (Vector *)((uint)pVVar30 & 0xffefffff); *(Vector **)&this->_flags = pVStack_30c; - pGVar7 = g_game; - fVar30 = 0.0; - *(Vector **)((int)&this->_flags + 4) = pVVar29; - local_304 = pGVar7->_room; + pGVar8 = g_game; + fVar31 = 0.0; + *(Vector **)((int)&this->_flags + 4) = pVVar30; + local_304 = pGVar8->_room; if (local_304[0x24c].y != 0.0) { do { - iVar12 = *(int *)((int)local_304[0x24b].y + (int)fVar30 * 4); - if (((1 < *(int *)&g_game->_deathmatchManager) && (*(int *)(iVar12 + 0x28) == 1)) || - (*(int *)(iVar12 + 0x28) - 10U < 0x3de)) { - local_310 = (Vector *)(iVar12 + 0x3c4); - if ((*(Entity **)(iVar12 + 0x3c4) == this) && - ((*(uint *)(iVar12 + 0x168) & 0x20000100) == 0)) { - if (*(Entity **)(iVar12 + 0x3c4) != (Entity *)0x0) { - pvStack_2bc = (void *)(iVar12 + 0x3c4); + iVar13 = *(int *)((int)local_304[0x24b].y + (int)fVar31 * 4); + if (((1 < *(int *)&g_game->_deathmatchManager) && (*(int *)(iVar13 + 0x28) == 1)) || + (*(int *)(iVar13 + 0x28) - 10U < 0x3de)) { + local_310 = (Vector *)(iVar13 + 0x3c4); + if ((*(Entity **)(iVar13 + 0x3c4) == this) && + ((*(uint *)(iVar13 + 0x168) & 0x20000100) == 0)) { + if (*(Entity **)(iVar13 + 0x3c4) != (Entity *)0x0) { + pvStack_2bc = (void *)(iVar13 + 0x3c4); std::multiset::erase(&pvStack_2bc); } local_310->x = 0.0; } } - fVar30 = (float)((int)fVar30 + 1); - } while ((uint)fVar30 < (uint)local_304[0x24c].y); + fVar31 = (float)((int)fVar31 + 1); + } while ((uint)fVar31 < (uint)local_304[0x24c].y); local_320 = *(Vector **)&this->_flags; - pVVar29 = *(Vector **)((int)&this->_flags + 4); + pVVar30 = *(Vector **)((int)&this->_flags + 4); } } if ((0 < this->_weaknessCountdown) && - (iVar12 = this->_weaknessCountdown + -1, this->_weaknessCountdown = iVar12, iVar12 < 1)) { - pVVar29 = (Vector *)((uint)pVVar29 & 0xffbfffff); + (iVar13 = this->_weaknessCountdown + -1, this->_weaknessCountdown = iVar13, iVar13 < 1)) { + pVVar30 = (Vector *)((uint)pVVar30 & 0xffbfffff); *(Vector **)&this->_flags = local_320; - *(Vector **)((int)&this->_flags + 4) = pVVar29; + *(Vector **)((int)&this->_flags + 4) = pVVar30; } local_2c8 = local_320; - if ((this->_iceFrozenEffect != (EntityPtr)0x0) && (((uint)pVVar29 & 0x80000) == 0)) { + if ((this->_iceFrozenEffect != (EntityPtr)0x0) && (((uint)pVVar30 & 0x80000) == 0)) { (**(code **)(*(int *)this->_iceFrozenEffect + 0x28))(); local_320 = *(Vector **)&this->_flags; - pVVar29 = *(Vector **)((int)&this->_flags + 4); + pVVar30 = *(Vector **)((int)&this->_flags + 4); } if ((0 < this->_knockbackCountdown) && - (iVar12 = this->_knockbackCountdown + -1, this->_knockbackCountdown = iVar12, iVar12 < 1)) { - pVVar29 = (Vector *)((uint)pVVar29 & 0xfffe7fff); + (iVar13 = this->_knockbackCountdown + -1, this->_knockbackCountdown = iVar13, iVar13 < 1)) { + pVVar30 = (Vector *)((uint)pVVar30 & 0xfffe7fff); *(Vector **)&this->_flags = local_320; - *(Vector **)((int)&this->_flags + 4) = pVVar29; + *(Vector **)((int)&this->_flags + 4) = pVVar30; } if ((0 < this->_iceCountdown) && - (iVar12 = this->_iceCountdown + -1, this->_iceCountdown = iVar12, iVar12 < 1)) { - pVVar29 = (Vector *)((uint)pVVar29 & 0xfffbffff); + (iVar13 = this->_iceCountdown + -1, this->_iceCountdown = iVar13, iVar13 < 1)) { + pVVar30 = (Vector *)((uint)pVVar30 & 0xfffbffff); *(Vector **)&this->_flags = local_320; - *(Vector **)((int)&this->_flags + 4) = pVVar29; + *(Vector **)((int)&this->_flags + 4) = pVVar30; } if ((0 < this->_brimstoneMarkCountdown) && - (iVar12 = this->_brimstoneMarkCountdown + -1, this->_brimstoneMarkCountdown = iVar12, - iVar12 < 1)) { - pVVar29 = (Vector *)((uint)pVVar29 & 0xfeffffff); + (iVar13 = this->_brimstoneMarkCountdown + -1, this->_brimstoneMarkCountdown = iVar13, + iVar13 < 1)) { + pVVar30 = (Vector *)((uint)pVVar30 & 0xfeffffff); *(Vector **)&this->_flags = local_320; - *(Vector **)((int)&this->_flags + 4) = pVVar29; + *(Vector **)((int)&this->_flags + 4) = pVVar30; } if (0 < this->_bossStatusEffectCooldown) { this->_bossStatusEffectCooldown = this->_bossStatusEffectCooldown + -1; @@ -372125,7 +372519,7 @@ LAB_006aeed2: } if (((uint)local_318 & 0x4000) == 0) { if (this->_isInvicible == 0) { - pfVar11 = (this->_damageEvents)._begin; + pfVar12 = (this->_damageEvents)._begin; local_319 = 0; local_284 = (void *)g_vectorZero.x; local_280 = g_vectorZero.y; @@ -372137,27 +372531,27 @@ LAB_006aeed2: local_288 = local_294; fStack_274 = local_294; fStack_270 = local_294; - if (pfVar11 != (this->_damageEvents)._end) { - local_320 = (Vector *)(pfVar11 + 0xb); + if (pfVar12 != (this->_damageEvents)._end) { + local_320 = (Vector *)(pfVar12 + 0xb); do { - if (0.0 < *pfVar11) { + if (0.0 < *pfVar12) { if (((uint)g_game->_debugFlags >> 6 & 1) != 0) { KColor::SetFromARGB(0xff90ee90); spawn_debug_damage_text(); } - pMVar8 = g_manager; + pMVar9 = g_manager; fStack_2c4 = local_320[-4].x; if ((((uint)local_320[-5].y & 0x202) != 0) && (((uint)local_320[-5].y & 4) == 0)) { iStack_2b4 = 0x2b; seed_fart_sound_override(); - SoundEffects::Play(&pMVar8->_sfxManager,iStack_2b4,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar9->_sfxManager,iStack_2b4,1.0,2,0,1.0,0.0); this = (Entity *)local_2e8; } - fVar30 = *(float *)((int)this + 0x380) - *pfVar11; - *(float *)((int)this + 0x380) = fVar30; - if ((0.0 < fVar30) || (((uint)local_320[-5].y & 1) != 0)) { + fVar31 = *(float *)((int)this + 0x380) - *pfVar12; + *(float *)((int)this + 0x380) = fVar31; + if ((0.0 < fVar31) || (((uint)local_320[-5].y & 1) != 0)) { if ((*(uint *)((int)this + 0x168) & 0x2000000) == 0) { - if (fVar30 < 0.0) { + if (fVar31 < 0.0) { *(int *)((int)this + 0x380) = 0; } if ((*(int *)((int)this + 0x28) == 0x197) || (*(int *)((int)this + 0x28) == 0x3b7)) @@ -372173,15 +372567,15 @@ LAB_006aeed2: auStack_100[0x11] = 0x3ea8f5c3; auStack_100[0x12] = 0x3f800000; auStack_100[0x19] = 0; - iVar12 = ((int)(*pfVar11 + 0.5) + 2) / 3; - iVar17 = 6; - if (iVar12 < 6) { - iVar17 = iVar12; + iVar13 = ((int)(*pfVar12 + 0.5) + 2) / 3; + iVar18 = 6; + if (iVar13 < 6) { + iVar18 = iVar13; } - if (iVar17 < 1) { - iVar17 = 1; + if (iVar18 < 1) { + iVar18 = 1; } - puVar18 = auStack_100 + 0xf; + puVar19 = auStack_100 + 0xf; } else { auStack_100[0xc] = 0x3f48c8ca; @@ -372195,17 +372589,17 @@ LAB_006aeed2: auStack_100[6] = 0x3f000000; auStack_100[7] = 0x3f800000; auStack_100[0xe] = 0; - iVar12 = ((int)(*pfVar11 + 0.5) + 2) / 3; - iVar17 = 6; - if (iVar12 < 6) { - iVar17 = iVar12; + iVar13 = ((int)(*pfVar12 + 0.5) + 2) / 3; + iVar18 = 6; + if (iVar13 < 6) { + iVar18 = iVar13; } - if (iVar17 < 1) { - iVar17 = 1; + if (iVar18 < 1) { + iVar18 = 1; } - puVar18 = auStack_100 + 4; + puVar19 = auStack_100 + 4; } - (**(code **)(*(int *)this + 0x3c))(puVar18,iVar17,0,0,0); + (**(code **)(*(int *)this + 0x3c))(puVar19,iVar18,0,0,0); } } else { @@ -372222,9 +372616,9 @@ LAB_006aeed2: local_319 = 1; } } - pfVar11 = pfVar11 + 0xe; + pfVar12 = pfVar12 + 0xe; local_320 = local_320 + 7; - } while (pfVar11 != *(float **)((int)this + 0xc)); + } while (pfVar12 != *(float **)((int)this + 0xc)); if (local_319 != 0) { (**(code **)(*(int *)this + 0x24))(&local_294); } @@ -372235,15 +372629,15 @@ LAB_006aeed2: *(int *)((int)this + 0x18) = 0; *(int *)((int)this + 0x1c) = 0; local_318 = *(Vector **)((int)this + 0x168); - pVVar29 = *(Vector **)((int)this + 0x16c); + pVVar30 = *(Vector **)((int)this + 0x16c); } if (((uint)local_318 & 0x4000) == 0) { if (((1 < *(int *)&g_game->_deathmatchManager) && (*(int *)((int)this + 0x28) == 1)) || (*(int *)((int)this + 0x28) - 10U < 0x3de)) { local_308 = (EntityPtr)0x14; if ((((uint)local_318 & 0x40) != 0) && - (iVar12 = *(int *)((int)this + 0x2e0), *(int *)((int)this + 0x2e0) = iVar12 + 1, - iVar12 % 0x14 == 1)) { + (iVar13 = *(int *)((int)this + 0x2e0), *(int *)((int)this + 0x2e0) = iVar13 + 1, + iVar13 % 0x14 == 1)) { auStack_100[0x22] = 0; auStack_100[0x1e] = 0; auStack_100[0x1f] = 0; @@ -372256,16 +372650,16 @@ LAB_006aeed2: auStack_100[0x23] = 0x3f000000; auStack_100[0x24] = 0; (**(code **)(*(int *)this + 0x3c))(auStack_100 + 0x1a,2,0xff,0,1); - uVar13 = EntityRef::EntityRef(); - (**(code **)(*(int *)this + 0x20))(*(undefined4 *)((int)this + 800),0x8000,0,uVar13,0x1e); + uVar14 = EntityRef::EntityRef(); + (**(code **)(*(int *)this + 0x20))(*(undefined4 *)((int)this + 800),0x8000,0,uVar14,0x1e); local_318 = *(Vector **)((int)this + 0x168); - pVVar29 = *(Vector **)((int)this + 0x16c); + pVVar30 = *(Vector **)((int)this + 0x16c); } pVStack_2d8 = local_318; if (((uint)local_318 & 0x1000) != 0) { - iVar12 = *(int *)((int)this + 0x2e4); - *(int *)((int)this + 0x2e4) = iVar12 + 1; - if (iVar12 % (int)local_308 == 1) { + iVar13 = *(int *)((int)this + 0x2e4); + *(int *)((int)this + 0x2e4) = iVar13 + 1; + if (iVar13 % (int)local_308 == 1) { auStack_100[0x2d] = 0x3f000000; auStack_100[0x29] = 0; auStack_100[0x2a] = 0; @@ -372278,49 +372672,49 @@ LAB_006aeed2: auStack_100[0x2e] = 0x3e99999a; auStack_100[0x2f] = 0; (**(code **)(*(int *)this + 0x3c))(auStack_100 + 0x25,2,0xff,0,1); - uVar13 = EntityRef::EntityRef(); + uVar14 = EntityRef::EntityRef(); (**(code **)(*(int *)this + 0x20)) - (*(undefined4 *)((int)this + 0x324),0x8000,0,uVar13,0x1e); + (*(undefined4 *)((int)this + 0x324),0x8000,0,uVar14,0x1e); pVStack_2d8 = *(Vector **)((int)this + 0x168); - pVVar29 = *(Vector **)((int)this + 0x16c); + pVVar30 = *(Vector **)((int)this + 0x16c); } } - if ((((uint)pVVar29 & 4) != 0) && - (cVar9 = IsDescendantOf(this,*(undefined4 *)((int)this + 0x28c)), cVar9 == '\0')) { - fVar30 = *(float *)((int)this + 0x340) - *(float *)((int)this + 0x390); - fVar34 = *(float *)((int)this + 0x33c) - *(float *)((int)this + 0x38c); - fVar30 = fVar30 * fVar30 + fVar34 * fVar34; + if ((((uint)pVVar30 & 4) != 0) && + (cVar10 = IsDescendantOf(this,*(undefined4 *)((int)this + 0x28c)), cVar10 == '\0')) { + fVar31 = *(float *)((int)this + 0x340) - *(float *)((int)this + 0x390); + fVar35 = *(float *)((int)this + 0x33c) - *(float *)((int)this + 0x38c); + fVar31 = fVar31 * fVar31 + fVar35 * fVar35; sqrtf(); - pGVar7 = g_game; + pGVar8 = g_game; local_310 = (Vector *) - (fVar30 * *(float *)((int)this + 0x39c) * 0.02 + *(float *)((int)this + 0x2ec)); + (fVar31 * *(float *)((int)this + 0x39c) * 0.02 + *(float *)((int)this + 0x2ec)); *(Vector **)((int)this + 0x2ec) = local_310; - iVar12 = pGVar7->_stageType; - if ((iVar12 == 4) || (iVar12 == 5)) { - iVar12 = g_game->_stage + 1; + iVar13 = pGVar8->_stageType; + if ((iVar13 == 4) || (iVar13 == 5)) { + iVar13 = g_game->_stage + 1; } else { - iVar12 = pGVar7->_stage; + iVar13 = pGVar8->_stage; } - local_304 = (Vector *)((float)iVar12 * 0.3 + 2.8); + local_304 = (Vector *)((float)iVar13 * 0.3 + 2.8); pVStack_2f4 = local_310; - dVar39 = floor((double)(float)local_310); - local_308 = (EntityPtr)(float)dVar39; + dVar40 = floor((double)(float)local_310); + local_308 = (EntityPtr)(float)dVar40; if (*(int *)&g_game->_deathmatchManager < 2) { - pVVar29 = local_304; + pVVar30 = local_304; } else { - pVVar29 = (Vector *)0x3f800000; + pVVar30 = (Vector *)0x3f800000; } - EVar33 = local_308; + EVar34 = local_308; if (10.0 <= (float)local_308) { - EVar33 = (EntityPtr)0x41200000; + EVar34 = (EntityPtr)0x41200000; } *(float *)((int)this + 0x2ec) = (float)pVStack_2f4 - (float)local_308; - fVar30 = (float)EVar33 * (float)pVVar29; - if (0.0 < fVar30) { - uVar13 = EntityRef::EntityRef(); - (**(code **)(*(int *)this + 0x20))(fVar30,0,0,uVar13,0x1e); + fVar31 = (float)EVar34 * (float)pVVar30; + if (0.0 < fVar31) { + uVar14 = EntityRef::EntityRef(); + (**(code **)(*(int *)this + 0x20))(fVar31,0,0,uVar14,0x1e); local_310 = (Vector *)0x0; if (0.0 < (float)local_308) { do { @@ -372343,18 +372737,18 @@ LAB_006b0194: } else { pVStack_30c = (g_game->_deathmatchManager)._type; - uVar22 = Random(); - pVVar29 = local_318; + uVar23 = Random(); + pVVar30 = local_318; uStack_2ac = 0x900000005; pEStack_2fc = (Entity *)&DAT_00000007; uStack_2a4 = 7; - uStack_300 = uVar22; + uStack_300 = uVar23; if (local_314 != (Vector *)&DAT_00000005) goto LAB_006b0194; if (uStack_2c0 < 0x12d) { if (uStack_2c0 == 300) { while ((local_320 = local_318, local_318 == (Vector *)0x0 || - (cVar9 = (**(code **)((int)pVStack_30c->x + 0x24))(local_318), - cVar9 != '\0'))) { + (cVar10 = (**(code **)((int)pVStack_30c->x + 0x24))(local_318), + cVar10 != '\0'))) { if (uStack_300 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); @@ -372362,14 +372756,14 @@ LAB_006b0194: uStack_300 = uStack_300 >> ((byte)uStack_2ac & 0x1f) ^ uStack_300; uStack_300 = uStack_300 << ((byte)((ulonglong)uStack_2ac >> 0x20) & 0x1f) ^ uStack_300; - uVar22 = uStack_300 >> ((byte)pEStack_2fc & 0x1f) ^ uStack_300; - uStack_300 = uVar22; - iVar12 = ItemPool::GetCardEx(uVar22,0x19,10,10,1); + uVar23 = uStack_300 >> ((byte)pEStack_2fc & 0x1f) ^ uStack_300; + uStack_300 = uVar23; + iVar13 = ItemPool::GetCardEx(uVar23,0x19,10,10,1); auStack_100[1] = 5; auStack_100[2] = 9; auStack_100[3] = 7; - auStack_100[0] = uVar22; - local_318 = (Vector *)lua_callback_run_get_card(auStack_100,iVar12,1,1,0); + auStack_100[0] = uVar23; + local_318 = (Vector *)lua_callback_run_get_card(auStack_100,iVar13,1,1,0); } } else { @@ -372377,43 +372771,43 @@ LAB_006b0194: uStack_2d0 = (uint)local_318 >> 0xb; do { if (local_318 != (Vector *)0x0) { - pcVar3 = *(code **)((int)pVStack_30c->x + 0x28); + pcVar4 = *(code **)((int)pVStack_30c->x + 0x28); local_320 = local_318; - iVar12 = ItemPool::GetPillEffect + iVar13 = ItemPool::GetPillEffect (&g_game->_itemPool,(uint)local_318, (Entity_Player *)0x0); - cVar9 = (*pcVar3)(iVar12); - if (cVar9 == '\0') goto LAB_006b019c; - uVar22 = uStack_300; + cVar10 = (*pcVar4)(iVar13); + if (cVar10 == '\0') goto LAB_006b019c; + uVar23 = uStack_300; } local_320 = (Vector *)&g_game->_itemPool; - if (uVar22 == 0) { + if (uVar23 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar22 = uVar22 >> ((byte)uStack_2ac & 0x1f) ^ uVar22; - uVar22 = uVar22 << ((byte)((ulonglong)uStack_2ac >> 0x20) & 0x1f) ^ uVar22; - uVar22 = uVar22 >> ((byte)pEStack_2fc & 0x1f) ^ uVar22; - uStack_300 = uVar22; - uVar21 = ItemPool::GetPill(uVar22); - local_318 = (Vector *)(uVar21 | (uStack_2d0 & 1) << 0xb); + uVar23 = uVar23 >> ((byte)uStack_2ac & 0x1f) ^ uVar23; + uVar23 = uVar23 << ((byte)((ulonglong)uStack_2ac >> 0x20) & 0x1f) ^ uVar23; + uVar23 = uVar23 >> ((byte)pEStack_2fc & 0x1f) ^ uVar23; + uStack_300 = uVar23; + uVar22 = ItemPool::GetPill(uVar23); + local_318 = (Vector *)(uVar22 | (uStack_2d0 & 1) << 0xb); } while( true ); } if (uStack_2c0 != 100) goto LAB_006b0194; local_320 = local_318; if (local_318 == (Vector *)0x19) { LAB_006affca: - bVar28 = false; + bVar29 = false; } else { pVStack_2b8 = local_318; std::set::find_node(auStack_24c,&pVStack_2b8); if (((*(char *)((int)fStack_244 + 0xd) == '\0') && - (*(int *)((int)fStack_244 + 0x10) <= (int)pVVar29)) && + (*(int *)((int)fStack_244 + 0x10) <= (int)pVVar30)) && (fStack_244 != pVStack_30c[4].x)) goto LAB_006affca; - bVar28 = true; + bVar29 = true; } - if ((pVVar29 == (Vector *)0x0) || (bVar28)) { + if ((pVVar30 == (Vector *)0x0) || (bVar29)) { local_320 = (Vector *)(**(code **)((int)pVStack_30c->x + 0x84))(0); local_318 = local_320; } @@ -372422,323 +372816,323 @@ LAB_006affca: else { if (uStack_2c0 != 0x15e) goto LAB_006b0194; while ((local_320 = local_318, local_318 == (Vector *)0x0 || - (cVar9 = (**(code **)((int)pVStack_30c->x + 0x2c))(local_318), - cVar9 != '\0'))) { + (cVar10 = (**(code **)((int)pVStack_30c->x + 0x2c))(local_318), + cVar10 != '\0'))) { local_318 = (Vector *)ItemPool::GetTrinket(&g_game->_itemPool,0); } } } LAB_006b019c: pEStack_2fc = EntityFactory::Create(pGStack_2f8->_entityFactory,(uint)local_314,0); - lVar4 = CONCAT44(pGStack_2f8,pVStack_2f4); + lVar5 = CONCAT44(pGStack_2f8,pVStack_2f4); if (pEStack_2fc == (Entity *)0x0) { - pEVar27 = (Entity *)0x0; + pEVar28 = (Entity *)0x0; } else { - uVar38 = GetTimeNs(); - pEVar27 = pEStack_2fc; - uVar21 = (uint)(uVar38 >> 0x20); - lVar4 = (uVar38 & 0xffffffff) * 0x431bde82; - apEStack_2f0[0] = (EntityPtr *)((ulonglong)lVar4 >> 0x20); - uVar38 = (ulonglong)uVar21 * 0xd7b634db + - ((uVar38 & 0xffffffff) * 0xd7b634db >> 0x20); - uVar20 = (uint)(uVar38 >> 0x20); - lVar4 = lVar4 + (uVar38 & 0xffffffff); - uStack_2d0 = (uint)lVar4; - uVar22 = (uint)((ulonglong)lVar4 >> 0x20); - lVar4 = (ulonglong)uVar21 * 0x431bde82 + - (ulonglong)CONCAT14(CARRY4(uVar20,uVar22),uVar20 + uVar22); - uVar22 = (uint)((ulonglong)lVar4 >> 0x20); - uStack_300 = (uint)lVar4 >> 0x12 | uVar22 * 0x4000; - pVStack_30c = (Vector *)(uVar22 >> 0x12); - pEVar31 = &pEStack_2fc->_spawnerEntity; + uVar39 = GetTimeNs(); + pEVar28 = pEStack_2fc; + uVar22 = (uint)(uVar39 >> 0x20); + lVar5 = (uVar39 & 0xffffffff) * 0x431bde82; + apEStack_2f0[0] = (EntityPtr *)((ulonglong)lVar5 >> 0x20); + uVar39 = (ulonglong)uVar22 * 0xd7b634db + + ((uVar39 & 0xffffffff) * 0xd7b634db >> 0x20); + uVar21 = (uint)(uVar39 >> 0x20); + lVar5 = lVar5 + (uVar39 & 0xffffffff); + uStack_2d0 = (uint)lVar5; + uVar23 = (uint)((ulonglong)lVar5 >> 0x20); + lVar5 = (ulonglong)uVar22 * 0x431bde82 + + (ulonglong)CONCAT14(CARRY4(uVar21,uVar23),uVar21 + uVar23); + uVar23 = (uint)((ulonglong)lVar5 >> 0x20); + uStack_300 = (uint)lVar5 >> 0x12 | uVar23 * 0x4000; + pVStack_30c = (Vector *)(uVar23 >> 0x12); + pEVar32 = &pEStack_2fc->_spawnerEntity; pEStack_2fc->_spawnerType = 0; pEStack_2fc->_spawnerVariant = 0; - if (*pEVar31 != (EntityPtr)0x0) { - apEStack_2e0[0] = pEVar31; + if (*pEVar32 != (EntityPtr)0x0) { + apEStack_2e0[0] = pEVar32; std::multiset::erase(apEStack_2e0); } - iVar12 = *(int *)pEVar27; - *pEVar31 = (EntityPtr)0x0; - (pEVar27->_pos).x = (float)pVStack_2d8; - (pEVar27->_pos).y = fStack_2d4; - (pEVar27->_velocity).x = g_vectorZero.x; - (pEVar27->_velocity).y = g_vectorZero.y; - (**(code **)(iVar12 + 4))(local_314,uStack_2c0,local_320,pVStack_2f4); - iVar12 = *(int *)((int)pGStack_2f8->_room + 0x1214); - *(int *)((int)pGStack_2f8->_room + 0x1214) = iVar12 + 1; - pEVar27->_index = iVar12; - EntityList::AddEntity(pEVar27); - cVar9 = Game::ShouldEraseEnemy(pEVar27); - if (cVar9 != '\0') { - RemoveWithPoof(pEVar27,extraout_ECX); + iVar13 = *(int *)pEVar28; + *pEVar32 = (EntityPtr)0x0; + (pEVar28->_pos).x = (float)pVStack_2d8; + (pEVar28->_pos).y = fStack_2d4; + (pEVar28->_velocity).x = g_vectorZero.x; + (pEVar28->_velocity).y = g_vectorZero.y; + (**(code **)(iVar13 + 4))(local_314,uStack_2c0,local_320,pVStack_2f4); + iVar13 = *(int *)((int)pGStack_2f8->_room + 0x1214); + *(int *)((int)pGStack_2f8->_room + 0x1214) = iVar13 + 1; + pEVar28->_index = iVar13; + EntityList::AddEntity(pEVar28); + cVar10 = Game::ShouldEraseEnemy(pEVar28); + if (cVar10 != '\0') { + RemoveWithPoof(pEVar28,extraout_ECX); } - if ((pEVar27->_exists != 0) && + if ((pEVar28->_exists != 0) && ((pGStack_2f8->_proceduralItemManager)._proceduralItems._begin != (pGStack_2f8->_proceduralItemManager)._proceduralItems._end)) { - iStack_264 = pEVar27->_variant; - iVar12 = pEVar27->_type; - puVar35 = &pGStack_2f8->field_0x67780; - iStack_268 = iVar12; + iStack_264 = pEVar28->_variant; + iVar13 = pEVar28->_type; + psVar2 = &(pGStack_2f8->_proceduralItemManager)._spawnTriggerTargets; + iStack_268 = iVar13; std::map::find(&local_304,&iStack_268); - if (local_304 == *(Vector **)puVar35) { + if (local_304 == psVar2->_head) { aiStack_260[1] = 0xffffffff; - aiStack_260[0] = iVar12; - piVar15 = (int *)std::map::find(auStack_250,aiStack_260); - local_304 = (Vector *)*piVar15; - if (local_304 == *(Vector **)puVar35) goto LAB_006b0415; + aiStack_260[0] = iVar13; + piVar16 = (int *)std::map::find(auStack_250,aiStack_260); + local_304 = (Vector *)*piVar16; + if (local_304 == psVar2->_head) goto LAB_006b0415; } - uVar22 = 0; - pPVar26 = &g_game->_playerManager; + uVar23 = 0; + pPVar27 = &g_game->_playerManager; if ((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar26->_playerList)._begin >> 2 != 0) { + (int)(pPVar27->_playerList)._begin >> 2 != 0) { do { - if ((int)(pPVar26->_playerList)._end - (int)(pPVar26->_playerList)._begin >> 2 + if ((int)(pPVar27->_playerList)._end - (int)(pPVar27->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n" ); } trigger_set_dispatch(6,pEStack_2fc,&pVStack_2d8,&g_vectorZero); - uVar22 = uVar22 + 1; - pPVar26 = &g_game->_playerManager; - } while (uVar22 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar26->_playerList)._begin >> 2)); + uVar23 = uVar23 + 1; + pPVar27 = &g_game->_playerManager; + } while (uVar23 < (uint)((int)(g_game->_playerManager)._playerList._end - + (int)(pPVar27->_playerList)._begin >> 2)); } } LAB_006b0415: - uVar38 = GetTimeNs(); - uVar22 = (uint)(uVar38 >> 0x20); - lVar5 = (uVar38 & 0xffffffff) * 0x431bde82; - uStack_2d0 = (uint)((ulonglong)lVar5 >> 0x20); - lVar4 = (ulonglong)uVar22 * 0x431bde82; - uVar38 = (ulonglong)uVar22 * 0xd7b634db + - ((uVar38 & 0xffffffff) * 0xd7b634db >> 0x20); - uVar21 = (uint)(uVar38 >> 0x20); - lVar5 = lVar5 + (uVar38 & 0xffffffff); - apEStack_2f0[0] = (EntityPtr *)lVar5; - uVar22 = (uint)((ulonglong)lVar5 >> 0x20); - lVar5 = lVar4 + (ulonglong)CONCAT14(CARRY4(uVar21,uVar22),uVar21 + uVar22); - uVar20 = (uint)((ulonglong)lVar5 >> 0x20); - uVar22 = (uint)lVar5 >> 0x12 | uVar20 * 0x4000; - uVar21 = uVar22 - uStack_300; - bVar28 = CARRY4((uint)g_entitySpawnTimeMs,uVar21); - g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar21; + uVar39 = GetTimeNs(); + uVar23 = (uint)(uVar39 >> 0x20); + lVar6 = (uVar39 & 0xffffffff) * 0x431bde82; + uStack_2d0 = (uint)((ulonglong)lVar6 >> 0x20); + lVar5 = (ulonglong)uVar23 * 0x431bde82; + uVar39 = (ulonglong)uVar23 * 0xd7b634db + + ((uVar39 & 0xffffffff) * 0xd7b634db >> 0x20); + uVar22 = (uint)(uVar39 >> 0x20); + lVar6 = lVar6 + (uVar39 & 0xffffffff); + apEStack_2f0[0] = (EntityPtr *)lVar6; + uVar23 = (uint)((ulonglong)lVar6 >> 0x20); + lVar6 = lVar5 + (ulonglong)CONCAT14(CARRY4(uVar22,uVar23),uVar22 + uVar23); + uVar21 = (uint)((ulonglong)lVar6 >> 0x20); + uVar23 = (uint)lVar6 >> 0x12 | uVar21 * 0x4000; + uVar22 = uVar23 - uStack_300; + bVar29 = CARRY4((uint)g_entitySpawnTimeMs,uVar22); + g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar22; g_entitySpawnTimeMs._4_4_ = g_entitySpawnTimeMs._4_4_ + - (((uVar20 >> 0x12) - (int)pVStack_30c) - (uint)(uVar22 < uStack_300)) + - (uint)bVar28; - pEVar27 = pEStack_2fc; + (((uVar21 >> 0x12) - (int)pVStack_30c) - (uint)(uVar23 < uStack_300)) + + (uint)bVar29; + pEVar28 = pEStack_2fc; this = (Entity *)local_2e8; } - pGStack_2f8 = (Game *)((ulonglong)lVar4 >> 0x20); - pVStack_2f4 = (Vector *)lVar4; - uVar22 = GetHitListIndex(this); - sorted_vector_insert_unique(uVar22); - iVar17 = Random(); - iVar12 = *(int *)pEVar27; - fVar34 = (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * + pGStack_2f8 = (Game *)((ulonglong)lVar5 >> 0x20); + pVStack_2f4 = (Vector *)lVar5; + uVar23 = GetHitListIndex(this); + sorted_vector_insert_unique(uVar23); + iVar18 = Random(); + iVar13 = *(int *)pEVar28; + fVar35 = (float)((double)iVar18 + __uint_to_double_fixup[-(iVar18 >> 0x1f)]) * 2.3283064e-10 * 0.5 + 0.2; - fVar30 = fVar34 * g_vectorOne.x; - (pEVar27->_sprite)._scale.y = fVar34 * g_vectorOne.y; - (pEVar27->_sprite)._scale.x = fVar30; - (**(code **)(iVar12 + 0xc))(); - uVar13 = Random(); - piVar15 = (int *)Game::SpawnEx(g_game,1000,7,&pVStack_2d8,&g_vectorZero,0,0,uVar13,0); - (**(code **)(*piVar15 + 0xc))(); - uVar13 = Random(); - uVar22 = Random(); - iVar12 = Random(); - fVar30 = (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * + fVar31 = fVar35 * g_vectorOne.x; + (pEVar28->_sprite)._scale.y = fVar35 * g_vectorOne.y; + (pEVar28->_sprite)._scale.x = fVar31; + (**(code **)(iVar13 + 0xc))(); + uVar14 = Random(); + piVar16 = (int *)Game::SpawnEx(g_game,1000,7,&pVStack_2d8,&g_vectorZero,0,0,uVar14,0); + (**(code **)(*piVar16 + 0xc))(); + uVar14 = Random(); + uVar23 = Random(); + iVar13 = Random(); + fVar31 = (float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pEVar31 = (EntityPtr *)(fVar30 + fVar30); - apEStack_2f0[0] = pEVar31; + pEVar32 = (EntityPtr *)(fVar31 + fVar31); + apEStack_2f0[0] = pEVar32; cos(); - fStack_258 = (float)pEVar31 * 5.0; - pEVar31 = apEStack_2f0[0]; + fStack_258 = (float)pEVar32 * 5.0; + pEVar32 = apEStack_2f0[0]; sin(); - fStack_254 = (float)pEVar31 * 0.5 * 5.0; - iVar12 = Random(); - fVar30 = (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * + fStack_254 = (float)pEVar32 * 0.5 * 5.0; + iVar13 = Random(); + fVar31 = (float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pEVar31 = (EntityPtr *)(fVar30 + fVar30); - apEStack_2f0[0] = pEVar31; + pEVar32 = (EntityPtr *)(fVar31 + fVar31); + apEStack_2f0[0] = pEVar32; cos(); local_2c8 = (Vector *) - ((float)pEVar31 * 0.5 * *(float *)((int)local_2e8 + 0x370) + local_2e4->x) + ((float)pEVar32 * 0.5 * *(float *)((int)local_2e8 + 0x370) + local_2e4->x) ; - pEVar31 = apEStack_2f0[0]; + pEVar32 = apEStack_2f0[0]; sin(); this = (Entity *)local_2e8; - fStack_2c4 = (float)pEVar31 * 0.5 * *(float *)((int)local_2e8 + 0x370) + local_2e4->y; - piVar15 = (int *)Game::SpawnEx(g_game,1000,5,&local_2c8,&fStack_258,local_2e8, - uVar22 % 3,uVar13,0); - (**(code **)(*piVar15 + 0xc))(); + fStack_2c4 = (float)pEVar32 * 0.5 * *(float *)((int)local_2e8 + 0x370) + local_2e4->y; + piVar16 = (int *)Game::SpawnEx(g_game,1000,5,&local_2c8,&fStack_258,local_2e8, + uVar23 % 3,uVar14,0); + (**(code **)(*piVar16 + 0xc))(); local_310 = (Vector *)((float)local_310 + 1.0); } while ((float)local_310 < (float)local_308); } } } } - fVar30 = 1.0; + fVar31 = 1.0; if ((*(char *)((int)this + 0x173) == '\0') && ((*(uint *)((int)this + 0x16c) & 0x80000) != 0)) { - bVar10 = DoesEntityShareStatus(this); - if ((bVar10 != 0) && - (EVar33 = *(EntityPtr *)((int)this + 0x3bc), + bVar11 = DoesEntityShareStatus(this); + if ((bVar11 != 0) && + (EVar34 = *(EntityPtr *)((int)this + 0x3bc), *(EntityPtr *)((int)this + 0x3bc) != (EntityPtr)0x0)) { do { - EVar14 = EVar33; - EVar33 = *(EntityPtr *)((int)EVar14 + 0x3bc); - } while (EVar33 != (EntityPtr)0x0); - if (EVar14 != (EntityPtr)this) goto LAB_006b0a5d; + EVar15 = EVar34; + EVar34 = *(EntityPtr *)((int)EVar15 + 0x3bc); + } while (EVar34 != (EntityPtr)0x0); + if (EVar15 != (EntityPtr)this) goto LAB_006b0a5d; } local_304 = (Vector *)0x0; pvStack_2bc = g_game->_room; - pGStack_2f8 = (Game *)fVar30; + pGStack_2f8 = (Game *)fVar31; if (*(int *)((int)pvStack_2bc + 0x1264) != 0) { do { - EVar33 = *(EntityPtr *)(*(int *)((int)pvStack_2bc + 0x125c) + (int)local_304 * 4); - local_308 = EVar33; - bVar10 = DoesEntityShareStatus((Entity *)EVar33); - if (bVar10 != 0) { - EVar14 = *(EntityPtr *)((int)EVar33 + 0x3bc); - local_308 = EVar33; - if (*(EntityPtr *)((int)EVar33 + 0x3bc) != (EntityPtr)0x0) { + EVar34 = *(EntityPtr *)(*(int *)((int)pvStack_2bc + 0x125c) + (int)local_304 * 4); + local_308 = EVar34; + bVar11 = DoesEntityShareStatus((Entity *)EVar34); + if (bVar11 != 0) { + EVar15 = *(EntityPtr *)((int)EVar34 + 0x3bc); + local_308 = EVar34; + if (*(EntityPtr *)((int)EVar34 + 0x3bc) != (EntityPtr)0x0) { do { - local_308 = EVar14; - EVar14 = *(EntityPtr *)((int)local_308 + 0x3bc); + local_308 = EVar15; + EVar15 = *(EntityPtr *)((int)local_308 + 0x3bc); } while (*(EntityPtr *)((int)local_308 + 0x3bc) != (EntityPtr)0x0); this = (Entity *)local_2e8; } } - EVar14 = (EntityPtr)GetStatusEffectTarget(this); - if (EVar14 != local_308) { + EVar15 = (EntityPtr)GetStatusEffectTarget(this); + if (EVar15 != local_308) { if (1 < *(int *)&g_game->_deathmatchManager) { - cVar9 = IsDescendantOf((Entity *)EVar33,*(undefined4 *)((int)this + 0x2b4)); - if (cVar9 != '\0') goto LAB_006b0a1b; + cVar10 = IsDescendantOf((Entity *)EVar34,*(undefined4 *)((int)this + 0x2b4)); + if (cVar10 != '\0') goto LAB_006b0a1b; } - cVar9 = IsVulnerableEnemy((Entity *)EVar33,0); - if ((((((cVar9 != '\0') || (iVar12 = *(int *)((int)EVar33 + 0x28), iVar12 == 9)) || - (iVar12 == 2)) || (iVar12 == 4)) || - (((iVar12 == 5 && (*(int *)((int)EVar33 + 0x534) == 0)) && - ((cVar9 = Entity_Pickup::IsChest(), cVar9 == '\0' || - (*(int *)((int)EVar33 + 0x30) != 0)))))) && (EVar33 != (EntityPtr)this)) { - if (((*(float *)((int)EVar33 + 0x33c) != *(float *)((int)this + 0x33c)) || - (*(float *)((int)EVar33 + 0x340) != *(float *)((int)this + 0x340))) && - (*(float *)((int)EVar33 + 0x36c) != 0.0)) { + cVar10 = IsVulnerableEnemy((Entity *)EVar34,0); + if ((((((cVar10 != '\0') || (iVar13 = *(int *)((int)EVar34 + 0x28), iVar13 == 9)) || + (iVar13 == 2)) || (iVar13 == 4)) || + (((iVar13 == 5 && (*(int *)((int)EVar34 + 0x534) == 0)) && + ((cVar10 = Entity_Pickup::IsChest(), cVar10 == '\0' || + (*(int *)((int)EVar34 + 0x30) != 0)))))) && (EVar34 != (EntityPtr)this)) { + if (((*(float *)((int)EVar34 + 0x33c) != *(float *)((int)this + 0x33c)) || + (*(float *)((int)EVar34 + 0x340) != *(float *)((int)this + 0x340))) && + (*(float *)((int)EVar34 + 0x36c) != 0.0)) { local_308 = (EntityPtr) - (*(float *)((int)this + 0x33c) - *(float *)((int)EVar33 + 0x33c)); + (*(float *)((int)this + 0x33c) - *(float *)((int)EVar34 + 0x33c)); pEStack_2fc = (Entity *) - (*(float *)((int)this + 0x340) - *(float *)((int)EVar33 + 0x340)); - pVVar29 = (Vector *) + (*(float *)((int)this + 0x340) - *(float *)((int)EVar34 + 0x340)); + pVVar30 = (Vector *) ((float)pEStack_2fc * (float)pEStack_2fc + (float)local_308 * (float)local_308); - local_2e4 = pVVar29; - if ((float)pVVar29 < 65536.0) { + local_2e4 = pVVar30; + if ((float)pVVar30 < 65536.0) { sqrtf(); - pVVar25 = local_2e4; - local_310 = pVVar29; + pVVar26 = local_2e4; + local_310 = pVVar30; sqrtf(); - if (0.0 < (float)pVVar25) { - local_308 = (EntityPtr)((float)local_308 * (1.0 / (float)pVVar25)); - pEStack_2fc = (Entity *)((float)pEStack_2fc * (1.0 / (float)pVVar25)); + if (0.0 < (float)pVVar26) { + local_308 = (EntityPtr)((float)local_308 * (1.0 / (float)pVVar26)); + pEStack_2fc = (Entity *)((float)pEStack_2fc * (1.0 / (float)pVVar26)); } - puVar35 = &DAT_42000000; - iVar12 = *(int *)((int)EVar33 + 0x28); - if ((((1 < *(int *)&g_game->_deathmatchManager) && (iVar12 == 1)) || - (iVar12 - 10U < 0x3de)) || ((iVar12 == 2 || (iVar12 == 4)))) { - puVar35 = (undefined1 *)0x42a00000; + puVar36 = &DAT_42000000; + iVar13 = *(int *)((int)EVar34 + 0x28); + if ((((1 < *(int *)&g_game->_deathmatchManager) && (iVar13 == 1)) || + (iVar13 - 10U < 0x3de)) || ((iVar13 == 2 || (iVar13 == 4)))) { + puVar36 = (undefined1 *)0x42a00000; } - if ((((1 < *(int *)&g_game->_deathmatchManager) && (iVar12 == 1)) || - ((iVar12 - 10U < 0x3de || (iVar12 == 4)))) && + if ((((1 < *(int *)&g_game->_deathmatchManager) && (iVar13 == 1)) || + ((iVar13 - 10U < 0x3de || (iVar13 == 4)))) && ((float)local_310 < - *(float *)((int)EVar33 + 0x370) + *(float *)((int)this + 0x370) + 16.0)) { + *(float *)((int)EVar34 + 0x370) + *(float *)((int)this + 0x370) + 16.0)) { pGStack_2f8 = (Game *)((float)pGStack_2f8 * 0.8); } if (8.0 <= (float)local_310) { - fVar30 = 1.0 / (float)local_310; + fVar31 = 1.0 / (float)local_310; } else { - fVar30 = (float)local_310 * 0.015625; + fVar31 = (float)local_310 * 0.015625; } - if (iVar12 == 9) { + if (iVar13 == 9) { apEStack_2f0[0] = (EntityPtr *)0x3f000000; - fVar34 = (float)(g_game->_frameCount - *(int *)((int)EVar33 + 0x328)) / 30.0; - if (1.0 <= fVar34) { - fVar34 = 1.0; + fVar35 = (float)(g_game->_frameCount - *(int *)((int)EVar34 + 0x328)) / 30.0; + if (1.0 <= fVar35) { + fVar35 = 1.0; } - fVar34 = fVar34 * fVar30; - pVVar29 = (Vector *) - (((float)puVar35 * fVar34) / *(float *)((int)EVar33 + 0x36c)); - apEStack_2e0[0] = (EntityPtr *)(1.0 - (fVar34 + fVar34)); - ppEVar16 = apEStack_2e0; + fVar35 = fVar35 * fVar31; + pVVar30 = (Vector *) + (((float)puVar36 * fVar35) / *(float *)((int)EVar34 + 0x36c)); + apEStack_2e0[0] = (EntityPtr *)(1.0 - (fVar35 + fVar35)); + ppEVar17 = apEStack_2e0; if ((float)apEStack_2e0[0] <= 0.5) { - ppEVar16 = apEStack_2f0; + ppEVar17 = apEStack_2f0; } - pEVar31 = *ppEVar16; - *(float *)((int)EVar33 + 0x364) = - (float)pEVar31 * *(float *)((int)EVar33 + 0x364); - *(float *)((int)EVar33 + 0x360) = - (float)pEVar31 * *(float *)((int)EVar33 + 0x360); - if ((0.3 < fVar34) && - (*(float *)((int)EVar33 + 0x418) <= 0.0 && - *(float *)((int)EVar33 + 0x418) != 0.0)) { - *(undefined4 *)((int)EVar33 + 0x418) = 0; + pEVar32 = *ppEVar17; + *(float *)((int)EVar34 + 0x364) = + (float)pEVar32 * *(float *)((int)EVar34 + 0x364); + *(float *)((int)EVar34 + 0x360) = + (float)pEVar32 * *(float *)((int)EVar34 + 0x360); + if ((0.3 < fVar35) && + (*(float *)((int)EVar34 + 0x418) <= 0.0 && + *(float *)((int)EVar34 + 0x418) != 0.0)) { + *(undefined4 *)((int)EVar34 + 0x418) = 0; } - if ((((*(char *)((int)EVar33 + 0x173) == '\0') && + if ((((*(char *)((int)EVar34 + 0x173) == '\0') && ((float)local_2e4 < *(float *)((int)this + 0x370) * *(float *)((int)this + 0x370))) && - (0xf < g_game->_frameCount - *(int *)((int)EVar33 + 0x328))) && - (-50.0 < *(float *)((int)EVar33 + 0x410))) { - *(undefined1 *)((int)EVar33 + 0x173) = 1; + (0xf < g_game->_frameCount - *(int *)((int)EVar34 + 0x328))) && + (-50.0 < *(float *)((int)EVar34 + 0x410))) { + *(undefined1 *)((int)EVar34 + 0x173) = 1; } } else { local_314 = (Vector *) - (((float)puVar35 * fVar30) / *(float *)((int)EVar33 + 0x36c)); - if (iVar12 == 2) { + (((float)puVar36 * fVar31) / *(float *)((int)EVar34 + 0x36c)); + if (iVar13 == 2) { apEStack_2f0[0] = (EntityPtr *)0x3f000000; - apEStack_2e0[0] = (EntityPtr *)(1.0 - (fVar30 + fVar30)); - ppEVar16 = apEStack_2e0; + apEStack_2e0[0] = (EntityPtr *)(1.0 - (fVar31 + fVar31)); + ppEVar17 = apEStack_2e0; if ((float)apEStack_2e0[0] <= 0.5) { - ppEVar16 = apEStack_2f0; + ppEVar17 = apEStack_2f0; } - fVar30 = (float)*ppEVar16 * *(float *)((int)EVar33 + 0x364); - fVar34 = (float)*ppEVar16 * *(float *)((int)EVar33 + 0x360); - *(float *)((int)EVar33 + 0x364) = fVar30; - *(float *)((int)EVar33 + 0x360) = fVar34; + fVar31 = (float)*ppEVar17 * *(float *)((int)EVar34 + 0x364); + fVar35 = (float)*ppEVar17 * *(float *)((int)EVar34 + 0x360); + *(float *)((int)EVar34 + 0x364) = fVar31; + *(float *)((int)EVar34 + 0x360) = fVar35; local_320 = DAT_00c34b64; - apEStack_2e0[0] = (EntityPtr *)(*(uint *)((int)EVar33 + 0x430) & DAT_00c34b68) + apEStack_2e0[0] = (EntityPtr *)(*(uint *)((int)EVar34 + 0x430) & DAT_00c34b68) ; apEStack_2f0[0] = - (EntityPtr *)(*(uint *)((int)EVar33 + 0x434) & (uint)DAT_00c34b6c); + (EntityPtr *)(*(uint *)((int)EVar34 + 0x434) & (uint)DAT_00c34b6c); pVStack_2b8 = DAT_00c34b6c; uStack_2d0 = DAT_00c34b60; this = (Entity *)local_2e8; - if ((((*(uint *)((int)EVar33 + 0x428) & DAT_00c34b60) != 0 || - (*(uint *)((int)EVar33 + 0x42c) & (uint)DAT_00c34b64) != 0) || + if ((((*(uint *)((int)EVar34 + 0x428) & DAT_00c34b60) != 0 || + (*(uint *)((int)EVar34 + 0x42c) & (uint)DAT_00c34b64) != 0) || (apEStack_2e0[0] != (EntityPtr *)0x0 || apEStack_2f0[0] != (EntityPtr *)0x0)) && - (fVar30 * fVar30 + fVar34 * fVar34 < 1.0)) { - uStack_2b0 = ~DAT_00c34b60 & *(uint *)((int)EVar33 + 0x428); - local_320 = (Vector *)(~(uint)DAT_00c34b64 & *(uint *)((int)EVar33 + 0x42c)) + (fVar31 * fVar31 + fVar35 * fVar35 < 1.0)) { + uStack_2b0 = ~DAT_00c34b60 & *(uint *)((int)EVar34 + 0x428); + local_320 = (Vector *)(~(uint)DAT_00c34b64 & *(uint *)((int)EVar34 + 0x42c)) ; - uVar22 = ~DAT_00c34b68 & *(uint *)((int)EVar33 + 0x430); - uStack_2ac = CONCAT44(uVar22,local_320); - uStack_2a4 = ~(uint)DAT_00c34b6c & *(uint *)((int)EVar33 + 0x434); + uVar23 = ~DAT_00c34b68 & *(uint *)((int)EVar34 + 0x430); + uStack_2ac = CONCAT44(uVar23,local_320); + uStack_2a4 = ~(uint)DAT_00c34b6c & *(uint *)((int)EVar34 + 0x434); flags._l._4_4_ = local_320; flags._l._0_4_ = uStack_2b0; - flags._h._0_4_ = uVar22; + flags._h._0_4_ = uVar23; flags._h._4_4_ = uStack_2a4; - Entity_Tear::SetTearFlags((Entity_Tear *)EVar33,flags); + Entity_Tear::SetTearFlags((Entity_Tear *)EVar34,flags); } } - pVVar29 = local_314; + pVVar30 = local_314; } - *(float *)((int)EVar33 + 0x360) = - (float)local_308 * (float)pVVar29 + *(float *)((int)EVar33 + 0x360); - *(float *)((int)EVar33 + 0x364) = - (float)pEStack_2fc * (float)pVVar29 + *(float *)((int)EVar33 + 0x364); + *(float *)((int)EVar34 + 0x360) = + (float)local_308 * (float)pVVar30 + *(float *)((int)EVar34 + 0x360); + *(float *)((int)EVar34 + 0x364) = + (float)pEStack_2fc * (float)pVVar30 + *(float *)((int)EVar34 + 0x364); } } } @@ -372757,12 +373151,12 @@ LAB_006b0a5d: (((g_manager->_optionsConfig)._enableWaterSurface != 0 && (((get_water_splash_variant(&local_2c8), *(int *)((int)this + 0x188) != 0 && (*(int *)((int)this + 0x184) == 5)) || (((uint)local_2c8 & 0x80) != 0)))))) { - fVar30 = *(float *)((int)this + 0x360) * *(float *)((int)this + 0x360) + + fVar31 = *(float *)((int)this + 0x360) * *(float *)((int)this + 0x360) + *(float *)((int)this + 0x364) * *(float *)((int)this + 0x364); sqrtf(); - if ((0.01 < fVar30) && (iVar12 = GetIntervalTicks(this), iVar12 != 0)) { - uVar13 = Random(); - Game::SpawnEx(g_game,1000,0x85,(int)this + 0x33c,&g_vectorZero,0,0,uVar13,0); + if ((0.01 < fVar31) && (iVar13 = GetIntervalTicks(this), iVar13 != 0)) { + uVar14 = Random(); + Game::SpawnEx(g_game,1000,0x85,(int)this + 0x33c,&g_vectorZero,0,0,uVar14,0); } } if (ABS(*(float *)((int)this + 0x33c)) + ABS(*(float *)((int)this + 0x340)) < 10000.0) { @@ -373424,14 +373818,13 @@ byte entity_collision_classes_match(void) Capsule::constructor for both, Capsule::Collide, mass-weighted position/velocity push, Room::IsBeastDungeon damping */ -undefined4 Entity::push_apart_capsule(void) +undefined4 __thiscall Entity::push_apart_capsule(Entity *this) { float fVar1; char cVar2; - int in_ECX; - int in_EDX; - int iVar3; + Entity *in_EDX; + Entity *pEVar3; float fVar4; float fVar5; float fVar6; @@ -373444,34 +373837,34 @@ undefined4 Entity::push_apart_capsule(void) Capsule local_58 [10]; Capsule local_30 [11]; - iVar3 = in_EDX; - if ((((*(int *)&g_game->_deathmatchManager < 2) || (*(int *)(in_ECX + 0x28) != 2)) || - (*(int *)(in_EDX + 0x28) != 1)) && (*(int *)(in_EDX + 0x28) < *(int *)(in_ECX + 0x28))) { - iVar3 = in_ECX; - in_ECX = in_EDX; + pEVar3 = in_EDX; + if ((((*(int *)&g_game->_deathmatchManager < 2) || (this->_type != 2)) || (in_EDX->_type != 1)) && + (in_EDX->_type < this->_type)) { + pEVar3 = this; + this = in_EDX; } - local_60 = *(float *)(in_ECX + 0x33c) + g_vectorZero.x; - local_5c = *(float *)(in_ECX + 0x340) + g_vectorZero.y; - Capsule::constructor(local_30,&local_60,in_ECX + 0x374,*(undefined4 *)(in_ECX + 0xec)); - local_60 = *(float *)(iVar3 + 0x33c) + g_vectorZero.x; - local_5c = *(float *)(iVar3 + 0x340) + g_vectorZero.y; - fVar7 = *(float *)(iVar3 + 0xec); - Capsule::constructor(local_58,&local_60,iVar3 + 0x374,fVar7); + local_60 = (this->_pos).x + g_vectorZero.x; + local_5c = (this->_pos).y + g_vectorZero.y; + Capsule::constructor(local_30,&local_60,&this->_sizeMulti,(this->_sprite)._rotation); + local_60 = (pEVar3->_pos).x + g_vectorZero.x; + local_5c = (pEVar3->_pos).y + g_vectorZero.y; + fVar7 = (pEVar3->_sprite)._rotation; + Capsule::constructor(local_58,&local_60,&pEVar3->_sizeMulti,fVar7); local_5c = 0.0; local_60 = 0.0; cVar2 = Capsule::Collide(&local_60); if (cVar2 != '\0') { cVar2 = entity_collision_classes_match(); if (cVar2 == '\0') { - IsCollisionIgnored(iVar3); + IsCollisionIgnored(pEVar3); fVar4 = fVar7; - IsCollisionIgnored(in_ECX); + IsCollisionIgnored(this); fVar7 = fVar7 / (fVar4 + fVar7); fVar4 = 1.0 - fVar7; if ((local_60 != g_vectorZero.x) || (local_5c != g_vectorZero.y)) { - fVar1 = *(float *)(in_ECX + 0x360); - fVar8 = *(float *)(iVar3 + 0x360) - fVar1; - fVar5 = *(float *)(iVar3 + 0x364) - *(float *)(in_ECX + 0x364); + fVar1 = (this->_velocity).x; + fVar8 = (pEVar3->_velocity).x - fVar1; + fVar5 = (pEVar3->_velocity).y - (this->_velocity).y; fVar6 = fVar5 * fVar5 + fVar8 * fVar8; sqrtf(); fVar5 = local_60 * local_60 + local_5c * local_5c; @@ -373481,32 +373874,32 @@ undefined4 Entity::push_apart_capsule(void) fVar6 = (local_5c / fVar5) * fVar6; fVar5 = local_5c; fVar8 = local_60; - if ((*(uint *)(in_ECX + 0x168) & 0x40000000) == 0) { + if ((this->_flags & 0x40000000) == 0) { cVar2 = Room::IsBeastDungeon(); - if ((cVar2 == '\0') || (*(int *)(in_ECX + 0x28) != 1)) { - *(float *)(in_ECX + 0x33c) = *(float *)(in_ECX + 0x33c) - fVar8 * fVar4; - *(float *)(in_ECX + 0x340) = *(float *)(in_ECX + 0x340) - fVar5 * fVar4; - *(float *)(in_ECX + 0x360) = *(float *)(in_ECX + 0x360) - fVar9 * fVar4; + if ((cVar2 == '\0') || (this->_type != 1)) { + (this->_pos).x = (this->_pos).x - fVar8 * fVar4; + (this->_pos).y = (this->_pos).y - fVar5 * fVar4; + (this->_velocity).x = (this->_velocity).x - fVar9 * fVar4; fVar1 = fVar6; } else { - *(float *)(in_ECX + 0x360) = fVar1 - fVar9 * fVar10 * fVar4; + (this->_velocity).x = fVar1 - fVar9 * fVar10 * fVar4; fVar1 = fVar6 * fVar10; } - *(float *)(in_ECX + 0x364) = *(float *)(in_ECX + 0x364) - fVar1 * fVar4; + (this->_velocity).y = (this->_velocity).y - fVar1 * fVar4; } - if ((*(uint *)(iVar3 + 0x168) & 0x40000000) == 0) { + if ((pEVar3->_flags & 0x40000000) == 0) { cVar2 = Room::IsBeastDungeon(); - if ((cVar2 == '\0') || (*(int *)(iVar3 + 0x28) != 1)) { - *(float *)(iVar3 + 0x33c) = fVar8 * fVar7 + *(float *)(iVar3 + 0x33c); - *(float *)(iVar3 + 0x340) = fVar5 * fVar7 + *(float *)(iVar3 + 0x340); + if ((cVar2 == '\0') || (pEVar3->_type != 1)) { + (pEVar3->_pos).x = fVar8 * fVar7 + (pEVar3->_pos).x; + (pEVar3->_pos).y = fVar5 * fVar7 + (pEVar3->_pos).y; } else { fVar9 = fVar9 * fVar10; fVar6 = fVar6 * fVar10; } - *(float *)(iVar3 + 0x364) = fVar6 * fVar7 + *(float *)(iVar3 + 0x364); - *(float *)(iVar3 + 0x360) = fVar9 * fVar7 + *(float *)(iVar3 + 0x360); + (pEVar3->_velocity).y = fVar6 * fVar7 + (pEVar3->_velocity).y; + (pEVar3->_velocity).x = fVar9 * fVar7 + (pEVar3->_velocity).x; } } return 1; @@ -373522,18 +373915,17 @@ undefined4 Entity::push_apart_capsule(void) distance < sum of sizes (+0x370), entity_collision_classes_match, mass split, velocity reflection via Vector::Normalized */ -undefined4 Entity::push_apart_circle(void) +undefined4 __thiscall Entity::push_apart_circle(Entity *this) { char cVar1; float *pfVar2; float *pfVar3; int iVar4; - int in_ECX; undefined4 extraout_ECX; - int in_EDX; - int iVar5; - float fVar6; + Entity *in_EDX; + Entity *pEVar5; + Entity *pEVar6; float fVar7; float fVar8; float fVar9; @@ -373546,23 +373938,23 @@ undefined4 Entity::push_apart_circle(void) undefined1 local_30 [4]; float local_2c; float local_28; - float local_24; + Entity *local_24; float local_20; float local_1c; float local_18; float local_14; - iVar5 = in_EDX; - local_24 = (float)in_ECX; - if ((((*(int *)&g_game->_deathmatchManager < 2) || (*(int *)(in_ECX + 0x28) != 2)) || - (*(int *)(in_EDX + 0x28) != 1)) && (*(int *)(in_EDX + 0x28) < *(int *)(in_ECX + 0x28))) { - iVar5 = in_ECX; - local_24 = (float)in_EDX; + pEVar6 = in_EDX; + local_24 = this; + if ((((*(int *)&g_game->_deathmatchManager < 2) || (this->_type != 2)) || (in_EDX->_type != 1)) && + (in_EDX->_type < this->_type)) { + pEVar6 = this; + local_24 = in_EDX; } - fVar6 = local_24; - local_3c = *(float *)(iVar5 + 0x340) - *(float *)((int)local_24 + 0x340); - local_40 = *(float *)(iVar5 + 0x33c) - *(float *)((int)local_24 + 0x33c); - local_1c = *(float *)((int)local_24 + 0x370) + *(float *)(iVar5 + 0x370); + pEVar5 = local_24; + local_3c = (pEVar6->_pos).y - (local_24->_pos).y; + local_40 = (pEVar6->_pos).x - (local_24->_pos).x; + local_1c = local_24->_size + pEVar6->_size; fVar8 = local_3c * local_3c + local_40 * local_40; if (fVar8 < local_1c * local_1c) { local_18 = local_3c; @@ -373571,11 +373963,11 @@ undefined4 Entity::push_apart_circle(void) local_28 = fVar8; cVar1 = entity_collision_classes_match(); if (cVar1 == '\0') { - *(bool *)((int)fVar6 + 0x18c) = *(int *)(iVar5 + 0x28) != 2; - *(bool *)(iVar5 + 0x18c) = *(int *)((int)fVar6 + 0x28) != 2; + pEVar5->_collidesWithEntity = pEVar6->_type != 2; + pEVar6->_collidesWithEntity = pEVar5->_type != 2; if (0.0001 <= local_28) { - local_34 = *(float *)((int)fVar6 + 0x364) - *(float *)(iVar5 + 0x364); - local_38 = *(float *)((int)fVar6 + 0x360) - *(float *)(iVar5 + 0x360); + local_34 = (pEVar5->_velocity).y - (pEVar6->_velocity).y; + local_38 = (pEVar5->_velocity).x - (pEVar6->_velocity).x; fVar8 = local_34 * local_34 + local_38 * local_38; local_2c = local_38; local_20 = local_34; @@ -373585,45 +373977,44 @@ undefined4 Entity::push_apart_circle(void) if (local_18 * local_20 + local_14 * local_2c < 0.0) { pfVar2 = (float *)Vector::Normalized(local_30); pfVar3 = (float *)Vector::Normalized(&local_38); - fVar6 = pfVar2[1] * pfVar3[1] + *pfVar2 * *pfVar3; - fVar8 = fVar6 * local_18; - fVar6 = fVar6 * local_14; - local_18 = fVar8 + fVar8 + local_18; - local_14 = local_14 + fVar6 + fVar6; + fVar8 = pfVar2[1] * pfVar3[1] + *pfVar2 * *pfVar3; + fVar7 = fVar8 * local_18; + fVar8 = fVar8 * local_14; + local_18 = fVar7 + fVar7 + local_18; + local_14 = local_14 + fVar8 + fVar8; fVar8 = local_18 * local_18 + local_14 * local_14; sqrtf(); - fVar6 = local_24; + pEVar5 = local_24; local_28 = fVar8; } } - IsCollisionIgnored(iVar5); - local_24 = fVar8; - IsCollisionIgnored(fVar6); - local_24 = local_24 / (fVar8 + local_24); + IsCollisionIgnored(pEVar6); + local_24 = (Entity *)fVar8; + IsCollisionIgnored(pEVar5); + local_24 = (Entity *)((float)local_24 / (fVar8 + (float)local_24)); local_1c = (local_1c - local_28) / local_28; - local_20 = 1.0 - local_24; - if ((*(int *)((int)fVar6 + 0x28) == 1) || - ((*(int *)((int)fVar6 + 0x28) == 3 && (*(int *)((int)fVar6 + 0x2c) == 0x43)))) { + local_20 = 1.0 - (float)local_24; + if ((pEVar5->_type == 1) || ((pEVar5->_type == 3 && (pEVar5->_variant == 0x43)))) { local_40 = -local_14 * local_20 * local_1c; local_3c = -local_18 * local_20 * local_1c; - cVar1 = FUN_006ab240(&local_40); + cVar1 = is_grid_collision_at(&local_40); if (cVar1 != '\0') { - local_24 = 1.0; + local_24 = (Entity *)0x3f800000; local_20 = 0.0; } } - if (*(int *)((int)fVar6 + 0x28) == 1) { + if (pEVar5->_type == 1) { local_20 = local_20 * 0.5; } - fVar8 = *(float *)(iVar5 + 0x364) - *(float *)((int)fVar6 + 0x364); - fVar7 = *(float *)(iVar5 + 0x360) - *(float *)((int)fVar6 + 0x360); + fVar8 = (pEVar6->_velocity).y - (pEVar5->_velocity).y; + fVar7 = (pEVar6->_velocity).x - (pEVar5->_velocity).x; fVar8 = fVar8 * fVar8 + fVar7 * fVar7; sqrtf(); local_34 = (local_14 / local_28) * fVar8; local_28 = (local_18 / local_28) * fVar8; local_2c = fVar8; - if (((*(int *)((int)fVar6 + 0x28) == 0x393) && (*(int *)((int)fVar6 + 0x2c) == 1)) && - ((*(int *)(iVar5 + 0x28) == 0x393 && (*(int *)(iVar5 + 0x2c) == 1)))) { + if (((pEVar5->_type == 0x393) && (pEVar5->_variant == 1)) && + ((pEVar6->_type == 0x393 && (pEVar6->_variant == 1)))) { iVar4 = Random(); SoundEffects::PlayWithFartOverride2 (0x1e7,extraout_ECX,2,0, @@ -373635,36 +374026,32 @@ undefined4 Entity::push_apart_circle(void) fVar7 = local_34; fVar9 = local_14; fVar10 = local_18; - if ((*(uint *)((int)fVar6 + 0x168) & 0x40000000) == 0) { + if ((pEVar5->_flags & 0x40000000) == 0) { cVar1 = Room::IsBeastDungeon(); - if ((cVar1 == '\0') || (*(int *)((int)fVar6 + 0x28) != 1)) { - *(float *)((int)fVar6 + 0x33c) = - *(float *)((int)fVar6 + 0x33c) - fVar9 * local_20 * local_1c; - *(float *)((int)fVar6 + 0x340) = - *(float *)((int)fVar6 + 0x340) - fVar10 * local_20 * local_1c; + if ((cVar1 == '\0') || (pEVar5->_type != 1)) { + (pEVar5->_pos).x = (pEVar5->_pos).x - fVar9 * local_20 * local_1c; + (pEVar5->_pos).y = (pEVar5->_pos).y - fVar10 * local_20 * local_1c; fVar11 = 0.25; - *(float *)((int)fVar6 + 0x360) = *(float *)((int)fVar6 + 0x360) - fVar7 * local_20; - *(float *)((int)fVar6 + 0x364) = *(float *)((int)fVar6 + 0x364) - fVar8 * local_20; + (pEVar5->_velocity).x = (pEVar5->_velocity).x - fVar7 * local_20; + (pEVar5->_velocity).y = (pEVar5->_velocity).y - fVar8 * local_20; } else { - *(float *)((int)fVar6 + 0x360) = - *(float *)((int)fVar6 + 0x360) - fVar7 * fVar11 * local_20; - *(float *)((int)fVar6 + 0x364) = - *(float *)((int)fVar6 + 0x364) - fVar8 * fVar11 * local_20; + (pEVar5->_velocity).x = (pEVar5->_velocity).x - fVar7 * fVar11 * local_20; + (pEVar5->_velocity).y = (pEVar5->_velocity).y - fVar8 * fVar11 * local_20; } } - if ((*(uint *)(iVar5 + 0x168) & 0x40000000) == 0) { + if ((pEVar6->_flags & 0x40000000) == 0) { cVar1 = Room::IsBeastDungeon(); - if ((cVar1 == '\0') || (*(int *)(iVar5 + 0x28) != 1)) { - *(float *)(iVar5 + 0x33c) = fVar9 * local_24 * local_1c + *(float *)(iVar5 + 0x33c); - *(float *)(iVar5 + 0x340) = fVar10 * local_24 * local_1c + *(float *)(iVar5 + 0x340); + if ((cVar1 == '\0') || (pEVar6->_type != 1)) { + (pEVar6->_pos).x = fVar9 * (float)local_24 * local_1c + (pEVar6->_pos).x; + (pEVar6->_pos).y = fVar10 * (float)local_24 * local_1c + (pEVar6->_pos).y; } else { fVar7 = fVar7 * fVar11; fVar8 = fVar8 * fVar11; } - *(float *)(iVar5 + 0x364) = fVar8 * local_24 + *(float *)(iVar5 + 0x364); - *(float *)(iVar5 + 0x360) = fVar7 * local_24 + *(float *)(iVar5 + 0x360); + (pEVar6->_velocity).y = fVar8 * (float)local_24 + (pEVar6->_velocity).y; + (pEVar6->_velocity).x = fVar7 * (float)local_24 + (pEVar6->_velocity).x; } } return 1; @@ -374771,15 +375158,15 @@ LAB_006b4a23: } uVar5 = g_graphicsManager_flags; pLVar8 = ANM2::GetLayer((ANM2 *)(piStack_90 + 0x12),(byte *)0x0); - uVar6 = 1; + iVar4 = 1; if ((uVar5 & 4) == 0) { - uVar6 = 6; + iVar4 = 6; } - *(undefined4 *)&pLVar8->field_0x78 = 0; - *(undefined4 *)&pLVar8->field_0x7c = uVar6; - *(undefined4 *)&pLVar8->field_0x80 = 1; - *(undefined4 *)&pLVar8->field_0x84 = 1; - *(undefined4 *)&pLVar8->field_0x88 = 1; + pLVar8->_blendMode[0] = 0; + pLVar8->_blendMode[1] = iVar4; + pLVar8->_blendMode[2] = 1; + pLVar8->_blendMode[3] = 1; + pLVar8->_blendMode[4] = 1; } iStack_94 = *(int *)((int)this->_config + 0x5c); if (iStack_94 < 1) { @@ -375207,7 +375594,7 @@ LAB_006b57e1: iStack_7c = pEVar7->_variant; iStack_80 = pEVar7->_type; std::map::find(&local_a4,&iStack_80); - pGVar4 = *(Game **)&pGVar4->field_0x67780; + pGVar4 = (pGVar4->_proceduralItemManager)._spawnTriggerTargets._head; if (local_a4 == pGVar4) { local_90[0] = pEVar7->_type; local_90[1] = 0xffffffff; @@ -378606,27 +378993,26 @@ LAB_006b99c8: Room::GetTimeScale, then unless flag 0x20000000 Stopwatch (232) / Hourglass (66) TemporaryEffects slowdowns, vtable +0x4c check with effect 697 */ -void Entity_NPC::compute_speed_multiplier(void) +void __thiscall Entity_NPC::compute_speed_multiplier(Entity_NPC *this) { Game *pGVar1; char cVar2; byte bVar3; - TemporaryEffects *this; - int *in_ECX; + TemporaryEffects *this_00; - Room::GetTimeScale(g_game->_room,in_ECX,in_ECX); + Room::GetTimeScale(g_game->_room,this,this); pGVar1 = g_game; - if ((in_ECX[0x5a] & 0x20000000U) == 0) { - this = (TemporaryEffects *)((int)g_game->_room + 0x7310); - bVar3 = TemporaryEffects::HasCollectibleEffect(this,0xe8); + if ((this->_flags & 0x20000000) == 0) { + this_00 = (TemporaryEffects *)((int)g_game->_room + 0x7310); + bVar3 = TemporaryEffects::HasCollectibleEffect(this_00,0xe8); if ((bVar3 == 0) && ((pGVar1->_challenge == 0x16 || (*(int *)((int)pGVar1->_room + 0x1210) != 1)))) { - TemporaryEffects::GetCollectibleEffect(this,0x42); + TemporaryEffects::GetCollectibleEffect(this_00,0x42); } } - cVar2 = (**(code **)(*in_ECX + 0x4c))(); - if (((cVar2 == '\0') || ((in_ECX[0x5a] & 0x20000000U) != 0)) || + cVar2 = (**(code **)(*(int *)this + 0x4c))(); + if (((cVar2 == '\0') || ((this->_flags & 0x20000000) != 0)) || (bVar3 = TemporaryEffects::HasCollectibleEffect ((TemporaryEffects *)((int)g_game->_room + 0x7310),0x2b9), bVar3 == 0)) { return; @@ -380147,11 +380533,7 @@ void __thiscall Entity_NPC::champion_init(Entity_NPC *this) uint uVar10; Game *pGVar11; RNG local_bc; - undefined8 local_b8; - undefined4 local_b0; RNG local_ac; - undefined8 local_a8; - void *local_a0; float local_9c; char local_95; float local_94; @@ -380167,9 +380549,10 @@ void __thiscall Entity_NPC::champion_init(Entity_NPC *this) local_10 = ExceptionList; local_14 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; - local_bc = (RNG)this->_initSeed; - local_b8 = 0x500000001; - local_b0 = 0x10; + local_bc._seed = this->_initSeed; + local_bc._shift1 = 1; + local_bc._shift2 = 5; + local_bc._shift3 = 0x10; this->_isBoss = 0; Entity::LoadEntityConfig((Entity *)this,local_14); if (this->_config == (void *)0x0) { @@ -380215,9 +380598,9 @@ void __thiscall Entity_NPC::champion_init(Entity_NPC *this) local_94 = local_94 * 0.2; } local_9c = 1.82169e-44; - std::set::find_node(&local_a8,&local_9c); - if (((*(char *)((int)local_a0 + 0xd) == '\0') && (*(int *)((int)local_a0 + 0x10) < 0xe)) && - (local_a0 != (pGVar11->_seedEffects)._seedEffects)) { + std::set::find_node(&local_ac._shift1,&local_9c); + if (((*(char *)(local_ac._shift3 + 0xd) == '\0') && (*(int *)(local_ac._shift3 + 0x10) < 0xe)) && + ((void *)local_ac._shift3 != (pGVar11->_seedEffects)._seedEffects)) { local_94 = 1.0; } pvVar3 = this->_config; @@ -380261,12 +380644,13 @@ void __thiscall Entity_NPC::champion_init(Entity_NPC *this) local_94 = 1.0; } iVar7 = *(int *)((int)g_game->_room + 4); - local_ac = (RNG)0x0; + local_ac._seed = 0; if (iVar7 != 0) { - local_ac = *(RNG *)(iVar7 + 0x5c); + local_ac._seed = *(int *)(iVar7 + 0x5c); } - local_a8 = 0xb00000001; - local_a0 = (void *)0x10; + local_ac._shift1 = 1; + local_ac._shift2 = 0xb; + local_ac._shift3 = 0x10; local_9c = RNG::RandomFloat(&local_ac); if (local_9c < local_94) { uVar8 = RNG::RandomInt(&local_ac,uVar10); @@ -380364,15 +380748,14 @@ void __thiscall Entity_Pickup::Update(Entity_Pickup *this) Entity_Pickup *pEVar17; PlayerManager *pPVar18; Entity_Player *pEVar19; - RNG RVar20; - bool bVar21; + bool bVar20; + EntityPtr EVar21; EntityPtr EVar22; - EntityPtr EVar23; - double dVar24; - undefined4 uVar25; + double dVar23; + undefined4 uVar24; + TypeDescriptor *pTVar25; TypeDescriptor *pTVar26; - TypeDescriptor *pTVar27; - undefined4 uVar28; + undefined4 uVar27; float local_1f0; float local_1ec; float local_1e8; @@ -380498,7 +380881,7 @@ void __thiscall Entity_Pickup::Update(Entity_Pickup *this) return; } if (iVar8 == 0x375) { - bVar21 = this->_variant == 10; + bVar20 = this->_variant == 10; } else { if (iVar8 == 0x3c0) { @@ -380507,9 +380890,9 @@ void __thiscall Entity_Pickup::Update(Entity_Pickup *this) if (iVar8 == 0x3c5) { return; } - bVar21 = iVar8 == 0xf5; + bVar20 = iVar8 == 0xf5; } - if (bVar21) { + if (bVar20) { return; } } @@ -380517,12 +380900,12 @@ void __thiscall Entity_Pickup::Update(Entity_Pickup *this) local_104 = this; local_14 = uVar6; bVar4 = Entity::DoesEntityShareStatus((Entity *)this); - if ((bVar4 != 0) && (EVar22 = this->_parent, this->_parent != (EntityPtr)0x0)) { + if ((bVar4 != 0) && (EVar21 = this->_parent, this->_parent != (EntityPtr)0x0)) { do { - EVar23 = EVar22; - EVar22 = *(EntityPtr *)((int)EVar23 + 0x3bc); - } while (EVar22 != (EntityPtr)0x0); - if (((EVar23 != (EntityPtr)this) && (extraout_EDX != 0x13)) && (extraout_EDX != 0x59)) { + EVar22 = EVar21; + EVar21 = *(EntityPtr *)((int)EVar22 + 0x3bc); + } while (EVar21 != (EntityPtr)0x0); + if (((EVar22 != (EntityPtr)this) && (extraout_EDX != 0x13)) && (extraout_EDX != 0x59)) { ExceptionList = local_10; return; } @@ -380611,14 +380994,14 @@ void __thiscall Entity_Pickup::Update(Entity_Pickup *this) (*(byte *)((int)local_cc + 0x173) == 0)) { Entity_Player::AddHearts((Entity_Player *)local_cc,1,0,0); uVar9 = Random(); - uVar28 = 0; - pTVar27 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; - pTVar26 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar27 = 0; + pTVar26 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; + pTVar25 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; local_178 = *(undefined4 *)((int)local_cc + 0x33c); local_174 = *(undefined4 *)((int)local_cc + 0x340); - uVar25 = 0; + uVar24 = 0; uVar9 = Game::Spawn(1000,0x31,&local_178,&g_vectorZero,0,0,uVar9); - iVar8 = __RTDynamicCast(uVar9,uVar25,pTVar26,pTVar27,uVar28); + iVar8 = __RTDynamicCast(uVar9,uVar24,pTVar25,pTVar26,uVar27); *(undefined4 *)(iVar8 + 0xdc) = 0; *(undefined4 *)(iVar8 + 0xe0) = 0xc1c00000; *(undefined4 *)(iVar8 + 0x358) = 0x3f800000; @@ -380725,17 +381108,17 @@ LAB_006bc2a9: iVar8 = PlayerManager::RandomCollectibleOwner(&g_game->_playerManager,0xea,this->_initSeed,0); if (iVar8 != 0) { fVar16 = this[1]._priceANM2._offset.x; - EVar22 = (EntityPtr)0x0; + EVar21 = (EntityPtr)0x0; fVar15 = this[1]._priceANM2._offset.y; if (fVar16 != fVar15) { do { if ((*(int *)((int)fVar16 + 0x10) == 3) && - (EVar22 = (EntityPtr)((uint)EVar22 & 0xff), *(int *)((int)fVar16 + 0x14) == 0x49)) { - EVar22 = local_ec; + (EVar21 = (EntityPtr)((uint)EVar21 & 0xff), *(int *)((int)fVar16 + 0x14) == 0x49)) { + EVar21 = local_ec; } fVar16 = (float)((int)fVar16 + 0x38); } while (fVar16 != fVar15); - if (EVar22._0_1_ != '\0') goto LAB_006bc66a; + if (EVar21._0_1_ != '\0') goto LAB_006bc66a; } *(int *)(iVar8 + 0x1370) = *(int *)(iVar8 + 0x1370) + 1; spawn_blue_spider(&g_vectorZero); @@ -380746,17 +381129,17 @@ LAB_006bc66a: (&g_game->_playerManager,0x2ab,this->_initSeed,0); if (local_10c != (EntityPtr)0x0) { fVar16 = this[1]._priceANM2._offset.x; - bVar21 = false; + bVar20 = false; fVar15 = this[1]._priceANM2._offset.y; if (fVar16 != fVar15) { do { if ((*(int *)((int)fVar16 + 0x10) == 3) && (*(int *)((int)fVar16 + 0x14) == 0xea)) { - bVar21 = true; + bVar20 = true; } fVar16 = (float)((int)fVar16 + 0x38); } while (fVar16 != fVar15); this = local_104; - if (bVar21) goto LAB_006bcab7; + if (bVar20) goto LAB_006bcab7; } pEVar17 = (Entity_Pickup *)0x1; local_f0 = (EntityPtr)0x1; @@ -380780,16 +381163,16 @@ LAB_006bc66a: iVar11 = Random(); fVar16 = (float)((double)iVar11 + __uint_to_double_fixup[-(iVar11 >> 0x1f)]) * 2.3283064e-10 * 3.14; - EVar22 = (EntityPtr)(fVar16 + fVar16); - local_cc = EVar22; + EVar21 = (EntityPtr)(fVar16 + fVar16); + local_cc = EVar21; sin(); - local_ec = EVar22; + local_ec = EVar21; iVar11 = Random(); local_d8 = (float)((double)iVar11 + __uint_to_double_fixup[-(iVar11 >> 0x1f)]) * 2.3283064e-10 + 1.0; - EVar22 = local_cc; + EVar21 = local_cc; cos(); - local_e0 = (EntityPtr)((float)EVar22 * local_d8 + (this->_velocity).x); + local_e0 = (EntityPtr)((float)EVar21 * local_d8 + (this->_velocity).x); local_d8 = local_d8 * (float)local_ec + (this->_velocity).y; if (iVar8 == 0) { local_d4 = (Entity_Player *)0x40a00000; @@ -380849,17 +381232,17 @@ LAB_006bcab7: (&g_game->_playerManager,0x2ac,this->_initSeed,0); if (local_ec != (EntityPtr)0x0) { fVar16 = this[1]._priceANM2._offset.x; - bVar21 = false; + bVar20 = false; fVar15 = this[1]._priceANM2._offset.y; if (fVar16 != fVar15) { do { if ((*(int *)((int)fVar16 + 0x10) == 1000) && (*(int *)((int)fVar16 + 0x14) == 0xba)) { - bVar21 = true; + bVar20 = true; } fVar16 = (float)((int)fVar16 + 0x38); } while (fVar16 != fVar15); this = local_104; - if (bVar21) goto LAB_006bccc3; + if (bVar20) goto LAB_006bccc3; } uVar6 = this->_initSeed; local_40 = 0x700000002; @@ -380925,16 +381308,16 @@ LAB_006bccc3: this = local_104; } if (g_game->_challenge == 0x2b) { - RVar20 = this->_dropRNG; - if (RVar20 == (RNG)0x0) { + uVar6 = (this->_dropRNG)._seed; + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar20 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar20; - uVar6 = uVar6 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar6; - RVar20 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&local_104->field_0x3e8 & 0x1f) ^ uVar6); - local_104->_dropRNG = RVar20; - if (RVar20 == (RNG)(((uint)RVar20 / 5) * 5)) { + uVar6 = uVar6 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar6; + uVar6 = uVar6 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)(local_104->_dropRNG)._shift3 & 0x1f) ^ uVar6; + (local_104->_dropRNG)._seed = uVar6; + if (uVar6 == (uVar6 / 5) * 5) { uVar9 = Random(); iVar8 = Random(); fVar16 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * @@ -380968,10 +381351,10 @@ LAB_006bcf51: local_138 = (EntityPtr)((float)g_game->_stage * 0.3 + 3.2); local_cc = (EntityPtr)(this->_maxHitPoints / (float)local_138); local_10c = local_138; - dVar24 = ceil((double)(float)local_cc); + dVar23 = ceil((double)(float)local_cc); pEVar17 = local_104; - local_cc = (EntityPtr)(float)dVar24; - local_ec = (EntityPtr)(int)dVar24; + local_cc = (EntityPtr)(float)dVar23; + local_ec = (EntityPtr)(int)dVar23; local_7c = 0x3e4ccccd; local_78 = 0; local_74 = 0; @@ -381055,8 +381438,8 @@ LAB_006bcf51: local_100 = CONCAT44(uVar7,uVar6); uStack_f8 = CONCAT44(local_e0,local_d8); } - bVar21 = (this->_flags & 0x1000) == 0; - if (!bVar21) { + bVar20 = (this->_flags & 0x1000) == 0; + if (!bVar20) { local_d8 = (float)((uint)local_d8 | DAT_00c34c08); uVar6 = uVar6 | DAT_00c34c00; uVar7 = uVar7 | DAT_00c34c04; @@ -381066,7 +381449,7 @@ LAB_006bcf51: uStack_f8 = CONCAT44(local_e0,local_d8); } local_10c = (EntityPtr)0x5; - if (bVar21) { + if (bVar20) { local_10c = (EntityPtr)0x1a; } if (((uint)local_f0 & 0x80000) != 0) { @@ -381103,18 +381486,18 @@ LAB_006bcf51: uVar6 = uVar6 >> 2 ^ uVar6; uVar6 = uVar6 << 0x15 ^ uVar6; local_d4 = (Entity_Player *)0x0; - EVar22 = (EntityPtr)(uVar6 >> 9 ^ uVar6); + EVar21 = (EntityPtr)(uVar6 >> 9 ^ uVar6); local_114 = (EntityPtr) - ((float)((double)(int)EVar22 + __uint_to_double_fixup[-((int)EVar22 >> 0x1f)]) * + ((float)((double)(int)EVar21 + __uint_to_double_fixup[-((int)EVar21 >> 0x1f)]) * 2.3283062e-10 * 360.0); local_cc = (EntityPtr)(360.0 / fVar16); if (0 < (int)local_ec) { do { - if (EVar22 == (EntityPtr)0x0) { + if (EVar21 == (EntityPtr)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)EVar22 >> ((byte)local_15c & 0x1f) ^ (uint)EVar22; + uVar6 = (uint)EVar21 >> ((byte)local_15c & 0x1f) ^ (uint)EVar21; uVar6 = uVar6 << ((byte)((ulonglong)local_15c >> 0x20) & 0x1f) ^ uVar6; uVar6 = uVar6 >> (local_f0._0_1_ & 0x1f) ^ uVar6; fVar16 = ((float)(int)local_d4 * (float)local_cc + (float)local_114 + @@ -381142,15 +381525,15 @@ LAB_006bcf51: sqrtf(); if (fVar16 <= 0.0) { fVar15 = local_d8; - EVar22 = local_e0; + EVar21 = local_e0; } else { fVar15 = local_d8 * (1.0 / fVar16); - EVar22 = (EntityPtr)((1.0 / fVar16) * (float)local_e0); + EVar21 = (EntityPtr)((1.0 / fVar16) * (float)local_e0); } fVar16 = pEVar17->_shrinkStatus1 * pEVar17->_size + 1.0; local_1a0 = fVar15 * fVar16 + (pEVar17->_pos).x; - local_19c = (float)EVar22 * fVar16 + (pEVar17->_pos).y; + local_19c = (float)EVar21 * fVar16 + (pEVar17->_pos).y; this_00 = (Entity_Tear *)Game::Spawn(2,local_10c,&local_1a0,&local_198,pEVar17,0,uVar9); this_00->_spawnerType = 1; (**(code **)(*(int *)this_00 + 0x40))(local_108); @@ -381161,7 +381544,7 @@ LAB_006bcf51: (**(code **)(*(int *)this_00 + 0x3c))(&local_9c,0xffffffff,0xff,0,1); (**(code **)(*(int *)this_00 + 0xc))(); local_d4 = (Entity_Player *)&local_d4->field_0x1; - EVar22 = local_d0; + EVar21 = local_d0; } while ((int)local_d4 < (int)local_ec); } } @@ -381200,16 +381583,16 @@ LAB_006bcf51: } uVar9 = Random(); uVar9 = PlayerManager::RandomCollectibleOwner(&pGVar2->_playerManager,0x28d,uVar9,0); - RVar20 = pEVar17->_dropRNG; - if (RVar20 == (RNG)0x0) { + uVar6 = (pEVar17->_dropRNG)._seed; + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar20 >> ((byte)*(undefined4 *)&pEVar17->field_0x3e0 & 0x1f) ^ (uint)RVar20; - uVar6 = uVar6 << ((byte)*(undefined4 *)&pEVar17->field_0x3e4 & 0x1f) ^ uVar6; - RVar20 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&pEVar17->field_0x3e8 & 0x1f) ^ uVar6); - pEVar17->_dropRNG = RVar20; - piVar12 = (int *)Game::Spawn(1000,0x90,&pEVar17->_pos,&local_e4,uVar9,0,RVar20); + uVar6 = uVar6 >> ((byte)(pEVar17->_dropRNG)._shift1 & 0x1f) ^ uVar6; + uVar6 = uVar6 << ((byte)(pEVar17->_dropRNG)._shift2 & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)(pEVar17->_dropRNG)._shift3 & 0x1f) ^ uVar6; + (pEVar17->_dropRNG)._seed = uVar6; + piVar12 = (int *)Game::Spawn(1000,0x90,&pEVar17->_pos,&local_e4,uVar9,0,uVar6); (**(code **)(*piVar12 + 0x40))(local_114); fVar16 = local_d8 * g_vectorOne.x; piVar12[0x3a] = (int)(local_d8 * g_vectorOne.y); @@ -381348,17 +381731,17 @@ LAB_006bdcff: iVar8 = Random(); fVar16 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 3.14; - EVar22 = (EntityPtr)(fVar16 + fVar16); - local_d0 = EVar22; + EVar21 = (EntityPtr)(fVar16 + fVar16); + local_d0 = EVar21; sin(); - local_114 = EVar22; + local_114 = EVar21; iVar8 = Random(); local_108 = (EntityPtr) ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 3.0 + 2.0); - EVar22 = local_d0; + EVar21 = local_d0; cos(); - local_dc = (float)EVar22 * (float)local_108; + local_dc = (float)EVar21 * (float)local_108; local_d8 = (float)local_108 * (float)local_114; piVar12 = (int *)Game::Spawn(5,10,&pEVar17->_pos,&local_dc,pEVar17,2,uVar6 >> 0x15 ^ uVar6); piVar12[0x150] = 0x3c; @@ -381409,12 +381792,12 @@ LAB_006bdcff: iVar8 = g_game->_stage; } local_d0 = (EntityPtr)(pEVar17->_maxHitPoints / ((float)iVar8 * 10.0 + 38.0)); - dVar24 = ceil((double)(float)local_d0); - local_d0 = (EntityPtr)(float)dVar24; + dVar23 = ceil((double)(float)local_d0); + local_d0 = (EntityPtr)(float)dVar23; local_ec = (EntityPtr)0x5a; local_d4 = (Entity_Player *)0x1; - if (1 < (int)dVar24) { - local_d4 = (Entity_Player *)(int)dVar24; + if (1 < (int)dVar23) { + local_d4 = (Entity_Player *)(int)dVar23; } } if ((int)pEVar19 < (int)local_d4) { @@ -381452,17 +381835,17 @@ LAB_006bdcff: iVar8 = Random(); fVar16 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 3.14; - EVar22 = (EntityPtr)(fVar16 + fVar16); - local_d0 = EVar22; + EVar21 = (EntityPtr)(fVar16 + fVar16); + local_d0 = EVar21; sin(); - local_114 = EVar22; + local_114 = EVar21; iVar8 = Random(); local_108 = (EntityPtr) ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 3.0 + 2.0); - EVar22 = local_d0; + EVar21 = local_d0; cos(); - local_128 = (float)EVar22 * (float)local_108; + local_128 = (float)EVar21 * (float)local_108; local_124 = (float)local_114 * (float)local_108; piVar12 = (int *)Game::Spawn(5,0x14,&pEVar17->_pos,&local_128,pEVar17,0,uVar6); *(EntityPtr *)(piVar12 + 0x150) = local_ec; @@ -381474,7 +381857,7 @@ LAB_006bdcff: } } local_100 = local_100 & 0xffffffff; - EVar22 = (EntityPtr)0x0; + EVar21 = (EntityPtr)0x0; local_f0 = (EntityPtr)0x0; uStack_f8 = 0; local_8 = 0; @@ -381500,15 +381883,15 @@ LAB_006bdcff: if (*(int *)((int)local_108 + 0x2c) == 0) { bVar4 = Entity_Player::HasCollectible((Entity_Player *)local_108,0x280,0); if (bVar4 != 0) { - if (EVar22 == local_f0) { - std::vector::_Emplace_reallocate(EVar22,&local_108); + if (EVar21 == local_f0) { + std::vector::_Emplace_reallocate(EVar21,&local_108); local_f0 = uStack_f8._4_4_; - EVar22 = uStack_f8._0_4_; + EVar21 = uStack_f8._0_4_; } else { - *(EntityPtr *)EVar22 = local_d0; - uStack_f8 = CONCAT44(uStack_f8._4_4_,(int)EVar22 + 4); - EVar22 = (EntityPtr)((int)EVar22 + 4); + *(EntityPtr *)EVar21 = local_d0; + uStack_f8 = CONCAT44(uStack_f8._4_4_,(int)EVar21 + 4); + EVar21 = (EntityPtr)((int)EVar21 + 4); } } } @@ -381517,7 +381900,7 @@ LAB_006bdcff: local_cc = (EntityPtr)&g_game->_playerManager; } while (uVar6 < (uint)((int)(g_game->_playerManager)._playerList._end - (int)(((PlayerManager *)local_cc)->_playerList)._begin >> 2)); - if (local_100._4_4_ == EVar22) goto LAB_006be69c; + if (local_100._4_4_ == EVar21) goto LAB_006be69c; local_cc = (EntityPtr)local_104->_initSeed; local_108 = (EntityPtr)0x9; local_20 = 0x1500000002; @@ -381529,7 +381912,7 @@ LAB_006bdcff: } LAB_006be460: do { - local_d0 = (EntityPtr)((int)EVar22 - (int)local_100._4_4_ >> 2); + local_d0 = (EntityPtr)((int)EVar21 - (int)local_100._4_4_ >> 2); if (local_cc == (EntityPtr)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); @@ -381548,13 +381931,13 @@ LAB_006be460: iVar8 = Random(); fVar16 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 3.14; - EVar23 = (EntityPtr)(fVar16 + fVar16); - local_d0 = EVar23; + EVar22 = (EntityPtr)(fVar16 + fVar16); + local_d0 = EVar22; cos(); - EVar22 = local_d0; - local_ec = EVar23; + EVar21 = local_d0; + local_ec = EVar22; sin(); - local_10c = EVar22; + local_10c = EVar21; iVar8 = Random(); fVar16 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 10.0; @@ -381567,18 +381950,18 @@ LAB_006be460: local_128 = local_128 * (float)local_ec; uVar9 = Random(); local_120 = (EntityPtr)Game::Spawn(1000,0xb3,&local_11c,&local_128,pEVar17,bVar4 != 0,uVar9); - EVar22 = (EntityPtr)((int)local_120 + 0x3c4); + EVar21 = (EntityPtr)((int)local_120 + 0x3c4); if (*(int *)((int)local_120 + 0x3c4) != 0) { - local_d0 = EVar22; + local_d0 = EVar21; std::multiset::erase(&local_d0); } - *(EntityPtr *)EVar22 = local_114; + *(EntityPtr *)EVar21 = local_114; if (local_114 != (EntityPtr)0x0) { - std::multiset::insert(EVar22); + std::multiset::insert(EVar21); } (**(code **)(*(int *)local_120 + 0xc))(); local_d4 = (Entity_Player *)((int)&local_d4[-1]._replacedPlayer + 3); - EVar22 = uStack_f8._0_4_; + EVar21 = uStack_f8._0_4_; } while (local_d4 != (Entity_Player *)0x0); } else { @@ -381589,27 +381972,27 @@ LAB_006be460: iVar8 = g_game->_stage; } local_d0 = (EntityPtr)(pEVar17->_maxHitPoints / ((float)iVar8 * 10.0 + 38.0)); - dVar24 = ceil((double)(float)local_d0); - local_d0 = (EntityPtr)(float)dVar24; + dVar23 = ceil((double)(float)local_d0); + local_d0 = (EntityPtr)(float)dVar23; local_d4 = (Entity_Player *)&DAT_00000008; - if ((int)dVar24 < 8) { - local_d4 = (Entity_Player *)(int)dVar24; + if ((int)dVar23 < 8) { + local_d4 = (Entity_Player *)(int)dVar23; } if (0 < (int)local_d4) goto LAB_006be460; } LAB_006be69c: if (local_100._4_4_ != (EntityPtr)0x0) { uVar6 = (int)local_f0 - (int)local_100._4_4_ & 0xfffffffc; - EVar22 = local_100._4_4_; + EVar21 = local_100._4_4_; if (0xfff < uVar6) { - EVar22 = *(EntityPtr *)((int)local_100._4_4_ + -4); + EVar21 = *(EntityPtr *)((int)local_100._4_4_ + -4); uVar6 = uVar6 + 0x23; - if (0x1f < ((int)local_100._4_4_ - (int)EVar22) - 4U) { + if (0x1f < ((int)local_100._4_4_ - (int)EVar21) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(EVar22,uVar6); + operator_delete(EVar21,uVar6); } ExceptionList = local_10; return; @@ -381678,6 +382061,10 @@ void __thiscall Entity_NPC::KillUnique(Entity_NPC *this) //@@ 006be7e0 NpcHelper::is_target_valid +/* DB: NpcAI::ENTITY_BABY_BEGOTTEN attack gate: a player target not invisible + (Entity_Player::IsInvisible), or with npc flag 0x100 a vulnerable enemy without flag 0x20000000 + (pass7_i6.md) */ + uint NpcHelper::is_target_valid(Entity_Player *param_1) { @@ -381738,8 +382125,6 @@ Entity * __thiscall Entity_NPC::GetPlayerTarget(Entity_NPC *this) undefined4 local_54; undefined4 local_50; RNG local_4c; - undefined8 local_48; - undefined4 local_40; char local_3c; int local_38; uint local_30; @@ -381875,9 +382260,10 @@ LAB_006be971: (uint)((int)(g_game->_playerManager)._playerList._end - (int)(pPVar9->_playerList)._begin >> 2)); if (local_2c != EVar11) { - local_4c = (RNG)this->_initSeed; - local_48 = 0x700000002; - local_40 = 7; + local_4c._seed = this->_initSeed; + local_4c._shift1 = 2; + local_4c._shift2 = 7; + local_4c._shift3 = 7; uVar5 = RNG::RandomInt(&local_4c,(int)EVar11 - (int)local_2c >> 2); pEVar6 = *(Entity_Player **)((int)EVar10 + uVar5 * 4); goto LAB_006bea36; @@ -382095,14 +382481,14 @@ void NpcHelper::ChampionDrop(void) float fVar21; int iVar22; uint extraout_EDX; - RNG RVar23; - RNG *pRVar24; + RNG *pRVar23; undefined4 unaff_EDI; - bool bVar25; - PlayerManager *pPVar26; - undefined8 uVar27; + bool bVar24; + PlayerManager *pPVar25; + undefined8 uVar26; undefined1 in_stack_fffffea4 [16]; - undefined1 auVar48 [12]; + undefined1 auVar47 [12]; + undefined1 auVar27 [16]; undefined1 auVar28 [16]; undefined1 auVar29 [16]; undefined1 auVar30 [16]; @@ -382122,9 +382508,8 @@ void NpcHelper::ChampionDrop(void) undefined1 auVar44 [16]; undefined1 auVar45 [16]; undefined1 auVar46 [16]; - undefined1 auVar47 [16]; - undefined1 auVar49 [12]; - byte bVar50; + undefined1 auVar48 [12]; + byte bVar49; float local_138; int local_134; Vector *local_130; @@ -382142,9 +382527,7 @@ void NpcHelper::ChampionDrop(void) float local_fc; float local_f8; RNG *local_f4; - undefined1 local_f0 [28]; - float local_d4; - uint local_d0; + EntityRef local_f0; undefined1 local_c8 [4]; undefined8 local_c4; undefined4 local_bc; @@ -382183,29 +382566,29 @@ void NpcHelper::ChampionDrop(void) local_138 = fVar21; } } - RVar23 = in_ECX->_dropRNG; + uVar15 = (in_ECX->_dropRNG)._seed; local_11c.x = (float)&in_ECX->_dropRNG; - if (RVar23 == (RNG)0x0) { + if (uVar15 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar23 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar15 = uVar15 << ((byte)*(undefined4 *)&in_ECX->field_0x3e4 & 0x1f) ^ uVar15; - RVar23 = (RNG)(uVar15 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e8 & 0x1f) ^ uVar15); - in_ECX->_dropRNG = RVar23; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift1 & 0x1f) ^ uVar15; + uVar15 = uVar15 << ((byte)(in_ECX->_dropRNG)._shift2 & 0x1f) ^ uVar15; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift3 & 0x1f) ^ uVar15; + (in_ECX->_dropRNG)._seed = uVar15; if ((g_game->_difficulty == 2) || (g_game->_difficulty == 3)) { - bVar50 = 0; + bVar49 = 0; } else { - bVar50 = 1; + bVar49 = 1; } bVar20 = 0; if (in_ECX->_spawnerType != 0x132) { - bVar20 = bVar50; + bVar20 = bVar49; } local_138 = (float)(uint)(bVar20 & (g_game->_challenge != 0x22 && - ((uint)RVar23 % 100 < (uint)local_138 && - g_game->_victoryLap < 1)) & *(byte *)((int)g_game->_room + 1)); + (uVar15 % 100 < (uint)local_138 && g_game->_victoryLap < 1)) & + *(byte *)((int)g_game->_room + 1)); cVar12 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,5); if ((cVar12 == '\0') && (g_game->_stage == 0xc)) { uVar15 = 0x14; @@ -382217,9 +382600,9 @@ void NpcHelper::ChampionDrop(void) local_138 = (float)(extraout_EDX & 0xffffff00); } } - bVar50 = (byte)unaff_EDI; - bVar25 = (in_ECX->_flags & 0x2000000000000) != 0; - local_12c = (PlayerManager *)CONCAT31(local_12c._1_3_,bVar25); + bVar49 = (byte)unaff_EDI; + bVar24 = (in_ECX->_flags & 0x2000000000000) != 0; + local_12c = (PlayerManager *)CONCAT31(local_12c._1_3_,bVar24); cVar12 = SUB41(local_138,0); switch(in_ECX->_championColorIdx) { case 0: @@ -382248,21 +382631,21 @@ void NpcHelper::ChampionDrop(void) return; case 5: local_134 = 0x28; - if (((!bVar25) && (cVar12 = Entity::HasEntityFlags(0x1000000,0), cVar12 == '\0')) && + if (((!bVar24) && (cVar12 = Entity::HasEntityFlags(0x1000000,0), cVar12 == '\0')) && ((pVVar1 = &in_ECX->_pos, 0x1e < g_game->_frameCount - in_ECX->_spawnFrame || (iVar14 = Game::GetNearestPlayer(pVVar1), fVar13 = (in_ECX->_pos).y - *(float *)(iVar14 + 0x340), fVar21 = pVVar1->x - *(float *)(iVar14 + 0x33c), 6400.0 < fVar13 * fVar13 + fVar21 * fVar21) ))) { - Game::BombDamage(g_game,pVVar1,40.0,60.0,1,(Entity *)in_ECX,g_tearFlagsNone,0,bVar50); + Game::BombDamage(g_game,pVVar1,40.0,60.0,1,(Entity *)in_ECX,g_tearFlagsNone,0,bVar49); Game::spawn_bomb_crater(g_game,pVVar1,0); uVar18 = Random(); - auVar48._4_4_ = &g_vectorZero; - auVar48._0_4_ = pVVar1; - auVar48._8_4_ = 0; - in_stack_fffffea4._4_12_ = auVar48; + auVar47._4_4_ = &g_vectorZero; + auVar47._0_4_ = pVVar1; + auVar47._8_4_ = 0; + in_stack_fffffea4._4_12_ = auVar47; in_stack_fffffea4._0_4_ = 1; - Game::SpawnEx(g_game,1000,1,auVar48,0,uVar18,0); + Game::SpawnEx(g_game,1000,1,auVar47,0,uVar18,0); } break; case 6: @@ -382290,7 +382673,7 @@ void NpcHelper::ChampionDrop(void) case 0xd: local_134 = 10; local_130 = (Vector *)0x2; - if (((!bVar25) && (cVar12 = Entity::HasEntityFlags(0x1000000,0), cVar12 == '\0')) && + if (((!bVar24) && (cVar12 = Entity::HasEntityFlags(0x1000000,0), cVar12 == '\0')) && ((pVVar1 = &in_ECX->_pos, 0x1e < g_game->_frameCount - in_ECX->_spawnFrame || (iVar14 = Game::GetNearestPlayer(pVVar1), fVar13 = (in_ECX->_pos).y - *(float *)(iVar14 + 0x340), @@ -382307,62 +382690,62 @@ void NpcHelper::ChampionDrop(void) case 0xe: local_134 = 300; fVar13 = (float)RNG::Next(&in_ECX->_dropRNG); - auVar28._8_4_ = fVar13; - auVar28._0_8_ = 0x6bf67f00000000; - auVar28._12_4_ = 0; + auVar27._8_4_ = fVar13; + auVar27._0_8_ = 0x6bf67f00000000; + auVar27._12_4_ = 0; iVar14 = ItemPool::GetCardEx((int)fVar13,0,1,0,1); local_bc = 7; - auVar29._0_8_ = auVar28._0_8_; - auVar29._8_4_ = local_c8; - auVar29._12_4_ = iVar14; + auVar28._0_8_ = auVar27._0_8_; + auVar28._8_4_ = local_c8; + auVar28._12_4_ = iVar14; local_c4 = 0x900000005; - in_stack_fffffea4._8_8_ = auVar29._8_8_; + in_stack_fffffea4._8_8_ = auVar28._8_8_; in_stack_fffffea4._0_8_ = 0x6bf6b900000000; local_c8 = (undefined1 [4])fVar13; local_130 = (Vector *)lua_callback_run_get_card(); break; case 0xf: - if (!bVar25) { + if (!bVar24) { local_120 = (Entity_NPC *)0x2; do { - RVar23 = in_ECX->_dropRNG; - if (RVar23 == (RNG)0x0) { + uVar15 = (in_ECX->_dropRNG)._seed; + if (uVar15 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar23 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar15 = uVar15 << ((byte)*(undefined4 *)&in_ECX->field_0x3e4 & 0x1f) ^ uVar15; - RVar23 = (RNG)(uVar15 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e8 & 0x1f) ^ uVar15); - in_ECX->_dropRNG = RVar23; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift1 & 0x1f) ^ uVar15; + uVar15 = uVar15 << ((byte)(in_ECX->_dropRNG)._shift2 & 0x1f) ^ uVar15; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift3 & 0x1f) ^ uVar15; + (in_ECX->_dropRNG)._seed = uVar15; iVar14 = Random(); fVar13 = (float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pPVar26 = (PlayerManager *)(fVar13 + fVar13); - local_12c = pPVar26; + pPVar25 = (PlayerManager *)(fVar13 + fVar13); + local_12c = pPVar25; cos(); - local_11c.x = (float)pPVar26 * 14.0 + (in_ECX->_pos).x; - pPVar26 = local_12c; + local_11c.x = (float)pPVar25 * 14.0 + (in_ECX->_pos).x; + pPVar25 = local_12c; sin(); - local_11c.y = (float)pPVar26 * 14.0 + (in_ECX->_pos).y; - auVar30._0_8_ = in_stack_fffffea4._0_8_; - auVar30._8_4_ = &g_vectorZero; - auVar30._12_4_ = in_ECX; - auVar2._4_8_ = auVar30._8_8_; + local_11c.y = (float)pPVar25 * 14.0 + (in_ECX->_pos).y; + auVar29._0_8_ = in_stack_fffffea4._0_8_; + auVar29._8_4_ = &g_vectorZero; + auVar29._12_4_ = in_ECX; + auVar2._4_8_ = auVar29._8_8_; auVar2._0_4_ = &local_11c; in_stack_fffffea4._4_12_ = auVar2; in_stack_fffffea4._0_4_ = in_ECX->_variant; - Game::SpawnEx(g_game,in_ECX->_type,in_ECX->_variant,auVar2,0,RVar23,0); + Game::SpawnEx(g_game,in_ECX->_type,in_ECX->_variant,auVar2,0,uVar15,0); local_120 = (Entity_NPC *)((int)local_120 + -1); } while (local_120 != (Entity_NPC *)0x0); } break; case 0x11: - if (!bVar25) { + if (!bVar24) { uVar18 = Random(); - auVar31._0_8_ = in_stack_fffffea4._0_8_; - auVar31._8_4_ = &g_vectorZero; - auVar31._12_4_ = in_ECX; - auVar3._4_8_ = auVar31._8_8_; + auVar30._0_8_ = in_stack_fffffea4._0_8_; + auVar30._8_4_ = &g_vectorZero; + auVar30._12_4_ = in_ECX; + auVar3._4_8_ = auVar30._8_8_; auVar3._0_4_ = &in_ECX->_pos; auVar4._12_4_ = 0; auVar4._0_12_ = auVar3; @@ -382372,14 +382755,14 @@ void NpcHelper::ChampionDrop(void) if (cVar12 != '\0') { *(uint *)&this_00->_flags = (uint)this_00->_flags & 0xfeffffff; *(undefined4 *)((int)&this_00->_flags + 4) = *(undefined4 *)((int)&this_00->_flags + 4); - local_f0._0_4_ = in_ECX->_type; - local_f0._16_4_ = (in_ECX->_pos).x; - local_f0._20_4_ = (in_ECX->_pos).y; - local_f0._4_4_ = in_ECX->_variant; - local_f0._8_4_ = in_ECX->_spawnerType; - local_f0._12_4_ = in_ECX->_spawnerVariant; - local_f0._24_4_ = (in_ECX->_velocity).x; - local_d4 = (in_ECX->_velocity).y; + local_f0._type = in_ECX->_type; + local_f0._position.x = (in_ECX->_pos).x; + local_f0._position.y = (in_ECX->_pos).y; + local_f0._variant = in_ECX->_variant; + local_f0._spawnerType = in_ECX->_spawnerType; + local_f0._spawnerVariant = in_ECX->_spawnerVariant; + local_f0._velocity.x = (in_ECX->_velocity).x; + local_f0._velocity.y = (in_ECX->_velocity).y; local_120 = (Entity_NPC *)(uint)((in_ECX->_flags & 0x100) != 0); if ((in_ECX->_flags & 0x20000000) == 0) { uVar15 = 0; @@ -382393,10 +382776,10 @@ void NpcHelper::ChampionDrop(void) else { uVar16 = 4; } - local_d0 = uVar16 | uVar15 | (uint)local_120; + local_f0._flags = uVar16 | uVar15 | (uint)local_120; in_stack_fffffea4._8_4_ = 0x6bf8ea; - in_stack_fffffea4._12_4_ = (EntityRef *)local_f0; - Entity::AddShrink(this_00,(EntityRef *)local_f0,0x96,0,0); + in_stack_fffffea4._12_4_ = &local_f0; + Entity::AddShrink(this_00,&local_f0,0x96,0,0); if (0 < this_00->_shrinkCountdown) { uVar18 = *(undefined4 *)((int)&this_00->_flags + 4); *(uint *)&this_00->_flags = (uint)this_00->_flags | 0x1000000; @@ -382407,8 +382790,8 @@ void NpcHelper::ChampionDrop(void) } break; case 0x12: - pRVar24 = &in_ECX->_dropRNG; - uVar15 = RNG::RandomInt(pRVar24,5); + pRVar23 = &in_ECX->_dropRNG; + uVar15 = RNG::RandomInt(pRVar23,5); if (uVar15 != 0) { return; } @@ -382424,39 +382807,39 @@ void NpcHelper::ChampionDrop(void) local_130 = &in_ECX->_pos; do { pGVar11 = g_game; - RVar23 = *pRVar24; - if (RVar23 == (RNG)0x0) { + uVar15 = pRVar23->_seed; + if (uVar15 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar23 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar15 = uVar15 << ((byte)*(undefined4 *)&in_ECX->field_0x3e4 & 0x1f) ^ uVar15; - RVar23 = (RNG)(uVar15 >> ((byte)*(undefined4 *)&local_120->field_0x3e8 & 0x1f) ^ uVar15); - *pRVar24 = RVar23; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift1 & 0x1f) ^ uVar15; + uVar15 = uVar15 << ((byte)(in_ECX->_dropRNG)._shift2 & 0x1f) ^ uVar15; + uVar15 = uVar15 >> ((byte)(local_120->_dropRNG)._shift3 & 0x1f) ^ uVar15; + pRVar23->_seed = uVar15; iVar14 = ItemPool::ForceAddPillEffect(&pGVar11->_itemPool,0x21); - auVar32._8_4_ = local_130; - auVar32._4_4_ = local_c8; - auVar32._12_4_ = 0; - auVar32._0_4_ = 0x6bfa01; + auVar31._8_4_ = local_130; + auVar31._4_4_ = local_c8; + auVar31._12_4_ = 0; + auVar31._0_4_ = 0x6bfa01; pfVar17 = (float *)Room::FindFreePickupSpawnPosition(); in_ECX = local_120; - auVar33._0_8_ = auVar32._0_8_; - auVar33._8_4_ = &g_vectorZero; - auVar33._12_4_ = local_120; + auVar32._0_8_ = auVar31._0_8_; + auVar32._8_4_ = &g_vectorZero; + auVar32._12_4_ = local_120; local_11c.y = (float)((double)(int)local_138 + __uint_to_double_fixup[-((int)local_138 >> 0x1f)]) + pfVar17[1]; local_11c.x = (float)((double)(int)local_138 + __uint_to_double_fixup[-((int)local_138 >> 0x1f)]) + *pfVar17; - auVar5._4_8_ = auVar33._8_8_; + auVar5._4_8_ = auVar32._8_8_; auVar5._0_4_ = &local_11c; - Game::SpawnEx(g_game,5,0x46,auVar5,iVar14,RVar23,0); - pRVar24 = &in_ECX->_dropRNG; + Game::SpawnEx(g_game,5,0x46,auVar5,iVar14,uVar15,0); + pRVar23 = &in_ECX->_dropRNG; local_138 = (float)((int)local_138 + 1); } while ((uint)local_138 < local_124); return; case 0x13: - pRVar24 = &in_ECX->_dropRNG; - uVar15 = RNG::RandomInt(pRVar24,5); + pRVar23 = &in_ECX->_dropRNG; + uVar15 = RNG::RandomInt(pRVar23,5); if (uVar15 != 0) { return; } @@ -382472,33 +382855,33 @@ void NpcHelper::ChampionDrop(void) local_130 = &in_ECX->_pos; do { pGVar11 = g_game; - RVar23 = *pRVar24; - if (RVar23 == (RNG)0x0) { + uVar15 = pRVar23->_seed; + if (uVar15 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar23 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar15 = uVar15 << ((byte)*(undefined4 *)&in_ECX->field_0x3e4 & 0x1f) ^ uVar15; - RVar23 = (RNG)(uVar15 >> ((byte)*(undefined4 *)&local_120->field_0x3e8 & 0x1f) ^ uVar15); - *pRVar24 = RVar23; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift1 & 0x1f) ^ uVar15; + uVar15 = uVar15 << ((byte)(in_ECX->_dropRNG)._shift2 & 0x1f) ^ uVar15; + uVar15 = uVar15 >> ((byte)(local_120->_dropRNG)._shift3 & 0x1f) ^ uVar15; + pRVar23->_seed = uVar15; iVar14 = ItemPool::ForceAddPillEffect(&pGVar11->_itemPool,0x20); - auVar34._8_4_ = local_130; - auVar34._4_4_ = local_c8; - auVar34._12_4_ = 0; - auVar34._0_4_ = 0x6bfb6a; + auVar33._8_4_ = local_130; + auVar33._4_4_ = local_c8; + auVar33._12_4_ = 0; + auVar33._0_4_ = 0x6bfb6a; pfVar17 = (float *)Room::FindFreePickupSpawnPosition(); in_ECX = local_120; - auVar35._0_8_ = auVar34._0_8_; - auVar35._8_4_ = &g_vectorZero; - auVar35._12_4_ = local_120; + auVar34._0_8_ = auVar33._0_8_; + auVar34._8_4_ = &g_vectorZero; + auVar34._12_4_ = local_120; local_11c.y = (float)((double)(int)local_138 + __uint_to_double_fixup[-((int)local_138 >> 0x1f)]) + pfVar17[1]; local_11c.x = (float)((double)(int)local_138 + __uint_to_double_fixup[-((int)local_138 >> 0x1f)]) + *pfVar17; - auVar6._4_8_ = auVar35._8_8_; + auVar6._4_8_ = auVar34._8_8_; auVar6._0_4_ = &local_11c; - Game::SpawnEx(g_game,5,0x46,auVar6,iVar14,RVar23,0); - pRVar24 = &in_ECX->_dropRNG; + Game::SpawnEx(g_game,5,0x46,auVar6,iVar14,uVar15,0); + pRVar23 = &in_ECX->_dropRNG; local_138 = (float)((int)local_138 + 1); } while ((uint)local_138 < local_124); return; @@ -382524,26 +382907,26 @@ void NpcHelper::ChampionDrop(void) return; } do { - RVar23 = in_ECX->_dropRNG; - if (RVar23 == (RNG)0x0) { + uVar15 = (in_ECX->_dropRNG)._seed; + if (uVar15 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar23 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar15 = uVar15 << ((byte)*(undefined4 *)&in_ECX->field_0x3e4 & 0x1f) ^ uVar15; - RVar23 = (RNG)(uVar15 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e8 & 0x1f) ^ uVar15); - in_ECX->_dropRNG = RVar23; - auVar40._8_4_ = &in_ECX->_pos; - auVar40._4_4_ = local_c8; - auVar40._12_4_ = 0; - auVar40._0_4_ = 0x6c0027; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift1 & 0x1f) ^ uVar15; + uVar15 = uVar15 << ((byte)(in_ECX->_dropRNG)._shift2 & 0x1f) ^ uVar15; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift3 & 0x1f) ^ uVar15; + (in_ECX->_dropRNG)._seed = uVar15; + auVar39._8_4_ = &in_ECX->_pos; + auVar39._4_4_ = local_c8; + auVar39._12_4_ = 0; + auVar39._0_4_ = 0x6c0027; uVar18 = Room::FindFreePickupSpawnPosition(); - auVar41._0_8_ = auVar40._0_8_; - auVar41._8_4_ = &g_vectorZero; - auVar41._12_4_ = in_ECX; - auVar8._4_8_ = auVar41._8_8_; + auVar40._0_8_ = auVar39._0_8_; + auVar40._8_4_ = &g_vectorZero; + auVar40._12_4_ = in_ECX; + auVar8._4_8_ = auVar40._8_8_; auVar8._0_4_ = uVar18; - Game::SpawnEx(g_game,5,0,auVar8,4,RVar23,0); + Game::SpawnEx(g_game,5,0,auVar8,4,uVar15,0); local_138 = (float)((int)local_138 + -1); } while (local_138 != 0.0); return; @@ -382557,84 +382940,83 @@ void NpcHelper::ChampionDrop(void) return; case 0x19: local_130 = (Vector *)0x0; - pRVar24 = &in_ECX->_dropRNG; + pRVar23 = &in_ECX->_dropRNG; do { if (SUB41(local_138,0) == '\0') { - RVar23 = *pRVar24; - if (RVar23 == (RNG)0x0) { + uVar15 = pRVar23->_seed; + if (uVar15 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar23 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar15 = uVar15 << ((byte)*(undefined4 *)&in_ECX->field_0x3e4 & 0x1f) ^ uVar15; - RVar23 = (RNG)(uVar15 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e8 & 0x1f) ^ uVar15); - *pRVar24 = RVar23; - if (((uint)RVar23 & 1) == 0) goto LAB_006c0128; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift1 & 0x1f) ^ uVar15; + uVar15 = uVar15 << ((byte)(in_ECX->_dropRNG)._shift2 & 0x1f) ^ uVar15; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift3 & 0x1f) ^ uVar15; + pRVar23->_seed = uVar15; + if ((uVar15 & 1) == 0) goto LAB_006c0128; } else { LAB_006c0128: - auVar42._0_8_ = in_stack_fffffea4._0_8_; - auVar42._8_4_ = &in_ECX->_pos; - auVar42._12_4_ = 0x42200000; - auVar43._8_8_ = auVar42._8_8_; - auVar43._4_4_ = &local_11c; - auVar43._0_4_ = 0x6c0153; + auVar41._0_8_ = in_stack_fffffea4._0_8_; + auVar41._8_4_ = &in_ECX->_pos; + auVar41._12_4_ = 0x42200000; + auVar42._8_8_ = auVar41._8_8_; + auVar42._4_4_ = &local_11c; + auVar42._0_4_ = 0x6c0153; Room::FindFreePickupSpawnPosition(); pGVar11 = g_game; - RVar23 = *pRVar24; - if (RVar23 == (RNG)0x0) { + uVar15 = pRVar23->_seed; + if (uVar15 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar23 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar15 = uVar15 << ((byte)*(undefined4 *)&in_ECX->field_0x3e4 & 0x1f) ^ uVar15; - RVar23 = (RNG)(uVar15 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e8 & 0x1f) ^ uVar15); - *pRVar24 = RVar23; - auVar44._0_8_ = auVar43._0_8_; - auVar44._8_4_ = &g_vectorZero; - auVar44._12_4_ = in_ECX; - auVar9._4_8_ = auVar44._8_8_; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift1 & 0x1f) ^ uVar15; + uVar15 = uVar15 << ((byte)(in_ECX->_dropRNG)._shift2 & 0x1f) ^ uVar15; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift3 & 0x1f) ^ uVar15; + pRVar23->_seed = uVar15; + auVar43._0_8_ = auVar42._0_8_; + auVar43._8_4_ = &g_vectorZero; + auVar43._12_4_ = in_ECX; + auVar9._4_8_ = auVar43._8_8_; auVar9._0_4_ = &local_11c; in_stack_fffffea4._4_12_ = auVar9; in_stack_fffffea4._0_4_ = *(undefined4 *)(&DAT_00b67400 + (int)local_130 * 4); iVar14 = Game::SpawnEx(pGVar11,5,*(undefined4 *)(&DAT_00b67400 + (int)local_130 * 4),auVar9, - 0,RVar23,0); + 0,uVar15,0); *(Vector **)(iVar14 + 0x554) = local_130; cVar12 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,5); if (cVar12 != '\0') { - auVar45._0_8_ = in_stack_fffffea4._0_8_; - auVar45._8_4_ = &in_ECX->_pos; - auVar45._12_4_ = 0x42200000; - auVar46._8_8_ = auVar45._8_8_; - auVar46._4_4_ = local_c8; - auVar46._0_4_ = 0x6c0213; + auVar44._0_8_ = in_stack_fffffea4._0_8_; + auVar44._8_4_ = &in_ECX->_pos; + auVar44._12_4_ = 0x42200000; + auVar45._8_8_ = auVar44._8_8_; + auVar45._4_4_ = local_c8; + auVar45._0_4_ = 0x6c0213; pfVar17 = (float *)Room::FindFreePickupSpawnPosition(); pGVar11 = g_game; - RVar23 = *pRVar24; + uVar15 = pRVar23->_seed; local_11c.x = *pfVar17; local_11c.y = pfVar17[1]; - if (RVar23 == (RNG)0x0) { + if (uVar15 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar23 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e0 & 0x1f) ^ (uint)RVar23 - ; - uVar15 = uVar15 << ((byte)*(undefined4 *)&in_ECX->field_0x3e4 & 0x1f) ^ uVar15; - RVar23 = (RNG)(uVar15 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e8 & 0x1f) ^ uVar15); - *pRVar24 = RVar23; - auVar47._0_8_ = auVar46._0_8_; - auVar47._8_4_ = &g_vectorZero; - auVar47._12_4_ = in_ECX; - auVar10._4_8_ = auVar47._8_8_; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift1 & 0x1f) ^ uVar15; + uVar15 = uVar15 << ((byte)(in_ECX->_dropRNG)._shift2 & 0x1f) ^ uVar15; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift3 & 0x1f) ^ uVar15; + pRVar23->_seed = uVar15; + auVar46._0_8_ = auVar45._0_8_; + auVar46._8_4_ = &g_vectorZero; + auVar46._12_4_ = in_ECX; + auVar10._4_8_ = auVar46._8_8_; auVar10._0_4_ = &local_11c; in_stack_fffffea4._4_12_ = auVar10; in_stack_fffffea4._0_4_ = *(undefined4 *)(&DAT_00b67400 + (int)local_130 * 4); iVar14 = Game::SpawnEx(pGVar11,5,*(undefined4 *)(&DAT_00b67400 + (int)local_130 * 4), - auVar10,0,RVar23,0); + auVar10,0,uVar15,0); *(Vector **)(iVar14 + 0x554) = local_130; } } - bVar50 = (byte)unaff_EDI; + bVar49 = (byte)unaff_EDI; local_130 = (Vector *)((int)&local_130->x + 1); } while (local_130 < (Vector *)0x7); if ((char)local_12c == '\0') { @@ -382645,13 +383027,13 @@ LAB_006c0128: fVar13 = (in_ECX->_pos).y - *(float *)(iVar14 + 0x340), fVar21 = pVVar1->x - *(float *)(iVar14 + 0x33c), 6400.0 < fVar13 * fVar13 + fVar21 * fVar21)))) { - Game::BombDamage(g_game,pVVar1,40.0,60.0,1,(Entity *)in_ECX,g_tearFlagsNone,0,bVar50); + Game::BombDamage(g_game,pVVar1,40.0,60.0,1,(Entity *)in_ECX,g_tearFlagsNone,0,bVar49); Game::spawn_bomb_crater(g_game,pVVar1,0); uVar18 = Random(); - auVar49._4_4_ = &g_vectorZero; - auVar49._0_4_ = pVVar1; - auVar49._8_4_ = 0; - Game::SpawnEx(g_game,1000,1,auVar49,0,uVar18,0); + auVar48._4_4_ = &g_vectorZero; + auVar48._0_4_ = pVVar1; + auVar48._8_4_ = 0; + Game::SpawnEx(g_game,1000,1,auVar48,0,uVar18,0); } cVar12 = Entity::HasEntityFlags(0x1000000,0); if ((cVar12 == '\0') && @@ -382684,38 +383066,38 @@ LAB_006c0128: local_114 = (float)local_120; local_110 = local_138; uVar15 = Room::GetGridCollision(this,iVar14); - auVar36._0_12_ = in_stack_fffffea4._0_12_; + auVar35._0_12_ = in_stack_fffffea4._0_12_; if (0 < (int)uVar15) { - auVar36._12_4_ = 0x6bfc18; + auVar35._12_4_ = 0x6bfc18; pfVar17 = (float *)Room::FindFreeTilePosition(local_c8,&local_114,0x42200000); local_120 = (Entity_NPC *)*pfVar17; local_138 = pfVar17[1]; } - pRVar24 = &in_ECX->_dropRNG; - RVar23 = *pRVar24; + pRVar23 = &in_ECX->_dropRNG; + uVar15 = pRVar23->_seed; local_12c = &g_game->_playerManager; - if (RVar23 == (RNG)0x0) { + if (uVar15 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar23 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar15 = uVar15 << ((byte)*(undefined4 *)&in_ECX->field_0x3e4 & 0x1f) ^ uVar15; - RVar23 = (RNG)(uVar15 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e8 & 0x1f) ^ uVar15); - *pRVar24 = RVar23; - auVar38._12_4_ = 0x6bfc8b; - auVar38._0_12_ = auVar36._0_12_; - local_10c = (Entity_Player *)PlayerManager::RandomCollectibleOwner(local_12c,0x1d0,RVar23,0); + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift1 & 0x1f) ^ uVar15; + uVar15 = uVar15 << ((byte)(in_ECX->_dropRNG)._shift2 & 0x1f) ^ uVar15; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift3 & 0x1f) ^ uVar15; + pRVar23->_seed = uVar15; + auVar37._12_4_ = 0x6bfc8b; + auVar37._0_12_ = auVar35._0_12_; + local_10c = (Entity_Player *)PlayerManager::RandomCollectibleOwner(local_12c,0x1d0,uVar15,0); if ((local_124 != (PlayerManager *)0x0) && (local_125 != '\0')) { - RVar23 = *pRVar24; - if (RVar23 == (RNG)0x0) { + uVar15 = pRVar23->_seed; + if (uVar15 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar23 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e0 & 0x1f) ^ (uint)RVar23; - uVar15 = uVar15 << ((byte)*(undefined4 *)&in_ECX->field_0x3e4 & 0x1f) ^ uVar15; - RVar23 = (RNG)(uVar15 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e8 & 0x1f) ^ uVar15); - *pRVar24 = RVar23; - if (((uint)RVar23 & 1) == 0) { + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift1 & 0x1f) ^ uVar15; + uVar15 = uVar15 << ((byte)(in_ECX->_dropRNG)._shift2 & 0x1f) ^ uVar15; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift3 & 0x1f) ^ uVar15; + pRVar23->_seed = uVar15; + if ((uVar15 & 1) == 0) { local_124 = (PlayerManager *)((int)&(local_124->_playerList)._begin + 1); } } @@ -382731,7 +383113,7 @@ LAB_006c0128: Entity_Player::GetGlyphOfBalanceDrop(local_10c,&local_134,(int *)&local_130); iVar14 = local_134; } - uVar27 = auVar38._0_8_; + uVar26 = auVar37._0_8_; if (iVar14 != 0) { if (local_124 < (PlayerManager *)0x2) { local_100 = g_vectorZero.x; @@ -382747,47 +383129,46 @@ LAB_006c0128: cos(); local_108 = fVar13; sin(); - uVar27 = auVar38._0_8_; + uVar26 = auVar37._0_8_; local_104 = local_114; pfVar17 = &local_108; } pGVar11 = g_game; local_114 = *pfVar17; local_11c.x = pfVar17[1]; - RVar23 = *pRVar24; + uVar15 = pRVar23->_seed; local_f8 = local_114; local_f4 = (RNG *)local_11c.x; - if (RVar23 == (RNG)0x0) { + if (uVar15 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar23 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e0 & 0x1f) ^ (uint)RVar23 - ; - uVar15 = uVar15 << ((byte)*(undefined4 *)&in_ECX->field_0x3e4 & 0x1f) ^ uVar15; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift1 & 0x1f) ^ uVar15; + uVar15 = uVar15 << ((byte)(in_ECX->_dropRNG)._shift2 & 0x1f) ^ uVar15; local_c8 = (undefined1 [4])(local_114 * 3.0 + (float)local_120); - RVar23 = (RNG)(uVar15 >> ((byte)*(undefined4 *)&in_ECX->field_0x3e8 & 0x1f) ^ uVar15); - *pRVar24 = RVar23; - auVar37._8_4_ = &local_f8; - auVar37._0_8_ = uVar27; - auVar37._12_4_ = in_ECX; - auVar7._4_8_ = auVar37._8_8_; + uVar15 = uVar15 >> ((byte)(in_ECX->_dropRNG)._shift3 & 0x1f) ^ uVar15; + pRVar23->_seed = uVar15; + auVar36._8_4_ = &local_f8; + auVar36._0_8_ = uVar26; + auVar36._12_4_ = in_ECX; + auVar7._4_8_ = auVar36._8_8_; auVar7._0_4_ = local_c8; - auVar38._4_12_ = auVar7; - auVar38._0_4_ = local_134; + auVar37._4_12_ = auVar7; + auVar37._0_4_ = local_134; local_c4 = CONCAT44(local_c4._4_4_,local_11c.x * 3.0 + local_138); - this_01 = (Entity_Pickup *)Game::SpawnEx(pGVar11,5,local_134,auVar7,local_130,RVar23,0); + this_01 = (Entity_Pickup *)Game::SpawnEx(pGVar11,5,local_134,auVar7,local_130,uVar15,0); if ((this_01->_variant == 0x15e) && ((((g_manager->_persistentGameData)._achievements[0x269] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))) && (((in_ECX->_flags & 0x400) != 0 && ((this_01->_subtype & 0x8000U) == 0)))))) { uVar15 = this_01->_subtype | 0x8000; - auVar39._0_8_ = auVar38._0_8_; - auVar39._8_4_ = 0x15e; - auVar39._12_4_ = uVar15; - auVar38._8_8_ = auVar39._8_8_; - auVar38._4_4_ = this_01->_type; - auVar38._0_4_ = 0x6bfef4; + auVar38._0_8_ = auVar37._0_8_; + auVar38._8_4_ = 0x15e; + auVar38._12_4_ = uVar15; + auVar37._8_8_ = auVar38._8_8_; + auVar37._4_4_ = this_01->_type; + auVar37._0_4_ = 0x6bfef4; Entity_Pickup::Morph(this_01,this_01->_type,0x15e,uVar15,1,1,1); } iVar14 = local_134; @@ -382813,17 +383194,19 @@ switchD_006bf331_caseD_a: void __thiscall Entity_NPC::UpdateDirtColor(Entity_NPC *this,byte immediate) { - undefined4 uVar1; - undefined4 uVar2; - char cVar3; - LayerState *pLVar4; - undefined4 *puVar5; - uint uVar6; - int iVar7; - int iVar8; - undefined1 *puVar9; - uint uVar10; - undefined4 uVar11; + float fVar1; + float fVar2; + float fVar3; + undefined1 *puVar4; + char cVar5; + LayerState *pLVar6; + float *pfVar7; + uint uVar8; + int iVar9; + int iVar10; + ColorMod *pCVar11; + uint uVar12; + undefined4 uVar13; undefined1 local_a0 [44]; ANM2 *local_74; LayerState *local_70; @@ -382857,13 +383240,13 @@ void __thiscall Entity_NPC::UpdateDirtColor(Entity_NPC *this,byte immediate) local_58 = 0; local_68 = 0; local_64 = this; - puVar9 = local_a0 + 0x9c; + puVar4 = local_a0 + 0x9c; if (immediate == 0) { - cVar3 = Entity::IsFrame((Entity *)this,0xf,this->_index); - puVar9 = puStack_20; - if (cVar3 == '\0') goto LAB_006c05af; + cVar5 = Entity::IsFrame((Entity *)this,0xf,this->_index); + puVar4 = puStack_20; + if (cVar5 == '\0') goto LAB_006c05af; } - puStack_20 = puVar9; + puStack_20 = puVar4; if ((this->_isChampion == 0) || (this->_championColorIdx != 2)) { Room::GetFloorColorAt(g_game->_room,&local_38,&this->_pos); (this->_dirtColor)._tint[0] = local_38 * 2.0; @@ -382884,99 +383267,99 @@ LAB_006c05af: } local_74 = &this->_sprite; do { - pLVar4 = ANM2::GetLayer(local_74,local_60); + pLVar6 = ANM2::GetLayer(local_74,local_60); local_58 = local_58 | 4; - local_70 = pLVar4; - if (pLVar4->_layerData == (void *)0x0) { + local_70 = pLVar6; + if (pLVar6->_layerData == (void *)0x0) { local_40 = 0xf; local_44 = 0; local_54 = 0; } else { - std::string::string((int)pLVar4->_layerData + 8); + std::string::string((int)pLVar6->_layerData + 8); } local_14 = 0; local_68 = local_58 | 1; local_6c = local_54; local_58 = local_68; - cVar3 = str_eq(&DAT_00b64428,4); - if (cVar3 == '\0') { + cVar5 = str_eq(&DAT_00b64428,4); + if (cVar5 == '\0') { local_58 = local_58 | 8; - if (pLVar4->_layerData == (void *)0x0) { + if (pLVar6->_layerData == (void *)0x0) { local_3c = 0; local_28 = 0xf; local_2c = 0; } else { - std::string::string((int)pLVar4->_layerData + 8); + std::string::string((int)pLVar6->_layerData + 8); } - uVar6 = local_28; - iVar7 = local_3c; + uVar8 = local_28; + iVar9 = local_3c; local_58 = local_58 | 2; - cVar3 = str_eq(&DAT_00b1d57c,4); - if (cVar3 != '\0') goto LAB_006c06a7; + cVar5 = str_eq(&DAT_00b1d57c,4); + if (cVar5 != '\0') goto LAB_006c06a7; local_59 = '\0'; } else { - iVar7 = local_3c; - uVar6 = local_28; + iVar9 = local_3c; + uVar8 = local_28; LAB_006c06a7: local_59 = '\x01'; } - if (((local_58 & 2) != 0) && (local_58 = local_58 & 0xfffffffd, 0xf < uVar6)) { - uVar10 = uVar6 + 1; - iVar8 = iVar7; - if (0xfff < uVar10) { - iVar8 = *(int *)(iVar7 + -4); - uVar10 = uVar6 + 0x24; - if (0x1f < (iVar7 - iVar8) - 4U) goto LAB_006c07af; + if (((local_58 & 2) != 0) && (local_58 = local_58 & 0xfffffffd, 0xf < uVar8)) { + uVar12 = uVar8 + 1; + iVar10 = iVar9; + if (0xfff < uVar12) { + iVar10 = *(int *)(iVar9 + -4); + uVar12 = uVar8 + 0x24; + if (0x1f < (iVar9 - iVar10) - 4U) goto LAB_006c07af; } - operator_delete(iVar8,uVar10); + operator_delete(iVar10,uVar12); } local_14 = 0xffffffff; if (((local_58 & 1) != 0) && (local_58 = local_58 & 0xfffffffe, 0xf < local_40)) { - uVar6 = local_40 + 1; - iVar7 = local_6c; - if (0xfff < uVar6) { - iVar7 = *(int *)(local_6c + -4); - uVar6 = local_40 + 0x24; - if (0x1f < (local_6c - iVar7) - 4U) { + uVar8 = local_40 + 1; + iVar9 = local_6c; + if (0xfff < uVar8) { + iVar9 = *(int *)(local_6c + -4); + uVar8 = local_40 + 0x24; + if (0x1f < (local_6c - iVar9) - 4U) { LAB_006c07af: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar7,uVar6); + operator_delete(iVar9,uVar8); } - pLVar4 = local_70; + pLVar6 = local_70; if (local_59 != '\0') { if (immediate == 0) { - uVar11 = 0x3dcccccd; + uVar13 = 0x3dcccccd; } else { - uVar11 = 0x3f800000; + uVar13 = 0x3f800000; } - puVar9 = &local_70->field_0x48; - puVar5 = (undefined4 *)Color::Lerp(local_a0,puVar9,&local_64->_dirtColor,uVar11); - if ((undefined4 *)puVar9 != puVar5) { - uVar11 = puVar5[1]; - uVar1 = puVar5[2]; - uVar2 = puVar5[3]; - *(undefined4 *)puVar9 = *puVar5; - *(undefined4 *)&pLVar4->field_0x4c = uVar11; - *(undefined4 *)&pLVar4->field_0x50 = uVar1; - *(undefined4 *)&pLVar4->field_0x54 = uVar2; - uVar11 = puVar5[5]; - uVar1 = puVar5[6]; - uVar2 = puVar5[7]; - *(undefined4 *)&pLVar4->field_0x58 = puVar5[4]; - *(undefined4 *)&pLVar4->field_0x5c = uVar11; - *(undefined4 *)&pLVar4->field_0x60 = uVar1; - *(undefined4 *)&pLVar4->field_0x64 = uVar2; - uVar11 = puVar5[9]; - *(undefined4 *)&pLVar4->field_0x68 = puVar5[8]; - *(undefined4 *)&pLVar4->field_0x6c = uVar11; - *(undefined4 *)&pLVar4->field_0x70 = puVar5[10]; + pCVar11 = &local_70->_color; + pfVar7 = (float *)Color::Lerp(local_a0,pCVar11,&local_64->_dirtColor,uVar13); + if (pCVar11 != (ColorMod *)pfVar7) { + fVar1 = pfVar7[1]; + fVar2 = pfVar7[2]; + fVar3 = pfVar7[3]; + pCVar11->_tint[0] = *pfVar7; + (pLVar6->_color)._tint[1] = fVar1; + (pLVar6->_color)._tint[2] = fVar2; + (pLVar6->_color)._tint[3] = fVar3; + fVar1 = pfVar7[5]; + fVar2 = pfVar7[6]; + fVar3 = pfVar7[7]; + (pLVar6->_color)._colorize[0] = pfVar7[4]; + (pLVar6->_color)._colorize[1] = fVar1; + (pLVar6->_color)._colorize[2] = fVar2; + (pLVar6->_color)._colorize[3] = fVar3; + fVar1 = pfVar7[9]; + (pLVar6->_color)._offset[0] = pfVar7[8]; + (pLVar6->_color)._offset[1] = fVar1; + (pLVar6->_color)._offset[2] = pfVar7[10]; } } local_60 = local_60 + 1; @@ -383937,10 +384320,10 @@ Entity_NPC::shopkeeper_get_loot(Entity_NPC *this,undefined4 param_2,byte param_3 { void *pvVar1; char cVar2; - int iVar3; + uint uVar3; int iVar4; - uint uVar5; - RNG RVar6; + int iVar5; + uint uVar6; RNG *this_00; undefined4 uVar7; undefined4 uVar8; @@ -383953,11 +384336,8 @@ Entity_NPC::shopkeeper_get_loot(Entity_NPC *this,undefined4 param_2,byte param_3 int local_44; undefined4 local_40; int local_3c; - RNG local_38; + uint local_38; RNG local_34; - undefined4 uStack_30; - undefined4 uStack_2c; - undefined4 uStack_28; uint local_24; undefined1 *puStack_20; void *local_1c; @@ -383988,27 +384368,27 @@ Entity_NPC::shopkeeper_get_loot(Entity_NPC *this,undefined4 param_2,byte param_3 local_40 = 0; local_3c = 0; } - iVar3 = local_48; - iVar4 = local_44; + iVar4 = local_48; + iVar5 = local_44; if (local_44 != 0) { do { - iVar9 = *(int *)(iVar3 + -4 + iVar4 * 4); - iVar4 = iVar4 + -1; + iVar9 = *(int *)(iVar4 + -4 + iVar5 * 4); + iVar5 = iVar5 + -1; if (iVar9 != 0) { operator_delete(iVar9,0x14); - iVar3 = local_48; + iVar4 = local_48; } - } while (iVar4 != 0); + } while (iVar5 != 0); } - if (iVar3 != 0) { - uVar5 = local_44 * 4; - iVar4 = iVar3; - if (0xfff < uVar5) { - iVar4 = *(int *)(iVar3 + -4); - uVar5 = uVar5 + 0x23; - if (0x1f < (iVar3 - iVar4) - 4U) goto LAB_006c2071; + if (iVar4 != 0) { + uVar6 = local_44 * 4; + iVar5 = iVar4; + if (0xfff < uVar6) { + iVar5 = *(int *)(iVar4 + -4); + uVar6 = uVar6 + 0x23; + if (0x1f < (iVar4 - iVar5) - 4U) goto LAB_006c2071; } - operator_delete(iVar4,uVar5); + operator_delete(iVar5,uVar6); } piVar10 = local_4c; goto LAB_006c2087; @@ -384018,61 +384398,61 @@ Entity_NPC::shopkeeper_get_loot(Entity_NPC *this,undefined4 param_2,byte param_3 if (param_3 != 0) { this_00 = pRVar12; } - local_34 = this->_dropRNG; - uStack_30 = *(undefined4 *)&this->field_0x3e0; - uStack_2c = *(undefined4 *)&this->field_0x3e4; - uStack_28 = *(undefined4 *)&this->field_0x3e8; + local_34._seed = (this->_dropRNG)._seed; + local_34._shift1 = (this->_dropRNG)._shift1; + local_34._shift2 = (this->_dropRNG)._shift2; + local_34._shift3 = (this->_dropRNG)._shift3; if ((this->_variant == 3) || (this->_variant == 4)) { - RVar6 = *this_00; - if (RVar6 == (RNG)0x0) { + local_38 = this_00->_seed; + if (local_38 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> (SUB41(this_00[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 ^ uVar5 << (SUB41(this_00[2],0) & 0x1f); - local_38 = (RNG)(uVar5 ^ uVar5 >> (SUB41(this_00[3],0) & 0x1f)); - *this_00 = local_38; - if ((((uint)local_38 & 0x7f) == 0) && (*(int *)((int)g_game->_room + 8) != 5)) { - uVar5 = RNG::Next(this_00); + local_38 = local_38 >> ((byte)this_00->_shift1 & 0x1f) ^ local_38; + local_38 = local_38 ^ local_38 << ((byte)this_00->_shift2 & 0x1f); + local_38 = local_38 ^ local_38 >> ((byte)this_00->_shift3 & 0x1f); + this_00->_seed = local_38; + if (((local_38 & 0x7f) == 0) && (*(int *)((int)g_game->_room + 8) != 5)) { + uVar6 = RNG::Next(this_00); iVar9 = 0; uVar8 = 0; uVar7 = 0x32; goto LAB_006c1ff3; } - if (local_38 == (RNG)0x0) { + if (local_38 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)local_38 >> (SUB41(this_00[1],0) & 0x1f) ^ (uint)local_38; - uVar5 = uVar5 ^ uVar5 << (SUB41(this_00[2],0) & 0x1f); - local_38 = (RNG)(uVar5 ^ uVar5 >> (SUB41(this_00[3],0) & 0x1f)); - *this_00 = local_38; - if (((uint)local_38 & 0x1f) == 0) { - iVar3 = 3; + local_38 = local_38 >> ((byte)this_00->_shift1 & 0x1f) ^ local_38; + local_38 = local_38 ^ local_38 << ((byte)this_00->_shift2 & 0x1f); + local_38 = local_38 ^ local_38 >> ((byte)this_00->_shift3 & 0x1f); + this_00->_seed = local_38; + if ((local_38 & 0x1f) == 0) { + iVar4 = 3; LAB_006c1ea1: iVar9 = 0; - iVar4 = iVar3; + iVar5 = iVar4; do { - iVar3 = iVar4 + -1; - if (iVar4 < 1) { + iVar4 = iVar5 + -1; + if (iVar5 < 1) { if (iVar9 == 0) goto LAB_006c1ffb; LAB_006c1f71: if (param_3 != 0) { ItemPool::RemoveTrinket(&g_game->_itemPool,iVar9); } - uVar5 = RNG::Next(this_00); + uVar6 = RNG::Next(this_00); uVar8 = 0x15e; goto LAB_006c1ff1; } - if (local_38 == (RNG)0x0) { + if (local_38 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)local_38 >> (SUB41(this_00[1],0) & 0x1f) ^ (uint)local_38; - uVar5 = uVar5 << (SUB41(this_00[2],0) & 0x1f) ^ uVar5; - local_38 = (RNG)(uVar5 >> (SUB41(this_00[3],0) & 0x1f) ^ uVar5); - *this_00 = local_38; - switch((uint)local_38 % 6) { + local_38 = local_38 >> ((byte)this_00->_shift1 & 0x1f) ^ local_38; + local_38 = local_38 << ((byte)this_00->_shift2 & 0x1f) ^ local_38; + local_38 = local_38 >> ((byte)this_00->_shift3 & 0x1f) ^ local_38; + this_00->_seed = local_38; + switch(local_38 % 6) { case 0: iVar9 = 1; break; @@ -384095,19 +384475,19 @@ LAB_006c1f71: if ((*(char *)((int)pvVar1 + iVar9 * 8 + 4) == '\0') || (*(char *)((int)pvVar1 + iVar9 * 8 + 5) == '\0')) goto LAB_006c1ea1; if (iVar9 != 0) goto LAB_006c1f71; - iVar4 = iVar3; + iVar5 = iVar4; } while( true ); } - if (local_38 == (RNG)0x0) { + if (local_38 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)local_38 >> (SUB41(this_00[1],0) & 0x1f) ^ (uint)local_38; - uVar5 = uVar5 ^ uVar5 << (SUB41(this_00[2],0) & 0x1f); - RVar6 = (RNG)(uVar5 ^ uVar5 >> (SUB41(this_00[3],0) & 0x1f)); - *this_00 = RVar6; - if (RVar6 != (RNG)(((uint)RVar6 / 3) * 3)) { - uVar5 = RNG::Next(this_00); + uVar6 = local_38 >> ((byte)this_00->_shift1 & 0x1f) ^ local_38; + uVar6 = uVar6 ^ uVar6 << ((byte)this_00->_shift2 & 0x1f); + uVar6 = uVar6 ^ uVar6 >> ((byte)this_00->_shift3 & 0x1f); + this_00->_seed = uVar6; + if (uVar6 != (uVar6 / 3) * 3) { + uVar6 = RNG::Next(this_00); iVar9 = 2; LAB_006c1fef: uVar8 = 0x14; @@ -384115,50 +384495,50 @@ LAB_006c1fef: } } else { - RVar6 = *this_00; - if (RVar6 == (RNG)0x0) { + uVar6 = this_00->_seed; + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> (SUB41(this_00[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 ^ uVar5 << (SUB41(this_00[2],0) & 0x1f); - RVar6 = (RNG)(uVar5 ^ uVar5 >> (SUB41(this_00[3],0) & 0x1f)); - *this_00 = RVar6; - if ((uint)RVar6 % 100 == 0) { - local_38 = (RNG)(CONCAT31((int3)((uint)g_game >> 8),param_3) ^ 1); + uVar6 = uVar6 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar6; + uVar6 = uVar6 ^ uVar6 << ((byte)this_00->_shift2 & 0x1f); + uVar6 = uVar6 ^ uVar6 >> ((byte)this_00->_shift3 & 0x1f); + this_00->_seed = uVar6; + if (uVar6 % 100 == 0) { + local_38 = CONCAT31((int3)((uint)g_game >> 8),param_3) ^ 1; cVar2 = ItemPool::RemoveCollectible(0x40,1,local_38); if (cVar2 == '\0') { - param_3 = local_38._0_1_; + param_3 = (byte)local_38; goto LAB_006c1cb2; } - uVar5 = RNG::Next(this_00); + uVar6 = RNG::Next(this_00); iVar9 = 0x40; uVar8 = 100; } else { param_3 = param_3 ^ 1; LAB_006c1cb2: - local_38._0_1_ = param_3; - uVar5 = RNG::RandomInt(this_00,100); - RVar6 = local_38; - if ((uVar5 == 0) && (cVar2 = ItemPool::RemoveCollectible(0x1ad,1,local_38), cVar2 != '\0')) { - uVar5 = RNG::Next(this_00); + local_38 = CONCAT31(local_38._1_3_,param_3); + uVar3 = RNG::RandomInt(this_00,100); + uVar6 = local_38; + if ((uVar3 == 0) && (cVar2 = ItemPool::RemoveCollectible(0x1ad,1,local_38), cVar2 != '\0')) { + uVar6 = RNG::Next(this_00); iVar9 = 0x1ad; uVar8 = 100; } else { - uVar5 = RNG::RandomInt(this_00,100); - if ((uVar5 != 0) || + uVar3 = RNG::RandomInt(this_00,100); + if ((uVar3 != 0) || ((((g_manager->_persistentGameData)._achievements[0x16c] == 0 && (((g_manager->_state != 2 || (g_game == (Game *)0x0)) || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))) || - (cVar2 = ItemPool::RemoveCollectible(0x209,1,RVar6), cVar2 == '\0')))) { - uVar5 = RNG::RandomInt(this_00,3); - if (uVar5 != 1) { - if (uVar5 == 2) { - uVar5 = RNG::Next(this_00); - std::deque::push_back(5,0x14,0,uVar5,0); - uVar5 = RNG::Next(this_00); + (cVar2 = ItemPool::RemoveCollectible(0x209,1,uVar6), cVar2 == '\0')))) { + uVar6 = RNG::RandomInt(this_00,3); + if (uVar6 != 1) { + if (uVar6 == 2) { + uVar6 = RNG::Next(this_00); + std::deque::push_back(5,0x14,0,uVar6,0); + uVar6 = RNG::Next(this_00); iVar9 = 0; goto LAB_006c1fef; } @@ -384166,15 +384546,15 @@ LAB_006c1cb2: } pRVar12 = &this->_dropRNG; pRVar11 = pRVar12; - uVar5 = RNG::Next(this_00); - std::deque::push_back(0x55,0,0,uVar5,pRVar11); - uVar5 = RNG::Next(this_00); + uVar6 = RNG::Next(this_00); + std::deque::push_back(0x55,0,0,uVar6,pRVar11); + uVar6 = RNG::Next(this_00); iVar9 = 0; uVar8 = 0; uVar7 = 0x55; goto LAB_006c1ff3; } - uVar5 = RNG::Next(this_00); + uVar6 = RNG::Next(this_00); iVar9 = 0x209; uVar8 = 100; } @@ -384183,7 +384563,7 @@ LAB_006c1ff1: pRVar12 = (RNG *)0x0; uVar7 = 5; LAB_006c1ff3: - std::deque::push_back(uVar7,uVar8,iVar9,uVar5,pRVar12); + std::deque::push_back(uVar7,uVar8,iVar9,uVar6,pRVar12); } LAB_006c1ffb: LootList::LootList(&local_4c); @@ -384194,31 +384574,31 @@ LAB_006c1ffb: local_40 = 0; local_3c = 0; } - iVar3 = local_48; - iVar4 = local_44; + iVar4 = local_48; + iVar5 = local_44; if (local_44 != 0) { do { - iVar9 = *(int *)(iVar3 + -4 + iVar4 * 4); - iVar4 = iVar4 + -1; + iVar9 = *(int *)(iVar4 + -4 + iVar5 * 4); + iVar5 = iVar5 + -1; if (iVar9 != 0) { operator_delete(iVar9,0x14); - iVar3 = local_48; + iVar4 = local_48; } - } while (iVar4 != 0); + } while (iVar5 != 0); } - if (iVar3 != 0) { - uVar5 = local_44 * 4; - iVar4 = iVar3; - if (0xfff < uVar5) { - iVar4 = *(int *)(iVar3 + -4); - uVar5 = uVar5 + 0x23; - if (0x1f < (iVar3 - iVar4) - 4U) { + if (iVar4 != 0) { + uVar6 = local_44 * 4; + iVar5 = iVar4; + if (0xfff < uVar6) { + iVar5 = *(int *)(iVar4 + -4); + uVar6 = uVar6 + 0x23; + if (0x1f < (iVar4 - iVar5) - 4U) { LAB_006c2071: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar4,uVar5); + operator_delete(iVar5,uVar6); } piVar10 = local_4c; LAB_006c2087: @@ -386560,8 +386940,7 @@ void __thiscall Entity_NPC::Update(Entity_NPC *this) ProjectileParams local_228; undefined1 local_150 [132]; undefined1 local_cc [88]; - undefined1 local_74 [24]; - RNG local_5c; + undefined1 local_74 [28]; float local_58; undefined1 local_54 [8]; undefined1 local_4c [20]; @@ -386586,7 +386965,7 @@ void __thiscall Entity_NPC::Update(Entity_NPC *this) } ExceptionList = &local_1c; local_2bc = this; - compute_speed_multiplier(local_24); + compute_speed_multiplier(this,local_24); this->_speedMultiplier = in_XMM0._0_4_; UpdateChildEffectPosition(this,0); if (this->_controllerID == -1) { @@ -387168,7 +387547,7 @@ LAB_006c5c89: } } else if (iVar31 == 0x38b) { - thunk_FUN_004b3610(); + NpcHelper::gideon_update_death(); } else if (iVar31 == 900) { FUN_0041e470(); @@ -387419,7 +387798,7 @@ LAB_006c5c89: FUN_004563c0(local_29c); random_float(); fVar35 = ((float)puVar32 * 10.0 + 2.0) * (float)local_2b0; - Entity_Effect::set_rotation(fVar35); + Entity_Effect::set_rotation(pEVar14,fVar35); iVar31 = Isaac::Random(0xf); Entity_Effect::SetTimeout(pEVar14,iVar31 + 0xf); uVar44 = 0; @@ -388098,7 +388477,7 @@ LAB_006c8133: pRVar23 = (Room *)(float)fVar34; local_2ac = pRVar23; Math::lerp(); - local_288 = (Room *)((float)local_5c * 0.9); + local_288 = (Room *)((float)local_74._24_4_ * 0.9); local_2c0 = pRVar23; fVar34 = (float10)Color::GO(); pRVar23 = (Room *)(float)fVar34; @@ -388475,7 +388854,7 @@ LAB_006c8df9: auVar38 = ZEXT812(0x3f000000); goto LAB_006c8df9; } - RNG::game_constructor(&local_5c,this->_initSeed,5); + RNG::game_constructor((RNG *)(local_74 + 0x18),this->_initSeed,5); local_14 = 0xb; fVar35 = RNG::RandomFloat(this_01); local_298 = CONCAT44(fVar35,(Room *)local_298); @@ -388508,7 +388887,7 @@ LAB_006c8edb: auVar38 = ZEXT812(0x3f000000); goto LAB_006c8edb; } - RNG::game_constructor(&local_5c,this->_initSeed,5); + RNG::game_constructor((RNG *)(local_74 + 0x18),this->_initSeed,5); local_14 = 0xc; fVar35 = RNG::RandomFloat(this_02); local_298 = CONCAT44(fVar35,(Room *)local_298); @@ -389225,7 +389604,7 @@ void __thiscall Entity_NPC::update_frozen(Entity_NPC *this) float local_24; undefined4 local_20; undefined4 local_1c; - undefined4 uStack_18; + float fStack_18; uint local_14; local_14 = __security_cookie ^ (uint)auStack_78; @@ -389286,23 +389665,23 @@ LAB_006ca9aa: local_20 = 0x3f4ccccd; local_1c = 0x3f666666; iVar5 = uVar1 % 0xf + 0xf; - uStack_18 = 0x3f800000; + fStack_18 = 1.0; *(int *)(iVar4 + 0x45c) = iVar5; *(int *)(iVar4 + 0x460) = iVar5; *(float *)(iVar4 + 0x34c) = (this->_posOffset).x; *(float *)(iVar4 + 0x350) = (this->_posOffset).y; pLVar6 = ANM2::GetLayer((ANM2 *)(iVar4 + 0x48),(byte *)0x0); - if ((undefined4 *)&pLVar6->field_0x48 != &local_40) { - *(undefined4 *)&pLVar6->field_0x48 = 0x3f800000; - *(undefined4 *)&pLVar6->field_0x4c = 0x3f800000; - *(undefined4 *)&pLVar6->field_0x50 = 0x3f800000; - *(undefined4 *)&pLVar6->field_0x54 = 0x3ecccccd; - *(undefined4 *)&pLVar6->field_0x58 = 0; - *(undefined4 *)&pLVar6->field_0x5c = 0; - *(undefined4 *)&pLVar6->field_0x60 = 0; - *(undefined4 *)&pLVar6->field_0x64 = 0; - *(ulonglong *)&pLVar6->field_0x68 = CONCAT44(local_1c,local_20); - *(undefined4 *)&pLVar6->field_0x70 = uStack_18; + if (&pLVar6->_color != (ColorMod *)&local_40) { + (pLVar6->_color)._tint[0] = 1.0; + (pLVar6->_color)._tint[1] = 1.0; + (pLVar6->_color)._tint[2] = 1.0; + (pLVar6->_color)._tint[3] = 0.4; + (pLVar6->_color)._colorize[0] = 0.0; + (pLVar6->_color)._colorize[1] = 0.0; + (pLVar6->_color)._colorize[2] = 0.0; + (pLVar6->_color)._colorize[3] = 0.0; + *(ulonglong *)(pLVar6->_color)._offset = CONCAT44(local_1c,local_20); + (pLVar6->_color)._offset[2] = fStack_18; } if (this->_collidesWithGrid != 0) { fStack_6c = (this->_pos).x - (this->_gridCollisionVelocity).x; @@ -390267,10 +390646,7 @@ Entity_NPC::FireBossProjectiles float local_3c; float local_38; float local_34; - undefined1 auStack_30 [28]; - float fStack_14; - uint uStack_10; - Entity_NPC *pEStack_c; + EntityRef EStack_30; local_48 = 1.0; if ((this->_flags & 0x40000000000000) != 0) { @@ -390372,14 +390748,14 @@ Entity_NPC::FireBossProjectiles this_00[1]._damageEvents._capacity = *(void **)((int)params + 0xa0); cVar2 = Entity::HasEntityFlags(0x1000000,0); if ((cVar2 != '\0') && (*(int *)((int)params + 0x94) == 0xb)) { - auStack_30._0_4_ = this->_type; - auStack_30._16_4_ = (this->_pos).x; - auStack_30._20_4_ = (this->_pos).y; - auStack_30._4_4_ = this->_variant; - auStack_30._8_4_ = this->_spawnerType; - auStack_30._12_4_ = this->_spawnerVariant; - auStack_30._24_4_ = (this->_velocity).x; - fStack_14 = (this->_velocity).y; + EStack_30._type = this->_type; + EStack_30._position.x = (this->_pos).x; + EStack_30._position.y = (this->_pos).y; + EStack_30._variant = this->_variant; + EStack_30._spawnerType = this->_spawnerType; + EStack_30._spawnerVariant = this->_spawnerVariant; + EStack_30._velocity.x = (this->_velocity).x; + EStack_30._velocity.y = (this->_velocity).y; local_4c = (EntityPtr *)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar5 = 0; @@ -390393,9 +390769,9 @@ Entity_NPC::FireBossProjectiles else { uVar6 = 4; } - uStack_10 = uVar6 | uVar5 | (uint)local_4c; - pEStack_c = this; - Entity::AddShrink((Entity *)this_00,(EntityRef *)auStack_30,-0x96,0,0); + EStack_30._flags = uVar6 | uVar5 | (uint)local_4c; + EStack_30._entity = this; + Entity::AddShrink((Entity *)this_00,&EStack_30,-0x96,0,0); } Entity_Projectile::apply_spawn_flags ((int)this->_flags,*(undefined4 *)((int)&this->_flags + 4),this); @@ -390666,9 +391042,9 @@ byte __thiscall Entity_NPC::HandleCollision(Entity_NPC *this,Entity *collider,by local_128 = (EntityPtr)((int)local_128 + 1); if ((((uint)local_128 < 9) && (local_108 = *(EntityPtr *)((int)local_fc + (int)g_game->_room), - local_108 != (EntityPtr)0x0)) && (cVar5 = GridEntity_Door::CanBlowOpen(), cVar5 != '\0')) - { - cVar5 = room_grid_flood_fill(local_114._4_4_,*(undefined4 *)((int)local_108 + 0x24)); + local_108 != (EntityPtr)0x0)) && + (cVar5 = GridEntity_Door::CanBlowOpen((GridEntity_Door *)local_108), cVar5 != '\0')) { + cVar5 = room_grid_flood_fill(local_114._4_4_,*(int *)((int)local_108 + 0x24)); if (cVar5 != '\0') { if (*(int *)((int)local_108 + 0x394) < -99) { Level::GetRoomByIdx((Level *)g_game,*(int *)((int)local_108 + 0x394),-1); @@ -390687,8 +391063,8 @@ byte __thiscall Entity_NPC::HandleCollision(Entity_NPC *this,Entity *collider,by puVar9 = (uint *)(*(int *)((int)g_game->_room + 4) + 0x44); *puVar9 = *puVar9 | 4; Entity_Player::PlayExtraAnimation((Entity_Player *)collider,"MinecartEnter"); - *(float *)&collider[6]._entityRef4.field_0x1c = (this->_targetPosition).x; - *(float *)&collider[6]._entityRef4.field_0x20 = (this->_targetPosition).y; + collider[6]._entityRef4._velocity.y = (this->_targetPosition).x; + collider[6]._entityRef4._flags = (int)(this->_targetPosition).y; collider[1].field_0x4 = 0; ExceptionList = local_10; return 1; @@ -392194,8 +392570,7 @@ void __thiscall Entity_NPC::MakeChampion(Entity_NPC *this,uint param_2,int param float local_44; EntityPtr *local_40; Entity *local_3c [2]; - undefined1 local_34 [24]; - RNG local_1c; + undefined1 local_34 [28]; undefined8 local_18; void *local_10; uint local_c; @@ -392207,7 +392582,8 @@ void __thiscall Entity_NPC::MakeChampion(Entity_NPC *this,uint param_2,int param } fVar4 = this->_maxHitPoints; pfVar1 = &this->_maxHitPoints; - local_18 = 0x300000005; + local_18._0_4_ = 7.00649e-45; + local_18._4_4_ = 3; local_3c[0] = (Entity *)0x15; local_10 = (void *)0x15; *pfVar1 = fVar4 + fVar4; @@ -392225,46 +392601,46 @@ void __thiscall Entity_NPC::MakeChampion(Entity_NPC *this,uint param_2,int param } param_2 = param_2 >> ((byte)local_18 & 0x1f) ^ param_2; param_2 = param_2 << (SUB81(local_18,4) & 0x1f) ^ param_2; - local_1c = (RNG)(param_2 >> ((byte)local_3c[0] & 0x1f) ^ param_2); - fVar10 = (float)((double)(int)local_1c + __uint_to_double_fixup[-((int)local_1c >> 0x1f)]) * - 2.3283062e-10; + local_34._24_4_ = param_2 >> ((byte)local_3c[0] & 0x1f) ^ param_2; + fVar10 = (float)((double)(int)local_34._24_4_ + + __uint_to_double_fixup[-((int)local_34._24_4_ >> 0x1f)]) * 2.3283062e-10; if ((0.01 <= fVar10) || (g_game->_stage < 5)) { if ((0.05 <= fVar10) || (g_game->_stage < 5)) { if (0.15 <= fVar10) { if (0.3 <= fVar10) { if ((0.35 <= fVar10) || (g_game->_stage < 5)) { if (g_game->_stage < 3) { - uVar5 = RNG::RandomInt(&local_1c,6); + uVar5 = RNG::RandomInt((RNG *)(local_34 + 0x18),6); param_3 = *(int *)(&DAT_00b673c4 + uVar5 * 4); } else { - uVar5 = RNG::RandomInt(&local_1c,7); + uVar5 = RNG::RandomInt((RNG *)(local_34 + 0x18),7); param_3 = *(int *)(&DAT_00b673dc + uVar5 * 4); } } else { - uVar5 = RNG::RandomInt(&local_1c,4); + uVar5 = RNG::RandomInt((RNG *)(local_34 + 0x18),4); param_3 = *(int *)(&DAT_00b67380 + uVar5 * 4); } } else { - uVar5 = RNG::RandomInt(&local_1c,(uint)(2 < g_game->_stage) * 2 + 4); + uVar5 = RNG::RandomInt((RNG *)(local_34 + 0x18),(uint)(2 < g_game->_stage) * 2 + 4); param_3 = *(int *)(&DAT_00b67390 + uVar5 * 4); } } else { - if (local_1c == (RNG)0x0) { + if ((float)local_34._24_4_ == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)local_1c >> ((byte)local_18 & 0x1f) ^ (uint)local_1c; + uVar5 = (uint)local_34._24_4_ >> ((byte)local_18 & 0x1f) ^ local_34._24_4_; uVar5 = uVar5 << (SUB81(local_18,4) & 0x1f) ^ uVar5; param_3 = *(int *)(&DAT_00b673a8 + ((uVar5 >> ((byte)local_3c[0] & 0x1f) ^ uVar5) % 3) * 4 ); } } else { - uVar5 = RNG::RandomInt(&local_1c,4); + uVar5 = RNG::RandomInt((RNG *)(local_34 + 0x18),4); param_3 = *(int *)(&DAT_00b673b4 + uVar5 * 4); } } @@ -392910,12 +393286,7 @@ Entity_NPC::fireplace_get_loot(Entity_NPC *this,undefined4 param_2,char param_3) float local_4c; float local_48; RNG local_44; - undefined4 uStack_40; - undefined4 uStack_3c; - undefined4 uStack_38; RNG local_34; - undefined8 local_30; - undefined4 local_28; uint local_24; undefined1 *puStack_20; void *local_1c; @@ -392981,10 +393352,10 @@ Entity_NPC::fireplace_get_loot(Entity_NPC *this,undefined4 param_2,char param_3) ExceptionList = local_1c; return param_2; } - local_44 = this->_dropRNG; - uStack_40 = *(undefined4 *)&this->field_0x3e0; - uStack_3c = *(undefined4 *)&this->field_0x3e4; - uStack_38 = *(undefined4 *)&this->field_0x3e8; + local_44._seed = (this->_dropRNG)._seed; + local_44._shift1 = (this->_dropRNG)._shift1; + local_44._shift2 = (this->_dropRNG)._shift2; + local_44._shift3 = (this->_dropRNG)._shift3; this_00 = &local_44; if (param_3 != '\0') { this_00 = &this->_dropRNG; @@ -393001,9 +393372,10 @@ Entity_NPC::fireplace_get_loot(Entity_NPC *this,undefined4 param_2,char param_3) if (local_4c <= local_48) goto LAB_006d17dc; cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x16); if (cVar3 != '\0') { - local_34 = *this_00; - local_30 = 0xb00000001; - local_28 = 6; + local_34._seed = this_00->_seed; + local_34._shift1 = 1; + local_34._shift2 = 0xb; + local_34._shift3 = 6; uVar4 = RNG::RandomInt(&local_34,5); if (uVar4 != 0) goto LAB_006d17dc; } @@ -393033,9 +393405,10 @@ LAB_006d17d0: if (local_48 < 0.25) { cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x16); if (cVar3 != '\0') { - local_34 = *this_00; - local_30 = 0xb00000001; - local_28 = 6; + local_34._seed = this_00->_seed; + local_34._shift1 = 1; + local_34._shift2 = 0xb; + local_34._shift3 = 6; uVar4 = RNG::RandomInt(&local_34,5); if (uVar4 != 0) goto LAB_006d1719; } @@ -393099,8 +393472,6 @@ void __fastcall NpcAI::ENTITY_FIREPLACE(Entity_NPC *npc) Vector *local_e0; Entity_NPC *local_dc; RNG local_d8; - undefined8 local_d4; - float local_cc; EntityPtr local_c8; Vector *local_c4; float local_c0; @@ -393174,9 +393545,10 @@ void __fastcall NpcAI::ENTITY_FIREPLACE(Entity_NPC *npc) uVar7 = *(undefined4 *)((int)&npc->_flags + 4); *(uint *)&npc->_flags = (uint)npc->_flags | 0x40000; *(undefined4 *)((int)&npc->_flags + 4) = uVar7; - local_d8 = (RNG)npc->_initSeed; - local_cc = 9.80909e-45; - local_d4 = 0x900000005; + local_d8._seed = npc->_initSeed; + local_d8._shift3 = 7; + local_d8._shift1 = 5; + local_d8._shift2 = 9; if ((*(char *)g_game->_room != '\0') && (g_game->_frameCount == *(int *)((int)g_game->_room + 0x11f0))) { if ((iVar9 == 2) && (uVar6 = RNG::RandomInt(&local_d8,100), uVar6 == 0)) { @@ -393469,10 +393841,10 @@ LAB_006d2444: local_b0 = pVVar18->x + 0.0; local_b8 = pVVar18->y - 15.0; iVar9 = Game::GetNearestPlayer(pVVar18); - local_cc = *(float *)(iVar9 + 0x340); - local_d4 = CONCAT44(*(float *)(iVar9 + 0x33c),(undefined4)local_d4); + local_d8._shift3 = *(int *)(iVar9 + 0x340); + local_d8._shift2 = (int)*(float *)(iVar9 + 0x33c); local_e0 = (Vector *)(*(float *)(iVar9 + 0x33c) - local_b0); - local_dc = (Entity_NPC *)(local_cc - local_b8); + local_dc = (Entity_NPC *)((float)local_d8._shift3 - local_b8); local_c4 = local_e0; local_bc = local_dc; pfVar12 = (float *)Vector::Normalized(&local_e8); @@ -393481,7 +393853,7 @@ LAB_006d2444: fVar19 = (float)local_bc * (float)local_bc + (float)local_c4 * (float)local_c4; sqrtf(); if (((fVar19 < 160.0) && - (cVar4 = Room::CheckLine(&local_e0,(int)&local_d4 + 4,3,0,0,0,0), cVar4 != '\0')) && + (cVar4 = Room::CheckLine(&local_e0,&local_d8._shift2,3,0,0,0,0), cVar4 != '\0')) && (uVar6 = Random(), uVar6 % 0xf == 0)) { ANM2::PlayOverlay("Shoot",0); npc->_projectileCooldown = 0x54; @@ -393510,7 +393882,7 @@ LAB_006d2444: iVar9 = Game::GetNearestPlayer(&npc->_pos); local_c0 = *(float *)(iVar9 + 0x33c) - local_b4; local_bc = (Entity_NPC *)(*(float *)(iVar9 + 0x340) - local_b0); - pfVar12 = (float *)Vector::Normalized((int)&local_d4 + 4); + pfVar12 = (float *)Vector::Normalized(&local_d8._shift2); local_b4 = *pfVar12 * 25.0 + local_b4; local_b0 = pfVar12[1] * 25.0 + local_b0; uVar7 = Random(); @@ -393519,9 +393891,9 @@ LAB_006d2444: pTVar23 = &IsaacRepentancePlus::Entity_Projectile::RTTI_Type_Descriptor; pTVar22 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar21 = 0; - local_d4 = CONCAT44(*pfVar12 * 5.0,(undefined4)local_d4); - local_cc = pfVar12[1] * 5.0; - uVar7 = Game::Spawn(9,0,&local_b4,(int)&local_d4 + 4,npc,0,uVar7); + local_d8._shift2 = (int)(*pfVar12 * 5.0); + local_d8._shift3 = (int)(pfVar12[1] * 5.0); + uVar7 = Game::Spawn(9,0,&local_b4,&local_d8._shift2,npc,0,uVar7); iVar9 = __RTDynamicCast(uVar7,uVar21,pTVar22,pTVar23,uVar24); if (npc->_variant == 3) { *(uint *)(iVar9 + 0x438) = *(uint *)(iVar9 + 0x438) | 1; @@ -393544,11 +393916,12 @@ LAB_006d2444: ((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * -1.6 - 0.8); iVar9 = Random(); - local_d4 = CONCAT44((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * - 2.3283064e-10 * 0.4 - 0.2,(undefined4)local_d4); - local_cc = (float)local_bc; + local_d8._shift2 = + (int)((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 0.4 + - 0.2); + local_d8._shift3 = (int)local_bc; uVar7 = Random(); - piVar11 = (int *)Game::Spawn(1000,0x42,&local_e8,(int)&local_d4 + 4,npc,0,uVar7); + piVar11 = (int *)Game::Spawn(1000,0x42,&local_e8,&local_d8._shift2,npc,0,uVar7); iVar9 = npc->_variant; if (iVar9 == 1) { uVar7 = ::Color::Color(); @@ -394153,15 +394526,15 @@ LAB_006d3907: } goto LAB_006d3c74; case 0x390: - FUN_0056fcf0(); + NpcHelper::mother_render(); uVar18 = extraout_ECX_10; break; case 0x398: - FUN_004bcfd0(); + NpcHelper::horny_boys_render(); uVar18 = extraout_ECX_11; break; case 0x399: - FUN_00575a10(); + NpcHelper::clutch_render(); uVar18 = extraout_ECX_12; break; case 0x3b7: @@ -394990,9 +395363,8 @@ void __thiscall Entity_NPC::trigger_kill_item_effects(Entity_NPC *this) ActiveItemDesc *pAVar15; qword *pqVar16; int iVar17; - RNG RVar18; - float fVar19; - PlayerManager *pPVar20; + float fVar18; + PlayerManager *pPVar19; float damage; undefined4 in_stack_fffffcdc; undefined4 in_stack_fffffce0; @@ -395090,16 +395462,16 @@ void __thiscall Entity_NPC::trigger_kill_item_effects(Entity_NPC *this) local_70 = 0.0; if ((this->_flags & 0x40000000000) == 0) { if ((this->_flags & 0x800000) != 0) { - RVar18 = this->_dropRNG; - if (RVar18 == (RNG)0x0) { + uVar9 = (this->_dropRNG)._seed; + if (uVar9 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar18 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar9; - RVar18 = (RNG)(uVar9 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar9); - this->_dropRNG = RVar18; - if (RVar18 == (RNG)(((uint)RVar18 / 5) * 5)) { + uVar9 = uVar9 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar9; + uVar9 = uVar9 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar9; + uVar9 = uVar9 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar9; + (this->_dropRNG)._seed = uVar9; + if (uVar9 == (uVar9 / 5) * 5) { uVar11 = Random(); in_stack_fffffce8 = Room::FindFreeTilePosition(local_ec,&this->_pos,0); in_stack_fffffce4 = (Vector *)0xa; @@ -395108,17 +395480,17 @@ void __thiscall Entity_NPC::trigger_kill_item_effects(Entity_NPC *this) Game::Spawn(5,10,in_stack_fffffce8,&g_vectorZero,0,6,uVar11); } } - RVar18 = this->_dropRNG; - if (RVar18 == (RNG)0x0) { + uVar9 = (this->_dropRNG)._seed; + if (uVar9 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar18 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar9; - pPVar20 = &g_game->_playerManager; - RVar18 = (RNG)(uVar9 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar9); - this->_dropRNG = RVar18; - iVar17 = PlayerManager::RandomCollectibleOwner(pPVar20,0x1b2,RVar18,0); + uVar9 = uVar9 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar9; + uVar9 = uVar9 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar9; + pPVar19 = &g_game->_playerManager; + uVar9 = uVar9 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar9; + (this->_dropRNG)._seed = uVar9; + iVar17 = PlayerManager::RandomCollectibleOwner(pPVar19,0x1b2,uVar9,0); if ((iVar17 != 0) && ((this->_flags & 0x10000020) != 0 || (this->_flags & 0x2000000000000) != 0) ) { iVar14 = *(int *)(iVar17 + 0x1358) + 1; @@ -395245,17 +395617,17 @@ void __thiscall Entity_NPC::trigger_kill_item_effects(Entity_NPC *this) } while (uVar9 < 4); } if ((this->_flags & 0x800000000000000) != 0) { - RVar18 = this->_dropRNG; - if (RVar18 == (RNG)0x0) { + uVar9 = (this->_dropRNG)._seed; + if (uVar9 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar18 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar9; - pPVar20 = &g_game->_playerManager; - RVar18 = (RNG)(uVar9 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar9); - this->_dropRNG = RVar18; - iVar17 = PlayerManager::RandomCollectibleOwner(pPVar20,0x248,RVar18,0); + uVar9 = uVar9 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar9; + uVar9 = uVar9 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar9; + pPVar19 = &g_game->_playerManager; + uVar9 = uVar9 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar9; + (this->_dropRNG)._seed = uVar9; + iVar17 = PlayerManager::RandomCollectibleOwner(pPVar19,0x248,uVar9,0); if (((iVar17 != 0) && (*(int *)(iVar17 + 0x28) == 1)) && (pEVar13 = EntityConfig::GetEntity(&g_manager->_entityConfig,this->_type,this->_variant,0), pEVar13 != (EntityConfig_Entity *)0x0)) { @@ -395308,7 +395680,7 @@ void __thiscall Entity_NPC::trigger_kill_item_effects(Entity_NPC *this) local_70 = 0.0; if (local_a0 != 0.0) { do { - fVar19 = local_70; + fVar18 = local_70; pEVar3 = *(Entity_NPC **)(local_a8 + (int)local_70 * 4); if ((pEVar3 != this) && (cVar8 = Entity::IsVulnerableEnemy((Entity *)pEVar3,0), cVar8 != '\0')) { @@ -395333,7 +395705,7 @@ void __thiscall Entity_NPC::trigger_kill_item_effects(Entity_NPC *this) color._offset[2] = 0.15686275; Entity::AddSlowing((Entity *)pEVar3,&local_13c,0x5a,local_78,color, ignoreBossStatusCooldown); - fVar19 = local_70; + fVar18 = local_70; } cVar8 = Entity::HasEntityFlags(0x40,0); if (cVar8 != '\0') { @@ -395407,26 +395779,26 @@ void __thiscall Entity_NPC::trigger_kill_item_effects(Entity_NPC *this) local_b0 = 0; in_stack_fffffce8 = 0x41200000; in_stack_fffffce4 = (Vector *)0x6d5f2e; - (**(code **)(**(int **)(local_a8 + (int)fVar19 * 4) + 0x20)) + (**(code **)(**(int **)(local_a8 + (int)fVar18 * 4) + 0x20)) (0x41200000,0,0,&local_d4,0x1e); - fVar19 = local_70; + fVar18 = local_70; } - local_70 = (float)((int)fVar19 + 1); + local_70 = (float)((int)fVar18 + 1); } while ((uint)local_70 < (uint)local_a0); } uVar11 = Color::Color(); Entity::MakeBloodPoof((Entity *)this,&this->_pos,uVar11); uVar9 = 0; - pPVar20 = &g_game->_playerManager; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar20->_playerList)._begin >> 2 != + pPVar19 = &g_game->_playerManager; + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar19->_playerList)._begin >> 2 != 0) { do { - pvVar5 = (pPVar20->_playerList)._end; - if ((int)pvVar5 - (int)(pPVar20->_playerList)._begin >> 2 == 0) { + pvVar5 = (pPVar19->_playerList)._end; + if ((int)pvVar5 - (int)(pPVar19->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - piVar12 = (pPVar20->_playerList)._begin; + piVar12 = (pPVar19->_playerList)._begin; if (uVar9 < (uint)((int)pvVar5 - (int)piVar12 >> 2)) { piVar12 = piVar12 + uVar9; } @@ -395446,9 +395818,9 @@ void __thiscall Entity_NPC::trigger_kill_item_effects(Entity_NPC *this) } } uVar9 = uVar9 + 1; - pPVar20 = &g_game->_playerManager; + pPVar19 = &g_game->_playerManager; } while (uVar9 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar20->_playerList)._begin >> 2)); + (int)(pPVar19->_playerList)._begin >> 2)); } local_8 = 0xffffffff; if (local_ac[0] == '\0') { @@ -395686,16 +396058,15 @@ void __fastcall NpcAI::ENTITY_MOVABLE_TNT(Entity_NPC *npc) uint uVar7; Vector *pVVar8; undefined4 uVar9; - RNG RVar10; byte unaff_DI; - float fVar11; + float fVar10; undefined1 in_stack_ffffff94 [16]; - undefined1 auVar12 [16]; - BitSet128 BVar13; + undefined1 auVar11 [16]; + BitSet128 BVar12; + undefined1 auVar13 [16]; undefined1 auVar14 [16]; - undefined1 auVar15 [16]; - undefined1 auVar16 [12]; - undefined4 uVar17; + undefined1 auVar15 [12]; + undefined4 uVar16; byte *anim; Vector local_48; Vector local_40 [6]; @@ -395704,11 +396075,11 @@ void __fastcall NpcAI::ENTITY_MOVABLE_TNT(Entity_NPC *npc) local_c = __security_cookie ^ (uint)&local_48; if (npc->_state == 0) { qVar4 = npc->_flags; - fVar11 = npc->_health; + fVar10 = npc->_health; *(undefined4 *)((int)&npc->_flags + 4) = *(undefined4 *)((int)&npc->_flags + 4); iVar6 = 0x10; *(uint *)&npc->_flags = (uint)qVar4 & 0xfffffffb | 0x20d0011; - if (1.0 < fVar11) { + if (1.0 < fVar10) { iVar6 = 3; } npc->_state = iVar6; @@ -395722,18 +396093,18 @@ void __fastcall NpcAI::ENTITY_MOVABLE_TNT(Entity_NPC *npc) local_40[0].x = 1.0; uVar7 = Random(); if (uVar7 % 3 == 0) { - fVar11 = 2.0; + fVar10 = 2.0; } else { - fVar11 = local_40[0].x; + fVar10 = local_40[0].x; } if ((npc->_pendingDamageFlags & 4) == 0) { - if (0.0 < fVar11) goto LAB_006d677a; + if (0.0 < fVar10) goto LAB_006d677a; } else { - fVar11 = 4.0; + fVar10 = 4.0; LAB_006d677a: - local_40[0].x = npc->_health - fVar11; + local_40[0].x = npc->_health - fVar10; local_48.x = 1.0; pVVar8 = local_40; if (local_40[0].x <= 1.0) { @@ -395751,10 +396122,10 @@ LAB_006d677a: uVar9 = Random(); local_48.x = (npc->_pos).x; local_48.y = (npc->_pos).y; - auVar12._0_8_ = in_stack_ffffff94._0_8_; - auVar12._8_4_ = &g_vectorZero; - auVar12._12_4_ = npc; - auVar3._4_8_ = auVar12._8_8_; + auVar11._0_8_ = in_stack_ffffff94._0_8_; + auVar11._8_4_ = &g_vectorZero; + auVar11._12_4_ = npc; + auVar3._4_8_ = auVar11._8_8_; auVar3._0_4_ = &local_48; Game::SpawnEx(g_game,1000,1,auVar3,0,uVar9,0); local_40[0].x = (npc->_pos).x; @@ -395762,7 +396133,7 @@ LAB_006d677a: Game::spawn_bomb_crater(g_game,local_40,npc); local_48.x = (npc->_pos).x; local_48.y = (npc->_pos).y; - BVar13 = g_tearFlagsNone; + BVar12 = g_tearFlagsNone; Game::BombDamage(g_game,&local_48,100.0,75.0,0,(Entity *)npc,g_tearFlagsNone,0,unaff_DI); uVar9 = Color::Color(); iVar6 = Random(); @@ -395771,23 +396142,23 @@ LAB_006d677a: uVar7 = Random(); local_40[0].y = (npc->_pos).y; local_40[0].x = (npc->_pos).x; - auVar14._0_8_ = BVar13._l; - auVar14._8_4_ = uVar7 % 3 + 2; - auVar14._12_4_ = local_48.x; - auVar15._8_8_ = auVar14._8_8_; - auVar15._0_8_ = 0x1b00000000; - Game::SpawnParticles(local_40,auVar15._4_12_,uVar9,0x47c35000,0); + auVar13._0_8_ = BVar12._l; + auVar13._8_4_ = uVar7 % 3 + 2; + auVar13._12_4_ = local_48.x; + auVar14._8_8_ = auVar13._8_8_; + auVar14._0_8_ = 0x1b00000000; + Game::SpawnParticles(local_40,auVar14._4_12_,uVar9,0x47c35000,0); Isaac::GetRandomPickupVelocity(1,0); - RVar10 = npc->_dropRNG; - if (RVar10 == (RNG)0x0) { + uVar7 = (npc->_dropRNG)._seed; + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar10 >> ((byte)*(undefined4 *)&npc->field_0x3e0 & 0x1f) ^ (uint)RVar10; - uVar7 = uVar7 << ((byte)*(undefined4 *)&npc->field_0x3e4 & 0x1f) ^ uVar7; - RVar10 = (RNG)(uVar7 >> ((byte)*(undefined4 *)&npc->field_0x3e8 & 0x1f) ^ uVar7); - npc->_dropRNG = RVar10; - if ((uint)RVar10 % 100 == 0) { + uVar7 = uVar7 >> ((byte)(npc->_dropRNG)._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)(npc->_dropRNG)._shift2 & 0x1f) ^ uVar7; + uVar7 = uVar7 >> ((byte)(npc->_dropRNG)._shift3 & 0x1f) ^ uVar7; + (npc->_dropRNG)._seed = uVar7; + if (uVar7 % 100 == 0) { uVar7 = RNG::RandomInt(&npc->_dropRNG,2); pGVar5 = g_game; if ((((uVar7 == 0) && @@ -395800,7 +396171,7 @@ LAB_006d677a: *piVar1 = *piVar1 + -1; Isaac::GetRandomPickupVelocity(1,0); uVar9 = Random(); - uVar17 = 0x32; + uVar16 = 0x32; } else { pvVar2 = (g_game->_itemPool)._trinketPoolItems._begin; @@ -395812,12 +396183,12 @@ LAB_006d677a: *piVar1 = *piVar1 + -1; Isaac::GetRandomPickupVelocity(1,0); uVar9 = Random(); - uVar17 = 0x29; + uVar16 = 0x29; } - auVar16._4_4_ = &local_48; - auVar16._0_4_ = &npc->_pos; - auVar16._8_4_ = 0; - Game::SpawnEx(g_game,5,0x15e,auVar16,uVar17,uVar9,0); + auVar15._4_4_ = &local_48; + auVar15._0_4_ = &npc->_pos; + auVar15._8_4_ = 0; + Game::SpawnEx(g_game,5,0x15e,auVar15,uVar16,uVar9,0); } } LAB_006d6a94: @@ -395839,13 +396210,13 @@ LAB_006d6a94: } return; } - fVar11 = npc->_health; - if (fVar11 <= 3.0) { - if (2.0 < fVar11) { + fVar10 = npc->_health; + if (fVar10 <= 3.0) { + if (2.0 < fVar10) { anim = (byte *)"IdleMedium"; } else { - if (fVar11 <= 1.0) goto LAB_006d6b14; + if (fVar10 <= 1.0) goto LAB_006d6b14; anim = (byte *)"ReadyToExplode"; } } @@ -395979,29 +396350,28 @@ uint __thiscall Entity_NPC::on_player_damaged(Entity_NPC *this) room), Dark Esau spawns effect 1000.15 unless its Jacob (player type 37/39) has Birthright (619); sets +0x214=20 when flags 0x10000020 */ -void Entity_NPC::room_enter(void) +void __thiscall Entity_NPC::room_enter(Entity_NPC *this) { - float *pfVar1; + Vector *pVVar1; int iVar2; - Entity_Player *this; + EntityPtr this_00; byte bVar3; RoomDescriptor *pRVar4; int iVar5; undefined4 uVar6; - int *in_ECX; uint uVar7; int iVar8; bool bVar9; undefined8 uVar10; - if (in_ECX[10] == 0x362) { - bVar9 = in_ECX[0xb] == 0; + if (this->_type == 0x362) { + bVar9 = this->_variant == 0; } else { - bVar9 = in_ECX[10] == 0x363; + bVar9 = this->_type == 0x363; } - if ((bVar9) && (1 < g_game->_frameCount - in_ECX[0xca])) { + if ((bVar9) && (1 < g_game->_frameCount - this->_spawnFrame)) { pRVar4 = Level::GetRoomByIdx((Level *)g_game,g_game->_lastRoomIdx,g_game->_lastRoomDimensionIdx) ; iVar8 = pRVar4->GridIndex; @@ -396046,23 +396416,26 @@ void Entity_NPC::room_enter(void) iVar5 = ((iVar2 / 0xd - iVar8 / 0xd) * 0xd - iVar2) + iVar8; iVar8 = iVar8 / 0xd - iVar2 / 0xd; } - pfVar1 = (float *)(in_ECX + 0xcf); - *pfVar1 = (float)iVar5 * 520.0 + *pfVar1; - in_ECX[0xd0] = (int)((float)iVar8 * 280.0 + (float)in_ECX[0xd0]); - if (((((in_ECX[10] == 0x362) && (in_ECX[0xb] == 0)) && (in_ECX[0xc] == 1)) && - ((in_ECX[0xef] != 0 && (*(int *)(in_ECX[0xef] + 0x28) == 0x362)))) && - (((this = (Entity_Player *)in_ECX[0xf2], this != (Entity_Player *)0x0 && (this->_type == 1)) - && (((this->_playerType == 0x25 || (this->_playerType == 0x27)) && - (bVar3 = Entity_Player::HasCollectible(this,0x26b,0), bVar3 == 0)))))) { - (**(code **)(*in_ECX + 0x28))(); + iVar2 = this->_type; + pVVar1 = &this->_pos; + pVVar1->x = (float)iVar5 * 520.0 + pVVar1->x; + (this->_pos).y = (float)iVar8 * 280.0 + (this->_pos).y; + if (((((iVar2 == 0x362) && (this->_variant == 0)) && (this->_subtype == 1)) && + ((this->_parent != (EntityPtr)0x0 && (*(int *)((int)this->_parent + 0x28) == 0x362)))) && + (((this_00 = this->_spawnerEntity, this_00 != (EntityPtr)0x0 && + (*(int *)((int)this_00 + 0x28) == 1)) && + (((*(int *)((int)this_00 + 0x13c0) == 0x25 || (*(int *)((int)this_00 + 0x13c0) == 0x27)) && + (bVar3 = Entity_Player::HasCollectible((Entity_Player *)this_00,0x26b,0), bVar3 == 0)))))) + { + (**(code **)(*(int *)this + 0x28))(); uVar6 = Random(); - Game::Spawn(1000,0xf,pfVar1,&g_vectorZero,in_ECX,0,uVar6); + Game::Spawn(1000,0xf,pVVar1,&g_vectorZero,this,0,uVar6); uVar10 = Color::Color(); (*(code *)((ulonglong)uVar10 >> 0x20))((int)uVar10,0xffffffff,0xff,0,1); } } - if ((in_ECX[0x5b] & 0x10000020U) != 0) { - in_ECX[0x85] = 0x14; + if ((this->_flags & 0x1000002000000000) != 0) { + this->_damageCountdown = 0x14; } return; } @@ -398189,7 +398562,7 @@ LAB_006d9f2d: else if (iVar15 == 0x44) { *(int *)((int)EVar9 + 0xbc0) = this->_i1; pLVar11 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - Sprite::ReplaceSpritesheet((Sprite *)((int)EVar9 + 0x48),0,&pLVar11->field_0x8); + Sprite::ReplaceSpritesheet((Sprite *)((int)EVar9 + 0x48),0,&pLVar11->_spriteSheetPath); ANM2::LoadGraphics((ANM2 *)((int)EVar9 + 0x48),unk); EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); local_18 = local_18 | 4; @@ -399125,41 +399498,72 @@ Entity_Pickup::GetChestLoot (Entity_Pickup *this,undefined4 param_2,byte param_3,Entity_Player *param_4) { - RNG *pRVar1; - DeathmatchManager *pDVar2; - int *piVar3; - bool bVar4; - bool bVar5; - bool bVar6; - bool bVar7; - char cVar8; - byte bVar9; - char cVar10; + DeathmatchManager *pDVar1; + int *piVar2; + int iVar3; + RNG rng; + RNG rng_00; + RNG rng_01; + RNG rng_02; + RNG rng_03; + RNG rng_04; + RNG rng_05; + char cVar4; + byte bVar5; + int iVar6; + RNG *pRVar7; + uint uVar8; + Entity_Player *pEVar9; + uint uVar10; uint uVar11; - int iVar12; - Entity_Player *pEVar13; - RNG *pRVar14; + WeightedOutcomePicker WVar12; + int iVar13; + undefined4 *puVar14; + Game *pGVar15; RNG *this_00; - RNG *this_01; - RNG *this_02; - RNG *this_03; - uint uVar15; - RNG RVar16; - uint uVar17; - int iVar18; - int iVar19; - RNG RVar20; - undefined4 *puVar21; - Game *pGVar22; - WeightedOutcomePicker WVar23; - RNG *this_04; - undefined4 uVar24; - undefined4 uVar25; - longlong lVar26; - undefined8 uVar27; - undefined4 uVar28; + undefined4 uVar16; + undefined4 uVar17; + undefined4 uVar18; + undefined4 uVar19; + undefined4 local_178; + undefined4 local_174; + undefined4 local_170; + undefined4 local_16c; + undefined4 local_168; + undefined4 local_164; + undefined4 local_160; + undefined4 local_15c; + undefined4 local_158; + undefined4 local_154; + undefined4 local_150; + undefined4 local_14c; + undefined4 local_148; + undefined4 local_144; + undefined4 local_140; + undefined4 local_13c; + undefined4 local_138; + undefined4 local_134; + undefined4 local_130; + undefined4 local_12c; + undefined4 local_128; + Entity_Player *local_124; + RNG *local_120; + RNG *local_11c; + undefined4 local_118; + RNG *local_114; + Entity_Pickup *local_110; + undefined4 local_10c; + Entity_Player *local_108; + RNG *local_104; + RNG *local_100; uint local_fc; + char local_f5; uint local_f4; + uint local_f0; + char local_ec; + char local_eb; + char local_ea; + char local_e9; int *local_e8; int local_e4; int local_e0; @@ -399179,28 +399583,12 @@ Entity_Pickup::GetChestLoot undefined4 *local_b0; undefined4 *local_ac; RNG local_a8; - undefined4 uStack_a4; - undefined4 uStack_a0; - undefined4 uStack_9c; RNG local_98; - undefined8 local_94; - undefined4 local_8c; RNG local_88; - undefined8 local_84; - undefined4 local_7c; RNG local_78; - undefined8 local_74; - undefined4 local_6c; RNG local_68; - undefined8 local_64; - undefined4 local_5c; RNG local_58; - undefined8 local_54; - undefined4 local_4c; RNG local_48; - WeightedOutcomePicker local_44; - undefined4 *puStack_40; - undefined4 *local_3c; uint local_38 [2]; undefined8 uStack_30; undefined4 local_28; @@ -399216,87 +399604,96 @@ Entity_Pickup::GetChestLoot local_1c = ExceptionList; local_24 = __security_cookie ^ (uint)(local_38 + 10); ExceptionList = &local_1c; - pRVar1 = &this->_dropRNG; + pRVar7 = &this->_dropRNG; local_bc = (RNG *)param_2; + local_118 = param_2; local_d0 = param_4; - local_48 = *pRVar1; - local_44 = (WeightedOutcomePicker)0x1; - puStack_40 = (undefined4 *)&DAT_00000005; - local_3c = (undefined4 *)0x10; - cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x16); - pRVar14 = &local_48; - local_94 = 0x500000001; - local_98 = *pRVar1; - if (cVar8 == '\0') { - pRVar14 = (RNG *)0x0; + local_48._seed = pRVar7->_seed; + local_48._shift1 = 1; + local_48._shift2 = (int)&DAT_00000005; + local_48._shift3 = 0x10; + local_110 = this; + cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x16); + local_114 = &local_48; + local_98._shift1 = 1; + local_98._shift2 = 5; + local_98._seed = pRVar7->_seed; + if (cVar4 == '\0') { + local_114 = (RNG *)0x0; } - local_8c = 0x13; - cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x2d); - this_00 = &local_98; - local_84 = 0x900000001; - local_88 = *pRVar1; - if (cVar8 == '\0') { - this_00 = (RNG *)0x0; + local_98._shift3 = 0x13; + cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x2d); + local_104 = &local_98; + local_88._shift1 = 1; + local_88._shift2 = 9; + local_88._seed = pRVar7->_seed; + if (cVar4 == '\0') { + local_104 = (RNG *)0x0; } - local_7c = 0x1d; - cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x2c); - this_01 = &local_88; - local_54 = 0xb00000001; - local_58 = *pRVar1; - if (cVar8 == '\0') { - this_01 = (RNG *)0x0; + local_88._shift3 = 0x1d; + cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x2c); + local_100 = &local_88; + local_58._shift1 = 1; + local_58._shift2 = 0xb; + local_58._seed = pRVar7->_seed; + if (cVar4 == '\0') { + local_100 = (RNG *)0x0; } - local_4c = 6; - cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x29); - this_02 = &local_58; - local_74 = 0xb00000001; - local_78 = *pRVar1; - if (cVar8 == '\0') { - this_02 = (RNG *)0x0; + local_58._shift3 = 6; + cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x29); + local_11c = &local_58; + local_78._shift1 = 1; + local_78._shift2 = 0xb; + local_78._seed = pRVar7->_seed; + if (cVar4 == '\0') { + local_11c = (RNG *)0x0; } - local_6c = 0x10; - cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x22); - this_03 = &local_78; - local_64 = 0x1300000001; - local_68 = *pRVar1; - if (cVar8 == '\0') { - this_03 = (RNG *)0x0; + local_78._shift3 = 0x10; + cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x22); + local_120 = &local_78; + local_68._shift1 = 1; + local_68._shift2 = 0x13; + local_68._seed = pRVar7->_seed; + if (cVar4 == '\0') { + local_120 = (RNG *)0x0; } - local_5c = 3; - cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x24); + local_68._shift3 = 3; + cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x24); local_e8 = (int *)0x0; local_bc = &local_68; local_e4 = 0; - if (cVar8 == '\0') { + if (cVar4 == '\0') { local_bc = (RNG *)0x0; } local_e0 = 0; local_dc = 0; local_d8 = 0; local_e8 = (int *)operator_new(8); + uVar17 = local_118; local_e8[1] = 0; *local_e8 = (int)&local_e8; local_14 = 0; - this_04 = &local_a8; + this_00 = &local_a8; if (param_3 != 0) { - this_04 = pRVar1; + this_00 = pRVar7; } - uVar11 = param_3 ^ 1; - local_a8 = *pRVar1; - uStack_a4 = *(undefined4 *)&this->field_0x3e0; - uStack_a0 = *(undefined4 *)&this->field_0x3e4; - uStack_9c = *(undefined4 *)&this->field_0x3e8; - if (((this->_variant == 0x35) && (g_game->_stage != 0xb)) && ((uint)this->_subtype < 2)) { - RVar16 = *this_04; - if (RVar16 == (RNG)0x0) { + local_f0 = param_3 ^ 1; + local_a8._seed = pRVar7->_seed; + local_a8._shift1 = (this->_dropRNG)._shift1; + local_a8._shift2 = (this->_dropRNG)._shift2; + local_a8._shift3 = (this->_dropRNG)._shift3; + if (((local_110->_variant == 0x35) && (g_game->_stage != 0xb)) && ((uint)local_110->_subtype < 2)) + { + uVar10 = this_00->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar16 >> (SUB41(this_04[1],0) & 0x1f) ^ (uint)RVar16; - uVar15 = uVar15 ^ uVar15 << (SUB41(this_04[2],0) & 0x1f); - RVar16 = (RNG)(uVar15 ^ uVar15 >> (SUB41(this_04[3],0) & 0x1f)); - *this_04 = RVar16; - if (((uint)RVar16 & 3) == 0) { + uVar10 = uVar10 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 ^ uVar10 << ((byte)this_00->_shift2 & 0x1f); + uVar10 = uVar10 ^ uVar10 >> ((byte)this_00->_shift3 & 0x1f); + this_00->_seed = uVar10; + if ((uVar10 & 3) == 0) { LootList::LootList(&local_e8); if (local_d8 != 0) { do { @@ -399305,40 +399702,43 @@ Entity_Pickup::GetChestLoot local_dc = 0; local_d8 = 0; } - iVar19 = local_e4; - iVar12 = local_e0; + iVar6 = local_e4; + iVar13 = local_e0; if (local_e0 != 0) { do { - iVar18 = iVar12 + -1; - if (*(int *)(iVar19 + -4 + iVar12 * 4) != 0) { - operator_delete(); - iVar19 = local_e4; + iVar3 = *(int *)(iVar6 + -4 + iVar13 * 4); + iVar13 = iVar13 + -1; + if (iVar3 != 0) { + operator_delete(iVar3,0x14); + iVar6 = local_e4; } - iVar12 = iVar18; - } while (iVar18 != 0); + } while (iVar13 != 0); } - if (iVar19 == 0) { -LAB_006db183: - local_e0 = 0; - local_e4 = 0; - local_e8 = (int *)0x0; - operator_delete(); - ExceptionList = local_1c; - return param_2; + if (iVar6 != 0) { + uVar10 = local_e0 * 4; + iVar13 = iVar6; + if (0xfff < uVar10) { + iVar13 = *(int *)(iVar6 + -4); + uVar10 = uVar10 + 0x23; + if (0x1f < (iVar6 - iVar13) - 4U) goto LAB_006dc7b3; + } + operator_delete(iVar13,uVar10); } - if (((uint)(local_e0 * 4) < 0x1000) || ((iVar19 - *(int *)(iVar19 + -4)) - 4U < 0x20)) { - operator_delete(); - goto LAB_006db183; - } - goto LAB_006dc7b3; + piVar2 = local_e8; + local_e0 = 0; + local_e4 = 0; + local_e8 = (int *)0x0; + operator_delete(piVar2,8); + ExceptionList = local_1c; + return uVar17; } } - cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x16); - bVar4 = false; + local_f5 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x16); + local_e9 = '\0'; local_c9 = '\0'; - bVar6 = false; - bVar5 = false; - bVar7 = false; + local_eb = '\0'; + local_ea = '\0'; + local_ec = '\0'; local_38[0] = 0x2d; local_38[1] = 0x2c; uStack_30 = 0x2900000022; @@ -399346,70 +399746,78 @@ LAB_006db183: local_fc = 0; local_b8 = g_game; do { - uVar15 = local_38[local_fc]; + uVar10 = local_38[local_fc]; local_c8 = (g_manager->_itemConfig)._trinkets._begin; - if ((((int)(uVar15 & 0x7fff) < (int)(g_manager->_itemConfig)._trinkets._end - (int)local_c8 >> 2 - ) && (iVar19 = *(int *)((int)local_c8 + (uVar15 & 0x7fff) * 4), iVar19 != 0)) && - ((*(uint *)(iVar19 + 0xb8) & 0x80000000) != 0)) { + if ((((int)(uVar10 & 0x7fff) < (int)(g_manager->_itemConfig)._trinkets._end - (int)local_c8 >> 2 + ) && (iVar6 = *(int *)((int)local_c8 + (uVar10 & 0x7fff) * 4), iVar6 != 0)) && + ((*(uint *)(iVar6 + 0xb8) & 0x80000000) != 0)) { local_c1 = '\x01'; } else { local_c1 = '\0'; } - puVar21 = (local_b8->_playerManager)._playerList._begin; - if (puVar21 != (local_b8->_playerManager)._playerList._end) { + puVar14 = (local_b8->_playerManager)._playerList._begin; + local_f4 = uVar10; + if (puVar14 != (local_b8->_playerManager)._playerList._end) { do { - pEVar13 = (Entity_Player *)*puVar21; - if (pEVar13->_variant == 0) { - bVar9 = Entity_Player::HasTrinket(pEVar13,uVar15,0); - if (bVar9 == 0) { - if (((local_c1 == '\0') || (pEVar13->_backupPlayer == (Entity_Player *)0x0)) || - (bVar9 = Entity_Player::HasTrinket(pEVar13->_backupPlayer,local_38[local_fc],0), - bVar9 == 0)) goto LAB_006db2ef; - pEVar13 = pEVar13->_backupPlayer; - } - if (pEVar13 != (Entity_Player *)0x0) { - if ((uVar15 == 0x22) && (cVar8 != '\0')) { - RVar16 = *this_04; - if (RVar16 == (RNG)0x0) { - /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); - } - uVar17 = (uint)RVar16 >> (SUB41(this_04[1],0) & 0x1f) ^ (uint)RVar16; - uVar17 = uVar17 << (SUB41(this_04[2],0) & 0x1f) ^ uVar17; - RVar16 = (RNG)(uVar17 >> (SUB41(this_04[3],0) & 0x1f) ^ uVar17); - *this_04 = RVar16; - if ((uint)RVar16 % 5 != 0) goto switchD_006db41f_caseD_23; + local_108 = (Entity_Player *)*puVar14; + if (local_108->_variant == 0) { + bVar5 = Entity_Player::HasTrinket(local_108,uVar10,0); + if (bVar5 == 0) { + if (((local_c1 == '\0') || (local_108->_backupPlayer == (Entity_Player *)0x0)) || + (bVar5 = Entity_Player::HasTrinket(local_108->_backupPlayer,local_38[local_fc],0), + bVar5 == 0)) { + uVar10 = local_f4; + goto LAB_006db2ef; } - iVar19 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,uVar15); + pEVar9 = local_108->_backupPlayer; + } + else { + pEVar9 = local_108; + } + uVar10 = local_f4; + if (pEVar9 != (Entity_Player *)0x0) { + if ((local_f4 == 0x22) && (local_f5 != '\0')) { + uVar11 = this_00->_seed; + if (uVar11 == 0) { + /* WARNING: Subroutine does not return */ + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); + } + uVar11 = uVar11 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar11; + uVar11 = uVar11 << ((byte)this_00->_shift2 & 0x1f) ^ uVar11; + uVar11 = uVar11 >> ((byte)this_00->_shift3 & 0x1f) ^ uVar11; + this_00->_seed = uVar11; + if (uVar11 % 5 != 0) goto switchD_006db41f_caseD_23; + } + iVar6 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,local_f4); local_c8 = (void *)0x21; - if (iVar19 == 2) { + if (iVar6 == 2) { local_c8 = (void *)0x42; } - else if (2 < iVar19) { + else if (2 < iVar6) { local_c8 = (void *)0x64; } - RVar16 = *this_04; - if (RVar16 == (RNG)0x0) { + uVar11 = this_00->_seed; + if (uVar11 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar17 = (uint)RVar16 >> (SUB41(this_04[1],0) & 0x1f) ^ (uint)RVar16; - uVar17 = uVar17 << (SUB41(this_04[2],0) & 0x1f) ^ uVar17; - RVar16 = (RNG)(uVar17 >> (SUB41(this_04[3],0) & 0x1f) ^ uVar17); - *this_04 = RVar16; - if ((void *)((uint)RVar16 % 100) < local_c8) { - switch(uVar15) { + uVar11 = uVar11 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar11; + uVar11 = uVar11 << ((byte)this_00->_shift2 & 0x1f) ^ uVar11; + uVar11 = uVar11 >> ((byte)this_00->_shift3 & 0x1f) ^ uVar11; + this_00->_seed = uVar11; + if ((void *)(uVar11 % 100) < local_c8) { + switch(uVar10) { case 0x22: - bVar6 = true; + local_eb = '\x01'; local_b8 = g_game; goto LAB_006db495; case 0x24: - bVar7 = true; + local_ec = '\x01'; local_b8 = g_game; goto LAB_006db495; case 0x29: - bVar5 = true; + local_ea = '\x01'; local_b8 = g_game; goto LAB_006db495; case 0x2c: @@ -399417,7 +399825,7 @@ LAB_006db183: local_b8 = g_game; goto LAB_006db495; case 0x2d: - bVar4 = true; + local_e9 = '\x01'; } } } @@ -399426,27 +399834,27 @@ switchD_006db41f_caseD_23: goto LAB_006db495; } LAB_006db2ef: - puVar21 = puVar21 + 1; - } while (puVar21 != (local_b8->_playerManager)._playerList._end); + puVar14 = puVar14 + 1; + } while (puVar14 != (local_b8->_playerManager)._playerList._end); local_b8 = g_game; } LAB_006db495: - pGVar22 = local_b8; + pGVar15 = local_b8; local_fc = local_fc + 1; } while (local_fc < 5); - if (((local_b8->_difficulty == 2) || (local_b8->_difficulty == 3)) || - ((local_b8->_stage != 0xb || (1 < *(int *)&local_b8->_deathmatchManager)))) { - pDVar2 = &local_b8->_deathmatchManager; - piVar3 = &local_b8->_startingRoomIdx; + if ((((local_b8->_difficulty == 2) || (local_b8->_difficulty == 3)) || (local_b8->_stage != 0xb)) + || (1 < *(int *)&local_b8->_deathmatchManager)) { + pDVar1 = &local_b8->_deathmatchManager; + piVar2 = &local_b8->_startingRoomIdx; local_f4 = local_b8->_currentRoomIdx; local_cb = '\0'; - local_b8 = (Game *)*piVar3; - if (*(int *)pDVar2 < 2) goto LAB_006db512; + local_b8 = (Game *)*piVar2; + if (*(int *)pDVar1 < 2) goto LAB_006db512; LAB_006db536: if (local_d0 != (Entity_Player *)0x0) { - bVar9 = Entity_Player::HasTrinket(local_d0,0x4c,0); - if (bVar9 != 0) goto LAB_006db557; - pGVar22 = g_game; + bVar5 = Entity_Player::HasTrinket(local_d0,0x4c,0); + if (bVar5 != 0) goto LAB_006db557; + pGVar15 = g_game; } LAB_006db5e9: local_ca = '\0'; @@ -399457,543 +399865,566 @@ LAB_006db5e9: local_cb = '\x01'; local_b8 = (Game *)local_b8->_startingRoomIdx; LAB_006db512: - cVar10 = PlayerManager::AnyoneHasTrinket(&pGVar22->_playerManager,0x4c); - if (cVar10 == '\0') { - pGVar22 = g_game; + cVar4 = PlayerManager::AnyoneHasTrinket(&pGVar15->_playerManager,0x4c); + if (cVar4 == '\0') { + pGVar15 = g_game; if (1 < *(int *)&g_game->_deathmatchManager) goto LAB_006db536; goto LAB_006db5e9; } LAB_006db557: - RVar16 = *this_04; + uVar10 = this_00->_seed; local_ca = '\x01'; uStack_30 = 0x1500000001; local_c8 = (RNG *)0x14; - if (RVar16 == (RNG)0x0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar16 >> 1 ^ (uint)RVar16; - uVar17 = uVar15 << 0x15 ^ uVar15; - local_c8 = (RNG *)(CONCAT31((uint3)(uVar17 >> 0x1c),~(byte)(uVar17 >> 0x14) ^ (byte)uVar15) & + uVar10 = uVar10 >> 1 ^ uVar10; + uVar11 = uVar10 << 0x15 ^ uVar10; + local_c8 = (RNG *)(CONCAT31((uint3)(uVar11 >> 0x1c),~(byte)(uVar11 >> 0x14) ^ (byte)uVar10) & 0xffffff01); - pGVar22 = g_game; + pGVar15 = g_game; } - iVar19 = this->_variant; - if (iVar19 == 0x38) { - local_44 = (WeightedOutcomePicker)0x0; - puStack_40 = (undefined4 *)0x0; - local_3c = (undefined4 *)0x0; + local_108 = (Entity_Player *)local_110->_variant; + if (local_108 == (Entity_Player *)0x38) { + local_48._shift1 = 0; + local_48._shift2 = 0; + local_48._shift3 = 0; local_14 = CONCAT31(local_14._1_3_,1); local_c0 = 0; local_bc = (RNG *)0x2; - std::vector<8byte>::_Emplace_reallocate(); - uVar15 = 0; - uVar17 = (int)puStack_40 - (int)local_44 >> 3; - if (uVar17 != 0) { + std::vector<8byte>::_Emplace_reallocate(0,&local_c0); + uVar10 = 0; + uVar11 = local_48._shift2 - local_48._shift1 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_44 + uVar15 * 8) == 1) { - piVar3 = (int *)((int)local_44 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 10; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_44 + 4 + uVar15 * 8) = 0; + if (*(int *)(local_48._shift1 + uVar10 * 8) == 1) { + piVar2 = (int *)(local_48._shift1 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 10; + if (*piVar2 < 0) { + *(undefined4 *)(local_48._shift1 + 4 + uVar10 * 8) = 0; } goto LAB_006db6c0; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 1; local_bc = (RNG *)0xa; - if (puStack_40 == local_3c) { - std::vector<8byte>::_Emplace_reallocate(); + if (local_48._shift2 == local_48._shift3) { + std::vector<8byte>::_Emplace_reallocate(local_48._shift2,&local_c0); } else { - *puStack_40 = 1; - puStack_40[1] = 10; - puStack_40 = puStack_40 + 2; + *(undefined4 *)local_48._shift2 = 1; + *(undefined4 *)(local_48._shift2 + 4) = 10; + local_48._shift2 = (int)(local_48._shift2 + 8); } LAB_006db6c0: - uVar15 = 0; - uVar17 = (int)puStack_40 - (int)local_44 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = local_48._shift2 - local_48._shift1 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_44 + uVar15 * 8) == 2) { - piVar3 = (int *)((int)local_44 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 10; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_44 + 4 + uVar15 * 8) = 0; + if (*(int *)(local_48._shift1 + uVar10 * 8) == 2) { + piVar2 = (int *)(local_48._shift1 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 10; + if (*piVar2 < 0) { + *(undefined4 *)(local_48._shift1 + 4 + uVar10 * 8) = 0; } goto LAB_006db72a; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 2; local_bc = (RNG *)0xa; - if (puStack_40 == local_3c) { - std::vector<8byte>::_Emplace_reallocate(); + if (local_48._shift2 == local_48._shift3) { + std::vector<8byte>::_Emplace_reallocate(local_48._shift2,&local_c0); } else { - *puStack_40 = 2; - puStack_40[1] = 10; - puStack_40 = puStack_40 + 2; + *(undefined4 *)local_48._shift2 = 2; + *(undefined4 *)(local_48._shift2 + 4) = 10; + local_48._shift2 = (int)(local_48._shift2 + 8); } LAB_006db72a: - RVar16 = *this_04; - if (RVar16 == (RNG)0x0) { + uVar10 = this_00->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar16 >> (SUB41(this_04[1],0) & 0x1f) ^ (uint)RVar16; - uVar15 = uVar15 ^ uVar15 << (SUB41(this_04[2],0) & 0x1f); - RVar16 = (RNG)(uVar15 ^ uVar15 >> (SUB41(this_04[3],0) & 0x1f)); - *this_04 = RVar16; - local_d0 = (Entity_Player *)WeightedOutcomePicker::PickOutcome(&local_44,RVar16,0x900000005,7); - RVar16 = *this_04; - if (RVar16 == (RNG)0x0) { + uVar10 = uVar10 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 ^ uVar10 << ((byte)this_00->_shift2 & 0x1f); + uVar10 = uVar10 ^ uVar10 >> ((byte)this_00->_shift3 & 0x1f); + this_00->_seed = uVar10; + rng._shift1 = 5; + rng._seed = uVar10; + rng._shift2 = 9; + rng._shift3 = 7; + local_d0 = (Entity_Player *) + WeightedOutcomePicker::PickOutcome((WeightedOutcomePicker *)&local_48._shift1,rng); + uVar10 = this_00->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar16 >> (SUB41(this_04[1],0) & 0x1f) ^ (uint)RVar16; - uVar15 = uVar15 ^ uVar15 << (SUB41(this_04[2],0) & 0x1f); - RVar16 = (RNG)(uVar15 ^ uVar15 >> (SUB41(this_04[3],0) & 0x1f)); - *this_04 = RVar16; - iVar19 = ((uint)RVar16 & 1) + 2; + uVar10 = uVar10 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 ^ uVar10 << ((byte)this_00->_shift2 & 0x1f); + uVar10 = uVar10 ^ uVar10 >> ((byte)this_00->_shift3 & 0x1f); + this_00->_seed = uVar10; + uVar11 = (uVar10 & 1) + 2; + local_fc = uVar11; if (local_d0 != (Entity_Player *)0x0) { - if (RVar16 == (RNG)0x0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar16 >> (SUB41(this_04[1],0) & 0x1f) ^ (uint)RVar16; - uVar15 = uVar15 ^ uVar15 << (SUB41(this_04[2],0) & 0x1f); - RVar20 = (RNG)(uVar15 ^ uVar15 >> (SUB41(this_04[3],0) & 0x1f)); - *this_04 = RVar20; - if ((RVar20 != (RNG)(((uint)RVar20 / 3) * 3)) && - (cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x2a), cVar8 != '\0')) { - iVar19 = ((uint)RVar16 & 1) + 3; + uVar10 = uVar10 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 ^ uVar10 << ((byte)this_00->_shift2 & 0x1f); + uVar10 = uVar10 ^ uVar10 >> ((byte)this_00->_shift3 & 0x1f); + this_00->_seed = uVar10; + if (uVar10 != (uVar10 / 3) * 3) { + cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x2a); + uVar11 = local_fc; + if (cVar4 != '\0') { + uVar11 = local_fc + 1; + } } } - if (bVar4) { - RVar16 = *this_00; - if (RVar16 == (RNG)0x0) { + if (local_e9 == '\0') { + if (local_c9 != '\0') { + uVar10 = local_100->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); + } + uVar10 = uVar10 >> ((byte)local_100->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)local_100->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)local_100->_shift3 & 0x1f) ^ uVar10; + uVar17 = 0x46; + goto LAB_006db911; } - uVar15 = (uint)RVar16 >> (SUB41(this_00[1],0) & 0x1f) ^ (uint)RVar16; - uVar15 = uVar15 << (SUB41(this_00[2],0) & 0x1f) ^ uVar15; - uVar15 = uVar15 >> (SUB41(this_00[3],0) & 0x1f) ^ uVar15; - uVar24 = 300; + } + else { + uVar10 = local_104->_seed; + if (uVar10 == 0) { + /* WARNING: Subroutine does not return */ + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); + } + uVar10 = uVar10 >> ((byte)local_104->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)local_104->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)local_104->_shift3 & 0x1f) ^ uVar10; + uVar17 = 300; LAB_006db911: - std::deque::push_back(5,uVar24,(ulonglong)uVar15 << 0x20,0); + std::deque::push_back(5,uVar17,0,uVar10,0); } - else if (local_c9 != '\0') { - RVar16 = *this_01; - if (RVar16 == (RNG)0x0) { - /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); - } - uVar15 = (uint)RVar16 >> (SUB41(this_01[1],0) & 0x1f) ^ (uint)RVar16; - uVar15 = uVar15 << (SUB41(this_01[2],0) & 0x1f) ^ uVar15; - uVar15 = uVar15 >> (SUB41(this_01[3],0) & 0x1f) ^ uVar15; - uVar24 = 0x46; - goto LAB_006db911; - } - iVar12 = PlayerManager::FirstCollectibleOwner - (&g_game->_playerManager,199,&g_game->_playerManager,1); - if (iVar12 != 0) { - iVar19 = iVar19 * 2; + iVar6 = PlayerManager::FirstCollectibleOwner + (&g_game->_playerManager,199,&g_game->_playerManager,1); + if (iVar6 != 0) { + uVar11 = uVar11 * 2; } if (local_ca == '\0') { LAB_006db955: - RVar16 = *this_04; - if (iVar19 == 0) goto LAB_006dba2b; - if (RVar16 == (RNG)0x0) { + uVar10 = this_00->_seed; + if (uVar11 == 0) goto LAB_006dba2b; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar16 >> (SUB41(this_04[1],0) & 0x1f) ^ (uint)RVar16; - uVar15 = uVar15 ^ uVar15 << (SUB41(this_04[2],0) & 0x1f); - RVar16 = (RNG)(uVar15 ^ uVar15 >> (SUB41(this_04[3],0) & 0x1f)); - *this_04 = RVar16; - iVar12 = WeightedOutcomePicker::PickOutcome(&local_44,RVar16,0x900000005,7); - if (iVar12 == 0) { - pRVar14 = (RNG *)RNG::Next(this_04); - pGVar22 = g_game; + uVar10 = uVar10 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 ^ uVar10 << ((byte)this_00->_shift2 & 0x1f); + uVar10 = uVar10 ^ uVar10 >> ((byte)this_00->_shift3 & 0x1f); + this_00->_seed = uVar10; + rng_00._shift1 = 5; + rng_00._seed = uVar10; + rng_00._shift2 = 9; + rng_00._shift3 = 7; + uVar10 = WeightedOutcomePicker::PickOutcome((WeightedOutcomePicker *)&local_48._shift1,rng_00) + ; + if (uVar10 == 0) { + pRVar7 = (RNG *)RNG::Next(this_00); + pGVar15 = g_game; if (local_ca == '\0') { - local_c8 = pRVar14; - uVar15 = RNG::Next(this_04); - uVar24 = ItemPool::GetCollectible(&pGVar22->_itemPool,0x1d,uVar15,uVar11,0,0); - lVar26 = CONCAT44(local_c8,uVar24); - uVar25 = 100; - uVar24 = 5; + local_c8 = pRVar7; + uVar10 = RNG::Next(this_00); + uVar17 = ItemPool::GetCollectible(&pGVar15->_itemPool,0x1d,uVar10,local_f0,0,0); + uVar18 = 100; + uVar16 = 5; + pRVar7 = local_c8; } else { - uVar24 = FUN_006ee640(0x1d,0,this_04,uVar11); - lVar26 = CONCAT44(pRVar14,uVar24); - uVar25 = 100; - uVar24 = 5; + uVar17 = FUN_006ee640(0x1d,0,this_00,local_f0); + uVar18 = 100; + uVar16 = 5; } goto LAB_006dba6b; } - if (iVar12 == 1) { + if (uVar10 == 1) { do { - RVar16 = *this_04; - if (RVar16 == (RNG)0x0) { + uVar10 = this_00->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar16 >> (SUB41(this_04[1],0) & 0x1f) ^ (uint)RVar16; - uVar11 = uVar11 << (SUB41(this_04[2],0) & 0x1f) ^ uVar11; - RVar16 = (RNG)(uVar11 >> (SUB41(this_04[3],0) & 0x1f) ^ uVar11); - *this_04 = RVar16; - std::deque::push_back(5,300,(ulonglong)(uint)RVar16 << 0x20,0); - iVar19 = iVar19 + -1; - } while (iVar19 != 0); + uVar10 = uVar10 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)this_00->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)this_00->_shift3 & 0x1f) ^ uVar10; + this_00->_seed = uVar10; + std::deque::push_back(5,300,0,uVar10,0); + uVar11 = uVar11 - 1; + } while (uVar11 != 0); } - else if (iVar12 == 2) { + else if (uVar10 == 2) { do { - RVar16 = *this_04; - if (RVar16 == (RNG)0x0) { + uVar10 = this_00->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar16 >> (SUB41(this_04[1],0) & 0x1f) ^ (uint)RVar16; - uVar11 = uVar11 << (SUB41(this_04[2],0) & 0x1f) ^ uVar11; - RVar16 = (RNG)(uVar11 >> (SUB41(this_04[3],0) & 0x1f) ^ uVar11); - *this_04 = RVar16; - std::deque::push_back(5,0x46,(ulonglong)(uint)RVar16 << 0x20,0); - iVar19 = iVar19 + -1; - } while (iVar19 != 0); + uVar10 = uVar10 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)this_00->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)this_00->_shift3 & 0x1f) ^ uVar10; + this_00->_seed = uVar10; + std::deque::push_back(5,0x46,0,uVar10,0); + uVar11 = uVar11 - 1; + } while (uVar11 != 0); } } else { if ((char)local_c8 != '\0') { - iVar19 = iVar19 * 2; + uVar11 = uVar11 * 2; goto LAB_006db955; } - RVar16 = *this_04; + uVar10 = this_00->_seed; LAB_006dba2b: - if (RVar16 == (RNG)0x0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar16 >> (SUB41(this_04[1],0) & 0x1f) ^ (uint)RVar16; - uVar11 = uVar11 ^ uVar11 << (SUB41(this_04[2],0) & 0x1f); - RVar16 = (RNG)(uVar11 ^ uVar11 >> (SUB41(this_04[3],0) & 0x1f)); - lVar26 = (ulonglong)(uint)RVar16 << 0x20; - uVar25 = 0; - *this_04 = RVar16; - uVar24 = 0x12; + uVar10 = uVar10 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 ^ uVar10 << ((byte)this_00->_shift2 & 0x1f); + pRVar7 = (RNG *)(uVar10 ^ uVar10 >> ((byte)this_00->_shift3 & 0x1f)); + uVar17 = 0; + uVar18 = 0; + this_00->_seed = (int)pRVar7; + uVar16 = 0x12; LAB_006dba6b: - std::deque::push_back(uVar24,uVar25,lVar26,0); + std::deque::push_back(uVar16,uVar18,uVar17,pRVar7,0); } local_14 = local_14 & 0xffffff00; - if (local_44 != (WeightedOutcomePicker)0x0) { - if ((((int)local_3c - (int)local_44 & 0xfffffff8U) < 0x1000) || - (((int)local_44 - *(int *)((int)local_44 + -4)) - 4U < 0x20)) { - operator_delete(); - goto LAB_006ddbc9; + if ((WeightedOutcomePicker)local_48._shift1 != (WeightedOutcomePicker)0x0) { + uVar10 = local_48._shift3 - local_48._shift1 & 0xfffffff8; + WVar12 = (WeightedOutcomePicker)local_48._shift1; + if (0xfff < uVar10) { + WVar12 = *(WeightedOutcomePicker *)(local_48._shift1 + -4); + uVar10 = uVar10 + 0x23; + if (0x1f < (local_48._shift1 - (int)WVar12) - 4U) goto LAB_006dc7b3; } - goto LAB_006dc7b3; + operator_delete(WVar12,uVar10); } goto LAB_006ddbc9; } - if (iVar19 != 0x168) { - if (iVar19 == 0x186) { + if (local_108 != (Entity_Player *)0x168) { + if (local_108 == (Entity_Player *)0x186) { if (((g_manager->_persistentGameData)._achievements[0x19f] == 0) && - (((g_manager->_state != 2 || (pGVar22 == (Game *)0x0)) || - (((pGVar22->_dailyChallenge)._id == 0 && (pGVar22->_isDebug == 0)))))) { - uVar11 = RNG::Next(this_04); - uVar27 = CONCAT44(uVar11,0x244); + (((g_manager->_state != 2 || (pGVar15 == (Game *)0x0)) || + (((pGVar15->_dailyChallenge)._id == 0 && (pGVar15->_isDebug == 0)))))) { + pRVar7 = (RNG *)RNG::Next(this_00); + uVar17 = 0x244; } else { - local_c8 = (RNG *)RNG::Next(this_04); - pGVar22 = g_game; - uVar15 = RNG::Next(this_04); - uVar24 = ItemPool::GetCollectible(&pGVar22->_itemPool,0xf,uVar15,uVar11,0,0); - uVar27 = CONCAT44(local_c8,uVar24); + local_c8 = (RNG *)RNG::Next(this_00); + pGVar15 = g_game; + uVar10 = RNG::Next(this_00); + uVar17 = ItemPool::GetCollectible(&pGVar15->_itemPool,0xf,uVar10,local_f0,0,0); + pRVar7 = local_c8; } goto LAB_006ddbba; } - if (iVar19 != 0x37) { - if (iVar19 != 0x45) { - if ((((iVar19 == 0x3c) || (iVar19 == 0x33)) || (iVar19 == 0x35)) || - (local_c1 = '\0', iVar19 == 0x39)) { + if (local_108 != (Entity_Player *)&DAT_00000037) { + if (local_108 != (Entity_Player *)0x45) { + if (((local_108 == (Entity_Player *)&DAT_0000003c) || + (local_108 == (Entity_Player *)&DAT_00000033)) || + ((local_108 == (Entity_Player *)0x35 || + (local_c1 = '\0', local_108 == (Entity_Player *)0x39)))) { local_c1 = '\x01'; } if (local_cb == '\0') { - if (iVar19 == 0x39) { - uVar15 = RNG::RandomInt(this_04,2); - if (uVar15 == 0) goto LAB_006ddb2c; - pGVar22 = g_game; + if (local_108 == (Entity_Player *)0x39) { + uVar10 = RNG::RandomInt(this_00,2); + if (uVar10 == 0) goto LAB_006ddb2c; + pGVar15 = g_game; } - local_44 = (WeightedOutcomePicker)0x0; - puStack_40 = (undefined4 *)0x0; - local_3c = (undefined4 *)0x0; + local_48._shift1 = 0; + local_48._shift2 = 0; + local_48._shift3 = 0; + local_f4 = (uint)(local_108 == (Entity_Player *)0x39) * 4 + 1; local_14._0_1_ = 5; if ((local_c1 == '\0') || - (cVar8 = PlayerManager::AnyoneHasTrinket(&pGVar22->_playerManager,0x9f), cVar8 == '\0') + (cVar4 = PlayerManager::AnyoneHasTrinket(&pGVar15->_playerManager,0x9f), cVar4 == '\0') ) { local_d4 = 0; local_d0 = (Entity_Player *)0xa; - std::vector<8byte>::_Emplace_reallocate(); - if (iVar19 != 0x39) { - uVar15 = 0; - local_b8 = (Game *)((int)puStack_40 - (int)local_44 >> 3); + std::vector<8byte>::_Emplace_reallocate(0,&local_d4); + pEVar9 = local_108; + if (local_108 != (Entity_Player *)0x39) { + uVar10 = 0; + local_b8 = (Game *)(local_48._shift2 - local_48._shift1 >> 3); if (local_b8 != (Game *)0x0) { do { - if (*(int *)((int)local_44 + uVar15 * 8) == 1) { - piVar3 = (int *)((int)local_44 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 1; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_44 + 4 + uVar15 * 8) = 0; + if (*(int *)(local_48._shift1 + uVar10 * 8) == 1) { + piVar2 = (int *)(local_48._shift1 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 1; + if (*piVar2 < 0) { + *(undefined4 *)(local_48._shift1 + 4 + uVar10 * 8) = 0; } goto LAB_006dcec4; } - uVar15 = uVar15 + 1; - } while (uVar15 < local_b8); + uVar10 = uVar10 + 1; + } while (uVar10 < local_b8); } local_d4 = 1; local_d0 = (Entity_Player *)0x1; - if (puStack_40 == local_3c) { - std::vector<8byte>::_Emplace_reallocate(); + if (local_48._shift2 == local_48._shift3) { + std::vector<8byte>::_Emplace_reallocate(local_48._shift2,&local_d4); } else { - *puStack_40 = 1; - puStack_40[1] = 1; - puStack_40 = puStack_40 + 2; + *(undefined4 *)local_48._shift2 = 1; + *(undefined4 *)(local_48._shift2 + 4) = 1; + local_48._shift2 = local_48._shift2 + 8; } LAB_006dcec4: - uVar15 = 0; - local_b8 = (Game *)((int)puStack_40 - (int)local_44 >> 3); + uVar10 = 0; + local_b8 = (Game *)(local_48._shift2 - local_48._shift1 >> 3); if (local_b8 != (Game *)0x0) { do { - if (*(int *)((int)local_44 + uVar15 * 8) == 2) { - piVar3 = (int *)((int)local_44 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 1; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_44 + 4 + uVar15 * 8) = 0; + if (*(int *)(local_48._shift1 + uVar10 * 8) == 2) { + piVar2 = (int *)(local_48._shift1 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 1; + if (*piVar2 < 0) { + *(undefined4 *)(local_48._shift1 + 4 + uVar10 * 8) = 0; } goto LAB_006dcf45; } - uVar15 = uVar15 + 1; - } while (uVar15 < local_b8); + uVar10 = uVar10 + 1; + } while (uVar10 < local_b8); } local_d4 = 2; local_d0 = (Entity_Player *)0x1; - if (puStack_40 == local_3c) { - std::vector<8byte>::_Emplace_reallocate(); + if (local_48._shift2 == local_48._shift3) { + std::vector<8byte>::_Emplace_reallocate(local_48._shift2,&local_d4); } else { - *puStack_40 = 2; - puStack_40[1] = 1; - puStack_40 = puStack_40 + 2; + *(undefined4 *)local_48._shift2 = 2; + *(undefined4 *)(local_48._shift2 + 4) = 1; + local_48._shift2 = local_48._shift2 + 8; } } LAB_006dcf45: if (local_c1 == '\0') { - WeightedOutcomePicker::AddOutcomeWeight(&local_44,4,10,0); - WeightedOutcomePicker::AddOutcomeWeight(&local_44,3,0x4e,0); + WeightedOutcomePicker::AddOutcomeWeight + ((WeightedOutcomePicker *)&local_48._shift1,4,10,0); + WeightedOutcomePicker::AddOutcomeWeight + ((WeightedOutcomePicker *)&local_48._shift1,3,0x4e,0); } else { - uVar15 = 0; - local_b8 = (Game *)((int)puStack_40 - (int)local_44 >> 3); + uVar10 = 0; + local_b8 = (Game *)(local_48._shift2 - local_48._shift1 >> 3); if (local_b8 != (Game *)0x0) { do { - if (*(int *)((int)local_44 + uVar15 * 8) == 5) { - piVar3 = (int *)((int)local_44 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 10; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_44 + 4 + uVar15 * 8) = 0; + if (*(int *)(local_48._shift1 + uVar10 * 8) == 5) { + piVar2 = (int *)(local_48._shift1 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 10; + if (*piVar2 < 0) { + *(undefined4 *)(local_48._shift1 + 4 + uVar10 * 8) = 0; } goto LAB_006dcfd4; } - uVar15 = uVar15 + 1; - } while (uVar15 < local_b8); + uVar10 = uVar10 + 1; + } while (uVar10 < local_b8); } local_d4 = 5; local_d0 = (Entity_Player *)0xa; - if (puStack_40 == local_3c) { - std::vector<8byte>::_Emplace_reallocate(); + if (local_48._shift2 == local_48._shift3) { + std::vector<8byte>::_Emplace_reallocate(local_48._shift2,&local_d4); } else { - *puStack_40 = 5; - puStack_40[1] = 10; - puStack_40 = puStack_40 + 2; + *(undefined4 *)local_48._shift2 = 5; + *(undefined4 *)(local_48._shift2 + 4) = 10; + local_48._shift2 = local_48._shift2 + 8; } LAB_006dcfd4: - if (iVar19 != 0x39) { - uVar15 = 0; - uVar17 = (int)puStack_40 - (int)local_44 >> 3; - if (uVar17 != 0) { + if (pEVar9 != (Entity_Player *)0x39) { + uVar10 = 0; + uVar11 = local_48._shift2 - local_48._shift1 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_44 + uVar15 * 8) == 6) { - piVar3 = (int *)((int)local_44 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 0x14; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_44 + 4 + uVar15 * 8) = 0; + if (*(int *)(local_48._shift1 + uVar10 * 8) == 6) { + piVar2 = (int *)(local_48._shift1 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 0x14; + if (*piVar2 < 0) { + *(undefined4 *)(local_48._shift1 + 4 + uVar10 * 8) = 0; } goto LAB_006dd046; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_d4 = 6; local_d0 = (Entity_Player *)&DAT_00000014; - if (puStack_40 == local_3c) { - std::vector<8byte>::_Emplace_reallocate(); + if (local_48._shift2 == local_48._shift3) { + std::vector<8byte>::_Emplace_reallocate(local_48._shift2,&local_d4); } else { - *puStack_40 = 6; - puStack_40[1] = 0x14; - puStack_40 = puStack_40 + 2; + *(undefined4 *)local_48._shift2 = 6; + *(undefined4 *)(local_48._shift2 + 4) = 0x14; + local_48._shift2 = local_48._shift2 + 8; } } LAB_006dd046: - uVar15 = 0; - uVar17 = (int)puStack_40 - (int)local_44 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = local_48._shift2 - local_48._shift1 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_44 + uVar15 * 8) == 3) { - piVar3 = (int *)((int)local_44 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 0x3a; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_44 + 4 + uVar15 * 8) = 0; + if (*(int *)(local_48._shift1 + uVar10 * 8) == 3) { + piVar2 = (int *)(local_48._shift1 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 0x3a; + if (*piVar2 < 0) { + *(undefined4 *)(local_48._shift1 + 4 + uVar10 * 8) = 0; } goto LAB_006dd0cb; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_d4 = 3; local_d0 = (Entity_Player *)0x3a; - if (puStack_40 == local_3c) { - std::vector<8byte>::_Emplace_reallocate(); + if (local_48._shift2 == local_48._shift3) { + std::vector<8byte>::_Emplace_reallocate(local_48._shift2,&local_d4); } else { - *puStack_40 = 3; - puStack_40[1] = 0x3a; - puStack_40 = puStack_40 + 2; + *(undefined4 *)local_48._shift2 = 3; + *(undefined4 *)(local_48._shift2 + 4) = 0x3a; + local_48._shift2 = local_48._shift2 + 8; } } } else { local_d4 = 7; local_d0 = (Entity_Player *)&DAT_00000050; - std::vector<8byte>::_Emplace_reallocate(); - if (iVar19 != 0x39) { - uVar15 = 0; - uVar17 = (int)puStack_40 - (int)local_44 >> 3; - if (uVar17 != 0) { + std::vector<8byte>::_Emplace_reallocate(0,&local_d4); + if (local_108 != (Entity_Player *)0x39) { + uVar10 = 0; + uVar11 = local_48._shift2 - local_48._shift1 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_44 + uVar15 * 8) == 6) { - piVar3 = (int *)((int)local_44 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 0x14; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_44 + 4 + uVar15 * 8) = 0; + if (*(int *)(local_48._shift1 + uVar10 * 8) == 6) { + piVar2 = (int *)(local_48._shift1 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 0x14; + if (*piVar2 < 0) { + *(undefined4 *)(local_48._shift1 + 4 + uVar10 * 8) = 0; } goto LAB_006dd0cb; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_d4 = 6; local_d0 = (Entity_Player *)&DAT_00000014; - if (puStack_40 == local_3c) { - std::vector<8byte>::_Emplace_reallocate(); + if (local_48._shift2 == local_48._shift3) { + std::vector<8byte>::_Emplace_reallocate(local_48._shift2,&local_d4); } else { - *puStack_40 = 6; - puStack_40[1] = 0x14; - puStack_40 = puStack_40 + 2; + *(undefined4 *)local_48._shift2 = 6; + *(undefined4 *)(local_48._shift2 + 4) = 0x14; + local_48._shift2 = local_48._shift2 + 8; } } } LAB_006dd0cb: local_fc = 0; do { - uVar15 = RNG::Next(this_04); - iVar12 = WeightedOutcomePicker::PickOutcome(&local_44,uVar15,0x900000005,7); - switch(iVar12) { + uVar10 = RNG::Next(this_00); + rng_04._shift1 = 5; + rng_04._seed = uVar10; + rng_04._shift2 = 9; + rng_04._shift3 = 7; + uVar10 = WeightedOutcomePicker::PickOutcome + ((WeightedOutcomePicker *)&local_48._shift1,rng_04); + switch(uVar10) { case 0: - uVar15 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 0x15e; + pEVar9 = (Entity_Player *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 0x15e; break; case 1: - uVar15 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 0x32; + pEVar9 = (Entity_Player *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 0x32; break; case 2: - uVar15 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 0x3c; + pEVar9 = (Entity_Player *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 0x3c; break; case 3: case 7: - uVar15 = 4; + uVar11 = 4; if (local_c1 != '\0') { - uVar15 = 7; + uVar11 = 7; } - uVar15 = RNG::RandomInt(this_04,uVar15); + uVar11 = RNG::RandomInt(this_00,uVar11); local_b8 = (Game *)2; - if (2 < (int)uVar15) { - local_b8 = (Game *)uVar15; + if (2 < (int)uVar11) { + local_b8 = (Game *)uVar11; } - if (bVar4) { - uVar15 = RNG::Next(this_00); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 300; -LAB_006dd20c: - std::deque::push_back(5,uVar24,lVar26,0); + if (local_e9 == '\0') { + if (local_c9 != '\0') { + uVar11 = RNG::Next(local_100); + uVar17 = 0x46; + goto LAB_006dd20c; + } + if (local_ea != '\0') { + uVar11 = RNG::Next(local_11c); + uVar17 = 0x28; + goto LAB_006dd20c; + } + if (local_eb != '\0') { + uVar11 = RNG::Next(local_120); + uVar17 = 10; + goto LAB_006dd20c; + } + if (local_ec != '\0') { + uVar11 = RNG::Next(local_bc); + uVar17 = 0x1e; + goto LAB_006dd20c; + } } else { - if (local_c9 != '\0') { - uVar15 = RNG::Next(this_01); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 0x46; - goto LAB_006dd20c; - } - if (bVar5) { - uVar15 = RNG::Next(this_02); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 0x28; - goto LAB_006dd20c; - } - if (bVar6) { - uVar15 = RNG::Next(this_03); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 10; - goto LAB_006dd20c; - } - if (bVar7) { - uVar15 = RNG::Next(local_bc); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 0x1e; - goto LAB_006dd20c; - } + uVar11 = RNG::Next(local_104); + uVar17 = 300; +LAB_006dd20c: + std::deque::push_back(5,uVar17,0,uVar11,0); } - uVar15 = RNG::RandomInt(this_04,3); - if ((uVar15 != 0) && - (cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x2a), - cVar8 != '\0')) { + uVar11 = RNG::RandomInt(this_00,3); + if ((uVar11 != 0) && + (cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x2a), + cVar4 != '\0')) { local_b8 = (Game *)((int)local_b8 + 1); } - iVar18 = PlayerManager::FirstCollectibleOwner - (&g_game->_playerManager,199,&g_game->_playerManager,1); - if (iVar18 != 0) { + iVar6 = PlayerManager::FirstCollectibleOwner + (&g_game->_playerManager,199,&g_game->_playerManager,1); + if (iVar6 != 0) { local_b8 = (Game *)((int)local_b8 * 2); } if (local_ca != '\0') { - uVar15 = (int)local_b8 * 2; + uVar11 = (int)local_b8 * 2; if ((char)local_c8 == '\0') { - uVar15 = 0; + uVar11 = 0; } - local_b8 = (Game *)uVar15; - if (uVar15 == 0) { - uVar17 = RNG::Next(this_04); - std::deque::push_back(0x12,0,0,uVar17,uVar15); + local_b8 = (Game *)uVar11; + if (uVar11 == 0) { + uVar8 = RNG::Next(this_00); + std::deque::push_back(0x12,0,0,uVar8,uVar11); local_b8 = (Game *)0x0; } } @@ -400001,29 +400432,33 @@ LAB_006dd20c: local_b0 = (undefined4 *)0x0; local_ac = (undefined4 *)0x0; local_14 = CONCAT31(local_14._1_3_,6); - if (iVar12 == 7) { - std::vector<8byte>::_Emplace_reallocate(); + if (uVar10 == 7) { + local_10c = 0; + local_108 = (Entity_Player *)0x19; + std::vector<8byte>::_Emplace_reallocate(0,&local_10c); local_d0 = (Entity_Player *)&DAT_00000014; - if (pRVar14 != (RNG *)0x0) { + if (local_114 != (RNG *)0x0) { local_d0 = (Entity_Player *)&DAT_00000004; } - uVar15 = 0; - uVar17 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 1) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = (int)(&(local_d0->_sprite)._filename + -3) + *piVar3; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 1) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = (int)(&(local_d0->_sprite)._filename + -3) + *piVar2; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dd3b2; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } + local_128 = 1; + local_124 = local_d0; if (local_b0 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_128); } else { *local_b0 = 1; @@ -400031,23 +400466,25 @@ LAB_006dd20c: local_b0 = local_b0 + 2; } LAB_006dd3b2: - uVar15 = 0; - uVar17 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 2) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 10; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 2) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 10; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dd42f; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } + local_130 = 2; + local_12c = 10; if (local_b0 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_130); } else { *local_b0 = 2; @@ -400055,23 +400492,25 @@ LAB_006dd3b2: local_b0 = local_b0 + 2; } LAB_006dd42f: - uVar15 = 0; - uVar17 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 3) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 0x14; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 3) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 0x14; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dd4af; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } + local_138 = 3; + local_134 = 0x14; if (local_b0 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_138); } else { *local_b0 = 3; @@ -400079,23 +400518,25 @@ LAB_006dd42f: local_b0 = local_b0 + 2; } LAB_006dd4af: - uVar15 = 0; - uVar17 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 4) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 5; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 4) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 5; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dd52f; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } + local_140 = 4; + local_13c = 5; if (local_b0 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_140); } else { *local_b0 = 4; @@ -400103,23 +400544,25 @@ LAB_006dd4af: local_b0 = local_b0 + 2; } LAB_006dd52f: - uVar15 = 0; - uVar17 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 5) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 5; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 5) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 5; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dd5af; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } + local_148 = 5; + local_144 = 5; if (local_b0 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_148); } else { *local_b0 = 5; @@ -400127,23 +400570,25 @@ LAB_006dd52f: local_b0 = local_b0 + 2; } LAB_006dd5af: - uVar15 = 0; - uVar17 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 6) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 5; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 6) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 5; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dd62f; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } + local_150 = 6; + local_14c = 5; if (local_b0 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_150); } else { *local_b0 = 6; @@ -400151,23 +400596,25 @@ LAB_006dd5af: local_b0 = local_b0 + 2; } LAB_006dd62f: - uVar15 = 0; - uVar17 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 7) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 5; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 7) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 5; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dd6af; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } + local_158 = 7; + local_154 = 5; if (local_b0 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_158); } else { *local_b0 = 7; @@ -400175,50 +400622,59 @@ LAB_006dd62f: local_b0 = local_b0 + 2; } LAB_006dd6af: - uVar15 = 0; - uVar17 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 8) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 5; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 8) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 5; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dd86b; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); + } + local_160 = 8; + local_15c = 5; + if (local_b0 == local_ac) { + puVar14 = &local_160; + goto LAB_006dd85a; } - if (local_b0 == local_ac) goto LAB_006dd85a; *local_b0 = 8; local_b0[1] = 5; local_b0 = local_b0 + 2; } else { - std::vector<8byte>::_Emplace_reallocate(); - uVar24 = 0x14; - if (pRVar14 != (RNG *)0x0) { - uVar24 = 4; + local_168 = 0; + local_164 = 0x23; + std::vector<8byte>::_Emplace_reallocate(0,&local_168); + uVar17 = 0x14; + if (local_114 != (RNG *)0x0) { + uVar17 = 4; } - WeightedOutcomePicker::AddOutcomeWeight(&local_b4,1,uVar24,0); - uVar15 = 0; - uVar17 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar17 != 0) { + WeightedOutcomePicker::AddOutcomeWeight(&local_b4,1,uVar17,0); + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 2) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 0xf; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 2) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 0xf; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dd7f5; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } + local_170 = 2; + local_16c = 0xf; if (local_b0 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_170); } else { *local_b0 = 2; @@ -400226,24 +400682,27 @@ LAB_006dd6af: local_b0 = local_b0 + 2; } LAB_006dd7f5: - uVar15 = 0; - uVar17 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 3) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 0x1e; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 3) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 0x1e; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dd86b; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } + local_178 = 3; + local_174 = 0x1e; if (local_b0 == local_ac) { + puVar14 = &local_178; LAB_006dd85a: - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,puVar14); } else { *local_b0 = 3; @@ -400254,70 +400713,74 @@ LAB_006dd85a: LAB_006dd86b: if (0 < (int)local_b8) { do { - uVar15 = RNG::Next(this_04); - uVar24 = WeightedOutcomePicker::PickOutcome(&local_b4,uVar15,0x900000005,7); - switch(uVar24) { + uVar10 = RNG::Next(this_00); + rng_05._shift1 = 5; + rng_05._seed = uVar10; + rng_05._shift2 = 9; + rng_05._shift3 = 7; + uVar10 = WeightedOutcomePicker::PickOutcome(&local_b4,rng_05); + switch(uVar10) { case 0: - uVar15 = RNG::RandomInt(this_04,3); - iVar12 = uVar15 + 1; - if (0 < iVar12) { + uVar10 = RNG::RandomInt(this_00,3); + iVar6 = uVar10 + 1; + if (0 < iVar6) { do { - uVar15 = RNG::Next(this_04); - std::deque::push_back(5,0x14,0,uVar15,0); - iVar12 = iVar12 + -1; - } while (iVar12 != 0); + uVar10 = RNG::Next(this_00); + std::deque::push_back(5,0x14,0,uVar10,0); + iVar6 = iVar6 + -1; + } while (iVar6 != 0); } goto switchD_006dd8b7_default; case 1: - uVar15 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 10; + pEVar9 = (Entity_Player *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 10; break; case 2: - uVar15 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 0x1e; + pEVar9 = (Entity_Player *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 0x1e; break; case 3: - uVar15 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 0x28; + pEVar9 = (Entity_Player *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 0x28; break; case 4: - uVar15 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 0x46; + pEVar9 = (Entity_Player *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 0x46; break; case 5: - uVar15 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 300; + pEVar9 = (Entity_Player *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 300; break; case 6: - local_d0 = (Entity_Player *)RNG::Next(this_04); - uVar15 = RNG::Next(this_04); - iVar12 = ItemPool::GetCardEx(uVar15,0,1,0,1); + local_d0 = (Entity_Player *)RNG::Next(this_00); + uVar10 = RNG::Next(this_00); + iVar6 = ItemPool::GetCardEx(uVar10,0,1,0,1); uStack_30 = 0x900000005; local_28 = 7; - local_38[1] = uVar15; - uVar24 = lua_callback_run_get_card(local_38 + 1,iVar12,0,1,1); - lVar26 = CONCAT44(local_d0,uVar24); - uVar24 = 300; + local_38[1] = uVar10; + uVar17 = lua_callback_run_get_card(local_38 + 1,iVar6,0,1,1); + uVar16 = 300; + pEVar9 = local_d0; break; case 7: - uVar15 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 0x15e; + pEVar9 = (Entity_Player *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 0x15e; break; case 8: - uVar15 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 0x5a; + pEVar9 = (Entity_Player *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 0x5a; break; default: goto switchD_006dd8b7_default; } - std::deque::push_back(5,uVar24,lVar26,0); + std::deque::push_back(5,uVar16,uVar17,pEVar9,0); switchD_006dd8b7_default: local_b8 = (Game *)((int)local_b8 - 1); } while (local_b8 != (Game *)0x0); @@ -400325,66 +400788,65 @@ switchD_006dd8b7_default: } local_14._0_1_ = 5; if (local_b4 != (WeightedOutcomePicker)0x0) { - deallocate(); + deallocate(local_b4,(int)local_ac - (int)local_b4 >> 3); local_b4 = (WeightedOutcomePicker)0x0; local_b0 = (undefined4 *)0x0; local_ac = (undefined4 *)0x0; } goto switchD_006dd10b_default; case 4: - uVar15 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 0x46; + pEVar9 = (Entity_Player *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 0x46; break; case 5: - uVar15 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar15 << 0x20; - uVar24 = 300; + pEVar9 = (Entity_Player *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 300; break; case 6: if (local_ca == '\0') { - local_d0 = (Entity_Player *)RNG::Next(this_04); - pGVar22 = g_game; - uVar15 = RNG::Next(this_04); - uVar24 = ItemPool::GetCollectible(&pGVar22->_itemPool,8,uVar15,uVar11,0,0); - pEVar13 = local_d0; + local_d0 = (Entity_Player *)RNG::Next(this_00); + pGVar15 = g_game; + uVar10 = RNG::Next(this_00); + uVar17 = ItemPool::GetCollectible(&pGVar15->_itemPool,8,uVar10,local_f0,0,0); + pEVar9 = local_d0; } else { local_d0 = (Entity_Player *)0x0; - if (this->_variant == 0x35) { + if (local_110->_variant == 0x35) { local_d0 = (Entity_Player *)&DAT_00000004; } - pEVar13 = (Entity_Player *)RNG::Next(this_04); - uVar24 = FUN_006ee640(8,local_d0,this_04,uVar11); + pEVar9 = (Entity_Player *)RNG::Next(this_00); + uVar17 = FUN_006ee640(8,local_d0,this_00,local_f0); } - lVar26 = CONCAT44(pEVar13,uVar24); - uVar24 = 100; + uVar16 = 100; break; default: goto switchD_006dd10b_default; } - std::deque::push_back(5,uVar24,lVar26,0); + std::deque::push_back(5,uVar16,uVar17,pEVar9,0); switchD_006dd10b_default: local_fc = local_fc + 1; - } while ((int)local_fc < (int)((uint)(iVar19 == 0x39) * 4 + 1)); + } while ((int)local_fc < (int)local_f4); local_14 = (uint)local_14._1_3_ << 8; - if (local_44 != (WeightedOutcomePicker)0x0) { - deallocate(); + if ((WeightedOutcomePicker)local_48._shift1 != (WeightedOutcomePicker)0x0) { + deallocate(local_48._shift1,local_48._shift3 - local_48._shift1 >> 3); } goto LAB_006ddbc9; } LAB_006ddb2c: - local_bc = (RNG *)RNG::Next(this_04); - pGVar22 = g_game; - uVar15 = RNG::Next(this_04); - uVar24 = ItemPool::GetCollectible(&pGVar22->_itemPool,0,uVar15,uVar11,0,0); - std::deque::push_back(5,100,uVar24,local_bc,0); - if (iVar19 != 0x39) goto LAB_006ddbc9; - local_bc = (RNG *)RNG::Next(this_04); - pGVar22 = g_game; - uVar15 = RNG::Next(this_04); - uVar24 = ItemPool::GetCollectible(&pGVar22->_itemPool,0,uVar15,uVar11,0,0); - pRVar14 = local_bc; + local_bc = (RNG *)RNG::Next(this_00); + pGVar15 = g_game; + uVar10 = RNG::Next(this_00); + uVar17 = ItemPool::GetCollectible(&pGVar15->_itemPool,0,uVar10,local_f0,0,0); + std::deque::push_back(5,100,uVar17,local_bc,0); + if (local_108 != (Entity_Player *)0x39) goto LAB_006ddbc9; + local_bc = (RNG *)RNG::Next(this_00); + pGVar15 = g_game; + uVar10 = RNG::Next(this_00); + uVar17 = ItemPool::GetCollectible(&pGVar15->_itemPool,0,uVar10,local_f0,0,0); + pRVar7 = local_bc; goto LAB_006ddbb9; } local_b4 = (WeightedOutcomePicker)0x0; @@ -400393,27 +400855,27 @@ LAB_006ddb2c: local_14 = CONCAT31(local_14._1_3_,4); local_c0 = 0x28; local_bc = (RNG *)&DAT_0000000f; - if (this->_subtype == 2) { - std::vector<8byte>::_Emplace_reallocate(); - uVar11 = 0; - uVar15 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar15 != 0) { + if (local_110->_subtype == 2) { + std::vector<8byte>::_Emplace_reallocate(0,&local_c0); + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar11 * 8) == 0x6000a) { - piVar3 = (int *)((int)local_b4 + 4 + uVar11 * 8); - *piVar3 = *piVar3 + 10; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar11 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 0x6000a) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 10; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dc8a2; } - uVar11 = uVar11 + 1; - } while (uVar11 < uVar15); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 0x6000a; local_bc = (RNG *)0xa; if (local_b0 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_c0); } else { *local_b0 = 0x6000a; @@ -400421,25 +400883,25 @@ LAB_006ddb2c: local_b0 = local_b0 + 2; } LAB_006dc8a2: - uVar11 = 0; - uVar15 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar15 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar11 * 8) == 0xb000a) { - piVar3 = (int *)((int)local_b4 + 4 + uVar11 * 8); - *piVar3 = *piVar3 + 5; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar11 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 0xb000a) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 5; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dc922; } - uVar11 = uVar11 + 1; - } while (uVar11 < uVar15); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 0xb000a; local_bc = (RNG *)&DAT_00000005; if (local_b0 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_c0); } else { *local_b0 = 0xb000a; @@ -400447,20 +400909,20 @@ LAB_006dc8a2: local_b0 = local_b0 + 2; } LAB_006dc922: - uVar11 = 0; - uVar15 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar15 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar11 * 8) == 0x46) { - piVar3 = (int *)((int)local_b4 + 4 + uVar11 * 8); - *piVar3 = *piVar3 + 0xf; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar11 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 0x46) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 0xf; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dcb9c; } - uVar11 = uVar11 + 1; - } while (uVar11 < uVar15); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 0x46; local_bc = (RNG *)&DAT_0000000f; @@ -400470,26 +400932,26 @@ LAB_006dc922: local_b0 = local_b0 + 2; } else { - std::vector<8byte>::_Emplace_reallocate(); - uVar11 = 0; - uVar15 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar15 != 0) { + std::vector<8byte>::_Emplace_reallocate(0,&local_c0); + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar11 * 8) == 0x1e) { - piVar3 = (int *)((int)local_b4 + 4 + uVar11 * 8); - *piVar3 = *piVar3 + 0x14; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar11 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 0x1e) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 0x14; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dca1f; } - uVar11 = uVar11 + 1; - } while (uVar11 < uVar15); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 0x1e; local_bc = (RNG *)&DAT_00000014; if (local_b0 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_c0); } else { *local_b0 = 0x1e; @@ -400497,25 +400959,25 @@ LAB_006dc922: local_b0 = local_b0 + 2; } LAB_006dca1f: - uVar11 = 0; - uVar15 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar15 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar11 * 8) == 0x14) { - piVar3 = (int *)((int)local_b4 + 4 + uVar11 * 8); - *piVar3 = *piVar3 + 0xf; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar11 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 0x14) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 0xf; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dca9f; } - uVar11 = uVar11 + 1; - } while (uVar11 < uVar15); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 0x14; local_bc = (RNG *)&DAT_0000000f; if (local_b0 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_c0); } else { *local_b0 = 0x14; @@ -400523,25 +400985,25 @@ LAB_006dca1f: local_b0 = local_b0 + 2; } LAB_006dca9f: - uVar11 = 0; - uVar15 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar15 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar11 * 8) == 0x5a) { - piVar3 = (int *)((int)local_b4 + 4 + uVar11 * 8); - *piVar3 = *piVar3 + 4; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar11 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 0x5a) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 4; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dcb1f; } - uVar11 = uVar11 + 1; - } while (uVar11 < uVar15); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 0x5a; local_bc = (RNG *)&DAT_00000004; if (local_b0 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_c0); } else { *local_b0 = 0x5a; @@ -400549,26 +401011,26 @@ LAB_006dca9f: local_b0 = local_b0 + 2; } LAB_006dcb1f: - uVar11 = 0; - uVar15 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar15 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar11 * 8) == 300) { - piVar3 = (int *)((int)local_b4 + 4 + uVar11 * 8); - *piVar3 = *piVar3 + 4; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar11 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 300) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 4; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dcb9c; } - uVar11 = uVar11 + 1; - } while (uVar11 < uVar15); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 300; local_bc = (RNG *)&DAT_00000004; if (local_b0 == local_ac) { LAB_006dcb83: - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_c0); } else { *local_b0 = 300; @@ -400577,218 +401039,228 @@ LAB_006dcb83: } } LAB_006dcb9c: - WVar23 = local_b4; - uVar11 = RNG::RandomInt(this_04,2); - local_d0 = (Entity_Player *)(uVar11 + 2); + WVar12 = local_b4; + uVar10 = RNG::RandomInt(this_00,2); + local_d0 = (Entity_Player *)(uVar10 + 2); if (0 < (int)local_d0) { do { - uVar11 = RNG::Next(this_04); - uVar11 = WeightedOutcomePicker::PickOutcome(&local_b4,uVar11,0x900000005,7); - local_c8 = (RNG *)(uVar11 & 0xffff); - RNG::Next(this_04); - uVar15 = RNG::Next(this_04); - std::deque::push_back(5,local_c8,uVar11 >> 0x10,uVar15,0); - if ((this->_subtype == 2) && (local_c8 == (RNG *)0xa)) { - uVar11 = 0; - uVar15 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar15 != 0) { + uVar10 = RNG::Next(this_00); + rng_03._shift1 = 5; + rng_03._seed = uVar10; + rng_03._shift2 = 9; + rng_03._shift3 = 7; + uVar10 = WeightedOutcomePicker::PickOutcome(&local_b4,rng_03); + local_c8 = (RNG *)(uVar10 & 0xffff); + RNG::Next(this_00); + uVar11 = RNG::Next(this_00); + std::deque::push_back(5,local_c8,uVar10 >> 0x10,uVar11,0); + if ((local_110->_subtype == 2) && (local_c8 == (RNG *)0xa)) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar11 * 8) == 0x6000a) { - piVar3 = (int *)((int)local_b4 + 4 + uVar11 * 8); - *piVar3 = *piVar3 + -10; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar11 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 0x6000a) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + -10; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } break; } - uVar11 = uVar11 + 1; - } while (uVar11 < uVar15); - uVar11 = 0; + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); + uVar10 = 0; do { - if (*(int *)((int)local_b4 + uVar11 * 8) == 0xb000a) { - piVar3 = (int *)((int)local_b4 + 4 + uVar11 * 8); - *piVar3 = *piVar3 + -5; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar11 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 0xb000a) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + -5; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } break; } - uVar11 = uVar11 + 1; - } while (uVar11 < uVar15); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } } local_d0 = (Entity_Player *)((int)&local_d0[-1]._replacedPlayer + 3); - WVar23 = local_b4; + WVar12 = local_b4; } while (local_d0 != (Entity_Player *)0x0); } local_14 = local_14 & 0xffffff00; - if (WVar23 != (WeightedOutcomePicker)0x0) { - deallocate(); + if (WVar12 != (WeightedOutcomePicker)0x0) { + deallocate(WVar12,(int)local_ac - (int)WVar12 >> 3); } goto LAB_006ddbc9; } - local_44 = (WeightedOutcomePicker)0x0; - puStack_40 = (undefined4 *)0x0; - local_3c = (undefined4 *)0x0; + local_48._shift1 = 0; + local_48._shift2 = 0; + local_48._shift3 = 0; local_bc = (RNG *)&DAT_0000002b; local_14 = CONCAT31(local_14._1_3_,3); - if (pRVar14 != (RNG *)0x0) { + if (local_114 != (RNG *)0x0) { local_bc = (RNG *)&DAT_00000009; } local_c0 = 0; - std::vector<8byte>::_Emplace_reallocate(); - uVar15 = 0; - uVar17 = (int)puStack_40 - (int)local_44 >> 3; - if (uVar17 != 0) { + std::vector<8byte>::_Emplace_reallocate(0,&local_c0); + uVar10 = 0; + uVar11 = local_48._shift2 - local_48._shift1 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_44 + uVar15 * 8) == 1) { - piVar3 = (int *)((int)local_44 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 0x2a; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_44 + 4 + uVar15 * 8) = 0; + if (*(int *)(local_48._shift1 + uVar10 * 8) == 1) { + piVar2 = (int *)(local_48._shift1 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 0x2a; + if (*piVar2 < 0) { + *(undefined4 *)(local_48._shift1 + 4 + uVar10 * 8) = 0; } goto LAB_006dc520; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 1; local_bc = (RNG *)&DAT_0000002a; - if (puStack_40 == local_3c) { - std::vector<8byte>::_Emplace_reallocate(); + if (local_48._shift2 == local_48._shift3) { + std::vector<8byte>::_Emplace_reallocate(local_48._shift2,&local_c0); } else { - *puStack_40 = 1; - puStack_40[1] = 0x2a; - puStack_40 = puStack_40 + 2; + *(undefined4 *)local_48._shift2 = 1; + *(undefined4 *)(local_48._shift2 + 4) = 0x2a; + local_48._shift2 = local_48._shift2 + 8; } LAB_006dc520: - uVar15 = 0; - uVar17 = (int)puStack_40 - (int)local_44 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = local_48._shift2 - local_48._shift1 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_44 + uVar15 * 8) == 2) { - piVar3 = (int *)((int)local_44 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 10; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_44 + 4 + uVar15 * 8) = 0; + if (*(int *)(local_48._shift1 + uVar10 * 8) == 2) { + piVar2 = (int *)(local_48._shift1 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 10; + if (*piVar2 < 0) { + *(undefined4 *)(local_48._shift1 + 4 + uVar10 * 8) = 0; } goto LAB_006dc590; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 2; local_bc = (RNG *)0xa; - if (puStack_40 == local_3c) { - std::vector<8byte>::_Emplace_reallocate(); + if (local_48._shift2 == local_48._shift3) { + std::vector<8byte>::_Emplace_reallocate(local_48._shift2,&local_c0); } else { - *puStack_40 = 2; - puStack_40[1] = 10; - puStack_40 = puStack_40 + 2; + *(undefined4 *)local_48._shift2 = 2; + *(undefined4 *)(local_48._shift2 + 4) = 10; + local_48._shift2 = local_48._shift2 + 8; } LAB_006dc590: - uVar15 = 0; - uVar17 = (int)puStack_40 - (int)local_44 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = local_48._shift2 - local_48._shift1 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_44 + uVar15 * 8) == 3) { - piVar3 = (int *)((int)local_44 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 5; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_44 + 4 + uVar15 * 8) = 0; + if (*(int *)(local_48._shift1 + uVar10 * 8) == 3) { + piVar2 = (int *)(local_48._shift1 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 5; + if (*piVar2 < 0) { + *(undefined4 *)(local_48._shift1 + 4 + uVar10 * 8) = 0; } goto LAB_006dc5fa; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 3; local_bc = (RNG *)&DAT_00000005; - if (puStack_40 == local_3c) { - std::vector<8byte>::_Emplace_reallocate(); + if (local_48._shift2 == local_48._shift3) { + std::vector<8byte>::_Emplace_reallocate(local_48._shift2,&local_c0); } else { - *puStack_40 = 3; - puStack_40[1] = 5; - puStack_40 = puStack_40 + 2; + *(undefined4 *)local_48._shift2 = 3; + *(undefined4 *)(local_48._shift2 + 4) = 5; + local_48._shift2 = local_48._shift2 + 8; } LAB_006dc5fa: - uVar15 = RNG::Next(this_04); - uVar24 = WeightedOutcomePicker::PickOutcome(&local_44,uVar15,0x900000005,7); - switch(uVar24) { + uVar10 = RNG::Next(this_00); + rng_02._shift1 = 5; + rng_02._seed = uVar10; + rng_02._shift2 = 9; + rng_02._shift3 = 7; + uVar10 = WeightedOutcomePicker::PickOutcome((WeightedOutcomePicker *)&local_48._shift1,rng_02); + switch(uVar10) { case 0: - uVar11 = RNG::RandomInt(this_04,3); - iVar19 = uVar11 + 1; - if (0 < iVar19) { + uVar10 = RNG::RandomInt(this_00,3); + iVar6 = uVar10 + 1; + if (0 < iVar6) { do { - RVar16 = *this_04; - if (RVar16 == (RNG)0x0) { + uVar10 = this_00->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar16 >> (SUB41(this_04[1],0) & 0x1f) ^ (uint)RVar16; - uVar11 = uVar11 << (SUB41(this_04[2],0) & 0x1f) ^ uVar11; - RVar16 = (RNG)(uVar11 >> (SUB41(this_04[3],0) & 0x1f) ^ uVar11); - *this_04 = RVar16; - std::deque::push_back(5,10,CONCAT44(RVar16,3),0); - iVar19 = iVar19 + -1; - } while (iVar19 != 0); + uVar10 = uVar10 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)this_00->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)this_00->_shift3 & 0x1f) ^ uVar10; + this_00->_seed = uVar10; + std::deque::push_back(5,10,3,uVar10,0); + iVar6 = iVar6 + -1; + } while (iVar6 != 0); } break; case 1: - iVar19 = 3; + iVar6 = 3; do { - RVar16 = *this_04; - if (RVar16 == (RNG)0x0) { + uVar10 = this_00->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar16 >> (SUB41(this_04[1],0) & 0x1f) ^ (uint)RVar16; - uVar11 = uVar11 << (SUB41(this_04[2],0) & 0x1f) ^ uVar11; - RVar16 = (RNG)(uVar11 >> (SUB41(this_04[3],0) & 0x1f) ^ uVar11); - *this_04 = RVar16; - std::deque::push_back(5,0x15e,(ulonglong)(uint)RVar16 << 0x20,0); - iVar19 = iVar19 + -1; - } while (iVar19 != 0); + uVar10 = uVar10 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)this_00->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)this_00->_shift3 & 0x1f) ^ uVar10; + this_00->_seed = uVar10; + std::deque::push_back(5,0x15e,0,uVar10,0); + iVar6 = iVar6 + -1; + } while (iVar6 != 0); break; case 2: - local_c8 = (RNG *)RNG::Next(this_04); - pGVar22 = g_game; - uVar15 = RNG::Next(this_04); - uVar24 = 0x1b; + local_c8 = (RNG *)RNG::Next(this_00); + pGVar15 = g_game; + uVar10 = RNG::Next(this_00); + uVar17 = 0x1b; goto LAB_006dc757; case 3: - local_c8 = (RNG *)RNG::Next(this_04); - pGVar22 = g_game; - uVar15 = RNG::Next(this_04); - uVar24 = 4; + local_c8 = (RNG *)RNG::Next(this_00); + pGVar15 = g_game; + uVar10 = RNG::Next(this_00); + uVar17 = 4; LAB_006dc757: - uVar24 = ItemPool::GetCollectible(&pGVar22->_itemPool,uVar24,uVar15,uVar11,0); - std::deque::push_back(5,100,uVar24,local_c8,0); + uVar17 = ItemPool::GetCollectible(&pGVar15->_itemPool,uVar17,uVar10,local_f0,0,0); + std::deque::push_back(5,100,uVar17,local_c8,0); } local_14 = local_14 & 0xffffff00; - if (local_44 == (WeightedOutcomePicker)0x0) goto LAB_006ddbc9; - if (0xfff < ((int)local_3c - (int)local_44 & 0xfffffff8U)) { - iVar19 = (int)local_44 - *(int *)((int)local_44 + -4); + if ((WeightedOutcomePicker)local_48._shift1 == (WeightedOutcomePicker)0x0) goto LAB_006ddbc9; + uVar10 = local_48._shift3 - local_48._shift1 & 0xfffffff8; + WVar12 = (WeightedOutcomePicker)local_48._shift1; + if (0xfff < uVar10) { + WVar12 = *(WeightedOutcomePicker *)(local_48._shift1 + -4); + iVar6 = local_48._shift1 - (int)WVar12; goto joined_r0x006dc7ad; } goto LAB_006dc3b3; } if ((local_cb != '\0') && (local_b8 == (Game *)local_f4)) { - local_c8 = (RNG *)RNG::Next(this_04); - pGVar22 = g_game; - uVar15 = RNG::Next(this_04); - uVar24 = ItemPool::GetCollectible(&pGVar22->_itemPool,3,uVar15,uVar11 | 0x200,0,0); - pRVar14 = local_c8; + local_c8 = (RNG *)RNG::Next(this_00); + pGVar15 = g_game; + uVar10 = RNG::Next(this_00); + uVar17 = ItemPool::GetCollectible(&pGVar15->_itemPool,3,uVar10,local_f0 | 0x200,0,0); + pRVar7 = local_c8; LAB_006ddbb9: - uVar27 = CONCAT44(pRVar14,uVar24); LAB_006ddbba: - std::deque::push_back(5,100,uVar27,0); + std::deque::push_back(5,100,uVar17,pRVar7,0); goto LAB_006ddbc9; } - if ((pGVar22->_currentRoomIdx == -1) || (local_c9 = '\x01', pGVar22->_currentRoomIdx == -0xc)) { + if ((pGVar15->_currentRoomIdx == -1) || (local_c9 = '\x01', pGVar15->_currentRoomIdx == -0xc)) { local_c9 = '\0'; } local_b4 = (WeightedOutcomePicker)0x0; @@ -400797,27 +401269,27 @@ LAB_006ddbba: local_14 = CONCAT31(local_14._1_3_,2); local_c0 = 0; local_bc = (RNG *)0xa; - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(0,&local_c0); if (local_c9 != '\0') { - uVar15 = 0; - uVar17 = (int)local_b0 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)local_b0 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 1) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 5; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 1) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 5; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dbce1; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 1; local_bc = (RNG *)&DAT_00000005; if (local_b0 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_b0,&local_c0); } else { *local_b0 = 1; @@ -400826,357 +401298,367 @@ LAB_006ddbba: } } LAB_006dbce1: - puVar21 = local_b0; + puVar14 = local_b0; if (local_d0 == (Entity_Player *)0x0) { LAB_006dbcfd: - uVar15 = 0; - uVar17 = (int)puVar21 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)puVar14 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 2) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 0xd; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 2) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 0xd; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dbd7f; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 2; local_bc = (RNG *)&DAT_0000000d; - if (puVar21 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); - puVar21 = local_b0; + if (puVar14 == local_ac) { + std::vector<8byte>::_Emplace_reallocate(puVar14,&local_c0); + puVar14 = local_b0; } else { - *puVar21 = 2; - puVar21[1] = 0xd; - puVar21 = puVar21 + 2; - local_b0 = puVar21; + *puVar14 = 2; + puVar14[1] = 0xd; + puVar14 = puVar14 + 2; + local_b0 = puVar14; } } else { - iVar19 = Entity_Player::GetTrinketMultiplier(local_d0,0x3d); - if (iVar19 < 3) goto LAB_006dbcfd; + iVar6 = Entity_Player::GetTrinketMultiplier(local_d0,0x3d); + if (iVar6 < 3) goto LAB_006dbcfd; } LAB_006dbd7f: - uVar15 = 0; - uVar17 = (int)puVar21 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)puVar14 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 3) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 0xd; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 3) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 0xd; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dbdff; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 3; local_bc = (RNG *)&DAT_0000000d; - if (puVar21 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); - puVar21 = local_b0; + if (puVar14 == local_ac) { + std::vector<8byte>::_Emplace_reallocate(puVar14,&local_c0); + puVar14 = local_b0; } else { - *puVar21 = 3; - puVar21[1] = 0xd; - local_b0 = puVar21 + 2; - puVar21 = local_b0; + *puVar14 = 3; + puVar14[1] = 0xd; + local_b0 = puVar14 + 2; + puVar14 = local_b0; } LAB_006dbdff: - uVar15 = 0; - uVar17 = (int)puVar21 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)puVar14 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 4) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 7; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 4) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 7; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dbe7f; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 4; local_bc = (RNG *)&DAT_00000007; - if (puVar21 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); - puVar21 = local_b0; + if (puVar14 == local_ac) { + std::vector<8byte>::_Emplace_reallocate(puVar14,&local_c0); + puVar14 = local_b0; } else { - *puVar21 = 4; - puVar21[1] = 7; - local_b0 = puVar21 + 2; - puVar21 = local_b0; + *puVar14 = 4; + puVar14[1] = 7; + local_b0 = puVar14 + 2; + puVar14 = local_b0; } LAB_006dbe7f: - uVar15 = 0; - uVar17 = (int)puVar21 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)puVar14 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 5) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 7; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 5) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 7; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dbeff; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 5; local_bc = (RNG *)&DAT_00000007; - if (puVar21 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); - puVar21 = local_b0; + if (puVar14 == local_ac) { + std::vector<8byte>::_Emplace_reallocate(puVar14,&local_c0); + puVar14 = local_b0; } else { - *puVar21 = 5; - puVar21[1] = 7; - local_b0 = puVar21 + 2; - puVar21 = local_b0; + *puVar14 = 5; + puVar14[1] = 7; + local_b0 = puVar14 + 2; + puVar14 = local_b0; } LAB_006dbeff: local_c8 = (RNG *)&DAT_0000000f; - if (cVar8 != '\0') { + if (local_f5 != '\0') { local_c8 = (RNG *)0x3; } - uVar17 = (int)puVar21 - (int)local_b4 >> 3; - uVar15 = 0; - if (uVar17 != 0) { + uVar11 = (int)puVar14 - (int)local_b4 >> 3; + uVar10 = 0; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 6) { - iVar19 = (int)local_b4 + uVar15 * 8; - piVar3 = (int *)(iVar19 + 4); - *piVar3 = (int)(&local_c8->field_0x0 + *piVar3); - if (*piVar3 < 0) { - *(undefined4 *)(iVar19 + 4) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 6) { + iVar6 = (int)local_b4 + uVar10 * 8; + piVar2 = (int *)(iVar6 + 4); + *piVar2 = (int)((int)&local_c8->_seed + *piVar2); + if (*piVar2 < 0) { + *(undefined4 *)(iVar6 + 4) = 0; } goto LAB_006dbf99; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 6; local_bc = local_c8; - if (puVar21 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); - puVar21 = local_b0; + if (puVar14 == local_ac) { + std::vector<8byte>::_Emplace_reallocate(puVar14,&local_c0); + puVar14 = local_b0; } else { - *puVar21 = 6; - puVar21[1] = local_c8; - local_b0 = puVar21 + 2; - puVar21 = local_b0; + *puVar14 = 6; + puVar14[1] = local_c8; + local_b0 = puVar14 + 2; + puVar14 = local_b0; } LAB_006dbf99: - uVar15 = 0; - uVar17 = (int)puVar21 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)puVar14 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 7) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 0xf; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 7) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 0xf; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dc015; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 7; local_bc = (RNG *)&DAT_0000000f; - if (puVar21 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); - puVar21 = local_b0; + if (puVar14 == local_ac) { + std::vector<8byte>::_Emplace_reallocate(puVar14,&local_c0); + puVar14 = local_b0; } else { - *puVar21 = 7; - puVar21[1] = 0xf; - local_b0 = puVar21 + 2; - puVar21 = local_b0; + *puVar14 = 7; + puVar14[1] = 0xf; + local_b0 = puVar14 + 2; + puVar14 = local_b0; } LAB_006dc015: - uVar15 = 0; - uVar17 = (int)puVar21 - (int)local_b4 >> 3; - if (uVar17 != 0) { + uVar10 = 0; + uVar11 = (int)puVar14 - (int)local_b4 >> 3; + if (uVar11 != 0) { do { - if (*(int *)((int)local_b4 + uVar15 * 8) == 8) { - piVar3 = (int *)((int)local_b4 + 4 + uVar15 * 8); - *piVar3 = *piVar3 + 0xf; - if (*piVar3 < 0) { - *(undefined4 *)((int)local_b4 + 4 + uVar15 * 8) = 0; + if (*(int *)((int)local_b4 + uVar10 * 8) == 8) { + piVar2 = (int *)((int)local_b4 + 4 + uVar10 * 8); + *piVar2 = *piVar2 + 0xf; + if (*piVar2 < 0) { + *(undefined4 *)((int)local_b4 + 4 + uVar10 * 8) = 0; } goto LAB_006dc085; } - uVar15 = uVar15 + 1; - } while (uVar15 < uVar17); + uVar10 = uVar10 + 1; + } while (uVar10 < uVar11); } local_c0 = 8; local_bc = (RNG *)&DAT_0000000f; - if (puVar21 == local_ac) { - std::vector<8byte>::_Emplace_reallocate(); + if (puVar14 == local_ac) { + std::vector<8byte>::_Emplace_reallocate(puVar14,&local_c0); } else { - *puVar21 = 8; - puVar21[1] = 0xf; - local_b0 = puVar21 + 2; + *puVar14 = 8; + puVar14[1] = 0xf; + local_b0 = puVar14 + 2; } LAB_006dc085: - RVar16 = *this_04; - if (RVar16 == (RNG)0x0) { + uVar10 = this_00->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar16 >> (SUB41(this_04[1],0) & 0x1f) ^ (uint)RVar16; - uVar15 = uVar15 ^ uVar15 << (SUB41(this_04[2],0) & 0x1f); - RVar16 = (RNG)(uVar15 ^ uVar15 >> (SUB41(this_04[3],0) & 0x1f)); - *this_04 = RVar16; - uVar24 = WeightedOutcomePicker::PickOutcome(&local_b4,RVar16,0x900000005,7); - switch(uVar24) { + uVar10 = uVar10 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 ^ uVar10 << ((byte)this_00->_shift2 & 0x1f); + uVar10 = uVar10 ^ uVar10 >> ((byte)this_00->_shift3 & 0x1f); + this_00->_seed = uVar10; + rng_01._shift1 = 5; + rng_01._seed = uVar10; + rng_01._shift2 = 9; + rng_01._shift3 = 7; + uVar10 = WeightedOutcomePicker::PickOutcome(&local_b4,rng_01); + switch(uVar10) { case 0: - local_c8 = (RNG *)RNG::Next(this_04); - pGVar22 = g_game; - uVar15 = RNG::Next(this_04); - uVar24 = ItemPool::GetCollectible(&pGVar22->_itemPool,9,uVar15,uVar11,0,0); - lVar26 = CONCAT44(local_c8,uVar24); - uVar24 = 100; + local_c8 = (RNG *)RNG::Next(this_00); + pGVar15 = g_game; + uVar10 = RNG::Next(this_00); + uVar17 = ItemPool::GetCollectible(&pGVar15->_itemPool,9,uVar10,local_f0,0,0); + uVar16 = 100; + pRVar7 = local_c8; goto LAB_006dc2ec; case 1: - uVar28 = 0; - lVar26 = 0; - uVar24 = 1; - uVar25 = 0; + uVar19 = 0; + pRVar7 = (RNG *)0x0; + uVar17 = 0; + uVar16 = 1; + uVar18 = 0; break; case 2: - uVar24 = 0; - uVar11 = RNG::Next(this_04); - std::deque::push_back(0x55,0,0,uVar11,uVar24); - uVar28 = 0; - uVar11 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar11 << 0x20; - uVar24 = 0; - uVar25 = 0x55; + uVar17 = 0; + uVar10 = RNG::Next(this_00); + std::deque::push_back(0x55,0,0,uVar10,uVar17); + uVar19 = 0; + pRVar7 = (RNG *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 0; + uVar18 = 0x55; break; case 3: - uVar28 = 0; - uVar11 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar11 << 0x20; - uVar24 = 4; - uVar25 = 4; + uVar19 = 0; + pRVar7 = (RNG *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 4; + uVar18 = 4; break; case 4: - uVar24 = 0; - uVar11 = RNG::Next(this_04); - std::deque::push_back(3,0x2b,0,uVar11,uVar24); - uVar24 = 0; - uVar11 = RNG::Next(this_04); - std::deque::push_back(3,0x2b,0,uVar11,uVar24); - uVar28 = 0; - uVar11 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar11 << 0x20; - uVar24 = 0x2b; - uVar25 = 3; + uVar17 = 0; + uVar10 = RNG::Next(this_00); + std::deque::push_back(3,0x2b,0,uVar10,uVar17); + uVar17 = 0; + uVar10 = RNG::Next(this_00); + std::deque::push_back(3,0x2b,0,uVar10,uVar17); + uVar19 = 0; + pRVar7 = (RNG *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 0x2b; + uVar18 = 3; break; case 5: - uVar24 = 0; - uVar11 = RNG::Next(this_04); - std::deque::push_back(3,0x49,0,uVar11,uVar24); - uVar24 = 0; - uVar11 = RNG::Next(this_04); - std::deque::push_back(3,0x49,0,uVar11,uVar24); - uVar28 = 0; - uVar11 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar11 << 0x20; - uVar24 = 0x49; - uVar25 = 3; + uVar17 = 0; + uVar10 = RNG::Next(this_00); + std::deque::push_back(3,0x49,0,uVar10,uVar17); + uVar17 = 0; + uVar10 = RNG::Next(this_00); + std::deque::push_back(3,0x49,0,uVar10,uVar17); + uVar19 = 0; + pRVar7 = (RNG *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 0x49; + uVar18 = 3; break; case 6: - uVar11 = RNG::Next(this_04); - std::deque::push_back(5,10,3,uVar11,0); - uVar11 = RNG::RandomInt(this_04,2); - if ((uVar11 == 0) && - ((pRVar14 == (RNG *)0x0 || (uVar11 = RNG::RandomInt(pRVar14,5), uVar11 == 0)))) { - uVar11 = RNG::Next(this_04); - lVar26 = CONCAT44(uVar11,3); - uVar24 = 10; + uVar10 = RNG::Next(this_00); + std::deque::push_back(5,10,3,uVar10,0); + uVar10 = RNG::RandomInt(this_00,2); + if ((uVar10 == 0) && + ((local_114 == (RNG *)0x0 || (uVar10 = RNG::RandomInt(local_114,5), uVar10 == 0)))) { + pRVar7 = (RNG *)RNG::Next(this_00); + uVar17 = 3; + uVar16 = 10; goto LAB_006dc2ec; } goto switchD_006dc0ee_default; case 7: - uVar11 = RNG::Next(this_04); - std::deque::push_back(5,0x28,3,uVar11,0); - uVar11 = RNG::Next(this_04); - lVar26 = CONCAT44(uVar11,3); - uVar24 = 0x28; + uVar10 = RNG::Next(this_00); + std::deque::push_back(5,0x28,3,uVar10,0); + pRVar7 = (RNG *)RNG::Next(this_00); + uVar17 = 3; + uVar16 = 0x28; goto LAB_006dc2ec; case 8: - uVar11 = RNG::Next(this_04); - std::deque::push_back(5,0x46,0,uVar11,0); - uVar11 = RNG::Next(this_04); - lVar26 = (ulonglong)uVar11 << 0x20; - uVar24 = 0x46; + uVar10 = RNG::Next(this_00); + std::deque::push_back(5,0x46,0,uVar10,0); + pRVar7 = (RNG *)RNG::Next(this_00); + uVar17 = 0; + uVar16 = 0x46; LAB_006dc2ec: - uVar28 = 0; - uVar25 = 5; + uVar19 = 0; + uVar18 = 5; break; default: goto switchD_006dc0ee_default; } - std::deque::push_back(uVar25,uVar24,lVar26,uVar28); + std::deque::push_back(uVar18,uVar16,uVar17,pRVar7,uVar19); switchD_006dc0ee_default: if ((local_d0 != (Entity_Player *)0x0) && - (iVar19 = Entity_Player::GetTrinketMultiplier(local_d0,0x3d), 1 < iVar19)) { - RVar16 = *this_04; - if (RVar16 == (RNG)0x0) { + (iVar6 = Entity_Player::GetTrinketMultiplier(local_d0,0x3d), 1 < iVar6)) { + uVar10 = this_00->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar16 >> (SUB41(this_04[1],0) & 0x1f) ^ (uint)RVar16; - uVar11 = uVar11 ^ uVar11 << (SUB41(this_04[2],0) & 0x1f); - RVar16 = (RNG)(uVar11 ^ uVar11 >> (SUB41(this_04[3],0) & 0x1f)); - *this_04 = RVar16; - if (((uint)RVar16 & 1) == 0) { - uVar11 = RNG::Next(this_04); - uVar24 = 0x46; + uVar10 = uVar10 >> ((byte)this_00->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 ^ uVar10 << ((byte)this_00->_shift2 & 0x1f); + uVar10 = uVar10 ^ uVar10 >> ((byte)this_00->_shift3 & 0x1f); + this_00->_seed = uVar10; + if ((uVar10 & 1) == 0) { + uVar10 = RNG::Next(this_00); + uVar17 = 0x46; } else { - uVar11 = RNG::Next(this_04); - uVar24 = 10; + uVar10 = RNG::Next(this_00); + uVar17 = 10; } - std::deque::push_back(5,uVar24,CONCAT44(uVar11,3),0); + std::deque::push_back(5,uVar17,3,uVar10,0); } local_14 = local_14 & 0xffffff00; if (local_b4 != (WeightedOutcomePicker)0x0) { - if (0xfff < ((int)local_ac - (int)local_b4 & 0xfffffff8U)) { - iVar19 = (int)local_b4 - *(int *)((int)local_b4 + -4); + uVar10 = (int)local_ac - (int)local_b4 & 0xfffffff8; + WVar12 = local_b4; + if (0xfff < uVar10) { + WVar12 = *(WeightedOutcomePicker *)((int)local_b4 + -4); + iVar6 = (int)local_b4 - (int)WVar12; joined_r0x006dc7ad: - if (0x1f < iVar19 - 4U) { + uVar10 = uVar10 + 0x23; + if (0x1f < iVar6 - 4U) { LAB_006dc7b3: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } LAB_006dc3b3: - operator_delete(); + operator_delete(WVar12,uVar10); } LAB_006ddbc9: LootList::LootList(&local_e8); std::deque::clear(); + piVar2 = local_e8; local_e8 = (int *)0x0; - operator_delete(); + operator_delete(piVar2,8); ExceptionList = local_1c; - return param_2; + return local_118; } @@ -401185,45 +401667,103 @@ LAB_006ddbc9: /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ /* DB: random pickup variant/subtype picker; Daemon's Tail reroll (items sweep 10) */ -undefined4 Pickup_PickVariant(uint *param_1,RNG param_2,undefined4 param_3) +undefined4 Pickup_PickVariant(uint *param_1,Entity_Player *param_2,undefined4 param_3) { void *pvVar1; - bool bVar2; - char cVar3; - uint uVar4; - int iVar5; + void *pvVar2; + RNG rng; + RNG rng_00; + RNG rng_01; + RNG rng_02; + bool bVar3; + char cVar4; + uint uVar5; int iVar6; - Entity_Player *pEVar7; - RoomDescriptor *pRVar8; - undefined4 uVar9; + int iVar7; + Entity_Player *pEVar8; + RoomDescriptor *pRVar9; float fVar10; int *piVar11; byte bVar12; - RNG in_ECX; + Entity_Player *in_ECX; uint *in_EDX; - uint uVar13; uint extraout_EDX; - uint uVar14; - uint *puVar15; - Game *pGVar16; - PlayerManager *pPVar17; - RNG aRStackY_3b0 [128]; + uint uVar13; + uint *puVar14; + Game *pGVar15; + PlayerManager *pPVar16; + RNG aRStackY_9b8 [128]; + undefined4 uVar17; + undefined4 *puVar18; + undefined4 *puVar19; + undefined4 local_17c; + undefined4 local_178; + undefined4 local_174; + undefined4 local_170; + undefined4 local_16c; + undefined4 local_168; + uint local_164; + undefined8 uStack_160; + int iStack_158; + undefined4 local_154; + undefined4 local_150; + undefined4 local_14c; + undefined4 local_148; + undefined4 local_144; + undefined4 local_140; + undefined4 local_13c; + undefined4 local_138; + undefined4 local_134; + undefined4 local_130; + undefined4 local_12c; + undefined4 local_128; + undefined4 local_124; + undefined4 local_120; + undefined4 local_11c; + undefined4 local_118; + undefined4 local_114; + undefined4 local_110; + undefined4 local_10c; + undefined4 local_108; + undefined4 local_104; + undefined4 local_100; + undefined4 local_fc; + undefined4 local_f8; + undefined4 local_f4; + undefined4 local_f0; + undefined4 local_ec; + undefined4 local_e8; + undefined4 local_e4; + undefined4 local_e0; + undefined4 local_dc; + undefined4 local_d8; + undefined4 local_d4; + undefined4 local_d0; + undefined4 local_cc; + undefined4 local_c8; + undefined4 local_c4; + undefined4 local_c0; + undefined4 local_bc; + undefined4 local_b8; + undefined4 local_b4; + undefined4 local_b0; + undefined4 local_ac; + undefined4 local_a8; + uint local_a4; WeightedOutcomePicker local_a0; undefined4 *local_9c; undefined4 *local_98; WeightedOutcomePicker local_94; undefined4 *local_90; undefined4 *local_8c; - RNG local_88; - RNG local_84; + Entity_Player *local_88; + Entity_Player *local_84; float local_80; WeightedOutcomePicker local_7c; undefined4 *local_78; undefined4 *local_74; RNG local_70; - undefined8 local_6c; - undefined4 local_64; bool local_5d; WeightedOutcomePicker local_5c; undefined4 *local_58; @@ -401245,54 +401785,59 @@ undefined4 Pickup_PickVariant(uint *param_1,RNG param_2,undefined4 param_3) local_24[4] = __security_cookie ^ (uint)(local_24 + 8); ExceptionList = &local_10; DAT_00c7ec68 = DAT_00c7ec68 + 1; - local_6c = 0x900000005; + local_70._shift1 = 5; + local_70._shift2 = 9; local_80 = 9.80909e-45; - local_64 = 7; + local_70._shift3 = 7; local_88 = in_ECX; - local_70 = in_ECX; + local_70._seed = (int)in_ECX; local_4c = in_EDX; if (*in_EDX == 0) { - if (in_ECX == (RNG)0x0) { + if (in_ECX == (Entity_Player *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar4 = (uint)in_ECX >> 5 ^ (uint)in_ECX; - uVar4 = uVar4 << 9 ^ uVar4; - local_84 = (RNG)(uVar4 >> 7 ^ uVar4); + uVar5 = (uint)in_ECX >> 5 ^ (uint)in_ECX; + uVar5 = uVar5 << 9 ^ uVar5; + local_84 = (Entity_Player *)(uVar5 >> 7 ^ uVar5); local_80 = 2.8026e-44; - local_70 = local_84; - if (local_84 == (RNG)0x0) { + local_70._seed = (int)local_84; + if (local_84 == (Entity_Player *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar13 = (uint)local_84 >> 1 ^ (uint)local_84; - uVar13 = uVar13 << 0x15 ^ uVar13; - uVar13 = uVar13 >> 0x14 ^ uVar13; + uVar5 = (uint)local_84 >> 1 ^ (uint)local_84; + uVar5 = uVar5 << 0x15 ^ uVar5; + uVar5 = uVar5 >> 0x14 ^ uVar5; local_58 = (undefined4 *)0x0; local_5c = (WeightedOutcomePicker)0x0; local_54 = (undefined4 *)0x0; - uVar4 = *param_1; - local_80 = (float)((double)(int)uVar13 + __uint_to_double_fixup[-((int)uVar13 >> 0x1f)]) * + local_a4 = *param_1; + local_80 = (float)((double)(int)uVar5 + __uint_to_double_fixup[-((int)uVar5 >> 0x1f)]) * 2.3283062e-10; local_8 = 0; - if (uVar4 != 3) { + if (local_a4 != 3) { + local_ac = 0x14; + local_a8 = 0x14; std::vector<8byte>::_Emplace_reallocate(); } - uVar13 = 0; + uVar5 = 0; local_48 = (int)local_58 - (int)local_5c >> 3; if (local_48 != 0) { do { - if (*(int *)((int)local_5c + uVar13 * 8) == 10) { - piVar11 = (int *)((int)local_5c + 4 + uVar13 * 8); + if (*(int *)((int)local_5c + uVar5 * 8) == 10) { + piVar11 = (int *)((int)local_5c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 0xf; if (*piVar11 < 0) { - *(undefined4 *)((int)local_5c + 4 + uVar13 * 8) = 0; + *(undefined4 *)((int)local_5c + 4 + uVar5 * 8) = 0; } goto LAB_006ddea3; } - uVar13 = uVar13 + 1; - } while (uVar13 < local_48); + uVar5 = uVar5 + 1; + } while (uVar5 < local_48); } + local_b4 = 10; + local_b0 = 0xf; if (local_58 == local_54) { std::vector<8byte>::_Emplace_reallocate(); } @@ -401302,21 +401847,23 @@ undefined4 Pickup_PickVariant(uint *param_1,RNG param_2,undefined4 param_3) local_58 = local_58 + 2; } LAB_006ddea3: - uVar13 = 0; + uVar5 = 0; local_48 = (int)local_58 - (int)local_5c >> 3; if (local_48 != 0) { do { - if (*(int *)((int)local_5c + uVar13 * 8) == 0x1e) { - piVar11 = (int *)((int)local_5c + 4 + uVar13 * 8); + if (*(int *)((int)local_5c + uVar5 * 8) == 0x1e) { + piVar11 = (int *)((int)local_5c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 0xf; if (*piVar11 < 0) { - *(undefined4 *)((int)local_5c + 4 + uVar13 * 8) = 0; + *(undefined4 *)((int)local_5c + 4 + uVar5 * 8) = 0; } goto LAB_006ddf15; } - uVar13 = uVar13 + 1; - } while (uVar13 < local_48); + uVar5 = uVar5 + 1; + } while (uVar5 < local_48); } + local_bc = 0x1e; + local_b8 = 0xf; if (local_58 == local_54) { std::vector<8byte>::_Emplace_reallocate(); } @@ -401326,21 +401873,23 @@ LAB_006ddea3: local_58 = local_58 + 2; } LAB_006ddf15: - uVar13 = 0; + uVar5 = 0; local_48 = (int)local_58 - (int)local_5c >> 3; if (local_48 != 0) { do { - if (*(int *)((int)local_5c + uVar13 * 8) == 0x28) { - piVar11 = (int *)((int)local_5c + 4 + uVar13 * 8); + if (*(int *)((int)local_5c + uVar5 * 8) == 0x28) { + piVar11 = (int *)((int)local_5c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 0xf; if (*piVar11 < 0) { - *(undefined4 *)((int)local_5c + 4 + uVar13 * 8) = 0; + *(undefined4 *)((int)local_5c + 4 + uVar5 * 8) = 0; } goto LAB_006ddf87; } - uVar13 = uVar13 + 1; - } while (uVar13 < local_48); + uVar5 = uVar5 + 1; + } while (uVar5 < local_48); } + local_c4 = 0x28; + local_c0 = 0xf; if (local_58 == local_54) { std::vector<8byte>::_Emplace_reallocate(); } @@ -401350,23 +401899,25 @@ LAB_006ddf15: local_58 = local_58 + 2; } LAB_006ddf87: - uVar13 = *param_1; - if (((uVar13 != 1) && (uVar13 != 3)) && (uVar13 != 4)) { - uVar13 = 0; + uVar5 = *param_1; + if (((uVar5 != 1) && (uVar5 != 3)) && (uVar5 != 4)) { + uVar5 = 0; local_48 = (int)local_58 - (int)local_5c >> 3; if (local_48 != 0) { do { - if (*(int *)((int)local_5c + uVar13 * 8) == 0x32) { - piVar11 = (int *)((int)local_5c + 4 + uVar13 * 8); + if (*(int *)((int)local_5c + uVar5 * 8) == 0x32) { + piVar11 = (int *)((int)local_5c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 5; if (*piVar11 < 0) { - *(undefined4 *)((int)local_5c + 4 + uVar13 * 8) = 0; + *(undefined4 *)((int)local_5c + 4 + uVar5 * 8) = 0; } goto LAB_006de016; } - uVar13 = uVar13 + 1; - } while (uVar13 < local_48); + uVar5 = uVar5 + 1; + } while (uVar5 < local_48); } + local_cc = 0x32; + local_c8 = 5; if (local_58 == local_54) { std::vector<8byte>::_Emplace_reallocate(); } @@ -401376,21 +401927,23 @@ LAB_006ddf87: local_58 = local_58 + 2; } LAB_006de016: - uVar13 = 0; + uVar5 = 0; local_48 = (int)local_58 - (int)local_5c >> 3; if (local_48 != 0) { do { - if (*(int *)((int)local_5c + uVar13 * 8) == 0x3c) { - piVar11 = (int *)((int)local_5c + 4 + uVar13 * 8); + if (*(int *)((int)local_5c + uVar5 * 8) == 0x3c) { + piVar11 = (int *)((int)local_5c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 5; if (*piVar11 < 0) { - *(undefined4 *)((int)local_5c + 4 + uVar13 * 8) = 0; + *(undefined4 *)((int)local_5c + 4 + uVar5 * 8) = 0; } goto LAB_006de088; } - uVar13 = uVar13 + 1; - } while (uVar13 < local_48); + uVar5 = uVar5 + 1; + } while (uVar5 < local_48); } + local_d4 = 0x3c; + local_d0 = 5; if (local_58 == local_54) { std::vector<8byte>::_Emplace_reallocate(); } @@ -401401,21 +401954,23 @@ LAB_006de016: } } LAB_006de088: - uVar13 = 0; + uVar5 = 0; local_48 = (int)local_58 - (int)local_5c >> 3; if (local_48 != 0) { do { - if (*(int *)((int)local_5c + uVar13 * 8) == 0x46) { - piVar11 = (int *)((int)local_5c + 4 + uVar13 * 8); + if (*(int *)((int)local_5c + uVar5 * 8) == 0x46) { + piVar11 = (int *)((int)local_5c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 4; if (*piVar11 < 0) { - *(undefined4 *)((int)local_5c + 4 + uVar13 * 8) = 0; + *(undefined4 *)((int)local_5c + 4 + uVar5 * 8) = 0; } goto LAB_006de101; } - uVar13 = uVar13 + 1; - } while (uVar13 < local_48); + uVar5 = uVar5 + 1; + } while (uVar5 < local_48); } + local_dc = 0x46; + local_d8 = 4; if (local_58 == local_54) { std::vector<8byte>::_Emplace_reallocate(); } @@ -401425,21 +401980,23 @@ LAB_006de088: local_58 = local_58 + 2; } LAB_006de101: - uVar13 = 0; + uVar5 = 0; local_48 = (int)local_58 - (int)local_5c >> 3; if (local_48 != 0) { do { - if (*(int *)((int)local_5c + uVar13 * 8) == 300) { - piVar11 = (int *)((int)local_5c + 4 + uVar13 * 8); + if (*(int *)((int)local_5c + uVar5 * 8) == 300) { + piVar11 = (int *)((int)local_5c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 4; if (*piVar11 < 0) { - *(undefined4 *)((int)local_5c + 4 + uVar13 * 8) = 0; + *(undefined4 *)((int)local_5c + 4 + uVar5 * 8) = 0; } goto LAB_006de176; } - uVar13 = uVar13 + 1; - } while (uVar13 < local_48); + uVar5 = uVar5 + 1; + } while (uVar5 < local_48); } + local_e4 = 300; + local_e0 = 4; if (local_58 == local_54) { std::vector<8byte>::_Emplace_reallocate(); } @@ -401449,21 +402006,23 @@ LAB_006de101: local_58 = local_58 + 2; } LAB_006de176: - uVar13 = 0; + uVar5 = 0; local_48 = (int)local_58 - (int)local_5c >> 3; if (local_48 != 0) { do { - if (*(int *)((int)local_5c + uVar13 * 8) == 0x5a) { - piVar11 = (int *)((int)local_5c + 4 + uVar13 * 8); + if (*(int *)((int)local_5c + uVar5 * 8) == 0x5a) { + piVar11 = (int *)((int)local_5c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 2; if (*piVar11 < 0) { - *(undefined4 *)((int)local_5c + 4 + uVar13 * 8) = 0; + *(undefined4 *)((int)local_5c + 4 + uVar5 * 8) = 0; } goto LAB_006de1e8; } - uVar13 = uVar13 + 1; - } while (uVar13 < local_48); + uVar5 = uVar5 + 1; + } while (uVar5 < local_48); } + local_174 = 0x5a; + local_170 = 2; if (local_58 == local_54) { std::vector<8byte>::_Emplace_reallocate(); } @@ -401474,21 +402033,23 @@ LAB_006de176: } LAB_006de1e8: if (*param_1 != 4) { - uVar13 = 0; + uVar5 = 0; local_48 = (int)local_58 - (int)local_5c >> 3; if (local_48 != 0) { do { - if (*(int *)((int)local_5c + uVar13 * 8) == 0x15e) { - piVar11 = (int *)((int)local_5c + 4 + uVar13 * 8); + if (*(int *)((int)local_5c + uVar5 * 8) == 0x15e) { + piVar11 = (int *)((int)local_5c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 1; if (*piVar11 < 0) { - *(undefined4 *)((int)local_5c + 4 + uVar13 * 8) = 0; + *(undefined4 *)((int)local_5c + 4 + uVar5 * 8) = 0; } goto LAB_006de264; } - uVar13 = uVar13 + 1; - } while (uVar13 < local_48); + uVar5 = uVar5 + 1; + } while (uVar5 < local_48); } + local_16c = 0x15e; + local_168 = 1; if (local_58 == local_54) { std::vector<8byte>::_Emplace_reallocate(); } @@ -401500,21 +402061,23 @@ LAB_006de1e8: } LAB_006de264: if (*param_1 == 0) { - uVar13 = 0; + uVar5 = 0; local_48 = (int)local_58 - (int)local_5c >> 3; if (local_48 != 0) { do { - if (*(int *)((int)local_5c + uVar13 * 8) == 100) { - piVar11 = (int *)((int)local_5c + 4 + uVar13 * 8); + if (*(int *)((int)local_5c + uVar5 * 8) == 100) { + piVar11 = (int *)((int)local_5c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 1; if (*piVar11 < 0) { - *(undefined4 *)((int)local_5c + 4 + uVar13 * 8) = 0; + *(undefined4 *)((int)local_5c + 4 + uVar5 * 8) = 0; } goto LAB_006de2db; } - uVar13 = uVar13 + 1; - } while (uVar13 < local_48); + uVar5 = uVar5 + 1; + } while (uVar5 < local_48); } + local_14c = 100; + local_148 = 1; if (local_58 == local_54) { std::vector<8byte>::_Emplace_reallocate(); } @@ -401525,20 +402088,26 @@ LAB_006de264: } } LAB_006de2db: - uVar13 = WeightedOutcomePicker::PickOutcome(&local_5c); - *in_EDX = uVar13; + rng._shift1 = 5; + rng._seed = (int)local_84; + rng._shift2 = 9; + rng._shift3 = 7; + uVar5 = WeightedOutcomePicker::PickOutcome(&local_5c,rng); + *in_EDX = uVar5; *param_1 = 0; if ((*in_EDX == 10) && - (cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar3 != '\0')) { + (cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar4 != '\0')) { + uStack_160 = 0x300000006; local_48 = 0x11; - if (local_84 == (RNG)0x0) { + iStack_158 = 0x11; + if (local_84 == (Entity_Player *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar13 = (uint)local_84 >> 6 ^ (uint)local_84; - uVar13 = uVar13 << 3 ^ uVar13; - uVar13 = uVar13 >> 0x11 ^ uVar13; - if (uVar13 == (uVar13 / 5) * 5) { + local_164 = (uint)local_84 >> 6 ^ (uint)local_84; + local_164 = local_164 << 3 ^ local_164; + local_164 = local_164 >> 0x11 ^ local_164; + if (local_164 == (local_164 / 5) * 5) { in_EDX = local_4c; } else { @@ -401547,23 +402116,27 @@ LAB_006de2db: local_8c = (undefined4 *)0x0; local_8 = CONCAT31(local_8._1_3_,1); if (*param_1 != 3) { + local_144 = 0x14; + local_140 = 0x14; std::vector<8byte>::_Emplace_reallocate(); } - uVar13 = 0; - uVar14 = (int)local_90 - (int)local_94 >> 3; - if (uVar14 != 0) { + uVar5 = 0; + uVar13 = (int)local_90 - (int)local_94 >> 3; + if (uVar13 != 0) { do { - if (*(int *)((int)local_94 + uVar13 * 8) == 0x1e) { - piVar11 = (int *)((int)local_94 + 4 + uVar13 * 8); + if (*(int *)((int)local_94 + uVar5 * 8) == 0x1e) { + piVar11 = (int *)((int)local_94 + 4 + uVar5 * 8); *piVar11 = *piVar11 + 0xf; if (*piVar11 < 0) { - *(undefined4 *)((int)local_94 + 4 + uVar13 * 8) = 0; + *(undefined4 *)((int)local_94 + 4 + uVar5 * 8) = 0; } goto LAB_006de46f; } - uVar13 = uVar13 + 1; - } while (uVar13 < uVar14); + uVar5 = uVar5 + 1; + } while (uVar5 < uVar13); } + local_13c = 0x1e; + local_138 = 0xf; if (local_90 == local_8c) { std::vector<8byte>::_Emplace_reallocate(); } @@ -401573,21 +402146,23 @@ LAB_006de2db: local_90 = local_90 + 2; } LAB_006de46f: - uVar13 = 0; - uVar14 = (int)local_90 - (int)local_94 >> 3; - if (uVar14 != 0) { + uVar5 = 0; + uVar13 = (int)local_90 - (int)local_94 >> 3; + if (uVar13 != 0) { do { - if (*(int *)((int)local_94 + uVar13 * 8) == 0x28) { - piVar11 = (int *)((int)local_94 + 4 + uVar13 * 8); + if (*(int *)((int)local_94 + uVar5 * 8) == 0x28) { + piVar11 = (int *)((int)local_94 + 4 + uVar5 * 8); *piVar11 = *piVar11 + 0xf; if (*piVar11 < 0) { - *(undefined4 *)((int)local_94 + 4 + uVar13 * 8) = 0; + *(undefined4 *)((int)local_94 + 4 + uVar5 * 8) = 0; } goto LAB_006de4ef; } - uVar13 = uVar13 + 1; - } while (uVar13 < uVar14); + uVar5 = uVar5 + 1; + } while (uVar5 < uVar13); } + local_154 = 0x28; + local_150 = 0xf; if (local_90 == local_8c) { std::vector<8byte>::_Emplace_reallocate(); } @@ -401597,21 +402172,23 @@ LAB_006de46f: local_90 = local_90 + 2; } LAB_006de4ef: - uVar13 = 0; - uVar14 = (int)local_90 - (int)local_94 >> 3; - if (uVar14 != 0) { + uVar5 = 0; + uVar13 = (int)local_90 - (int)local_94 >> 3; + if (uVar13 != 0) { do { - if (*(int *)((int)local_94 + uVar13 * 8) == 10) { - piVar11 = (int *)((int)local_94 + 4 + uVar13 * 8); + if (*(int *)((int)local_94 + uVar5 * 8) == 10) { + piVar11 = (int *)((int)local_94 + 4 + uVar5 * 8); *piVar11 = *piVar11 + 0xf; if (*piVar11 < 0) { - *(undefined4 *)((int)local_94 + 4 + uVar13 * 8) = 0; + *(undefined4 *)((int)local_94 + 4 + uVar5 * 8) = 0; } goto LAB_006de563; } - uVar13 = uVar13 + 1; - } while (uVar13 < uVar14); + uVar5 = uVar5 + 1; + } while (uVar5 < uVar13); } + local_ec = 10; + local_e8 = 0xf; if (local_90 == local_8c) { std::vector<8byte>::_Emplace_reallocate(); } @@ -401621,10 +402198,14 @@ LAB_006de4ef: local_90 = local_90 + 2; } LAB_006de563: - uVar13 = WeightedOutcomePicker::PickOutcome(&local_94); + rng_00._shift1 = (undefined4)uStack_160; + rng_00._seed = local_164; + rng_00._shift2 = uStack_160._4_4_; + rng_00._shift3 = iStack_158; + uVar5 = WeightedOutcomePicker::PickOutcome(&local_94,rng_00); in_EDX = local_4c; local_8 = local_8 & 0xffffff00; - *local_4c = uVar13; + *local_4c = uVar5; if (local_94 != (WeightedOutcomePicker)0x0) { if ((0xfff < (uint)(((int)local_8c - (int)local_94 >> 3) * 8)) && (0x1f < ((int)local_94 - *(int *)((int)local_94 + -4)) - 4U)) goto LAB_006defb6; @@ -401635,11 +402216,11 @@ LAB_006de563: } } } - if ((((uVar4 == 3) || (*in_EDX == 0x14)) || - (cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar3 == '\0')) || + if ((((local_a4 == 3) || (*in_EDX == 0x14)) || + (cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar4 == '\0')) || (0.1 <= local_80)) { if (((*in_EDX != 0x5a) && - (cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar3 != '\0')) && + (cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar4 != '\0')) && ((0.1 <= local_80 && (local_80 < 0.2)))) { *in_EDX = 0x5a; } @@ -401657,12 +402238,12 @@ LAB_006de563: local_54 = (undefined4 *)0x0; } } - iVar5 = PlayerManager::FirstCollectibleOwner(); - local_4d = iVar5 != 0; iVar6 = PlayerManager::FirstCollectibleOwner(); - puVar15 = local_4c; - local_5d = iVar6 != 0; - if ((iVar5 == 0) || (!local_5d)) { + local_4d = iVar6 != 0; + iVar7 = PlayerManager::FirstCollectibleOwner(); + puVar14 = local_4c; + local_5d = iVar7 != 0; + if ((iVar6 == 0) || (!local_5d)) { bVar12 = local_4d; } else { @@ -401676,20 +402257,20 @@ LAB_006de563: } } else if (((*local_4c == 300) && (local_5d)) && - (((uVar4 = *param_1, (int)uVar4 < 0 || - (((pvVar1 = (g_manager->_itemConfig)._cards._begin, - (int)(g_manager->_itemConfig)._cards._end - (int)pvVar1 >> 2 <= (int)uVar4 || - (iVar5 = *(int *)((int)pvVar1 + uVar4 * 4), iVar5 == 0)) || - (iVar5 = *(int *)(iVar5 + 0x58), iVar5 == 0)))) || - (((iVar5 == 5 || (iVar5 == 1)) || (iVar5 == 3)))))) { + (((uVar5 = *param_1, (int)uVar5 < 0 || + (((pvVar2 = (g_manager->_itemConfig)._cards._begin, + (int)(g_manager->_itemConfig)._cards._end - (int)pvVar2 >> 2 <= (int)uVar5 || + (iVar6 = *(int *)((int)pvVar2 + uVar5 * 4), iVar6 == 0)) || + (iVar6 = *(int *)(iVar6 + 0x58), iVar6 == 0)))) || + (((iVar6 == 5 || (iVar6 == 1)) || (iVar6 == 3)))))) { *local_4c = 0x46; LAB_006de779: *param_1 = 0; } - uVar4 = *local_4c; + uVar5 = *local_4c; local_84 = param_2; - if (300 < uVar4) { - switch(uVar4) { + if (300 < uVar5) { + switch(uVar5) { case 0x154: case 0x172: case 0x17c: @@ -401700,17 +402281,17 @@ switchD_006de7af_caseD_b: KAGE_LogMessage(); case 0x15e: if (*param_1 == 0) { - uVar4 = ItemPool::GetTrinket(&g_game->_itemPool,param_2._0_1_ ^ 1); - *param_1 = uVar4; - if (uVar4 == 0) { - *puVar15 = 300; - uVar4 = RNG::Next(&local_70); - ItemPool::GetCardEx(uVar4,0x19,10,10,1); + uVar5 = ItemPool::GetTrinket(&g_game->_itemPool,(byte)param_2 ^ 1); + *param_1 = uVar5; + if (uVar5 == 0) { + *puVar14 = 300; + uVar5 = RNG::Next(&local_70); + ItemPool::GetCardEx(uVar5,0x19,10,10,1); local_30 = 0x900000005; local_28 = 7; - local_44[4] = uVar4; - uVar4 = lua_callback_run_get_card(local_44 + 4); - *param_1 = uVar4; + local_44[4] = uVar5; + uVar5 = lua_callback_run_get_card(local_44 + 4); + *param_1 = uVar5; if (local_5d != false) { *local_4c = 0x46; goto LAB_006df31b; @@ -401728,145 +402309,145 @@ switchD_006de7af_caseD_37: } goto switchD_006de7af_caseD_29; } - if (uVar4 == 300) { + if (uVar5 == 300) { if (*param_1 == 0) { - uVar4 = RNG::Next(&local_70); - ItemPool::GetCardEx(uVar4,0x19,10,10,1); + uVar5 = RNG::Next(&local_70); + ItemPool::GetCardEx(uVar5,0x19,10,10,1); local_44[1] = 5; local_44[2] = 9; local_44[3] = 7; - local_44[0] = uVar4; - uVar4 = lua_callback_run_get_card(local_44); - *param_1 = uVar4; + local_44[0] = uVar5; + uVar5 = lua_callback_run_get_card(local_44); + *param_1 = uVar5; } goto switchD_006de7af_caseD_29; } - switch(uVar4) { + switch(uVar5) { case 10: if (*param_1 == 0) { *param_1 = 1; - uVar4 = RNG::RandomInt(&local_70,2); - if (uVar4 == 0) { + uVar5 = RNG::RandomInt(&local_70,2); + if (uVar5 == 0) { *param_1 = 2; } - cVar3 = Game::IsHardMode(); - uVar4 = 0x14; - if (cVar3 != '\0') { - uVar4 = 0x32; + cVar4 = Game::IsHardMode(); + uVar5 = 0x14; + if (cVar4 != '\0') { + uVar5 = 0x32; } - uVar4 = RNG::RandomInt(&local_70,uVar4); - if (uVar4 == 0) { + uVar5 = RNG::RandomInt(&local_70,uVar5); + if (uVar5 == 0) { *param_1 = 5; } - uVar4 = RNG::RandomInt(&local_70,0x32); - if ((uVar4 == 0) && + uVar5 = RNG::RandomInt(&local_70,0x32); + if ((uVar5 == 0) && (((g_manager->_persistentGameData)._achievements[0x19b] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { *param_1 = 0xc; } - uVar4 = RNG::RandomInt(&local_70,100); - if ((uVar4 == 0) && + uVar5 = RNG::RandomInt(&local_70,100); + if ((uVar5 == 0) && (((g_manager->_persistentGameData)._achievements[0x148] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { *param_1 = 9; } - uVar4 = RNG::RandomInt(&local_70,100); - if (uVar4 == 0) { + uVar5 = RNG::RandomInt(&local_70,100); + if (uVar5 == 0) { *param_1 = 10; } - uVar4 = RNG::RandomInt(&local_70,0x32); - if (uVar4 == 0) { + uVar5 = RNG::RandomInt(&local_70,0x32); + if (uVar5 == 0) { LAB_006de943: *param_1 = 4; } else { - cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); - if (cVar3 != '\0') { - iVar5 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x12); - uVar4 = RNG::RandomInt(&local_70,(uint)(0x1e / (longlong)iVar5)); - if (uVar4 == 0) goto LAB_006de943; + cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); + if (cVar4 != '\0') { + iVar6 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x12); + uVar5 = RNG::RandomInt(&local_70,(uint)(0x1e / (longlong)iVar6)); + if (uVar5 == 0) goto LAB_006de943; } - iVar5 = PlayerManager::FirstCollectibleOwner(); - if (((iVar5 != 0) && (uVar4 = RNG::RandomInt(&local_70,0x28), uVar4 == 0)) || - ((iVar5 = PlayerManager::FirstCollectibleOwner(), iVar5 != 0 && - (uVar4 = RNG::RandomInt(&local_70,0x28), uVar4 == 0)))) goto LAB_006de943; + iVar6 = PlayerManager::FirstCollectibleOwner(); + if (((iVar6 != 0) && (uVar5 = RNG::RandomInt(&local_70,0x28), uVar5 == 0)) || + ((iVar6 = PlayerManager::FirstCollectibleOwner(), iVar6 != 0 && + (uVar5 = RNG::RandomInt(&local_70,0x28), uVar5 == 0)))) goto LAB_006de943; } - uVar4 = RNG::RandomInt(&local_70,10); - if ((uVar4 == 0) || - ((iVar5 = PlayerManager::FirstCollectibleOwner(), iVar5 != 0 && - (uVar4 = RNG::RandomInt(&local_70,3), uVar4 == 0)))) { + uVar5 = RNG::RandomInt(&local_70,10); + if ((uVar5 == 0) || + ((iVar6 = PlayerManager::FirstCollectibleOwner(), iVar6 != 0 && + (uVar5 = RNG::RandomInt(&local_70,3), uVar5 == 0)))) { LAB_006de9f4: *param_1 = 3; - uVar4 = RNG::RandomInt(&local_70,4); - if ((uVar4 == 0) && + uVar5 = RNG::RandomInt(&local_70,4); + if ((uVar5 == 0) && (((g_manager->_persistentGameData)._achievements[0x21] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { *param_1 = 8; } - uVar4 = RNG::RandomInt(&local_70,0x14); - if ((uVar4 == 0) && + uVar5 = RNG::RandomInt(&local_70,0x14); + if ((uVar5 == 0) && (((g_manager->_persistentGameData)._achievements[0x187] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { *param_1 = 0xb; } - uVar4 = RNG::RandomInt(&local_70,0x14); - if (uVar4 == 0) { + uVar5 = RNG::RandomInt(&local_70,0x14); + if (uVar5 == 0) { LAB_006deacc: *param_1 = 6; } else { - cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); - if (cVar3 != '\0') { - iVar5 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x11); - uVar4 = RNG::RandomInt(&local_70,(uint)(10 / (longlong)iVar5)); - if (uVar4 == 0) goto LAB_006deacc; + cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); + if (cVar4 != '\0') { + iVar6 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x11); + uVar5 = RNG::RandomInt(&local_70,(uint)(10 / (longlong)iVar6)); + if (uVar5 == 0) goto LAB_006deacc; } } - uVar4 = RNG::RandomInt(&local_70,5); - pGVar16 = g_game; - if ((uVar4 == 0) && - ((pEVar7 = PlayerManager::FirstPlayerByType(&g_game->_playerManager,0x10), - pEVar7 != (Entity_Player *)0x0 || - (pEVar7 = PlayerManager::FirstPlayerByType(&pGVar16->_playerManager,0x11), - pEVar7 != (Entity_Player *)0x0)))) { + uVar5 = RNG::RandomInt(&local_70,5); + pGVar15 = g_game; + if ((uVar5 == 0) && + ((pEVar8 = PlayerManager::FirstPlayerByType(&g_game->_playerManager,0x10), + pEVar8 != (Entity_Player *)0x0 || + (pEVar8 = PlayerManager::FirstPlayerByType(&pGVar15->_playerManager,0x11), + pEVar8 != (Entity_Player *)0x0)))) { *param_1 = 0xb; } } else { - cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); - if (cVar3 != '\0') { - iVar5 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x26); - uVar4 = RNG::RandomInt(&local_70,(uint)(10 / (longlong)iVar5)); - if (uVar4 == 0) goto LAB_006de9f4; + cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); + if (cVar4 != '\0') { + iVar6 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x26); + uVar5 = RNG::RandomInt(&local_70,(uint)(10 / (longlong)iVar6)); + if (uVar5 == 0) goto LAB_006de9f4; } - pEVar7 = PlayerManager::FirstPlayerByType(&g_game->_playerManager,5); - if ((pEVar7 != (Entity_Player *)0x0) && (uVar4 = RNG::RandomInt(&local_70,0x10), uVar4 == 0) + pEVar8 = PlayerManager::FirstPlayerByType(&g_game->_playerManager,5); + if ((pEVar8 != (Entity_Player *)0x0) && (uVar5 = RNG::RandomInt(&local_70,0x10), uVar5 == 0) ) goto LAB_006de9f4; } - uVar4 = RNG::RandomInt(&local_70,0xa0); - pGVar16 = g_game; - if ((uVar4 == 0) && + uVar5 = RNG::RandomInt(&local_70,0xa0); + pGVar15 = g_game; + if ((uVar5 == 0) && (((g_manager->_persistentGameData)._achievements[0xe0] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { *param_1 = 7; } - cVar3 = PlayerManager::AnyoneHasTrinket(&pGVar16->_playerManager); - if ((cVar3 != '\0') && (*(int *)((int)g_game->_room + 8) != 8)) { + cVar4 = PlayerManager::AnyoneHasTrinket(&pGVar15->_playerManager); + if ((cVar4 != '\0') && (*(int *)((int)g_game->_room + 8) != 8)) { *param_1 = 6; } } - pGVar16 = g_game; + pGVar15 = g_game; if (*(int *)((int)g_game->_room + 8) == 8) { local_4d = Game::IsGreedMode(g_game); - pRVar8 = Game::GetCurrentRoomDesc(pGVar16); - iVar5 = *(int *)((int)pRVar8->Data + 0xc); + pRVar9 = Game::GetCurrentRoomDesc(pGVar15); + iVar6 = *(int *)((int)pRVar9->Data + 0xc); if (local_4d == 0) { - switch(iVar5) { + switch(iVar6) { case 0: goto switchD_006debbd_caseD_0; case 1: @@ -401907,7 +402488,7 @@ LAB_006deacc: } break; } - switch(iVar5) { + switch(iVar6) { case 0: goto switchD_006debbd_caseD_0; case 1: @@ -401945,33 +402526,33 @@ switchD_006debbd_caseD_1: goto switchD_006debbd_caseD_19; } switchD_006debbd_default: - if (iVar5 == 0) { + if (iVar6 == 0) { switchD_006debbd_caseD_0: *param_1 = 1; } else if (local_4d == 0) { - if (iVar5 != 1) { - if (iVar5 == 6) goto switchD_006debe1_caseD_6; + if (iVar6 != 1) { + if (iVar6 == 6) goto switchD_006debe1_caseD_6; goto LAB_006dec40; } switchD_006debbd_caseD_18: *param_1 = 4; } - else if (iVar5 == 0x18) { + else if (iVar6 == 0x18) { *param_1 = 4; } else { - if (iVar5 == 0x19) { + if (iVar6 == 0x19) { switchD_006debbd_caseD_19: *param_1 = 2; goto LAB_006dec49; } - if (iVar5 == 4) { + if (iVar6 == 4) { switchD_006debbd_caseD_4: *param_1 = 3; } else { - if (iVar5 != 5) goto LAB_006dec40; + if (iVar6 != 5) goto LAB_006dec40; *param_1 = 6; } } @@ -401980,8 +402561,8 @@ switchD_006debbd_caseD_4: LAB_006dec40: if (*param_1 == 2) { LAB_006dec49: - cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); - if (cVar3 != '\0') goto switchD_006debbd_caseD_0; + cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); + if (cVar4 != '\0') goto switchD_006debbd_caseD_0; } } break; @@ -401990,28 +402571,28 @@ LAB_006dec49: case 0x14: if (*param_1 == 0) { *param_1 = 1; - uVar4 = RNG::RandomInt(&local_70,0x14); - if (uVar4 == 0) { + uVar5 = RNG::RandomInt(&local_70,0x14); + if (uVar5 == 0) { *param_1 = 2; } - else if (((*param_1 == 1) && (uVar4 = RNG::RandomInt(&local_70,100), uVar4 == 0)) && + else if (((*param_1 == 1) && (uVar5 = RNG::RandomInt(&local_70,100), uVar5 == 0)) && (((g_manager->_persistentGameData)._achievements[0xf0] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { *param_1 = 6; } - uVar4 = RNG::RandomInt(&local_70,100); - if (uVar4 == 0) { + uVar5 = RNG::RandomInt(&local_70,100); + if (uVar5 == 0) { *param_1 = 3; } - else if (((*param_1 == 1) && (uVar4 = RNG::RandomInt(&local_70,100), uVar4 == 0)) && + else if (((*param_1 == 1) && (uVar5 = RNG::RandomInt(&local_70,100), uVar5 == 0)) && (((g_manager->_persistentGameData)._achievements[0xf2] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { *param_1 = 5; } - uVar4 = RNG::RandomInt(&local_70,200); - if ((uVar4 == 0) && + uVar5 = RNG::RandomInt(&local_70,200); + if ((uVar5 == 0) && (((g_manager->_persistentGameData)._achievements[0x265] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { @@ -402029,22 +402610,26 @@ switchD_006debe1_caseD_6: local_9c = (undefined4 *)0x0; local_98 = (undefined4 *)0x0; local_8 = 2; + local_f4 = 1; + local_f0 = 0x31; std::vector<8byte>::_Emplace_reallocate(); - uVar4 = 0; + uVar5 = 0; uVar13 = (int)local_9c - (int)local_a0 >> 3; if (uVar13 != 0) { do { - if (*(int *)((int)local_a0 + uVar4 * 8) == 2) { - piVar11 = (int *)((int)local_a0 + 4 + uVar4 * 8); + if (*(int *)((int)local_a0 + uVar5 * 8) == 2) { + piVar11 = (int *)((int)local_a0 + 4 + uVar5 * 8); *piVar11 = *piVar11 + 1; if (*piVar11 < 0) { - *(undefined4 *)((int)local_a0 + 4 + uVar4 * 8) = 0; + *(undefined4 *)((int)local_a0 + 4 + uVar5 * 8) = 0; } goto LAB_006deec1; } - uVar4 = uVar4 + 1; - } while (uVar4 < uVar13); + uVar5 = uVar5 + 1; + } while (uVar5 < uVar13); } + local_fc = 2; + local_f8 = 1; if (local_9c == local_98) { std::vector<8byte>::_Emplace_reallocate(); } @@ -402057,27 +402642,32 @@ LAB_006deec1: if (((g_manager->_persistentGameData)._achievements[0x14d] == 0) && (((g_manager->_state != 2 || (g_game == (Game *)0x0)) || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))) { - bVar2 = false; + bVar3 = false; } else { - bVar2 = true; + bVar3 = true; } - uVar9 = 1; - if (bVar2) { - uVar9 = 4; + local_100 = 1; + local_104 = 1; + if (bVar3) { + local_104 = 4; } if (local_9c == local_98) { std::vector<8byte>::_Emplace_reallocate(); } else { - *local_9c = uVar9; + *local_9c = local_104; local_9c[1] = 1; local_9c = local_9c + 2; } - RNG::Next(&local_70); - uVar4 = WeightedOutcomePicker::PickOutcome(&local_a0); + uVar5 = RNG::Next(&local_70); + rng_01._shift1 = 5; + rng_01._seed = uVar5; + rng_01._shift2 = 9; + rng_01._shift3 = 7; + uVar5 = WeightedOutcomePicker::PickOutcome(&local_a0,rng_01); local_8 = 0xffffffff; - *param_1 = uVar4; + *param_1 = uVar5; if (local_a0 != (WeightedOutcomePicker)0x0) { if ((0xfff < (uint)(((int)local_98 - (int)local_a0 >> 3) * 8)) && (0x1f < ((int)local_a0 - *(int *)((int)local_a0 + -4)) - 4U)) { @@ -402095,28 +402685,28 @@ LAB_006defb6: case 0x28: if (*param_1 == 0) { *param_1 = 1; - uVar4 = RNG::RandomInt(&local_70,7); - if (uVar4 == 0) { + uVar5 = RNG::RandomInt(&local_70,7); + if (uVar5 == 0) { *param_1 = 2; } - uVar4 = RNG::RandomInt(&local_70,100); - if ((uVar4 == 0) && + uVar5 = RNG::RandomInt(&local_70,100); + if ((uVar5 == 0) && (((g_manager->_persistentGameData)._achievements[0xe2] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { *param_1 = 4; } - uVar4 = RNG::RandomInt(&local_70,0x32); - if (uVar4 == 0) { + uVar5 = RNG::RandomInt(&local_70,0x32); + if (uVar5 == 0) { *param_1 = (*param_1 == 4) + 5; } - uVar4 = RNG::RandomInt(&local_70,10); - if (uVar4 == 0) { - uVar4 = 3; + uVar5 = RNG::RandomInt(&local_70,10); + if (uVar5 == 0) { + uVar5 = 3; if (*param_1 == 4) { - uVar4 = 6; + uVar5 = 6; } - *param_1 = uVar4; + *param_1 = uVar5; } } break; @@ -402126,39 +402716,39 @@ LAB_006defb6: break; case 0x32: if (*param_1 == 0) { - uVar4 = RNG::RandomInt(&local_70,0x28); - if (uVar4 == 0) { - *puVar15 = 0x36; + uVar5 = RNG::RandomInt(&local_70,0x28); + if (uVar5 == 0) { + *puVar14 = 0x36; } else { - uVar4 = RNG::RandomInt(&local_70,0x14); - if (uVar4 == 0) { - *puVar15 = 0x168; + uVar5 = RNG::RandomInt(&local_70,0x14); + if (uVar5 == 0) { + *puVar14 = 0x168; } else { - uVar4 = RNG::RandomInt(&local_70,0x32); - if (uVar4 == 0) { - *puVar15 = 0x33; + uVar5 = RNG::RandomInt(&local_70,0x32); + if (uVar5 == 0) { + *puVar14 = 0x33; } else { - uVar4 = RNG::RandomInt(&local_70,0x50); - if (uVar4 == 0) { - *puVar15 = 0x34; + uVar5 = RNG::RandomInt(&local_70,0x50); + if (uVar5 == 0) { + *puVar14 = 0x34; } else { - uVar4 = RNG::RandomInt(&local_70,100); - if (uVar4 == 0) { - *puVar15 = 0x45; + uVar5 = RNG::RandomInt(&local_70,100); + if (uVar5 == 0) { + *puVar14 = 0x45; goto LAB_006df115; } - uVar4 = RNG::RandomInt(&local_70,0x50); - if (uVar4 == 0) { + uVar5 = RNG::RandomInt(&local_70,0x50); + if (uVar5 == 0) { if ((g_manager->_persistentGameData)._achievements[0x261] != 0) { LAB_006df1bd: - *puVar15 = 0x38; + *puVar14 = 0x38; goto switchD_006de7af_caseD_3c; } - if ((g_manager->_state == 2) && (puVar15 = local_4c, g_game != (Game *)0x0)) { + if ((g_manager->_state == 2) && (puVar14 = local_4c, g_game != (Game *)0x0)) { if ((g_game->_dailyChallenge)._id != 0) goto LAB_006df1bd; if (g_game->_isDebug != 0) { *local_4c = 0x38; @@ -402166,21 +402756,21 @@ LAB_006df1bd: } } } - uVar4 = RNG::RandomInt(&local_70,0x28); - pGVar16 = g_game; - if (uVar4 == 0) { - iVar5 = Room::GetRoomShape(); - if (((((iVar5 == 2) || (iVar5 = Room::GetRoomShape(), iVar5 == 3)) || - (iVar5 = Room::GetRoomShape(), iVar5 == 7)) || - (iVar5 = Room::GetRoomShape(), iVar5 == 5)) || + uVar5 = RNG::RandomInt(&local_70,0x28); + pGVar15 = g_game; + if (uVar5 == 0) { + iVar6 = Room::GetRoomShape(); + if (((((iVar6 == 2) || (iVar6 = Room::GetRoomShape(), iVar6 == 3)) || + (iVar6 = Room::GetRoomShape(), iVar6 == 7)) || + (iVar6 = Room::GetRoomShape(), iVar6 == 5)) || (((g_manager->_persistentGameData)._achievements[0x263] == 0 && ((g_manager->_state != 2 || - (((pGVar16->_dailyChallenge)._id == 0 && (pGVar16->_isDebug == 0)))))))) { - puVar15 = local_4c; + (((pGVar15->_dailyChallenge)._id == 0 && (pGVar15->_isDebug == 0)))))))) { + puVar14 = local_4c; } else { *local_4c = 0x3a; - puVar15 = local_4c; + puVar14 = local_4c; } } } @@ -402198,9 +402788,9 @@ LAB_006df1bd: case 0x3a: switchD_006de7af_caseD_33: if (*param_1 == 0) { - cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); - if (cVar3 != '\0') { - *puVar15 = 0x168; + cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); + if (cVar4 != '\0') { + *puVar14 = 0x168; goto switchD_006de7af_caseD_39; } } @@ -402212,32 +402802,32 @@ switchD_006de7af_caseD_33: case 0x3c: switchD_006de7af_caseD_3c: if (*param_1 == 0) { - uVar4 = RNG::RandomInt(&local_70,0x640); - if (uVar4 == 0) { - *puVar15 = 0x35; + uVar5 = RNG::RandomInt(&local_70,0x640); + if (uVar5 == 0) { + *puVar14 = 0x35; } goto switchD_006de7af_caseD_33; } LAB_006df2eb: - if ((*puVar15 == 0x34) && - (cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar3 != '\0')) { - *puVar15 = 0x36; + if ((*puVar14 == 0x34) && + (cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar4 != '\0')) { + *puVar14 = 0x36; } switchD_006de7af_caseD_39: if (*param_1 == 0) { - cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); - if (((cVar3 == '\0') || - (cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar3 != '\0')) || - (*puVar15 == 0x39)) { - if (*puVar15 == 0x3c) goto LAB_006df530; + cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); + if (((cVar4 == '\0') || + (cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar4 != '\0')) || + (*puVar14 == 0x39)) { + if (*puVar14 == 0x3c) goto LAB_006df530; } else { - *puVar15 = 0x3c; + *puVar14 = 0x3c; LAB_006df530: - uVar4 = RNG::RandomInt(&local_70,0x78); - if (uVar4 == 0) { + uVar5 = RNG::RandomInt(&local_70,0x78); + if (uVar5 == 0) { if ((g_manager->_persistentGameData)._achievements[0x259] == 0) { - if ((g_manager->_state == 2) && (puVar15 = local_4c, g_game != (Game *)0x0)) { + if ((g_manager->_state == 2) && (puVar14 = local_4c, g_game != (Game *)0x0)) { if ((g_game->_dailyChallenge)._id != 0) goto LAB_006df57c; if (g_game->_isDebug != 0) { *local_4c = 0x39; @@ -402246,18 +402836,18 @@ LAB_006df530: } else { LAB_006df57c: - *puVar15 = 0x39; + *puVar14 = 0x39; } } } if (*param_1 == 0) { - if (*puVar15 == 0x39) { - uVar4 = RNG::RandomInt(&local_70,4); + if (*puVar14 == 0x39) { + uVar5 = RNG::RandomInt(&local_70,4); uVar13 = RNG::RandomInt(&local_70,4); - *param_1 = uVar13 + 1 + uVar4; + *param_1 = uVar13 + 1 + uVar5; } else { - *param_1 = (*puVar15 == 0x35) + 1; + *param_1 = (*puVar14 == 0x35) + 1; } } } @@ -402266,8 +402856,8 @@ LAB_006df57c: if (*param_1 == 0) { LAB_006df115: *param_1 = 1; - uVar4 = RNG::RandomInt(&local_70,100); - if ((uVar4 == 0) && + uVar5 = RNG::RandomInt(&local_70,100); + if ((uVar5 == 0) && (((g_manager->_persistentGameData)._achievements[0x25c] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { @@ -402279,29 +402869,29 @@ LAB_006df115: if (*param_1 == 0) { LAB_006df31b: RNG::Next(&local_70); - uVar4 = ItemPool::GetPill(); - *param_1 = uVar4; + uVar5 = ItemPool::GetPill(); + *param_1 = uVar5; } break; case 0x5a: if (*param_1 == 0) { *param_1 = 1; - uVar4 = RNG::Next(&local_70); - RNG::Next(&local_70); + uVar5 = RNG::Next(&local_70); + local_a4 = RNG::Next(&local_70); if (((((g_manager->_persistentGameData)._achievements[0x21] != 0) || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))) && - (uVar4 != (uVar4 / 3) * 3)) || - ((cVar3 = Game::IsHardMode(), cVar3 != '\0' && ((extraout_EDX & 1) != 0)))) { + (uVar5 != (uVar5 / 3) * 3)) || + ((cVar4 = Game::IsHardMode(), cVar4 != '\0' && ((extraout_EDX & 1) != 0)))) { *param_1 = 2; } - uVar4 = RNG::RandomInt(&local_70,100); - if (uVar4 == 0) { + uVar5 = RNG::RandomInt(&local_70,100); + if (uVar5 == 0) { *param_1 = 3; } else { - uVar4 = RNG::RandomInt(&local_70,0x78); - if ((uVar4 == 0) && + uVar5 = RNG::RandomInt(&local_70,0x78); + if ((uVar5 == 0) && (((g_manager->_persistentGameData)._achievements[0x267] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) @@ -402311,9 +402901,9 @@ LAB_006df31b: break; case 100: if (*param_1 != 0) { - iVar5 = PlayerManager::FirstCollectibleOwner(); - if (((iVar5 == 0) || (g_pickupIgnoreModifiers != 0)) || - (cVar3 = ItemConfig::IsQuestItem(), cVar3 != '\0')) { + iVar6 = PlayerManager::FirstCollectibleOwner(); + if (((iVar6 == 0) || (g_pickupIgnoreModifiers != 0)) || + (cVar4 = ItemConfig::IsQuestItem(), cVar4 != '\0')) { if (*param_1 != 0) break; } else { @@ -402321,45 +402911,53 @@ LAB_006df31b: } } RNG::Next(&local_70); - uVar4 = ItemPool::GetSeededCollectible(); - *param_1 = uVar4; + uVar5 = ItemPool::GetSeededCollectible(); + *param_1 = uVar5; break; case 0x6e: *param_1 = 0x226; } switchD_006de7af_caseD_29: - iVar5 = PlayerManager::FirstCollectibleOwner(); - if (((iVar5 == 0) || (((uint)local_88 & 0x8000) != 0)) && - ((*local_4c != 0x28 || (iVar5 = PlayerManager::FirstCollectibleOwner(), iVar5 == 0)))) { - iVar5 = g_pickupIgnoreModifiers; + uVar17 = 0xcb; + iVar7 = 0x6df689; + iVar6 = PlayerManager::FirstCollectibleOwner(); + if ((iVar6 == 0) || (((uint)local_88 & 0x8000) != 0)) { + if (*local_4c == 0x28) { + uVar17 = 0xfa; + iVar7 = 0x6df6ba; + iVar6 = PlayerManager::FirstCollectibleOwner(); + if (iVar6 != 0) goto LAB_006df6be; + } + iVar6 = g_pickupIgnoreModifiers; } else { - iVar5 = g_pickupIgnoreModifiers; +LAB_006df6be: + iVar6 = g_pickupIgnoreModifiers; if (g_pickupIgnoreModifiers == 0) { - uVar4 = *local_4c; - if ((uVar4 == 10) && ((*param_1 == 1 || (*param_1 == 9)))) { + uVar5 = *local_4c; + if ((uVar5 == 10) && ((*param_1 == 1 || (*param_1 == 9)))) { *param_1 = 5; - uVar4 = *local_4c; + uVar5 = *local_4c; } - if ((uVar4 == 0x14) && (*param_1 == 1)) { + if ((uVar5 == 0x14) && (*param_1 == 1)) { *param_1 = 4; - uVar4 = *local_4c; + uVar5 = *local_4c; } - if (uVar4 == 0x1e) { + if (uVar5 == 0x1e) { if (*param_1 != 1) goto LAB_006df725; *param_1 = 3; - uVar4 = *local_4c; + uVar5 = *local_4c; } - if ((uVar4 == 0x28) && (*param_1 == 1)) { + if ((uVar5 == 0x28) && (*param_1 == 1)) { *param_1 = 2; } } } LAB_006df725: - pGVar16 = g_game; + pGVar15 = g_game; if (((g_game->_challenge == 0x19) && (*local_4c == 10)) && - ((uVar4 = *param_1, uVar4 == 1 || - ((((uVar4 == 2 || (uVar4 == 5)) || (uVar4 == 10)) || ((uVar4 == 9 || (uVar4 == 0xc)))))))) { + ((uVar5 = *param_1, uVar5 == 1 || + ((((uVar5 == 2 || (uVar5 == 5)) || (uVar5 == 10)) || ((uVar5 == 9 || (uVar5 == 0xc)))))))) { *local_4c = 0x14; if (*param_1 == 1) { *param_1 = 4; @@ -402368,94 +402966,107 @@ LAB_006df725: *param_1 = (*param_1 == 5) + 1; } } - if (pGVar16->_challenge == 0x29) { - if ((iVar5 == 0) && (*local_4c == 100)) { - cVar3 = ItemConfig::IsQuestItem(); - if (cVar3 == '\0') { + if (pGVar15->_challenge == 0x29) { + if ((iVar6 == 0) && (*local_4c == 100)) { + cVar4 = ItemConfig::IsQuestItem(); + if (cVar4 == '\0') { *local_4c = 0x15e; - uVar4 = ItemPool::GetTrinket(&pGVar16->_itemPool,local_84._0_1_ ^ 1); - *param_1 = uVar4; - pGVar16 = g_game; - if (uVar4 == 0) { + uVar5 = ItemPool::GetTrinket(&pGVar15->_itemPool,(byte)local_84 ^ 1); + *param_1 = uVar5; + pGVar15 = g_game; + if (uVar5 == 0) { *local_4c = 300; - uVar4 = RNG::Next(&local_70); - ItemPool::GetCardEx(uVar4,0x19,10,10,1); + uVar5 = RNG::Next(&local_70); + iVar7 = ItemPool::GetCardEx(uVar5,0x19,10,10,1); + uVar17 = 1; local_24[1] = 5; local_24[2] = 9; local_24[3] = 7; - local_24[0] = uVar4; - uVar4 = lua_callback_run_get_card(local_24); - *param_1 = uVar4; - pGVar16 = g_game; + local_24[0] = uVar5; + uVar5 = lua_callback_run_get_card(local_24); + *param_1 = uVar5; + pGVar15 = g_game; if (local_5d != false) { *local_4c = 0x46; RNG::Next(&local_70); - uVar4 = ItemPool::GetPill(); - *param_1 = uVar4; - pGVar16 = g_game; + uVar5 = ItemPool::GetPill(); + *param_1 = uVar5; + pGVar15 = g_game; } } } } } - else if (((pGVar16->_challenge == 0x2b) && (iVar5 == 0)) && (*local_4c == 100)) { - cVar3 = ItemConfig::IsQuestItem(); - if (cVar3 == '\0') { + else if (((pGVar15->_challenge == 0x2b) && (iVar6 == 0)) && (*local_4c == 100)) { + cVar4 = ItemConfig::IsQuestItem(); + if (cVar4 == '\0') { *local_4c = 300; *param_1 = 0; } } - if (pGVar16->_challenge == 0x2b) { - uVar4 = *local_4c; - if (uVar4 == 300) { + if (pGVar15->_challenge == 0x2b) { + uVar5 = *local_4c; + if (uVar5 == 300) { if ((*param_1 & 0x8000) == 0) { *param_1 = 0; } } - else if ((uVar4 != 0x46) && (uVar4 != 0x5a)) goto LAB_006df8a6; + else if ((uVar5 != 0x46) && (uVar5 != 0x5a)) goto LAB_006df8a6; *local_4c = 300; } LAB_006df8a6: - uVar4 = *local_4c; + uVar5 = *local_4c; local_48 = param_3; - if (uVar4 == 0x28) { - cVar3 = PlayerManager::are_all_players_tainted_blue_baby(); - if (cVar3 == '\0') goto LAB_006dfdb1; - uVar4 = *param_1; - if (((uVar4 == 3) || (uVar4 == 5)) || (uVar4 == 6)) goto LAB_006dfdb1; + if (uVar5 == 0x28) { + cVar4 = PlayerManager::are_all_players_tainted_blue_baby(); + if (cVar4 == '\0') goto LAB_006dfdb1; + uVar5 = *param_1; + if (((uVar5 == 3) || (uVar5 == 5)) || (uVar5 == 6)) goto LAB_006dfdb1; *local_4c = 0x2a; *param_1 = 1; - uVar4 = *local_4c; + uVar5 = *local_4c; } - if ((uVar4 != 0x14) && (uVar4 != 0x1e)) goto LAB_006dfdb1; - if (((pGVar16->_difficulty == 2) || - (((pGVar16->_difficulty == 3 || (pGVar16->_stage < 7)) || (g_pickupIgnoreModifiers != 0)))) || + if ((uVar5 != 0x14) && (uVar5 != 0x1e)) goto LAB_006dfdb1; + if (((pGVar15->_difficulty == 2) || + (((pGVar15->_difficulty == 3 || (pGVar15->_stage < 7)) || (g_pickupIgnoreModifiers != 0)))) || (1 < DAT_00c7ec68)) goto LAB_006dfdb1; - cVar3 = PlayerManager::AnyoneHasTrinket(&pGVar16->_playerManager); - if (cVar3 != '\0') { + puVar19 = (undefined4 *)0xa5; + puVar18 = (undefined4 *)0x6df94e; + cVar4 = PlayerManager::AnyoneHasTrinket(&pGVar15->_playerManager); + if (cVar4 != '\0') { local_7c = (WeightedOutcomePicker)0x0; local_78 = (undefined4 *)0x0; local_74 = (undefined4 *)0x0; local_8 = 3; if (*local_4c == 0x14) { + puVar19 = &local_10c; + local_10c = 0; + puVar18 = (undefined4 *)0x0; + local_108 = 8; + uVar17 = 0x6df992; std::vector<8byte>::_Emplace_reallocate(); } - uVar4 = 0; + uVar5 = 0; uVar13 = (int)local_78 - (int)local_7c >> 3; if (uVar13 != 0) { do { - if (*(int *)((int)local_7c + uVar4 * 8) == 0x28) { - piVar11 = (int *)((int)local_7c + 4 + uVar4 * 8); + if (*(int *)((int)local_7c + uVar5 * 8) == 0x28) { + piVar11 = (int *)((int)local_7c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 8; if (*piVar11 < 0) { - *(undefined4 *)((int)local_7c + 4 + uVar4 * 8) = 0; + *(undefined4 *)((int)local_7c + 4 + uVar5 * 8) = 0; } goto LAB_006dfa05; } - uVar4 = uVar4 + 1; - } while (uVar4 < uVar13); + uVar5 = uVar5 + 1; + } while (uVar5 < uVar13); } + local_114 = 0x28; + local_110 = 8; if (local_78 == local_74) { + puVar19 = &local_114; + uVar17 = 0x6df9ff; + puVar18 = local_78; std::vector<8byte>::_Emplace_reallocate(); } else { @@ -402464,22 +403075,27 @@ LAB_006df8a6: local_78 = local_78 + 2; } LAB_006dfa05: - uVar4 = 0; + uVar5 = 0; uVar13 = (int)local_78 - (int)local_7c >> 3; if (uVar13 != 0) { do { - if (*(int *)((int)local_7c + uVar4 * 8) == 10) { - piVar11 = (int *)((int)local_7c + 4 + uVar4 * 8); + if (*(int *)((int)local_7c + uVar5 * 8) == 10) { + piVar11 = (int *)((int)local_7c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 8; if (*piVar11 < 0) { - *(undefined4 *)((int)local_7c + 4 + uVar4 * 8) = 0; + *(undefined4 *)((int)local_7c + 4 + uVar5 * 8) = 0; } goto LAB_006dfa72; } - uVar4 = uVar4 + 1; - } while (uVar4 < uVar13); + uVar5 = uVar5 + 1; + } while (uVar5 < uVar13); } + local_11c = 10; + local_118 = 8; if (local_78 == local_74) { + puVar19 = &local_11c; + uVar17 = 0x6dfa6c; + puVar18 = local_78; std::vector<8byte>::_Emplace_reallocate(); } else { @@ -402488,22 +403104,27 @@ LAB_006dfa05: local_78 = local_78 + 2; } LAB_006dfa72: - uVar4 = 0; + uVar5 = 0; uVar13 = (int)local_78 - (int)local_7c >> 3; if (uVar13 != 0) { do { - if (*(int *)((int)local_7c + uVar4 * 8) == 0x46) { - piVar11 = (int *)((int)local_7c + 4 + uVar4 * 8); + if (*(int *)((int)local_7c + uVar5 * 8) == 0x46) { + piVar11 = (int *)((int)local_7c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 5; if (*piVar11 < 0) { - *(undefined4 *)((int)local_7c + 4 + uVar4 * 8) = 0; + *(undefined4 *)((int)local_7c + 4 + uVar5 * 8) = 0; } goto LAB_006dfae0; } - uVar4 = uVar4 + 1; - } while (uVar4 < uVar13); + uVar5 = uVar5 + 1; + } while (uVar5 < uVar13); } + local_124 = 0x46; + local_120 = 5; if (local_78 == local_74) { + puVar19 = &local_124; + uVar17 = 0x6dfada; + puVar18 = local_78; std::vector<8byte>::_Emplace_reallocate(); } else { @@ -402512,22 +403133,27 @@ LAB_006dfa72: local_78 = local_78 + 2; } LAB_006dfae0: - uVar4 = 0; + uVar5 = 0; uVar13 = (int)local_78 - (int)local_7c >> 3; if (uVar13 != 0) { do { - if (*(int *)((int)local_7c + uVar4 * 8) == 300) { - piVar11 = (int *)((int)local_7c + 4 + uVar4 * 8); + if (*(int *)((int)local_7c + uVar5 * 8) == 300) { + piVar11 = (int *)((int)local_7c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 5; if (*piVar11 < 0) { - *(undefined4 *)((int)local_7c + 4 + uVar4 * 8) = 0; + *(undefined4 *)((int)local_7c + 4 + uVar5 * 8) = 0; } goto LAB_006dfb53; } - uVar4 = uVar4 + 1; - } while (uVar4 < uVar13); + uVar5 = uVar5 + 1; + } while (uVar5 < uVar13); } + local_12c = 300; + local_128 = 5; if (local_78 == local_74) { + puVar19 = &local_12c; + uVar17 = 0x6dfb4d; + puVar18 = local_78; std::vector<8byte>::_Emplace_reallocate(); } else { @@ -402536,22 +403162,27 @@ LAB_006dfae0: local_78 = local_78 + 2; } LAB_006dfb53: - uVar4 = 0; + uVar5 = 0; uVar13 = (int)local_78 - (int)local_7c >> 3; if (uVar13 != 0) { do { - if (*(int *)((int)local_7c + uVar4 * 8) == 0x15e) { - piVar11 = (int *)((int)local_7c + 4 + uVar4 * 8); + if (*(int *)((int)local_7c + uVar5 * 8) == 0x15e) { + piVar11 = (int *)((int)local_7c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 2; if (*piVar11 < 0) { - *(undefined4 *)((int)local_7c + 4 + uVar4 * 8) = 0; + *(undefined4 *)((int)local_7c + 4 + uVar5 * 8) = 0; } goto LAB_006dfbc3; } - uVar4 = uVar4 + 1; - } while (uVar4 < uVar13); + uVar5 = uVar5 + 1; + } while (uVar5 < uVar13); } + local_134 = 0x15e; + local_130 = 2; if (local_78 == local_74) { + puVar19 = &local_134; + uVar17 = 0x6dfbbd; + puVar18 = local_78; std::vector<8byte>::_Emplace_reallocate(); } else { @@ -402560,22 +403191,27 @@ LAB_006dfb53: local_78 = local_78 + 2; } LAB_006dfbc3: - uVar4 = 0; + uVar5 = 0; uVar13 = (int)local_78 - (int)local_7c >> 3; if (uVar13 != 0) { do { - if (*(int *)((int)local_7c + uVar4 * 8) == 0x5a) { - piVar11 = (int *)((int)local_7c + 4 + uVar4 * 8); + if (*(int *)((int)local_7c + uVar5 * 8) == 0x5a) { + piVar11 = (int *)((int)local_7c + 4 + uVar5 * 8); *piVar11 = *piVar11 + 2; if (*piVar11 < 0) { - *(undefined4 *)((int)local_7c + 4 + uVar4 * 8) = 0; + *(undefined4 *)((int)local_7c + 4 + uVar5 * 8) = 0; } goto LAB_006dfc2a; } - uVar4 = uVar4 + 1; - } while (uVar4 < uVar13); + uVar5 = uVar5 + 1; + } while (uVar5 < uVar13); } + local_17c = 0x5a; + local_178 = 2; if (local_78 == local_74) { + puVar19 = &local_17c; + uVar17 = 0x6dfc2a; + puVar18 = local_78; std::vector<8byte>::_Emplace_reallocate(); } else { @@ -402585,12 +403221,16 @@ LAB_006dfbc3: } LAB_006dfc2a: uVar13 = 0x23; - uVar4 = RNG::Next(&local_70); - RNG::game_constructor(aRStackY_3b0 + 0x82,uVar4,uVar13); - uVar4 = WeightedOutcomePicker::PickOutcome(&local_7c); - puVar15 = local_4c; - *local_4c = uVar4; - if (uVar4 == 0) { + uVar5 = RNG::Next(&local_70); + RNG::game_constructor(aRStackY_9b8 + 0x81,uVar5,uVar13); + rng_02._shift1 = uVar17; + rng_02._seed = iVar7; + rng_02._shift2 = (int)puVar18; + rng_02._shift3 = (int)puVar19; + uVar5 = WeightedOutcomePicker::PickOutcome(&local_7c,rng_02); + puVar14 = local_4c; + *local_4c = uVar5; + if (uVar5 == 0) { if ((char)local_48 == '\0') { DAT_00c7ec68 = DAT_00c7ec68 + -1; *local_4c = 0xffffffff; @@ -402602,37 +403242,37 @@ LAB_006dfc2a: } } else { - local_88 = (RNG)PlayerManager::FirstTrinketOwner(); - if (local_88 == (RNG)0x0) { + local_88 = (Entity_Player *)PlayerManager::FirstTrinketOwner(); + if (local_88 == (Entity_Player *)0x0) { LAB_006dfd58: *param_1 = 0; } else { - iVar5 = Entity_Player::GetTrinketMultiplier((Entity_Player *)local_88,0xa5); - if (iVar5 == 2) { + iVar6 = Entity_Player::GetTrinketMultiplier(local_88,0xa5); + if (iVar6 == 2) { local_80 = 1.4013e-44; } else { - if (iVar5 != 3) goto LAB_006dfd58; + if (iVar6 != 3) goto LAB_006dfd58; local_80 = 2.8026e-44; } *param_1 = 0; - if ((int)*(void **)((int)local_88 + 0x1780) - - (int)((std_vector *)((int)local_88 + 0x177c))->_begin >> 4 < 0xa6) { + pvVar2 = (local_88->_trinketRNGs)._end; + if ((int)pvVar2 - (int)(local_88->_trinketRNGs)._begin >> 4 < 0xa6) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - pvVar1 = ((std_vector *)((int)local_88 + 0x177c))->_begin; - uVar4 = ((int)*(void **)((int)local_88 + 0x1780) - (int)pvVar1 >> 4) - 1; - if (0xa5 < uVar4) { - uVar4 = 0xa5; + pvVar1 = (local_88->_trinketRNGs)._begin; + uVar5 = ((int)pvVar2 - (int)pvVar1 >> 4) - 1; + if (0xa5 < uVar5) { + uVar5 = 0xa5; } - fVar10 = (float)RNG::RandomInt((RNG *)(uVar4 * 0x10 + (int)pvVar1),100); + fVar10 = (float)RNG::RandomInt((RNG *)(uVar5 * 0x10 + (int)pvVar1),100); if ((uint)fVar10 < (uint)local_80) { - if (*puVar15 == 10) { + if (*puVar14 == 10) { *param_1 = 5; } - else if (*puVar15 == 0x28) { + else if (*puVar14 == 0x28) { *param_1 = 2; } } @@ -402648,38 +403288,38 @@ LAB_006dfd58: local_74 = (undefined4 *)0x0; } } - pGVar16 = g_game; + pGVar15 = g_game; LAB_006dfdb1: if ((char)local_48 != '\0') { - pPVar17 = &pGVar16->_playerManager; - local_88 = (RNG)0x0; - if ((int)(pGVar16->_playerManager)._playerList._end - (int)(pPVar17->_playerList)._begin >> 2 != + pPVar16 = &pGVar15->_playerManager; + local_88 = (Entity_Player *)0x0; + if ((int)(pGVar15->_playerManager)._playerList._end - (int)(pPVar16->_playerList)._begin >> 2 != 0) { do { - pvVar1 = (pPVar17->_playerList)._end; - if ((int)pvVar1 - (int)(pPVar17->_playerList)._begin >> 2 == 0) { + pvVar2 = (pPVar16->_playerList)._end; + if ((int)pvVar2 - (int)(pPVar16->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - piVar11 = (pPVar17->_playerList)._begin; - if ((uint)local_88 < (uint)((int)pvVar1 - (int)piVar11 >> 2)) { + piVar11 = (pPVar16->_playerList)._begin; + if (local_88 < (uint)((int)pvVar2 - (int)piVar11 >> 2)) { piVar11 = piVar11 + (int)local_88; } - if (((*(int *)(*piVar11 + 0x2c) == 0) && (iVar5 = *(int *)(*piVar11 + 0x13c0), iVar5 != 0xe) - ) && (iVar5 != 0x21)) goto LAB_006dfe6c; - local_88 = (RNG)((int)local_88 + 1); - pPVar17 = &g_game->_playerManager; - } while ((uint)local_88 < + if (((*(int *)(*piVar11 + 0x2c) == 0) && (iVar6 = *(int *)(*piVar11 + 0x13c0), iVar6 != 0xe) + ) && (iVar6 != 0x21)) goto LAB_006dfe6c; + local_88 = (Entity_Player *)((int)local_88 + 1); + pPVar16 = &g_game->_playerManager; + } while (local_88 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar17->_playerList)._begin >> 2)); + (int)(pPVar16->_playerList)._begin >> 2)); } if (*local_4c == 10) { RNG::Next(&local_70); - uVar4 = 0x28; - if (((uint)local_70 & 1) == 0) { - uVar4 = 0x1e; + uVar5 = 0x28; + if ((local_70._seed & 1U) == 0) { + uVar5 = 0x1e; } - *local_4c = uVar4; + *local_4c = uVar5; *param_1 = 1; } } @@ -402832,7 +403472,7 @@ void Entity_Pickup::~Entity_Pickup(void) void __thiscall Entity_Pickup::Init(Entity_Pickup *this,undefined4 param_2,EntityPtr *param_3,ANM2 *param_4, - RNG param_5) + int param_5) { void **ppvVar1; @@ -402853,38 +403493,32 @@ Entity_Pickup::Init(Entity_Pickup *this,undefined4 param_2,EntityPtr *param_3,AN EntityPtr EVar16; Manager *pMVar17; EntityPtr *pEVar18; - RNG RVar19; - EntityPtr EVar20; - Game *pGVar21; - EntityPtr EVar22; - bool bVar23; - int iVar24; + EntityPtr EVar19; + Game *pGVar20; + EntityPtr EVar21; + bool bVar22; + int iVar23; undefined4 local_80 [8]; undefined4 local_60; undefined4 uStack_5c; undefined4 local_58; RNG local_54; - undefined8 local_50; - EntityPtr local_48; Entity_Pickup *local_44; - RNG local_40; + int local_40; EntityPtr local_3c; EntityPtr local_38; ANM2 *local_34; EntityPtr *local_30; - undefined1 local_2c [8]; - RNG local_24; - undefined8 local_20; - uint local_18; + std_string local_2c; uint local_14; void *local_10; undefined1 *puStack_c; - undefined4 local_8; + uint local_8; local_8 = 0xffffffff; puStack_c = &LAB_00afaefd; local_10 = ExceptionList; - uVar9 = __security_cookie ^ (uint)(local_2c + 0x28); + uVar9 = __security_cookie ^ (uint)&(&local_2c)[1]._size; ExceptionList = &local_10; local_40 = param_5; this->_isInitFlag176 = 1; @@ -402946,14 +403580,15 @@ Entity_Pickup::Init(Entity_Pickup *this,undefined4 param_2,EntityPtr *param_3,AN *(undefined4 *)(this + 1) = 0; *(undefined4 *)&this[1].field_0x4 = 0; EntitySaveStateRef::Set(0); - local_48 = (EntityPtr)0x7; + local_54._shift3 = 7; this->_dropDelay = 0; this->_cycleCollectibleCount = 0; this->_invisibleFrames = 0; this->_charge = 0; this->_varData = 0; - local_54 = local_40; - local_50 = 0x900000005; + local_54._seed = local_40; + local_54._shift1 = 5; + local_54._shift2 = 9; cVar7 = Pickup_PickVariant(¶m_4,1,0); if (cVar7 == '\0') { if (param_3 == (EntityPtr *)0xffffffff) { @@ -402996,15 +403631,19 @@ Entity_Pickup::Init(Entity_Pickup *this,undefined4 param_2,EntityPtr *param_3,AN pMVar17 = g_manager; local_34 = (ANM2 *)ItemConfig::GetCollectible(&g_manager->_itemConfig,(int)param_4); } - bVar23 = g_pickupIgnoreModifiers == 0; + bVar22 = g_pickupIgnoreModifiers == 0; this->_charge = (int)local_34->_animData; pAVar11 = local_34; - if (((bVar23) && (param_4 == (ANM2 *)0x126)) && + if (((bVar22) && (param_4 == (ANM2 *)0x126)) && ((pMVar17->_persistentGameData).field_0xc0e != '\0')) { - local_24 = (RNG)Seeds::GetStartSeed(); - local_20 = 0x10000000f; - local_18 = 0x1d; - uVar9 = RNG::RandomInt(&local_24,0x14); + local_2c._buf._8_4_ = Seeds::GetStartSeed(); + local_2c._buf[0xc] = '\x0f'; + local_2c._buf[0xd] = '\0'; + local_2c._buf[0xe] = '\0'; + local_2c._buf[0xf] = '\0'; + local_2c._size = 1; + local_2c._capacity = 0x1d; + uVar9 = RNG::RandomInt((RNG *)(local_2c._buf + 8),0x14); pMVar17 = g_manager; if (uVar9 == 0) { param_4 = (ANM2 *)0x1e4; @@ -403098,26 +403737,26 @@ LAB_006e08b6: if (iVar10 != 0x172) goto LAB_006e0a97; bVar8 = Seeds::HasSeedEffect(&g_game->_seedEffects,0x4f); if (bVar8 != 0) { - local_20 = local_20 & 0xffffffff; - local_18 = 0xf; - local_2c[0] = '\0'; - local_2c[1] = '\0'; - local_2c[2] = '\0'; - local_2c[3] = '\0'; - local_2c._0_4_ = std::_Allocate(); - local_20 = CONCAT44(0x1b,(undefined4)local_20); - local_18 = 0x1f; - builtin_strncpy((char *)local_2c._0_4_,"gfx/promo/gfuel/trophy.anm2",0x1c); + local_2c._12_8_ = local_2c._12_8_ & 0xffffffff; + local_2c._capacity = 0xf; + local_2c._buf[0] = '\0'; + local_2c._buf[1] = '\0'; + local_2c._buf[2] = '\0'; + local_2c._buf[3] = '\0'; + local_2c._buf._0_4_ = std::_Allocate(); + local_2c._size = 0x1b; + local_2c._capacity = 0x1f; + builtin_strncpy((char *)local_2c._buf._0_4_,"gfx/promo/gfuel/trophy.anm2",0x1c); local_8 = 0; - ANM2::Load(&this->_sprite,(std_string *)local_2c,1); + ANM2::Load(&this->_sprite,&local_2c,1); local_8 = 0xffffffff; - if (0xf < local_18) { - uVar9 = local_18 + 1; - pcVar15 = (char *)local_2c._0_4_; + if (0xf < local_2c._capacity) { + uVar9 = local_2c._capacity + 1; + pcVar15 = (char *)local_2c._buf._0_4_; if (0xfff < uVar9) { - pcVar15 = *(char **)(local_2c._0_4_ + -4); - uVar9 = local_18 + 0x24; - if ((char *)0x1f < (char *)(local_2c._0_4_ + (-4 - (int)pcVar15))) { + pcVar15 = *(char **)(local_2c._buf._0_4_ + -4); + uVar9 = local_2c._capacity + 0x24; + if ((char *)0x1f < (char *)(local_2c._buf._0_4_ + (-4 - (int)pcVar15))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } @@ -403125,9 +403764,9 @@ LAB_006e08b6: operator_delete(pcVar15,uVar9); } iVar10 = this->_variant; - local_20 = local_20 & 0xffffffff; - local_18 = 0xf; - local_2c._0_4_ = local_2c._0_4_ & 0xffffff00; + local_2c._12_8_ = local_2c._12_8_ & 0xffffffff; + local_2c._capacity = 0xf; + local_2c._buf._0_4_ = local_2c._buf._0_4_ & 0xffffff00; goto LAB_006e0a97; } LAB_006e10ff: @@ -403155,28 +403794,28 @@ LAB_006e1197: Game::ShakeScreen(g_game,10); uVar13 = Random(); pEVar18 = (EntityPtr *)Game::Spawn(1000,0xf,&this->_pos,&g_vectorZero,0,0,uVar13); - local_20 = local_20 & 0xffffffff; - local_18 = 0xf; - local_2c[0] = '\0'; - local_2c[1] = '\0'; - local_2c[2] = '\0'; - local_2c[3] = '\0'; + local_2c._12_8_ = local_2c._12_8_ & 0xffffffff; + local_2c._capacity = 0xf; + local_2c._buf[0] = '\0'; + local_2c._buf[1] = '\0'; + local_2c._buf[2] = '\0'; + local_2c._buf[3] = '\0'; local_34 = (ANM2 *)(pEVar18 + 0x12); local_30 = pEVar18; - local_2c._0_4_ = std::_Allocate(); - local_20 = CONCAT44(0x27,(undefined4)local_20); - local_18 = 0x2f; - builtin_strncpy((char *)local_2c._0_4_,"gfx/promo/gfuel/effects/explosion4.anm2",0x28); + local_2c._buf._0_4_ = std::_Allocate(); + local_2c._size = 0x27; + local_2c._capacity = 0x2f; + builtin_strncpy((char *)local_2c._buf._0_4_,"gfx/promo/gfuel/effects/explosion4.anm2",0x28); local_8 = 2; - ANM2::Load((ANM2 *)(pEVar18 + 0x12),(std_string *)local_2c,1); + ANM2::Load((ANM2 *)(pEVar18 + 0x12),&local_2c,1); local_8 = 0xffffffff; - if (0xf < local_18) { - uVar9 = local_18 + 1; - pcVar15 = (char *)local_2c._0_4_; + if (0xf < local_2c._capacity) { + uVar9 = local_2c._capacity + 1; + pcVar15 = (char *)local_2c._buf._0_4_; if (0xfff < uVar9) { - pcVar15 = *(char **)(local_2c._0_4_ + -4); - uVar9 = local_18 + 0x24; - if ((char *)0x1f < (char *)(local_2c._0_4_ + (-4 - (int)pcVar15))) { + pcVar15 = *(char **)(local_2c._buf._0_4_ + -4); + uVar9 = local_2c._capacity + 0x24; + if ((char *)0x1f < (char *)(local_2c._buf._0_4_ + (-4 - (int)pcVar15))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } @@ -403188,8 +403827,8 @@ LAB_006e1197: if (0xf < (uint)local_30[0x1d]) { local_38 = *(EntityPtr *)local_38; } - EVar20 = pEVar18[0x1f]; - if (EVar20 == (EntityPtr)0x0) { + EVar19 = pEVar18[0x1f]; + if (EVar19 == (EntityPtr)0x0) { LAB_006e1322: bVar8 = ANM2::SetAnimation(local_34,(byte *)local_38,1); if (bVar8 != 0) { @@ -403198,30 +403837,30 @@ LAB_006e1322: } } else { - EVar16 = EVar20; - EVar22 = local_38; - if (0xf < *(uint *)((int)EVar20 + 0x14)) { - EVar16 = *(EntityPtr *)EVar20; + EVar16 = EVar19; + EVar21 = local_38; + if (0xf < *(uint *)((int)EVar19 + 0x14)) { + EVar16 = *(EntityPtr *)EVar19; } do { bVar8 = *(byte *)EVar16; - bVar23 = bVar8 < *(byte *)EVar22; - if (bVar8 != *(byte *)EVar22) { + bVar22 = bVar8 < *(byte *)EVar21; + if (bVar8 != *(byte *)EVar21) { LAB_006e1301: - uVar9 = -(uint)bVar23 | 1; + uVar9 = -(uint)bVar22 | 1; goto LAB_006e1306; } if (bVar8 == 0) break; bVar8 = *(byte *)((int)EVar16 + 1); - bVar23 = bVar8 < *(byte *)((int)EVar22 + 1); - if (bVar8 != *(byte *)((int)EVar22 + 1)) goto LAB_006e1301; + bVar22 = bVar8 < *(byte *)((int)EVar21 + 1); + if (bVar8 != *(byte *)((int)EVar21 + 1)) goto LAB_006e1301; EVar16 = (EntityPtr)((int)EVar16 + 2); - EVar22 = (EntityPtr)((int)EVar22 + 2); + EVar21 = (EntityPtr)((int)EVar21 + 2); } while (bVar8 != 0); uVar9 = 0; LAB_006e1306: if ((uVar9 != 0) || - ((*(byte *)((int)EVar20 + 0x34) != 0 && ((local_34->_animState)._isPlaying == 0)))) + ((*(byte *)((int)EVar19 + 0x34) != 0 && ((local_34->_animState)._isPlaying == 0)))) goto LAB_006e1322; } bVar8 = Random(); @@ -403242,7 +403881,7 @@ LAB_006e1306: (this->_velocity).y = (this->_velocity).y - 15.0; } LAB_006e13e3: - pGVar21 = g_game; + pGVar20 = g_game; } else { LAB_006e0a97: @@ -403259,27 +403898,27 @@ LAB_006e0a97: if (((this->_price == 0) && (g_pickupIgnoreModifiers == 0)) && (iVar10 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x290,&g_game->_playerManager,1), - pGVar21 = g_game, iVar10 != 0)) { + pGVar20 = g_game, iVar10 != 0)) { uVar13 = *(undefined4 *)((int)&this->_flags + 4); *(uint *)&this->_flags = (uint)this->_flags | 0x80000; *(undefined4 *)((int)&this->_flags + 4) = uVar13; - *(undefined1 *)((int)pGVar21->_room + 0x7769) = 1; + *(undefined1 *)((int)pGVar20->_room + 0x7769) = 1; } else { - pGVar21 = g_game; + pGVar20 = g_game; } this->_entityCollisionClass = 4; - if (*(int *)((int)pGVar21->_room + 8) == 0x10) { + if (*(int *)((int)pGVar20->_room + 8) == 0x10) { this->_entityGridCollisionClass = 0; } if ((g_pickupIgnoreModifiers == 0) && (bVar8 = CanReroll(this), bVar8 != 0)) { iVar10 = PlayerManager::FirstCollectibleOwner - (&pGVar21->_playerManager,0x2b1,&pGVar21->_playerManager,1); - pGVar21 = g_game; + (&pGVar20->_playerManager,0x2b1,&pGVar20->_playerManager,1); + pGVar20 = g_game; if (iVar10 == 0) { pEVar14 = PlayerManager::FirstPlayerByType(&g_game->_playerManager,0x15); if ((((((pEVar14 != (Entity_Player *)0x0) || - (pEVar14 = PlayerManager::FirstBirthrightOwner(&pGVar21->_playerManager,0), + (pEVar14 = PlayerManager::FirstBirthrightOwner(&pGVar20->_playerManager,0), pEVar14 != (Entity_Player *)0x0)) && ((this->_variant == 100 && (((((this->_cycleCollectibleCount == 0 && (this->_dead == 0)) && @@ -403288,21 +403927,25 @@ LAB_006e0a97: (iVar10 != -1)))) && (iVar10 != 0x272)))))) && ((iVar10 != 0x273 && (iVar10 != 0x147)))) && (iVar10 != 0x148)) && ((((iVar10 != 0xee && (iVar10 != 0xef)) && (iVar10 != 0x147)) && (iVar10 != 0x148)))) { - RVar19 = this->_dropRNG; + uVar9 = (this->_dropRNG)._seed; local_3c = (EntityPtr)0x6; local_38 = (EntityPtr)this->_cycleCollectibleList; - local_20 = 0xd00000005; + local_2c._buf[0xc] = '\x05'; + local_2c._buf[0xd] = '\0'; + local_2c._buf[0xe] = '\0'; + local_2c._buf[0xf] = '\0'; + local_2c._size = 0xd; this->_cycleCollectibleCount = 1; local_34 = (ANM2 *)0x0; do { local_30 = g_game->_room; - if (RVar19 == (RNG)0x0) { + if (uVar9 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar19 >> ((byte)local_20 & 0x1f) ^ (uint)RVar19; - uVar9 = uVar9 << ((byte)(local_20 >> 0x20) & 0x1f) ^ uVar9; - RVar19 = (RNG)(uVar9 >> (local_3c._0_1_ & 0x1f) ^ uVar9); + uVar9 = uVar9 >> (local_2c._buf[0xc] & 0x1f) ^ uVar9; + uVar9 = uVar9 << ((byte)local_2c._size & 0x1f) ^ uVar9; + uVar9 = uVar9 >> (local_3c._0_1_ & 0x1f) ^ uVar9; iVar10 = ItemPool::GetSeededCollectible(local_30[1]); local_34 = (ANM2 *)((int)(local_34->_filename)._buf + 1); *(int *)local_38 = iVar10; @@ -403318,21 +403961,25 @@ LAB_006e0a97: ))))) && (((iVar10 != 0xee && (iVar10 != 0xef)) && ((iVar10 != 0x147 && (iVar10 != 0x148)))))) { - RVar19 = this->_dropRNG; + uVar9 = (this->_dropRNG)._seed; local_30 = (EntityPtr *)&DAT_00000006; local_38 = (EntityPtr)this->_cycleCollectibleList; - local_20 = 0xd00000005; + local_2c._buf[0xc] = '\x05'; + local_2c._buf[0xd] = '\0'; + local_2c._buf[0xe] = '\0'; + local_2c._buf[0xf] = '\0'; + local_2c._size = 0xd; this->_cycleCollectibleCount = 4; local_34 = (ANM2 *)0x0; do { local_3c = (EntityPtr)g_game->_room; - if (RVar19 == (RNG)0x0) { + if (uVar9 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar19 >> ((byte)local_20 & 0x1f) ^ (uint)RVar19; - uVar9 = uVar9 << ((byte)(local_20 >> 0x20) & 0x1f) ^ uVar9; - RVar19 = (RNG)(uVar9 >> ((byte)local_30 & 0x1f) ^ uVar9); + uVar9 = uVar9 >> (local_2c._buf[0xc] & 0x1f) ^ uVar9; + uVar9 = uVar9 << ((byte)local_2c._size & 0x1f) ^ uVar9; + uVar9 = uVar9 >> ((byte)local_30 & 0x1f) ^ uVar9; iVar10 = ItemPool::GetSeededCollectible(*(int *)((int)local_3c + 4)); local_34 = (ANM2 *)((int)(local_34->_filename)._buf + 1); *(int *)local_38 = iVar10; @@ -403342,10 +403989,11 @@ LAB_006e0a97: iVar10 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x298,&g_game->_playerManager,1); if (iVar10 != 0) { - EVar20 = (EntityPtr)0x0; + EVar19 = (EntityPtr)0x0; local_38 = (EntityPtr)0x0; - local_50 = 0; - local_48 = (EntityPtr)0x0; + local_54._shift1 = 0; + local_54._shift2 = 0; + local_54._shift3 = 0; local_8 = 1; local_30 = ItemConfig::GetTaggedItems(&g_manager->_itemConfig,0x40000); local_34 = (ANM2 *)0x0; @@ -403356,35 +404004,42 @@ LAB_006e0f56: iVar10 = 0x19; } else { - EVar22 = (EntityPtr)0x0; + EVar21 = (EntityPtr)0x0; do { piVar5 = *(int **)((int)local_3c + (int)local_34 * 4); iVar10 = *piVar5; if (((iVar10 == 1) || (iVar10 == 3)) || (iVar10 == 4)) { local_3c = *(EntityPtr *)(piVar5 + 1); - if (EVar20 == EVar22) { - std::vector::_Emplace_reallocate(EVar20,&local_3c); - EVar20 = local_50._4_4_; - EVar22 = local_48; + if (EVar19 == EVar21) { + std::vector::_Emplace_reallocate(EVar19,&local_3c); + EVar19 = (EntityPtr)local_54._shift2; + EVar21 = (EntityPtr)local_54._shift3; } else { - *(EntityPtr *)EVar20 = local_3c; - local_50 = CONCAT44((int)EVar20 + 4,local_50._0_4_); - EVar20 = (EntityPtr)((int)EVar20 + 4); + *(EntityPtr *)EVar19 = local_3c; + local_54._shift2 = (int)EVar19 + 4; + EVar19 = (EntityPtr)((int)EVar19 + 4); } } this = local_44; local_34 = (ANM2 *)((int)(local_34->_filename)._buf + 1); local_3c = *local_30; } while (local_34 < (ANM2 *)((int)local_30[1] - (int)local_3c >> 2)); - local_3c = local_50._0_4_; - EVar16 = local_50._0_4_; - local_38 = EVar22; - if (local_50._0_4_ == EVar20) goto LAB_006e0f56; - local_24 = local_40; - local_20 = 0x500000002; - local_18 = 0xf; - uVar9 = RNG::RandomInt(&local_24,(int)EVar20 - (int)local_50._0_4_ >> 2); + local_3c = (EntityPtr)local_54._shift1; + EVar16 = (EntityPtr)local_54._shift1; + local_38 = EVar21; + if ((EntityPtr)local_54._shift1 == EVar19) goto LAB_006e0f56; + local_2c._buf[8] = (undefined1)local_40; + local_2c._buf[9] = local_40._1_1_; + local_2c._buf[10] = local_40._2_1_; + local_2c._buf[0xb] = local_40._3_1_; + local_2c._buf[0xc] = '\x02'; + local_2c._buf[0xd] = '\0'; + local_2c._buf[0xe] = '\0'; + local_2c._buf[0xf] = '\0'; + local_2c._size = 5; + local_2c._capacity = 0xf; + uVar9 = RNG::RandomInt((RNG *)(local_2c._buf + 8),(int)EVar19 - local_54._shift1 >> 2); iVar10 = *(int *)((int)local_3c + uVar9 * 4); EVar16 = local_3c; } @@ -403395,29 +404050,36 @@ LAB_006e0f56: local_8 = 0xffffffff; if (EVar16 != (EntityPtr)0x0) { uVar9 = (int)local_38 - (int)EVar16 & 0xfffffffc; - EVar20 = EVar16; + EVar19 = EVar16; if (0xfff < uVar9) { - EVar20 = *(EntityPtr *)((int)EVar16 + -4); + EVar19 = *(EntityPtr *)((int)EVar16 + -4); uVar9 = uVar9 + 0x23; - if (0x1f < ((int)EVar16 - (int)EVar20) - 4U) { + if (0x1f < ((int)EVar16 - (int)EVar19) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(EVar20,uVar9); + operator_delete(EVar19,uVar9); } } pcVar15 = g_game->_room; - pGVar21 = g_game; + pGVar20 = g_game; if (((*pcVar15 == '\0') || (g_game->_frameCount - *(int *)(pcVar15 + 0x11f0) < 2)) && (((g_manager->_persistentGameData)._achievements[0x251] != 0 || ((g_manager->_state == 2 && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { if (*(int *)(pcVar15 + 8) == 3) { - local_24 = local_40; - local_20 = 0x700000002; - local_18 = 7; - uVar9 = RNG::RandomInt(&local_24,0x10); + local_2c._buf[8] = (undefined1)local_40; + local_2c._buf[9] = local_40._1_1_; + local_2c._buf[10] = local_40._2_1_; + local_2c._buf[0xb] = local_40._3_1_; + local_2c._buf[0xc] = '\x02'; + local_2c._buf[0xd] = '\0'; + local_2c._buf[0xe] = '\0'; + local_2c._buf[0xf] = '\0'; + local_2c._size = 7; + local_2c._capacity = 7; + uVar9 = RNG::RandomInt((RNG *)(local_2c._buf + 8),0x10); if (uVar9 != 0) goto LAB_006e1039; LAB_006e106e: qVar6 = this->_flags; @@ -403427,20 +404089,27 @@ LAB_006e106e: } else { LAB_006e1039: - pGVar21 = g_game; + pGVar20 = g_game; if (*(int *)((int)g_game->_room + 8) != 7) goto LAB_006e108a; - local_24 = local_40; - local_20 = 0x700000002; - local_18 = 7; - uVar9 = RNG::RandomInt(&local_24,0x3c); + local_2c._buf[8] = (undefined1)local_40; + local_2c._buf[9] = local_40._1_1_; + local_2c._buf[10] = local_40._2_1_; + local_2c._buf[0xb] = local_40._3_1_; + local_2c._buf[0xc] = '\x02'; + local_2c._buf[0xd] = '\0'; + local_2c._buf[0xe] = '\0'; + local_2c._buf[0xf] = '\0'; + local_2c._size = 7; + local_2c._capacity = 7; + uVar9 = RNG::RandomInt((RNG *)(local_2c._buf + 8),0x3c); if (uVar9 == 0) goto LAB_006e106e; } - pGVar21 = g_game; + pGVar20 = g_game; } } LAB_006e108a: - if ((*(char *)pGVar21->_room != '\0') && - (1 < pGVar21->_frameCount - *(int *)((int)pGVar21->_room + 0x11f0))) { + if ((*(char *)pGVar20->_room != '\0') && + (1 < pGVar20->_frameCount - *(int *)((int)pGVar20->_room + 0x11f0))) { uVar13 = *(undefined4 *)((int)&this->_flags + 4); *(uint *)&this->_flags = (uint)this->_flags | 4; this->_visible = 0; @@ -403448,14 +404117,15 @@ LAB_006e108a: } } this->_optionsPickupIndex = 0; - pEVar14 = PlayerManager::FirstPlayerByType(&pGVar21->_playerManager,0x21); + pEVar14 = PlayerManager::FirstPlayerByType(&pGVar20->_playerManager,0x21); if (((((pEVar14 == (Entity_Player *)0x0) || (g_pickupIgnoreModifiers != 0)) || - (this->_variant != 100)) || ((this->_price != 0 || (*(char *)pGVar21->_room != '\0')))) || + (this->_variant != 100)) || ((this->_price != 0 || (*(char *)pGVar20->_room != '\0')))) || (cVar7 = ItemConfig::IsQuestItem(), cVar7 != '\0')) { local_44 = (Entity_Pickup *)0x21; - std::set::find_node(&local_50,&local_44); - if ((((((*(char *)((int)local_48 + 0xd) == '\0') && (*(int *)((int)local_48 + 0x10) < 0x22)) && - ((local_48 != (EntityPtr)(pGVar21->_seedEffects)._seedEffects && + std::set::find_node(&local_54._shift1,&local_44); + if ((((((*(char *)(local_54._shift3 + 0xd) == '\0') && + (*(int *)(local_54._shift3 + 0x10) < 0x22)) && + (((void *)local_54._shift3 != (pGVar20->_seedEffects)._seedEffects && (((this->_variant != 0x14 && (bVar8 = CanReroll(this), bVar8 != 0)) && (iVar10 = this->_variant, iVar10 != 0x32)))))) && ((iVar10 != 0x3c && (iVar10 != 0x168)))) && @@ -403463,16 +404133,16 @@ LAB_006e108a: (((iVar10 != 0x35 && (iVar10 != 0x34)) && ((iVar10 != 0x36 && (((iVar10 != 0x186 && (iVar10 != 0x37)) && (iVar10 != 0x38)))))))))) && ((iVar10 != 0x39 && (iVar10 != 0x3a)))) { - iVar24 = this->_subtype; + iVar23 = this->_subtype; goto LAB_006e14ea; } } else { - iVar24 = this->_subtype; + iVar23 = this->_subtype; iVar10 = 100; LAB_006e14ea: this->_shopItemId = -1; - iVar10 = Room::GetShopItemPrice(iVar10,iVar24,0xffffffff,0); + iVar10 = Room::GetShopItemPrice(iVar10,iVar23,0xffffffff,0); this->_price = iVar10; iVar10 = _Room::ResolveHeartSubType(this->_shopItemId,iVar10,0); this->_price = iVar10; @@ -403544,9 +404214,10 @@ Entity_Pickup::TryFlip(Entity_Pickup *this,Entity_Player *unusedPlayer,uint unus EntitySaveState::constructor(local_8c); local_8 = 0; CanFlip(this,extraout_ECX,0); - this->_dropRNG = *(RNG *)(*puVar1 + 0x38); - *(undefined8 *)&this->field_0x3e0 = 0x900000005; - *(undefined4 *)&this->field_0x3e8 = 7; + (this->_dropRNG)._seed = *(int *)(*puVar1 + 0x38); + (this->_dropRNG)._shift1 = 5; + (this->_dropRNG)._shift2 = 9; + (this->_dropRNG)._shift3 = 7; piVar2 = (int *)*puVar1; this->_initSeed = piVar2[0xd]; Morph(this,*piVar2,piVar2[1],piVar2[2],1,1,1); @@ -403959,7 +404630,7 @@ void Entity_Pickup::load_collectible_gfx(uint param_1,uint param_2,char param_3) pLVar1 = ANM2::GetLayer(in_ECX,in_EDX); if ((int)param_1 < 0) { KAGE::SmartPointer::operator_assign(&(g_game->_proceduralItemManager)._renderTarget); - LayerState::SetTexture(); + LayerState::SetTexture(pLVar1); pLVar1 = ANM2::GetLayer(in_ECX,in_EDX); (pLVar1->_cropOffset).x = (float)(~param_1 & 0x1f) * 32.0; (pLVar1->_cropOffset).y = (float)(~param_1 >> 5) * 32.0; @@ -404704,8 +405375,6 @@ Entity_Pickup::Morph undefined1 local_2c [4]; int *local_28; RNG local_24; - undefined8 local_20; - undefined4 local_18; byte local_13; undefined1 local_12; byte local_11; @@ -404719,7 +405388,8 @@ Entity_Pickup::Morph ExceptionList = &local_10; if (KeepSeed == 0) { uVar24 = this->_initSeed; - local_20 = 0x1500000001; + local_24._shift1 = 1; + local_24._shift2 = 0x15; if (uVar24 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",__security_cookie ^ (uint)(local_2c + 0x28)); @@ -404774,7 +405444,7 @@ Entity_Pickup::Morph std::vector::copy_constructor(pvVar26); local_8 = CONCAT31(local_8._1_3_,1); bVar34 = false; - uVar24 = local_20._4_4_ - (int)local_20; + uVar24 = local_24._shift2 - local_24._shift1; SubType = this->_subtype; iVar32 = SubType; if (3 < uVar24) { @@ -404791,7 +405461,7 @@ Entity_Pickup::Morph if ((int)uVar24 >> 2 != 0) { uVar31 = _IgnoreModifiers % (uint)((int)uVar24 >> 2); } - iVar32 = *(int *)(*(int *)((int)local_20 + uVar31 * 4) + 4); + iVar32 = *(int *)(*(int *)(local_24._shift1 + uVar31 * 4) + 4); bVar34 = iVar32 != this->_subtype; _KeepSeed = (void **)CONCAT13(bVar34,_KeepSeed); if (bVar34) { @@ -404808,13 +405478,13 @@ Entity_Pickup::Morph } while (uVar24 < (uint)this->_cycleCollectibleCount); } } - uVar24 = local_20._4_4_ - (int)local_20; + uVar24 = local_24._shift2 - local_24._shift1; } while (3 < uVar24); SubType = iVar32; } iVar32 = SubType; local_8 = (uint)local_8._1_3_ << 8; - FID_conflict__Tidy(&local_20); + FID_conflict__Tidy(&local_24._shift1); } } else { @@ -404830,9 +405500,10 @@ Entity_Pickup::Morph (**(code **)(*(int *)this + 4))(EntityType,Variant,iVar32,this->_initSeed); } else { - local_24 = (RNG)this->_initSeed; - local_20 = 0x900000005; - local_18 = 7; + local_24._seed = this->_initSeed; + local_24._shift1 = 5; + local_24._shift2 = 9; + local_24._shift3 = 7; if (this->_shopItemId < 0) { RNG::Next(&local_24); iVar32 = 0; @@ -405030,7 +405701,7 @@ void __thiscall Entity_Pickup::Interpolate(void) if (cVar1 != '\0') { local_c = 0.0; local_8 = (float)extraout_EDX[1]._entityRef4._entity * extraout_EDX->_speedMultiplier * 0.5 + - *(float *)&extraout_EDX[1]._entityRef4.field_0x20; + (float)extraout_EDX[1]._entityRef4._flags; pfVar2 = &local_8; if (0.0 <= local_8) { pfVar2 = &local_c; @@ -405104,8 +405775,6 @@ void __thiscall Entity_Pickup::Update(Entity_Pickup *this) EntityPtr *local_f0; byte local_e9; RNG local_e8; - undefined8 local_e4; - EntityPtr local_dc; int *local_d4; EntityPtr local_d0; EntityPtr *local_cc; @@ -405131,12 +405800,7 @@ void __thiscall Entity_Pickup::Update(Entity_Pickup *this) undefined4 uStack_5c; undefined1 local_54 [8]; RNG local_4c; - EntityPtr local_48; - EntityPtr *local_44; - EntityPtr *local_40; RNG local_34; - undefined8 local_30; - float local_28; uint local_24; undefined1 *puStack_20; void *local_1c; @@ -405244,23 +405908,23 @@ void __thiscall Entity_Pickup::Update(Entity_Pickup *this) fStack_150 = 1.4013e-42; fStack_154 = 1.0123468e-38; local_cc = (EntityPtr *)Game::Spawn(); - local_44 = (EntityPtr *)0x0; + local_4c._shift2 = 0; EVar17 = (EntityPtr)(local_cc + 0x12); - local_40 = (EntityPtr *)0xf; + local_4c._shift3 = 0xf; local_54[0] = '\0'; local_54[1] = '\0'; local_54[2] = '\0'; local_54[3] = '\0'; local_d0 = EVar17; local_54._0_4_ = std::_Allocate(); - local_44 = (EntityPtr *)&DAT_00000027; - local_40 = (EntityPtr *)&DAT_0000002f; + local_4c._shift2 = (int)&DAT_00000027; + local_4c._shift3 = (int)&DAT_0000002f; builtin_strncpy((char *)local_54._0_4_,"gfx/promo/gfuel/effects/explosion4.anm2",0x28); local_14 = 0; ANM2::Load((ANM2 *)EVar17,(std_string *)local_54,1); local_14 = 0xffffffff; - if ((EntityPtr *)&DAT_0000000f < local_40) { - if (((undefined1 *)0xfff < &local_40->field_0x1) && + if ((EntityPtr *)&DAT_0000000f < (uint)local_4c._shift3) { + if (((undefined1 *)0xfff < (undefined1 *)(local_4c._shift3 + 1)) && ((char *)0x1f < (char *)(local_54._0_4_ + (-4 - *(int *)(local_54._0_4_ + -4))))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); @@ -405269,13 +405933,13 @@ void __thiscall Entity_Pickup::Update(Entity_Pickup *this) } iVar12 = Random(); pMVar8 = g_manager; - local_dc = (EntityPtr)0x33d; + local_e8._shift3 = 0x33d; local_c4 = (EntityPtr) ((float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 * 0.2 + 0.9); seed_fart_sound_override(); fStack_150 = 1.0123948e-38; - SoundEffects::Play(&pMVar8->_sfxManager,(int)local_dc,1.0,2,0,(float)local_c4,0.0); + SoundEffects::Play(&pMVar8->_sfxManager,local_e8._shift3,1.0,2,0,(float)local_c4,0.0); Game::ShakeScreen(g_game,10); bVar11 = Random(); pEVar24 = local_cc; @@ -405353,17 +406017,17 @@ void __thiscall Entity_Pickup::Update(Entity_Pickup *this) local_cc = (EntityPtr *)0x0; local_d0 = (EntityPtr)0x0; pEVar24 = (EntityPtr *)0x0; - local_48 = (EntityPtr)0x0; - local_44 = (EntityPtr *)0x0; + local_4c._shift1 = 0; + local_4c._shift2 = 0; local_f0 = (EntityPtr *)0x0; - local_40 = (EntityPtr *)0x0; + local_4c._shift3 = 0; local_14 = 2; - local_dc = (EntityPtr)0x0; + local_e8._shift3 = 0; if ((int)(g_game->_playerManager)._playerList._end - (int)(g_game->_playerManager)._playerList._begin >> 2 != 0) { pEVar25 = (EntityPtr *)0x0; do { - local_c4 = (EntityPtr)Game::GetPlayer(g_game,(uint)local_dc); + local_c4 = (EntityPtr)Game::GetPlayer(g_game,local_e8._shift3); if (*(void **)((int)local_c4 + 0x2c) == (void *)0x0) { local_cc = (EntityPtr *)&local_cc->field_0x1; if (*(int *)((int)local_c4 + 0x13c0) != 0xe) { @@ -405371,29 +406035,30 @@ void __thiscall Entity_Pickup::Update(Entity_Pickup *this) } if (pEVar24 == pEVar25) { std::vector::_Emplace_reallocate(); - pEVar24 = local_44; - pEVar25 = local_40; + pEVar24 = (EntityPtr *)local_4c._shift2; + pEVar25 = (EntityPtr *)local_4c._shift3; } else { *pEVar24 = local_c4; - local_44 = pEVar24 + 1; - pEVar24 = local_44; + local_4c._shift2 = (int)(pEVar24 + 1); + pEVar24 = (EntityPtr *)local_4c._shift2; } } LAB_006e4032: - local_dc = (EntityPtr)((int)local_dc + 1); - } while ((uint)local_dc < + local_e8._shift3 = local_e8._shift3 + 1; + } while ((uint)local_e8._shift3 < (uint)((int)(g_game->_playerManager)._playerList._end - (int)(g_game->_playerManager)._playerList._begin >> 2)); this = local_f8; local_f0 = pEVar25; } - pEVar24 = (EntityPtr *)((int)pEVar24 - (int)local_48 >> 2); - local_d0 = local_48; + pEVar24 = (EntityPtr *)((int)pEVar24 - local_4c._shift1 >> 2); + local_d0 = (EntityPtr)local_4c._shift1; if ((pEVar24 == local_cc) && (this->_subtype != 7)) { - local_34 = (RNG)this->_initSeed; - local_30 = 0x300000003; - local_28 = 3.64338e-44; + local_34._seed = this->_initSeed; + local_34._shift1 = 3; + local_34._shift2 = 3; + local_34._shift3 = 0x1a; uVar14 = RNG::RandomInt(&local_34,(uint)pEVar24); EVar17 = local_d0; local_c4 = *(EntityPtr *)((int)local_d0 + uVar14 * 4); @@ -405572,8 +406237,8 @@ LAB_006e4395: LAB_006e4506: local_c4 = (EntityPtr)g_game->_room; if ((*(int *)((int)local_c4 + 8) != 0x10) && (g_game->_frameCount - this->_spawnFrame < 6)) { - local_e4 = CONCAT44(pVVar2->x,(undefined4)local_e4); - local_dc = (EntityPtr)(this->_targetPosition).y; + local_e8._shift2 = (int)pVVar2->x; + local_e8._shift3 = (int)(this->_targetPosition).y; iVar12 = Room::GetGridCollisionAtPos(); if (iVar12 != 0) { fStack_150 = 1.0126828e-38; @@ -405602,12 +406267,12 @@ LAB_006e45ad: local_d0 = (EntityPtr)g_game->_room; do { if (((void **)((int)local_d0 + 0x724))[iVar21] != (void *)0x0) { - local_dc = *(EntityPtr *)((int)((void **)((int)local_d0 + 0x724))[iVar21] + 0x24); + local_e8._shift3 = *(int *)((int)((void **)((int)local_d0 + 0x724))[iVar21] + 0x24); local_cc = *(EntityPtr **)((int)local_d0 + 0xc); - fVar27 = ((float)((int)local_dc / (int)local_cc) * 40.0 + 120.0) - + fVar27 = ((float)(local_e8._shift3 / (int)local_cc) * 40.0 + 120.0) - *(float *)(iVar12 + 0x340); - fVar31 = ((float)((int)local_dc % (int)local_cc) * 40.0 + 40.0) - *(float *)(iVar12 + 0x33c) - ; + fVar31 = ((float)(local_e8._shift3 % (int)local_cc) * 40.0 + 40.0) - + *(float *)(iVar12 + 0x33c); if (fVar27 * fVar27 + fVar31 * fVar31 < 4900.0) { if (-1 < iVar21) { local_f0 = (EntityPtr *)(*(float *)local_c4 - *(float *)(iVar12 + 0x33c)); @@ -405620,19 +406285,21 @@ LAB_006e45ad: local_d0 = (EntityPtr)((float)local_d0 * (3.0 / fVar27)); } EVar17 = (EntityPtr) - (*(float *)local_c4 - ((float)((int)local_dc % (int)local_cc) * 40.0 + 40.0)); - local_dc = (EntityPtr) - ((float)*(void **)((int)local_c4 + 4) - - ((float)((int)local_dc / (int)local_cc) * 40.0 + 120.0)); - fVar27 = (float)local_dc * (float)local_dc + (float)EVar17 * (float)EVar17; + (*(float *)local_c4 - ((float)(local_e8._shift3 % (int)local_cc) * 40.0 + 40.0) + ); + local_e8._shift3 = + (int)((float)*(void **)((int)local_c4 + 4) - + ((float)(local_e8._shift3 / (int)local_cc) * 40.0 + 120.0)); + fVar27 = (float)local_e8._shift3 * (float)local_e8._shift3 + + (float)EVar17 * (float)EVar17; local_c4 = EVar17; sqrtf(); if (fVar27 <= 0.0) { - EVar29 = local_dc; + EVar29 = (EntityPtr)local_e8._shift3; EVar17 = local_c4; } else { - EVar29 = (EntityPtr)((5.0 / fVar27) * (float)local_dc); + EVar29 = (EntityPtr)((5.0 / fVar27) * (float)local_e8._shift3); EVar17 = (EntityPtr)((float)local_c4 * (5.0 / fVar27)); } (this->_velocity).x = (float)local_f0 + (float)EVar17 + (this->_velocity).x; @@ -405660,9 +406327,9 @@ LAB_006e45ad: EntityList::QueryRadius(); fVar27 = 0.0; local_14 = 3; - if (local_28 != 0.0) { + if ((float)local_34._shift3 != 0.0) { do { - iVar12 = *(int *)((int)local_30 + (int)fVar27 * 4); + iVar12 = *(int *)(local_34._shift1 + (int)fVar27 * 4); if (*(int *)(iVar12 + 0x28) == 3) { if (*(int *)(iVar12 + 0x2c) != 0x40) { if (*(int *)(iVar12 + 0x2c) != 0x66) goto LAB_006e4978; @@ -405681,7 +406348,7 @@ LAB_006e45ad: } LAB_006e4978: fVar27 = (float)((int)fVar27 + 1); - } while ((uint)fVar27 < (uint)local_28); + } while ((uint)fVar27 < (uint)local_34._shift3); } local_c4 = (EntityPtr)((float)local_d0 * (float)local_d0 + (float)local_f0 * (float)local_f0); if (2500.0 <= (float)local_c4) { @@ -405695,16 +406362,17 @@ LAB_006e4978: } } else { - local_e4 = 0x900000005; - local_e8 = (RNG)(this->_initSeed * ((g_game->_frameCount - this->_spawnFrame) / 10)); - if (local_e8 == (RNG)0x0) { - local_e8 = (RNG)0x1; + local_e8._shift1 = 5; + local_e8._shift2 = 9; + local_e8._seed = this->_initSeed * ((g_game->_frameCount - this->_spawnFrame) / 10); + if (local_e8._seed == 0) { + local_e8._seed = 1; } - local_dc = (EntityPtr)0x7; + local_e8._shift3 = 7; RNG::Next(&local_e8); - local_dc = (EntityPtr) - ((float)((double)(int)local_e8 + __uint_to_double_fixup[-((int)local_e8 >> 0x1f)]) - * 2.3283062e-10 * 180.0 - 90.0); + local_e8._shift3 = + (int)((float)((double)local_e8._seed + __uint_to_double_fixup[-(local_e8._seed >> 0x1f)]) + * 2.3283062e-10 * 180.0 - 90.0); local_cc = (EntityPtr *)(((float)local_c4 * 3.0) / 2500.0); sqrtf(); if ((float)local_c4 <= 0.0) { @@ -405716,10 +406384,10 @@ LAB_006e4978: local_c4 = (EntityPtr)(fVar27 * (float)local_d0); local_cc = (EntityPtr *)(fVar27 * (float)local_f0); } - EVar17 = (EntityPtr)((float)local_dc * 0.017453292); - local_dc = EVar17; + EVar17 = (EntityPtr)((float)local_e8._shift3 * 0.017453292); + local_e8._shift3 = (int)EVar17; cos(); - auVar30 = ZEXT416((uint)local_dc); + auVar30 = ZEXT416((uint)local_e8._shift3); local_d0 = EVar17; sin(); fVar27 = this->_friction; @@ -405739,7 +406407,7 @@ LAB_006e4bf6: } } local_14 = 0xffffffff; - if (local_34._0_1_ == '\0') { + if ((char)local_34._seed == '\0') { local_14 = 4; tracked_alloc(); local_14 = 0xffffffff; @@ -406001,17 +406669,17 @@ LAB_006e4fc5: std::string::_Tidy_deallocate(); pfVar16 = (float *)MusicManager::RandomVector(); local_c4 = (EntityPtr)(*pfVar16 * 8.0); - local_dc = (EntityPtr)(pfVar16[1] * 8.0); + local_e8._shift3 = (int)(pfVar16[1] * 8.0); RNG::game_constructor(&local_4c,this->_initSeed,3); RNG::Next(this_00); local_f4 = (int *)((float)local_c4 + (this->_pos).x); - local_f0 = (EntityPtr *)((float)local_dc + (this->_pos).y); + local_f0 = (EntityPtr *)((float)local_e8._shift3 + (this->_pos).y); fStack_150 = (float)this->_type; fStack_154 = 1.013119e-38; piVar13 = (int *)Game::Spawn(); (**(code **)(*piVar13 + 0xc))(); (this->_pos).x = (this->_pos).x - (float)local_c4; - (this->_pos).y = (this->_pos).y - (float)local_dc; + (this->_pos).y = (this->_pos).y - (float)local_e8._shift3; } } else { @@ -406023,7 +406691,7 @@ LAB_006e5014: } LAB_006e5401: if ((this->_variant == 0x3a) && (this->_subtype != 0)) { - local_48 = *(EntityPtr *)&this->_flags; + local_4c._shift1 = *(int *)&this->_flags; qVar7 = this->_flags; if (((qVar7 & 0x200000000000000) == 0) || (((qVar7 & 0x400000000000000) != 0 || (this->_child != (EntityPtr)0x0)))) { @@ -406115,13 +406783,13 @@ LAB_006e562c: sin(); local_cc = pEVar24; iVar21 = Random(); - local_dc = (EntityPtr) - ((float)((double)iVar21 + __uint_to_double_fixup[-(iVar21 >> 0x1f)]) * - 2.3283064e-10 * 0.5 * this->_size); + local_e8._shift3 = + (int)((float)((double)iVar21 + __uint_to_double_fixup[-(iVar21 >> 0x1f)]) * + 2.3283064e-10 * 0.5 * this->_size); EVar17 = local_c4; cos(); - local_44 = (EntityPtr *)((float)EVar17 * (float)local_dc + (this->_pos).x); - local_40 = (EntityPtr *)((float)local_cc * (float)local_dc + (this->_pos).y); + local_4c._shift2 = (int)((float)EVar17 * (float)local_e8._shift3 + (this->_pos).x); + local_4c._shift3 = (int)((float)local_cc * (float)local_e8._shift3 + (this->_pos).y); iVar21 = Random(); fVar27 = (float)((double)iVar21 + __uint_to_double_fixup[-(iVar21 >> 0x1f)]) * 2.3283064e-10 * 3.14; @@ -406129,10 +406797,10 @@ LAB_006e562c: local_c4 = EVar29; sin(); EVar17 = local_c4; - local_dc = EVar29; + local_e8._shift3 = (int)EVar29; cos(); - local_30 = CONCAT44((float)EVar17 * (float)local_d0,(int)local_30); - local_28 = (float)local_d0 * (float)local_dc * 0.5; + local_34._shift2 = (int)((float)EVar17 * (float)local_d0); + local_34._shift3 = (int)((float)local_d0 * (float)local_e8._shift3 * 0.5); Random(); fStack_150 = 1.4013e-42; fStack_154 = 1.0133715e-38; @@ -406166,8 +406834,8 @@ LAB_006e562c: (this->_optionsPickupIndex == 1)) && ((0 < g_game->_deathCertificateExitTimer && (this->_timeout < 1)))) { Random(); - local_28 = (this->_pos).y + 10.0; - local_30 = CONCAT44((this->_pos).x + 0.0,(int)local_30); + local_34._shift3 = (int)((this->_pos).y + 10.0); + local_34._shift2 = (int)((this->_pos).x + 0.0); fStack_150 = 1.4013e-42; fStack_154 = 1.0134106e-38; Game::Spawn(); @@ -406247,16 +406915,16 @@ LAB_006e562c: if (g_game->_frameCount - this->_spawnFrame < 2) { local_cc = (EntityPtr *)(((this->_pos).y - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5); local_c4 = (EntityPtr)(g_displayPixelRatio * g_screenPointScale); - local_dc = (EntityPtr) - ((((this->_pos).x - 60.0) * 0.65 + (g_screenWidth - 338.0) * 0.5) * (float)local_c4 - + 0.5); - dVar33 = floor((double)(float)local_dc); + local_e8._shift3 = + (int)((((this->_pos).x - 60.0) * 0.65 + (g_screenWidth - 338.0) * 0.5) * (float)local_c4 + + 0.5); + dVar33 = floor((double)(float)local_e8._shift3); local_d0 = (EntityPtr)((float)dVar33 / (float)local_c4); - local_dc = (EntityPtr)((float)local_c4 * (float)local_cc + 0.5); - dVar33 = floor((double)(float)local_dc); + local_e8._shift3 = (int)((float)local_c4 * (float)local_cc + 0.5); + dVar33 = floor((double)(float)local_e8._shift3); local_c4 = (EntityPtr)((float)dVar33 / (float)local_c4); local_cc = *(EntityPtr **)((int)pGVar23->_room + 0x11fc); - local_dc = *(EntityPtr *)((int)pGVar23->_room + 0x1200); + local_e8._shift3 = *(int *)((int)pGVar23->_room + 0x1200); shared_ptr::assign(); local_14 = 6; pcVar6 = *(code **)(*local_f4 + 0x2c); @@ -406277,24 +406945,24 @@ LAB_006e562c: (local_f8->_colorMod)._tint[2] = 0.0; (local_f8->_colorMod)._tint[3] = 0.7; (local_f8->_colorMod)._offset[0] = (float)local_54._4_4_ * 0.9; - (local_f8->_colorMod)._offset[1] = (float)local_4c * 0.9; - (local_f8->_colorMod)._offset[2] = (float)local_48 * 0.9; + (local_f8->_colorMod)._offset[1] = (float)local_4c._seed * 0.9; + (local_f8->_colorMod)._offset[2] = (float)local_4c._shift1 * 0.9; Sprite::SetColor((Sprite *)&local_f8->_sprite); } pGVar23 = g_game; if ((uint)(g_game->_frameCount + this->_index) % 0x1e < 2) { local_cc = (EntityPtr *)(((this->_pos).y - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5); local_c4 = (EntityPtr)(g_displayPixelRatio * g_screenPointScale); - local_dc = (EntityPtr) - ((float)local_c4 * (((this->_pos).x - 60.0) * 0.65 + (g_screenWidth - 338.0) * 0.5) - + 0.5); - dVar33 = floor((double)(float)local_dc); + local_e8._shift3 = + (int)((float)local_c4 * (((this->_pos).x - 60.0) * 0.65 + (g_screenWidth - 338.0) * 0.5) + + 0.5); + dVar33 = floor((double)(float)local_e8._shift3); local_f8 = (Entity_Pickup *)((float)dVar33 / (float)local_c4); - local_dc = (EntityPtr)((float)local_c4 * (float)local_cc + 0.5); - dVar33 = floor((double)(float)local_dc); + local_e8._shift3 = (int)((float)local_c4 * (float)local_cc + 0.5); + dVar33 = floor((double)(float)local_e8._shift3); local_c4 = (EntityPtr)((float)dVar33 / (float)local_c4); local_cc = *(EntityPtr **)((int)pGVar23->_room + 0x11fc); - local_dc = *(EntityPtr *)((int)pGVar23->_room + 0x1200); + local_e8._shift3 = *(int *)((int)pGVar23->_room + 0x1200); shared_ptr::assign(); local_14 = 8; (**(code **)(*local_d4 + 0x2c))(); @@ -406310,8 +406978,8 @@ LAB_006e562c: fVar27 = (this->_colorMod)._offset[2]; fVar31 = (this->_colorMod)._offset[0]; fVar28 = (this->_colorMod)._offset[1]; - (this->_colorMod)._offset[2] = ((float)local_48 * 0.9 - fVar27) * 0.5 + fVar27; - (this->_colorMod)._offset[1] = ((float)local_4c * 0.9 - fVar28) * 0.5 + fVar28; + (this->_colorMod)._offset[2] = ((float)local_4c._shift1 * 0.9 - fVar27) * 0.5 + fVar27; + (this->_colorMod)._offset[1] = ((float)local_4c._seed * 0.9 - fVar28) * 0.5 + fVar28; (this->_colorMod)._offset[0] = ((float)local_54._4_4_ * 0.9 - fVar31) * 0.5 + fVar31; } local_94 = (this->_sprite)._color._tint[0]; @@ -406378,13 +407046,13 @@ LAB_006e42ba: } if (uVar14 == 1) { Color::Reset(); - local_48 = (EntityPtr)0x0; - local_44 = (EntityPtr *)0x0; + local_4c._shift1 = 0; + local_4c._shift2 = 0; local_68 = 0; uStack_64 = 0; uStack_60 = 0; uStack_5c = 0; - local_40 = (EntityPtr *)0x0; + local_4c._shift3 = 0; (**(code **)(*(int *)this + 0x3c))(); } } @@ -406466,9 +407134,10 @@ LAB_006e6515: } } if (this->_variant == 0x154) { - local_dc = this->_target; - if ((local_dc == (EntityPtr)0x0) || (*(void **)((int)local_dc + 0x28) != (void *)0x1)) { - local_dc = (EntityPtr)Game::GetPlayer(g_game,0); + local_e8._shift3 = *(int *)&this->_target; + if (((EntityPtr)local_e8._shift3 == (EntityPtr)0x0) || + (*(void **)(local_e8._shift3 + 0x28) != (void *)0x1)) { + local_e8._shift3 = (int)Game::GetPlayer(g_game,0); } if (this->_state == 1) { ANM2::Play(&this->_sprite,s_Open,0); @@ -406494,8 +407163,8 @@ LAB_006e6515: this->_state = this->_state + 1; *(int *)&this->_flags = (int)qVar7; this->_entityCollisionClass = 0; - *(float *)((int)local_dc + 0x1b1c) = g_vectorZero.x; - *(float *)((int)local_dc + 0x1b20) = g_vectorZero.y; + *(float *)(local_e8._shift3 + 0x1b1c) = g_vectorZero.x; + *(float *)(local_e8._shift3 + 0x1b20) = g_vectorZero.y; Game::StartStageTransition(pGVar23); iVar12 = get_stage_ending_id(); if ((((iVar12 != 3) && (iVar12 != 4)) && (iVar12 != 5)) && ((iVar12 != 9 && (iVar12 != 0xc)))) @@ -406520,11 +407189,11 @@ LAB_006e6515: seed_fart_sound_override(); fStack_150 = 1.0138519e-38; SoundEffects::Play(&pMVar8->_sfxManager,(int)local_c4,1.0,2,0,1.0,0.0); - EVar17 = local_dc; - Entity_Player::PlayExtraAnimation((Entity_Player *)local_dc); + iVar12 = local_e8._shift3; + Entity_Player::PlayExtraAnimation((Entity_Player *)local_e8._shift3); fVar27 = (this->_pos).y; - *(float *)((int)EVar17 + 0x1b1c) = (this->_pos).x + 0.0; - *(float *)((int)EVar17 + 0x1b20) = fVar27 + 20.0; + *(float *)(iVar12 + 0x1b1c) = (this->_pos).x + 0.0; + *(float *)(iVar12 + 0x1b20) = fVar27 + 20.0; } } } @@ -406741,9 +407410,7 @@ byte __thiscall Entity_Pickup::TryOpenChest(Entity_Pickup *this,Entity_Player *p undefined4 local_b0; float local_ac; float local_a8; - RNG local_a4; - undefined8 local_a0; - undefined4 local_98; + uint local_a4 [4]; int *local_94 [3]; uint local_88; int local_84; @@ -406864,9 +407531,10 @@ byte __thiscall Entity_Pickup::TryOpenChest(Entity_Pickup *this,Entity_Player *p } } else { - local_a4 = local_58->_dropRNG; - local_a0 = 0x700000002; - local_98 = 9; + local_a4[0] = (local_58->_dropRNG)._seed; + local_a4[1] = 2; + local_a4[2] = 7; + local_a4[3] = 9; local_70 = 0.0; pEVar12 = local_58; uVar8 = local_88; @@ -407156,22 +407824,22 @@ LAB_006e74e4: } local_7c = *(float *)(*(int *)(iVar10 + 4) + (*(int *)(iVar10 + 8) - 1U & uVar8) * 4 ); - Isaac::GetRandomPickupVelocity(0,&local_a4); + Isaac::GetRandomPickupVelocity(0,local_a4); local_c4 = local_bc * (float)local_6c; local_c0 = local_b8 * (float)local_6c; - if (local_a4 == (RNG)0x0) { + if (local_a4[0] == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)local_a4 >> ((byte)local_a0 & 0x1f) ^ (uint)local_a4; - uVar8 = uVar8 << ((byte)((ulonglong)local_a0 >> 0x20) & 0x1f) ^ uVar8; - local_a4 = (RNG)(uVar8 >> ((byte)local_98 & 0x1f) ^ uVar8); + local_a4[0] = local_a4[0] >> ((byte)local_a4[1] & 0x1f) ^ local_a4[0]; + local_a4[0] = local_a4[0] << ((byte)local_a4[2] & 0x1f) ^ local_a4[0]; + local_a4[0] = local_a4[0] >> ((byte)local_a4[3] & 0x1f) ^ local_a4[0]; local_64 = (Vector *)0xe; - if (local_a4 == (RNG)0x0) { + if (local_a4[0] == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)local_a4 >> 3 ^ (uint)local_a4; + uVar8 = local_a4[0] >> 3 ^ local_a4[0]; uVar8 = uVar8 << 1 ^ uVar8; uVar8 = uVar8 >> 0xe ^ uVar8; fVar15 = (float)((double)(int)uVar8 + __uint_to_double_fixup[-((int)uVar8 >> 0x1f)]) @@ -407393,8 +408061,6 @@ void __thiscall Entity_Pickup::PlayPickupSound(Entity_Pickup *this) float fVar10; int iVar11; RNG local_18; - undefined8 local_14; - undefined4 local_c; float local_8; pMVar8 = g_manager; @@ -407516,9 +408182,10 @@ LAB_006e8319: uVar6 = this->_subtype; if ((((int)uVar6 < 0) && (iVar11 = FUN_009e0180(uVar6), iVar11 != 0)) && (*(int *)(iVar11 + 0xc) != 0)) { - local_18 = *(RNG *)(iVar11 + 8); - local_14 = 0x500000001; - local_c = 0x10; + local_18._seed = *(int *)(iVar11 + 8); + local_18._shift1 = 1; + local_18._shift2 = 5; + local_18._shift3 = 0x10; fVar10 = RNG::RandomFloat(&local_18); local_8 = fVar10 * 1.4 + 0.2; SoundEffects::PlayWithFartOverride(*(undefined4 *)(iVar11 + 0xc),2,0,local_8); @@ -408093,12 +408760,9 @@ byte __thiscall Entity_Pickup::HandleCollision(Entity_Pickup *this,Entity *colli int *local_58 [3]; EntityPtr local_4c; undefined4 *******local_44 [2]; - RNG local_3c [3]; - uint local_30; + RNG local_3c; SimpleString local_2c [2]; RNG local_24; - undefined8 local_20; - uint local_18; uint local_14; void *local_10; undefined1 *puStack_c; @@ -408494,9 +409158,9 @@ LAB_006e9da9: EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); local_8 = (SimpleString)0x0; uVar22 = 0; - if (local_18 != 0) { + if (local_24._shift3 != 0) { do { - iVar11 = *(int *)((int)local_20 + uVar22 * 4); + iVar11 = *(int *)(local_24._shift1 + uVar22 * 4); if ((*(char *)(iVar11 + 0x172) != '\0') && (*(EntityPtr *)(iVar11 + 0x410) == this_02) ) { fVar34 = *(float *)(iVar11 + 0x380); @@ -408512,7 +409176,7 @@ LAB_006e9da9: } } uVar22 = uVar22 + 1; - } while (uVar22 < local_18); + } while (uVar22 < (uint)local_24._shift3); } pRVar30 = local_a4; if (local_91 != 0) { @@ -408527,9 +409191,10 @@ LAB_006e9da9: EntityList_Query::~EntityList_Query(); goto LAB_006e9ed6; } - local_24 = *(RNG *)((int)EVar29 + 0x3dc); - local_20 = 0x900000005; - local_18 = 0x1f; + local_24._seed = *(int *)((int)EVar29 + 0x3dc); + local_24._shift1 = 5; + local_24._shift2 = 9; + local_24._shift3 = 0x1f; uVar22 = RNG::RandomInt(&local_24,2); if (uVar22 != 0) goto LAB_006e9b2d; LAB_006e9f41: @@ -408617,9 +409282,10 @@ LAB_006ec9a8: if (iVar11 == 4) { local_c8 = 6; if (1 < (int)local_9c.y) { - local_24 = *(RNG *)((int)EVar29 + 0x3dc); - local_20 = 0x900000005; - local_18 = 0x1f; + local_24._seed = ((RNG *)((int)EVar29 + 0x3dc))->_seed; + local_24._shift1 = 5; + local_24._shift2 = 9; + local_24._shift3 = 0x1f; uVar22 = RNG::RandomInt(&local_24,2); if (uVar22 == 0) goto LAB_006e9ed6; } @@ -408655,9 +409321,10 @@ LAB_006ec9a8: else if (iVar11 == 6) { local_c8 = 5; if (1 < (int)local_9c.y) { - local_24 = *(RNG *)((int)EVar29 + 0x3dc); - local_20 = 0x900000005; - local_18 = 0x1f; + local_24._seed = *(int *)((int)EVar29 + 0x3dc); + local_24._shift1 = 5; + local_24._shift2 = 9; + local_24._shift3 = 0x1f; uVar22 = RNG::RandomInt(&local_24,2); if (uVar22 == 0) goto LAB_006e9ed6; } @@ -408692,9 +409359,10 @@ LAB_006ec9a8: else if (iVar11 == 7) { local_c8 = 4; if (1 < (int)local_9c.y) { - local_24 = *(RNG *)((int)EVar29 + 0x3dc); - local_20 = 0x900000005; - local_18 = 0x1f; + local_24._seed = *(int *)((int)EVar29 + 0x3dc); + local_24._shift1 = 5; + local_24._shift2 = 9; + local_24._shift3 = 0x1f; uVar22 = RNG::RandomInt(&local_24,2); if (uVar22 == 0) goto LAB_006e9ed6; } @@ -408732,9 +409400,10 @@ LAB_006e93d4: else if (iVar11 == 10) { local_c8 = 4; if (1 < (int)local_9c.y) { - local_24 = *(RNG *)((int)EVar29 + 0x3dc); - local_20 = 0x900000005; - local_18 = 0x1f; + local_24._seed = *(int *)((int)EVar29 + 0x3dc); + local_24._shift1 = 5; + local_24._shift2 = 9; + local_24._shift3 = 0x1f; uVar22 = RNG::RandomInt(&local_24,2); if (uVar22 == 0) goto LAB_006e9ed6; } @@ -408813,9 +409482,10 @@ LAB_006e96a6: else if (iVar11 == 0xb) { local_c8 = 3; if (1 < (int)local_9c.y) { - local_24 = *(RNG *)((int)EVar29 + 0x3dc); - local_20 = 0x900000005; - local_18 = 0x1f; + local_24._seed = *(int *)((int)EVar29 + 0x3dc); + local_24._shift1 = 5; + local_24._shift2 = 9; + local_24._shift3 = 0x1f; uVar22 = RNG::RandomInt(&local_24,2); if (uVar22 == 0) goto LAB_006e9ed6; } @@ -408861,9 +409531,10 @@ LAB_006e96a6: else { local_c8 = 3; if (1 < (int)local_9c.y) { - local_24 = *(RNG *)((int)EVar29 + 0x3dc); - local_20 = 0x900000005; - local_18 = 0x1f; + local_24._seed = *(int *)((int)EVar29 + 0x3dc); + local_24._shift1 = 5; + local_24._shift2 = 9; + local_24._shift3 = 0x1f; uVar22 = RNG::RandomInt(&local_24,2); if (uVar22 == 0) goto LAB_006e9ed6; } @@ -408901,9 +409572,10 @@ LAB_006e96a6: } local_b8 = (Room *)((int)EVar29 + 0x3dc); if (1 < (int)local_9c.y) { - local_24 = *(RNG *)local_b8; - local_20 = 0x900000005; - local_18 = 0x1f; + local_24._seed = *(int *)local_b8; + local_24._shift1 = 5; + local_24._shift2 = 9; + local_24._shift3 = 0x1f; uVar22 = RNG::RandomInt(&local_24,2); if (uVar22 == 0) goto LAB_006e9ed6; } @@ -409866,11 +410538,11 @@ LAB_006ebf7e: std::string::_Tidy_deallocate(); } pppppppuVar28 = local_44; - if (0xf < local_30) { + if (0xf < (uint)local_3c._shift3) { pppppppuVar28 = local_44[0]; } SVar17 = (SimpleString)local_2c; - if (0xf < local_18) { + if (0xf < (uint)local_24._shift3) { SVar17 = local_2c[0]; } PlayerHUD::show_pill_name(local_b0,SVar17,pppppppuVar28); @@ -409966,12 +410638,12 @@ LAB_006ec3db: if (iVar11 == 0x45) { GetChestLoot(this,local_58,1,this_02); local_8 = (SimpleString)0x5; - RNG::game_constructor(local_3c,*(uint *)((int)this + 0x3ec),0x17); + RNG::game_constructor(&local_3c,*(uint *)((int)this + 0x3ec),0x17); local_dc = local_4c; local_10c = local_4c; local_114 = local_58[0]; local_110 = 0; - iVar11 = _range_to_span(&local_20); + iVar11 = _range_to_span(&local_24._shift1); if (local_4c != *(EntityPtr *)(iVar11 + 8)) { while( true ) { if (local_58[0] == (int *)0x0) { @@ -410011,13 +410683,13 @@ LAB_006ec3db: } } else { - RNG::Next(local_3c); + RNG::Next(&local_3c); pfVar16 = (float *)RandomVector(); - fVar34 = RNG::RandomFloat(local_3c); + fVar34 = RNG::RandomFloat(&local_3c); local_9c.y = fVar34 * 3.0 + 2.0; local_b8 = (Room *)(local_9c.y * pfVar16[1]); local_bc = local_9c.y * *pfVar16; - RNG::Next(local_3c); + RNG::Next(&local_3c); pfVar16 = (float *)RandomVector(); this = (Entity_Pickup *)local_90; local_ac = *(float *)((int)local_90 + 0x33c) + *pfVar16; @@ -410028,7 +410700,7 @@ LAB_006ec3db: this_02 = local_c4; } FUN_006da790(local_a0,uVar22); - iVar11 = _range_to_span(&local_20); + iVar11 = _range_to_span(&local_24._shift1); local_dc = local_10c; if (local_10c == *(EntityPtr *)(iVar11 + 8)) break; local_58[0] = local_114; @@ -411846,7 +412518,7 @@ uint Random(void) *(uint *)(iVar5 + 0x110) = uVar7 & 0xffff; while ((DAT_00c79868 != 0 && (piVar2 = (int *)*DAT_00c79864, - (uint)piVar2[3] < (g_manager[1]._state + *(int *)&g_manager[1].field_0xc * -2) - 2U))) { + (uint)piVar2[3] < (g_manager[1]._state + g_manager[1]._previousState * -2) - 2U))) { *(int *)piVar2[1] = *piVar2; *(int *)(*piVar2 + 4) = piVar2[1]; DAT_00c79868 = DAT_00c79868 + -1; @@ -412184,14 +412856,14 @@ RoomConfig_Room * __thiscall RoomDescriptor::constructor(RoomDescriptor *this) *(void **)pvVar3 = pvVar3; *(void **)((int)pvVar3 + 8) = pvVar3; (this->RestrictedGridIndexes)._size = 0; - *(undefined4 *)&this->field_0x1c = 0xffffffff; - *(undefined4 *)&this->field_0x20 = 0xffffffff; - *(undefined4 *)&this->field_0x24 = 0xffffffff; - *(undefined4 *)&this->field_0x28 = 0xffffffff; - *(undefined4 *)&this->field_0x2c = 0xffffffff; - *(undefined4 *)&this->field_0x30 = 0xffffffff; - *(undefined4 *)&this->field_0x34 = 0xffffffff; - *(undefined4 *)&this->field_0x38 = 0xffffffff; + this->_doors[0] = -1; + this->_doors[1] = -1; + this->_doors[2] = -1; + this->_doors[3] = -1; + this->_doors[4] = -1; + this->_doors[5] = -1; + this->_doors[6] = -1; + this->_doors[7] = -1; do { *(undefined4 *)(uVar1 + (int)(this->SavedGridEntities)._begin) = 0; uVar1 = uVar1 + 0x20; @@ -412223,21 +412895,20 @@ int __thiscall Level::LeaveDoor(Level *this) void __thiscall Seeds::GetNextSeed(Seeds *this) { - RNG RVar1; - uint uVar2; + uint uVar1; if (this->_gameStartSeed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Error: Game Start Seed was not set.\n"); } - RVar1 = this->_rng; - if (RVar1 == (RNG)0x0) { + uVar1 = (this->_rng)._seed; + if (uVar1 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar1 >> ((byte)*(undefined4 *)&this->field_0xc & 0x1f) ^ (uint)RVar1; - uVar2 = uVar2 << ((byte)*(undefined4 *)&this->field_0x10 & 0x1f) ^ uVar2; - this->_rng = (RNG)(uVar2 >> ((byte)*(undefined4 *)&this->field_0x14 & 0x1f) ^ uVar2); + uVar1 = uVar1 >> ((byte)(this->_rng)._shift1 & 0x1f) ^ uVar1; + uVar1 = uVar1 << ((byte)(this->_rng)._shift2 & 0x1f) ^ uVar1; + (this->_rng)._seed = uVar1 >> ((byte)(this->_rng)._shift3 & 0x1f) ^ uVar1; return; } @@ -413199,15 +413870,16 @@ LAB_006f0e88: void __thiscall Game::constructor(Game *this) { - undefined1 *puVar1; - uint uVar2; - int iVar3; - undefined4 uVar4; - DebugRenderer DVar5; - int *piVar6; - int *piVar7; - void *pvVar8; - undefined4 *puVar9; + int *piVar1; + std_map *psVar2; + uint uVar3; + int iVar4; + undefined4 uVar5; + void *pvVar6; + DebugRenderer DVar7; + undefined4 *puVar8; + int *piVar9; + std_set *psVar10; void *local_1c; undefined1 *puStack_18; undefined4 local_14; @@ -413215,21 +413887,23 @@ void __thiscall Game::constructor(Game *this) local_14 = 0xffffffff; puStack_18 = &LAB_00afb82b; local_1c = ExceptionList; - uVar2 = __security_cookie ^ (int)register0x00000010 - 0x10U; + uVar3 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; _eh_vector_constructor_iterator_ (this->_roomList,0xb8,0x20f,RoomDescriptor::constructor,RoomDescriptor::destructor); - *(undefined8 *)&this->field_0x182d8 = 0x900000005; - this->_generationRNG = (RNG)0xaa17414f; - *(undefined4 *)&this->field_0x182e0 = 7; - *(undefined8 *)&this->field_0x182e8 = 0x900000005; - this->_devilAngelRoomRNG = (RNG)0xaa17414f; - *(undefined4 *)&this->field_0x182f0 = 7; + (this->_generationRNG)._shift1 = 5; + (this->_generationRNG)._shift2 = 9; + (this->_generationRNG)._seed = -0x55e8beb1; + (this->_generationRNG)._shift3 = 7; + (this->_devilAngelRoomRNG)._shift1 = 5; + (this->_devilAngelRoomRNG)._shift2 = 9; + (this->_devilAngelRoomRNG)._seed = -0x55e8beb1; + (this->_devilAngelRoomRNG)._shift3 = 7; *(undefined4 *)&this->field_0x182f8 = 0; *(undefined4 *)&this->field_0x182fc = 0; this->_room = (void *)0x0; - *(undefined4 *)&this->field_0x18324 = 0; - *(undefined4 *)&this->field_0x18320 = 0; + (this->_dungeonReturnPosition).y = 0.0; + (this->_dungeonReturnPosition).x = 0.0; *(undefined4 *)&this->field_0x18398 = 0; *(undefined4 *)&this->field_0x18394 = 0; this->_levelStateFlags = 0; @@ -413243,7 +413917,7 @@ void __thiscall Game::constructor(Game *this) this->field_0x18904 = 0; *(undefined4 *)&this->field_0x18908 = 0; this->field_0x1890c = 0; - FUN_007384d0(uVar2); + FUN_007384d0(uVar3); this->_nbRooms = 0; this->_isLevelGenerating = 0; local_14 = 3; @@ -413258,38 +413932,40 @@ void __thiscall Game::constructor(Game *this) local_14._0_1_ = 6; *(undefined4 *)&this->field_0x1a730 = 0; *(undefined4 *)&this->field_0x1a734 = 0; - iVar3 = operator_new(100); - *(int *)iVar3 = iVar3; - *(int *)(iVar3 + 4) = iVar3; - *(int *)&this->field_0x1a730 = iVar3; + iVar4 = operator_new(100); + *(int *)iVar4 = iVar4; + *(int *)(iVar4 + 4) = iVar4; + *(int *)&this->field_0x1a730 = iVar4; local_14._0_1_ = 7; this->_preloadManager = 0; *(undefined4 *)&this->field_0x1a73c = 0; - iVar3 = operator_new(0x50); - *(int *)iVar3 = iVar3; - *(int *)(iVar3 + 4) = iVar3; - *(int *)(iVar3 + 8) = iVar3; - *(undefined2 *)(iVar3 + 0xc) = 0x101; - this->_preloadManager = iVar3; + iVar4 = operator_new(0x50); + *(int *)iVar4 = iVar4; + *(int *)(iVar4 + 4) = iVar4; + *(int *)(iVar4 + 8) = iVar4; + *(undefined2 *)(iVar4 + 0xc) = 0x101; + this->_preloadManager = iVar4; local_14._0_1_ = 8; _eh_vector_constructor_iterator_ ((this->_itemPool)._pools,0x34,0x1f,(_func_void_void_ptr *)&LAB_00732c20, (_func_void_void_ptr *)&LAB_00732c80); - (this->_itemPool)._itemPoolRNG = (RNG)0xaa17414f; - iVar3 = 0x1f; - *(undefined8 *)&(this->_itemPool).field_0x658 = 0x900000005; - *(undefined4 *)&(this->_itemPool).field_0x660 = 7; - *(undefined8 *)&(this->_itemPool).field_0x668 = 0x900000005; - (this->_itemPool)._trinketPoolRNG = (RNG)0xaa17414f; - *(undefined4 *)&(this->_itemPool).field_0x670 = 7; + (this->_itemPool)._itemPoolRNG._seed = -0x55e8beb1; + iVar4 = 0x1f; + (this->_itemPool)._itemPoolRNG._shift1 = 5; + (this->_itemPool)._itemPoolRNG._shift2 = 9; + (this->_itemPool)._itemPoolRNG._shift3 = 7; + (this->_itemPool)._trinketPoolRNG._shift1 = 5; + (this->_itemPool)._trinketPoolRNG._shift2 = 9; + (this->_itemPool)._trinketPoolRNG._seed = -0x55e8beb1; + (this->_itemPool)._trinketPoolRNG._shift3 = 7; (this->_itemPool)._removedCollectibles._begin = (void *)0x0; (this->_itemPool)._removedCollectibles._end = (void *)0x0; (this->_itemPool)._removedCollectibles._capacity = (void *)0x0; - *(undefined4 *)&(this->_itemPool).field_0x688 = 0; + (this->_itemPool)._removedCollectibles._size = 0; (this->_itemPool)._roomBlacklistedCollectibles._begin = (void *)0x0; (this->_itemPool)._roomBlacklistedCollectibles._end = (void *)0x0; (this->_itemPool)._roomBlacklistedCollectibles._capacity = (void *)0x0; - *(undefined4 *)&(this->_itemPool).field_0x698 = 0; + (this->_itemPool)._roomBlacklistedCollectibles._size = 0; (this->_itemPool)._trinketPoolItems._begin = (void *)0x0; (this->_itemPool)._trinketPoolItems._end = (void *)0x0; (this->_itemPool)._trinketPoolItems._capacity = (void *)0x0; @@ -413328,42 +414004,42 @@ void __thiscall Game::constructor(Game *this) *(undefined4 *)&(this->_itemPool).field_0x6f0 = 0; *(undefined4 *)&(this->_itemPool).field_0x6fc = 0x1a; *(undefined4 *)&(this->_itemPool).field_0x710 = 0x18; - puVar9 = (undefined4 *)&(this->_itemPool).field_0x718; + puVar8 = (undefined4 *)&(this->_itemPool).field_0x718; do { - uVar4 = puVar9[-0x1f]; - switch(uVar4) { + uVar5 = puVar8[-0x1f]; + switch(uVar5) { case 0: - uVar4 = 0x10; + uVar5 = 0x10; break; case 1: - uVar4 = 0x12; + uVar5 = 0x12; break; case 2: - uVar4 = 0x11; + uVar5 = 0x11; break; case 3: - uVar4 = 0x13; + uVar5 = 0x13; break; case 4: - uVar4 = 0x14; + uVar5 = 0x14; break; case 5: - uVar4 = 0x16; + uVar5 = 0x16; break; case 0xc: - uVar4 = 0x15; + uVar5 = 0x15; } - *puVar9 = uVar4; - puVar9 = puVar9 + 1; - iVar3 = iVar3 + -1; - } while (iVar3 != 0); + *puVar8 = uVar5; + puVar8 = puVar8 + 1; + iVar4 = iVar4 + -1; + } while (iVar4 != 0); local_14._0_1_ = 9; _eh_vector_constructor_iterator_ (&this->_bossPool,0x3c,0x25,(_func_void_void_ptr *)&LAB_00421810,FUN_00421860); - *(undefined4 *)&this->field_0x1b81c = 0; - *(undefined4 *)&this->field_0x1b820 = 0; - *(undefined4 *)&this->field_0x1b824 = 0; - *(undefined4 *)&this->field_0x1b828 = 0; + (this->_bossPool)._removedBosses._begin = (void *)0x0; + (this->_bossPool)._removedBosses._end = (void *)0x0; + (this->_bossPool)._removedBosses._capacity = (void *)0x0; + (this->_bossPool)._removedBosses._size = 0; *(undefined4 *)&this->field_0x1b82c = 0; *(undefined4 *)&this->field_0x1b830 = 0; *(undefined4 *)&this->field_0x1b834 = 0; @@ -413378,21 +414054,21 @@ void __thiscall Game::constructor(Game *this) *(undefined4 *)&(this->_roomTransition).field_0x30 = 0; *(undefined4 *)&(this->_roomTransition).field_0x34 = 0; local_14._0_1_ = 0xc; - ANM2::constructor((ANM2 *)&(this->_roomTransition).field_0x38); + ANM2::constructor(&(this->_roomTransition)._versusScreenSprite); local_14._0_1_ = 0xd; FUN_0040d170(); FUN_0040d170(); - puVar1 = &(this->_roomTransition).field_0x224; - *(undefined4 *)puVar1 = 0; - *(undefined4 *)&(this->_roomTransition).field_0x228 = 0; - iVar3 = operator_new(0x128); - *(int *)iVar3 = iVar3; - *(int *)(iVar3 + 4) = iVar3; - *(int *)(iVar3 + 8) = iVar3; - *(undefined2 *)(iVar3 + 0xc) = 0x101; - *(int *)puVar1 = iVar3; - *(undefined4 *)&(this->_roomTransition).field_0x230 = 0; - *(undefined4 *)&(this->_roomTransition).field_0x22c = 0; + psVar2 = &(this->_roomTransition)._sprites; + psVar2->_head = (void *)0x0; + (this->_roomTransition)._sprites._size = 0; + pvVar6 = (void *)operator_new(0x128); + *(void **)pvVar6 = pvVar6; + *(void **)((int)pvVar6 + 4) = pvVar6; + *(void **)((int)pvVar6 + 8) = pvVar6; + *(undefined2 *)((int)pvVar6 + 0xc) = 0x101; + psVar2->_head = pvVar6; + (this->_roomTransition)._slideOffset.y = 0.0; + (this->_roomTransition)._slideOffset.x = 0.0; (this->_roomTransition)._minecart = (EntityPtr)0x0; local_14._0_1_ = 0xf; FUN_0082ed00(); @@ -413403,30 +414079,32 @@ void __thiscall Game::constructor(Game *this) this->field_0x1ba8c = 0; *(undefined4 *)&this->field_0x1ba94 = 0; *(undefined4 *)&this->field_0x1ba90 = 0; - *(undefined8 *)&this->field_0x1ba9c = 0x900000005; - *(undefined4 *)&this->field_0x1ba98 = 0xaa17414f; - *(undefined4 *)&this->field_0x1baa4 = 7; + (this->_fortuneRNG)._shift1 = 5; + (this->_fortuneRNG)._shift2 = 9; + (this->_fortuneRNG)._seed = -0x55e8beb1; + (this->_fortuneRNG)._shift3 = 7; (this->_playerManager)._playerList._begin = (void *)0x0; (this->_playerManager)._playerList._end = (void *)0x0; (this->_playerManager)._playerList._capacity = (void *)0x0; (this->_playerManager).field_0x5c = 1; - *(undefined4 *)&(this->_playerManager).field_0x70 = 0; - *(undefined4 *)&(this->_playerManager).field_0x74 = 0; - *(undefined4 *)&(this->_playerManager).field_0x78 = 0; + (this->_playerManager)._coopPlayerTypes._begin = (void *)0x0; + (this->_playerManager)._coopPlayerTypes._end = (void *)0x0; + (this->_playerManager)._coopPlayerTypes._capacity = (void *)0x0; *(undefined4 *)&(this->_playerManager).field_0x7c = 0; *(undefined4 *)&(this->_playerManager).field_0xa4 = 0; *(undefined8 *)&(this->_playerManager).field_0xac = 0x900000005; *(undefined4 *)&(this->_playerManager).field_0xb4 = 7; *(undefined4 *)&(this->_playerManager).field_0xa8 = 0xaa17414f; - *(undefined8 *)&(this->_playerManager).field_0xbc = 0x900000005; - *(undefined4 *)&(this->_playerManager).field_0xc4 = 7; - (this->_playerManager)._rng = (RNG)0xaa17414f; + (this->_playerManager)._rng._shift1 = 5; + (this->_playerManager)._rng._shift2 = 9; + (this->_playerManager)._rng._shift3 = 7; + (this->_playerManager)._rng._seed = -0x55e8beb1; (this->_playerManager)._stageTransitionPlayer = (void *)0x0; (this->_playerManager)._roomTransitionPlayer = (void *)0x0; (this->_playerManager)._extraPlayers._begin = (void *)0x0; (this->_playerManager)._extraPlayers._end = (void *)0x0; (this->_playerManager)._extraPlayers._capacity = (void *)0x0; - memset(&(this->_playerManager).field_0xc,0,0x50); + memset((this->_playerManager)._coopSlots,0,0x50); *(undefined4 *)&(this->_playerManager).field_0x80 = 0; *(undefined4 *)&(this->_playerManager).field_0x84 = 0; *(undefined4 *)&(this->_playerManager).field_0x88 = 0; @@ -413447,12 +414125,12 @@ void __thiscall Game::constructor(Game *this) this->field_0x1c030 = 0; init_coop_awards(); local_14._0_1_ = 0x15; - ANM2::constructor((ANM2 *)&(this->_itemOverlay).field_0x8); + ANM2::constructor(&(this->_itemOverlay)._sprite); local_14._0_1_ = 0x16; _eh_vector_constructor_iterator_ (&(this->_itemOverlay).field_0x11c,0x58,0x30,(_func_void_void_ptr *)&LAB_009abcf0, FUN_009abd50); - *(undefined4 *)&(this->_itemOverlay).field_0x11a0 = 0; + (this->_itemOverlay)._player = (EntityPtr)0x0; local_14._0_1_ = 0x18; ANM2::constructor(&(this->_itemOverlay)._megaMushPlayerSprite); local_14._0_1_ = 0x19; @@ -413504,12 +414182,13 @@ void __thiscall Game::constructor(Game *this) *(undefined4 *)&this->field_0x25950 = 0x428c0000; local_14._0_1_ = 0x25; (this->_onlineStatsScreen)._isActive = 0; - ANM2::constructor((ANM2 *)&this->field_0x25958); + ANM2::constructor((ANM2 *)&(this->_onlineStatsScreen).field_0x4); local_14._0_1_ = 0x26; - _eh_vector_constructor_iterator_(&this->field_0x25a6c,0x114,4,ANM2::constructor,ANM2::~ANM2); - *(undefined4 *)&this->field_0x25ebc = 0; - *(undefined4 *)&this->field_0x25ec0 = 0; - *(undefined4 *)&this->field_0x25ec4 = 0; + _eh_vector_constructor_iterator_ + (&(this->_onlineStatsScreen).field_0x118,0x114,4,ANM2::constructor,ANM2::~ANM2); + (this->_onlineStatsScreen)._players._begin = (void *)0x0; + (this->_onlineStatsScreen)._players._end = (void *)0x0; + (this->_onlineStatsScreen)._players._capacity = (void *)0x0; local_14._0_1_ = 0x27; *(undefined4 *)&(this->_minimap).field_0x14 = 0; *(undefined4 *)&(this->_minimap).field_0x10 = 0; @@ -413538,9 +414217,9 @@ void __thiscall Game::constructor(Game *this) *(undefined4 *)&this->_ambush = 0; *(undefined4 *)&(this->_ambush).field_0x4 = 0; *(undefined4 *)&(this->_ambush).field_0x8 = 0; - *(undefined4 *)&(this->_ambush).field_0xc = 0; - *(undefined4 *)&(this->_ambush).field_0x10 = 0; - *(undefined4 *)&(this->_ambush).field_0x14 = 0; + (this->_ambush)._bossRushWaves._begin = (void *)0x0; + (this->_ambush)._bossRushWaves._end = (void *)0x0; + (this->_ambush)._bossRushWaves._capacity = (void *)0x0; *(undefined8 *)&this->field_0x265f8 = 0x900000005; *(undefined4 *)&this->field_0x265f4 = 0xaa17414f; *(undefined4 *)&this->field_0x26600 = 7; @@ -413548,7 +414227,7 @@ void __thiscall Game::constructor(Game *this) *(undefined4 *)&this->field_0x26604 = 0xaa17414f; *(undefined4 *)&this->field_0x26610 = 7; (this->_ambush)._isActive = 0; - *(undefined4 *)&this->field_0x265ec = 0; + (this->_ambush)._currentWave = 0; *(undefined4 *)&this->field_0x265f0 = 0; local_14 = CONCAT31(local_14._1_3_,0x2d); *(undefined4 *)&this->_deathmatchManager = 0; @@ -413557,25 +414236,25 @@ void __thiscall Game::constructor(Game *this) *(undefined4 *)&this->field_0x26628 = 0; *(undefined4 *)&this->field_0x26624 = 0; this->field_0x2662c = 0; - uVar2 = Random(); - if ((uVar2 & 1) == 0) { - iVar3 = 1; + uVar3 = Random(); + if ((uVar3 & 1) == 0) { + iVar4 = 1; } else { - uVar2 = Random(); - iVar3 = uVar2 % 10 + 2; + uVar3 = Random(); + iVar4 = uVar3 % 10 + 2; } - DeathmatchManager::set_type(iVar3); + DeathmatchManager::set_type(iVar4); local_14._0_1_ = 0x2e; ChallengeParams::ChallengeParams(); (this->_dailyChallenge)._id = 0; (this->_dailyChallenge)._seed = 0; (this->_dailyChallenge)._specialDailyId = 0; (this->_dailyChallenge)._isPractice = 0; - ChallengeParam::Reset(); + ChallengeParam::Reset(&(this->_dailyChallenge)._params); ScoreSheet::ScoreSheet(); local_14._0_1_ = 0x30; - ANM2::constructor((ANM2 *)&this->_genericPrompt); + ANM2::constructor(&(this->_genericPrompt)._sprite); (this->_genericPrompt)._isOnlineVote = 0; *(undefined4 *)&(this->_genericPrompt).field_0x114 = 0; *(undefined4 *)&(this->_genericPrompt).field_0x118 = 0; @@ -413602,24 +414281,24 @@ void __thiscall Game::constructor(Game *this) (this->_glowingHourglassStates,0x20660,2,FUN_006f2970, (_func_void_void_ptr *)&LAB_006f2990); local_14._0_1_ = 0x34; - this->_currentColorModifier = 0x3f800000; - *(undefined4 *)&this->field_0x676bc = 0x3f800000; - *(undefined4 *)&this->field_0x676c0 = 0x3f800000; - *(undefined4 *)&this->field_0x676c4 = 0; - *(undefined4 *)&this->field_0x676c8 = 0; - *(undefined4 *)&this->field_0x676cc = 0x3f800000; - this->_targetColorModifier = 0x3f800000; - *(undefined4 *)&this->field_0x676d4 = 0x3f800000; - *(undefined4 *)&this->field_0x676d8 = 0x3f800000; - *(undefined4 *)&this->field_0x676dc = 0; - *(undefined4 *)&this->field_0x676e0 = 0; - *(undefined4 *)&this->field_0x676e4 = 0x3f800000; - this->_lerpColorModifier = 0x3f800000; - *(undefined4 *)&this->field_0x676ec = 0x3f800000; - *(undefined4 *)&this->field_0x676f0 = 0x3f800000; - *(undefined4 *)&this->field_0x676f4 = 0; - *(undefined4 *)&this->field_0x676f8 = 0; - *(undefined4 *)&this->field_0x676fc = 0x3f800000; + (this->_currentColorModifier)._red = 1.0; + (this->_currentColorModifier)._green = 1.0; + (this->_currentColorModifier)._blue = 1.0; + (this->_currentColorModifier)._amount = 0.0; + (this->_currentColorModifier)._brightness = 0.0; + (this->_currentColorModifier)._contrast = 1.0; + (this->_targetColorModifier)._red = 1.0; + (this->_targetColorModifier)._green = 1.0; + (this->_targetColorModifier)._blue = 1.0; + (this->_targetColorModifier)._amount = 0.0; + (this->_targetColorModifier)._brightness = 0.0; + (this->_targetColorModifier)._contrast = 1.0; + (this->_lerpColorModifier)._red = 1.0; + (this->_lerpColorModifier)._green = 1.0; + (this->_lerpColorModifier)._blue = 1.0; + (this->_lerpColorModifier)._amount = 0.0; + (this->_lerpColorModifier)._brightness = 0.0; + (this->_lerpColorModifier)._contrast = 1.0; *(undefined4 *)&this->field_0x67700 = 0x3f800000; *(undefined4 *)&this->field_0x67704 = 0x3f800000; *(undefined4 *)&this->field_0x67708 = 0x3f800000; @@ -413633,10 +414312,10 @@ void __thiscall Game::constructor(Game *this) *(undefined4 *)&this->field_0x67728 = 0; this->_debugRenderer = (DebugRenderer)0x0; *(undefined4 *)&this->field_0x67730 = 0; - DVar5 = (DebugRenderer)operator_new(0x40); - *(DebugRenderer *)DVar5 = DVar5; - *(DebugRenderer *)((int)DVar5 + 4) = DVar5; - this->_debugRenderer = DVar5; + DVar7 = (DebugRenderer)operator_new(0x40); + *(DebugRenderer *)DVar7 = DVar7; + *(DebugRenderer *)((int)DVar7 + 4) = DVar7; + this->_debugRenderer = DVar7; this->_isRoomRespawned = 0; (this->_erasedEntities)._begin = (void *)0x0; (this->_erasedEntities)._end = (void *)0x0; @@ -413645,21 +414324,22 @@ void __thiscall Game::constructor(Game *this) (this->_proceduralItemManager)._proceduralItems._end = (void *)0x0; (this->_proceduralItemManager)._proceduralItems._capacity = (void *)0x0; (this->_proceduralItemManager)._renderTarget = 0; - *(undefined4 *)&this->field_0x67768 = 0; - *(undefined4 *)&this->field_0x6776c = 0; - *(undefined4 *)&this->field_0x67770 = 0; - *(undefined4 *)&this->field_0x67774 = 0; - *(undefined4 *)&this->field_0x67778 = 0; - *(undefined4 *)&this->field_0x6777c = 0; + *(undefined4 *)&(this->_proceduralItemManager).field_0x10 = 0; + *(undefined4 *)&(this->_proceduralItemManager).field_0x14 = 0; + *(undefined4 *)&(this->_proceduralItemManager).field_0x18 = 0; + *(undefined4 *)&(this->_proceduralItemManager).field_0x1c = 0; + *(undefined4 *)&(this->_proceduralItemManager).field_0x20 = 0; + *(undefined4 *)&(this->_proceduralItemManager).field_0x24 = 0; + psVar10 = &(this->_proceduralItemManager)._spawnTriggerTargets; local_14._0_1_ = 0x3a; - *(undefined4 *)&this->field_0x67780 = 0; - *(undefined4 *)&this->field_0x67784 = 0; - iVar3 = operator_new(0x18); - *(int *)iVar3 = iVar3; - *(int *)(iVar3 + 4) = iVar3; - *(int *)(iVar3 + 8) = iVar3; - *(undefined2 *)(iVar3 + 0xc) = 0x101; - *(int *)&this->field_0x67780 = iVar3; + psVar10->_head = (void *)0x0; + (this->_proceduralItemManager)._spawnTriggerTargets._size = 0; + pvVar6 = (void *)operator_new(0x18); + *(void **)pvVar6 = pvVar6; + *(void **)((int)pvVar6 + 4) = pvVar6; + *(void **)((int)pvVar6 + 8) = pvVar6; + *(undefined2 *)((int)pvVar6 + 0xc) = 0x101; + psVar10->_head = pvVar6; local_14._0_1_ = 0x3b; _eh_vector_constructor_iterator_(&this->field_0x6778c,800,7,FUN_006ef920,FUN_006f29a0); this->_isPocketItemRewindSaved = 0; @@ -413673,32 +414353,32 @@ void __thiscall Game::constructor(Game *this) this[1]._roomList[0].OverrideData = (void *)0x0; this[1]._roomList[0].AllowedDoors = 0xf; *(undefined1 *)&this[1]._roomList[0].SafeGridIndex = 0; - *(undefined4 *)&this[1]._roomList[0].field_0x1c = 0; - *(undefined4 *)&this[1]._roomList[0].field_0x20 = 0; - *(undefined4 *)&this[1]._roomList[0].field_0x24 = 0; + this[1]._roomList[0]._doors[0] = 0; + this[1]._roomList[0]._doors[1] = 0; + this[1]._roomList[0]._doors[2] = 0; local_14._0_1_ = 0x3e; - puVar1 = &this[1]._roomList[0].field_0x28; - *(undefined4 *)puVar1 = 0; - *(undefined4 *)&this[1]._roomList[0].field_0x2c = 0; - *(undefined4 *)&this[1]._roomList[0].field_0x30 = 0; - *(undefined4 *)&this[1]._roomList[0].field_0x34 = 0; - *(undefined4 *)&this[1]._roomList[0].field_0x38 = 0; - piVar6 = (int *)operator_new(8); - piVar6[1] = 0; - *(int **)puVar1 = piVar6; - *piVar6 = (int)puVar1; + piVar1 = this[1]._roomList[0]._doors + 3; + *piVar1 = 0; + this[1]._roomList[0]._doors[4] = 0; + this[1]._roomList[0]._doors[5] = 0; + this[1]._roomList[0]._doors[6] = 0; + this[1]._roomList[0]._doors[7] = 0; + puVar8 = (undefined4 *)operator_new(8); + puVar8[1] = 0; + *piVar1 = (int)puVar8; + *puVar8 = piVar1; local_14._0_1_ = 0x3f; - piVar6 = &this[1]._roomList[0].DisplayFlags; - *piVar6 = 0; + piVar1 = &this[1]._roomList[0].DisplayFlags; + *piVar1 = 0; this[1]._roomList[0].VisitedCount = 0; this[1]._roomList[0].Flags = 0; this[1]._roomList[0].TotalMoneySpent = 0; this[1]._roomList[0].ClearCount = 0; this[1]._roomList[0].GreedSubType = 0; - piVar7 = (int *)operator_new(8); - piVar7[1] = 0; - *piVar6 = (int)piVar7; - *piVar7 = (int)piVar6; + piVar9 = (int *)operator_new(8); + piVar9[1] = 0; + *piVar1 = (int)piVar9; + *piVar9 = (int)piVar1; local_14._0_1_ = 0x40; this[1]._roomList[0].PitsCount = 0; this[1]._roomList[0].DecorationSeed = 0; @@ -413706,18 +414386,18 @@ void __thiscall Game::constructor(Game *this) this[1]._roomList[0].TKeeperCoinSpawns = 0; _eh_vector_constructor_iterator_ (&this[1]._roomList[0].SpawnSeed,0x18,6,FUN_0040c380,std::string::_Tidy_deallocate); - *(undefined4 *)&this[1]._roomList[1].field_0x38 = 0; + this[1]._roomList[1]._doors[7] = 0; local_14._0_1_ = 0x41; - iVar3 = operator_new(0x6aac60); + iVar4 = operator_new(0x6aac60); local_14._0_1_ = 0x42; - if (iVar3 == 0) { - pvVar8 = (void *)0x0; + if (iVar4 == 0) { + pvVar6 = (void *)0x0; } else { - pvVar8 = (void *)EntityFactory::constructor(); + pvVar6 = (void *)EntityFactory::constructor(); } local_14 = CONCAT31(local_14._1_3_,0x41); - this->_entityFactory = pvVar8; + this->_entityFactory = pvVar6; create_render_surfaces(); ModManager::create_shader_render_targets(); ExceptionList = local_1c; @@ -414593,7 +415273,7 @@ void Game::~Game(void) AnimationState::~AnimationState((AnimationState *)(in_ECX + 0x1d324)); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); - ItemOverlay::~ItemOverlay(); + ItemOverlay::~ItemOverlay((ItemOverlay *)(in_ECX + 0x1c034)); online_stats_destroy(); this = (undefined4 *)(in_ECX + 0x1bbd8); FID_conflict__Erase_tree_>_> @@ -415119,23 +415799,24 @@ void Game::reset_run_state(void) (in_ECX->_fadeInColor)._unk = 0; (in_ECX->_fadeOutColor)._unk = 0; in_ECX->_fadeOutTarget = 0; - in_ECX->field_0x265c4 = 0; + in_ECX->_restartHoldFrames = 0; in_ECX->_framesSinceRoomTransition = 0; (in_ECX->_dailyChallenge)._id = 0; (in_ECX->_dailyChallenge)._seed = 0; (in_ECX->_dailyChallenge)._specialDailyId = 0; (in_ECX->_dailyChallenge)._isPractice = 0; - ChallengeParam::Reset(); + ChallengeParam::Reset(&(in_ECX->_dailyChallenge)._params); ScoreSheet::Reset(); - in_ECX->_currentColorModifier = 0x3f800000; - *(undefined4 *)&in_ECX->field_0x676bc = 0x3f800000; - *(undefined4 *)&in_ECX->field_0x676c0 = 0x3f800000; - *(undefined4 *)&in_ECX->field_0x676c4 = 0; + (in_ECX->_currentColorModifier)._red = 1.0; + (in_ECX->_currentColorModifier)._green = 1.0; + (in_ECX->_currentColorModifier)._blue = 1.0; + (in_ECX->_currentColorModifier)._amount = 0.0; in_ECX->_pixelationDuration = 0; in_ECX->_pixelationTimer = 0; in_ECX->_isStartingFromState = 0; in_ECX->_shouldLerpColorModState = 0; - *(undefined8 *)&in_ECX->field_0x676c8 = 0x3f80000000000000; + (in_ECX->_currentColorModifier)._brightness = 0.0; + (in_ECX->_currentColorModifier)._contrast = 1.0; pvVar1 = (in_ECX->_erasedEntities)._begin; in_ECX->_lightningIntensity = 0.0; in_ECX->_dizzyIntensity = 0.0; @@ -415211,7 +415892,7 @@ void __thiscall Game::ResetState(Game *this) this->_currentGlowingHourglassSlot = -1; this->_rewindsThisFloor = 0; this->_glowingHourglassStates[0]._isUsable = 0; - this->_glowingHourglassStates[1].field_0x9b4 = 0; + this->_glowingHourglassStates[1]._isUsable = 0; this->_isPocketItemRewindSaved = 0; this->_reviveMachineUses = 0; this->_reviveMachineCoinsLeft = 10; @@ -415799,42 +416480,41 @@ Game::Start(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4 uint uVar6; undefined4 extraout_EAX; ChallengeParam *pCVar7; - undefined4 uVar8; - char *pcVar9; - undefined4 *puVar10; + char *pcVar8; + undefined4 *puVar9; undefined4 extraout_ECX; - int iVar11; + int iVar10; Seeds *this_01; int in_stack_00000068; Seeds local_a4; uint local_14; void *local_10; undefined1 *puStack_c; - undefined4 local_8; + int local_8; this_00 = g_game; puStack_c = &LAB_00afbdc8; local_10 = ExceptionList; - uVar6 = __security_cookie ^ (int)register0x00000010 - 4U; + uVar6 = __security_cookie ^ (uint)((&local_a4)[1]._stageSeeds + 0xb); ExceptionList = &local_10; local_8 = 0; - iVar11 = 0x15; + iVar10 = 0x15; pvVar1 = (g_game->_onlinePlayerStats)._begin; - puVar10 = (undefined4 *)&g_game->field_0x1bc14; + puVar9 = (undefined4 *)&g_game->field_0x1bc14; g_game->_isStarted = 1; (this_00->_onlinePlayerStats)._end = pvVar1; do { - puVar10[1] = *puVar10; - iVar11 = iVar11 + -1; - puVar10 = puVar10 + 0xd; - } while (iVar11 != 0); + puVar9[1] = *puVar9; + iVar10 = iVar10 + -1; + puVar9 = puVar9 + 0xd; + } while (iVar10 != 0); this_00->field_0x1c030 = 0; this_00->_difficulty = in_stack_00000068; this_00->_challenge = param_3; pMVar3 = g_manager; *(undefined4 *)&this_00->field_0x68d74 = 0; this_00->_victoryLap = 0; - this_00->field_0x269d0 = pMVar3->_isConsoleEnabled; + this_00->_isConsoleUsedThisRun = pMVar3->_isConsoleEnabled; local_14 = uVar6; HUD::LoadGraphics(&this_00->_hud); if (param_5 == 0) { @@ -415843,7 +416523,7 @@ Game::Start(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4 } Seeds::construct_from_copy(&local_a4,(Seeds *)¶m_4); local_8._0_1_ = 1; - Seeds::operator_assign(extraout_EAX); + Seeds::operator_assign(&this_00->_seedEffects,extraout_EAX); local_8 = (uint)local_8._1_3_ << 8; FID_conflict__Erase_tree_>_> (&local_a4._seedEffects, @@ -415862,18 +416542,20 @@ Game::Start(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4 (this_00->_seedEffects)._seedEffectsCount = 0; pCVar7 = GetChallengeParams(this_00); uVar6 = 0; - if (*(int *)&pCVar7[1].field_0x10 - *(int *)&pCVar7[1].field_0xc >> 2 != 0) { + if ((int)(pCVar7->_seedEffects)._end - (int)(pCVar7->_seedEffects)._begin >> 2 != 0) { do { - Seeds::AddSeedEffect(*(undefined4 *)(*(int *)&pCVar7[1].field_0xc + uVar6 * 4)); + Seeds::AddSeedEffect(*(undefined4 *)((int)(pCVar7->_seedEffects)._begin + uVar6 * 4)); uVar6 = uVar6 + 1; - } while (uVar6 < (uint)(*(int *)&pCVar7[1].field_0x10 - *(int *)&pCVar7[1].field_0xc >> 2)); + } while (uVar6 < (uint)((int)(pCVar7->_seedEffects)._end - (int)(pCVar7->_seedEffects)._begin + >> 2)); } } this_01 = &this_00->_seedEffects; - uVar8 = Seeds::GetNextSeed(this_01); - *(undefined4 *)&this_00->field_0x1ba98 = uVar8; - *(undefined8 *)&this_00->field_0x1ba9c = 0x900000005; - *(undefined4 *)&this_00->field_0x1baa4 = 7; + iVar10 = Seeds::GetNextSeed(this_01); + (this_00->_fortuneRNG)._seed = iVar10; + (this_00->_fortuneRNG)._shift1 = 5; + (this_00->_fortuneRNG)._shift2 = 9; + (this_00->_fortuneRNG)._shift3 = 7; if ((((this_01->_isCustomRun == 0) && (bVar4 = Seeds::AchievementUnlocksDisallowed(this_01), bVar4 == 0)) && (cVar5 = Manager::IsGameplayInputActive(extraout_ECX), cVar5 == '\0')) && @@ -415883,12 +416565,12 @@ Game::Start(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4 else { bVar2 = true; } - pcVar9 = "True"; + pcVar8 = "True"; if (!bVar2) { - pcVar9 = "False"; + pcVar8 = "False"; } /* WARNING: Subroutine does not return */ - KAGE_LogMessage(1,"Setting PersistentGameData ReadOnly to %s\n",pcVar9); + KAGE_LogMessage(1,"Setting PersistentGameData ReadOnly to %s\n",pcVar8); } @@ -416030,9 +416712,14 @@ void daily_challenge_params_assign(undefined4 *param_1) } -//@@ 006f6500 FUN_006f6500 +//@@ 006f6500 Game::add_players -void FUN_006f6500(int *param_1,uint param_2) +/* DB: ? ECX is Game (+0x1bb88 = Seeds._gameStartSeed "Error: Game Start Seed was not set."); + iterates a vector of 0x14-byte user entries, logs "Adding local player, device ID"/"Adding remote + player, UserID", new 0x3f8 netplay player object, PlayerManager::get_player_by_user_id, + SpawnCoPlayer2, init_main_player, SetControllerIndex */ + +void Game::add_players(int *param_1,uint param_2) { undefined4 *puVar1; @@ -416145,7 +416832,7 @@ void FUN_006f6500(int *param_1,uint param_2) iVar9 = 0; } else { - iVar9 = FUN_009015b0(iStack_38); + iVar9 = NetInputDevice::NetInputDevice(iStack_38); } local_8 = (uint)local_8._1_3_ << 8; local_24._4_4_ = iVar9; @@ -416329,7 +417016,7 @@ LAB_006f69a3: local_70 = *(int **)(iVar9 + 0xc); local_74 = *(undefined ***)(iVar9 + 8); } - FUN_0090c7e0(&local_74,*piVar13); + NetplayManager::restore_player_state(&local_74,*piVar13); } if ((g_game->_challenge == 0) && ((g_game->_dailyChallenge)._id == 0)) { /* WARNING: Subroutine does not return */ @@ -416373,8 +417060,7 @@ void __thiscall Game::StartDailyChallenge(undefined4 param_1,int *param_2) void *pvVar1; Game *pGVar2; Manager *pMVar3; - RNG RVar4; - uint uVar5; + uint uVar4; undefined1 auStack_80 [8]; undefined *puStack_78; undefined *puStack_74; @@ -416391,7 +417077,7 @@ void __thiscall Game::StartDailyChallenge(undefined4 param_1,int *param_2) pGVar2->_difficulty = param_2[0x20]; pMVar3 = g_manager; pGVar2->_challenge = 0; - pGVar2->field_0x269d0 = pMVar3->_isConsoleEnabled; + pGVar2->_isConsoleUsedThisRun = pMVar3->_isConsoleEnabled; HUD::LoadGraphics(&pGVar2->_hud); (pGVar2->_dailyChallenge)._id = *param_2; (pGVar2->_dailyChallenge)._seed = param_2[1]; @@ -416413,33 +417099,33 @@ void __thiscall Game::StartDailyChallenge(undefined4 param_1,int *param_2) (pGVar2->_seedEffects)._isCustomRun = 1; Seeds::Seed2String(auStack_80,param_2[1]); Seeds::SetStartSeed(); - uVar5 = 0; + uVar4 = 0; if (param_2[0x2b] - param_2[0x2a] >> 2 != 0) { do { Seeds::AddSeedEffect(); - uVar5 = uVar5 + 1; - } while (uVar5 < (uint)(param_2[0x2b] - param_2[0x2a] >> 2)); + uVar4 = uVar4 + 1; + } while (uVar4 < (uint)(param_2[0x2b] - param_2[0x2a] >> 2)); } if ((pGVar2->_seedEffects)._gameStartSeed == 0) { /* WARNING: Subroutine does not return */ puStack_74 = &UNK_006f6f2c; KAGE_LogMessage(); } - RVar4 = (pGVar2->_seedEffects)._rng; - if (RVar4 == (RNG)0x0) { + uVar4 = (pGVar2->_seedEffects)._rng._seed; + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ puStack_74 = &UNK_006f6f45; KAGE_LogMessage(); } - uVar5 = (uint)RVar4 >> ((byte)*(undefined4 *)&(pGVar2->_seedEffects).field_0xc & 0x1f) ^ - (uint)RVar4; - uVar5 = uVar5 << ((byte)*(undefined4 *)&(pGVar2->_seedEffects).field_0x10 & 0x1f) ^ uVar5; - RVar4 = (RNG)(uVar5 >> ((byte)*(undefined4 *)&(pGVar2->_seedEffects).field_0x14 & 0x1f) ^ uVar5); - (pGVar2->_seedEffects)._rng = RVar4; - *(RNG *)&pGVar2->field_0x1ba98 = RVar4; - *(undefined8 *)&pGVar2->field_0x1ba9c = 0x900000005; + uVar4 = uVar4 >> ((byte)(pGVar2->_seedEffects)._rng._shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)(pGVar2->_seedEffects)._rng._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)(pGVar2->_seedEffects)._rng._shift3 & 0x1f) ^ uVar4; + (pGVar2->_seedEffects)._rng._seed = uVar4; + (pGVar2->_fortuneRNG)._seed = uVar4; + (pGVar2->_fortuneRNG)._shift1 = 5; + (pGVar2->_fortuneRNG)._shift2 = 9; puStack_74 = (undefined *)0x1; - *(undefined4 *)&pGVar2->field_0x1baa4 = 7; + (pGVar2->_fortuneRNG)._shift3 = 7; /* WARNING: Subroutine does not return */ puStack_78 = &UNK_006f6fb5; KAGE_LogMessage(); @@ -416462,49 +417148,48 @@ void Game::StartFromRerunState(int *param_1) void *pvVar1; bool bVar2; Game *pGVar3; - undefined1 uVar4; - byte bVar5; - char cVar6; - uint uVar7; + byte bVar4; + char cVar5; + uint uVar6; undefined4 extraout_EAX; - undefined4 uVar8; - char *pcVar9; + int iVar7; + char *pcVar8; undefined4 extraout_ECX; Seeds local_a8; uint local_18; void *local_10; undefined1 *puStack_c; - undefined4 local_8; + int local_8; pGVar3 = g_game; local_8 = 0xffffffff; puStack_c = &LAB_00afbf88; local_10 = ExceptionList; - uVar7 = __security_cookie ^ (int)register0x00000010 - 4U; + uVar6 = __security_cookie ^ (uint)((&local_a8)[1]._stageSeeds + 0xc); ExceptionList = &local_10; this = &g_game->_hud; g_game->_isStarted = 1; - local_18 = uVar7; + local_18 = uVar6; HUD::LoadGraphics(this); pGVar3->_challenge = *param_1; if ((*(char *)((int)param_1 + 5) == '\0') && (g_manager->_isConsoleEnabled == 0)) { - uVar4 = 0; + bVar4 = 0; } else { - uVar4 = 1; + bVar4 = 1; } - pGVar3->field_0x269d0 = uVar4; + pGVar3->_isConsoleUsedThisRun = bVar4; pGVar3->_difficulty = param_1[2]; pGVar3->_isRerun = 1; Seeds::construct_from_copy(&local_a8,(Seeds *)(param_1 + 0x79c9)); local_8 = 0; - Seeds::operator_assign(extraout_EAX); + Seeds::operator_assign(&pGVar3->_seedEffects,extraout_EAX); local_8 = 0xffffffff; FID_conflict__Erase_tree_>_> (&local_a8._seedEffects, (fuzzer_allocator_> *)&local_a8._seedEffects, *(_Tree_node **)((int)local_a8._seedEffects + 4)); - operator_delete(local_a8._seedEffects,0x14,uVar7); + operator_delete(local_a8._seedEffects,0x14,uVar6); pvVar1 = (pGVar3->_seedEffects)._seedEffects; this_00 = &(pGVar3->_seedEffects)._seedEffects; FID_conflict__Erase_tree_>_> @@ -416515,17 +417200,18 @@ void Game::StartFromRerunState(int *param_1) *(void **)((int)pvVar1 + 8) = pvVar1; (pGVar3->_seedEffects)._seedEffectsCount = 0; this_01 = &pGVar3->_seedEffects; - uVar7 = Seeds::GetNextSeed(this_01); - Seeds::set_start_seed(this_01,uVar7); - uVar8 = Seeds::GetNextSeed(this_01); - *(undefined4 *)&pGVar3->field_0x1ba98 = uVar8; - *(undefined8 *)&pGVar3->field_0x1ba9c = 0x900000005; - *(undefined4 *)&pGVar3->field_0x1baa4 = 7; + uVar6 = Seeds::GetNextSeed(this_01); + Seeds::set_start_seed(this_01,uVar6); + iVar7 = Seeds::GetNextSeed(this_01); + (pGVar3->_fortuneRNG)._seed = iVar7; + (pGVar3->_fortuneRNG)._shift1 = 5; + (pGVar3->_fortuneRNG)._shift2 = 9; + (pGVar3->_fortuneRNG)._shift3 = 7; if (this_01->_isCustomRun == 0) { - bVar5 = Seeds::AchievementUnlocksDisallowed(this_01); - if (bVar5 == 0) { - cVar6 = Manager::IsGameplayInputActive(extraout_ECX); - if ((cVar6 == '\0') && (pGVar3->_isRerun == 0)) { + bVar4 = Seeds::AchievementUnlocksDisallowed(this_01); + if (bVar4 == 0) { + cVar5 = Manager::IsGameplayInputActive(extraout_ECX); + if ((cVar5 == '\0') && (pGVar3->_isRerun == 0)) { bVar2 = false; goto LAB_006f7452; } @@ -416533,12 +417219,12 @@ void Game::StartFromRerunState(int *param_1) } bVar2 = true; LAB_006f7452: - pcVar9 = "True"; + pcVar8 = "True"; if (!bVar2) { - pcVar9 = "False"; + pcVar8 = "False"; } /* WARNING: Subroutine does not return */ - KAGE_LogMessage(1,"Setting PersistentGameData ReadOnly to %s\n",pcVar9); + KAGE_LogMessage(1,"Setting PersistentGameData ReadOnly to %s\n",pcVar8); } @@ -416571,7 +417257,7 @@ void __thiscall Game::StartDebug(void) ExceptionList = &local_10; local_8 = 0; g_game->_isStarted = 1; - pGVar2->field_0x269d0 = pMVar3->_isConsoleEnabled; + pGVar2->_isConsoleUsedThisRun = pMVar3->_isConsoleEnabled; pGVar2->_difficulty = in_stack_0000000c; pGVar2->_isDebug = 1; (pGVar2->_seedEffects)._isCustomRun = 1; @@ -416707,11 +417393,11 @@ void Game::restore_game_state(GameState *param_1,char param_2) { std_vector *psVar1; - undefined1 *puVar2; - int *piVar3; - char cVar4; - void *pvVar5; - undefined4 *puVar6; + int *piVar2; + char cVar3; + void *pvVar4; + undefined4 *puVar5; + undefined2 uVar6; undefined1 uVar7; uint uVar8; undefined4 extraout_EAX; @@ -416721,14 +417407,15 @@ void Game::restore_game_state(GameState *param_1,char param_2) std_string *psVar9; Level *in_ECX; uint uVar10; - GameState *pGVar11; + int *piVar11; uint uVar12; uint uVar13; - GameState *pGVar14; + int *piVar14; uint uVar15; - int iVar16; - GameState GVar17; - int iVar18; + undefined1 *puVar16; + int iVar17; + undefined4 uVar18; + int iVar19; int local_b4; uint local_b0; void *local_ac; @@ -416746,26 +417433,26 @@ void Game::restore_game_state(GameState *param_1,char param_2) uVar8 = __security_cookie ^ (uint)&(&local_2c)[1]._size; ExceptionList = &local_10; local_14 = uVar8; - Seeds::construct_from_copy(&local_a4,(Seeds *)(param_1 + 0x79c9)); + Seeds::construct_from_copy(&local_a4,(Seeds *)¶m_1->field_0x1e724); local_8 = 0; - Seeds::operator_assign(extraout_EAX); + Seeds::operator_assign((Seeds *)&in_ECX[1]._roomList[0x4d].SavedEntities._end,extraout_EAX); local_8 = 0xffffffff; FID_conflict__Erase_tree_>_> (&local_a4._seedEffects, (fuzzer_allocator_> *)&local_a4._seedEffects, *(_Tree_node **)((int)local_a4._seedEffects + 4)); operator_delete(local_a4._seedEffects,0x14,uVar8); - *(GameState *)&in_ECX[1]._roomList[0x13a].field_0x20 = *param_1; - if ((param_1[1].field_0x1 == '\0') && (g_manager->_isConsoleEnabled == 0)) { + in_ECX[1]._roomList[0x13a]._doors[1] = *(int *)param_1; + if ((param_1->field_0x5 == '\0') && (g_manager->_isConsoleEnabled == 0)) { uVar7 = 0; } else { uVar7 = 1; } - in_ECX[1]._roomList[0x140].field_0x1c = uVar7; - in_ECX[1]._roomList[0x140].OverrideData = (void *)param_1[2]; + *(undefined1 *)in_ECX[1]._roomList[0x140]._doors = uVar7; + in_ECX[1]._roomList[0x140].OverrideData = *(void **)¶m_1->field_0x8; local_b0 = 0; - if (*(short *)(param_1 + 3) != 0) { + if (*(short *)¶m_1->field_0xc != 0) { do { uVar12 = (local_b0 & 0xffff) >> 6; uVar8 = 1 << (local_b0 & 0x1f); @@ -416777,9 +417464,9 @@ void Game::restore_game_state(GameState *param_1,char param_2) if (0x3f < (local_b0 & 0x3f)) { uVar13 = uVar8; } - uVar10 = *(uint *)(&in_ECX[1]._roomList[0x139].field_0x9c + uVar12 * 8); - uVar15 = *(uint *)(&in_ECX[1]._roomList[0x139].field_0xa0 + uVar12 * 8); - if ((¶m_1[3].field_0x2)[local_b0 & 0xffff] == '\0') { + uVar10 = in_ECX[1]._roomList[0x139]._doors[uVar12 * 2 + 0x20]; + uVar15 = in_ECX[1]._roomList[0x139]._doors[uVar12 * 2 + 0x21]; + if ((¶m_1->field_0xe)[local_b0 & 0xffff] == '\0') { uVar10 = ~uVar8 & uVar10; uVar15 = uVar15 & ~uVar13; } @@ -416787,55 +417474,59 @@ void Game::restore_game_state(GameState *param_1,char param_2) uVar10 = uVar10 | uVar8; uVar15 = uVar15 | uVar13; } - *(uint *)(&in_ECX[1]._roomList[0x139].field_0xa0 + uVar12 * 8) = uVar15; - *(uint *)(&in_ECX[1]._roomList[0x139].field_0x9c + uVar12 * 8) = uVar10; + in_ECX[1]._roomList[0x139]._doors[uVar12 * 2 + 0x21] = uVar15; + in_ECX[1]._roomList[0x139]._doors[uVar12 * 2 + 0x20] = uVar10; local_b0 = local_b0 + 1; - } while ((ushort)local_b0 < *(ushort *)(param_1 + 3)); + } while ((ushort)local_b0 < *(ushort *)¶m_1->field_0xc); } - *(GameState *)&in_ECX[1]._roomList[0x139].field_0xa8 = param_1[0x11]; - puVar2 = &in_ECX[1]._roomList[0x140].field_0x20; - *(GameState *)&in_ECX[1]._roomList[0x139].ShopItemIdx = param_1[0x12]; - in_ECX[1]._roomList[0x139].DeliriumDistance = (int)param_1[0x13]; - in_ECX[1]._roomList[0x139].Group = (int)param_1[0x14]; - *(GameState *)(in_ECX[1]._roomList + 0x13a) = param_1[0x15]; - in_ECX[1]._roomList[0x13a].SafeGridIndex = (int)param_1[0x16]; - in_ECX[1]._roomList[0x13a].AllowedDoors = (int)param_1[0x17]; - in_ECX[1]._roomList[0x13a].ListIndex = (int)param_1[0x18]; - in_ECX[1]._roomList[0x13a].Dimension = (int)param_1[0x19]; - in_ECX[1]._roomList[0x13a].Data = (void *)param_1[0x1a]; - in_ECX[1]._roomList[0x13a].OverrideData = (void *)param_1[0x1b]; - in_ECX[1]._roomList[0x139].PitsCount = (int)param_1[0x1c]; - in_ECX[1]._roomList[0x139].DecorationSeed = (int)param_1[0x1d]; - in_ECX[1]._roomList[0x139].GreedSubType = (int)param_1[0x1e]; - *(GameState *)&in_ECX[1]._roomList[0x139].PoopCount = param_1[0x1f]; - in_ECX[1]._roomList[0x140].Data = (void *)param_1[0x20]; - *(GameState *)&in_ECX[1]._roomList[0x13c].field_0xa0 = param_1[0x37]; - in_ECX[1]._roomList[0x140].Dimension = (int)param_1[0x38]; - in_ECX[1]._roomList[0x13a].field_0x24 = *(undefined1 *)(param_1 + 1); - in_ECX[1]._roomList[0x140].AllowedDoors = (int)param_1[0x79e2]; - if ((GameState *)puVar2 != param_1 + 0x79e7) { - GVar17 = param_1[0x79e7]; - _Size = (int)param_1[0x79e8] - (int)GVar17; - local_ac = *(void **)puVar2; - if ((uint)(*(int *)&in_ECX[1]._roomList[0x140].field_0x28 - (int)local_ac >> 3) < - (uint)((int)_Size >> 3)) { + *(undefined4 *)&in_ECX[1]._roomList[0x139].field_0xa8 = *(undefined4 *)¶m_1->field_0x44; + piVar2 = in_ECX[1]._roomList[0x140]._doors + 1; + uVar6 = *(undefined2 *)¶m_1->field_0x4a; + in_ECX[1]._roomList[0x139].ShopItemIdx = *(undefined2 *)¶m_1->field_0x48; + in_ECX[1]._roomList[0x139].ShopItemDiscountIdx = uVar6; + in_ECX[1]._roomList[0x139].DeliriumDistance = *(int *)¶m_1->field_0x4c; + in_ECX[1]._roomList[0x139].Group = *(int *)¶m_1->field_0x50; + in_ECX[1]._roomList[0x13a].GridIndex = *(int *)¶m_1->field_0x54; + in_ECX[1]._roomList[0x13a].SafeGridIndex = *(int *)¶m_1->field_0x58; + in_ECX[1]._roomList[0x13a].AllowedDoors = *(int *)¶m_1->field_0x5c; + in_ECX[1]._roomList[0x13a].ListIndex = *(int *)¶m_1->field_0x60; + in_ECX[1]._roomList[0x13a].Dimension = *(int *)¶m_1->field_0x64; + in_ECX[1]._roomList[0x13a].Data = *(void **)¶m_1->field_0x68; + in_ECX[1]._roomList[0x13a].OverrideData = *(void **)¶m_1->field_0x6c; + in_ECX[1]._roomList[0x139].PitsCount = *(int *)¶m_1->field_0x70; + in_ECX[1]._roomList[0x139].DecorationSeed = *(int *)¶m_1->field_0x74; + in_ECX[1]._roomList[0x139].GreedSubType = *(int *)¶m_1->field_0x78; + uVar6 = *(undefined2 *)¶m_1->field_0x7e; + in_ECX[1]._roomList[0x139].PoopCount = *(undefined2 *)¶m_1->field_0x7c; + in_ECX[1]._roomList[0x139].TKeeperCoinSpawns = uVar6; + in_ECX[1]._roomList[0x140].Data = *(void **)¶m_1->field_0x80; + *(undefined4 *)&in_ECX[1]._roomList[0x13c].field_0xa0 = *(undefined4 *)¶m_1->field_0xdc; + in_ECX[1]._roomList[0x140].Dimension = *(int *)¶m_1->field_0xe0; + *(undefined1 *)(in_ECX[1]._roomList[0x13a]._doors + 2) = param_1->field_0x4; + in_ECX[1]._roomList[0x140].AllowedDoors = *(int *)¶m_1->field_0x1e788; + if (piVar2 != (int *)¶m_1->field_0x1e79c) { + pvVar4 = *(void **)¶m_1->field_0x1e79c; + _Size = *(int *)¶m_1->field_0x1e7a0 - (int)pvVar4; + local_ac = (void *)*piVar2; + if ((uint)(in_ECX[1]._roomList[0x140]._doors[3] - (int)local_ac >> 3) < (uint)((int)_Size >> 3)) + { std::vector<8byte>::_Clear_and_reserve((int)_Size >> 3); - local_ac = *(void **)puVar2; + local_ac = (void *)*piVar2; } - memmove(local_ac,(void *)GVar17,_Size); - *(size_t *)&in_ECX[1]._roomList[0x140].field_0x24 = _Size + (int)local_ac; + memmove(local_ac,pvVar4,_Size); + in_ECX[1]._roomList[0x140]._doors[2] = _Size + (int)local_ac; } - in_ECX[4]._roomList[0x91].SavedEntities._capacity = (void *)param_1[0x79e3]; - std::vector<12byte>::operator_assign(param_1 + 0x79e4); - *(GameState *)&in_ECX[1]._roomList[0x140].field_0x2c = param_1[0x79ea]; - *(GameState *)&in_ECX[1]._roomList[0x140].field_0x30 = param_1[0x79eb]; + in_ECX[4]._roomList[0x91].SavedEntities._capacity = *(void **)¶m_1->field_0x1e78c; + std::vector<12byte>::operator_assign(¶m_1->field_0x1e790); + in_ECX[1]._roomList[0x140]._doors[4] = *(int *)¶m_1->field_0x1e7a8; + in_ECX[1]._roomList[0x140]._doors[5] = *(int *)¶m_1->field_0x1e7ac; if (param_2 == '\0') { - piVar3 = &in_ECX[1]._roomList[0x4c].PitsCount; - in_ECX[1]._roomList[0x4d].PitsCount = (int)param_1[0x79e0]; + piVar2 = &in_ECX[1]._roomList[0x4c].PitsCount; + in_ECX[1]._roomList[0x4d].PitsCount = *(int *)¶m_1->field_0x1e780; in_ECX[1]._roomList[0x4d].DecorationSeed = 5; in_ECX[1]._roomList[0x4d].SpawnSeed = 7; in_ECX[1]._roomList[0x4d].AwardSeed = 0x16; - in_ECX[1]._roomList[0x4c].Flags = (int)param_1[0x79e1]; + in_ECX[1]._roomList[0x4c].Flags = *(int *)¶m_1->field_0x1e784; in_ECX[1]._roomList[0x4c].TotalMoneySpent = 5; in_ECX[1]._roomList[0x4c].ClearCount = 0; in_ECX[1]._roomList[0x4c].GreedSubType = 9; @@ -416843,45 +417534,45 @@ void Game::restore_game_state(GameState *param_1,char param_2) in_ECX[1]._roomList[0x4c].TKeeperCoinSpawns = 0; ItemPool::RestoreGameState ((ItemPool *)&in_ECX[1]._roomList[0x31].PitsCount, - (GameStateItemPool *)(param_1 + 0x78f3)); - FUN_00422ea0(param_1 + 0x79a0); - FUN_009e0340(param_1 + 0x7f66); - in_ECX[4]._roomList[0x92].SafeGridIndex = (uint)(*(char *)(param_1 + 0x79ec) != '\0'); - pGVar14 = param_1 + 0x79ed; - iVar16 = 7; + (GameStateItemPool *)¶m_1->field_0x1e3cc); + FUN_00422ea0(¶m_1->field_0x1e680); + FUN_009e0340(¶m_1->field_0x1fd98); + in_ECX[4]._roomList[0x92].SafeGridIndex = (uint)(param_1->field_0x1e7b0 != '\0'); + puVar16 = ¶m_1->field_0x1e7b4; + iVar17 = 7; do { - Game_StateSlot::operator_assign(pGVar14); - pGVar14 = pGVar14 + 200; - iVar16 = iVar16 + -1; - } while (iVar16 != 0); - in_ECX[4]._roomList[0xb0].DecorationSeed = (int)*(short *)(param_1 + 0x7f65); - puVar6 = (undefined4 *)in_ECX[1]._roomList[0x13b].SafeGridIndex; + Game_StateSlot::operator_assign(puVar16); + puVar16 = puVar16 + 800; + iVar17 = iVar17 + -1; + } while (iVar17 != 0); + in_ECX[4]._roomList[0xb0].DecorationSeed = (int)*(short *)¶m_1->field_0x1fd94; + puVar5 = (undefined4 *)in_ECX[1]._roomList[0x13b].SafeGridIndex; in_ECX[1]._roomList[0x13a].DeliriumDistance = 0; in_ECX[1]._roomList[0x13a].Group = 0; - if (puVar6 != (undefined4 *)0x0) { - (**(code **)*puVar6)(1); + if (puVar5 != (undefined4 *)0x0) { + (**(code **)*puVar5)(1); in_ECX[1]._roomList[0x13b].SafeGridIndex = 0; } - DeathmatchManager::set_type(*(undefined1 *)(param_1 + 0x7f77)); + DeathmatchManager::set_type(param_1->field_0x1fddc); (**(code **)(*(int *)in_ECX[1]._roomList[0x13b].SafeGridIndex + 0x74))(param_1); PlayerManager::RestoreGameState((PlayerManager *)&in_ECX[1]._roomList[0x4c].PitsCount,param_1); Level::RestoreGameState(in_ECX,param_1); PlayerManager::RestoreGameState_PostLevelInit ((PlayerManager *)&in_ECX[1]._roomList[0x4c].PitsCount,param_1); - pGVar14 = param_1 + 0x59; - pGVar11 = (GameState *)&g_manager->field_0x21994; - iVar16 = 0xe; + piVar14 = (int *)¶m_1->field_0x164; + piVar11 = (g_manager->_nightmareScene)._stageBarIcons; + iVar17 = 0xe; do { - GVar17 = *pGVar14; - pGVar14 = pGVar14 + 1; - *pGVar11 = GVar17; - pGVar11 = pGVar11 + 1; - iVar16 = iVar16 + -1; - } while (iVar16 != 0); - cVar4 = *(char *)(param_1 + 0x21); - *(char *)&in_ECX[1]._roomList[0x13a].RestrictedGridIndexes._size = cVar4; - in_ECX[1]._roomList[0x13a].SavedEffects._begin = (void *)param_1[0x22]; - if (cVar4 != '\0') { + iVar19 = *piVar14; + piVar14 = piVar14 + 1; + *piVar11 = iVar19; + piVar11 = piVar11 + 1; + iVar17 = iVar17 + -1; + } while (iVar17 != 0); + cVar3 = param_1->field_0x84; + *(char *)&in_ECX[1]._roomList[0x13a].RestrictedGridIndexes._size = cVar3; + in_ECX[1]._roomList[0x13a].SavedEffects._begin = *(void **)¶m_1->field_0x88; + if (cVar3 != '\0') { if (*(int *)((int)g_game->_room + 8) == 0x11) { Ambush::shuffle_waves(); local_b4 = 0; @@ -416902,15 +417593,15 @@ void Game::restore_game_state(GameState *param_1,char param_2) else { *(undefined1 *)&in_ECX[1]._roomList[0x13a].RestrictedGridIndexes._size = 0; Ambush::StartChallenge((Ambush *)&in_ECX[1]._roomList[0x13a].BossDeathSeed); - in_ECX[1]._roomList[0x13a].SavedEffects._begin = (void *)param_1[0x22]; + in_ECX[1]._roomList[0x13a].SavedEffects._begin = *(void **)¶m_1->field_0x88; } in_ECX[1]._roomList[0x13a].SavedEffects._end = (void *)0x1e; - iVar16 = (g_manager->_musicManager)._currentMusicID; - if ((iVar16 == 0x5f) || (iVar16 == 0x40)) { - iVar16 = (*(int *)((int)g_game->_room + 8) == 0x11) + 0x26; - if (iVar16 < ((int)(g_manager->_musicManager)._entries._end - + iVar17 = (g_manager->_musicManager)._currentMusicID; + if ((iVar17 == 0x5f) || (iVar17 == 0x40)) { + iVar17 = (*(int *)((int)g_game->_room + 8) == 0x11) + 0x26; + if (iVar17 < ((int)(g_manager->_musicManager)._entries._end - (int)(g_manager->_musicManager)._entries._begin) / 0x60) { - (g_manager->_musicManager)._queuedMusicID = iVar16; + (g_manager->_musicManager)._queuedMusicID = iVar17; } } else { @@ -416919,35 +417610,35 @@ void Game::restore_game_state(GameState *param_1,char param_2) (g_manager->_optionsConfig)._musicVolume); } } - ScoreSheet::restore_state(param_1 + 0x23); + ScoreSheet::restore_state(¶m_1->field_0x8c); uVar8 = 0; - iVar16 = in_ECX[1]._roomList[0x4c].DecorationSeed; - iVar18 = *piVar3; - if (iVar16 - iVar18 >> 2 != 0) { + iVar17 = in_ECX[1]._roomList[0x4c].DecorationSeed; + iVar19 = *piVar2; + if (iVar17 - iVar19 >> 2 != 0) { do { - if (iVar16 - iVar18 >> 2 == 0) { + if (iVar17 - iVar19 >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } Entity_Player::update_mini_mush_costume(); - iVar16 = in_ECX[1]._roomList[0x4c].DecorationSeed; + iVar17 = in_ECX[1]._roomList[0x4c].DecorationSeed; uVar8 = uVar8 + 1; - iVar18 = *piVar3; - } while (uVar8 < (uint)(iVar16 - iVar18 >> 2)); + iVar19 = *piVar2; + } while (uVar8 < (uint)(iVar17 - iVar19 >> 2)); } ExceptionList = local_10; return; } init_procedural_item_surfaces(); - GVar17 = (GameState)0xfffffffe; + uVar18 = 0xfffffffe; if (g_manager->_networkPlay == 0) { - GVar17 = param_1[0x675f]; + uVar18 = *(undefined4 *)¶m_1->field_0x19d7c; } if (in_ECX[1]._roomList[0x4d].SavedEntities._capacity == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Error: Game Start Seed was not set.\n"); } - PlayerManager::init_main_player(GVar17,in_ECX[1]._roomList[0x4e].Data); + PlayerManager::init_main_player(uVar18,in_ECX[1]._roomList[0x4e].Data); builtin_strncpy(local_2c._buf + 8,"s.xml",6); local_2c._capacity = 0xf; local_2c._size = 0xd; @@ -416959,7 +417650,8 @@ void Game::restore_game_state(GameState *param_1,char param_2) if (0xf < *(uint *)(extraout_EAX_00 + 0x14)) { filename = *(byte **)extraout_EAX_00; } - ItemPool::Init((ItemPool *)&in_ECX[1]._roomList[0x31].PitsCount,(uint)param_1[0x796f],filename); + ItemPool::Init((ItemPool *)&in_ECX[1]._roomList[0x31].PitsCount,*(uint *)¶m_1->field_0x1e5bc, + filename); local_8 = CONCAT31(local_8._1_3_,1); if (0xf < local_44._capacity) { uVar13 = local_44._capacity + 1; @@ -416977,48 +417669,48 @@ void Game::restore_game_state(GameState *param_1,char param_2) local_44._buf._0_4_ = local_44._buf._0_4_ & 0xffffff00; if (0xf < local_2c._capacity) { uVar8 = local_2c._capacity + 1; - iVar16 = local_2c._buf._0_4_; + iVar17 = local_2c._buf._0_4_; if (0xfff < uVar8) { - iVar16 = *(int *)(local_2c._buf._0_4_ + -4); + iVar17 = *(int *)(local_2c._buf._0_4_ + -4); uVar8 = local_2c._capacity + 0x24; - if (0x1f < (local_2c._buf._0_4_ - iVar16) - 4U) { + if (0x1f < (local_2c._buf._0_4_ - iVar17) - 4U) { LAB_006f8543: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar16,uVar8); + operator_delete(iVar17,uVar8); } - pvVar5 = in_ECX[1]._roomList[0x4d].SavedEntities._capacity; - if (pvVar5 == (void *)0x0) { + pvVar4 = in_ECX[1]._roomList[0x4d].SavedEntities._capacity; + if (pvVar4 == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Error: Game Start Seed was not set.\n"); } - BossPool::init(pvVar5); - in_ECX[1]._roomList[0x4c].Flags = (int)param_1[0x79e1]; + BossPool::init(pvVar4); + in_ECX[1]._roomList[0x4c].Flags = *(int *)¶m_1->field_0x1e784; in_ECX[1]._roomList[0x4c].TotalMoneySpent = 5; in_ECX[1]._roomList[0x4c].ClearCount = 0; in_ECX[1]._roomList[0x4c].GreedSubType = 9; in_ECX[1]._roomList[0x4c].PoopCount = 7; in_ECX[1]._roomList[0x4c].TKeeperCoinSpawns = 0; - pvVar5 = in_ECX[1]._roomList[0x4d].SavedEntities._capacity; - iVar16 = g_manager->_currentSaveSlot; - if (pvVar5 == (void *)0x0) { + pvVar4 = in_ECX[1]._roomList[0x4d].SavedEntities._capacity; + iVar17 = g_manager->_currentSaveSlot; + if (pvVar4 == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Error: Game Start Seed was not set.\n"); } - if (pvVar5 == (void *)0x0) { + if (pvVar4 == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Error: Game Start Seed was not set.\n"); } - Seeds::Seed2String(&local_2c,pvVar5); + Seeds::Seed2String(&local_2c,pvVar4); local_8 = 3; psVar9 = &local_2c; if (0xf < local_2c._capacity) { psVar9 = (std_string *)local_2c._buf._0_4_; } /* WARNING: Subroutine does not return */ - KAGE_LogMessage(1,"RNG Start Seed: %s (%u) [Continue, %d]\n",psVar9,pvVar5,iVar16); + KAGE_LogMessage(1,"RNG Start Seed: %s (%u) [Continue, %d]\n",psVar9,pvVar4,iVar17); } @@ -417258,152 +417950,151 @@ void __thiscall Game::store_game_state(Game *this,GameState *param_2) { void *_Src; - GameState GVar1; - Game *pGVar2; - undefined1 uVar3; - uint uVar4; + Game *pGVar1; + undefined1 uVar2; + uint uVar3; undefined4 extraout_EAX; + uint uVar4; uint uVar5; - uint uVar6; - GameState GVar7; - uint uVar8; - GameState *pGVar9; - uint uVar10; - GameState *pGVar11; + int iVar6; + uint uVar7; + int *piVar8; + uint uVar9; + int *piVar10; size_t _Size; - int iVar12; - undefined1 *puVar13; - GameState local_7c; + int iVar11; + undefined1 *puVar12; + void *local_7c; Seeds local_74; uint local_14; void *local_10; undefined1 *puStack_c; - undefined4 local_8; + int local_8; local_8 = 0xffffffff; puStack_c = &LAB_00afc0ed; local_10 = ExceptionList; - uVar4 = __security_cookie ^ (int)register0x00000010 - 4U; + uVar3 = __security_cookie ^ (uint)&(&local_74)[1]._rng._shift3; ExceptionList = &local_10; - local_14 = uVar4; + local_14 = uVar3; GameState::Clear(param_2); Seeds::construct_from_copy(&local_74,&this->_seedEffects); local_8 = 0; - Seeds::operator_assign(extraout_EAX); + Seeds::operator_assign((Seeds *)¶m_2->field_0x1e724,extraout_EAX); local_8 = 0xffffffff; FID_conflict__Erase_tree_>_> (&local_74._seedEffects, (fuzzer_allocator_> *)&local_74._seedEffects, *(_Tree_node **)((int)local_74._seedEffects + 4)); - operator_delete(local_74._seedEffects,0x14,uVar4); - *(RNG *)(param_2 + 0x79e0) = (this->_playerManager)._rng; - uVar4 = 0; - param_2[0x79e1] = *(GameState *)&this->field_0x1ba98; - *param_2 = (GameState)this->_challenge; - *(byte *)(param_2 + 1) = this->_isRerun; - param_2[1].field_0x1 = this->field_0x269d0; - param_2[2] = (GameState)this->_difficulty; - *(undefined2 *)(param_2 + 3) = 0x35; + operator_delete(local_74._seedEffects,0x14,uVar3); + *(int *)¶m_2->field_0x1e780 = (this->_playerManager)._rng._seed; + uVar3 = 0; + *(int *)¶m_2->field_0x1e784 = (this->_fortuneRNG)._seed; + *(int *)param_2 = this->_challenge; + param_2->field_0x4 = this->_isRerun; + param_2->field_0x5 = this->_isConsoleUsedThisRun; + *(int *)¶m_2->field_0x8 = this->_difficulty; + *(undefined2 *)¶m_2->field_0xc = 0x35; do { - uVar5 = uVar4 & 0xffff; - uVar10 = 1 << (uVar4 & 0x1f); - uVar8 = 0; - if (0x1f < (uVar4 & 0x3f)) { - uVar8 = uVar10; + uVar4 = uVar3 & 0xffff; + uVar9 = 1 << (uVar3 & 0x1f); + uVar7 = 0; + if (0x1f < (uVar3 & 0x3f)) { + uVar7 = uVar9; } - uVar10 = uVar10 ^ uVar8; - if (0x3f < (uVar4 & 0x3f)) { - uVar8 = uVar10; + uVar9 = uVar9 ^ uVar7; + if (0x3f < (uVar3 & 0x3f)) { + uVar7 = uVar9; } - uVar6 = uVar5 >> 6; - uVar4 = uVar4 + 1; - (¶m_2[3].field_0x2)[uVar5] = - (uVar10 & *(uint *)(this->_giantBookClickerImage + uVar6 * 8 + 0x28)) != 0 || - (uVar8 & *(uint *)(this->_giantBookClickerImage + uVar6 * 8 + 0x2c)) != 0; - } while ((ushort)uVar4 < *(ushort *)(param_2 + 3)); - param_2[0x11] = (GameState)this->_lastDevilRoomStage; - param_2[0x12] = (GameState)this->_treasureRoomsVisited; - param_2[0x13] = (GameState)this->_planetariumsVisited; - param_2[0x14] = (GameState)this->_stagesWithoutHeartsPicked; - param_2[0x15] = (GameState)this->_stagesWithoutDamage; - param_2[0x16] = (GameState)this->_devilRoomDeals; - param_2[0x17] = (GameState)this->_shopVisits; - param_2[0x18] = (GameState)this->_donationModGreed; - param_2[0x19] = (GameState)this->_donationModAngel; - param_2[0x1a] = (GameState)this->_reviveMachineCoinsLeft; - param_2[0x1b] = (GameState)this->_reviveMachineUses; - param_2[0x1c] = (GameState)this->_bossRushParTime; - param_2[0x1d] = (GameState)this->_blueWombParTime; - param_2[0x1e] = (GameState)this->_frameCount; - param_2[0x1f] = (GameState)this->_timeCounter; - param_2[0x20] = (GameState)this->_stageNameNumeral; - param_2[0x37] = (GameState)this->_victoryLap; - param_2[0x38] = (GameState)this->_lastLevelWithoutHalfHp; - param_2[0x79e2] = (GameState)this->_lastLevelWithDamage; - if (param_2 + 0x79e7 != (GameState *)this->_encounteredBosses) { + uVar5 = uVar4 >> 6; + uVar3 = uVar3 + 1; + (¶m_2->field_0xe)[uVar4] = + (uVar9 & *(uint *)(this->_giantBookClickerImage + uVar5 * 8 + 0x28)) != 0 || + (uVar7 & *(uint *)(this->_giantBookClickerImage + uVar5 * 8 + 0x2c)) != 0; + } while ((ushort)uVar3 < *(ushort *)¶m_2->field_0xc); + *(int *)¶m_2->field_0x44 = this->_lastDevilRoomStage; + *(int *)¶m_2->field_0x48 = this->_treasureRoomsVisited; + *(int *)¶m_2->field_0x4c = this->_planetariumsVisited; + *(int *)¶m_2->field_0x50 = this->_stagesWithoutHeartsPicked; + *(int *)¶m_2->field_0x54 = this->_stagesWithoutDamage; + *(int *)¶m_2->field_0x58 = this->_devilRoomDeals; + *(int *)¶m_2->field_0x5c = this->_shopVisits; + *(int *)¶m_2->field_0x60 = this->_donationModGreed; + *(int *)¶m_2->field_0x64 = this->_donationModAngel; + *(int *)¶m_2->field_0x68 = this->_reviveMachineCoinsLeft; + *(int *)¶m_2->field_0x6c = this->_reviveMachineUses; + *(int *)¶m_2->field_0x70 = this->_bossRushParTime; + *(int *)¶m_2->field_0x74 = this->_blueWombParTime; + *(int *)¶m_2->field_0x78 = this->_frameCount; + *(int *)¶m_2->field_0x7c = this->_timeCounter; + *(int *)¶m_2->field_0x80 = this->_stageNameNumeral; + *(int *)¶m_2->field_0xdc = this->_victoryLap; + *(int *)¶m_2->field_0xe0 = this->_lastLevelWithoutHalfHp; + *(int *)¶m_2->field_0x1e788 = this->_lastLevelWithDamage; + if (¶m_2->field_0x1e79c != this->_encounteredBosses) { _Src = *(void **)this->_encounteredBosses; _Size = *(int *)(this->_encounteredBosses + 4) - (int)_Src; - local_7c = param_2[0x79e7]; - if ((uint)((int)param_2[0x79e9] - (int)local_7c >> 3) < (uint)((int)_Size >> 3)) { + local_7c = *(void **)¶m_2->field_0x1e79c; + if ((uint)(*(int *)¶m_2->field_0x1e7a4 - (int)local_7c >> 3) < (uint)((int)_Size >> 3)) { std::vector<8byte>::_Clear_and_reserve((int)_Size >> 3); - local_7c = param_2[0x79e7]; + local_7c = *(void **)¶m_2->field_0x1e79c; } - memmove((void *)local_7c,_Src,_Size); - param_2[0x79e8] = (GameState)((int)local_7c + _Size); + memmove(local_7c,_Src,_Size); + *(size_t *)¶m_2->field_0x1e7a0 = (int)local_7c + _Size; } - param_2[0x79ea] = (GameState)this->_pixelationTimer; - param_2[0x79eb] = (GameState)this->_pixelationDuration; - param_2[0x79e3] = (GameState)this->_magicSkinUses; + *(int *)¶m_2->field_0x1e7a8 = this->_pixelationTimer; + *(int *)¶m_2->field_0x1e7ac = this->_pixelationDuration; + *(int *)¶m_2->field_0x1e78c = this->_magicSkinUses; std::vector<12byte>::operator_assign(&this->_erasedEntities); - ItemPool::StoreGameState(&this->_itemPool,(GameStateItemPool *)(param_2 + 0x78f3)); - FUN_00422f80(param_2 + 0x79a0); + ItemPool::StoreGameState(&this->_itemPool,(GameStateItemPool *)¶m_2->field_0x1e3cc); + FUN_00422f80(¶m_2->field_0x1e680); std::vector<4byte>::resize ((int)(this->_proceduralItemManager)._proceduralItems._end - (int)(this->_proceduralItemManager)._proceduralItems._begin >> 2); - uVar4 = 0; + uVar3 = 0; if ((int)(this->_proceduralItemManager)._proceduralItems._end - (int)(this->_proceduralItemManager)._proceduralItems._begin >> 2 != 0) { do { - *(undefined4 *)((int)param_2[0x7f66] + uVar4 * 4) = + *(undefined4 *)(*(int *)¶m_2->field_0x1fd98 + uVar3 * 4) = *(undefined4 *) - (*(int *)((int)(this->_proceduralItemManager)._proceduralItems._begin + uVar4 * 4) + 8); - uVar4 = uVar4 + 1; - } while (uVar4 < (uint)((int)(this->_proceduralItemManager)._proceduralItems._end - + (*(int *)((int)(this->_proceduralItemManager)._proceduralItems._begin + uVar3 * 4) + 8); + uVar3 = uVar3 + 1; + } while (uVar3 < (uint)((int)(this->_proceduralItemManager)._proceduralItems._end - (int)(this->_proceduralItemManager)._proceduralItems._begin >> 2)); } Room::on_leave(); Level::store_game_state(param_2); PlayerManager::store_game_state(param_2); - *(bool *)(param_2 + 0x79ec) = 0 < this->_ascentTimer; - puVar13 = &this->field_0x6778c; - iVar12 = 7; + param_2->field_0x1e7b0 = 0 < this->_ascentTimer; + puVar12 = &this->field_0x6778c; + iVar11 = 7; do { - Game_StateSlot::operator_assign(puVar13); - puVar13 = puVar13 + 800; - iVar12 = iVar12 + -1; - } while (iVar12 != 0); - iVar12 = 0xe; - pGVar11 = (GameState *)&g_manager->field_0x21994; - *(short *)(param_2 + 0x7f65) = (short)this->_deathCertificateExitTimer; - pGVar9 = param_2 + 0x59; + Game_StateSlot::operator_assign(puVar12); + puVar12 = puVar12 + 800; + iVar11 = iVar11 + -1; + } while (iVar11 != 0); + iVar11 = 0xe; + piVar10 = (g_manager->_nightmareScene)._stageBarIcons; + *(short *)¶m_2->field_0x1fd94 = (short)this->_deathCertificateExitTimer; + piVar8 = (int *)¶m_2->field_0x164; do { - GVar1 = *pGVar11; - pGVar11 = pGVar11 + 1; - *pGVar9 = GVar1; - pGVar2 = g_game; - pGVar9 = pGVar9 + 1; - iVar12 = iVar12 + -1; - } while (iVar12 != 0); - *(byte *)(param_2 + 0x21) = (g_game->_ambush)._isActive; - GVar1 = *(GameState *)&pGVar2->field_0x265ec; - GVar7 = (GameState)((int)GVar1 + -1); - if ((int)GVar1 < 1) { - GVar7 = GVar1; + iVar6 = *piVar10; + piVar10 = piVar10 + 1; + *piVar8 = iVar6; + pGVar1 = g_game; + piVar8 = piVar8 + 1; + iVar11 = iVar11 + -1; + } while (iVar11 != 0); + param_2->field_0x84 = (g_game->_ambush)._isActive; + iVar11 = (pGVar1->_ambush)._currentWave; + iVar6 = iVar11 + -1; + if (iVar11 < 1) { + iVar6 = iVar11; } - param_2[0x22] = GVar7; - ScoreSheet::store_state(param_2 + 0x23); - uVar3 = (**(code **)(*(int *)(this->_deathmatchManager)._type + 4))(); - *(undefined1 *)(param_2 + 0x7f77) = uVar3; + *(int *)¶m_2->field_0x88 = iVar6; + ScoreSheet::store_state(¶m_2->field_0x8c); + uVar2 = (**(code **)(*(int *)(this->_deathmatchManager)._type + 4))(); + param_2->field_0x1fddc = uVar2; (**(code **)(*(int *)(this->_deathmatchManager)._type + 0x70))(param_2); ExceptionList = local_10; return; @@ -417645,7 +418336,7 @@ LAB_006f97bc: } switch(EndingID) { case 1: - DeathScreen::Show(); + GameOver::Show(); persistent_game_data_set_writable(); FUN_00864fc0(EndingID == 1); return; @@ -417656,10 +418347,10 @@ LAB_006f97bc: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 2; *piVar1 = *piVar1 + 1; *(undefined1 *)&pMVar4->_persistentGameData = 1; - pMVar4->field_0x21618 = 1; - pMVar4->field_0x21620 = shouldCleanup; - *(Manager **)&pMVar4->field_0x21624 = this_00; - *(undefined4 *)&pMVar4->field_0x2161c = 3; + (pMVar4->_cutsceneManager).field_0x848 = 1; + (pMVar4->_cutsceneManager)._isQueuedCleanup = shouldCleanup; + pMVar4->_cutsceneNextMenuState = (int)this_00; + (pMVar4->_cutsceneManager)._queuedCutsceneId = 3; break; case 3: switch((pMVar4->_persistentGameData)._eventCounters[1]) { @@ -417710,10 +418401,10 @@ LAB_006f97bc: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 2; *piVar1 = *piVar1 + 1; *(undefined1 *)&pMVar4->_persistentGameData = 1; - pMVar4->field_0x21618 = 1; - pMVar4->field_0x21620 = shouldCleanup; - *(Manager **)&pMVar4->field_0x21624 = this_00; - *(undefined4 *)&pMVar4->field_0x2161c = 0xf; + (pMVar4->_cutsceneManager).field_0x848 = 1; + (pMVar4->_cutsceneManager)._isQueuedCleanup = shouldCleanup; + pMVar4->_cutsceneNextMenuState = (int)this_00; + (pMVar4->_cutsceneManager)._queuedCutsceneId = 0xf; break; case 5: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 0x10; @@ -417722,10 +418413,10 @@ LAB_006f97bc: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 2; *piVar1 = *piVar1 + 1; *(undefined1 *)&pMVar4->_persistentGameData = 1; - pMVar4->field_0x21618 = 1; - pMVar4->field_0x21620 = shouldCleanup; - *(Manager **)&pMVar4->field_0x21624 = this_00; - *(undefined4 *)&pMVar4->field_0x2161c = 0x10; + (pMVar4->_cutsceneManager).field_0x848 = 1; + (pMVar4->_cutsceneManager)._isQueuedCleanup = shouldCleanup; + pMVar4->_cutsceneNextMenuState = (int)this_00; + (pMVar4->_cutsceneManager)._queuedCutsceneId = 0x10; break; case 6: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 0x12; @@ -417734,10 +418425,10 @@ LAB_006f97bc: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 2; *piVar1 = *piVar1 + 1; *(undefined1 *)&pMVar4->_persistentGameData = 1; - pMVar4->field_0x21618 = 1; - pMVar4->field_0x21620 = shouldCleanup; - *(Manager **)&pMVar4->field_0x21624 = this_00; - *(undefined4 *)&pMVar4->field_0x2161c = 0x12; + (pMVar4->_cutsceneManager).field_0x848 = 1; + (pMVar4->_cutsceneManager)._isQueuedCleanup = shouldCleanup; + pMVar4->_cutsceneNextMenuState = (int)this_00; + (pMVar4->_cutsceneManager)._queuedCutsceneId = 0x12; break; case 7: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 0x11; @@ -417746,10 +418437,10 @@ LAB_006f97bc: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 2; *piVar1 = *piVar1 + 1; *(undefined1 *)&pMVar4->_persistentGameData = 1; - pMVar4->field_0x21618 = 1; - pMVar4->field_0x21620 = shouldCleanup; - *(Manager **)&pMVar4->field_0x21624 = this_00; - *(undefined4 *)&pMVar4->field_0x2161c = 0x11; + (pMVar4->_cutsceneManager).field_0x848 = 1; + (pMVar4->_cutsceneManager)._isQueuedCleanup = shouldCleanup; + pMVar4->_cutsceneNextMenuState = (int)this_00; + (pMVar4->_cutsceneManager)._queuedCutsceneId = 0x11; break; case 8: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 0x13; @@ -417758,10 +418449,10 @@ LAB_006f97bc: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 2; *piVar1 = *piVar1 + 1; *(undefined1 *)&pMVar4->_persistentGameData = 1; - pMVar4->field_0x21618 = 1; - pMVar4->field_0x21620 = shouldCleanup; - *(Manager **)&pMVar4->field_0x21624 = this_00; - *(undefined4 *)&pMVar4->field_0x2161c = 0x13; + (pMVar4->_cutsceneManager).field_0x848 = 1; + (pMVar4->_cutsceneManager)._isQueuedCleanup = shouldCleanup; + pMVar4->_cutsceneNextMenuState = (int)this_00; + (pMVar4->_cutsceneManager)._queuedCutsceneId = 0x13; break; case 9: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 0x15; @@ -417770,10 +418461,10 @@ LAB_006f97bc: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 2; *piVar1 = *piVar1 + 1; *(undefined1 *)&pMVar4->_persistentGameData = 1; - pMVar4->field_0x21618 = 1; - pMVar4->field_0x21620 = shouldCleanup; - *(Manager **)&pMVar4->field_0x21624 = this_00; - *(undefined4 *)&pMVar4->field_0x2161c = 0x15; + (pMVar4->_cutsceneManager).field_0x848 = 1; + (pMVar4->_cutsceneManager)._isQueuedCleanup = shouldCleanup; + pMVar4->_cutsceneNextMenuState = (int)this_00; + (pMVar4->_cutsceneManager)._queuedCutsceneId = 0x15; break; case 10: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 0x14; @@ -417782,10 +418473,10 @@ LAB_006f97bc: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 2; *piVar1 = *piVar1 + 1; *(undefined1 *)&pMVar4->_persistentGameData = 1; - pMVar4->field_0x21618 = 1; - pMVar4->field_0x21620 = shouldCleanup; - *(Manager **)&pMVar4->field_0x21624 = this_00; - *(undefined4 *)&pMVar4->field_0x2161c = 0x14; + (pMVar4->_cutsceneManager).field_0x848 = 1; + (pMVar4->_cutsceneManager)._isQueuedCleanup = shouldCleanup; + pMVar4->_cutsceneNextMenuState = (int)this_00; + (pMVar4->_cutsceneManager)._queuedCutsceneId = 0x14; break; case 0xb: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 0x16; @@ -417794,10 +418485,10 @@ LAB_006f97bc: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 2; *piVar1 = *piVar1 + 1; *(undefined1 *)&pMVar4->_persistentGameData = 1; - pMVar4->field_0x21618 = 1; - pMVar4->field_0x21620 = shouldCleanup; - *(Manager **)&pMVar4->field_0x21624 = this_00; - *(undefined4 *)&pMVar4->field_0x2161c = 0x16; + (pMVar4->_cutsceneManager).field_0x848 = 1; + (pMVar4->_cutsceneManager)._isQueuedCleanup = shouldCleanup; + pMVar4->_cutsceneNextMenuState = (int)this_00; + (pMVar4->_cutsceneManager)._queuedCutsceneId = 0x16; break; case 0xc: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 0x17; @@ -417806,10 +418497,10 @@ LAB_006f97bc: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 2; *piVar1 = *piVar1 + 1; *(undefined1 *)&pMVar4->_persistentGameData = 1; - pMVar4->field_0x21618 = 1; - pMVar4->field_0x21620 = shouldCleanup; - *(Manager **)&pMVar4->field_0x21624 = this_00; - *(undefined4 *)&pMVar4->field_0x2161c = 0x17; + (pMVar4->_cutsceneManager).field_0x848 = 1; + (pMVar4->_cutsceneManager)._isQueuedCleanup = shouldCleanup; + pMVar4->_cutsceneNextMenuState = (int)this_00; + (pMVar4->_cutsceneManager)._queuedCutsceneId = 0x17; break; case 0xd: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 0x18; @@ -417818,10 +418509,10 @@ LAB_006f97bc: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 2; *piVar1 = *piVar1 + 1; *(undefined1 *)&pMVar4->_persistentGameData = 1; - pMVar4->field_0x21618 = 1; - pMVar4->field_0x21620 = shouldCleanup; - *(Manager **)&pMVar4->field_0x21624 = this_00; - *(undefined4 *)&pMVar4->field_0x2161c = 0x18; + (pMVar4->_cutsceneManager).field_0x848 = 1; + (pMVar4->_cutsceneManager)._isQueuedCleanup = shouldCleanup; + pMVar4->_cutsceneNextMenuState = (int)this_00; + (pMVar4->_cutsceneManager)._queuedCutsceneId = 0x18; break; case 0xe: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 0x1a; @@ -417830,10 +418521,10 @@ LAB_006f97bc: piVar1 = (pMVar4->_persistentGameData)._cutsceneCounters + 2; *piVar1 = *piVar1 + 1; *(undefined1 *)&pMVar4->_persistentGameData = 1; - pMVar4->field_0x21618 = 1; - pMVar4->field_0x21620 = shouldCleanup; - *(Manager **)&pMVar4->field_0x21624 = this_00; - *(undefined4 *)&pMVar4->field_0x2161c = 0x1a; + (pMVar4->_cutsceneManager).field_0x848 = 1; + (pMVar4->_cutsceneManager)._isQueuedCleanup = shouldCleanup; + pMVar4->_cutsceneNextMenuState = (int)this_00; + (pMVar4->_cutsceneManager)._queuedCutsceneId = 0x1a; break; default: if (EndingID == 1) { @@ -417984,14 +418675,15 @@ void Game::Exit(byte ShouldSave) { int iVar1; - Game *pGVar2; - Manager *pMVar3; - int *piVar4; + void *pvVar2; + Game *pGVar3; + Manager *pMVar4; + int *piVar5; PersistentGameData *this; - int iVar5; + void *pvVar6; undefined3 in_stack_00000005; - pGVar2 = g_game; + pGVar3 = g_game; if (g_game->_isStarted == 0) { return; } @@ -418002,27 +418694,28 @@ void Game::Exit(byte ShouldSave) SFXManager::Stop(600); SFXManager::Stop(0x259); SFXManager::Stop(0x3f0); - if ((*(int *)&pGVar2->_itemOverlay != 0) && (*(int *)&pGVar2->_itemOverlay == 2)) { - ItemOverlay::Update(&pGVar2->_itemOverlay,1); + iVar1 = (pGVar3->_itemOverlay)._state; + if ((iVar1 != 0) && (iVar1 == 2)) { + ItemOverlay::Update(&pGVar3->_itemOverlay,1); } - pMVar3 = g_manager; + pMVar4 = g_manager; (g_manager->_musicManager)._pitch = 1.0; - (pMVar3->_musicManager)._targetPitch = 1.0; + (pMVar4->_musicManager)._targetPitch = 1.0; Music::SetPitchAll(); this = &g_manager->_persistentGameData; if ((*(char *)this != '\0') && ((g_manager->_persistentGameData)._isFileLoaded != 0)) { *(undefined1 *)this = 0; Manager::BackupSaveFile(); - pMVar3 = g_manager; - piVar4 = (int *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); - if ((*piVar4 == 0) || ((pMVar3->_optionsConfig)._enableSteamCloud == 0)) { + pMVar4 = g_manager; + piVar5 = (int *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); + if ((*piVar5 == 0) || ((pMVar4->_optionsConfig)._enableSteamCloud == 0)) { PersistentGameData::Save(); } else { PersistentGameData::SaveToSteamCloud(this); } } - if (pGVar2->field_0x2658b == '\0') { + if (pGVar3->field_0x2658b == '\0') { if (ShouldSave == 0) { DeleteSaveState(); } @@ -418030,25 +418723,25 @@ void Game::Exit(byte ShouldSave) Manager::save_game_state(); } } - pGVar2->_emoteMenuState = 0; - *(undefined4 *)&pGVar2->field_0x2593c = 0; + pGVar3->_emoteMenuState = 0; + *(undefined4 *)&pGVar3->field_0x2593c = 0; FUN_008d26c0(0,0); - *(undefined4 *)&pGVar2->field_0x25948 = 0; - *(undefined4 *)&pGVar2->field_0x2590c = 0; - *(undefined4 *)&pGVar2->_gameOver = 0; - ANM2::Reset((ANM2 *)&(pGVar2->_gameOver).field_0x8); - (pGVar2->_leaderboard)._state = 0; - iVar1 = *(int *)&pGVar2->field_0x25ec0; - iVar5 = *(int *)&pGVar2->field_0x25ebc; - if (iVar5 != iVar1) { + *(undefined4 *)&pGVar3->field_0x25948 = 0; + *(undefined4 *)&pGVar3->field_0x2590c = 0; + *(undefined4 *)&pGVar3->_gameOver = 0; + ANM2::Reset((ANM2 *)&(pGVar3->_gameOver).field_0x8); + (pGVar3->_leaderboard)._state = 0; + pvVar2 = (pGVar3->_onlineStatsScreen)._players._end; + pvVar6 = (pGVar3->_onlineStatsScreen)._players._begin; + if (pvVar6 != pvVar2) { do { std::string::_Tidy_deallocate(); - iVar5 = iVar5 + 0x38; - } while (iVar5 != iVar1); - iVar5 = *(int *)&pGVar2->field_0x25ebc; + pvVar6 = (void *)((int)pvVar6 + 0x38); + } while (pvVar6 != pvVar2); + pvVar6 = (pGVar3->_onlineStatsScreen)._players._begin; } - *(int *)&pGVar2->field_0x25ec0 = iVar5; - (pGVar2->_onlineStatsScreen)._isActive = 0; + (pGVar3->_onlineStatsScreen)._players._end = pvVar6; + (pGVar3->_onlineStatsScreen)._isActive = 0; reset_run_state(); /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"Setting PersistentGameData ReadOnly to %s\n","False"); @@ -418067,18 +418760,19 @@ void Manager::update_ingame_input(void) float fVar1; code *pcVar2; int *piVar3; - bool bVar4; - Game *pGVar5; + void *pvVar4; + bool bVar5; Game *pGVar6; - Manager *pMVar7; - char cVar8; + Game *pGVar7; + Manager *pMVar8; char cVar9; - undefined4 uVar10; - int iVar11; + char cVar10; + undefined4 uVar11; + int iVar12; byte *anim; - PersistentGameData *pPVar12; - NetplayManager *pNVar13; - int iVar14; + PersistentGameData *pPVar13; + NetplayManager *pNVar14; + void *pvVar15; float local_38; float local_34; float local_30; @@ -418086,60 +418780,60 @@ void Manager::update_ingame_input(void) int local_c; uint local_8; - pGVar5 = g_game; + pGVar6 = g_game; pcVar2 = *(code **)(PTR_vftable_00c57b18 + 0x44); - uVar10 = (**(code **)(PTR_vftable_00c57b18 + 0x14))(0xc); - cVar8 = (*pcVar2)(uVar10,0,0); - if (cVar8 != '\0') { - pGVar5->_triggerWindowResize = 1; + uVar11 = (**(code **)(PTR_vftable_00c57b18 + 0x14))(0xc); + cVar9 = (*pcVar2)(uVar11,0,0); + if (cVar9 != '\0') { + pGVar6->_triggerWindowResize = 1; } - piVar3 = (pGVar5->_playerManager)._playerList._begin; + piVar3 = (pGVar6->_playerManager)._playerList._begin; local_10 = (g_manager->_persistentGameData)._eventCounters[0x15]; - if ((int)(pGVar5->_playerManager)._playerList._end - (int)piVar3 >> 2 == 0) { + if ((int)(pGVar6->_playerManager)._playerList._end - (int)piVar3 >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } local_c = *(int *)(*piVar3 + 0x13c0); - cVar8 = is_any_player_restart_held(); - pNVar13 = &g_manager->_netplayManager; - if ((*pNVar13 != *(NetplayManager *)(g_manager + 1)) && - (1 < (uint)((int)*(NetplayManager *)(g_manager + 1) - (int)*pNVar13 >> 2))) { - cVar8 = '\x01'; + cVar9 = is_any_player_restart_held(); + pNVar14 = &g_manager->_netplayManager; + if ((*pNVar14 != *(NetplayManager *)(g_manager + 1)) && + (1 < (uint)((int)*(NetplayManager *)(g_manager + 1) - (int)*pNVar14 >> 2))) { + cVar9 = '\x01'; local_8 = 0; do { - if ((uint)((int)pNVar13[1] - (int)*pNVar13 >> 2) <= local_8) { + if ((uint)((int)pNVar14[1] - (int)*pNVar14 >> 2) <= local_8) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Out of bounds\n"); } - piVar3 = *(int **)((int)*pNVar13 + local_8 * 4); - if ((piVar3 == (int *)0x0) || (iVar11 = FUN_004253d0(), iVar11 == 0)) { - cVar8 = '\0'; + piVar3 = *(int **)((int)*pNVar14 + local_8 * 4); + if ((piVar3 == (int *)0x0) || (iVar12 = FUN_004253d0(), iVar12 == 0)) { + cVar9 = '\0'; } else { - cVar9 = (**(code **)(*piVar3 + 0x30))(0x12); - iVar11 = FUN_004253d0(); - if (cVar9 == '\0') { - cVar8 = '\0'; - if ((*(char *)(iVar11 + 0x26d8) != '\0') && (*(int *)(iVar11 + 0x26dc) == 0x14)) { - *(undefined1 *)(iVar11 + 0x26d8) = 0; - *(undefined4 *)(iVar11 + 0x26dc) = 0x3c; - *(undefined4 *)(iVar11 + 0x26e0) = 0; - *(undefined4 *)(iVar11 + 0x26e4) = 0; + cVar10 = (**(code **)(*piVar3 + 0x30))(0x12); + iVar12 = FUN_004253d0(); + if (cVar10 == '\0') { + cVar9 = '\0'; + if ((*(char *)(iVar12 + 0x26d8) != '\0') && (*(int *)(iVar12 + 0x26dc) == 0x14)) { + *(undefined1 *)(iVar12 + 0x26d8) = 0; + *(undefined4 *)(iVar12 + 0x26dc) = 0x3c; + *(undefined4 *)(iVar12 + 0x26e0) = 0; + *(undefined4 *)(iVar12 + 0x26e4) = 0; } } else { - Player_stats_add(8,iVar11); - *(undefined1 *)(iVar11 + 0x26d8) = 1; - *(undefined4 *)(iVar11 + 0x26e4) = 0; - if (*(int *)(iVar11 + 0x26dc) != 0x14) { - anim = (byte *)(iVar11 + 0x2af4); - *(undefined4 *)(iVar11 + 0x26dc) = 0x14; - *(undefined4 *)(iVar11 + 0x26e0) = 0; - if (0xf < *(uint *)(iVar11 + 0x2b08)) { + Player_stats_add(8,iVar12); + *(undefined1 *)(iVar12 + 0x26d8) = 1; + *(undefined4 *)(iVar12 + 0x26e4) = 0; + if (*(int *)(iVar12 + 0x26dc) != 0x14) { + anim = (byte *)(iVar12 + 0x2af4); + *(undefined4 *)(iVar12 + 0x26dc) = 0x14; + *(undefined4 *)(iVar12 + 0x26e0) = 0; + if (0xf < *(uint *)(iVar12 + 0x2b08)) { anim = *(byte **)anim; } - ANM2::Play((ANM2 *)(iVar11 + 0x2800),anim,0); - if (*(char *)(iVar11 + 0x2909) != '\0') { + ANM2::Play((ANM2 *)(iVar12 + 0x2800),anim,0); + if (*(char *)(iVar12 + 0x2909) != '\0') { AnimationState::Update(); AnimationState::Update(); } @@ -418147,44 +418841,44 @@ void Manager::update_ingame_input(void) } } local_8 = local_8 + 1; - pNVar13 = &g_manager->_netplayManager; - } while (local_8 < (uint)(*(int *)(g_manager + 1) - (int)*pNVar13 >> 2)); + pNVar14 = &g_manager->_netplayManager; + } while (local_8 < (uint)(*(int *)(g_manager + 1) - (int)*pNVar14 >> 2)); } - if (cVar8 == '\0') { - pGVar5->field_0x265c4 = 0; + if (cVar9 == '\0') { + pGVar6->_restartHoldFrames = 0; } - else if (pGVar5->_fadeOutTarget != 6) { - pGVar5->field_0x265c4 = pGVar5->field_0x265c4 + '\x01'; + else if (pGVar6->_fadeOutTarget != 6) { + pGVar6->_restartHoldFrames = pGVar6->_restartHoldFrames + 1; } if ((((local_c == 9) || (local_c == 0x1e)) && (local_10 == 0)) || - (((pGVar5->_dailyChallenge)._id != 0 || ((byte)pGVar5->field_0x265c4 < 0x10)))) { - bVar4 = false; + (((pGVar6->_dailyChallenge)._id != 0 || (pGVar6->_restartHoldFrames < 0x10)))) { + bVar5 = false; } else { - bVar4 = true; + bVar5 = true; } - if (cVar8 == '\0') { - if (pGVar5->_fadeOutTarget == 6) { - pGVar5->_fadeSpeed = 0.13333334; - pGVar5->_fadeOutTarget = 0; + if (cVar9 == '\0') { + if (pGVar6->_fadeOutTarget == 6) { + pGVar6->_fadeSpeed = 0.13333334; + pGVar6->_fadeOutTarget = 0; } } - else if ((bVar4) && (pGVar5->_fadeOutTarget != 6)) { + else if ((bVar5) && (pGVar6->_fadeOutTarget != 6)) { KColor::SetFromARGB(0xff000000); - fVar1 = (pGVar5->_fadeOutColor)._alpha; - pGVar5->_fadeSpeed = 0.033333335; - pGVar5->_fadeOutTarget = 6; - (pGVar5->_fadeOutColor)._red = local_38; - (pGVar5->_fadeOutColor)._green = local_34; - (pGVar5->_fadeOutColor)._blue = local_30; - (pGVar5->_fadeOutColor)._alpha = fVar1; - (pGVar5->_fadeOutColor)._unk = 0; - fVar1 = (pGVar5->_fadeOutColor)._alpha; - pGVar5->field_0x265c4 = 0; - (pGVar5->_fadeOutColor)._alpha = fVar1 + 0.033333335; + fVar1 = (pGVar6->_fadeOutColor)._alpha; + pGVar6->_fadeSpeed = 0.033333335; + pGVar6->_fadeOutTarget = 6; + (pGVar6->_fadeOutColor)._red = local_38; + (pGVar6->_fadeOutColor)._green = local_34; + (pGVar6->_fadeOutColor)._blue = local_30; + (pGVar6->_fadeOutColor)._alpha = fVar1; + (pGVar6->_fadeOutColor)._unk = 0; + fVar1 = (pGVar6->_fadeOutColor)._alpha; + pGVar6->_restartHoldFrames = 0; + (pGVar6->_fadeOutColor)._alpha = fVar1 + 0.033333335; } Console::Update(); - if (pGVar5->_console == (Console)0x0) { + if (pGVar6->_console == (Console)0x0) { if (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) goto LAB_006fa894; } else { @@ -418198,95 +418892,95 @@ void Manager::update_ingame_input(void) LAB_006fa894: EmoteWheel::Update(); } - if ((pGVar5->_onlineStatsScreen)._isActive != 0) { - uVar10 = 0xffffffff; + if ((pGVar6->_onlineStatsScreen)._isActive != 0) { + uVar11 = 0xffffffff; if (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) { - iVar11 = FUN_0090b070(); - if (*(int *)(iVar11 + 0x378) == 0) { - uVar10 = 0xdeadbeef; + iVar12 = FUN_0090b070(); + if (*(int *)(iVar12 + 0x378) == 0) { + uVar11 = 0xdeadbeef; } else { - uVar10 = *(undefined4 *)(*(int *)(iVar11 + 0x378) + 0xc); + uVar11 = *(undefined4 *)(*(int *)(iVar12 + 0x378) + 0xc); } } if ((g_game == (Game *)0x0) || ((g_game->_dailyChallenge)._id == 0)) { local_10 = 0xe; - cVar8 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(uVar10,FUN_00a209e0,&local_10,0,0); - if (cVar8 == '\0') { + cVar9 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(uVar11,FUN_00a209e0,&local_10,0,0); + if (cVar9 == '\0') { local_c = 0xf; - cVar8 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(uVar10,FUN_00a209e0,&local_c,0,0); - if (cVar8 == '\0') goto LAB_006fa9cc; + cVar9 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(uVar11,FUN_00a209e0,&local_c,0,0); + if (cVar9 == '\0') goto LAB_006fa9cc; } online_vote_send(); } else { local_10 = 0xe; - cVar8 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(uVar10,FUN_00a209e0,&local_10,0,0); - if (cVar8 != '\0') { - if ((pGVar5->_onlineStatsScreen)._isActive != 0) { - iVar11 = *(int *)&pGVar5->field_0x25ec0; - iVar14 = *(int *)&pGVar5->field_0x25ebc; - if (iVar14 != iVar11) { + cVar9 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(uVar11,FUN_00a209e0,&local_10,0,0); + if (cVar9 != '\0') { + if ((pGVar6->_onlineStatsScreen)._isActive != 0) { + pvVar4 = (pGVar6->_onlineStatsScreen)._players._end; + pvVar15 = (pGVar6->_onlineStatsScreen)._players._begin; + if (pvVar15 != pvVar4) { do { std::string::_Tidy_deallocate(); - iVar14 = iVar14 + 0x38; - } while (iVar14 != iVar11); - iVar14 = *(int *)&pGVar5->field_0x25ebc; + pvVar15 = (void *)((int)pvVar15 + 0x38); + } while (pvVar15 != pvVar4); + pvVar15 = (pGVar6->_onlineStatsScreen)._players._begin; } - *(int *)&pGVar5->field_0x25ec0 = iVar14; - (pGVar5->_onlineStatsScreen)._isActive = 0; + (pGVar6->_onlineStatsScreen)._players._end = pvVar15; + (pGVar6->_onlineStatsScreen)._isActive = 0; } - FUN_006f9f20(*(undefined4 *)&pGVar5->field_0x25ec8); + FUN_006f9f20(*(undefined4 *)&pGVar6->field_0x25ec8); } } LAB_006fa9cc: - pMVar7 = g_manager; + pMVar8 = g_manager; if ((g_game->_dailyChallenge)._id == 0) { - iVar11 = FUN_0091cb10(); - pMVar7->field_0x4aba0 = iVar11 == 0; + iVar12 = FUN_0091cb10(); + (pMVar8->_popupButtons)._buttons[1]._isVisible = iVar12 == 0; } else { - *(undefined4 *)&g_manager->field_0x4aa68 = 0x42c00000; - *(undefined4 *)&pMVar7->field_0x4aa64 = 0x42c00000; - *(undefined4 *)&pMVar7->field_0x4ab9c = 6; - pMVar7->field_0x4aba0 = 1; + (g_manager->_popupButtons)._buttons[0]._targetSlideOffset = 96.0; + (pMVar8->_popupButtons)._buttons[0]._slideOffset = 96.0; + (pMVar8->_popupButtons)._buttons[1]._textFrame = 6; + (pMVar8->_popupButtons)._buttons[1]._isVisible = 1; } - if ((pGVar5->_onlineStatsScreen)._isActive != 0) { + if ((pGVar6->_onlineStatsScreen)._isActive != 0) { return; } } - cVar8 = FUN_009c3990(); - if (cVar8 == '\0') { - if (*(int *)&pGVar5->_gameOver == 0) goto LAB_006fac27; - uVar10 = 0xffffffff; + cVar9 = FUN_009c3990(); + if (cVar9 == '\0') { + if (*(int *)&pGVar6->_gameOver == 0) goto LAB_006fac27; + uVar11 = 0xffffffff; if ((g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) && - (iVar11 = FUN_0090b070(), iVar11 != 0)) { - if (*(int *)(iVar11 + 0x378) == 0) { - uVar10 = 0xdeadbeef; + (iVar12 = FUN_0090b070(), iVar12 != 0)) { + if (*(int *)(iVar12 + 0x378) == 0) { + uVar11 = 0xdeadbeef; } else { - uVar10 = *(undefined4 *)(*(int *)(iVar11 + 0x378) + 0xc); + uVar11 = *(undefined4 *)(*(int *)(iVar12 + 0x378) + 0xc); } } - cVar8 = input_is_action_triggered(0xe,uVar10,0,0); - if (cVar8 == '\0') { - cVar8 = input_is_action_triggered(0xf,uVar10,0,0); - pMVar7 = g_manager; - if (cVar8 != '\0') { + cVar9 = input_is_action_triggered(0xe,uVar11,0,0); + if (cVar9 == '\0') { + cVar9 = input_is_action_triggered(0xf,uVar11,0,0); + pMVar8 = g_manager; + if (cVar9 != '\0') { if (g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) { KColor::SetFromARGB(0xff000000); - pGVar6 = g_game; + pGVar7 = g_game; fVar1 = (g_game->_fadeOutColor)._alpha; g_game->_fadeSpeed = 0.08; - pGVar6->_fadeOutTarget = 2; - (pGVar6->_fadeOutColor)._red = local_38; - (pGVar6->_fadeOutColor)._green = local_34; - (pGVar6->_fadeOutColor)._blue = local_30; - (pGVar6->_fadeOutColor)._alpha = fVar1; - (pGVar6->_fadeOutColor)._unk = 0; - (pGVar6->_fadeOutColor)._alpha = (pGVar6->_fadeOutColor)._alpha + 0.08; - *(undefined4 *)&pMVar7->field_0x4aa68 = 0x42c00000; - *(undefined4 *)&pMVar7->field_0x4ab98 = 0x42c00000; + pGVar7->_fadeOutTarget = 2; + (pGVar7->_fadeOutColor)._red = local_38; + (pGVar7->_fadeOutColor)._green = local_34; + (pGVar7->_fadeOutColor)._blue = local_30; + (pGVar7->_fadeOutColor)._alpha = fVar1; + (pGVar7->_fadeOutColor)._unk = 0; + (pGVar7->_fadeOutColor)._alpha = (pGVar7->_fadeOutColor)._alpha + 0.08; + (pMVar8->_popupButtons)._buttons[0]._targetSlideOffset = 96.0; + (pMVar8->_popupButtons)._buttons[1]._targetSlideOffset = 96.0; } else { online_vote_send(); @@ -418296,71 +418990,71 @@ LAB_006fa9cc: else if (g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) { input_poll_active_device(); KColor::SetFromARGB(0xff000000); - pGVar6 = g_game; + pGVar7 = g_game; fVar1 = (g_game->_fadeOutColor)._alpha; g_game->_fadeSpeed = 0.08; - pGVar6->_fadeOutTarget = 5; - (pGVar6->_fadeOutColor)._red = local_38; - (pGVar6->_fadeOutColor)._green = local_34; - (pGVar6->_fadeOutColor)._blue = local_30; - (pGVar6->_fadeOutColor)._alpha = fVar1; - (pGVar6->_fadeOutColor)._unk = 0; - (pGVar6->_fadeOutColor)._alpha = (pGVar6->_fadeOutColor)._alpha + 0.08; - pMVar7 = g_manager; - *(undefined4 *)&g_manager->field_0x4aa68 = 0x42c00000; - *(undefined4 *)&pMVar7->field_0x4ab98 = 0x42c00000; + pGVar7->_fadeOutTarget = 5; + (pGVar7->_fadeOutColor)._red = local_38; + (pGVar7->_fadeOutColor)._green = local_34; + (pGVar7->_fadeOutColor)._blue = local_30; + (pGVar7->_fadeOutColor)._alpha = fVar1; + (pGVar7->_fadeOutColor)._unk = 0; + (pGVar7->_fadeOutColor)._alpha = (pGVar7->_fadeOutColor)._alpha + 0.08; + pMVar8 = g_manager; + (g_manager->_popupButtons)._buttons[0]._targetSlideOffset = 96.0; + (pMVar8->_popupButtons)._buttons[1]._targetSlideOffset = 96.0; } else { online_vote_send(); } } - if (*(int *)&pGVar5->_gameOver != 0) { + if (*(int *)&pGVar6->_gameOver != 0) { return; } LAB_006fac27: Leaderboard::update_input(); - if ((pGVar5->_leaderboard)._state == 0) { - cVar8 = input_is_action_triggered(0xe,0xffffffff,0,0); - iVar11 = *(int *)&pGVar5->_roomTransition; - if (iVar11 == 2) { - if ((pGVar5->_roomTransition)._bossIntroBossId == 0) { + if ((pGVar6->_leaderboard)._state == 0) { + cVar9 = input_is_action_triggered(0xe,0xffffffff,0,0); + iVar12 = *(int *)&pGVar6->_roomTransition; + if (iVar12 == 2) { + if ((pGVar6->_roomTransition)._bossIntroBossId == 0) { return; } - if (cVar8 == '\0') { + if (cVar9 == '\0') { return; } - if (*(int *)&(pGVar5->_roomTransition).field_0x6c == 0) { + if ((pGVar6->_roomTransition)._versusScreenSprite._animState._animData == (void *)0x0) { return; } - (pGVar5->_roomTransition).field_0x7c = 0; + (pGVar6->_roomTransition)._versusScreenSprite._animState._isPlaying = 0; } - if (iVar11 == 0) { - if ((*(int *)&(pGVar5->_genericPrompt).field_0x34 != 0) && - ((pGVar5->_genericPrompt).field_0x44 != '\0')) { + if (iVar12 == 0) { + if (((pGVar6->_genericPrompt)._sprite._animState._animData != (void *)0x0) && + ((pGVar6->_genericPrompt)._sprite._animState._isPlaying != 0)) { GenericPrompt::handle_input(); return; } - if (((((pGVar5->_fadeInColor)._alpha <= 0.0) && (*(int *)&pGVar5->_stageTransition == 0)) && - (*(int *)&pGVar5->_gameOver == 0)) && - (((pGVar5->_onlineStatsScreen)._isActive == 0 && ((pGVar5->_leaderboard)._state == 0)))) { + if (((((pGVar6->_fadeInColor)._alpha <= 0.0) && (*(int *)&pGVar6->_stageTransition == 0)) && + (*(int *)&pGVar6->_gameOver == 0)) && + (((pGVar6->_onlineStatsScreen)._isActive == 0 && ((pGVar6->_leaderboard)._state == 0)))) { PauseScreen::Update(); - cVar8 = is_single_player(); - if (cVar8 != '\0') { + cVar9 = is_single_player(); + if (cVar9 != '\0') { return; } coop_join_menu_update(); } - if (*(int *)&pGVar5->_pauseScreen == 0) { - pPVar12 = (PersistentGameData *)(g_manager[1]._persistentGameData._achievements + 0xc); + if ((pGVar6->_pauseScreen)._state == 0) { + pPVar13 = (PersistentGameData *)(g_manager[1]._persistentGameData._achievements + 0xc); if (g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) { - pPVar12 = &g_manager->_persistentGameData; + pPVar13 = &g_manager->_persistentGameData; } - if ((pPVar12->_achievements[0x281] != 0) || + if ((pPVar13->_achievements[0x281] != 0) || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))) { local_10 = 0x1f; - cVar8 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a209e0,&local_10,0,0); - if (cVar8 != '\0') { + cVar9 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a209e0,&local_10,0,0); + if (cVar9 != '\0') { (g_manager->_optionsConfig)._itemInfoDisplayEnabled = (g_manager->_optionsConfig)._itemInfoDisplayEnabled == 0; } @@ -418452,12 +419146,12 @@ void __thiscall Game::Update(Game *this) if (this->_shouldLerpColorModState != 0) { SStack_cc._seedEffectsCount = 0x6faea6; ColorModState::move_toward(); - if (((((*extraout_ECX == (float)this->_targetColorModifier) && - (extraout_ECX[1] == *(float *)&this->field_0x676d4)) && - (extraout_ECX[2] == *(float *)&this->field_0x676d8)) && - ((extraout_ECX[3] == *(float *)&this->field_0x676dc && - (extraout_ECX[4] == *(float *)&this->field_0x676e0)))) && - (extraout_ECX[5] == *(float *)&this->field_0x676e4)) { + if (((((*extraout_ECX == (this->_targetColorModifier)._red) && + (extraout_ECX[1] == (this->_targetColorModifier)._green)) && + (extraout_ECX[2] == (this->_targetColorModifier)._blue)) && + ((extraout_ECX[3] == (this->_targetColorModifier)._amount && + (extraout_ECX[4] == (this->_targetColorModifier)._brightness)))) && + (extraout_ECX[5] == (this->_targetColorModifier)._contrast)) { this->_shouldLerpColorModState = 0; } } @@ -418615,7 +419309,7 @@ LAB_006fb28b: } break; case 10: - FUN_00429570(); + DeathmatchManager::enter_arena(); break; case 0xb: KColor::SetFromARGB(); @@ -418655,7 +419349,7 @@ LAB_006fb3bd: if (local_24 != g_onlineVoteMap) { pPVar18 = (PauseScreen *)0x0; do { - pPVar13 = (PauseScreen *)&pPVar18->field_0x1; + pPVar13 = (PauseScreen *)((int)&pPVar18->_state + 1); if (*(int *)&local_24->field_0x18 != 0) { pPVar13 = pPVar18; } @@ -418668,7 +419362,7 @@ LAB_006fb3bd: this = local_18; local_24 = pPVar13; } - g_manager->field_0x4aba0 = pPVar13 == (PauseScreen *)0x0; + (g_manager->_popupButtons)._buttons[1]._isVisible = pPVar13 == (PauseScreen *)0x0; } netplay_lobby_menu_update(); if (this->_revivePlayerMenu == 0) { @@ -418705,7 +419399,7 @@ LAB_006fb3bd: ExceptionList = local_10; return; } - if (*(int *)&this->_itemOverlay == 0) { + if ((this->_itemOverlay)._state == 0) { cVar7 = is_screen_transition_active(); if (cVar7 != '\0') { GenericPrompt::Update(this_01,0); @@ -418737,14 +419431,14 @@ LAB_006fb3bd: } else { local_24 = &this->_pauseScreen; - if (*(int *)&this->_pauseScreen != 0) { + if ((this->_pauseScreen)._state != 0) { if (g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) goto LAB_006fb6ae; this_03 = &this->_hud; } ItemOverlay::Update(&this->_itemOverlay,0); - if (*(int *)&this->_itemOverlay == 2) { + if ((this->_itemOverlay)._state == 2) { HUD::PostUpdate(this_03); - if (*(int *)local_24 == 0) { + if (local_24->_state == 0) { ExceptionList = local_10; return; } @@ -418804,11 +419498,11 @@ LAB_006fb811: } if ((((pMVar12->_isWindowFocused == 0) && ((pMVar12->_optionsConfig)._enablePauseOnFocusLost != 0) ) && (pMVar12->_netplayManager == *(NetplayManager *)(pMVar12 + 1))) && - (*(int *)&this->_pauseScreen == 0)) { + ((this->_pauseScreen)._state == 0)) { PauseScreen::Show(&this->_pauseScreen); pMVar12 = g_manager; } - if (*(int *)&this->_pauseScreen != 0) { + if ((this->_pauseScreen)._state != 0) { netplay_lobby_menu_update(); pvVar2 = this->_room; iVar8 = *(int *)((int)pvVar2 + 0x12f8); @@ -418860,7 +419554,7 @@ LAB_006fb811: SStack_cc._seedEffects = (void *)0xffffffff; SStack_cc._playerInitSeed = *(int *)&pGVar6->field_0x18900; pGVar6->_leaveDoor = -1; - SStack_cc._76_4_ = 0x6fb9f7; + SStack_cc._stageSeeds[0xd] = 0x6fb9f7; StartRoomTransition(); } } @@ -419061,7 +419755,7 @@ void __thiscall Game::Render(Game *this) local_88 = this; ppuVar6 = local_78 + 0x1d; if (this->_triggerWindowResize != 0) { - recreate_render_targets(local_24); + recreate_render_targets(this,local_24); this->_triggerWindowResize = 0; ppuVar6 = (undefined4 **)puStack_20; } @@ -419204,7 +419898,7 @@ LAB_006fbfa2: } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; if ((*(int *)&this->_roomTransition == 2) || (*(int *)&this->_roomTransition == 3)) { Entity_Player::TriggerRoomExit((Entity_Player *)&this->_roomTransition); } @@ -419252,11 +419946,11 @@ LAB_006fbfa2: g_graphicsManager_blendMode[1] = 1; g_graphicsManager_blendMode[2] = 0; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 0; + g_graphicsManager_blendMode[4] = 0; g_currentShader = puVar15; - Shader::set_uniform("Amount",8,&this->field_0x676c4,puVar15); - Shader::set_uniform("Brightness",8,&this->field_0x676c8,extraout_ECX_00); - Shader::set_uniform("Contrast",8,&this->field_0x676cc,extraout_ECX_01); + Shader::set_uniform("Amount",8,&(this->_currentColorModifier)._amount,puVar15); + Shader::set_uniform("Brightness",8,&(this->_currentColorModifier)._brightness,extraout_ECX_00); + Shader::set_uniform("Contrast",8,&(this->_currentColorModifier)._contrast,extraout_ECX_01); local_9c = 0; local_ac = 0; local_a0 = 0; @@ -419268,11 +419962,11 @@ LAB_006fbfa2: local_8c = 0; KColor::SetFromARGB(0xffffffff); render_quad_set_uniform_color(g_screenHeight,extraout_ECX_02); - in_XMM0_Da = (undefined4 *)this->_currentColorModifier; - local_48._green = *(float *)&this->field_0x676bc; + in_XMM0_Da = (undefined4 *)(this->_currentColorModifier)._red; + local_48._green = (this->_currentColorModifier)._green; local_48._unk = 0; local_48._alpha = 1.0; - local_48._blue = *(float *)&this->field_0x676c0; + local_48._blue = (this->_currentColorModifier)._blue; local_48._red = (float)in_XMM0_Da; (**(code **)(*DAT_00c797ac + 0x14))(&local_ac,local_220,&local_48); g_graphicsManager_blendMode[1] = 1; @@ -419282,7 +419976,7 @@ LAB_006fbfa2: } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; shader_cache_find(6); } DebugRenderer::Render(); @@ -419295,8 +419989,8 @@ LAB_006fbfa2: ItemOverlay::Render(&this->_itemOverlay); FUN_00421400(); FUN_009c3890(1); - if (((*(int *)&(this->_genericPrompt).field_0x34 != 0) && - ((this->_genericPrompt).field_0x44 != '\0')) && + if ((((this->_genericPrompt)._sprite._animState._animData != (void *)0x0) && + ((this->_genericPrompt)._sprite._animState._isPlaying != 0)) && (GenericPrompt::Render(&this->_genericPrompt), (this->_genericPrompt)._isOnlineVote != 0)) { local_84.y = g_screenHeight - 55.0; local_84.x = g_screenWidth * 0.5 - 32.0; @@ -419323,7 +420017,7 @@ LAB_006fbfa2: local_14 = (undefined4 *)0xffffffff; } } - if (*(int *)&this->_pauseScreen != 0) { + if ((this->_pauseScreen)._state != 0) { PauseScreen::Render(&this->_pauseScreen); } EmoteWheel::Render(&this->field_0x25108); @@ -419621,7 +420315,7 @@ LAB_006fbfa2: render_debug_player_info(&local_2c); } if ((g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) && - (*(int *)&g_manager[1].field_0x11c4 != 0)) { + (*(int *)&g_manager[1]._gamestate.field_0x220 != 0)) { this_00 = &g_manager->_font6_PFTempestaSevenCondensed; fVar17 = ((float)(g_manager->_framecount % 0x1e) * 3.1415927) / 15.0; sin(); @@ -419653,11 +420347,12 @@ LAB_006fbfa2: byte __thiscall Game::IsPaused(Game *this) { - Manager *pMVar1; - char cVar2; + int iVar1; + Manager *pMVar2; + char cVar3; int extraout_EDX; - pMVar1 = g_manager; + pMVar2 = g_manager; if (this->_console != (Console)0x0) { if (g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) { return 1; @@ -419670,9 +420365,9 @@ byte __thiscall Game::IsPaused(Game *this) if ((((((this->_freezeFrames < 1) && (*(int *)&this->_gameOver == 0)) && ((this->_leaderboard)._state == 0)) && ((*(int *)&this->_stageTransition == 0 && (*(int *)&this->_roomTransition == 0)))) && - ((*(int *)&this->_itemOverlay == 0 || (*(int *)&this->_itemOverlay != 2)))) && - ((((cVar2 = is_single_player(), cVar2 == '\0' && (pMVar1->_state == 2)) && - (cVar2 = is_screen_transition_active(), cVar2 == '\0')) && + ((iVar1 = (this->_itemOverlay)._state, iVar1 == 0 || (iVar1 != 2)))) && + ((((cVar3 = is_single_player(), cVar3 == '\0' && (pMVar2->_state == 2)) && + (cVar3 = is_screen_transition_active(), cVar3 == '\0')) && (*(char *)(extraout_EDX + 0x25954) == '\0')))) { return 0; } @@ -420142,9 +420837,9 @@ void Game::ChangeRoom(int param_1,int param_2) pvVar1 = g_game->_room; Random(); iVar2 = ItemPool::get_pool_from_room_entities(*(undefined4 *)((int)pvVar1 + 0x1bb0)); - *(int *)&in_ECX[1]._roomList[0x3a].field_0x2c = iVar2; + in_ECX[1]._roomList[0x3a]._doors[4] = iVar2; if (iVar2 == -1) { - *(undefined4 *)&in_ECX[1]._roomList[0x3a].field_0x2c = 0; + in_ECX[1]._roomList[0x3a]._doors[4] = 0; } return; } @@ -420218,10 +420913,7 @@ Game::SpawnEx(Game *this,Entity *param_2,undefined4 param_3,float *param_4,float uint local_50; void **ppvStack_4c; Game *local_48; - undefined1 auStack_40 [28]; - float fStack_24; - uint uStack_20; - void *pvStack_1c; + EntityRef EStack_40; EVar8 = param_6; local_54 = param_2; @@ -420266,18 +420958,18 @@ Game::SpawnEx(Game *this,Entity *param_2,undefined4 param_3,float *param_4,float EVar8 = param_6; local_50 = (uint)(uVar22 >> 0x20); lVar6 = (uVar22 & 0xffffffff) * 0x431bde82; - auStack_40._4_4_ = SUB84((ulonglong)lVar6 >> 0x20,0); + EStack_40._variant = (int)((ulonglong)lVar6 >> 0x20); lVar7 = (ulonglong)local_50 * 0xd7b634db + ((uVar22 & 0xffffffff) * 0xd7b634db >> 0x20); uVar14 = (uint)((ulonglong)lVar7 >> 0x20); lVar6 = (ulonglong)local_50 * 0x431bde82 + (ulonglong) - CONCAT14(CARRY4(uVar14,(uint)(&((EntityPtr *)auStack_40._4_4_)->field_0x0 + + CONCAT14(CARRY4(uVar14,(uint)(&((EntityPtr *)EStack_40._variant)->field_0x0 + CARRY4((uint)lVar6,(uint)lVar7))), - &((EntityPtr *)auStack_40._4_4_)->field_0x0 + CARRY4((uint)lVar6,(uint)lVar7) + + &((EntityPtr *)EStack_40._variant)->field_0x0 + CARRY4((uint)lVar6,(uint)lVar7) + uVar14); - auStack_40._8_4_ = SUB84((ulonglong)lVar6 >> 0x20,0); - local_58 = (uint)lVar6 >> 0x12 | auStack_40._8_4_ * 0x4000; - auStack_40._8_4_ = (uint)auStack_40._8_4_ >> 0x12; + EStack_40._spawnerType = (int)((ulonglong)lVar6 >> 0x20); + local_58 = (uint)lVar6 >> 0x12 | EStack_40._spawnerType * 0x4000; + EStack_40._spawnerType = (uint)EStack_40._spawnerType >> 0x12; if (param_6 == (EntityPtr)0x0) { local_54->_spawnerType = 0; iVar11 = 0; @@ -420289,8 +420981,8 @@ Game::SpawnEx(Game *this,Entity *param_2,undefined4 param_3,float *param_4,float pEVar1 = &local_54->_spawnerEntity; local_54->_spawnerVariant = iVar11; if (*pEVar1 != (EntityPtr)0x0) { - auStack_40._4_4_ = pEVar1; - std::multiset::erase(auStack_40 + 4); + EStack_40._variant = (int)pEVar1; + std::multiset::erase(&EStack_40._variant); } *pEVar1 = EVar8; if (EVar8 != (EntityPtr)0x0) { @@ -420325,46 +421017,46 @@ Game::SpawnEx(Game *this,Entity *param_2,undefined4 param_3,float *param_4,float *(undefined4 *)&this_00->_flags = uVar3; *(uint *)((int)&this_00->_flags + 4) = uVar14 | 0x10000020; } - pvStack_1c = *(void **)((int)EVar8 + 0x264); - if (pvStack_1c == (void *)0x0) { - auStack_40._0_4_ = 0; - auStack_40._4_4_ = (EntityPtr *)0x0; - auStack_40._8_4_ = 0; - auStack_40._12_4_ = 0; - auStack_40._16_4_ = g_vectorZero.x; - auStack_40._20_4_ = g_vectorZero.y; - auStack_40._24_4_ = g_vectorZero.x; - fStack_24 = g_vectorZero.y; + EStack_40._entity = *(void **)((int)EVar8 + 0x264); + if (EStack_40._entity == (void *)0x0) { + EStack_40._type = 0; + EStack_40._variant = 0; + EStack_40._spawnerType = 0; + EStack_40._spawnerVariant = 0; + EStack_40._position.x = g_vectorZero.x; + EStack_40._position.y = g_vectorZero.y; + EStack_40._velocity.x = g_vectorZero.x; + EStack_40._velocity.y = g_vectorZero.y; LAB_006fe765: - uStack_20 = 0; - if (pvStack_1c != (void *)0x0) goto LAB_006fe771; - uStack_20 = 0; + EStack_40._flags = 0; + if (EStack_40._entity != (void *)0x0) goto LAB_006fe771; + EStack_40._flags = 0; LAB_006fe793: local_60 = 0; - if (pvStack_1c != (void *)0x0) goto LAB_006fe79f; + if (EStack_40._entity != (void *)0x0) goto LAB_006fe79f; LAB_006fe7b8: uVar14 = 0; } else { - auStack_40._0_4_ = *(int *)((int)pvStack_1c + 0x28); - auStack_40._16_4_ = *(float *)((int)pvStack_1c + 0x33c); - auStack_40._20_4_ = *(float *)((int)pvStack_1c + 0x340); - auStack_40._4_4_ = *(int *)((int)pvStack_1c + 0x2c); - auStack_40._8_4_ = *(uint *)((int)pvStack_1c + 0x34); - auStack_40._12_4_ = *(int *)((int)pvStack_1c + 0x38); - auStack_40._24_4_ = *(float *)((int)pvStack_1c + 0x360); - fStack_24 = *(float *)((int)pvStack_1c + 0x364); - if ((*(uint *)((int)pvStack_1c + 0x168) & 0x100) == 0) goto LAB_006fe765; - uStack_20 = 1; + EStack_40._type = *(int *)((int)EStack_40._entity + 0x28); + EStack_40._position.x = *(float *)((int)EStack_40._entity + 0x33c); + EStack_40._position.y = *(float *)((int)EStack_40._entity + 0x340); + EStack_40._variant = *(int *)((int)EStack_40._entity + 0x2c); + EStack_40._spawnerType = *(uint *)((int)EStack_40._entity + 0x34); + EStack_40._spawnerVariant = *(int *)((int)EStack_40._entity + 0x38); + EStack_40._velocity.x = *(float *)((int)EStack_40._entity + 0x360); + EStack_40._velocity.y = *(float *)((int)EStack_40._entity + 0x364); + if ((*(uint *)((int)EStack_40._entity + 0x168) & 0x100) == 0) goto LAB_006fe765; + EStack_40._flags = 1; LAB_006fe771: - if ((*(uint *)((int)pvStack_1c + 0x168) & 0x20000000) == 0) goto LAB_006fe793; + if ((*(uint *)((int)EStack_40._entity + 0x168) & 0x20000000) == 0) goto LAB_006fe793; local_60 = 2; LAB_006fe79f: - if ((*(uint *)((int)pvStack_1c + 0x16c) & 0x400000) == 0) goto LAB_006fe7b8; + if ((*(uint *)((int)EStack_40._entity + 0x16c) & 0x400000) == 0) goto LAB_006fe7b8; uVar14 = 4; } - uStack_20 = uVar14 | local_60 | uStack_20; - Entity::AddCharmed(this_00,(EntityRef *)auStack_40,-1,0,0); + EStack_40._flags = uVar14 | local_60 | EStack_40._flags; + Entity::AddCharmed(this_00,&EStack_40,-1,0,0); if (unaff_ESI - 10U < 0x3de) { ANM2::LoadDeliriumForm(uVar18,1); } @@ -420379,31 +421071,31 @@ LAB_006fe79f: if (cVar10 == '\0') { cVar10 = Entity::HasEntityFlags(0,0x1000000); if (cVar10 != '\0') { - auStack_40._0_4_ = 0; - auStack_40._4_4_ = (EntityPtr *)0x0; - auStack_40._8_4_ = 0; - auStack_40._12_4_ = 0; - auStack_40._16_4_ = g_vectorZero.x; - auStack_40._20_4_ = g_vectorZero.y; - auStack_40._24_4_ = g_vectorZero.x; - fStack_24 = g_vectorZero.y; - uStack_20 = 0; - pvStack_1c = (void *)0x0; - Entity::AddBrimstoneMark(pEVar12,(EntityRef *)auStack_40,0x5a); + EStack_40._type = 0; + EStack_40._variant = 0; + EStack_40._spawnerType = 0; + EStack_40._spawnerVariant = 0; + EStack_40._position.x = g_vectorZero.x; + EStack_40._position.y = g_vectorZero.y; + EStack_40._velocity.x = g_vectorZero.x; + EStack_40._velocity.y = g_vectorZero.y; + EStack_40._flags = 0; + EStack_40._entity = (void *)0x0; + Entity::AddBrimstoneMark(pEVar12,&EStack_40,0x5a); } cVar10 = Entity::HasEntityFlags(0x1000000,0); if (cVar10 != '\0') { - auStack_40._0_4_ = 0; - auStack_40._4_4_ = (EntityPtr *)0x0; - auStack_40._8_4_ = 0; - auStack_40._12_4_ = 0; - auStack_40._16_4_ = g_vectorZero.x; - auStack_40._20_4_ = g_vectorZero.y; - auStack_40._24_4_ = g_vectorZero.x; - fStack_24 = g_vectorZero.y; - uStack_20 = 0; - pvStack_1c = (void *)0x0; - Entity::AddShrink(pEVar12,(EntityRef *)auStack_40,0x5a,0,0); + EStack_40._type = 0; + EStack_40._variant = 0; + EStack_40._spawnerType = 0; + EStack_40._spawnerVariant = 0; + EStack_40._position.x = g_vectorZero.x; + EStack_40._position.y = g_vectorZero.y; + EStack_40._velocity.x = g_vectorZero.x; + EStack_40._velocity.y = g_vectorZero.y; + EStack_40._flags = 0; + EStack_40._entity = (void *)0x0; + Entity::AddShrink(pEVar12,&EStack_40,0x5a,0,0); if (0 < pEVar12->_shrinkCountdown) { uVar3 = *(undefined4 *)((int)&pEVar12->_flags + 4); *(uint *)&pEVar12->_flags = (uint)pEVar12->_flags | 0x1000000; @@ -420862,14 +421554,13 @@ Game::BombDamage(Game *this,Vector *pos,float damage,float radius,byte lineCheck Room *pRVar21; float fVar22; double dVar23; - uint in_stack_00000028; + float in_stack_00000028; float *pfStack_164; Entity_Tear *pEStack_160; - uint uStack_15c; + float fStack_15c; TypeDescriptor *pTStack_158; EntityRef local_e0; - undefined1 local_b8 [32]; - uint local_98; + EntityRef local_b8; GridEntity *local_8c; TypeDescriptor local_88; uint local_7c; @@ -420929,7 +421620,7 @@ LAB_006ff338: local_29 = 0; } pTStack_158 = &local_88; - uStack_15c = 0x6ff3c5; + fStack_15c = 1.0281188e-38; EntityList::QueryRadius(); local_14 = 0; local_40 = 0; @@ -420954,7 +421645,7 @@ LAB_006ff338: local_4c = (pEVar16->_pos).y; local_50 = (pEVar16->_pos).x; pTStack_158 = (TypeDescriptor *)0x1; - uStack_15c = 0; + fStack_15c = 0.0; pfStack_164 = &local_50; pEStack_160 = (Entity_Tear *)0x2; cVar6 = Room::CheckLine(pos); @@ -420962,7 +421653,7 @@ LAB_006ff338: } if ((source != (Entity *)0x0) && (source->_type == 4)) { pTStack_158 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uStack_15c = 0; + fStack_15c = 0.0; pfStack_164 = (float *)0x6ff51d; pEStack_160 = (Entity_Tear *)source; iVar7 = __RTDynamicCast(); @@ -420973,7 +421664,7 @@ LAB_006ff338: } if ((0.0 < (float)local_3c) && (pEVar16->_type != 1000)) { pTStack_158 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uStack_15c = 0; + fStack_15c = 0.0; pfStack_164 = (float *)0x6ff58a; pEStack_160 = pEVar16; iVar7 = __RTDynamicCast(); @@ -421055,15 +421746,15 @@ LAB_006ff6ce: if ((iVar7 == 1) || (iVar7 == 3)) { if (0.0 < damage) { fVar19 = damage; - EntityRef::constructor((EntityRef *)local_b8,source); - local_98 = local_98 | (uint)local_29 * 2; + EntityRef::constructor(&local_b8,source); + local_b8._flags = local_b8._flags | (uint)local_29 * 2; if (fVar19 < 85.0) { local_24 = (Entity_Tear *)0x3f800000; } else { local_24 = (Entity_Tear *)0x40000000; } - if ((in_stack_00000028 & 0x10000000) != 0) { + if (((uint)in_stack_00000028 & 0x10000000) != 0) { local_24 = (Entity_Tear *)0x3f800000; } if (1 < *(int *)&g_game->_deathmatchManager) { @@ -421071,20 +421762,21 @@ LAB_006ff6ce: } if (pEVar16->_type == 1) { pTStack_158 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uStack_15c = 0; + fStack_15c = 0.0; pfStack_164 = (float *)0x6ffcf0; pEStack_160 = pEVar16; __RTDynamicCast(); - pfStack_164 = (float *)local_b8._16_4_; - pEStack_160 = (Entity_Tear *)local_b8._20_4_; - uStack_15c = local_b8._24_4_; - pTStack_158 = (TypeDescriptor *)local_b8._28_4_; + pfStack_164 = (float *)local_b8._position.x; + pEStack_160 = (Entity_Tear *)local_b8._position.y; + fStack_15c = local_b8._velocity.x; + pTStack_158 = (TypeDescriptor *)local_b8._velocity.y; cVar6 = Entity_Player::is_evil_charm_immune - (local_b8._0_4_,local_b8._4_4_,local_b8._8_4_,local_b8._12_4_); + (local_b8._type,local_b8._variant,local_b8._spawnerType, + local_b8._spawnerVariant); if (cVar6 != '\0') goto LAB_006ffd46; } pTStack_158 = (TypeDescriptor *)damageFlags; - uStack_15c = in_stack_00000028; + fStack_15c = in_stack_00000028; pEStack_160 = local_24; pfStack_164 = (float *)0x6ffd43; (**(code **)(*(int *)pEVar16 + 0x20))(); @@ -421220,13 +421912,13 @@ LAB_006ffac3: puVar12 = (undefined4 *)BitSet128::operator_and(); pfStack_164 = (float *)*puVar12; pEStack_160 = (Entity_Tear *)puVar12[1]; - uStack_15c = puVar12[2]; + fStack_15c = (float)puVar12[2]; pTStack_158 = (TypeDescriptor *)puVar12[3]; get_tear_flags_from_player(&pfStack_164); pcVar4 = *(code **)(*(int *)pEVar16 + 0x20); EntityRef::constructor(&local_e0,source); pTStack_158 = (TypeDescriptor *)damageFlags; - uStack_15c = in_stack_00000028; + fStack_15c = in_stack_00000028; pEStack_160 = local_3c; pfStack_164 = (float *)0x6ffbce; (*pcVar4)(); @@ -421238,7 +421930,7 @@ LAB_006ffac3: piVar8 = (int *)BitSet128::operator_and(); pfStack_164 = (float *)*piVar8; pEStack_160 = (Entity_Tear *)piVar8[1]; - uStack_15c = piVar8[2]; + fStack_15c = (float)piVar8[2]; pTStack_158 = (TypeDescriptor *)piVar8[3]; Entity_Tear::ApplyTearFlagEffects(pEVar16); } @@ -421306,7 +421998,7 @@ LAB_006ffd46: pTStack_158 = (TypeDescriptor *)0x6ffef8; Room::GetGridPosition(g_game->_room); pTStack_158 = (TypeDescriptor *)0x0; - uStack_15c = 0; + fStack_15c = 0.0; pEStack_160 = (Entity_Tear *)0x2; pfStack_164 = &local_58; cVar6 = Room::CheckLine(pos); @@ -421324,7 +422016,7 @@ LAB_006fff72: pRVar21 = local_48->_room; EntityRef::constructor(&local_e0,source); pTStack_158 = (TypeDescriptor *)0x0; - uStack_15c = *(uint *)((int)pEVar16 + 0x10); + fStack_15c = *(float *)((int)pEVar16 + 0x10); pEStack_160 = (Entity_Tear *)0x6fff9e; cVar6 = Room::DestroyGridWithSource(pRVar21); if (cVar6 == '\0') goto LAB_0070001a; @@ -422054,29 +422746,26 @@ void Game::BombTearflagEffects undefined8 local_5c; float local_54; undefined4 local_50; - undefined1 auStack_4c [24]; - float fStack_34; - float local_30; - uint local_2c; - EntityPtr local_28; + EntityRef EStack_4c; uint local_24; undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; undefined4 uStack_14; - puStack_20 = auStack_4c + 0x48; + puStack_20 = (undefined1 *)((int)register0x00000010 + -4); uStack_14 = 0xffffffff; puStack_18 = &LAB_00afc2e0; local_1c = ExceptionList; - uVar7 = __security_cookie ^ (uint)(auStack_4c + 0x3c); + uVar7 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; local_98 = param_1; local_a8 = param_7; local_9c = in_ECX; local_24 = uVar7; if (((param_3 & DAT_00c34560) != 0 || (param_4 & DAT_00c34564) != 0) || - (puVar4 = auStack_4c + 0x48, (param_5 & DAT_00c34568) != 0 || (param_6 & DAT_00c3456c) != 0)) { + (puVar4 = (undefined1 *)((int)register0x00000010 + -4), + (param_5 & DAT_00c34568) != 0 || (param_6 & DAT_00c3456c) != 0)) { pEVar13 = g_game->_room; local_ac = pEVar13; EVar8 = (EntityPtr) @@ -422121,14 +422810,14 @@ LAB_00700aff: (cVar5 = Entity::IsDescendantOf((Entity *)param_7,pEVar1), cVar5 == '\0')))) { local_90 = *(EntityPtr *)(*(int *)pEVar1 + 0x20); if (param_7 == (EntityPtr)0x0) { - auStack_4c._0_4_ = 0; - auStack_4c._4_4_ = 0; - auStack_4c._8_4_ = 0; - auStack_4c._12_4_ = 0; - auStack_4c._16_4_ = g_vectorZero.x; - auStack_4c._20_4_ = g_vectorZero.y; - fStack_34 = g_vectorZero.x; - local_30 = g_vectorZero.y; + EStack_4c._type = 0; + EStack_4c._variant = 0; + EStack_4c._spawnerType = 0; + EStack_4c._spawnerVariant = 0; + EStack_4c._position.x = g_vectorZero.x; + EStack_4c._position.y = g_vectorZero.y; + EStack_4c._velocity.x = g_vectorZero.x; + EStack_4c._velocity.y = g_vectorZero.y; LAB_00700c46: local_80 = (EntityPtr)0x0; if (param_7 != (EntityPtr)0x0) goto LAB_00700c51; @@ -422137,17 +422826,17 @@ LAB_00700c6f: uVar15 = 0; if (param_7 != (EntityPtr)0x0) goto LAB_00700c75; LAB_00700c8e: - local_2c = 0; + EStack_4c._flags = 0; } else { - auStack_4c._0_4_ = *(int *)((int)param_7 + 0x28); - auStack_4c._16_4_ = *(float *)((int)param_7 + 0x33c); - auStack_4c._20_4_ = *(float *)((int)param_7 + 0x340); - auStack_4c._4_4_ = *(int *)((int)param_7 + 0x2c); - auStack_4c._8_4_ = *(int *)((int)param_7 + 0x34); - auStack_4c._12_4_ = *(int *)((int)param_7 + 0x38); - fStack_34 = *(float *)((int)param_7 + 0x360); - local_30 = *(float *)((int)param_7 + 0x364); + EStack_4c._type = *(int *)((int)param_7 + 0x28); + EStack_4c._position.x = *(float *)((int)param_7 + 0x33c); + EStack_4c._position.y = *(float *)((int)param_7 + 0x340); + EStack_4c._variant = *(int *)((int)param_7 + 0x2c); + EStack_4c._spawnerType = *(int *)((int)param_7 + 0x34); + EStack_4c._spawnerVariant = *(int *)((int)param_7 + 0x38); + EStack_4c._velocity.x = *(float *)((int)param_7 + 0x360); + EStack_4c._velocity.y = *(float *)((int)param_7 + 0x364); if ((*(uint *)((int)param_7 + 0x168) & 0x100) == 0) goto LAB_00700c46; local_80 = (EntityPtr)0x1; LAB_00700c51: @@ -422155,20 +422844,20 @@ LAB_00700c51: uVar15 = 2; LAB_00700c75: if ((*(uint *)((int)param_7 + 0x16c) & 0x400000) == 0) goto LAB_00700c8e; - local_2c = 4; + EStack_4c._flags = 4; } - local_2c = uVar15 | (uint)local_80 | local_2c; - local_28 = param_7; - (*(code *)local_90)(param_8 * 10.0,0,0,auStack_4c,0x1e); + EStack_4c._flags = uVar15 | (uint)local_80 | EStack_4c._flags; + EStack_4c._entity = (void *)param_7; + (*(code *)local_90)(param_8 * 10.0,0,0,&EStack_4c,0x1e); if (param_7 == (EntityPtr)0x0) { - auStack_4c._0_4_ = 0; - auStack_4c._4_4_ = 0; - auStack_4c._8_4_ = 0; - auStack_4c._12_4_ = 0; - auStack_4c._16_4_ = g_vectorZero.x; - auStack_4c._20_4_ = g_vectorZero.y; - fStack_34 = g_vectorZero.x; - local_30 = g_vectorZero.y; + EStack_4c._type = 0; + EStack_4c._variant = 0; + EStack_4c._spawnerType = 0; + EStack_4c._spawnerVariant = 0; + EStack_4c._position.x = g_vectorZero.x; + EStack_4c._position.y = g_vectorZero.y; + EStack_4c._velocity.x = g_vectorZero.x; + EStack_4c._velocity.y = g_vectorZero.y; LAB_00700d64: uVar15 = 0; if (param_7 != (EntityPtr)0x0) goto LAB_00700d6a; @@ -422180,14 +422869,14 @@ LAB_00700da9: uVar9 = 0; } else { - auStack_4c._0_4_ = *(int *)((int)param_7 + 0x28); - auStack_4c._16_4_ = *(float *)((int)param_7 + 0x33c); - auStack_4c._20_4_ = *(float *)((int)param_7 + 0x340); - auStack_4c._4_4_ = *(int *)((int)param_7 + 0x2c); - auStack_4c._8_4_ = *(int *)((int)param_7 + 0x34); - auStack_4c._12_4_ = *(int *)((int)param_7 + 0x38); - fStack_34 = *(float *)((int)param_7 + 0x360); - local_30 = *(float *)((int)param_7 + 0x364); + EStack_4c._type = *(int *)((int)param_7 + 0x28); + EStack_4c._position.x = *(float *)((int)param_7 + 0x33c); + EStack_4c._position.y = *(float *)((int)param_7 + 0x340); + EStack_4c._variant = *(int *)((int)param_7 + 0x2c); + EStack_4c._spawnerType = *(int *)((int)param_7 + 0x34); + EStack_4c._spawnerVariant = *(int *)((int)param_7 + 0x38); + EStack_4c._velocity.x = *(float *)((int)param_7 + 0x360); + EStack_4c._velocity.y = *(float *)((int)param_7 + 0x364); if ((*(uint *)((int)param_7 + 0x168) & 0x100) == 0) goto LAB_00700d64; uVar15 = 1; LAB_00700d6a: @@ -422197,9 +422886,9 @@ LAB_00700d90: if ((*(uint *)((int)param_7 + 0x16c) & 0x400000) == 0) goto LAB_00700da9; uVar9 = 4; } - local_28 = param_7; - local_2c = uVar9 | uVar15 | (uint)local_80; - Entity::AddConfusion(pEVar1,(EntityRef *)auStack_4c,0x3c,0); + EStack_4c._entity = (void *)param_7; + EStack_4c._flags = uVar9 | uVar15 | (uint)local_80; + Entity::AddConfusion(pEVar1,&EStack_4c,0x3c,0); } EVar8 = local_8c; } @@ -422210,16 +422899,16 @@ LAB_00700d90: } while (local_84 < (uint)local_ac[0x499]); } local_50 = 0x3f800000; - auStack_4c._0_4_ = 0x3f800000; - auStack_4c._4_4_ = 0x3f800000; - auStack_4c._8_4_ = 0x3f800000; - local_30 = 0.0; - local_2c = 0; - local_28 = (EntityPtr)0x0; - auStack_4c._12_4_ = 0; - auStack_4c._16_4_ = 0.0; - auStack_4c._20_4_ = 0.0; - fStack_34 = 0.0; + EStack_4c._type = 0x3f800000; + EStack_4c._variant = 0x3f800000; + EStack_4c._spawnerType = 0x3f800000; + EStack_4c._velocity.y = 0.0; + EStack_4c._flags = 0; + EStack_4c._entity = (void *)0x0; + EStack_4c._spawnerVariant = 0; + EStack_4c._position.x = 0.0; + EStack_4c._position.y = 0.0; + EStack_4c._velocity.x = 0.0; start_poop_cloud_screen_effect((Game *)((int)g_game->_room + 0x1618),&local_50); puVar4 = puStack_20; } @@ -422946,14 +423635,14 @@ LAB_007023cf: (piVar12[0xf] != 0)) { local_b0 = *(code **)(*piVar12 + 0x14); if (EVar8 == (EntityPtr)0x0) { - auStack_4c._0_4_ = 0; - auStack_4c._4_4_ = 0; - auStack_4c._8_4_ = 0; - auStack_4c._12_4_ = 0; - auStack_4c._16_4_ = g_vectorZero.x; - auStack_4c._20_4_ = g_vectorZero.y; - fStack_34 = g_vectorZero.x; - local_30 = g_vectorZero.y; + EStack_4c._type = 0; + EStack_4c._variant = 0; + EStack_4c._spawnerType = 0; + EStack_4c._spawnerVariant = 0; + EStack_4c._position.x = g_vectorZero.x; + EStack_4c._position.y = g_vectorZero.y; + EStack_4c._velocity.x = g_vectorZero.x; + EStack_4c._velocity.y = g_vectorZero.y; LAB_00702995: local_9c = (Game *)0x0; if (EVar8 != (EntityPtr)0x0) goto LAB_007029a3; @@ -422965,14 +423654,14 @@ LAB_007029ea: uVar15 = 0; } else { - auStack_4c._0_4_ = *(undefined4 *)((int)EVar8 + 0x28); - auStack_4c._16_4_ = *(float *)((int)EVar8 + 0x33c); - auStack_4c._20_4_ = *(float *)((int)EVar8 + 0x340); - auStack_4c._4_4_ = *(undefined4 *)((int)EVar8 + 0x2c); - auStack_4c._8_4_ = *(undefined4 *)((int)EVar8 + 0x34); - auStack_4c._12_4_ = *(undefined4 *)((int)EVar8 + 0x38); - fStack_34 = *(float *)((int)EVar8 + 0x360); - local_30 = *(float *)((int)EVar8 + 0x364); + EStack_4c._type = *(int *)((int)EVar8 + 0x28); + EStack_4c._position.x = *(float *)((int)EVar8 + 0x33c); + EStack_4c._position.y = *(float *)((int)EVar8 + 0x340); + EStack_4c._variant = *(int *)((int)EVar8 + 0x2c); + EStack_4c._spawnerType = *(int *)((int)EVar8 + 0x34); + EStack_4c._spawnerVariant = *(int *)((int)EVar8 + 0x38); + EStack_4c._velocity.x = *(float *)((int)EVar8 + 0x360); + EStack_4c._velocity.y = *(float *)((int)EVar8 + 0x364); if ((*(uint *)((int)EVar8 + 0x168) & 0x100) == 0) goto LAB_00702995; local_9c = (Game *)0x1; LAB_007029a3: @@ -422982,9 +423671,9 @@ LAB_007029d1: if ((*(uint *)((int)EVar8 + 0x16c) & 0x400000) == 0) goto LAB_007029ea; uVar15 = 4; } - local_2c = uVar15 | (uint)local_88 | (uint)local_9c; - local_28 = EVar8; - (*local_b0)(1,auStack_4c); + EStack_4c._flags = uVar15 | (uint)local_88 | (uint)local_9c; + EStack_4c._entity = (void *)EVar8; + (*local_b0)(1,&EStack_4c); } local_b0 = (code *)Random(); if (((int)uVar7 < 0) || (0x1bf < (int)uVar7)) { @@ -424081,12 +424770,12 @@ void Game::ButterBeanFart if (param_4 != '\0') { uVar5 = Random(); piVar6 = (int *)Spawn(1000,0x22,local_64,&g_vectorZero,0,0,uVar5); - EStack_40._28_4_ = 0; - EStack_40._32_4_ = 0; + EStack_40._velocity.y = 0.0; + EStack_40._flags = 0; EStack_40._spawnerVariant = 0; EStack_40._position.x = 0.0; EStack_40._position.y = 0.0; - EStack_40._24_4_ = 0; + EStack_40._velocity.x = 0.0; EStack_40._entity = (void *)0x0; local_44 = 0x3fe66666; EStack_40._type = 0x3f333333; @@ -424773,21 +425462,22 @@ undefined4 Game::DevolveEnemy(Entity *param_1,undefined4 *param_2) void *pvVar3; bool bVar4; qword qVar5; - char cVar6; - undefined4 uVar7; - int *piVar8; - EntityConfig_Entity *pEVar9; - float *pfVar10; + Game *pGVar6; + char cVar7; + undefined4 uVar8; + int *piVar9; + EntityConfig_Entity *pEVar10; + float *pfVar11; Entity_NPC *this; - int iVar11; + int iVar12; int *extraout_ECX; undefined4 extraout_ECX_00; - uint uVar12; - int iVar13; + uint uVar13; int iVar14; - float fVar15; - undefined4 uVar16; + int iVar15; + float fVar16; undefined4 uVar17; + undefined4 uVar18; float local_40; float local_3c; undefined4 *local_38; @@ -424808,21 +425498,21 @@ undefined4 Game::DevolveEnemy(Entity *param_1,undefined4 *param_2) local_38 = param_2; local_24 = g_game; if ((param_1->_flags & 0x20000000) == 0) { - cVar6 = FUN_008667d0(param_1); - if (cVar6 != '\0') { + cVar7 = FUN_008667d0(param_1); + if (cVar7 != '\0') { return 1; } pvVar3 = param_1->_config; if (pvVar3 != (void *)0x0) { - iVar14 = *(int *)((int)pvVar3 + 0xa4); + iVar15 = *(int *)((int)pvVar3 + 0xa4); local_28 = (undefined4 *)((int)pvVar3 + 0xa4); - if ((iVar14 != *(int *)((int)pvVar3 + 0xa8)) && (param_1->_type != 0x19c)) { + if ((iVar15 != *(int *)((int)pvVar3 + 0xa8)) && (param_1->_type != 0x19c)) { local_34 = 1.0; local_30 = -1; - cVar6 = Entity::IsEnemy(param_1); - fVar15 = 0.0; + cVar7 = Entity::IsEnemy(param_1); + fVar16 = 0.0; local_1c = 0.0; - if (cVar6 != '\0') { + if (cVar7 != '\0') { local_30 = *(int *)¶m_1[3].field_0x40; if (0.0 < param_1->_maxHitPoints) { local_34 = param_1->_health / param_1->_maxHitPoints; @@ -424834,25 +425524,25 @@ undefined4 Game::DevolveEnemy(Entity *param_1,undefined4 *param_2) } } } - iVar11 = *(int *)((int)local_24->_room + 4); - if (iVar11 == 0) { + iVar12 = *(int *)((int)local_24->_room + 4); + if (iVar12 == 0) { local_20 = 0; } else { - local_20 = *(uint *)(iVar11 + 0x58); + local_20 = *(uint *)(iVar12 + 0x58); } local_3c = 3.78351e-44; local_c = (int *)((int)pvVar3 + 0xa8); - if (iVar14 != *local_c) { + if (iVar15 != *local_c) { do { - fVar15 = fVar15 + *(float *)(iVar14 + 8); - iVar14 = iVar14 + 0xc; - } while (iVar14 != *local_c); - local_1c = fVar15; + fVar16 = fVar16 + *(float *)(iVar15 + 8); + iVar15 = iVar15 + 0xc; + } while (iVar15 != *local_c); + local_1c = fVar16; } - fVar15 = local_1c; - cVar6 = str_eq("ground",6); - if ((cVar6 == '\0') && + fVar16 = local_1c; + cVar7 = str_eq("ground",6); + if ((cVar7 == '\0') && ((*(int *)((int)pvVar3 + 0xc4) != 0 || (*(int *)((int)pvVar3 + 0x48) < 1)))) { local_15 = '\x01'; } @@ -424863,70 +425553,71 @@ undefined4 Game::DevolveEnemy(Entity *param_1,undefined4 *param_2) /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = local_20 >> 4 ^ local_20; - uVar12 = uVar12 << 3 ^ uVar12; - uVar12 = uVar12 >> (SUB41(local_3c,0) & 0x1f) ^ uVar12; - fVar15 = (float)((double)(int)uVar12 + __uint_to_double_fixup[-((int)uVar12 >> 0x1f)]) * - 2.3283062e-10 * fVar15; - for (piVar8 = (int *)*local_28; piVar8 != (int *)*local_c; piVar8 = piVar8 + 3) { - if (fVar15 < (float)piVar8[2]) { - iVar14 = *piVar8; - if (iVar14 < 1000) { - if (iVar14 == 0) { + uVar13 = local_20 >> 4 ^ local_20; + uVar13 = uVar13 << 3 ^ uVar13; + uVar13 = uVar13 >> (SUB41(local_3c,0) & 0x1f) ^ uVar13; + fVar16 = (float)((double)(int)uVar13 + __uint_to_double_fixup[-((int)uVar13 >> 0x1f)]) * + 2.3283062e-10 * fVar16; + for (piVar9 = (int *)*local_28; piVar9 != (int *)*local_c; piVar9 = piVar9 + 3) { + if (fVar16 < (float)piVar9[2]) { + iVar15 = *piVar9; + if (iVar15 < 1000) { + if (iVar15 == 0) { return 0; } - local_1c = (float)(uint)*(ushort *)(piVar8 + 1); - uVar2 = *(ushort *)((int)piVar8 + 6); - if (iVar14 == 999) { - iVar14 = 1000; + local_1c = (float)(uint)*(ushort *)(piVar9 + 1); + uVar2 = *(ushort *)((int)piVar9 + 6); + if (iVar15 == 999) { + iVar15 = 1000; } - local_20 = iVar14; + local_20 = iVar15; local_c = (int *)(uint)uVar2; Entity_NPC::Redirect(); - pEVar9 = EntityConfig::GetEntity - (&g_manager->_entityConfig,local_20,(int)local_1c,(int)(uint)uVar2) - ; - if (((pEVar9 == (EntityConfig_Entity *)0x0) || - (cVar6 = str_eq("ground",6), cVar6 != '\0')) || - (((pEVar9->gridCollisionClassString)._size == 0 && - (0 < pEVar9->gridCollisionPoints)))) { + pEVar10 = EntityConfig::GetEntity + (&g_manager->_entityConfig,local_20,(int)local_1c,(int)(uint)uVar2 + ); + if (((pEVar10 == (EntityConfig_Entity *)0x0) || + (cVar7 = str_eq("ground",6), cVar7 != '\0')) || + (((pEVar10->gridCollisionClassString)._size == 0 && + (0 < pEVar10->gridCollisionPoints)))) { bVar4 = false; } else { bVar4 = true; } + pGVar6 = local_24; if ((local_15 != '\0') && (!bVar4)) { local_2c = (param_1->_pos).x; local_28 = (undefined4 *)(param_1->_pos).y; - cVar6 = FUN_00823be0(&local_2c,0,0); - if (cVar6 == '\0') { + cVar7 = FUN_00823be0(&local_2c,0,0); + if (cVar7 == '\0') { local_2c = (param_1->_pos).x; local_28 = (undefined4 *)(param_1->_pos).y; - pfVar10 = (float *)Room::find_reachable_position - (&local_40,&local_2c,extraout_ECX_00); - (param_1->_pos).x = *pfVar10; - (param_1->_pos).y = pfVar10[1]; + pfVar11 = (float *)Room::find_reachable_position + (pGVar6->_room,&local_40,&local_2c,extraout_ECX_00); + (param_1->_pos).x = *pfVar11; + (param_1->_pos).y = pfVar11[1]; (param_1->_velocity).x = g_vectorZero.x; (param_1->_velocity).y = g_vectorZero.y; } } - uVar7 = Random(); + uVar8 = Random(); local_2c = (param_1->_velocity).x; local_28 = (undefined4 *)(param_1->_velocity).y; local_40 = (param_1->_pos).x; local_3c = (param_1->_pos).y; - this = (Entity_NPC *)Spawn(local_20,local_1c,&local_40,&local_2c,0,local_c,uVar7); - cVar6 = Entity::IsEnemy((Entity *)this); - if (cVar6 != '\0') { + this = (Entity_NPC *)Spawn(local_20,local_1c,&local_40,&local_2c,0,local_c,uVar8); + cVar7 = Entity::IsEnemy((Entity *)this); + if (cVar7 != '\0') { if (-1 < local_30) { Entity_NPC::Morph(this,this->_type,this->_variant,this->_subtype,local_30); } - fVar15 = this->_maxHitPoints; + fVar16 = this->_maxHitPoints; qVar5 = this->_flags; puVar1 = (uint *)((int)&this->_flags + 4); *puVar1 = *puVar1 | 0x80; *(int *)&this->_flags = (int)qVar5; - this->_health = local_34 * fVar15; + this->_health = local_34 * fVar16; } (**(code **)(*(int *)this + 0xc))(); this->_spawnGridIndex = param_1->_spawnGridIndex; @@ -424937,44 +425628,44 @@ undefined4 Game::DevolveEnemy(Entity *param_1,undefined4 *param_2) return 1; } pvVar3 = local_24->_room; - iVar11 = (int)(((param_1->_pos).x - 40.0) / 40.0 + 0.5); - if ((((iVar11 < 0) || (*(int *)((int)pvVar3 + 0xc) <= iVar11)) || - (iVar13 = (int)(((param_1->_pos).y - 120.0) / 40.0 + 0.5), iVar13 < 0)) || - (*(int *)((int)pvVar3 + 0x10) <= iVar13)) { - iVar11 = -1; + iVar12 = (int)(((param_1->_pos).x - 40.0) / 40.0 + 0.5); + if ((((iVar12 < 0) || (*(int *)((int)pvVar3 + 0xc) <= iVar12)) || + (iVar14 = (int)(((param_1->_pos).y - 120.0) / 40.0 + 0.5), iVar14 < 0)) || + (*(int *)((int)pvVar3 + 0x10) <= iVar14)) { + iVar12 = -1; } else { - iVar11 = iVar13 * *(int *)((int)pvVar3 + 0xc) + iVar11; - if (iVar11 != -1) { + iVar12 = iVar14 * *(int *)((int)pvVar3 + 0xc) + iVar12; + if (iVar12 != -1) { + uVar18 = 0; uVar17 = 0; - uVar16 = 0; - local_10 = (float)CONCAT22(local_10._2_2_,(short)piVar8[1]); - local_14 = iVar14; - uVar7 = Random(0,0); - Room::SpawnEntry(iVar11,&local_14,uVar7,uVar16,uVar17); + local_10 = (float)CONCAT22(local_10._2_2_,(short)piVar9[1]); + local_14 = iVar15; + uVar8 = Random(0,0); + Room::SpawnEntry(iVar12,&local_14,uVar8,uVar17,uVar18); } } if ((-1 < param_1->_spawnGridIndex) && - (cVar6 = Room::IsPersistentRoomEntity + (cVar7 = Room::IsPersistentRoomEntity (param_1->_type,param_1->_variant,param_1->_spawnGridIndex), - cVar6 != '\0')) { + cVar7 != '\0')) { local_c = extraout_ECX; std::set::insert(&local_2c,&local_c); } (**(code **)(*(int *)param_1 + 0x28))(); - uVar7 = Random(); - iVar14 = *(int *)((int)local_24->_room + 0xc); - local_10 = (float)(iVar11 % iVar14) * 40.0 + 40.0; - local_c = (int *)((float)(iVar11 / iVar14) * 40.0 + 120.0); - piVar8 = (int *)Spawn(1000,0xf,&local_10,&g_vectorZero,0,0,uVar7); - (**(code **)(*piVar8 + 0xc))(); + uVar8 = Random(); + iVar15 = *(int *)((int)local_24->_room + 0xc); + local_10 = (float)(iVar12 % iVar15) * 40.0 + 40.0; + local_c = (int *)((float)(iVar12 / iVar15) * 40.0 + 120.0); + piVar9 = (int *)Spawn(1000,0xf,&local_10,&g_vectorZero,0,0,uVar8); + (**(code **)(*piVar9 + 0xc))(); if (local_38 == (undefined4 *)0x0) { return 1; } - *local_38 = piVar8; + *local_38 = piVar9; return 1; } - fVar15 = fVar15 - (float)piVar8[2]; + fVar16 = fVar16 - (float)piVar9[2]; } } } @@ -425170,64 +425861,62 @@ void Game::save_rewind_state(int param_1) bool bVar2; Game *pGVar3; Manager *pMVar4; - char *pcVar5; + GlowingHourglassState *pGVar5; int *piVar6; int iVar7; int *piVar8; - undefined1 *puVar9; - int iVar10; + int iVar9; pGVar3 = g_game; if (((g_game->_isStoringGlowingHourglassState == 0) && (g_game->_isRestoringGlowingHourglassState == 0)) && (g_game->_isPocketItemRewindSaved == 0)) { - iVar10 = g_game->_currentGlowingHourglassSlot; + iVar9 = g_game->_currentGlowingHourglassSlot; bVar2 = false; iVar7 = 0; - if ((-1 < iVar10) && - (pcVar5 = (char *)((int)g_game->_glowingHourglassStates + iVar10 * 0x20660), *pcVar5 != '\0') - ) { - if ((*(int *)(pcVar5 + 0x19d20) == g_game->_currentRoomIdx) && - (*(int *)(pcVar5 + 0xe8) == g_game->_stage)) { + if ((-1 < iVar9) && (pGVar5 = g_game->_glowingHourglassStates + iVar9, pGVar5->_isUsable != 0)) + { + if ((*(int *)&(pGVar5->_gameState).field_0x19d1c == g_game->_currentRoomIdx) && + (*(int *)&(pGVar5->_gameState).field_0xe4 == g_game->_stage)) { bVar2 = true; - iVar7 = iVar10; + iVar7 = iVar9; if (-1 < param_1) { - if (param_1 == *(int *)(pcVar5 + 0x1fe2c)) { + if (param_1 == pGVar5->_leaveDoor) { return; } - if ((-1 < *(int *)(pcVar5 + 0x1fe2c)) && - ((uint)(g_game->_frameCount - *(int *)(pcVar5 + 0x1fe30)) < 0xf)) { + if ((-1 < pGVar5->_leaveDoor) && + ((uint)(g_game->_frameCount - pGVar5->_timeCounter) < 0xf)) { return; } } } else { - iVar7 = 1 - iVar10; - *(int *)(pcVar5 + 0x19d54) = g_game->_leaveDoor; + iVar7 = 1 - iVar9; + *(int *)&(pGVar5->_gameState).field_0x19d50 = g_game->_leaveDoor; } } pGVar3->_currentGlowingHourglassSlot = iVar7; pGVar3->_isStoringGlowingHourglassState = 1; - puVar9 = (undefined1 *)((int)pGVar3->_glowingHourglassStates + iVar7 * 0x20660); - uVar1 = *(undefined4 *)(puVar9 + 0x48); - store_game_state(pGVar3,puVar9 + 4); + pGVar5 = pGVar3->_glowingHourglassStates + iVar7; + uVar1 = *(undefined4 *)&(pGVar5->_gameState).field_0x44; + store_game_state(pGVar3,&pGVar5->_gameState); if (bVar2) { - *(undefined4 *)(puVar9 + 0x48) = uVar1; + *(undefined4 *)&(pGVar5->_gameState).field_0x44 = uVar1; } pMVar4 = g_manager; - piVar6 = (int *)(puVar9 + 0x1fe34); - *puVar9 = 1; + piVar6 = pGVar5->_eventCounters; + pGVar5->_isUsable = 1; piVar8 = (pMVar4->_persistentGameData)._eventCounters; - *(int *)(puVar9 + 0x1fe2c) = param_1; - *(int *)(puVar9 + 0x1fe30) = pGVar3->_frameCount; - iVar10 = 0x20b; + pGVar5->_leaveDoor = param_1; + pGVar5->_timeCounter = pGVar3->_frameCount; + iVar9 = 0x20b; do { iVar7 = *piVar8; piVar8 = piVar8 + 1; *piVar6 = iVar7; piVar6 = piVar6 + 1; - iVar10 = iVar10 + -1; - } while (iVar10 != 0); + iVar9 = iVar9 + -1; + } while (iVar9 != 0); pGVar3->_isStoringGlowingHourglassState = 0; } return; @@ -425243,26 +425932,25 @@ void Game::save_rewind_state(int param_1) void Game::rewind(int param_1) { - undefined1 *puVar1; + int iVar1; void **ppvVar2; - char *pcVar3; + GlowingHourglassState *pGVar3; RoomDescriptor *pRVar4; - int iVar5; char extraout_AL; - uint uVar6; - char *pcVar7; - int iVar8; - Entity_Player *pEVar9; - undefined4 uVar10; - char cVar11; - void *pvVar12; - int iVar13; - Game *pGVar14; - int *piVar15; + uint uVar5; + GlowingHourglassState *pGVar6; + int iVar7; + Entity_Player *pEVar8; + undefined4 uVar9; + byte bVar10; + void *pvVar11; + int iVar12; + Game *pGVar13; + int *piVar14; + uint uVar15; uint uVar16; - uint uVar17; - RoomDescriptor *pRVar18; - int *piVar19; + RoomDescriptor *pRVar17; + int *piVar18; int *local_54; int local_50; uint local_4c; @@ -425273,7 +425961,7 @@ void Game::rewind(int param_1) undefined4 local_38; undefined4 local_34; Game *local_30; - char *local_2c; + GlowingHourglassState *local_2c; void *local_28; uint local_24; RoomDescriptor *local_20; @@ -425286,145 +425974,145 @@ void Game::rewind(int param_1) local_8 = 0xffffffff; puStack_c = &LAB_00afc45d; local_10 = ExceptionList; - uVar6 = __security_cookie ^ (int)register0x00000010 - 4U; + uVar5 = __security_cookie ^ (int)register0x00000010 - 4U; local_30 = g_game; - iVar8 = g_game->_currentGlowingHourglassSlot; - if (iVar8 < 0) { + iVar7 = g_game->_currentGlowingHourglassSlot; + if (iVar7 < 0) { return; } - pcVar7 = (char *)((int)g_game + iVar8 * -0x20660 + 0x4704c); - cVar11 = *pcVar7; - if (cVar11 == '\0') { - pcVar7 = (char *)((int)g_game->_glowingHourglassStates + iVar8 * 0x20660); - cVar11 = *pcVar7; + pGVar6 = (GlowingHourglassState *)((int)g_game + iVar7 * -0x20660 + 0x4704c); + bVar10 = pGVar6->_isUsable; + if (bVar10 == 0) { + pGVar6 = g_game->_glowingHourglassStates + iVar7; + bVar10 = pGVar6->_isUsable; } - local_2c = (char *)0x0; - if (cVar11 != '\0') { - local_2c = pcVar7; + local_2c = (GlowingHourglassState *)0x0; + if (bVar10 != 0) { + local_2c = pGVar6; } - if (local_2c == (char *)0x0) { + if (local_2c == (GlowingHourglassState *)0x0) { return; } local_40 = &g_game->_room; - pRVar18 = (RoomDescriptor *)0x0; + pRVar17 = (RoomDescriptor *)0x0; local_28 = *local_40; local_1c = (int *)0x0; local_24 = *(uint *)((int)local_28 + 0x1264) - 1; ExceptionList = &local_10; if (local_24 < *(uint *)((int)local_28 + 0x1264)) { - pGVar14 = g_game; + pGVar13 = g_game; do { - pEVar9 = *(Entity_Player **)(*(int *)((int)local_28 + 0x125c) + local_24 * 4); - iVar8 = pEVar9->_type; - if ((pEVar9 == (Entity_Player *)0x0) || (iVar8 != 3)) { - local_1c = &pEVar9->_type; - local_20 = pRVar18; - if ((iVar8 == 3) || - ((((1 < *(int *)&pGVar14->_deathmatchManager && (iVar8 == 1)) || (iVar8 - 10U < 0x3de)) - && ((pEVar9->_flags & 0x20000000) != 0)))) goto LAB_00706148; + pEVar8 = *(Entity_Player **)(*(int *)((int)local_28 + 0x125c) + local_24 * 4); + iVar7 = pEVar8->_type; + if ((pEVar8 == (Entity_Player *)0x0) || (iVar7 != 3)) { + local_1c = &pEVar8->_type; + local_20 = pRVar17; + if ((iVar7 == 3) || + ((((1 < *(int *)&pGVar13->_deathmatchManager && (iVar7 == 1)) || (iVar7 - 10U < 0x3de)) + && ((pEVar8->_flags & 0x20000000) != 0)))) goto LAB_00706148; } else { - if (((pEVar9->_variant == 0xce) && (pEVar9->_subtype == 0x1a6)) && - (pGVar14->_frameCount - pEVar9->_spawnFrame < 2)) { - pRVar18 = (RoomDescriptor *)((int)pRVar18 + 1); + if (((pEVar8->_variant == 0xce) && (pEVar8->_subtype == 0x1a6)) && + (pGVar13->_frameCount - pEVar8->_spawnFrame < 2)) { + pRVar17 = (RoomDescriptor *)((int)pRVar17 + 1); } - local_20 = pRVar18; + local_20 = pRVar17; LAB_00706148: - pRVar18 = local_20; - local_1c = &pEVar9->_type; - (**(code **)(*(int *)pEVar9 + 0x44))(uVar6); - EntityList_EL::remove(pEVar9); - EntityList_EL::remove(pEVar9); - EntityList_EL::remove(pEVar9); - EntityList_EL::remove(pEVar9); - EntityList_EL::remove(pEVar9); - pEVar9->_valid = 0; - EntityList::invalidate_type_cache(pEVar9->_type,pEVar9->_variant,pEVar9->_subtype); - iVar8 = *local_1c; - pGVar14 = g_game; + pRVar17 = local_20; + local_1c = &pEVar8->_type; + (**(code **)(*(int *)pEVar8 + 0x44))(uVar5); + EntityList_EL::remove(pEVar8); + EntityList_EL::remove(pEVar8); + EntityList_EL::remove(pEVar8); + EntityList_EL::remove(pEVar8); + EntityList_EL::remove(pEVar8); + pEVar8->_valid = 0; + EntityList::invalidate_type_cache(pEVar8->_type,pEVar8->_variant,pEVar8->_subtype); + iVar7 = *local_1c; + pGVar13 = g_game; } pRVar4 = local_20; - if ((iVar8 == 1) && (pEVar9->_parent != (EntityPtr)0x0)) { + if ((iVar7 == 1) && (pEVar8->_parent != (EntityPtr)0x0)) { PlayerManager::RemoveCoPlayer - (&pGVar14->_playerManager,pEVar9,(byte)&pGVar14->_playerManager); - pGVar14 = g_game; + (&pGVar13->_playerManager,pEVar8,(byte)&pGVar13->_playerManager); + pGVar13 = g_game; } local_24 = local_24 - 1; } while (local_24 < *(uint *)((int)local_28 + 0x1264)); local_1c = &pRVar4->GridIndex; } - pcVar7 = local_2c; - pGVar14 = local_30; + pGVar6 = local_2c; + pGVar13 = local_30; local_24 = 0; local_34 = 0; if (param_1 != 0) { local_24 = *(undefined4 *)(param_1 + 0x1da8); local_34 = *(undefined4 *)(param_1 + 0x1dac); } - if ((*(int *)(local_2c + 0xe8) != local_30->_stage) || + if ((*(int *)&(local_2c->_gameState).field_0xe4 != local_30->_stage) || (local_28 = (void *)((uint)local_28 & 0xffffff00), - *(int *)(local_2c + 0xec) != local_30->_stageType)) { + *(int *)&(local_2c->_gameState).field_0xe8 != local_30->_stageType)) { local_28 = (void *)CONCAT31(local_28._1_3_,1); } local_3c = local_30->_rewindsThisFloor; local_20 = Level::GetRoomByIdx((Level *)local_30,local_30->_currentRoomIdx,-1); if ((*(int *)((int)local_20->Data + 8) == 4) && (local_20->VisitedCount == 1)) { - iVar8 = PlayerManager::FirstCollectibleOwner + iVar7 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x19e,&g_game->_playerManager,1); - local_15 = iVar8 != 0; + local_15 = iVar7 != 0; if ((((g_game->_stage == 10) && ((((g_game->_stageType == 0 && - (pEVar9 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0xa1), - pEVar9 != (Entity_Player *)0x0)) && - (iVar8 = Entity_Player::GetTrinketMultiplier(pEVar9,0xa1), 1 < iVar8)) || + (pEVar8 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0xa1), + pEVar8 != (Entity_Player *)0x0)) && + (iVar7 = Entity_Player::GetTrinketMultiplier(pEVar8,0xa1), 1 < iVar7)) || (((g_game->_stage == 10 && (g_game->_stageType == 1)) && - ((pEVar9 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x9b), - pEVar9 != (Entity_Player *)0x0 && - (iVar8 = Entity_Player::GetTrinketMultiplier(pEVar9,0x9b), 1 < iVar8)))))))) || + ((pEVar8 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x9b), + pEVar8 != (Entity_Player *)0x0 && + (iVar7 = Entity_Player::GetTrinketMultiplier(pEVar8,0x9b), 1 < iVar7)))))))) || ((((g_game->_stage == 7 || (g_game->_stage == 8)) && - (pEVar9 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x6f), - pEVar9 != (Entity_Player *)0x0)) && - (iVar8 = Entity_Player::GetTrinketMultiplier(pEVar9,0x6f), 1 < iVar8)))) || + (pEVar8 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x6f), + pEVar8 != (Entity_Player *)0x0)) && + (iVar7 = Entity_Player::GetTrinketMultiplier(pEVar8,0x6f), 1 < iVar7)))) || (local_15 != '\0')) { *(undefined4 *)((int)local_20->Data + 0x34) = 0x3f800000; } } - pGVar14->_isRestoringGlowingHourglassState = 1; - restore_game_state(pcVar7 + 4,0); - local_20 = (RoomDescriptor *)&pGVar14->_playerManager; + pGVar13->_isRestoringGlowingHourglassState = 1; + restore_game_state(&pGVar6->_gameState,0); + local_20 = (RoomDescriptor *)&pGVar13->_playerManager; PlayerManager::remove_coplayers_without_device(); - pcVar3 = local_2c; - pGVar14->_isRestoringGlowingHourglassState = 0; - if (pGVar14->_glowingHourglassStates == (GlowingHourglassState *)pcVar7) { - pGVar14->_currentGlowingHourglassSlot = 0; + pGVar3 = local_2c; + pGVar13->_isRestoringGlowingHourglassState = 0; + if (pGVar13->_glowingHourglassStates == pGVar6) { + pGVar13->_currentGlowingHourglassSlot = 0; } else { - pGVar14->_glowingHourglassStates[0]._isUsable = 0; + pGVar13->_glowingHourglassStates[0]._isUsable = 0; } - puVar1 = &pGVar14->_glowingHourglassStates[1].field_0x9b4; - if (puVar1 == pcVar7) { - pGVar14->_currentGlowingHourglassSlot = 1; + if (pGVar13->_glowingHourglassStates + 1 == pGVar6) { + pGVar13->_currentGlowingHourglassSlot = 1; } else { - *puVar1 = 0; + pGVar13->_glowingHourglassStates[1]._isUsable = 0; } - iVar8 = 0; - uVar6 = 700; + iVar7 = 0; + uVar5 = 700; do { - iVar13 = *(int *)((g_manager->_persistentGameData)._achievements + (uVar6 - 0x38)); - if (iVar13 != *(int *)(pcVar3 + uVar6 + 0x1fb78)) { - PersistentGameData::IncreaseEventCounter - (&g_manager->_persistentGameData,iVar8,*(int *)(pcVar3 + uVar6 + 0x1fb78) - iVar13); + iVar12 = *(int *)((int)pGVar3->_eventCounters + (uVar5 - 700)); + iVar1 = *(int *)((g_manager->_persistentGameData)._achievements + (uVar5 - 0x38)); + if (iVar1 != iVar12) { + PersistentGameData::IncreaseEventCounter(&g_manager->_persistentGameData,iVar7,iVar12 - iVar1) + ; } - piVar19 = local_1c; - uVar6 = uVar6 + 4; - iVar8 = iVar8 + 1; - } while (uVar6 < 0xae8); + piVar18 = local_1c; + uVar5 = uVar5 + 4; + iVar7 = iVar7 + 1; + } while (uVar5 < 0xae8); local_30->_rewindsThisFloor = local_3c + 1; if (param_1 != 0) { local_30 = (Game *)CONCAT31((int3)(local_3c + 1 >> 8),1); local_54 = (int *)0x0; - local_2c = (char *)CONCAT31(local_2c._1_3_,1); + local_2c = (GlowingHourglassState *)CONCAT31(local_2c._1_3_,1); local_50 = 0; local_4c = 0; local_48 = 0; @@ -425433,67 +426121,67 @@ LAB_00706148: local_54[1] = 0; *local_54 = (int)&local_54; local_8 = 0; - pvVar12 = ((std_vector *)&local_20->GridIndex)->_end; - piVar15 = ((std_vector *)&local_20->GridIndex)->_begin; - iVar8 = local_44; - if ((int)pvVar12 - (int)piVar15 >> 2 != 0) { - uVar6 = 0; + pvVar11 = ((std_vector *)&local_20->GridIndex)->_end; + piVar14 = ((std_vector *)&local_20->GridIndex)->_begin; + iVar7 = local_44; + if ((int)pvVar11 - (int)piVar14 >> 2 != 0) { + uVar5 = 0; do { - if ((int)pvVar12 - (int)piVar15 >> 2 == 0) { + if ((int)pvVar11 - (int)piVar14 >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - if (uVar6 < (uint)((int)pvVar12 - (int)piVar15 >> 2)) { - piVar15 = piVar15 + uVar6; + if (uVar5 < (uint)((int)pvVar11 - (int)piVar14 >> 2)) { + piVar14 = piVar14 + uVar5; } - iVar13 = *piVar15; - iVar5 = local_44; - if ((*(int *)(iVar13 + 0x2c) == 0) && (*(int *)(iVar13 + 0x3bc) == 0)) { - if (((local_48 + iVar8 & 3) == 0) && (local_4c <= iVar8 + 4U >> 2)) { + iVar12 = *piVar14; + iVar1 = local_44; + if ((*(int *)(iVar12 + 0x2c) == 0) && (*(int *)(iVar12 + 0x3bc) == 0)) { + if (((local_48 + iVar7 & 3) == 0) && (local_4c <= iVar7 + 4U >> 2)) { std::deque<4byte>::_Growmap(local_48); - iVar8 = local_44; + iVar7 = local_44; } local_48 = local_48 & local_4c * 4 - 1; - local_3c = local_48 + iVar8; - uVar16 = local_4c - 1 & local_3c >> 2; - if (*(int *)(local_50 + uVar16 * 4) == 0) { - uVar10 = operator_new(0x10); - *(undefined4 *)(local_50 + uVar16 * 4) = uVar10; + local_3c = local_48 + iVar7; + uVar15 = local_4c - 1 & local_3c >> 2; + if (*(int *)(local_50 + uVar15 * 4) == 0) { + uVar9 = operator_new(0x10); + *(undefined4 *)(local_50 + uVar15 * 4) = uVar9; } - *(int *)(*(int *)(local_50 + uVar16 * 4) + (local_3c & 3) * 4) = iVar13; - iVar8 = local_44 + 1; - local_3c = *(int *)(iVar13 + 0x1e6c); - iVar5 = iVar8; + *(int *)(*(int *)(local_50 + uVar15 * 4) + (local_3c & 3) * 4) = iVar12; + iVar7 = local_44 + 1; + local_3c = *(int *)(iVar12 + 0x1e6c); + iVar1 = iVar7; if (local_3c != 0) { - if (((local_48 + iVar8 & 3) == 0) && (local_4c <= local_44 + 5U >> 2)) { - local_44 = iVar8; + if (((local_48 + iVar7 & 3) == 0) && (local_4c <= local_44 + 5U >> 2)) { + local_44 = iVar7; std::deque<4byte>::_Growmap(local_48); - iVar8 = local_44; + iVar7 = local_44; } - local_44 = iVar8; + local_44 = iVar7; local_48 = local_48 & local_4c * 4 - 1; - uVar16 = local_48 + local_44; - uVar17 = local_4c - 1 & uVar16 >> 2; - if (*(int *)(local_50 + uVar17 * 4) == 0) { - uVar10 = operator_new(0x10); - *(undefined4 *)(local_50 + uVar17 * 4) = uVar10; + uVar15 = local_48 + local_44; + uVar16 = local_4c - 1 & uVar15 >> 2; + if (*(int *)(local_50 + uVar16 * 4) == 0) { + uVar9 = operator_new(0x10); + *(undefined4 *)(local_50 + uVar16 * 4) = uVar9; } - *(uint *)(*(int *)(local_50 + uVar17 * 4) + (uVar16 & 3) * 4) = local_3c; - iVar8 = local_44 + 1; - iVar5 = iVar8; + *(uint *)(*(int *)(local_50 + uVar16 * 4) + (uVar15 & 3) * 4) = local_3c; + iVar7 = local_44 + 1; + iVar1 = iVar7; } } - local_44 = iVar5; - uVar6 = uVar6 + 1; - piVar15 = ((std_vector *)&local_20->GridIndex)->_begin; - pvVar12 = ((std_vector *)&local_20->GridIndex)->_end; - piVar19 = local_1c; - } while (uVar6 < (uint)((int)pvVar12 - (int)piVar15 >> 2)); + local_44 = iVar1; + uVar5 = uVar5 + 1; + piVar14 = ((std_vector *)&local_20->GridIndex)->_begin; + pvVar11 = ((std_vector *)&local_20->GridIndex)->_end; + piVar18 = local_1c; + } while (uVar5 < (uint)((int)pvVar11 - (int)piVar14 >> 2)); } - while (iVar8 != 0) { - uVar6 = local_48 >> 2; - uVar16 = local_48 & 3; - local_44 = iVar8 + -1; + while (iVar7 != 0) { + uVar5 = local_48 >> 2; + uVar15 = local_48 & 3; + local_44 = iVar7 + -1; if (local_44 == 0) { local_48 = 0; } @@ -425501,84 +426189,84 @@ LAB_00706148: local_48 = local_48 + 1; } Entity_Player::TryDecreaseGlowingHourglassUses - (*(Entity_Player **)(*(int *)(local_50 + (local_4c - 1 & uVar6) * 4) + uVar16 * 4), + (*(Entity_Player **)(*(int *)(local_50 + (local_4c - 1 & uVar5) * 4) + uVar15 * 4), (int)local_2c,(byte)local_28); local_30 = (Game *)((uint)local_30 & 0xff); if (extraout_AL != '\0') { local_30 = (Game *)0x0; } - local_2c = (char *)CONCAT31(local_2c._1_3_,(char)local_30); - iVar8 = local_44; + local_2c = (GlowingHourglassState *)CONCAT31(local_2c._1_3_,(char)local_30); + iVar7 = local_44; } *(uint *)(param_1 + 0x1da8) = local_24; *(undefined4 *)(param_1 + 0x1dac) = local_34; - iVar8 = 0; - if (0 < (int)piVar19) { + iVar7 = 0; + if (0 < (int)piVar18) { do { local_38 = *(undefined4 *)(param_1 + 0x33c); local_34 = *(undefined4 *)(param_1 + 0x340); Entity_Player::AddWisp(0x1a6,&local_38,0,0); - piVar19 = (int *)((int)piVar19 + -1); - } while (piVar19 != (int *)0x0); - iVar8 = local_44; + piVar18 = (int *)((int)piVar18 + -1); + } while (piVar18 != (int *)0x0); + iVar7 = local_44; } local_8 = 0xffffffff; - if (iVar8 != 0) { + if (iVar7 != 0) { do { - iVar8 = iVar8 + -1; - } while (iVar8 != 0); + iVar7 = iVar7 + -1; + } while (iVar7 != 0); local_48 = 0; local_44 = 0; } - iVar8 = local_50; - uVar6 = local_4c; + iVar7 = local_50; + uVar5 = local_4c; if (local_4c != 0) { do { - iVar13 = *(int *)(iVar8 + -4 + uVar6 * 4); - uVar6 = uVar6 - 1; - if (iVar13 != 0) { - operator_delete(iVar13,0x10); - iVar8 = local_50; + iVar12 = *(int *)(iVar7 + -4 + uVar5 * 4); + uVar5 = uVar5 - 1; + if (iVar12 != 0) { + operator_delete(iVar12,0x10); + iVar7 = local_50; } - } while (uVar6 != 0); + } while (uVar5 != 0); } - if (iVar8 != 0) { - uVar6 = local_4c * 4; - iVar13 = iVar8; - if (0xfff < uVar6) { - iVar13 = *(int *)(iVar8 + -4); - uVar6 = uVar6 + 0x23; - if (0x1f < (iVar8 - iVar13) - 4U) { + if (iVar7 != 0) { + uVar5 = local_4c * 4; + iVar12 = iVar7; + if (0xfff < uVar5) { + iVar12 = *(int *)(iVar7 + -4); + uVar5 = uVar5 + 0x23; + if (0x1f < (iVar7 - iVar12) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar13,uVar6); + operator_delete(iVar12,uVar5); } - piVar19 = local_54; + piVar18 = local_54; local_4c = 0; local_50 = 0; local_54 = (int *)0x0; - operator_delete(piVar19,8); + operator_delete(piVar18,8); } ppvVar2 = local_40; - uVar6 = 0; - pvVar12 = *local_40; - if (*(int *)((int)pvVar12 + 0x1264) != 0) { + uVar5 = 0; + pvVar11 = *local_40; + if (*(int *)((int)pvVar11 + 0x1264) != 0) { do { - (**(code **)(**(int **)(*(int *)((int)pvVar12 + 0x125c) + uVar6 * 4) + 0x2c))(); - uVar6 = uVar6 + 1; - } while (uVar6 < *(uint *)((int)pvVar12 + 0x1264)); + (**(code **)(**(int **)(*(int *)((int)pvVar11 + 0x125c) + uVar5 * 4) + 0x2c))(); + uVar5 = uVar5 + 1; + } while (uVar5 < *(uint *)((int)pvVar11 + 0x1264)); } PlayerManager::enter_level(); PlayerManager::trigger_new_room_effects(); - pvVar12 = *ppvVar2; - uVar6 = 0; - if (*(int *)((int)pvVar12 + 0x1264) != 0) { + pvVar11 = *ppvVar2; + uVar5 = 0; + if (*(int *)((int)pvVar11 + 0x1264) != 0) { do { - (**(code **)(**(int **)(*(int *)((int)pvVar12 + 0x125c) + uVar6 * 4) + 0x30))(); - uVar6 = uVar6 + 1; - } while (uVar6 < *(uint *)((int)pvVar12 + 0x1264)); + (**(code **)(**(int **)(*(int *)((int)pvVar11 + 0x125c) + uVar5 * 4) + 0x30))(); + uVar5 = uVar5 + 1; + } while (uVar5 < *(uint *)((int)pvVar11 + 0x1264)); } Room::Update(); ExceptionList = local_10; @@ -425606,7 +426294,7 @@ GlowingHourglassState * __thiscall Game::GetGlowingHourglassState(Game *this) pGVar3 = (GlowingHourglassState *)((int)this + iVar1 * -0x20660 + 0x4704c); bVar4 = pGVar3->_isUsable; if (bVar4 == 0) { - pGVar3 = (GlowingHourglassState *)((int)this->_glowingHourglassStates + iVar1 * 0x20660); + pGVar3 = this->_glowingHourglassStates + iVar1; bVar4 = pGVar3->_isUsable; } pGVar2 = (GlowingHourglassState *)0x0; @@ -425622,46 +426310,66 @@ GlowingHourglassState * __thiscall Game::GetGlowingHourglassState(Game *this) /* ZHL [exact] __thiscall void Game::SetColorModifier(ColorModState* color, bool lerp, float rate); */ -void __thiscall Game::SetColorModifier(undefined4 param_1,undefined4 *param_2,char param_3) +void __thiscall Game::SetColorModifier(undefined4 param_1,float *param_2,char param_3) { - undefined4 uVar1; - undefined4 uVar2; - undefined4 uVar3; - Game *pGVar4; + float fVar1; + float fVar2; + float fVar3; + float fVar4; + float fVar5; + float fVar6; + float fVar7; + float fVar8; + float fVar9; + float fVar10; + Game *pGVar11; float in_XMM3_Da; - pGVar4 = g_game; - uVar1 = param_2[1]; - uVar2 = param_2[2]; - uVar3 = param_2[3]; - g_game->_targetColorModifier = *param_2; - *(undefined4 *)&pGVar4->field_0x676d4 = uVar1; - *(undefined4 *)&pGVar4->field_0x676d8 = uVar2; - *(undefined4 *)&pGVar4->field_0x676dc = uVar3; - *(undefined8 *)&pGVar4->field_0x676e0 = *(undefined8 *)(param_2 + 4); + pGVar11 = g_game; + fVar1 = param_2[1]; + fVar2 = param_2[2]; + fVar3 = param_2[3]; + (g_game->_targetColorModifier)._red = *param_2; + (pGVar11->_targetColorModifier)._green = fVar1; + (pGVar11->_targetColorModifier)._blue = fVar2; + (pGVar11->_targetColorModifier)._amount = fVar3; + fVar1 = param_2[5]; + (pGVar11->_targetColorModifier)._brightness = param_2[4]; + (pGVar11->_targetColorModifier)._contrast = fVar1; if (param_3 == '\0') { - pGVar4->_currentColorModifier = pGVar4->_targetColorModifier; - *(undefined4 *)&pGVar4->field_0x676bc = *(undefined4 *)&pGVar4->field_0x676d4; - *(undefined4 *)&pGVar4->field_0x676c0 = *(undefined4 *)&pGVar4->field_0x676d8; - *(undefined4 *)&pGVar4->field_0x676c4 = *(undefined4 *)&pGVar4->field_0x676dc; - *(undefined8 *)&pGVar4->field_0x676c8 = *(undefined8 *)&pGVar4->field_0x676e0; - pGVar4->_shouldLerpColorModState = 0; + fVar1 = (pGVar11->_targetColorModifier)._green; + fVar2 = (pGVar11->_targetColorModifier)._blue; + fVar3 = (pGVar11->_targetColorModifier)._amount; + (pGVar11->_currentColorModifier)._red = (pGVar11->_targetColorModifier)._red; + (pGVar11->_currentColorModifier)._green = fVar1; + (pGVar11->_currentColorModifier)._blue = fVar2; + (pGVar11->_currentColorModifier)._amount = fVar3; + fVar1 = (pGVar11->_targetColorModifier)._contrast; + (pGVar11->_currentColorModifier)._brightness = (pGVar11->_targetColorModifier)._brightness; + (pGVar11->_currentColorModifier)._contrast = fVar1; + pGVar11->_shouldLerpColorModState = 0; return; } - *(float *)&pGVar4->field_0x676ec = - ABS(*(float *)&pGVar4->field_0x676d4 - *(float *)&pGVar4->field_0x676bc) * in_XMM3_Da; - *(float *)&pGVar4->field_0x676f0 = - ABS(*(float *)&pGVar4->field_0x676d8 - *(float *)&pGVar4->field_0x676c0) * in_XMM3_Da; - pGVar4->_lerpColorModifier = - ABS((float)pGVar4->_targetColorModifier - (float)pGVar4->_currentColorModifier) * in_XMM3_Da; - *(float *)&pGVar4->field_0x676f4 = - ABS(*(float *)&pGVar4->field_0x676dc - *(float *)&pGVar4->field_0x676c4) * in_XMM3_Da; - *(float *)&pGVar4->field_0x676f8 = - ABS(*(float *)&pGVar4->field_0x676e0 - *(float *)&pGVar4->field_0x676c8) * in_XMM3_Da; - *(float *)&pGVar4->field_0x676fc = - ABS(*(float *)&pGVar4->field_0x676e4 - *(float *)&pGVar4->field_0x676cc) * in_XMM3_Da; - pGVar4->_shouldLerpColorModState = 1; + fVar1 = (pGVar11->_targetColorModifier)._contrast; + fVar2 = (pGVar11->_targetColorModifier)._brightness; + fVar3 = (pGVar11->_targetColorModifier)._amount; + fVar4 = (pGVar11->_targetColorModifier)._blue; + fVar5 = (pGVar11->_targetColorModifier)._red; + fVar6 = (pGVar11->_currentColorModifier)._contrast; + fVar7 = (pGVar11->_currentColorModifier)._brightness; + fVar8 = (pGVar11->_currentColorModifier)._amount; + fVar9 = (pGVar11->_currentColorModifier)._blue; + fVar10 = (pGVar11->_currentColorModifier)._red; + (pGVar11->_lerpColorModifier)._green = + ABS((pGVar11->_targetColorModifier)._green - (pGVar11->_currentColorModifier)._green) * + in_XMM3_Da; + (pGVar11->_lerpColorModifier)._blue = ABS(fVar4 - fVar9) * in_XMM3_Da; + (pGVar11->_lerpColorModifier)._red = ABS(fVar5 - fVar10) * in_XMM3_Da; + (pGVar11->_lerpColorModifier)._amount = ABS(fVar3 - fVar8) * in_XMM3_Da; + (pGVar11->_lerpColorModifier)._brightness = ABS(fVar2 - fVar7) * in_XMM3_Da; + (pGVar11->_lerpColorModifier)._contrast = ABS(fVar1 - fVar6) * in_XMM3_Da; + pGVar11->_shouldLerpColorModState = 1; return; } @@ -426496,9 +427204,14 @@ void Entity::RemoveWithPoof(int *param_1) } -//@@ 00707ad0 FUN_00707ad0 +//@@ 00707ad0 r_key_timer_callback -void FUN_00707ad0(void) +/* DB: reached only via thunk 0x5c7ee0, which Entity_Player::UseActiveItem passes to + Entity_Effect::CreateTimer (mov ecx,0x5c7ee0 at 0x5c3855) in case COLLECTIBLE_R_KEY + (use_dispatch.tsv 005c383b); Game::ResetState, reseeds, Level::SetNextStage/Init, + Game::SaveBackwardsStage, StartRoomTransition */ + +void r_key_timer_callback(void) { byte bVar1; @@ -426508,38 +427221,37 @@ void FUN_00707ad0(void) Manager *pMVar4; char cVar5; uint uVar6; - undefined4 uVar7; - uint uVar8; - void *pvVar9; - uint uVar10; - int iVar11; - float fVar12; + uint uVar7; + void *pvVar8; + uint uVar9; + int iVar10; + float fVar11; uint uStack_28; int *local_24; this = g_game; Game::ResetState(g_game); - uVar10 = 0; + uVar9 = 0; while( true ) { - uVar6 = -(uint)(uVar10 != 0) & uVar10; - uVar8 = 0xd; + uVar6 = -(uint)(uVar9 != 0) & uVar9; + uVar7 = 0xd; if (uVar6 < 0xd) { - uVar8 = uVar6; + uVar7 = uVar6; } - uVar6 = *(uint *)((int)(&this->_itemPool + 2) + uVar8 * 4 + 0x514); + uVar6 = (this->_seedEffects)._stageSeeds[uVar7]; if (uVar6 == 0) break; - uVar10 = uVar10 + 1; + uVar9 = uVar9 + 1; uVar6 = uVar6 >> 5 ^ uVar6; uVar6 = uVar6 << 0xf ^ uVar6; - *(uint *)((int)(&this->_itemPool + 2) + uVar8 * 4 + 0x514) = uVar6 >> 0x11 ^ uVar6; - if (0xd < uVar10) { - iVar11 = this->_stage; - if ((0 < iVar11) && ((6 < iVar11 || ((g_game->_gameStateFlags & 0x1000000000000) == 0)))) { + (this->_seedEffects)._stageSeeds[uVar7] = uVar6 >> 0x11 ^ uVar6; + if (0xd < uVar9) { + iVar10 = this->_stage; + if ((0 < iVar10) && ((6 < iVar10 || ((g_game->_gameStateFlags & 0x1000000000000) == 0)))) { if ((this->_stageType == 4) || (this->_stageType == 5)) { - iVar11 = iVar11 + 1; + iVar10 = iVar10 + 1; } - if (iVar11 < 8) { - Game::SaveBackwardsStage(iVar11); + if (iVar10 < 8) { + Game::SaveBackwardsStage(iVar10); } } pMVar4 = g_manager; @@ -426548,12 +427260,12 @@ void FUN_00707ad0(void) this->_stageType = 0; pMVar4->field_0x21c10 = 0; if ((pGVar3->_difficulty == 2) || (pGVar3->_difficulty == 3)) { - uVar7 = 0xfffffffd; + iVar10 = -3; } else { - uVar7 = 0; + iVar10 = 0; } - *(undefined4 *)&pMVar4->field_0x21994 = uVar7; + (pMVar4->_nightmareScene)._stageBarIcons[0] = iVar10; if ((((pGVar3->_difficulty == 2) || (pGVar3->_difficulty == 3)) || (6 < this->_stage)) || ((this->_stageType != 4 && (this->_stageType != 5)))) { pGVar3->_bossRushParTime = 36000; @@ -426565,8 +427277,8 @@ void FUN_00707ad0(void) Level::Init(1); pGVar3 = g_game; if (*(int *)&this->_roomTransition != 0) { - iVar11 = (this->_roomTransition)._animation; - if (((iVar11 == 3) || (iVar11 == 0xc)) || ((iVar11 == 0xd || (iVar11 == 0xb)))) { + iVar10 = (this->_roomTransition)._animation; + if (((iVar10 == 3) || (iVar10 == 0xc)) || ((iVar10 == 0xd || (iVar10 == 0xb)))) { Game::StartRoomTransition (this->_startingRoomIdx,0xffffffff,3, (g_game->_playerManager)._roomTransitionPlayer,0xffffffff); @@ -426575,23 +427287,23 @@ void FUN_00707ad0(void) (this->_roomTransition)._frame = 0; *(undefined4 *)&(this->_roomTransition).field_0xc = 0; *(undefined4 *)&this->_roomTransition = 0; - *(undefined4 *)&(this->_roomTransition).field_0x10 = 0; + (this->_roomTransition)._direction = 0; (this->_roomTransition)._animation = 0; *(undefined4 *)&(this->_roomTransition).field_0x20 = 0; (this->_roomTransition)._flags = 0; (pGVar3->_playerManager)._roomTransitionPlayer = (void *)0x0; } } - pvVar9 = (this->_playerManager)._playerList._end; + pvVar8 = (this->_playerManager)._playerList._end; local_24 = (this->_playerManager)._playerList._begin; uStack_28 = 0; - if ((int)pvVar9 - (int)local_24 >> 2 != 0) { + if ((int)pvVar8 - (int)local_24 >> 2 != 0) { do { - if ((int)pvVar9 - (int)local_24 >> 2 == 0) { + if ((int)pvVar8 - (int)local_24 >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - if (uStack_28 < (uint)((int)pvVar9 - (int)local_24 >> 2)) { + if (uStack_28 < (uint)((int)pvVar8 - (int)local_24 >> 2)) { local_24 = local_24 + uStack_28; } pEVar2 = (Entity_Player *)*local_24; @@ -426603,10 +427315,10 @@ void FUN_00707ad0(void) (pEVar2->_queuedItem)._charge = 0; (pEVar2->_queuedItem)._flags = 0; *(undefined4 *)&pEVar2->field_0x17d0 = 0; - pvVar9 = (this->_playerManager)._playerList._end; + pvVar8 = (this->_playerManager)._playerList._end; local_24 = (this->_playerManager)._playerList._begin; uStack_28 = uStack_28 + 1; - } while (uStack_28 < (uint)((int)pvVar9 - (int)local_24 >> 2)); + } while (uStack_28 < (uint)((int)pvVar8 - (int)local_24 >> 2)); } bVar1 = this->_isInstantFadeIn; (this->_fadeInColor)._red = 0.0; @@ -426615,19 +427327,19 @@ void FUN_00707ad0(void) (this->_fadeInColor)._alpha = 1.0; (this->_fadeInColor)._unk = 0; if (bVar1 == 0) { - fVar12 = 1.0; + fVar11 = 1.0; } else { - fVar12 = 1e-05; + fVar11 = 1e-05; } - (this->_fadeInColor)._alpha = fVar12; + (this->_fadeInColor)._alpha = fVar11; this->_fadeSpeed = 0.04; this->_isFadeInIconShown = 1; if (local_24 != (this->_playerManager)._playerList._end) { do { - iVar11 = *local_24; + iVar10 = *local_24; local_24 = local_24 + 1; - *(undefined1 *)(iVar11 + 0x410) = 0; + *(undefined1 *)(iVar10 + 0x410) = 0; } while (local_24 != (this->_playerManager)._playerList._end); } return; @@ -426736,8 +427448,8 @@ int * spawn_chain_lightning void Game::SaveBackwardsStage(int stage) { - uint uVar1; - int iVar2; + int iVar1; + uint uVar2; Game *pGVar3; int iVar4; RoomDescriptor *pRVar5; @@ -426748,17 +427460,17 @@ void Game::SaveBackwardsStage(int stage) /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Invalid backwards path stage ID"); } - iVar2 = stage * 800 + 0x6746c; - *(undefined4 *)((int)(g_game->_glowingHourglassStates + 2) + stage * 800 + 0x143c) = 0; - *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x1440) = pGVar3->_stageType; - *(undefined4 *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x1438) = 1; + *(int *)((int)(g_game->_glowingHourglassStates + 2) + (stage * 200 + 0x35) * 4) = 0; + *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0x36) * 4) = + pGVar3->_stageType; + *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0x34) * 4) = 1; GameState::copy_room_list(pGVar3->_roomList + pGVar3->_lastBossRoomListIdx); - if (*(int *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x1138) != 0) { + iVar4 = pGVar3->_glowingHourglassStates[1]._eventCounters[stage * 200 + 0x17f]; + if (iVar4 != 0) { Level::write_room_config - (*(int *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x1138), - (undefined1 *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x1298),0); + (iVar4,pGVar3->_glowingHourglassStates[1]._eventCounters + stage * 200 + 0x1d7,0); } - *(undefined4 *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x1138) = 0; + pGVar3->_glowingHourglassStates[1]._eventCounters[stage * 200 + 0x17f] = 0; local_8 = 0; if (0 < pGVar3->_nbRooms) { pRVar5 = pGVar3->_roomList; @@ -426767,55 +427479,53 @@ void Game::SaveBackwardsStage(int stage) iVar4 = *(int *)((int)pRVar5->Data + 8); if (iVar4 == 5) { if ((local_8 != pGVar3->_lastBossRoomListIdx) && - (*(uint *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x1438) < 2)) { + ((uint)*(int *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0x34) * 4) + < 2)) { GameState::copy_room_list(pRVar5); - iVar4 = *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x1438); - if (*(int *)((int)(pGVar3->_glowingHourglassStates + 2) + - iVar4 * 0xb8 + iVar2 + -0x66334) != 0) { + iVar4 = *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0x34) * 4); + iVar1 = pGVar3->_glowingHourglassStates[1]._eventCounters + [stage * 200 + iVar4 * 0x2e + 0x17f]; + if (iVar1 != 0) { Level::write_room_config - (*(int *)((int)(pGVar3->_glowingHourglassStates + 2) + - iVar4 * 0xb8 + iVar2 + -0x66334), - (undefined1 *) - ((int)(pGVar3->_glowingHourglassStates + 2) + - iVar4 * 0xc + iVar2 + -0x661d4),0); - iVar4 = *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x1438); + (iVar1,pGVar3->_glowingHourglassStates[1]._eventCounters + + stage * 200 + iVar4 * 3 + 0x1d7,0); + iVar4 = *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0x34) * 4 + ); } - *(undefined4 *) - ((int)(pGVar3->_glowingHourglassStates + 2) + iVar4 * 0xb8 + iVar2 + -0x66334) = 0; - *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x1438) = - *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x1438) + 1; + pGVar3->_glowingHourglassStates[1]._eventCounters[stage * 200 + iVar4 * 0x2e + 0x17f] = + 0; + *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0x34) * 4) = + *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0x34) * 4) + 1 + ; } } else if ((iVar4 == 4) && - (*(uint *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x143c) < 2)) - { + ((uint)*(int *)((int)(pGVar3->_glowingHourglassStates + 2) + + (stage * 200 + 0x35) * 4) < 2)) { GameState::copy_room_list(pRVar5); - iVar4 = *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x143c); - if (*(int *)((int)(pGVar3->_glowingHourglassStates + 2) + iVar4 * 0xb8 + iVar2 + -0x661ac) - != 0) { + iVar4 = *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0x35) * 4); + iVar1 = pGVar3->_glowingHourglassStates[1]._eventCounters + [stage * 200 + iVar4 * 0x2e + 0x1e1]; + if (iVar1 != 0) { Level::write_room_config - (*(int *)((int)(pGVar3->_glowingHourglassStates + 2) + - iVar4 * 0xb8 + iVar2 + -0x661ac), - (undefined1 *) - ((int)(pGVar3->_glowingHourglassStates + 2) + iVar4 * 0xc + iVar2 + -0x6604c) - ,0); - iVar4 = *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x143c); + (iVar1,(int *)((int)(pGVar3->_glowingHourglassStates + 2) + + (stage * 200 + iVar4 * 3 + 0x2e) * 4),0); + iVar4 = *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0x35) * 4); } - *(undefined4 *) - ((int)(pGVar3->_glowingHourglassStates + 2) + iVar4 * 0xb8 + iVar2 + -0x661ac) = 0; - *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x143c) = - *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x143c) + 1; + pGVar3->_glowingHourglassStates[1]._eventCounters[stage * 200 + iVar4 * 0x2e + 0x1e1] = 0; + *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0x35) * 4) = + *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0x35) * 4) + 1; } } local_8 = local_8 + 1; pRVar5 = pRVar5 + 1; } while (local_8 < pGVar3->_nbRooms); } - uVar1 = *(uint *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x1438); - *(bool *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x1444) = 1 < uVar1; - if ((1 < uVar1) && (stage < 7)) { - *(undefined4 *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x1758) = 0; - *(undefined4 *)((int)(pGVar3->_glowingHourglassStates + 2) + stage * 800 + 0x175c) = 0; + uVar2 = *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0x34) * 4); + *(bool *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0x37) * 4) = 1 < uVar2; + if ((1 < uVar2) && (stage < 7)) { + *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0xfc) * 4) = 0; + *(int *)((int)(pGVar3->_glowingHourglassStates + 2) + (stage * 200 + 0xfd) * 4) = 0; } return; } @@ -426935,11 +427645,10 @@ void FUN_00708430(undefined4 param_1,undefined4 param_2,int param_3) KAGE::SmartPointer, init_room_render_surfaces, recenters a HUD element from g_screenWidth/Height, Game::create_render_surfaces, ModManager::create_shader_render_targets */ -void Game::recreate_render_targets(void) +void __thiscall Game::recreate_render_targets(Game *this) { - int iVar1; - int in_ECX; + void *pvVar1; undefined4 extraout_ECX; undefined4 extraout_ECX_00; undefined4 extraout_ECX_01; @@ -426962,7 +427671,7 @@ void Game::recreate_render_targets(void) float fVar3; FUN_0082ed00(); - iVar1 = *(int *)(in_ECX + 0x18300); + pvVar1 = this->_room; KAGE::SmartPointer::reset(extraout_ECX); KAGE::SmartPointer::reset(extraout_ECX_00); KAGE::SmartPointer::reset(extraout_ECX_01); @@ -426978,9 +427687,9 @@ void Game::recreate_render_targets(void) init_room_render_surfaces(); fVar3 = g_screenWidth - 338.0; fVar2 = g_screenHeight - 182.0; - *(undefined1 *)(iVar1 + 0x11f6) = 1; - *(float *)(iVar1 + 0x11fc) = fVar3 * 0.5 - 52.0; - *(float *)(iVar1 + 0x1200) = fVar2 * 0.5 - 52.0; + *(undefined1 *)((int)pvVar1 + 0x11f6) = 1; + *(float *)((int)pvVar1 + 0x11fc) = fVar3 * 0.5 - 52.0; + *(float *)((int)pvVar1 + 0x1200) = fVar2 * 0.5 - 52.0; KAGE::SmartPointer::reset(extraout_ECX_11); KAGE::SmartPointer::reset(extraout_ECX_12); KAGE::SmartPointer::reset(extraout_ECX_13); @@ -428546,7 +429255,7 @@ GridEntity::hurt_func float *pfVar12; undefined4 uVar13; undefined4 uVar14; - undefined4 *puVar15; + StringTable *pSVar15; int *piVar16; ChallengeParam *pCVar17; int iVar18; @@ -428554,22 +429263,17 @@ GridEntity::hurt_func int extraout_EDX; qword *pqVar20; EntityPtr this_00; - RNG RVar21; - uint uVar22; - int iVar23; + uint uVar21; + int iVar22; + float fVar23; float fVar24; - float fVar25; float in_XMM2_Da; undefined4 local_68; int local_64; RNG local_40; - undefined8 local_3c; - undefined4 local_34; undefined1 local_30 [4]; GridEntity_Spikes *local_2c; RNG local_28; - undefined8 local_24; - uint local_1c; float local_18; void *local_10; undefined1 *puStack_c; @@ -428582,15 +429286,15 @@ GridEntity::hurt_func if (((param_6._0_1_ == '\0') && ((((iVar11 = param_2->_entityGridCollisionClass, iVar11 == 0 || (iVar11 == 3)) || (iVar11 == 1)) || (iVar11 == 2)))) || - (((uVar22 = (uint)param_4 & 0x80, uVar22 != 0 && ((param_2->_flags & 0x80000) != 0)) || + (((uVar21 = (uint)param_4 & 0x80, uVar21 != 0 && ((param_2->_flags & 0x80000) != 0)) || ((iVar11 = param_2->_type, iVar11 == 0x362 || (iVar11 == 0x322)))))) { return; } - local_1c = (uint)param_4 & 2; + local_28._shift3 = (uint)param_4 & 2; ppvVar6 = &local_10; local_2c = (GridEntity_Spikes *)this; local_18 = in_XMM2_Da; - if (local_1c != 0) { + if (local_28._shift3 != 0) { if (iVar11 == 0x36) { return; } @@ -428616,7 +429320,7 @@ GridEntity::hurt_func ExceptionList = local_10; return; } - if (((uVar22 != 0) && (iVar11 == 1)) && (param_6._0_1_ == '\0')) { + if (((uVar21 != 0) && (iVar11 == 1)) && (param_6._0_1_ == '\0')) { bVar7 = Entity_Player::HasTrinket(param_2,0xe,0); if (bVar7 != 0) { ExceptionList = local_10; @@ -428660,7 +429364,7 @@ GridEntity::hurt_func local_18 = local_18 * 0.5; } } - if ((param_2->_type == 1) && (uVar22 != 0)) { + if ((param_2->_type == 1) && (uVar21 != 0)) { color._alpha = 1.0; color._red = 0.47058824; color._green = 0.0; @@ -428678,17 +429382,17 @@ GridEntity::hurt_func ExceptionList = local_10; return; } - if (local_1c != 0) { + if (local_28._shift3 != 0) { param_6 = param_2->_health * 0.05 + 0.5; SoundEffects::PlayWithFartOverride(0x2b,2,0,0x3f800000); } pfVar12 = (float *)Position(this,¶m_4); param_4 = (param_2->_pos).x - *pfVar12; param_5 = (param_2->_pos).y - pfVar12[1]; - pfVar12 = (float *)Vector::Normalized((int)&local_24 + 4); - fVar24 = pfVar12[1]; + pfVar12 = (float *)Vector::Normalized(&local_28._shift2); + fVar23 = pfVar12[1]; (param_2->_velocity).x = *pfVar12 * 4.0 + (param_2->_velocity).x; - (param_2->_velocity).y = fVar24 * 4.0 + (param_2->_velocity).y; + (param_2->_velocity).y = fVar23 * 4.0 + (param_2->_velocity).y; iVar11 = (this->_desc)._type; if (iVar11 != 8) { if (iVar11 != 0x1c) { @@ -428705,15 +429409,16 @@ GridEntity::hurt_func return; } } - if (uVar22 == 0) { + if (uVar21 == 0) { ExceptionList = local_10; return; } piVar16 = &(this->_desc)._varData; *piVar16 = *piVar16 + 1; - local_40 = (RNG)(this->_desc)._spawnSeed; - local_3c = 0x900000005; - local_34 = 7; + local_40._seed = (this->_desc)._spawnSeed; + local_40._shift1 = 5; + local_40._shift2 = 9; + local_40._shift3 = 7; if ((((this->_desc)._varData < 2) && (uVar9 = RNG::RandomInt(&local_40,2), uVar9 != 0)) && (iVar11 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x38), iVar11 < 3)) { ExceptionList = local_10; @@ -428723,39 +429428,39 @@ GridEntity::hurt_func ExceptionList = local_10; return; } - iVar23 = 0; + iVar22 = 0; iVar11 = this->_gridIndex; iVar1 = *(int *)((int)g_game->_room + 0xc); param_6 = 3.4028235e+38; EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); - iVar5 = (int)local_24; + iVar5 = local_28._shift1; uVar9 = 0; local_8 = 1; - if (local_1c != 0) { + if (local_28._shift3 != 0) { do { iVar18 = __RTDynamicCast(*(undefined4 *)(iVar5 + uVar9 * 4),0, &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor,0); this = (GridEntity *)local_2c; if (((iVar18 != 0) && (*(int *)(iVar18 + 0x534) == -10)) && - (fVar24 = *(float *)(iVar18 + 0x33c) - ((float)(iVar11 % iVar1) * 40.0 + 40.0), - fVar25 = *(float *)(iVar18 + 0x340) - ((float)(iVar11 / iVar1) * 40.0 + 120.0), - fVar24 = fVar25 * fVar25 + fVar24 * fVar24, fVar24 < param_6)) { - iVar23 = iVar18; - param_6 = fVar24; + (fVar23 = *(float *)(iVar18 + 0x33c) - ((float)(iVar11 % iVar1) * 40.0 + 40.0), + fVar24 = *(float *)(iVar18 + 0x340) - ((float)(iVar11 / iVar1) * 40.0 + 120.0), + fVar23 = fVar24 * fVar24 + fVar23 * fVar23, fVar23 < param_6)) { + iVar22 = iVar18; + param_6 = fVar23; } uVar9 = uVar9 + 1; - } while (uVar9 < local_1c); - if (iVar23 != 0) { + } while (uVar9 < (uint)local_28._shift3); + if (iVar22 != 0) { Entity_Pickup::update_price_sprite(0); - *(undefined1 *)(iVar23 + 0x538) = 0; - if (*(int *)(iVar23 + 0x2c) == 100) { - *(undefined4 *)(iVar23 + 0x584) = 1; + *(undefined1 *)(iVar22 + 0x538) = 0; + if (*(int *)(iVar22 + 0x2c) == 100) { + *(undefined4 *)(iVar22 + 0x584) = 1; } } } GridEntity_Spikes::unsummon((GridEntity_Spikes *)this,0); - if (local_28._0_1_ != '\0') { + if ((char)local_28._seed != '\0') { ExceptionList = local_10; return; } @@ -428765,15 +429470,15 @@ GridEntity::hurt_func else { pqVar20 = (qword *)((int)g_mainHeap + 0x30); } - if ((int)local_24 == 0) { + if (local_28._shift1 == 0) { ExceptionList = local_10; return; } - uVar9 = *(uint *)((int)local_24 + -4); + uVar9 = *(uint *)(local_28._shift1 + -4); qVar2 = *pqVar20; *(uint *)pqVar20 = (uint)*pqVar20 - uVar9; *(uint *)((int)pqVar20 + 4) = *(uint *)((int)pqVar20 + 4) - (uint)((uint)qVar2 < uVar9); - free((uint *)((int)local_24 + -4)); + free((uint *)(local_28._shift1 + -4)); ExceptionList = local_10; return; } @@ -428787,7 +429492,7 @@ GridEntity::hurt_func return; } } - if (uVar22 == 0) { + if (uVar21 == 0) { ExceptionList = local_10; return; } @@ -428808,55 +429513,56 @@ GridEntity::hurt_func (this_00 = pEVar10->_twinPlayer, pEVar10->_twinPlayer == (EntityPtr)0x0)) { this_00 = (EntityPtr)pEVar10; } - local_28 = (RNG)RNG::Next(&this->_rng); + local_28._seed = RNG::Next(&this->_rng); iVar11 = (this->_desc)._varData; - local_1c = 0x13; + local_28._shift3 = 0x13; (this->_desc)._varData = iVar11 + 1; - local_24 = 0x500000001; + local_28._shift1 = 1; + local_28._shift2 = 5; if (99 < (uint)(this->_desc)._variant) { param_6 = RNG::RandomFloat(&local_28); if (param_6 < 0.15) { iVar11 = 6; - RVar21 = local_28; + uVar9 = local_28._seed; do { - if (RVar21 == (RNG)0x0) { + if (uVar9 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar21 >> ((byte)local_24 & 0x1f) ^ (uint)RVar21; - uVar9 = uVar9 << ((byte)((ulonglong)local_24 >> 0x20) & 0x1f) ^ uVar9; - RVar21 = (RNG)(uVar9 >> ((byte)local_1c & 0x1f) ^ uVar9); + uVar9 = uVar9 >> ((byte)local_28._shift1 & 0x1f) ^ uVar9; + uVar9 = uVar9 << ((byte)local_28._shift2 & 0x1f) ^ uVar9; + uVar9 = uVar9 >> ((byte)local_28._shift3 & 0x1f) ^ uVar9; iVar1 = *(int *)((int)g_game->_room + 0xc); param_4 = (float)(this->_gridIndex % iVar1) * 40.0 + 40.0; param_5 = (float)(this->_gridIndex / iVar1) * 40.0 + 120.0; uVar13 = Room::FindFreePickupSpawnPosition(local_30,¶m_4,0,0,0,0); - Game::Spawn(5,0x14,uVar13,&g_vectorZero,0,1,RVar21); + Game::Spawn(5,0x14,uVar13,&g_vectorZero,0,1,uVar9); iVar11 = iVar11 + -1; } while (iVar11 != 0); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; } if (0.48 <= param_6) { if (param_6 < 0.58) { iVar11 = 2; - RVar21 = local_28; + uVar9 = local_28._seed; do { - if (RVar21 == (RNG)0x0) { + if (uVar9 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar21 >> ((byte)local_24 & 0x1f) ^ (uint)RVar21; - uVar9 = uVar9 << ((byte)((ulonglong)local_24 >> 0x20) & 0x1f) ^ uVar9; - RVar21 = (RNG)(uVar9 >> ((byte)local_1c & 0x1f) ^ uVar9); + uVar9 = uVar9 >> ((byte)local_28._shift1 & 0x1f) ^ uVar9; + uVar9 = uVar9 << ((byte)local_28._shift2 & 0x1f) ^ uVar9; + uVar9 = uVar9 >> ((byte)local_28._shift3 & 0x1f) ^ uVar9; iVar1 = *(int *)((int)g_game->_room + 0xc); param_4 = (float)(this->_gridIndex % iVar1) * 40.0 + 40.0; param_5 = (float)(this->_gridIndex / iVar1) * 40.0 + 120.0; uVar13 = Room::FindFreePickupSpawnPosition(local_30,¶m_4,0,0,0,0); - Game::Spawn(5,10,uVar13,&g_vectorZero,0,6,RVar21); + Game::Spawn(5,10,uVar13,&g_vectorZero,0,6,uVar9); iVar11 = iVar11 + -1; } while (iVar11 != 0); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; } @@ -428869,14 +429575,14 @@ GridEntity::hurt_func } if ((param_6 < 0.65) && (this_00 != (EntityPtr)0x0)) { Entity_Player::IncrementPlayerFormCounter((Entity_Player *)this_00,8,3); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; } } else if (this_00 != (EntityPtr)0x0) { TemporaryEffects::AddCollectibleEffect((TemporaryEffects *)((int)this_00 + 0x1508),0x2b4,0,1); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; } @@ -428893,7 +429599,7 @@ GridEntity::hurt_func param_5 = 340.0; uVar13 = Room::FindFreePickupSpawnPosition(local_30,¶m_4,0,0,0,0); Game::Spawn(5,0x28,uVar13,&g_vectorZero,0,1,uVar9); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; } @@ -428904,7 +429610,7 @@ GridEntity::hurt_func param_5 = 340.0; uVar13 = Room::FindFreePickupSpawnPosition(local_30,¶m_4,0,0,0,0); Game::Spawn(5,0x14,uVar13,&g_vectorZero,0,1,uVar9); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; } @@ -428912,7 +429618,7 @@ GridEntity::hurt_func case 2: uVar9 = RNG::RandomInt(&local_28,2); if (uVar9 == 0) { - fVar24 = g_game->_angelRoomChance + 0.15; + fVar23 = g_game->_angelRoomChance + 0.15; goto LAB_0070a7f1; } break; @@ -428924,32 +429630,32 @@ GridEntity::hurt_func uVar9 = RNG::RandomInt(&local_28,2); if (uVar9 != 0) { iVar11 = 3; - RVar21 = local_28; + uVar9 = local_28._seed; do { - if (RVar21 == (RNG)0x0) { + if (uVar9 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar21 >> ((byte)local_24 & 0x1f) ^ (uint)RVar21; + uVar9 = uVar9 >> ((byte)local_28._shift1 & 0x1f) ^ uVar9; param_4 = 320.0; - uVar9 = uVar9 << ((byte)((ulonglong)local_24 >> 0x20) & 0x1f) ^ uVar9; + uVar9 = uVar9 << ((byte)local_28._shift2 & 0x1f) ^ uVar9; param_5 = 340.0; - RVar21 = (RNG)(uVar9 >> ((byte)local_1c & 0x1f) ^ uVar9); + uVar9 = uVar9 >> ((byte)local_28._shift3 & 0x1f) ^ uVar9; uVar13 = Room::FindFreePickupSpawnPosition(local_30,¶m_4,0,0,0,0); - Game::Spawn(5,0x14,uVar13,&g_vectorZero,0,1,RVar21); + Game::Spawn(5,0x14,uVar13,&g_vectorZero,0,1,uVar9); iVar11 = iVar11 + -1; } while (iVar11 != 0); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; } - fVar24 = g_game->_angelRoomChance + 0.5; + fVar23 = g_game->_angelRoomChance + 0.5; LAB_0070a7f1: - puVar15 = &g_manager->_stringTable; - g_game->_angelRoomChance = fVar24; - uVar13 = string_table_translate(puVar15,"#YOU_FEEL_BLESSED"); + pSVar15 = &g_manager->_stringTable; + g_game->_angelRoomChance = fVar23; + uVar13 = string_table_translate(pSVar15,"#YOU_FEEL_BLESSED"); HUD::show_fortune_text_impl(uVar13); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; case 5: @@ -428960,7 +429666,7 @@ LAB_0070a7f1: g_game->_leaveDoor = -1; Level::InitializeDevilAngelRoom((Level *)pGVar3,0,0); Game::StartRoomTransition(0xffffffff,0xffffffff,3,pEVar10,0xffffffff); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; } @@ -428970,7 +429676,7 @@ LAB_0070a846: param_5 = 340.0; uVar13 = Room::FindFreePickupSpawnPosition(local_30,¶m_4,0,0,0,0); Game::Spawn(5,0x32,uVar13,&g_vectorZero,0,0,uVar9); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; case 6: @@ -428978,8 +429684,8 @@ LAB_0070a846: if (uVar9 == 0) { uVar9 = RNG::Next(&local_28); pGVar3 = g_game; - uVar22 = RNG::Next(&local_28); - uVar13 = ItemPool::GetCollectible(&pGVar3->_itemPool,4,uVar22,0,0,0); + uVar21 = RNG::Next(&local_28); + uVar13 = ItemPool::GetCollectible(&pGVar3->_itemPool,4,uVar21,0,0,0); param_4 = 320.0; param_5 = 340.0; uVar14 = Room::FindFreePickupSpawnPosition(local_30,¶m_4,0,0,0,0); @@ -428993,7 +429699,7 @@ LAB_0070a846: param_5 = 340.0; uVar13 = Room::FindFreePickupSpawnPosition(local_30,¶m_4,0,0,0,0); Game::Spawn(5,10,uVar13,&g_vectorZero,0,3,uVar9); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; } @@ -429005,12 +429711,12 @@ LAB_0070a846: } LAB_0070ab5f: Game::Spawn(5,100,uVar14,&g_vectorZero,0,uVar13,uVar9); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; case 7: *(undefined4 *)((int)g_game->_room + 0x7230) = 0x23; - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; case 8: @@ -429024,42 +429730,42 @@ LAB_0070ab5f: uVar9 = RNG::RandomInt(&local_28,2); if (uVar9 != 0) { iVar11 = 0x1e; - RVar21 = local_28; + uVar9 = local_28._seed; do { - if (RVar21 == (RNG)0x0) { + if (uVar9 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar21 >> ((byte)local_24 & 0x1f) ^ (uint)RVar21; + uVar9 = uVar9 >> ((byte)local_28._shift1 & 0x1f) ^ uVar9; param_4 = 320.0; - uVar9 = uVar9 << ((byte)((ulonglong)local_24 >> 0x20) & 0x1f) ^ uVar9; + uVar9 = uVar9 << ((byte)local_28._shift2 & 0x1f) ^ uVar9; param_5 = 340.0; - RVar21 = (RNG)(uVar9 >> ((byte)local_1c & 0x1f) ^ uVar9); + uVar9 = uVar9 >> ((byte)local_28._shift3 & 0x1f) ^ uVar9; uVar13 = Room::FindFreePickupSpawnPosition(local_30,¶m_4,0,0,0,0); - Game::Spawn(5,0x14,uVar13,&g_vectorZero,0,1,RVar21); + Game::Spawn(5,0x14,uVar13,&g_vectorZero,0,1,uVar9); iVar11 = iVar11 + -1; } while (iVar11 != 0); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; } iVar11 = 7; - RVar21 = local_28; + uVar9 = local_28._seed; do { - if (RVar21 == (RNG)0x0) { + if (uVar9 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar21 >> ((byte)local_24 & 0x1f) ^ (uint)RVar21; + uVar9 = uVar9 >> ((byte)local_28._shift1 & 0x1f) ^ uVar9; param_4 = 320.0; - uVar9 = uVar9 << ((byte)((ulonglong)local_24 >> 0x20) & 0x1f) ^ uVar9; + uVar9 = uVar9 << ((byte)local_28._shift2 & 0x1f) ^ uVar9; param_5 = 340.0; - RVar21 = (RNG)(uVar9 >> ((byte)local_1c & 0x1f) ^ uVar9); + uVar9 = uVar9 >> ((byte)local_28._shift3 & 0x1f) ^ uVar9; uVar13 = Room::FindFreePickupSpawnPosition(local_30,¶m_4,0,0,0,0); - Game::Spawn(5,10,uVar13,&g_vectorZero,0,3,RVar21); + Game::Spawn(5,10,uVar13,&g_vectorZero,0,3,uVar9); iVar11 = iVar11 + -1; } while (iVar11 != 0); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; case 10: @@ -429071,7 +429777,7 @@ LAB_0070ab5f: LAB_0070ac10: piVar16 = (int *)Game::Spawn(uVar14,0,uVar13,&g_vectorZero,0,0,uVar9); (**(code **)(*piVar16 + 0xc))(); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; default: @@ -429086,7 +429792,7 @@ LAB_0070ac10: ((g_manager->_state != 2 || (pGVar3->_isDebug == 0)))))))) { iVar11 = 0xb; } - if (pCVar17->field_0x7f != '\0') { + if (pCVar17->_isPathTypeSet != 0) { if (pCVar17->_pathType == 1) break; if (pCVar17->_endStage != 0) { iVar11 = pCVar17->_endStage; @@ -429097,7 +429803,7 @@ LAB_0070ac10: if ((pGVar3->_stage == 0xb) && (pGVar3->_stageType == 0)) { pGVar3->_leaveDoor = -1; Game::StartRoomTransition(pGVar3->_startingRoomIdx,0xffffffff,3,pEVar10,0); - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; } @@ -429111,7 +429817,7 @@ LAB_0070ac10: } } LAB_0070af38: - (this->_desc)._variableSeed = (int)this->_rng; + (this->_desc)._variableSeed = (this->_rng)._seed; ExceptionList = local_10; return; } @@ -429518,7 +430224,7 @@ GridEntity * __thiscall GridEntity::InitSubclass(GridEntity *this,byte param_2) local_8 = 1; ANM2::Reset((ANM2 *)(this + 1)); AnimationState::~AnimationState((AnimationState *)&this[1]._sprite._filename._size); - AnimationState::~AnimationState((AnimationState *)&this[1].field_0x30); + AnimationState::~AnimationState((AnimationState *)&this[1]._rng._shift1); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); *(undefined ***)this = IsaacRepentancePlus::GridEntity::vftable; @@ -430184,7 +430890,7 @@ void __thiscall GridEntity_Door::Update(GridEntity_Door *this) goto LAB_0070c6c5; } LAB_0070c6cb: - if ((this->field_0x3a0 & 0x10) != 0) goto LAB_0070c737; + if ((this->_doorFlags & 0x10) != 0) goto LAB_0070c737; if ((this->_targetRoomIdx == -7) || (g_game->_currentRoomIdx == -7)) { LAB_0070c718: if (((this->_sprite)._animState._animData == (void *)0x0) || @@ -430220,7 +430926,7 @@ LAB_0070c737: local_c4 = (float)dVar25; if ((int)dVar25 == 2) { local_c4 = 6.44597e-44; - if ((this->field_0x3a0 & 8) == 0) { + if ((this->_doorFlags & 8) == 0) { local_c4 = 4.90454e-44; } seed_fart_sound_override(); @@ -430228,7 +430934,7 @@ LAB_0070c737: } } } - uVar23 = *(uint *)&this->field_0x3a0; + uVar23 = this->_doorFlags; uVar14 = uVar23 & 0xff; if (((uVar23 & 8) != 0) && ((this->_desc)._state == 2)) { psVar13 = &this->_openAnimation; @@ -430245,12 +430951,12 @@ LAB_0070c871: else { pvVar4 = (this->_sprite)._animState._animData; if ((pvVar4 == (void *)0x0) || - (uVar14 = *(uint *)&this->field_0x3a0 & 0xff, *(char *)((int)pvVar4 + 0x34) == '\0')) { - local_c5 = (byte)*(uint *)&this->field_0x3a0; + (uVar14 = this->_doorFlags & 0xff, *(char *)((int)pvVar4 + 0x34) == '\0')) { + local_c5 = (byte)this->_doorFlags; iVar12 = ANM2::GetFrame(&this->_sprite); if (iVar12 != 2) goto LAB_0070c871; FUN_0070bfa0(0x2f,10,uVar26,0x3f800000); - uVar14 = (uint)(byte)this->field_0x3a0; + uVar14 = (uint)(byte)this->_doorFlags; } } } @@ -430318,7 +431024,7 @@ LAB_0070c9b8: (local_c5 = '\x01', this->_currentRoomType != 1)) { local_c5 = '\0'; } - if ((((this->field_0x3a0 & 4) != 0) && (uVar23 = this->_direction, uVar23 < 4)) && + if ((((this->_doorFlags & 4) != 0) && (uVar23 = this->_direction, uVar23 < 4)) && ((this->_desc)._varData == 0)) { local_88[0] = -43.0; local_88[1] = -20.0; @@ -430373,7 +431079,7 @@ LAB_0070c9b8: (int)(g_game->_playerManager)._playerList._begin >> 2)); } } - if (((this->_targetRoomType == 0xb) && ((this->field_0x3a0 & 8) != 0)) && + if (((this->_targetRoomType == 0xb) && ((this->_doorFlags & 8) != 0)) && (((this->_isBusted == 0 && ((this->_currentRoomType != 0x1d && ((*(uint *)(*(int *)((int)g_game->_room + 4) + 0x44) >> 10 & 1) == 0)))) && @@ -430444,17 +431150,18 @@ LAB_0070c9b8: uStack_94 = 0; uStack_90 = 0; uStack_8c = 0; - if ((undefined4 *)&pLVar20->field_0x48 != auStack_b4) { - *(undefined4 *)&pLVar20->field_0x48 = 0x3f800000; - *(undefined4 *)&pLVar20->field_0x4c = 0x3f800000; - *(undefined4 *)&pLVar20->field_0x50 = 0x3f800000; - *(undefined4 *)&pLVar20->field_0x54 = 0x3f800000; - *(undefined8 *)&pLVar20->field_0x68 = 0; - *(undefined4 *)&pLVar20->field_0x58 = 0x3f4ccccd; - *(undefined4 *)&pLVar20->field_0x5c = 0x3f8ccccd; - *(undefined4 *)&pLVar20->field_0x60 = 0x3fe66666; - *(undefined4 *)&pLVar20->field_0x64 = 0x3f4ccccd; - *(undefined4 *)&pLVar20->field_0x70 = 0; + if (&pLVar20->_color != (ColorMod *)auStack_b4) { + (pLVar20->_color)._tint[0] = 1.0; + (pLVar20->_color)._tint[1] = 1.0; + (pLVar20->_color)._tint[2] = 1.0; + (pLVar20->_color)._tint[3] = 1.0; + (pLVar20->_color)._offset[0] = 0.0; + (pLVar20->_color)._offset[1] = 0.0; + (pLVar20->_color)._colorize[0] = 0.8; + (pLVar20->_color)._colorize[1] = 1.1; + (pLVar20->_color)._colorize[2] = 1.8; + (pLVar20->_color)._colorize[3] = 0.8; + (pLVar20->_color)._offset[2] = 0.0; } } piVar6 = *(int **)(*(int *)((int)g_game->_room + 4) + 0x10); @@ -430747,7 +431454,7 @@ void __thiscall GridEntity_Door::LoadSprite(GridEntity_Door *this) } puStack_20 = puVar14; local_189 = '\x01'; - *(undefined4 *)&this->field_0x3a0 = 0; + this->_doorFlags = 0; std::string::assign(s_Open,4); std::string::assign("Close",5); local_19c = 15.0; @@ -430780,7 +431487,7 @@ LAB_0070d535: } operator_delete(pcVar24,uVar17); } - *(uint *)&this->field_0x3a0 = *(uint *)&this->field_0x3a0 | 0x10; + this->_doorFlags = this->_doorFlags | 0x10; std::string::assign("Break",5); std::string::assign("Break",5); std::string::assign("Closed",6); @@ -430849,7 +431556,7 @@ LAB_0070d535: local_9c._capacity = 0xf; local_9c._buf._0_4_ = local_9c._buf._0_4_ & 0xffffff00; } - *(uint *)&this->field_0x3a0 = *(uint *)&this->field_0x3a0 | 0x20; + this->_doorFlags = this->_doorFlags | 0x20; if ((this->_desc)._variant == 4) { local_189 = '\0'; std::string::assign("Collapse",8); @@ -430974,7 +431681,7 @@ LAB_0070e980: (this->_sprite)._color._colorize[2] = fVar12; (this->_sprite)._color._colorize[3] = fVar13; } - *(uint *)&this->field_0x3a0 = *(uint *)&this->field_0x3a0 | 2; + this->_doorFlags = this->_doorFlags | 2; local_19c = 0.0; goto LAB_0070eb83; } @@ -431027,7 +431734,7 @@ LAB_0070e980: ANM2::LoadGraphics(&this->_sprite,bVar15); (this->_desc)._varData = 1; } - *(uint *)&this->field_0x3a0 = *(uint *)&this->field_0x3a0 | 4; + this->_doorFlags = this->_doorFlags | 4; goto LAB_0070eb83; } cVar16 = IsRoomType(this,9); @@ -431041,7 +431748,7 @@ LAB_0070e980: std::string::assign(s_Open,4); std::string::assign("KeyOpen",7); ANM2::LoadGraphics(&this->_sprite,unk); - *(uint *)&this->field_0x3a0 = *(uint *)&this->field_0x3a0 | 1; + this->_doorFlags = this->_doorFlags | 1; goto LAB_0070eb83; } if (this->_targetRoomType == 0x17) { @@ -431183,7 +431890,7 @@ LAB_0070e789: } local_14 = 0xffffffff; std::string::_Tidy_deallocate(); - *(uint *)&this->field_0x3a0 = *(uint *)&this->field_0x3a0 | 8; + this->_doorFlags = this->_doorFlags | 8; goto LAB_0070eb83; } cVar16 = IsRoomType(this,0xe); @@ -431512,7 +432219,7 @@ LAB_0070e56f: pLVar19->_visible = 0; pLVar19 = ANM2::GetLayer(&this->_sprite,&DAT_00000004); pLVar19->_visible = 0; - *(uint *)&this->field_0x3a0 = *(uint *)&this->field_0x3a0 | 0x40; + this->_doorFlags = this->_doorFlags | 0x40; std::string::assign(s_Open,4); break; case 4: @@ -431537,10 +432244,10 @@ LAB_0070db14: if (this->_targetRoomType != 0x1b) { pLVar19 = ANM2::GetLayer(&this->_sprite,(byte *)"Background"); if (pLVar19 != (LayerState *)0x0) { - *(undefined4 *)&pLVar19->field_0x58 = 0x3f000000; - *(undefined4 *)&pLVar19->field_0x5c = 0x3f000000; - *(undefined4 *)&pLVar19->field_0x60 = 0x3f000000; - *(undefined4 *)&pLVar19->field_0x64 = 0x3f19999a; + (pLVar19->_color)._colorize[0] = 0.5; + (pLVar19->_color)._colorize[1] = 0.5; + (pLVar19->_color)._colorize[2] = 0.5; + (pLVar19->_color)._colorize[3] = 0.6; } pLVar19 = ANM2::GetLayer(&this->_sprite,(byte *)"Light"); if (pLVar19 != (LayerState *)0x0) { @@ -431560,7 +432267,7 @@ LAB_0070eb83: std::string::assign("CoinClosed",10); std::string::assign("CoinOpen",8); } - *(uint *)&this->field_0x3a0 = *(uint *)&this->field_0x3a0 | 1; + this->_doorFlags = this->_doorFlags | 1; } fVar27 = ((this->_sprite)._rotation + 90.0) * 0.017453292; local_194 = (RoomDescriptor *)fVar27; @@ -431783,7 +432490,7 @@ LAB_0070f4a5: if ((uVar13 != 0) || ((pbVar3[0x34] != 0 && ((this->_sprite)._animState._isPlaying == 0))) ) goto LAB_0070f4b6; } - if ((this->field_0x3a0 & 0x20) == 0) { + if ((this->_doorFlags & 0x20) == 0) { Sprite::SetLastFrame((Sprite *)&this->_sprite,uVar8); } if ((this->_extraSprite)._loaded != 0) { @@ -431874,8 +432581,8 @@ LAB_0070f3e5: } LAB_0070f311: if (((iVar15 < local_20) || - ((((this->field_0x3a0 & 8) != 0 && (this->_slot != g_game->_enterDoor)) && (iVar11 == iVar1) - ))) && ((this->_sprite)._animState._animData != (void *)0x0)) { + ((((this->_doorFlags & 8) != 0 && (this->_slot != g_game->_enterDoor)) && (iVar11 == iVar1)) + )) && ((this->_sprite)._animState._animData != (void *)0x0)) { AnimationState::AdvancePosition (&(this->_sprite)._animState, *(int *)((int)(this->_sprite)._animState._animData + 0x30) + -1); @@ -432007,8 +432714,8 @@ LAB_0070f08a: } } LAB_0070f148: - if ((local_20 <= iVar15) && (((iVar15 < 10 && ((this->field_0x3a0 & 0x40) == 0)) || (iVar15 < 2))) - ) { + if ((local_20 <= iVar15) && (((iVar15 < 10 && ((this->_doorFlags & 0x40) == 0)) || (iVar15 < 2)))) + { Sprite::SetLastFrame((Sprite *)&this->_sprite,uVar8); this->_isExtraVisible = 0; } @@ -432061,8 +432768,8 @@ char __thiscall GridEntity_Door::Destroy(GridEntity_Door *this,undefined4 param_ uint __thiscall GridEntity_Door::CanTakeDamageFromTearEffects(GridEntity_Door *this) { - return CONCAT31((uint3)(*(uint *)&this->field_0x3a0 >> 0xc), - ~(byte)(*(uint *)&this->field_0x3a0 >> 4)) & 0xffffff01; + return CONCAT31((uint3)((uint)this->_doorFlags >> 0xc),~(byte)((uint)this->_doorFlags >> 4)) & + 0xffffff01; } @@ -432070,26 +432777,25 @@ uint __thiscall GridEntity_Door::CanTakeDamageFromTearEffects(GridEntity_Door *t /* ZHL [lua] Lua binding GridEntityDoor:CanBlowOpen */ -undefined4 GridEntity_Door::CanBlowOpen(void) +undefined4 __thiscall GridEntity_Door::CanBlowOpen(GridEntity_Door *this) { int iVar1; void *pvVar2; Game *pGVar3; char cVar4; - Entity_Player *this; + Entity_Player *this_00; int iVar5; - int in_ECX; if ((((g_game->_difficulty != 2) && (g_game->_difficulty != 3)) && ((g_game->_stage == 0xb || (g_game->_stage == 0xc)))) && ((*(byte *)(*(int *)((int)g_game->_room + 4) + 0x44) & 1) == 0)) { return 0; } - if (*(int *)(in_ECX + 0x160) == 0) { + if (this->_targetRoomType == 0) { return 0; } - if (*(int *)(in_ECX + 0xc) == 2) { + if ((this->_desc)._state == 2) { return 0; } if (g_game->_stage == 0xd) { @@ -432098,32 +432804,33 @@ undefined4 GridEntity_Door::CanBlowOpen(void) cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x88); pGVar3 = g_game; if (cVar4 != '\0') { - if (*(int *)(in_ECX + 8) == 1) { + iVar5 = (this->_desc)._variant; + if (iVar5 == 1) { return 1; } - if (*(int *)(in_ECX + 8) == 2) { + if (iVar5 == 2) { return 1; } } - iVar5 = *(int *)(in_ECX + 0x15c); + iVar5 = this->_currentRoomType; if (iVar5 == 1) { - if (*(int *)(in_ECX + 0x160) == 1) { - iVar1 = *(int *)(in_ECX + 8); + if (this->_targetRoomType == 1) { + iVar1 = (this->_desc)._variant; if ((((iVar1 != 1) && (iVar1 != 4)) && (iVar1 != 2)) && (iVar1 != 5)) { return 1; } LAB_0070f748: - cVar4 = IsRoomType(); - if ((cVar4 == '\0') && (cVar4 = IsRoomType(), cVar4 == '\0')) goto LAB_0070f79f; + cVar4 = IsRoomType(this,8); + if ((cVar4 == '\0') && (cVar4 = IsRoomType(this,0x1d), cVar4 == '\0')) goto LAB_0070f79f; } else { LAB_0070f73f: - if (*(int *)(in_ECX + 0x160) != 7) goto LAB_0070f748; + if (this->_targetRoomType != 7) goto LAB_0070f748; } if (iVar5 == 5) goto LAB_0070f79f; } else if (iVar5 != 7) goto LAB_0070f73f; - if ((*(int *)(in_ECX + 0x160) != 5) && + if ((this->_targetRoomType != 5) && (((pvVar2 = pGVar3->_room, *(char *)((int)pvVar2 + 0x7228) == '\0' && (iVar5 != 6)) || ((*(byte *)(*(int *)((int)pvVar2 + 4) + 0x44) & 1) != 0)))) { if (iVar5 != 0xb) { @@ -432134,25 +432841,25 @@ LAB_0070f73f: } } LAB_0070f79f: - if (*(int *)(in_ECX + 8) == 3) { + iVar5 = (this->_desc)._variant; + if (iVar5 == 3) { return 1; } - if (((((*(byte *)(in_ECX + 0x3a0) & 9) != 0) || (*(int *)(in_ECX + 0x160) == 5)) || - (*(int *)(in_ECX + 8) == 5)) && - (this = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x88), this != (Entity_Player *)0x0)) - { - iVar5 = Entity_Player::GetTrinketMultiplier(this,0x88); + if (((((this->_doorFlags & 9) != 0) || (this->_targetRoomType == 5)) || (iVar5 == 5)) && + (this_00 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x88), + this_00 != (Entity_Player *)0x0)) { + iVar5 = Entity_Player::GetTrinketMultiplier(this_00,0x88); if (iVar5 == 2) { - if ((*(byte *)(in_ECX + 0x3a0) & 9) != 0) { + if ((this->_doorFlags & 9) != 0) { return 1; } - iVar5 = *(int *)(in_ECX + 8); + iVar5 = (this->_desc)._variant; } else { if (iVar5 < 3) { return 0; } - iVar5 = *(int *)(in_ECX + 0x160); + iVar5 = this->_targetRoomType; } if (iVar5 == 5) { return 1; @@ -432276,7 +432983,7 @@ undefined4 __thiscall GridEntity_Door::TryBlowOpen(GridEntity_Door *this,char pa if (((param_2 == '\0') && (param_3 == 0)) && (cVar7 = FUN_00711740(), cVar7 == '\0')) { return 0; } - if ((this->field_0x3a0 & 0x10) != 0) { + if ((this->_doorFlags & 0x10) != 0) { if (((g_game->_challenge != 0) || ((g_game->_dailyChallenge)._id != 0)) && (pCVar8 = Game::GetChallengeParams(g_game), pCVar8->_pathType == 2)) { return 0; @@ -432392,12 +433099,12 @@ LAB_0070ffae: } iVar10 = (this->_desc)._variant; if (iVar10 != 3) { - if (((((this->field_0x3a0 & 9) != 0) || (this->_targetRoomType == 5)) || (iVar10 == 5)) && + if (((((this->_doorFlags & 9) != 0) || (this->_targetRoomType == 5)) || (iVar10 == 5)) && (pEVar9 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x88), pEVar9 != (Entity_Player *)0x0)) { iVar10 = Entity_Player::GetTrinketMultiplier(pEVar9,0x88); if (iVar10 == 2) { - if ((this->field_0x3a0 & 9) != 0) goto LAB_00710063; + if ((this->_doorFlags & 9) != 0) goto LAB_00710063; iVar10 = (this->_desc)._variant; } else { @@ -432639,7 +433346,7 @@ GridEntity_Door::TryUnlock(GridEntity_Door *this,Entity_Player *param_2,char par undefined4 local_c; pGVar6 = g_game; - if ((this->field_0x3a0 & 0x10) != 0) { + if ((this->_doorFlags & 0x10) != 0) { return 0; } if (param_2->_isCoopGhost != 0) { @@ -432649,7 +433356,7 @@ GridEntity_Door::TryUnlock(GridEntity_Door *this,Entity_Player *param_2,char par if (param_3 == '\0') { if (((iVar10 == 1) && (this->_targetRoomType == 0x1b)) && (iVar10 = get_secret_exit_kind(this), iVar10 == 3)) { - if ((this->field_0x3a0 & 0x40) != 0) { + if ((this->_doorFlags & 0x40) != 0) { local_64 = 0.0; this_00 = (Entity_Player *)FUN_007103c0(&local_64); if (this_00 == (Entity_Player *)0x0) { @@ -432829,7 +433536,7 @@ LAB_00710a08: return 0; } } - if ((this->field_0x3a0 & 1) == 0) { + if ((this->_doorFlags & 1) == 0) { if (this->_targetRoomType == 2) { in_stack_ffffff80 = 0x53; bVar8 = Entity_Player::HasTrinket(param_2,0x53,0); @@ -432838,7 +433545,7 @@ LAB_00710a08: } else if (0 < param_2->_numCoins) goto LAB_00710af5; if (((this->_targetRoomType != 5) || (this->_targetRoomIdx < 0)) || (g_game->_stage != 9)) { - if ((this->field_0x3a0 & 1) != 0) { + if ((this->_doorFlags & 1) != 0) { return 0; } iVar10 = (this->_desc)._variant; @@ -432855,7 +433562,7 @@ LAB_00710a08: } } LAB_00710af5: - if ((this->field_0x3a0 & 1) == 0) { + if ((this->_doorFlags & 1) == 0) { if (param_3 == '\0') goto LAB_00710b1b; } else if (param_3 == '\0') { @@ -432880,7 +433587,7 @@ LAB_00710b1b: } else { local_60 = 0x2d; - if ((this->field_0x3a0 & 1) == 0) { + if ((this->_doorFlags & 1) == 0) { local_60 = 0x9c; } seed_fart_sound_override(); @@ -432997,17 +433704,18 @@ void __thiscall GridEntity_Door::Close(GridEntity_Door *this,char param_2) /* ZHL [lua] Lua binding GridEntityDoor:Bar */ -void GridEntity_Door::Bar(void) +void __thiscall GridEntity_Door::Bar(GridEntity_Door *this) { - int in_ECX; + byte bVar1; - *(undefined4 *)(in_ECX + 0xc) = 1; - *(undefined4 *)(in_ECX + 8) = 4; - if ((*(char *)(in_ECX + 0x385) == '\0') || ((*(byte *)(in_ECX + 0x3a0) & 0x20) != 0)) { + bVar1 = (this->_extraSprite)._loaded; + (this->_desc)._state = 1; + (this->_desc)._variant = 4; + if ((bVar1 == 0) || ((this->_doorFlags & 0x20) != 0)) { LoadSprite(); } - UpdateAnimation(); + UpdateAnimation(this); return; } @@ -433029,10 +433737,10 @@ void GridEntity_Door::Open(void) RoomDescriptor *pRVar8; GridEntity_Door *in_ECX; - if (((*(uint *)&in_ECX->field_0x3a0 & 0x10) != 0) && ((in_ECX->_desc)._variant != 8)) { + if (((in_ECX->_doorFlags & 0x10U) != 0) && ((in_ECX->_desc)._variant != 8)) { return; } - if (((*(uint *)&in_ECX->field_0x3a0 & 0x20) != 0) && ((in_ECX->_desc)._variant == 4)) { + if (((in_ECX->_doorFlags & 0x20U) != 0) && ((in_ECX->_desc)._variant == 4)) { return; } if ((in_ECX->_desc)._state == 2) { @@ -433374,7 +434082,7 @@ LAB_00711262: if (this->_targetRoomType == 0x1d) { TryBlowOpen(this,0,0); } - if (((this->field_0x3a0 & 0x20) != 0) && ((this->_sprite)._animState._animData != (void *)0x0)) { + if (((this->_doorFlags & 0x20) != 0) && ((this->_sprite)._animState._animData != (void *)0x0)) { AnimationState::AdvancePosition (&(this->_sprite)._animState, *(int *)((int)(this->_sprite)._animState._animData + 0x30) + -1); @@ -433434,7 +434142,7 @@ void __thiscall GridEntity_Door::BeginBatches(GridEntity_Door *this) this->_isExtraVisible = 0; this->_isBusted = 0; this->_isUnlockedByPlayer = 0; - *(undefined4 *)&this->field_0x3a0 = 0; + this->_doorFlags = 0; this->_direction = -1; return; } @@ -433766,14 +434474,12 @@ void GridEntity_Lock::break_open(Entity_Player *param_1) undefined4 uVar11; char *anim; RNG local_24; - undefined8 local_20; - undefined4 local_18; int local_14; float local_10; - RNG local_c; + float local_c; pMVar4 = g_manager; - local_c = (RNG)0xe5; + local_c = 3.20897e-43; local_14 = in_ECX; seed_fart_sound_override(); SoundEffects::Play(&pMVar4->_sfxManager,(int)local_c,1.0,2,0,1.0,0.0); @@ -433794,15 +434500,16 @@ void GridEntity_Lock::break_open(Entity_Player *param_1) uVar7 = *(uint *)(in_ECX + 0x14); *(undefined4 *)(in_ECX + 0xc) = 1; pGVar3 = g_game; - local_20 = 0x500000001; - local_18 = 0x10; + local_24._shift1 = 1; + local_24._shift2 = 5; + local_24._shift3 = 0x10; if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar7 = uVar7 >> 1 ^ uVar7; uVar7 = uVar7 << 5 ^ uVar7; - local_c = (RNG)(uVar7 >> 0x10 ^ uVar7); + local_c = (float)(uVar7 >> 0x10 ^ uVar7); if (0.1 <= (float)((double)(int)local_c + __uint_to_double_fixup[-((int)local_c >> 0x1f)]) * 2.3283062e-10) { return; @@ -433820,24 +434527,23 @@ void GridEntity_Lock::break_open(Entity_Player *param_1) param_1 = (Entity_Player *)0x0; } LAB_00711d1a: - if (local_c == (RNG)0x0) { + if (local_c == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_c >> ((byte)local_20 & 0x1f) ^ (uint)local_c; - bVar5 = (byte)((ulonglong)local_20 >> 0x20); - uVar7 = uVar7 << (bVar5 & 0x1f) ^ uVar7; - local_24 = (RNG)(uVar7 >> 0x10 ^ uVar7); - local_c = local_24; - if (0.25 <= (float)((double)(int)local_24 + __uint_to_double_fixup[-((int)local_24 >> 0x1f)]) * + local_24._seed = (uint)local_c >> ((byte)local_24._shift1 & 0x1f) ^ (uint)local_c; + local_24._seed = local_24._seed << ((byte)local_24._shift2 & 0x1f) ^ local_24._seed; + local_24._seed = (uint)local_24._seed >> 0x10 ^ local_24._seed; + local_c = (float)local_24._seed; + if (0.25 <= (float)((double)local_24._seed + __uint_to_double_fixup[-(local_24._seed >> 0x1f)]) * 2.3283062e-10) { LAB_00711e7c: - if (local_24 == (RNG)0x0) { + if (local_24._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_24 >> ((byte)local_20 & 0x1f) ^ (uint)local_24; - uVar7 = uVar7 << (bVar5 & 0x1f) ^ uVar7; + uVar7 = (uint)local_24._seed >> ((byte)local_24._shift1 & 0x1f) ^ local_24._seed; + uVar7 = uVar7 << ((byte)local_24._shift2 & 0x1f) ^ uVar7; iVar6 = *(int *)((int)g_game->_room + 0xc); iVar8 = *(int *)(local_14 + 0x24) % iVar6; iVar6 = *(int *)(local_14 + 0x24) / iVar6; @@ -433875,7 +434581,7 @@ LAB_00711e7c: uVar11 = 10; } local_10 = (float)iVar8 * 40.0 + 40.0; - local_c = (RNG)((float)iVar6 * 40.0 + 120.0); + local_c = (float)iVar6 * 40.0 + 120.0; Game::Spawn(5,uVar11,&local_10,&g_vectorZero,0,0,uVar7); return; } @@ -434078,10 +434784,10 @@ uint __thiscall GridEntity_Pit::Update(GridEntity_Pit *this) float local_98 [5]; Game *local_84; float local_80; - undefined4 uStack_7c; + int iStack_7c; undefined8 local_78; - undefined4 local_70; - undefined4 uStack_6c; + int local_70; + int iStack_6c; float local_68; float local_64; int local_5c; @@ -434309,7 +435015,7 @@ LAB_00712ec3: iStack_a4 = pEVar9->_variant; local_a8 = (Game *)pEVar9->_type; std::map::find(&local_dc,&local_a8); - pGVar13 = *(Game **)&pGVar13->field_0x67780; + pGVar13 = (pGVar13->_proceduralItemManager)._spawnTriggerTargets._head; if (local_dc == pGVar13) { local_d8 = (Game *)pEVar9->_type; uStack_d4 = 0xffffffff; @@ -434364,11 +435070,11 @@ LAB_00713111: Color::operator_assign(uVar15); BlendMode::SetMode(2,extraout_ECX_01); pLVar14 = ANM2::GetLayer(&pEVar9->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar14->field_0x78 = uStack_7c; - *(undefined4 *)&pLVar14->field_0x7c = (undefined4)local_78; - *(undefined4 *)&pLVar14->field_0x80 = local_78._4_4_; - *(undefined4 *)&pLVar14->field_0x84 = local_70; - *(undefined4 *)&pLVar14->field_0x88 = uStack_6c; + pLVar14->_blendMode[0] = iStack_7c; + pLVar14->_blendMode[1] = (int)local_78; + pLVar14->_blendMode[2] = local_78._4_4_; + pLVar14->_blendMode[3] = local_70; + pLVar14->_blendMode[4] = iStack_6c; iVar17 = Random(); *(float *)(pEVar9[1]._sprite._animDefaultName._buf + 8) = (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * 10.0 @@ -434543,7 +435249,7 @@ LAB_00712860: iStack_b8 = pEVar9->_variant; local_bc = (Game *)pEVar9->_type; std::map::find(&local_dc,&local_bc); - pGVar13 = *(Game **)&pGVar13->field_0x67780; + pGVar13 = (pGVar13->_proceduralItemManager)._spawnTriggerTargets._head; if (local_dc == pGVar13) { local_98[0] = (float)pEVar9->_type; local_98[1] = -NAN; @@ -434712,9 +435418,10 @@ void FUN_007135d0(undefined4 param_1,undefined1 param_2,int *param_3) int iVar2; int iVar3; char cVar4; + LayerState *pLVar5; int in_ECX; - undefined4 uVar5; undefined4 uVar6; + undefined4 uVar7; Vector local_28; undefined1 local_20 [4]; int *local_1c; @@ -434729,14 +435436,14 @@ void FUN_007135d0(undefined4 param_1,undefined1 param_2,int *param_3) uVar1 = *(uint *)((int)g_game->_room + 0xc); local_28.x = (float)(int)(*(uint *)(in_ECX + 0x24) % uVar1) * 26.0 + 39.0 + g_vectorZero.x; local_28.y = (float)(int)(*(uint *)(in_ECX + 0x24) / uVar1) * 26.0 + 39.0 + g_vectorZero.y; - ANM2::GetLayer((ANM2 *)(in_ECX + 0x40),(byte *)0x0); - LayerState::GetTexture(local_20); - uVar6 = 0; + pLVar5 = ANM2::GetLayer((ANM2 *)(in_ECX + 0x40),(byte *)0x0); + LayerState::GetTexture(pLVar5,local_20); + uVar7 = 0; local_8 = CONCAT31(local_8._1_3_,1); - uVar5 = 0x713682; - ANM2::GetLayer((ANM2 *)(in_ECX + 0x40),(byte *)0x0); + uVar6 = 0x713682; + pLVar5 = ANM2::GetLayer((ANM2 *)(in_ECX + 0x40),(byte *)0x0); KAGE::SmartPointer::operator_assign(¶m_2); - LayerState::SetTexture(uVar5,uVar6); + LayerState::SetTexture(pLVar5,uVar6,uVar7); iVar2 = *(int *)(in_ECX + 0x74); if (((iVar2 != 0) && (0 < (*(ANM2 **)(in_ECX + 0x70))->_layerCount)) && (iVar3 = *(int *)(iVar2 + 0x38), -1 < iVar3)) { @@ -434745,11 +435452,11 @@ void FUN_007135d0(undefined4 param_1,undefined1 param_2,int *param_3) *(int *)(*(int *)(in_ECX + 0x78) + iVar3 * 4),&g_vectorZero,&g_vectorZero, *(ANM2 **)(in_ECX + 0x70)); } - uVar6 = 0; - uVar5 = 0x7136df; - ANM2::GetLayer((ANM2 *)(in_ECX + 0x40),(byte *)0x0); + uVar7 = 0; + uVar6 = 0x7136df; + pLVar5 = ANM2::GetLayer((ANM2 *)(in_ECX + 0x40),(byte *)0x0); KAGE::SmartPointer::operator_assign(local_20); - LayerState::SetTexture(uVar5,uVar6); + LayerState::SetTexture(pLVar5,uVar6,uVar7); local_8 = CONCAT31(local_8._1_3_,2); if (local_1c != (int *)0x0) { cVar4 = (**(code **)(*local_1c + 0xc))(); @@ -436339,27 +437046,26 @@ void __thiscall GridEntity_Poop::BeginBatches(GridEntity_Poop *this) EntityConfig_Entity *pEVar8; undefined4 *******pppppppuVar9; byte *pbVar10; - RNG RVar11; - LayerState *pLVar12; - undefined *puVar13; - byte *pbVar14; + LayerState *pLVar11; + undefined *puVar12; + byte *pbVar13; byte extraout_CL; byte extraout_CL_00; byte extraout_CL_01; undefined4 *******extraout_ECX; - char *pcVar15; - byte *pbVar16; - uint uVar17; - int iVar18; - Manager *pMVar19; - undefined4 *******pppppppuVar20; - bool bVar21; + char *pcVar14; + byte *pbVar15; + uint uVar16; + int iVar17; + Manager *pMVar18; + undefined4 *******pppppppuVar19; + bool bVar20; + float fVar21; float fVar22; - float fVar23; - undefined4 uVar24; + undefined4 uVar23; + TypeDescriptor *pTVar24; TypeDescriptor *pTVar25; - TypeDescriptor *pTVar26; - undefined4 uVar27; + undefined4 uVar26; undefined1 local_1f4 [8]; void *local_1ec; undefined1 local_1e8 [8]; @@ -436417,12 +437123,12 @@ void __thiscall GridEntity_Poop::BeginBatches(GridEntity_Poop *this) piVar5 = piVar5 + (int)local_1a4; } iVar6 = *piVar5; - if (((((*(int *)(iVar6 + 0x2c) == 0) && (iVar18 = *(int *)(iVar6 + 0x184), iVar18 != 0)) && - (iVar18 != 3)) && ((iVar18 != 1 && (iVar18 != 2)))) && - (iVar18 = *(int *)((int)local_1a8->_room + 0xc), - fVar23 = *(float *)(iVar6 + 0x340) - ((float)(this->_gridIndex / iVar18) * 40.0 + 120.0), - fVar22 = *(float *)(iVar6 + 0x33c) - ((float)(this->_gridIndex % iVar18) * 40.0 + 40.0), - fVar23 * fVar23 + fVar22 * fVar22 < 400.0)) { + if (((((*(int *)(iVar6 + 0x2c) == 0) && (iVar17 = *(int *)(iVar6 + 0x184), iVar17 != 0)) && + (iVar17 != 3)) && ((iVar17 != 1 && (iVar17 != 2)))) && + (iVar17 = *(int *)((int)local_1a8->_room + 0xc), + fVar22 = *(float *)(iVar6 + 0x340) - ((float)(this->_gridIndex / iVar17) * 40.0 + 120.0), + fVar21 = *(float *)(iVar6 + 0x33c) - ((float)(this->_gridIndex % iVar17) * 40.0 + 40.0), + fVar22 * fVar22 + fVar21 * fVar21 < 400.0)) { this->_isUnderPlayer = 1; local_19d = 1; goto LAB_00715af4; @@ -436445,15 +437151,15 @@ LAB_00715af4: if (iVar6 == 2) { if ((this->_desc)._state != 1000) { uVar7 = Random(local_14); - uVar27 = 0; - pTVar26 = &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor; + uVar26 = 0; + pTVar25 = &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor; iVar6 = *(int *)((int)g_game->_room + 0xc); - pTVar25 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar24 = 0; + pTVar24 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar23 = 0; local_1bc = (float)(local_1b0->_gridIndex % iVar6) * 40.0 + 40.0; local_1b8 = (float)(local_1b0->_gridIndex / iVar6) * 40.0 + 120.0; uVar7 = Game::Spawn(0x60,0,&local_1bc,&g_vectorZero,0,0,uVar7); - iVar6 = __RTDynamicCast(uVar7,uVar24,pTVar25,pTVar26,uVar27); + iVar6 = __RTDynamicCast(uVar7,uVar23,pTVar24,pTVar25,uVar26); local_1a8 = g_game; *(undefined4 *)(iVar6 + 0xb64) = 0; iVar6 = (local_1b0->_desc)._variant; @@ -436475,11 +437181,11 @@ LAB_00715bc8: if ((uint)local_1b0->_gridIndex < 0x1c0) { *(undefined4 *)((int)local_1a8->_room + local_1b0->_gridIndex * 4 + 0x76c) = uVar7; } - pMVar19 = g_manager; + pMVar18 = g_manager; local_1a4 = (EntityConfig *)0x3e802b00; local_1a8 = (Game *)&g_manager->_entityConfig; _Find_lower_bound<>(local_1d0,&local_1a4); - this_00 = &pMVar19->_entityConfig; + this_00 = &pMVar18->_entityConfig; if (((*(char *)((int)local_1c8 + 0xd) == '\0') && (*(uint *)((int)local_1c8 + 0x10) < 0x3e802b01)) && (local_1c8 != (this_00->_entities)._head)) { pEVar8 = (EntityConfig_Entity *)((int)local_1c8 + 0x18); @@ -436489,53 +437195,54 @@ LAB_00715bc8: } if (pEVar8 != (EntityConfig_Entity *)0x0) { EntityConfig::PreloadResources(pEVar8); - pMVar19 = g_manager; + pMVar18 = g_manager; } local_1a8 = (Game *)0x3e803a00; - local_1a4 = &pMVar19->_entityConfig; + local_1a4 = &pMVar18->_entityConfig; _Find_lower_bound<>(local_1dc,&local_1a8); if (((*(char *)((int)local_1d4 + 0xd) == '\0') && (*(uint *)((int)local_1d4 + 0x10) < 0x3e803a01)) - && (local_1d4 != (pMVar19->_entityConfig)._entities._head)) { + && (local_1d4 != (pMVar18->_entityConfig)._entities._head)) { pEVar8 = (EntityConfig_Entity *)((int)local_1d4 + 0x18); } else { - pEVar8 = EntityConfig::GetEntity(&pMVar19->_entityConfig,1000,0,0); + pEVar8 = EntityConfig::GetEntity(&pMVar18->_entityConfig,1000,0,0); } if (pEVar8 != (EntityConfig_Entity *)0x0) { EntityConfig::PreloadResources(pEVar8); - pMVar19 = g_manager; + pMVar18 = g_manager; } local_1b4 = &DAT_00500a00; - local_1a4 = &pMVar19->_entityConfig; + local_1a4 = &pMVar18->_entityConfig; _Find_lower_bound<>(local_1e8,&local_1b4); if (((*(char *)((int)local_1e0 + 0xd) == '\0') && (*(undefined **)((int)local_1e0 + 0x10) <= &DAT_00500a00)) && - (local_1e0 != (pMVar19->_entityConfig)._entities._head)) { + (local_1e0 != (pMVar18->_entityConfig)._entities._head)) { pEVar8 = (EntityConfig_Entity *)((int)local_1e0 + 0x18); } else { - pEVar8 = EntityConfig::GetEntity(&pMVar19->_entityConfig,5,0,0); + pEVar8 = EntityConfig::GetEntity(&pMVar18->_entityConfig,5,0,0); } if (pEVar8 != (EntityConfig_Entity *)0x0) { EntityConfig::PreloadResources(pEVar8); - pMVar19 = g_manager; + pMVar18 = g_manager; } local_1ac = &DAT_00501400; _Find_lower_bound<>(local_1f4,&local_1ac); if (((*(char *)((int)local_1ec + 0xd) == '\0') && (*(undefined **)((int)local_1ec + 0x10) <= &DAT_00501400)) && - (local_1ec != (pMVar19->_entityConfig)._entities._head)) { + (local_1ec != (pMVar18->_entityConfig)._entities._head)) { pEVar8 = (EntityConfig_Entity *)((int)local_1ec + 0x18); } else { - pEVar8 = EntityConfig::GetEntity(&pMVar19->_entityConfig,5,0,0); + pEVar8 = EntityConfig::GetEntity(&pMVar18->_entityConfig,5,0,0); } if (pEVar8 != (EntityConfig_Entity *)0x0) { EntityConfig::PreloadResources(pEVar8); } - pGVar2->_rng = (RNG)(pGVar2->_desc)._spawnSeed; - *(undefined8 *)&pGVar2->field_0x30 = 0x900000005; - *(undefined4 *)&pGVar2->field_0x38 = 7; + (pGVar2->_rng)._seed = (pGVar2->_desc)._spawnSeed; + (pGVar2->_rng)._shift1 = 5; + (pGVar2->_rng)._shift2 = 9; + (pGVar2->_rng)._shift3 = 7; if ((pGVar2->_desc)._variant - 7U < 4) { local_184._size = 0; local_184._capacity = 0xf; @@ -436551,17 +437258,17 @@ LAB_00715bc8: ANM2::Load(&pGVar2->_sprite,&local_184,1); local_8 = 0xffffffff; if (0xf < local_184._capacity) { - uVar17 = local_184._capacity + 1; - pcVar15 = (char *)local_184._buf._0_4_; - if (0xfff < uVar17) { - pcVar15 = *(char **)(local_184._buf._0_4_ + -4); - uVar17 = local_184._capacity + 0x24; - if ((char *)0x1f < (char *)(local_184._buf._0_4_ + (-4 - (int)pcVar15))) { + uVar16 = local_184._capacity + 1; + pcVar14 = (char *)local_184._buf._0_4_; + if (0xfff < uVar16) { + pcVar14 = *(char **)(local_184._buf._0_4_ + -4); + uVar16 = local_184._capacity + 0x24; + if ((char *)0x1f < (char *)(local_184._buf._0_4_ + (-4 - (int)pcVar14))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pcVar15,uVar17); + operator_delete(pcVar14,uVar16); } local_184._size = 0; local_184._capacity = 0xf; @@ -436582,17 +437289,17 @@ LAB_00715bc8: ANM2::Load(&pGVar2->_sprite,&local_19c,0); local_8 = 0xffffffff; if (0xf < local_19c._capacity) { - uVar17 = local_19c._capacity + 1; - pcVar15 = (char *)local_19c._buf._0_4_; - if (0xfff < uVar17) { - pcVar15 = *(char **)(local_19c._buf._0_4_ + -4); - uVar17 = local_19c._capacity + 0x24; - if ((char *)0x1f < (char *)(local_19c._buf._0_4_ + (-4 - (int)pcVar15))) { + uVar16 = local_19c._capacity + 1; + pcVar14 = (char *)local_19c._buf._0_4_; + if (0xfff < uVar16) { + pcVar14 = *(char **)(local_19c._buf._0_4_ + -4); + uVar16 = local_19c._capacity + 0x24; + if ((char *)0x1f < (char *)(local_19c._buf._0_4_ + (-4 - (int)pcVar14))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pcVar15,uVar17); + operator_delete(pcVar14,uVar16); } iVar6 = (pGVar2->_desc)._variant; local_19c._size = 0; @@ -436600,30 +437307,30 @@ LAB_00715bc8: local_19c._buf._0_4_ = local_19c._buf._0_4_ & 0xffffff00; switch(iVar6) { case 0: - RVar11 = pGVar2->_rng; - if (RVar11 == (RNG)0x0) { + uVar16 = (pGVar2->_rng)._seed; + if (uVar16 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar17 = (uint)RVar11 >> ((byte)*(undefined4 *)&pGVar2->field_0x30 & 0x1f) ^ (uint)RVar11; - uVar17 = uVar17 << ((byte)*(undefined4 *)&pGVar2->field_0x34 & 0x1f) ^ uVar17; - RVar11 = (RNG)(uVar17 >> ((byte)*(undefined4 *)&pGVar2->field_0x38 & 0x1f) ^ uVar17); - pGVar2->_rng = RVar11; - iVar6 = (uint)RVar11 % 3 + 1; - pcVar15 = "gfx/grid/grid_poop_%u.png"; + uVar16 = uVar16 >> ((byte)(pGVar2->_rng)._shift1 & 0x1f) ^ uVar16; + uVar16 = uVar16 << ((byte)(pGVar2->_rng)._shift2 & 0x1f) ^ uVar16; + uVar16 = uVar16 >> ((byte)(pGVar2->_rng)._shift3 & 0x1f) ^ uVar16; + (pGVar2->_rng)._seed = uVar16; + iVar6 = uVar16 % 3 + 1; + pcVar14 = "gfx/grid/grid_poop_%u.png"; goto LAB_00716065; case 1: - RVar11 = pGVar2->_rng; - if (RVar11 == (RNG)0x0) { + uVar16 = (pGVar2->_rng)._seed; + if (uVar16 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar17 = (uint)RVar11 >> ((byte)*(undefined4 *)&pGVar2->field_0x30 & 0x1f) ^ (uint)RVar11; - uVar17 = uVar17 << ((byte)*(undefined4 *)&pGVar2->field_0x34 & 0x1f) ^ uVar17; - RVar11 = (RNG)(uVar17 >> ((byte)*(undefined4 *)&pGVar2->field_0x38 & 0x1f) ^ uVar17); - pGVar2->_rng = RVar11; - iVar6 = (uint)RVar11 % 3 + 1; - pcVar15 = "gfx/grid/grid_poop_red_%u.png"; + uVar16 = uVar16 >> ((byte)(pGVar2->_rng)._shift1 & 0x1f) ^ uVar16; + uVar16 = uVar16 << ((byte)(pGVar2->_rng)._shift2 & 0x1f) ^ uVar16; + uVar16 = uVar16 >> ((byte)(pGVar2->_rng)._shift3 & 0x1f) ^ uVar16; + (pGVar2->_rng)._seed = uVar16; + iVar6 = uVar16 % 3 + 1; + pcVar14 = "gfx/grid/grid_poop_red_%u.png"; goto LAB_00716065; case 2: strncpy(acStack_154,"gfx/grid/grid_poop_corn.png",0xff); @@ -436638,19 +437345,19 @@ LAB_00715bc8: strncpy(acStack_154,"gfx/grid/grid_poop_black.png",0xff); break; case 6: - RVar11 = pGVar2->_rng; - if (RVar11 == (RNG)0x0) { + uVar16 = (pGVar2->_rng)._seed; + if (uVar16 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar17 = (uint)RVar11 >> ((byte)*(undefined4 *)&pGVar2->field_0x30 & 0x1f) ^ (uint)RVar11; - uVar17 = uVar17 << ((byte)*(undefined4 *)&pGVar2->field_0x34 & 0x1f) ^ uVar17; - RVar11 = (RNG)(uVar17 >> ((byte)*(undefined4 *)&pGVar2->field_0x38 & 0x1f) ^ uVar17); - pGVar2->_rng = RVar11; - iVar6 = (uint)RVar11 % 3 + 1; - pcVar15 = "gfx/grid/grid_poop_white_%u.png"; + uVar16 = uVar16 >> ((byte)(pGVar2->_rng)._shift1 & 0x1f) ^ uVar16; + uVar16 = uVar16 << ((byte)(pGVar2->_rng)._shift2 & 0x1f) ^ uVar16; + uVar16 = uVar16 >> ((byte)(pGVar2->_rng)._shift3 & 0x1f) ^ uVar16; + (pGVar2->_rng)._seed = uVar16; + iVar6 = uVar16 % 3 + 1; + pcVar14 = "gfx/grid/grid_poop_white_%u.png"; LAB_00716065: - sprintf_s(acStack_154,0xff,pcVar15,iVar6); + sprintf_s(acStack_154,0xff,pcVar14,iVar6); break; default: /* WARNING: Subroutine does not return */ @@ -436658,58 +437365,58 @@ LAB_00716065: case 0xb: strncpy(acStack_154,"gfx/grid/grid_poop_charming.png",0xff); } - pcVar15 = acStack_154; + pcVar14 = acStack_154; uStack_15c = 0; uStack_158 = 0xf; apppppppuStack_16c[0] = (undefined4 *******)0x0; do { - cVar3 = *pcVar15; - pcVar15 = pcVar15 + 1; + cVar3 = *pcVar14; + pcVar14 = pcVar14 + 1; } while (cVar3 != '\0'); - std::string::assign(acStack_154,(int)pcVar15 - (int)(acStack_154 + 1)); - pppppppuVar20 = apppppppuStack_16c[0]; + std::string::assign(acStack_154,(int)pcVar14 - (int)(acStack_154 + 1)); + pppppppuVar19 = apppppppuStack_16c[0]; local_8 = 2; if ((pGVar2->_sprite)._layerCount < 1) { bVar4 = extraout_CL; } else { local_1ac = (pGVar2->_sprite)._layerState; - puVar13 = local_1ac + 8; + puVar12 = local_1ac + 8; if (0xf < *(uint *)(local_1ac + 0x1c)) { - puVar13 = *(undefined **)(local_1ac + 8); + puVar12 = *(undefined **)(local_1ac + 8); } - cVar3 = str_eq(puVar13,*(undefined4 *)(local_1ac + 0x18)); + cVar3 = str_eq(puVar12,*(undefined4 *)(local_1ac + 0x18)); bVar4 = extraout_CL_00; if (cVar3 == '\0') { pppppppuVar9 = (undefined4 *******)(local_1ac + 8); - puVar13 = local_1ac; + puVar12 = local_1ac; if ((undefined4 ********)pppppppuVar9 != apppppppuStack_16c) { pppppppuVar9 = apppppppuStack_16c; if (0xf < uStack_158) { - pppppppuVar9 = pppppppuVar20; + pppppppuVar9 = pppppppuVar19; } std::string::assign(pppppppuVar9,uStack_15c); - puVar13 = (pGVar2->_sprite)._layerState; + puVar12 = (pGVar2->_sprite)._layerState; pppppppuVar9 = extraout_ECX; - pppppppuVar20 = apppppppuStack_16c[0]; + pppppppuVar19 = apppppppuStack_16c[0]; } bVar4 = (byte)pppppppuVar9; - puVar13[0x30] = 0; + puVar12[0x30] = 0; } } local_8 = 0xffffffff; if (0xf < uStack_158) { - uVar17 = uStack_158 + 1; - pppppppuVar9 = pppppppuVar20; - if (0xfff < uVar17) { - pppppppuVar9 = (undefined4 *******)pppppppuVar20[-1]; - uVar17 = uStack_158 + 0x24; - if ((undefined *)0x1f < (undefined *)((int)pppppppuVar20 + (-4 - (int)pppppppuVar9))) { + uVar16 = uStack_158 + 1; + pppppppuVar9 = pppppppuVar19; + if (0xfff < uVar16) { + pppppppuVar9 = (undefined4 *******)pppppppuVar19[-1]; + uVar16 = uStack_158 + 0x24; + if ((undefined *)0x1f < (undefined *)((int)pppppppuVar19 + (-4 - (int)pppppppuVar9))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pppppppuVar9,uVar17); + operator_delete(pppppppuVar9,uVar16); bVar4 = extraout_CL_01; } uStack_15c = 0; @@ -436723,13 +437430,13 @@ LAB_007162ed: } else { iVar6 = iVar6 / 0xfa; - iVar18 = 3; + iVar17 = 3; if (iVar6 < 3) { - iVar18 = iVar6; + iVar17 = iVar6; } iVar6 = 0; - if (0 < iVar18) { - iVar6 = iVar18; + if (0 < iVar17) { + iVar6 = iVar17; } } if (*(char *)g_game->_room == '\0') { @@ -436750,29 +437457,29 @@ LAB_007162ed: if (0xf < *(uint *)(pbVar10 + 0x14)) { pbVar10 = *(byte **)pbVar10; } - pcVar15 = "Appear"; + pcVar14 = "Appear"; do { bVar4 = *pbVar10; - bVar21 = bVar4 < (byte)*pcVar15; - if (bVar4 != *pcVar15) { + bVar20 = bVar4 < (byte)*pcVar14; + if (bVar4 != *pcVar14) { LAB_00716370: - uVar17 = -(uint)bVar21 | 1; + uVar16 = -(uint)bVar20 | 1; goto LAB_00716375; } if (bVar4 == 0) break; bVar4 = pbVar10[1]; - bVar21 = bVar4 < (byte)pcVar15[1]; - if (bVar4 != pcVar15[1]) goto LAB_00716370; + bVar20 = bVar4 < (byte)pcVar14[1]; + if (bVar4 != pcVar14[1]) goto LAB_00716370; pbVar10 = pbVar10 + 2; - pcVar15 = pcVar15 + 2; + pcVar14 = pcVar14 + 2; } while (bVar4 != 0); - uVar17 = 0; + uVar16 = 0; LAB_00716375: - if ((uVar17 == 0) && + if ((uVar16 == 0) && ((*(char *)((int)(pGVar2->_sprite)._animState._animData + 0x34) == '\0' || ((pGVar2->_sprite)._animState._isPlaying != 0)))) goto LAB_00716493; } - pcVar15 = "Appear"; + pcVar14 = "Appear"; } else { sprintf_s(local_34,0x1f,"State%d",iVar6 + 1); @@ -436781,60 +437488,60 @@ LAB_00716375: if (0xf < *(uint *)(pbVar10 + 0x14)) { pbVar10 = *(byte **)pbVar10; } - pbVar14 = local_34; + pbVar13 = local_34; do { bVar4 = *pbVar10; - bVar21 = bVar4 < *pbVar14; - if (bVar4 != *pbVar14) { + bVar20 = bVar4 < *pbVar13; + if (bVar4 != *pbVar13) { LAB_007163e7: - uVar17 = -(uint)bVar21 | 1; + uVar16 = -(uint)bVar20 | 1; goto LAB_007163ec; } if (bVar4 == 0) break; bVar4 = pbVar10[1]; - bVar21 = bVar4 < pbVar14[1]; - if (bVar4 != pbVar14[1]) goto LAB_007163e7; + bVar20 = bVar4 < pbVar13[1]; + if (bVar4 != pbVar13[1]) goto LAB_007163e7; pbVar10 = pbVar10 + 2; - pbVar14 = pbVar14 + 2; + pbVar13 = pbVar13 + 2; } while (bVar4 != 0); - uVar17 = 0; + uVar16 = 0; LAB_007163ec: - if ((uVar17 == 0) && + if ((uVar16 == 0) && ((*(char *)((int)(pGVar2->_sprite)._animState._animData + 0x34) == '\0' || ((pGVar2->_sprite)._animState._isPlaying != 0)))) goto LAB_00716493; } - pcVar15 = (char *)local_34; + pcVar14 = (char *)local_34; } - bVar4 = ANM2::SetAnimation(&pGVar2->_sprite,(byte *)pcVar15,1); + bVar4 = ANM2::SetAnimation(&pGVar2->_sprite,(byte *)pcVar14,1); if (bVar4 != 0) { AnimationState::Rewind(&(pGVar2->_sprite)._animState); (pGVar2->_sprite)._animState._isPlaying = 1; } } LAB_00716493: - RVar11 = pGVar2->_rng; - if (RVar11 == (RNG)0x0) { + uVar16 = (pGVar2->_rng)._seed; + if (uVar16 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar17 = (uint)RVar11 >> ((byte)*(undefined4 *)&pGVar2->field_0x30 & 0x1f) ^ (uint)RVar11; - uVar17 = uVar17 << ((byte)*(undefined4 *)&pGVar2->field_0x34 & 0x1f) ^ uVar17; - RVar11 = (RNG)(uVar17 >> ((byte)*(undefined4 *)&pGVar2->field_0x38 & 0x1f) ^ uVar17); - pGVar2->_rng = RVar11; - (pGVar2->_sprite)._flipX = ~RVar11._0_1_ & 1; + uVar16 = uVar16 >> ((byte)(pGVar2->_rng)._shift1 & 0x1f) ^ uVar16; + uVar16 = uVar16 << ((byte)(pGVar2->_rng)._shift2 & 0x1f) ^ uVar16; + uVar16 = uVar16 >> ((byte)(pGVar2->_rng)._shift3 & 0x1f) ^ uVar16; + (pGVar2->_rng)._seed = uVar16; + (pGVar2->_sprite)._flipX = ~(byte)uVar16 & 1; if ((pGVar2->_desc)._variant != 6) { ExceptionList = local_10; return; } - pLVar12 = ANM2::GetLayer(&pGVar2->_sprite,s_Spawn); - if (pLVar12 != (LayerState *)0x0) { - *(undefined4 *)&pLVar12->field_0x58 = 0x3ff33333; - *(undefined4 *)&pLVar12->field_0x5c = 0x40000000; - *(undefined4 *)&pLVar12->field_0x60 = 0x40000000; - *(undefined4 *)&pLVar12->field_0x64 = 0x3f800000; - *(undefined4 *)&pLVar12->field_0x68 = 0x3dcccccd; - *(undefined4 *)&pLVar12->field_0x6c = 0x3e99999a; - *(undefined4 *)&pLVar12->field_0x70 = 0x3ecccccd; + pLVar11 = ANM2::GetLayer(&pGVar2->_sprite,s_Spawn); + if (pLVar11 != (LayerState *)0x0) { + (pLVar11->_color)._colorize[0] = 1.9; + (pLVar11->_color)._colorize[1] = 2.0; + (pLVar11->_color)._colorize[2] = 2.0; + (pLVar11->_color)._colorize[3] = 1.0; + (pLVar11->_color)._offset[0] = 0.1; + (pLVar11->_color)._offset[1] = 0.3; + (pLVar11->_color)._offset[2] = 0.4; } if ((pGVar2->_desc)._state == 1000) { ExceptionList = local_10; @@ -436844,39 +437551,39 @@ LAB_00716493: iVar6 = *(int *)((int)g_game->_room + 0xc); local_1c4 = (float)(local_1b0->_gridIndex % iVar6) * 40.0 + 40.0; local_1c0 = (float)(local_1b0->_gridIndex / iVar6) * 40.0 + 120.0; - puVar13 = (undefined *)Game::Spawn(1000,0x70,&local_1c4,&g_vectorZero,0,0,uVar7); - local_1ac = puVar13; + puVar12 = (undefined *)Game::Spawn(1000,0x70,&local_1c4,&g_vectorZero,0,0,uVar7); + local_1ac = puVar12; if (*(char *)g_game->_room == '\0') { - pbVar10 = *(byte **)(puVar13 + 0x7c); + pbVar10 = *(byte **)(puVar12 + 0x7c); if (pbVar10 != (byte *)0x0) { - pbVar14 = pbVar10; + pbVar13 = pbVar10; if (0xf < *(uint *)(pbVar10 + 0x14)) { - pbVar14 = *(byte **)pbVar10; + pbVar13 = *(byte **)pbVar10; } - pbVar16 = s_Idle; + pbVar15 = s_Idle; do { - bVar4 = *pbVar14; - bVar21 = bVar4 < *pbVar16; - if (bVar4 != *pbVar16) { + bVar4 = *pbVar13; + bVar20 = bVar4 < *pbVar15; + if (bVar4 != *pbVar15) { LAB_00716606: - uVar17 = -(uint)bVar21 | 1; + uVar16 = -(uint)bVar20 | 1; goto LAB_0071660b; } if (bVar4 == 0) break; - bVar4 = pbVar14[1]; - bVar21 = bVar4 < pbVar16[1]; - if (bVar4 != pbVar16[1]) goto LAB_00716606; - pbVar14 = pbVar14 + 2; - pbVar16 = pbVar16 + 2; + bVar4 = pbVar13[1]; + bVar20 = bVar4 < pbVar15[1]; + if (bVar4 != pbVar15[1]) goto LAB_00716606; + pbVar13 = pbVar13 + 2; + pbVar15 = pbVar15 + 2; } while (bVar4 != 0); - uVar17 = 0; + uVar16 = 0; LAB_0071660b: - if ((uVar17 == 0) && ((pbVar10[0x34] == 0 || (puVar13[0x8c] != '\0')))) goto LAB_00716637; + if ((uVar16 == 0) && ((pbVar10[0x34] == 0 || (puVar12[0x8c] != '\0')))) goto LAB_00716637; } - bVar4 = ANM2::SetAnimation((ANM2 *)(puVar13 + 0x48),s_Idle,1); + bVar4 = ANM2::SetAnimation((ANM2 *)(puVar12 + 0x48),s_Idle,1); if (bVar4 != 0) { - AnimationState::Rewind((AnimationState *)(puVar13 + 0x78)); - puVar13[0x8c] = 1; + AnimationState::Rewind((AnimationState *)(puVar12 + 0x78)); + puVar12[0x8c] = 1; } } LAB_00716637: @@ -437705,10 +438412,7 @@ GridEntity_Poop::spawn_drops undefined4 local_b8; undefined4 local_b4; undefined4 local_b0; - undefined1 local_ac [28]; - float local_90; - undefined4 local_8c; - void *local_88; + EntityRef local_ac; Game *local_84; float local_80; float local_7c; @@ -438016,7 +438720,8 @@ LAB_007184fb: } uVar8 = (uint)pvVar9 >> ((byte)(local_58->_playerList)._end & 0x1f) ^ (uint)pvVar9; uVar8 = uVar8 << ((byte)(local_58->_playerList)._capacity & 0x1f) ^ uVar8; - pvVar9 = (void *)(uVar8 >> ((byte)*(undefined4 *)&local_58->field_0xc & 0x1f) ^ uVar8); + pvVar9 = (void *)(uVar8 >> ((byte)local_58->_coopSlots[0]._controllerIndex & 0x1f) ^ + uVar8); (local_58->_playerList)._begin = pvVar9; if ((uint)pvVar9 % 3 != 0) goto LAB_007184fb; } @@ -438172,17 +438877,17 @@ LAB_00717d8c: } else if (iVar16 == 5) { if (local_28 == 1) { - local_ac._20_4_ = g_vectorZero.y; - local_90 = g_vectorZero.y; - local_ac._16_4_ = g_vectorZero.x; - local_ac._24_4_ = g_vectorZero.x; - local_ac._0_4_ = 0; + local_ac._position.y = g_vectorZero.y; + local_ac._velocity.y = g_vectorZero.y; + local_ac._position.x = g_vectorZero.x; + local_ac._velocity.x = g_vectorZero.x; + local_ac._type = 0; pGVar20 = g_game->_room; - local_ac._4_4_ = 0; - local_ac._12_4_ = 0; - local_8c = 0; - local_88 = (void *)0x0; - local_ac._8_4_ = local_28; + local_ac._variant = 0; + local_ac._spawnerVariant = 0; + local_ac._flags = 0; + local_ac._entity = (void *)0x0; + local_ac._spawnerType = local_28; local_24 = pGVar20; if (*(int *)(param_5 + 0x24) == 0) { local_1c = (Entity *)0x0; @@ -438199,8 +438904,8 @@ LAB_00717d8c: if ((*(int *)&g_game->_deathmatchManager < 2) || (this != pEVar23)) { cVar5 = Entity::IsVulnerableEnemy(this,0); if (cVar5 != '\0') { - (**(code **)(*(int *)this + 0x20))(0x41200000,0,0,local_ac,0x1e); - Entity::AddConfusion(this,(EntityRef *)local_ac,0x3c,0); + (**(code **)(*(int *)this + 0x20))(0x41200000,0,0,&local_ac,0x1e); + Entity::AddConfusion(this,&local_ac,0x3c,0); } pEVar23 = local_1c; } @@ -438429,10 +439134,10 @@ void * __thiscall GridEntity_Poop::get_giga_part(GridEntity_Poop *this,int param this_01[1]._desc._variableSeed = 0; this_01[1]._gridIndex = 0; this_01[1]._spawnFrame = 0; - this_01[1]._rng = (RNG)0x0; - *(float *)&this_01[1].field_0x30 = g_vectorZero.x; - *(float *)&this_01[1].field_0x34 = g_vectorZero.y; - *(float *)&this_01[1].field_0x38 = g_vectorZero.x; + this_01[1]._rng._seed = 0; + this_01[1]._rng._shift1 = (int)g_vectorZero.x; + this_01[1]._rng._shift2 = (int)g_vectorZero.y; + this_01[1]._rng._shift3 = (int)g_vectorZero.x; this_01[1]._collisionClass = (int)g_vectorZero.y; pGVar1 = this_01 + 1; (pGVar1->_sprite)._filename._buf[0] = '\0'; @@ -438557,7 +439262,7 @@ void __thiscall ItemPool::IdentifyPill(ItemPool *this,uint pillColor) if (uVar2 < 0xe) { uVar1 = uVar2; } - (&this[1]._pools[1].field_0x4)[uVar1] = 1; + *(undefined1 *)((int)&this[1]._pools[1]._poolList._begin + uVar1) = 1; return; } @@ -439737,8 +440442,6 @@ void __thiscall GridEntity_Rock::PostInit(GridEntity_Rock *this) int GridColumn; undefined4 uVar7; RNG local_38; - undefined8 local_34; - undefined4 local_2c; Room *local_28; GridEntity_Rock *local_24; uint local_20 [3]; @@ -439746,9 +440449,10 @@ void __thiscall GridEntity_Rock::PostInit(GridEntity_Rock *this) GridEntity_Rock *local_8; local_8 = (GridEntity_Rock *)(__security_cookie ^ (uint)(local_14 + 4)); - local_34 = 0x900000005; - local_38 = (RNG)(this->_desc)._spawnSeed; - local_2c = 7; + local_38._shift1 = 5; + local_38._shift2 = 9; + local_38._seed = (this->_desc)._spawnSeed; + local_38._shift3 = 7; if ((((((this->_desc)._type == 2) && ((this->_desc)._state == 1)) && ((this->_desc)._spawnCount == 1)) && ((uVar3 = (this->_desc)._variant, uVar3 < 1000 || ((int)(uVar3 - 1000) < 0)))) && @@ -439835,8 +440539,6 @@ void __thiscall GridEntity_Rock::SetBigRockFrame(GridEntity_Rock *this,uint para std_string *anim; int iVar5; RNG local_18; - undefined8 local_14; - undefined4 local_c; anim = &this->_anim; if ((int)param_2 < 0) { @@ -439861,9 +440563,10 @@ void __thiscall GridEntity_Rock::SetBigRockFrame(GridEntity_Rock *this,uint para else { iVar5 = *(int *)(iVar5 + 0x58); } - local_18 = (RNG)(this->_gridIndex + iVar5 | 1); - local_14 = 0x900000005; - local_c = 7; + local_18._seed = this->_gridIndex + iVar5 | 1; + local_18._shift1 = 5; + local_18._shift2 = 9; + local_18._shift3 = 7; uVar2 = RNG::RandomInt(&local_18,*(uint *)(iVar4 + 0x30)); } else { @@ -440206,26 +440909,25 @@ void __thiscall GridEntity_Rock::TrySpawnWorms(GridEntity_Rock *this) int *piVar4; float fVar5; RNG local_20; - undefined8 local_1c; - float local_14; float local_10; float local_c; float local_8; - local_1c = 0x700000002; - uVar1 = (this->_desc)._spawnSeed; + local_20._shift1 = 2; + local_20._shift2 = 7; + local_20._seed = (this->_desc)._spawnSeed; iVar3 = *(int *)((int)g_game->_room + 0xc); - local_14 = 1.26117e-44; + local_20._shift3 = 9; local_8 = (float)(this->_gridIndex % iVar3) * 40.0 + 40.0; local_10 = (float)(this->_gridIndex / iVar3) * 40.0 + 120.0; - if (uVar1 == 0) { + if (local_20._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar1 = uVar1 >> 2 ^ uVar1; - uVar1 = uVar1 << 7 ^ uVar1; - local_20 = (RNG)(uVar1 >> 9 ^ uVar1); - if ((((local_20 == (RNG)(((uint)local_20 / 0x32) * 0x32)) && + local_20._seed = (uint)local_20._seed >> 2 ^ local_20._seed; + local_20._seed = local_20._seed << 7 ^ local_20._seed; + local_20._seed = (uint)local_20._seed >> 9 ^ local_20._seed; + if ((((local_20._seed == ((uint)local_20._seed / 0x32) * 0x32) && (iVar3 = (this->_desc)._type, iVar3 != 3)) && (iVar3 != 0x18)) && ((iVar3 != 6 && (iVar3 != 0x1a)))) { uVar1 = RNG::RandomInt(&local_20,5); @@ -440239,11 +440941,11 @@ void __thiscall GridEntity_Rock::TrySpawnWorms(GridEntity_Rock *this) fVar5 = fVar5 + fVar5; local_c = fVar5; cos(); - local_1c = CONCAT44(fVar5 * 20.0 + local_8,(undefined4)local_1c); + local_20._shift2 = (int)(fVar5 * 20.0 + local_8); fVar5 = local_c; sin(); - local_14 = fVar5 * 20.0 + local_10; - piVar4 = (int *)Game::Spawn(1000,0x3f,(int)&local_1c + 4,&g_vectorZero,0,0,uVar2); + local_20._shift3 = (int)(fVar5 * 20.0 + local_10); + piVar4 = (int *)Game::Spawn(1000,0x3f,&local_20._shift2,&g_vectorZero,0,0,uVar2); (**(code **)(*piVar4 + 0xc))(); uVar1 = uVar1 - 1; } while (uVar1 != 0); @@ -440413,41 +441115,40 @@ LAB_0071b300: /* DB: zhl SpawnDrops(pos,type,variant,seed,unk,backdrop); "Unknown alt rock type"; called from GridEntity_Rock::Destroy and Entity::DestroyRockGridAt */ -void GridEntity_Rock::SpawnDrops(int param_1,RNG param_2,char param_3,int param_4,EntityPtr param_5) +void GridEntity_Rock::SpawnDrops + (int param_1,Game *param_2,char param_3,int param_4,EntityPtr param_5) { void *pvVar1; undefined4 uVar2; - Game *pGVar3; - byte bVar4; - char cVar5; - int iVar6; - uint uVar7; - int *piVar8; - RNG RVar9; - undefined4 uVar10; - int iVar11; - Entity_Player *pEVar12; - uint uVar13; + byte bVar3; + char cVar4; + int iVar5; + uint uVar6; + int *piVar7; + Game *pGVar8; + undefined4 uVar9; + int iVar10; + Entity_Player *pEVar11; + uint uVar12; + byte bVar13; byte bVar14; - byte bVar15; float *in_ECX; EntityPtr this; - undefined4 *puVar16; + undefined4 *puVar15; undefined4 *extraout_ECX; undefined4 *extraout_ECX_00; - PlayerManager *pPVar17; + PlayerManager *pPVar16; int in_EDX; - uint uVar18; - RNG *pRVar19; - float fVar20; - RNG RVar21; - undefined1 auVar22 [16]; - float fVar23; - undefined4 uVar24; - TypeDescriptor *pTVar25; - undefined8 uVar26; - longlong lVar27; + uint uVar17; + float fVar18; + Game *pGVar19; + undefined1 auVar20 [16]; + float fVar21; + undefined4 uVar22; + TypeDescriptor *pTVar23; + undefined8 uVar24; + longlong lVar25; undefined1 local_1d0 [8]; undefined1 local_1c8 [8]; undefined4 local_1c0; @@ -440480,43 +441181,39 @@ void GridEntity_Rock::SpawnDrops(int param_1,RNG param_2,char param_3,int param_ float local_140; float local_13c; RNG local_138; - undefined8 local_134; - undefined4 local_12c; - RNG local_128; - RNG local_124; + Game *local_128; + Game *local_124; undefined8 local_11c; undefined4 local_114; - RNG local_110; + Game *local_110; undefined8 local_10c; undefined4 local_104; undefined1 local_100 [8]; undefined1 local_f8 [8]; EntityPtr local_f0; - RNG local_ec; + Game *local_ec; float local_e8; float local_e4; int local_e0; float *local_dc; - RNG local_d8; + Game *local_d8; Entity_Player *local_d4; int local_d0; char local_c9; ItemPool *local_c8; - RNG local_c4; - RNG local_c0; - RNG local_bc; + Game *local_c4; + Game *local_c0; + Game *local_bc; int local_b8; uint *local_b4; - RNG local_b0; + Game *local_b0; RNG local_ac; - undefined8 local_a8; - undefined4 local_a0; char local_99; - RNG local_98; - undefined4 local_94; - RNG local_90; - RNG local_8c; - RNG local_88; + Game *local_98; + int local_94; + Game *local_90; + Game *local_8c; + Game *local_88; char local_81; undefined4 local_54; undefined4 uStack_50; @@ -440536,15 +441233,16 @@ void GridEntity_Rock::SpawnDrops(int param_1,RNG param_2,char param_3,int param_ local_14 = __security_cookie ^ (uint)(local_28 + 0x18); local_f0 = param_5; local_94 = 7; - local_a0 = 7; - local_a8 = 0x900000005; + local_ac._shift3 = 7; + local_ac._shift1 = 5; + local_ac._shift2 = 9; local_d0 = 7; local_114 = 7; local_11c = 0x700000002; local_104 = 0x1d; local_ec = param_2; local_88 = param_2; - local_ac = param_2; + local_ac._seed = (int)param_2; local_d8 = param_2; local_110 = param_2; local_10c = 0x900000001; @@ -440554,12 +441252,12 @@ void GridEntity_Rock::SpawnDrops(int param_1,RNG param_2,char param_3,int param_ local_dc = in_ECX; local_b8 = in_EDX; local_e0 = FUN_00718ee0(); - local_98 = (RNG)g_game; + local_98 = g_game; if (g_game->_challenge == 0x2c) { Level::GetRoomStageType(); LAB_0071b52f: - iVar6 = RoomConfig::GetStageID(); - if ((iVar6 == 0x1d) || (iVar6 == 0x1e)) { + iVar5 = RoomConfig::GetStageID(); + if ((iVar5 == 0x1d) || (iVar5 == 0x1e)) { local_c9 = '\x01'; goto LAB_0071b555; } @@ -440572,13 +441270,13 @@ LAB_0071b555: local_99 = '\x01'; } local_c8 = &g_game->_itemPool; - local_c4 = (RNG)0x1; + local_c4 = (Game *)0x1; local_d4 = DAT_00c7ac6c; if (DAT_00c7ac6c != (Entity_Player *)0x0) { - bVar4 = Entity_Player::HasCollectible(DAT_00c7ac6c,0x3b,0); - local_c4 = (RNG)0x1; - if (bVar4 != 0) { - local_c4 = (RNG)0x3; + bVar3 = Entity_Player::HasCollectible(DAT_00c7ac6c,0x3b,0); + local_c4 = (Game *)0x1; + if (bVar3 != 0) { + local_c4 = (Game *)0x3; } } local_e8 = g_vectorZero.x; @@ -440586,463 +441284,459 @@ LAB_0071b555: do { local_bc = local_c4; if (local_b8 == 0x1b) { - if (param_2 == (RNG)0x0) { + if (param_2 == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)param_2 >> ((byte)local_a8 & 0x1f) ^ (uint)param_2; - bVar4 = (byte)((ulonglong)local_a8 >> 0x20); - uVar7 = uVar7 << (bVar4 & 0x1f) ^ uVar7; - local_90 = (RNG)(uVar7 >> ((byte)local_94 & 0x1f) ^ uVar7); - local_98 = (RNG)((uint)local_90 & 1); - if (local_90 == (RNG)0x0) { + uVar6 = (uint)param_2 >> ((byte)local_ac._shift1 & 0x1f) ^ (uint)param_2; + uVar6 = uVar6 << ((byte)local_ac._shift2 & 0x1f) ^ uVar6; + local_90 = (Game *)(uVar6 >> ((byte)local_94 & 0x1f) ^ uVar6); + local_98 = (Game *)((uint)local_90 & 1); + if (local_90 == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_90 >> ((byte)local_a8 & 0x1f) ^ (uint)local_90; - uVar7 = uVar7 << (bVar4 & 0x1f) ^ uVar7; - param_2 = (RNG)(uVar7 >> ((byte)local_94 & 0x1f) ^ uVar7); - local_90 = (RNG)(((uint)param_2 & 1) + (int)((int)local_98 + 2)); - local_ac = param_2; + uVar6 = (uint)local_90 >> ((byte)local_ac._shift1 & 0x1f) ^ (uint)local_90; + uVar6 = uVar6 << ((byte)local_ac._shift2 & 0x1f) ^ uVar6; + param_2 = (Game *)(uVar6 >> ((byte)local_94 & 0x1f) ^ uVar6); + local_90 = (Game *)((int)local_98->_roomList[0]._doors + (((uint)param_2 & 1) - 0x2e)); + local_ac._seed = (int)param_2; local_88 = param_2; - if (local_90 != (RNG)0x0) { + if (local_90 != (Game *)0x0) { do { - if (param_2 == (RNG)0x0) { + if (param_2 == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)param_2 >> ((byte)local_a8 & 0x1f) ^ (uint)param_2; - uVar7 = uVar7 << ((byte)((ulonglong)local_a8 >> 0x20) & 0x1f) ^ uVar7; - param_2 = (RNG)(uVar7 >> ((byte)local_94 & 0x1f) ^ uVar7); - local_ac = param_2; + uVar6 = (uint)param_2 >> ((byte)local_ac._shift1 & 0x1f) ^ (uint)param_2; + uVar6 = uVar6 << ((byte)local_ac._shift2 & 0x1f) ^ uVar6; + param_2 = (Game *)(uVar6 >> ((byte)local_94 & 0x1f) ^ uVar6); + local_ac._seed = (int)param_2; Isaac::GetRandomPickupVelocity(0); - piVar8 = (int *)Game::Spawn(5,0x14,in_ECX,local_188,0,1,param_2); - (**(code **)(*piVar8 + 0xc))(); - local_90 = (RNG)((int)local_90 + -1); - } while (local_90 != (RNG)0x0); - local_90 = (RNG)0x0; + piVar7 = (int *)Game::Spawn(5,0x14,in_ECX,local_188,0,1,param_2); + (**(code **)(*piVar7 + 0xc))(); + local_90 = (Game *)&local_90[-1]._console.field_0x3; + } while (local_90 != (Game *)0x0); + local_90 = (Game *)0x0; local_88 = param_2; } } - RVar9 = (RNG)PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0xf); + pGVar8 = (Game *)PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0xf); if (*(int *)&g_game->_deathmatchManager < 2) { LAB_0071b771: - puVar16 = (undefined4 *)0x10; - if (0x10 < (int)RVar9) { - RVar9 = (RNG)0x10; + puVar15 = (undefined4 *)0x10; + if (0x10 < (int)pGVar8) { + pGVar8 = (Game *)0x10; } - local_90 = RVar9; - if (0 < (int)RVar9) { + local_90 = pGVar8; + if (0 < (int)pGVar8) { do { - if (param_2 == (RNG)0x0) { + if (param_2 == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)param_2 >> ((byte)local_a8 & 0x1f) ^ (uint)param_2; - bVar4 = (byte)((ulonglong)local_a8 >> 0x20); - uVar7 = uVar7 << (bVar4 & 0x1f) ^ uVar7; - param_2 = (RNG)(uVar7 >> ((byte)local_94 & 0x1f) ^ uVar7); - puVar16 = (undefined4 *)((uint)param_2 % 3); - local_ac = param_2; - if (puVar16 == (undefined4 *)0x0) { - if (param_2 == (RNG)0x0) { + uVar6 = (uint)param_2 >> ((byte)local_ac._shift1 & 0x1f) ^ (uint)param_2; + uVar6 = uVar6 << ((byte)local_ac._shift2 & 0x1f) ^ uVar6; + param_2 = (Game *)(uVar6 >> ((byte)local_94 & 0x1f) ^ uVar6); + puVar15 = (undefined4 *)((uint)param_2 % 3); + local_ac._seed = (int)param_2; + if (puVar15 == (undefined4 *)0x0) { + if (param_2 == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)param_2 >> ((byte)local_a8 & 0x1f) ^ (uint)param_2; - uVar7 = uVar7 << (bVar4 & 0x1f) ^ uVar7; - param_2 = (RNG)(uVar7 >> ((byte)local_94 & 0x1f) ^ uVar7); - local_ac = param_2; + uVar6 = (uint)param_2 >> ((byte)local_ac._shift1 & 0x1f) ^ (uint)param_2; + uVar6 = uVar6 << ((byte)local_ac._shift2 & 0x1f) ^ uVar6; + param_2 = (Game *)(uVar6 >> ((byte)local_94 & 0x1f) ^ uVar6); + local_ac._seed = (int)param_2; Isaac::GetRandomPickupVelocity(0); - piVar8 = (int *)Game::Spawn(5,0x14,in_ECX,local_190,0,1,param_2); - (**(code **)(*piVar8 + 0xc))(); - puVar16 = extraout_ECX; + piVar7 = (int *)Game::Spawn(5,0x14,in_ECX,local_190,0,1,param_2); + (**(code **)(*piVar7 + 0xc))(); + puVar15 = extraout_ECX; } - local_90 = (RNG)((int)local_90 + -1); + local_90 = (Game *)&local_90[-1]._console.field_0x3; } while (0 < (int)local_90); local_88 = param_2; } } else { - puVar16 = (undefined4 *)0x0; + puVar15 = (undefined4 *)0x0; this = local_f0; if (local_f0 != (EntityPtr)0x0) { do { if (*(int *)((int)this + 0x28) == 1) { - RVar9 = (RNG)Entity_Player::GetTrinketMultiplier((Entity_Player *)this,0xf); + pGVar8 = (Game *)Entity_Player::GetTrinketMultiplier((Entity_Player *)this,0xf); goto LAB_0071b771; } this = *(EntityPtr *)((int)this + 0x3c8); } while (this != (EntityPtr)0x0); - puVar16 = (undefined4 *)0x0; + puVar15 = (undefined4 *)0x0; } } if ((local_b8 == 4) || (local_b8 == 0x16)) { - if (param_2 == (RNG)0x0) { + if (param_2 == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)param_2 >> ((byte)local_a8 & 0x1f) ^ (uint)param_2; - uVar7 = uVar7 << ((byte)((ulonglong)local_a8 >> 0x20) & 0x1f) ^ uVar7; - uVar7 = uVar7 >> ((byte)local_94 & 0x1f) ^ uVar7; - if ((uVar7 % 10 == 0) && (cVar5 = ItemPool::RemoveCollectible(0x5a,1,0), cVar5 != '\0')) { - if (uVar7 == 0) { + uVar6 = (uint)param_2 >> ((byte)local_ac._shift1 & 0x1f) ^ (uint)param_2; + uVar6 = uVar6 << ((byte)local_ac._shift2 & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)local_94 & 0x1f) ^ uVar6; + if ((uVar6 % 10 == 0) && (cVar4 = ItemPool::RemoveCollectible(0x5a,1,0), cVar4 != '\0')) { + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = uVar7 >> ((byte)local_a8 & 0x1f) ^ uVar7; - uVar7 = uVar7 << ((byte)((ulonglong)local_a8 >> 0x20) & 0x1f) ^ uVar7; - local_ac = (RNG)(uVar7 >> ((byte)local_94 & 0x1f) ^ uVar7); - uVar26 = CONCAT44(local_ac,0x5a); + uVar6 = uVar6 >> ((byte)local_ac._shift1 & 0x1f) ^ uVar6; + uVar6 = uVar6 << ((byte)local_ac._shift2 & 0x1f) ^ uVar6; + local_ac._seed = uVar6 >> ((byte)local_94 & 0x1f) ^ uVar6; + uVar24 = CONCAT44(local_ac._seed,0x5a); goto LAB_0071daa3; } - local_bc = (RNG)((uint)(local_b8 == 0x16) * 2 + 2); - bVar4 = (byte)((ulonglong)local_a8 >> 0x20); + local_bc = (Game *)((uint)(local_b8 == 0x16) * 2 + 2); if (1 < (int)local_c4) { - if (uVar7 == 0) { + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = uVar7 >> ((byte)local_a8 & 0x1f) ^ uVar7; - uVar7 = uVar7 << (bVar4 & 0x1f) ^ uVar7; - uVar7 = uVar7 >> ((byte)local_94 & 0x1f) ^ uVar7; - local_bc = (RNG)(uVar7 & 1); + uVar6 = uVar6 >> ((byte)local_ac._shift1 & 0x1f) ^ uVar6; + uVar6 = uVar6 << ((byte)local_ac._shift2 & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)local_94 & 0x1f) ^ uVar6; + local_bc = (Game *)(uVar6 & 1); } - if (uVar7 == 0) { + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = uVar7 >> ((byte)local_a8 & 0x1f) ^ uVar7; - uVar7 = uVar7 << (bVar4 & 0x1f) ^ uVar7; - local_ac = (RNG)(uVar7 >> ((byte)local_94 & 0x1f) ^ uVar7); - local_88 = local_ac; - if (local_ac != (RNG)(((uint)local_ac / 3) * 3)) { - local_c0 = (RNG)g_game; + uVar6 = uVar6 >> ((byte)local_ac._shift1 & 0x1f) ^ uVar6; + uVar6 = uVar6 << ((byte)local_ac._shift2 & 0x1f) ^ uVar6; + local_ac._seed = uVar6 >> ((byte)local_94 & 0x1f) ^ uVar6; + local_88 = (Game *)local_ac._seed; + if ((Game *)local_ac._seed != (Game *)(((uint)local_ac._seed / 3) * 3)) { + local_c0 = g_game; pvVar1 = (g_manager->_itemConfig)._trinkets._begin; if ((((int)((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar1 & 0xfffffffcU) < 0xa9 - ) || (iVar6 = *(int *)((int)pvVar1 + 0xa8), iVar6 == 0)) || - ((*(uint *)(iVar6 + 0xb8) & 0x80000000) == 0)) { + ) || (iVar5 = *(int *)((int)pvVar1 + 0xa8), iVar5 == 0)) || + ((*(uint *)(iVar5 + 0xb8) & 0x80000000) == 0)) { local_81 = '\0'; } else { local_81 = '\x01'; } - pRVar19 = (g_game->_playerManager)._playerList._begin; - if (pRVar19 != (g_game->_playerManager)._playerList._end) { + puVar15 = (g_game->_playerManager)._playerList._begin; + if (puVar15 != (g_game->_playerManager)._playerList._end) { do { - local_90 = *pRVar19; - if (*(int *)((int)local_90 + 0x2c) == 0) { - bVar4 = Entity_Player::HasTrinket((Entity_Player *)local_90,0x2a,0); - if (bVar4 == 0) { + local_90 = (Game *)*puVar15; + if (local_90->_roomList[0].AllowedDoors == 0) { + bVar3 = Entity_Player::HasTrinket((Entity_Player *)local_90,0x2a,0); + if (bVar3 == 0) { if (((local_81 == '\0') || - (*(void **)((int)local_90 + 0x1e6c) == (Entity_Player *)0x0)) || - (bVar4 = Entity_Player::HasTrinket(*(void **)((int)local_90 + 0x1e6c),0x2a,0), - bVar4 == 0)) goto LAB_0071d111; - RVar9 = *(RNG *)((int)local_90 + 0x1e6c); + (pEVar11 = (Entity_Player *)local_90->_roomList[0x2a]._doors[3], + pEVar11 == (Entity_Player *)0x0)) || + (bVar3 = Entity_Player::HasTrinket(pEVar11,0x2a,0), bVar3 == 0)) + goto LAB_0071d111; + pGVar8 = (Game *)local_90->_roomList[0x2a]._doors[3]; } else { - RVar9 = local_90; + pGVar8 = local_90; } - if (RVar9 != (RNG)0x0) { - local_bc = (RNG)((int)local_bc + 1); + if (pGVar8 != (Game *)0x0) { + local_bc = (Game *)((int)&local_bc->_stage + 1); } break; } LAB_0071d111: - pRVar19 = pRVar19 + 1; - } while (pRVar19 != *(void **)((int)local_c0 + 0x1baac)); + puVar15 = puVar15 + 1; + } while (puVar15 != (local_c0->_playerManager)._playerList._end); } } param_2 = local_88; local_28 = _DAT_00bab690; local_18 = 0x24; - local_8c = (RNG)0x0; + local_8c = (Game *)0x0; do { local_b4 = *(uint **)(local_28 + (int)local_8c * 4); - local_b0 = (RNG)&g_game->_playerManager; - if (local_d8 == (RNG)0x0) { + local_b0 = (Game *)&g_game->_playerManager; + if (local_d8 == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_d8 >> ((byte)local_11c & 0x1f) ^ (uint)local_d8; - uVar7 = uVar7 << ((byte)((ulonglong)local_11c >> 0x20) & 0x1f) ^ uVar7; - local_d8 = (RNG)(uVar7 >> ((byte)local_d0 & 0x1f) ^ uVar7); - local_c0 = (RNG)PlayerManager::RandomTrinketOwner - ((PlayerManager *)local_b0, - *(undefined4 *)(local_28 + (int)local_8c * 4),local_d8,0); - if (local_c0 != (RNG)0x0) { - bVar4 = Entity_Player::HasTrinket + uVar6 = (uint)local_d8 >> ((byte)local_11c & 0x1f) ^ (uint)local_d8; + uVar6 = uVar6 << ((byte)((ulonglong)local_11c >> 0x20) & 0x1f) ^ uVar6; + local_d8 = (Game *)(uVar6 >> ((byte)local_d0 & 0x1f) ^ uVar6); + local_c0 = (Game *)PlayerManager::RandomTrinketOwner + ((PlayerManager *)local_b0, + *(undefined4 *)(local_28 + (int)local_8c * 4),local_d8,0); + if (local_c0 != (Game *)0x0) { + bVar3 = Entity_Player::HasTrinket ((Entity_Player *)local_c0,*(uint *)(local_28 + (int)local_8c * 4),0); - if (bVar4 == 0) goto LAB_0071d33a; + if (bVar3 == 0) goto LAB_0071d33a; if ((*(int *)(local_28 + (int)local_8c * 4) == 0x22) && - (bVar4 = Entity_Player::HasTrinket((Entity_Player *)local_c0,0x16,0), bVar4 != 0)) { - uVar7 = Random(); - if (uVar7 % 5 != 0) goto LAB_0071d33a; + (bVar3 = Entity_Player::HasTrinket((Entity_Player *)local_c0,0x16,0), bVar3 != 0)) { + uVar6 = Random(); + if (uVar6 % 5 != 0) goto LAB_0071d33a; } - iVar6 = PlayerManager::GetTrinketMultiplier + iVar5 = PlayerManager::GetTrinketMultiplier (&g_game->_playerManager,*(int *)(local_28 + (int)local_8c * 4)); - local_98 = (RNG)0x21; - if (iVar6 == 2) { - local_98 = (RNG)0x42; + local_98 = (Game *)0x21; + if (iVar5 == 2) { + local_98 = (Game *)0x42; } - else if (2 < iVar6) { - local_98 = (RNG)0x64; + else if (2 < iVar5) { + local_98 = (Game *)0x64; } if (((int)local_b4 < 0) || - ((int)*(void **)((int)local_c0 + 0x1780) - - (int)((std_vector *)((int)local_c0 + 0x177c))->_begin >> 4 <= (int)local_b4)) { + ((int)local_c0->_roomList[0x20].SavedGridEntities._end - + (int)local_c0->_roomList[0x20].SavedGridEntities._begin >> 4 <= (int)local_b4)) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Trinket ID out of bounds!\n"); } - pvVar1 = ((std_vector *)((int)local_c0 + 0x177c))->_begin; - uVar13 = ((int)*(void **)((int)local_c0 + 0x1780) - (int)pvVar1 >> 4) - 1; - uVar7 = -(uint)(*(int *)(local_28 + (int)local_8c * 4) != 0) & + pvVar1 = local_c0->_roomList[0x20].SavedGridEntities._begin; + uVar12 = ((int)local_c0->_roomList[0x20].SavedGridEntities._end - (int)pvVar1 >> 4) - 1; + uVar6 = -(uint)(*(int *)(local_28 + (int)local_8c * 4) != 0) & *(uint *)(local_28 + (int)local_8c * 4); - if (uVar13 <= uVar7) { - uVar7 = uVar13; + if (uVar12 <= uVar6) { + uVar6 = uVar12; } - local_90 = (RNG)(uVar7 * 0x10 + (int)pvVar1); - if (*(uint *)local_90 == 0) { + local_90 = (Game *)(uVar6 * 0x10 + (int)pvVar1); + if (local_90->_stage == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = *(uint *)local_90 >> ((byte)*(int *)((int)local_90 + 4) & 0x1f) ^ - *(uint *)local_90; - uVar7 = uVar7 << ((byte)((std_vector *)((int)local_90 + 8))->_begin & 0x1f) ^ uVar7; - uVar7 = uVar7 >> ((byte)*(void **)((int)local_90 + 0xc) & 0x1f) ^ uVar7; - *(uint *)local_90 = uVar7; + uVar6 = (uint)local_90->_stage >> ((byte)local_90->_stageType & 0x1f) ^ local_90->_stage; + uVar6 = uVar6 << ((byte)((std_vector *)&local_90->_bossChallenge)->_begin & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)(void *)local_90->_curses & 0x1f) ^ uVar6; + local_90->_stage = uVar6; in_ECX = local_dc; - if ((uint)local_98 <= uVar7 % 100) goto LAB_0071d33a; + if (local_98 <= (Game *)(uVar6 % 100)) goto LAB_0071d33a; switch(local_b4) { case (uint *)0x22: - local_8c = (RNG)0xa; + local_8c = (Game *)0xa; break; default: Isaac::GetRandomPickupVelocity(1); - local_8c = (RNG)0xa; + local_8c = (Game *)0xa; if ((int)local_b4 < 0) { - local_8c = (RNG)0xa; + local_8c = (Game *)0xa; goto LAB_0071d402; } goto LAB_0071d3da; case (uint *)0x24: - local_8c = (RNG)0x1e; + local_8c = (Game *)0x1e; break; case (uint *)0x29: - local_8c = (RNG)0x28; + local_8c = (Game *)0x28; break; case (uint *)0x2c: - local_8c = (RNG)0x46; + local_8c = (Game *)0x46; break; case (uint *)0x2d: - local_8c = (RNG)0x12c; + local_8c = (Game *)0x12c; } Isaac::GetRandomPickupVelocity(1); LAB_0071d3da: in_ECX = local_dc; - if ((int)*(void **)((int)local_c0 + 0x1780) - - (int)((std_vector *)((int)local_c0 + 0x177c))->_begin >> 4 <= (int)local_b4) { + if ((int)local_c0->_roomList[0x20].SavedGridEntities._end - + (int)local_c0->_roomList[0x20].SavedGridEntities._begin >> 4 <= (int)local_b4) { LAB_0071d402: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Trinket ID out of bounds!\n"); } - pvVar1 = ((std_vector *)((int)local_c0 + 0x177c))->_begin; - uVar13 = ((int)*(void **)((int)local_c0 + 0x1780) - (int)pvVar1 >> 4) - 1; - uVar7 = -(uint)(local_b4 != (uint *)0x0) & (uint)local_b4; - if (uVar13 <= uVar7) { - uVar7 = uVar13; + pvVar1 = local_c0->_roomList[0x20].SavedGridEntities._begin; + uVar12 = ((int)local_c0->_roomList[0x20].SavedGridEntities._end - (int)pvVar1 >> 4) - 1; + uVar6 = -(uint)(local_b4 != (uint *)0x0) & (uint)local_b4; + if (uVar12 <= uVar6) { + uVar6 = uVar12; } - local_b4 = (uint *)(uVar7 * 0x10 + (int)pvVar1); + local_b4 = (uint *)(uVar6 * 0x10 + (int)pvVar1); if (*local_b4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = *local_b4 >> ((byte)local_b4[1] & 0x1f) ^ *local_b4; - uVar7 = uVar7 << ((byte)local_b4[2] & 0x1f) ^ uVar7; - uVar7 = uVar7 >> ((byte)local_b4[3] & 0x1f) ^ uVar7; - *local_b4 = uVar7; - piVar8 = (int *)Game::Spawn(5,local_8c,local_dc,local_f8,0,0,uVar7); - (**(code **)(*piVar8 + 0xc))(); + uVar6 = *local_b4 >> ((byte)local_b4[1] & 0x1f) ^ *local_b4; + uVar6 = uVar6 << ((byte)local_b4[2] & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)local_b4[3] & 0x1f) ^ uVar6; + *local_b4 = uVar6; + piVar7 = (int *)Game::Spawn(5,local_8c,local_dc,local_f8,0,0,uVar6); + (**(code **)(*piVar7 + 0xc))(); break; } LAB_0071d33a: - local_8c = (RNG)((int)local_8c + 1); - } while ((uint)local_8c < 5); - local_b0 = (RNG)&g_game->_playerManager; + local_8c = (Game *)((int)&local_8c->_stage + 1); + } while (local_8c < (Game *)&DAT_00000005); + local_b0 = (Game *)&g_game->_playerManager; local_b4 = (uint *)0x0; - if (local_d8 == (RNG)0x0) { + if (local_d8 == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_d8 >> ((byte)local_11c & 0x1f) ^ (uint)local_d8; - uVar7 = uVar7 << ((byte)((ulonglong)local_11c >> 0x20) & 0x1f) ^ uVar7; - local_d8 = (RNG)(uVar7 >> ((byte)local_d0 & 0x1f) ^ uVar7); + uVar6 = (uint)local_d8 >> ((byte)local_11c & 0x1f) ^ (uint)local_d8; + uVar6 = uVar6 << ((byte)((ulonglong)local_11c >> 0x20) & 0x1f) ^ uVar6; + local_d8 = (Game *)(uVar6 >> ((byte)local_d0 & 0x1f) ^ uVar6); PlayerManager::RandomTrinketOwner((PlayerManager *)local_b0,0x16,local_d8,&local_b4); - local_90 = (RNG)0x0; - if (local_bc != (RNG)0x0) { + local_90 = (Game *)0x0; + if (local_bc != (Game *)0x0) { do { - if (param_2 == (RNG)0x0) { + if (param_2 == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)param_2 >> ((byte)local_a8 & 0x1f) ^ (uint)param_2; - uVar7 = uVar7 << ((byte)((ulonglong)local_a8 >> 0x20) & 0x1f) ^ uVar7; - RVar9 = (RNG)(uVar7 >> ((byte)local_94 & 0x1f) ^ uVar7); - local_98 = (RNG)((float)((double)(int)RVar9 + - __uint_to_double_fixup[-((int)RVar9 >> 0x1f)]) * 2.3283062e-10); - local_ac = RVar9; + uVar6 = (uint)param_2 >> ((byte)local_ac._shift1 & 0x1f) ^ (uint)param_2; + uVar6 = uVar6 << ((byte)local_ac._shift2 & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)local_94 & 0x1f) ^ uVar6; + local_98 = (Game *)((float)((double)(int)uVar6 + + __uint_to_double_fixup[-((int)uVar6 >> 0x1f)]) * 2.3283062e-10) + ; + local_ac._seed = uVar6; Isaac::GetRandomPickupVelocity(0); - bVar15 = (byte)local_a8; - bVar14 = (byte)local_94; - bVar4 = (byte)((ulonglong)local_a8 >> 0x20); + bVar3 = (byte)local_ac._shift1; + bVar13 = (byte)local_94; + bVar14 = (byte)local_ac._shift2; if (0.6 <= (float)local_98) { LAB_0071d74b: if (0.7 <= (float)local_98) { - if ((0.71 <= (float)local_98) || (local_90 != (RNG)0x0)) { - if ((0.9 <= (float)local_98) || (local_90 != (RNG)0x0)) { - if (RVar9 == (RNG)0x0) { + if ((0.71 <= (float)local_98) || (local_90 != (Game *)0x0)) { + if ((0.9 <= (float)local_98) || (local_90 != (Game *)0x0)) { + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar9 >> (bVar15 & 0x1f) ^ (uint)RVar9; - uVar7 = uVar7 << (bVar4 & 0x1f) ^ uVar7; - param_2 = (RNG)(uVar7 >> (bVar14 & 0x1f) ^ uVar7); - uVar10 = 0x28; + uVar6 = uVar6 >> (bVar3 & 0x1f) ^ uVar6; + uVar6 = uVar6 << (bVar14 & 0x1f) ^ uVar6; + param_2 = (Game *)(uVar6 >> (bVar13 & 0x1f) ^ uVar6); + uVar9 = 0x28; goto LAB_0071d815; } - if (RVar9 == (RNG)0x0) { + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar9 >> (bVar15 & 0x1f) ^ (uint)RVar9; - uVar7 = uVar7 << (bVar4 & 0x1f) ^ uVar7; - local_88 = (RNG)(uVar7 >> (bVar14 & 0x1f) ^ uVar7); - uVar10 = 0x3c; + uVar6 = uVar6 >> (bVar3 & 0x1f) ^ uVar6; + uVar6 = uVar6 << (bVar14 & 0x1f) ^ uVar6; + local_88 = (Game *)(uVar6 >> (bVar13 & 0x1f) ^ uVar6); + uVar9 = 0x3c; } else { - if (RVar9 == (RNG)0x0) { + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar9 >> (bVar15 & 0x1f) ^ (uint)RVar9; - uVar7 = uVar7 << (bVar4 & 0x1f) ^ uVar7; - local_88 = (RNG)(uVar7 >> (bVar14 & 0x1f) ^ uVar7); - uVar10 = 0x32; + uVar6 = uVar6 >> (bVar3 & 0x1f) ^ uVar6; + uVar6 = uVar6 << (bVar14 & 0x1f) ^ uVar6; + local_88 = (Game *)(uVar6 >> (bVar13 & 0x1f) ^ uVar6); + uVar9 = 0x32; } param_2 = local_88; - local_ac = local_88; - piVar8 = (int *)Game::Spawn(5,uVar10,in_ECX,local_100,0, - (ulonglong)(uint)local_88 << 0x20); - (**(code **)(*piVar8 + 0xc))(); + local_ac._seed = (int)local_88; + piVar7 = (int *)Game::Spawn(5,uVar9,in_ECX,local_100,0,ZEXT48(local_88) << 0x20); + (**(code **)(*piVar7 + 0xc))(); break; } - if (RVar9 == (RNG)0x0) { + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar9 >> (bVar15 & 0x1f) ^ (uint)RVar9; - uVar7 = uVar7 << (bVar4 & 0x1f) ^ uVar7; - param_2 = (RNG)(uVar7 >> (bVar14 & 0x1f) ^ uVar7); - uVar10 = 0x1e; + uVar6 = uVar6 >> (bVar3 & 0x1f) ^ uVar6; + uVar6 = uVar6 << (bVar14 & 0x1f) ^ uVar6; + param_2 = (Game *)(uVar6 >> (bVar13 & 0x1f) ^ uVar6); + uVar9 = 0x1e; LAB_0071d815: - local_ac = param_2; + local_ac._seed = (int)param_2; local_88 = param_2; - piVar8 = (int *)Game::Spawn(5,uVar10,in_ECX,local_100,0,(ulonglong)(uint)param_2 << 0x20 - ); - (**(code **)(*piVar8 + 0xc))(); + piVar7 = (int *)Game::Spawn(5,uVar9,in_ECX,local_100,0,ZEXT48(param_2) << 0x20); + (**(code **)(*piVar7 + 0xc))(); } else { if (local_b4 != (uint *)0x0) { - uVar7 = *local_b4; - if (uVar7 == 0) { + uVar12 = *local_b4; + if (uVar12 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = uVar7 >> ((byte)local_b4[1] & 0x1f) ^ uVar7; - uVar7 = uVar7 << ((byte)local_b4[2] & 0x1f) ^ uVar7; - uVar7 = uVar7 >> ((byte)local_b4[3] & 0x1f) ^ uVar7; - *local_b4 = uVar7; - if (uVar7 % 5 != 0) goto LAB_0071d74b; + uVar12 = uVar12 >> ((byte)local_b4[1] & 0x1f) ^ uVar12; + uVar12 = uVar12 << ((byte)local_b4[2] & 0x1f) ^ uVar12; + uVar12 = uVar12 >> ((byte)local_b4[3] & 0x1f) ^ uVar12; + *local_b4 = uVar12; + if (uVar12 % 5 != 0) goto LAB_0071d74b; } - if ((local_c9 == '\0') || (((uint)local_ac & 1) != 0)) { - if (RVar9 == (RNG)0x0) { + if ((local_c9 == '\0') || ((local_ac._seed & 1U) != 0)) { + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar9 >> (bVar15 & 0x1f) ^ (uint)RVar9; - uVar7 = uVar7 << (bVar4 & 0x1f) ^ uVar7; - RVar9 = (RNG)(uVar7 >> (bVar14 & 0x1f) ^ uVar7); - piVar8 = (int *)Game::Spawn(5,10,in_ECX,local_100,0,3,RVar9); - (**(code **)(*piVar8 + 0xc))(); + uVar6 = uVar6 >> (bVar3 & 0x1f) ^ uVar6; + uVar6 = uVar6 << (bVar14 & 0x1f) ^ uVar6; + uVar6 = uVar6 >> (bVar13 & 0x1f) ^ uVar6; + piVar7 = (int *)Game::Spawn(5,10,in_ECX,local_100,0,3,uVar6); + (**(code **)(*piVar7 + 0xc))(); } else { Entity_NPC::ThrowRockSpider(0); } - if (RVar9 == (RNG)0x0) { + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar9 >> ((byte)local_a8 & 0x1f) ^ (uint)RVar9; - uVar7 = uVar7 << ((byte)((ulonglong)local_a8 >> 0x20) & 0x1f) ^ uVar7; - param_2 = (RNG)(uVar7 >> ((byte)local_94 & 0x1f) ^ uVar7); - RVar9 = (RNG)((int)local_bc + -1); + uVar6 = uVar6 >> ((byte)local_ac._shift1 & 0x1f) ^ uVar6; + uVar6 = uVar6 << ((byte)local_ac._shift2 & 0x1f) ^ uVar6; + param_2 = (Game *)(uVar6 >> ((byte)local_94 & 0x1f) ^ uVar6); + pGVar8 = (Game *)&local_bc[-1]._console.field_0x3; if (((uint)param_2 & 1) != 0) { - RVar9 = local_bc; + pGVar8 = local_bc; } - local_bc = RVar9; - local_ac = param_2; + local_bc = pGVar8; + local_ac._seed = (int)param_2; local_88 = param_2; } - local_90 = (RNG)((int)local_90 + 1); + local_90 = (Game *)((int)&local_90->_stage + 1); } while ((int)local_90 < (int)local_bc); } - RVar9 = local_c4; + pGVar8 = local_c4; goto LAB_0071d8b1; } if ((local_b8 == 6) || (local_b8 == 0x1a)) { local_81 = '\0'; - if ((local_e0 == 5) && ((param_1 == 1 && (local_c4 == (RNG)0x1)))) { - local_8c = (RNG)0x6; - local_b0 = (RNG)((param_4 != 0x2d) + 3); + if ((local_e0 == 5) && ((param_1 == 1 && (local_c4 == (Game *)0x1)))) { + local_8c = (Game *)&DAT_00000006; + local_b0 = (Game *)((param_4 != 0x2d) + 3); do { - iVar6 = Random(); - fVar20 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * 2.3283064e-10 + iVar5 = Random(); + fVar18 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 3.14; - RVar21 = (RNG)(fVar20 + fVar20); - local_98 = RVar21; + pGVar19 = (Game *)(fVar18 + fVar18); + local_98 = pGVar19; sin(); - RVar9 = local_98; - local_c0 = RVar21; + pGVar8 = local_98; + local_c0 = pGVar19; cos(); - local_90 = RVar9; - iVar6 = Random(); - fVar20 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * 2.3283064e-10 + local_90 = pGVar8; + iVar5 = Random(); + fVar18 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 ; - local_16c = fVar20 * (float)local_c0 * 6.0; - local_170 = fVar20 * (float)local_90 * 6.0; - uVar10 = Random(); - iVar6 = Random(); - fVar20 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * 2.3283064e-10 + local_16c = fVar18 * (float)local_c0 * 6.0; + local_170 = fVar18 * (float)local_90 * 6.0; + uVar9 = Random(); + iVar5 = Random(); + fVar18 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 ; - local_174 = fVar20 * (float)local_c0 * 8.0 + in_ECX[1]; - local_178 = fVar20 * (float)local_90 * 8.0 + *in_ECX; - iVar6 = Game::Spawn(9,local_b0,&local_178,&local_170,0,0,uVar10); - *(undefined4 *)(iVar6 + 0x34) = 0; - *(undefined4 *)(iVar6 + 0x38) = 0x2712; - uVar7 = Random(); - iVar11 = Random(); - *(float *)(iVar6 + 0x420) = - (float)((double)iVar11 + __uint_to_double_fixup[-(iVar11 >> 0x1f)]) * 2.3283064e-10 * - 0.05 + ((float)(uVar7 & 1) + 0.0) * 0.4 + 0.9; - *(undefined4 *)(iVar6 + 0x410) = 0xc2000000; - *(undefined4 *)(iVar6 + 0x418) = 0x3f666666; - iVar11 = Random(); + local_174 = fVar18 * (float)local_c0 * 8.0 + in_ECX[1]; + local_178 = fVar18 * (float)local_90 * 8.0 + *in_ECX; + iVar5 = Game::Spawn(9,local_b0,&local_178,&local_170,0,0,uVar9); + *(undefined4 *)(iVar5 + 0x34) = 0; + *(undefined4 *)(iVar5 + 0x38) = 0x2712; + uVar6 = Random(); + iVar10 = Random(); + *(float *)(iVar5 + 0x420) = + (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * + 0.05 + ((float)(uVar6 & 1) + 0.0) * 0.4 + 0.9; + *(undefined4 *)(iVar5 + 0x410) = 0xc2000000; + *(undefined4 *)(iVar5 + 0x418) = 0x3f666666; + iVar10 = Random(); in_ECX = local_dc; - local_8c = (RNG)((int)local_8c + -1); - *(float *)(iVar6 + 0x414) = - -5.0 - (float)((double)iVar11 + __uint_to_double_fixup[-(iVar11 >> 0x1f)]) * + local_8c = (Game *)((int)local_8c + -1); + *(float *)(iVar5 + 0x414) = + -5.0 - (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 24.0; - } while (local_8c != (RNG)0x0); + } while (local_8c != (Game *)0x0); if (param_4 == 0x2d) { local_54 = 0x3f800000; uStack_50 = 0x3f800000; @@ -441055,214 +441749,214 @@ LAB_0071d815: uStack_3c = 0; uStack_38 = 0; local_2c = 0; - iVar6 = Random(); - local_b0 = (RNG)((float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * - 2.3283064e-10 * 5.0 + 4.0); - uVar7 = Random(); - Game::SpawnParticles(in_ECX,0x3a,uVar7 % 5 + 4,local_b0,&local_54,0x47c35000,0); - uVar10 = Random(); - Game::Spawn(1000,0x2b,in_ECX,&g_vectorZero,0,0,uVar10); - puVar16 = extraout_ECX_00; + iVar5 = Random(); + local_b0 = (Game *)((float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * + 2.3283064e-10 * 5.0 + 4.0); + uVar6 = Random(); + Game::SpawnParticles(in_ECX,0x3a,uVar6 % 5 + 4,local_b0,&local_54,0x47c35000,0); + uVar9 = Random(); + Game::Spawn(1000,0x2b,in_ECX,&g_vectorZero,0,0,uVar9); + puVar15 = extraout_ECX_00; } else { - uVar10 = Random(); - iVar6 = Game::Spawn(1000,2,in_ECX,&g_vectorZero,0,2,uVar10); + uVar9 = Random(); + iVar5 = Game::Spawn(1000,2,in_ECX,&g_vectorZero,0,2,uVar9); uVar2 = uRam00c5d068; - uVar24 = uRam00c5d064; - uVar10 = uRam00c5d060; - puVar16 = (undefined4 *)(iVar6 + 0xf0); - if (puVar16 != (undefined4 *)&DAT_00c5d05c) { - *puVar16 = _DAT_00c5d05c; - *(undefined4 *)(iVar6 + 0xf4) = uVar10; - *(undefined4 *)(iVar6 + 0xf8) = uVar24; - *(undefined4 *)(iVar6 + 0xfc) = uVar2; + uVar22 = uRam00c5d064; + uVar9 = uRam00c5d060; + puVar15 = (undefined4 *)(iVar5 + 0xf0); + if (puVar15 != (undefined4 *)&DAT_00c5d05c) { + *puVar15 = _DAT_00c5d05c; + *(undefined4 *)(iVar5 + 0xf4) = uVar9; + *(undefined4 *)(iVar5 + 0xf8) = uVar22; + *(undefined4 *)(iVar5 + 0xfc) = uVar2; uVar2 = uRam00c5d078; - uVar24 = uRam00c5d074; - uVar10 = uRam00c5d070; - *(undefined4 *)(iVar6 + 0x100) = _DAT_00c5d06c; - *(undefined4 *)(iVar6 + 0x104) = uVar10; - *(undefined4 *)(iVar6 + 0x108) = uVar24; - *(undefined4 *)(iVar6 + 0x10c) = uVar2; - *(undefined8 *)(iVar6 + 0x110) = DAT_00c5d07c; - *(undefined4 *)(iVar6 + 0x118) = DAT_00c5d084; + uVar22 = uRam00c5d074; + uVar9 = uRam00c5d070; + *(undefined4 *)(iVar5 + 0x100) = _DAT_00c5d06c; + *(undefined4 *)(iVar5 + 0x104) = uVar9; + *(undefined4 *)(iVar5 + 0x108) = uVar22; + *(undefined4 *)(iVar5 + 0x10c) = uVar2; + *(undefined8 *)(iVar5 + 0x110) = DAT_00c5d07c; + *(undefined4 *)(iVar5 + 0x118) = DAT_00c5d084; } } } - if ((local_b8 == 0x1a) && (local_c4 == (RNG)0x1)) { - iVar6 = PlayerManager::FirstCollectibleOwner(&g_game->_playerManager,0xfb,puVar16,1); - iVar11 = PlayerManager::FirstCollectibleOwner + if ((local_b8 == 0x1a) && (local_c4 == (Game *)0x1)) { + iVar5 = PlayerManager::FirstCollectibleOwner(&g_game->_playerManager,0xfb,puVar15,1); + iVar10 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0xfc,&g_game->_playerManager,1); - if ((iVar11 == 0) || (iVar6 != 0)) { - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,1); - uVar10 = 300; + if ((iVar10 == 0) || (iVar5 != 0)) { + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,1); + uVar9 = 300; } else { - uVar13 = ItemPool::ForceAddPillEffect(&g_game->_itemPool,0x13); - uVar18 = -(uint)((uVar13 & 0x7ff) != 0) & uVar13 & 0x7ff; - uVar7 = 0xe; - if (uVar18 < 0xe) { - uVar7 = uVar18; + uVar12 = ItemPool::ForceAddPillEffect(&g_game->_itemPool,0x13); + uVar17 = -(uint)((uVar12 & 0x7ff) != 0) & uVar12 & 0x7ff; + uVar6 = 0xe; + if (uVar17 < 0xe) { + uVar6 = uVar17; } - *(undefined1 *)((int)(&g_game->_itemPool + 1) + uVar7 + 0x3c) = 1; - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,uVar13); - uVar10 = 0x46; + *(undefined1 *)((int)(&g_game->_itemPool + 1) + uVar6 + 0x3c) = 1; + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,uVar12); + uVar9 = 0x46; in_ECX = local_dc; } - piVar8 = (int *)Game::Spawn(5,uVar10,in_ECX,&g_vectorZero,0,uVar26); - piVar8[0xd] = 5; - piVar8[0xe] = 0x45; - (**(code **)(*piVar8 + 0xc))(); + piVar7 = (int *)Game::Spawn(5,uVar9,in_ECX,&g_vectorZero,0,uVar24); + piVar7[0xd] = 5; + piVar7[0xe] = 0x45; + (**(code **)(*piVar7 + 0xc))(); break; } - if (local_88 == (RNG)0x0) { + if (local_88 == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - bVar4 = (byte)local_a8; - uVar7 = (uint)local_88 >> (bVar4 & 0x1f) ^ (uint)local_88; - bVar14 = (byte)((ulonglong)local_a8 >> 0x20); - uVar7 = uVar7 << (bVar14 & 0x1f) ^ uVar7; - bVar15 = (byte)local_94; - local_ac = (RNG)(uVar7 >> (bVar15 & 0x1f) ^ uVar7); - local_8c = local_ac; - local_88 = local_ac; - if (local_ac == (RNG)(((uint)local_ac / 200) * 200)) { + bVar3 = (byte)local_ac._shift1; + uVar6 = (uint)local_88 >> (bVar3 & 0x1f) ^ (uint)local_88; + bVar13 = (byte)local_ac._shift2; + uVar6 = uVar6 << (bVar13 & 0x1f) ^ uVar6; + bVar14 = (byte)local_94; + local_ac._seed = uVar6 >> (bVar14 & 0x1f) ^ uVar6; + local_8c = (Game *)local_ac._seed; + local_88 = (Game *)local_ac._seed; + if ((Game *)local_ac._seed == (Game *)(((uint)local_ac._seed / 200) * 200)) { switch(local_e0) { case 1: - cVar5 = ItemPool::RemoveCollectible(0x4a,0,0); - if (cVar5 == '\0') goto LAB_0071bcbe; - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0x4a); + cVar4 = ItemPool::RemoveCollectible(0x4a,0,0); + if (cVar4 == '\0') goto LAB_0071bcbe; + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0x4a); break; case 2: if (*(int *)((int)g_game->_room + 8) == 7) { - if (local_ac == (RNG)0x0) { + if ((Game *)local_ac._seed == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_ac >> (bVar4 & 0x1f) ^ (uint)local_ac; - uVar7 = uVar7 << (bVar14 & 0x1f) ^ uVar7; - RVar9 = (RNG)(uVar7 >> (bVar15 & 0x1f) ^ uVar7); - local_90 = RVar9; - if ((uint)RVar9 % 100 == 0) { - local_ac = RVar9; + uVar6 = (uint)local_ac._seed >> (bVar3 & 0x1f) ^ local_ac._seed; + uVar6 = uVar6 << (bVar13 & 0x1f) ^ uVar6; + pGVar8 = (Game *)(uVar6 >> (bVar14 & 0x1f) ^ uVar6); + local_90 = pGVar8; + if ((uint)pGVar8 % 100 == 0) { + local_ac._seed = (int)pGVar8; local_88 = local_8c; - cVar5 = ItemPool::RemoveCollectible(0x246,0,0); - if (cVar5 != '\0') { - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0x246); + cVar4 = ItemPool::RemoveCollectible(0x246,0,0); + if (cVar4 != '\0') { + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0x246); break; } } else { - local_ac = RVar9; + local_ac._seed = (int)pGVar8; } } else { - RVar9 = local_ac; + pGVar8 = (Game *)local_ac._seed; } - if (RVar9 == (RNG)0x0) { + if (pGVar8 == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar9 >> ((byte)local_a8 & 0x1f) ^ (uint)RVar9; - uVar7 = uVar7 << ((byte)((ulonglong)local_a8 >> 0x20) & 0x1f) ^ uVar7; - local_ac = (RNG)(uVar7 >> ((byte)local_94 & 0x1f) ^ uVar7); - local_8c = local_ac; - local_88 = local_ac; - if ((((uint)local_ac & 1) == 0) && - (cVar5 = ItemPool::RemoveCollectible(0x47,0,0), cVar5 != '\0')) { - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0x47); + uVar6 = (uint)pGVar8 >> ((byte)local_ac._shift1 & 0x1f) ^ (uint)pGVar8; + uVar6 = uVar6 << ((byte)local_ac._shift2 & 0x1f) ^ uVar6; + local_ac._seed = uVar6 >> ((byte)local_94 & 0x1f) ^ uVar6; + local_8c = (Game *)local_ac._seed; + local_88 = (Game *)local_ac._seed; + if (((local_ac._seed & 1U) == 0) && + (cVar4 = ItemPool::RemoveCollectible(0x47,0,0), cVar4 != '\0')) { + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0x47); } else { - cVar5 = ItemPool::RemoveCollectible(0xc,0,0); - if (cVar5 == '\0') goto LAB_0071bcbe; - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0xc); + cVar4 = ItemPool::RemoveCollectible(0xc,0,0); + if (cVar4 == '\0') goto LAB_0071bcbe; + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0xc); } break; case 3: - if (local_ac == (RNG)0x0) { + if ((Game *)local_ac._seed == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_ac >> (bVar4 & 0x1f) ^ (uint)local_ac; - uVar7 = uVar7 << (bVar14 & 0x1f) ^ uVar7; - local_ac = (RNG)(uVar7 >> (bVar15 & 0x1f) ^ uVar7); - local_8c = local_ac; - local_88 = local_ac; - if ((((uint)local_ac & 1) == 0) && - (cVar5 = ItemPool::RemoveCollectible(0x109,0,0), cVar5 != '\0')) { - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0x109); + uVar6 = (uint)local_ac._seed >> (bVar3 & 0x1f) ^ local_ac._seed; + uVar6 = uVar6 << (bVar13 & 0x1f) ^ uVar6; + local_ac._seed = uVar6 >> (bVar14 & 0x1f) ^ uVar6; + local_8c = (Game *)local_ac._seed; + local_88 = (Game *)local_ac._seed; + if (((local_ac._seed & 1U) == 0) && + (cVar4 = ItemPool::RemoveCollectible(0x109,0,0), cVar4 != '\0')) { + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0x109); } else { - cVar5 = ItemPool::RemoveCollectible(0xa3,0,0); - if (cVar5 == '\0') goto LAB_0071bcbe; - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0xa3); + cVar4 = ItemPool::RemoveCollectible(0xa3,0,0); + if (cVar4 == '\0') goto LAB_0071bcbe; + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0xa3); } break; case 4: if (local_99 == '\0') { - if (local_ac == (RNG)0x0) { + if ((Game *)local_ac._seed == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_ac >> (bVar4 & 0x1f) ^ (uint)local_ac; - uVar7 = uVar7 << (bVar14 & 0x1f) ^ uVar7; - local_ac = (RNG)(uVar7 >> (bVar15 & 0x1f) ^ uVar7); - local_8c = local_ac; - local_88 = local_ac; - if ((((uint)local_ac & 1) == 0) && - (cVar5 = ItemPool::RemoveCollectible(0xda,0,0), cVar5 != '\0')) { - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0xda); + uVar6 = (uint)local_ac._seed >> (bVar3 & 0x1f) ^ local_ac._seed; + uVar6 = uVar6 << (bVar13 & 0x1f) ^ uVar6; + local_ac._seed = uVar6 >> (bVar14 & 0x1f) ^ uVar6; + local_8c = (Game *)local_ac._seed; + local_88 = (Game *)local_ac._seed; + if (((local_ac._seed & 1U) == 0) && + (cVar4 = ItemPool::RemoveCollectible(0xda,0,0), cVar4 != '\0')) { + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0xda); } else { - cVar5 = ItemPool::RemoveCollectible(0xfe,0,0); - if (cVar5 == '\0') goto LAB_0071bcbe; - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0xfe); + cVar4 = ItemPool::RemoveCollectible(0xfe,0,0); + if (cVar4 == '\0') goto LAB_0071bcbe; + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0xfe); } } else { - if (local_ac == (RNG)0x0) { + if ((Game *)local_ac._seed == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_ac >> (bVar4 & 0x1f) ^ (uint)local_ac; - uVar7 = uVar7 << (bVar14 & 0x1f) ^ uVar7; - local_ac = (RNG)(uVar7 >> (bVar15 & 0x1f) ^ uVar7); - local_8c = local_ac; - local_88 = local_ac; - if ((((uint)local_ac & 1) == 0) && - (cVar5 = ItemPool::RemoveCollectible(0x1a,0,0), cVar5 != '\0')) { - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0x1a); + uVar6 = (uint)local_ac._seed >> (bVar3 & 0x1f) ^ local_ac._seed; + uVar6 = uVar6 << (bVar13 & 0x1f) ^ uVar6; + local_ac._seed = uVar6 >> (bVar14 & 0x1f) ^ uVar6; + local_8c = (Game *)local_ac._seed; + local_88 = (Game *)local_ac._seed; + if (((local_ac._seed & 1U) == 0) && + (cVar4 = ItemPool::RemoveCollectible(0x1a,0,0), cVar4 != '\0')) { + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0x1a); } else { - cVar5 = ItemPool::RemoveCollectible(0x10c,0,0); - if (cVar5 == '\0') goto LAB_0071bcbe; - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0x10c); + cVar4 = ItemPool::RemoveCollectible(0x10c,0,0); + if (cVar4 == '\0') goto LAB_0071bcbe; + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0x10c); } } break; case 5: - if ((param_4 == 0x2d) && (cVar5 = ItemPool::RemoveCollectible(0x24,0,0), cVar5 != '\0')) { - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0x24); + if ((param_4 == 0x2d) && (cVar4 = ItemPool::RemoveCollectible(0x24,0,0), cVar4 != '\0')) { + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0x24); } else { local_8c = local_88; - cVar5 = ItemPool::RemoveCollectible(0x10e,0,0); - if (cVar5 == '\0') goto LAB_0071bcbe; - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0x10e); + cVar4 = ItemPool::RemoveCollectible(0x10e,0,0); + if (cVar4 == '\0') goto LAB_0071bcbe; + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0x10e); } break; default: @@ -441270,22 +441964,22 @@ LAB_0071d815: KAGE_LogMessage(1,"Unknown alt rock type %d\n",local_e0); } LAB_0071daa3: - uVar10 = 100; + uVar9 = 100; LAB_0071daad: - piVar8 = (int *)Game::Spawn(5,uVar10,in_ECX,&g_vectorZero,0,uVar26); - (**(code **)(*piVar8 + 0xc))(); + piVar7 = (int *)Game::Spawn(5,uVar9,in_ECX,&g_vectorZero,0,uVar24); + (**(code **)(*piVar7 + 0xc))(); break; } LAB_0071bcbe: - pGVar3 = g_game; - if (local_8c == (RNG)0x0) { + pGVar8 = g_game; + if (local_8c == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_88 >> ((byte)local_a8 & 0x1f) ^ (uint)local_88; - uVar7 = uVar7 << ((byte)((ulonglong)local_a8 >> 0x20) & 0x1f) ^ uVar7; - param_2 = (RNG)(uVar7 >> ((byte)local_94 & 0x1f) ^ uVar7); - local_ac = param_2; + uVar6 = (uint)local_88 >> ((byte)local_ac._shift1 & 0x1f) ^ (uint)local_88; + uVar6 = uVar6 << ((byte)local_ac._shift2 & 0x1f) ^ uVar6; + param_2 = (Game *)(uVar6 >> ((byte)local_94 & 0x1f) ^ uVar6); + local_ac._seed = (int)param_2; local_88 = param_2; if ((uint)param_2 % 0x28 == 0) { switch(local_e0) { @@ -441298,10 +441992,10 @@ LAB_0071bcbe: ) { *(undefined1 *)((int)pvVar1 + 0xc4) = 0; local_c8->_numAvailableTrinkets = local_c8->_numAvailableTrinkets + -1; - uVar10 = Random(); - piVar8 = (int *)Game::Spawn(5,0x15e,in_ECX,&g_vectorZero,0,0x18,uVar10); - (**(code **)(*piVar8 + 0xc))(); - RVar9 = (RNG)0x0; + uVar9 = Random(); + piVar7 = (int *)Game::Spawn(5,0x15e,in_ECX,&g_vectorZero,0,0x18,uVar9); + (**(code **)(*piVar7 + 0xc))(); + pGVar8 = (Game *)0x0; goto LAB_0071d8b1; } pvVar1 = (local_c8->_trinketPoolItems)._begin; @@ -441309,14 +442003,14 @@ LAB_0071bcbe: if ((*(char *)((int)pvVar1 + 0xc) != '\0') && (*(char *)((int)pvVar1 + 0xd) != '\0')) { *(undefined1 *)((int)pvVar1 + 0xc) = 0; local_c8->_numAvailableTrinkets = local_c8->_numAvailableTrinkets + -1; - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,1); + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,1); goto LAB_0071c15a; } goto LAB_0071c2a2; } local_8c = local_bc; - RVar21 = local_8c; + pGVar19 = local_8c; break; case 2: pvVar1 = (local_c8->_trinketPoolItems)._begin; @@ -441325,56 +442019,56 @@ LAB_0071bcbe: ) { *(undefined1 *)((int)pvVar1 + 0x104) = 0; local_c8->_numAvailableTrinkets = local_c8->_numAvailableTrinkets + -1; - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0x20); + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0x20); goto LAB_0071c15a; } goto LAB_0071c2a2; } local_8c = local_bc; - RVar21 = local_8c; + pGVar19 = local_8c; break; case 3: - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,6); - uVar10 = 10; + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,6); + uVar9 = 10; goto LAB_0071daad; case 4: pvVar1 = (g_game->_itemPool)._trinketPoolItems._begin; - uVar7 = (int)(g_game->_itemPool)._trinketPoolItems._end - (int)pvVar1 & 0xfffffff8; + uVar6 = (int)(g_game->_itemPool)._trinketPoolItems._end - (int)pvVar1 & 0xfffffff8; if (local_99 == '\0') { - if (0x108 < (int)uVar7) { + if (0x108 < (int)uVar6) { if ((*(char *)((int)pvVar1 + 0x10c) != '\0') && (*(char *)((int)pvVar1 + 0x10d) != '\0')) { *(undefined1 *)((int)pvVar1 + 0x10c) = 0; - piVar8 = &(pGVar3->_itemPool)._numAvailableTrinkets; - *piVar8 = *piVar8 + -1; - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0x21); + piVar7 = &(pGVar8->_itemPool)._numAvailableTrinkets; + *piVar7 = *piVar7 + -1; + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0x21); goto LAB_0071c15a; } goto LAB_0071c2a2; } local_8c = local_bc; - RVar21 = local_8c; + pGVar19 = local_8c; } else { - if (0x2b0 < (int)uVar7) { + if (0x2b0 < (int)uVar6) { if ((*(char *)((int)pvVar1 + 0x2b4) == '\0') || (*(char *)((int)pvVar1 + 0x2b5) == '\0')) goto LAB_0071c2a2; *(undefined1 *)((int)pvVar1 + 0x2b4) = 0; - piVar8 = &(pGVar3->_itemPool)._numAvailableTrinkets; - *piVar8 = *piVar8 + -1; - uVar10 = Random(); - uVar26 = CONCAT44(uVar10,0x56); + piVar7 = &(pGVar8->_itemPool)._numAvailableTrinkets; + *piVar7 = *piVar7 + -1; + uVar9 = Random(); + uVar24 = CONCAT44(uVar9,0x56); LAB_0071c15a: - piVar8 = (int *)Game::Spawn(5,0x15e,in_ECX,&g_vectorZero,0,uVar26); - (**(code **)(*piVar8 + 0xc))(); - cVar5 = '\x01'; + piVar7 = (int *)Game::Spawn(5,0x15e,in_ECX,&g_vectorZero,0,uVar24); + (**(code **)(*piVar7 + 0xc))(); + cVar4 = '\x01'; goto LAB_0071c2a5; } local_8c = local_bc; - RVar21 = local_8c; + pGVar19 = local_8c; } break; default: @@ -441384,226 +442078,228 @@ LAB_0071c15a: } else { LAB_0071c2a2: - cVar5 = local_81; + cVar4 = local_81; LAB_0071c2a5: - local_8c = (RNG)0x0; - RVar9 = local_8c; - RVar21 = local_c4; - if (cVar5 != '\0') goto LAB_0071d8b1; + local_8c = (Game *)0x0; + pGVar8 = local_8c; + pGVar19 = local_c4; + if (cVar4 != '\0') goto LAB_0071d8b1; } - local_8c = RVar21; - RVar9 = local_8c; - uVar7 = 10; + local_8c = pGVar19; + pGVar8 = local_8c; + uVar6 = 10; if (1 < (int)local_8c) { - uVar7 = 5; + uVar6 = 5; } - uVar7 = RNG::RandomInt(&local_ac,uVar7); - if (uVar7 == 1) { + uVar6 = RNG::RandomInt(&local_ac,uVar6); + if (uVar6 == 1) { LAB_0071c784: - RVar9 = local_8c; + pGVar8 = local_8c; if ((int)local_8c < 2) { switch(local_e0) { case 1: - uVar7 = RNG::RandomInt(&local_ac,2); - iVar6 = uVar7 + 1; - if (iVar6 < 1) { + uVar6 = RNG::RandomInt(&local_ac,2); + iVar5 = uVar6 + 1; + if (iVar5 < 1) { LAB_0071cf2a: - local_94 = local_a0; - local_88 = local_ac; - RVar9 = local_8c; - param_2 = local_ac; + local_94 = local_ac._shift3; + local_88 = (Game *)local_ac._seed; + pGVar8 = local_8c; + param_2 = (Game *)local_ac._seed; } else { do { Room::FindFreePickupSpawnPosition(&local_148,in_ECX,0x428c0000,0,0,0); Entity_NPC::ThrowSpider(in_ECX,0,local_148,local_144); - iVar6 = iVar6 + -1; - } while (iVar6 != 0); - local_94 = local_a0; - local_88 = local_ac; - RVar9 = local_8c; - param_2 = local_ac; + iVar5 = iVar5 + -1; + } while (iVar5 != 0); + local_94 = local_ac._shift3; + local_88 = (Game *)local_ac._seed; + pGVar8 = local_8c; + param_2 = (Game *)local_ac._seed; } break; case 2: EntityRef::EntityRef(); local_1c0 = 0; uStack_1bc = 10000; - uVar10 = Color::Color(); - Game::Fart(in_ECX,0x42aa0000,0,0x3f800000,0,uVar10); + uVar9 = Color::Color(); + Game::Fart(in_ECX,0x42aa0000,0,0x3f800000,0,uVar9); Game::ButterBeanFart(in_ECX,0x42f00000,0,0,0); - uVar7 = 0; - pPVar17 = &g_game->_playerManager; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar17->_playerList)._begin + uVar6 = 0; + pPVar16 = &g_game->_playerManager; + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar16->_playerList)._begin >> 2 == 0) goto LAB_0071cf2a; do { - pEVar12 = PlayerManager::GetPlayer(pPVar17,uVar7); - bVar4 = Entity_Player::HasPoisonImmunity(pEVar12); - if (bVar4 == 0) { - Game::GetPlayer(g_game,uVar7); - cVar5 = Entity_Player::is_evil_charm_immune + pEVar11 = PlayerManager::GetPlayer(pPVar16,uVar6); + bVar3 = Entity_Player::HasPoisonImmunity(pEVar11); + if (bVar3 == 0) { + Game::GetPlayer(g_game,uVar6); + cVar4 = Entity_Player::is_evil_charm_immune (local_1c0,uStack_1bc,uStack_1b8,uStack_1b4,local_1b0,uStack_1ac, uStack_1a8,uStack_1a4,local_1a0); - if ((cVar5 == '\0') && - (pEVar12 = Game::GetPlayer(g_game,uVar7), fVar23 = *in_ECX - (pEVar12->_pos).x, - fVar20 = in_ECX[1] - (pEVar12->_pos).y, - fVar20 * fVar20 + fVar23 * fVar23 < 10000.0)) { - pEVar12 = Game::GetPlayer(g_game,uVar7); - (**(code **)(*(int *)pEVar12 + 0x20))(0x3f800000,0,0,&local_1c0); + if ((cVar4 == '\0') && + (pEVar11 = Game::GetPlayer(g_game,uVar6), fVar21 = *in_ECX - (pEVar11->_pos).x, + fVar18 = in_ECX[1] - (pEVar11->_pos).y, + fVar18 * fVar18 + fVar21 * fVar21 < 10000.0)) { + pEVar11 = Game::GetPlayer(g_game,uVar6); + (**(code **)(*(int *)pEVar11 + 0x20))(0x3f800000,0,0,&local_1c0); } } - uVar7 = uVar7 + 1; - pPVar17 = &g_game->_playerManager; - } while (uVar7 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar17->_playerList)._begin >> 2)); - local_94 = local_a0; - local_88 = local_ac; - RVar9 = local_8c; - param_2 = local_ac; + uVar6 = uVar6 + 1; + pPVar16 = &g_game->_playerManager; + } while (uVar6 < (uint)((int)(g_game->_playerManager)._playerList._end - + (int)(pPVar16->_playerList)._begin >> 2)); + local_94 = local_ac._shift3; + local_88 = (Game *)local_ac._seed; + pGVar8 = local_8c; + param_2 = (Game *)local_ac._seed; break; case 3: - uVar10 = Random(); - piVar8 = (int *)Game::Spawn(0x1b,0,in_ECX,&g_vectorZero,0,0,uVar10); - (**(code **)(*piVar8 + 0xc))(); - local_94 = local_a0; - local_88 = local_ac; - RVar9 = local_8c; - param_2 = local_ac; + uVar9 = Random(); + piVar7 = (int *)Game::Spawn(0x1b,0,in_ECX,&g_vectorZero,0,0,uVar9); + (**(code **)(*piVar7 + 0xc))(); + local_94 = local_ac._shift3; + local_88 = (Game *)local_ac._seed; + pGVar8 = local_8c; + param_2 = (Game *)local_ac._seed; break; case 4: - uVar10 = Random(); + uVar9 = Random(); if (local_99 == '\0') { - piVar8 = (int *)Game::Spawn(1000,0x16,in_ECX,&g_vectorZero,0,0,uVar10); - piVar8[0xd] = 0; - piVar8[0xe] = 0x2711; - (**(code **)(*piVar8 + 0xc))(); - iVar6 = 0; + piVar7 = (int *)Game::Spawn(1000,0x16,in_ECX,&g_vectorZero,0,0,uVar9); + piVar7[0xd] = 0; + piVar7[0xe] = 0x2711; + (**(code **)(*piVar7 + 0xc))(); + iVar5 = 0; do { - RVar9 = (RNG)((float)iVar6 * 60.0 * 0.017453292); - local_b0 = RVar9; + pGVar8 = (Game *)((float)iVar5 * 60.0 * 0.017453292); + local_b0 = pGVar8; cos(); - local_158 = (float)RVar9 * 10.0; - auVar22 = ZEXT416((uint)local_b0); + local_158 = (float)pGVar8 * 10.0; + auVar20 = ZEXT416(local_b0); sin(); - local_154 = auVar22._0_4_ * 10.0; - uVar10 = Random(); - uVar26 = 0xc5d70c; - pTVar25 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar24 = 0; - uVar10 = Game::Spawn(9,0,in_ECX,&local_158,0,0,uVar10); - piVar8 = (int *)__RTDynamicCast(uVar10,uVar24,pTVar25,uVar26); - piVar8[0x105] = -0x3fc00000; - piVar8[0x106] = 0x3dcccccd; - piVar8[0xd] = 0; - piVar8[0xe] = 0x2711; - (**(code **)(*piVar8 + 0xc))(); - iVar6 = iVar6 + 1; - } while (iVar6 < 6); - local_94 = local_a0; - local_88 = local_ac; - RVar9 = local_8c; - param_2 = local_ac; + local_154 = auVar20._0_4_ * 10.0; + uVar9 = Random(); + uVar24 = 0xc5d70c; + pTVar23 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar22 = 0; + uVar9 = Game::Spawn(9,0,in_ECX,&local_158,0,0,uVar9); + piVar7 = (int *)__RTDynamicCast(uVar9,uVar22,pTVar23,uVar24); + piVar7[0x105] = -0x3fc00000; + piVar7[0x106] = 0x3dcccccd; + piVar7[0xd] = 0; + piVar7[0xe] = 0x2711; + (**(code **)(*piVar7 + 0xc))(); + iVar5 = iVar5 + 1; + } while (iVar5 < 6); + local_94 = local_ac._shift3; + local_88 = (Game *)local_ac._seed; + pGVar8 = local_8c; + param_2 = (Game *)local_ac._seed; } else { - piVar8 = (int *)Game::Spawn(1000,0x17,in_ECX,&g_vectorZero,0,0,uVar10); - piVar8[0xd] = 0; - piVar8[0xe] = 0x2711; - (**(code **)(*piVar8 + 0xc))(); - iVar6 = 0; + piVar7 = (int *)Game::Spawn(1000,0x17,in_ECX,&g_vectorZero,0,0,uVar9); + piVar7[0xd] = 0; + piVar7[0xe] = 0x2711; + (**(code **)(*piVar7 + 0xc))(); + iVar5 = 0; do { - iVar11 = Random(); - local_90 = (RNG)(((float)((double)iVar11 + __uint_to_double_fixup[-(iVar11 >> 0x1f)] - ) * 2.3283064e-10 * 40.0 + ((float)iVar6 * 60.0 - 20.0)) * - 0.017453292); - iVar11 = Random(); - local_c0 = (RNG)((float)((double)iVar11 + __uint_to_double_fixup[-(iVar11 >> 0x1f)]) - * 2.3283064e-10 * 9.0 + 2.0); - RVar9 = local_90; + iVar10 = Random(); + local_90 = (Game *)(((float)((double)iVar10 + + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + 2.3283064e-10 * 40.0 + ((float)iVar5 * 60.0 - 20.0)) * + 0.017453292); + iVar10 = Random(); + local_c0 = (Game *)((float)((double)iVar10 + + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + 2.3283064e-10 * 9.0 + 2.0); + pGVar8 = local_90; cos(); - local_150 = (float)RVar9 * (float)local_c0; - RVar9 = local_90; + local_150 = (float)pGVar8 * (float)local_c0; + pGVar8 = local_90; sin(); - local_14c = (float)RVar9 * (float)local_c0; + local_14c = (float)pGVar8 * (float)local_c0; Random(&local_150); spawn_small_maggot(); - iVar6 = iVar6 + 1; - } while (iVar6 < 6); - local_94 = local_a0; - local_88 = local_ac; - RVar9 = local_8c; - param_2 = local_ac; + iVar5 = iVar5 + 1; + } while (iVar5 < 6); + local_94 = local_ac._shift3; + local_88 = (Game *)local_ac._seed; + pGVar8 = local_8c; + param_2 = (Game *)local_ac._seed; } break; case 5: - uVar7 = RNG::RandomInt(&local_ac,2); - iVar6 = uVar7 + 1; + uVar6 = RNG::RandomInt(&local_ac,2); + iVar5 = uVar6 + 1; if (*(float *)((int)g_game->_room + 0x7240) <= 0.0) { - if (iVar6 < 1) goto LAB_0071cf2a; + if (iVar5 < 1) goto LAB_0071cf2a; do { Room::FindFreePickupSpawnPosition(&local_168,in_ECX,0x428c0000,0,0,0); Entity_NPC::ThrowSpider(in_ECX,0,local_168,local_164); - iVar6 = iVar6 + -1; - } while (iVar6 != 0); - local_94 = local_a0; - local_88 = local_ac; - RVar9 = local_8c; - param_2 = local_ac; + iVar5 = iVar5 + -1; + } while (iVar5 != 0); + local_94 = local_ac._shift3; + local_88 = (Game *)local_ac._seed; + pGVar8 = local_8c; + param_2 = (Game *)local_ac._seed; } else { - uVar7 = RNG::RandomInt(&local_ac,2); - if (uVar7 == 0) { + uVar6 = RNG::RandomInt(&local_ac,2); + if (uVar6 == 0) { if (param_4 == 0x2d) { - if (iVar6 < 1) goto LAB_0071cf2a; + if (iVar5 < 1) goto LAB_0071cf2a; do { Isaac::GetRandomPickupVelocity(0); - uVar10 = Random(); + uVar9 = Random(); local_b0 = local_128; local_160 = (float)local_128 + *in_ECX; local_98 = local_124; local_15c = (float)local_124 + in_ECX[1]; - piVar8 = (int *)Game::Spawn(0x366,0,&local_160,&local_128,0,0,uVar10); - fVar20 = (float)piVar8[0xdb]; - if (fVar20 != 0.0) { - piVar8[0xd8] = (int)(((float)local_b0 * (float)piVar8[0xe7]) / fVar20 + - (float)piVar8[0xd8]); - piVar8[0xd9] = (int)(((float)local_98 * (float)piVar8[0xe7]) / fVar20 + - (float)piVar8[0xd9]); + piVar7 = (int *)Game::Spawn(0x366,0,&local_160,&local_128,0,0,uVar9); + fVar18 = (float)piVar7[0xdb]; + if (fVar18 != 0.0) { + piVar7[0xd8] = (int)(((float)local_b0 * (float)piVar7[0xe7]) / fVar18 + + (float)piVar7[0xd8]); + piVar7[0xd9] = (int)(((float)local_98 * (float)piVar7[0xe7]) / fVar18 + + (float)piVar7[0xd9]); } - piVar8[0x5a] = piVar8[0x5a] & 0xfffffffb; - piVar8[0x5b] = piVar8[0x5b]; - piVar8[0x2d9] = 4; - (**(code **)(*piVar8 + 0xc))(); - iVar6 = iVar6 + -1; - } while (iVar6 != 0); - local_94 = local_a0; - local_88 = local_ac; - RVar9 = local_8c; - param_2 = local_ac; + piVar7[0x5a] = piVar7[0x5a] & 0xfffffffb; + piVar7[0x5b] = piVar7[0x5b]; + piVar7[0x2d9] = 4; + (**(code **)(*piVar7 + 0xc))(); + iVar5 = iVar5 + -1; + } while (iVar5 != 0); + local_94 = local_ac._shift3; + local_88 = (Game *)local_ac._seed; + pGVar8 = local_8c; + param_2 = (Game *)local_ac._seed; } else { - if (iVar6 < 1) goto LAB_0071cf2a; + if (iVar5 < 1) goto LAB_0071cf2a; do { Room::FindFreePickupSpawnPosition(local_1d0,in_ECX,0x428c0000,0,0,0); Entity_NPC::ThrowStrider(); - iVar6 = iVar6 + -1; - } while (iVar6 != 0); - local_94 = local_a0; - local_88 = local_ac; - RVar9 = local_8c; - param_2 = local_ac; + iVar5 = iVar5 + -1; + } while (iVar5 != 0); + local_94 = local_ac._shift3; + local_88 = (Game *)local_ac._seed; + pGVar8 = local_8c; + param_2 = (Game *)local_ac._seed; } } else { - if (iVar6 < 1) goto LAB_0071cf2a; + if (iVar5 < 1) goto LAB_0071cf2a; do { - uVar10 = Room::FindFreePickupSpawnPosition(local_1c8,in_ECX,0x428c0000,0,0,0); - Entity_NPC::ThrowLeech(uVar10); - iVar6 = iVar6 + -1; - } while (iVar6 != 0); - local_94 = local_a0; - local_88 = local_ac; - RVar9 = local_8c; - param_2 = local_ac; + uVar9 = Room::FindFreePickupSpawnPosition(local_1c8,in_ECX,0x428c0000,0,0,0); + Entity_NPC::ThrowLeech(uVar9); + iVar5 = iVar5 + -1; + } while (iVar5 != 0); + local_94 = local_ac._shift3; + local_88 = (Game *)local_ac._seed; + pGVar8 = local_8c; + param_2 = (Game *)local_ac._seed; } } break; @@ -441614,244 +442310,246 @@ LAB_0071cf2a: goto LAB_0071d8b1; } LAB_0071c2f2: - local_94 = local_a0; - local_88 = local_ac; - param_2 = local_ac; + local_94 = local_ac._shift3; + local_88 = (Game *)local_ac._seed; + param_2 = (Game *)local_ac._seed; } else { - if (uVar7 != 2) { - if (uVar7 == 3) goto LAB_0071c784; + if (uVar6 != 2) { + if (uVar6 == 3) goto LAB_0071c784; goto LAB_0071c2f2; } if (local_e0 == 2) { - uVar7 = RNG::Next(&local_ac); - piVar8 = (int *)Game::Spawn(5,0x46,in_ECX,&local_e8,0,0,uVar7); - (**(code **)(*piVar8 + 0xc))(); - iVar6 = Random(); - fVar20 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * 2.3283064e-10 + uVar6 = RNG::Next(&local_ac); + piVar7 = (int *)Game::Spawn(5,0x46,in_ECX,&local_e8,0,0,uVar6); + (**(code **)(*piVar7 + 0xc))(); + iVar5 = Random(); + fVar18 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 3.14; - RVar21 = (RNG)(fVar20 + fVar20); - local_b0 = RVar21; + pGVar19 = (Game *)(fVar18 + fVar18); + local_b0 = pGVar19; cos(); - auVar22 = ZEXT416((uint)local_b0); - local_98 = RVar21; + auVar20 = ZEXT416(local_b0); + local_98 = pGVar19; sin(); - local_e4 = auVar22._0_4_ + auVar22._0_4_; + local_e4 = auVar20._0_4_ + auVar20._0_4_; local_e8 = (float)local_98 + (float)local_98; - local_94 = local_a0; - local_88 = local_ac; - param_2 = local_ac; + local_94 = local_ac._shift3; + local_88 = (Game *)local_ac._seed; + param_2 = (Game *)local_ac._seed; } else if (local_e0 == 3) { - uVar7 = RNG::Next(&local_ac); - piVar8 = (int *)Game::Spawn(5,300,in_ECX,&local_e8,0,0,uVar7); - (**(code **)(*piVar8 + 0xc))(); - iVar6 = Random(); - fVar20 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * 2.3283064e-10 + uVar6 = RNG::Next(&local_ac); + piVar7 = (int *)Game::Spawn(5,300,in_ECX,&local_e8,0,0,uVar6); + (**(code **)(*piVar7 + 0xc))(); + iVar5 = Random(); + fVar18 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 3.14; - RVar21 = (RNG)(fVar20 + fVar20); - local_b0 = RVar21; + pGVar19 = (Game *)(fVar18 + fVar18); + local_b0 = pGVar19; cos(); - auVar22 = ZEXT416((uint)local_b0); - local_98 = RVar21; + auVar20 = ZEXT416(local_b0); + local_98 = pGVar19; sin(); - local_e4 = auVar22._0_4_ + auVar22._0_4_; + local_e4 = auVar20._0_4_ + auVar20._0_4_; local_e8 = (float)local_98 + (float)local_98; - local_94 = local_a0; - local_88 = local_ac; - param_2 = local_ac; + local_94 = local_ac._shift3; + local_88 = (Game *)local_ac._seed; + param_2 = (Game *)local_ac._seed; } else if (local_e0 == 4) { if (local_99 == '\0') { - uVar7 = RNG::Next(&local_ac); - lVar27 = (ulonglong)uVar7 << 0x20; + uVar6 = RNG::Next(&local_ac); + lVar25 = (ulonglong)uVar6 << 0x20; LAB_0071c558: - piVar8 = (int *)Game::Spawn(5,10,in_ECX,&local_e8,0,lVar27); - (**(code **)(*piVar8 + 0xc))(); + piVar7 = (int *)Game::Spawn(5,10,in_ECX,&local_e8,0,lVar25); + (**(code **)(*piVar7 + 0xc))(); } else if (((g_manager->_persistentGameData)._achievements[0x19b] != 0) || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))) { - uVar7 = RNG::Next(&local_ac); - lVar27 = CONCAT44(uVar7,0xc); + uVar6 = RNG::Next(&local_ac); + lVar25 = CONCAT44(uVar6,0xc); goto LAB_0071c558; } - iVar6 = Random(); - fVar20 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * 2.3283064e-10 + iVar5 = Random(); + fVar18 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 3.14; - RVar21 = (RNG)(fVar20 + fVar20); - local_b0 = RVar21; + pGVar19 = (Game *)(fVar18 + fVar18); + local_b0 = pGVar19; cos(); - auVar22 = ZEXT416((uint)local_b0); - local_98 = RVar21; + auVar20 = ZEXT416(local_b0); + local_98 = pGVar19; sin(); - local_e4 = auVar22._0_4_ + auVar22._0_4_; + local_e4 = auVar20._0_4_ + auVar20._0_4_; local_e8 = (float)local_98 + (float)local_98; - local_94 = local_a0; - local_88 = local_ac; - param_2 = local_ac; + local_94 = local_ac._shift3; + local_88 = (Game *)local_ac._seed; + param_2 = (Game *)local_ac._seed; } else { - uVar7 = RNG::RandomInt(&local_ac,2); - local_bc = (RNG)(uVar7 + 1); + uVar6 = RNG::RandomInt(&local_ac,2); + local_bc = (Game *)(uVar6 + 1); if ((int)local_bc < 1) goto LAB_0071c2f2; - local_94 = local_a0; - param_2 = local_ac; + local_94 = local_ac._shift3; + param_2 = (Game *)local_ac._seed; do { - iVar6 = Random(); - fVar20 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * + iVar5 = Random(); + fVar18 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 3.14; - RVar21 = (RNG)(fVar20 + fVar20); - local_b0 = RVar21; + pGVar19 = (Game *)(fVar18 + fVar18); + local_b0 = pGVar19; cos(); - RVar9 = local_b0; - local_98 = RVar21; + pGVar8 = local_b0; + local_98 = pGVar19; sin(); - local_17c = (float)RVar9 + (float)RVar9; + local_17c = (float)pGVar8 + (float)pGVar8; local_180 = (float)local_98 + (float)local_98; - if (param_2 == (RNG)0x0) { + if (param_2 == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)param_2 >> ((byte)local_a8 & 0x1f) ^ (uint)param_2; - uVar7 = uVar7 << ((byte)((ulonglong)local_a8 >> 0x20) & 0x1f) ^ uVar7; - param_2 = (RNG)(uVar7 >> ((byte)local_94 & 0x1f) ^ uVar7); - local_ac = param_2; - iVar6 = Random(); - fVar20 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * + uVar6 = (uint)param_2 >> ((byte)local_ac._shift1 & 0x1f) ^ (uint)param_2; + uVar6 = uVar6 << ((byte)local_ac._shift2 & 0x1f) ^ uVar6; + param_2 = (Game *)(uVar6 >> ((byte)local_94 & 0x1f) ^ uVar6); + local_ac._seed = (int)param_2; + iVar5 = Random(); + fVar18 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 3.14; - local_90 = (RNG)(fVar20 + fVar20); - iVar6 = Random(); - local_c0 = (RNG)((float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * - 2.3283064e-10 * 10.0 + 5.0); - RVar9 = local_90; + local_90 = (Game *)(fVar18 + fVar18); + iVar5 = Random(); + local_c0 = (Game *)((float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * + 2.3283064e-10 * 10.0 + 5.0); + pGVar8 = local_90; cos(); - local_140 = (float)RVar9 * (float)local_c0 + *in_ECX; - auVar22 = ZEXT416((uint)local_90); + local_140 = (float)pGVar8 * (float)local_c0 + *in_ECX; + auVar20 = ZEXT416(local_90); sin(); - local_13c = auVar22._0_4_ * (float)local_c0 + in_ECX[1]; - piVar8 = (int *)Game::Spawn(5,0x14,&local_140,&local_180,0,0,param_2); - (**(code **)(*piVar8 + 0xc))(); - local_bc = (RNG)((int)local_bc + -1); - } while (local_bc != (RNG)0x0); - local_bc = (RNG)0x0; - RVar9 = local_8c; + local_13c = auVar20._0_4_ * (float)local_c0 + in_ECX[1]; + piVar7 = (int *)Game::Spawn(5,0x14,&local_140,&local_180,0,0,param_2); + (**(code **)(*piVar7 + 0xc))(); + local_bc = (Game *)&local_bc[-1]._console.field_0x3; + } while (local_bc != (Game *)0x0); + local_bc = (Game *)0x0; + pGVar8 = local_8c; local_88 = param_2; } } LAB_0071d8b1: - local_c4 = RVar9; + local_c4 = pGVar8; } - local_c4 = (RNG)((int)local_c4 + -1); + local_c4 = (Game *)&local_c4[-1]._console.field_0x3; } while (0 < (int)local_c4); if ((param_3 == '\0') && (local_d4 != (Entity_Player *)0x0)) { - bVar4 = Entity_Player::HasCollectible(local_d4,0x248,0); - RVar9 = local_ec; - if (bVar4 != 0) { - local_134 = 0x1100000007; - local_12c = 0x15; - bVar4 = Entity_Player::HasCollectible(local_d4,0x3b,0); + bVar3 = Entity_Player::HasCollectible(local_d4,0x248,0); + pGVar8 = local_ec; + if (bVar3 != 0) { + local_138._shift1 = 7; + local_138._shift2 = 0x11; + local_138._shift3 = 0x15; + bVar3 = Entity_Player::HasCollectible(local_d4,0x3b,0); local_d0 = 1; - if (bVar4 != 0) { + if (bVar3 != 0) { local_d0 = 3; } do { - if (RVar9 == (RNG)0x0) { + if (pGVar8 == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar9 >> ((byte)local_134 & 0x1f) ^ (uint)RVar9; - uVar7 = uVar7 << ((byte)((ulonglong)local_134 >> 0x20) & 0x1f) ^ uVar7; - RVar9 = (RNG)(uVar7 >> ((byte)local_12c & 0x1f) ^ uVar7); - local_138 = RVar9; - if (RVar9 == (RNG)(((uint)RVar9 / 5) * 5)) { + uVar6 = (uint)pGVar8 >> ((byte)local_138._shift1 & 0x1f) ^ (uint)pGVar8; + uVar6 = uVar6 << ((byte)local_138._shift2 & 0x1f) ^ uVar6; + pGVar8 = (Game *)(uVar6 >> ((byte)local_138._shift3 & 0x1f) ^ uVar6); + local_138._seed = (int)pGVar8; + if (pGVar8 == (Game *)(((uint)pGVar8 / 5) * 5)) { if (local_b8 == 0x1b) { LAB_0071dc29: - uVar10 = 0x10002; + uVar9 = 0x10002; } else { RNG::Next(&local_138); - fVar20 = (float)((double)(int)local_138 + - __uint_to_double_fixup[-((int)local_138 >> 0x1f)]) * 2.3283062e-10; - if (fVar20 < 0.01) { - uVar10 = 0x10003; + fVar18 = (float)((double)local_138._seed + + __uint_to_double_fixup[-(local_138._seed >> 0x1f)]) * 2.3283062e-10; + if (fVar18 < 0.01) { + uVar9 = 0x10003; } else { - if (fVar20 < 0.04) goto LAB_0071dc29; - if (fVar20 < 0.08) { - uVar10 = 0x10004; + if (fVar18 < 0.04) goto LAB_0071dc29; + if (fVar18 < 0.08) { + uVar9 = 0x10004; } - else if (0.33 <= fVar20) { - uVar10 = 0x10000; + else if (0.33 <= fVar18) { + uVar9 = 0x10000; } else { - uVar10 = 0x10001; + uVar9 = 0x10001; } } } - RVar9 = local_138; - Entity_Player::AddWisp(uVar10,in_ECX,0); + pGVar8 = (Game *)local_138._seed; + Entity_Player::AddWisp(uVar9,in_ECX,0); } local_d0 = local_d0 + -1; } while (local_d0 != 0); } } - local_98 = (RNG)PlayerManager::RandomCollectibleOwner(&g_game->_playerManager,0x2cd,local_ec,0); - if (local_98 == (RNG)0x0) { + local_98 = (Game *)PlayerManager::RandomCollectibleOwner(&g_game->_playerManager,0x2cd,local_ec,0) + ; + if (local_98 == (Game *)0x0) { return; } if (1 < *(int *)&g_game->_deathmatchManager) { if (local_f0 == (EntityPtr)0x0) { return; } - pPVar17 = &g_game->_playerManager; - local_90 = (RNG)0x0; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar17->_playerList)._begin >> 2 == + pPVar16 = &g_game->_playerManager; + local_90 = (Game *)0x0; + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar16->_playerList)._begin >> 2 == 0) { return; } while( true ) { - pvVar1 = (pPVar17->_playerList)._end; - if ((int)pvVar1 - (int)(pPVar17->_playerList)._begin >> 2 == 0) { + pvVar1 = (pPVar16->_playerList)._end; + if ((int)pvVar1 - (int)(pPVar16->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - puVar16 = (pPVar17->_playerList)._begin; - if ((uint)local_90 < (uint)((int)pvVar1 - (int)puVar16 >> 2)) { - puVar16 = puVar16 + (int)local_90; + puVar15 = (pPVar16->_playerList)._begin; + if (local_90 < (Game *)((int)pvVar1 - (int)puVar15 >> 2)) { + puVar15 = puVar15 + (int)local_90; } - pEVar12 = (Entity_Player *)*puVar16; - local_98 = (RNG)pEVar12; - bVar4 = Entity_Player::HasCollectible(pEVar12,0x2cd,0); - if ((bVar4 != 0) && (cVar5 = Entity::IsDescendantOf((Entity *)local_f0), cVar5 != '\0')) + pEVar11 = (Entity_Player *)*puVar15; + local_98 = (Game *)pEVar11; + bVar3 = Entity_Player::HasCollectible(pEVar11,0x2cd,0); + if ((bVar3 != 0) && (cVar4 = Entity::IsDescendantOf((Entity *)local_f0), cVar4 != '\0')) break; - pPVar17 = &g_game->_playerManager; - local_90 = (RNG)((int)local_90 + 1); - if ((uint)((int)(g_game->_playerManager)._playerList._end - (int)(pPVar17->_playerList)._begin - >> 2) <= (uint)local_90) { + pPVar16 = &g_game->_playerManager; + local_90 = (Game *)((int)&local_90->_stage + 1); + if ((Game *)((int)(g_game->_playerManager)._playerList._end - + (int)(pPVar16->_playerList)._begin >> 2) <= local_90) { return; } } - if (pEVar12 == (Entity_Player *)0x0) { + if (pEVar11 == (Entity_Player *)0x0) { return; } } local_11c = 0x1900000007; local_d0 = 0xc; - if (local_ec == (RNG)0x0) { + if (local_ec == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_ec >> 7 ^ (uint)local_ec; - uVar7 = uVar7 << 0x19 ^ uVar7; - uVar7 = uVar7 >> 0xc ^ uVar7; - local_b0 = (RNG)(uVar7 % 3); - if (uVar7 == 0) { + uVar6 = (uint)local_ec >> 7 ^ (uint)local_ec; + uVar6 = uVar6 << 0x19 ^ uVar6; + uVar6 = uVar6 >> 0xc ^ uVar6; + local_b0 = (Game *)(uVar6 % 3); + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = uVar7 >> 7 ^ uVar7; - for (iVar6 = ((uVar7 >> 0xc ^ uVar7) & 1) + (int)local_b0; iVar6 != 0; iVar6 = iVar6 + -1) { + uVar6 = uVar6 >> 7 ^ uVar6; + for (iVar5 = ((uVar6 >> 0xc ^ uVar6) & 1) + (int)local_b0; iVar5 != 0; iVar5 = iVar5 + -1) { ((Entity_Player *)local_98)->_numBlueSpiders = ((Entity_Player *)local_98)->_numBlueSpiders + 1; spawn_blue_spider(); } @@ -442074,9 +442772,10 @@ void __thiscall GridEntity_Spikes::BeginBatches(GridEntity_Spikes *this) } } iVar1 = (this->_desc)._state; - this->_rng = (RNG)(this->_desc)._variableSeed; - *(undefined8 *)&this->field_0x30 = 0x900000005; - *(undefined4 *)&this->field_0x38 = 7; + (this->_rng)._seed = (this->_desc)._variableSeed; + (this->_rng)._shift1 = 5; + (this->_rng)._shift2 = 9; + (this->_rng)._shift3 = 7; iVar2 = (this->_desc)._type; this->_timeout = 0x1e; (this->_desc)._state = 0; @@ -444258,7 +444957,7 @@ LAB_00720c10: if (cVar9 == '\0') { if (10 < pGVar24->_stage) { _get_index_plus_one_if_kind_4_5(); - Seeds::ForgetStageSeed(); + Seeds::ForgetStageSeed(&pGVar24->_seedEffects); pGVar24 = g_game; } if ((pGVar25->_desc)._varData == 1) { @@ -444851,10 +445550,7 @@ void __thiscall GridEntity_Web::Update(GridEntity_Web *this) bool bVar9; float local_38; float local_34; - undefined1 local_30 [28]; - float local_14; - undefined4 local_10; - void *local_c; + EntityRef local_30; if ((this->_desc)._state == 0) { uVar5 = g_game->_frameCount & 0x80000003; @@ -444896,16 +445592,16 @@ void __thiscall GridEntity_Web::Update(GridEntity_Web *this) pfVar6 = &local_34; } if (*pfVar6 <= 21.0 && *pfVar6 != 21.0) { - local_30._0_4_ = 0; - local_30._4_4_ = 0; - local_30._8_4_ = 0; - local_30._12_4_ = 0; - local_30._16_4_ = g_vectorZero.x; - local_30._20_4_ = g_vectorZero.y; - local_30._24_4_ = g_vectorZero.x; - local_14 = g_vectorZero.y; - local_10 = 0; - local_c = (void *)0x0; + local_30._type = 0; + local_30._variant = 0; + local_30._spawnerType = 0; + local_30._spawnerVariant = 0; + local_30._position.x = g_vectorZero.x; + local_30._position.y = g_vectorZero.y; + local_30._velocity.x = g_vectorZero.x; + local_30._velocity.y = g_vectorZero.y; + local_30._flags = 0; + local_30._entity = (void *)0x0; auVar3 = ZEXT1632(CONCAT412(0x3f800000,CONCAT48(0x3fa66666,0x3f8000003f800000))); color._offset[0] = 0.15686275; color._tint[0] = (float)auVar3._0_4_; @@ -444918,7 +445614,7 @@ void __thiscall GridEntity_Web::Update(GridEntity_Web *this) color._colorize[3] = (float)auVar3._28_4_; color._offset[1] = 0.15686275; color._offset[2] = 0.15686275; - Entity::AddSlowing((Entity *)this_00,(EntityRef *)local_30,4,0.75,color,0); + Entity::AddSlowing((Entity *)this_00,&local_30,4,0.75,color,0); } } LAB_007219cb: @@ -447532,7 +448228,7 @@ undefined4 * PocketItemConfig::GetName(undefined4 *param_1,uint param_2) } uVar4 = param_2; if (param_2 == 0x14) { - uVar4 = g_manager->_stringTable; + uVar4 = *(uint *)&g_manager->_stringTable; } if (*pcVar2 == '#') { param_2 = param_2 & 0xffffff; @@ -447585,7 +448281,7 @@ undefined4 * __thiscall ItemConfig_Card::get_display_desc(ItemConfig_Card *this, if (0xf < (this->desc)._capacity) { psVar3 = *(std_string **)psVar3->_buf; } - uVar1 = g_manager->_stringTable; + uVar1 = *(undefined4 *)&g_manager->_stringTable; if (psVar3->_buf[0] == '#') { local_5 = '\0'; StringTable::get_string("PocketItems",uVar1,psVar3->_buf + 1,&local_5); @@ -447746,162 +448442,166 @@ void FUN_00724ee0(void) 0x85 nulls, 98 cards, 50 pill effects and frees the entries; callers Manager::unload_configs (right after the Manager ANM2 resets) and the ItemConfig ctor 00724cb0 ItemConfig::constructor -void ItemConfig::reset(void) +void __thiscall ItemConfig::reset(ItemConfig *this) { size_t _Size; + void *_Dst; qword qVar1; undefined4 *puVar2; void *pvVar3; - int *in_ECX; int iVar4; undefined4 uVar5; uint uVar6; int iVar7; - qword *pqVar8; - int *piVar9; + void **ppvVar8; + qword *pqVar9; + int *piVar10; + ItemConfig *pIVar11; + std_map *psVar12; uint local_10; std::vector<4byte>::resize(0x2dd); - piVar9 = (int *)*in_ECX; + pIVar11 = (this->_collectibles)._begin; iVar7 = 0; - if ((in_ECX < piVar9) || (piVar9 + 0x2dc < in_ECX)) { + if ((this < pIVar11) || (&pIVar11[10].field_0xd0 < this)) { iVar7 = 0x2dc; for (iVar4 = 0x2dc; iVar4 != 0; iVar4 = iVar4 + -1) { - *piVar9 = 0; - piVar9 = piVar9 + 1; + (pIVar11->_collectibles)._begin = (void *)0x0; + pIVar11 = (ItemConfig *)&(pIVar11->_collectibles)._end; } } iVar7 = iVar7 * 4; do { - *(undefined4 *)(iVar7 + *in_ECX) = 0; + *(undefined4 *)(iVar7 + (int)(this->_collectibles)._begin) = 0; iVar7 = iVar7 + 4; } while (iVar7 < 0xb74); std::vector<4byte>::resize(0xbe); iVar7 = 0; do { - *(undefined4 *)(iVar7 + in_ECX[3]) = 0; + *(undefined4 *)(iVar7 + (int)(this->_trinkets)._begin) = 0; iVar7 = iVar7 + 4; } while (iVar7 < 0x2f8); std::vector<4byte>::resize(0x85); iVar7 = 0; do { - *(undefined4 *)(iVar7 + in_ECX[6]) = 0; + *(undefined4 *)(iVar7 + (int)(this->_nullItems)._begin) = 0; iVar7 = iVar7 + 4; } while (iVar7 < 0x214); FUN_00731070(iVar7); iVar7 = 0; do { - *(undefined4 *)(iVar7 + in_ECX[9]) = 0; + *(undefined4 *)(iVar7 + (int)(this->_cards)._begin) = 0; iVar7 = iVar7 + 4; } while (iVar7 < 0x188); FUN_00731000(iVar7); iVar7 = 0; do { - *(undefined4 *)(iVar7 + in_ECX[0xc]) = 0; + *(undefined4 *)(iVar7 + (int)(this->_pillEffects)._begin) = 0; iVar7 = iVar7 + 4; } while (iVar7 < 200); FUN_00730f90(iVar7); iVar7 = 0; do { - *(undefined4 *)(iVar7 + in_ECX[0x11]) = 0; + *(undefined4 *)(iVar7 + (int)(this->_playerForms)._begin) = 0; iVar7 = iVar7 + 4; } while (iVar7 < 0x40); local_10 = 0; - if (in_ECX[7] - in_ECX[6] >> 2 != 0) { + if ((int)(this->_nullItems)._end - (int)(this->_nullItems)._begin >> 2 != 0) { do { if (g_mainHeap == (void *)0x0) { - pqVar8 = &g_allocatedBytesNoHeap; + pqVar9 = &g_allocatedBytesNoHeap; } else { - pqVar8 = (qword *)((int)g_mainHeap + 0x30); + pqVar9 = (qword *)((int)g_mainHeap + 0x30); } puVar2 = malloc(0xec); if (puVar2 == (undefined4 *)0x0) { - piVar9 = *(int **)g_memoryManager_oomHandlers; - if (piVar9 != g_memoryManager_oomHandlers) { + piVar10 = *(int **)g_memoryManager_oomHandlers; + if (piVar10 != g_memoryManager_oomHandlers) { do { - (*(code *)piVar9[2])(0x7fcb9dd6,piVar9[3]); - piVar9 = (int *)*piVar9; - } while (piVar9 != g_memoryManager_oomHandlers); + (*(code *)piVar10[2])(0x7fcb9dd6,piVar10[3]); + piVar10 = (int *)*piVar10; + } while (piVar10 != g_memoryManager_oomHandlers); } LAB_0072506f: uVar5 = 0; } else { *puVar2 = 0xec; - qVar1 = *pqVar8; - *(uint *)pqVar8 = (uint)*pqVar8 + 0xec; - *(uint *)((int)pqVar8 + 4) = *(uint *)((int)pqVar8 + 4) + (uint)(0xffffff13 < (uint)qVar1); + qVar1 = *pqVar9; + *(uint *)pqVar9 = (uint)*pqVar9 + 0xec; + *(uint *)((int)pqVar9 + 4) = *(uint *)((int)pqVar9 + 4) + (uint)(0xffffff13 < (uint)qVar1); if (puVar2 == (undefined4 *)0xfffffffc) goto LAB_0072506f; uVar5 = ItemConfig_Item::ItemConfig_Item(); } - *(undefined4 *)(in_ECX[6] + local_10 * 4) = uVar5; - *(uint *)(*(int *)(in_ECX[6] + local_10 * 4) + 4) = local_10; + *(undefined4 *)((int)(this->_nullItems)._begin + local_10 * 4) = uVar5; + *(uint *)(*(int *)((int)(this->_nullItems)._begin + local_10 * 4) + 4) = local_10; local_10 = local_10 + 1; - } while (local_10 < (uint)(in_ECX[7] - in_ECX[6] >> 2)); + } while (local_10 < (uint)((int)(this->_nullItems)._end - (int)(this->_nullItems)._begin >> 2)); } - piVar9 = in_ECX + 0xf; - in_ECX[0x21] = 0; - in_ECX[0x22] = 0; - in_ECX[0x23] = 0; - in_ECX[0x24] = 0; - in_ECX[0x25] = 0; - in_ECX[0x26] = 0; - in_ECX[0x27] = 0; - in_ECX[0x28] = 0; - in_ECX[0x29] = 0; - in_ECX[0x2a] = 0; - in_ECX[0x2b] = 0; - in_ECX[0x2c] = 0; - in_ECX[0x2d] = 0; - in_ECX[0x2e] = 0; - in_ECX[0x2f] = 0; - in_ECX[0x30] = 0; - in_ECX[0x31] = 0; - in_ECX[0x32] = 0; - in_ECX[0x33] = 0; - in_ECX[0x34] = 0; - in_ECX[0x35] = 0; - in_ECX[0x36] = 0; - in_ECX[0x37] = 0; - in_ECX[0x38] = 0; - in_ECX[0x39] = 0; - in_ECX[0x3a] = 0; - in_ECX[0x3b] = 0; - in_ECX[0x3c] = 0; - in_ECX[0x3d] = 0; - in_ECX[0x3e] = 0; - in_ECX[0x3f] = 0; - in_ECX[0x40] = 0; - iVar7 = *piVar9; - uVar5 = *(undefined4 *)(iVar7 + 4); - FUN_004235c0(piVar9,uVar5); - *(int *)(iVar7 + 4) = iVar7; - *(int *)iVar7 = iVar7; - *(int *)(iVar7 + 8) = iVar7; - in_ECX[0x10] = 0; - pvVar3 = (void *)in_ECX[0x47]; - iVar7 = in_ECX[0x46]; - uVar6 = (int)pvVar3 - iVar7 >> 2; + psVar12 = &this->_collectibleNameMap; + *(undefined4 *)&this->field_0x84 = 0; + *(undefined4 *)&this->field_0x88 = 0; + *(undefined4 *)&this->field_0x8c = 0; + *(undefined4 *)&this->field_0x90 = 0; + *(undefined4 *)&this->field_0x94 = 0; + *(undefined4 *)&this->field_0x98 = 0; + *(undefined4 *)&this->field_0x9c = 0; + *(undefined4 *)&this->field_0xa0 = 0; + *(undefined4 *)&this->field_0xa4 = 0; + *(undefined4 *)&this->field_0xa8 = 0; + *(undefined4 *)&this->field_0xac = 0; + *(undefined4 *)&this->field_0xb0 = 0; + *(undefined4 *)&this->field_0xb4 = 0; + *(undefined4 *)&this->field_0xb8 = 0; + *(undefined4 *)&this->field_0xbc = 0; + *(undefined4 *)&this->field_0xc0 = 0; + *(undefined4 *)&this->field_0xc4 = 0; + *(undefined4 *)&this->field_0xc8 = 0; + *(undefined4 *)&this->field_0xcc = 0; + *(undefined4 *)&this->field_0xd0 = 0; + *(undefined4 *)&this->field_0xd4 = 0; + *(undefined4 *)&this->field_0xd8 = 0; + *(undefined4 *)&this->field_0xdc = 0; + *(undefined4 *)&this->field_0xe0 = 0; + *(undefined4 *)&this->field_0xe4 = 0; + *(undefined4 *)&this->field_0xe8 = 0; + *(undefined4 *)&this->field_0xec = 0; + *(undefined4 *)&this->field_0xf0 = 0; + *(undefined4 *)&this->field_0xf4 = 0; + *(undefined4 *)&this->field_0xf8 = 0; + *(undefined4 *)&this->field_0xfc = 0; + *(undefined4 *)&this->field_0x100 = 0; + pvVar3 = psVar12->_head; + uVar5 = *(undefined4 *)((int)pvVar3 + 4); + FUN_004235c0(psVar12,uVar5); + ppvVar8 = &this[1]._collectibles._capacity; + *(void **)((int)pvVar3 + 4) = pvVar3; + *(void **)pvVar3 = pvVar3; + *(void **)((int)pvVar3 + 8) = pvVar3; + (this->_collectibleNameMap)._size = 0; + _Dst = this[1]._trinkets._begin; + pvVar3 = *ppvVar8; + uVar6 = (int)_Dst - (int)pvVar3 >> 2; if (uVar6 < 0x14) { if (0x12 < uVar6) goto LAB_0072516e; - if ((uint)(in_ECX[0x48] - iVar7 >> 2) < 0x13) { - FUN_00731f40(piVar9,uVar5); + if ((uint)((int)this[1]._trinkets._end - (int)pvVar3 >> 2) < 0x13) { + FUN_00731f40(psVar12,uVar5); goto LAB_0072516e; } _Size = (0x13 - uVar6) * 4; - memset(pvVar3,0,_Size); - pvVar3 = (void *)(_Size + (int)pvVar3); + memset(_Dst,0,_Size); + pvVar3 = (void *)(_Size + (int)_Dst); } else { - pvVar3 = (void *)(iVar7 + 0x4c); + pvVar3 = (void *)((int)pvVar3 + 0x4c); } - in_ECX[0x47] = (int)pvVar3; + this[1]._trinkets._begin = pvVar3; LAB_0072516e: iVar7 = 0; do { - *(undefined4 *)(iVar7 + in_ECX[0x46]) = 0; + *(undefined4 *)(iVar7 + (int)*ppvVar8) = 0; iVar7 = iVar7 + 4; } while (iVar7 < 0x4c); return; @@ -447937,8 +448637,8 @@ void __thiscall ItemConfig::destructor(ItemConfig *this) FUN_007317d0(this + 1,*(undefined4 *)((int)this[1]._collectibles._begin + 4)); operator_delete(this[1]._collectibles._begin,0x20); FID_conflict__Tidy(&this->_availabilityFilters); - FUN_00731820(&this->field_0x7c,*(undefined4 *)(*(int *)&this->field_0x7c + 4)); - operator_delete(*(undefined4 *)&this->field_0x7c,0x54); + FUN_00731820(&this->_locustConfigs,*(undefined4 *)((int)(this->_locustConfigs)._head + 4)); + operator_delete((this->_locustConfigs)._head,0x54); std::string::_Tidy_deallocate(); FID_conflict__Tidy(&this->_playerForms); FUN_004235c0(&this->_collectibleNameMap, @@ -455056,7 +455756,7 @@ void __thiscall ItemConfig::LoadLocustConfig(ItemConfig *this,byte *xmlpath,ModE float fStack_101e0; float fStack_101dc; uint uStack_101d4; - undefined1 *puStack_101d0; + std_map *psStack_101d0; uint uStack_101cc; ItemConfig *pIStack_101c8; uint uStack_101c4; @@ -455158,13 +455858,13 @@ void __thiscall ItemConfig::LoadLocustConfig(ItemConfig *this,byte *xmlpath,ModE pbVar14 = pbVar14 + 1; } while (bVar2 != 0); std::string::assign(pbVar15,(int)pbVar14 - (int)(pbVar15 + 1)); - puStack_101d0 = &pIVar5->field_0x7c; - iVar8 = *(int *)puStack_101d0; - FUN_00731820(puStack_101d0,*(undefined4 *)(iVar8 + 4)); - *(int *)(iVar8 + 4) = iVar8; - *(int *)iVar8 = iVar8; - *(int *)(iVar8 + 8) = iVar8; - *(undefined4 *)&pIVar5->field_0x80 = 0; + psStack_101d0 = &pIVar5->_locustConfigs; + pvVar3 = psStack_101d0->_head; + FUN_00731820(psStack_101d0,*(undefined4 *)((int)pvVar3 + 4)); + *(void **)((int)pvVar3 + 4) = pvVar3; + *(void **)pvVar3 = pvVar3; + *(void **)((int)pvVar3 + 8) = pvVar3; + (pIVar5->_locustConfigs)._size = 0; puStack_101b8 = *(undefined4 **)(pbStack_101b4 + 0x18); joined_r0x0072bc5f: if (puStack_101b8 == (undefined4 *)0x0) { @@ -459496,7 +460196,7 @@ ItemConfig_Item::GetLocalizedName(ItemConfig_Item *this,undefined4 *param_2,uint } uVar4 = param_3; if (param_3 == 0x14) { - uVar4 = g_manager->_stringTable; + uVar4 = *(uint *)&g_manager->_stringTable; } psVar2 = &this->name; if (0xf < (this->name)._capacity) { @@ -459551,7 +460251,7 @@ ItemConfig_Item::get_localized_description(ItemConfig_Item *this,undefined4 *par return param_2; } psVar3 = &this->desc; - uVar1 = g_manager->_stringTable; + uVar1 = *(undefined4 *)&g_manager->_stringTable; if (0xf < (this->desc)._capacity) { psVar3 = *(std_string **)psVar3->_buf; } @@ -459604,13 +460304,10 @@ undefined4 Item::IsAvailable(uint param_1) int extraout_ECX_02; int extraout_ECX_03; int extraout_ECX_04; - int iVar11; - void *pvVar12; - Game *pGVar13; + void *pvVar11; + Game *pGVar12; PlayerManager *this; RNG local_1c; - undefined8 local_18; - undefined4 local_10; uint local_c; undefined1 auStack_8 [4]; @@ -459633,19 +460330,19 @@ undefined4 Item::IsAvailable(uint param_1) } pMVar4 = g_manager; if (((param_1 & 8) != 0) && - (pvVar12 = (g_manager->_itemConfig)._availabilityFilters._end, - (g_manager->_itemConfig)._availabilityFilters._begin != pvVar12)) { + (pvVar11 = (g_manager->_itemConfig)._availabilityFilters._end, + (g_manager->_itemConfig)._availabilityFilters._begin != pvVar11)) { do { - puVar1 = (undefined4 *)((int)pvVar12 + -4); - pvVar12 = (void *)((int)pvVar12 + -4); + puVar1 = (undefined4 *)((int)pvVar11 + -4); + pvVar11 = (void *)((int)pvVar11 + -4); cVar5 = (*(code *)*puVar1)(); if (cVar5 == '\0') { return 0; } - } while (pvVar12 != (pMVar4->_itemConfig)._availabilityFilters._begin); + } while (pvVar11 != (pMVar4->_itemConfig)._availabilityFilters._begin); } if (g_game == (Game *)0x0) goto LAB_00730653; - pGVar13 = g_game; + pGVar12 = g_game; if ((param_1 & 1) != 0) { iVar8 = *in_ECX; if (((iVar8 == 1) || (iVar8 == 3)) || (iVar8 == 4)) { @@ -459677,7 +460374,7 @@ undefined4 Item::IsAvailable(uint param_1) return 0; } } - pGVar13 = g_game; + pGVar12 = g_game; bVar6 = Seeds::HasSeedEffect(&g_game->_seedEffects,0x4f); if (bVar6 != 0) { iVar8 = *(int *)ThreadLocalStoragePointer; @@ -459693,7 +460390,7 @@ undefined4 Item::IsAvailable(uint param_1) _Init_thread_footer(&DAT_00c80ff4); iVar8 = extraout_ECX_02; } - pGVar13 = g_game; + pGVar12 = g_game; } if (DAT_00c81004 == 0) { vector_bool_resize(0x2dd,iVar8); @@ -459704,7 +460401,7 @@ undefined4 Item::IsAvailable(uint param_1) puVar3 = (uint *)(DAT_00c80ff8 + (*puVar2 >> 5) * 4); *puVar3 = *puVar3 | 1 << ((byte)*puVar2 & 0x1f); } while (uVar9 < 0x3c); - pGVar13 = g_game; + pGVar12 = g_game; } uVar9 = in_ECX[1]; if (((-1 < (int)uVar9) && ((int)uVar9 < DAT_00c81004)) && @@ -459712,7 +460409,7 @@ undefined4 Item::IsAvailable(uint param_1) return 0; } } - if ((pGVar13->_dailyChallenge)._specialDailyId == 0x34) { + if ((pGVar12->_dailyChallenge)._specialDailyId == 0x34) { iVar8 = *(int *)ThreadLocalStoragePointer; if (*(int *)(iVar8 + 0xc) < DAT_00c81008) { _Init_thread_header(&DAT_00c81008); @@ -459726,7 +460423,7 @@ undefined4 Item::IsAvailable(uint param_1) _Init_thread_footer(&DAT_00c81008); iVar8 = extraout_ECX_04; } - pGVar13 = g_game; + pGVar12 = g_game; } if (DAT_00c81018 == 0) { vector_bool_resize(0x2dd,iVar8); @@ -459737,7 +460434,7 @@ undefined4 Item::IsAvailable(uint param_1) puVar3 = (uint *)(DAT_00c8100c + (*puVar2 >> 5) * 4); *puVar3 = *puVar3 | 1 << (*puVar2 & 0x1f); } while (uVar9 < 0x40); - pGVar13 = g_game; + pGVar12 = g_game; } uVar9 = in_ECX[1]; if (((-1 < (int)uVar9) && ((int)uVar9 < DAT_00c81018)) && @@ -459746,7 +460443,7 @@ undefined4 Item::IsAvailable(uint param_1) } } LAB_007303fd: - if (pGVar13->_challenge != 0) goto LAB_00730406; + if (pGVar12->_challenge != 0) goto LAB_00730406; } else { if ((iVar8 != 2) || (g_game->_challenge != 0x29)) goto LAB_007303fd; @@ -459758,10 +460455,10 @@ LAB_00730406: return 0; } } - if (((pGVar13->_dailyChallenge)._id != 0) && ((in_ECX[0x2e] & 0x20000000U) != 0)) { + if (((pGVar12->_dailyChallenge)._id != 0) && ((in_ECX[0x2e] & 0x20000000U) != 0)) { return 0; } - if (((pGVar13->_difficulty == 2) || (pGVar13->_difficulty == 3)) && + if (((pGVar12->_difficulty == 2) || (pGVar12->_difficulty == 3)) && ((in_ECX[0x2e] & 0x20000U) != 0)) { return 0; } @@ -459769,11 +460466,11 @@ LAB_00730406: if ((param_1 & 4) != 0) { iVar8 = *in_ECX; if (((((iVar8 == 1) || (iVar8 == 3)) || (iVar8 == 4)) && - ((pGVar13->_difficulty != 2 && (pGVar13->_difficulty != 3)))) && - ((6 < pGVar13->_stage && (in_ECX[1] == 0x2b9)))) { + ((pGVar12->_difficulty != 2 && (pGVar12->_difficulty != 3)))) && + ((6 < pGVar12->_stage && (in_ECX[1] == 0x2b9)))) { return 0; } - this = &pGVar13->_playerManager; + this = &pGVar12->_playerManager; pEVar7 = PlayerManager::FirstPlayerByType(this,0xe); if (((pEVar7 != (Entity_Player *)0x0) || (pEVar7 = PlayerManager::FirstPlayerByType(this,0x21), pEVar7 != (Entity_Player *)0x0)) && @@ -459781,7 +460478,7 @@ LAB_00730406: return 0; } pEVar7 = PlayerManager::FirstBirthrightOwner(this,10); - pGVar13 = g_game; + pGVar12 = g_game; if ((pEVar7 != (Entity_Player *)0x0) && ((in_ECX[0x2e] & 0x400000U) != 0)) { return 0; } @@ -459795,26 +460492,27 @@ LAB_00730406: if (in_ECX[0x30] < 2) { iVar8 = Seeds::GetStartSeed(); cVar5 = IsCollectible(); - local_18 = 0x100000003; + local_1c._shift1 = 3; + local_1c._shift2 = 1; iVar10 = 1000; if (cVar5 != '\0') { iVar10 = 0; } - local_10 = 0xe; - iVar11 = 1; + local_1c._shift3 = 0xe; + local_1c._seed = 1; if (iVar10 + iVar8 + in_ECX[1] != 0) { - iVar11 = iVar10 + iVar8; + local_1c._seed = iVar10 + iVar8; } - local_1c = (RNG)(iVar11 + in_ECX[1]); + local_1c._seed = local_1c._seed + in_ECX[1]; uVar9 = RNG::RandomInt(&local_1c,5); if (uVar9 == 0) { return 0; } - pGVar13 = g_game; + pGVar12 = g_game; } } iVar8 = PlayerManager::FirstCollectibleOwner - (&pGVar13->_playerManager,0x2b3,&pGVar13->_playerManager,1); + (&pGVar12->_playerManager,0x2b3,&pGVar12->_playerManager,1); if (iVar8 != 0) { if (in_ECX[0x30] < 2) { return 0; @@ -459823,16 +460521,17 @@ LAB_00730406: iVar8 = Seeds::GetStartSeed(); cVar5 = IsCollectible(); iVar10 = 1000; - local_18 = 0x300000003; + local_1c._shift1 = 3; + local_1c._shift2 = 3; if (cVar5 != '\0') { iVar10 = 0; } - local_10 = 0x1a; - iVar11 = 1; + local_1c._shift3 = 0x1a; + local_1c._seed = 1; if (iVar8 + iVar10 + in_ECX[1] != 0) { - iVar11 = iVar8 + iVar10; + local_1c._seed = iVar8 + iVar10; } - local_1c = (RNG)(iVar11 + in_ECX[1]); + local_1c._seed = local_1c._seed + in_ECX[1]; uVar9 = RNG::RandomInt(&local_1c,3); if (uVar9 == 0) { return 0; @@ -460280,7 +460979,7 @@ int FUN_00730eb0(undefined4 param_1) int *piVar1; undefined1 local_10 [12]; - piVar1 = (int *)FUN_00731540(local_10,param_1); + piVar1 = (int *)std::map::try_emplace(local_10,param_1); return *piVar1 + 0x28; } @@ -460698,9 +461397,13 @@ void Catch_All_00731506(void) } -//@@ 00731540 FUN_00731540 +//@@ 00731540 std::map::try_emplace -void FUN_00731540(undefined4 *param_1,undefined4 *param_2) +/* DB: MSVC _Tree: lower bound (FUN_00731e00) + string_compare, else new 0x30-byte node (16 header + + moved std::string + zeroed 8-byte value), max_size 0x5555555; on the global map 00c80fcc; wrapper + FUN_00730eb0 (operator[] returning node+0x28) used by ItemConfig::parse_tags */ + +void std::map::try_emplace(undefined4 *param_1,undefined4 *param_2) { char cVar1; @@ -461245,7 +461948,7 @@ void FUN_00731d70(undefined4 *param_1,undefined4 param_2) undefined4 local_10; undefined1 local_c; - FUN_007325e0(&local_10,param_2); + std::map::try_emplace(&local_10,param_2); *param_1 = local_10; *(undefined1 *)(param_1 + 1) = local_c; return; @@ -461275,7 +461978,7 @@ void FUN_00731dd0(undefined4 *param_1,undefined4 param_2) undefined4 local_10; undefined1 local_c; - FUN_00732a20(&local_10,param_2); + std::set::_Emplace(&local_10,param_2); *param_1 = local_10; *(undefined1 *)(param_1 + 1) = local_c; return; @@ -461778,9 +462481,13 @@ void FUN_007325d0(void) } -//@@ 007325e0 FUN_007325e0 +//@@ 007325e0 std::map::try_emplace -void FUN_007325e0(undefined4 *param_1,int *param_2) +/* DB: ? MSVC _Tree emplace keyed by std::string: std::map::_Find_lower_bound + + string_compare, returns {iterator,false} when present, else operator_new(0x54) node (string key + + 0x2c value), max_size 0x30c30c3 check; caller 00731d70 (next to ItemPool) */ + +void std::map::try_emplace(undefined4 *param_1,int *param_2) { int *piVar1; @@ -461808,7 +462515,7 @@ void FUN_007325e0(undefined4 *param_1,int *param_2) local_1c = ExceptionList; uVar5 = __security_cookie ^ (uint)(local_44 + 0x34); ExceptionList = &local_1c; - puVar6 = (undefined8 *)std::map::_Find_lower_bound(local_44,param_2); + puVar6 = (undefined8 *)_Find_lower_bound(local_44,param_2); local_38 = *puVar6; local_24 = *(int **)(puVar6 + 1); if (*(char *)((int)local_24 + 0xd) == '\0') { @@ -462058,9 +462765,12 @@ LAB_00732992: } -//@@ 00732a20 FUN_00732a20 +//@@ 00732a20 std::set::_Emplace -void FUN_00732a20(int *param_1,int *param_2) +/* DB: std::set::find_node lower bound, insert when missing (max_size 0x7ffffff, operator_new + node); via FUN_00731dd0 */ + +void std::set::_Emplace(int *param_1,int *param_2) { undefined8 uVar1; @@ -462092,7 +462802,7 @@ void FUN_00732a20(int *param_1,int *param_2) uVar9 = __security_cookie ^ (uint)(local_20 + 0x1c); ExceptionList = &local_10; local_14 = in_ECX; - puVar10 = (undefined8 *)std::set::find_node(local_20,param_2); + puVar10 = (undefined8 *)find_node(local_20,param_2); iVar3 = *(int *)(puVar10 + 1); uVar1 = *puVar10; if ((*(char *)(iVar3 + 0xd) == '\0') && (*(int *)(iVar3 + 0x10) <= *param_2)) { @@ -462310,13 +463020,13 @@ void __thiscall ItemPool::GetItemPoolsForCollectible(ItemPool *this,int collecti void *pvVar2; int *piVar3; void *pvVar4; - int *piVar5; + void **ppvVar5; pvVar2 = result; pvVar4 = (void *)0x0; - piVar5 = (int *)&this->_pools[0].field_0x8; + ppvVar5 = &this->_pools[0]._poolList._end; do { - for (piVar3 = (int *)piVar5[-1]; piVar3 != (int *)*piVar5; piVar3 = piVar3 + 6) { + for (piVar3 = ((std_vector *)(ppvVar5 + -1))->_begin; piVar3 != *ppvVar5; piVar3 = piVar3 + 6) { if (*piVar3 == collectible) { puVar1 = *(uint **)((int)pvVar2 + 4); if (puVar1 == *(uint **)((int)pvVar2 + 8)) { @@ -462331,7 +463041,7 @@ void __thiscall ItemPool::GetItemPoolsForCollectible(ItemPool *this,int collecti } } pvVar4 = (void *)((int)pvVar4 + 1); - piVar5 = piVar5 + 0xd; + ppvVar5 = ppvVar5 + 0xd; if ((void *)0x1e < pvVar4) { return; } @@ -462526,7 +463236,7 @@ LAB_007330cc: if (uVar7 == 0x1e4) { RemoveCollectible(0x126,0,0); } - if (uVar7 < *(uint *)&this->field_0x688) { + if (uVar7 < (this->_removedCollectibles)._size) { pvVar2 = (this->_removedCollectibles)._begin; *(uint *)((int)pvVar2 + (uVar7 >> 5) * 4) = *(uint *)((int)pvVar2 + (uVar7 >> 5) * 4) | 1 << (uVar7 & 0x1f); @@ -462636,7 +463346,7 @@ LAB_007335dc: uint __thiscall ItemPool::GetCollectible - (ItemPool *this,uint param_2,RNG param_3,uint param_4,uint param_5,int param_6) + (ItemPool *this,uint param_2,uint param_3,uint param_4,uint param_5,int param_6) { void *pvVar1; @@ -462653,17 +463363,13 @@ ItemPool::GetCollectible undefined4 uVar12; uint *puVar13; RNG local_a8; - undefined8 local_a4; - undefined4 local_9c; uint local_98; - RNG local_94; + uint local_94; uint *local_90; uint local_8c; char local_85; ItemPool_Item *local_84; RNG local_80; - undefined8 local_7c; - undefined4 local_74; undefined4 local_70; undefined4 uStack_6c; undefined4 uStack_68; @@ -462694,11 +463400,11 @@ ItemPool::GetCollectible local_8 = __security_cookie ^ (int)register0x00000010 - 4U; local_8c = param_4; - if (param_3 == (RNG)0x0) { + if (param_3 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"ItemPool::GetCollectible Seed is 0\n"); } - if (((param_2 == 0xffffffff) || (0x1e < param_2)) || (param_3 == (RNG)0x0)) { + if (((param_2 == 0xffffffff) || (0x1e < param_2)) || (param_3 == 0)) { return 0; } if (((int)param_5 < 0) || (0x2dc < (int)param_5)) { @@ -462722,16 +463428,18 @@ ItemPool::GetCollectible if ((iVar5 == 0) && (bVar3 = TemporaryEffects::HasCollectibleEffect ((TemporaryEffects *)((int)g_game->_room + 0x7310),0x192), bVar3 == 0)) { - local_74 = 0x14; - local_80 = param_3; - local_7c = 0x500000003; + local_80._shift3 = 0x14; + local_80._seed = param_3; + local_80._shift1 = 3; + local_80._shift2 = 5; local_85 = '\0'; local_84 = (ItemPool_Item *)param_2; } else { - local_74 = 0x14; - local_80 = param_3; - local_7c = 0x500000003; + local_80._shift3 = 0x14; + local_80._seed = param_3; + local_80._shift1 = 3; + local_80._shift2 = 5; local_84 = (ItemPool_Item *)get_chaos_pool(this,&local_80); local_85 = '\x01'; } @@ -462748,23 +463456,26 @@ ItemPool::GetCollectible } else if (iVar5 == 0x2e) { if (param_2 == 0) { - local_74 = 0x13; - local_80 = param_3; - local_7c = 0x500000001; + local_80._shift3 = 0x13; + local_80._seed = param_3; + local_80._shift1 = 1; + local_80._shift2 = 5; uVar4 = RNG::RandomInt(&local_80,(uVar4 & 1 ^ 1) * 2 + 0x14); return *(uint *)(&DAT_00b6a2c8 + uVar4 * 4); } } else if ((iVar5 == 0x32) && (param_2 == 0)) { - local_80 = param_3; - local_7c = 0x500000001; - local_74 = 0x13; + local_80._seed = param_3; + local_80._shift1 = 1; + local_80._shift2 = 5; + local_80._shift3 = 0x13; uVar4 = RNG::RandomInt(&local_80,4); return *(uint *)(&DAT_00b6a2b8 + uVar4 * 4); } - local_9c = 6; - local_a8 = param_3; - local_a4 = 0xb00000001; + local_a8._shift3 = 6; + local_a8._seed = param_3; + local_a8._shift1 = 1; + local_a8._shift2 = 0xb; puVar13 = local_90; if (iVar5 == 1) { if (local_84 == (ItemPool_Item *)0x0) { @@ -462843,7 +463554,7 @@ LAB_007339a2: local_90 = (uint *)(fVar10 * local_84->_totalWeight); local_90 = (uint *)pick_weighted(this,local_84,local_8c); if (local_90 != (uint *)0x0) { - local_94 = local_a8; + local_94 = local_a8._seed; iVar5 = 0x14; do { iVar9 = iVar5; @@ -462883,14 +463594,14 @@ LAB_007339a2: this->_lastPool = iVar5; local_84 = this->_pools + iVar5; } - if (local_94 == (RNG)0x0) { + if (local_94 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)local_94 >> ((byte)local_a4 & 0x1f) ^ (uint)local_94; - uVar6 = uVar6 << ((byte)((ulonglong)local_a4 >> 0x20) & 0x1f) ^ uVar6; - local_a8 = (RNG)(uVar6 >> ((byte)local_9c & 0x1f) ^ uVar6); - local_94 = local_a8; + local_94 = local_94 >> ((byte)local_a8._shift1 & 0x1f) ^ local_94; + local_94 = local_94 << ((byte)local_a8._shift2 & 0x1f) ^ local_94; + local_a8._seed = local_94 >> ((byte)local_a8._shift3 & 0x1f) ^ local_94; + local_94 = local_a8._seed; local_90 = (uint *)pick_weighted(this,local_84,local_8c); iVar5 = iVar9; } while (local_90 != (uint *)0x0); @@ -462941,18 +463652,15 @@ uint __thiscall ItemPool::GetTrinket(ItemPool *this,byte DontAdvanceRNG) { void *pvVar1; - RNG RVar2; - bool bVar3; - char cVar4; + bool bVar2; + char cVar3; + uint uVar4; uint uVar5; RNG *this_00; uint uVar6; uint local_30; RNG local_2c; - undefined4 uStack_28; - undefined4 uStack_24; - undefined4 uStack_20; - RNG local_1c; + uint local_1c; undefined8 local_18; undefined4 local_10; uint local_c; @@ -462962,75 +463670,75 @@ uint __thiscall ItemPool::GetTrinket(ItemPool *this,byte DontAdvanceRNG) if (this->_numAvailableTrinkets < 1) { ResetTrinkets(); } - local_2c = this->_trinketPoolRNG; - uStack_28 = *(undefined4 *)&this->field_0x668; - uStack_24 = *(undefined4 *)&this->field_0x66c; - uStack_20 = *(undefined4 *)&this->field_0x670; + local_2c._seed = (this->_trinketPoolRNG)._seed; + local_2c._shift1 = (this->_trinketPoolRNG)._shift1; + local_2c._shift2 = (this->_trinketPoolRNG)._shift2; + local_2c._shift3 = (this->_trinketPoolRNG)._shift3; this_00 = &local_2c; if (DontAdvanceRNG == 0) { this_00 = &this->_trinketPoolRNG; } - uVar5 = RNG::RandomInt(this_00,(int)(this->_trinketPoolItems)._end - + uVar4 = RNG::RandomInt(this_00,(int)(this->_trinketPoolItems)._end - (int)(this->_trinketPoolItems)._begin >> 3); - local_1c = *this_00; + local_1c = this_00->_seed; local_30 = (uint)((int)(this->_trinketPoolItems)._end - (int)(this->_trinketPoolItems)._begin >> 3 ) >> 1; local_18 = 0x900000005; local_10 = 7; do { - RVar2 = local_1c; + uVar5 = local_1c; pvVar1 = (this->_trinketPoolItems)._begin; - if (((*(char *)((int)pvVar1 + uVar5 * 8 + 4) != '\0') && - (*(char *)((int)pvVar1 + uVar5 * 8 + 5) != '\0')) && - (cVar4 = Item::IsAvailable(0xffffffff), cVar4 != '\0')) { - if (-1 < (int)uVar5) { + if (((*(char *)((int)pvVar1 + uVar4 * 8 + 4) != '\0') && + (*(char *)((int)pvVar1 + uVar4 * 8 + 5) != '\0')) && + (cVar3 = Item::IsAvailable(0xffffffff), cVar3 != '\0')) { + if (-1 < (int)uVar4) { if (DontAdvanceRNG == 0) { - *(undefined1 *)((int)(this->_trinketPoolItems)._begin + uVar5 * 8 + 4) = 0; + *(undefined1 *)((int)(this->_trinketPoolItems)._begin + uVar4 * 8 + 4) = 0; this->_numAvailableTrinkets = this->_numAvailableTrinkets + -1; } - uVar5 = *(uint *)((int)(this->_trinketPoolItems)._begin + uVar5 * 8); - uVar6 = FUN_008658c0(uVar5,&this->_trinketPoolRNG); - if (uVar6 != 0) { - return uVar6; + uVar4 = *(uint *)((int)(this->_trinketPoolItems)._begin + uVar4 * 8); + uVar5 = FUN_008658c0(uVar4,&this->_trinketPoolRNG); + if (uVar5 != 0) { + return uVar5; } if (((g_manager->_persistentGameData)._achievements[0x269] != 0) || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))) { local_18 = 0x300000003; - RVar2 = *this_00; - if (RVar2 == (RNG)0x0) { + uVar5 = this_00->_seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar2 >> 3 ^ (uint)RVar2; - uVar6 = uVar6 << 3 ^ uVar6; - uVar6 = uVar6 >> 0x1a ^ uVar6; - if ((uVar6 == (uVar6 / 0x32) * 0x32) || (((uint)g_game->_debugFlags >> 3 & 1) != 0)) { - bVar3 = true; + uVar5 = uVar5 >> 3 ^ uVar5; + uVar5 = uVar5 << 3 ^ uVar5; + uVar5 = uVar5 >> 0x1a ^ uVar5; + if ((uVar5 == (uVar5 / 0x32) * 0x32) || (((uint)g_game->_debugFlags >> 3 & 1) != 0)) { + bVar2 = true; goto LAB_00733fc4; } } - bVar3 = false; + bVar2 = false; LAB_00733fc4: - uVar6 = uVar5 | 0x8000; - if (!bVar3) { - uVar6 = uVar5; + uVar5 = uVar4 | 0x8000; + if (!bVar2) { + uVar5 = uVar4; } - return uVar6; + return uVar5; } break; } uVar6 = (int)(this->_trinketPoolItems)._end - (int)(this->_trinketPoolItems)._begin >> 3; - if (RVar2 == (RNG)0x0) { + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar2 >> ((byte)local_18 & 0x1f) ^ (uint)RVar2; + uVar5 = uVar5 >> ((byte)local_18 & 0x1f) ^ uVar5; uVar5 = uVar5 << ((byte)((ulonglong)local_18 >> 0x20) & 0x1f) ^ uVar5; - local_1c = (RNG)(uVar5 >> 7 ^ uVar5); - uVar5 = 0; + local_1c = uVar5 >> 7 ^ uVar5; + uVar4 = 0; if (uVar6 != 0) { - uVar5 = (uint)local_1c % uVar6; + uVar4 = local_1c % uVar6; } local_30 = local_30 - 1; } while (0 < (int)local_30); @@ -463093,7 +463801,7 @@ void __thiscall ItemPool::ResetCollectible(ItemPool *this,int Collectible) { void *pvVar1; int *piVar2; - int *piVar3; + void **ppvVar3; uint uVar4; int iVar5; @@ -463105,19 +463813,19 @@ void __thiscall ItemPool::ResetCollectible(ItemPool *this,int Collectible) pvVar1 = (this->_roomBlacklistedCollectibles)._begin; *(uint *)((int)pvVar1 + uVar4 * 4) = *(uint *)((int)pvVar1 + uVar4 * 4) & ~(1 << (Collectible & 0x1fU)); - piVar3 = (int *)&this->_pools[0].field_0x8; + ppvVar3 = &this->_pools[0]._poolList._end; iVar5 = 0x1f; do { - piVar2 = (int *)piVar3[-1]; - if (piVar2 != (int *)*piVar3) { + piVar2 = ((std_vector *)(ppvVar3 + -1))->_begin; + if (piVar2 != *ppvVar3) { do { if (*piVar2 == Collectible) { piVar2[2] = piVar2[1]; } piVar2 = piVar2 + 6; - } while (piVar2 != (int *)*piVar3); + } while (piVar2 != *ppvVar3); } - piVar3 = piVar3 + 0xd; + ppvVar3 = ppvVar3 + 0xd; iVar5 = iVar5 + -1; } while (iVar5 != 0); } @@ -463168,13 +463876,11 @@ int ItemPool::GetCardEx(int Seed,int SpecialChance,int RuneChance,int SuitChance byte bVar6; int iVar7; uint uVar8; - RNG RVar9; + uint uVar9; uint local_28; - undefined4 local_24; + int local_24; uint local_20; RNG local_1c; - undefined8 local_18; - undefined4 local_10; uint local_c; undefined1 auStack_8 [4]; @@ -463200,30 +463906,31 @@ int ItemPool::GetCardEx(int Seed,int SpecialChance,int RuneChance,int SuitChance _atexit((_func_4879 *)&LAB_00b15ad0); _Init_thread_footer(&DAT_00c8105c); } - uVar8 = 1; + uVar9 = 1; local_24 = 0x1d; - local_10 = 0x1d; + local_1c._shift3 = 0x1d; DAT_00c81034 = DAT_00c81030; DAT_00c81044 = DAT_00c81040; DAT_00c81054 = DAT_00c81050; DAT_00c81064 = DAT_00c81060; - local_18 = 0x300000003; + local_1c._shift1 = 3; + local_1c._shift2 = 3; local_28 = (int)(g_manager->_itemConfig)._cards._end - (int)(g_manager->_itemConfig)._cards._begin >> 2; if (1 < local_28) { do { - if (((int)uVar8 < 0) || + if (((int)uVar9 < 0) || (pvVar1 = (g_manager->_itemConfig)._cards._begin, - (int)(g_manager->_itemConfig)._cards._end - (int)pvVar1 >> 2 <= (int)uVar8)) { + (int)(g_manager->_itemConfig)._cards._end - (int)pvVar1 >> 2 <= (int)uVar9)) { iVar7 = 0; } else { - iVar7 = *(int *)((int)pvVar1 + uVar8 * 4); + iVar7 = *(int *)((int)pvVar1 + uVar9 * 4); } cVar2 = Card::IsAvailable(); - if ((cVar2 != '\0') && (uVar8 != 0x37)) { + if ((cVar2 != '\0') && (uVar9 != 0x37)) { if (1 < *(int *)&g_game->_deathmatchManager) { - cVar2 = (**(code **)(*(int *)(g_game->_deathmatchManager)._type + 0x24))(uVar8); + cVar2 = (**(code **)(*(int *)(g_game->_deathmatchManager)._type + 0x24))(uVar9); if (cVar2 != '\0') goto switchD_007342be_default; } switch(*(undefined4 *)(iVar7 + 0x58)) { @@ -463231,31 +463938,31 @@ int ItemPool::GetCardEx(int Seed,int SpecialChance,int RuneChance,int SuitChance puVar3 = DAT_00c81064; if (DAT_00c81064 == DAT_00c81068) { LAB_0073437e: - local_20 = uVar8; + local_20 = uVar9; std::vector<4byte>::_Emplace_reallocate(puVar3,&local_20); } else { - *DAT_00c81064 = uVar8; + *DAT_00c81064 = uVar9; DAT_00c81064 = DAT_00c81064 + 1; - local_20 = uVar8; + local_20 = uVar9; } break; case 1: if (SuitChance != 0) { puVar3 = DAT_00c81054; if (DAT_00c81054 == DAT_00c81058) goto LAB_0073437e; - *DAT_00c81054 = uVar8; + *DAT_00c81054 = uVar9; DAT_00c81054 = DAT_00c81054 + 1; - local_20 = uVar8; + local_20 = uVar9; } break; case 2: if (RuneChance != 0) { puVar3 = DAT_00c81044; if (DAT_00c81044 == DAT_00c81048) goto LAB_0073437e; - *DAT_00c81044 = uVar8; + *DAT_00c81044 = uVar9; DAT_00c81044 = DAT_00c81044 + 1; - local_20 = uVar8; + local_20 = uVar9; } break; case 3: @@ -463263,9 +463970,9 @@ switchD_007342be_caseD_3: if (SpecialChance != 0) { puVar3 = DAT_00c81034; if (DAT_00c81034 == DAT_00c81038) goto LAB_0073437e; - *DAT_00c81034 = uVar8; + *DAT_00c81034 = uVar9; DAT_00c81034 = DAT_00c81034 + 1; - local_20 = uVar8; + local_20 = uVar9; } break; case 4: @@ -463273,12 +463980,12 @@ switchD_007342be_caseD_3: } } switchD_007342be_default: - uVar8 = uVar8 + 1; - } while (uVar8 < local_28); + uVar9 = uVar9 + 1; + } while (uVar9 < local_28); } - uVar8 = (int)DAT_00c81044 - (int)DAT_00c81040 >> 2; - if ((uVar8 != 0) || (RuneChance == -1)) { - while (uVar8 < 6) { + uVar9 = (int)DAT_00c81044 - (int)DAT_00c81040 >> 2; + if ((uVar9 != 0) || (RuneChance == -1)) { + while (uVar9 < 6) { local_28 = 0; if (DAT_00c81044 == DAT_00c81048) { std::vector<4byte>::_Emplace_reallocate(DAT_00c81044,&local_28); @@ -463287,7 +463994,7 @@ switchD_007342be_default: *DAT_00c81044 = 0; DAT_00c81044 = DAT_00c81044 + 1; } - uVar8 = (int)DAT_00c81044 - (int)DAT_00c81040 >> 2; + uVar9 = (int)DAT_00c81044 - (int)DAT_00c81040 >> 2; } } local_20 = 1; @@ -463296,103 +464003,103 @@ switchD_007342be_default: } if (SpecialChance == 0) { LAB_00734485: - bVar6 = (byte)local_18; + bVar6 = (byte)local_1c._shift1; LAB_00734488: if (local_20 != 0) { - if ((RNG)Seed == (RNG)0x0) { + if (Seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)Seed >> (bVar6 & 0x1f) ^ Seed; - uVar8 = uVar8 << ((byte)((ulonglong)local_18 >> 0x20) & 0x1f) ^ uVar8; - local_1c = (RNG)(uVar8 >> ((byte)local_24 & 0x1f) ^ uVar8); - Seed = (int)local_1c; - if (((uint)local_1c % local_20 == 0) && - (uVar8 = (int)DAT_00c81044 - (int)DAT_00c81040 >> 2, uVar8 != 0)) { - uVar8 = RNG::RandomInt(&local_1c,uVar8); - uVar8 = DAT_00c81040[uVar8]; - if (uVar8 != 0) goto LAB_0073467f; - if ((local_20 == 1) || (uVar8 = RNG::RandomInt(&local_1c,5), uVar8 == 0)) { - uVar8 = 0x37; - RVar9 = local_1c; + local_1c._seed = (uint)Seed >> (bVar6 & 0x1f) ^ Seed; + local_1c._seed = local_1c._seed << ((byte)local_1c._shift2 & 0x1f) ^ local_1c._seed; + local_1c._seed = (uint)local_1c._seed >> ((byte)local_24 & 0x1f) ^ local_1c._seed; + Seed = local_1c._seed; + if (((uint)local_1c._seed % local_20 == 0) && + (uVar9 = (int)DAT_00c81044 - (int)DAT_00c81040 >> 2, uVar9 != 0)) { + uVar9 = RNG::RandomInt(&local_1c,uVar9); + uVar9 = DAT_00c81040[uVar9]; + if (uVar9 != 0) goto LAB_0073467f; + if ((local_20 == 1) || (uVar9 = RNG::RandomInt(&local_1c,5), uVar9 == 0)) { + uVar9 = 0x37; + uVar4 = local_1c._seed; goto LAB_007346b0; } - bVar6 = (byte)local_18; - local_24 = local_10; - Seed = (int)local_1c; + bVar6 = (byte)local_1c._shift1; + local_24 = local_1c._shift3; + Seed = local_1c._seed; } } if (SuitChance != 0) { - if ((RNG)Seed == (RNG)0x0) { + if (Seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)Seed >> (bVar6 & 0x1f) ^ Seed; - uVar8 = uVar8 << ((byte)((ulonglong)local_18 >> 0x20) & 0x1f) ^ uVar8; - local_1c = (RNG)(uVar8 >> ((byte)local_24 & 0x1f) ^ uVar8); - Seed = (int)local_1c; - if (((uint)local_1c % (uint)SuitChance == 0) && - (uVar8 = (int)DAT_00c81054 - (int)DAT_00c81050 >> 2, uVar8 != 0)) { - uVar8 = RNG::RandomInt(&local_1c,uVar8); - uVar8 = DAT_00c81050[uVar8]; - if (uVar8 != 0) goto LAB_0073467f; - bVar6 = (byte)local_18; - local_24 = local_10; - Seed = (int)local_1c; + local_1c._seed = (uint)Seed >> (bVar6 & 0x1f) ^ Seed; + local_1c._seed = local_1c._seed << ((byte)local_1c._shift2 & 0x1f) ^ local_1c._seed; + local_1c._seed = (uint)local_1c._seed >> ((byte)local_24 & 0x1f) ^ local_1c._seed; + Seed = local_1c._seed; + if (((uint)local_1c._seed % (uint)SuitChance == 0) && + (uVar9 = (int)DAT_00c81054 - (int)DAT_00c81050 >> 2, uVar9 != 0)) { + uVar9 = RNG::RandomInt(&local_1c,uVar9); + uVar9 = DAT_00c81050[uVar9]; + if (uVar9 != 0) goto LAB_0073467f; + bVar6 = (byte)local_1c._shift1; + local_24 = local_1c._shift3; + Seed = local_1c._seed; } } local_28 = (int)DAT_00c81064 - (int)DAT_00c81060 >> 2; if (local_28 == 0) goto LAB_007346a1; - if ((RNG)Seed == (RNG)0x0) { + if (Seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)Seed >> (bVar6 & 0x1f) ^ Seed; - uVar8 = uVar8 << ((byte)((ulonglong)local_18 >> 0x20) & 0x1f) ^ uVar8; - RVar9 = (RNG)(uVar8 >> ((byte)local_24 & 0x1f) ^ uVar8); - uVar8 = DAT_00c81060[(uint)RVar9 % local_28]; + uVar4 = (uint)Seed >> (bVar6 & 0x1f) ^ Seed; + uVar4 = uVar4 << ((byte)local_1c._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)local_24 & 0x1f) ^ uVar4; + uVar9 = DAT_00c81060[uVar4 % local_28]; } else { if (Seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - bVar6 = (byte)local_18; - uVar8 = (uint)Seed >> (bVar6 & 0x1f) ^ Seed; - uVar8 = uVar8 << ((byte)((ulonglong)local_18 >> 0x20) & 0x1f) ^ uVar8; - Seed = uVar8 >> ((byte)local_24 & 0x1f) ^ uVar8; - local_1c = (RNG)Seed; + bVar6 = (byte)local_1c._shift1; + uVar9 = (uint)Seed >> (bVar6 & 0x1f) ^ Seed; + uVar9 = uVar9 << ((byte)local_1c._shift2 & 0x1f) ^ uVar9; + Seed = uVar9 >> ((byte)local_24 & 0x1f) ^ uVar9; + local_1c._seed = Seed; if (((uint)Seed % (uint)SpecialChance != 0) || - (uVar8 = (int)DAT_00c81034 - (int)DAT_00c81030 >> 2, uVar8 == 0)) goto LAB_00734488; - uVar8 = RNG::RandomInt(&local_1c,uVar8); - uVar8 = DAT_00c81030[uVar8]; - if (uVar8 == 0) { - local_24 = local_10; - Seed = (int)local_1c; + (uVar9 = (int)DAT_00c81034 - (int)DAT_00c81030 >> 2, uVar9 == 0)) goto LAB_00734488; + uVar9 = RNG::RandomInt(&local_1c,uVar9); + uVar9 = DAT_00c81030[uVar9]; + if (uVar9 == 0) { + local_24 = local_1c._shift3; + Seed = local_1c._seed; goto LAB_00734485; } LAB_0073467f: - bVar6 = (byte)local_18; - local_24 = local_10; - RVar9 = local_1c; + bVar6 = (byte)local_1c._shift1; + local_24 = local_1c._shift3; + uVar4 = local_1c._seed; } - uVar4 = uVar8; - if (0 < (int)uVar8) { - if (0x16 < (int)uVar8) goto LAB_007346b0; - if (RVar9 == (RNG)0x0) { + uVar8 = uVar9; + if (0 < (int)uVar9) { + if (0x16 < (int)uVar9) goto LAB_007346b0; + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar9 >> (bVar6 & 0x1f) ^ (uint)RVar9; - uVar4 = uVar4 << ((byte)((ulonglong)local_18 >> 0x20) & 0x1f) ^ uVar4; - RVar9 = (RNG)(uVar4 >> ((byte)local_24 & 0x1f) ^ uVar4); - if (RVar9 != (RNG)(((uint)RVar9 / 7) * 7)) goto LAB_007346b0; - uVar4 = uVar8 + 0x37; + uVar4 = uVar4 >> (bVar6 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)local_1c._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)local_24 & 0x1f) ^ uVar4; + if (uVar4 != (uVar4 / 7) * 7) goto LAB_007346b0; + uVar8 = uVar9 + 0x37; cVar2 = Card::IsAvailable(); if (cVar2 == '\0') goto LAB_007346b0; } - uVar8 = uVar4; - if (uVar4 == 0) { + uVar9 = uVar8; + if (uVar8 == 0) { LAB_007346a1: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"No unlocked cards/runes to pick from!\n"); @@ -463404,23 +464111,24 @@ LAB_007346b0: iVar7 = *piVar5; if (((*(int *)(iVar7 + 0x2c) == 0) && (*(char *)(iVar7 + 0x20a9) == '\0')) && (*(int *)(iVar7 + 0x13c0) == 0x1f)) { - local_18 = 0x300000006; + local_1c._shift1 = 6; + local_1c._shift2 = 3; local_28 = 0x11; - if (RVar9 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar9 >> 6 ^ (uint)RVar9; + uVar4 = uVar4 >> 6 ^ uVar4; uVar4 = uVar4 << 3 ^ uVar4; uVar4 = uVar4 >> 0x11 ^ uVar4; if (uVar4 == (uVar4 / 10) * 10) { return 0x33; } - return uVar8; + return uVar9; } } } - return uVar8; + return uVar9; } @@ -463646,9 +464354,14 @@ int __thiscall ItemPool::GetPillEffect(ItemPool *this,uint pillColor,Entity_Play } -//@@ 00734cc0 FUN_00734cc0 +//@@ 00734cc0 ItemPool::remove_deathmatch_pill_effects -void FUN_00734cc0(void) +/* DB: ? when g_game->_deathmatchManager type > 1: collects available pill effects + (PillEffect::IsAvailable) not disallowed by the deathmatch manager (vfunc +0x28), then re-rolls + disallowed entries of the 15 pill-colour slots (+0x7a4) with the pool RNG (+0x654); from + FUN_0042a4d0 */ + +void ItemPool::remove_deathmatch_pill_effects(void) { int *piVar1; @@ -463804,14 +464517,13 @@ void __thiscall ItemPool::Init(ItemPool *this,uint seed,byte *filename) undefined4 uVar3; char cVar4; uint uVar5; - RNG RVar6; - int iVar7; - void *pvVar8; - int iVar9; - int *piVar10; - Manager *pMVar11; - uint uVar12; - Game *pGVar13; + int iVar6; + void *pvVar7; + int iVar8; + int *piVar9; + Manager *pMVar10; + uint uVar11; + Game *pGVar12; int *_Src; uint *local_94; int *local_88; @@ -463835,65 +464547,67 @@ void __thiscall ItemPool::Init(ItemPool *this,uint seed,byte *filename) local_24 = __security_cookie ^ (uint)(local_34 + 0x24); ExceptionList = &local_1c; this->_seed = seed; - *(undefined8 *)&this->field_0x658 = 0x900000001; - this->_itemPoolRNG = (RNG)seed; - *(undefined4 *)&this->field_0x660 = 0x1d; + (this->_itemPoolRNG)._shift1 = 1; + (this->_itemPoolRNG)._shift2 = 9; + (this->_itemPoolRNG)._seed = seed; + (this->_itemPoolRNG)._shift3 = 0x1d; if (seed == 0) { puStack_20 = local_34 + 0x30; /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",local_24); } - uVar5 = seed >> ((byte)*(undefined4 *)&this->field_0x658 & 0x1f) ^ seed; - uVar5 = uVar5 << ((byte)*(undefined4 *)&this->field_0x65c & 0x1f) ^ uVar5; - RVar6 = (RNG)(uVar5 >> ((byte)*(undefined4 *)&this->field_0x660 & 0x1f) ^ uVar5); - this->_itemPoolRNG = RVar6; - this->_trinketPoolRNG = RVar6; - *(undefined8 *)&this->field_0x668 = 0x500000001; - *(undefined4 *)&this->field_0x670 = 0x13; - pMVar11 = g_manager; + uVar5 = seed >> ((byte)(this->_itemPoolRNG)._shift1 & 0x1f) ^ seed; + uVar5 = uVar5 << ((byte)(this->_itemPoolRNG)._shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)(this->_itemPoolRNG)._shift3 & 0x1f) ^ uVar5; + (this->_itemPoolRNG)._seed = uVar5; + (this->_trinketPoolRNG)._seed = uVar5; + (this->_trinketPoolRNG)._shift1 = 1; + (this->_trinketPoolRNG)._shift2 = 5; + (this->_trinketPoolRNG)._shift3 = 0x13; + pMVar10 = g_manager; this->_lastPool = 0; - iVar7 = (int)(pMVar11->_itemConfig)._collectibles._end - - (int)(pMVar11->_itemConfig)._collectibles._begin >> 2; - vector_bool_resize(iVar7,iVar7); - iVar7 = (int)(g_manager->_itemConfig)._collectibles._end - + iVar6 = (int)(pMVar10->_itemConfig)._collectibles._end - + (int)(pMVar10->_itemConfig)._collectibles._begin >> 2; + vector_bool_resize(iVar6,iVar6); + iVar6 = (int)(g_manager->_itemConfig)._collectibles._end - (int)(g_manager->_itemConfig)._collectibles._begin >> 2; - vector_bool_resize(iVar7,iVar7); + vector_bool_resize(iVar6,iVar6); psVar1 = &this->_trinketPoolItems; - pvVar8 = (this->_trinketPoolItems)._end; - local_64 = (int *)((int)pvVar8 - (int)psVar1->_begin >> 3); - piVar10 = (int *)((int)(g_manager->_itemConfig)._trinkets._end - - (int)(g_manager->_itemConfig)._trinkets._begin >> 2); - if (piVar10 < local_64) { - (this->_trinketPoolItems)._end = (void *)((int)psVar1->_begin + (int)piVar10 * 8); + pvVar7 = (this->_trinketPoolItems)._end; + local_64 = (int *)((int)pvVar7 - (int)psVar1->_begin >> 3); + piVar9 = (int *)((int)(g_manager->_itemConfig)._trinkets._end - + (int)(g_manager->_itemConfig)._trinkets._begin >> 2); + if (piVar9 < local_64) { + (this->_trinketPoolItems)._end = (void *)((int)psVar1->_begin + (int)piVar9 * 8); } - else if (local_64 < piVar10) { - if ((int *)((int)(this->_trinketPoolItems)._capacity - (int)psVar1->_begin >> 3) < piVar10) { - std::vector<8byte>::_Resize_reallocate(piVar10,pvVar8); + else if (local_64 < piVar9) { + if ((int *)((int)(this->_trinketPoolItems)._capacity - (int)psVar1->_begin >> 3) < piVar9) { + std::vector<8byte>::_Resize_reallocate(piVar9,pvVar7); } else { - iVar7 = (int)piVar10 - (int)local_64; - if (iVar7 != 0) { - memset(pvVar8,0,iVar7 * 8); - pvVar8 = (void *)((int)pvVar8 + iVar7 * 8); + iVar6 = (int)piVar9 - (int)local_64; + if (iVar6 != 0) { + memset(pvVar7,0,iVar6 * 8); + pvVar7 = (void *)((int)pvVar7 + iVar6 * 8); } - (this->_trinketPoolItems)._end = pvVar8; + (this->_trinketPoolItems)._end = pvVar7; } } local_6c = (int *)0x0; if ((int)(g_manager->_itemConfig)._collectibles._end - (int)(g_manager->_itemConfig)._collectibles._begin >> 2 != 0) { do { - uVar12 = (uint)local_6c >> 5; + uVar11 = (uint)local_6c >> 5; uVar5 = ~(1 << ((byte)local_6c & 0x1f)); local_6c = (int *)((int)local_6c + 1); - puVar2 = (uint *)((int)(this->_removedCollectibles)._begin + uVar12 * 4); + puVar2 = (uint *)((int)(this->_removedCollectibles)._begin + uVar11 * 4); *puVar2 = *puVar2 & uVar5; - pMVar11 = g_manager; - puVar2 = (uint *)((int)(this->_roomBlacklistedCollectibles)._begin + uVar12 * 4); + pMVar10 = g_manager; + puVar2 = (uint *)((int)(this->_roomBlacklistedCollectibles)._begin + uVar11 * 4); *puVar2 = *puVar2 & uVar5; } while (local_6c < - (uint)((int)(pMVar11->_itemConfig)._collectibles._end - - (int)(pMVar11->_itemConfig)._collectibles._begin >> 2)); + (uint)((int)(pMVar10->_itemConfig)._collectibles._end - + (int)(pMVar10->_itemConfig)._collectibles._begin >> 2)); } this->_unkFloat674 = 1.0; this->_unkFloat678 = 1.0; @@ -463920,10 +464634,11 @@ void __thiscall ItemPool::Init(ItemPool *this,uint seed,byte *filename) } ResetTrinkets(this); builtin_strncpy(local_34,"\x03\x03\x03\x03",4); - *(undefined8 *)&this[1]._pools[1].field_0x4 = 0; - *(undefined4 *)&this[1]._pools[1].field_0xc = 0; - *(undefined2 *)&this[1]._pools[1].field_0x10 = 0; - this[1]._pools[1].field_0x12 = 0; + this[1]._pools[1]._poolList._begin = (void *)0x0; + this[1]._pools[1]._poolList._end = (void *)0x0; + this[1]._pools[1]._poolList._capacity = (void *)0x0; + *(undefined2 *)&this[1]._pools[1]._rng1._seed = 0; + *(undefined1 *)((int)&this[1]._pools[1]._rng1._seed + 2) = 0; local_34[4] = '\x02'; local_34[5] = '\x01'; local_34[6] = '\0'; @@ -463951,29 +464666,29 @@ void __thiscall ItemPool::Init(ItemPool *this,uint seed,byte *filename) local_68 = (int)local_94 >> 2; local_64 = (int *)(local_68 - 1); if (0 < (int)local_64) { - piVar10 = local_64; + piVar9 = local_64; do { - RVar6 = this->_itemPoolRNG; - if (RVar6 == (RNG)0x0) { + uVar5 = (this->_itemPoolRNG)._seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> ((byte)*(undefined4 *)&this->field_0x658 & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << ((byte)*(undefined4 *)&this->field_0x65c & 0x1f) ^ uVar5; - RVar6 = (RNG)(uVar5 >> ((byte)*(undefined4 *)&this->field_0x660 & 0x1f) ^ uVar5); - this->_itemPoolRNG = RVar6; + uVar5 = uVar5 >> ((byte)(this->_itemPoolRNG)._shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)(this->_itemPoolRNG)._shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)(this->_itemPoolRNG)._shift3 & 0x1f) ^ uVar5; + (this->_itemPoolRNG)._seed = uVar5; if (local_68 == 0) { local_6c = (int *)0x0; } else { - local_6c = (int *)((uint)RVar6 % local_68); + local_6c = (int *)(uVar5 % local_68); } local_68 = local_68 - 1; - uVar3 = *(undefined4 *)((int)piVar10 * 4); - *(undefined4 *)((int)piVar10 * 4) = *(undefined4 *)((int)local_6c * 4); - piVar10 = (int *)((int)piVar10 + -1); + uVar3 = *(undefined4 *)((int)piVar9 * 4); + *(undefined4 *)((int)piVar9 * 4) = *(undefined4 *)((int)local_6c * 4); + piVar9 = (int *)((int)piVar9 + -1); *(undefined4 *)((int)local_6c * 4) = uVar3; - } while (0 < (int)piVar10); + } while (0 < (int)piVar9); } local_64 = (int *)0xe; if (local_94 == (uint *)0x0) { @@ -463986,187 +464701,188 @@ void __thiscall ItemPool::Init(ItemPool *this,uint seed,byte *filename) local_88 = (int *)0x0; local_14 = CONCAT31(local_14._1_3_,1); local_70 = 0; - pMVar11 = g_manager; + pMVar10 = g_manager; if ((int)(g_manager->_itemConfig)._pillEffects._end - (int)(g_manager->_itemConfig)._pillEffects._begin >> 2 != 0) { - pGVar13 = g_game; + pGVar12 = g_game; do { if (((int)local_70 < 0) || - ((int)(pMVar11->_itemConfig)._pillEffects._end - - (int)(pMVar11->_itemConfig)._pillEffects._begin >> 2 <= (int)local_70)) { - piVar10 = (int *)0x0; + ((int)(pMVar10->_itemConfig)._pillEffects._end - + (int)(pMVar10->_itemConfig)._pillEffects._begin >> 2 <= (int)local_70)) { + piVar9 = (int *)0x0; } else { - piVar10 = *(int **)((int)(pMVar11->_itemConfig)._pillEffects._begin + local_70 * 4); + piVar9 = *(int **)((int)(pMVar10->_itemConfig)._pillEffects._begin + local_70 * 4); } - if (pGVar13 == (Game *)0x0) { + if (pGVar12 == (Game *)0x0) { LAB_00735425: - uVar5 = piVar10[1]; + uVar5 = piVar9[1]; if (((int)uVar5 < 0) || ((uVar5 < 0x282 && - (((uVar5 == 0 || ((pMVar11->_persistentGameData)._achievements[uVar5] != 0)) || - (((pMVar11->_state == 2 && (pGVar13 != (Game *)0x0)) && - (((pGVar13->_dailyChallenge)._id != 0 || (pGVar13->_isDebug != 0)))))))))) { - local_64 = (int *)*piVar10; + (((uVar5 == 0 || ((pMVar10->_persistentGameData)._achievements[uVar5] != 0)) || + (((pMVar10->_state == 2 && (pGVar12 != (Game *)0x0)) && + (((pGVar12->_dailyChallenge)._id != 0 || (pGVar12->_isDebug != 0)))))))))) { + local_64 = (int *)*piVar9; if (local_88 == (int *)0x0) { std::vector<4byte>::_Emplace_reallocate(0,&local_64); - pMVar11 = g_manager; - pGVar13 = g_game; + pMVar10 = g_manager; + pGVar12 = g_game; } else { *local_88 = (int)local_64; local_88 = local_88 + 1; } - local_64 = (int *)piVar10[0xf]; + local_64 = (int *)piVar9[0xf]; if ((-1 < (int)local_64) && ((int)local_64 < - ((int)(pMVar11->_sfxManager)._sounds._end - (int)(pMVar11->_sfxManager)._sounds._begin + ((int)(pMVar10->_sfxManager)._sounds._end - (int)(pMVar10->_sfxManager)._sounds._begin ) / 0x1b8)) { - pvVar8 = (pMVar11->_sfxManager)._sounds._begin; - if (*(char *)((int)pvVar8 + (int)local_64 * 0x1b8 + 0x198) == '\0') { + pvVar7 = (pMVar10->_sfxManager)._sounds._begin; + if (*(char *)((int)pvVar7 + (int)local_64 * 0x1b8 + 0x198) == '\0') { /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"Preload sound %d.\n",local_64); } - *(undefined1 *)((int)pvVar8 + (int)local_64 * 0x1b8 + 0x199) = 0; + *(undefined1 *)((int)pvVar7 + (int)local_64 * 0x1b8 + 0x199) = 0; } } } else { - if ((char)piVar10[0xe] != '\0') { + if ((char)piVar9[0xe] != '\0') { LAB_007353f3: - if (1 < *(int *)&pGVar13->_deathmatchManager) { - cVar4 = (**(code **)(*(int *)(pGVar13->_deathmatchManager)._type + 0x28))(*piVar10); - pMVar11 = g_manager; - pGVar13 = g_game; + if (1 < *(int *)&pGVar12->_deathmatchManager) { + cVar4 = (**(code **)(*(int *)(pGVar12->_deathmatchManager)._type + 0x28))(*piVar9); + pMVar10 = g_manager; + pGVar12 = g_game; if (cVar4 != '\0') goto LAB_0073551e; } goto LAB_00735425; } - if (pGVar13->_difficulty != 2) { - if (pGVar13->_difficulty != 3) goto LAB_007353f3; + if (pGVar12->_difficulty != 2) { + if (pGVar12->_difficulty != 3) goto LAB_007353f3; } } LAB_0073551e: local_70 = local_70 + 1; } while (local_70 < - (uint)((int)(pMVar11->_itemConfig)._pillEffects._end - - (int)(pMVar11->_itemConfig)._pillEffects._begin >> 2)); + (uint)((int)(pMVar10->_itemConfig)._pillEffects._end - + (int)(pMVar10->_itemConfig)._pillEffects._begin >> 2)); } local_70 = (int)local_88 >> 2; local_64 = (int *)(local_70 - 1); if (0 < (int)local_64) { - piVar10 = local_64; + piVar9 = local_64; do { - RVar6 = this->_itemPoolRNG; - if (RVar6 == (RNG)0x0) { + local_68 = (this->_itemPoolRNG)._seed; + if (local_68 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> ((byte)*(undefined4 *)&this->field_0x658 & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << ((byte)*(undefined4 *)&this->field_0x65c & 0x1f) ^ uVar5; - RVar6 = (RNG)(uVar5 >> ((byte)*(undefined4 *)&this->field_0x660 & 0x1f) ^ uVar5); - this->_itemPoolRNG = RVar6; + local_68 = local_68 >> ((byte)(this->_itemPoolRNG)._shift1 & 0x1f) ^ local_68; + local_68 = local_68 << ((byte)(this->_itemPoolRNG)._shift2 & 0x1f) ^ local_68; + local_68 = local_68 >> ((byte)(this->_itemPoolRNG)._shift3 & 0x1f) ^ local_68; + (this->_itemPoolRNG)._seed = local_68; if (local_70 == 0) { local_68 = 0; } else { - local_68 = (uint)RVar6 % local_70; + local_68 = local_68 % local_70; } local_70 = local_70 - 1; - uVar3 = *(undefined4 *)((int)piVar10 * 4); - *(undefined4 *)((int)piVar10 * 4) = *(undefined4 *)(local_68 * 4); - piVar10 = (int *)((int)piVar10 + -1); + uVar3 = *(undefined4 *)((int)piVar9 * 4); + *(undefined4 *)((int)piVar9 * 4) = *(undefined4 *)(local_68 * 4); + piVar9 = (int *)((int)piVar9 + -1); *(undefined4 *)(local_68 * 4) = uVar3; - } while (0 < (int)piVar10); - pMVar11 = g_manager; + } while (0 < (int)piVar9); + pMVar10 = g_manager; } local_68 = 0; if ((int)local_94 >> 2 != 0) { do { if (((local_68 < 0xe) && (-1 < local_34[local_68])) && - (piVar10 = (int *)0x0, local_88 != (int *)0x0)) { + (piVar9 = (int *)0x0, local_88 != (int *)0x0)) { do { - iVar7 = *piVar10; - if ((iVar7 < 0) || - (pvVar8 = (pMVar11->_itemConfig)._pillEffects._begin, - (int)(pMVar11->_itemConfig)._pillEffects._end - (int)pvVar8 >> 2 <= iVar7)) { - iVar9 = 0; + iVar6 = *piVar9; + if ((iVar6 < 0) || + (pvVar7 = (pMVar10->_itemConfig)._pillEffects._begin, + (int)(pMVar10->_itemConfig)._pillEffects._end - (int)pvVar7 >> 2 <= iVar6)) { + iVar8 = 0; } else { - iVar9 = *(int *)((int)pvVar8 + iVar7 * 4); + iVar8 = *(int *)((int)pvVar7 + iVar6 * 4); } - _Src = piVar10 + 1; - if (*(char *)(iVar9 + 0x4c) == local_34[local_68]) { - *(int *)((int)this[1]._pools + *(int *)(local_68 * 4) * 4 + -4) = iVar7; + _Src = piVar9 + 1; + if (*(char *)(iVar8 + 0x4c) == local_34[local_68]) { + *(int *)((int)this[1]._pools + *(int *)(local_68 * 4) * 4 + -4) = iVar6; local_64 = _Src; goto LAB_0073570b; } - piVar10 = _Src; + piVar9 = _Src; } while (_Src != local_88); } - RVar6 = this->_itemPoolRNG; + uVar5 = (this->_itemPoolRNG)._seed; local_64 = (int *)((int)local_88 >> 2); - if (RVar6 == (RNG)0x0) { + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> ((byte)*(undefined4 *)&this->field_0x658 & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << ((byte)*(undefined4 *)&this->field_0x65c & 0x1f) ^ uVar5; - RVar6 = (RNG)(uVar5 >> ((byte)*(undefined4 *)&this->field_0x660 & 0x1f) ^ uVar5); - uVar5 = 0; - this->_itemPoolRNG = RVar6; + uVar5 = uVar5 >> ((byte)(this->_itemPoolRNG)._shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)(this->_itemPoolRNG)._shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)(this->_itemPoolRNG)._shift3 & 0x1f) ^ uVar5; + uVar11 = 0; + (this->_itemPoolRNG)._seed = uVar5; if (local_64 != (int *)0x0) { - uVar5 = (uint)RVar6 % (uint)local_64; + uVar11 = uVar5 % (uint)local_64; } - piVar10 = (int *)(uVar5 * 4); - *(int *)((int)this[1]._pools + *(int *)(local_68 * 4) * 4 + -4) = *piVar10; - _Src = piVar10 + 1; + piVar9 = (int *)(uVar11 * 4); + *(int *)((int)this[1]._pools + *(int *)(local_68 * 4) * 4 + -4) = *piVar9; + _Src = piVar9 + 1; LAB_0073570b: - memmove(piVar10,_Src,(int)local_88 - (int)_Src); + memmove(piVar9,_Src,(int)local_88 - (int)_Src); local_68 = local_68 + 1; local_88 = local_88 + -1; } while (local_68 < (uint)((int)local_94 >> 2)); } this[1]._seed = -1; local_74 = 0; - if ((int)(pMVar11->_itemConfig)._cards._end - (int)(pMVar11->_itemConfig)._cards._begin >> 2 != 0) + if ((int)(pMVar10->_itemConfig)._cards._end - (int)(pMVar10->_itemConfig)._cards._begin >> 2 != 0) { do { if (((-1 < (int)local_74) && - (pvVar8 = (pMVar11->_itemConfig)._cards._begin, - (int)local_74 < (int)(pMVar11->_itemConfig)._cards._end - (int)pvVar8 >> 2)) && - ((iVar7 = *(int *)((int)pvVar8 + local_74 * 4), iVar7 != 0 && - ((-1 < *(int *)(iVar7 + 0x5c) && - (iVar7 = *(int *)(iVar7 + 0x5c), - iVar7 < ((int)(pMVar11->_sfxManager)._sounds._end - - (int)(pMVar11->_sfxManager)._sounds._begin) / 0x1b8)))))) { - local_64 = (int *)(iVar7 * 0x1b8 + (int)(pMVar11->_sfxManager)._sounds._begin); + (pvVar7 = (pMVar10->_itemConfig)._cards._begin, + (int)local_74 < (int)(pMVar10->_itemConfig)._cards._end - (int)pvVar7 >> 2)) && + ((iVar6 = *(int *)((int)pvVar7 + local_74 * 4), iVar6 != 0 && + ((-1 < *(int *)(iVar6 + 0x5c) && + (iVar6 = *(int *)(iVar6 + 0x5c), + iVar6 < ((int)(pMVar10->_sfxManager)._sounds._end - + (int)(pMVar10->_sfxManager)._sounds._begin) / 0x1b8)))))) { + local_64 = (int *)(iVar6 * 0x1b8 + (int)(pMVar10->_sfxManager)._sounds._begin); if ((char)local_64[0x66] == '\0') { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(1,"Preload sound %d.\n",iVar7); + KAGE_LogMessage(1,"Preload sound %d.\n",iVar6); } *(undefined1 *)((int)local_64 + 0x199) = 0; } local_74 = local_74 + 1; } while (local_74 < - (uint)((int)(pMVar11->_itemConfig)._cards._end - - (int)(pMVar11->_itemConfig)._cards._begin >> 2)); + (uint)((int)(pMVar10->_itemConfig)._cards._end - + (int)(pMVar10->_itemConfig)._cards._begin >> 2)); } - *(undefined4 *)&this[1]._pools[1].field_0x14 = 0; - *(undefined4 *)&this[1]._pools[1].field_0x18 = 0; - *(undefined4 *)&this[1]._pools[1].field_0x1c = 0; - *(undefined4 *)&this[1]._pools[1].field_0x20 = 0; - *(undefined4 *)&this[1]._pools[1].field_0x24 = 0; - *(undefined4 *)&this[1]._pools[1].field_0x28 = 0; - *(undefined4 *)&this[1]._pools[1].field_0x2c = 0; + this[1]._pools[1]._rng1._shift1 = 0; + this[1]._pools[1]._rng1._shift2 = 0; + this[1]._pools[1]._rng1._shift3 = 0; + this[1]._pools[1]._rng2._seed = 0; + this[1]._pools[1]._rng2._shift1 = 0; + this[1]._pools[1]._rng2._shift2 = 0; + this[1]._pools[1]._rng2._shift3 = 0; this[1]._pools[1]._bibleUpgrade = 0; this[1]._pools[2]._totalWeight = 0.0; - *(undefined4 *)&this[1]._pools[2].field_0x4 = 0; - *(undefined4 *)&this[1]._pools[2].field_0x8 = 0; - *(undefined4 *)&this[1]._pools[2].field_0xc = 0; - *(undefined8 *)&this[1]._pools[2].field_0x10 = 0; - *(undefined4 *)&this[1]._pools[2].field_0x18 = 0; - *(undefined2 *)&this[1]._pools[2].field_0x1c = 0; + this[1]._pools[2]._poolList._begin = (void *)0x0; + this[1]._pools[2]._poolList._end = (void *)0x0; + this[1]._pools[2]._poolList._capacity = (void *)0x0; + this[1]._pools[2]._rng1._seed = 0; + this[1]._pools[2]._rng1._shift1 = 0; + this[1]._pools[2]._rng1._shift2 = 0; + *(undefined2 *)&this[1]._pools[2]._rng1._shift3 = 0; ExceptionList = local_1c; return; } @@ -464184,7 +464900,7 @@ void __thiscall ItemPool::shuffle_pools(ItemPool *this) undefined4 *puVar1; undefined4 *puVar2; undefined8 uVar3; - int iVar4; + void *pvVar4; undefined4 uVar5; undefined4 uVar6; undefined4 uVar7; @@ -464192,13 +464908,14 @@ void __thiscall ItemPool::shuffle_pools(ItemPool *this) undefined4 uVar9; undefined4 uVar10; undefined4 uVar11; - uint uVar12; + ItemPool_Item *pIVar12; uint uVar13; uint uVar14; uint uVar15; + uint uVar16; undefined1 auStack_9e8 [4]; int local_9e4; - int *local_9e0; + std_vector *local_9e0; int local_9dc; MTRNG local_9d8 [624]; undefined4 local_18; @@ -464206,51 +464923,52 @@ void __thiscall ItemPool::shuffle_pools(ItemPool *this) local_c = __security_cookie ^ (uint)auStack_9e8; local_18 = 0x271; - MTRNG::Init(local_9d8,(uint)this->_itemPoolRNG); - local_9e0 = (int *)&this->_pools[0].field_0x4; + MTRNG::Init(local_9d8,(this->_itemPoolRNG)._seed); + pIVar12 = this->_pools; local_9dc = 0x1f; do { - uVar14 = (local_9e0[1] - *local_9e0) / 0x18; - if ((1 < uVar14) && (uVar15 = uVar14 - 1, uVar15 != 0)) { - local_9e4 = uVar15 * 0x18; + local_9e0 = &pIVar12->_poolList; + uVar15 = ((int)local_9e0->_end - (int)local_9e0->_begin) / 0x18; + if ((1 < uVar15) && (uVar16 = uVar15 - 1, uVar16 != 0)) { + local_9e4 = uVar16 * 0x18; do { - uVar12 = MTRNG::Next(local_9d8); - uVar13 = 0; - if ((uVar14 == 0) || (uVar13 = uVar12 % uVar14, uVar15 != uVar13)) { - iVar4 = *local_9e0; - puVar1 = (undefined4 *)(iVar4 + uVar13 * 0x18); + uVar13 = MTRNG::Next(local_9d8); + uVar14 = 0; + if ((uVar15 == 0) || (uVar14 = uVar13 % uVar15, uVar16 != uVar14)) { + pvVar4 = local_9e0->_begin; + puVar1 = (undefined4 *)((int)pvVar4 + uVar14 * 0x18); uVar5 = puVar1[1]; uVar6 = puVar1[2]; uVar7 = puVar1[3]; - puVar2 = (undefined4 *)(iVar4 + local_9e4); + puVar2 = (undefined4 *)((int)pvVar4 + local_9e4); uVar8 = *puVar2; uVar9 = puVar2[1]; uVar10 = puVar2[2]; uVar11 = puVar2[3]; - uVar3 = *(undefined8 *)(iVar4 + 0x10 + local_9e4); - puVar2 = (undefined4 *)(iVar4 + local_9e4); + uVar3 = *(undefined8 *)((int)pvVar4 + local_9e4 + 0x10); + puVar2 = (undefined4 *)((int)pvVar4 + local_9e4); *puVar2 = *puVar1; puVar2[1] = uVar5; puVar2[2] = uVar6; puVar2[3] = uVar7; - puVar1 = (undefined4 *)(iVar4 + 0x10 + uVar13 * 0x18); + puVar1 = (undefined4 *)((int)pvVar4 + uVar14 * 0x18 + 0x10); uVar5 = puVar1[1]; - puVar2 = (undefined4 *)(iVar4 + 0x10 + local_9e4); + puVar2 = (undefined4 *)((int)pvVar4 + local_9e4 + 0x10); *puVar2 = *puVar1; puVar2[1] = uVar5; - puVar1 = (undefined4 *)(iVar4 + uVar13 * 0x18); + puVar1 = (undefined4 *)((int)pvVar4 + uVar14 * 0x18); *puVar1 = uVar8; puVar1[1] = uVar9; puVar1[2] = uVar10; puVar1[3] = uVar11; - *(undefined8 *)(iVar4 + 0x10 + uVar13 * 0x18) = uVar3; + *(undefined8 *)((int)pvVar4 + uVar14 * 0x18 + 0x10) = uVar3; } local_9e4 = local_9e4 + -0x18; - uVar14 = uVar14 - 1; uVar15 = uVar15 - 1; - } while (uVar15 != 0); + uVar16 = uVar16 - 1; + } while (uVar16 != 0); } - local_9e0 = local_9e0 + 0xd; + pIVar12 = (ItemPool_Item *)(local_9e0 + 4); local_9dc = local_9dc + -1; } while (local_9dc != 0); return; @@ -464274,26 +464992,24 @@ void __thiscall ItemPool::load_pools(ItemPool *this,byte *xmlpath,byte ismod) ItemPool *pIVar4; byte bVar5; uint uVar6; - RNG RVar7; - int *piVar8; - uint *puVar9; - char *****pppppcVar10; - int iVar11; - char ****ppppcVar12; - int *piVar13; - char *****pppppcVar14; - char *pcVar15; + int *piVar7; + uint *puVar8; + char ******ppppppcVar9; + int iVar10; + char *****pppppcVar11; + int *piVar12; + char ******ppppppcVar13; + char *pcVar14; + byte *pbVar15; byte *pbVar16; - byte *pbVar17; - char ****ppppcVar18; - char *pcVar19; + char *****pppppcVar17; + char *pcVar18; int extraout_EDX; - undefined8 *puVar20; - undefined4 *puVar21; - int iVar22; - bool bVar23; - double dVar24; - undefined4 uVar25; + undefined4 *puVar19; + int iVar20; + bool bVar21; + double dVar22; + undefined4 uVar23; undefined1 auStack_10100 [8]; int *piStack_100f8; undefined1 auStack_100f4 [8]; @@ -464316,9 +465032,9 @@ void __thiscall ItemPool::load_pools(ItemPool *this,byte *xmlpath,byte ismod) undefined4 *puStack_100b4; int *piStack_100b0; int *piStack_100ac; - char *****pppppcStack_100a8; + char ******ppppppcStack_100a8; ItemPool *pIStack_100a4; - char *****local_54 [4]; + char ******local_54 [4]; undefined4 local_44; uint local_40; int local_3c [4]; @@ -464339,56 +465055,56 @@ void __thiscall ItemPool::load_pools(ItemPool *this,byte *xmlpath,byte ismod) pbStack_100b8 = xmlpath; pIStack_100a4 = this; if (ismod == 0) { - puVar20 = (undefined8 *)&this->_pools[0].field_0x14; - iVar22 = 0x1f; + piVar7 = &this->_pools[0]._rng1._shift1; + iVar20 = 0x1f; do { - *(undefined4 *)((int)puVar20 + -0xc) = *(undefined4 *)(puVar20 + -2); - *(undefined4 *)((int)puVar20 + -0x14) = 0; - RVar7 = this->_itemPoolRNG; - if (RVar7 == (RNG)0x0) { + piVar7[-3] = piVar7[-4]; + piVar7[-5] = 0; + uVar6 = (this->_itemPoolRNG)._seed; + if (uVar6 == 0) { puStack_20 = (undefined1 *)(local_3c + 0xe); /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",local_24); } - uVar6 = (uint)RVar7 >> ((byte)*(undefined4 *)&this->field_0x658 & 0x1f) ^ (uint)RVar7; - uVar6 = uVar6 << ((byte)*(undefined4 *)&this->field_0x65c & 0x1f) ^ uVar6; - RVar7 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&this->field_0x660 & 0x1f) ^ uVar6); - this->_itemPoolRNG = RVar7; - *(RNG *)((int)puVar20 + -4) = RVar7; - *puVar20 = 0x900000005; - *(undefined4 *)(puVar20 + 1) = 7; - RVar7 = this->_itemPoolRNG; - if (RVar7 == (RNG)0x0) { + uVar6 = uVar6 >> ((byte)(this->_itemPoolRNG)._shift1 & 0x1f) ^ uVar6; + uVar6 = uVar6 << ((byte)(this->_itemPoolRNG)._shift2 & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)(this->_itemPoolRNG)._shift3 & 0x1f) ^ uVar6; + (this->_itemPoolRNG)._seed = uVar6; + ((RNG *)(piVar7 + -1))->_seed = uVar6; + *(undefined8 *)piVar7 = 0x900000005; + piVar7[2] = 7; + uVar6 = (this->_itemPoolRNG)._seed; + if (uVar6 == 0) { puStack_20 = (undefined1 *)(local_3c + 0xe); /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",local_24); } - uVar6 = (uint)RVar7 >> ((byte)*(undefined4 *)&this->field_0x658 & 0x1f) ^ (uint)RVar7; - uVar6 = uVar6 << ((byte)*(undefined4 *)&this->field_0x65c & 0x1f) ^ uVar6; - RVar7 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&this->field_0x660 & 0x1f) ^ uVar6); - this->_itemPoolRNG = RVar7; - *(RNG *)((int)puVar20 + 0xc) = RVar7; - puVar20[2] = 0x900000005; - *(undefined4 *)(puVar20 + 3) = 7; - *(undefined4 *)((int)puVar20 + 0x1c) = 0; - puVar20 = (undefined8 *)((int)puVar20 + 0x34); - iVar22 = iVar22 + -1; - } while (iVar22 != 0); + uVar6 = uVar6 >> ((byte)(this->_itemPoolRNG)._shift1 & 0x1f) ^ uVar6; + uVar6 = uVar6 << ((byte)(this->_itemPoolRNG)._shift2 & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)(this->_itemPoolRNG)._shift3 & 0x1f) ^ uVar6; + (this->_itemPoolRNG)._seed = uVar6; + piVar7[3] = uVar6; + *(undefined8 *)(piVar7 + 4) = 0x900000005; + piVar7[6] = 7; + piVar7[7] = 0; + piVar7 = piVar7 + 0xd; + iVar20 = iVar20 + -1; + } while (iVar20 != 0); } - piVar8 = (int *)FileSystem::Open(xmlpath,0); - if (piVar8 != (int *)0x0) { - iVar22 = (**(code **)(*piVar8 + 4))(); + piVar7 = (int *)FileSystem::Open(xmlpath,0); + if (piVar7 != (int *)0x0) { + iVar20 = (**(code **)(*piVar7 + 4))(); iStack_100c4 = operator_new_tracked(); - (**(code **)(*piVar8 + 0x14))(iStack_100c4,1,iVar22); - *(undefined1 *)(iStack_100c4 + iVar22) = 0; - (**(code **)*piVar8)(1); + (**(code **)(*piVar7 + 0x14))(iStack_100c4,1,iVar20); + *(undefined1 *)(iStack_100c4 + iVar20) = 0; + (**(code **)*piVar7)(1); FUN_00413b90(); local_14 = 0; - uVar25 = 0x735c38; - iVar22 = iStack_100c4; + uVar23 = 0x735c38; + iVar20 = iStack_100c4; rapidxml::xml_document::parse(iStack_100c4); - pppppcStack_100a8 = (char *****)xml_node::first_node("ItemPools",uVar25,iVar22); - if (pppppcStack_100a8 == (char *****)0x0) { + ppppppcStack_100a8 = (char ******)xml_node::first_node("ItemPools",uVar23,iVar20); + if (ppppppcStack_100a8 == (char ******)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Could not find root node \'ItemPools\' in %s\n",pbStack_100b8); } @@ -464402,133 +465118,133 @@ void __thiscall ItemPool::load_pools(ItemPool *this,byte *xmlpath,byte ismod) local_14._0_1_ = 1; uVar6 = 0; do { - pcVar19 = (&PTR_s_treasure_00b1f3d0)[uVar6]; + pcVar18 = (&PTR_s_treasure_00b1f3d0)[uVar6]; local_2c = 0; local_28 = 0xf; local_3c[0] = 0; - pcVar15 = pcVar19; + pcVar14 = pcVar18; do { - cVar1 = *pcVar15; - pcVar15 = pcVar15 + 1; + cVar1 = *pcVar14; + pcVar14 = pcVar14 + 1; } while (cVar1 != '\0'); - std::string::assign(pcVar19,(int)pcVar15 - (int)(pcVar19 + 1)); - piVar8 = local_3c; + std::string::assign(pcVar18,(int)pcVar14 - (int)(pcVar18 + 1)); + piVar7 = local_3c; local_14._0_1_ = 2; - iVar22 = 0x735cfb; - puVar9 = (uint *)FUN_0069d630(piVar8); + iVar20 = 0x735cfb; + puVar8 = (uint *)FUN_0069d630(piVar7); local_14._0_1_ = 1; - *puVar9 = uVar6; + *puVar8 = uVar6; if (0xf < local_28) { - piVar8 = (int *)(local_28 + 1); - iVar22 = local_3c[0]; - if ((int *)0xfff < piVar8) { - iVar22 = *(int *)(local_3c[0] + -4); - piVar8 = (int *)(local_28 + 0x24); - if (0x1f < (local_3c[0] - iVar22) - 4U) goto LAB_00735d8b; + piVar7 = (int *)(local_28 + 1); + iVar20 = local_3c[0]; + if ((int *)0xfff < piVar7) { + iVar20 = *(int *)(local_3c[0] + -4); + piVar7 = (int *)(local_28 + 0x24); + if (0x1f < (local_3c[0] - iVar20) - 4U) goto LAB_00735d8b; } - operator_delete(iVar22,piVar8); + operator_delete(iVar20,piVar7); } uVar6 = uVar6 + 1; } while (uVar6 < 0x1f); - for (pbStack_100b8 = (byte *)xml_node::first_node(&DAT_00b6a1dc,iVar22,piVar8); + for (pbStack_100b8 = (byte *)xml_node::first_node(&DAT_00b6a1dc,iVar20,piVar7); pbStack_100b8 != (byte *)0x0; pbStack_100b8 = *(byte **)(pbStack_100b8 + 0x2c)) { - pcVar19 = "Name"; + pcVar18 = "Name"; do { - pcVar15 = pcVar19; - pcVar19 = pcVar15 + 1; - } while (*pcVar19 != '\0'); - pppppcStack_100a8 = (char *****)(pcVar15 + -0xb1b34f); - for (puVar21 = *(undefined4 **)(pbStack_100b8 + 0x20); puVar21 != (undefined4 *)0x0; - puVar21 = (undefined4 *)puVar21[6]) { - pbVar16 = (byte *)*puVar21; - if (pbVar16 == (byte *)0x0) { - pppppcVar10 = (char *****)0x0; - pbVar16 = &g_xmlNullStr; + pcVar14 = pcVar18; + pcVar18 = pcVar14 + 1; + } while (*pcVar18 != '\0'); + ppppppcStack_100a8 = (char ******)(pcVar14 + -0xb1b34f); + for (puVar19 = *(undefined4 **)(pbStack_100b8 + 0x20); puVar19 != (undefined4 *)0x0; + puVar19 = (undefined4 *)puVar19[6]) { + pbVar15 = (byte *)*puVar19; + if (pbVar15 == (byte *)0x0) { + ppppppcVar9 = (char ******)0x0; + pbVar15 = &g_xmlNullStr; } else { - pppppcVar10 = (char *****)puVar21[2]; + ppppppcVar9 = (char ******)puVar19[2]; } - if (pppppcVar10 == pppppcStack_100a8) { - pbVar17 = (byte *)((int)pppppcVar10 + (int)pbVar16); - if (pbVar17 <= pbVar16) goto LAB_00735dcd; - iVar22 = (int)&DAT_00b1b350 - (int)pbVar16; - while (*pbVar16 == pbVar16[iVar22]) { - pbVar16 = pbVar16 + 1; - if (pbVar17 <= pbVar16) goto LAB_00735dcd; + if (ppppppcVar9 == ppppppcStack_100a8) { + pbVar16 = (byte *)((int)ppppppcVar9 + (int)pbVar15); + if (pbVar16 <= pbVar15) goto LAB_00735dcd; + iVar20 = (int)&DAT_00b1b350 - (int)pbVar15; + while (*pbVar15 == pbVar15[iVar20]) { + pbVar15 = pbVar15 + 1; + if (pbVar16 <= pbVar15) goto LAB_00735dcd; } } } - puVar21 = (undefined4 *)0x0; + puVar19 = (undefined4 *)0x0; LAB_00735dcd: - if (puVar21 != (undefined4 *)0x0) { + if (puVar19 != (undefined4 *)0x0) { local_44 = 0; - pbVar16 = &g_xmlNullStr; - if ((byte *)puVar21[1] != (byte *)0x0) { - pbVar16 = (byte *)puVar21[1]; + pbVar15 = &g_xmlNullStr; + if ((byte *)puVar19[1] != (byte *)0x0) { + pbVar15 = (byte *)puVar19[1]; } local_40 = 0xf; - local_54[0] = (char *****)0x0; - pbVar17 = pbVar16; + local_54[0] = (char ******)0x0; + pbVar16 = pbVar15; do { - bVar5 = *pbVar17; - pbVar17 = pbVar17 + 1; + bVar5 = *pbVar16; + pbVar16 = pbVar16 + 1; } while (bVar5 != 0); - std::string::assign(pbVar16,(int)pbVar17 - (int)(pbVar16 + 1)); + std::string::assign(pbVar15,(int)pbVar16 - (int)(pbVar15 + 1)); local_14 = CONCAT31(local_14._1_3_,3); std::map::_Find_lower_bound(auStack_100f4,local_54); - pppppcVar10 = local_54[0]; - iVar22 = iStack_100ec; - pppppcStack_100a8 = local_54[0]; + ppppppcVar9 = local_54[0]; + iVar20 = iStack_100ec; + ppppppcStack_100a8 = local_54[0]; if (*(char *)(iStack_100ec + 0xd) != '\0') { LAB_0073644b: - pppppcVar14 = (char *****)local_54; + ppppppcVar13 = (char ******)local_54; if (0xf < local_40) { - pppppcVar14 = pppppcVar10; + ppppppcVar13 = ppppppcVar9; } /* WARNING: Subroutine does not return */ - KAGE_LogMessage(1,"Pool %s not found, please recheck config or item pool list",pppppcVar14 - ); + KAGE_LogMessage(1,"Pool %s not found, please recheck config or item pool list", + ppppppcVar13); } - piVar8 = (int *)(iStack_100ec + 0x10); + piVar7 = (int *)(iStack_100ec + 0x10); if (0xf < *(uint *)(iStack_100ec + 0x24)) { - piVar8 = (int *)*piVar8; + piVar7 = (int *)*piVar7; } - iVar11 = string_compare(piVar8,*(undefined4 *)(iStack_100ec + 0x20)); - if ((iVar11 < 0) || (iVar22 == iStack_100c0)) goto LAB_0073644b; - iStack_100e0 = *(int *)(iVar22 + 0x28) * 0x34; - pcVar19 = "Item"; + iVar10 = string_compare(piVar7,*(undefined4 *)(iStack_100ec + 0x20)); + if ((iVar10 < 0) || (iVar20 == iStack_100c0)) goto LAB_0073644b; + iStack_100e0 = *(int *)(iVar20 + 0x28) * 0x34; + pcVar18 = "Item"; do { - pcVar15 = pcVar19; - pcVar19 = pcVar15 + 1; - } while (*pcVar19 != '\0'); + pcVar14 = pcVar18; + pcVar18 = pcVar14 + 1; + } while (*pcVar18 != '\0'); for (puStack_100b4 = *(undefined4 **)(pbStack_100b8 + 0x18); puStack_100b4 != (undefined4 *)0x0; puStack_100b4 = (undefined4 *)puStack_100b4[0xb]) { - pbVar16 = (byte *)*puStack_100b4; - if (pbVar16 == (byte *)0x0) { - pcVar19 = (char *)0x0; - pbVar16 = &g_xmlNullStr; + pbVar15 = (byte *)*puStack_100b4; + if (pbVar15 == (byte *)0x0) { + pcVar18 = (char *)0x0; + pbVar15 = &g_xmlNullStr; } else { - pcVar19 = (char *)puStack_100b4[2]; + pcVar18 = (char *)puStack_100b4[2]; } - if (pcVar19 == pcVar15 + -0xb677ff) { - pbVar17 = (byte *)(pcVar19 + (int)pbVar16); - if (pbVar17 <= pbVar16) goto LAB_00735f03; - iVar22 = (int)&DAT_00b67800 - (int)pbVar16; - while (*pbVar16 == pbVar16[iVar22]) { - pbVar16 = pbVar16 + 1; - if (pbVar17 <= pbVar16) goto LAB_00735f03; + if (pcVar18 == pcVar14 + -0xb677ff) { + pbVar16 = (byte *)(pcVar18 + (int)pbVar15); + if (pbVar16 <= pbVar15) goto LAB_00735f03; + iVar20 = (int)&DAT_00b67800 - (int)pbVar15; + while (*pbVar15 == pbVar15[iVar20]) { + pbVar15 = pbVar15 + 1; + if (pbVar16 <= pbVar15) goto LAB_00735f03; } } } puStack_100b4 = (undefined4 *)0x0; LAB_00735f03: if (puStack_100b4 == (undefined4 *)0x0) { - pppppcVar10 = pppppcStack_100a8; + ppppppcVar9 = ppppppcStack_100a8; } else { do { - pppppcVar10 = (char *****)puStack_100b4[8]; + ppppppcVar9 = (char ******)puStack_100b4[8]; uStack_100dc = 0; uStack_100c8 = 0; fStack_100d8 = 1.0; @@ -464536,159 +465252,159 @@ LAB_00735f03: fStack_100d0 = 0.5; fStack_100cc = 0.1; pMVar3 = g_manager; - piVar8 = piStack_100b0; + piVar7 = piStack_100b0; while( true ) { g_manager = pMVar3; - piStack_100b0 = piVar8; - pppppcStack_100a8 = pppppcVar10; - if (pppppcVar10 == (char *****)0x0) break; - ppppcVar18 = *pppppcVar10; - pbVar16 = &DAT_00b1b324; - ppppcVar12 = (char ****)&g_xmlNullStr; - if (ppppcVar18 != (char ****)0x0) { - ppppcVar12 = ppppcVar18; + piStack_100b0 = piVar7; + ppppppcStack_100a8 = ppppppcVar9; + if (ppppppcVar9 == (char ******)0x0) break; + pppppcVar17 = *ppppppcVar9; + pbVar15 = &DAT_00b1b324; + pppppcVar11 = (char *****)&g_xmlNullStr; + if (pppppcVar17 != (char *****)0x0) { + pppppcVar11 = pppppcVar17; } do { - bVar5 = *(byte *)ppppcVar12; - bVar23 = bVar5 < *pbVar16; - if (bVar5 != *pbVar16) { + bVar5 = *(byte *)pppppcVar11; + bVar21 = bVar5 < *pbVar15; + if (bVar5 != *pbVar15) { LAB_00735f71: - uVar6 = -(uint)bVar23 | 1; + uVar6 = -(uint)bVar21 | 1; goto LAB_00735f76; } if (bVar5 == 0) break; - bVar5 = *(byte *)((int)ppppcVar12 + 1); - bVar23 = bVar5 < pbVar16[1]; - if (bVar5 != pbVar16[1]) goto LAB_00735f71; - ppppcVar12 = (char ****)((int)ppppcVar12 + 2); - pbVar16 = pbVar16 + 2; + bVar5 = *(byte *)((int)pppppcVar11 + 1); + bVar21 = bVar5 < pbVar15[1]; + if (bVar5 != pbVar15[1]) goto LAB_00735f71; + pppppcVar11 = (char *****)((int)pppppcVar11 + 2); + pbVar15 = pbVar15 + 2; } while (bVar5 != 0); uVar6 = 0; LAB_00735f76: if (uVar6 == 0) { - ppppcVar18 = (char ****)&g_xmlNullStr; - if (pppppcVar10[1] != (char ****)0x0) { - ppppcVar18 = pppppcVar10[1]; + pppppcVar17 = (char *****)&g_xmlNullStr; + if (ppppppcVar9[1] != (char *****)0x0) { + pppppcVar17 = ppppppcVar9[1]; } - uStack_100dc = atoi((char *)ppppcVar18); + uStack_100dc = atoi((char *)pppppcVar17); } else { - pcVar19 = "Weight"; - ppppcVar12 = (char ****)&g_xmlNullStr; - if (ppppcVar18 != (char ****)0x0) { - ppppcVar12 = ppppcVar18; + pcVar18 = "Weight"; + pppppcVar11 = (char *****)&g_xmlNullStr; + if (pppppcVar17 != (char *****)0x0) { + pppppcVar11 = pppppcVar17; } do { - bVar5 = *(byte *)ppppcVar12; - bVar23 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) { + bVar5 = *(byte *)pppppcVar11; + bVar21 = bVar5 < (byte)*pcVar18; + if (bVar5 != *pcVar18) { LAB_00735fd0: - uVar6 = -(uint)bVar23 | 1; + uVar6 = -(uint)bVar21 | 1; goto LAB_00735fd5; } if (bVar5 == 0) break; - bVar5 = *(byte *)((int)ppppcVar12 + 1); - bVar23 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_00735fd0; - ppppcVar12 = (char ****)((int)ppppcVar12 + 2); - pcVar19 = pcVar19 + 2; + bVar5 = *(byte *)((int)pppppcVar11 + 1); + bVar21 = bVar5 < (byte)pcVar18[1]; + if (bVar5 != pcVar18[1]) goto LAB_00735fd0; + pppppcVar11 = (char *****)((int)pppppcVar11 + 2); + pcVar18 = pcVar18 + 2; } while (bVar5 != 0); uVar6 = 0; LAB_00735fd5: if (uVar6 == 0) { - ppppcVar18 = (char ****)&g_xmlNullStr; - if (pppppcVar10[1] != (char ****)0x0) { - ppppcVar18 = pppppcVar10[1]; + pppppcVar17 = (char *****)&g_xmlNullStr; + if (ppppppcVar9[1] != (char *****)0x0) { + pppppcVar17 = ppppppcVar9[1]; } - dVar24 = atof((char *)ppppcVar18); - fStack_100d8 = (float)dVar24; + dVar22 = atof((char *)pppppcVar17); + fStack_100d8 = (float)dVar22; fStack_100d4 = fStack_100d8; - piVar8 = piStack_100b0; + piVar7 = piStack_100b0; } else { - pcVar19 = "DecreaseBy"; - ppppcVar12 = (char ****)&g_xmlNullStr; - if (ppppcVar18 != (char ****)0x0) { - ppppcVar12 = ppppcVar18; + pcVar18 = "DecreaseBy"; + pppppcVar11 = (char *****)&g_xmlNullStr; + if (pppppcVar17 != (char *****)0x0) { + pppppcVar11 = pppppcVar17; } do { - bVar5 = *(byte *)ppppcVar12; - bVar23 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) { + bVar5 = *(byte *)pppppcVar11; + bVar21 = bVar5 < (byte)*pcVar18; + if (bVar5 != *pcVar18) { LAB_00736040: - uVar6 = -(uint)bVar23 | 1; + uVar6 = -(uint)bVar21 | 1; goto LAB_00736045; } if (bVar5 == 0) break; - bVar5 = *(byte *)((int)ppppcVar12 + 1); - bVar23 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_00736040; - pcVar19 = pcVar19 + 2; - ppppcVar12 = (char ****)((int)ppppcVar12 + 2); + bVar5 = *(byte *)((int)pppppcVar11 + 1); + bVar21 = bVar5 < (byte)pcVar18[1]; + if (bVar5 != pcVar18[1]) goto LAB_00736040; + pcVar18 = pcVar18 + 2; + pppppcVar11 = (char *****)((int)pppppcVar11 + 2); } while (bVar5 != 0); uVar6 = 0; LAB_00736045: if (uVar6 == 0) { - ppppcVar18 = (char ****)&g_xmlNullStr; - if (pppppcVar10[1] != (char ****)0x0) { - ppppcVar18 = pppppcVar10[1]; + pppppcVar17 = (char *****)&g_xmlNullStr; + if (ppppppcVar9[1] != (char *****)0x0) { + pppppcVar17 = ppppppcVar9[1]; } - dVar24 = atof((char *)ppppcVar18); - fStack_100d0 = (float)dVar24; - piVar8 = piStack_100b0; + dVar22 = atof((char *)pppppcVar17); + fStack_100d0 = (float)dVar22; + piVar7 = piStack_100b0; } else { - pcVar19 = "RemoveOn"; - ppppcVar12 = (char ****)&g_xmlNullStr; - if (ppppcVar18 != (char ****)0x0) { - ppppcVar12 = ppppcVar18; + pcVar18 = "RemoveOn"; + pppppcVar11 = (char *****)&g_xmlNullStr; + if (pppppcVar17 != (char *****)0x0) { + pppppcVar11 = pppppcVar17; } do { - bVar5 = *(byte *)ppppcVar12; - bVar23 = bVar5 < (byte)*pcVar19; - if (bVar5 != *pcVar19) { + bVar5 = *(byte *)pppppcVar11; + bVar21 = bVar5 < (byte)*pcVar18; + if (bVar5 != *pcVar18) { LAB_007360a0: - uVar6 = -(uint)bVar23 | 1; + uVar6 = -(uint)bVar21 | 1; goto LAB_007360a5; } if (bVar5 == 0) break; - bVar5 = *(byte *)((int)ppppcVar12 + 1); - bVar23 = bVar5 < (byte)pcVar19[1]; - if (bVar5 != pcVar19[1]) goto LAB_007360a0; - pcVar19 = pcVar19 + 2; - ppppcVar12 = (char ****)((int)ppppcVar12 + 2); + bVar5 = *(byte *)((int)pppppcVar11 + 1); + bVar21 = bVar5 < (byte)pcVar18[1]; + if (bVar5 != pcVar18[1]) goto LAB_007360a0; + pcVar18 = pcVar18 + 2; + pppppcVar11 = (char *****)((int)pppppcVar11 + 2); } while (bVar5 != 0); uVar6 = 0; LAB_007360a5: if (uVar6 == 0) { - ppppcVar18 = (char ****)&g_xmlNullStr; - if (pppppcVar10[1] != (char ****)0x0) { - ppppcVar18 = pppppcVar10[1]; + pppppcVar17 = (char *****)&g_xmlNullStr; + if (ppppppcVar9[1] != (char *****)0x0) { + pppppcVar17 = ppppppcVar9[1]; } - dVar24 = atof((char *)ppppcVar18); - fStack_100cc = (float)dVar24; - piVar8 = piStack_100b0; + dVar22 = atof((char *)pppppcVar17); + fStack_100cc = (float)dVar22; + piVar7 = piStack_100b0; } else { - pbVar16 = &DAT_00b1b350; - ppppcVar12 = (char ****)&g_xmlNullStr; - if (ppppcVar18 != (char ****)0x0) { - ppppcVar12 = ppppcVar18; + pbVar15 = &DAT_00b1b350; + pppppcVar11 = (char *****)&g_xmlNullStr; + if (pppppcVar17 != (char *****)0x0) { + pppppcVar11 = pppppcVar17; } do { - bVar5 = *(byte *)ppppcVar12; - bVar23 = bVar5 < *pbVar16; - if (bVar5 != *pbVar16) { + bVar5 = *(byte *)pppppcVar11; + bVar21 = bVar5 < *pbVar15; + if (bVar5 != *pbVar15) { LAB_00736100: - piStack_100b0 = (int *)(-(uint)bVar23 | 1); + piStack_100b0 = (int *)(-(uint)bVar21 | 1); goto LAB_00736105; } if (bVar5 == 0) break; - bVar5 = *(byte *)((int)ppppcVar12 + 1); - bVar23 = bVar5 < pbVar16[1]; - if (bVar5 != pbVar16[1]) goto LAB_00736100; - pbVar16 = pbVar16 + 2; - ppppcVar12 = (char ****)((int)ppppcVar12 + 2); + bVar5 = *(byte *)((int)pppppcVar11 + 1); + bVar21 = bVar5 < pbVar15[1]; + if (bVar5 != pbVar15[1]) goto LAB_00736100; + pbVar15 = pbVar15 + 2; + pppppcVar11 = (char *****)((int)pppppcVar11 + 2); } while (bVar5 != 0); piStack_100b0 = (int *)0x0; LAB_00736105: @@ -464702,30 +465418,30 @@ LAB_00736105: piStack_100b0[2] = (int)piStack_100b0; *(undefined2 *)(piStack_100b0 + 3) = 0x101; local_14._0_1_ = 4; - iVar22 = FUN_00738040(*(undefined4 *) + iVar20 = FUN_00738040(*(undefined4 *) ((int)(pMVar3->_itemConfig)._collectibleNameMap._head + 4),piStack_100b0,iStack_100e0); - piStack_100b0[1] = iVar22; + piStack_100b0[1] = iVar20; piStack_100ac = (int *)(pMVar3->_itemConfig)._collectibleNameMap._size; - piVar8 = (int *)piStack_100b0[1]; - if (*(char *)((int)piVar8 + 0xd) == '\0') { - cVar1 = *(char *)(*piVar8 + 0xd); - piVar13 = (int *)*piVar8; + piVar7 = (int *)piStack_100b0[1]; + if (*(char *)((int)piVar7 + 0xd) == '\0') { + cVar1 = *(char *)(*piVar7 + 0xd); + piVar12 = (int *)*piVar7; while (cVar1 == '\0') { - cVar1 = *(char *)(*piVar13 + 0xd); - piVar8 = piVar13; - piVar13 = (int *)*piVar13; + cVar1 = *(char *)(*piVar12 + 0xd); + piVar7 = piVar12; + piVar12 = (int *)*piVar12; } - *piStack_100b0 = (int)piVar8; - iVar22 = *(int *)(piStack_100b0[1] + 8); - cVar1 = *(char *)(iVar22 + 0xd); - iVar11 = piStack_100b0[1]; + *piStack_100b0 = (int)piVar7; + iVar20 = *(int *)(piStack_100b0[1] + 8); + cVar1 = *(char *)(iVar20 + 0xd); + iVar10 = piStack_100b0[1]; while (cVar1 == '\0') { - cVar1 = *(char *)(*(int *)(iVar22 + 8) + 0xd); - iVar11 = iVar22; - iVar22 = *(int *)(iVar22 + 8); + cVar1 = *(char *)(*(int *)(iVar20 + 8) + 0xd); + iVar10 = iVar20; + iVar20 = *(int *)(iVar20 + 8); } - piStack_100b0[2] = iVar11; + piStack_100b0[2] = iVar10; } else { *piStack_100b0 = (int)piStack_100b0; @@ -464734,67 +465450,67 @@ LAB_00736105: ppiStack_100e4 = (int **)0x0; local_14._0_1_ = 5; local_3c[0] = 0; - ppppcVar18 = (char ****)&g_xmlNullStr; - if (pppppcVar10[1] != (char ****)0x0) { - ppppcVar18 = pppppcVar10[1]; + pppppcVar17 = (char *****)&g_xmlNullStr; + if (ppppppcVar9[1] != (char *****)0x0) { + pppppcVar17 = ppppppcVar9[1]; } local_2c = 0; local_28 = 0xf; - ppppcVar12 = ppppcVar18; + pppppcVar11 = pppppcVar17; do { - bVar5 = *(byte *)ppppcVar12; - ppppcVar12 = (char ****)((int)ppppcVar12 + 1); + bVar5 = *(byte *)pppppcVar11; + pppppcVar11 = (char *****)((int)pppppcVar11 + 1); } while (bVar5 != 0); - std::string::assign(ppppcVar18,(int)ppppcVar12 - (int)((int)ppppcVar18 + 1)) - ; + std::string::assign(pppppcVar17, + (int)pppppcVar11 - (int)((int)pppppcVar17 + 1)); std::map::_Find_lower_bound(auStack_10100,local_3c); - iVar22 = local_3c[0]; - piVar8 = piStack_100f8; + iVar20 = local_3c[0]; + piVar7 = piStack_100f8; if (*(char *)((int)piStack_100f8 + 0xd) == '\0') { - piVar13 = piStack_100f8 + 4; + piVar12 = piStack_100f8 + 4; if (0xf < (uint)piStack_100f8[9]) { - piVar13 = (int *)*piVar13; + piVar12 = (int *)*piVar12; } - iVar11 = string_compare(piVar13,piStack_100f8[8]); - if ((-1 < iVar11) && (piVar8 != piStack_100b0)) { - uStack_100dc = piVar8[10]; + iVar10 = string_compare(piVar12,piStack_100f8[8]); + if ((-1 < iVar10) && (piVar7 != piStack_100b0)) { + uStack_100dc = piVar7[10]; } } if (0xf < local_28) { uVar6 = local_28 + 1; - iVar11 = iVar22; + iVar10 = iVar20; if (0xfff < uVar6) { - iVar11 = *(int *)(iVar22 + -4); + iVar10 = *(int *)(iVar20 + -4); uVar6 = local_28 + 0x24; - if (0x1f < (iVar22 - iVar11) - 4U) goto LAB_00735d8b; + if (0x1f < (iVar20 - iVar10) - 4U) goto LAB_00735d8b; } - operator_delete(iVar11,uVar6); + operator_delete(iVar10,uVar6); } local_14 = CONCAT31(local_14._1_3_,3); FUN_004235c0(&piStack_100b0,piStack_100b0[1]); operator_delete(piStack_100b0,0x2c); - pppppcVar10 = pppppcStack_100a8; - piVar8 = piStack_100b0; + ppppppcVar9 = ppppppcStack_100a8; + piVar7 = piStack_100b0; } } } } - piStack_100b0 = piVar8; + piStack_100b0 = piVar7; } - if (pppppcVar10[4] == (char ****)0x0) break; - pppppcVar10 = (char *****)pppppcVar10[6]; + if (ppppppcVar9[4] == (char *****)0x0) break; + ppppppcVar9 = (char ******)ppppppcVar9[6]; pMVar3 = g_manager; - piVar8 = piStack_100b0; + piVar7 = piStack_100b0; } if (g_game == (Game *)0x0) { if (-1 < (int)uStack_100dc) goto LAB_00736343; LAB_00736382: - iVar22 = 0; + iVar20 = 0; LAB_00736384: - if (iVar22 == 0) goto LAB_00736398; + if (iVar20 == 0) goto LAB_00736398; LAB_00736388: uStack_100c7 = 1; - if (*(char *)(iVar22 + 0xb0) == '\0') goto LAB_00736398; + if (*(char *)(iVar20 + 0xb0) == '\0') goto LAB_00736398; } else { if ((int)uStack_100dc < 0) { @@ -464803,10 +465519,10 @@ LAB_00736388: (int)~uStack_100dc < (int)(g_game->_proceduralItemManager)._proceduralItems._end - (int)pvVar2 >> 2)) { - iVar22 = **(int **)((int)pvVar2 + ~uStack_100dc * 4); + iVar20 = **(int **)((int)pvVar2 + ~uStack_100dc * 4); } else { - iVar22 = 0; + iVar20 = 0; } } else { @@ -464814,13 +465530,13 @@ LAB_00736343: pvVar2 = (g_manager->_itemConfig)._collectibles._begin; if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar2 >> 2 <= (int)uStack_100dc) goto LAB_00736382; - iVar22 = *(int *)((int)pvVar2 + uStack_100dc * 4); + iVar20 = *(int *)((int)pvVar2 + uStack_100dc * 4); } - if (iVar22 != 0) { - if (-1 < *(int *)(iVar22 + 0x50)) { + if (iVar20 != 0) { + if (-1 < *(int *)(iVar20 + 0x50)) { bVar5 = PersistentGameData::Unlocked - (&g_manager->_persistentGameData,*(int *)(iVar22 + 0x50)); - iVar22 = extraout_EDX; + (&g_manager->_persistentGameData,*(int *)(iVar20 + 0x50)); + iVar20 = extraout_EDX; if (bVar5 == 0) goto LAB_00736384; } uStack_100c8 = 1; @@ -464830,42 +465546,43 @@ LAB_00736398: uStack_100c7 = 0; } pIVar4 = pIStack_100a4; - iVar22 = iStack_100e0; - puVar9 = *(uint **)(&pIStack_100a4->_pools[0].field_0x8 + iStack_100e0); - if (puVar9 == *(uint **)(&pIStack_100a4->_pools[0].field_0xc + iStack_100e0)) { - std::vector<24byte>::_Emplace_reallocate(puVar9,&uStack_100dc); + iVar20 = iStack_100e0; + puVar8 = *(uint **)((int)&pIStack_100a4->_pools[0]._poolList._end + iStack_100e0); + if (puVar8 == *(uint **)((int)&pIStack_100a4->_pools[0]._poolList._capacity + + iStack_100e0)) { + std::vector<24byte>::_Emplace_reallocate(puVar8,&uStack_100dc); } else { - *puVar9 = uStack_100dc; - puVar9[1] = (uint)fStack_100d8; - puVar9[2] = (uint)fStack_100d4; - puVar9[3] = (uint)fStack_100d0; - *(ulonglong *)(puVar9 + 4) = + *puVar8 = uStack_100dc; + puVar8[1] = (uint)fStack_100d8; + puVar8[2] = (uint)fStack_100d4; + puVar8[3] = (uint)fStack_100d0; + *(ulonglong *)(puVar8 + 4) = CONCAT26(uStack_100c6,CONCAT15(uStack_100c7,CONCAT14(uStack_100c8,fStack_100cc))) ; - piVar8 = (int *)(&pIStack_100a4->_pools[0].field_0x8 + iStack_100e0); - *piVar8 = *piVar8 + 0x18; + piVar7 = (int *)((int)&pIStack_100a4->_pools[0]._poolList._end + iStack_100e0); + *piVar7 = *piVar7 + 0x18; } puStack_100b4 = (undefined4 *)puStack_100b4[0xb]; - *(float *)((int)&pIVar4->_pools[0]._totalWeight + iVar22) = - fStack_100d4 + *(float *)((int)&pIVar4->_pools[0]._totalWeight + iVar22); + *(float *)((int)&pIVar4->_pools[0]._totalWeight + iVar20) = + fStack_100d4 + *(float *)((int)&pIVar4->_pools[0]._totalWeight + iVar20); } while (puStack_100b4 != (undefined4 *)0x0); - pppppcVar10 = local_54[0]; + ppppppcVar9 = local_54[0]; } local_14._0_1_ = 1; if (0xf < local_40) { uVar6 = local_40 + 1; - pppppcVar14 = pppppcVar10; + ppppppcVar13 = ppppppcVar9; if (0xfff < uVar6) { - pppppcVar14 = (char *****)pppppcVar10[-1]; + ppppppcVar13 = (char ******)ppppppcVar9[-1]; uVar6 = local_40 + 0x24; - if ((char *)0x1f < (char *)((int)pppppcVar10 + (-4 - (int)pppppcVar14))) { + if ((char *)0x1f < (char *)((int)ppppppcVar9 + (-4 - (int)ppppppcVar13))) { LAB_00735d8b: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pppppcVar14,uVar6); + operator_delete(ppppppcVar13,uVar6); } } } @@ -464891,127 +465608,135 @@ LAB_00735d8b: void __thiscall ItemPool::RestoreGameState(ItemPool *this,GameStateItemPool *itemPoolState) { - int iVar1; - undefined2 uVar2; - void *pvVar3; + short sVar1; + void *pvVar2; + ItemPool_Item *pIVar3; uint uVar4; - undefined2 *puVar5; - int iVar6; - ItemPool *pIVar7; - int *piVar8; - undefined2 *puVar9; - uint uVar10; - uint uVar11; - GameStateItemPool *pGVar12; - uint uVar13; - int local_1c; + int iVar5; + uint uVar6; + short *psVar7; + int iVar8; + ItemPool *pIVar9; + std_vector *psVar10; + int *piVar11; + uint uVar12; + GameStateItemPool *pGVar13; + uint uVar14; + void *local_1c; int *local_18; uint local_14; - local_18 = (int *)&itemPoolState->field_0x174; + local_18 = itemPoolState->_bibleUpgrades; local_14 = 0x1f; - piVar8 = (int *)&this->_pools[0].field_0x4; - pGVar12 = itemPoolState; + pIVar3 = this->_pools; + pGVar13 = itemPoolState; do { - local_1c = *piVar8; - uVar10 = 0; - iVar6 = piVar8[1] - local_1c >> 0x1f; - if ((piVar8[1] - local_1c) / 0x18 + iVar6 != iVar6) { - iVar6 = 0; + psVar10 = &pIVar3->_poolList; + local_1c = psVar10->_begin; + uVar12 = 0; + iVar5 = (int)psVar10->_end - (int)local_1c; + iVar8 = iVar5 >> 0x1f; + if (iVar5 / 0x18 + iVar8 != iVar8) { + iVar8 = 0; do { - if ((uint)(*(int *)&pGVar12->field_0x4 - *(int *)pGVar12 >> 2) <= uVar10) break; - iVar1 = uVar10 * 4; - uVar10 = uVar10 + 1; - *(undefined4 *)(local_1c + 8 + iVar6) = *(undefined4 *)(*(int *)pGVar12 + iVar1); - iVar6 = iVar6 + 0x18; - local_1c = *piVar8; - } while (uVar10 < (uint)((piVar8[1] - local_1c) / 0x18)); + pvVar2 = pGVar13->_poolsItemWeights[0]._begin; + if ((uint)((int)pGVar13->_poolsItemWeights[0]._end - (int)pvVar2 >> 2) <= uVar12) break; + iVar5 = uVar12 * 4; + uVar12 = uVar12 + 1; + *(undefined4 *)((int)local_1c + iVar8 + 8) = *(undefined4 *)((int)pvVar2 + iVar5); + iVar8 = iVar8 + 0x18; + local_1c = psVar10->_begin; + } while (uVar12 < (uint)(((int)psVar10->_end - (int)local_1c) / 0x18)); } - pGVar12 = (GameStateItemPool *)&pGVar12->field_0xc; - iVar6 = *local_18; + pGVar13 = (GameStateItemPool *)(pGVar13->_poolsItemWeights + 1); + iVar8 = *local_18; local_18 = local_18 + 1; - piVar8[0xb] = iVar6; - piVar8 = piVar8 + 0xd; + *(int *)((int)(psVar10 + 3) + 8) = iVar8; + pIVar3 = (ItemPool_Item *)(psVar10 + 4); local_14 = local_14 + -1; if (local_14 == 0) { this->_seed = itemPoolState->_seed; this->_lastPool = itemPoolState->_lastPool; - this->_itemPoolRNG = (RNG)itemPoolState->_itemPoolRNGseed; - *(undefined8 *)&this->field_0x658 = 0x900000001; - *(undefined4 *)&this->field_0x660 = 0x1d; - this->_trinketPoolRNG = (RNG)itemPoolState->_trinketPoolRNGseed; - *(undefined8 *)&this->field_0x668 = 0x500000001; - *(undefined4 *)&this->field_0x670 = 0x13; - this->_unkFloat674 = *(float *)(itemPoolState + 1); - this->_unkFloat678 = *(float *)&itemPoolState[1].field_0x4; - uVar10 = *(uint *)&itemPoolState[1].field_0x14; - if (*(uint *)&this->field_0x688 < *(uint *)&itemPoolState[1].field_0x14) { - uVar10 = *(uint *)&this->field_0x688; + (this->_itemPoolRNG)._seed = itemPoolState->_itemPoolRNGseed; + (this->_itemPoolRNG)._shift1 = 1; + (this->_itemPoolRNG)._shift2 = 9; + (this->_itemPoolRNG)._shift3 = 0x1d; + (this->_trinketPoolRNG)._seed = itemPoolState->_trinketPoolRNGseed; + (this->_trinketPoolRNG)._shift1 = 1; + (this->_trinketPoolRNG)._shift2 = 5; + (this->_trinketPoolRNG)._shift3 = 0x13; + this->_unkFloat674 = itemPoolState->_unkFloat674; + this->_unkFloat678 = itemPoolState->_unkFloat678; + uVar12 = (this->_removedCollectibles)._size; + uVar4 = (itemPoolState->_removedCollectibles)._size; + if (uVar12 < uVar4) { + uVar4 = uVar12; } local_14 = 0; - if (uVar10 != 0) { + if (uVar4 != 0) { do { - uVar13 = local_14 >> 5; - uVar4 = local_14 & 0x1f; - uVar11 = *(uint *)((int)(this->_removedCollectibles)._begin + uVar13 * 4); - if ((*(uint *)(*(int *)&itemPoolState[1].field_0x8 + uVar13 * 4) & 1 << (sbyte)uVar4) == 0 - ) { - uVar11 = uVar11 & ~(1 << uVar4); + uVar14 = local_14 >> 5; + uVar6 = local_14 & 0x1f; + uVar12 = *(uint *)((int)(this->_removedCollectibles)._begin + uVar14 * 4); + if ((*(uint *)((int)(itemPoolState->_removedCollectibles)._begin + uVar14 * 4) & + 1 << (sbyte)uVar6) == 0) { + uVar12 = uVar12 & ~(1 << uVar6); } else { - uVar11 = uVar11 | 1 << uVar4; + uVar12 = uVar12 | 1 << uVar6; } - *(uint *)((int)(this->_removedCollectibles)._begin + uVar13 * 4) = uVar11; + *(uint *)((int)(this->_removedCollectibles)._begin + uVar14 * 4) = uVar12; local_14 = local_14 + 1; - } while (local_14 < uVar10); + } while (local_14 < uVar4); } - uVar11 = (int)(this->_trinketPoolItems)._end - (int)(this->_trinketPoolItems)._begin >> 3; - uVar10 = *(uint *)&itemPoolState[1].field_0x24; - if (uVar11 < *(uint *)&itemPoolState[1].field_0x24) { - uVar10 = uVar11; + uVar12 = (itemPoolState->_trinketPoolItems)._size; + uVar4 = (int)(this->_trinketPoolItems)._end - (int)(this->_trinketPoolItems)._begin >> 3; + if (uVar4 < uVar12) { + uVar12 = uVar4; } - uVar11 = 0; - if (uVar10 != 0) { + uVar4 = 0; + if (uVar12 != 0) { do { - *(bool *)((int)(this->_trinketPoolItems)._begin + uVar11 * 8 + 4) = - (*(uint *)(*(int *)&itemPoolState[1].field_0x18 + (uVar11 >> 5) * 4) & - 1 << ((byte)uVar11 & 0x1f)) != 0; - uVar11 = uVar11 + 1; - } while (uVar11 < uVar10); + *(bool *)((int)(this->_trinketPoolItems)._begin + uVar4 * 8 + 4) = + (*(uint *)((int)(itemPoolState->_trinketPoolItems)._begin + (uVar4 >> 5) * 4) & + 1 << ((byte)uVar4 & 0x1f)) != 0; + uVar4 = uVar4 + 1; + } while (uVar4 < uVar12); } this->_numAvailableTrinkets = 0; - uVar10 = 0; - pvVar3 = (this->_trinketPoolItems)._begin; - if ((int)(this->_trinketPoolItems)._end - (int)pvVar3 >> 3 != 0) { + uVar12 = 0; + pvVar2 = (this->_trinketPoolItems)._begin; + if ((int)(this->_trinketPoolItems)._end - (int)pvVar2 >> 3 != 0) { do { - if ((*(char *)((int)pvVar3 + uVar10 * 8 + 4) != '\0') && - (*(char *)((int)pvVar3 + uVar10 * 8 + 5) != '\0')) { + if ((*(char *)((int)pvVar2 + uVar12 * 8 + 4) != '\0') && + (*(char *)((int)pvVar2 + uVar12 * 8 + 5) != '\0')) { this->_numAvailableTrinkets = this->_numAvailableTrinkets + 1; } - uVar10 = uVar10 + 1; - } while (uVar10 < (uint)((int)(this->_trinketPoolItems)._end - (int)pvVar3 >> 3)); + uVar12 = uVar12 + 1; + } while (uVar12 < (uint)((int)(this->_trinketPoolItems)._end - (int)pvVar2 >> 3)); } - uVar10 = 0; - pIVar7 = this + 1; - piVar8 = (int *)&itemPoolState[1].field_0x28; + uVar12 = 0; + pIVar9 = this + 1; + piVar11 = itemPoolState->_pillEffects; do { - iVar6 = *piVar8; - piVar8 = piVar8 + 1; - pIVar7->_seed = iVar6; - pIVar7 = (ItemPool *)pIVar7->_pools; - (&this[1]._pools[1].field_0x4)[uVar10] = (&itemPoolState[1].field_0x64)[uVar10]; - uVar10 = uVar10 + 1; - } while (uVar10 < 0xf); - puVar9 = (undefined2 *)&this[1]._pools[1].field_0x14; - puVar5 = (undefined2 *)&itemPoolState[1].field_0x74; - iVar6 = 0x1f; + iVar8 = *piVar11; + piVar11 = piVar11 + 1; + pIVar9->_seed = iVar8; + pIVar9 = (ItemPool *)pIVar9->_pools; + *(byte *)((int)&this[1]._pools[1]._poolList._begin + uVar12) = + itemPoolState->_identifiedPillEffects[uVar12]; + uVar12 = uVar12 + 1; + } while (uVar12 < 0xf); + piVar11 = &this[1]._pools[1]._rng1._shift1; + psVar7 = itemPoolState->_remainingGenesisItems; + iVar8 = 0x1f; do { - uVar2 = *puVar5; - puVar5 = puVar5 + 1; - *puVar9 = uVar2; - puVar9 = puVar9 + 1; - iVar6 = iVar6 + -1; - } while (iVar6 != 0); + sVar1 = *psVar7; + psVar7 = psVar7 + 1; + *(short *)piVar11 = sVar1; + piVar11 = (int *)((int)piVar11 + 2); + iVar8 = iVar8 + -1; + } while (iVar8 != 0); return; } } while( true ); @@ -465026,135 +465751,137 @@ void __thiscall ItemPool::RestoreGameState(ItemPool *this,GameStateItemPool *ite void __thiscall ItemPool::StoreGameState(ItemPool *this,GameStateItemPool *itemPoolState) { - int *piVar1; - undefined2 uVar2; - void *pvVar3; - uint uVar4; - int iVar5; - undefined2 *puVar6; - int *piVar7; - int iVar8; - undefined4 *puVar9; - undefined2 *puVar10; + void *pvVar1; + ItemPool_Item *pIVar2; + int *piVar3; + void *pvVar4; + uint uVar5; + int iVar6; + short *psVar7; + int *piVar8; + int iVar9; + undefined4 *puVar10; size_t _Size; - int iVar11; - uint uVar12; - ItemPool *pIVar13; + uint uVar11; + ItemPool *pIVar12; + std_vector *psVar13; uint uVar14; uint local_24; - int *local_20; + void **local_20; int *local_1c; uint local_18; local_18 = 0x1f; - piVar7 = (int *)&this->_pools[0].field_0x4; - local_1c = (int *)&itemPoolState->field_0x174; - local_20 = (int *)&itemPoolState->field_0x4; + pIVar2 = this->_pools; + local_1c = itemPoolState->_bibleUpgrades; + local_20 = &itemPoolState->_poolsItemWeights[0]._end; do { - pvVar3 = (void *)*local_20; - uVar12 = (piVar7[1] - *piVar7) / 0x18; - iVar8 = local_20[-1]; - uVar4 = (int)pvVar3 - iVar8 >> 2; - if (uVar12 < uVar4) { - pvVar3 = (void *)(iVar8 + uVar12 * 4); + psVar13 = &pIVar2->_poolList; + pvVar1 = *local_20; + uVar11 = ((int)psVar13->_end - (int)psVar13->_begin) / 0x18; + pvVar4 = ((std_vector *)(local_20 + -1))->_begin; + uVar5 = (int)pvVar1 - (int)pvVar4 >> 2; + if (uVar11 < uVar5) { + pvVar4 = (void *)((int)pvVar4 + uVar11 * 4); LAB_0073686a: - *local_20 = (int)pvVar3; + *local_20 = pvVar4; } - else if (uVar4 < uVar12) { - if (uVar12 <= (uint)(local_20[1] - iVar8 >> 2)) { - _Size = (uVar12 - uVar4) * 4; - memset(pvVar3,0,_Size); - pvVar3 = (void *)((int)pvVar3 + _Size); + else if (uVar5 < uVar11) { + if (uVar11 <= (uint)((int)local_20[1] - (int)pvVar4 >> 2)) { + _Size = (uVar11 - uVar5) * 4; + memset(pvVar1,0,_Size); + pvVar4 = (void *)((int)pvVar1 + _Size); goto LAB_0073686a; } - std::vector<4byte>::_Resize_reallocate(uVar12,uVar4); + std::vector<4byte>::_Resize_reallocate(uVar11,uVar5); } - iVar8 = *piVar7; + pvVar4 = psVar13->_begin; local_24 = 0; - iVar5 = piVar7[1] - iVar8; - iVar11 = iVar5 >> 0x1f; - if (iVar5 / 0x18 + iVar11 != iVar11) { - iVar11 = 0; - puVar9 = (undefined4 *)local_20[-1]; + iVar6 = (int)psVar13->_end - (int)pvVar4; + iVar9 = iVar6 >> 0x1f; + if (iVar6 / 0x18 + iVar9 != iVar9) { + puVar10 = ((std_vector *)(local_20 + -1))->_begin; + iVar9 = 0; do { - iVar11 = iVar11 + 0x18; local_24 = local_24 + 1; - *puVar9 = *(undefined4 *)(iVar8 + -0x10 + iVar11); - puVar9 = puVar9 + 1; - } while (local_24 < (uint)((piVar7[1] - *piVar7) / 0x18)); + *puVar10 = *(undefined4 *)((int)pvVar4 + iVar9 + 8); + puVar10 = puVar10 + 1; + iVar9 = iVar9 + 0x18; + } while (local_24 < (uint)(((int)psVar13->_end - (int)psVar13->_begin) / 0x18)); } local_20 = local_20 + 3; - piVar1 = piVar7 + 0xb; - piVar7 = piVar7 + 0xd; - *local_1c = *piVar1; + pIVar2 = (ItemPool_Item *)(psVar13 + 4); + *local_1c = *(int *)((int)(psVar13 + 3) + 8); local_1c = local_1c + 1; local_18 = local_18 + -1; if (local_18 == 0) { itemPoolState->_seed = this->_seed; itemPoolState->_lastPool = this->_lastPool; - itemPoolState->_itemPoolRNGseed = (int)this->_itemPoolRNG; - itemPoolState->_trinketPoolRNGseed = (int)this->_trinketPoolRNG; - *(float *)(itemPoolState + 1) = this->_unkFloat674; - *(float *)&itemPoolState[1].field_0x4 = this->_unkFloat678; - vector_bool_resize(*(undefined4 *)&this->field_0x688,itemPoolState); + itemPoolState->_itemPoolRNGseed = (this->_itemPoolRNG)._seed; + itemPoolState->_trinketPoolRNGseed = (this->_trinketPoolRNG)._seed; + itemPoolState->_unkFloat674 = this->_unkFloat674; + itemPoolState->_unkFloat678 = this->_unkFloat678; + vector_bool_resize((this->_removedCollectibles)._size,itemPoolState); local_18 = 0; - if (*(int *)&this->field_0x688 != 0) { + if ((this->_removedCollectibles)._size != 0) { do { + pvVar4 = (itemPoolState->_removedCollectibles)._begin; uVar14 = local_18 >> 5; - uVar4 = local_18 & 0x1f; - uVar12 = *(uint *)(*(int *)&itemPoolState[1].field_0x8 + uVar14 * 4); - if ((*(uint *)((int)(this->_removedCollectibles)._begin + uVar14 * 4) & 1 << (sbyte)uVar4) + uVar5 = local_18 & 0x1f; + uVar11 = *(uint *)((int)pvVar4 + uVar14 * 4); + if ((*(uint *)((int)(this->_removedCollectibles)._begin + uVar14 * 4) & 1 << (sbyte)uVar5) == 0) { - uVar12 = uVar12 & ~(1 << uVar4); + uVar11 = uVar11 & ~(1 << uVar5); } else { - uVar12 = uVar12 | 1 << uVar4; + uVar11 = uVar11 | 1 << uVar5; } - *(uint *)(*(int *)&itemPoolState[1].field_0x8 + uVar14 * 4) = uVar12; + *(uint *)((int)pvVar4 + uVar14 * 4) = uVar11; local_18 = local_18 + 1; - } while (local_18 < *(uint *)&this->field_0x688); + } while (local_18 < (this->_removedCollectibles)._size); } vector_bool_resize((int)(this->_trinketPoolItems)._end - (int)(this->_trinketPoolItems)._begin - >> 3,&itemPoolState[1].field_0x18); - uVar12 = 0; - pvVar3 = (this->_trinketPoolItems)._begin; - if ((int)(this->_trinketPoolItems)._end - (int)pvVar3 >> 3 != 0) { + >> 3,&itemPoolState->_trinketPoolItems); + uVar11 = 0; + pvVar4 = (this->_trinketPoolItems)._begin; + if ((int)(this->_trinketPoolItems)._end - (int)pvVar4 >> 3 != 0) { do { - uVar14 = uVar12 >> 5; - iVar8 = *(int *)&itemPoolState[1].field_0x18; - uVar4 = *(uint *)(iVar8 + uVar14 * 4); - if (*(char *)((int)pvVar3 + uVar12 * 8 + 4) == '\0') { - uVar4 = uVar4 & ~(1 << (uVar12 & 0x1f)); + uVar14 = uVar11 >> 5; + pvVar1 = (itemPoolState->_trinketPoolItems)._begin; + uVar5 = *(uint *)((int)pvVar1 + uVar14 * 4); + if (*(char *)((int)pvVar4 + uVar11 * 8 + 4) == '\0') { + uVar5 = uVar5 & ~(1 << (uVar11 & 0x1f)); } else { - uVar4 = uVar4 | 1 << (uVar12 & 0x1f); + uVar5 = uVar5 | 1 << (uVar11 & 0x1f); } - uVar12 = uVar12 + 1; - *(uint *)(iVar8 + uVar14 * 4) = uVar4; - pvVar3 = (this->_trinketPoolItems)._begin; - } while (uVar12 < (uint)((int)(this->_trinketPoolItems)._end - (int)pvVar3 >> 3)); + uVar11 = uVar11 + 1; + *(uint *)((int)pvVar1 + uVar14 * 4) = uVar5; + pvVar4 = (this->_trinketPoolItems)._begin; + } while (uVar11 < (uint)((int)(this->_trinketPoolItems)._end - (int)pvVar4 >> 3)); } - pIVar13 = this + 1; - uVar12 = 0; - piVar7 = (int *)&itemPoolState[1].field_0x28; + pIVar12 = this + 1; + uVar11 = 0; + piVar8 = itemPoolState->_pillEffects; do { - piVar1 = &pIVar13->_seed; - pIVar13 = (ItemPool *)pIVar13->_pools; - *piVar7 = *piVar1; - piVar7 = piVar7 + 1; - (&itemPoolState[1].field_0x64)[uVar12] = (&this[1]._pools[1].field_0x4)[uVar12]; - uVar12 = uVar12 + 1; - } while (uVar12 < 0xf); - puVar6 = (undefined2 *)&itemPoolState[1].field_0x74; - puVar10 = (undefined2 *)&this[1]._pools[1].field_0x14; - iVar8 = 0x1f; + piVar3 = &pIVar12->_seed; + pIVar12 = (ItemPool *)pIVar12->_pools; + *piVar8 = *piVar3; + piVar8 = piVar8 + 1; + itemPoolState->_identifiedPillEffects[uVar11] = + *(byte *)((int)&this[1]._pools[1]._poolList._begin + uVar11); + uVar11 = uVar11 + 1; + } while (uVar11 < 0xf); + psVar7 = itemPoolState->_remainingGenesisItems; + piVar8 = &this[1]._pools[1]._rng1._shift1; + iVar9 = 0x1f; do { - uVar2 = *puVar10; - puVar10 = puVar10 + 1; - *puVar6 = uVar2; - puVar6 = puVar6 + 1; - iVar8 = iVar8 + -1; - } while (iVar8 != 0); + iVar6 = *piVar8; + piVar8 = (int *)((int)piVar8 + 2); + *psVar7 = (short)iVar6; + psVar7 = psVar7 + 1; + iVar9 = iVar9 + -1; + } while (iVar9 != 0); return; } } while( true ); @@ -465222,28 +465949,27 @@ int __thiscall ItemPool::ForceAddPillEffect(ItemPool *this,int ID) { int iVar1; uint uVar2; - RNG RVar3; - ItemPool *pIVar4; + ItemPool *pIVar3; iVar1 = 1; - pIVar4 = this + 1; + pIVar3 = this + 1; do { - pIVar4 = (ItemPool *)pIVar4->_pools; - if (((ItemPool_Item *)pIVar4)->_totalWeight == (float)ID) { + pIVar3 = (ItemPool *)pIVar3->_pools; + if (((ItemPool_Item *)pIVar3)->_totalWeight == (float)ID) { return iVar1; } iVar1 = iVar1 + 1; } while (iVar1 < 0xe); - RVar3 = this->_itemPoolRNG; - if (RVar3 == (RNG)0x0) { + uVar2 = (this->_itemPoolRNG)._seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)*(undefined4 *)&this->field_0x658 & 0x1f) ^ (uint)RVar3; - uVar2 = uVar2 << ((byte)*(undefined4 *)&this->field_0x65c & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)*(undefined4 *)&this->field_0x660 & 0x1f) ^ uVar2); - this->_itemPoolRNG = RVar3; - uVar2 = (uint)RVar3 % 0xd; + uVar2 = uVar2 >> ((byte)(this->_itemPoolRNG)._shift1 & 0x1f) ^ uVar2; + uVar2 = uVar2 << ((byte)(this->_itemPoolRNG)._shift2 & 0x1f) ^ uVar2; + uVar2 = uVar2 >> ((byte)(this->_itemPoolRNG)._shift3 & 0x1f) ^ uVar2; + (this->_itemPoolRNG)._seed = uVar2; + uVar2 = uVar2 % 0xd; (&this[1]._pools[0]._totalWeight)[uVar2] = (float)ID; return uVar2 + 1; } @@ -465471,15 +466197,16 @@ int __thiscall ItemPool::get_chaos_pool(ItemPool *this,RNG *rng) { int *piVar1; + RNG rng_00; + RNG rng_01; uint uVar2; - int iVar3; + uint uVar3; int iVar4; WeightedOutcomePicker WVar5; uint *puVar6; - RNG RVar7; + uint uVar7; uint uVar8; uint uVar9; - uint uVar10; WeightedOutcomePicker local_2c; uint *local_28; uint *local_24; @@ -465493,6 +466220,7 @@ int __thiscall ItemPool::get_chaos_pool(ItemPool *this,RNG *rng) puStack_c = &LAB_00afd7a5; local_10 = ExceptionList; + uVar2 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; local_18 = this; if ((g_game->_difficulty == 2) || (g_game->_difficulty == 3)) { @@ -465503,59 +466231,66 @@ int __thiscall ItemPool::get_chaos_pool(ItemPool *this,RNG *rng) local_24 = (uint *)0x0; local_14 = this->_pools + 0x10; local_8 = 0; - uVar9 = 0x10; + uVar8 = 0x10; do { - uVar8 = (int)puVar6 - (int)WVar5 >> 3; - uVar2 = 0; - uVar10 = (uint)(local_14->_totalWeight * 100.0); - if (uVar8 != 0) { + uVar7 = (int)puVar6 - (int)WVar5 >> 3; + uVar3 = 0; + uVar9 = (uint)(local_14->_totalWeight * 100.0); + if (uVar7 != 0) { do { - if (*(uint *)((int)WVar5 + uVar2 * 8) == uVar9) { - piVar1 = (int *)((int)WVar5 + 4 + uVar2 * 8); - *piVar1 = *piVar1 + uVar10; + if (*(uint *)((int)WVar5 + uVar3 * 8) == uVar8) { + piVar1 = (int *)((int)WVar5 + 4 + uVar3 * 8); + *piVar1 = *piVar1 + uVar9; if (*piVar1 < 0) { - *(undefined4 *)((int)WVar5 + 4 + uVar2 * 8) = 0; + *(undefined4 *)((int)WVar5 + 4 + uVar3 * 8) = 0; } goto LAB_007372c9; } - uVar2 = uVar2 + 1; - } while (uVar2 < uVar8); + uVar3 = uVar3 + 1; + } while (uVar3 < uVar7); } - if (0 < (int)uVar10) { - local_20 = uVar9; - local_1c = uVar10; + if (0 < (int)uVar9) { + local_20 = uVar8; + local_1c = uVar9; if (puVar6 == local_24) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(puVar6,&local_20); WVar5 = local_2c; puVar6 = local_28; } else { - *puVar6 = uVar9; - puVar6[1] = uVar10; + *puVar6 = uVar8; + puVar6[1] = uVar9; local_28 = puVar6 + 2; puVar6 = local_28; } } LAB_007372c9: - uVar9 = uVar9 + 1; + uVar8 = uVar8 + 1; local_14 = local_14 + 1; - } while (uVar9 < 0x17); - RVar7 = *rng; - if (RVar7 == (RNG)0x0) { + } while (uVar8 < 0x17); + uVar8 = rng->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar2); } - uVar9 = (uint)RVar7 >> (SUB41(rng[1],0) & 0x1f) ^ (uint)RVar7; - uVar9 = uVar9 ^ uVar9 << (SUB41(rng[2],0) & 0x1f); - RVar7 = (RNG)(uVar9 ^ uVar9 >> (SUB41(rng[3],0) & 0x1f)); - *rng = RVar7; - iVar3 = WeightedOutcomePicker::PickOutcome(&local_2c,RVar7,0x900000005,7); + uVar8 = uVar8 >> ((byte)rng->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 ^ uVar8 << ((byte)rng->_shift2 & 0x1f); + uVar8 = uVar8 ^ uVar8 >> ((byte)rng->_shift3 & 0x1f); + rng->_seed = uVar8; + rng_01._shift1 = 5; + rng_01._seed = uVar8; + rng_01._shift2 = 9; + rng_01._shift3 = 7; + uVar2 = WeightedOutcomePicker::PickOutcome(&local_2c,rng_01); if (local_2c == (WeightedOutcomePicker)0x0) { ExceptionList = local_10; - return iVar3; + return uVar2; } - if (((int)local_24 - (int)local_2c & 0xfffffff8U) < 0x1000) goto LAB_0073721f; - iVar4 = (int)local_2c - *(int *)((int)local_2c + -4); + uVar8 = (int)local_24 - (int)local_2c & 0xfffffff8; + WVar5 = local_2c; + if (uVar8 < 0x1000) goto LAB_0073721f; + WVar5 = *(WeightedOutcomePicker *)((int)local_2c + -4); + iVar4 = (int)local_2c - (int)WVar5; } else { WVar5 = (WeightedOutcomePicker)0x0; @@ -465565,106 +466300,114 @@ LAB_007372c9: local_24 = (uint *)0x0; local_14 = this->_pools; local_8 = 1; - uVar9 = 0; + uVar8 = 0; do { - uVar10 = (int)puVar6 - (int)WVar5 >> 3; - uVar2 = 0; - uVar8 = (uint)(local_14->_totalWeight * 100.0); - if (uVar10 != 0) { + uVar9 = (int)puVar6 - (int)WVar5 >> 3; + uVar3 = 0; + uVar7 = (uint)(local_14->_totalWeight * 100.0); + if (uVar9 != 0) { do { - if (*(uint *)((int)WVar5 + uVar2 * 8) == uVar9) { - piVar1 = (int *)((int)WVar5 + 4 + uVar2 * 8); - *piVar1 = *piVar1 + uVar8; + if (*(uint *)((int)WVar5 + uVar3 * 8) == uVar8) { + piVar1 = (int *)((int)WVar5 + 4 + uVar3 * 8); + *piVar1 = *piVar1 + uVar7; if (*piVar1 < 0) { - *(undefined4 *)((int)WVar5 + 4 + uVar2 * 8) = 0; + *(undefined4 *)((int)WVar5 + 4 + uVar3 * 8) = 0; } goto LAB_007370f1; } - uVar2 = uVar2 + 1; - } while (uVar2 < uVar10); + uVar3 = uVar3 + 1; + } while (uVar3 < uVar9); } - if (0 < (int)uVar8) { - local_20 = uVar9; - local_1c = uVar8; + if (0 < (int)uVar7) { + local_20 = uVar8; + local_1c = uVar7; if (puVar6 == local_24) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(puVar6,&local_20); WVar5 = local_2c; puVar6 = local_28; } else { - *puVar6 = uVar9; - puVar6[1] = uVar8; + *puVar6 = uVar8; + puVar6[1] = uVar7; local_28 = puVar6 + 2; puVar6 = local_28; } } LAB_007370f1: - uVar9 = uVar9 + 1; + uVar8 = uVar8 + 1; local_14 = local_14 + 1; - } while (uVar9 < 0x10); - uVar9 = 0x17; + } while (uVar8 < 0x10); + uVar8 = 0x17; local_14 = local_18->_pools + 0x17; do { - uVar10 = (int)puVar6 - (int)WVar5 >> 3; - uVar2 = 0; - uVar8 = (uint)(local_14->_totalWeight * 100.0); - if (uVar10 != 0) { + uVar9 = (int)puVar6 - (int)WVar5 >> 3; + uVar3 = 0; + uVar7 = (uint)(local_14->_totalWeight * 100.0); + if (uVar9 != 0) { do { - if (*(uint *)((int)WVar5 + uVar2 * 8) == uVar9) { - piVar1 = (int *)((int)WVar5 + 4 + uVar2 * 8); - *piVar1 = *piVar1 + uVar8; + if (*(uint *)((int)WVar5 + uVar3 * 8) == uVar8) { + piVar1 = (int *)((int)WVar5 + 4 + uVar3 * 8); + *piVar1 = *piVar1 + uVar7; if (*piVar1 < 0) { - *(undefined4 *)((int)WVar5 + 4 + uVar2 * 8) = 0; + *(undefined4 *)((int)WVar5 + 4 + uVar3 * 8) = 0; } goto LAB_00737181; } - uVar2 = uVar2 + 1; - } while (uVar2 < uVar10); + uVar3 = uVar3 + 1; + } while (uVar3 < uVar9); } - if (0 < (int)uVar8) { - local_20 = uVar9; - local_1c = uVar8; + if (0 < (int)uVar7) { + local_20 = uVar8; + local_1c = uVar7; if (puVar6 == local_24) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(puVar6,&local_20); WVar5 = local_2c; puVar6 = local_28; } else { - *puVar6 = uVar9; - puVar6[1] = uVar8; + *puVar6 = uVar8; + puVar6[1] = uVar7; local_28 = puVar6 + 2; puVar6 = local_28; } } LAB_00737181: - uVar9 = uVar9 + 1; + uVar8 = uVar8 + 1; local_14 = local_14 + 1; - } while (uVar9 < 0x1f); - RVar7 = *rng; - if (RVar7 == (RNG)0x0) { + } while (uVar8 < 0x1f); + uVar8 = rng->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar2); } - uVar9 = (uint)RVar7 >> (SUB41(rng[1],0) & 0x1f) ^ (uint)RVar7; - uVar9 = uVar9 ^ uVar9 << (SUB41(rng[2],0) & 0x1f); - RVar7 = (RNG)(uVar9 ^ uVar9 >> (SUB41(rng[3],0) & 0x1f)); - *rng = RVar7; - iVar3 = WeightedOutcomePicker::PickOutcome(&local_2c,RVar7,0x900000005,7); + uVar8 = uVar8 >> ((byte)rng->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 ^ uVar8 << ((byte)rng->_shift2 & 0x1f); + uVar8 = uVar8 ^ uVar8 >> ((byte)rng->_shift3 & 0x1f); + rng->_seed = uVar8; + rng_00._shift1 = 5; + rng_00._seed = uVar8; + rng_00._shift2 = 9; + rng_00._shift3 = 7; + uVar2 = WeightedOutcomePicker::PickOutcome(&local_2c,rng_00); if (local_2c == (WeightedOutcomePicker)0x0) { ExceptionList = local_10; - return iVar3; + return uVar2; } - if (((int)local_24 - (int)local_2c & 0xfffffff8U) < 0x1000) goto LAB_0073721f; - iVar4 = (int)local_2c - *(int *)((int)local_2c + -4); + uVar8 = (int)local_24 - (int)local_2c & 0xfffffff8; + WVar5 = local_2c; + if (uVar8 < 0x1000) goto LAB_0073721f; + WVar5 = *(WeightedOutcomePicker *)((int)local_2c + -4); + iVar4 = (int)local_2c - (int)WVar5; } + uVar8 = uVar8 + 0x23; if (0x1f < iVar4 - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } LAB_0073721f: - operator_delete(); + operator_delete(WVar5,uVar8); ExceptionList = local_10; - return iVar3; + return uVar2; } @@ -465807,21 +466550,24 @@ LAB_00737461: /* DB: ? RNG; Pickup::Init and AddItemCard */ -int ItemPool::GetCardImpl(uint param_1) +int ItemPool::GetCardImpl(code *param_1) { void **ppvVar1; int *piVar2; undefined4 *puVar3; + RNG rng; Manager *pMVar4; - int iVar5; - uint uVar6; + uint uVar5; + int iVar6; uint uVar7; + WeightedOutcomePicker WVar8; + uint uVar9; WeightedOutcomePicker local_2c; undefined4 *local_28; undefined4 *local_24; undefined4 local_20; - undefined4 local_1c; + uint local_1c; undefined4 local_18; void *local_10; undefined1 *puStack_c; @@ -465829,6 +466575,7 @@ int ItemPool::GetCardImpl(uint param_1) puStack_c = &LAB_00afd7dd; local_10 = ExceptionList; + uVar5 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; local_18 = 0xf; local_2c = (WeightedOutcomePicker)0x0; @@ -465836,35 +466583,35 @@ int ItemPool::GetCardImpl(uint param_1) local_24 = (undefined4 *)0x0; local_8 = 0; local_1c = 100; - iVar5 = *(int *)((int)g_game->_room + 8); - if (iVar5 == 0xe) { + iVar6 = *(int *)((int)g_game->_room + 8); + if (iVar6 == 0xe) { local_20 = 3; } - else if (iVar5 == 0xf) { + else if (iVar6 == 0xf) { local_20 = 4; } else { local_20 = 0; - std::vector<8byte>::_Emplace_reallocate(); - uVar6 = 0; - uVar7 = (int)local_28 - (int)local_2c >> 3; - if (uVar7 != 0) { + std::vector<8byte>::_Emplace_reallocate(0,&local_20); + uVar7 = 0; + uVar9 = (int)local_28 - (int)local_2c >> 3; + if (uVar9 != 0) { do { - if (*(int *)((int)local_2c + uVar6 * 8) == 1) { - piVar2 = (int *)((int)local_2c + 4 + uVar6 * 8); + if (*(int *)((int)local_2c + uVar7 * 8) == 1) { + piVar2 = (int *)((int)local_2c + 4 + uVar7 * 8); *piVar2 = *piVar2 + 0x1e; if (*piVar2 < 0) { - *(undefined4 *)((int)local_2c + 4 + uVar6 * 8) = 0; + *(undefined4 *)((int)local_2c + 4 + uVar7 * 8) = 0; } goto LAB_007377d7; } - uVar6 = uVar6 + 1; - } while (uVar6 < uVar7); + uVar7 = uVar7 + 1; + } while (uVar7 < uVar9); } local_20 = 1; local_1c = 0x1e; if (local_28 == local_24) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_28,&local_20); } else { *local_28 = 1; @@ -465872,25 +466619,25 @@ int ItemPool::GetCardImpl(uint param_1) local_28 = local_28 + 2; } LAB_007377d7: - uVar6 = 0; - uVar7 = (int)local_28 - (int)local_2c >> 3; - if (uVar7 != 0) { + uVar7 = 0; + uVar9 = (int)local_28 - (int)local_2c >> 3; + if (uVar9 != 0) { do { - if (*(int *)((int)local_2c + uVar6 * 8) == 2) { - piVar2 = (int *)((int)local_2c + 4 + uVar6 * 8); + if (*(int *)((int)local_2c + uVar7 * 8) == 2) { + piVar2 = (int *)((int)local_2c + 4 + uVar7 * 8); *piVar2 = *piVar2 + 0x1e; if (*piVar2 < 0) { - *(undefined4 *)((int)local_2c + 4 + uVar6 * 8) = 0; + *(undefined4 *)((int)local_2c + 4 + uVar7 * 8) = 0; } goto LAB_0073783b; } - uVar6 = uVar6 + 1; - } while (uVar6 < uVar7); + uVar7 = uVar7 + 1; + } while (uVar7 < uVar9); } local_20 = 2; local_1c = 0x1e; if (local_28 == local_24) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_28,&local_20); } else { *local_28 = 2; @@ -465898,25 +466645,25 @@ LAB_007377d7: local_28 = local_28 + 2; } LAB_0073783b: - uVar6 = 0; - uVar7 = (int)local_28 - (int)local_2c >> 3; - if (uVar7 != 0) { + uVar7 = 0; + uVar9 = (int)local_28 - (int)local_2c >> 3; + if (uVar9 != 0) { do { - if (*(int *)((int)local_2c + uVar6 * 8) == 3) { - piVar2 = (int *)((int)local_2c + 4 + uVar6 * 8); + if (*(int *)((int)local_2c + uVar7 * 8) == 3) { + piVar2 = (int *)((int)local_2c + 4 + uVar7 * 8); *piVar2 = *piVar2 + 10; if (*piVar2 < 0) { - *(undefined4 *)((int)local_2c + 4 + uVar6 * 8) = 0; + *(undefined4 *)((int)local_2c + 4 + uVar7 * 8) = 0; } goto LAB_0073789f; } - uVar6 = uVar6 + 1; - } while (uVar6 < uVar7); + uVar7 = uVar7 + 1; + } while (uVar7 < uVar9); } local_20 = 3; local_1c = 10; if (local_28 == local_24) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_28,&local_20); } else { *local_28 = 3; @@ -465924,25 +466671,25 @@ LAB_0073783b: local_28 = local_28 + 2; } LAB_0073789f: - uVar6 = 0; - uVar7 = (int)local_28 - (int)local_2c >> 3; - if (uVar7 != 0) { + uVar7 = 0; + uVar9 = (int)local_28 - (int)local_2c >> 3; + if (uVar9 != 0) { do { - if (*(int *)((int)local_2c + uVar6 * 8) == 4) { - piVar2 = (int *)((int)local_2c + 4 + uVar6 * 8); + if (*(int *)((int)local_2c + uVar7 * 8) == 4) { + piVar2 = (int *)((int)local_2c + 4 + uVar7 * 8); *piVar2 = *piVar2 + 10; if (*piVar2 < 0) { - *(undefined4 *)((int)local_2c + 4 + uVar6 * 8) = 0; + *(undefined4 *)((int)local_2c + 4 + uVar7 * 8) = 0; } goto LAB_00737907; } - uVar6 = uVar6 + 1; - } while (uVar6 < uVar7); + uVar7 = uVar7 + 1; + } while (uVar7 < uVar9); } local_20 = 4; local_1c = 10; if (local_28 == local_24) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_28,&local_20); } else { *local_28 = 4; @@ -465950,20 +466697,20 @@ LAB_0073789f: local_28 = local_28 + 2; } LAB_00737907: - uVar6 = 0; - uVar7 = (int)local_28 - (int)local_2c >> 3; - if (uVar7 != 0) { + uVar7 = 0; + uVar9 = (int)local_28 - (int)local_2c >> 3; + if (uVar9 != 0) { do { - if (*(int *)((int)local_2c + uVar6 * 8) == 5) { - piVar2 = (int *)((int)local_2c + 4 + uVar6 * 8); + if (*(int *)((int)local_2c + uVar7 * 8) == 5) { + piVar2 = (int *)((int)local_2c + 4 + uVar7 * 8); *piVar2 = *piVar2 + 2; if (*piVar2 < 0) { - *(undefined4 *)((int)local_2c + 4 + uVar6 * 8) = 0; + *(undefined4 *)((int)local_2c + 4 + uVar7 * 8) = 0; } goto LAB_00737965; } - uVar6 = uVar6 + 1; - } while (uVar6 < uVar7); + uVar7 = uVar7 + 1; + } while (uVar7 < uVar9); } local_20 = 5; local_1c = 2; @@ -465974,56 +466721,65 @@ LAB_00737907: goto LAB_00737965; } } - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_28,&local_20); LAB_00737965: - if (param_1 == 0) { + if (param_1 == (code *)0x0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar5); } - param_1 = param_1 >> 4 ^ param_1; - param_1 = param_1 << 5 ^ param_1; - param_1 = param_1 >> 0xf ^ param_1; - local_1c = WeightedOutcomePicker::PickOutcome(&local_2c,param_1,0x900000005,7); + uVar5 = (uint)param_1 >> 4 ^ (uint)param_1; + uVar5 = uVar5 << 5 ^ uVar5; + uVar5 = uVar5 >> 0xf ^ uVar5; + rng._shift1 = 5; + rng._seed = uVar5; + rng._shift2 = 9; + rng._shift3 = 7; + local_1c = WeightedOutcomePicker::PickOutcome(&local_2c,rng); pMVar4 = g_manager; + param_1 = FUN_00737af0; puVar3 = (g_manager->_itemConfig)._availabilityFilters._end; if (puVar3 == (g_manager->_itemConfig)._availabilityFilters._capacity) { - std::vector<4byte>::_Emplace_reallocate(); + std::vector<4byte>::_Emplace_reallocate(puVar3,¶m_1); } else { *puVar3 = FUN_00737af0; ppvVar1 = &(pMVar4->_itemConfig)._availabilityFilters._end; *ppvVar1 = (void *)((int)*ppvVar1 + 4); } - if (param_1 == 0) { + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - param_1 = param_1 >> 4 ^ param_1; - param_1 = param_1 << 5 ^ param_1; - param_1 = param_1 >> ((byte)local_18 & 0x1f) ^ param_1; - iVar5 = GetCollectible(&g_game->_itemPool,local_1c,param_1,9,0,0); - if (iVar5 == 0) { - if (param_1 == 0) { + uVar5 = uVar5 >> 4 ^ uVar5; + uVar5 = uVar5 << 5 ^ uVar5; + uVar5 = uVar5 >> ((byte)local_18 & 0x1f) ^ uVar5; + iVar6 = GetCollectible(&g_game->_itemPool,local_1c,uVar5,9,0,0); + if (iVar6 == 0) { + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - param_1 = param_1 >> 4 ^ param_1; - param_1 = param_1 << 5 ^ param_1; - iVar5 = GetCollectible(&g_game->_itemPool,0,param_1 >> ((byte)local_18 & 0x1f) ^ param_1,9,0x26, - 0); + uVar5 = uVar5 >> 4 ^ uVar5; + uVar5 = uVar5 << 5 ^ uVar5; + iVar6 = GetCollectible(&g_game->_itemPool,0,uVar5 >> ((byte)local_18 & 0x1f) ^ uVar5,9,0x26,0); } ppvVar1 = &(g_manager->_itemConfig)._availabilityFilters._end; *ppvVar1 = (void *)((int)*ppvVar1 + -4); if (local_2c != (WeightedOutcomePicker)0x0) { - if ((0xfff < ((int)local_24 - (int)local_2c & 0xfffffff8U)) && - (0x1f < ((int)local_2c - *(int *)((int)local_2c + -4)) - 4U)) { + uVar5 = (int)local_24 - (int)local_2c & 0xfffffff8; + WVar8 = local_2c; + if (0xfff < uVar5) { + WVar8 = *(WeightedOutcomePicker *)((int)local_2c + -4); + uVar5 = uVar5 + 0x23; + if (0x1f < ((int)local_2c - (int)WVar8) - 4U) { /* WARNING: Subroutine does not return */ - _invalid_parameter_noinfo_noreturn(); + _invalid_parameter_noinfo_noreturn(); + } } - operator_delete(); + operator_delete(WVar8,uVar5); } ExceptionList = local_10; - return iVar5; + return iVar6; } @@ -466554,22 +467310,21 @@ void FUN_00738260(void) /* ZHL [lua] Lua binding Seeds:GetStageSeed */ -undefined4 Seeds::GetStageSeed(uint param_1) +int __thiscall Seeds::GetStageSeed(Seeds *this,uint param_2) { uint uVar1; - int in_ECX; - if (*(int *)(in_ECX + 4) == 0) { + if (this->_gameStartSeed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Error: Game Start Seed was not set.\n"); } - param_1 = -(uint)(param_1 != 0) & param_1; + param_2 = -(uint)(param_2 != 0) & param_2; uVar1 = 0xd; - if (param_1 < 0xd) { - uVar1 = param_1; + if (param_2 < 0xd) { + uVar1 = param_2; } - return *(undefined4 *)(in_ECX + 0x18 + uVar1 * 4); + return this->_stageSeeds[uVar1]; } @@ -466626,14 +467381,14 @@ undefined4 FUN_00738330(void) /* DB: returns stage * 800 + Game + 0x6746c (BackwardsStageDesc, depth 1..7, "Invalid backwards path stage ID"); called by Level::SetNextStage; notes/systems/ascent.md */ -undefined1 * Game::get_backwards_stage(int param_1) +int * Game::get_backwards_stage(int param_1) { if ((param_1 < 1) || (7 < param_1)) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Invalid backwards path stage ID"); } - return (undefined1 *)((int)(g_game->_glowingHourglassStates + 2) + param_1 * 800 + 0x1128); + return g_game->_glowingHourglassStates[1]._eventCounters + param_1 * 200 + 0x17b; } @@ -466856,7 +467611,7 @@ void __thiscall Level::reset_room_list(Level *this,byte resetLilPortalRoom) do { if ((resetLilPortalRoom != 0) || (uVar5 != 0x20e)) { pRVar4 = RoomDescriptor::constructor(&local_cc); - RoomDescriptor::operator_assign(pRVar4); + RoomDescriptor::operator_assign(pRVar6,pRVar4); std::vector::_Tidy(); FID_conflict__Erase_tree_>_> (&local_cc.RestrictedGridIndexes, @@ -466910,111 +467665,110 @@ void __thiscall Level::reset_room_list(Level *this,byte resetLilPortalRoom) /* DB: copies 0x2e dwords (RoomDescriptor size 0xb8) from param to this; called from Level::reset_room_list */ -void RoomDescriptor::operator_assign(undefined4 *param_1) +RoomDescriptor * __thiscall RoomDescriptor::operator_assign(RoomDescriptor *this,int *param_2) { - undefined4 *puVar1; - int *this; - int iVar2; - undefined4 uVar3; - undefined4 *in_ECX; + int *piVar1; + std_set *this_00; + void *pvVar2; + uint uVar3; - puVar1 = param_1 + 0x1a; - *in_ECX = *param_1; - in_ECX[1] = param_1[1]; - in_ECX[2] = param_1[2]; - in_ECX[3] = param_1[3]; - in_ECX[4] = param_1[4]; - in_ECX[5] = param_1[5]; - in_ECX[6] = param_1[6]; - in_ECX[7] = param_1[7]; - in_ECX[8] = param_1[8]; - in_ECX[9] = param_1[9]; - in_ECX[10] = param_1[10]; - in_ECX[0xb] = param_1[0xb]; - in_ECX[0xc] = param_1[0xc]; - in_ECX[0xd] = param_1[0xd]; - in_ECX[0xe] = param_1[0xe]; - in_ECX[0xf] = param_1[0xf]; - in_ECX[0x10] = param_1[0x10]; - in_ECX[0x11] = param_1[0x11]; - *(undefined2 *)(in_ECX + 0x12) = *(undefined2 *)(param_1 + 0x12); - *(undefined2 *)((int)in_ECX + 0x4a) = *(undefined2 *)((int)param_1 + 0x4a); - in_ECX[0x13] = param_1[0x13]; - *(undefined2 *)(in_ECX + 0x14) = *(undefined2 *)(param_1 + 0x14); - *(undefined2 *)((int)in_ECX + 0x52) = *(undefined2 *)((int)param_1 + 0x52); - in_ECX[0x15] = param_1[0x15]; - in_ECX[0x16] = param_1[0x16]; - in_ECX[0x17] = param_1[0x17]; - in_ECX[0x18] = param_1[0x18]; - in_ECX[0x19] = param_1[0x19]; - if (in_ECX + 0x1a != puVar1) { + piVar1 = param_2 + 0x1a; + this->GridIndex = *param_2; + this->SafeGridIndex = param_2[1]; + this->ListIndex = param_2[2]; + this->Dimension = param_2[3]; + this->Data = (void *)param_2[4]; + this->OverrideData = (void *)param_2[5]; + this->AllowedDoors = param_2[6]; + this->_doors[0] = param_2[7]; + this->_doors[1] = param_2[8]; + this->_doors[2] = param_2[9]; + this->_doors[3] = param_2[10]; + this->_doors[4] = param_2[0xb]; + this->_doors[5] = param_2[0xc]; + this->_doors[6] = param_2[0xd]; + this->_doors[7] = param_2[0xe]; + this->DisplayFlags = param_2[0xf]; + this->VisitedCount = param_2[0x10]; + this->Flags = param_2[0x11]; + this->TotalMoneySpent = (short)param_2[0x12]; + this->ClearCount = *(short *)((int)param_2 + 0x4a); + this->GreedSubType = param_2[0x13]; + this->PoopCount = (short)param_2[0x14]; + this->TKeeperCoinSpawns = *(short *)((int)param_2 + 0x52); + this->PitsCount = param_2[0x15]; + this->DecorationSeed = param_2[0x16]; + this->SpawnSeed = param_2[0x17]; + this->AwardSeed = param_2[0x18]; + this->BossDeathSeed = param_2[0x19]; + if (&this->SavedGridEntities != (std_vector *)piVar1) { FUN_00708f90(); - in_ECX[0x1a] = *puVar1; - in_ECX[0x1b] = param_1[0x1b]; - in_ECX[0x1c] = param_1[0x1c]; - *puVar1 = 0; - param_1[0x1b] = 0; - param_1[0x1c] = 0; + (this->SavedGridEntities)._begin = (void *)*piVar1; + (this->SavedGridEntities)._end = (void *)param_2[0x1b]; + (this->SavedGridEntities)._capacity = (void *)param_2[0x1c]; + *piVar1 = 0; + param_2[0x1b] = 0; + param_2[0x1c] = 0; } - puVar1 = param_1 + 0x1d; - if (in_ECX + 0x1d != puVar1) { + piVar1 = param_2 + 0x1d; + if (&this->SavedEntities != (std_vector *)piVar1) { std::vector::_Tidy(); - in_ECX[0x1d] = *puVar1; - in_ECX[0x1e] = param_1[0x1e]; - in_ECX[0x1f] = param_1[0x1f]; - *puVar1 = 0; - param_1[0x1e] = 0; - param_1[0x1f] = 0; + (this->SavedEntities)._begin = (void *)*piVar1; + (this->SavedEntities)._end = (void *)param_2[0x1e]; + (this->SavedEntities)._capacity = (void *)param_2[0x1f]; + *piVar1 = 0; + param_2[0x1e] = 0; + param_2[0x1f] = 0; } - this = in_ECX + 0x20; - if (this != param_1 + 0x20) { - iVar2 = *this; + this_00 = &this->RestrictedGridIndexes; + if (this_00 != (std_set *)(param_2 + 0x20)) { + pvVar2 = this_00->_head; FID_conflict__Erase_tree_>_> - (this,(fuzzer_allocator_> *)this, - *(_Tree_node **)(iVar2 + 4)); - *(int *)(iVar2 + 4) = iVar2; - *(int *)iVar2 = iVar2; - *(int *)(iVar2 + 8) = iVar2; - in_ECX[0x21] = 0; - uVar3 = in_ECX[0x20]; - in_ECX[0x20] = param_1[0x20]; - param_1[0x20] = uVar3; - uVar3 = in_ECX[0x21]; - in_ECX[0x21] = param_1[0x21]; - param_1[0x21] = uVar3; + (this_00,(fuzzer_allocator_> *)this_00, + *(_Tree_node **)((int)pvVar2 + 4)); + *(void **)((int)pvVar2 + 4) = pvVar2; + *(void **)pvVar2 = pvVar2; + *(void **)((int)pvVar2 + 8) = pvVar2; + (this->RestrictedGridIndexes)._size = 0; + pvVar2 = (this->RestrictedGridIndexes)._head; + (this->RestrictedGridIndexes)._head = (void *)param_2[0x20]; + param_2[0x20] = (int)pvVar2; + uVar3 = (this->RestrictedGridIndexes)._size; + (this->RestrictedGridIndexes)._size = param_2[0x21]; + param_2[0x21] = uVar3; } - puVar1 = param_1 + 0x22; - if (in_ECX + 0x22 != puVar1) { + piVar1 = param_2 + 0x22; + if (&this->SavedEffects != (std_vector *)piVar1) { std::vector::_Tidy(); - in_ECX[0x22] = *puVar1; - in_ECX[0x23] = param_1[0x23]; - in_ECX[0x24] = param_1[0x24]; - *puVar1 = 0; - param_1[0x23] = 0; - param_1[0x24] = 0; + (this->SavedEffects)._begin = (void *)*piVar1; + (this->SavedEffects)._end = (void *)param_2[0x23]; + (this->SavedEffects)._capacity = (void *)param_2[0x24]; + *piVar1 = 0; + param_2[0x23] = 0; + param_2[0x24] = 0; } - *(undefined2 *)(in_ECX + 0x25) = *(undefined2 *)(param_1 + 0x25); - *(undefined2 *)((int)in_ECX + 0x96) = *(undefined2 *)((int)param_1 + 0x96); - *(undefined2 *)(in_ECX + 0x26) = *(undefined2 *)(param_1 + 0x26); - *(undefined2 *)((int)in_ECX + 0x9a) = *(undefined2 *)((int)param_1 + 0x9a); - *(undefined2 *)(in_ECX + 0x27) = *(undefined2 *)(param_1 + 0x27); - *(undefined2 *)((int)in_ECX + 0x9e) = *(undefined2 *)((int)param_1 + 0x9e); - *(undefined2 *)(in_ECX + 0x28) = *(undefined2 *)(param_1 + 0x28); - *(undefined2 *)((int)in_ECX + 0xa2) = *(undefined2 *)((int)param_1 + 0xa2); - *(undefined1 *)(in_ECX + 0x29) = *(undefined1 *)(param_1 + 0x29); - *(undefined1 *)((int)in_ECX + 0xa5) = *(undefined1 *)((int)param_1 + 0xa5); - *(undefined1 *)((int)in_ECX + 0xa6) = *(undefined1 *)((int)param_1 + 0xa6); - *(undefined1 *)((int)in_ECX + 0xa7) = *(undefined1 *)((int)param_1 + 0xa7); - *(undefined1 *)(in_ECX + 0x2a) = *(undefined1 *)(param_1 + 0x2a); - *(undefined1 *)((int)in_ECX + 0xa9) = *(undefined1 *)((int)param_1 + 0xa9); - *(undefined1 *)((int)in_ECX + 0xaa) = *(undefined1 *)((int)param_1 + 0xaa); - *(undefined1 *)((int)in_ECX + 0xab) = *(undefined1 *)((int)param_1 + 0xab); - *(undefined2 *)(in_ECX + 0x2b) = *(undefined2 *)(param_1 + 0x2b); - *(undefined2 *)((int)in_ECX + 0xae) = *(undefined2 *)((int)param_1 + 0xae); - in_ECX[0x2c] = param_1[0x2c]; - in_ECX[0x2d] = param_1[0x2d]; - return; + *(short *)&this->field_0x94 = (short)param_2[0x25]; + *(undefined2 *)&this->field_0x96 = *(undefined2 *)((int)param_2 + 0x96); + *(short *)&this->field_0x98 = (short)param_2[0x26]; + *(undefined2 *)&this->field_0x9a = *(undefined2 *)((int)param_2 + 0x9a); + *(short *)&this->field_0x9c = (short)param_2[0x27]; + *(undefined2 *)&this->field_0x9e = *(undefined2 *)((int)param_2 + 0x9e); + *(short *)&this->field_0xa0 = (short)param_2[0x28]; + *(undefined2 *)&this->field_0xa2 = *(undefined2 *)((int)param_2 + 0xa2); + this->field_0xa4 = (char)param_2[0x29]; + this->field_0xa5 = *(undefined1 *)((int)param_2 + 0xa5); + this->field_0xa6 = *(undefined1 *)((int)param_2 + 0xa6); + this->field_0xa7 = *(undefined1 *)((int)param_2 + 0xa7); + this->field_0xa8 = (char)param_2[0x2a]; + this->field_0xa9 = *(undefined1 *)((int)param_2 + 0xa9); + this->field_0xaa = *(undefined1 *)((int)param_2 + 0xaa); + this->field_0xab = *(undefined1 *)((int)param_2 + 0xab); + this->ShopItemIdx = (short)param_2[0x2b]; + this->ShopItemDiscountIdx = *(short *)((int)param_2 + 0xae); + this->DeliriumDistance = param_2[0x2c]; + this->Group = param_2[0x2d]; + return this; } @@ -467346,12 +468100,11 @@ RoomConfig_Room * Level::pick_boss_room_config(void) undefined4 in_stack_ffffffb0; undefined4 in_stack_ffffffb4; RNG local_24; - undefined8 local_20; - undefined4 local_18; uint local_14 [3]; RoomConfig *local_8; - local_20 = 0xf00000005; + local_24._shift1 = 5; + local_24._shift2 = 0xf; local_8 = &g_game->_roomConfig; uVar1 = 0; if ((int)in_ECX < 0) { @@ -467359,7 +468112,7 @@ RoomConfig_Room * Level::pick_boss_room_config(void) } pRVar4 = (RoomConfig_Room *)0x0; local_14[1] = 0x11; - local_18 = 0x11; + local_24._shift3 = 0x11; if (uVar1 == 0) { if ((in_ECX == 0x59) && ((g_game->_gameStateFlags & 0x800000000000) != 0)) { local_14[0] = 0; @@ -467379,8 +468132,8 @@ RoomConfig_Room * Level::pick_boss_room_config(void) /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar1 = in_EDX >> ((byte)local_20 & 0x1f) ^ in_EDX; - uVar1 = uVar1 << ((byte)((ulonglong)local_20 >> 0x20) & 0x1f) ^ uVar1; + uVar1 = in_EDX >> ((byte)local_24._shift1 & 0x1f) ^ in_EDX; + uVar1 = uVar1 << ((byte)local_24._shift2 & 0x1f) ^ uVar1; in_EDX = uVar1 >> ((byte)local_14[1] & 0x1f) ^ uVar1; pRVar4 = RoomConfig::GetRandomRoom (local_8,in_EDX,1,0,5,0xd,0,-1,1,10,local_14 + 2,local_14[0],-1); @@ -467419,8 +468172,8 @@ RoomConfig_Room * Level::pick_boss_room_config(void) /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = in_EDX >> ((byte)local_20 & 0x1f) ^ in_EDX; - uVar2 = uVar2 << ((byte)((ulonglong)local_20 >> 0x20) & 0x1f) ^ uVar2; + uVar2 = in_EDX >> ((byte)local_24._shift1 & 0x1f) ^ in_EDX; + uVar2 = uVar2 << ((byte)local_24._shift2 & 0x1f) ^ uVar2; in_EDX = uVar2 >> ((byte)local_14[1] & 0x1f) ^ uVar2; pRVar4 = RoomConfig::GetRandomRoom (local_8,in_EDX,1,0,5,0xd,uVar1,uVar1 + 0x31,1,10,local_14,0xffffffff,-1); @@ -467440,36 +468193,34 @@ RoomConfig_Room * Level::pick_boss_room_config(void) //@@ 00739370 Level::place_special_rooms /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* WARNING: Type propagation algorithm not settling */ /* DB: the level's special rooms: boss, shops, treasure, mirror/mineshaft/photo door rooms (alt_path.md) */ -undefined4 Level::place_special_rooms(LevelGenerator *param_1,RNG param_2,int param_3) +undefined4 Level::place_special_rooms(LevelGenerator *param_1,Entity_Player *param_2,int param_3) { uint *puVar1; undefined4 *puVar2; LevelGenerator LVar3; - void *pvVar4; - qword qVar5; - Manager *pMVar6; - char cVar7; - byte bVar8; - ChallengeParam *pCVar9; - RNG *pRVar10; - uint uVar11; - int iVar12; - LevelGenerator_Room *pLVar13; - Entity_Player *pEVar14; - uint uVar15; - RNG RVar16; - int iVar17; - undefined4 uVar18; - uint uVar19; - int *piVar20; - undefined4 *puVar21; - RoomDescriptor *pRVar22; - uint uVar23; - undefined1 uVar24; + qword qVar4; + Manager *pMVar5; + char cVar6; + byte bVar7; + ChallengeParam *pCVar8; + Entity_Player *pEVar9; + uint uVar10; + int iVar11; + LevelGenerator_Room *pLVar12; + Entity_Player *pEVar13; + int iVar14; + undefined4 uVar15; + int *piVar16; + undefined4 *puVar17; + void *pvVar18; + RoomDescriptor *pRVar19; + uint uVar20; + undefined1 uVar21; Game *in_ECX; undefined4 extraout_ECX; undefined4 extraout_ECX_00; @@ -467477,14 +468228,15 @@ undefined4 Level::place_special_rooms(LevelGenerator *param_1,RNG param_2,int pa undefined4 extraout_ECX_02; undefined4 extraout_ECX_03; undefined4 extraout_ECX_04; - RNG extraout_ECX_05; - RNG extraout_ECX_06; - RNG extraout_ECX_07; - RNG extraout_ECX_08; - RNG extraout_ECX_09; - RNG extraout_ECX_10; + uint extraout_ECX_05; + uint extraout_ECX_06; + uint extraout_ECX_07; + uint extraout_ECX_08; + Entity_Player *extraout_ECX_09; + Entity_Player *extraout_ECX_10; + Game *pGVar22; undefined4 extraout_ECX_11; - RoomConfig *pRVar25; + RoomConfig *pRVar23; undefined4 extraout_ECX_12; undefined4 extraout_ECX_13; undefined4 extraout_ECX_14; @@ -467495,426 +468247,424 @@ undefined4 Level::place_special_rooms(LevelGenerator *param_1,RNG param_2,int pa undefined4 extraout_ECX_19; undefined4 extraout_ECX_20; undefined4 extraout_ECX_21; - RNG extraout_ECX_22; - RNG extraout_ECX_23; - RNG *pRVar26; + Entity_Player *extraout_ECX_22; + Entity_Player *extraout_ECX_23; uint extraout_EDX; - PlayerManager *pPVar27; + PlayerManager *pPVar24; int extraout_EDX_00; - Game *pGVar28; - LevelGenerator *pLVar29; - RNG RVar30; - Game *pGVar31; - int *piVar32; - RoomConfig_Room *pRVar33; - RNG *pRVar34; - void **ppvVar35; - int iVar36; - bool bVar37; - undefined8 uVar38; + LevelGenerator *pLVar25; + undefined1 *puVar26; + Game *pGVar27; + Entity_Player *pEVar28; + int *piVar29; + RoomConfig_Room *pRVar30; + RNG *pRVar31; + void **ppvVar32; + int iVar33; + bool bVar34; + undefined8 uVar35; undefined4 in_stack_fffffe84; + uint uVar36; undefined4 in_stack_fffffe88; - undefined4 uVar39; + undefined4 uVar37; + uint uVar38; int local_14c; int *local_148; int *local_144; int local_13c; - RNG local_138; + Entity_Player *local_138; uint local_134; uint local_130; RoomConfig_Room *local_12c; RNG *local_128; undefined1 local_124 [4]; - RNG local_120; + Entity_Player *local_120; undefined8 local_118; - RNG *local_110; + int *local_110; undefined8 local_108; - RNG local_100; - RNG local_fc; - RNG local_f8; + Entity_Player *local_100; + Entity_Player *local_fc; + Entity_Player *local_f8; int local_f4; RoomConfig_Room *local_f0; uint local_ec; - RNG local_e8; + Entity_Player *local_e8; LevelGenerator *local_e4; RoomConfig *local_e0; Entity_Player *local_dc; Game *local_d8; - RNG local_d4; + Entity_Player *local_d4; RoomConfig_Room *local_d0; char local_c9; undefined1 local_c8 [8]; RNG local_c0; - undefined8 local_bc; - undefined4 local_b4; - RNG local_b0 [37]; - RNG local_1c; + int local_b0 [37]; + int local_1c; uint local_18; void *local_10; undefined1 *puStack_c; - RNG local_8; + int local_8; - pGVar28 = g_game; - local_8 = (RNG)0xffffffff; + pGVar22 = g_game; + local_8 = 0xffffffff; puStack_c = &LAB_00afd9e0; local_10 = ExceptionList; local_18 = __security_cookie ^ (uint)(local_b0 + 0x2b); ExceptionList = &local_10; - local_138 = (RNG)0x0; - iVar12 = in_ECX->_stageType; - iVar17 = in_ECX->_stage; + local_138 = (Entity_Player *)0x0; + iVar11 = in_ECX->_stageType; + iVar14 = in_ECX->_stage; local_e4 = param_1; local_13c = param_3; local_e0 = &g_game->_roomConfig; local_d8 = in_ECX; - uVar38 = RoomConfig::GetStageID(0xffffffff,local_18); - local_12c = (RoomConfig_Room *)uVar38; - local_134 = CONCAT31((int3)((ulonglong)uVar38 >> 0x28),1); + uVar35 = RoomConfig::GetStageID(0xffffffff,local_18); + local_12c = (RoomConfig_Room *)uVar35; + local_134 = CONCAT31((int3)((ulonglong)uVar35 >> 0x28),1); local_130 = 0xffffffff; local_14c = -1; - pCVar9 = Game::GetChallengeParams(pGVar28); - local_120 = (RNG)&pCVar9->field_0x18; - if ((pCVar9->_isMegaSatan == 0) || (iVar17 != 0xb)) { - iVar12 = BossPool::GetBossId(&pGVar28->_bossPool,iVar17,iVar12,(RNG *)&pGVar28->_bossPool); - pGVar28 = local_d8; - pRVar34 = &local_d8->_generationRNG; - RVar30 = *pRVar34; - if (RVar30 == (RNG)0x0) { + pCVar8 = Game::GetChallengeParams(pGVar22); + local_120 = (Entity_Player *)&pCVar8->_roomset; + if ((pCVar8->_isMegaSatan == 0) || (iVar14 != 0xb)) { + iVar11 = BossPool::GetBossId(&pGVar22->_bossPool,iVar14,iVar11,(RNG *)&pGVar22->_bossPool); + pGVar22 = local_d8; + pRVar31 = &local_d8->_generationRNG; + uVar10 = pRVar31->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)*(undefined4 *)&local_d8->field_0x182d8 & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << ((byte)*(undefined4 *)&local_d8->field_0x182dc & 0x1f) ^ uVar11; - *pRVar34 = (RNG)(uVar11 >> ((byte)*(undefined4 *)&local_d8->field_0x182e0 & 0x1f) ^ uVar11); - iVar17 = pick_boss_room_config(); - if (iVar17 == 0) { + uVar10 = uVar10 >> ((byte)(local_d8->_generationRNG)._shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)(local_d8->_generationRNG)._shift2 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10 >> ((byte)(local_d8->_generationRNG)._shift3 & 0x1f) ^ uVar10; + iVar14 = pick_boss_room_config(); + if (iVar14 == 0) { LAB_007394ce: /* WARNING: Subroutine does not return */ KAGE_LogMessage(1, "[warn] could not find matching boss room (boss id: %d) for the current stage\n" - ,iVar12); + ,iVar11); } local_f0 = (RoomConfig_Room *) - LevelGenerator::place_boss_room(*(undefined4 *)(iVar17 + 0x48),iVar17 + 0x38,0); + LevelGenerator::place_boss_room(*(undefined4 *)(iVar14 + 0x48),iVar14 + 0x38,0); if (local_f0 == (RoomConfig_Room *)0x0) { ExceptionList = local_10; return 0; } - RVar30 = *pRVar34; + iVar11 = pRVar31->_seed; local_d8->_lastBossRoomListIdx = local_d8->_nbRooms; *(int *)&local_d8->field_0x18330 = local_d8->_nbRooms; in_stack_fffffe88 = 0x73952d; - place_room(local_f0,iVar17,RVar30,local_f0,0); + place_room(local_f0,iVar14,iVar11,local_f0,0); if (local_d8->_stage == 0xc) { - uVar11 = RNG::RandomInt(pRVar34,4); - local_fc = (RNG)(uVar11 + 5); + uVar10 = RNG::RandomInt(pRVar31,4); + local_fc = (Entity_Player *)(uVar10 + 5); local_108 = 0; - local_100 = (RNG)0x0; - local_8 = (RNG)0x1; + local_100 = (Entity_Player *)0x0; + local_8 = 1; FUN_00752980(extraout_ECX); - RVar16 = (RNG)0x0; - local_b0[0] = (RNG)0x3c; - local_b0[1] = (RNG)0x2b; - local_b0[2] = (RNG)0x32; - local_b0[3] = (RNG)0x17; - local_b0[0x24] = (RNG)0x1a; - local_b0[4] = (RNG)0x43; - local_b0[5] = (RNG)0x45; - local_b0[6] = (RNG)0x3d; - local_b0[7] = (RNG)0x39; - local_b0[8] = (RNG)0x2c; - local_b0[9] = (RNG)0x40; - local_b0[10] = (RNG)0x38; - local_b0[0xb] = (RNG)0x41; - local_b0[0xc] = (RNG)0x2f; - local_b0[0xd] = (RNG)0x2d; - local_b0[0xe] = (RNG)0x2b; - local_b0[0xf] = (RNG)0x32; - local_b0[0x10] = (RNG)0x34; - local_b0[0x11] = (RNG)0x9; - local_b0[0x12] = (RNG)0xa; - local_b0[0x13] = (RNG)0x12; - local_b0[0x14] = (RNG)0x20; - local_b0[0x15] = (RNG)0x24; - local_b0[0x16] = (RNG)0x1b; - local_b0[0x17] = (RNG)0xd; - local_b0[0x18] = (RNG)0xe; - local_b0[0x19] = (RNG)0x14; - local_b0[0x1a] = (RNG)0x11; - local_b0[0x1b] = (RNG)0x1c; - local_b0[0x1c] = (RNG)0x2; - local_b0[0x1d] = (RNG)0x1; - local_b0[0x1e] = (RNG)0x15; - local_b0[0x1f] = (RNG)0x3; - local_b0[0x20] = (RNG)0x4; - local_b0[0x21] = (RNG)0x22; - local_b0[0x22] = (RNG)0x25; - local_b0[0x23] = (RNG)0x1d; - RVar30 = local_100; - pRVar26 = (RNG *)local_108._4_4_; + pEVar28 = (Entity_Player *)0x0; + local_b0[0] = 0x3c; + local_b0[1] = 0x2b; + local_b0[2] = 0x32; + local_b0[3] = 0x17; + local_b0[0x24] = 0x1a; + local_b0[4] = 0x43; + local_b0[5] = 0x45; + local_b0[6] = 0x3d; + local_b0[7] = 0x39; + local_b0[8] = 0x2c; + local_b0[9] = 0x40; + local_b0[10] = 0x38; + local_b0[0xb] = 0x41; + local_b0[0xc] = 0x2f; + local_b0[0xd] = 0x2d; + local_b0[0xe] = 0x2b; + local_b0[0xf] = 0x32; + local_b0[0x10] = 0x34; + local_b0[0x11] = 9; + local_b0[0x12] = 10; + local_b0[0x13] = 0x12; + local_b0[0x14] = 0x20; + local_b0[0x15] = 0x24; + local_b0[0x16] = 0x1b; + local_b0[0x17] = 0xd; + local_b0[0x18] = 0xe; + local_b0[0x19] = 0x14; + local_b0[0x1a] = 0x11; + local_b0[0x1b] = 0x1c; + local_b0[0x1c] = 2; + local_b0[0x1d] = 1; + local_b0[0x1e] = 0x15; + local_b0[0x1f] = 3; + local_b0[0x20] = 4; + local_b0[0x21] = 0x22; + local_b0[0x22] = 0x25; + local_b0[0x23] = 0x1d; + pEVar13 = local_100; + puVar17 = (undefined4 *)local_108._4_4_; do { - if (RVar16 != (RNG)&DAT_00000037) { - if (RVar16 != (RNG)&DAT_0000003f) { - if (RVar16 != (RNG)&DAT_00000006) { - if (RVar16 != (RNG)0x3e) { - pRVar10 = local_b0; - if (pRVar10 != local_b0 + 0x25) { + if (pEVar28 != (Entity_Player *)&DAT_00000037) { + if (pEVar28 != (Entity_Player *)&DAT_0000003f) { + if (pEVar28 != (Entity_Player *)&DAT_00000006) { + if (pEVar28 != (Entity_Player *)0x3e) { + pEVar9 = (Entity_Player *)local_b0; + if (pEVar9 != (Entity_Player *)(local_b0 + 0x25)) { do { - if (*pRVar10 == RVar16) break; - pRVar10 = pRVar10 + 1; - } while (pRVar10 != local_b0 + 0x25); + if (*(Entity_Player **)pEVar9 == pEVar28) break; + pEVar9 = (Entity_Player *)&pEVar9->field_0x4; + } while (pEVar9 != (Entity_Player *)(local_b0 + 0x25)); } - local_d4 = (RNG)(local_b0 + 0x25); - if (pRVar10 == local_b0 + 0x25) { - local_d4 = RVar16; - if ((RNG)pRVar26 == RVar30) { - std::vector::_Emplace_reallocate(pRVar26,&local_d4); - RVar30 = local_100; - pRVar26 = (RNG *)local_108._4_4_; + local_d4 = (Entity_Player *)(local_b0 + 0x25); + if (pEVar9 == (Entity_Player *)(local_b0 + 0x25)) { + local_d4 = pEVar28; + if ((Entity_Player *)puVar17 == pEVar13) { + std::vector::_Emplace_reallocate(puVar17,&local_d4); + pEVar13 = local_100; + puVar17 = (undefined4 *)local_108._4_4_; } else { - *pRVar26 = RVar16; - local_108 = CONCAT44(pRVar26 + 1,(int)local_108); - pRVar26 = pRVar26 + 1; + *puVar17 = pEVar28; + local_108 = CONCAT44(puVar17 + 1,(int)local_108); + puVar17 = puVar17 + 1; } } } } } } - RVar16 = (RNG)((int)RVar16 + 1); - } while ((int)RVar16 < 0x46); - iVar17 = (int)local_108; - local_e8 = (RNG)((int)pRVar26 - (int)local_108 >> 2); - iVar12 = (int)local_e8 - 1; - if (0 < iVar12) { + pEVar28 = (Entity_Player *)&pEVar28->field_0x1; + } while ((int)pEVar28 < 0x46); + iVar11 = (int)local_108; + local_e8 = (Entity_Player *)((int)puVar17 - (int)local_108 >> 2); + puVar26 = (undefined1 *)((int)&local_e8[-1]._replacedPlayer + 3); + if (0 < (int)puVar26) { do { - RVar30 = *pRVar34; - if (RVar30 == (RNG)0x0) { + uVar10 = pRVar31->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)*(undefined4 *)&pGVar28->field_0x182d8 & 0x1f) ^ - (uint)RVar30; - uVar11 = uVar11 << ((byte)*(undefined4 *)&pGVar28->field_0x182dc & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> ((byte)*(undefined4 *)&pGVar28->field_0x182e0 & 0x1f) ^ uVar11); - uVar11 = 0; - *pRVar34 = RVar30; - if (local_e8 != (RNG)0x0) { - uVar11 = (uint)RVar30 % (uint)local_e8; + uVar10 = uVar10 >> ((byte)(pGVar22->_generationRNG)._shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)(pGVar22->_generationRNG)._shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)(pGVar22->_generationRNG)._shift3 & 0x1f) ^ uVar10; + uVar36 = 0; + pRVar31->_seed = uVar10; + if (local_e8 != (Entity_Player *)0x0) { + uVar36 = uVar10 % (uint)local_e8; } - uVar39 = *(undefined4 *)((int)local_108 + iVar12 * 4); - local_e8 = (RNG)((int)local_e8 - 1); - *(undefined4 *)((int)local_108 + iVar12 * 4) = - *(undefined4 *)((int)local_108 + uVar11 * 4); - iVar12 = iVar12 + -1; - *(undefined4 *)((int)local_108 + uVar11 * 4) = uVar39; - } while (0 < iVar12); + uVar37 = *(undefined4 *)((int)local_108 + (int)puVar26 * 4); + local_e8 = (Entity_Player *)((int)&local_e8[-1]._replacedPlayer + 3); + *(undefined4 *)((int)local_108 + (int)puVar26 * 4) = + *(undefined4 *)((int)local_108 + uVar36 * 4); + puVar26 = puVar26 + -1; + *(undefined4 *)((int)local_108 + uVar36 * 4) = uVar37; + } while (0 < (int)puVar26); } - local_e8 = (RNG)0x0; + local_e8 = (Entity_Player *)0x0; if (0 < (int)local_fc) { do { - RVar30 = *pRVar34; - local_d4 = *(RNG *)(iVar17 + (int)local_e8 * 4); - if (RVar30 == (RNG)0x0) { + uVar10 = pRVar31->_seed; + local_d4 = *(Entity_Player **)(iVar11 + (int)local_e8 * 4); + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)*(undefined4 *)&pGVar28->field_0x182d8 & 0x1f) ^ - (uint)RVar30; - uVar11 = uVar11 << ((byte)*(undefined4 *)&pGVar28->field_0x182dc & 0x1f) ^ uVar11; - *pRVar34 = (RNG)(uVar11 >> ((byte)*(undefined4 *)&pGVar28->field_0x182e0 & 0x1f) ^ uVar11) - ; - iVar12 = pick_boss_room_config(); - if (iVar12 == 0) { + uVar10 = uVar10 >> ((byte)(pGVar22->_generationRNG)._shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)(pGVar22->_generationRNG)._shift2 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10 >> ((byte)(pGVar22->_generationRNG)._shift3 & 0x1f) ^ uVar10; + iVar14 = pick_boss_room_config(); + if (iVar14 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(1, "[warn] could not find matching boss room (boss id: %d) for the current stage\n" ,local_d4); } local_f0 = (RoomConfig_Room *) - LevelGenerator::place_boss_room(*(undefined4 *)(iVar12 + 0x48),iVar12 + 0x38,1) + LevelGenerator::place_boss_room(*(undefined4 *)(iVar14 + 0x48),iVar14 + 0x38,1) ; if (local_f0 == (RoomConfig_Room *)0x0) { if ((int)local_e8 < 5) { - if (iVar17 == 0) { + if (iVar11 == 0) { ExceptionList = local_10; return 0; } - uVar11 = (int)local_100 - iVar17 & 0xfffffffc; - iVar12 = iVar17; - if (0xfff < uVar11) { - iVar12 = *(int *)(iVar17 + -4); - uVar11 = uVar11 + 0x23; - if (0x1f < (iVar17 - iVar12) - 4U) goto LAB_00739809; + uVar10 = (int)local_100 - iVar11 & 0xfffffffc; + iVar14 = iVar11; + if (0xfff < uVar10) { + iVar14 = *(int *)(iVar11 + -4); + uVar10 = uVar10 + 0x23; + if (0x1f < (iVar11 - iVar14) - 4U) goto LAB_00739809; } - operator_delete(iVar12,uVar11); + operator_delete(iVar14,uVar10); ExceptionList = local_10; return 0; } break; } - RVar30 = *pRVar34; + iVar33 = pRVar31->_seed; local_d8->_lastBossRoomListIdx = local_d8->_nbRooms; in_stack_fffffe88 = 0x7397ad; - place_room(local_f0,iVar12,RVar30,local_f0,0); - local_e8 = (RNG)((int)local_e8 + 1); + place_room(local_f0,iVar14,iVar33,local_f0,0); + local_e8 = (Entity_Player *)&local_e8->field_0x1; } while ((int)local_e8 < (int)local_fc); } - local_8 = (RNG)0xffffffff; - if (iVar17 != 0) { - uVar11 = ((int)local_100 - iVar17 >> 2) * 4; - iVar12 = iVar17; - if (0xfff < uVar11) { - iVar12 = *(int *)(iVar17 + -4); - uVar11 = uVar11 + 0x23; - if (0x1f < (iVar17 - iVar12) - 4U) { + local_8 = 0xffffffff; + if (iVar11 != 0) { + uVar10 = ((int)local_100 - iVar11 >> 2) * 4; + iVar14 = iVar11; + if (0xfff < uVar10) { + iVar14 = *(int *)(iVar11 + -4); + uVar10 = uVar10 + 0x23; + if (0x1f < (iVar11 - iVar14) - 4U) { LAB_00739809: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar12,uVar11); + operator_delete(iVar14,uVar10); local_108 = 0; - local_100 = (RNG)0x0; + local_100 = (Entity_Player *)0x0; } } - pGVar28 = g_game; - uVar11 = g_game->_debugCurses; - uVar15 = local_d8->_curses; - uVar19 = Seeds::GetForcedCurses(); - uVar23 = Seeds::GetPreventedCurses(); - pGVar31 = local_d8; - if ((~uVar23 & (uVar19 | uVar11 | uVar15) & 2) == 0) { - uVar39 = extraout_ECX_00; + pGVar22 = g_game; + uVar10 = g_game->_debugCurses; + uVar36 = local_d8->_curses; + uVar38 = Seeds::GetForcedCurses(); + uVar20 = Seeds::GetPreventedCurses(); + pGVar27 = local_d8; + if ((~uVar20 & (uVar38 | uVar10 | uVar36) & 2) == 0) { + uVar37 = extraout_ECX_00; if (local_f0 == (RoomConfig_Room *)0x0) goto LAB_00739a1e; } else { - local_fc = local_d8->_generationRNG; - iVar12 = BossPool::GetBossId(&pGVar28->_bossPool,local_d8->_stage + 1,local_d8->_stageType, - (RNG *)&pGVar28->_bossPool); - RVar30 = pGVar31->_generationRNG; - if (RVar30 == (RNG)0x0) { + local_fc = (Entity_Player *)(local_d8->_generationRNG)._seed; + iVar11 = BossPool::GetBossId(&pGVar22->_bossPool,local_d8->_stage + 1,local_d8->_stageType, + (RNG *)&pGVar22->_bossPool); + uVar10 = (pGVar27->_generationRNG)._seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)*(undefined4 *)&pGVar31->field_0x182d8 & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << ((byte)*(undefined4 *)&pGVar31->field_0x182dc & 0x1f) ^ uVar11; - pGVar31->_generationRNG = - (RNG)(uVar11 >> ((byte)*(undefined4 *)&pGVar31->field_0x182e0 & 0x1f) ^ uVar11); - iVar17 = pick_boss_room_config(); - if (iVar17 == 0) goto LAB_007394ce; + uVar10 = uVar10 >> ((byte)(pGVar27->_generationRNG)._shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)(pGVar27->_generationRNG)._shift2 & 0x1f) ^ uVar10; + (pGVar27->_generationRNG)._seed = + uVar10 >> ((byte)(pGVar27->_generationRNG)._shift3 & 0x1f) ^ uVar10; + iVar14 = pick_boss_room_config(); + if (iVar14 == 0) goto LAB_007394ce; local_f0 = (RoomConfig_Room *) - LevelGenerator::place_boss_room(*(undefined4 *)(iVar17 + 0x48),iVar17 + 0x38,0); - pGVar31->_lastBossRoomListIdx = pGVar31->_nbRooms; + LevelGenerator::place_boss_room(*(undefined4 *)(iVar14 + 0x48),iVar14 + 0x38,0); + pGVar27->_lastBossRoomListIdx = pGVar27->_nbRooms; if (local_f0 == (RoomConfig_Room *)0x0) { ExceptionList = local_10; return 0; } in_stack_fffffe88 = 0x7399cc; - place_room(local_f0,iVar17,pGVar31->_generationRNG,pGVar31->_nbRooms,0); - pGVar31->_generationRNG = local_fc; - *(undefined8 *)&pGVar31->field_0x182d8 = 0x900000005; - *(undefined4 *)&pGVar31->field_0x182e0 = 7; - uVar39 = extraout_ECX_01; + place_room(local_f0,iVar14,(pGVar27->_generationRNG)._seed,pGVar27->_nbRooms,0); + (pGVar27->_generationRNG)._seed = (int)local_fc; + (pGVar27->_generationRNG)._shift1 = 5; + (pGVar27->_generationRNG)._shift2 = 9; + (pGVar27->_generationRNG)._shift3 = 7; + uVar37 = extraout_ECX_01; } - LevelGenerator::block_room_area(local_f0,uVar39); - pGVar28 = g_game; + LevelGenerator::block_room_area(local_f0,uVar37); + pGVar22 = g_game; } else { if (*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < g_invalidRoomDescriptorGuard) { _Init_thread_header(&g_invalidRoomDescriptorGuard); if (g_invalidRoomDescriptorGuard == -1) { - local_8 = (RNG)0x0; + local_8 = 0; RoomDescriptor::constructor(&g_roomDescriptorDummy); _atexit(FUN_00b15b30); - local_8 = (RNG)0xffffffff; + local_8 = 0xffffffff; _Init_thread_footer(&g_invalidRoomDescriptorGuard); } - pGVar28 = g_game; + pGVar22 = g_game; } - pRVar22 = &g_roomDescriptorDummy; + pRVar19 = &g_roomDescriptorDummy; if ((uint)local_d8->_currentDimensionIdx < 3) { - pRVar22 = local_d8->_roomList + 0x201; + pRVar19 = local_d8->_roomList + 0x201; } - local_d8->_lastBossRoomListIdx = pRVar22->ListIndex; + local_d8->_lastBossRoomListIdx = pRVar19->ListIndex; } LAB_00739a1e: - pGVar31 = local_d8; - RVar30 = local_120; - local_fc = (RNG)0x8; + pGVar27 = local_d8; + pEVar13 = local_120; + local_fc = (Entity_Player *)0x8; std::set::find_node(&local_108,&local_fc); - if (((((RNG *)((int)local_100 + 0xc))->field_0x1 != '\0') || - (8 < (int)*(RNG *)((int)local_100 + 0x10))) || (local_100 == (RNG)*(RNG **)RVar30)) { - RVar30 = pGVar31->_generationRNG; - if (RVar30 == (RNG)0x0) { + if (((*(char *)((int)local_100 + 0xd) != '\0') || (8 < *(int *)((int)local_100 + 0x10))) || + (local_100 == (Entity_Player *)*(undefined4 **)&pEVar13->field_0x0)) { + uVar10 = (pGVar27->_generationRNG)._seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)*(undefined4 *)&pGVar31->field_0x182d8 & 0x1f) ^ (uint)RVar30; - local_bc = 0x500000002; - uVar11 = uVar11 << ((byte)*(undefined4 *)&pGVar31->field_0x182dc & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> ((byte)*(undefined4 *)&pGVar31->field_0x182e0 & 0x1f) ^ uVar11); - local_fc = (RNG)0xf; - pGVar31->_generationRNG = RVar30; - pRVar33 = (RoomConfig_Room *)0x1; - iVar12 = PlayerManager::FirstCollectibleOwner - (&pGVar28->_playerManager,0x24d,&pGVar28->_playerManager,1); - if (iVar12 != 0) { - pRVar33 = (RoomConfig_Room *)0x2; + uVar10 = uVar10 >> ((byte)(pGVar27->_generationRNG)._shift1 & 0x1f) ^ uVar10; + local_c0._shift1 = 2; + local_c0._shift2 = 5; + uVar10 = uVar10 << ((byte)(pGVar27->_generationRNG)._shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)(pGVar27->_generationRNG)._shift3 & 0x1f) ^ uVar10; + local_fc = (Entity_Player *)0xf; + (pGVar27->_generationRNG)._seed = uVar10; + pRVar30 = (RoomConfig_Room *)0x1; + iVar11 = PlayerManager::FirstCollectibleOwner + (&pGVar22->_playerManager,0x24d,&pGVar22->_playerManager,1); + if (iVar11 != 0) { + pRVar30 = (RoomConfig_Room *)0x2; } - iVar12 = 0; - local_f0 = pRVar33; + iVar11 = 0; + local_f0 = pRVar30; do { - local_d4 = (RNG)0x0; - if (RVar30 == (RNG)0x0) { + local_d4 = (Entity_Player *)0x0; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)local_bc & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << ((byte)((ulonglong)local_bc >> 0x20) & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> (local_fc._0_1_ & 0x1f) ^ uVar11); + uVar10 = uVar10 >> ((byte)local_c0._shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)local_c0._shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)local_fc & 0x1f) ^ uVar10; in_stack_fffffe88 = 0xffffffff; in_stack_fffffe84 = 0; - pRVar33 = RoomConfig::GetRandomRoom - (local_e0,(uint)RVar30,1,0,8,0xd,0,-1,1,10,(uint *)&local_d4,0xffffffff,-1 - ); - pLVar13 = LevelGenerator::GetNewEndRoom(local_e4,pRVar33->Shape,(uint *)&pRVar33->Doors); - if (pLVar13 == (LevelGenerator_Room *)0x0) { - if (iVar12 == 0) { + pRVar30 = RoomConfig::GetRandomRoom + (local_e0,uVar10,1,0,8,0xd,0,-1,1,10,(uint *)&local_d4,0xffffffff,-1); + pLVar12 = LevelGenerator::GetNewEndRoom(local_e4,pRVar30->Shape,(uint *)&pRVar30->Doors); + if (pLVar12 == (LevelGenerator_Room *)0x0) { + if (iVar11 == 0) { ExceptionList = local_10; return 0; } break; } in_stack_fffffe88 = 0x739b92; - place_room(pLVar13,pRVar33,RVar30,extraout_ECX_02,0); - iVar12 = iVar12 + 1; - } while (iVar12 < (int)local_f0); - pGVar28 = g_game; + place_room(pLVar12,pRVar30,uVar10,extraout_ECX_02,0); + iVar11 = iVar11 + 1; + } while (iVar11 < (int)local_f0); + pGVar22 = g_game; } - pGVar31 = local_d8; - RVar30 = local_d8->_generationRNG; - pRVar34 = &local_d8->_generationRNG; - local_128 = pRVar34; - if (RVar30 == (RNG)0x0) { + pGVar27 = local_d8; + uVar10 = (local_d8->_generationRNG)._seed; + pRVar31 = &local_d8->_generationRNG; + local_128 = pRVar31; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)*(undefined4 *)&local_d8->field_0x182d8 & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << ((byte)*(undefined4 *)&local_d8->field_0x182dc & 0x1f) ^ uVar11; - local_fc = (RNG)(uVar11 >> ((byte)*(undefined4 *)&local_d8->field_0x182e0 & 0x1f) ^ uVar11); - *pRVar34 = local_fc; + uVar10 = uVar10 >> ((byte)(local_d8->_generationRNG)._shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)(local_d8->_generationRNG)._shift2 & 0x1f) ^ uVar10; + local_fc = (Entity_Player *)(uVar10 >> ((byte)(local_d8->_generationRNG)._shift3 & 0x1f) ^ uVar10) + ; + pRVar31->_seed = (int)local_fc; if (local_d8->_stage < 7) { LAB_00739c87: - local_d4 = (RNG)0x2; + local_d4 = (Entity_Player *)0x2; std::set::find_node(&local_108,&local_d4); - if ((((((RNG *)((int)local_100 + 0xc))->field_0x1 != '\0') || - (2 < (int)*(RNG *)((int)local_100 + 0x10))) || (local_100 == (RNG)*(RNG **)local_120)) && - (pGVar28->_victoryLap < 3)) { + if ((((*(char *)((int)local_100 + 0xd) != '\0') || (2 < *(int *)((int)local_100 + 0x10))) || + (local_100 == (Entity_Player *)*(undefined4 **)&local_120->field_0x0)) && + (pGVar22->_victoryLap < 3)) { if (((g_manager->_persistentGameData)._achievements[0x97] == 0) && ((g_manager->_state != 2 || - (((pGVar28->_dailyChallenge)._id == 0 && (pGVar28->_isDebug == 0)))))) { + (((pGVar22->_dailyChallenge)._id == 0 && (pGVar22->_isDebug == 0)))))) { local_dc = (Entity_Player *)0x1; } else { @@ -467922,463 +468672,458 @@ LAB_00739c87: } if (((g_manager->_persistentGameData)._achievements[0x98] == 0) && ((g_manager->_state != 2 || - (((pGVar28->_dailyChallenge)._id == 0 && (pGVar28->_isDebug == 0)))))) { - local_e8 = (RNG)0x1; + (((pGVar22->_dailyChallenge)._id == 0 && (pGVar22->_isDebug == 0)))))) { + local_e8 = (Entity_Player *)0x1; } else { - local_e8 = (RNG)0x2; + local_e8 = (Entity_Player *)0x2; } if (((g_manager->_persistentGameData)._achievements[0x99] != 0) || ((g_manager->_state == 2 && - (((pGVar28->_dailyChallenge)._id != 0 || (pGVar28->_isDebug != 0)))))) { + (((pGVar22->_dailyChallenge)._id != 0 || (pGVar22->_isDebug != 0)))))) { local_dc = (Entity_Player *)&local_dc->field_0x1; } if (((g_manager->_persistentGameData)._achievements[0x9a] != 0) || ((g_manager->_state == 2 && - (((pGVar28->_dailyChallenge)._id != 0 || (pGVar28->_isDebug != 0)))))) { - local_e8 = (RNG)((int)local_e8 + 1); + (((pGVar22->_dailyChallenge)._id != 0 || (pGVar22->_isDebug != 0)))))) { + local_e8 = (Entity_Player *)&local_e8->field_0x1; } - RVar30 = *pRVar34; - if (RVar30 == (RNG)0x0) { + uVar10 = pRVar31->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)*(undefined4 *)&pGVar31->field_0x182d8 & 0x1f) ^ (uint)RVar30; + uVar10 = uVar10 >> ((byte)(pGVar27->_generationRNG)._shift1 & 0x1f) ^ uVar10; local_108 = 0x300000003; - uVar11 = uVar11 << ((byte)*(undefined4 *)&pGVar31->field_0x182dc & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> ((byte)*(undefined4 *)&pGVar31->field_0x182e0 & 0x1f) ^ uVar11); + uVar10 = uVar10 << ((byte)(pGVar27->_generationRNG)._shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)(pGVar27->_generationRNG)._shift3 & 0x1f) ^ uVar10; local_f0 = (RoomConfig_Room *)0x1a; - *pRVar34 = RVar30; - if (RVar30 == (RNG)0x0) { + pRVar31->_seed = uVar10; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> 3 ^ (uint)RVar30; - uVar11 = uVar11 << 3 ^ uVar11; - uVar11 = uVar11 >> 0x1a ^ uVar11; - local_130 = uVar11 % (uint)local_dc; - if (uVar11 == 0) { + uVar10 = uVar10 >> 3 ^ uVar10; + uVar10 = uVar10 << 3 ^ uVar10; + uVar10 = uVar10 >> 0x1a ^ uVar10; + local_130 = uVar10 % (uint)local_dc; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = uVar11 >> 3 ^ uVar11; - uVar11 = uVar11 << 3 ^ uVar11; - local_d4 = (RNG)(uVar11 >> 0x1a ^ uVar11); - uVar11 = local_130 + (uint)local_d4 % (uint)local_e8; - if (local_d4 == (RNG)0x0) { + uVar10 = uVar10 >> 3 ^ uVar10; + uVar10 = uVar10 << 3 ^ uVar10; + local_d4 = (Entity_Player *)(uVar10 >> 0x1a ^ uVar10); + puVar26 = (undefined1 *)(local_130 + (uint)local_d4 % (uint)local_e8); + if (local_d4 == (Entity_Player *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } local_130 = (uint)local_d4 >> 3 ^ (uint)local_d4; local_130 = local_130 << 3 ^ local_130; local_130 = local_130 >> 0x1a ^ local_130; - if (((local_130 & 1) == 0) || ((pGVar28->_difficulty != 1 && (pGVar28->_difficulty != 3)))) { - uVar11 = (int)(&(local_dc->_sprite)._filename + -4) + 0x16 + (int)local_e8; + if (((local_130 & 1) == 0) || ((pGVar22->_difficulty != 1 && (pGVar22->_difficulty != 3)))) { + puVar26 = (undefined1 *)((int)&local_dc[-1]._replacedPlayer + 2) + (int)local_e8; } - pEVar14 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x53); - if (pEVar14 == (Entity_Player *)0x0) { - local_e8 = (RNG)0x0; + pEVar13 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x53); + if (pEVar13 == (Entity_Player *)0x0) { + local_e8 = (Entity_Player *)0x0; } else { - local_e8 = (RNG)Entity_Player::GetTrinketMultiplier(pEVar14,0x53); + local_e8 = (Entity_Player *)Entity_Player::GetTrinketMultiplier(pEVar13,0x53); } - RVar30 = local_e8; + pEVar13 = local_e8; if (local_130 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = local_130 >> ((byte)local_108 & 0x1f) ^ local_130; - uVar15 = uVar15 << ((byte)((ulonglong)local_108 >> 0x20) & 0x1f) ^ uVar15; - local_d4 = (RNG)(uVar15 >> ((byte)local_f0 & 0x1f) ^ uVar15); - if (local_d4._0_1_ != '\0') { - if ((((uint)local_d4 & 0xff) != 1) || (uVar11 < 2)) goto LAB_0073a000; - local_e8 = (RNG)0x0; + uVar10 = local_130 >> ((byte)local_108 & 0x1f) ^ local_130; + uVar10 = uVar10 << ((byte)((ulonglong)local_108 >> 0x20) & 0x1f) ^ uVar10; + local_d4 = (Entity_Player *)(uVar10 >> ((byte)local_f0 & 0x1f) ^ uVar10); + if ((char)local_d4 != '\0') { + if ((((uint)local_d4 & 0xff) != 1) || (puVar26 < (undefined1 *)0x2)) goto LAB_0073a000; + local_e8 = (Entity_Player *)0x0; local_dc = (Entity_Player *)0x0; goto LAB_00739faa; } if ((int)local_e8 < 2) { - uVar11 = 0xb; + puVar26 = (undefined1 *)0xb; LAB_0073a036: local_dc = (Entity_Player *)0x0; - local_e8 = (RNG)0x0; + local_e8 = (Entity_Player *)0x0; if (g_game->_stage == 10) { - local_e8 = (RNG)0x0; + local_e8 = (Entity_Player *)0x0; if ((g_game->_stageType == 0) && - (local_e8 = (RNG)PlayerManager::FirstTrinketOwner(0xa1), local_e8 != (RNG)0x0)) { + (local_e8 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0xa1), + local_e8 != (Entity_Player *)0x0)) { local_dc = (Entity_Player *)0x0; - iVar12 = Entity_Player::GetTrinketMultiplier((Entity_Player *)local_e8,0xa1); - if (1 < iVar12) goto LAB_0073a139; + iVar11 = Entity_Player::GetTrinketMultiplier(local_e8,0xa1); + if (1 < iVar11) goto LAB_0073a139; } local_dc = (Entity_Player *)0x0; if ((((g_game->_stage == 10) && (local_dc = (Entity_Player *)0x0, g_game->_stageType == 1) ) && (local_dc = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x9b), local_dc != (Entity_Player *)0x0)) && - (iVar12 = Entity_Player::GetTrinketMultiplier(local_dc,0x9b), 1 < iVar12)) + (iVar11 = Entity_Player::GetTrinketMultiplier(local_dc,0x9b), 1 < iVar11)) goto LAB_0073a139; } if (((g_game->_stage == 7) || (g_game->_stage == 8)) && - ((pEVar14 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x6e), - pEVar14 != (Entity_Player *)0x0 && - (iVar12 = Entity_Player::GetTrinketMultiplier(pEVar14,0x6e), 1 < iVar12)))) { + ((pEVar13 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x6e), + pEVar13 != (Entity_Player *)0x0 && + (iVar11 = Entity_Player::GetTrinketMultiplier(pEVar13,0x6e), 1 < iVar11)))) { LAB_0073a139: - if (uVar11 != 4) { - if (local_d4 == (RNG)0x0) { + if (puVar26 != (undefined1 *)0x4) { + if (local_d4 == (Entity_Player *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)local_d4 >> ((byte)local_108 & 0x1f) ^ (uint)local_d4; - uVar15 = uVar15 << ((byte)((ulonglong)local_108 >> 0x20) & 0x1f) ^ uVar15; - if (((uVar15 >> ((byte)local_f0 & 0x1f) ^ uVar15) & 3) != 0) { - if (uVar11 == 0xb) { - uVar11 = 0; + uVar10 = (uint)local_d4 >> ((byte)local_108 & 0x1f) ^ (uint)local_d4; + uVar10 = uVar10 << ((byte)((ulonglong)local_108 >> 0x20) & 0x1f) ^ uVar10; + if (((uVar10 >> ((byte)local_f0 & 0x1f) ^ uVar10) & 3) != 0) { + if (puVar26 == (undefined1 *)0xb) { + puVar26 = (undefined1 *)0x0; } - else if (uVar11 < 4) { - uVar11 = uVar11 + 1; + else if (puVar26 < (undefined1 *)0x4) { + puVar26 = puVar26 + 1; } goto LAB_00739fb5; } } LAB_00739faa: - uVar11 = 10; + puVar26 = (undefined1 *)0xa; } } else { LAB_0073a000: - local_e8 = (RNG)0x0; + local_e8 = (Entity_Player *)0x0; local_dc = (Entity_Player *)0x0; - if (uVar11 != 10) { + if (puVar26 != (undefined1 *)0xa) { local_dc = (Entity_Player *)0x0; - local_e8 = (RNG)0x0; - if ((int)RVar30 < 3) goto LAB_0073a036; + local_e8 = (Entity_Player *)0x0; + if ((int)pEVar13 < 3) goto LAB_0073a036; goto LAB_0073a139; } } LAB_00739fb5: - for (piVar32 = (g_game->_playerManager)._playerList._begin; - piVar32 != (g_game->_playerManager)._playerList._end; piVar32 = piVar32 + 1) { - iVar12 = *piVar32; - if (((*(int *)(iVar12 + 0x2c) == 0) && (*(char *)(iVar12 + 0x20a9) == '\0')) && - (*(int *)(iVar12 + 0x13c0) == 0x21)) { - uVar11 = uVar11 + 100; + for (piVar29 = (g_game->_playerManager)._playerList._begin; + piVar29 != (g_game->_playerManager)._playerList._end; piVar29 = piVar29 + 1) { + iVar11 = *piVar29; + if (((*(int *)(iVar11 + 0x2c) == 0) && (*(char *)(iVar11 + 0x20a9) == '\0')) && + (*(int *)(iVar11 + 0x13c0) == 0x21)) { + puVar26 = puVar26 + 100; break; } } - RVar30 = *pRVar34; + uVar10 = pRVar31->_seed; local_130 = 0; - if (RVar30 == (RNG)0x0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar30 >> ((byte)*(undefined4 *)&pGVar31->field_0x182d8 & 0x1f) ^ (uint)RVar30; - uVar15 = uVar15 << ((byte)*(undefined4 *)&pGVar31->field_0x182dc & 0x1f) ^ uVar15; - RVar30 = (RNG)(uVar15 >> ((byte)*(undefined4 *)&pGVar31->field_0x182e0 & 0x1f) ^ uVar15); + uVar10 = uVar10 >> ((byte)(pGVar27->_generationRNG)._shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)(pGVar27->_generationRNG)._shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)(pGVar27->_generationRNG)._shift3 & 0x1f) ^ uVar10; in_stack_fffffe84 = 0; - *pRVar34 = RVar30; - pRVar33 = RoomConfig::GetRandomRoom - (local_e0,(uint)RVar30,1,0,2,0xd,0,-1,1,10,&local_130,uVar11,-1); - pLVar13 = LevelGenerator::GetNewEndRoom(local_e4,pRVar33->Shape,(uint *)&pRVar33->Doors); - pGVar31 = local_d8; - if (pLVar13 == (LevelGenerator_Room *)0x0) { + pRVar31->_seed = uVar10; + pRVar30 = RoomConfig::GetRandomRoom + (local_e0,uVar10,1,0,2,0xd,0,-1,1,10,&local_130,(uint)puVar26,-1); + pLVar12 = LevelGenerator::GetNewEndRoom(local_e4,pRVar30->Shape,(uint *)&pRVar30->Doors); + pGVar27 = local_d8; + if (pLVar12 == (LevelGenerator_Room *)0x0) { ExceptionList = local_10; return 0; } - local_d4 = (RNG)0x0; + local_d4 = (Entity_Player *)0x0; local_130 = local_d8->_nbRooms; in_stack_fffffe88 = 0x73a25b; - place_room(pLVar13,pRVar33,*pRVar34,&local_d4,&local_d4); - pGVar28 = g_game; + place_room(pLVar12,pRVar30,pRVar31->_seed,&local_d4,&local_d4); + pGVar22 = g_game; if (g_game->_stage == 10) { - if (((g_game->_stageType != 0) || (local_e8 == (RNG)0x0)) || - (iVar12 = Entity_Player::GetTrinketMultiplier((Entity_Player *)local_e8,0xa1), iVar12 < 3 - )) { - pGVar28 = g_game; + if (((g_game->_stageType != 0) || (local_e8 == (Entity_Player *)0x0)) || + (iVar11 = Entity_Player::GetTrinketMultiplier(local_e8,0xa1), iVar11 < 3)) { + pGVar22 = g_game; if (((g_game->_stage != 10) || (g_game->_stageType != 1)) || (local_dc == (Entity_Player *)0x0)) goto LAB_0073a2c3; - iVar12 = Entity_Player::GetTrinketMultiplier(local_dc,0x9b); - if (iVar12 < 3) goto LAB_0073a2bd; + iVar11 = Entity_Player::GetTrinketMultiplier(local_dc,0x9b); + if (iVar11 < 3) goto LAB_0073a2bd; } - *(RNG *)((int)local_d4 + 0x3c) = (RNG)((uint)*(RNG *)((int)local_d4 + 0x3c) | 4); + *(uint *)&local_d4->field_0x3c = *(uint *)&local_d4->field_0x3c | 4; goto LAB_0073a2bd; } } } else { if (local_d8->_stage < 9) { - cVar7 = PlayerManager::AnyoneHasTrinket(&pGVar28->_playerManager,0x6e); - if (cVar7 == '\0') { - pGVar28 = g_game; + cVar6 = PlayerManager::AnyoneHasTrinket(&pGVar22->_playerManager,0x6e); + if (cVar6 == '\0') { + pGVar22 = g_game; goto LAB_00739c2d; } LAB_00739c81: - pGVar28 = g_game; + pGVar22 = g_game; goto LAB_00739c87; } LAB_00739c2d: - if (pGVar31->_stage != 10) goto LAB_0073a2c3; - if (pGVar31->_stageType == 0) { - cVar7 = PlayerManager::AnyoneHasTrinket(&pGVar28->_playerManager,0xa1); - if (cVar7 != '\0') goto LAB_00739c81; - pGVar28 = g_game; + if (pGVar27->_stage != 10) goto LAB_0073a2c3; + if (pGVar27->_stageType == 0) { + cVar6 = PlayerManager::AnyoneHasTrinket(&pGVar22->_playerManager,0xa1); + if (cVar6 != '\0') goto LAB_00739c81; + pGVar22 = g_game; } - if ((pGVar31->_stage != 10) || (pGVar31->_stageType != 1)) goto LAB_0073a2c3; - cVar7 = PlayerManager::AnyoneHasTrinket(&pGVar28->_playerManager,0x9b); - if (cVar7 != '\0') goto LAB_00739c81; + if ((pGVar27->_stage != 10) || (pGVar27->_stageType != 1)) goto LAB_0073a2c3; + cVar6 = PlayerManager::AnyoneHasTrinket(&pGVar22->_playerManager,0x9b); + if (cVar6 != '\0') goto LAB_00739c81; LAB_0073a2bd: - pGVar28 = g_game; + pGVar22 = g_game; } LAB_0073a2c3: - if (pGVar31->_stage < 7) { + if (pGVar27->_stage < 7) { LAB_0073a338: - local_d4 = (RNG)&DAT_00000004; + local_d4 = (Entity_Player *)&DAT_00000004; std::set::find_node(&local_108,&local_d4); - if (((((RNG *)((int)local_100 + 0xc))->field_0x1 == '\0') && - ((int)*(RNG *)((int)local_100 + 0x10) < 5)) && (local_100 != (RNG)*(RNG **)local_120)) - goto LAB_0073a383; + if (((*(char *)((int)local_100 + 0xd) == '\0') && (*(int *)((int)local_100 + 0x10) < 5)) && + (local_100 != (Entity_Player *)*(undefined4 **)&local_120->field_0x0)) goto LAB_0073a383; local_f0 = (RoomConfig_Room *)0x0; do { - RVar30 = *pRVar34; - if (RVar30 == (RNG)0x0) { + uVar10 = pRVar31->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - if ((uint)RVar30 % 100 == 0) { + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + if (uVar10 % 100 == 0) { LAB_0073a685: - pvVar4 = (g_manager->_itemConfig)._trinkets._begin; - if ((((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar4 >> 2 < 0x71) || - (iVar12 = *(int *)((int)pvVar4 + 0x1c0), iVar12 == 0)) || - (local_c9 = '\x01', (*(uint *)(iVar12 + 0xb8) & 0x80000000) == 0)) { + pvVar18 = (g_manager->_itemConfig)._trinkets._begin; + if ((((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar18 >> 2 < 0x71) || + (iVar11 = *(int *)((int)pvVar18 + 0x1c0), iVar11 == 0)) || + (local_c9 = '\x01', (*(uint *)(iVar11 + 0xb8) & 0x80000000) == 0)) { local_c9 = '\0'; } - pRVar26 = (pGVar28->_playerManager)._playerList._begin; - if (pRVar26 != (pGVar28->_playerManager)._playerList._end) { + puVar17 = (pGVar22->_playerManager)._playerList._begin; + if (puVar17 != (pGVar22->_playerManager)._playerList._end) { do { - local_d4 = *pRVar26; - if (*(int *)((int)local_d4 + 0x2c) == 0) { - bVar8 = Entity_Player::HasTrinket((Entity_Player *)local_d4,0x70,0); - if (bVar8 != 0) goto LAB_0073a737; - if (((local_c9 != '\0') && - (*(void **)((int)local_d4 + 0x1e6c) != (Entity_Player *)0x0)) && - (bVar8 = Entity_Player::HasTrinket(*(void **)((int)local_d4 + 0x1e6c),0x70,0), - bVar8 != 0)) { - local_d4 = *(RNG *)((int)local_d4 + 0x1e6c); + local_d4 = (Entity_Player *)*puVar17; + if (local_d4->_variant == 0) { + bVar7 = Entity_Player::HasTrinket(local_d4,0x70,0); + if (bVar7 != 0) goto LAB_0073a737; + if (((local_c9 != '\0') && (local_d4->_backupPlayer != (Entity_Player *)0x0)) && + (bVar7 = Entity_Player::HasTrinket(local_d4->_backupPlayer,0x70,0), bVar7 != 0)) { + local_d4 = local_d4->_backupPlayer; goto LAB_0073a737; } } - pRVar26 = pRVar26 + 1; - } while (pRVar26 != (pGVar28->_playerManager)._playerList._end); + puVar17 = puVar17 + 1; + } while (puVar17 != (pGVar22->_playerManager)._playerList._end); } - local_d4 = (RNG)0x0; + local_d4 = (Entity_Player *)0x0; LAB_0073a737: - bVar8 = (local_d4 != (RNG)0x0) * '\x02' + 1; + bVar7 = (local_d4 != (Entity_Player *)0x0) * '\x02' + 1; } else { - iVar17 = PlayerManager::GetTrinketMultiplier(&pGVar28->_playerManager,0x52); - iVar12 = 1; - if (1 < iVar17) { - iVar12 = iVar17; + iVar14 = PlayerManager::GetTrinketMultiplier(&pGVar22->_playerManager,0x52); + iVar11 = 1; + if (1 < iVar14) { + iVar11 = iVar14; } - RVar30 = *pRVar34; - if (RVar30 == (RNG)0x0) { + uVar10 = pRVar31->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - pGVar28 = g_game; - if (((int)(100 / (longlong)iVar12) == 0) || - ((uint)((ulonglong)(uint)RVar30 % (100 / (longlong)iVar12 & 0xffffffffU)) < 0xf)) { - pvVar4 = (g_manager->_itemConfig)._trinkets._begin; - if (((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar4 >> 2 < 0x53) || - ((iVar12 = *(int *)((int)pvVar4 + 0x148), iVar12 == 0 || - (local_c9 = '\x01', (*(uint *)(iVar12 + 0xb8) & 0x80000000) == 0)))) { + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + pGVar22 = g_game; + if (((int)(100 / (longlong)iVar11) == 0) || + ((uint)((ulonglong)uVar10 % (100 / (longlong)iVar11 & 0xffffffffU)) < 0xf)) { + pvVar18 = (g_manager->_itemConfig)._trinkets._begin; + if (((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar18 >> 2 < 0x53) || + ((iVar11 = *(int *)((int)pvVar18 + 0x148), iVar11 == 0 || + (local_c9 = '\x01', (*(uint *)(iVar11 + 0xb8) & 0x80000000) == 0)))) { local_c9 = '\0'; } - pRVar26 = (g_game->_playerManager)._playerList._begin; - if (pRVar26 != (g_game->_playerManager)._playerList._end) { + puVar17 = (g_game->_playerManager)._playerList._begin; + if (puVar17 != (g_game->_playerManager)._playerList._end) { do { - local_d4 = *pRVar26; - if (*(int *)((int)local_d4 + 0x2c) == 0) { - bVar8 = Entity_Player::HasTrinket((Entity_Player *)local_d4,0x52,0); - if (bVar8 == 0) { - if (((local_c9 == '\0') || - (*(void **)((int)local_d4 + 0x1e6c) == (Entity_Player *)0x0)) || - (bVar8 = Entity_Player::HasTrinket(*(void **)((int)local_d4 + 0x1e6c),0x52,0), - bVar8 == 0)) goto LAB_0073a58a; - local_d4 = *(RNG *)((int)local_d4 + 0x1e6c); + local_d4 = (Entity_Player *)*puVar17; + if (local_d4->_variant == 0) { + bVar7 = Entity_Player::HasTrinket(local_d4,0x52,0); + if (bVar7 == 0) { + if (((local_c9 == '\0') || (local_d4->_backupPlayer == (Entity_Player *)0x0)) || + (bVar7 = Entity_Player::HasTrinket(local_d4->_backupPlayer,0x52,0), bVar7 == 0) + ) goto LAB_0073a58a; + local_d4 = local_d4->_backupPlayer; } - if (local_d4 != (RNG)0x0) { - pGVar28 = g_game; + if (local_d4 != (Entity_Player *)0x0) { + pGVar22 = g_game; goto LAB_0073a685; } break; } LAB_0073a58a: - pRVar26 = pRVar26 + 1; - } while (pRVar26 != (pGVar28->_playerManager)._playerList._end); + puVar17 = puVar17 + 1; + } while (puVar17 != (pGVar22->_playerManager)._playerList._end); } } - pGVar28 = g_game; + pGVar22 = g_game; if ((g_game->_dailyChallenge)._specialDailyId == 0x13) goto LAB_0073a685; - pvVar4 = (g_manager->_itemConfig)._trinkets._begin; - if ((((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar4 >> 2 < 0x71) || - (iVar12 = *(int *)((int)pvVar4 + 0x1c0), iVar12 == 0)) || - (local_c9 = '\x01', (*(uint *)(iVar12 + 0xb8) & 0x80000000) == 0)) { + pvVar18 = (g_manager->_itemConfig)._trinkets._begin; + if ((((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar18 >> 2 < 0x71) || + (iVar11 = *(int *)((int)pvVar18 + 0x1c0), iVar11 == 0)) || + (local_c9 = '\x01', (*(uint *)(iVar11 + 0xb8) & 0x80000000) == 0)) { local_c9 = '\0'; } - pRVar26 = (g_game->_playerManager)._playerList._begin; - if (pRVar26 != (g_game->_playerManager)._playerList._end) { + puVar17 = (g_game->_playerManager)._playerList._begin; + if (puVar17 != (g_game->_playerManager)._playerList._end) { do { - local_d4 = *pRVar26; - if (*(int *)((int)local_d4 + 0x2c) == 0) { - bVar8 = Entity_Player::HasTrinket((Entity_Player *)local_d4,0x70,0); - if (bVar8 != 0) { - bVar8 = -(local_d4 != (RNG)0x0) & 2; + local_d4 = (Entity_Player *)*puVar17; + if (local_d4->_variant == 0) { + bVar7 = Entity_Player::HasTrinket(local_d4,0x70,0); + if (bVar7 != 0) { + bVar7 = -(local_d4 != (Entity_Player *)0x0) & 2; goto LAB_0073a745; } - if (((local_c9 != '\0') && - (*(void **)((int)local_d4 + 0x1e6c) != (Entity_Player *)0x0)) && - (bVar8 = Entity_Player::HasTrinket(*(void **)((int)local_d4 + 0x1e6c),0x70,0), - bVar8 != 0)) { - bVar8 = -(*(void **)((int)local_d4 + 0x1e6c) != (void *)0x0) & 2; + if (((local_c9 != '\0') && (local_d4->_backupPlayer != (Entity_Player *)0x0)) && + (bVar7 = Entity_Player::HasTrinket(local_d4->_backupPlayer,0x70,0), bVar7 != 0)) { + bVar7 = -(local_d4->_backupPlayer != (void *)0x0) & 2; goto LAB_0073a745; } } - pRVar26 = pRVar26 + 1; - } while (pRVar26 != (pGVar28->_playerManager)._playerList._end); + puVar17 = puVar17 + 1; + } while (puVar17 != (pGVar22->_playerManager)._playerList._end); } - bVar8 = 0; + bVar7 = 0; } LAB_0073a745: - RVar30 = *pRVar34; - local_d4 = (RNG)0x0; - if (RVar30 == (RNG)0x0) { + uVar10 = pRVar31->_seed; + local_d4 = (Entity_Player *)0x0; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - iVar12 = RoomConfig::GetRandomRoomWithFallbackStage - (RVar30,1,local_12c,0,4,0xd,in_stack_fffffe84,in_stack_fffffe88,1,10, - &local_d4,bVar8,pRVar34[3]); - pLVar13 = LevelGenerator::GetNewEndRoom - (local_e4,*(int *)(iVar12 + 0x48),(uint *)(iVar12 + 0x38)); - if (pLVar13 == (LevelGenerator_Room *)0x0) { + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + iVar11 = RoomConfig::GetRandomRoomWithFallbackStage + (uVar10,1,local_12c,0,4,0xd,in_stack_fffffe84,in_stack_fffffe88,1,10, + &local_d4,bVar7,pRVar31->_shift3); + pLVar12 = LevelGenerator::GetNewEndRoom + (local_e4,*(int *)(iVar11 + 0x48),(uint *)(iVar11 + 0x38)); + if (pLVar12 == (LevelGenerator_Room *)0x0) { ExceptionList = local_10; return 0; } - local_d4 = (RNG)0x0; + local_d4 = (Entity_Player *)0x0; in_stack_fffffe88 = 0x73a7ef; - place_room(pLVar13,iVar12,*pRVar34,&local_d4,&local_d4); - RVar30 = local_d4; - if (((local_d4 != (RNG)0x0) && (g_game->_stage == 10)) && + place_room(pLVar12,iVar11,pRVar31->_seed,&local_d4,&local_d4); + pEVar13 = local_d4; + if (((local_d4 != (Entity_Player *)0x0) && (g_game->_stage == 10)) && (((g_game->_stageType == 0 && - ((pEVar14 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0xa1), - pEVar14 != (Entity_Player *)0x0 && - (iVar12 = Entity_Player::GetTrinketMultiplier(pEVar14,0xa1), 2 < iVar12)))) || + ((pEVar28 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0xa1), + pEVar28 != (Entity_Player *)0x0 && + (iVar11 = Entity_Player::GetTrinketMultiplier(pEVar28,0xa1), 2 < iVar11)))) || ((g_game->_stage == 10 && (((g_game->_stageType == 1 && - (pEVar14 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x9b), - pEVar14 != (Entity_Player *)0x0)) && - (iVar12 = Entity_Player::GetTrinketMultiplier(pEVar14,0x9b), 2 < iVar12)))))))) { - *(RNG *)((int)RVar30 + 0x3c) = (RNG)((uint)*(RNG *)((int)RVar30 + 0x3c) | 4); + (pEVar28 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x9b), + pEVar28 != (Entity_Player *)0x0)) && + (iVar11 = Entity_Player::GetTrinketMultiplier(pEVar28,0x9b), 2 < iVar11)))))))) { + *(uint *)&pEVar13->field_0x3c = *(uint *)&pEVar13->field_0x3c | 4; } - pGVar28 = g_game; + pGVar22 = g_game; if (local_f0 == (RoomConfig_Room *)0x0) { - local_e8 = *pRVar34; + local_e8 = (Entity_Player *)pRVar31->_seed; } - uVar11 = g_game->_debugCurses; - uVar15 = local_d8->_curses; - uVar19 = Seeds::GetForcedCurses(); - uVar23 = Seeds::GetPreventedCurses(); - pRVar34 = local_128; - } while (((~uVar23 & (uVar19 | uVar11 | uVar15) & 2) != 0) && + uVar10 = g_game->_debugCurses; + uVar36 = local_d8->_curses; + uVar38 = Seeds::GetForcedCurses(); + uVar20 = Seeds::GetPreventedCurses(); + pRVar31 = local_128; + } while (((~uVar20 & (uVar38 | uVar10 | uVar36) & 2) != 0) && (local_f0 = (RoomConfig_Room *)((int)&local_f0->StageId + 1), local_f0 < (RoomConfig_Room *)0x2)); - *local_128 = local_e8; - *(undefined8 *)(local_128 + 1) = 0x900000005; - local_128[3] = (RNG)0x7; - pGVar31 = local_d8; + local_128->_seed = (int)local_e8; + local_128->_shift1 = 5; + local_128->_shift2 = 9; + local_128->_shift3 = 7; + pGVar27 = local_d8; LAB_0073a8ef: - pRVar25 = local_e0; + pRVar23 = local_e0; } else { - if (pGVar31->_stage < 9) { - cVar7 = PlayerManager::AnyoneHasTrinket(&pGVar28->_playerManager,0x6f); - if (cVar7 == '\0') { - pGVar28 = g_game; + if (pGVar27->_stage < 9) { + cVar6 = PlayerManager::AnyoneHasTrinket(&pGVar22->_playerManager,0x6f); + if (cVar6 == '\0') { + pGVar22 = g_game; goto LAB_0073a2e6; } LAB_0073a332: - pGVar28 = g_game; + pGVar22 = g_game; goto LAB_0073a338; } LAB_0073a2e6: - if (pGVar31->_stage == 10) { - if (pGVar31->_stageType == 0) { - cVar7 = PlayerManager::AnyoneHasTrinket(&pGVar28->_playerManager,0xa1); - if (cVar7 != '\0') goto LAB_0073a332; - pGVar28 = g_game; + if (pGVar27->_stage == 10) { + if (pGVar27->_stageType == 0) { + cVar6 = PlayerManager::AnyoneHasTrinket(&pGVar22->_playerManager,0xa1); + if (cVar6 != '\0') goto LAB_0073a332; + pGVar22 = g_game; } - if ((pGVar31->_stage == 10) && (pGVar31->_stageType == 1)) { - cVar7 = PlayerManager::AnyoneHasTrinket(&pGVar28->_playerManager,0x9b); - if (cVar7 != '\0') goto LAB_0073a332; - pGVar28 = g_game; + if ((pGVar27->_stage == 10) && (pGVar27->_stageType == 1)) { + cVar6 = PlayerManager::AnyoneHasTrinket(&pGVar22->_playerManager,0x9b); + if (cVar6 != '\0') goto LAB_0073a332; + pGVar22 = g_game; } } LAB_0073a383: - pCVar9 = Game::GetChallengeParams(pGVar28); - if (pCVar9->_pathType != 2) goto LAB_0073a8ef; - bVar8 = HasMirrorDimension((Level *)pGVar31); - if (bVar8 == 0) goto LAB_0073a8ef; - local_d4 = (RNG)0x0; - uVar11 = RNG::Next(pRVar34); - pRVar25 = local_e0; - iVar12 = RoomConfig::GetRandomRoomWithFallbackStage - (uVar11,1,local_12c,0,4,0xd,in_stack_fffffe84,in_stack_fffffe88,1,10, + pCVar8 = Game::GetChallengeParams(pGVar22); + if (pCVar8->_pathType != 2) goto LAB_0073a8ef; + bVar7 = HasMirrorDimension((Level *)pGVar27); + if (bVar7 == 0) goto LAB_0073a8ef; + local_d4 = (Entity_Player *)0x0; + uVar10 = RNG::Next(pRVar31); + pRVar23 = local_e0; + iVar11 = RoomConfig::GetRandomRoomWithFallbackStage + (uVar10,1,local_12c,0,4,0xd,in_stack_fffffe84,in_stack_fffffe88,1,10, &local_d4,0,extraout_ECX_03); - pLVar13 = LevelGenerator::GetNewEndRoom - (local_e4,*(int *)(iVar12 + 0x48),(uint *)(iVar12 + 0x38)); - pGVar31 = local_d8; - if (pLVar13 == (LevelGenerator_Room *)0x0) { + pLVar12 = LevelGenerator::GetNewEndRoom + (local_e4,*(int *)(iVar11 + 0x48),(uint *)(iVar11 + 0x38)); + pGVar27 = local_d8; + if (pLVar12 == (LevelGenerator_Room *)0x0) { ExceptionList = local_10; return 0; } - place_room(pLVar13,iVar12,*pRVar34,extraout_ECX_04,0); + place_room(pLVar12,iVar11,pRVar31->_seed,extraout_ECX_04,0); } - local_f0 = (RoomConfig_Room *)Game::GetPlanetariumChance(pGVar31); - RVar30 = *pRVar34; - local_d4 = (RNG)0x0; - if (RVar30 == (RNG)0x0) { + local_f0 = (RoomConfig_Room *)Game::GetPlanetariumChance(pGVar27); + uVar10 = pRVar31->_seed; + local_d4 = (Entity_Player *)0x0; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - uVar39 = 0xffffffff; - uVar15 = 0; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - local_e8 = (RNG)RoomConfig::GetRandomRoom - (pRVar25,(uint)RVar30,1,0,0x18,0xd,0,-1,1,10,(uint *)&local_d4, - 0xffffffff,-1); + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar37 = 0xffffffff; + uVar36 = 0; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + local_e8 = (Entity_Player *) + RoomConfig::GetRandomRoom + (pRVar23,uVar10,1,0,0x18,0xd,0,-1,1,10,(uint *)&local_d4,0xffffffff,-1); local_dc = (Entity_Player *) LevelGenerator::GetNewEndRoom - (local_e4,*(int *)((int)local_e8 + 0x48),(uint *)((int)local_e8 + 0x38)); - RVar30 = local_120; - local_d4 = (RNG)0x18; + (local_e4,*(int *)(local_e8->_sprite)._filename._buf, + (uint *)&local_e8->_spawnerVariant); + pEVar13 = local_120; + local_d4 = (Entity_Player *)0x18; std::set::find_node(&local_108,&local_d4); - if ((((RNG *)((int)local_100 + 0xc))->field_0x1 == '\0') && - ((int)*(RNG *)((int)local_100 + 0x10) < 0x19)) { - pRVar26 = *(RNG **)RVar30; - if (local_100 == (RNG)pRVar26) goto LAB_0073aa0d; + if ((*(char *)((int)local_100 + 0xd) == '\0') && (*(int *)((int)local_100 + 0x10) < 0x19)) { + puVar17 = *(undefined4 **)&pEVar13->field_0x0; + if (local_100 == (Entity_Player *)puVar17) goto LAB_0073aa0d; LAB_0073aa42: if (local_dc != (Entity_Player *)0x0) { LAB_0073ab1d: @@ -468393,30 +469138,29 @@ LAB_0073ab1d: } } else { - pRVar26 = *(RNG **)RVar30; + puVar17 = *(undefined4 **)&pEVar13->field_0x0; LAB_0073aa0d: - local_d4 = (RNG)0x4; + local_d4 = (Entity_Player *)&DAT_00000004; std::set::find_node(&local_108,&local_d4); - if (((((RNG *)((int)local_100 + 0xc))->field_0x1 == '\0') && - ((int)*(RNG *)((int)local_100 + 0x10) < 5)) && (local_100 != (RNG)pRVar26)) - goto LAB_0073aa42; + if (((*(char *)((int)local_100 + 0xd) == '\0') && (*(int *)((int)local_100 + 0x10) < 5)) && + (local_100 != (Entity_Player *)puVar17)) goto LAB_0073aa42; if (local_dc != (Entity_Player *)0x0) { - RVar30 = *pRVar34; - if (RVar30 == (RNG)0x0) { + uVar10 = pRVar31->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - if (((float)((double)(int)RVar30 + __uint_to_double_fixup[-((int)RVar30 >> 0x1f)]) * + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + if (((float)((double)(int)uVar10 + __uint_to_double_fixup[-((int)uVar10 >> 0x1f)]) * 2.3283062e-10 < (float)local_f0) && (((g_manager->_persistentGameData)._achievements[0x196] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { - uVar39 = 0x73ab15; - place_room(local_dc,local_e8,RVar30,pRVar34[3],0); + uVar37 = 0x73ab15; + place_room(local_dc,local_e8,uVar10,pRVar31->_shift3,0); goto LAB_0073ab45; } goto LAB_0073ab1d; @@ -468424,122 +469168,122 @@ LAB_0073aa0d: } LAB_0073ab45: if (local_d8->_stage < 0xb) { - RVar30 = *pRVar34; - if (RVar30 == (RNG)0x0) { + uVar10 = pRVar31->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - if (RVar30 == (RNG)(((uint)RVar30 / 0x32) * 0x32)) { + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + if (uVar10 == (uVar10 / 0x32) * 0x32) { LAB_0073ac24: - RVar30 = local_120; - local_d4 = (RNG)0x15; + pEVar13 = local_120; + local_d4 = (Entity_Player *)0x15; std::set::find_node(&local_108,&local_d4); - if ((((RNG *)((int)local_100 + 0xc))->field_0x1 == '\0') && - (((int)*(RNG *)((int)local_100 + 0x10) < 0x16 && (local_100 != (RNG)*(RNG **)RVar30)))) - goto LAB_0073adeb; - RVar16 = *pRVar34; - local_d4 = (RNG)0x0; - if (RVar16 == (RNG)0x0) { + if ((*(char *)((int)local_100 + 0xd) == '\0') && + ((*(int *)((int)local_100 + 0x10) < 0x16 && + (local_100 != (Entity_Player *)*(undefined4 **)&pEVar13->field_0x0)))) goto LAB_0073adeb; + uVar10 = pRVar31->_seed; + local_d4 = (Entity_Player *)0x0; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar16 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar16; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar16 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar16; - local_d4 = (RNG)RoomConfig::GetRandomRoom - (local_e0,(uint)RVar16,1,0,0x15,0xd,0,-1,1,10,(uint *)&local_d4, - 0xffffffff,-1); + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + local_d4 = (Entity_Player *) + RoomConfig::GetRandomRoom + (local_e0,uVar10,1,0,0x15,0xd,0,-1,1,10,(uint *)&local_d4,0xffffffff,-1); } else { - if (RVar30 == (RNG)0x0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)*(undefined4 *)&local_d8->field_0x182d8 & 0x1f) ^ (uint)RVar30 - ; - uVar11 = uVar11 << ((byte)*(undefined4 *)&local_d8->field_0x182dc & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> ((byte)*(undefined4 *)&local_d8->field_0x182e0 & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - if (((uint)RVar30 % 5 == 0) && (pEVar14 = Game::GetPlayer(g_game,0), 1 < pEVar14->_numKeys)) + uVar10 = uVar10 >> ((byte)(local_d8->_generationRNG)._shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)(local_d8->_generationRNG)._shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)(local_d8->_generationRNG)._shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + if ((uVar10 % 5 == 0) && (pEVar13 = Game::GetPlayer(g_game,0), 1 < pEVar13->_numKeys)) goto LAB_0073ac24; - RVar30 = local_120; + pEVar13 = local_120; LAB_0073adeb: - RVar16 = *pRVar34; - local_d4 = (RNG)0x0; - if (RVar16 == (RNG)0x0) { + uVar10 = pRVar31->_seed; + local_d4 = (Entity_Player *)0x0; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar16 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar16; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar16 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar16; - local_d4 = (RNG)RoomConfig::GetRandomRoom - (local_e0,(uint)RVar16,1,0,0xd,0xd,0,-1,1,10,(uint *)&local_d4, - 0xffffffff,-1); + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + local_d4 = (Entity_Player *) + RoomConfig::GetRandomRoom + (local_e0,uVar10,1,0,0xd,0xd,0,-1,1,10,(uint *)&local_d4,0xffffffff,-1); } local_f0 = (RoomConfig_Room *) LevelGenerator::GetNewEndRoom - (local_e4,*(int *)((int)local_d4 + 0x48),(uint *)((int)local_d4 + 0x38)); - local_e8 = (RNG)&DAT_0000000d; + (local_e4,*(int *)(local_d4->_sprite)._filename._buf, + (uint *)&local_d4->_spawnerVariant); + local_e8 = (Entity_Player *)&DAT_0000000d; std::set::find_node(&local_108,&local_e8); - if ((((RNG *)((int)local_100 + 0xc))->field_0x1 != '\0') || - (RVar16 = local_100, 0xd < (int)*(RNG *)((int)local_100 + 0x10))) { - RVar16 = *(RNG *)RVar30; + if ((*(char *)((int)local_100 + 0xd) != '\0') || + (pEVar28 = local_100, 0xd < *(int *)((int)local_100 + 0x10))) { + pEVar28 = ((std_set *)pEVar13)->_head; } - if (RVar16 == (RNG)*(RNG **)RVar30) { - RVar30 = *pRVar34; - if (RVar30 == (RNG)0x0) { + if (pEVar28 == ((std_set *)pEVar13)->_head) { + uVar10 = pRVar31->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - RVar16 = (RNG)(((uint)RVar30 / 7) * 7); - if (RVar30 == RVar16) { - pGVar28 = g_game; + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + uVar36 = (uVar10 / 7) * 7; + if (uVar10 == uVar36) { + pGVar22 = g_game; } else { - RNG::Next(pRVar34); - pGVar28 = g_game; - RVar30 = *pRVar34; - if (((uint)RVar30 & 3) != 0) goto LAB_0073aec2; - cVar7 = PlayerManager::check_full_health(0); - RVar16 = extraout_ECX_05; - if (cVar7 == '\0') { - pEVar14 = PlayerManager::FirstPlayerByType(&pGVar28->_playerManager,8); - RVar16 = extraout_ECX_06; - if (pEVar14 == (Entity_Player *)0x0) { - pEVar14 = PlayerManager::FirstPlayerByType(&pGVar28->_playerManager,0xb); - RVar16 = extraout_ECX_07; - if (pEVar14 == (Entity_Player *)0x0) goto LAB_0073aec8; + RNG::Next(pRVar31); + pGVar22 = g_game; + uVar10 = pRVar31->_seed; + if ((uVar10 & 3) != 0) goto LAB_0073aec2; + cVar6 = PlayerManager::check_full_health(0); + uVar36 = extraout_ECX_05; + if (cVar6 == '\0') { + pEVar13 = PlayerManager::FirstPlayerByType(&pGVar22->_playerManager,8); + uVar36 = extraout_ECX_06; + if (pEVar13 == (Entity_Player *)0x0) { + pEVar13 = PlayerManager::FirstPlayerByType(&pGVar22->_playerManager,0xb); + uVar36 = extraout_ECX_07; + if (pEVar13 == (Entity_Player *)0x0) goto LAB_0073aec8; } } } if (local_f0 != (RoomConfig_Room *)0x0) { - place_room(local_f0,local_d4,RVar30,RVar16,0); - pGVar28 = g_game; + place_room(local_f0,local_d4,uVar10,uVar36,0); + pGVar22 = g_game; } LAB_0073ae8e: - pLVar29 = local_e4; + pLVar25 = local_e4; } else { LAB_0073aec2: - pGVar28 = g_game; + pGVar22 = g_game; LAB_0073aec8: - pLVar29 = local_e4; + pLVar25 = local_e4; if (local_f0 == (RoomConfig_Room *)0x0) goto LAB_0073ae8e; LVar3 = local_e4[0xdd]; if (LVar3 == local_e4[0xde]) { std::vector::_Emplace_reallocate(LVar3,&local_f0->Mode); - pGVar28 = g_game; + pGVar22 = g_game; } else { *(int *)LVar3 = local_f0->Mode; @@ -468547,200 +469291,200 @@ LAB_0073aec8: } } if (((g_manager->_persistentGameData)._achievements[0x97] == 0) && - (((g_manager->_state != 2 || (pGVar28 == (Game *)0x0)) || - (((pGVar28->_dailyChallenge)._id == 0 && (pGVar28->_isDebug == 0)))))) { - iVar12 = 0; + (((g_manager->_state != 2 || (pGVar22 == (Game *)0x0)) || + (((pGVar22->_dailyChallenge)._id == 0 && (pGVar22->_isDebug == 0)))))) { + iVar11 = 0; } else { - iVar12 = 1; + iVar11 = 1; } if (((g_manager->_persistentGameData)._achievements[0x98] != 0) || - (((g_manager->_state == 2 && (pGVar28 != (Game *)0x0)) && - (((pGVar28->_dailyChallenge)._id != 0 || (pGVar28->_isDebug != 0)))))) { - iVar12 = 2; + (((g_manager->_state == 2 && (pGVar22 != (Game *)0x0)) && + (((pGVar22->_dailyChallenge)._id != 0 || (pGVar22->_isDebug != 0)))))) { + iVar11 = 2; } if (((g_manager->_persistentGameData)._achievements[0x99] != 0) || - (((g_manager->_state == 2 && (pGVar28 != (Game *)0x0)) && - (((pGVar28->_dailyChallenge)._id != 0 || (pGVar28->_isDebug != 0)))))) { - iVar12 = 3; + (((g_manager->_state == 2 && (pGVar22 != (Game *)0x0)) && + (((pGVar22->_dailyChallenge)._id != 0 || (pGVar22->_isDebug != 0)))))) { + iVar11 = 3; } if (((g_manager->_persistentGameData)._achievements[0x9a] != 0) || - (((g_manager->_state == 2 && (pGVar28 != (Game *)0x0)) && - (((pGVar28->_dailyChallenge)._id != 0 || (pGVar28->_isDebug != 0)))))) { - iVar12 = 4; + (((g_manager->_state == 2 && (pGVar22 != (Game *)0x0)) && + (((pGVar22->_dailyChallenge)._id != 0 || (pGVar22->_isDebug != 0)))))) { + iVar11 = 4; } - uVar11 = RNG::RandomInt(pRVar34,iVar12 + 1); - RVar30 = *pRVar34; - local_d4 = (RNG)0x0; - if (RVar30 == (RNG)0x0) { + uVar36 = RNG::RandomInt(pRVar31,iVar11 + 1); + uVar10 = pRVar31->_seed; + local_d4 = (Entity_Player *)0x0; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar15 = uVar15 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar15; - RVar30 = (RNG)(uVar15 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar15); - *pRVar34 = RVar30; + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; local_f0 = RoomConfig::GetRandomRoom - (local_e0,(uint)RVar30,0,0,0xc,0xd,0,-1,1,10,(uint *)&local_d4,uVar11,-1); - pLVar13 = LevelGenerator::GetNewEndRoom(pLVar29,local_f0->Shape,(uint *)&local_f0->Doors); - RVar30 = local_120; - local_d4 = (RNG)0xc; + (local_e0,uVar10,0,0,0xc,0xd,0,-1,1,10,(uint *)&local_d4,uVar36,-1); + pLVar12 = LevelGenerator::GetNewEndRoom(pLVar25,local_f0->Shape,(uint *)&local_f0->Doors); + pEVar13 = local_120; + local_d4 = (Entity_Player *)0xc; std::set::find_node(&local_108,&local_d4); - if (((((RNG *)((int)local_100 + 0xc))->field_0x1 == '\0') && - ((int)*(RNG *)((int)local_100 + 0x10) < 0xd)) && (local_100 != (RNG)*(RNG **)RVar30)) { + if (((*(char *)((int)local_100 + 0xd) == '\0') && (*(int *)((int)local_100 + 0x10) < 0xd)) && + (local_100 != (Entity_Player *)*(undefined4 **)&pEVar13->field_0x0)) { LAB_0073b0c5: - if (pLVar13 != (LevelGenerator_Room *)0x0) { + if (pLVar12 != (LevelGenerator_Room *)0x0) { LVar3 = local_e4[0xdd]; if (LVar3 == local_e4[0xde]) { - std::vector::_Emplace_reallocate(LVar3,pLVar13 + 1); + std::vector::_Emplace_reallocate(LVar3,pLVar12 + 1); } else { - *(LevelGenerator_Room *)LVar3 = pLVar13[1]; + *(LevelGenerator_Room *)LVar3 = pLVar12[1]; local_e4[0xdd] = (LevelGenerator)((int)local_e4[0xdd] + 4); } } } else { - RVar30 = *pRVar34; - if (RVar30 == (RNG)0x0) { + uVar10 = pRVar31->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - RVar16 = (RNG)(((uint)RVar30 / 0x14) * 0x14); - if (RVar30 != RVar16) { - RNG::Next(pRVar34); - RVar30 = *pRVar34; - if (((uint)RVar30 & 3) == 0) { - bVar8 = Game::GetGameStateFlag((Game *)&g_game->_gameStateFlags,8); - RVar16 = extraout_ECX_08; - if (bVar8 != 0) goto LAB_0073b0f3; + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + uVar36 = (uVar10 / 0x14) * 0x14; + if (uVar10 != uVar36) { + RNG::Next(pRVar31); + uVar10 = pRVar31->_seed; + if ((uVar10 & 3) == 0) { + bVar7 = Game::GetGameStateFlag((Game *)&g_game->_gameStateFlags,8); + uVar36 = extraout_ECX_08; + if (bVar7 != 0) goto LAB_0073b0f3; } goto LAB_0073b0c5; } LAB_0073b0f3: - if (pLVar13 != (LevelGenerator_Room *)0x0) { - place_room(pLVar13,local_f0,RVar30,RVar16,0); + if (pLVar12 != (LevelGenerator_Room *)0x0) { + place_room(pLVar12,local_f0,uVar10,uVar36,0); } } - RVar30 = *pRVar34; - if (RVar30 == (RNG)0x0) { + uVar10 = pRVar31->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - RVar16 = (RNG)0x1; - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; + pEVar13 = (Entity_Player *)0x1; + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; local_118 = 0x70000000b; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - pPVar27 = &g_game->_playerManager; - *pRVar34 = RVar30; - iVar12 = PlayerManager::FirstCollectibleOwner(pPVar27,599,pPVar27,1); - local_c9 = iVar12 != 0; - if (iVar12 != 0) { - RVar16 = (RNG)0x2; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pPVar24 = &g_game->_playerManager; + pRVar31->_seed = uVar10; + iVar11 = PlayerManager::FirstCollectibleOwner(pPVar24,599,pPVar24,1); + local_c9 = iVar11 != 0; + if (iVar11 != 0) { + pEVar13 = (Entity_Player *)0x2; } - local_d4 = RVar16; + local_d4 = pEVar13; do { - bVar8 = (byte)local_118._4_4_; + bVar7 = (byte)local_118._4_4_; if (local_c9 == '\0') { LAB_0073b211: local_f0 = (RoomConfig_Room *)0x0; - if (RVar30 == (RNG)0x0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)local_118 & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (bVar8 & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> 0xc ^ uVar11); + uVar10 = uVar10 >> ((byte)local_118 & 0x1f) ^ uVar10; + uVar10 = uVar10 << (bVar7 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> 0xc ^ uVar10; local_f0 = RoomConfig::GetRandomRoom - (local_e0,(uint)RVar30,1,0,10,0xd,0,-1,1,10,(uint *)&local_f0,0,-1); + (local_e0,uVar10,1,0,10,0xd,0,-1,1,10,(uint *)&local_f0,0,-1); } else { local_f0 = (RoomConfig_Room *)0x0; - if (RVar30 == (RNG)0x0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)local_118 & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (bVar8 & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> 0xc ^ uVar11); + uVar10 = uVar10 >> ((byte)local_118 & 0x1f) ^ uVar10; + uVar10 = uVar10 << (bVar7 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> 0xc ^ uVar10; local_f0 = RoomConfig::GetRandomRoom - (local_e0,(uint)RVar30,1,0,10,0xd,0,-1,1,10,(uint *)&local_f0,1,-1); + (local_e0,uVar10,1,0,10,0xd,0,-1,1,10,(uint *)&local_f0,1,-1); if (local_f0 == (RoomConfig_Room *)0x0) goto LAB_0073b211; } - RVar16 = (RNG)LevelGenerator::GetNewEndRoom(local_e4,local_f0->Shape,(uint *)&local_f0->Doors) - ; + pEVar13 = (Entity_Player *) + LevelGenerator::GetNewEndRoom(local_e4,local_f0->Shape,(uint *)&local_f0->Doors); local_dc = (Entity_Player *)0xa; - local_e8 = RVar16; + local_e8 = pEVar13; std::set::find_node(&local_108,&local_dc); - if (((((RNG *)((int)local_100 + 0xc))->field_0x1 == '\0') && - ((int)*(RNG *)((int)local_100 + 0x10) < 0xb)) && (local_100 != (RNG)*(RNG **)local_120)) { - if (RVar16 != (RNG)0x0) { + if (((*(char *)((int)local_100 + 0xd) == '\0') && (*(int *)((int)local_100 + 0x10) < 0xb)) && + (local_100 != (Entity_Player *)*(undefined4 **)&local_120->field_0x0)) { + if (pEVar13 != (Entity_Player *)0x0) { LVar3 = local_e4[0xdd]; if (LVar3 == local_e4[0xde]) { - std::vector::_Emplace_reallocate(LVar3,(int *)((int)RVar16 + 4)); + std::vector::_Emplace_reallocate(LVar3,&pEVar13->field_0x4); } else { - *(int *)LVar3 = *(int *)((int)RVar16 + 4); + *(int *)LVar3 = *(int *)&pEVar13->field_0x4; local_e4[0xdd] = (LevelGenerator)((int)local_e4[0xdd] + 4); } } } else { - if (RVar30 == (RNG)0x0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)local_118 & 0x1f) ^ (uint)RVar30; - bVar8 = (byte)((ulonglong)local_118 >> 0x20); - uVar11 = uVar11 << (bVar8 & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> 0xc ^ uVar11); - if (((uint)RVar30 & 1) != 0) { - if (RVar30 == (RNG)0x0) { + uVar10 = uVar10 >> ((byte)local_118 & 0x1f) ^ uVar10; + bVar7 = (byte)((ulonglong)local_118 >> 0x20); + uVar10 = uVar10 << (bVar7 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> 0xc ^ uVar10; + if ((uVar10 & 1) != 0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)local_118 & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (bVar8 & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> 0xc ^ uVar11); + uVar10 = uVar10 >> ((byte)local_118 & 0x1f) ^ uVar10; + uVar10 = uVar10 << (bVar7 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> 0xc ^ uVar10; } - if (RVar16 != (RNG)0x0) { - place_room(RVar16,local_f0,RVar30,0xc,0); + if (pEVar13 != (Entity_Player *)0x0) { + place_room(pEVar13,local_f0,uVar10,0xc,0); } } - pRVar34 = local_128; - local_d4 = (RNG)((int)local_d4 + -1); - } while (local_d4 != (RNG)0x0); - uVar11 = 0xffffffff; + pRVar31 = local_128; + local_d4 = (Entity_Player *)((int)&local_d4[-1]._replacedPlayer + 3); + } while (local_d4 != (Entity_Player *)0x0); + uVar10 = 0xffffffff; local_d0 = (RoomConfig_Room *)0xa; local_dc = (Entity_Player *)0x0; if (local_d8->_stage < 7) { local_d0 = (RoomConfig_Room *)0x1; } - local_f8 = (RNG)g_game->_stageType; - if ((local_f8 == (RNG)0x4) || (local_f8 == (RNG)0x5)) { - local_d4 = (RNG)g_game->_stage; - RVar30 = (RNG)((int)local_d4 + 1); + local_f8 = (Entity_Player *)g_game->_stageType; + if ((local_f8 == (Entity_Player *)0x4) || (local_f8 == (Entity_Player *)0x5)) { + local_d4 = (Entity_Player *)g_game->_stage; + pEVar13 = (Entity_Player *)&local_d4->field_0x1; } else { - RVar30 = (RNG)g_game->_stage; - local_d4 = RVar30; + pEVar13 = (Entity_Player *)g_game->_stage; + local_d4 = pEVar13; } - if (2 < (int)RVar30) { + if (2 < (int)pEVar13) { if (((g_manager->_persistentGameData)._achievements[4] == 0) && ((g_manager->_state != 2 || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))) { - bVar37 = false; + bVar34 = false; } else { - bVar37 = true; + bVar34 = true; } local_dc = (Entity_Player *)0x1e; - if (!bVar37) { + if (!bVar34) { local_dc = (Entity_Player *)&DAT_00000050; } if (((g_manager->_persistentGameData)._achievements[0x21] != 0) || @@ -468748,627 +469492,624 @@ LAB_0073b211: (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))) { local_dc = (Entity_Player *)0xa; } - RVar30 = *(RNG *)((g_manager->_persistentGameData)._eventCounters + 0x19); - if ((g_manager->_persistentGameData)._eventCounters[0x18] + (int)RVar30 != 0) { + pEVar13 = (Entity_Player *)(g_manager->_persistentGameData)._eventCounters[0x19]; + if ((int)(&(pEVar13->_sprite)._filename + -3) + + (g_manager->_persistentGameData)._eventCounters[0x18] != 0) { local_dc = (Entity_Player *)&DAT_00000005; } } - if ((local_f8 == (RNG)0x4) || (local_f8 == (RNG)0x5)) { - RVar16 = (RNG)((int)local_d4 + 1); + if ((local_f8 == (Entity_Player *)0x4) || (local_f8 == (Entity_Player *)0x5)) { + pEVar28 = (Entity_Player *)&local_d4->field_0x1; } else { - RVar16 = local_d4; + pEVar28 = local_d4; } - if ((int)RVar16 < 3) { + if ((int)pEVar28 < 3) { LAB_0073b56e: if (local_dc == (Entity_Player *)0x0) { LAB_0073b58b: local_c9 = '\0'; } else { - uVar15 = RNG::RandomInt(pRVar34,(uint)local_dc); + uVar36 = RNG::RandomInt(pRVar31,(uint)local_dc); local_c9 = '\x01'; - RVar30 = extraout_ECX_10; - if (uVar15 != 0) goto LAB_0073b58b; + pEVar13 = extraout_ECX_10; + if (uVar36 != 0) goto LAB_0073b58b; } local_118 = 0; - local_110 = (RNG *)0x0; - local_8 = (RNG)0x2; - FUN_00752a80(RVar30); - bVar8 = Game::GetGameStateFlag((Game *)&g_game->_gameStateFlags,9); - pRVar26 = local_118._4_4_; - if (bVar8 == 0) { - local_f8 = (RNG)0x2; + local_110 = (int *)0x0; + local_8 = 2; + FUN_00752a80(pEVar13); + bVar7 = Game::GetGameStateFlag((Game *)&g_game->_gameStateFlags,9); + piVar29 = local_118._4_4_; + if (bVar7 == 0) { + local_f8 = (Entity_Player *)0x2; if (local_c9 != '\0') { - local_f8 = (RNG)0x9; + local_f8 = (Entity_Player *)0x9; } if (local_118._4_4_ == local_110) { std::vector::_Emplace_reallocate(local_118._4_4_,&local_f8); - pRVar26 = local_118._4_4_; + piVar29 = local_118._4_4_; } else { - *local_118._4_4_ = local_f8; - pRVar26 = local_118._4_4_ + 1; - local_118 = CONCAT44(pRVar26,(int)local_118); + *local_118._4_4_ = (int)local_f8; + piVar29 = local_118._4_4_ + 1; + local_118 = CONCAT44(piVar29,(int)local_118); } } - cVar7 = Game::GetStateFlag(g_game,10); - if (cVar7 == '\0') { - local_f8 = (RNG)0x3; + cVar6 = Game::GetStateFlag(g_game,10); + if (cVar6 == '\0') { + local_f8 = (Entity_Player *)0x3; if (local_c9 != '\0') { - local_f8 = (RNG)0xa; + local_f8 = (Entity_Player *)0xa; } - if (pRVar26 == local_110) { - std::vector::_Emplace_reallocate(pRVar26,&local_f8); - pRVar26 = local_118._4_4_; + if (piVar29 == local_110) { + std::vector::_Emplace_reallocate(piVar29,&local_f8); + piVar29 = local_118._4_4_; } else { - *pRVar26 = local_f8; - local_118 = CONCAT44(pRVar26 + 1,(int)local_118); - pRVar26 = pRVar26 + 1; + *piVar29 = (int)local_f8; + local_118 = CONCAT44(piVar29 + 1,(int)local_118); + piVar29 = piVar29 + 1; } } - cVar7 = Game::GetStateFlag(g_game,0xb); - if (cVar7 == '\0') { - local_f8 = (RNG)0x1; + cVar6 = Game::GetStateFlag(g_game,0xb); + if (cVar6 == '\0') { + local_f8 = (Entity_Player *)0x1; if (local_c9 != '\0') { - local_f8 = (RNG)0x8; + local_f8 = (Entity_Player *)0x8; } - if (pRVar26 == local_110) { - std::vector::_Emplace_reallocate(pRVar26,&local_f8); - pRVar26 = local_118._4_4_; + if (piVar29 == local_110) { + std::vector::_Emplace_reallocate(piVar29,&local_f8); + piVar29 = local_118._4_4_; } else { - *pRVar26 = local_f8; - local_118 = CONCAT44(pRVar26 + 1,(int)local_118); - pRVar26 = pRVar26 + 1; + *piVar29 = (int)local_f8; + local_118 = CONCAT44(piVar29 + 1,(int)local_118); + piVar29 = piVar29 + 1; } } - cVar7 = Game::GetStateFlag(g_game,0xc); - if (cVar7 == '\0') { - local_f8 = (RNG)0x0; + cVar6 = Game::GetStateFlag(g_game,0xc); + if (cVar6 == '\0') { + local_f8 = (Entity_Player *)0x0; if (local_c9 != '\0') { - local_f8 = (RNG)0x7; + local_f8 = (Entity_Player *)0x7; } - if (pRVar26 == local_110) { - std::vector::_Emplace_reallocate(pRVar26,&local_f8); - pRVar26 = local_118._4_4_; + if (piVar29 == local_110) { + std::vector::_Emplace_reallocate(piVar29,&local_f8); + piVar29 = local_118._4_4_; } else { - *pRVar26 = local_f8; - local_118 = CONCAT44(pRVar26 + 1,(int)local_118); - pRVar26 = pRVar26 + 1; + *piVar29 = (int)local_f8; + local_118 = CONCAT44(piVar29 + 1,(int)local_118); + piVar29 = piVar29 + 1; } } - cVar7 = Game::GetStateFlag(g_game,0xd); - if (cVar7 == '\0') { - local_f8 = (RNG)0x5; + cVar6 = Game::GetStateFlag(g_game,0xd); + if (cVar6 == '\0') { + local_f8 = (Entity_Player *)0x5; if (local_c9 != '\0') { - local_f8 = (RNG)0xc; + local_f8 = (Entity_Player *)0xc; } - if (pRVar26 == local_110) { - std::vector::_Emplace_reallocate(pRVar26,&local_f8); - pRVar26 = local_118._4_4_; + if (piVar29 == local_110) { + std::vector::_Emplace_reallocate(piVar29,&local_f8); + piVar29 = local_118._4_4_; } else { - *pRVar26 = local_f8; - local_118 = CONCAT44(pRVar26 + 1,(int)local_118); - pRVar26 = pRVar26 + 1; + *piVar29 = (int)local_f8; + local_118 = CONCAT44(piVar29 + 1,(int)local_118); + piVar29 = piVar29 + 1; } } - cVar7 = Game::GetStateFlag(g_game,0xe); - if (cVar7 == '\0') { - local_f8 = (RNG)0x6; + cVar6 = Game::GetStateFlag(g_game,0xe); + if (cVar6 == '\0') { + local_f8 = (Entity_Player *)0x6; if (local_c9 != '\0') { - local_f8 = (RNG)0xd; + local_f8 = (Entity_Player *)0xd; } - if (pRVar26 == local_110) { - std::vector::_Emplace_reallocate(pRVar26,&local_f8); - pRVar26 = local_118._4_4_; + if (piVar29 == local_110) { + std::vector::_Emplace_reallocate(piVar29,&local_f8); + piVar29 = local_118._4_4_; } else { - *pRVar26 = local_f8; - local_118 = CONCAT44(pRVar26 + 1,(int)local_118); - pRVar26 = pRVar26 + 1; + *piVar29 = (int)local_f8; + local_118 = CONCAT44(piVar29 + 1,(int)local_118); + piVar29 = piVar29 + 1; } } - uVar15 = (int)pRVar26 - (int)local_118 >> 2; - if (uVar15 != 0) { - uVar11 = RNG::RandomInt(pRVar34,uVar15); - uVar11 = *(uint *)((int)local_118 + uVar11 * 4); + uVar36 = (int)piVar29 - (int)local_118 >> 2; + if (uVar36 != 0) { + uVar10 = RNG::RandomInt(pRVar31,uVar36); + uVar10 = *(uint *)((int)local_118 + uVar10 * 4); } - local_8 = (RNG)0xffffffff; + local_8 = 0xffffffff; if ((int)local_118 != 0) { deallocate((int)local_118,(int)local_110 - (int)local_118 >> 2); local_118 = 0; - local_110 = (RNG *)0x0; + local_110 = (int *)0x0; } - if (-1 < (int)uVar11) goto LAB_0073b843; + if (-1 < (int)uVar10) goto LAB_0073b843; } else { - RVar30 = *local_128; - if (RVar30 == (RNG)0x0) { + uVar36 = local_128->_seed; + if (uVar36 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar30 >> (SUB41(local_128[1],0) & 0x1f) ^ (uint)RVar30; - uVar15 = uVar15 << (SUB41(local_128[2],0) & 0x1f) ^ uVar15; - RVar16 = (RNG)(uVar15 >> (SUB41(local_128[3],0) & 0x1f) ^ uVar15); - *local_128 = RVar16; - RVar30 = (RNG)(((uint)RVar16 / 10) * 10); - if (RVar16 != RVar30) goto LAB_0073b56e; - bVar8 = Game::GetGameStateFlag((Game *)&g_game->_gameStateFlags,0x20); - RVar30 = extraout_ECX_09; - if (bVar8 != 0) goto LAB_0073b56e; - if (RVar16 == (RNG)0x0) { + uVar36 = uVar36 >> ((byte)local_128->_shift1 & 0x1f) ^ uVar36; + uVar36 = uVar36 << ((byte)local_128->_shift2 & 0x1f) ^ uVar36; + pEVar28 = (Entity_Player *)(uVar36 >> ((byte)local_128->_shift3 & 0x1f) ^ uVar36); + local_128->_seed = (int)pEVar28; + pEVar13 = (Entity_Player *)(((uint)pEVar28 / 10) * 10); + if (pEVar28 != pEVar13) goto LAB_0073b56e; + bVar7 = Game::GetGameStateFlag((Game *)&g_game->_gameStateFlags,0x20); + pEVar13 = extraout_ECX_09; + if (bVar7 != 0) goto LAB_0073b56e; + if (pEVar28 == (Entity_Player *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar16 >> ((byte)*(undefined4 *)&local_d8->field_0x182d8 & 0x1f) ^ (uint)RVar16 - ; - uVar15 = uVar15 << ((byte)*(undefined4 *)&local_d8->field_0x182dc & 0x1f) ^ uVar15; - uVar11 = 0xe; - *pRVar34 = (RNG)(uVar15 >> ((byte)*(undefined4 *)&local_d8->field_0x182e0 & 0x1f) ^ uVar15); + uVar36 = (uint)pEVar28 >> ((byte)(local_d8->_generationRNG)._shift1 & 0x1f) ^ (uint)pEVar28; + uVar36 = uVar36 << ((byte)(local_d8->_generationRNG)._shift2 & 0x1f) ^ uVar36; + uVar10 = 0xe; + pRVar31->_seed = uVar36 >> ((byte)(local_d8->_generationRNG)._shift3 & 0x1f) ^ uVar36; LAB_0073b843: - pRVar25 = local_e0; - RVar30 = *pRVar34; - local_f8 = (RNG)0x0; - if (RVar30 == (RNG)0x0) { + pRVar23 = local_e0; + uVar36 = pRVar31->_seed; + local_f8 = (Entity_Player *)0x0; + if (uVar36 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar15 = uVar15 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar15; - RVar30 = (RNG)(uVar15 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar15); - *pRVar34 = RVar30; + uVar36 = uVar36 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar36; + uVar36 = uVar36 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar36; + uVar36 = uVar36 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar36; + pRVar31->_seed = uVar36; local_f0 = RoomConfig::GetRandomRoom - (local_e0,(uint)RVar30,1,0,6,0xd,0,-1,(int)local_d0,(int)local_d0, - (uint *)&local_f8,uVar11,-1); + (local_e0,uVar36,1,0,6,0xd,0,-1,(int)local_d0,(int)local_d0, + (uint *)&local_f8,uVar10,-1); if (local_f0 == (RoomConfig_Room *)0x0) { - RVar30 = *pRVar34; + uVar36 = pRVar31->_seed; local_d0 = local_f0; - if (RVar30 == (RNG)0x0) { + if (uVar36 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar15 = uVar15 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar15; - RVar30 = (RNG)(uVar15 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar15); - *pRVar34 = RVar30; + uVar36 = uVar36 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar36; + uVar36 = uVar36 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar36; + uVar36 = uVar36 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar36; + pRVar31->_seed = uVar36; local_f0 = RoomConfig::GetRandomRoom - (pRVar25,(uint)RVar30,1,0,6,0xd,0,-1,1,10,(uint *)&local_d0,uVar11,-1); + (pRVar23,uVar36,1,0,6,0xd,0,-1,1,10,(uint *)&local_d0,uVar10,-1); if (local_f0 == (RoomConfig_Room *)0x0) { - local_e8 = (RNG)0x0; + local_e8 = (Entity_Player *)0x0; goto LAB_0073b94b; } } - local_e8 = (RNG)LevelGenerator::GetNewEndRoom - (local_e4,local_f0->Shape,(uint *)&local_f0->Doors); + local_e8 = (Entity_Player *) + LevelGenerator::GetNewEndRoom(local_e4,local_f0->Shape,(uint *)&local_f0->Doors); } LAB_0073b94b: - RVar30 = local_120; + pEVar13 = local_120; local_d0 = (RoomConfig_Room *)0x6; std::set::find_node(&local_108,&local_d0); - pLVar29 = local_e4; - if (((((RNG *)((int)local_100 + 0xc))->field_0x1 == '\0') && - ((int)*(RNG *)((int)local_100 + 0x10) < 7)) && (local_100 != (RNG)*(RNG **)RVar30)) { + pLVar25 = local_e4; + if (((*(char *)((int)local_100 + 0xd) == '\0') && (*(int *)((int)local_100 + 0x10) < 7)) && + (local_100 != (Entity_Player *)*(undefined4 **)&pEVar13->field_0x0)) { LAB_0073ba56: - if (local_e8 != (RNG)0x0) { + if (local_e8 != (Entity_Player *)0x0) { LVar3 = local_e4[0xdd]; if (LVar3 == local_e4[0xde]) { - std::vector::_Emplace_reallocate(LVar3,(int *)((int)local_e8 + 4)); + std::vector::_Emplace_reallocate(LVar3,&local_e8->field_0x4); } else { - *(int *)LVar3 = *(int *)((int)local_e8 + 4); + *(int *)LVar3 = *(int *)&local_e8->field_0x4; local_e4[0xdd] = (LevelGenerator)((int)local_e4[0xdd] + 4); } } } else { - RVar30 = *pRVar34; - if (RVar30 == (RNG)0x0) { + uVar36 = pRVar31->_seed; + if (uVar36 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar15 = uVar15 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar15; - RVar16 = (RNG)(uVar15 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar15); - *pRVar34 = RVar16; - RVar30 = pRVar34[3]; - if (((uint)RVar16 & 3) != 0) { - if (RVar16 == (RNG)0x0) { + uVar36 = uVar36 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar36; + uVar36 = uVar36 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar36; + uVar36 = uVar36 >> ((byte)(Game *)pRVar31->_shift3 & 0x1f) ^ uVar36; + pRVar31->_seed = uVar36; + pGVar22 = (Game *)pRVar31->_shift3; + if ((uVar36 & 3) != 0) { + if (uVar36 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar16 >> ((byte)*(undefined4 *)&local_d8->field_0x182d8 & 0x1f) ^ - (uint)RVar16; - uVar15 = uVar15 << ((byte)*(undefined4 *)&local_d8->field_0x182dc & 0x1f) ^ uVar15; - RVar16 = (RNG)(uVar15 >> ((byte)*(undefined4 *)&local_d8->field_0x182e0 & 0x1f) ^ uVar15); - *pRVar34 = RVar16; - if (RVar16 == (RNG)(((uint)RVar16 / 3) * 3)) { + uVar36 = uVar36 >> ((byte)(local_d8->_generationRNG)._shift1 & 0x1f) ^ uVar36; + uVar36 = uVar36 << ((byte)(local_d8->_generationRNG)._shift2 & 0x1f) ^ uVar36; + uVar36 = uVar36 >> ((byte)(local_d8->_generationRNG)._shift3 & 0x1f) ^ uVar36; + pRVar31->_seed = uVar36; + if (uVar36 == (uVar36 / 3) * 3) { if ((g_game->_stageType == 4) || (g_game->_stageType == 5)) { - iVar12 = g_game->_stage + 1; + iVar11 = g_game->_stage + 1; } else { - iVar12 = g_game->_stage; + iVar11 = g_game->_stage; } - RVar30 = (RNG)g_game; - if (iVar12 == 1) goto LAB_0073ba97; + pGVar22 = g_game; + if (iVar11 == 1) goto LAB_0073ba97; } goto LAB_0073ba56; } LAB_0073ba97: - if (local_e8 != (RNG)0x0) { - place_room(local_e8,local_f0,RVar16,RVar30,0); - pGVar28 = g_game; + if (local_e8 != (Entity_Player *)0x0) { + place_room(local_e8,local_f0,uVar36,pGVar22,0); + pGVar22 = g_game; local_134 = extraout_EDX & 0xffffff00; - if ((uVar11 == 2) || (uVar11 == 9)) { - uVar39 = *(undefined4 *)((int)&g_game->_gameStateFlags + 4); + if ((uVar10 == 2) || (uVar10 == 9)) { + uVar37 = *(undefined4 *)((int)&g_game->_gameStateFlags + 4); *(uint *)&g_game->_gameStateFlags = (uint)g_game->_gameStateFlags | 0x200; - *(undefined4 *)((int)&pGVar28->_gameStateFlags + 4) = uVar39; + *(undefined4 *)((int)&pGVar22->_gameStateFlags + 4) = uVar37; } - if ((uVar11 == 3) || (uVar11 == 10)) { - uVar39 = *(undefined4 *)((int)&pGVar28->_gameStateFlags + 4); - *(uint *)&pGVar28->_gameStateFlags = (uint)pGVar28->_gameStateFlags | 0x400; - *(undefined4 *)((int)&pGVar28->_gameStateFlags + 4) = uVar39; + if ((uVar10 == 3) || (uVar10 == 10)) { + uVar37 = *(undefined4 *)((int)&pGVar22->_gameStateFlags + 4); + *(uint *)&pGVar22->_gameStateFlags = (uint)pGVar22->_gameStateFlags | 0x400; + *(undefined4 *)((int)&pGVar22->_gameStateFlags + 4) = uVar37; } - if ((uVar11 == 1) || (uVar11 == 8)) { - uVar39 = *(undefined4 *)((int)&pGVar28->_gameStateFlags + 4); - *(uint *)&pGVar28->_gameStateFlags = (uint)pGVar28->_gameStateFlags | 0x800; - *(undefined4 *)((int)&pGVar28->_gameStateFlags + 4) = uVar39; + if ((uVar10 == 1) || (uVar10 == 8)) { + uVar37 = *(undefined4 *)((int)&pGVar22->_gameStateFlags + 4); + *(uint *)&pGVar22->_gameStateFlags = (uint)pGVar22->_gameStateFlags | 0x800; + *(undefined4 *)((int)&pGVar22->_gameStateFlags + 4) = uVar37; } - if ((uVar11 == 0) || (uVar11 == 7)) { - uVar39 = *(undefined4 *)((int)&pGVar28->_gameStateFlags + 4); - *(uint *)&pGVar28->_gameStateFlags = (uint)pGVar28->_gameStateFlags | 0x1000; - *(undefined4 *)((int)&pGVar28->_gameStateFlags + 4) = uVar39; + if ((uVar10 == 0) || (uVar10 == 7)) { + uVar37 = *(undefined4 *)((int)&pGVar22->_gameStateFlags + 4); + *(uint *)&pGVar22->_gameStateFlags = (uint)pGVar22->_gameStateFlags | 0x1000; + *(undefined4 *)((int)&pGVar22->_gameStateFlags + 4) = uVar37; } - if ((uVar11 == 5) || (uVar11 == 0xc)) { - uVar39 = *(undefined4 *)((int)&pGVar28->_gameStateFlags + 4); - *(uint *)&pGVar28->_gameStateFlags = (uint)pGVar28->_gameStateFlags | 0x2000; - *(undefined4 *)((int)&pGVar28->_gameStateFlags + 4) = uVar39; + if ((uVar10 == 5) || (uVar10 == 0xc)) { + uVar37 = *(undefined4 *)((int)&pGVar22->_gameStateFlags + 4); + *(uint *)&pGVar22->_gameStateFlags = (uint)pGVar22->_gameStateFlags | 0x2000; + *(undefined4 *)((int)&pGVar22->_gameStateFlags + 4) = uVar37; } - if ((uVar11 == 6) || (uVar11 == 0xd)) { - uVar39 = *(undefined4 *)((int)&pGVar28->_gameStateFlags + 4); - *(uint *)&pGVar28->_gameStateFlags = (uint)pGVar28->_gameStateFlags | 0x4000; - *(undefined4 *)((int)&pGVar28->_gameStateFlags + 4) = uVar39; + if ((uVar10 == 6) || (uVar10 == 0xd)) { + uVar37 = *(undefined4 *)((int)&pGVar22->_gameStateFlags + 4); + *(uint *)&pGVar22->_gameStateFlags = (uint)pGVar22->_gameStateFlags | 0x4000; + *(undefined4 *)((int)&pGVar22->_gameStateFlags + 4) = uVar37; } - pLVar29 = local_e4; - if (uVar11 == 0xe) { - qVar5 = pGVar28->_gameStateFlags; - puVar1 = (uint *)((int)&pGVar28->_gameStateFlags + 4); + pLVar25 = local_e4; + if (uVar10 == 0xe) { + qVar4 = pGVar22->_gameStateFlags; + puVar1 = (uint *)((int)&pGVar22->_gameStateFlags + 4); *puVar1 = *puVar1 | 1; - *(int *)&pGVar28->_gameStateFlags = (int)qVar5; + *(int *)&pGVar22->_gameStateFlags = (int)qVar4; } } } - RVar30 = *pRVar34; + uVar10 = pRVar31->_seed; local_d0 = (RoomConfig_Room *)0x0; - bVar8 = local_d8->_bossChallenge; - if (RVar30 == (RNG)0x0) { + bVar7 = local_d8->_bossChallenge; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - local_f8 = (RNG)RoomConfig::GetRandomRoom - (local_e0,(uint)RVar30,1,0,0xb,0xd,0,-1,1,10,(uint *)&local_d0, - (uint)(bVar8 != 0),-1); - local_d4 = (RNG)LevelGenerator::GetNewEndRoom - (pLVar29,*(int *)((int)local_f8 + 0x48),(uint *)((int)local_f8 + 0x38) - ); - RVar30 = local_120; + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + local_f8 = (Entity_Player *) + RoomConfig::GetRandomRoom + (local_e0,uVar10,1,0,0xb,0xd,0,-1,1,10,(uint *)&local_d0,(uint)(bVar7 != 0) + ,-1); + local_d4 = (Entity_Player *) + LevelGenerator::GetNewEndRoom + (pLVar25,*(int *)(local_f8->_sprite)._filename._buf, + (uint *)&local_f8->_spawnerVariant); + pEVar13 = local_120; local_d0 = (RoomConfig_Room *)0xb; std::set::find_node(&local_108,&local_d0); - pGVar28 = g_game; - if (((((RNG *)((int)local_100 + 0xc))->field_0x1 == '\0') && - ((int)*(RNG *)((int)local_100 + 0x10) < 0xc)) && (local_100 != (RNG)*(RNG **)RVar30)) { + pGVar22 = g_game; + if (((*(char *)((int)local_100 + 0xd) == '\0') && (*(int *)((int)local_100 + 0x10) < 0xc)) && + (local_100 != (Entity_Player *)*(undefined4 **)&pEVar13->field_0x0)) { LAB_0073bc80: - if (local_d4 != (RNG)0x0) { + if (local_d4 != (Entity_Player *)0x0) { LVar3 = local_e4[0xdd]; if (LVar3 == local_e4[0xde]) { - std::vector::_Emplace_reallocate - (LVar3,(LevelGenerator_Room *)((int)local_d4 + 4)); + std::vector::_Emplace_reallocate(LVar3,&local_d4->field_0x4); LAB_0073bd74: - pGVar28 = g_game; + pGVar22 = g_game; } else { - *(LevelGenerator_Room *)LVar3 = *(LevelGenerator_Room *)((int)local_d4 + 4); + *(undefined4 *)LVar3 = *(undefined4 *)&local_d4->field_0x4; local_e4[0xdd] = (LevelGenerator)((int)local_e4[0xdd] + 4); } } } else { - RVar30 = *pRVar34; - if (RVar30 == (RNG)0x0) { + uVar10 = pRVar31->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - if (((uint)RVar30 & 1) != 0) { - if ((pGVar28->_stageType == 4) || (pGVar28->_stageType == 5)) { - iVar12 = pGVar28->_stage + 1; + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + if ((uVar10 & 1) != 0) { + if ((pGVar22->_stageType == 4) || (pGVar22->_stageType == 5)) { + iVar11 = pGVar22->_stage + 1; } else { - iVar12 = pGVar28->_stage; + iVar11 = pGVar22->_stage; } - if (iVar12 < 3) goto LAB_0073bc80; + if (iVar11 < 3) goto LAB_0073bc80; } - cVar7 = PlayerManager::check_full_health(0); - if (cVar7 == '\0') goto LAB_0073bc80; - if ((pGVar28->_stageType == 4) || (pGVar28->_stageType == 5)) { - iVar12 = pGVar28->_stage + 1; + cVar6 = PlayerManager::check_full_health(0); + if (cVar6 == '\0') goto LAB_0073bc80; + if ((pGVar22->_stageType == 4) || (pGVar22->_stageType == 5)) { + iVar11 = pGVar22->_stage + 1; } else { - iVar12 = pGVar28->_stage; + iVar11 = pGVar22->_stage; } - if (iVar12 < 2) goto LAB_0073bc80; - if (local_d4 != (RNG)0x0) { - place_room(local_d4,local_f8,RVar30,extraout_ECX_11,0); + if (iVar11 < 2) goto LAB_0073bc80; + if (local_d4 != (Entity_Player *)0x0) { + place_room(local_d4,local_f8,uVar10,extraout_ECX_11,0); goto LAB_0073bd74; } } - pEVar14 = PlayerManager::FirstBirthrightOwner(&pGVar28->_playerManager,2); - RVar30 = *pRVar34; - bVar37 = pEVar14 != (Entity_Player *)0x0; - local_c9 = bVar37; - if (RVar30 == (RNG)0x0) { + pEVar13 = PlayerManager::FirstBirthrightOwner(&pGVar22->_playerManager,2); + uVar10 = pRVar31->_seed; + bVar34 = pEVar13 != (Entity_Player *)0x0; + local_c9 = bVar34; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - if (RVar30 == (RNG)(((uint)RVar30 / 10) * 10)) { + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + if (uVar10 == (uVar10 / 10) * 10) { LAB_0073be57: - RVar30 = local_120; + pEVar13 = local_120; local_d0 = (RoomConfig_Room *)0x14; std::set::find_node(&local_108,&local_d0); - if (((((RNG *)((int)local_100 + 0xc))->field_0x1 == '\0') && - ((int)*(RNG *)((int)local_100 + 0x10) < 0x15)) && (local_100 != (RNG)*(RNG **)RVar30)) - goto LAB_0073be9e; - if (bVar37) goto LAB_0073beac; + if (((*(char *)((int)local_100 + 0xd) == '\0') && (*(int *)((int)local_100 + 0x10) < 0x15)) && + (local_100 != (Entity_Player *)*(undefined4 **)&pEVar13->field_0x0)) goto LAB_0073be9e; + if (bVar34) goto LAB_0073beac; local_d0 = (RoomConfig_Room *)0x0; - RVar30 = (RNG)RNG::Next(pRVar34); - uVar11 = 0xffffffff; - iVar12 = 0x14; - pRVar25 = local_e0; + uVar10 = RNG::Next(pRVar31); + uVar38 = 0xffffffff; + iVar11 = 0x14; + pRVar23 = local_e0; LAB_0073bfba: - uVar39 = 0xffffffff; - uVar15 = 0; - pRVar33 = RoomConfig::GetRandomRoom - (pRVar25,(uint)RVar30,1,0,iVar12,0xd,0,-1,1,10,(uint *)&local_d0,uVar11,-1 - ); + uVar37 = 0xffffffff; + uVar36 = 0; + pRVar30 = RoomConfig::GetRandomRoom + (pRVar23,uVar10,1,0,iVar11,0xd,0,-1,1,10,(uint *)&local_d0,uVar38,-1); } else { - if (RVar30 == (RNG)0x0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)*(undefined4 *)&local_d8->field_0x182d8 & 0x1f) ^ (uint)RVar30 - ; - uVar11 = uVar11 << ((byte)*(undefined4 *)&local_d8->field_0x182dc & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> ((byte)*(undefined4 *)&local_d8->field_0x182e0 & 0x1f) ^ uVar11); - *local_128 = RVar30; - if (((uint)RVar30 % 3 == 0) && (pEVar14 = Game::GetPlayer(g_game,0), 1 < pEVar14->_numKeys)) { - pRVar34 = local_128; + uVar10 = uVar10 >> ((byte)(local_d8->_generationRNG)._shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)(local_d8->_generationRNG)._shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)(local_d8->_generationRNG)._shift3 & 0x1f) ^ uVar10; + local_128->_seed = uVar10; + if ((uVar10 % 3 == 0) && (pEVar13 = Game::GetPlayer(g_game,0), 1 < pEVar13->_numKeys)) { + pRVar31 = local_128; goto LAB_0073be57; } LAB_0073be9e: - pRVar34 = local_128; - if (!bVar37) { - pRVar25 = local_e0; + pRVar31 = local_128; + if (!bVar34) { + pRVar23 = local_e0; LAB_0073bf5e: - RVar30 = *pRVar34; + uVar10 = pRVar31->_seed; local_d0 = (RoomConfig_Room *)0x0; - if (RVar30 == (RNG)0x0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar15 = uVar15 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar15; - uVar11 = 0; - RVar30 = (RNG)(uVar15 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar15); - *pRVar34 = RVar30; - iVar12 = 9; + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar38 = 0; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + iVar11 = 9; goto LAB_0073bfba; } LAB_0073beac: - pRVar25 = local_e0; - RVar30 = *pRVar34; + pRVar23 = local_e0; + uVar10 = pRVar31->_seed; local_d0 = (RoomConfig_Room *)0x0; - if (RVar30 == (RNG)0x0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - uVar39 = 0xffffffff; - uVar15 = 0; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - pRVar33 = RoomConfig::GetRandomRoom - (local_e0,(uint)RVar30,1,0,9,0xd,0,-1,1,10,(uint *)&local_d0,1,-1); - if (pRVar33 == (RoomConfig_Room *)0x0) goto LAB_0073bf5e; + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar37 = 0xffffffff; + uVar36 = 0; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + pRVar30 = RoomConfig::GetRandomRoom + (local_e0,uVar10,1,0,9,0xd,0,-1,1,10,(uint *)&local_d0,1,-1); + if (pRVar30 == (RoomConfig_Room *)0x0) goto LAB_0073bf5e; } - local_d4 = (RNG)LevelGenerator::GetNewEndRoom(local_e4,pRVar33->Shape,(uint *)&pRVar33->Doors); + local_d4 = (Entity_Player *) + LevelGenerator::GetNewEndRoom(local_e4,pRVar30->Shape,(uint *)&pRVar30->Doors); if ((g_game->_stageType == 4) || (g_game->_stageType == 5)) { - iVar12 = g_game->_stage + 1; + iVar11 = g_game->_stage + 1; } else { - iVar12 = g_game->_stage; + iVar11 = g_game->_stage; } - std::set::find_node(&local_108,&pRVar33->Type); - if (((((RNG *)((int)local_100 + 0xc))->field_0x1 != '\0') || - (pRVar33->Type < (int)*(RNG *)((int)local_100 + 0x10))) || - (local_100 == (RNG)*(RNG **)local_120)) { - if (pRVar33->Type == 9) { - pEVar14 = Game::GetPlayer(g_game,0); - uVar18 = extraout_ECX_12; - if ((pEVar14->_numCoins < 5) && (local_c9 == '\0')) goto LAB_0073c05b; + std::set::find_node(&local_108,&pRVar30->Type); + if (((*(char *)((int)local_100 + 0xd) != '\0') || + (pRVar30->Type < *(int *)((int)local_100 + 0x10))) || + (local_100 == (Entity_Player *)*(undefined4 **)&local_120->field_0x0)) { + if (pRVar30->Type == 9) { + pEVar13 = Game::GetPlayer(g_game,0); + uVar15 = extraout_ECX_12; + if ((pEVar13->_numCoins < 5) && (local_c9 == '\0')) goto LAB_0073c05b; LAB_0073c07d: - if (((((iVar12 == 2) || (iVar12 == 4)) || (iVar12 == 6)) || (iVar12 == 8)) || - ((local_c9 != '\0' && (iVar12 < 0xb)))) { - if (local_d4 != (RNG)0x0) { - uVar39 = 0x73c0b6; - place_room(local_d4,pRVar33,*pRVar34,uVar18,0); + if (((((iVar11 == 2) || (iVar11 == 4)) || (iVar11 == 6)) || (iVar11 == 8)) || + ((local_c9 != '\0' && (iVar11 < 0xb)))) { + if (local_d4 != (Entity_Player *)0x0) { + uVar37 = 0x73c0b6; + place_room(local_d4,pRVar30,pRVar31->_seed,uVar15,0); } goto LAB_0073c0f0; } } else { LAB_0073c05b: - if (pRVar33->Type == 0x14) { - pEVar14 = Game::GetPlayer(g_game,0); - uVar18 = extraout_ECX_13; - if (1 < pEVar14->_numKeys) goto LAB_0073c07d; + if (pRVar30->Type == 0x14) { + pEVar13 = Game::GetPlayer(g_game,0); + uVar15 = extraout_ECX_13; + if (1 < pEVar13->_numKeys) goto LAB_0073c07d; } } } - if (local_d4 != (RNG)0x0) { + if (local_d4 != (Entity_Player *)0x0) { LVar3 = local_e4[0xdd]; if (LVar3 == local_e4[0xde]) { - std::vector::_Emplace_reallocate(LVar3,(int *)((int)local_d4 + 4)); + std::vector::_Emplace_reallocate(LVar3,&local_d4->field_0x4); } else { - *(int *)LVar3 = *(int *)((int)local_d4 + 4); + *(int *)LVar3 = *(int *)&local_d4->field_0x4; local_e4[0xdd] = (LevelGenerator)((int)local_e4[0xdd] + 4); } } } LAB_0073c0f0: - RVar30 = local_120; + pEVar13 = local_120; if (local_d8->_stage < 7) { local_d0 = (RoomConfig_Room *)0x12; std::set::find_node(&local_108,&local_d0); - if ((((RNG *)((int)local_100 + 0xc))->field_0x1 == '\0') && - ((int)*(RNG *)((int)local_100 + 0x10) < 0x13)) { - pRVar26 = *(RNG **)RVar30; - RVar30 = local_100; + if ((*(char *)((int)local_100 + 0xd) == '\0') && (*(int *)((int)local_100 + 0x10) < 0x13)) { + puVar17 = *(undefined4 **)&pEVar13->field_0x0; + pEVar13 = local_100; } else { - pRVar26 = *(RNG **)RVar30; - RVar30 = (RNG)pRVar26; + puVar17 = *(undefined4 **)&pEVar13->field_0x0; + pEVar13 = (Entity_Player *)puVar17; } local_d0 = (RoomConfig_Room *)0x13; std::set::find_node(&local_108,&local_d0); - if (((((RNG *)((int)local_100 + 0xc))->field_0x1 == '\0') && - ((int)*(RNG *)((int)local_100 + 0x10) < 0x14)) && (local_100 != (RNG)pRVar26)) { + if (((*(char *)((int)local_100 + 0xd) == '\0') && (*(int *)((int)local_100 + 0x10) < 0x14)) && + (local_100 != (Entity_Player *)puVar17)) { LAB_0073c187: local_c9 = '\0'; } else { - cVar7 = CanSpawnTrapDoor(); + cVar6 = CanSpawnTrapDoor(); local_c9 = '\x01'; - if (cVar7 == '\0') goto LAB_0073c187; + if (cVar6 == '\0') goto LAB_0073c187; } - RVar16 = *pRVar34; - if (RVar16 == (RNG)0x0) { + uVar10 = pRVar31->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar16 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar16; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar16 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar16; - if (((((uint)RVar16 & 1) == 0) || (local_c9 == '\0')) && (RVar30 == (RNG)pRVar26)) { + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + if ((((uVar10 & 1) == 0) || (local_c9 == '\0')) && (pEVar13 == (Entity_Player *)puVar17)) { local_d0 = (RoomConfig_Room *)0x0; - uVar11 = RNG::Next(pRVar34); - iVar12 = 0x12; + uVar10 = RNG::Next(pRVar31); + iVar11 = 0x12; } else { local_d0 = (RoomConfig_Room *)0x0; - uVar11 = RNG::Next(pRVar34); - iVar12 = 0x13; + uVar10 = RNG::Next(pRVar31); + iVar11 = 0x13; } - uVar39 = 0xffffffff; - uVar15 = 0; + uVar37 = 0xffffffff; + uVar36 = 0; local_f0 = RoomConfig::GetRandomRoom - (local_e0,uVar11,1,0,iVar12,0xd,0,-1,1,10,(uint *)&local_d0,0xffffffff,-1); - local_d4 = (RNG)LevelGenerator::GetNewEndRoom(local_e4,local_f0->Shape,(uint *)&local_f0->Doors) - ; - uVar11 = 0; - pPVar27 = &g_game->_playerManager; + (local_e0,uVar10,1,0,iVar11,0xd,0,-1,1,10,(uint *)&local_d0,0xffffffff,-1); + local_d4 = (Entity_Player *) + LevelGenerator::GetNewEndRoom(local_e4,local_f0->Shape,(uint *)&local_f0->Doors); + uVar10 = 0; + pPVar24 = &g_game->_playerManager; local_c9 = '\0'; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar27->_playerList)._begin >> 2 != + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar24->_playerList)._begin >> 2 != 0) { do { - pEVar14 = PlayerManager::GetPlayer(pPVar27,uVar11); - if (pEVar14->_variant == 0) { - iVar12 = Entity_Player::GetHealthType(pEVar14); - if ((iVar12 == 1) || (iVar12 == 2)) { - iVar12 = *(int *)(extraout_EDX_00 + 0x1340); + pEVar13 = PlayerManager::GetPlayer(pPVar24,uVar10); + if (pEVar13->_variant == 0) { + iVar11 = Entity_Player::GetHealthType(pEVar13); + if ((iVar11 == 1) || (iVar11 == 2)) { + iVar11 = *(int *)(extraout_EDX_00 + 0x1340); } else { - iVar12 = *(int *)(extraout_EDX_00 + 0x1340) + *(int *)(extraout_EDX_00 + 0x1d88) * 2; + iVar11 = *(int *)(extraout_EDX_00 + 0x1340) + *(int *)(extraout_EDX_00 + 0x1d88) * 2; } if (((*(int *)(extraout_EDX_00 + 0x1344) < 2) && (*(int *)(extraout_EDX_00 + 0x134c) < 1)) - || ((iVar12 < 1 && (*(int *)(extraout_EDX_00 + 0x134c) < 3)))) { + || ((iVar11 < 1 && (*(int *)(extraout_EDX_00 + 0x134c) < 3)))) { local_c9 = '\x01'; break; } } - uVar11 = uVar11 + 1; - pPVar27 = &g_game->_playerManager; - } while (uVar11 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar27->_playerList)._begin >> 2)); + uVar10 = uVar10 + 1; + pPVar24 = &g_game->_playerManager; + } while (uVar10 < (uint)((int)(g_game->_playerManager)._playerList._end - + (int)(pPVar24->_playerList)._begin >> 2)); } - pLVar29 = local_e4; - RVar30 = *pRVar34; - if (RVar30 == (RNG)0x0) { + pLVar25 = local_e4; + uVar10 = pRVar31->_seed; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - if ((uint)RVar30 % 0x32 == 0) { + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + if (uVar10 % 0x32 == 0) { LAB_0073c3ea: - if (local_d4 != (RNG)0x0) { - uVar39 = 0x73c40a; - place_room(local_d4,local_f0,RVar30,0,0); + if (local_d4 != (Entity_Player *)0x0) { + uVar37 = 0x73c40a; + place_room(local_d4,local_f0,uVar10,0,0); } goto LAB_0073c410; } - if (RVar30 == (RNG)0x0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> ((byte)*(undefined4 *)&local_d8->field_0x182d8 & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << ((byte)*(undefined4 *)&local_d8->field_0x182dc & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> ((byte)*(undefined4 *)&local_d8->field_0x182e0 & 0x1f) ^ uVar11); - *pRVar34 = RVar30; - if (((uint)RVar30 % 5 == 0) && (local_c9 != '\0')) goto LAB_0073c3ea; - if (local_d4 == (RNG)0x0) { + uVar10 = uVar10 >> ((byte)(local_d8->_generationRNG)._shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)(local_d8->_generationRNG)._shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)(local_d8->_generationRNG)._shift3 & 0x1f) ^ uVar10; + pRVar31->_seed = uVar10; + if ((uVar10 % 5 == 0) && (local_c9 != '\0')) goto LAB_0073c3ea; + if (local_d4 == (Entity_Player *)0x0) { LAB_0073c3d3: } else { LVar3 = local_e4[0xdd]; if (LVar3 != local_e4[0xde]) { - *(int *)LVar3 = *(int *)((int)local_d4 + 4); + *(int *)LVar3 = *(int *)&local_d4->field_0x4; local_e4[0xdd] = (LevelGenerator)((int)local_e4[0xdd] + 4); goto LAB_0073c3d3; } - std::vector::_Emplace_reallocate(LVar3,(int *)((int)local_d4 + 4)); + std::vector::_Emplace_reallocate(LVar3,&local_d4->field_0x4); } } else { LAB_0073c410: - pLVar29 = local_e4; + pLVar25 = local_e4; } local_dc = (Entity_Player *)0x0; - bVar8 = HasMirrorDimension((Level *)local_d8); - if (bVar8 == 0) { - bVar8 = HasAbandonedMineshaft((Level *)local_d8); - if (bVar8 == 0) { - bVar8 = HasPhotoDoor((Level *)local_d8); - if ((bVar8 != 0) && + bVar7 = HasMirrorDimension((Level *)local_d8); + if (bVar7 == 0) { + bVar7 = HasAbandonedMineshaft((Level *)local_d8); + if (bVar7 == 0) { + bVar7 = HasPhotoDoor((Level *)local_d8); + if ((bVar7 != 0) && (((g_manager->_persistentGameData)._achievements[0x27b] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { @@ -469376,212 +470117,216 @@ LAB_0073c410: } } else { - iVar12 = PlayerManager::FirstCollectibleOwner + iVar11 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x272,&g_game->_playerManager,1); - if (iVar12 != 0) { - RVar30 = *pRVar34; - local_bc = 0x700000005; + if (iVar11 != 0) { + uVar10 = pRVar31->_seed; + local_c0._shift1 = 5; + local_c0._shift2 = 7; local_d0 = (RoomConfig_Room *)0x0; - if (RVar30 == (RNG)0x0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> 5 ^ (uint)RVar30; - uVar11 = uVar11 << 7 ^ uVar11; - uVar11 = uVar11 >> 0x16 ^ uVar11; - iVar12 = RoomConfig::GetRandomRoomWithFallbackStage - (uVar11,1,local_12c,0x1d,1,0xd,uVar15,uVar39,0,0,&local_d0,10,0x16); - pLVar13 = LevelGenerator::GetNewEndRoom - (local_e4,*(int *)(iVar12 + 0x48),(uint *)(iVar12 + 0x38)); - if (pLVar13 == (LevelGenerator_Room *)0x0) { + uVar10 = uVar10 >> 5 ^ uVar10; + uVar10 = uVar10 << 7 ^ uVar10; + uVar10 = uVar10 >> 0x16 ^ uVar10; + iVar11 = RoomConfig::GetRandomRoomWithFallbackStage + (uVar10,1,local_12c,0x1d,1,0xd,uVar36,uVar37,0,0,&local_d0,10,0x16); + pLVar12 = LevelGenerator::GetNewEndRoom + (local_e4,*(int *)(iVar11 + 0x48),(uint *)(iVar11 + 0x38)); + if (pLVar12 == (LevelGenerator_Room *)0x0) { ExceptionList = local_10; return 0; } - uVar39 = 0x73c636; - place_room(pLVar13,iVar12,uVar11,extraout_ECX_15,0); + uVar37 = 0x73c636; + place_room(pLVar12,iVar11,uVar10,extraout_ECX_15,0); local_dc = (Entity_Player *)0x2; } } } else { - RVar30 = *pRVar34; + uVar10 = pRVar31->_seed; local_d0 = (RoomConfig_Room *)0x0; - if (RVar30 == (RNG)0x0) { + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)RVar30 >> (SUB41(pRVar34[1],0) & 0x1f) ^ (uint)RVar30; - uVar11 = uVar11 << (SUB41(pRVar34[2],0) & 0x1f) ^ uVar11; - RVar30 = (RNG)(uVar11 >> (SUB41(pRVar34[3],0) & 0x1f) ^ uVar11); - uVar15 = 0; - *pRVar34 = RVar30; - pRVar33 = RoomConfig::GetRandomRoom - (local_e0,(uint)RVar30,1,(int)local_12c,1,0xd,0,-1,0,0,(uint *)&local_d0, - 0x22,-1); - pLVar13 = LevelGenerator::GetNewEndRoom(pLVar29,pRVar33->Shape,(uint *)&pRVar33->Doors); - if (pLVar13 == (LevelGenerator_Room *)0x0) { + uVar10 = uVar10 >> ((byte)pRVar31->_shift1 & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)pRVar31->_shift2 & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)pRVar31->_shift3 & 0x1f) ^ uVar10; + uVar36 = 0; + pRVar31->_seed = uVar10; + pRVar30 = RoomConfig::GetRandomRoom + (local_e0,uVar10,1,(int)local_12c,1,0xd,0,-1,0,0,(uint *)&local_d0,0x22,-1); + pLVar12 = LevelGenerator::GetNewEndRoom(pLVar25,pRVar30->Shape,(uint *)&pRVar30->Doors); + if (pLVar12 == (LevelGenerator_Room *)0x0) { ExceptionList = local_10; return 0; } - uVar39 = 0x73c4c7; - place_room(pLVar13,pRVar33,*pRVar34,extraout_ECX_14,0); + uVar37 = 0x73c4c7; + place_room(pLVar12,pRVar30,pRVar31->_seed,extraout_ECX_14,0); local_dc = (Entity_Player *)0x1; } - RVar30 = local_120; + pEVar13 = local_120; local_d0 = (RoomConfig_Room *)0x7; std::set::find_node(&local_108,&local_d0); - RVar16 = local_fc; - if (((((RNG *)((int)local_100 + 0xc))->field_0x1 != '\0') || - (7 < (int)*(RNG *)((int)local_100 + 0x10))) || (local_100 == (RNG)*(RNG **)RVar30)) { + pEVar28 = local_fc; + if (((*(char *)((int)local_100 + 0xd) != '\0') || (7 < *(int *)((int)local_100 + 0x10))) || + (local_100 == (Entity_Player *)*(undefined4 **)&pEVar13->field_0x0)) { local_f0 = (RoomConfig_Room *)0x1; - pEVar14 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x66); - if (pEVar14 == (Entity_Player *)0x0) { - local_d4 = (RNG)0x0; - iVar12 = 1; + pEVar13 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x66); + if (pEVar13 == (Entity_Player *)0x0) { + local_d4 = (Entity_Player *)0x0; + iVar11 = 1; } else { - local_d4 = (RNG)Entity_Player::GetTrinketMultiplier(pEVar14,0x66); - iVar12 = 2; + local_d4 = (Entity_Player *)Entity_Player::GetTrinketMultiplier(pEVar13,0x66); + iVar11 = 2; local_f0 = (RoomConfig_Room *)0x2; } - iVar17 = PlayerManager::FirstCollectibleOwner + iVar14 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x24d,&g_game->_playerManager,1); - RVar30 = local_d4; - if (iVar17 != 0) { - local_f0 = (RoomConfig_Room *)(iVar12 + 1); + pEVar13 = local_d4; + if (iVar14 != 0) { + local_f0 = (RoomConfig_Room *)(iVar11 + 1); } - uVar11 = 0; - uVar18 = extraout_ECX_16; + uVar10 = 0; + uVar15 = extraout_ECX_16; if (0 < (int)local_f0) { do { local_d0 = (RoomConfig_Room *)0x0; - local_f8 = (RNG)RoomConfig::GetRandomRoomWithFallbackStage - (RVar16,1,local_12c,0,7,0xd,uVar15,uVar39,1,10,&local_d0, - 0xffffffff,uVar18); - uVar18 = Console::Print((Console *)local_d8,(int)&local_118 + 4); - local_8 = (RNG)0x3; - local_d0 = (RoomConfig_Room *)LevelGenerator::place_secret_room(uVar18); - local_8 = (RNG)0xffffffff; + local_f8 = (Entity_Player *) + RoomConfig::GetRandomRoomWithFallbackStage + (pEVar28,1,local_12c,0,7,0xd,uVar36,uVar37,1,10,&local_d0,0xffffffff, + uVar15); + uVar15 = Console::Print((Console *)local_d8,(int)&local_118 + 4); + local_8 = 3; + local_d0 = (RoomConfig_Room *)LevelGenerator::place_secret_room(uVar15); + local_8 = 0xffffffff; FID_conflict__Erase_tree_>_> ((void *)((int)&local_118 + 4),(void *)((int)&local_118 + 4), *(_Tree_node **)((int)local_118._4_4_ + 4)); operator_delete(local_118._4_4_,0x14); if (local_d0 != (RoomConfig_Room *)0x0) { - local_d4 = (RNG)0x0; + local_d4 = (Entity_Player *)0x0; local_14c = local_d8->_nbRooms; - uVar39 = 0x73c7b5; - place_room(local_d0,local_f8,RVar16,local_d8,&local_d4); - if (local_d4 != (RNG)0x0) { - if (RVar30 == (RNG)0x2) { - if (uVar11 == 0) goto LAB_0073c7d1; + uVar37 = 0x73c7b5; + place_room(local_d0,local_f8,pEVar28,local_d8,&local_d4); + if (local_d4 != (Entity_Player *)0x0) { + if (pEVar13 == (Entity_Player *)0x2) { + if (uVar10 == 0) goto LAB_0073c7d1; } - else if ((2 < (int)RVar30) && (uVar11 < 2)) { + else if ((2 < (int)pEVar13) && (uVar10 < 2)) { LAB_0073c7d1: - *(uint *)((int)local_d4 + 0x3c) = *(uint *)((int)local_d4 + 0x3c) | 4; + *(uint *)&local_d4->field_0x3c = *(uint *)&local_d4->field_0x3c | 4; } } } - local_bc = 0x500000001; + local_c0._shift1 = 1; + local_c0._shift2 = 5; local_d0 = (RoomConfig_Room *)0x10; - if (RVar16 == (RNG)0x0) { + if (pEVar28 == (Entity_Player *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = uVar11 + 1; - uVar19 = (uint)RVar16 >> 1 ^ (uint)RVar16; - uVar18 = 0x10; - uVar19 = uVar19 << 5 ^ uVar19; - RVar16 = (RNG)(uVar19 >> 0x10 ^ uVar19); - } while ((int)uVar11 < (int)local_f0); - pRVar34 = local_128; + uVar10 = uVar10 + 1; + uVar38 = (uint)pEVar28 >> 1 ^ (uint)pEVar28; + uVar15 = 0x10; + uVar38 = uVar38 << 5 ^ uVar38; + pEVar28 = (Entity_Player *)(uVar38 >> 0x10 ^ uVar38); + } while ((int)uVar10 < (int)local_f0); + pRVar31 = local_128; } } - pGVar28 = local_d8; + pGVar22 = local_d8; if ((local_d8->_stage == 0xb) && (local_d8->_stageType == 0)) { - uVar11 = RNG::Next(pRVar34); + uVar10 = RNG::Next(pRVar31); if (((g_manager->_persistentGameData)._achievements[0x186] == 0) && (((g_manager->_state != 2 || (g_game == (Game *)0x0)) || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))) { - pRVar33 = RoomConfig::GetRoomByStageTypeAndVariant(local_e0,0,1,3,-1); + pRVar30 = RoomConfig::GetRoomByStageTypeAndVariant(local_e0,0,1,3,-1); } else { - uVar15 = 3; + uVar36 = 3; local_d0 = (RoomConfig_Room *)0x0; - pRVar33 = RoomConfig::GetRandomRoom - (local_e0,uVar11,1,0,1,0xd,3,9,1,10,(uint *)&local_d0,0xffffffff,-1); + pRVar30 = RoomConfig::GetRandomRoom + (local_e0,uVar10,1,0,1,0xd,3,9,1,10,(uint *)&local_d0,0xffffffff,-1); } - pLVar13 = LevelGenerator::GetNewEndRoom(local_e4,pRVar33->Shape,(uint *)&pRVar33->Doors); - pGVar28 = local_d8; - if (pLVar13 == (LevelGenerator_Room *)0x0) { + pLVar12 = LevelGenerator::GetNewEndRoom(local_e4,pRVar30->Shape,(uint *)&pRVar30->Doors); + pGVar22 = local_d8; + if (pLVar12 == (LevelGenerator_Room *)0x0) { ExceptionList = local_10; return 0; } - uVar39 = 0x73c902; - place_room(pLVar13,pRVar33,uVar11,extraout_ECX_17,0); + uVar37 = 0x73c902; + place_room(pLVar12,pRVar30,uVar10,extraout_ECX_17,0); } - RVar30 = local_120; + pEVar13 = local_120; local_d0 = (RoomConfig_Room *)0x1d; std::set::find_node(&local_108,&local_d0); - if (((((RNG *)((int)local_100 + 0xc))->field_0x1 != '\0') || - (0x1d < (int)*(RNG *)((int)local_100 + 0x10))) || (local_100 == (RNG)*(RNG **)RVar30)) { - local_bc = 0x30000000d; - if (local_fc == (RNG)0x0) { + if (((*(char *)((int)local_100 + 0xd) != '\0') || (0x1d < *(int *)((int)local_100 + 0x10))) || + (local_100 == (Entity_Player *)*(undefined4 **)&pEVar13->field_0x0)) { + local_c0._shift1 = 0xd; + local_c0._shift2 = 3; + if (local_fc == (Entity_Player *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = (uint)local_fc >> 0xd ^ (uint)local_fc; + uVar10 = (uint)local_fc >> 0xd ^ (uint)local_fc; local_d0 = (RoomConfig_Room *)0x0; - uVar11 = uVar11 << 3 ^ uVar11; - local_d4 = (RNG)(uVar11 >> 0x11 ^ uVar11); - RVar30 = (RNG)RoomConfig::GetRandomRoomWithFallbackStage - (local_d4,1,local_12c,0,0x1d,0xd,uVar15,uVar39,1,10,&local_d0,0xffffffff - ,0x11); - local_f8 = RVar30; - if (RVar30 != (RNG)0x0) { - local_8 = (RNG)0x4; + uVar10 = uVar10 << 3 ^ uVar10; + local_d4 = (Entity_Player *)(uVar10 >> 0x11 ^ uVar10); + pEVar13 = (Entity_Player *) + RoomConfig::GetRandomRoomWithFallbackStage + (local_d4,1,local_12c,0,0x1d,0xd,uVar36,uVar37,1,10,&local_d0,0xffffffff, + 0x11); + local_f8 = pEVar13; + if (pEVar13 != (Entity_Player *)0x0) { + local_8 = 4; FUN_005cbe20(); - local_138 = (RNG)((uint)local_138 | 1); - local_fc = (RNG)0x0; - if (0 < pGVar28->_nbRooms) { - ppvVar35 = &pGVar28->_roomList[0].Data; + local_138 = (Entity_Player *)((uint)local_138 | 1); + local_fc = (Entity_Player *)0x0; + if (0 < pGVar22->_nbRooms) { + ppvVar32 = &pGVar22->_roomList[0].Data; do { - if (*ppvVar35 != (void *)0x0) { - iVar12 = ((RoomDescriptor *)(ppvVar35 + -4))->GridIndex; - if (-1 < iVar12) { - local_f0 = (RoomConfig_Room *)(iVar12 / 0xd); - local_f4 = iVar12 % 0xd; - uVar19 = 0; - uVar11 = 1; + if (*ppvVar32 != (void *)0x0) { + iVar11 = ((RoomDescriptor *)(ppvVar32 + -4))->GridIndex; + if (-1 < iVar11) { + local_f0 = (RoomConfig_Room *)(iVar11 / 0xd); + local_f4 = iVar11 % 0xd; + uVar38 = 0; + uVar10 = 1; do { - pvVar4 = *ppvVar35; - if (((((*(uint *)((int)pvVar4 + (uVar19 >> 5) * 4 + 0x38) & uVar11) == 0) || - (iVar12 = *(int *)((int)pvVar4 + 8), iVar12 == 5)) || - ((iVar12 == 8 || ((iVar12 == 7 || (iVar12 == 10)))))) && + pvVar18 = *ppvVar32; + if (((((*(uint *)((int)pvVar18 + (uVar38 >> 5) * 4 + 0x38) & uVar10) == 0) || + (iVar11 = *(int *)((int)pvVar18 + 8), iVar11 == 5)) || + ((iVar11 == 8 || ((iVar11 == 7 || (iVar11 == 10)))))) && ((LevelGenerator::get_door_target_position - (*(undefined4 *)((int)pvVar4 + 0x48),uVar19,1), local_ec < 0xd && - (((uint)local_e8 < &DAT_0000000d && + (*(undefined4 *)((int)pvVar18 + 0x48),uVar38,1), local_ec < 0xd && + ((local_e8 < (Entity_Player *)&DAT_0000000d && (local_d0 = (RoomConfig_Room *)((int)local_e8 * 0xd + local_ec), -1 < (int)local_d0)))))) { std::set::insert(local_124,&local_d0); } - uVar19 = uVar19 + 1; - uVar11 = uVar11 << 1 | (uint)((int)uVar11 < 0); - } while ((int)uVar19 < 8); - pGVar28 = local_d8; + uVar38 = uVar38 + 1; + uVar10 = uVar10 << 1 | (uint)((int)uVar10 < 0); + } while ((int)uVar38 < 8); + pGVar22 = local_d8; } } - local_fc = (RNG)((int)local_fc + 1); - ppvVar35 = ppvVar35 + 0x2e; - } while ((int)local_fc < pGVar28->_nbRooms); - RVar30 = local_f8; - pRVar34 = local_128; + local_fc = (Entity_Player *)((int)&local_fc->field_0x0 + 1); + ppvVar32 = ppvVar32 + 0x2e; + } while ((int)local_fc < pGVar22->_nbRooms); + pEVar13 = local_f8; + pRVar31 = local_128; } - iVar12 = LevelGenerator::try_place_room((int)&local_118 + 4); - if (iVar12 != 0) { - uVar39 = 0x73cb20; - cVar7 = place_room(iVar12,RVar30,local_d4,extraout_ECX_18,0); - if (cVar7 != '\0') { - pGVar28->_roomList[pGVar28->_nbRooms + -1].Group = 99; + iVar11 = LevelGenerator::try_place_room((int)&local_118 + 4); + if (iVar11 != 0) { + uVar37 = 0x73cb20; + cVar6 = place_room(iVar11,pEVar13,local_d4,extraout_ECX_18,0); + if (cVar6 != '\0') { + pGVar22->_roomList[pGVar22->_nbRooms + -1].Group = 99; } } FID_conflict__Erase_tree_>_> @@ -469590,145 +470335,146 @@ LAB_0073c7d1: operator_delete(local_118._4_4_,0x14); } } - local_e8 = (RNG)0x0; + local_e8 = (Entity_Player *)0x0; local_108 = 0; - local_120 = (RNG)0x0; - local_100 = (RNG)0x0; - local_8 = (RNG)0x5; + local_120 = (Entity_Player *)0x0; + local_100 = (Entity_Player *)0x0; + local_8 = 5; LevelGenerator::get_all_rooms(&local_148); - local_8._0_1_ = 6; - uVar11 = (int)local_144 - (int)local_148 >> 2; - RVar30 = (RNG)0x0; - if (uVar11 != 0) { - if (0x1fffffff < uVar11) { + local_8 = CONCAT31(local_8._1_3_,6); + uVar10 = (int)local_144 - (int)local_148 >> 2; + pEVar13 = (Entity_Player *)0x0; + if (uVar10 != 0) { + if (0x1fffffff < uVar10) { /* WARNING: Subroutine does not return */ std::_Xlen(); } - std::vector<8byte>::_Reallocate_exactly(uVar11); + std::vector<8byte>::_Reallocate_exactly(uVar10); local_120 = local_100; local_e8 = local_108._4_4_; - RVar30 = local_108._4_4_; + pEVar13 = local_108._4_4_; } - piVar32 = local_148; + piVar29 = local_148; if (local_148 != local_144) { do { local_fc = param_2; - if ((1 < (int)param_2) && ((*(byte *)pRVar34 & 7) == 0)) { - local_fc = (RNG)0x1; + if ((1 < (int)param_2) && ((pRVar31->_seed & 7) == 0)) { + local_fc = (Entity_Player *)0x1; } - RVar30 = local_fc; - iVar12 = *piVar32; - if ((*(uint *)(iVar12 + 8) < 0xd) && (*(uint *)(iVar12 + 0xc) < 0xd)) { - iVar17 = *(uint *)(iVar12 + 0xc) * 0xd + *(uint *)(iVar12 + 8); + pEVar13 = local_fc; + iVar11 = *piVar29; + if ((*(uint *)(iVar11 + 8) < 0xd) && (*(uint *)(iVar11 + 0xc) < 0xd)) { + iVar14 = *(uint *)(iVar11 + 0xc) * 0xd + *(uint *)(iVar11 + 8); } else { - iVar17 = -1; + iVar14 = -1; } - if ((iVar17 == local_d8->_startingRoomIdx) && (*(int *)(iVar12 + 0x40) == 0)) { + if ((iVar14 == local_d8->_startingRoomIdx) && (*(int *)(iVar11 + 0x40) == 0)) { if (local_d8->_stage == 0xb) { if (local_d8->_stageType == 1) { - uVar11 = 0x11; - uVar19 = 0; + uVar10 = 0x11; + uVar38 = 0; } else { if (local_d8->_stageType != 0) goto LAB_0073cc71; - uVar11 = 0x10; - uVar19 = 0; + uVar10 = 0x10; + uVar38 = 0; } } else { LAB_0073cc71: - uVar11 = 0; - uVar19 = 2; + uVar10 = 0; + uVar38 = 2; } - uVar39 = 0xffffffff; - pRVar33 = RoomConfig::GetRoomByStageTypeAndVariant(local_e0,uVar11,1,uVar19,-1); - uVar18 = extraout_ECX_19; - iVar36 = local_13c; + uVar37 = 0xffffffff; + pRVar30 = RoomConfig::GetRoomByStageTypeAndVariant(local_e0,uVar10,1,uVar38,-1); + uVar15 = extraout_ECX_19; + iVar33 = local_13c; } else { - local_d0 = *(RoomConfig_Room **)(iVar12 + 0x18); - iVar17 = local_d8->_stage; - uVar11 = RNG::Next(local_128); - iVar36 = local_13c; - uVar39 = 0xffffffff; - uVar19 = 0; - uVar15 = (uint)(iVar17 == 0xb); - pRVar33 = RoomConfig::GetRandomRoom - (local_e0,uVar11,1,(int)local_12c,1,(int)local_d0,uVar15,-1, - (int)local_fc,local_13c,(uint *)(iVar12 + 0x1c),0,-1); - uVar18 = extraout_ECX_20; - RVar30 = local_fc; + local_d0 = *(RoomConfig_Room **)(iVar11 + 0x18); + iVar14 = local_d8->_stage; + uVar10 = RNG::Next(local_128); + iVar33 = local_13c; + uVar37 = 0xffffffff; + uVar38 = 0; + uVar36 = (uint)(iVar14 == 0xb); + pRVar30 = RoomConfig::GetRandomRoom + (local_e0,uVar10,1,(int)local_12c,1,(int)local_d0,uVar36,-1, + (int)local_fc,local_13c,(uint *)(iVar11 + 0x1c),0,-1); + uVar15 = extraout_ECX_20; + pEVar13 = local_fc; } - pGVar28 = local_d8; - pRVar34 = local_128; - if (pRVar33 == (RoomConfig_Room *)0x0) { - puVar21 = (undefined4 *)std::bitset<8>::to_string(local_c8,uVar19,uVar39); - local_8._0_1_ = 7; - if (0xf < (uint)puVar21[5]) { - puVar21 = (undefined4 *)*puVar21; + pGVar22 = local_d8; + pRVar31 = local_128; + if (pRVar30 == (RoomConfig_Room *)0x0) { + puVar17 = (undefined4 *)std::bitset<8>::to_string(local_c8,uVar38,uVar37); + local_8 = CONCAT31(local_8._1_3_,7); + if (0xf < (uint)puVar17[5]) { + puVar17 = (undefined4 *)*puVar17; } /* WARNING: Subroutine does not return */ KAGE_LogMessage(1, "[warn] LevelGenerator could not find a required room (type=ROOM_DEFAULT, shape=%d, difficulty=%d-%d, doors=%s.\n" - ,*(undefined4 *)(*piVar32 + 0x18),RVar30,iVar36,puVar21); + ,*(undefined4 *)(*piVar29 + 0x18),pEVar13,iVar33,puVar17); } - uVar39 = 0x73cd0c; - place_room(*piVar32,pRVar33,*local_128,uVar18,0); - local_110 = (RNG *)*piVar32; - piVar20 = &pGVar28->_roomList[pGVar28->_nbRooms + -1].GridIndex; - local_118 = CONCAT44(piVar20,(int)local_118); + uVar37 = 0x73cd0c; + place_room(*piVar29,pRVar30,local_128->_seed,uVar15,0); + local_110 = (int *)*piVar29; + piVar16 = &pGVar22->_roomList[pGVar22->_nbRooms + -1].GridIndex; + local_118 = CONCAT44(piVar16,(int)local_118); if (local_e8 == local_120) { std::vector<8byte>::_Emplace_reallocate(local_e8,(int)&local_118 + 4); local_120 = local_100; - RVar30 = local_108._4_4_; + pEVar13 = local_108._4_4_; } else { - *(int **)local_e8 = piVar20; - *(RNG **)((int)local_e8 + 4) = local_110; - local_108 = CONCAT44((int)local_e8 + 8U,(int)local_108); - RVar30 = (RNG)((int)local_e8 + 8U); + *(int **)&local_e8->field_0x0 = piVar16; + *(int **)&local_e8->field_0x4 = local_110; + local_108 = CONCAT44(&local_e8->_damageEvents,(int)local_108); + pEVar13 = (Entity_Player *)&local_e8->_damageEvents; } - piVar32 = piVar32 + 1; - local_e8 = RVar30; - } while (piVar32 != local_144); + piVar29 = piVar29 + 1; + local_e8 = pEVar13; + } while (piVar29 != local_144); } local_d0 = (RoomConfig_Room *)(((int)local_e4[0xda] - (int)local_e4[0xd9]) / 0x48); - iVar12 = (int)local_d0 - ((int)local_144 - (int)local_148 >> 2); - if (0 < iVar12) { + iVar11 = (int)local_d0 - ((int)local_144 - (int)local_148 >> 2); + if (0 < iVar11) { do { - RNG::Next(pRVar34); - iVar12 = iVar12 + -1; - } while (iVar12 != 0); + RNG::Next(pRVar31); + iVar11 = iVar11 + -1; + } while (iVar11 != 0); } if (local_dc != (Entity_Player *)0x0) { - iVar12 = (int)local_108; - local_c0 = *pRVar34; - local_e8 = (RNG)((int)RVar30 - (int)local_108 >> 3); - local_b4 = 0xc; - pRVar33 = (RoomConfig_Room *)((int)local_e8 + -1); - local_bc = 0x1500000005; - local_d0 = pRVar33; - if (0 < (int)pRVar33) { - puVar21 = (undefined4 *)((int)local_108 + (int)pRVar33 * 8); + iVar11 = (int)local_108; + local_c0._seed = pRVar31->_seed; + local_e8 = (Entity_Player *)((int)pEVar13 - (int)local_108 >> 3); + local_c0._shift3 = 0xc; + puVar26 = &local_e8[-1].field_0x2670 + 0x5b; + local_c0._shift1 = 5; + local_c0._shift2 = 0x15; + local_d0 = (RoomConfig_Room *)puVar26; + if (0 < (int)puVar26) { + puVar17 = (undefined4 *)((int)local_108 + (int)puVar26 * 8); do { - uVar11 = RNG::RandomInt(&local_c0,(uint)((int)&pRVar33->StageId + 1)); - puVar2 = (undefined4 *)(iVar12 + uVar11 * 8); - if (puVar21 != puVar2) { - uVar18 = *puVar21; - *puVar21 = *puVar2; - *puVar2 = uVar18; - uVar18 = puVar21[1]; - puVar21[1] = puVar2[1]; - puVar2[1] = uVar18; + uVar10 = RNG::RandomInt(&local_c0,(int)puVar26 + 1); + puVar2 = (undefined4 *)(iVar11 + uVar10 * 8); + if (puVar17 != puVar2) { + uVar15 = *puVar17; + *puVar17 = *puVar2; + *puVar2 = uVar15; + uVar15 = puVar17[1]; + puVar17[1] = puVar2[1]; + puVar2[1] = uVar15; } - pRVar33 = (RoomConfig_Room *)((int)&pRVar33[-1].originalVariant + 3); - puVar21 = puVar21 + -2; - } while (0 < (int)pRVar33); - iVar12 = (int)local_108; - pRVar34 = local_128; + puVar26 = puVar26 + -1; + puVar17 = puVar17 + -2; + } while (0 < (int)puVar26); + iVar11 = (int)local_108; + pRVar31 = local_128; } - RVar30 = local_e8; + pEVar13 = local_e8; local_f0 = local_12c; if (local_12c == (RoomConfig_Room *)&DAT_0000001c) { local_f0 = (RoomConfig_Room *)0x1b; @@ -469740,67 +470486,67 @@ LAB_0073cc71: (local_12c == (RoomConfig_Room *)&DAT_00000009)) { local_f0 = (RoomConfig_Room *)&DAT_00000007; } - get_door_neighbor_indices((int)&local_118 + 4); - local_8._0_1_ = 8; - local_d4 = (RNG)0x0; - RVar16 = (RNG)((int)(&(local_dc->_sprite)._filename + -3) + (int)RVar30); - local_f8 = RVar16; - if (RVar16 != (RNG)0x0) { + get_door_neighbor_indices((Level *)local_d8,(int)&local_118 + 4); + local_8 = CONCAT31(local_8._1_3_,8); + local_d4 = (Entity_Player *)0x0; + pEVar28 = (Entity_Player *)((int)&pEVar13->field_0x0 + (int)local_dc); + local_f8 = pEVar28; + if (pEVar28 != (Entity_Player *)0x0) { do { if ((int)local_dc < 1) goto LAB_0073d125; - local_fc = (RNG)0x0; - if ((uint)local_d4 < (uint)RVar30) { - local_fc = *(RNG *)(iVar12 + (int)local_d4 * 8); - RVar16 = *(RNG *)(iVar12 + 4 + (int)local_d4 * 8); - local_e8 = RVar16; - if (*(int *)local_fc != local_d8->_startingRoomIdx) goto LAB_0073cfe0; + local_fc = (Entity_Player *)0x0; + if (local_d4 < pEVar13) { + local_fc = *(Entity_Player **)(iVar11 + (int)local_d4 * 8); + pEVar28 = *(Entity_Player **)(iVar11 + 4 + (int)local_d4 * 8); + local_e8 = pEVar28; + if (*(int *)&local_fc->field_0x0 != local_d8->_startingRoomIdx) goto LAB_0073cfe0; } else { - local_e8 = (RNG)LevelGenerator::try_add_dead_end(RVar16,(int)&local_118 + 4); - if (local_e8 == (RNG)0x0) goto LAB_0073d184; + local_e8 = (Entity_Player *)LevelGenerator::try_add_dead_end(pEVar28,(int)&local_118 + 4); + if (local_e8 == (Entity_Player *)0x0) goto LAB_0073d184; LAB_0073cfe0: local_138 = param_2; - if ((1 < (int)param_2) && (((uint)local_c0 & 7) == 0)) { - local_138 = (RNG)0x1; + if ((1 < (int)param_2) && ((local_c0._seed & 7U) == 0)) { + local_138 = (Entity_Player *)0x1; } - iVar12 = *(int *)((int)local_e8 + 0x18); - uVar11 = RNG::Next(&local_c0); - local_d0 = (RoomConfig_Room *)((int)local_e8 + 0x1c); - iVar12 = RoomConfig::GetRandomRoomWithFallbackStage - (uVar11,1,local_12c,local_f0,1,iVar12,uVar15,uVar39,local_138,local_13c - ,local_d0,1,local_d0); - if (iVar12 == 0) { - iVar12 = *(int *)((int)local_e8 + 0x18); - uVar11 = RNG::Next(&local_c0); - iVar12 = RoomConfig::GetRandomRoomWithFallbackStage - (uVar11,1,local_12c,local_f0,1,iVar12,uVar15,uVar39,1,10,local_d0,1, - extraout_ECX_21); - if (iVar12 == 0) { - RVar16 = extraout_ECX_22; - iVar12 = (int)local_108; + qVar4 = local_e8->_pendingDamageFlags; + uVar10 = RNG::Next(&local_c0); + local_d0 = (RoomConfig_Room *)((int)&local_e8->_pendingDamageFlags + 4); + pvVar18 = (void *)RoomConfig::GetRandomRoomWithFallbackStage + (uVar10,1,local_12c,local_f0,1,(int)qVar4,uVar36,uVar37, + local_138,local_13c,local_d0,1,local_d0); + if (pvVar18 == (void *)0x0) { + qVar4 = local_e8->_pendingDamageFlags; + uVar10 = RNG::Next(&local_c0); + pvVar18 = (void *)RoomConfig::GetRandomRoomWithFallbackStage + (uVar10,1,local_12c,local_f0,1,(int)qVar4,uVar36,uVar37,1,10 + ,local_d0,1,extraout_ECX_21); + if (pvVar18 == (void *)0x0) { + pEVar28 = extraout_ECX_22; + iVar11 = (int)local_108; goto LAB_0073d108; } } local_dc = (Entity_Player *)((int)&local_dc[-1]._replacedPlayer + 3); - if (local_fc == (RNG)0x0) { - uVar18 = 0; - RVar16 = local_fc; - uVar11 = RNG::Next(&local_c0); - uVar39 = 0x73d0e8; - place_room(local_e8,iVar12,uVar11,RVar16,uVar18); - RVar16 = extraout_ECX_23; - iVar12 = (int)local_108; + if (local_fc == (Entity_Player *)0x0) { + uVar15 = 0; + pEVar28 = local_fc; + uVar10 = RNG::Next(&local_c0); + uVar37 = 0x73d0e8; + place_room(local_e8,pvVar18,uVar10,pEVar28,uVar15); + pEVar28 = extraout_ECX_23; + iVar11 = (int)local_108; } else { - *(int *)((int)local_fc + 0x10) = iVar12; - *(int *)((int)local_fc + 0x18) = *(int *)(iVar12 + 0x38); - RVar16 = local_fc; - iVar12 = (int)local_108; + (local_fc->_damageEvents)._capacity = pvVar18; + *(undefined4 *)&local_fc->_pendingDamageFlags = *(undefined4 *)((int)pvVar18 + 0x38); + pEVar28 = local_fc; + iVar11 = (int)local_108; } } LAB_0073d108: - local_d4 = (RNG)((int)local_d4 + 1); - } while ((uint)local_d4 < (uint)local_f8); + local_d4 = (Entity_Player *)((int)&local_d4->field_0x0 + 1); + } while (local_d4 < local_f8); } if (0 < (int)local_dc) { LAB_0073d184: @@ -469809,217 +470555,221 @@ LAB_0073d184: *(_Tree_node **)((int)local_118._4_4_ + 4)); operator_delete(local_118._4_4_,0x14); FID_conflict__Tidy(&local_148); - if (iVar12 != 0) { - deallocate(iVar12,(int)local_120 - iVar12 >> 3); + if (iVar11 != 0) { + deallocate(iVar11,(int)local_120 - iVar11 >> 3); } ExceptionList = local_10; return 0; } LAB_0073d125: - local_8._0_1_ = 6; + local_8 = CONCAT31(local_8._1_3_,6); FID_conflict__Erase_tree_>_> ((void *)((int)&local_118 + 4),(void *)((int)&local_118 + 4), *(_Tree_node **)((int)local_118._4_4_ + 4)); operator_delete(local_118._4_4_,0x14); } - pGVar28 = g_game; - cVar7 = Game::GetStateFlag(g_game,0xf); - if (cVar7 != '\0') { - cVar7 = Game::GetStateFlag(pGVar28,0x10); + pGVar22 = g_game; + cVar6 = Game::GetStateFlag(g_game,0xf); + if (cVar6 != '\0') { + cVar6 = Game::GetStateFlag(pGVar22,0x10); local_134 = local_134 & 0xff; - if (cVar7 != '\0') { + if (cVar6 != '\0') { local_134 = 0; } } - uVar11 = local_134; + uVar10 = local_134; local_dc = (Entity_Player *)0x3f800000; - pEVar14 = Game::GetPlayer(pGVar28,0); - pGVar28 = g_game; - if (0x13 < pEVar14->_numCoins) { + pEVar13 = Game::GetPlayer(pGVar22,0); + pGVar22 = g_game; + if (0x13 < pEVar13->_numCoins) { local_dc = (Entity_Player *)0x3f866666; } - cVar7 = Game::GetStateFlag(g_game,0x1e); - if (cVar7 != '\0') { + cVar6 = Game::GetStateFlag(g_game,0x1e); + if (cVar6 != '\0') { FUN_004d72b0(0x1e,0); local_dc = (Entity_Player *)((float)local_dc + 0.1); } - cVar7 = Game::GetStateFlag(pGVar28,0x1f); - if (cVar7 != '\0') { + cVar6 = Game::GetStateFlag(pGVar22,0x1f); + if (cVar6 != '\0') { FUN_004d72b0(0x1f,0); local_dc = (Entity_Player *)((float)local_dc + 0.02); } - iVar12 = pGVar28->_donationModGreed; - pGVar28->_donationModGreed = 0; - iVar17 = 5; - if (iVar12 < 5) { - iVar17 = iVar12; + iVar11 = pGVar22->_donationModGreed; + pGVar22->_donationModGreed = 0; + iVar14 = 5; + if (iVar11 < 5) { + iVar14 = iVar11; } - local_dc = (Entity_Player *)(((float)local_dc - (float)iVar17 * 0.05) * 0.33333334); - RNG::Next(pRVar34); - pGVar28 = local_d8; - RVar30 = *pRVar34; - if (((((float)((double)(int)RVar30 + __uint_to_double_fixup[-((int)RVar30 >> 0x1f)]) * - 2.3283062e-10 < (float)local_dc) && ((char)uVar11 != '\0')) && (-1 < local_14c)) && + local_dc = (Entity_Player *)(((float)local_dc - (float)iVar14 * 0.05) * 0.33333334); + RNG::Next(pRVar31); + pGVar22 = local_d8; + uVar36 = pRVar31->_seed; + if (((((float)((double)(int)uVar36 + __uint_to_double_fixup[-((int)uVar36 >> 0x1f)]) * + 2.3283062e-10 < (float)local_dc) && ((char)uVar10 != '\0')) && (-1 < local_14c)) && (4 < local_d8->_stage)) { - local_bc = 0x700000002; - local_b4 = 9; - local_c0 = RVar30; - uVar11 = RNG::RandomInt(&local_c0,1000); - uVar24 = (undefined1)local_134; - if (uVar11 != 0) { - uVar24 = 0; + local_c0._shift1 = 2; + local_c0._shift2 = 7; + local_c0._shift3 = 9; + local_c0._seed = uVar36; + uVar10 = RNG::RandomInt(&local_c0,1000); + uVar21 = (undefined1)local_134; + if (uVar10 != 0) { + uVar21 = 0; } - local_134 = CONCAT31(local_134._1_3_,uVar24); - piVar32 = &pGVar28->_roomList[local_14c].Flags; - *piVar32 = *piVar32 | 0x10; + local_134 = CONCAT31(local_134._1_3_,uVar21); + piVar29 = &pGVar22->_roomList[local_14c].Flags; + *piVar29 = *piVar29 | 0x10; } - RNG::Next(pRVar34); - uVar11 = local_130; - RVar30 = *pRVar34; - if ((((float)((double)(int)RVar30 + __uint_to_double_fixup[-((int)RVar30 >> 0x1f)]) * + RNG::Next(pRVar31); + uVar36 = local_130; + uVar10 = pRVar31->_seed; + if ((((float)((double)(int)uVar10 + __uint_to_double_fixup[-((int)uVar10 >> 0x1f)]) * 2.3283062e-10 < (float)local_dc) && ((char)local_134 != '\0')) && - ((-1 < (int)local_130 && (3 < pGVar28->_stage)))) { - local_bc = 0x700000002; - local_b4 = 9; - local_c0 = RVar30; + ((-1 < (int)local_130 && (3 < pGVar22->_stage)))) { + local_c0._shift1 = 2; + local_c0._shift2 = 7; + local_c0._shift3 = 9; + local_c0._seed = uVar10; RNG::RandomInt(&local_c0,1000); - piVar32 = &pGVar28->_roomList[uVar11].Flags; - *piVar32 = *piVar32 | 0x10; + piVar29 = &pGVar22->_roomList[uVar36].Flags; + *piVar29 = *piVar29 | 0x10; } - GetRoomByIdx((Level *)pGVar28,-2,-1); - Seeds::Init3(pRVar34); + GetRoomByIdx((Level *)pGVar22,-2,-1); + Seeds::Init3(pRVar31); local_d0 = (RoomConfig_Room *)0x0; - uVar11 = RNG::Next(pRVar34); - pRVar33 = RoomConfig::GetRandomRoom - (local_e0,uVar11,1,0,3,0xd,0,-1,1,10,(uint *)&local_d0,0xffffffff,-1); - pRVar22 = GetRoomByIdx((Level *)pGVar28,-2,-1); - pRVar22->Data = pRVar33; - GetRoomByIdx((Level *)pGVar28,-6,-1); - Seeds::Init3(pRVar34); + uVar10 = RNG::Next(pRVar31); + pRVar30 = RoomConfig::GetRandomRoom + (local_e0,uVar10,1,0,3,0xd,0,-1,1,10,(uint *)&local_d0,0xffffffff,-1); + pRVar19 = GetRoomByIdx((Level *)pGVar22,-2,-1); + pRVar19->Data = pRVar30; + GetRoomByIdx((Level *)pGVar22,-6,-1); + Seeds::Init3(pRVar31); local_d0 = (RoomConfig_Room *)0x0; - uVar11 = RNG::Next(pRVar34); - pRVar33 = RoomConfig::GetRandomRoom - (local_e0,uVar11,1,0,0x16,0xd,0,-1,1,10,(uint *)&local_d0,0xffffffff,-1); - pRVar22 = GetRoomByIdx((Level *)pGVar28,-6,-1); - pRVar22->Data = pRVar33; - GetRoomByIdx((Level *)pGVar28,-4,-1); - Seeds::Init3(pRVar34); + uVar10 = RNG::Next(pRVar31); + pRVar30 = RoomConfig::GetRandomRoom + (local_e0,uVar10,1,0,0x16,0xd,0,-1,1,10,(uint *)&local_d0,0xffffffff,-1); + pRVar19 = GetRoomByIdx((Level *)pGVar22,-6,-1); + pRVar19->Data = pRVar30; + GetRoomByIdx((Level *)pGVar22,-4,-1); + Seeds::Init3(pRVar31); local_d0 = (RoomConfig_Room *)0x0; - uVar11 = RNG::Next(pRVar34); - pRVar33 = RoomConfig::GetRandomRoom - (local_e0,uVar11,1,0,0x10,0xd,0,-1,1,10,(uint *)&local_d0,0xffffffff,-1); - pRVar22 = GetRoomByIdx((Level *)pGVar28,-4,-1); - pRVar22->Data = pRVar33; - GetRoomByIdx((Level *)pGVar28,-5,-1); - Seeds::Init3(pRVar34); - iVar12 = PlayerManager::FirstCollectibleOwner + uVar10 = RNG::Next(pRVar31); + pRVar30 = RoomConfig::GetRandomRoom + (local_e0,uVar10,1,0,0x10,0xd,0,-1,1,10,(uint *)&local_d0,0xffffffff,-1); + pRVar19 = GetRoomByIdx((Level *)pGVar22,-4,-1); + pRVar19->Data = pRVar30; + GetRoomByIdx((Level *)pGVar22,-5,-1); + Seeds::Init3(pRVar31); + iVar11 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x226,&g_game->_playerManager,1); - if (iVar12 == 0) { + if (iVar11 == 0) { local_d0 = (RoomConfig_Room *)0x0; - uVar11 = RNG::Next(pRVar34); - pRVar33 = RoomConfig::GetRandomRoom - (local_e0,uVar11,1,0,0x11,0xd,0,-1,1,10,(uint *)&local_d0,0xffffffff,-1); + uVar10 = RNG::Next(pRVar31); + pRVar30 = RoomConfig::GetRandomRoom + (local_e0,uVar10,1,0,0x11,0xd,0,-1,1,10,(uint *)&local_d0,0xffffffff,-1); } else { - RNG::Next(pRVar34); - pRVar33 = RoomConfig::GetRoomByStageTypeAndVariant(local_e0,0,0x11,0,-1); + RNG::Next(pRVar31); + pRVar30 = RoomConfig::GetRoomByStageTypeAndVariant(local_e0,0,0x11,0,-1); } - pRVar22 = GetRoomByIdx((Level *)pGVar28,-5,-1); - pRVar22->Data = pRVar33; - GetRoomByIdx((Level *)pGVar28,-7,-1); - Seeds::Init3(pRVar34); + pRVar19 = GetRoomByIdx((Level *)pGVar22,-5,-1); + pRVar19->Data = pRVar30; + GetRoomByIdx((Level *)pGVar22,-7,-1); + Seeds::Init3(pRVar31); local_d0 = (RoomConfig_Room *)0x0; - uVar11 = RNG::Next(pRVar34); - pRVar33 = RoomConfig::GetRandomRoom(local_e0,uVar11,1,0,5,0xd,0,-1,1,10,(uint *)&local_d0,0x37,-1) + uVar10 = RNG::Next(pRVar31); + pRVar30 = RoomConfig::GetRandomRoom(local_e0,uVar10,1,0,5,0xd,0,-1,1,10,(uint *)&local_d0,0x37,-1) ; - pRVar22 = GetRoomByIdx((Level *)pGVar28,-7,-1); - pRVar22->Data = pRVar33; + pRVar19 = GetRoomByIdx((Level *)pGVar22,-7,-1); + pRVar19->Data = pRVar30; if (local_12c == (RoomConfig_Room *)&DAT_0000000d) { - GetRoomByIdx((Level *)pGVar28,-9,-1); - Seeds::Init3(pRVar34); + GetRoomByIdx((Level *)pGVar22,-9,-1); + Seeds::Init3(pRVar31); local_d0 = (RoomConfig_Room *)0x0; - uVar11 = RNG::Next(pRVar34); - pRVar33 = RoomConfig::GetRandomRoom(local_e0,uVar11,1,0xd,1,0xd,0,-1,0,0,(uint *)&local_d0,1,-1) + uVar10 = RNG::Next(pRVar31); + pRVar30 = RoomConfig::GetRandomRoom(local_e0,uVar10,1,0xd,1,0xd,0,-1,0,0,(uint *)&local_d0,1,-1) ; - iVar12 = -9; + iVar11 = -9; } else { - GetRoomByIdx((Level *)pGVar28,-8,-1); - Seeds::Init3(pRVar34); + GetRoomByIdx((Level *)pGVar22,-8,-1); + Seeds::Init3(pRVar31); local_d0 = (RoomConfig_Room *)0x0; - uVar11 = RNG::Next(pRVar34); - pRVar33 = RoomConfig::GetRandomRoom(local_e0,uVar11,1,0xd,1,0xd,0,-1,0,0,(uint *)&local_d0,1,-1) + uVar10 = RNG::Next(pRVar31); + pRVar30 = RoomConfig::GetRandomRoom(local_e0,uVar10,1,0xd,1,0xd,0,-1,0,0,(uint *)&local_d0,1,-1) ; - iVar12 = -8; + iVar11 = -8; } - pRVar22 = GetRoomByIdx((Level *)pGVar28,iVar12,-1); - pMVar6 = g_manager; - pRVar22->Data = pRVar33; - if (((pMVar6->_persistentGameData)._achievements[0x98] == 0) && - (((pMVar6->_state != 2 || (g_game == (Game *)0x0)) || + pRVar19 = GetRoomByIdx((Level *)pGVar22,iVar11,-1); + pMVar5 = g_manager; + pRVar19->Data = pRVar30; + if (((pMVar5->_persistentGameData)._achievements[0x98] == 0) && + (((pMVar5->_state != 2 || (g_game == (Game *)0x0)) || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))) { - uVar11 = 1; + uVar10 = 1; } else { - uVar11 = 2; + uVar10 = 2; } - if (((pMVar6->_persistentGameData)._achievements[0x99] == 0) && - (((pMVar6->_state != 2 || (g_game == (Game *)0x0)) || + if (((pMVar5->_persistentGameData)._achievements[0x99] == 0) && + (((pMVar5->_state != 2 || (g_game == (Game *)0x0)) || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))) { - uVar15 = 1; + uVar36 = 1; } else { - uVar15 = 2; + uVar36 = 2; } - if (((pMVar6->_persistentGameData)._achievements[0x9a] != 0) || - (((pMVar6->_state == 2 && (g_game != (Game *)0x0)) && + if (((pMVar5->_persistentGameData)._achievements[0x9a] != 0) || + (((pMVar5->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))) { - uVar11 = uVar11 + 1; + uVar10 = uVar10 + 1; } - local_c0 = (RNG)RNG::Next(pRVar34); - local_bc = 0x300000003; - local_b4 = 0x1a; - uVar15 = RNG::RandomInt(&local_c0,uVar15); - uVar11 = RNG::RandomInt(&local_c0,uVar11); + local_c0._seed = RNG::Next(pRVar31); + local_c0._shift1 = 3; + local_c0._shift2 = 3; + local_c0._shift3 = 0x1a; + uVar36 = RNG::RandomInt(&local_c0,uVar36); + uVar10 = RNG::RandomInt(&local_c0,uVar10); GetRoomByIdx((Level *)local_d8,-0xd,-1); Seeds::Init3(&local_c0); local_d0 = (RoomConfig_Room *)0x0; - uVar19 = RNG::Next(&local_c0); - pRVar33 = RoomConfig::GetRandomRoom - (local_e0,uVar19,1,0,2,0xd,0,-1,1,10,(uint *)&local_d0,uVar15 + uVar11,-1); - pGVar28 = local_d8; - pRVar22 = GetRoomByIdx((Level *)local_d8,-0xd,-1); - pRVar34 = local_128; - pRVar22->Data = pRVar33; - local_c0 = (RNG)RNG::Next(local_128); - local_bc = 0x300000003; - local_b4 = 0x1c; - GetRoomByIdx((Level *)pGVar28,-0x12,-1); + uVar38 = RNG::Next(&local_c0); + pRVar30 = RoomConfig::GetRandomRoom + (local_e0,uVar38,1,0,2,0xd,0,-1,1,10,(uint *)&local_d0,uVar36 + uVar10,-1); + pGVar22 = local_d8; + pRVar19 = GetRoomByIdx((Level *)local_d8,-0xd,-1); + pRVar31 = local_128; + pRVar19->Data = pRVar30; + local_c0._seed = RNG::Next(local_128); + local_c0._shift1 = 3; + local_c0._shift2 = 3; + local_c0._shift3 = 0x1c; + GetRoomByIdx((Level *)pGVar22,-0x12,-1); Seeds::Init3(&local_c0); local_d0 = (RoomConfig_Room *)0x0; - uVar11 = RNG::Next(&local_c0); - pRVar33 = RoomConfig::GetRandomRoom(local_e0,uVar11,1,0,0xf,0xd,0,-1,1,10,(uint *)&local_d0,1,-1); - pRVar22 = GetRoomByIdx((Level *)pGVar28,-0x12,-1); - pRVar22->Data = pRVar33; - if ((pGVar28->_stageType != 4) && (pGVar28->_stageType != 5)) goto LAB_0073d925; - if (pGVar28->_stage != 8) { - if (pGVar28->_stage != 7) goto LAB_0073d925; - uVar11 = g_game->_debugCurses; - uVar15 = pGVar28->_curses; - uVar19 = Seeds::GetForcedCurses(); - uVar23 = Seeds::GetPreventedCurses(); - if ((~uVar23 & (uVar19 | uVar11 | uVar15) & 2) == 0) goto LAB_0073d925; - pGVar28 = local_d8; + uVar10 = RNG::Next(&local_c0); + pRVar30 = RoomConfig::GetRandomRoom(local_e0,uVar10,1,0,0xf,0xd,0,-1,1,10,(uint *)&local_d0,1,-1); + pRVar19 = GetRoomByIdx((Level *)pGVar22,-0x12,-1); + pRVar19->Data = pRVar30; + if ((pGVar22->_stageType != 4) && (pGVar22->_stageType != 5)) goto LAB_0073d925; + if (pGVar22->_stage != 8) { + if (pGVar22->_stage != 7) goto LAB_0073d925; + uVar10 = g_game->_debugCurses; + uVar36 = pGVar22->_curses; + uVar38 = Seeds::GetForcedCurses(); + uVar20 = Seeds::GetPreventedCurses(); + if ((~uVar20 & (uVar38 | uVar10 | uVar36) & 2) == 0) goto LAB_0073d925; + pGVar22 = local_d8; } - RNG::Next(pRVar34); - GetRoomByIdx((Level *)pGVar28,-10,-1); - Seeds::Init3(pRVar34); + RNG::Next(pRVar31); + GetRoomByIdx((Level *)pGVar22,-10,-1); + Seeds::Init3(pRVar31); local_d0 = (RoomConfig_Room *)0x0; - uVar11 = RNG::Next(pRVar34); - pRVar33 = RoomConfig::GetRandomRoom - (local_e0,uVar11,1,(int)local_12c,5,0xd,0,-1,1,10,(uint *)&local_d0,0x58,-1); - pRVar22 = GetRoomByIdx((Level *)pGVar28,-10,-1); - pRVar22->Data = pRVar33; + uVar10 = RNG::Next(pRVar31); + pRVar30 = RoomConfig::GetRandomRoom + (local_e0,uVar10,1,(int)local_12c,5,0xd,0,-1,1,10,(uint *)&local_d0,0x58,-1); + pRVar19 = GetRoomByIdx((Level *)pGVar22,-10,-1); + pRVar19->Data = pRVar30; LAB_0073d925: FID_conflict__Tidy(&local_148); if ((int)local_108 != 0) { @@ -470103,11 +470853,15 @@ uint Level::GetTargetSlot(int param_1,int param_2) } -//@@ 0073dae0 FUN_0073dae0 +//@@ 0073dae0 Level::update_room_doors /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? ECX = Level; arg RoomDescriptor (+0x10 RoomConfig_Room: +0x46/+0x47 width/height, +0x48 + shape, +0x38 door mask): computes the 8 neighbour grid indices (13x13 grid) per shape (shapes + 9..0xc via FUN_00738620), drops doors not in the config mask, stores them at descriptor+0x1c; + FUN_0073e040 runs it on every room and the 0x14 off-grid ones; also Level::GenerateHome */ -void FUN_0073dae0(int *param_1) +void Level::update_room_doors(int *param_1) { uint uVar1; @@ -470284,7 +471038,7 @@ LAB_0073dcc1: } else { pRVar9 = in_ECX->_roomList + piVar4[uVar6]; - pRVar5 = Level::GetRoomByIdx(in_ECX,uVar6,local_34); + pRVar5 = GetRoomByIdx(in_ECX,uVar6,local_34); iVar10 = uVar6 - pRVar5->GridIndex; if ((((uVar7 == 1) || (uVar7 == 3)) && (0 < iVar10 % 0xd)) || (((uVar7 == 0 || (uVar7 == 2)) && (0 < iVar10 / 0xd)))) { @@ -470299,7 +471053,7 @@ LAB_0073dcc1: if ((7 < uVar8) || (param_1[(uVar8 >> 5) + 6] = param_1[(uVar8 >> 5) + 6] | uVar6, 7 < uVar7)) goto LAB_0073e00a; - (&pRVar9->AllowedDoors)[uVar7 >> 5] = (&pRVar9->AllowedDoors)[uVar7 >> 5] | local_34; + pRVar9->_doors[(uVar7 >> 5) - 1] = pRVar9->_doors[(uVar7 >> 5) - 1] | local_34; goto LAB_0073dfd8; } } @@ -470313,8 +471067,8 @@ LAB_0073e00a: param_1[(uVar8 >> 5) + 6] = param_1[(uVar8 >> 5) + 6] & ~(1 << ((byte)uVar8 & 0x1f)); if ((pRVar9 != (RoomDescriptor *)0x0) && (uVar2 != 0xffffffff)) { if (7 < uVar2) goto LAB_0073e00a; - (&pRVar9->AllowedDoors)[uVar2 >> 5] = - (&pRVar9->AllowedDoors)[uVar2 >> 5] & ~(1 << ((byte)uVar2 & 0x1f)); + pRVar9->_doors[(uVar2 >> 5) - 1] = + pRVar9->_doors[(uVar2 >> 5) - 1] & ~(1 << ((byte)uVar2 & 0x1f)); } } LAB_0073dfd8: @@ -470340,7 +471094,7 @@ void FUN_0073e040(void) if (0 < *(int *)(in_ECX + 0x182cc)) { iVar1 = in_ECX + 0x14; do { - FUN_0073dae0(iVar1); + Level::update_room_doors(iVar1); iVar2 = iVar2 + 1; iVar1 = iVar1 + 0xb8; } while (iVar2 < *(int *)(in_ECX + 0x182cc)); @@ -470348,7 +471102,7 @@ void FUN_0073e040(void) iVar2 = in_ECX + 0x16c7c; iVar1 = 0x14; do { - FUN_0073dae0(iVar2); + Level::update_room_doors(iVar2); iVar2 = iVar2 + 0xb8; iVar1 = iVar1 + -1; } while (iVar1 != 0); @@ -470356,31 +471110,32 @@ void FUN_0073e040(void) } -//@@ 0073e0a0 Level::generate_greed +//@@ 0073e0a0 Level::load_room /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ -/* DB: salvage greedgen.c; verify */ +/* DB: ? "Level::load_room: could not choose a door..."; called from Level::ChangeRoom and + RestoreGameState (was Level::generate_greed) */ -void Level::generate_greed(void) +void Level::load_room(void) { void *pvVar1; RoomConfig *pRVar2; GridEntity_Pit *pGVar3; GridEntity_Door *pGVar4; - int *piVar5; - char cVar6; - uint uVar7; - RoomDescriptor *pRVar8; - int iVar9; - RoomConfig_Room *pRVar10; - Entity_Player *pEVar11; - void *pvVar12; - RoomDescriptor *pRVar13; - float *pfVar14; + char cVar5; + uint uVar6; + RoomDescriptor *pRVar7; + int iVar8; + RoomConfig_Room *pRVar9; + Entity_Player *pEVar10; + void *pvVar11; + RoomDescriptor *pRVar12; + int *piVar13; + uint uVar14; uint uVar15; - uint uVar16; - Game *pGVar17; + Game *pGVar16; + float *pfVar17; undefined4 *puVar18; uint uVar19; Game *in_ECX; @@ -470390,16 +471145,15 @@ void Level::generate_greed(void) undefined4 uVar21; ChallengeParam *pCVar22; Game *pGVar23; - RNG RVar24; - short *psVar25; - float fVar26; - int iVar27; - undefined1 *puVar28; - float fVar29; + short *psVar24; + float fVar25; + int iVar26; + undefined1 *puVar27; + float fVar28; undefined4 in_stack_fffffed0; undefined4 in_stack_fffffed4; + undefined4 uVar29; undefined4 uVar30; - undefined4 uVar31; float local_d0; float local_cc; float local_c8; @@ -470416,7 +471170,7 @@ void Level::generate_greed(void) char local_99; RoomConfig *local_98; RoomConfig *local_94; - float *local_90; + int *local_90; RoomDescriptor *local_8c; RoomConfig_Room *local_88; Game *local_84; @@ -470432,8 +471186,6 @@ void Level::generate_greed(void) undefined4 uStack_5c; undefined4 local_58; RNG local_54; - undefined8 local_50; - undefined4 local_48; int local_44 [9]; undefined1 *puStack_20; void *local_1c; @@ -470444,103 +471196,102 @@ void Level::generate_greed(void) local_14 = 0xffffffff; puStack_18 = &LAB_00afda20; local_1c = ExceptionList; - uVar7 = __security_cookie ^ (uint)(local_44 + 0xd); + uVar6 = __security_cookie ^ (uint)(local_44 + 0xd); ExceptionList = &local_1c; local_a4 = in_ECX; - local_44[8] = uVar7; - pRVar8 = GetRoomByIdx((Level *)in_ECX,in_ECX->_currentRoomIdx,-1); - local_8c = pRVar8; - cVar6 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x54); - if ((cVar6 != '\0') && (*(int *)((int)pRVar8->Data + 8) != 0xe)) { - pRVar8->Flags = pRVar8->Flags & 0xffffffef; + local_44[8] = uVar6; + pRVar7 = GetRoomByIdx((Level *)in_ECX,in_ECX->_currentRoomIdx,-1); + local_8c = pRVar7; + cVar5 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x54); + if ((cVar5 != '\0') && (*(int *)((int)pRVar7->Data + 8) != 0xe)) { + pRVar7->Flags = pRVar7->Flags & 0xffffffef; } pGVar23 = g_game; if (((*(int *)&g_game->_roomTransition != 0) && (((uint)(g_game->_roomTransition)._flags >> 1 & 1) != 0)) && - (*(int *)((int)pRVar8->Data + 8) == 2)) { - pRVar8->Flags = pRVar8->Flags & 0xffffffef; + (*(int *)((int)pRVar7->Data + 8) == 2)) { + pRVar7->Flags = pRVar7->Flags & 0xffffffef; } - if ((pRVar8->VisitedCount == 0) && (((uint)pRVar8->Flags >> 0xb & 1) != 0)) { + if ((pRVar7->VisitedCount == 0) && (((uint)pRVar7->Flags >> 0xb & 1) != 0)) { local_84 = (Game *)PlayerManager::FirstTrinketOwner(0x92); if (local_84 != (Game *)0x0) { - iVar9 = Entity_Player::GetTrinketMultiplier((Entity_Player *)local_84,0x92); - if (iVar9 == 2) { - pvVar12 = ((std_vector *)((int)local_84 + 0x177c))->_end; - if ((int)pvVar12 - (int)((std_vector *)((int)local_84 + 0x177c))->_begin >> 4 < 0x93) { + iVar8 = Entity_Player::GetTrinketMultiplier((Entity_Player *)local_84,0x92); + if (iVar8 == 2) { + pvVar11 = ((std_vector *)((int)local_84 + 0x177c))->_end; + if ((int)pvVar11 - (int)((std_vector *)((int)local_84 + 0x177c))->_begin >> 4 < 0x93) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(0x10,"Trinket ID out of bounds!\n",uVar7); + KAGE_LogMessage(0x10,"Trinket ID out of bounds!\n",uVar6); } pvVar1 = ((std_vector *)((int)local_84 + 0x177c))->_begin; - uVar7 = ((int)pvVar12 - (int)pvVar1 >> 4) - 1; - if (0x92 < uVar7) { - uVar7 = 0x92; + uVar6 = ((int)pvVar11 - (int)pvVar1 >> 4) - 1; + if (0x92 < uVar6) { + uVar6 = 0x92; } - uVar7 = RNG::RandomInt((RNG *)(uVar7 * 0x10 + (int)pvVar1),4); + uVar6 = RNG::RandomInt((RNG *)(uVar6 * 0x10 + (int)pvVar1),4); } else { - if (iVar9 < 3) goto LAB_0073e316; - pvVar12 = ((std_vector *)((int)local_84 + 0x177c))->_end; - if ((int)pvVar12 - (int)((std_vector *)((int)local_84 + 0x177c))->_begin >> 4 < 0x93) { + if (iVar8 < 3) goto LAB_0073e316; + pvVar11 = ((std_vector *)((int)local_84 + 0x177c))->_end; + if ((int)pvVar11 - (int)((std_vector *)((int)local_84 + 0x177c))->_begin >> 4 < 0x93) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(0x10,"Trinket ID out of bounds!\n",uVar7); + KAGE_LogMessage(0x10,"Trinket ID out of bounds!\n",uVar6); } pvVar1 = ((std_vector *)((int)local_84 + 0x177c))->_begin; - uVar7 = ((int)pvVar12 - (int)pvVar1 >> 4) - 1; - if (0x92 < uVar7) { - uVar7 = 0x92; + uVar6 = ((int)pvVar11 - (int)pvVar1 >> 4) - 1; + if (0x92 < uVar6) { + uVar6 = 0x92; } - uVar7 = RNG::RandomInt((RNG *)(uVar7 * 0x10 + (int)pvVar1),3); + uVar6 = RNG::RandomInt((RNG *)(uVar6 * 0x10 + (int)pvVar1),3); } - if (uVar7 == 0) { + if (uVar6 == 0) { local_98 = &g_game->_roomConfig; local_94 = (RoomConfig *)0xa; do { if ((int)local_94 < 1) { - pRVar8 = local_8c; + pRVar7 = local_8c; goto LAB_0073e316; } - RVar24 = in_ECX->_devilAngelRoomRNG; - if (RVar24 == (RNG)0x0) { + uVar6 = (in_ECX->_devilAngelRoomRNG)._seed; + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar24 >> ((byte)*(undefined4 *)&in_ECX->field_0x182e8 & 0x1f) ^ - (uint)RVar24; - uVar7 = uVar7 << ((byte)*(undefined4 *)&in_ECX->field_0x182ec & 0x1f) ^ uVar7; - RVar24 = (RNG)(uVar7 >> ((byte)*(undefined4 *)&in_ECX->field_0x182f0 & 0x1f) ^ uVar7); + uVar6 = uVar6 >> ((byte)(in_ECX->_devilAngelRoomRNG)._shift1 & 0x1f) ^ uVar6; + uVar6 = uVar6 << ((byte)(in_ECX->_devilAngelRoomRNG)._shift2 & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)(in_ECX->_devilAngelRoomRNG)._shift3 & 0x1f) ^ uVar6; in_stack_fffffed4 = 99; in_stack_fffffed0 = 0; - in_ECX->_devilAngelRoomRNG = RVar24; - pRVar10 = RoomConfig::GetRandomRoom - (local_98,(uint)RVar24,1,0,0xe,0xd,0,99,1,10, - (uint *)&local_8c->AllowedDoors,1,-1); + (in_ECX->_devilAngelRoomRNG)._seed = uVar6; + pRVar9 = RoomConfig::GetRandomRoom + (local_98,uVar6,1,0,0xe,0xd,0,99,1,10,(uint *)&local_8c->AllowedDoors,1 + ,-1); local_94 = (RoomConfig *)((int)(local_94 + -1) + 0x1c5f); - } while (pRVar10 == (RoomConfig_Room *)0x0); + } while (pRVar9 == (RoomConfig_Room *)0x0); local_8c->Flags = local_8c->Flags | 0x800; - local_8c->Data = pRVar10; - pRVar8 = local_8c; + local_8c->Data = pRVar9; + pRVar7 = local_8c; } } LAB_0073e316: pGVar23 = g_game; } local_99 = '\0'; - if ((*(int *)((int)pRVar8->Data + 8) == 4) && (pRVar8->VisitedCount == 0)) { + if ((*(int *)((int)pRVar7->Data + 8) == 4) && (pRVar7->VisitedCount == 0)) { if (pGVar23->_stage == 10) { if (pGVar23->_stageType != 0) { LAB_0073e370: if ((pGVar23->_stage == 10) && (pGVar23->_stageType == 1)) { - pEVar11 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x9b); - if ((pEVar11 != (Entity_Player *)0x0) && - (iVar9 = Entity_Player::GetTrinketMultiplier(pEVar11,0x9b), 1 < iVar9)) + pEVar10 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x9b); + if ((pEVar10 != (Entity_Player *)0x0) && + (iVar8 = Entity_Player::GetTrinketMultiplier(pEVar10,0x9b), 1 < iVar8)) goto LAB_0073e3d1; pGVar23 = g_game; } goto LAB_0073e3a6; } - pEVar11 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0xa1); - if ((pEVar11 == (Entity_Player *)0x0) || - (iVar9 = Entity_Player::GetTrinketMultiplier(pEVar11,0xa1), iVar9 < 2)) { + pEVar10 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0xa1); + if ((pEVar10 == (Entity_Player *)0x0) || + (iVar8 = Entity_Player::GetTrinketMultiplier(pEVar10,0xa1), iVar8 < 2)) { pGVar23 = g_game; goto LAB_0073e370; } @@ -470550,26 +471301,27 @@ LAB_0073e3d1: else { LAB_0073e3a6: if ((pGVar23->_stage != 7) && (pGVar23->_stage != 8)) goto LAB_0073e3de; - pEVar11 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x6f); - if ((pEVar11 != (Entity_Player *)0x0) && - (iVar9 = Entity_Player::GetTrinketMultiplier(pEVar11,0x6f), 1 < iVar9)) goto LAB_0073e3d1; + pEVar10 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x6f); + if ((pEVar10 != (Entity_Player *)0x0) && + (iVar8 = Entity_Player::GetTrinketMultiplier(pEVar10,0x6f), 1 < iVar8)) goto LAB_0073e3d1; } pGVar23 = g_game; } LAB_0073e3de: - iVar9 = PlayerManager::FirstCollectibleOwner + iVar8 = PlayerManager::FirstCollectibleOwner (&pGVar23->_playerManager,0x19e,&pGVar23->_playerManager,1); - if ((iVar9 == 0) && (local_99 == '\0')) { - cVar6 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0xbb); - if (cVar6 != '\0') { + if ((iVar8 == 0) && (local_99 == '\0')) { + cVar5 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0xbb); + if (cVar5 != '\0') { if ((in_ECX->_stageType != 4) && (in_ECX->_stageType != 5)) { - local_54 = (RNG)pRVar8->SpawnSeed; - local_50 = 0x500000009; - local_48 = 0x19; - iVar9 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0xbb); - uVar7 = RNG::RandomInt(&local_54,2); - pRVar8 = local_8c; - if ((int)uVar7 < iVar9) goto LAB_0073e556; + local_54._seed = pRVar7->SpawnSeed; + local_54._shift1 = 9; + local_54._shift2 = 5; + local_54._shift3 = 0x19; + iVar8 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0xbb); + uVar6 = RNG::RandomInt(&local_54,2); + pRVar7 = local_8c; + if ((int)uVar6 < iVar8) goto LAB_0073e556; } } local_84 = g_game; @@ -470579,46 +471331,46 @@ LAB_0073e3de: } else { LAB_0073e556: - pRVar2 = pRVar8->Data; + pRVar2 = pRVar7->Data; local_94 = pRVar2; local_84 = g_game; - if ((*(int *)&pRVar2->field_0x8 == 4) && (pRVar8->VisitedCount == 0)) { - local_98 = (RoomConfig *)pRVar8->SpawnSeed; - local_90 = (float *)0x10; + if ((*(int *)&pRVar2->field_0x8 == 4) && (pRVar7->VisitedCount == 0)) { + local_98 = (RoomConfig *)pRVar7->SpawnSeed; + local_90 = (int *)0x10; if (local_98 == (RoomConfig *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_98 >> 1 ^ (uint)local_98; - uVar7 = uVar7 << 5 ^ uVar7; - local_90 = (float *)(uVar7 >> 0x10 ^ uVar7); + uVar6 = (uint)local_98 >> 1 ^ (uint)local_98; + uVar6 = uVar6 << 5 ^ uVar6; + local_90 = (int *)(uVar6 >> 0x10 ^ uVar6); if (*(int *)&pRVar2->field_0x10 == 0) { uVar21 = *(undefined4 *)&pRVar2->field_0x48; - uVar7 = Game::GetStageID(local_a4,(byte)pRVar2); - uVar30 = 1; - uVar31 = extraout_ECX; + uVar6 = Game::GetStageID(local_a4,(byte)pRVar2); + uVar29 = 1; + uVar30 = extraout_ECX; } else { if (*(int *)&pRVar2->field_0x10 != 2) goto LAB_0073e495; uVar21 = *(undefined4 *)&pRVar2->field_0x48; - uVar7 = Game::GetStageID(local_a4,(byte)pRVar2); - uVar30 = 3; - uVar31 = extraout_ECX_00; + uVar6 = Game::GetStageID(local_a4,(byte)pRVar2); + uVar29 = 3; + uVar30 = extraout_ECX_00; } - pvVar12 = (void *)RoomConfig::GetRandomRoomWithFallbackStage - (local_90,1,uVar7,0,4,uVar21,in_stack_fffffed0,in_stack_fffffed4,1 - ,10,&pRVar2->field_0x38,uVar30,uVar31); + pvVar11 = (void *)RoomConfig::GetRandomRoomWithFallbackStage + (local_90,1,uVar6,0,4,uVar21,in_stack_fffffed0,in_stack_fffffed4,1 + ,10,&pRVar2->field_0x38,uVar29,uVar30); local_84 = g_game; in_ECX = local_a4; - if (pvVar12 == (void *)0x0) { + if (pvVar11 == (void *)0x0) { } else { - local_8c->Data = pvVar12; + local_8c->Data = pvVar11; } } } LAB_0073e495: - pRVar8 = local_8c; + pRVar7 = local_8c; if (((uint)local_8c->Flags >> 4 & 1) == 0) { local_88 = local_8c->Data; } @@ -470632,64 +471384,64 @@ LAB_0073e495: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_98 >> 1 ^ (uint)local_98; - uVar7 = uVar7 << 5 ^ uVar7; - pvVar12 = local_8c->Data; - local_90 = (float *)(uVar7 >> 0x10 ^ uVar7); - if (*(int *)((int)pvVar12 + 8) == 0xe) { - uVar7 = 0xf; + uVar6 = (uint)local_98 >> 1 ^ (uint)local_98; + uVar6 = uVar6 << 5 ^ uVar6; + pvVar11 = local_8c->Data; + local_90 = (int *)(uVar6 >> 0x10 ^ uVar6); + if (*(int *)((int)pvVar11 + 8) == 0xe) { + uVar6 = 0xf; } else { local_98 = (RoomConfig *)&DAT_0000000b; - uVar7 = 4; + uVar6 = 4; if ((local_84->_gameStateFlags & 0x8000) != 0) { - uVar7 = 0xb; + uVar6 = 0xb; } if (local_8c->GreedSubType == 0) { - local_8c->GreedSubType = uVar7; + local_8c->GreedSubType = uVar6; } else { - uVar7 = local_8c->GreedSubType; + uVar6 = local_8c->GreedSubType; } - if (uVar7 == 4) { + if (uVar6 == 4) { *(uint *)&local_84->_gameStateFlags = (uint)local_84->_gameStateFlags | 0x8000; LAB_0073e6d7: *(undefined4 *)((int)&local_84->_gameStateFlags + 4) = *(undefined4 *)((int)&local_84->_gameStateFlags + 4); } - else if (uVar7 == 0xb) { + else if (uVar6 == 0xb) { *(uint *)&local_84->_gameStateFlags = (uint)local_84->_gameStateFlags | 0x10000; goto LAB_0073e6d7; } - pvVar12 = local_8c->Data; + pvVar11 = local_8c->Data; } local_94 = &local_84->_roomConfig; local_88 = RoomConfig::GetRandomRoom - (local_94,(uint)local_90,1,0,6,*(int *)((int)pvVar12 + 0x48),0,-1,1,1, - (uint *)((int)pvVar12 + 0x38),uVar7,0); + (local_94,(uint)local_90,1,0,6,*(int *)((int)pvVar11 + 0x48),0,-1,1,1, + (uint *)((int)pvVar11 + 0x38),uVar6,0); if (local_88 == (RoomConfig_Room *)0x0) { - local_88 = pRVar8->Data; - pRVar8->Flags = pRVar8->Flags & 0xffffffef; + local_88 = pRVar7->Data; + pRVar7->Flags = pRVar7->Flags & 0xffffffef; } - pRVar8->OverrideData = local_88; + pRVar7->OverrideData = local_88; } } - pRVar13 = GetRoomByIdx((Level *)in_ECX,in_ECX->_lastRoomIdx,in_ECX->_lastRoomDimensionIdx); - iVar9 = *(int *)((int)pRVar13->Data + 8); - local_94 = *(RoomConfig **)((int)pRVar8->Data + 8); - if ((((0x1fa < pRVar8->ListIndex) && (pRVar8->GridIndex != -0x10)) && - ((pRVar8->AllowedDoors = 0, local_94 != (RoomConfig *)0x3 && + pRVar12 = GetRoomByIdx((Level *)in_ECX,in_ECX->_lastRoomIdx,in_ECX->_lastRoomDimensionIdx); + iVar8 = *(int *)((int)pRVar12->Data + 8); + local_94 = *(RoomConfig **)((int)pRVar7->Data + 8); + if ((((0x1fa < pRVar7->ListIndex) && (pRVar7->GridIndex != -0x10)) && + ((pRVar7->AllowedDoors = 0, local_94 != (RoomConfig *)0x3 && ((local_94 != (RoomConfig *)0x10 && (iVar20 = in_ECX->_currentRoomIdx, iVar20 != -7)))))) && - ((iVar20 != -0xc && ((iVar20 != -0xd && ((local_94 != (RoomConfig *)0x16 || (iVar9 == 0x10))))) + ((iVar20 != -0xc && ((iVar20 != -0xd && ((local_94 != (RoomConfig *)0x16 || (iVar8 == 0x10))))) ))) { pGVar23 = (Game *)in_ECX->_enterDoor; local_84 = pGVar23; if ((int)pGVar23 < 0) { LAB_0073e7e8: - uVar7 = Random(); - local_a0 = (float)(uVar7 & 7); - local_98 = (RoomConfig *)((int)pRVar8->Data + 0x38); - local_90 = (float *)0x0; + uVar6 = Random(); + local_a0 = (float)(uVar6 & 7); + local_98 = (RoomConfig *)((int)pRVar7->Data + 0x38); + local_90 = (int *)0x0; do { local_84 = (Game *)((uint)((int)local_90 + (int)local_a0) & 0x80000007); if ((int)local_84 < 0) { @@ -470701,11 +471453,11 @@ LAB_0073e7e8: pGVar23 = local_84; goto LAB_0073e863; } - local_90 = (float *)((int)local_90 + 1); + local_90 = (int *)((int)local_90 + 1); } while ((int)local_90 < 8); pGVar23 = (Game *)in_ECX->_enterDoor; } - else if ((*(uint *)((int)pRVar8->Data + ((uint)pGVar23 >> 5) * 4 + 0x38) & + else if ((*(uint *)((int)pRVar7->Data + ((uint)pGVar23 >> 5) * 4 + 0x38) & 1 << ((byte)pGVar23 & 0x1f)) == 0) { in_ECX->_enterDoor = -1; goto LAB_0073e7e8; @@ -470721,23 +471473,23 @@ LAB_0073e863: /* WARNING: Subroutine does not return */ std::bitset::_Xran(); } - (&pRVar8->AllowedDoors)[(uint)pGVar23 >> 5] = - (&pRVar8->AllowedDoors)[(uint)pGVar23 >> 5] | 1 << ((byte)pGVar23 & 0x1f); + pRVar7->_doors[((uint)pGVar23 >> 5) - 1] = + pRVar7->_doors[((uint)pGVar23 >> 5) - 1] | 1 << ((byte)pGVar23 & 0x1f); } - Room::Init(local_88,pRVar8); - pvVar12 = in_ECX->_room; - if (*(int *)((int)pvVar12 + 8) == 0x1d) { - uVar7 = 0; + Room::Init(local_88,pRVar7); + pvVar11 = in_ECX->_room; + if (*(int *)((int)pvVar11 + 8) == 0x1d) { + uVar6 = 0; do { - if (*(int *)((int)pvVar12 + uVar7 * 4 + 0x724) != 0) goto LAB_0073ea3c; - uVar7 = uVar7 + 1; - } while (uVar7 < 8); - local_90 = *(float **)(*(int *)((int)pvVar12 + 4) + 4); + if (*(int *)((int)pvVar11 + uVar6 * 4 + 0x724) != 0) goto LAB_0073ea3c; + uVar6 = uVar6 + 1; + } while (uVar6 < 8); + local_90 = *(int **)(*(int *)((int)pvVar11 + 4) + 4); if (-1 < (int)local_90) { local_84 = (Game *)0x0; do { - iVar9 = GetNeighborRoomIdx(local_90,local_84); - if (-1 < iVar9) { + iVar8 = GetNeighborRoomIdx(local_90,local_84); + if (-1 < iVar8) { local_44[0] = -1; local_44[1] = 0; local_44[2] = 0; @@ -470746,22 +471498,22 @@ LAB_0073e863: local_44[5] = 0; local_44[6] = 0; local_44[7] = 1; - pRVar10 = (RoomConfig_Room *)(iVar9 / 0xd); - local_a0 = (float)(iVar9 % 0xd); - uVar7 = 0; - local_88 = pRVar10; + pRVar9 = (RoomConfig_Room *)(iVar8 / 0xd); + local_a0 = (float)(iVar8 % 0xd); + uVar6 = 0; + local_88 = pRVar9; do { - iVar9 = (int)&pRVar10->StageId + local_44[uVar7 * 2 + 1]; - iVar20 = local_44[uVar7 * 2] + (int)local_a0; - if ((((-1 < iVar20) && (-1 < iVar9)) && (iVar20 < 0xd)) && (iVar9 < 0xd)) { - pfVar14 = (float *)(iVar9 * 0xd + iVar20); - if (pfVar14 != local_90) { - pRVar8 = GetRoomByIdx((Level *)in_ECX,(int)pfVar14,-1); + iVar8 = (int)&pRVar9->StageId + local_44[uVar6 * 2 + 1]; + iVar20 = local_44[uVar6 * 2] + (int)local_a0; + if ((((-1 < iVar20) && (-1 < iVar8)) && (iVar20 < 0xd)) && (iVar8 < 0xd)) { + piVar13 = (int *)(iVar8 * 0xd + iVar20); + if (piVar13 != local_90) { + pRVar7 = GetRoomByIdx((Level *)in_ECX,(int)piVar13,-1); pGVar23 = local_84; - if (((pRVar8->Data != (void *)0x0) && (pRVar8->Group == -1)) && - (*(int *)((int)pRVar8->Data + 8) != 10)) { - cVar6 = MakeRedRoomDoor(local_90,local_84); - if (cVar6 != '\0') { + if (((pRVar7->Data != (void *)0x0) && (pRVar7->Group == -1)) && + (*(int *)((int)pRVar7->Data + 8) != 10)) { + cVar5 = MakeRedRoomDoor(local_90,local_84); + if (cVar5 != '\0') { if ((((undefined1 *)((int)&pGVar23->_stage + 1) < &DAT_00000009) && (pGVar4 = *(GridEntity_Door **) ((int)in_ECX->_room + (int)pGVar23 * 4 + 0x724), @@ -470770,9 +471522,9 @@ LAB_0073e863: ((pGVar4->_desc)._state != 1)))) { (pGVar4->_desc)._state = 1; GridEntity_Door::UpdateAnimation(pGVar4); - iVar9 = pGVar4->_currentRoomType; - if (((((iVar9 == 7) || (iVar20 = pGVar4->_targetRoomType, iVar20 == 7)) || - (iVar9 == 8)) || ((iVar20 == 8 || (iVar9 == 0x1d)))) || (iVar20 == 0x1d)) + iVar8 = pGVar4->_currentRoomType; + if (((((iVar8 == 7) || (iVar20 = pGVar4->_targetRoomType, iVar20 == 7)) || + (iVar8 == 8)) || ((iVar20 == 8 || (iVar8 == 0x1d)))) || (iVar20 == 0x1d)) { std::string::assign(s_Open,4); } @@ -470781,11 +471533,11 @@ LAB_0073e863: } break; } - pRVar10 = local_88; + pRVar9 = local_88; } } - uVar7 = uVar7 + 1; - } while (uVar7 < 4); + uVar6 = uVar6 + 1; + } while (uVar6 < 4); } local_84 = (Game *)((int)&local_84->_stage + 1); } while (local_84 <= (Game *)&DAT_00000007); @@ -470793,19 +471545,19 @@ LAB_0073e863: } LAB_0073ea3c: if ((((g_game->_difficulty == 2) || (g_game->_difficulty == 3)) || - ((iVar9 = in_ECX->_stage, iVar9 - 1U < 6 && ((g_game->_gameStateFlags & 0x1000000000000) != 0) + ((iVar8 = in_ECX->_stage, iVar8 - 1U < 6 && ((g_game->_gameStateFlags & 0x1000000000000) != 0) ))) || ((in_ECX->_stageType != 4 && (in_ECX->_stageType != 5)))) { LAB_0073ebbd: - pRVar8 = local_8c; + pRVar7 = local_8c; } else { - if (iVar9 != 4) { - if (iVar9 == 3) { - uVar7 = g_game->_debugCurses; + if (iVar8 != 4) { + if (iVar8 == 3) { + uVar6 = g_game->_debugCurses; uVar19 = in_ECX->_curses; - uVar15 = Seeds::GetForcedCurses(); - uVar16 = Seeds::GetPreventedCurses(); - if ((~uVar16 & (uVar15 | uVar7 | uVar19) & 2) != 0) { + uVar14 = Seeds::GetForcedCurses(); + uVar15 = Seeds::GetPreventedCurses(); + if ((~uVar15 & (uVar14 | uVar6 | uVar19) & 2) != 0) { in_ECX = local_a4; goto LAB_0073eac8; } @@ -470813,16 +471565,16 @@ LAB_0073ebbd: goto LAB_0073ebbd; } LAB_0073eac8: - pvVar12 = local_8c->Data; - pRVar8 = local_8c; - if ((((*(int *)((int)pvVar12 + 8) == 1) && (*(int *)((int)pvVar12 + 0x10) == 10)) && + pvVar11 = local_8c->Data; + pRVar7 = local_8c; + if ((((*(int *)((int)pvVar11 + 8) == 1) && (*(int *)((int)pvVar11 + 0x10) == 10)) && (((uint)local_8c->Flags >> 2 & 1) != 0)) && - (local_88 = (RoomConfig_Room *)0x0, *(short *)((int)pvVar12 + 0x44) != 0)) { - local_90 = (float *)0x0; + (local_88 = (RoomConfig_Room *)0x0, *(short *)((int)pvVar11 + 0x44) != 0)) { + local_90 = (int *)0x0; do { - psVar25 = (short *)(*(int *)((int)pvVar12 + 0x40) + (int)local_90); - if (((char)psVar25[4] != '\0') && (**(int **)(psVar25 + 2) == 0xbba)) { - local_a0 = (float)((*(byte *)((int)pvVar12 + 0x46) + 2) * (psVar25[1] + 1) + (int)*psVar25 + psVar24 = (short *)(*(int *)((int)pvVar11 + 0x40) + (int)local_90); + if (((char)psVar24[4] != '\0') && (**(int **)(psVar24 + 2) == 0xbba)) { + local_a0 = (float)((*(byte *)((int)pvVar11 + 0x46) + 2) * (psVar24[1] + 1) + (int)*psVar24 ); if ((((int)local_a0 + 1U < 0x1c0) && ((pGVar3 = *(GridEntity_Pit **)((int)in_ECX->_room + (int)local_a0 * 4 + 0x28), @@ -470831,61 +471583,61 @@ LAB_0073eac8: if ((pGVar3->_desc)._state == 0) { (pGVar3->_desc)._state = 2; GridEntity_Pit::UpdateCollision(pGVar3); - pRVar8 = local_8c; + pRVar7 = local_8c; } (pGVar3->_desc)._variant = (pGVar3->_desc)._variant & 0xffff01ffU | 0x100; *(undefined1 *)((int)g_game->_room + (int)local_a0 + 0x746dU) = 1; } } - pvVar12 = pRVar8->Data; + pvVar11 = pRVar7->Data; local_90 = local_90 + 4; local_88 = (RoomConfig_Room *)((int)&local_88->StageId + 1); - } while (local_88 < (RoomConfig_Room *)(uint)*(ushort *)((int)pvVar12 + 0x44)); + } while (local_88 < (RoomConfig_Room *)(uint)*(ushort *)((int)pvVar11 + 0x44)); } } pGVar23 = local_a4; - iVar9 = local_a4->_currentRoomIdx; - fVar26 = (float)((int)local_a4->_room + 0x724); - local_84 = (Game *)fVar26; - if ((((((iVar9 == -1) || (iVar9 == -6)) || (iVar9 == -3)) || ((iVar9 == -5 || (iVar9 == -8)))) || - ((iVar9 == -9 || ((iVar9 == -10 || (iVar9 == -0x11)))))) || (iVar9 == -0x12)) { - iVar9 = local_a4->_enterDoor; - if ((-1 < iVar9) && (iVar20 = *(int *)((int)fVar26 + iVar9 * 4), iVar20 != 0)) { - *(int *)(iVar20 + 0x158) = iVar9; + iVar8 = local_a4->_currentRoomIdx; + fVar25 = (float)((int)local_a4->_room + 0x724); + local_84 = (Game *)fVar25; + if ((((((iVar8 == -1) || (iVar8 == -6)) || (iVar8 == -3)) || ((iVar8 == -5 || (iVar8 == -8)))) || + ((iVar8 == -9 || ((iVar8 == -10 || (iVar8 == -0x11)))))) || (iVar8 == -0x12)) { + iVar8 = local_a4->_enterDoor; + if ((-1 < iVar8) && (iVar20 = *(int *)((int)fVar25 + iVar8 * 4), iVar20 != 0)) { + *(int *)(iVar20 + 0x158) = iVar8; GridEntity_Door::SetRoomTypes - (*(GridEntity_Door **)((int)fVar26 + local_a4->_enterDoor * 4),(int)local_94,1); - *(int *)(*(int *)((int)fVar26 + pGVar23->_enterDoor * 4) + 0x394) = pGVar23->_lastRoomIdx; + (*(GridEntity_Door **)((int)fVar25 + local_a4->_enterDoor * 4),(int)local_94,1); + *(int *)(*(int *)((int)fVar25 + pGVar23->_enterDoor * 4) + 0x394) = pGVar23->_lastRoomIdx; } } else { - local_90 = (float *)&pRVar8->field_0x1c; + local_90 = pRVar7->_doors; local_88 = (RoomConfig_Room *)0x0; do { pGVar4 = *(GridEntity_Door **)((int)local_84 + (int)local_88 * 4); - local_a0 = *local_90; + local_a0 = (float)*local_90; if (pGVar4 != (GridEntity_Door *)0x0) { if (local_a0 == -NAN) { pGVar4->_slot = (int)local_88; pGVar4->_targetRoomIdx = -2; - iVar9 = 1; + iVar8 = 1; } else { if (((int)local_a0 < 0) || (*(int *)((int)pGVar23->_currentRoomMap + (int)local_a0 * 4) < 0)) goto LAB_0073ecaa; - pRVar8 = GetRoomByIdx((Level *)pGVar23,(int)local_a0,-1); - iVar9 = *(int *)((int)pRVar8->Data + 8); + pRVar7 = GetRoomByIdx((Level *)pGVar23,(int)local_a0,-1); + iVar8 = *(int *)((int)pRVar7->Data + 8); pGVar4->_slot = (int)local_88; pGVar4->_targetRoomIdx = (int)local_a0; } - GridEntity_Door::SetRoomTypes(pGVar4,(int)local_94,iVar9); + GridEntity_Door::SetRoomTypes(pGVar4,(int)local_94,iVar8); } LAB_0073ecaa: local_88 = (RoomConfig_Room *)((int)&local_88->StageId + 1); local_90 = local_90 + 1; } while ((int)local_88 < 8); } - pRVar8 = GetRoomByIdx((Level *)pGVar23,pGVar23->_currentRoomIdx,-1); - if ((pRVar8->Flags & 1) != 0) { + pRVar7 = GetRoomByIdx((Level *)pGVar23,pGVar23->_currentRoomIdx,-1); + if ((pRVar7->Flags & 1) != 0) { if ((g_game->_difficulty != 2) && (g_game->_difficulty != 3)) { Room::TrySpawnSecretExit(0,0); Room::TrySpawnDevilRoomDoor(0,0); @@ -470894,10 +471646,10 @@ LAB_0073ecaa: } Room::TrySpawnBlueWombDoor(0,0,0); } - iVar9 = 0; - pGVar17 = local_84; + iVar8 = 0; + pGVar16 = local_84; do { - if (*(int *)((int)pGVar17 + iVar9 * 4) == 0) { + if (*(int *)((int)pGVar16 + iVar8 * 4) == 0) { iVar20 = *(int *)((int)pGVar23->_room + 4); if ((iVar20 == 0) || (iVar20 = *(int *)(iVar20 + 0x10), iVar20 == 0)) { uVar21 = 1; @@ -470909,79 +471661,79 @@ LAB_0073ecaa: if ((((-1 < iVar20) && (iVar20 < 0x1c0)) && (iVar20 = *(int *)((int)pGVar23->_room + iVar20 * 4 + 0x24), iVar20 != 0)) && ((*(int *)(iVar20 + 4) == 0x10 && (*(int *)(iVar20 + 0x164) == -1)))) { - *(int *)((int)local_84 + iVar9 * 4) = iVar20; - Room::RemoveDoor(pGVar23->_room,iVar9); + *(int *)((int)local_84 + iVar8 * 4) = iVar20; + Room::RemoveDoor(pGVar23->_room,iVar8); } - pGVar17 = local_84; + pGVar16 = local_84; } - iVar9 = iVar9 + 1; - } while (iVar9 < 8); + iVar8 = iVar8 + 1; + } while (iVar8 < 8); Room::TrySpawnSecretShop(0); if (g_game->_challenge == 0x2c) { GetRoomStageType(pGVar23->_currentRoomIdx); LAB_0073ee35: - iVar9 = RoomConfig::GetStageID(0xffffffff); - if ((iVar9 == 0x21) && (*(int *)((int)pGVar23->_room + 0x1d18) != 0x2c)) { - local_90 = (float *)0x0; + iVar8 = RoomConfig::GetStageID(0xffffffff); + if ((iVar8 == 0x21) && (*(int *)((int)pGVar23->_room + 0x1d18) != 0x2c)) { + local_90 = (int *)0x0; local_88 = (RoomConfig_Room *)0x724; do { - local_90 = (float *)((int)local_90 + 1); + local_90 = (int *)((int)local_90 + 1); if (((local_90 < &DAT_00000009) && - (iVar9 = *(int *)((int)local_88 + (int)pGVar23->_room), iVar9 != 0)) && - ((iVar20 = *(int *)(iVar9 + 0x160), iVar20 == 1 || + (iVar8 = *(int *)((int)local_88 + (int)pGVar23->_room), iVar8 != 0)) && + ((iVar20 = *(int *)(iVar8 + 0x160), iVar20 == 1 || (((iVar20 == 4 || (iVar20 == 6)) || (iVar20 == 5)))))) { - pRVar8 = GetRoomByIdx((Level *)pGVar23,*(int *)(iVar9 + 0x394),-1); - if ((pRVar8->Flags & 0x1000U) != 0) { - uVar7 = pRVar8->DecorationSeed; + pRVar7 = GetRoomByIdx((Level *)pGVar23,*(int *)(iVar8 + 0x394),-1); + if ((pRVar7->Flags & 0x1000U) != 0) { + uVar6 = pRVar7->DecorationSeed; local_98 = (RoomConfig *)&DAT_00000011; - pfVar14 = (float *)Isaac::GetAxisAlignedUnitVectorFromDir(); - local_84 = (Game *)-*pfVar14; - local_8c = (RoomDescriptor *)-pfVar14[1]; - iVar27 = 0; + pfVar17 = (float *)Isaac::GetAxisAlignedUnitVectorFromDir(); + local_84 = (Game *)-*pfVar17; + local_8c = (RoomDescriptor *)-pfVar17[1]; + iVar26 = 0; iVar20 = *(int *)((int)g_game->_room + 0xc); local_bc = (float)local_8c * 20.0 + - (float)(*(int *)(iVar9 + 0x24) / iVar20) * 40.0 + 120.0; - fVar26 = 1.5707964; + (float)(*(int *)(iVar8 + 0x24) / iVar20) * 40.0 + 120.0; + fVar25 = 1.5707964; local_b8 = (float)local_84 * 20.0 + - (float)(*(int *)(iVar9 + 0x24) % iVar20) * 40.0 + 40.0; + (float)(*(int *)(iVar8 + 0x24) % iVar20) * 40.0 + 40.0; cos(); - fVar29 = 1.5707964; - local_a0 = fVar26; + fVar28 = 1.5707964; + local_a0 = fVar25; sin(); - local_c0 = (float)local_84 * local_a0 - (float)local_8c * fVar29; - local_c4 = (float)local_84 * fVar29 + (float)local_8c * local_a0; + local_c0 = (float)local_84 * local_a0 - (float)local_8c * fVar28; + local_c4 = (float)local_84 * fVar28 + (float)local_8c * local_a0; do { - local_94 = (RoomConfig *)((float)iVar27 * 0.125); + local_94 = (RoomConfig *)((float)iVar26 * 0.125); local_a8 = (int *)Random(); local_a0 = local_bc + (float)local_8c * (float)local_94 * 128.0; local_c8 = local_b8 + (float)local_94 * 128.0 * (float)local_84; - if (uVar7 == 0) { + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = uVar7 >> 2 ^ uVar7; - uVar7 = uVar7 << 0xf ^ uVar7; - uVar7 = uVar7 >> ((byte)local_98 & 0x1f) ^ uVar7; - fVar26 = ((float)((double)(int)uVar7 + __uint_to_double_fixup[-((int)uVar7 >> 0x1f)]) + uVar6 = uVar6 >> 2 ^ uVar6; + uVar6 = uVar6 << 0xf ^ uVar6; + uVar6 = uVar6 >> ((byte)local_98 & 0x1f) ^ uVar6; + fVar25 = ((float)((double)(int)uVar6 + __uint_to_double_fixup[-((int)uVar6 >> 0x1f)]) * 2.3283062e-10 - 0.5) * (float)local_94 * 40.0; - local_d0 = local_c0 * fVar26 + local_c8; - local_cc = local_a0 + fVar26 * local_c4; + local_d0 = local_c0 * fVar25 + local_c8; + local_cc = local_a0 + fVar25 * local_c4; local_a8 = (int *)Game::Spawn(1000,7,&local_d0,&g_vectorZero,0,0,local_a8); - if (uVar7 == 0) { + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = uVar7 >> 2 ^ uVar7; + uVar6 = uVar6 >> 2 ^ uVar6; local_60 = 0; - uVar7 = uVar7 << 0xf ^ uVar7; + uVar6 = uVar6 << 0xf ^ uVar6; uStack_5c = 0; - uVar7 = uVar7 >> ((byte)local_98 & 0x1f) ^ uVar7; + uVar6 = uVar6 >> ((byte)local_98 & 0x1f) ^ uVar6; local_58 = 0; - fVar29 = (float)((double)(int)uVar7 + __uint_to_double_fixup[-((int)uVar7 >> 0x1f)]) * + fVar28 = (float)((double)(int)uVar6 + __uint_to_double_fixup[-((int)uVar6 >> 0x1f)]) * 2.3283062e-10 * (1.0 - (float)local_94) * 5.0 + 0.5; - fVar26 = fVar29 * g_vectorOne.x; - local_a8[0x3a] = (int)(fVar29 * g_vectorOne.y); - local_a8[0x39] = (int)fVar26; + fVar25 = fVar28 * g_vectorOne.x; + local_a8[0x3a] = (int)(fVar28 * g_vectorOne.y); + local_a8[0x39] = (int)fVar25; local_70 = 0; uStack_6c = 0; uStack_68 = 0; @@ -471004,8 +471756,8 @@ LAB_0073ee35: local_a8[0x46] = 0; } (**(code **)(*local_a8 + 0xc))(); - iVar27 = iVar27 + 1; - } while (iVar27 < 9); + iVar26 = iVar26 + 1; + } while (iVar26 < 9); pGVar23 = local_a4; } } @@ -471017,7 +471769,7 @@ LAB_0073ee35: if ((pGVar23->_currentRoomIdx == -0xc) && (*(int *)(*(int *)((int)pGVar23->_room + 4) + 0x40) == 1)) { RemoveCurses((Level *)pGVar23,0xffffffff); - pGVar17 = g_game; + pGVar16 = g_game; local_98 = (RoomConfig *)&g_game->_playerManager; local_88 = (RoomConfig_Room *)0x0; local_b4 = (RoomConfig_Room *)0x0; @@ -471026,18 +471778,18 @@ LAB_0073ee35: local_94 = (RoomConfig *)0x0; local_ac = (undefined4 *)0x0; local_14 = 0; - if ((int)(pGVar17->_playerManager)._playerList._end - + if ((int)(pGVar16->_playerManager)._playerList._end - (int)(((PlayerManager *)local_98)->_playerList)._begin >> 2 != 0) { - uVar7 = 0; + uVar6 = 0; do { - pvVar12 = ((std_vector *)&local_98->field_0x0)->_end; - if ((int)pvVar12 - (int)((std_vector *)&local_98->field_0x0)->_begin >> 2 == 0) { + pvVar11 = ((std_vector *)&local_98->field_0x0)->_end; + if ((int)pvVar11 - (int)((std_vector *)&local_98->field_0x0)->_begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } puVar18 = ((std_vector *)&local_98->field_0x0)->_begin; - if (uVar7 < (uint)((int)pvVar12 - (int)puVar18 >> 2)) { - puVar18 = puVar18 + uVar7; + if (uVar6 < (uint)((int)pvVar11 - (int)puVar18 >> 2)) { + puVar18 = puVar18 + uVar6; } local_a8 = (int *)*puVar18; if ((RoomConfig *)local_b0 == local_94) { @@ -471048,43 +471800,43 @@ LAB_0073ee35: *local_b0 = local_a8; local_b0 = local_b0 + 1; } - uVar7 = uVar7 + 1; + uVar6 = uVar6 + 1; local_98 = (RoomConfig *)&g_game->_playerManager; - } while (uVar7 < (uint)((int)(g_game->_playerManager)._playerList._end - + } while (uVar6 < (uint)((int)(g_game->_playerManager)._playerList._end - (int)(((PlayerManager *)local_98)->_playerList)._begin >> 2)); local_88 = local_b4; pGVar23 = local_a4; } - puVar28 = (undefined1 *)((int)local_b0 - (int)local_88 >> 2); + puVar27 = (undefined1 *)((int)local_b0 - (int)local_88 >> 2); local_98 = (RoomConfig *)0x0; local_b4 = local_88; - if (puVar28 != (undefined1 *)0x0) { + if (puVar27 != (undefined1 *)0x0) { do { FUN_007dad80(); pGVar23 = local_a4; local_98 = (RoomConfig *)&local_98->field_0x1; - } while (local_98 < puVar28); + } while (local_98 < puVar27); local_98 = (RoomConfig *)0x0; do { Game::reset_players_for_greed(); local_98 = (RoomConfig *)((int)local_98 + 1); - } while (local_98 < puVar28); + } while (local_98 < puVar27); } (g_game->_playerManager).field_0x5c = 1; mark_all_slots_dirty(0,0); local_14 = 0xffffffff; if (local_88 != (RoomConfig_Room *)0x0) { - uVar7 = (int)local_94 - (int)local_88 & 0xfffffffc; - pRVar10 = local_88; - if (0xfff < uVar7) { - pRVar10 = (RoomConfig_Room *)local_88[-1].originalVariant; - uVar7 = uVar7 + 0x23; - if (0x1f < (uint)((int)local_88 + (-4 - (int)pRVar10))) { + uVar6 = (int)local_94 - (int)local_88 & 0xfffffffc; + pRVar9 = local_88; + if (0xfff < uVar6) { + pRVar9 = (RoomConfig_Room *)local_88[-1].originalVariant; + uVar6 = uVar6 + 0x23; + if (0x1f < (uint)((int)local_88 + (-4 - (int)pRVar9))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pRVar10,uVar7); + operator_delete(pRVar9,uVar6); } } if (*(int *)&g_game->_deathmatchManager < 2) { @@ -471093,13 +471845,13 @@ LAB_0073ee35: Camera::Update(1); Room::UpdateRedKey(pGVar23->_room); if ((g_game->_dailyChallenge)._id == 0) { - pvVar12 = (g_manager->_challengeParams)._begin; - uVar7 = ((int)(g_manager->_challengeParams)._end - (int)pvVar12) / 0xa4 - 1; + pvVar11 = (g_manager->_challengeParams)._begin; + uVar6 = ((int)(g_manager->_challengeParams)._end - (int)pvVar11) / 0xa4 - 1; uVar19 = -(uint)(g_game->_challenge != 0) & g_game->_challenge; - if (uVar19 < uVar7) { - uVar7 = uVar19; + if (uVar19 < uVar6) { + uVar6 = uVar19; } - pCVar22 = (ChallengeParam *)(uVar7 * 0xa4 + (int)pvVar12); + pCVar22 = (ChallengeParam *)(uVar6 * 0xa4 + (int)pvVar11); } else { pCVar22 = &(g_game->_dailyChallenge)._params; @@ -471107,32 +471859,32 @@ LAB_0073ee35: if (pCVar22->_pathType != 3) goto LAB_0073f55d; if (g_game->_stage != 6) { if (g_game->_stage != 5) goto LAB_0073f55d; - uVar7 = g_game->_debugCurses; + uVar6 = g_game->_debugCurses; uVar19 = g_game->_curses; - uVar15 = Seeds::GetForcedCurses(); - uVar16 = Seeds::GetPreventedCurses(); - if ((~uVar16 & (uVar15 | uVar7 | uVar19) & 2) == 0) goto LAB_0073f55d; + uVar14 = Seeds::GetForcedCurses(); + uVar15 = Seeds::GetPreventedCurses(); + if ((~uVar15 & (uVar14 | uVar6 | uVar19) & 2) == 0) goto LAB_0073f55d; } - pRVar8 = GetRoomByIdx((Level *)g_game,g_game->_currentRoomIdx,-1); - if ((pRVar8->ListIndex == g_game->_lastBossRoomListIdx) && + pRVar7 = GetRoomByIdx((Level *)g_game,g_game->_currentRoomIdx,-1); + if ((pRVar7->ListIndex == g_game->_lastBossRoomListIdx) && ((*(byte *)(*(int *)((int)local_a4->_room + 4) + 0x44) & 1) != 0)) { Room::update_door_targets(); Room::TrySpawnBossRushDoor(local_a4->_room,0,0); } LAB_0073f55d: - pvVar12 = g_game->_room; - uVar7 = 0; + pvVar11 = g_game->_room; + uVar6 = 0; pGVar23 = g_game; - if (*(int *)((int)pvVar12 + 0x1264) != 0) { + if (*(int *)((int)pvVar11 + 0x1264) != 0) { do { - piVar5 = *(int **)(*(int *)((int)pvVar12 + 0x125c) + uVar7 * 4); - if ((((1 < *(int *)&pGVar23->_deathmatchManager) && (piVar5[10] == 1)) || - (piVar5[10] - 10U < 0x3de)) && (pGVar23->_frameCount == piVar5[0xca])) { - (**(code **)(*piVar5 + 0xc))(); + piVar13 = *(int **)(*(int *)((int)pvVar11 + 0x125c) + uVar6 * 4); + if ((((1 < *(int *)&pGVar23->_deathmatchManager) && (piVar13[10] == 1)) || + (piVar13[10] - 10U < 0x3de)) && (pGVar23->_frameCount == piVar13[0xca])) { + (**(code **)(*piVar13 + 0xc))(); pGVar23 = g_game; } - uVar7 = uVar7 + 1; - } while (uVar7 < *(uint *)((int)pvVar12 + 0x1264)); + uVar6 = uVar6 + 1; + } while (uVar6 < *(uint *)((int)pvVar11 + 0x1264)); } FUN_00865180(); if (1 < *(int *)&g_game->_deathmatchManager) { @@ -471712,7 +472464,7 @@ LAB_00740146: } if ((uVar15 == dimension) && (local_1c = local_1c | 1, - ((&local_20->AllowedDoors)[uVar19 >> 5] & 1 << ((byte)uVar19 & 0x1f)) != 0)) { + (local_20->_doors[(uVar19 >> 5) - 1] & 1 << ((byte)uVar19 & 0x1f)) != 0)) { bVar5 = true; } else { @@ -471722,13 +472474,13 @@ LAB_00740146: local_1c = local_1c & 0xfffffffe; } if (bVar5) { - pRVar14 = GetRoomByIdx(this,*(int *)(&local_20->field_0x1c + uVar19 * 4),-1); + pRVar14 = GetRoomByIdx(this,local_20->_doors[uVar19],-1); iVar24 = *(int *)((int)pRVar14->Data + 8); if ((iVar24 != 8) && (iVar24 != 7)) { pcVar25 = "Found a candidate\n"; local_14 = local_38[uVar17]; this->_currentRoomIndex = local_14; - this->_previousRoomIndex = *(int *)(&local_20->field_0x1c + uVar19 * 4); + this->_previousRoomIndex = local_20->_doors[uVar19]; goto LAB_00740146; } } @@ -471835,7 +472587,7 @@ LAB_00740146: uVar17 = this->_leaveDoor; uVar19 = 1 << ((byte)uVar17 & 0x1f); if ((((*(uint *)((int)local_20->Data + (uVar17 >> 5) * 4 + 0x38) & uVar19) == 0) || - (iVar24 = *(int *)(&local_20->field_0x1c + uVar17 * 4), iVar24 < 0)) || + (iVar24 = local_20->_doors[uVar17], iVar24 < 0)) || (this->_currentDimensionIdx != this->_lastRoomDimensionIdx)) goto LAB_007404a6; switch(dimension) { case 0: @@ -471855,8 +472607,7 @@ LAB_00740146: } this->_previousRoomIndex = iVar20; switchD_007403fd_default: - if ((-1 < this->_currentRoomIndex) && (((&local_20->AllowedDoors)[uVar17 >> 5] & uVar19) != 0) - ) { + if ((-1 < this->_currentRoomIndex) && ((local_20->_doors[(uVar17 >> 5) - 1] & uVar19) != 0)) { this->_currentRoomIndex = iVar24; goto LAB_007404a9; } @@ -471907,7 +472658,7 @@ LAB_007405b4: if ((~uVar16 & (uVar15 | uVar17 | uVar19) & 2) != 0) goto LAB_007405b4; } } - generate_greed(); + load_room(); PlayerManager::trigger_new_room_effects(); if (this->_currentRoomIndex < 0) goto LAB_0074080d; if (this->_enterDoor + 1U < 9) { @@ -471931,7 +472682,7 @@ LAB_00740680: local_20 = (RoomDescriptor *)(uVar17 & 7); iVar24 = 0; do { - uVar17 = (int)&local_20->GridIndex + iVar24 & 0x80000007; + uVar17 = (int)local_20->_doors + iVar24 + -0x1c & 0x80000007; if ((int)uVar17 < 0) { uVar17 = (uVar17 - 1 | 0xfffffff8) + 1; } @@ -472291,24 +473042,22 @@ void __thiscall Level::GetRooms(Level *this,int *param_2) void __thiscall Level::generate_dungeon(Level *this,uint *param_2) { - uint *puVar1; - Level *pLVar2; + Level *pLVar1; + byte bVar2; byte bVar3; - byte bVar4; + uint uVar4; uint uVar5; - uint uVar6; - int iVar7; + int iVar6; + uint uVar7; uint uVar8; - uint uVar9; - undefined4 uVar10; - int **ppiVar11; - int *piVar12; - RNG RVar13; - int iVar14; - int *piVar15; + undefined4 uVar9; + int **ppiVar10; + int *piVar11; + int iVar12; + int *piVar13; int *unaff_FS_OFFSET; - bool bVar16; - double dVar17; + bool bVar14; + double dVar15; undefined1 local_46c [12]; undefined1 local_460 [12]; int local_454; @@ -472341,85 +473090,85 @@ void __thiscall Level::generate_dungeon(Level *this,uint *param_2) local_14 = 0xffffffff; puStack_18 = &DAT_00afdb9f; local_1c = *unaff_FS_OFFSET; - uVar5 = __security_cookie ^ (uint)(local_5c + 0x13); + uVar4 = __security_cookie ^ (uint)(local_5c + 0x13); *unaff_FS_OFFSET = (int)&local_1c; - RVar13 = this->_generationRNG; + uVar5 = (this->_generationRNG)._seed; local_430 = param_2; local_428 = this->_stage; local_410 = this; - local_24 = uVar5; - if (RVar13 == (RNG)0x0) { + local_24 = uVar4; + if (uVar5 == 0) { puStack_20 = (undefined1 *)(local_5c + 0x16); /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar13 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar13; - uVar6 = uVar6 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar6; - RVar13 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar6); - this->_generationRNG = RVar13; - iVar7 = (local_428 * 10) / 3 + 5 + ((uint)RVar13 & 1); - iVar14 = 0x14; - if (iVar7 < 0x14) { - iVar14 = iVar7; + uVar5 = uVar5 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar5; + (this->_generationRNG)._seed = uVar5; + iVar6 = (local_428 * 10) / 3 + 5 + (uVar5 & 1); + iVar12 = 0x14; + if (iVar6 < 0x14) { + iVar12 = iVar6; } - local_414 = iVar14; - if ((this->_stageType == 4) || (piVar15 = local_5c + 0x16, this->_stageType == 5)) { - bVar3 = HasAbandonedMineshaft(this); - if (bVar3 == 0) { - bVar3 = HasMirrorDimension(this); - piVar15 = (int *)puStack_20; - if (bVar3 == 0) goto LAB_00740f15; + local_414 = iVar12; + if ((this->_stageType == 4) || (piVar13 = local_5c + 0x16, this->_stageType == 5)) { + bVar2 = HasAbandonedMineshaft(this); + if (bVar2 == 0) { + bVar2 = HasMirrorDimension(this); + piVar13 = (int *)puStack_20; + if (bVar2 == 0) goto LAB_00740f15; } - local_414 = iVar14 + -3; - piVar15 = (int *)puStack_20; + local_414 = iVar12 + -3; + piVar13 = (int *)puStack_20; } LAB_00740f15: - puStack_20 = (undefined1 *)piVar15; - uVar6 = this->_curses; - uVar9 = g_game->_debugCurses; - uVar5 = Seeds::GetForcedCurses(uVar5); - uVar8 = Seeds::GetPreventedCurses(); - if ((~uVar8 & (uVar5 | uVar6 | uVar9) & 2) == 0) { + puStack_20 = (undefined1 *)piVar13; + uVar5 = this->_curses; + uVar8 = g_game->_debugCurses; + uVar4 = Seeds::GetForcedCurses(uVar4); + uVar7 = Seeds::GetPreventedCurses(); + if ((~uVar7 & (uVar4 | uVar5 | uVar8) & 2) == 0) { uVar5 = local_410->_curses; - uVar6 = g_game->_debugCurses; - uVar9 = Seeds::GetForcedCurses(); - uVar8 = Seeds::GetPreventedCurses(); - if ((~uVar8 & (uVar9 | uVar5 | uVar6) & 4) != 0) { + uVar4 = g_game->_debugCurses; + uVar8 = Seeds::GetForcedCurses(); + uVar7 = Seeds::GetPreventedCurses(); + if ((~uVar7 & (uVar8 | uVar5 | uVar4) & 4) != 0) { local_414 = local_414 + 4; } } else { - dVar17 = (double)local_414; + dVar15 = (double)local_414; local_414 = 0x2d; - if ((int)(dVar17 * 1.8) < 0x2d) { - local_414 = (int)(dVar17 * 1.8); + if ((int)(dVar15 * 1.8) < 0x2d) { + local_414 = (int)(dVar15 * 1.8); } } if (g_game->_challenge == 0x15) { - RVar13 = local_410->_generationRNG; - if (RVar13 == (RNG)0x0) { + uVar5 = (local_410->_generationRNG)._seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar13 >> ((byte)*(undefined4 *)&local_410->field_0x182d8 & 0x1f) ^ (uint)RVar13; - uVar5 = uVar5 << ((byte)*(undefined4 *)&local_410->field_0x182dc & 0x1f) ^ uVar5; - RVar13 = (RNG)(uVar5 >> ((byte)*(undefined4 *)&local_410->field_0x182e0 & 0x1f) ^ uVar5); - local_410->_generationRNG = RVar13; - local_414 = (uint)RVar13 % 5 + 0x28; + uVar5 = uVar5 >> ((byte)(local_410->_generationRNG)._shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)(local_410->_generationRNG)._shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)(local_410->_generationRNG)._shift3 & 0x1f) ^ uVar5; + (local_410->_generationRNG)._seed = uVar5; + local_414 = uVar5 % 5 + 0x28; } else { - RVar13 = local_410->_generationRNG; + uVar5 = (local_410->_generationRNG)._seed; } if (local_410->_stage == 0xc) { - if (RVar13 == (RNG)0x0) { + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar13 >> ((byte)*(undefined4 *)&local_410->field_0x182d8 & 0x1f) ^ (uint)RVar13; - uVar5 = uVar5 << ((byte)*(undefined4 *)&local_410->field_0x182dc & 0x1f) ^ uVar5; - RVar13 = (RNG)(uVar5 >> ((byte)*(undefined4 *)&local_410->field_0x182e0 & 0x1f) ^ uVar5); - local_410->_generationRNG = RVar13; - local_414 = (uint)RVar13 % 5 + 0x32; + uVar5 = uVar5 >> ((byte)(local_410->_generationRNG)._shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)(local_410->_generationRNG)._shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)(local_410->_generationRNG)._shift3 & 0x1f) ^ uVar5; + (local_410->_generationRNG)._seed = uVar5; + local_414 = uVar5 % 5 + 0x32; } uVar5 = *local_430; if (uVar5 == 0) { @@ -472433,63 +473182,63 @@ LAB_00740f15: if (g_game->_difficulty == 1) { local_414 = local_414 + 2 + (uVar5 & 1); } - iVar14 = local_410->_curses; - iVar7 = g_game->_debugCurses; - bVar3 = Seeds::GetForcedCurses(); - bVar4 = Seeds::GetPreventedCurses(); - if ((char)(~bVar4 & (bVar3 | (byte)iVar14 | (byte)iVar7)) < '\0') { - iVar14 = (local_414 * 3) / 5; + iVar12 = local_410->_curses; + iVar6 = g_game->_debugCurses; + bVar2 = Seeds::GetForcedCurses(); + bVar3 = Seeds::GetPreventedCurses(); + if ((char)(~bVar3 & (bVar2 | (byte)iVar12 | (byte)iVar6)) < '\0') { + iVar12 = (local_414 * 3) / 5; local_414 = 4; - if (4 < iVar14) { - local_414 = iVar14; + if (4 < iVar12) { + local_414 = iVar12; } } local_430 = (uint *)0x0; uVar5 = local_410->_curses; local_40c = (local_428 != 1) + 5; - uVar6 = g_game->_debugCurses; - uVar9 = Seeds::GetForcedCurses(); - uVar8 = Seeds::GetPreventedCurses(); - pLVar2 = local_410; - if ((~uVar8 & (uVar9 | uVar5 | uVar6) & 2) == 0) { + uVar4 = g_game->_debugCurses; + uVar8 = Seeds::GetForcedCurses(); + uVar7 = Seeds::GetPreventedCurses(); + pLVar1 = local_410; + if ((~uVar7 & (uVar8 | uVar5 | uVar4) & 2) == 0) { uVar5 = local_40c; } else { uVar5 = (local_428 != 1) + 6; } - iVar14 = uVar5 + 2; + iVar12 = uVar5 + 2; if (local_410->_stage != 0xc) { - iVar14 = uVar5; + iVar12 = uVar5; } - local_428 = iVar14; - iVar7 = PlayerManager::FirstCollectibleOwner + local_428 = iVar12; + iVar6 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,599,&g_game->_playerManager,1); - if (iVar7 != 0) { - iVar14 = iVar14 + 1; - local_428 = iVar14; + if (iVar6 != 0) { + iVar12 = iVar12 + 1; + local_428 = iVar12; } - bVar3 = HasAbandonedMineshaft(pLVar2); - if ((bVar3 != 0) || (bVar3 = HasMirrorDimension(pLVar2), bVar3 != 0)) { - local_428 = iVar14 + 1; + bVar2 = HasAbandonedMineshaft(pLVar1); + if ((bVar2 != 0) || (bVar2 = HasMirrorDimension(pLVar1), bVar2 != 0)) { + local_428 = iVar12 + 1; } - RVar13 = pLVar2->_generationRNG; - if (RVar13 == (RNG)0x0) { + uVar5 = (pLVar1->_generationRNG)._seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar13 >> ((byte)*(undefined4 *)&pLVar2->field_0x182d8 & 0x1f) ^ (uint)RVar13; - uVar5 = uVar5 << ((byte)*(undefined4 *)&pLVar2->field_0x182dc & 0x1f) ^ uVar5; - RVar13 = (RNG)(uVar5 >> ((byte)*(undefined4 *)&pLVar2->field_0x182e0 & 0x1f) ^ uVar5); - pLVar2->_generationRNG = RVar13; - RoomDescriptor::Init(local_408,RVar13); + uVar5 = uVar5 >> ((byte)(pLVar1->_generationRNG)._shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)(pLVar1->_generationRNG)._shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)(pLVar1->_generationRNG)._shift3 & 0x1f) ^ uVar5; + (pLVar1->_generationRNG)._seed = uVar5; + RoomDescriptor::Init(local_408,uVar5); local_14 = 0; uVar5 = g_game->_debugCurses; local_41c = g_game->_difficulty; - uVar6 = pLVar2->_curses; - uVar9 = Seeds::GetForcedCurses(); - uVar8 = Seeds::GetPreventedCurses(); - pLVar2 = local_410; - if (((~uVar8 & (uVar9 | uVar5 | uVar6) & 2) == 0) && + uVar4 = pLVar1->_curses; + uVar8 = Seeds::GetForcedCurses(); + uVar7 = Seeds::GetPreventedCurses(); + pLVar1 = local_410; + if (((~uVar7 & (uVar8 | uVar5 | uVar4) & 2) == 0) && (local_40c = local_410->_stage, (int)local_40c < 9)) { if (local_41c == 1) { if ((local_40c & 1) == 0) { @@ -472512,14 +473261,14 @@ LAB_00740f15: } else { local_40c = local_410->_stage; - bVar16 = local_41c == 1; - local_41c = (uint)bVar16 * 4 + 1; + bVar14 = local_41c == 1; + local_41c = (uint)bVar14 * 4 + 1; local_424 = 10; - if (bVar16) { + if (bVar14) { local_424 = 0xf; } } - piVar15 = (int *)0x0; + piVar13 = (int *)0x0; local_43c = (int *)0x0; local_438 = (int *)0x0; local_434 = 0; @@ -472535,92 +473284,92 @@ LAB_00740f15: RoomConfig::CollectRooms (&local_448,local_40c,1,0xd,0,0xffffffff,5,0xf,&local_420,0xffffffff,0xffffffff); local_14._0_1_ = 2; - std::vector<4byte>::insert_range(piVar15,local_448,local_444,local_42c); + std::vector<4byte>::insert_range(piVar13,local_448,local_444,local_42c); local_14._0_1_ = 1; if (local_448 != 0) { uVar5 = (local_440 - local_448 >> 2) * 4; - iVar14 = local_448; + iVar12 = local_448; if (0xfff < uVar5) { - iVar14 = *(int *)(local_448 + -4); + iVar12 = *(int *)(local_448 + -4); uVar5 = uVar5 + 0x23; - if (0x1f < (local_448 - iVar14) - 4U) goto LAB_00741c6c; + if (0x1f < (local_448 - iVar12) - 4U) goto LAB_00741c6c; } - operator_delete(iVar14,uVar5); + operator_delete(iVar12,uVar5); local_448 = 0; local_444 = 0; local_440 = 0; } - piVar15 = local_438; + piVar13 = local_438; } local_40c = local_40c + 1; } while (local_40c < 0x12); } else { local_420 = 0; - uVar10 = RoomConfig::CollectRooms - (local_460,local_42c,1,0xd,0,0xffffffff,local_41c,local_424,&local_420, - 0xffffffff,0xffffffff); + uVar9 = RoomConfig::CollectRooms + (local_460,local_42c,1,0xd,0,0xffffffff,local_41c,local_424,&local_420, + 0xffffffff,0xffffffff); local_14._0_1_ = 3; - std::vector::assign(uVar10); + std::vector::assign(uVar9); local_14._0_1_ = 1; FID_conflict__Tidy(local_460); - piVar15 = local_438; + piVar13 = local_438; } - if ((uint)((int)piVar15 - (int)local_43c >> 2) < 0x14) { + if ((uint)((int)piVar13 - (int)local_43c >> 2) < 0x14) { local_41c = 1; local_424 = 0xf; - if (pLVar2->_stage == 0xc) { + if (pLVar1->_stage == 0xc) { uVar5 = 1; - piVar15 = local_43c; + piVar13 = local_43c; do { if (uVar5 != 0xd) { local_420 = 0; - local_438 = piVar15; + local_438 = piVar13; RoomConfig::CollectRooms (&local_454,uVar5,1,0xd,0,0xffffffff,1,0xf,&local_420,0xffffffff,0xffffffff); local_14._0_1_ = 4; std::vector<4byte>::insert_range(local_43c,local_454,local_450,local_42c); local_14._0_1_ = 1; if (local_454 != 0) { - uVar6 = (local_44c - local_454 >> 2) * 4; - iVar14 = local_454; - if (0xfff < uVar6) { - iVar14 = *(int *)(local_454 + -4); - uVar6 = uVar6 + 0x23; - if (0x1f < (local_454 - iVar14) - 4U) { + uVar4 = (local_44c - local_454 >> 2) * 4; + iVar12 = local_454; + if (0xfff < uVar4) { + iVar12 = *(int *)(local_454 + -4); + uVar4 = uVar4 + 0x23; + if (0x1f < (local_454 - iVar12) - 4U) { LAB_00741c6c: local_14._0_1_ = 1; /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar14,uVar6); + operator_delete(iVar12,uVar4); local_454 = 0; local_450 = 0; local_44c = 0; } - piVar15 = local_43c; + piVar13 = local_43c; } uVar5 = uVar5 + 1; } while (uVar5 < 0x12); - piVar15 = local_438; + piVar13 = local_438; } else { local_420 = 0; - ppiVar11 = (int **)RoomConfig::CollectRooms + ppiVar10 = (int **)RoomConfig::CollectRooms (local_46c,local_42c,1,0xd,0,0xffffffff,1,0xf,&local_420, 0xffffffff,0xffffffff); local_14._0_1_ = 5; - if (&local_43c != ppiVar11) { - local_42c = *ppiVar11; - local_40c = (int)ppiVar11[1] - (int)local_42c; + if (&local_43c != ppiVar10) { + local_42c = *ppiVar10; + local_40c = (int)ppiVar10[1] - (int)local_42c; if ((uint)(local_434 - (int)local_43c >> 2) < (uint)((int)local_40c >> 2)) { std::vector::reserve_clear((int)local_40c >> 2); } - piVar15 = local_43c; + piVar13 = local_43c; memmove(local_43c,local_42c,local_40c); - piVar15 = (int *)((int)piVar15 + local_40c); - local_438 = piVar15; + piVar13 = (int *)((int)piVar13 + local_40c); + local_438 = piVar13; } local_14._0_1_ = 1; FID_conflict__Tidy(local_46c); @@ -472639,8 +473388,8 @@ LAB_00741c6c: local_5c[9] = 0; local_5c[10] = 0; local_5c[0xb] = 0; - for (piVar12 = local_43c; piVar12 != piVar15; piVar12 = piVar12 + 1) { - local_5c[*(int *)(*piVar12 + 0x48)] = local_5c[*(int *)(*piVar12 + 0x48)] + 1; + for (piVar11 = local_43c; piVar11 != piVar13; piVar11 = piVar11 + 1) { + local_5c[*(int *)(*piVar11 + 0x48)] = local_5c[*(int *)(*piVar11 + 0x48)] + 1; } local_40c = 0; uVar5 = 0; @@ -472650,16 +473399,16 @@ LAB_00741c6c: /* WARNING: Subroutine does not return */ std::bitset::_Xran(); } - puVar1 = (uint *)((int)local_408 + (uVar5 >> 5) * 4 + -4); - *puVar1 = *puVar1 | 1 << ((byte)uVar5 & 0x1f); + local_408[0]._doors[(uVar5 >> 5) - 8] = + local_408[0]._doors[(uVar5 >> 5) - 8] | 1 << ((byte)uVar5 & 0x1f); } uVar5 = uVar5 + 1; } while (uVar5 < 0xd); - iVar14 = g_game->_debugCurses; - iVar7 = pLVar2->_curses; - bVar3 = Seeds::GetForcedCurses(); - bVar4 = Seeds::GetPreventedCurses(); - if ((char)(~bVar4 & (bVar3 | (byte)iVar14 | (byte)iVar7)) < '\0') { + iVar12 = g_game->_debugCurses; + iVar6 = pLVar1->_curses; + bVar2 = Seeds::GetForcedCurses(); + bVar3 = Seeds::GetPreventedCurses(); + if ((char)(~bVar3 & (bVar2 | (byte)iVar12 | (byte)iVar6)) < '\0') { local_40c = local_40c & 0xfffffff1; } FUN_007382c0(); @@ -472776,15 +473525,15 @@ Level::place_rooms_backwards { std_set *psVar1; RNG *pRVar2; - void *pvVar3; - char cVar4; - byte bVar5; - uint uVar6; + int iVar3; + void *pvVar4; + char cVar5; + byte bVar6; uint uVar7; - int iVar8; - LevelGenerator_Room *pLVar9; + uint uVar8; + int iVar9; + LevelGenerator_Room *pLVar10; undefined3 extraout_var; - RNG RVar10; RoomConfig_Room *pRVar11; undefined4 uVar12; undefined4 *******pppppppuVar13; @@ -472792,7 +473541,7 @@ Level::place_rooms_backwards undefined4 extraout_ECX_00; undefined4 extraout_ECX_01; LevelGenerator_Room LVar14; - undefined4 *puVar15; + void **ppvVar15; RoomConfig *pRVar16; LevelGenerator_Room *room; int *piVar17; @@ -472802,13 +473551,13 @@ Level::place_rooms_backwards int *local_78; uint local_70; int local_6c; - undefined4 *local_68; + void **local_68; uint local_64; LevelGenerator *local_60; size_t local_5c; void *local_58; - undefined1 *local_54; - undefined1 *local_50; + void **local_54; + void **local_50; BackwardsStageDesc *local_4c; RoomDescriptor *local_48; LevelGenerator_Room local_44; @@ -472827,126 +473576,126 @@ Level::place_rooms_backwards local_8 = (undefined4 ******)0xffffffff; puStack_c = &LAB_00afdc65; local_10 = ExceptionList; - uVar6 = __security_cookie ^ (uint)(local_30 + 0xb); + uVar7 = __security_cookie ^ (uint)(local_30 + 0xb); ExceptionList = &local_10; local_64 = stage; local_34 = (RoomConfig_Room *)maxDifficulty; - iVar8 = backwardsStage->_bossRoomsCount; + iVar9 = backwardsStage->_bossRoomsCount; local_60 = levelGen; local_4c = backwardsStage; - local_18 = uVar6; - if (iVar8 == 0) { + local_18 = uVar7; + if (iVar9 == 0) { local_40 = (LevelGenerator_Room) BossPool::GetBossId(&g_game->_bossPool,this->_stage,this->_stageType, (RNG *)&g_game->_bossPool); - RVar10 = this->_generationRNG; - if (RVar10 == (RNG)0x0) { + uVar8 = (this->_generationRNG)._seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar6); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar7); } - uVar7 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar10; - uVar7 = uVar7 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar7; - this->_generationRNG = - (RNG)(uVar7 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar7); - iVar8 = pick_boss_room_config(); - if (iVar8 == 0) { + uVar8 = uVar8 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar8; + (this->_generationRNG)._seed = uVar8 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar8; + iVar9 = pick_boss_room_config(); + if (iVar9 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(1, "[warn] could not find matching boss room (boss id: %d) for the current stage\n" ,local_40); } - local_50 = (undefined1 *) - LevelGenerator::place_boss_room(*(undefined4 *)(iVar8 + 0x48),iVar8 + 0x38,0); - if (local_50 == (undefined1 *)0x0) { + local_50 = (void **)LevelGenerator::place_boss_room + (*(undefined4 *)(iVar9 + 0x48),iVar9 + 0x38,0); + if (local_50 == (void **)0x0) { ExceptionList = local_10; return 0; } uVar19 = 0; uVar12 = extraout_ECX; - uVar7 = RNG::Next(&this->_generationRNG); - place_room(local_50,iVar8,uVar7,uVar12,uVar19); - iVar8 = this->_roomCount; - this->_roomList[iVar8 + -1].Flags = 1; - this->_roomList[iVar8 + -1].VisitedCount = 1; + uVar8 = RNG::Next(&this->_generationRNG); + place_room(local_50,iVar9,uVar8,uVar12,uVar19); + iVar9 = this->_roomCount; + this->_roomList[iVar9 + -1].Flags = 1; + this->_roomList[iVar9 + -1].VisitedCount = 1; this->_lastBossRoomListIndex = this->_roomCount + -1; } else { - local_5c = iVar8 - 1; + local_5c = iVar9 - 1; if ((int)local_5c < 0) goto LAB_0074228c; - local_50 = &backwardsStage->field_0x164 + iVar8 * 0xc; - local_68 = (undefined4 *)((int)backwardsStage + local_5c * 0xb8 + 0x78); - pLVar9 = (LevelGenerator_Room *)0xffffffff; + local_50 = (void **)(backwardsStage->_bossRooms[1]._doors + iVar9 * 3 + 0x24); + local_68 = &backwardsStage->_bossRooms[iVar9 + -1].SavedEntities._end; + pLVar10 = (LevelGenerator_Room *)0xffffffff; do { local_6c = get_room_config_from_saved_id(local_50,0); local_40 = *(LevelGenerator_Room *)(local_6c + 0x48); - if ((int)pLVar9 < 0) { - iVar8 = LevelGenerator::place_boss_room(local_40,local_6c + 0x38,0); - local_40 = (LevelGenerator_Room)iVar8; + if ((int)pLVar10 < 0) { + iVar9 = LevelGenerator::place_boss_room(local_40,local_6c + 0x38,0); + local_40 = (LevelGenerator_Room)iVar9; } else { LevelGenerator::get_neighbor_candidates - (levelGen,&local_24,*(uint *)((int)levelGen[0xd9] + 4 + (int)pLVar9 * 0x48),1); + (levelGen,&local_24,*(uint *)((int)levelGen[0xd9] + 4 + (int)pLVar10 * 0x48),1); local_8 = (undefined4 ******)0x0; if ((LevelGenerator_Room *)local_24 != local_24._4_4_) { - pLVar9 = local_24._4_4_; + pLVar10 = local_24._4_4_; LVar14 = local_40; room = (LevelGenerator_Room *)local_24; do { if (room[6] == LVar14) { - cVar4 = LevelGenerator::can_place_room(room + 2,room[6]); - if ((cVar4 != '\0') && - (iVar8 = LevelGenerator::count_neighbor_rooms(room + 10), iVar8 < 2)) { + cVar5 = LevelGenerator::can_place_room(room + 2,room[6]); + if ((cVar5 != '\0') && + (iVar9 = LevelGenerator::count_neighbor_rooms(room + 10), iVar9 < 2)) { LevelGenerator::update_room_neighbors(room); local_44 = (LevelGenerator_Room)((uint)room[7] & *(uint *)(local_6c + 0x38)); if (local_44 == room[7]) { - bVar5 = LevelGenerator::place_room(levelGen,room); - iVar8 = CONCAT31(extraout_var,bVar5); + bVar6 = LevelGenerator::place_room(levelGen,room); + iVar9 = CONCAT31(extraout_var,bVar6); local_8 = (undefined4 ******)0xffffffff; - local_40 = (LevelGenerator_Room)iVar8; + local_40 = (LevelGenerator_Room)iVar9; vector_LevelGenerator_Room_tidy(); goto LAB_007420be; } } - pLVar9 = local_24._4_4_; + pLVar10 = local_24._4_4_; LVar14 = local_40; } room = room + 0x12; - } while (room != pLVar9); + } while (room != pLVar10); } - iVar8 = 0; + iVar9 = 0; local_8 = (undefined4 ******)0xffffffff; local_40 = (LevelGenerator_Room)0x0; vector_LevelGenerator_Room_tidy(); } LAB_007420be: - if (iVar8 == 0) { + if (iVar9 == 0) { ExceptionList = local_10; return 0; } - RVar10 = this->_generationRNG; - local_3c = *(LevelGenerator_Room **)(iVar8 + 4); - if (RVar10 == (RNG)0x0) { + uVar8 = (this->_generationRNG)._seed; + local_3c = *(LevelGenerator_Room **)(iVar9 + 4); + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar10; - uVar7 = uVar7 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar7; - RVar10 = (RNG)(uVar7 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar7); - this->_generationRNG = RVar10; - place_room(iVar8,local_6c,RVar10,*(undefined4 *)&this->field_0x182e0,0); - puVar15 = local_68; + uVar8 = uVar8 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar8; + iVar3 = (this->_generationRNG)._shift3; + uVar8 = uVar8 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)iVar3 & 0x1f) ^ uVar8; + (this->_generationRNG)._seed = uVar8; + place_room(iVar9,local_6c,uVar8,iVar3,0); + ppvVar15 = local_68; local_44 = (LevelGenerator_Room)0x1; local_38 = (RoomConfig *)(this->_roomList + this->_roomCount + -1); - *(uint *)&local_38->field_0x44 = local_68[-0xd] | 1; - pLVar9 = &local_44; + *(uint *)&local_38->field_0x44 = (uint)local_68[-0xd] | 1; + pLVar10 = &local_44; if (*(LevelGenerator_Room *)(local_68 + -0xe) != (LevelGenerator_Room)0x0) { - pLVar9 = (LevelGenerator_Room *)(local_68 + -0xe); + pLVar10 = (LevelGenerator_Room *)(local_68 + -0xe); } local_44 = (LevelGenerator_Room)&local_38->field_0x68; - *(LevelGenerator_Room *)&local_38->field_0x40 = *pLVar9; + *(LevelGenerator_Room *)&local_38->field_0x40 = *pLVar10; if (local_44 != (LevelGenerator_Room)(local_68 + -4)) { - local_48 = (RoomDescriptor *)local_68[-4]; - local_54 = (undefined1 *)(local_68[-3] - (int)local_48); + local_48 = local_68[-4]; + local_54 = (void **)((int)local_68[-3] - (int)local_48); local_58 = ((std_vector *)local_44)->_begin; local_70 = (int)local_54 >> 5; if ((uint)((int)*(void **)&local_38->field_0x70 - (int)local_58 >> 5) < local_70) { @@ -472954,72 +473703,74 @@ LAB_007420be: local_58 = *(void **)local_44; } memmove(local_58,local_48,(size_t)local_54); - *(undefined1 **)((int)local_44 + 4) = local_54 + (int)local_58; + *(void **)((int)local_44 + 4) = (void *)((int)local_54 + (int)local_58); } - if ((std_vector *)&local_38->field_0x74 != (std_vector *)(puVar15 + -1)) { - std::vector::assign(puVar15[-1],*puVar15,local_34); + if ((std_vector *)&local_38->field_0x74 != (std_vector *)(ppvVar15 + -1)) { + std::vector::assign + (((std_vector *)(ppvVar15 + -1))->_begin,*ppvVar15,local_34); } - local_48 = (RoomDescriptor *)(puVar15 + 2); + local_48 = (RoomDescriptor *)(ppvVar15 + 2); psVar1 = (std_set *)&local_38->field_0x80; if ((RoomDescriptor *)psVar1 != local_48) { - pvVar3 = psVar1->_head; + pvVar4 = psVar1->_head; FID_conflict__Erase_tree_>_> (psVar1,(fuzzer_allocator_> *)psVar1, - *(_Tree_node **)((int)pvVar3 + 4)); - *(void **)((int)pvVar3 + 4) = pvVar3; - *(void **)pvVar3 = pvVar3; - *(void **)((int)pvVar3 + 8) = pvVar3; + *(_Tree_node **)((int)pvVar4 + 4)); + *(void **)((int)pvVar4 + 4) = pvVar4; + *(void **)pvVar4 = pvVar4; + *(void **)((int)pvVar4 + 8) = pvVar4; *(uint *)&local_38->field_0x84 = 0; std_set_uint_copy(local_48,local_34); - puVar15 = local_68; + ppvVar15 = local_68; } - if ((std_vector *)&local_38->field_0x88 != (std_vector *)(puVar15 + 4)) { - std::vector::assign(puVar15[4],puVar15[5],local_34); + if ((std_vector *)&local_38->field_0x88 != (std_vector *)(ppvVar15 + 4)) { + std::vector::assign(ppvVar15[4],ppvVar15[5],local_34); } piVar17 = (int *)(local_6c + 0x38); *(int *)&local_38->field_0x18 = *piVar17; FUN_00741cf0(); LevelGenerator::block_unused_door_cells(local_40,piVar17); local_5c = local_5c - 1; - local_50 = local_50 + -0xc; + local_50 = local_50 + -3; local_68 = local_68 + -0x2e; this->_lastBossRoomListIndex = this->_roomCount + -1; - pLVar9 = local_3c; + pLVar10 = local_3c; } while (-1 < (int)local_5c); } LAB_0074228c: - iVar8 = local_4c->_treasureRoomsCount; - local_58 = (void *)(iVar8 + -1); + iVar9 = local_4c->_treasureRoomsCount; + local_58 = (void *)(iVar9 + -1); if (-1 < (int)local_58) { - local_54 = &local_4c->field_0x2ec + iVar8 * 0xc; - puVar15 = (undefined4 *)(&local_4c->field_0x148 + iVar8 * 0xb8); + local_54 = (void **)(local_4c->_treasureRooms[1]._doors + iVar9 * 3 + 0x24); + ppvVar15 = &local_4c->_bossRooms[iVar9 + 1].SavedEffects._capacity; do { - iVar8 = get_room_config_from_saved_id(local_54,0); + iVar9 = get_room_config_from_saved_id(local_54,0); local_3c = LevelGenerator::GetNewEndRoom - (local_60,*(int *)(iVar8 + 0x48),(uint *)(iVar8 + 0x38)); + (local_60,*(int *)(iVar9 + 0x48),(uint *)(iVar9 + 0x38)); if (local_3c == (LevelGenerator_Room *)0x0) { ExceptionList = local_10; return 0; } - RVar10 = this->_generationRNG; - if (RVar10 == (RNG)0x0) { + uVar8 = (this->_generationRNG)._seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar6); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar7); } - uVar7 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar10; - uVar7 = uVar7 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar7; - RVar10 = (RNG)(uVar7 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar7); - this->_generationRNG = RVar10; - place_room(local_3c,iVar8,RVar10,*(undefined4 *)&this->field_0x182e0,0); + uVar8 = uVar8 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar8; + iVar3 = (this->_generationRNG)._shift3; + uVar8 = uVar8 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)iVar3 & 0x1f) ^ uVar8; + (this->_generationRNG)._seed = uVar8; + place_room(local_3c,iVar9,uVar8,iVar3,0); pRVar18 = this->_roomList + this->_roomCount + -1; - pRVar18->Flags = puVar15[-0xd]; - pRVar18->VisitedCount = puVar15[-0xe]; + pRVar18->Flags = (int)ppvVar15[-0xd]; + pRVar18->VisitedCount = (int)ppvVar15[-0xe]; local_48 = pRVar18; - if (&pRVar18->SavedGridEntities != (std_vector *)(puVar15 + -4)) { - local_3c = (LevelGenerator_Room *)puVar15[-4]; - local_5c = puVar15[-3] - (int)local_3c; + if (&pRVar18->SavedGridEntities != (std_vector *)(ppvVar15 + -4)) { + local_3c = ppvVar15[-4]; + local_5c = (int)ppvVar15[-3] - (int)local_3c; local_44 = (LevelGenerator_Room)(pRVar18->SavedGridEntities)._begin; - local_50 = (undefined1 *)((int)local_5c >> 5); + local_50 = (void **)((int)local_5c >> 5); if ((undefined1 *)((int)(pRVar18->SavedGridEntities)._capacity - (int)local_44 >> 5) < local_50) { std::vector<32byte>::_Clear_and_reserve_geometric(local_50); @@ -473028,29 +473779,29 @@ LAB_0074228c: memmove((void *)local_44,local_3c,local_5c); (pRVar18->SavedGridEntities)._end = (void *)(local_5c + (int)local_44); } - if (&pRVar18->SavedEntities != (std_vector *)(puVar15 + -1)) { - std::vector::assign(puVar15[-1],*puVar15,local_34); + if (&pRVar18->SavedEntities != (std_vector *)(ppvVar15 + -1)) { + std::vector::assign(ppvVar15[-1],*ppvVar15,local_34); } psVar1 = &pRVar18->RestrictedGridIndexes; - if (psVar1 != (std_set *)(puVar15 + 2)) { - pvVar3 = psVar1->_head; + if (psVar1 != (std_set *)(ppvVar15 + 2)) { + pvVar4 = psVar1->_head; FID_conflict__Erase_tree_>_> (psVar1,(fuzzer_allocator_> *)psVar1, - *(_Tree_node **)((int)pvVar3 + 4)); + *(_Tree_node **)((int)pvVar4 + 4)); pRVar18 = local_48; - *(void **)((int)pvVar3 + 4) = pvVar3; - *(void **)pvVar3 = pvVar3; - *(void **)((int)pvVar3 + 8) = pvVar3; + *(void **)((int)pvVar4 + 4) = pvVar4; + *(void **)pvVar4 = pvVar4; + *(void **)((int)pvVar4 + 8) = pvVar4; (local_48->RestrictedGridIndexes)._size = 0; - std_set_uint_copy(puVar15 + 2,local_34); + std_set_uint_copy(ppvVar15 + 2,local_34); } - if (&pRVar18->SavedEffects != (std_vector *)(puVar15 + 4)) { - std::vector::assign(puVar15[4],puVar15[5],local_34); + if (&pRVar18->SavedEffects != (std_vector *)(ppvVar15 + 4)) { + std::vector::assign(ppvVar15[4],ppvVar15[5],local_34); } FUN_00741cf0(); - puVar15 = puVar15 + -0x2e; + ppvVar15 = ppvVar15 + -0x2e; local_58 = (void *)((int)local_58 + -1); - local_54 = local_54 + -0xc; + local_54 = local_54 + -3; } while (-1 < (int)local_58); } LevelGenerator::get_all_rooms(&local_7c); @@ -473058,45 +473809,44 @@ LAB_0074228c: piVar17 = local_7c; if (local_7c != local_78) { do { - iVar8 = *piVar17; - if (((*(int *)(iVar8 + 8) == DAT_00c5d088) && (*(int *)(iVar8 + 0xc) == DAT_00c5d08c)) && - (*(int *)(iVar8 + 0x40) == 0)) { - local_3c = (LevelGenerator_Room *)(iVar8 + 0x1c); - RVar10 = this->_generationRNG; + iVar9 = *piVar17; + if (((*(int *)(iVar9 + 8) == DAT_00c5d088) && (*(int *)(iVar9 + 0xc) == DAT_00c5d08c)) && + (*(int *)(iVar9 + 0x40) == 0)) { + local_3c = (LevelGenerator_Room *)(iVar9 + 0x1c); + uVar8 = (this->_generationRNG)._seed; pRVar16 = &g_game->_roomConfig; - local_48 = *(RoomDescriptor **)(iVar8 + 0x18); - if (RVar10 == (RNG)0x0) { + local_48 = *(RoomDescriptor **)(iVar9 + 0x18); + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar6); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar7); } - uVar7 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar10; - uVar7 = uVar7 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar7; - RVar10 = (RNG)(uVar7 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar7); - this->_generationRNG = RVar10; + uVar8 = uVar8 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar8; + (this->_generationRNG)._seed = uVar8; pRVar11 = RoomConfig::GetRandomRoom - (pRVar16,(uint)RVar10,1,0x24,1,(int)local_48,0,-1,0,0,(uint *)local_3c,0 - ,-1); + (pRVar16,uVar8,1,0x24,1,(int)local_48,0,-1,0,0,(uint *)local_3c,0,-1); uVar12 = extraout_ECX_00; if (pRVar11 == (RoomConfig_Room *)0x0) { - bVar5 = 0; + bVar6 = 0; goto LAB_00742bdc; } } else { - local_3c = (LevelGenerator_Room *)(iVar8 + 0x1c); - RVar10 = this->_generationRNG; + local_3c = (LevelGenerator_Room *)(iVar9 + 0x1c); + uVar8 = (this->_generationRNG)._seed; pRVar16 = &g_game->_roomConfig; - local_48 = *(RoomDescriptor **)(iVar8 + 0x18); - if (RVar10 == (RNG)0x0) { + local_48 = *(RoomDescriptor **)(iVar9 + 0x18); + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar6); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar7); } - uVar7 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar10; - uVar7 = uVar7 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar7; - RVar10 = (RNG)(uVar7 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar7); - this->_generationRNG = RVar10; + uVar8 = uVar8 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar8; + (this->_generationRNG)._seed = uVar8; pRVar11 = RoomConfig::GetRandomRoom - (pRVar16,(uint)RVar10,1,0x24,1,(int)local_48,0,-1,1,(int)local_34, + (pRVar16,uVar8,1,0x24,1,(int)local_48,0,-1,1,(int)local_34, (uint *)local_3c,local_64,-1); uVar12 = extraout_ECX_01; if (pRVar11 == (RoomConfig_Room *)0x0) { @@ -473111,11 +473861,11 @@ LAB_0074228c: KAGE_LogMessage(1,"failed to get room %s %s %d\n",pppppppuVar13,uVar12,local_64); } } - place_room(*piVar17,pRVar11,this->_generationRNG,uVar12,0); + place_room(*piVar17,pRVar11,(this->_generationRNG)._seed,uVar12,0); piVar17 = piVar17 + 1; } while (piVar17 != local_78); } - pvVar3 = ThreadLocalStoragePointer; + pvVar4 = ThreadLocalStoragePointer; local_38 = &g_game->_roomConfig; if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { @@ -473127,20 +473877,20 @@ LAB_0074228c: } pRVar2 = &this->_generationRNG; Seeds::Init3(pRVar2); - RVar10 = *pRVar2; + uVar7 = pRVar2->_seed; local_34 = (RoomConfig_Room *)0x0; - if (RVar10 == (RNG)0x0) { + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar10; - uVar6 = uVar6 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar6; - RVar10 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar6); - *pRVar2 = RVar10; + uVar7 = uVar7 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar7; + uVar7 = uVar7 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar7; + pRVar2->_seed = uVar7; local_34 = RoomConfig::GetRandomRoom - (local_38,(uint)RVar10,1,0,3,0xd,0,-1,1,10,(uint *)&local_34,0xffffffff,-1); - iVar8 = *(int *)pvVar3; - if (*(int *)(iVar8 + 0xc) < g_invalidRoomDescriptorGuard) { + (local_38,uVar7,1,0,3,0xd,0,-1,1,10,(uint *)&local_34,0xffffffff,-1); + iVar9 = *(int *)pvVar4; + if (*(int *)(iVar9 + 0xc) < g_invalidRoomDescriptorGuard) { _Init_thread_header(&g_invalidRoomDescriptorGuard); if (g_invalidRoomDescriptorGuard == -1) { local_8._0_1_ = 4; @@ -473149,14 +473899,14 @@ LAB_0074228c: local_8 = (undefined4 ******)CONCAT31(local_8._1_3_,1); _Init_thread_footer(&g_invalidRoomDescriptorGuard); } - iVar8 = *(int *)pvVar3; + iVar9 = *(int *)pvVar4; } pRVar18 = &g_roomDescriptorDummy; if ((uint)this->_currentDimensionIdx < 3) { pRVar18 = this->_roomList + 0x1fc; } pRVar18->Data = local_34; - if ((*(int *)(iVar8 + 0xc) < g_invalidRoomDescriptorGuard) && + if ((*(int *)(iVar9 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_8._0_1_ = 5; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -473165,21 +473915,20 @@ LAB_0074228c: _Init_thread_footer(&g_invalidRoomDescriptorGuard); } Seeds::Init3(pRVar2); - RVar10 = *pRVar2; + uVar7 = pRVar2->_seed; local_34 = (RoomConfig_Room *)0x0; - if (RVar10 == (RNG)0x0) { + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar10; - uVar6 = uVar6 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar6; - RVar10 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar6); - *pRVar2 = RVar10; + uVar7 = uVar7 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar7; + uVar7 = uVar7 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar7; + pRVar2->_seed = uVar7; local_34 = RoomConfig::GetRandomRoom - (local_38,(uint)RVar10,1,0,0x16,0xd,0,-1,1,10,(uint *)&local_34,0xffffffff,0) - ; - iVar8 = *(int *)pvVar3; - if (*(int *)(iVar8 + 0xc) < g_invalidRoomDescriptorGuard) { + (local_38,uVar7,1,0,0x16,0xd,0,-1,1,10,(uint *)&local_34,0xffffffff,0); + iVar9 = *(int *)pvVar4; + if (*(int *)(iVar9 + 0xc) < g_invalidRoomDescriptorGuard) { _Init_thread_header(&g_invalidRoomDescriptorGuard); if (g_invalidRoomDescriptorGuard == -1) { local_8._0_1_ = 6; @@ -473188,14 +473937,14 @@ LAB_0074228c: local_8 = (undefined4 ******)CONCAT31(local_8._1_3_,1); _Init_thread_footer(&g_invalidRoomDescriptorGuard); } - iVar8 = *(int *)pvVar3; + iVar9 = *(int *)pvVar4; } pRVar18 = &g_roomDescriptorDummy; if ((uint)this->_currentDimensionIdx < 3) { pRVar18 = this->_roomList + 0x200; } pRVar18->Data = local_34; - if ((*(int *)(iVar8 + 0xc) < g_invalidRoomDescriptorGuard) && + if ((*(int *)(iVar9 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_8._0_1_ = 7; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -473204,20 +473953,19 @@ LAB_0074228c: _Init_thread_footer(&g_invalidRoomDescriptorGuard); } Seeds::Init3(pRVar2); - RVar10 = *pRVar2; + uVar7 = pRVar2->_seed; local_34 = (RoomConfig_Room *)0x0; - if (RVar10 == (RNG)0x0) { + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar10; - uVar6 = uVar6 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar6; - RVar10 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar6); - *pRVar2 = RVar10; + uVar7 = uVar7 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar7; + uVar7 = uVar7 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar7; + pRVar2->_seed = uVar7; local_34 = RoomConfig::GetRandomRoom - (local_38,(uint)RVar10,1,0,0x10,0xd,0,-1,1,10,(uint *)&local_34,0xffffffff,0) - ; - if ((*(int *)(*(int *)pvVar3 + 0xc) < g_invalidRoomDescriptorGuard) && + (local_38,uVar7,1,0,0x10,0xd,0,-1,1,10,(uint *)&local_34,0xffffffff,0); + if ((*(int *)(*(int *)pvVar4 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_8._0_1_ = 8; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -473249,35 +473997,35 @@ LAB_0074228c: if (((g_manager->_persistentGameData)._achievements[0x9a] != 0) || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))) { - local_4c = (BackwardsStageDesc *)&local_4c->field_0x1; + local_4c = (BackwardsStageDesc *)((int)&local_4c->_bossRooms[0].GridIndex + 1); } - RVar10 = *pRVar2; - if (RVar10 == (RNG)0x0) { + uVar7 = pRVar2->_seed; + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar10; + uVar7 = uVar7 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar7; local_24 = 0x300000003; - uVar6 = uVar6 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar6; - RVar10 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar6); + uVar7 = uVar7 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar7; + uVar7 = uVar7 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar7; local_64 = 0x1a; - *pRVar2 = RVar10; - pvVar3 = ThreadLocalStoragePointer; - if (RVar10 == (RNG)0x0) { + pRVar2->_seed = uVar7; + pvVar4 = ThreadLocalStoragePointer; + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar10 >> 3 ^ (uint)RVar10; - uVar6 = uVar6 << 3 ^ uVar6; - uVar6 = uVar6 >> 0x1a ^ uVar6; - local_34 = (RoomConfig_Room *)(uVar6 % (uint)local_4c); - if (uVar6 == 0) { + uVar7 = uVar7 >> 3 ^ uVar7; + uVar7 = uVar7 << 3 ^ uVar7; + uVar7 = uVar7 >> 0x1a ^ uVar7; + local_34 = (RoomConfig_Room *)(uVar7 % (uint)local_4c); + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = uVar6 >> 3 ^ uVar6; - uVar6 = uVar6 << 3 ^ uVar6; - local_34 = (RoomConfig_Room *)((int)&local_34->StageId + (uVar6 >> 0x1a ^ uVar6) % (uint)local_60) + uVar7 = uVar7 >> 3 ^ uVar7; + uVar7 = uVar7 << 3 ^ uVar7; + local_34 = (RoomConfig_Room *)((int)&local_34->StageId + (uVar7 >> 0x1a ^ uVar7) % (uint)local_60) ; if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { @@ -473288,20 +474036,19 @@ LAB_0074228c: _Init_thread_footer(&g_invalidRoomDescriptorGuard); } Seeds::Init3(pRVar2); - RVar10 = *pRVar2; + uVar7 = pRVar2->_seed; local_3c = (LevelGenerator_Room *)0x0; - if (RVar10 == (RNG)0x0) { + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar10; - uVar6 = uVar6 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar6; - RVar10 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar6); - *pRVar2 = RVar10; + uVar7 = uVar7 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar7; + uVar7 = uVar7 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar7; + pRVar2->_seed = uVar7; local_34 = RoomConfig::GetRandomRoom - (local_38,(uint)RVar10,1,0,2,0xd,0,-1,1,10,(uint *)&local_3c,(uint)local_34, - -1); - if ((*(int *)(*(int *)pvVar3 + 0xc) < g_invalidRoomDescriptorGuard) && + (local_38,uVar7,1,0,2,0xd,0,-1,1,10,(uint *)&local_3c,(uint)local_34,-1); + if ((*(int *)(*(int *)pvVar4 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_8._0_1_ = 10; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -473314,16 +474061,16 @@ LAB_0074228c: pRVar18 = this->_roomList + 0x207; } pRVar18->Data = local_34; - RVar10 = *pRVar2; - if (RVar10 == (RNG)0x0) { + uVar7 = pRVar2->_seed; + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar10; - uVar6 = uVar6 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar6; - iVar8 = *(int *)pvVar3; - *pRVar2 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar6); - if ((*(int *)(iVar8 + 0xc) < g_invalidRoomDescriptorGuard) && + uVar7 = uVar7 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar7; + iVar9 = *(int *)pvVar4; + pRVar2->_seed = uVar7 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar7; + if ((*(int *)(iVar9 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_8._0_1_ = 0xb; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -473332,19 +474079,18 @@ LAB_0074228c: _Init_thread_footer(&g_invalidRoomDescriptorGuard); } Seeds::Init3(pRVar2); - RVar10 = *pRVar2; + uVar7 = pRVar2->_seed; local_34 = (RoomConfig_Room *)0x0; - if (RVar10 == (RNG)0x0) { + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar10; - uVar6 = uVar6 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar6; - RVar10 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar6); - *pRVar2 = RVar10; - pRVar11 = RoomConfig::GetRandomRoom - (local_38,(uint)RVar10,1,0,0xf,0xd,0,-1,1,10,(uint *)&local_34,1,-1); - if ((*(int *)(*(int *)pvVar3 + 0xc) < g_invalidRoomDescriptorGuard) && + uVar7 = uVar7 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar7; + uVar7 = uVar7 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar7; + pRVar2->_seed = uVar7; + pRVar11 = RoomConfig::GetRandomRoom(local_38,uVar7,1,0,0xf,0xd,0,-1,1,10,(uint *)&local_34,1,-1); + if ((*(int *)(*(int *)pvVar4 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_8 = (undefined4 ******)CONCAT31(local_8._1_3_,0xc); RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -473358,11 +474104,11 @@ LAB_0074228c: pRVar18 = &g_roomDescriptorDummy; } pRVar18->Data = pRVar11; - bVar5 = 1; + bVar6 = 1; LAB_00742bdc: FID_conflict__Tidy(&local_7c); ExceptionList = local_10; - return bVar5; + return bVar6; } @@ -473375,22 +474121,21 @@ LAB_00742bdc: void Level::generate_backwards(void) { - uint *puVar1; - bool bVar2; - size_t sVar3; - uint uVar4; - int **ppiVar5; - undefined4 uVar6; + bool bVar1; + size_t sVar2; + uint uVar3; + int **ppiVar4; + undefined4 uVar5; int *in_ECX; - int iVar7; - int *piVar8; + int iVar6; + int *piVar7; int *unaff_FS_OFFSET; undefined1 local_450 [12]; undefined1 local_444 [20]; int *local_430; int *local_42c; undefined4 local_428; - undefined1 *local_424; + int *local_424; Game *local_420; int *local_41c; int local_418; @@ -473412,41 +474157,41 @@ void Level::generate_backwards(void) local_24 = __security_cookie ^ (uint)(local_5c + 0x13); *unaff_FS_OFFSET = (int)&local_1c; if ((in_ECX[1] == 4) || (in_ECX[1] == 5)) { - bVar2 = true; + bVar1 = true; } else { - bVar2 = false; + bVar1 = false; } local_420 = g_game; - iVar7 = *in_ECX + 1; - if (!bVar2) { - iVar7 = *in_ECX; + iVar6 = *in_ECX + 1; + if (!bVar1) { + iVar6 = *in_ECX; } - if ((iVar7 < 1) || (7 < iVar7)) { + if ((iVar6 < 1) || (7 < iVar6)) { puStack_20 = (undefined1 *)(local_5c + 0x16); /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Invalid backwards path stage ID",local_24); } - local_424 = (undefined1 *)((int)(g_game->_glowingHourglassStates + 2) + iVar7 * 800 + 0x1128); - local_418 = -iVar7 + 0xe; + local_424 = g_game->_glowingHourglassStates[1]._eventCounters + iVar6 * 200 + 0x17b; + local_418 = -iVar6 + 0xe; if (g_game->_difficulty != 1) { - local_418 = -iVar7 + 0xc; + local_418 = -iVar6 + 0xc; } - if (local_424[0x31c] != '\0') { + if ((char)local_424[199] != '\0') { in_ECX[3] = in_ECX[3] | 2; local_418 = local_418 + 6; } - uVar4 = in_ECX[0x60b5]; - if (uVar4 == 0) { + uVar3 = in_ECX[0x60b5]; + if (uVar3 == 0) { puStack_20 = (undefined1 *)(local_5c + 0x16); /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",local_24); } - uVar4 = uVar4 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar4; - uVar4 = uVar4 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar4; - uVar4 = uVar4 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar4; - in_ECX[0x60b5] = uVar4; - RoomDescriptor::Init(local_408,uVar4); + uVar3 = uVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar3; + uVar3 = uVar3 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar3; + uVar3 = uVar3 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar3; + in_ECX[0x60b5] = uVar3; + RoomDescriptor::Init(local_408,uVar3); local_420 = (Game *)0xa; if (g_game->_difficulty == 1) { local_420 = (Game *)0xf; @@ -473457,26 +474202,26 @@ void Level::generate_backwards(void) local_428 = 0; local_14 = 1; local_414 = (int *)0x0; - ppiVar5 = (int **)RoomConfig::CollectRooms + ppiVar4 = (int **)RoomConfig::CollectRooms (local_444,0x24,1,0xd,0,0xffffffff,1,local_420,&local_414,0xffffffff, 0xffffffff); local_14._0_1_ = 2; - if (&local_430 != ppiVar5) { - local_414 = *ppiVar5; - local_410 = (int)ppiVar5[1] - (int)local_414; - piVar8 = (int *)0x0; + if (&local_430 != ppiVar4) { + local_414 = *ppiVar4; + local_410 = (int)ppiVar4[1] - (int)local_414; + piVar7 = (int *)0x0; if ((int)local_410 >> 2 != 0) { std::vector::reserve_clear((int)local_410 >> 2); local_41c = local_430; - piVar8 = local_430; + piVar7 = local_430; } - memmove(piVar8,local_414,local_410); - local_42c = (int *)(local_410 + (int)piVar8); + memmove(piVar7,local_414,local_410); + local_42c = (int *)(local_410 + (int)piVar7); } local_14._0_1_ = 1; FID_conflict__Tidy(local_444); local_410 = 0; - if ((*(int *)(local_424 + 0x318) == 4) || (*(int *)(local_424 + 0x318) == 5)) { + if ((local_424[0xc6] == 4) || (local_424[0xc6] == 5)) { switch(*in_ECX) { case 1: case 2: @@ -473513,14 +474258,14 @@ void Level::generate_backwards(void) } } switchD_0074313d_default: - sVar3 = local_410; + sVar2 = local_410; if ((uint)((int)local_42c - (int)local_41c >> 2) < 0x14) { local_420 = (Game *)0xf; local_414 = (int *)0x0; - uVar6 = RoomConfig::CollectRooms + uVar5 = RoomConfig::CollectRooms (local_450,0x24,1,0xd,0,0xffffffff,1,0xf,&local_414,0xffffffff,0xffffffff); local_14._0_1_ = 3; - std::vector::assign(uVar6); + std::vector::assign(uVar5); local_14._0_1_ = 1; FID_conflict__Tidy(local_450); local_41c = local_430; @@ -473539,23 +474284,23 @@ switchD_0074313d_default: local_5c[9] = 0; local_5c[10] = 0; local_5c[0xb] = 0; - for (piVar8 = local_41c; piVar8 != local_42c; piVar8 = piVar8 + 1) { - if (*(int *)(*piVar8 + 0x10) == sVar3) { - local_5c[*(int *)(*piVar8 + 0x48)] = local_5c[*(int *)(*piVar8 + 0x48)] + 1; + for (piVar7 = local_41c; piVar7 != local_42c; piVar7 = piVar7 + 1) { + if (*(int *)(*piVar7 + 0x10) == sVar2) { + local_5c[*(int *)(*piVar7 + 0x48)] = local_5c[*(int *)(*piVar7 + 0x48)] + 1; } } - uVar4 = 0; + uVar3 = 0; do { - if (0 < local_5c[uVar4]) { - if (0xc < uVar4) { + if (0 < local_5c[uVar3]) { + if (0xc < uVar3) { /* WARNING: Subroutine does not return */ std::bitset::_Xran(); } - puVar1 = (uint *)((int)local_408 + (uVar4 >> 5) * 4 + -0xc); - *puVar1 = *puVar1 | 1 << ((byte)uVar4 & 0x1f); + local_408[0]._doors[(uVar3 >> 5) - 10] = + local_408[0]._doors[(uVar3 >> 5) - 10] | 1 << ((byte)uVar3 & 0x1f); } - uVar4 = uVar4 + 1; - } while (uVar4 < 0xd); + uVar3 = uVar3 + 1; + } while (uVar3 < 0xd); in_ECX[0x60b4] = 0x54; local_409 = 1; /* WARNING: Subroutine does not return */ @@ -473563,17 +474308,18 @@ switchD_0074313d_default: } -//@@ 00743550 FUN_00743550 +//@@ 00743550 Level::generate_greed /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? the greed generator per the round 7 agent that renamed 0073e0a0 Level::load_room Level::load_room */ -void FUN_00743550(void) +void Level::generate_greed(void) { RNG *this; char cVar1; uint uVar2; - RNG RVar3; + uint uVar3; int iVar4; int iVar5; int iVar6; @@ -473594,7 +474340,7 @@ void FUN_00743550(void) RoomConfig *this_00; undefined4 uVar13; int *piVar14; - RNG *pRVar15; + uint *puVar15; int *unaff_FS_OFFSET; undefined4 uVar16; RoomConfig_Room *pRVar17; @@ -473636,16 +474382,16 @@ void FUN_00743550(void) local_14 = uVar2; if (*in_ECX < 7) { local_3c4 = (RoomConfig_Room *)RoomConfig::GetStageID(0xffffffff); - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar3 = this->_seed; + if (uVar3 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar2); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; - uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; - RoomDescriptor::Init(aRStack_3ac,RVar3); + uVar3 = uVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar3; + uVar3 = uVar3 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar3; + uVar3 = uVar3 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar3; + this->_seed = uVar3; + RoomDescriptor::Init(aRStack_3ac,uVar3); uStack_8 = 0; if ((uint)((iStack_40 - iStack_48) / 0x48) < 7) { vector_LevelGenerator_Room_reserve(7); @@ -473664,32 +474410,31 @@ void FUN_00743550(void) pRStack_3c0 = (RoomConfig_Room *) LevelGenerator::CreateRoom((LevelGenerator *)aRStack_3ac,6,8,1,6,8,3); iStack_3b8 = LevelGenerator::try_add_dead_end(extraout_ECX,0); - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2; + this->_seed = uVar2; pRVar7 = RoomConfig::GetRandomRoom - (local_3b4,(uint)RVar3,1,(int)local_3c4,1,4,0,-1,1,10,(uint *)(iVar4 + 0x1c), + (local_3b4,uVar2,1,(int)local_3c4,1,4,0,-1,1,10,(uint *)(iVar4 + 0x1c), 0xffffffff,-1); - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); + uVar2 = uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2; uVar22 = 0xffffffff; uVar21 = 0; - *this = RVar3; + this->_seed = uVar2; pRVar8 = RoomConfig::GetRandomRoom - (local_3b4,(uint)RVar3,1,0,2,6,0,-1,1,10,(uint *)(iVar5 + 0x1c),0xffffffff,-1 - ); + (local_3b4,uVar2,1,0,2,6,0,-1,1,10,(uint *)(iVar5 + 0x1c),0xffffffff,-1); uStack_3e0 = 0; uStack_3e4 = 0; if (*in_ECX != 6) { @@ -473762,41 +474507,40 @@ void FUN_00743550(void) (uVar2,uVar16,pRVar17,uVar18,uVar19,uVar20,uVar21,uVar22,uVar23,uVar24, iVar10,uVar13,uVar12); } - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2; + this->_seed = uVar2; local_3c4 = RoomConfig::GetRandomRoom - (local_3b4,(uint)RVar3,1,0,10,1,0,-1,1,10,(uint *)(iVar6 + 0x1c), - 0xffffffff,-1); - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + (local_3b4,uVar2,1,0,10,1,0,-1,1,10,(uint *)(iVar6 + 0x1c),0xffffffff,-1); + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2; + this->_seed = uVar2; pRStack_3c8 = RoomConfig::GetRandomRoom - (local_3b4,(uint)RVar3,1,0,0x17,1,0,-1,1,10, - (uint *)&pRStack_3c0->field_0x1c,0xffffffff,-1); - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + (local_3b4,uVar2,1,0,0x17,1,0,-1,1,10,(uint *)&pRStack_3c0->field_0x1c, + 0xffffffff,-1); + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2; + this->_seed = uVar2; pRStack_3b0 = RoomConfig::GetRandomRoom - (local_3b4,(uint)RVar3,1,0,8,1,0,-1,1,10,(uint *)(iStack_3b8 + 0x1c), + (local_3b4,uVar2,1,0,8,1,0,-1,1,10,(uint *)(iStack_3b8 + 0x1c), 0xffffffff,-1); piVar14 = in_ECX + 0x5eb7; for (iVar10 = 0x1fb; iVar10 != 0; iVar10 = iVar10 + -1) { @@ -473805,111 +474549,118 @@ void FUN_00743550(void) } in_ECX[0x60b3] = 0; in_ECX[0x60dc] = 0x55; - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; + iVar10 = in_ECX[0x60b8]; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; - Level::place_room(iVar4,pRVar7,RVar3,in_ECX[0x60b8],0); - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = uVar2 >> ((byte)iVar10 & 0x1f) ^ uVar2; + this->_seed = uVar2; + place_room(iVar4,pRVar7,uVar2,iVar10,0); + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; + iVar4 = in_ECX[0x60b8]; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; - Level::place_room(iVar5,pRVar8,RVar3,in_ECX[0x60b8],0); + uVar2 = uVar2 >> ((byte)iVar4 & 0x1f) ^ uVar2; + this->_seed = uVar2; + place_room(iVar5,pRVar8,uVar2,iVar4,0); if (iStack_3cc != 0) { - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; + iVar4 = in_ECX[0x60b8]; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; - Level::place_room(iStack_3cc,uStack_3e0,RVar3,in_ECX[0x60b8],0); + uVar2 = uVar2 >> ((byte)iVar4 & 0x1f) ^ uVar2; + this->_seed = uVar2; + place_room(iStack_3cc,uStack_3e0,uVar2,iVar4,0); } if (uStack_3bc != 0) { - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; + iVar4 = in_ECX[0x60b8]; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; - Level::place_room(uStack_3bc,uStack_3e4,RVar3,in_ECX[0x60b8],0); + uVar2 = uVar2 >> ((byte)iVar4 & 0x1f) ^ uVar2; + this->_seed = uVar2; + place_room(uStack_3bc,uStack_3e4,uVar2,iVar4,0); } - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; + iVar4 = in_ECX[0x60b8]; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; - Level::place_room(iVar6,local_3c4,RVar3,in_ECX[0x60b8],0); - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = uVar2 >> ((byte)iVar4 & 0x1f) ^ uVar2; + this->_seed = uVar2; + place_room(iVar6,local_3c4,uVar2,iVar4,0); + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; + iVar4 = in_ECX[0x60b8]; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; - Level::place_room(pRStack_3c0,pRStack_3c8,RVar3,in_ECX[0x60b8],0); + uVar2 = uVar2 >> ((byte)iVar4 & 0x1f) ^ uVar2; + this->_seed = uVar2; + place_room(pRStack_3c0,pRStack_3c8,uVar2,iVar4,0); if (iStack_3b8 != 0) { - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; + iVar4 = in_ECX[0x60b8]; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; - Level::place_room(iStack_3b8,pRStack_3b0,RVar3,in_ECX[0x60b8],0); + uVar2 = uVar2 >> ((byte)iVar4 & 0x1f) ^ uVar2; + this->_seed = uVar2; + place_room(iStack_3b8,pRStack_3b0,uVar2,iVar4,0); } - pRVar15 = (RNG *)(in_ECX + 0x60ce); + puVar15 = (uint *)(in_ECX + 0x60ce); iStack_3b8 = 0xc; do { - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; - *pRVar15 = RVar3; - pRVar15 = pRVar15 + 1; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2; + this->_seed = uVar2; + *puVar15 = uVar2; + puVar15 = puVar15 + 1; iStack_3b8 = iStack_3b8 + -1; } while (iStack_3b8 != 0); iStack_3b8 = 0; } else { - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar3 = this->_seed; + if (uVar3 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar2); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; - uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; - RoomDescriptor::Init(aRStack_3ac,RVar3); + uVar3 = uVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar3; + uVar3 = uVar3 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar3; + uVar3 = uVar3 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar3; + this->_seed = uVar3; + RoomDescriptor::Init(aRStack_3ac,uVar3); uStack_8 = 1; if ((uint)((iStack_40 - iStack_48) / 0x48) < 3) { vector_LevelGenerator_Room_reserve(3); @@ -473920,18 +474671,18 @@ void FUN_00743550(void) pRStack_3b0 = (RoomConfig_Room *) LevelGenerator::CreateRoom((LevelGenerator *)aRStack_3ac,6,3,4,6,4,1); pRStack_3c8 = RoomConfig::GetRoomByStageTypeAndVariant(this_00,0x19,1,0,-1); - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2; + this->_seed = uVar2; pRVar8 = RoomConfig::GetRandomRoom - (local_3b4,(uint)RVar3,1,0x19,5,1,0,999,1,10,(uint *)(iStack_3b8 + 0x1c), - 0xffffffff,-1); + (local_3b4,uVar2,1,0x19,5,1,0,999,1,10,(uint *)(iStack_3b8 + 0x1c),0xffffffff + ,-1); pRStack_3c0 = RoomConfig::GetRoomByStageTypeAndVariant(local_3b4,0x19,5,1000,-1); pRVar7 = pRStack_3b0; piVar14 = in_ECX + 0x5eb7; @@ -473941,36 +474692,39 @@ void FUN_00743550(void) } in_ECX[0x60b3] = 0; in_ECX[0x60c5] = pRStack_3b0->Mode; - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; + iVar4 = in_ECX[0x60b8]; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; - Level::place_room(uVar21,pRStack_3c8,RVar3,in_ECX[0x60b8],0); - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = uVar2 >> ((byte)iVar4 & 0x1f) ^ uVar2; + this->_seed = uVar2; + place_room(uVar21,pRStack_3c8,uVar2,iVar4,0); + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; + iVar4 = in_ECX[0x60b8]; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; - Level::place_room(iStack_3b8,pRVar8,RVar3,in_ECX[0x60b8],0); - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = uVar2 >> ((byte)iVar4 & 0x1f) ^ uVar2; + this->_seed = uVar2; + place_room(iStack_3b8,pRVar8,uVar2,iVar4,0); + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; + iVar4 = in_ECX[0x60b8]; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; - Level::place_room(pRVar7,pRStack_3c0,RVar3,in_ECX[0x60b8],0); + uVar2 = uVar2 >> ((byte)iVar4 & 0x1f) ^ uVar2; + this->_seed = uVar2; + place_room(pRVar7,pRStack_3c0,uVar2,iVar4,0); } uStack_8 = 0xffffffff; FID_conflict__Tidy(auStack_30); @@ -473986,19 +474740,18 @@ void FUN_00743550(void) _Init_thread_footer(&g_invalidRoomDescriptorGuard); } Seeds::Init3(this); - RVar3 = *this; + uVar2 = this->_seed; pRStack_3b0 = (RoomConfig_Room *)0x0; - if (RVar3 == (RNG)0x0) { + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2; + this->_seed = uVar2; pRStack_3b0 = RoomConfig::GetRandomRoom - (local_3b4,(uint)RVar3,1,0,3,0xd,0,-1,1,10,(uint *)&pRStack_3b0,0xffffffff - ,0); + (local_3b4,uVar2,1,0,3,0xd,0,-1,1,10,(uint *)&pRStack_3b0,0xffffffff,0); iVar4 = *piVar14; if (*(int *)(iVar4 + 0xc) < g_invalidRoomDescriptorGuard) { _Init_thread_header(&g_invalidRoomDescriptorGuard); @@ -474025,19 +474778,19 @@ void FUN_00743550(void) _Init_thread_footer(&g_invalidRoomDescriptorGuard); } Seeds::Init3(this); - RVar3 = *this; + uVar2 = this->_seed; pRStack_3b0 = (RoomConfig_Room *)0x0; - if (RVar3 == (RNG)0x0) { + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2; + this->_seed = uVar2; pRStack_3b0 = RoomConfig::GetRandomRoom - (local_3b4,(uint)RVar3,1,0,0x16,0xd,0,-1,1,10,(uint *)&pRStack_3b0, - 0xffffffff,0); + (local_3b4,uVar2,1,0,0x16,0xd,0,-1,1,10,(uint *)&pRStack_3b0,0xffffffff,0) + ; iVar4 = *piVar14; if (*(int *)(iVar4 + 0xc) < g_invalidRoomDescriptorGuard) { _Init_thread_header(&g_invalidRoomDescriptorGuard); @@ -474064,19 +474817,19 @@ void FUN_00743550(void) _Init_thread_footer(&g_invalidRoomDescriptorGuard); } Seeds::Init3(this); - RVar3 = *this; + uVar2 = this->_seed; pRStack_3b0 = (RoomConfig_Room *)0x0; - if (RVar3 == (RNG)0x0) { + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2; + this->_seed = uVar2; pRStack_3b0 = RoomConfig::GetRandomRoom - (local_3b4,(uint)RVar3,1,0,0x10,0xd,0,-1,1,10,(uint *)&pRStack_3b0, - 0xffffffff,0); + (local_3b4,uVar2,1,0,0x10,0xd,0,-1,1,10,(uint *)&pRStack_3b0,0xffffffff,0) + ; if ((*(int *)(*piVar14 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { uStack_8 = 7; @@ -474111,21 +474864,21 @@ void FUN_00743550(void) (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))) { uStack_3bc = uStack_3bc + 1; } - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); + uVar2 = uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2; iStack_3b8 = 0x1a; - *this = RVar3; - if (RVar3 == (RNG)0x0) { + this->_seed = uVar2; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> 3 ^ (uint)RVar3; + uVar2 = uVar2 >> 3 ^ uVar2; uVar2 = uVar2 << 3 ^ uVar2; uVar2 = uVar2 >> 0x1a ^ uVar2; pRStack_3b0 = (RoomConfig_Room *)(uVar2 % uStack_3bc); @@ -474147,18 +474900,18 @@ void FUN_00743550(void) _Init_thread_footer(&g_invalidRoomDescriptorGuard); } Seeds::Init3(this); - RVar3 = *this; + uVar2 = this->_seed; pRStack_3c8 = (RoomConfig_Room *)0x0; - if (RVar3 == (RNG)0x0) { + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2; + this->_seed = uVar2; pRStack_3b0 = RoomConfig::GetRandomRoom - (local_3b4,(uint)RVar3,1,0,2,0xd,0,-1,1,10,(uint *)&pRStack_3c8, + (local_3b4,uVar2,1,0,2,0xd,0,-1,1,10,(uint *)&pRStack_3c8, (uint)pRStack_3b0,0); if ((*(int *)(*piVar14 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { @@ -474173,15 +474926,15 @@ void FUN_00743550(void) ppvVar11 = (void **)(in_ECX + 0x5d4b); } *ppvVar11 = pRStack_3b0; - RVar3 = *this; - if (RVar3 == (RNG)0x0) { + uVar2 = this->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; iVar4 = *piVar14; - *this = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); + this->_seed = uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2; if ((*(int *)(iVar4 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { uStack_8 = 10; @@ -474191,18 +474944,18 @@ void FUN_00743550(void) _Init_thread_footer(&g_invalidRoomDescriptorGuard); } Seeds::Init3(this); - RVar3 = *this; + uVar2 = this->_seed; pRStack_3b0 = (RoomConfig_Room *)0x0; - if (RVar3 == (RNG)0x0) { + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar3 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ (uint)RVar3; + uVar2 = uVar2 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar2; uVar2 = uVar2 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar2; - RVar3 = (RNG)(uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2); - *this = RVar3; - pRVar7 = RoomConfig::GetRandomRoom - (local_3b4,(uint)RVar3,1,0,0xf,0xd,0,-1,1,10,(uint *)&pRStack_3b0,1,0); + uVar2 = uVar2 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar2; + this->_seed = uVar2; + pRVar7 = RoomConfig::GetRandomRoom(local_3b4,uVar2,1,0,0xf,0xd,0,-1,1,10,(uint *)&pRStack_3b0,1,0) + ; if ((*(int *)(*piVar14 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { uStack_8 = 0xb; @@ -474230,314 +474983,307 @@ void FUN_007435c8(void) { byte bVar1; RoomConfig *pRVar2; - RNG RVar3; - code *pcVar4; - Game *pGVar5; - Manager *pMVar6; - void *pvVar7; - char cVar8; - uint uVar9; - int iVar10; - undefined4 uVar11; - RoomConfig_Room *pRVar12; - int iVar13; - undefined4 uVar14; - uint uVar15; - void **ppvVar16; - PlayerManager *pPVar17; + uint roomSubtype; + code *pcVar3; + Game *pGVar4; + Manager *pMVar5; + void *pvVar6; + char cVar7; + uint uVar8; + int iVar9; + undefined4 uVar10; + RoomConfig_Room *pRVar11; + int iVar12; + undefined4 uVar13; + void **ppvVar14; + PlayerManager *pPVar15; int *unaff_EBX; int unaff_EBP; RNG *unaff_ESI; - RNG RVar18; - int *piVar19; - RNG *pRVar20; + int *piVar16; + uint *puVar17; + undefined4 uVar18; + undefined4 uVar19; + undefined4 uVar20; undefined4 uVar21; undefined4 uVar22; undefined4 uVar23; undefined4 uVar24; - undefined4 uVar25; - undefined4 uVar26; - undefined4 uVar27; - RVar18 = *unaff_ESI; - if (RVar18 == (RNG)0x0) { - pcVar4 = (code *)swi(3); - (*pcVar4)(); + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { + pcVar3 = (code *)swi(3); + (*pcVar3)(); return; } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - *unaff_ESI = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; RoomDescriptor::Init((RoomDescriptor *)(unaff_EBP + -0x3a8)); *(undefined4 *)(unaff_EBP + -4) = 0; if ((uint)((*(int *)(unaff_EBP + -0x3c) - *(int *)(unaff_EBP + -0x44)) / 0x48) < 7) { vector_LevelGenerator_Room_reserve(); } - iVar10 = LevelGenerator::CreateRoom((LevelGenerator *)(unaff_EBP + -0x3a8),6,6,4,0xffffffff); - unaff_EBX[0x60c5] = *(int *)(iVar10 + 4); - *(int *)(unaff_EBP + -0x3d4) = iVar10; - uVar11 = LevelGenerator::CreateRoom((LevelGenerator *)(unaff_EBP + -0x3a8),5,5,6,6); - iVar10 = *unaff_EBX; - *(undefined4 *)(unaff_EBP + -0x3d8) = uVar11; + iVar9 = LevelGenerator::CreateRoom((LevelGenerator *)(unaff_EBP + -0x3a8),6,6,4,0xffffffff); + unaff_EBX[0x60c5] = *(int *)(iVar9 + 4); + *(int *)(unaff_EBP + -0x3d4) = iVar9; + uVar10 = LevelGenerator::CreateRoom((LevelGenerator *)(unaff_EBP + -0x3a8),5,5,6,6); + iVar9 = *unaff_EBX; + *(undefined4 *)(unaff_EBP + -0x3d8) = uVar10; *(undefined4 *)(unaff_EBP + -0x3c8) = 0; *(undefined4 *)(unaff_EBP + -0x3b8) = 0; - if (iVar10 != 6) { - uVar11 = LevelGenerator::CreateRoom((LevelGenerator *)(unaff_EBP + -0x3a8),7,7,1,7); - *(undefined4 *)(unaff_EBP + -0x3c8) = uVar11; - uVar11 = LevelGenerator::CreateRoom((LevelGenerator *)(unaff_EBP + -0x3a8),7,6,1,7); - *(undefined4 *)(unaff_EBP + -0x3b8) = uVar11; + if (iVar9 != 6) { + uVar10 = LevelGenerator::CreateRoom((LevelGenerator *)(unaff_EBP + -0x3a8),7,7,1,7); + *(undefined4 *)(unaff_EBP + -0x3c8) = uVar10; + uVar10 = LevelGenerator::CreateRoom((LevelGenerator *)(unaff_EBP + -0x3a8),7,6,1,7); + *(undefined4 *)(unaff_EBP + -0x3b8) = uVar10; } - uVar11 = LevelGenerator::CreateRoom((LevelGenerator *)(unaff_EBP + -0x3a8),5,6,1,5); - *(undefined4 *)(unaff_EBP + -0x3e4) = uVar11; - uVar11 = LevelGenerator::CreateRoom((LevelGenerator *)(unaff_EBP + -0x3a8),6,8,1,6); - *(undefined4 *)(unaff_EBP + -0x3bc) = uVar11; - uVar11 = LevelGenerator::try_add_dead_end(); - RVar18 = *unaff_ESI; - *(undefined4 *)(unaff_EBP + -0x3b4) = uVar11; - if (RVar18 == (RNG)0x0) { + uVar10 = LevelGenerator::CreateRoom((LevelGenerator *)(unaff_EBP + -0x3a8),5,6,1,5); + *(undefined4 *)(unaff_EBP + -0x3e4) = uVar10; + uVar10 = LevelGenerator::CreateRoom((LevelGenerator *)(unaff_EBP + -0x3a8),6,8,1,6); + *(undefined4 *)(unaff_EBP + -0x3bc) = uVar10; + uVar10 = LevelGenerator::try_add_dead_end(); + uVar8 = unaff_ESI->_seed; + *(undefined4 *)(unaff_EBP + -0x3b4) = uVar10; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar10 = *(int *)(unaff_EBP + -0x3d4); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar9 = *(int *)(unaff_EBP + -0x3d4); pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - iVar13 = *(int *)(unaff_EBP + -0x3c0); - *unaff_ESI = RVar18; - pRVar12 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar18,1,iVar13,1,4,0,-1,1,10,(uint *)(iVar10 + 0x1c),0xffffffff - ,-1); - RVar18 = *unaff_ESI; - *(RoomConfig_Room **)(unaff_EBP + -0x3cc) = pRVar12; - if (RVar18 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + iVar12 = *(int *)(unaff_EBP + -0x3c0); + unaff_ESI->_seed = uVar8; + pRVar11 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,iVar12,1,4,0,-1,1,10,(uint *)(iVar9 + 0x1c),0xffffffff,-1); + uVar8 = unaff_ESI->_seed; + *(RoomConfig_Room **)(unaff_EBP + -0x3cc) = pRVar11; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar10 = *(int *)(unaff_EBP + -0x3d8); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar9 = *(int *)(unaff_EBP + -0x3d8); pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar25 = 0xffffffff; - uVar11 = 0; - *unaff_ESI = RVar18; - pRVar12 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar18,1,0,2,6,0,-1,1,10,(uint *)(iVar10 + 0x1c),0xffffffff,-1); - iVar10 = *unaff_EBX; - *(RoomConfig_Room **)(unaff_EBP + -0x3d0) = pRVar12; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar22 = 0xffffffff; + uVar10 = 0; + unaff_ESI->_seed = uVar8; + pRVar11 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,2,6,0,-1,1,10,(uint *)(iVar9 + 0x1c),0xffffffff,-1); + iVar9 = *unaff_EBX; + *(RoomConfig_Room **)(unaff_EBP + -0x3d0) = pRVar11; *(undefined4 *)(unaff_EBP + -0x3dc) = 0; *(undefined4 *)(unaff_EBP + -0x3e0) = 0; - if (iVar10 != 6) { + if (iVar9 != 6) { PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); - iVar13 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x52); - iVar10 = 1; - if (1 < iVar13) { - iVar10 = iVar13; + iVar12 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x52); + iVar9 = 1; + if (1 < iVar12) { + iVar9 = iVar12; } - uVar9 = RNG::RandomInt(unaff_ESI,(uint)(100 / (longlong)iVar10)); - if ((uVar9 < 0xf) && - (cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar8 != '\0')) { + uVar8 = RNG::RandomInt(unaff_ESI,(uint)(100 / (longlong)iVar9)); + if ((uVar8 < 0xf) && + (cVar7 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar7 != '\0')) { PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); } - iVar10 = *(int *)(unaff_EBP + -0x3c8) + 0x1c; - uVar27 = 10; - uVar26 = 1; - uVar24 = 1; - uVar23 = 4; - uVar22 = 0; - uVar14 = *(undefined4 *)(unaff_EBP + -0x3c0); + iVar9 = *(int *)(unaff_EBP + -0x3c8) + 0x1c; + uVar24 = 10; + uVar23 = 1; uVar21 = 1; - uVar9 = RNG::Next(unaff_ESI); - uVar14 = RoomConfig::GetRandomRoomWithFallbackStage - (uVar9,uVar21,uVar14,uVar22,uVar23,uVar24,uVar11,uVar25,uVar26,uVar27,iVar10) - ; - pPVar17 = &g_game->_playerManager; - *(undefined4 *)(unaff_EBP + -0x3dc) = uVar14; - PlayerManager::AnyoneHasTrinket(pPVar17); - iVar13 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x52); - iVar10 = 1; - if (1 < iVar13) { - iVar10 = iVar13; + uVar20 = 4; + uVar19 = 0; + uVar13 = *(undefined4 *)(unaff_EBP + -0x3c0); + uVar18 = 1; + uVar8 = RNG::Next(unaff_ESI); + uVar13 = RoomConfig::GetRandomRoomWithFallbackStage + (uVar8,uVar18,uVar13,uVar19,uVar20,uVar21,uVar10,uVar22,uVar23,uVar24,iVar9); + pPVar15 = &g_game->_playerManager; + *(undefined4 *)(unaff_EBP + -0x3dc) = uVar13; + PlayerManager::AnyoneHasTrinket(pPVar15); + iVar12 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x52); + iVar9 = 1; + if (1 < iVar12) { + iVar9 = iVar12; } - uVar9 = RNG::RandomInt(unaff_ESI,(uint)(100 / (longlong)iVar10)); - if ((uVar9 < 0xf) && - (cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar8 != '\0')) { + uVar8 = RNG::RandomInt(unaff_ESI,(uint)(100 / (longlong)iVar9)); + if ((uVar8 < 0xf) && + (cVar7 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar7 != '\0')) { PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); } - iVar10 = *(int *)(unaff_EBP + -0x3b8) + 0x1c; - uVar27 = 10; - uVar26 = 1; - uVar24 = 1; - uVar23 = 4; - uVar22 = 0; - uVar14 = *(undefined4 *)(unaff_EBP + -0x3c0); + iVar9 = *(int *)(unaff_EBP + -0x3b8) + 0x1c; + uVar24 = 10; + uVar23 = 1; uVar21 = 1; - uVar9 = RNG::Next(unaff_ESI); - uVar11 = RoomConfig::GetRandomRoomWithFallbackStage - (uVar9,uVar21,uVar14,uVar22,uVar23,uVar24,uVar11,uVar25,uVar26,uVar27,iVar10) - ; - *(undefined4 *)(unaff_EBP + -0x3e0) = uVar11; + uVar20 = 4; + uVar19 = 0; + uVar13 = *(undefined4 *)(unaff_EBP + -0x3c0); + uVar18 = 1; + uVar8 = RNG::Next(unaff_ESI); + uVar10 = RoomConfig::GetRandomRoomWithFallbackStage + (uVar8,uVar18,uVar13,uVar19,uVar20,uVar21,uVar10,uVar22,uVar23,uVar24,iVar9); + *(undefined4 *)(unaff_EBP + -0x3e0) = uVar10; } - RVar18 = *unaff_ESI; - if (RVar18 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar10 = *(int *)(unaff_EBP + -0x3e4); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar9 = *(int *)(unaff_EBP + -0x3e4); pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar18; - pRVar12 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar18,1,0,10,1,0,-1,1,10,(uint *)(iVar10 + 0x1c),0xffffffff,-1) - ; - RVar18 = *unaff_ESI; - *(RoomConfig_Room **)(unaff_EBP + -0x3c0) = pRVar12; - if (RVar18 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar11 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,10,1,0,-1,1,10,(uint *)(iVar9 + 0x1c),0xffffffff,-1); + uVar8 = unaff_ESI->_seed; + *(RoomConfig_Room **)(unaff_EBP + -0x3c0) = pRVar11; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar10 = *(int *)(unaff_EBP + -0x3bc); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar9 = *(int *)(unaff_EBP + -0x3bc); pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar18; - pRVar12 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar18,1,0,0x17,1,0,-1,1,10,(uint *)(iVar10 + 0x1c),0xffffffff, - -1); - RVar18 = *unaff_ESI; - *(RoomConfig_Room **)(unaff_EBP + -0x3c4) = pRVar12; - if (RVar18 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar11 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,0x17,1,0,-1,1,10,(uint *)(iVar9 + 0x1c),0xffffffff,-1); + uVar8 = unaff_ESI->_seed; + *(RoomConfig_Room **)(unaff_EBP + -0x3c4) = pRVar11; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar10 = *(int *)(unaff_EBP + -0x3b4); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar9 = *(int *)(unaff_EBP + -0x3b4); pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar18; - pRVar12 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar18,1,0,8,1,0,-1,1,10,(uint *)(iVar10 + 0x1c),0xffffffff,-1); - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar12; - piVar19 = unaff_EBX + 0x5eb7; - for (iVar10 = 0x1fb; iVar10 != 0; iVar10 = iVar10 + -1) { - *piVar19 = -1; - piVar19 = piVar19 + 1; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar11 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,8,1,0,-1,1,10,(uint *)(iVar9 + 0x1c),0xffffffff,-1); + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar11; + piVar16 = unaff_EBX + 0x5eb7; + for (iVar9 = 0x1fb; iVar9 != 0; iVar9 = iVar9 + -1) { + *piVar16 = -1; + piVar16 = piVar16 + 1; } unaff_EBX[0x60b3] = 0; unaff_EBX[0x60dc] = 0x55; - RVar18 = *unaff_ESI; - if (RVar18 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar11 = *(undefined4 *)(unaff_EBP + -0x3cc); - *unaff_ESI = RVar18; - Level::place_room(*(undefined4 *)(unaff_EBP + -0x3d4),uVar11,RVar18); - RVar18 = *unaff_ESI; - if (RVar18 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar10 = *(undefined4 *)(unaff_EBP + -0x3cc); + unaff_ESI->_seed = uVar8; + Level::place_room(*(undefined4 *)(unaff_EBP + -0x3d4),uVar10,uVar8); + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar11 = *(undefined4 *)(unaff_EBP + -0x3d0); - *unaff_ESI = RVar18; - Level::place_room(*(undefined4 *)(unaff_EBP + -0x3d8),uVar11,RVar18); - iVar10 = *(int *)(unaff_EBP + -0x3c8); - if (iVar10 != 0) { - RVar18 = *unaff_ESI; - if (RVar18 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar10 = *(undefined4 *)(unaff_EBP + -0x3d0); + unaff_ESI->_seed = uVar8; + Level::place_room(*(undefined4 *)(unaff_EBP + -0x3d8),uVar10,uVar8); + iVar9 = *(int *)(unaff_EBP + -0x3c8); + if (iVar9 != 0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar11 = *(undefined4 *)(unaff_EBP + -0x3dc); - *unaff_ESI = RVar18; - Level::place_room(iVar10,uVar11,RVar18); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar10 = *(undefined4 *)(unaff_EBP + -0x3dc); + unaff_ESI->_seed = uVar8; + Level::place_room(iVar9,uVar10,uVar8); } - iVar10 = *(int *)(unaff_EBP + -0x3b8); - if (iVar10 != 0) { - RVar18 = *unaff_ESI; - if (RVar18 == (RNG)0x0) { + iVar9 = *(int *)(unaff_EBP + -0x3b8); + if (iVar9 != 0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar11 = *(undefined4 *)(unaff_EBP + -0x3e0); - *unaff_ESI = RVar18; - Level::place_room(iVar10,uVar11,RVar18); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar10 = *(undefined4 *)(unaff_EBP + -0x3e0); + unaff_ESI->_seed = uVar8; + Level::place_room(iVar9,uVar10,uVar8); } - RVar18 = *unaff_ESI; - if (RVar18 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar11 = *(undefined4 *)(unaff_EBP + -0x3c0); - *unaff_ESI = RVar18; - Level::place_room(*(undefined4 *)(unaff_EBP + -0x3e4),uVar11,RVar18); - RVar18 = *unaff_ESI; - if (RVar18 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar10 = *(undefined4 *)(unaff_EBP + -0x3c0); + unaff_ESI->_seed = uVar8; + Level::place_room(*(undefined4 *)(unaff_EBP + -0x3e4),uVar10,uVar8); + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar11 = *(undefined4 *)(unaff_EBP + -0x3c4); - *unaff_ESI = RVar18; - Level::place_room(*(undefined4 *)(unaff_EBP + -0x3bc),uVar11,RVar18); - iVar10 = *(int *)(unaff_EBP + -0x3b4); - if (iVar10 != 0) { - RVar18 = *unaff_ESI; - if (RVar18 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar10 = *(undefined4 *)(unaff_EBP + -0x3c4); + unaff_ESI->_seed = uVar8; + Level::place_room(*(undefined4 *)(unaff_EBP + -0x3bc),uVar10,uVar8); + iVar9 = *(int *)(unaff_EBP + -0x3b4); + if (iVar9 != 0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar11 = *(undefined4 *)(unaff_EBP + -0x3ac); - *unaff_ESI = RVar18; - Level::place_room(iVar10,uVar11,RVar18); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar10 = *(undefined4 *)(unaff_EBP + -0x3ac); + unaff_ESI->_seed = uVar8; + Level::place_room(iVar9,uVar10,uVar8); } - pRVar20 = (RNG *)(unaff_EBX + 0x60ce); + puVar17 = (uint *)(unaff_EBX + 0x60ce); *(undefined4 *)(unaff_EBP + -0x3b4) = 0xc; do { - RVar18 = *unaff_ESI; - if (RVar18 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar18; - *pRVar20 = RVar18; - pRVar20 = pRVar20 + 1; - piVar19 = (int *)(unaff_EBP + -0x3b4); - *piVar19 = *piVar19 + -1; - } while (*piVar19 != 0); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + *puVar17 = uVar8; + puVar17 = puVar17 + 1; + piVar16 = (int *)(unaff_EBP + -0x3b4); + *piVar16 = *piVar16 + -1; + } while (*piVar16 != 0); *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; FID_conflict__Tidy((void *)(unaff_EBP + -0x2c)); FID_conflict__Tidy((void *)(unaff_EBP + -0x38)); vector_LevelGenerator_Room_tidy(); - pvVar7 = ThreadLocalStoragePointer; + pvVar6 = ThreadLocalStoragePointer; if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 2; @@ -474547,24 +475293,23 @@ void FUN_007435c8(void) _Init_thread_footer(); } Seeds::Init3(); - RVar18 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3ac) = 0; - if (RVar18 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar18; - pRVar12 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar18,1,0,3,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac), - 0xffffffff,0); - iVar13 = g_invalidRoomDescriptorGuard; - iVar10 = *(int *)pvVar7; - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar12; - if (*(int *)(iVar10 + 0xc) < iVar13) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar11 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,3,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),0xffffffff,0); + iVar12 = g_invalidRoomDescriptorGuard; + iVar9 = *(int *)pvVar6; + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar11; + if (*(int *)(iVar9 + 0xc) < iVar12) { _Init_thread_header(); if (g_invalidRoomDescriptorGuard == -1) { *(undefined4 *)(unaff_EBP + -4) = 3; @@ -474573,14 +475318,14 @@ void FUN_007435c8(void) *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; _Init_thread_footer(); } - iVar10 = *(int *)pvVar7; + iVar9 = *(int *)pvVar6; } - ppvVar16 = &g_roomDescriptorDummy.Data; + ppvVar14 = &g_roomDescriptorDummy.Data; if ((uint)unaff_EBX[0x60c3] < 3) { - ppvVar16 = (void **)(unaff_EBX + 0x5b51); + ppvVar14 = (void **)(unaff_EBX + 0x5b51); } - *ppvVar16 = *(void **)(unaff_EBP + -0x3ac); - if ((*(int *)(iVar10 + 0xc) < g_invalidRoomDescriptorGuard) && + *ppvVar14 = *(void **)(unaff_EBP + -0x3ac); + if ((*(int *)(iVar9 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 4; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -474589,24 +475334,24 @@ void FUN_007435c8(void) _Init_thread_footer(); } Seeds::Init3(); - RVar18 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3ac) = 0; - if (RVar18 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar18; - pRVar12 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar18,1,0,0x16,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac), - 0xffffffff,0); - iVar13 = g_invalidRoomDescriptorGuard; - iVar10 = *(int *)pvVar7; - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar12; - if (*(int *)(iVar10 + 0xc) < iVar13) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar11 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,0x16,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),0xffffffff,0 + ); + iVar12 = g_invalidRoomDescriptorGuard; + iVar9 = *(int *)pvVar6; + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar11; + if (*(int *)(iVar9 + 0xc) < iVar12) { _Init_thread_header(); if (g_invalidRoomDescriptorGuard == -1) { *(undefined4 *)(unaff_EBP + -4) = 5; @@ -474615,14 +475360,14 @@ void FUN_007435c8(void) *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; _Init_thread_footer(); } - iVar10 = *(int *)pvVar7; + iVar9 = *(int *)pvVar6; } - ppvVar16 = &g_roomDescriptorDummy.Data; + ppvVar14 = &g_roomDescriptorDummy.Data; if ((uint)unaff_EBX[0x60c3] < 3) { - ppvVar16 = (void **)(unaff_EBX + 0x5c09); + ppvVar14 = (void **)(unaff_EBX + 0x5c09); } - *ppvVar16 = *(void **)(unaff_EBP + -0x3ac); - if ((*(int *)(iVar10 + 0xc) < g_invalidRoomDescriptorGuard) && + *ppvVar14 = *(void **)(unaff_EBP + -0x3ac); + if ((*(int *)(iVar9 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 6; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -474631,24 +475376,24 @@ void FUN_007435c8(void) _Init_thread_footer(); } Seeds::Init3(); - RVar18 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3ac) = 0; - if (RVar18 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar18; - pRVar12 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar18,1,0,0x10,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac), - 0xffffffff,0); - iVar13 = g_invalidRoomDescriptorGuard; - iVar10 = *(int *)pvVar7; - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar12; - if ((*(int *)(iVar10 + 0xc) < iVar13) && + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar11 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,0x10,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),0xffffffff,0 + ); + iVar12 = g_invalidRoomDescriptorGuard; + iVar9 = *(int *)pvVar6; + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar11; + if ((*(int *)(iVar9 + 0xc) < iVar12) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 7; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -474656,70 +475401,70 @@ void FUN_007435c8(void) *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; _Init_thread_footer(); } - ppvVar16 = &g_roomDescriptorDummy.Data; + ppvVar14 = &g_roomDescriptorDummy.Data; if ((uint)unaff_EBX[0x60c3] < 3) { - ppvVar16 = (void **)(unaff_EBX + 0x5bad); + ppvVar14 = (void **)(unaff_EBX + 0x5bad); } - *ppvVar16 = *(void **)(unaff_EBP + -0x3ac); - pMVar6 = g_manager; - pGVar5 = g_game; + *ppvVar14 = *(void **)(unaff_EBP + -0x3ac); + pMVar5 = g_manager; + pGVar4 = g_game; if (((g_manager->_persistentGameData)._achievements[0x98] == 0) && (((g_manager->_state != 2 || (g_game == (Game *)0x0)) || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))) { - iVar10 = 1; + iVar9 = 1; } else { - iVar10 = 2; + iVar9 = 2; } bVar1 = (g_manager->_persistentGameData)._achievements[0x99]; - *(int *)(unaff_EBP + -0x3b8) = iVar10; + *(int *)(unaff_EBP + -0x3b8) = iVar9; if ((bVar1 == 0) && - (((pMVar6->_state != 2 || (pGVar5 == (Game *)0x0)) || - (((pGVar5->_dailyChallenge)._id == 0 && (pGVar5->_isDebug == 0)))))) { + (((pMVar5->_state != 2 || (pGVar4 == (Game *)0x0)) || + (((pGVar4->_dailyChallenge)._id == 0 && (pGVar4->_isDebug == 0)))))) { *(undefined4 *)(unaff_EBP + -0x3bc) = 1; } else { *(undefined4 *)(unaff_EBP + -0x3bc) = 2; } - if (((pMVar6->_persistentGameData)._achievements[0x9a] != 0) || - (((pMVar6->_state == 2 && (pGVar5 != (Game *)0x0)) && - (((pGVar5->_dailyChallenge)._id != 0 || (pGVar5->_isDebug != 0)))))) { - *(int *)(unaff_EBP + -0x3b8) = iVar10 + 1; + if (((pMVar5->_persistentGameData)._achievements[0x9a] != 0) || + (((pMVar5->_state == 2 && (pGVar4 != (Game *)0x0)) && + (((pGVar4->_dailyChallenge)._id != 0 || (pGVar4->_isDebug != 0)))))) { + *(int *)(unaff_EBP + -0x3b8) = iVar9 + 1; } - RVar18 = *unaff_ESI; - if (RVar18 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - RVar3 = unaff_ESI[2]; - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; + iVar9 = unaff_ESI->_shift2; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; *(undefined8 *)(unaff_EBP + -0x3f0) = 0x300000003; - uVar9 = uVar9 << (RVar3._0_1_ & 0x1f) ^ uVar9; - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); + uVar8 = uVar8 << ((byte)iVar9 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; *(undefined4 *)(unaff_EBP + -0x3b4) = 0x1a; - *unaff_ESI = RVar18; - if (RVar18 == (RNG)0x0) { + unaff_ESI->_seed = uVar8; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3f0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << ((byte)*(undefined4 *)(unaff_EBP + -0x3ec) & 0x1f) ^ uVar9; - uVar9 = uVar9 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3b4) & 0x1f) ^ uVar9; - *(uint *)(unaff_EBP + -0x3ac) = uVar9 % *(uint *)(unaff_EBP + -0x3b8); - pvVar7 = ThreadLocalStoragePointer; - iVar10 = g_invalidRoomDescriptorGuard; - if (uVar9 == 0) { + uVar8 = uVar8 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3f0) & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)*(undefined4 *)(unaff_EBP + -0x3ec) & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3b4) & 0x1f) ^ uVar8; + *(uint *)(unaff_EBP + -0x3ac) = uVar8 % *(uint *)(unaff_EBP + -0x3b8); + pvVar6 = ThreadLocalStoragePointer; + iVar9 = g_invalidRoomDescriptorGuard; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = uVar9 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3f0) & 0x1f) ^ uVar9; - uVar9 = uVar9 << ((byte)*(undefined4 *)(unaff_EBP + -0x3ec) & 0x1f) ^ uVar9; - iVar13 = *(int *)ThreadLocalStoragePointer; + uVar8 = uVar8 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3f0) & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)*(undefined4 *)(unaff_EBP + -0x3ec) & 0x1f) ^ uVar8; + iVar12 = *(int *)ThreadLocalStoragePointer; *(int *)(unaff_EBP + -0x3ac) = *(int *)(unaff_EBP + -0x3ac) + - (uVar9 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3b4) & 0x1f) ^ uVar9) % + (uVar8 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3b4) & 0x1f) ^ uVar8) % *(uint *)(unaff_EBP + -0x3bc); - if ((*(int *)(iVar13 + 0xc) < iVar10) && + if ((*(int *)(iVar12 + 0xc) < iVar9) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 8; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -474728,25 +475473,24 @@ void FUN_007435c8(void) _Init_thread_footer(); } Seeds::Init3(); - RVar18 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3c4) = 0; - if (RVar18 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar15 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = *(uint *)(unaff_EBP + -0x3ac); - uVar15 = uVar15 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar15; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + roomSubtype = *(uint *)(unaff_EBP + -0x3ac); + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar18 = (RNG)(uVar15 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar15); - *unaff_ESI = RVar18; - pRVar12 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar18,1,0,2,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3c4),uVar9,0) - ; - iVar13 = g_invalidRoomDescriptorGuard; - iVar10 = *(int *)pvVar7; - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar12; - if ((*(int *)(iVar10 + 0xc) < iVar13) && + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar11 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,2,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3c4),roomSubtype,0); + iVar12 = g_invalidRoomDescriptorGuard; + iVar9 = *(int *)pvVar6; + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar11; + if ((*(int *)(iVar9 + 0xc) < iVar12) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 9; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -474754,21 +475498,21 @@ void FUN_007435c8(void) *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; _Init_thread_footer(); } - ppvVar16 = &g_roomDescriptorDummy.Data; + ppvVar14 = &g_roomDescriptorDummy.Data; if ((uint)unaff_EBX[0x60c3] < 3) { - ppvVar16 = (void **)(unaff_EBX + 0x5d4b); + ppvVar14 = (void **)(unaff_EBX + 0x5d4b); } - *ppvVar16 = *(void **)(unaff_EBP + -0x3ac); - RVar18 = *unaff_ESI; - if (RVar18 == (RNG)0x0) { + *ppvVar14 = *(void **)(unaff_EBP + -0x3ac); + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar10 = *(int *)pvVar7; - *unaff_ESI = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - if ((*(int *)(iVar10 + 0xc) < g_invalidRoomDescriptorGuard) && + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar9 = *(int *)pvVar6; + unaff_ESI->_seed = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + if ((*(int *)(iVar9 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 10; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -474777,20 +475521,20 @@ void FUN_007435c8(void) _Init_thread_footer(); } Seeds::Init3(); - RVar18 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3ac) = 0; - if (RVar18 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar18 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar18; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar18 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar18; - pRVar12 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar18,1,0,0xf,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),1,0); - if ((*(int *)(*(int *)pvVar7 + 0xc) < g_invalidRoomDescriptorGuard) && + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar11 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,0xf,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),1,0); + if ((*(int *)(*(int *)pvVar6 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 0xb; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -474798,10 +475542,10 @@ void FUN_007435c8(void) _Init_thread_footer(); } if ((uint)unaff_EBX[0x60c3] < 3) { - unaff_EBX[0x5e31] = (int)pRVar12; + unaff_EBX[0x5e31] = (int)pRVar11; } else { - g_roomDescriptorDummy.Data = pRVar12; + g_roomDescriptorDummy.Data = pRVar11; } ExceptionList = *(void **)(unaff_EBP + -0xc); return; @@ -474817,281 +475561,276 @@ void FUN_0074371e(void) { byte bVar1; RoomConfig *pRVar2; - RNG RVar3; - code *pcVar4; - Game *pGVar5; - Manager *pMVar6; - void *pvVar7; - char cVar8; - uint uVar9; - RoomConfig_Room *pRVar10; + uint roomSubtype; + code *pcVar3; + Game *pGVar4; + Manager *pMVar5; + void *pvVar6; + char cVar7; + uint uVar8; + RoomConfig_Room *pRVar9; + int iVar10; int iVar11; - int iVar12; - undefined4 uVar13; - uint uVar14; - void **ppvVar15; - PlayerManager *pPVar16; + undefined4 uVar12; + void **ppvVar13; + PlayerManager *pPVar14; int *unaff_EBX; int unaff_EBP; RNG *unaff_ESI; - RNG RVar17; - int *piVar18; - RNG *pRVar19; + int *piVar15; + uint *puVar16; + undefined4 uVar17; + undefined4 uVar18; + undefined4 uVar19; undefined4 uVar20; undefined4 uVar21; undefined4 uVar22; undefined4 uVar23; undefined4 uVar24; - undefined4 uVar25; - undefined4 uVar26; - undefined4 uVar27; - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { - pcVar4 = (code *)swi(3); - (*pcVar4)(); + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { + pcVar3 = (code *)swi(3); + (*pcVar3)(); return; } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar12 = *(int *)(unaff_EBP + -0x3d4); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar11 = *(int *)(unaff_EBP + -0x3d4); pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - iVar11 = *(int *)(unaff_EBP + -0x3c0); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,iVar11,1,4,0,-1,1,10,(uint *)(iVar12 + 0x1c),0xffffffff - ,-1); - RVar17 = *unaff_ESI; - *(RoomConfig_Room **)(unaff_EBP + -0x3cc) = pRVar10; - if (RVar17 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + iVar10 = *(int *)(unaff_EBP + -0x3c0); + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,iVar10,1,4,0,-1,1,10,(uint *)(iVar11 + 0x1c),0xffffffff,-1); + uVar8 = unaff_ESI->_seed; + *(RoomConfig_Room **)(unaff_EBP + -0x3cc) = pRVar9; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar12 = *(int *)(unaff_EBP + -0x3d8); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar11 = *(int *)(unaff_EBP + -0x3d8); pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar25 = 0xffffffff; - uVar24 = 0; - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,2,6,0,-1,1,10,(uint *)(iVar12 + 0x1c),0xffffffff,-1); - iVar12 = *unaff_EBX; - *(RoomConfig_Room **)(unaff_EBP + -0x3d0) = pRVar10; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar22 = 0xffffffff; + uVar21 = 0; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,2,6,0,-1,1,10,(uint *)(iVar11 + 0x1c),0xffffffff,-1); + iVar11 = *unaff_EBX; + *(RoomConfig_Room **)(unaff_EBP + -0x3d0) = pRVar9; *(undefined4 *)(unaff_EBP + -0x3dc) = 0; *(undefined4 *)(unaff_EBP + -0x3e0) = 0; - if (iVar12 != 6) { + if (iVar11 != 6) { PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); - iVar11 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x52); - iVar12 = 1; - if (1 < iVar11) { - iVar12 = iVar11; + iVar10 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x52); + iVar11 = 1; + if (1 < iVar10) { + iVar11 = iVar10; } - uVar9 = RNG::RandomInt(unaff_ESI,(uint)(100 / (longlong)iVar12)); - if ((uVar9 < 0xf) && - (cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar8 != '\0')) { + uVar8 = RNG::RandomInt(unaff_ESI,(uint)(100 / (longlong)iVar11)); + if ((uVar8 < 0xf) && + (cVar7 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar7 != '\0')) { PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); } - iVar12 = *(int *)(unaff_EBP + -0x3c8) + 0x1c; - uVar27 = 10; - uVar26 = 1; + iVar11 = *(int *)(unaff_EBP + -0x3c8) + 0x1c; + uVar24 = 10; uVar23 = 1; - uVar22 = 4; - uVar21 = 0; - uVar13 = *(undefined4 *)(unaff_EBP + -0x3c0); uVar20 = 1; - uVar9 = RNG::Next(unaff_ESI); - uVar13 = RoomConfig::GetRandomRoomWithFallbackStage - (uVar9,uVar20,uVar13,uVar21,uVar22,uVar23,uVar24,uVar25,uVar26,uVar27,iVar12) + uVar19 = 4; + uVar18 = 0; + uVar12 = *(undefined4 *)(unaff_EBP + -0x3c0); + uVar17 = 1; + uVar8 = RNG::Next(unaff_ESI); + uVar12 = RoomConfig::GetRandomRoomWithFallbackStage + (uVar8,uVar17,uVar12,uVar18,uVar19,uVar20,uVar21,uVar22,uVar23,uVar24,iVar11) ; - pPVar16 = &g_game->_playerManager; - *(undefined4 *)(unaff_EBP + -0x3dc) = uVar13; - PlayerManager::AnyoneHasTrinket(pPVar16); - iVar11 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x52); - iVar12 = 1; - if (1 < iVar11) { - iVar12 = iVar11; + pPVar14 = &g_game->_playerManager; + *(undefined4 *)(unaff_EBP + -0x3dc) = uVar12; + PlayerManager::AnyoneHasTrinket(pPVar14); + iVar10 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x52); + iVar11 = 1; + if (1 < iVar10) { + iVar11 = iVar10; } - uVar9 = RNG::RandomInt(unaff_ESI,(uint)(100 / (longlong)iVar12)); - if ((uVar9 < 0xf) && - (cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar8 != '\0')) { + uVar8 = RNG::RandomInt(unaff_ESI,(uint)(100 / (longlong)iVar11)); + if ((uVar8 < 0xf) && + (cVar7 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar7 != '\0')) { PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); } - iVar12 = *(int *)(unaff_EBP + -0x3b8) + 0x1c; - uVar27 = 10; - uVar26 = 1; + iVar11 = *(int *)(unaff_EBP + -0x3b8) + 0x1c; + uVar24 = 10; uVar23 = 1; - uVar22 = 4; - uVar21 = 0; - uVar13 = *(undefined4 *)(unaff_EBP + -0x3c0); uVar20 = 1; - uVar9 = RNG::Next(unaff_ESI); - uVar24 = RoomConfig::GetRandomRoomWithFallbackStage - (uVar9,uVar20,uVar13,uVar21,uVar22,uVar23,uVar24,uVar25,uVar26,uVar27,iVar12) + uVar19 = 4; + uVar18 = 0; + uVar12 = *(undefined4 *)(unaff_EBP + -0x3c0); + uVar17 = 1; + uVar8 = RNG::Next(unaff_ESI); + uVar21 = RoomConfig::GetRandomRoomWithFallbackStage + (uVar8,uVar17,uVar12,uVar18,uVar19,uVar20,uVar21,uVar22,uVar23,uVar24,iVar11) ; - *(undefined4 *)(unaff_EBP + -0x3e0) = uVar24; + *(undefined4 *)(unaff_EBP + -0x3e0) = uVar21; } - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar12 = *(int *)(unaff_EBP + -0x3e4); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar11 = *(int *)(unaff_EBP + -0x3e4); pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,10,1,0,-1,1,10,(uint *)(iVar12 + 0x1c),0xffffffff,-1) - ; - RVar17 = *unaff_ESI; - *(RoomConfig_Room **)(unaff_EBP + -0x3c0) = pRVar10; - if (RVar17 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,10,1,0,-1,1,10,(uint *)(iVar11 + 0x1c),0xffffffff,-1); + uVar8 = unaff_ESI->_seed; + *(RoomConfig_Room **)(unaff_EBP + -0x3c0) = pRVar9; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar12 = *(int *)(unaff_EBP + -0x3bc); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar11 = *(int *)(unaff_EBP + -0x3bc); pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,0x17,1,0,-1,1,10,(uint *)(iVar12 + 0x1c),0xffffffff, - -1); - RVar17 = *unaff_ESI; - *(RoomConfig_Room **)(unaff_EBP + -0x3c4) = pRVar10; - if (RVar17 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,0x17,1,0,-1,1,10,(uint *)(iVar11 + 0x1c),0xffffffff,-1); + uVar8 = unaff_ESI->_seed; + *(RoomConfig_Room **)(unaff_EBP + -0x3c4) = pRVar9; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar12 = *(int *)(unaff_EBP + -0x3b4); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar11 = *(int *)(unaff_EBP + -0x3b4); pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,8,1,0,-1,1,10,(uint *)(iVar12 + 0x1c),0xffffffff,-1); - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar10; - piVar18 = unaff_EBX + 0x5eb7; - for (iVar12 = 0x1fb; iVar12 != 0; iVar12 = iVar12 + -1) { - *piVar18 = -1; - piVar18 = piVar18 + 1; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,8,1,0,-1,1,10,(uint *)(iVar11 + 0x1c),0xffffffff,-1); + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar9; + piVar15 = unaff_EBX + 0x5eb7; + for (iVar11 = 0x1fb; iVar11 != 0; iVar11 = iVar11 + -1) { + *piVar15 = -1; + piVar15 = piVar15 + 1; } unaff_EBX[0x60b3] = 0; unaff_EBX[0x60dc] = 0x55; - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar24 = *(undefined4 *)(unaff_EBP + -0x3cc); - *unaff_ESI = RVar17; - Level::place_room(*(undefined4 *)(unaff_EBP + -0x3d4),uVar24,RVar17); - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar21 = *(undefined4 *)(unaff_EBP + -0x3cc); + unaff_ESI->_seed = uVar8; + Level::place_room(*(undefined4 *)(unaff_EBP + -0x3d4),uVar21,uVar8); + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar24 = *(undefined4 *)(unaff_EBP + -0x3d0); - *unaff_ESI = RVar17; - Level::place_room(*(undefined4 *)(unaff_EBP + -0x3d8),uVar24,RVar17); - iVar12 = *(int *)(unaff_EBP + -0x3c8); - if (iVar12 != 0) { - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar21 = *(undefined4 *)(unaff_EBP + -0x3d0); + unaff_ESI->_seed = uVar8; + Level::place_room(*(undefined4 *)(unaff_EBP + -0x3d8),uVar21,uVar8); + iVar11 = *(int *)(unaff_EBP + -0x3c8); + if (iVar11 != 0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar24 = *(undefined4 *)(unaff_EBP + -0x3dc); - *unaff_ESI = RVar17; - Level::place_room(iVar12,uVar24,RVar17); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar21 = *(undefined4 *)(unaff_EBP + -0x3dc); + unaff_ESI->_seed = uVar8; + Level::place_room(iVar11,uVar21,uVar8); } - iVar12 = *(int *)(unaff_EBP + -0x3b8); - if (iVar12 != 0) { - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + iVar11 = *(int *)(unaff_EBP + -0x3b8); + if (iVar11 != 0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar24 = *(undefined4 *)(unaff_EBP + -0x3e0); - *unaff_ESI = RVar17; - Level::place_room(iVar12,uVar24,RVar17); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar21 = *(undefined4 *)(unaff_EBP + -0x3e0); + unaff_ESI->_seed = uVar8; + Level::place_room(iVar11,uVar21,uVar8); } - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar24 = *(undefined4 *)(unaff_EBP + -0x3c0); - *unaff_ESI = RVar17; - Level::place_room(*(undefined4 *)(unaff_EBP + -0x3e4),uVar24,RVar17); - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar21 = *(undefined4 *)(unaff_EBP + -0x3c0); + unaff_ESI->_seed = uVar8; + Level::place_room(*(undefined4 *)(unaff_EBP + -0x3e4),uVar21,uVar8); + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar24 = *(undefined4 *)(unaff_EBP + -0x3c4); - *unaff_ESI = RVar17; - Level::place_room(*(undefined4 *)(unaff_EBP + -0x3bc),uVar24,RVar17); - iVar12 = *(int *)(unaff_EBP + -0x3b4); - if (iVar12 != 0) { - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar21 = *(undefined4 *)(unaff_EBP + -0x3c4); + unaff_ESI->_seed = uVar8; + Level::place_room(*(undefined4 *)(unaff_EBP + -0x3bc),uVar21,uVar8); + iVar11 = *(int *)(unaff_EBP + -0x3b4); + if (iVar11 != 0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar24 = *(undefined4 *)(unaff_EBP + -0x3ac); - *unaff_ESI = RVar17; - Level::place_room(iVar12,uVar24,RVar17); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar21 = *(undefined4 *)(unaff_EBP + -0x3ac); + unaff_ESI->_seed = uVar8; + Level::place_room(iVar11,uVar21,uVar8); } - pRVar19 = (RNG *)(unaff_EBX + 0x60ce); + puVar16 = (uint *)(unaff_EBX + 0x60ce); *(undefined4 *)(unaff_EBP + -0x3b4) = 0xc; do { - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - *pRVar19 = RVar17; - pRVar19 = pRVar19 + 1; - piVar18 = (int *)(unaff_EBP + -0x3b4); - *piVar18 = *piVar18 + -1; - } while (*piVar18 != 0); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + *puVar16 = uVar8; + puVar16 = puVar16 + 1; + piVar15 = (int *)(unaff_EBP + -0x3b4); + *piVar15 = *piVar15 + -1; + } while (*piVar15 != 0); *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; FID_conflict__Tidy((void *)(unaff_EBP + -0x2c)); FID_conflict__Tidy((void *)(unaff_EBP + -0x38)); vector_LevelGenerator_Room_tidy(); - pvVar7 = ThreadLocalStoragePointer; + pvVar6 = ThreadLocalStoragePointer; if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 2; @@ -475101,24 +475840,23 @@ void FUN_0074371e(void) _Init_thread_footer(); } Seeds::Init3(); - RVar17 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3ac) = 0; - if (RVar17 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,3,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac), - 0xffffffff,0); - iVar11 = g_invalidRoomDescriptorGuard; - iVar12 = *(int *)pvVar7; - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar10; - if (*(int *)(iVar12 + 0xc) < iVar11) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,3,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),0xffffffff,0); + iVar10 = g_invalidRoomDescriptorGuard; + iVar11 = *(int *)pvVar6; + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar9; + if (*(int *)(iVar11 + 0xc) < iVar10) { _Init_thread_header(); if (g_invalidRoomDescriptorGuard == -1) { *(undefined4 *)(unaff_EBP + -4) = 3; @@ -475127,14 +475865,14 @@ void FUN_0074371e(void) *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; _Init_thread_footer(); } - iVar12 = *(int *)pvVar7; + iVar11 = *(int *)pvVar6; } - ppvVar15 = &g_roomDescriptorDummy.Data; + ppvVar13 = &g_roomDescriptorDummy.Data; if ((uint)unaff_EBX[0x60c3] < 3) { - ppvVar15 = (void **)(unaff_EBX + 0x5b51); + ppvVar13 = (void **)(unaff_EBX + 0x5b51); } - *ppvVar15 = *(void **)(unaff_EBP + -0x3ac); - if ((*(int *)(iVar12 + 0xc) < g_invalidRoomDescriptorGuard) && + *ppvVar13 = *(void **)(unaff_EBP + -0x3ac); + if ((*(int *)(iVar11 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 4; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -475143,24 +475881,24 @@ void FUN_0074371e(void) _Init_thread_footer(); } Seeds::Init3(); - RVar17 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3ac) = 0; - if (RVar17 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,0x16,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac), - 0xffffffff,0); - iVar11 = g_invalidRoomDescriptorGuard; - iVar12 = *(int *)pvVar7; - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar10; - if (*(int *)(iVar12 + 0xc) < iVar11) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,0x16,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),0xffffffff,0) + ; + iVar10 = g_invalidRoomDescriptorGuard; + iVar11 = *(int *)pvVar6; + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar9; + if (*(int *)(iVar11 + 0xc) < iVar10) { _Init_thread_header(); if (g_invalidRoomDescriptorGuard == -1) { *(undefined4 *)(unaff_EBP + -4) = 5; @@ -475169,14 +475907,14 @@ void FUN_0074371e(void) *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; _Init_thread_footer(); } - iVar12 = *(int *)pvVar7; + iVar11 = *(int *)pvVar6; } - ppvVar15 = &g_roomDescriptorDummy.Data; + ppvVar13 = &g_roomDescriptorDummy.Data; if ((uint)unaff_EBX[0x60c3] < 3) { - ppvVar15 = (void **)(unaff_EBX + 0x5c09); + ppvVar13 = (void **)(unaff_EBX + 0x5c09); } - *ppvVar15 = *(void **)(unaff_EBP + -0x3ac); - if ((*(int *)(iVar12 + 0xc) < g_invalidRoomDescriptorGuard) && + *ppvVar13 = *(void **)(unaff_EBP + -0x3ac); + if ((*(int *)(iVar11 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 6; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -475185,24 +475923,24 @@ void FUN_0074371e(void) _Init_thread_footer(); } Seeds::Init3(); - RVar17 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3ac) = 0; - if (RVar17 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,0x10,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac), - 0xffffffff,0); - iVar11 = g_invalidRoomDescriptorGuard; - iVar12 = *(int *)pvVar7; - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar10; - if ((*(int *)(iVar12 + 0xc) < iVar11) && + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,0x10,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),0xffffffff,0) + ; + iVar10 = g_invalidRoomDescriptorGuard; + iVar11 = *(int *)pvVar6; + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar9; + if ((*(int *)(iVar11 + 0xc) < iVar10) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 7; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -475210,70 +475948,70 @@ void FUN_0074371e(void) *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; _Init_thread_footer(); } - ppvVar15 = &g_roomDescriptorDummy.Data; + ppvVar13 = &g_roomDescriptorDummy.Data; if ((uint)unaff_EBX[0x60c3] < 3) { - ppvVar15 = (void **)(unaff_EBX + 0x5bad); + ppvVar13 = (void **)(unaff_EBX + 0x5bad); } - *ppvVar15 = *(void **)(unaff_EBP + -0x3ac); - pMVar6 = g_manager; - pGVar5 = g_game; + *ppvVar13 = *(void **)(unaff_EBP + -0x3ac); + pMVar5 = g_manager; + pGVar4 = g_game; if (((g_manager->_persistentGameData)._achievements[0x98] == 0) && (((g_manager->_state != 2 || (g_game == (Game *)0x0)) || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))) { - iVar12 = 1; + iVar11 = 1; } else { - iVar12 = 2; + iVar11 = 2; } bVar1 = (g_manager->_persistentGameData)._achievements[0x99]; - *(int *)(unaff_EBP + -0x3b8) = iVar12; + *(int *)(unaff_EBP + -0x3b8) = iVar11; if ((bVar1 == 0) && - (((pMVar6->_state != 2 || (pGVar5 == (Game *)0x0)) || - (((pGVar5->_dailyChallenge)._id == 0 && (pGVar5->_isDebug == 0)))))) { + (((pMVar5->_state != 2 || (pGVar4 == (Game *)0x0)) || + (((pGVar4->_dailyChallenge)._id == 0 && (pGVar4->_isDebug == 0)))))) { *(undefined4 *)(unaff_EBP + -0x3bc) = 1; } else { *(undefined4 *)(unaff_EBP + -0x3bc) = 2; } - if (((pMVar6->_persistentGameData)._achievements[0x9a] != 0) || - (((pMVar6->_state == 2 && (pGVar5 != (Game *)0x0)) && - (((pGVar5->_dailyChallenge)._id != 0 || (pGVar5->_isDebug != 0)))))) { - *(int *)(unaff_EBP + -0x3b8) = iVar12 + 1; + if (((pMVar5->_persistentGameData)._achievements[0x9a] != 0) || + (((pMVar5->_state == 2 && (pGVar4 != (Game *)0x0)) && + (((pGVar4->_dailyChallenge)._id != 0 || (pGVar4->_isDebug != 0)))))) { + *(int *)(unaff_EBP + -0x3b8) = iVar11 + 1; } - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - RVar3 = unaff_ESI[2]; - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; + iVar11 = unaff_ESI->_shift2; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; *(undefined8 *)(unaff_EBP + -0x3f0) = 0x300000003; - uVar9 = uVar9 << (RVar3._0_1_ & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); + uVar8 = uVar8 << ((byte)iVar11 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; *(undefined4 *)(unaff_EBP + -0x3b4) = 0x1a; - *unaff_ESI = RVar17; - if (RVar17 == (RNG)0x0) { + unaff_ESI->_seed = uVar8; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3f0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << ((byte)*(undefined4 *)(unaff_EBP + -0x3ec) & 0x1f) ^ uVar9; - uVar9 = uVar9 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3b4) & 0x1f) ^ uVar9; - *(uint *)(unaff_EBP + -0x3ac) = uVar9 % *(uint *)(unaff_EBP + -0x3b8); - pvVar7 = ThreadLocalStoragePointer; - iVar12 = g_invalidRoomDescriptorGuard; - if (uVar9 == 0) { + uVar8 = uVar8 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3f0) & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)*(undefined4 *)(unaff_EBP + -0x3ec) & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3b4) & 0x1f) ^ uVar8; + *(uint *)(unaff_EBP + -0x3ac) = uVar8 % *(uint *)(unaff_EBP + -0x3b8); + pvVar6 = ThreadLocalStoragePointer; + iVar11 = g_invalidRoomDescriptorGuard; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = uVar9 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3f0) & 0x1f) ^ uVar9; - uVar9 = uVar9 << ((byte)*(undefined4 *)(unaff_EBP + -0x3ec) & 0x1f) ^ uVar9; - iVar11 = *(int *)ThreadLocalStoragePointer; + uVar8 = uVar8 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3f0) & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)*(undefined4 *)(unaff_EBP + -0x3ec) & 0x1f) ^ uVar8; + iVar10 = *(int *)ThreadLocalStoragePointer; *(int *)(unaff_EBP + -0x3ac) = *(int *)(unaff_EBP + -0x3ac) + - (uVar9 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3b4) & 0x1f) ^ uVar9) % + (uVar8 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3b4) & 0x1f) ^ uVar8) % *(uint *)(unaff_EBP + -0x3bc); - if ((*(int *)(iVar11 + 0xc) < iVar12) && + if ((*(int *)(iVar10 + 0xc) < iVar11) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 8; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -475282,25 +476020,24 @@ void FUN_0074371e(void) _Init_thread_footer(); } Seeds::Init3(); - RVar17 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3c4) = 0; - if (RVar17 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar14 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = *(uint *)(unaff_EBP + -0x3ac); - uVar14 = uVar14 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar14; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + roomSubtype = *(uint *)(unaff_EBP + -0x3ac); + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar14 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar14); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,2,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3c4),uVar9,0) - ; - iVar11 = g_invalidRoomDescriptorGuard; - iVar12 = *(int *)pvVar7; - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar10; - if ((*(int *)(iVar12 + 0xc) < iVar11) && + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,2,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3c4),roomSubtype,0); + iVar10 = g_invalidRoomDescriptorGuard; + iVar11 = *(int *)pvVar6; + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar9; + if ((*(int *)(iVar11 + 0xc) < iVar10) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 9; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -475308,21 +476045,21 @@ void FUN_0074371e(void) *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; _Init_thread_footer(); } - ppvVar15 = &g_roomDescriptorDummy.Data; + ppvVar13 = &g_roomDescriptorDummy.Data; if ((uint)unaff_EBX[0x60c3] < 3) { - ppvVar15 = (void **)(unaff_EBX + 0x5d4b); + ppvVar13 = (void **)(unaff_EBX + 0x5d4b); } - *ppvVar15 = *(void **)(unaff_EBP + -0x3ac); - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + *ppvVar13 = *(void **)(unaff_EBP + -0x3ac); + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar12 = *(int *)pvVar7; - *unaff_ESI = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - if ((*(int *)(iVar12 + 0xc) < g_invalidRoomDescriptorGuard) && + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar11 = *(int *)pvVar6; + unaff_ESI->_seed = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + if ((*(int *)(iVar11 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 10; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -475331,20 +476068,20 @@ void FUN_0074371e(void) _Init_thread_footer(); } Seeds::Init3(); - RVar17 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3ac) = 0; - if (RVar17 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,0xf,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),1,0); - if ((*(int *)(*(int *)pvVar7 + 0xc) < g_invalidRoomDescriptorGuard) && + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,0xf,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),1,0); + if ((*(int *)(*(int *)pvVar6 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 0xb; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -475352,284 +476089,284 @@ void FUN_0074371e(void) _Init_thread_footer(); } if ((uint)unaff_EBX[0x60c3] < 3) { - unaff_EBX[0x5e31] = (int)pRVar10; + unaff_EBX[0x5e31] = (int)pRVar9; } else { - g_roomDescriptorDummy.Data = pRVar10; + g_roomDescriptorDummy.Data = pRVar9; } ExceptionList = *(void **)(unaff_EBP + -0xc); return; } -//@@ 0074378b FUN_0074378b +//@@ 0074378b Level::generate_greed_chunk_rooms /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? not a real function: a Ghidra-split piece of FUN_00743550 (greed floor generator called + from Level::Init when Game _difficulty is 2/3; unaligned start, unaff_EBP/ESI frame + -0x3d8/-0x3b0, no refs): RNG steps, PlayerManager::AnyoneHasTrinket/GetTrinketMultiplier, + RoomConfig::GetRandomRoom / GetRandomRoomWithFallbackStage */ -void FUN_0074378b(void) +void Level::generate_greed_chunk_rooms(void) { byte bVar1; RoomConfig *pRVar2; - RNG RVar3; - code *pcVar4; - Game *pGVar5; - Manager *pMVar6; - void *pvVar7; - char cVar8; - uint uVar9; - RoomConfig_Room *pRVar10; + uint roomSubtype; + code *pcVar3; + Game *pGVar4; + Manager *pMVar5; + void *pvVar6; + char cVar7; + uint uVar8; + RoomConfig_Room *pRVar9; + int iVar10; int iVar11; - int iVar12; - undefined4 uVar13; - uint uVar14; - void **ppvVar15; - PlayerManager *pPVar16; + undefined4 uVar12; + void **ppvVar13; + PlayerManager *pPVar14; int *unaff_EBX; int unaff_EBP; RNG *unaff_ESI; - RNG RVar17; - int *piVar18; - RNG *pRVar19; + int *piVar15; + uint *puVar16; + undefined4 uVar17; + undefined4 uVar18; + undefined4 uVar19; undefined4 uVar20; undefined4 uVar21; undefined4 uVar22; undefined4 uVar23; undefined4 uVar24; - undefined4 uVar25; - undefined4 uVar26; - undefined4 uVar27; - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { - pcVar4 = (code *)swi(3); - (*pcVar4)(); + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { + pcVar3 = (code *)swi(3); + (*pcVar3)(); return; } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar12 = *(int *)(unaff_EBP + -0x3d8); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar11 = *(int *)(unaff_EBP + -0x3d8); pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar25 = 0xffffffff; - uVar24 = 0; - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,2,6,0,-1,1,10,(uint *)(iVar12 + 0x1c),0xffffffff,-1); - iVar12 = *unaff_EBX; - *(RoomConfig_Room **)(unaff_EBP + -0x3d0) = pRVar10; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar22 = 0xffffffff; + uVar21 = 0; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,2,6,0,-1,1,10,(uint *)(iVar11 + 0x1c),0xffffffff,-1); + iVar11 = *unaff_EBX; + *(RoomConfig_Room **)(unaff_EBP + -0x3d0) = pRVar9; *(undefined4 *)(unaff_EBP + -0x3dc) = 0; *(undefined4 *)(unaff_EBP + -0x3e0) = 0; - if (iVar12 != 6) { + if (iVar11 != 6) { PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); - iVar11 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x52); - iVar12 = 1; - if (1 < iVar11) { - iVar12 = iVar11; + iVar10 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x52); + iVar11 = 1; + if (1 < iVar10) { + iVar11 = iVar10; } - uVar9 = RNG::RandomInt(unaff_ESI,(uint)(100 / (longlong)iVar12)); - if ((uVar9 < 0xf) && - (cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar8 != '\0')) { + uVar8 = RNG::RandomInt(unaff_ESI,(uint)(100 / (longlong)iVar11)); + if ((uVar8 < 0xf) && + (cVar7 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar7 != '\0')) { PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); } - iVar12 = *(int *)(unaff_EBP + -0x3c8) + 0x1c; - uVar27 = 10; - uVar26 = 1; + iVar11 = *(int *)(unaff_EBP + -0x3c8) + 0x1c; + uVar24 = 10; uVar23 = 1; - uVar22 = 4; - uVar21 = 0; - uVar13 = *(undefined4 *)(unaff_EBP + -0x3c0); uVar20 = 1; - uVar9 = RNG::Next(unaff_ESI); - uVar13 = RoomConfig::GetRandomRoomWithFallbackStage - (uVar9,uVar20,uVar13,uVar21,uVar22,uVar23,uVar24,uVar25,uVar26,uVar27,iVar12) + uVar19 = 4; + uVar18 = 0; + uVar12 = *(undefined4 *)(unaff_EBP + -0x3c0); + uVar17 = 1; + uVar8 = RNG::Next(unaff_ESI); + uVar12 = RoomConfig::GetRandomRoomWithFallbackStage + (uVar8,uVar17,uVar12,uVar18,uVar19,uVar20,uVar21,uVar22,uVar23,uVar24,iVar11) ; - pPVar16 = &g_game->_playerManager; - *(undefined4 *)(unaff_EBP + -0x3dc) = uVar13; - PlayerManager::AnyoneHasTrinket(pPVar16); - iVar11 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x52); - iVar12 = 1; - if (1 < iVar11) { - iVar12 = iVar11; + pPVar14 = &g_game->_playerManager; + *(undefined4 *)(unaff_EBP + -0x3dc) = uVar12; + PlayerManager::AnyoneHasTrinket(pPVar14); + iVar10 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,0x52); + iVar11 = 1; + if (1 < iVar10) { + iVar11 = iVar10; } - uVar9 = RNG::RandomInt(unaff_ESI,(uint)(100 / (longlong)iVar12)); - if ((uVar9 < 0xf) && - (cVar8 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar8 != '\0')) { + uVar8 = RNG::RandomInt(unaff_ESI,(uint)(100 / (longlong)iVar11)); + if ((uVar8 < 0xf) && + (cVar7 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager), cVar7 != '\0')) { PlayerManager::AnyoneHasTrinket(&g_game->_playerManager); } - iVar12 = *(int *)(unaff_EBP + -0x3b8) + 0x1c; - uVar27 = 10; - uVar26 = 1; + iVar11 = *(int *)(unaff_EBP + -0x3b8) + 0x1c; + uVar24 = 10; uVar23 = 1; - uVar22 = 4; - uVar21 = 0; - uVar13 = *(undefined4 *)(unaff_EBP + -0x3c0); uVar20 = 1; - uVar9 = RNG::Next(unaff_ESI); - uVar24 = RoomConfig::GetRandomRoomWithFallbackStage - (uVar9,uVar20,uVar13,uVar21,uVar22,uVar23,uVar24,uVar25,uVar26,uVar27,iVar12) + uVar19 = 4; + uVar18 = 0; + uVar12 = *(undefined4 *)(unaff_EBP + -0x3c0); + uVar17 = 1; + uVar8 = RNG::Next(unaff_ESI); + uVar21 = RoomConfig::GetRandomRoomWithFallbackStage + (uVar8,uVar17,uVar12,uVar18,uVar19,uVar20,uVar21,uVar22,uVar23,uVar24,iVar11) ; - *(undefined4 *)(unaff_EBP + -0x3e0) = uVar24; + *(undefined4 *)(unaff_EBP + -0x3e0) = uVar21; } - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar12 = *(int *)(unaff_EBP + -0x3e4); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar11 = *(int *)(unaff_EBP + -0x3e4); pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,10,1,0,-1,1,10,(uint *)(iVar12 + 0x1c),0xffffffff,-1) - ; - RVar17 = *unaff_ESI; - *(RoomConfig_Room **)(unaff_EBP + -0x3c0) = pRVar10; - if (RVar17 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,10,1,0,-1,1,10,(uint *)(iVar11 + 0x1c),0xffffffff,-1); + uVar8 = unaff_ESI->_seed; + *(RoomConfig_Room **)(unaff_EBP + -0x3c0) = pRVar9; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar12 = *(int *)(unaff_EBP + -0x3bc); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar11 = *(int *)(unaff_EBP + -0x3bc); pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,0x17,1,0,-1,1,10,(uint *)(iVar12 + 0x1c),0xffffffff, - -1); - RVar17 = *unaff_ESI; - *(RoomConfig_Room **)(unaff_EBP + -0x3c4) = pRVar10; - if (RVar17 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,0x17,1,0,-1,1,10,(uint *)(iVar11 + 0x1c),0xffffffff,-1); + uVar8 = unaff_ESI->_seed; + *(RoomConfig_Room **)(unaff_EBP + -0x3c4) = pRVar9; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar12 = *(int *)(unaff_EBP + -0x3b4); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar11 = *(int *)(unaff_EBP + -0x3b4); pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,8,1,0,-1,1,10,(uint *)(iVar12 + 0x1c),0xffffffff,-1); - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar10; - piVar18 = unaff_EBX + 0x5eb7; - for (iVar12 = 0x1fb; iVar12 != 0; iVar12 = iVar12 + -1) { - *piVar18 = -1; - piVar18 = piVar18 + 1; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,8,1,0,-1,1,10,(uint *)(iVar11 + 0x1c),0xffffffff,-1); + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar9; + piVar15 = unaff_EBX + 0x5eb7; + for (iVar11 = 0x1fb; iVar11 != 0; iVar11 = iVar11 + -1) { + *piVar15 = -1; + piVar15 = piVar15 + 1; } unaff_EBX[0x60b3] = 0; unaff_EBX[0x60dc] = 0x55; - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar24 = *(undefined4 *)(unaff_EBP + -0x3cc); - *unaff_ESI = RVar17; - Level::place_room(*(undefined4 *)(unaff_EBP + -0x3d4),uVar24,RVar17); - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar21 = *(undefined4 *)(unaff_EBP + -0x3cc); + unaff_ESI->_seed = uVar8; + place_room(*(undefined4 *)(unaff_EBP + -0x3d4),uVar21,uVar8); + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar24 = *(undefined4 *)(unaff_EBP + -0x3d0); - *unaff_ESI = RVar17; - Level::place_room(*(undefined4 *)(unaff_EBP + -0x3d8),uVar24,RVar17); - iVar12 = *(int *)(unaff_EBP + -0x3c8); - if (iVar12 != 0) { - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar21 = *(undefined4 *)(unaff_EBP + -0x3d0); + unaff_ESI->_seed = uVar8; + place_room(*(undefined4 *)(unaff_EBP + -0x3d8),uVar21,uVar8); + iVar11 = *(int *)(unaff_EBP + -0x3c8); + if (iVar11 != 0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar24 = *(undefined4 *)(unaff_EBP + -0x3dc); - *unaff_ESI = RVar17; - Level::place_room(iVar12,uVar24,RVar17); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar21 = *(undefined4 *)(unaff_EBP + -0x3dc); + unaff_ESI->_seed = uVar8; + place_room(iVar11,uVar21,uVar8); } - iVar12 = *(int *)(unaff_EBP + -0x3b8); - if (iVar12 != 0) { - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + iVar11 = *(int *)(unaff_EBP + -0x3b8); + if (iVar11 != 0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar24 = *(undefined4 *)(unaff_EBP + -0x3e0); - *unaff_ESI = RVar17; - Level::place_room(iVar12,uVar24,RVar17); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar21 = *(undefined4 *)(unaff_EBP + -0x3e0); + unaff_ESI->_seed = uVar8; + place_room(iVar11,uVar21,uVar8); } - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar24 = *(undefined4 *)(unaff_EBP + -0x3c0); - *unaff_ESI = RVar17; - Level::place_room(*(undefined4 *)(unaff_EBP + -0x3e4),uVar24,RVar17); - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar21 = *(undefined4 *)(unaff_EBP + -0x3c0); + unaff_ESI->_seed = uVar8; + place_room(*(undefined4 *)(unaff_EBP + -0x3e4),uVar21,uVar8); + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar24 = *(undefined4 *)(unaff_EBP + -0x3c4); - *unaff_ESI = RVar17; - Level::place_room(*(undefined4 *)(unaff_EBP + -0x3bc),uVar24,RVar17); - iVar12 = *(int *)(unaff_EBP + -0x3b4); - if (iVar12 != 0) { - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar21 = *(undefined4 *)(unaff_EBP + -0x3c4); + unaff_ESI->_seed = uVar8; + place_room(*(undefined4 *)(unaff_EBP + -0x3bc),uVar21,uVar8); + iVar11 = *(int *)(unaff_EBP + -0x3b4); + if (iVar11 != 0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - uVar24 = *(undefined4 *)(unaff_EBP + -0x3ac); - *unaff_ESI = RVar17; - Level::place_room(iVar12,uVar24,RVar17); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + uVar21 = *(undefined4 *)(unaff_EBP + -0x3ac); + unaff_ESI->_seed = uVar8; + place_room(iVar11,uVar21,uVar8); } - pRVar19 = (RNG *)(unaff_EBX + 0x60ce); + puVar16 = (uint *)(unaff_EBX + 0x60ce); *(undefined4 *)(unaff_EBP + -0x3b4) = 0xc; do { - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - *pRVar19 = RVar17; - pRVar19 = pRVar19 + 1; - piVar18 = (int *)(unaff_EBP + -0x3b4); - *piVar18 = *piVar18 + -1; - } while (*piVar18 != 0); + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + *puVar16 = uVar8; + puVar16 = puVar16 + 1; + piVar15 = (int *)(unaff_EBP + -0x3b4); + *piVar15 = *piVar15 + -1; + } while (*piVar15 != 0); *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; FID_conflict__Tidy((void *)(unaff_EBP + -0x2c)); FID_conflict__Tidy((void *)(unaff_EBP + -0x38)); vector_LevelGenerator_Room_tidy(); - pvVar7 = ThreadLocalStoragePointer; + pvVar6 = ThreadLocalStoragePointer; if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 2; @@ -475639,24 +476376,23 @@ void FUN_0074378b(void) _Init_thread_footer(); } Seeds::Init3(); - RVar17 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3ac) = 0; - if (RVar17 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,3,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac), - 0xffffffff,0); - iVar11 = g_invalidRoomDescriptorGuard; - iVar12 = *(int *)pvVar7; - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar10; - if (*(int *)(iVar12 + 0xc) < iVar11) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,3,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),0xffffffff,0); + iVar10 = g_invalidRoomDescriptorGuard; + iVar11 = *(int *)pvVar6; + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar9; + if (*(int *)(iVar11 + 0xc) < iVar10) { _Init_thread_header(); if (g_invalidRoomDescriptorGuard == -1) { *(undefined4 *)(unaff_EBP + -4) = 3; @@ -475665,14 +476401,14 @@ void FUN_0074378b(void) *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; _Init_thread_footer(); } - iVar12 = *(int *)pvVar7; + iVar11 = *(int *)pvVar6; } - ppvVar15 = &g_roomDescriptorDummy.Data; + ppvVar13 = &g_roomDescriptorDummy.Data; if ((uint)unaff_EBX[0x60c3] < 3) { - ppvVar15 = (void **)(unaff_EBX + 0x5b51); + ppvVar13 = (void **)(unaff_EBX + 0x5b51); } - *ppvVar15 = *(void **)(unaff_EBP + -0x3ac); - if ((*(int *)(iVar12 + 0xc) < g_invalidRoomDescriptorGuard) && + *ppvVar13 = *(void **)(unaff_EBP + -0x3ac); + if ((*(int *)(iVar11 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 4; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -475681,24 +476417,24 @@ void FUN_0074378b(void) _Init_thread_footer(); } Seeds::Init3(); - RVar17 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3ac) = 0; - if (RVar17 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,0x16,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac), - 0xffffffff,0); - iVar11 = g_invalidRoomDescriptorGuard; - iVar12 = *(int *)pvVar7; - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar10; - if (*(int *)(iVar12 + 0xc) < iVar11) { + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,0x16,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),0xffffffff,0) + ; + iVar10 = g_invalidRoomDescriptorGuard; + iVar11 = *(int *)pvVar6; + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar9; + if (*(int *)(iVar11 + 0xc) < iVar10) { _Init_thread_header(); if (g_invalidRoomDescriptorGuard == -1) { *(undefined4 *)(unaff_EBP + -4) = 5; @@ -475707,14 +476443,14 @@ void FUN_0074378b(void) *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; _Init_thread_footer(); } - iVar12 = *(int *)pvVar7; + iVar11 = *(int *)pvVar6; } - ppvVar15 = &g_roomDescriptorDummy.Data; + ppvVar13 = &g_roomDescriptorDummy.Data; if ((uint)unaff_EBX[0x60c3] < 3) { - ppvVar15 = (void **)(unaff_EBX + 0x5c09); + ppvVar13 = (void **)(unaff_EBX + 0x5c09); } - *ppvVar15 = *(void **)(unaff_EBP + -0x3ac); - if ((*(int *)(iVar12 + 0xc) < g_invalidRoomDescriptorGuard) && + *ppvVar13 = *(void **)(unaff_EBP + -0x3ac); + if ((*(int *)(iVar11 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 6; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -475723,24 +476459,24 @@ void FUN_0074378b(void) _Init_thread_footer(); } Seeds::Init3(); - RVar17 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3ac) = 0; - if (RVar17 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,0x10,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac), - 0xffffffff,0); - iVar11 = g_invalidRoomDescriptorGuard; - iVar12 = *(int *)pvVar7; - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar10; - if ((*(int *)(iVar12 + 0xc) < iVar11) && + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,0x10,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),0xffffffff,0) + ; + iVar10 = g_invalidRoomDescriptorGuard; + iVar11 = *(int *)pvVar6; + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar9; + if ((*(int *)(iVar11 + 0xc) < iVar10) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 7; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -475748,70 +476484,70 @@ void FUN_0074378b(void) *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; _Init_thread_footer(); } - ppvVar15 = &g_roomDescriptorDummy.Data; + ppvVar13 = &g_roomDescriptorDummy.Data; if ((uint)unaff_EBX[0x60c3] < 3) { - ppvVar15 = (void **)(unaff_EBX + 0x5bad); + ppvVar13 = (void **)(unaff_EBX + 0x5bad); } - *ppvVar15 = *(void **)(unaff_EBP + -0x3ac); - pMVar6 = g_manager; - pGVar5 = g_game; + *ppvVar13 = *(void **)(unaff_EBP + -0x3ac); + pMVar5 = g_manager; + pGVar4 = g_game; if (((g_manager->_persistentGameData)._achievements[0x98] == 0) && (((g_manager->_state != 2 || (g_game == (Game *)0x0)) || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))) { - iVar12 = 1; + iVar11 = 1; } else { - iVar12 = 2; + iVar11 = 2; } bVar1 = (g_manager->_persistentGameData)._achievements[0x99]; - *(int *)(unaff_EBP + -0x3b8) = iVar12; + *(int *)(unaff_EBP + -0x3b8) = iVar11; if ((bVar1 == 0) && - (((pMVar6->_state != 2 || (pGVar5 == (Game *)0x0)) || - (((pGVar5->_dailyChallenge)._id == 0 && (pGVar5->_isDebug == 0)))))) { + (((pMVar5->_state != 2 || (pGVar4 == (Game *)0x0)) || + (((pGVar4->_dailyChallenge)._id == 0 && (pGVar4->_isDebug == 0)))))) { *(undefined4 *)(unaff_EBP + -0x3bc) = 1; } else { *(undefined4 *)(unaff_EBP + -0x3bc) = 2; } - if (((pMVar6->_persistentGameData)._achievements[0x9a] != 0) || - (((pMVar6->_state == 2 && (pGVar5 != (Game *)0x0)) && - (((pGVar5->_dailyChallenge)._id != 0 || (pGVar5->_isDebug != 0)))))) { - *(int *)(unaff_EBP + -0x3b8) = iVar12 + 1; + if (((pMVar5->_persistentGameData)._achievements[0x9a] != 0) || + (((pMVar5->_state == 2 && (pGVar4 != (Game *)0x0)) && + (((pGVar4->_dailyChallenge)._id != 0 || (pGVar4->_isDebug != 0)))))) { + *(int *)(unaff_EBP + -0x3b8) = iVar11 + 1; } - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - RVar3 = unaff_ESI[2]; - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; + iVar11 = unaff_ESI->_shift2; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; *(undefined8 *)(unaff_EBP + -0x3f0) = 0x300000003; - uVar9 = uVar9 << (RVar3._0_1_ & 0x1f) ^ uVar9; - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); + uVar8 = uVar8 << ((byte)iVar11 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; *(undefined4 *)(unaff_EBP + -0x3b4) = 0x1a; - *unaff_ESI = RVar17; - if (RVar17 == (RNG)0x0) { + unaff_ESI->_seed = uVar8; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3f0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << ((byte)*(undefined4 *)(unaff_EBP + -0x3ec) & 0x1f) ^ uVar9; - uVar9 = uVar9 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3b4) & 0x1f) ^ uVar9; - *(uint *)(unaff_EBP + -0x3ac) = uVar9 % *(uint *)(unaff_EBP + -0x3b8); - pvVar7 = ThreadLocalStoragePointer; - iVar12 = g_invalidRoomDescriptorGuard; - if (uVar9 == 0) { + uVar8 = uVar8 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3f0) & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)*(undefined4 *)(unaff_EBP + -0x3ec) & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3b4) & 0x1f) ^ uVar8; + *(uint *)(unaff_EBP + -0x3ac) = uVar8 % *(uint *)(unaff_EBP + -0x3b8); + pvVar6 = ThreadLocalStoragePointer; + iVar11 = g_invalidRoomDescriptorGuard; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = uVar9 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3f0) & 0x1f) ^ uVar9; - uVar9 = uVar9 << ((byte)*(undefined4 *)(unaff_EBP + -0x3ec) & 0x1f) ^ uVar9; - iVar11 = *(int *)ThreadLocalStoragePointer; + uVar8 = uVar8 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3f0) & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)*(undefined4 *)(unaff_EBP + -0x3ec) & 0x1f) ^ uVar8; + iVar10 = *(int *)ThreadLocalStoragePointer; *(int *)(unaff_EBP + -0x3ac) = *(int *)(unaff_EBP + -0x3ac) + - (uVar9 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3b4) & 0x1f) ^ uVar9) % + (uVar8 >> ((byte)*(undefined4 *)(unaff_EBP + -0x3b4) & 0x1f) ^ uVar8) % *(uint *)(unaff_EBP + -0x3bc); - if ((*(int *)(iVar11 + 0xc) < iVar12) && + if ((*(int *)(iVar10 + 0xc) < iVar11) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 8; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -475820,25 +476556,24 @@ void FUN_0074378b(void) _Init_thread_footer(); } Seeds::Init3(); - RVar17 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3c4) = 0; - if (RVar17 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar14 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = *(uint *)(unaff_EBP + -0x3ac); - uVar14 = uVar14 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar14; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + roomSubtype = *(uint *)(unaff_EBP + -0x3ac); + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar14 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar14); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,2,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3c4),uVar9,0) - ; - iVar11 = g_invalidRoomDescriptorGuard; - iVar12 = *(int *)pvVar7; - *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar10; - if ((*(int *)(iVar12 + 0xc) < iVar11) && + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,2,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3c4),roomSubtype,0); + iVar10 = g_invalidRoomDescriptorGuard; + iVar11 = *(int *)pvVar6; + *(RoomConfig_Room **)(unaff_EBP + -0x3ac) = pRVar9; + if ((*(int *)(iVar11 + 0xc) < iVar10) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 9; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -475846,21 +476581,21 @@ void FUN_0074378b(void) *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; _Init_thread_footer(); } - ppvVar15 = &g_roomDescriptorDummy.Data; + ppvVar13 = &g_roomDescriptorDummy.Data; if ((uint)unaff_EBX[0x60c3] < 3) { - ppvVar15 = (void **)(unaff_EBX + 0x5d4b); + ppvVar13 = (void **)(unaff_EBX + 0x5d4b); } - *ppvVar15 = *(void **)(unaff_EBP + -0x3ac); - RVar17 = *unaff_ESI; - if (RVar17 == (RNG)0x0) { + *ppvVar13 = *(void **)(unaff_EBP + -0x3ac); + uVar8 = unaff_ESI->_seed; + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; - iVar12 = *(int *)pvVar7; - *unaff_ESI = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - if ((*(int *)(iVar12 + 0xc) < g_invalidRoomDescriptorGuard) && + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; + iVar11 = *(int *)pvVar6; + unaff_ESI->_seed = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + if ((*(int *)(iVar11 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 10; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -475869,20 +476604,20 @@ void FUN_0074378b(void) _Init_thread_footer(); } Seeds::Init3(); - RVar17 = *unaff_ESI; + uVar8 = unaff_ESI->_seed; *(undefined4 *)(unaff_EBP + -0x3ac) = 0; - if (RVar17 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - uVar9 = (uint)RVar17 >> (SUB41(unaff_ESI[1],0) & 0x1f) ^ (uint)RVar17; - uVar9 = uVar9 << (SUB41(unaff_ESI[2],0) & 0x1f) ^ uVar9; + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)unaff_ESI->_shift2 & 0x1f) ^ uVar8; pRVar2 = *(RoomConfig **)(unaff_EBP + -0x3b0); - RVar17 = (RNG)(uVar9 >> (SUB41(unaff_ESI[3],0) & 0x1f) ^ uVar9); - *unaff_ESI = RVar17; - pRVar10 = RoomConfig::GetRandomRoom - (pRVar2,(uint)RVar17,1,0,0xf,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),1,0); - if ((*(int *)(*(int *)pvVar7 + 0xc) < g_invalidRoomDescriptorGuard) && + uVar8 = uVar8 >> ((byte)unaff_ESI->_shift3 & 0x1f) ^ uVar8; + unaff_ESI->_seed = uVar8; + pRVar9 = RoomConfig::GetRandomRoom + (pRVar2,uVar8,1,0,0xf,0xd,0,-1,1,10,(uint *)(unaff_EBP + -0x3ac),1,0); + if ((*(int *)(*(int *)pvVar6 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) { *(undefined4 *)(unaff_EBP + -4) = 0xb; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -475890,10 +476625,10 @@ void FUN_0074378b(void) _Init_thread_footer(); } if ((uint)unaff_EBX[0x60c3] < 3) { - unaff_EBX[0x5e31] = (int)pRVar10; + unaff_EBX[0x5e31] = (int)pRVar9; } else { - g_roomDescriptorDummy.Data = pRVar10; + g_roomDescriptorDummy.Data = pRVar9; } ExceptionList = *(void **)(unaff_EBP + -0xc); return; @@ -481489,11 +482224,15 @@ void FUN_00743f73(void) } -//@@ 00743fc3 FUN_00743fc3 +//@@ 00743fc3 Level::generate_greed_chunk_place /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? not a real function: a Ghidra-split piece of FUN_00743550 (unaligned start, + unaff_EBP/ESI/EDI frame -0x3bc, no refs; 743550 is the greed floor generator, Level::Init calls + it when Game _difficulty 0x269c8 is 2/3): RNG step then Level::place_room, frees LevelGenerator + vectors, Seeds::Init3, RoomDescriptor::constructor */ -void FUN_00743fc3(void) +void Level::generate_greed_chunk_place(void) { byte bVar1; @@ -481525,7 +482264,7 @@ void FUN_00743fc3(void) uVar10 = uVar10 >> ((byte)unaff_ESI[3] & 0x1f) ^ uVar10; uVar2 = *(undefined4 *)(unaff_EBP + -0x3bc); *unaff_ESI = uVar10; - Level::place_room(unaff_EDI,uVar2,uVar10); + place_room(unaff_EDI,uVar2,uVar10); *(undefined4 *)(unaff_EBP + -4) = 0xffffffff; FID_conflict__Tidy((void *)(unaff_EBP + -0x2c)); FID_conflict__Tidy((void *)(unaff_EBP + -0x38)); @@ -482890,75 +483629,73 @@ void Level::Init(byte param_1) { uint *puVar1; int iVar2; - RNG RVar3; - RNG RVar4; - bool bVar5; - qword qVar6; - Game *pGVar7; - char cVar8; - uint uVar9; + bool bVar3; + qword qVar4; + Game *pGVar5; + char cVar6; + uint uVar7; Level *in_ECX; int extraout_ECX; - int iVar10; - int *piVar11; + int iVar8; + int *piVar9; int local_6c; void **local_38; void *local_1c; undefined1 *puStack_18; undefined4 uStack_14; - pGVar7 = g_game; + pGVar5 = g_game; uStack_14 = 0xffffffff; puStack_18 = &LAB_00afddd5; local_1c = ExceptionList; - uVar9 = __security_cookie ^ (int)register0x00000010 - 0x10U; + uVar7 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; - qVar6 = g_game->_gameStateFlags; + qVar4 = g_game->_gameStateFlags; puVar1 = (uint *)((int)&g_game->_gameStateFlags + 4); *puVar1 = *puVar1 & 0xffffefff; - *(int *)&pGVar7->_gameStateFlags = (int)qVar6; + *(int *)&pGVar5->_gameStateFlags = (int)qVar4; *(undefined1 *)&in_ECX[1]._roomList[7].DisplayFlags = 0; in_ECX->_levelStateFlag = in_ECX->_levelStateFlag & 0xfcffffff; - cVar8 = PlayerManager::AnyoneHasTrinket(&pGVar7->_playerManager,0x89); - iVar10 = in_ECX[1]._stageType; + cVar6 = PlayerManager::AnyoneHasTrinket(&pGVar5->_playerManager,0x89); + iVar8 = in_ECX[1]._stageType; iVar2 = *(int *)&in_ECX[1].field_0x8; - if (iVar10 != iVar2) { + if (iVar8 != iVar2) { do { - invoke_pending_callbacks(uVar9); - iVar10 = iVar10 + 0x78; - } while (iVar10 != iVar2); - iVar10 = in_ECX[1]._stageType; + invoke_pending_callbacks(uVar7); + iVar8 = iVar8 + 0x78; + } while (iVar8 != iVar2); + iVar8 = in_ECX[1]._stageType; } - *(int *)&in_ECX[1].field_0x8 = iVar10; - if (cVar8 != '\0') { + *(int *)&in_ECX[1].field_0x8 = iVar8; + if (cVar6 != '\0') { local_38 = &in_ECX->_roomList[0].SavedEntities._end; local_6c = 0x1fb; do { if (((local_38[-0x1a] != (void *)0x0) && (local_38[-0xe] != (void *)0x0)) && - (piVar11 = ((std_vector *)(local_38 + -1))->_begin, piVar11 != *local_38)) { + (piVar9 = ((std_vector *)(local_38 + -1))->_begin, piVar9 != *local_38)) { do { - if (((((*piVar11 == 5) && (piVar11[5] == 0)) && - ((cVar8 = Entity_Pickup::IsChest(), cVar8 == '\0' && + if (((((*piVar9 == 5) && (piVar9[5] == 0)) && + ((cVar6 = Entity_Pickup::IsChest(), cVar6 == '\0' && ((extraout_ECX != 0x17c && (extraout_ECX != 0x172)))))) && (extraout_ECX != 0x154)) && ((((extraout_ECX != 0x29 && (extraout_ECX != 0x186)) && (extraout_ECX != 100)) && (extraout_ECX != 0x96)))) { if (*(int *)&in_ECX[1].field_0x8 == in_ECX[1]._curses) { - std::vector::_Emplace_reallocate - (*(int *)&in_ECX[1].field_0x8,piVar11); + std::vector::_Emplace_reallocate(*(int *)&in_ECX[1].field_0x8,piVar9) + ; } else { - EntitySaveState::copy(piVar11); + EntitySaveState::copy(piVar9); *(int *)&in_ECX[1].field_0x8 = *(int *)&in_ECX[1].field_0x8 + 0x78; } } - piVar11 = piVar11 + 0x1e; - } while (piVar11 != *local_38); + piVar9 = piVar9 + 0x1e; + } while (piVar9 != *local_38); } local_38 = local_38 + 0x2e; local_6c = local_6c + -1; } while (local_6c != 0); } - pGVar7 = g_game; + pGVar5 = g_game; in_ECX->_currentRoomMap = in_ECX->_roomMap; *(undefined1 *)&in_ECX[1]._stage = 1; in_ECX->_currentDimensionIdx = 0; @@ -482977,44 +483714,45 @@ void Level::Init(byte param_1) in_ECX->_isCanSeeEverything = 0; in_ECX->field_0x9 = 0; *(undefined4 *)&in_ECX->field_0x18390 = 0; - pGVar7->_donationModAngel = 0; + pGVar5->_donationModAngel = 0; if ((in_ECX->_stageType == 4) || (in_ECX->_stageType == 5)) { - bVar5 = true; + bVar3 = true; } else { - bVar5 = false; + bVar3 = false; } - uVar9 = in_ECX->_stage + 1; - if (!bVar5) { - uVar9 = in_ECX->_stage; + uVar7 = in_ECX->_stage + 1; + if (!bVar3) { + uVar7 = in_ECX->_stage; } - if ((pGVar7->_seedEffects)._gameStartSeed == 0) { + if ((pGVar5->_seedEffects)._gameStartSeed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Error: Game Start Seed was not set.\n"); } - if (uVar9 == 0) { - uVar9 = 0; + if (uVar7 == 0) { + uVar7 = 0; } - else if (0xc < uVar9) { - uVar9 = 0xd; + else if (0xc < uVar7) { + uVar7 = 0xd; } - RVar3 = *(RNG *)((int)(&pGVar7->_itemPool + 2) + uVar9 * 4 + 0x514); - *(undefined8 *)&in_ECX->field_0x182d8 = 0x900000005; - *(undefined4 *)&in_ECX->field_0x182e0 = 7; - in_ECX->_generationRNG = RVar3; - *(undefined8 *)&in_ECX->field_0x182e8 = 0x500000001; - in_ECX->_devilAngelRoomRNG = RVar3; - *(undefined4 *)&in_ECX->field_0x182f0 = 0x13; - RVar4 = in_ECX->_generationRNG; - if (RVar4 == (RNG)0x0) { + iVar8 = (pGVar5->_seedEffects)._stageSeeds[uVar7]; + (in_ECX->_generationRNG)._shift1 = 5; + (in_ECX->_generationRNG)._shift2 = 9; + (in_ECX->_generationRNG)._shift3 = 7; + (in_ECX->_generationRNG)._seed = iVar8; + (in_ECX->_devilAngelRoomRNG)._shift1 = 1; + (in_ECX->_devilAngelRoomRNG)._shift2 = 5; + (in_ECX->_devilAngelRoomRNG)._seed = iVar8; + (in_ECX->_devilAngelRoomRNG)._shift3 = 0x13; + uVar7 = (in_ECX->_generationRNG)._seed; + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar4 >> ((byte)*(undefined4 *)&in_ECX->field_0x182d8 & 0x1f) ^ (uint)RVar4; - uVar9 = uVar9 << ((byte)*(undefined4 *)&in_ECX->field_0x182dc & 0x1f) ^ uVar9; - in_ECX->_generationRNG = - (RNG)(uVar9 >> ((byte)*(undefined4 *)&in_ECX->field_0x182e0 & 0x1f) ^ uVar9); - if (pGVar7->_challenge == 0x2c) { + uVar7 = uVar7 >> ((byte)(in_ECX->_generationRNG)._shift1 & 0x1f) ^ uVar7; + uVar7 = uVar7 << ((byte)(in_ECX->_generationRNG)._shift2 & 0x1f) ^ uVar7; + (in_ECX->_generationRNG)._seed = uVar7 >> ((byte)(in_ECX->_generationRNG)._shift3 & 0x1f) ^ uVar7; + if (pGVar5->_challenge == 0x2c) { InitStageSeeds(); } reset_room_list(in_ECX,param_1); @@ -483023,7 +483761,7 @@ void Level::Init(byte param_1) } /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"Level::Init m_Stage %d, m_StageType %d Seed %u\n",in_ECX->_stage, - in_ECX->_stageType,RVar3); + in_ECX->_stageType,iVar8); } @@ -483991,13 +484729,14 @@ void __thiscall Level::SetNextStage(Level *this) (((bVar9 && (((iVar21 = *(int *)(pcVar3 + 8), iVar21 == 0x16 || (iVar21 == 0x1b)) || ((iVar21 == 3 || ((iVar18 != 0 && (*(int *)(iVar18 + 8) == -0xc)))))))) || (cVar12 = IsMausoleumHeartStage(), cVar12 != '\0')))) goto LAB_00746fe3; + pGVar23 = g_game; if ((bVar24) && (1 < uVar20)) goto LAB_00746eff; if ((bVar8) && ((!bVar7 && (!bVar10)))) goto LAB_00746fe3; if (((g_game->_stageType == 4) || (g_game->_stageType == 5)) && (cVar12 = IsAscent(), cVar12 == '\0')) { uVar20 = uVar20 + 1; } - uVar22 = Seeds::GetStageSeed(uVar20); + uVar22 = Seeds::GetStageSeed(&pGVar23->_seedEffects,uVar20); pGVar23 = g_game; if (((uVar22 & 1) == 0) && ((((uVar20 == 1 || (uVar20 == 2)) && @@ -484061,7 +484800,7 @@ LAB_00746f09: uVar20 = 1; } } - uVar22 = Seeds::GetStageSeed(uVar20 + 1); + uVar22 = Seeds::GetStageSeed(&g_game->_seedEffects,uVar20 + 1); pGVar23 = g_game; if (((uVar22 & 2) == 0) && (((((uVar20 == 1 || (uVar20 == 2)) && @@ -484125,7 +484864,8 @@ LAB_00746f09: uVar22 = 0xd; } } - if ((*(uint *)((int)(&g_game->_itemPool + 2) + uVar22 * 4 + 0x514) & 1) == 0) { + uVar22 = (g_game->_seedEffects)._stageSeeds[uVar22]; + if ((uVar22 & 1) == 0) { if (uVar20 == 1) { bVar24 = (g_manager->_persistentGameData)._achievements[0x56] == 0; LAB_00747181: @@ -484150,7 +484890,7 @@ LAB_00747181: LAB_007471ab: local_10 = 0; } - if ((*(uint *)((int)(&g_game->_itemPool + 2) + uVar22 * 4 + 0x514) % 3 != 0) || (9 < uVar20)) { + if ((uVar22 % 3 != 0) || (9 < uVar20)) { LAB_0074706a: SetStage(this,uVar20,local_10); return; @@ -484323,314 +485063,357 @@ void __thiscall Level::RestoreGameState(Level *this,GameState *gameState) { byte bVar1; - GameState GVar2; - RNG RVar3; - uint uVar4; - int iVar5; - Camera *pCVar6; + uint uVar2; + int iVar3; + Camera *pCVar4; Room *this_00; - GameState GVar7; - GameState GVar8; - ushort uVar9; - Game *pGVar10; - Manager *pMVar11; - ushort uVar12; - void *pvVar13; - RoomDescriptor *pRVar14; - uint uVar15; - uint uVar16; - undefined4 uVar17; - int *piVar18; - int iVar19; - uint uVar20; - GameState *pGVar21; - GameState *pGVar22; - void **ppvVar23; - bool bVar24; - GameState GVar25; - GameState *local_1c; + undefined4 uVar5; + undefined4 uVar6; + ushort uVar7; + undefined2 uVar8; + undefined2 uVar9; + undefined1 uVar10; + undefined1 uVar11; + undefined1 uVar12; + undefined1 uVar13; + undefined1 uVar14; + undefined1 uVar15; + undefined1 uVar16; + Game *pGVar17; + Manager *pMVar18; + ushort uVar19; + void *pvVar20; + RoomDescriptor *pRVar21; + uint uVar22; + uint uVar23; + undefined4 uVar24; + int *piVar25; + int iVar26; + uint uVar27; + undefined1 *puVar28; + int *piVar29; + void **ppvVar30; + bool bVar31; + float fVar32; + undefined1 *local_1c; uint uStack_18; - GameState *pGStack_10; - GameState GStack_c; + undefined1 *puStack_10; + float fStack_c; - bVar24 = false; - if ((GameState)this->_stage != gameState[0x39]) { - bVar24 = g_game->_isRestoringGlowingHourglassState == 0; - this->_stage = (int)gameState[0x39]; + bVar31 = false; + if (this->_stage != *(int *)&gameState->field_0xe4) { + bVar31 = g_game->_isRestoringGlowingHourglassState == 0; + this->_stage = *(int *)&gameState->field_0xe4; } - this->_stageType = (int)gameState[0x3a]; - this->_startingRoomIndex = (int)gameState[0x3b]; - this->_lastBossRoomListIndex = (int)gameState[0x3c]; - this->_curses = (int)gameState[0x3d]; - this->_dungeonPlacementSeed = (int)gameState[0x3e]; - this->_devilAngelRoomRNG = *(RNG *)(gameState + 0x3f); - *(undefined8 *)&this->field_0x182e8 = 0x500000001; - *(undefined4 *)&this->field_0x182f0 = 0x13; - this->_angelRoomChance = (float)gameState[0x40]; - *(GameState *)&this->field_0x18390 = gameState[0x675b]; - this->_isHeartPicked = *(byte *)(gameState + 0x41); - this->field_0x9 = gameState[0x41].field_0x1; - this->_isCanSeeEverything = gameState[0x41].field_0x2; - this->field_0x8 = gameState[0x41].field_0x3; - uVar12 = 0; - if (*(short *)(gameState + 0x42) != 0) { + this->_stageType = *(int *)&gameState->field_0xe8; + this->_startingRoomIndex = *(int *)&gameState->field_0xec; + this->_lastBossRoomListIndex = *(int *)&gameState->field_0xf0; + this->_curses = *(int *)&gameState->field_0xf4; + this->_dungeonPlacementSeed = *(int *)&gameState->field_0xf8; + (this->_devilAngelRoomRNG)._seed = *(int *)&gameState->field_0xfc; + (this->_devilAngelRoomRNG)._shift1 = 1; + (this->_devilAngelRoomRNG)._shift2 = 5; + (this->_devilAngelRoomRNG)._shift3 = 0x13; + this->_angelRoomChance = *(float *)&gameState->field_0x100; + *(undefined4 *)&this->field_0x18390 = *(undefined4 *)&gameState->field_0x19d6c; + this->_isHeartPicked = gameState->field_0x104; + this->field_0x9 = gameState->field_0x105; + this->_isCanSeeEverything = gameState->field_0x106; + this->field_0x8 = gameState->field_0x107; + uVar19 = 0; + if (*(short *)&gameState->field_0x108 != 0) { do { - uVar9 = uVar12 >> 5; - uVar20 = 1 << ((byte)uVar12 & 0x1f); - if ((&gameState[0x42].field_0x2)[uVar12] == '\0') { - uVar20 = *(uint *)(this->_ventricleRazorPortals + (uint)uVar9 * 4 + 0x24) & ~uVar20; + uVar7 = uVar19 >> 5; + uVar27 = 1 << ((byte)uVar19 & 0x1f); + if ((&gameState->field_0x10a)[uVar19] == '\0') { + uVar27 = *(uint *)(this->_ventricleRazorPortals + (uint)uVar7 * 4 + 0x24) & ~uVar27; } else { - uVar20 = *(uint *)(this->_ventricleRazorPortals + (uint)uVar9 * 4 + 0x24) | uVar20; + uVar27 = *(uint *)(this->_ventricleRazorPortals + (uint)uVar7 * 4 + 0x24) | uVar27; } - uVar12 = uVar12 + 1; - *(uint *)(this->_ventricleRazorPortals + (uint)uVar9 * 4 + 0x24) = uVar20; - } while (uVar12 < *(ushort *)(gameState + 0x42)); + uVar19 = uVar19 + 1; + *(uint *)(this->_ventricleRazorPortals + (uint)uVar7 * 4 + 0x24) = uVar27; + } while (uVar19 < *(ushort *)&gameState->field_0x108); } - GVar25 = gameState[0x49]; - this->_greedModeWave = (int)GVar25; - GVar2 = gameState[0x4b]; - GVar7 = gameState[0x4c]; - GVar8 = gameState[0x4d]; - *(GameState *)&this->field_0x18338 = gameState[0x4a]; - *(GameState *)&this->field_0x1833c = GVar2; - *(GameState *)&this->field_0x18340 = GVar7; - *(GameState *)&this->field_0x18344 = GVar8; - GVar2 = gameState[0x4f]; - GVar7 = gameState[0x50]; - GVar8 = gameState[0x51]; - *(GameState *)&this->field_0x18348 = gameState[0x4e]; - *(GameState *)&this->field_0x1834c = GVar2; - *(GameState *)&this->field_0x18350 = GVar7; - *(GameState *)&this->field_0x18354 = GVar8; - GVar2 = gameState[0x53]; - GVar7 = gameState[0x54]; - GVar8 = gameState[0x55]; - *(GameState *)&this->field_0x18358 = gameState[0x52]; - *(GameState *)&this->field_0x1835c = GVar2; - *(GameState *)&this->field_0x18360 = GVar7; - *(GameState *)&this->field_0x18364 = GVar8; - *(GameState *)&this->field_0x18370 = gameState[0x56]; - GVar2 = gameState[0x57]; - *(GameState *)&this->field_0x18368 = GVar2; - if ((uint)GVar2 < (uint)GVar25) { - GVar25 = GVar2; + uVar27 = *(uint *)&gameState->field_0x124; + this->_greedModeWave = uVar27; + uVar24 = *(undefined4 *)&gameState->field_0x12c; + uVar5 = *(undefined4 *)&gameState->field_0x130; + uVar6 = *(undefined4 *)&gameState->field_0x134; + *(undefined4 *)&this->field_0x18338 = *(undefined4 *)&gameState->field_0x128; + *(undefined4 *)&this->field_0x1833c = uVar24; + *(undefined4 *)&this->field_0x18340 = uVar5; + *(undefined4 *)&this->field_0x18344 = uVar6; + uVar24 = *(undefined4 *)&gameState->field_0x13c; + uVar5 = *(undefined4 *)&gameState->field_0x140; + uVar6 = *(undefined4 *)&gameState->field_0x144; + *(undefined4 *)&this->field_0x18348 = *(undefined4 *)&gameState->field_0x138; + *(undefined4 *)&this->field_0x1834c = uVar24; + *(undefined4 *)&this->field_0x18350 = uVar5; + *(undefined4 *)&this->field_0x18354 = uVar6; + uVar24 = *(undefined4 *)&gameState->field_0x14c; + uVar5 = *(undefined4 *)&gameState->field_0x150; + uVar6 = *(undefined4 *)&gameState->field_0x154; + *(undefined4 *)&this->field_0x18358 = *(undefined4 *)&gameState->field_0x148; + *(undefined4 *)&this->field_0x1835c = uVar24; + *(undefined4 *)&this->field_0x18360 = uVar5; + *(undefined4 *)&this->field_0x18364 = uVar6; + *(undefined4 *)&this->field_0x18370 = *(undefined4 *)&gameState->field_0x158; + uVar2 = *(uint *)&gameState->field_0x15c; + *(uint *)&this->field_0x18368 = uVar2; + if (uVar2 < uVar27) { + uVar27 = uVar2; } - this->_greedModeWave = (int)GVar25; - *(GameState *)&this->field_0x1836c = gameState[0x58]; + this->_greedModeWave = uVar27; + *(undefined4 *)&this->field_0x1836c = *(undefined4 *)&gameState->field_0x160; if ((g_game->_seedEffects)._gameStartSeed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Error: Game Start Seed was not set.\n"); } - RVar3 = this->_generationRNG; - if (RVar3 == (RNG)0x0) { + uVar27 = (this->_generationRNG)._seed; + if (uVar27 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar20 = (uint)RVar3 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar3; - uVar20 = uVar20 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar20; - this->_generationRNG = - (RNG)(uVar20 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar20); + uVar27 = uVar27 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar27; + uVar27 = uVar27 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar27; + (this->_generationRNG)._seed = uVar27 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar27; if (g_game->_challenge == 0x2c) { InitStageSeeds(); } reset_room_list(this,0); - pGVar21 = gameState + 0x654c; - pGVar22 = (GameState *)this->_roomMap; - for (iVar19 = 0x1fb; iVar19 != 0; iVar19 = iVar19 + -1) { - *pGVar22 = *pGVar21; - pGVar21 = pGVar21 + 1; - pGVar22 = pGVar22 + 1; + piVar25 = (int *)&gameState->field_0x19530; + piVar29 = this->_roomMap; + for (iVar26 = 0x1fb; iVar26 != 0; iVar26 = iVar26 + -1) { + *piVar29 = *piVar25; + piVar25 = piVar25 + 1; + piVar29 = piVar29 + 1; } RoomConfig::ClearGeneratedRooms(); - ppvVar23 = &this->_roomList[0].Data; + ppvVar30 = &this->_roomList[0].Data; uStack_18 = 0x20f; - this->_roomCount = (int)gameState[0x67]; - pGStack_10 = gameState + 0x6547; - pGVar21 = gameState + 0x5f1a; - local_1c = gameState + 0x68; + this->_roomCount = *(int *)&gameState->field_0x19c; + puStack_10 = &gameState->field_0x1951c; + puVar28 = &gameState->field_0x17c68; + local_1c = &gameState->field_0x1a0; do { GameState::copy_room_list(local_1c); - pvVar13 = (void *)get_room_config_from_saved_id(pGVar21,pGStack_10); - *ppvVar23 = pvVar13; - ppvVar23 = ppvVar23 + 0x2e; - pGVar21 = pGVar21 + 3; - local_1c = local_1c + 0x2e; + pvVar20 = (void *)get_room_config_from_saved_id(puVar28,puStack_10); + *ppvVar30 = pvVar20; + ppvVar30 = ppvVar30 + 0x2e; + puVar28 = puVar28 + 0xc; + local_1c = local_1c + 0xb8; uStack_18 = uStack_18 + -1; } while (uStack_18 != 0); - this->_currentRoomIndex = (int)gameState[0x6747]; - bVar1 = *(byte *)(gameState + 0x674b); + this->_currentRoomIndex = *(int *)&gameState->field_0x19d1c; + bVar1 = gameState->field_0x19d2c; this->_currentDimensionIdx = (uint)bVar1; this->_currentRoomMap = this->_roomMap + (uint)bVar1 * 0xa9; - this->_lastRoomDimensionIdx = (uint)(byte)gameState[0x674b].field_0x1; - this->_previousRoomIndex = (int)gameState[0x6748]; - *(GameState *)&this->field_0x18320 = gameState[0x674c]; - *(GameState *)&this->field_0x18324 = gameState[0x674d]; - this->_dungeonReturnRoomIndex = (int)gameState[0x674e]; - GVar25 = gameState[0x6750]; - GVar2 = gameState[0x6751]; - GVar7 = gameState[0x6752]; - this[1]._roomList[7].VisitedCount = (int)gameState[0x674f]; - this[1]._roomList[7].Flags = (int)GVar25; - *(GameState *)&this[1]._roomList[7].TotalMoneySpent = GVar2; - this[1]._roomList[7].GreedSubType = (int)GVar7; - *(GameState *)&this[1]._roomList[7].PoopCount = gameState[0x6753]; - this->_enterDoor = (int)gameState[0x6754]; - *(undefined8 *)this->_ventricleRazorPortals = *(undefined8 *)(gameState + 0x6755); - *(GameState *)(this->_ventricleRazorPortals + 8) = gameState[0x6757]; - GVar25 = gameState[0x6758]; - GVar2 = gameState[0x6759]; - *(GameState *)(this->_ventricleRazorPortals + 0xc) = GVar25; - *(GameState *)(this->_ventricleRazorPortals + 0x10) = GVar2; - *(GameState *)(this->_ventricleRazorPortals + 0x14) = gameState[0x675a]; + this->_lastRoomDimensionIdx = (uint)(byte)gameState->field_0x19d2d; + this->_previousRoomIndex = *(int *)&gameState->field_0x19d20; + (this->_dungeonReturnPosition).x = *(float *)&gameState->field_0x19d30; + (this->_dungeonReturnPosition).y = *(float *)&gameState->field_0x19d34; + this->_dungeonReturnRoomIndex = *(int *)&gameState->field_0x19d38; + iVar26 = *(int *)&gameState->field_0x19d40; + uVar8 = *(undefined2 *)&gameState->field_0x19d44; + uVar9 = *(undefined2 *)&gameState->field_0x19d46; + iVar3 = *(int *)&gameState->field_0x19d48; + this[1]._roomList[7].VisitedCount = *(int *)&gameState->field_0x19d3c; + this[1]._roomList[7].Flags = iVar26; + this[1]._roomList[7].TotalMoneySpent = uVar8; + this[1]._roomList[7].ClearCount = uVar9; + this[1]._roomList[7].GreedSubType = iVar3; + uVar8 = *(undefined2 *)&gameState->field_0x19d4e; + this[1]._roomList[7].PoopCount = *(undefined2 *)&gameState->field_0x19d4c; + this[1]._roomList[7].TKeeperCoinSpawns = uVar8; + this->_enterDoor = *(int *)&gameState->field_0x19d50; + uVar10 = gameState->field_0x19d55; + uVar11 = gameState->field_0x19d56; + uVar12 = gameState->field_0x19d57; + uVar13 = gameState->field_0x19d58; + uVar14 = gameState->field_0x19d59; + uVar15 = gameState->field_0x19d5a; + uVar16 = gameState->field_0x19d5b; + this->_ventricleRazorPortals[0] = gameState->field_0x19d54; + this->_ventricleRazorPortals[1] = uVar10; + this->_ventricleRazorPortals[2] = uVar11; + this->_ventricleRazorPortals[3] = uVar12; + this->_ventricleRazorPortals[4] = uVar13; + this->_ventricleRazorPortals[5] = uVar14; + this->_ventricleRazorPortals[6] = uVar15; + this->_ventricleRazorPortals[7] = uVar16; + uVar10 = gameState->field_0x19d5d; + uVar11 = gameState->field_0x19d5e; + uVar12 = gameState->field_0x19d5f; + this->_ventricleRazorPortals[8] = gameState->field_0x19d5c; + this->_ventricleRazorPortals[9] = uVar10; + this->_ventricleRazorPortals[10] = uVar11; + this->_ventricleRazorPortals[0xb] = uVar12; + fVar32 = *(float *)&gameState->field_0x19d60; + uVar10 = gameState->field_0x19d64; + uVar11 = gameState->field_0x19d65; + uVar12 = gameState->field_0x19d66; + uVar13 = gameState->field_0x19d67; + *(float *)(this->_ventricleRazorPortals + 0xc) = fVar32; + this->_ventricleRazorPortals[0x10] = uVar10; + this->_ventricleRazorPortals[0x11] = uVar11; + this->_ventricleRazorPortals[0x12] = uVar12; + this->_ventricleRazorPortals[0x13] = uVar13; + uVar10 = gameState->field_0x19d69; + uVar11 = gameState->field_0x19d6a; + uVar12 = gameState->field_0x19d6b; + this->_ventricleRazorPortals[0x14] = gameState->field_0x19d68; + this->_ventricleRazorPortals[0x15] = uVar10; + this->_ventricleRazorPortals[0x16] = uVar11; + this->_ventricleRazorPortals[0x17] = uVar12; Seeds::GetForcedCurses(); Seeds::GetPreventedCurses(); - pGStack_10 = (GameState *)g_game->_roomList[g_game->_lastBossRoomListIdx].GridIndex; + puStack_10 = (undefined1 *)g_game->_roomList[g_game->_lastBossRoomListIdx].GridIndex; if (((g_game->_challenge == 0x1f) && (g_game->_stage != 0xb)) && - ((GameState *)this->_currentRoomIndex == pGStack_10)) { - pRVar14 = GetRoomByIdx(this,this->_currentRoomIndex,-1); - pGVar10 = g_game; - if ((pRVar14->Flags & 1) != 0) goto LAB_00747a71; - uVar20 = 0; + ((undefined1 *)this->_currentRoomIndex == puStack_10)) { + pRVar21 = GetRoomByIdx(this,this->_currentRoomIndex,-1); + pGVar17 = g_game; + if ((pRVar21->Flags & 1) != 0) goto LAB_00747a71; + uVar27 = 0; if ((int)(g_game->_playerManager)._playerList._end - (int)(g_game->_playerManager)._playerList._begin >> 2 != 0) { do { - pvVar13 = (pGVar10->_playerManager)._playerList._end; - if ((int)pvVar13 - (int)(pGVar10->_playerManager)._playerList._begin >> 2 == 0) { + pvVar20 = (pGVar17->_playerManager)._playerList._end; + if ((int)pvVar20 - (int)(pGVar17->_playerManager)._playerList._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - piVar18 = (pGVar10->_playerManager)._playerList._begin; - if (uVar20 < (uint)((int)pvVar13 - (int)piVar18 >> 2)) { - piVar18 = piVar18 + uVar20; + piVar25 = (pGVar17->_playerManager)._playerList._begin; + if (uVar27 < (uint)((int)pvVar20 - (int)piVar25 >> 2)) { + piVar25 = piVar25 + uVar27; } - iVar19 = *piVar18; - uVar20 = uVar20 + 1; - *(undefined1 *)(iVar19 + 0x1398) = 0; - *(undefined1 *)(iVar19 + 0x139a) = 0; - } while (uVar20 < (uint)((int)(pGVar10->_playerManager)._playerList._end - - (int)(pGVar10->_playerManager)._playerList._begin >> 2)); + iVar26 = *piVar25; + uVar27 = uVar27 + 1; + *(undefined1 *)(iVar26 + 0x1398) = 0; + *(undefined1 *)(iVar26 + 0x139a) = 0; + } while (uVar27 < (uint)((int)(pGVar17->_playerManager)._playerList._end - + (int)(pGVar17->_playerManager)._playerList._begin >> 2)); } - iVar19 = pGVar10->_startingRoomIdx; - this->_previousRoomIndex = iVar19; - this->_currentRoomIndex = iVar19; + iVar26 = pGVar17->_startingRoomIdx; + this->_previousRoomIndex = iVar26; + this->_currentRoomIndex = iVar26; this->_leaveDoor = -1; - generate_greed(); - log_room_transition(pGStack_10,0xffffffff,0xf,0,0xffffffff); + load_room(); + log_room_transition(puStack_10,0xffffffff,0xf,0,0xffffffff); RoomTransition::Update(&g_game->_roomTransition); - pRVar14 = GetRoomByIdx((Level *)g_game,g_game->_startingRoomIdx,-1); - pGVar10 = g_game; - pRVar14->Flags = pRVar14->Flags & 0xfffffffe; - Game::UpdateVisibility(pGVar10); + pRVar21 = GetRoomByIdx((Level *)g_game,g_game->_startingRoomIdx,-1); + pGVar17 = g_game; + pRVar21->Flags = pRVar21->Flags & 0xfffffffe; + Game::UpdateVisibility(pGVar17); } else { LAB_00747a71: - generate_greed(); + load_room(); Room::PlayMusic(); Minimap::refresh_room_icons(); Minimap::refresh_room_icons(); - pGVar10 = g_game; + pGVar17 = g_game; if ((g_game->_hud)._hudRefreshType != 2) { (g_game->_hud)._hudRefreshType = 1; - (pGVar10->_hud)._hudRefreshCountdown = 2; + (pGVar17->_hud)._hudRefreshCountdown = 2; } } - if (bVar24) { + if (bVar31) { PlayerManager::trigger_level_start(); } if ((((this->_currentDimensionIdx != 1) || (g_game->_difficulty == 2)) || ((g_game->_difficulty == 3 || - ((iVar19 = this->_stage, iVar19 - 1U < 6 && + ((iVar26 = this->_stage, iVar26 - 1U < 6 && ((g_game->_gameStateFlags & 0x1000000000000) != 0)))))) || ((this->_stageType != 4 && (this->_stageType != 5)))) goto LAB_00747d60; - if (iVar19 != 4) { - if (iVar19 != 3) goto LAB_00747d60; - uVar20 = g_game->_debugCurses; - uVar4 = this->_curses; - uVar15 = Seeds::GetForcedCurses(); - uVar16 = Seeds::GetPreventedCurses(); - if ((~uVar16 & (uVar15 | uVar20 | uVar4) & 2) == 0) goto LAB_00747d60; + if (iVar26 != 4) { + if (iVar26 != 3) goto LAB_00747d60; + uVar27 = g_game->_debugCurses; + uVar2 = this->_curses; + uVar22 = Seeds::GetForcedCurses(); + uVar23 = Seeds::GetPreventedCurses(); + if ((~uVar23 & (uVar22 | uVar27 | uVar2) & 2) == 0) goto LAB_00747d60; } if ((this->_levelStateFlag & 0x400000U) != 0) { - GetEnterPosition(&pGStack_10); - if (((float)pGStack_10 == g_vectorZero.x) && ((float)GStack_c == g_vectorZero.y)) { - uVar20 = this->_enterDoor; - GVar25 = GStack_c; - if (uVar20 == 0xffffffff) { - uVar20 = Random(); - uVar20 = uVar20 & 7; + GetEnterPosition(&puStack_10); + if (((float)puStack_10 == g_vectorZero.x) && (fStack_c == g_vectorZero.y)) { + uVar27 = this->_enterDoor; + fVar32 = fStack_c; + if (uVar27 == 0xffffffff) { + uVar27 = Random(); + uVar27 = uVar27 & 7; uStack_18 = 0; do { - if ((uVar20 < 8) && - ((*(uint *)(*(int *)(*(int *)((int)this->_room + 4) + 0x10) + 0x38 + (uVar20 >> 5) * 4) - & 1 << ((byte)uVar20 & 0x1f)) != 0)) break; - uVar20 = uVar20 + 1 & 0x80000007; - if ((int)uVar20 < 0) { - uVar20 = (uVar20 - 1 | 0xfffffff8) + 1; + if ((uVar27 < 8) && + ((*(uint *)(*(int *)(*(int *)((int)this->_room + 4) + 0x10) + 0x38 + (uVar27 >> 5) * 4) + & 1 << ((byte)uVar27 & 0x1f)) != 0)) break; + uVar27 = uVar27 + 1 & 0x80000007; + if ((int)uVar27 < 0) { + uVar27 = (uVar27 - 1 | 0xfffffff8) + 1; } uStack_18 = uStack_18 + 1; } while (uStack_18 < 8); } - GStack_c = (GameState)g_vectorZero.y; - pGStack_10 = (GameState *)g_vectorZero.x; - if (uVar20 < 8) { - iVar19 = *(int *)((int)this->_room + uVar20 * 4 + 0x744); - iVar5 = *(int *)((int)this->_room + 0xc); - GVar25 = (GameState)0x42200000; - pGStack_10 = (GameState *)((float)(iVar19 % iVar5) * 40.0 + 40.0); - GStack_c = (GameState)((float)(iVar19 / iVar5) * 40.0 + 120.0); + fStack_c = g_vectorZero.y; + puStack_10 = (undefined1 *)g_vectorZero.x; + if (uVar27 < 8) { + iVar26 = *(int *)((int)this->_room + uVar27 * 4 + 0x744); + iVar3 = *(int *)((int)this->_room + 0xc); + fVar32 = 40.0; + puStack_10 = (undefined1 *)((float)(iVar26 % iVar3) * 40.0 + 40.0); + fStack_c = (float)(iVar26 / iVar3) * 40.0 + 120.0; } - uVar20 = uVar20 & 0x80000003; - if ((int)uVar20 < 0) { - uVar20 = (uVar20 - 1 | 0xfffffffc) + 1; + uVar27 = uVar27 & 0x80000003; + if ((int)uVar27 < 0) { + uVar27 = (uVar27 - 1 | 0xfffffffc) + 1; } - switch(uVar20) { + switch(uVar27) { case 0: - pGStack_10 = (GameState *)((float)pGStack_10 - 100.0); - GStack_c = (GameState)((float)GStack_c - 0.0); + puStack_10 = (undefined1 *)((float)puStack_10 - 100.0); + fStack_c = fStack_c - 0.0; break; case 1: - pGStack_10 = (GameState *)((float)pGStack_10 - 0.0); - GStack_c = (GameState)((float)GStack_c - 100.0); + puStack_10 = (undefined1 *)((float)puStack_10 - 0.0); + fStack_c = fStack_c - 100.0; break; case 2: - pGStack_10 = (GameState *)((float)pGStack_10 + 100.0); - GStack_c = (GameState)((float)GStack_c + 0.0); + puStack_10 = (undefined1 *)((float)puStack_10 + 100.0); + fStack_c = fStack_c + 0.0; break; case 3: - pGStack_10 = (GameState *)((float)pGStack_10 + 0.0); - GStack_c = (GameState)((float)GStack_c + 100.0); + puStack_10 = (undefined1 *)((float)puStack_10 + 0.0); + fStack_c = fStack_c + 100.0; } } else { - pGStack_10 = (GameState *)((float)pGStack_10 - 0.0); - GVar25 = (GameState)((float)GStack_c - 100.0); - GStack_c = GVar25; + puStack_10 = (undefined1 *)((float)puStack_10 - 0.0); + fVar32 = fStack_c - 100.0; + fStack_c = fVar32; } - uVar17 = Random(); - piVar18 = (int *)Game::SpawnEx(g_game,0x363,0,&pGStack_10,&g_vectorZero,0,0,uVar17,0); - (**(code **)(*piVar18 + 0xc))(); + uVar24 = Random(); + piVar25 = (int *)Game::SpawnEx(g_game,0x363,0,&puStack_10,&g_vectorZero,0,0,uVar24,0); + (**(code **)(*piVar25 + 0xc))(); } LAB_00747d60: - pCVar6 = *(Camera **)((int)g_game->_room + 0x11f8); - iVar19 = (g_manager->_optionsConfig)._cameraStyle; - if ((iVar19 == 1) || (iVar19 != 2)) { + pCVar4 = *(Camera **)((int)g_game->_room + 0x11f8); + iVar26 = (g_manager->_optionsConfig)._cameraStyle; + if ((iVar26 == 1) || (iVar26 != 2)) { Camera::update_focus_position(0); - pCVar6->_shouldOverride = 0; + pCVar4->_shouldOverride = 0; } else { - Camera::update_follow(pCVar6); + Camera::update_follow(pCVar4); } - pMVar11 = g_manager; + pMVar18 = g_manager; this_00 = this->_room; - this_00->_brokenWatchState = (int)*(char *)(gameState + 0x6749); + this_00->_brokenWatchState = (int)(char)gameState->field_0x19d24; Room::time_scale_update(this_00); - (pMVar11->_musicManager)._targetPitch = (float)GVar25; - GVar25 = *(GameState *)((int)this->_room + 0x722c); - if ((int)GVar25 < (int)gameState[0x674a]) { - GVar25 = gameState[0x674a]; + (pMVar18->_musicManager)._targetPitch = fVar32; + iVar26 = *(int *)((int)this->_room + 0x722c); + if (iVar26 < *(int *)&gameState->field_0x19d28) { + iVar26 = *(int *)&gameState->field_0x19d28; } - *(GameState *)((int)this->_room + 0x722c) = GVar25; + *(int *)((int)this->_room + 0x722c) = iVar26; TextureCache::Purge(); return; } @@ -484847,26 +485630,26 @@ undefined4 Level::ForceHorsemanBoss(uint param_1) if (iVar5 < 0) { iVar3 = *in_ECX; iVar5 = iVar8; - if (((iVar3 == 1) || (iVar3 == 2)) && ((**(uint **)&pGVar4->field_0x1b81c & 0x200) == 0) - ) { + if (((iVar3 == 1) || (iVar3 == 2)) && + ((*(uint *)(pGVar4->_bossPool)._removedBosses._begin & 0x200) == 0)) { local_10 = 9; local_14 = iVar8; } else if (((iVar3 == 3) || (iVar3 == 4)) && - ((**(uint **)&pGVar4->field_0x1b81c & 0x400) == 0)) { + ((*(uint *)(pGVar4->_bossPool)._removedBosses._begin & 0x400) == 0)) { local_10 = 10; local_14 = iVar8; } else { if (iVar3 == 5) { - if ((**(uint **)&pGVar4->field_0x1b81c & 0x800) == 0) { + if ((*(uint *)(pGVar4->_bossPool)._removedBosses._begin & 0x800) == 0) { local_10 = 0xb; local_14 = iVar8; goto LAB_0074839d; } } else if (((iVar3 == 7) && (*(int *)(iVar2 + 0x10) != 0x58)) && - ((**(uint **)&pGVar4->field_0x1b81c & 0x1000) == 0)) { + ((*(uint *)(pGVar4->_bossPool)._removedBosses._begin & 0x1000) == 0)) { uVar6 = in_ECX[0x60b5]; if (uVar6 == 0) { /* WARNING: Subroutine does not return */ @@ -484913,10 +485696,10 @@ LAB_0074839d: pGVar4 = g_game; if (pRVar7 != (RoomConfig_Room *)0x0) { in_ECX[iVar5 * 0x2e + 9] = (int)pRVar7; - puVar1 = (uint *)(*(int *)&pGVar4->field_0x1b81c + (local_10 >> 5) * 4); + puVar1 = (uint *)((int)(pGVar4->_bossPool)._removedBosses._begin + (local_10 >> 5) * 4); *puVar1 = *puVar1 | 1 << (local_10 & 0x1f); if (local_10 == 0x26) { - puVar1 = *(uint **)&pGVar4->field_0x1b81c; + puVar1 = (pGVar4->_bossPool)._removedBosses._begin; *puVar1 = *puVar1 | 0x1000; } } @@ -485469,31 +486252,24 @@ int Level::find_matching_room_idx(int param_1) int *local_dc; int *local_d8; int *local_d0; - int local_cc; - int local_c4; - int local_c0; - int local_bc; - int local_b4; - int local_8c; - uint local_88; - int local_4c [13]; - int local_18; + RoomDescriptor local_cc; uint local_14; void *local_10; undefined1 *puStack_c; - int local_8; + undefined4 local_8; local_8 = 0xffffffff; puStack_c = &LAB_00afdf5b; local_10 = ExceptionList; - uVar4 = __security_cookie ^ (uint)(local_4c + 0x12); + uVar4 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; local_14 = uVar4; pRVar5 = GetRoomByIdx(in_ECX,param_1,-1); - RoomDescriptor::copy_constructor(pRVar5); + RoomDescriptor::copy_constructor(&local_cc,pRVar5); local_8 = 0; - if (((local_bc == 0) || ((*(int *)(local_bc + 8) == 1 && (*(int *)(local_bc + 0x10) != 0)))) || - ((local_c0 == 0 && (local_cc == in_ECX->_startingRoomIndex)))) { + if (((local_cc.Data == (void *)0x0) || + ((*(int *)((int)local_cc.Data + 8) == 1 && (*(int *)((int)local_cc.Data + 0x10) != 0)))) || + ((local_cc.Dimension == 0 && (local_cc.GridIndex == in_ECX->_startingRoomIndex)))) { iVar6 = -1; } else { @@ -485529,18 +486305,18 @@ int Level::find_matching_room_idx(int param_1) local_d0 = (int *)0x0; do { iVar6 = *local_dc; - if ((((((iVar6 != local_c4) && (in_ECX->_roomList[iVar6].VisitedCount != 0)) && - (local_8c != 0)) && - (((in_ECX->_roomList[iVar6].Group == local_18 && - ((((byte)((uint)in_ECX->_roomList[iVar6].Flags >> 10) ^ (byte)(local_88 >> 10)) & 1) - == 0)) && - ((iVar2 = in_ECX->_roomList[iVar6].Dimension, iVar2 == local_c0 && + if ((((((iVar6 != local_cc.ListIndex) && (in_ECX->_roomList[iVar6].VisitedCount != 0)) && + (local_cc.VisitedCount != 0)) && + (((in_ECX->_roomList[iVar6].Group == local_cc.Group && + ((((byte)((uint)in_ECX->_roomList[iVar6].Flags >> 10) ^ + (byte)((uint)local_cc.Flags >> 10)) & 1) == 0)) && + ((iVar2 = in_ECX->_roomList[iVar6].Dimension, iVar2 == local_cc.Dimension && ((pvVar3 = in_ECX->_roomList[iVar6].Data, *(int *)((int)pvVar3 + 8) != 1 || (*(int *)((int)pvVar3 + 0x10) == 0)))))))) && ((iVar2 != 0 || (in_ECX->_roomList[iVar6].GridIndex != in_ECX->_startingRoomIndex)))) && - (((local_b4 == in_ECX->_roomList[iVar6].AllowedDoors && - (*(int *)((int)pvVar3 + 0x48) == *(int *)(local_bc + 0x48))) && - (*(int *)((int)pvVar3 + 8) == *(int *)(local_bc + 8))))) { + (((local_cc.AllowedDoors == in_ECX->_roomList[iVar6].AllowedDoors && + (*(int *)((int)pvVar3 + 0x48) == *(int *)((int)local_cc.Data + 0x48))) && + (*(int *)((int)pvVar3 + 8) == *(int *)((int)local_cc.Data + 8))))) { iVar6 = in_ECX->_roomList[*local_dc].SafeGridIndex; local_d0 = local_dc; goto LAB_00748fd9; @@ -485555,9 +486331,11 @@ int Level::find_matching_room_idx(int param_1) LAB_00748fd9: std::vector::_Tidy(); FID_conflict__Erase_tree_>_> - (local_4c,(fuzzer_allocator_> *)local_4c, - *(_Tree_node **)(local_4c[0] + 4)); - operator_delete(local_4c[0],0x14); + (&local_cc.RestrictedGridIndexes, + (fuzzer_allocator_> *) + &local_cc.RestrictedGridIndexes, + *(_Tree_node **)((int)local_cc.RestrictedGridIndexes._head + 4)); + operator_delete(local_cc.RestrictedGridIndexes._head,0x14); std::vector::_Tidy(); FUN_00708f90(); ExceptionList = local_10; @@ -485571,20 +486349,22 @@ LAB_00748fd9: from Level::find_matching_room_idx on the result of GetRoomByIdx (RoomDescriptor::operator_assign is 007387d0) */ -void RoomDescriptor::copy_constructor(undefined4 *param_1) +RoomDescriptor * __thiscall RoomDescriptor::copy_constructor(RoomDescriptor *this,int *param_2) { undefined4 *puVar1; undefined4 *puVar2; - undefined4 uVar3; - undefined4 uVar4; - undefined4 uVar5; - uint uVar6; - uint uVar7; - int iVar8; - undefined4 *puVar9; - undefined4 *in_ECX; - undefined4 *puVar10; + int iVar3; + int iVar4; + int iVar5; + undefined4 uVar6; + undefined4 uVar7; + undefined4 uVar8; + uint uVar9; + uint uVar10; + void *pvVar11; + undefined4 *puVar12; + undefined4 *puVar13; void *local_1c; undefined1 *puStack_18; undefined4 local_14; @@ -485592,110 +486372,110 @@ void RoomDescriptor::copy_constructor(undefined4 *param_1) local_14 = 0xffffffff; puStack_18 = &LAB_00afdfc1; local_1c = ExceptionList; - uVar6 = __security_cookie ^ (int)register0x00000010 - 0x10U; + uVar9 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; - *in_ECX = *param_1; - in_ECX[1] = param_1[1]; - in_ECX[2] = param_1[2]; - in_ECX[3] = param_1[3]; - in_ECX[4] = param_1[4]; - in_ECX[5] = param_1[5]; - in_ECX[6] = param_1[6]; - uVar3 = param_1[8]; - uVar4 = param_1[9]; - uVar5 = param_1[10]; - in_ECX[7] = param_1[7]; - in_ECX[8] = uVar3; - in_ECX[9] = uVar4; - in_ECX[10] = uVar5; - uVar3 = param_1[0xc]; - uVar4 = param_1[0xd]; - uVar5 = param_1[0xe]; - in_ECX[0xb] = param_1[0xb]; - in_ECX[0xc] = uVar3; - in_ECX[0xd] = uVar4; - in_ECX[0xe] = uVar5; - in_ECX[0xf] = param_1[0xf]; - in_ECX[0x10] = param_1[0x10]; - in_ECX[0x11] = param_1[0x11]; - *(undefined2 *)(in_ECX + 0x12) = *(undefined2 *)(param_1 + 0x12); - *(undefined2 *)((int)in_ECX + 0x4a) = *(undefined2 *)((int)param_1 + 0x4a); - in_ECX[0x13] = param_1[0x13]; - *(undefined2 *)(in_ECX + 0x14) = *(undefined2 *)(param_1 + 0x14); - *(undefined2 *)((int)in_ECX + 0x52) = *(undefined2 *)((int)param_1 + 0x52); - in_ECX[0x15] = param_1[0x15]; - in_ECX[0x16] = param_1[0x16]; - in_ECX[0x17] = param_1[0x17]; - in_ECX[0x18] = param_1[0x18]; - in_ECX[0x19] = param_1[0x19]; - in_ECX[0x1a] = 0; - in_ECX[0x1b] = 0; - in_ECX[0x1c] = 0; - puVar2 = (undefined4 *)param_1[0x1b]; - puVar10 = (undefined4 *)param_1[0x1a]; - if (puVar10 != puVar2) { - uVar7 = (int)puVar2 - (int)puVar10 >> 5; - if (0x7ffffff < uVar7) { + this->GridIndex = *param_2; + this->SafeGridIndex = param_2[1]; + this->ListIndex = param_2[2]; + this->Dimension = param_2[3]; + this->Data = (void *)param_2[4]; + this->OverrideData = (void *)param_2[5]; + this->AllowedDoors = param_2[6]; + iVar3 = param_2[8]; + iVar4 = param_2[9]; + iVar5 = param_2[10]; + this->_doors[0] = param_2[7]; + this->_doors[1] = iVar3; + this->_doors[2] = iVar4; + this->_doors[3] = iVar5; + iVar3 = param_2[0xc]; + iVar4 = param_2[0xd]; + iVar5 = param_2[0xe]; + this->_doors[4] = param_2[0xb]; + this->_doors[5] = iVar3; + this->_doors[6] = iVar4; + this->_doors[7] = iVar5; + this->DisplayFlags = param_2[0xf]; + this->VisitedCount = param_2[0x10]; + this->Flags = param_2[0x11]; + this->TotalMoneySpent = (short)param_2[0x12]; + this->ClearCount = *(short *)((int)param_2 + 0x4a); + this->GreedSubType = param_2[0x13]; + this->PoopCount = (short)param_2[0x14]; + this->TKeeperCoinSpawns = *(short *)((int)param_2 + 0x52); + this->PitsCount = param_2[0x15]; + this->DecorationSeed = param_2[0x16]; + this->SpawnSeed = param_2[0x17]; + this->AwardSeed = param_2[0x18]; + this->BossDeathSeed = param_2[0x19]; + (this->SavedGridEntities)._begin = (void *)0x0; + (this->SavedGridEntities)._end = (void *)0x0; + (this->SavedGridEntities)._capacity = (void *)0x0; + puVar2 = (undefined4 *)param_2[0x1b]; + puVar13 = (undefined4 *)param_2[0x1a]; + if (puVar13 != puVar2) { + uVar10 = (int)puVar2 - (int)puVar13 >> 5; + if (0x7ffffff < uVar10) { /* WARNING: Subroutine does not return */ - FUN_0040cee0(uVar6); + FUN_0040cee0(uVar9); } - iVar8 = std::_Allocate(); - in_ECX[0x1a] = iVar8; - in_ECX[0x1b] = iVar8; - in_ECX[0x1c] = iVar8 + uVar7 * 0x20; - puVar9 = (undefined4 *)in_ECX[0x1a]; + pvVar11 = (void *)std::_Allocate(); + (this->SavedGridEntities)._begin = pvVar11; + (this->SavedGridEntities)._end = pvVar11; + (this->SavedGridEntities)._capacity = (void *)((int)pvVar11 + uVar10 * 0x20); + puVar12 = (this->SavedGridEntities)._begin; do { - uVar3 = puVar10[1]; - uVar4 = puVar10[2]; - uVar5 = puVar10[3]; - *puVar9 = *puVar10; - puVar9[1] = uVar3; - puVar9[2] = uVar4; - puVar9[3] = uVar5; - puVar1 = puVar10 + 4; - uVar3 = puVar10[5]; - uVar4 = puVar10[6]; - uVar5 = puVar10[7]; - puVar10 = puVar10 + 8; - puVar9[4] = *puVar1; - puVar9[5] = uVar3; - puVar9[6] = uVar4; - puVar9[7] = uVar5; - puVar9 = puVar9 + 8; - } while (puVar10 != puVar2); - in_ECX[0x1b] = puVar9; + uVar6 = puVar13[1]; + uVar7 = puVar13[2]; + uVar8 = puVar13[3]; + *puVar12 = *puVar13; + puVar12[1] = uVar6; + puVar12[2] = uVar7; + puVar12[3] = uVar8; + puVar1 = puVar13 + 4; + uVar6 = puVar13[5]; + uVar7 = puVar13[6]; + uVar8 = puVar13[7]; + puVar13 = puVar13 + 8; + puVar12[4] = *puVar1; + puVar12[5] = uVar6; + puVar12[6] = uVar7; + puVar12[7] = uVar8; + puVar12 = puVar12 + 8; + } while (puVar13 != puVar2); + (this->SavedGridEntities)._end = puVar12; } local_14 = 0; - FUN_00752830(param_1 + 0x1d); + FUN_00752830(param_2 + 0x1d); local_14._0_1_ = 1; - in_ECX[0x20] = 0; - in_ECX[0x21] = 0; - iVar8 = operator_new(0x14); - *(int *)iVar8 = iVar8; - *(int *)(iVar8 + 4) = iVar8; - *(int *)(iVar8 + 8) = iVar8; - *(undefined2 *)(iVar8 + 0xc) = 0x101; - in_ECX[0x20] = iVar8; + (this->RestrictedGridIndexes)._head = (void *)0x0; + (this->RestrictedGridIndexes)._size = 0; + pvVar11 = (void *)operator_new(0x14); + *(void **)pvVar11 = pvVar11; + *(void **)((int)pvVar11 + 4) = pvVar11; + *(void **)((int)pvVar11 + 8) = pvVar11; + *(undefined2 *)((int)pvVar11 + 0xc) = 0x101; + (this->RestrictedGridIndexes)._head = pvVar11; local_14._0_1_ = 2; - std_set_uint_copy(param_1 + 0x20,in_ECX); + std_set_uint_copy(param_2 + 0x20,this); local_14 = CONCAT31(local_14._1_3_,3); - FUN_00752830(param_1 + 0x22); - uVar3 = param_1[0x26]; - uVar4 = param_1[0x27]; - uVar5 = param_1[0x28]; - in_ECX[0x25] = param_1[0x25]; - in_ECX[0x26] = uVar3; - in_ECX[0x27] = uVar4; - in_ECX[0x28] = uVar5; - uVar3 = param_1[0x2a]; - in_ECX[0x29] = param_1[0x29]; - in_ECX[0x2a] = uVar3; - *(undefined2 *)(in_ECX + 0x2b) = *(undefined2 *)(param_1 + 0x2b); - *(undefined2 *)((int)in_ECX + 0xae) = *(undefined2 *)((int)param_1 + 0xae); - in_ECX[0x2c] = param_1[0x2c]; - in_ECX[0x2d] = param_1[0x2d]; + FUN_00752830(param_2 + 0x22); + iVar3 = param_2[0x26]; + iVar4 = param_2[0x27]; + iVar5 = param_2[0x28]; + *(int *)&this->field_0x94 = param_2[0x25]; + *(int *)&this->field_0x98 = iVar3; + *(int *)&this->field_0x9c = iVar4; + *(int *)&this->field_0xa0 = iVar5; + iVar3 = param_2[0x2a]; + *(int *)&this->field_0xa4 = param_2[0x29]; + *(int *)&this->field_0xa8 = iVar3; + this->ShopItemIdx = (short)param_2[0x2b]; + this->ShopItemDiscountIdx = *(short *)((int)param_2 + 0xae); + this->DeliriumDistance = param_2[0x2c]; + this->Group = param_2[0x2d]; ExceptionList = local_1c; - return; + return this; } @@ -485711,8 +486491,8 @@ uint Level::maze_swap_rooms(int param_1,int param_2) { int *piVar1; int *piVar2; - undefined4 uVar3; - void *pvVar4; + void *pvVar3; + int iVar4; int iVar5; int iVar6; int iVar7; @@ -485722,386 +486502,385 @@ uint Level::maze_swap_rooms(int param_1,int param_2) int iVar11; int iVar12; int iVar13; - int iVar14; + RoomDescriptor *pRVar14; RoomDescriptor *pRVar15; - RoomDescriptor *pRVar16; - undefined4 *puVar17; + int *piVar16; + int *piVar17; int *piVar18; - int *piVar19; - int *piVar20; Level *in_ECX; - uint uVar21; - int iVar22; + uint uVar19; + int iVar20; + int *piVar21; + uint uVar22; int *piVar23; - uint uVar24; + int iVar24; int *piVar25; - int iVar26; - int *piVar27; - RoomDescriptor *pRVar28; + RoomDescriptor *pRVar26; undefined1 auStack_f0 [4]; RoomDescriptor *local_ec; RoomDescriptor *local_d0; - undefined1 local_c8 [128]; - int local_48 [15]; + RoomDescriptor local_c8; uint local_c; local_c = __security_cookie ^ (uint)auStack_f0; - pRVar15 = GetRoomByIdx(in_ECX,param_1,-1); - local_ec = in_ECX->_roomList + pRVar15->ListIndex; - pRVar16 = GetRoomByIdx(in_ECX,param_2,-1); - pRVar15 = local_ec; - pRVar28 = in_ECX->_roomList + pRVar16->ListIndex; - if ((*(char *)((int)local_ec->Data + 0x46) != *(char *)((int)pRVar28->Data + 0x46)) || - (*(char *)((int)local_ec->Data + 0x47) != *(char *)((int)pRVar28->Data + 0x47))) { - return pRVar16->ListIndex * 0xb8 & 0xffffff00; + pRVar14 = GetRoomByIdx(in_ECX,param_1,-1); + local_ec = in_ECX->_roomList + pRVar14->ListIndex; + pRVar15 = GetRoomByIdx(in_ECX,param_2,-1); + pRVar14 = local_ec; + pRVar26 = in_ECX->_roomList + pRVar15->ListIndex; + if ((*(char *)((int)local_ec->Data + 0x46) != *(char *)((int)pRVar26->Data + 0x46)) || + (*(char *)((int)local_ec->Data + 0x47) != *(char *)((int)pRVar26->Data + 0x47))) { + return pRVar15->ListIndex * 0xb8 & 0xffffff00; } - local_d0 = pRVar28; - RoomDescriptor::move_constructor(local_ec); - RoomDescriptor::operator_assign(pRVar28); - RoomDescriptor::operator_assign(local_c8); + local_d0 = pRVar26; + RoomDescriptor::move_constructor(&local_c8,local_ec); + RoomDescriptor::operator_assign(pRVar14,pRVar26); + RoomDescriptor::operator_assign(pRVar26,&local_c8); std::vector::_Tidy(); FID_conflict__Erase_tree_>_> - (local_48,(fuzzer_allocator_> *)local_48, - *(_Tree_node **)(local_48[0] + 4)); - operator_delete(local_48[0],0x14); + (&local_c8.RestrictedGridIndexes, + (fuzzer_allocator_> *) + &local_c8.RestrictedGridIndexes, + *(_Tree_node **)((int)local_c8.RestrictedGridIndexes._head + 4)); + operator_delete(local_c8.RestrictedGridIndexes._head,0x14); std::vector::_Tidy(); FUN_00708f90(); - puVar17 = (undefined4 *)&pRVar15->field_0x1c; - if ((pRVar15 != pRVar28) && (puVar17 != &pRVar15->DisplayFlags)) { + piVar25 = pRVar14->_doors; + if ((pRVar14 != pRVar26) && (piVar25 != &pRVar14->DisplayFlags)) { do { - uVar3 = *puVar17; - *puVar17 = *(undefined4 *)(((int)pRVar28 - (int)pRVar15) + (int)puVar17); - *(undefined4 *)(((int)pRVar28 - (int)pRVar15) + (int)puVar17) = uVar3; - puVar17 = puVar17 + 1; - } while (puVar17 != &pRVar15->DisplayFlags); - pRVar15 = local_ec; - pRVar28 = local_d0; + iVar20 = *piVar25; + *piVar25 = *(int *)(((int)pRVar26 - (int)pRVar14) + (int)piVar25); + *(int *)(((int)pRVar26 - (int)pRVar14) + (int)piVar25) = iVar20; + piVar25 = piVar25 + 1; + } while (piVar25 != &pRVar14->DisplayFlags); + pRVar14 = local_ec; + pRVar26 = local_d0; } - iVar22 = pRVar15->GridIndex; - pRVar15->GridIndex = pRVar28->GridIndex; - pRVar28->GridIndex = iVar22; - iVar22 = pRVar15->SafeGridIndex; - pRVar15->SafeGridIndex = pRVar28->SafeGridIndex; - pRVar28->SafeGridIndex = iVar22; - iVar22 = pRVar15->ListIndex; - pRVar15->ListIndex = pRVar28->ListIndex; - pRVar28->ListIndex = iVar22; - uVar24 = (uint)*(byte *)((int)pRVar15->Data + 0x46); - uVar21 = (uint)*(byte *)((int)pRVar15->Data + 0x47); - iVar22 = (uVar21 + 1) * (uVar24 + 2); - piVar2 = (int *)(uVar24 * 4 + 8); - piVar18 = (int *)(uVar24 * 5 + 9); - piVar27 = (int *)(iVar22 + 7); - piVar23 = (int *)(iVar22 + 0x14); - iVar22 = uVar24 + 2; - piVar19 = (int *)(iVar22 * 0xb + uVar24 + 1); - piVar25 = (int *)((uVar21 + 2) * (uVar24 + 2)); - piVar20 = piVar19; - if (piVar2 < piVar25) { - pvVar4 = (local_ec->SavedGridEntities)._begin; - iVar26 = (int)piVar2 * 0x20; - piVar1 = (int *)((int)pvVar4 + iVar26); - if ((*(int *)((int)pvVar4 + iVar26) == 0x10) || - (piVar20 = (local_d0->SavedGridEntities)._begin, pRVar28 = local_d0, - piVar20[(int)piVar2 * 8] == 0x10)) { - piVar20 = (int *)((int)(local_d0->SavedGridEntities)._begin + iVar26); - iVar26 = piVar20[1]; - iVar5 = piVar20[2]; - iVar6 = piVar20[3]; - iVar7 = *piVar1; - iVar8 = piVar1[1]; - iVar9 = piVar1[2]; - iVar10 = piVar1[3]; - iVar11 = piVar1[4]; - iVar12 = piVar1[5]; - iVar13 = piVar1[6]; - iVar14 = piVar1[7]; - *piVar1 = *piVar20; - piVar1[1] = iVar26; - piVar1[2] = iVar5; - piVar1[3] = iVar6; - iVar26 = piVar20[5]; - iVar5 = piVar20[6]; - iVar6 = piVar20[7]; - piVar1[4] = piVar20[4]; - piVar1[5] = iVar26; - piVar1[6] = iVar5; - piVar1[7] = iVar6; - *piVar20 = iVar7; - piVar20[1] = iVar8; - piVar20[2] = iVar9; - piVar20[3] = iVar10; - piVar20[4] = iVar11; - piVar20[5] = iVar12; - piVar20[6] = iVar13; - piVar20[7] = iVar14; - pRVar28 = local_d0; + iVar20 = pRVar14->GridIndex; + pRVar14->GridIndex = pRVar26->GridIndex; + pRVar26->GridIndex = iVar20; + iVar20 = pRVar14->SafeGridIndex; + pRVar14->SafeGridIndex = pRVar26->SafeGridIndex; + pRVar26->SafeGridIndex = iVar20; + iVar20 = pRVar14->ListIndex; + pRVar14->ListIndex = pRVar26->ListIndex; + pRVar26->ListIndex = iVar20; + uVar22 = (uint)*(byte *)((int)pRVar14->Data + 0x46); + uVar19 = (uint)*(byte *)((int)pRVar14->Data + 0x47); + iVar20 = (uVar19 + 1) * (uVar22 + 2); + piVar2 = (int *)(uVar22 * 4 + 8); + piVar16 = (int *)(uVar22 * 5 + 9); + piVar25 = (int *)(iVar20 + 7); + piVar21 = (int *)(iVar20 + 0x14); + iVar20 = uVar22 + 2; + piVar17 = (int *)(iVar20 * 0xb + uVar22 + 1); + piVar23 = (int *)((uVar19 + 2) * (uVar22 + 2)); + piVar18 = piVar17; + if (piVar2 < piVar23) { + pvVar3 = (local_ec->SavedGridEntities)._begin; + iVar24 = (int)piVar2 * 0x20; + piVar1 = (int *)((int)pvVar3 + iVar24); + if ((*(int *)((int)pvVar3 + iVar24) == 0x10) || + (piVar18 = (local_d0->SavedGridEntities)._begin, pRVar26 = local_d0, + piVar18[(int)piVar2 * 8] == 0x10)) { + piVar18 = (int *)((int)(local_d0->SavedGridEntities)._begin + iVar24); + iVar24 = piVar18[1]; + iVar4 = piVar18[2]; + iVar5 = piVar18[3]; + iVar6 = *piVar1; + iVar7 = piVar1[1]; + iVar8 = piVar1[2]; + iVar9 = piVar1[3]; + iVar10 = piVar1[4]; + iVar11 = piVar1[5]; + iVar12 = piVar1[6]; + iVar13 = piVar1[7]; + *piVar1 = *piVar18; + piVar1[1] = iVar24; + piVar1[2] = iVar4; + piVar1[3] = iVar5; + iVar24 = piVar18[5]; + iVar4 = piVar18[6]; + iVar5 = piVar18[7]; + piVar1[4] = piVar18[4]; + piVar1[5] = iVar24; + piVar1[6] = iVar4; + piVar1[7] = iVar5; + *piVar18 = iVar6; + piVar18[1] = iVar7; + piVar18[2] = iVar8; + piVar18[3] = iVar9; + piVar18[4] = iVar10; + piVar18[5] = iVar11; + piVar18[6] = iVar12; + piVar18[7] = iVar13; + pRVar26 = local_d0; } } - if ((&DAT_00000007 < piVar25) && - ((pvVar4 = (local_ec->SavedGridEntities)._begin, *(int *)((int)pvVar4 + 0xe0) == 0x10 || - (piVar20 = (pRVar28->SavedGridEntities)._begin, piVar20[0x38] == 0x10)))) { - piVar20 = (pRVar28->SavedGridEntities)._begin; - iVar26 = *(int *)((int)pvVar4 + 0xe0); - iVar5 = *(int *)((int)pvVar4 + 0xe4); - iVar6 = *(int *)((int)pvVar4 + 0xe8); - iVar7 = *(int *)((int)pvVar4 + 0xec); - iVar8 = *(int *)((int)pvVar4 + 0xf0); - iVar9 = *(int *)((int)pvVar4 + 0xf4); - iVar10 = *(int *)((int)pvVar4 + 0xf8); - iVar11 = *(int *)((int)pvVar4 + 0xfc); - iVar12 = piVar20[0x39]; - iVar13 = piVar20[0x3a]; - iVar14 = piVar20[0x3b]; - *(int *)((int)pvVar4 + 0xe0) = piVar20[0x38]; - *(int *)((int)pvVar4 + 0xe4) = iVar12; - *(int *)((int)pvVar4 + 0xe8) = iVar13; - *(int *)((int)pvVar4 + 0xec) = iVar14; - iVar12 = piVar20[0x3d]; - iVar13 = piVar20[0x3e]; - iVar14 = piVar20[0x3f]; - *(int *)((int)pvVar4 + 0xf0) = piVar20[0x3c]; - *(int *)((int)pvVar4 + 0xf4) = iVar12; - *(int *)((int)pvVar4 + 0xf8) = iVar13; - *(int *)((int)pvVar4 + 0xfc) = iVar14; - piVar20[0x38] = iVar26; - piVar20[0x39] = iVar5; - piVar20[0x3a] = iVar6; - piVar20[0x3b] = iVar7; - piVar20[0x3c] = iVar8; - piVar20[0x3d] = iVar9; - piVar20[0x3e] = iVar10; - piVar20[0x3f] = iVar11; + if ((&DAT_00000007 < piVar23) && + ((pvVar3 = (local_ec->SavedGridEntities)._begin, *(int *)((int)pvVar3 + 0xe0) == 0x10 || + (piVar18 = (pRVar26->SavedGridEntities)._begin, piVar18[0x38] == 0x10)))) { + piVar18 = (pRVar26->SavedGridEntities)._begin; + iVar24 = *(int *)((int)pvVar3 + 0xe0); + iVar4 = *(int *)((int)pvVar3 + 0xe4); + iVar5 = *(int *)((int)pvVar3 + 0xe8); + iVar6 = *(int *)((int)pvVar3 + 0xec); + iVar7 = *(int *)((int)pvVar3 + 0xf0); + iVar8 = *(int *)((int)pvVar3 + 0xf4); + iVar9 = *(int *)((int)pvVar3 + 0xf8); + iVar10 = *(int *)((int)pvVar3 + 0xfc); + iVar11 = piVar18[0x39]; + iVar12 = piVar18[0x3a]; + iVar13 = piVar18[0x3b]; + *(int *)((int)pvVar3 + 0xe0) = piVar18[0x38]; + *(int *)((int)pvVar3 + 0xe4) = iVar11; + *(int *)((int)pvVar3 + 0xe8) = iVar12; + *(int *)((int)pvVar3 + 0xec) = iVar13; + iVar11 = piVar18[0x3d]; + iVar12 = piVar18[0x3e]; + iVar13 = piVar18[0x3f]; + *(int *)((int)pvVar3 + 0xf0) = piVar18[0x3c]; + *(int *)((int)pvVar3 + 0xf4) = iVar11; + *(int *)((int)pvVar3 + 0xf8) = iVar12; + *(int *)((int)pvVar3 + 0xfc) = iVar13; + piVar18[0x38] = iVar24; + piVar18[0x39] = iVar4; + piVar18[0x3a] = iVar5; + piVar18[0x3b] = iVar6; + piVar18[0x3c] = iVar7; + piVar18[0x3d] = iVar8; + piVar18[0x3e] = iVar9; + piVar18[0x3f] = iVar10; } - if (piVar18 < piVar25) { - pvVar4 = (local_ec->SavedGridEntities)._begin; - iVar26 = (int)piVar18 * 0x20; - piVar2 = (int *)((int)pvVar4 + iVar26); - if ((*(int *)((int)pvVar4 + iVar26) == 0x10) || - (piVar20 = (pRVar28->SavedGridEntities)._begin, piVar20[(int)piVar18 * 8] == 0x10)) { - piVar20 = (int *)((int)(pRVar28->SavedGridEntities)._begin + iVar26); - iVar26 = piVar20[1]; - iVar5 = piVar20[2]; - iVar6 = piVar20[3]; - iVar7 = *piVar2; - iVar8 = piVar2[1]; - iVar9 = piVar2[2]; - iVar10 = piVar2[3]; - iVar11 = piVar2[4]; - iVar12 = piVar2[5]; - iVar13 = piVar2[6]; - iVar14 = piVar2[7]; - *piVar2 = *piVar20; - piVar2[1] = iVar26; - piVar2[2] = iVar5; - piVar2[3] = iVar6; - iVar26 = piVar20[5]; - iVar5 = piVar20[6]; - iVar6 = piVar20[7]; - piVar2[4] = piVar20[4]; - piVar2[5] = iVar26; - piVar2[6] = iVar5; - piVar2[7] = iVar6; - *piVar20 = iVar7; - piVar20[1] = iVar8; - piVar20[2] = iVar9; - piVar20[3] = iVar10; - piVar20[4] = iVar11; - piVar20[5] = iVar12; - piVar20[6] = iVar13; - piVar20[7] = iVar14; + if (piVar16 < piVar23) { + pvVar3 = (local_ec->SavedGridEntities)._begin; + iVar24 = (int)piVar16 * 0x20; + piVar2 = (int *)((int)pvVar3 + iVar24); + if ((*(int *)((int)pvVar3 + iVar24) == 0x10) || + (piVar18 = (pRVar26->SavedGridEntities)._begin, piVar18[(int)piVar16 * 8] == 0x10)) { + piVar18 = (int *)((int)(pRVar26->SavedGridEntities)._begin + iVar24); + iVar24 = piVar18[1]; + iVar4 = piVar18[2]; + iVar5 = piVar18[3]; + iVar6 = *piVar2; + iVar7 = piVar2[1]; + iVar8 = piVar2[2]; + iVar9 = piVar2[3]; + iVar10 = piVar2[4]; + iVar11 = piVar2[5]; + iVar12 = piVar2[6]; + iVar13 = piVar2[7]; + *piVar2 = *piVar18; + piVar2[1] = iVar24; + piVar2[2] = iVar4; + piVar2[3] = iVar5; + iVar24 = piVar18[5]; + iVar4 = piVar18[6]; + iVar5 = piVar18[7]; + piVar2[4] = piVar18[4]; + piVar2[5] = iVar24; + piVar2[6] = iVar4; + piVar2[7] = iVar5; + *piVar18 = iVar6; + piVar18[1] = iVar7; + piVar18[2] = iVar8; + piVar18[3] = iVar9; + piVar18[4] = iVar10; + piVar18[5] = iVar11; + piVar18[6] = iVar12; + piVar18[7] = iVar13; } } - if (piVar27 < piVar25) { - pvVar4 = (local_ec->SavedGridEntities)._begin; - iVar26 = (int)piVar27 * 0x20; - piVar2 = (int *)((int)pvVar4 + iVar26); - if ((*(int *)((int)pvVar4 + iVar26) == 0x10) || - (piVar20 = (pRVar28->SavedGridEntities)._begin, piVar20[(int)piVar27 * 8] == 0x10)) { - piVar20 = (int *)((int)(pRVar28->SavedGridEntities)._begin + iVar26); - iVar26 = piVar20[1]; - iVar5 = piVar20[2]; - iVar6 = piVar20[3]; - iVar7 = *piVar2; - iVar8 = piVar2[1]; - iVar9 = piVar2[2]; - iVar10 = piVar2[3]; - iVar11 = piVar2[4]; - iVar12 = piVar2[5]; - iVar13 = piVar2[6]; - iVar14 = piVar2[7]; - *piVar2 = *piVar20; - piVar2[1] = iVar26; - piVar2[2] = iVar5; - piVar2[3] = iVar6; - iVar26 = piVar20[5]; - iVar5 = piVar20[6]; - iVar6 = piVar20[7]; - piVar2[4] = piVar20[4]; - piVar2[5] = iVar26; - piVar2[6] = iVar5; - piVar2[7] = iVar6; - *piVar20 = iVar7; - piVar20[1] = iVar8; - piVar20[2] = iVar9; - piVar20[3] = iVar10; - piVar20[4] = iVar11; - piVar20[5] = iVar12; - piVar20[6] = iVar13; - piVar20[7] = iVar14; + if (piVar25 < piVar23) { + pvVar3 = (local_ec->SavedGridEntities)._begin; + iVar24 = (int)piVar25 * 0x20; + piVar2 = (int *)((int)pvVar3 + iVar24); + if ((*(int *)((int)pvVar3 + iVar24) == 0x10) || + (piVar18 = (pRVar26->SavedGridEntities)._begin, piVar18[(int)piVar25 * 8] == 0x10)) { + piVar18 = (int *)((int)(pRVar26->SavedGridEntities)._begin + iVar24); + iVar24 = piVar18[1]; + iVar4 = piVar18[2]; + iVar5 = piVar18[3]; + iVar6 = *piVar2; + iVar7 = piVar2[1]; + iVar8 = piVar2[2]; + iVar9 = piVar2[3]; + iVar10 = piVar2[4]; + iVar11 = piVar2[5]; + iVar12 = piVar2[6]; + iVar13 = piVar2[7]; + *piVar2 = *piVar18; + piVar2[1] = iVar24; + piVar2[2] = iVar4; + piVar2[3] = iVar5; + iVar24 = piVar18[5]; + iVar4 = piVar18[6]; + iVar5 = piVar18[7]; + piVar2[4] = piVar18[4]; + piVar2[5] = iVar24; + piVar2[6] = iVar4; + piVar2[7] = iVar5; + *piVar18 = iVar6; + piVar18[1] = iVar7; + piVar18[2] = iVar8; + piVar18[3] = iVar9; + piVar18[4] = iVar10; + piVar18[5] = iVar11; + piVar18[6] = iVar12; + piVar18[7] = iVar13; } } - if ((int *)(iVar22 * 0xb) < piVar25) { - pvVar4 = (local_ec->SavedGridEntities)._begin; - iVar26 = iVar22 * 0x160; - piVar27 = (int *)((int)pvVar4 + iVar26); - if ((*(int *)((int)pvVar4 + iVar26) == 0x10) || - (piVar20 = (pRVar28->SavedGridEntities)._begin, piVar20[iVar22 * 0x58] == 0x10)) { - piVar20 = (int *)((int)(pRVar28->SavedGridEntities)._begin + iVar26); - iVar22 = piVar20[1]; - iVar26 = piVar20[2]; - iVar5 = piVar20[3]; - iVar6 = *piVar27; - iVar7 = piVar27[1]; - iVar8 = piVar27[2]; - iVar9 = piVar27[3]; - iVar10 = piVar27[4]; - iVar11 = piVar27[5]; - iVar12 = piVar27[6]; - iVar13 = piVar27[7]; - *piVar27 = *piVar20; - piVar27[1] = iVar22; - piVar27[2] = iVar26; - piVar27[3] = iVar5; - iVar22 = piVar20[5]; - iVar26 = piVar20[6]; - iVar5 = piVar20[7]; - piVar27[4] = piVar20[4]; - piVar27[5] = iVar22; - piVar27[6] = iVar26; - piVar27[7] = iVar5; - *piVar20 = iVar6; - piVar20[1] = iVar7; - piVar20[2] = iVar8; - piVar20[3] = iVar9; - piVar20[4] = iVar10; - piVar20[5] = iVar11; - piVar20[6] = iVar12; - piVar20[7] = iVar13; + if ((int *)(iVar20 * 0xb) < piVar23) { + pvVar3 = (local_ec->SavedGridEntities)._begin; + iVar24 = iVar20 * 0x160; + piVar25 = (int *)((int)pvVar3 + iVar24); + if ((*(int *)((int)pvVar3 + iVar24) == 0x10) || + (piVar18 = (pRVar26->SavedGridEntities)._begin, piVar18[iVar20 * 0x58] == 0x10)) { + piVar18 = (int *)((int)(pRVar26->SavedGridEntities)._begin + iVar24); + iVar20 = piVar18[1]; + iVar24 = piVar18[2]; + iVar4 = piVar18[3]; + iVar5 = *piVar25; + iVar6 = piVar25[1]; + iVar7 = piVar25[2]; + iVar8 = piVar25[3]; + iVar9 = piVar25[4]; + iVar10 = piVar25[5]; + iVar11 = piVar25[6]; + iVar12 = piVar25[7]; + *piVar25 = *piVar18; + piVar25[1] = iVar20; + piVar25[2] = iVar24; + piVar25[3] = iVar4; + iVar20 = piVar18[5]; + iVar24 = piVar18[6]; + iVar4 = piVar18[7]; + piVar25[4] = piVar18[4]; + piVar25[5] = iVar20; + piVar25[6] = iVar24; + piVar25[7] = iVar4; + *piVar18 = iVar5; + piVar18[1] = iVar6; + piVar18[2] = iVar7; + piVar18[3] = iVar8; + piVar18[4] = iVar9; + piVar18[5] = iVar10; + piVar18[6] = iVar11; + piVar18[7] = iVar12; } } - if ((&DAT_00000014 < piVar25) && - ((pvVar4 = (local_ec->SavedGridEntities)._begin, *(int *)((int)pvVar4 + 0x280) == 0x10 || - (piVar20 = (pRVar28->SavedGridEntities)._begin, piVar20[0xa0] == 0x10)))) { - piVar20 = (pRVar28->SavedGridEntities)._begin; - iVar22 = *(int *)((int)pvVar4 + 0x280); - iVar26 = *(int *)((int)pvVar4 + 0x284); - iVar5 = *(int *)((int)pvVar4 + 0x288); - iVar6 = *(int *)((int)pvVar4 + 0x28c); - iVar7 = *(int *)((int)pvVar4 + 0x290); - iVar8 = *(int *)((int)pvVar4 + 0x294); - iVar9 = *(int *)((int)pvVar4 + 0x298); - iVar10 = *(int *)((int)pvVar4 + 0x29c); - iVar11 = piVar20[0xa1]; - iVar12 = piVar20[0xa2]; - iVar13 = piVar20[0xa3]; - *(int *)((int)pvVar4 + 0x280) = piVar20[0xa0]; - *(int *)((int)pvVar4 + 0x284) = iVar11; - *(int *)((int)pvVar4 + 0x288) = iVar12; - *(int *)((int)pvVar4 + 0x28c) = iVar13; - iVar11 = piVar20[0xa5]; - iVar12 = piVar20[0xa6]; - iVar13 = piVar20[0xa7]; - *(int *)((int)pvVar4 + 0x290) = piVar20[0xa4]; - *(int *)((int)pvVar4 + 0x294) = iVar11; - *(int *)((int)pvVar4 + 0x298) = iVar12; - *(int *)((int)pvVar4 + 0x29c) = iVar13; - piVar20[0xa0] = iVar22; - piVar20[0xa1] = iVar26; - piVar20[0xa2] = iVar5; - piVar20[0xa3] = iVar6; - piVar20[0xa4] = iVar7; - piVar20[0xa5] = iVar8; - piVar20[0xa6] = iVar9; - piVar20[0xa7] = iVar10; + if ((&DAT_00000014 < piVar23) && + ((pvVar3 = (local_ec->SavedGridEntities)._begin, *(int *)((int)pvVar3 + 0x280) == 0x10 || + (piVar18 = (pRVar26->SavedGridEntities)._begin, piVar18[0xa0] == 0x10)))) { + piVar18 = (pRVar26->SavedGridEntities)._begin; + iVar20 = *(int *)((int)pvVar3 + 0x280); + iVar24 = *(int *)((int)pvVar3 + 0x284); + iVar4 = *(int *)((int)pvVar3 + 0x288); + iVar5 = *(int *)((int)pvVar3 + 0x28c); + iVar6 = *(int *)((int)pvVar3 + 0x290); + iVar7 = *(int *)((int)pvVar3 + 0x294); + iVar8 = *(int *)((int)pvVar3 + 0x298); + iVar9 = *(int *)((int)pvVar3 + 0x29c); + iVar10 = piVar18[0xa1]; + iVar11 = piVar18[0xa2]; + iVar12 = piVar18[0xa3]; + *(int *)((int)pvVar3 + 0x280) = piVar18[0xa0]; + *(int *)((int)pvVar3 + 0x284) = iVar10; + *(int *)((int)pvVar3 + 0x288) = iVar11; + *(int *)((int)pvVar3 + 0x28c) = iVar12; + iVar10 = piVar18[0xa5]; + iVar11 = piVar18[0xa6]; + iVar12 = piVar18[0xa7]; + *(int *)((int)pvVar3 + 0x290) = piVar18[0xa4]; + *(int *)((int)pvVar3 + 0x294) = iVar10; + *(int *)((int)pvVar3 + 0x298) = iVar11; + *(int *)((int)pvVar3 + 0x29c) = iVar12; + piVar18[0xa0] = iVar20; + piVar18[0xa1] = iVar24; + piVar18[0xa2] = iVar4; + piVar18[0xa3] = iVar5; + piVar18[0xa4] = iVar6; + piVar18[0xa5] = iVar7; + piVar18[0xa6] = iVar8; + piVar18[0xa7] = iVar9; } - if (piVar19 < piVar25) { - piVar27 = (int *)((int)piVar19 * 0x20 + (int)(local_ec->SavedGridEntities)._begin); - if (*piVar27 != 0x10) { - piVar20 = (pRVar28->SavedGridEntities)._begin; - if (piVar20[(int)piVar19 * 8] != 0x10) goto LAB_0074962d; + if (piVar17 < piVar23) { + piVar25 = (int *)((int)piVar17 * 0x20 + (int)(local_ec->SavedGridEntities)._begin); + if (*piVar25 != 0x10) { + piVar18 = (pRVar26->SavedGridEntities)._begin; + if (piVar18[(int)piVar17 * 8] != 0x10) goto LAB_0074962d; } - piVar20 = (int *)((int)(pRVar28->SavedGridEntities)._begin + (int)piVar19 * 0x20); - iVar22 = *piVar27; - iVar26 = piVar27[1]; - iVar5 = piVar27[2]; - iVar6 = piVar27[3]; - iVar7 = piVar27[4]; - iVar8 = piVar27[5]; - iVar9 = piVar27[6]; - iVar10 = piVar27[7]; - iVar11 = piVar20[1]; - iVar12 = piVar20[2]; - iVar13 = piVar20[3]; - *piVar27 = *piVar20; - piVar27[1] = iVar11; - piVar27[2] = iVar12; - piVar27[3] = iVar13; - iVar11 = piVar20[5]; - iVar12 = piVar20[6]; - iVar13 = piVar20[7]; - piVar27[4] = piVar20[4]; - piVar27[5] = iVar11; - piVar27[6] = iVar12; - piVar27[7] = iVar13; - *piVar20 = iVar22; - piVar20[1] = iVar26; - piVar20[2] = iVar5; - piVar20[3] = iVar6; - piVar20[4] = iVar7; - piVar20[5] = iVar8; - piVar20[6] = iVar9; - piVar20[7] = iVar10; + piVar18 = (int *)((int)(pRVar26->SavedGridEntities)._begin + (int)piVar17 * 0x20); + iVar20 = *piVar25; + iVar24 = piVar25[1]; + iVar4 = piVar25[2]; + iVar5 = piVar25[3]; + iVar6 = piVar25[4]; + iVar7 = piVar25[5]; + iVar8 = piVar25[6]; + iVar9 = piVar25[7]; + iVar10 = piVar18[1]; + iVar11 = piVar18[2]; + iVar12 = piVar18[3]; + *piVar25 = *piVar18; + piVar25[1] = iVar10; + piVar25[2] = iVar11; + piVar25[3] = iVar12; + iVar10 = piVar18[5]; + iVar11 = piVar18[6]; + iVar12 = piVar18[7]; + piVar25[4] = piVar18[4]; + piVar25[5] = iVar10; + piVar25[6] = iVar11; + piVar25[7] = iVar12; + *piVar18 = iVar20; + piVar18[1] = iVar24; + piVar18[2] = iVar4; + piVar18[3] = iVar5; + piVar18[4] = iVar6; + piVar18[5] = iVar7; + piVar18[6] = iVar8; + piVar18[7] = iVar9; } LAB_0074962d: - if (piVar23 < piVar25) { - piVar27 = (int *)((int)(local_ec->SavedGridEntities)._begin + (int)piVar23 * 0x20); - if ((*piVar27 == 0x10) || - (piVar20 = (pRVar28->SavedGridEntities)._begin, piVar20[(int)piVar23 * 8] == 0x10)) { - iVar22 = *piVar27; - iVar26 = piVar27[1]; - iVar5 = piVar27[2]; - iVar6 = piVar27[3]; - piVar20 = (int *)((int)(pRVar28->SavedGridEntities)._begin + (int)piVar23 * 0x20); - iVar7 = piVar27[4]; - iVar8 = piVar27[5]; - iVar9 = piVar27[6]; - iVar10 = piVar27[7]; - iVar11 = piVar20[1]; - iVar12 = piVar20[2]; - iVar13 = piVar20[3]; - *piVar27 = *piVar20; - piVar27[1] = iVar11; - piVar27[2] = iVar12; - piVar27[3] = iVar13; - iVar11 = piVar20[5]; - iVar12 = piVar20[6]; - iVar13 = piVar20[7]; - piVar27[4] = piVar20[4]; - piVar27[5] = iVar11; - piVar27[6] = iVar12; - piVar27[7] = iVar13; - *piVar20 = iVar22; - piVar20[1] = iVar26; - piVar20[2] = iVar5; - piVar20[3] = iVar6; - piVar20[4] = iVar7; - piVar20[5] = iVar8; - piVar20[6] = iVar9; - piVar20[7] = iVar10; + if (piVar21 < piVar23) { + piVar25 = (int *)((int)(local_ec->SavedGridEntities)._begin + (int)piVar21 * 0x20); + if ((*piVar25 == 0x10) || + (piVar18 = (pRVar26->SavedGridEntities)._begin, piVar18[(int)piVar21 * 8] == 0x10)) { + iVar20 = *piVar25; + iVar24 = piVar25[1]; + iVar4 = piVar25[2]; + iVar5 = piVar25[3]; + piVar18 = (int *)((int)(pRVar26->SavedGridEntities)._begin + (int)piVar21 * 0x20); + iVar6 = piVar25[4]; + iVar7 = piVar25[5]; + iVar8 = piVar25[6]; + iVar9 = piVar25[7]; + iVar10 = piVar18[1]; + iVar11 = piVar18[2]; + iVar12 = piVar18[3]; + *piVar25 = *piVar18; + piVar25[1] = iVar10; + piVar25[2] = iVar11; + piVar25[3] = iVar12; + iVar10 = piVar18[5]; + iVar11 = piVar18[6]; + iVar12 = piVar18[7]; + piVar25[4] = piVar18[4]; + piVar25[5] = iVar10; + piVar25[6] = iVar11; + piVar25[7] = iVar12; + *piVar18 = iVar20; + piVar18[1] = iVar24; + piVar18[2] = iVar4; + piVar18[3] = iVar5; + piVar18[4] = iVar6; + piVar18[5] = iVar7; + piVar18[6] = iVar8; + piVar18[7] = iVar9; } } - return CONCAT31((int3)((uint)piVar20 >> 8),1); + return CONCAT31((int3)((uint)piVar18 >> 8),1); } @@ -486153,22 +486932,22 @@ int * Level::get_rooms_within_two_doors(int *param_1,int param_2) pRVar3 = GetRoomByIdx(local_14,param_2,-1); local_24 = 0; local_28 = 1; - local_20 = (int *)&pRVar3->field_0x1c; + local_20 = pRVar3->_doors; local_1c = pRVar3; do { uVar5 = local_24; uVar1 = local_28; - if ((-1 < *local_20) && (((&pRVar3->AllowedDoors)[local_24 >> 5] & local_28) != 0)) { + if ((-1 < *local_20) && ((pRVar3->_doors[(local_24 >> 5) - 1] & local_28) != 0)) { pRVar3 = GetRoomByIdx(this,*local_20,-1); if (((*(int *)((int)pRVar3->Data + 8) == 1) || (pRVar3->VisitedCount != 0)) && ((pRVar3->Flags & 1) == 0)) { std::set::insert(local_34,local_20); - piVar4 = (int *)&pRVar3->field_0x1c; + piVar4 = pRVar3->_doors; local_18 = 0; uVar1 = 1; do { iVar2 = *piVar4; - if (((-1 < iVar2) && (((&pRVar3->AllowedDoors)[local_18 >> 5] & uVar1) != 0)) && + if (((-1 < iVar2) && ((pRVar3->_doors[(local_18 >> 5) - 1] & uVar1) != 0)) && (iVar2 != param_2)) { GetRoomByIdx(local_14,iVar2,-1); if (((*(int *)((int)pRVar3->Data + 8) == 1) || (pRVar3->VisitedCount != 0)) && @@ -486309,15 +487088,14 @@ void __thiscall Level::InitializeDevilAngelRoom(Level *this,byte ForceAngel,byte char cVar8; RoomConfig *this_00; uint uVar9; - RNG RVar10; + uint uVar10; uint uVar11; - uint uVar12; - int iVar13; - RoomConfig_Room *pRVar14; - byte bVar15; - int iVar16; - RoomDescriptor *pRVar17; - uint uVar18; + int iVar12; + RoomConfig_Room *pRVar13; + byte bVar14; + int iVar15; + RoomDescriptor *pRVar16; + uint uVar17; float in_XMM0_Da; undefined3 in_stack_00000005; undefined3 in_stack_00000009; @@ -486343,11 +487121,11 @@ void __thiscall Level::InitializeDevilAngelRoom(Level *this,byte ForceAngel,byte local_8 = 0xffffffff; _Init_thread_footer(&g_invalidRoomDescriptorGuard); } - pRVar17 = &g_roomDescriptorDummy; + pRVar16 = &g_roomDescriptorDummy; if ((uint)this->_currentDimensionIdx < 3) { - pRVar17 = this->_roomList + 0x1fb; + pRVar16 = this->_roomList + 0x1fb; } - if (pRVar17->Data != (void *)0x0) { + if (pRVar16->Data != (void *)0x0) { ExceptionList = local_10; return; } @@ -486357,28 +487135,28 @@ void __thiscall Level::InitializeDevilAngelRoom(Level *this,byte ForceAngel,byte local_28 = 99; local_20 = 0; get_angel_room_chance(); - RVar10 = this->_devilAngelRoomRNG; + uVar9 = (this->_devilAngelRoomRNG)._seed; pRVar1 = &this->_devilAngelRoomRNG; - if (RVar10 == (RNG)0x0) { + if (uVar9 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182e8 & 0x1f) ^ (uint)RVar10; - uVar9 = uVar9 << ((byte)*(undefined4 *)&this->field_0x182ec & 0x1f) ^ uVar9; - RVar10 = (RNG)(uVar9 >> ((byte)*(undefined4 *)&this->field_0x182f0 & 0x1f) ^ uVar9); - this->_devilAngelRoomRNG = RVar10; - uVar9 = g_game->_debugCurses; - iVar16 = g_game->_stage; - bVar4 = (float)((double)(int)RVar10 + __uint_to_double_fixup[-((int)RVar10 >> 0x1f)]) * + uVar9 = uVar9 >> ((byte)(this->_devilAngelRoomRNG)._shift1 & 0x1f) ^ uVar9; + uVar9 = uVar9 << ((byte)(this->_devilAngelRoomRNG)._shift2 & 0x1f) ^ uVar9; + uVar9 = uVar9 >> ((byte)(this->_devilAngelRoomRNG)._shift3 & 0x1f) ^ uVar9; + (this->_devilAngelRoomRNG)._seed = uVar9; + uVar17 = g_game->_debugCurses; + iVar15 = g_game->_stage; + bVar4 = (float)((double)(int)uVar9 + __uint_to_double_fixup[-((int)uVar9 >> 0x1f)]) * 2.3283062e-10 < in_XMM0_Da; - uVar18 = this->_curses; - uVar11 = Seeds::GetForcedCurses(); - uVar12 = Seeds::GetPreventedCurses(); - iVar13 = iVar16 + 1; - if ((~uVar12 & (uVar11 | uVar9 | uVar18) & 2) == 0) { - iVar13 = iVar16; + uVar9 = this->_curses; + uVar10 = Seeds::GetForcedCurses(); + uVar11 = Seeds::GetPreventedCurses(); + iVar12 = iVar15 + 1; + if ((~uVar11 & (uVar10 | uVar17 | uVar9) & 2) == 0) { + iVar12 = iVar15; } - if ((((iVar13 == 8) && (cVar8 = IsStageWithinEnd(10,bVar4), cVar8 != '\0')) && + if ((((iVar12 == 8) && (cVar8 = IsStageWithinEnd(10,bVar4), cVar8 != '\0')) && ((g_manager->_persistentGameData)._achievements[0x22] == 0)) && (((g_manager->_state != 2 || (g_game == (Game *)0x0)) || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))) { @@ -486386,14 +487164,14 @@ void __thiscall Level::InitializeDevilAngelRoom(Level *this,byte ForceAngel,byte local_24 = 100; } if ((bVar4) || (ForceAngel != 0)) { - iVar16 = 0xf; + iVar15 = 0xf; local_18 = 0xf; } else { - iVar16 = 0xe; + iVar15 = 0xe; } if (ForceDevil == 0) { - if (iVar16 != 0xe) goto LAB_00749b89; + if (iVar15 != 0xe) goto LAB_00749b89; } else { local_18 = 0xe; @@ -486409,77 +487187,77 @@ LAB_00749b89: local_8 = 0xffffffff; _Init_thread_footer(&g_invalidRoomDescriptorGuard); } - pRVar17 = &g_roomDescriptorDummy; + pRVar16 = &g_roomDescriptorDummy; if ((uint)this->_currentDimensionIdx < 3) { - pRVar17 = this->_roomList + 0x1fb; + pRVar16 = this->_roomList + 0x1fb; } Seeds::Init3(pRVar1); - iVar16 = 10; + iVar15 = 10; do { - if (iVar16 < 1) break; - RVar10 = *pRVar1; + if (iVar15 < 1) break; + uVar9 = pRVar1->_seed; _ForceAngel = 0; - if (RVar10 == (RNG)0x0) { + if (uVar9 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182e8 & 0x1f) ^ (uint)RVar10; - uVar9 = uVar9 << ((byte)*(undefined4 *)&this->field_0x182ec & 0x1f) ^ uVar9; - RVar10 = (RNG)(uVar9 >> ((byte)*(undefined4 *)&this->field_0x182f0 & 0x1f) ^ uVar9); - *pRVar1 = RVar10; - pRVar14 = RoomConfig::GetRandomRoom - (this_00,(uint)RVar10,0,0,local_18,0xd,local_24,local_28,1,10, - (uint *)&ForceAngel,local_20,-1); - pRVar17->Data = pRVar14; + uVar9 = uVar9 >> ((byte)(this->_devilAngelRoomRNG)._shift1 & 0x1f) ^ uVar9; + uVar9 = uVar9 << ((byte)(this->_devilAngelRoomRNG)._shift2 & 0x1f) ^ uVar9; + uVar9 = uVar9 >> ((byte)(this->_devilAngelRoomRNG)._shift3 & 0x1f) ^ uVar9; + pRVar1->_seed = uVar9; + pRVar13 = RoomConfig::GetRandomRoom + (this_00,uVar9,0,0,local_18,0xd,local_24,local_28,1,10,(uint *)&ForceAngel, + local_20,-1); + pRVar16->Data = pRVar13; cVar8 = CanSpawnDevilRoom(); if (cVar8 == '\0') break; - uVar18 = 0; + uVar17 = 0; uVar9 = Random(); pvVar2 = this->_roomList[this->_lastBossRoomListIndex].Data; sVar6 = (sbyte)(uVar9 & 7); if (((*(uint *)((int)pvVar2 + 0x38) & 1 << sVar6) != 0) && - ((*(uint *)((int)pRVar17->Data + 0x38) & 1 << (sVar6 - 2U & 3)) != 0)) { - uVar18 = 1; + ((*(uint *)((int)pRVar16->Data + 0x38) & 1 << (sVar6 - 2U & 3)) != 0)) { + uVar17 = 1; } - bVar15 = sVar6 + 1U & 7; - if (((*(uint *)((int)pvVar2 + 0x38) & 1 << bVar15) != 0) && - ((*(uint *)((int)pRVar17->Data + 0x38) & 1 << (bVar15 - 2 & 3)) != 0)) { - uVar18 = uVar18 + 1; + bVar14 = sVar6 + 1U & 7; + if (((*(uint *)((int)pvVar2 + 0x38) & 1 << bVar14) != 0) && + ((*(uint *)((int)pRVar16->Data + 0x38) & 1 << (bVar14 - 2 & 3)) != 0)) { + uVar17 = uVar17 + 1; } - bVar15 = sVar6 + 2U & 7; - if (((*(uint *)((int)pvVar2 + 0x38) & 1 << bVar15) != 0) && - ((*(uint *)((int)pRVar17->Data + 0x38) & 1 << (bVar15 - 2 & 3)) != 0)) { - uVar18 = uVar18 + 1; + bVar14 = sVar6 + 2U & 7; + if (((*(uint *)((int)pvVar2 + 0x38) & 1 << bVar14) != 0) && + ((*(uint *)((int)pRVar16->Data + 0x38) & 1 << (bVar14 - 2 & 3)) != 0)) { + uVar17 = uVar17 + 1; } - bVar15 = sVar6 + 3U & 7; - if (((*(uint *)((int)pvVar2 + 0x38) & 1 << bVar15) != 0) && - ((*(uint *)((int)pRVar17->Data + 0x38) & 1 << (bVar15 - 2 & 3)) != 0)) { - uVar18 = uVar18 + 1; + bVar14 = sVar6 + 3U & 7; + if (((*(uint *)((int)pvVar2 + 0x38) & 1 << bVar14) != 0) && + ((*(uint *)((int)pRVar16->Data + 0x38) & 1 << (bVar14 - 2 & 3)) != 0)) { + uVar17 = uVar17 + 1; } - bVar15 = sVar6 - 4U & 7; - if (((*(uint *)((int)pvVar2 + 0x38) & 1 << bVar15) != 0) && - ((*(uint *)((int)pRVar17->Data + 0x38) & 1 << (bVar15 - 2 & 3)) != 0)) { - uVar18 = uVar18 + 1; + bVar14 = sVar6 - 4U & 7; + if (((*(uint *)((int)pvVar2 + 0x38) & 1 << bVar14) != 0) && + ((*(uint *)((int)pRVar16->Data + 0x38) & 1 << (bVar14 - 2 & 3)) != 0)) { + uVar17 = uVar17 + 1; } - bVar15 = sVar6 - 3U & 7; - if (((*(uint *)((int)pvVar2 + 0x38) & 1 << bVar15) != 0) && - ((*(uint *)((int)pRVar17->Data + 0x38) & 1 << (bVar15 - 2 & 3)) != 0)) { - uVar18 = uVar18 + 1; + bVar14 = sVar6 - 3U & 7; + if (((*(uint *)((int)pvVar2 + 0x38) & 1 << bVar14) != 0) && + ((*(uint *)((int)pRVar16->Data + 0x38) & 1 << (bVar14 - 2 & 3)) != 0)) { + uVar17 = uVar17 + 1; } uVar9 = (uVar9 & 7) - 2 & 7; _ForceDevil = uVar9 - 2 & 3; if (((*(uint *)((int)pvVar2 + 0x38) & 1 << (sbyte)uVar9) != 0) && (sVar5 = (sbyte)_ForceDevil, _ForceDevil = 0, - (*(uint *)((int)pRVar17->Data + 0x38) & 1 << sVar5) != 0)) { - uVar18 = uVar18 + 1; + (*(uint *)((int)pRVar16->Data + 0x38) & 1 << sVar5) != 0)) { + uVar17 = uVar17 + 1; } - bVar15 = sVar6 - 1U & 7; - if (((*(uint *)((int)pvVar2 + 0x38) & 1 << bVar15) != 0) && - ((*(uint *)((int)pRVar17->Data + 0x38) & 1 << (bVar15 - 2 & 3)) != 0)) { - uVar18 = uVar18 + 1; + bVar14 = sVar6 - 1U & 7; + if (((*(uint *)((int)pvVar2 + 0x38) & 1 << bVar14) != 0) && + ((*(uint *)((int)pRVar16->Data + 0x38) & 1 << (bVar14 - 2 & 3)) != 0)) { + uVar17 = uVar17 + 1; } - iVar16 = iVar16 + -1; - } while (uVar18 < 2); + iVar15 = iVar15 + -1; + } while (uVar17 < 2); pGVar7 = g_game; if ((local_18 == 0xe) && ((((g_manager->_persistentGameData)._achievements[0x8e] != 0 || @@ -486490,21 +487268,21 @@ LAB_00749b89: if (((g_game->_gameStateFlags & 0x20000040) != 0) && (uVar9 = 1, 0 < g_game->_devilRoomDeals)) { uVar9 = 3; } - RVar10 = *pRVar1; + uVar17 = pRVar1->_seed; _ForceAngel = uVar9 + 10; if ((g_game->_dailyChallenge)._specialDailyId != 0x11) { _ForceAngel = uVar9; } - if (RVar10 == (RNG)0x0) { + if (uVar17 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar10 >> ((byte)*(undefined4 *)&this->field_0x182e8 & 0x1f) ^ (uint)RVar10; - uVar9 = uVar9 << ((byte)*(undefined4 *)&this->field_0x182ec & 0x1f) ^ uVar9; - RVar10 = (RNG)(uVar9 >> ((byte)*(undefined4 *)&this->field_0x182f0 & 0x1f) ^ uVar9); - *pRVar1 = RVar10; - if ((((uint)RVar10 % 0x14 < _ForceAngel) && (local_24 < 100)) && - (pRVar17->Flags = pRVar17->Flags | 0x10, (pGVar7->_dailyChallenge)._specialDailyId != 0x11)) + uVar17 = uVar17 >> ((byte)(this->_devilAngelRoomRNG)._shift1 & 0x1f) ^ uVar17; + uVar17 = uVar17 << ((byte)(this->_devilAngelRoomRNG)._shift2 & 0x1f) ^ uVar17; + uVar17 = uVar17 >> ((byte)(this->_devilAngelRoomRNG)._shift3 & 0x1f) ^ uVar17; + pRVar1->_seed = uVar17; + if (((uVar17 % 0x14 < _ForceAngel) && (local_24 < 100)) && + (pRVar16->Flags = pRVar16->Flags | 0x10, (pGVar7->_dailyChallenge)._specialDailyId != 0x11)) { uVar3 = *(undefined4 *)((int)&pGVar7->_gameStateFlags + 4); *(uint *)&pGVar7->_gameStateFlags = (uint)pGVar7->_gameStateFlags | 0x20000000; @@ -486563,8 +487341,8 @@ void Level::GetEnterPosition(float *param_1) pRVar3 = GetRoomByIdx(in_ECX,in_ECX->_previousRoomIndex,-1); if (((pRVar3->Data != (void *)0x0) && (*(int *)((int)pRVar3->Data + 8) == 0x10)) || ((in_ECX->_previousRoomIndex == -0xd || (in_ECX->_previousRoomIndex == -0x12)))) { - fVar2 = *(float *)&in_ECX->field_0x18324; - *param_1 = *(float *)&in_ECX->field_0x18320; + fVar2 = (in_ECX->_dungeonReturnPosition).y; + *param_1 = (in_ECX->_dungeonReturnPosition).x; param_1[1] = fVar2; return; } @@ -486606,7 +487384,7 @@ void Level::UncoverHiddenDoor(int param_1,int param_2) iVar5 = param_2; } pRVar1 = GetRoomByIdx(in_ECX,iVar2,-1); - iVar2 = *(int *)(&pRVar1->field_0x1c + iVar5 * 4); + iVar2 = pRVar1->_doors[iVar5]; pRVar1 = GetRoomByIdx(in_ECX,iVar2,-1); if (pRVar1->Data != (void *)0x0) { uVar4 = iVar5 + 2U & 0x80000003; @@ -487419,14 +488197,14 @@ bool Level::IsStageWithinEnd(int param_1,uint param_2) (&pGVar1->_playerManager,0x226,&pGVar1->_playerManager,1), iVar4 != 0 || (iVar4 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x228,&g_game->_playerManager,1), iVar4 != 0)))) { - if (pCVar3->field_0x7f == '\0') { + if (pCVar3->_isPathTypeSet == 0) { return false; } if (pCVar3->_pathType != 1) { return false; } } - else if (pCVar3->field_0x7f == '\0') goto LAB_0074b943; + else if (pCVar3->_isPathTypeSet == 0) goto LAB_0074b943; if (((iVar2 != 10) && (iVar2 != 0xb)) || (param_2 == (pCVar3->_pathType == 1))) { if (pCVar3->_endStage != 0) { param_1 = pCVar3->_endStage; @@ -487712,7 +488490,7 @@ RoomDescriptor * FUN_0074bce0(void) pRVar3 = (RoomDescriptor *)(in_ECX + 0x17464); } pRVar1 = RoomDescriptor::constructor(&local_cc); - RoomDescriptor::operator_assign(pRVar1); + RoomDescriptor::operator_assign(pRVar3,pRVar1); std::vector::_Tidy(); FID_conflict__Erase_tree_>_> (&local_cc.RestrictedGridIndexes, @@ -487797,7 +488575,7 @@ void Level::init_rotgut_dungeon_room(void) else if (0xc < uVar5) { uVar5 = 0xd; } - local_38[0] = *(uint *)((int)(&g_game->_itemPool + 2) + uVar5 * 4 + 0x514); + local_38[0] = (g_game->_seedEffects)._stageSeeds[uVar5]; local_1c = 8; local_24 = 0x1b00000005; local_38[3] = 0x15; @@ -488518,8 +489296,6 @@ undefined4 Level::MakeRedRoomDoor(int param_1,uint param_2) RoomDescriptor **requiredDoors; RoomDescriptor *roomSubtype; RNG local_8c; - undefined8 local_88; - undefined4 local_80; RoomDescriptor *local_7c; Game *local_78; int local_74; @@ -488581,14 +489357,15 @@ LAB_0074d48f: /* WARNING: Subroutine does not return */ std::bitset::_Xran(); } - (&local_7c->AllowedDoors)[uVar10 >> 5] = - (&local_7c->AllowedDoors)[uVar10 >> 5] | 1 << ((byte)uVar10 & 0x1f); - *(undefined4 *)(&local_7c->field_0x1c + uVar10 * 4) = 0xfffffffe; + local_7c->_doors[(uVar10 >> 5) - 1] = + local_7c->_doors[(uVar10 >> 5) - 1] | 1 << ((byte)uVar10 & 0x1f); + local_7c->_doors[uVar10] = -2; } else { - local_88 = 0x300000004; - local_8c = (RNG)((in_ECX->_dungeonPlacementSeed + local_50 * 0x3a1) * (local_54 + 1)); - local_80 = 0x1b; + local_8c._shift1 = 4; + local_8c._shift2 = 3; + local_8c._seed = (in_ECX->_dungeonPlacementSeed + local_50 * 0x3a1) * (local_54 + 1); + local_8c._shift3 = 0x1b; if (in_ECX->_stage == 0xd) { local_60 = (RoomDescriptor *)0x0; uVar5 = RNG::Next(&local_8c); @@ -488672,7 +489449,7 @@ LAB_0074d1e2: } } } - cVar3 = place_room(local_5c,pRVar6,local_8c,uVar7,0); + cVar3 = place_room(local_5c,pRVar6,local_8c._seed,uVar7,0); if (cVar3 == '\0') { /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"failed to place room at (%d, %d)\n",local_54,local_50); @@ -488688,19 +489465,19 @@ LAB_0074d1e2: uVar2 = local_6c; if (-1 < (int)local_64) { if ((RoomDescriptor *)0x7 < local_64) goto LAB_0074d48f; - (&pRVar8->AllowedDoors)[(uint)local_64 >> 5] = - (&pRVar8->AllowedDoors)[(uint)local_64 >> 5] | 1 << ((byte)local_64 & 0x1f); + pRVar8->_doors[((uint)local_64 >> 5) - 1] = + pRVar8->_doors[((uint)local_64 >> 5) - 1] | 1 << ((byte)local_64 & 0x1f); pRVar8->AllowedDoors = pRVar8->AllowedDoors & *(uint *)((int)pRVar8->Data + 0x38); - (&pRVar8->Dimension)[(int)&local_64->SafeGridIndex] = (int)local_60; + pRVar8->_doors[(int)local_64] = (int)local_60; } if ((-1 < (int)local_6c) && (local_60 = GetRoomByIdx((Level *)local_78,(int)local_60,-1), local_60->Data != (void *)0x0)) { if (7 < uVar2) goto LAB_0074d48f; - (&local_60->AllowedDoors)[uVar2 >> 5] = - (&local_60->AllowedDoors)[uVar2 >> 5] | 1 << ((byte)uVar2 & 0x1f); + local_60->_doors[(uVar2 >> 5) - 1] = + local_60->_doors[(uVar2 >> 5) - 1] | 1 << ((byte)uVar2 & 0x1f); local_60->AllowedDoors = local_60->AllowedDoors & *(uint *)((int)local_60->Data + 0x38); - *(int *)(&local_60->field_0x1c + uVar2 * 4) = pRVar8->GridIndex; + local_60->_doors[uVar2] = pRVar8->GridIndex; } uVar5 = uVar5 + 1; in_ECX = local_78; @@ -488739,8 +489516,6 @@ undefined4 Level::prepare_blue_room(int param_1,int param_2,int param_3) int iVar6; RoomDescriptor *pRVar7; RNG local_e8; - undefined8 local_e4; - undefined4 local_dc; uint local_d8; int local_d4; RoomDescriptor local_d0; @@ -488777,25 +489552,26 @@ LAB_0074d6f3: else { pRVar7 = &g_roomDescriptorDummy; } - local_e8 = (RNG)pRVar3->DecorationSeed; + local_e8._seed = pRVar3->DecorationSeed; iVar6 = pRVar7->ListIndex; - local_e4 = 0x1b00000005; - local_dc = 0x1c; + local_e8._shift1 = 5; + local_e8._shift2 = 0x1b; + local_e8._shift3 = 0x1c; pRVar4 = RoomDescriptor::constructor(&local_d0); - RoomDescriptor::operator_assign(pRVar4); + RoomDescriptor::operator_assign(pRVar7,pRVar4); RoomDescriptor::destructor(&local_d0); pRVar7->ListIndex = iVar6; pRVar7->GridIndex = -0x10; Seeds::Init3(&local_e8); if ((param_3 == 0) || (param_3 == 2)) { - if (local_e8 == (RNG)0x0) { + if (local_e8._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)local_e8 >> ((byte)local_e4 & 0x1f) ^ (uint)local_e8; - uVar2 = uVar2 << ((byte)((ulonglong)local_e4 >> 0x20) & 0x1f) ^ uVar2; - local_e8 = (RNG)(uVar2 >> ((byte)local_dc & 0x1f) ^ uVar2); - iVar6 = 7 - (uint)(((uint)local_e8 & 3) != 0); + local_e8._seed = (uint)local_e8._seed >> ((byte)local_e8._shift1 & 0x1f) ^ local_e8._seed; + local_e8._seed = local_e8._seed << ((byte)local_e8._shift2 & 0x1f) ^ local_e8._seed; + local_e8._seed = (uint)local_e8._seed >> ((byte)local_e8._shift3 & 0x1f) ^ local_e8._seed; + iVar6 = 7 - (uint)((local_e8._seed & 3U) != 0); local_d8 = 5; } else { @@ -488821,23 +489597,23 @@ LAB_0074d6f3: pRVar7->AllowedDoors = local_d8; switch(param_3) { case 0: - *(int *)&pRVar7->field_0x1c = local_d4; - *(int *)&pRVar7->field_0x24 = param_1; + pRVar7->_doors[0] = local_d4; + pRVar7->_doors[2] = param_1; uVar5 = 1; break; case 1: - *(int *)&pRVar7->field_0x20 = local_d4; - *(int *)&pRVar7->field_0x28 = param_1; + pRVar7->_doors[1] = local_d4; + pRVar7->_doors[3] = param_1; uVar5 = 1; break; case 2: - *(int *)&pRVar7->field_0x24 = local_d4; - *(int *)&pRVar7->field_0x1c = param_1; + pRVar7->_doors[2] = local_d4; + pRVar7->_doors[0] = param_1; uVar5 = 1; break; case 3: - *(int *)&pRVar7->field_0x28 = local_d4; - *(int *)&pRVar7->field_0x20 = param_1; + pRVar7->_doors[3] = local_d4; + pRVar7->_doors[1] = param_1; default: uVar5 = 1; } @@ -488859,8 +489635,6 @@ byte __thiscall Level::TryInitializeExtraBossRoom(Level *this,uint seed) void *pvVar2; RoomDescriptor *pRVar3; RNG local_28; - undefined8 local_24; - undefined4 local_1c; int local_18; int local_14; void *local_10; @@ -488891,9 +489665,10 @@ byte __thiscall Level::TryInitializeExtraBossRoom(Level *this,uint seed) local_14 = this->_stageType; cVar1 = boss_count_adjust(&local_18,&local_14); if (cVar1 != '\0') { - local_28 = (RNG)seed; - local_1c = 6; - local_24 = 0xb00000001; + local_28._seed = seed; + local_28._shift3 = 6; + local_28._shift1 = 1; + local_28._shift2 = 0xb; Seeds::Init3(&local_28); BossPool::GetBossId(&g_game->_bossPool,local_18,local_14,(RNG *)&g_game->_bossPool); RNG::Next(&local_28); @@ -489061,7 +489836,7 @@ float __thiscall Game::GetPlanetariumChance(Game *this) char cVar6; Game *pGVar7; undefined1 local_20 [8]; - int local_18; + void *local_18; int local_14; undefined4 local_10; float local_c; @@ -489114,8 +489889,8 @@ LAB_0074dc58: pCVar4 = GetChallengeParams(g_game); local_10 = 4; std::set::find_node(local_20,&local_10); - if (((*(char *)(local_18 + 0xd) != '\0') || (4 < *(int *)(local_18 + 0x10))) || - (local_18 == *(int *)&pCVar4->field_0x18)) { + if (((*(char *)((int)local_18 + 0xd) != '\0') || (4 < *(int *)((int)local_18 + 0x10))) || + (local_18 == (pCVar4->_roomset)._head)) { if (pGVar7->_treasureRoomsVisited < local_14 + -1) { local_c = (float)((local_14 - pGVar7->_treasureRoomsVisited) + -1) * 0.2 + 0.01; iVar5 = PlayerManager::FirstCollectibleOwner @@ -489181,20 +489956,19 @@ void __thiscall Game::generate_home_level(Game *this) RoomDescriptor *pRVar2; void *pvVar3; uint uVar4; - RNG RVar5; + undefined4 uVar5; undefined4 uVar6; undefined4 uVar7; undefined4 uVar8; undefined4 uVar9; - undefined4 uVar10; + RoomConfig_Room *pRVar10; RoomConfig_Room *pRVar11; RoomConfig_Room *pRVar12; RoomConfig_Room *pRVar13; RoomConfig_Room *pRVar14; - RoomConfig_Room *pRVar15; - int iVar16; + int iVar15; RoomConfig *this_00; - int *piVar17; + int *piVar16; uint local_3b4; RoomConfig_Room *local_3b0; RoomDescriptor local_3ac [4]; @@ -489212,168 +489986,169 @@ void __thiscall Game::generate_home_level(Game *this) local_10 = ExceptionList; local_14 = __security_cookie ^ (uint)(local_30 + 0x2c); ExceptionList = &local_10; - RVar5 = this->_generationRNG; + uVar4 = (this->_generationRNG)._seed; pRVar1 = &this->_generationRNG; - if (RVar5 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",local_14); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; - RoomDescriptor::Init(local_3ac,RVar5); + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; + RoomDescriptor::Init(local_3ac,uVar4); local_8 = 0; if ((uint)((local_40 - local_48) / 0x48) < 6) { vector_LevelGenerator_Room_reserve(6); } - uVar6 = LevelGenerator::CreateRoom + uVar5 = LevelGenerator::CreateRoom ((LevelGenerator *)local_3ac,6,6,1,0xffffffff,0xffffffff,0xffffffff); - uVar7 = LevelGenerator::CreateRoom((LevelGenerator *)local_3ac,6,7,4,6,7,3); - uVar8 = LevelGenerator::CreateRoom((LevelGenerator *)local_3ac,5,8,4,5,8,0); - uVar9 = LevelGenerator::CreateRoom((LevelGenerator *)local_3ac,4,7,4,4,8,0); - uVar10 = LevelGenerator::CreateRoom((LevelGenerator *)local_3ac,4,6,1,4,6,1); + uVar6 = LevelGenerator::CreateRoom((LevelGenerator *)local_3ac,6,7,4,6,7,3); + uVar7 = LevelGenerator::CreateRoom((LevelGenerator *)local_3ac,5,8,4,5,8,0); + uVar8 = LevelGenerator::CreateRoom((LevelGenerator *)local_3ac,4,7,4,4,8,0); + uVar9 = LevelGenerator::CreateRoom((LevelGenerator *)local_3ac,4,6,1,4,6,1); local_3b4 = LevelGenerator::CreateRoom((LevelGenerator *)local_3ac,7,7,2,7,7,2); - RVar5 = *pRVar1; + uVar4 = pRVar1->_seed; this_00 = &g_game->_roomConfig; local_3b0 = (RoomConfig_Room *)0x0; - if (RVar5 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; - pRVar11 = RoomConfig::GetRandomRoom - (this_00,(uint)RVar5,1,0x23,1,1,0,-1,1,10,(uint *)&local_3b0,0,-1); - RVar5 = *pRVar1; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; + pRVar10 = RoomConfig::GetRandomRoom(this_00,uVar4,1,0x23,1,1,0,-1,1,10,(uint *)&local_3b0,0,-1); + uVar4 = pRVar1->_seed; local_3b0 = (RoomConfig_Room *)0x0; - if (RVar5 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; - pRVar12 = RoomConfig::GetRandomRoom - (this_00,(uint)RVar5,1,0x23,1,5,0,-1,1,10,(uint *)&local_3b0,1,-1); - RVar5 = *pRVar1; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; + pRVar11 = RoomConfig::GetRandomRoom(this_00,uVar4,1,0x23,1,5,0,-1,1,10,(uint *)&local_3b0,1,-1); + uVar4 = pRVar1->_seed; local_3b0 = (RoomConfig_Room *)0x0; - if (RVar5 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; - pRVar13 = RoomConfig::GetRandomRoom - (this_00,(uint)RVar5,1,0x23,1,4,0,-1,1,10,(uint *)&local_3b0,3,-1); - RVar5 = *pRVar1; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; + pRVar12 = RoomConfig::GetRandomRoom(this_00,uVar4,1,0x23,1,4,0,-1,1,10,(uint *)&local_3b0,3,-1); + uVar4 = pRVar1->_seed; local_3b0 = (RoomConfig_Room *)0x0; - if (RVar5 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; - pRVar14 = RoomConfig::GetRandomRoom - (this_00,(uint)RVar5,1,0x23,1,5,0,-1,1,10,(uint *)&local_3b0,1,-1); - RVar5 = *pRVar1; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; + pRVar13 = RoomConfig::GetRandomRoom(this_00,uVar4,1,0x23,1,5,0,-1,1,10,(uint *)&local_3b0,1,-1); + uVar4 = pRVar1->_seed; local_3b0 = (RoomConfig_Room *)0x0; - if (RVar5 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; - pRVar15 = RoomConfig::GetRandomRoom - (this_00,(uint)RVar5,1,0x23,1,1,0,-1,1,10,(uint *)&local_3b0,2,-1); - RVar5 = *pRVar1; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; + pRVar14 = RoomConfig::GetRandomRoom(this_00,uVar4,1,0x23,1,1,0,-1,1,10,(uint *)&local_3b0,2,-1); + uVar4 = pRVar1->_seed; local_3b0 = (RoomConfig_Room *)0x0; - if (RVar5 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; - local_3b0 = RoomConfig::GetRandomRoom - (this_00,(uint)RVar5,1,0x23,1,2,0,-1,1,10,(uint *)&local_3b0,10,-1); - piVar17 = this->_roomMap; - for (iVar16 = 0x1fb; iVar16 != 0; iVar16 = iVar16 + -1) { - *piVar17 = -1; - piVar17 = piVar17 + 1; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; + local_3b0 = RoomConfig::GetRandomRoom(this_00,uVar4,1,0x23,1,2,0,-1,1,10,(uint *)&local_3b0,10,-1) + ; + piVar16 = this->_roomMap; + for (iVar15 = 0x1fb; iVar15 != 0; iVar15 = iVar15 + -1) { + *piVar16 = -1; + piVar16 = piVar16 + 1; } this->_nbRooms = 0; - RVar5 = *pRVar1; - if (RVar5 == (RNG)0x0) { + uVar4 = pRVar1->_seed; + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; - Level::place_room(uVar6,pRVar11,RVar5,*(undefined4 *)&this->field_0x182e0,0); - RVar5 = *pRVar1; - if (RVar5 == (RNG)0x0) { + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + iVar15 = (this->_generationRNG)._shift3; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)iVar15 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; + Level::place_room(uVar5,pRVar10,uVar4,iVar15,0); + uVar4 = pRVar1->_seed; + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; - Level::place_room(uVar7,pRVar12,RVar5,*(undefined4 *)&this->field_0x182e0,0); - RVar5 = *pRVar1; - if (RVar5 == (RNG)0x0) { + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + iVar15 = (this->_generationRNG)._shift3; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)iVar15 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; + Level::place_room(uVar6,pRVar11,uVar4,iVar15,0); + uVar4 = pRVar1->_seed; + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; - Level::place_room(uVar8,pRVar13,RVar5,*(undefined4 *)&this->field_0x182e0,0); + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + iVar15 = (this->_generationRNG)._shift3; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)iVar15 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; + Level::place_room(uVar7,pRVar12,uVar4,iVar15,0); this->_lastBossRoomListIdx = this->_nbRooms + -1; - RVar5 = *pRVar1; - if (RVar5 == (RNG)0x0) { + uVar4 = pRVar1->_seed; + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; - Level::place_room(uVar9,pRVar14,RVar5,*(undefined4 *)&this->field_0x182e0,0); - RVar5 = *pRVar1; - if (RVar5 == (RNG)0x0) { + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + iVar15 = (this->_generationRNG)._shift3; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)iVar15 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; + Level::place_room(uVar8,pRVar13,uVar4,iVar15,0); + uVar4 = pRVar1->_seed; + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; - Level::place_room(uVar10,pRVar15,RVar5,*(undefined4 *)&this->field_0x182e0,0); - RVar5 = *pRVar1; - if (RVar5 == (RNG)0x0) { + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + iVar15 = (this->_generationRNG)._shift3; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)iVar15 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; + Level::place_room(uVar9,pRVar14,uVar4,iVar15,0); + uVar4 = pRVar1->_seed; + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; - Level::place_room(local_3b4,local_3b0,RVar5,*(undefined4 *)&this->field_0x182e0,0); + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + iVar15 = (this->_generationRNG)._shift3; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)iVar15 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; + Level::place_room(local_3b4,local_3b0,uVar4,iVar15,0); pvVar3 = ThreadLocalStoragePointer; if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { @@ -489384,20 +490159,19 @@ void __thiscall Game::generate_home_level(Game *this) _Init_thread_footer(&g_invalidRoomDescriptorGuard); } Seeds::Init3(pRVar1); - RVar5 = *pRVar1; + uVar4 = pRVar1->_seed; local_3b4 = 0; - if (RVar5 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; - local_3b0 = RoomConfig::GetRandomRoom - (this_00,(uint)RVar5,1,0,3,0xd,0,-1,1,10,&local_3b4,0xffffffff,-1); - iVar16 = *(int *)pvVar3; - if ((*(int *)(iVar16 + 0xc) < g_invalidRoomDescriptorGuard) && + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; + local_3b0 = RoomConfig::GetRandomRoom(this_00,uVar4,1,0,3,0xd,0,-1,1,10,&local_3b4,0xffffffff,-1); + iVar15 = *(int *)pvVar3; + if ((*(int *)(iVar15 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_8._0_1_ = 2; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -489410,7 +490184,7 @@ void __thiscall Game::generate_home_level(Game *this) pRVar2 = this->_roomList + 0x1fc; } pRVar2->Data = local_3b0; - if ((*(int *)(iVar16 + 0xc) < g_invalidRoomDescriptorGuard) && + if ((*(int *)(iVar15 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_8._0_1_ = 3; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -489419,20 +490193,20 @@ void __thiscall Game::generate_home_level(Game *this) _Init_thread_footer(&g_invalidRoomDescriptorGuard); } Seeds::Init3(pRVar1); - RVar5 = *pRVar1; + uVar4 = pRVar1->_seed; local_3b4 = 0; - if (RVar5 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; local_3b0 = RoomConfig::GetRandomRoom - (this_00,(uint)RVar5,1,0,0x16,0xd,0,-1,1,10,&local_3b4,0xffffffff,-1); - iVar16 = *(int *)ThreadLocalStoragePointer; - if ((*(int *)(iVar16 + 0xc) < g_invalidRoomDescriptorGuard) && + (this_00,uVar4,1,0,0x16,0xd,0,-1,1,10,&local_3b4,0xffffffff,-1); + iVar15 = *(int *)ThreadLocalStoragePointer; + if ((*(int *)(iVar15 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_8._0_1_ = 4; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -489445,7 +490219,7 @@ void __thiscall Game::generate_home_level(Game *this) pRVar2 = this->_roomList + 0x200; } pRVar2->Data = local_3b0; - if ((*(int *)(iVar16 + 0xc) < g_invalidRoomDescriptorGuard) && + if ((*(int *)(iVar15 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_8._0_1_ = 5; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -489454,20 +490228,20 @@ void __thiscall Game::generate_home_level(Game *this) _Init_thread_footer(&g_invalidRoomDescriptorGuard); } Seeds::Init3(pRVar1); - RVar5 = *pRVar1; + uVar4 = pRVar1->_seed; local_3b4 = 0; - if (RVar5 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - *pRVar1 = RVar5; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar4; + pRVar1->_seed = uVar4; local_3b0 = RoomConfig::GetRandomRoom - (this_00,(uint)RVar5,1,0,0x10,0xd,0,-1,1,10,&local_3b4,0xffffffff,-1); - iVar16 = *(int *)ThreadLocalStoragePointer; - if ((*(int *)(iVar16 + 0xc) < g_invalidRoomDescriptorGuard) && + (this_00,uVar4,1,0,0x10,0xd,0,-1,1,10,&local_3b4,0xffffffff,-1); + iVar15 = *(int *)ThreadLocalStoragePointer; + if ((*(int *)(iVar15 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_8._0_1_ = 6; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -489480,7 +490254,7 @@ void __thiscall Game::generate_home_level(Game *this) pRVar2 = this->_roomList + 0x1fe; } pRVar2->Data = local_3b0; - if ((*(int *)(iVar16 + 0xc) < g_invalidRoomDescriptorGuard) && + if ((*(int *)(iVar15 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_8._0_1_ = 7; RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -489489,8 +490263,8 @@ void __thiscall Game::generate_home_level(Game *this) _Init_thread_footer(&g_invalidRoomDescriptorGuard); } Seeds::Init3(pRVar1); - pRVar11 = RoomConfig::GetRoomByStageTypeAndVariant(this_00,0x23,0x10,0x29a,-1); - if ((*(int *)(iVar16 + 0xc) < g_invalidRoomDescriptorGuard) && + pRVar10 = RoomConfig::GetRoomByStageTypeAndVariant(this_00,0x23,0x10,0x29a,-1); + if ((*(int *)(iVar15 + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_8 = CONCAT31(local_8._1_3_,8); RoomDescriptor::constructor(&g_roomDescriptorDummy); @@ -489503,7 +490277,7 @@ void __thiscall Game::generate_home_level(Game *this) else { pRVar2 = &g_roomDescriptorDummy; } - pRVar2->Data = pRVar11; + pRVar2->Data = pRVar10; FID_conflict__Tidy(local_30); FID_conflict__Tidy(local_3c); vector_LevelGenerator_Room_tidy(); @@ -489618,8 +490392,6 @@ void Level::raise_mineshaft_rail(void) float fVar13; int *local_48; RNG local_40; - undefined8 local_3c; - Level *local_34; uint local_30; int local_2c; int *local_28; @@ -489636,7 +490408,7 @@ void Level::raise_mineshaft_rail(void) puStack_c = &LAB_00afe38d; local_10 = ExceptionList; ExceptionList = &local_10; - local_34 = in_ECX; + local_40._shift3 = (int)in_ECX; bVar4 = HasAbandonedMineshaft(in_ECX); if (bVar4 != 0) { local_24 = 0; @@ -489688,7 +490460,7 @@ void Level::raise_mineshaft_rail(void) iVar9 = iVar9 + 0x10; local_30 = local_30 + 1; } while (local_30 < *(ushort *)((int)pvVar7 + 0x44)); - in_ECX = local_34; + in_ECX = (Level *)local_40._shift3; } } } @@ -489702,7 +490474,7 @@ void Level::raise_mineshaft_rail(void) if (((local_14 != (RoomDescriptor *)0x0) && (-1 < local_1c)) && (local_1c < (int)piVar12 >> 2) ) { fVar13 = *(float *)(local_1c * 4); - local_34 = (Level *)fVar13; + local_40._shift3 = (int)fVar13; pRVar5 = GetRoomByIdx(in_ECX,in_ECX->_currentRoomIndex,in_ECX->_currentDimensionIdx); if (local_14 == pRVar5) { if (0x1bf < (uint)fVar13) { @@ -489724,7 +490496,7 @@ void Level::raise_mineshaft_rail(void) } pGVar3 = g_game; (pGVar1->_desc)._variant = (pGVar1->_desc)._variant & 0xffff01ffU | 0x100; - *(undefined1 *)((int)pGVar3->_room + (int)local_34 + 0x746cU) = 1; + *(undefined1 *)((int)pGVar3->_room + local_40._shift3 + 0x746cU) = 1; Game::ShakeScreen(pGVar3,0x14); pMVar2 = g_manager; local_30 = 0x254; @@ -489749,29 +490521,32 @@ void Level::raise_mineshaft_rail(void) *(undefined1 *)(puVar11 + 6) = 0; puVar11[3] = 0; pRVar5 = GetRoomByIdx(in_ECX,in_ECX->_currentRoomIndex,in_ECX->_currentDimensionIdx); - local_3c = 0xf00000002; - local_40 = (RNG)pRVar5->SpawnSeed; - local_34 = (Level *)0x19; + local_40._shift1 = 2; + local_40._shift2 = 0xf; + local_40._seed = pRVar5->SpawnSeed; + local_40._shift3 = 0x19; uVar6 = RNG::Next(&local_40); puVar11[4] = uVar6; pRVar5 = GetRoomByIdx(in_ECX,in_ECX->_currentRoomIndex,in_ECX->_currentDimensionIdx); - local_3c = 0x1500000002; - local_40 = (RNG)pRVar5->SpawnSeed; - local_34 = (Level *)0x9; + local_40._shift1 = 2; + local_40._shift2 = 0x15; + local_40._seed = pRVar5->SpawnSeed; + local_40._shift3 = 9; uVar6 = RNG::Next(&local_40); pGVar3 = g_game; puVar11[7] = uVar6; puVar11[5] = 0; Game::ShakeScreen(pGVar3,0x14); iVar9 = g_game->_currentRoomIdx; - local_34 = (Level *)local_14->GridIndex; + local_40._shift3 = local_14->GridIndex; fVar13 = 0.0; if (-1 < iVar9) { - local_3c = CONCAT44((float)(((iVar9 / 0xd - (int)local_34 / 0xd) * 0xd - iVar9) + - (int)local_34),(undefined4)local_3c); - local_34 = (Level *)(float)((int)local_34 / 0xd - iVar9 / 0xd); + local_40._shift2 = + (int)(float)(((iVar9 / 0xd - local_40._shift3 / 0xd) * 0xd - iVar9) + + local_40._shift3); + local_40._shift3 = (int)(float)(local_40._shift3 / 0xd - iVar9 / 0xd); Vector::Normalize(); - fVar13 = local_3c._4_4_; + fVar13 = (float)local_40._shift2; } uVar6 = 0x255; pMVar2 = g_manager; @@ -490013,9 +490788,9 @@ void __thiscall Level::generate_mineshaft(Level *this) { int iVar1; undefined4 uVar2; - undefined4 uVar3; - uint uVar4; - RNG RVar5; + int iVar3; + undefined4 uVar4; + uint uVar5; uint uVar6; undefined4 uVar7; undefined4 uVar8; @@ -490038,17 +490813,17 @@ void __thiscall Level::generate_mineshaft(Level *this) ExceptionList = &local_10; this->_currentDimensionIdx = 1; this->_currentRoomMap = this->_roomMap + 0xa9; - uVar3 = RoomConfig::GetStageID(0xffffffff,local_14); - RVar5 = this->_generationRNG; - if (RVar5 == (RNG)0x0) { + uVar4 = RoomConfig::GetStageID(0xffffffff,local_14); + uVar5 = (this->_generationRNG)._seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar4 = uVar4 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar4; - RVar5 = (RNG)(uVar4 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar4); - this->_generationRNG = RVar5; - RoomDescriptor::Init(local_3cc,RVar5); + uVar5 = uVar5 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)(this->_generationRNG)._shift3 & 0x1f) ^ uVar5; + (this->_generationRNG)._seed = uVar5; + RoomDescriptor::Init(local_3cc,uVar5); local_8 = 0; if ((uint)((local_60 - local_68) / 0x48) < 8) { vector_LevelGenerator_Room_reserve(8); @@ -490071,45 +490846,46 @@ void __thiscall Level::generate_mineshaft(Level *this) uVar8 = 0x74f51f; local_34[7] = LevelGenerator::CreateRoom ((LevelGenerator *)local_3cc,9,4,1,0xffffffff,0xffffffff,0xffffffff); - uVar4 = 0; + uVar5 = 0; do { - if (uVar4 == 0) { + if (uVar5 == 0) { uVar7 = 0xb; } else { uVar7 = 0x1e; - if (uVar4 == 7) { + if (uVar5 == 7) { uVar7 = 0x14; } } - iVar1 = local_34[uVar4]; - RVar5 = this->_generationRNG; + iVar1 = local_34[uVar5]; + uVar6 = (this->_generationRNG)._seed; uVar2 = *(undefined4 *)(iVar1 + 0x18); - if (RVar5 == (RNG)0x0) { + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar6 = uVar6 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar6; - RVar5 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar6); - this->_generationRNG = RVar5; + uVar6 = uVar6 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar6; + iVar3 = (this->_generationRNG)._shift3; + uVar6 = uVar6 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)iVar3 & 0x1f) ^ uVar6; + (this->_generationRNG)._seed = uVar6; uVar7 = RoomConfig::GetRandomRoomWithFallbackStage - (RVar5,1,uVar3,0x1d,1,uVar2,uVar8,uVar9,0,0,iVar1 + 0x1c,uVar7, - *(undefined4 *)&this->field_0x182e0); - RVar5 = this->_generationRNG; - if (RVar5 == (RNG)0x0) { + (uVar6,1,uVar4,0x1d,1,uVar2,uVar8,uVar9,0,0,iVar1 + 0x1c,uVar7,iVar3); + uVar6 = (this->_generationRNG)._seed; + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)RVar5 >> ((byte)*(undefined4 *)&this->field_0x182d8 & 0x1f) ^ (uint)RVar5; - uVar6 = uVar6 << ((byte)*(undefined4 *)&this->field_0x182dc & 0x1f) ^ uVar6; - RVar5 = (RNG)(uVar6 >> ((byte)*(undefined4 *)&this->field_0x182e0 & 0x1f) ^ uVar6); - iVar1 = local_34[uVar4]; - this->_generationRNG = RVar5; + uVar6 = uVar6 >> ((byte)(this->_generationRNG)._shift1 & 0x1f) ^ uVar6; + iVar1 = (this->_generationRNG)._shift3; + uVar6 = uVar6 << ((byte)(this->_generationRNG)._shift2 & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)iVar1 & 0x1f) ^ uVar6; + iVar3 = local_34[uVar5]; + (this->_generationRNG)._seed = uVar6; uVar9 = 0x74f62c; - place_room(iVar1,uVar7,RVar5,*(undefined4 *)&this->field_0x182e0,0); - uVar4 = uVar4 + 1; - } while (uVar4 < 8); + place_room(iVar3,uVar7,uVar6,iVar1,0); + uVar5 = uVar5 + 1; + } while (uVar5 < 8); this->_currentDimensionIdx = 0; this->_currentRoomMap = this->_roomMap; FID_conflict__Tidy(local_50); @@ -490158,7 +490934,7 @@ int Level::GetRoomStageType(int param_1) } iVar3 = in_ECX->_stage; if (iVar3 < 7) { - fVar8 = *(float *)((int)in_ECX[1]._roomList + param_1 * 4 + -4) * 5.0; + fVar8 = (float)in_ECX[1]._roomList[0]._doors[param_1 + -8] * 5.0; if (fVar8 <= 0.0) { fVar8 = 0.0; } @@ -490184,7 +490960,7 @@ int Level::GetRoomStageType(int param_1) if ((int)(((uVar4 ^ uVar5) - uVar5) + ((uVar7 ^ uVar6) - uVar6)) < 4) { return 4; } - fVar8 = *(float *)((int)in_ECX[1]._roomList + param_1 * 4 + -4) * 5.0; + fVar8 = (float)in_ECX[1]._roomList[0]._doors[param_1 + -8] * 5.0; if (fVar8 <= 0.0) { fVar8 = 0.0; } @@ -490261,7 +491037,7 @@ void Level::InitStageSeeds(void) else if (0xc < uVar8) { uVar8 = 0xd; } - uVar8 = *(uint *)((int)(&g_game->_itemPool + 2) + uVar8 * 4 + 0x514); + uVar8 = (g_game->_seedEffects)._stageSeeds[uVar8]; local_2d4 = 0xf; if (DAT_00c7f47c == 0.0) { DAT_00c7f47c = 1.0 / (DAT_00c7f47c + 1.0 + 2.0 + 4.0); @@ -490337,30 +491113,29 @@ void Level::InitStageSeeds(void) undefined4 Level::try_place_random_room(int param_1) { - uint *puVar1; - void *pvVar2; - Game *pGVar3; - byte bVar4; - char cVar5; - uint uVar6; - undefined4 uVar7; + void *pvVar1; + Game *pGVar2; + byte bVar3; + char cVar4; + uint uVar5; + undefined4 uVar6; LevelGenerator_Room *room; undefined3 extraout_var; - Game *pGVar8; - RoomConfig_Room *pRVar9; + Game *pGVar7; + RoomConfig_Room *pRVar8; int *in_ECX; - int iVar10; + int iVar9; RNG *rng; undefined4 extraout_ECX; undefined4 extraout_ECX_00; undefined4 extraout_ECX_01; undefined4 extraout_ECX_02; - uint uVar11; - undefined4 *puVar12; - int *piVar13; - Entity_Player *pEVar14; - undefined4 *puVar15; - int iVar16; + uint uVar10; + undefined4 *puVar11; + int *piVar12; + Entity_Player *pEVar13; + undefined4 *puVar14; + int iVar15; int in_stack_fffffb44; undefined4 in_stack_fffffb48; int local_484; @@ -490401,7 +491176,7 @@ undefined4 Level::try_place_random_room(int param_1) int local_34; int local_30 [3]; undefined1 local_24; - undefined4 local_20; + int local_20; undefined1 local_1c; uint local_18; void *local_10; @@ -490411,33 +491186,33 @@ undefined4 Level::try_place_random_room(int param_1) local_8 = 0xffffffff; puStack_c = &LAB_00afe469; local_10 = ExceptionList; - uVar6 = __security_cookie ^ (uint)(local_30 + 0xb); + uVar5 = __security_cookie ^ (uint)(local_30 + 0xb); ExceptionList = &local_10; local_458 = &g_game->_roomConfig; local_47c = param_1; - piVar13 = in_ECX + 0x5eb7; - for (iVar10 = 0x1fb; iVar10 != 0; iVar10 = iVar10 + -1) { - *piVar13 = -1; - piVar13 = piVar13 + 1; + piVar12 = in_ECX + 0x5eb7; + for (iVar9 = 0x1fb; iVar9 != 0; iVar9 = iVar9 + -1) { + *piVar12 = -1; + piVar12 = piVar12 + 1; } local_478 = (undefined4 *)(param_1 + 0x2b8); in_ECX[0x60b3] = 0; local_45c = in_ECX; - local_18 = uVar6; + local_18 = uVar5; memset(local_478,0,0xa9); local_460 = 0; - uVar11 = 0; + uVar10 = 0; do { - if ((((uVar11 != 2) && (uVar11 != 7)) && (uVar11 != 3)) && (uVar11 != 5)) { - if (0xc < uVar11) { + if ((((uVar10 != 2) && (uVar10 != 7)) && (uVar10 != 3)) && (uVar10 != 5)) { + if (0xc < uVar10) { /* WARNING: Subroutine does not return */ - std::bitset::_Xran(uVar6); + std::bitset::_Xran(uVar5); } - puVar1 = (uint *)((int)local_440 + (uVar11 >> 5) * 4 + -0x20); - *puVar1 = *puVar1 | 1 << ((byte)uVar11 & 0x1f); + local_440[0]._doors[(uVar10 >> 5) - 0xf] = + local_440[0]._doors[(uVar10 >> 5) - 0xf] | 1 << ((byte)uVar10 & 0x1f); } - uVar11 = uVar11 + 1; - } while (uVar11 < 0xd); + uVar10 = uVar10 + 1; + } while (uVar10 < 0xd); in_ECX[0x60c5] = 0; local_450 = 0; do { @@ -490445,231 +491220,231 @@ undefined4 Level::try_place_random_room(int param_1) if (local_450 != 1) { if ((local_450 == 2) || (local_450 == 3)) { local_448 = g_game; - pvVar2 = (g_manager->_itemConfig)._trinkets._begin; - if (((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar2 >> 2 < 0x70) || - ((iVar10 = *(int *)((int)pvVar2 + 0x1bc), iVar10 == 0 || - (local_441 = '\x01', (*(uint *)(iVar10 + 0xb8) & 0x80000000) == 0)))) { + pvVar1 = (g_manager->_itemConfig)._trinkets._begin; + if (((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar1 >> 2 < 0x70) || + ((iVar9 = *(int *)((int)pvVar1 + 0x1bc), iVar9 == 0 || + (local_441 = '\x01', (*(uint *)(iVar9 + 0xb8) & 0x80000000) == 0)))) { local_441 = '\0'; } - puVar12 = (g_game->_playerManager)._playerList._begin; - if (puVar12 != (g_game->_playerManager)._playerList._end) { - pGVar8 = g_game; + puVar11 = (g_game->_playerManager)._playerList._begin; + if (puVar11 != (g_game->_playerManager)._playerList._end) { + pGVar7 = g_game; do { - pEVar14 = (Entity_Player *)*puVar12; - if (pEVar14->_variant == 0) { - bVar4 = Entity_Player::HasTrinket(pEVar14,0x6f,0); - if (bVar4 == 0) { - if (((local_441 == '\0') || (pEVar14->_backupPlayer == (Entity_Player *)0x0)) || - (bVar4 = Entity_Player::HasTrinket(pEVar14->_backupPlayer,0x6f,0), bVar4 == 0)) + pEVar13 = (Entity_Player *)*puVar11; + if (pEVar13->_variant == 0) { + bVar3 = Entity_Player::HasTrinket(pEVar13,0x6f,0); + if (bVar3 == 0) { + if (((local_441 == '\0') || (pEVar13->_backupPlayer == (Entity_Player *)0x0)) || + (bVar3 = Entity_Player::HasTrinket(pEVar13->_backupPlayer,0x6f,0), bVar3 == 0)) { - pGVar8 = local_448; + pGVar7 = local_448; goto LAB_0074fd81; } - pEVar14 = pEVar14->_backupPlayer; + pEVar13 = pEVar13->_backupPlayer; } - if (pEVar14 != (Entity_Player *)0x0) goto LAB_0074fda5; + if (pEVar13 != (Entity_Player *)0x0) goto LAB_0074fda5; break; } LAB_0074fd81: - puVar12 = puVar12 + 1; - } while (puVar12 != (pGVar8->_playerManager)._playerList._end); + puVar11 = puVar11 + 1; + } while (puVar11 != (pGVar7->_playerManager)._playerList._end); } } else { LAB_0074fda5: if (local_450 != 4) goto LAB_0074fe6b; local_448 = g_game; - pvVar2 = (g_manager->_itemConfig)._trinkets._begin; - if ((((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar2 >> 2 < 0x6f) || - (iVar10 = *(int *)((int)pvVar2 + 0x1b8), iVar10 == 0)) || - (local_441 = '\x01', (*(uint *)(iVar10 + 0xb8) & 0x80000000) == 0)) { + pvVar1 = (g_manager->_itemConfig)._trinkets._begin; + if ((((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar1 >> 2 < 0x6f) || + (iVar9 = *(int *)((int)pvVar1 + 0x1b8), iVar9 == 0)) || + (local_441 = '\x01', (*(uint *)(iVar9 + 0xb8) & 0x80000000) == 0)) { local_441 = '\0'; } - puVar12 = (g_game->_playerManager)._playerList._begin; - if (puVar12 != (g_game->_playerManager)._playerList._end) { - pGVar8 = g_game; + puVar11 = (g_game->_playerManager)._playerList._begin; + if (puVar11 != (g_game->_playerManager)._playerList._end) { + pGVar7 = g_game; do { - pEVar14 = (Entity_Player *)*puVar12; - if (pEVar14->_variant == 0) { - bVar4 = Entity_Player::HasTrinket(pEVar14,0x6e,0); - if (bVar4 == 0) { - if (((local_441 == '\0') || (pEVar14->_backupPlayer == (Entity_Player *)0x0)) || - (bVar4 = Entity_Player::HasTrinket(pEVar14->_backupPlayer,0x6e,0), bVar4 == 0)) + pEVar13 = (Entity_Player *)*puVar11; + if (pEVar13->_variant == 0) { + bVar3 = Entity_Player::HasTrinket(pEVar13,0x6e,0); + if (bVar3 == 0) { + if (((local_441 == '\0') || (pEVar13->_backupPlayer == (Entity_Player *)0x0)) || + (bVar3 = Entity_Player::HasTrinket(pEVar13->_backupPlayer,0x6e,0), bVar3 == 0)) { - pGVar8 = local_448; + pGVar7 = local_448; goto LAB_0074fe4d; } - pEVar14 = pEVar14->_backupPlayer; + pEVar13 = pEVar13->_backupPlayer; } - if (pEVar14 != (Entity_Player *)0x0) goto LAB_0074fe6b; + if (pEVar13 != (Entity_Player *)0x0) goto LAB_0074fe6b; break; } LAB_0074fe4d: - puVar12 = puVar12 + 1; - } while (puVar12 != (pGVar8->_playerManager)._playerList._end); + puVar11 = puVar11 + 1; + } while (puVar11 != (pGVar7->_playerManager)._playerList._end); } } } } else { LAB_0074fe6b: - uVar6 = in_ECX[0x60b5]; - if (uVar6 == 0) { + uVar5 = in_ECX[0x60b5]; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = uVar6 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar6; - uVar6 = uVar6 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar6; - uVar6 = uVar6 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar6; - in_ECX[0x60b5] = uVar6; - RoomDescriptor::Init(local_440,uVar6); + uVar5 = uVar5 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar5; + in_ECX[0x60b5] = uVar5; + RoomDescriptor::Init(local_440,uVar5); local_8 = 0; - puVar12 = local_478; - puVar15 = local_188; - for (iVar10 = 0x2a; iVar10 != 0; iVar10 = iVar10 + -1) { - *puVar15 = *puVar12; - puVar12 = puVar12 + 1; - puVar15 = puVar15 + 1; + puVar11 = local_478; + puVar14 = local_188; + for (iVar9 = 0x2a; iVar9 != 0; iVar9 = iVar9 + -1) { + *puVar14 = *puVar11; + puVar11 = puVar11 + 1; + puVar14 = puVar14 + 1; } - *(undefined1 *)puVar15 = *(undefined1 *)puVar12; - iVar10 = 0; + *(undefined1 *)puVar14 = *(undefined1 *)puVar11; + iVar9 = 0; do { - uVar6 = in_ECX[0x60b5]; - if (uVar6 == 0) { + uVar5 = in_ECX[0x60b5]; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = uVar6 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar6; - uVar6 = uVar6 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar6; - uVar6 = uVar6 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar6; - in_ECX[0x60b5] = uVar6; - local_448 = (Game *)(uVar6 % 0xb + 1); - if (uVar6 == 0) { + uVar5 = uVar5 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar5; + in_ECX[0x60b5] = uVar5; + local_448 = (Game *)(uVar5 % 0xb + 1); + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = uVar6 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar6; - uVar6 = uVar6 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar6; - uVar6 = uVar6 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar6; - in_ECX[0x60b5] = uVar6; - uVar6 = uVar6 % 0xb + 1; - local_468 = uVar6; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar5; + in_ECX[0x60b5] = uVar5; + uVar5 = uVar5 % 0xb + 1; + local_468 = uVar5; local_464 = local_448; - cVar5 = LevelGenerator::can_place_room(&local_468,1); - pGVar8 = g_game; - } while ((cVar5 == '\0') && (iVar10 = iVar10 + 1, iVar10 < 0x50)); + cVar4 = LevelGenerator::can_place_room(&local_468,1); + pGVar7 = g_game; + } while ((cVar4 == '\0') && (iVar9 = iVar9 + 1, iVar9 < 0x50)); if (local_450 < 2) { if ((local_450 == 0) && (*in_ECX == 7)) { - uVar6 = in_ECX[0x60b5]; - if (uVar6 == 0) { + uVar5 = in_ECX[0x60b5]; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = uVar6 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar6; - uVar6 = uVar6 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar6; - uVar6 = uVar6 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar6; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar5; } else { - iVar10 = GetRoomStageType((int)local_448 * 0xd + local_468); - BossPool::GetBossId(&pGVar8->_bossPool,*in_ECX,iVar10,rng); - uVar6 = in_ECX[0x60b5]; - if (uVar6 == 0) { + iVar9 = GetRoomStageType((int)local_448 * 0xd + local_468); + BossPool::GetBossId(&pGVar7->_bossPool,*in_ECX,iVar9,rng); + uVar5 = in_ECX[0x60b5]; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = uVar6 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar6; - uVar6 = uVar6 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar6; - uVar6 = uVar6 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar6; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar5; } - in_ECX[0x60b5] = uVar6; + in_ECX[0x60b5] = uVar5; local_44c = pick_boss_room_config(); local_448 = local_464; - uVar6 = local_468; + uVar5 = local_468; } else { - iVar10 = (int)local_448 * 0xd + uVar6; + iVar9 = (int)local_448 * 0xd + uVar5; if (local_450 < 4) { local_44c = 0; - GetRoomStageType(iVar10); - uVar7 = RoomConfig::GetStageID(0xffffffff); - uVar11 = in_ECX[0x60b5]; - if (uVar11 == 0) { + GetRoomStageType(iVar9); + uVar6 = RoomConfig::GetStageID(0xffffffff); + uVar10 = in_ECX[0x60b5]; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = uVar11 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar11; - uVar11 = uVar11 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar11; - uVar11 = uVar11 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar11; - in_ECX[0x60b5] = uVar11; + uVar10 = uVar10 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar10; + in_ECX[0x60b5] = uVar10; local_44c = RoomConfig::GetRandomRoomWithFallbackStage - (uVar11,1,uVar7,0,4,0xd,in_stack_fffffb44,in_stack_fffffb48,1,10, + (uVar10,1,uVar6,0,4,0xd,in_stack_fffffb44,in_stack_fffffb48,1,10, &local_44c,0xffffffff,in_ECX[0x60b8]); } else { local_454 = 0; - GetRoomStageType(iVar10); - uVar7 = RoomConfig::GetStageID(0xffffffff); - uVar11 = in_ECX[0x60b5]; - if (uVar11 == 0) { + GetRoomStageType(iVar9); + uVar6 = RoomConfig::GetStageID(0xffffffff); + uVar10 = in_ECX[0x60b5]; + if (uVar10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar11 = uVar11 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar11; - uVar11 = uVar11 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar11; - uVar11 = uVar11 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar11; - in_ECX[0x60b5] = uVar11; + uVar10 = uVar10 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar10; + uVar10 = uVar10 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar10; + uVar10 = uVar10 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar10; + in_ECX[0x60b5] = uVar10; local_44c = RoomConfig::GetRandomRoomWithFallbackStage - (uVar11,1,uVar7,0,2,0xd,in_stack_fffffb44,in_stack_fffffb48,1,10, + (uVar10,1,uVar6,0,2,0xd,in_stack_fffffb44,in_stack_fffffb48,1,10, &local_454,0xffffffff,in_ECX[0x60b8]); } } - iVar10 = local_44c; + iVar9 = local_44c; room = LevelGenerator_Room::constructor - (local_a8,uVar6,(uint)local_448,*(uint *)(local_44c + 0x48)); + (local_a8,uVar5,(uint)local_448,*(uint *)(local_44c + 0x48)); local_8._0_1_ = 1; - bVar4 = LevelGenerator::place_room((LevelGenerator *)local_440,room); - pGVar8 = (Game *)CONCAT31(extraout_var,bVar4); + bVar3 = LevelGenerator::place_room((LevelGenerator *)local_440,room); + pGVar7 = (Game *)CONCAT31(extraout_var,bVar3); local_8 = (uint)local_8._1_3_ << 8; - local_448 = pGVar8; + local_448 = pGVar7; FID_conflict__Erase_tree_>_> (local_78,(fuzzer_allocator_> *)local_78, *(_Tree_node **)(local_78[0] + 4)); operator_delete(local_78[0],0x14); - pGVar8->_roomList[0].Dimension = -1; - pGVar8->_roomList[0].OverrideData = (void *)0xffffffff; - pGVar8->_roomList[0].AllowedDoors = -1; + pGVar7->_roomList[0].Dimension = -1; + pGVar7->_roomList[0].OverrideData = (void *)0xffffffff; + pGVar7->_roomList[0].AllowedDoors = -1; LevelGenerator::update_dead_end_lists(); - uVar6 = in_ECX[0x60b5]; - if (uVar6 == 0) { + uVar5 = in_ECX[0x60b5]; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = uVar6 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar6; - uVar6 = uVar6 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar6; - uVar6 = uVar6 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar6; - in_ECX[0x60b5] = uVar6; - place_room(pGVar8,iVar10,uVar6,in_ECX[0x60b8],0); - pGVar8 = local_448; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar5; + in_ECX[0x60b5] = uVar5; + place_room(pGVar7,iVar9,uVar5,in_ECX[0x60b8],0); + pGVar7 = local_448; if (local_450 < 2) { in_ECX[0x60c5] = in_ECX[0x60b3] + -1; } - uVar6 = 0; - iVar10 = local_44c + 0x38; - uVar11 = 1; - local_44c = iVar10; + uVar5 = 0; + iVar9 = local_44c + 0x38; + uVar10 = 1; + local_44c = iVar9; do { - if ((*(uint *)(iVar10 + (uVar6 >> 5) * 4) & uVar11) == 0) { - get_door_neighbor_pos(pGVar8->_roomList[0].SafeGridIndex,uVar6); + if ((*(uint *)(iVar9 + (uVar5 >> 5) * 4) & uVar10) == 0) { + get_door_neighbor_pos(pGVar7->_roomList[0].SafeGridIndex,uVar5); if ((local_484 != g_levelGenInvalidPos[0]) || (local_480 != g_levelGenInvalidPos[1])) { FUN_009b1910(&local_484,extraout_ECX); } - iVar10 = local_44c; + iVar9 = local_44c; } - pGVar3 = local_448; + pGVar2 = local_448; in_ECX = local_45c; - uVar6 = uVar6 + 1; - uVar11 = uVar11 << 1 | (uint)((int)uVar11 < 0); - } while ((int)uVar6 < 8); + uVar5 = uVar5 + 1; + uVar10 = uVar10 << 1 | (uint)((int)uVar10 < 0); + } while ((int)uVar5 < 8); local_60._0_1_ = *(undefined1 *)&local_448->_stage; local_5c = local_448->_stageType; local_58._0_1_ = local_448->_bossChallenge; @@ -490692,34 +491467,34 @@ LAB_0074fe6b: *(int *)(local_30[0] + 8) = local_30[0]; *(undefined2 *)(local_30[0] + 0xc) = 0x101; local_8._0_1_ = 2; - std_set_uint_copy(&pGVar3->_roomList[0].field_0x1c,local_45c); - local_30[2] = *(int *)&pGVar3->_roomList[0].field_0x24; - local_24 = pGVar3->_roomList[0].field_0x28; - local_20 = *(undefined4 *)&pGVar3->_roomList[0].field_0x2c; - local_1c = pGVar3->_roomList[0].field_0x30; + std_set_uint_copy(pGVar2->_roomList[0]._doors,local_45c); + local_30[2] = pGVar2->_roomList[0]._doors[2]; + local_24 = (undefined1)pGVar2->_roomList[0]._doors[3]; + local_20 = pGVar2->_roomList[0]._doors[4]; + local_1c = (undefined1)pGVar2->_roomList[0]._doors[5]; local_8._0_1_ = 3; - uVar6 = in_ECX[0x60b5]; + uVar5 = in_ECX[0x60b5]; if (local_450 < 2) { - if (uVar6 == 0) { + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = uVar6 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar6; - uVar6 = uVar6 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar6; - uVar6 = uVar6 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar6; - in_stack_fffffb44 = (uVar6 & 3) + 3; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar5; + in_stack_fffffb44 = (uVar5 & 3) + 3; } else { - if (uVar6 == 0) { + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = uVar6 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar6; - uVar6 = uVar6 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar6; - uVar6 = uVar6 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar6; - in_stack_fffffb44 = uVar6 % 3 + 1; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar5; + in_stack_fffffb44 = uVar5 % 3 + 1; } - in_ECX[0x60b5] = uVar6; + in_ECX[0x60b5] = uVar5; in_stack_fffffb48 = 0; LevelGenerator::Generate ((LevelGenerator *)local_440,in_stack_fffffb44,0,0,0,&local_460,0,&local_60); @@ -490736,14 +491511,14 @@ LAB_0074fe6b: } LevelGenerator::get_all_rooms(&local_474); local_8._0_1_ = 4; - piVar13 = (int *)(local_474 + 4); - uVar7 = extraout_ECX_00; - if (piVar13 != local_470) { + piVar12 = (int *)(local_474 + 4); + uVar6 = extraout_ECX_00; + if (piVar12 != local_470) { do { - iVar10 = *piVar13; + iVar9 = *piVar12; local_448 = (Game *)&DAT_0000000f; - iVar16 = *(int *)(iVar10 + 0x18); - switch(iVar16) { + iVar15 = *(int *)(iVar9 + 0x18); + switch(iVar15) { case 4: local_448 = (Game *)0x5f; break; @@ -490757,42 +491532,42 @@ LAB_0074fe6b: case 0xc: local_448 = (Game *)0xff; } - GetRoomStageType(*(int *)(iVar10 + 0xc) * 0xd + *(int *)(iVar10 + 8)); + GetRoomStageType(*(int *)(iVar9 + 0xc) * 0xd + *(int *)(iVar9 + 8)); local_454 = RoomConfig::GetStageID(0xffffffff); - uVar6 = in_ECX[0x60b5]; - if (uVar6 == 0) { + uVar5 = in_ECX[0x60b5]; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = uVar6 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar6; - uVar6 = uVar6 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar6; - uVar6 = uVar6 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar6; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b6] & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)in_ECX[0x60b7] & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)in_ECX[0x60b8] & 0x1f) ^ uVar5; in_stack_fffffb44 = 0; - in_ECX[0x60b5] = uVar6; - pRVar9 = RoomConfig::GetRandomRoom - (local_458,uVar6,1,local_454,1,iVar16,0,-1,1,0xf,(uint *)&local_448,0, + in_ECX[0x60b5] = uVar5; + pRVar8 = RoomConfig::GetRandomRoom + (local_458,uVar5,1,local_454,1,iVar15,0,-1,1,0xf,(uint *)&local_448,0, -1); in_stack_fffffb48 = 0x750655; - place_room(*piVar13,pRVar9,in_ECX[0x60b5],extraout_ECX_01,0); - piVar13 = piVar13 + 1; - } while (piVar13 != local_470); - uVar7 = extraout_ECX_02; + place_room(*piVar12,pRVar8,in_ECX[0x60b5],extraout_ECX_01,0); + piVar12 = piVar12 + 1; + } while (piVar12 != local_470); + uVar6 = extraout_ECX_02; } - iVar10 = local_474; - LevelGenerator::block_cells_near_rooms(local_440,uVar7); + iVar9 = local_474; + LevelGenerator::block_cells_near_rooms(local_440,uVar6); local_8 = CONCAT31(local_8._1_3_,3); - if (iVar10 != 0) { - uVar6 = (local_46c - iVar10 >> 2) * 4; - iVar16 = iVar10; - if (0xfff < uVar6) { - iVar16 = *(int *)(iVar10 + -4); - uVar6 = uVar6 + 0x23; - if (0x1f < (iVar10 - iVar16) - 4U) { + if (iVar9 != 0) { + uVar5 = (local_46c - iVar9 >> 2) * 4; + iVar15 = iVar9; + if (0xfff < uVar5) { + iVar15 = *(int *)(iVar9 + -4); + uVar5 = uVar5 + 0x23; + if (0x1f < (iVar9 - iVar15) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar16,uVar6); + operator_delete(iVar15,uVar5); local_474 = 0; local_470 = (int *)0x0; local_46c = 0; @@ -491379,7 +492154,7 @@ void Level::GenerateHome(void) uVar13 = 0xd; } uVar7 = local_43c[0x60b5]; - local_444[1] = *(undefined4 *)((int)(&g_game->_itemPool + 2) + uVar13 * 4 + 0x514); + local_444[1] = (g_game->_seedEffects)._stageSeeds[uVar13]; local_48c = 0x700000005; local_454 = 0x16; if (uVar7 == 0) { @@ -491561,62 +492336,64 @@ LAB_00752443: usable to a normal unvisited room, LevelGenerator::get_door_target_position and inserts the 13x13 grid index (or -1); Level::place_special_rooms */ -int * Level::get_door_neighbor_indices(int *param_1) +int * __thiscall Level::get_door_neighbor_indices(Level *this,int *param_2) { - uint uVar1; - int iVar2; - int in_ECX; - int *piVar3; - uint uVar4; + void *pvVar1; + uint uVar2; + int iVar3; + Level *pLVar4; + void **ppvVar5; + uint uVar6; undefined1 local_3c [8]; uint local_34; uint local_30; int local_2c; int local_28; - int local_24 [5]; + int local_24 [3]; + Level *local_18; void *local_10; undefined1 *puStack_c; int local_8; puStack_c = &LAB_00afe63e; local_10 = ExceptionList; - uVar1 = __security_cookie ^ (uint)(local_24 + 8); + uVar2 = __security_cookie ^ (uint)(local_24 + 8); ExceptionList = &local_10; local_8 = 0; local_24[1] = 0; - *param_1 = 0; - param_1[1] = 0; - local_24[3] = in_ECX; - iVar2 = operator_new(0x14,uVar1); - *(int *)iVar2 = iVar2; - *(int *)(iVar2 + 4) = iVar2; - *(int *)(iVar2 + 8) = iVar2; - *(undefined2 *)(iVar2 + 0xc) = 0x101; - *param_1 = iVar2; + *param_2 = 0; + param_2[1] = 0; + local_18 = this; + iVar3 = operator_new(0x14,uVar2); + *(int *)iVar3 = iVar3; + *(int *)(iVar3 + 4) = iVar3; + *(int *)(iVar3 + 8) = iVar3; + *(undefined2 *)(iVar3 + 0xc) = 0x101; + *param_2 = iVar3; local_8 = 0; local_24[1] = 1; local_24[2] = 0; - if (*(int *)(in_ECX + 0x182cc) < 1) { + if (this->_roomCount < 1) { ExceptionList = local_10; - return param_1; + return param_2; } - piVar3 = (int *)(in_ECX + 0x24); - iVar2 = local_24[3]; + ppvVar5 = &this->_roomList[0].Data; + pLVar4 = local_18; do { - if (*piVar3 != 0) { - local_2c = piVar3[-4]; + if (*ppvVar5 != (void *)0x0) { + local_2c = ((RoomDescriptor *)(ppvVar5 + -4))->GridIndex; if (-1 < local_2c) { local_28 = local_2c / 0xd; local_2c = local_2c % 0xd; - uVar4 = 0; - uVar1 = 1; + uVar6 = 0; + uVar2 = 1; do { - iVar2 = *piVar3; - if (((((*(uint *)(iVar2 + 0x38 + (uVar4 >> 5) * 4) & uVar1) == 0) || - (*(int *)(iVar2 + 8) != 1)) || (*(int *)(iVar2 + 0x10) != 0)) && - ((LevelGenerator::get_door_target_position(*(undefined4 *)(iVar2 + 0x48),uVar4,1), - local_34 != g_levelGenInvalidPos[0] || (local_30 != g_levelGenInvalidPos[1])))) { + pvVar1 = *ppvVar5; + if (((((*(uint *)((int)pvVar1 + (uVar6 >> 5) * 4 + 0x38) & uVar2) == 0) || + (*(int *)((int)pvVar1 + 8) != 1)) || (*(int *)((int)pvVar1 + 0x10) != 0)) && + ((LevelGenerator::get_door_target_position(*(undefined4 *)((int)pvVar1 + 0x48),uVar6,1) + , local_34 != g_levelGenInvalidPos[0] || (local_30 != g_levelGenInvalidPos[1])))) { if ((local_34 < 0xd) && (local_30 < 0xd)) { local_24[0] = local_30 * 0xd + local_34; } @@ -491625,17 +492402,17 @@ int * Level::get_door_neighbor_indices(int *param_1) } std::set::insert(local_3c,local_24); } - uVar4 = uVar4 + 1; - uVar1 = uVar1 << 1 | (uint)((int)uVar1 < 0); - } while ((int)uVar4 < 8); + uVar6 = uVar6 + 1; + uVar2 = uVar2 << 1 | (uint)((int)uVar2 < 0); + } while ((int)uVar6 < 8); } - iVar2 = local_24[3]; + pLVar4 = local_18; } local_24[2] = local_24[2] + 1; - piVar3 = piVar3 + 0x2e; - } while (local_24[2] < *(int *)(iVar2 + 0x182cc)); + ppvVar5 = ppvVar5 + 0x2e; + } while (local_24[2] < pLVar4->_roomCount); ExceptionList = local_10; - return param_1; + return param_2; } @@ -492301,114 +493078,115 @@ void FUN_00752e40(void) +0x68/+0x74/+0x88 (zeroes the source) and swaps a fresh std::list head at +0x80; from Level::maze_swap_rooms before two RoomDescriptor::operator_assign (copy ctor is 00749040) */ -void RoomDescriptor::move_constructor(undefined4 *param_1) +RoomDescriptor * __thiscall RoomDescriptor::move_constructor(RoomDescriptor *this,int *param_2) { - undefined4 uVar1; - undefined4 uVar2; - undefined4 uVar3; - uint uVar4; + void *pvVar1; + void *pvVar2; + int iVar3; + int iVar4; int iVar5; - undefined4 *in_ECX; + uint uVar6; + void *pvVar7; void *local_10; undefined1 *puStack_c; undefined4 local_8; puStack_c = &LAB_00afe73b; local_10 = ExceptionList; - uVar4 = __security_cookie ^ (int)register0x00000010 - 4U; + uVar6 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; - *in_ECX = *param_1; - in_ECX[1] = param_1[1]; - in_ECX[2] = param_1[2]; - in_ECX[3] = param_1[3]; - in_ECX[4] = param_1[4]; - in_ECX[5] = param_1[5]; - in_ECX[6] = param_1[6]; - uVar1 = param_1[8]; - uVar2 = param_1[9]; - uVar3 = param_1[10]; - in_ECX[7] = param_1[7]; - in_ECX[8] = uVar1; - in_ECX[9] = uVar2; - in_ECX[10] = uVar3; - uVar1 = param_1[0xc]; - uVar2 = param_1[0xd]; - uVar3 = param_1[0xe]; - in_ECX[0xb] = param_1[0xb]; - in_ECX[0xc] = uVar1; - in_ECX[0xd] = uVar2; - in_ECX[0xe] = uVar3; - in_ECX[0xf] = param_1[0xf]; - in_ECX[0x10] = param_1[0x10]; - in_ECX[0x11] = param_1[0x11]; - *(undefined2 *)(in_ECX + 0x12) = *(undefined2 *)(param_1 + 0x12); - *(undefined2 *)((int)in_ECX + 0x4a) = *(undefined2 *)((int)param_1 + 0x4a); - in_ECX[0x13] = param_1[0x13]; - *(undefined2 *)(in_ECX + 0x14) = *(undefined2 *)(param_1 + 0x14); - *(undefined2 *)((int)in_ECX + 0x52) = *(undefined2 *)((int)param_1 + 0x52); - in_ECX[0x15] = param_1[0x15]; - in_ECX[0x16] = param_1[0x16]; - in_ECX[0x17] = param_1[0x17]; - in_ECX[0x18] = param_1[0x18]; - in_ECX[0x19] = param_1[0x19]; - uVar1 = param_1[0x1c]; - uVar2 = param_1[0x1b]; - uVar3 = param_1[0x1a]; - param_1[0x1c] = 0; - param_1[0x1b] = 0; - param_1[0x1a] = 0; - in_ECX[0x1a] = uVar3; - in_ECX[0x1b] = uVar2; - in_ECX[0x1c] = uVar1; - uVar1 = param_1[0x1f]; - uVar2 = param_1[0x1e]; - uVar3 = param_1[0x1d]; - param_1[0x1f] = 0; - param_1[0x1e] = 0; - param_1[0x1d] = 0; - in_ECX[0x1d] = uVar3; - in_ECX[0x1e] = uVar2; - in_ECX[0x1f] = uVar1; + this->GridIndex = *param_2; + this->SafeGridIndex = param_2[1]; + this->ListIndex = param_2[2]; + this->Dimension = param_2[3]; + this->Data = (void *)param_2[4]; + this->OverrideData = (void *)param_2[5]; + this->AllowedDoors = param_2[6]; + iVar3 = param_2[8]; + iVar4 = param_2[9]; + iVar5 = param_2[10]; + this->_doors[0] = param_2[7]; + this->_doors[1] = iVar3; + this->_doors[2] = iVar4; + this->_doors[3] = iVar5; + iVar3 = param_2[0xc]; + iVar4 = param_2[0xd]; + iVar5 = param_2[0xe]; + this->_doors[4] = param_2[0xb]; + this->_doors[5] = iVar3; + this->_doors[6] = iVar4; + this->_doors[7] = iVar5; + this->DisplayFlags = param_2[0xf]; + this->VisitedCount = param_2[0x10]; + this->Flags = param_2[0x11]; + this->TotalMoneySpent = (short)param_2[0x12]; + this->ClearCount = *(short *)((int)param_2 + 0x4a); + this->GreedSubType = param_2[0x13]; + this->PoopCount = (short)param_2[0x14]; + this->TKeeperCoinSpawns = *(short *)((int)param_2 + 0x52); + this->PitsCount = param_2[0x15]; + this->DecorationSeed = param_2[0x16]; + this->SpawnSeed = param_2[0x17]; + this->AwardSeed = param_2[0x18]; + this->BossDeathSeed = param_2[0x19]; + pvVar7 = (void *)param_2[0x1c]; + pvVar1 = (void *)param_2[0x1b]; + pvVar2 = (void *)param_2[0x1a]; + param_2[0x1c] = 0; + param_2[0x1b] = 0; + param_2[0x1a] = 0; + (this->SavedGridEntities)._begin = pvVar2; + (this->SavedGridEntities)._end = pvVar1; + (this->SavedGridEntities)._capacity = pvVar7; + pvVar7 = (void *)param_2[0x1f]; + pvVar1 = (void *)param_2[0x1e]; + pvVar2 = (void *)param_2[0x1d]; + param_2[0x1f] = 0; + param_2[0x1e] = 0; + param_2[0x1d] = 0; + (this->SavedEntities)._begin = pvVar2; + (this->SavedEntities)._end = pvVar1; + (this->SavedEntities)._capacity = pvVar7; local_8 = 1; - in_ECX[0x20] = 0; - in_ECX[0x21] = 0; - iVar5 = operator_new(0x14,uVar4); - *(int *)iVar5 = iVar5; - *(int *)(iVar5 + 4) = iVar5; - *(int *)(iVar5 + 8) = iVar5; - *(undefined2 *)(iVar5 + 0xc) = 0x101; - in_ECX[0x20] = iVar5; - in_ECX[0x20] = param_1[0x20]; - param_1[0x20] = iVar5; - uVar1 = in_ECX[0x21]; - in_ECX[0x21] = param_1[0x21]; - param_1[0x21] = uVar1; - uVar1 = param_1[0x23]; - uVar2 = param_1[0x22]; - uVar3 = param_1[0x24]; - param_1[0x24] = 0; - param_1[0x23] = 0; - param_1[0x22] = 0; - in_ECX[0x22] = uVar2; - in_ECX[0x23] = uVar1; - in_ECX[0x24] = uVar3; - uVar1 = param_1[0x26]; - uVar2 = param_1[0x27]; - uVar3 = param_1[0x28]; - in_ECX[0x25] = param_1[0x25]; - in_ECX[0x26] = uVar1; - in_ECX[0x27] = uVar2; - in_ECX[0x28] = uVar3; - uVar1 = param_1[0x2a]; - in_ECX[0x29] = param_1[0x29]; - in_ECX[0x2a] = uVar1; - *(undefined2 *)(in_ECX + 0x2b) = *(undefined2 *)(param_1 + 0x2b); - *(undefined2 *)((int)in_ECX + 0xae) = *(undefined2 *)((int)param_1 + 0xae); - in_ECX[0x2c] = param_1[0x2c]; - in_ECX[0x2d] = param_1[0x2d]; + (this->RestrictedGridIndexes)._head = (void *)0x0; + (this->RestrictedGridIndexes)._size = 0; + pvVar7 = (void *)operator_new(0x14,uVar6); + *(void **)pvVar7 = pvVar7; + *(void **)((int)pvVar7 + 4) = pvVar7; + *(void **)((int)pvVar7 + 8) = pvVar7; + *(undefined2 *)((int)pvVar7 + 0xc) = 0x101; + (this->RestrictedGridIndexes)._head = pvVar7; + (this->RestrictedGridIndexes)._head = (void *)param_2[0x20]; + param_2[0x20] = (int)pvVar7; + uVar6 = (this->RestrictedGridIndexes)._size; + (this->RestrictedGridIndexes)._size = param_2[0x21]; + param_2[0x21] = uVar6; + pvVar7 = (void *)param_2[0x23]; + pvVar1 = (void *)param_2[0x22]; + pvVar2 = (void *)param_2[0x24]; + param_2[0x24] = 0; + param_2[0x23] = 0; + param_2[0x22] = 0; + (this->SavedEffects)._begin = pvVar1; + (this->SavedEffects)._end = pvVar7; + (this->SavedEffects)._capacity = pvVar2; + iVar3 = param_2[0x26]; + iVar4 = param_2[0x27]; + iVar5 = param_2[0x28]; + *(int *)&this->field_0x94 = param_2[0x25]; + *(int *)&this->field_0x98 = iVar3; + *(int *)&this->field_0x9c = iVar4; + *(int *)&this->field_0xa0 = iVar5; + iVar3 = param_2[0x2a]; + *(int *)&this->field_0xa4 = param_2[0x29]; + *(int *)&this->field_0xa8 = iVar3; + this->ShopItemIdx = (short)param_2[0x2b]; + this->ShopItemDiscountIdx = *(short *)((int)param_2 + 0xae); + this->DeliriumDistance = param_2[0x2c]; + this->Group = param_2[0x2d]; ExceptionList = local_10; - return; + return this; } @@ -493475,13 +494253,14 @@ uint FUN_00753d60(uint *param_1) void __thiscall Entity_Player::constructor(Entity_Player *this) { - undefined1 *puVar1; - std_deque *psVar2; - ActiveItemDesc *pAVar3; - int *piVar4; - undefined4 *puVar5; - void *pvVar6; - int iVar7; + std_set *psVar1; + undefined1 *puVar2; + std_deque *psVar3; + ActiveItemDesc *pAVar4; + int *piVar5; + undefined4 *puVar6; + void *pvVar7; + int iVar8; void *local_1c; undefined1 *puStack_18; undefined4 local_14; @@ -493570,22 +494349,22 @@ void __thiscall Entity_Player::constructor(Entity_Player *this) (this->_temporaryeffects)._disabled = 0; (this->_temporaryeffects)._player = this; local_14._0_1_ = 0xc; - iVar7 = 4; - pAVar3 = this->_activeDesc; + iVar8 = 4; + pAVar4 = this->_activeDesc; do { - pAVar3->_item = 0; - pAVar3->_unk = 0; - pAVar3->_charge = 0; - pAVar3->_batteryCharge = 0; - pAVar3->_subCharge = 0; - pAVar3->_timeRechargeCooldown = 0; - pAVar3->_partialCharge = 0; - pAVar3->_varData = 0; - iVar7 = iVar7 + -1; - pAVar3 = pAVar3 + 1; - } while (iVar7 != 0); + pAVar4->_item = 0; + pAVar4->_unk = 0; + pAVar4->_charge = 0; + pAVar4->_batteryCharge = 0; + pAVar4->_subCharge = 0; + pAVar4->_timeRechargeCooldown = 0; + pAVar4->_partialCharge = 0; + pAVar4->_varData = 0; + iVar8 = iVar8 + -1; + pAVar4 = pAVar4 + 1; + } while (iVar8 != 0); this->_controllerIndex = -1; - puVar1 = &this->field_0x1668; + puVar2 = &this->field_0x1668; this->_playerIndex = -1; this->_glowingHourglassIndex = -1; (this->_aimDirection).y = 0.0; @@ -493600,24 +494379,24 @@ void __thiscall Entity_Player::constructor(Entity_Player *this) (this->_recentMovementVector).x = 0.0; (this->_lastVelocity).y = 0.0; (this->_lastVelocity).x = 0.0; - *(undefined4 *)puVar1 = 0; + *(undefined4 *)puVar2 = 0; *(undefined4 *)&this->field_0x166c = 0; *(undefined4 *)&this->field_0x1670 = 0; *(undefined4 *)&this->field_0x1674 = 0; *(undefined4 *)&this->field_0x1678 = 0; - piVar4 = (int *)operator_new(8); - piVar4[1] = 0; - *(int **)puVar1 = piVar4; - *piVar4 = (int)puVar1; + piVar5 = (int *)operator_new(8); + piVar5[1] = 0; + *(int **)puVar2 = piVar5; + *piVar5 = (int)puVar2; (this->_lastDamageSource)._type = 0; (this->_lastDamageSource)._variant = 0; (this->_lastDamageSource)._spawnerType = 0; (this->_lastDamageSource)._spawnerVariant = 0; (this->_lastDamageSource)._position.x = g_vectorZero.x; (this->_lastDamageSource)._position.y = g_vectorZero.y; - *(float *)&(this->_lastDamageSource).field_0x18 = g_vectorZero.x; - *(float *)&(this->_lastDamageSource).field_0x1c = g_vectorZero.y; - *(undefined4 *)&(this->_lastDamageSource).field_0x20 = 0; + (this->_lastDamageSource)._velocity.x = g_vectorZero.x; + (this->_lastDamageSource)._velocity.y = g_vectorZero.y; + (this->_lastDamageSource)._flags = 0; (this->_lastDamageSource)._entity = (void *)0x0; (this->_collectibleCounts)._begin = (void *)0x0; (this->_collectibleCounts)._end = (void *)0x0; @@ -493673,7 +494452,7 @@ void __thiscall Entity_Player::constructor(Entity_Player *this) (this->_cardRNGs)._capacity = (void *)0x0; local_14._0_1_ = 0x17; this->_playerFormsRewarded = 0; - iVar7 = 4; + iVar8 = 4; (this->_footprintColor1)._tint[0] = 1.0; (this->_footprintColor1)._tint[1] = 1.0; (this->_footprintColor1)._tint[2] = 1.0; @@ -493703,13 +494482,13 @@ void __thiscall Entity_Player::constructor(Entity_Player *this) (this->_friendBallEnemy)._health = 0.0; (this->_friendBallEnemy)._maxHealth = 0.0; (this->_friendBallEnemy)._playerControlled = 0; - puVar5 = (undefined4 *)&this->field_0x1af0; + puVar6 = (undefined4 *)&this->field_0x1af0; do { - puVar5[1] = 0; - *puVar5 = 0; - iVar7 = iVar7 + -1; - puVar5 = puVar5 + 2; - } while (iVar7 != 0); + puVar6[1] = 0; + *puVar6 = 0; + iVar8 = iVar8 + -1; + puVar6 = puVar6 + 2; + } while (iVar8 != 0); (this->_moveToTarget).y = 0.0; (this->_moveToTarget).x = 0.0; FUN_008391a0(); @@ -493749,36 +494528,36 @@ void __thiscall Entity_Player::constructor(Entity_Player *this) *(undefined4 *)&this->field_0x1e50 = 0; this->_userProfile = KAGE::System::UserProfile::vftable; local_14._0_1_ = 0x1e; - psVar2 = &this->_afterImageFrames; - psVar2->_proxy = (void *)0x0; + psVar3 = &this->_afterImageFrames; + psVar3->_proxy = (void *)0x0; (this->_afterImageFrames)._map = (void *)0x0; (this->_afterImageFrames)._mapSize = 0; (this->_afterImageFrames)._offset = 0; (this->_afterImageFrames)._size = 0; - piVar4 = (int *)operator_new(8); - piVar4[1] = 0; - psVar2->_proxy = piVar4; - *piVar4 = (int)psVar2; + piVar5 = (int *)operator_new(8); + piVar5[1] = 0; + psVar3->_proxy = piVar5; + *piVar5 = (int)psVar3; this->_twinPlayer = (EntityPtr)0x0; this->_backupPlayer = (void *)0x0; *(undefined4 *)&this->field_0x1e84 = 0; local_14._0_1_ = 0x21; - psVar2 = &this->_echoChamberItems; + psVar3 = &this->_echoChamberItems; this->_marsUnk1 = 0x5a; this->_marsCooldown = 0; this->_marsUnk2 = -1; this->_marsUnkBool = 1; (this->_forgottenBodyPos).y = 0.0; (this->_forgottenBodyPos).x = 0.0; - psVar2->_proxy = (void *)0x0; + psVar3->_proxy = (void *)0x0; (this->_echoChamberItems)._map = (void *)0x0; (this->_echoChamberItems)._mapSize = 0; (this->_echoChamberItems)._offset = 0; (this->_echoChamberItems)._size = 0; - piVar4 = (int *)operator_new(8); - piVar4[1] = 0; - psVar2->_proxy = piVar4; - *piVar4 = (int)psVar2; + piVar5 = (int *)operator_new(8); + piVar5[1] = 0; + psVar3->_proxy = piVar5; + *piVar5 = (int)psVar3; local_14._0_1_ = 0x22; (this->_suplexTargetPos).y = 0.0; (this->_suplexTargetPos).x = 0.0; @@ -493788,40 +494567,41 @@ void __thiscall Entity_Player::constructor(Entity_Player *this) *(undefined4 *)&this->field_0x1f50 = 0xffffffff; (this->_itemWispsList)._head = (void *)0x0; (this->_itemWispsList)._size = 0; - pvVar6 = (void *)operator_new(0x18); - *(void **)pvVar6 = pvVar6; - *(void **)((int)pvVar6 + 4) = pvVar6; - *(void **)((int)pvVar6 + 8) = pvVar6; - *(undefined2 *)((int)pvVar6 + 0xc) = 0x101; - (this->_itemWispsList)._head = pvVar6; + pvVar7 = (void *)operator_new(0x18); + *(void **)pvVar7 = pvVar7; + *(void **)((int)pvVar7 + 4) = pvVar7; + *(void **)((int)pvVar7 + 8) = pvVar7; + *(undefined2 *)((int)pvVar7 + 0xc) = 0x101; + (this->_itemWispsList)._head = pvVar7; (this->_itemCards)._begin = (void *)0x0; (this->_itemCards)._end = (void *)0x0; (this->_itemCards)._capacity = (void *)0x0; local_14._0_1_ = 0x24; (this->_roomTemporaryCollectibles)._head = (void *)0x0; (this->_roomTemporaryCollectibles)._size = 0; - pvVar6 = (void *)operator_new(0x18); - *(void **)pvVar6 = pvVar6; - *(void **)((int)pvVar6 + 4) = pvVar6; - *(void **)((int)pvVar6 + 8) = pvVar6; - *(undefined2 *)((int)pvVar6 + 0xc) = 0x101; - (this->_roomTemporaryCollectibles)._head = pvVar6; + pvVar7 = (void *)operator_new(0x18); + *(void **)pvVar7 = pvVar7; + *(void **)((int)pvVar7 + 4) = pvVar7; + *(void **)((int)pvVar7 + 8) = pvVar7; + *(undefined2 *)((int)pvVar7 + 0xc) = 0x101; + (this->_roomTemporaryCollectibles)._head = pvVar7; local_14._0_1_ = 0x25; - *(undefined4 *)&this->field_0x1fcc = 0; - *(undefined4 *)&this->field_0x1fd0 = 0; - iVar7 = operator_new(0x18); - *(int *)iVar7 = iVar7; - *(int *)(iVar7 + 4) = iVar7; - *(int *)(iVar7 + 8) = iVar7; - *(undefined2 *)(iVar7 + 0xc) = 0x101; - *(int *)&this->field_0x1fcc = iVar7; + psVar1 = &(this->_proceduralItems)._itemIds; + psVar1->_head = (void *)0x0; + (this->_proceduralItems)._itemIds._size = 0; + pvVar7 = (void *)operator_new(0x18); + *(void **)pvVar7 = pvVar7; + *(void **)((int)pvVar7 + 4) = pvVar7; + *(void **)((int)pvVar7 + 8) = pvVar7; + *(undefined2 *)((int)pvVar7 + 0xc) = 0x101; + psVar1->_head = pvVar7; (this->_extraCollectibleCounts)._begin = (void *)0x0; (this->_extraCollectibleCounts)._end = (void *)0x0; (this->_extraCollectibleCounts)._capacity = (void *)0x0; (this->_extraTrinketCounts)._begin = (void *)0x0; (this->_extraTrinketCounts)._end = (void *)0x0; (this->_extraTrinketCounts)._capacity = (void *)0x0; - this->_proceduralItems = 0; + (this->_proceduralItems)._player = (void *)0x0; (this->_darkArtsHitList)._begin = (void *)0x0; (this->_darkArtsHitList)._end = (void *)0x0; (this->_darkArtsHitList)._capacity = (void *)0x0; @@ -493872,7 +494652,7 @@ void __thiscall Entity_Player::constructor(Entity_Player *this) //@@ 00754980 input_state_reset /* DB: ? zeroes a controller/input state block: 4 x 0x18 entries at +0x8c (id -1), fields - 0xec-0x1ac; called from Entity_Player::constructor, 00906100 and 0090c7e0 ("Failed to find input + 0xec-0x1ac; called from Entity_Player::constructor, 00906100 and 0090c7e0 NetplayManager::restore_player_state to find input device for UserId") */ void input_state_reset(void) @@ -494057,7 +494837,7 @@ Entity_Player * __thiscall Entity_Player::Free(Entity_Player *this,byte param_2) //@@ 00754d90 GameStatePlayer::~GameStatePlayer /* DB: member dtor chain (trees, deques, vectors up to +0x5d4); called from - Entity_Player::~Entity_Player (00754ed0) and from 00906100 / 0090c7e0 on a local GameStatePlayer + Entity_Player::~Entity_Player (00754ed0) and from 00906100 / 0090c7e0 NetplayManager::restore_player_state a local GameStatePlayer after GameStatePlayer::Init + Entity_Player::StoreGameState */ void GameStatePlayer::~GameStatePlayer(void) @@ -494160,7 +494940,7 @@ void Entity_Player::~Entity_Player(void) (pGVar6->_playerManager)._roomTransitionPlayer = (void *)0x0; } } - FID_conflict__Tidy(&in_ECX[0xb]._charmSource.field_0x20); + FID_conflict__Tidy(&in_ECX[0xb]._charmSource._flags); OnlineEmotes::destructor(); GameStatePlayer::~GameStatePlayer(); FID_conflict__Tidy(&in_ECX[8]._sprite._animState._animData); @@ -494279,7 +495059,7 @@ void Entity_Player::~Entity_Player(void) _eh_vector_destructor_iterator_(&in_ECX[1]._posOffset,0x114,7,ANM2::~ANM2); local_8 = 9; ANM2::Reset((ANM2 *)&in_ECX[1]._bossStatusEffectCooldown); - AnimationState::~AnimationState((AnimationState *)&in_ECX[1]._entityRef2.field_0x20); + AnimationState::~AnimationState((AnimationState *)&in_ECX[1]._entityRef2._flags); AnimationState::~AnimationState((AnimationState *)&in_ECX[1]._entityRef2); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); @@ -495132,116 +495912,114 @@ undefined4 FUN_00758590(void) in the EntityPtr-like +0x3c4 (multiset ref insert/erase), snaps pos/velocity to it when none was set, sfx 0xc3 for local players; called per player from PlayerManager::handle_coop_join */ -void Entity_Player::cycle_spectate_target(void) +void __thiscall Entity_Player::cycle_spectate_target(Entity_Player *this) { - int iVar1; - Manager *pMVar2; - char cVar3; - byte bVar4; - int *piVar5; - int in_ECX; - int *extraout_ECX; - int *extraout_ECX_00; - int *extraout_ECX_01; - int *piVar6; - int *extraout_ECX_02; - int *piVar7; - int *piVar8; - uint uVar9; - undefined4 uVar10; - int *local_48; - int local_44; - int *local_40; + Manager *pMVar1; + char cVar2; + byte bVar3; + EntityPtr EVar4; + EntityPtr extraout_ECX; + EntityPtr extraout_ECX_00; + EntityPtr extraout_ECX_01; + EntityPtr EVar5; + EntityPtr extraout_ECX_02; + EntityPtr EVar6; + EntityPtr EVar7; + uint uVar8; + float fVar9; + EntityPtr local_48; + Entity_Player *local_44; + EntityPtr local_40; char local_39; uint local_38 [13]; local_38[0xc] = __security_cookie ^ (uint)(local_38 + 0xd); - local_44 = in_ECX; - cVar3 = input_is_action_triggered(0xd,*(undefined4 *)(in_ECX + 0x1618),0,0); - piVar6 = extraout_ECX; - if (cVar3 != '\0') { - piVar6 = (int *)(in_ECX + 0x3c4); - local_39 = *piVar6 == 0; - local_48 = g_game->_room; - uVar9 = 0; - piVar7 = (int *)0x0; - local_40 = piVar6; - if (local_48[0x499] != 0) { + local_44 = this; + cVar2 = input_is_action_triggered(0xd,this->_controllerIndex,0,0); + EVar5 = extraout_ECX; + if (cVar2 != '\0') { + EVar5 = (EntityPtr)&this->_target; + local_39 = *(EntityPtr *)EVar5 == (EntityPtr)0x0; + local_48 = (EntityPtr)g_game->_room; + uVar8 = 0; + EVar6 = (EntityPtr)0x0; + local_40 = EVar5; + if (*(int *)((int)local_48 + 0x1264) != 0) { do { - piVar8 = *(int **)(local_48[0x497] + uVar9 * 4); - if ((piVar8 == (int *)0x0) || - (((*(int *)&g_game->_deathmatchManager < 2 || (piVar8[10] != 1)) && - (0x3dd < piVar8[10] - 10U)))) { - piVar8 = (int *)0x0; + EVar7 = *(EntityPtr *)(*(int *)((int)local_48 + 0x125c) + uVar8 * 4); + if ((EVar7 == (EntityPtr)0x0) || + (((*(int *)&g_game->_deathmatchManager < 2 || (*(int *)((int)EVar7 + 0x28) != 1)) && + (0x3dd < *(int *)((int)EVar7 + 0x28) - 10U)))) { + EVar7 = (EntityPtr)0x0; } - piVar5 = piVar7; - if (piVar8 == (int *)*piVar6) { + EVar4 = EVar6; + if (EVar7 == *(EntityPtr *)EVar5) { local_39 = '\x01'; } - else if (piVar8 != (int *)0x0) { - cVar3 = Entity::is_valid_target(); - if (cVar3 != '\0') { - piVar5 = piVar8; - if (piVar7 != (int *)0x0) { - piVar5 = piVar7; + else if (EVar7 != (EntityPtr)0x0) { + cVar2 = Entity::is_valid_target(); + if (cVar2 != '\0') { + EVar4 = EVar7; + if (EVar6 != (EntityPtr)0x0) { + EVar4 = EVar6; } if (local_39 != '\0') goto LAB_00758685; } - piVar6 = local_40; + EVar5 = local_40; } - uVar9 = uVar9 + 1; - piVar7 = piVar5; - } while (uVar9 < (uint)local_48[0x499]); - piVar8 = piVar5; - if (piVar5 != (int *)0x0) { + uVar8 = uVar8 + 1; + EVar6 = EVar4; + } while (uVar8 < *(uint *)((int)local_48 + 0x1264)); + EVar7 = EVar4; + if (EVar4 != (EntityPtr)0x0) { LAB_00758685: - piVar7 = local_40; - piVar6 = (int *)*local_40; - if (piVar8 != piVar6) { - uVar10 = 0; - if (piVar6 == (int *)0x0) { - iVar1 = piVar8[0xd0]; - *(int *)(local_44 + 0x33c) = piVar8[0xcf]; - *(int *)(local_44 + 0x340) = iVar1; - *(float *)(local_44 + 0x360) = g_vectorZero.x; - *(float *)(local_44 + 0x364) = g_vectorZero.y; - uVar10 = 0x3f800000; + EVar6 = local_40; + this = local_44; + EVar5 = *(EntityPtr *)local_40; + if (EVar7 != EVar5) { + fVar9 = 0.0; + if (EVar5 == (EntityPtr)0x0) { + fVar9 = *(float *)((int)EVar7 + 0x340); + (local_44->_pos).x = *(float *)((int)EVar7 + 0x33c); + (local_44->_pos).y = fVar9; + (local_44->_velocity).x = g_vectorZero.x; + (local_44->_velocity).y = g_vectorZero.y; + fVar9 = 1.0; } - else if (((1 < *(int *)&g_game->_deathmatchManager) && (piVar6[10] == 1)) || - (piVar6[10] - 10U < 0x3de)) { - piVar6[0x3c7] = -1; + else if (((1 < *(int *)&g_game->_deathmatchManager) && (*(int *)((int)EVar5 + 0x28) == 1)) + || (*(int *)((int)EVar5 + 0x28) - 10U < 0x3de)) { + *(int *)((int)EVar5 + 0xf1c) = -1; } - *(undefined4 *)(local_44 + 0x334) = uVar10; - if (*local_40 != 0) { + (local_44->_targetPosition).x = fVar9; + if (*(int *)local_40 != 0) { local_48 = local_40; std::multiset::erase(&local_48); } - *piVar7 = (int)piVar8; - std::multiset::insert(piVar7); - in_ECX = local_44; + *(EntityPtr *)EVar6 = EVar7; + std::multiset::insert(EVar6); if ((g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) || - (bVar4 = NetplayManager::IsIdxLocalPlayer - (&g_manager->_netplayManager,*(uint *)(local_44 + 0x1618)), - piVar6 = extraout_ECX_00, bVar4 != 0)) { - pMVar2 = g_manager; - local_40 = (int *)0xc3; + (bVar3 = NetplayManager::IsIdxLocalPlayer + (&g_manager->_netplayManager,this->_controllerIndex), + EVar5 = extraout_ECX_00, bVar3 != 0)) { + pMVar1 = g_manager; + local_40 = (EntityPtr)0xc3; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_40,1.0,2,0,1.0,0.0); - piVar6 = extraout_ECX_01; + SoundEffects::Play(&pMVar1->_sfxManager,(int)local_40,1.0,2,0,1.0,0.0); + EVar5 = extraout_ECX_01; } goto LAB_007587aa; } } } - in_ECX = local_44; + this = local_44; } LAB_007587aa: - iVar1 = *(int *)(in_ECX + 0x3c4); - if (((iVar1 != 0) && - (((1 < *(int *)&g_game->_deathmatchManager && (*(int *)(iVar1 + 0x28) == 1)) || - (*(int *)(iVar1 + 0x28) - 10U < 0x3de)))) && (*(int *)(iVar1 + 0xf1c) == -1)) { - uVar9 = 0; + EVar6 = this->_target; + if (((EVar6 != (EntityPtr)0x0) && + (((1 < *(int *)&g_game->_deathmatchManager && (*(int *)((int)EVar6 + 0x28) == 1)) || + (*(int *)((int)EVar6 + 0x28) - 10U < 0x3de)))) && (*(int *)((int)EVar6 + 0xf1c) == -1)) { + uVar8 = 0; local_38[0] = 0; local_38[1] = 2; local_38[2] = 1; @@ -495254,16 +496032,15 @@ LAB_007587aa: local_38[9] = 10; local_38[10] = 8; local_38[0xb] = 0xb; - while (cVar3 = input_is_action_pressed - (local_38[uVar9],*(undefined4 *)(in_ECX + 0x1618),0,piVar6), - cVar3 == '\0') { - uVar9 = uVar9 + 1; - piVar6 = extraout_ECX_02; - if (0xb < uVar9) { + while (cVar2 = input_is_action_pressed(local_38[uVar8],this->_controllerIndex,0,EVar5), + cVar2 == '\0') { + uVar8 = uVar8 + 1; + EVar5 = extraout_ECX_02; + if (0xb < uVar8) { return; } } - *(undefined4 *)(iVar1 + 0xf1c) = *(undefined4 *)(in_ECX + 0x1618); + *(int *)((int)EVar6 + 0xf1c) = this->_controllerIndex; } return; } @@ -497482,8 +498259,10 @@ Entity_Player::get_costume_anim_frame(Entity_Player *this,undefined4 param_2,und +0x1220 stride 0x130) where Weapon::is_held_item matches the item, plays anim (and the "_Overlay" variant); Weapon::play_brimstone_costume_shoot (Brimstone 0x76), Entity_Player::update_effects */ -void Entity_Player::play_item_costume_anim - (undefined4 param_1,undefined4 param_2,undefined4 param_3,byte *param_4) +void __thiscall +Entity_Player::play_item_costume_anim + (Entity_Player *this,undefined4 param_2,undefined4 param_3,undefined4 param_4, + byte *param_5) { int iVar1; @@ -497491,16 +498270,15 @@ void Entity_Player::play_item_costume_anim byte bVar3; byte *pbVar4; undefined4 *****pppppuVar5; - int in_ECX; uint uVar6; undefined4 *****pppppuVar7; - ANM2 *this; + ANM2 *this_00; undefined1 auStack_3c [3]; char local_39; uint local_38; - int *local_34; + PlayerCostumeMap *local_34; uint local_30; - int local_2c; + Entity_Player *local_2c; undefined4 local_28; undefined4 *****local_24 [5]; uint local_10; @@ -497508,38 +498286,38 @@ void Entity_Player::play_item_costume_anim local_c = __security_cookie ^ (uint)auStack_3c; uVar6 = 0; - local_28 = param_2; + local_28 = param_3; local_30 = 0; - local_34 = (int *)(in_ECX + 0x122c); + local_34 = this->_playerCostumeMap; local_38 = 0; - local_2c = in_ECX; + local_2c = this; do { - if ((-1 < *local_34) && ((char)local_34[3] == '\0')) { - this = (ANM2 *)(*local_34 * 0x130 + *(int *)(local_2c + 0x1220)); - cVar2 = Weapon::is_held_item(this,param_4,local_28); + if ((-1 < local_34->_index) && (local_34->_isBodyLayer == 0)) { + this_00 = (ANM2 *)(local_34->_index * 0x130 + (int)(local_2c->_costumeSpriteDescs)._begin); + cVar2 = Weapon::is_held_item(this_00,param_5,local_28); if (cVar2 != '\0') { - pbVar4 = param_4; - if (0xf < *(uint *)(param_4 + 0x14)) { - pbVar4 = *(byte **)param_4; + pbVar4 = param_5; + if (0xf < *(uint *)(param_5 + 0x14)) { + pbVar4 = *(byte **)param_5; } - bVar3 = ANM2::IsPlaying(this,pbVar4); - if ((bVar3 != 0) && ((this->_animState)._animData != (void *)0x0)) { - AnimationState::SetFrameFloat(&this->_animState); + bVar3 = ANM2::IsPlaying(this_00,pbVar4); + if ((bVar3 != 0) && ((this_00->_animState)._animData != (void *)0x0)) { + AnimationState::SetFrameFloat(&this_00->_animState); } - if (this[1]._filename._buf[10] == '\0') { + if (this_00[1]._filename._buf[10] == '\0') { pppppuVar7 = local_24[0]; LAB_0075ae61: local_39 = '\0'; } else { - iVar1 = *(int *)(param_4 + 0x10); + iVar1 = *(int *)(param_5 + 0x10); if (0x7fffffffU - iVar1 < 8) { /* WARNING: Subroutine does not return */ std::string::_Xlen(); } - pbVar4 = param_4; - if (0xf < *(uint *)(param_4 + 0x14)) { - pbVar4 = *(byte **)param_4; + pbVar4 = param_5; + if (0xf < *(uint *)(param_5 + 0x14)) { + pbVar4 = *(byte **)param_5; } std::string::concat(local_28,iVar1,pbVar4,iVar1,"_Overlay",8); pppppuVar7 = local_24[0]; @@ -497565,14 +498343,14 @@ LAB_0075ae61: } operator_delete(pppppuVar5,uVar6); } - if ((local_39 != '\0') && ((this->_overlayAnimState)._animData != (void *)0x0)) { - AnimationState::SetFrameFloat(&this->_overlayAnimState); + if ((local_39 != '\0') && ((this_00->_overlayAnimState)._animData != (void *)0x0)) { + AnimationState::SetFrameFloat(&this_00->_overlayAnimState); } uVar6 = local_38; } } local_30 = local_30 + 1; - local_34 = local_34 + 4; + local_34 = local_34 + 1; if (0xe < local_30) { return; } @@ -498359,8 +499137,8 @@ LAB_0075bea8: void Entity_Player::UpdateCostumes(void) { - undefined4 uVar1; - undefined4 uVar2; + float fVar1; + float fVar2; byte bVar3; uint uVar4; void *pvVar5; @@ -498369,28 +499147,29 @@ void Entity_Player::UpdateCostumes(void) LayerState *pLVar8; char ******ppppppcVar9; byte *pbVar10; - int *piVar11; - char cVar12; + float fVar11; + int *piVar12; + char cVar13; byte extraout_CL; byte extraout_CL_00; Entity_Player *in_ECX; - undefined4 uVar13; - void *pvVar14; - int iVar15; - byte *pbVar16; - undefined1 *puVar17; + undefined4 uVar14; + void *pvVar15; + int iVar16; + byte *pbVar17; + ColorMod *pCVar18; int *extraout_ECX; int *extraout_ECX_00; - int *piVar18; + int *piVar19; int *extraout_ECX_01; int *extraout_ECX_02; int *extraout_ECX_03; - int iVar19; - uint uVar20; - ANM2 *pAVar21; - byte *pbVar22; - Entity_Player *pEVar23; - bool bVar24; + int iVar20; + uint uVar21; + ANM2 *pAVar22; + byte *pbVar23; + Entity_Player *pEVar24; + bool bVar25; char *anim; undefined1 local_e8 [4]; LayerState *local_e4; @@ -498416,7 +499195,7 @@ void Entity_Player::UpdateCostumes(void) undefined1 local_8c [12]; undefined4 local_80; undefined4 uStack_7c; - undefined4 local_78; + float local_78; int local_74; int iStack_70; int iStack_6c; @@ -498448,9 +499227,9 @@ void Entity_Player::UpdateCostumes(void) if (DAT_00c81148 != '\0') { return; } - pvVar14 = (in_ECX->_costumeSpriteDescs)._end; + pvVar15 = (in_ECX->_costumeSpriteDescs)._end; local_a9 = '\0'; - iVar19 = -1; + iVar20 = -1; local_a1 = 0; local_aa = '\0'; local_a2 = '\0'; @@ -498459,7 +499238,7 @@ void Entity_Player::UpdateCostumes(void) DAT_00c81148 = '\x01'; local_c8 = -1; local_a8 = (int *)0x4b; - if (pvVar5 == pvVar14) { + if (pvVar5 == pvVar15) { LAB_0075c0c6: local_a8 = (int *)0xffffffff; } @@ -498468,35 +499247,35 @@ LAB_0075c0c6: do { piVar6 = *(int **)((int)pvVar5 + 0x114); if (piVar6 != (int *)0x0) { - iVar15 = *piVar6; - if (((iVar15 == 1) || (iVar15 == 3)) || (iVar15 == 4)) { - iVar15 = piVar6[1]; - if (iVar15 < 0x253) { - if (iVar15 == 0x252) { + iVar16 = *piVar6; + if (((iVar16 == 1) || (iVar16 == 3)) || (iVar16 == 4)) { + iVar16 = piVar6[1]; + if (iVar16 < 0x253) { + if (iVar16 == 0x252) { local_a9 = '\x01'; } - else if (iVar15 == 0x82) { + else if (iVar16 == 0x82) { local_a8 = (int *)0x4d; } - else if (iVar15 == 0xb5) { + else if (iVar16 == 0xb5) { local_a8 = (int *)0x4e; } } - else if (iVar15 == 0x271) { + else if (iVar16 == 0x271) { local_a2 = '\x01'; } - else if (iVar15 == 0x2c0) { + else if (iVar16 == 0x2c0) { local_a1 = 1; } } else if (*piVar6 == 0) { - iVar15 = piVar6[1]; - iVar19 = iVar15; - if (3 < iVar15 - 0x4bU) { - iVar19 = local_c8; + iVar16 = piVar6[1]; + iVar20 = iVar16; + if (3 < iVar16 - 0x4bU) { + iVar20 = local_c8; } - local_c8 = iVar19; - if (iVar15 == 0x67) { + local_c8 = iVar20; + if (iVar16 == 0x67) { local_aa = '\x01'; } } @@ -498506,16 +499285,16 @@ LAB_0075c0c6: local_a8 = (int *)0x4c; } pvVar5 = (void *)((int)pvVar5 + 0x130); - pvVar14 = (in_ECX->_costumeSpriteDescs)._end; - } while (pvVar5 != pvVar14); + pvVar15 = (in_ECX->_costumeSpriteDescs)._end; + } while (pvVar5 != pvVar15); if (local_a9 == '\0') goto LAB_0075c0c6; } ExceptionList = &local_10; local_b0 = in_ECX; local_14 = uVar4; - if (local_a8 != (int *)iVar19) { + if (local_a8 != (int *)iVar20) { pvVar5 = (in_ECX->_costumeSpriteDescs)._begin; - if (pvVar5 != pvVar14) { + if (pvVar5 != pvVar15) { do { piVar6 = *(int **)((int)pvVar5 + 0x114); if (((piVar6 == (int *)0x0) || (*piVar6 != 0)) || (3 < piVar6[1] - 0x4bU)) { @@ -498529,49 +499308,49 @@ LAB_0075c0c6: } if (local_a8 != (int *)0xffffffff) { if (((int)local_a8 < 0) || - (pvVar14 = (g_manager->_itemConfig)._nullItems._begin, - (int)(g_manager->_itemConfig)._nullItems._end - (int)pvVar14 >> 2 <= (int)local_a8)) { + (pvVar15 = (g_manager->_itemConfig)._nullItems._begin, + (int)(g_manager->_itemConfig)._nullItems._end - (int)pvVar15 >> 2 <= (int)local_a8)) { pIVar7 = (ItemConfig_Item *)0x0; } else { - pIVar7 = *(ItemConfig_Item **)((int)pvVar14 + (int)local_a8 * 4); + pIVar7 = *(ItemConfig_Item **)((int)pvVar15 + (int)local_a8 * 4); } AddCostume(in_ECX,pIVar7,0); } } if ((local_a1 == 0) || (in_ECX->_playerType != 0x1b)) { - cVar12 = '\0'; + cVar13 = '\0'; } else { - cVar12 = '\x01'; + cVar13 = '\x01'; } - if (cVar12 != local_aa) { - pvVar14 = (g_manager->_itemConfig)._nullItems._begin; - iVar19 = (int)(g_manager->_itemConfig)._nullItems._end - (int)pvVar14 >> 2; + if (cVar13 != local_aa) { + pvVar15 = (g_manager->_itemConfig)._nullItems._begin; + iVar20 = (int)(g_manager->_itemConfig)._nullItems._end - (int)pvVar15 >> 2; if (local_aa == '\0') { - if (iVar19 < 0x68) { + if (iVar20 < 0x68) { pIVar7 = (ItemConfig_Item *)0x0; } else { - pIVar7 = *(ItemConfig_Item **)((int)pvVar14 + 0x19c); + pIVar7 = *(ItemConfig_Item **)((int)pvVar15 + 0x19c); } AddCostume(in_ECX,pIVar7,0); } - else if (iVar19 < 0x68) { + else if (iVar20 < 0x68) { RemoveCostume(in_ECX,(ItemConfig_Item *)0x0); } else { - RemoveCostume(in_ECX,*(ItemConfig_Item **)((int)pvVar14 + 0x19c)); + RemoveCostume(in_ECX,*(ItemConfig_Item **)((int)pvVar15 + 0x19c)); } } - iVar19 = in_ECX->_playerType; - if (((iVar19 < 0) || + iVar20 = in_ECX->_playerType; + if (((iVar20 < 0) || (local_d4 = (g_manager->_entityConfig)._players._begin, - ((int)(g_manager->_entityConfig)._players._end - (int)local_d4) / 0x148 <= iVar19)) || - (local_d4 = (void *)(iVar19 * 0x148 + (int)local_d4), local_d4 == (void *)0x0)) { + ((int)(g_manager->_entityConfig)._players._end - (int)local_d4) / 0x148 <= iVar20)) || + (local_d4 = (void *)(iVar20 * 0x148 + (int)local_d4), local_d4 == (void *)0x0)) { local_d4 = (void *)0x0; /* WARNING: Subroutine does not return */ - KAGE_LogMessage(0x10,"Could not load config for player type %d\n",iVar19,uVar4); + KAGE_LogMessage(0x10,"Could not load config for player type %d\n",iVar20,uVar4); } local_d0 = *(int **)((int)local_d4 + 0xe4); uVar4 = 0; @@ -498593,64 +499372,64 @@ LAB_0075c0c6: local_c8 = -1; local_a8 = (int *)0xffffffff; local_bc = (byte *)0x0; - pvVar14 = local_b8->_begin; + pvVar15 = local_b8->_begin; local_c4 = local_d0; - if (0 < ((int)local_b8->_end - (int)pvVar14) / 0x130) { + if (0 < ((int)local_b8->_end - (int)pvVar15) / 0x130) { do { - pAVar21 = (ANM2 *)((int)pvVar14 + (int)local_bc * 0x130); - pbVar22 = local_bc; + pAVar22 = (ANM2 *)((int)pvVar15 + (int)local_bc * 0x130); + pbVar23 = local_bc; local_d8 = local_bc; if ((local_b0->_hasCurseMistEffect == 0) || - (((piVar6 = *(int **)pAVar21[1]._filename._buf, piVar6 != (int *)0x0 && (*piVar6 == 0)) && + (((piVar6 = *(int **)pAVar22[1]._filename._buf, piVar6 != (int *)0x0 && (*piVar6 == 0)) && (piVar6[1] == *(int *)((int)local_d4 + 0xac))))) { LAB_0075c397: if (((local_b0->_isCoopGhost == 0) && ((local_a2 == '\0' || - (((piVar6 = *(int **)pAVar21[1]._filename._buf, piVar6 != (int *)0x0 && (*piVar6 == 3)) + (((piVar6 = *(int **)pAVar22[1]._filename._buf, piVar6 != (int *)0x0 && (*piVar6 == 3)) && (piVar6[1] == 0x271)))))) && - ((piVar6 = *(int **)pAVar21[1]._filename._buf, piVar6 == (int *)0x0 || - ((((iVar19 = *piVar6, iVar19 != 1 && (iVar19 != 3)) && (iVar19 != 4)) || + ((piVar6 = *(int **)pAVar22[1]._filename._buf, piVar6 == (int *)0x0 || + ((((iVar20 = *piVar6, iVar20 != 1 && (iVar20 != 3)) && (iVar20 != 4)) || ((piVar6[1] != 0xd6 || ((local_b0->_playerType != 8 && (local_b0->_playerType != 0xb))) ))))))) { local_dc = &local_b0->_sprite; local_a1 = 0; local_e0 = 0; - pbVar22 = (byte *)0x0; - local_cc = pAVar21; + pbVar23 = (byte *)0x0; + local_cc = pAVar22; do { - pLVar8 = ANM2::GetLayer(local_dc,pbVar22); - pvVar14 = pLVar8->_layerData; - if (pvVar14 == (void *)0x0) { + pLVar8 = ANM2::GetLayer(local_dc,pbVar23); + pvVar15 = pLVar8->_layerData; + if (pvVar15 == (void *)0x0) { pbVar10 = &s_empty; } else { - pbVar10 = (byte *)((int)pvVar14 + 8); - if (0xf < *(uint *)((int)pvVar14 + 0x1c)) { + pbVar10 = (byte *)((int)pvVar15 + 8); + if (0xf < *(uint *)((int)pvVar15 + 0x1c)) { pbVar10 = *(byte **)pbVar10; } } - local_e4 = ANM2::GetLayer(pAVar21,pbVar10); + local_e4 = ANM2::GetLayer(pAVar22,pbVar10); if (local_e4 == (LayerState *)0x0) { LAB_0075c5f9: } else { - if ((*(int *)(pAVar21[1]._filename._buf + 4) < - local_b0->_playerCostumeMap[(int)pbVar22]._priority) || - (((local_b0->_canFly != 0 && (pAVar21[1]._filename._buf[9] == '\0')) && - (local_b0->_playerCostumeMap[(int)pbVar22]._isBodyLayer != 0)))) { - if (pbVar22 == &DAT_00000004) { + if ((*(int *)(pAVar22[1]._filename._buf + 4) < + local_b0->_playerCostumeMap[(int)pbVar23]._priority) || + (((local_b0->_canFly != 0 && (pAVar22[1]._filename._buf[9] == '\0')) && + (local_b0->_playerCostumeMap[(int)pbVar23]._isBodyLayer != 0)))) { + if (pbVar23 == &DAT_00000004) { LAB_0075c594: - if ((char)pAVar21[1]._filename._capacity != '\0') goto LAB_0075c59d; + if ((char)pAVar22[1]._filename._capacity != '\0') goto LAB_0075c59d; } - else if (pbVar22 == (byte *)0x1) { + else if (pbVar23 == (byte *)0x1) { LAB_0075c5ca: - if ((char)pAVar21[1]._filename._capacity != '\0') goto LAB_0075c5d3; + if ((char)pAVar22[1]._filename._capacity != '\0') goto LAB_0075c5d3; } goto LAB_0075c5f9; } if (((local_e0 != 0) && (local_d8 == local_bc)) && - ((pbVar22 != (byte *)0x0 && - (bVar3 = local_b0->_playerCostumeMap[(int)pbVar22]._isBodyLayer, local_a1 != bVar3 + ((pbVar23 != (byte *)0x0 && + (bVar3 = local_b0->_playerCostumeMap[(int)pbVar23]._isBodyLayer, local_a1 != bVar3 )))) { if (bVar3 == 0) { local_bc = local_bc + 1; @@ -498659,113 +499438,113 @@ LAB_0075c5ca: local_d8 = local_d8 + 1; } } - local_a1 = local_b0->_playerCostumeMap[(int)pbVar22]._isBodyLayer; + local_a1 = local_b0->_playerCostumeMap[(int)pbVar23]._isBodyLayer; pbVar10 = local_bc; if (local_a1 != 0) { pbVar10 = local_d8; } - local_b0->_playerCostumeMap[(int)pbVar22]._index = (int)pbVar10; + local_b0->_playerCostumeMap[(int)pbVar23]._index = (int)pbVar10; if (local_e4->_layerData == (undefined4 *)0x0) { - uVar13 = 0xffffffff; + uVar14 = 0xffffffff; } else { - uVar13 = *(undefined4 *)local_e4->_layerData; + uVar14 = *(undefined4 *)local_e4->_layerData; } local_e0 = local_e0 + 1; *(undefined4 *) - ((int)(&(local_b0->_sprite)._filename + -3) + (int)(pbVar22 + 0x123) * 0x10) = uVar13 + ((int)(&(local_b0->_sprite)._filename + -3) + (int)(pbVar23 + 0x123) * 0x10) = uVar14 ; - local_b0->_playerCostumeMap[(int)pbVar22]._priority = + local_b0->_playerCostumeMap[(int)pbVar23]._priority = *(int *)(local_cc[1]._filename._buf + 4); - cVar12 = (char)local_cc[1]._filename._capacity; - pAVar21 = local_cc; - if (pbVar22 == &DAT_00000004) { - if (cVar12 == '\0') goto LAB_0075c594; + cVar13 = (char)local_cc[1]._filename._capacity; + pAVar22 = local_cc; + if (pbVar23 == &DAT_00000004) { + if (cVar13 == '\0') goto LAB_0075c594; local_d0 = *(int **)(local_cc[1]._filename._buf + 0xc); LAB_0075c59d: - iVar19 = *(int *)(pAVar21[1]._filename._buf + 4); - if (local_c8 <= iVar19) { - local_d0 = *(int **)(pAVar21[1]._filename._buf + 0xc); - local_c8 = iVar19; + iVar20 = *(int *)(pAVar22[1]._filename._buf + 4); + if (local_c8 <= iVar20) { + local_d0 = *(int **)(pAVar22[1]._filename._buf + 0xc); + local_c8 = iVar20; } } else { - if (pbVar22 != (byte *)0x1) goto LAB_0075c5f9; - if (cVar12 == '\0') goto LAB_0075c5ca; + if (pbVar23 != (byte *)0x1) goto LAB_0075c5f9; + if (cVar13 == '\0') goto LAB_0075c5ca; local_c4 = *(int **)(local_cc[1]._filename._buf + 0xc); LAB_0075c5d3: - piVar6 = *(int **)(pAVar21[1]._filename._buf + 4); + piVar6 = *(int **)(pAVar22[1]._filename._buf + 4); if ((int)local_a8 <= (int)piVar6) { - local_c4 = *(int **)(pAVar21[1]._filename._buf + 0xc); + local_c4 = *(int **)(pAVar22[1]._filename._buf + 0xc); local_a8 = piVar6; } } } - pbVar22 = pbVar22 + 1; - } while (pbVar22 < &DAT_0000000f); - if ((char)pAVar21[1]._filename._capacity != '\0') { - iVar19 = *(int *)pAVar21[1]._filename._buf; - if (iVar19 != 0) { - if (*(char *)(iVar19 + 0xa9) != '\0') { - iVar15 = *(int *)(pAVar21[1]._filename._buf + 4); - if (local_c8 <= iVar15) { - local_d0 = *(int **)(pAVar21[1]._filename._buf + 0xc); - local_c8 = iVar15; + pbVar23 = pbVar23 + 1; + } while (pbVar23 < &DAT_0000000f); + if ((char)pAVar22[1]._filename._capacity != '\0') { + iVar20 = *(int *)pAVar22[1]._filename._buf; + if (iVar20 != 0) { + if (*(char *)(iVar20 + 0xa9) != '\0') { + iVar16 = *(int *)(pAVar22[1]._filename._buf + 4); + if (local_c8 <= iVar16) { + local_d0 = *(int **)(pAVar22[1]._filename._buf + 0xc); + local_c8 = iVar16; } } - if (*(char *)(iVar19 + 0xaa) != '\0') { - piVar6 = *(int **)(pAVar21[1]._filename._buf + 4); + if (*(char *)(iVar20 + 0xaa) != '\0') { + piVar6 = *(int **)(pAVar22[1]._filename._buf + 4); if ((int)local_a8 <= (int)piVar6) { - local_c4 = *(int **)(pAVar21[1]._filename._buf + 0xc); + local_c4 = *(int **)(pAVar22[1]._filename._buf + 0xc); local_a8 = piVar6; } } } } - pbVar22 = local_d8; + pbVar23 = local_d8; if ((int)local_d8 < (int)local_bc) { - pbVar22 = local_bc; + pbVar23 = local_bc; } } } else { - iVar19 = *piVar6; - if ((((iVar19 == 1) || (iVar19 == 3)) || (iVar19 == 4)) && + iVar20 = *piVar6; + if ((((iVar20 == 1) || (iVar20 == 3)) || (iVar20 == 4)) && ((piVar6[1] == 0x14 && ((local_b0->_temporaryeffects)._disabled == 0)))) { piVar6 = (local_b0->_temporaryeffects)._effects._begin; - piVar18 = (local_b0->_temporaryeffects)._effects._end; - if (piVar6 != piVar18) { + piVar19 = (local_b0->_temporaryeffects)._effects._end; + if (piVar6 != piVar19) { do { - iVar19 = *(int *)*piVar6; - if ((((iVar19 == 1) || (iVar19 == 3)) || (iVar19 == 4)) && + iVar20 = *(int *)*piVar6; + if ((((iVar20 == 1) || (iVar20 == 3)) || (iVar20 == 4)) && (((int *)*piVar6)[1] == 0x14)) goto LAB_0075c397; piVar6 = piVar6 + 4; - } while (piVar6 != piVar18); + } while (piVar6 != piVar19); } } } - local_bc = pbVar22 + 1; - pvVar14 = local_b8->_begin; - } while ((int)local_bc < ((int)local_b8->_end - (int)pvVar14) / 0x130); + local_bc = pbVar23 + 1; + pvVar15 = local_b8->_begin; + } while ((int)local_bc < ((int)local_b8->_end - (int)pvVar15) / 0x130); } if ((local_b0->_playerType == 0xc) || (local_a9 = '\0', local_b0->_playerType == 0x18)) { local_a9 = '\x01'; } local_cc = (ANM2 *)0x0; - pEVar23 = local_b0; + pEVar24 = local_b0; do { - iVar19 = pEVar23->_playerCostumeMap[(int)local_cc]._index; - if (-1 < iVar19) { - pvVar14 = (pEVar23->_costumeSpriteDescs)._begin; - iVar19 = iVar19 * 0x130; - local_a2 = *(char *)((int)pvVar14 + iVar19 + 0x11f); + iVar20 = pEVar24->_playerCostumeMap[(int)local_cc]._index; + if (-1 < iVar20) { + pvVar15 = (pEVar24->_costumeSpriteDescs)._begin; + iVar20 = iVar20 * 0x130; + local_a2 = *(char *)((int)pvVar15 + iVar20 + 0x11f); if (((local_a2 != '\0') && - (((piVar6 = *(int **)((int)pvVar14 + iVar19 + 0x124), piVar6 != local_d0 && - (pEVar23->_playerCostumeMap[(int)local_cc]._isBodyLayer == 0)) || - ((pEVar23 = local_b0, piVar6 != local_c4 && + (((piVar6 = *(int **)((int)pvVar15 + iVar20 + 0x124), piVar6 != local_d0 && + (pEVar24->_playerCostumeMap[(int)local_cc]._isBodyLayer == 0)) || + ((pEVar24 = local_b0, piVar6 != local_c4 && (local_b0->_playerCostumeMap[(int)local_cc]._isBodyLayer != 0)))))) || - (*(int *)((int)pvVar14 + iVar19 + 300) != pEVar23->_playerType)) { - local_bc = *(byte **)((int)pvVar14 + iVar19 + 0x34); + (*(int *)((int)pvVar15 + iVar20 + 300) != pEVar24->_playerType)) { + local_bc = *(byte **)((int)pvVar15 + iVar20 + 0x34); if (local_bc == (byte *)0x0) { local_bc = &s_empty; LAB_0075c790: @@ -498775,24 +499554,24 @@ LAB_0075c790: if (0xf < *(uint *)(local_bc + 0x14)) { local_bc = *(byte **)local_bc; } - if (*(char *)((int)pvVar14 + iVar19 + 0x44) == '\0') goto LAB_0075c790; + if (*(char *)((int)pvVar15 + iVar20 + 0x44) == '\0') goto LAB_0075c790; local_b1 = 1; } - local_e4 = (LayerState *)(int)*(float *)((int)pvVar14 + iVar19 + 0x40); + local_e4 = (LayerState *)(int)*(float *)((int)pvVar15 + iVar20 + 0x40); local_a8 = local_d0; - if ((*(int **)((int)pvVar14 + iVar19 + 0x124) != local_c4) && + if ((*(int **)((int)pvVar15 + iVar20 + 0x124) != local_c4) && (local_b0->_playerCostumeMap[(int)local_cc]._isBodyLayer != 0)) { local_a8 = local_c4; } - piVar6 = *(int **)((int)pvVar14 + iVar19 + 0x114); - if ((*piVar6 != 0) || ((iVar15 = piVar6[1], iVar15 != 0xc && (iVar15 != 0x58)))) { - if ((local_a2 == '\0') || (*(int **)((int)pvVar14 + iVar19 + 0x120) == local_a8)) { - pbVar22 = (byte *)0x0; - if (*(int *)((int)pvVar14 + iVar19 + 0x80) != 0) { + piVar6 = *(int **)((int)pvVar15 + iVar20 + 0x114); + if ((*piVar6 != 0) || ((iVar16 = piVar6[1], iVar16 != 0xc && (iVar16 != 0x58)))) { + if ((local_a2 == '\0') || (*(int **)((int)pvVar15 + iVar20 + 0x120) == local_a8)) { + pbVar23 = (byte *)0x0; + if (*(int *)((int)pvVar15 + iVar20 + 0x80) != 0) { do { local_a2 = '\0'; local_dc = (ANM2 *)local_b0->_playerType; - pLVar8 = ANM2::GetLayer((ANM2 *)((int)pvVar14 + iVar19),pbVar22); + pLVar8 = ANM2::GetLayer((ANM2 *)((int)pvVar15 + iVar20),pbVar23); if (pLVar8->_layerData == (void *)0x0) { local_18 = 0xf; local_1c = 0; @@ -498820,76 +499599,76 @@ LAB_0075c790: local_18 = 0xf; local_2c[0] = (char ******)((uint)local_2c[0] & 0xffffff00); Sprite::ReplaceSpritesheet - ((Sprite *)((int)local_b8->_begin + iVar19),pbVar22,local_44); + ((Sprite *)((int)local_b8->_begin + iVar20),pbVar23,local_44); if ((local_a2 == '\0') && (local_a9 != '\0')) { - pLVar8 = ANM2::GetLayer((ANM2 *)((int)local_b8->_begin + iVar19),pbVar22); - uVar2 = uRam00c5d09c; - uVar1 = uRam00c5d098; - uVar13 = uRam00c5d094; - puVar17 = &pLVar8->field_0x48; - if (puVar17 != &DAT_00c5d090) { - *(undefined4 *)puVar17 = _DAT_00c5d090; - *(undefined4 *)&pLVar8->field_0x4c = uVar13; - *(undefined4 *)&pLVar8->field_0x50 = uVar1; - *(undefined4 *)&pLVar8->field_0x54 = uVar2; - uVar2 = uRam00c5d0ac; - uVar1 = uRam00c5d0a8; - uVar13 = uRam00c5d0a4; - *(undefined4 *)&pLVar8->field_0x58 = _DAT_00c5d0a0; - *(undefined4 *)&pLVar8->field_0x5c = uVar13; - *(undefined4 *)&pLVar8->field_0x60 = uVar1; - *(undefined4 *)&pLVar8->field_0x64 = uVar2; - *(undefined8 *)&pLVar8->field_0x68 = DAT_00c5d0b0; - uVar13 = DAT_00c5d0b8; + pLVar8 = ANM2::GetLayer((ANM2 *)((int)local_b8->_begin + iVar20),pbVar23); + fVar2 = fRam00c5d09c; + fVar1 = fRam00c5d098; + fVar11 = fRam00c5d094; + pCVar18 = &pLVar8->_color; + if (pCVar18 != (ColorMod *)&DAT_00c5d090) { + pCVar18->_tint[0] = _DAT_00c5d090; + (pLVar8->_color)._tint[1] = fVar11; + (pLVar8->_color)._tint[2] = fVar1; + (pLVar8->_color)._tint[3] = fVar2; + fVar2 = fRam00c5d0ac; + fVar1 = fRam00c5d0a8; + fVar11 = fRam00c5d0a4; + (pLVar8->_color)._colorize[0] = _DAT_00c5d0a0; + (pLVar8->_color)._colorize[1] = fVar11; + (pLVar8->_color)._colorize[2] = fVar1; + (pLVar8->_color)._colorize[3] = fVar2; + *(undefined8 *)(pLVar8->_color)._offset = DAT_00c5d0b0; + fVar11 = DAT_00c5d0b8; goto LAB_0075cd12; } } else { local_80 = 0; uStack_7c = 0; - local_78 = 0; - pLVar8 = ANM2::GetLayer((ANM2 *)((int)local_b8->_begin + iVar19),pbVar22); - puVar17 = &pLVar8->field_0x48; - if ((undefined4 *)puVar17 != local_a0) { - *(undefined4 *)puVar17 = 0x3f800000; - *(undefined4 *)&pLVar8->field_0x4c = 0x3f800000; - *(undefined4 *)&pLVar8->field_0x50 = 0x3f800000; - *(undefined4 *)&pLVar8->field_0x54 = 0x3f800000; - *(undefined4 *)&pLVar8->field_0x58 = 0; - *(undefined4 *)&pLVar8->field_0x5c = 0; - *(undefined4 *)&pLVar8->field_0x60 = 0; - *(undefined4 *)&pLVar8->field_0x64 = 0; - *(ulonglong *)&pLVar8->field_0x68 = CONCAT44(uStack_7c,local_80); - uVar13 = local_78; + local_78 = 0.0; + pLVar8 = ANM2::GetLayer((ANM2 *)((int)local_b8->_begin + iVar20),pbVar23); + pCVar18 = &pLVar8->_color; + if (pCVar18 != (ColorMod *)local_a0) { + pCVar18->_tint[0] = 1.0; + (pLVar8->_color)._tint[1] = 1.0; + (pLVar8->_color)._tint[2] = 1.0; + (pLVar8->_color)._tint[3] = 1.0; + (pLVar8->_color)._colorize[0] = 0.0; + (pLVar8->_color)._colorize[1] = 0.0; + (pLVar8->_color)._colorize[2] = 0.0; + (pLVar8->_color)._colorize[3] = 0.0; + *(ulonglong *)(pLVar8->_color)._offset = CONCAT44(uStack_7c,local_80); + fVar11 = local_78; LAB_0075cd12: - *(undefined4 *)(puVar17 + 0x28) = uVar13; + pCVar18->_offset[2] = fVar11; } } local_8 = (char *****)0xffffffff; if (0xf < local_30) { uVar4 = local_30 + 1; - iVar15 = local_44[0]; + iVar16 = local_44[0]; if (0xfff < uVar4) { - iVar15 = *(int *)(local_44[0] + -4); + iVar16 = *(int *)(local_44[0] + -4); uVar4 = local_30 + 0x24; - if (0x1f < (local_44[0] - iVar15) - 4U) goto LAB_0075cfcd; + if (0x1f < (local_44[0] - iVar16) - 4U) goto LAB_0075cfcd; } - operator_delete(iVar15,uVar4); + operator_delete(iVar16,uVar4); } - pbVar22 = pbVar22 + 1; - pvVar14 = local_b8->_begin; - } while (pbVar22 < *(byte **)((int)pvVar14 + iVar19 + 0x80)); + pbVar23 = pbVar23 + 1; + pvVar15 = local_b8->_begin; + } while (pbVar23 < *(byte **)((int)pvVar15 + iVar20 + 0x80)); } } else { - pbVar22 = (byte *)0x0; + pbVar23 = (byte *)0x0; local_aa = '\0'; - if (*(int *)((int)pvVar14 + iVar19 + 0x80) != 0) { + if (*(int *)((int)pvVar15 + iVar20 + 0x80) != 0) { do { local_a2 = '\0'; local_a1 = 0; local_dc = (ANM2 *)local_b0->_playerType; - pLVar8 = ANM2::GetLayer((ANM2 *)((int)pvVar14 + iVar19),pbVar22); + pLVar8 = ANM2::GetLayer((ANM2 *)((int)pvVar15 + iVar20),pbVar23); if (pLVar8->_layerData == (void *)0x0) { local_18 = 0xf; local_1c = 0; @@ -498918,49 +499697,49 @@ LAB_0075cd12: local_18 = 0xf; local_2c[0] = (char ******)((uint)local_2c[0] & 0xffffff00); Sprite::ReplaceSpritesheet - ((Sprite *)((int)local_b8->_begin + iVar19),pbVar22,local_44); + ((Sprite *)((int)local_b8->_begin + iVar20),pbVar23,local_44); if ((local_a1 == 0) && (local_a9 != '\0')) { - pLVar8 = ANM2::GetLayer((ANM2 *)((int)local_b8->_begin + iVar19),pbVar22); - uVar2 = uRam00c5d09c; - uVar1 = uRam00c5d098; - uVar13 = uRam00c5d094; - puVar17 = &pLVar8->field_0x48; - if (puVar17 != &DAT_00c5d090) { - *(undefined4 *)puVar17 = _DAT_00c5d090; - *(undefined4 *)&pLVar8->field_0x4c = uVar13; - *(undefined4 *)&pLVar8->field_0x50 = uVar1; - *(undefined4 *)&pLVar8->field_0x54 = uVar2; - uVar2 = uRam00c5d0ac; - uVar1 = uRam00c5d0a8; - uVar13 = uRam00c5d0a4; - *(undefined4 *)&pLVar8->field_0x58 = _DAT_00c5d0a0; - *(undefined4 *)&pLVar8->field_0x5c = uVar13; - *(undefined4 *)&pLVar8->field_0x60 = uVar1; - *(undefined4 *)&pLVar8->field_0x64 = uVar2; - *(undefined8 *)&pLVar8->field_0x68 = DAT_00c5d0b0; - uVar13 = DAT_00c5d0b8; + pLVar8 = ANM2::GetLayer((ANM2 *)((int)local_b8->_begin + iVar20),pbVar23); + fVar2 = fRam00c5d09c; + fVar1 = fRam00c5d098; + fVar11 = fRam00c5d094; + pCVar18 = &pLVar8->_color; + if (pCVar18 != (ColorMod *)&DAT_00c5d090) { + pCVar18->_tint[0] = _DAT_00c5d090; + (pLVar8->_color)._tint[1] = fVar11; + (pLVar8->_color)._tint[2] = fVar1; + (pLVar8->_color)._tint[3] = fVar2; + fVar2 = fRam00c5d0ac; + fVar1 = fRam00c5d0a8; + fVar11 = fRam00c5d0a4; + (pLVar8->_color)._colorize[0] = _DAT_00c5d0a0; + (pLVar8->_color)._colorize[1] = fVar11; + (pLVar8->_color)._colorize[2] = fVar1; + (pLVar8->_color)._colorize[3] = fVar2; + *(undefined8 *)(pLVar8->_color)._offset = DAT_00c5d0b0; + fVar11 = DAT_00c5d0b8; goto LAB_0075c9d3; } } else { local_80 = 0; uStack_7c = 0; - local_78 = 0; - pLVar8 = ANM2::GetLayer((ANM2 *)((int)local_b8->_begin + iVar19),pbVar22); - puVar17 = &pLVar8->field_0x48; - if ((undefined4 *)puVar17 != local_a0) { - *(undefined4 *)puVar17 = 0x3f800000; - *(undefined4 *)&pLVar8->field_0x4c = 0x3f800000; - *(undefined4 *)&pLVar8->field_0x50 = 0x3f800000; - *(undefined4 *)&pLVar8->field_0x54 = 0x3f800000; - *(undefined4 *)&pLVar8->field_0x58 = 0; - *(undefined4 *)&pLVar8->field_0x5c = 0; - *(undefined4 *)&pLVar8->field_0x60 = 0; - *(undefined4 *)&pLVar8->field_0x64 = 0; - *(ulonglong *)&pLVar8->field_0x68 = CONCAT44(uStack_7c,local_80); - uVar13 = local_78; + local_78 = 0.0; + pLVar8 = ANM2::GetLayer((ANM2 *)((int)local_b8->_begin + iVar20),pbVar23); + pCVar18 = &pLVar8->_color; + if (pCVar18 != (ColorMod *)local_a0) { + pCVar18->_tint[0] = 1.0; + (pLVar8->_color)._tint[1] = 1.0; + (pLVar8->_color)._tint[2] = 1.0; + (pLVar8->_color)._tint[3] = 1.0; + (pLVar8->_color)._colorize[0] = 0.0; + (pLVar8->_color)._colorize[1] = 0.0; + (pLVar8->_color)._colorize[2] = 0.0; + (pLVar8->_color)._colorize[3] = 0.0; + *(ulonglong *)(pLVar8->_color)._offset = CONCAT44(uStack_7c,local_80); + fVar11 = local_78; LAB_0075c9d3: - *(undefined4 *)(puVar17 + 0x28) = uVar13; + pCVar18->_offset[2] = fVar11; } } if ((local_a2 != '\0') || (local_a1 != 0)) { @@ -498969,20 +499748,20 @@ LAB_0075c9d3: local_8 = (char *****)0xffffffff; if (0xf < local_30) { uVar4 = local_30 + 1; - iVar15 = local_44[0]; + iVar16 = local_44[0]; if (0xfff < uVar4) { - iVar15 = *(int *)(local_44[0] + -4); + iVar16 = *(int *)(local_44[0] + -4); uVar4 = local_30 + 0x24; - if (0x1f < (local_44[0] - iVar15) - 4U) goto LAB_0075cfcd; + if (0x1f < (local_44[0] - iVar16) - 4U) goto LAB_0075cfcd; } - operator_delete(iVar15,uVar4); + operator_delete(iVar16,uVar4); } - pbVar22 = pbVar22 + 1; - pvVar14 = local_b8->_begin; - } while (pbVar22 < *(byte **)((int)pvVar14 + iVar19 + 0x80)); + pbVar23 = pbVar23 + 1; + pvVar15 = local_b8->_begin; + } while (pbVar23 < *(byte **)((int)pvVar15 + iVar20 + 0x80)); } if (local_aa == '\0') { - std::string::string((void *)((int)pvVar14 + iVar19)); + std::string::string((void *)((int)pvVar15 + iVar20)); local_c0 = local_c0 | 4; local_8 = (char *****)0x6; ppppppcVar9 = (char ******)local_2c; @@ -498996,61 +499775,61 @@ LAB_0075c9d3: } } } - pEVar23 = local_b0; - *(int **)((int)local_b8->_begin + iVar19 + 0x124) = local_a8; - *(int *)((int)(local_b0->_costumeSpriteDescs)._begin + iVar19 + 300) = local_b0->_playerType + pEVar24 = local_b0; + *(int **)((int)local_b8->_begin + iVar20 + 0x124) = local_a8; + *(int *)((int)(local_b0->_costumeSpriteDescs)._begin + iVar20 + 300) = local_b0->_playerType ; - pAVar21 = (ANM2 *)((int)(local_b0->_costumeSpriteDescs)._begin + iVar19); - ANM2::LoadGraphics(pAVar21,(byte)pAVar21); + pAVar22 = (ANM2 *)((int)(local_b0->_costumeSpriteDescs)._begin + iVar20); + ANM2::LoadGraphics(pAVar22,(byte)pAVar22); if ((local_bc != (byte *)0x0) && (*local_bc != 0)) { - pvVar14 = (pEVar23->_costumeSpriteDescs)._begin; + pvVar15 = (pEVar24->_costumeSpriteDescs)._begin; if (local_b1 == 0) { - pAVar21 = (ANM2 *)(iVar19 + (int)pvVar14); - bVar3 = ANM2::SetAnimation(pAVar21,local_bc,1); - if (((bVar3 != 0) && ((pAVar21->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar21->_animState), - (pAVar21->_animState)._animData != (void *)0x0)) { - (pAVar21->_animState)._isPlaying = 0; + pAVar22 = (ANM2 *)(iVar20 + (int)pvVar15); + bVar3 = ANM2::SetAnimation(pAVar22,local_bc,1); + if (((bVar3 != 0) && ((pAVar22->_animState)._animData != (void *)0x0)) && + (AnimationState::SetFrameFloat(&pAVar22->_animState), + (pAVar22->_animState)._animData != (void *)0x0)) { + (pAVar22->_animState)._isPlaying = 0; } } else { - pAVar21 = (ANM2 *)((int)pvVar14 + iVar19); - pbVar22 = (pAVar21->_animState)._animData; - if (pbVar22 == (byte *)0x0) { + pAVar22 = (ANM2 *)((int)pvVar15 + iVar20); + pbVar23 = (pAVar22->_animState)._animData; + if (pbVar23 == (byte *)0x0) { LAB_0075cd95: - bVar3 = ANM2::SetAnimation(pAVar21,local_bc,1); + bVar3 = ANM2::SetAnimation(pAVar22,local_bc,1); if (bVar3 != 0) { - AnimationState::Rewind(&pAVar21->_animState); - (pAVar21->_animState)._isPlaying = 1; + AnimationState::Rewind(&pAVar22->_animState); + (pAVar22->_animState)._isPlaying = 1; } } else { - pbVar10 = pbVar22; - pbVar16 = local_bc; - if (0xf < *(uint *)(pbVar22 + 0x14)) { - pbVar10 = *(byte **)pbVar22; + pbVar10 = pbVar23; + pbVar17 = local_bc; + if (0xf < *(uint *)(pbVar23 + 0x14)) { + pbVar10 = *(byte **)pbVar23; } do { bVar3 = *pbVar10; - bVar24 = bVar3 < *pbVar16; - if (bVar3 != *pbVar16) { + bVar25 = bVar3 < *pbVar17; + if (bVar3 != *pbVar17) { LAB_0075cd7c: - uVar4 = -(uint)bVar24 | 1; + uVar4 = -(uint)bVar25 | 1; goto LAB_0075cd81; } if (bVar3 == 0) break; bVar3 = pbVar10[1]; - bVar24 = bVar3 < pbVar16[1]; - if (bVar3 != pbVar16[1]) goto LAB_0075cd7c; + bVar25 = bVar3 < pbVar17[1]; + if (bVar3 != pbVar17[1]) goto LAB_0075cd7c; pbVar10 = pbVar10 + 2; - pbVar16 = pbVar16 + 2; + pbVar17 = pbVar17 + 2; } while (bVar3 != 0); uVar4 = 0; LAB_0075cd81: - if ((uVar4 != 0) || ((pbVar22[0x34] != 0 && ((pAVar21->_animState)._isPlaying == 0)))) + if ((uVar4 != 0) || ((pbVar23[0x34] != 0 && ((pAVar22->_animState)._isPlaying == 0)))) goto LAB_0075cd95; } - pEVar23 = local_b0; + pEVar24 = local_b0; } } } @@ -499058,9 +499837,9 @@ LAB_0075cd81: piVar6 = local_c4; local_cc = (ANM2 *)((int)local_cc + 1); } while (local_cc < 0xf); - piVar18 = (int *)pEVar23->_headColor; - if ((piVar18 != local_d0) || ((int *)pEVar23->_bodyColor != local_c4)) { - if ((g_game->_challenge == 0x2a) && (pEVar23->_playerType == 0x23)) { + piVar19 = (int *)pEVar24->_headColor; + if ((piVar19 != local_d0) || ((int *)pEVar24->_bodyColor != local_c4)) { + if ((g_game->_challenge == 0x2a) && (pEVar24->_playerType == 0x23)) { uVar4 = 0; do { local_2c[0] = (char ******)std::_Allocate(); @@ -499083,25 +499862,25 @@ LAB_0075cd81: local_2c[0][0xe] = (char *****)0x676e702e; *(char *)(local_2c[0] + 0xf) = '\0'; local_8 = (char *****)0x7; - Sprite::ReplaceSpritesheet((Sprite *)&pEVar23->_sprite,uVar4,local_2c); + Sprite::ReplaceSpritesheet((Sprite *)&pEVar24->_sprite,uVar4,local_2c); local_8 = (char *****)0xffffffff; bVar3 = extraout_CL; if (0xf < local_18) { - uVar20 = local_18 + 1; + uVar21 = local_18 + 1; ppppppcVar9 = local_2c[0]; - if (0xfff < uVar20) { + if (0xfff < uVar21) { ppppppcVar9 = (char ******)local_2c[0][-1]; - uVar20 = local_18 + 0x24; + uVar21 = local_18 + 0x24; if ((char *)0x1f < (char *)((int)local_2c[0] + (-4 - (int)ppppppcVar9))) goto LAB_0075d0d4; } - operator_delete(ppppppcVar9,uVar20); + operator_delete(ppppppcVar9,uVar21); bVar3 = extraout_CL_00; } uVar4 = uVar4 + 1; } while (uVar4 < 0xf); - ANM2::LoadGraphics(&pEVar23->_sprite,bVar3); - pEVar23 = local_b0; + ANM2::LoadGraphics(&pEVar24->_sprite,bVar3); + pEVar24 = local_b0; } else { if (*(int *)((int)local_d4 + 0x2c) != 0) { @@ -499110,37 +499889,37 @@ LAB_0075cd81: local_4c = 0xf00000000; local_5c = 0; local_8 = (char *****)0x9; - if (piVar18 != local_d0) { - piVar11 = (int *)costume_path_apply_skin_color + if (piVar19 != local_d0) { + piVar12 = (int *)costume_path_apply_skin_color (local_44,(int)local_d4 + 0x1c,local_d0,0xffffffff,0,0); - piVar18 = &local_74; - if (piVar18 != piVar11) { - local_74 = *piVar11; - iStack_70 = piVar11[1]; - iStack_6c = piVar11[2]; - iStack_68 = piVar11[3]; - local_64 = *(undefined8 *)(piVar11 + 4); - piVar11[4] = 0; - piVar11[5] = 0xf; - *(undefined1 *)piVar11 = 0; + piVar19 = &local_74; + if (piVar19 != piVar12) { + local_74 = *piVar12; + iStack_70 = piVar12[1]; + iStack_6c = piVar12[2]; + iStack_68 = piVar12[3]; + local_64 = *(undefined8 *)(piVar12 + 4); + piVar12[4] = 0; + piVar12[5] = 0xf; + *(undefined1 *)piVar12 = 0; } if (0xf < local_30) { uVar4 = local_30 + 1; - iVar19 = local_44[0]; + iVar20 = local_44[0]; if (0xfff < uVar4) { - iVar19 = *(int *)(local_44[0] + -4); + iVar20 = *(int *)(local_44[0] + -4); uVar4 = local_30 + 0x24; - if (0x1f < (local_44[0] - iVar19) - 4U) { + if (0x1f < (local_44[0] - iVar20) - 4U) { LAB_0075cfcd: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar19,uVar4); - piVar18 = extraout_ECX; + operator_delete(iVar20,uVar4); + piVar19 = extraout_ECX; } } - if ((int *)pEVar23->_bodyColor != piVar6) { + if ((int *)pEVar24->_bodyColor != piVar6) { piVar6 = (int *)costume_path_apply_skin_color (local_8c,(int)local_d4 + 0x1c,piVar6,0xffffffff,0,0); if (&local_5c != piVar6) { @@ -499154,24 +499933,24 @@ LAB_0075cfcd: *(undefined1 *)piVar6 = 0; } std::string::_Tidy_deallocate(); - piVar18 = extraout_ECX_00; + piVar19 = extraout_ECX_00; } uVar4 = 0; do { if (uVar4 != 0xd) { if (((uVar4 == 0) || (3 < uVar4)) && (uVar4 != 0xb)) { - piVar18 = (int *)0x0; + piVar19 = (int *)0x0; } else { - piVar18 = (int *)0x1; + piVar19 = (int *)0x1; } piVar6 = &local_5c; - if ((char)piVar18 == '\0') { + if ((char)piVar19 == '\0') { piVar6 = &local_74; } if (piVar6[4] != 0) { - Sprite::ReplaceSpritesheet((Sprite *)&pEVar23->_sprite,uVar4,piVar6); - piVar18 = extraout_ECX_01; + Sprite::ReplaceSpritesheet((Sprite *)&pEVar24->_sprite,uVar4,piVar6); + piVar19 = extraout_ECX_01; } } uVar4 = uVar4 + 1; @@ -499179,61 +499958,61 @@ LAB_0075cfcd: local_8 = (char *****)CONCAT31(local_8._1_3_,8); if (0xf < local_4c._4_4_) { uVar4 = local_4c._4_4_ + 1; - iVar19 = local_5c; + iVar20 = local_5c; if (0xfff < uVar4) { - iVar19 = *(int *)(local_5c + -4); + iVar20 = *(int *)(local_5c + -4); uVar4 = local_4c._4_4_ + 0x24; - if (0x1f < (local_5c - iVar19) - 4U) goto LAB_0075d0d4; + if (0x1f < (local_5c - iVar20) - 4U) goto LAB_0075d0d4; } - operator_delete(iVar19,uVar4); - piVar18 = extraout_ECX_02; + operator_delete(iVar20,uVar4); + piVar19 = extraout_ECX_02; } local_8 = (char *****)0xffffffff; if (0xf < local_64._4_4_) { uVar4 = local_64._4_4_ + 1; - iVar19 = local_74; + iVar20 = local_74; if (0xfff < uVar4) { - iVar19 = *(int *)(local_74 + -4); + iVar20 = *(int *)(local_74 + -4); uVar4 = local_64._4_4_ + 0x24; - if (0x1f < (local_74 - iVar19) - 4U) { + if (0x1f < (local_74 - iVar20) - 4U) { LAB_0075d0d4: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar19,uVar4); - piVar18 = extraout_ECX_03; + operator_delete(iVar20,uVar4); + piVar19 = extraout_ECX_03; } } - ANM2::LoadGraphics(&pEVar23->_sprite,(byte)piVar18); + ANM2::LoadGraphics(&pEVar24->_sprite,(byte)piVar19); } - pEVar23->_headColor = (int)local_d0; - pEVar23->_bodyColor = (int)local_c4; + pEVar24->_headColor = (int)local_d0; + pEVar24->_bodyColor = (int)local_c4; } - pbVar22 = &pEVar23->_playerCostumeMap[0]._isBodyLayer; + pbVar23 = &pEVar24->_playerCostumeMap[0]._isBodyLayer; local_cc = (ANM2 *)0xf; do { - if (-1 < ((PlayerCostumeMap *)(pbVar22 + -0xc))->_index) { - pAVar21 = (ANM2 *)(((PlayerCostumeMap *)(pbVar22 + -0xc))->_index * 0x130 + + if (-1 < ((PlayerCostumeMap *)(pbVar23 + -0xc))->_index) { + pAVar22 = (ANM2 *)(((PlayerCostumeMap *)(pbVar23 + -0xc))->_index * 0x130 + (int)local_b8->_begin); - if (*pbVar22 == 0) { + if (*pbVar23 == 0) { anim = "HeadDown"; } else { anim = "WalkDown"; } - bVar3 = ANM2::SetAnimation(pAVar21,(byte *)anim,1); - if (((bVar3 != 0) && ((pAVar21->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar21->_animState), - (pAVar21->_animState)._animData != (void *)0x0)) { - (pAVar21->_animState)._isPlaying = 0; + bVar3 = ANM2::SetAnimation(pAVar22,(byte *)anim,1); + if (((bVar3 != 0) && ((pAVar22->_animState)._animData != (void *)0x0)) && + (AnimationState::SetFrameFloat(&pAVar22->_animState), + (pAVar22->_animState)._animData != (void *)0x0)) { + (pAVar22->_animState)._isPlaying = 0; } - iVar19 = ANM2::GetAnimationData(pAVar21,"SubAnim"); - if (iVar19 != 0) { + iVar20 = ANM2::GetAnimationData(pAVar22,"SubAnim"); + if (iVar20 != 0) { ANM2::PlayOverlay("SubAnim",0); } } - pbVar22 = pbVar22 + 0x10; + pbVar23 = pbVar23 + 0x10; local_cc = (ANM2 *)((int)local_cc + -1); } while (local_cc != (ANM2 *)0x0); if (local_b0->_isCoopGhost != 0) { @@ -500100,7 +500879,7 @@ void __thiscall Entity_Player::SetItemState(Entity_Player *this,int param_2) player+0x758 etc, percent from charge counters (e.g. item 0x2c6 with +0x1f78), AnimationState::Render; from Entity_Player::Render */ -void Entity_Player::render_charge_bars(float *param_1) +void __thiscall Entity_Player::render_charge_bars(Entity_Player *this,float *param_2) { void *pvVar1; @@ -500111,7 +500890,6 @@ void Entity_Player::render_charge_bars(float *param_1) int iVar6; void *pvVar7; ANM2 *pAVar8; - EntityPtr in_ECX; void **ppvVar9; uint uVar10; void **ppvVar11; @@ -500129,22 +500907,22 @@ void Entity_Player::render_charge_bars(float *param_1) return; } if ((g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) && - (bVar5 = NetplayManager::IsIdxLocalPlayer - (&g_manager->_netplayManager,*(int *)((int)in_ECX + 0x1618)), bVar5 == 0)) { + (bVar5 = NetplayManager::IsIdxLocalPlayer(&g_manager->_netplayManager,this->_controllerIndex), + bVar5 == 0)) { return; } pMVar4 = g_manager; + local_20 = (this->_playerSpriteScale).y; local_24 = 0; - local_1c = *(float *)((int)in_ECX + 0x14f4) * 12.0; - local_20 = *(float *)((int)in_ECX + 0x14f4) * -35.0; - if ((*(int *)((int)in_ECX + 0x1600) == 0x2c6) && (5 < *(int *)((int)in_ECX + 0x1f78))) { - iVar6 = (int)((((float)*(int *)((int)in_ECX + 0x1f78) - 5.0) / 25.0) * 100.0); - pAVar8 = (ANM2 *)((int)in_ECX + 0x758); + local_1c = local_20 * 12.0; + local_20 = local_20 * -35.0; + if ((this->_itemState == 0x2c6) && (5 < this->_bagOfCraftingHoldFrames)) { + iVar6 = (int)((((float)this->_bagOfCraftingHoldFrames - 5.0) / 25.0) * 100.0); + pAVar8 = this->_chargeBarSprites; } else { - if (*(int *)((int)in_ECX + 0x13c0) == 0x1b) { - pvVar7 = TemporaryEffects::GetCollectibleEffect - ((TemporaryEffects *)((int)in_ECX + 0x1508),0x2c0); + if (this->_playerType == 0x1b) { + pvVar7 = TemporaryEffects::GetCollectibleEffect(&this->_temporaryeffects,0x2c0); pvVar1 = (pMVar4->_itemConfig)._collectibles._begin; if ((int)((int)(pMVar4->_itemConfig)._collectibles._end - (int)pvVar1 & 0xfffffffcU) < 0xb01) { @@ -500159,14 +500937,14 @@ void Entity_Player::render_charge_bars(float *param_1) else { fVar13 = ((float)*(int *)((int)pvVar7 + 8) * 100.0) / (float)*(int *)(iVar6 + 0x78); } - FUN_0075ef20((ANM2 *)((int)in_ECX + 0xcbc),(int)fVar13); + FUN_0075ef20(this->_chargeBarSprites + 5,(int)fVar13); } - bVar5 = HasCollectible((Entity_Player *)in_ECX,0x2c9,0); - if ((bVar5 != 0) && (*(int *)((int)in_ECX + 0x13c0) == 0x1a)) { - FUN_0075ef20((ANM2 *)((int)in_ECX + 0xdd0), - (int)(((float)*(int *)((int)in_ECX + 0x1f7c) / 60.0) * 100.0)); + bVar5 = HasCollectible(this,0x2c9,0); + if ((bVar5 != 0) && (this->_playerType == 0x1a)) { + FUN_0075ef20(this->_chargeBarSprites + 6, + (int)(((float)this->_eveSumptoriumCharge / 60.0) * 100.0)); } - ppvVar9 = (void **)((int)in_ECX + 0x13e0); + ppvVar9 = this->_weapons + 1; local_8 = 0.0; ppvVar11 = ppvVar9; do { @@ -500183,7 +500961,7 @@ void Entity_Player::render_charge_bars(float *param_1) } while ((uint)local_8 < 4); iVar6 = 0; LAB_0075ebfa: - FUN_0075ef20((ANM2 *)((int)in_ECX + 0x758),iVar6); + FUN_0075ef20(this->_chargeBarSprites,iVar6); uVar10 = 0; do { if (*ppvVar9 != (int *)0x0) { @@ -500199,10 +500977,10 @@ LAB_0075ebfa: } while (uVar10 < 4); iVar6 = 0; LAB_0075ec3c: - FUN_0075ef20((ANM2 *)((int)in_ECX + 0x86c),iVar6); - bVar5 = HasCollectible((Entity_Player *)in_ECX,399,0); + FUN_0075ef20(this->_chargeBarSprites + 1,iVar6); + bVar5 = HasCollectible(this,399,0); if (bVar5 != 0) { - fVar13 = ((float)*(int *)((int)in_ECX + 0x18bc) * 100.0) / 150.0; + fVar13 = ((float)this->_mawOfTheVoidChargeTimer * 100.0) / 150.0; if (fVar13 <= 0.0) { fVar13 = 0.0; } @@ -500213,11 +500991,11 @@ LAB_0075ec3c: if (5 < (int)fVar13) { iVar6 = (int)fVar13; } - FUN_0075ef20((ANM2 *)((int)in_ECX + 0x980),iVar6); + FUN_0075ef20(this->_chargeBarSprites + 2,iVar6); } - bVar5 = HasCollectible((Entity_Player *)in_ECX,0x283,0); + bVar5 = HasCollectible(this,0x283,0); if (bVar5 != 0) { - fVar13 = ((float)*(int *)((int)in_ECX + 0x1edc) * 100.0) / 150.0; + fVar13 = ((float)this->_revelationChargeTimer * 100.0) / 150.0; if (fVar13 <= 0.0) { fVar13 = 0.0; } @@ -500228,11 +501006,11 @@ LAB_0075ec3c: if (5 < (int)fVar13) { iVar6 = (int)fVar13; } - FUN_0075ef20((ANM2 *)((int)in_ECX + 0xa94),iVar6); + FUN_0075ef20(this->_chargeBarSprites + 3,iVar6); } - bVar5 = HasCollectible((Entity_Player *)in_ECX,0x2a8,0); + bVar5 = HasCollectible(this,0x2a8,0); if (bVar5 == 0) goto LAB_0075ed54; - fVar13 = ((float)*(int *)((int)in_ECX + 0x1ee0) * 100.0) / 150.0; + fVar13 = ((float)this->_montezumaChargeTimer * 100.0) / 150.0; if (fVar13 <= 0.0) { fVar13 = 0.0; } @@ -500243,17 +501021,17 @@ LAB_0075ec3c: if (5 < (int)fVar13) { iVar6 = (int)fVar13; } - pAVar8 = (ANM2 *)((int)in_ECX + 0xba8); + pAVar8 = this->_chargeBarSprites + 4; } FUN_0075ef20(pAVar8,iVar6); LAB_0075ed54: local_8 = 1.0; iVar6 = local_24; - if (((*(byte *)((int)in_ECX + 0x172) != 0) && - (((*(int *)((int)in_ECX + 0x13c0) == 0x1d || (*(int *)((int)in_ECX + 0x13c0) == 0x26)) && - (EVar2 = *(EntityPtr *)((int)in_ECX + 0x1e68), EVar2 != (EntityPtr)0x0)))) && - (((*(int *)((int)EVar2 + 0x161c) != -1 && - (*(int *)((int)EVar2 + 0x161c) < *(int *)((int)in_ECX + 0x161c))) && (EVar2 != in_ECX)))) { + if (((this->_exists != 0) && + (((this->_playerType == 0x1d || (this->_playerType == 0x26)) && + (EVar2 = this->_twinPlayer, EVar2 != (EntityPtr)0x0)))) && + (((*(int *)((int)EVar2 + 0x161c) != -1 && (*(int *)((int)EVar2 + 0x161c) < this->_playerIndex)) + && (EVar2 != (EntityPtr)this)))) { local_14 = 0x500000002; uVar10 = g_game->_frameCount + 1; if (uVar10 == 0) { @@ -500269,9 +501047,9 @@ LAB_0075ed54: while (iVar6 = iVar6 + -1, -1 < iVar6) { iVar3 = local_3c[iVar6]; *(float *)(iVar3 + 0xb4) = local_8; - local_14 = CONCAT44(local_1c + *param_1 + *(float *)(&DAT_00c5d0bc + iVar6 * 8), + local_14 = CONCAT44(local_1c + *param_2 + *(float *)(&DAT_00c5d0bc + iVar6 * 8), (undefined4)local_14); - local_c = local_20 + param_1[1] + *(float *)(&DAT_00c5d0c0 + iVar6 * 8); + local_c = local_20 + param_2[1] + *(float *)(&DAT_00c5d0c0 + iVar6 * 8); if (*(char *)(iVar3 + 0x109) != '\0') { if (*(char *)(iVar3 + 0x70) == '\0') { AnimationState::Render((int)&local_14 + 4,&g_vectorZero,&g_vectorZero); @@ -500562,13 +501340,12 @@ Entity_Player::CheckFamiliar uint uVar2; int *piVar3; Vector *pVVar4; - RNG RVar5; - Entity_Familiar *pEVar6; - float *pfVar7; - uint uVar8; - qword *pqVar9; - int iVar10; - uint uVar11; + Entity_Familiar *pEVar5; + float *pfVar6; + uint uVar7; + qword *pqVar8; + int iVar9; + uint uVar10; char local_30; int local_2c; uint local_24; @@ -500583,18 +501360,18 @@ Entity_Player::CheckFamiliar local_10 = ExceptionList; uVar2 = __security_cookie ^ (uint)(local_20 + 0x1c); ExceptionList = &local_10; - uVar8 = 0; + uVar7 = 0; if (0 < (int)TargetCount) { - uVar8 = TargetCount; + uVar7 = TargetCount; } - iVar10 = 0; + iVar9 = 0; local_18 = this; EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); - uVar11 = 0; + uVar10 = 0; local_8 = 0; if (local_24 != 0) { do { - piVar3 = (int *)__RTDynamicCast(*(undefined4 *)(local_2c + uVar11 * 4),0, + piVar3 = (int *)__RTDynamicCast(*(undefined4 *)(local_2c + uVar10 * 4),0, &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Familiar::RTTI_Type_Descriptor,0, uVar2); @@ -500604,54 +501381,54 @@ Entity_Player::CheckFamiliar (((Entity_Player *)piVar3[0x104] == local_18 || (((Entity_Player *)piVar3[0x105] != (Entity_Player *)0x0 && ((Entity_Player *)piVar3[0x105] == local_18)))))) { - if (iVar10 < (int)uVar8) { - iVar10 = iVar10 + 1; + if (iVar9 < (int)uVar7) { + iVar9 = iVar9 + 1; piVar3[0x3ba] = (int)Item; } else { (**(code **)(*piVar3 + 0x28))(); } } - uVar11 = uVar11 + 1; - } while (uVar11 < local_24); + uVar10 = uVar10 + 1; + } while (uVar10 < local_24); } - if (iVar10 < (int)uVar8) { + if (iVar9 < (int)uVar7) { if (FamiliarSubType < 0) { FamiliarSubType = 0; } pVVar4 = &local_18->_pos; do { - RVar5 = *rng; - if (RVar5 == (RNG)0x0) { + uVar2 = rng->_seed; + if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar5 >> (SUB41(rng[1],0) & 0x1f) ^ (uint)RVar5; - uVar2 = uVar2 << (SUB41(rng[2],0) & 0x1f) ^ uVar2; - RVar5 = (RNG)(uVar2 >> (SUB41(rng[3],0) & 0x1f) ^ uVar2); - *rng = RVar5; - pEVar6 = (Entity_Familiar *) - Game::Spawn(3,FamiliarVariant,pVVar4,&g_vectorZero,local_18,FamiliarSubType,RVar5); - pfVar7 = (float *)Entity_Familiar::GetFollowTargetPosition(pEVar6,local_20,1); - (pEVar6->_pos).x = *pfVar7; - (pEVar6->_pos).y = pfVar7[1]; - pEVar6->_item = Item; - (**(code **)(*(int *)pEVar6 + 0xc))(); - iVar10 = iVar10 + 1; - } while (iVar10 < (int)uVar8); + uVar2 = uVar2 >> ((byte)rng->_shift1 & 0x1f) ^ uVar2; + uVar2 = uVar2 << ((byte)rng->_shift2 & 0x1f) ^ uVar2; + uVar2 = uVar2 >> ((byte)rng->_shift3 & 0x1f) ^ uVar2; + rng->_seed = uVar2; + pEVar5 = (Entity_Familiar *) + Game::Spawn(3,FamiliarVariant,pVVar4,&g_vectorZero,local_18,FamiliarSubType,uVar2); + pfVar6 = (float *)Entity_Familiar::GetFollowTargetPosition(pEVar5,local_20,1); + (pEVar5->_pos).x = *pfVar6; + (pEVar5->_pos).y = pfVar6[1]; + pEVar5->_item = Item; + (**(code **)(*(int *)pEVar5 + 0xc))(); + iVar9 = iVar9 + 1; + } while (iVar9 < (int)uVar7); } if (local_30 == '\0') { if (g_mainHeap == (void *)0x0) { - pqVar9 = &g_allocatedBytesNoHeap; + pqVar8 = &g_allocatedBytesNoHeap; } else { - pqVar9 = (qword *)((int)g_mainHeap + 0x30); + pqVar8 = (qword *)((int)g_mainHeap + 0x30); } if (local_2c != 0) { - uVar8 = *(uint *)(local_2c + -4); - qVar1 = *pqVar9; - *(uint *)pqVar9 = (uint)*pqVar9 - uVar8; - *(uint *)((int)pqVar9 + 4) = *(uint *)((int)pqVar9 + 4) - (uint)((uint)qVar1 < uVar8); + uVar7 = *(uint *)(local_2c + -4); + qVar1 = *pqVar8; + *(uint *)pqVar8 = (uint)*pqVar8 - uVar7; + *(uint *)((int)pqVar8 + 4) = *(uint *)((int)pqVar8 + 4) - (uint)((uint)qVar1 < uVar7); free((uint *)(local_2c + -4)); } } @@ -500836,12 +501613,10 @@ void Entity_Player::EvaluateItems(void) ItemConfig_Item *local_460; Entity_Player *local_45c; undefined1 local_42c [528]; - RNG local_21c [4]; + RNG local_21c; undefined1 local_20c [44]; - RNG local_1e0 [4]; + RNG local_1e0; RNG local_1d0; - undefined8 local_1cc; - undefined4 local_1c4; char local_1c0 [2]; byte abStack_1be [2]; undefined1 local_1bc; @@ -500882,12 +501657,13 @@ void Entity_Player::EvaluateItems(void) local_30 = &DAT_bf800000; puStack_34 = &DAT_bf800000; iVar5 = *(int *)((int)g_game->_room + 4); - local_1d0 = (RNG)0x0; + local_1d0._seed = 0; if (iVar5 != 0) { - local_1d0 = *(RNG *)(iVar5 + 0x5c); + local_1d0._seed = *(uint *)(iVar5 + 0x5c); } - local_1cc = 0x300000003; - local_1c4 = 0x1a; + local_1d0._shift1 = 3; + local_1d0._shift2 = 3; + local_1d0._shift3 = 0x1a; local_8 = (void *)0x0; uVar53 = 0; do { @@ -500895,7 +501671,7 @@ void Entity_Player::EvaluateItems(void) RNG::Next(&local_1d0); uVar51 = 0; if (local_460 != (ItemConfig_Item *)0x0) { - uVar51 = (uint)local_1d0 % (uint)local_460; + uVar51 = (uint)local_1d0._seed % (uint)local_460; } uVar34 = *(undefined4 *)(local_40 + uVar53 * 4); iVar5 = uVar51 + uVar53; @@ -501786,8 +502562,8 @@ LAB_00764df6: / 90.0; *(float *)pTVar60 = fVar59; } - if ((Vector *)local_488 != (Vector *)0x0) { - fVar59 = fVar59 + ((float)(int)*(float *)((int)local_488 + 4) * 6.0) / 3.0; + if (local_488 != (RNG *)0x0) { + fVar59 = fVar59 + ((float)local_488->_shift1 * 6.0) / 3.0; *(float *)pTVar60 = fVar59; } if (pvVar12 != (void *)0x0) { @@ -502119,7 +502895,7 @@ LAB_007668df: (bVar2 = TemporaryEffects::HasNullEffect(pTVar48,0x78), bVar2 != 0)) { pEVar62->_damage = (pEVar62->_damage + 2.0) * 3.0; } - fVar59 = (float)(*(int *)&pEVar62->field_0x1540 + pEVar62->_potatoPeelerCounter) * 0.2 + + fVar59 = (float)(pEVar62->_potatoPeelerBandageCounter + pEVar62->_potatoPeelerCounter) * 0.2 + pEVar62->_damage; pEVar62->_damage = fVar59; if ((pEVar62->_hasCurseMistEffect == 0) && (pEVar62->_isCoopGhost == 0)) { @@ -503009,7 +503785,7 @@ LAB_00768248: pEVar62->_movespeed = pEVar62->_movespeed - 0.3; bVar2 = TemporaryEffects::HasCollectibleEffect(pTVar48,299); if (bVar2 != 0) { - pEVar62->_movespeed = *(float *)&pEVar62->field_0x1564 + pEVar62->_movespeed; + pEVar62->_movespeed = pEVar62->_taurusSpeedBonus + pEVar62->_movespeed; } } bVar2 = HasCollectible(pEVar62,300,0); @@ -504639,7 +505415,7 @@ LAB_0076ae8d: } iVar5 = GetCollectibleNum(pEVar62,0xcf,0); iVar6 = TemporaryEffects::GetCollectibleEffectNum(local_464,0xcf); - uVar53 = *(int *)&pEVar62->field_0x1540 + iVar6 + iVar5; + uVar53 = pEVar62->_potatoPeelerBandageCounter + iVar6 + iVar5; local_460 = (ItemConfig_Item *)((int)(uVar53 + ((int)uVar53 >> 0x1f & 3U)) >> 2); uVar53 = uVar53 & 0x80000003; if ((int)uVar53 < 0) { @@ -504670,7 +505446,7 @@ LAB_0076ae8d: } uVar51 = 0x23; uVar53 = EntityPtr::Ref(); - RNG::game_constructor(local_21c,uVar53,uVar51); + RNG::game_constructor(&local_21c,uVar53,uVar51); local_8 = (void *)0x1; pIVar38 = (ItemConfig *)Isaac::GetItemConfig(); pIVar35 = ItemConfig::GetCollectible(pIVar38,0x6b); @@ -504719,7 +505495,7 @@ LAB_0076ae8d: puVar54[-2] = 0; } puVar54 = puVar54 + 6; - local_460 = (ItemConfig_Item *)((int)local_460 + 1); + local_460 = (ItemConfig_Item *)((int)&local_460->type + 1); } while (local_460 < local_488); pcVar55 = local_1c0; local_484 = local_488; @@ -504728,7 +505504,7 @@ LAB_0076ae8d: local_46c = (Entity_Player *)&local_1bc; for (local_460 = (ItemConfig_Item *)0x0; ((pEVar62 = local_45c, *pcVar55 != '\0' || (pcVar55[3] != '\0')) && - (local_460 < pRVar39)); local_460 = (ItemConfig_Item *)((int)local_460 + 1)) { + (local_460 < pRVar39)); local_460 = (ItemConfig_Item *)((int)&local_460->type + 1)) { pcVar44 = (char *)((int)&local_46c[-1]._replacedPlayer + 1); pcVar43 = (char *)FUN_007dd3a0(); cVar3 = *pcVar43; @@ -504744,7 +505520,7 @@ LAB_0076ae8d: pRVar39 = local_488; } pcVar55 = pcVar55 + 6; - local_484 = (RNG *)&local_484[-1].field_0x3; + local_484 = (RNG *)((int)&local_484[-1]._shift3 + 3); } while (local_484 != (RNG *)0x0); local_484 = (RNG *)abStack_1be; local_460 = (ItemConfig_Item *)0x0; @@ -504785,7 +505561,7 @@ LAB_0076ae8d: (ItemConfig_Item *)0x0,-1); } local_484 = (RNG *)((int)pRVar39 + 6); - local_460 = (ItemConfig_Item *)((int)local_460 + 1); + local_460 = (ItemConfig_Item *)((int)&local_460->type + 1); } while (local_460 < local_488); } bVar2 = HasCollectible(pEVar62,0x184,0); @@ -504868,7 +505644,7 @@ LAB_0076ae8d: cVar3 = FUN_005b18e0(); if ((cVar3 != '\0') && (cVar3 = FUN_0060d130(), cVar3 == '\0')) { if ((int)local_488 < (int)local_46c) { - local_488 = (RNG *)((int)&local_488->field_0x0 + 1); + local_488 = (RNG *)((int)&local_488->_seed + 1); FUN_005b1910(local_460); } else { @@ -504911,7 +505687,7 @@ LAB_0076ae8d: FUN_007e8f70(); iVar5 = -1; pIVar35 = (ItemConfig_Item *)0x0; - pRVar39 = local_1e0; + pRVar39 = &local_1e0; local_8 = (undefined1 *)CONCAT31(local_8._1_3_,3); cVar3 = HasPlayerForm(pEVar62,0xc); CheckFamiliar(pEVar62,0x71,(uint)(cVar3 != '\0'),pRVar39,pIVar35,iVar5); @@ -505332,7 +506108,7 @@ LAB_0076fc8b: local_490 = (ItemConfig_Item *)0x0; pvVar12 = TemporaryEffects::GetCollectibleEffect(&pEVar62->_temporaryeffects,299); if ((pvVar12 != (void *)0x0) && (*(int *)((int)pvVar12 + 8) == 0)) { - local_548 = *(float *)&pEVar62->field_0x1564 * 0.5; + local_548 = pEVar62->_taurusSpeedBonus * 0.5; puVar17 = (undefined4 *)std::max(); local_490 = (ItemConfig_Item *)*puVar17; } @@ -505639,8 +506415,6 @@ byte __thiscall Entity_Player::HasCollectible(Entity_Player *this,int type,byte ItemConfig_Item *local_20; NetplayManager *local_1c; RNG local_18; - undefined8 local_14; - undefined4 local_c; undefined4 local_8; local_8 = __security_cookie ^ (int)register0x00000010 - 4U; @@ -505705,9 +506479,9 @@ LAB_00770856: pPVar9 = local_24; if (*local_1c != *(NetplayManager *)(g_manager + 1)) { uVar12 = FUN_00a23920(); - local_c = (undefined4)((ulonglong)uVar12 >> 0x20); - local_14 = CONCAT44((int)uVar12,(undefined4)local_14); - pPVar6 = (PersistentGameData *)FUN_0090c300((int)&local_14 + 4); + local_18._shift3 = (int)((ulonglong)uVar12 >> 0x20); + local_18._shift2 = (int)uVar12; + pPVar6 = (PersistentGameData *)FUN_0090c300(&local_18._shift2); pPVar9 = local_24; if (pPVar6 != (PersistentGameData *)0x0) { pPVar9 = pPVar6; @@ -505732,12 +506506,13 @@ LAB_00770a3e: bVar1 = HasTrinket(this,0x5d,0); if (bVar1 != 0) { iVar5 = *(int *)((int)g_game->_room + 4); - local_18 = (RNG)0x0; + local_18._seed = 0; if (iVar5 != 0) { - local_18 = *(RNG *)(iVar5 + 0x58); + local_18._seed = *(uint *)(iVar5 + 0x58); } - local_14 = 0xb00000001; - local_c = 6; + local_18._shift1 = 1; + local_18._shift2 = 0xb; + local_18._shift3 = 6; uVar8 = RNG::RandomInt(&local_18,100); if (uVar8 < 0x21) { return 1; @@ -505786,12 +506561,13 @@ LAB_00770a3e: if (8 < iVar5) { iVar5 = Seeds::GetStartSeed(); iVar7 = is_achievement_79_unlocked(); - local_14 = 0x1b00000001; - local_18 = (RNG)0x1; + local_18._shift1 = 1; + local_18._shift2 = 0x1b; + local_18._seed = 1; if (1 < (uint)(iVar7 + iVar5)) { - local_18 = (RNG)(iVar7 + iVar5); + local_18._seed = iVar7 + iVar5; } - local_c = 0x1b; + local_18._shift3 = 0x1b; uVar8 = RNG::RandomInt(&local_18,6); if (type == *(int *)(&DAT_00b6bcd0 + uVar8 * 4)) { return 1; @@ -506155,7 +506931,7 @@ undefined4 Entity_Player::IsInnateCollectible(int param_1) FUN_00731ee0(local_14,&local_20); if ((((*(char *)(local_c + 0xd) == '\0') && (*(uint *)(local_c + 0x14) <= uVar4)) && ((*(uint *)(local_c + 0x14) < uVar4 || (*(uint *)(local_c + 0x10) <= uVar3)))) && - ((local_c != *(int *)&pMVar5[1].field_0x1064 && + ((local_c != *(int *)&pMVar5[1]._gamestate.field_0xc0 && (pPVar2 = (PersistentGameData *)FUN_00914150(&local_20), pMVar5 = g_manager, pPVar2 != (PersistentGameData *)0x0)))) { pPVar6 = pPVar2; @@ -506291,7 +507067,7 @@ void __thiscall Entity_Player::apply_innate_collectibles(Entity_Player *this) if (type == 0x1e4) { ItemPool::RemoveCollectible(0x126,0,0); } - if (type < *(uint *)&(pGVar3->_itemPool).field_0x688) { + if (type < (pGVar3->_itemPool)._removedCollectibles._size) { puVar1 = (uint *)((int)(pGVar3->_itemPool)._removedCollectibles._begin + (type >> 5) * 4); *puVar1 = *puVar1 | 1 << (type & 0x1f); } @@ -506798,6 +507574,7 @@ byte __thiscall Entity_Player::TryRemoveTrinket(Entity_Player *this,uint id) void *pvVar1; ItemConfig_Item *pIVar2; ItemConfig_Item *pIVar3; + Entity_Player *this_00; byte bVar4; int iVar5; undefined4 *puVar6; @@ -506874,7 +507651,7 @@ byte __thiscall Entity_Player::TryRemoveTrinket(Entity_Player *this,uint id) ExceptionList = local_10; return bVar4; } - piVar9 = *(int **)&this->field_0x1fcc; + piVar9 = (this->_proceduralItems)._itemIds._head; local_30 = (int *)*piVar9; if (local_30 != piVar9) { do { @@ -506883,7 +507660,7 @@ byte __thiscall Entity_Player::TryRemoveTrinket(Entity_Player *this,uint id) ((int)uVar7 < (int)(g_game->_proceduralItemManager)._proceduralItems._end - (int)(g_game->_proceduralItemManager)._proceduralItems._begin >> 2)) { - piVar9 = *(int **)&this->field_0x1fcc; + piVar9 = (this->_proceduralItems)._itemIds._head; iVar5 = *(int *)((int)(g_game->_proceduralItemManager)._proceduralItems._begin + uVar7 * 4 ); if ((iVar5 != 0) && @@ -506893,11 +507670,12 @@ byte __thiscall Entity_Player::TryRemoveTrinket(Entity_Player *this,uint id) ExceptionList = local_10; return 0; } - if ((Entity_Player *)this->_proceduralItems == (Entity_Player *)0x0) { + this_00 = (this->_proceduralItems)._player; + if (this_00 == (Entity_Player *)0x0) { ExceptionList = local_10; return 0; } - RemoveCollectible((Entity_Player *)this->_proceduralItems,local_30[4],0,0,1); + RemoveCollectible(this_00,local_30[4],0,0,1); ExceptionList = local_10; return 1; } @@ -507156,6 +507934,7 @@ Entity_Player::TakeDamage code *pcVar3; int iVar4; int iVar5; + RNG rng; void *pvVar6; qword qVar7; Manager *pMVar8; @@ -507193,8 +507972,8 @@ Entity_Player::TakeDamage Sprite *pSVar38; Entity_Familiar *pEVar39; PersistentGameData *pPVar40; - undefined1 *puVar41; - Room *pRVar42; + Room *pRVar41; + undefined1 *puVar42; Level *pLVar43; int *piVar44; TemporaryEffects *pTVar45; @@ -507205,7 +507984,7 @@ Entity_Player::TakeDamage int iVar48; int iVar49; EntityRef *pEVar50; - undefined1 *puVar51; + RNG *pRVar51; bool bVar52; float10 fVar53; float in_XMM0_Da; @@ -507214,7 +507993,7 @@ Entity_Player::TakeDamage undefined8 uVar56; Vector VVar57; EntityRef aEStackY_15ac [128]; - undefined1 uStack_159; + undefined4 uVar58; Vector local_148; Entity_Familiar *local_13c; Entity_Familiar *local_134; @@ -507231,14 +508010,13 @@ Entity_Player::TakeDamage bool local_105; float local_104; Entity_Familiar *local_100; - RNG local_fc [16]; + RNG local_fc [4]; float local_bc; uint local_b4; float local_b0; EntityRef local_ac; uint local_70; - undefined1 local_6c [32]; - int local_4c; + EntityRef local_6c; undefined1 local_38 [8]; int local_30; float local_18; @@ -507332,7 +508110,7 @@ Entity_Player::TakeDamage ExceptionList = local_10; return 0; } - uVar46 = *(uint *)¶m_5->field_0x20 & 2; + uVar46 = param_5->_flags & 2; if (*(int *)&g_game->_deathmatchManager < 2) { if (uVar46 != 0) { ExceptionList = local_10; @@ -507778,9 +508556,9 @@ LAB_00773d11: if ((((bVar10 != 0) || (bVar10 = TemporaryEffects::HasCollectibleEffect(&this->_temporaryeffects,0x6c), bVar10 != 0)) || - ((iVar15 = GetTrinketMultiplier(this,0xe), 2 < iVar15 || ((pEVar50->field_0x20 & 4) != 0)))) - || ((bVar10 = HasCollectible(this,0x279,0), bVar10 != 0 && - (cVar11 = Game::IsHardMode(), cVar11 == '\0')))) { + ((iVar15 = GetTrinketMultiplier(this,0xe), 2 < iVar15 || ((pEVar50->_flags & 4) != 0)))) || + ((bVar10 = HasCollectible(this,0x279,0), bVar10 != 0 && + (cVar11 = Game::IsHardMode(), cVar11 == '\0')))) { BVar55._0_12_ = ZEXT812(0x3f000000); BVar55._h._4_4_ = 0; local_100 = (Entity_Familiar *)BVar55._l; @@ -508300,8 +509078,8 @@ LAB_00774c43: TemporaryEffect::TemporaryEffect(); pIVar27 = (ItemConfig *)Isaac::GetItemConfig(); pIVar28 = ItemConfig::GetCollectible(pIVar27,0xa2); - local_4c = pIVar28->maxCooldown; - TemporaryEffects::AddEffect(&this->_temporaryeffects,local_6c + 0x18,1,1); + local_6c._flags = pIVar28->maxCooldown; + TemporaryEffects::AddEffect(&this->_temporaryeffects,&local_6c._velocity,1,1); } } bVar10 = HasCollectible(this,0x75,0); @@ -508323,11 +509101,11 @@ LAB_00774c43: Game::GetField26614(); cVar11 = FUN_00429550(); if (cVar11 != '\0') { - local_4c = 0x1c2; + local_6c._flags = 0x1c2; VVar57 = (Vector)get_time_ms(); this[1]._chargeBarSprites[0]._offset = VVar57; } - TemporaryEffects::AddEffect(&this->_temporaryeffects,local_6c + 0x18,1,1); + TemporaryEffects::AddEffect(&this->_temporaryeffects,&local_6c._velocity,1,1); pIVar27 = (ItemConfig *)Isaac::GetItemConfig(); pIVar28 = ItemConfig::GetCollectible(pIVar27,0x75); RemoveCostume(this,pIVar28); @@ -508403,9 +509181,9 @@ LAB_007751a5: Game::GetField26614(); cVar11 = FUN_00429550(); if (cVar11 != '\0') { - local_4c = 300; + local_6c._flags = 300; } - TemporaryEffects::AddEffect(pTVar45,local_6c + 0x18,1,1); + TemporaryEffects::AddEffect(pTVar45,&local_6c._velocity,1,1); } bVar10 = HasTrinket(this,1,0); if (bVar10 != 0) { @@ -508739,21 +509517,21 @@ LAB_00775c66: local_ac._spawnerVariant = 2; local_ac._position.x = 5.60519e-45; local_ac._position.y = 1.12104e-44; - local_ac._24_4_ = 0x10; - local_ac._28_4_ = 0x20; - local_ac._32_4_ = 0; + local_ac._velocity.x = 2.24208e-44; + local_ac._velocity.y = 4.48416e-44; + local_ac._flags = 0; local_ac._entity = (void *)0x0; pPVar40 = (PersistentGameData *)Room::GetTopLeftPos((Room *)g_manager); bVar10 = PersistentGameData::Unlocked(pPVar40,0x1c7); if (bVar10 != 0) { - local_ac._32_4_ = 0x800; + local_ac._flags = 0x800; uVar13 = 7; } pPVar40 = (PersistentGameData *)Room::GetTopLeftPos((Room *)g_manager); bVar10 = PersistentGameData::Unlocked(pPVar40,0x1f6); this = local_130; if (bVar10 != 0) { - *(undefined4 *)(local_6c + uVar13 * 4 + -0x38) = 0x1000; + *(undefined4 *)(local_38 + uVar13 * 4 + -0x6c) = 0x1000; uVar13 = uVar13 + 1; } pRVar22 = (RNG *)FUN_005cbd00(); @@ -508762,8 +509540,8 @@ LAB_00775c66: if (uVar13 != 0) { do { local_134 = *(Entity_Familiar **) - (local_6c + - (((int)&((RNG *)local_100)->field_0x0 + iVar15) % (int)uVar13) * 4 + -0x38); + (local_38 + + (((int)&((RNG *)local_100)->_seed + iVar15) % (int)uVar13) * 4 + -0x6c); if ((this->_conceptionFamiliarFlags & (uint)local_134) == 0) { SoundEffects::PlayWithFartOverride(); this->_conceptionFamiliarFlags = this->_conceptionFamiliarFlags | (uint)local_134; @@ -508827,8 +509605,8 @@ LAB_00775c66: pIVar27 = (ItemConfig *)Isaac::GetItemConfig(); ItemConfig::GetCollectible(pIVar27,0xd6); TemporaryEffect::TemporaryEffect(); - local_4c = 0x3c; - TemporaryEffects::AddEffect(&this->_temporaryeffects,local_6c + 0x18,1,1); + local_6c._flags = 0x3c; + TemporaryEffects::AddEffect(&this->_temporaryeffects,&local_6c._velocity,1,1); } } uVar56 = get_time_ms(); @@ -508857,7 +509635,7 @@ LAB_0077606b: Entity_Tear::TearFlags(pEVar23); pBVar24 = (BitSet128 *)BitSet128::operator_or(); Entity_Tear::SetTearFlags(pEVar23,*pBVar24); - local_100 = (Entity_Familiar *)((int)local_100 + 1); + local_100 = (Entity_Familiar *)((int)&local_100->field_0x0 + 1); } while ((int)local_100 < 10); TemporaryEffects::AddNullEffect(&this->_temporaryeffects,0x39,1,1); EvaluateItems(); @@ -508884,10 +509662,10 @@ LAB_00776196: (iVar15 = Entity::SubType((Entity *)pEVar17), iVar15 == 0x2be)) { local_134 = (Entity_Familiar *)&local_134->field_0x1; } - puVar51 = &local_100->field_0x1; - local_100 = (Entity_Familiar *)puVar51; - puVar41 = (undefined1 *)EntityList::Size(); - } while (puVar51 < puVar41); + pRVar51 = (RNG *)((int)&local_100->field_0x0 + 1); + local_100 = (Entity_Familiar *)pRVar51; + pRVar22 = (RNG *)EntityList::Size(); + } while (pRVar51 < pRVar22); if (5 < (int)local_134) goto LAB_00776282; } AddWisp(); @@ -508901,20 +509679,38 @@ LAB_00776282: do { FUN_00424510(); local_8 = 0xb; - WeightedOutcomePicker::AddOutcomeWeight((WeightedOutcomePicker *)(local_6c + 0x1c)); - WeightedOutcomePicker::AddOutcomeWeight((WeightedOutcomePicker *)(local_6c + 0x1c)); - WeightedOutcomePicker::AddOutcomeWeight((WeightedOutcomePicker *)(local_6c + 0x1c)); - if ((this->_playerType == 0x12) || (this->_playerType == 0x24)) { - WeightedOutcomePicker::AddOutcomeWeight((WeightedOutcomePicker *)(local_6c + 0x1c)); + WeightedOutcomePicker::AddOutcomeWeight((WeightedOutcomePicker *)&local_6c._velocity.y); + WeightedOutcomePicker::AddOutcomeWeight((WeightedOutcomePicker *)&local_6c._velocity.y); + iVar15 = this->_numBombs; + uVar58 = 2; + uVar14 = 0x7762f8; + WeightedOutcomePicker::AddOutcomeWeight((WeightedOutcomePicker *)&local_6c._velocity.y); + if (this->_playerType == 0x12) { + iVar15 = this->_effectiveSoulCharge; + uVar58 = 3; +LAB_0077631e: + uVar14 = 0x776326; + WeightedOutcomePicker::AddOutcomeWeight((WeightedOutcomePicker *)&local_6c._velocity.y); } + else if (this->_playerType == 0x24) { + iVar15 = this->_effectiveBloodCharge; + uVar58 = 4; + goto LAB_0077631e; + } + iVar48 = 0x77632e; cVar11 = FUN_004178f0(); if (cVar11 == '\0') goto LAB_00776576; uVar29 = 0x23; pRVar22 = (RNG *)FUN_005cbd00(); uVar13 = RNG::Next(pRVar22); - RNG::game_constructor((RNG *)&aEStackY_15ac[0x81].field_0x18,uVar13,uVar29); - uVar14 = WeightedOutcomePicker::PickOutcome((WeightedOutcomePicker *)(local_6c + 0x1c)); - switch(uVar14) { + RNG::game_constructor((RNG *)&aEStackY_15ac[0x81]._velocity,uVar13,uVar29); + rng._shift1 = uVar58; + rng._seed = uVar14; + rng._shift2 = iVar15; + rng._shift3 = iVar48; + uVar13 = WeightedOutcomePicker::PickOutcome + ((WeightedOutcomePicker *)&local_6c._velocity.y,rng); + switch(uVar13) { case 0: AddCoins(this,-1); pRVar22 = (RNG *)FUN_005cbd00(); @@ -508962,7 +509758,7 @@ LAB_00776543: LAB_00776576: local_8 = 0xffffffff; std::vector::_Tidy(); - local_100 = (Entity_Familiar *)&((RNG *)((int)local_100 + -4))->field_0x3; + local_100 = (Entity_Familiar *)((int)&((RNG *)((int)local_100 + -0x10))->_shift3 + 3); } while (local_100 != (Entity_Familiar *)0x0); } } @@ -509000,11 +509796,11 @@ LAB_00776576: Vector::__mul(); local_100 = (Entity_Familiar *)Game::Spawn(); if (iVar15 == 6) { - pcVar3 = *(code **)((int)*(RNG *)local_100 + 0x3c); + pcVar3 = *(code **)(((RNG *)local_100)->_seed + 0x3c); Color::Color(); (*pcVar3)(); } - (**(code **)((int)*(RNG *)local_100 + 0xc))(); + (**(code **)(*(int *)&local_100->field_0x0 + 0xc))(); this = local_130; } LAB_007767bc: @@ -509120,30 +509916,30 @@ LAB_007767bc: pRVar22 = (RNG *)FUN_005cbd00(); uVar13 = RNG::RandomInt(pRVar22,uVar13); if (uVar13 == 0) { - pRVar42 = (Room *)Level::GetCurrentRoom((Level *)g_game); + pRVar41 = (Room *)Level::GetCurrentRoom((Level *)g_game); Vector::Normalized(); local_13c = (Entity_Familiar *)0x41700000; Vector::__mul(); Vector::__sub(); - pRVar22 = (RNG *)Room::GetGridIndex(pRVar42); + pRVar22 = (RNG *)Room::GetGridIndex(pRVar41); local_100 = (Entity_Familiar *)pRVar22; - pRVar42 = (Room *)Level::GetCurrentRoom((Level *)g_game); - local_13c = (Entity_Familiar *)Room::GetGridEntity(pRVar42,(uint)pRVar22); + pRVar41 = (Room *)Level::GetCurrentRoom((Level *)g_game); + local_13c = (Entity_Familiar *)Room::GetGridEntity(pRVar41,(uint)pRVar22); Level::GetCurrentRoom((Level *)g_game); cVar11 = Room::is_type_16(); if (cVar11 == '\0') { - pRVar42 = (Room *)Level::GetCurrentRoom((Level *)g_game); - uVar13 = Room::GetGridCollision(pRVar42,(int)pRVar22); + pRVar41 = (Room *)Level::GetCurrentRoom((Level *)g_game); + uVar13 = Room::GetGridCollision(pRVar41,(int)pRVar22); if (uVar13 == 0) { if (local_13c != (Entity_Familiar *)0x0) { GridEntity::GetType(); cVar11 = is_grid_type_floor_special(); if (cVar11 != '\0') goto LAB_00776c4d; } - pRVar42 = (Room *)Level::GetCurrentRoom((Level *)g_game); + pRVar41 = (Room *)Level::GetCurrentRoom((Level *)g_game); pRVar22 = (RNG *)FUN_005cbd00(); uVar13 = RNG::Next(pRVar22); - Room::SpawnGridEntity(pRVar42,(int)local_100,0xe,4,uVar13,0); + Room::SpawnGridEntity(pRVar41,(int)local_100,0xe,4,uVar13,0); } } LAB_00776c4d: @@ -509178,8 +509974,8 @@ LAB_00776c4d: std::vector::push_back(); } pEVar17 = (Entity_Familiar *)&pEVar17->field_0x1; - puVar41 = (undefined1 *)std::vector::size(); - } while (pEVar17 < puVar41); + puVar42 = (undefined1 *)std::vector::size(); + } while (pEVar17 < puVar42); } iVar15 = std::vector::size(); if (iVar15 != 0) { @@ -509192,7 +509988,7 @@ LAB_00776c4d: SoundEffects::PlayWithFartOverride(); } local_8 = 0xffffffff; - FID_conflict__Tidy(local_6c + 0x1c); + FID_conflict__Tidy(&local_6c._velocity.y); } } Level::GetCurrentRoom((Level *)g_game); @@ -509347,8 +510143,8 @@ LAB_00777601: if (uVar13 <= uVar46) { pLVar43 = (Level *)Config::GetCollectibles(); Level::SetRedHeartDamage(pLVar43); - pRVar42 = (Room *)Level::GetCurrentRoom((Level *)g_game); - Room::SetRedHeartDamage(pRVar42); + pRVar41 = (Room *)Level::GetCurrentRoom((Level *)g_game); + Room::SetRedHeartDamage(pRVar41); } } } @@ -509370,8 +510166,8 @@ LAB_00777601: (pEVar34->_parent == (EntityPtr)0x0)) { pLVar43 = (Level *)Config::GetCollectibles(); Level::SetRedHeartDamage(pLVar43); - pRVar42 = (Room *)Level::GetCurrentRoom((Level *)g_game); - Room::SetRedHeartDamage(pRVar42); + pRVar41 = (Room *)Level::GetCurrentRoom((Level *)g_game); + Room::SetRedHeartDamage(pRVar41); } if ((*(int *)(*(int *)local_100 + 0xc) < DAT_00c8114c) && (_Init_thread_header(), DAT_00c8114c == -1)) { @@ -509810,8 +510606,8 @@ LAB_007781da: pIVar27 = (ItemConfig *)Isaac::GetItemConfig(); ItemConfig::GetCollectible(pIVar27,0x3a); TemporaryEffect::TemporaryEffect(); - local_4c = 0x96; - TemporaryEffects::AddEffect(&this->_temporaryeffects,local_6c + 0x18,1,1); + local_6c._flags = 0x96; + TemporaryEffects::AddEffect(&this->_temporaryeffects,&local_6c._velocity,1,1); } bVar10 = HasCollectible(this,0x148,0); if (bVar10 != 0) { @@ -509862,17 +510658,17 @@ LAB_007781da: this->_damageCooldown = iVar15; *(int *)&this->_flags = (int)this->_flags; if (local_107 != '\0') { - pRVar42 = (Room *)Level::GetCurrentRoom((Level *)g_game); - Room::SetPauseTimer(pRVar42,0x3c); + pRVar41 = (Room *)Level::GetCurrentRoom((Level *)g_game); + Room::SetPauseTimer(pRVar41,0x3c); spawn_ghost_corpse(); TemporaryEffects::AddCollectibleEffect(&this->_temporaryeffects,0x2a5,1,1); pIVar27 = (ItemConfig *)Isaac::GetItemConfig(); ItemConfig::GetCollectible(pIVar27,0x2a5); TemporaryEffect::TemporaryEffect(); - local_4c = 0x96; + local_6c._flags = 0x96; Level::GetCurrentRoom((Level *)g_game); pTVar45 = (TemporaryEffects *)FUN_004360d0(); - TemporaryEffects::AddEffect(pTVar45,local_6c + 0x18,1,1); + TemporaryEffects::AddEffect(pTVar45,&local_6c._velocity,1,1); Game::SetBloom(g_game); if ((*(int *)(*(int *)local_100 + 0xc) < DAT_00c811ac) && (_Init_thread_header(), DAT_00c811ac == -1)) { @@ -509932,9 +510728,9 @@ LAB_007781da: Game::GetField26614(); cVar11 = FUN_00429550(); if (cVar11 != '\0') { - local_4c = 300; + local_6c._flags = 300; } - TemporaryEffects::AddEffect(&this->_temporaryeffects,local_6c + 0x18,1,1); + TemporaryEffects::AddEffect(&this->_temporaryeffects,&local_6c._velocity,1,1); } bVar10 = HasCollectible(this,0x3b,0); if (bVar10 != 0) { @@ -509947,7 +510743,7 @@ LAB_007781da: (*pcVar3)(); ResetDamageCooldown(this); pcVar3 = *(code **)(*(int *)this + 0x20); - EntityRef::constructor((EntityRef *)local_6c,(Entity *)this); + EntityRef::constructor(&local_6c,(Entity *)this); FUN_00665a30(); (*pcVar3)(); } @@ -511275,14 +512071,14 @@ void Entity_Player::update_shooting(void) undefined4 extraout_EAX; Room *pRVar19; Entity_Laser *pEVar20; + Entity_Effect *pEVar21; Entity_NPC *npc; - Entity_Familiar *pEVar21; - Entity_Player *pEVar22; - Entity_Effect *pEVar23; + Entity_Familiar *pEVar22; + Entity_Player *pEVar23; undefined4 extraout_EAX_00; Entity_Tear *pEVar24; undefined4 extraout_EAX_01; - Entity *pEVar25; + Entity_Effect *pEVar25; undefined4 extraout_EAX_02; undefined4 extraout_EAX_03; EntityConfig *this_00; @@ -511318,14 +512114,14 @@ void Entity_Player::update_shooting(void) undefined4 uVar49; Vector local_31c; Vector local_314; - Entity *local_30c; - Entity *local_308; - Entity *local_304; + Entity_Effect *local_30c; + Entity_Effect *local_308; + Entity_Effect *local_304; undefined1 local_300 [8]; void **local_2f8; undefined1 local_2f4 [8]; undefined1 local_2ec [4]; - Entity *local_2e8; + Entity_Effect *local_2e8; int local_2e4; TemporaryEffects *local_2e0; uint local_2dc; @@ -511338,9 +512134,9 @@ void Entity_Player::update_shooting(void) float local_2c0; undefined1 local_2bc [4]; Entity *local_2b8; - Entity *local_2b4; + Entity_Effect *local_2b4; Vector local_2b0; - Entity *local_2a8; + Entity_Effect *local_2a8; Vector local_2a4; Vector local_29c; Entity_Player *local_294; @@ -511348,7 +512144,7 @@ void Entity_Player::update_shooting(void) char local_287; byte local_286; char local_285; - Entity *local_284; + Entity_Effect *local_284; byte local_27d; TearParams local_27c; TearParams local_214; @@ -511377,7 +512173,7 @@ void Entity_Player::update_shooting(void) uVar9 = __security_cookie ^ (uint)(aiStack_24 + 8); ExceptionList = &local_10; local_29c.y = 0.0; - local_30c = (Entity *)0x0; + local_30c = (Entity_Effect *)0x0; local_2a4.x = g_vectorZero.x; local_2a4.y = g_vectorZero.y; local_27d = 0; @@ -511475,7 +512271,7 @@ LAB_0077b373: uVar42 = GetTimeNs(); local_2b8 = (Entity *)(uVar42 >> 0x20); lVar2 = (uVar42 & 0xffffffff) * 0x431bde82; - local_2a8 = (Entity *)((ulonglong)lVar2 >> 0x20); + local_2a8 = (Entity_Effect *)((ulonglong)lVar2 >> 0x20); local_2f8 = (void **)(ZEXT48(local_2b8) * 0xd7b634db >> 0x20); lVar3 = ZEXT48(local_2b8) * 0x431bde82; uVar42 = ZEXT48(local_2b8) * 0xd7b634db + ((uVar42 & 0xffffffff) * 0xd7b634db >> 0x20); @@ -511532,8 +512328,8 @@ LAB_0077b57e: local_2a4.x = fVar40 + 0.0 + fVar41; local_2a4.y = fVar38 + 0.0 + fVar39; } - local_2e8 = (Entity *)local_2a4.y; - local_284 = (Entity *)local_2a4.x; + local_2e8 = (Entity_Effect *)local_2a4.y; + local_284 = (Entity_Effect *)local_2a4.x; local_286 = 0; if (0 < in_ECX->_peeBurstCooldown) { if (in_ECX->_peeBurstCooldown < in_ECX->_maxPeeBurstCooldown + -5) { @@ -511636,26 +512432,26 @@ LAB_0077b894: else { local_27d = 1; } - pEVar16 = (Entity *)in_ECX->_suplexState; + pEVar21 = (Entity_Effect *)in_ECX->_suplexState; local_2f8 = in_ECX->_weapons + 1; local_2cc = (void *)0x0; - local_308 = (Entity *)local_2a4.x; - local_304 = (Entity *)local_2a4.y; - local_2b4 = pEVar16; + local_308 = (Entity_Effect *)local_2a4.x; + local_304 = (Entity_Effect *)local_2a4.y; + local_2b4 = pEVar21; if (*local_2f8 != (int *)0x0) { local_2cc = (void *)(**(code **)(*(int *)*local_2f8 + 0x30))(); } piVar14 = in_ECX->_markedTarget; - if (pEVar16 == (Entity *)0x2) { + if (pEVar21 == (Entity_Effect *)0x2) { local_2cc = (void *)0x1e; LAB_0077b9dc: if (((piVar14 != (int *)0x0) && (cVar6 = input_is_action_triggered(0xb,in_ECX->_controllerIndex,in_ECX,0), cVar6 != '\0')) - && (local_2b4 != (Entity *)0x2)) { + && (local_2b4 != (Entity_Effect *)0x2)) { ppvVar29 = &in_ECX->_markedTarget; (**(code **)(*(int *)in_ECX->_markedTarget + 0x28))(); if (*ppvVar29 != (void *)0x0) { - local_2a8 = (Entity *)ppvVar29; + local_2a8 = (Entity_Effect *)ppvVar29; std::multiset::erase(&local_2a8); } *ppvVar29 = (void *)0x0; @@ -511667,13 +512463,13 @@ LAB_0077b9dc: if ((void *)piVar14[0xb] == local_2cc) goto LAB_0077bba3; (**(code **)(*piVar14 + 0x28))(); if (*ppvVar29 != (void *)0x0) { - local_2a8 = (Entity *)ppvVar29; + local_2a8 = (Entity_Effect *)ppvVar29; std::multiset::erase(&local_2a8); } *ppvVar29 = (void *)0x0; } if ((((float)local_284 != g_vectorZero.x) || ((float)local_2e8 != g_vectorZero.y)) || - (local_2b4 == (Entity *)0x2)) { + (local_2b4 == (Entity_Effect *)0x2)) { uVar13 = Random(); local_29c.x = (float)local_284 * 5.0 + (in_ECX->_pos).x; local_29c.y = (float)local_2e8 * 5.0 + (in_ECX->_pos).y; @@ -511684,7 +512480,7 @@ LAB_0077b9dc: *(undefined4 *)((int)local_2cc + 0x45c) = 0; *(undefined4 *)((int)local_2cc + 0x460) = 0; if (*ppvVar29 != (void *)0x0) { - local_2a8 = (Entity *)ppvVar29; + local_2a8 = (Entity_Effect *)ppvVar29; std::multiset::erase(&local_2a8); } *ppvVar29 = local_2cc; @@ -511693,15 +512489,16 @@ LAB_0077b9dc: } LAB_0077bba3: pEVar25 = local_284; - pEVar16 = local_2b4; + pEVar21 = local_2b4; cVar6 = (char)local_2b8; pvVar12 = in_ECX->_markedTarget; - local_284 = (Entity *)CONCAT31(local_284._1_3_,cVar6); + local_284 = (Entity_Effect *)CONCAT31(local_284._1_3_,cVar6); local_285 = (char)local_2dc; if ((pvVar12 != (void *)0x0) && ((in_ECX->_itemState == 0 || - (local_284 = (Entity *)CONCAT31(local_284._1_3_,cVar6), local_2b4 == (Entity *)0x2)))) { - local_284 = (Entity *)CONCAT31(local_284._1_3_,cVar6); + (local_284 = (Entity_Effect *)CONCAT31(local_284._1_3_,cVar6), + local_2b4 == (Entity_Effect *)0x2)))) { + local_284 = (Entity_Effect *)CONCAT31(local_284._1_3_,cVar6); if (cVar6 != '\0') { local_29c.x = (float)pEVar25; local_29c.y = (float)local_2e8; @@ -511712,9 +512509,10 @@ LAB_0077bba3: *(float *)((int)pvVar12 + 0x360) = local_29c.x * 8.0 + *(float *)((int)pvVar12 + 0x360); *(float *)((int)pvVar12 + 0x364) = *(float *)((int)pvVar12 + 0x364) + local_29c.y * 8.0; } - if (pEVar16 == (Entity *)0x2) { + if (pEVar21 == (Entity_Effect *)0x2) { local_290.y = (in_ECX->_pos).y - *(float *)((int)in_ECX->_markedTarget + 0x340); - local_2a8 = (Entity *)((in_ECX->_pos).x - *(float *)((int)in_ECX->_markedTarget + 0x33c)); + local_2a8 = (Entity_Effect *) + ((in_ECX->_pos).x - *(float *)((int)in_ECX->_markedTarget + 0x33c)); fVar38 = local_290.y * local_290.y + (float)local_2a8 * (float)local_2a8; sqrtf(); if (60.0 < fVar38) { @@ -511728,31 +512526,31 @@ LAB_0077bba3: } bVar5 = HasCollectible(in_ECX,0xd2,0); if (bVar5 != 0) { - local_284 = (Entity *)CONCAT31(local_284._1_3_,local_2b8._0_1_); + local_284 = (Entity_Effect *)CONCAT31(local_284._1_3_,local_2b8._0_1_); local_285 = (char)local_2dc; if (in_ECX->_mass == 1000.0) goto LAB_0077be15; } local_285 = '\x01'; - local_284 = (Entity *)CONCAT31(local_284._1_3_,1); + local_284 = (Entity_Effect *)CONCAT31(local_284._1_3_,1); } } else { if (local_2cc != (void *)0x0) goto LAB_0077b9dc; - local_284 = (Entity *)CONCAT31(local_284._1_3_,(char)local_2b8); + local_284 = (Entity_Effect *)CONCAT31(local_284._1_3_,(char)local_2b8); local_285 = (char)local_2dc; if (piVar14 != (int *)0x0) { if ((in_ECX->_flags & 0x4000) == 0) { (**(code **)(*piVar14 + 0x28))(); if (in_ECX->_markedTarget != (void *)0x0) { - local_2a8 = (Entity *)&in_ECX->_markedTarget; + local_2a8 = (Entity_Effect *)&in_ECX->_markedTarget; std::multiset::erase(&local_2a8); } - local_284 = (Entity *)CONCAT31(local_284._1_3_,local_2b8._0_1_); + local_284 = (Entity_Effect *)CONCAT31(local_284._1_3_,local_2b8._0_1_); local_285 = (char)local_2dc; in_ECX->_markedTarget = (void *)0x0; } else { - local_284 = (Entity *)CONCAT31(local_284._1_3_,(char)local_2b8); + local_284 = (Entity_Effect *)CONCAT31(local_284._1_3_,(char)local_2b8); } } } @@ -511829,15 +512627,15 @@ LAB_0077c05c: } } } - pEVar22 = local_294; + pEVar23 = local_294; if ((0 < in_ECX->_megaBlastDuration) || (*(int *)&in_ECX->field_0x1f00 != 0)) { local_27d = 0; } iVar32 = in_ECX->_fireBlockCooldown; - local_2b4 = (Entity *)0xf; - local_2a8 = (Entity *)0x0; + local_2b4 = (Entity_Effect *)0xf; + local_2a8 = (Entity_Effect *)0x0; if (iVar32 < 1) { - local_2a8 = (Entity *)(uint)local_27d; + local_2a8 = (Entity_Effect *)(uint)local_27d; } local_27d = (byte)local_2a8; if (((in_ECX->_isUrethraBlocked != 0) && (iVar32 < 1)) && (local_287 != '\0')) { @@ -511848,8 +512646,8 @@ LAB_0077c05c: if (in_ECX->_maxBladderCharge <= in_ECX->_bladderCharge) { TryForgottenThrow(local_294,&in_ECX->_lastDirection); pGVar33 = g_game; - pEVar22->_isUrethraBlocked = 0; - pEVar22->_blinkTime = 10; + pEVar23->_isUrethraBlocked = 0; + pEVar23->_blinkTime = 10; iVar32 = pGVar33->_frameCount; uVar9 = Random(); local_294->_maxPeeBurstCooldown = 0xb4; @@ -511861,10 +512659,10 @@ LAB_0077c05c: FireTear(local_294,&local_294->_pos,local_29c.x,local_29c.y,0x45,0,0x3f800000); Entity_Tear::ChangeVariant(0x16); (**(code **)(*(int *)pEVar24 + 0x40))(pEVar24->_collisionDamage * 10.0); - local_2a8 = (Entity *)pEVar24->_fScale; + local_2a8 = (Entity_Effect *)pEVar24->_fScale; iVar32 = Random(); local_290.y = 0.01; - local_2a8 = (Entity *) + local_2a8 = (Entity_Effect *) (((float)((double)iVar32 + __uint_to_double_fixup[-(iVar32 >> 0x1f)]) * 2.3283064e-10 * 0.3 + 1.2) * (float)local_2a8); pfVar10 = (float *)&local_2a8; @@ -511913,7 +512711,7 @@ LAB_0077c4aa: in_ECX->_ibsCharge = (float)&DAT_bf800000; goto LAB_0077c4aa; } - local_2a8 = (Entity *)(*(float *)&in_ECX->field_0x20a4 + 0.033333335); + local_2a8 = (Entity_Effect *)(*(float *)&in_ECX->field_0x20a4 + 0.033333335); local_290.y = 1.0; puVar11 = (undefined4 *)std::min(); *(undefined4 *)&in_ECX->field_0x20a4 = *puVar11; @@ -511932,7 +512730,7 @@ LAB_0077c4aa: Entity::Position(pEVar16,&local_2b0); uVar13 = FUN_004172b0(&local_290); Vector::__add(local_2c4,uVar13); - local_2a8 = (Entity *)0x3f000000; + local_2a8 = (Entity_Effect *)0x3f000000; uVar13 = Vector::__mul(&local_2d0,&local_2a8); Vector::operator_assign(uVar13); pEVar16 = local_2b8; @@ -511945,10 +512743,10 @@ LAB_0077c4aa: } } if (((float)local_308 != 0.0) || ((float)local_304 != 0.0)) { - pEVar16 = local_308; + pEVar21 = local_308; FUN_0041d510(); pEVar25 = local_304; - local_2a8 = pEVar16; + local_2a8 = pEVar21; FUN_0041d510(); if ((float)local_2a8 <= (float)pEVar25) { if (0.0 <= (float)local_304) { @@ -511976,12 +512774,12 @@ LAB_0077c4aa: } if (in_ECX->_fireBlockCooldown < 1) { in_ECX->_fireDirection = -1; - pEVar25 = (Entity *)local_2a4.y; + pEVar25 = (Entity_Effect *)local_2a4.y; FUN_0041d510(); - pEVar16 = (Entity *)local_2a4.x; + pEVar21 = (Entity_Effect *)local_2a4.x; local_2a8 = pEVar25; FUN_0041d510(); - if (0.01 < (float)local_2a8 + (float)pEVar16) { + if (0.01 < (float)local_2a8 + (float)pEVar21) { iVar32 = vector_to_direction(); in_ECX->_fireDirection = iVar32; } @@ -512056,7 +512854,7 @@ LAB_0077c4aa: local_29c.y = (float)puVar11[1]; GetLaserOffset(in_ECX,&local_2b0,4,&local_29c); fVar37 = (float10)Vector::GetAngleDegrees(); - local_2a8 = (Entity *)(float)fVar37; + local_2a8 = (Entity_Effect *)(float)fVar37; piVar14 = (int *)Entity_Laser::ShootAngle (5,&in_ECX->_pos,local_2a8,0x1e,extraout_EAX,in_ECX,0); (**(code **)(*piVar14 + 0x40))(in_ECX->_meleeDamage); @@ -512209,28 +513007,28 @@ LAB_0077cd7e: } LAB_0077cde3: local_2b8 = (Entity *)(in_ECX->_weapons + 1); - local_2b4 = (Entity *)&DAT_00000004; + local_2b4 = (Entity_Effect *)&DAT_00000004; do { if (*(int *)&local_2b8->field_0x0 != 0) { FUN_004316c0(); FUN_004316b0(local_2cc); } local_2b8 = (Entity *)&local_2b8->field_0x4; - local_2b4 = (Entity *)((int)&local_2b4[-1]._luaBridgeRef + 3); - } while (local_2b4 != (Entity *)0x0); + local_2b4 = (Entity_Effect *)((int)&local_2b4[-1]._hitList._capacity + 3); + } while (local_2b4 != (Entity_Effect *)0x0); if (in_ECX->_weapons[0] == (void *)0x0) { local_2b8 = (Entity *)(in_ECX->_weapons + 1); - local_2b4 = (Entity *)&DAT_00000004; + local_2b4 = (Entity_Effect *)&DAT_00000004; do { - local_2a8 = *(Entity **)&local_2b8->field_0x0; - if (local_2a8 != (Entity *)0x0) { + local_2a8 = *(Entity_Effect **)&local_2b8->field_0x0; + if (local_2a8 != (Entity_Effect *)0x0) { pcVar1 = *(code **)(*(int *)local_2a8 + 8); uVar13 = Entity::HasEntityFlags(0x4000,0); (*pcVar1)(uVar13); } local_2b8 = (Entity *)&local_2b8->field_0x4; - local_2b4 = (Entity *)((int)&local_2b4[-1]._luaBridgeRef + 3); - } while (local_2b4 != (Entity *)0x0); + local_2b4 = (Entity_Effect *)((int)&local_2b4[-1]._hitList._capacity + 3); + } while (local_2b4 != (Entity_Effect *)0x0); } else { FUN_004316c0(); @@ -512243,7 +513041,7 @@ LAB_0077cde3: if ((in_ECX->_itemState == 0x31) && (local_286 != '\0')) { in_ECX->_blinkTime = 10; } - local_2a8 = (Entity *)in_ECX->_blinkTime; + local_2a8 = (Entity_Effect *)in_ECX->_blinkTime; local_2dc = 2; if ((int)local_2a8 < 9) { local_2dc = 0; @@ -512287,25 +513085,25 @@ LAB_0077cde3: pTVar46 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar45 = 0; uVar13 = Game::Spawn(1000,0x2f,&in_ECX->_pos,&g_vectorZero,0,0,uVar13); - pEVar16 = (Entity *)__RTDynamicCast(uVar13,uVar45,pTVar46,pTVar47,uVar48); + pEVar21 = (Entity_Effect *)__RTDynamicCast(uVar13,uVar45,pTVar46,pTVar47,uVar48); EntityPtr::SetReference(); - Entity::SetParent(pEVar16,local_294); - Entity_Effect::set_rotation(*(undefined4 *)&local_294->field_0x1404); + Entity::SetParent((Entity *)pEVar21,local_294); + Entity_Effect::set_rotation(pEVar21,*(undefined4 *)&local_294->field_0x1404); FUN_0043eea0(*(undefined4 *)&local_294->field_0x1404); Vector::FromAngle(&local_29c,*(float *)&local_294->field_0x1404 + 90.0); local_290.y = 30.0; uVar13 = Vector::__mul(&local_2b0,&local_290.y); uVar13 = Vector::__add(local_2c4,uVar13); - Entity::SetPosition(pEVar16,uVar13); + Entity::SetPosition((Entity *)pEVar21,uVar13); in_ECX = local_294; - (**(code **)(*(int *)pEVar16 + 0x3c))(&local_294->_tearColor,0xffffffff,0xff,0,1); - (**(code **)(*(int *)pEVar16 + 0xc))(); + (**(code **)(*(int *)pEVar21 + 0x3c))(&local_294->_tearColor,0xffffffff,0xff,0,1); + (**(code **)(*(int *)pEVar21 + 0xc))(); } else { - pEVar16 = (Entity *) + pEVar21 = (Entity_Effect *) __RTDynamicCast(piVar14,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor,0); - local_2b4 = pEVar16; + local_2b4 = pEVar21; if ((byte)local_284 == '\0') { local_2b8 = (Entity *)0x3f4ccccd; } @@ -512332,13 +513130,13 @@ LAB_0077cde3: local_290.y = (float)puVar35; normalize_angle_degrees(); local_290.y = (float)puVar35; - Entity_Effect::set_rotation(puVar35); + Entity_Effect::set_rotation(pEVar21,puVar35); *(float *)&in_ECX->field_0x1404 = local_290.y; local_2b8 = (Entity *)0x3f000000; } - fVar37 = (float10)Entity_Effect::Rotation(); + fVar37 = (float10)Entity_Effect::Rotation(pEVar21); local_290.y = (float)fVar37; - fVar37 = (float10)Entity::SpriteRotation(pEVar16); + fVar37 = (float10)Entity::SpriteRotation((Entity *)pEVar21); fVar38 = (float)fVar37; local_2c0 = fVar38; LerpAngleDeg(); @@ -512348,9 +513146,9 @@ LAB_0077cde3: local_290.y = 30.0; uVar13 = Vector::__mul(&local_2b0,&local_290.y); uVar13 = Vector::__add(local_2c4,uVar13); - pEVar16 = local_2b4; - Entity::SetPosition(local_2b4,uVar13); - (**(code **)(*(int *)pEVar16 + 0x3c))(&in_ECX->_tearColor,0xffffffff,0xff,0,1); + pEVar21 = local_2b4; + Entity::SetPosition((Entity *)local_2b4,uVar13); + (**(code **)(*(int *)pEVar21 + 0x3c))(&in_ECX->_tearColor,0xffffffff,0xff,0,1); local_290.y = (float)&DAT_00000007; piVar14 = (int *)std::max(); in_ECX->_blinkTime = *piVar14; @@ -512401,7 +513199,7 @@ LAB_0077cde3: local_2c0 = 5.67526e-43; uVar13 = FUN_005cbfa0(&local_290.y); Vector::operator_assign(uVar13); - local_2b4 = (Entity *)0x0; + local_2b4 = (Entity_Effect *)0x0; local_290.y = 0.0; do { puVar35 = (undefined1 *)local_290.y; @@ -512418,15 +513216,15 @@ LAB_0077cde3: local_2cc = (void *)((int)local_2b4 * 0xc); do { std::vector::operator_index(fVar38); - pEVar21 = (Entity_Familiar *)FUN_00435de0(); - if (((pEVar21 != (Entity_Familiar *)0x0) && - (pEVar22 = (Entity_Player *)Entity_Familiar::Player(pEVar21), - pEVar22 == in_ECX)) && + pEVar22 = (Entity_Familiar *)FUN_00435de0(); + if (((pEVar22 != (Entity_Familiar *)0x0) && + (pEVar23 = (Entity_Player *)Entity_Familiar::Player(pEVar22), + pEVar23 == in_ECX)) && ((iVar32 = FUN_00753d30(), -1 < iVar32 && (iVar32 = FUN_00753d30(), iVar32 <= (int)local_2cc)))) { FUN_00753d40(local_2cc); - Entity::SetTargetPosition((Entity *)pEVar21,local_29c.x,local_29c.y); - local_2b4 = (Entity *)&local_2b4->field_0x1; + Entity::SetTargetPosition((Entity *)pEVar22,local_29c.x,local_29c.y); + local_2b4 = (Entity_Effect *)&local_2b4->field_0x1; local_2cc = (void *)((int)local_2cc + 0xc); } fVar38 = (float)((int)local_2c0 + 1); @@ -512450,23 +513248,23 @@ LAB_0077cde3: EntityPtr::SetReference(); } uVar13 = Random(); - pEVar23 = (Entity_Effect *)Game::Spawn(1000,0xbc,&in_ECX->_pos,&g_vectorZero,0,0,uVar13) + pEVar21 = (Entity_Effect *)Game::Spawn(1000,0xbc,&in_ECX->_pos,&g_vectorZero,0,0,uVar13) ; EntityPtr::SetReference(); - Entity::SetParent((Entity *)pEVar23,local_294); + Entity::SetParent((Entity *)pEVar21,local_294); fVar37 = (float10)Vector::GetAngleDegrees(); - Entity_Effect::set_rotation((float)fVar37); - fVar37 = (float10)Entity_Effect::Rotation(); + Entity_Effect::set_rotation(pEVar21,(float)fVar37); + fVar37 = (float10)Entity_Effect::Rotation(pEVar21); Vector::FromAngle(&local_2b0,(float)fVar37); local_290.y = 10.0; uVar13 = Vector::__mul(local_300,&local_290.y); uVar13 = Vector::__sub(local_2f4,uVar13); - Entity::SetPosition((Entity *)pEVar23,uVar13); + Entity::SetPosition((Entity *)pEVar21,uVar13); local_290.y = 10.0; uVar13 = Vector::__mul(&local_2d8,&local_290.y); - Entity::SetVelocity((Entity *)pEVar23,uVar13); - Entity_Effect::SetTimeout(pEVar23,0x1e); - (**(code **)(*(int *)pEVar23 + 0xc))(); + Entity::SetVelocity((Entity *)pEVar21,uVar13); + Entity_Effect::SetTimeout(pEVar21,0x1e); + (**(code **)(*(int *)pEVar21 + 0xc))(); in_ECX = local_294; pcVar1 = *(code **)(*(int *)local_294 + 0x3c); uVar13 = Color::Color(0x3f800000,0,0,0,0,0x3f99999a,0x3f99999a,0x3f800000); @@ -512476,7 +513274,7 @@ LAB_0077cde3: if ((bVar5 != 0) && (bVar5 = TemporaryEffects::HasCollectibleEffect(&in_ECX->_temporaryeffects,0x2d6), bVar5 == 0)) { - local_2e8 = (Entity *)Isaac::CreateWeapon(); + local_2e8 = (Entity_Effect *)Isaac::CreateWeapon(); FUN_004316c0(); uVar9 = GetWeaponModifiers(in_ECX); FUN_004316b0(uVar9 | 0x200); @@ -512529,10 +513327,10 @@ LAB_0077cde3: pTVar46 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar45 = 0; uVar13 = Game::Spawn(1000,0x53,&in_ECX->_pos,&g_vectorZero,in_ECX,0,uVar13); - pEVar16 = (Entity *)__RTDynamicCast(uVar13,uVar45,pTVar46,pTVar47,uVar48); + pEVar21 = (Entity_Effect *)__RTDynamicCast(uVar13,uVar45,pTVar46,pTVar47,uVar48); EntityPtr::SetReference(); - Entity::SetParent(pEVar16,local_294); - Entity_Effect::set_rotation(*(undefined4 *)&local_294->field_0x1408); + Entity::SetParent((Entity *)pEVar21,local_294); + Entity_Effect::set_rotation(pEVar21,*(undefined4 *)&local_294->field_0x1408); FUN_0043eea0(*(undefined4 *)&local_294->field_0x1408); Vector::FromAngle(&local_29c,*(float *)&local_294->field_0x1408 + 90.0); local_290.y = 45.0; @@ -512542,18 +513340,18 @@ LAB_0077cde3: local_2c0 = 10.0; uVar13 = Vector::__mul(&local_31c,&local_2c0); uVar13 = Vector::__add(local_a8,uVar13); - Entity::SetPosition(pEVar16,uVar13); + Entity::SetPosition((Entity *)pEVar21,uVar13); uVar13 = Vector::Vector(); - Entity::SetPositionOffset(pEVar16,uVar13); - (**(code **)(*(int *)pEVar16 + 0x3c))(&local_294->_tearColor,0xffffffff,0xff,0,1); - (**(code **)(*(int *)pEVar16 + 0xc))(); + Entity::SetPositionOffset((Entity *)pEVar21,uVar13); + (**(code **)(*(int *)pEVar21 + 0x3c))(&local_294->_tearColor,0xffffffff,0xff,0,1); + (**(code **)(*(int *)pEVar21 + 0xc))(); in_ECX = local_294; } else { - pEVar16 = (Entity *) + pEVar21 = (Entity_Effect *) __RTDynamicCast(piVar14,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor,0); - local_2b4 = pEVar16; + local_2b4 = pEVar21; if ((byte)local_284 == '\0') { local_290.y = 0.8; } @@ -512580,13 +513378,13 @@ LAB_0077cde3: local_290.y = fVar38; normalize_angle_degrees(); local_290.y = fVar38; - Entity_Effect::set_rotation(fVar38); + Entity_Effect::set_rotation(pEVar21,fVar38); *(float *)&in_ECX->field_0x1408 = local_290.y; local_290.y = 0.5; } - fVar37 = (float10)Entity_Effect::Rotation(); + fVar37 = (float10)Entity_Effect::Rotation(pEVar21); local_2c0 = (float)fVar37; - fVar37 = (float10)Entity::SpriteRotation(pEVar16); + fVar37 = (float10)Entity::SpriteRotation((Entity *)pEVar21); pEVar16 = (Entity *)(float)fVar37; local_2b8 = pEVar16; LerpAngleDeg(); @@ -512600,9 +513398,9 @@ LAB_0077cde3: local_2c0 = 10.0; uVar13 = Vector::__mul(&local_31c,&local_2c0); uVar13 = Vector::__add(local_a8,uVar13); - pEVar16 = local_2b4; - Entity::SetPosition(local_2b4,uVar13); - (**(code **)(*(int *)pEVar16 + 0x3c))(&in_ECX->_tearColor,0xffffffff,0xff,0,1); + pEVar21 = local_2b4; + Entity::SetPosition((Entity *)local_2b4,uVar13); + (**(code **)(*(int *)pEVar21 + 0x3c))(&in_ECX->_tearColor,0xffffffff,0xff,0,1); local_290.y = (float)&DAT_00000007; piVar14 = (int *)std::max(); in_ECX->_blinkTime = *piVar14; @@ -512636,7 +513434,7 @@ LAB_0077cde3: random_float(); local_2b8 = pEVar16; Vector::__mul(local_2f4,&local_2b8); - local_2b4 = (Entity *)0x40000000; + local_2b4 = (Entity_Effect *)0x40000000; uVar13 = Vector::__mul(local_300,&local_2b4); Vector::operator_add_assign(uVar13); GetTearMovementInheritance(in_ECX,&local_31c,&local_2b0,1); @@ -512656,15 +513454,15 @@ LAB_0077cde3: (**(code **)(*(int *)pEVar24 + 0x40))(local_290.y * local_2c0); (**(code **)(*(int *)pEVar24 + 0xc))(); } - pEVar16 = (Entity *)in_ECX->_luck; - local_2b4 = pEVar16; - local_29c.y = (float)pEVar16; + pEVar21 = (Entity_Effect *)in_ECX->_luck; + local_2b4 = pEVar21; + local_29c.y = (float)pEVar21; bVar5 = HasTrinket(in_ECX,0x8b,0); if (bVar5 != 0) { iVar32 = GetTrinketMultiplier(in_ECX,0x8b); - pEVar16 = (Entity *)((float)iVar32 + (float)iVar32 + 2.0 + (float)local_2b4); - in_ECX->_luck = (float)pEVar16; - local_2b4 = pEVar16; + pEVar21 = (Entity_Effect *)((float)iVar32 + (float)iVar32 + 2.0 + (float)local_2b4); + in_ECX->_luck = (float)pEVar21; + local_2b4 = pEVar21; } iVar32 = in_ECX->_itemState; if (iVar32 < 0x1e2) { @@ -512703,7 +513501,7 @@ LAB_0077cde3: in_ECX->_blinkTime = 1; PlayExtraAnimation(in_ECX,"HideItem"); random_float(); - play_sound_with_fart_seed(0xfc,2,0,(float)pEVar16 * 0.2 + 0.9); + play_sound_with_fart_seed(0xfc,2,0,(float)pEVar21 * 0.2 + 0.9); } else if (iVar32 < 0xa5) { if (iVar32 == 0xa4) { @@ -512730,7 +513528,7 @@ switchD_0077e14f_caseD_2a: Vector::__mul(&local_2d8,fVar38); local_2cc = (void *)0x3f000000; Vector::__mul(local_2f4,&local_2cc); - local_2e8 = (Entity *)0x40000000; + local_2e8 = (Entity_Effect *)0x40000000; uVar45 = Vector::__mul(local_300,&local_2e8); uVar45 = Vector::__add(&local_31c,uVar45); in_ECX = local_294; @@ -512739,29 +513537,29 @@ switchD_0077e14f_caseD_2a: pTVar46 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar48 = 0; uVar13 = Game::Spawn(1000,10,&local_294->_pos,uVar45,local_294,0,uVar13); - pEVar23 = (Entity_Effect *)__RTDynamicCast(uVar13,uVar48,pTVar46,pTVar47,uVar49); - Entity_Effect::SetTimeout(pEVar23,0x3c); - (**(code **)(*(int *)pEVar23 + 0x40))(0x41b80000); + pEVar25 = (Entity_Effect *)__RTDynamicCast(uVar13,uVar48,pTVar46,pTVar47,uVar49); + Entity_Effect::SetTimeout(pEVar25,0x3c); + (**(code **)(*(int *)pEVar25 + 0x40))(0x41b80000); Game::GetField26614(); cVar6 = FUN_00429550(); if (cVar6 != '\0') { Game::GetField26614(); piVar14 = (int *)EntityList::Size(); - (**(code **)(*piVar14 + 0x44))(pEVar23); + (**(code **)(*piVar14 + 0x44))(pEVar25); } bVar5 = IsLocalPlayer(in_ECX); if (bVar5 == 0) { - uVar13 = Entity::GetColor((Entity *)pEVar23); + uVar13 = Entity::GetColor((Entity *)pEVar25); Color::operator_assign(uVar13); FUN_00417900(); FUN_00925df0(); - local_2b0.y = (float)pEVar16; + local_2b0.y = (float)pEVar21; fVar37 = (float10)Color::A(); - pEVar16 = (Entity *)local_2b0.y; + pEVar21 = (Entity_Effect *)local_2b0.y; Font::SetLineHeightModifier(&local_70,(float)(fVar37 * (float10)local_2b0.y)); - (**(code **)(*(int *)pEVar23 + 0x3c))(&local_70,0xffffffff,0xff,0,1); + (**(code **)(*(int *)pEVar25 + 0x3c))(&local_70,0xffffffff,0xff,0,1); } - (**(code **)(*(int *)pEVar23 + 0xc))(); + (**(code **)(*(int *)pEVar25 + 0xc))(); local_290.y = (float)((int)local_290.y + 4); local_2c0 = (float)((int)local_2c0 + -1); } while (local_2c0 != 0.0); @@ -512790,28 +513588,28 @@ LAB_0077e64e: pTVar46 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar48 = 0; uVar13 = Game::Spawn(1000,0x34,&local_294->_pos,uVar45,local_294,0,uVar13); - pEVar25 = (Entity *)__RTDynamicCast(uVar13,uVar48,pTVar46,pTVar47,uVar49); - (**(code **)(*(int *)pEVar25 + 0x40))(0x41b80000); + pEVar16 = (Entity *)__RTDynamicCast(uVar13,uVar48,pTVar46,pTVar47,uVar49); + (**(code **)(*(int *)pEVar16 + 0x40))(0x41b80000); Game::GetField26614(); cVar6 = FUN_00429550(); if (cVar6 != '\0') { Game::GetField26614(); piVar14 = (int *)EntityList::Size(); - (**(code **)(*piVar14 + 0x44))(pEVar25); + (**(code **)(*piVar14 + 0x44))(pEVar16); } bVar5 = IsLocalPlayer(in_ECX); if (bVar5 == 0) { - uVar13 = Entity::GetColor(pEVar25); + uVar13 = Entity::GetColor(pEVar16); Color::operator_assign(uVar13); FUN_00417900(); FUN_00925df0(); - local_2e8 = pEVar16; + local_2e8 = pEVar21; fVar37 = (float10)Color::A(); - pEVar16 = local_2e8; + pEVar21 = local_2e8; Font::SetLineHeightModifier(&local_70,(float)(fVar37 * (float10)(float)local_2e8)); - (**(code **)(*(int *)pEVar25 + 0x3c))(&local_70,0xffffffff,0xff,0,1); + (**(code **)(*(int *)pEVar16 + 0x3c))(&local_70,0xffffffff,0xff,0,1); } - (**(code **)(*(int *)pEVar25 + 0xc))(); + (**(code **)(*(int *)pEVar16 + 0xc))(); local_290.y = (float)((int)local_290.y + 4); local_2c0 = (float)((int)local_2c0 + -1); } while (local_2c0 != 0.0); @@ -512954,11 +513752,11 @@ switchD_0077e14f_caseD_1: pTVar46 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar45 = 0; uVar13 = Game::Spawn(1000,0x3c,&in_ECX->_pos,local_2ec,in_ECX,0,uVar13); - pEVar23 = (Entity_Effect *)__RTDynamicCast(uVar13,uVar45,pTVar46,pTVar47,uVar48); - Entity_Effect::SetTimeout(pEVar23,(int)(-in_ECX->_tearheight * 0.75)); - (**(code **)(*(int *)pEVar23 + 0x40))(in_ECX->_damage + in_ECX->_damage); - Entity::SetParent((Entity *)pEVar23,in_ECX); - (**(code **)(*(int *)pEVar23 + 0xc))(); + pEVar21 = (Entity_Effect *)__RTDynamicCast(uVar13,uVar45,pTVar46,pTVar47,uVar48); + Entity_Effect::SetTimeout(pEVar21,(int)(-in_ECX->_tearheight * 0.75)); + (**(code **)(*(int *)pEVar21 + 0x40))(in_ECX->_damage + in_ECX->_damage); + Entity::SetParent((Entity *)pEVar21,in_ECX); + (**(code **)(*(int *)pEVar21 + 0xc))(); SoundEffects::PlayWithFartOverride(0x344,2,0,0x3f800000); in_ECX->_blinkTime = 0xf; DischargeActiveItem(in_ECX,0,0); @@ -513283,7 +514081,7 @@ switchD_0077f19d_caseD_2c5: in_ECX->_blinkTime = 1; PlayExtraAnimation(in_ECX,"HideItem"); random_float(); - play_sound_with_fart_seed(2,2,0,(float)pEVar16 * 0.2 + 0.9); + play_sound_with_fart_seed(2,2,0,(float)pEVar21 * 0.2 + 0.9); goto switchD_0077f19d_caseD_2c5; } break; @@ -513370,10 +514168,10 @@ LAB_0077ed7e: LAB_0077fc4f: piVar14 = &in_ECX->_blinkTime; LAB_0077fc55: - pEVar16 = (Entity *)in_ECX->_luck; + pEVar21 = (Entity_Effect *)in_ECX->_luck; if (in_ECX->_luck == (float)local_2b4) { in_ECX->_luck = local_29c.y; - pEVar16 = (Entity *)local_29c.y; + pEVar21 = (Entity_Effect *)local_29c.y; } if (((cVar6 == '\0') && (*piVar14 < 0)) && (in_ECX->_headDirectionTime < 0)) { FUN_00420ae0(); @@ -513412,11 +514210,11 @@ LAB_0077fc55: if ((bVar5 != 0) && ((iVar32 = Sprite::GetOverlayFrame((Sprite *)&in_ECX->_sprite), iVar32 == 0 && (8 < (int)local_2a8)))) { - pEVar16 = (Entity *)(in_ECX->_posOffset).y; - local_29c.y = (float)pEVar16; + pEVar21 = (Entity_Effect *)(in_ECX->_posOffset).y; + local_29c.y = (float)pEVar21; uVar13 = Color::Color(); random_float(); - Game::SpawnParticles(&in_ECX->_pos,0x23,1,(float)pEVar16 * 3.0 + 2.0,uVar13,local_29c.y,1); + Game::SpawnParticles(&in_ECX->_pos,0x23,1,(float)pEVar21 * 3.0 + 2.0,uVar13,local_29c.y,1); } Sprite::SetOverlayFrame(&in_ECX->_headAnim,local_2dc); local_294 = (Entity_Player *)&in_ECX->_playerCostumeMap[0]._isBodyLayer; @@ -513431,7 +514229,7 @@ LAB_0077fc55: if ((int)local_2a8 < 9) { uVar13 = FUN_00421620("_Idle"); local_8 = 0xb; - local_30c = (Entity *)((uint)local_30c | 1); + local_30c = (Entity_Effect *)((uint)local_30c | 1); local_29c.y = (float)local_30c; iVar32 = FUN_0040bcb0(uVar13); local_286 = '\x01'; @@ -513443,7 +514241,7 @@ LAB_0077ff13: } local_8 = 0xffffffff; if (((uint)local_30c & 1) != 0) { - local_30c = (Entity *)((uint)local_30c & 0xfffffffe); + local_30c = (Entity_Effect *)((uint)local_30c & 0xfffffffe); std::string::_Tidy_deallocate(); } if (local_286 == '\0') { @@ -513468,7 +514266,7 @@ LAB_0077ff13: local_29c.y = (float)FUN_0040bcb0(uVar13); local_8 = 0xffffffff; std::string::_Tidy_deallocate(); - if ((Entity *)local_29c.y != (Entity *)0x0) { + if ((Entity_Effect *)local_29c.y != (Entity_Effect *)0x0) { if ((char)*(int *)((int)local_29c.y + 0x34) == '\0') { uVar13 = FUN_00421620("_Overlay"); local_8 = 0xf; @@ -513495,7 +514293,7 @@ LAB_0077ff13: do { if (*ppvVar29 != (void *)0x0) { FUN_004e46b0(); - if (0.0 < (float)pEVar16) goto LAB_007800b3; + if (0.0 < (float)pEVar21) goto LAB_007800b3; ppvVar29 = local_2f8; } uVar9 = uVar9 + 1; @@ -515818,7 +516616,7 @@ joined_r0x00783ce0: FUN_004563c0(uVar8); Entity::AddEntityFlags(0,0x1000); (**(code **)(*(int *)pEVar19 + 0xc))(); - Entity_Effect::set_rotation(0); + Entity_Effect::set_rotation(pEVar19,0); this = (Entity_Player *)local_134; } } @@ -515980,7 +516778,7 @@ LAB_007845eb: ANM2::Reset((ANM2 *)((int)this + 0x41c)); ANM2::Reset((ANM2 *)((int)this + 0xff8)); } - update_pitfall(); + update_pitfall(this); cVar5 = Entity::HasEntityFlags(0x4000,0); if (cVar5 == '\0') { update_suplex(); @@ -517676,7 +518474,7 @@ LAB_00787ec4: Color::operator_assign(EVar17); random_float(); fVar51 = fVar51 * 10.0 + 2.0; - Entity_Effect::set_rotation(fVar51); + Entity_Effect::set_rotation((Entity_Effect *)EVar35,fVar51); iVar9 = Isaac::Random(10); Entity_Effect::SetTimeout((Entity_Effect *)EVar35,iVar9 + 10); random_float(); @@ -520385,7 +521183,7 @@ LAB_0078d290: } } if ((this->_dead == 0) && ((local_98 == 1 || (local_98 == 3)))) { - render_charge_bars(); + render_charge_bars(this); if (((this->_statusEffectSprite)._loaded != 0) && (((this->_statusEffectSprite)._animState._animData != (void *)0x0 && ((this->_statusEffectSprite)._animState._isPlaying != 0)))) { @@ -520495,7 +521293,7 @@ void __thiscall Entity_Player::RenderGlow(Entity_Player *this,undefined4 param_2 iVar1 = this->_playerCostumeMap[0]._index; if (iVar1 < 0) { pLVar4 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - local_8 = *(float *)&pLVar4->field_0x54; + local_8 = (pLVar4->_color)._tint[3]; if (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) { fVar5 = local_8; bVar3 = NetplayManager::IsIdxLocalPlayer @@ -520513,7 +521311,7 @@ void __thiscall Entity_Player::RenderGlow(Entity_Player *this,undefined4 param_2 else { pLVar4 = ANM2::GetLayer((ANM2 *)(iVar1 * 0x130 + (int)(this->_costumeSpriteDescs)._begin), (byte *)this->_playerCostumeMap[0]._layerID); - local_8 = *(float *)&pLVar4->field_0x54; + local_8 = (pLVar4->_color)._tint[3]; if (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) { fVar5 = local_8; bVar3 = NetplayManager::IsIdxLocalPlayer @@ -520536,7 +521334,7 @@ void __thiscall Entity_Player::RenderGlow(Entity_Player *this,undefined4 param_2 (int)(this->_costumeSpriteDescs)._begin); } pLVar4 = ANM2::GetLayer(this_00,layerName); - *(float *)&pLVar4->field_0x54 = local_8; + (pLVar4->_color)._tint[3] = local_8; } } return; @@ -520781,10 +521579,7 @@ byte __thiscall Entity_Player::HandleCollision(Entity_Player *this,Entity *colli float fStack_c4; float fStack_c0; Vector VStack_bc; - undefined1 auStack_b4 [28]; - float fStack_98; - uint uStack_94; - Entity_Player *pEStack_90; + EntityRef EStack_b4; float fStack_8c; float fStack_88; undefined1 auStack_84 [16]; @@ -520822,18 +521617,18 @@ byte __thiscall Entity_Player::HandleCollision(Entity_Player *this,Entity *colli VStack_bc.x = *pfVar7 * 18.0; VStack_bc.y = pfVar7[1] * 18.0; if (this == (Entity_Player *)0x0) { - auStack_b4._0_4_ = 0; - auStack_b4._4_4_ = 0; - auStack_b4._8_4_ = 0; - auStack_b4._12_4_ = 0; - auStack_b4._16_4_ = g_vectorZero.x; - auStack_b4._20_4_ = g_vectorZero.y; - auStack_b4._24_4_ = g_vectorZero.x; - fStack_98 = g_vectorZero.y; + EStack_b4._type = 0; + EStack_b4._variant = 0; + EStack_b4._spawnerType = 0; + EStack_b4._spawnerVariant = 0; + EStack_b4._position.x = g_vectorZero.x; + EStack_b4._position.y = g_vectorZero.y; + EStack_b4._velocity.x = g_vectorZero.x; + EStack_b4._velocity.y = g_vectorZero.y; LAB_0078e417: - uStack_94 = 0; + EStack_b4._flags = 0; if (this != (Entity_Player *)0x0) goto LAB_0078e41d; - uStack_94 = 0; + EStack_b4._flags = 0; LAB_0078e439: fStack_c4 = 0.0; if (this != (Entity_Player *)0x0) goto LAB_0078e445; @@ -520841,16 +521636,16 @@ LAB_0078e45e: uVar8 = 0; } else { - auStack_b4._0_4_ = this->_type; - auStack_b4._16_4_ = (this->_pos).x; - auStack_b4._20_4_ = (this->_pos).y; - auStack_b4._4_4_ = this->_variant; - auStack_b4._8_4_ = this->_spawnerType; - auStack_b4._12_4_ = this->_spawnerVariant; - auStack_b4._24_4_ = (this->_velocity).x; - fStack_98 = (this->_velocity).y; + EStack_b4._type = this->_type; + EStack_b4._position.x = (this->_pos).x; + EStack_b4._position.y = (this->_pos).y; + EStack_b4._variant = this->_variant; + EStack_b4._spawnerType = this->_spawnerType; + EStack_b4._spawnerVariant = this->_spawnerVariant; + EStack_b4._velocity.x = (this->_velocity).x; + EStack_b4._velocity.y = (this->_velocity).y; if ((this->_flags & 0x100) == 0) goto LAB_0078e417; - uStack_94 = 1; + EStack_b4._flags = 1; LAB_0078e41d: if ((this->_flags & 0x20000000) == 0) goto LAB_0078e439; fStack_c4 = 2.8026e-45; @@ -520858,9 +521653,9 @@ LAB_0078e445: if ((this->_flags & 0x40000000000000) == 0) goto LAB_0078e45e; uVar8 = 4; } - uStack_94 = uVar8 | (uint)fStack_c4 | uStack_94; - pEStack_90 = this; - Entity::AddKnockback(collider,(EntityRef *)auStack_b4,&VStack_bc,200,1); + EStack_b4._flags = uVar8 | (uint)fStack_c4 | EStack_b4._flags; + EStack_b4._entity = this; + Entity::AddKnockback(collider,&EStack_b4,&VStack_bc,200,1); LAB_0078e48c: if (((this->_playerType == 0x16) && (cVar4 = Entity::IsVulnerableEnemy(collider,0), cVar4 != '\0') ) && ((this->_maggySwingCooldown < 3 && @@ -520892,7 +521687,7 @@ LAB_0078e48c: piVar10[0xd3] = 0; piVar10[0xd4] = -0x3ea00000; piVar10[0x10e] = (int)(fVar22 * 57.295776); - (**(code **)(*piVar10 + 0x3c))(&pEStack_90,0xffffffff,0xff,0,1); + (**(code **)(*piVar10 + 0x3c))(&EStack_b4._entity,0xffffffff,0xff,0,1); piVar21[0x39] = (int)(this->_sprite)._scale.x; piVar21[0x3a] = (int)(this->_sprite)._scale.y; piVar21[0x104] = iStack_74; @@ -520915,15 +521710,15 @@ LAB_0078e48c: if (cVar4 == '\0') { uVar8 = Entity::GetHitListIndex(collider); sorted_vector_insert_unique(uVar8); - auStack_b4._16_4_ = (this->_pos).x; - auStack_b4._20_4_ = (this->_pos).y; + EStack_b4._position.x = (this->_pos).x; + EStack_b4._position.y = (this->_pos).y; pEStack_d0 = *(EntityPtr **)(*(int *)collider + 0x20); - auStack_b4._0_4_ = this->_type; - auStack_b4._4_4_ = this->_variant; - auStack_b4._8_4_ = this->_spawnerType; - auStack_b4._12_4_ = this->_spawnerVariant; - auStack_b4._24_4_ = (this->_velocity).x; - fStack_98 = (this->_velocity).y; + EStack_b4._type = this->_type; + EStack_b4._variant = this->_variant; + EStack_b4._spawnerType = this->_spawnerType; + EStack_b4._spawnerVariant = this->_spawnerVariant; + EStack_b4._velocity.x = (this->_velocity).x; + EStack_b4._velocity.y = (this->_velocity).y; fStack_c4 = (float)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar8 = 0; @@ -520937,23 +521732,23 @@ LAB_0078e48c: else { uVar12 = 4; } - uStack_94 = uVar12 | uVar8 | (uint)fStack_c4; - pEStack_90 = this; - (*(code *)pEStack_d0)(0x42a00000,0x1000004,0,auStack_b4,0x1e); + EStack_b4._flags = uVar12 | uVar8 | (uint)fStack_c4; + EStack_b4._entity = this; + (*(code *)pEStack_d0)(0x42a00000,0x1000004,0,&EStack_b4,0x1e); } } else if ((*piVar14 == 5) && (cVar4 = EntityList::HitListContains(collider), cVar4 == '\0')) { uVar8 = Entity::GetHitListIndex(collider); sorted_vector_insert_unique(uVar8); - auStack_b4._16_4_ = (this->_pos).x; - auStack_b4._20_4_ = (this->_pos).y; + EStack_b4._position.x = (this->_pos).x; + EStack_b4._position.y = (this->_pos).y; pEStack_d0 = *(EntityPtr **)(*(int *)collider + 0x20); - auStack_b4._0_4_ = this->_type; - auStack_b4._4_4_ = this->_variant; - auStack_b4._8_4_ = this->_spawnerType; - auStack_b4._12_4_ = this->_spawnerVariant; - auStack_b4._24_4_ = (this->_velocity).x; - fStack_98 = (this->_velocity).y; + EStack_b4._type = this->_type; + EStack_b4._variant = this->_variant; + EStack_b4._spawnerType = this->_spawnerType; + EStack_b4._spawnerVariant = this->_spawnerVariant; + EStack_b4._velocity.x = (this->_velocity).x; + EStack_b4._velocity.y = (this->_velocity).y; fStack_c4 = (float)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar8 = 0; @@ -520967,9 +521762,9 @@ LAB_0078e48c: else { uVar12 = 4; } - uStack_94 = uVar12 | uVar8 | (uint)fStack_c4; - pEStack_90 = this; - (*(code *)pEStack_d0)(0x42a00000,0x1000004,0,auStack_b4,0x1e); + EStack_b4._flags = uVar12 | uVar8 | (uint)fStack_c4; + EStack_b4._entity = this; + (*(code *)pEStack_d0)(0x42a00000,0x1000004,0,&EStack_b4,0x1e); } } else { @@ -520983,15 +521778,15 @@ LAB_0078e48c: else { uVar9 = 0x41200000; } - auStack_b4._16_4_ = (this->_pos).x; - auStack_b4._20_4_ = (this->_pos).y; + EStack_b4._position.x = (this->_pos).x; + EStack_b4._position.y = (this->_pos).y; pEStack_d0 = *(EntityPtr **)(*(int *)collider + 0x20); - auStack_b4._0_4_ = this->_type; - auStack_b4._4_4_ = this->_variant; - auStack_b4._8_4_ = this->_spawnerType; - auStack_b4._12_4_ = this->_spawnerVariant; - auStack_b4._24_4_ = (this->_velocity).x; - fStack_98 = (this->_velocity).y; + EStack_b4._type = this->_type; + EStack_b4._variant = this->_variant; + EStack_b4._spawnerType = this->_spawnerType; + EStack_b4._spawnerVariant = this->_spawnerVariant; + EStack_b4._velocity.x = (this->_velocity).x; + EStack_b4._velocity.y = (this->_velocity).y; fStack_c4 = (float)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar8 = 0; @@ -521005,9 +521800,9 @@ LAB_0078e48c: else { uVar12 = 4; } - uStack_94 = uVar12 | uVar8 | (uint)fStack_c4; - pEStack_90 = this; - (*(code *)pEStack_d0)(uVar9,0x1000000,0,auStack_b4,0x1e); + EStack_b4._flags = uVar12 | uVar8 | (uint)fStack_c4; + EStack_b4._entity = this; + (*(code *)pEStack_d0)(uVar9,0x1000000,0,&EStack_b4,0x1e); } } } @@ -521034,15 +521829,15 @@ LAB_0078e48c: cVar4 = Entity::IsEnemy(collider); if ((cVar4 != '\0') || (fStack_c4 == 5.60519e-45)) { if (fStack_c4 == 4.62428e-44) { - auStack_b4._16_4_ = (this->_pos).x; - auStack_b4._20_4_ = (this->_pos).y; + EStack_b4._position.x = (this->_pos).x; + EStack_b4._position.y = (this->_pos).y; pEStack_d0 = *(EntityPtr **)(*(int *)collider + 0x20); - auStack_b4._0_4_ = this->_type; - auStack_b4._4_4_ = this->_variant; - auStack_b4._8_4_ = this->_spawnerType; - auStack_b4._12_4_ = this->_spawnerVariant; - auStack_b4._24_4_ = (this->_velocity).x; - fStack_98 = (this->_velocity).y; + EStack_b4._type = this->_type; + EStack_b4._variant = this->_variant; + EStack_b4._spawnerType = this->_spawnerType; + EStack_b4._spawnerVariant = this->_spawnerVariant; + EStack_b4._velocity.x = (this->_velocity).x; + EStack_b4._velocity.y = (this->_velocity).y; fStack_c4 = (float)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar8 = 0; @@ -521056,9 +521851,9 @@ LAB_0078e48c: else { uVar12 = 4; } - uStack_94 = uVar12 | uVar8 | (uint)fStack_c4; - pEStack_90 = this; - (*(code *)pEStack_d0)(0x447a0000,0,0,auStack_b4,0x1e); + EStack_b4._flags = uVar12 | uVar8 | (uint)fStack_c4; + EStack_b4._entity = this; + (*(code *)pEStack_d0)(0x447a0000,0,0,&EStack_b4,0x1e); } else { cVar4 = TryHoldEntity(this,collider); @@ -521101,14 +521896,14 @@ LAB_0078e48c: fVar22 = (float)iVar6; bVar5 = TemporaryEffects::HasCollectibleEffect(&this->_temporaryeffects,0x5d); if (bVar5 != 0) { - auStack_b4._0_4_ = this->_type; - auStack_b4._16_4_ = (this->_pos).x; - auStack_b4._20_4_ = (this->_pos).y; - auStack_b4._4_4_ = this->_variant; - auStack_b4._8_4_ = this->_spawnerType; - auStack_b4._12_4_ = this->_spawnerVariant; - auStack_b4._24_4_ = (this->_velocity).x; - fStack_98 = (this->_velocity).y; + EStack_b4._type = this->_type; + EStack_b4._position.x = (this->_pos).x; + EStack_b4._position.y = (this->_pos).y; + EStack_b4._variant = this->_variant; + EStack_b4._spawnerType = this->_spawnerType; + EStack_b4._spawnerVariant = this->_spawnerVariant; + EStack_b4._velocity.x = (this->_velocity).x; + EStack_b4._velocity.y = (this->_velocity).y; pEStack_d0 = (EntityPtr *)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar8 = 0; @@ -521122,9 +521917,9 @@ LAB_0078e48c: else { uVar12 = 4; } - uStack_94 = uVar12 | uVar8 | (uint)pEStack_d0; - pEStack_90 = this; - Entity::AddFear(collider,(EntityRef *)auStack_b4,-0x3c,0); + EStack_b4._flags = uVar12 | uVar8 | (uint)pEStack_d0; + EStack_b4._entity = this; + Entity::AddFear(collider,&EStack_b4,-0x3c,0); } } bVar5 = TemporaryEffects::HasCollectibleEffect(&this->_temporaryeffects,0x4d); @@ -521185,18 +521980,18 @@ LAB_0078e48c: } bVar5 = HasCollectible(this,0xca,0); if (bVar5 != 0) { - auStack_b4._16_4_ = (this->_pos).x; + EStack_b4._position.x = (this->_pos).x; iVar6 = 0x5a; - auStack_b4._20_4_ = (this->_pos).y; - auStack_b4._0_4_ = this->_type; - auStack_b4._24_4_ = (this->_velocity).x; + EStack_b4._position.y = (this->_pos).y; + EStack_b4._type = this->_type; + EStack_b4._velocity.x = (this->_velocity).x; if (1 < *(int *)&g_game->_deathmatchManager) { iVar6 = 0x2d; } - auStack_b4._4_4_ = this->_variant; - auStack_b4._8_4_ = this->_spawnerType; - auStack_b4._12_4_ = this->_spawnerVariant; - fStack_98 = (this->_velocity).y; + EStack_b4._variant = this->_variant; + EStack_b4._spawnerType = this->_spawnerType; + EStack_b4._spawnerVariant = this->_spawnerVariant; + EStack_b4._velocity.y = (this->_velocity).y; pEStack_d0 = (EntityPtr *)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar8 = 0; @@ -521210,9 +522005,9 @@ LAB_0078e48c: else { uVar12 = 4; } - uStack_94 = uVar12 | uVar8 | (uint)pEStack_d0; - pEStack_90 = this; - Entity::AddMidasFreeze(collider,(EntityRef *)auStack_b4,iVar6,0); + EStack_b4._flags = uVar12 | uVar8 | (uint)pEStack_d0; + EStack_b4._entity = this; + Entity::AddMidasFreeze(collider,&EStack_b4,iVar6,0); fVar22 = (float)this->_numCoins * 0.2 + 3.5 + fVar22; } if ((this->_variant == 1) && (this->_babySkin == 0xc)) { @@ -521271,14 +522066,14 @@ LAB_0078e48c: fVar22 = fVar22 * 3.0 + 5.0; } if (0.0 < fVar22) { - auStack_b4._16_4_ = (this->_pos).x; - auStack_b4._20_4_ = (this->_pos).y; - auStack_b4._0_4_ = this->_type; - auStack_b4._4_4_ = this->_variant; - auStack_b4._8_4_ = this->_spawnerType; - auStack_b4._12_4_ = this->_spawnerVariant; - auStack_b4._24_4_ = (this->_velocity).x; - fStack_98 = (this->_velocity).y; + EStack_b4._position.x = (this->_pos).x; + EStack_b4._position.y = (this->_pos).y; + EStack_b4._type = this->_type; + EStack_b4._variant = this->_variant; + EStack_b4._spawnerType = this->_spawnerType; + EStack_b4._spawnerVariant = this->_spawnerVariant; + EStack_b4._velocity.x = (this->_velocity).x; + EStack_b4._velocity.y = (this->_velocity).y; pEStack_d0 = (EntityPtr *)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar8 = 0; @@ -521287,14 +522082,14 @@ LAB_0078e48c: uVar8 = 2; } if ((this->_flags & 0x40000000000000) == 0) { - uStack_94 = 0; + EStack_b4._flags = 0; } else { - uStack_94 = 4; + EStack_b4._flags = 4; } - uStack_94 = uVar8 | (uint)pEStack_d0 | uStack_94; - pEStack_90 = this; - cVar4 = (**(code **)(*(int *)collider + 0x20))(fVar22,0x40,0,auStack_b4,0xf); + EStack_b4._flags = uVar8 | (uint)pEStack_d0 | EStack_b4._flags; + EStack_b4._entity = this; + cVar4 = (**(code **)(*(int *)collider + 0x20))(fVar22,0x40,0,&EStack_b4,0xf); if ((cVar4 != '\0') && (bStack_c5 != 0)) { iVar6 = _get_index_plus_one_if_kind_4_5(); fStack_cc = (collider->_pos).y - (this->_pos).y; @@ -521361,14 +522156,14 @@ LAB_0078e48c: collider->_bossStatusEffectCooldown = 0; VStack_bc.x = fVar22 * 0.05 * fVar22 + 2.0; Entity::CopyStatusEffects(collider); - auStack_b4._0_4_ = this->_type; - auStack_b4._16_4_ = (this->_pos).x; - auStack_b4._20_4_ = (this->_pos).y; - auStack_b4._4_4_ = this->_variant; - auStack_b4._8_4_ = this->_spawnerType; - auStack_b4._12_4_ = this->_spawnerVariant; - auStack_b4._24_4_ = (this->_velocity).x; - fStack_98 = (this->_velocity).y; + EStack_b4._type = this->_type; + EStack_b4._position.x = (this->_pos).x; + EStack_b4._position.y = (this->_pos).y; + EStack_b4._variant = this->_variant; + EStack_b4._spawnerType = this->_spawnerType; + EStack_b4._spawnerVariant = this->_spawnerVariant; + EStack_b4._velocity.x = (this->_velocity).x; + EStack_b4._velocity.y = (this->_velocity).y; pEStack_d0 = (EntityPtr *)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar8 = 0; @@ -521382,9 +522177,9 @@ LAB_0078e48c: else { uVar12 = 4; } - uStack_94 = uVar12 | uVar8 | (uint)pEStack_d0; - pEStack_90 = this; - Entity::AddPoison(collider,(EntityRef *)auStack_b4,0x3c,VStack_bc.x,0); + EStack_b4._flags = uVar12 | uVar8 | (uint)pEStack_d0; + EStack_b4._entity = this; + Entity::AddPoison(collider,&EStack_b4,0x3c,VStack_bc.x,0); } if (((this->_playerType == 0x23) && (fStack_c4._0_1_ == '\0')) && ((cVar4 = Entity::IsEnemy(collider), cVar4 != '\0' && @@ -521778,7 +522573,6 @@ Entity_Player::DropCollectible void *pvVar5; int iVar6; ActiveItemDesc *pAVar7; - RNG RVar8; int local_18; undefined1 local_10 [12]; @@ -521789,18 +522583,18 @@ Entity_Player::DropCollectible g_pickupIgnoreModifiers = g_pickupIgnoreModifiers + 1; if (existingCollectible == (Entity_Pickup *)0x0) { pRVar2 = GetCollectibleRNG(this,collectible); - RVar8 = *pRVar2; - if (RVar8 == (RNG)0x0) { + uVar3 = pRVar2->_seed; + if (uVar3 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar3 = (uint)RVar8 >> (SUB41(pRVar2[1],0) & 0x1f) ^ (uint)RVar8; - uVar3 = uVar3 << (SUB41(pRVar2[2],0) & 0x1f) ^ uVar3; - RVar8 = (RNG)(uVar3 >> (SUB41(pRVar2[3],0) & 0x1f) ^ uVar3); - *pRVar2 = RVar8; + uVar3 = uVar3 >> ((byte)pRVar2->_shift1 & 0x1f) ^ uVar3; + uVar3 = uVar3 << ((byte)pRVar2->_shift2 & 0x1f) ^ uVar3; + uVar3 = uVar3 >> ((byte)pRVar2->_shift3 & 0x1f) ^ uVar3; + pRVar2->_seed = uVar3; uVar4 = Room::FindFreePickupSpawnPosition(local_10,&this->_pos,0x42200000,0,0,0); existingCollectible = - (Entity_Pickup *)Game::SpawnEx(g_game,5,100,uVar4,&g_vectorZero,this,iVar6,RVar8,0); + (Entity_Pickup *)Game::SpawnEx(g_game,5,100,uVar4,&g_vectorZero,this,iVar6,uVar3,0); } else { Entity_Pickup::Morph @@ -521937,7 +522731,7 @@ void Entity_Player::ClearTemporaryEffects(void) if (piVar5[1] == 2) { iVar4 = g_game->_currentDimensionIdx; if (*(int *)&g_game->_roomTransition != 0) { - iVar4 = *(int *)&(g_game->_roomTransition).field_0x18; + iVar4 = (g_game->_roomTransition)._targetDimension; } bVar3 = Level::HasMirrorDimension((Level *)g_game); if ((bVar3 == 0) || (iVar4 == 0)) { @@ -524063,12 +524857,10 @@ switchD_00794b06_caseD_42: (pMVar5->_musicManager)._targetPitch = in_XMM0_Da; pMVar5 = g_manager; if (param_1->id == 0x12a) { - *(float *)((int)&g_manager->_optionsConfig + - *(int *)&g_manager->_musicManager * 0x184 + -0x204) = - (g_manager->_optionsConfig)._musicVolume; - *(undefined4 *) - ((int)&pMVar5->_optionsConfig + *(int *)&pMVar5->_musicManager * 0x184 + -0x200) = - 0x3da3d70a; + (g_manager->_musicManager)._channels[(g_manager->_musicManager)._currentChannel]. + _targetVolume = (g_manager->_optionsConfig)._musicVolume; + (pMVar5->_musicManager)._channels[(pMVar5->_musicManager)._currentChannel]._fadeRate = + 0.08; ExceptionList = local_10; return; } @@ -524621,6 +525413,7 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) ColorMod color_00; BitSet128 flags; BitSet128 flags_00; + RNG rng; Manager *pMVar3; byte bVar4; char cVar5; @@ -524631,52 +525424,52 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) void *pvVar10; Room *pRVar11; undefined4 *puVar12; - RNG RVar13; + undefined1 *puVar13; Room *pRVar14; ItemConfig *pIVar15; Entity_Effect *pEVar16; Entity_Bomb *pEVar17; TemporaryEffects *pTVar18; RNG *pRVar19; - MusicManager *pMVar20; + float fVar20; + MusicManager *pMVar21; Music *this_00; - Level *pLVar21; - int iVar22; + Level *pLVar22; + int iVar23; PlayerManager *this_01; - uint uVar23; - ItemConfig_Item *pIVar24; - GridEntity *pGVar25; - RNG RVar26; + uint uVar24; + ItemConfig_Item *pIVar25; + GridEntity *pGVar26; int *piVar27; EntityList_EL *pEVar28; - undefined1 *puVar29; SoundEffects *this_02; - EntityRef *pEVar30; + EntityRef *pEVar29; RNG *this_03; - undefined4 uVar31; + undefined4 uVar30; RNG *this_04; - Sprite *pSVar32; - Entity_Tear *pEVar33; - uint *puVar34; - ItemPool *pIVar35; + Sprite *pSVar31; + Entity_Tear *pEVar32; + uint *puVar33; + ItemPool *pIVar34; HUD *this_05; - Entity_NPC *pEVar36; - undefined1 (*pauVar37) [16]; - Entity_Pickup *pEVar38; + Entity_NPC *pEVar35; + undefined1 (*pauVar36) [16]; + Entity_Pickup *pEVar37; + float fVar38; Entity_Laser *pEVar39; Entity_Projectile *pEVar40; undefined1 *puVar41; BitSet128 *pBVar42; EntityConfig *this_06; uint uVar43; - RNG RVar44; - RNG RVar45; - float fVar46; + Entity_Player *pEVar44; + Entity_Player *pEVar45; + Entity_Player *pEVar46; Vector *pVVar47; ActiveItemDesc *pAVar48; bool bVar49; float10 fVar50; - float fVar51; + void *pvVar51; Entity_Familiar *pEVar52; undefined1 auVar53 [12]; undefined1 auVar54 [16]; @@ -524687,12 +525480,15 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) undefined4 in_stack_ffffe82c; Vector *in_stack_ffffe830; Vector *in_stack_ffffe834; - RNG in_stack_ffffe838; - RNG in_stack_ffffe83c; - RNG in_stack_ffffe840; - RNG RVar57; + Entity_Player *in_stack_ffffe838; + Entity_Player *in_stack_ffffe83c; + Entity_Player *in_stack_ffffe840; + Entity_Player *pEVar57; TypeDescriptor *pTVar58; char *pcVar59; + Entity_Player *pEVar60; + int iVar61; + int iVar62; EntityRef local_1728; EntityRef local_1700; EntityRef local_16d8; @@ -524724,99 +525520,99 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) undefined1 local_dc0 [8]; int local_db8; char local_db0 [16]; - undefined4 local_da0; - undefined4 uStack_d9c; + void *local_da0; + float fStack_d9c; undefined4 uStack_d98; undefined4 uStack_d94; - undefined4 local_d90; - undefined4 uStack_d8c; - undefined4 uStack_d88; - undefined4 uStack_d84; + int local_d90; + int iStack_d8c; + int iStack_d88; + int iStack_d84; Vector local_d44; undefined1 local_d3c [184]; EntityList_EL local_c84 [3]; float local_c4c; float local_c48; - int local_c2c; - undefined4 local_c28; - int local_c24; - int local_c20; - undefined4 local_c1c; - undefined4 local_c18; - undefined4 local_c14; - undefined4 local_c10; + float local_c2c; + float local_c28; + float local_c24; + float local_c20; + float local_c1c; + float local_c18; + float local_c14; + float local_c10; float local_c0c; - RNG local_c08; + Entity_Player *local_c08; Entity *local_c04; - undefined4 local_c00; - int local_bfc; - undefined4 local_bf8; - undefined4 local_bf4; - undefined4 local_bf0; + void *local_c00; + void *local_bfc; + float local_bf8; + float local_bf4; + float local_bf0; float local_bec; - undefined4 local_be8; + float local_be8; float local_be4; float local_be0; - undefined4 local_bdc; + float local_bdc; float local_bd8; - undefined4 local_bd4; + float local_bd4; float local_bd0; - undefined4 local_bcc; - undefined4 local_bc8; - undefined4 local_bc4; - undefined4 local_bc0; - undefined4 local_bbc; - undefined4 local_bb8; - undefined4 local_bb4; + float local_bcc; + float local_bc8; + void *local_bc4; + void *local_bc0; + void *local_bbc; + float local_bb8; + float local_bb4; float local_bb0; - undefined4 local_bac; + float local_bac; float local_ba8; - undefined4 local_ba4; - undefined4 local_ba0; - undefined4 local_b9c; - undefined4 local_b98; + float local_ba4; + float local_ba0; + float local_b9c; + float local_b98; EntityList_EL local_b94; float local_b84; float local_b80; - undefined4 local_b7c; - undefined4 local_b78; - undefined4 local_b74; - undefined4 local_b70; - undefined4 local_b6c; - undefined4 local_b68; - undefined4 local_b64; - undefined4 local_b60; + float local_b7c; + float local_b78; + float local_b74; + float local_b70; + float local_b6c; + float local_b68; + float local_b64; + float local_b60; float local_b5c; float local_b58; - undefined4 local_b54; - undefined4 local_b50; - undefined4 local_b4c; + float local_b54; + float local_b50; + void *local_b4c; float local_b48; - undefined4 local_b44; - undefined4 local_b40; - undefined4 local_b3c; - undefined4 local_b38; - uint local_b34; + float local_b44; + float local_b40; + float local_b3c; + float local_b38; + float local_b34; float local_b2c; - undefined4 local_b28; + int local_b28; Font *local_b24; float local_b20; - undefined4 local_b1c; + int local_b1c; int local_b18; float local_b14; - undefined4 local_b10; - undefined4 local_b0c; - RNG local_b08; + float local_b10; + float local_b0c; + Entity_Player *local_b08; float local_b04; - RNG local_b00; + Entity_Player *local_b00; undefined1 local_afa [2]; undefined1 local_af8 [52]; Vector local_ac4; - int local_abc; - undefined4 local_ab8; + float local_abc; + float local_ab8; undefined1 local_ab4 [8]; - undefined4 local_aac; - float local_aa0; + void *local_aac; + EntityPtr local_aa0; float local_a9c; TypeDescriptor local_a98 [4]; Vector local_a78; @@ -524828,57 +525624,57 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) undefined1 local_a4c [12]; float local_a40; Entity *local_a3c; - float local_a38; + void *local_a38; Entity_Tear *local_a34; - RNG local_a30; + Entity_Player *local_a30; byte local_a29; Entity_Tear *local_a28; - RNG local_a24; + Entity_Player *local_a24; float local_a20; Entity_Familiar *local_a1c; Entity_Tear *local_a14; byte local_a0d; Entity_Tear *local_a0c; - RNG local_a08; + Entity_Player *local_a08; Entity_Tear *local_a04; - RNG local_a00; - RNG local_9fc; + Entity_Player *local_a00; + Entity_Player *local_9fc; undefined1 local_3a0 [8]; undefined1 local_398 [48]; - RNG local_368; - RNG local_358; + Entity_Player *local_368; + Entity_Player *local_358; undefined1 local_24c [88]; undefined1 local_1f4 [68]; Font local_1b0; - RNG local_158 [4]; - RNG local_148 [52]; - Font local_78; - uint local_24; + RNG local_158; + RNG local_148 [13]; + undefined1 local_78 [84]; + void *local_24; undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; - RNG local_14; + undefined4 local_14; - puStack_20 = (undefined1 *)(local_148 + 0x51); - local_14 = (RNG)0xffffffff; + puStack_20 = local_78 + 0x74; + local_14 = -NAN; puStack_18 = &LAB_00aff8a0; local_1c = ExceptionList; - local_24 = __security_cookie ^ (uint)(local_148 + 0x4e); + local_24 = (void *)(__security_cookie ^ (uint)(local_78 + 0x68)); if (*(int *)&g_game->_stageTransition != 0) { return; } ExceptionList = &local_1c; - local_a24 = (RNG)this; - pRVar19 = local_148 + 0x51; + local_a24 = this; + puVar13 = local_78 + 0x74; if (this->_isPlayingExtraAnimation != 0) { bVar4 = ANM2::IsPlaying(&this->_sprite,(byte *)"Trapdoor"); - pRVar19 = (RNG *)puStack_20; + puVar13 = puStack_20; if (bVar4 != 0) { ExceptionList = local_1c; return; } } - puStack_20 = (undefined1 *)pRVar19; + puStack_20 = puVar13; UpdateBookOfVirtues(this,0); piVar27 = *(int **)(*(int *)((int)g_game->_room + 4) + 0x10); if (((piVar27 != (int *)0x0) && (piVar27[2] == 0x10)) && (*piVar27 == 0x23)) { @@ -524894,7 +525690,7 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) } while (local_a34 < &DAT_00000004); } bVar4 = HasTrinket(this,0x78,0); - fVar51 = 1.0; + pvVar51 = (void *)0x3f800000; local_a6c = 1.0; if (((bVar4 != 0) && (pcVar59 = g_game->_room, *pcVar59 != '\0')) && ((g_game->_frameCount - *(int *)(pcVar59 + 0x11f0) == 1 && @@ -524911,18 +525707,18 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) if (iVar6 != 0) break; uVar43 = uVar43 + 1; } while (uVar43 < 4); - local_abc = 0xaa; + local_abc = 2.38221e-43; seed_fart_sound_override(); - SoundEffects::Play(&pMVar3->_sfxManager,local_abc,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar3->_sfxManager,(int)local_abc,1.0,2,0,1.0,0.0); Random(); - in_stack_ffffe838 = (RNG)0x0; + in_stack_ffffe838 = (Entity_Player *)0x0; in_stack_ffffe834 = &g_vectorZero; in_stack_ffffe830 = &this->_pos; in_stack_ffffe82c = 0x31; in_stack_ffffe828 = (undefined1 *)0x3e8; in_stack_ffffe824 = 0x79506a; - in_stack_ffffe840 = (RNG)Game::Spawn(); - in_stack_ffffe83c = (RNG)0x795070; + in_stack_ffffe840 = (Entity_Player *)Game::Spawn(); + in_stack_ffffe83c = (Entity_Player *)0x795070; iVar6 = __RTDynamicCast(); *(undefined4 *)(iVar6 + 0xdc) = 0; *(undefined4 *)(iVar6 + 0xe0) = 0xc1c00000; @@ -524939,29 +525735,30 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) (0x1e < g_game->_frameCount - *(int *)((int)g_game->_room + 0x11f0))))) && (cVar5 = Entity::IsFrame((Entity *)this), cVar5 != '\0')) && ((uVar43 = Random(), uVar43 % 5 == 0 && (*(int *)((int)g_game->_room + 0x1bb0) != 6)))) { - in_stack_ffffe840 = (RNG)0x3e8; - in_stack_ffffe83c = (RNG)local_db0; - in_stack_ffffe838 = (RNG)0x795164; + in_stack_ffffe840 = (Entity_Player *)0x3e8; + in_stack_ffffe83c = (Entity_Player *)local_db0; + in_stack_ffffe838 = (Entity_Player *)0x795164; iVar6 = EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); uVar43 = *(uint *)(iVar6 + 0xc); if (local_db0[0] == '\0') { - local_14 = (RNG)0x0; + local_14 = 0.0; tracked_alloc(); - local_14 = (RNG)0xffffffff; + local_14 = -NAN; } if (uVar43 < 2) { Random(); local_a3c = (Entity *)(this->_pos).x; - local_a08 = (RNG)(this->_pos).y; + local_a08 = (Entity_Player *)(this->_pos).y; pfVar7 = (float *)MusicManager::RandomVector(); local_a28 = (Entity_Tear *)(*pfVar7 * 40.0); local_a04 = (Entity_Tear *)(pfVar7[1] * 40.0); iVar6 = Random(); - fVar51 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * 2.3283064e-10; + pvVar51 = (void *)((float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * + 2.3283064e-10); Vector::Vector(); - in_stack_ffffe840 = (RNG)local_d3c; - in_stack_ffffe83c = (RNG)0x1d; - in_stack_ffffe838 = (RNG)0x3e8; + in_stack_ffffe840 = (Entity_Player *)local_d3c; + in_stack_ffffe83c = (Entity_Player *)&DAT_0000001d; + in_stack_ffffe838 = (Entity_Player *)0x3e8; in_stack_ffffe834 = (Vector *)0x795279; pEVar8 = (Entity *)Game::Spawn(); Entity::Position(pEVar8); @@ -524976,8 +525773,8 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) if ((0x7080 < iVar6) && (cVar5 = Entity::IsFrame((Entity *)this), cVar5 != '\0')) { pcVar1 = *(code **)(*(int *)this + 0x20); EntityRef::EntityRef(); - in_stack_ffffe840 = (RNG)0x3f800000; - in_stack_ffffe83c = (RNG)0x795311; + in_stack_ffffe840 = (Entity_Player *)0x3f800000; + in_stack_ffffe83c = (Entity_Player *)0x795311; (*pcVar1)(); } } @@ -525002,8 +525799,8 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) TemporaryEffects::AddCollectibleEffect(&this->_temporaryeffects,0xd6,1,1); } } - pEVar33 = (Entity_Tear *)&this->_temporaryeffects; - pvVar10 = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar33,0x41); + pEVar32 = (Entity_Tear *)&this->_temporaryeffects; + pvVar10 = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar32,0x41); if ((pvVar10 != (void *)0x0) && (*(int *)((int)pvVar10 + 8) % 5 == 0)) { pRVar11 = (Room *)Level::GetCurrentRoom((Level *)g_game); Room::get_random_pickup_position(pRVar11); @@ -525013,18 +525810,18 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) in_stack_ffffe82c = 3; in_stack_ffffe828 = &DAT_00000004; in_stack_ffffe824 = 0x79543a; - in_stack_ffffe838 = (RNG)this; - in_stack_ffffe840 = (RNG)Game::Spawn(); - in_stack_ffffe83c = (RNG)0x795440; + in_stack_ffffe838 = this; + in_stack_ffffe840 = (Entity_Player *)Game::Spawn(); + in_stack_ffffe83c = (Entity_Player *)0x795440; local_a28 = (Entity_Tear *)__RTDynamicCast(); if (local_a28 != (Entity_Tear *)0x0) { pfVar7 = (float *)GetBombFlags(); - fVar51 = *pfVar7; - in_stack_ffffe840 = (RNG)0x795473; + pvVar51 = (void *)*pfVar7; + in_stack_ffffe840 = (Entity_Player *)0x795473; FUN_006a6910(); } } - pvVar10 = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar33,0xa0); + pvVar10 = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar32,0xa0); if ((pvVar10 != (void *)0x0) && (*(int *)((int)pvVar10 + 8) % 5 == 0)) { Level::GetCurrentRoom((Level *)g_game); Level::GetCurrentRoom((Level *)g_game); @@ -525035,11 +525832,11 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) Level::GetCurrentRoom((Level *)g_game); local_a0c = (Entity_Tear *)Room::GetEntities(); FUN_00424510(); - local_14 = (RNG)0x1; + local_14 = 1.4013e-45; EntityList::Size(); FUN_0042c820(); - RVar44 = (RNG)0x0; - local_9fc = (RNG)0x0; + pEVar44 = (Entity_Player *)0x0; + local_9fc = (Entity_Player *)0x0; iVar6 = EntityList::Size(); if (iVar6 != 0) { do { @@ -525048,21 +525845,21 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) if (cVar5 != '\0') { Level::GetCurrentRoom((Level *)g_game); puVar12 = (undefined4 *)std::vector::operator_index(); - puVar12 = (undefined4 *)Entity::Position((Entity *)*puVar12); - local_a20 = (float)*puVar12; - fVar51 = (float)puVar12[1]; - local_a1c = (Entity_Familiar *)fVar51; + pfVar7 = (float *)Entity::Position((Entity *)*puVar12); + local_a20 = *pfVar7; + pvVar51 = (void *)pfVar7[1]; + local_a1c = pvVar51; iVar6 = Room::GetGridCollisionAtPos(); - RVar44 = local_9fc; + pEVar44 = local_9fc; if (iVar6 == 0) { std::vector::operator_index(); std::vector::push_back(); } } - RVar44 = (RNG)((int)RVar44 + 1); - local_9fc = RVar44; - RVar13 = (RNG)EntityList::Size(); - } while ((uint)RVar44 < (uint)RVar13); + pEVar44 = (Entity_Player *)&pEVar44->field_0x1; + local_9fc = pEVar44; + puVar13 = (undefined1 *)EntityList::Size(); + } while (pEVar44 < puVar13); } iVar6 = std::vector::size(); if (iVar6 != 0) { @@ -525074,7 +525871,7 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) Room::FindFreePickupSpawnPosition(); Vector::operator_assign(); } - local_14 = (RNG)0xffffffff; + local_14 = -NAN; FID_conflict__Tidy(local_af8); } Level::GetCurrentRoom((Level *)g_game); @@ -525086,79 +525883,79 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) Room::SetGridPath(pRVar11); } Random(); - in_stack_ffffe840 = (RNG)local_ab4; - in_stack_ffffe83c = (RNG)0x13; - in_stack_ffffe838 = (RNG)0x3e8; + in_stack_ffffe840 = (Entity_Player *)local_ab4; + in_stack_ffffe83c = (Entity_Player *)&DAT_00000013; + in_stack_ffffe838 = (Entity_Player *)0x3e8; in_stack_ffffe834 = (Vector *)0x7956f9; pEVar8 = (Entity *)Game::Spawn(); pcVar1 = *(code **)(*(int *)pEVar8 + 0x40); fVar50 = (float10)Entity::CollisionDamage(pEVar8); local_a04 = (Entity_Tear *)(float)fVar50; FUN_0060d040(); - local_a28 = (Entity_Tear *)(fVar51 + (float)local_a04); + local_a28 = (Entity_Tear *)((float)pvVar51 + (float)local_a04); (*pcVar1)(); Entity::SetParent(pEVar8); - pEVar33 = local_a34; - this = (Entity_Player *)local_a24; + pEVar32 = local_a34; + this = local_a24; } pIVar15 = (ItemConfig *)Isaac::GetItemConfig(); ItemConfig::GetCollectible(pIVar15,0xb4); iVar6 = FUN_00930a00(); if ((iVar6 != 0) && (*(int *)(iVar6 + 8) % 5 == 0)) { Color::Color(); - in_stack_ffffe840 = (RNG)((int)this + 0x33c); + in_stack_ffffe840 = (Entity_Player *)&this->_pos; Game::Fart(); Game::ButterBeanFart(); Random(); - in_stack_ffffe83c = (RNG)0x8d; - in_stack_ffffe838 = (RNG)0x3e8; + in_stack_ffffe83c = (Entity_Player *)0x8d; + in_stack_ffffe838 = (Entity_Player *)0x3e8; in_stack_ffffe834 = (Vector *)0x795805; pEVar16 = (Entity_Effect *)Game::Spawn(); Entity_Effect::SetTimeout(pEVar16); (**(code **)(*(int *)pEVar16 + 0xc))(); - pEVar33 = (Entity_Tear *)((int)this + 0x1508); + pEVar32 = (Entity_Tear *)&this->_temporaryeffects; } Isaac::GetItemConfig(); Config::GetNullItem(); local_a28 = (Entity_Tear *)FUN_00930a00(); if ((local_a28 != (Entity_Tear *)0x0) && ((((GridEntity *)local_a28)->_desc)._variant % 10 == 0)) { - iVar6 = *(int *)((int)this + 0x13c0); + iVar6 = this->_playerType; Random(); in_stack_ffffe834 = &g_vectorZero; - in_stack_ffffe830 = (Vector *)((int)this + 0x33c); + in_stack_ffffe830 = &this->_pos; in_stack_ffffe82c = 9; if (iVar6 != 0x19) { in_stack_ffffe82c = 0; } in_stack_ffffe828 = &DAT_00000004; in_stack_ffffe824 = 0x7958a0; - in_stack_ffffe838 = (RNG)this; - in_stack_ffffe840 = (RNG)Game::Spawn(); - in_stack_ffffe83c = (RNG)0x7958a6; + in_stack_ffffe838 = this; + in_stack_ffffe840 = (Entity_Player *)Game::Spawn(); + in_stack_ffffe83c = (Entity_Player *)0x7958a6; pEVar17 = (Entity_Bomb *)__RTDynamicCast(); if (pEVar17 != (Entity_Bomb *)0x0) { GetBombFlags(); - in_stack_ffffe840 = (RNG)0x7958d1; + in_stack_ffffe840 = (Entity_Player *)0x7958d1; FUN_006a6910(); if (1 < ((GridEntityDesc *)&local_a28->field_0x4)->_type) { Entity_Bomb::Flags(pEVar17); BitSet128::operator_or(); - in_stack_ffffe840 = (RNG)0x79590f; + in_stack_ffffe840 = (Entity_Player *)0x79590f; FUN_006a6910(); FUN_006a6930(); } } - pEVar33 = (Entity_Tear *)((int)this + 0x1508); + pEVar32 = (Entity_Tear *)&this->_temporaryeffects; } Isaac::GetItemConfig(); Config::GetNullItem(); iVar6 = FUN_00930a00(); - RVar44 = (RNG)0x41200000; + pEVar44 = (Entity_Player *)0x41200000; local_a04 = (Entity_Tear *)0x41200000; if ((iVar6 != 0) && ((*(byte *)(iVar6 + 8) & 1) == 0)) { pRVar11 = (Room *)Level::GetCurrentRoom((Level *)g_game); - local_a00 = (RNG)Room::GetGridIndex(pRVar11); + local_a00 = (Entity_Player *)Room::GetGridIndex(pRVar11); pRVar11 = (Room *)Level::GetCurrentRoom((Level *)g_game); local_a28 = (Entity_Tear *)Room::GetGridEntity(pRVar11,(uint)local_a00); if ((local_a28 == (Entity_Tear *)0x0) || @@ -525168,8 +525965,8 @@ void __thiscall Entity_Player::update_effects(Entity_Player *this) cVar5 = Room::is_type_16(); if (cVar5 == '\0') { local_a0c = (Entity_Tear *)GetPillRNG(); - RVar13 = (RNG)0x0; - local_9fc = (RNG)0x0; + pEVar45 = (Entity_Player *)0x0; + local_9fc = (Entity_Player *)0x0; bVar4 = HasCollectible(this,0x21f,0); if (bVar4 == 0) { pTVar18 = (TemporaryEffects *)GetEffects(this); @@ -525181,109 +525978,109 @@ LAB_00795a1c: pRVar19 = GetCollectibleRNG(this,0x21f); uVar43 = RNG::RandomInt(pRVar19,100); if (uVar43 < 0x21) { - RVar13 = (RNG)0x6; + pEVar45 = (Entity_Player *)&DAT_00000006; } - local_9fc = RVar13; + local_9fc = pEVar45; } bVar4 = HasTrinket(this,0x5b,0); if (bVar4 != 0) { - local_9fc = (RNG)0x21; + local_9fc = (Entity_Player *)0x21; iVar6 = GetTrinketMultiplier(this,0x5b); if (iVar6 == 2) { - local_9fc = (RNG)0x42; + local_9fc = (Entity_Player *)0x42; } else if (iVar6 == 3) { - local_9fc = (RNG)0x64; + local_9fc = (Entity_Player *)0x64; } pRVar19 = (RNG *)FUN_005cbd00(); - uVar43 = RNG::RandomInt(pRVar19,100); - if (uVar43 < (uint)local_9fc) { - RVar13 = (RNG)0x5; + fVar20 = (float)RNG::RandomInt(pRVar19,100); + if ((uint)fVar20 < local_9fc) { + pEVar45 = (Entity_Player *)&DAT_00000005; } - local_9fc = RVar13; + local_9fc = pEVar45; } bVar4 = HasCollectible(this,0xca,0); if (bVar4 != 0) { uVar43 = RNG::RandomInt((RNG *)local_a0c,100); - RVar44 = (RNG)(*(float *)((int)this + 0x156c) * 10.0); - if ((int)(uVar43 - (int)(float)RVar44) < 0x1a) { - RVar13 = (RNG)0x3; + pEVar44 = (Entity_Player *)(this->_luck * 10.0); + if ((int)(uVar43 - (int)(float)pEVar44) < 0x1a) { + pEVar45 = (Entity_Player *)0x3; } - local_9fc = RVar13; + local_9fc = pEVar45; } pRVar11 = (Room *)Level::GetCurrentRoom((Level *)g_game); uVar43 = RNG::Next((RNG *)local_a0c); Room::SpawnGridEntity(pRVar11,(int)local_a00,0xe,(uint)local_9fc,uVar43,0); - in_stack_ffffe83c = (RNG)0x795b43; + in_stack_ffffe83c = (Entity_Player *)0x795b43; Game::ButterBeanFart(); - in_stack_ffffe840 = (RNG)0x795b60; + in_stack_ffffe840 = (Entity_Player *)0x795b60; play_sound_with_fart_seed(); ShootCandle(); - pEVar33 = (Entity_Tear *)((int)this + 0x1508); + pEVar32 = (Entity_Tear *)&this->_temporaryeffects; } } } - bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar33,0x4d); + bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar32,0x4d); if (bVar4 == 0) { - bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar33,299); + bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar32,299); if ((bVar4 != 0) && - (pvVar10 = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar33,299), - *(int *)((int)pvVar10 + 8) != 0)) { - local_9fc = (RNG)TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar33,299); - pMVar20 = (MusicManager *)MusicManager::MusicManager(); - MusicManager::PitchSlide(pMVar20); + (pvVar51 = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar32,299), + *(int *)((int)pvVar51 + 8) != 0)) { + local_9fc = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar32,299); + pMVar21 = (MusicManager *)MusicManager::MusicManager(); + MusicManager::PitchSlide(pMVar21); goto LAB_00795cf2; } - bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar33,0x5d); + bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar32,0x5d); if (bVar4 != 0) { - local_9fc = (RNG)TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar33,0x5d); - pMVar20 = (MusicManager *)MusicManager::MusicManager(); - MusicManager::PitchSlide(pMVar20); + local_9fc = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar32,0x5d); + pMVar21 = (MusicManager *)MusicManager::MusicManager(); + MusicManager::PitchSlide(pMVar21); goto LAB_00795cf2; } - bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar33,0x12a); + bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar32,0x12a); if (bVar4 != 0) { - local_9fc = (RNG)TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar33,0x12a); + local_9fc = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar32,0x12a); cVar5 = Entity::IsFrame((Entity *)this); if ((cVar5 != '\0') && (iVar6 = Isaac::Random(2), iVar6 != 0)) { - pMVar20 = (MusicManager *)MusicManager::MusicManager(); + pMVar21 = (MusicManager *)MusicManager::MusicManager(); random_float(); - MusicManager::PitchSlide(pMVar20); + MusicManager::PitchSlide(pMVar21); this_00 = (Music *)MusicManager::MusicManager(); iVar6 = Isaac::Random(3); if (iVar6 == 0) { - RVar44 = (RNG)0x0; + pEVar44 = (Entity_Player *)0x0; } else { - RVar44 = (RNG)0x3f800000; + pEVar44 = (Entity_Player *)0x3f800000; } - Music::VolumeSlide(this_00,(float)RVar44,0.08); - pEVar33 = (Entity_Tear *)((int)this + 0x1508); + Music::VolumeSlide(this_00,(float)pEVar44,0.08); + pEVar32 = (Entity_Tear *)&this->_temporaryeffects; } goto LAB_00795cf2; } } else { - local_9fc = (RNG)TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar33,0x4d); - pMVar20 = (MusicManager *)MusicManager::MusicManager(); - MusicManager::PitchSlide(pMVar20); + local_9fc = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar32,0x4d); + pMVar21 = (MusicManager *)MusicManager::MusicManager(); + MusicManager::PitchSlide(pMVar21); LAB_00795cf2: - if (local_9fc != (RNG)0x0) { - pvVar10 = ((std_vector *)((int)local_9fc + 8))->_begin; - if ((int)pvVar10 < 0x1f) { - local_9fc = *(RNG *)(*(int *)this + 0x3c); - if (((uint)pvVar10 & 1) == 0) { - RVar44 = (RNG)0x3f800000; - in_stack_ffffe840 = (RNG)Color::Color(); + if (local_9fc != (Entity_Player *)0x0) { + pvVar51 = (local_9fc->_damageEvents)._begin; + if ((int)pvVar51 < 0x1f) { + local_9fc = *(Entity_Player **)(*(int *)this + 0x3c); + if (((uint)pvVar51 & 1) == 0) { + pEVar44 = (Entity_Player *)0x3f800000; + in_stack_ffffe840 = (Entity_Player *)Color::Color(); } else { - in_stack_ffffe840 = (RNG)FUN_00757980(); + in_stack_ffffe840 = (Entity_Player *)FUN_00757980(); } - in_stack_ffffe83c = (RNG)0x795e7b; + in_stack_ffffe83c = (Entity_Player *)0x795e7b; (*(code *)local_9fc)(); } else { - uVar43 = (uint)pvVar10 & 0x80000003; + uVar43 = (uint)pvVar51 & 0x80000003; bVar49 = uVar43 == 0; if ((int)uVar43 < 0) { bVar49 = (uVar43 - 1 | 0xfffffffc) == 0xffffffff; @@ -525292,128 +526089,127 @@ LAB_00795cf2: Color::Color(); iVar6 = Isaac::Random(6); if (iVar6 == 0) { - local_a00 = (RNG)0x32; + local_a00 = (Entity_Player *)0x32; } else { iVar6 = Isaac::Random(5); if (iVar6 == 0) { - local_a00 = (RNG)0x32; + local_a00 = (Entity_Player *)0x32; } else { iVar6 = Isaac::Random(4); if (iVar6 == 0) { - local_a00 = (RNG)0x32; + local_a00 = (Entity_Player *)0x32; } else { iVar6 = Isaac::Random(3); if (iVar6 == 0) { - local_a00 = (RNG)0x46; + local_a00 = (Entity_Player *)0x46; } else { Isaac::Random(2); - local_a00 = (RNG)0x46; + local_a00 = (Entity_Player *)0x46; } } } } KColor::FromRGBA255(); FUN_00683010(); - in_stack_ffffe840 = (RNG)&local_1b0._kerningPairs; - in_stack_ffffe83c = (RNG)0x795e1e; + in_stack_ffffe840 = (Entity_Player *)&local_1b0._kerningPairs; + in_stack_ffffe83c = (Entity_Player *)0x795e1e; (**(code **)(*(int *)this + 0x3c))(); } } } } - pvVar10 = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar33,0xd6); - if ((((pvVar10 != (void *)0x0) || - ((cVar5 = Entity::HasEntityFlags(), cVar5 != '\0' && - (*(RNG *)((int)this + 0x28c) == (RNG)this)))) || - ((*(int *)((int)this + 0x13c0) == 0x16 && (0 < *(int *)((int)this + 0x1ef4))))) && + pvVar51 = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar32,0xd6); + if ((((pvVar51 != (void *)0x0) || + ((cVar5 = Entity::HasEntityFlags(), cVar5 != '\0' && ((this->_entityRef2)._entity == this)))) + || ((this->_playerType == 0x16 && (0 < this->_maggyHealthDrainCooldown)))) && (iVar6 = Isaac::Random(5), iVar6 == 0)) { Random(); in_stack_ffffe834 = &g_vectorZero; - in_stack_ffffe830 = (Vector *)((int)this + 0x33c); + in_stack_ffffe830 = &this->_pos; in_stack_ffffe82c = 0x2e; in_stack_ffffe828 = (undefined1 *)0x3e8; in_stack_ffffe824 = 0x795f02; - in_stack_ffffe838 = (RNG)this; - in_stack_ffffe840 = (RNG)Game::Spawn(); - in_stack_ffffe83c = (RNG)0x795f08; + in_stack_ffffe838 = this; + in_stack_ffffe840 = (Entity_Player *)Game::Spawn(); + in_stack_ffffe83c = (Entity_Player *)0x795f08; pEVar8 = (Entity *)__RTDynamicCast(); random_float(); - RVar44 = (RNG)((float)RVar44 * 0.5 + 0.2); - local_b00 = RVar44; + pEVar44 = (Entity_Player *)((float)pEVar44 * 0.5 + 0.2); + local_b00 = pEVar44; Vector::__mul(); Entity::SetSpriteScale(pEVar8); (**(code **)(*(int *)pEVar8 + 0xc))(); - pEVar33 = (Entity_Tear *)((int)this + 0x1508); + pEVar32 = (Entity_Tear *)&this->_temporaryeffects; } - pvVar10 = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar33,0x146); - if (pvVar10 == (void *)0x0) { - if (*(EntityPtr *)((int)this + 0x1444) != (EntityPtr)0x0) { + pvVar51 = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar32,0x146); + if (pvVar51 == (void *)0x0) { + if (this->_breathOfLifeEffect != (EntityPtr)0x0) { Entity::SetParent(); EntityPtr::SetReference(); } } - else if (((ActiveItemDesc *)((int)this + 0x1580))->_item == 0x146) { - if (*(int *)((int)pvVar10 + 8) == 1) { - TemporaryEffects::RemoveCollectibleEffect((TemporaryEffects *)pEVar33,0x146,-1); + else if (this->_activeDesc[0]._item == 0x146) { + if (*(int *)((int)pvVar51 + 8) == 1) { + TemporaryEffects::RemoveCollectibleEffect((TemporaryEffects *)pEVar32,0x146,-1); ResetDamageCooldown(this); pcVar1 = *(code **)(*(int *)this + 0x20); EntityRef::constructor(&local_1570,(Entity *)0x0); - in_stack_ffffe840 = (RNG)0x3f800000; - in_stack_ffffe83c = (RNG)0x795fc6; + in_stack_ffffe840 = (Entity_Player *)0x3f800000; + in_stack_ffffe83c = (Entity_Player *)0x795fc6; (*pcVar1)(); - pEVar33 = (Entity_Tear *)((int)this + 0x1508); - TemporaryEffects::AddCollectibleEffect((TemporaryEffects *)pEVar33,0x146,1,1); + pEVar32 = (Entity_Tear *)&this->_temporaryeffects; + TemporaryEffects::AddCollectibleEffect((TemporaryEffects *)pEVar32,0x146,1,1); } } else { - TemporaryEffects::RemoveCollectibleEffect((TemporaryEffects *)pEVar33,0x146,-1); + TemporaryEffects::RemoveCollectibleEffect((TemporaryEffects *)pEVar32,0x146,-1); } Config::GetCollectibles(); iVar6 = FUN_004f8930(); if (iVar6 != 0) { - pLVar21 = (Level *)Config::GetCollectibles(); - bVar4 = Level::HasMirrorDimension(pLVar21); + pLVar22 = (Level *)Config::GetCollectibles(); + bVar4 = Level::HasMirrorDimension(pLVar22); if (bVar4 != 0) { - pLVar21 = (Level *)Config::GetCollectibles(); - cVar5 = Level::GetStateFlag(pLVar21); + pLVar22 = (Level *)Config::GetCollectibles(); + cVar5 = Level::GetStateFlag(pLVar22); if (cVar5 != '\0') { - local_a28 = TemporaryEffects::GetNullEffect((TemporaryEffects *)pEVar33,0x74); + local_a28 = TemporaryEffects::GetNullEffect((TemporaryEffects *)pEVar32,0x74); if (local_a28 == (Entity_Tear *)0x0) { LAB_007960af: - TemporaryEffects::AddNullEffect((TemporaryEffects *)pEVar33,0x74,1,1); + TemporaryEffects::AddNullEffect((TemporaryEffects *)pEVar32,0x74,1,1); } else if ((((GridEntity *)local_a28)->_desc)._variant == 1) { if (5 < (((GridEntity *)local_a28)->_desc)._type) { pcVar1 = *(code **)(*(int *)this + 0x20); EntityRef::constructor(&local_1598,(Entity *)0x0); - in_stack_ffffe840 = (RNG)0x3f800000; - in_stack_ffffe83c = (RNG)0x7960a9; + in_stack_ffffe840 = (Entity_Player *)0x3f800000; + in_stack_ffffe83c = (Entity_Player *)0x7960a9; (*pcVar1)(); - pEVar33 = (Entity_Tear *)((int)this + 0x1508); + pEVar32 = (Entity_Tear *)&this->_temporaryeffects; } goto LAB_007960af; } - RVar44 = (RNG)0x0; + pEVar44 = (Entity_Player *)0x0; Math::clamp(); - local_9fc = RVar44; - if ((float)RVar44 < 0.99) { + local_9fc = pEVar44; + if ((float)pEVar44 < 0.99) { FUN_00757980(); Color::Color(); - pGVar25 = (GridEntity *)0x3f19999a; + pGVar26 = (GridEntity *)0x3f19999a; Math::lerp(); - RVar44 = (RNG)0x3f000000; - local_a28 = (Entity_Tear *)pGVar25; + pEVar44 = (Entity_Player *)0x3f000000; + local_a28 = (Entity_Tear *)pGVar26; Math::lerp(); Color::Color(); in_stack_ffffe824 = 0x796199; FUN_004072e0(); Color::operator_assign(); - in_stack_ffffe840 = (RNG)local_1f4; - in_stack_ffffe83c = (RNG)0x7961c3; + in_stack_ffffe840 = (Entity_Player *)local_1f4; + in_stack_ffffe83c = (Entity_Player *)0x7961c3; (**(code **)(*(int *)this + 0x3c))(); } } @@ -525422,39 +526218,39 @@ LAB_007960af: local_a28 = (Entity_Tear *)GetActiveItemSlot(this,0x146); if (-1 < (int)local_a28) { iVar6 = GetActiveMaxCharge(this,(int)local_a28); - local_a28 = *(Entity_Tear **)((int)local_a28 * 0x20 + 0x1588 + (int)this); - local_9fc = (RNG)((float)(int)local_a28 / (float)iVar6); - RVar44 = (RNG)0x3f7d70a4; + local_a28 = (Entity_Tear *)this->_activeDesc[(int)local_a28]._charge; + local_9fc = (Entity_Player *)((float)(int)local_a28 / (float)iVar6); + pEVar44 = (Entity_Player *)0x3f7d70a4; if ((float)local_9fc < 0.99) { FUN_00757980(); Color::Color(); if ((local_a28 == (Entity_Tear *)0x0) && - (bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar33,0x146), + (bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar32,0x146), bVar4 != 0)) { iVar6 = Entity::FrameCount((Entity *)this); - fVar51 = (float)iVar6 * 3.1415927 * 0.5; + fVar20 = (float)iVar6 * 3.1415927 * 0.5; sinf_wrapper(); - local_9fc = (RNG)(fVar51 * 0.5 + 0.5); - iVar6 = 0x3f19999a; + local_9fc = (Entity_Player *)(fVar20 * 0.5 + 0.5); + fVar20 = 0.6; Math::lerp(); - local_a28 = (Entity_Tear *)iVar6; + local_a28 = (Entity_Tear *)fVar20; Math::lerp(); - RVar44 = (RNG)((float)local_9fc * 0.35); - Color::Color(0x3f800000,(float)local_9fc * 0.25,RVar44); + pEVar44 = (Entity_Player *)((float)local_9fc * 0.35); + Color::Color(0x3f800000,(float)local_9fc * 0.25,pEVar44); } else { - iVar6 = 0x3f19999a; + fVar20 = 0.6; Math::lerp(); - RVar44 = (RNG)0x3f000000; - local_a28 = (Entity_Tear *)iVar6; + pEVar44 = (Entity_Player *)0x3f000000; + local_a28 = (Entity_Tear *)fVar20; Math::lerp(); Color::Color(); } in_stack_ffffe824 = 0x7963b7; FUN_004072e0(); Color::operator_assign(); - in_stack_ffffe840 = (RNG)local_24c; - in_stack_ffffe83c = (RNG)0x7963e1; + in_stack_ffffe840 = (Entity_Player *)local_24c; + in_stack_ffffe83c = (Entity_Player *)0x7963e1; (**(code **)(*(int *)this + 0x3c))(); } } @@ -525483,14 +526279,14 @@ LAB_007960af: AddHearts(this,1,0,0); play_sound_with_fart_seed(); Random(); - in_stack_ffffe838 = (RNG)0x0; + in_stack_ffffe838 = (Entity_Player *)0x0; in_stack_ffffe834 = &g_vectorZero; - in_stack_ffffe830 = (Vector *)((int)this + 0x33c); + in_stack_ffffe830 = &this->_pos; in_stack_ffffe82c = 0x31; in_stack_ffffe828 = (undefined1 *)0x3e8; in_stack_ffffe824 = 0x7964ff; - in_stack_ffffe840 = (RNG)Game::Spawn(); - in_stack_ffffe83c = (RNG)0x796505; + in_stack_ffffe840 = (Entity_Player *)Game::Spawn(); + in_stack_ffffe83c = (Entity_Player *)0x796505; __RTDynamicCast(); Vector::Vector(); FUN_004563c0(); @@ -525503,21 +526299,21 @@ LAB_00796537: (uVar43 = Isaac::Random(5), 1 < uVar43)) { Random(); in_stack_ffffe834 = &g_vectorZero; - in_stack_ffffe830 = (Vector *)((int)this + 0x33c); + in_stack_ffffe830 = &this->_pos; in_stack_ffffe82c = 0x2d; in_stack_ffffe828 = (undefined1 *)0x3e8; in_stack_ffffe824 = 0x7965a8; - in_stack_ffffe838 = (RNG)this; - in_stack_ffffe840 = (RNG)Game::Spawn(); - in_stack_ffffe83c = (RNG)0x7965ae; + in_stack_ffffe838 = this; + in_stack_ffffe840 = (Entity_Player *)Game::Spawn(); + in_stack_ffffe83c = (Entity_Player *)0x7965ae; pEVar8 = (Entity *)__RTDynamicCast(); random_float(); - local_b04 = (float)RVar44 * 0.5 + 0.2; + local_b04 = (float)pEVar44 * 0.5 + 0.2; Vector::__mul(); Entity::SetSpriteScale(pEVar8); (**(code **)(*(int *)pEVar8 + 0xc))(); } - bVar4 = TemporaryEffects::HasTrinketEffect((TemporaryEffects *)((int)this + 0x1508),0x45); + bVar4 = TemporaryEffects::HasTrinketEffect(&this->_temporaryeffects,0x45); if (((bVar4 == 0) && (bVar4 = HasTrinket(this,0x45,0), bVar4 != 0)) && ((cVar5 = Entity::IsFrame((Entity *)this), cVar5 != '\0' && (iVar6 = Isaac::Random(5), iVar6 == 0)))) { @@ -525525,9 +526321,9 @@ LAB_00796537: ItemConfig::GetTrinket(pIVar15,0x45); TemporaryEffect::TemporaryEffect(); iVar6 = GetTrinketMultiplier(this,0x45); - iVar22 = Isaac::Random(5); - local_db8 = iVar6 * (iVar22 + 3) * 0x1e; - TemporaryEffects::AddEffect((TemporaryEffects *)((int)this + 0x1508),local_dc0,1,1); + iVar23 = Isaac::Random(5); + local_db8 = iVar6 * (iVar23 + 3) * 0x1e; + TemporaryEffects::AddEffect(&this->_temporaryeffects,local_dc0,1,1); Game::GetField26614(); cVar5 = FUN_00429550(); if (cVar5 != '\0') { @@ -525537,28 +526333,29 @@ LAB_00796537: uVar43 = 0; do { this_01 = (PlayerManager *)Game::GetPlayerManager(g_game); - local_9fc = (RNG)PlayerManager::GetPlayer(this_01,uVar43); - if ((local_9fc != (RNG)this) && (RVar44 = (RNG)EntityPtr::Ref(), local_9fc != RVar44)) { + local_9fc = PlayerManager::GetPlayer(this_01,uVar43); + if ((local_9fc != this) && + (pEVar44 = (Entity_Player *)EntityPtr::Ref(), local_9fc != pEVar44)) { EntityRef::constructor(&local_15c0,(Entity *)this); Entity::AddConfusion((Entity *)local_9fc,&local_15c0,0x5a,0); } uVar43 = uVar43 + 1; Game::GetPlayerManager(g_game); - uVar23 = std::vector::size(); - } while (uVar43 < uVar23); + uVar24 = std::vector::size(); + } while (uVar43 < uVar24); } } } - pTVar18 = (TemporaryEffects *)((int)this + 0x1508); + pTVar18 = &this->_temporaryeffects; bVar4 = TemporaryEffects::HasCollectibleEffect(pTVar18,299); - RVar44 = (RNG)0x40000000; + pEVar44 = (Entity_Player *)0x40000000; local_a28 = (Entity_Tear *)0x40000000; if (bVar4 == 0) { bVar4 = HasCollectible(this,299,0); if (((bVar4 != 0) || (iVar6 = GetZodiacEffect(), iVar6 == 299)) && - (RVar44 = *(RNG *)((int)this + 0x1564), (float)RVar44 != 0.0)) { - *(undefined4 *)((int)this + 0x1564) = 0; - *(int *)((int)this + 0x1574) = *(int *)((int)this + 0x1574) | 0x10; + (pEVar44 = (Entity_Player *)this->_taurusSpeedBonus, (float)pEVar44 != 0.0)) { + this->_taurusSpeedBonus = 0.0; + this->_cacheFlags = this->_cacheFlags | 0x10; LAB_00796889: EvaluateItems(); } @@ -525567,15 +526364,14 @@ LAB_00796889: Level::GetCurrentRoom((Level *)g_game); iVar6 = Room::GetAliveEnemiesCount(); if ((iVar6 != 0) || - (RVar44 = (RNG)0x40000000, - 2.0 < *(float *)((int)this + 0x1568) || *(float *)((int)this + 0x1568) == 2.0)) { - RVar44 = *(RNG *)((int)this + 0x1568); - if (((float)RVar44 < 2.0) || - (pvVar10 = TemporaryEffects::GetCollectibleEffect(pTVar18,299), - *(int *)((int)pvVar10 + 8) != 0)) { - RVar44 = (RNG)(*(float *)((int)this + 0x1564) + 0.0022222223); - *(RNG *)((int)this + 0x1564) = RVar44; - *(int *)((int)this + 0x1574) = *(int *)((int)this + 0x1574) | 0x1010; + (pEVar44 = (Entity_Player *)0x40000000, 2.0 < this->_movespeed || this->_movespeed == 2.0)) { + pEVar44 = (Entity_Player *)this->_movespeed; + if (((float)pEVar44 < 2.0) || + (pvVar51 = TemporaryEffects::GetCollectibleEffect(pTVar18,299), + *(int *)((int)pvVar51 + 8) != 0)) { + pEVar44 = (Entity_Player *)(this->_taurusSpeedBonus + 0.0022222223); + this->_taurusSpeedBonus = (float)pEVar44; + this->_cacheFlags = this->_cacheFlags | 0x1010; goto LAB_00796889; } TemporaryEffects::RemoveCollectibleEffect(pTVar18,299,1); @@ -525601,20 +526397,20 @@ LAB_007968b4: iVar6 = Isaac::Random(5); if (iVar6 != 0) { Isaac::Random(2); - fVar51 = (*(float *)((int)this + 0x157c) * 0.666) / *(float *)((int)this + 0x1470); - in_stack_ffffe840 = (RNG)local_3a0; + fVar20 = (this->_meleeDamage * 0.666) / this->_damage; + in_stack_ffffe840 = (Entity_Player *)local_3a0; GetTearHitParams(); Random(); pEVar8 = (Entity *)Game::Spawn(); random_float(); - local_b58 = fVar51 * 0.5 + 0.2; + local_b58 = fVar20 * 0.5 + 0.2; Vector::__mul(); Entity::SetSpriteScale(pEVar8); (**(code **)(*(int *)pEVar8 + 0x40))(); - RVar44 = local_368; + pEVar44 = local_368; FUN_00665b80(); in_stack_ffffe828 = local_398; - in_stack_ffffe838 = (RNG)0x1; + in_stack_ffffe838 = (Entity_Player *)0x1; in_stack_ffffe834 = (Vector *)0x0; in_stack_ffffe830 = (Vector *)0xff; in_stack_ffffe82c = 0xffffffff; @@ -525625,17 +526421,17 @@ LAB_007968b4: } } } - pTVar18 = (TemporaryEffects *)((int)this + 0x1508); + pTVar18 = &this->_temporaryeffects; bVar4 = HasCollectible(this,0x199,0); if (bVar4 != 0) { bVar4 = TemporaryEffects::HasCollectibleEffect(pTVar18,0x199); - if (*(int *)((int)this + 0x1344) < 1) { + if (this->_redHearts < 1) { if (bVar4 != 0) goto LAB_00796a3f; TemporaryEffects::AddCollectibleEffect(pTVar18,0x199,1,1); Isaac::GetItemConfig(); bVar4 = 0; - pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); - AddCostume(this,pIVar24,bVar4); + pIVar25 = (ItemConfig_Item *)Config::GetNullItem(); + AddCostume(this,pIVar25,bVar4); } else if (bVar4 != 0) { LAB_00796a3f: @@ -525664,13 +526460,13 @@ LAB_00796ab9: Level::GetCurrentRoom((Level *)g_game); cVar5 = Room::IsClear(); if (cVar5 == '\0') { - in_stack_ffffe840 = (RNG)local_afa; - in_stack_ffffe83c = (RNG)0x796b1a; + in_stack_ffffe840 = (Entity_Player *)local_afa; + in_stack_ffffe83c = (Entity_Player *)0x796b1a; UseActiveItem(this,(short *)in_stack_ffffe840,0x24,1,-1,0); } } cVar5 = HasPlayerForm(this); - if ((cVar5 != '\0') && (*(int *)((int)this + 0x1434) == 0)) { + if ((cVar5 != '\0') && (*(int *)&this->field_0x1434 == 0)) { Random(); in_stack_ffffe828 = &DAT_00000008; in_stack_ffffe824 = 0x796b6a; @@ -525681,66 +526477,66 @@ LAB_00796ab9: Entity::SetPositionOffset(pEVar8); Color::operator_assign(); FUN_007cf940(); - local_a08 = RVar44; + local_a08 = pEVar44; Color::A(); Font::SetLineHeightModifier(&local_1b0); - in_stack_ffffe840 = (RNG)&local_1b0; + in_stack_ffffe840 = (Entity_Player *)&local_1b0; (**(code **)(*(int *)pEVar8 + 0x3c))(); in_stack_ffffe82c = 0x796c1d; FUN_005cd5c0(); - RVar44 = *(RNG *)((int)this + 0x1470); - in_stack_ffffe83c = RVar44; + pEVar44 = (Entity_Player *)this->_damage; + in_stack_ffffe83c = pEVar44; (**(code **)(*(int *)pEVar8 + 0x40))(); in_stack_ffffe834 = (Vector *)0x200000; in_stack_ffffe830 = (Vector *)0x796c42; Entity::AddEntityFlags(); EntityPtr::SetReference(); - in_stack_ffffe838 = (RNG)0x796c58; + in_stack_ffffe838 = (Entity_Player *)0x796c58; (**(code **)(*(int *)pEVar8 + 0xc))(); } bVar4 = HasTrinket(this,0x19,0); - if ((bVar4 != 0) && (*(int *)((int)this + 0x2c) == 0)) { + if ((bVar4 != 0) && (this->_variant == 0)) { pRVar11 = (Room *)Level::GetCurrentRoom((Level *)g_game); - RVar13 = (RNG)Room::GetGridIndex(pRVar11); - local_a08 = RVar13; + pEVar45 = (Entity_Player *)Room::GetGridIndex(pRVar11); + local_a08 = pEVar45; pRVar11 = (Room *)Level::GetCurrentRoom((Level *)g_game); - pGVar25 = Room::GetGridEntity(pRVar11,(uint)RVar13); + pGVar26 = Room::GetGridEntity(pRVar11,(uint)pEVar45); GetTrinketMultiplier(this,0x19); HasGoldenTrinket(this,0x19); iVar6 = Game::GetFrameCount(g_game); if (((iVar6 % 900 == 0) && (iVar6 = Isaac::Random(2), iVar6 == 0)) && - (((pGVar25 == (GridEntity *)0x0 || (iVar6 = GridEntity::GetType(), iVar6 == 1)) || + (((pGVar26 == (GridEntity *)0x0 || (iVar6 = GridEntity::GetType(), iVar6 == 1)) || (iVar6 = GridEntity::GetType(), iVar6 == 10)))) { Level::GetCurrentRoom((Level *)g_game); cVar5 = Room::is_type_16(); if (cVar5 == '\0') { - RVar13 = (RNG)0x0; + pEVar45 = (Entity_Player *)0x0; bVar4 = HasGoldenTrinket(this,0x19); if (bVar4 != 0) { - RVar13 = (RNG)0x3; + pEVar45 = (Entity_Player *)0x3; } - local_9fc = RVar13; + local_9fc = pEVar45; bVar4 = HasTrinket(this,0x5b,0); if (bVar4 != 0) { - local_9fc = (RNG)0x21; + local_9fc = (Entity_Player *)0x21; iVar6 = GetTrinketMultiplier(this,0x5b); if (iVar6 == 2) { - local_9fc = (RNG)0x42; + local_9fc = (Entity_Player *)0x42; } else if (iVar6 == 3) { - local_9fc = (RNG)0x64; + local_9fc = (Entity_Player *)0x64; } pRVar19 = (RNG *)FUN_005cbd00(); - uVar43 = RNG::RandomInt(pRVar19,100); - if (uVar43 < (uint)local_9fc) { - RVar13 = (RNG)0x5; + fVar20 = (float)RNG::RandomInt(pRVar19,100); + if ((uint)fVar20 < local_9fc) { + pEVar45 = (Entity_Player *)&DAT_00000005; } - local_9fc = RVar13; + local_9fc = pEVar45; } pRVar11 = (Room *)Level::GetCurrentRoom((Level *)g_game); pRVar19 = (RNG *)FUN_005cbd00(); uVar43 = RNG::Next(pRVar19); - in_stack_ffffe83c = (RNG)0x796de2; + in_stack_ffffe83c = (Entity_Player *)0x796de2; in_stack_ffffe840 = local_a08; Room::SpawnGridEntity(pRVar11,(int)local_a08,0xe,(uint)local_9fc,uVar43,0); goto LAB_00796de7; @@ -525748,8 +526544,8 @@ LAB_00796ab9: } iVar6 = Game::GetFrameCount(g_game); if ((iVar6 % 0x708 == 0) && (iVar6 = Isaac::Random(2), iVar6 == 0)) { - in_stack_ffffe840 = (RNG)((int)this + 0x33c); - in_stack_ffffe83c = (RNG)0x797184; + in_stack_ffffe840 = (Entity_Player *)&this->_pos; + in_stack_ffffe83c = (Entity_Player *)0x797184; Game::ButterBeanFart(); } } @@ -525764,7 +526560,7 @@ LAB_00796de7: (((cVar5 = Entity::IsFrame((Entity *)this), cVar5 != '\0' && (iVar6 = Isaac::Random(2), iVar6 == 0)) || (cVar5 = Entity::IsFrame((Entity *)this), cVar5 != '\0')))) { - in_stack_ffffe840 = (RNG)0x796e7c; + in_stack_ffffe840 = (Entity_Player *)0x796e7c; play_sound_with_fart_seed(); iVar6 = GetTrinketMultiplier(this,0x46); if (0 < iVar6) { @@ -525777,48 +526573,48 @@ LAB_00796de7: } bVar4 = HasTrinket(this,0x40,0); if ((bVar4 != 0) && (iVar6 = Game::GetFrameCount(g_game), iVar6 % 0x5a == 0)) { - *(int *)((int)this + 0x1574) = *(int *)((int)this + 0x1574) | 0x2e; + this->_cacheFlags = this->_cacheFlags | 0x2e; EvaluateItems(); } cVar5 = HasPlayerForm(this); - RVar13 = (RNG)this; + pEVar45 = this; if (cVar5 != '\0') { cVar5 = Entity::IsFrame((Entity *)this); if (cVar5 != '\0') { Random(); in_stack_ffffe834 = &g_vectorZero; - in_stack_ffffe830 = (Vector *)((int)this + 0x33c); + in_stack_ffffe830 = &this->_pos; in_stack_ffffe82c = 0x2e; in_stack_ffffe828 = (undefined1 *)0x3e8; in_stack_ffffe824 = 0x796f36; Game::Spawn(); pEVar8 = (Entity *)__RTDynamicCast(); random_float(); - RVar44 = (RNG)((float)RVar44 * 0.5 + 0.2); - local_b08 = RVar44; + pEVar44 = (Entity_Player *)((float)pEVar44 * 0.5 + 0.2); + local_b08 = pEVar44; Vector::__mul(); Entity::SetSpriteScale(pEVar8); pcVar1 = *(code **)(*(int *)pEVar8 + 0x3c); - in_stack_ffffe840 = (RNG)Color::Color(); + in_stack_ffffe840 = (Entity_Player *)Color::Color(); (*pcVar1)(); - in_stack_ffffe83c = (RNG)0x796fc3; + in_stack_ffffe83c = (Entity_Player *)0x796fc3; (**(code **)(*(int *)pEVar8 + 0xc))(); - RVar13 = local_a24; - in_stack_ffffe838 = (RNG)this; + pEVar45 = local_a24; + in_stack_ffffe838 = this; } } - bVar4 = HasCollectible((Entity_Player *)RVar13,0x1a9,0); + bVar4 = HasCollectible(pEVar45,0x1a9,0); if (bVar4 != 0) { Game::GetField26614(); FUN_00429550(); Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); pTVar58 = local_a98; - RVar57 = (RNG)0x797030; + pEVar57 = (Entity_Player *)0x797030; EntityList::QueryRadius(); - RVar45 = (RNG)0x0; - local_14 = (RNG)0x2; - local_a00 = (RNG)0x0; + pEVar46 = (Entity_Player *)0x0; + local_14 = 2.8026e-45; + local_a00 = (Entity_Player *)0x0; iVar6 = EntityList::Size(); if (iVar6 != 0) { do { @@ -525829,20 +526625,20 @@ LAB_007971e6: puVar12 = (undefined4 *)std::vector::operator_index(); iVar6 = Entity::Type((Entity *)*puVar12); if (iVar6 == 9) { - pRVar19 = (RNG *)std::vector::operator_index(); + puVar12 = (undefined4 *)std::vector::operator_index(); pTVar58 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - RVar57 = (RNG)0x0; - in_stack_ffffe840 = *pRVar19; - in_stack_ffffe83c = (RNG)0x797223; - local_9fc = (RNG)__RTDynamicCast(); - if (local_9fc != (RNG)0x0) { + pEVar57 = (Entity_Player *)0x0; + in_stack_ffffe840 = (Entity_Player *)*puVar12; + in_stack_ffffe83c = (Entity_Player *)0x797223; + local_9fc = (Entity_Player *)__RTDynamicCast(); + if (local_9fc != (Entity_Player *)0x0) { Entity::Position((Entity *)local_9fc); - cVar5 = IsPosInSpotLight((Entity_Player *)RVar13); + cVar5 = IsPosInSpotLight(pEVar45); if ((cVar5 != '\0') && (uVar43 = Entity_Projectile::ProjectileFlags((Entity_Projectile *)local_9fc), (uVar43 & 0x1000000) == 0)) { Entity::Velocity((Entity *)local_9fc); - local_b0c = 0x3f000000; + local_b0c = 0.5; Vector::__mul(); Entity::SetVelocity((Entity *)local_9fc); pTVar58 = (TypeDescriptor *)0x7972bb; @@ -525854,16 +526650,16 @@ LAB_007971e6: puVar12 = (undefined4 *)std::vector::operator_index(); iVar6 = Entity::Type((Entity *)*puVar12); if (iVar6 == 2) { - pRVar19 = (RNG *)std::vector::operator_index(); + puVar12 = (undefined4 *)std::vector::operator_index(); pTVar58 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - RVar57 = (RNG)0x0; - in_stack_ffffe840 = *pRVar19; - in_stack_ffffe83c = (RNG)0x7972f6; + pEVar57 = (Entity_Player *)0x0; + in_stack_ffffe840 = (Entity_Player *)*puVar12; + in_stack_ffffe83c = (Entity_Player *)0x7972f6; local_a0c = (Entity_Tear *)__RTDynamicCast(); if ((local_a0c != (Entity_Tear *)0x0) && (cVar5 = Entity::IsDescendantOf((Entity *)local_a0c), cVar5 == '\0')) { Entity::Position((Entity *)local_a0c); - cVar5 = IsPosInSpotLight((Entity_Player *)RVar13); + cVar5 = IsPosInSpotLight(pEVar45); if (cVar5 != '\0') { pTVar58 = (TypeDescriptor *)0x79734b; FUN_00435bc0(); @@ -525872,16 +526668,16 @@ LAB_007971e6: cVar5 = BitSet128::IsZero(); if (cVar5 != '\0') { Entity::Velocity((Entity *)local_a0c); - local_b10 = 0x3f000000; + local_b10 = 0.5; Vector::__mul(); Entity::SetVelocity((Entity *)local_a0c); FUN_00435bc0(); Entity_Tear::TearFlags(local_a0c); pBVar42 = (BitSet128 *)BitSet128::operator_or(); - RVar44 = *(RNG *)&pBVar42->_l; + pEVar44 = *(Entity_Player **)&pBVar42->_l; pTVar58 = *(TypeDescriptor **)((int)&pBVar42->_l + 4); - in_stack_ffffe840 = (RNG)0x797406; - RVar57 = RVar44; + in_stack_ffffe840 = (Entity_Player *)0x797406; + pEVar57 = pEVar44; Entity_Tear::SetTearFlags(local_a0c,*pBVar42); } goto LAB_00797406; @@ -525893,15 +526689,15 @@ LAB_007971e6: else { puVar12 = (undefined4 *)std::vector::operator_index(); Entity::Position((Entity *)*puVar12); - cVar5 = IsPosInSpotLight((Entity_Player *)RVar13); + cVar5 = IsPosInSpotLight(pEVar45); if (cVar5 == '\0') goto LAB_007971e6; Game::GetField26614(); cVar5 = FUN_00429550(); if (cVar5 == '\0') { puVar12 = (undefined4 *)std::vector::operator_index(); pEVar8 = (Entity *)*puVar12; - fVar51 = 1.115285e-38; - EntityRef::constructor(&local_1610,(Entity *)RVar13); + fVar20 = 1.115285e-38; + EntityRef::constructor(&local_1610,(Entity *)pEVar45); bVar4 = 0; Color::Color(0x3f800000,0x28,0x28,0x28); color_00._tint[1] = (float)in_stack_ffffe828; @@ -525912,9 +526708,9 @@ LAB_007971e6: color_00._colorize[1] = (float)in_stack_ffffe838; color_00._colorize[2] = (float)in_stack_ffffe83c; color_00._colorize[3] = (float)in_stack_ffffe840; - color_00._offset[0] = (float)RVar57; + color_00._offset[0] = (float)pEVar57; color_00._offset[1] = (float)pTVar58; - color_00._offset[2] = fVar51; + color_00._offset[2] = fVar20; Entity::AddSlowing(pEVar8,&local_1610,2,0.9,color_00,bVar4); } else { @@ -525922,7 +526718,7 @@ LAB_007971e6: pEVar8 = (Entity *)*puVar12; std::vector::operator_index(); iVar6 = FUN_00753710(); - fVar51 = 1.1152604e-38; + fVar20 = 1.1152604e-38; EntityRef::constructor(&local_15e8,(Entity *)local_a24); bVar4 = 1; Color::Color(0x3f800000,0x28,0x28,0x28); @@ -525934,32 +526730,32 @@ LAB_007971e6: color._colorize[1] = (float)in_stack_ffffe838; color._colorize[2] = (float)in_stack_ffffe83c; color._colorize[3] = (float)in_stack_ffffe840; - color._offset[0] = (float)RVar57; + color._offset[0] = (float)pEVar57; color._offset[1] = (float)pTVar58; - color._offset[2] = fVar51; + color._offset[2] = fVar20; Entity::AddSlowing(pEVar8,&local_15e8,2 - (uint)(iVar6 != 0),0.9,color,bVar4); - RVar13 = local_a24; + pEVar45 = local_a24; } LAB_00797406: - RVar45 = local_a00; + pEVar46 = local_a00; } - RVar45 = (RNG)((int)RVar45 + 1); - local_a00 = RVar45; - RVar26 = (RNG)EntityList::Size(); - } while ((uint)RVar45 < (uint)RVar26); + pEVar46 = (Entity_Player *)&pEVar46->field_0x1; + local_a00 = pEVar46; + puVar13 = (undefined1 *)EntityList::Size(); + } while (pEVar46 < puVar13); } - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } - bVar4 = HasCollectible((Entity_Player *)RVar13,0x1a7,0); + bVar4 = HasCollectible(pEVar45,0x1a7,0); if (bVar4 == 0) { - bVar4 = HasCollectible((Entity_Player *)RVar13,0x1a7,0); - if ((bVar4 == 0) && (*(int **)((int)RVar13 + 0x1454) != (int *)0x0)) { - (**(code **)(**(int **)((int)RVar13 + 0x1454) + 0x28))(); + bVar4 = HasCollectible(pEVar45,0x1a7,0); + if ((bVar4 == 0) && (*(int **)&pEVar45->field_0x1454 != (int *)0x0)) { + (**(code **)(**(int **)&pEVar45->field_0x1454 + 0x28))(); } } else { - local_a08 = (RNG)((int)RVar13 + 0x1454); + local_a08 = (Entity_Player *)&pEVar45->field_0x1454; local_a3c = *(Entity **)local_a08; if (local_a3c == (Entity *)0x0) { Random(); @@ -525973,168 +526769,173 @@ LAB_00797406: pcVar1 = *(code **)(*(int *)pEVar8 + 0x40); Isaac::Random(2); iVar6 = GetTearHitParams(); - RVar44 = *(RNG *)(iVar6 + 0x48); + pEVar44 = *(Entity_Player **)(iVar6 + 0x48); (*pcVar1)(); (**(code **)(*(int *)pEVar8 + 0xc))(); EntityPtr::SetReference(); - RVar13 = local_a24; + pEVar45 = local_a24; } else { pcVar1 = *(code **)(*(int *)local_a3c + 0x40); Isaac::Random(2); iVar6 = GetTearHitParams(); - RVar44 = *(RNG *)(iVar6 + 0x48); + pEVar44 = *(Entity_Player **)(iVar6 + 0x48); (*pcVar1)(); } } - ClampGoldenHearts((Entity_Player *)RVar13); - bVar4 = HasCollectible((Entity_Player *)RVar13,0x1a4,0); + ClampGoldenHearts(pEVar45); + bVar4 = HasCollectible(pEVar45,0x1a4,0); if (bVar4 != 0) { - if (*(int *)((int)RVar13 + 0x1adc) < 1) { - iVar6 = *(int *)((int)RVar13 + 0x1ad4); - iVar22 = *(int *)((undefined1 *)((int)RVar13 + 0x1954) + iVar6 * 4); - while ((iVar22 == 0 && (iVar6 != *(int *)((int)RVar13 + 0x1ad8)))) { + if (*(int *)&pEVar45->field_0x1adc < 1) { + iVar6 = *(int *)&pEVar45->field_0x1ad4; + iVar23 = pEVar45->_coopBabyBuffTimers[iVar6 + 0x25]; + while ((iVar23 == 0 && (iVar6 != *(int *)&pEVar45->field_0x1ad8))) { iVar6 = (iVar6 + 1) % 0x60; - *(int *)((int)RVar13 + 0x1ad4) = iVar6; - iVar22 = *(int *)((undefined1 *)((int)RVar13 + 0x1954) + iVar6 * 4); + *(int *)&pEVar45->field_0x1ad4 = iVar6; + iVar23 = pEVar45->_coopBabyBuffTimers[iVar6 + 0x25]; } - pEVar8 = (Entity *)(*(int *)((int)RVar13 + 0x1ad8) - iVar6); + pEVar8 = (Entity *)(*(int *)&pEVar45->field_0x1ad8 - iVar6); local_a3c = (Entity *)&(pEVar8->_sprite)._animDefaultName; if (-1 < (int)pEVar8) { local_a3c = pEVar8; } if ((int)local_a3c < 0x5f) { if (((0 < (int)local_a3c) && - (local_a08 = *(RNG *)((undefined1 *)((int)RVar13 + 0x1954) + - ((*(int *)((int)RVar13 + 0x1ad8) + 0x5f) % 0x60) * 4), - local_a08 != (RNG)0x0)) && (cVar5 = Entity::IsDead((Entity *)local_a08), cVar5 == '\0')) - { + (local_a08 = (Entity_Player *) + pEVar45->_coopBabyBuffTimers + [(*(int *)&pEVar45->field_0x1ad8 + 0x5f) % 0x60 + 0x25], + local_a08 != (Entity_Player *)0x0)) && + (cVar5 = Entity::IsDead((Entity *)local_a08), cVar5 == '\0')) { Entity::Position((Entity *)local_a08); FUN_00a0ff70(); - if ((float)RVar44 < 100.0) goto LAB_00797b3b; + if ((float)pEVar44 < 100.0) goto LAB_00797b3b; } Random(); Game::Spawn(); pEVar16 = (Entity_Effect *)__RTDynamicCast(); Entity_Effect::SetTimeout(pEVar16); (**(code **)(*(int *)pEVar16 + 0xc))(); - *(Entity_Effect **) - ((undefined1 *)((int)RVar13 + 0x1954) + *(int *)((int)RVar13 + 0x1ad8) * 4) = pEVar16; + pEVar45->_coopBabyBuffTimers[*(int *)&pEVar45->field_0x1ad8 + 0x25] = (int)pEVar16; std::multiset::insert(); pEVar8 = local_a3c; - *(int *)((int)RVar13 + 0x1ad8) = (*(int *)((int)RVar13 + 0x1ad8) + 1) % 0x60; + *(int *)&pEVar45->field_0x1ad8 = (*(int *)&pEVar45->field_0x1ad8 + 1) % 0x60; if (0xb < (int)local_a3c) { - local_a30 = (RNG)0xffffffff; + local_a30 = (Entity_Player *)0xffffffff; EntityPtr::clear(); local_a14 = (Entity_Tear *)((int)pEVar8 / 2); if (-1 < (int)local_a14) { - RVar44 = (RNG)0xffffffff; + pEVar44 = (Entity_Player *)0xffffffff; do { - if (-1 < (int)RVar44) goto LAB_00797a7b; - RVar45 = (RNG)((int)(&local_a14->field_0x0 + *(int *)((int)RVar13 + 0x1ad4)) % 0x60); - local_a3c = *(Entity **)((undefined1 *)((int)RVar13 + 0x1954) + (int)RVar45 * 4); - local_a00 = RVar45; + if (-1 < (int)pEVar44) goto LAB_00797a7b; + pEVar46 = (Entity_Player *) + ((int)(&local_a14->field_0x0 + *(int *)&pEVar45->field_0x1ad4) % 0x60); + local_a3c = (Entity *) + pEVar45->_coopBabyBuffTimers[(int)((int)&pEVar46->_collisionIndex + 1)]; + local_a00 = pEVar46; if (local_a3c == (Entity *)0x0) goto LAB_00797a5e; Entity::GetColor(local_a3c); fVar50 = (float10)Color::A(); - fVar51 = 0.5; - local_a08 = (RNG)(float)fVar50; + fVar20 = 0.5; + local_a08 = (Entity_Player *)(float)fVar50; if ((float)local_a08 < 0.5) { LAB_00797a58: - RVar44 = local_a30; + pEVar44 = local_a30; } else { Entity::Position(local_a3c); FUN_00a0ff70(); - if (400.0 <= fVar51) goto LAB_00797a58; - local_a30 = RVar45; + if (400.0 <= fVar20) goto LAB_00797a58; + local_a30 = pEVar46; EntityPtr::clear(); - RVar44 = *(RNG *)((int)RVar13 + 0x1ad8); - pEVar33 = (Entity_Tear *)0x0; + pEVar44 = *(Entity_Player **)&pEVar45->field_0x1ad8; + pEVar32 = (Entity_Tear *)0x0; local_a0c = (Entity_Tear *)0x0; - local_a08 = RVar45; - if (RVar45 != RVar44) { + local_a08 = pEVar46; + if (pEVar46 != pEVar44) { do { - local_a08 = *(RNG *)((undefined1 *)((int)RVar13 + 0x1954) + (int)RVar45 * 4); - if (local_a08 != (RNG)0x0) { + local_a08 = (Entity_Player *) + pEVar45->_coopBabyBuffTimers + [(int)((int)&pEVar46->_collisionIndex + 1)]; + if (local_a08 != (Entity_Player *)0x0) { Entity::Position((Entity *)local_a08); FUN_00a0ff70(); - local_a3c = (Entity *)pEVar33; - if ((float)local_a0c < (float)pEVar33) { + local_a3c = (Entity *)pEVar32; + if ((float)local_a0c < (float)pEVar32) { Entity::Position((Entity *)local_a08); Vector::operator_assign(); local_a0c = (Entity_Tear *)local_a3c; } - pEVar33 = local_a0c; + pEVar32 = local_a0c; } - RVar45 = (RNG)((int)((int)RVar45 + 1) % 0x60); - RVar44 = *(RNG *)((int)RVar13 + 0x1ad8); - } while (RVar45 != RVar44); - RVar45 = local_a00; + pEVar46 = (Entity_Player *)((int)&pEVar46->field_0x1 % 0x60); + pEVar44 = *(Entity_Player **)&pEVar45->field_0x1ad8; + } while (pEVar46 != pEVar44); + pEVar46 = local_a00; } - local_a0c = (Entity_Tear *)((float)pEVar33 * 0.5); + local_a0c = (Entity_Tear *)((float)pEVar32 * 0.5); if ((float)local_a0c < 2500.0) { - local_a30 = (RNG)0xffffffff; - RVar44 = (RNG)0xffffffff; + local_a30 = (Entity_Player *)0xffffffff; + pEVar44 = (Entity_Player *)0xffffffff; } else { - fVar51 = (float)((int)RVar44 - (int)RVar45); - local_a38 = (float)((int)fVar51 + 0x60); - if (-1 < (int)fVar51) { - local_a38 = fVar51; + pvVar51 = (void *)((int)pEVar44 - (int)pEVar46); + local_a38 = (void *)((int)pvVar51 + 0x60); + if (-1 < (int)pvVar51) { + local_a38 = pvVar51; } Vector::operator_assign(); - local_9fc = RVar45; - if (RVar45 != *(RNG *)((int)RVar13 + 0x1ad8)) { + local_9fc = pEVar46; + if (pEVar46 != *(Entity_Player **)&pEVar45->field_0x1ad8) { do { - if (*(int *)((undefined1 *)((int)RVar13 + 0x1954) + (int)local_9fc * 4) != 0) - { + if (pEVar45->_coopBabyBuffTimers[(int)((int)&local_9fc->_collisionIndex + 1)] + != 0) { Entity::Position(); Vector::operator_add_assign(); } - local_9fc = (RNG)((int)((int)local_9fc + 1) % 0x60); - } while (local_9fc != *(RNG *)((int)RVar13 + 0x1ad8)); - RVar45 = local_a00; + local_9fc = (Entity_Player *)((int)&local_9fc->field_0x1 % 0x60); + } while (local_9fc != *(Entity_Player **)&pEVar45->field_0x1ad8); + pEVar46 = local_a00; } - fVar51 = 1.0 / (float)(int)local_a38; - local_b14 = fVar51; + fVar20 = 1.0 / (float)(int)local_a38; + local_b14 = fVar20; Vector::operator_mul_assign(); - local_9fc = (RNG)0x0; - if (RVar45 == *(RNG *)((int)RVar13 + 0x1ad8)) goto LAB_00797a58; + local_9fc = (Entity_Player *)0x0; + if (pEVar46 == *(Entity_Player **)&pEVar45->field_0x1ad8) goto LAB_00797a58; do { - if (*(int *)((undefined1 *)((int)RVar13 + 0x1954) + (int)RVar45 * 4) != 0) { + if (pEVar45->_coopBabyBuffTimers[(int)((int)&pEVar46->_collisionIndex + 1)] != 0 + ) { Entity::Position(); FUN_00a0ff70(); - fVar51 = fVar51 / (float)local_a0c; - if (fVar51 < 0.25) { - local_9fc = (RNG)((int)local_9fc + 1); - fVar51 = (float)(int)local_a38 * 0.25; - if (fVar51 < (float)((double)(int)local_9fc + + fVar20 = fVar20 / (float)local_a0c; + if (fVar20 < 0.25) { + local_9fc = (Entity_Player *)&local_9fc->field_0x1; + fVar20 = (float)(int)local_a38 * 0.25; + if (fVar20 < (float)((double)(int)local_9fc + __uint_to_double_fixup[-((int)local_9fc >> 0x1f)])) { - local_a30 = (RNG)0xffffffff; + local_a30 = (Entity_Player *)0xffffffff; } } } - RVar45 = (RNG)((int)((int)RVar45 + 1) % 0x60); - RVar44 = local_a30; - } while (RVar45 != *(RNG *)((int)RVar13 + 0x1ad8)); + pEVar46 = (Entity_Player *)((int)&pEVar46->field_0x1 % 0x60); + pEVar44 = local_a30; + } while (pEVar46 != *(Entity_Player **)&pEVar45->field_0x1ad8); } } LAB_00797a5e: local_a14 = (Entity_Tear *) ((int)&((Font *)((int)local_a14 + -0x4c))->_missingCharacter + 3); } while (-1 < (int)local_a14); - if (-1 < (int)RVar44) { + if (-1 < (int)pEVar44) { LAB_00797a7b: - pEVar33 = local_a0c; + pEVar32 = local_a0c; FUN_00431260(); - local_a14 = pEVar33; + local_a14 = pEVar32; Random(); Game::Spawn(); piVar27 = (int *)__RTDynamicCast(); FUN_00435ed0(); (**(code **)(*piVar27 + 0xc))(); - *(undefined4 *)((int)RVar13 + 0x1adc) = 0x2d; + *(undefined4 *)&pEVar45->field_0x1adc = 0x2d; /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } @@ -526143,64 +526944,59 @@ LAB_00797a7b: } } else { - *(int *)((int)RVar13 + 0x1adc) = *(int *)((int)RVar13 + 0x1adc) + -1; + *(int *)&pEVar45->field_0x1adc = *(int *)&pEVar45->field_0x1adc + -1; } } LAB_00797b3b: piVar27 = (int *)FUN_0042d040(); - if (((piVar27 == (int *)0x0) || - (bVar4 = HasCollectible((Entity_Player *)RVar13,0x1b8,0), bVar4 == 0)) || + if (((piVar27 == (int *)0x0) || (bVar4 = HasCollectible(pEVar45,0x1b8,0), bVar4 == 0)) || (cVar5 = (**(code **)(*piVar27 + 0x3c))(), cVar5 == '\0')) { - if (*(byte *)((int)RVar13 + 0x1908) != 0) { - *(byte *)((int)RVar13 + 0x1908) = 0; + if (pEVar45->_isUrethraBlocked != 0) { + pEVar45->_isUrethraBlocked = 0; } } - else if (((*(int *)((int)RVar13 + 0x18f8) < 1) && (*(byte *)((int)RVar13 + 0x1908) == 0)) && - (iVar6 = Game::GetFrameCount(g_game), *(int *)((int)RVar13 + 0x190c) <= iVar6)) { - *(byte *)((int)RVar13 + 0x1908) = 1; + else if (((pEVar45->_peeBurstCooldown < 1) && (pEVar45->_isUrethraBlocked == 0)) && + (iVar6 = Game::GetFrameCount(g_game), pEVar45->_nextUrethraBlockFrame <= iVar6)) { + pEVar45->_isUrethraBlocked = 1; iVar6 = Isaac::Random(3); - *(int *)((int)RVar13 + 0x1904) = (iVar6 + 1) * 0x1e; - *(int *)((int)RVar13 + 0x1900) = 0; + pEVar45->_maxBladderCharge = (iVar6 + 1) * 0x1e; + pEVar45->_bladderCharge = 0; } - bVar4 = HasCollectible((Entity_Player *)RVar13,0x1ba,0); + bVar4 = HasCollectible(pEVar45,0x1ba,0); if (bVar4 != 0) { cVar5 = FUN_007db360(); if (cVar5 == '\0') { - bVar4 = TemporaryEffects::HasCollectibleEffect - ((TemporaryEffects *)((int)RVar13 + 0x1508),0x1ba); + bVar4 = TemporaryEffects::HasCollectibleEffect(&pEVar45->_temporaryeffects,0x1ba); if (bVar4 != 0) { - TemporaryEffects::RemoveCollectibleEffect - ((TemporaryEffects *)((int)RVar13 + 0x1508),0x1ba,1); + TemporaryEffects::RemoveCollectibleEffect(&pEVar45->_temporaryeffects,0x1ba,1); pcVar59 = "FloatNoGlow"; goto LAB_00797c41; } } else { - bVar4 = TemporaryEffects::HasCollectibleEffect - ((TemporaryEffects *)((int)RVar13 + 0x1508),0x1ba); + bVar4 = TemporaryEffects::HasCollectibleEffect(&pEVar45->_temporaryeffects,0x1ba); if (bVar4 == 0) { - TemporaryEffects::AddCollectibleEffect((TemporaryEffects *)((int)RVar13 + 0x1508),0x1ba,1,1) - ; + TemporaryEffects::AddCollectibleEffect(&pEVar45->_temporaryeffects,0x1ba,1,1); pcVar59 = "FloatGlow"; LAB_00797c41: - ANM2::Play((ANM2 *)((int)RVar13 + 0x644),(byte *)pcVar59,0); + ANM2::Play(&pEVar45->_darkPrincesCrownSprite,(byte *)pcVar59,0); } } - bVar4 = HasCollectible((Entity_Player *)RVar13,0x19f,0); + bVar4 = HasCollectible(pEVar45,0x19f,0); if (bVar4 != 0) { Vector::Vector(); } - Sprite::set_offset((Sprite *)((int)RVar13 + 0x644)); + Sprite::set_offset((Sprite *)&pEVar45->_darkPrincesCrownSprite); } - bVar4 = HasCollectible((Entity_Player *)RVar13,0x201,0); - if ((bVar4 != 0) && (cVar5 = Entity::IsFrame((Entity *)RVar13), cVar5 != '\0')) { + bVar4 = HasCollectible(pEVar45,0x201,0); + if ((bVar4 != 0) && (cVar5 = Entity::IsFrame((Entity *)pEVar45), cVar5 != '\0')) { Level::GetCurrentRoom((Level *)g_game); - pGVar25 = (GridEntity *)FUN_00428a60(); - pEVar28 = (EntityList_EL *)GridEntity::GetSprite(pGVar25); + pGVar26 = (GridEntity *)FUN_00428a60(); + pEVar28 = (EntityList_EL *)GridEntity::GetSprite(pGVar26); EntityList_EL::constructor(&local_b94,pEVar28); - RVar44 = (RNG)0x0; - local_14 = (RNG)0x3; - local_9fc = (RNG)0x0; + pEVar44 = (Entity_Player *)0x0; + local_14 = 4.2039e-45; + local_9fc = (Entity_Player *)0x0; iVar6 = EntityList::Size(); if (iVar6 != 0) { do { @@ -526216,31 +527012,31 @@ LAB_00797c41: if (iVar6 == 0) { puVar12 = (undefined4 *)std::vector::operator_index(); pEVar8 = (Entity *)*puVar12; - EntityRef::constructor(&local_1638,(Entity *)RVar13); + EntityRef::constructor(&local_1638,(Entity *)pEVar45); Entity::AddCharmed(pEVar8,&local_1638,0xdc,0,0); } else { puVar12 = (undefined4 *)std::vector::operator_index(); pEVar8 = (Entity *)*puVar12; - EntityRef::constructor(&local_1660,(Entity *)RVar13); + EntityRef::constructor(&local_1660,(Entity *)pEVar45); Entity::AddFear(pEVar8,&local_1660,0xdc,0); } - RVar44 = local_9fc; + pEVar44 = local_9fc; } } } - RVar44 = (RNG)((int)RVar44 + 1); - local_9fc = RVar44; - RVar45 = (RNG)EntityList::Size(); - } while ((uint)RVar44 < (uint)RVar45); + pEVar44 = (Entity_Player *)&pEVar44->field_0x1; + local_9fc = pEVar44; + puVar13 = (undefined1 *)EntityList::Size(); + } while (pEVar44 < puVar13); } - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } - bVar4 = HasCollectible((Entity_Player *)RVar13,0x222,0); + bVar4 = HasCollectible(pEVar45,0x222,0); if (bVar4 == 0) { - if (*(int **)((int)RVar13 + 0x143c) != (int *)0x0) { - (**(code **)(**(int **)((int)RVar13 + 0x143c) + 0x28))(); + if (*(int **)&pEVar45->field_0x143c != (int *)0x0) { + (**(code **)(**(int **)&pEVar45->field_0x143c + 0x28))(); EntityPtr::SetReference(); } } @@ -526248,51 +527044,51 @@ LAB_00797c41: Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); EntityList::QueryRadius(); - local_14 = (RNG)0x4; + local_14 = 5.60519e-45; local_a14 = (Entity_Tear *)0x0; iVar6 = EntityList::Size(); if (iVar6 != 0) { do { - pRVar19 = (RNG *)std::vector::operator_index(); - RVar44 = *pRVar19; - local_a08 = RVar44; - cVar5 = Entity::IsVulnerableEnemy((Entity *)RVar44); + puVar12 = (undefined4 *)std::vector::operator_index(); + pEVar44 = (Entity_Player *)*puVar12; + local_a08 = pEVar44; + cVar5 = Entity::IsVulnerableEnemy((Entity *)pEVar44); if (cVar5 != '\0') { - cVar5 = (**(code **)(*(int *)RVar44 + 0x4c))(); + cVar5 = (**(code **)(*(int *)pEVar44 + 0x4c))(); iVar6 = -4; if (cVar5 != '\0') { iVar6 = -0x32; } - EntityRef::constructor(&local_1688,(Entity *)RVar13); + EntityRef::constructor(&local_1688,(Entity *)pEVar45); Entity::AddFreeze((Entity *)local_a08,&local_1688,iVar6,0); } puVar41 = &local_a14->field_0x1; local_a14 = (Entity_Tear *)puVar41; - puVar29 = (undefined1 *)EntityList::Size(); - } while (puVar41 < puVar29); + puVar13 = (undefined1 *)EntityList::Size(); + } while (puVar41 < puVar13); } - if (*(int *)((int)RVar13 + 0x143c) == 0) { + if (*(int *)&pEVar45->field_0x143c == 0) { Random(); pEVar8 = (Entity *)Game::Spawn(); Entity::SetParent(pEVar8); EntityPtr::SetReference(); } - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } - pTVar18 = (TemporaryEffects *)((int)RVar13 + 0x1508); + pTVar18 = &pEVar45->_temporaryeffects; bVar4 = TemporaryEffects::HasCollectibleEffect(pTVar18,0x93); - if ((bVar4 != 0) && (bVar4 = HasCollectible((Entity_Player *)RVar13,0x93,0), bVar4 == 0)) { + if ((bVar4 != 0) && (bVar4 = HasCollectible(pEVar45,0x93,0), bVar4 == 0)) { TemporaryEffects::RemoveCollectibleEffect(pTVar18,0x93,-1); } - pvVar10 = TemporaryEffects::GetNullEffect(pTVar18,0x30); - if (pvVar10 != (void *)0x0) { + pvVar51 = TemporaryEffects::GetNullEffect(pTVar18,0x30); + if (pvVar51 != (void *)0x0) { TemporaryEffects::RemoveNullEffect(pTVar18,0x30,1); } - if (*(int *)((int)RVar13 + 0x13c0) == 0x25) { + if (pEVar45->_playerType == 0x25) { iVar6 = Game::Challenge(g_game); if (iVar6 == 0x2c) { - local_a08 = (RNG)FUN_005b1720(); + local_a08 = (Entity_Player *)FUN_005b1720(); iVar6 = TemporaryEffects::GetNullEffectNum(pTVar18,0x6d); if (((int)local_a08 <= iVar6) && ((iVar6 - (int)local_a08) % 6 == 0)) { TemporaryEffects::AddNullEffect(pTVar18,0x6d,1,1); @@ -526308,45 +527104,45 @@ LAB_007980ae: else { bVar4 = TemporaryEffects::HasNullEffect(pTVar18,0x6d); if ((bVar4 != 0) && - (pvVar10 = TemporaryEffects::GetNullEffect(pTVar18,0x6d), *(int *)((int)pvVar10 + 8) < 0xb) + (pvVar51 = TemporaryEffects::GetNullEffect(pTVar18,0x6d), *(int *)((int)pvVar51 + 8) < 0xb) ) { - if (*(byte *)((int)RVar13 + 0x410) != 0) { - TemporaryEffects::RemoveNullEffect((TemporaryEffects *)((int)RVar13 + 0x1508),0x6d,-1); - if (*(EntityPtr *)((int)RVar13 + 0x1fc0) != (EntityPtr)0x0) { - (**(code **)(*(int *)*(EntityPtr *)((int)RVar13 + 0x1fc0) + 0x28))(); + if (pEVar45->_isControlsEnabled != 0) { + TemporaryEffects::RemoveNullEffect(&pEVar45->_temporaryeffects,0x6d,-1); + if (pEVar45->_darkEsau != (EntityPtr)0x0) { + (**(code **)(*(int *)pEVar45->_darkEsau + 0x28))(); } pRVar11 = (Room *)Level::GetCurrentRoom((Level *)g_game); Room::get_random_pickup_position(pRVar11); Random(); goto LAB_007980ae; } - pvVar10 = TemporaryEffects::GetNullEffect((TemporaryEffects *)((int)RVar13 + 0x1508),0x6d); - if (pvVar10 != (void *)0x0) { - *(undefined4 *)((int)pvVar10 + 8) = 10; + pvVar51 = TemporaryEffects::GetNullEffect(&pEVar45->_temporaryeffects,0x6d); + if (pvVar51 != (void *)0x0) { + *(undefined4 *)((int)pvVar51 + 8) = 10; } } } } - pLVar21 = (Level *)((int)RVar13 + 0x1508); - local_a08 = *(RNG *)((int)RVar13 + 0x1e74); + pTVar18 = &pEVar45->_temporaryeffects; + local_a08 = (Entity_Player *)pEVar45->_redStewBonusDuration; if (0 < (int)local_a08) { - local_b18 = Entity::GetHitPointsLost((Entity *)RVar13); - local_b18 = *(int *)((int)RVar13 + 0x1e74) - local_b18; + local_b18 = Entity::GetHitPointsLost((Entity *)pEVar45); + local_b18 = pEVar45->_redStewBonusDuration - local_b18; local_b1c = 0; piVar27 = (int *)std::max(); iVar6 = *piVar27; - *(int *)((int)RVar13 + 0x1e74) = iVar6; + pEVar45->_redStewBonusDuration = iVar6; if (iVar6 / 10 < (int)local_a08 / 10) { - Level::SetHeartPicked(pLVar21); - pLVar21->_stage = pLVar21->_stage | 1; + Level::SetHeartPicked((Level *)pTVar18); + pTVar18->_cacheFlags = pTVar18->_cacheFlags | 1; } } MusicManager::SFXManager(); local_a29 = SFXManager::IsPlaying(); - bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pLVar21,0x2c0); + bVar4 = TemporaryEffects::HasCollectibleEffect(pTVar18,0x2c0); if ((bVar4 == 0) || - (local_a08 = (RNG)TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pLVar21,0x2c0), - local_a08 == (RNG)0x0)) { + (local_a08 = TemporaryEffects::GetCollectibleEffect(pTVar18,0x2c0), + local_a08 == (Entity_Player *)0x0)) { bVar4 = local_a29; } else { @@ -526364,45 +527160,45 @@ LAB_007980ae: MusicManager::SFXManager(); SFXManager::Stop(); } - bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pLVar21,0x280); - if ((bVar4 != 0) && (bVar4 = HasCollectible((Entity_Player *)RVar13,0x280,0), bVar4 == 0)) { - TemporaryEffects::RemoveCollectibleEffect((TemporaryEffects *)pLVar21,0x280,-1); + bVar4 = TemporaryEffects::HasCollectibleEffect(pTVar18,0x280); + if ((bVar4 != 0) && (bVar4 = HasCollectible(pEVar45,0x280,0), bVar4 == 0)) { + TemporaryEffects::RemoveCollectibleEffect(pTVar18,0x280,-1); } - bVar4 = TemporaryEffects::HasNullEffect((TemporaryEffects *)pLVar21,0x3c); + bVar4 = TemporaryEffects::HasNullEffect(pTVar18,0x3c); if (bVar4 != 0) { Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); EntityList::QueryRadius(); - local_14 = (RNG)0x5; - local_a38 = 0.0; + local_14 = 7.00649e-45; + local_a38 = (void *)0x0; iVar6 = EntityList::Size(); if (iVar6 != 0) { do { - pRVar19 = (RNG *)std::vector::operator_index(); - RVar44 = *pRVar19; - local_a00 = RVar44; - iVar6 = Entity::FrameCount((Entity *)RVar44); + puVar12 = (undefined4 *)std::vector::operator_index(); + pEVar44 = (Entity_Player *)*puVar12; + local_a00 = pEVar44; + iVar6 = Entity::FrameCount((Entity *)pEVar44); if (2 < iVar6) { - cVar5 = Entity::IsProjectile((Entity *)RVar44); + cVar5 = Entity::IsProjectile((Entity *)pEVar44); if ((cVar5 == '\0') || - (uVar43 = Entity_Projectile::ProjectileFlags((Entity_Projectile *)RVar44), + (uVar43 = Entity_Projectile::ProjectileFlags((Entity_Projectile *)pEVar44), (uVar43 & 0x80000000) != 0)) { - bVar4 = Entity::IsActiveEnemy((Entity *)RVar44,0); + bVar4 = Entity::IsActiveEnemy((Entity *)pEVar44,0); if ((bVar4 != 0) && (cVar5 = Entity::HasEntityFlags(), cVar5 == '\0')) { - Entity::Position((Entity *)RVar44); + Entity::Position((Entity *)pEVar44); Vector::__sub(); Vector::__sub(); fVar50 = (float10)Vector::LengthSquared(); - local_a08 = (RNG)(float)fVar50; + local_a08 = (Entity_Player *)(float)fVar50; if (0.01 <= (float)local_a08) { fVar50 = (float10)Vector::LengthSquared(); local_b2c = (float)((float10)60.0 / fVar50); Vector::operator_mul_assign(); - Entity::Velocity((Entity *)RVar44); + Entity::Velocity((Entity *)pEVar44); Vector::Normalized(); Vector::__unm(); fVar50 = (float10)Vector::Dot(); - local_a08 = (RNG)(float)fVar50; + local_a08 = (Entity_Player *)(float)fVar50; if (0.0 < (float)local_a08) { local_be0 = (float)local_a08 * 0.25 + 1.0; Vector::operator_mul_assign(); @@ -526412,27 +527208,27 @@ LAB_007980ae: } } else { - uVar23 = 0x47; - uVar43 = Entity::InitSeed((Entity *)RVar44); - RNG::game_constructor((RNG *)&local_78._charsBlock._size,uVar43,uVar23); - local_14._0_1_ = 6; - Entity::Position((Entity *)RVar44); + uVar24 = 0x47; + uVar43 = Entity::InitSeed((Entity *)pEVar44); + RNG::game_constructor((RNG *)(local_78 + 0x44),uVar43,uVar24); + local_14._0_1_ = '\x06'; + Entity::Position((Entity *)pEVar44); Vector::__sub(); fVar50 = (float10)Vector::LengthSquared(); - local_a08 = (RNG)(float)fVar50; + local_a08 = (Entity_Player *)(float)fVar50; if (0.01 <= (float)local_a08) { fVar50 = (float10)Vector::LengthSquared(); local_b20 = (float)((float10)60.0 / fVar50); Vector::operator_mul_assign(); - Entity::Velocity((Entity *)RVar44); + Entity::Velocity((Entity *)pEVar44); fVar50 = (float10)Vector::Length(); - pEVar33 = (Entity_Tear *)(float)fVar50; - local_a64 = (Font *)pEVar33; - if (0.0 < (float)pEVar33) { - Entity::Velocity((Entity *)RVar44); + pEVar32 = (Entity_Tear *)(float)fVar50; + local_a64 = (Font *)pEVar32; + if (0.0 < (float)pEVar32) { + Entity::Velocity((Entity *)pEVar44); fVar50 = (float10)Vector::Dot(); - local_a08 = (RNG)(float)fVar50; - pEVar33 = (Entity_Tear *)0x0; + local_a08 = (Entity_Player *)(float)fVar50; + pEVar32 = (Entity_Tear *)0x0; if ((float)local_a08 < 0.0) { Vector::Normalized(); Entity::Velocity((Entity *)local_a00); @@ -526440,32 +527236,32 @@ LAB_007980ae: Vector::Rotated(); Vector::__unm(); fVar50 = (float10)Vector::Dot(); - local_a08 = (RNG)(float)(fVar50 - (float10)0.01); - fVar51 = RNG::RandomFloat((RNG *)&local_78._charsBlock._size); - pEVar33 = (Entity_Tear *)(fVar51 * 0.02 + (float)local_a08); - local_a14 = pEVar33; + local_a08 = (Entity_Player *)(float)(fVar50 - (float10)0.01); + fVar20 = RNG::RandomFloat((RNG *)(local_78 + 0x44)); + pEVar32 = (Entity_Tear *)(fVar20 * 0.02 + (float)local_a08); + local_a14 = pEVar32; FUN_0041d510(); - if ((float)pEVar33 < 0.5) { - RVar44 = (RNG)0x3f000000; + if ((float)pEVar32 < 0.5) { + pEVar44 = (Entity_Player *)0x3f000000; FUN_00753550(); - pEVar33 = local_a14; + pEVar32 = local_a14; if ((float)local_a14 <= 0.0) { - local_9fc = (RNG)((uint)RVar44 ^ 0x80000000); + local_9fc = (Entity_Player *)((uint)pEVar44 ^ 0x80000000); FUN_00753550(); } else { - local_9fc = RVar44; + local_9fc = pEVar44; FUN_00753550(); } Vector::Rotated(); Vector::operator_assign(); } - RVar44 = local_a00; + pEVar44 = local_a00; } } - Entity::Velocity((Entity *)RVar44); + Entity::Velocity((Entity *)pEVar44); FUN_004d3050(); - local_b24 = (Font *)pEVar33; + local_b24 = (Font *)pEVar32; Vector::operator_mul(); Vector::__add(); local_b28 = 0x40a00000; @@ -526474,25 +527270,25 @@ LAB_007980ae: Vector::Resize(); } Entity::SetVelocity((Entity *)local_a00); - local_14._0_1_ = 5; + local_14 = (float)CONCAT31(local_14._1_3_,5); guard_check_icall(); } else { - local_14._0_1_ = 5; + local_14 = (float)CONCAT31(local_14._1_3_,5); guard_check_icall(); } } } - fVar46 = (float)((int)local_a38 + 1); - local_a38 = fVar46; - fVar51 = (float)EntityList::Size(); - } while ((uint)fVar46 < (uint)fVar51); + pvVar10 = (void *)((int)local_a38 + 1); + local_a38 = pvVar10; + pvVar51 = (void *)EntityList::Size(); + } while (pvVar10 < pvVar51); } - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } - local_a0d = HasCollectible((Entity_Player *)RVar13,0x22a,0); - local_a29 = HasCollectible((Entity_Player *)RVar13,0x24f,0); + local_a0d = HasCollectible(pEVar45,0x22a,0); + local_a29 = HasCollectible(pEVar45,0x24f,0); if ((local_a0d != 0) || (local_a29 != 0)) { Game::GetField26614(); cVar5 = FUN_00429550(); @@ -526505,96 +527301,96 @@ LAB_007980ae: Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); if (local_a29 == 0) { - RVar44 = (RNG)0x42a00000; + pEVar44 = (Entity_Player *)0x42a00000; } else { - RVar44 = (RNG)local_a14; + pEVar44 = (Entity_Player *)local_a14; } EntityList::QueryRadius(); - local_14 = (RNG)0x7; + local_14 = 9.80909e-45; local_a14 = (Entity_Tear *)0x0; iVar6 = EntityList::Size(); if (iVar6 != 0) { do { - pRVar19 = (RNG *)std::vector::operator_index(); - RVar45 = *pRVar19; - cVar5 = Entity::IsVulnerableEnemy((Entity *)RVar45); - if ((cVar5 != '\0') && (RVar45 != RVar13)) { + puVar12 = (undefined4 *)std::vector::operator_index(); + pEVar46 = (Entity_Player *)*puVar12; + cVar5 = Entity::IsVulnerableEnemy((Entity *)pEVar46); + if ((cVar5 != '\0') && (pEVar46 != pEVar45)) { Game::GetField26614(); cVar5 = FUN_00429550(); if (cVar5 == '\0') { LAB_0079886f: - local_9fc = (RNG)((uint)local_9fc & 0xffffff00); + local_9fc = (Entity_Player *)((uint)local_9fc & 0xffffff00); } else { - cVar5 = Entity::is_player((Entity *)RVar45); - local_9fc._0_1_ = 1; + cVar5 = Entity::is_player((Entity *)pEVar46); + local_9fc = (Entity_Player *)CONCAT31(local_9fc._1_3_,1); if (cVar5 == '\0') goto LAB_0079886f; } if (local_a29 != 0) { - cVar5 = (**(code **)(*(int *)RVar45 + 0x4c))(); + cVar5 = (**(code **)(*(int *)pEVar46 + 0x4c))(); if (cVar5 == '\0') { iVar6 = FUN_00753700(); - local_a08 = (RNG)(0x3c - iVar6); + local_a08 = (Entity_Player *)(0x3c - iVar6); if ((int)local_a08 < 1) goto LAB_007988e6; - EntityRef::constructor(&local_16d8,(Entity *)RVar13); - pEVar30 = &local_16d8; - RVar57 = local_a08; - RVar26 = local_9fc; + EntityRef::constructor(&local_16d8,(Entity *)pEVar45); + pEVar29 = &local_16d8; + pEVar57 = local_a08; + pEVar60 = local_9fc; } else { - EntityRef::constructor(&local_16b0,(Entity *)RVar13); - pEVar30 = &local_16b0; - RVar57 = (RNG)&DAT_0000003c; - RVar26 = (RNG)0x0; + EntityRef::constructor(&local_16b0,(Entity *)pEVar45); + pEVar29 = &local_16b0; + pEVar57 = (Entity_Player *)&DAT_0000003c; + pEVar60 = (Entity_Player *)0x0; } - Entity::AddCharmed((Entity *)RVar45,pEVar30,(int)RVar57,RVar26._0_1_,0); + Entity::AddCharmed((Entity *)pEVar46,pEVar29,(int)pEVar57,(byte)pEVar60,0); } LAB_007988e6: FUN_00417340(); - local_a08 = (RNG)((float)RVar44 + 80.0); - RVar44 = local_a08; + local_a08 = (Entity_Player *)((float)pEVar44 + 80.0); + pEVar44 = local_a08; if (local_a0d != 0) { if (local_a29 != 0) { - Entity::Position((Entity *)RVar45); + Entity::Position((Entity *)pEVar46); fVar50 = (float10)Vector::DistanceSquared(); local_a3c = (Entity *)(float)fVar50; - RVar44 = local_a08; + pEVar44 = local_a08; if ((float)local_a08 < (float)local_a3c) goto LAB_0079898c; } - RVar44 = local_a08; - cVar5 = (**(code **)(*(int *)RVar45 + 0x4c))(); + pEVar44 = local_a08; + cVar5 = (**(code **)(*(int *)pEVar46 + 0x4c))(); if (cVar5 == '\0') { - EntityRef::constructor(&local_1728,(Entity *)RVar13); - pEVar30 = &local_1728; + EntityRef::constructor(&local_1728,(Entity *)pEVar45); + pEVar29 = &local_1728; iVar6 = -0x14; - RVar57 = local_9fc; + pEVar57 = local_9fc; } else { - EntityRef::constructor(&local_1700,(Entity *)RVar13); + EntityRef::constructor(&local_1700,(Entity *)pEVar45); iVar6 = -0x3c; - pEVar30 = &local_1700; - RVar57 = (RNG)0x0; + pEVar29 = &local_1700; + pEVar57 = (Entity_Player *)0x0; } - Entity::AddFear((Entity *)RVar45,pEVar30,iVar6,RVar57._0_1_); + Entity::AddFear((Entity *)pEVar46,pEVar29,iVar6,(byte)pEVar57); } } LAB_0079898c: puVar41 = &local_a14->field_0x1; local_a14 = (Entity_Tear *)puVar41; - puVar29 = (undefined1 *)EntityList::Size(); - } while (puVar41 < puVar29); + puVar13 = (undefined1 *)EntityList::Size(); + } while (puVar41 < puVar13); } - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } - bVar4 = HasCollectible((Entity_Player *)RVar13,0x22f,0); - if (((bVar4 != 0) && (iVar6 = Entity::GetIntervalTicks((Entity *)RVar13), iVar6 != 0)) && + bVar4 = HasCollectible(pEVar45,0x22f,0); + if (((bVar4 != 0) && (iVar6 = Entity::GetIntervalTicks((Entity *)pEVar45), iVar6 != 0)) && (cVar5 = FUN_00758590(), cVar5 == '\0')) { Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); EntityList::QueryRadius(); - local_14 = (RNG)0x8; + local_14 = 1.12104e-44; uVar43 = 0; iVar6 = EntityList::Size(); if (iVar6 != 0) { @@ -526602,27 +527398,27 @@ LAB_0079898c: puVar12 = (undefined4 *)std::vector::operator_index(); cVar5 = Entity::IsVulnerableEnemy((Entity *)*puVar12); if (cVar5 != '\0') { - local_a08 = (RNG)(*(float *)((int)RVar13 + 0x157c) * 0.75); + local_a08 = (Entity_Player *)(pEVar45->_meleeDamage * 0.75); FUN_00435bc0(); piVar27 = (int *)spawn_chain_lightning(); (**(code **)(*piVar27 + 0xc))(); break; } uVar43 = uVar43 + 1; - uVar23 = EntityList::Size(); - } while (uVar43 < uVar23); + uVar24 = EntityList::Size(); + } while (uVar43 < uVar24); } - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } - bVar4 = HasCollectible((Entity_Player *)RVar13,0x23e,0); - local_a3c = (Entity *)0x41400000; + bVar4 = HasCollectible(pEVar45,0x23e,0); + local_a3c = (void *)0x41400000; auVar54._0_12_ = ZEXT812(0x40800000); auVar54._12_4_ = 0; local_a08 = auVar54._0_4_; if ((bVar4 == 0) || (cVar5 = FUN_00758590(), cVar5 != '\0')) { - if (*(int **)((int)RVar13 + 0x1e78) != (int *)0x0) { - (**(code **)(**(int **)((int)RVar13 + 0x1e78) + 0x28))(); + if (*(int **)&pEVar45->field_0x1e78 != (int *)0x0) { + (**(code **)(**(int **)&pEVar45->field_0x1e78 + 0x28))(); goto LAB_00798d8c; } } @@ -526646,45 +527442,45 @@ LAB_0079898c: auVar54._12_4_ = 0; auVar54._0_12_ = auVar53; local_a38 = auVar53._0_4_; - iVar6 = Entity::GetIntervalTicks((Entity *)RVar13); + iVar6 = Entity::GetIntervalTicks((Entity *)pEVar45); if (iVar6 != 0) { - local_c48 = *(float *)((int)RVar13 + 0x340); - local_c4c = ((Vector *)((int)RVar13 + 0x33c))->x; + local_c48 = (pEVar45->_pos).y; + local_c4c = (pEVar45->_pos).x; Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); EntityList::QueryRadius(); - local_14 = (RNG)0x9; + local_14 = 1.26117e-44; local_a14 = (Entity_Tear *)0x0; iVar6 = EntityList::Size(); if (iVar6 != 0) { do { - pRVar19 = (RNG *)std::vector::operator_index(); - RVar44 = *pRVar19; - local_a00 = RVar44; - cVar5 = Entity::IsVulnerableEnemy((Entity *)RVar44); - if ((cVar5 != '\0') && (RVar44 != RVar13)) { - Entity::Position((Entity *)RVar44); + puVar12 = (undefined4 *)std::vector::operator_index(); + pEVar44 = (Entity_Player *)*puVar12; + local_a00 = pEVar44; + cVar5 = Entity::IsVulnerableEnemy((Entity *)pEVar44); + if ((cVar5 != '\0') && (pEVar44 != pEVar45)) { + Entity::Position((Entity *)pEVar44); fVar50 = (float10)Vector::Distance(); local_a0c = (Entity_Tear *)(float)fVar50; FUN_00417340(); - local_9fc = (RNG)((float)local_a0c - auVar54._0_4_); + local_9fc = (Entity_Player *)((float)local_a0c - auVar54._0_4_); Config::GetCollectibles(); EntityPtr::Ref(); assert_lerp_range(); - pcVar1 = *(code **)(*(int *)RVar44 + 0x20); - EntityRef::constructor(local_14a8,(Entity *)RVar13); - auVar54 = ZEXT416((uint)local_9fc); + pcVar1 = *(code **)(*(int *)pEVar44 + 0x20); + EntityRef::constructor(local_14a8,(Entity *)pEVar45); + auVar54 = ZEXT416(local_9fc); (*pcVar1)(); } puVar41 = &local_a14->field_0x1; local_a14 = (Entity_Tear *)puVar41; - puVar29 = (undefined1 *)EntityList::Size(); - } while (puVar41 < puVar29); + puVar13 = (undefined1 *)EntityList::Size(); + } while (puVar41 < puVar13); } - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } - if (*(int *)((int)RVar13 + 0x1e78) == 0) { + if (*(int *)&pEVar45->field_0x1e78 == 0) { Random(); pEVar8 = (Entity *)Game::Spawn(); Entity::SetParent(pEVar8); @@ -526692,10 +527488,9 @@ LAB_00798d8c: EntityPtr::SetReference(); } } - iVar6 = TemporaryEffects::GetCollectibleEffectNum - ((TemporaryEffects *)((int)RVar13 + 0x1508),0x2a1); + iVar6 = TemporaryEffects::GetCollectibleEffectNum(&pEVar45->_temporaryeffects,0x2a1); if (iVar6 == 1) { - if (*(int *)((int)RVar13 + 0x1f04) == 0) { + if (*(int *)&pEVar45->field_0x1f04 == 0) { Random(); pEVar8 = (Entity *)Game::Spawn(); Entity::SetParent(pEVar8); @@ -526704,119 +527499,119 @@ LAB_00798d8c: goto LAB_00798e34; } } - else if ((*(int *)((int)RVar13 + 0x1f04) != 0) && + else if ((*(int *)&pEVar45->field_0x1f04 != 0) && ((cVar5 = FUN_004173d0(), cVar5 == '\0' || - (iVar6 = Entity_Tear::TearIndex(*(Entity_Tear **)((int)RVar13 + 0x1f04)), iVar6 == 0)))) + (iVar6 = Entity_Tear::TearIndex(*(Entity_Tear **)&pEVar45->field_0x1f04), iVar6 == 0)))) { - (**(code **)(**(int **)((int)RVar13 + 0x1f04) + 0x28))(); + (**(code **)(**(int **)&pEVar45->field_0x1f04 + 0x28))(); LAB_00798e34: EntityPtr::SetReference(); } - bVar4 = HasCollectible((Entity_Player *)RVar13,0x253,0); + bVar4 = HasCollectible(pEVar45,0x253,0); if (bVar4 == 0) { - if (*(int **)((int)RVar13 + 0x1e7c) != (int *)0x0) { - (**(code **)(**(int **)((int)RVar13 + 0x1e7c) + 0x28))(); + if (*(int **)&pEVar45->field_0x1e7c != (int *)0x0) { + (**(code **)(**(int **)&pEVar45->field_0x1e7c + 0x28))(); goto LAB_007994c3; } } else { - cVar5 = Entity::IsFrame((Entity *)RVar13); + cVar5 = Entity::IsFrame((Entity *)pEVar45); if (cVar5 != '\0') { Config::GetCollectibles(); iVar6 = _get_index_plus_one_if_kind_4_5(); local_a14 = (Entity_Tear *)((float)iVar6 * 0.5 + 3.0); auVar54 = ZEXT416(local_a14); Level::GetCurrentRoom((Level *)g_game); - local_9fc = (RNG)Room::GetEntities(); - local_a38 = 0.0; + local_9fc = (Entity_Player *)Room::GetEntities(); + local_a38 = (void *)0x0; iVar6 = EntityList::Size(); if (iVar6 != 0) { do { - pRVar19 = (RNG *)std::vector::operator_index(); - RVar44 = *pRVar19; - local_a00 = RVar44; - cVar5 = Entity::IsProjectile((Entity *)RVar44); - if ((((cVar5 == '\0') || (cVar5 = Entity::IsDead((Entity *)RVar44), cVar5 != '\0')) || - (iVar6 = Entity::EntityCollisionClass((Entity *)RVar44), iVar6 == 0)) || + puVar12 = (undefined4 *)std::vector::operator_index(); + pEVar44 = (Entity_Player *)*puVar12; + local_a00 = pEVar44; + cVar5 = Entity::IsProjectile((Entity *)pEVar44); + if ((((cVar5 == '\0') || (cVar5 = Entity::IsDead((Entity *)pEVar44), cVar5 != '\0')) || + (iVar6 = Entity::EntityCollisionClass((Entity *)pEVar44), iVar6 == 0)) || (cVar5 = Entity::HasEntityFlags(), cVar5 != '\0')) { Game::GetField26614(); cVar5 = FUN_00429550(); - if (((cVar5 != '\0') && (cVar5 = Entity::IsTear((Entity *)RVar44), cVar5 != '\0')) && - ((cVar5 = Entity::IsDead((Entity *)RVar44), cVar5 == '\0' && - (iVar6 = Entity::EntityCollisionClass((Entity *)RVar44), iVar6 != 0)))) { - uVar23 = 0x17; - uVar43 = Entity::InitSeed((Entity *)RVar44); - RNG::game_constructor(local_148,uVar43,uVar23); - local_14 = (RNG)0xb; + if (((cVar5 != '\0') && (cVar5 = Entity::IsTear((Entity *)pEVar44), cVar5 != '\0')) && + ((cVar5 = Entity::IsDead((Entity *)pEVar44), cVar5 == '\0' && + (iVar6 = Entity::EntityCollisionClass((Entity *)pEVar44), iVar6 != 0)))) { + uVar24 = 0x17; + uVar43 = Entity::InitSeed((Entity *)pEVar44); + RNG::game_constructor(local_148,uVar43,uVar24); + local_14 = 1.54143e-44; local_a0c = (Entity_Tear *)RNG::RandomFloat(this_04); - local_14 = (RNG)0xffffffff; + local_14 = -NAN; guard_check_icall(); auVar54._0_8_ = (double)(float)local_a0c; auVar54._8_8_ = 0; if (auVar54._0_8_ < 0.15) { - Entity::Position((Entity *)RVar44); + Entity::Position((Entity *)pEVar44); fVar50 = (float10)Vector::Distance(); local_a0c = (Entity_Tear *)(float)fVar50; auVar54 = ZEXT416(local_a0c); if (((float)local_a0c <= 100.0) && (85.0 <= (float)local_a0c)) { BitSet128::operator_or(); BitSet128::operator_or(); - Entity_Tear::TearFlags((Entity_Tear *)RVar44); + Entity_Tear::TearFlags((Entity_Tear *)pEVar44); BitSet128::operator_and(); cVar5 = BitSet128::IsNonZero(); if (cVar5 != '\0') { BitSet128::operator__(); } - Entity_Tear::TearFlags((Entity_Tear *)RVar44); + Entity_Tear::TearFlags((Entity_Tear *)pEVar44); BitSet128::operator_and(); cVar5 = BitSet128::IsNonZero(); if (cVar5 != '\0') { BitSet128::operator__(); } - flags_00._l._4_4_ = uStack_d8c; + flags_00._l._4_4_ = iStack_d8c; flags_00._l._0_4_ = local_d90; - flags_00._h._0_4_ = uStack_d88; - flags_00._h._4_4_ = uStack_d84; - Entity_Tear::SetTearFlags((Entity_Tear *)RVar44,flags_00); - pcVar1 = *(code **)(*(int *)RVar44 + 0x40); + flags_00._h._0_4_ = iStack_d88; + flags_00._h._4_4_ = iStack_d84; + Entity_Tear::SetTearFlags((Entity_Tear *)pEVar44,flags_00); + pcVar1 = *(code **)(*(int *)pEVar44 + 0x40); fVar50 = (float10)Entity_Tear::Scale((Entity_Tear *)local_a00); local_a0c = (Entity_Tear *)(float)(fVar50 * (float10)(float)local_a14); (*pcVar1)(); - RVar44 = local_a00; + pEVar44 = local_a00; Entity_Effect::set_state((Entity_Effect *)local_a00); - local_bd4 = 0xc1a00000; - fVar50 = (float10)Entity_Tear::Height((Entity_Tear *)RVar44); + local_bd4 = -20.0; + fVar50 = (float10)Entity_Tear::Height((Entity_Tear *)pEVar44); local_bd0 = (float)fVar50; - puVar34 = (uint *)std::max(); - auVar54 = ZEXT416(*puVar34); - Entity_Projectile::SetHeight((Entity_Projectile *)RVar44); + puVar33 = (uint *)std::max(); + auVar54 = ZEXT416(*puVar33); + Entity_Projectile::SetHeight((Entity_Projectile *)pEVar44); FUN_00444c70(); - Entity_Projectile::set_falling_accel((Entity_Projectile *)RVar44); - Entity::SetSpawnerEntity((Entity *)RVar44); - Entity::SetParent((Entity *)RVar44); + Entity_Projectile::set_falling_accel((Entity_Projectile *)pEVar44); + Entity::SetSpawnerEntity((Entity *)pEVar44); + Entity::SetParent((Entity *)pEVar44); } } } } else { - uVar23 = 0x17; - uVar43 = Entity::InitSeed((Entity *)RVar44); - RNG::game_constructor(local_158,uVar43,uVar23); - local_14 = (RNG)0xa; + uVar24 = 0x17; + uVar43 = Entity::InitSeed((Entity *)pEVar44); + RNG::game_constructor(&local_158,uVar43,uVar24); + local_14 = 1.4013e-44; local_a0c = (Entity_Tear *)RNG::RandomFloat(this_03); - local_14 = (RNG)0xffffffff; + local_14 = -NAN; guard_check_icall(); auVar54._0_12_ = ZEXT812(0x3ecccccd); auVar54._12_4_ = 0; if ((float)local_a0c < auVar54._0_4_) { - Entity::Position((Entity *)RVar44); + Entity::Position((Entity *)pEVar44); fVar50 = (float10)Vector::Distance(); local_a0c = (Entity_Tear *)(float)fVar50; auVar54 = ZEXT416(local_a0c); if (((float)local_a0c <= 100.0) && (85.0 <= (float)local_a0c)) { local_a0c = (Entity_Tear *)0x1; - uVar31 = Entity::Variant((Entity *)RVar44); - switch(uVar31) { + uVar30 = Entity::Variant((Entity *)pEVar44); + switch(uVar30) { case 1: local_a0c = (Entity_Tear *)&DAT_0000001d; break; @@ -526831,29 +527626,29 @@ LAB_00798e34: local_a0c = (Entity_Tear *)&DAT_0000002a; } Random(); - Entity::Velocity((Entity *)RVar44); + Entity::Velocity((Entity *)pEVar44); Entity::Position((Entity *)local_a00); - RVar13 = local_a24; - local_a30 = (RNG)Game::Spawn(); + pEVar45 = local_a24; + local_a30 = (Entity_Player *)Game::Spawn(); Entity::SetParent((Entity *)local_a30); BitSet128::operator_or(); BitSet128::operator_or(); - RVar44 = local_a00; + pEVar44 = local_a00; uVar43 = Entity_Projectile::ProjectileFlags((Entity_Projectile *)local_a00); if ((uVar43 & 2) != 0) { BitSet128::operator__(); } - uVar43 = Entity_Projectile::ProjectileFlags((Entity_Projectile *)RVar44); + uVar43 = Entity_Projectile::ProjectileFlags((Entity_Projectile *)pEVar44); if ((uVar43 & 0x10000) != 0) { BitSet128::operator__(); } - RVar44 = local_a30; - flags._l._4_4_ = uStack_d9c; + pEVar44 = local_a30; + flags._l._4_4_ = fStack_d9c; flags._l._0_4_ = local_da0; flags._h._0_4_ = uStack_d98; flags._h._4_4_ = uStack_d94; Entity_Tear::SetTearFlags((Entity_Tear *)local_a30,flags); - pcVar1 = *(code **)(*(int *)RVar44 + 0x3c); + pcVar1 = *(code **)(*(int *)pEVar44 + 0x3c); Entity::GetColor((Entity *)local_a00); (*pcVar1)(); pcVar1 = *(code **)(*(int *)local_a30 + 0x40); @@ -526861,31 +527656,31 @@ LAB_00798e34: local_a0c = (Entity_Tear *)(float)(fVar50 * (float10)(float)local_a14); (*pcVar1)(); Entity_Effect::set_state((Entity_Effect *)local_a30); - RVar44 = local_a00; - local_bdc = 0xc1a00000; + pEVar44 = local_a00; + local_bdc = -20.0; fVar50 = (float10)Entity_Tear::Height((Entity_Tear *)local_a00); local_bd8 = (float)fVar50; std::max(); Entity_Projectile::SetHeight((Entity_Projectile *)local_a30); FUN_00444c70(); Entity_Projectile::set_falling_accel((Entity_Projectile *)local_a30); - fVar50 = (float10)Entity_Tear::Scale((Entity_Tear *)RVar44); + fVar50 = (float10)Entity_Tear::Scale((Entity_Tear *)pEVar44); local_a0c = (Entity_Tear *)(float)fVar50; auVar54 = ZEXT416(local_a0c); FUN_00652ae0(); FUN_0067af30(); Entity_Tear::SetScale((Entity_Tear *)local_a30,auVar54._0_4_); - (**(code **)(*(int *)RVar44 + 0x28))(); + (**(code **)(*(int *)pEVar44 + 0x28))(); } } } - fVar46 = (float)((int)local_a38 + 1); - local_a38 = fVar46; - fVar51 = (float)EntityList::Size(); - } while ((uint)fVar46 < (uint)fVar51); + pvVar10 = (void *)((int)local_a38 + 1); + local_a38 = pvVar10; + pvVar51 = (void *)EntityList::Size(); + } while (pvVar10 < pvVar51); } } - if (*(int *)((int)RVar13 + 0x1e7c) == 0) { + if (*(int *)&pEVar45->field_0x1e7c == 0) { Random(); pEVar8 = (Entity *)Game::Spawn(); Entity::SetParent(pEVar8); @@ -526893,8 +527688,8 @@ LAB_007994c3: EntityPtr::SetReference(); } } - bVar4 = HasCollectible((Entity_Player *)RVar13,0x2b8,0); - EVar2 = *(EntityPtr *)((int)RVar13 + 0x1e80); + bVar4 = HasCollectible(pEVar45,0x2b8,0); + EVar2 = pEVar45->_salvationEffect; if (bVar4 == 0) { if (EVar2 != (EntityPtr)0x0) { (**(code **)(*(int *)EVar2 + 0x28))(); @@ -526909,16 +527704,16 @@ LAB_007994c3: Entity::SetParent(pEVar8); EntityPtr::SetReference(); local_a0d = 1; - if (*(EntityPtr *)((int)RVar13 + 0x1e80) != (EntityPtr)0x0) goto LAB_00799548; + if (pEVar45->_salvationEffect != (EntityPtr)0x0) goto LAB_00799548; } else { LAB_00799548: FUN_007d4340(); FUN_00435ed0(); - EVar2 = *(EntityPtr *)((int)RVar13 + 0x1e80); + EVar2 = pEVar45->_salvationEffect; Vector::Vector(); Entity::SetPositionOffset((Entity *)EVar2); - pSVar32 = (Sprite *)Entity::GetSprite((Entity *)*(EntityPtr *)((int)RVar13 + 0x1e80)); + pSVar31 = (Sprite *)Entity::GetSprite((Entity *)pEVar45->_salvationEffect); cVar5 = Entity::HasEntityFlags(); if (cVar5 == '\0') { local_a14 = (Entity_Tear *)0x0; @@ -526926,117 +527721,114 @@ LAB_00799548: else { local_a14 = (Entity_Tear *)0x3f000000; } - iVar6 = Entity::FrameCount((Entity *)RVar13); + iVar6 = Entity::FrameCount((Entity *)pEVar45); auVar54 = ZEXT416((uint)((float)(iVar6 % 0x168) + (float)local_a14)); - Sprite::SetRotation(pSVar32); + Sprite::SetRotation(pSVar31); } if (local_a0d != 0) { - (**(code **)(*(int *)*(EntityPtr *)((int)RVar13 + 0x1e80) + 0xc))(); + (**(code **)(*(int *)pEVar45->_salvationEffect + 0xc))(); } } - local_a29 = TemporaryEffects::HasCollectibleEffect - ((TemporaryEffects *)((int)RVar13 + 0x1508),0x2c1); + local_a29 = TemporaryEffects::HasCollectibleEffect(&pEVar45->_temporaryeffects,0x2c1); if (local_a29 == 0) { - if (*(byte *)((int)RVar13 + 0x2004) != 0) { - pEVar33 = (Entity_Tear *)Sprite::Color((Sprite *)((int)RVar13 + 0x48)); + if (pEVar45->_darkArtsBlastPending != 0) { + pEVar32 = (Entity_Tear *)Sprite::Color((Sprite *)&pEVar45->_sprite); auVar54 = ZEXT816(0); goto LAB_00799685; } } else { - if (*(byte *)((int)RVar13 + 0x2004) == 0) { - local_a14 = (Entity_Tear *)Sprite::Color((Sprite *)((int)RVar13 + 0x48)); + if (pEVar45->_darkArtsBlastPending == 0) { + local_a14 = (Entity_Tear *)Sprite::Color((Sprite *)&pEVar45->_sprite); random_float(); auVar54._0_4_ = auVar54._0_4_ * 0.1 + 0.1; - pEVar33 = local_a14; + pEVar32 = local_a14; } else { - pEVar33 = (Entity_Tear *)Sprite::Color((Sprite *)((int)RVar13 + 0x48)); + pEVar32 = (Entity_Tear *)Sprite::Color((Sprite *)&pEVar45->_sprite); auVar54 = ZEXT816(0); } LAB_00799685: - Font::SetLineHeightModifier((Font *)pEVar33); + Font::SetLineHeightModifier((Font *)pEVar32); FUN_00435d90(); - pvVar10 = TemporaryEffects::GetNullEffect((TemporaryEffects *)((int)RVar13 + 0x1508),0x6f); - if (pvVar10 != (void *)0x0) { - *(int *)((int)pvVar10 + 8) = ((*(int *)((int)pvVar10 + 8) + 0x1d) / 0x1e) * 0x1e + 1; + pvVar51 = TemporaryEffects::GetNullEffect(&pEVar45->_temporaryeffects,0x6f); + if (pvVar51 != (void *)0x0) { + *(int *)((int)pvVar51 + 8) = ((*(int *)((int)pvVar51 + 8) + 0x1d) / 0x1e) * 0x1e + 1; } } - if (((*(byte *)((int)RVar13 + 0x2004) != 0) && - (SetMinDamageCooldown((Entity_Player *)RVar13), *(byte *)((int)RVar13 + 0x2004) != 0)) && - ((*(void **)((int)RVar13 + 0x200c) == (void *)0x0 || (cVar5 = Entity::IsDead(), cVar5 != '\0')) - )) { - *(byte *)((int)RVar13 + 0x2004) = 0; + if (((pEVar45->_darkArtsBlastPending != 0) && + (SetMinDamageCooldown(pEVar45), pEVar45->_darkArtsBlastPending != 0)) && + ((pEVar45->_darkArtsLastSnare == (void *)0x0 || (cVar5 = Entity::IsDead(), cVar5 != '\0')))) { + pEVar45->_darkArtsBlastPending = 0; EntityPtr::SetReference(); - (**(code **)(*(int *)RVar13 + 0x60))(); + (**(code **)(*(int *)pEVar45 + 0x60))(); play_sound_with_fart_seed(); Game::ShakeScreen(g_game,10); Color::Color(); Entity::MakeGroundPoofAtSelf(); Game::DamageRadius(); auVar54 = ZEXT816(0x3f800000); - pcVar1 = *(code **)(*(int *)RVar13 + 0x3c); + pcVar1 = *(code **)(*(int *)pEVar45 + 0x3c); Color::Color(); (*pcVar1)(); FUN_00435d90(); - SetMinDamageCooldown((Entity_Player *)RVar13); + SetMinDamageCooldown(pEVar45); Entity::AddEntityFlags(); std::vector::clear(); - *(float *)((int)RVar13 + 0x2008) = 0.0; - TemporaryEffects::RemoveNullEffect((TemporaryEffects *)((int)RVar13 + 0x1508),0x80,-1); + pEVar45->_darkArtsDamage = 0.0; + TemporaryEffects::RemoveNullEffect(&pEVar45->_temporaryeffects,0x80,-1); } if (local_a29 == 0) { - if (*(int *)((int)RVar13 + 0x1e88) != 0) { + if (*(int *)&pEVar45->field_0x1e88 != 0) { Entity::SetParent(); EntityPtr::SetReference(); } } else { - Entity::GetCollisionCapsule((Entity *)RVar13); + Entity::GetCollisionCapsule((Entity *)pEVar45); local_df8 = local_df8 + 10.0; auVar54 = ZEXT416((uint)local_df8); - if ((*(int *)((int)RVar13 + 0x13c0) == 0x18) && - (bVar4 = HasCollectible((Entity_Player *)RVar13,0x26b,0), bVar4 != 0)) { + if ((pEVar45->_playerType == 0x18) && (bVar4 = HasCollectible(pEVar45,0x26b,0), bVar4 != 0)) { local_df8 = local_df8 + 30.0; auVar54 = ZEXT416((uint)local_df8); local_a0d = 0; - if (*(int *)((int)RVar13 + 0x1e88) == 0) { + if (*(int *)&pEVar45->field_0x1e88 == 0) { Random(); pEVar8 = (Entity *)Game::Spawn(); Entity::SetParent(pEVar8); EntityPtr::SetReference(); auVar54 = ZEXT416((uint)local_df8); local_a0d = 1; - if (*(int *)((int)RVar13 + 0x1e88) != 0) goto LAB_007999a3; + if (*(int *)&pEVar45->field_0x1e88 != 0) goto LAB_007999a3; } else { LAB_007999a3: auVar54._0_4_ = auVar54._0_4_ / 120.0; FUN_00435ed0(); - pEVar8 = *(Entity **)((int)RVar13 + 0x1e88); + pEVar8 = *(Entity **)&pEVar45->field_0x1e88; Vector::Vector(); Entity::SetPositionOffset(pEVar8); } if (local_a0d != 0) { - (**(code **)(**(int **)((int)RVar13 + 0x1e88) + 0xc))(); + (**(code **)(**(int **)&pEVar45->field_0x1e88 + 0xc))(); } } Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); EntityList::query_player_capsule_hits(); - local_14 = (RNG)0xc; + local_14 = 1.68156e-44; local_a14 = (Entity_Tear *)0x0; iVar6 = EntityList::Size(); if (iVar6 != 0) { do { puVar12 = (undefined4 *)std::vector::operator_index(); - pEVar33 = (Entity_Tear *)*puVar12; - local_a0c = pEVar33; - bVar4 = Entity::IsActiveEnemy((Entity *)pEVar33,0); + pEVar32 = (Entity_Tear *)*puVar12; + local_a0c = pEVar32; + bVar4 = Entity::IsActiveEnemy((Entity *)pEVar32,0); if ((bVar4 == 0) || (cVar5 = Entity::HasEntityFlags(), cVar5 != '\0')) { - cVar5 = Entity::IsProjectile((Entity *)pEVar33); + cVar5 = Entity::IsProjectile((Entity *)pEVar32); if (cVar5 != '\0') { - uVar43 = Entity_Projectile::ProjectileFlags((Entity_Projectile *)pEVar33); + uVar43 = Entity_Projectile::ProjectileFlags((Entity_Projectile *)pEVar32); if ((uVar43 & 0x80000000) == 0) goto LAB_00799a98; } } @@ -527044,28 +527836,28 @@ LAB_007999a3: LAB_00799a98: cVar5 = EntityList::HitListContains(); if (cVar5 == '\0') { - Entity::Position((Entity *)pEVar33); - local_a30 = (RNG)((int)RVar13 + 0x33c); + Entity::Position((Entity *)pEVar32); + local_a30 = (Entity_Player *)&pEVar45->_pos; Vector::__sub(); - if (*(int *)((int)RVar13 + 0x1e88) == 0) { - local_9fc = (RNG)(*(float *)((int)RVar13 + 0x370) + 10.0); + if (*(int *)&pEVar45->field_0x1e88 == 0) { + local_9fc = (Entity_Player *)(pEVar45->_size + 10.0); fVar50 = (float10)Vector::Length(); } else { - local_9fc = (RNG)(*(float *)((int)RVar13 + 0x370) + 40.0); + local_9fc = (Entity_Player *)(pEVar45->_size + 40.0); fVar50 = (float10)Vector::Length(); } - local_a38 = (float)fVar50; - if ((float)local_9fc < local_a38) { + local_a38 = (void *)(float)fVar50; + if ((float)local_9fc < (float)local_a38) { Vector::Resize(); } Vector::__add(); - cVar5 = Entity::IsEnemy((Entity *)pEVar33); + cVar5 = Entity::IsEnemy((Entity *)pEVar32); if (cVar5 != '\0') { - pEVar8 = Entity::GetStatusEffectTarget((Entity *)pEVar33); + pEVar8 = Entity::GetStatusEffectTarget((Entity *)pEVar32); uVar43 = Entity::GetHitListIndex(pEVar8); - uVar23 = Entity::GetHitListIndex((Entity *)local_a0c); - if (uVar43 == uVar23) { + uVar24 = Entity::GetHitListIndex((Entity *)local_a0c); + if (uVar43 == uVar24) { local_a0c = (Entity_Tear *)Entity::GetStatusEffectTarget((Entity *)local_a0c); } } @@ -527073,87 +527865,87 @@ LAB_00799a98: Isaac::Random(2); GetTearHitParams(); Random(); - RVar44 = (RNG)Game::Spawn(); - local_a00 = RVar44; - if (*(void **)((int)RVar13 + 0x200c) != (void *)0x0) { + pEVar44 = (Entity_Player *)Game::Spawn(); + local_a00 = pEVar44; + if (pEVar45->_darkArtsLastSnare != (void *)0x0) { Entity::SetChild(); - Entity::SetParent((Entity *)RVar44); - Entity::SubType(*(void **)((int)RVar13 + 0x200c)); + Entity::SetParent((Entity *)pEVar44); + Entity::SubType(pEVar45->_darkArtsLastSnare); FUN_00435cd0(); } - pcVar1 = *(code **)(*(int *)RVar44 + 0x40); + pcVar1 = *(code **)(*(int *)pEVar44 + 0x40); Entity::SubType((Entity *)local_a00); (*pcVar1)(); FUN_00665b80(); - pEVar33 = local_a0c; + pEVar32 = local_a0c; Entity::SetTarget((Entity *)local_a00); (**(code **)(*(int *)local_a00 + 0xc))(); EntityPtr::SetReference(); fVar50 = (float10)Entity::CollisionDamage((Entity *)local_a00); - local_a38 = (float)fVar50; - *(float *)((int)RVar13 + 0x2008) = local_a38 + *(float *)((int)RVar13 + 0x2008); + local_a38 = (void *)(float)fVar50; + pEVar45->_darkArtsDamage = (float)local_a38 + pEVar45->_darkArtsDamage; iVar6 = Entity::SubType((Entity *)local_a00); auVar54 = ZEXT416((uint)((float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * 0.05 + 1.5)) ; play_sound_with_fart_seed(); - if (*(int *)((int)RVar13 + 0x1e88) != 0) { - Entity::Position((Entity *)pEVar33); + if (*(int *)&pEVar45->field_0x1e88 != 0) { + Entity::Position((Entity *)pEVar32); fVar50 = (float10)Vector::Distance(); - local_a38 = (float)fVar50; + local_a38 = (void *)(float)fVar50; FUN_00417340(); - auVar54._0_4_ = auVar54._0_4_ + *(float *)((int)RVar13 + 0x370) + 10.0; - if (auVar54._0_4_ < local_a38) { + auVar54._0_4_ = auVar54._0_4_ + pEVar45->_size + 10.0; + if (auVar54._0_4_ < (float)local_a38) { Random(); pEVar16 = (Entity_Effect *)Game::Spawn(); Entity::SetParent((Entity *)pEVar16); - pSVar32 = (Sprite *)Entity::GetSprite((Entity *)pEVar16); + pSVar31 = (Sprite *)Entity::GetSprite((Entity *)pEVar16); Color::Color(); - Sprite::SetColor(pSVar32); + Sprite::SetColor(pSVar31); BlendMode::SetMode(); Entity::GetSprite((Entity *)pEVar16); Sprite::GetLayer(); copy_20_bytes(); - pSVar32 = (Sprite *)Entity::GetSprite((Entity *)pEVar16); - local_bc8 = 0x40000000; + pSVar31 = (Sprite *)Entity::GetSprite((Entity *)pEVar16); + local_bc8 = 2.0; Vector::operator_mul(); - Sprite::SetScale(pSVar32); + Sprite::SetScale(pSVar31); Entity_Effect::SetRadii(pEVar16); (**(code **)(*(int *)pEVar16 + 0xc))(); Entity::SetPosition((Entity *)pEVar16); - pSVar32 = (Sprite *)Entity::GetSprite((Entity *)pEVar16); - local_bc4 = 0x3f800000; + pSVar31 = (Sprite *)Entity::GetSprite((Entity *)pEVar16); + local_bc4 = (void *)0x3f800000; Vector::operator_mul(); - Sprite::SetScale(pSVar32); + Sprite::SetScale(pSVar31); Entity_Effect::SetRadii(pEVar16); (**(code **)(*(int *)pEVar16 + 0xc))(); - RVar13 = local_a24; + pEVar45 = local_a24; } } } } puVar41 = &local_a14->field_0x1; local_a14 = (Entity_Tear *)puVar41; - puVar29 = (undefined1 *)EntityList::Size(); - } while (puVar41 < puVar29); + puVar13 = (undefined1 *)EntityList::Size(); + } while (puVar41 < puVar13); } - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } - pEVar33 = (Entity_Tear *)((int)RVar13 + 0x1508); - local_a14 = TemporaryEffects::GetNullEffect((TemporaryEffects *)pEVar33,0x6f); + pEVar32 = (Entity_Tear *)&pEVar45->_temporaryeffects; + local_a14 = TemporaryEffects::GetNullEffect((TemporaryEffects *)pEVar32,0x6f); if (local_a14 != (Entity_Tear *)0x0) { - iVar6 = Entity::GetIntervalTicks((Entity *)RVar13); + iVar6 = Entity::GetIntervalTicks((Entity *)pEVar45); if (iVar6 != 0) { if (local_a29 == 0) { - if (*(byte *)((int)RVar13 + 0x2004) == 0) { - local_bc0 = 0x10; + if (pEVar45->_darkArtsBlastPending == 0) { + local_bc0 = (void *)0x10; piVar27 = (int *)std::min(); - local_9fc = (RNG)((float)*piVar27 * 0.0625); - auVar54 = ZEXT416((uint)local_9fc); + local_9fc = (Entity_Player *)((float)*piVar27 * 0.0625); + auVar54 = ZEXT416(local_9fc); random_float(); if (auVar54._0_4_ < (float)local_9fc + 0.6) { - TearsOffset((Entity_Player *)RVar13); + TearsOffset(pEVar45); Vector::__add(); Vector::Vector(); MusicManager::RandomVector(); @@ -527161,19 +527953,19 @@ LAB_00799a98: random_float(); local_bbc = auVar54._0_4_; Vector::__mul(); - local_bb8 = 0x41800000; + local_bb8 = 16.0; Vector::__mul(); Random(); - local_bb4 = 0x3e99999a; + local_bb4 = 0.3; Vector::__mul(); - local_bac = 0x3f000000; + local_bac = 0.5; Vector::__mul(); Vector::__add(); - TearsOffset((Entity_Player *)local_a24); + TearsOffset(local_a24); Vector::__add(); pEVar8 = (Entity *)Game::Spawn(); local_ba8 = (float)local_9fc * 1.33 + 0.66; - local_b78 = 0x3f800000; + local_b78 = 1.0; std::min(); Vector::operator_mul(); Entity::SetSpriteScale(pEVar8); @@ -527181,33 +527973,33 @@ LAB_00799a98: Vector::__add(); Entity::SetPositionOffset(pEVar8); Entity::GetSprite(pEVar8); - local_ba4 = 0x3f800000; + local_ba4 = 1.0; local_be4 = 1.3 - (float)local_9fc * 0.5; - puVar34 = (uint *)std::min(); - auVar54 = ZEXT416(*puVar34); + puVar33 = (uint *)std::min(); + auVar54 = ZEXT416(*puVar33); set_PlaybackSpeed(); Color::Color(); (**(code **)(*(int *)pEVar8 + 0x3c))(); set_field_358(); (**(code **)(*(int *)pEVar8 + 0xc))(); - pEVar33 = local_a34; - RVar13 = local_a24; + pEVar32 = local_a34; + pEVar45 = local_a24; } } } } if (*(int *)((int)local_a14 + 8) % (int)local_a1c == 0) { TemporaryEffects::RemoveNullEffect - ((TemporaryEffects *)pEVar33,0x6f,*(int *)((int)local_a14 + 4) / 0x1e + 1); + ((TemporaryEffects *)pEVar32,0x6f,*(int *)((int)local_a14 + 4) / 0x1e + 1); } } - pvVar10 = TemporaryEffects::GetNullEffect((TemporaryEffects *)pEVar33,0x72); - if (pvVar10 != (void *)0x0) { - iVar6 = Entity::GetIntervalTicks((Entity *)RVar13); + pvVar51 = TemporaryEffects::GetNullEffect((TemporaryEffects *)pEVar32,0x72); + if (pvVar51 != (void *)0x0) { + iVar6 = Entity::GetIntervalTicks((Entity *)pEVar45); if (iVar6 != 0) { random_float(); if (auVar54._0_4_ < 1.6) { - TearsOffset((Entity_Player *)RVar13); + TearsOffset(pEVar45); Vector::__add(); Vector::Vector(); MusicManager::RandomVector(); @@ -527215,19 +528007,19 @@ LAB_00799a98: random_float(); local_ba0 = auVar54._0_4_; Vector::__mul(); - local_b9c = 0x41800000; + local_b9c = 16.0; Vector::__mul(); Random(); - local_b98 = 0x3e99999a; + local_b98 = 0.3; Vector::__mul(); - local_b74 = 0x3f000000; + local_b74 = 0.5; Vector::__mul(); Vector::__add(); - TearsOffset((Entity_Player *)local_a24); + TearsOffset(local_a24); Vector::__add(); pEVar8 = (Entity *)Game::Spawn(); - local_b70 = 0x3ffeb852; - local_b6c = 0x3f800000; + local_b70 = 1.99; + local_b6c = 1.0; std::min(); Vector::operator_mul(); Entity::SetSpriteScale(pEVar8); @@ -527235,21 +528027,21 @@ LAB_00799a98: Vector::__add(); Entity::SetPositionOffset(pEVar8); Entity::GetSprite(pEVar8); - local_b68 = 0x3f4ccccc; - local_b64 = 0x3f800000; - puVar34 = (uint *)std::min(); - auVar54 = ZEXT416(*puVar34); + local_b68 = 0.79999995; + local_b64 = 1.0; + puVar33 = (uint *)std::min(); + auVar54 = ZEXT416(*puVar33); set_PlaybackSpeed(); set_field_358(); (**(code **)(*(int *)pEVar8 + 0xc))(); - pEVar33 = local_a34; + pEVar32 = local_a34; } } } Isaac::GetItemConfig(); Config::GetNullItem(); iVar6 = FUN_00930a00(); - RVar44 = local_a24; + pEVar44 = local_a24; if (iVar6 != 0) { uVar43 = *(uint *)(iVar6 + 8) & 0x80000007; bVar49 = uVar43 == 0; @@ -527259,11 +528051,11 @@ LAB_00799a98: if (bVar49) { if ((int)*(uint *)(iVar6 + 8) < 0x3d) { Random(); - RVar44 = local_a24; + pEVar44 = local_a24; local_a1c = (Entity_Familiar *)Game::Spawn(); if (local_a1c != (Entity_Familiar *)0x0) { - pauVar37 = (undefined1 (*) [16])GetBombFlags(); - auVar54 = *pauVar37; + pauVar36 = (undefined1 (*) [16])GetBombFlags(); + auVar54 = *pauVar36; FUN_006a6910(); } } @@ -527276,7 +528068,7 @@ LAB_00799a98: pEVar16 = (Entity_Effect *)Game::Spawn(); Entity_Effect::SetTimeout(pEVar16); (**(code **)(*(int *)pEVar16 + 0xc))(); - pEVar33 = (Entity_Tear *)((int)RVar44 + 0x1508); + pEVar32 = (Entity_Tear *)&pEVar44->_temporaryeffects; } } } @@ -527286,56 +528078,56 @@ LAB_00799a98: if (local_a1c != (Entity_Familiar *)0x0) { if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < DAT_00c8120c) && (_Init_thread_header(), DAT_00c8120c == -1)) { - local_14 = (RNG)0xd; + local_14 = 1.82169e-44; auVar54 = ZEXT816(0x3f800000); Color::Color(); - local_14 = (RNG)0xffffffff; + local_14 = -NAN; _Init_thread_footer(); } - pvVar10 = (local_a1c->_damageEvents)._begin; - if ((int)pvVar10 < 0x1f) { - iVar6 = (int)pvVar10 % 10; + iVar6 = *(int *)((std_string *)&local_a1c->_damageEvents)->_buf; + if (iVar6 < 0x1f) { + iVar6 = iVar6 % 10; } else { - if ((int)pvVar10 < 0x5b) { - iVar6 = 0xf; + if (iVar6 < 0x5b) { + iVar23 = 0xf; } else { - if (0x96 < (int)pvVar10) goto LAB_0079a6f8; - iVar6 = 0x1e; + if (0x96 < iVar6) goto LAB_0079a6f8; + iVar23 = 0x1e; } - iVar6 = (int)pvVar10 % iVar6; + iVar6 = iVar6 % iVar23; } if (iVar6 == 0) { - (**(code **)(*(int *)RVar44 + 0x3c))(); + (**(code **)(*(int *)pEVar44 + 0x3c))(); } } LAB_0079a6f8: local_a40 = 15.0; - if (*(int *)((int)RVar44 + 0x1888) < 1) { - if (*(int *)((int)RVar44 + 0x1f2c) == 1) { - if (8 < *(int *)((int)RVar44 + 0x1f30)) { - local_a0c = (Entity_Tear *)(*(int *)((int)RVar44 + 0x1f30) + -8); - local_a00 = (RNG)0x2c5; + if (pEVar44->_ponyCharge < 1) { + if (pEVar44->_suplexState == 1) { + if (8 < pEVar44->_suplexAimCountdown) { + local_a0c = (Entity_Tear *)(pEVar44->_suplexAimCountdown + -8); + local_a00 = (Entity_Player *)0x2c5; local_a40 = 12.0; goto LAB_0079ad8f; } } else { - bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar33,0x251); + bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar32,0x251); if (bVar4 == 0) { - bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar33,0x2ca); - if (((bVar4 != 0) && (*(int *)((int)RVar44 + 0x13c0) == 0x23)) && - (iVar6 = GetOtherTwin((Entity_Player *)RVar44), iVar6 != 0)) { - local_a00 = (RNG)0x2ca; + bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar32,0x2ca); + if (((bVar4 != 0) && (pEVar44->_playerType == 0x23)) && + (iVar6 = GetOtherTwin(pEVar44), iVar6 != 0)) { + local_a00 = (Entity_Player *)0x2ca; pIVar15 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar24 = ItemConfig::GetCollectible(pIVar15,0x2ca); + pIVar25 = ItemConfig::GetCollectible(pIVar15,0x2ca); iVar6 = FUN_00930a00(); - local_a0c = (Entity_Tear *)(pIVar24->maxCooldown - *(int *)(iVar6 + 8)); + local_a0c = (Entity_Tear *)(pIVar25->maxCooldown - *(int *)(iVar6 + 8)); fVar50 = (float10)Vector::LengthSquared(); auVar54._0_12_ = ZEXT812(0x41c80000); auVar54._12_4_ = 0; - pEVar33 = (Entity_Tear *)((int)RVar44 + 0x1508); + pEVar32 = (Entity_Tear *)&pEVar44->_temporaryeffects; local_a1c = (Entity_Familiar *)(float)fVar50; if ((float)local_a1c < auVar54._0_4_) { local_a40 = 0.0; @@ -527343,8 +528135,8 @@ LAB_0079a6f8: goto LAB_0079ad8f; } } - else if (*(int *)((int)RVar44 + 0x1e90) == *(int *)((int)RVar44 + 0x1e8c)) { - switch(*(int *)((int)RVar44 + 0x1e94)) { + else if (pEVar44->_marsCooldown == pEVar44->_marsUnk1) { + switch(pEVar44->_marsUnk2) { case 0: break; case 1: @@ -527357,26 +528149,26 @@ LAB_0079a6f8: Level::GetCurrentRoom((Level *)g_game); cVar5 = Room::IsMirrorWorld(); if (cVar5 != '\0') { - auVar54._0_4_ = (float)(local_b34 ^ 0x80000000); + auVar54._0_4_ = -local_b34; auVar54._4_4_ = 0x80000000; auVar54._8_4_ = 0x80000000; auVar54._12_4_ = 0x80000000; - local_b34 = (uint)auVar54._0_4_; + local_b34 = auVar54._0_4_; } - local_b60 = 0x40800000; + local_b60 = 4.0; Vector::operator_mul(); - Entity::AddVelocity((Entity *)RVar44); + Entity::AddVelocity((Entity *)pEVar44); std::vector::clear(); play_sound_with_fart_seed(); Isaac::GetItemConfig(); - pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); - RemoveCostume((Entity_Player *)RVar44,pIVar24); + pIVar25 = (ItemConfig_Item *)Config::GetNullItem(); + RemoveCostume(pEVar44,pIVar25); } else { - pvVar10 = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar33,0x251); - if ((pvVar10 != (void *)0x0) && - (local_a0c = *(Entity_Tear **)((int)pvVar10 + 8), 0 < (int)local_a0c)) { - local_a00 = (RNG)0x251; + pvVar51 = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)pEVar32,0x251); + if ((pvVar51 != (void *)0x0) && + (local_a0c = *(Entity_Tear **)((int)pvVar51 + 8), 0 < (int)local_a0c)) { + local_a00 = (Entity_Player *)0x251; local_a40 = 15.0; pIVar15 = (ItemConfig *)Isaac::GetItemConfig(); local_a1c = (Entity_Familiar *)ItemConfig::GetCollectible(pIVar15,0x2c0); @@ -527384,7 +528176,7 @@ LAB_0079a6f8: if ((local_a14 != (Entity_Tear *)0x0) && (*(int *)((int)local_a14 + 8) < 4)) { TemporaryEffect::TemporaryEffect(); local_de8 = 4 - *(int *)((int)local_a14 + 8); - TemporaryEffects::AddEffect((TemporaryEffects *)pEVar33,local_df0,0,1); + TemporaryEffects::AddEffect((TemporaryEffects *)pEVar32,local_df0,0,1); } goto LAB_0079ad8f; } @@ -527394,20 +528186,20 @@ LAB_0079a6f8: Entity::ClearEntityFlags(); } else { - local_a00 = (RNG)0x82; - local_a0c = (Entity_Tear *)(0x3c - *(int *)((int)RVar44 + 0x1888)); + local_a00 = (Entity_Player *)0x82; + local_a0c = (Entity_Tear *)(0x3c - pEVar44->_ponyCharge); LAB_0079ad8f: cVar5 = Entity::HasEntityFlags(); if (cVar5 == '\0') { local_a1c = (Entity_Familiar *)((uint)local_a0c & 0x80000003); if ((int)local_a1c < 0) { local_a1c = (Entity_Familiar *) - (((uint)((int)&local_a1c[-1]._wispCollectibleType + 3) | 0xfffffffc) + 1); + (((uint)((int)&local_a1c[-1]._wispCollectibleType + 3U) | 0xfffffffc) + 1); } if (local_a1c == (Entity_Familiar *)0x0) { auVar54 = ZEXT816(0x3f000000); - local_a14 = *(Entity_Tear **)(*(int *)RVar44 + 0x3c); - if (local_a00 != (RNG)0x2ca) { + local_a14 = *(Entity_Tear **)(*(int *)pEVar44 + 0x3c); + if (local_a00 != (Entity_Player *)0x2ca) { Color::Color(); (*(code *)local_a14)(); goto LAB_0079aeb9; @@ -527417,8 +528209,8 @@ LAB_0079ad8f: } else { LAB_0079aeb9: - if ((local_a00 == (RNG)0x82) && (((uint)local_a0c & 1) == 0)) { - bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar33,0xb5); + if ((local_a00 == (Entity_Player *)0x82) && (((uint)local_a0c & 1) == 0)) { + bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar32,0xb5); if (bVar4 != 0) { Level::GetCurrentRoom((Level *)g_game); local_a14 = (Entity_Tear *)Vector::Rotated(); @@ -527435,14 +528227,14 @@ LAB_0079aeb9: Random(); pEVar8 = (Entity *)Game::Spawn(); pcVar1 = *(code **)(*(int *)pEVar8 + 0x40); - fVar50 = (float10)GetTearPoisonDamage((Entity_Player *)local_a24); + fVar50 = (float10)GetTearPoisonDamage(local_a24); local_a1c = (Entity_Familiar *)(float)(fVar50 * (float10)4.0 + (float10)10.0); (*pcVar1)(); Vector::__unm(); Entity::SetSize(pEVar8); Entity::SetParent(pEVar8); (**(code **)(*(int *)pEVar8 + 0xc))(); - RVar44 = local_a24; + pEVar44 = local_a24; } } } @@ -527453,47 +528245,47 @@ LAB_0079aeb9: local_a3c = (Entity *)(float)fVar50; fVar50 = (float10)Vector::GetAngleDegrees(); local_a1c = (Entity_Familiar *)(float)fVar50; - local_ab8 = 0x41700000; + local_ab8 = 15.0; Game::GetField26614(); cVar5 = FUN_00429550(); if (cVar5 != '\0') { - local_a08 = (RNG)0x40000000; + local_a08 = (Entity_Player *)0x40000000; } - local_9fc = (RNG)((*(float *)((int)RVar44 + 0x157c) + 2.0) * (float)local_a08); - local_a08 = (RNG)0x41c00000; - if (local_a00 == (RNG)0x82) { + local_9fc = (Entity_Player *)((pEVar44->_meleeDamage + 2.0) * (float)local_a08); + local_a08 = (Entity_Player *)0x41c00000; + if (local_a00 == (Entity_Player *)0x82) { Game::GetField26614(); cVar5 = FUN_00429550(); if (cVar5 == '\0') { local_a04 = (Entity_Tear *)0x41a00000; } - local_9fc = (RNG)((float)local_9fc + (float)local_a04); + local_9fc = (Entity_Player *)((float)local_9fc + (float)local_a04); } - else if ((local_a00 == (RNG)0x2ca) && - (bVar4 = HasCollectible((Entity_Player *)RVar44,0x164,0), bVar4 != 0)) { - local_9fc = (RNG)((float)local_9fc + (float)local_9fc); - local_a08 = (RNG)0x42100000; + else if ((local_a00 == (Entity_Player *)0x2ca) && + (bVar4 = HasCollectible(pEVar44,0x164,0), bVar4 != 0)) { + local_9fc = (Entity_Player *)((float)local_9fc + (float)local_9fc); + local_a08 = (Entity_Player *)0x42100000; } auVar54 = ZEXT416(local_a1c); Vector::Vector(); Capsule::constructor(local_14f8); FUN_00428a60(); EntityList::QueryRadius(); - local_14 = (RNG)0xe; + local_14 = 1.96182e-44; local_a04 = (Entity_Tear *)0x0; iVar6 = EntityList::Size(); if (iVar6 != 0) { do { - pRVar19 = (RNG *)std::vector::operator_index(); - local_a30 = *pRVar19; + puVar12 = (undefined4 *)std::vector::operator_index(); + local_a30 = (Entity_Player *)*puVar12; Entity::Position((Entity *)local_a30); Entity::Position((Entity *)local_a30); cVar5 = Vector::operator_ne(); if (cVar5 == '\0') { Entity::Position((Entity *)local_a30); - Entity::Position((Entity *)RVar44); + Entity::Position((Entity *)pEVar44); cVar5 = Vector::operator_eq(); - RVar13 = local_a30; + pEVar45 = local_a30; if ((cVar5 == '\0') && (FUN_00417340(), 0.0 < auVar54._0_4_)) { pfVar7 = (float *)FUN_00417350(); auVar54 = ZEXT816(0); @@ -527502,8 +528294,8 @@ LAB_0079aeb9: auVar54 = ZEXT816(0); if ((0.0 < *(float *)(iVar6 + 4)) && (cVar5 = EntityList::HitListContains(), cVar5 == '\0')) { - pSVar32 = (Sprite *)Entity::GetSprite((Entity *)RVar13); - fVar50 = (float10)Sprite::Rotation(pSVar32); + pSVar31 = (Sprite *)Entity::GetSprite((Entity *)pEVar45); + fVar50 = (float10)Sprite::Rotation(pSVar31); local_a1c = (Entity_Familiar *)(float)fVar50; FUN_00417350(); FUN_00417340(); @@ -527513,21 +528305,21 @@ LAB_0079aeb9: Capsule::constructor(local_14d0); EntityPtr::clear(); cVar5 = FUN_00440e80(); - RVar13 = local_a30; + pEVar45 = local_a30; if (cVar5 != '\0') { Entity::Position((Entity *)local_a30); Vector::__sub(); Vector::Normalized(); - cVar5 = Entity::IsEnemy((Entity *)RVar13); + cVar5 = Entity::IsEnemy((Entity *)pEVar45); if (cVar5 != '\0') { - cVar5 = Entity::IsType((Entity *)RVar13); + cVar5 = Entity::IsType((Entity *)pEVar45); if (cVar5 == '\0') { - if (local_a00 == (RNG)0x2c5) { - cVar5 = TryHoldEntity((Entity_Player *)RVar44); + if (local_a00 == (Entity_Player *)0x2c5) { + cVar5 = TryHoldEntity(pEVar44); if (cVar5 != '\0') { - *(int *)((int)RVar44 + 0x1600) = 0x2c5; - *(int *)((int)RVar44 + 0x1f30) = 0x3c; - *(int *)((int)RVar44 + 0x1f2c) = 2; + pEVar44->_itemState = 0x2c5; + pEVar44->_suplexAimCountdown = 0x3c; + pEVar44->_suplexState = 2; play_sound_with_fart_seed(); random_float(); auVar54._0_4_ = auVar54._0_4_ * 0.2 + 0.9; @@ -527536,41 +528328,41 @@ LAB_0079aeb9: } } else { - cVar5 = (**(code **)(*(int *)RVar13 + 0x4c))(); + cVar5 = (**(code **)(*(int *)pEVar45 + 0x4c))(); if (cVar5 == '\0') { Vector::__mul(); Entity::get_friction(); local_b50 = auVar54._0_4_; Vector::__div(); - RVar13 = local_a30; + pEVar45 = local_a30; } else { Vector::__mul(); - local_b54 = 0x3f19999a; + local_b54 = 0.6; Vector::__mul(); } - Entity::AddVelocity((Entity *)RVar13); - pcVar1 = *(code **)(*(int *)RVar13 + 0x20); - EntityRef::constructor(&local_1548,(Entity *)RVar44); - auVar54 = ZEXT416((uint)local_9fc); + Entity::AddVelocity((Entity *)pEVar45); + pcVar1 = *(code **)(*(int *)pEVar45 + 0x20); + EntityRef::constructor(&local_1548,(Entity *)pEVar44); + auVar54 = ZEXT416(local_9fc); cVar5 = (*pcVar1)(); - RVar13 = local_a30; + pEVar45 = local_a30; if ((cVar5 != '\0') && (cVar5 = Entity::IsVulnerableEnemy((Entity *)local_a30), cVar5 != '\0')) { play_sound_with_fart_seed(); - piVar27 = (int *)Entity_NPC::MakeSplat((Entity_NPC *)RVar13); + piVar27 = (int *)Entity_NPC::MakeSplat((Entity_NPC *)pEVar45); pcVar1 = *(code **)(*piVar27 + 0x3c); Entity::SplatColor((Entity *)local_a30); (*pcVar1)(); - RVar44 = local_a24; + pEVar44 = local_a24; Entity::ForceCollide((Entity *)local_a24); } } } else { - pcVar1 = *(code **)(*(int *)RVar13 + 0x20); - EntityRef::constructor(&local_1520,(Entity *)RVar44); + pcVar1 = *(code **)(*(int *)pEVar45 + 0x20); + EntityRef::constructor(&local_1520,(Entity *)pEVar44); (*pcVar1)(); } } @@ -527582,17 +528374,17 @@ LAB_0079aeb9: } pVVar47 = (Vector *)((int)&local_a04->field_0x0 + 1); local_a04 = (Entity_Tear *)pVVar47; - puVar29 = (undefined1 *)EntityList::Size(); - } while (pVVar47 < puVar29); + puVar13 = (undefined1 *)EntityList::Size(); + } while (pVVar47 < puVar13); } - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } } - if (local_a00 == (RNG)0x2ca) { - if ((*(int *)((int)RVar44 + 0x13c0) != 0x23) || - (iVar6 = GetOtherTwin((Entity_Player *)RVar44), iVar6 == 0)) goto LAB_0079ba07; - pEVar8 = (Entity *)GetOtherTwin((Entity_Player *)RVar44); + if (local_a00 == (Entity_Player *)0x2ca) { + if ((pEVar44->_playerType != 0x23) || (iVar6 = GetOtherTwin(pEVar44), iVar6 == 0)) + goto LAB_0079ba07; + pEVar8 = (Entity *)GetOtherTwin(pEVar44); Entity::Position(pEVar8); pEVar52 = (Entity_Familiar *)(float)(int)local_a0c; assert_lerp_range(); @@ -527600,18 +528392,18 @@ LAB_0079aeb9: Vector::__sub(); auVar54 = ZEXT416(local_a1c); Vector::Resized(); - Entity::AddVelocity((Entity *)RVar44); - iVar6 = Entity::GetIntervalTicks((Entity *)RVar44); + Entity::AddVelocity((Entity *)pEVar44); + iVar6 = Entity::GetIntervalTicks((Entity *)pEVar44); if (iVar6 == 0) goto LAB_0079ba07; Random(); - local_b4c = 0x3f000000; + local_b4c = (void *)0x3f000000; Vector::__mul(); pEVar8 = (Entity *)Game::Spawn(); BlendMode::SetMode(); Entity::GetSprite(pEVar8); Sprite::GetLayer(); copy_20_bytes(); - RVar44 = local_a24; + pEVar44 = local_a24; Vector::Vector(); Vector::__add(); Entity::SetPositionOffset(pEVar8); @@ -527623,14 +528415,14 @@ LAB_0079aeb9: (**(code **)(*(int *)pEVar8 + 0x3c))(); set_field_358(); (**(code **)(*(int *)pEVar8 + 0xc))(); - SetMinDamageCooldown((Entity_Player *)RVar44); + SetMinDamageCooldown(pEVar44); LAB_0079ba25: Entity::AddEntityFlags(); } else { - if (*(byte *)((int)RVar44 + 400) == 0) { + if (pEVar44->_collidesWithGrid == 0) { cVar5 = Vector::operator_ne(); - if ((cVar5 != '\0') && (*(byte *)((int)RVar44 + 0x173) == 0)) { + if ((cVar5 != '\0') && (pEVar44->_dead == 0)) { Vector::Normalize(); Vector::operator_mul_assign(); } @@ -527642,28 +528434,24 @@ LAB_0079ba25: auVar54._12_4_ = 0; local_a1c = (Entity_Familiar *)(float)fVar50; if (auVar54._0_4_ <= (float)local_a1c) { - if (*(int *)((int)RVar44 + 0x1f2c) == 1) { - local_b44 = 8; + if (pEVar44->_suplexState == 1) { + local_b44 = 1.12104e-44; piVar27 = (int *)std::min(); - *(int *)((int)RVar44 + 0x1f30) = *piVar27; + pEVar44->_suplexAimCountdown = *piVar27; } - bVar4 = TemporaryEffects::HasCollectibleEffect - ((TemporaryEffects *)((int)RVar44 + 0x1508),0x251); + bVar4 = TemporaryEffects::HasCollectibleEffect(&pEVar44->_temporaryeffects,0x251); if (bVar4 != 0) { - TemporaryEffects::RemoveCollectibleEffect - ((TemporaryEffects *)((int)RVar44 + 0x1508),0x251,-1); - *(int *)((int)RVar44 + 0x1e94) = -1; + TemporaryEffects::RemoveCollectibleEffect(&pEVar44->_temporaryeffects,0x251,-1); + pEVar44->_marsUnk2 = -1; dash_impact(); } - *(int *)((int)RVar44 + 0x1888) = 0; - TemporaryEffects::RemoveCollectibleEffect - ((TemporaryEffects *)((int)RVar44 + 0x1508),0x82,-1); - TemporaryEffects::RemoveCollectibleEffect - ((TemporaryEffects *)((int)RVar44 + 0x1508),0xb5,-1); + pEVar44->_ponyCharge = 0; + TemporaryEffects::RemoveCollectibleEffect(&pEVar44->_temporaryeffects,0x82,-1); + TemporaryEffects::RemoveCollectibleEffect(&pEVar44->_temporaryeffects,0xb5,-1); Game::ShakeScreen(g_game,8); - local_b40 = 0xc1200000; + local_b40 = -10.0; Vector::operator_mul(); - Entity::AddVelocity((Entity *)RVar44); + Entity::AddVelocity((Entity *)pEVar44); } else { fVar50 = (float10)Vector::Dot(); @@ -527673,86 +528461,86 @@ LAB_0079ba25: Vector::operator_assign(); } } - local_b3c = 10; + local_b3c = 1.4013e-44; FUN_007dd490(); FUN_007dc740(); LAB_0079ba07: - SetMinDamageCooldown((Entity_Player *)RVar44); - if ((local_a00 != (RNG)0x251) || (*(byte *)((int)RVar44 + 0x1e98) == 0)) goto LAB_0079ba25; + SetMinDamageCooldown(pEVar44); + if ((local_a00 != (Entity_Player *)0x251) || (pEVar44->_marsUnkBool == 0)) goto LAB_0079ba25; } Entity::AddEntityFlags(); - pEVar33 = (Entity_Tear *)((int)RVar44 + 0x1508); + pEVar32 = (Entity_Tear *)&pEVar44->_temporaryeffects; } - if (0 < *(int *)((int)RVar44 + 0x1888)) { - *(int *)((int)RVar44 + 0x1888) = *(int *)((int)RVar44 + 0x1888) + -1; + if (0 < pEVar44->_ponyCharge) { + pEVar44->_ponyCharge = pEVar44->_ponyCharge + -1; } - bVar4 = HasCollectible((Entity_Player *)RVar44,0x251,0); + bVar4 = HasCollectible(pEVar44,0x251,0); if (((bVar4 != 0) && (cVar5 = Entity::HasEntityFlags(), cVar5 == '\0')) && - (-1 < *(int *)((int)RVar44 + 0x1e90))) { - bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar33,0x251); + (-1 < pEVar44->_marsCooldown)) { + bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)pEVar32,0x251); if (bVar4 == 0) { - if (*(byte *)((int)RVar44 + 0x1e98) == 0) { - *(byte *)((int)RVar44 + 0x1e98) = 1; + if (pEVar44->_marsUnkBool == 0) { + pEVar44->_marsUnkBool = 1; Entity::ClearEntityFlags(); - SetMinDamageCooldown((Entity_Player *)RVar44); + SetMinDamageCooldown(pEVar44); } - *(int *)((int)RVar44 + 0x1e94) = -1; + pEVar44->_marsUnk2 = -1; } iVar6 = 1; - bVar4 = HasCollectible((Entity_Player *)RVar44,0x82,0); - if ((bVar4 != 0) || (bVar4 = HasCollectible((Entity_Player *)RVar44,0xb5,0), bVar4 != 0)) { + bVar4 = HasCollectible(pEVar44,0x82,0); + if ((bVar4 != 0) || (bVar4 = HasCollectible(pEVar44,0xb5,0), bVar4 != 0)) { iVar6 = 2; } - local_b38 = 0xffffffff; - local_c2c = *(int *)((int)RVar44 + 0x1e90) - iVar6; + local_b38 = -NAN; + local_c2c = (float)(pEVar44->_marsCooldown - iVar6); piVar27 = (int *)std::max(); iVar6 = *piVar27; - *(int *)((int)RVar44 + 0x1e90) = iVar6; + pEVar44->_marsCooldown = iVar6; if (iVar6 == -1) { play_sound_with_fart_seed(); auVar54 = ZEXT816(0x3f000000); - pcVar1 = *(code **)(*(int *)RVar44 + 0x3c); + pcVar1 = *(code **)(*(int *)pEVar44 + 0x3c); Color::Color(); (*pcVar1)(); Isaac::GetItemConfig(); bVar4 = 0; - pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); - AddCostume((Entity_Player *)RVar44,pIVar24,bVar4); + pIVar25 = (ItemConfig_Item *)Config::GetNullItem(); + AddCostume(pEVar44,pIVar25,bVar4); } } - bVar4 = HasCollectible((Entity_Player *)RVar44,0x238,0); + bVar4 = HasCollectible(pEVar44,0x238,0); if (((bVar4 != 0) && (cVar5 = Entity::HasEntityFlags(), cVar5 == '\0')) && - (-1 < *(int *)((int)RVar44 + 0x1f9c))) { - local_c24 = *(int *)((int)RVar44 + 0x1f9c) + -1; - local_c28 = 0xffffffff; + (-1 < *(int *)&pEVar44->field_0x1f9c)) { + local_c24 = (float)(*(int *)&pEVar44->field_0x1f9c + -1); + local_c28 = -NAN; piVar27 = (int *)std::max(); iVar6 = *piVar27; - *(int *)((int)RVar44 + 0x1f9c) = iVar6; + *(int *)&pEVar44->field_0x1f9c = iVar6; if (iVar6 == -1) { play_sound_with_fart_seed(); auVar54 = ZEXT816(0x3f000000); - pcVar1 = *(code **)(*(int *)RVar44 + 0x3c); + pcVar1 = *(code **)(*(int *)pEVar44 + 0x3c); Color::Color(); (*pcVar1)(); } } cVar5 = Entity::HasEntityFlags(); if (cVar5 == '\0') { - bVar4 = HasCollectible((Entity_Player *)RVar44,0x297,0); + bVar4 = HasCollectible(pEVar44,0x297,0); if (bVar4 == 0) { - if (0 < *(int *)((int)RVar44 + 0x1ea4)) { - *(undefined4 *)((int)RVar44 + 0x1ea4) = 0; - bVar4 = TemporaryEffects::HasNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x3b); + if (0 < *(int *)&pEVar44->field_0x1ea4) { + *(undefined4 *)&pEVar44->field_0x1ea4 = 0; + bVar4 = TemporaryEffects::HasNullEffect(&pEVar44->_temporaryeffects,0x3b); if (bVar4 != 0) { - TemporaryEffects::RemoveNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x3b,1); + TemporaryEffects::RemoveNullEffect(&pEVar44->_temporaryeffects,0x3b,1); auVar53 = ZEXT812(0x3f000000); goto LAB_0079bc57; } } } else { - iVar6 = *(int *)((int)RVar44 + 0x1ea4) + 1; - *(int *)((int)RVar44 + 0x1ea4) = iVar6; + iVar6 = *(int *)&pEVar44->field_0x1ea4 + 1; + *(int *)&pEVar44->field_0x1ea4 = iVar6; if (((iVar6 == 0x69) || (iVar6 == 0x78)) || (iVar6 == 0x87)) { local_a1c = (Entity_Familiar *)(9 - iVar6 / 0xf); SoundEffects::PlayWithFartOverride(); @@ -527761,33 +528549,33 @@ LAB_0079ba07: LAB_0079bc57: auVar54._12_4_ = 0; auVar54._0_12_ = auVar53; - pcVar1 = *(code **)(*(int *)RVar44 + 0x3c); + pcVar1 = *(code **)(*(int *)pEVar44 + 0x3c); Color::Color(); (*pcVar1)(); } else if (iVar6 == 0x96) { - bVar4 = TemporaryEffects::HasNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x3b); + bVar4 = TemporaryEffects::HasNullEffect(&pEVar44->_temporaryeffects,0x3b); if (bVar4 == 0) { - TemporaryEffects::AddNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x3b,1,1); + TemporaryEffects::AddNullEffect(&pEVar44->_temporaryeffects,0x3b,1,1); auVar54 = ZEXT816(0x3f000000); - pcVar1 = *(code **)(*(int *)RVar44 + 0x3c); + pcVar1 = *(code **)(*(int *)pEVar44 + 0x3c); Color::Color(); (*pcVar1)(); play_sound_with_fart_seed(); } } else if (0xb3 < iVar6) { - TemporaryEffects::RemoveNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x3b,1); + TemporaryEffects::RemoveNullEffect(&pEVar44->_temporaryeffects,0x3b,1); auVar54 = ZEXT816(0x3f000000); - pcVar1 = *(code **)(*(int *)RVar44 + 0x3c); + pcVar1 = *(code **)(*(int *)pEVar44 + 0x3c); Color::Color(); (*pcVar1)(); - *(undefined4 *)((int)RVar44 + 0x1ea4) = 0; + *(undefined4 *)&pEVar44->field_0x1ea4 = 0; } } } - pvVar10 = TemporaryEffects::GetNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x3e); - if ((pvVar10 != (void *)0x0) && (uVar43 = *(uint *)((int)pvVar10 + 8), (int)uVar43 < 0x5a)) { + pvVar51 = TemporaryEffects::GetNullEffect(&pEVar44->_temporaryeffects,0x3e); + if ((pvVar51 != (void *)0x0) && (uVar43 = *(uint *)((int)pvVar51 + 8), (int)uVar43 < 0x5a)) { if ((int)uVar43 < 0x20) { uVar43 = uVar43 & 0x80000007; if ((int)uVar43 < 0) { @@ -527801,55 +528589,55 @@ LAB_0079bc57: } uVar43 = (int)uVar43 / 2; } - bVar4 = IsNullItemCostumeVisible((Entity_Player *)RVar44,0x3e,-1); + bVar4 = IsNullItemCostumeVisible(pEVar44,0x3e,-1); if ((int)uVar43 < 4) { if (bVar4 != 0) { Isaac::GetItemConfig(); - pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); - RemoveCostume((Entity_Player *)RVar44,pIVar24); + pIVar25 = (ItemConfig_Item *)Config::GetNullItem(); + RemoveCostume(pEVar44,pIVar25); } } else if (bVar4 == 0) { Isaac::GetItemConfig(); bVar4 = 0; - pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); - AddCostume((Entity_Player *)RVar44,pIVar24,bVar4); + pIVar25 = (ItemConfig_Item *)Config::GetNullItem(); + AddCostume(pEVar44,pIVar25,bVar4); } } - bVar4 = TemporaryEffects::HasNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x42); + bVar4 = TemporaryEffects::HasNullEffect(&pEVar44->_temporaryeffects,0x42); if (bVar4 != 0) { Game::GetField26614(); cVar5 = FUN_00429550(); if (cVar5 != '\0') { FUN_00417920(); - RVar13 = (RNG)FUN_0090b0e0(); - if (RVar13 != RVar44) goto LAB_0079bd65; + pEVar45 = (Entity_Player *)FUN_0090b0e0(); + if (pEVar45 != pEVar44) goto LAB_0079bd65; } Game::Darken(g_game); } LAB_0079bd65: - bVar4 = TemporaryEffects::HasNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x45); - if (((bVar4 != 0) && (*(int *)((int)RVar44 + 0x1ed8) < 0)) && - (cVar5 = CanPickupItem((Entity_Player *)RVar44), cVar5 != '\0')) { - FlushQueueItem((Entity_Player *)RVar44); - TemporaryEffects::RemoveNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x45,1); + bVar4 = TemporaryEffects::HasNullEffect(&pEVar44->_temporaryeffects,0x45); + if (((bVar4 != 0) && (*(int *)&pEVar44->field_0x1ed8 < 0)) && + (cVar5 = CanPickupItem(pEVar44), cVar5 != '\0')) { + FlushQueueItem(pEVar44); + TemporaryEffects::RemoveNullEffect(&pEVar44->_temporaryeffects,0x45,1); Game::GetItemPool(g_game); pRVar19 = (RNG *)FUN_005cbd00(); RNG::Next(pRVar19); - uVar31 = ItemPool::GetPill(); - *(undefined4 *)((int)RVar44 + 0x1ed8) = uVar31; - AnimatePill((Entity_Player *)RVar44); + uVar30 = ItemPool::GetPill(); + *(undefined4 *)&pEVar44->field_0x1ed8 = uVar30; + AnimatePill(pEVar44); play_sound_with_fart_seed(); } - bVar4 = TemporaryEffects::HasNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x7a); - if (((bVar4 != 0) && (cVar5 = CanPickupItem((Entity_Player *)RVar44), cVar5 != '\0')) && - (cVar5 = IsHoldingItem((Entity_Player *)RVar44), cVar5 == '\0')) { - FlushQueueItem((Entity_Player *)RVar44); - TemporaryEffects::RemoveNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x7a,1); + bVar4 = TemporaryEffects::HasNullEffect(&pEVar44->_temporaryeffects,0x7a); + if (((bVar4 != 0) && (cVar5 = CanPickupItem(pEVar44), cVar5 != '\0')) && + (cVar5 = IsHoldingItem(pEVar44), cVar5 == '\0')) { + FlushQueueItem(pEVar44); + TemporaryEffects::RemoveNullEffect(&pEVar44->_temporaryeffects,0x7a,1); pRVar19 = (RNG *)FUN_005cbd00(); local_a1c = (Entity_Familiar *)pRVar19; FUN_00424510(); - local_14 = (RNG)0xf; + local_14 = 2.10195e-44; bVar4 = Game::IsGreedMode(g_game); if (bVar4 == 0) { WeightedOutcomePicker::AddOutcomeWeight(local_a58); @@ -527859,6 +528647,7 @@ LAB_0079bd65: WeightedOutcomePicker::AddOutcomeWeight(local_a58); WeightedOutcomePicker::AddOutcomeWeight(local_a58); WeightedOutcomePicker::AddOutcomeWeight(local_a58); + iVar6 = 0xc; } else { WeightedOutcomePicker::AddOutcomeWeight(local_a58); @@ -527866,20 +528655,28 @@ LAB_0079bd65: WeightedOutcomePicker::AddOutcomeWeight(local_a58); WeightedOutcomePicker::AddOutcomeWeight(local_a58); WeightedOutcomePicker::AddOutcomeWeight(local_a58); + iVar6 = 0x1a; } + iVar62 = 0; + iVar61 = 2; + iVar23 = 0x79bf5d; WeightedOutcomePicker::AddOutcomeWeight(local_a58); - uVar23 = 0x23; + uVar24 = 0x23; uVar43 = RNG::Next(pRVar19); - RNG::game_constructor((RNG *)((int)register0x00000010 + -0x17bc),uVar43,uVar23); - WeightedOutcomePicker::PickOutcome(local_a58); + RNG::game_constructor((RNG *)((int)register0x00000010 + -0x17bc),uVar43,uVar24); + rng._shift1 = iVar6; + rng._seed = iVar23; + rng._shift2 = iVar61; + rng._shift3 = iVar62; + WeightedOutcomePicker::PickOutcome(local_a58,rng); Isaac::GetItemConfig(); FUN_00730de0(); - pIVar35 = (ItemPool *)Game::GetItemPool(g_game); + pIVar34 = (ItemPool *)Game::GetItemPool(g_game); RNG::Next((RNG *)local_a1c); - local_a1c = (Entity_Familiar *)ItemPool::GetCollectible(pIVar35); + local_a1c = (Entity_Familiar *)ItemPool::GetCollectible(pIVar34); Isaac::GetItemConfig(); FUN_00730e20(); - RVar44 = local_a24; + pEVar44 = local_a24; pEVar8 = (Entity *)AddItemWisp(); Entity::HitPoints(pEVar8); Entity::SetField380(pEVar8); @@ -527887,60 +528684,60 @@ LAB_0079bd65: local_a1c = (Entity_Familiar *)ItemConfig::GetCollectible(pIVar15,(int)local_a1c); if (local_a1c != (Entity_Familiar *)0x0) { this_05 = (HUD *)Game::GetHUD(g_game); - HUD::ShowItemText(this_05,(Entity_Player *)RVar44,(ItemConfig_Item *)local_a1c); + HUD::ShowItemText(this_05,pEVar44,(ItemConfig_Item *)local_a1c); } - AnimateCollectible((Entity_Player *)RVar44); + AnimateCollectible(pEVar44); SoundEffects::PlayWithFartOverride(); - local_14 = (RNG)0xffffffff; + local_14 = -NAN; std::vector::_Tidy(); } - if (-1 < *(int *)((int)RVar44 + 0x1ed8)) { + if (-1 < *(int *)&pEVar44->field_0x1ed8) { FUN_00420ae0(); cVar5 = FUN_0082ee30(); - if (((cVar5 == '\0') && (cVar5 = AreControlsEnabled((Entity_Player *)RVar44), cVar5 != '\0')) && - (bVar4 = ANM2::IsPlaying((ANM2 *)((int)RVar44 + 0x41c),(byte *)"UseItem"), bVar4 == 0)) { + if (((cVar5 == '\0') && (cVar5 = AreControlsEnabled(pEVar44), cVar5 != '\0')) && + (bVar4 = ANM2::IsPlaying(&pEVar44->_bodySprite,(byte *)"UseItem"), bVar4 == 0)) { Level::GetCurrentRoom((Level *)g_game); - pEVar36 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar36); - local_14 = (RNG)0x10; + pEVar35 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar35); + local_14 = 2.24208e-44; uVar43 = 0; iVar6 = EntityList::Size(); if (iVar6 != 0) { do { puVar12 = (undefined4 *)std::vector::operator_index(); local_a1c = (Entity_Familiar *)*puVar12; - RVar13 = (RNG)Entity_Familiar::Player(local_a1c); - if (RVar13 == RVar44) { - Entity_Familiar::farting_baby_fart(); + pEVar45 = (Entity_Player *)Entity_Familiar::Player(local_a1c); + if (pEVar45 == pEVar44) { + Entity_Familiar::farting_baby_fart(local_a1c); } uVar43 = uVar43 + 1; - uVar23 = EntityList::Size(); - } while (uVar43 < uVar23); + uVar24 = EntityList::Size(); + } while (uVar43 < uVar24); } pPVar9 = (PersistentGameData *)Room::GetTopLeftPos((Room *)g_manager); PersistentGameData::IncreaseEventCounter(pPVar9,6,1); pPVar9 = (PersistentGameData *)Room::GetTopLeftPos((Room *)g_manager); PersistentGameData::AddToCollection(pPVar9,0x2b); - uVar43 = *(uint *)((int)RVar44 + 0x1ed8); - pIVar35 = (ItemPool *)Game::GetItemPool(g_game); - ItemPool::GetPillEffect(pIVar35,uVar43,(Entity_Player *)RVar44); + uVar43 = *(uint *)&pEVar44->field_0x1ed8; + pIVar34 = (ItemPool *)Game::GetItemPool(g_game); + ItemPool::GetPillEffect(pIVar34,uVar43,pEVar44); UsePill(); - if (*(int *)((int)RVar44 + 0x1574) != 0) { - InvalidateCoPlayerItems((Entity_Player *)RVar44); + if (pEVar44->_cacheFlags != 0) { + InvalidateCoPlayerItems(pEVar44); EvaluateItems(); } - *(undefined4 *)((int)RVar44 + 0x1ed8) = 0xffffffff; - local_14 = (RNG)0xffffffff; + *(undefined4 *)&pEVar44->field_0x1ed8 = 0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } } - bVar4 = TemporaryEffects::HasNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x46); - if ((bVar4 != 0) && (cVar5 = IsExtraAnimationFinished((Entity_Player *)RVar44), cVar5 != '\0')) { - TemporaryEffects::RemoveNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x46,1); + bVar4 = TemporaryEffects::HasNullEffect(&pEVar44->_temporaryeffects,0x46); + if ((bVar4 != 0) && (cVar5 = IsExtraAnimationFinished(pEVar44), cVar5 != '\0')) { + TemporaryEffects::RemoveNullEffect(&pEVar44->_temporaryeffects,0x46,1); } - bVar4 = HasCollectible((Entity_Player *)RVar44,0x287,0); + bVar4 = HasCollectible(pEVar44,0x287,0); if (bVar4 != 0) { - if (*(int *)((int)RVar44 + 0x1ec8) < 1) { + if (*(int *)&pEVar44->field_0x1ec8 < 1) { Game::GetField26614(); cVar5 = FUN_00429550(); if (cVar5 == '\0') { @@ -527949,30 +528746,30 @@ LAB_0079bd65: FUN_007537b0(); } else { - auVar54 = ZEXT416((uint)(float)((double)*(int *)((int)RVar44 + 0x16b8) + + auVar54 = ZEXT416((uint)(float)((double)*(int *)&pEVar44->field_0x16b8 + __uint_to_double_fixup - [-(*(int *)((int)RVar44 + 0x16b8) >> 0x1f)])); + [-(*(int *)&pEVar44->field_0x16b8 >> 0x1f)])); } local_a04 = auVar54._0_4_; if (0.0 < (float)local_a04) { FUN_007d3560(); local_a68 = auVar54._0_4_ * (float)local_a04; - pAVar48 = (ActiveItemDesc *)((int)RVar44 + 0x1580); - local_a00 = (RNG)0x0; + pAVar48 = pEVar44->_activeDesc; + local_a00 = (Entity_Player *)0x0; do { auVar54 = ZEXT416((uint)local_a68); if (local_a68 <= 0.0) break; if (pAVar48->_item != 0) { pIVar15 = (ItemConfig *)Isaac::GetItemConfig(); ItemConfig::GetCollectible(pIVar15,pAVar48->_item); - local_a04 = (Entity_Tear *)GetActiveMaxCharge((Entity_Player *)RVar44,(int)local_a00); - iVar6 = GetActiveMaxCharge((Entity_Player *)RVar44,(int)local_a00); + local_a04 = (Entity_Tear *)GetActiveMaxCharge(pEVar44,(int)local_a00); + iVar6 = GetActiveMaxCharge(pEVar44,(int)local_a00); if ((iVar6 == 0) && ((pAVar48->_charge < (int)local_a04 || - ((bVar4 = HasCollectible((Entity_Player *)RVar44,0x3f,0), bVar4 != 0 && + ((bVar4 = HasCollectible(pEVar44,0x3f,0), bVar4 != 0 && (pAVar48->_batteryCharge < (int)local_a04)))))) { local_b84 = 1.0 - (float)pAVar48->_partialCharge; - local_c18 = 0; + local_c18 = 0.0; std::max(); pfVar7 = (float *)std::min(); local_a68 = local_a68 - *pfVar7; @@ -527980,23 +528777,23 @@ LAB_0079bd65: pAVar48->_partialCharge = (int)(*pfVar7 + (float)pAVar48->_partialCharge); } } - local_a00 = (RNG)((int)local_a00 + 1); + local_a00 = (Entity_Player *)&local_a00->field_0x1; pAVar48 = pAVar48 + 1; - } while ((uint)local_a00 < 4); + } while (local_a00 < &DAT_00000004); } } else { - local_c20 = Entity::GetHitPointsLost((Entity *)RVar44); - local_c20 = *(int *)((int)RVar44 + 0x1ec8) - local_c20; - local_c1c = 0; + iVar6 = Entity::GetHitPointsLost((Entity *)pEVar44); + local_c20 = (float)(*(int *)&pEVar44->field_0x1ec8 - iVar6); + local_c1c = 0.0; puVar12 = (undefined4 *)std::max(); - *(undefined4 *)((int)RVar44 + 0x1ec8) = *puVar12; + *(undefined4 *)&pEVar44->field_0x1ec8 = *puVar12; } } - bVar4 = HasCollectible((Entity_Player *)RVar44,0x2c0,0); - if (((bVar4 != 0) || (*(int *)((int)RVar44 + 0x13c0) == 0x1b)) && - (bVar4 = TemporaryEffects::HasCollectibleEffect - ((TemporaryEffects *)((int)RVar44 + 0x1508),0x2c0), bVar4 == 0)) { + bVar4 = HasCollectible(pEVar44,0x2c0,0); + if (((bVar4 != 0) || (pEVar44->_playerType == 0x1b)) && + (bVar4 = TemporaryEffects::HasCollectibleEffect(&pEVar44->_temporaryeffects,0x2c0), bVar4 == 0) + ) { Game::GetField26614(); cVar5 = FUN_00429550(); if (cVar5 == '\0') { @@ -528005,9 +528802,9 @@ LAB_0079bd65: FUN_007537b0(); } else { - auVar54 = ZEXT416((uint)(float)((double)*(int *)((int)RVar44 + 0x16b8) + + auVar54 = ZEXT416((uint)(float)((double)*(int *)&pEVar44->field_0x16b8 + __uint_to_double_fixup - [-(*(int *)((int)RVar44 + 0x16b8) >> 0x1f)])); + [-(*(int *)&pEVar44->field_0x16b8 >> 0x1f)])); } local_a04 = auVar54._0_4_; if (0.0 < (float)local_a04) { @@ -528016,23 +528813,23 @@ LAB_0079bd65: FUN_007d3560(); auVar54._0_4_ = auVar54._0_4_ * (float)local_a04 * 50000.0; iVar6 = (int)auVar54._0_4_; - if (*(int *)((int)RVar44 + 0x13c0) == 0x1b) { - add_samson_berserk_charge((Entity_Player *)RVar44); + if (pEVar44->_playerType == 0x1b) { + add_samson_berserk_charge(pEVar44); } - local_a08 = (RNG)((int)RVar44 + 0x1580); + local_a08 = (Entity_Player *)pEVar44->_activeDesc; local_a04 = (Entity_Tear *)0x0; do { if (iVar6 < 1) break; - if (*(int *)local_a08 == 0x2c0) { - iVar22 = AddActiveCharge((Entity_Player *)RVar44,iVar6,(int)local_a04,0,0,1); - iVar6 = iVar6 - iVar22; + if (*(int *)&local_a08->field_0x0 == 0x2c0) { + iVar23 = AddActiveCharge(pEVar44,iVar6,(int)local_a04,0,0,1); + iVar6 = iVar6 - iVar23; } local_a04 = (Entity_Tear *)((int)&((Vector *)local_a04)->x + 1); - local_a08 = (RNG)((int)local_a08 + 0x20); + local_a08 = (Entity_Player *)((int)local_a08 + 0x20); } while (local_a04 < &DAT_00000004); } } - if (*(int *)((int)RVar44 + 0x13c0) == 0x19) { + if (pEVar44->_playerType == 0x19) { Game::GetField26614(); cVar5 = FUN_00429550(); if (cVar5 == '\0') { @@ -528041,22 +528838,22 @@ LAB_0079bd65: FUN_007537b0(); } else { - auVar54 = ZEXT416((uint)(float)((double)*(int *)((int)RVar44 + 0x16b8) + + auVar54 = ZEXT416((uint)(float)((double)*(int *)&pEVar44->field_0x16b8 + __uint_to_double_fixup - [-(*(int *)((int)RVar44 + 0x16b8) >> 0x1f)])); + [-(*(int *)&pEVar44->field_0x16b8 >> 0x1f)])); } local_a04 = auVar54._0_4_; if (0.0 < (float)local_a04) { FUN_007d3560(); - fVar51 = auVar54._0_4_ * (float)local_a04 * 1.5 + *(float *)((int)RVar44 + 0x1f74); - *(float *)((int)RVar44 + 0x1f74) = fVar51; - if (1.0 <= fVar51) { - pEVar52 = (Entity_Familiar *)(int)fVar51; + fVar20 = auVar54._0_4_ * (float)local_a04 * 1.5 + *(float *)&pEVar44->field_0x1f74; + *(float *)&pEVar44->field_0x1f74 = fVar20; + if (1.0 <= fVar20) { + pEVar52 = (Entity_Familiar *)(int)fVar20; auVar54 = ZEXT416((uint)(float)(int)pEVar52); - *(float *)((int)RVar44 + 0x1f74) = fVar51 - (float)(int)pEVar52; + *(float *)&pEVar44->field_0x1f74 = fVar20 - (float)(int)pEVar52; local_a1c = pEVar52; if (0 < (int)pEVar52) { - local_a04 = (Entity_Tear *)((int)RVar44 + 0x33c); + local_a04 = (Entity_Tear *)&pEVar44->_pos; do { Random(); FUN_0058e240(); @@ -528070,17 +528867,17 @@ LAB_0079bd65: pcVar1 = *(code **)(*(int *)pEVar8 + 0x3c); Color::Color(); (*pcVar1)(); - local_c14 = 0x3f000000; + local_c14 = 0.5; Vector::__mul(); Entity::SetSpriteScale(pEVar8); random_float(); - RVar44 = local_a24; + pEVar44 = local_a24; auVar54._0_4_ = auVar54._0_4_ * 0.2 + 1.8; play_sound_with_fart_seed(); } } } - bVar4 = HasCollectible((Entity_Player *)RVar44,0x2d5,0); + bVar4 = HasCollectible(pEVar44,0x2d5,0); if (bVar4 != 0) { Game::GetField26614(); cVar5 = FUN_00429550(); @@ -528092,46 +528889,46 @@ LAB_0079bd65: } else { local_a04 = (Entity_Tear *) - (float)((double)*(int *)((int)RVar44 + 0x16b8) + - __uint_to_double_fixup[-(*(int *)((int)RVar44 + 0x16b8) >> 0x1f)]); + (float)((double)*(int *)&pEVar44->field_0x16b8 + + __uint_to_double_fixup[-(*(int *)&pEVar44->field_0x16b8 >> 0x1f)]); } if (0.0 < (float)local_a04) { FUN_007d3560(); FUN_007d9360(); } } - fVar51 = *(float *)((int)RVar44 + 0x20a0); - auVar55 = ZEXT416((uint)fVar51); - if (fVar51 < 0.0) { - local_bb0 = fVar51 + 0.016666668; + fVar20 = pEVar44->_ibsCharge; + auVar55 = ZEXT416((uint)fVar20); + if (fVar20 < 0.0) { + local_bb0 = fVar20 + 0.016666668; auVar55 = ZEXT416((uint)local_bb0); - local_c10 = 0; + local_c10 = 0.0; pfVar7 = (float *)std::min(); - *(float *)((int)RVar44 + 0x20a0) = *pfVar7; + pEVar44->_ibsCharge = *pfVar7; } - pTVar18 = (TemporaryEffects *)((int)RVar44 + 0x1508); + pTVar18 = &pEVar44->_temporaryeffects; local_a04 = (Entity_Tear *)TemporaryEffects::GetCollectibleEffectNum(pTVar18,699); pRVar11 = (Room *)Level::GetCurrentRoom((Level *)g_game); iVar6 = Room::GetFrameCount(pRVar11); if ((iVar6 == 3) || (local_a04 == (Entity_Tear *)&DAT_00000005)) { - bVar4 = HasCollectible((Entity_Player *)RVar44,699,0); + bVar4 = HasCollectible(pEVar44,699,0); if (bVar4 == 0) { TemporaryEffects::RemoveCollectibleEffect(pTVar18,699,-1); pIVar15 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar24 = ItemConfig::GetCollectible(pIVar15,699); - RemoveCostume((Entity_Player *)RVar44,pIVar24); + pIVar25 = ItemConfig::GetCollectible(pIVar15,699); + RemoveCostume(pEVar44,pIVar25); Isaac::GetItemConfig(); - pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); - RemoveCostume((Entity_Player *)RVar44,pIVar24); + pIVar25 = (ItemConfig_Item *)Config::GetNullItem(); + RemoveCostume(pEVar44,pIVar25); Isaac::GetItemConfig(); - pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); - RemoveCostume((Entity_Player *)RVar44,pIVar24); + pIVar25 = (ItemConfig_Item *)Config::GetNullItem(); + RemoveCostume(pEVar44,pIVar25); Isaac::GetItemConfig(); - pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); - RemoveCostume((Entity_Player *)RVar44,pIVar24); + pIVar25 = (ItemConfig_Item *)Config::GetNullItem(); + RemoveCostume(pEVar44,pIVar25); Isaac::GetItemConfig(); - pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); - RemoveCostume((Entity_Player *)RVar44,pIVar24); + pIVar25 = (ItemConfig_Item *)Config::GetNullItem(); + RemoveCostume(pEVar44,pIVar25); } else { Level::GetCurrentRoom((Level *)g_game); @@ -528167,110 +528964,108 @@ LAB_0079c87f: (**(code **)(*piVar27 + 0x40))(); EntityPtr::SetReference(); BitSet128::__bnot(); - pauVar37 = (undefined1 (*) [16])BitSet128::operator_and(); - auVar55 = *pauVar37; + pauVar36 = (undefined1 (*) [16])BitSet128::operator_and(); + auVar55 = *pauVar36; FUN_00456830(); (**(code **)(*piVar27 + 0x3c))(); (**(code **)(*piVar27 + 0xc))(); Isaac::GetItemConfig(); bVar4 = 0; - pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); - AddCostume((Entity_Player *)RVar44,pIVar24,bVar4); + pIVar25 = (ItemConfig_Item *)Config::GetNullItem(); + AddCostume(pEVar44,pIVar25,bVar4); std::string::string_from_cstr(); - local_14 = (RNG)0x11; + local_14 = 2.38221e-44; std::string::string_from_cstr(); - local_14._0_1_ = 0x12; + local_14._0_1_ = '\x12'; std::string::string_from_cstr(); - local_14._0_1_ = 0x13; + local_14._0_1_ = '\x13'; std::string::string_from_cstr(); - local_14._0_1_ = 0x14; + local_14._0_1_ = '\x14'; string_from_direction(); - local_14._0_1_ = 0x15; - play_null_costume_anim((Entity_Player *)RVar44); + local_14 = (float)CONCAT31(local_14._1_3_,0x15); + play_null_costume_anim(pEVar44); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); - local_14 = (RNG)0xffffffff; + local_14 = -NAN; std::string::_Tidy_deallocate(); } } } - bVar4 = HasCollectible((Entity_Player *)RVar44,0x26b,0); + bVar4 = HasCollectible(pEVar44,0x26b,0); if (bVar4 != 0) { - if (*(int *)((int)RVar44 + 0x13c0) == 5) { - cVar5 = IsCoopGhost((Entity_Player *)RVar44); - if (((cVar5 == '\0') && (bVar4 = HasCollectible((Entity_Player *)RVar44,0x75,0), bVar4 != 0)) - && (bVar4 = TemporaryEffects::HasCollectibleEffect - ((TemporaryEffects *)((int)RVar44 + 0x1508),0x75), bVar4 == 0)) { - TemporaryEffects::AddCollectibleEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x75,1,1); + if (pEVar44->_playerType == 5) { + cVar5 = IsCoopGhost(pEVar44); + if (((cVar5 == '\0') && (bVar4 = HasCollectible(pEVar44,0x75,0), bVar4 != 0)) && + (bVar4 = TemporaryEffects::HasCollectibleEffect(&pEVar44->_temporaryeffects,0x75), + bVar4 == 0)) { + TemporaryEffects::AddCollectibleEffect(&pEVar44->_temporaryeffects,0x75,1,1); pIVar15 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar24 = ItemConfig::GetCollectible(pIVar15,0x75); - RemoveCostume((Entity_Player *)RVar44,pIVar24); + pIVar25 = ItemConfig::GetCollectible(pIVar15,0x75); + RemoveCostume(pEVar44,pIVar25); } } - else if (*(int *)((int)RVar44 + 0x13c0) == 0x21) { + else if (pEVar44->_playerType == 0x21) { Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); - local_a1c = (Entity_Familiar *)((int)RVar44 + 0x33c); + local_a1c = (Entity_Familiar *)&pEVar44->_pos; EntityList::QueryRadius(); - local_14 = (RNG)0x16; + local_14 = 3.08286e-44; iVar6 = EntityList::Size(); if (iVar6 != 0) { uVar43 = 0; do { std::vector::operator_index(); - pEVar38 = (Entity_Pickup *)FUN_00435e30(); - if (((pEVar38 != (Entity_Pickup *)0x0) && - (cVar5 = Entity::IsType((Entity *)pEVar38), cVar5 != '\0')) && - ((iVar6 = Entity_Pickup::Timeout(pEVar38), 0 < iVar6 && - (cVar5 = Entity::IsDead((Entity *)pEVar38), cVar5 == '\0')))) { - Entity::Position((Entity *)pEVar38); + pEVar37 = (Entity_Pickup *)FUN_00435e30(); + if (((pEVar37 != (Entity_Pickup *)0x0) && + (cVar5 = Entity::IsType((Entity *)pEVar37), cVar5 != '\0')) && + ((iVar6 = Entity_Pickup::Timeout(pEVar37), 0 < iVar6 && + (cVar5 = Entity::IsDead((Entity *)pEVar37), cVar5 == '\0')))) { + Entity::Position((Entity *)pEVar37); Vector::__sub(); fVar50 = (float10)Vector::LengthSquared(); local_a04 = (Entity_Tear *)(float)fVar50; auVar55 = ZEXT416(local_a04); if (16.0 < (float)local_a04) { Vector::Resized(); - Entity::SetVelocity((Entity *)pEVar38); + Entity::SetVelocity((Entity *)pEVar37); FUN_0044bfa0(); } } uVar43 = uVar43 + 1; - uVar23 = EntityList::Size(); - } while (uVar43 < uVar23); - RVar44 = local_a24; + uVar24 = EntityList::Size(); + } while (uVar43 < uVar24); + pEVar44 = local_a24; } - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } } - bVar4 = HasCollectible((Entity_Player *)RVar44,0x75,0); - if ((((bVar4 != 0) && - ((*(int *)((int)RVar44 + 0x13c0) == 10 || (*(int *)((int)RVar44 + 0x13c0) == 0x1f)))) && - (cVar5 = IsCoopGhost((Entity_Player *)RVar44), cVar5 == '\0')) && - (bVar4 = TemporaryEffects::HasCollectibleEffect - ((TemporaryEffects *)((int)RVar44 + 0x1508),0x75), bVar4 == 0)) { - TemporaryEffects::AddCollectibleEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x75,1,1); + bVar4 = HasCollectible(pEVar44,0x75,0); + if ((((bVar4 != 0) && ((pEVar44->_playerType == 10 || (pEVar44->_playerType == 0x1f)))) && + (cVar5 = IsCoopGhost(pEVar44), cVar5 == '\0')) && + (bVar4 = TemporaryEffects::HasCollectibleEffect(&pEVar44->_temporaryeffects,0x75), bVar4 == 0)) + { + TemporaryEffects::AddCollectibleEffect(&pEVar44->_temporaryeffects,0x75,1,1); } - pvVar10 = TemporaryEffects::GetCollectibleEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x2c9) - ; - if (pvVar10 != (void *)0x0) { + pvVar51 = TemporaryEffects::GetCollectibleEffect(&pEVar44->_temporaryeffects,0x2c9); + if (pvVar51 != (void *)0x0) { Level::GetCurrentRoom((Level *)g_game); - pEVar36 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar36); - local_14 = (RNG)0x17; + pEVar35 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar35); + local_14 = 3.22299e-44; local_a04 = (Entity_Tear *)0x0; iVar6 = EntityList::Size(); if (iVar6 != 0) { do { puVar12 = (undefined4 *)std::vector::operator_index(); pEVar52 = (Entity_Familiar *)*puVar12; - RVar13 = (RNG)Entity_Familiar::Player(pEVar52); - if (((RVar13 == RVar44) && (iVar6 = FUN_0060d110(), iVar6 == 0)) && + pEVar45 = (Entity_Player *)Entity_Familiar::Player(pEVar52); + if (((pEVar45 == pEVar44) && (iVar6 = FUN_0060d110(), iVar6 == 0)) && (iVar6 = Entity::SubType((Entity *)pEVar52), iVar6 != 7)) { FUN_00436200(); - bVar4 = HasCollectible((Entity_Player *)RVar44,0x248,0); + bVar4 = HasCollectible(pEVar44,0x248,0); if (bVar4 != 0) { AddWisp(); } @@ -528278,16 +529073,16 @@ LAB_0079c87f: } puVar41 = &local_a04->field_0x1; local_a04 = (Entity_Tear *)puVar41; - puVar29 = (undefined1 *)EntityList::Size(); - } while (puVar41 < puVar29); + puVar13 = (undefined1 *)EntityList::Size(); + } while (puVar41 < puVar13); } - TemporaryEffects::RemoveCollectibleEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x2c9,-1); + TemporaryEffects::RemoveCollectibleEffect(&pEVar44->_temporaryeffects,0x2c9,-1); LAB_0079ce72: - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } - bVar4 = HasCollectible((Entity_Player *)RVar44,0x27a,0); - if ((bVar4 != 0) && (cVar5 = Entity::IsFrame((Entity *)RVar44), cVar5 != '\0')) { + bVar4 = HasCollectible(pEVar44,0x27a,0); + if ((bVar4 != 0) && (cVar5 = Entity::IsFrame((Entity *)pEVar44), cVar5 != '\0')) { Level::GetCurrentRoom((Level *)g_game); cVar5 = Room::IsClear(); if (cVar5 != '\0') { @@ -528296,19 +529091,19 @@ LAB_0079ce72: if (cVar5 == '\0') goto LAB_0079cfcb; } Level::GetCurrentRoom((Level *)g_game); - pEVar36 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar36); - local_14 = (RNG)0x18; + pEVar35 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar35); + local_14 = 3.36312e-44; uVar43 = 0; iVar6 = EntityList::Size(); if (iVar6 != 0) { do { puVar12 = (undefined4 *)std::vector::operator_index(); - RVar13 = (RNG)Entity::SpawnerEntity((Entity *)*puVar12); - if (RVar13 == RVar44) goto LAB_0079cfb9; + pEVar45 = (Entity_Player *)Entity::SpawnerEntity((Entity *)*puVar12); + if (pEVar45 == pEVar44) goto LAB_0079cfb9; uVar43 = uVar43 + 1; - uVar23 = EntityList::Size(); - } while (uVar43 < uVar23); + uVar24 = EntityList::Size(); + } while (uVar43 < uVar24); } pRVar11 = (Room *)Level::GetCurrentRoom((Level *)g_game); Room::get_random_pickup_position(pRVar11); @@ -528317,17 +529112,17 @@ LAB_0079ce72: piVar27 = (int *)Game::Spawn(); (**(code **)(*piVar27 + 0xc))(); LAB_0079cfb9: - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } LAB_0079cfcb: - bVar4 = HasCollectible((Entity_Player *)RVar44,0x114,0); + bVar4 = HasCollectible(pEVar44,0x114,0); if (bVar4 != 0) { Level::GetCurrentRoom((Level *)g_game); pEVar28 = (EntityList_EL *)Room::GetEntities(); EntityList_EL::constructor(local_c84,pEVar28); - local_14 = (RNG)0x19; - local_a08 = (RNG)0x0; + local_14 = 3.50325e-44; + local_a08 = (Entity_Player *)0x0; iVar6 = EntityList::Size(); if (iVar6 != 0) { do { @@ -528335,20 +529130,20 @@ LAB_0079cfcb: local_a04 = (Entity_Tear *)FUN_004aad40(); puVar12 = (undefined4 *)std::vector::operator_index(); pEVar8 = (Entity *)Entity::to_npc_or_coop_player((Entity *)*puVar12); - pEVar33 = local_a04; + pEVar32 = local_a04; if (local_a04 == (Entity_Tear *)0x0) { if (pEVar8 != (Entity *)0x0) { FUN_00417340(); - auVar55._0_4_ = auVar55._0_4_ + *(float *)((int)RVar44 + 0x370) + 8.0; + auVar55._0_4_ = auVar55._0_4_ + pEVar44->_size + 8.0; local_a70 = auVar55._0_4_; iVar6 = Entity::EntityCollisionClass(pEVar8); if (iVar6 != 0) { pfVar7 = (float *)Entity::Position(pEVar8); - auVar55 = ZEXT416((uint)(*pfVar7 - ((Vector *)((int)RVar44 + 0x33c))->x)); + auVar55 = ZEXT416((uint)(*pfVar7 - (pEVar44->_pos).x)); FUN_0041d510(); if (auVar55._0_4_ < local_a70) { iVar6 = Entity::Position(pEVar8); - auVar55 = ZEXT416((uint)(*(float *)(iVar6 + 4) - *(float *)((int)RVar44 + 0x340))); + auVar55 = ZEXT416((uint)(*(float *)(iVar6 + 4) - (pEVar44->_pos).y)); FUN_0041d510(); if (auVar55._0_4_ < local_a70) { Entity::Position(pEVar8); @@ -528379,67 +529174,67 @@ LAB_0079cfcb: } else { FUN_00417340(); - local_a34 = (Entity_Tear *)(auVar55._0_4_ + *(float *)((int)RVar44 + 0x370) + 20.0); - fVar50 = (float10)Entity_Tear::Height(pEVar33); + local_a34 = (Entity_Tear *)(auVar55._0_4_ + pEVar44->_size + 20.0); + fVar50 = (float10)Entity_Tear::Height(pEVar32); local_a1c = (Entity_Familiar *)(float)fVar50; auVar55 = ZEXT416(local_a1c); if (-90.0 < (float)local_a1c) { - pfVar7 = (float *)Entity::Position((Entity *)pEVar33); - auVar55 = ZEXT416((uint)(*pfVar7 - ((Vector *)((int)RVar44 + 0x33c))->x)); + pfVar7 = (float *)Entity::Position((Entity *)pEVar32); + auVar55 = ZEXT416((uint)(*pfVar7 - (pEVar44->_pos).x)); FUN_0041d510(); if (auVar55._0_4_ < (float)local_a34) { - iVar6 = Entity::Position((Entity *)pEVar33); - auVar55 = ZEXT416((uint)(*(float *)(iVar6 + 4) - *(float *)((int)RVar44 + 0x340))); + iVar6 = Entity::Position((Entity *)pEVar32); + auVar55 = ZEXT416((uint)(*(float *)(iVar6 + 4) - (pEVar44->_pos).y)); FUN_0041d510(); if (auVar55._0_4_ < (float)local_a34) { - Entity::Position((Entity *)pEVar33); + Entity::Position((Entity *)pEVar32); fVar50 = (float10)Vector::Distance(); auVar55 = ZEXT416(local_a34); local_a1c = (Entity_Familiar *)(float)fVar50; if ((float)local_a1c < (float)local_a34) { - Entity::Die((Entity *)pEVar33); + Entity::Die((Entity *)pEVar32); } } } } } - pAVar48 = (ActiveItemDesc *)((int)(int *)local_a08 + 1); - local_a08 = (RNG)pAVar48; - puVar29 = (undefined1 *)EntityList::Size(); - } while (pAVar48 < puVar29); + pAVar48 = (ActiveItemDesc *)((int)&local_a08->field_0x0 + 1); + local_a08 = (Entity_Player *)pAVar48; + puVar13 = (undefined1 *)EntityList::Size(); + } while (pAVar48 < puVar13); } - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } - bVar4 = HasTrinket((Entity_Player *)RVar44,0x7d,0); + bVar4 = HasTrinket(pEVar44,0x7d,0); if (bVar4 != 0) { Level::GetCurrentRoom((Level *)g_game); - pEVar36 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar36); - local_14 = (RNG)0x1a; + pEVar35 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar35); + local_14 = 3.64338e-44; FUN_00424510(); - local_14._0_1_ = 0x1b; + local_14 = (float)CONCAT31(local_14._1_3_,0x1b); Game::GetField26614(); cVar5 = FUN_00429550(); if (cVar5 == '\0') { EntityList::Size(); Game::GetNumPlayers(g_game); FUN_0042c820(); - uVar43 = 0; + fVar20 = 0.0; local_a04 = (Entity_Tear *)0x0; iVar6 = Game::GetNumPlayers(g_game); if (iVar6 != 0) { do { - RVar13 = (RNG)Game::GetPlayer(g_game,uVar43); - if (((RVar13 != RVar44) && (cVar5 = Entity::IsDead((Entity *)RVar13), cVar5 == '\0')) && - (cVar5 = Entity::Visible((Entity *)RVar13), cVar5 != '\0')) { - local_c08 = RVar13; + pEVar45 = Game::GetPlayer(g_game,(uint)fVar20); + if (((pEVar45 != pEVar44) && (cVar5 = Entity::IsDead((Entity *)pEVar45), cVar5 == '\0')) + && (cVar5 = Entity::Visible((Entity *)pEVar45), cVar5 != '\0')) { + local_c08 = pEVar45; std::vector::push_back(); } - uVar43 = (int)local_a04 + 1; - local_a04 = (Entity_Tear *)uVar43; - uVar23 = Game::GetNumPlayers(g_game); - } while (uVar43 < uVar23); + fVar20 = (float)((int)local_a04 + 1); + local_a04 = (Entity_Tear *)fVar20; + fVar38 = (float)Game::GetNumPlayers(g_game); + } while ((uint)fVar20 < (uint)fVar38); } } else { @@ -528463,19 +529258,19 @@ LAB_0079cfcb: } puVar41 = &local_a04->field_0x1; local_a04 = (Entity_Tear *)puVar41; - puVar29 = (undefined1 *)EntityList::Size(); - } while (puVar41 < puVar29); + puVar13 = (undefined1 *)EntityList::Size(); + } while (puVar41 < puVar13); } iVar6 = std::vector::size(); if (iVar6 != 0) { iVar6 = 2; - iVar22 = std::vector::size(); - if (iVar22 == 1) { + iVar23 = std::vector::size(); + if (iVar23 == 1) { iVar6 = 0x3c; } else { - iVar22 = std::vector::size(); - if (iVar22 == 2) { + iVar23 = std::vector::size(); + if (iVar23 == 2) { iVar6 = 10; } else { @@ -528485,25 +529280,25 @@ LAB_0079cfcb: } } } - iVar22 = Game::GetFrameCount(g_game); - if (iVar22 % iVar6 == 0) { - if (*(int *)((int)RVar44 + 0x176c) == -1) { + iVar23 = Game::GetFrameCount(g_game); + if (iVar23 % iVar6 == 0) { + if (pEVar44->_extensionCordIndex == -1) { LAB_0079d585: iVar6 = std::vector::size(); iVar6 = iVar6 + -1; - *(int *)((int)RVar44 + 0x176c) = iVar6; + pEVar44->_extensionCordIndex = iVar6; } else { - iVar6 = *(int *)((int)RVar44 + 0x176c); - iVar22 = std::vector::size(); - if (iVar22 <= iVar6) goto LAB_0079d585; + iVar6 = pEVar44->_extensionCordIndex; + iVar23 = std::vector::size(); + if (iVar23 <= iVar6) goto LAB_0079d585; } if (-1 < iVar6) { puVar12 = (undefined4 *)FUN_0042c810(); Entity::Position((Entity *)*puVar12); - local_aa0 = ((Vector *)((int)RVar44 + 0x33c))->x; - local_a9c = *(float *)((int)RVar44 + 0x340); - if (0 < *(int *)((int)RVar44 + 0x176c)) { + local_aa0 = (EntityPtr)(pEVar44->_pos).x; + local_a9c = (pEVar44->_pos).y; + if (0 < pEVar44->_extensionCordIndex) { puVar12 = (undefined4 *)FUN_0042c810(); Entity::Position((Entity *)*puVar12); Vector::operator_assign(); @@ -528511,7 +529306,7 @@ LAB_0079d585: fVar50 = (float10)Vector::DistanceSquared(); local_a1c = (Entity_Familiar *)(float)fVar50; if (400.0 < (float)local_a1c) { - iVar6 = GetTrinketMultiplier((Entity_Player *)RVar44,0x7d); + iVar6 = GetTrinketMultiplier(pEVar44,0x7d); local_a04 = (Entity_Tear *)((float)iVar6 * 6.0); FUN_0042c810(); Vector::Vector(); @@ -528529,24 +529324,23 @@ LAB_0079d585: (*pcVar1)(); Entity_Laser::set_disable_init_sound(pEVar39); (**(code **)(*(int *)pEVar39 + 0xc))(); - RVar44 = local_a24; + pEVar44 = local_a24; } - piVar27 = (int *)((int)RVar44 + 0x176c); + piVar27 = &pEVar44->_extensionCordIndex; *piVar27 = *piVar27 + -1; if (*piVar27 < 0) { iVar6 = std::vector::size(); - *(int *)((int)RVar44 + 0x176c) = iVar6 + -1; + pEVar44->_extensionCordIndex = iVar6 + -1; } } } } FID_conflict__Tidy(local_a4c); - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); } - if ((0 < *(int *)((int)RVar44 + 0x18f4)) && - (cVar5 = AreControlsEnabled((Entity_Player *)RVar44), cVar5 != '\0')) { - *(int *)((int)RVar44 + 0x18f4) = *(int *)((int)RVar44 + 0x18f4) + -1; + if ((0 < pEVar44->_megaBlastDuration) && (cVar5 = AreControlsEnabled(pEVar44), cVar5 != '\0')) { + pEVar44->_megaBlastDuration = pEVar44->_megaBlastDuration + -1; Isaac::Random(2); GetTearHitParams(); Isaac::GetAxisAlignedUnitVectorFromDir(); @@ -528555,13 +529349,13 @@ LAB_0079d585: Vector::operator_assign(); } fVar50 = (float10)Vector::GetAngleDegrees(); - local_a1c = (Entity_Familiar *)((int)RVar44 + 0x1458); + local_a1c = (Entity_Familiar *)&pEVar44->_megaBlastLaser; local_a04 = (Entity_Tear *)(float)fVar50; - if ((*(int *)local_a1c == 0) && (0xf < *(int *)((int)RVar44 + 0x18f4))) { - HasCollectible((Entity_Player *)local_a24,0x44,0); + if ((*(void **)local_a1c == (void *)0x0) && (0xf < pEVar44->_megaBlastDuration)) { + HasCollectible(local_a24,0x44,0); Vector::Vector(); - local_c00 = 0; - local_bfc = *(int *)((int)local_a24 + 0x18f4) + -0xf; + local_c00 = (void *)0x0; + local_bfc = (void *)(local_a24->_megaBlastDuration + -0xf); std::max(); pEVar39 = (Entity_Laser *)Entity_Laser::ShootAngle(); pcVar1 = *(code **)(*(int *)pEVar39 + 0x40); @@ -528578,7 +529372,7 @@ LAB_0079d585: BitSet128::__bnot(); BitSet128::operator_and(); FUN_00456830(); - RVar44 = local_a24; + pEVar44 = local_a24; (**(code **)(*(int *)pEVar39 + 0x3c))(); (**(code **)(*(int *)pEVar39 + 0xc))(); } @@ -528588,7 +529382,7 @@ LAB_0079d585: local_a1c = (Entity_Familiar *)(float)fVar50; LerpAngleDeg(); Entity_NPC::SetAimAngle(); - GetLaserOffset((Entity_Player *)RVar44,local_f70,4,&local_ac4); + GetLaserOffset(pEVar44,local_f70,4,&local_ac4); Entity::SetPositionOffset((Entity *)pEVar40); BitSet128::__bnot(); BitSet128::operator_and(); @@ -528602,18 +529396,18 @@ LAB_0079d585: set_field_358(); } Vector::__unm(); - local_bf8 = 0x3f59999a; + local_bf8 = 0.85; Vector::__mul(); - Entity::AddVelocity((Entity *)RVar44); - *(int *)((int)RVar44 + 0x1338) = 7; - if (*(int *)((int)RVar44 + 0x18f4) < 1) { + Entity::AddVelocity((Entity *)pEVar44); + pEVar44->_blinkTime = 7; + if (pEVar44->_megaBlastDuration < 1) { Isaac::GetItemConfig(); - pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); - RemoveCostume((Entity_Player *)RVar44,pIVar24); + pIVar25 = (ItemConfig_Item *)Config::GetNullItem(); + RemoveCostume(pEVar44,pIVar25); } } - if ((*(int *)((int)RVar44 + 0x1f00) != 0) && - (cVar5 = AreControlsEnabled((Entity_Player *)RVar44), cVar5 != '\0')) { + if ((*(int *)&pEVar44->field_0x1f00 != 0) && (cVar5 = AreControlsEnabled(pEVar44), cVar5 != '\0')) + { Isaac::Random(2); GetTearHitParams(); Isaac::GetAxisAlignedUnitVectorFromDir(); @@ -528629,7 +529423,7 @@ LAB_0079d585: local_a28 = (Entity_Tear *)(float)fVar50; LerpAngleDeg(); Entity_NPC::SetAimAngle(); - GetLaserOffset((Entity_Player *)RVar44,local_f88,4,&local_a78); + GetLaserOffset(pEVar44,local_f88,4,&local_a78); Entity::SetPositionOffset((Entity *)pEVar40); BitSet128::__bnot(); BitSet128::operator_and(); @@ -528643,48 +529437,48 @@ LAB_0079d585: set_field_358(); } Vector::__unm(); - local_bf4 = 0x3e19999a; + local_bf4 = 0.15; Vector::__mul(); - Entity::AddVelocity((Entity *)RVar44); + Entity::AddVelocity((Entity *)pEVar44); std::string::string_from_cstr(); - local_14 = (RNG)0x1c; + local_14 = 3.92364e-44; std::string::string_from_cstr(); - local_14._0_1_ = 0x1d; + local_14._0_1_ = '\x1d'; std::string::string_from_cstr(); - local_14._0_1_ = 0x1e; + local_14._0_1_ = '\x1e'; std::string::string_from_cstr(); - local_14._0_1_ = 0x1f; + local_14._0_1_ = '\x1f'; string_from_direction(); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); - local_14._0_1_ = 0x24; + local_14 = (float)CONCAT31(local_14._1_3_,0x24); std::string::_Tidy_deallocate(); - play_null_costume_anim((Entity_Player *)RVar44); + play_null_costume_anim(pEVar44); Isaac::GetItemConfig(); Config::GetNullItem(); - iVar6 = get_costume_anim_frame((Entity_Player *)RVar44); + iVar6 = get_costume_anim_frame(pEVar44); if (0xf < iVar6) { - play_item_costume_anim(); + play_item_costume_anim(pEVar44); } - *(int *)((int)RVar44 + 0x1338) = 7; - local_14 = (RNG)0xffffffff; + pEVar44->_blinkTime = 7; + local_14 = -NAN; std::string::_Tidy_deallocate(); } - iVar6 = TemporaryEffects::GetCollectibleEffectNum((TemporaryEffects *)((int)RVar44 + 0x1508),699); - if ((5 < iVar6) && (*(int *)((int)RVar44 + 0x1f00) == 0)) { - TemporaryEffects::RemoveCollectibleEffect((TemporaryEffects *)((int)RVar44 + 0x1508),699,-1); + iVar6 = TemporaryEffects::GetCollectibleEffectNum(&pEVar44->_temporaryeffects,699); + if ((5 < iVar6) && (*(int *)&pEVar44->field_0x1f00 == 0)) { + TemporaryEffects::RemoveCollectibleEffect(&pEVar44->_temporaryeffects,699,-1); Isaac::GetItemConfig(); - pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); - RemoveCostume((Entity_Player *)RVar44,pIVar24); + pIVar25 = (ItemConfig_Item *)Config::GetNullItem(); + RemoveCostume(pEVar44,pIVar25); pIVar15 = (ItemConfig *)Isaac::GetItemConfig(); bVar4 = 0; - pIVar24 = ItemConfig::GetCollectible(pIVar15,699); - AddCostume((Entity_Player *)RVar44,pIVar24,bVar4); + pIVar25 = ItemConfig::GetCollectible(pIVar15,699); + AddCostume(pEVar44,pIVar25,bVar4); } - if ((*(void **)((int)RVar44 + 0x1ee4) != (void *)0x0) && - (cVar5 = AreControlsEnabled((Entity_Player *)RVar44), cVar5 != '\0')) { - local_a28 = (Entity_Tear *)(*(float *)((int)RVar44 + 0x1ae4) + 180.0); + if ((pEVar44->_montezumaLaser != (void *)0x0) && + (cVar5 = AreControlsEnabled(pEVar44), cVar5 != '\0')) { + local_a28 = (Entity_Tear *)(pEVar44->_bodyAngle + 180.0); local_a04 = (Entity_Tear *)FUN_00435df0(); if (local_a04 != (Entity_Tear *)0x0) { Vector::FromAngle(); @@ -528694,35 +529488,35 @@ LAB_0079d585: Entity_NPC::SetAimAngle(); } } - if ((0 < *(int *)((int)RVar44 + 0x188c)) && - (iVar6 = *(int *)((int)RVar44 + 0x188c) + -1, *(int *)((int)RVar44 + 0x188c) = iVar6, - iVar6 == 0)) { - if ((*(int *)((int)RVar44 + 0x13c0) == 3) && - ((bVar4 = HasCollectible((Entity_Player *)RVar44,0x26b,0), bVar4 != 0 && - (bVar4 = TemporaryEffects::HasCollectibleEffect - ((TemporaryEffects *)((int)RVar44 + 0x1508),0x1db), bVar4 == 0)))) { - TemporaryEffects::AddCollectibleEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x1db,0,1); + if ((0 < pEVar44->_planCKillCountdown) && + (iVar6 = pEVar44->_planCKillCountdown + -1, pEVar44->_planCKillCountdown = iVar6, iVar6 == 0)) + { + if ((pEVar44->_playerType == 3) && + ((bVar4 = HasCollectible(pEVar44,0x26b,0), bVar4 != 0 && + (bVar4 = TemporaryEffects::HasCollectibleEffect(&pEVar44->_temporaryeffects,0x1db), + bVar4 == 0)))) { + TemporaryEffects::AddCollectibleEffect(&pEVar44->_temporaryeffects,0x1db,0,1); } - pcVar1 = *(code **)(*(int *)RVar44 + 0x24); + pcVar1 = *(code **)(*(int *)pEVar44 + 0x24); EntityRef::EntityRef(); (*pcVar1)(); - *(undefined4 *)((int)RVar44 + 0x16a8) = 0; - *(undefined4 *)((int)RVar44 + 0x16ac) = 0; - ((EntityRef *)((int)RVar44 + 0x167c))->_type = 0; - *(int *)((int)RVar44 + 0x1680) = 0; + *(undefined4 *)&pEVar44->_lastDamageFlags = 0; + *(undefined4 *)((int)&pEVar44->_lastDamageFlags + 4) = 0; + (pEVar44->_lastDamageSource)._type = 0; + (pEVar44->_lastDamageSource)._variant = 0; } - cVar5 = HasPlayerForm((Entity_Player *)RVar44); + cVar5 = HasPlayerForm(pEVar44); if (cVar5 != '\0') { fVar50 = (float10)Vector::LengthSquared(); local_a1c = (Entity_Familiar *)(float)fVar50; auVar54 = ZEXT416(local_a1c); if (1.0 < (float)local_a1c) { - cVar5 = Entity::IsFrame((Entity *)RVar44); + cVar5 = Entity::IsFrame((Entity *)pEVar44); if (cVar5 != '\0') { local_a1c = (Entity_Familiar *)Random(); - local_bf0 = 0x3f333333; + local_bf0 = 0.7; local_a28 = (Entity_Tear *)Vector::__mul(); - Entity::Position((Entity *)RVar44); + Entity::Position((Entity *)pEVar44); MusicManager::RandomVector(); random_float(); local_bec = auVar54._0_4_ * 20.0; @@ -528738,27 +529532,27 @@ LAB_0079d585: local_a28 = (Entity_Tear *)&DAT_bf800000; } random_float(); - Entity_Effect::set_rotation(); + Entity_Effect::set_rotation(pEVar16); Isaac::Random(0xf); Entity_Effect::SetTimeout(pEVar16); (**(code **)(*(int *)pEVar16 + 0xc))(); - RVar44 = local_a24; + pEVar44 = local_a24; } } } - bVar4 = HasCollectible((Entity_Player *)RVar44,0x1bf,0); + bVar4 = HasCollectible(pEVar44,0x1bf,0); if (bVar4 != 0) { FUN_00428b50(); cVar5 = FUN_0082ee30(); - if ((((cVar5 == '\0') && (cVar5 = AreControlsEnabled((Entity_Player *)RVar44), cVar5 != '\0')) - && (*(int *)((int)RVar44 + 0x418) < 1)) && - ((*(uint *)((int)RVar44 + 0x18f0) % 0xf0 < 2 && (1 < *(uint *)((int)RVar44 + 0x18f0))))) { + if ((((cVar5 == '\0') && (cVar5 = AreControlsEnabled(pEVar44), cVar5 != '\0')) && + (pEVar44->_fireBlockCooldown < 1)) && + ((*(uint *)&pEVar44->field_0x18f0 % 0xf0 < 2 && (1 < *(uint *)&pEVar44->field_0x18f0)))) { Random(); pEVar8 = (Entity *)Game::Spawn(); - bVar4 = HasTrinket((Entity_Player *)RVar44,0x86,0); + bVar4 = HasTrinket(pEVar44,0x86,0); if (bVar4 != 0) { Entity::SpriteScale(pEVar8); - local_be8 = 0x40000000; + local_be8 = 2.0; Vector::operator_mul(); Entity::SetSpriteScale(pEVar8); } @@ -528768,47 +529562,46 @@ LAB_0079d585: } Game::GetField26614(); cVar5 = FUN_00429550(); - if (((cVar5 != '\0') && (bVar4 = HasCollectible((Entity_Player *)RVar44,0x2b5,0), bVar4 != 0)) && - (cVar5 = Entity::IsFrame((Entity *)RVar44), cVar5 != '\0')) { + if (((cVar5 != '\0') && (bVar4 = HasCollectible(pEVar44,0x2b5,0), bVar4 != 0)) && + (cVar5 = Entity::IsFrame((Entity *)pEVar44), cVar5 != '\0')) { AddSwarmFlyOrbital(); } Game::GetField26614(); cVar5 = FUN_00429550(); - if ((((cVar5 != '\0') && (*(byte *)((int)RVar44 + 0x173) == 0)) && - (*(int *)((int)RVar44 + 0x2c) == 0)) && - (cVar5 = IsCoopGhost((Entity_Player *)RVar44), cVar5 == '\0')) { + if ((((cVar5 != '\0') && (pEVar44->_dead == 0)) && (pEVar44->_variant == 0)) && + (cVar5 = IsCoopGhost(pEVar44), cVar5 == '\0')) { local_a28 = (Entity_Tear *)0x4e6e6b28; - puVar29 = (undefined1 *)0x0; - local_9fc = (RNG)0x0; + puVar13 = (undefined1 *)0x0; + local_9fc = (Entity_Player *)0x0; local_a04 = (Entity_Tear *)0x0; iVar6 = Game::GetNumPlayers(g_game); if (iVar6 != 0) { do { - RVar13 = (RNG)Game::GetPlayer(g_game,(uint)puVar29); - if (RVar13 != RVar44) { - bVar4 = HasCollectible((Entity_Player *)RVar13,0x2b8,0); + pEVar45 = Game::GetPlayer(g_game,(uint)puVar13); + if (pEVar45 != pEVar44) { + bVar4 = HasCollectible(pEVar45,0x2b8,0); if (bVar4 != 0) { - Entity::Position((Entity *)RVar13); + Entity::Position((Entity *)pEVar45); fVar50 = (float10)Vector::DistanceSquared(); auVar54 = ZEXT416(local_a28); local_a34 = (Entity_Tear *)(float)fVar50; if ((float)local_a34 < (float)local_a28) { FUN_007d4340(); auVar56._4_12_ = auVar54._4_12_; - auVar56._0_4_ = auVar54._0_4_ * 70.0 + *(float *)((int)RVar44 + 0x370); + auVar56._0_4_ = auVar54._0_4_ * 70.0 + pEVar44->_size; FUN_006daa90(); if ((double)(float)local_a34 < auVar56._0_8_) { local_a28 = local_a34; - local_9fc = RVar13; + local_9fc = pEVar45; } } } } - puVar29 = &local_a04->field_0x1; - local_a04 = (Entity_Tear *)puVar29; + puVar13 = &local_a04->field_0x1; + local_a04 = (Entity_Tear *)puVar13; puVar41 = (undefined1 *)Game::GetNumPlayers(g_game); - } while (puVar29 < puVar41); - if (local_9fc != (RNG)0x0) { + } while (puVar13 < puVar41); + if (local_9fc != (Entity_Player *)0x0) { iVar6 = EntityPtr::Ref(); if (iVar6 == 0) { Random(); @@ -528828,37 +529621,36 @@ LAB_0079d585: } } FUN_00863be0(); - pLVar21 = (Level *)Config::GetCollectibles(); - cVar5 = Level::GetStateFlag(pLVar21); + pLVar22 = (Level *)Config::GetCollectibles(); + cVar5 = Level::GetStateFlag(pLVar22); if (cVar5 == '\0') { - if (0 < *(int *)((int)RVar44 + 0x18e8)) { - iVar6 = *(int *)((int)RVar44 + 0x18e8) + -1; - *(int *)((int)RVar44 + 0x18e8) = iVar6; + if (0 < pEVar44->_imExcitedSpeedupCountdown) { + iVar6 = pEVar44->_imExcitedSpeedupCountdown + -1; + pEVar44->_imExcitedSpeedupCountdown = iVar6; if (iVar6 == (iVar6 / 900) * 900) { Level::GetCurrentRoom((Level *)g_game); Room::SetBrokenWatchState(); - TemporaryEffects::AddCollectibleEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x1c,0,1); + TemporaryEffects::AddCollectibleEffect(&pEVar44->_temporaryeffects,0x1c,0,1); } } } else { Level::GetCurrentRoom((Level *)g_game); Room::SetBrokenWatchState(); - TemporaryEffects::AddCollectibleEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x1c,0,1); - *(int *)((int)RVar44 + 0x18e8) = 0; + TemporaryEffects::AddCollectibleEffect(&pEVar44->_temporaryeffects,0x1c,0,1); + pEVar44->_imExcitedSpeedupCountdown = 0; } - pTVar18 = (TemporaryEffects *)((int)RVar44 + 0x1508); - if ((0 < *(int *)((int)RVar44 + 0x145c)) && - (iVar6 = *(int *)((int)RVar44 + 0x145c) + -1, *(int *)((int)RVar44 + 0x145c) = iVar6, - iVar6 == 0)) { + pTVar18 = &pEVar44->_temporaryeffects; + if ((0 < pEVar44->_rUaWizardTimer) && + (iVar6 = pEVar44->_rUaWizardTimer + -1, pEVar44->_rUaWizardTimer = iVar6, iVar6 == 0)) { Isaac::GetItemConfig(); - pIVar24 = (ItemConfig_Item *)Config::GetNullItem(); - RemoveCostume((Entity_Player *)RVar44,pIVar24); + pIVar25 = (ItemConfig_Item *)Config::GetNullItem(); + RemoveCostume(pEVar44,pIVar25); } - local_9fc = (RNG)TemporaryEffects::GetCollectibleEffect(pTVar18,0x20a); - if (local_9fc == (RNG)0x0) { - if (*(int **)((int)RVar44 + 0x1440) != (int *)0x0) { - (**(code **)(**(int **)((int)RVar44 + 0x1440) + 0x28))(); + local_9fc = TemporaryEffects::GetCollectibleEffect(pTVar18,0x20a); + if (local_9fc == (void *)0x0) { + if (*(int **)&pEVar44->field_0x1440 != (int *)0x0) { + (**(code **)(**(int **)&pEVar44->field_0x1440 + 0x28))(); EntityPtr::SetReference(); } } @@ -528868,7 +529660,7 @@ LAB_0079d585: Level::GetCurrentRoom((Level *)g_game); FUN_00428a60(); EntityList::QueryRadius(); - local_14 = (RNG)0x25; + local_14 = 5.1848e-44; local_a34 = (Entity_Tear *)0x0; iVar6 = EntityList::Size(); if (iVar6 != 0) { @@ -528877,35 +529669,35 @@ LAB_0079d585: iVar6 = Entity::Type((Entity *)*puVar12); if (iVar6 == 9) { puVar12 = (undefined4 *)std::vector::operator_index(); - pEVar33 = (Entity_Tear *)*puVar12; - local_a28 = pEVar33; - uVar43 = Entity_Projectile::ProjectileFlags((Entity_Projectile *)pEVar33); + pEVar32 = (Entity_Tear *)*puVar12; + local_a28 = pEVar32; + uVar43 = Entity_Projectile::ProjectileFlags((Entity_Projectile *)pEVar32); if ((uVar43 & 0x80000000) == 0) { - fVar50 = (float10)Entity_Tear::Height(pEVar33); + fVar50 = (float10)Entity_Tear::Height(pEVar32); local_a1c = (Entity_Familiar *)(float)fVar50; if (-50.0 < (float)local_a1c) { - bVar4 = HasCollectible((Entity_Player *)RVar44,0x248,0); + bVar4 = HasCollectible(pEVar44,0x248,0); if (bVar4 == 0) { - Entity_Projectile::ProjectileFlags((Entity_Projectile *)pEVar33); + Entity_Projectile::ProjectileFlags((Entity_Projectile *)pEVar32); Entity_Projectile::set_projectile_flags((Entity_Projectile *)local_a28); - pEVar33 = local_a28; + pEVar32 = local_a28; FUN_004aad90(); Isaac::Random(0xf); FUN_004aadd0(); - Entity::Velocity((Entity *)pEVar33); + Entity::Velocity((Entity *)pEVar32); Vector::Length(); FUN_004aadb0(); - Entity::SetTarget((Entity *)pEVar33); - RVar44 = local_a24; - Entity::SetParent((Entity *)pEVar33); - Entity::SetTargetPosition((Entity *)pEVar33); - fVar50 = (float10)Entity_Tear::FallingAcceleration(pEVar33); + Entity::SetTarget((Entity *)pEVar32); + pEVar44 = local_a24; + Entity::SetParent((Entity *)pEVar32); + Entity::SetTargetPosition((Entity *)pEVar32); + fVar50 = (float10)Entity_Tear::FallingAcceleration(pEVar32); local_a1c = (Entity_Familiar *)(float)fVar50; if (0.0 < (float)local_a1c) { - fVar50 = (float10)Entity_Tear::FallingSpeed(pEVar33); + fVar50 = (float10)Entity_Tear::FallingSpeed(pEVar32); local_a1c = (Entity_Familiar *)(float)fVar50; if (0.0 < (float)local_a1c) { - fVar50 = (float10)Entity_Tear::FallingSpeed(pEVar33); + fVar50 = (float10)Entity_Tear::FallingSpeed(pEVar32); local_a1c = (Entity_Familiar *)(float)fVar50; FUN_00444c70(); } @@ -528914,7 +529706,7 @@ LAB_0079d585: else { Entity::Position(); AddWisp(); - (**(code **)(*(int *)pEVar33 + 0x28))(); + (**(code **)(*(int *)pEVar32 + 0x28))(); } } } @@ -528930,30 +529722,30 @@ LAB_0079d585: iVar6 = __RTDynamicCast(); if (iVar6 != 0) { puVar12 = (undefined4 *)std::vector::operator_index(); - pEVar33 = (Entity_Tear *)*puVar12; - fVar50 = (float10)Entity_Tear::Height(pEVar33); + pEVar32 = (Entity_Tear *)*puVar12; + fVar50 = (float10)Entity_Tear::Height(pEVar32); local_a1c = (Entity_Familiar *)(float)fVar50; if (-50.0 < (float)local_a1c) { - bVar4 = HasCollectible((Entity_Player *)RVar44,0x248,0); + bVar4 = HasCollectible(pEVar44,0x248,0); if (bVar4 == 0) { pBVar42 = (BitSet128 *)BitSet128::operator_or(); - Entity_Tear::SetTearFlags(pEVar33,*pBVar42); + Entity_Tear::SetTearFlags(pEVar32,*pBVar42); FUN_00665b30(); Isaac::Random(0xf); FUN_00753740(); - Entity::Velocity((Entity *)pEVar33); + Entity::Velocity((Entity *)pEVar32); fVar50 = (float10)Vector::Length(); local_a1c = (Entity_Familiar *)(float)fVar50; FUN_00753730(); - Entity::SetTarget((Entity *)pEVar33); - Entity::SetParent((Entity *)pEVar33); - Entity::SetSpawnerEntity((Entity *)pEVar33); - Entity::SetTargetPosition((Entity *)pEVar33); + Entity::SetTarget((Entity *)pEVar32); + Entity::SetParent((Entity *)pEVar32); + Entity::SetSpawnerEntity((Entity *)pEVar32); + Entity::SetTargetPosition((Entity *)pEVar32); } else { - Entity::Position((Entity *)pEVar33); + Entity::Position((Entity *)pEVar32); AddWisp(); - (**(code **)(*(int *)pEVar33 + 0x28))(); + (**(code **)(*(int *)pEVar32 + 0x28))(); } } } @@ -528961,61 +529753,61 @@ LAB_0079d585: } } local_a34 = (Entity_Tear *)&local_a34->field_0x1; - pEVar33 = (Entity_Tear *)EntityList::Size(); - } while (local_a34 < pEVar33); + pEVar32 = (Entity_Tear *)EntityList::Size(); + } while (local_a34 < pEVar32); } - pEVar16 = *(Entity_Effect **)((int)RVar44 + 0x1440); + pEVar16 = *(Entity_Effect **)&pEVar44->field_0x1440; if (pEVar16 == (Entity_Effect *)0x0) { Random(); pEVar8 = (Entity *)Game::Spawn(); Entity::SetParent(pEVar8); EntityPtr::SetReference(); - pEVar16 = *(Entity_Effect **)((int)RVar44 + 0x1440); + pEVar16 = *(Entity_Effect **)&pEVar44->field_0x1440; if (pEVar16 != (Entity_Effect *)0x0) goto LAB_0079e9c1; } else { LAB_0079e9c1: Entity_Effect::set_state(pEVar16); } - local_14 = (RNG)0xffffffff; + local_14 = -NAN; EntityList_Query::~EntityList_Query(); - pTVar18 = (TemporaryEffects *)((int)RVar44 + 0x1508); + pTVar18 = &pEVar44->_temporaryeffects; } - if ((0 < *(int *)((int)RVar44 + 0x1d90)) && - (iVar6 = *(int *)((int)RVar44 + 0x1d90) + -1, *(int *)((int)RVar44 + 0x1d90) = iVar6, iVar6 < 1 - )) { - AddCacheFlags((Entity_Player *)RVar44,99); + if ((0 < pEVar44->_hallowedGroundCountdown) && + (iVar6 = pEVar44->_hallowedGroundCountdown + -1, pEVar44->_hallowedGroundCountdown = iVar6, + iVar6 < 1)) { + AddCacheFlags(pEVar44,99); EvaluateItems(); } - cVar5 = Entity::IsFrame((Entity *)RVar44); + cVar5 = Entity::IsFrame((Entity *)pEVar44); if (cVar5 != '\0') { - bVar4 = IsHologram((Entity_Player *)RVar44); + bVar4 = IsHologram(pEVar44); if (bVar4 == 0) { - bVar4 = HasCollectible((Entity_Player *)RVar44,0xbd,0); - if (((((bVar4 == 0) && (bVar4 = IsHeadless((Entity_Player *)RVar44), bVar4 == 0)) && + bVar4 = HasCollectible(pEVar44,0xbd,0); + if (((((bVar4 == 0) && (bVar4 = IsHeadless(pEVar44), bVar4 == 0)) && (bVar4 = TemporaryEffects::HasCollectibleEffect(pTVar18,0xd6), bVar4 == 0)) && - ((bVar4 = HasCollectible((Entity_Player *)RVar44,0x281,0), bVar4 == 0 && - (iVar6 = *(int *)((int)RVar44 + 0x13c0), iVar6 != 0x26)))) && + ((bVar4 = HasCollectible(pEVar44,0x281,0), bVar4 == 0 && + (iVar6 = pEVar44->_playerType, iVar6 != 0x26)))) && (((iVar6 != 0x1d && (iVar6 != 0x1a)) || (iVar6 = Isaac::Random(4), iVar6 != 0)))) { - bVar4 = HasCollectible((Entity_Player *)RVar44,0x240,0); + bVar4 = HasCollectible(pEVar44,0x240,0); if (bVar4 == 0) { - bVar4 = HasCollectible((Entity_Player *)RVar44,0x26a,0); + bVar4 = HasCollectible(pEVar44,0x26a,0); if (bVar4 == 0) { - bVar4 = HasCollectible((Entity_Player *)RVar44,0x2a0,0); + bVar4 = HasCollectible(pEVar44,0x2a0,0); if (bVar4 != 0) { iVar6 = 6; goto LAB_0079eac8; } - bVar4 = HasCollectible((Entity_Player *)RVar44,0x255,0); + bVar4 = HasCollectible(pEVar44,0x255,0); if (bVar4 != 0) { iVar6 = Isaac::Random(2); if (iVar6 == 0) { random_float(); - piVar27 = (int *)Entity_NPC::MakeSplat((Entity_NPC *)RVar44); + piVar27 = (int *)Entity_NPC::MakeSplat((Entity_NPC *)pEVar44); pcVar1 = *(code **)(*piVar27 + 0x3c); Color::Color(); (*pcVar1)(); - RVar44 = local_a24; + pEVar44 = local_a24; } } } @@ -529024,13 +529816,13 @@ LAB_0079e9c1: if (iVar6 == 0) { if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < DAT_00c8126c) && (_Init_thread_header(), DAT_00c8126c == -1)) { - local_14 = (RNG)0x27; + local_14 = 5.46506e-44; Color::Color(); - local_14 = (RNG)0xffffffff; + local_14 = -NAN; _Init_thread_footer(); } random_float(); - piVar27 = (int *)Entity_NPC::MakeSplat((Entity_NPC *)RVar44); + piVar27 = (int *)Entity_NPC::MakeSplat((Entity_NPC *)pEVar44); (**(code **)(*piVar27 + 0x3c))(); } } @@ -529040,13 +529832,13 @@ LAB_0079e9c1: if (iVar6 == 0) { if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < DAT_00c8123c) && (_Init_thread_header(), DAT_00c8123c == -1)) { - local_14 = (RNG)0x26; + local_14 = 5.32493e-44; Color::Color(); - local_14 = (RNG)0xffffffff; + local_14 = -NAN; _Init_thread_footer(); } random_float(); - piVar27 = (int *)Entity_NPC::MakeSplat((Entity_NPC *)RVar44); + piVar27 = (int *)Entity_NPC::MakeSplat((Entity_NPC *)pEVar44); (**(code **)(*piVar27 + 0x3c))(); } } @@ -529057,123 +529849,122 @@ LAB_0079eac8: iVar6 = Isaac::Random(iVar6); if (iVar6 == 0) { random_float(); - Entity_NPC::MakeSplat((Entity_NPC *)RVar44); + Entity_NPC::MakeSplat((Entity_NPC *)pEVar44); } } } } Game::GetField26614(); cVar5 = FUN_00429550(); - if (((cVar5 != '\0') && (bVar4 = HasCollectible((Entity_Player *)RVar44,0x240,0), bVar4 != 0)) && - (iVar6 = Entity::GetIntervalTicks((Entity *)RVar44), iVar6 != 0)) { - pRVar19 = GetCollectibleRNG((Entity_Player *)RVar44,0x240); + if (((cVar5 != '\0') && (bVar4 = HasCollectible(pEVar44,0x240,0), bVar4 != 0)) && + (iVar6 = Entity::GetIntervalTicks((Entity *)pEVar44), iVar6 != 0)) { + pRVar19 = GetCollectibleRNG(pEVar44,0x240); RNG::RandomInt(pRVar19,100); Random(); Game::Spawn(); } - bVar4 = TemporaryEffects::HasNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x32); + bVar4 = TemporaryEffects::HasNullEffect(&pEVar44->_temporaryeffects,0x32); if (bVar4 != 0) { - if (((ActiveItemDesc *)((int)RVar44 + 0x1580))->_item == 0x28f) { - AddActiveCharge((Entity_Player *)RVar44,-1,0,0,0,0); + if (pEVar44->_activeDesc[0]._item == 0x28f) { + AddActiveCharge(pEVar44,-1,0,0,0,0); } else { - TemporaryEffects::RemoveNullEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x32,1); + TemporaryEffects::RemoveNullEffect(&pEVar44->_temporaryeffects,0x32,1); } } - if ((0 < *(int *)((int)RVar44 + 0x2024)) && - (iVar6 = *(int *)((int)RVar44 + 0x2024) + -1, *(int *)((int)RVar44 + 0x2024) = iVar6, iVar6 < 1 - )) { - *(int *)((int)RVar44 + 0x2028) = 0; - AddCacheFlags((Entity_Player *)RVar44,99); + if ((0 < pEVar44->_grantedCollectibleCountdown) && + (iVar6 = pEVar44->_grantedCollectibleCountdown + -1, + pEVar44->_grantedCollectibleCountdown = iVar6, iVar6 < 1)) { + pEVar44->_grantedCollectibleFlags = 0; + AddCacheFlags(pEVar44,99); EvaluateItems(); } cVar5 = Game::IsInTimedSet(); if (((cVar5 == '\0') && (cVar5 = Game::IsInTimedSet(), cVar5 == '\0')) && - (bVar4 = TemporaryEffects::HasCollectibleEffect - ((TemporaryEffects *)((int)RVar44 + 0x1508),0x1f1), bVar4 == 0)) { - pvVar10 = TemporaryEffects::GetTrinketEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x45); - if (pvVar10 == (void *)0x0) goto LAB_0079ef52; - if (0x1d < *(int *)((int)pvVar10 + 8)) goto LAB_0079ee43; - fVar51 = (float)*(int *)((int)pvVar10 + 8) * 0.1; + (bVar4 = TemporaryEffects::HasCollectibleEffect(&pEVar44->_temporaryeffects,0x1f1), bVar4 == 0) + ) { + pvVar51 = TemporaryEffects::GetTrinketEffect(&pEVar44->_temporaryeffects,0x45); + if (pvVar51 == (void *)0x0) goto LAB_0079ef52; + if (0x1d < *(int *)((int)pvVar51 + 8)) goto LAB_0079ee43; + pvVar51 = (void *)((float)*(int *)((int)pvVar51 + 8) * 0.1); sinf_wrapper(); - local_a34 = (Entity_Tear *)fVar51; - if (fVar51 <= 0.0) goto LAB_0079ef52; + local_a34 = pvVar51; + if ((float)pvVar51 <= 0.0) goto LAB_0079ef52; } else { LAB_0079ee43: - local_a34 = (Entity_Tear *)1.0; + local_a34 = (void *)0x3f800000; } pRVar11 = (Room *)Level::GetCurrentRoom((Level *)g_game); Room::GetFrameCount(pRVar11); Color::Lerp(); Color::Lerp(); - Sprite::Color((Sprite *)((int)RVar44 + 0x48)); + Sprite::Color((Sprite *)&pEVar44->_sprite); Color::A(); - Font::SetLineHeightModifier(&local_78); + Font::SetLineHeightModifier((Font *)local_78); Color::SetTint(); Color::operator_assign(); FUN_00757980(); Color::Lerp(); Color::operator_assign(); - Sprite::SetColor((Sprite *)((int)RVar44 + 0x48)); + Sprite::SetColor((Sprite *)&pEVar44->_sprite); LAB_0079ef52: - local_a34 = (Entity_Tear *)0x3f800000; + local_a34 = (void *)0x3f800000; uVar43 = 0; - iVar6 = Sprite::GetLayerCount((Sprite *)((int)RVar44 + 0x48)); + iVar6 = Sprite::GetLayerCount((Sprite *)&pEVar44->_sprite); if (iVar6 != 0) { - local_a1c = (Entity_Familiar *)((int)RVar44 + 0x48); + local_a1c = (Entity_Familiar *)&pEVar44->_sprite; do { iVar6 = Sprite::GetLayer(); uVar43 = uVar43 + 1; local_a34 = (Entity_Tear *)((float)local_a34 + *(float *)(iVar6 + 0x34)); - uVar23 = Sprite::GetLayerCount((Sprite *)((int)RVar44 + 0x48)); - } while (uVar43 < uVar23); - RVar44 = local_a24; + uVar24 = Sprite::GetLayerCount((Sprite *)&pEVar44->_sprite); + } while (uVar43 < uVar24); + pEVar44 = local_a24; } - Sprite::GetLayerCount((Sprite *)((int)RVar44 + 0x48)); - fVar51 = 0.3; + Sprite::GetLayerCount((Sprite *)&pEVar44->_sprite); + fVar20 = 0.3; Math::clamp(); - local_aac = *(undefined4 *)((int)*(void **)((int)RVar44 + 0x330) + 0x48); - local_a00 = (RNG)fVar51; - bVar4 = HasCollectible((Entity_Player *)RVar44,0x47,0); + local_aac = *(void **)((int)pEVar44->_config + 0x48); + local_a00 = (Entity_Player *)fVar20; + bVar4 = HasCollectible(pEVar44,0x47,0); if (bVar4 != 0) { - local_a00 = (RNG)((float)local_a00 * 0.75); + local_a00 = (Entity_Player *)((float)local_a00 * 0.75); } - bVar4 = HasCollectible((Entity_Player *)RVar44,0x256,0); + bVar4 = HasCollectible(pEVar44,0x256,0); if ((bVar4 != 0) || - (bVar4 = TemporaryEffects::HasCollectibleEffect - ((TemporaryEffects *)((int)RVar44 + 0x1508),0x2b0), bVar4 != 0)) { - local_a00 = (RNG)((float)local_a00 * 0.5); - local_bcc = 0xc; - puVar12 = (undefined4 *)std::min(); - local_aac = *puVar12; + (bVar4 = TemporaryEffects::HasCollectibleEffect(&pEVar44->_temporaryeffects,0x2b0), bVar4 != 0) + ) { + local_a00 = (Entity_Player *)((float)local_a00 * 0.5); + local_bcc = 1.68156e-44; + piVar27 = (int *)std::min(); + local_aac = (void *)*piVar27; } - bVar4 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)((int)RVar44 + 0x1508),0x271); + bVar4 = TemporaryEffects::HasCollectibleEffect(&pEVar44->_temporaryeffects,0x271); if (bVar4 == 0) { - fVar51 = 1.0; + fVar20 = 1.0; } else { local_b80 = (float)local_a00 + (float)local_a00; - local_b7c = 0x40000000; + local_b7c = 2.0; pfVar7 = (float *)std::min(); - local_a00 = (RNG)*pfVar7; + local_a00 = (Entity_Player *)*pfVar7; local_a6c = 3.0; - fVar51 = local_a6c; + fVar20 = local_a6c; } - if (*(byte *)((int)RVar44 + 0x20a9) != 0) { - local_a6c = fVar51 * 0.5; + if (pEVar44->_isCoopGhost != 0) { + local_a6c = fVar20 * 0.5; } cVar5 = Game::IsInTimedSet(); if (cVar5 != '\0') { local_a6c = 0.0; } - local_a20 = ((Vector *)((int)RVar44 + 0x374))->x; - local_a1c = *(Entity_Familiar **)((int)RVar44 + 0x378); + local_a20 = (pEVar44->_sizeMulti).x; + local_a1c = (Entity_Familiar *)(pEVar44->_sizeMulti).y; this_06 = (EntityConfig *)FUN_00417910(); - EntityConfig::GetEntity(this_06,*(int *)((int)RVar44 + 0x28),*(int *)((int)RVar44 + 0x2c),0); - Entity::SetSize((Entity *)RVar44); - *(float *)((int)RVar44 + 0x15c) = - local_a6c * *(float *)((int)*(void **)((int)RVar44 + 0x330) + 0x24); + EntityConfig::GetEntity(this_06,pEVar44->_type,pEVar44->_variant,0); + Entity::SetSize((Entity *)pEVar44); + pEVar44->_shadowSize = local_a6c * *(float *)((int)pEVar44->_config + 0x24); ExceptionList = local_1c; return; } @@ -529223,7 +530014,7 @@ void Entity_Player::update_ladder(void) int *local_ac; uint local_a8; Game *local_a4; - int local_a0; + void *local_a0; char local_99; int *local_98; Entity *local_94; @@ -529370,7 +530161,7 @@ LAB_0079f710: local_a8 = (uint)(uVar26 >> 0x20); lVar5 = (uVar26 & 0xffffffff) * 0x431bde82; local_64 = (EntityPtr *)((ulonglong)lVar5 >> 0x20); - local_a0 = (int)((ulonglong)local_a8 * 0xd7b634db >> 0x20); + local_a0 = (void *)((ulonglong)local_a8 * 0xd7b634db >> 0x20); uVar26 = (ulonglong)local_a8 * 0xd7b634db + ((uVar26 & 0xffffffff) * 0xd7b634db >> 0x20); uVar14 = (uint)(uVar26 >> 0x20); lVar5 = lVar5 + (uVar26 & 0xffffffff); @@ -529410,12 +530201,13 @@ LAB_0079f710: iStack_48 = pEVar11->_variant; iStack_4c = pEVar11->_type; std::map::find(&local_a0,&iStack_4c); - if (local_a0 == *(int *)&pGVar10->field_0x67780) { + if (local_a0 == (pGVar10->_proceduralItemManager)._spawnTriggerTargets._head) { local_58[0] = pEVar11->_type; local_58[1] = 0xffffffff; piVar15 = (int *)std::map::find(auStack_34,local_58); - local_a0 = *piVar15; - if (local_a0 == *(int *)&pGVar10->field_0x67780) goto LAB_0079f990; + local_a0 = (void *)*piVar15; + if (local_a0 == (pGVar10->_proceduralItemManager)._spawnTriggerTargets._head) + goto LAB_0079f990; } pPVar22 = &g_game->_playerManager; local_a4 = (Game *)0x0; @@ -529609,10 +530401,10 @@ LAB_0079fc67: (*(int *)(iVar16 + 4) == 7)) { return; } - local_a0 = 2; + local_a0 = (void *)0x2; } else { - local_a0 = 1; + local_a0 = (void *)0x1; } uVar14 = local_b4[0x114]; if (((-1 < (int)uVar14) && (uVar14 < 0x1c0)) && @@ -529633,16 +530425,16 @@ LAB_0079fc67: piVar20[0xd0] = (int)((float)((int)uVar19 / iVar16) * 40.0 + 120.0); *(undefined1 *)((int)piVar20 + 0x171) = 1; pMVar9 = g_manager; - if (local_a0 == 1) { + if (local_a0 == (void *)0x1) { iVar16 = 0x42b40000; } else { iVar16 = 0; } piVar20[0x3b] = iVar16; - local_a0 = 0x43e; + local_a0 = (void *)0x43e; seed_fart_sound_override(); - SoundEffects::Play(&pMVar9->_sfxManager,local_a0,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar9->_sfxManager,(int)local_a0,1.0,2,0,1.0,0.0); return; } } @@ -530568,7 +531360,7 @@ LAB_007a12d4: if (pEVar7 == (Entity_Player *)0x0) { pEVar7 = (Entity_Player *)FUN_007a0fe0(); if ((pEVar7 == (Entity_Player *)0x0) || - (pRVar11 = GetCollectibleRNG(pEVar7,0xd4), (*(byte *)pRVar11 & 1) == 0)) { + (pRVar11 = GetCollectibleRNG(pEVar7,0xd4), (pRVar11->_seed & 1) == 0)) { pEVar7 = (Entity_Player *)FUN_007a0fe0(); if (pEVar7 == (Entity_Player *)0x0) { pEVar7 = (Entity_Player *)FUN_007a0fe0(); @@ -532903,34 +533695,33 @@ void Entity_Player::level_start(char param_1) float fVar1; Entity_Player *pEVar2; EntityPtr EVar3; - RNG RVar4; - qword qVar5; - Manager *pMVar6; - char cVar7; - byte bVar8; - int iVar9; - undefined1 *puVar10; - float *pfVar11; + qword qVar4; + Manager *pMVar5; + char cVar6; + byte bVar7; + int iVar8; + undefined1 *puVar9; + float *pfVar10; + uint uVar11; uint uVar12; - uint uVar13; - int *piVar14; - uint uVar15; - undefined4 uVar16; - int iVar17; + int *piVar13; + uint uVar14; + undefined4 uVar15; + int iVar16; ItemConfig_Item *Item; - undefined4 uVar18; - void *pvVar19; + undefined4 uVar17; + void *pvVar18; Entity_Player *in_ECX; - void *pvVar20; + void *pvVar19; int extraout_ECX; int extraout_EDX; int extraout_EDX_00; - qword *pqVar21; - uint uVar22; + qword *pqVar20; + uint uVar21; + Game *pGVar22; Game *pGVar23; - Game *pGVar24; - void **ppvVar25; - undefined4 *puVar26; + void **ppvVar24; + undefined4 *puVar25; undefined4 local_100 [3]; undefined1 local_f4 [8]; undefined1 local_ec [8]; @@ -532981,88 +533772,88 @@ void Entity_Player::level_start(char param_1) in_ECX->_delayedSfxDelay = 0; (in_ECX->_moveToTarget).x = g_vectorZero.x; (in_ECX->_moveToTarget).y = g_vectorZero.y; - pGVar24 = g_game; + pGVar23 = g_game; local_34 = in_ECX; if ((in_ECX->_variant == 0) && (param_1 == '\0')) { if ((g_game->_difficulty == 2) || (g_game->_difficulty == 3)) { local_64 = 0x43a00000; - puVar26 = &local_64; + puVar25 = &local_64; local_60 = 0x438c0000; - puVar10 = local_dc; + puVar9 = local_dc; } else { - iVar9 = _get_index_plus_one_if_kind_4_5(local_18); - if ((iVar9 != 1) || (cVar7 = Level::IsAscent(), cVar7 != '\0')) { - pfVar11 = (float *)PlayerManager::get_player_start_position - (local_d4,in_ECX,&g_vectorZero,&pGVar24->_playerManager); - fVar1 = *pfVar11; + iVar8 = _get_index_plus_one_if_kind_4_5(local_18); + if ((iVar8 != 1) || (cVar6 = Level::IsAscent(), cVar6 != '\0')) { + pfVar10 = (float *)PlayerManager::get_player_start_position + (local_d4,in_ECX,&g_vectorZero,&pGVar23->_playerManager); + fVar1 = *pfVar10; (in_ECX->_pos).x = fVar1; - (in_ECX->_pos).y = pfVar11[1]; - if ((pGVar24->_challenge == 0x1f) && (pGVar24->_stage == 0xb)) { + (in_ECX->_pos).y = pfVar10[1]; + if ((pGVar23->_challenge == 0x1f) && (pGVar23->_stage == 0xb)) { (in_ECX->_pos).x = fVar1 + 0.0; (in_ECX->_pos).y = (in_ECX->_pos).y + 100.0; } - uVar15 = pGVar24->_debugCurses; - iVar9 = pGVar24->_stage; - uVar22 = pGVar24->_curses; - uVar12 = Seeds::GetForcedCurses(); - uVar13 = Seeds::GetPreventedCurses(); - pGVar24 = g_game; - iVar17 = iVar9 + 1; - if ((~uVar13 & (uVar12 | uVar15 | uVar22) & 2) == 0) { - iVar17 = iVar9; + uVar14 = pGVar23->_debugCurses; + iVar8 = pGVar23->_stage; + uVar21 = pGVar23->_curses; + uVar11 = Seeds::GetForcedCurses(); + uVar12 = Seeds::GetPreventedCurses(); + pGVar23 = g_game; + iVar16 = iVar8 + 1; + if ((~uVar12 & (uVar11 | uVar14 | uVar21) & 2) == 0) { + iVar16 = iVar8; } - cVar7 = Level::IsAscent(); - if ((cVar7 == '\0') || - ((iVar17 == 6 && (bVar8 = Level::IsAltPath((Level *)pGVar24), bVar8 != 0)))) { + cVar6 = Level::IsAscent(); + if ((cVar6 == '\0') || + ((iVar16 == 6 && (bVar7 = Level::IsAltPath((Level *)pGVar23), bVar7 != 0)))) { in_ECX = local_34; } else { - pGVar23 = pGVar24->_room; + pGVar22 = pGVar23->_room; local_3c = g_vectorZero.x; local_38 = (uint *)g_vectorZero.y; - piVar14 = (int *)&pGVar23->_roomList[9].field_0x98; - uVar15 = 0; + piVar13 = (int *)&pGVar22->_roomList[9].field_0x98; + uVar14 = 0; do { - uVar22 = uVar15 + 1; - if (8 < uVar22) break; - if (*piVar14 != 0) { - if (uVar15 != 0xffffffff) goto LAB_007a4df2; + uVar21 = uVar14 + 1; + if (8 < uVar21) break; + if (*piVar13 != 0) { + if (uVar14 != 0xffffffff) goto LAB_007a4df2; break; } - piVar14 = piVar14 + 1; - uVar15 = uVar22; - } while (uVar22 < 8); - uVar15 = Random(); - uVar15 = uVar15 & 7; - uVar22 = 0; - pGVar23 = g_game->_room; + piVar13 = piVar13 + 1; + uVar14 = uVar21; + } while (uVar21 < 8); + uVar14 = Random(); + uVar14 = uVar14 & 7; + uVar21 = 0; + pGVar22 = g_game->_room; do { - if ((uVar15 < 8) && - ((*(uint *)(*(int *)(pGVar23->_stageType + 0x10) + 0x38 + (uVar15 >> 5) * 4) & - 1 << ((byte)uVar15 & 0x1f)) != 0)) break; - uVar15 = uVar15 + 1 & 0x80000007; - if ((int)uVar15 < 0) { - uVar15 = (uVar15 - 1 | 0xfffffff8) + 1; + if ((uVar14 < 8) && + ((*(uint *)(*(int *)(pGVar22->_stageType + 0x10) + 0x38 + (uVar14 >> 5) * 4) & + 1 << ((byte)uVar14 & 0x1f)) != 0)) break; + uVar14 = uVar14 + 1 & 0x80000007; + if ((int)uVar14 < 0) { + uVar14 = (uVar14 - 1 | 0xfffffff8) + 1; } - uVar22 = uVar22 + 1; - } while (uVar22 < 8); - pGVar24 = g_game; - local_30 = pGVar23; + uVar21 = uVar21 + 1; + } while (uVar21 < 8); + pGVar23 = g_game; + local_30 = pGVar22; LAB_007a4df2: in_ECX = local_34; local_3c = g_vectorZero.x; local_38 = (uint *)g_vectorZero.y; - if (uVar15 < 8) { - local_3c = (float)(pGVar23->_roomMap[uVar15 - 0x5ce6] % pGVar23->_curses) * 40.0 + 40.0; - local_38 = (uint *)((float)(pGVar23->_roomMap[uVar15 - 0x5ce6] / pGVar23->_curses) * + if (uVar14 < 8) { + local_3c = (float)(pGVar22->_roomMap[uVar14 - 0x5ce6] % pGVar22->_curses) * 40.0 + 40.0; + local_38 = (uint *)((float)(pGVar22->_roomMap[uVar14 - 0x5ce6] / pGVar22->_curses) * 40.0 + 120.0); } - uVar15 = uVar15 & 0x80000003; - if ((int)uVar15 < 0) { - uVar15 = (uVar15 - 1 | 0xfffffffc) + 1; + uVar14 = uVar14 & 0x80000003; + if ((int)uVar14 < 0) { + uVar14 = (uVar14 - 1 | 0xfffffffc) + 1; } - switch(uVar15) { + switch(uVar14) { case 0: local_3c = local_3c + 40.0; local_38 = (uint *)((float)local_38 + 0.0); @@ -533079,48 +533870,48 @@ LAB_007a4df2: local_38 = (uint *)((float)local_38 - 40.0); local_3c = local_3c - 0.0; } - uVar15 = 0; + uVar14 = 0; (local_34->_pos).x = local_3c; (local_34->_pos).y = (float)local_38; - pvVar20 = pGVar24->_room; - if (0 < *(int *)((int)pvVar20 + 0x10) * *(int *)((int)pvVar20 + 0xc)) { + pvVar19 = pGVar23->_room; + if (0 < *(int *)((int)pvVar19 + 0x10) * *(int *)((int)pvVar19 + 0xc)) { local_30 = (Game *)0x24; do { - if (uVar15 < 0x1c0) { - local_34 = *(Entity_Player **)((int)pvVar20 + (int)local_30); + if (uVar14 < 0x1c0) { + local_34 = *(Entity_Player **)((int)pvVar19 + (int)local_30); if ((local_34 != (Entity_Player *)0x0) && (*(int *)&local_34->field_0x4 == 0x11)) { - local_5c = (float)(local_34->_collisionIndex % *(int *)((int)pvVar20 + 0xc)) * + local_5c = (float)(local_34->_collisionIndex % *(int *)((int)pvVar19 + 0xc)) * 40.0 + 40.0; - local_58 = (float)(local_34->_collisionIndex / *(int *)((int)pvVar20 + 0xc)) * + local_58 = (float)(local_34->_collisionIndex / *(int *)((int)pvVar19 + 0xc)) * 40.0 + 120.0; - cVar7 = pathfinder_can_reach_pos(pvVar20); - if (cVar7 != '\0') { - iVar9 = local_34->_collisionIndex; - iVar17 = *(int *)((int)g_game->_room + 0xc); - (in_ECX->_pos).x = (float)(iVar9 % iVar17) * 40.0 + 40.0; - (in_ECX->_pos).y = (float)(iVar9 / iVar17) * 40.0 + 120.0; + cVar6 = pathfinder_can_reach_pos(pvVar19); + if (cVar6 != '\0') { + iVar8 = local_34->_collisionIndex; + iVar16 = *(int *)((int)g_game->_room + 0xc); + (in_ECX->_pos).x = (float)(iVar8 % iVar16) * 40.0 + 40.0; + (in_ECX->_pos).y = (float)(iVar8 / iVar16) * 40.0 + 120.0; break; } - pGVar24 = g_game; + pGVar23 = g_game; } } - pvVar20 = pGVar24->_room; - uVar15 = uVar15 + 1; + pvVar19 = pGVar23->_room; + uVar14 = uVar14 + 1; local_30 = (Game *)&local_30->_stageType; - } while ((int)uVar15 < *(int *)((int)pvVar20 + 0x10) * *(int *)((int)pvVar20 + 0xc)); + } while ((int)uVar14 < *(int *)((int)pvVar19 + 0x10) * *(int *)((int)pvVar19 + 0xc)); } } goto LAB_007a4fdc; } local_54 = 0x43a00000; - puVar26 = &local_54; + puVar25 = &local_54; local_50 = 0x43be0000; - puVar10 = local_cc; + puVar9 = local_cc; } - pfVar11 = (float *)PlayerManager::get_player_start_position - (puVar10,in_ECX,puVar26,&pGVar24->_playerManager); - (in_ECX->_pos).x = *pfVar11; - (in_ECX->_pos).y = pfVar11[1]; + pfVar10 = (float *)PlayerManager::get_player_start_position + (puVar9,in_ECX,puVar25,&pGVar23->_playerManager); + (in_ECX->_pos).x = *pfVar10; + (in_ECX->_pos).y = pfVar10[1]; } LAB_007a4fdc: if (in_ECX->_postLevelInitFinished == 0) { @@ -533133,23 +533924,23 @@ LAB_007a4fdc: if (in_ECX->_isGlitchBaby != 0) { in_ECX->_babySkin = 0x19; InitBabySkin(in_ECX); - uVar15 = *(uint *)&(g_game->_playerManager).field_0xa8; - if (uVar15 == 0) { + uVar14 = *(uint *)&(g_game->_playerManager).field_0xa8; + if (uVar14 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = uVar15 >> ((byte)*(undefined4 *)&(g_game->_playerManager).field_0xac & 0x1f) ^ uVar15 + uVar14 = uVar14 >> ((byte)*(undefined4 *)&(g_game->_playerManager).field_0xac & 0x1f) ^ uVar14 ; pEVar2 = *(Entity_Player **)&(g_game->_playerManager).field_0xb4; - uVar15 = uVar15 << ((byte)*(undefined4 *)&(g_game->_playerManager).field_0xb0 & 0x1f) ^ uVar15 + uVar14 = uVar14 << ((byte)*(undefined4 *)&(g_game->_playerManager).field_0xb0 & 0x1f) ^ uVar14 ; - *(uint *)&(g_game->_playerManager).field_0xa8 = uVar15 >> ((byte)pEVar2 & 0x1f) ^ uVar15; - uVar15 = GetGlitchBabySubType(pEVar2); - in_ECX->_subtype = uVar15; - if (0x46 < uVar15) { - uVar15 = 0x47; + *(uint *)&(g_game->_playerManager).field_0xa8 = uVar14 >> ((byte)pEVar2 & 0x1f) ^ uVar14; + uVar14 = GetGlitchBabySubType(pEVar2); + in_ECX->_subtype = uVar14; + if (0x46 < uVar14) { + uVar14 = 0x47; } - in_ECX->_babySkin = uVar15; + in_ECX->_babySkin = uVar14; PlayExtraAnimation(in_ECX,"Glitch"); if (in_ECX->_variant != 1) goto LAB_007a50ce; } @@ -533165,103 +533956,103 @@ LAB_007a50ce: FUN_007daff0(); TemporaryEffects::RemoveNullEffect(&in_ECX->_temporaryeffects,0x42,-1); TemporaryEffects::RemoveNullEffect(&in_ECX->_temporaryeffects,0x4a,-1); - pvVar20 = (g_manager->_itemConfig)._collectibles._begin; - if ((0x2b8 < (int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar20 >> 2) && - (iVar9 = *(int *)((int)pvVar20 + 0xae0), iVar9 != 0)) { - local_84[2] = *(undefined4 *)(iVar9 + 0x78); + pvVar19 = (g_manager->_itemConfig)._collectibles._begin; + if ((0x2b8 < (int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar19 >> 2) && + (iVar8 = *(int *)((int)pvVar19 + 0xae0), iVar8 != 0)) { + local_84[2] = *(undefined4 *)(iVar8 + 0x78); local_84[1] = 0; local_78 = 0; - local_84[0] = iVar9; + local_84[0] = iVar8; TemporaryEffects::RemoveEffect(&in_ECX->_temporaryeffects,local_84,0xffffffff); } - pvVar20 = (g_manager->_itemConfig)._trinkets._begin; - if ((0xb4 < (int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar20 >> 2) && - (iVar9 = *(int *)((int)pvVar20 + 0x2d0), iVar9 != 0)) { - local_94[2] = *(undefined4 *)(iVar9 + 0x78); + pvVar19 = (g_manager->_itemConfig)._trinkets._begin; + if ((0xb4 < (int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar19 >> 2) && + (iVar8 = *(int *)((int)pvVar19 + 0x2d0), iVar8 != 0)) { + local_94[2] = *(undefined4 *)(iVar8 + 0x78); local_94[1] = 0; local_88 = 0; - local_94[0] = iVar9; + local_94[0] = iVar8; TemporaryEffects::RemoveEffect(&in_ECX->_temporaryeffects,local_94,0xffffffff); } TemporaryEffects::RemoveNullEffect(&in_ECX->_temporaryeffects,0x6d,-1); EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); local_8 = 0; - uVar15 = 0; + uVar14 = 0; if (local_68 != 0) { - iVar9 = local_70; + iVar8 = local_70; do { - piVar14 = *(int **)(iVar9 + uVar15 * 4); - if ((Entity_Player *)piVar14[0xf2] == in_ECX) { - (**(code **)(*piVar14 + 0x28))(); - iVar9 = local_70; + piVar13 = *(int **)(iVar8 + uVar14 * 4); + if ((Entity_Player *)piVar13[0xf2] == in_ECX) { + (**(code **)(*piVar13 + 0x28))(); + iVar8 = local_70; } - uVar15 = uVar15 + 1; - } while (uVar15 < local_68); + uVar14 = uVar14 + 1; + } while (uVar14 < local_68); } TemporaryEffects::RemoveNullEffect(&in_ECX->_temporaryeffects,0x81,1); if (in_ECX->_playerType == 0x27) { - iVar9 = 0x25; + iVar8 = 0x25; LAB_007a5236: - ChangePlayerType(in_ECX,iVar9,0); + ChangePlayerType(in_ECX,iVar8,0); } else if (in_ECX->_playerType == 0xb) { - iVar9 = 8; + iVar8 = 8; goto LAB_007a5236; } if ((in_ECX->_playerType == 0x25) && (g_game->_challenge != 0x2c)) { - pvVar20 = (g_manager->_itemConfig)._nullItems._begin; - if ((int)(g_manager->_itemConfig)._nullItems._end - (int)pvVar20 >> 2 < 0x6e) { + pvVar19 = (g_manager->_itemConfig)._nullItems._begin; + if ((int)(g_manager->_itemConfig)._nullItems._end - (int)pvVar19 >> 2 < 0x6e) { local_a4 = 0; } else { - local_a4 = *(undefined4 *)((int)pvVar20 + 0x1b4); + local_a4 = *(undefined4 *)((int)pvVar19 + 0x1b4); } - RVar4 = g_game->_devilAngelRoomRNG; + uVar14 = (g_game->_devilAngelRoomRNG)._seed; local_a0 = 0; local_98 = 0; local_24 = 0x70000000b; local_30 = (Game *)0xc; - if (RVar4 == (RNG)0x0) { + if (uVar14 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar4 >> 0xb ^ (uint)RVar4; - uVar15 = uVar15 << 7 ^ uVar15; - local_9c = ((uVar15 >> 0xc ^ uVar15) % 0x14) * 0x1e + 0x262; + uVar14 = uVar14 >> 0xb ^ uVar14; + uVar14 = uVar14 << 7 ^ uVar14; + local_9c = ((uVar14 >> 0xc ^ uVar14) % 0x14) * 0x1e + 0x262; TemporaryEffects::AddEffect(&in_ECX->_temporaryeffects,&local_a4,1,1); } - bVar8 = HasCollectible(in_ECX,0x2a4,0); - if (bVar8 != 0) { - iVar9 = GetHealthType(in_ECX); - if (((iVar9 == 0) && (iVar9 = GetHeartLimit(0), in_ECX->_maxHearts < iVar9)) && + bVar7 = HasCollectible(in_ECX,0x2a4,0); + if (bVar7 != 0) { + iVar8 = GetHealthType(in_ECX); + if (((iVar8 == 0) && (iVar8 = GetHeartLimit(0), in_ECX->_maxHearts < iVar8)) && (in_ECX->_redHearts < 3)) { AddMaxHearts(in_ECX,2,0); ItemOverlay::Show(&g_game->_itemOverlay,0x29,0,(Entity_Player *)0x0); } pEVar2 = (Entity_Player *)in_ECX->_subPlayer; - if (((pEVar2 != (Entity_Player *)0x0) && (iVar9 = GetHealthType(pEVar2), iVar9 == 0)) && - ((iVar9 = GetHeartLimit(0), pEVar2->_maxHearts < iVar9 && (pEVar2->_redHearts < 3)))) { + if (((pEVar2 != (Entity_Player *)0x0) && (iVar8 = GetHealthType(pEVar2), iVar8 == 0)) && + ((iVar8 = GetHeartLimit(0), pEVar2->_maxHearts < iVar8 && (pEVar2->_redHearts < 3)))) { AddMaxHearts(pEVar2,2,0); ItemOverlay::Show(&g_game->_itemOverlay,0x29,0,(Entity_Player *)0x0); } } if ((in_ECX->_temporaryeffects)._disabled == 0) { - for (piVar14 = (in_ECX->_temporaryeffects)._effects._begin; - piVar14 != (in_ECX->_temporaryeffects)._effects._end; piVar14 = piVar14 + 4) { - iVar9 = *(int *)*piVar14; - if ((((iVar9 == 1) || (iVar9 == 3)) || (iVar9 == 4)) && (((int *)*piVar14)[1] == 0x2a1)) { - if (0 < piVar14[1]) { - iVar9 = *(int *)&in_ECX->field_0x1f04; - if (((iVar9 != 0) && (*(int *)(iVar9 + 0x28) == 1000)) && (piVar14[1] == 1)) { - *(undefined4 *)(iVar9 + 0x450) = 2; + for (piVar13 = (in_ECX->_temporaryeffects)._effects._begin; + piVar13 != (in_ECX->_temporaryeffects)._effects._end; piVar13 = piVar13 + 4) { + iVar8 = *(int *)*piVar13; + if ((((iVar8 == 1) || (iVar8 == 3)) || (iVar8 == 4)) && (((int *)*piVar13)[1] == 0x2a1)) { + if (0 < piVar13[1]) { + iVar8 = *(int *)&in_ECX->field_0x1f04; + if (((iVar8 != 0) && (*(int *)(iVar8 + 0x28) == 1000)) && (piVar13[1] == 1)) { + *(undefined4 *)(iVar8 + 0x450) = 2; } - pvVar20 = (g_manager->_itemConfig)._collectibles._begin; - if ((0x2a1 < (int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar20 >> 2) && - (iVar9 = *(int *)((int)pvVar20 + 0xa84), iVar9 != 0)) { - local_b4[2] = *(undefined4 *)(iVar9 + 0x78); + pvVar19 = (g_manager->_itemConfig)._collectibles._begin; + if ((0x2a1 < (int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar19 >> 2) && + (iVar8 = *(int *)((int)pvVar19 + 0xa84), iVar8 != 0)) { + local_b4[2] = *(undefined4 *)(iVar8 + 0x78); local_b4[1] = 0; local_a8 = 0; - local_b4[0] = iVar9; + local_b4[0] = iVar8; TemporaryEffects::RemoveEffect(&in_ECX->_temporaryeffects,local_b4,0xffffffff); } } @@ -533270,21 +534061,21 @@ LAB_007a5236: } } in_ECX->_forgottenBodyRoomIdx = -99999; - bVar8 = HasTrinket(in_ECX,0xa0,0); - if ((bVar8 != 0) && (local_30 = (Game *)GetTrinketMultiplier(in_ECX,0xa0), 0 < (int)local_30)) { + bVar7 = HasTrinket(in_ECX,0xa0,0); + if ((bVar7 != 0) && (local_30 = (Game *)GetTrinketMultiplier(in_ECX,0xa0), 0 < (int)local_30)) { do { - pvVar20 = (in_ECX->_trinketRNGs)._begin; - uVar15 = *(uint *)((int)pvVar20 + 0xa00); - if (uVar15 == 0) { + pvVar19 = (in_ECX->_trinketRNGs)._begin; + uVar14 = *(uint *)((int)pvVar19 + 0xa00); + if (uVar14 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = uVar15 >> ((byte)*(undefined4 *)((int)pvVar20 + 0xa04) & 0x1f) ^ uVar15; - uVar15 = uVar15 << ((byte)*(undefined4 *)((int)pvVar20 + 0xa08) & 0x1f) ^ uVar15; - uVar15 = uVar15 >> ((byte)*(undefined4 *)((int)pvVar20 + 0xa0c) & 0x1f) ^ uVar15; - *(uint *)((int)pvVar20 + 0xa00) = uVar15; - uVar16 = Room::FindFreePickupSpawnPosition(local_e4,&in_ECX->_pos,0x42200000,0,0,0); - Game::Spawn(5,0x45,uVar16,&g_vectorZero,in_ECX,0,uVar15); + uVar14 = uVar14 >> ((byte)*(undefined4 *)((int)pvVar19 + 0xa04) & 0x1f) ^ uVar14; + uVar14 = uVar14 << ((byte)*(undefined4 *)((int)pvVar19 + 0xa08) & 0x1f) ^ uVar14; + uVar14 = uVar14 >> ((byte)*(undefined4 *)((int)pvVar19 + 0xa0c) & 0x1f) ^ uVar14; + *(uint *)((int)pvVar19 + 0xa00) = uVar14; + uVar15 = Room::FindFreePickupSpawnPosition(local_e4,&in_ECX->_pos,0x42200000,0,0,0); + Game::Spawn(5,0x45,uVar15,&g_vectorZero,in_ECX,0,uVar14); local_30 = (Game *)&local_30[-1]._console.field_0x3; } while (local_30 != (Game *)0x0); } @@ -533296,342 +534087,342 @@ LAB_007a5236: } if (0 < in_ECX->_eternalHearts) { in_ECX->_eternalHearts = 0; - iVar17 = GetHealthType(in_ECX); - iVar9 = extraout_EDX; - if ((iVar17 == 1) && ((in_ECX->_playerType == 0xc || (iVar9 = 6, in_ECX->_playerType == 0x18)))) + iVar16 = GetHealthType(in_ECX); + iVar8 = extraout_EDX; + if ((iVar16 == 1) && ((in_ECX->_playerType == 0xc || (iVar8 = 6, in_ECX->_playerType == 0x18)))) { - iVar9 = 0x2e; + iVar8 = 0x2e; } - ItemOverlay::Show(&g_game->_itemOverlay,iVar9,1,(Entity_Player *)0x0); + ItemOverlay::Show(&g_game->_itemOverlay,iVar8,1,(Entity_Player *)0x0); AddMaxHearts(in_ECX,2,0); AddHearts(in_ECX,2,0,0); } - iVar9 = in_ECX->_subPlayer; - if ((iVar9 != 0) && (0 < *(int *)(iVar9 + 0x1348))) { - *(undefined4 *)(iVar9 + 0x1348) = 0; - iVar17 = GetHealthType((Entity_Player *)in_ECX->_subPlayer); - iVar9 = extraout_EDX_00; - if ((iVar17 == 1) && + iVar8 = in_ECX->_subPlayer; + if ((iVar8 != 0) && (0 < *(int *)(iVar8 + 0x1348))) { + *(undefined4 *)(iVar8 + 0x1348) = 0; + iVar16 = GetHealthType((Entity_Player *)in_ECX->_subPlayer); + iVar8 = extraout_EDX_00; + if ((iVar16 == 1) && ((*(int *)(extraout_ECX + 0x13c0) == 0xc || - (iVar9 = 6, *(int *)(extraout_ECX + 0x13c0) == 0x18)))) { - iVar9 = 0x2e; + (iVar8 = 6, *(int *)(extraout_ECX + 0x13c0) == 0x18)))) { + iVar8 = 0x2e; } - ItemOverlay::Show(&g_game->_itemOverlay,iVar9,1,(Entity_Player *)0x0); + ItemOverlay::Show(&g_game->_itemOverlay,iVar8,1,(Entity_Player *)0x0); AddMaxHearts((Entity_Player *)in_ECX->_subPlayer,2,0); AddHearts((Entity_Player *)in_ECX->_subPlayer,2,0,0); } if (in_ECX->_isCoopGhost == 0) { EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); local_8._0_1_ = 1; - uVar15 = 0; + uVar14 = 0; if (local_b8 != 0) { do { - iVar9 = __RTDynamicCast(*(undefined4 *)(local_c0 + uVar15 * 4),0, + iVar8 = __RTDynamicCast(*(undefined4 *)(local_c0 + uVar14 * 4),0, &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Familiar::RTTI_Type_Descriptor,0); - if ((iVar9 != 0) && (*(Entity_Player **)(iVar9 + 0x410) == in_ECX)) { - *(undefined4 *)(iVar9 + 0x30) = 0; + if ((iVar8 != 0) && (*(Entity_Player **)(iVar8 + 0x410) == in_ECX)) { + *(undefined4 *)(iVar8 + 0x30) = 0; } - uVar15 = uVar15 + 1; - } while (uVar15 < local_b8); + uVar14 = uVar14 + 1; + } while (uVar14 < local_b8); } local_8 = (uint)local_8._1_3_ << 8; if (local_c4 == '\0') { if (g_mainHeap == (void *)0x0) { - pqVar21 = &g_allocatedBytesNoHeap; + pqVar20 = &g_allocatedBytesNoHeap; } else { - pqVar21 = (qword *)((int)g_mainHeap + 0x30); + pqVar20 = (qword *)((int)g_mainHeap + 0x30); } if (local_c0 != 0) { - uVar15 = *(uint *)(local_c0 + -4); - qVar5 = *pqVar21; - *(uint *)pqVar21 = (uint)*pqVar21 - uVar15; - *(uint *)((int)pqVar21 + 4) = *(uint *)((int)pqVar21 + 4) - (uint)((uint)qVar5 < uVar15); + uVar14 = *(uint *)(local_c0 + -4); + qVar4 = *pqVar20; + *(uint *)pqVar20 = (uint)*pqVar20 - uVar14; + *(uint *)((int)pqVar20 + 4) = *(uint *)((int)pqVar20 + 4) - (uint)((uint)qVar4 < uVar14); free((void *)(local_c0 + -4)); } local_8 = local_8 & 0xffffff00; } } - bVar8 = HasCollectible(in_ECX,0x36,0); - if ((bVar8 != 0) || (bVar8 = HasCollectible(in_ECX,0x14d,0), bVar8 != 0)) { + bVar7 = HasCollectible(in_ECX,0x36,0); + if ((bVar7 != 0) || (bVar7 = HasCollectible(in_ECX,0x14d,0), bVar7 != 0)) { Level::ApplyMapEffect((Level *)g_game); } - bVar8 = HasCollectible(in_ECX,0xf6,0); - if ((bVar8 != 0) || (bVar8 = HasCollectible(in_ECX,0x14d,0), bVar8 != 0)) { + bVar7 = HasCollectible(in_ECX,0xf6,0); + if ((bVar7 != 0) || (bVar7 = HasCollectible(in_ECX,0x14d,0), bVar7 != 0)) { Level::ApplyBlueMapEffect((Level *)g_game); } local_29 = '\0'; - bVar8 = HasTrinket(in_ECX,0x3b,0); - if (bVar8 != 0) { + bVar7 = HasTrinket(in_ECX,0x3b,0); + if (bVar7 != 0) { GetTrinketMultiplier(in_ECX,0x3b); - iVar9 = __ftoui3(); - uVar15 = Random(); - local_29 = uVar15 % 100 < (uint)(iVar9 * 0x19); + iVar8 = __ftoui3(); + uVar14 = Random(); + local_29 = uVar14 % 100 < (uint)(iVar8 * 0x19); } - bVar8 = HasCollectible(in_ECX,0x15,0); - if (((bVar8 != 0) || (bVar8 = HasCollectible(in_ECX,0x14d,0), bVar8 != 0)) || (local_29 != '\0')) + bVar7 = HasCollectible(in_ECX,0x15,0); + if (((bVar7 != 0) || (bVar7 = HasCollectible(in_ECX,0x14d,0), bVar7 != 0)) || (local_29 != '\0')) { Level::ApplyCompassEffect((Level *)g_game,1); } - bVar8 = HasTrinket(in_ECX,0x37,0); - if (bVar8 != 0) { - iVar9 = GetTrinketMultiplier(in_ECX,0x37); - AddEternalHearts(in_ECX,iVar9); + bVar7 = HasTrinket(in_ECX,0x37,0); + if (bVar7 != 0) { + iVar8 = GetTrinketMultiplier(in_ECX,0x37); + AddEternalHearts(in_ECX,iVar8); } - bVar8 = HasCollectible(in_ECX,0x24c,0); - pGVar24 = g_game; - if (bVar8 != 0) { + bVar7 = HasCollectible(in_ECX,0x24c,0); + pGVar23 = g_game; + if (bVar7 != 0) { if (-1 < g_game->_lastBossRoomListIdx) { - piVar14 = &g_game->_roomList[g_game->_lastBossRoomListIdx].DisplayFlags; - *piVar14 = *piVar14 | 4; + piVar13 = &g_game->_roomList[g_game->_lastBossRoomListIdx].DisplayFlags; + *piVar13 = *piVar13 | 4; } - Minimap::Refresh(&pGVar24->_minimap); - piVar14 = &pGVar24->_levelStateFlags; - *piVar14 = *piVar14 | 0x40000; + Minimap::Refresh(&pGVar23->_minimap); + piVar13 = &pGVar23->_levelStateFlags; + *piVar13 = *piVar13 | 0x40000; } - bVar8 = HasCollectible(in_ECX,0x24d,0); - if (bVar8 != 0) { + bVar7 = HasCollectible(in_ECX,0x24d,0); + if (bVar7 != 0) { Level::reveal_secret_room((Level *)g_game); } - bVar8 = HasTrinket(in_ECX,0x17,0); - if (bVar8 != 0) { - iVar9 = GetTrinketMultiplier(in_ECX,0x17); + bVar7 = HasTrinket(in_ECX,0x17,0); + if (bVar7 != 0) { + iVar8 = GetTrinketMultiplier(in_ECX,0x17); local_30 = (Game *)0x21; - if (iVar9 == 2) { + if (iVar8 == 2) { local_30 = (Game *)0x42; } - else if (2 < iVar9) { + else if (2 < iVar8) { local_30 = (Game *)0x64; } - pvVar20 = (in_ECX->_trinketRNGs)._begin; - uVar15 = *(uint *)((int)pvVar20 + 0x170); - if (uVar15 == 0) { + pvVar19 = (in_ECX->_trinketRNGs)._begin; + uVar14 = *(uint *)((int)pvVar19 + 0x170); + if (uVar14 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = uVar15 >> ((byte)*(undefined4 *)((int)pvVar20 + 0x174) & 0x1f) ^ uVar15; - uVar15 = uVar15 << ((byte)*(undefined4 *)((int)pvVar20 + 0x178) & 0x1f) ^ uVar15; - uVar15 = uVar15 >> ((byte)*(undefined4 *)((int)pvVar20 + 0x17c) & 0x1f) ^ uVar15; - *(uint *)((int)pvVar20 + 0x170) = uVar15; - if ((Game *)(uVar15 % 100) < local_30) { - iVar9 = 0; + uVar14 = uVar14 >> ((byte)*(undefined4 *)((int)pvVar19 + 0x174) & 0x1f) ^ uVar14; + uVar14 = uVar14 << ((byte)*(undefined4 *)((int)pvVar19 + 0x178) & 0x1f) ^ uVar14; + uVar14 = uVar14 >> ((byte)*(undefined4 *)((int)pvVar19 + 0x17c) & 0x1f) ^ uVar14; + *(uint *)((int)pvVar19 + 0x170) = uVar14; + if ((Game *)(uVar14 % 100) < local_30) { + iVar8 = 0; local_30 = g_game; if (0 < g_game->_nbRooms) { - ppvVar25 = &g_game->_roomList[0].Data; + ppvVar24 = &g_game->_roomList[0].Data; do { - if (*ppvVar25 == (void *)0x0) { + if (*ppvVar24 == (void *)0x0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(0x10,"[error] Room %d is not initialized\n",iVar9); + KAGE_LogMessage(0x10,"[error] Room %d is not initialized\n",iVar8); } - if (*(int *)((int)*ppvVar25 + 8) == 8) { - piVar14 = &g_game->_roomList[iVar9].DisplayFlags; - *piVar14 = *piVar14 | 4; + if (*(int *)((int)*ppvVar24 + 8) == 8) { + piVar13 = &g_game->_roomList[iVar8].DisplayFlags; + *piVar13 = *piVar13 | 4; break; } - iVar9 = iVar9 + 1; - ppvVar25 = ppvVar25 + 0x2e; - } while (iVar9 < g_game->_nbRooms); + iVar8 = iVar8 + 1; + ppvVar24 = ppvVar24 + 0x2e; + } while (iVar8 < g_game->_nbRooms); } Minimap::Refresh(&g_game->_minimap); } } - bVar8 = HasCollectible(in_ECX,0x236,0); - if (bVar8 != 0) { + bVar7 = HasCollectible(in_ECX,0x236,0); + if (bVar7 != 0) { AddSoulHearts(in_ECX,1,0); } - uVar15 = 0; + uVar14 = 0; do { - iVar9 = in_ECX->_activeDesc[uVar15]._item; - if (iVar9 == 0x93) { - if (uVar15 == 3) { - iVar9 = 0; + iVar8 = in_ECX->_activeDesc[uVar14]._item; + if (iVar8 == 0x93) { + if (uVar14 == 3) { + iVar8 = 0; } - else if (((uVar15 == 2) && (in_ECX->_activeDesc[2]._item == 0x244)) && + else if (((uVar14 == 2) && (in_ECX->_activeDesc[2]._item == 0x244)) && (g_game->_challenge == 0x2c)) { - iVar9 = 0; + iVar8 = 0; } else { - iVar9 = GetCollectibleMaxCharge(0x93,in_ECX->_activeDesc[uVar15]._varData,0x93); + iVar8 = GetCollectibleMaxCharge(0x93,in_ECX->_activeDesc[uVar14]._varData,0x93); } LAB_007a5a54: - AddActiveCharge(in_ECX,iVar9,uVar15,0,0,1); + AddActiveCharge(in_ECX,iVar8,uVar14,0,0,1); } - else if (iVar9 == 0x1a6) { - in_ECX->_activeDesc[uVar15]._varData = 0; - SetActiveCharge(in_ECX,0,uVar15); + else if (iVar8 == 0x1a6) { + in_ECX->_activeDesc[uVar14]._varData = 0; + SetActiveCharge(in_ECX,0,uVar14); } - else if (iVar9 == 0x27e) { - iVar9 = 1; + else if (iVar8 == 0x27e) { + iVar8 = 1; goto LAB_007a5a54; } - uVar15 = uVar15 + 1; - } while (uVar15 < 4); + uVar14 = uVar14 + 1; + } while (uVar14 < 4); if (((in_ECX->_hasCurseMistEffect == 0) && (in_ECX->_isCoopGhost == 0)) && (2 < in_ECX->_playerForms[0xf])) { - cVar7 = '\0'; - uVar15 = 0; + cVar6 = '\0'; + uVar14 = 0; local_29 = '\0'; do { - if (in_ECX->_activeDesc[uVar15]._item == 0x23) { - if (cVar7 == '\0') { - if (in_ECX->_activeDesc[uVar15]._varData == 1) { - if (uVar15 == 3) { - iVar9 = 0; + if (in_ECX->_activeDesc[uVar14]._item == 0x23) { + if (cVar6 == '\0') { + if (in_ECX->_activeDesc[uVar14]._varData == 1) { + if (uVar14 == 3) { + iVar8 = 0; } else { - iVar9 = GetCollectibleMaxCharge(0x23,1,0); + iVar8 = GetCollectibleMaxCharge(0x23,1,0); } - AddActiveCharge(in_ECX,iVar9,uVar15,0,0,1); + AddActiveCharge(in_ECX,iVar8,uVar14,0,0,1); ItemOverlay::Show(&g_game->_itemOverlay,0x2f,3,(Entity_Player *)0x0); - pMVar6 = g_manager; + pMVar5 = g_manager; local_30 = (Game *)0x419; seed_fart_sound_override(); - SoundEffects::Play(&pMVar6->_sfxManager,(int)local_30,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar5->_sfxManager,(int)local_30,1.0,2,0,1.0,0.0); local_29 = '\x01'; } } else { - in_ECX->_activeDesc[uVar15]._varData = 0; + in_ECX->_activeDesc[uVar14]._varData = 0; } - HUD::InvalidateActiveItem(&g_game->_hud,in_ECX,uVar15); - cVar7 = local_29; + HUD::InvalidateActiveItem(&g_game->_hud,in_ECX,uVar14); + cVar6 = local_29; } - uVar15 = uVar15 + 1; - } while (uVar15 < 4); - if (cVar7 == '\0') { + uVar14 = uVar14 + 1; + } while (uVar14 < 4); + if (cVar6 == '\0') { in_ECX->_activeDesc[0]._varData = 1; - iVar9 = GetCollectibleMaxCharge(in_ECX->_activeDesc[0]._item,1,0); - AddActiveCharge(in_ECX,iVar9,0,0,0,1); + iVar8 = GetCollectibleMaxCharge(in_ECX->_activeDesc[0]._item,1,0); + AddActiveCharge(in_ECX,iVar8,0,0,0,1); ItemOverlay::Show(&g_game->_itemOverlay,0x2f,3,(Entity_Player *)0x0); } } - bVar8 = HasTrinket(in_ECX,0x8e,0); - if (bVar8 != 0) { - iVar9 = GetTrinketMultiplier(in_ECX,0x8e); - iVar9 = iVar9 << 2; - if (iVar9 != 0) { + bVar7 = HasTrinket(in_ECX,0x8e,0); + if (bVar7 != 0) { + iVar8 = GetTrinketMultiplier(in_ECX,0x8e); + iVar8 = iVar8 << 2; + if (iVar8 != 0) { do { AddWisp(0x248,&in_ECX->_pos,0,0); - iVar9 = iVar9 + -1; - } while (iVar9 != 0); + iVar8 = iVar8 + -1; + } while (iVar8 != 0); } } - bVar8 = HasTrinket(in_ECX,0xa8,0); - if (bVar8 != 0) { - iVar9 = GetTrinketMultiplier(in_ECX,0xa8); - AddBoneHearts(in_ECX,iVar9); + bVar7 = HasTrinket(in_ECX,0xa8,0); + if (bVar7 != 0) { + iVar8 = GetTrinketMultiplier(in_ECX,0xa8); + AddBoneHearts(in_ECX,iVar8); } - bVar8 = HasCollectible(in_ECX,0x102,0); - if (bVar8 != 0) { + bVar7 = HasCollectible(in_ECX,0x102,0); + if (bVar7 != 0) { UseActiveItem(in_ECX,(short *)((int)&local_34 + 2),0x11c,1,-1,0); in_ECX->_isPlayingItemAnimation = 0; ANM2::Reset(&in_ECX->_bodySprite); (in_ECX->_sprite)._playbackSpeed = 1.0; AnimationState::SetAnimationData(&(in_ECX->_sprite)._overlayAnimState,0); - bVar8 = ANM2::SetAnimation(&in_ECX->_sprite,(byte *)"Glitch",1); - if (bVar8 != 0) { + bVar7 = ANM2::SetAnimation(&in_ECX->_sprite,(byte *)"Glitch",1); + if (bVar7 != 0) { AnimationState::Rewind(&(in_ECX->_sprite)._animState); (in_ECX->_sprite)._animState._isPlaying = 1; } in_ECX->_isPlayingExtraAnimation = 1; in_ECX->_isPlayingItemAnimation = 0; } - bVar8 = HasCollectible(in_ECX,0x188,0); - if (bVar8 != 0) { - bVar8 = HasCollectible(in_ECX,299,0); - if (bVar8 == 0) { + bVar7 = HasCollectible(in_ECX,0x188,0); + if (bVar7 != 0) { + bVar7 = HasCollectible(in_ECX,299,0); + if (bVar7 == 0) { if ((in_ECX->_temporaryeffects)._disabled == 0) { - for (piVar14 = (in_ECX->_temporaryeffects)._effects._begin; - piVar14 != (in_ECX->_temporaryeffects)._effects._end; piVar14 = piVar14 + 4) { - iVar9 = *(int *)*piVar14; - if ((((iVar9 == 1) || (iVar9 == 3)) || (iVar9 == 4)) && (((int *)*piVar14)[1] == 299)) + for (piVar13 = (in_ECX->_temporaryeffects)._effects._begin; + piVar13 != (in_ECX->_temporaryeffects)._effects._end; piVar13 = piVar13 + 4) { + iVar8 = *(int *)*piVar13; + if ((((iVar8 == 1) || (iVar8 == 3)) || (iVar8 == 4)) && (((int *)*piVar13)[1] == 299)) goto LAB_007a5d32; } } - pvVar20 = (g_manager->_itemConfig)._collectibles._begin; - if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar20 >> 2 < 300) { + pvVar19 = (g_manager->_itemConfig)._collectibles._begin; + if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar19 >> 2 < 300) { Item = (ItemConfig_Item *)0x0; } else { - Item = *(ItemConfig_Item **)((int)pvVar20 + 0x4ac); + Item = *(ItemConfig_Item **)((int)pvVar19 + 0x4ac); } RemoveCostume(in_ECX,Item); } LAB_007a5d32: in_ECX->_cacheFlags = in_ECX->_cacheFlags | 0xffff; } - bVar8 = HasTrinket(in_ECX,0x77,0); - if (bVar8 != 0) { - iVar9 = GetTrinketMultiplier(in_ECX,0x77); - if (iVar9 == 1) { - iVar9 = GetHealthType(in_ECX); - if ((iVar9 == 1) || (iVar9 == 2)) { - iVar9 = in_ECX->_maxHearts; + bVar7 = HasTrinket(in_ECX,0x77,0); + if (bVar7 != 0) { + iVar8 = GetTrinketMultiplier(in_ECX,0x77); + if (iVar8 == 1) { + iVar8 = GetHealthType(in_ECX); + if ((iVar8 == 1) || (iVar8 == 2)) { + iVar8 = in_ECX->_maxHearts; } else { - iVar9 = in_ECX->_maxHearts + in_ECX->_boneHearts * 2; + iVar8 = in_ECX->_maxHearts + in_ECX->_boneHearts * 2; } - iVar9 = (iVar9 - in_ECX->_redHearts) / 2; + iVar8 = (iVar8 - in_ECX->_redHearts) / 2; } else { - if (iVar9 != 2) { - if (iVar9 == 3) { - iVar9 = GetHealthType(in_ECX); - if ((iVar9 == 1) || (iVar9 == 2)) { - iVar9 = in_ECX->_maxHearts; + if (iVar8 != 2) { + if (iVar8 == 3) { + iVar8 = GetHealthType(in_ECX); + if ((iVar8 == 1) || (iVar8 == 2)) { + iVar8 = in_ECX->_maxHearts; } else { - iVar9 = in_ECX->_maxHearts + in_ECX->_boneHearts * 2; + iVar8 = in_ECX->_maxHearts + in_ECX->_boneHearts * 2; } - iVar9 = iVar9 - in_ECX->_redHearts; - iVar17 = 1; - if (1 < iVar9) { - iVar17 = iVar9; + iVar8 = iVar8 - in_ECX->_redHearts; + iVar16 = 1; + if (1 < iVar8) { + iVar16 = iVar8; } - AddHearts(in_ECX,iVar17,0,0); - uVar16 = Random(); - uVar18 = Room::get_random_pickup_position(g_game->_room,local_ec,0,0); - Game::Spawn(5,10,uVar18,&g_vectorZero,0,1,uVar16); - uVar16 = Random(); - uVar18 = Room::get_random_pickup_position(g_game->_room,local_f4,0,0); - Game::Spawn(5,10,uVar18,&g_vectorZero,0,1,uVar16); + AddHearts(in_ECX,iVar16,0,0); + uVar15 = Random(); + uVar17 = Room::get_random_pickup_position(g_game->_room,local_ec,0,0); + Game::Spawn(5,10,uVar17,&g_vectorZero,0,1,uVar15); + uVar15 = Random(); + uVar17 = Room::get_random_pickup_position(g_game->_room,local_f4,0,0); + Game::Spawn(5,10,uVar17,&g_vectorZero,0,1,uVar15); } goto LAB_007a5eb3; } - iVar9 = GetHealthType(in_ECX); - if ((iVar9 == 1) || (iVar9 == 2)) { - iVar9 = in_ECX->_maxHearts - in_ECX->_redHearts; + iVar8 = GetHealthType(in_ECX); + if ((iVar8 == 1) || (iVar8 == 2)) { + iVar8 = in_ECX->_maxHearts - in_ECX->_redHearts; } else { - iVar9 = (in_ECX->_maxHearts + in_ECX->_boneHearts * 2) - in_ECX->_redHearts; + iVar8 = (in_ECX->_maxHearts + in_ECX->_boneHearts * 2) - in_ECX->_redHearts; } } - iVar17 = 1; - if (1 < iVar9) { - iVar17 = iVar9; + iVar16 = 1; + if (1 < iVar8) { + iVar16 = iVar8; } - AddHearts(in_ECX,iVar17,0,0); + AddHearts(in_ECX,iVar16,0,0); } LAB_007a5eb3: if (g_game->_challenge == 0x1f) { - pvVar20 = (in_ECX->_history)._historyItems._begin; + pvVar19 = (in_ECX->_history)._historyItems._begin; local_34 = (Entity_Player *)0x0; - iVar17 = (int)(in_ECX->_history)._historyItems._end - (int)pvVar20; - iVar9 = iVar17 >> 0x1f; - if (iVar17 / 0x1c + iVar9 != iVar9) { - iVar9 = 0; + iVar16 = (int)(in_ECX->_history)._historyItems._end - (int)pvVar19; + iVar8 = iVar16 >> 0x1f; + if (iVar16 / 0x1c + iVar8 != iVar8) { + iVar8 = 0; do { - if ((*(char *)((int)pvVar20 + iVar9 + 4) == '\0') && - (bVar8 = HasCollectible(in_ECX,*(int *)((int)pvVar20 + iVar9 + 8),0), bVar8 != 0)) { + if ((*(char *)((int)pvVar19 + iVar8 + 4) == '\0') && + (bVar7 = HasCollectible(in_ECX,*(int *)((int)pvVar19 + iVar8 + 8),0), bVar7 != 0)) { RemoveCollectible(in_ECX,*(uint *)((int)(in_ECX->_history)._historyItems._begin + (int)local_34 * 0x1c + 8),0,0,1); break; } - pvVar20 = (in_ECX->_history)._historyItems._begin; - iVar9 = iVar9 + 0x1c; + pvVar19 = (in_ECX->_history)._historyItems._begin; + iVar8 = iVar8 + 0x1c; local_34 = (Entity_Player *)((int)local_34 + 1); - } while (local_34 < (uint)(((int)(in_ECX->_history)._historyItems._end - (int)pvVar20) / 0x1c) + } while (local_34 < (uint)(((int)(in_ECX->_history)._historyItems._end - (int)pvVar19) / 0x1c) ); } AddMaxHearts(in_ECX,-2,0); @@ -533639,138 +534430,138 @@ LAB_007a5eb3: AddSoulHearts(in_ECX,1,0); } } - pvVar20 = (in_ECX->_collectibleRNGs)._begin; + pvVar19 = (in_ECX->_collectibleRNGs)._begin; local_48 = 0x500000001; - uVar15 = g_game->_dungeonPlacementSeed; + uVar14 = g_game->_dungeonPlacementSeed; local_34 = (Entity_Player *)0x13; - if (uVar15 == 0) { + if (uVar14 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = uVar15 >> 1 ^ uVar15; - uVar15 = uVar15 << 5 ^ uVar15; - *(undefined8 *)((int)pvVar20 + 0x2c4) = 0x700000002; - local_30 = (Game *)(uVar15 >> 0x13 ^ uVar15); - *(undefined4 *)((int)pvVar20 + 0x2cc) = 9; - *(Game **)((int)pvVar20 + 0x2c0) = local_30; - pvVar20 = (in_ECX->_collectibleRNGs)._begin; - local_38 = (uint *)((int)pvVar20 + 0x1440); + uVar14 = uVar14 >> 1 ^ uVar14; + uVar14 = uVar14 << 5 ^ uVar14; + *(undefined8 *)((int)pvVar19 + 0x2c4) = 0x700000002; + local_30 = (Game *)(uVar14 >> 0x13 ^ uVar14); + *(undefined4 *)((int)pvVar19 + 0x2cc) = 9; + *(Game **)((int)pvVar19 + 0x2c0) = local_30; + pvVar19 = (in_ECX->_collectibleRNGs)._begin; + local_38 = (uint *)((int)pvVar19 + 0x1440); if (local_30 == (Game *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)local_30 >> 1 ^ (uint)local_30; - uVar15 = uVar15 << 5 ^ uVar15; - uVar15 = uVar15 >> 0x13 ^ uVar15; - *(undefined8 *)((int)pvVar20 + 0x1444) = 0x700000002; - *local_38 = uVar15; - *(undefined4 *)((int)pvVar20 + 0x144c) = 9; - pvVar20 = (in_ECX->_collectibleRNGs)._begin; - local_38 = (uint *)((int)pvVar20 + 0x13c0); - if (uVar15 == 0) { + uVar14 = (uint)local_30 >> 1 ^ (uint)local_30; + uVar14 = uVar14 << 5 ^ uVar14; + uVar14 = uVar14 >> 0x13 ^ uVar14; + *(undefined8 *)((int)pvVar19 + 0x1444) = 0x700000002; + *local_38 = uVar14; + *(undefined4 *)((int)pvVar19 + 0x144c) = 9; + pvVar19 = (in_ECX->_collectibleRNGs)._begin; + local_38 = (uint *)((int)pvVar19 + 0x13c0); + if (uVar14 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = uVar15 >> 1 ^ uVar15; - uVar15 = uVar15 << 5 ^ uVar15; - uVar15 = uVar15 >> 0x13 ^ uVar15; - *(undefined8 *)((int)pvVar20 + 0x13c4) = 0x700000002; - *local_38 = uVar15; - *(undefined4 *)((int)pvVar20 + 0x13cc) = 9; - pvVar20 = (in_ECX->_trinketRNGs)._begin; - local_38 = (uint *)((int)pvVar20 + 0x2b0); - if (uVar15 == 0) { + uVar14 = uVar14 >> 1 ^ uVar14; + uVar14 = uVar14 << 5 ^ uVar14; + uVar14 = uVar14 >> 0x13 ^ uVar14; + *(undefined8 *)((int)pvVar19 + 0x13c4) = 0x700000002; + *local_38 = uVar14; + *(undefined4 *)((int)pvVar19 + 0x13cc) = 9; + pvVar19 = (in_ECX->_trinketRNGs)._begin; + local_38 = (uint *)((int)pvVar19 + 0x2b0); + if (uVar14 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = uVar15 >> 1 ^ uVar15; - uVar15 = uVar15 << 5 ^ uVar15; - uVar15 = uVar15 >> 0x13 ^ uVar15; - *(undefined8 *)((int)pvVar20 + 0x2b4) = 0x700000002; - *local_38 = uVar15; - *(undefined4 *)((int)pvVar20 + 700) = 9; - pvVar20 = (in_ECX->_pillRNGs)._begin; - local_38 = (uint *)((int)pvVar20 + 0x130); - if (uVar15 == 0) { + uVar14 = uVar14 >> 1 ^ uVar14; + uVar14 = uVar14 << 5 ^ uVar14; + uVar14 = uVar14 >> 0x13 ^ uVar14; + *(undefined8 *)((int)pvVar19 + 0x2b4) = 0x700000002; + *local_38 = uVar14; + *(undefined4 *)((int)pvVar19 + 700) = 9; + pvVar19 = (in_ECX->_pillRNGs)._begin; + local_38 = (uint *)((int)pvVar19 + 0x130); + if (uVar14 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = uVar15 >> 1 ^ uVar15; - uVar15 = uVar15 << 5 ^ uVar15; - *(undefined8 *)((int)pvVar20 + 0x134) = 0x700000002; - *local_38 = uVar15 >> 0x13 ^ uVar15; - *(undefined4 *)((int)pvVar20 + 0x13c) = 9; + uVar14 = uVar14 >> 1 ^ uVar14; + uVar14 = uVar14 << 5 ^ uVar14; + *(undefined8 *)((int)pvVar19 + 0x134) = 0x700000002; + *local_38 = uVar14 >> 0x13 ^ uVar14; + *(undefined4 *)((int)pvVar19 + 0x13c) = 9; if (param_1 == '\0') { in_ECX->_hasGoldenKey = 0; in_ECX->_hasGoldenBomb = 0; } - pvVar20 = (in_ECX->_levelEffectItems)._begin; - if ((pvVar20 != (in_ECX->_levelEffectItems)._end) && + pvVar19 = (in_ECX->_levelEffectItems)._begin; + if ((pvVar19 != (in_ECX->_levelEffectItems)._end) && ((std_vector *)local_100 != &in_ECX->_levelEffectItems)) { - pvVar19 = (in_ECX->_levelEffectItems)._capacity; + pvVar18 = (in_ECX->_levelEffectItems)._capacity; (in_ECX->_levelEffectItems)._begin = (void *)0x0; (in_ECX->_levelEffectItems)._end = (void *)0x0; (in_ECX->_levelEffectItems)._capacity = (void *)0x0; - if (pvVar20 != (void *)0x0) { - uVar15 = (int)pvVar19 - (int)pvVar20 & 0xfffffffc; - pvVar19 = pvVar20; - if (0xfff < uVar15) { - pvVar19 = *(void **)((int)pvVar20 + -4); - uVar15 = uVar15 + 0x23; - if (0x1f < (uint)((int)pvVar20 + (-4 - (int)pvVar19))) { + if (pvVar19 != (void *)0x0) { + uVar14 = (int)pvVar18 - (int)pvVar19 & 0xfffffffc; + pvVar18 = pvVar19; + if (0xfff < uVar14) { + pvVar18 = *(void **)((int)pvVar19 + -4); + uVar14 = uVar14 + 0x23; + if (0x1f < (uint)((int)pvVar19 + (-4 - (int)pvVar18))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pvVar19,uVar15); + operator_delete(pvVar18,uVar14); } } - pMVar6 = g_manager; + pMVar5 = g_manager; in_ECX->_bloodLustCounter = 0; - pvVar20 = (pMVar6->_itemConfig)._collectibles._begin; - if ((int)(pMVar6->_itemConfig)._collectibles._end - (int)pvVar20 >> 2 < 0x9e) { - iVar9 = 0; + pvVar19 = (pMVar5->_itemConfig)._collectibles._begin; + if ((int)(pMVar5->_itemConfig)._collectibles._end - (int)pvVar19 >> 2 < 0x9e) { + iVar8 = 0; } else { - iVar9 = *(int *)((int)pvVar20 + 0x274); + iVar8 = *(int *)((int)pvVar19 + 0x274); } - uVar15 = *(uint *)(iVar9 + 0x54) | in_ECX->_cacheFlags; - in_ECX->_cacheFlags = uVar15; - pvVar20 = (pMVar6->_itemConfig)._collectibles._begin; - if ((int)(pMVar6->_itemConfig)._collectibles._end - (int)pvVar20 >> 2 < 0x2b8) { - iVar9 = 0; + uVar14 = *(uint *)(iVar8 + 0x54) | in_ECX->_cacheFlags; + in_ECX->_cacheFlags = uVar14; + pvVar19 = (pMVar5->_itemConfig)._collectibles._begin; + if ((int)(pMVar5->_itemConfig)._collectibles._end - (int)pvVar19 >> 2 < 0x2b8) { + iVar8 = 0; } else { - iVar9 = *(int *)((int)pvVar20 + 0xadc); + iVar8 = *(int *)((int)pvVar19 + 0xadc); } - in_ECX->_cacheFlags = uVar15 | *(uint *)(iVar9 + 0x54); + in_ECX->_cacheFlags = uVar14 | *(uint *)(iVar8 + 0x54); EvaluateItems(); if (param_1 != '\0') { - uVar15 = 0; - pvVar20 = g_game->_room; - if (*(int *)((int)pvVar20 + 0x1264) != 0) { + uVar14 = 0; + pvVar19 = g_game->_room; + if (*(int *)((int)pvVar19 + 0x1264) != 0) { do { - iVar9 = *(int *)(*(int *)((int)pvVar20 + 0x125c) + uVar15 * 4); - if (((iVar9 != 0) && (*(int *)(iVar9 + 0x28) == 3)) && - (*(Entity_Player **)(iVar9 + 0x410) == in_ECX)) { + iVar8 = *(int *)(*(int *)((int)pvVar19 + 0x125c) + uVar14 * 4); + if (((iVar8 != 0) && (*(int *)(iVar8 + 0x28) == 3)) && + (*(Entity_Player **)(iVar8 + 0x410) == in_ECX)) { Entity_Familiar::level_start(); } - uVar15 = uVar15 + 1; - } while (uVar15 < *(uint *)((int)pvVar20 + 0x1264)); + uVar14 = uVar14 + 1; + } while (uVar14 < *(uint *)((int)pvVar19 + 0x1264)); } } if (local_74 == '\0') { if (g_mainHeap == (void *)0x0) { - pqVar21 = &g_allocatedBytesNoHeap; + pqVar20 = &g_allocatedBytesNoHeap; } else { - pqVar21 = (qword *)((int)g_mainHeap + 0x30); + pqVar20 = (qword *)((int)g_mainHeap + 0x30); } if (local_70 != 0) { - uVar15 = *(uint *)(local_70 + -4); - qVar5 = *pqVar21; - *(uint *)pqVar21 = (uint)*pqVar21 - uVar15; - *(uint *)((int)pqVar21 + 4) = *(uint *)((int)pqVar21 + 4) - (uint)((uint)qVar5 < uVar15); + uVar14 = *(uint *)(local_70 + -4); + qVar4 = *pqVar20; + *(uint *)pqVar20 = (uint)*pqVar20 - uVar14; + *(uint *)((int)pqVar20 + 4) = *(uint *)((int)pqVar20 + 4) - (uint)((uint)qVar4 < uVar14); free((uint *)(local_70 + -4)); } } @@ -534536,7 +535327,7 @@ LAB_007a75ef: iVar12 = GetTrinketMultiplier(in_ECX,0x7c); if ((pGVar3 == (GridEntity_Door *)0x0) || (GridEntity_Door::Open(), iVar12 < 3)) goto LAB_007a7642; - if ((*(uint *)&pGVar3->field_0x3a0 >> 3 & 1) != 0) { + if (((uint)pGVar3->_doorFlags >> 3 & 1) != 0) { GridEntity_Door::TryUnlock(pGVar3,in_ECX,1); } } @@ -534971,9 +535762,8 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th void *pvVar9; int iVar10; int *piVar11; - RNG RVar12; - Game *pGVar13; - char *pcVar14; + Game *pGVar12; + char *pcVar13; undefined4 local_34; undefined4 uStack_30; undefined4 uStack_2c; @@ -534981,8 +535771,6 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th undefined4 local_24; int aiStack_20 [2]; RNG RStack_18; - longlong lStack_14; - undefined4 local_c; uint local_8; local_8 = __security_cookie ^ (uint)(aiStack_20 + 7); @@ -534995,9 +535783,10 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th pvVar9 = (this->_trinketRNGs)._begin; aiStack_20[0] = 0xc; aiStack_20[1] = 0x47; - RStack_18 = (RNG)0x79; - lStack_14 = 0x15600000078; - local_c = 0x18e; + RStack_18._seed = 0x79; + RStack_18._shift1 = 0x78; + RStack_18._shift2 = 0x156; + RStack_18._shift3 = 0x18e; uVar6 = *(uint *)((int)pvVar9 + 0x200); if (uVar6 == 0) { /* WARNING: Subroutine does not return */ @@ -535007,9 +535796,9 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th uVar6 = uVar6 << ((byte)*(undefined4 *)((int)pvVar9 + 0x208) & 0x1f) ^ uVar6; uVar6 = uVar6 >> ((byte)*(undefined4 *)((int)pvVar9 + 0x20c) & 0x1f) ^ uVar6; *(uint *)((int)pvVar9 + 0x200) = uVar6; - RStack_18 = (RNG)ItemConfig::GetCollectible(&pMVar2->_itemConfig,aiStack_20[uVar6 % 6]); - lStack_14 = (ulonglong)(uint)*(int *)((int)RStack_18 + 0x78) << 0x20; - local_c = 0; + RStack_18._seed = (int)ItemConfig::GetCollectible(&pMVar2->_itemConfig,aiStack_20[uVar6 % 6]); + RStack_18._4_8_ = (ulonglong)(uint)((ItemConfig_Item *)RStack_18._seed)->maxCooldown << 0x20; + RStack_18._shift3 = 0; TemporaryEffects::AddEffect(&this->_temporaryeffects,&RStack_18,1,1); } } @@ -535052,10 +535841,11 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th bVar3 = HasTrinket(this,0xa6,0); if (bVar3 != 0) { pRVar8 = Level::GetRoomByIdx((Level *)g_game,g_game->_currentRoomIdx,-1); - if ((RNG)pRVar8->SpawnSeed != (RNG)0x0) { - lStack_14 = 0x1100000007; - local_c = 0x15; - RStack_18 = (RNG)pRVar8->SpawnSeed; + if ((ItemConfig_Item *)pRVar8->SpawnSeed != (ItemConfig_Item *)0x0) { + RStack_18._shift1 = 7; + RStack_18._shift2 = 0x11; + RStack_18._shift3 = 0x15; + RStack_18._seed = pRVar8->SpawnSeed; iVar5 = GetTrinketMultiplier(this,0xa6); uVar6 = RNG::RandomInt(&RStack_18,(uint)(2 / (longlong)iVar5)); if (uVar6 == 0) { @@ -535079,10 +535869,11 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th else { pvVar9 = (g_manager->_itemConfig)._collectibles._begin; if ((0x4e4 < (int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar9 & 0xfffffffcU) - ) && (RVar12 = *(RNG *)((int)pvVar9 + 0x4e4), RVar12 != (RNG)0x0)) { - lStack_14 = (ulonglong)(uint)*(int *)((int)RVar12 + 0x78) << 0x20; - local_c = 0; - RStack_18 = RVar12; + ) && (pIVar7 = *(ItemConfig_Item **)((int)pvVar9 + 0x4e4), pIVar7 != (ItemConfig_Item *)0x0) + ) { + RStack_18._4_8_ = (ulonglong)(uint)pIVar7->maxCooldown << 0x20; + RStack_18._shift3 = 0; + RStack_18._seed = (int)pIVar7; TemporaryEffects::RemoveEffect(&this->_temporaryeffects,&RStack_18,1); } pMVar2 = g_manager; @@ -535101,13 +535892,14 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th } bVar3 = HasCollectible(this,299,0); if ((bVar3 != 0) || (iVar5 = GetZodiacEffect(), iVar5 == 299)) { - *(undefined4 *)&this->field_0x1564 = 0; + this->_taurusSpeedBonus = 0.0; local_24 = 0; aiStack_20[0] = 0; aiStack_20[1] = 0; - RStack_18 = (RNG)0x0; - lStack_14 = 0; - local_c = 0; + RStack_18._seed = 0; + RStack_18._shift1 = 0; + RStack_18._shift2 = 0; + RStack_18._shift3 = 0; local_34 = 0x3f800000; uStack_30 = 0x3f800000; uStack_2c = 0x3f800000; @@ -535116,10 +535908,11 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th if ((*(char *)((int)g_game->_room + 1) != '\0') && ((pvVar9 = (g_manager->_itemConfig)._collectibles._begin, 0x4ac < (int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar9 & 0xfffffffcU) - && (RVar12 = *(RNG *)((int)pvVar9 + 0x4ac), RVar12 != (RNG)0x0)))) { - lStack_14 = (ulonglong)(uint)*(int *)((int)RVar12 + 0x78) << 0x20; - local_c = 0; - RStack_18 = RVar12; + && (pIVar7 = *(ItemConfig_Item **)((int)pvVar9 + 0x4ac), pIVar7 != (ItemConfig_Item *)0x0))) + ) { + RStack_18._4_8_ = (ulonglong)(uint)pIVar7->maxCooldown << 0x20; + RStack_18._shift3 = 0; + RStack_18._seed = (int)pIVar7; TemporaryEffects::AddEffect(&this->_temporaryeffects,&RStack_18,1,1); } } @@ -535175,10 +535968,10 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th if (((bVar3 != 0) && (pvVar9 = (g_manager->_itemConfig)._collectibles._begin, 0x238 < (int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar9 & 0xfffffffcU))) - && (RVar12 = *(RNG *)((int)pvVar9 + 0x238), RVar12 != (RNG)0x0)) { - lStack_14 = (ulonglong)(uint)*(int *)((int)RVar12 + 0x78) << 0x20; - local_c = 0; - RStack_18 = RVar12; + && (pIVar7 = *(ItemConfig_Item **)((int)pvVar9 + 0x238), pIVar7 != (ItemConfig_Item *)0x0)) { + RStack_18._4_8_ = (ulonglong)(uint)pIVar7->maxCooldown << 0x20; + RStack_18._shift3 = 0; + RStack_18._seed = (int)pIVar7; TemporaryEffects::AddEffect(&this->_temporaryeffects,&RStack_18,1,1); } bVar3 = HasCollectible(this,0x197,0); @@ -535186,10 +535979,11 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th (bVar3 = TemporaryEffects::HasCollectibleEffect(&this->_temporaryeffects,0x197), bVar3 == 0)) { pvVar9 = (g_manager->_itemConfig)._collectibles._begin; if ((0x65c < (int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar9 & 0xfffffffcU) - ) && (RVar12 = *(RNG *)((int)pvVar9 + 0x65c), RVar12 != (RNG)0x0)) { - lStack_14 = (ulonglong)(uint)*(int *)((int)RVar12 + 0x78) << 0x20; - local_c = 0; - RStack_18 = RVar12; + ) && (pIVar7 = *(ItemConfig_Item **)((int)pvVar9 + 0x65c), pIVar7 != (ItemConfig_Item *)0x0) + ) { + RStack_18._4_8_ = (ulonglong)(uint)pIVar7->maxCooldown << 0x20; + RStack_18._shift3 = 0; + RStack_18._seed = (int)pIVar7; TemporaryEffects::AddEffect(&this->_temporaryeffects,&RStack_18,1,1); } pvVar9 = (g_manager->_itemConfig)._nullItems._begin; @@ -535207,26 +536001,26 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th (bVar3 = TemporaryEffects::HasCollectibleEffect(&this->_temporaryeffects,0x19f), bVar3 == 0)) { cVar4 = HasFullHearts(); if (cVar4 == '\0') { - pcVar14 = "FloatNoGlow"; + pcVar13 = "FloatNoGlow"; } else { TemporaryEffects::AddCollectibleEffect(&this->_temporaryeffects,0x19f,1,1); - pcVar14 = "FloatGlow"; + pcVar13 = "FloatGlow"; } - ANM2::Play(&this->_crownOfLightSprite,(byte *)pcVar14,0); + ANM2::Play(&this->_crownOfLightSprite,(byte *)pcVar13,0); } bVar3 = HasCollectible(this,0x1ba,0); if ((bVar3 != 0) && (bVar3 = TemporaryEffects::HasCollectibleEffect(&this->_temporaryeffects,0x1ba), bVar3 == 0)) { cVar4 = FUN_007db360(); if (cVar4 == '\0') { - pcVar14 = "FloatNoGlow"; + pcVar13 = "FloatNoGlow"; } else { TemporaryEffects::AddCollectibleEffect(&this->_temporaryeffects,0x1ba,1,1); - pcVar14 = "FloatGlow"; + pcVar13 = "FloatGlow"; } - ANM2::Play(&this->_darkPrincesCrownSprite,(byte *)pcVar14,0); + ANM2::Play(&this->_darkPrincesCrownSprite,(byte *)pcVar13,0); } iVar5 = 0; if ((this->_holyMantleStacks & 0xf0) != 0) { @@ -535234,10 +536028,10 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th pvVar9 = (g_manager->_itemConfig)._collectibles._begin; if ((0x4e4 < (int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar9 & 0xfffffffcU)) && - (RVar12 = *(RNG *)((int)pvVar9 + 0x4e4), RVar12 != (RNG)0x0)) { - lStack_14 = (ulonglong)(uint)*(int *)((int)RVar12 + 0x78) << 0x20; - local_c = 0; - RStack_18 = RVar12; + (pIVar7 = *(ItemConfig_Item **)((int)pvVar9 + 0x4e4), pIVar7 != (ItemConfig_Item *)0x0)) { + RStack_18._4_8_ = (ulonglong)(uint)pIVar7->maxCooldown << 0x20; + RStack_18._shift3 = 0; + RStack_18._seed = (int)pIVar7; TemporaryEffects::AddEffect(&this->_temporaryeffects,&RStack_18,1,1); } iVar5 = iVar5 + 1; @@ -535250,10 +536044,11 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th pvVar9 = (g_manager->_itemConfig)._collectibles._begin; if ((0x4e4 < (int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar9 & 0xfffffffcU)) && - (RVar12 = *(RNG *)((int)pvVar9 + 0x4e4), RVar12 != (RNG)0x0)) { - lStack_14 = (ulonglong)(uint)*(int *)((int)RVar12 + 0x78) << 0x20; - local_c = 0; - RStack_18 = RVar12; + (pIVar7 = *(ItemConfig_Item **)((int)pvVar9 + 0x4e4), pIVar7 != (ItemConfig_Item *)0x0)) + { + RStack_18._4_8_ = (ulonglong)(uint)pIVar7->maxCooldown << 0x20; + RStack_18._shift3 = 0; + RStack_18._seed = (int)pIVar7; TemporaryEffects::AddEffect(&this->_temporaryeffects,&RStack_18,1,1); } break; @@ -535263,10 +536058,10 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th if ((((this->_variant == 0) && (bVar3 = HasCollectible(this,0x1f1,0), bVar3 != 0)) && (pvVar9 = (g_manager->_itemConfig)._collectibles._begin, 0x7c4 < (int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar9 & 0xfffffffcU))) - && (RVar12 = *(RNG *)((int)pvVar9 + 0x7c4), RVar12 != (RNG)0x0)) { - lStack_14 = (ulonglong)(uint)*(int *)((int)RVar12 + 0x78) << 0x20; - local_c = 0; - RStack_18 = RVar12; + && (pIVar7 = *(ItemConfig_Item **)((int)pvVar9 + 0x7c4), pIVar7 != (ItemConfig_Item *)0x0)) { + RStack_18._4_8_ = (ulonglong)(uint)pIVar7->maxCooldown << 0x20; + RStack_18._shift3 = 0; + RStack_18._seed = (int)pIVar7; TemporaryEffects::AddEffect(&this->_temporaryeffects,&RStack_18,1,1); } bVar3 = HasCollectible(this,0x24c,0); @@ -535289,10 +536084,10 @@ void __thiscall Entity_Player::TriggerNewRoom_TemporaryEffects(Entity_Player *th ((g_game->_roomList[g_game->_lastBossRoomListIdx].Flags & 1) != 0)) && ((pvVar9 = (g_manager->_itemConfig)._nullItems._begin, 0xe0 < (int)((int)(g_manager->_itemConfig)._nullItems._end - (int)pvVar9 & 0xfffffffcU) && - (RVar12 = *(RNG *)((int)pvVar9 + 0xe0), RVar12 != (RNG)0x0)))) { - lStack_14 = (ulonglong)(uint)*(int *)((int)RVar12 + 0x78) << 0x20; - local_c = 0; - RStack_18 = RVar12; + (pIVar7 = *(ItemConfig_Item **)((int)pvVar9 + 0xe0), pIVar7 != (ItemConfig_Item *)0x0)))) { + RStack_18._4_8_ = (ulonglong)(uint)pIVar7->maxCooldown << 0x20; + RStack_18._shift3 = 0; + RStack_18._seed = (int)pIVar7; TemporaryEffects::AddEffect(&this->_temporaryeffects,&RStack_18,1,1); } } @@ -535300,23 +536095,23 @@ LAB_007a8d7b: if ((this->_hasCurseMistEffect == 0) && (this->_isCoopGhost == 0)) { uVar6 = 0; pvVar9 = (this->_levelEffectItems)._begin; - pGVar13 = g_game; + pGVar12 = g_game; if ((int)(this->_levelEffectItems)._end - (int)pvVar9 >> 2 != 0) { do { uVar1 = *(uint *)((int)pvVar9 + uVar6 * 4); - if (pGVar13 == (Game *)0x0) { + if (pGVar12 == (Game *)0x0) { if (-1 < (int)uVar1) goto LAB_007a8dea; } else { if ((int)uVar1 < 0) { if (((int)uVar1 < 0) && - (pvVar9 = (pGVar13->_proceduralItemManager)._proceduralItems._begin, + (pvVar9 = (pGVar12->_proceduralItemManager)._proceduralItems._begin, (int)~uVar1 < - (int)(pGVar13->_proceduralItemManager)._proceduralItems._end - (int)pvVar9 >> 2)) { - RVar12 = **(RNG **)((int)pvVar9 + ~uVar1 * 4); + (int)(pGVar12->_proceduralItemManager)._proceduralItems._end - (int)pvVar9 >> 2)) { + pIVar7 = (ItemConfig_Item *)**(undefined4 **)((int)pvVar9 + ~uVar1 * 4); } else { - RVar12 = (RNG)0x0; + pIVar7 = (ItemConfig_Item *)0x0; } } else { @@ -535324,14 +536119,14 @@ LAB_007a8dea: pvVar9 = (g_manager->_itemConfig)._collectibles._begin; if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar9 >> 2 <= (int)uVar1) goto LAB_007a8e36; - RVar12 = *(RNG *)((int)pvVar9 + uVar1 * 4); + pIVar7 = *(ItemConfig_Item **)((int)pvVar9 + uVar1 * 4); } - if (RVar12 != (RNG)0x0) { - lStack_14 = (ulonglong)(uint)*(int *)((int)RVar12 + 0x78) << 0x20; - local_c = 0; - RStack_18 = RVar12; + if (pIVar7 != (ItemConfig_Item *)0x0) { + RStack_18._4_8_ = (ulonglong)(uint)pIVar7->maxCooldown << 0x20; + RStack_18._shift3 = 0; + RStack_18._seed = (int)pIVar7; TemporaryEffects::AddEffect(&this->_temporaryeffects,&RStack_18,1,1); - pGVar13 = g_game; + pGVar12 = g_game; } } LAB_007a8e36: @@ -535392,6 +536187,7 @@ void __thiscall Entity_Player::TriggerRoomClear(Entity_Player *this) Entity_Familiar *this_00; Entity_Player *this_01; int iVar4; + RNG rng; qword qVar5; Manager *pMVar6; byte bVar7; @@ -535408,15 +536204,21 @@ void __thiscall Entity_Player::TriggerRoomClear(Entity_Player *this) qword *pqVar17; uint *puVar18; uint uVar19; - RNG RVar20; - Game *pGVar21; - float fVar22; - Game *pGVar23; - undefined4 uVar24; - undefined8 uVar25; - ulonglong uVar26; + Game *pGVar20; + float fVar21; + Game *pGVar22; + undefined4 uVar23; + TypeDescriptor *pTVar24; + Vector *pVVar25; + TypeDescriptor *pTVar26; byte unk2; undefined4 uVar27; + undefined4 local_98; + undefined4 local_94; + undefined4 local_90; + undefined4 local_8c; + undefined4 local_88; + undefined4 local_84; float local_80; float local_7c; Entity_Player *local_78; @@ -535433,11 +536235,7 @@ void __thiscall Entity_Player::TriggerRoomClear(Entity_Player *this) EntityPtr EStack_48; EntityPtr local_44; undefined4 local_40; - undefined1 auStack_3c [24]; - undefined4 uStack_24; - float local_20; - undefined4 local_1c; - void *local_18; + EntityRef EStack_3c; uint local_14; void *local_10; undefined1 *puStack_c; @@ -535446,7 +536244,7 @@ void __thiscall Entity_Player::TriggerRoomClear(Entity_Player *this) local_8 = 0xffffffff; puStack_c = &LAB_00affa55; local_10 = ExceptionList; - uVar8 = __security_cookie ^ (uint)(auStack_3c + 0x38); + uVar8 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; local_78 = this; local_14 = uVar8; @@ -535503,7 +536301,7 @@ LAB_007a907b: pvVar2 = (this->_trinketRNGs)._end; if ((int)pvVar2 - (int)(this->_trinketRNGs)._begin >> 4 < 0x49) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"Trinket ID out of bounds!\n"); } pvVar3 = (this->_trinketRNGs)._begin; uVar19 = ((int)pvVar2 - (int)pvVar3 >> 4) - 1; @@ -535514,7 +536312,7 @@ LAB_007a907b: uVar19 = *puVar18; if (uVar19 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar19 = uVar19 >> ((byte)puVar18[1] & 0x1f) ^ uVar19; uVar19 = uVar19 << ((byte)puVar18[2] & 0x1f) ^ uVar19; @@ -535561,10 +536359,11 @@ LAB_007a907b: SoundEffects::Play(&pMVar6->_sfxManager,(int)local_44,1.0,2,0,1.0,0.0); uVar11 = Random(); uVar27 = 0; - uVar25 = 0xc5d5ac00c5d5dc; - uVar24 = 0; + pTVar26 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; + pTVar24 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar23 = 0; uVar11 = Game::Spawn(1000,0x31,&this->_pos,&g_vectorZero,0,1,uVar11); - iVar9 = __RTDynamicCast(uVar11,uVar24,uVar25,uVar27); + iVar9 = __RTDynamicCast(uVar11,uVar23,pTVar24,pTVar26,uVar27); *(undefined4 *)(iVar9 + 0xdc) = 0; *(undefined4 *)(iVar9 + 0xe0) = 0xc1c00000; *(undefined4 *)(iVar9 + 0x358) = 0x3f800000; @@ -535603,10 +536402,11 @@ LAB_007a9338: SoundEffects::Play(&pMVar6->_sfxManager,(int)local_44,1.0,2,0,1.0,0.0); uVar11 = Random(); uVar27 = 0; - uVar25 = 0xc5d5ac00c5d5dc; - uVar24 = 0; + pTVar26 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; + pTVar24 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar23 = 0; uVar11 = Game::Spawn(1000,0x31,&this->_pos,&g_vectorZero,0,0,uVar11); - iVar9 = __RTDynamicCast(uVar11,uVar24,uVar25,uVar27); + iVar9 = __RTDynamicCast(uVar11,uVar23,pTVar24,pTVar26,uVar27); *(undefined4 *)(iVar9 + 0xdc) = 0; *(undefined4 *)(iVar9 + 0xe0) = 0xc1c00000; *(undefined4 *)(iVar9 + 0x358) = 0x3f800000; @@ -535791,17 +536591,17 @@ LAB_007a96f8: } AddCostume(this,pIVar12,0); switchD_007a9848_default: - local_20 = 0.0; - auStack_3c._12_4_ = 0; - auStack_3c._16_4_ = 0.0; - auStack_3c._20_4_ = 0.0; - uStack_24 = 0.0; - local_1c = 0; - local_18 = (void *)0x0; + EStack_3c._velocity.y = 0.0; + EStack_3c._spawnerVariant = 0; + EStack_3c._position.x = 0.0; + EStack_3c._position.y = 0.0; + EStack_3c._velocity.x = 0.0; + EStack_3c._flags = 0; + EStack_3c._entity = (void *)0x0; local_40 = 0x3dcccccd; - auStack_3c._0_4_ = 0x3dcccccd; - auStack_3c._4_4_ = 0x3dcccccd; - auStack_3c._8_4_ = 0x3f800000; + EStack_3c._type = 0x3dcccccd; + EStack_3c._variant = 0x3dcccccd; + EStack_3c._spawnerType = 0x3f800000; (**(code **)(*(int *)this + 0x3c))(&local_40,6,0xff,1,1); } LAB_007a9930: @@ -535816,7 +536616,7 @@ LAB_007a9930: local_8 = 2; local_74 = 0.0; local_70 = 2.8026e-44; - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(0,&local_74); uVar8 = 0; uVar19 = (int)uStack_50._4_4_ - (int)uStack_50._0_4_ >> 3; WVar15 = (WeightedOutcomePicker)uStack_50._0_4_; @@ -535837,7 +536637,7 @@ LAB_007a9930: local_6c = 1; local_68 = (uint *)&DAT_00000006; if (uStack_50._4_4_ == EStack_48) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(uStack_50._4_4_,&local_6c); WVar15 = (WeightedOutcomePicker)uStack_50._0_4_; EVar10 = uStack_50._4_4_; } @@ -535866,7 +536666,7 @@ LAB_007a9a17: local_64 = 2; local_60 = (uint *)&DAT_00000006; if (EVar10 == EStack_48) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(EVar10,&local_64); WVar15 = (WeightedOutcomePicker)uStack_50._0_4_; EVar10 = uStack_50._4_4_; } @@ -535892,8 +536692,10 @@ LAB_007a9a7b: uVar8 = uVar8 + 1; } while (uVar8 < uVar19); } + local_88 = 3; + local_84 = 1; if (EVar10 == EStack_48) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(EVar10,&local_88); WVar15 = (WeightedOutcomePicker)uStack_50._0_4_; EVar10 = uStack_50._4_4_; } @@ -535919,8 +536721,10 @@ LAB_007a9ae5: uVar8 = uVar8 + 1; } while (uVar8 < uVar19); } + local_90 = 4; + local_8c = 1; if (EVar10 == EStack_48) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(EVar10,&local_90); WVar15 = (WeightedOutcomePicker)uStack_50._0_4_; EVar10 = uStack_50._4_4_; } @@ -535946,8 +536750,10 @@ LAB_007a9b52: uVar8 = uVar8 + 1; } while (uVar8 < uVar19); } + local_98 = 5; + local_94 = 1; if (EVar10 == EStack_48) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(EVar10,&local_98); WVar15 = (WeightedOutcomePicker)uStack_50._0_4_; EVar10 = uStack_50._4_4_; } @@ -535976,7 +536782,7 @@ LAB_007a9bc0: local_80 = 8.40779e-45; local_7c = 1.4013e-45; if (EVar10 == EStack_48) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(EVar10,&local_80); } else { *(undefined4 *)EVar10 = 6; @@ -535988,20 +536794,28 @@ LAB_007a9c21: uVar8 = *(uint *)((int)pvVar2 + 0xa30); if (uVar8 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar8 = uVar8 >> ((byte)*(undefined4 *)((int)pvVar2 + 0xa34) & 0x1f) ^ uVar8; uVar8 = uVar8 << ((byte)*(undefined4 *)((int)pvVar2 + 0xa38) & 0x1f) ^ uVar8; uVar8 = uVar8 >> ((byte)*(undefined4 *)((int)pvVar2 + 0xa3c) & 0x1f) ^ uVar8; *(uint *)((int)pvVar2 + 0xa30) = uVar8; - WeightedOutcomePicker::PickOutcome((WeightedOutcomePicker *)&uStack_50,uVar8,0x900000005,7); + rng._shift1 = 5; + rng._seed = uVar8; + rng._shift2 = 9; + rng._shift3 = 7; + WeightedOutcomePicker::PickOutcome((WeightedOutcomePicker *)&uStack_50,rng); Entity_Familiar::ThrowDip(this); local_8 = 0xffffffff; if (uStack_50._0_4_ != (EntityPtr)0x0) { - if ((0xfff < (uint)(((int)EStack_48 - (int)uStack_50._0_4_ >> 3) * 8)) && - (0x1f < ((int)uStack_50._0_4_ - *(int *)((int)uStack_50._0_4_ + -4)) - 4U)) - goto LAB_007aa32a; - operator_delete(); + uVar8 = ((int)EStack_48 - (int)uStack_50._0_4_ >> 3) * 8; + WVar15 = (WeightedOutcomePicker)uStack_50._0_4_; + if (0xfff < uVar8) { + WVar15 = *(WeightedOutcomePicker *)((int)uStack_50._0_4_ + -4); + uVar8 = uVar8 + 0x23; + if (0x1f < ((int)uStack_50._0_4_ - (int)WVar15) - 4U) goto LAB_007aa32a; + } + operator_delete(WVar15,uVar8); uStack_50 = 0; EStack_48 = (EntityPtr)0x0; } @@ -536017,7 +536831,7 @@ LAB_007a9c21: uVar8 = *local_60; if (uVar8 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar8 = uVar8 >> ((byte)local_60[1] & 0x1f) ^ uVar8; uVar8 = uVar8 ^ uVar8 << ((byte)local_60[2] & 0x1f); @@ -536028,7 +536842,7 @@ LAB_007a9c21: uVar8 = *(uint *)((int)pvVar2 + 0xa70); if (uVar8 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar8 = uVar8 >> ((byte)*(undefined4 *)((int)pvVar2 + 0xa74) & 0x1f) ^ uVar8; uStack_50 = 0xb00000001; @@ -536038,7 +536852,7 @@ LAB_007a9c21: local_60 = (uint *)&DAT_00000006; if (local_5c == (Game *)0x0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar8 = (uint)local_5c >> 1 ^ (uint)local_5c; uVar8 = uVar8 << 0xb ^ uVar8; @@ -536048,19 +536862,19 @@ LAB_007a9c21: local_58 = (Game *)0xe3; } iVar9 = Random(); - fVar22 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * + fVar21 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pGVar23 = (Game *)(fVar22 + fVar22); - local_5c = pGVar23; + pGVar22 = (Game *)(fVar21 + fVar21); + local_5c = pGVar22; sin(); - pGVar21 = local_5c; - local_44 = (EntityPtr)pGVar23; + pGVar20 = local_5c; + local_44 = (EntityPtr)pGVar22; cos(); - local_74 = (float)pGVar21 * 10.0 + (this->_pos).x; + local_74 = (float)pGVar20 * 10.0 + (this->_pos).x; local_70 = (float)local_44 * 10.0 + (this->_pos).y; if (local_68 == (uint *)0x0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar8 = (uint)local_68 >> ((byte)uStack_50 & 0x1f) ^ (uint)local_68; uVar8 = uVar8 << ((byte)((ulonglong)uStack_50 >> 0x20) & 0x1f) ^ uVar8; @@ -536072,33 +536886,33 @@ LAB_007a9c21: (0x3dd < this_02->_type - 10U)))) { this_02 = (Entity *)0x0; } - auStack_3c._20_4_ = g_vectorZero.y; - local_20 = g_vectorZero.y; - auStack_3c._16_4_ = g_vectorZero.x; - uStack_24 = g_vectorZero.x; - auStack_3c._0_4_ = 0; - auStack_3c._4_4_ = 0; - auStack_3c._8_4_ = 0; - auStack_3c._12_4_ = 0; - local_1c = 0; - local_18 = (void *)0x0; - Entity::AddCharmed(this_02,(EntityRef *)auStack_3c,-1,0,0); + EStack_3c._position.y = g_vectorZero.y; + EStack_3c._velocity.y = g_vectorZero.y; + EStack_3c._position.x = g_vectorZero.x; + EStack_3c._velocity.x = g_vectorZero.x; + EStack_3c._type = 0; + EStack_3c._variant = 0; + EStack_3c._spawnerType = 0; + EStack_3c._spawnerVariant = 0; + EStack_3c._flags = 0; + EStack_3c._entity = (void *)0x0; + Entity::AddCharmed(this_02,&EStack_3c,-1,0,0); (**(code **)(*(int *)this_02 + 0xc))(); Entity::SetVisibleFlag(0); - fVar22 = this_02->_maxHitPoints + this_02->_maxHitPoints; - local_20 = 0.0; - local_1c = 0; - local_18 = (void *)0x0; - this_02->_maxHitPoints = fVar22; - this_02->_health = fVar22; + fVar21 = this_02->_maxHitPoints + this_02->_maxHitPoints; + EStack_3c._velocity.y = 0.0; + EStack_3c._flags = 0; + EStack_3c._entity = (void *)0x0; + this_02->_maxHitPoints = fVar21; + this_02->_health = fVar21; local_40 = 0x3f800000; - auStack_3c._0_4_ = 0x3f800000; - auStack_3c._4_4_ = 0x3f800000; - auStack_3c._8_4_ = 0x3f800000; - auStack_3c._12_4_ = 0; - auStack_3c._16_4_ = 0.0; - auStack_3c._20_4_ = 0.0; - uStack_24 = 0.0; + EStack_3c._type = 0x3f800000; + EStack_3c._variant = 0x3f800000; + EStack_3c._spawnerType = 0x3f800000; + EStack_3c._spawnerVariant = 0; + EStack_3c._position.x = 0.0; + EStack_3c._position.y = 0.0; + EStack_3c._velocity.x = 0.0; iVar9 = Random(); Game::SpawnParticles (&local_74,0x23,4, @@ -536113,15 +536927,15 @@ LAB_007a9c21: do { uVar11 = Random(); iVar13 = Random(); - fVar22 = (float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]) * 2.3283064e-10 + fVar21 = (float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pGVar23 = (Game *)(fVar22 + fVar22); - local_58 = pGVar23; + pGVar22 = (Game *)(fVar21 + fVar21); + local_58 = pGVar22; sin(); - pGVar21 = local_58; - local_5c = pGVar23; + pGVar20 = local_58; + local_5c = pGVar22; cos(); - local_80 = (float)pGVar21 * (float)local_44; + local_80 = (float)pGVar20 * (float)local_44; local_7c = (float)local_5c * 0.5 * (float)local_44; piVar14 = (int *)Game::Spawn(1000,5,&local_74,&local_80,0,1,uVar11); piVar14[0x5a] = piVar14[0x5a] | 0x10000; @@ -536136,21 +536950,21 @@ LAB_007a9c21: if (bVar7 != 0) { if ((*(uint *)(*(int *)((int)g_game->_room + 4) + 0x44) >> 10 & 1) == 0) { iVar9 = GetTrinketMultiplier(this,0xaa); - pGVar21 = (Game *)(4 - iVar9); + pGVar20 = (Game *)(4 - iVar9); } else { iVar9 = GetTrinketMultiplier(this,0xaa); - pGVar21 = (Game *)((5 - iVar9) * 2); + pGVar20 = (Game *)((5 - iVar9) * 2); } local_58 = (Game *)0x1; - if (1 < (int)pGVar21) { - local_58 = pGVar21; + if (1 < (int)pGVar20) { + local_58 = pGVar20; } pvVar2 = (this->_trinketRNGs)._begin; uVar8 = *(uint *)((int)pvVar2 + 0xaa0); if (uVar8 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar8 = uVar8 >> ((byte)*(undefined4 *)((int)pvVar2 + 0xaa4) & 0x1f) ^ uVar8; uVar8 = uVar8 ^ uVar8 << ((byte)*(undefined4 *)((int)pvVar2 + 0xaa8) & 0x1f); @@ -536162,70 +536976,85 @@ LAB_007a9c21: uStack_50 = 0; EStack_48 = (EntityPtr)0x0; local_8 = 3; - pGVar21 = (Game *)0x0; + pGVar20 = (Game *)0x0; do { - bVar7 = Level::CanSpawnDoorOutline((Level *)g_game,g_game->_currentRoomIdx,(uint)pGVar21); + bVar7 = Level::CanSpawnDoorOutline((Level *)g_game,g_game->_currentRoomIdx,(uint)pGVar20); if (bVar7 != 0) { - local_58 = pGVar21; + local_58 = pGVar20; if (EVar10 == local_44) { - std::vector<4byte>::_Emplace_reallocate(); + std::vector<4byte>::_Emplace_reallocate(EVar10,&local_58); local_44 = EStack_48; EVar10 = uStack_50._4_4_; } else { - *(Game **)EVar10 = pGVar21; + *(Game **)EVar10 = pGVar20; uStack_50 = CONCAT44((int)EVar10 + 4,uStack_50._0_4_); EVar10 = (EntityPtr)((int)EVar10 + 4); } } this = local_78; - pGVar21 = (Game *)((int)&pGVar21->_stage + 1); - } while (pGVar21 < (Game *)&DAT_00000008); + pGVar20 = (Game *)((int)&pGVar20->_stage + 1); + } while (pGVar20 < (Game *)&DAT_00000008); if (uStack_50._0_4_ != EVar10) { local_58 = g_game; pvVar2 = (local_78->_trinketRNGs)._begin; local_68 = (uint *)((int)pvVar2 + 0xaa0); + uVar8 = (int)EVar10 - (int)uStack_50._0_4_ >> 2; local_60 = (uint *)*local_68; if (local_60 == (uint *)0x0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)local_60 >> ((byte)*(undefined4 *)((int)pvVar2 + 0xaa4) & 0x1f) ^ - (uint)local_60; - uVar8 = uVar8 ^ uVar8 << ((byte)*(undefined4 *)((int)pvVar2 + 0xaa8) & 0x1f); - *local_68 = uVar8 ^ uVar8 >> ((byte)*(undefined4 *)((int)pvVar2 + 0xaac) & 0x1f); - Level::MakeRedRoomDoor(); + uVar19 = (uint)local_60 >> ((byte)*(undefined4 *)((int)pvVar2 + 0xaa4) & 0x1f) ^ + (uint)local_60; + uVar19 = uVar19 ^ uVar19 << ((byte)*(undefined4 *)((int)pvVar2 + 0xaa8) & 0x1f); + uVar19 = uVar19 ^ uVar19 >> ((byte)*(undefined4 *)((int)pvVar2 + 0xaac) & 0x1f); + *local_68 = uVar19; + if (uVar8 == 0) { + uVar19 = 0; + } + else { + uVar19 = uVar19 % uVar8; + } + Level::MakeRedRoomDoor + (g_game->_currentRoomIdx,*(undefined4 *)((int)uStack_50._0_4_ + uVar19 * 4)); } local_8 = 0xffffffff; if (uStack_50._0_4_ != (EntityPtr)0x0) { - if ((0xfff < (uint)(((int)local_44 - (int)uStack_50._0_4_ >> 2) * 4)) && - (0x1f < ((int)uStack_50._0_4_ - *(int *)((int)uStack_50._0_4_ + -4)) - 4U)) { + uVar8 = ((int)local_44 - (int)uStack_50._0_4_ >> 2) * 4; + EVar10 = uStack_50._0_4_; + if (0xfff < uVar8) { + EVar10 = *(EntityPtr *)((int)uStack_50._0_4_ + -4); + uVar8 = uVar8 + 0x23; + if (0x1f < ((int)uStack_50._0_4_ - (int)EVar10) - 4U) { LAB_007aa32a: - local_8 = 0xffffffff; + local_8 = 0xffffffff; /* WARNING: Subroutine does not return */ - _invalid_parameter_noinfo_noreturn(); + _invalid_parameter_noinfo_noreturn(); + } } - operator_delete(); + operator_delete(EVar10,uVar8); uStack_50 = 0; EStack_48 = (EntityPtr)0x0; } } } if ((this->_variant == 1) && (this->_babySkin == 0x40)) { - RVar20 = this->_dropRNG; - if (RVar20 == (RNG)0x0) { - /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); - } - uVar8 = (uint)RVar20 >> ((byte)*(undefined4 *)&this->field_0x3e0 & 0x1f) ^ (uint)RVar20; - uVar8 = uVar8 << ((byte)*(undefined4 *)&this->field_0x3e4 & 0x1f) ^ uVar8; - RVar20 = (RNG)(uVar8 >> ((byte)*(undefined4 *)&this->field_0x3e8 & 0x1f) ^ uVar8); - this->_dropRNG = RVar20; - uVar8 = (uint)RVar20 % 10; + uVar8 = (this->_dropRNG)._seed; if (uVar8 == 0) { - uVar26 = ZEXT48(&this->_pos); + /* WARNING: Subroutine does not return */ + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); + } + uVar8 = uVar8 >> ((byte)(this->_dropRNG)._shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)(this->_dropRNG)._shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)(this->_dropRNG)._shift3 & 0x1f) ^ uVar8; + (this->_dropRNG)._seed = uVar8; + uVar8 = uVar8 % 10; + if (uVar8 == 0) { + pVVar25 = &this->_pos; + uVar19 = uVar8; iVar9 = Entity_Familiar::GetRandomWisp(&this->_dropRNG); - AddWisp(iVar9,uVar26,uVar8); + AddWisp(iVar9,pVVar25,uVar8,uVar19); } } if ((((this->_playerType != 0x1d) && (this->_playerType != 0x26)) || @@ -536301,7 +537130,7 @@ LAB_007aa526: uStack_50 = (ulonglong)(uint)pIVar12->maxCooldown << 0x20; EStack_48 = (EntityPtr)0x0; local_54 = pIVar12; - TemporaryEffects::RemoveEffect(&this->_temporaryeffects); + TemporaryEffects::RemoveEffect(&this->_temporaryeffects,&local_54,1); } goto LAB_007aa725; } @@ -536318,7 +537147,7 @@ LAB_007aa526: } if (uVar8 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar8 = uVar8 >> ((byte)*(undefined4 *)((int)pvVar2 + 0xa24) & 0x1f) ^ uVar8; uVar8 = uVar8 ^ uVar8 << ((byte)*(undefined4 *)((int)pvVar2 + 0xa28) & 0x1f); @@ -536339,7 +537168,7 @@ LAB_007aa526: if ((ItemConfig_Item *)*piVar16 == pIVar12) { if (piVar16 != piVar14) { piVar16[1] = piVar16[1] + 2; - piVar16[2] = (int)local_58->_roomList + piVar16[2] + -0x14; + piVar16[2] = (int)local_58->_roomList[0]._doors + piVar16[2] + -0x30; goto LAB_007aa715; } break; @@ -536347,7 +537176,7 @@ LAB_007aa526: } piVar14 = (this->_temporaryeffects)._effects._end; if (piVar14 == (this->_temporaryeffects)._effects._capacity) { - std::vector::_Emplace_reallocate(); + std::vector::_Emplace_reallocate(piVar14,&local_54); } else { *piVar14 = (int)pIVar12; @@ -536980,17 +537809,18 @@ LAB_007ab230: (pEVar2->_heldSprite)._bitflags = local_48->_bitflags; if (((param_2 != 0) && (pLVar7 = ANM2::GetLayer(&pEVar2->_heldSprite,(byte *)"shadow"), pLVar7 != (LayerState *)0x0)) - && ((undefined4 *)&pLVar7->field_0x48 != local_7c)) { - *(undefined4 *)&pLVar7->field_0x58 = 0; - *(undefined4 *)&pLVar7->field_0x5c = 0; - *(undefined4 *)&pLVar7->field_0x60 = 0; - *(undefined4 *)&pLVar7->field_0x64 = 0; - *(undefined8 *)&pLVar7->field_0x68 = 0; - *(undefined4 *)&pLVar7->field_0x48 = 0; - *(undefined4 *)&pLVar7->field_0x4c = 0; - *(undefined4 *)&pLVar7->field_0x50 = 0; - *(undefined4 *)&pLVar7->field_0x54 = 0; - *(undefined4 *)&pLVar7->field_0x70 = 0; + && (&pLVar7->_color != (ColorMod *)local_7c)) { + (pLVar7->_color)._colorize[0] = 0.0; + (pLVar7->_color)._colorize[1] = 0.0; + (pLVar7->_color)._colorize[2] = 0.0; + (pLVar7->_color)._colorize[3] = 0.0; + (pLVar7->_color)._offset[0] = 0.0; + (pLVar7->_color)._offset[1] = 0.0; + (pLVar7->_color)._tint[0] = 0.0; + (pLVar7->_color)._tint[1] = 0.0; + (pLVar7->_color)._tint[2] = 0.0; + (pLVar7->_color)._tint[3] = 0.0; + (pLVar7->_color)._offset[2] = 0.0; } (pEVar2->_heldSprite)._offset.x = 0.0; (pEVar2->_heldSprite)._offset.y = -4.0; @@ -537039,9 +537869,9 @@ Entity_Player::AnimateCollectible(Entity_Player *this,uint param_2,undefined4 pa } ANM2::Load(this_00,&pEVar5->anm2Path,0); if ((int)param_2 < 0) { - ANM2::GetLayer(this_00,(byte *)0x1); + pLVar6 = ANM2::GetLayer(this_00,(byte *)0x1); KAGE::SmartPointer::operator_assign(&(g_game->_proceduralItemManager)._renderTarget); - LayerState::SetTexture(); + LayerState::SetTexture(pLVar6); pLVar6 = ANM2::GetLayer(this_00,(byte *)0x1); (pLVar6->_cropOffset).x = (float)(~param_2 & 0x1f) * 32.0; (pLVar6->_cropOffset).y = (float)(~param_2 >> 5) * 32.0; @@ -537722,11 +538552,14 @@ void Entity_Player::active_used_post(uint param_1,uint param_2,uint param_3) { int *piVar1; - Manager *pMVar2; - byte bVar3; - char cVar4; - uint uVar5; - int iVar6; + int iVar2; + RNG rng; + RNG rng_00; + RNG rng_01; + Manager *pMVar3; + byte bVar4; + char cVar5; + uint uVar6; ItemConfig_Item *pIVar7; int iVar8; Entity_Player *in_ECX; @@ -537734,7 +538567,8 @@ void Entity_Player::active_used_post(uint param_1,uint param_2,uint param_3) void *pvVar9; uint uVar10; WeightedOutcomePicker WVar11; - bool bVar12; + WeightedOutcomePicker WVar12; + bool bVar13; WeightedOutcomePicker local_40; int *local_3c; int *local_38; @@ -537753,22 +538587,23 @@ void Entity_Player::active_used_post(uint param_1,uint param_2,uint param_3) local_8 = 0xffffffff; puStack_c = &LAB_00affb8d; local_10 = ExceptionList; - uVar5 = __security_cookie ^ (int)register0x00000010 - 4U; + uVar6 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; if (in_ECX->_activeDesc[param_1]._item == 0x1da) { RemoveCollectible(in_ECX,0x1da,0,param_1,1); AddCollectible(in_ECX,0x160,-1,0,param_1,0,0); AnimateCollectible(); } + uVar10 = param_3; if (param_1 == 0) { - TriggerBookOfVirtues(); - trigger_book_of_belial_passive(); + TriggerBookOfVirtues(in_ECX->_activeDesc[0]._item,param_3,uVar6); + trigger_book_of_belial_passive(in_ECX->_activeDesc[0]._item,uVar10); } - bVar3 = HasTrinket(in_ECX,0x8a,0); - if (((bVar3 != 0) && (param_1 == 0)) && - (cVar4 = ItemConfig::IsValidCollectible(in_ECX->_activeDesc[0]._item,uVar5), cVar4 != '\0')) { - bVar3 = HasCollectible(in_ECX,0x2d1,0); - if (bVar3 == 0) { + bVar4 = HasTrinket(in_ECX,0x8a,0); + if (((bVar4 != 0) && (param_1 == 0)) && + (cVar5 = ItemConfig::IsValidCollectible(in_ECX->_activeDesc[0]._item), cVar5 != '\0')) { + bVar4 = HasCollectible(in_ECX,0x2d1,0); + if (bVar4 == 0) { WVar11 = (WeightedOutcomePicker)0x0; local_1c = g_manager; local_34 = (WeightedOutcomePicker)0x0; @@ -537782,33 +538617,33 @@ void Entity_Player::active_used_post(uint param_1,uint param_2,uint param_3) if ((((param_3 != in_ECX->_activeDesc[0]._item) && (piVar1 = *(int **)((int)pvVar9 + param_3 * 4), piVar1 != (int *)0x0)) && ((*piVar1 == 3 && (((piVar1[0x2f] & 1U) == 0 && (piVar1[0x12] != 0)))))) && - (cVar4 = Item::IsAvailable(0xffffffff), cVar4 != '\0')) { - iVar6 = piVar1[1]; + (cVar5 = Item::IsAvailable(0xffffffff), cVar5 != '\0')) { + iVar8 = piVar1[1]; uVar10 = (int)local_30 - (int)WVar11 >> 3; local_18 = *(int *)(&DAT_00b6bc60 + piVar1[0x30] * 4); - uVar5 = 0; + uVar6 = 0; if (uVar10 != 0) { do { - if (*(int *)((int)WVar11 + uVar5 * 8) == iVar6) { - piVar1 = (int *)((int)WVar11 + 4 + uVar5 * 8); + if (*(int *)((int)WVar11 + uVar6 * 8) == iVar8) { + piVar1 = (int *)((int)WVar11 + 4 + uVar6 * 8); *piVar1 = *piVar1 + local_18; if (*piVar1 < 0) { - *(undefined4 *)((int)WVar11 + 4 + uVar5 * 8) = 0; + *(undefined4 *)((int)WVar11 + 4 + uVar6 * 8) = 0; } goto LAB_007ac194; } - uVar5 = uVar5 + 1; - } while (uVar5 < uVar10); + uVar6 = uVar6 + 1; + } while (uVar6 < uVar10); } if (0 < local_18) { - local_28 = iVar6; + local_28 = iVar8; local_24 = local_18; if (local_30 == local_2c) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_30,&local_28); WVar11 = local_34; } else { - *local_30 = iVar6; + *local_30 = iVar8; local_30[1] = local_18; local_30 = local_30 + 2; } @@ -537820,79 +538655,88 @@ LAB_007ac194: } while (param_3 < (uint)((int)(local_1c->_itemConfig)._collectibles._end - (int)pvVar9 >> 2 )); } - uVar5 = RNG::Next((RNG *)((int)(in_ECX->_trinketRNGs)._begin + 0x8a0)); - iVar6 = WeightedOutcomePicker::PickOutcome(&local_34,uVar5,0x900000005,7); + uVar6 = RNG::Next((RNG *)((int)(in_ECX->_trinketRNGs)._begin + 0x8a0)); + rng._shift1 = 5; + rng._seed = uVar6; + rng._shift2 = 9; + rng._shift3 = 7; + uVar6 = WeightedOutcomePicker::PickOutcome(&local_34,rng); local_8 = 0xffffffff; if (local_34 != (WeightedOutcomePicker)0x0) { - if ((0xfff < (uint)(((int)local_2c - (int)local_34 >> 3) * 8)) && - (0x1f < ((int)local_34 - *(int *)((int)local_34 + -4)) - 4U)) goto LAB_007ac7ad; - operator_delete(); + uVar10 = ((int)local_2c - (int)local_34 >> 3) * 8; + WVar11 = local_34; + if (0xfff < uVar10) { + WVar11 = *(WeightedOutcomePicker *)((int)local_34 + -4); + uVar10 = uVar10 + 0x23; + if (0x1f < ((int)local_34 - (int)WVar11) - 4U) goto LAB_007ac7ad; + } + operator_delete(WVar11,uVar10); local_34 = (WeightedOutcomePicker)0x0; local_30 = (int *)0x0; local_2c = (int *)0x0; } } else { - RNG::Next((RNG *)((int)(in_ECX->_trinketRNGs)._begin + 0x8a0)); - iVar6 = ItemPool::CreateGlitchedCollectible(); - pIVar7 = ItemConfig::GetCollectible(&g_manager->_itemConfig,iVar6); + uVar6 = RNG::Next((RNG *)((int)(in_ECX->_trinketRNGs)._begin + 0x8a0)); + uVar6 = ItemPool::CreateGlitchedCollectible(uVar6,8); + pIVar7 = ItemConfig::GetCollectible(&g_manager->_itemConfig,uVar6); if (pIVar7->type != 3) goto LAB_007ac2d2; } - if (iVar6 != 0) { + if (uVar6 != 0) { iVar8 = GetTrinketMultiplier(in_ECX,0x8a); RemoveCollectible(in_ECX,in_ECX->_activeDesc[0]._item,0,0,1); - AddCollectible(in_ECX,iVar6,0,0,0,0,0); + AddCollectible(in_ECX,uVar6,0,0,0,0,0); if (1 < iVar8) { - uVar5 = 0x14; + uVar6 = 0x14; if (iVar8 == 2) { - uVar5 = 10; + uVar6 = 10; } uVar10 = RNG::RandomInt((RNG *)((int)(in_ECX->_trinketRNGs)._begin + 0x8a0),100); - if (uVar10 < uVar5) { - iVar6 = GetCollectibleMaxCharge + if (uVar10 < uVar6) { + iVar8 = GetCollectibleMaxCharge (in_ECX->_activeDesc[0]._item,in_ECX->_activeDesc[0]._varData, extraout_ECX); - AddActiveCharge(in_ECX,iVar6,0,0,0,0); + AddActiveCharge(in_ECX,iVar8,0,0,0,0); } } } } LAB_007ac2d2: - bVar3 = HasTrinket(in_ECX,0x7a,0); - if ((bVar3 != 0) && (param_1 == 0)) { - iVar6 = in_ECX->_activeDesc[0]._item; - cVar4 = ItemConfig::IsValidCollectible(iVar6); - if ((cVar4 != '\0') && + bVar4 = HasTrinket(in_ECX,0x7a,0); + if ((bVar4 != 0) && (param_1 == 0)) { + iVar8 = in_ECX->_activeDesc[0]._item; + cVar5 = ItemConfig::IsValidCollectible(iVar8); + if ((cVar5 != '\0') && ((((char)param_2 == '\0' && - (pIVar7 = ItemConfig::GetCollectible(&g_manager->_itemConfig,iVar6), + (pIVar7 = ItemConfig::GetCollectible(&g_manager->_itemConfig,iVar8), pIVar7 != (ItemConfig_Item *)0x0)) && (pIVar7->type == 3)))) { IsLocalPlayer(in_ECX); SoundEffects::PlayWithFartOverride(0x385,2,0,0x3f800000); DropCollectible(in_ECX,in_ECX->_activeDesc[0]._item,(Entity_Pickup *)0x0,0); } } - bVar3 = HasTrinket(in_ECX,0xb5,0); - if ((bVar3 != 0) && (param_1 == 0)) { - iVar6 = in_ECX->_activeDesc[0]._item; - cVar4 = ItemConfig::IsValidCollectible(iVar6); - if (cVar4 == '\0') { + bVar4 = HasTrinket(in_ECX,0xb5,0); + if ((bVar4 != 0) && (param_1 == 0)) { + iVar8 = in_ECX->_activeDesc[0]._item; + cVar5 = ItemConfig::IsValidCollectible(iVar8); + if (cVar5 == '\0') { ExceptionList = local_10; return; } - pIVar7 = ItemConfig::GetCollectible(&g_manager->_itemConfig,iVar6); - iVar6 = GetActiveMaxCharge(in_ECX,0); + pIVar7 = ItemConfig::GetCollectible(&g_manager->_itemConfig,iVar8); + iVar8 = GetActiveMaxCharge(in_ECX,0); if (pIVar7 == (ItemConfig_Item *)0x0) { ExceptionList = local_10; return; } - if (((iVar6 != 0) || (pIVar7->maxCharges < 1)) && - ((bVar3 = TemporaryEffects::HasTrinketEffect(&in_ECX->_temporaryeffects,0xb5), bVar3 != 0 && + if (((iVar8 != 0) || (pIVar7->maxCharges < 1)) && + ((bVar4 = TemporaryEffects::HasTrinketEffect(&in_ECX->_temporaryeffects,0xb5), bVar4 != 0 && (*(int *)&g_game->_deathmatchManager < 2)))) { ExceptionList = local_10; return; } TemporaryEffects::AddTrinketEffect(&in_ECX->_temporaryeffects,0xb5,1,1); - pMVar2 = g_manager; + pMVar3 = g_manager; local_40 = (WeightedOutcomePicker)0x0; local_3c = (int *)0x0; local_38 = (int *)0x0; @@ -537908,71 +538752,71 @@ LAB_007ac2d2: if (((((param_2 != in_ECX->_activeDesc[0]._item) && (piVar1 = *(int **)((int)pvVar9 + param_2 * 4), piVar1 != (int *)0x0)) && (*piVar1 == 3)) && (((piVar1[0x2f] & 1U) == 0 && (piVar1[0x12] != 0)))) && - ((cVar4 = Item::IsAvailable(0xffffffff), cVar4 != '\0' && + ((cVar5 = Item::IsAvailable(0xffffffff), cVar5 != '\0' && ((*(int *)&g_game->_deathmatchManager < 2 || - (cVar4 = (**(code **)(*(int *)(g_game->_deathmatchManager)._type + 0x30))(piVar1[1]), - cVar4 == '\0')))))) { - iVar6 = piVar1[1]; - if (iVar6 < 0x1ea) { - if ((iVar6 == 0x1e9) || (iVar6 == 0x1a6)) goto LAB_007ac5c0; - bVar12 = iVar6 == 0x1e8; + (cVar5 = (**(code **)(*(int *)(g_game->_deathmatchManager)._type + 0x30))(piVar1[1]), + cVar5 == '\0')))))) { + iVar8 = piVar1[1]; + if (iVar8 < 0x1ea) { + if ((iVar8 == 0x1e9) || (iVar8 == 0x1a6)) goto LAB_007ac5c0; + bVar13 = iVar8 == 0x1e8; } else { - bVar12 = iVar6 == 0x2bf; + bVar13 = iVar8 == 0x2bf; } - if (!bVar12) { - iVar8 = piVar1[0x1d]; - if ((iVar8 == 1) || (iVar8 == 2)) { - uVar5 = 0; + if (!bVar13) { + iVar2 = piVar1[0x1d]; + if ((iVar2 == 1) || (iVar2 == 2)) { + uVar6 = 0; uVar10 = (int)local_3c - (int)local_40 >> 3; if (uVar10 != 0) { do { - if (*(int *)((int)local_40 + uVar5 * 8) == iVar6) { - piVar1 = (int *)((int)local_40 + 4 + uVar5 * 8); + if (*(int *)((int)local_40 + uVar6 * 8) == iVar8) { + piVar1 = (int *)((int)local_40 + 4 + uVar6 * 8); *piVar1 = *piVar1 + 1; if (*piVar1 < 0) { - *(undefined4 *)((int)local_40 + 4 + uVar5 * 8) = 0; + *(undefined4 *)((int)local_40 + 4 + uVar6 * 8) = 0; } goto LAB_007ac5c0; } - uVar5 = uVar5 + 1; - } while (uVar5 < uVar10); + uVar6 = uVar6 + 1; + } while (uVar6 < uVar10); } local_1c = (Manager *)0x1; - local_20 = iVar6; + local_20 = iVar8; if (local_3c == local_38) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_3c,&local_20); } else { - *local_3c = iVar6; + *local_3c = iVar8; local_3c[1] = 1; local_3c = local_3c + 2; } } - else if (iVar8 == 3) { - uVar5 = 0; + else if (iVar2 == 3) { + uVar6 = 0; uVar10 = (int)local_30 - (int)WVar11 >> 3; if (uVar10 != 0) { do { - if (*(int *)((int)WVar11 + uVar5 * 8) == iVar6) { - piVar1 = (int *)((int)WVar11 + 4 + uVar5 * 8); + if (*(int *)((int)WVar11 + uVar6 * 8) == iVar8) { + piVar1 = (int *)((int)WVar11 + 4 + uVar6 * 8); *piVar1 = *piVar1 + 1; if (*piVar1 < 0) { - *(undefined4 *)((int)WVar11 + 4 + uVar5 * 8) = 0; + *(undefined4 *)((int)WVar11 + 4 + uVar6 * 8) = 0; } goto LAB_007ac5c0; } - uVar5 = uVar5 + 1; - } while (uVar5 < uVar10); + uVar6 = uVar6 + 1; + } while (uVar6 < uVar10); } local_24 = 1; - local_28 = iVar6; + local_28 = iVar8; if (local_30 == local_2c) { - std::vector<8byte>::_Emplace_reallocate(); + std::vector<8byte>::_Emplace_reallocate(local_30,&local_28); WVar11 = local_34; } else { - *local_30 = iVar6; + *local_30 = iVar8; local_30[1] = 1; local_30 = local_30 + 2; } @@ -537981,25 +538825,29 @@ LAB_007ac2d2: } LAB_007ac5c0: param_2 = param_2 + 1; - pvVar9 = (pMVar2->_itemConfig)._collectibles._begin; - } while (param_2 < (uint)((int)(pMVar2->_itemConfig)._collectibles._end - (int)pvVar9 >> 2)); + pvVar9 = (pMVar3->_itemConfig)._collectibles._begin; + } while (param_2 < (uint)((int)(pMVar3->_itemConfig)._collectibles._end - (int)pvVar9 >> 2)); } param_1 = 1; - iVar6 = GetTrinketMultiplier(in_ECX,0xb5); - if (iVar6 == 2) { + iVar8 = GetTrinketMultiplier(in_ECX,0xb5); + if (iVar8 == 2) { param_1 = 2; } - else if (iVar6 == 3) { + else if (iVar8 == 3) { param_1 = 2; - uVar5 = RNG::Next((RNG *)((int)(in_ECX->_trinketRNGs)._begin + 0xb50)); - iVar6 = WeightedOutcomePicker::PickOutcome(&local_34,uVar5,0x900000005,7); - if (iVar6 == 0) { + uVar6 = RNG::Next((RNG *)((int)(in_ECX->_trinketRNGs)._begin + 0xb50)); + rng_00._shift1 = 5; + rng_00._seed = uVar6; + rng_00._shift2 = 9; + rng_00._shift3 = 7; + uVar6 = WeightedOutcomePicker::PickOutcome(&local_34,rng_00); + if (uVar6 == 0) { WVar11 = local_34; } else { iVar8 = in_ECX->_itemState; in_ECX->_itemState = 0; - UseActiveItem(in_ECX,(short *)((int)¶m_2 + 2),iVar6,5,0,0); + UseActiveItem(in_ECX,(short *)((int)¶m_2 + 2),uVar6,5,0,0); WVar11 = local_34; if (in_ECX->_itemState == 0) { in_ECX->_itemState = iVar8; @@ -538011,20 +538859,24 @@ LAB_007ac5c0: } do { pvVar9 = (in_ECX->_trinketRNGs)._begin; - uVar5 = *(uint *)((int)pvVar9 + 0xb50); - if (uVar5 == 0) { + uVar6 = *(uint *)((int)pvVar9 + 0xb50); + if (uVar6 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = uVar5 >> ((byte)*(undefined4 *)((int)pvVar9 + 0xb54) & 0x1f) ^ uVar5; - uVar5 = uVar5 << ((byte)*(undefined4 *)((int)pvVar9 + 0xb58) & 0x1f) ^ uVar5; - uVar5 = uVar5 >> ((byte)*(undefined4 *)((int)pvVar9 + 0xb5c) & 0x1f) ^ uVar5; - *(uint *)((int)pvVar9 + 0xb50) = uVar5; - iVar6 = WeightedOutcomePicker::PickOutcome(&local_40,uVar5,0x900000005,7); - if (iVar6 != 0) { + uVar6 = uVar6 >> ((byte)*(undefined4 *)((int)pvVar9 + 0xb54) & 0x1f) ^ uVar6; + uVar6 = uVar6 << ((byte)*(undefined4 *)((int)pvVar9 + 0xb58) & 0x1f) ^ uVar6; + uVar6 = uVar6 >> ((byte)*(undefined4 *)((int)pvVar9 + 0xb5c) & 0x1f) ^ uVar6; + *(uint *)((int)pvVar9 + 0xb50) = uVar6; + rng_01._shift1 = 5; + rng_01._seed = uVar6; + rng_01._shift2 = 9; + rng_01._shift3 = 7; + uVar6 = WeightedOutcomePicker::PickOutcome(&local_40,rng_01); + if (uVar6 != 0) { iVar8 = in_ECX->_itemState; in_ECX->_itemState = 0; - UseActiveItem(in_ECX,(short *)((int)¶m_2 + 2),iVar6,5,0,0); + UseActiveItem(in_ECX,(short *)((int)¶m_2 + 2),uVar6,5,0,0); if (in_ECX->_itemState == 0) { in_ECX->_itemState = iVar8; } @@ -538035,18 +538887,28 @@ LAB_007ac5c0: param_1 = param_1 + -1; } while (param_1 != 0); if (WVar11 != (WeightedOutcomePicker)0x0) { - if ((0xfff < ((int)local_2c - (int)WVar11 & 0xfffffff8U)) && - (0x1f < ((int)WVar11 - *(int *)((int)WVar11 + -4)) - 4U)) goto LAB_007ac7ad; - operator_delete(); + uVar6 = (int)local_2c - (int)WVar11 & 0xfffffff8; + WVar12 = WVar11; + if (0xfff < uVar6) { + WVar12 = *(WeightedOutcomePicker *)((int)WVar11 + -4); + uVar6 = uVar6 + 0x23; + if (0x1f < ((int)WVar11 - (int)WVar12) - 4U) goto LAB_007ac7ad; + } + operator_delete(WVar12,uVar6); } if (local_40 != (WeightedOutcomePicker)0x0) { - if ((0xfff < ((int)local_38 - (int)local_40 & 0xfffffff8U)) && - (0x1f < ((int)local_40 - *(int *)((int)local_40 + -4)) - 4U)) { + uVar6 = (int)local_38 - (int)local_40 & 0xfffffff8; + WVar11 = local_40; + if (0xfff < uVar6) { + WVar11 = *(WeightedOutcomePicker *)((int)local_40 + -4); + uVar6 = uVar6 + 0x23; + if (0x1f < ((int)local_40 - (int)WVar11) - 4U) { LAB_007ac7ad: /* WARNING: Subroutine does not return */ - _invalid_parameter_noinfo_noreturn(); + _invalid_parameter_noinfo_noreturn(); + } } - operator_delete(); + operator_delete(WVar11,uVar6); } } ExceptionList = local_10; @@ -538183,7 +539045,8 @@ void __thiscall Entity_Player::DischargeActiveItem(Entity_Player *this,uint slot local_64 = local_60; local_60 = (EntityPtr)0xab; seed_fart_sound_override(); - SoundEffects::Play((SoundEffects *)&local_5c->_glowingHourglassStates[0].field_0x3938, + SoundEffects::Play((SoundEffects *) + &local_5c->_glowingHourglassStates[0]._gameState.field_0x3934, (int)local_60,1.0,2,0,1.0,0.0); } } @@ -538265,9 +539128,9 @@ LAB_007aca80: uVar16 = extraout_EAX; } local_14 = 0xffffffff; - *(undefined4 *)((int)(&local_5c->_itemPool + 2) + iVar21 * 4 + 0x4a0) = uVar16; + *(undefined4 *)((int)(&local_5c->_seedEffects + -1) + iVar21 * 4) = uVar16; if (-1 < iVar21) { - EVar4 = *(EntityPtr *)((int)(&g_game->_itemPool + 2) + iVar21 * 4 + 0x4a0); + EVar4 = *(EntityPtr *)((int)(&g_game->_seedEffects + -1) + iVar21 * 4); *(int *)((int)(local_6c + 0x567) + (int)this) = iVar21 + 1; local_64 = EVar4; (**(code **)(*(int *)EVar4 + 4))(this->_type,this->_variant,0,this->_initSeed); @@ -538373,7 +539236,7 @@ LAB_007ace88: LAB_007acefb: local_68 = *(Entity_Player **)((int)(local_6c + 0x567) + (int)this); if (0 < (int)local_68) { - pEVar20 = *(Entity_Player **)((int)(&g_game->_itemPool + 2) + (int)local_68 * 4 + 0x49c); + pEVar20 = (Entity_Player *)(g_game->_seedEffects)._stageSeeds[(int)&local_68[-1].field_0x26ae]; local_58 = pEVar20; if (pEVar20 != (Entity_Player *)0x0) { pEVar20->_isControlsEnabled = 0; @@ -538411,7 +539274,7 @@ LAB_007acefb: PlayerManager::replace_player(this,pEVar20); pMVar11 = g_manager; local_60 = (EntityPtr)0x418; - *(Entity_Player **)((int)(&g_game->_itemPool + 2) + (int)local_68 * 4 + 0x49c) = this; + (g_game->_seedEffects)._stageSeeds[(int)&local_68[-1].field_0x26ae] = (int)this; seed_fart_sound_override(); SoundEffects::Play(&pMVar11->_sfxManager,(int)local_60,1.0,2,0,1.0,0.0); pEVar20 = local_58; @@ -540009,7 +540872,7 @@ void __thiscall Entity_Player::RestoreGameState(Entity_Player *this,GameStatePla this_00->_luckModifier = (int)pGVar12[0x17]; this_00->_donateLuck = (int)pGVar12[0x18]; this_00->_potatoPeelerCounter = (int)pGVar12[0x19]; - *(GameStatePlayer *)&this_00->field_0x1540 = pGVar12[0x1a]; + this_00->_potatoPeelerBandageCounter = (int)pGVar12[0x1a]; this_00->_brittleBonesUpgrades = *(short *)(pGVar12 + 0xee); this_00->_redStewBonusDuration = (int)pGVar12[0x10f]; this_00->_brokenHearts = (int)pGVar12[0x110]; @@ -540496,10 +541359,7 @@ void __thiscall Entity_Player::spawn_dark_esau(Entity_Player *this,int param_2) float fStack_48; undefined4 uStack_44; undefined1 local_40 [8]; - undefined1 auStack_38 [28]; - float fStack_1c; - uint uStack_18; - Entity_Player *pEStack_14; + EntityRef EStack_38; if (*(int *)(param_2 + 0x37c) != (*(int *)(param_2 + 900) - *(int *)(param_2 + 0x380)) / 0x34) { /* WARNING: Subroutine does not return */ @@ -540580,14 +541440,14 @@ void __thiscall Entity_Player::spawn_dark_esau(Entity_Player *this,int param_2) } } this_00->_canShutDoors = 0; - auStack_38._0_4_ = this->_type; - auStack_38._16_4_ = (this->_pos).x; - auStack_38._20_4_ = (this->_pos).y; - auStack_38._4_4_ = this->_variant; - auStack_38._8_4_ = this->_spawnerType; - auStack_38._12_4_ = this->_spawnerVariant; - auStack_38._24_4_ = (this->_velocity).x; - fStack_1c = (this->_velocity).y; + EStack_38._type = this->_type; + EStack_38._position.x = (this->_pos).x; + EStack_38._position.y = (this->_pos).y; + EStack_38._variant = this->_variant; + EStack_38._spawnerType = this->_spawnerType; + EStack_38._spawnerVariant = this->_spawnerVariant; + EStack_38._velocity.x = (this->_velocity).x; + EStack_38._velocity.y = (this->_velocity).y; local_64 = (void *)(uint)((this->_flags & 0x100) != 0); if ((this->_flags & 0x20000000) == 0) { uVar16 = 0; @@ -540601,9 +541461,9 @@ void __thiscall Entity_Player::spawn_dark_esau(Entity_Player *this,int param_2) else { uVar11 = 4; } - uStack_18 = uVar11 | uVar16 | (uint)local_64; - pEStack_14 = this; - Entity::AddCharmed((Entity *)this_00,(EntityRef *)auStack_38,-1,0,0); + EStack_38._flags = uVar11 | uVar16 | (uint)local_64; + EStack_38._entity = this; + Entity::AddCharmed((Entity *)this_00,&EStack_38,-1,0,0); (**(code **)(*(int *)this_00 + 0xc))(); } local_5c = (float)((int)local_5c + 1); @@ -540656,9 +541516,9 @@ void __thiscall Entity_Player::spawn_dark_esau(Entity_Player *this,int param_2) (this->_entityRef2)._spawnerType = (int)local_64; (this->_entityRef2)._spawnerVariant = iVar8; (this->_entityRef2)._position.y = fVar20; - *(float *)&(this->_entityRef2).field_0x18 = fVar3; - *(float *)&(this->_entityRef2).field_0x1c = fVar4; - *(uint *)&(this->_entityRef2).field_0x20 = uVar11 | uVar16 | (uint)local_5c; + (this->_entityRef2)._velocity.x = fVar3; + (this->_entityRef2)._velocity.y = fVar4; + (this->_entityRef2)._flags = uVar11 | uVar16 | (uint)local_5c; (this->_entityRef2)._entity = this; } this->_greedsGulletHearts = *(short *)(param_2 + 0x434); @@ -541243,7 +542103,7 @@ Entity_Player::StoreGameState GVar12 = *pGVar10; } pGVar15[0x14c] = GVar12; - std_map_copy_assign((undefined1 *)((int)this + 0x1fcc)); + std_map_copy_assign((std_set *)((int)this + 0x1fcc)); pGVar15[0x1b] = *(GameStatePlayer *)((int)this + 0x154c); pGVar15[0x1c] = *(GameStatePlayer *)((int)this + 0x1550); pGVar15[0x1d] = *(GameStatePlayer *)((int)this + 0x1554); @@ -541773,6 +542633,7 @@ void __thiscall Entity_Player::UseCard(Entity_Player *this,int cardType,uint use { code *pcVar1; + RNG rng; bool bVar2; Game *pGVar3; byte bVar4; @@ -541788,12 +542649,12 @@ void __thiscall Entity_Player::UseCard(Entity_Player *this,int cardType,uint use Minimap *this_01; Vector *pos; RoomDescriptor *pRVar13; - EntityPtr *pEVar14; - RNG RVar15; - char *pcVar16; - int iVar17; - ItemOverlay *pIVar18; - Entity_NPC *pEVar19; + Seeds *pSVar14; + char *pcVar15; + int iVar16; + ItemOverlay *pIVar17; + Entity_NPC *pEVar18; + EntityPtr EVar19; Level *pLVar20; Level *pLVar21; Room *pRVar22; @@ -541801,10 +542662,10 @@ void __thiscall Entity_Player::UseCard(Entity_Player *this,int cardType,uint use ItemPool_Item *pIVar24; undefined4 *puVar25; undefined1 *puVar26; + EntityPtr *pEVar27; HUD *this_02; - undefined4 uVar27; - PlayerManager *pPVar28; - RNG RVar29; + undefined4 uVar28; + PlayerManager *pPVar29; undefined4 uVar30; TemporaryEffects *pTVar31; int *piVar32; @@ -541880,7 +542741,7 @@ void __thiscall Entity_Player::UseCard(Entity_Player *this,int cardType,uint use undefined1 auStack_308 [8]; undefined1 auStack_300 [8]; undefined4 uStack_2f8; - RNG RStack_2f4; + EntityPtr EStack_2f4; undefined1 auStack_2f0 [4]; EntityPtr EStack_2ec; EntityPtr EStack_2e8; @@ -541905,18 +542766,12 @@ void __thiscall Entity_Player::UseCard(Entity_Player *this,int cardType,uint use EntityPtr local_29c; EntityPtr local_298; int local_294; - RNG aRStack_264 [4]; + RNG RStack_264; EntityRef EStack_254; - RNG aRStack_22c [2]; - undefined4 uStack_224; + RNG RStack_22c; RNG RStack_21c; - undefined4 uStack_218; - undefined4 uStack_214; - undefined4 uStack_210; RNG RStack_20c; - undefined8 uStack_208; - undefined4 uStack_200; - RNG aRStack_1fc [4]; + RNG RStack_1fc; Vector *pVStack_1ec; AnimationState *pAStack_1e8; void **ppvStack_1e4; @@ -541956,7 +542811,7 @@ void __thiscall Entity_Player::UseCard(Entity_Player *this,int cardType,uint use if (g_game->_challenge == 0x20) { pRVar39 = (RNG *)(cardType * 0x10 + (int)(this->_cardRNGs)._begin); RNG::Next(pRVar39); - cardType = (uint)*pRVar39 % 0x61 + 1; + cardType = (uint)pRVar39->_seed % 0x61 + 1; local_294 = cardType; } local_2d8 = (Level *)(useFlag >> 7 & 0xffffff01); @@ -542054,10 +542909,10 @@ LAB_007b23cf: (((int)*(void **)((int)EVar6 + 0x28) - 10U < 0x3de && (*(void **)((int)EVar6 + 0x28) != (void *)0x21)))) && (EStack_2b0._0_1_ == '\0'))) ) && ((*(byte *)((int)EVar6 + 0x173) == 0 && - ((float)local_29c <= (float)*(RNG *)((int)EVar6 + 0x380))))))) { + ((float)local_29c <= (float)*(EntityPtr *)((int)EVar6 + 0x380))))))) { local_2d0 = EStack_2c8; EStack_2c8 = EVar6; - local_29c = (EntityPtr)*(RNG *)((int)EVar6 + 0x380); + local_29c = *(EntityPtr *)((int)EVar6 + 0x380); cVar5 = Entity::IsVulnerableEnemy((Entity *)EVar6,0); EStack_2b0 = (EntityPtr)((uint)EStack_2b0 & 0xff); if (cVar5 != '\0') { @@ -542079,9 +542934,9 @@ LAB_007b23cf: uVar47 = 0; pTVar49 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; pTVar48 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar27 = 0; + uVar28 = 0; uVar30 = Game::Spawn(1000,0x1d,&fStack_2a0,&g_vectorZero,0,0,uVar30); - pEVar9 = (Entity *)__RTDynamicCast(uVar30,uVar27,pTVar48,pTVar49,uVar47); + pEVar9 = (Entity *)__RTDynamicCast(uVar30,uVar28,pTVar48,pTVar49,uVar47); Entity::SetTarget(pEVar9,EStack_2c8); (**(code **)(*(int *)pEVar9 + 0xc))(); } @@ -542258,8 +543113,8 @@ LAB_007b319e: case 0xc: TemporaryEffects::AddCollectibleEffect(&this->_temporaryeffects,0xc,(byte)local_2a8,1); iVar36 = GetHeartLimit(0); - iVar17 = GetEffectiveMaxHearts(); - if (iVar17 < iVar36) { + iVar16 = GetEffectiveMaxHearts(); + if (iVar16 < iVar36) { this->_strengthMaxHearts = this->_strengthMaxHearts + 1; AddMaxHearts(this,2,0); } @@ -542273,8 +543128,8 @@ LAB_007b319e: bVar4 = (byte)uVar7; goto LAB_007b327d; case 0xe: - pIVar18 = (ItemOverlay *)Game::GetItemOverlay(); - ItemOverlay::Show(pIVar18,0xc,0,(Entity_Player *)0x0); + pIVar17 = (ItemOverlay *)Game::GetItemOverlay(); + ItemOverlay::Show(pIVar17,0xc,0,(Entity_Player *)0x0); SoundEffects::PlayWithFartOverride(0x21,2,0,0x3f800000); UseActiveItem(this,&uStack_2a2,0x23,1,-1,0); pPVar11 = (PersistentGameData *)Room::GetTopLeftPos((Room *)g_manager); @@ -542289,8 +543144,8 @@ LAB_007b319e: goto LAB_007b31f0; case 0x10: SoundEffects::PlayWithFartOverride(0x22,2,0,0x3f800000); - pIVar18 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar18,0x22,3,(Entity_Player *)0x0); + pIVar17 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar17,0x22,3,(Entity_Player *)0x0); pIVar33 = (ItemConfig *)Isaac::GetItemConfig(); iVar36 = 1; uVar7 = local_2a8; @@ -542331,7 +543186,7 @@ LAB_007b3428: goto LAB_007b8998; case 0x13: Config::GetCollectibles(); - uVar27 = 0; + uVar28 = 0; uVar30 = 7; goto LAB_007b34ad; case 0x14: @@ -542344,32 +543199,32 @@ LAB_007b3428: uStack_2c4 = CONCAT44(fVar46 * 100.0,(Entity *)uStack_2c4); Level::GetCurrentRoom(); local_2d8 = (Level *)Room::GetEntities(); - RVar29 = (RNG)0x0; + EVar6 = (EntityPtr)0x0; local_2b8 = (EntityPtr)0x0; iVar36 = EntityList::Size(); if (iVar36 != 0) { do { - pRVar39 = (RNG *)std::vector::operator_index(RVar29); - local_29c = *(EntityPtr *)pRVar39; + pEVar27 = (EntityPtr *)std::vector::operator_index(EVar6); + local_29c = *pEVar27; cVar5 = Entity::IsVulnerableEnemy((Entity *)local_29c,0); if (cVar5 != '\0') { - pcVar1 = *(code **)((int)*(RNG *)local_29c + 0x20); + pcVar1 = *(code **)(*(int *)local_29c + 0x20); EntityRef::constructor(&EStack_254,(Entity *)this); (*pcVar1)(uStack_2c4._4_4_,0,0,&EStack_254,0x1e); - RVar29 = (RNG)local_2b8; + EVar6 = local_2b8; } - RVar29 = (RNG)((int)RVar29 + 1); - local_2b8 = (EntityPtr)RVar29; - RVar15 = (RNG)EntityList::Size(); - } while ((uint)RVar29 < (uint)RVar15); + EVar6 = (EntityPtr)((int)EVar6 + 1); + local_2b8 = EVar6; + EVar41 = (EntityPtr)EntityList::Size(); + } while ((uint)EVar6 < (uint)EVar41); } uVar7 = 0; Game::GetPlayerManager(g_game); iVar36 = std::vector::size(); if (iVar36 != 0) { do { - pPVar28 = (PlayerManager *)Game::GetPlayerManager(g_game); - pEVar10 = PlayerManager::GetPlayer(pPVar28,uVar7); + pPVar29 = (PlayerManager *)Game::GetPlayerManager(g_game); + pEVar10 = PlayerManager::GetPlayer(pPVar29,uVar7); if (pEVar10->_dead == 0) { SetFullHearts(); } @@ -542384,8 +543239,8 @@ LAB_007b3428: Room::StopRain(pRVar22); pLVar20 = (Level *)Config::GetCollectibles(); Level::RemoveCurses(pLVar20,1); - pIVar18 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar18,5,0,(Entity_Player *)0x0); + pIVar17 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar17,5,0,(Entity_Player *)0x0); break; case 0x15: uVar7 = RNG::RandomInt((RNG *)EVar6,3); @@ -542477,18 +543332,18 @@ LAB_007b36ff: } else { iVar36 = this->_redHearts; - iVar17 = iVar36; + iVar16 = iVar36; if (iVar36 == 0) { - iVar17 = 2; + iVar16 = 2; } local_29c = (EntityPtr)((uint)uStack_2a2._1_1_ * 2); - puVar26 = (undefined1 *)((int)local_29c + iVar17); + puVar26 = (undefined1 *)((int)local_29c + iVar16); if (1 < *(int *)&g_game->_deathmatchManager) { - iVar17 = iVar36; + iVar16 = iVar36; if (iVar36 == 0) { - iVar17 = 0x10; + iVar16 = 0x10; } - uVar7 = iVar17 + (uint)uStack_2a2._1_1_ * 0x10; + uVar7 = iVar16 + (uint)uStack_2a2._1_1_ * 0x10; puVar26 = (undefined1 *)(uVar7 >> 3); this->_redHearts = (uVar7 & 7) + iVar36; } @@ -542503,15 +543358,15 @@ LAB_007b36ff: ExceptionList = local_10; return; } - RVar29 = (RNG)g_game->_room; - local_29c = (EntityPtr)RVar29; + EVar6 = (EntityPtr)g_game->_room; + local_29c = EVar6; FUN_00424510(); uStack_8 = 0; - if (*(void **)((int)RVar29 + 0x1264) != (void *)0x0) { + if (*(void **)((int)EVar6 + 0x1264) != (void *)0x0) { pvVar42 = (void *)0x0; do { pLVar20 = *(Level **) - ((int)((PlayerCostumeMap *)((int)RVar29 + 0x125c))->_index + (int)pvVar42 * 4); + ((int)((PlayerCostumeMap *)((int)EVar6 + 0x125c))->_index + (int)pvVar42 * 4); if (pLVar20->_roomList[1].field_0xa7 == '\0') { puVar26 = pLVar20->_roomList[0].OverrideData; if (puVar26 == &DAT_00000005) { @@ -542536,7 +543391,7 @@ LAB_007b2675: } } pvVar42 = (void *)((int)pvVar42 + 1); - RVar29 = (RNG)local_29c; + EVar6 = local_29c; } while (pvVar42 < *(void **)((int)local_29c + 0x1264)); this = (Entity_Player *)local_2d0; } @@ -542575,9 +543430,10 @@ LAB_007b2675: EStack_2b0 = *(EntityPtr *)(puVar25 + 1); } EVar6 = local_2b8; - RStack_20c = *(RNG *)(*(int *)(iStack_33c + (int)local_2b8 * 4) + 0x3ec); - uStack_208 = 0x500000001; - uStack_200 = 0x10; + RStack_20c._seed = *(int *)(*(int *)(iStack_33c + (int)local_2b8 * 4) + 0x3ec); + RStack_20c._shift1 = 1; + RStack_20c._shift2 = 5; + RStack_20c._shift3 = 0x10; uStack_8._0_1_ = 1; uVar7 = RNG::Next(&RStack_20c); iVar36 = Game::Spawn(5,EStack_2ec,&uStack_2b4,&g_vectorZero,this,0,uVar7); @@ -542599,51 +543455,51 @@ LAB_007b2675: break; case 0x21: Level::GetCurrentRoom(); - pEVar19 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar19); + pEVar18 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar18); uStack_8 = 3; - RVar29 = (RNG)0x0; + EVar6 = (EntityPtr)0x0; local_2b8 = (EntityPtr)0x0; iVar36 = EntityList::Size(); if (iVar36 != 0) { do { - puVar25 = (undefined4 *)std::vector::operator_index(RVar29); + puVar25 = (undefined4 *)std::vector::operator_index(EVar6); bVar4 = Entity_Pickup::CanJeraDuplicate((Entity_Pickup *)*puVar25); if (bVar4 != 0) { - pRVar39 = (RNG *)std::vector::operator_index(RVar29); - RVar29 = *pRVar39; - local_29c = (EntityPtr)RVar29; - local_2d8 = (Level *)Entity::InitSeed((Entity *)RVar29); - uVar30 = Entity::SubType((Entity *)RVar29); + pEVar27 = (EntityPtr *)std::vector::operator_index(EVar6); + EVar6 = *pEVar27; + local_29c = EVar6; + local_2d8 = (Level *)Entity::InitSeed((Entity *)EVar6); + uVar30 = Entity::SubType((Entity *)EVar6); Level::GetCurrentRoom((Level *)g_game); - uVar27 = Entity::Position((Entity *)local_29c,auStack_330); - uVar27 = Room::FindFreePickupSpawnPosition(auStack_31c,uVar27,0x42200000,0,0,0); + uVar28 = Entity::Position((Entity *)local_29c,auStack_330); + uVar28 = Room::FindFreePickupSpawnPosition(auStack_31c,uVar28,0x42200000,0,0,0); uVar47 = Entity::Variant((Entity *)local_29c); this = (Entity_Player *)local_2d0; - Game::Spawn(5,uVar47,uVar27,&g_vectorZero,local_2d0,uVar30,local_2d8); - RVar29 = (RNG)local_2b8; + Game::Spawn(5,uVar47,uVar28,&g_vectorZero,local_2d0,uVar30,local_2d8); + EVar6 = local_2b8; } - RVar29 = (RNG)((int)RVar29 + 1); - local_2b8 = (EntityPtr)RVar29; - RVar15 = (RNG)EntityList::Size(); - } while ((uint)RVar29 < (uint)RVar15); + EVar6 = (EntityPtr)((int)EVar6 + 1); + local_2b8 = EVar6; + EVar41 = (EntityPtr)EntityList::Size(); + } while ((uint)EVar6 < (uint)EVar41); } - pIVar18 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar18,0x15,4,(Entity_Player *)0x0); + pIVar17 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar17,0x15,4,(Entity_Player *)0x0); uStack_8 = 0xffffffff; EntityList_Query::~EntityList_Query(); break; case 0x22: UseActiveItem(this,(short *)((int)&uStack_2f8 + 2),0x54,1,-1,0); - pIVar18 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar18,0x16,4,(Entity_Player *)0x0); + pIVar17 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar17,0x16,4,(Entity_Player *)0x0); break; case 0x23: pLVar20 = (Level *)Config::GetCollectibles(); Level::RemoveCurses(pLVar20,0xffffffff); AddSoulHearts(this,2,0); - pIVar18 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar18,0x17,4,(Entity_Player *)0x0); + pIVar17 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar17,0x17,4,(Entity_Player *)0x0); Game::GetField26614(); cVar5 = FUN_00429550(); if (cVar5 != '\0') { @@ -542659,13 +543515,13 @@ LAB_007b2675: Level::ShowMap(pLVar20); pLVar20 = (Level *)Config::GetCollectibles(); Level::ApplyBlueMapEffect(pLVar20); - pIVar18 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar18,0x18,4,(Entity_Player *)0x0); + pIVar17 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar17,0x18,4,(Entity_Player *)0x0); break; case 0x25: UseActiveItem(this,(short *)((int)&uStack_2f8 + 2),0x69,1,-1,0); - pIVar18 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar18,0x19,4,(Entity_Player *)0x0); + pIVar17 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar17,0x19,4,(Entity_Player *)0x0); break; case 0x26: iVar36 = 3; @@ -542675,8 +543531,8 @@ LAB_007b2675: FUN_005b18f0(1); iVar36 = iVar36 + -1; } while (iVar36 != 0); - pIVar18 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar18,0x1a,4,(Entity_Player *)0x0); + pIVar17 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar17,0x1a,4,(Entity_Player *)0x0); break; case 0x27: pIVar33 = (ItemConfig *)Isaac::GetItemConfig(); @@ -542684,8 +543540,8 @@ LAB_007b2675: TemporaryEffect::TemporaryEffect(pIVar34); uStack_468 = 600; TemporaryEffects::AddEffect(&this->_temporaryeffects,auStack_470,(byte)local_2a8,1); - pIVar18 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar18,0x1b,4,(Entity_Player *)0x0); + pIVar17 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar17,0x1b,4,(Entity_Player *)0x0); break; case 0x28: uVar7 = RNG::RandomInt((RNG *)EVar6,4); @@ -542738,9 +543594,9 @@ LAB_007b2675: pAStack_1e8->_animation = (void *)((int)pAStack_1e8->_animation + 1); uVar30 = Random(); this = (Entity_Player *)local_2d0; - uVar27 = Vector::Vector(); - uVar27 = Vector::__add(auStack_31c,uVar27); - Game::Spawn(1000,0xf,uVar27,&g_vectorZero,0,0,uVar30); + uVar28 = Vector::Vector(); + uVar28 = Vector::__add(auStack_31c,uVar28); + Game::Spawn(1000,0xf,uVar28,&g_vectorZero,0,0,uVar30); } Level::GetCurrentRoom((Level *)g_game); EStack_2b0 = (EntityPtr)Room::GetEntities(); @@ -542774,9 +543630,9 @@ LAB_007b2675: pAStack_1e8->_animation = (void *)((int)pAStack_1e8->_animation + 1); uVar30 = Random(); Entity::Position((Entity *)local_298,auStack_330); - uVar27 = Vector::Vector(); - uVar27 = Vector::__add(auStack_360,uVar27); - Game::Spawn(1000,0xf,uVar27,&g_vectorZero,0,0,uVar30); + uVar28 = Vector::Vector(); + uVar28 = Vector::__add(auStack_360,uVar28); + Game::Spawn(1000,0xf,uVar28,&g_vectorZero,0,0,uVar30); FUN_0060d1f0(4); Entity_Pickup::RemoveOtherOptions(); iVar36 = FUN_005b1960(); @@ -542793,9 +543649,9 @@ LAB_007b2675: if ((iVar36 != 100) && (bVar4 = Entity_Pickup::CanReroll((Entity_Pickup *)local_298), bVar4 != 0)) { (**(code **)(*(int *)local_298 + 0x28))(); - uVar27 = 0; + uVar28 = 0; uVar30 = Entity::Position((Entity *)local_298,auStack_368); - AddBlueFlies(1,uVar30,uVar27); + AddBlueFlies(1,uVar30,uVar28); } } } @@ -542806,13 +543662,13 @@ LAB_007b2675: this = (Entity_Player *)local_2d0; } while (puVar44 < puVar26); } - RVar29 = (RNG)0x0; + EVar6 = (EntityPtr)0x0; local_2b8 = (EntityPtr)0x0; iVar36 = std::vector::size(); if (iVar36 != 0) { local_29c = (EntityPtr)((int)local_2d0 + 0x3dc); do { - puVar25 = (undefined4 *)FUN_0042c810(RVar29); + puVar25 = (undefined4 *)FUN_0042c810(EVar6); pEVar9 = (Entity *)*puVar25; iVar36 = FUN_005b1960(); Entity::Position(pEVar9,auStack_2dc); @@ -542824,10 +543680,10 @@ LAB_007b2675: piVar32 = (int *)Game::Spawn(5,100,auStack_2dc,&g_vectorZero,0,uVar30,uVar7); FUN_006e2ff0(iVar36 + 1); (**(code **)(*piVar32 + 0xc))(); - RVar29 = (RNG)((int)local_2b8 + 1); - local_2b8 = (EntityPtr)RVar29; - RVar15 = (RNG)std::vector::size(); - } while ((uint)RVar29 < (uint)RVar15); + EVar6 = (EntityPtr)((int)local_2b8 + 1); + local_2b8 = EVar6; + EVar41 = (EntityPtr)std::vector::size(); + } while ((uint)EVar6 < (uint)EVar41); } FUN_007dc610(); this = (Entity_Player *)local_2d0; @@ -542867,15 +543723,15 @@ LAB_007b4865: local_2b8 = (EntityPtr)0x3f000000; Vector::__mul(auStack_368,&local_2b8); uStack_2c4 = CONCAT44(0x40000000,(Entity *)uStack_2c4); - uVar27 = Vector::__mul(auStack_360,(int)&uStack_2c4 + 4); - uVar27 = Vector::__add(auStack_31c,uVar27); + uVar28 = Vector::__mul(auStack_360,(int)&uStack_2c4 + 4); + uVar28 = Vector::__add(auStack_31c,uVar28); this = (Entity_Player *)local_2d0; - Game::Spawn(2,9,(Vector *)((int)local_2d0 + 0x33c),uVar27,local_2d0,0,uVar30); + Game::Spawn(2,9,(Vector *)((int)local_2d0 + 0x33c),uVar28,local_2d0,0,uVar30); goto LAB_007b8998; case 0x2b: Level::GetCurrentRoom(); - pEVar19 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar19); + pEVar18 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar18); uStack_8 = 2; uVar7 = 0; iVar36 = EntityList::Size(); @@ -542946,7 +543802,7 @@ LAB_007b4865: (pGVar12 = Game::GetGlowingHourglassState(g_game), pGVar12 != (GlowingHourglassState *)0x0)) { local_29c = (EntityPtr) - ((int)&pGVar12->field_0x19d80 + this->_glowingHourglassIndex * 0x5dc); + (pGVar12->_eventCounters + this->_glowingHourglassIndex * 0x177 + -0x182d); EStack_2b0 = (EntityPtr)0x0; pfVar40 = (float *)((int)local_29c + 0x104); LAB_007b3be0: @@ -542975,8 +543831,8 @@ LAB_007b3c4c: if (bVar4 == 0) { uVar30 = Random(); Level::GetCurrentRoom((Level *)g_game); - uVar27 = Room::FindFreePickupSpawnPosition(auStack_31c,&this->_pos,0,0,0,0); - Game::Spawn(0x11,2,uVar27,&g_vectorZero,this,0,uVar30); + uVar28 = Room::FindFreePickupSpawnPosition(auStack_31c,&this->_pos,0,0,0,0); + Game::Spawn(0x11,2,uVar28,&g_vectorZero,this,0,uVar30); } else { Config::GetCollectibles(); @@ -543032,28 +543888,28 @@ LAB_007b3d9f: } local_29c = (EntityPtr)0x0; do { - RVar29 = aRStack_264[(int)((int)local_29c + -0x18)]; - local_2b8 = (EntityPtr)RVar29; - if (RVar29 != (RNG)0x0) { + EVar6 = *(EntityPtr *)((int)&uStack_2c4 + (int)local_29c * 4); + local_2b8 = EVar6; + if (EVar6 != (EntityPtr)0x0) { uVar30 = Random(); - Entity::Position((Entity *)RVar29,auStack_31c); - uVar27 = Vector::Vector(); - uVar27 = Vector::__add(auStack_368,uVar27); + Entity::Position((Entity *)EVar6,auStack_31c); + uVar28 = Vector::Vector(); + uVar28 = Vector::__add(auStack_368,uVar28); uVar50 = 0; pTVar49 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; pTVar48 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar47 = 0; - uVar30 = Game::Spawn(1000,0x5b,uVar27,&g_vectorZero,0,0,uVar30); + uVar30 = Game::Spawn(1000,0x5b,uVar28,&g_vectorZero,0,0,uVar30); pEVar23 = (Entity_Effect *)__RTDynamicCast(uVar30,uVar47,pTVar48,pTVar49,uVar50); EVar6 = local_2b8; Entity::SetTarget((Entity *)pEVar23,local_2b8); Entity_Effect::SetTimeout(pEVar23,0x96); (**(code **)(*(int *)pEVar23 + 0xc))(); - pEVar19 = (Entity_NPC *) + pEVar18 = (Entity_NPC *) __RTDynamicCast(EVar6,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor,0); uVar30 = Entity::Position((Entity *)EVar6,auStack_330); - Entity_NPC::hold_set(pEVar19,0x96,uVar30); + Entity_NPC::hold_set(pEVar18,0x96,uVar30); } local_29c = (EntityPtr)((int)local_29c + 1); this = (Entity_Player *)local_2d0; @@ -543093,9 +543949,9 @@ LAB_007b3d9f: uVar30 = ItemPool::GetCard(uVar51,1,0,0); Vector::FromAngle(auStack_374,(float)(int)EStack_2b0 * -90.0); local_2d8 = (Level *)0x40000000; - uVar27 = Vector::__mul(auStack_300,&local_2d8); + uVar28 = Vector::__mul(auStack_300,&local_2d8); this = (Entity_Player *)local_2d0; - Game::Spawn(5,300,&VStack_380,uVar27,local_2d0,uVar30,uVar7); + Game::Spawn(5,300,&VStack_380,uVar28,local_2d0,uVar30,uVar7); EStack_2b0 = (EntityPtr)((int)EStack_2b0 + 1); EVar6 = local_298; } while ((int)EStack_2b0 < 3); @@ -543181,15 +544037,15 @@ LAB_007b3d9f: Game::GetItemPool(g_game); ItemPool::ResetRoomBlacklist(); Level::GetCurrentRoom((Level *)g_game); - pEVar19 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar19); + pEVar18 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar18); uStack_8 = 5; uVar51 = 0xb; local_298 = (EntityPtr)0x0; uVar7 = EntityPtr::Ref(); - RNG::game_constructor(aRStack_264,uVar7,uVar51); + RNG::game_constructor(&RStack_264,uVar7,uVar51); uStack_8 = CONCAT31(uStack_8._1_3_,6); - uVar7 = RNG::RandomInt(aRStack_264,2); + uVar7 = RNG::RandomInt(&RStack_264,2); local_29c = (EntityPtr)((-(uint)(uVar7 != 0) & 0xffffffdc) + 0x24); iVar36 = EntityList::Size(); if (iVar36 != 0) { @@ -543206,7 +544062,7 @@ LAB_007b3d9f: if (((bVar4 != 0) && ((iVar36 = Entity_Pickup::OptionsPickupIndex((Entity_Pickup *)EVar6), iVar36 == 0 || (iVar36 = Entity_Pickup::Timeout((Entity_Pickup *)EVar6), iVar36 < 0)))) && - ((uVar51 = RNG::Next(aRStack_264), local_298 == (EntityPtr)0x0 || (uVar51 != 0)))) { + ((uVar51 = RNG::Next(&RStack_264), local_298 == (EntityPtr)0x0 || (uVar51 != 0)))) { local_298 = EVar6; } } @@ -543217,8 +544073,8 @@ LAB_007b3d9f: } while (uVar7 < uVar51); if (EVar6 != (EntityPtr)0x0) { iVar36 = Entity::Variant((Entity *)EVar6); - iVar17 = Entity::Type((Entity *)local_298); - Entity_Pickup::Morph((Entity_Pickup *)local_298,iVar17,iVar36,(int)local_29c,1,0,0); + iVar16 = Entity::Type((Entity *)local_298); + Entity_Pickup::Morph((Entity_Pickup *)local_298,iVar16,iVar36,(int)local_29c,1,0,0); FUN_005b1950(0); } } @@ -543235,9 +544091,9 @@ LAB_007b3d9f: pIVar33 = (ItemConfig *)Isaac::GetItemConfig(); pIVar34 = ItemConfig::GetCollectible(pIVar33,0x3a); TemporaryEffect::TemporaryEffect(pIVar34); - uStack_224 = 0x5a; + RStack_22c._shift2 = 0x5a; TemporaryEffects::AddEffect - ((TemporaryEffects *)((int)this + 0x1508),aRStack_22c,(byte)local_2a8,1); + ((TemporaryEffects *)((int)this + 0x1508),&RStack_22c,(byte)local_2a8,1); break; case (EntityPtr)0x4: use_card_hagalaz(EVar6); @@ -543257,9 +544113,9 @@ LAB_007b3d9f: pEStack_2bc = this; uVar7 = 0; local_2b8 = (EntityPtr)this->_subPlayer; - RVar29 = (RNG)0x0; + EVar6 = (EntityPtr)0x0; uStack_310 = (undefined1 *)0x0; - RStack_2f4 = (RNG)0x0; + EStack_2f4 = (EntityPtr)0x0; EStack_2b0 = (EntityPtr)0x0; uStack_2f8 = 0; EStack_2c8 = (EntityPtr)0x0; @@ -543267,81 +544123,79 @@ LAB_007b3d9f: local_2a8 = 0; local_29c = (EntityPtr)0x0; do { - RVar15 = aRStack_264[(int)local_29c - 0x16]; - if (RVar15 != (RNG)0x0) { - uStack_2f8 = uStack_2f8 + *(int *)((int)RVar15 + 0x1348); - EStack_2c8 = (EntityPtr)((int)EStack_2c8 + *(int *)((int)RVar15 + 0x194c)); - EStack_2ec = *(EntityPtr *)((int)RVar15 + 0x1da4); - local_2ac = *(int *)((int)RVar15 + 0x1344); - *(int *)((int)RVar15 + 0x1348) = 0; - *(int *)((int)RVar15 + 0x194c) = 0; + pEVar10 = (&pEStack_2bc)[(int)local_29c]; + if (pEVar10 != (Entity_Player *)0x0) { + uStack_2f8 = uStack_2f8 + pEVar10->_eternalHearts; + EStack_2c8 = (EntityPtr)((int)EStack_2c8 + pEVar10->_goldenHearts); + EStack_2ec = (EntityPtr)pEVar10->_rottenHearts; + local_2ac = pEVar10->_redHearts; + pEVar10->_eternalHearts = 0; + pEVar10->_goldenHearts = 0; EStack_2e8 = (EntityPtr)FUN_00759260(); - EStack_2e4 = *(EntityPtr *)((int)RVar15 + 0x134c); - uStack_2c4 = CONCAT44(*(int *)((int)RVar15 + 0x1d88),(Entity *)uStack_2c4); - if ((*(int *)((int)RVar15 + 0x1344) < 1) || (*(int *)((int)RVar15 + 0x1340) < 1)) { - if (*(int *)((int)RVar15 + 0x1d88) < 1) { + EStack_2e4 = (EntityPtr)pEVar10->_soulHearts; + uStack_2c4 = CONCAT44(pEVar10->_boneHearts,(Entity *)uStack_2c4); + if ((pEVar10->_redHearts < 1) || (pEVar10->_maxHearts < 1)) { + if (pEVar10->_boneHearts < 1) { if (0 < (int)EStack_2e4) { - AddSoulHearts((Entity_Player *)RVar15,1 - (int)EStack_2e4,0); + AddSoulHearts(pEVar10,1 - (int)EStack_2e4,0); } } else { - AddHearts((Entity_Player *)RVar15,-*(int *)((int)RVar15 + 0x1344),0,0); - AddSoulHearts((Entity_Player *)RVar15,-*(int *)((int)RVar15 + 0x134c),0); - *(int *)((int)RVar15 + 0x1d88) = 1; - update_bone_hearts((Entity_Player *)RVar15); + AddHearts(pEVar10,-pEVar10->_redHearts,0,0); + AddSoulHearts(pEVar10,-pEVar10->_soulHearts,0); + pEVar10->_boneHearts = 1; + update_bone_hearts(pEVar10); } } else { - iVar17 = GetHealthType((Entity_Player *)RVar15); - iVar36 = *(int *)((int)RVar15 + 0x1344); - if (iVar17 == 3) { + iVar16 = GetHealthType(pEVar10); + iVar36 = pEVar10->_redHearts; + if (iVar16 == 3) { if (2 < iVar36) { - iVar17 = 2; + iVar16 = 2; goto LAB_007b4f9f; } } else if (1 < iVar36) { - iVar17 = 1; + iVar16 = 1; LAB_007b4f9f: - AddHearts((Entity_Player *)RVar15,iVar17 - iVar36,0,0); + AddHearts(pEVar10,iVar16 - iVar36,0,0); } - AddSoulHearts((Entity_Player *)RVar15,-*(int *)((int)RVar15 + 0x134c),0); - *(int *)((int)RVar15 + 0x1d88) = 0; - update_bone_hearts((Entity_Player *)RVar15); + AddSoulHearts(pEVar10,-pEVar10->_soulHearts,0); + pEVar10->_boneHearts = 0; + update_bone_hearts(pEVar10); } - EStack_2ec = (EntityPtr)((int)EStack_2ec - *(int *)((int)RVar15 + 0x1da4)); - local_2ac = (local_2ac + (int)EStack_2ec * -2) - *(int *)((int)RVar15 + 0x1344); + EStack_2ec = (EntityPtr)((int)EStack_2ec - pEVar10->_rottenHearts); + local_2ac = (local_2ac + (int)EStack_2ec * -2) - pEVar10->_redHearts; iVar36 = FUN_00759260(); EStack_2e8 = (EntityPtr)((int)EStack_2e8 - iVar36); - EStack_2e4 = (EntityPtr) - (((int)EStack_2e4 + (int)EStack_2e8 * -2) - *(int *)((int)RVar15 + 0x134c)); - if ((0 < (int)local_2ac) && (iVar36 = GetHealthType((Entity_Player *)RVar15), iVar36 == 3)) - { + EStack_2e4 = (EntityPtr)(((int)EStack_2e4 + (int)EStack_2e8 * -2) - pEVar10->_soulHearts); + if ((0 < (int)local_2ac) && (iVar36 = GetHealthType(pEVar10), iVar36 == 3)) { iVar36 = local_2ac + 1; local_2ac = 0; local_2a8 = local_2a8 + iVar36 / 2; } - RVar29 = (RNG)EStack_2e4; + EVar6 = EStack_2e4; if ((int)EStack_2e4 < 0) { iVar36 = (1 - (int)EStack_2e4) / 2; EStack_2e8 = (EntityPtr)((int)EStack_2e8 - iVar36); - RVar29 = (RNG)((int)EStack_2e4 + iVar36 * 2); + EVar6 = (EntityPtr)((int)EStack_2e4 + iVar36 * 2); } - iVar36 = (int)uStack_2c4._4_4_ - *(int *)((int)RVar15 + 0x1d88); + iVar36 = (int)uStack_2c4._4_4_ - pEVar10->_boneHearts; uVar7 = uVar7 + local_2ac; uStack_2c4 = CONCAT44(iVar36,(Entity *)uStack_2c4); uStack_310 = uStack_310 + (int)EStack_2ec; EStack_2b0 = (EntityPtr)((int)EStack_2b0 + (int)EStack_2e8); - RVar29 = (RNG)((int)RStack_2f4 + (int)RVar29); + EVar6 = (EntityPtr)((int)EStack_2f4 + (int)EVar6); uStack_30c = uStack_30c + iVar36; iVar36 = local_2a8; - RStack_2f4 = RVar29; + EStack_2f4 = EVar6; } this = (Entity_Player *)local_2d0; local_29c = (EntityPtr)((int)local_29c + 1); } while ((uint)local_29c < 2); if (0 < *(int *)((int)local_2d0 + 0x1da8)) { - RStack_2f4 = (RNG)((int)RVar29 + *(int *)((int)local_2d0 + 0x1da8)); + EStack_2f4 = (EntityPtr)((int)EVar6 + *(int *)((int)local_2d0 + 0x1da8)); *(undefined4 *)((int)local_2d0 + 0x1da8) = 0; } uVar51 = uVar7; @@ -543366,7 +544220,7 @@ LAB_007b4f9f: FUN_005b19d0(); shiftidx = 0x2c; uVar7 = RNG::Next((RNG *)local_298); - RNG::game_constructor(aRStack_1fc,uVar7,shiftidx); + RNG::game_constructor(&RStack_1fc,uVar7,shiftidx); uStack_8 = 7; EStack_2ec = (EntityPtr)((int)this + 0x33c); if (0 < (int)uVar51) { @@ -543386,7 +544240,7 @@ LAB_007b4f9f: } iVar36 = nullsub_7dd380(); local_2ac = uVar51 - iVar36; - uVar7 = RNG::Next(aRStack_1fc); + uVar7 = RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); uVar30 = Room::FindFreePickupSpawnPosition (auStack_300,(void **)((int)this + 0x33c),0x42200000,0,0,0); @@ -543396,56 +544250,56 @@ LAB_007b4f9f: } uStack_2c4._4_4_ = (Entity *)((int)this + 0x33c); puVar26 = uStack_310; - RVar29 = RStack_2f4; + EVar6 = EStack_2f4; if (0 < (int)uStack_310) { do { - uVar7 = RNG::Next(aRStack_1fc); + uVar7 = RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); uVar30 = Room::FindFreePickupSpawnPosition(auStack_300,uStack_2c4._4_4_,0x42200000,0,0,0); Game::Spawn(5,10,uVar30,&g_vectorZero,this,0xc,uVar7); uStack_310 = uStack_310 + -1; puVar26 = (undefined1 *)0x0; - RVar29 = RStack_2f4; + EVar6 = EStack_2f4; } while (uStack_310 != (undefined1 *)0x0); } while( true ) { uStack_310 = puVar26; - RStack_2f4 = RVar29; - if ((int)RVar29 < 1) break; + EStack_2f4 = EVar6; + if ((int)EVar6 < 1) break; iVar36 = nullsub_7dd380(); - if ((int)RVar29 < iVar36) { + if ((int)EVar6 < iVar36) { uStack_2c4._4_4_ = (Entity *)&DAT_00000008; } else { uStack_2c4._4_4_ = (Entity *)0x3; } iVar36 = nullsub_7dd380(); - RStack_2f4 = (RNG)((int)RVar29 - iVar36); - uVar7 = RNG::Next(aRStack_1fc); + EStack_2f4 = (EntityPtr)((int)EVar6 - iVar36); + uVar7 = RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); uVar30 = Room::FindFreePickupSpawnPosition (auStack_300,(void **)((int)this + 0x33c),0x42200000,0,0,0); Game::Spawn(5,10,uVar30,&g_vectorZero,this,uStack_2c4._4_4_,uVar7); puVar26 = uStack_310; - RVar29 = RStack_2f4; + EVar6 = EStack_2f4; } uStack_2c4 = ZEXT48((Entity *)uStack_2c4); iVar36 = nullsub_7dd380(); if (0 < iVar36) { do { - uVar7 = RNG::Next(aRStack_1fc); + uVar7 = RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); uVar30 = Room::FindFreePickupSpawnPosition (auStack_300,(void **)((int)this + 0x33c),0x42200000,0,0,0); Game::Spawn(5,10,uVar30,&g_vectorZero,this,6,uVar7); - iVar17 = (int)uStack_2c4._4_4_ + 1; - uStack_2c4 = CONCAT44(iVar17,(Entity *)uStack_2c4); + iVar16 = (int)uStack_2c4._4_4_ + 1; + uStack_2c4 = CONCAT44(iVar16,(Entity *)uStack_2c4); iVar36 = nullsub_7dd380(); - } while (iVar17 < iVar36); + } while (iVar16 < iVar36); } if (0 < uStack_30c) { do { - uVar7 = RNG::Next(aRStack_1fc); + uVar7 = RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); uVar30 = Room::FindFreePickupSpawnPosition (auStack_300,(void **)((int)this + 0x33c),0x42200000,0,0,0); @@ -543455,7 +544309,7 @@ LAB_007b4f9f: } if (0 < uStack_2f8) { do { - uVar7 = RNG::Next(aRStack_1fc); + uVar7 = RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); uVar30 = Room::FindFreePickupSpawnPosition (auStack_374,(void **)((int)this + 0x33c),0x42200000,0,0,0); @@ -543466,7 +544320,7 @@ LAB_007b4f9f: local_298 = (EntityPtr)((int)this + 0x33c); if (0 < (int)EStack_2c8) { do { - uVar7 = RNG::Next(aRStack_1fc); + uVar7 = RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); uVar30 = Room::FindFreePickupSpawnPosition (auStack_330,(void **)((int)this + 0x33c),0x42200000,0,0,0); @@ -543506,27 +544360,27 @@ LAB_007b4f9f: uVar30 = 3; local_2a8 = local_2a8 - 10; } - local_298 = (EntityPtr)RNG::Next(aRStack_1fc); + local_298 = (EntityPtr)RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); - uVar27 = 0x42200000; + uVar28 = 0x42200000; } else { uVar30 = 0x12; local_2a8 = local_2a8 - 100; LAB_007b5662: uStack_2c4 = CONCAT44(100,(Entity *)uStack_2c4); - local_298 = (EntityPtr)RNG::Next(aRStack_1fc); + local_298 = (EntityPtr)RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); - uVar27 = 0x41200000; + uVar28 = 0x41200000; } - uVar27 = Room::FindFreePickupSpawnPosition(auStack_31c,EStack_2ec,uVar27,0,0,0); + uVar28 = Room::FindFreePickupSpawnPosition(auStack_31c,EStack_2ec,uVar28,0,0,0); iVar36 = (int)uStack_2c4._4_4_; - uVar30 = Game::Spawn(5,uStack_2c4._4_4_,uVar27,&g_vectorZero,this,uVar30,local_298); + uVar30 = Game::Spawn(5,uStack_2c4._4_4_,uVar28,&g_vectorZero,this,uVar30,local_298); uStack_2c4 = CONCAT44(uVar30,(Entity *)uStack_2c4); if (iVar36 == 100) { uVar30 = Random(); - uVar27 = Entity::Position(uStack_2c4._4_4_,auStack_360); - Game::Spawn(1000,0xf,uVar27,&g_vectorZero,0,0,uVar30); + uVar28 = Entity::Position(uStack_2c4._4_4_,auStack_360); + Game::Spawn(1000,0xf,uVar28,&g_vectorZero,0,0,uVar30); } } while (0 < (int)local_2a8); local_298 = EStack_2ec; @@ -543549,53 +544403,53 @@ LAB_007b5662: uVar30 = 2; EStack_2e4 = (EntityPtr)((int)EStack_2e4 + -2); } - EStack_2b0 = (EntityPtr)RNG::Next(aRStack_1fc); + EStack_2b0 = (EntityPtr)RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); - uVar27 = 0x42200000; + uVar28 = 0x42200000; } else { uVar30 = 0xbe; EStack_2e4 = (EntityPtr)((int)EStack_2e4 + -99); LAB_007b57d2: uStack_2c4 = CONCAT44(100,(Entity *)uStack_2c4); - EStack_2b0 = (EntityPtr)RNG::Next(aRStack_1fc); + EStack_2b0 = (EntityPtr)RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); - uVar27 = 0x41200000; + uVar28 = 0x41200000; } - uVar27 = Room::FindFreePickupSpawnPosition(auStack_368,local_298,uVar27,0,0,0); + uVar28 = Room::FindFreePickupSpawnPosition(auStack_368,local_298,uVar28,0,0,0); iVar36 = (int)uStack_2c4._4_4_; - uVar30 = Game::Spawn(5,uStack_2c4._4_4_,uVar27,&g_vectorZero,this,uVar30,EStack_2b0); + uVar30 = Game::Spawn(5,uStack_2c4._4_4_,uVar28,&g_vectorZero,this,uVar30,EStack_2b0); uStack_2c4 = CONCAT44(uVar30,(Entity *)uStack_2c4); if (iVar36 == 100) { uVar30 = Random(); - uVar27 = Entity::Position(uStack_2c4._4_4_,auStack_398); - Game::Spawn(1000,0xf,uVar27,&g_vectorZero,0,0,uVar30); + uVar28 = Entity::Position(uStack_2c4._4_4_,auStack_398); + Game::Spawn(1000,0xf,uVar28,&g_vectorZero,0,0,uVar30); } } while (0 < (int)EStack_2e4); EStack_2b0 = local_298; } for (; local_2d8 != (Level *)0x0; local_2d8 = (Level *)((int)&local_2d8[-1]._levelStateFlag + 3) ) { - uVar7 = RNG::Next(aRStack_1fc); + uVar7 = RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); uVar30 = Room::FindFreePickupSpawnPosition(auStack_344,EStack_2b0,0x42200000,0,0,0); Game::Spawn(5,0x28,uVar30,&g_vectorZero,this,4,uVar7); } local_2d8 = (Level *)0x0; EVar6 = EStack_2e8; - RVar29 = (RNG)local_2b8; + EVar41 = local_2b8; if (0 < (int)local_2b8) { do { - uVar7 = RNG::Next(aRStack_1fc); + uVar7 = RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); uVar30 = Room::FindFreePickupSpawnPosition(auStack_3b8,EStack_2c8,0x42200000,0,0,0); Game::Spawn(5,0x28,uVar30,&g_vectorZero,this,7,uVar7); local_2b8 = (EntityPtr)((int)local_2b8 + -1); EVar6 = EStack_2e8; - RVar29 = (RNG)0x0; + EVar41 = (EntityPtr)0x0; } while (local_2b8 != (EntityPtr)0x0); } - while (local_2b8 = (EntityPtr)RVar29, 0 < (int)EVar6) { + while (local_2b8 = EVar41, 0 < (int)EVar6) { if ((uint)EVar6 < 99) { uStack_2c4 = CONCAT44(0x1e,(Entity *)uStack_2c4); if ((uint)EVar6 < 2) { @@ -543607,12 +544461,12 @@ LAB_007b57d2: EVar6 = (EntityPtr)((int)EVar6 - 2); } EStack_2e8 = EVar6; - local_2b8 = (EntityPtr)RNG::Next(aRStack_1fc); + local_2b8 = (EntityPtr)RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); EVar41 = (EntityPtr)0x42200000; } else { - local_2b8 = (EntityPtr)RNG::Next(aRStack_1fc); + local_2b8 = (EntityPtr)RNG::Next(&RStack_1fc); EStack_2ec = (EntityPtr)0x41200000; EVar6 = (EntityPtr)((int)EVar6 - 99); uStack_2c4 = CONCAT44(100,(Entity *)uStack_2c4); @@ -543624,17 +544478,17 @@ LAB_007b57d2: uVar30 = Room::FindFreePickupSpawnPosition(auStack_3a0,EStack_2c8,EVar41,0,0,0); local_2b8 = (EntityPtr) Game::Spawn(5,uStack_2c4._4_4_,uVar30,&g_vectorZero,this,local_2d8,local_2b8); - RVar29 = (RNG)local_2b8; + EVar41 = local_2b8; if (uStack_2c4._4_4_ == (Entity *)0x64) { uVar30 = Random(); - uVar27 = Entity::Position((Entity *)local_2b8,auStack_358); - Game::Spawn(1000,0xf,uVar27,&g_vectorZero,0,0,uVar30); + uVar28 = Entity::Position((Entity *)local_2b8,auStack_358); + Game::Spawn(1000,0xf,uVar28,&g_vectorZero,0,0,uVar30); EVar6 = EStack_2e8; - RVar29 = (RNG)local_2b8; + EVar41 = local_2b8; } } for (; local_29c != (EntityPtr)0x0; local_29c = (EntityPtr)((int)local_29c - 1)) { - uVar7 = RNG::Next(aRStack_1fc); + uVar7 = RNG::Next(&RStack_1fc); Level::GetCurrentRoom((Level *)g_game); uVar30 = Room::FindFreePickupSpawnPosition(&pEStack_2bc,EStack_2c8,0x42200000,0,0,0); Game::Spawn(5,0x1e,uVar30,&g_vectorZero,this,2,uVar7); @@ -543660,19 +544514,19 @@ LAB_007b57d2: } if (uStack_2a2._1_1_ != 0) { Config::GetCollectibles(); - RVar29 = (RNG)FUN_0042c7f0(); + EVar6 = (EntityPtr)FUN_0042c7f0(); FUN_00424510(); uStack_8._0_1_ = 8; - if (0 < (int)RVar29) { + if (0 < (int)EVar6) { joined_r0x007b5c54: - RVar29 = (RNG)((int)RVar29 + -1); - local_29c = (EntityPtr)RVar29; - if (-1 < (int)RVar29) { + EVar6 = (EntityPtr)((int)EVar6 + -1); + local_29c = EVar6; + if (-1 < (int)EVar6) { Config::GetCollectibles(); - iVar36 = FUN_005cbe00(RVar29); + iVar36 = FUN_005cbe00(EVar6); if (*(char *)(iVar36 + 4) == '\0') { Config::GetCollectibles(); - iVar36 = FUN_005cbe00(RVar29); + iVar36 = FUN_005cbe00(EVar6); EStack_2b0 = *(EntityPtr *)(iVar36 + 8); bVar4 = CanRerollCollectible(this,(int)EStack_2b0,0); if (bVar4 != 0) { @@ -543682,18 +544536,18 @@ joined_r0x007b5c54: local_2b8 = (EntityPtr)((int)this + 0x16c8); iVar36 = 0; piVar32 = (int *)FUN_0042c810(EStack_2b0); - RVar29 = (RNG)local_29c; + EVar6 = local_29c; if (0 < *piVar32) { do { uVar7 = std::vector::size(); this = (Entity_Player *)local_2d0; - RVar29 = (RNG)local_29c; + EVar6 = local_29c; if (2 < uVar7) break; std::vector::push_back(&EStack_2b0); iVar36 = iVar36 + 1; piVar32 = (int *)FUN_0042c810(EStack_2b0); this = (Entity_Player *)local_2d0; - RVar29 = (RNG)local_29c; + EVar6 = local_29c; } while (iVar36 < *piVar32); } } @@ -543733,8 +544587,8 @@ joined_r0x007b5c54: case 0x3b: bVar4 = TemporaryEffects::HasNullEffect(&this->_temporaryeffects,0x3e); if (bVar4 == 0) { - pIVar18 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar18,0x2a,3,(Entity_Player *)0x0); + pIVar17 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar17,0x2a,3,(Entity_Player *)0x0); } iVar36 = this->_reverseEmpressMaxHearts; this->_reverseEmpressMaxHearts = 0; @@ -543745,8 +544599,8 @@ joined_r0x007b5c54: if (0 < (int)local_29c) { do { iVar36 = GetHeartLimit(0); - iVar17 = GetEffectiveMaxHearts(); - if (iVar17 < iVar36) { + iVar16 = GetEffectiveMaxHearts(); + if (iVar16 < iVar36) { this->_reverseEmpressMaxHearts = this->_reverseEmpressMaxHearts + 1; AddMaxHearts(this,2,0); } @@ -543798,10 +544652,10 @@ joined_r0x007b5c54: local_29c = (EntityPtr)(uStack_2a2._1_1_ + 1); local_2d8 = (Level *)&this->_pos; do { - RVar29 = (RNG)RNG::Next((RNG *)EVar6); - local_2b8 = (EntityPtr)RVar29; + EVar41 = (EntityPtr)RNG::Next((RNG *)EVar6); + local_2b8 = EVar41; pRVar22 = (Room *)Level::GetCurrentRoom((Level *)g_game); - iVar36 = Room::GetSeededCollectible(pRVar22,(uint)RVar29,0); + iVar36 = Room::GetSeededCollectible(pRVar22,(uint)EVar41,0); Game::GetField26614(); cVar5 = FUN_00429550(); EVar41 = local_2b8; @@ -543867,14 +544721,14 @@ joined_r0x007b5c54: MusicManager::RandomVector(auStack_300); random_float(); uStack_2c4 = CONCAT44((float)pLVar20 * 20.0,(Entity *)uStack_2c4); - uVar27 = Vector::__mul(auStack_374,(int)&uStack_2c4 + 4); + uVar28 = Vector::__mul(auStack_374,(int)&uStack_2c4 + 4); EVar6 = EStack_2ec; - uVar27 = Vector::__add(auStack_330,uVar27); + uVar28 = Vector::__add(auStack_330,uVar28); uVar50 = 0; pTVar49 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; pTVar48 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar47 = 0; - uVar30 = Game::Spawn(1000,0x3b,uVar27,&uStack_2cc,0,0,uVar30); + uVar30 = Game::Spawn(1000,0x3b,uVar28,&uStack_2cc,0,0,uVar30); pEVar23 = (Entity_Effect *)__RTDynamicCast(uVar30,uVar47,pTVar48,pTVar49,uVar50); local_29c = (EntityPtr)0x3f800000; Entity::Position((Entity *)pEVar23,auStack_31c); @@ -543889,16 +544743,16 @@ joined_r0x007b5c54: } random_float(); fVar46 = ((float)puVar26 * 10.0 + 2.0) * (float)local_29c; - Entity_Effect::set_rotation(fVar46); + Entity_Effect::set_rotation(pEVar23,fVar46); iVar36 = Isaac::Random(0xf); Entity_Effect::SetTimeout(pEVar23,iVar36 + 0xf); uVar47 = 0; - uVar27 = 0; + uVar28 = 0; uVar30 = 0; pcVar1 = *(code **)(*(int *)pEVar23 + 0x3c); random_float(0,0,0); in_XMM0_Da = 1.0; - uVar30 = Color::Color(fVar46 * 0.5 + 0.2,uVar30,uVar27,uVar47); + uVar30 = Color::Color(fVar46 * 0.5 + 0.2,uVar30,uVar28,uVar47); (*pcVar1)(uVar30,0xffffffff,0xff,0,1); (**(code **)(*(int *)pEVar23 + 0xc))(); this = (Entity_Player *)local_2d0; @@ -543921,36 +544775,36 @@ joined_r0x007b5c54: goto LAB_007b8998; case 0x40: uVar7 = RNG::RandomInt((RNG *)EVar6,(uStack_2a2._1_1_ + 1) * 3); - RVar29 = (RNG)(uVar7 + 2); - local_29c = (EntityPtr)RVar29; - if (RVar29 != (RNG)0x0) { + EVar41 = (EntityPtr)(uVar7 + 2); + local_29c = EVar41; + if (EVar41 != (EntityPtr)0x0) { local_2b8 = (EntityPtr)&this->_pos; do { Level::GetCurrentRoom((Level *)g_game); Room::FindFreePickupSpawnPosition(auStack_358,local_2b8,0x42200000,0,0,0); uVar7 = RNG::Next((RNG *)EVar6); Game::Spawn(5,0x3c,auStack_358,&g_vectorZero,0,0,uVar7); - RVar29 = (RNG)((int)RVar29 + -1); + EVar41 = (EntityPtr)((int)EVar41 + -1); this = (Entity_Player *)local_2d0; - } while (RVar29 != (RNG)0x0); + } while (EVar41 != (EntityPtr)0x0); } break; case 0x41: local_2ac = 0; Level::GetCurrentRoom(); - pEVar19 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar19); + pEVar18 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar18); uStack_8 = 9; - RVar29 = (RNG)0x0; + EVar41 = (EntityPtr)0x0; local_2b8 = (EntityPtr)0x0; iVar36 = EntityList::Size(); if (iVar36 == 0) { LAB_007b6afb: uVar51 = 0x21; uVar7 = RNG::Next((RNG *)EVar6); - RNG::game_constructor(aRStack_22c,uVar7,uVar51); + RNG::game_constructor(&RStack_22c,uVar7,uVar51); uStack_8 = CONCAT31(uStack_8._1_3_,0xb); - uVar7 = RNG::Next(aRStack_22c); + uVar7 = RNG::Next(&RStack_22c); Level::GetCurrentRoom((Level *)g_game); Level::GetCurrentRoom((Level *)g_game); uVar30 = Room::GetCenterPos(auStack_308); @@ -543960,8 +544814,8 @@ LAB_007b6afb: } else { do { - pEVar14 = (EntityPtr *)std::vector::operator_index(RVar29); - EVar6 = *pEVar14; + pEVar27 = (EntityPtr *)std::vector::operator_index(EVar41); + EVar6 = *pEVar27; EStack_2b0 = EVar6; cVar5 = Entity::Exists((Entity *)EVar6); if (((((cVar5 == '\0') || (cVar5 = Entity::IsDead((Entity *)EVar6), cVar5 != '\0')) || @@ -544026,42 +544880,42 @@ LAB_007b6706: LAB_007b684f: uVar51 = 0x10; uVar7 = Entity::InitSeed((Entity *)EVar6); - RNG::game_constructor(aRStack_1fc,uVar7,uVar51); + RNG::game_constructor(&RStack_1fc,uVar7,uVar51); uStack_8 = CONCAT31(uStack_8._1_3_,10); if (9 < local_2a8) { local_29c = (EntityPtr)((local_2a8 - 5) / 5); local_2a8 = local_2a8 + (int)local_29c * -5; do { - uVar7 = RNG::Next(aRStack_1fc); - RNG::Next(aRStack_1fc); + uVar7 = RNG::Next(&RStack_1fc); + RNG::Next(&RStack_1fc); uVar30 = RandomVector(); - local_2d8 = (Level *)RNG::RandomFloat(aRStack_1fc); + local_2d8 = (Level *)RNG::RandomFloat(&RStack_1fc); Vector::operator_mul(uVar30); uStack_2c4 = CONCAT44(0x40a00000,(Entity *)uStack_2c4); uVar30 = Vector::__mul(auStack_374,(int)&uStack_2c4 + 4); - uVar27 = Entity::Position((Entity *)EStack_2b0,auStack_330); - Game::Spawn(5,0x14,uVar27,uVar30,0,2,uVar7); + uVar28 = Entity::Position((Entity *)EStack_2b0,auStack_330); + Game::Spawn(5,0x14,uVar28,uVar30,0,2,uVar7); local_29c = (EntityPtr)((int)local_29c - 1); } while (local_29c != (EntityPtr)0x0); local_29c = (EntityPtr)0x0; } if (0 < (int)local_2a8) { do { - uVar7 = RNG::Next(aRStack_1fc); - RNG::Next(aRStack_1fc); + uVar7 = RNG::Next(&RStack_1fc); + RNG::Next(&RStack_1fc); uVar30 = RandomVector(); - EStack_2ec = (EntityPtr)RNG::RandomFloat(aRStack_1fc); + EStack_2ec = (EntityPtr)RNG::RandomFloat(&RStack_1fc); Vector::operator_mul(uVar30); EStack_2c8 = (EntityPtr)0x40a00000; uVar30 = Vector::__mul(auStack_368,&EStack_2c8); - uVar27 = Entity::Position((Entity *)EStack_2b0,auStack_398); - Game::Spawn(5,0x14,uVar27,uVar30,0,1,uVar7); + uVar28 = Entity::Position((Entity *)EStack_2b0,auStack_398); + Game::Spawn(5,0x14,uVar28,uVar30,0,1,uVar7); local_2a8 = local_2a8 - 1; } while (local_2a8 != 0); } uVar30 = Random(); - uVar27 = Entity::Position((Entity *)EStack_2b0,auStack_344); - piVar32 = (int *)Game::Spawn(1000,0xf,uVar27,&g_vectorZero,0,0,uVar30); + uVar28 = Entity::Position((Entity *)EStack_2b0,auStack_344); + piVar32 = (int *)Game::Spawn(1000,0xf,uVar28,&g_vectorZero,0,0,uVar30); pcVar1 = *(code **)(*piVar32 + 0x3c); uVar30 = Color::Color(0x3f800000,0x40400000,0x4019999a,0x3f800000,0x3f800000,0,0,0); (*pcVar1)(uVar30,0xffffffff,0xff,0,1); @@ -544091,12 +544945,12 @@ LAB_007b684f: else if (uVar7 == 0x15e) goto LAB_007b6844; switchD_007b66d7_caseD_b: uVar7 = local_2ac; - local_2b8 = (EntityPtr)RVar29; + local_2b8 = EVar41; } - RVar29 = (RNG)((int)local_2b8 + 1); - local_2b8 = (EntityPtr)RVar29; - RVar15 = (RNG)EntityList::Size(); - } while ((uint)RVar29 < (uint)RVar15); + EVar41 = (EntityPtr)((int)local_2b8 + 1); + local_2b8 = EVar41; + EVar6 = (EntityPtr)EntityList::Size(); + } while ((uint)EVar41 < (uint)EVar6); if (uVar7 == 0) { EVar6 = local_298; goto LAB_007b6afb; @@ -544125,13 +544979,13 @@ switchD_007b66d7_caseD_b: } if ((EVar6 == (EntityPtr)0x3) || (EVar6 == (EntityPtr)0x5)) { Game::RerollLevelCollectibles(g_game); - UseActiveItem(this,(short *)&RStack_2f4.field_0x2,0x69,1,-1,0); + UseActiveItem(this,(short *)&EStack_2f4.field_0x2,0x69,1,-1,0); } if (EVar6 == (EntityPtr)0x4) { - Game::GetSeeds(g_game); + pSVar14 = (Seeds *)Game::GetSeeds(g_game); Config::GetCollectibles(); uVar30 = _get_index_plus_one_if_kind_4_5(); - Seeds::ForgetStageSeed(uVar30); + Seeds::ForgetStageSeed(pSVar14,uVar30); Game::StartStageTransition(g_game,1,0,0); } else if (EVar6 == (EntityPtr)0x5) { @@ -544182,8 +545036,8 @@ switchD_007b66d7_caseD_b: bVar4 = TemporaryEffects::HasNullEffect(&this->_temporaryeffects,0x43); if (bVar4 == 0) { play_sound_with_fart_seed(0x10a,2,0,0x3f800000); - pIVar18 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar18,10,3,(Entity_Player *)0x0); + pIVar17 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar17,10,3,(Entity_Player *)0x0); } TemporaryEffects::RemoveNullEffect(&this->_temporaryeffects,0x43,1); TemporaryEffects::AddNullEffect(&this->_temporaryeffects,0x43,1,1); @@ -544200,16 +545054,16 @@ switchD_007b66d7_caseD_b: local_2a8 = uVar7; local_2ac = Room::GetGridHeight((Room *)local_298); EStack_2c8 = (EntityPtr)(local_2ac * uVar7); - pEVar19 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar19); + pEVar18 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar18); uStack_8 = CONCAT31(uStack_8._1_3_,0xd); if (0 < (int)EStack_2c8) { uVar7 = 0; EVar6 = local_298; do { - uVar27 = 0; + uVar28 = 0; uVar30 = Room::GetGridPosition((Room *)EVar6,auStack_308,uVar7); - cVar5 = Room::IsPositionInRoom((Room *)EVar6,uVar30,uVar27); + cVar5 = Room::IsPositionInRoom((Room *)EVar6,uVar30,uVar28); if (cVar5 != '\0') { local_29c = (EntityPtr)Room::GetGridEntity((Room *)EVar6,uVar7); uVar51 = Room::GetGridCollision((Room *)EVar6,uVar7); @@ -544244,26 +545098,26 @@ LAB_007b6f0b: uVar7 = local_2a8; this = (Entity_Player *)local_2d0; } - RStack_2f4 = (RNG)(uVar7 - 1); + EStack_2f4 = (EntityPtr)(uVar7 - 1); local_29c = (EntityPtr)0x1; - if (1 < (int)RStack_2f4) { + if (1 < (int)EStack_2f4) { iVar36 = uVar7 - 1; uStack_2c4 = CONCAT44(local_2ac - 1,(Entity *)uStack_2c4); do { if (1 < (int)(local_2ac - 1)) { pcVar38 = acStack_1d4 + (int)local_29c; - pcVar16 = acStack_1d4 + (int)((int)local_29c + uVar7 * 2); + pcVar15 = acStack_1d4 + (int)((int)local_29c + uVar7 * 2); local_2d8 = (Level *)(-1 - uVar7); pcVar37 = pcVar38 + uVar7; local_2b8 = (EntityPtr)(1 - uVar7); iVar36 = local_2ac - 2; do { - if ((((*pcVar37 != '\0') && (uVar7 = local_2a8, pcVar16[(int)local_2b8] != '\0')) && - (pcVar16[(int)(local_2d8->_roomList + -1) + 0xa4] != '\0')) && - ((*pcVar16 != '\0' && (*pcVar38 != '\0')))) { + if ((((*pcVar37 != '\0') && (uVar7 = local_2a8, pcVar15[(int)local_2b8] != '\0')) && + (pcVar15[(int)(local_2d8->_roomList + -1) + 0xa4] != '\0')) && + ((*pcVar15 != '\0' && (*pcVar38 != '\0')))) { *pcVar37 = '2'; } - pcVar16 = pcVar16 + uVar7; + pcVar15 = pcVar15 + uVar7; pcVar38 = pcVar38 + uVar7; pcVar37 = pcVar37 + uVar7; iVar36 = iVar36 + -1; @@ -544295,9 +545149,12 @@ LAB_007b73c1: } while (iVar36 < (int)EVar6); this = (Entity_Player *)local_2d0; if (!bVar2) goto LAB_007b73c1; - iVar36 = WeightedOutcomePicker::PickOutcome - (aWStack_350,RStack_21c,uStack_218,uStack_214,uStack_210); - Room::GetGridPosition((Room *)local_298,auStack_308,iVar36); + rng._shift1 = RStack_21c._shift1; + rng._seed = RStack_21c._seed; + rng._shift2 = RStack_21c._shift2; + rng._shift3 = RStack_21c._shift3; + uVar7 = WeightedOutcomePicker::PickOutcome(aWStack_350,rng); + Room::GetGridPosition((Room *)local_298,auStack_308,uVar7); fVar46 = RNG::RandomFloat(&RStack_21c); local_29c = (EntityPtr)(fVar46 * 36.0 - 18.0); fVar46 = RNG::RandomFloat(&RStack_21c); @@ -544305,13 +545162,13 @@ LAB_007b73c1: uVar30 = Vector::Vector(); Vector::__add(auStack_314,uVar30); local_2b8 = (EntityPtr)0x0; - iVar17 = iVar36 % (int)local_2a8; - uStack_2c4 = CONCAT44(iVar36 / (int)local_2a8,(Entity *)uStack_2c4); - local_29c = (EntityPtr)(iVar17 + -2); + iVar36 = (int)uVar7 % (int)local_2a8; + uStack_2c4 = CONCAT44((int)uVar7 / (int)local_2a8,(Entity *)uStack_2c4); + local_29c = (EntityPtr)(iVar36 + -2); puVar25 = (undefined4 *)std::max(); pLVar20 = (Level *)*puVar25; - EStack_2e4 = (EntityPtr)(iVar17 + 2); - local_2b8 = (EntityPtr)RStack_2f4; + EStack_2e4 = (EntityPtr)(iVar36 + 2); + local_2b8 = EStack_2f4; local_2d8 = pLVar20; local_29c = EStack_2e4; piVar32 = (int *)std::min(); @@ -544329,7 +545186,7 @@ LAB_007b73c1: local_29c = EVar6; piVar32 = (int *)std::min(); if (iVar36 <= *piVar32) { - uVar7 = (int)local_2d8->_roomList + iVar36 * local_2a8 + -0x14; + uVar7 = (int)local_2d8->_roomList[0]._doors + iVar36 * local_2a8 + -0x30; do { if (acStack_1d4[uVar7] != '\0') { Room::GetGridPosition((Room *)local_298,auStack_358,uVar7); @@ -544365,7 +545222,7 @@ LAB_007b73c1: } local_29c = EStack_2e4; pLVar20 = (Level *)((int)&local_2d8->_stage + 1); - local_2b8 = (EntityPtr)RStack_2f4; + local_2b8 = EStack_2f4; local_2d8 = pLVar20; piVar32 = (int *)std::min(); } while ((int)pLVar20 <= *piVar32); @@ -544392,8 +545249,8 @@ LAB_007b73c1: piVar32 = (int *)FUN_005cbe00(iVar36); if (((char)piVar32[1] == '\0') && (0 < *piVar32)) { Config::GetCollectibles(); - iVar17 = FUN_005cbe00(iVar36); - local_29c = *(EntityPtr *)(iVar17 + 8); + iVar16 = FUN_005cbe00(iVar36); + local_29c = *(EntityPtr *)(iVar16 + 8); bVar4 = CanRerollCollectible(this,(int)local_29c,0); if (bVar4 != 0) { pIVar33 = (ItemConfig *)Isaac::GetItemConfig(); @@ -544413,10 +545270,10 @@ LAB_007b73c1: break; case 0x4a: Config::GetCollectibles(); - uVar27 = 1; + uVar28 = 1; uVar30 = 0x1d; LAB_007b34ad: - iVar36 = Level::QueryRoomTypeIndex(uVar30,0,EVar6,uVar27); + iVar36 = Level::QueryRoomTypeIndex(uVar30,0,EVar6,uVar28); if (-1 < iVar36) { Config::GetCollectibles(); FUN_00428ae0(0xffffffff); @@ -544427,8 +545284,8 @@ LAB_007b34ad: case 0x4b: bVar4 = TemporaryEffects::HasNullEffect(&this->_temporaryeffects,0x42); if (bVar4 == 0) { - pIVar18 = (ItemOverlay *)Game::GetItemOverlay(g_game); - ItemOverlay::Show(pIVar18,0x2b,0,(Entity_Player *)0x0); + pIVar17 = (ItemOverlay *)Game::GetItemOverlay(g_game); + ItemOverlay::Show(pIVar17,0x2b,0,(Entity_Player *)0x0); } TemporaryEffects::RemoveNullEffect(&this->_temporaryeffects,0x42,1); TemporaryEffects::AddNullEffect(&this->_temporaryeffects,0x42,1,1); @@ -544482,8 +545339,8 @@ LAB_007b31f0: pLVar20 = (Level *)Config::GetCollectibles(); Level::SetStateFlag(pLVar20,0xd,1); uVar30 = Random(); - uVar27 = GridEntity::Position((GridEntity *)local_29c,auStack_308); - piVar32 = (int *)Game::Spawn(1000,0xf,uVar27,&g_vectorZero,0,0,uVar30); + uVar28 = GridEntity::Position((GridEntity *)local_29c,auStack_308); + piVar32 = (int *)Game::Spawn(1000,0xf,uVar28,&g_vectorZero,0,0,uVar30); (**(code **)(*piVar32 + 0xc))(); } } @@ -544533,8 +545390,8 @@ LAB_007b31f0: break; case 0x51: Level::GetCurrentRoom(); - pEVar19 = (Entity_NPC *)FUN_00428a60(); - EntityList::QuerySublist(pEVar19); + pEVar18 = (Entity_NPC *)FUN_00428a60(); + EntityList::QuerySublist(pEVar18); uStack_8 = 0xf; EVar41 = (EntityPtr)0x0; local_29c = (EntityPtr)0x0; @@ -544548,27 +545405,27 @@ LAB_007b31f0: if (cVar5 == '\0') { iVar36 = Entity::SubType(pEVar9); if (iVar36 != 0) { - RVar29 = (RNG)FUN_00435e30(); - local_2b8 = (EntityPtr)RVar29; - if (((RVar29 != (RNG)0x0) && - ((iVar36 = Entity_Pickup::OptionsPickupIndex((Entity_Pickup *)RVar29), iVar36 == 0 - || (iVar36 = Entity_Pickup::Timeout((Entity_Pickup *)RVar29), iVar36 < 0)))) && - (bVar4 = Entity_Pickup::CanReroll((Entity_Pickup *)RVar29), bVar4 != 0)) { + EVar41 = (EntityPtr)FUN_00435e30(); + local_2b8 = EVar41; + if (((EVar41 != (EntityPtr)0x0) && + ((iVar36 = Entity_Pickup::OptionsPickupIndex((Entity_Pickup *)EVar41), iVar36 == 0 + || (iVar36 = Entity_Pickup::Timeout((Entity_Pickup *)EVar41), iVar36 < 0)))) && + (bVar4 = Entity_Pickup::CanReroll((Entity_Pickup *)EVar41), bVar4 != 0)) { pRVar22 = (Room *)Level::GetCurrentRoom((Level *)g_game); uVar7 = RNG::Next((RNG *)EVar6); iVar36 = Room::GetSeededCollectible(pRVar22,uVar7,0); FUN_006daca0(iVar36); uVar30 = Random(); - uVar27 = Entity::Position((Entity *)local_2b8,auStack_308); - piVar32 = (int *)Game::Spawn(1000,0xf,uVar27,&g_vectorZero,0,0,uVar30); + uVar28 = Entity::Position((Entity *)local_2b8,auStack_308); + piVar32 = (int *)Game::Spawn(1000,0xf,uVar28,&g_vectorZero,0,0,uVar30); (**(code **)(*piVar32 + 0xc))(); } } } local_29c = (EntityPtr)((int)local_29c + 1); - RVar29 = (RNG)EntityList::Size(); + EVar19 = (EntityPtr)EntityList::Size(); EVar41 = local_29c; - } while ((uint)local_29c < (uint)RVar29); + } while ((uint)local_29c < (uint)EVar19); this = (Entity_Player *)local_2d0; } uStack_8 = 0xffffffff; @@ -544723,7 +545580,7 @@ LAB_007b31f0: uStack_8 = 0x11; pIVar35 = (ItemPool *)Game::GetItemPool(g_game); pIVar24 = ItemPool::GetPool(pIVar35,0x1c); - EStack_2b0 = (EntityPtr)&pIVar24->field_0x4; + EStack_2b0 = (EntityPtr)&pIVar24->_poolList; EStack_2c8 = (EntityPtr)0x0; iVar36 = FUN_00414410(); if (iVar36 != 0) { @@ -544763,11 +545620,11 @@ LAB_007b81fb: if (cVar5 == '\0') { uVar7 = std::vector::size(); uVar7 = RNG::RandomInt((RNG *)EVar6,uVar7); - pRVar39 = (RNG *)FUN_0042c810(uVar7); - RVar29 = *pRVar39; - local_29c = (EntityPtr)RVar29; + pEVar27 = (EntityPtr *)FUN_0042c810(uVar7); + EVar6 = *pEVar27; + local_29c = EVar6; pIVar33 = (ItemConfig *)Isaac::GetItemConfig(); - pIVar34 = ItemConfig::GetCollectible(pIVar33,(int)RVar29); + pIVar34 = ItemConfig::GetCollectible(pIVar33,(int)EVar6); if ((useFlag & 0x800) == 0) { this_02 = (HUD *)Game::GetHUD(g_game); HUD::ShowItemText(this_02,this,pIVar34); @@ -544805,13 +545662,13 @@ LAB_007b81fb: do { uVar30 = Random(); uVar7 = RNG::RandomInt((RNG *)EVar6,5); - uVar27 = MusicManager::RandomVector(auStack_308); - uVar27 = Vector::__add(auStack_300,uVar27); + uVar28 = MusicManager::RandomVector(auStack_308); + uVar28 = Vector::__add(auStack_300,uVar28); this = (Entity_Player *)local_2d0; - piVar32 = (int *)Game::Spawn(3,0x2b,uVar27,&g_vectorZero,local_2d0,uVar7 + 1,uVar30); + piVar32 = (int *)Game::Spawn(3,0x2b,uVar28,&g_vectorZero,local_2d0,uVar7 + 1,uVar30); (**(code **)(*piVar32 + 0xc))(); - RVar29 = (RNG)((int)local_29c + 1); - local_29c = (EntityPtr)RVar29; + EVar41 = (EntityPtr)((int)local_29c + 1); + local_29c = EVar41; Game::GetField26614(); cVar5 = FUN_00429550(); iVar36 = 0xf; @@ -544819,23 +545676,23 @@ LAB_007b81fb: iVar36 = 10; } EVar6 = local_298; - } while ((int)RVar29 < iVar36); + } while ((int)EVar41 < iVar36); break; case 0x5f: - pPVar28 = (PlayerManager *)Game::GetPlayerManager(); - RVar29 = (RNG)PlayerManager::SpawnCoPlayer2(pPVar28,0x10); - local_29c = (EntityPtr)RVar29; - SetControllerIndex((Entity_Player *)RVar29,this->_controllerIndex,0); - Entity::SetParent((Entity *)RVar29,this); + pPVar29 = (PlayerManager *)Game::GetPlayerManager(); + EVar6 = (EntityPtr)PlayerManager::SpawnCoPlayer2(pPVar29,0x10); + local_29c = EVar6; + SetControllerIndex((Entity_Player *)EVar6,this->_controllerIndex,0); + Entity::SetParent((Entity *)EVar6,this); uVar30 = Vector::Vector(); uVar30 = Vector::__add(auStack_300,uVar30); - Entity::SetPosition((Entity *)RVar29,uVar30); - pTVar31 = (TemporaryEffects *)GetEffects((Entity_Player *)RVar29); + Entity::SetPosition((Entity *)EVar6,uVar30); + pTVar31 = (TemporaryEffects *)GetEffects((Entity_Player *)EVar6); TemporaryEffects::AddNullEffect(pTVar31,0x78,1,1); - init_forgotten_twin((Entity_Player *)RVar29); - InitPostLevelInitStats((Entity_Player *)RVar29); - AddBoneHearts((Entity_Player *)RVar29,1); - AddHearts((Entity_Player *)RVar29,2,1,0); + init_forgotten_twin((Entity_Player *)EVar6); + InitPostLevelInitStats((Entity_Player *)EVar6); + AddBoneHearts((Entity_Player *)EVar6,1); + AddHearts((Entity_Player *)EVar6,2,1,0); uVar30 = Random(); puVar26 = auStack_440; goto LAB_007b850e; @@ -544866,20 +545723,20 @@ LAB_007b81fb: SoundEffects::PlayWithFartOverride2(0x1d7,&this->_pos,2,0,0x3f800000); break; case 0x61: - pPVar28 = (PlayerManager *)Game::GetPlayerManager(); - RVar29 = (RNG)PlayerManager::SpawnCoPlayer2(pPVar28,0x14); - local_29c = (EntityPtr)RVar29; - SetControllerIndex((Entity_Player *)RVar29,this->_controllerIndex,0); - Entity::SetParent((Entity *)RVar29,this); + pPVar29 = (PlayerManager *)Game::GetPlayerManager(); + EVar6 = (EntityPtr)PlayerManager::SpawnCoPlayer2(pPVar29,0x14); + local_29c = EVar6; + SetControllerIndex((Entity_Player *)EVar6,this->_controllerIndex,0); + Entity::SetParent((Entity *)EVar6,this); uVar30 = Vector::Vector(); uVar30 = Vector::__add(auStack_308,uVar30); - Entity::SetPosition((Entity *)RVar29,uVar30); - pTVar31 = (TemporaryEffects *)GetEffects((Entity_Player *)RVar29); + Entity::SetPosition((Entity *)EVar6,uVar30); + pTVar31 = (TemporaryEffects *)GetEffects((Entity_Player *)EVar6); TemporaryEffects::AddNullEffect(pTVar31,0x79,1,1); - init_forgotten_twin((Entity_Player *)RVar29); - InitPostLevelInitStats((Entity_Player *)RVar29); + init_forgotten_twin((Entity_Player *)EVar6); + InitPostLevelInitStats((Entity_Player *)EVar6); uVar30 = FUN_005cbd00(0x2bf); - EStack_2c8 = (EntityPtr)((int)RVar29 + 0x1dec); + EStack_2c8 = (EntityPtr)((int)EVar6 + 0x1dec); uStack_2c4 = CONCAT44(uVar30,(Entity *)uStack_2c4); FUN_005b16f0(1); local_2d8 = (Level *)Config::GetCollectibles(); @@ -544903,9 +545760,9 @@ LAB_007b81fb: piVar32 = (int *)EntityPtr::Ref(); EStack_254._spawnerVariant = *piVar32; EStack_254._position.x = (float)piVar32[1]; - EStack_254._24_4_ = piVar32[3]; - EStack_254._28_4_ = piVar32[4]; - EStack_254._32_4_ = piVar32[5]; + EStack_254._velocity.x = (float)piVar32[3]; + EStack_254._velocity.y = (float)piVar32[4]; + EStack_254._flags = piVar32[5]; EStack_254._entity = (void *)piVar32[6]; uStack_8 = 0x12; EStack_254._position.y = 0.0; @@ -544948,8 +545805,8 @@ LAB_007b8881: puVar26 = auStack_488; LAB_007b850e: pvVar42 = *(void **)((int)this + 0x1d9c); - uVar27 = Entity::Position((Entity *)local_29c,puVar26); - piVar32 = (int *)Game::Spawn(1000,0xf,uVar27,&g_vectorZero,pvVar42,0,uVar30); + uVar28 = Entity::Position((Entity *)local_29c,puVar26); + piVar32 = (int *)Game::Spawn(1000,0xf,uVar28,&g_vectorZero,pvVar42,0,uVar30); (**(code **)(*piVar32 + 0xc))(); this = (Entity_Player *)local_2d0; break; @@ -545257,12 +546114,12 @@ void Entity_Player::update_footprints(void) KAGE_Graphics::SetRenderTarget(local_74,0); local_8 = 0xffffffff; FUN_0041c710(); - uVar9 = DAT_00c79910; + iVar11 = g_graphicsManager_blendMode[4]; local_84 = g_graphicsManager_blendMode[0]; iStack_80 = g_graphicsManager_blendMode[1]; piStack_7c = (int *)g_graphicsManager_blendMode[2]; fStack_78 = (float)g_graphicsManager_blendMode[3]; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[1] = 0; g_graphicsManager_blendMode[2] = 7; @@ -545307,7 +546164,7 @@ void Entity_Player::update_footprints(void) g_graphicsManager_blendMode[1] = iStack_80; g_graphicsManager_blendMode[2] = (int)piStack_7c; g_graphicsManager_blendMode[3] = (int)fStack_78; - DAT_00c79910 = uVar9; + g_graphicsManager_blendMode[4] = iVar11; shader_cache_find(); } } @@ -545461,7 +546318,7 @@ void FUN_007b9aa0(void) Room::GetGridCollisionAtPos / FindFreePickupSpawnPosition, Entity_Player::Teleport; called from Entity_Player::Update */ -void Entity_Player::update_pitfall(void) +void __thiscall Entity_Player::update_pitfall(Entity_Player *this) { void *pvVar1; @@ -545475,7 +546332,6 @@ void Entity_Player::update_pitfall(void) undefined4 uVar9; int iVar10; float *pfVar11; - Entity_Player *in_ECX; char *pcVar12; Entity_Player *extraout_ECX; undefined4 extraout_ECX_00; @@ -545485,16 +546341,16 @@ void Entity_Player::update_pitfall(void) undefined1 auStack_40 [8]; undefined1 auStack_38 [52]; - iVar10 = in_ECX->_pitfallState; + iVar10 = this->_pitfallState; if (iVar10 != 0) { if (*(int *)&g_game->_roomTransition == 0) { - if (in_ECX->_dead != 0) { + if (this->_dead != 0) { return; } - pcVar12 = (char *)in_ECX; - if (((in_ECX->_sprite)._animState._animData != (void *)0x0) && - ((in_ECX->_sprite)._animState._isPlaying == 0)) { - pbVar7 = (in_ECX->_sprite)._animState._animData; + pcVar12 = (char *)this; + if (((this->_sprite)._animState._animData != (void *)0x0) && + ((this->_sprite)._animState._isPlaying == 0)) { + pbVar7 = (this->_sprite)._animState._animData; if (0xf < *(uint *)(pbVar7 + 0x14)) { pbVar7 = *(byte **)pbVar7; } @@ -545517,26 +546373,26 @@ LAB_007b9bd8: uVar8 = 0; LAB_007b9bdd: if ((uVar8 == 0) && (iVar10 == 1)) { - in_ECX->_pitfallState = 2; + this->_pitfallState = 2; uVar9 = EntityRef::EntityRef(); - (**(code **)(*(int *)in_ECX + 0x20))(0x3f800000,0x80000,0,uVar9,0x1e); + (**(code **)(*(int *)this + 0x20))(0x3f800000,0x80000,0,uVar9,0x1e); pcVar12 = (char *)extraout_ECX; } } - if (((in_ECX->_pitfallState != 4) && (in_ECX->_pitfallState == 2)) && - (in_ECX->_pitfallTimer = in_ECX->_pitfallTimer + 1, 0x27 < in_ECX->_pitfallTimer)) { - bVar3 = input_is_action_pressed(0,in_ECX->_controllerIndex,in_ECX,pcVar12); - bVar4 = input_is_action_pressed(1,in_ECX->_controllerIndex,in_ECX,extraout_ECX_00); - cVar5 = input_is_action_pressed(2,in_ECX->_controllerIndex,in_ECX,bVar3 | bVar4); - cVar6 = input_is_action_pressed(3,in_ECX->_controllerIndex,in_ECX,extraout_ECX_01); + if (((this->_pitfallState != 4) && (this->_pitfallState == 2)) && + (this->_pitfallTimer = this->_pitfallTimer + 1, 0x27 < this->_pitfallTimer)) { + bVar3 = input_is_action_pressed(0,this->_controllerIndex,this,pcVar12); + bVar4 = input_is_action_pressed(1,this->_controllerIndex,this,extraout_ECX_00); + cVar5 = input_is_action_pressed(2,this->_controllerIndex,this,bVar3 | bVar4); + cVar6 = input_is_action_pressed(3,this->_controllerIndex,this,extraout_ECX_01); if ((cVar6 != '\0' || ((bVar3 | bVar4) != 0 || cVar5 != '\0')) || - (0x77 < in_ECX->_pitfallTimer)) { - VStack_48.x = (in_ECX->_pos).x; - VStack_48.y = (in_ECX->_pos).y; + (0x77 < this->_pitfallTimer)) { + VStack_48.x = (this->_pos).x; + VStack_48.y = (this->_pos).y; iVar10 = Room::GetGridCollisionAtPos(VStack_48.x,VStack_48.y); if (iVar10 < 1) { - in_ECX->_pitfallState = 3; - PlayExtraAnimation(); + this->_pitfallState = 3; + PlayExtraAnimation(this,"JumpOut"); } else { Room::FindFreePickupSpawnPosition(&VStack_48,&VStack_48,0,1,0,0); @@ -545550,22 +546406,22 @@ LAB_007b9bdd: VStack_48.x = *pfVar11; VStack_48.y = pfVar11[1]; } - Teleport(in_ECX,&VStack_48,0,0); - in_ECX->_pitfallState = 3; - PlayExtraAnimation(); - Sprite::SetLastFrame((Sprite *)&in_ECX->_sprite); + Teleport(this,&VStack_48,0,0); + this->_pitfallState = 3; + PlayExtraAnimation(this,"JumpOut"); + Sprite::SetLastFrame((Sprite *)&this->_sprite); } - in_ECX->_damageCooldown = 0x78; + this->_damageCooldown = 0x78; } } - if ((in_ECX->_pitfallState == 3) && - (((in_ECX->_sprite)._animState._animData == (void *)0x0 || - ((in_ECX->_sprite)._animState._isPlaying == 0)))) { - in_ECX->_isPlayingExtraAnimation = 0; - in_ECX->_pitfallTimer = 0; - in_ECX->_pitfallState = 0; - in_ECX->_isControlsEnabled = 1; - in_ECX->_entityCollisionClass = 4; + if ((this->_pitfallState == 3) && + (((this->_sprite)._animState._animData == (void *)0x0 || + ((this->_sprite)._animState._isPlaying == 0)))) { + this->_isPlayingExtraAnimation = 0; + this->_pitfallTimer = 0; + this->_pitfallState = 0; + this->_isControlsEnabled = 1; + this->_entityCollisionClass = 4; return; } } @@ -545577,7 +546433,7 @@ LAB_007b9bdd: return; } } - in_ECX->_isPlayingExtraAnimation = 1; + this->_isPlayingExtraAnimation = 1; } return; } @@ -546761,13 +547617,11 @@ void Entity_Player::Init(void) Manager *local_58; uint local_54; uint local_50; - RNG RStack_4c; + void *pvStack_4c; RNG local_48; - undefined8 local_44; - undefined4 local_3c; uint local_38; int *local_34; - RNG local_30; + void *local_30; uint local_2c [4]; undefined4 local_1c; uint local_18; @@ -546783,9 +547637,10 @@ void Entity_Player::Init(void) ExceptionList = &local_10; local_5c = in_ECX->_initSeed; iVar10 = in_ECX->_playerType; - local_44 = 0x500000001; + local_48._shift1 = 1; + local_48._shift2 = 5; local_38 = 0x13; - local_3c = 0x13; + local_48._shift3 = 0x13; if (((iVar10 < 0) || (iVar10 = in_ECX->_playerType, ((int)(g_manager->_entityConfig)._players._end - @@ -546853,21 +547708,20 @@ void Entity_Player::Init(void) if (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) { iVar10 = *(int *)&in_ECX->field_0x1e50; if (iVar10 == 0) { - RStack_4c = (RNG)0x0; + pvStack_4c = (void *)0x0; local_50 = 0; } else { local_50 = *(uint *)(iVar10 + 8); - RStack_4c = *(RNG *)(iVar10 + 0xc); + pvStack_4c = *(void **)(iVar10 + 0xc); } - local_34 = (int *)&g_manager[1].field_0x1064; + local_34 = (int *)&g_manager[1]._gamestate.field_0xc0; local_54 = local_50; - local_30 = RStack_4c; + local_30 = pvStack_4c; FUN_00731ee0(local_68,&local_50); - if (((*(char *)((int)local_60 + 0xd) == '\0') && - ((uint)*(RNG *)((int)local_60 + 0x14) <= (uint)local_30)) && - (((uint)*(RNG *)((int)local_60 + 0x14) < (uint)local_30 || - (*(uint *)((int)local_60 + 0x10) <= local_54)))) { + if (((*(char *)((int)local_60 + 0xd) == '\0') && (*(void **)((int)local_60 + 0x14) <= local_30)) + && ((*(void **)((int)local_60 + 0x14) < local_30 || + (*(uint *)((int)local_60 + 0x10) <= local_54)))) { pvVar5 = local_60; } else { @@ -546984,73 +547838,73 @@ LAB_007bbfd5: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = local_5c >> ((byte)local_44 & 0x1f) ^ local_5c; - uVar7 = uVar7 << ((byte)((ulonglong)local_44 >> 0x20) & 0x1f) ^ uVar7; - local_48 = (RNG)(uVar7 >> ((byte)local_38 & 0x1f) ^ uVar7); - iVar10 = ((uint)local_48 & 3) * 2; + uVar7 = local_5c >> ((byte)local_48._shift1 & 0x1f) ^ local_5c; + uVar7 = uVar7 << ((byte)local_48._shift2 & 0x1f) ^ uVar7; + local_48._seed = uVar7 >> ((byte)local_38 & 0x1f) ^ uVar7; + iVar10 = (local_48._seed & 3U) * 2; in_ECX->_maxHearts = iVar10; in_ECX->_redHearts = iVar10; - uVar7 = RNG::RandomInt(&local_48,4 - ((uint)local_48 & 3)); + uVar7 = RNG::RandomInt(&local_48,4 - (local_48._seed & 3U)); in_ECX->_soulHearts = uVar7 * 2; if ((in_ECX->_redHearts == 0) && ((int)(uVar7 * 2) < 3)) { in_ECX->_soulHearts = 4; } - if (local_48 == (RNG)0x0) { + if ((void *)local_48._seed == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - bVar4 = (byte)local_44; - uVar7 = (uint)local_48 >> (bVar4 & 0x1f) ^ (uint)local_48; - bVar8 = (byte)((ulonglong)local_44 >> 0x20); + bVar4 = (byte)local_48._shift1; + uVar7 = (uint)local_48._seed >> (bVar4 & 0x1f) ^ local_48._seed; + bVar8 = (byte)local_48._shift2; uVar7 = uVar7 << (bVar8 & 0x1f) ^ uVar7; - bVar9 = (byte)local_3c; - local_30 = (RNG)(uVar7 >> (bVar9 & 0x1f) ^ uVar7); - if (local_30 != (RNG)(((uint)local_30 / 3) * 3)) { - if (local_30 == (RNG)0x0) { + bVar9 = (byte)local_48._shift3; + local_30 = (void *)(uVar7 >> (bVar9 & 0x1f) ^ uVar7); + if (local_30 != (void *)(((uint)local_30 / 3) * 3)) { + if (local_30 == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar7 = (uint)local_30 >> (bVar4 & 0x1f) ^ (uint)local_30; uVar7 = uVar7 << (bVar8 & 0x1f) ^ uVar7; - local_30 = (RNG)(uVar7 >> (bVar9 & 0x1f) ^ uVar7); + local_30 = (void *)(uVar7 >> (bVar9 & 0x1f) ^ uVar7); if (((uint)local_30 & 1) != 0) { - if (local_30 == (RNG)0x0) { + if (local_30 == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar7 = (uint)local_30 >> (bVar4 & 0x1f) ^ (uint)local_30; uVar7 = uVar7 << (bVar8 & 0x1f) ^ uVar7; - local_48 = (RNG)(uVar7 >> (bVar9 & 0x1f) ^ uVar7); - local_30 = local_48; - if ((uint)local_48 % 3 == 0) { - if (local_48 == (RNG)0x0) { + local_48._seed = uVar7 >> (bVar9 & 0x1f) ^ uVar7; + local_30 = (void *)local_48._seed; + if ((uint)local_48._seed % 3 == 0) { + if ((void *)local_48._seed == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_48 >> (bVar4 & 0x1f) ^ (uint)local_48; + uVar7 = (uint)local_48._seed >> (bVar4 & 0x1f) ^ local_48._seed; uVar7 = uVar7 << (bVar8 & 0x1f) ^ uVar7; - local_30 = (RNG)(uVar7 >> (bVar9 & 0x1f) ^ uVar7); + local_30 = (void *)(uVar7 >> (bVar9 & 0x1f) ^ uVar7); in_ECX->_numCoins = (uint)local_30 % 5 + 1; } - else if ((uint)local_48 % 3 == 1) { + else if ((uint)local_48._seed % 3 == 1) { in_ECX->_numKeys = 1; } else { uVar7 = RNG::RandomInt(&local_48,2); in_ECX->_numBombs = uVar7 + 1; - local_30 = local_48; + local_30 = (void *)local_48._seed; } } } - if (local_30 == (RNG)0x0) { + if (local_30 == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - bVar4 = (byte)local_44; + bVar4 = (byte)local_48._shift1; local_38 = (uint)local_30 >> (bVar4 & 0x1f) ^ (uint)local_30; - bVar8 = (byte)((ulonglong)local_44 >> 0x20); + bVar8 = (byte)local_48._shift2; local_38 = local_38 << (bVar8 & 0x1f) ^ local_38; - bVar9 = (byte)local_3c; + bVar9 = (byte)local_48._shift3; local_38 = local_38 >> (bVar9 & 0x1f) ^ local_38; fVar14 = (float)((double)(int)local_38 + __uint_to_double_fixup[-((int)local_38 >> 0x1f)]) * 2.3283062e-10; @@ -547108,14 +547962,14 @@ LAB_007bbfd5: } local_38 = g_game->_challenge; if (local_38 != 0) { - pvVar5 = (g_manager->_challengeParams)._begin; - uVar12 = ((int)(g_manager->_challengeParams)._end - (int)pvVar5) / 0xa4 - 1; + local_30 = (g_manager->_challengeParams)._begin; + uVar12 = ((int)(g_manager->_challengeParams)._end - (int)local_30) / 0xa4 - 1; uVar7 = local_38; if (uVar12 <= local_38) { uVar7 = uVar12; } - iVar10 = *(int *)(uVar7 * 0xa4 + 0x60 + (int)pvVar5); - local_30 = (RNG)(uVar7 * 0xa4 + (int)pvVar5); + iVar10 = *(int *)(uVar7 * 0xa4 + 0x60 + (int)local_30); + local_30 = (void *)(uVar7 * 0xa4 + (int)local_30); if (iVar10 != 0) { AddMaxHearts(in_ECX,iVar10,0); } @@ -547169,35 +548023,34 @@ void __thiscall Entity_Player::InitPostLevelInitStats(Entity_Player *this) { EntityPtr EVar1; undefined4 *puVar2; - RNG RVar3; - Manager *pMVar4; - int *piVar5; - byte bVar6; - char cVar7; - uint uVar8; - PersistentGameData *pPVar9; - Entity_Player *pEVar10; - int iVar11; - uint uVar12; - ItemConfig_Item *pIVar13; - undefined4 uVar14; - int *piVar15; - byte bVar16; - byte bVar17; - undefined4 uVar18; + Manager *pMVar3; + int *piVar4; + byte bVar5; + char cVar6; + uint uVar7; + PersistentGameData *pPVar8; + Entity_Player *pEVar9; + int iVar10; + ItemConfig_Item *pIVar11; + undefined4 uVar12; + int *piVar13; + byte bVar14; + byte bVar15; + undefined4 uVar16; undefined4 extraout_ECX; - void *pvVar19; + void *pvVar17; Game *extraout_EDX; Game *extraout_EDX_00; Game *extraout_EDX_01; - Game *pGVar20; + Game *pGVar18; Game *extraout_EDX_02; + uint uVar19; + uint uVar20; void *pvVar21; EntityPtr EVar22; int *piVar23; - RNG RVar24; - int iVar25; - ChallengeParam *pCVar26; + int iVar24; + ChallengeParam *pCVar25; undefined1 local_120 [8]; int local_118; undefined1 local_114 [8]; @@ -547215,12 +548068,10 @@ void __thiscall Entity_Player::InitPostLevelInitStats(Entity_Player *this) uint local_d4; ChallengeParam *local_d0; RNG local_cc; - undefined8 local_c8; - undefined4 local_c0; uint local_bc; ChallengeParam *pCStack_b8; ItemConfig *local_b4; - undefined4 local_b0; + int local_b0; uint local_ac; uint uStack_a8; PersistentGameData *local_a4; @@ -547228,7 +548079,7 @@ void __thiscall Entity_Player::InitPostLevelInitStats(Entity_Player *this) undefined4 local_9c; undefined4 local_98; PersistentGameData *local_94; - RNG local_90; + uint local_90; EntityPtr local_8c; undefined4 local_88; int *local_84; @@ -547241,8 +548092,7 @@ void __thiscall Entity_Player::InitPostLevelInitStats(Entity_Player *this) undefined4 uStack_5c; undefined4 uStack_58; undefined4 uStack_54; - int local_44 [4]; - RNG local_34; + int local_44 [5]; undefined8 local_30; int local_28; uint local_24 [5]; @@ -547250,23 +548100,24 @@ void __thiscall Entity_Player::InitPostLevelInitStats(Entity_Player *this) undefined1 *puStack_c; uint local_8; - pGVar20 = g_game; + pGVar18 = g_game; local_8 = 0xffffffff; puStack_c = &LAB_00affeb0; local_10 = ExceptionList; - uVar8 = __security_cookie ^ (uint)(local_24 + 8); + uVar7 = __security_cookie ^ (uint)(local_24 + 8); ExceptionList = &local_10; - RVar24 = (RNG)this->_initSeed; - local_c8 = 0x500000001; + uVar19 = this->_initSeed; + local_cc._shift1 = 1; + local_cc._shift2 = 5; local_b0 = 0x13; - local_c0 = 0x13; - local_cc = RVar24; - local_90 = RVar24; + local_cc._shift3 = 0x13; + local_cc._seed = uVar19; + local_90 = uVar19; local_8c = (EntityPtr)this; - local_24[4] = uVar8; + local_24[4] = uVar7; local_d0 = Game::GetChallengeParams(g_game); EVar22 = local_8c; - pMVar4 = g_manager; + pMVar3 = g_manager; uStack_a8 = *(int *)((int)local_8c + 0x13c0); if ((((int)uStack_a8 < 0) || (((int)(g_manager->_entityConfig)._players._end - @@ -547278,11 +548129,11 @@ void __thiscall Entity_Player::InitPostLevelInitStats(Entity_Player *this) /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Could not load config for player type %d\n",uStack_a8); } - pCStack_b8 = (ChallengeParam *)pGVar20->_frameCount; + pCStack_b8 = (ChallengeParam *)pGVar18->_frameCount; local_94 = &g_manager->_persistentGameData; if (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) { - iVar25 = *(int *)((int)local_8c + 0x1e50); - if (iVar25 == 0) { + iVar24 = *(int *)((int)local_8c + 0x1e50); + if (iVar24 == 0) { local_dc = 0; local_dc._4_4_ = (ItemConfig *)0x0; local_dc._0_4_ = 0; @@ -547290,8 +548141,8 @@ void __thiscall Entity_Player::InitPostLevelInitStats(Entity_Player *this) local_100 = (uint)local_dc; } else { - local_fc = *(ItemConfig **)(iVar25 + 0xc); - local_100 = *(uint *)(iVar25 + 8); + local_fc = *(ItemConfig **)(iVar24 + 0xc); + local_100 = *(uint *)(iVar24 + 8); } local_b4 = local_fc; uStack_a8 = local_100; @@ -547299,90 +548150,90 @@ void __thiscall Entity_Player::InitPostLevelInitStats(Entity_Player *this) if ((((*(char *)(local_10c + 0xd) != '\0') || (local_b4 < *(undefined1 **)(local_10c + 0x14))) || ((local_b4 <= *(undefined1 **)(local_10c + 0x14) && (uStack_a8 < *(uint *)(local_10c + 0x10))))) || - ((local_10c == *(int *)&pMVar4[1].field_0x1064 || - (pPVar9 = (PersistentGameData *)FUN_00914150(&local_100), - pPVar9 == (PersistentGameData *)0x0)))) { - iVar25 = *(int *)((int)EVar22 + 0x1e50); - if (iVar25 == 0) { + ((local_10c == *(int *)&pMVar3[1]._gamestate.field_0xc0 || + (pPVar8 = (PersistentGameData *)FUN_00914150(&local_100), + pPVar8 == (PersistentGameData *)0x0)))) { + iVar24 = *(int *)((int)EVar22 + 0x1e50); + if (iVar24 == 0) { local_dc = 0; local_dc._4_4_ = (ItemConfig *)0x0; local_dc._0_4_ = 0; - uVar14 = local_dc._4_4_; - uVar18 = (uint)local_dc; + uVar12 = local_dc._4_4_; + uVar16 = (uint)local_dc; } else { - uVar14 = *(undefined4 *)(iVar25 + 0xc); - uVar18 = *(undefined4 *)(iVar25 + 8); + uVar12 = *(undefined4 *)(iVar24 + 0xc); + uVar16 = *(undefined4 *)(iVar24 + 8); } /* WARNING: Subroutine does not return */ KAGE_LogMessage(4, "Entity_Player::InitPostLevelInitStats -> Failed to find save data for player %llu, this will incorrectly use the local save data for this player!\n" - ,uVar18,uVar14,uVar8); + ,uVar16,uVar12,uVar7); } - pGVar20 = g_game; - local_94 = pPVar9; + pGVar18 = g_game; + local_94 = pPVar8; } - pMVar4 = g_manager; - bVar6 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)((int)local_8c + 0x1508),0x29b) + pMVar3 = g_manager; + bVar5 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)((int)local_8c + 0x1508),0x29b) ; EVar22 = local_8c; - if (bVar6 != 0) { + if (bVar5 != 0) { EvaluateItems(); - pEVar10 = Game::GetPlayer(g_game,0); - ConsumableCountChanged(pEVar10,-1); + pEVar9 = Game::GetPlayer(g_game,0); + ConsumableCountChanged(pEVar9,-1); goto LAB_007bea6e; } - iVar25 = *(int *)(local_a4->_achievements + 0x90); - if (iVar25 == 0) { - iVar25 = *(int *)(local_a4->_achievements + 0x94); - if (iVar25 == 0) { + iVar24 = *(int *)(local_a4->_achievements + 0x90); + if (iVar24 == 0) { + iVar24 = *(int *)(local_a4->_achievements + 0x94); + if (iVar24 == 0) { if (*(int *)((int)local_8c + 0x13c0) == 1) { if ((local_94->_achievements[0x14c] != 0) || - (((pMVar4->_state == 2 && (pGVar20 != (Game *)0x0)) && - (((pGVar20->_dailyChallenge)._id != 0 || (pGVar20->_isDebug != 0)))))) { - uVar8 = ItemPool::ForceAddPillEffect(&pGVar20->_itemPool,5); - uVar12 = 0; + (((pMVar3->_state == 2 && (pGVar18 != (Game *)0x0)) && + (((pGVar18->_dailyChallenge)._id != 0 || (pGVar18->_isDebug != 0)))))) { + uVar7 = ItemPool::ForceAddPillEffect(&pGVar18->_itemPool,5); + uVar20 = 0; do { uStack_a8 = ItemPool::ForceAddPillEffect(&g_game->_itemPool,7); - if ((uVar8 != uStack_a8) || - (uVar8 = ItemPool::ForceAddPillEffect(&g_game->_itemPool,5), uVar8 != uStack_a8)) + if ((uVar7 != uStack_a8) || + (uVar7 = ItemPool::ForceAddPillEffect(&g_game->_itemPool,5), uVar7 != uStack_a8)) break; - uVar12 = uVar12 + 1; - } while (uVar12 < 10); - AddPocketItem((Entity_Player *)local_8c,uVar8,0); - uVar12 = -(uint)((uVar8 & 0x7ff) != 0) & uVar8 & 0x7ff; - uVar8 = 0xe; - if (uVar12 < 0xe) { - uVar8 = uVar12; + uVar20 = uVar20 + 1; + } while (uVar20 < 10); + AddPocketItem((Entity_Player *)local_8c,uVar7,0); + uVar20 = -(uint)((uVar7 & 0x7ff) != 0) & uVar7 & 0x7ff; + uVar7 = 0xe; + if (uVar20 < 0xe) { + uVar7 = uVar20; } - *(undefined1 *)((int)(&g_game->_itemPool + 1) + uVar8 + 0x3c) = 1; + *(undefined1 *)((int)(&g_game->_itemPool + 1) + uVar7 + 0x3c) = 1; } EVar22 = local_8c; } } else { - if (iVar25 < 1) { - iVar25 = ItemPool::GetPill(*(undefined4 *)((int)local_8c + 0x3ec)); + if (iVar24 < 1) { + iVar24 = ItemPool::GetPill(*(undefined4 *)((int)local_8c + 0x3ec)); } - AddPocketItem((Entity_Player *)EVar22,iVar25,0); + AddPocketItem((Entity_Player *)EVar22,iVar24,0); } } - else if (iVar25 < 1) { - iVar25 = *(int *)((int)local_8c + 0x3ec); - iVar11 = ItemPool::GetCardEx(iVar25,0x19,10,10,1); + else if (iVar24 < 1) { + iVar24 = *(int *)((int)local_8c + 0x3ec); + iVar10 = ItemPool::GetCardEx(iVar24,0x19,10,10,1); local_44[1] = 5; local_44[2] = 9; local_44[3] = 7; - local_44[0] = iVar25; - iVar25 = lua_callback_run_get_card(local_44,iVar11,1,1,0); - AddPocketItem((Entity_Player *)EVar22,iVar25,1); - RVar24 = local_90; + local_44[0] = iVar24; + iVar24 = lua_callback_run_get_card(local_44,iVar10,1,1,0); + AddPocketItem((Entity_Player *)EVar22,iVar24,1); + uVar19 = local_90; } else { - AddPocketItem((Entity_Player *)local_8c,iVar25,1); + AddPocketItem((Entity_Player *)local_8c,iVar24,1); } std::vector::copy_constructor(local_a4->_achievements + 0x9c); - pPVar9 = local_94; + pPVar8 = local_94; local_8 = 0; if (g_game->_challenge == 0) { if ((*(int *)((int)EVar22 + 0x13c0) == 0) && @@ -547399,7 +548250,7 @@ void __thiscall Entity_Player::InitPostLevelInitStats(Entity_Player *this) } } if ((*(int *)((int)EVar22 + 0x13c0) == 0xe) && - ((pPVar9->_achievements[0xec] != 0 || + ((pPVar8->_achievements[0xec] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { local_f4 = 0x15d; @@ -547412,7 +548263,7 @@ void __thiscall Entity_Player::InitPostLevelInitStats(Entity_Player *this) } } if ((*(int *)((int)EVar22 + 0x13c0) == 5) && - ((pPVar9->_achievements[0xf8] != 0 || + ((pPVar8->_achievements[0xf8] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { local_f8 = 0x7e; @@ -547439,8 +548290,8 @@ void __thiscall Entity_Player::InitPostLevelInitStats(Entity_Player *this) std::vector::push_back(&local_98); break; case 5: - piVar15 = (int *)((int)((std_vector *)((int)EVar22 + 0x16d4))->_begin + 0x48); - *piVar15 = *piVar15 + 0x12; + piVar13 = (int *)((int)((std_vector *)((int)EVar22 + 0x16d4))->_begin + 0x48); + *piVar13 = *piVar13 + 0x12; *(int *)((int)EVar22 + 0x1574) = *(int *)((int)EVar22 + 0x1574) | 0x400; Color::Color(); local_60 = 0; @@ -547770,47 +548621,47 @@ void __thiscall Entity_Player::InitPostLevelInitStats(Entity_Player *this) } EVar22 = local_8c; if (*(int *)&g_game->_deathmatchManager < 2) { - uVar8 = 0; + uVar7 = 0; uStack_a8 = (int)local_80 - (int)local_84 >> 2; if (uStack_a8 != 0) { do { - uVar12 = local_84[uVar8]; - AddCollectible((Entity_Player *)EVar22,uVar12,-1,1,0,0,0); - ItemPool::RemoveCollectible(uVar12,0,0); + uVar19 = local_84[uVar7]; + AddCollectible((Entity_Player *)EVar22,uVar19,-1,1,0,0,0); + ItemPool::RemoveCollectible(uVar19,0,0); if (g_game == (Game *)0x0) { - if (-1 < (int)uVar12) goto LAB_007bd89b; + if (-1 < (int)uVar19) goto LAB_007bd89b; } else { - if ((int)uVar12 < 0) { - if (((int)uVar12 < 0) && + if ((int)uVar19 < 0) { + if (((int)uVar19 < 0) && (pvVar21 = (g_game->_proceduralItemManager)._proceduralItems._begin, - (int)~uVar12 < + (int)~uVar19 < (int)(g_game->_proceduralItemManager)._proceduralItems._end - (int)pvVar21 >> 2)) { - iVar25 = **(int **)((int)pvVar21 + ~uVar12 * 4); + iVar24 = **(int **)((int)pvVar21 + ~uVar19 * 4); } else { - iVar25 = 0; + iVar24 = 0; } } else { LAB_007bd89b: pvVar21 = (g_manager->_itemConfig)._collectibles._begin; - if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar21 >> 2 <= (int)uVar12) + if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar21 >> 2 <= (int)uVar19) goto LAB_007bd8ee; - iVar25 = *(int *)((int)pvVar21 + uVar12 * 4); + iVar24 = *(int *)((int)pvVar21 + uVar19 * 4); } - if (iVar25 != 0) { - local_ec[2] = *(int *)(iVar25 + 0x78); + if (iVar24 != 0) { + local_ec[2] = *(int *)(iVar24 + 0x78); local_ec[1] = 0; local_e0 = 0; - local_ec[0] = iVar25; + local_ec[0] = iVar24; TemporaryEffects::RemoveEffect((TemporaryEffects *)((int)EVar22 + 0x1508),local_ec,1); } } LAB_007bd8ee: - uVar8 = uVar8 + 1; - } while (uVar8 < uStack_a8); - RVar24 = local_90; + uVar7 = uVar7 + 1; + } while (uVar7 < uStack_a8); + uVar19 = local_90; } } local_8 = 0xffffffff; @@ -547820,274 +548671,274 @@ LAB_007bd8ee: if (g_game->_challenge == 0x2c) { SetPocketActiveItem((Entity_Player *)EVar22,0x244,2,0); *(undefined4 *)((int)EVar22 + 0x15dc) = 0x14; - pGVar20 = extraout_EDX_00; + pGVar18 = extraout_EDX_00; } else { - pGVar20 = extraout_EDX; + pGVar18 = extraout_EDX; if (*(int *)(local_a4->_achievements + 0xb8) != 0) { SetPocketActiveItem((Entity_Player *)EVar22,*(int *)(local_a4->_achievements + 0xb8),2,0); - pGVar20 = extraout_EDX_01; + pGVar18 = extraout_EDX_01; } } - iVar25 = *(int *)(local_a4->_achievements + 0xa8); - if (iVar25 != 0) goto LAB_007bdacf; + iVar24 = *(int *)(local_a4->_achievements + 0xa8); + if (iVar24 != 0) goto LAB_007bdacf; if (g_game->_challenge == 0) { - iVar11 = *(int *)((int)EVar22 + 0x13c0); - if (iVar11 == 0xe) { + iVar10 = *(int *)((int)EVar22 + 0x13c0); + if (iVar10 == 0xe) { if ((local_94->_achievements[0xed] != 0) || ((g_manager->_state == 2 && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))) { - iVar25 = 0x53; + iVar24 = 0x53; } } - else if (iVar11 == 2) { + else if (iVar10 == 2) { if ((local_94->_achievements[0xf5] != 0) || ((g_manager->_state == 2 && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))) { - iVar25 = 0x13; + iVar24 = 0x13; } } - else if ((iVar11 == 6) && + else if ((iVar10 == 6) && ((local_94->_achievements[0x14e] != 0 || ((g_manager->_state == 2 && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { - iVar25 = 0x22; + iVar24 = 0x22; } } - pGVar20 = g_game; + pGVar18 = g_game; switch((g_game->_dailyChallenge)._specialDailyId) { case 4: - iVar25 = 0x3d; + iVar24 = 0x3d; break; default: - if (iVar25 != 0) break; + if (iVar24 != 0) break; goto LAB_007bdb1f; case 0x12: - iVar25 = 8; + iVar24 = 8; break; case 0x19: - iVar25 = 3; + iVar24 = 3; AddTrinket((Entity_Player *)EVar22,0x48,1); - pGVar20 = g_game; + pGVar18 = g_game; pvVar21 = (g_game->_itemPool)._trinketPoolItems._begin; if (((0x48 < (int)(g_game->_itemPool)._trinketPoolItems._end - (int)pvVar21 >> 3) && (*(char *)((int)pvVar21 + 0x244) != '\0')) && (*(char *)((int)pvVar21 + 0x245) != '\0')) { *(undefined1 *)((int)pvVar21 + 0x244) = 0; - piVar15 = &(pGVar20->_itemPool)._numAvailableTrinkets; - *piVar15 = *piVar15 + -1; + piVar13 = &(pGVar18->_itemPool)._numAvailableTrinkets; + *piVar13 = *piVar13 + -1; } break; case 0x1e: case 0x31: - iVar25 = 0x35; + iVar24 = 0x35; } LAB_007bdacf: if (*(int *)&g_game->_deathmatchManager < 2) { - AddTrinket((Entity_Player *)EVar22,iVar25,1); - pGVar20 = g_game; - if (((0 < iVar25) && + AddTrinket((Entity_Player *)EVar22,iVar24,1); + pGVar18 = g_game; + if (((0 < iVar24) && (pvVar21 = (g_game->_itemPool)._trinketPoolItems._begin, - iVar25 < (int)(g_game->_itemPool)._trinketPoolItems._end - (int)pvVar21 >> 3)) && - ((*(char *)((int)pvVar21 + iVar25 * 8 + 4) != '\0' && - (*(char *)((int)pvVar21 + iVar25 * 8 + 5) != '\0')))) { - *(undefined1 *)((int)pvVar21 + iVar25 * 8 + 4) = 0; - piVar15 = &(pGVar20->_itemPool)._numAvailableTrinkets; - *piVar15 = *piVar15 + -1; + iVar24 < (int)(g_game->_itemPool)._trinketPoolItems._end - (int)pvVar21 >> 3)) && + ((*(char *)((int)pvVar21 + iVar24 * 8 + 4) != '\0' && + (*(char *)((int)pvVar21 + iVar24 * 8 + 5) != '\0')))) { + *(undefined1 *)((int)pvVar21 + iVar24 * 8 + 4) = 0; + piVar13 = &(pGVar18->_itemPool)._numAvailableTrinkets; + *piVar13 = *piVar13 + -1; } } LAB_007bdb1f: - pPVar9 = local_a4; + pPVar8 = local_a4; if (*(int *)(local_a4->_achievements + 0x90) == 0) { - iVar25 = (g_game->_dailyChallenge)._specialDailyId; - if (iVar25 == 0x27) { - iVar25 = 0x31; + iVar24 = (g_game->_dailyChallenge)._specialDailyId; + if (iVar24 == 0x27) { + iVar24 = 0x31; } - else if (iVar25 == 0x30) { - iVar25 = 0x15; + else if (iVar24 == 0x30) { + iVar24 = 0x15; } else { - if (iVar25 != 0x32) goto LAB_007bdb5f; - iVar25 = 0xc; + if (iVar24 != 0x32) goto LAB_007bdb5f; + iVar24 = 0xc; } - AddPocketItem((Entity_Player *)EVar22,iVar25,1); - pGVar20 = extraout_EDX_02; + AddPocketItem((Entity_Player *)EVar22,iVar24,1); + pGVar18 = extraout_EDX_02; } LAB_007bdb5f: local_94 = (PersistentGameData *) - CONCAT31((int3)((uint)pGVar20 >> 8),*(int *)&g_game->_deathmatchManager < 2); + CONCAT31((int3)((uint)pGVar18 >> 8),*(int *)&g_game->_deathmatchManager < 2); if ((*(int *)&g_game->_deathmatchManager < 2) && (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1))) { InputManager::get_device(&local_dc,*(undefined4 *)((int)EVar22 + 0x1618)); local_8 = 1; if ((uint)local_dc != 0) { - iVar25 = __RTDynamicCast((uint)local_dc,0,&KAGE::Input::InputDeviceBase::RTTI_Type_Descriptor, + iVar24 = __RTDynamicCast((uint)local_dc,0,&KAGE::Input::InputDeviceBase::RTTI_Type_Descriptor, &IsaacRepentancePlus::NetInputDevice::RTTI_Type_Descriptor,0); - if (iVar25 != 0) { - iVar25 = *(int *)(iVar25 + 0x374); - if (iVar25 == 0) { + if (iVar24 != 0) { + iVar24 = *(int *)(iVar24 + 0x374); + if (iVar24 == 0) { local_ac = 0; - uVar8 = local_ac; + uVar7 = local_ac; uStack_a8 = 0; local_ac = 0; local_108 = local_ac; - uVar12 = uStack_a8; - local_ac = uVar8; + uVar20 = uStack_a8; + local_ac = uVar7; } else { - local_108 = *(uint *)(iVar25 + 8); - uVar12 = *(uint *)(iVar25 + 0xc); + local_108 = *(uint *)(iVar24 + 8); + uVar20 = *(uint *)(iVar24 + 0xc); } - local_104 = uVar12; + local_104 = uVar20; uStack_a8 = local_108; FUN_00731ee0(local_120,&local_108); - if (((*(char *)(local_118 + 0xd) != '\0') || (uVar12 < *(uint *)(local_118 + 0x14))) || - ((uVar12 <= *(uint *)(local_118 + 0x14) && (uStack_a8 < *(uint *)(local_118 + 0x10))))) { - local_118 = *(int *)&g_manager[1].field_0x106c; + if (((*(char *)(local_118 + 0xd) != '\0') || (uVar20 < *(uint *)(local_118 + 0x14))) || + ((uVar20 <= *(uint *)(local_118 + 0x14) && (uStack_a8 < *(uint *)(local_118 + 0x10))))) { + local_118 = *(int *)&g_manager[1]._gamestate.field_0xc8; } local_94 = (PersistentGameData *)((uint)local_94 & 0xff); - if (local_118 != *(int *)&g_manager[1].field_0x106c) { + if (local_118 != *(int *)&g_manager[1]._gamestate.field_0xc8) { local_94 = (PersistentGameData *)0x0; } - pPVar9 = local_a4; + pPVar8 = local_a4; } } local_8 = 2; if (((local_dc._4_4_ != (ItemConfig *)0x0) && - (cVar7 = (**(code **)(*(int *)local_dc._4_4_ + 0xc))(), cVar7 != '\0')) && + (cVar6 = (**(code **)(*(int *)local_dc._4_4_ + 0xc))(), cVar6 != '\0')) && (g_inputDeviceRelease != (void *)0x0)) { (*g_inputDeviceRelease)(&local_dc); } local_8 = 0xffffffff; } - if (((char)local_94 != '\0') && ((*(int *)pPVar9 == 9 || (*(int *)pPVar9 == 0x1e)))) { - if (RVar24 == (RNG)0x0) { + if (((char)local_94 != '\0') && ((*(int *)pPVar8 == 9 || (*(int *)pPVar8 == 0x1e)))) { + if (uVar19 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - bVar6 = (byte)local_c8; - uVar8 = (uint)RVar24 >> (bVar6 & 0x1f) ^ (uint)RVar24; - bVar16 = (byte)((ulonglong)local_c8 >> 0x20); - uVar8 = uVar8 << (bVar16 & 0x1f) ^ uVar8; - bVar17 = (byte)local_b0; - RVar24 = (RNG)(uVar8 >> (bVar17 & 0x1f) ^ uVar8); - if (RVar24 == (RNG)(((uint)RVar24 / 3) * 3)) { - bVar6 = 1; - uVar8 = ItemPool::GetTrinket(&g_game->_itemPool,0); - AddTrinket((Entity_Player *)EVar22,uVar8,bVar6); + bVar5 = (byte)local_cc._shift1; + uVar19 = uVar19 >> (bVar5 & 0x1f) ^ uVar19; + bVar14 = (byte)local_cc._shift2; + uVar19 = uVar19 << (bVar14 & 0x1f) ^ uVar19; + bVar15 = (byte)local_b0; + uVar19 = uVar19 >> (bVar15 & 0x1f) ^ uVar19; + if (uVar19 == (uVar19 / 3) * 3) { + bVar5 = 1; + uVar7 = ItemPool::GetTrinket(&g_game->_itemPool,0); + AddTrinket((Entity_Player *)EVar22,uVar7,bVar5); } else { - if (RVar24 == (RNG)0x0) { + if (uVar19 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)RVar24 >> (bVar6 & 0x1f) ^ (uint)RVar24; - uVar8 = uVar8 << (bVar16 & 0x1f) ^ uVar8; - RVar24 = (RNG)(uVar8 >> (bVar17 & 0x1f) ^ uVar8); - if (((uint)RVar24 & 1) == 0) { - if (RVar24 == (RNG)0x0) { + uVar19 = uVar19 >> (bVar5 & 0x1f) ^ uVar19; + uVar19 = uVar19 << (bVar14 & 0x1f) ^ uVar19; + uVar19 = uVar19 >> (bVar15 & 0x1f) ^ uVar19; + if ((uVar19 & 1) == 0) { + if (uVar19 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)RVar24 >> (bVar6 & 0x1f) ^ (uint)RVar24; - uVar8 = uVar8 << (bVar16 & 0x1f) ^ uVar8; - local_cc = (RNG)(uVar8 >> (bVar17 & 0x1f) ^ uVar8); - if (((uint)local_cc & 1) == 0) { - uVar8 = RNG::Next(&local_cc); - iVar25 = ItemPool::GetCardEx(uVar8,0x19,0,0,1); + uVar19 = uVar19 >> (bVar5 & 0x1f) ^ uVar19; + uVar19 = uVar19 << (bVar14 & 0x1f) ^ uVar19; + local_cc._seed = uVar19 >> (bVar15 & 0x1f) ^ uVar19; + if ((local_cc._seed & 1U) == 0) { + uVar19 = RNG::Next(&local_cc); + iVar24 = ItemPool::GetCardEx(uVar19,0x19,0,0,1); local_24[1] = 5; local_24[2] = 9; local_24[3] = 7; - local_24[0] = uVar8; - iVar25 = lua_callback_run_get_card(local_24,iVar25,0,0,0); - AddPocketItem((Entity_Player *)EVar22,iVar25,1); + local_24[0] = uVar19; + iVar24 = lua_callback_run_get_card(local_24,iVar24,0,0,0); + AddPocketItem((Entity_Player *)EVar22,iVar24,1); } else { - uVar8 = RNG::Next(&local_cc); - iVar25 = ItemPool::GetPill(uVar8); - AddPocketItem((Entity_Player *)EVar22,iVar25,0); + uVar19 = RNG::Next(&local_cc); + iVar24 = ItemPool::GetPill(uVar19); + AddPocketItem((Entity_Player *)EVar22,iVar24,0); } - RVar24 = local_cc; - local_b0 = local_c0; + uVar19 = local_cc._seed; + local_b0 = local_cc._shift3; } } - local_90 = (RNG)0x0; + local_90 = 0; local_94 = (PersistentGameData *)0x0; uStack_a8 = 100; do { - uVar8 = ((int)(g_manager->_itemConfig)._collectibles._end - + uVar7 = ((int)(g_manager->_itemConfig)._collectibles._end - (int)(g_manager->_itemConfig)._collectibles._begin >> 2) - 1; - if (RVar24 == (RNG)0x0) { + if (uVar19 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = (uint)RVar24 >> ((byte)local_c8 & 0x1f) ^ (uint)RVar24; - uVar12 = uVar12 << ((byte)((ulonglong)local_c8 >> 0x20) & 0x1f) ^ uVar12; - RVar24 = (RNG)(uVar12 >> ((byte)local_b0 & 0x1f) ^ uVar12); - uVar12 = 0; - if (uVar8 != 0) { - uVar12 = (uint)RVar24 % uVar8; + uVar19 = uVar19 >> ((byte)local_cc._shift1 & 0x1f) ^ uVar19; + uVar19 = uVar19 << ((byte)local_cc._shift2 & 0x1f) ^ uVar19; + uVar19 = uVar19 >> ((byte)local_b0 & 0x1f) ^ uVar19; + uVar20 = 0; + if (uVar7 != 0) { + uVar20 = uVar19 % uVar7; } - uVar12 = uVar12 + 1; + uVar20 = uVar20 + 1; local_b4 = &g_manager->_itemConfig; if (g_game == (Game *)0x0) { - if (-1 < (int)uVar12) goto LAB_007bdf2c; + if (-1 < (int)uVar20) goto LAB_007bdf2c; LAB_007bdf3f: - piVar15 = (int *)0x0; + piVar13 = (int *)0x0; } - else if ((int)uVar12 < 0) { - if (((int)uVar12 < 0) && + else if ((int)uVar20 < 0) { + if (((int)uVar20 < 0) && (pvVar21 = (g_game->_proceduralItemManager)._proceduralItems._begin, - (int)~uVar12 < + (int)~uVar20 < (int)(g_game->_proceduralItemManager)._proceduralItems._end - (int)pvVar21 >> 2)) { - piVar15 = (int *)**(undefined4 **)((int)pvVar21 + ~uVar12 * 4); + piVar13 = (int *)**(undefined4 **)((int)pvVar21 + ~uVar20 * 4); } else { - piVar15 = (int *)0x0; + piVar13 = (int *)0x0; } } else { LAB_007bdf2c: pvVar21 = (local_b4->_collectibles)._begin; - if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar21 >> 2 <= (int)uVar12) + if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar21 >> 2 <= (int)uVar20) goto LAB_007bdf3f; - piVar15 = *(int **)((int)pvVar21 + uVar12 * 4); + piVar13 = *(int **)((int)pvVar21 + uVar20 * 4); } - local_cc = RVar24; - if (((((uVar12 != 0) && - ((int)uVar12 < + local_cc._seed = uVar19; + if (((((uVar20 != 0) && + ((int)uVar20 < (int)(g_manager->_itemConfig)._collectibles._end - - (int)(local_b4->_collectibles)._begin >> 2)) && (uVar12 != 0xeb)) && - ((uVar12 != 0x2b && (uVar12 != 0x3d)))) && - ((pIVar13 = ItemConfig::GetCollectible(local_b4,uVar12), pIVar13 != (ItemConfig_Item *)0x0 - && ((piVar15[0x2f] & 1U) == 0)))) { - cVar7 = Item::IsAvailable(0xffffffff); - if (cVar7 != '\0') { - if (*piVar15 == 3) { + (int)(local_b4->_collectibles)._begin >> 2)) && (uVar20 != 0xeb)) && + ((uVar20 != 0x2b && (uVar20 != 0x3d)))) && + ((pIVar11 = ItemConfig::GetCollectible(local_b4,uVar20), pIVar11 != (ItemConfig_Item *)0x0 + && ((piVar13[0x2f] & 1U) == 0)))) { + cVar6 = Item::IsAvailable(0xffffffff); + if (cVar6 != '\0') { + if (*piVar13 == 3) { if (local_94 == (PersistentGameData *)0x0) { - local_94 = (PersistentGameData *)uVar12; + local_94 = (PersistentGameData *)uVar20; } } - else if (local_90 == (RNG)0x0) { - local_90 = (RNG)uVar12; + else if (local_90 == 0) { + local_90 = uVar20; } } } EVar22 = local_8c; - RVar3 = local_90; + uVar7 = local_90; uStack_a8 = uStack_a8 - 1; } while (uStack_a8 != 0); - local_90 = RVar24; + local_90 = uVar19; if (local_94 != (PersistentGameData *)0x0) { AddCollectible((Entity_Player *)local_8c,(int)local_94,-1,1,0,0,0); ItemPool::RemoveCollectible(local_94,0,0); } - if (RVar3 != (RNG)0x0) { - AddCollectible((Entity_Player *)EVar22,(int)RVar3,-1,1,0,0,0); - ItemPool::RemoveCollectible(RVar3,0,0); + if (uVar7 != 0) { + AddCollectible((Entity_Player *)EVar22,uVar7,-1,1,0,0,0); + ItemPool::RemoveCollectible(uVar7,0,0); } EVar22 = local_8c; } - pCVar26 = local_d0; + pCVar25 = local_d0; if (local_d0->_isMegaSatan != 0) { AddCollectible((Entity_Player *)EVar22,0xee,0,1,0,0,0); ItemPool::RemoveCollectible(0xee,0,0); @@ -548098,28 +548949,29 @@ LAB_007bdf2c: if (pCStack_b8 == (ChallengeParam *)0x0) { local_a4 = &g_manager->_persistentGameData; if (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) { - iVar25 = *(int *)((int)EVar22 + 0x1e50); - if (iVar25 == 0) { + iVar24 = *(int *)((int)EVar22 + 0x1e50); + if (iVar24 == 0) { local_bc = 0; - uVar8 = local_bc; + uVar7 = local_bc; pCStack_b8 = (ChallengeParam *)0x0; local_bc = 0; local_d4 = local_bc; - pCVar26 = pCStack_b8; - local_bc = uVar8; + pCVar25 = pCStack_b8; + local_bc = uVar7; } else { - local_d4 = *(uint *)(iVar25 + 8); - pCVar26 = *(ChallengeParam **)(iVar25 + 0xc); + local_d4 = *(uint *)(iVar24 + 8); + pCVar25 = *(ChallengeParam **)(iVar24 + 0xc); } - pCStack_b8 = (ChallengeParam *)&g_manager[1].field_0x1064; - local_d0 = pCVar26; + pCStack_b8 = (ChallengeParam *)&g_manager[1]._gamestate.field_0xc0; + local_d0 = pCVar25; uStack_a8 = local_d4; FUN_00731ee0(&local_30,&local_d4); if ((((*(char *)(local_28 + 0xd) == '\0') && - (*(ChallengeParam **)(local_28 + 0x14) <= pCVar26)) && - ((*(ChallengeParam **)(local_28 + 0x14) < pCVar26 || - (*(uint *)(local_28 + 0x10) <= uStack_a8)))) && (local_28 != *(int *)pCStack_b8)) { + (*(ChallengeParam **)(local_28 + 0x14) <= pCVar25)) && + ((*(ChallengeParam **)(local_28 + 0x14) < pCVar25 || + (*(uint *)(local_28 + 0x10) <= uStack_a8)))) && + (local_28 != *(int *)(pCStack_b8->_name)._buf)) { local_a4 = (PersistentGameData *)FUN_00914150(&local_d4); } else { @@ -548138,64 +548990,64 @@ LAB_007bdf2c: do { uStack_a8 = 0; LAB_007be1e0: - uVar8 = ((int)(g_manager->_itemConfig)._collectibles._end - + uVar7 = ((int)(g_manager->_itemConfig)._collectibles._end - (int)(g_manager->_itemConfig)._collectibles._begin >> 2) - 1; - if (RVar24 == (RNG)0x0) { + if (uVar19 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = (uint)RVar24 >> ((byte)local_c8 & 0x1f) ^ (uint)RVar24; - uVar12 = uVar12 << ((byte)((ulonglong)local_c8 >> 0x20) & 0x1f) ^ uVar12; - local_cc = (RNG)(uVar12 >> ((byte)local_b0 & 0x1f) ^ uVar12); - uVar12 = 0; - if (uVar8 != 0) { - uVar12 = (uint)local_cc % uVar8; + uVar19 = uVar19 >> ((byte)local_cc._shift1 & 0x1f) ^ uVar19; + uVar19 = uVar19 << ((byte)local_cc._shift2 & 0x1f) ^ uVar19; + local_cc._seed = uVar19 >> ((byte)local_b0 & 0x1f) ^ uVar19; + uVar19 = 0; + if (uVar7 != 0) { + uVar19 = (uint)local_cc._seed % uVar7; } - uVar12 = uVar12 + 1; + uVar19 = uVar19 + 1; if (g_game == (Game *)0x0) { - if (-1 < (int)uVar12) goto LAB_007be280; + if (-1 < (int)uVar19) goto LAB_007be280; LAB_007be29a: - piVar15 = (int *)0x0; + piVar13 = (int *)0x0; } - else if ((int)uVar12 < 0) { - if ((-1 < (int)uVar12) || + else if ((int)uVar19 < 0) { + if ((-1 < (int)uVar19) || (pvVar21 = (g_game->_proceduralItemManager)._proceduralItems._begin, (int)(g_game->_proceduralItemManager)._proceduralItems._end - (int)pvVar21 >> 2 <= - (int)~uVar12)) goto LAB_007be29a; - piVar15 = (int *)**(undefined4 **)((int)pvVar21 + ~uVar12 * 4); + (int)~uVar19)) goto LAB_007be29a; + piVar13 = (int *)**(undefined4 **)((int)pvVar21 + ~uVar19 * 4); } else { LAB_007be280: pvVar21 = (g_manager->_itemConfig)._collectibles._begin; - if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar21 >> 2 <= (int)uVar12) + if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar21 >> 2 <= (int)uVar19) goto LAB_007be29a; - piVar15 = *(int **)((int)pvVar21 + uVar12 * 4); + piVar13 = *(int **)((int)pvVar21 + uVar19 * 4); } - local_90 = local_cc; - if ((((uVar12 == 0) || + local_90 = local_cc._seed; + if ((((uVar19 == 0) || ((int)(g_manager->_itemConfig)._collectibles._end - - (int)(g_manager->_itemConfig)._collectibles._begin >> 2 <= (int)uVar12)) || - (uVar12 == 0xeb)) || - (((uVar12 == 0x2b || (uVar12 == 0x3d)) || - ((pIVar13 = ItemConfig::GetCollectible(&g_manager->_itemConfig,uVar12), - pIVar13 == (ItemConfig_Item *)0x0 || ((piVar15[0x2f] & 1U) != 0)))))) { + (int)(g_manager->_itemConfig)._collectibles._begin >> 2 <= (int)uVar19)) || + (uVar19 == 0xeb)) || + (((uVar19 == 0x2b || (uVar19 == 0x3d)) || + ((pIVar11 = ItemConfig::GetCollectible(&g_manager->_itemConfig,uVar19), + pIVar11 == (ItemConfig_Item *)0x0 || ((piVar13[0x2f] & 1U) != 0)))))) { LAB_007be376: uStack_a8 = uStack_a8 + 1; EVar22 = local_8c; if (99 < (int)uStack_a8) goto LAB_007be345; - RVar24 = local_90; + uVar19 = local_90; goto LAB_007be1e0; } - cVar7 = Item::IsAvailable(0xffffffff); + cVar6 = Item::IsAvailable(0xffffffff); EVar22 = local_8c; - if ((cVar7 == '\0') || ((*piVar15 == 3 && (*(int *)((int)local_8c + 0x1580) != 0)))) + if ((cVar6 == '\0') || ((*piVar13 == 3 && (*(int *)((int)local_8c + 0x1580) != 0)))) goto LAB_007be376; - AddCollectible((Entity_Player *)local_8c,uVar12,-1,1,0,0,0); - ItemPool::RemoveCollectible(uVar12,0,0); + AddCollectible((Entity_Player *)local_8c,uVar19,-1,1,0,0,0); + ItemPool::RemoveCollectible(uVar19,0,0); LAB_007be345: local_b4 = (ItemConfig *)((int)(local_b4 + -1) + 0x10f); if (local_b4 == (ItemConfig *)0x0) goto code_r0x007be352; - RVar24 = local_90; + uVar19 = local_90; } while( true ); } } @@ -548204,91 +549056,91 @@ LAB_007be345: EVar1 = *(EntityPtr *)((int)EVar22 + 0x1e68); if ((((EVar1 == (EntityPtr)0x0) || (*(int *)((int)EVar1 + 0x161c) == -1)) || (*(int *)((int)EVar22 + 0x161c) <= *(int *)((int)EVar1 + 0x161c))) || (EVar1 == EVar22)) { - piVar15 = *(int **)&pCVar26->field_0x20; - if (piVar15 < *(int **)&pCVar26->field_0x24) { + piVar13 = (pCVar25->_collectibleList)._begin; + if (piVar13 < (pCVar25->_collectibleList)._end) { do { - iVar25 = *piVar15; - if (iVar25 < 0) { - RemoveCollectible((Entity_Player *)EVar22,-iVar25,0,0,1); + iVar24 = *piVar13; + if (iVar24 < 0) { + RemoveCollectible((Entity_Player *)EVar22,-iVar24,0,0,1); } else { - AddCollectible((Entity_Player *)EVar22,iVar25,-1,1,0,0,0); - ItemPool::RemoveCollectible(*piVar15,0,0); + AddCollectible((Entity_Player *)EVar22,iVar24,-1,1,0,0,0); + ItemPool::RemoveCollectible(*piVar13,0,0); } - piVar15 = piVar15 + 1; - } while (piVar15 < *(int **)&pCVar26->field_0x24); + piVar13 = piVar13 + 1; + } while (piVar13 < (pCVar25->_collectibleList)._end); } - piVar15 = *(int **)&pCVar26->field_0x2c; - if (piVar15 < *(int **)&pCVar26->field_0x30) { + piVar13 = (pCVar25->_trinketList)._begin; + if (piVar13 < (pCVar25->_trinketList)._end) { do { - AddTrinket((Entity_Player *)EVar22,*piVar15,1); - pGVar20 = g_game; - iVar25 = *piVar15; - if (((0 < iVar25) && + AddTrinket((Entity_Player *)EVar22,*piVar13,1); + pGVar18 = g_game; + iVar24 = *piVar13; + if (((0 < iVar24) && (pvVar21 = (g_game->_itemPool)._trinketPoolItems._begin, - iVar25 < (int)(g_game->_itemPool)._trinketPoolItems._end - (int)pvVar21 >> 3)) && - ((*(char *)((int)pvVar21 + iVar25 * 8 + 4) != '\0' && - (*(char *)((int)pvVar21 + iVar25 * 8 + 5) != '\0')))) { - *(undefined1 *)((int)pvVar21 + iVar25 * 8 + 4) = 0; - piVar23 = &(pGVar20->_itemPool)._numAvailableTrinkets; + iVar24 < (int)(g_game->_itemPool)._trinketPoolItems._end - (int)pvVar21 >> 3)) && + ((*(char *)((int)pvVar21 + iVar24 * 8 + 4) != '\0' && + (*(char *)((int)pvVar21 + iVar24 * 8 + 5) != '\0')))) { + *(undefined1 *)((int)pvVar21 + iVar24 * 8 + 4) = 0; + piVar23 = &(pGVar18->_itemPool)._numAvailableTrinkets; *piVar23 = *piVar23 + -1; } - piVar15 = piVar15 + 1; - pCVar26 = local_d0; - } while (piVar15 < *(int **)&local_d0->field_0x30); + piVar13 = piVar13 + 1; + pCVar25 = local_d0; + } while (piVar13 < (local_d0->_trinketList)._end); } - if (pCVar26->_startingPill != -1) { - uVar8 = ItemPool::ForceAddPillEffect(&g_game->_itemPool,pCVar26->_startingPill); - AddPocketItem((Entity_Player *)EVar22,uVar8,0); - uVar12 = -(uint)((uVar8 & 0x7ff) != 0) & uVar8 & 0x7ff; - uVar8 = 0xe; - if (uVar12 < 0xe) { - uVar8 = uVar12; + if (pCVar25->_startingPill != -1) { + uVar19 = ItemPool::ForceAddPillEffect(&g_game->_itemPool,pCVar25->_startingPill); + AddPocketItem((Entity_Player *)EVar22,uVar19,0); + uVar7 = -(uint)((uVar19 & 0x7ff) != 0) & uVar19 & 0x7ff; + uVar19 = 0xe; + if (uVar7 < 0xe) { + uVar19 = uVar7; } - *(undefined1 *)((int)(&g_game->_itemPool + 1) + uVar8 + 0x3c) = 1; + *(undefined1 *)((int)(&g_game->_itemPool + 1) + uVar19 + 0x3c) = 1; } - iVar25 = pCVar26->_startingCard; - if (iVar25 != 0) { - if (iVar25 == -1) { - if (local_90 == (RNG)0x0) { + iVar24 = pCVar25->_startingCard; + if (iVar24 != 0) { + if (iVar24 == -1) { + if (local_90 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)local_90 >> ((byte)local_c8 & 0x1f) ^ (uint)local_90; - uVar8 = uVar8 << ((byte)((ulonglong)local_c8 >> 0x20) & 0x1f) ^ uVar8; - RVar24 = (RNG)(uVar8 >> ((byte)local_b0 & 0x1f) ^ uVar8); - local_cc = RVar24; - local_90 = RVar24; - iVar25 = ItemPool::GetCardEx((int)RVar24,0x19,0,0,1); + local_90 = local_90 >> ((byte)local_cc._shift1 & 0x1f) ^ local_90; + local_90 = local_90 << ((byte)local_cc._shift2 & 0x1f) ^ local_90; + uVar19 = local_90 >> ((byte)local_b0 & 0x1f) ^ local_90; + local_cc._seed = uVar19; + local_90 = uVar19; + iVar24 = ItemPool::GetCardEx(uVar19,0x19,0,0,1); local_30 = 0x900000005; local_28 = 7; - local_34 = RVar24; - iVar25 = lua_callback_run_get_card(&local_34,iVar25,0,0,0); - AddPocketItem((Entity_Player *)EVar22,iVar25,1); + local_44[4] = uVar19; + iVar24 = lua_callback_run_get_card(local_44 + 4,iVar24,0,0,0); + AddPocketItem((Entity_Player *)EVar22,iVar24,1); goto LAB_007be608; } - AddPocketItem((Entity_Player *)EVar22,iVar25,1); + AddPocketItem((Entity_Player *)EVar22,iVar24,1); } } else { - piVar15 = *(int **)(pCVar26 + 1); - if (piVar15 < *(int **)&pCVar26[1].field_0x4) { + piVar13 = (pCVar25->_collectibleTwinList)._begin; + if (piVar13 < (pCVar25->_collectibleTwinList)._end) { do { - iVar25 = *piVar15; - if (iVar25 < 0) { - RemoveCollectible((Entity_Player *)EVar22,-iVar25,0,0,1); + iVar24 = *piVar13; + if (iVar24 < 0) { + RemoveCollectible((Entity_Player *)EVar22,-iVar24,0,0,1); } else { - AddCollectible((Entity_Player *)EVar22,iVar25,-1,1,0,0,0); - ItemPool::RemoveCollectible(*piVar15,0,0); + AddCollectible((Entity_Player *)EVar22,iVar24,-1,1,0,0,0); + ItemPool::RemoveCollectible(*piVar13,0,0); } - piVar15 = piVar15 + 1; - } while (piVar15 < *(int **)&pCVar26[1].field_0x4); + piVar13 = piVar13 + 1; + } while (piVar13 < (pCVar25->_collectibleTwinList)._end); } } } LAB_007be602: - RVar24 = local_90; + uVar19 = local_90; LAB_007be608: EvaluateItems(); puVar2 = (g_game->_playerManager)._playerList._begin; @@ -548298,23 +549150,23 @@ LAB_007be608: } ConsumableCountChanged((Entity_Player *)*puVar2,-1); if (*(int *)((int)EVar22 + 0x26c8) == 0) { - iVar25 = *(int *)((int)EVar22 + 0x13c0); - if (iVar25 == 0x13) { - pEVar10 = InitTwin((Entity_Player *)EVar22,0x14); - InitPostLevelInitStats(pEVar10); + iVar24 = *(int *)((int)EVar22 + 0x13c0); + if (iVar24 == 0x13) { + pEVar9 = InitTwin((Entity_Player *)EVar22,0x14); + InitPostLevelInitStats(pEVar9); } - else if (iVar25 == 0x23) { + else if (iVar24 == 0x23) { if (*(char *)((int)EVar22 + 0x20a9) == '\0') { - pEVar10 = InitTwin((Entity_Player *)EVar22,0x28); - InitPostLevelInitStats(pEVar10); + pEVar9 = InitTwin((Entity_Player *)EVar22,0x28); + InitPostLevelInitStats(pEVar9); } } - else if (iVar25 == 0x22) { - uVar14 = Random(); - piVar15 = (int *)Game::Spawn(3,0xe7,(int)EVar22 + 0x33c,&g_vectorZero,EVar22,0x19,uVar14); - (**(code **)(*piVar15 + 0xc))(); + else if (iVar24 == 0x22) { + uVar12 = Random(); + piVar13 = (int *)Game::Spawn(3,0xe7,(int)EVar22 + 0x33c,&g_vectorZero,EVar22,0x19,uVar12); + (**(code **)(*piVar13 + 0xc))(); } - else if ((iVar25 == 0x25) && (g_game->_challenge != 0x2c)) { + else if ((iVar24 == 0x25) && (g_game->_challenge != 0x2c)) { TemporaryEffects::RemoveNullEffect((TemporaryEffects *)((int)EVar22 + 0x1508),0x6d,-1); pvVar21 = (g_manager->_itemConfig)._nullItems._begin; if ((int)(g_manager->_itemConfig)._nullItems._end - (int)pvVar21 >> 2 < 0x6e) { @@ -548327,19 +549179,19 @@ LAB_007be608: local_e0 = 0; local_24[1] = 0xb; local_24[2] = 7; - RVar3 = g_game->_devilAngelRoomRNG; + uVar7 = (g_game->_devilAngelRoomRNG)._seed; pCStack_b8 = (ChallengeParam *)0xc; - if (RVar3 == (RNG)0x0) { + if (uVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)RVar3 >> 0xb ^ (uint)RVar3; - uVar8 = uVar8 << 7 ^ uVar8; - local_ec[2] = ((uVar8 >> 0xc ^ uVar8) % 0x14) * 0x1e + 0x262; + uVar7 = uVar7 >> 0xb ^ uVar7; + uVar7 = uVar7 << 7 ^ uVar7; + local_ec[2] = ((uVar7 >> 0xc ^ uVar7) % 0x14) * 0x1e + 0x262; TemporaryEffects::AddEffect((TemporaryEffects *)((int)EVar22 + 0x1508),local_ec,1,1); } } - pMVar4 = g_manager; + pMVar3 = g_manager; if (g_game->_challenge == 0x1f) { local_84 = (int *)0x0; local_80 = (int *)0x0; @@ -548348,100 +549200,100 @@ LAB_007be608: local_8 = 3; local_78 = g_manager; pvVar21 = (g_manager->_itemConfig)._collectibles._end; - pvVar19 = (g_manager->_itemConfig)._collectibles._begin; - uVar8 = (int)pvVar21 - (int)pvVar19 >> 2; - if (uVar8 != 0) { - if (0x3fffffff < uVar8) { + pvVar17 = (g_manager->_itemConfig)._collectibles._begin; + uVar7 = (int)pvVar21 - (int)pvVar17 >> 2; + if (uVar7 != 0) { + if (0x3fffffff < uVar7) { /* WARNING: Subroutine does not return */ std::_Xlen(); } - std::vector::_Reallocate(uVar8); - pvVar21 = (pMVar4->_itemConfig)._collectibles._end; - pvVar19 = (pMVar4->_itemConfig)._collectibles._begin; + std::vector::_Reallocate(uVar7); + pvVar21 = (pMVar3->_itemConfig)._collectibles._end; + pvVar17 = (pMVar3->_itemConfig)._collectibles._begin; } - uVar8 = 0; - piVar15 = local_80; + uVar7 = 0; + piVar13 = local_80; local_a4 = local_7c; - if ((int)pvVar21 - (int)pvVar19 >> 2 != 0) { + if ((int)pvVar21 - (int)pvVar17 >> 2 != 0) { do { - local_74 = *(int **)((int)pvVar19 + uVar8 * 4); - if (uVar8 != 0) { + local_74 = *(int **)((int)pvVar17 + uVar7 * 4); + if (uVar7 != 0) { pvVar21 = (g_manager->_itemConfig)._collectibles._begin; - if (((((int)uVar8 < (int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar21 >> 2) - && (uVar8 != 0xeb)) && (uVar8 != 0x2b)) && (uVar8 != 0x3d)) { + if (((((int)uVar7 < (int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar21 >> 2) + && (uVar7 != 0xeb)) && (uVar7 != 0x2b)) && (uVar7 != 0x3d)) { if (g_game == (Game *)0x0) { - if (-1 < (int)uVar8) goto LAB_007be8da; + if (-1 < (int)uVar7) goto LAB_007be8da; } else { - if ((int)uVar8 < 0) { - if (((int)uVar8 < 0) && + if ((int)uVar7 < 0) { + if (((int)uVar7 < 0) && (pvVar21 = (g_game->_proceduralItemManager)._proceduralItems._begin, - (int)~uVar8 < + (int)~uVar7 < (int)(g_game->_proceduralItemManager)._proceduralItems._end - (int)pvVar21 >> 2)) { - iVar25 = **(int **)((int)pvVar21 + ~uVar8 * 4); + iVar24 = **(int **)((int)pvVar21 + ~uVar7 * 4); } else { - iVar25 = 0; + iVar24 = 0; } } else { LAB_007be8da: - iVar25 = *(int *)((int)pvVar21 + uVar8 * 4); + iVar24 = *(int *)((int)pvVar21 + uVar7 * 4); } - if (((iVar25 != 0) && ((local_74[0x2f] & 1U) == 0)) && (*local_74 != 3)) { - cVar7 = Item::IsAvailable(0xffffffff); - if (cVar7 != '\0') { + if (((iVar24 != 0) && ((local_74[0x2f] & 1U) == 0)) && (*local_74 != 3)) { + cVar6 = Item::IsAvailable(0xffffffff); + if (cVar6 != '\0') { pCStack_b8 = (ChallengeParam *)local_74[1]; - if ((PersistentGameData *)piVar15 == local_a4) { - std::vector::_Emplace_reallocate(piVar15,&pCStack_b8); + if ((PersistentGameData *)piVar13 == local_a4) { + std::vector::_Emplace_reallocate(piVar13,&pCStack_b8); local_a4 = local_7c; - piVar15 = local_80; + piVar13 = local_80; } else { - *piVar15 = (int)pCStack_b8; - local_80 = piVar15 + 1; - piVar15 = local_80; + *piVar13 = (int)pCStack_b8; + local_80 = piVar13 + 1; + piVar13 = local_80; } } } } } } - uVar8 = uVar8 + 1; - pvVar19 = (local_78->_itemConfig)._collectibles._begin; - } while (uVar8 < (uint)((int)(local_78->_itemConfig)._collectibles._end - (int)pvVar19 >> 2)); - RVar24 = local_90; + uVar7 = uVar7 + 1; + pvVar17 = (local_78->_itemConfig)._collectibles._begin; + } while (uVar7 < (uint)((int)(local_78->_itemConfig)._collectibles._end - (int)pvVar17 >> 2)); + uVar19 = local_90; } local_d0 = (ChallengeParam *)0x0; piVar23 = local_84; do { - piVar5 = local_84; - if (piVar23 == piVar15) break; - uVar8 = (int)piVar15 - (int)local_84 >> 2; - if (RVar24 == (RNG)0x0) { + piVar4 = local_84; + if (piVar23 == piVar13) break; + uVar7 = (int)piVar13 - (int)local_84 >> 2; + if (uVar19 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = (uint)RVar24 >> ((byte)local_c8 & 0x1f) ^ (uint)RVar24; - uVar12 = uVar12 << ((byte)((ulonglong)local_c8 >> 0x20) & 0x1f) ^ uVar12; - RVar24 = (RNG)(uVar12 >> ((byte)local_b0 & 0x1f) ^ uVar12); - uVar12 = 0; - if (uVar8 != 0) { - uVar12 = (uint)RVar24 % uVar8; + uVar19 = uVar19 >> ((byte)local_cc._shift1 & 0x1f) ^ uVar19; + uVar19 = uVar19 << ((byte)local_cc._shift2 & 0x1f) ^ uVar19; + uVar19 = uVar19 >> ((byte)local_b0 & 0x1f) ^ uVar19; + uVar20 = 0; + if (uVar7 != 0) { + uVar20 = uVar19 % uVar7; } - if (uVar12 < ((int)piVar15 - (int)local_84 >> 2) - 1U) { - iVar25 = local_84[uVar12]; - local_84[uVar12] = piVar15[-1]; - piVar15[-1] = iVar25; + if (uVar20 < ((int)piVar13 - (int)local_84 >> 2) - 1U) { + iVar24 = local_84[uVar20]; + local_84[uVar20] = piVar13[-1]; + piVar13[-1] = iVar24; } - piVar15 = piVar15 + -1; - AddCollectible((Entity_Player *)local_8c,*piVar15,0,1,0,0,0); - ItemPool::RemoveCollectible(*piVar15,0,0); - local_d0 = (ChallengeParam *)&local_d0->field_0x1; - piVar23 = piVar5; - local_80 = piVar15; - } while (local_d0 < (undefined1 *)0xa); + piVar13 = piVar13 + -1; + AddCollectible((Entity_Player *)local_8c,*piVar13,0,1,0,0,0); + ItemPool::RemoveCollectible(*piVar13,0,0); + local_d0 = (ChallengeParam *)((local_d0->_name)._buf + 1); + piVar23 = piVar4; + local_80 = piVar13; + } while (local_d0 < (ChallengeParam *)0xa); local_8 = 0xffffffff; if (piVar23 != (int *)0x0) { deallocate(piVar23,(int)local_a4 - (int)piVar23 >> 2); @@ -548449,11 +549301,11 @@ LAB_007be8da: EVar22 = local_8c; } if (g_game->_challenge == 0x2b) { - iVar25 = 3; + iVar24 = 3; do { AddItemCard((Entity_Player *)EVar22,0); - iVar25 = iVar25 + -1; - } while (iVar25 != 0); + iVar24 = iVar24 + -1; + } while (iVar24 != 0); } LAB_007bea6e: *(undefined1 *)((int)EVar22 + 0x1824) = 1; @@ -548461,18 +549313,18 @@ LAB_007bea6e: return; code_r0x007be352: if (g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) { - uVar8 = (uint)local_94 & 0xffff0000; + uVar7 = (uint)local_94 & 0xffff0000; } else { - uVar8 = (uint)local_94 & 0xffff; + uVar7 = (uint)local_94 & 0xffff; } - local_a4->_eventCounters[0x72] = uVar8; - iVar25 = InputManager::GetDeviceByPlayerEntity(EVar22); - if (iVar25 == 0) goto LAB_007be602; - cVar7 = (**(code **)(*(int *)(iVar25 + 0x370) + 0x14))(); - RVar24 = local_90; - if (cVar7 != '\0') { - g_manager[1]._persistentGameData._eventCounters[0x83] = uVar8; + local_a4->_eventCounters[0x72] = uVar7; + iVar24 = InputManager::GetDeviceByPlayerEntity(EVar22); + if (iVar24 == 0) goto LAB_007be602; + cVar6 = (**(code **)(*(int *)(iVar24 + 0x370) + 0x14))(); + uVar19 = local_90; + if (cVar6 != '\0') { + g_manager[1]._persistentGameData._eventCounters[0x83] = uVar7; } goto LAB_007be608; } @@ -552532,9 +553384,7 @@ void Entity_Player::UsePill(uint param_1,uint param_2,uint param_3) undefined4 local_ec; EntityRef EStack_e8; uint local_c0 [2]; - RNG local_b8; - undefined8 local_b4; - undefined1 local_ac [4]; + undefined1 local_b8 [16]; char local_a8 [132]; uint local_24; undefined1 *puStack_20; @@ -552653,12 +553503,12 @@ LAB_007c4477: ppppppuVar11[5] = (undefined4 *****)0xf; *(undefined1 *)ppppppuVar11 = 0; } - if (0xf < (uint)local_ac) { - uVar26 = (int)local_ac + 1; + if (0xf < (uint)local_b8._12_4_) { + uVar26 = local_b8._12_4_ + 1; uVar10 = local_c0[0]; if (0xfff < uVar26) { uVar10 = *(uint *)(local_c0[0] - 4); - uVar26 = (int)local_ac + 0x24; + uVar26 = local_b8._12_4_ + 0x24; if (0x1f < (local_c0[0] - uVar10) - 4) { LAB_007c453e: /* WARNING: Subroutine does not return */ @@ -552667,8 +553517,8 @@ LAB_007c453e: } operator_delete(uVar10,uVar26); } - local_b4 = (ulonglong)(uint)local_b4; - local_ac = (undefined1 [4])0xf; + local_b8._8_4_ = 0; + local_b8._12_4_ = 2.10195e-44; local_c0[0] = local_c0[0] & 0xffffff00; if (*(int *)&(local_23c->_persistentGameData).field_0x1c == 0) { local_13c[0] = (undefined4 ******)0x0; @@ -552680,7 +553530,7 @@ LAB_007c453e: if (0xf < *(uint *)&(local_23c->_persistentGameData).field_0x20) { pcVar12 = *(char **)pcVar12; } - local_20c = (Manager *)g_manager->_stringTable; + local_20c = *(Manager **)&g_manager->_stringTable; if (*pcVar12 == '#') { local_208 = (Manager *)(pcVar12 + 1); local_214 = (float)((uint)local_214 & 0xffffff); @@ -552735,12 +553585,13 @@ LAB_007c46b3: if (piVar21 != (pGVar14->_seedEffects)._seedEffects) { local_214 = (float)((uint)local_214 & 0xffffff); StringTable::get_string - ("PocketItems",g_manager->_stringTable,"QUESTION_MARKS_NAME",(int)&local_214 + 3); + ("PocketItems",*(undefined4 *)&g_manager->_stringTable,"QUESTION_MARKS_NAME", + (int)&local_214 + 3); if (local_214._3_1_ == '\0') { local_216 = '\0'; pcVar12 = (char *)StringTable::get_string - ("PocketItems",pMVar35->_stringTable,"QUESTION_MARKS_NAME", - &local_216); + ("PocketItems",*(undefined4 *)&pMVar35->_stringTable, + "QUESTION_MARKS_NAME",&local_216); } else { pcVar12 = "#QUESTION_MARKS_NAME"; @@ -552929,12 +553780,12 @@ LAB_007c4b59: cVar6 = '\0'; local_214 = (float)((uint)local_214 & 0xffffff); local_20c = (Manager *)0x0; - if (*(int *)&pMVar35->field_0x1264 != 0) { + if (*(int *)&(pMVar35->_gamestate).field_0x2c0 != 0) { do { - this = *(Entity **)(*(int *)&pMVar35->field_0x125c + (int)local_20c * 4); + this = *(Entity **)(*(int *)&(pMVar35->_gamestate).field_0x2b8 + (int)local_20c * 4); if (((1 < *(int *)&g_game->_deathmatchManager) && (this->_type == 1)) || (this->_type - 10U < 0x3de)) { - local_ac = *(undefined1 (*) [4])((int)&this->_flags + 4); + local_b8._12_4_ = *(float *)((int)&this->_flags + 4); if (((this->_flags & 0x11) == 0) && ((this->_flags & 0x20000011) == 0)) { EntityRef::constructor(&EStack_e8,(Entity *)in_ECX); Entity::AddPoison(this,&EStack_e8,0x5a,0.0,0); @@ -552947,13 +553798,13 @@ LAB_007c4b59: } local_20c = (Manager *)&local_20c->field_0x1; pMVar35 = local_208; - } while (local_20c < *(undefined1 **)&local_208->field_0x1264); + } while (local_20c < *(undefined1 **)&(local_208->_gamestate).field_0x2c0); if (cVar6 != '\0') { Color::Color(); EStack_e8._spawnerVariant = 0; EStack_e8._position.x = 1.0; EStack_e8._position.y = 0.0; - EStack_e8._24_4_ = 0x3f800000; + EStack_e8._velocity.x = 1.0; Game::start_poop_cloud_screen_effect((Game *)((int)g_game->_room + 0x1618),extraout_ECX) ; AnimatePill(in_ECX,param_2,"UseItem"); @@ -553065,7 +553916,7 @@ LAB_007c4df2: EStack_e8._spawnerVariant = 0x3f800000; EStack_e8._position.x = 0.5; EStack_e8._position.y = 0.0; - EStack_e8._24_4_ = 0x3ea8f5c3; + EStack_e8._velocity.x = 0.33; Color::operator_assign(extraout_ECX_05); uVar38 = Color::Color(0x3f000000,0x3e800000,0x3e800000); (**(code **)(*(int *)in_ECX + 0x3c))(uVar38,0xf,0xff,1,1); @@ -553141,7 +553992,7 @@ LAB_007c4df2: EStack_e8._spawnerVariant = 0x3f000000; EStack_e8._position.x = 1.0; EStack_e8._position.y = 1.0; - EStack_e8._24_4_ = 0x3ea8f5c3; + EStack_e8._velocity.x = 0.33; Color::operator_assign(extraout_ECX_16); uVar42 = 0x3f000000; goto LAB_007c5622; @@ -553158,7 +554009,7 @@ LAB_007c4df2: EStack_e8._spawnerVariant = 0x3f800000; EStack_e8._position.x = 1.0; EStack_e8._position.y = 0.0; - EStack_e8._24_4_ = 0x3ea8f5c3; + EStack_e8._velocity.x = 0.33; Color::operator_assign(extraout_ECX_19); uVar42 = 0x3e800000; uVar40 = 0x3f000000; @@ -553177,7 +554028,7 @@ LAB_007c4df2: EStack_e8._spawnerVariant = 0x3f000000; EStack_e8._position.x = 0.5; EStack_e8._position.y = 1.0; - EStack_e8._24_4_ = 0x3ea8f5c3; + EStack_e8._velocity.x = 0.33; Color::operator_assign(extraout_ECX_21); uVar42 = 0x3f000000; uVar40 = 0x3ecccccd; @@ -553196,7 +554047,7 @@ LAB_007c4df2: EStack_e8._spawnerVariant = 0; EStack_e8._position.x = 1.0; EStack_e8._position.y = 0.0; - EStack_e8._24_4_ = 0x3ea8f5c3; + EStack_e8._velocity.x = 0.33; Color::operator_assign(extraout_ECX_23); uVar42 = 0x3e800000; LAB_007c5622: @@ -553361,8 +554212,7 @@ LAB_007c5dc8: if (((char)local_214 == '\0') || (local_20c = (Manager *)0x2, iVar9 == 0)) { local_20c = (Manager *)0x1; } - uVar38 = Room::FindFreePickupSpawnPosition - ((int)&local_b4 + 4,&in_ECX->_pos,0x42200000,0,0,0); + uVar38 = Room::FindFreePickupSpawnPosition(local_b8 + 8,&in_ECX->_pos,0x42200000,0,0,0); iVar17 = Game::Spawn(5,0x5a,uVar38,&g_vectorZero,in_ECX,local_20c,local_22c); *(int *)(iVar17 + 0x554) = iVar9; iVar9 = iVar9 + 1; @@ -553398,8 +554248,7 @@ LAB_007c5dc8: if (0 < (int)local_208) { do { uVar38 = Random(); - uVar40 = Room::FindFreePickupSpawnPosition - ((int)&local_b4 + 4,&in_ECX->_pos,0x42200000,0,0,0); + uVar40 = Room::FindFreePickupSpawnPosition(local_b8 + 8,&in_ECX->_pos,0x42200000,0,0,0); iVar9 = Game::Spawn(5,local_22c,uVar40,&g_vectorZero,in_ECX,1,uVar38); *(Manager **)(iVar9 + 0x554) = local_20c; local_20c = (Manager *)&local_20c->field_0x1; @@ -553455,9 +554304,10 @@ LAB_007c5fcc: ShootCandle(extraout_ECX_33); local_20c = (Manager *)0x0; local_208 = g_game->_room; - if (*(int *)&local_208->field_0x1264 != 0) { + if (*(int *)&(local_208->_gamestate).field_0x2c0 != 0) { do { - pEVar16 = *(Entity_Player **)(*(int *)&local_208->field_0x125c + (int)local_20c * 4); + pEVar16 = *(Entity_Player **) + (*(int *)&(local_208->_gamestate).field_0x2b8 + (int)local_20c * 4); if ((pEVar16 != in_ECX) && (cVar6 = Entity::IsVulnerableEnemy((Entity *)pEVar16,0), cVar6 != '\0')) { if ((char)local_204 == '\0') { @@ -553485,7 +554335,7 @@ LAB_007c5fcc: } LAB_007c62d0: local_20c = (Manager *)&local_20c->field_0x1; - } while (local_20c < *(undefined1 **)&local_208->field_0x1264); + } while (local_20c < *(undefined1 **)&(local_208->_gamestate).field_0x2c0); } if ((char)local_204 == '\0') { LAB_007c7497: @@ -553497,7 +554347,7 @@ LAB_007c7497: EStack_e8._spawnerVariant = 0x40000000; EStack_e8._position.x = 0.0; EStack_e8._position.y = 1.0; - EStack_e8._24_4_ = 0x3f800000; + EStack_e8._velocity.x = 1.0; Game::start_poop_cloud_screen_effect ((Game *)(*(int *)(extraout_EDX + 0x18300) + 0x1618),extraout_ECX_34); AnimatePill(in_ECX,param_2,"UseItem"); @@ -553719,8 +554569,8 @@ LAB_007c679f: iVar9 = piVar21[9]; iVar17 = *(int *)((int)g_game->_room + 0xc); in_ECX->_numBlueSpiders = in_ECX->_numBlueSpiders + 1; - local_b4 = CONCAT44((float)(iVar9 % iVar17) * 40.0 + 40.0,(uint)local_b4); - local_ac = (undefined1 [4])((float)(iVar9 / iVar17) * 40.0 + 120.0); + local_b8._8_4_ = (float)(iVar9 % iVar17) * 40.0 + 40.0; + local_b8._12_4_ = (float)(iVar9 / iVar17) * 40.0 + 120.0; spawn_blue_spider(&g_vectorZero); } pcVar4 = *(code **)(*piVar21 + 0x14); @@ -553852,9 +554702,9 @@ LAB_007c679f: iVar17 = Random(); fVar37 = (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * (float)local_208 + 35.0; - local_ac = (undefined1 [4])(fVar37 * (float)local_22c + (in_ECX->_pos).y); - local_b4 = CONCAT44(fVar37 * (float)local_20c + (in_ECX->_pos).x,(uint)local_b4); - piVar21 = (int *)Game::Spawn(1000,0x5e,(int)&local_b4 + 4,&g_vectorZero,in_ECX,0,uVar38); + local_b8._12_4_ = fVar37 * (float)local_22c + (in_ECX->_pos).y; + local_b8._8_4_ = fVar37 * (float)local_20c + (in_ECX->_pos).x; + piVar21 = (int *)Game::Spawn(1000,0x5e,local_b8 + 8,&g_vectorZero,in_ECX,0,uVar38); piVar21[0x5a] = piVar21[0x5a] | 0x20000000; piVar21[0x39] = 0x40a00000; piVar21[0x3a] = 0x40a00000; @@ -553891,9 +554741,9 @@ LAB_007c679f: iVar17 = Random(); fVar37 = (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * (float)local_208 + 35.0; - local_ac = (undefined1 [4])(fVar37 * (float)local_22c + (in_ECX->_pos).y); - local_b4 = CONCAT44(fVar37 * (float)local_20c + (in_ECX->_pos).x,(uint)local_b4); - piVar21 = (int *)Game::Spawn(1000,0x2d,(int)&local_b4 + 4,&g_vectorZero,in_ECX,0,uVar38); + local_b8._12_4_ = fVar37 * (float)local_22c + (in_ECX->_pos).y; + local_b8._8_4_ = fVar37 * (float)local_20c + (in_ECX->_pos).x; + piVar21 = (int *)Game::Spawn(1000,0x2d,local_b8 + 8,&g_vectorZero,in_ECX,0,uVar38); piVar21[0x5a] = piVar21[0x5a] | 0x20000000; piVar21[0x39] = 0x40a00000; piVar21[0x3a] = 0x40a00000; @@ -553951,9 +554801,9 @@ LAB_007c679f: pTVar41 = &IsaacRepentancePlus::Entity_Tear::RTTI_Type_Descriptor; pTVar39 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar40 = 0; - local_ac = (undefined1 [4])(pfVar18[1] * 10.0 * in_ECX->_shotspeed); - local_b4 = CONCAT44(*pfVar18 * 10.0 * in_ECX->_shotspeed,(uint)local_b4); - uVar38 = Game::Spawn(2,0,&in_ECX->_pos,(int)&local_b4 + 4,in_ECX,0,uVar38); + local_b8._12_4_ = pfVar18[1] * 10.0 * in_ECX->_shotspeed; + local_b8._8_4_ = *pfVar18 * 10.0 * in_ECX->_shotspeed; + uVar38 = Game::Spawn(2,0,&in_ECX->_pos,local_b8 + 8,in_ECX,0,uVar38); pEVar19 = (Entity_Tear *)__RTDynamicCast(uVar38,uVar40,pTVar39,pTVar41,uVar42); (**(code **)(*(int *)pEVar19 + 0x40))(0x43480000); pBVar20 = (BitSet128 *)BitSet128::operator_or(&g_tearFlagPoison); @@ -553982,11 +554832,10 @@ LAB_007c679f: sin(); iVar9 = Random(); fVar34 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10; - local_b4 = CONCAT44(((float)local_208 + (float)local_208) * fVar34 + - fVar37 * 8.0 * (float)local_210,(uint)local_b4); - local_ac = (undefined1 [4]) - (((float)local_22c + (float)local_22c) * fVar34 + - local_214 * 8.0 * (float)local_210); + local_b8._8_4_ = + ((float)local_208 + (float)local_208) * fVar34 + fVar37 * 8.0 * (float)local_210; + local_b8._12_4_ = + ((float)local_22c + (float)local_22c) * fVar34 + local_214 * 8.0 * (float)local_210; iVar9 = Random(); local_208 = (Manager *) ((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * @@ -553996,7 +554845,7 @@ LAB_007c679f: pTVar41 = &IsaacRepentancePlus::Entity_Tear::RTTI_Type_Descriptor; pTVar39 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; uVar40 = 0; - uVar38 = Game::Spawn(2,0,&in_ECX->_pos,(int)&local_b4 + 4,in_ECX,0,uVar38); + uVar38 = Game::Spawn(2,0,&in_ECX->_pos,local_b8 + 8,in_ECX,0,uVar38); pEVar19 = (Entity_Tear *)__RTDynamicCast(uVar38,uVar40,pTVar39,pTVar41,uVar42); (**(code **)(*(int *)pEVar19 + 0x40))((float)local_208 * 200.0); pBVar20 = (BitSet128 *)BitSet128::operator_or(&g_tearFlagPoison); @@ -554065,7 +554914,7 @@ LAB_007c6454: EStack_e8._spawnerVariant = 0x3fa66666; EStack_e8._position.x = 1.3; EStack_e8._position.y = 1.3; - EStack_e8._24_4_ = 0x3f000000; + EStack_e8._velocity.x = 0.5; Color::operator_assign(extraout_ECX_25); uVar42 = 0x3f000000; uVar40 = 0x3f000000; @@ -554082,16 +554931,16 @@ LAB_007c5631: local_168[3] = 0xe; local_c0[0] = 0; local_c0[1] = 2; - local_b8 = (RNG)0x8; - local_b4 = 0x40000000010; - local_ac = (undefined1 [4])0x4; + local_b8._0_4_ = 8; + local_b8._4_8_ = 0x40000000010; + local_b8._12_4_ = 5.60519e-45; local_168[4] = 0x12; local_168[5] = 0x30; EStack_e8._position.x = 8.40779e-45; EStack_e8._position.y = 2.10195e-44; - EStack_e8._24_4_ = 0xb; - EStack_e8._28_4_ = 0xd; - EStack_e8._32_4_ = 0x11; + EStack_e8._velocity.x = 1.54143e-44; + EStack_e8._velocity.y = 1.82169e-44; + EStack_e8._flags = 0x11; EStack_e8._entity = &DAT_0000002f; local_13c[0] = (undefined4 ******)0xb6b3ac; local_13c[1] = (undefined4 ******)0xb6b398; @@ -554181,7 +555030,7 @@ LAB_007c5631: pcVar12[(int)(local_a8 + -(int)pcVar23)] = cVar6; pcVar12 = pcVar12 + 1; } while (cVar6 != '\0'); - puVar5 = (undefined2 *)(local_ac + 3); + puVar5 = (undefined2 *)(local_b8 + 0xf); do { puVar24 = puVar5; puVar5 = (undefined2 *)((int)puVar24 + 1); @@ -554196,7 +555045,7 @@ LAB_007c5631: cVar6 = *pcVar12; pcVar12 = pcVar12 + 1; } while (cVar6 != '\0'); - pcVar32 = local_ac + 3; + pcVar32 = local_b8 + 0xf; do { pcVar31 = pcVar32 + 1; pcVar32 = pcVar32 + 1; @@ -554301,10 +555150,10 @@ LAB_007c7658: (((in_ECX->_cacheFlags = in_ECX->_cacheFlags | 1, param_1 == 0x19 || (param_1 == 1)) || ((((param_1 == 0x1b || ((param_1 == 0x16 || (param_1 == 0x1d)))) || (param_1 == 0x1f)) || ((param_1 == 0x25 || (param_1 == 0x2a)))))))) { - local_b4 = 0x30000000d; - local_b8 = *this_00; - local_ac = (undefined1 [4])0x1b; - uVar10 = RNG::Next(&local_b8); + local_b8._4_8_ = 0x30000000d; + local_b8._0_4_ = this_00->_seed; + local_b8._12_4_ = 3.78351e-44; + uVar10 = RNG::Next((RNG *)local_b8); uVar29 = Room::FindFreePickupSpawnPosition(&local_220,&in_ECX->_pos,0x42200000,0,0,0); Game::Spawn(5,10,uVar29,&g_vectorZero,0,6,uVar10); } @@ -554423,7 +555272,7 @@ undefined4 Entity_Player::GetZodiacEffect(void) else if (0xc < uVar2) { uVar2 = 0xd; } - uVar2 = *(uint *)((int)(&g_game->_itemPool + 2) + uVar2 * 4 + 0x514); + uVar2 = (g_game->_seedEffects)._stageSeeds[uVar2]; if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); @@ -555804,15 +556653,18 @@ void Entity_Player::DoZitEffect(Vector *param_1) } -//@@ 007c97f0 FUN_007c97f0 +//@@ 007c97f0 Entity_Player::apply_victory_lap_penalty /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ /* WARNING: Removing unreachable block (ram,0x007c9a76) */ /* WARNING: Removing unreachable block (ram,0x007c9a88) */ /* WARNING: Removing unreachable block (ram,0x007c9a98) */ /* WARNING: Removing unreachable block (ram,0x007c9a9e) */ +/* DB: thiscall Entity_Player, only caller Game::NextVictoryLap (0x6f7cac); branches on + g_game->_victoryLap==2 / >=3: caps max hearts to 6 (AddMaxHearts), removes collectibles, + RemoveSkinCostume, EvaluateItems, UpdateCanShoot */ -void FUN_007c97f0(uint param_1) +void Entity_Player::apply_victory_lap_penalty(uint param_1) { undefined4 uVar1; @@ -555838,7 +556690,7 @@ void FUN_007c97f0(uint param_1) if (g_game->_victoryLap == 2) { ExceptionList = &local_10; if (6 < in_ECX->_maxHearts) { - Entity_Player::AddMaxHearts(in_ECX,6 - in_ECX->_maxHearts,0); + AddMaxHearts(in_ECX,6 - in_ECX->_maxHearts,0); } fVar6 = 0.5; } @@ -555847,7 +556699,7 @@ void FUN_007c97f0(uint param_1) return; } ExceptionList = &local_10; - Entity_Player::RemoveSkinCostume(__security_cookie ^ (int)register0x00000010 - 4U); + RemoveSkinCostume(__security_cookie ^ (int)register0x00000010 - 4U); in_ECX->_cacheFlags = in_ECX->_cacheFlags | 0xffff; in_ECX->_maxHearts = 0; in_ECX->_redHearts = 0; @@ -555857,9 +556709,9 @@ void FUN_007c97f0(uint param_1) in_ECX->_boneHearts = 0; in_ECX->_eternalHearts = 0; in_ECX->_playerType = 10; - Entity_Player::EvaluateItems(); - Entity_Player::update_player_skin(); - Entity_Player::UpdateCanShoot(); + EvaluateItems(); + update_player_skin(); + UpdateCanShoot(); if (g_game->_victoryLap < 4) { ExceptionList = local_10; return; @@ -555922,7 +556774,7 @@ void FUN_007c97f0(uint param_1) local_20 = 0; if (uVar3 != 0) { do { - Entity_Player::RemoveCollectible(in_ECX,*(uint *)(local_20 * 4),0,0,1); + RemoveCollectible(in_ECX,*(uint *)(local_20 * 4),0,0,1); local_20 = local_20 + 1; } while (local_20 < uVar3); } @@ -556319,9 +557171,9 @@ void Entity_Player::BreakGoldenHearts(int param_1) undefined4 local_50; undefined1 auStack_4c [20]; float fStack_38; - undefined4 uStack_34; - undefined4 local_30; - undefined4 local_2c; + float fStack_34; + float local_30; + int local_2c; undefined1 *local_28; uint local_24; undefined1 *puStack_20; @@ -556421,12 +557273,12 @@ LAB_007ca49c: auStack_4c._0_4_ = 0x3f800000; auStack_4c._4_4_ = 0x3f800000; auStack_4c._8_4_ = 0x3f800000; - local_30 = 0; + local_30 = 0.0; local_2c = 0; auStack_4c._12_4_ = 0; auStack_4c._16_4_ = 0.0; fStack_38 = 0.0; - uStack_34 = 0; + fStack_34 = 0.0; local_28 = (void *)0x0; iVar11 = Random(); Game::SpawnParticles @@ -556464,11 +557316,11 @@ LAB_007ca49c: EntityRef::constructor((EntityRef *)auStack_4c,local_58); Entity::AddMidasFreeze(this,(EntityRef *)auStack_4c,0xb4,0); if ((this->_flags & 0x400) != 0) { - local_30 = 0x3f800000; + local_30 = 1.0; auStack_4c._12_4_ = 0; auStack_4c._16_4_ = 0.0; fStack_38 = 0.0; - uStack_34 = 0; + fStack_34 = 0.0; local_50 = 0x3f800000; auStack_4c._0_4_ = 0x3f800000; auStack_4c._4_4_ = 0x3f800000; @@ -557351,8 +558203,6 @@ int __thiscall Entity_Player::GetTrinketMultiplier(Entity_Player *this,uint type EntityPtr local_20; int local_1c; RNG local_18; - undefined8 local_14; - undefined4 local_c; undefined4 local_8; local_8 = __security_cookie ^ (int)register0x00000010 - 4U; @@ -557407,10 +558257,11 @@ int __thiscall Entity_Player::GetTrinketMultiplier(Entity_Player *this,uint type if (0 < iVar6) { if ((uVar9 == 0x7a) && (g_game->_challenge == 0x29)) goto LAB_007cb8d8; pRVar7 = Level::GetRoomByIdx((Level *)g_game,g_game->_currentRoomIdx,-1); - if ((RNG)pRVar7->SpawnSeed != (RNG)0x0) { - local_14 = 0x700000002; - local_c = 0x19; - local_18 = (RNG)pRVar7->SpawnSeed; + if (pRVar7->SpawnSeed != 0) { + local_18._shift1 = 2; + local_18._shift2 = 7; + local_18._shift3 = 0x19; + local_18._seed = pRVar7->SpawnSeed; uVar5 = RNG::RandomInt(&local_18,0xbd); if (uVar9 == uVar5 + 1) { iVar10 = iVar10 + iVar6; @@ -559251,7 +560102,7 @@ undefined1 teleport_to_random_room_of_types(undefined4 *param_1,char param_2) if (0 < g_game->_nbRooms) { local_2c = 0; do { - local_24 = (int *)((int)&g_game->_roomList[0].GridIndex + local_2c); + local_24 = (int *)((int)g_game->_roomList[0]._doors + local_2c + -0x1c); if ((local_24[4] != 0) && (local_24[3] == g_game->_currentDimensionIdx)) { uVar4 = 0; piVar1 = (int *)*param_1; @@ -559425,8 +560276,8 @@ byte __thiscall Entity_Player::CanRerollCollectible(Entity_Player *this,int id,b if (g_game->_challenge != 0) { bVar6 = false; pCVar3 = Manager::GetChallengeParams(this_00,g_game->_challenge); - piVar5 = *(int **)&pCVar3->field_0x20; - iVar4 = *(int *)&pCVar3->field_0x24 - (int)piVar5 >> 2; + piVar5 = (pCVar3->_collectibleList)._begin; + iVar4 = (int)(pCVar3->_collectibleList)._end - (int)piVar5 >> 2; if (iVar4 != 0) { do { iVar1 = *piVar5; @@ -559687,11 +560538,8 @@ void __thiscall Entity_Player::ChangePlayerType(Entity_Player *this,int playerTy uint uVar15; void *pvVar16; int iVar17; - RNG RVar18; - bool bVar19; + bool bVar18; RNG local_64; - undefined8 local_60; - undefined4 local_58; int local_54; int local_50; int local_4c; @@ -559894,9 +560742,10 @@ LAB_007cecd9: if (unk == 0) { local_3c = InitTwin(this,0x14); InitPostLevelInitStats(local_3c); - local_58 = 0x17; - local_64 = *(RNG *)((int)(this->_collectibleRNGs)._begin + 0x1e20); - local_60 = 0x900000008; + local_64._shift3 = 0x17; + local_64._seed = *(uint *)((int)(this->_collectibleRNGs)._begin + 0x1e20); + local_64._shift1 = 8; + local_64._shift2 = 9; uVar15 = (this->_maxHearts + 1) / 2; uVar8 = uVar15 & 0x80000001; if ((int)uVar8 < 0) { @@ -560009,7 +560858,7 @@ LAB_007cecd9: (this->_history)._isLocked = 1; pvVar16 = (this->_history)._historyItems._begin; if (pvVar16 != (this->_history)._historyItems._end) { - RVar18 = local_64; + uVar8 = local_64._seed; do { local_40 = *(uint *)((int)pvVar16 + 8); local_2d = '\0'; @@ -560019,14 +560868,14 @@ LAB_007cecd9: if (((bVar7 != 0) && (*(int *)local_38.y != 3)) && (local_44 = (float)(local_40 * 4), 0 < *(int *)((int)(this->_collectibleCounts)._begin + (int)local_44))) { - if (RVar18 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)RVar18 >> ((byte)local_60 & 0x1f) ^ (uint)RVar18; - uVar8 = uVar8 << ((byte)((ulonglong)local_60 >> 0x20) & 0x1f) ^ uVar8; - RVar18 = (RNG)(uVar8 >> ((byte)local_58 & 0x1f) ^ uVar8); - if (((uint)RVar18 & 1) == 0) { + uVar8 = uVar8 >> ((byte)local_64._shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)local_64._shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)local_64._shift3 & 0x1f) ^ uVar8; + if ((uVar8 & 1) == 0) { piVar14 = (int *)((int)local_44 + (int)(local_3c->_collectibleCounts)._begin); *piVar14 = *piVar14 + 1; if (*(char *)((int)&(((ANM2 *)((int)local_38.y + 0x48))->_overlayAnimState). @@ -560044,26 +560893,26 @@ LAB_007cecd9: } } else { - uVar8 = local_40 & 0x7fff; + uVar15 = local_40 & 0x7fff; pvVar12 = (g_manager->_itemConfig)._trinkets._begin; - if ((int)uVar8 < (int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar12 >> 2) { - local_38.y = *(float *)((int)pvVar12 + uVar8 * 4); + if ((int)uVar15 < (int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar12 >> 2) { + local_38.y = *(float *)((int)pvVar12 + uVar15 * 4); } else { local_38.y = 0.0; } pvVar12 = (this->_smeltedTrinkets)._begin; - local_44 = (float)(uVar8 * 4); + local_44 = (float)(uVar15 * 4); if ((0 < *(short *)((int)pvVar12 + (int)local_44)) || (0 < *(short *)((int)pvVar12 + (int)local_44 + 2))) { - if (RVar18 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)RVar18 >> ((byte)local_60 & 0x1f) ^ (uint)RVar18; - uVar8 = uVar8 << ((byte)((ulonglong)local_60 >> 0x20) & 0x1f) ^ uVar8; - RVar18 = (RNG)(uVar8 >> ((byte)local_58 & 0x1f) ^ uVar8); - if (((uint)RVar18 & 1) == 0) { + uVar8 = uVar8 >> ((byte)local_64._shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)local_64._shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)local_64._shift3 & 0x1f) ^ uVar8; + if ((uVar8 & 1) == 0) { pvVar12 = (local_3c->_smeltedTrinkets)._begin; if ((*(short *)((int)pvVar12 + (int)local_44) < 1) && (*(short *)((int)pvVar12 + (int)local_44 + 2) < 1)) { @@ -560218,15 +561067,15 @@ LAB_007cf49f: } do { bVar7 = *pbVar13; - bVar19 = bVar7 < *(byte *)pEVar9; + bVar18 = bVar7 < *(byte *)pEVar9; if (bVar7 != *(byte *)pEVar9) { LAB_007cf486: - uVar8 = -(uint)bVar19 | 1; + uVar8 = -(uint)bVar18 | 1; goto LAB_007cf48b; } if (bVar7 == 0) break; bVar7 = pbVar13[1]; - bVar19 = bVar7 < (byte)pEVar9->field_0x1; + bVar18 = bVar7 < (byte)pEVar9->field_0x1; if (bVar7 != pEVar9->field_0x1) goto LAB_007cf486; pbVar13 = pbVar13 + 2; pEVar9 = (Entity_Player *)&pEVar9->field_0x2; @@ -560292,16 +561141,15 @@ LAB_007cf515: void __thiscall Entity_Player::RemoveCollectible(Entity_Player *this,int param_2) { - RNG RVar1; - byte bVar2; - int iVar3; - undefined4 *puVar4; - uint uVar5; + byte bVar1; + int iVar2; + undefined4 *puVar3; + uint uVar4; Entity_Player *extraout_ECX; Entity_Player *this_00; Entity_Player *extraout_ECX_00; - void *pvVar6; - bool bVar7; + void *pvVar5; + bool bVar6; undefined1 local_30 [4]; undefined4 local_2c; undefined4 local_28; @@ -560312,19 +561160,19 @@ void __thiscall Entity_Player::RemoveCollectible(Entity_Player *this,int param_2 undefined4 local_8; local_8 = __security_cookie ^ (uint)(local_30 + 0x2c); - iVar3 = this->_playerType; - if (param_2 == iVar3) { + iVar2 = this->_playerType; + if (param_2 == iVar2) { return; } - if (iVar3 == 0x25) { - bVar7 = param_2 == 0x27; + if (iVar2 == 0x25) { + bVar6 = param_2 == 0x27; LAB_007cf648: - if (bVar7) { + if (bVar6) { return; } } - else if (iVar3 == 0x27) { - bVar7 = param_2 == 0x25; + else if (iVar2 == 0x27) { + bVar6 = param_2 == 0x25; goto LAB_007cf648; } if (this->_twinPlayer != (EntityPtr)0x0) { @@ -560332,11 +561180,11 @@ LAB_007cf648: return; } if (param_2 == 0x13) { - if (iVar3 == 0x13) goto LAB_007cf690; + if (iVar2 == 0x13) goto LAB_007cf690; } else { if (param_2 != 0x23) goto LAB_007cf67f; - if (iVar3 == 0x23) goto LAB_007cf690; + if (iVar2 == 0x23) goto LAB_007cf690; } remove_twin(); } @@ -560345,63 +561193,63 @@ LAB_007cf67f: remove_twin(); } LAB_007cf690: - iVar3 = this->_playerType; - if (iVar3 == 0x15) { - bVar2 = HasCollectible(this,0x26b,0); + iVar2 = this->_playerType; + if (iVar2 == 0x15) { + bVar1 = HasCollectible(this,0x26b,0); (this->_history)._isLocked = 1; - pvVar6 = (this->_history)._historyItems._begin; - this_00 = (Entity_Player *)((uint)(bVar2 != 0) * 4 + 8); + pvVar5 = (this->_history)._historyItems._begin; + this_00 = (Entity_Player *)((uint)(bVar1 != 0) * 4 + 8); local_1c = this_00; - if (pvVar6 != (this->_history)._historyItems._end) { + if (pvVar5 != (this->_history)._historyItems._end) { do { - if (*(char *)((int)pvVar6 + 4) == '\0') { - uVar5 = *(uint *)((int)pvVar6 + 8); - bVar2 = CanAddCollectibleToInventory(this_00,uVar5); + if (*(char *)((int)pvVar5 + 4) == '\0') { + uVar4 = *(uint *)((int)pvVar5 + 8); + bVar1 = CanAddCollectibleToInventory(this_00,uVar4); this_00 = extraout_ECX; - if (bVar2 == 0) goto LAB_007cf6f6; + if (bVar1 == 0) goto LAB_007cf6f6; if (0 < (int)local_1c) { this_00 = (Entity_Player *)((int)&local_1c[-1]._replacedPlayer + 3); local_1c = this_00; goto LAB_007cf6f6; } - if (0 < *(int *)((int)(this->_collectibleCounts)._begin + uVar5 * 4)) { - RemoveCollectible(this,uVar5,1,0,1); + if (0 < *(int *)((int)(this->_collectibleCounts)._begin + uVar4 * 4)) { + RemoveCollectible(this,uVar4,1,0,1); } - puVar4 = (undefined4 *)std::vector::erase(local_30,pvVar6); - pvVar6 = (void *)*puVar4; + puVar3 = (undefined4 *)std::vector::erase(local_30,pvVar5); + pvVar5 = (void *)*puVar3; this_00 = extraout_ECX_00; } else { LAB_007cf6f6: - pvVar6 = (void *)((int)pvVar6 + 0x1c); + pvVar5 = (void *)((int)pvVar5 + 0x1c); } - } while (pvVar6 != (this->_history)._historyItems._end); + } while (pvVar5 != (this->_history)._historyItems._end); } (this->_history)._isLocked = 0; FUN_00721eb0(); - iVar3 = this->_playerType; + iVar2 = this->_playerType; } - if (((iVar3 == 0x25) || (iVar3 == 0x27)) && - (bVar2 = TemporaryEffects::HasNullEffect(&this->_temporaryeffects,0x6d), bVar2 == 0)) { - pvVar6 = (g_manager->_itemConfig)._nullItems._begin; - if ((int)((int)(g_manager->_itemConfig)._nullItems._end - (int)pvVar6 & 0xfffffffcU) < 0x1b5) { + if (((iVar2 == 0x25) || (iVar2 == 0x27)) && + (bVar1 = TemporaryEffects::HasNullEffect(&this->_temporaryeffects,0x6d), bVar1 == 0)) { + pvVar5 = (g_manager->_itemConfig)._nullItems._begin; + if ((int)((int)(g_manager->_itemConfig)._nullItems._end - (int)pvVar5 & 0xfffffffcU) < 0x1b5) { local_2c = 0; } else { - local_2c = *(undefined4 *)((int)pvVar6 + 0x1b4); + local_2c = *(undefined4 *)((int)pvVar5 + 0x1b4); } local_28 = 0; local_20 = 0; local_14 = 0x70000000b; - RVar1 = g_game->_devilAngelRoomRNG; + uVar4 = (g_game->_devilAngelRoomRNG)._seed; local_1c = (Entity_Player *)0xc; - if (RVar1 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar1 >> 0xb ^ (uint)RVar1; - uVar5 = uVar5 << 7 ^ uVar5; - local_24 = ((uVar5 >> 0xc ^ uVar5) % 3) * 0x1e + 100; + uVar4 = uVar4 >> 0xb ^ uVar4; + uVar4 = uVar4 << 7 ^ uVar4; + local_24 = ((uVar4 >> 0xc ^ uVar4) % 3) * 0x1e + 100; TemporaryEffects::AddEffect(&this->_temporaryeffects,&local_2c,1,1); } if (param_2 == 0x23) { @@ -560409,16 +561257,16 @@ LAB_007cf6f6: this->_canFly = 1; EvaluateItems(); } - iVar3 = this->_playerType; - if ((iVar3 < 0) || - (pvVar6 = (g_manager->_entityConfig)._players._begin, - ((int)(g_manager->_entityConfig)._players._end - (int)pvVar6) / 0x148 <= iVar3)) { - pvVar6 = (void *)0x0; + iVar2 = this->_playerType; + if ((iVar2 < 0) || + (pvVar5 = (g_manager->_entityConfig)._players._begin, + ((int)(g_manager->_entityConfig)._players._end - (int)pvVar5) / 0x148 <= iVar2)) { + pvVar5 = (void *)0x0; } else { - pvVar6 = (void *)(iVar3 * 0x148 + (int)pvVar6); + pvVar5 = (void *)(iVar2 * 0x148 + (int)pvVar5); } - SetPocketActiveItem(this,*(int *)((int)pvVar6 + 0xf0),2,0); + SetPocketActiveItem(this,*(int *)((int)pvVar5 + 0xf0),2,0); mark_all_slots_dirty(1,1); return; } @@ -560911,7 +561759,7 @@ LAB_007d021d: local_64 = (Entity_Player *)((float)local_64 + 8.0); iVar5 = *(int *)local_ac; local_a4 = (void *)((int)local_a4 + 1); - } while (local_a4 < (uint)(*(int *)((int)local_ac + 4) - iVar5 >> 4)); + } while (local_a4 < (uint)(*(int *)&local_ac->field_0x4 - iVar5 >> 4)); in_ECX = local_b4; } fVar15 = 0.0; @@ -562788,7 +563636,7 @@ void __thiscall Entity_Player::UpdateBookOfVirtues(Entity_Player *this,byte adde pvVar1 = (g_game->_itemPool)._removedCollectibles._begin; pGVar4 = g_game; if ((((*(byte *)((int)pvVar1 + 4) & 4) == 0) && (g_game->_challenge != 0x2b)) && - (0x22 < *(uint *)&(g_game->_itemPool).field_0x688)) { + (0x22 < (g_game->_itemPool)._removedCollectibles._size)) { pGVar4 = (Game *)((int)pvVar1 + 4); pGVar4->_stage = pGVar4->_stage | 4; iVar3 = this->_activeDesc[0]._item; @@ -562983,24 +563831,23 @@ undefined4 Entity_Player::try_end_astral_projection(void) float fVar1; byte bVar2; EntityPtr EVar3; - undefined4 uVar4; - undefined4 uVar5; - Game *pGVar6; - Manager *pMVar7; - void *pvVar8; + float fVar4; + Game *pGVar5; + Manager *pMVar6; + void *pvVar7; ItemConfig_Item *Item; - int iVar9; - undefined4 uVar10; - int *piVar11; - undefined4 *puVar12; - byte *pbVar13; - uint uVar14; + int iVar8; + undefined4 uVar9; + int *piVar10; + float *pfVar11; + byte *pbVar12; + uint uVar13; Entity_Player *in_ECX; - int iVar15; - char *pcVar16; - bool bVar17; - float fVar18; - double dVar19; + int iVar14; + char *pcVar15; + bool bVar16; + float fVar17; + double dVar18; undefined1 auStack_f4 [20]; int iStack_e0; float local_d4; @@ -563039,25 +563886,25 @@ undefined4 Entity_Player::try_end_astral_projection(void) local_44 = __security_cookie ^ (uint)auStack_f4; if ((((in_ECX->_temporaryeffects)._disabled != 0) || - (pvVar8 = TemporaryEffects::GetCollectibleEffect(&in_ECX->_temporaryeffects,0x2a5), - pvVar8 == (void *)0x0)) || (*(int *)((int)pvVar8 + 4) != 1)) { + (pvVar7 = TemporaryEffects::GetCollectibleEffect(&in_ECX->_temporaryeffects,0x2a5), + pvVar7 == (void *)0x0)) || (*(int *)((int)pvVar7 + 4) != 1)) { return 0; } - pvVar8 = (g_manager->_itemConfig)._collectibles._begin; - if ((0xa94 < (int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar8 & 0xfffffffcU)) - && (fVar18 = *(float *)((int)pvVar8 + 0xa94), fVar18 != 0.0)) { - local_a0 = *(float *)((int)fVar18 + 0x78); + pvVar7 = (g_manager->_itemConfig)._collectibles._begin; + if ((0xa94 < (int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar7 & 0xfffffffcU)) + && (fVar17 = *(float *)((int)pvVar7 + 0xa94), fVar17 != 0.0)) { + local_a0 = *(float *)((int)fVar17 + 0x78); local_a4 = 0.0; local_9c = 0.0; - local_a8 = fVar18; + local_a8 = fVar17; TemporaryEffects::AddEffect(&in_ECX->_temporaryeffects,&local_a8,1,1); } - pvVar8 = (g_manager->_itemConfig)._collectibles._begin; - if ((int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar8 & 0xfffffffcU) < 0xa95) { + pvVar7 = (g_manager->_itemConfig)._collectibles._begin; + if ((int)((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar7 & 0xfffffffcU) < 0xa95) { Item = (ItemConfig_Item *)0x0; } else { - Item = *(ItemConfig_Item **)((int)pvVar8 + 0xa94); + Item = *(ItemConfig_Item **)((int)pvVar7 + 0xa94); } RemoveCostume(in_ECX,Item); EVar3 = in_ECX->_astralProjectionBody; @@ -563066,28 +563913,28 @@ undefined4 Entity_Player::try_end_astral_projection(void) local_d0 = *(float *)((int)EVar3 + 0x340) - (in_ECX->_pos).y; local_cc = local_d4 * 0.1; local_c8 = local_d0 * 0.1; - fVar18 = local_cc * local_cc + local_c8 * local_c8; + fVar17 = local_cc * local_cc + local_c8 * local_c8; local_bc.x = local_cc; local_bc.y = local_c8; sqrtf(); - if ((4.0 < fVar18) && (0.0 < fVar18)) { - local_bc.y = (4.0 / fVar18) * local_c8; - local_bc.x = (4.0 / fVar18) * local_cc; + if ((4.0 < fVar17) && (0.0 < fVar17)) { + local_bc.y = (4.0 / fVar17) * local_c8; + local_bc.x = (4.0 / fVar17) * local_cc; } - fVar18 = local_d0 * local_d0 + local_d4 * local_d4; + fVar17 = local_d0 * local_d0 + local_d4 * local_d4; sqrtf(); - local_d4 = fVar18 / 20.0; - dVar19 = floor((double)local_d4); - local_d4 = (float)dVar19; - iVar15 = (int)dVar19; - if (iVar15 < 4) { - iVar15 = 4; + local_d4 = fVar17 / 20.0; + dVar18 = floor((double)local_d4); + local_d4 = (float)dVar18; + iVar14 = (int)dVar18; + if (iVar14 < 4) { + iVar14 = 4; } - if (0xc < iVar15) { - iVar15 = 0xc; + if (0xc < iVar14) { + iVar14 = 0xc; } - if (0 < iVar15) { - local_c0 = (float)(iVar15 + 1); + if (0 < iVar14) { + local_c0 = (float)(iVar14 + 1); local_ac = 0; do { local_ac = local_ac + 1; @@ -563096,26 +563943,26 @@ undefined4 Entity_Player::try_end_astral_projection(void) local_c4 = *(float *)((int)in_ECX->_astralProjectionBody + 0x340); local_d4 = (in_ECX->_pos).x; local_b0 = (in_ECX->_pos).y; - iVar9 = Random(); - local_c8 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 + iVar8 = Random(); + local_c8 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 3.14; local_c8 = local_c8 + local_c8; - iVar9 = Random(); - local_cc = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 + iVar8 = Random(); + local_cc = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 ; - fVar18 = local_c8; + fVar17 = local_c8; cos(); - local_a8 = fVar18 * local_cc * 15.0 + (local_b4 - local_d4) * local_d0 + local_d4; - fVar18 = local_c8; + local_a8 = fVar17 * local_cc * 15.0 + (local_b4 - local_d4) * local_d0 + local_d4; + fVar17 = local_c8; sin(); - local_a4 = fVar18 * local_cc * 15.0 + (local_c4 - local_b0) * local_d0 + local_b0; - uVar10 = Random(); - iVar9 = Random(); - local_78 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 + local_a4 = fVar17 * local_cc * 15.0 + (local_c4 - local_b0) * local_d0 + local_b0; + uVar9 = Random(); + iVar8 = Random(); + local_78 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 0.5 + 0.5; local_74 = local_78 * local_bc.y; local_78 = local_78 * local_bc.x; - piVar11 = (int *)Game::SpawnEx(g_game,1000,0x6f,&local_a8,&local_78,0,0,uVar10,0); + piVar10 = (int *)Game::SpawnEx(g_game,1000,0x6f,&local_a8,&local_78,0,0,uVar9,0); local_50 = 0x3f8000003f800000; local_60 = 0.0; fStack_5c = 0.0; @@ -563126,22 +563973,22 @@ undefined4 Entity_Player::try_end_astral_projection(void) fStack_68 = 1.0; fStack_64 = 1.0; local_48 = 1.0; - (**(code **)(*piVar11 + 0x3c))(&local_70,0xffffffff,0xff); + (**(code **)(*piVar10 + 0x3c))(&local_70,0xffffffff,0xff); local_c4 = local_d0 * g_vectorOne.x; local_d0 = local_d0 * g_vectorOne.y; - iVar9 = Random(); - fVar18 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * + iVar8 = Random(); + fVar17 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 0.3 + 0.3; - piVar11[0x3a] = (int)(local_d0 * fVar18); - piVar11[0x39] = (int)(fVar18 * local_c4); - fVar18 = (in_ECX->_posOffset).y; + piVar10[0x3a] = (int)(local_d0 * fVar17); + piVar10[0x39] = (int)(fVar17 * local_c4); + fVar17 = (in_ECX->_posOffset).y; fVar1 = (in_ECX->_sprite)._scale.y; - piVar11[0xd3] = (int)((in_ECX->_posOffset).x + 0.0); - piVar11[0xd4] = (int)(fVar18 - fVar1 * 16.0); - } while (local_ac < iVar15); + piVar10[0xd3] = (int)((in_ECX->_posOffset).x + 0.0); + piVar10[0xd4] = (int)(fVar17 - fVar1 * 16.0); + } while (local_ac < iVar14); } - uVar10 = Random(); - piVar11 = (int *)Game::SpawnEx(g_game,1000,0x10,&in_ECX->_pos,&local_bc,0,10,uVar10,0); + uVar9 = Random(); + piVar10 = (int *)Game::SpawnEx(g_game,1000,0x10,&in_ECX->_pos,&local_bc,0,10,uVar9,0); local_70 = 1.0; fStack_6c = 1.0; fStack_68 = 1.0; @@ -563152,11 +563999,11 @@ undefined4 Entity_Player::try_end_astral_projection(void) fStack_54 = 1.0; local_50 = 0; local_48 = 0.0; - (**(code **)(*piVar11 + 0x3c))(&local_70,0xffffffff,0xff,0,1); - piVar11[0xd3] = (int)(in_ECX->_posOffset).x; - piVar11[0xd4] = (int)(in_ECX->_posOffset).y; - piVar11[0x39] = (int)(in_ECX->_sprite)._scale.x; - piVar11[0x3a] = (int)(in_ECX->_sprite)._scale.y; + (**(code **)(*piVar10 + 0x3c))(&local_70,0xffffffff,0xff,0,1); + piVar10[0xd3] = (int)(in_ECX->_posOffset).x; + piVar10[0xd4] = (int)(in_ECX->_posOffset).y; + piVar10[0x39] = (int)(in_ECX->_sprite)._scale.x; + piVar10[0x3a] = (int)(in_ECX->_sprite)._scale.y; (in_ECX->_velocity).x = g_vectorZero.x; (in_ECX->_velocity).y = g_vectorZero.y; local_bc.x = *(float *)((int)in_ECX->_astralProjectionBody + 0x33c); @@ -563197,67 +564044,73 @@ undefined4 Entity_Player::try_end_astral_projection(void) fStack_54 = fStack_8c; local_50 = uStack_88; (**(code **)(*(int *)in_ECX + 0x3c))(&local_70,8,0xff,1,1); - pGVar6 = g_game; + pGVar5 = g_game; g_game->_bloomDuration = 10; - pGVar6->_bloomTimer = 10; - pGVar6->_bloomStrength = 0.6; - puVar12 = (undefined4 *)Room::get_color_modifier(&local_bc); - pGVar6 = g_game; - uVar10 = puVar12[1]; - uVar4 = puVar12[2]; - uVar5 = puVar12[3]; - g_game->_targetColorModifier = *puVar12; - *(undefined4 *)&pGVar6->field_0x676d4 = uVar10; - *(undefined4 *)&pGVar6->field_0x676d8 = uVar4; - *(undefined4 *)&pGVar6->field_0x676dc = uVar5; - *(undefined8 *)&pGVar6->field_0x676e0 = *(undefined8 *)(puVar12 + 4); - pGVar6->_currentColorModifier = pGVar6->_targetColorModifier; - *(undefined4 *)&pGVar6->field_0x676bc = *(undefined4 *)&pGVar6->field_0x676d4; - *(undefined4 *)&pGVar6->field_0x676c0 = *(undefined4 *)&pGVar6->field_0x676d8; - *(undefined4 *)&pGVar6->field_0x676c4 = *(undefined4 *)&pGVar6->field_0x676dc; - fVar18 = *(float *)&pGVar6->field_0x676e0; - *(float *)&pGVar6->field_0x676c8 = fVar18; - *(undefined4 *)&pGVar6->field_0x676cc = *(undefined4 *)&pGVar6->field_0x676e4; - pGVar6->_shouldLerpColorModState = 0; + pGVar5->_bloomTimer = 10; + pGVar5->_bloomStrength = 0.6; + pfVar11 = (float *)Room::get_color_modifier(&local_bc); + pGVar5 = g_game; + fVar17 = pfVar11[1]; + fVar1 = pfVar11[2]; + fVar4 = pfVar11[3]; + (g_game->_targetColorModifier)._red = *pfVar11; + (pGVar5->_targetColorModifier)._green = fVar17; + (pGVar5->_targetColorModifier)._blue = fVar1; + (pGVar5->_targetColorModifier)._amount = fVar4; + fVar17 = pfVar11[5]; + (pGVar5->_targetColorModifier)._brightness = pfVar11[4]; + (pGVar5->_targetColorModifier)._contrast = fVar17; + fVar17 = (pGVar5->_targetColorModifier)._green; + fVar1 = (pGVar5->_targetColorModifier)._blue; + fVar4 = (pGVar5->_targetColorModifier)._amount; + (pGVar5->_currentColorModifier)._red = (pGVar5->_targetColorModifier)._red; + (pGVar5->_currentColorModifier)._green = fVar17; + (pGVar5->_currentColorModifier)._blue = fVar1; + (pGVar5->_currentColorModifier)._amount = fVar4; + fVar17 = (pGVar5->_targetColorModifier)._brightness; + fVar1 = (pGVar5->_targetColorModifier)._contrast; + (pGVar5->_currentColorModifier)._brightness = fVar17; + (pGVar5->_currentColorModifier)._contrast = fVar1; + pGVar5->_shouldLerpColorModState = 0; try_trigger_astral_projection(); if (in_ECX->_dead == 0) { - iVar15 = in_ECX->_damageCooldown; - if (iVar15 < 0x78) { - iVar15 = 0x78; + iVar14 = in_ECX->_damageCooldown; + if (iVar14 < 0x78) { + iVar14 = 0x78; } - in_ECX->_damageCooldown = iVar15; + in_ECX->_damageCooldown = iVar14; } else { - pcVar16 = "Death"; - pbVar13 = GetDeathAnimName(in_ECX); + pcVar15 = "Death"; + pbVar12 = GetDeathAnimName(in_ECX); do { - bVar2 = *pbVar13; - bVar17 = bVar2 < (byte)*pcVar16; - if (bVar2 != *pcVar16) { + bVar2 = *pbVar12; + bVar16 = bVar2 < (byte)*pcVar15; + if (bVar2 != *pcVar15) { LAB_007d3d20: - uVar14 = -(uint)bVar17 | 1; + uVar13 = -(uint)bVar16 | 1; goto LAB_007d3d25; } if (bVar2 == 0) break; - bVar2 = pbVar13[1]; - bVar17 = bVar2 < (byte)pcVar16[1]; - if (bVar2 != pcVar16[1]) goto LAB_007d3d20; - pbVar13 = pbVar13 + 2; - pcVar16 = pcVar16 + 2; + bVar2 = pbVar12[1]; + bVar16 = bVar2 < (byte)pcVar15[1]; + if (bVar2 != pcVar15[1]) goto LAB_007d3d20; + pbVar12 = pbVar12 + 2; + pcVar15 = pcVar15 + 2; } while (bVar2 != 0); - uVar14 = 0; + uVar13 = 0; LAB_007d3d25: - if (uVar14 == 0) { + if (uVar13 == 0) { PlayExtraAnimation(); if ((in_ECX->_sprite)._animState._animData != (void *)0x0) { AnimationState::SetFrameFloat(&(in_ECX->_sprite)._animState); } get_voice_pitch(); - pMVar7 = g_manager; + pMVar6 = g_manager; iStack_e0 = 0xd9; - local_d4 = fVar18; + local_d4 = fVar17; seed_fart_sound_override(); - SoundEffects::Play(&pMVar7->_sfxManager,iStack_e0,1.0,2,0,local_d4,0.0); + SoundEffects::Play(&pMVar6->_sfxManager,iStack_e0,1.0,2,0,local_d4,0.0); return 1; } } @@ -563459,7 +564312,7 @@ Entity_Player::SetPocketActiveItem(Entity_Player *this,int collectible,int slot, if (collectible == 0x1e4) { ItemPool::RemoveCollectible(0x126,0,0); } - if ((uint)collectible < *(uint *)&(pGVar2->_itemPool).field_0x688) { + if ((uint)collectible < (pGVar2->_itemPool)._removedCollectibles._size) { puVar1 = (uint *)((int)(pGVar2->_itemPool)._removedCollectibles._begin + ((uint)collectible >> 5) * 4); *puVar1 = *puVar1 | 1 << (collectible & 0x1fU); @@ -563566,11 +564419,7 @@ void Entity_Player::update_suplex(void) NPCAI_Pathfinder local_7a8; int local_60 [2]; undefined4 local_58; - undefined1 auStack_54 [24]; - float fStack_3c; - float local_38; - undefined4 local_34; - void *local_30; + EntityRef EStack_54; uint local_2c [2]; char local_24 [4]; int local_20; @@ -563659,17 +564508,17 @@ LAB_007d44b8: do { piVar3 = *(int **)(iVar11 + (int)piVar15 * 4); if ((Entity_Player *)piVar3[0x104] == in_ECX) { - auStack_54._16_4_ = g_vectorZero.x; - fStack_3c = g_vectorZero.x; - auStack_54._20_4_ = g_vectorZero.y; - local_38 = g_vectorZero.y; - auStack_54._0_4_ = 0; - auStack_54._4_4_ = 0; - auStack_54._8_4_ = 0; - auStack_54._12_4_ = 0; - local_34 = 0; - local_30 = (void *)0x0; - (**(code **)(*piVar3 + 0x24))(auStack_54); + EStack_54._position.x = g_vectorZero.x; + EStack_54._velocity.x = g_vectorZero.x; + EStack_54._position.y = g_vectorZero.y; + EStack_54._velocity.y = g_vectorZero.y; + EStack_54._type = 0; + EStack_54._variant = 0; + EStack_54._spawnerType = 0; + EStack_54._spawnerVariant = 0; + EStack_54._flags = 0; + EStack_54._entity = (void *)0x0; + (**(code **)(*piVar3 + 0x24))(&EStack_54); iVar11 = local_20; } piVar15 = (int *)((int)piVar15 + 1); @@ -563913,14 +564762,14 @@ LAB_007d44b8: (local_7ac->_sprite)._scale.y = fVar19 * g_vectorOne.y; (local_7ac->_sprite)._scale.x = fVar17; uVar12 = Random(); - local_38 = 0.0; - local_34 = 0; + EStack_54._velocity.y = 0.0; + EStack_54._flags = 0; fVar17 = (float)(uVar12 % 0x28 + 0x28); - local_30 = (void *)0x0; - auStack_54._12_4_ = 0; - auStack_54._16_4_ = 0.0; - auStack_54._20_4_ = 0.0; - fStack_3c = 0.0; + EStack_54._entity = (void *)0x0; + EStack_54._spawnerVariant = 0; + EStack_54._position.x = 0.0; + EStack_54._position.y = 0.0; + EStack_54._velocity.x = 0.0; iVar11 = *(int *)local_7ac; (local_7ac->_bodySprite)._animState._animFrame = fVar17; *(float *)&(local_7ac->_bodySprite)._animState._isPlaying = fVar17; @@ -563928,9 +564777,9 @@ LAB_007d44b8: auVar35._8_4_ = &local_58; auVar35._12_4_ = 0xffffffff; local_58 = 0x3ee66666; - auStack_54._0_4_ = 0x3ee66666; - auStack_54._4_4_ = 0x3eeb851f; - auStack_54._8_4_ = 0x3f400000; + EStack_54._type = 0x3ee66666; + EStack_54._variant = 0x3eeb851f; + EStack_54._spawnerType = 0x3f400000; auVar31._8_8_ = auVar35._8_8_; auVar31._0_8_ = 0x7d4bcb00000000; (**(code **)(iVar11 + 0x3c))(); @@ -563955,7 +564804,7 @@ LAB_007d44b8: local_18 = in_ECX->_heldEntity; if (local_18 != (int *)0x0) { pcVar4 = *(code **)(*local_18 + 0x20); - EntityRef::constructor((EntityRef *)auStack_54,(Entity *)in_ECX); + EntityRef::constructor(&EStack_54,(Entity *)in_ECX); (*pcVar4)(); pvVar2 = in_ECX->_heldEntity; if (*(int *)((int)pvVar2 + 0x28) == 4) { @@ -564088,8 +564937,6 @@ uint Entity_Player::bag_of_crafting_collect(Entity_Pickup *param_1) undefined4 local_24; undefined4 local_20; RNG local_1c; - undefined8 local_18; - float local_10; uint local_c; undefined1 auStack_8 [4]; @@ -564165,9 +565012,10 @@ uint Entity_Player::bag_of_crafting_collect(Entity_Pickup *param_1) goto LAB_007d54dd; } if (((uVar14 == 2) || (uVar14 == 1)) || (uVar14 == 5)) { - local_18 = 0x1300000001; - local_1c = (RNG)local_4c->_initSeed; - local_10 = 4.2039e-45; + local_1c._shift1 = 1; + local_1c._shift2 = 0x13; + local_1c._seed = local_4c->_initSeed; + local_1c._shift3 = 3; uVar6 = RNG::RandomInt(&local_1c,8); if (uVar6 != 0) goto LAB_007d5282; uVar14 = 6; @@ -564310,9 +565158,9 @@ LAB_007d54e0: uVar6 = uVar6 + 1; } while (uVar6 < 2); uVar8 = Random(); - local_10 = (pEVar13->_pos).y; - local_18 = CONCAT44((pEVar13->_pos).x,(undefined4)local_18); - local_50 = (ANM2 *)Game::Spawn(1000,0xf,(int)&local_18 + 4,&g_vectorZero,0,1,uVar8); + local_1c._shift3 = (int)(pEVar13->_pos).y; + local_1c._shift2 = (int)(pEVar13->_pos).x; + local_50 = (ANM2 *)Game::Spawn(1000,0xf,&local_1c._shift2,&g_vectorZero,0,1,uVar8); if (bVar2) { local_28 = 0; local_38 = 0; @@ -564400,8 +565248,7 @@ LAB_007d5675: } else { puVar10 = (undefined4 *) - CalculateBagOfCraftingOutput((int)&local_18 + 4,in_ECX->_bagOfCraftingContent,pEVar13) - ; + CalculateBagOfCraftingOutput(&local_1c._shift2,in_ECX->_bagOfCraftingContent,pEVar13); uVar8 = *puVar10; *(undefined4 *)&in_ECX->field_0x1f50 = puVar10[1]; pHVar11 = &g_game->_hud; @@ -564459,22 +565306,23 @@ void Entity_Player::tainted_cain_pedestal_burst { void *pvVar1; - uint uVar2; - bool bVar3; - byte bVar4; - uint uVar5; - Game *pGVar6; - uint *puVar7; - int iVar8; - byte bVar9; + RNG rng; + bool bVar2; + byte bVar3; + uint uVar4; + Game *pGVar5; + uint *puVar6; + byte bVar7; Entity_Player *in_ECX; - uint *puVar10; + uint uVar8; + uint *puVar9; + WeightedOutcomePicker WVar10; undefined4 *puVar11; undefined4 uVar12; - Entity_Player *pEVar13; - uint *puVar14; - undefined1 *puVar15; - longlong lVar16; + int iVar13; + Entity_Player *pEVar14; + uint *puVar15; + undefined1 *puVar16; undefined1 local_d4 [8]; undefined1 local_cc [8]; undefined1 local_c4 [8]; @@ -564515,25 +565363,25 @@ void Entity_Player::tainted_cain_pedestal_burst local_84 = 0x19; if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n",local_14); } param_3 = param_3 >> 2 ^ param_3; param_3 = param_3 << 7 ^ param_3; param_3 = param_3 >> 0x19 ^ param_3; - uVar5 = (param_3 & 3) + 3; + uVar4 = (param_3 & 3) + 3; local_7c = 4; - if (4 < uVar5) { - local_7c = uVar5; + if (4 < uVar4) { + local_7c = uVar4; } if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n",local_14); } param_3 = param_3 >> 2 ^ param_3; param_3 = param_3 << 7 ^ param_3; param_3 = param_3 >> 0x19 ^ param_3; local_9c = in_ECX; - if ((param_3 % 3 != 0) && (bVar4 = HasTrinket(in_ECX,0x2a,0), bVar4 != 0)) { + if ((param_3 % 3 != 0) && (bVar3 = HasTrinket(in_ECX,0x2a,0), bVar3 != 0)) { local_7c = local_7c + 1; } local_28[0] = 0x2d; @@ -564543,38 +565391,38 @@ void Entity_Player::tainted_cain_pedestal_burst local_18 = (uint *)0x24; local_a0 = 0.0; LAB_007d5a10: - uVar5 = local_28[(int)local_a0]; + uVar4 = local_28[(int)local_a0]; local_80 = g_game; pvVar1 = (g_manager->_itemConfig)._trinkets._begin; - if ((((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar1 >> 2 <= (int)(uVar5 & 0x7fff)) || - (iVar8 = *(int *)((int)pvVar1 + (uVar5 & 0x7fff) * 4), iVar8 == 0)) || - (local_71 = '\x01', (*(uint *)(iVar8 + 0xb8) & 0x80000000) == 0)) { + if ((((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar1 >> 2 <= (int)(uVar4 & 0x7fff)) || + (iVar13 = *(int *)((int)pvVar1 + (uVar4 & 0x7fff) * 4), iVar13 == 0)) || + (local_71 = '\x01', (*(uint *)(iVar13 + 0xb8) & 0x80000000) == 0)) { local_71 = '\0'; } puVar11 = (g_game->_playerManager)._playerList._begin; - local_78 = uVar5; + local_78 = uVar4; if (puVar11 != (g_game->_playerManager)._playerList._end) { - pGVar6 = g_game; + pGVar5 = g_game; do { - pEVar13 = (Entity_Player *)*puVar11; - if (pEVar13->_variant == 0) { - bVar4 = HasTrinket(pEVar13,uVar5,0); - if (bVar4 == 0) { - if (((local_71 == '\0') || (pEVar13->_backupPlayer == (Entity_Player *)0x0)) || - (bVar4 = HasTrinket(pEVar13->_backupPlayer,local_78,0), bVar4 == 0)) { - pGVar6 = local_80; - uVar5 = local_78; + pEVar14 = (Entity_Player *)*puVar11; + if (pEVar14->_variant == 0) { + bVar3 = HasTrinket(pEVar14,uVar4,0); + if (bVar3 == 0) { + if (((local_71 == '\0') || (pEVar14->_backupPlayer == (Entity_Player *)0x0)) || + (bVar3 = HasTrinket(pEVar14->_backupPlayer,local_78,0), bVar3 == 0)) { + pGVar5 = local_80; + uVar4 = local_78; goto LAB_007d5aae; } - pEVar13 = pEVar13->_backupPlayer; + pEVar14 = pEVar14->_backupPlayer; } - if (pEVar13 != (Entity_Player *)0x0) { + if (pEVar14 != (Entity_Player *)0x0) { if (local_78 != 0x22) goto LAB_007d5bde; local_80 = g_game; pvVar1 = (g_manager->_itemConfig)._trinkets._begin; if ((((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar1 >> 2 < 0x17) || - (iVar8 = *(int *)((int)pvVar1 + 0x58), iVar8 == 0)) || - ((*(uint *)(iVar8 + 0xb8) & 0x80000000) == 0)) { + (iVar13 = *(int *)((int)pvVar1 + 0x58), iVar13 == 0)) || + ((*(uint *)(iVar13 + 0xb8) & 0x80000000) == 0)) { local_71 = '\0'; } else { @@ -564588,23 +565436,23 @@ LAB_007d5a10: } LAB_007d5aae: puVar11 = puVar11 + 1; - } while (puVar11 != (pGVar6->_playerManager)._playerList._end); + } while (puVar11 != (pGVar5->_playerManager)._playerList._end); } goto LAB_007d5c4e; LAB_007d5b33: do { - pEVar13 = (Entity_Player *)*puVar11; - if (pEVar13->_variant == 0) { - bVar4 = HasTrinket(pEVar13,0x16,0); - if (bVar4 == 0) { - if (((local_71 == '\0') || (pEVar13->_backupPlayer == (Entity_Player *)0x0)) || - (bVar4 = HasTrinket(pEVar13->_backupPlayer,0x16,0), bVar4 == 0)) goto LAB_007d5b66; - pEVar13 = pEVar13->_backupPlayer; + pEVar14 = (Entity_Player *)*puVar11; + if (pEVar14->_variant == 0) { + bVar3 = HasTrinket(pEVar14,0x16,0); + if (bVar3 == 0) { + if (((local_71 == '\0') || (pEVar14->_backupPlayer == (Entity_Player *)0x0)) || + (bVar3 = HasTrinket(pEVar14->_backupPlayer,0x16,0), bVar3 == 0)) goto LAB_007d5b66; + pEVar14 = pEVar14->_backupPlayer; } - if (pEVar13 != (Entity_Player *)0x0) { + if (pEVar14 != (Entity_Player *)0x0) { if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } param_3 = param_3 >> ((byte)local_94 & 0x1f) ^ param_3; param_3 = param_3 << ((byte)((ulonglong)local_94 >> 0x20) & 0x1f) ^ param_3; @@ -564617,25 +565465,25 @@ LAB_007d5b66: puVar11 = puVar11 + 1; } while (puVar11 != (local_80->_playerManager)._playerList._end); LAB_007d5bde: - uVar2 = local_78; - iVar8 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,local_78); - uVar5 = 0x21; - if (iVar8 == 2) { - uVar5 = 0x42; + uVar8 = local_78; + iVar13 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,local_78); + uVar4 = 0x21; + if (iVar13 == 2) { + uVar4 = 0x42; } - else if (2 < iVar8) { - uVar5 = 100; + else if (2 < iVar13) { + uVar4 = 100; } if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } param_3 = param_3 >> ((byte)local_94 & 0x1f) ^ param_3; param_3 = param_3 << ((byte)((ulonglong)local_94 >> 0x20) & 0x1f) ^ param_3; param_3 = param_3 >> ((byte)local_84 & 0x1f) ^ param_3; - if (param_3 % 100 < uVar5) { + if (param_3 % 100 < uVar4) { uVar12 = 10; - switch(uVar2) { + switch(uVar8) { case 0x24: uVar12 = 0x1e; break; @@ -564648,18 +565496,18 @@ LAB_007d5bde: case 0x2d: uVar12 = 300; } - Isaac::GetRandomPickupVelocity(); - puVar14 = (uint *)(uVar2 * 0x10 + (int)(local_9c->_trinketRNGs)._begin); - uVar5 = *puVar14; - if (uVar5 == 0) { + Isaac::GetRandomPickupVelocity(0,0); + puVar15 = (uint *)(uVar8 * 0x10 + (int)(local_9c->_trinketRNGs)._begin); + uVar4 = *puVar15; + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = uVar5 >> ((byte)puVar14[1] & 0x1f) ^ uVar5; - uVar5 = uVar5 << ((byte)puVar14[2] & 0x1f) ^ uVar5; - uVar5 = uVar5 >> ((byte)puVar14[3] & 0x1f) ^ uVar5; - *puVar14 = uVar5; - Game::Spawn(5,uVar12,local_88,&local_a8,0,0,uVar5); + uVar4 = uVar4 >> ((byte)puVar15[1] & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)puVar15[2] & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)puVar15[3] & 0x1f) ^ uVar4; + *puVar15 = uVar4; + Game::Spawn(5,uVar12,local_88,&local_a8,0,0,uVar4); goto LAB_007d5d1e; } LAB_007d5c4e: @@ -564667,9 +565515,9 @@ LAB_007d5c4e: if (4 < (uint)local_a0) goto LAB_007d5d1e; goto LAB_007d5a10; LAB_007d5d1e: - pEVar13 = local_9c; - bVar4 = HasCollectible(local_9c,0x26b,0); - if ((bVar4 != 0) && (pEVar13->_playerType == 0x17)) { + pEVar14 = local_9c; + bVar3 = HasCollectible(local_9c,0x26b,0); + if ((bVar3 != 0) && (pEVar14->_playerType == 0x17)) { local_7c = local_7c * 2; } local_80 = (Game *)0x0; @@ -564678,37 +565526,37 @@ LAB_007d5d1e: local_ac = local_7c; if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } param_3 = param_3 >> ((byte)local_94 & 0x1f) ^ param_3; - bVar4 = (byte)((ulonglong)local_94 >> 0x20); - param_3 = param_3 << (bVar4 & 0x1f) ^ param_3; - bVar9 = (byte)local_84; - param_3 = param_3 >> (bVar9 & 0x1f) ^ param_3; + bVar3 = (byte)((ulonglong)local_94 >> 0x20); + param_3 = param_3 << (bVar3 & 0x1f) ^ param_3; + bVar7 = (byte)local_84; + param_3 = param_3 >> (bVar7 & 0x1f) ^ param_3; local_a0 = (float)((double)(int)param_3 + __uint_to_double_fixup[-((int)param_3 >> 0x1f)]) * 2.3283062e-10; if (local_80 != (Game *)0x0) goto LAB_007d6248; if (param_4 == -1) { if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } param_3 = param_3 >> ((byte)local_94 & 0x1f) ^ param_3; - param_3 = param_3 << (bVar4 & 0x1f) ^ param_3; - param_3 = param_3 >> (bVar9 & 0x1f) ^ param_3; + param_3 = param_3 << (bVar3 & 0x1f) ^ param_3; + param_3 = param_3 >> (bVar7 & 0x1f) ^ param_3; param_4 = ItemPool::GetPoolForRoom (&g_game->_itemPool,*(uint *)((int)g_game->_room + 8),param_3); } - pEVar13 = local_9c; + pEVar14 = local_9c; switch(param_4) { case 3: case 0x13: - uVar5 = 10; + uVar4 = 10; local_78 = 6; break; case 4: case 0x14: - uVar5 = 10; + uVar4 = 10; local_78 = 4; break; case 5: @@ -564716,39 +565564,39 @@ LAB_007d5d1e: if (((g_manager->_persistentGameData)._achievements[0x187] == 0) && (((g_manager->_state != 2 || (g_game == (Game *)0x0)) || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))) { - bVar3 = false; + bVar2 = false; } else { - bVar3 = true; + bVar2 = true; } - uVar5 = 10; + uVar4 = 10; local_78 = 0xb; - if (!bVar3) { - uVar5 = 0; + if (!bVar2) { + uVar4 = 0; local_78 = 0; } goto LAB_007d61d0; default: local_70[0] = 10; local_70[1] = 3; - bVar4 = HasTrinket(local_9c,0x16,0); - if (bVar4 == 0) { + bVar3 = HasTrinket(local_9c,0x16,0); + if (bVar3 == 0) { LAB_007d6039: local_70[2] = 10; } else { - pvVar1 = (pEVar13->_trinketRNGs)._begin; - uVar5 = *(uint *)((int)pvVar1 + 0x160); - if (uVar5 == 0) { + pvVar1 = (pEVar14->_trinketRNGs)._begin; + uVar4 = *(uint *)((int)pvVar1 + 0x160); + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = uVar5 >> ((byte)*(undefined4 *)((int)pvVar1 + 0x164) & 0x1f) ^ uVar5; + uVar4 = uVar4 >> ((byte)*(undefined4 *)((int)pvVar1 + 0x164) & 0x1f) ^ uVar4; local_70[2] = 0; - uVar5 = uVar5 << ((byte)*(undefined4 *)((int)pvVar1 + 0x168) & 0x1f) ^ uVar5; - uVar5 = uVar5 >> ((byte)*(undefined4 *)((int)pvVar1 + 0x16c) & 0x1f) ^ uVar5; - *(uint *)((int)pvVar1 + 0x160) = uVar5; - if (uVar5 % 5 == 0) goto LAB_007d6039; + uVar4 = uVar4 << ((byte)*(undefined4 *)((int)pvVar1 + 0x168) & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)*(undefined4 *)((int)pvVar1 + 0x16c) & 0x1f) ^ uVar4; + *(uint *)((int)pvVar1 + 0x160) = uVar4; + if (uVar4 % 5 == 0) goto LAB_007d6039; } local_70[3] = 0x14; local_70[4] = 2; @@ -564769,8 +565617,8 @@ LAB_007d6039: else { local_70[0xe] = 1; } - puVar10 = (uint *)0x0; - puVar7 = (uint *)0x0; + puVar9 = (uint *)0x0; + puVar6 = (uint *)0x0; local_34 = 0; local_30 = 0; local_2c = 0x1e; @@ -564778,46 +565626,55 @@ LAB_007d6039: puStack_1c = (uint *)0x0; local_18 = (uint *)0x0; local_8 = 0; - puVar14 = local_70 + 2; - uVar5 = 0; + puVar15 = local_70 + 2; + uVar4 = 0; do { - uVar2 = *puVar14; - if (0 < (int)uVar2) { - local_a8 = uVar5; - local_a4 = uVar2; - if (puVar7 == puVar10) { - std::vector<8byte>::_Emplace_reallocate(); - puVar7 = puStack_1c; - puVar10 = local_18; + uVar8 = *puVar15; + if (0 < (int)uVar8) { + local_a8 = uVar4; + local_a4 = uVar8; + if (puVar6 == puVar9) { + std::vector<8byte>::_Emplace_reallocate(puVar6,&local_a8); + puVar6 = puStack_1c; + puVar9 = local_18; } else { - *puVar7 = uVar5; - puVar7[1] = uVar2; - puStack_1c = puVar7 + 2; - puVar7 = puVar7 + 2; + *puVar6 = uVar4; + puVar6[1] = uVar8; + puStack_1c = puVar6 + 2; + puVar6 = puVar6 + 2; } } - uVar5 = uVar5 + 1; - puVar14 = puVar14 + 3; - } while (uVar5 < 6); + uVar4 = uVar4 + 1; + puVar15 = puVar15 + 3; + } while (uVar4 < 6); if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } param_3 = param_3 >> ((byte)local_94 & 0x1f) ^ param_3; param_3 = param_3 << ((byte)((ulonglong)local_94 >> 0x20) & 0x1f) ^ param_3; param_3 = param_3 >> ((byte)local_84 & 0x1f) ^ param_3; - iVar8 = WeightedOutcomePicker::PickOutcome(&WStack_20,param_3,0x900000005,7); - local_78 = local_70[iVar8 * 3 + 1]; - uVar5 = local_70[iVar8 * 3]; + rng._shift1 = 5; + rng._seed = param_3; + rng._shift2 = 9; + rng._shift3 = 7; + uVar4 = WeightedOutcomePicker::PickOutcome(&WStack_20,rng); + local_78 = local_70[uVar4 * 3 + 1]; + uVar4 = local_70[uVar4 * 3]; local_8 = 0xffffffff; if (WStack_20 != (WeightedOutcomePicker)0x0) { - if ((0xfff < ((int)local_18 - (int)WStack_20 & 0xfffffff8U)) && - (0x1f < ((int)WStack_20 - *(int *)((int)WStack_20 + -4)) - 4U)) { + uVar8 = (int)local_18 - (int)WStack_20 & 0xfffffff8; + WVar10 = WStack_20; + if (0xfff < uVar8) { + WVar10 = *(WeightedOutcomePicker *)((int)WStack_20 + -4); + uVar8 = uVar8 + 0x23; + if (0x1f < ((int)WStack_20 - (int)WVar10) - 4U) { /* WARNING: Subroutine does not return */ - _invalid_parameter_noinfo_noreturn(); + _invalid_parameter_noinfo_noreturn(); + } } - operator_delete(); + operator_delete(WVar10,uVar8); WStack_20 = (WeightedOutcomePicker)0x0; puStack_1c = (uint *)0x0; local_18 = (uint *)0x0; @@ -564827,15 +565684,15 @@ LAB_007d6039: if (((g_manager->_persistentGameData)._achievements[0x19f] == 0) && (((g_manager->_state != 2 || (g_game == (Game *)0x0)) || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))) { - bVar3 = false; + bVar2 = false; } else { - bVar3 = true; + bVar2 = true; } - uVar5 = 300; + uVar4 = 300; local_78 = 0x4e; - if (!bVar3) { - uVar5 = 0; + if (!bVar2) { + uVar4 = 0; local_78 = 0; } goto LAB_007d61d0; @@ -564844,56 +565701,56 @@ LAB_007d6039: if (((g_manager->_persistentGameData)._achievements[0x19b] == 0) && (((g_manager->_state != 2 || (g_game == (Game *)0x0)) || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))) { - bVar3 = false; + bVar2 = false; } else { - bVar3 = true; + bVar2 = true; } - uVar5 = 10; + uVar4 = 10; local_78 = 0xc; - if (!bVar3) { - uVar5 = 0; + if (!bVar2) { + uVar4 = 0; local_78 = 0; } LAB_007d61d0: - if (uVar5 != 0) break; + if (uVar4 != 0) break; LAB_007d6248: uVar12 = local_88; - pEVar13 = local_9c; + pEVar14 = local_9c; if (0.35 <= local_a0) { if (local_a0 < 0.55) { - bVar4 = HasTrinket(local_9c,0x16,0); + bVar3 = HasTrinket(local_9c,0x16,0); uVar12 = local_88; - if (bVar4 != 0) { - pvVar1 = (pEVar13->_trinketRNGs)._begin; - uVar5 = *(uint *)((int)pvVar1 + 0x160); - if (uVar5 == 0) { + if (bVar3 != 0) { + pvVar1 = (pEVar14->_trinketRNGs)._begin; + uVar4 = *(uint *)((int)pvVar1 + 0x160); + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = uVar5 >> ((byte)*(undefined4 *)((int)pvVar1 + 0x164) & 0x1f) ^ uVar5; - uVar5 = uVar5 << ((byte)*(undefined4 *)((int)pvVar1 + 0x168) & 0x1f) ^ uVar5; - uVar5 = uVar5 >> ((byte)*(undefined4 *)((int)pvVar1 + 0x16c) & 0x1f) ^ uVar5; - *(uint *)((int)pvVar1 + 0x160) = uVar5; - if (uVar5 % 5 != 0) goto LAB_007d645b; + uVar4 = uVar4 >> ((byte)*(undefined4 *)((int)pvVar1 + 0x164) & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)*(undefined4 *)((int)pvVar1 + 0x168) & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)*(undefined4 *)((int)pvVar1 + 0x16c) & 0x1f) ^ uVar4; + *(uint *)((int)pvVar1 + 0x160) = uVar4; + if (uVar4 % 5 != 0) goto LAB_007d645b; } - Isaac::GetRandomPickupVelocity(); + Isaac::GetRandomPickupVelocity(0,0); if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } param_3 = param_3 >> ((byte)local_94 & 0x1f) ^ param_3; param_3 = param_3 << ((byte)((ulonglong)local_94 >> 0x20) & 0x1f) ^ param_3; - bVar4 = (byte)local_84; - param_3 = param_3 >> (bVar4 & 0x1f) ^ param_3; + bVar3 = (byte)local_84; + param_3 = param_3 >> (bVar3 & 0x1f) ^ param_3; Game::Spawn(5,10,uVar12,local_c4,0,0,param_3); if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } param_3 = param_3 >> ((byte)local_94 & 0x1f) ^ param_3; param_3 = param_3 << ((byte)((ulonglong)local_94 >> 0x20) & 0x1f) ^ param_3; - param_3 = param_3 >> (bVar4 & 0x1f) ^ param_3; + param_3 = param_3 >> (bVar3 & 0x1f) ^ param_3; local_7c = local_ac - 1; if ((param_3 & 1) != 0) { local_7c = local_ac; @@ -564903,45 +565760,45 @@ LAB_007d6248: LAB_007d645b: uVar12 = local_88; if (0.7 <= local_a0) { - Isaac::GetRandomPickupVelocity(); + Isaac::GetRandomPickupVelocity(0,0); if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } param_3 = param_3 >> ((byte)local_94 & 0x1f) ^ param_3; param_3 = param_3 << ((byte)((ulonglong)local_94 >> 0x20) & 0x1f) ^ param_3; param_3 = param_3 >> ((byte)local_84 & 0x1f) ^ param_3; - puVar15 = local_d4; - lVar16 = 0; - uVar5 = 0x28; + puVar16 = local_d4; + uVar8 = 0; + uVar4 = 0x28; } else { - Isaac::GetRandomPickupVelocity(); + Isaac::GetRandomPickupVelocity(0,0); if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } param_3 = param_3 >> ((byte)local_94 & 0x1f) ^ param_3; param_3 = param_3 << ((byte)((ulonglong)local_94 >> 0x20) & 0x1f) ^ param_3; param_3 = param_3 >> ((byte)local_84 & 0x1f) ^ param_3; - puVar15 = local_cc; - lVar16 = 0; - uVar5 = 0x1e; + puVar16 = local_cc; + uVar8 = 0; + uVar4 = 0x1e; } goto LAB_007d651a; } if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } param_3 = param_3 >> ((byte)local_94 & 0x1f) ^ param_3; param_3 = param_3 << ((byte)((ulonglong)local_94 >> 0x20) & 0x1f) ^ param_3; param_3 = param_3 >> ((byte)local_84 & 0x1f) ^ param_3; - for (iVar8 = param_3 % 3 + 1; iVar8 != 0; iVar8 = iVar8 + -1) { - Isaac::GetRandomPickupVelocity(); + for (iVar13 = param_3 % 3 + 1; iVar13 != 0; iVar13 = iVar13 + -1) { + Isaac::GetRandomPickupVelocity(0,0); if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } param_3 = param_3 >> ((byte)local_94 & 0x1f) ^ param_3; param_3 = param_3 << ((byte)((ulonglong)local_94 >> 0x20) & 0x1f) ^ param_3; @@ -564950,33 +565807,33 @@ LAB_007d645b: } goto LAB_007d652a; case 0x18: - uVar5 = 300; + uVar4 = 300; local_78 = 0x4e; break; case 0x1a: - uVar5 = 300; + uVar4 = 300; if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } param_3 = param_3 >> ((byte)local_94 & 0x1f) ^ param_3; param_3 = param_3 << ((byte)((ulonglong)local_94 >> 0x20) & 0x1f) ^ param_3; - param_3 = param_3 >> (bVar9 & 0x1f) ^ param_3; + param_3 = param_3 >> (bVar7 & 0x1f) ^ param_3; local_78 = ItemPool::GetCardEx(param_3,0,-1,0,1); } - Isaac::GetRandomPickupVelocity(); + Isaac::GetRandomPickupVelocity(0,0); if (param_3 == 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(); + KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } param_3 = param_3 >> ((byte)local_94 & 0x1f) ^ param_3; param_3 = param_3 << ((byte)((ulonglong)local_94 >> 0x20) & 0x1f) ^ param_3; param_3 = param_3 >> ((byte)local_84 & 0x1f) ^ param_3; - puVar15 = local_b4; - lVar16 = (ulonglong)local_78 << 0x20; + puVar16 = local_b4; uVar12 = local_88; + uVar8 = local_78; LAB_007d651a: - Game::Spawn(5,uVar5,uVar12,puVar15,lVar16,param_3); + Game::Spawn(5,uVar4,uVar12,puVar16,0,uVar8,param_3); LAB_007d652a: local_80 = (Game *)((int)local_80 + 1); } while ((int)local_80 < (int)local_7c); @@ -567721,17 +568578,17 @@ uint * Entity_Player::CalculateBagOfCraftingOutput(uint *param_1,byte *param_2) byte bVar6; byte bVar7; byte bVar8; - void *pvVar9; - Manager *pMVar10; - char cVar11; - ItemConfig_Item *pIVar12; + Manager *pMVar9; + char cVar10; + ItemConfig_Item *pIVar11; + uint uVar12; int iVar13; - uint uVar14; - int iVar15; - uint uVar16; - int iVar17; - Game *pGVar18; - undefined4 *puVar19; + int iVar14; + uint uVar15; + int iVar16; + Game *pGVar17; + undefined4 *puVar18; + void *pvVar19; float fVar20; float fVar21; int iStack_90; @@ -567742,7 +568599,7 @@ uint * Entity_Player::CalculateBagOfCraftingOutput(uint *param_1,byte *param_2) int local_74; int local_70; float local_6c; - int *local_68; + std_vector *local_68; byte *local_64; undefined8 *local_60; undefined4 *local_5c; @@ -567765,7 +568622,7 @@ uint * Entity_Player::CalculateBagOfCraftingOutput(uint *param_1,byte *param_2) undefined1 *puStack_18; undefined4 local_14; - pMVar10 = g_manager; + pMVar9 = g_manager; puStack_20 = (undefined1 *)((int)register0x00000010 + -4); local_14 = 0xffffffff; puStack_18 = &LAB_00b00518; @@ -567774,9 +568631,9 @@ uint * Entity_Player::CalculateBagOfCraftingOutput(uint *param_1,byte *param_2) ExceptionList = &local_1c; local_64 = param_2; FUN_00753660(&local_4c,param_2); - pIVar12 = ItemConfig::GetCollectible(&pMVar10->_itemConfig,local_4c); - if ((pIVar12 == (ItemConfig_Item *)0x0) || - (cVar11 = Item::IsAvailable(0xffffffff), cVar11 == '\0')) { + pIVar11 = ItemConfig::GetCollectible(&pMVar9->_itemConfig,local_4c); + if ((pIVar11 == (ItemConfig_Item *)0x0) || + (cVar10 = Item::IsAvailable(0xffffffff), cVar10 == '\0')) { local_4c = 0; local_48 = -NAN; } @@ -567795,7 +568652,7 @@ uint * Entity_Player::CalculateBagOfCraftingOutput(uint *param_1,byte *param_2) local_26 = 0; pcVar1 = (char *)((int)&local_44 + (uint)bVar2); *pcVar1 = *pcVar1 + '\x01'; - local_68 = (int *)(uint)local_64[1]; + local_68 = (std_vector *)(uint)local_64[1]; local_58 = 0; local_54 = (undefined4 *)0x0; *(char *)((int)&local_44 + (int)local_68) = *(char *)((int)&local_44 + (int)local_68) + '\x01'; @@ -567815,7 +568672,7 @@ uint * Entity_Player::CalculateBagOfCraftingOutput(uint *param_1,byte *param_2) *pcVar1 = *pcVar1 + '\x01'; pcVar1 = (char *)((int)&local_44 + (uint)bVar8); *pcVar1 = *pcVar1 + '\x01'; - iVar15 = *(int *)(&DAT_00b6ba30 + (uint)bVar8 * 4) + *(int *)(&DAT_00b6ba30 + (uint)bVar7 * 4) + + iVar13 = *(int *)(&DAT_00b6ba30 + (uint)bVar8 * 4) + *(int *)(&DAT_00b6ba30 + (uint)bVar7 * 4) + *(int *)(&DAT_00b6ba30 + (uint)bVar5 * 4) + *(int *)(&DAT_00b6ba30 + (uint)bVar4 * 4) + *(int *)(&DAT_00b6ba30 + (uint)bVar3 * 4) + *(int *)(&DAT_00b6ba30 + (uint)bVar6 * 4) + *(int *)(&DAT_00b6ba30 + (int)local_68 * 4) + *(int *)(&DAT_00b6ba30 + (uint)bVar2 * 4) @@ -567928,7 +568785,7 @@ uint * Entity_Player::CalculateBagOfCraftingOutput(uint *param_1,byte *param_2) local_54 = local_54 + 2; } } - puVar19 = local_54; + puVar18 = local_54; local_80 = (g_game->_seedEffects)._gameStartSeed; local_5c = local_54; if (local_80 == 0) { @@ -567936,12 +568793,12 @@ uint * Entity_Player::CalculateBagOfCraftingOutput(uint *param_1,byte *param_2) KAGE_LogMessage(0x10,"Error: Game Start Seed was not set.\n"); } local_70 = 0; - local_68 = (int *)(1 - (int)&local_44); + local_68 = (std_vector *)(1 - (int)&local_44); local_60 = &DAT_00b1f4d4; local_7c = 0x1f; do { if (*(char *)((int)&local_44 + local_70) != '\0') { - if (0x50 < (uint)((int)&local_44 + (int)local_68 + local_70)) { + if (0x50 < (uint)((int)&local_44 + (int)&local_68->_begin + local_70)) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG: Invalid ShiftIdx\n"); } @@ -567963,7 +568820,7 @@ uint * Entity_Player::CalculateBagOfCraftingOutput(uint *param_1,byte *param_2) } while (local_7c != 0); local_48 = 2.8026e-44; local_34 = 0x1500000001; - local_68 = (int *)0x0; + local_68 = (std_vector *)0x0; local_70 = 0; local_64 = (byte *)((int)(g_manager->_itemConfig)._collectibles._end - (int)(g_manager->_itemConfig)._collectibles._begin >> 2); @@ -567981,27 +568838,27 @@ uint * Entity_Player::CalculateBagOfCraftingOutput(uint *param_1,byte *param_2) } local_14 = CONCAT31(local_14._1_3_,1); local_6c = 0.0; - puVar19 = (undefined4 *)((int)puVar19 - local_58 >> 3); + puVar18 = (undefined4 *)((int)puVar18 - local_58 >> 3); local_64 = (byte *)0x0; - iVar17 = local_58; - local_5c = puVar19; - if (puVar19 != (undefined4 *)0x0) { + iVar16 = local_58; + local_5c = puVar18; + if (puVar18 != (undefined4 *)0x0) { do { - fVar20 = *(float *)(iVar17 + 4 + (int)local_64 * 8); + fVar20 = *(float *)(iVar16 + 4 + (int)local_64 * 8); if (0.0 < fVar20) { - iVar17 = *(int *)(iVar17 + (int)local_64 * 8); - if (((iVar17 == 4) || (iVar17 == 3)) || (iVar13 = iVar15, iVar17 == 5)) { - iVar13 = iVar15 + -5; + iVar16 = *(int *)(iVar16 + (int)local_64 * 8); + if (((iVar16 == 4) || (iVar16 == 3)) || (iVar14 = iVar13, iVar16 == 5)) { + iVar14 = iVar13 + -5; } local_74 = 0; local_78 = 1; - if (iVar13 < 0x23) { - if (iVar13 < 0x1f) { - if (iVar13 < 0x1b) { - if (iVar13 < 0x17) { - if (iVar13 < 0x13) { - if (iVar13 < 0xf) { - if (iVar13 < 9) goto LAB_007da41c; + if (iVar14 < 0x23) { + if (iVar14 < 0x1f) { + if (iVar14 < 0x1b) { + if (iVar14 < 0x17) { + if (iVar14 < 0x13) { + if (iVar14 < 0xf) { + if (iVar14 < 9) goto LAB_007da41c; local_74 = 0; } else { @@ -568035,68 +568892,69 @@ uint * Entity_Player::CalculateBagOfCraftingOutput(uint *param_1,byte *param_2) } LAB_007da41c: local_7c = 0; - local_68 = (int *)&(g_game->_itemPool)._pools[iVar17].field_0x4; - iVar17 = *local_68; - iVar13 = *(int *)((int)local_68 + 4) - iVar17 >> 0x1f; - if ((*(int *)((int)local_68 + 4) - iVar17) / 0x18 + iVar13 == iVar13) { - iVar17 = local_58; + local_68 = &(g_game->_itemPool)._pools[iVar16]._poolList; + pvVar19 = local_68->_begin; + iVar14 = (int)local_68->_end - (int)pvVar19; + iVar16 = iVar14 >> 0x1f; + if (iVar14 / 0x18 + iVar16 == iVar16) { + iVar16 = local_58; } else { local_60 = (undefined8 *)0x0; - pGVar18 = g_game; + pGVar17 = g_game; do { - uVar14 = *(uint *)(iVar17 + (int)local_60); - if (pGVar18 == (Game *)0x0) { - if (-1 < (int)uVar14) goto LAB_007da49b; + uVar12 = *(uint *)((int)pvVar19 + (int)local_60); + if (pGVar17 == (Game *)0x0) { + if (-1 < (int)uVar12) goto LAB_007da49b; } else { - if ((int)uVar14 < 0) { - if (((int)uVar14 < 0) && - (pvVar9 = (pGVar18->_proceduralItemManager)._proceduralItems._begin, - (int)~uVar14 < - (int)(pGVar18->_proceduralItemManager)._proceduralItems._end - (int)pvVar9 >> 2 - )) { - iVar17 = **(int **)((int)pvVar9 + ~uVar14 * 4); + if ((int)uVar12 < 0) { + if (((int)uVar12 < 0) && + (pvVar19 = (pGVar17->_proceduralItemManager)._proceduralItems._begin, + (int)~uVar12 < + (int)(pGVar17->_proceduralItemManager)._proceduralItems._end - (int)pvVar19 >> + 2)) { + iVar16 = **(int **)((int)pvVar19 + ~uVar12 * 4); } else { - iVar17 = 0; + iVar16 = 0; } LAB_007da4b3: - if (((iVar17 != 0) && (cVar11 = Item::IsAvailable(1), cVar11 != '\0')) && - ((local_74 <= *(int *)(iVar17 + 0xc4) && (*(int *)(iVar17 + 0xc4) <= local_78)) + if (((iVar16 != 0) && (cVar10 = Item::IsAvailable(1), cVar10 != '\0')) && + ((local_74 <= *(int *)(iVar16 + 0xc4) && (*(int *)(iVar16 + 0xc4) <= local_78)) )) { - fVar21 = fVar20 * *(float *)((int)local_60 + *local_68 + 4); + fVar21 = fVar20 * *(float *)((int)local_60 + (int)local_68->_begin + 4); local_6c = fVar21 + local_6c; - *(float *)(local_70 + *(int *)(iVar17 + 4) * 4) = - fVar21 + *(float *)(local_70 + *(int *)(iVar17 + 4) * 4); + *(float *)(local_70 + *(int *)(iVar16 + 4) * 4) = + fVar21 + *(float *)(local_70 + *(int *)(iVar16 + 4) * 4); } } else { LAB_007da49b: - pvVar9 = (g_manager->_itemConfig)._collectibles._begin; - if ((int)uVar14 < - (int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar9 >> 2) { - iVar17 = *(int *)((int)pvVar9 + uVar14 * 4); + pvVar19 = (g_manager->_itemConfig)._collectibles._begin; + if ((int)uVar12 < + (int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar19 >> 2) { + iVar16 = *(int *)((int)pvVar19 + uVar12 * 4); goto LAB_007da4b3; } } - pGVar18 = g_game; + pGVar17 = g_game; } local_60 = local_60 + 3; local_7c = local_7c + 1; - iVar17 = *local_68; - } while (local_7c < (uint)((local_68[1] - iVar17) / 0x18)); - iVar17 = local_58; - puVar19 = local_5c; + pvVar19 = local_68->_begin; + } while (local_7c < (uint)(((int)local_68->_end - (int)pvVar19) / 0x18)); + iVar16 = local_58; + puVar18 = local_5c; } } local_64 = (byte *)((int)local_64 + 1); - } while (local_64 < puVar19); + } while (local_64 < puVar18); } local_5c = (undefined4 *)0x19; - pGVar18 = g_game; + pGVar17 = g_game; if (0.0 < local_6c) { - local_68 = (int *)0x0; + local_68 = (std_vector *)0x0; do { local_5c = (undefined4 *)0x19; if (local_80 == 0) { @@ -568106,82 +568964,82 @@ LAB_007da49b: local_80 = local_80 >> ((byte)local_34 & 0x1f) ^ local_80; local_80 = local_80 << ((byte)((ulonglong)local_34 >> 0x20) & 0x1f) ^ local_80; local_80 = local_80 >> (SUB41(local_48,0) & 0x1f) ^ local_80; - uVar16 = iStack_90 - local_70 >> 2; - uVar14 = 0; + uVar15 = iStack_90 - local_70 >> 2; + uVar12 = 0; fVar20 = (float)((double)(int)local_80 + __uint_to_double_fixup[-((int)local_80 >> 0x1f)]) * 2.3283062e-10 * local_6c; - if (uVar16 != 0) { + if (uVar15 != 0) { do { - fVar21 = *(float *)(local_70 + uVar14 * 4); + fVar21 = *(float *)(local_70 + uVar12 * 4); if (fVar20 < fVar21) { - local_5c = (undefined4 *)uVar14; + local_5c = (undefined4 *)uVar12; goto LAB_007da627; } - uVar14 = uVar14 + 1; + uVar12 = uVar12 + 1; fVar20 = fVar20 - fVar21; - } while (uVar14 < uVar16); + } while (uVar12 < uVar15); } LAB_007da627: - if (pGVar18 == (Game *)0x0) { + if (pGVar17 == (Game *)0x0) { if (-1 < (int)local_5c) goto LAB_007da666; } else { if ((int)local_5c < 0) { - iVar15 = -1 - (int)local_5c; - if ((iVar15 < 0) || - (pvVar9 = (pGVar18->_proceduralItemManager)._proceduralItems._begin, - (int)(pGVar18->_proceduralItemManager)._proceduralItems._end - (int)pvVar9 >> 2 <= - iVar15)) { - iVar15 = 0; + iVar13 = -1 - (int)local_5c; + if ((iVar13 < 0) || + (pvVar19 = (pGVar17->_proceduralItemManager)._proceduralItems._begin, + (int)(pGVar17->_proceduralItemManager)._proceduralItems._end - (int)pvVar19 >> 2 <= + iVar13)) { + iVar13 = 0; } else { - iVar15 = **(int **)((int)pvVar9 + iVar15 * 4); + iVar13 = **(int **)((int)pvVar19 + iVar13 * 4); } } else { LAB_007da666: - pvVar9 = (g_manager->_itemConfig)._collectibles._begin; - if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar9 >> 2 <= (int)local_5c - ) goto LAB_007da698; - iVar15 = *(int *)((int)pvVar9 + (int)local_5c * 4); + pvVar19 = (g_manager->_itemConfig)._collectibles._begin; + if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar19 >> 2 <= + (int)local_5c) goto LAB_007da698; + iVar13 = *(int *)((int)pvVar19 + (int)local_5c * 4); } - if (iVar15 != 0) { - cVar11 = Item::IsAvailable(6); - pGVar18 = g_game; - if (cVar11 != '\0') break; + if (iVar13 != 0) { + cVar10 = Item::IsAvailable(6); + pGVar17 = g_game; + if (cVar10 != '\0') break; } } LAB_007da698: - local_68 = (int *)((int)local_68 + 1); + local_68 = (std_vector *)((int)&local_68->_begin + 1); local_5c = (undefined4 *)0x19; } while ((int)local_68 < 0x14); } - uVar14 = ItemPool::GetFirstItemPoolForCollectible(&pGVar18->_itemPool,(int)local_5c); + uVar12 = ItemPool::GetFirstItemPoolForCollectible(&pGVar17->_itemPool,(int)local_5c); *param_1 = (uint)local_5c; - param_1[1] = uVar14; + param_1[1] = uVar12; if (local_70 != 0) { - uVar14 = local_84 - local_70 & 0xfffffffc; - iVar15 = local_70; - if (0xfff < uVar14) { - iVar15 = *(int *)(local_70 + -4); - uVar14 = uVar14 + 0x23; - if (0x1f < (local_70 - iVar15) - 4U) goto LAB_007da72b; + uVar12 = local_84 - local_70 & 0xfffffffc; + iVar13 = local_70; + if (0xfff < uVar12) { + iVar13 = *(int *)(local_70 + -4); + uVar12 = uVar12 + 0x23; + if (0x1f < (local_70 - iVar13) - 4U) goto LAB_007da72b; } - operator_delete(iVar15,uVar14); + operator_delete(iVar13,uVar12); } if (local_58 != 0) { - uVar14 = (int)local_50 - local_58 & 0xfffffff8; - iVar15 = local_58; - if (0xfff < uVar14) { - iVar15 = *(int *)(local_58 + -4); - uVar14 = uVar14 + 0x23; - if (0x1f < (local_58 - iVar15) - 4U) { + uVar12 = (int)local_50 - local_58 & 0xfffffff8; + iVar13 = local_58; + if (0xfff < uVar12) { + iVar13 = *(int *)(local_58 + -4); + uVar12 = uVar12 + 0x23; + if (0x1f < (local_58 - iVar13) - 4U) { LAB_007da72b: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar15,uVar14); + operator_delete(iVar13,uVar12); } } else { @@ -570983,7 +571841,7 @@ void FUN_007dd660(undefined4 *param_1,undefined4 param_2) undefined4 local_10; undefined1 local_c; - FUN_007de7f0(&local_10,param_2); + std::set::_Emplace(&local_10,param_2); *param_1 = local_10; *(undefined1 *)(param_1 + 1) = local_c; return; @@ -572106,9 +572964,13 @@ void std::string::append_reversed(undefined1 *param_1,undefined1 *param_2) } -//@@ 007de7f0 FUN_007de7f0 +//@@ 007de7f0 std::set::_Emplace -void FUN_007de7f0(undefined4 *param_1,int *param_2) +/* DB: MSVC _Tree insert-unique: walks tree comparing node+0x10 int, returns {node,false} if found, + else operator_new(0x14) node (max_size 0xccccccc); wrapper 0x7dd660 used by + Entity_Player::RecomputeWispCollectibles */ + +void std::set::_Emplace(undefined4 *param_1,int *param_2) { char cVar1; @@ -579878,16 +580740,19 @@ void FUN_007e8f70(void) void __thiscall RNG::game_constructor(RNG *this,uint seed,uint shiftidx) { - RNG RVar1; + undefined8 uVar1; + int iVar2; - *this = (RNG)seed; + this->_seed = seed; if (0x50 < shiftidx) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG: Invalid ShiftIdx\n"); } - RVar1 = *(RNG *)(&DAT_00b1f4d0 + shiftidx * 0xc); - *(undefined8 *)(this + 1) = *(undefined8 *)(&DAT_00b1f4c8 + shiftidx * 0xc); - this[3] = RVar1; + uVar1 = *(undefined8 *)(&DAT_00b1f4c8 + shiftidx * 0xc); + iVar2 = *(int *)(&DAT_00b1f4d0 + shiftidx * 0xc); + this->_shift1 = (int)uVar1; + this->_shift2 = (int)((ulonglong)uVar1 >> 0x20); + this->_shift3 = iVar2; return; } @@ -579900,19 +580765,22 @@ void __thiscall RNG::game_constructor(RNG *this,uint seed,uint shiftidx) void __thiscall RNG::SetSeed(RNG *this,uint Seed,uint ShiftIdx) { - RNG RVar1; - uint uVar2; + undefined8 uVar1; + int iVar2; uint uVar3; + uint uVar4; - *this = (RNG)Seed; - uVar3 = -(uint)(ShiftIdx != 0) & ShiftIdx; - uVar2 = 0x50; - if (uVar3 < 0x50) { - uVar2 = uVar3; + this->_seed = Seed; + uVar4 = -(uint)(ShiftIdx != 0) & ShiftIdx; + uVar3 = 0x50; + if (uVar4 < 0x50) { + uVar3 = uVar4; } - RVar1 = *(RNG *)(&DAT_00b1f4d0 + uVar2 * 0xc); - *(undefined8 *)(this + 1) = *(undefined8 *)(&DAT_00b1f4c8 + uVar2 * 0xc); - this[3] = RVar1; + uVar1 = *(undefined8 *)(&DAT_00b1f4c8 + uVar3 * 0xc); + iVar2 = *(int *)(&DAT_00b1f4d0 + uVar3 * 0xc); + this->_shift1 = (int)uVar1; + this->_shift2 = (int)((ulonglong)uVar1 >> 0x20); + this->_shift3 = iVar2; return; } @@ -579926,21 +580794,20 @@ uint __thiscall RNG::RandomInt(RNG *this,uint max) { uint uVar1; - RNG RVar2; - RVar2 = *this; - if (RVar2 == (RNG)0x0) { + uVar1 = this->_seed; + if (uVar1 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar1 = (uint)RVar2 >> (SUB41(this[1],0) & 0x1f) ^ (uint)RVar2; - uVar1 = uVar1 << (SUB41(this[2],0) & 0x1f) ^ uVar1; - RVar2 = (RNG)(uVar1 >> (SUB41(this[3],0) & 0x1f) ^ uVar1); - *this = RVar2; + uVar1 = uVar1 >> ((byte)this->_shift1 & 0x1f) ^ uVar1; + uVar1 = uVar1 << ((byte)this->_shift2 & 0x1f) ^ uVar1; + uVar1 = uVar1 >> ((byte)this->_shift3 & 0x1f) ^ uVar1; + this->_seed = uVar1; if (max == 0) { return 0; } - return (uint)RVar2 % max; + return uVar1 % max; } @@ -579953,18 +580820,17 @@ float __thiscall RNG::RandomFloat(RNG *this) { uint uVar1; - RNG RVar2; - RVar2 = *this; - if (RVar2 == (RNG)0x0) { + uVar1 = this->_seed; + if (uVar1 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar1 = (uint)RVar2 >> (SUB41(this[1],0) & 0x1f) ^ (uint)RVar2; - uVar1 = uVar1 << (SUB41(this[2],0) & 0x1f) ^ uVar1; - RVar2 = (RNG)(uVar1 >> (SUB41(this[3],0) & 0x1f) ^ uVar1); - *this = RVar2; - return (float)((double)(int)RVar2 + __uint_to_double_fixup[-((int)RVar2 >> 0x1f)]) * 2.3283062e-10 + uVar1 = uVar1 >> ((byte)this->_shift1 & 0x1f) ^ uVar1; + uVar1 = uVar1 << ((byte)this->_shift2 & 0x1f) ^ uVar1; + uVar1 = uVar1 >> ((byte)this->_shift3 & 0x1f) ^ uVar1; + this->_seed = uVar1; + return (float)((double)(int)uVar1 + __uint_to_double_fixup[-((int)uVar1 >> 0x1f)]) * 2.3283062e-10 ; } @@ -579978,18 +580844,17 @@ uint __thiscall RNG::Next(RNG *this) { uint uVar1; - RNG RVar2; - RVar2 = *this; - if (RVar2 == (RNG)0x0) { + uVar1 = this->_seed; + if (uVar1 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar1 = (uint)RVar2 >> (SUB41(this[1],0) & 0x1f) ^ (uint)RVar2; - uVar1 = uVar1 << (SUB41(this[2],0) & 0x1f) ^ uVar1; - RVar2 = (RNG)(uVar1 >> (SUB41(this[3],0) & 0x1f) ^ uVar1); - *this = RVar2; - return (uint)RVar2; + uVar1 = uVar1 >> ((byte)this->_shift1 & 0x1f) ^ uVar1; + uVar1 = uVar1 << ((byte)this->_shift2 & 0x1f) ^ uVar1; + uVar1 = uVar1 >> ((byte)this->_shift3 & 0x1f) ^ uVar1; + this->_seed = uVar1; + return uVar1; } @@ -580625,7 +581490,7 @@ Room * __thiscall Room::constructor(Room *this) ANM2::constructor((ANM2 *)&this->field_0x7770); this->field_0x7884 = 0; *(undefined4 *)&this->field_0x7888 = 0; - *(undefined4 *)&this->field_0x788c = 0; + this->_beastBlastForce = 0.0; *(undefined4 *)&this->field_0x7890 = 0; local_14._0_1_ = 0x13; memset(this->_gridEntities,0,0x720); @@ -581615,7 +582480,7 @@ void FUN_007eb010(void) *(undefined4 *)(in_ECX + 0x39e) = 0; *(undefined4 *)(in_ECX + 0x3a0) = 0; (pGVar2->_ambush)._isActive = 0; - *(undefined4 *)&pGVar2->field_0x265ec = 0; + (pGVar2->_ambush)._currentWave = 0; *(undefined4 *)&pGVar2->field_0x265f0 = 0; *(undefined1 *)(in_ECX + 0x8fa) = 0; *in_ECX = 0; @@ -581920,8 +582785,8 @@ LAB_007eb678: if (local_10 == 0) { if (((uVar9 == 0) && (uVar3 != uVar7)) || (uVar9 != uVar7)) { if (uVar7 == 0) { - *(undefined4 *)(&this->field_0x17c + *(int *)this * 0x184) = 0; - *(undefined4 *)(&this->field_0x180 + *(int *)this * 0x184) = 0x3da3d70a; + this->_channels[this->_currentChannel]._targetVolume = 0.0; + this->_channels[this->_currentChannel]._fadeRate = 0.08; (pMVar4->_musicManager)._queuedMusicID = 0; } else if (local_c < 1.0) { @@ -581999,8 +582864,8 @@ uint Level::UpdateBackwardsPathStages(void) /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Invalid backwards path stage ID"); } - if ((*(int *)((int)(g_game->_glowingHourglassStates + 2) + iVar7 + 0x1440) == 4) || - (*(int *)((int)(g_game->_glowingHourglassStates + 2) + iVar7 + 0x1440) == 5)) { + iVar4 = *(int *)((int)(g_game->_glowingHourglassStates + 2) + iVar7 + 0xd8); + if ((iVar4 == 4) || (iVar4 == 5)) { uVar3 = ((int)fVar11 + -2) / 2 + 3; } else { @@ -582017,20 +582882,16 @@ uint Level::UpdateBackwardsPathStages(void) if ((uVar8 & uVar12) == 0) { if (uVar9 < 6) { uVar3 = ~(1 << ((byte)uVar9 & 0x1f)); - *(uint *)((int)(&g_manager->_persistentGameData + 0x2b) + - ((uVar9 >> 5) + *(int *)&g_manager->_musicManager * 0x61) * 4 + 1000) = - *(uint *)((int)(&g_manager->_persistentGameData + 0x2b) + - ((uVar9 >> 5) + *(int *)&g_manager->_musicManager * 0x61) * 4 + 1000) & - uVar3; + piVar6 = &(g_manager->_musicManager)._channels + [(g_manager->_musicManager)._currentChannel]._enabledLayers + (uVar9 >> 5); + *piVar6 = *piVar6 & uVar3; } } else if (uVar9 < 6) { uVar3 = 1 << ((byte)uVar9 & 0x1f); - *(uint *)((int)(&g_manager->_persistentGameData + 0x2b) + - ((uVar9 >> 5) + *(int *)&g_manager->_musicManager * 0x61) * 4 + 1000) = - *(uint *)((int)(&g_manager->_persistentGameData + 0x2b) + - ((uVar9 >> 5) + *(int *)&g_manager->_musicManager * 0x61) * 4 + 1000) | - uVar3; + piVar6 = &(g_manager->_musicManager)._channels + [(g_manager->_musicManager)._currentChannel]._enabledLayers + (uVar9 >> 5); + *piVar6 = *piVar6 | uVar3; } uVar9 = uVar9 + 1; uVar12 = uVar12 << 1 | (uint)((int)uVar12 < 0); @@ -582109,7 +582970,7 @@ LAB_007ebbfa: fVar11 = local_14 + fVar13; } LAB_007ebbfe: - piVar6 = (int *)(*(int *)&g_manager->_musicManager * 0x184); + piVar6 = (int *)((g_manager->_musicManager)._currentChannel * 0x184); if ((float)iVar4 * 14.0 + 40.0 <= fVar11) { *(uint *)((int)(piVar6 + 0xa84b) + (int)g_manager) = *(uint *)((int)(piVar6 + 0xa84b) + (int)g_manager) | 1; @@ -582448,7 +583309,7 @@ void ItemPool::GetSeededCollectible(void) /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ /* DB: src/rooms decompile labels (Room::TransformEntry?(out,gridIdx,seed)) */ -void Room::TransformEntry(uint *param_1,uint param_2,RNG param_3) +void Room::TransformEntry(uint *param_1,uint param_2,uint param_3) { void *pvVar1; @@ -582475,16 +583336,12 @@ void Room::TransformEntry(uint *param_1,uint param_2,RNG param_3) uint *puVar21; bool bVar22; RNG local_74; - undefined8 local_70; - undefined4 local_68; uint local_64; uint *local_60; uint *local_5c; - RNG local_58; + uint local_58; int *local_54; RNG local_50; - undefined8 local_4c; - undefined4 local_44; uint local_40; int local_3c; char local_36; @@ -582504,19 +583361,20 @@ void Room::TransformEntry(uint *param_1,uint param_2,RNG param_3) uVar5 = 1; local_5c = param_1; local_58 = param_3; - local_50 = param_3; - local_4c = 0x1500000001; - local_44 = 0x14; + local_50._seed = param_3; + local_50._shift1 = 1; + local_50._shift2 = 0x15; + local_50._shift3 = 0x14; if (*param_1 == 0x578) { *param_1 = 0x21; - if (param_3 == (RNG)0x0) { + if (param_3 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar6 = (uint)param_3 >> 1 ^ (uint)param_3; - uVar6 = uVar6 << 0x15 ^ uVar6; - local_50 = (RNG)(uVar6 >> 0x14 ^ uVar6); - uVar5 = (ushort)(local_50 == (RNG)(((uint)local_50 / 0x28) * 0x28)); + local_50._seed = param_3 >> 1 ^ param_3; + local_50._seed = local_50._seed << 0x15 ^ local_50._seed; + local_50._seed = (uint)local_50._seed >> 0x14 ^ local_50._seed; + uVar5 = (ushort)(local_50._seed == ((uint)local_50._seed / 0x28) * 0x28); LAB_007ec1a6: *(ushort *)(param_1 + 1) = uVar5; } @@ -582816,7 +583674,7 @@ LAB_007ec81d: iVar7 = 0xb; } iVar13 = iVar7; - if (pCVar10->field_0x7f != '\0') { + if (pCVar10->_isPathTypeSet != 0) { iVar13 = pCVar10->_endStage; if (pCVar10->_endStage == 0) { iVar13 = iVar7; @@ -582868,9 +583726,10 @@ LAB_007ec9e6: *(ushort *)puVar21 = 0x96; } if (*puVar20 == 6) { - local_74 = local_58; - local_68 = 0xd; - local_70 = 0x110000000b; + local_74._seed = local_58; + local_74._shift3 = 0xd; + local_74._shift1 = 0xb; + local_74._shift2 = 0x11; if ((ushort)*puVar21 == 6) { if ((((g_manager->_persistentGameData)._achievements[0x260] != 0) || (((g_manager->_state == 2 && (pGVar14 != (Game *)0x0)) && @@ -583091,7 +583950,7 @@ LAB_007eccb7: uVar11 = RNG::RandomInt(&local_50,5); if (uVar11 == 0) { if (local_32 != '\0') { - local_58 = (RNG)(param_2 / *(uint *)(local_3c + 0xc)); + local_58 = param_2 / *(uint *)(local_3c + 0xc); local_64 = param_2 % *(uint *)(local_3c + 0xc); local_54 = (int *)(local_3c + 0x744); uVar6 = 0; @@ -583099,7 +583958,7 @@ LAB_007eccb7: puVar21 = local_60; if (((*(uint *)(*(int *)(local_3c + 4) + 0x18 + (uVar6 >> 5) * 4) & 1 << ((byte)uVar6 & 0x1f)) != 0) && - (uVar11 = *local_54 / *(int *)(local_3c + 0xc) - (int)local_58, + (uVar11 = *local_54 / *(int *)(local_3c + 0xc) - local_58, uVar8 = *local_54 % *(int *)(local_3c + 0xc) - local_64, uVar18 = (int)uVar11 >> 0x1f, uVar19 = (int)uVar8 >> 0x1f, (int)(((uVar11 ^ uVar18) - uVar18) + ((uVar8 ^ uVar19) - uVar19)) < 4)) { @@ -583249,7 +584108,7 @@ undefined4 Room::IsPersistentRoomEntity(int param_1,int param_2) /* DB: src/rooms decompile labels (Room::SpawnEntry(gridIdx,Entry*,seed,b,b) ret14) */ undefined4 -Room::SpawnEntry(float param_1,ulonglong *param_2,RNG param_3,undefined4 param_4,char param_5) +Room::SpawnEntry(float param_1,ulonglong *param_2,float param_3,undefined4 param_4,char param_5) { short *psVar1; @@ -583276,29 +584135,24 @@ Room::SpawnEntry(float param_1,ulonglong *param_2,RNG param_3,undefined4 param_4 int extraout_ECX_02; int extraout_ECX_03; uint extraout_EDX; - RNG RVar15; + float fVar15; float fVar16; float fVar17; float fVar18; - float fVar19; float local_7c; EntitySaveState *local_78; float local_74; float local_70; PlayerManager *local_6c; RNG local_68; - undefined8 local_64; - undefined4 local_5c; float local_58; - RNG local_54; + float local_54; RNG local_50; - undefined8 local_4c; - Manager *local_44; float local_40; float local_3c; float local_38; char local_31; - RNG local_30; + float local_30; uint local_2c; Manager *local_28; Manager *local_24; @@ -583308,13 +584162,14 @@ Room::SpawnEntry(float param_1,ulonglong *param_2,RNG param_3,undefined4 param_4 local_14 = __security_cookie ^ (int)register0x00000010 - 0x10U; local_2c = param_4; - local_4c = 0x900000005; + local_50._shift1 = 5; + local_50._shift2 = 9; local_20 = *param_2; local_18 = (undefined4)param_2[1]; local_30 = param_3; - local_50 = param_3; + local_50._seed = (int)param_3; local_28 = (Manager *)&DAT_00000007; - local_44 = (Manager *)&DAT_00000007; + local_50._shift3 = (int)&DAT_00000007; local_38 = param_1; local_54 = param_3; TransformEntry(); @@ -583341,23 +584196,23 @@ Room::SpawnEntry(float param_1,ulonglong *param_2,RNG param_3,undefined4 param_4 else if (((int)local_20 == 0x3e9) || ((int)local_20 == 0x3ea)) { LAB_007ed444: if ((g_game->_stageType == 2) && (*(int *)(*(int *)(iVar9 + 0x10) + 8) == 1)) { - if (local_54 == (RNG)0x0) { + if (local_54 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)local_30 >> ((byte)local_4c & 0x1f) ^ (uint)local_30; - uVar8 = uVar8 << ((byte)((ulonglong)local_4c >> 0x20) & 0x1f) ^ uVar8; - local_50 = (RNG)(uVar8 >> ((byte)local_28 & 0x1f) ^ uVar8); - local_30 = local_50; - if ((uint)local_50 % 10 == 0) { + uVar8 = (uint)local_30 >> ((byte)local_50._shift1 & 0x1f) ^ (uint)local_30; + uVar8 = uVar8 << ((byte)local_50._shift2 & 0x1f) ^ uVar8; + local_50._seed = uVar8 >> ((byte)local_28 & 0x1f) ^ uVar8; + local_30 = (float)local_50._seed; + if ((uint)local_50._seed % 10 == 0) { iVar9 = g_game->_stage; if ((iVar9 == 1) || (iVar9 == 2)) { local_20 = CONCAT44(local_20._4_4_,0x21); uVar8 = RNG::RandomInt(&local_50,0x28); iVar10 = (int)local_20; local_20 = (ulonglong)CONCAT14(uVar8 == 0,(int)local_20); - local_28 = local_44; - local_30 = local_50; + local_28 = (Manager *)local_50._shift3; + local_30 = (float)local_50._seed; } else if ((iVar9 == 3) || (iVar9 == 4)) { local_20 = 3000; @@ -583380,10 +584235,10 @@ LAB_007ed444: if (local_20._4_2_ == 8) goto LAB_007ed567; LAB_007ed9e7: bVar4 = *(byte *)(*(int *)&local_24->field_0x4 + 0x44); - local_54 = (RNG)(CONCAT31((int3)((uint)pMVar14 >> 8),bVar4) & 0xffffff01); + local_54 = (float)(CONCAT31((int3)((uint)pMVar14 >> 8),bVar4) & 0xffffff01); if ((((bVar4 & 1) == 0) && (local_24->_state == 5)) && ((*(uint *)(*(int *)&local_24->field_0x4 + 0x44) & 0x10000) != 0)) { - local_54 = (RNG)(uint)(iVar10 != 0x38f); + local_54 = (float)(uint)(iVar10 != 0x38f); } if (iVar10 == 5) { cVar5 = Level::IsMausoleumHeartStage(); @@ -583391,25 +584246,25 @@ LAB_007ed9e7: iVar10 = (int)local_20; } if (((iVar10 != 0x3c5) || ((*(uint *)(*(int *)&local_24->field_0x4 + 0x44) >> 2 & 1) == 0)) && - ((((local_54._0_1_ == '\0' || + ((((SUB41(local_54,0) == '\0' || ((cVar5 = IsPersistentRoomEntity(), cVar5 != '\0' || (cVar5 = Game::IsInTimedSet(), cVar5 != '\0')))) || (cVar5 = Game::IsInTimedSet(), cVar5 != '\0')) || ((param_5 != '\0' || (cVar5 = entity_type_is_saved(), cVar5 != '\0')))))) { uVar7 = EntityRef::EntityRef(); pMVar14 = local_24; - fVar18 = local_38; + fVar17 = local_38; if (((uint)local_38 < 0x1c0) && (piVar13 = *(int **)((local_24->_persistentGameData)._achievements + (int)local_38 * 4 + -0x28), piVar13 != (int *)0x0)) { (**(code **)(*piVar13 + 0x14))(1,uVar7); } - local_74 = (float)((int)fVar18 % *(int *)&pMVar14->field_0xc) * 40.0 + 40.0; - local_70 = (float)((int)fVar18 / *(int *)&pMVar14->field_0xc) * 40.0 + 120.0; + local_74 = (float)((int)fVar17 % pMVar14->_previousState) * 40.0 + 40.0; + local_70 = (float)((int)fVar17 / pMVar14->_previousState) * 40.0 + 120.0; uVar8 = RNG::Next(&local_50); - local_30 = (RNG)Game::Spawn((int)local_20,local_20._4_2_,&local_74,&g_vectorZero,0, - local_20._6_2_,uVar8); - *(float *)((int)local_30 + 0x32c) = fVar18; + local_30 = (float)Game::Spawn((int)local_20,local_20._4_2_,&local_74,&g_vectorZero,0, + local_20._6_2_,uVar8); + *(float *)((int)local_30 + 0x32c) = fVar17; if (*(int *)((int)local_30 + 0x28) == 5) { iVar9 = __RTDynamicCast(local_30,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Pickup::RTTI_Type_Descriptor,0); @@ -583431,11 +584286,12 @@ LAB_007ed9e7: } piVar13 = (int *)(iVar9 + 0x5c8); EntitySaveStateRef::Set(); - local_64 = 0xf00000005; + local_68._shift1 = 5; + local_68._shift2 = 0xf; *(undefined4 *)*piVar13 = *(undefined4 *)(iVar9 + 0x28); *(undefined4 *)(*piVar13 + 4) = *(undefined4 *)(iVar9 + 0x2c); - local_68 = *(RNG *)(iVar9 + 0x3ec); - local_5c = 0x11; + local_68._seed = *(int *)(iVar9 + 0x3ec); + local_68._shift3 = 0x11; uVar8 = RNG::Next(&local_68); *(uint *)(*piVar13 + 0x34) = uVar8; uVar7 = ItemPool::GetSeededCollectible(); @@ -583445,11 +584301,11 @@ LAB_007ed9e7: } ANM2::Reset((ANM2 *)(iVar9 + 0x5d0)); } - fVar18 = local_38; + fVar17 = local_38; } cVar5 = entity_type_is_saved(); if (cVar5 != '\0') { - local_3c = fVar18; + local_3c = fVar17; std::set::insert(&local_7c,&local_3c); } iVar9 = pMVar14->_state; @@ -583485,8 +584341,9 @@ LAB_007ed5aa: if (local_24->_state != 0x10) { local_3c = 2.66247e-44; local_6c = &g_game->_playerManager; - local_64 = 0x500000001; - if (local_54 == (RNG)0x0) { + local_68._shift1 = 1; + local_68._shift2 = 5; + if (local_54 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } @@ -583504,8 +584361,8 @@ LAB_007ed5aa: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = uVar8 >> ((byte)local_64 & 0x1f) ^ uVar8; - uVar8 = uVar8 << ((byte)((ulonglong)local_64 >> 0x20) & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)local_68._shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)local_68._shift2 & 0x1f) ^ uVar8; uVar8 = uVar8 >> 0x13 ^ uVar8; pMVar14 = (Manager *)0x0; if ((float)((double)(int)uVar8 + __uint_to_double_fixup[-((int)uVar8 >> 0x1f)]) * @@ -583519,16 +584376,16 @@ LAB_007ed5aa: } } if (iVar10 == 0x514) { - if (local_30 == (RNG)0x0) { + if (local_30 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)local_30 >> ((byte)local_4c & 0x1f) ^ (uint)local_30; - uVar8 = uVar8 << ((byte)((ulonglong)local_4c >> 0x20) & 0x1f) ^ uVar8; - local_50 = (RNG)(uVar8 >> ((byte)local_28 & 0x1f) ^ uVar8); - pMVar14 = (Manager *)(((uint)local_50 / 10) * 10); - local_30 = local_50; - if ((uint)local_50 % 10 != 0) goto LAB_007ed72b; + uVar8 = (uint)local_30 >> ((byte)local_50._shift1 & 0x1f) ^ (uint)local_30; + uVar8 = uVar8 << ((byte)local_50._shift2 & 0x1f) ^ uVar8; + local_50._seed = uVar8 >> ((byte)local_28 & 0x1f) ^ uVar8; + pMVar14 = (Manager *)(((uint)local_50._seed / 10) * 10); + local_30 = (float)local_50._seed; + if ((uint)local_50._seed % 10 != 0) goto LAB_007ed72b; iVar10 = 0x124; local_20._4_4_ = 0; LAB_007ed9e4: @@ -583573,39 +584430,38 @@ LAB_007ed7b7: goto LAB_007ed7b7; } if (iVar10 == 0x11) { - bVar4 = (byte)((ulonglong)local_4c >> 0x20); if (local_20._4_2_ == 0) { - if (local_30 == (RNG)0x0) { + if (local_30 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)local_30 >> ((byte)local_4c & 0x1f) ^ (uint)local_30; - uVar8 = uVar8 << (bVar4 & 0x1f) ^ uVar8; - local_50 = (RNG)(uVar8 >> ((byte)local_28 & 0x1f) ^ uVar8); + uVar8 = (uint)local_30 >> ((byte)local_50._shift1 & 0x1f) ^ (uint)local_30; + uVar8 = uVar8 << ((byte)local_50._shift2 & 0x1f) ^ uVar8; + local_50._seed = uVar8 >> ((byte)local_28 & 0x1f) ^ uVar8; pMVar14 = local_28; - local_30 = local_50; - if ((((uint)local_50 & 3) != 0) || + local_30 = (float)local_50._seed; + if (((local_50._seed & 3U) != 0) || ((pMVar14 = g_manager, (g_manager->_persistentGameData)._achievements[0xf7] == 0 && (((g_manager->_state != 2 || (g_game == (Game *)0x0)) || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))))) goto LAB_007ed870; uVar6 = 3; LAB_007ed8ea: local_20._0_6_ = CONCAT24(uVar6,(int)local_20); - local_50 = local_30; + local_50._seed = (int)local_30; } else { LAB_007ed870: if (local_20._4_2_ == 1) { - if (local_30 == (RNG)0x0) { + if (local_30 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)local_30 >> ((byte)local_4c & 0x1f) ^ (uint)local_30; - uVar8 = uVar8 << (bVar4 & 0x1f) ^ uVar8; - local_50 = (RNG)(uVar8 >> ((byte)local_28 & 0x1f) ^ uVar8); + uVar8 = (uint)local_30 >> ((byte)local_50._shift1 & 0x1f) ^ (uint)local_30; + uVar8 = uVar8 << ((byte)local_50._shift2 & 0x1f) ^ uVar8; + local_50._seed = uVar8 >> ((byte)local_28 & 0x1f) ^ uVar8; pMVar14 = local_28; - local_30 = local_50; - if ((((uint)local_50 & 3) == 0) && + local_30 = (float)local_50._seed; + if (((local_50._seed & 3U) == 0) && (((g_manager->_persistentGameData)._achievements[0xf3] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { @@ -583616,7 +584472,7 @@ LAB_007ed870: } } if (iVar10 == 5000) { - if ((**(uint **)&g_game->field_0x1b81c & 0x1000000) != 0) { + if ((*(uint *)(g_game->_bossPool)._removedBosses._begin & 0x1000000) != 0) { iVar10 = 1000; local_20 = 0x10000000003e8; } @@ -583671,47 +584527,48 @@ LAB_007ed926: if (((g_manager->_persistentGameData)._achievements[0x264] != 0) || (((g_manager->_state == 2 && (pGVar3 != (Game *)0x0)) && (((pGVar3->_dailyChallenge)._id != 0 || (pGVar3->_isDebug != 0)))))) { - local_64 = 0x300000003; - local_68 = *(RNG *)(*(int *)(extraout_ECX_03 + 4) + 0x58); - local_5c = 0x1a; + local_68._shift1 = 3; + local_68._shift2 = 3; + local_68._seed = *(int *)(*(int *)(extraout_ECX_03 + 4) + 0x58); + local_68._shift3 = 0x1a; uVar8 = RNG::RandomInt(&local_68,10); if (uVar8 == 0) { local_70 = RNG::RandomFloat(&local_68); pMVar14 = local_24; - local_30 = (RNG)(float)local_24->_currentSaveSlot; - local_70 = local_70 * (float)local_30; - fVar18 = RNG::RandomFloat(&local_68); - iVar9 = *(int *)&pMVar14->field_0xc; + local_30 = (float)local_24->_currentSaveSlot; + local_70 = local_70 * local_30; + fVar17 = RNG::RandomFloat(&local_68); + iVar9 = pMVar14->_previousState; local_28 = (Manager *)0x3fa00000; - local_30 = (RNG)0x3e99999a; + local_30 = 0.3; uVar8 = Game::GetStageID(g_game,unused); if ((uVar8 == 0x1d) || (uVar8 = Game::GetStageID(g_game,unused_00), uVar8 == 0x1e)) { local_28 = (Manager *)0x3fe66666; - local_30 = (RNG)0x3f000000; + local_30 = 0.5; } local_58 = RNG::RandomFloat(&local_68); local_40 = RNG::RandomFloat(&local_68); - local_78 = (EntitySaveState *)((local_58 + local_40) * (float)local_30 + 0.3); + local_78 = (EntitySaveState *)((local_58 + local_40) * local_30 + 0.3); local_40 = RNG::RandomFloat(&local_68); local_58 = RNG::RandomFloat(&local_68); - local_30 = (RNG)((local_40 + local_58) * (float)local_28 + 0.5); - fVar19 = RNG::RandomFloat(&local_68); - uVar8 = *(uint *)&pMVar14->field_0xc; + local_30 = (local_40 + local_58) * (float)local_28 + 0.5; + fVar18 = RNG::RandomFloat(&local_68); + uVar8 = pMVar14->_previousState; uVar11 = (uint)local_38 / uVar8; uVar8 = (uint)local_38 % uVar8; - fVar16 = -(fVar19 * 360.0) * 0.017453292; - local_40 = fVar16; + fVar15 = -(fVar18 * 360.0) * 0.017453292; + local_40 = fVar15; cos(); - fVar19 = local_40; - local_58 = fVar16; + fVar18 = local_40; + local_58 = fVar15; sin(); - fVar17 = (float)((double)(int)uVar8 + __uint_to_double_fixup[-((int)uVar8 >> 0x1f)]) - - fVar18 * (float)iVar9; - fVar18 = (float)((double)(int)uVar11 + __uint_to_double_fixup[-((int)uVar11 >> 0x1f)]) - + fVar16 = (float)((double)(int)uVar8 + __uint_to_double_fixup[-((int)uVar8 >> 0x1f)]) - + fVar17 * (float)iVar9; + fVar17 = (float)((double)(int)uVar11 + __uint_to_double_fixup[-((int)uVar11 >> 0x1f)]) - local_70; - fVar16 = (fVar17 * local_58 - fVar19 * fVar18) / (float)local_30; - fVar18 = (fVar17 * fVar19 + local_58 * fVar18) / (float)local_78; - local_31 = fVar18 * fVar18 + fVar16 * fVar16 <= 1.0; + fVar15 = (fVar16 * local_58 - fVar18 * fVar17) / local_30; + fVar17 = (fVar16 * fVar18 + local_58 * fVar17) / (float)local_78; + local_31 = fVar17 * fVar17 + fVar15 * fVar15 <= 1.0; } } uVar11 = RNG::RandomInt(&local_50,0x3e9); @@ -583872,9 +584729,9 @@ switchD_007ee4c1_caseD_bb8: case 0xbb9: local_28 = (Manager *)0x7; uVar8 = RNG::Next(&local_50); - local_7c = (float)((int)local_38 % *(int *)&local_24->field_0xc) * 40.0 + 40.0; + local_7c = (float)((int)local_38 % local_24->_previousState) * 40.0 + 40.0; local_78 = (EntitySaveState *) - ((float)((int)local_38 / *(int *)&local_24->field_0xc) * 40.0 + 120.0); + ((float)((int)local_38 / local_24->_previousState) * 40.0 + 120.0); piVar13 = (int *)Game::Spawn(1000,0xc0,&local_7c,&g_vectorZero,0,local_20._6_2_,uVar8); (**(code **)(*piVar13 + 0xc))(); piVar13 = (int *)(*(int *)&local_24->field_0x4 + 0x54); @@ -583949,7 +584806,7 @@ LAB_007ee5d9: } uVar8 = RNG::RandomInt(&local_50,100); if (uVar8 == 0) { - RVar15 = local_50; + fVar17 = (float)local_50._seed; if (((g_manager->_persistentGameData)._achievements[0x25d] != 0) || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))) { @@ -583968,17 +584825,17 @@ LAB_007ee333: local_2c = 3; default: switchD_007ee34a_caseD_3: - RVar15 = local_50; + fVar17 = (float)local_50._seed; break; case 5: case 6: case 7: local_2c = 4; - RVar15 = local_50; + fVar17 = (float)local_50._seed; } } else { - RVar15 = local_30; + fVar17 = local_30; } LAB_007ee378: this = (Entity_Player *)PlayerManager::FirstTrinketOwner(); @@ -583989,10 +584846,11 @@ LAB_007ee378: uVar8 = local_2c; } else { - local_5c = 0x19; + local_68._shift3 = 0x19; uVar11 = 0x21; - local_64 = 0x700000002; - local_68 = RVar15; + local_68._shift1 = 2; + local_68._shift2 = 7; + local_68._seed = (int)fVar17; iVar9 = Entity_Player::GetTrinketMultiplier(this,0x5b); if (iVar9 == 2) { uVar11 = 0x42; @@ -584027,11 +584885,11 @@ LAB_007ed567: (this_00->_desc)._variant = uVar8; (this_00->_desc)._varData = (int)local_6c; if (local_28 == (Manager *)0x17) { - fVar18 = 0.0; + fVar17 = 0.0; if (local_20._6_2_ != 0) { - fVar18 = local_3c; + fVar17 = local_3c; } - (this_00->_desc)._state = (int)fVar18; + (this_00->_desc)._state = (int)fVar17; } GridEntity::Init(this_00,(uint)local_54); LAB_007ee699: @@ -584325,7 +585183,7 @@ uint entity_type_is_saved(uint param_1,int param_2,char param_3) bool bVar4; pGVar2 = (Game *)g_manager; - if ((g_manager->field_0x20dcc == '\0') && + if ((g_manager->_isSavingGameState == 0) && (pGVar2 = g_game, g_game->_isStoringGlowingHourglassState == 0)) { uVar1 = (uint)g_game & 0xffffff00; } @@ -584465,7 +585323,7 @@ undefined4 Entity_Pickup::CanFlip(Entity_Pickup *param_1,int *param_2,char param param_2[10] = (int)(param_1->_pos).x; param_2[0xb] = (int)fVar8; param_2[0xd] = param_1->_initSeed; - *(RNG *)(param_2 + 0xe) = param_1->_dropRNG; + param_2[0xe] = (param_1->_dropRNG)._seed; param_2[0xf] = param_1->_spawnerType; param_2[0x10] = param_1->_spawnerVariant; *(short *)(param_2 + 8) = (short)param_1->_spawnGridIndex; @@ -584690,9 +585548,10 @@ void Entity_Pickup::RestoreState(Entity_NPC *param_1,int param_2) (param_1->_pos).x = *pfVar8; (param_1->_pos).y = pfVar8[1]; } - param_1->_dropRNG = *(RNG *)(param_2 + 0x38); - *(undefined8 *)¶m_1->field_0x3e0 = 0x300000004; - *(undefined4 *)¶m_1->field_0x3e8 = 0x11; + (param_1->_dropRNG)._seed = *(int *)(param_2 + 0x38); + (param_1->_dropRNG)._shift1 = 4; + (param_1->_dropRNG)._shift2 = 3; + (param_1->_dropRNG)._shift3 = 0x11; iVar9 = param_1->_type; param_1->_spawnGridIndex = (int)*(short *)(param_2 + 0x20); param_1->_scoreMultiplier = *(float *)(param_2 + 0x58); @@ -585350,8 +586209,7 @@ void __thiscall Room::update_door_transitions(Room *this) float fVar15; float fVar16; float fVar17; - int idx; - undefined4 uVar18; + int iVar18; int iVar19; undefined4 uVar20; uint local_64; @@ -585426,7 +586284,7 @@ void __thiscall Room::update_door_transitions(Room *this) } } iVar19 = (pGVar5->_desc)._state; - if ((pGVar5->field_0x3a0 & 0x10) == 0) { + if ((pGVar5->_doorFlags & 0x10) == 0) { bVar13 = iVar19 == 2; } else { @@ -585478,20 +586336,20 @@ void __thiscall Room::update_door_transitions(Room *this) } } iVar19 = -1; - idx = *(int *)((int)this->_doors[uVar12] + 0x394); - if (idx < -99) { - pRVar10 = Level::GetRoomByIdx((Level *)this_00,idx,-1); - uVar18 = 0x12; + iVar18 = *(int *)((int)this->_doors[uVar12] + 0x394); + if (iVar18 < -99) { + pRVar10 = Level::GetRoomByIdx((Level *)this_00,iVar18,-1); + uVar20 = 0x12; iVar19 = pRVar10->Dimension; if (*(int *)((int)this->_doors[uVar12] + 0x394) != -100) { - uVar18 = 0; + uVar20 = 0; } - idx = pRVar10->GridIndex; + iVar18 = pRVar10->GridIndex; } else { - uVar18 = 0; + uVar20 = 0; } - Game::StartRoomTransition(idx,uVar9,uVar18,pEVar8,iVar19); + Game::StartRoomTransition(iVar18,uVar9,uVar20,pEVar8,iVar19); g_game->_isPocketItemRewindSaved = 0; ExceptionList = local_1c; return; @@ -585511,9 +586369,9 @@ void __thiscall Room::update_door_transitions(Room *this) if ((fVar2 < 120.0) || (((fVar2 < 110.0 && (100.0 < fVar1)) && (fVar1 < 140.0)))) { uVar20 = 2; iVar19 = g_game->_enterDoor; - uVar18 = *(undefined4 *)&g_game->field_0x18328; + iVar18 = g_game->_dungeonReturnRoomIndex; LAB_007f070c: - Game::StartRoomTransition(uVar18,iVar19,uVar20,pEVar8,0xffffffff); + Game::StartRoomTransition(iVar18,iVar19,uVar20,pEVar8,0xffffffff); ExceptionList = local_1c; return; } @@ -585521,17 +586379,17 @@ LAB_007f070c: uVar20 = 0; iVar19 = 2; if (*(int *)this->_descriptor == -0xe) { - uVar18 = 0xfffffff1; + iVar18 = -0xf; g_game->_leaveDoor = 2; } else { uVar7 = *(uint *)(*(int *)((int)this->_descriptor + 0x10) + 0x38); g_game->_leaveDoor = 2; if ((uVar7 >> 2 & 1) == 0) { - uVar18 = 0xfffffffe; + iVar18 = -2; } else { - uVar18 = 0xfffffffa; + iVar18 = -6; } } goto LAB_007f070c; @@ -585540,14 +586398,14 @@ LAB_007f070c: uVar20 = 0; iVar19 = 0; g_game->_leaveDoor = 0; - uVar18 = 0xfffffffe; + iVar18 = -2; goto LAB_007f070c; } if ((this->_bottomRightPos).y + 20.0 < fVar2) { uVar20 = 0; iVar19 = 3; g_game->_leaveDoor = 3; - uVar18 = 0xfffffffe; + iVar18 = -2; goto LAB_007f070c; } } @@ -586133,7 +586991,7 @@ void Room::LoadBackdropGraphics(void) { int *piVar1; code *pcVar2; - undefined1 *puVar3; + uint *puVar3; byte bVar4; char cVar5; uint uVar6; @@ -586161,21 +587019,18 @@ void Room::LoadBackdropGraphics(void) uint local_64; undefined8 local_60; std_string local_58; - undefined1 local_40 [8]; - RNG local_38; - undefined8 uStack_34; - uint uStack_2c; + std_string local_40; uint local_24; undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; - undefined4 local_14; + uint local_14; - puStack_20 = local_40 + 0x3c; + puStack_20 = (undefined1 *)(local_74 + 0x1c); local_14 = -1; puStack_18 = &LAB_00b010d5; local_1c = ExceptionList; - uVar6 = __security_cookie ^ (uint)(local_40 + 0x30); + uVar6 = __security_cookie ^ (uint)(local_74 + 0x19); ExceptionList = &local_1c; uVar13 = g_game->_stage; local_74[0] = g_game->_stageType; @@ -586183,12 +587038,12 @@ void Room::LoadBackdropGraphics(void) local_74[3] = uVar13; local_64 = local_74[0]; local_24 = uVar6; - puVar3 = local_40 + 0x3c; + puVar3 = local_74 + 0x1c; if (g_game->_challenge == 0x2c) { local_64 = Level::GetRoomStageType(g_game->_currentRoomIdx); - puVar3 = puStack_20; + puVar3 = (uint *)puStack_20; } - puStack_20 = puVar3; + puStack_20 = (undefined1 *)puVar3; local_60 = CONCAT44(*(undefined4 *)(in_ECX + 8),(undefined4)local_60); local_74[0] = local_64; if (*(int *)(in_ECX + 0x1bb0) == 0x37) { @@ -586233,15 +587088,19 @@ void Room::LoadBackdropGraphics(void) } local_74[0] = local_64; if (pGVar12->_challenge == 0x2d) { - local_38 = (RNG)pGVar12->_dungeonPlacementSeed; - uStack_2c = 7; - uStack_34 = 0x700000002; + local_40._buf._8_4_ = pGVar12->_dungeonPlacementSeed; + local_40._capacity = 7; + local_40._buf[0xc] = '\x02'; + local_40._buf[0xd] = '\0'; + local_40._buf[0xe] = '\0'; + local_40._buf[0xf] = '\0'; + local_40._size = 7; if (uVar13 - 1 < 0xb) { - uVar13 = RNG::RandomInt(&local_38,0xb); + uVar13 = RNG::RandomInt((RNG *)(local_40._buf + 8),0xb); uVar13 = uVar13 + 1; local_74[3] = uVar13; } - local_64 = RNG::RandomInt(&local_38,5); + local_64 = RNG::RandomInt((RNG *)(local_40._buf + 8),5); if (local_64 == 3) { local_64 = 4; } @@ -586254,10 +587113,14 @@ void Room::LoadBackdropGraphics(void) } } if (local_74[2] == 0x1a) { - uStack_34 = 0x1500000001; - local_38 = *(RNG *)(*(int *)(in_ECX + 4) + 0x58); - uStack_2c = 0x14; - uVar13 = RNG::RandomInt(&local_38,0x11); + local_40._buf[0xc] = '\x01'; + local_40._buf[0xd] = '\0'; + local_40._buf[0xe] = '\0'; + local_40._buf[0xf] = '\0'; + local_40._size = 0x15; + local_40._buf._8_4_ = *(int *)(*(int *)(in_ECX + 4) + 0x58); + local_40._capacity = 0x14; + uVar13 = RNG::RandomInt((RNG *)(local_40._buf + 8),0x11); uVar13 = uVar13 + 1; goto LAB_007f1670; } @@ -586522,7 +587385,7 @@ LAB_007f1979: local_58._size = 0xc; builtin_strncpy(local_58._buf,"fxlayers.xml",0xd); local_14 = 0; - ModManager::TryRedirectPath(&g_manager->_modManager,(std_string *)local_40,&local_58); + ModManager::TryRedirectPath(&g_manager->_modManager,&local_40,&local_58); local_14._0_1_ = 1; puVar11 = extraout_EAX; if (0xf < (uint)extraout_EAX[5]) { @@ -586531,21 +587394,21 @@ LAB_007f1979: FXLayers::LoadConfig(puVar11,local_74[3],local_64); local_14 = (uint)local_14._1_3_ << 8; uVar10 = extraout_ECX; - if (0xf < uStack_2c) { - uVar6 = uStack_2c + 1; - pcVar8 = (char *)local_40._0_4_; + if (0xf < local_40._capacity) { + uVar6 = local_40._capacity + 1; + pcVar8 = (char *)local_40._buf._0_4_; if (0xfff < uVar6) { - pcVar8 = *(char **)(local_40._0_4_ + -4); - uVar6 = uStack_2c + 0x24; - if ((char *)0x1f < (char *)(local_40._0_4_ + (-4 - (int)pcVar8))) goto LAB_007f1a64; + pcVar8 = *(char **)(local_40._buf._0_4_ + -4); + uVar6 = local_40._capacity + 0x24; + if ((char *)0x1f < (char *)(local_40._buf._0_4_ + (-4 - (int)pcVar8))) goto LAB_007f1a64; } operator_delete(pcVar8,uVar6); uVar10 = extraout_ECX_00; } local_14 = -1; - uStack_34 = uStack_34 & 0xffffffff; - uStack_2c = 0xf; - local_40._0_4_ = local_40._0_4_ & 0xffffff00; + local_40._12_8_ = local_40._12_8_ & 0xffffffff; + local_40._capacity = 0xf; + local_40._buf._0_4_ = local_40._buf._0_4_ & 0xffffff00; if (0xf < local_58._capacity) { uVar6 = local_58._capacity + 1; iVar9 = local_58._buf._0_4_; @@ -586564,27 +587427,27 @@ LAB_007f1a64: LAB_007f1a86: if (uVar13 != 0x1c) goto LAB_007f1c03; } - uStack_34 = uStack_34 & 0xffffffff; - uStack_2c = 0xf; - local_40[0] = '\0'; - local_40[1] = '\0'; - local_40[2] = '\0'; - local_40[3] = '\0'; - local_40._0_4_ = std::_Allocate(); - uStack_34 = CONCAT44(0x1b,(int)uStack_34); - uStack_2c = 0x1f; - builtin_strncpy((char *)local_40._0_4_,"gfx/Effect_SatanRadial.anm2",0x1c); + local_40._12_8_ = local_40._12_8_ & 0xffffffff; + local_40._capacity = 0xf; + local_40._buf[0] = '\0'; + local_40._buf[1] = '\0'; + local_40._buf[2] = '\0'; + local_40._buf[3] = '\0'; + local_40._buf._0_4_ = std::_Allocate(); + local_40._size = 0x1b; + local_40._capacity = 0x1f; + builtin_strncpy((char *)local_40._buf._0_4_,"gfx/Effect_SatanRadial.anm2",0x1c); local_14 = 2; - ANM2::Load((ANM2 *)(in_ECX + 0x7100),(std_string *)local_40,0); + ANM2::Load((ANM2 *)(in_ECX + 0x7100),&local_40,0); local_14 = -1; bVar4 = extraout_CL; - if (0xf < uStack_2c) { - uVar6 = uStack_2c + 1; - pcVar8 = (char *)local_40._0_4_; + if (0xf < local_40._capacity) { + uVar6 = local_40._capacity + 1; + pcVar8 = (char *)local_40._buf._0_4_; if (0xfff < uVar6) { - pcVar8 = *(char **)(local_40._0_4_ + -4); - uVar6 = uStack_2c + 0x24; - if ((char *)0x1f < (char *)(local_40._0_4_ + (-4 - (int)pcVar8))) { + pcVar8 = *(char **)(local_40._buf._0_4_ + -4); + uVar6 = local_40._capacity + 0x24; + if ((char *)0x1f < (char *)(local_40._buf._0_4_ + (-4 - (int)pcVar8))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } @@ -586733,26 +587596,38 @@ LAB_007f1c03: *puVar11 = g_graphicsManager_renderTarget; KAGE_Graphics::SetRenderTarget(DAT_00c797ec,0); RenderTarget::Clear(); - local_38 = (RNG)g_graphicsManager_blendMode[0]; - uStack_34._0_4_ = g_graphicsManager_blendMode[1]; - uStack_34._4_4_ = g_graphicsManager_blendMode[2]; - uStack_2c = g_graphicsManager_blendMode[3]; - local_60._4_4_ = (int *)DAT_00c79910; + local_40._buf[8] = (undefined1)g_graphicsManager_blendMode[0]; + local_40._buf[9] = g_graphicsManager_blendMode[0]._1_1_; + local_40._buf[10] = g_graphicsManager_blendMode[0]._2_1_; + local_40._buf[0xb] = g_graphicsManager_blendMode[0]._3_1_; + local_40._buf[0xc] = (undefined1)g_graphicsManager_blendMode[1]; + local_40._buf[0xd] = g_graphicsManager_blendMode[1]._1_1_; + local_40._buf[0xe] = g_graphicsManager_blendMode[1]._2_1_; + local_40._buf[0xf] = g_graphicsManager_blendMode[1]._3_1_; + local_40._size = g_graphicsManager_blendMode[2]; + local_40._capacity = g_graphicsManager_blendMode[3]; + local_60._4_4_ = (int *)g_graphicsManager_blendMode[4]; g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[1] = 1; g_graphicsManager_blendMode[2] = 0; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 0; + g_graphicsManager_blendMode[4] = 0; pcVar2 = *(code **)(*DAT_00c797bc + 0x20); KColor::SetFromARGB(0xffffffff); local_74[2] = 0; local_74[1] = 0; (*pcVar2)(local_74 + 1,extraout_ECX_04); - g_graphicsManager_blendMode[0] = (int)local_38; - g_graphicsManager_blendMode[1] = (int)uStack_34; - g_graphicsManager_blendMode[2] = uStack_34._4_4_; - g_graphicsManager_blendMode[3] = uStack_2c; - DAT_00c79910 = local_60._4_4_; + g_graphicsManager_blendMode[0]._0_1_ = local_40._buf[8]; + g_graphicsManager_blendMode[0]._1_1_ = local_40._buf[9]; + g_graphicsManager_blendMode[0]._2_1_ = local_40._buf[10]; + g_graphicsManager_blendMode[0]._3_1_ = local_40._buf[0xb]; + g_graphicsManager_blendMode[1]._0_1_ = local_40._buf[0xc]; + g_graphicsManager_blendMode[1]._1_1_ = local_40._buf[0xd]; + g_graphicsManager_blendMode[1]._2_1_ = local_40._buf[0xe]; + g_graphicsManager_blendMode[1]._3_1_ = local_40._buf[0xf]; + g_graphicsManager_blendMode[2] = local_40._size; + g_graphicsManager_blendMode[3] = local_40._capacity; + g_graphicsManager_blendMode[4] = (int)local_60._4_4_; _glfw_context_reset(1); pop_render_target(); } @@ -586770,10 +587645,10 @@ LAB_007f1c03: void Room::reload_backdrop(void) { - undefined4 uVar1; - undefined4 uVar2; - undefined4 uVar3; - undefined4 uVar4; + float fVar1; + float fVar2; + float fVar3; + float fVar4; undefined8 uVar5; undefined8 uVar6; Game *pGVar7; @@ -586781,22 +587656,24 @@ void Room::reload_backdrop(void) LoadBackdropGraphics(); pGVar7 = g_game; - uVar1 = *(undefined4 *)(in_ECX + 0x1b10); - uVar2 = *(undefined4 *)(in_ECX + 0x1b14); - uVar3 = *(undefined4 *)(in_ECX + 0x1b18); - uVar4 = *(undefined4 *)(in_ECX + 0x1b1c); + fVar1 = *(float *)(in_ECX + 0x1b10); + fVar2 = *(float *)(in_ECX + 0x1b14); + fVar3 = *(float *)(in_ECX + 0x1b18); + fVar4 = *(float *)(in_ECX + 0x1b1c); uVar6 = *(undefined8 *)(in_ECX + 0x1b24); uVar5 = *(undefined8 *)(in_ECX + 0x1b24); - g_game->_targetColorModifier = uVar1; - *(undefined4 *)&pGVar7->field_0x676d4 = uVar2; - *(undefined4 *)&pGVar7->field_0x676d8 = uVar3; - *(undefined4 *)&pGVar7->field_0x676dc = uVar4; - pGVar7->_currentColorModifier = uVar1; - *(undefined4 *)&pGVar7->field_0x676bc = uVar2; - *(undefined4 *)&pGVar7->field_0x676c0 = uVar3; - *(undefined4 *)&pGVar7->field_0x676c4 = uVar4; - *(undefined8 *)&pGVar7->field_0x676e0 = uVar5; - *(undefined8 *)&pGVar7->field_0x676c8 = uVar6; + (g_game->_targetColorModifier)._red = fVar1; + (pGVar7->_targetColorModifier)._green = fVar2; + (pGVar7->_targetColorModifier)._blue = fVar3; + (pGVar7->_targetColorModifier)._amount = fVar4; + (pGVar7->_currentColorModifier)._red = fVar1; + (pGVar7->_currentColorModifier)._green = fVar2; + (pGVar7->_currentColorModifier)._blue = fVar3; + (pGVar7->_currentColorModifier)._amount = fVar4; + (pGVar7->_targetColorModifier)._brightness = (float)(int)uVar5; + (pGVar7->_targetColorModifier)._contrast = (float)(int)((ulonglong)uVar5 >> 0x20); + (pGVar7->_currentColorModifier)._brightness = (float)(int)uVar6; + (pGVar7->_currentColorModifier)._contrast = (float)(int)((ulonglong)uVar6 >> 0x20); pGVar7->_shouldLerpColorModState = 0; return; } @@ -587658,34 +588535,31 @@ LAB_007f8201: undefined4 Room::TrySpawnDevilRoomDoor(char param_1,char param_2) { - RNG RVar1; - Game *pGVar2; - Manager *pMVar3; - char cVar4; - RoomDescriptor *pRVar5; - int iVar6; + Game *pGVar1; + Manager *pMVar2; + char cVar3; + RoomDescriptor *pRVar4; + int iVar5; void **TargetRoomType; - float *pfVar7; - int iVar8; - undefined4 uVar9; - int *piVar10; - int iVar11; - uint *puVar12; + float *pfVar6; + int iVar7; + undefined4 uVar8; + int *piVar9; + int iVar10; + uint *puVar11; Room *in_ECX; GridEntity_Door *this; - uint uVar13; + uint uVar12; Room *this_00; - Game *pGVar14; - undefined4 *puVar15; - undefined1 *puVar16; - float fVar17; - undefined4 uVar18; + Game *pGVar13; + undefined4 *puVar14; + undefined1 *puVar15; + float fVar16; + undefined4 uVar17; + TypeDescriptor *pTVar18; TypeDescriptor *pTVar19; - TypeDescriptor *pTVar20; - undefined4 uVar21; + undefined4 uVar20; RNG local_84; - undefined8 local_80; - undefined4 local_78; float local_74; float local_70; float local_6c; @@ -587703,7 +588577,7 @@ undefined4 Room::TrySpawnDevilRoomDoor(char param_1,char param_2) Room *local_34; char local_2d; void **local_2c; - RNG local_28; + undefined1 *local_28; uint local_24; undefined1 *puStack_20; void *local_1c; @@ -587717,47 +588591,47 @@ undefined4 Room::TrySpawnDevilRoomDoor(char param_1,char param_2) local_24 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; local_34 = in_ECX; - puVar16 = (undefined1 *)((int)register0x00000010 + -4); + puVar15 = (undefined1 *)((int)register0x00000010 + -4); if (param_2 == '\0') { - cVar4 = Level::CanSpawnDevilRoom(local_24); - if (cVar4 == '\0') { + cVar3 = Level::CanSpawnDevilRoom(local_24); + if (cVar3 == '\0') { ExceptionList = local_1c; return 0; } - puVar16 = puStack_20; + puVar15 = puStack_20; } - puStack_20 = puVar16; + puStack_20 = puVar15; local_2d = '\0'; if ((param_2 == '\0') && - (pRVar5 = Level::GetRoomByIdx((Level *)g_game,g_game->_currentRoomIdx,-1), - pRVar5->ListIndex != g_game->_lastBossRoomListIdx)) { + (pRVar4 = Level::GetRoomByIdx((Level *)g_game,g_game->_currentRoomIdx,-1), + pRVar4->ListIndex != g_game->_lastBossRoomListIdx)) { ExceptionList = local_1c; return 0; } local_48 = (undefined1 *)GetDevilRoomChance(in_ECX); if (param_2 == '\0') { - local_28 = g_game->_devilAngelRoomRNG; + local_28 = (undefined1 *)(g_game->_devilAngelRoomRNG)._seed; local_58 = 0x1500000002; local_3c = (undefined1 *)0x9; - if (local_28 == (RNG)0x0) { + if (local_28 == (undefined1 *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar13 = (uint)local_28 >> 2 ^ (uint)local_28; - uVar13 = uVar13 << 0x15 ^ uVar13; - uVar13 = uVar13 >> 9 ^ uVar13; + uVar12 = (uint)local_28 >> 2 ^ (uint)local_28; + uVar12 = uVar12 << 0x15 ^ uVar12; + uVar12 = uVar12 >> 9 ^ uVar12; if (((float)local_48 <= - (float)((double)(int)uVar13 + __uint_to_double_fixup[-((int)uVar13 >> 0x1f)]) * + (float)((double)(int)uVar12 + __uint_to_double_fixup[-((int)uVar12 >> 0x1f)]) * 2.3283062e-10) && ((float)local_48 < 1.0)) { g_game->_devilRoomDisabled = 1; ExceptionList = local_1c; return 0; } } - iVar6 = PlayerManager::FirstCollectibleOwner + iVar5 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x1f2,&g_game->_playerManager,1); - pGVar14 = g_game; - if (iVar6 != 0) { + pGVar13 = g_game; + if (iVar5 != 0) { if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_14 = 0; @@ -587766,24 +588640,25 @@ undefined4 Room::TrySpawnDevilRoomDoor(char param_1,char param_2) local_14 = 0xffffffff; _Init_thread_footer(&g_invalidRoomDescriptorGuard); } - pRVar5 = &g_roomDescriptorDummy; - if ((uint)pGVar14->_currentDimensionIdx < 3) { - pRVar5 = pGVar14->_roomList + 0x1fb; + pRVar4 = &g_roomDescriptorDummy; + if ((uint)pGVar13->_currentDimensionIdx < 3) { + pRVar4 = pGVar13->_roomList + 0x1fb; } - if (pRVar5->Data == (void *)0x0) { - local_80 = 0x500000002; - local_84 = *(RNG *)((int)in_ECX->_descriptor + 0x58); - local_78 = 0x15; - local_28 = (RNG)RNG::RandomInt(&local_84,8); + if (pRVar4->Data == (void *)0x0) { + local_84._shift1 = 2; + local_84._shift2 = 5; + local_84._seed = *(int *)((int)in_ECX->_descriptor + 0x58); + local_84._shift3 = 0x15; + local_28 = (undefined1 *)RNG::RandomInt(&local_84,8); local_58 = 0; local_50 = (undefined4 *)0x0; local_14 = 1; std::vector::_Reallocate(4); local_2c = (void **)0x0; - puVar15 = local_58._4_4_; + puVar14 = local_58._4_4_; do { this_00 = local_34; - local_48 = (undefined1 *)((int)local_28 + (int)local_2c & 0x80000007); + local_48 = (undefined1 *)((uint)(local_28 + (int)local_2c) & 0x80000007); if ((int)local_48 < 0) { local_48 = (undefined1 *)(((uint)(local_48 + -1) | 0xfffffff8) + 1); } @@ -587791,26 +588666,26 @@ undefined4 Room::TrySpawnDevilRoomDoor(char param_1,char param_2) if (((*(uint *)(*(int *)((int)local_34->_descriptor + 0x10) + 0x38 + ((uint)local_48 >> 5) * 4) & 1 << ((byte)local_48 & 0x1f)) != 0) && (local_34->_doors[(int)local_48] == (void *)0x0)) { - if (puVar15 == local_50) { - std::vector::_Emplace_reallocate(puVar15,&local_48); - puVar15 = local_58._4_4_; + if (puVar14 == local_50) { + std::vector::_Emplace_reallocate(puVar14,&local_48); + puVar14 = local_58._4_4_; } else { - *puVar15 = local_48; - local_58 = CONCAT44(puVar15 + 1,(int)local_58); - puVar15 = puVar15 + 1; + *puVar14 = local_48; + local_58 = CONCAT44(puVar14 + 1,(int)local_58); + puVar14 = puVar14 + 1; } } local_2c = (void **)((int)local_2c + 1); } while ((int)local_2c < 8); - if (1 < (uint)((int)puVar15 - (int)local_58 >> 2)) { - RNG::Shuffle((int)local_58,puVar15); + if (1 < (uint)((int)puVar14 - (int)local_58 >> 2)) { + RNG::Shuffle((int)local_58,puVar14); local_40 = 0; do { - iVar6 = *(int *)((int)local_58 + local_40 * 4); - local_38 = this_00->_doors + iVar6; - if (this_00->_doors[iVar6] == (void *)0x0) { - MakeDoor(this_00,iVar6); + iVar5 = *(int *)((int)local_58 + local_40 * 4); + local_38 = this_00->_doors + iVar5; + if (this_00->_doors[iVar5] == (void *)0x0) { + MakeDoor(this_00,iVar5); } if ((local_40 == 0) || (local_2d != '\0')) { TargetRoomType = (void **)0xe; @@ -587820,8 +588695,8 @@ undefined4 Room::TrySpawnDevilRoomDoor(char param_1,char param_2) else { local_2c = (void **)0xf; LAB_007f86a4: - cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,7); - if (cVar4 == '\0') { + cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,7); + if (cVar3 == '\0') { TargetRoomType = local_2c; if (local_2c != (void **)0xf) goto LAB_007f86ce; } @@ -587835,135 +588710,136 @@ LAB_007f86ce: *(undefined4 *)((int)*local_38 + 0x394) = 0xffffffff; GridEntity_Door::Open(); if (param_1 != '\0') { - pfVar7 = (float *)Isaac::GetAxisAlignedUnitVectorFromDir(); - local_2c = (void **)-*pfVar7; - local_3c = (undefined1 *)((uint)pfVar7[1] ^ 0x80000000); - uVar13 = Random(); - local_28 = (RNG)0x0; - local_4c = (float)((uVar13 & 3) + 5); + pfVar6 = (float *)Isaac::GetAxisAlignedUnitVectorFromDir(); + local_2c = (void **)-*pfVar6; + local_3c = (undefined1 *)((uint)pfVar6[1] ^ 0x80000000); + uVar12 = Random(); + local_28 = (undefined1 *)0x0; + local_4c = (float)((uVar12 & 3) + 5); if (local_4c != 0.0) { local_48 = (undefined1 *)((uint)local_2c ^ 0x80000000); do { local_64 = Random(); - iVar6 = Random(); + iVar5 = Random(); local_44 = (undefined1 *) - ((float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * + ((float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 5.0); - iVar6 = Random(); - fVar17 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * + iVar5 = Random(); + fVar16 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10; - fVar17 = (fVar17 + fVar17) - 1.0; - local_6c = fVar17 * (float)local_3c + (float)local_2c * (float)local_44; - local_68 = fVar17 * (float)local_48 + (float)local_3c * (float)local_44; - iVar6 = *(int *)((int)*local_38 + 0x24); - iVar11 = *(int *)((int)g_game->_room + 0xc); - iVar8 = Random(); - local_60 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * + fVar16 = (fVar16 + fVar16) - 1.0; + local_6c = fVar16 * (float)local_3c + (float)local_2c * (float)local_44; + local_68 = fVar16 * (float)local_48 + (float)local_3c * (float)local_44; + iVar5 = *(int *)((int)*local_38 + 0x24); + iVar10 = *(int *)((int)g_game->_room + 0xc); + iVar7 = Random(); + local_60 = (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 3.14; local_60 = local_60 + local_60; - iVar8 = Random(); + iVar7 = Random(); local_44 = (undefined1 *) - ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * + ((float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 20.0); - fVar17 = local_60; + fVar16 = local_60; cos(); - local_74 = fVar17 * (float)local_44 + (float)(iVar6 % iVar11) * 40.0 + 40.0; - fVar17 = local_60; + local_74 = fVar16 * (float)local_44 + (float)(iVar5 % iVar10) * 40.0 + 40.0; + fVar16 = local_60; sin(); - RVar1 = local_28; - uVar21 = 0; - pTVar20 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; - pTVar19 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - local_70 = fVar17 * (float)local_44 + (float)(iVar6 / iVar11) * 40.0 + 120.0; - uVar18 = 0; - uVar9 = Game::Spawn(1000,0x3b,&local_74,&local_6c,0,local_28 == (RNG)0x0,local_64); - piVar10 = (int *)__RTDynamicCast(uVar9,uVar18,pTVar19,pTVar20,uVar21); + puVar15 = local_28; + uVar20 = 0; + pTVar19 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; + pTVar18 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + local_70 = fVar16 * (float)local_44 + (float)(iVar5 / iVar10) * 40.0 + 120.0; + uVar17 = 0; + uVar8 = Game::Spawn(1000,0x3b,&local_74,&local_6c,0,local_28 == (undefined1 *)0x0, + local_64); + piVar9 = (int *)__RTDynamicCast(uVar8,uVar17,pTVar18,pTVar19,uVar20); local_44 = (undefined1 *)0x3f800000; - iVar6 = *(int *)((int)g_game->_room + 0xc); - if (((float)piVar10[0xd0] - - ((float)(*(int *)((int)*local_38 + 0x24) / iVar6) * 40.0 + 120.0)) * + iVar5 = *(int *)((int)g_game->_room + 0xc); + if (((float)piVar9[0xd0] - + ((float)(*(int *)((int)*local_38 + 0x24) / iVar5) * 40.0 + 120.0)) * (float)local_48 + - ((float)piVar10[0xcf] - - ((float)(*(int *)((int)*local_38 + 0x24) % iVar6) * 40.0 + 40.0)) * + ((float)piVar9[0xcf] - + ((float)(*(int *)((int)*local_38 + 0x24) % iVar5) * 40.0 + 40.0)) * (float)local_3c < 0.0) { local_44 = &DAT_bf800000; } - iVar6 = Random(); - piVar10[0x11d] = - (int)(((float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * + iVar5 = Random(); + piVar9[0x11d] = + (int)(((float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 10.0 + 2.0) * (float)local_44); - uVar13 = Random(); - iVar6 = uVar13 % 10 + 0x1e; - piVar10[0x117] = iVar6; - piVar10[0x118] = iVar6; - (**(code **)(*piVar10 + 0xc))(); - local_28 = (RNG)((int)RVar1 + 1); + uVar12 = Random(); + iVar5 = uVar12 % 10 + 0x1e; + piVar9[0x117] = iVar5; + piVar9[0x118] = iVar5; + (**(code **)(*piVar9 + 0xc))(); + local_28 = puVar15 + 1; this_00 = local_34; } while ((int)local_28 < (int)local_4c); } } - pMVar3 = g_manager; + pMVar2 = g_manager; local_40 = local_40 + 1; } while (local_40 < 2); if (param_1 != '\0') { - local_28 = (RNG)0x140; + local_28 = (undefined1 *)0x140; seed_fart_sound_override(); - SoundEffects::Play(&pMVar3->_sfxManager,(int)local_28,1.0,2,0,1.0,0.0); - pMVar3 = g_manager; - local_28 = (RNG)0x17; + SoundEffects::Play(&pMVar2->_sfxManager,(int)local_28,1.0,2,0,1.0,0.0); + pMVar2 = g_manager; + local_28 = &DAT_00000017; seed_fart_sound_override(); - SoundEffects::Play(&pMVar3->_sfxManager,(int)local_28,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar2->_sfxManager,(int)local_28,1.0,2,0,1.0,0.0); } if ((g_game->_stageType == 4) || (g_game->_stageType == 5)) { - iVar6 = g_game->_stage + 1; + iVar5 = g_game->_stage + 1; } else { - iVar6 = g_game->_stage; + iVar5 = g_game->_stage; } - if (iVar6 < 1) { - iVar6 = 0; + if (iVar5 < 1) { + iVar5 = 0; } - iVar11 = 0xd; - if (iVar6 < 0xd) { - iVar11 = iVar6; + iVar10 = 0xd; + if (iVar5 < 0xd) { + iVar10 = iVar5; } - g_game->_lastDevilRoomStage = iVar11; + g_game->_lastDevilRoomStage = iVar10; if ((int)local_58 != 0) { - uVar13 = (int)local_50 - (int)local_58 & 0xfffffffc; - iVar6 = (int)local_58; - if (0xfff < uVar13) { - iVar6 = *(int *)((int)local_58 + -4); - uVar13 = uVar13 + 0x23; - if (0x1f < ((int)local_58 - iVar6) - 4U) goto LAB_007f8b59; + uVar12 = (int)local_50 - (int)local_58 & 0xfffffffc; + iVar5 = (int)local_58; + if (0xfff < uVar12) { + iVar5 = *(int *)((int)local_58 + -4); + uVar12 = uVar12 + 0x23; + if (0x1f < ((int)local_58 - iVar5) - 4U) goto LAB_007f8b59; } - operator_delete(iVar6,uVar13); + operator_delete(iVar5,uVar12); } ExceptionList = local_1c; return 1; } local_14 = 0xffffffff; if ((int)local_58 != 0) { - uVar13 = (int)local_50 - (int)local_58 & 0xfffffffc; - iVar6 = (int)local_58; - if (0xfff < uVar13) { - iVar6 = *(int *)((int)local_58 + -4); - uVar13 = uVar13 + 0x23; - if (0x1f < ((int)local_58 - iVar6) - 4U) { + uVar12 = (int)local_50 - (int)local_58 & 0xfffffffc; + iVar5 = (int)local_58; + if (0xfff < uVar12) { + iVar5 = *(int *)((int)local_58 + -4); + uVar12 = uVar12 + 0x23; + if (0x1f < ((int)local_58 - iVar5) - 4U) { LAB_007f8b59: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar6,uVar13); + operator_delete(iVar5,uVar12); local_58 = 0; local_50 = (undefined4 *)0x0; } } } - pGVar14 = g_game; - cVar4 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,7); - Level::InitializeDevilAngelRoom((Level *)pGVar14,cVar4 != '\0',0); - pGVar14 = g_game; + pGVar13 = g_game; + cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,7); + Level::InitializeDevilAngelRoom((Level *)pGVar13,cVar3 != '\0',0); + pGVar13 = g_game; if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_14 = 2; @@ -587972,18 +588848,18 @@ LAB_007f8b59: local_14 = 0xffffffff; _Init_thread_footer(&g_invalidRoomDescriptorGuard); } - pGVar2 = g_game; - if ((uint)pGVar14->_currentDimensionIdx < 3) { - pRVar5 = pGVar14->_roomList + 0x1fb; + pGVar1 = g_game; + if ((uint)pGVar13->_currentDimensionIdx < 3) { + pRVar4 = pGVar13->_roomList + 0x1fb; } else { - pRVar5 = &g_roomDescriptorDummy; + pRVar4 = &g_roomDescriptorDummy; } - local_2c = &pRVar5->Data; - fVar17 = (float)g_game->_enterDoor; - if ((((g_game->_lastRoomIdx != -1) || ((int)fVar17 < 0)) || - ((*(uint *)(*(int *)((int)local_34->_descriptor + 0x10) + 0x38 + ((uint)fVar17 >> 5) * 4) & - 1 << (SUB41(fVar17,0) & 0x1f)) == 0)) || (local_34->_doors[(int)fVar17] != (void *)0x0)) { + local_2c = &pRVar4->Data; + fVar16 = (float)g_game->_enterDoor; + if ((((g_game->_lastRoomIdx != -1) || ((int)fVar16 < 0)) || + ((*(uint *)(*(int *)((int)local_34->_descriptor + 0x10) + 0x38 + ((uint)fVar16 >> 5) * 4) & + 1 << (SUB41(fVar16,0) & 0x1f)) == 0)) || (local_34->_doors[(int)fVar16] != (void *)0x0)) { local_38 = local_34->_descriptor; local_4c = *(float *)((int)local_38 + 0x58); local_58 = 0x500000002; @@ -587992,48 +588868,48 @@ LAB_007f8b59: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar13 = (uint)local_4c >> 2 ^ (uint)local_4c; - uVar13 = uVar13 << 5 ^ uVar13; - local_40 = (uVar13 >> 0x15 ^ uVar13) & 7; + uVar12 = (uint)local_4c >> 2 ^ (uint)local_4c; + uVar12 = uVar12 << 5 ^ uVar12; + local_40 = (uVar12 >> 0x15 ^ uVar12) & 7; if ((g_game->_difficulty == 2) || (g_game->_difficulty == 3)) { local_40 = 4; } - local_28 = (RNG)0x0; + local_28 = (undefined1 *)0x0; do { - local_4c = (float)((int)local_28 + local_40 & 0x80000007); + local_4c = (float)((uint)(local_28 + local_40) & 0x80000007); if ((int)local_4c < 0) { local_4c = (float)(((int)local_4c - 1U | 0xfffffff8) + 1); } - uVar13 = (int)local_4c + 2U & 0x80000003; - if ((int)uVar13 < 0) { - uVar13 = (uVar13 - 1 | 0xfffffffc) + 1; + uVar12 = (int)local_4c + 2U & 0x80000003; + if ((int)uVar12 < 0) { + uVar12 = (uVar12 - 1 | 0xfffffffc) + 1; } if ((((*(uint *)(*(int *)((int)local_38 + 0x10) + 0x38 + ((uint)local_4c >> 5) * 4) & 1 << (SUB41(local_4c,0) & 0x1f)) != 0) && - ((*(uint *)((int)*local_2c + (uVar13 >> 5) * 4 + 0x38) & 1 << ((byte)uVar13 & 0x1f)) != 0) + ((*(uint *)((int)*local_2c + (uVar12 >> 5) * 4 + 0x38) & 1 << ((byte)uVar12 & 0x1f)) != 0) ) && (local_34->_doors[(int)local_4c] == (void *)0x0)) { - fVar17 = local_4c; + fVar16 = local_4c; if (-1 < (int)local_4c) goto LAB_007f8d89; break; } - local_28 = (RNG)((int)local_28 + 1); + local_28 = local_28 + 1; } while ((int)local_28 < 8); - local_28 = (RNG)0x0; + local_28 = (undefined1 *)0x0; while( true ) { - fVar17 = (float)(local_40 + (int)local_28 & 0x80000007); - if ((int)fVar17 < 0) { - fVar17 = (float)(((int)fVar17 - 1U | 0xfffffff8) + 1); + fVar16 = (float)((uint)(local_28 + local_40) & 0x80000007); + if ((int)fVar16 < 0) { + fVar16 = (float)(((int)fVar16 - 1U | 0xfffffff8) + 1); } - if (((*(uint *)(*(int *)((int)local_38 + 0x10) + 0x38 + ((uint)fVar17 >> 5) * 4) & - 1 << (SUB41(fVar17,0) & 0x1f)) != 0) && (local_34->_doors[(int)fVar17] == (void *)0x0)) + if (((*(uint *)(*(int *)((int)local_38 + 0x10) + 0x38 + ((uint)fVar16 >> 5) * 4) & + 1 << (SUB41(fVar16,0) & 0x1f)) != 0) && (local_34->_doors[(int)fVar16] == (void *)0x0)) break; - local_28 = (RNG)((int)local_28 + 1); + local_28 = local_28 + 1; if (7 < (int)local_28) { ExceptionList = local_1c; return 0; } } - if ((int)fVar17 < 0) { + if ((int)fVar16 < 0) { ExceptionList = local_1c; return 0; } @@ -588047,112 +588923,112 @@ LAB_007f8d89: if (local_2c != (void **)0xf) goto LAB_007f8dc6; *(uint *)&g_game->_gameStateFlags = (uint)g_game->_gameStateFlags | 1; } - *(undefined4 *)((int)&pGVar2->_gameStateFlags + 4) = - *(undefined4 *)((int)&pGVar2->_gameStateFlags + 4); + *(undefined4 *)((int)&pGVar1->_gameStateFlags + 4) = + *(undefined4 *)((int)&pGVar1->_gameStateFlags + 4); LAB_007f8dc6: - this = local_34->_doors[(int)fVar17]; - local_38 = local_34->_doors + (int)fVar17; + this = local_34->_doors[(int)fVar16]; + local_38 = local_34->_doors + (int)fVar16; if (this == (GridEntity_Door *)0x0) { - MakeDoor(local_34,(int)fVar17); + MakeDoor(local_34,(int)fVar16); this = *local_38; } GridEntity_Door::SetRoomTypes(this,1,(int)local_2c); *(undefined4 *)((int)*local_38 + 0x394) = 0xffffffff; GridEntity_Door::Open(); - pGVar14 = g_game; + pGVar13 = g_game; if ((g_game->_stageType == 4) || (g_game->_stageType == 5)) { - iVar6 = g_game->_stage + 1; + iVar5 = g_game->_stage + 1; } else { - iVar6 = g_game->_stage; + iVar5 = g_game->_stage; } - if (iVar6 < 1) { - iVar6 = 0; + if (iVar5 < 1) { + iVar5 = 0; } - iVar11 = 0xd; - if (iVar6 < 0xd) { - iVar11 = iVar6; + iVar10 = 0xd; + if (iVar5 < 0xd) { + iVar10 = iVar5; } - g_game->_lastDevilRoomStage = iVar11; - pMVar3 = g_manager; + g_game->_lastDevilRoomStage = iVar10; + pMVar2 = g_manager; if (param_1 != '\0') { - local_28 = (RNG)0x140; + local_28 = (undefined1 *)0x140; if (local_2c != (void **)0xe) { - local_28 = (RNG)0x17; + local_28 = (undefined1 *)0x17; } seed_fart_sound_override(); - SoundEffects::Play(&pMVar3->_sfxManager,(int)local_28,1.0,2,0,1.0,0.0); - puVar12 = (uint *)Isaac::GetAxisAlignedUnitVectorFromDir(); - local_28 = (RNG)(*puVar12 ^ 0x80000000); - local_44 = (undefined1 *)(puVar12[1] ^ 0x80000000); - uVar13 = Random(); - local_40 = (uVar13 & 3) + 5; + SoundEffects::Play(&pMVar2->_sfxManager,(int)local_28,1.0,2,0,1.0,0.0); + puVar11 = (uint *)Isaac::GetAxisAlignedUnitVectorFromDir(); + local_28 = (undefined1 *)(*puVar11 ^ 0x80000000); + local_44 = (undefined1 *)(puVar11[1] ^ 0x80000000); + uVar12 = Random(); + local_40 = (uVar12 & 3) + 5; if (local_40 != 0) { local_60 = -(float)local_28; local_2c = (void **)(uint)(local_2c == (void **)0xe); do { local_64 = Random(); - iVar6 = Random(); - local_4c = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * 2.3283064e-10 + iVar5 = Random(); + local_4c = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 5.0; - iVar6 = Random(); - fVar17 = (float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * 2.3283064e-10; - fVar17 = (fVar17 + fVar17) - 1.0; - local_74 = local_4c * (float)local_28 + fVar17 * (float)local_44; - local_70 = local_60 * fVar17 + local_4c * (float)local_44; - iVar6 = *(int *)((int)*local_38 + 0x24); - iVar11 = *(int *)((int)g_game->_room + 0xc); - iVar8 = Random(); - fVar17 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * + iVar5 = Random(); + fVar16 = (float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10; + fVar16 = (fVar16 + fVar16) - 1.0; + local_74 = local_4c * (float)local_28 + fVar16 * (float)local_44; + local_70 = local_60 * fVar16 + local_4c * (float)local_44; + iVar5 = *(int *)((int)*local_38 + 0x24); + iVar10 = *(int *)((int)g_game->_room + 0xc); + iVar7 = Random(); + fVar16 = (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 3.14; - local_3c = (undefined1 *)(fVar17 + fVar17); - iVar8 = Random(); + local_3c = (undefined1 *)(fVar16 + fVar16); + iVar7 = Random(); local_48 = (undefined1 *) - ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * + ((float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 20.0); - puVar16 = local_3c; + puVar15 = local_3c; cos(); - local_6c = (float)puVar16 * (float)local_48 + (float)(iVar6 % iVar11) * 40.0 + 40.0; - puVar16 = local_3c; + local_6c = (float)puVar15 * (float)local_48 + (float)(iVar5 % iVar10) * 40.0 + 40.0; + puVar15 = local_3c; sin(); - uVar21 = 0; - pTVar20 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; - local_68 = (float)puVar16 * (float)local_48 + (float)(iVar6 / iVar11) * 40.0 + 120.0; - pTVar19 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; - uVar18 = 0; - uVar9 = Game::Spawn(1000,0x3b,&local_6c,&local_74,0,local_2c,local_64); - piVar10 = (int *)__RTDynamicCast(uVar9,uVar18,pTVar19,pTVar20,uVar21); + uVar20 = 0; + pTVar19 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor; + local_68 = (float)puVar15 * (float)local_48 + (float)(iVar5 / iVar10) * 40.0 + 120.0; + pTVar18 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar17 = 0; + uVar8 = Game::Spawn(1000,0x3b,&local_6c,&local_74,0,local_2c,local_64); + piVar9 = (int *)__RTDynamicCast(uVar8,uVar17,pTVar18,pTVar19,uVar20); local_3c = (undefined1 *)0x3f800000; - iVar6 = *(int *)((int)g_game->_room + 0xc); - if (((float)piVar10[0xcf] - ((float)(*(int *)((int)*local_38 + 0x24) % iVar6) * 40.0 + 40.0) - ) * (float)local_44 + - ((float)piVar10[0xd0] - - ((float)(*(int *)((int)*local_38 + 0x24) / iVar6) * 40.0 + 120.0)) * local_60 < 0.0) { + iVar5 = *(int *)((int)g_game->_room + 0xc); + if (((float)piVar9[0xcf] - ((float)(*(int *)((int)*local_38 + 0x24) % iVar5) * 40.0 + 40.0)) + * (float)local_44 + + ((float)piVar9[0xd0] - ((float)(*(int *)((int)*local_38 + 0x24) / iVar5) * 40.0 + 120.0) + ) * local_60 < 0.0) { local_3c = &DAT_bf800000; } - iVar6 = Random(); - piVar10[0x11d] = - (int)(((float)((double)iVar6 + __uint_to_double_fixup[-(iVar6 >> 0x1f)]) * + iVar5 = Random(); + piVar9[0x11d] = + (int)(((float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) * 2.3283064e-10 * 10.0 + 2.0) * (float)local_3c); - uVar13 = Random(); - iVar6 = uVar13 % 10 + 0x1e; - piVar10[0x117] = iVar6; - piVar10[0x118] = iVar6; - (**(code **)(*piVar10 + 0xc))(); + uVar12 = Random(); + iVar5 = uVar12 % 10 + 0x1e; + piVar9[0x117] = iVar5; + piVar9[0x118] = iVar5; + (**(code **)(*piVar9 + 0xc))(); local_40 = local_40 - 1; } while (local_40 != 0); } - pGVar14 = g_game; + pGVar13 = g_game; } - RVar1 = pGVar14->_devilAngelRoomRNG; - if (RVar1 == (RNG)0x0) { + uVar12 = (pGVar13->_devilAngelRoomRNG)._seed; + if (uVar12 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar13 = (uint)RVar1 >> ((byte)*(undefined4 *)&pGVar14->field_0x182e8 & 0x1f) ^ (uint)RVar1; - uVar13 = uVar13 << ((byte)*(undefined4 *)&pGVar14->field_0x182ec & 0x1f) ^ uVar13; - pGVar14->_devilAngelRoomRNG = - (RNG)(uVar13 >> ((byte)*(undefined4 *)&pGVar14->field_0x182f0 & 0x1f) ^ uVar13); + uVar12 = uVar12 >> ((byte)(pGVar13->_devilAngelRoomRNG)._shift1 & 0x1f) ^ uVar12; + uVar12 = uVar12 << ((byte)(pGVar13->_devilAngelRoomRNG)._shift2 & 0x1f) ^ uVar12; + (pGVar13->_devilAngelRoomRNG)._seed = + uVar12 >> ((byte)(pGVar13->_devilAngelRoomRNG)._shift3 & 0x1f) ^ uVar12; ExceptionList = local_1c; return 1; } @@ -588908,16 +589784,15 @@ float RoomClear_PickVariant(RNG *param_1,char param_2) char cVar3; byte bVar4; uint uVar5; - RNG RVar6; - int iVar7; - int *piVar8; - float *pfVar9; - Entity_Player *pEVar10; - Game *pGVar11; - uint uVar12; - float fVar13; - undefined4 *puVar14; - float fVar15; + int iVar6; + int *piVar7; + float *pfVar8; + Entity_Player *pEVar9; + Game *pGVar10; + uint uVar11; + float fVar12; + undefined4 *puVar13; + float fVar14; float local_30; float local_2c; float local_28; @@ -588926,346 +589801,346 @@ float RoomClear_PickVariant(RNG *param_1,char param_2) float local_1c [5]; float local_8; - pGVar11 = g_game; + pGVar10 = g_game; local_8 = (float)(__security_cookie ^ (uint)(local_1c + 6)); - RVar6 = *param_1; - if (RVar6 == (RNG)0x0) { + uVar5 = param_1->_seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - fVar13 = 0.0; - uVar5 = (uint)RVar6 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << (SUB41(param_1[2],0) & 0x1f) ^ uVar5; - RVar6 = (RNG)(uVar5 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar5); - *param_1 = RVar6; - local_28 = (float)((double)(int)RVar6 + __uint_to_double_fixup[-((int)RVar6 >> 0x1f)]) * + fVar12 = 0.0; + uVar5 = uVar5 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)param_1->_shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar5; + param_1->_seed = uVar5; + local_28 = (float)((double)(int)uVar5 + __uint_to_double_fixup[-((int)uVar5 >> 0x1f)]) * 2.3283062e-10; - iVar7 = PlayerManager::FirstCollectibleOwner - (&pGVar11->_playerManager,0x2e,&pGVar11->_playerManager,1); - if (iVar7 != 0) { + iVar6 = PlayerManager::FirstCollectibleOwner + (&pGVar10->_playerManager,0x2e,&pGVar10->_playerManager,1); + if (iVar6 != 0) { local_28 = local_28 * 0.9 + 0.1; } local_2c = 0.0; - for (piVar8 = (g_game->_playerManager)._playerList._begin; - piVar8 != (g_game->_playerManager)._playerList._end; piVar8 = piVar8 + 1) { - iVar7 = *piVar8; - if ((*(int *)(iVar7 + 0x2c) == 0) && (*(char *)(iVar7 + 0x20a9) == '\0')) { - local_2c = local_2c + *(float *)(iVar7 + 0x156c); + for (piVar7 = (g_game->_playerManager)._playerList._begin; + piVar7 != (g_game->_playerManager)._playerList._end; piVar7 = piVar7 + 1) { + iVar6 = *piVar7; + if ((*(int *)(iVar6 + 0x2c) == 0) && (*(char *)(iVar6 + 0x20a9) == '\0')) { + local_2c = local_2c + *(float *)(iVar6 + 0x156c); } } local_30 = 0.0; - pfVar9 = &local_2c; + pfVar8 = &local_2c; if (local_2c <= 0.0) { - pfVar9 = &local_30; + pfVar8 = &local_30; } - local_2c = *pfVar9; + local_2c = *pfVar8; if (10.0 <= local_2c) { local_2c = 10.0; } - RVar6 = *param_1; - if (RVar6 == (RNG)0x0) { + uVar5 = param_1->_seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << (SUB41(param_1[2],0) & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)param_1->_shift2 & 0x1f) ^ uVar5; pPVar1 = &g_game->_playerManager; - RVar6 = (RNG)(uVar5 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar5); - *param_1 = RVar6; - local_20 = (Game *)((float)((double)(int)RVar6 + __uint_to_double_fixup[-((int)RVar6 >> 0x1f)]) * + uVar5 = uVar5 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar5; + param_1->_seed = uVar5; + local_20 = (Game *)((float)((double)(int)uVar5 + __uint_to_double_fixup[-((int)uVar5 >> 0x1f)]) * 2.3283062e-10 * local_2c * 0.1 + local_28); cVar3 = PlayerManager::AnyoneHasTrinket(pPVar1,0x2a); if (cVar3 != '\0') { - iVar7 = PlayerManager::FirstCollectibleOwner + iVar6 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x2e,&g_game->_playerManager,1); - if ((iVar7 == 0) || (local_2c <= 0.0)) { + if ((iVar6 == 0) || (local_2c <= 0.0)) { local_20 = (Game *)((float)local_20 * 0.9 + 0.1); } else { local_20 = (Game *)((float)local_20 * 0.98 + 0.02); } } - iVar7 = PlayerManager::FirstCollectibleOwner + iVar6 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x29e,&g_game->_playerManager,1); - if ((iVar7 != 0) && ((float)local_20 < 0.06)) { - fVar15 = ((float)local_20 - 0.0) / 0.06; - if (fVar15 <= 0.0) { - fVar15 = 0.0; + if ((iVar6 != 0) && ((float)local_20 < 0.06)) { + fVar14 = ((float)local_20 - 0.0) / 0.06; + if (fVar14 <= 0.0) { + fVar14 = 0.0; } - if (1.0 <= fVar15) { - fVar15 = 1.0; + if (1.0 <= fVar14) { + fVar14 = 1.0; } - local_20 = (Game *)(1.0 - fVar15 * 0.78); + local_20 = (Game *)(1.0 - fVar14 * 0.78); } if (((float)local_20 <= 0.22) && (param_2 != '\0')) { - fVar15 = ((float)local_20 - 0.0) / 0.22; - if (fVar15 <= 0.0) { - fVar15 = 0.0; + fVar14 = ((float)local_20 - 0.0) / 0.22; + if (fVar14 <= 0.0) { + fVar14 = 0.0; } - if (1.0 <= fVar15) { - fVar15 = 1.0; + if (1.0 <= fVar14) { + fVar14 = 1.0; } - local_20 = (Game *)(fVar15 * 0.7799 + 0.2201); + local_20 = (Game *)(fVar14 * 0.7799 + 0.2201); } if ((float)local_20 <= 0.22) goto LAB_007fb097; if (0.3 <= (float)local_20) { if (((float)local_20 < 0.45) || (((float)local_20 < 0.5 && (cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x54), cVar3 != '\0')))) { - fVar13 = 2.8026e-44; + fVar12 = 2.8026e-44; } else if ((0.6 <= (float)local_20) || ((cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x16), cVar3 != '\0' && (uVar5 = RNG::RandomInt(param_1,5), uVar5 != 0)))) { if (0.8 <= (float)local_20) { - fVar13 = 7.00649e-44; + fVar12 = 7.00649e-44; if ((float)local_20 < 0.95) { - fVar13 = 5.60519e-44; + fVar12 = 5.60519e-44; } } else { - fVar13 = 4.2039e-44; + fVar12 = 4.2039e-44; } } else { - fVar13 = 1.4013e-44; + fVar12 = 1.4013e-44; } } else { - RVar6 = *param_1; - if (RVar6 == (RNG)0x0) { + uVar5 = param_1->_seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << (SUB41(param_1[2],0) & 0x1f) ^ uVar5; - RVar6 = (RNG)(uVar5 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar5); - *param_1 = RVar6; - if ((uint)RVar6 % 3 == 0) { - fVar13 = 4.2039e-43; + uVar5 = uVar5 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)param_1->_shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar5; + param_1->_seed = uVar5; + if (uVar5 % 3 == 0) { + fVar12 = 4.2039e-43; } else { - if (RVar6 == (RNG)0x0) { + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - fVar13 = 9.80909e-44; - uVar5 = (uint)RVar6 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << (SUB41(param_1[2],0) & 0x1f) ^ uVar5; - RVar6 = (RNG)(uVar5 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar5); - *param_1 = RVar6; - if (((uint)RVar6 & 1) == 0) { - fVar13 = 4.90454e-43; + fVar12 = 9.80909e-44; + uVar5 = uVar5 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)param_1->_shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar5; + param_1->_seed = uVar5; + if ((uVar5 & 1) == 0) { + fVar12 = 4.90454e-43; } } } - RVar6 = *param_1; - if (RVar6 == (RNG)0x0) { + uVar5 = param_1->_seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << (SUB41(param_1[2],0) & 0x1f) ^ uVar5; - RVar6 = (RNG)(uVar5 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar5); - *param_1 = RVar6; - if (((uint)RVar6 % 0xf == 0) && + uVar5 = uVar5 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)param_1->_shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar5; + param_1->_seed = uVar5; + if ((uVar5 % 0xf == 0) && (cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x48), cVar3 != '\0')) { - fVar13 = 1.26117e-43; + fVar12 = 1.26117e-43; } - pEVar10 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x9f); - if (pEVar10 != (Entity_Player *)0x0) { - iVar7 = Entity_Player::GetTrinketMultiplier(pEVar10,0x9f); - if (iVar7 == 2) { - RVar6 = *param_1; - if (RVar6 == (RNG)0x0) { + pEVar9 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x9f); + if (pEVar9 != (Entity_Player *)0x0) { + iVar6 = Entity_Player::GetTrinketMultiplier(pEVar9,0x9f); + if (iVar6 == 2) { + uVar5 = param_1->_seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << (SUB41(param_1[2],0) & 0x1f) ^ uVar5; - RVar6 = (RNG)(uVar5 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar5); - *param_1 = RVar6; - uVar5 = (uint)RVar6 % 10; + uVar5 = uVar5 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)param_1->_shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar5; + param_1->_seed = uVar5; + uVar5 = uVar5 % 10; } else { - if (iVar7 < 3) goto LAB_007fae16; + if (iVar6 < 3) goto LAB_007fae16; uVar5 = RNG::RandomInt(param_1,4); } if (uVar5 == 0) { - fVar13 = 7.00649e-44; + fVar12 = 7.00649e-44; } } LAB_007fae16: - RVar6 = *param_1; - if (RVar6 == (RNG)0x0) { + uVar5 = param_1->_seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << (SUB41(param_1[2],0) & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)param_1->_shift2 & 0x1f) ^ uVar5; local_1c[4] = 5.04467e-44; - RVar6 = (RNG)(uVar5 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar5); - *param_1 = RVar6; + uVar5 = uVar5 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar5; + param_1->_seed = uVar5; local_1c[0] = 6.30584e-44; local_1c[1] = 6.16571e-44; local_1c[2] = 4.76441e-44; local_1c[3] = 5.74532e-44; - if ((uint)RVar6 % 0x32 == 0) { - fVar13 = 9.66896e-44; + if (uVar5 % 0x32 == 0) { + fVar12 = 9.66896e-44; } - local_2c = fVar13; + local_2c = fVar12; local_30 = 0.0; do { - fVar13 = local_1c[(int)local_30]; + fVar12 = local_1c[(int)local_30]; local_20 = g_game; pvVar2 = (g_manager->_itemConfig)._trinkets._begin; if ((((int)(g_manager->_itemConfig)._trinkets._end - (int)pvVar2 >> 2 <= - (int)((uint)fVar13 & 0x7fff)) || - (iVar7 = *(int *)((int)pvVar2 + ((uint)fVar13 & 0x7fff) * 4), iVar7 == 0)) || - (local_21 = '\x01', (*(uint *)(iVar7 + 0xb8) & 0x80000000) == 0)) { + (int)((uint)fVar12 & 0x7fff)) || + (iVar6 = *(int *)((int)pvVar2 + ((uint)fVar12 & 0x7fff) * 4), iVar6 == 0)) || + (local_21 = '\x01', (*(uint *)(iVar6 + 0xb8) & 0x80000000) == 0)) { local_21 = '\0'; } - puVar14 = (g_game->_playerManager)._playerList._begin; - local_28 = fVar13; - if (puVar14 != (g_game->_playerManager)._playerList._end) { - pGVar11 = g_game; + puVar13 = (g_game->_playerManager)._playerList._begin; + local_28 = fVar12; + if (puVar13 != (g_game->_playerManager)._playerList._end) { + pGVar10 = g_game; do { - pEVar10 = (Entity_Player *)*puVar14; - if (pEVar10->_variant == 0) { - bVar4 = Entity_Player::HasTrinket(pEVar10,(uint)fVar13,0); + pEVar9 = (Entity_Player *)*puVar13; + if (pEVar9->_variant == 0) { + bVar4 = Entity_Player::HasTrinket(pEVar9,(uint)fVar12,0); if (bVar4 == 0) { - if (((local_21 == '\0') || (pEVar10->_backupPlayer == (Entity_Player *)0x0)) || + if (((local_21 == '\0') || (pEVar9->_backupPlayer == (Entity_Player *)0x0)) || (bVar4 = Entity_Player::HasTrinket - (pEVar10->_backupPlayer,(uint)local_1c[(int)local_30],0), + (pEVar9->_backupPlayer,(uint)local_1c[(int)local_30],0), bVar4 == 0)) { - pGVar11 = local_20; - fVar13 = local_28; + pGVar10 = local_20; + fVar12 = local_28; goto LAB_007faf22; } - pEVar10 = pEVar10->_backupPlayer; + pEVar9 = pEVar9->_backupPlayer; } - fVar13 = local_28; - if (pEVar10 == (Entity_Player *)0x0) break; + fVar12 = local_28; + if (pEVar9 == (Entity_Player *)0x0) break; if ((local_28 == 4.76441e-44) && (cVar3 = PlayerManager::AnyoneHasTrinket(&g_game->_playerManager,0x16), cVar3 != '\0')) { - RVar6 = *param_1; - if (RVar6 == (RNG)0x0) { + uVar5 = param_1->_seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << (SUB41(param_1[2],0) & 0x1f) ^ uVar5; - RVar6 = (RNG)(uVar5 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar5); - *param_1 = RVar6; - if ((uint)RVar6 % 5 != 0) break; + uVar5 = uVar5 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)param_1->_shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar5; + param_1->_seed = uVar5; + if (uVar5 % 5 != 0) break; } - iVar7 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,(int)fVar13); + iVar6 = PlayerManager::GetTrinketMultiplier(&g_game->_playerManager,(int)fVar12); uVar5 = 10; - if (iVar7 == 2) { + if (iVar6 == 2) { uVar5 = 0x14; } - else if (2 < iVar7) { + else if (2 < iVar6) { uVar5 = 0x32; } - RVar6 = *param_1; - if (RVar6 == (RNG)0x0) { + uVar11 = param_1->_seed; + if (uVar11 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = (uint)RVar6 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar6; - uVar12 = uVar12 << (SUB41(param_1[2],0) & 0x1f) ^ uVar12; - RVar6 = (RNG)(uVar12 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar12); - *param_1 = RVar6; - if ((uint)RVar6 % 100 < uVar5) { - switch(fVar13) { + uVar11 = uVar11 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar11; + uVar11 = uVar11 << ((byte)param_1->_shift2 & 0x1f) ^ uVar11; + uVar11 = uVar11 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar11; + param_1->_seed = uVar11; + if (uVar11 % 100 < uVar5) { + switch(fVar12) { case 4.76441e-44: - fVar13 = 1.4013e-44; + fVar12 = 1.4013e-44; break; default: goto switchD_007fb171_caseD_23; case 5.04467e-44: - fVar13 = 4.2039e-44; + fVar12 = 4.2039e-44; break; case 5.74532e-44: - fVar13 = 5.60519e-44; + fVar12 = 5.60519e-44; break; case 6.16571e-44: - fVar13 = 9.80909e-44; + fVar12 = 9.80909e-44; break; case 6.30584e-44: - fVar13 = 4.2039e-43; + fVar12 = 4.2039e-43; } goto LAB_007fb02e; } break; } LAB_007faf22: - puVar14 = puVar14 + 1; - } while (puVar14 != (pGVar11->_playerManager)._playerList._end); + puVar13 = puVar13 + 1; + } while (puVar13 != (pGVar10->_playerManager)._playerList._end); } local_30 = (float)((int)local_30 + 1); } while ((uint)local_30 < 5); switchD_007fb171_caseD_23: - fVar13 = local_2c; + fVar12 = local_2c; LAB_007fb02e: - iVar7 = PlayerManager::FirstCollectibleOwner + iVar6 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x1df,&g_game->_playerManager,1); - if (iVar7 != 0) { - RVar6 = *param_1; - if (RVar6 == (RNG)0x0) { + if (iVar6 != 0) { + uVar5 = param_1->_seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << (SUB41(param_1[2],0) & 0x1f) ^ uVar5; - RVar6 = (RNG)(uVar5 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar5); - *param_1 = RVar6; - if ((uint)RVar6 % 0x32 == 0) { - fVar13 = 4.90454e-43; + uVar5 = uVar5 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)param_1->_shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar5; + param_1->_seed = uVar5; + if (uVar5 % 0x32 == 0) { + fVar12 = 4.90454e-43; } } LAB_007fb097: - iVar7 = PlayerManager::FirstCollectibleOwner + iVar6 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x86,&g_game->_playerManager,1); - if (iVar7 != 0) { - RVar6 = *param_1; - if (RVar6 == (RNG)0x0) { + if (iVar6 != 0) { + uVar5 = param_1->_seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << (SUB41(param_1[2],0) & 0x1f) ^ uVar5; - RVar6 = (RNG)(uVar5 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar5); - *param_1 = RVar6; - if ((uint)RVar6 % 3 == 0) { - if (RVar6 == (RNG)0x0) { + uVar5 = uVar5 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)param_1->_shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar5; + param_1->_seed = uVar5; + if (uVar5 % 3 == 0) { + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << (SUB41(param_1[2],0) & 0x1f) ^ uVar5; - fVar13 = 7.00649e-44; - RVar6 = (RNG)(uVar5 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar5); - *param_1 = RVar6; - if (((uint)RVar6 & 1) != 0) { - fVar13 = 8.40779e-44; + uVar5 = uVar5 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)param_1->_shift2 & 0x1f) ^ uVar5; + fVar12 = 7.00649e-44; + uVar5 = uVar5 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar5; + param_1->_seed = uVar5; + if ((uVar5 & 1) != 0) { + fVar12 = 8.40779e-44; } - return fVar13; + return fVar12; } if (param_2 == '\0') { - if (RVar6 == (RNG)0x0) { + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << (SUB41(param_1[2],0) & 0x1f) ^ uVar5; - RVar6 = (RNG)(uVar5 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar5); - *param_1 = RVar6; - return (float)(-(uint)((uint)RVar6 % 3 != 0) & (uint)fVar13); + uVar5 = uVar5 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)param_1->_shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar5; + param_1->_seed = uVar5; + return (float)(-(uint)(uVar5 % 3 != 0) & (uint)fVar12); } } - return fVar13; + return fVar12; } @@ -589333,8 +590208,6 @@ void Room::SpawnClearAward(void) Entity_Player *local_b8; float local_b4; RNG local_b0; - undefined8 local_ac; - undefined4 local_a4; Entity_Player *local_a0; Entity_Player *local_9c; char local_95; @@ -589363,8 +590236,6 @@ void Room::SpawnClearAward(void) undefined4 local_40; undefined4 local_3c; RNG local_38; - int *local_34; - int local_2c; int local_28 [6]; void *local_10; undefined1 *puStack_c; @@ -589375,10 +590246,11 @@ void Room::SpawnClearAward(void) local_10 = ExceptionList; uVar10 = __security_cookie ^ (uint)(local_28 + 9); ExceptionList = &local_10; - local_ac = 0x900000005; - local_b0 = *(RNG *)((int)in_ECX->_descriptor + 0x60); + local_b0._shift1 = 5; + local_b0._shift2 = 9; + local_b0._seed = *(uint *)((int)in_ECX->_descriptor + 0x60); local_bc = (Entity_Player *)&DAT_00000007; - local_a4 = 7; + local_b0._shift3 = 7; local_8c = in_ECX; local_28[5] = uVar10; GetCenterPos(&local_80); @@ -589459,7 +590331,8 @@ LAB_007fb3f3: cVar8 = Entity_Pickup::IsChest(); if (cVar8 == '\0') { pEVar13 = (Entity_Player *) - PlayerManager::RandomCollectibleOwner(&g_game->_playerManager,0x1d0,local_b0,0); + PlayerManager::RandomCollectibleOwner + (&g_game->_playerManager,0x1d0,local_b0._seed,0); if (pEVar13 != (Entity_Player *)0x0) { Entity_Player::GetGlyphOfBalanceDrop(pEVar13,(int *)&local_88,(int *)&local_b8); local_78 = local_88; @@ -589491,7 +590364,7 @@ LAB_007fb3f3: ) { pEVar11 = (Entity_Player *)&DAT_00000014; local_78 = (Entity_Player *)&DAT_00000014; - RNG::game_constructor(&local_38,(uint)local_b0,0x13); + RNG::game_constructor(&local_38,local_b0._seed,0x13); uVar10 = RNG::RandomInt(this,3); uVar10 = uVar10 + (int)local_68; local_68 = (Entity_Player *)1; @@ -589649,7 +590522,7 @@ LAB_007fbbc4: else { iVar12 = Level::filter_curses((Level *)g_game,2); if (((iVar12 != 0) && ((int)pEVar26 < 8)) || (g_game->_challenge == 0x2c)) { - pEVar26 = (Entity_Player *)&pEVar26->field_0x1; + pEVar26 = (Entity_Player *)(&pEVar26->field_0x0 + 1); goto LAB_007fbbc4; } } @@ -589675,7 +590548,7 @@ LAB_007fbc83: } LAB_007fbc61: iVar25 = iVar12; - if (pCVar16->field_0x7f != '\0') { + if (pCVar16->_isPathTypeSet != 0) { iVar25 = pCVar16->_endStage; if (pCVar16->_endStage == 0) { iVar25 = iVar12; @@ -589685,7 +590558,7 @@ LAB_007fbc61: local_69 = 0xb < iVar25; } local_78 = (Entity_Player *)CONCAT31((int3)((uint)iVar12 >> 8),1); - if (*(undefined1 *)((int)&(local_90->_sprite)._animState._animData + 3) != '\0') { + if (*(byte *)((int)&(local_90->_sprite)._animState._animData + 3) != 0) { local_78 = (Entity_Player *)(uint)((int)pEVar26 < *(int *)&local_90->field_0x40); } if (in_ECX->_roomType == 0x11) { @@ -589772,7 +590645,7 @@ switchD_007fbd6e_caseD_e79: else if (local_68 == (Entity_Player *)0x8) { PlayerManager::unlock_completion_mark(0xd); PersistentGameData::IncreaseEventCounter(&g_manager->_persistentGameData,0x1eb,1); - if (*(undefined1 *)((int)&(local_90->_sprite)._animState._animData + 3) != '\0') { + if (*(byte *)((int)&(local_90->_sprite)._animState._animData + 3) != 0) { clear_reward_position(&local_80); goto LAB_007fbea9; } @@ -590069,7 +590942,7 @@ LAB_007fd74c: if (((g_manager->_persistentGameData)._achievements[4] == 0) && ((g_manager->_state != 2 || (((g_game->_dailyChallenge)._id == 0 && (g_game->_isDebug == 0)))))) { - if (*(undefined1 *)((int)&(local_90->_sprite)._animState._animData + 3) != '\0') { + if (*(byte *)((int)&(local_90->_sprite)._animState._animData + 3) != 0) { if ((char)local_78 == '\0') goto LAB_007fc202; if (((byte)(local_90->_sprite)._animDefaultName._capacity != 0) || (6 < *(int *)&local_90->field_0x40)) goto LAB_007fc1ca; @@ -590089,7 +590962,7 @@ LAB_007fc202: } else { LAB_007fc1ca: - if ((*(undefined1 *)((int)&(local_90->_sprite)._animState._animData + 3) == '\0') || + if ((*(byte *)((int)&(local_90->_sprite)._animState._animData + 3) == 0) || ((local_90->_sprite)._animState._layerFrames != (void *)0x3)) { remove_grid_entity_for_spawn(&local_94); uVar10 = Random(); @@ -590221,7 +591094,7 @@ LAB_007fc47e: (local_68 != (Entity_Player *)0x8)) && ((((g_manager->_persistentGameData)._eventCounters[0x9e] == 0 || (local_68 != (Entity_Player *)0x9)) && - ((*(undefined1 *)((int)&(local_90->_sprite)._animState._animData + 3) == '\0' || + ((*(byte *)((int)&(local_90->_sprite)._animState._animData + 3) == 0 || (((byte)(local_90->_sprite)._animDefaultName._capacity == 0 && (*(int *)&local_90->field_0x40 <= (int)local_68)))))))) { clear_reward_position(&local_80); @@ -590527,10 +591400,10 @@ LAB_007fd7ca: local_8 = 0; local_b4 = g_vectorZero.x; local_90 = (Entity_Player *)g_vectorZero.y; - if (local_2c != 0) { - pfVar18 = (float *)(*local_34 + 0x33c); + if (local_38._shift3 != 0) { + pfVar18 = (float *)(*(int *)local_38._shift1 + 0x33c); local_b4 = *pfVar18; - local_90 = *(Entity_Player **)(*local_34 + 0x340); + local_90 = *(Entity_Player **)(*(int *)local_38._shift1 + 0x340); local_c8 = *(undefined8 *)pfVar18; uVar10 = GetGridIndex(); if (uVar10 < 0x1c0) { @@ -590573,14 +591446,14 @@ LAB_007fdd45: if (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) { pEVar26 = local_88; } - if (local_b0 == (RNG)0x0) { + if (local_b0._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar10 = (uint)local_b0 >> ((byte)local_ac & 0x1f) ^ (uint)local_b0; - uVar10 = uVar10 << ((byte)((ulonglong)local_ac >> 0x20) & 0x1f) ^ uVar10; - local_b0 = (RNG)(uVar10 >> ((byte)local_bc & 0x1f) ^ uVar10); - piVar20 = (int *)Game::Spawn(6,0xb,&local_a0,&g_vectorZero,pEVar26,0,local_b0); + local_b0._seed = (uint)local_b0._seed >> ((byte)local_b0._shift1 & 0x1f) ^ local_b0._seed; + local_b0._seed = local_b0._seed << ((byte)local_b0._shift2 & 0x1f) ^ local_b0._seed; + local_b0._seed = (uint)local_b0._seed >> ((byte)local_bc & 0x1f) ^ local_b0._seed; + piVar20 = (int *)Game::Spawn(6,0xb,&local_a0,&g_vectorZero,pEVar26,0,local_b0._seed); piVar20[0x5a] = piVar20[0x5a] | 4; piVar20[0x5b] = piVar20[0x5b]; if ((Entity_Player *)0x1 < local_b8) { @@ -590685,7 +591558,7 @@ LAB_007fdf6a: if (g_game->_difficulty == 3) { PlayerManager::unlock_completion_mark(0xb); } - if (local_38._0_1_ == '\0') { + if ((char)local_38._seed == '\0') { local_8 = 1; tracked_alloc(0,0); } @@ -590697,9 +591570,9 @@ LAB_007fdf6a: iVar12 = 0x53; break; default: - puVar1 = (uint *)((int)&g_manager->_optionsConfig + - *(int *)&g_manager->_musicManager * 0x184 + -0x210); - *puVar1 = *puVar1 & 0xfffffffe; + piVar20 = &(g_manager->_musicManager)._channels[(g_manager->_musicManager)._currentChannel]. + _enabledLayers; + *piVar20 = *piVar20 & 0xfffffffe; goto switchD_007fd7f9_caseD_3; case 0x17: MusicManager::Crossfade(0x25,0x3da3d70a); @@ -590725,7 +591598,7 @@ LAB_007fdf6a: (g_manager->_musicManager)._queuedMusicID = 0x25; } switchD_007fd7f9_caseD_3: - *(RNG *)((int)local_8c->_descriptor + 0x60) = local_b0; + *(int *)((int)local_8c->_descriptor + 0x60) = local_b0._seed; ExceptionList = local_10; return; } @@ -591554,7 +592427,7 @@ code_r0x008009bf: if (0.0 <= fVar18) { fVar13 = fVar18; } - fVar18 = *(float *)&pLVar4->field_0x60; + fVar18 = (pLVar4->_color)._colorize[2]; if (1.0 <= fVar18) { fVar18 = 1.0; } @@ -592222,77 +593095,76 @@ LAB_0080212a: variant 1->0 and 3->2 in the room entity list; called once per frame from Room::Update before update_door_transitions */ -void Room::update_pressure_plates(void) +void __thiscall Room::update_pressure_plates(Room *this) { uint *puVar1; - int iVar2; + void *pvVar2; bool bVar3; int iVar4; - Entity_NPC *this; - int in_ECX; + Entity_NPC *this_00; int iVar5; int iVar6; - int *piVar7; + void **ppvVar7; int iVar8; uint uVar9; - if ((*(uint *)(*(int *)(in_ECX + 4) + 0x44) >> 1 & 1) == 0) { + if ((*(uint *)((int)this->_descriptor + 0x44) >> 1 & 1) == 0) { bVar3 = false; - iVar5 = *(int *)(in_ECX + 0x10) * *(int *)(in_ECX + 0xc); + iVar5 = this->_gridHeight * this->_gridWidth; iVar6 = 0; iVar8 = 0; if (0 < iVar5) { - piVar7 = (int *)(in_ECX + 0x24); + ppvVar7 = this->_gridEntities; iVar6 = 0; do { - iVar2 = *piVar7; - if ((iVar2 != 0) && (*(int *)(iVar2 + 4) == 0x14)) { - if (*(int *)(iVar2 + 8) == 0) { + pvVar2 = *ppvVar7; + if ((pvVar2 != (void *)0x0) && (*(int *)((int)pvVar2 + 4) == 0x14)) { + if (*(int *)((int)pvVar2 + 8) == 0) { iVar6 = iVar6 + 1; iVar4 = iVar8 + 1; - if (*(int *)(iVar2 + 0xc) != 0) { + if (*(int *)((int)pvVar2 + 0xc) != 0) { iVar4 = iVar8; } iVar8 = iVar4; } - else if ((*(int *)(iVar2 + 8) == 9) && (*(int *)(iVar2 + 0xc) != 0)) { + else if ((*(int *)((int)pvVar2 + 8) == 9) && (*(int *)((int)pvVar2 + 0xc) != 0)) { bVar3 = true; } } - piVar7 = piVar7 + 1; + ppvVar7 = ppvVar7 + 1; iVar5 = iVar5 + -1; } while (iVar5 != 0); } - *(bool *)(in_ECX + 0x7229) = iVar6 != 0; + this->_hasTriggerPressurePlates = iVar6 != 0; if (((iVar6 != 0) || (bVar3)) && (iVar8 == 0)) { - puVar1 = (uint *)(*(int *)(in_ECX + 4) + 0x44); + puVar1 = (uint *)((int)this->_descriptor + 0x44); *puVar1 = *puVar1 | 2; uVar9 = 0; - if (*(int *)(in_ECX + 0x1264) != 0) { + if ((this->_entityList)._updateEL._size != 0) { do { - iVar8 = *(int *)(*(int *)(in_ECX + 0x125c) + uVar9 * 4); + iVar8 = *(int *)((int)(this->_entityList)._updateEL._data + uVar9 * 4); if ((((1 < *(int *)&g_game->_deathmatchManager) && (*(int *)(iVar8 + 0x28) == 1)) || (*(int *)(iVar8 + 0x28) - 10U < 0x3de)) && - (this = (Entity_NPC *) - __RTDynamicCast(iVar8,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, - &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor,0), - this->_type == 0x21)) { - iVar8 = this->_variant; + (this_00 = (Entity_NPC *) + __RTDynamicCast(iVar8,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, + &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor,0), + this_00->_type == 0x21)) { + iVar8 = this_00->_variant; if (iVar8 == 1) { - Entity_NPC::Morph(this,0x21,0,this->_subtype,-1); - this->_state = 0; - (**(code **)(*(int *)this + 0xc))(); - iVar8 = this->_variant; + Entity_NPC::Morph(this_00,0x21,0,this_00->_subtype,-1); + this_00->_state = 0; + (**(code **)(*(int *)this_00 + 0xc))(); + iVar8 = this_00->_variant; } if (iVar8 == 3) { - Entity_NPC::Morph(this,this->_type,2,this->_subtype,-1); - this->_state = 0; - (**(code **)(*(int *)this + 0xc))(); + Entity_NPC::Morph(this_00,this_00->_type,2,this_00->_subtype,-1); + this_00->_state = 0; + (**(code **)(*(int *)this_00 + 0xc))(); } } uVar9 = uVar9 + 1; - } while (uVar9 < *(uint *)(in_ECX + 0x1264)); + } while (uVar9 < (uint)(this->_entityList)._updateEL._size); } } } @@ -592444,6 +593316,7 @@ void Room::Update(void) uint *puVar1; void *pvVar2; ColorMod color; + RNG rng; qword qVar3; float fVar4; Manager *pMVar5; @@ -592455,50 +593328,48 @@ void Room::Update(void) Entity *pEVar11; uint uVar12; uint uVar13; - RNG RVar14; - undefined4 uVar15; - float *pfVar16; - byte *pbVar17; - int *piVar18; - ItemPool **ppIVar19; - Game **ppGVar20; - GridEntity_Pit *pGVar21; + undefined4 uVar14; + float *pfVar15; + byte *pbVar16; + int *piVar17; + ItemPool **ppIVar18; + Game **ppGVar19; + GridEntity_Pit *pGVar20; Entity_NPC *this; - undefined1 *puVar22; - undefined4 *puVar23; - short sVar24; + undefined1 *puVar21; + undefined4 *puVar22; + short sVar23; Room *in_ECX; + WeightedOutcomePicker WVar24; WeightedOutcomePicker WVar25; - WeightedOutcomePicker WVar26; - void *pvVar27; - byte *pbVar28; - int iVar29; - qword *pqVar30; - Game *pGVar31; - ItemPool *pIVar32; - void **ppvVar33; - PlayerManager *pPVar34; - int iVar35; - RNG *pRVar36; - Game *pGVar37; - int *piVar38; - bool bVar39; + void *pvVar26; + byte *pbVar27; + int iVar28; + qword *pqVar29; + Game *pGVar30; + ItemPool *pIVar31; + void **ppvVar32; + PlayerManager *pPVar33; + int iVar34; + RNG *pRVar35; + Game *pGVar36; + int *piVar37; + bool bVar38; float in_XMM0_Da; - float fVar40; - ItemPool *pIVar41; - RNG RVar42; - float fVar43; + float fVar39; + ItemPool *pIVar40; + float fVar41; undefined4 in_stack_fffff4f4; int in_stack_fffff4f8; RNG *in_stack_fffff4fc; ItemPool **in_stack_fffff500; + undefined4 uVar42; + ItemPool **ppIVar43; undefined4 uVar44; - ItemPool **ppIVar45; + TypeDescriptor *pTVar45; undefined4 uVar46; TypeDescriptor *pTVar47; undefined4 uVar48; - TypeDescriptor *pTVar49; - undefined4 uVar50; undefined4 local_ae0; undefined4 local_adc; undefined4 local_ad8; @@ -592509,21 +593380,13 @@ void Room::Update(void) float local_ac4; undefined4 local_ac0; undefined4 local_abc; - undefined1 local_ab8 [28]; - float local_a9c; - undefined4 local_a98; - void *local_a94; + EntityRef local_ab8; RNG local_a90; - int *local_a8c; - int local_a84; undefined8 local_a7c; undefined4 local_a74; - RNG local_a70 [2]; - undefined1 local_a68 [8]; + RNG local_a70; undefined1 local_a60 [8]; RNG local_a58; - undefined8 local_a54; - int local_a4c; ItemPool *local_a48 [2]; float local_a40; Game *local_a3c; @@ -592551,7 +593414,7 @@ void Room::Update(void) float local_9dc; char local_9d5; ItemPool *local_9d4; - RNG local_9d0; + float local_9d0; Room *local_9cc; ItemPool *local_9c8; Game *local_9c4; @@ -592567,7 +593430,11 @@ void Room::Update(void) RNG *local_99c; int local_998 [448]; int local_298 [3]; - RNG aRStack_28c [37]; + RNG RStack_28c; + undefined4 uStack_27c; + undefined4 local_278; + undefined4 uStack_274; + float afStack_270 [30]; int local_1f8 [4]; int local_1e8 [113]; uint local_24; @@ -592576,7 +593443,7 @@ void Room::Update(void) undefined1 *puStack_18; int local_14; - pGVar31 = g_game; + pGVar30 = g_game; puStack_20 = (undefined1 *)(local_1e8 + 0x79); local_14 = 0xffffffff; puStack_18 = &LAB_00b014a8; @@ -592586,21 +593453,21 @@ void Room::Update(void) in_ECX->field_0x7220 = 0; pMVar5 = g_manager; local_9cc = in_ECX; - piVar18 = local_1e8 + 0x79; + piVar17 = local_1e8 + 0x79; if (*(char *)in_ECX != '\0') { - piVar18 = local_1e8 + 0x79; - if (pGVar31->_frameCount - *(int *)&in_ECX->field_0x11f0 == 1) { - piVar18 = local_1e8 + 0x79; + piVar17 = local_1e8 + 0x79; + if (pGVar30->_frameCount - in_ECX->_enterFrame == 1) { + piVar17 = local_1e8 + 0x79; if (in_ECX->_roomType == 5) { - piVar18 = local_1e8 + 0x79; + piVar17 = local_1e8 + 0x79; if (*(int *)((int)in_ECX->_descriptor + 0x40) == 1) { - if ((((pGVar31->_difficulty == 2) || (pGVar31->_difficulty == 3)) && - (pGVar31->_stage == 7)) && + if ((((pGVar30->_difficulty == 2) || (pGVar30->_difficulty == 3)) && + (pGVar30->_stage == 7)) && (*(int *)(*(int *)((int)in_ECX->_descriptor + 0x10) + 0x10) == 0)) { - piVar18 = local_1e8 + 0x79; - if ((pGVar31->_levelStateFlags & 0x1000U) == 0) goto LAB_00802a8d; + piVar17 = local_1e8 + 0x79; + if ((pGVar30->_levelStateFlags & 0x1000U) == 0) goto LAB_00802a8d; } - piVar18 = local_1e8 + 0x79; + piVar17 = local_1e8 + 0x79; if (in_ECX->_bossId != 0) { local_9b0 = (RNG *)0xbe; seed_fart_sound_override(local_24); @@ -592608,65 +593475,65 @@ void Room::Update(void) in_stack_fffff4f8 = 0x802a87; in_stack_fffff4fc = local_9b0; SoundEffects::Play(&pMVar5->_sfxManager,(int)local_9b0,1.0,2,0,1.0,0.0); - pGVar31 = g_game; - piVar18 = (int *)puStack_20; + pGVar30 = g_game; + piVar17 = (int *)puStack_20; } } } LAB_00802a8d: - puStack_20 = (undefined1 *)piVar18; - piVar18 = (int *)puStack_20; - if ((pGVar31->_levelStateFlags & 0x80000U) == 0) { - pGVar31->_levelStateFlags = pGVar31->_levelStateFlags | 0x80000; + puStack_20 = (undefined1 *)piVar17; + piVar17 = (int *)puStack_20; + if ((pGVar30->_levelStateFlags & 0x80000U) == 0) { + pGVar30->_levelStateFlags = pGVar30->_levelStateFlags | 0x80000; iVar10 = in_ECX->_gridWidth; - iVar29 = in_ECX->_gridHeight; - if ((iVar10 < 2) || (iVar29 < 2)) { + iVar28 = in_ECX->_gridHeight; + if ((iVar10 < 2) || (iVar28 < 2)) { local_1f8[0] = -1; } else { local_1f8[0] = iVar10 + 1; } local_9a4 = (Game *)(iVar10 + -2); - if ((((int)local_9a4 < 0) || (iVar10 <= (int)local_9a4)) || (iVar29 < 2)) { + if ((((int)local_9a4 < 0) || (iVar10 <= (int)local_9a4)) || (iVar28 < 2)) { local_1f8[1] = -1; if (1 < in_ECX->_gridWidth) goto LAB_00802b01; LAB_00802b10: local_1f8[2] = -1; } else { - local_1f8[1] = (int)local_9a4->_roomList + iVar10 + -0x14; + local_1f8[1] = (int)local_9a4->_roomList[0]._doors + iVar10 + -0x30; LAB_00802b01: - iVar10 = iVar29 + -2; - if ((iVar10 < 0) || (iVar29 <= iVar10)) goto LAB_00802b10; + iVar10 = iVar28 + -2; + if ((iVar10 < 0) || (iVar28 <= iVar10)) goto LAB_00802b10; local_1f8[2] = iVar10 * in_ECX->_gridWidth + 1; } - iVar10 = iVar29 + -2; - if (((((int)local_9a4 < 0) || (iVar35 = in_ECX->_gridWidth, iVar35 <= (int)local_9a4)) || - (iVar10 < 0)) || (iVar29 <= iVar10)) { + iVar10 = iVar28 + -2; + if (((((int)local_9a4 < 0) || (iVar34 = in_ECX->_gridWidth, iVar34 <= (int)local_9a4)) || + (iVar10 < 0)) || (iVar28 <= iVar10)) { local_1f8[3] = -1; } else { - local_1f8[3] = iVar10 * iVar35 + iVar35 + -2; + local_1f8[3] = iVar10 * iVar34 + iVar34 + -2; } - if ((pGVar31->_myosotisPickups)._begin != (pGVar31->_myosotisPickups)._end) { - FUN_00752830(&pGVar31->_myosotisPickups); + if ((pGVar30->_myosotisPickups)._begin != (pGVar30->_myosotisPickups)._end) { + FUN_00752830(&pGVar30->_myosotisPickups); local_14 = 0; pEVar9 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x89); - pGVar31 = (Game *)&DAT_00000004; + pGVar30 = (Game *)&DAT_00000004; if (pEVar9 != (Entity_Player *)0x0) { iVar10 = Entity_Player::GetTrinketMultiplier(pEVar9,0x89); if (iVar10 == 2) { - pGVar31 = (Game *)&DAT_00000006; + pGVar30 = (Game *)&DAT_00000006; } else if (iVar10 == 3) { - pGVar31 = (Game *)&DAT_00000008; + pGVar30 = (Game *)&DAT_00000008; } } in_XMM0_Da = 1.4013e-45; local_a7c = 0x900000001; local_9b4 = (Game *)(((int)local_a0c - local_a10) / 0x78); - if (pGVar31 < local_9b4) { - local_9b4 = pGVar31; + if (pGVar30 < local_9b4) { + local_9b4 = pGVar30; } local_9a4 = (Game *)0x0; local_9bc = (Game *)&DAT_0000001d; @@ -592688,14 +593555,14 @@ LAB_00802b01: if (pEVar11 != (Entity *)0x0) { uVar12 = (uint)local_9c0 % (uint)pEVar11; } - pGVar31 = (Game *)((int)local_9a4->_roomList + (uVar12 - 0x14)); + pGVar30 = (Game *)((int)local_9a4->_roomList[0]._doors + (uVar12 - 0x30)); local_9a8 = pEVar11; - if (pGVar31 != local_9a4) { - iVar10 = local_a10 + (int)pGVar31 * 0x78; + if (pGVar30 != local_9a4) { + iVar10 = local_a10 + (int)pGVar30 * 0x78; EntitySaveState::copy((int)local_99c + local_a10); local_14._0_1_ = 1; FUN_004d3230(iVar10); - FUN_004d3230(aRStack_28c + 7); + FUN_004d3230(afStack_270); local_14 = (uint)local_14._1_3_ << 8; invoke_pending_callbacks(); in_ECX = local_9cc; @@ -592708,10 +593575,10 @@ LAB_00802b01: uVar12 = (uint)local_9c0 >> ((byte)local_a7c & 0x1f) ^ (uint)local_9c0; uVar12 = uVar12 << ((byte)((ulonglong)local_a7c >> 0x20) & 0x1f) ^ uVar12; local_9a8 = (Entity *)(uVar12 >> ((byte)local_9bc & 0x1f) ^ uVar12); - uVar15 = *(undefined4 *)&local_9b8->_roomList[0].field_0x20; - uVar44._0_1_ = local_9b8->_bossChallenge; - uVar44._1_1_ = local_9b8->_devilRoomDisabled; - uVar44._2_2_ = *(undefined2 *)&local_9b8->field_0xa; + iVar10 = local_9b8->_roomList[0]._doors[1]; + uVar14._0_1_ = local_9b8->_bossChallenge; + uVar14._1_1_ = local_9b8->_devilRoomDisabled; + uVar14._2_2_ = *(undefined2 *)&local_9b8->field_0xa; local_a38 = (ItemPool *) ((float)(local_1f8[(uint)local_9a8 & 3] % in_ECX->_gridWidth) * 40.0 + 40.0); @@ -592720,14 +593587,14 @@ LAB_00802b01: local_a34 = in_XMM0_Da; in_stack_fffff500 = (ItemPool **)FindFreePickupSpawnPosition(local_a60,&local_a38,0x41c00000,0,0,0); - pGVar31 = local_9b8; + pGVar30 = local_9b8; in_stack_fffff4fc = (RNG *)local_9b8->_stageType; in_stack_fffff4f8 = local_9b8->_stage; in_stack_fffff4f4 = 0x802dc9; iVar10 = Game::Spawn(in_stack_fffff4f8,in_stack_fffff4fc,in_stack_fffff500, - &g_vectorZero,0,uVar44,uVar15); + &g_vectorZero,0,uVar14,iVar10); in_ECX = local_9cc; - Entity_Pickup::RestoreState(iVar10,pGVar31); + Entity_Pickup::RestoreState(iVar10,pGVar30); local_99c = (RNG *)((int)local_99c + 0x78); local_9a4 = (Game *)((int)&local_9a4->_stage + 1); *(undefined4 *)(iVar10 + 0x32c) = 0xffffffff; @@ -592735,23 +593602,23 @@ LAB_00802b01: } local_14 = 0xffffffff; std::vector::_Tidy(); - pGVar31 = g_game; - piVar18 = (int *)puStack_20; + pGVar30 = g_game; + piVar17 = (int *)puStack_20; } } } } - puStack_20 = (undefined1 *)piVar18; + puStack_20 = (undefined1 *)piVar17; if (-1 < *(int *)&in_ECX->field_0x7764) { - if ((*(int *)&in_ECX->field_0x7764 == 0) && (pGVar31->_currentRoomIdx == -0xc)) { - pEVar9 = Game::GetPlayer(pGVar31,0); - pvVar27 = (pEVar9->_collectibleRNGs)._end; - if ((int)pvVar27 - (int)(pEVar9->_collectibleRNGs)._begin >> 4 < 0x26f) { + if ((*(int *)&in_ECX->field_0x7764 == 0) && (pGVar30->_currentRoomIdx == -0xc)) { + pEVar9 = Game::GetPlayer(pGVar30,0); + pvVar26 = (pEVar9->_collectibleRNGs)._end; + if ((int)pvVar26 - (int)(pEVar9->_collectibleRNGs)._begin >> 4 < 0x26f) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Collectible ID out of bounds!\n"); } pvVar2 = (pEVar9->_collectibleRNGs)._begin; - uVar13 = ((int)pvVar27 - (int)pvVar2 >> 4) - 1; + uVar13 = ((int)pvVar26 - (int)pvVar2 >> 4) - 1; uVar12 = 0x26e; if (uVar13 < 0x26e) { uVar12 = uVar13; @@ -592759,29 +593626,29 @@ LAB_00802b01: local_9c0 = (ItemPool *)(uVar12 * 0x10 + (int)pvVar2); local_9bc = g_game; local_9a8 = (Entity *)RNG::Next((RNG *)local_9c0); - WVar25 = (WeightedOutcomePicker)0x0; - pGVar31 = (Game *)0x0; + WVar24 = (WeightedOutcomePicker)0x0; + pGVar30 = (Game *)0x0; local_9ec = (WeightedOutcomePicker)0x0; - pGVar37 = (Game *)0x0; + pGVar36 = (Game *)0x0; local_9a0 = (Game *)0x0; local_9e8 = (Game *)0x0; local_9e4 = (Game *)0x0; local_14 = 2; local_9d5 = '\0'; - pIVar32 = (ItemPool *)0x0; + pIVar31 = (ItemPool *)0x0; local_99c = (RNG *)&local_9bc->field_0x1af30; do { if (0 < *(short *)local_99c) { local_9a4 = (Game *)(int)*(short *)local_99c; - uVar13 = (int)pGVar37 - (int)WVar25 >> 3; + uVar13 = (int)pGVar36 - (int)WVar24 >> 3; uVar12 = 0; if (uVar13 != 0) { do { - if (*(ItemPool **)((int)WVar25 + uVar12 * 8) == pIVar32) { - piVar18 = (int *)((int)WVar25 + 4 + uVar12 * 8); - *piVar18 = (int)local_9a4->_roomList + *piVar18 + -0x14; - if (*piVar18 < 0) { - *(undefined4 *)((int)WVar25 + 4 + uVar12 * 8) = 0; + if (*(ItemPool **)((int)WVar24 + uVar12 * 8) == pIVar31) { + piVar17 = (int *)((int)WVar24 + 4 + uVar12 * 8); + *piVar17 = (int)local_9a4->_roomList[0]._doors + *piVar17 + -0x30; + if (*piVar17 < 0) { + *(undefined4 *)((int)WVar24 + 4 + uVar12 * 8) = 0; } goto LAB_00802f53; } @@ -592792,38 +593659,38 @@ LAB_00802b01: LAB_00802f53: } else { - local_a30 = pIVar32; + local_a30 = pIVar31; local_a2c = local_9a4; - if (pGVar37 != local_9a0) { - pGVar37->_stage = (int)pIVar32; - pGVar37->_stageType = (int)local_9a4; - pGVar37 = (Game *)&pGVar37->_bossChallenge; - local_9e8 = pGVar37; + if (pGVar36 != local_9a0) { + pGVar36->_stage = (int)pIVar31; + pGVar36->_stageType = (int)local_9a4; + pGVar36 = (Game *)&pGVar36->_bossChallenge; + local_9e8 = pGVar36; goto LAB_00802f53; } - std::vector<8byte>::_Emplace_reallocate(pGVar37,&local_a30); + std::vector<8byte>::_Emplace_reallocate(pGVar36,&local_a30); local_9a0 = local_9e4; - WVar25 = local_9ec; - pGVar37 = local_9e8; + WVar24 = local_9ec; + pGVar36 = local_9e8; } local_9d5 = '\x01'; - pGVar31 = local_9a0; + pGVar30 = local_9a0; } in_ECX = local_9cc; - pIVar32 = (ItemPool *)((int)&pIVar32->_seed + 1); + pIVar31 = (ItemPool *)((int)&pIVar31->_seed + 1); local_99c = (RNG *)((int)local_99c + 2); - } while (pIVar32 < (ItemPool *)0x1f); + } while (pIVar31 < (ItemPool *)0x1f); if (local_9d5 == '\0') { local_14 = 0xffffffff; - if (WVar25 == (WeightedOutcomePicker)0x0) goto LAB_008030f1; - uVar12 = ((int)pGVar31 - (int)WVar25 >> 3) * 8; - WVar26 = WVar25; + if (WVar24 == (WeightedOutcomePicker)0x0) goto LAB_008030f1; + uVar12 = ((int)pGVar30 - (int)WVar24 >> 3) * 8; + WVar25 = WVar24; if (0xfff < uVar12) { - WVar26 = *(WeightedOutcomePicker *)((int)WVar25 + -4); + WVar25 = *(WeightedOutcomePicker *)((int)WVar24 + -4); uVar12 = uVar12 + 0x23; - if (0x1f < ((int)WVar25 - (int)WVar26) - 4U) goto LAB_008030be; + if (0x1f < ((int)WVar24 - (int)WVar25) - 4U) goto LAB_008030be; } - operator_delete(WVar26,uVar12); + operator_delete(WVar25,uVar12); local_9ec = (WeightedOutcomePicker)0x0; local_9e8 = (Game *)0x0; local_9e4 = (Game *)0x0; @@ -592832,25 +593699,29 @@ LAB_00802f53: else { in_XMM0_Da = 7.00649e-45; in_stack_fffff500 = (ItemPool **)0x803072; - pEVar11 = (Entity *)WeightedOutcomePicker::PickOutcome(&local_9ec,local_9a8,5,9,7); + rng._shift1 = 5; + rng._seed = (int)local_9a8; + rng._shift2 = 9; + rng._shift3 = 7; + pEVar11 = (Entity *)WeightedOutcomePicker::PickOutcome(&local_9ec,rng); *(short *)((int)(&local_9bc->_itemPool + 1) + (int)pEVar11 * 2 + 0x4c) = *(short *)((int)(&local_9bc->_itemPool + 1) + (int)pEVar11 * 2 + 0x4c) + -1; local_14 = 0xffffffff; local_9a8 = pEVar11; if (local_9ec != (WeightedOutcomePicker)0x0) { uVar12 = (int)local_9e4 - (int)local_9ec & 0xfffffff8; - WVar25 = local_9ec; + WVar24 = local_9ec; if (0xfff < uVar12) { - WVar25 = *(WeightedOutcomePicker *)((int)local_9ec + -4); + WVar24 = *(WeightedOutcomePicker *)((int)local_9ec + -4); uVar12 = uVar12 + 0x23; - if (0x1f < ((int)local_9ec - (int)WVar25) - 4U) { + if (0x1f < ((int)local_9ec - (int)WVar24) - 4U) { LAB_008030be: local_14 = 0xffffffff; /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(WVar25,uVar12); + operator_delete(WVar24,uVar12); local_9ec = (WeightedOutcomePicker)0x0; local_9e8 = (Game *)0x0; local_9e4 = (Game *)0x0; @@ -592860,72 +593731,69 @@ LAB_008030f1: *(undefined4 *)&in_ECX->field_0x7764 = 0x3c; } else { - pvVar27 = in_ECX->_descriptor; + pvVar26 = in_ECX->_descriptor; local_99c = (RNG *)0x0; - if (*(short *)(*(int *)((int)pvVar27 + 0x10) + 0x44) != 0) { + if (*(short *)(*(int *)((int)pvVar26 + 0x10) + 0x44) != 0) { local_9a4 = (Game *)0x0; do { - pIVar32 = local_9c0; - local_9bc = (Game *)((int)local_9a4->_roomList + - *(int *)(*(int *)((int)pvVar27 + 0x10) + 0x40) + -0x14); + pIVar31 = local_9c0; + local_9bc = (Game *)((int)local_9a4->_roomList[0]._doors + + *(int *)(*(int *)((int)pvVar26 + 0x10) + 0x40) + -0x30); if (((local_9bc->_bossChallenge == 1) && - (piVar18 = (int *)local_9bc->_stageType, *piVar18 == 5)) && - (((short)piVar18[1] == 100 && (*(short *)((int)piVar18 + 6) == 0)))) { + (piVar17 = (int *)local_9bc->_stageType, *piVar17 == 5)) && + (((short)piVar17[1] == 100 && (*(short *)((int)piVar17 + 6) == 0)))) { iVar10 = (short)local_9bc->_stage + 1 + (*(short *)((int)&local_9bc->_stage + 2) + 1) * in_ECX->_gridWidth; local_9ac = &g_game->_itemPool; - RVar14 = *(RNG *)local_9c0; + uVar12 = local_9c0->_seed; local_a04 = (ItemPool *)((float)(iVar10 % in_ECX->_gridWidth) * 40.0 + 40.0); in_XMM0_Da = (float)(iVar10 / in_ECX->_gridWidth) * 40.0 + 120.0; local_a00 = in_XMM0_Da; - if (RVar14 == (RNG)0x0) { + if (uVar12 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = (uint)RVar14 >> (SUB41(*(RNG *)((int)local_9c0 + 4),0) & 0x1f) ^ - (uint)RVar14; - uVar12 = uVar12 << (SUB41(*(RNG *)((int)local_9c0 + 8),0) & 0x1f) ^ uVar12; - RVar14 = (RNG)(uVar12 >> (SUB41(*(RNG *)((int)local_9c0 + 0xc),0) & 0x1f) ^ uVar12); - *(RNG *)local_9c0 = RVar14; - local_9ac = (ItemPool *)ItemPool::GetCollectible(local_9ac,local_9a8,RVar14,0,0,0); - RVar14 = *(RNG *)pIVar32; - if (RVar14 == (RNG)0x0) { + uVar12 = uVar12 >> ((byte)*(int *)local_9c0->_pools & 0x1f) ^ uVar12; + uVar12 = uVar12 << ((byte)*(int *)((int)local_9c0 + 8) & 0x1f) ^ uVar12; + uVar12 = uVar12 >> ((byte)*(int *)((int)local_9c0 + 0xc) & 0x1f) ^ uVar12; + local_9c0->_seed = uVar12; + local_9ac = (ItemPool *)ItemPool::GetCollectible(local_9ac,local_9a8,uVar12,0,0,0); + uVar12 = pIVar31->_seed; + if (uVar12 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = (uint)RVar14 >> (SUB41(*(RNG *)((int)pIVar32 + 4),0) & 0x1f) ^ (uint)RVar14 - ; - uVar12 = uVar12 << (SUB41(*(RNG *)((int)pIVar32 + 8),0) & 0x1f) ^ uVar12; - RVar14 = (RNG)(uVar12 >> (SUB41(*(RNG *)((int)pIVar32 + 0xc),0) & 0x1f) ^ uVar12); - *(RNG *)pIVar32 = RVar14; + uVar12 = uVar12 >> ((byte)*(int *)pIVar31->_pools & 0x1f) ^ uVar12; + uVar12 = uVar12 << ((byte)*(int *)((int)pIVar31 + 8) & 0x1f) ^ uVar12; + uVar12 = uVar12 >> ((byte)*(int *)((int)pIVar31 + 0xc) & 0x1f) ^ uVar12; + pIVar31->_seed = uVar12; in_stack_fffff500 = &local_a04; in_stack_fffff4fc = (RNG *)0x64; in_stack_fffff4f8 = 5; in_stack_fffff4f4 = 0x803273; - iVar10 = Game::Spawn(5,100,in_stack_fffff500,&g_vectorZero,0,local_9ac,RVar14); + iVar10 = Game::Spawn(5,100,in_stack_fffff500,&g_vectorZero,0,local_9ac,uVar12); if ((iVar10 == 0) || (*(int *)(iVar10 + 0x28) != 5)) { iVar10 = 0; } - sVar24 = *(short *)((int)&local_9bc->_stage + 2); - iVar35 = local_9bc->_stage; - iVar29 = in_ECX->_gridWidth; + sVar23 = *(short *)((int)&local_9bc->_stage + 2); + iVar34 = local_9bc->_stage; + iVar28 = in_ECX->_gridWidth; *(uint *)(iVar10 + 0x168) = *(uint *)(iVar10 + 0x168) | 0x40000; - *(int *)(iVar10 + 0x32c) = (short)iVar35 + 1 + (sVar24 + 1) * iVar29; + *(int *)(iVar10 + 0x32c) = (short)iVar34 + 1 + (sVar23 + 1) * iVar28; *(undefined4 *)(iVar10 + 0x16c) = *(undefined4 *)(iVar10 + 0x16c); - if ((*(char *)in_ECX != '\0') && - (4 < g_game->_frameCount - *(int *)&in_ECX->field_0x11f0)) { - uVar15 = Random(); + if ((*(char *)in_ECX != '\0') && (4 < g_game->_frameCount - in_ECX->_enterFrame)) { + uVar14 = Random(); in_stack_fffff500 = &local_a04; in_stack_fffff4fc = (RNG *)&DAT_0000000f; in_stack_fffff4f8 = 1000; in_stack_fffff4f4 = 0x8032f5; - Game::Spawn(1000,0xf,in_stack_fffff500,&g_vectorZero,0,0,uVar15); + Game::Spawn(1000,0xf,in_stack_fffff500,&g_vectorZero,0,0,uVar14); } } - pvVar27 = in_ECX->_descriptor; + pvVar26 = in_ECX->_descriptor; local_9a4 = (Game *)&local_9a4->field_0x10; local_99c = (RNG *)((int)local_99c + 1); - } while (local_99c < (short *)(uint)*(ushort *)(*(int *)((int)pvVar27 + 0x10) + 0x44)); + } while (local_99c < (short *)(uint)*(ushort *)(*(int *)((int)pvVar26 + 0x10) + 0x44)); } } } @@ -592942,9 +593810,9 @@ LAB_008030f1: (pMVar5->_musicManager)._targetPitch = in_XMM0_Da; } if ((in_ECX->_temporaryEffects)._disabled == 0) { - for (piVar18 = (in_ECX->_temporaryEffects)._effects._begin; - piVar18 != (in_ECX->_temporaryEffects)._effects._end; piVar18 = piVar18 + 4) { - if ((*(int *)*piVar18 == 0) && (((int *)*piVar18)[1] == 0x40)) { + for (piVar17 = (in_ECX->_temporaryEffects)._effects._begin; + piVar17 != (in_ECX->_temporaryEffects)._effects._end; piVar17 = piVar17 + 4) { + if ((*(int *)*piVar17 == 0) && (((int *)*piVar17)[1] == 0x40)) { Game::start_poop_cloud_screen_effect((Game *)&in_ECX->_fxLayers,&DAT_00c5d108); break; } @@ -592956,24 +593824,24 @@ LAB_008030f1: in_stack_fffff4f8 = 0x8033e4; EntityList::QuerySublist((Entity_NPC *)&in_ECX->_entityList); local_14 = 3; - if (local_a84 == 0) { - uVar50 = 0; + if (local_a90._shift3 == 0) { uVar48 = 0; - uVar46 = 1; - uVar44 = 0x42200000; - uVar15 = GetCenterPos(local_a68); - FindFreePickupSpawnPosition(&local_a18,uVar15,uVar44,uVar46,uVar48,uVar50); - uVar15 = Random(); + uVar46 = 0; + uVar44 = 1; + uVar42 = 0x42200000; + uVar14 = GetCenterPos(&local_a70._shift2); + FindFreePickupSpawnPosition(&local_a18,uVar14,uVar42,uVar44,uVar46,uVar48); + uVar14 = Random(); in_stack_fffff500 = &local_a18; in_stack_fffff4fc = (RNG *)0xa1; in_stack_fffff4f8 = 1000; in_stack_fffff4f4 = 0x803455; - Game::Spawn(1000,0xa1,in_stack_fffff500,&g_vectorZero,0,g_game->_lastRoomIdx + 1000,uVar15); + Game::Spawn(1000,0xa1,in_stack_fffff500,&g_vectorZero,0,g_game->_lastRoomIdx + 1000,uVar14); } else { - *(int *)(*local_a8c + 0x30) = g_game->_lastRoomIdx + 1000; + *(int *)(*(int *)local_a90._shift1 + 0x30) = g_game->_lastRoomIdx + 1000; } - if ((in_ECX->field_0x1 != '\0') && (*(int *)&in_ECX->field_0x11f0 == g_game->_frameCount)) { + if ((in_ECX->field_0x1 != '\0') && (in_ECX->_enterFrame == g_game->_frameCount)) { uVar12 = *(uint *)((int)in_ECX->_descriptor + 0x5c); local_9a4 = (Game *)&DAT_00000007; local_9f0 = (RNG *)&DAT_00000007; @@ -593003,17 +593871,17 @@ LAB_008030f1: else if (uVar13 < 0x36) { local_9a0 = (Game *)&DAT_0000003c; } - uVar15 = Random(); + uVar14 = Random(); in_stack_fffff4f4 = 0x8035a6; - Game::Spawn(5,local_9a0,&local_9e0,&g_vectorZero,0,1,uVar15); + Game::Spawn(5,local_9a0,&local_9e0,&g_vectorZero,0,1,uVar14); in_stack_fffff500 = &local_a28; local_a28 = (ItemPool *)((in_ECX->_bottomRightPos).x + 0.0); local_a24 = (in_ECX->_bottomRightPos).y + 32.0; - in_stack_fffff4fc = local_a70; + in_stack_fffff4fc = &local_a70; in_stack_fffff4f8 = 0x8035f2; - pfVar16 = (float *)FindFreePickupSpawnPosition(in_stack_fffff4fc,in_stack_fffff500,0,1,0,0); - local_9e0 = (ItemPool *)*pfVar16; - local_9dc = pfVar16[1]; + pfVar15 = (float *)FindFreePickupSpawnPosition(in_stack_fffff4fc,in_stack_fffff500,0,1,0,0); + local_9e0 = (ItemPool *)*pfVar15; + local_9dc = pfVar15[1]; if (uVar12 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); @@ -593024,22 +593892,22 @@ LAB_008030f1: uVar12 = (uint)pEVar11 % 100; local_9a8 = pEVar11; if (uVar12 < 0x19) { - uVar15 = Random(); - uVar44 = 0x31; + uVar14 = Random(); + uVar42 = 0x31; LAB_0080366d: in_stack_fffff4fc = (RNG *)0x12c; LAB_0080377c: in_stack_fffff500 = &local_9e0; in_stack_fffff4f8 = 5; in_stack_fffff4f4 = 0x803789; - Game::Spawn(5,in_stack_fffff4fc,in_stack_fffff500,&g_vectorZero,0,uVar44,uVar15); + Game::Spawn(5,in_stack_fffff4fc,in_stack_fffff500,&g_vectorZero,0,uVar42,uVar14); } else if (uVar12 < 0x32) { if (((g_manager->_persistentGameData)._achievements[0x168] != 0) || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))) { - uVar15 = Random(); - uVar44 = 0x7a; + uVar14 = Random(); + uVar42 = 0x7a; in_stack_fffff4fc = (RNG *)0x15e; goto LAB_0080377c; } @@ -593048,8 +593916,8 @@ LAB_0080377c: if (((g_manager->_persistentGameData)._achievements[0x273] != 0) || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))) { - uVar15 = Random(); - uVar44 = 0x5a; + uVar14 = Random(); + uVar42 = 0x5a; goto LAB_0080366d; } } @@ -593057,8 +593925,8 @@ LAB_0080377c: (((g_manager->_persistentGameData)._achievements[0x16e] != 0 || (((g_manager->_state == 2 && (g_game != (Game *)0x0)) && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))))))) { - uVar15 = Random(); - uVar44 = 0x20b; + uVar14 = Random(); + uVar42 = 0x20b; in_stack_fffff4fc = (RNG *)0x64; goto LAB_0080377c; } @@ -593072,16 +593940,16 @@ LAB_0080377c: local_a3c = (Game *)(in_ECX->_bottomRightPos).y; local_a40 = (in_ECX->_topLeftPos).x; FindFreePickupSpawnPosition(local_a48,&local_a40,0,1,0,0); - uVar15 = Random(); + uVar14 = Random(); in_stack_fffff500 = local_a48; in_stack_fffff4fc = (RNG *)0x5a; in_stack_fffff4f8 = 5; in_stack_fffff4f4 = 0x803822; - Game::Spawn(5,0x5a,in_stack_fffff500,&g_vectorZero,0,0,uVar15); + Game::Spawn(5,0x5a,in_stack_fffff500,&g_vectorZero,0,0,uVar14); } } local_14 = 0xffffffff; - if (local_a90._0_1_ == '\0') { + if ((char)local_a90._seed == '\0') { local_14 = 4; tracked_alloc(0,0); local_14 = 0xffffffff; @@ -593095,31 +593963,31 @@ LAB_0080377c: if (DAT_00c82674 != DAT_00c82678) { DAT_00c82678 = DAT_00c82674; } - if ((*(char *)in_ECX != '\0') && (g_game->_frameCount == *(int *)&in_ECX->field_0x11f0)) { + if ((*(char *)in_ECX != '\0') && (g_game->_frameCount == in_ECX->_enterFrame)) { if ((g_game->_challenge == 0x28) && (local_9a4 = (Game *)0x0, (in_ECX->_entityList)._updateEL._size != 0)) { do { - pGVar31 = *(Game **)((int)(in_ECX->_entityList)._updateEL._data + (int)local_9a4 * 4); - if ((pGVar31 == (Game *)0x0) || + pGVar30 = *(Game **)((int)(in_ECX->_entityList)._updateEL._data + (int)local_9a4 * 4); + if ((pGVar30 == (Game *)0x0) || (((*(int *)&g_game->_deathmatchManager < 2 || - (pGVar31->_roomList[0].OverrideData != (void *)0x1)) && - (0x3dd < (int)pGVar31->_roomList[0].OverrideData - 10U)))) { + (pGVar30->_roomList[0].OverrideData != (void *)0x1)) && + (0x3dd < (int)pGVar30->_roomList[0].OverrideData - 10U)))) { local_9bc = (Game *)0x0; } else { - local_9bc = pGVar31; - if ((((((*(uint *)&pGVar31->_roomList[1].field_0x9c & 0x20000000) == 0) && - (cVar8 = (**(code **)(pGVar31->_stage + 0x48))(), cVar8 != '\0')) && - ((-1 < *(int *)&pGVar31->_roomList[4].field_0x38 && - ((pvVar27 = pGVar31->_roomList[0].OverrideData, pvVar27 != (void *)0x2d && - (pvVar27 != (void *)0x54)))))) && (pvVar27 != (void *)0x112)) && - ((pvVar27 != (void *)0x113 && - ((pvVar27 != (void *)0x4e || (pGVar31->_roomList[0].AllowedDoors != 10)))))) { + local_9bc = pGVar30; + if ((((((*(uint *)&pGVar30->_roomList[1].field_0x9c & 0x20000000) == 0) && + (cVar8 = (**(code **)(pGVar30->_stage + 0x48))(), cVar8 != '\0')) && + ((-1 < pGVar30->_roomList[4]._doors[7] && + ((pvVar26 = pGVar30->_roomList[0].OverrideData, pvVar26 != (void *)0x2d && + (pvVar26 != (void *)0x54)))))) && (pvVar26 != (void *)0x112)) && + ((pvVar26 != (void *)0x113 && + ((pvVar26 != (void *)0x4e || (pGVar30->_roomList[0].AllowedDoors != 10)))))) { if (DAT_00c82678 == DAT_00c8267c) { std::vector::_Emplace_reallocate(DAT_00c82678,&local_9bc); } else { - *DAT_00c82678 = pGVar31; + *DAT_00c82678 = pGVar30; DAT_00c82678 = DAT_00c82678 + 1; } } @@ -593131,39 +593999,37 @@ LAB_0080377c: if ((3 < (int)local_9a8) && (local_9b8 = (Game *)0x0, (in_ECX->_entityList)._updateEL._size != 0)) { do { - pGVar31 = *(Game **)((int)(in_ECX->_entityList)._updateEL._data + (int)local_9b8 * 4); - if ((pGVar31 == (Game *)0x0) || + pGVar30 = *(Game **)((int)(in_ECX->_entityList)._updateEL._data + (int)local_9b8 * 4); + if ((pGVar30 == (Game *)0x0) || (((*(int *)&g_game->_deathmatchManager < 2 || - (pGVar31->_roomList[0].OverrideData != (void *)0x1)) && - (0x3dd < (int)pGVar31->_roomList[0].OverrideData - 10U)))) { + (pGVar30->_roomList[0].OverrideData != (void *)0x1)) && + (0x3dd < (int)pGVar30->_roomList[0].OverrideData - 10U)))) { local_9a4 = (Game *)0x0; } else { - local_9a4 = pGVar31; - if ((((*(uint *)&pGVar31->_roomList[1].field_0x9c & 0x20000000) == 0) && - (cVar8 = (**(code **)(pGVar31->_stage + 0x48))(), cVar8 != '\0')) && - ((-1 < *(int *)&pGVar31->_roomList[4].field_0x38 && - (cVar8 = (**(code **)(pGVar31->_stage + 0x4c))(), cVar8 == '\0')))) { + local_9a4 = pGVar30; + if ((((*(uint *)&pGVar30->_roomList[1].field_0x9c & 0x20000000) == 0) && + (cVar8 = (**(code **)(pGVar30->_stage + 0x48))(), cVar8 != '\0')) && + ((-1 < pGVar30->_roomList[4]._doors[7] && + (cVar8 = (**(code **)(pGVar30->_stage + 0x4c))(), cVar8 == '\0')))) { local_99c = (RNG *)((int)&local_9a8[-1]._luaBridgeRef + 1); do { - uVar12 = *(uint *)&pGVar31->_roomList[5].field_0x30; + uVar12 = pGVar30->_roomList[5]._doors[5]; if (uVar12 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = uVar12 >> ((byte)*(undefined4 *)&pGVar31->_roomList[5].field_0x34 & 0x1f) ^ - uVar12; - uVar12 = uVar12 << ((byte)*(undefined4 *)&pGVar31->_roomList[5].field_0x38 & 0x1f) ^ - uVar12; - uVar12 = uVar12 >> ((byte)pGVar31->_roomList[5].DisplayFlags & 0x1f) ^ uVar12; - *(uint *)&pGVar31->_roomList[5].field_0x30 = uVar12; + uVar12 = uVar12 >> ((byte)pGVar30->_roomList[5]._doors[6] & 0x1f) ^ uVar12; + uVar12 = uVar12 << ((byte)pGVar30->_roomList[5]._doors[7] & 0x1f) ^ uVar12; + uVar12 = uVar12 >> ((byte)pGVar30->_roomList[5].DisplayFlags & 0x1f) ^ uVar12; + pGVar30->_roomList[5]._doors[5] = uVar12; if ((uVar12 & 1) == 0) { if (DAT_00c82678 == DAT_00c8267c) { std::vector::_Emplace_reallocate(DAT_00c82678,&local_9a4); - pGVar31 = local_9a4; + pGVar30 = local_9a4; } else { - *DAT_00c82678 = pGVar31; + *DAT_00c82678 = pGVar30; DAT_00c82678 = DAT_00c82678 + 1; } } @@ -593179,9 +594045,9 @@ LAB_0080377c: in_ECX->_waterLerpColorCountdown = in_ECX->_waterLerpColorCountdown + -1; } if (*(int *)(in_ECX->_pendingGridRemovals + 4) != 0) { - pGVar31 = *(Game **)in_ECX->_pendingGridRemovals; - local_9b8 = (Game *)pGVar31->_stage; - if (local_9b8 != pGVar31) { + pGVar30 = *(Game **)in_ECX->_pendingGridRemovals; + local_9b8 = (Game *)pGVar30->_stage; + if (local_9b8 != pGVar30) { do { iVar10 = *(int *)&local_9b8->field_0x10; if (((-1 < iVar10) && (iVar10 < in_ECX->_gridHeight * in_ECX->_gridWidth)) && @@ -593193,72 +594059,72 @@ LAB_0080377c: _Tree_unchecked_const_iterator_>,std::_Iterator_base0> ::operator++((_Tree_unchecked_const_iterator_>,std::_Iterator_base0> *)&local_9b8); - pGVar31 = *(Game **)in_ECX->_pendingGridRemovals; - } while (local_9b8 != pGVar31); + pGVar30 = *(Game **)in_ECX->_pendingGridRemovals; + } while (local_9b8 != pGVar30); } FID_conflict__Erase_tree_>_> (in_ECX->_pendingGridRemovals, (fuzzer_allocator_> *) - in_ECX->_pendingGridRemovals,(_Tree_node *)pGVar31->_stageType); - pGVar31->_stageType = (int)pGVar31; - pGVar31->_stage = (int)pGVar31; - *(Game **)&pGVar31->_bossChallenge = pGVar31; + in_ECX->_pendingGridRemovals,(_Tree_node *)pGVar30->_stageType); + pGVar30->_stageType = (int)pGVar30; + pGVar30->_stage = (int)pGVar30; + *(Game **)&pGVar30->_bossChallenge = pGVar30; in_ECX->_pendingGridRemovals[4] = 0; in_ECX->_pendingGridRemovals[5] = 0; in_ECX->_pendingGridRemovals[6] = 0; in_ECX->_pendingGridRemovals[7] = 0; } iVar10 = in_ECX->_gridHeight; - iVar29 = in_ECX->_gridWidth; + iVar28 = in_ECX->_gridWidth; local_99c = (RNG *)0x0; - if (0 < iVar10 * iVar29) { - ppvVar33 = in_ECX->_gridEntities; + if (0 < iVar10 * iVar28) { + ppvVar32 = in_ECX->_gridEntities; do { - if (*ppvVar33 != (int *)0x0) { - (**(code **)(*(int *)*ppvVar33 + 8))(); + if (*ppvVar32 != (int *)0x0) { + (**(code **)(*(int *)*ppvVar32 + 8))(); } - iVar29 = in_ECX->_gridWidth; + iVar28 = in_ECX->_gridWidth; local_99c = (RNG *)((int)local_99c + 1); - ppvVar33 = ppvVar33 + 1; - } while ((int)local_99c < iVar29 * in_ECX->_gridHeight); + ppvVar32 = ppvVar32 + 1; + } while ((int)local_99c < iVar28 * in_ECX->_gridHeight); iVar10 = in_ECX->_gridHeight; } local_9ac = (ItemPool *)0x3; local_9c0 = (ItemPool *)0x3e8; - if ((g_game->_frameCount % 3 == 0) && (local_9b4 = (Game *)0x0, 0 < iVar29 * iVar10)) { + if ((g_game->_frameCount % 3 == 0) && (local_9b4 = (Game *)0x0, 0 < iVar28 * iVar10)) { local_99c = (RNG *)&in_ECX->field_0xe6c; - piVar18 = in_ECX->_gridPaths; + piVar17 = in_ECX->_gridPaths; local_9b4 = (Game *)0x0; do { - iVar10 = *piVar18; - iVar29 = iVar10 % 1000; + iVar10 = *piVar17; + iVar28 = iVar10 % 1000; if (iVar10 == 3999) { - *piVar18 = 900; + *piVar17 = 900; } - else if (iVar29 < 0x385) { - if (100 < iVar29) { - iVar29 = 100; + else if (iVar28 < 0x385) { + if (100 < iVar28) { + iVar28 = 100; } - *piVar18 = iVar10 - iVar29; + *piVar17 = iVar10 - iVar28; } if ((ushort)(*(short *)local_99c - 1U) < 99) { iVar10 = *(short *)local_99c + -1; - local_9d0 = (RNG)0x0; - sVar24 = 0; + local_9d0 = 0.0; + sVar23 = 0; if (0 < iVar10) { - sVar24 = (short)iVar10; + sVar23 = (short)iVar10; } - *(short *)local_99c = sVar24; + *(short *)local_99c = sVar23; } local_99c = (RNG *)((int)local_99c + 2); local_9b4 = (Game *)((int)&local_9b4->_stage + 1); - piVar18 = piVar18 + 1; + piVar17 = piVar17 + 1; } while ((int)local_9b4 < in_ECX->_gridHeight * in_ECX->_gridWidth); } iVar10 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x226,&g_game->_playerManager,1); if ((((iVar10 != 0) && (*(char *)in_ECX != '\0')) && - (g_game->_frameCount - *(int *)&in_ECX->field_0x11f0 == 4)) && + (g_game->_frameCount - in_ECX->_enterFrame == 4)) && ((*(int *)((int)g_game->_room + 8) == 0x11 && ((*(uint *)(*(int *)((int)g_game->_room + 4) + 0x44) >> 3 & 1) == 0)))) { in_stack_fffff500 = (ItemPool **)&DAT_00000005; @@ -593266,23 +594132,23 @@ LAB_0080377c: in_stack_fffff4f8 = 0x803d67; EntityList::QuerySublist((Entity_NPC *)&in_ECX->_entityList); local_14 = 5; - if (local_a4c == 0) { + if (local_a58._shift3 == 0) { Ambush::StartChallenge(&g_game->_ambush); } local_14 = 0xffffffff; - if (local_a58._0_1_ == '\0') { + if ((char)local_a58._seed == '\0') { if (g_mainHeap == (void *)0x0) { - pqVar30 = &g_allocatedBytesNoHeap; + pqVar29 = &g_allocatedBytesNoHeap; } else { - pqVar30 = (qword *)((int)g_mainHeap + 0x30); + pqVar29 = (qword *)((int)g_mainHeap + 0x30); } - if ((int)local_a54 != 0) { - uVar12 = *(uint *)((int)local_a54 + -4); - qVar3 = *pqVar30; - *(uint *)pqVar30 = (uint)*pqVar30 - uVar12; - *(uint *)((int)pqVar30 + 4) = *(uint *)((int)pqVar30 + 4) - (uint)((uint)qVar3 < uVar12); - free((void *)((int)local_a54 + -4)); + if (local_a58._shift1 != 0) { + uVar12 = *(uint *)(local_a58._shift1 + -4); + qVar3 = *pqVar29; + *(uint *)pqVar29 = (uint)*pqVar29 - uVar12; + *(uint *)((int)pqVar29 + 4) = *(uint *)((int)pqVar29 + 4) - (uint)((uint)qVar3 < uVar12); + free((void *)(local_a58._shift1 + -4)); } local_14 = 0xffffffff; } @@ -593294,10 +594160,10 @@ LAB_0080377c: if (in_ECX->field_0x11f4 != '\0') { card_against_humanity_fill(); } - iVar29 = in_ECX->_aliveBossCount + *(int *)&in_ECX->field_0x12cc; + iVar28 = in_ECX->_aliveBossCount + *(int *)&in_ECX->field_0x12cc; iVar10 = 0; - if (0 < iVar29) { - iVar10 = iVar29; + if (0 < iVar28) { + iVar10 = iVar28; } if ((iVar10 < 1) && (0 < *(int *)&in_ECX->field_0x7224)) { if (g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) { @@ -593315,26 +594181,26 @@ LAB_0080377c: AnimationState::Update(); } if (in_ECX->_backdropType == 0x1a) { - pbVar17 = *(byte **)&in_ECX->field_0x1c38; - if (pbVar17 != (byte *)0x0) { - if (0xf < *(uint *)(pbVar17 + 0x14)) { - pbVar17 = *(byte **)pbVar17; + pbVar16 = *(byte **)&in_ECX->field_0x1c38; + if (pbVar16 != (byte *)0x0) { + if (0xf < *(uint *)(pbVar16 + 0x14)) { + pbVar16 = *(byte **)pbVar16; } - pbVar28 = s_Idle; + pbVar27 = s_Idle; do { - bVar7 = *pbVar17; - bVar39 = bVar7 < *pbVar28; - if (bVar7 != *pbVar28) { + bVar7 = *pbVar16; + bVar38 = bVar7 < *pbVar27; + if (bVar7 != *pbVar27) { LAB_00803ee0: - uVar12 = -(uint)bVar39 | 1; + uVar12 = -(uint)bVar38 | 1; goto LAB_00803ee5; } if (bVar7 == 0) break; - bVar7 = pbVar17[1]; - bVar39 = bVar7 < pbVar28[1]; - if (bVar7 != pbVar28[1]) goto LAB_00803ee0; - pbVar17 = pbVar17 + 2; - pbVar28 = pbVar28 + 2; + bVar7 = pbVar16[1]; + bVar38 = bVar7 < pbVar27[1]; + if (bVar7 != pbVar27[1]) goto LAB_00803ee0; + pbVar16 = pbVar16 + 2; + pbVar27 = pbVar27 + 2; } while (bVar7 != 0); uVar12 = 0; LAB_00803ee5: @@ -593350,46 +594216,46 @@ LAB_00803ee5: } LAB_00803f16: BeastArena::update(); - if ((*(char *)in_ECX != '\0') && (g_game->_frameCount - *(int *)&in_ECX->field_0x11f0 == 1)) { + if ((*(char *)in_ECX != '\0') && (g_game->_frameCount - in_ECX->_enterFrame == 1)) { Level::UpdateBackwardsPathStages(); } if ((in_ECX->_temporaryEffects)._disabled == 0) { - for (piVar18 = (in_ECX->_temporaryEffects)._effects._begin; - piVar18 != (in_ECX->_temporaryEffects)._effects._end; piVar18 = piVar18 + 4) { - iVar10 = *(int *)*piVar18; - if ((((iVar10 == 1) || (iVar10 == 3)) || (iVar10 == 4)) && (((int *)*piVar18)[1] == 0x1e1)) { + for (piVar17 = (in_ECX->_temporaryEffects)._effects._begin; + piVar17 != (in_ECX->_temporaryEffects)._effects._end; piVar17 = piVar17 + 4) { + iVar10 = *(int *)*piVar17; + if ((((iVar10 == 1) || (iVar10 == 3)) || (iVar10 == 4)) && (((int *)*piVar17)[1] == 0x1e1)) { uVar12 = Random(); pMVar5 = g_manager; if (uVar12 % 10 == 0) { uVar12 = Random(); if ((uVar12 & 1) == 0) { iVar10 = Random(); - fVar40 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + fVar39 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 0.1 + 0.2; } else { iVar10 = Random(); - fVar40 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + fVar39 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 0.5 + 1.5; } - (pMVar5->_musicManager)._pitch = fVar40; - (pMVar5->_musicManager)._targetPitch = fVar40; + (pMVar5->_musicManager)._pitch = fVar39; + (pMVar5->_musicManager)._targetPitch = fVar39; Music::SetPitchAll(); pMVar5 = g_manager; uVar12 = Random(); if ((uVar12 & 3) == 0) { iVar10 = Random(); - fVar40 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + fVar39 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 0.7 + 0.3; } else { - fVar40 = 1.0; + fVar39 = 1.0; } - fVar40 = fVar40 * (g_manager->_optionsConfig)._musicVolume; - *(float *)((int)&pMVar5->_optionsConfig + *(int *)&pMVar5->_musicManager * 0x184 + -0x204) - = fVar40; - *(float *)((int)&pMVar5->_optionsConfig + *(int *)&pMVar5->_musicManager * 0x184 + -0x208) - = fVar40; + fVar39 = fVar39 * (g_manager->_optionsConfig)._musicVolume; + (pMVar5->_musicManager)._channels[(pMVar5->_musicManager)._currentChannel]._targetVolume = + fVar39; + (pMVar5->_musicManager)._channels[(pMVar5->_musicManager)._currentChannel]._volume = + fVar39; } else { (g_manager->_musicManager)._pitch = 1.0; @@ -593402,24 +594268,24 @@ LAB_00803f16: } TemporaryEffects::Update(&in_ECX->_temporaryEffects); update_deaths_list(); - pvVar27 = in_ECX->_descriptor; - local_9c4 = pvVar27; - if (((*(byte *)((int)pvVar27 + 0x44) & 1) == 0) && ((g_game->_ambush)._isActive == 0)) { - iVar29 = in_ECX->_aliveEnemyCount + *(int *)&in_ECX->field_0x12c4; + pvVar26 = in_ECX->_descriptor; + local_9c4 = pvVar26; + if (((*(byte *)((int)pvVar26 + 0x44) & 1) == 0) && ((g_game->_ambush)._isActive == 0)) { + iVar28 = in_ECX->_aliveEnemyCount + *(int *)&in_ECX->field_0x12c4; iVar10 = 0; - if (0 < iVar29) { - iVar10 = iVar29; + if (0 < iVar28) { + iVar10 = iVar28; } if (((iVar10 < 1) && (in_ECX->_greedWaveTimer < 1)) && (in_ECX->_roomClearDelay < 1)) { TriggerOutput(in_ECX,9); - pvVar27 = in_ECX->_descriptor; + pvVar26 = in_ECX->_descriptor; } } if ((g_game->_ambush)._isActive == 0) { - iVar29 = in_ECX->_aliveEnemyCount + *(int *)&in_ECX->field_0x12c4; + iVar28 = in_ECX->_aliveEnemyCount + *(int *)&in_ECX->field_0x12c4; iVar10 = 0; - if (0 < iVar29) { - iVar10 = iVar29; + if (0 < iVar28) { + iVar10 = iVar28; } if ((0 < iVar10) || (0 < in_ECX->_greedWaveTimer)) goto LAB_00804293; if (in_ECX->_roomClearDelay < 1) { @@ -593427,7 +594293,7 @@ LAB_00803f16: iVar10 = *(int *)(*(int *)((int)in_ECX->_descriptor + 0x10) + 0x10); if (iVar10 != 2) { if (iVar10 != 3) goto LAB_00804212; - in_stack_fffff500 = *(ItemPool ***)&g_game->field_0x18328; + in_stack_fffff500 = (ItemPool **)g_game->_dungeonReturnRoomIndex; g_game->_enterDoor = -1; in_stack_fffff4fc = (RNG *)0x80420d; Game::StartRoomTransition(in_stack_fffff500,0xffffffff,0,0,0xffffffff); @@ -593438,17 +594304,17 @@ LAB_00804212: iVar10 = g_game->_stage; if ((iVar10 != 0xd) && (((iVar10 < 1 || (6 < iVar10)) || ((g_game->_gameStateFlags & 0x1000000000000) == 0)))) { - puVar1 = (uint *)((int)&g_manager->_optionsConfig + - *(int *)&g_manager->_musicManager * 0x184 + -0x210); - *puVar1 = *puVar1 & 0xfffffffe; + piVar17 = &(g_manager->_musicManager)._channels + [(g_manager->_musicManager)._currentChannel]._enabledLayers; + *piVar17 = *piVar17 & 0xfffffffe; } - ppvVar33 = in_ECX->_doors; + ppvVar32 = in_ECX->_doors; local_99c = (RNG *)0x8; do { - if (*ppvVar33 != (void *)0x0) { + if (*ppvVar32 != (void *)0x0) { GridEntity_Door::Open(); } - ppvVar33 = ppvVar33 + 1; + ppvVar32 = ppvVar32 + 1; local_99c = (RNG *)((int)local_99c + -1); } while (local_99c != (RNG *)0x0); if ((*(byte *)((int)in_ECX->_descriptor + 0x44) & 9) == 0) { @@ -593465,48 +594331,48 @@ LAB_00804293: in_ECX->_roomClearDelay = 10; if (in_ECX->_roomType == 0x10) { iVar10 = in_ECX->_roomClearDelay; - if (*(int *)(*(int *)((int)pvVar27 + 0x10) + 0x10) == 3) { + if (*(int *)(*(int *)((int)pvVar26 + 0x10) + 0x10) == 3) { iVar10 = 0x14; } in_ECX->_roomClearDelay = iVar10; } } - ppvVar33 = in_ECX->_doors; + ppvVar32 = in_ECX->_doors; local_99c = (RNG *)&DAT_00000008; do { - if ((*ppvVar33 != (void *)0x0) && (*(int *)((int)*ppvVar33 + 0xc) == 5)) { + if ((*ppvVar32 != (void *)0x0) && (*(int *)((int)*ppvVar32 + 0xc) == 5)) { GridEntity_Door::Open(); } - ppvVar33 = ppvVar33 + 1; - local_99c = (RNG *)((int)local_99c + -1); + ppvVar32 = ppvVar32 + 1; + local_99c = (RNG *)((int)&local_99c[-1]._shift3 + 3); } while (local_99c != (RNG *)0x0); - update_pressure_plates(); + update_pressure_plates(in_ECX); update_door_transitions(in_ECX); local_9a0 = g_game; local_9c4 = (Game *)g_game->_stageType; iVar10 = g_game->_stage; - if ((g_game->_difficulty == 2) || (iVar29 = iVar10, g_game->_difficulty == 3)) { + if ((g_game->_difficulty == 2) || (iVar28 = iVar10, g_game->_difficulty == 3)) { if (iVar10 < 5) { - iVar29 = iVar10 * 2 + -1; + iVar28 = iVar10 * 2 + -1; } else { - iVar29 = 0; + iVar28 = 0; if (iVar10 == 5) { - iVar29 = 10; + iVar28 = 10; } } local_9c4 = (Game *)0x0; } - if (((((iVar29 == 3) || (iVar29 == 4)) && (local_9c4 == (Game *)0x0)) || - (((iVar29 == 7 || (iVar29 == 8)) && (local_9c4 == (Game *)0x0)))) || - (((iVar29 == 5 || (iVar29 == 6)) && (local_9c4 == (Game *)0x2)))) { + if (((((iVar28 == 3) || (iVar28 == 4)) && (local_9c4 == (Game *)0x0)) || + (((iVar28 == 7 || (iVar28 == 8)) && (local_9c4 == (Game *)0x0)))) || + (((iVar28 == 5 || (iVar28 == 6)) && (local_9c4 == (Game *)0x2)))) { uVar12 = Random(); if (uVar12 % 0x1e != 0) { local_9a0 = g_game; goto LAB_0080439a; } LAB_00804511: - uVar15 = Random(); + uVar14 = Random(); iVar10 = Random(); local_a1c = (Entity *)0xc1200000; in_stack_fffff500 = &local_a20; @@ -593517,41 +594383,41 @@ LAB_00804511: (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 + (in_ECX->_topLeftPos).x); in_stack_fffff4f4 = 0x804585; - piVar18 = (int *)Game::Spawn(1000,0x29,in_stack_fffff500,&g_vectorZero,0,0,uVar15); - (**(code **)(*piVar18 + 0xc))(); + piVar17 = (int *)Game::Spawn(1000,0x29,in_stack_fffff500,&g_vectorZero,0,0,uVar14); + (**(code **)(*piVar17 + 0xc))(); } else { LAB_0080439a: - if (((iVar29 == 3) || (iVar29 == 4)) && (local_9c4 == (Game *)0x2)) { + if (((iVar28 == 3) || (iVar28 == 4)) && (local_9c4 == (Game *)0x2)) { g_game = local_9a0; uVar12 = Random(); if (uVar12 % 6 == 0) goto LAB_00804511; local_9a0 = g_game; } - if (((iVar29 == 7) || (iVar29 == 8)) && (local_9c4 == (Game *)0x2)) { + if (((iVar28 == 7) || (iVar28 == 8)) && (local_9c4 == (Game *)0x2)) { g_game = local_9a0; uVar12 = Random(); if ((uVar12 & 7) == 0) goto LAB_00804511; local_9a0 = g_game; } g_game = local_9a0; - if ((iVar29 == 1) || (iVar29 == 2)) { + if ((iVar28 == 1) || (iVar28 == 2)) { if (local_9c4 == (Game *)0x4) { uVar12 = Random(); if ((uVar12 & 3) == 0) goto LAB_00804511; local_9a0 = g_game; } g_game = local_9a0; - if ((iVar29 == 1) || (iVar29 == 2)) { + if ((iVar28 == 1) || (iVar28 == 2)) { if (local_9c4 == (Game *)0x5) { uVar12 = Random(); if ((uVar12 & 3) == 0) goto LAB_00804511; local_9a0 = g_game; } g_game = local_9a0; - if ((((iVar29 == 1) || (iVar29 == 2)) && (local_9c4 == (Game *)0x2)) && + if ((((iVar28 == 1) || (iVar28 == 2)) && (local_9c4 == (Game *)0x2)) && (uVar12 = Random(), uVar12 % 0x14 == 0)) { - uVar15 = Random(); + uVar14 = Random(); iVar10 = Random(); local_9c4 = (Game *)0xc1200000; in_stack_fffff500 = &local_9c8; @@ -593562,8 +594428,8 @@ LAB_0080439a: (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 + (in_ECX->_topLeftPos).x); in_stack_fffff4f4 = 0x8044ff; - piVar18 = (int *)Game::Spawn(1000,0x57,in_stack_fffff500,&g_vectorZero,0,0,uVar15); - (**(code **)(*piVar18 + 0xc))(); + piVar17 = (int *)Game::Spawn(1000,0x57,in_stack_fffff500,&g_vectorZero,0,0,uVar14); + (**(code **)(*piVar17 + 0xc))(); } } } @@ -593572,15 +594438,15 @@ LAB_0080439a: Level::GetRoomStageType(g_game->_currentRoomIdx); } else if (g_game->_currentDimensionIdx == 2) goto LAB_008046e2; - pGVar31 = g_game; + pGVar30 = g_game; iVar10 = RoomConfig::GetStageID(0xffffffff); if (iVar10 == 0x1b) { - uVar12 = pGVar31->_frameCount & 0x80000003; - bVar39 = uVar12 == 0; + uVar12 = pGVar30->_frameCount & 0x80000003; + bVar38 = uVar12 == 0; if ((int)uVar12 < 0) { - bVar39 = (uVar12 - 1 | 0xfffffffc) == 0xffffffff; + bVar38 = (uVar12 - 1 | 0xfffffffc) == 0xffffffff; } - if ((bVar39) && (uVar12 = Random(), uVar12 % 100 == 0)) { + if ((bVar38) && (uVar12 = Random(), uVar12 % 100 == 0)) { iVar10 = Random(); g_game->_lightningIntensity = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 0.6 @@ -593603,55 +594469,55 @@ LAB_008046e2: update_ambient_effects(in_ECX); update_water_current(); cVar8 = Level::IsMausoleumHeartStage(); - pGVar31 = g_game; + pGVar30 = g_game; if (cVar8 != '\0') { if ((*(char *)g_game->_room == '\0') || (g_game->_frameCount - *(int *)((int)g_game->_room + 0x11f0) < 2)) { g_game->_darknessModifier = 1.0; } - pGVar31->_darknessStrength = 1.0; - pGVar31->_darknessTimeout = 10; + pGVar30->_darknessStrength = 1.0; + pGVar30->_darknessTimeout = 10; } - piVar18 = *(int **)((int)in_ECX->_descriptor + 0x10); - if (((piVar18 != (int *)0x0) && (piVar18[2] == 0x10)) && (*piVar18 == 0x23)) { - pGVar37 = (Game *)((in_ECX->_bottomRightPos).y - 30.0); - local_9a0 = pGVar37; + piVar17 = *(int **)((int)in_ECX->_descriptor + 0x10); + if (((piVar17 != (int *)0x0) && (piVar17[2] == 0x10)) && (*piVar17 == 0x23)) { + pGVar36 = (Game *)((in_ECX->_bottomRightPos).y - 30.0); + local_9a0 = pGVar36; if (*(char *)in_ECX != '\0') { - uVar12 = pGVar31->_frameCount - *(int *)&in_ECX->field_0x11f0 & 0x80000003; - bVar39 = uVar12 == 0; + uVar12 = pGVar30->_frameCount - in_ECX->_enterFrame & 0x80000003; + bVar38 = uVar12 == 0; if ((int)uVar12 < 0) { - bVar39 = (uVar12 - 1 | 0xfffffffc) == 0xffffffff; + bVar38 = (uVar12 - 1 | 0xfffffffc) == 0xffffffff; } - if (bVar39) { - pPVar34 = &pGVar31->_playerManager; - if ((int)(pGVar31->_playerManager)._playerList._end - (int)(pPVar34->_playerList)._begin >> + if (bVar38) { + pPVar33 = &pGVar30->_playerManager; + if ((int)(pGVar30->_playerManager)._playerList._end - (int)(pPVar33->_playerList)._begin >> 2 != 0) { uVar12 = 0; - pGVar31 = g_game; + pGVar30 = g_game; do { - pvVar27 = (pPVar34->_playerList)._end; - if ((int)pvVar27 - (int)(pPVar34->_playerList)._begin >> 2 == 0) { + pvVar26 = (pPVar33->_playerList)._end; + if ((int)pvVar26 - (int)(pPVar33->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - pfVar16 = (pPVar34->_playerList)._begin; - if (uVar12 < (uint)((int)pvVar27 - (int)pfVar16 >> 2)) { - pfVar16 = pfVar16 + uVar12; + pfVar15 = (pPVar33->_playerList)._begin; + if (uVar12 < (uint)((int)pvVar26 - (int)pfVar15 >> 2)) { + pfVar15 = pfVar15 + uVar12; } - local_9a8 = (Entity *)*pfVar16; - if ((float)pGVar37 <= (local_9a8->_pos).y + local_9a8->_size) { + local_9a8 = (Entity *)*pfVar15; + if ((float)pGVar36 <= (local_9a8->_pos).y + local_9a8->_size) { if (local_9a8->_entityCollisionClass != 0) { bVar7 = 0; - local_ab8._16_4_ = g_vectorZero.x; - local_ab8._24_4_ = g_vectorZero.x; - local_ab8._0_4_ = 0; - local_ab8._4_4_ = 0; - local_ab8._8_4_ = 0; - local_ab8._12_4_ = 0; - local_ab8._20_4_ = g_vectorZero.y; - local_a9c = g_vectorZero.y; - local_a98 = 0; - local_a94 = (void *)0x0; + local_ab8._position.x = g_vectorZero.x; + local_ab8._velocity.x = g_vectorZero.x; + local_ab8._type = 0; + local_ab8._variant = 0; + local_ab8._spawnerType = 0; + local_ab8._spawnerVariant = 0; + local_ab8._position.y = g_vectorZero.y; + local_ab8._velocity.y = g_vectorZero.y; + local_ab8._flags = 0; + local_ab8._entity = (void *)0x0; Color::Reset(); pEVar11 = local_9a8; color._tint[2] = 1.3; @@ -593665,7 +594531,7 @@ LAB_008046e2: color._offset[0] = 0.15686275; color._offset[1] = 0.15686275; color._offset[2] = 0.15686275; - Entity::AddSlowing(local_9a8,(EntityRef *)local_ab8,4,0.6,color,bVar7); + Entity::AddSlowing(local_9a8,&local_ab8,4,0.6,color,bVar7); local_ad0 = g_vectorZero.x; local_acc = g_vectorZero.y; local_ac4 = g_vectorZero.y; @@ -593679,14 +594545,14 @@ LAB_008046e2: in_stack_fffff500 = (ItemPool **)0x3f800000; in_stack_fffff4fc = (RNG *)0x804968; (**(code **)(*(int *)pEVar11 + 0x20))(0x3f800000,2,0,&local_ae0,0x1e); - pGVar31 = g_game; - pGVar37 = local_9a0; + pGVar30 = g_game; + pGVar36 = local_9a0; } } - pPVar34 = &pGVar31->_playerManager; + pPVar33 = &pGVar30->_playerManager; uVar12 = uVar12 + 1; - } while (uVar12 < (uint)((int)(pGVar31->_playerManager)._playerList._end - - (int)(pPVar34->_playerList)._begin >> 2)); + } while (uVar12 < (uint)((int)(pGVar30->_playerManager)._playerList._end - + (int)(pPVar33->_playerList)._begin >> 2)); in_ECX = local_9cc; } } @@ -593703,34 +594569,34 @@ LAB_008046e2: 2.3283064e-10 - 0.5) * 0.4); local_a1c = local_9a8; iVar10 = Random(); - fVar40 = (in_ECX->_topLeftPos).x + 40.0; - local_9a0 = (Game *)(((float)local_9a0 - fVar40) * + fVar39 = (in_ECX->_topLeftPos).x + 40.0; + local_9a0 = (Game *)(((float)local_9a0 - fVar39) * (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * - 2.3283064e-10 + fVar40); + 2.3283064e-10 + fVar39); iVar10 = Random(); local_a3c = local_9a0; local_a40 = ((in_ECX->_bottomRightPos).x - (in_ECX->_topLeftPos).x) * (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 + (in_ECX->_topLeftPos).x; - uVar15 = Random(); - piVar18 = (int *)Game::Spawn(1000,0x42,&local_a40,&local_a20,0,10,uVar15); + uVar14 = Random(); + piVar17 = (int *)Game::Spawn(1000,0x42,&local_a40,&local_a20,0,10,uVar14); iVar10 = Random(); - fVar43 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * + fVar41 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 1.2 + 0.8; - fVar40 = fVar43 * g_vectorOne.x; - piVar18[0x3a] = (int)(fVar43 * g_vectorOne.y); - piVar18[0x39] = (int)fVar40; + fVar39 = fVar41 * g_vectorOne.x; + piVar17[0x3a] = (int)(fVar41 * g_vectorOne.y); + piVar17[0x39] = (int)fVar39; uVar12 = Random(); if (uVar12 % (uint)local_9ac == 0) { - piVar18[0xd6] = 0x42a00000; + piVar17[0xd6] = 0x42a00000; } else { - piVar18[0xd7] = 1; - piVar18[0x3f] = 0x3f19999a; - piVar18[0x39] = (int)((float)piVar18[0x39] * 0.6); - piVar18[0x3a] = (int)((float)piVar18[0x3a] * 0.6); + piVar17[0xd7] = 1; + piVar17[0x3f] = 0x3f19999a; + piVar17[0x39] = (int)((float)piVar17[0x39] * 0.6); + piVar17[0x3a] = (int)((float)piVar17[0x3a] * 0.6); } - (**(code **)(*piVar18 + 0xc))(); + (**(code **)(*piVar17 + 0xc))(); } } if (*(int *)&in_ECX->field_0x70d8 < *(int *)&in_ECX->field_0x70dc) { @@ -593748,12 +594614,12 @@ LAB_008046e2: local_9a4 = (Game *)((in_ECX->_bottomRightPos).x - (in_ECX->_topLeftPos).x); *(int *)&in_ECX->field_0x7214 = *(int *)&in_ECX->field_0x7214 + -1; local_9b8 = (Game *)0x20; - ppGVar20 = &local_9b8; + ppGVar19 = &local_9b8; if (*(int *)&in_ECX->field_0x7218 < 0x20) { - ppGVar20 = (Game **)&in_ECX->field_0x7218; + ppGVar19 = (Game **)&in_ECX->field_0x7218; } local_9b0 = (RNG *)0x0; - if (0 < (int)*ppGVar20) { + if (0 < (int)*ppGVar19) { local_9ac = (ItemPool *)((float)local_9a4 + (float)local_9a4); local_9a8 = (Entity *)((float)local_9bc + (float)local_9bc + (float)local_9ac); do { @@ -593763,155 +594629,155 @@ LAB_008046e2: if ((float)local_9a4 <= (float)local_99c) { if ((float)local_9a4 + (float)local_9bc <= (float)local_99c) { if ((float)local_9bc + (float)local_9ac <= (float)local_99c) { - uVar15 = Random(); + uVar14 = Random(); iVar10 = Random(); - fVar40 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + fVar39 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pGVar37 = (Game *)(fVar40 + fVar40); - local_9b4 = pGVar37; + pGVar36 = (Game *)(fVar39 + fVar39); + local_9b4 = pGVar36; sin(); - pGVar31 = local_9b4; - local_9a0 = pGVar37; + pGVar30 = local_9b4; + local_9a0 = pGVar36; cos(); - ppIVar45 = &local_9c8; + ppIVar43 = &local_9c8; local_9c4 = (Game *)((float)local_9a0 * 5.0); - local_9c8 = (ItemPool *)((float)pGVar31 * 5.0); + local_9c8 = (ItemPool *)((float)pGVar30 * 5.0); local_a18 = (ItemPool *)(in_ECX->_topLeftPos).x; - ppIVar19 = &local_a18; + ppIVar18 = &local_a18; local_a14 = (Game *)((((float)local_99c + (in_ECX->_topLeftPos).y) - (float)local_9ac) - (float)local_9bc); } else { - uVar15 = Random(); + uVar14 = Random(); iVar10 = Random(); - fVar40 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + fVar39 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pGVar37 = (Game *)(fVar40 + fVar40); - local_9b4 = pGVar37; + pGVar36 = (Game *)(fVar39 + fVar39); + local_9b4 = pGVar36; sin(); - pGVar31 = local_9b4; - local_9a0 = pGVar37; + pGVar30 = local_9b4; + local_9a0 = pGVar36; cos(); - ppIVar45 = &local_9e0; + ppIVar43 = &local_9e0; local_9dc = (float)local_9a0 * 5.0; - local_9e0 = (ItemPool *)((float)pGVar31 * 5.0); - local_9d0 = (RNG)(in_ECX->_bottomRightPos).y; - ppIVar19 = &local_9d4; + local_9e0 = (ItemPool *)((float)pGVar30 * 5.0); + local_9d0 = (in_ECX->_bottomRightPos).y; + ppIVar18 = &local_9d4; local_9d4 = (ItemPool *) ((((float)local_99c + (in_ECX->_topLeftPos).x) - (float)local_9a4) - (float)local_9bc); } } else { - uVar15 = Random(); + uVar14 = Random(); iVar10 = Random(); - fVar40 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + fVar39 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pGVar37 = (Game *)(fVar40 + fVar40); - local_9b4 = pGVar37; + pGVar36 = (Game *)(fVar39 + fVar39); + local_9b4 = pGVar36; sin(); - pGVar31 = local_9b4; - local_9a0 = pGVar37; + pGVar30 = local_9b4; + local_9a0 = pGVar36; cos(); - ppIVar45 = &local_a38; + ppIVar43 = &local_a38; local_a34 = (float)local_9a0 * 5.0; - local_a38 = (ItemPool *)((float)pGVar31 * 5.0); + local_a38 = (ItemPool *)((float)pGVar30 * 5.0); local_a04 = (ItemPool *)(in_ECX->_bottomRightPos).x; local_a00 = ((float)local_99c + (in_ECX->_topLeftPos).y) - (float)local_9a4; - ppIVar19 = &local_a04; + ppIVar18 = &local_a04; } } else { - uVar15 = Random(); + uVar14 = Random(); iVar10 = Random(); - fVar40 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + fVar39 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pGVar37 = (Game *)(fVar40 + fVar40); - local_9b4 = pGVar37; + pGVar36 = (Game *)(fVar39 + fVar39); + local_9b4 = pGVar36; sin(); - pGVar31 = local_9b4; - local_9a0 = pGVar37; + pGVar30 = local_9b4; + local_9a0 = pGVar36; cos(); - ppIVar45 = &local_a28; + ppIVar43 = &local_a28; local_a24 = (float)local_9a0 * 5.0; - local_a28 = (ItemPool *)((float)pGVar31 * 5.0); + local_a28 = (ItemPool *)((float)pGVar30 * 5.0); local_a30 = (ItemPool *)((float)local_99c + (in_ECX->_topLeftPos).x); local_a2c = (Game *)(in_ECX->_topLeftPos).y; - ppIVar19 = &local_a30; + ppIVar18 = &local_a30; } - piVar18 = (int *)Game::Spawn(1000,5,ppIVar19,ppIVar45,0,0,uVar15); + piVar17 = (int *)Game::Spawn(1000,5,ppIVar18,ppIVar43,0,0,uVar14); iVar10 = in_ECX->_backdropType; if (((iVar10 == 0x22) || (iVar10 == 0x2b)) || (iVar10 == 0x2c)) { - (**(code **)(*piVar18 + 0x3c))(&g_colorGreenSplat,0xffffffff,0xff,0,1); + (**(code **)(*piVar17 + 0x3c))(&g_colorGreenSplat,0xffffffff,0xff,0,1); fVar4 = g_colorGreenSplat._tint[3]; - fVar43 = g_colorGreenSplat._tint[2]; - fVar40 = g_colorGreenSplat._tint[1]; - if ((ColorMod *)(piVar18 + 0x79) != &g_colorGreenSplat) { - ((ColorMod *)(piVar18 + 0x79))->_tint[0] = g_colorGreenSplat._tint[0]; - piVar18[0x7a] = (int)fVar40; - piVar18[0x7b] = (int)fVar43; - piVar18[0x7c] = (int)fVar4; + fVar41 = g_colorGreenSplat._tint[2]; + fVar39 = g_colorGreenSplat._tint[1]; + if ((ColorMod *)(piVar17 + 0x79) != &g_colorGreenSplat) { + ((ColorMod *)(piVar17 + 0x79))->_tint[0] = g_colorGreenSplat._tint[0]; + piVar17[0x7a] = (int)fVar39; + piVar17[0x7b] = (int)fVar41; + piVar17[0x7c] = (int)fVar4; fVar4 = g_colorGreenSplat._colorize[3]; - fVar43 = g_colorGreenSplat._colorize[2]; - fVar40 = g_colorGreenSplat._colorize[1]; - piVar18[0x7d] = (int)g_colorGreenSplat._colorize[0]; - piVar18[0x7e] = (int)fVar40; - piVar18[0x7f] = (int)fVar43; - piVar18[0x80] = (int)fVar4; - *(undefined8 *)(piVar18 + 0x81) = g_colorGreenSplat._offset._0_8_; - piVar18[0x83] = (int)g_colorGreenSplat._offset[2]; + fVar41 = g_colorGreenSplat._colorize[2]; + fVar39 = g_colorGreenSplat._colorize[1]; + piVar17[0x7d] = (int)g_colorGreenSplat._colorize[0]; + piVar17[0x7e] = (int)fVar39; + piVar17[0x7f] = (int)fVar41; + piVar17[0x80] = (int)fVar4; + *(undefined8 *)(piVar17 + 0x81) = g_colorGreenSplat._offset._0_8_; + piVar17[0x83] = (int)g_colorGreenSplat._offset[2]; } } - (**(code **)(*piVar18 + 0xc))(); - local_9b0 = (RNG *)&local_9b0->field_0x1; - ppGVar20 = &local_9b8; + (**(code **)(*piVar17 + 0xc))(); + local_9b0 = (RNG *)((int)&local_9b0->_seed + 1); + ppGVar19 = &local_9b8; if (*(int *)&in_ECX->field_0x7218 < 0x20) { - ppGVar20 = (Game **)&in_ECX->field_0x7218; + ppGVar19 = (Game **)&in_ECX->field_0x7218; } - } while ((int)local_9b0 < (int)*ppGVar20); + } while ((int)local_9b0 < (int)*ppGVar19); } } bVar7 = TemporaryEffects::HasCollectibleEffect ((TemporaryEffects *)((int)g_game->_room + 0x7310),0x123); if ((bVar7 != 0) && (in_ECX->_roomType != 0x10)) { - fVar40 = in_ECX->_waterAmount + 0.1; - in_ECX->_waterAmount = fVar40; - if ((0.89 < fVar40) && - ((fVar40 < 0.91 && + fVar39 = in_ECX->_waterAmount + 0.1; + in_ECX->_waterAmount = fVar39; + if ((0.89 < fVar39) && + ((fVar39 < 0.91 && (puVar1 = (uint *)((int)in_ECX->_descriptor + 0x44), *puVar1 = *puVar1 | 0x100, (*(uint *)((int)in_ECX->_descriptor + 0x44) >> 5 & 1) != 0)))) { iVar10 = in_ECX->_gridWidth; local_99c = (RNG *)0x1; if (1 < iVar10 + -1) { do { - iVar29 = in_ECX->_gridHeight; + iVar28 = in_ECX->_gridHeight; local_9b0 = (RNG *)0x1; - if (1 < iVar29 + -1) { + if (1 < iVar28 + -1) { do { if (((((int)local_99c < 0) || (iVar10 = in_ECX->_gridWidth, iVar10 <= (int)local_99c)) - || ((int)local_9b0 < 0)) || (iVar29 <= (int)local_9b0)) { + || ((int)local_9b0 < 0)) || (iVar28 <= (int)local_9b0)) { iVar10 = in_ECX->_gridWidth; } else { - piVar18 = (int *)((int)&local_99c->field_0x0 + (int)local_9b0 * iVar10); - if (((-1 < (int)piVar18) && - (local_9ac = in_ECX->_gridEntities[(int)piVar18], local_9ac != (ItemPool *)0x0)) + piVar17 = (int *)((int)&local_99c->_seed + (int)local_9b0 * iVar10); + if (((-1 < (int)piVar17) && + (local_9ac = in_ECX->_gridEntities[(int)piVar17], local_9ac != (ItemPool *)0x0)) && (local_9ac->_pools[0]._totalWeight == 9.80909e-45)) { - piVar18 = (int *)__RTDynamicCast(local_9ac,0, + piVar17 = (int *)__RTDynamicCast(local_9ac,0, &IsaacRepentancePlus::GridEntity:: RTTI_Type_Descriptor, &IsaacRepentancePlus::GridEntity_Pit:: RTTI_Type_Descriptor,0); - (**(code **)(*piVar18 + 0x20))(); - (**(code **)(*piVar18 + 4))(); - iVar29 = in_ECX->_gridHeight; + (**(code **)(*piVar17 + 0x20))(); + (**(code **)(*piVar17 + 4))(); + iVar28 = in_ECX->_gridHeight; iVar10 = in_ECX->_gridWidth; } } - local_9b0 = (RNG *)&local_9b0->field_0x1; - } while ((int)local_9b0 < iVar29 + -1); + local_9b0 = (RNG *)((int)&local_9b0->_seed + 1); + } while ((int)local_9b0 < iVar28 + -1); } - local_99c = (RNG *)&local_99c->field_0x1; + local_99c = (RNG *)((int)&local_99c->_seed + 1); } while ((int)local_99c < iVar10 + -1); } } @@ -593919,46 +594785,46 @@ LAB_008046e2: in_ECX->_waterAmount = 1.0; } } - if ((0.0 < in_ECX->_waterAmount) && (fVar40 = in_ECX->_lavaIntensity, 0.0 < fVar40)) { - fVar43 = fVar40 * 0.92; - in_ECX->_lavaIntensity = fVar43; - if ((fVar43 < 0.2) && (0.2 <= fVar40)) { + if ((0.0 < in_ECX->_waterAmount) && (fVar39 = in_ECX->_lavaIntensity, 0.0 < fVar39)) { + fVar41 = fVar39 * 0.92; + in_ECX->_lavaIntensity = fVar41; + if ((fVar41 < 0.2) && (0.2 <= fVar39)) { iVar10 = in_ECX->_gridWidth; local_99c = (RNG *)0x1; if (1 < iVar10 + -1) { do { - iVar29 = in_ECX->_gridHeight; - iVar35 = 1; - if (1 < iVar29 + -1) { + iVar28 = in_ECX->_gridHeight; + iVar34 = 1; + if (1 < iVar28 + -1) { do { if (((((int)local_99c < 0) || (iVar10 = in_ECX->_gridWidth, iVar10 <= (int)local_99c)) - || (iVar35 < 0)) || (iVar29 <= iVar35)) { + || (iVar34 < 0)) || (iVar28 <= iVar34)) { iVar10 = in_ECX->_gridWidth; } else { - piVar18 = (int *)((int)&local_99c->field_0x0 + iVar35 * iVar10); - if (((-1 < (int)piVar18) && - (local_9ac = in_ECX->_gridEntities[(int)piVar18], local_9ac != (ItemPool *)0x0)) + piVar17 = (int *)((int)&local_99c->_seed + iVar34 * iVar10); + if (((-1 < (int)piVar17) && + (local_9ac = in_ECX->_gridEntities[(int)piVar17], local_9ac != (ItemPool *)0x0)) && (local_9ac->_pools[0]._totalWeight == 9.80909e-45)) { - pGVar21 = (GridEntity_Pit *) + pGVar20 = (GridEntity_Pit *) __RTDynamicCast(local_9ac,0, &IsaacRepentancePlus::GridEntity::RTTI_Type_Descriptor, &IsaacRepentancePlus::GridEntity_Pit:: RTTI_Type_Descriptor,0); - GridEntity_Pit::UpdateCollision(pGVar21); - iVar29 = in_ECX->_gridHeight; + GridEntity_Pit::UpdateCollision(pGVar20); + iVar28 = in_ECX->_gridHeight; iVar10 = in_ECX->_gridWidth; } } - iVar35 = iVar35 + 1; - } while (iVar35 < iVar29 + -1); + iVar34 = iVar34 + 1; + } while (iVar34 < iVar28 + -1); } - local_99c = (RNG *)&local_99c->field_0x1; + local_99c = (RNG *)((int)&local_99c->_seed + 1); } while ((int)local_99c < iVar10 + -1); - fVar43 = in_ECX->_lavaIntensity; + fVar41 = in_ECX->_lavaIntensity; } } - if (fVar43 < 0.001) { + if (fVar41 < 0.001) { in_ECX->_lavaIntensity = 0.0; } FUN_00823540(); @@ -593966,7 +594832,7 @@ LAB_008046e2: if ((((g_game->_levelStateFlags & 0x4000U) != 0) && ((*(uint *)((int)in_ECX->_descriptor + 0x44) & 0x4000) == 0)) && ((*(char *)in_ECX != '\0' && - ((g_game->_frameCount - *(int *)&in_ECX->field_0x11f0 == 1 && + ((g_game->_frameCount - in_ECX->_enterFrame == 1 && (bVar7 = Game::IsPaused(g_game), bVar7 == 0)))))) { MamaMegaExplosion(in_ECX,&g_vectorZero,0); } @@ -593983,15 +594849,16 @@ LAB_008046e2: if ((((in_ECX->_roomType == 2) && (iVar10 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x209,&g_game->_playerManager,1), iVar10 != 0)) - && (*(char *)in_ECX != '\0')) && (1 < g_game->_frameCount - *(int *)&in_ECX->field_0x11f0)) { - pvVar27 = in_ECX->_descriptor; - sVar24 = *(short *)((int)pvVar27 + 0xac); - if ((0 < sVar24) && - ((sVar24 <= *(short *)((int)pvVar27 + 0xae) || (*(short *)((int)pvVar27 + 0xae) == -1)))) { - local_a58 = *(RNG *)((int)pvVar27 + 0x58); - local_a4c = 0x1b; - local_a54 = 0x1b00000001; - uVar12 = RNG::RandomInt(&local_a58,(int)sVar24); + && (*(char *)in_ECX != '\0')) && (1 < g_game->_frameCount - in_ECX->_enterFrame)) { + pvVar26 = in_ECX->_descriptor; + sVar23 = *(short *)((int)pvVar26 + 0xac); + if ((0 < sVar23) && + ((sVar23 <= *(short *)((int)pvVar26 + 0xae) || (*(short *)((int)pvVar26 + 0xae) == -1)))) { + local_a58._seed = *(int *)((int)pvVar26 + 0x58); + local_a58._shift3 = 0x1b; + local_a58._shift1 = 1; + local_a58._shift2 = 0x1b; + uVar12 = RNG::RandomInt(&local_a58,(int)sVar23); *(short *)((int)in_ECX->_descriptor + 0xae) = (short)uVar12; } } @@ -593999,13 +594866,13 @@ LAB_008046e2: if (0 < iVar10) { if (iVar10 % 5 == 0) { get_random_pickup_position(g_game->_room,local_a48,0,0); - uVar15 = Random(); - uVar46 = 0; - pTVar49 = &IsaacRepentancePlus::Entity_Bomb::RTTI_Type_Descriptor; - pTVar47 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar14 = Random(); uVar44 = 0; - uVar15 = Game::Spawn(4,3,local_a48,&g_vectorZero,0,0,uVar15); - __RTDynamicCast(uVar15,uVar44,pTVar47,pTVar49,uVar46); + pTVar47 = &IsaacRepentancePlus::Entity_Bomb::RTTI_Type_Descriptor; + pTVar45 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor; + uVar42 = 0; + uVar14 = Game::Spawn(4,3,local_a48,&g_vectorZero,0,0,uVar14); + __RTDynamicCast(uVar14,uVar42,pTVar45,pTVar47,uVar44); iVar10 = *(int *)&in_ECX->field_0x7230; } *(int *)&in_ECX->field_0x7230 = iVar10 + -1; @@ -594015,12 +594882,12 @@ LAB_008046e2: if ((in_ECX->_entityList)._updateEL._size != 0) { do { iVar10 = *(int *)((int)(in_ECX->_entityList)._updateEL._data + uVar12 * 4); - iVar29 = *(int *)(iVar10 + 0x28); - if (iVar29 == 5) { + iVar28 = *(int *)(iVar10 + 0x28); + if (iVar28 == 5) { Entity_Pickup::UpdateLootPreview(); } - else if ((((1 < *(int *)&g_game->_deathmatchManager) && (iVar29 == 1)) || - (iVar29 - 10U < 0x3de)) && + else if ((((1 < *(int *)&g_game->_deathmatchManager) && (iVar28 == 1)) || + (iVar28 - 10U < 0x3de)) && (this = (Entity_NPC *) __RTDynamicCast(iVar10,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_NPC::RTTI_Type_Descriptor,0), @@ -594052,41 +594919,41 @@ LAB_008046e2: local_9b0 = (RNG *)0x0; if ((in_ECX->_entityList)._updateEL._size != 0) { do { - pIVar32 = *(ItemPool **)((int)(in_ECX->_entityList)._updateEL._data + (int)local_9b0 * 4); - if ((pIVar32 == (ItemPool *)0x0) || (*(int *)&pIVar32->_pools[0].field_0x24 != 5)) { + pIVar31 = *(ItemPool **)((int)(in_ECX->_entityList)._updateEL._data + (int)local_9b0 * 4); + if ((pIVar31 == (ItemPool *)0x0) || (pIVar31->_pools[0]._rng2._shift1 != 5)) { local_9ac = (ItemPool *)0x0; } else { - local_9ac = pIVar32; - if (*(int *)&pIVar32->_pools[0].field_0x28 == 100) { - iVar29 = (int)((*(float *)&pIVar32->_pools[0xf].field_0x2c - 40.0) / 40.0 + 0.5); - iVar10 = (int)(((float)pIVar32->_pools[0xf]._bibleUpgrade - 120.0) / 40.0 + 0.5); - if ((((-1 < iVar29) && (iVar29 < in_ECX->_gridWidth)) && (-1 < iVar10)) && + local_9ac = pIVar31; + if (pIVar31->_pools[0]._rng2._shift2 == 100) { + iVar28 = (int)(((float)pIVar31->_pools[0xf]._rng2._shift3 - 40.0) / 40.0 + 0.5); + iVar10 = (int)(((float)pIVar31->_pools[0xf]._bibleUpgrade - 120.0) / 40.0 + 0.5); + if ((((-1 < iVar28) && (iVar28 < in_ECX->_gridWidth)) && (-1 < iVar10)) && ((iVar10 < in_ECX->_gridHeight && - (iVar29 = iVar10 * in_ECX->_gridWidth + iVar29, -1 < iVar29)))) { - *(undefined1 *)((int)local_1e8 + iVar29) = 1; + (iVar28 = iVar10 * in_ECX->_gridWidth + iVar28, -1 < iVar28)))) { + *(undefined1 *)((int)local_1e8 + iVar28) = 1; } - if (((*(char *)((int)&pIVar32->_pools[7]._totalWeight + 3) == '\0') && - (*(int *)&pIVar32->_pools[0x19].field_0x1c == 0)) && - (((*(uint *)&pIVar32->_pools[6].field_0x2c & 0x80000) != 0 && + if (((*(char *)((int)&pIVar31->_pools[7]._totalWeight + 3) == '\0') && + (pIVar31->_pools[0x19]._rng1._shift3 == 0)) && + (((pIVar31->_pools[6]._rng2._shift3 & 0x80000U) != 0 && (cVar8 = FUN_0072fe80(0x8000,0), cVar8 == '\0')))) { - iVar10 = pIVar32->_pools[6]._bibleUpgrade; - puVar22 = &pIVar32->_pools[6].field_0x2c; - *(uint *)puVar22 = *(uint *)puVar22 & 0xfff7ffff; - pIVar32->_pools[6]._bibleUpgrade = iVar10; + iVar10 = pIVar31->_pools[6]._bibleUpgrade; + piVar17 = &pIVar31->_pools[6]._rng2._shift3; + *piVar17 = *piVar17 & 0xfff7ffff; + pIVar31->_pools[6]._bibleUpgrade = iVar10; if (local_9e8 == local_9b4) { std::vector::_Emplace_reallocate(local_9e8,&local_9ac); local_9b4 = local_9e4; } else { - local_9e8->_stage = (int)pIVar32; + local_9e8->_stage = (int)pIVar31; local_9e8 = (Game *)&local_9e8->_stageType; } } } } - local_9b0 = (RNG *)&local_9b0->field_0x1; - } while (local_9b0 < (undefined1 *)(in_ECX->_entityList)._updateEL._size); + local_9b0 = (RNG *)((int)&local_9b0->_seed + 1); + } while (local_9b0 < (RNG *)(in_ECX->_entityList)._updateEL._size); } local_9e0 = (ItemPool *)0x0; local_9dc = 0.0; @@ -594094,96 +594961,96 @@ LAB_008046e2: pRVar6 = local_9cc; local_9e0->_seed = (int)local_9e0; local_9e0->_pools[0]._totalWeight = (float)local_9e0; - *(ItemPool **)&local_9e0->_pools[0].field_0x4 = local_9e0; - *(undefined2 *)&local_9e0->_pools[0].field_0x8 = 0x101; + local_9e0->_pools[0]._poolList._begin = local_9e0; + *(undefined2 *)&local_9e0->_pools[0]._poolList._end = 0x101; local_14 = CONCAT31(local_14._1_3_,8); local_298[0] = -1; local_298[1] = 0; local_298[2] = 1; - aRStack_28c[0] = (RNG)0x0; + RStack_28c._seed = 0; local_9a4 = (Game *)0x0; - aRStack_28c[1] = (RNG)0x0; - aRStack_28c[2] = (RNG)0xffffffff; - aRStack_28c[3] = (RNG)0x0; - aRStack_28c[4] = (RNG)0x1; + RStack_28c._shift1 = 0; + RStack_28c._shift2 = -1; + RStack_28c._shift3 = 0; + uStack_27c = 1; local_9a0 = (Game *)((int)local_9e8 - (int)local_9ec >> 2); - aRStack_28c[5] = (RNG)0xffffffff; - aRStack_28c[6] = (RNG)0xffffffff; - aRStack_28c[7] = (RNG)0x1; - aRStack_28c[8] = (RNG)0x1; + local_278 = 0xffffffff; + uStack_274 = 0xffffffff; + afStack_270[0] = 1.4013e-45; + afStack_270[1] = 1.4013e-45; local_9bc = (Game *)0xffffffff; - aRStack_28c[9] = (RNG)0xffffffff; - aRStack_28c[10] = (RNG)0x1; - aRStack_28c[0xb] = (RNG)0x1; - aRStack_28c[0xc] = (RNG)0xffffffff; - aRStack_28c[0xd] = (RNG)0x1; - aRStack_28c[0xe] = (RNG)0xffffffff; - aRStack_28c[0xf] = (RNG)0xffffffff; - aRStack_28c[0x10] = (RNG)0x1; - local_99c = aRStack_28c; - aRStack_28c[0x11] = (RNG)0x1; - aRStack_28c[0x12] = (RNG)0x1; - aRStack_28c[0x13] = (RNG)0xffffffff; - aRStack_28c[0x14] = (RNG)0xffffffff; - aRStack_28c[0x15] = (RNG)0xffffffff; - aRStack_28c[0x16] = (RNG)0x0; - aRStack_28c[0x17] = (RNG)0x0; - aRStack_28c[0x18] = (RNG)0x0; - aRStack_28c[0x19] = (RNG)0x0; - aRStack_28c[0x1a] = (RNG)0x0; - aRStack_28c[0x1b] = (RNG)0x1; - aRStack_28c[0x1c] = (RNG)0x0; - aRStack_28c[0x1d] = (RNG)0x0; - aRStack_28c[0x1e] = (RNG)0xffffffff; - aRStack_28c[0x1f] = (RNG)0x0; - aRStack_28c[0x20] = (RNG)0x0; - aRStack_28c[0x21] = (RNG)0x0; - aRStack_28c[0x22] = (RNG)0x0; - aRStack_28c[0x23] = (RNG)0x0; - aRStack_28c[0x24] = (RNG)0x1; - pGVar31 = local_9a0; + afStack_270[2] = -NAN; + afStack_270[3] = 1.4013e-45; + afStack_270[4] = 1.4013e-45; + afStack_270[5] = -NAN; + afStack_270[6] = 1.4013e-45; + afStack_270[7] = -NAN; + afStack_270[8] = -NAN; + afStack_270[9] = 1.4013e-45; + local_99c = &RStack_28c; + afStack_270[10] = 1.4013e-45; + afStack_270[0xb] = 1.4013e-45; + afStack_270[0xc] = -NAN; + afStack_270[0xd] = -NAN; + afStack_270[0xe] = -NAN; + afStack_270[0xf] = 0.0; + afStack_270[0x10] = 0.0; + afStack_270[0x11] = 0.0; + afStack_270[0x12] = 0.0; + afStack_270[0x13] = 0.0; + afStack_270[0x14] = 1.4013e-45; + afStack_270[0x15] = 0.0; + afStack_270[0x16] = 0.0; + afStack_270[0x17] = -NAN; + afStack_270[0x18] = 0.0; + afStack_270[0x19] = 0.0; + afStack_270[0x1a] = 0.0; + afStack_270[0x1b] = 0.0; + afStack_270[0x1c] = 0.0; + afStack_270[0x1d] = 1.4013e-45; + pGVar30 = local_9a0; LAB_008058a0: local_9b8 = (Game *)0x0; - piVar18 = local_1e8; - piVar38 = local_998; + piVar17 = local_1e8; + piVar37 = local_998; for (iVar10 = 0x70; iVar10 != 0; iVar10 = iVar10 + -1) { - *piVar38 = *piVar18; - piVar18 = piVar18 + 1; - piVar38 = piVar38 + 1; + *piVar37 = *piVar17; + piVar17 = piVar17 + 1; + piVar37 = piVar37 + 1; } - pGVar37 = (Game *)0x0; + pGVar36 = (Game *)0x0; local_9c4 = (Game *)local_9e0; - if (pGVar31 != (Game *)0x0) { + if (pGVar30 != (Game *)0x0) { pEVar11 = (Entity *)local_9cc->_gridWidth; local_9a8 = pEVar11; do { iVar10 = *(int *)((int)local_9ec + (int)local_9b8 * 4); - fVar40 = *(float *)(iVar10 + 0x33c); - fVar43 = *(float *)(iVar10 + 0x340); - iVar29 = (int)((fVar40 - 40.0) / 40.0 + 0.5); - iVar10 = (int)((fVar43 - 120.0) / 40.0 + 0.5); - if ((((iVar29 < 0) || ((int)pEVar11 <= iVar29)) || (iVar10 < 0)) || + fVar39 = *(float *)(iVar10 + 0x33c); + fVar41 = *(float *)(iVar10 + 0x340); + iVar28 = (int)((fVar39 - 40.0) / 40.0 + 0.5); + iVar10 = (int)((fVar41 - 120.0) / 40.0 + 0.5); + if ((((iVar28 < 0) || ((int)pEVar11 <= iVar28)) || (iVar10 < 0)) || (local_9cc->_gridHeight <= iVar10)) { - iVar29 = -1; + iVar28 = -1; } else { - iVar29 = (int)pEVar11 * iVar10 + iVar29; + iVar28 = (int)pEVar11 * iVar10 + iVar28; } - local_9ac = (ItemPool *)(iVar29 / (int)pEVar11); - local_9b0 = (RNG *)(iVar29 % (int)pEVar11); - if (((float)(int)local_9b0 * 40.0 + 40.0 == fVar40) && - ((float)(int)local_9ac * 40.0 + 120.0 == fVar43)) { - iVar10 = (int)local_9ac->_pools + (int)local_99c[-2] + -4; - puVar22 = (undefined1 *)((int)&local_9b0->field_0x0 + (int)local_99c[-3]); - if ((((int)puVar22 < 0) || (((int)pEVar11 <= (int)puVar22 || (iVar10 < 0)))) || + local_9ac = (ItemPool *)(iVar28 / (int)pEVar11); + local_9b0 = (RNG *)(iVar28 % (int)pEVar11); + if (((float)(int)local_9b0 * 40.0 + 40.0 == fVar39) && + ((float)(int)local_9ac * 40.0 + 120.0 == fVar41)) { + iVar10 = (int)local_9ac->_pools + local_99c[-1]._shift2 + -4; + puVar21 = (undefined1 *)((int)&local_9b0->_seed + local_99c[-1]._shift1); + if ((((int)puVar21 < 0) || (((int)pEVar11 <= (int)puVar21 || (iVar10 < 0)))) || (local_9cc->_gridHeight <= iVar10)) { - puVar22 = (undefined1 *)0xffffffff; + puVar21 = (undefined1 *)0xffffffff; } else { - puVar22 = puVar22 + iVar10 * (int)pEVar11; + puVar21 = puVar21 + iVar10 * (int)pEVar11; } - iVar10 = (int)local_9ac->_pools + (int)*local_99c + -4; - local_9ac = (ItemPool *)((int)&local_9b0->field_0x0 + (int)local_99c[-1]); + iVar10 = (int)local_9ac->_pools + local_99c->_seed + -4; + local_9ac = (ItemPool *)((int)&local_9b0->_seed + local_99c[-1]._shift3); if (((((int)local_9ac < 0) || ((int)pEVar11 <= (int)local_9ac)) || (iVar10 < 0)) || (local_9cc->_gridHeight <= iVar10)) { iVar10 = -1; @@ -594191,20 +595058,20 @@ LAB_008058a0: else { iVar10 = (int)local_9ac->_pools + (int)pEVar11 * iVar10 + -4; } - if ((((int)puVar22 < 0) || (iVar10 < 0)) || - ((local_998[(int)puVar22] != 0 || (local_998[iVar10] != 0)))) goto LAB_00805bb8; - local_998[(int)puVar22] = 1; + if ((((int)puVar21 < 0) || (iVar10 < 0)) || + ((local_998[(int)puVar21] != 0 || (local_998[iVar10] != 0)))) goto LAB_00805bb8; + local_998[(int)puVar21] = 1; local_998[iVar10] = 1; - local_998[iVar29] = 0; + local_998[iVar28] = 0; pEVar11 = local_9a8; } local_9b8 = (Game *)((int)&local_9b8->_stage + 1); - pGVar37 = local_9a0; + pGVar36 = local_9a0; if (local_9a0 <= local_9b8) break; } while( true ); } local_9bc = local_9a4; - if (pGVar37 == (Game *)0x0) goto LAB_0080603d; + if (pGVar36 == (Game *)0x0) goto LAB_0080603d; LAB_00805a6e: local_9a0 = (Game *)0x0; do { @@ -594229,28 +595096,28 @@ LAB_00805a6e: uVar12 = uVar12 << 3 ^ uVar12; local_9ac = (ItemPool *)(uVar12 >> 0x1d ^ uVar12); iVar10 = (int)(((float)local_a04 - 40.0) / 40.0 + 0.5); - iVar29 = (int)((local_a00 - 120.0) / 40.0 + 0.5); + iVar28 = (int)((local_a00 - 120.0) / 40.0 + 0.5); if (((iVar10 < 0) || (pRVar6->_gridWidth <= iVar10)) || - ((iVar29 < 0 || (pRVar6->_gridHeight <= iVar29)))) { + ((iVar28 < 0 || (pRVar6->_gridHeight <= iVar28)))) { uVar12 = 0xffffffff; } else { - uVar12 = iVar29 * pRVar6->_gridWidth + iVar10; + uVar12 = iVar28 * pRVar6->_gridWidth + iVar10; } - local_9d0 = (RNG)0x0; + local_9d0 = 0.0; local_9d4 = (ItemPool *)0x0; if ((((int)local_9bc < 0) || ((float)((int)uVar12 % pRVar6->_gridWidth) * 40.0 + 40.0 != (float)local_a04)) || ((float)((int)uVar12 / pRVar6->_gridWidth) * 40.0 + 120.0 != local_a00)) { - puVar23 = (undefined4 *)FindFreePickupSpawnPosition(local_a70,&local_a04,0x42700000,0,0,0); - local_9b0 = (RNG *)*puVar23; - local_99c = (RNG *)puVar23[1]; - iVar29 = (int)(((float)local_9b0 - 40.0) / 40.0 + 0.5); + puVar22 = (undefined4 *)FindFreePickupSpawnPosition(&local_a70,&local_a04,0x42700000,0,0,0); + local_9b0 = (RNG *)*puVar22; + local_99c = (RNG *)puVar22[1]; + iVar28 = (int)(((float)local_9b0 - 40.0) / 40.0 + 0.5); iVar10 = (int)(((float)local_99c - 120.0) / 40.0 + 0.5); - if (((-1 < iVar29) && (iVar29 < pRVar6->_gridWidth)) && + if (((-1 < iVar28) && (iVar28 < pRVar6->_gridWidth)) && ((-1 < iVar10 && ((iVar10 < pRVar6->_gridHeight && - (local_9a8 = (Entity *)(iVar10 * pRVar6->_gridWidth + iVar29), + (local_9a8 = (Entity *)(iVar10 * pRVar6->_gridWidth + iVar28), local_9a8 < (Entity *)0x1c0)))))) { iVar10 = pRVar6->_gridPaths[(int)local_9a8] % (int)local_9c0; if (iVar10 < 900) { @@ -594258,19 +595125,20 @@ LAB_00805a6e: ; } } - pfVar16 = (float *)FindFreePickupSpawnPosition(local_a68,&local_a04,0x42700000,1,0,0); - local_9d4 = (ItemPool *)*pfVar16; - local_9d0 = *(RNG *)(pfVar16 + 1); + pfVar15 = (float *)FindFreePickupSpawnPosition + (&local_a70._shift2,&local_a04,0x42700000,1,0,0); + local_9d4 = (ItemPool *)*pfVar15; + local_9d0 = pfVar15[1]; } else { local_99c = (RNG *)((float)local_298[(int)local_9bc * 4 + 1] * 40.0 + local_a00); - local_9d0 = (RNG)((float)(int)aRStack_28c[(int)local_9bc * 4] * 40.0 + local_a00); + local_9d0 = (float)(&RStack_28c)[(int)local_9bc]._seed * 40.0 + local_a00; local_9b0 = (RNG *)((float)local_298[(int)local_9bc * 4] * 40.0 + (float)local_a04); local_9d4 = (ItemPool *)((float)local_298[(int)local_9bc * 4 + 2] * 40.0 + (float)local_a04) ; } if (pRVar6->_roomType == 0x10) { - local_9d0 = (RNG)((float)local_9d0 + 30.0); + local_9d0 = local_9d0 + 30.0; local_99c = (RNG *)((float)local_99c + 30.0); } if (local_9ac == (ItemPool *)0x0) { @@ -594284,7 +595152,7 @@ LAB_00805a6e: 0,0,uVar13 >> ((byte)local_9a4 & 0x1f) ^ uVar13); iVar10 = Entity_Pickup::GetAlternatePedestal((Entity_Pickup *)local_9b8); Entity_Pickup::SetAlternatePedestal((Entity_Pickup *)local_9a4,iVar10); - pGVar31 = local_9b8; + pGVar30 = local_9b8; if (-1 < (int)uVar12) { if (0x1bf < uVar12) { /* WARNING: Subroutine does not return */ @@ -594293,28 +595161,28 @@ LAB_00805a6e: *(undefined1 *)((int)local_1e8 + uVar12) = 0; } iVar10 = (int)(((float)local_9d4 - 40.0) / 40.0 + 0.5); - iVar29 = (int)(((float)local_9d0 - 120.0) / 40.0 + 0.5); - if ((((iVar10 < 0) || (pRVar6->_gridWidth <= iVar10)) || (iVar29 < 0)) || - (pRVar6->_gridHeight <= iVar29)) { + iVar28 = (int)((local_9d0 - 120.0) / 40.0 + 0.5); + if ((((iVar10 < 0) || (pRVar6->_gridWidth <= iVar10)) || (iVar28 < 0)) || + (pRVar6->_gridHeight <= iVar28)) { iVar10 = -1; } else { - iVar10 = iVar29 * pRVar6->_gridWidth + iVar10; + iVar10 = iVar28 * pRVar6->_gridWidth + iVar10; } - iVar35 = (int)(((float)local_9b0 - 40.0) / 40.0 + 0.5); - iVar29 = (int)(((float)local_99c - 120.0) / 40.0 + 0.5); - if (((iVar35 < 0) || (pRVar6->_gridWidth <= iVar35)) || - ((iVar29 < 0 || (pRVar6->_gridHeight <= iVar29)))) { - iVar35 = -1; + iVar34 = (int)(((float)local_9b0 - 40.0) / 40.0 + 0.5); + iVar28 = (int)(((float)local_99c - 120.0) / 40.0 + 0.5); + if (((iVar34 < 0) || (pRVar6->_gridWidth <= iVar34)) || + ((iVar28 < 0 || (pRVar6->_gridHeight <= iVar28)))) { + iVar34 = -1; } else { - iVar35 = iVar29 * pRVar6->_gridWidth + iVar35; + iVar34 = iVar28 * pRVar6->_gridWidth + iVar34; } if (-1 < iVar10) { *(undefined1 *)((int)local_1e8 + iVar10) = 1; } - if (-1 < iVar35) { - *(undefined1 *)((int)local_1e8 + iVar35) = 1; + if (-1 < iVar34) { + *(undefined1 *)((int)local_1e8 + iVar34) = 1; } *(RNG **)&local_9b8->_roomList[4].TotalMoneySpent = local_9b0; local_9b8->_roomList[4].GreedSubType = (int)local_99c; @@ -594324,19 +595192,20 @@ LAB_00805a6e: if (0 < (int)pEVar11) { local_9a8 = pEVar11; std::set::find_node(&local_a10,&local_9a8); - if ((((ItemPool_Item *)&local_a08->_stageType)->field_0x9 != '\0') || - (pGVar37 = local_a08, - pGVar31->_roomList[7].Dimension < - *(int *)&((ItemPool_Item *)&local_a08->_stageType)->field_0xc)) { - pGVar37 = (Game *)local_9e0; + if ((*(char *)((int)&(((ItemPool_Item *)&local_a08->_stageType)->_poolList)._end + 1) != + '\0') || + (pGVar36 = local_a08, + pGVar30->_roomList[7].Dimension < + (int)(((ItemPool_Item *)&local_a08->_stageType)->_poolList)._capacity)) { + pGVar36 = (Game *)local_9e0; } - if (pGVar37 == (Game *)local_9e0) { + if (pGVar36 == (Game *)local_9e0) { local_a14 = (Game *)Entity_Pickup::AssignOptionsIndex(); - local_a18 = (ItemPool *)pGVar31->_roomList[7].Dimension; + local_a18 = (ItemPool *)pGVar30->_roomList[7].Dimension; std_map_int_insert(local_a60,&local_a18); } else { - local_9a4->_roomList[7].Dimension = *(int *)&((ItemPool *)pGVar37)->_pools[0].field_0x10; + local_9a4->_roomList[7].Dimension = ((ItemPool *)pGVar36)->_pools[0]._rng1._seed; } } local_9a0 = (Game *)((int)&local_9a0->_stage + 1); @@ -594354,190 +595223,190 @@ LAB_0080603d: } } if (DAT_00c82674 != DAT_00c82678) { - pGVar37 = (Game *)0x0; + pGVar36 = (Game *)0x0; local_a10 = 0; - pGVar31 = (Game *)0x0; + pGVar30 = (Game *)0x0; local_9c4 = (Game *)0x0; local_a0c = (Game *)0x0; local_9a4 = (Game *)0x0; local_a08 = (Game *)0x0; local_14 = 9; local_9c0 = (ItemPool *)0x0; - puVar23 = DAT_00c82674; + puVar22 = DAT_00c82674; if ((int)DAT_00c82678 - (int)DAT_00c82674 >> 2 != 0) { do { - pEVar11 = (Entity *)puVar23[(int)local_9c0]; + pEVar11 = (Entity *)puVar22[(int)local_9c0]; iVar10 = pEVar11->_type; if (((iVar10 == 0x1c) || (iVar10 == 0x13)) || (iVar10 == 0xef)) { LAB_008060ff: - if (pGVar37 == pGVar31) { + if (pGVar36 == pGVar30) { local_9a8 = pEVar11; - std::vector::_Emplace_reallocate(pGVar37,&local_9a8); - pGVar31 = local_a08; + std::vector::_Emplace_reallocate(pGVar36,&local_9a8); + pGVar30 = local_a08; } else { - pGVar37->_stage = (int)pEVar11; - local_a0c = (Game *)&pGVar37->_stageType; + pGVar36->_stage = (int)pEVar11; + local_a0c = (Game *)&pGVar36->_stageType; } qVar3 = pEVar11->_flags; puVar1 = (uint *)((int)&pEVar11->_flags + 4); *puVar1 = *puVar1 | 0x4000; *(int *)&pEVar11->_flags = (int)qVar3; - puVar23 = DAT_00c82674; - pGVar37 = local_a0c; + puVar22 = DAT_00c82674; + pGVar36 = local_a0c; } else if (iVar10 == 0x59) goto LAB_008060ff; local_9c0 = (ItemPool *)((int)&local_9c0->_seed + 1); - } while (local_9c0 < (ItemPool *)((int)DAT_00c82678 - (int)puVar23 >> 2)); - local_9c4 = pGVar37; - local_9a4 = pGVar31; + } while (local_9c0 < (ItemPool *)((int)DAT_00c82678 - (int)puVar22 >> 2)); + local_9c4 = pGVar36; + local_9a4 = pGVar30; } local_9a8 = (Entity *)0x0; - pGVar31 = local_9c4; - if ((int)DAT_00c82678 - (int)puVar23 >> 2 != 0) { + pGVar30 = local_9c4; + if ((int)DAT_00c82678 - (int)puVar22 >> 2 != 0) { do { - RVar14 = *(RNG *)(puVar23 + (int)local_9a8); - local_9b8 = *(Game **)((int)RVar14 + 0x2c); - local_99c = *(RNG **)((int)RVar14 + 0x33c); - local_9a0 = *(Game **)((int)RVar14 + 0x340); - local_9bc = *(Game **)((int)RVar14 + 0x28); - local_9b4 = *(Game **)((int)RVar14 + 0x30); - local_9cc = *(Room **)((int)RVar14 + 0x3ec); - local_9d0 = RVar14; - if ((*(uint *)((int)RVar14 + 0x16c) & 0x4000) == 0) { + fVar39 = (float)puVar22[(int)local_9a8]; + local_9b8 = *(Game **)((int)fVar39 + 0x2c); + local_99c = *(RNG **)((int)fVar39 + 0x33c); + local_9a0 = *(Game **)((int)fVar39 + 0x340); + local_9bc = *(Game **)((int)fVar39 + 0x28); + local_9b4 = *(Game **)((int)fVar39 + 0x30); + local_9cc = *(Room **)((int)fVar39 + 0x3ec); + local_9d0 = fVar39; + if ((*(uint *)((int)fVar39 + 0x16c) & 0x4000) == 0) { if (((((local_9bc == (Game *)0x4e) || (local_9bc == (Game *)0x24)) || ((local_9bc == (Game *)0x10a || ((local_9bc == (Game *)0x54 || (local_9bc == (Game *)0x106)))))) || (local_9bc == (Game *)0x107)) || (local_9bc == (Game *)&DAT_00000065)) { local_a38 = (ItemPool *)((float)local_99c - 60.0); local_a34 = (float)local_9a0 - 0.0; - uVar15 = random_position_away_from_players(); - local_9b0 = (RNG *)Game::Spawn(local_9bc,local_9b8,uVar15,&g_vectorZero,0,local_9b4, + uVar14 = random_position_away_from_players(); + local_9b0 = (RNG *)Game::Spawn(local_9bc,local_9b8,uVar14,&g_vectorZero,0,local_9b4, local_9cc); local_a04 = (ItemPool *)((float)local_99c + 60.0); local_a00 = (float)local_9a0 + 0.0; LAB_008067bb: - puVar23 = (undefined4 *)random_position_away_from_players(); - *(undefined4 *)((int)RVar14 + 0x33c) = *puVar23; - *(undefined4 *)((int)RVar14 + 0x340) = puVar23[1]; - pRVar36 = local_9b0; + puVar22 = (undefined4 *)random_position_away_from_players(); + *(undefined4 *)((int)fVar39 + 0x33c) = *puVar22; + *(undefined4 *)((int)fVar39 + 0x340) = puVar22[1]; + pRVar35 = local_9b0; } else { if (local_9bc == (Game *)0x66) { local_a20 = (ItemPool *)((float)local_99c + 0.0); local_a1c = (Entity *)((float)local_9a0 + 30.0); - uVar15 = random_position_away_from_players(); - local_9b0 = (RNG *)Game::Spawn(local_9bc,local_9b8,uVar15,&g_vectorZero,0,local_9b4, + uVar14 = random_position_away_from_players(); + local_9b0 = (RNG *)Game::Spawn(local_9bc,local_9b8,uVar14,&g_vectorZero,0,local_9b4, local_9cc); local_a40 = (float)local_99c - 0.0; local_a3c = (Game *)((float)local_9a0 - 30.0); goto LAB_008067bb; } - local_9c0 = *(ItemPool **)((int)RVar14 + 0x370); - if (*(int *)((int)RVar14 + 0x184) == 5) { + local_9c0 = *(ItemPool **)((int)fVar39 + 0x370); + if (*(int *)((int)fVar39 + 0x184) == 5) { iVar10 = Random(); - fVar40 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + fVar41 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 3.14; - RVar42 = (RNG)(fVar40 + fVar40); - local_9d0 = RVar42; + fVar41 = fVar41 + fVar41; + local_9d0 = fVar41; cos(); - local_a28 = (ItemPool *)((float)RVar42 * 20.0 + (float)local_99c); - RVar42 = local_9d0; + local_a28 = (ItemPool *)(fVar41 * 20.0 + (float)local_99c); + fVar41 = local_9d0; sin(); - local_a24 = (float)RVar42 * 20.0 + (float)local_9a0; + local_a24 = fVar41 * 20.0 + (float)local_9a0; } else { iVar10 = Random(); - fVar40 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + fVar41 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 3.14; - RVar42 = (RNG)(fVar40 + fVar40); - local_9d0 = RVar42; + fVar41 = fVar41 + fVar41; + local_9d0 = fVar41; cos(); - local_a30 = (ItemPool *)((float)RVar42 * 20.0 + (float)local_99c); - RVar42 = local_9d0; + local_a30 = (ItemPool *)(fVar41 * 20.0 + (float)local_99c); + fVar41 = local_9d0; sin(); - local_a2c = (Game *)((float)RVar42 * 20.0 + (float)local_9a0); + local_a2c = (Game *)(fVar41 * 20.0 + (float)local_9a0); } - uVar15 = random_position_away_from_players(); - pRVar36 = (RNG *)Game::Spawn(local_9bc,local_9b8,uVar15,&g_vectorZero,0,local_9b4, + uVar14 = random_position_away_from_players(); + pRVar35 = (RNG *)Game::Spawn(local_9bc,local_9b8,uVar14,&g_vectorZero,0,local_9b4, local_9cc); } - if (pRVar36 != (RNG *)0x0) { - pRVar36[0x5b] = (RNG)((uint)pRVar36[0x5b] | 0x80); - pRVar36[0x5a] = pRVar36[0x5a]; - pRVar36[0xcb] = *(RNG *)((int)RVar14 + 0x32c); + if (pRVar35 != (RNG *)0x0) { + pRVar35[0x16]._shift3 = pRVar35[0x16]._shift3 | 0x80; + pRVar35[0x16]._shift2 = pRVar35[0x16]._shift2; + pRVar35[0x32]._shift3 = *(int *)((int)fVar39 + 0x32c); } } else { iVar10 = Random(); - fVar40 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * + fVar41 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 3.14; - pIVar41 = (ItemPool *)(fVar40 + fVar40); - local_9c0 = pIVar41; + pIVar40 = (ItemPool *)(fVar41 + fVar41); + local_9c0 = pIVar40; sin(); - pIVar32 = local_9c0; - local_9ac = pIVar41; + pIVar31 = local_9c0; + local_9ac = pIVar40; cos(); - if (*(int *)((int)RVar14 + 0x3c0) == 0) { - pRVar36 = (RNG *)0x0; + if (*(int *)((int)fVar39 + 0x3c0) == 0) { + pRVar35 = (RNG *)0x0; local_9f8 = 0; local_9b0 = (RNG *)0x0; local_9f0 = (RNG *)0x0; local_14 = CONCAT31(local_14._1_3_,10); local_9a0 = (Game *)((float)local_9a0 + (float)local_9ac * 40.0); - local_9c0 = (ItemPool *)((float)pIVar32 * 40.0 + (float)local_99c); - RVar14 = local_9d0; + local_9c0 = (ItemPool *)((float)pIVar31 * 40.0 + (float)local_99c); + fVar39 = local_9d0; do { local_a18 = local_9c0; local_a14 = local_9a0; - local_9d0 = (RNG)Game::Spawn(local_9bc,local_9b8,&local_a18,&g_vectorZero,0,local_9b4, - local_9cc); - if (pRVar36 == local_9b0) { - std::vector::_Emplace_reallocate(pRVar36,&local_9d0); + local_9d0 = (float)Game::Spawn(local_9bc,local_9b8,&local_a18,&g_vectorZero,0, + local_9b4,local_9cc); + if (pRVar35 == local_9b0) { + std::vector::_Emplace_reallocate(pRVar35,&local_9d0); local_9b0 = local_9f0; - pRVar36 = local_9f8._4_4_; + pRVar35 = local_9f8._4_4_; } else { - *pRVar36 = local_9d0; - local_9f8 = CONCAT44(pRVar36 + 1,(ItemPool *)local_9f8); - pRVar36 = pRVar36 + 1; + pRVar35->_seed = (int)local_9d0; + local_9f8 = CONCAT44(&pRVar35->_shift1,(ItemPool *)local_9f8); + pRVar35 = (RNG *)&pRVar35->_shift1; } - RVar14 = *(RNG *)((int)RVar14 + 0x3bc); - } while ((RVar14 != (RNG)0x0) && + fVar39 = *(float *)((int)fVar39 + 0x3bc); + } while ((fVar39 != 0.0) && (((1 < *(int *)&g_game->_deathmatchManager && - (*(int *)((int)RVar14 + 0x28) == 1)) || - (*(int *)((int)RVar14 + 0x28) - 10U < 0x3de)))); - pIVar32 = (ItemPool *)((int)pRVar36 - (int)(ItemPool *)local_9f8 >> 2); - local_9d0 = (RNG)0x0; - if (pIVar32 != (ItemPool *)0x0) { - pIVar41 = (ItemPool *)0x0; + (*(int *)((int)fVar39 + 0x28) == 1)) || + (*(int *)((int)fVar39 + 0x28) - 10U < 0x3de)))); + pIVar31 = (ItemPool *)((int)pRVar35 - (int)(ItemPool *)local_9f8 >> 2); + local_9d0 = 0.0; + if (pIVar31 != (ItemPool *)0x0) { + pIVar40 = (ItemPool *)0x0; do { - (**(code **)(**(int **)((int)((ItemPool *)local_9f8)->_pools + (int)pIVar41 * 4 + -4 + (**(code **)(**(int **)((int)((ItemPool *)local_9f8)->_pools + (int)pIVar40 * 4 + -4 ) + 0xc))(); - pIVar41 = (ItemPool *)((int)&pIVar41->_seed + 1); - } while (pIVar41 < pIVar32); + pIVar40 = (ItemPool *)((int)&pIVar40->_seed + 1); + } while (pIVar40 < pIVar31); local_9c0 = (ItemPool *)0x0; local_9ac = (ItemPool *)local_9f8; - pGVar31 = local_9c4; + pGVar30 = local_9c4; do { - fVar40 = (float)local_9ac->_seed; - *(uint *)((int)fVar40 + 0x16c) = *(uint *)((int)fVar40 + 0x16c) | 0x4080; - *(undefined4 *)((int)fVar40 + 0x168) = *(undefined4 *)((int)fVar40 + 0x168); - if (pGVar31 == local_9a4) { - std::vector::_Emplace_reallocate(pGVar31,local_9ac); + fVar39 = (float)local_9ac->_seed; + *(uint *)((int)fVar39 + 0x16c) = *(uint *)((int)fVar39 + 0x16c) | 0x4080; + *(undefined4 *)((int)fVar39 + 0x168) = *(undefined4 *)((int)fVar39 + 0x168); + if (pGVar30 == local_9a4) { + std::vector::_Emplace_reallocate(pGVar30,local_9ac); local_9a4 = local_a08; } else { - pGVar31->_stage = local_9ac->_seed; - local_a0c = (Game *)&pGVar31->_stageType; + pGVar30->_stage = local_9ac->_seed; + local_a0c = (Game *)&pGVar30->_stageType; } local_9ac = (ItemPool *)local_9ac->_pools; local_9c0 = (ItemPool *)((int)&local_9c0->_seed + 1); - pGVar31 = local_a0c; - } while (local_9c0 < pIVar32); + pGVar30 = local_a0c; + } while (local_9c0 < pIVar31); local_9c4 = local_a0c; } - pGVar31 = local_9c4; + pGVar30 = local_9c4; local_14 = CONCAT31(local_14._1_3_,9); if ((ItemPool *)local_9f8 != (ItemPool *)0x0) { deallocate((ItemPool *)local_9f8,(int)local_9b0 - (int)(ItemPool *)local_9f8 >> 2); @@ -594547,11 +595416,11 @@ LAB_008067bb: } } local_9a8 = (Entity *)&local_9a8->field_0x1; - puVar23 = DAT_00c82674; + puVar22 = DAT_00c82674; } while (local_9a8 < (undefined1 *)((int)DAT_00c82678 - (int)DAT_00c82674 >> 2)); } uVar12 = 0; - uVar13 = (int)pGVar31 - local_a10 >> 2; + uVar13 = (int)pGVar30 - local_a10 >> 2; if (uVar13 != 0) { do { iVar10 = *(int *)(local_a10 + uVar12 * 4); @@ -594567,10 +595436,10 @@ LAB_008067bb: ExceptionList = local_1c; return; LAB_00805bb8: - local_99c = local_99c + 4; + local_99c = local_99c + 1; local_9a4 = (Game *)((int)&local_9a4->_stage + 1); if ((Game *)&DAT_00000009 < local_9a4) goto LAB_00805a6e; - pGVar31 = local_9a0; + pGVar30 = local_9a0; goto LAB_008058a0; } @@ -594719,15 +595588,14 @@ void __thiscall Game::Render(Game *this,Entity_Player *param_2,float *param_3) Vector *pVVar17; Entity *pEVar18; uint uVar19; - undefined1 *puVar20; - Game *pGVar21; - ANM2 *pAVar22; - int iVar23; - float10 fVar24; + Game *pGVar20; + ANM2 *pAVar21; + int iVar22; + float10 fVar23; + float fVar24; float fVar25; - float fVar26; + Vector *pVVar26; Vector *pVVar27; - Vector *pVVar28; ANM2 *local_1cc; void *local_1c8; ANM2 *local_1c4; @@ -594784,8 +595652,6 @@ void __thiscall Game::Render(Game *this,Entity_Player *param_2,float *param_3) float local_48 [2]; void *local_40; RNG local_34; - undefined8 local_30; - void *local_28; float local_24; undefined1 *puStack_20; void *local_1c; @@ -594797,14 +595663,14 @@ void __thiscall Game::Render(Game *this,Entity_Player *param_2,float *param_3) local_1c = ExceptionList; local_24 = (float)(__security_cookie ^ (uint)(local_48 + 0xe)); ExceptionList = &local_1c; - local_34 = (RNG)(g_game->_frameCount + param_2->_initSeed); + local_34._seed = g_game->_frameCount + param_2->_initSeed; local_104 = param_2; - if (local_34 == (RNG)0x0) { - local_34 = (RNG)0x1; + if ((void *)local_34._seed == (void *)0x0) { + local_34._seed = 1; } - local_30._0_4_ = 7.00649e-45; - local_30._4_4_ = 3.78351e-44; - local_28 = (void *)0x19; + local_34._shift1 = 5; + local_34._shift2 = 0x1b; + local_34._shift3 = 0x19; local_14 = 0.0; local_118 = *param_3; local_114 = param_3[1]; @@ -594832,11 +595698,12 @@ void __thiscall Game::Render(Game *this,Entity_Player *param_2,float *param_3) do { local_108 = local_180[(int)local_14c]->_animData; if ((local_108 != (ANM2 *)0x0) && - (local_12c = (ANM2 *)0x0, *(int *)((local_108->_animDefaultName)._buf + 0xc) != 0)) { + (local_12c = (ANM2 *)0x0, *(int *)((int)(local_108->_animDefaultName)._buf + 0xc) != 0)) + { local_154 = 0.0; do { - local_130 = *(ANM2 **)(*(int *)((local_108->_animDefaultName)._buf + 8) + (int)local_154 - ); + local_130 = *(ANM2 **)(*(int *)((int)(local_108->_animDefaultName)._buf + 8) + + (int)local_154); FUN_0040b4d0(); pcVar7 = (char *)std::string::c_str(); if ((*pcVar7 == '*') && ((pAVar16->_animState)._animData != (void *)0x0)) { @@ -594873,27 +595740,27 @@ void __thiscall Game::Render(Game *this,Entity_Player *param_2,float *param_3) Color::Reset(); Color::SetTint(); Color::operator_assign(); - fVar26 = (float)(local_130->_filename)._size; - fVar25 = (pAVar16->_scale).x; - *(float *)&local_f8->_roomList[0x9a].field_0x1c = - (pAVar16->_scale).y * (float)(local_130->_filename)._capacity; - local_f8->_roomList[0x9a].AllowedDoors = (int)(fVar26 * fVar25); + fVar25 = (float)(local_130->_filename)._size; + fVar24 = (pAVar16->_scale).x; + local_f8->_roomList[0x9a]._doors[0] = + (int)((pAVar16->_scale).y * (float)(local_130->_filename)._capacity); + local_f8->_roomList[0x9a].AllowedDoors = (int)(fVar25 * fVar24); local_110.x = (float)local_15c[0] + local_170[0].x; - *(float *)&local_f8->_roomList[0x9a].field_0x20 = - pAVar16->_rotation + *(float *)&(local_130->_animState)._isPlaying; + local_f8->_roomList[0x9a]._doors[1] = + (int)(pAVar16->_rotation + *(float *)&(local_130->_animState)._isPlaying); local_110.y = (float)local_fc + local_170[0].y; - ANM2::Render((ANM2 *)&this->_roomList[0x99].field_0x34,&local_110,&g_vectorZero, + ANM2::Render((ANM2 *)(this->_roomList[0x99]._doors + 6),&local_110,&g_vectorZero, &g_vectorZero); this = local_f8; } } local_12c = (ANM2 *)((int)(local_12c->_filename)._buf + 1); local_154 = (float)((int)local_154 + 0x10); - } while (local_12c < *(ANM2 **)((local_108->_animDefaultName)._buf + 0xc)); + } while (local_12c < *(ANM2 **)((int)(local_108->_animDefaultName)._buf + 0xc)); } local_14c = (ANM2 *)((int)(local_14c->_filename)._buf + 1); } while (local_14c < (ANM2 *)0x2); - *(undefined4 *)&this->_roomList[0x9a].field_0x20 = 0; + this->_roomList[0x9a]._doors[1] = 0; uVar19 = (local_104->_sprite)._bitflags; param_2 = local_104; } @@ -594914,19 +595781,19 @@ void __thiscall Game::Render(Game *this,Entity_Player *param_2,float *param_3) if (pvVar9 != (void *)0x0) { local_14c = (ANM2 *)0x0; if (*(int *)((int)pvVar9 + 0x1c) != 0) { - iVar23 = 0; + iVar22 = 0; do { - local_fc = *(ANM2 **)(iVar23 + *(int *)((int)pvVar9 + 0x18)); + local_fc = *(ANM2 **)(iVar22 + *(int *)((int)pvVar9 + 0x18)); pLVar8 = ANM2::GetLayer(pAVar16,(byte *)local_fc); if ((pLVar8->_bitflags & 4) != 0) { iVar1 = *(int *)((int)pvVar9 + 0x18); frameIndex = AnimationState::GetLayerFrameIdx(); AnimationLayer::RenderFrame - ((AnimationLayer *)(iVar1 + iVar23),&local_188,frameIndex,&g_vectorZero, + ((AnimationLayer *)(iVar1 + iVar22),&local_188,frameIndex,&g_vectorZero, &g_vectorZero,local_12c); pvVar9 = local_15c[0]; } - iVar23 = iVar23 + 0x10; + iVar22 = iVar22 + 0x10; local_14c = (ANM2 *)((int)(local_14c->_filename)._buf + 1); pAVar16 = local_12c; } while (local_14c < *(ANM2 **)((int)pvVar9 + 0x1c)); @@ -594938,17 +595805,17 @@ void __thiscall Game::Render(Game *this,Entity_Player *param_2,float *param_3) param_2 = local_104; } } - iVar23 = param_2->_type; + iVar22 = param_2->_type; pAVar16 = (ANM2 *)0x3f800000; - if (iVar23 < 0x1a) { - if (iVar23 == 0x19) { + if (iVar22 < 0x1a) { + if (iVar22 == 0x19) { if ((param_2->_variant == 3) && (this->_roomList[0x28].Flags == 0x2e)) { Color::Reset(); Color::SetTint(); Color::operator_assign(); - fVar26 = g_vectorOne.x * 0.8; - *(float *)&this->_roomList[0x9a].field_0x1c = g_vectorOne.y * 0.8; - this->_roomList[0x9a].AllowedDoors = (int)fVar26; + fVar25 = g_vectorOne.x * 0.8; + this->_roomList[0x9a]._doors[0] = (int)(g_vectorOne.y * 0.8); + this->_roomList[0x9a].AllowedDoors = (int)fVar25; local_110.x = (param_2->_pos).x + 0.0; local_110.y = (param_2->_pos).y - 16.0; pfVar6 = (float *)Isaac::GetRenderPosition(); @@ -594957,20 +595824,20 @@ void __thiscall Game::Render(Game *this,Entity_Player *param_2,float *param_3) RNG::Next(&local_34); pfVar6 = (float *)RandomVector(); RNG::Next(&local_34); - fVar26 = (float)((double)(int)local_34 + __uint_to_double_fixup[-((int)local_34 >> 0x1f)]) * - 2.3283062e-10; - fVar26 = fVar26 + fVar26; - local_120.y = fVar26 * pfVar6[1] + (float)local_15c[0]; - local_120.x = fVar26 * *pfVar6 + (float)local_fc; + fVar25 = (float)((double)local_34._seed + __uint_to_double_fixup[-(local_34._seed >> 0x1f)]) + * 2.3283062e-10; + fVar25 = fVar25 + fVar25; + local_120.y = fVar25 * pfVar6[1] + (float)local_15c[0]; + local_120.x = fVar25 * *pfVar6 + (float)local_fc; LAB_00809a2f: - pGVar21 = local_f8; - ANM2::Render((ANM2 *)&local_f8->_roomList[0x99].field_0x34,&local_120,&g_vectorZero, + pGVar20 = local_f8; + ANM2::Render((ANM2 *)(local_f8->_roomList[0x99]._doors + 6),&local_120,&g_vectorZero, &g_vectorZero); goto LAB_00807b3d; } goto switchD_00809dea_caseD_2; } - switch(iVar23) { + switch(iVar22) { case 1: if (param_2->_exists != 0) { local_110.x = (param_2->_pos).x + (param_2->_posOffset).x; @@ -594982,43 +595849,42 @@ LAB_00809a2f: if (((param_2->_temporaryeffects)._disabled == 0) && (pvVar9 = TemporaryEffects::GetNullEffect(¶m_2->_temporaryeffects,0x4a), pvVar9 != (void *)0x0)) { - iVar23 = *(int *)((int)pvVar9 + 4); + iVar22 = *(int *)((int)pvVar9 + 4); } else { - iVar23 = 0; + iVar22 = 0; } - local_14c = (ANM2 *)(float)iVar23; + local_14c = (ANM2 *)(float)iVar22; if (5.0 <= (float)local_14c) { local_14c = (ANM2 *)0x40a00000; } bVar4 = TemporaryEffects::HasNullEffect(¶m_2->_temporaryeffects,0x4a); if (bVar4 != 0) { BlendMode::SetMode(); - puVar20 = &this->_roomList[0x99].field_0x34; - pLVar8 = ANM2::GetLayer((ANM2 *)puVar20,(byte *)0x0); - *(void **)&pLVar8->field_0x78 = local_148; - *(void **)&pLVar8->field_0x7c = local_144; - *(void **)&pLVar8->field_0x80 = local_140; - *(void **)&pLVar8->field_0x84 = local_13c; - *(float *)&pLVar8->field_0x88 = local_138; + pAVar16 = (ANM2 *)(this->_roomList[0x99]._doors + 6); + pLVar8 = ANM2::GetLayer(pAVar16,(byte *)0x0); + pLVar8->_blendMode[0] = (int)local_148; + pLVar8->_blendMode[1] = (int)local_144; + pLVar8->_blendMode[2] = (int)local_140; + pLVar8->_blendMode[3] = (int)local_13c; + pLVar8->_blendMode[4] = (int)local_138; Color::Reset(); Color::SetTint(); local_78[0] = 0.0; local_78[1] = 0.0; local_78[2] = 0.0; Color::operator_assign(); - fVar26 = ((float)local_14c + 2.0) * g_vectorOne.x; - *(float *)&local_f8->_roomList[0x9a].field_0x1c = ((float)local_14c + 2.0) * g_vectorOne.y - ; - local_f8->_roomList[0x9a].AllowedDoors = (int)fVar26; - ANM2::Render((ANM2 *)puVar20,local_170,&g_vectorZero,&g_vectorZero); + fVar25 = ((float)local_14c + 2.0) * g_vectorOne.x; + local_f8->_roomList[0x9a]._doors[0] = (int)(((float)local_14c + 2.0) * g_vectorOne.y); + local_f8->_roomList[0x9a].AllowedDoors = (int)fVar25; + ANM2::Render(pAVar16,local_170,&g_vectorZero,&g_vectorZero); BlendMode::SetMode(); - pLVar8 = ANM2::GetLayer((ANM2 *)puVar20,(byte *)0x0); - *(void **)&pLVar8->field_0x78 = local_148; - *(void **)&pLVar8->field_0x7c = local_144; - *(void **)&pLVar8->field_0x80 = local_140; - *(void **)&pLVar8->field_0x84 = local_13c; - *(float *)&pLVar8->field_0x88 = local_138; + pLVar8 = ANM2::GetLayer(pAVar16,(byte *)0x0); + pLVar8->_blendMode[0] = (int)local_148; + pLVar8->_blendMode[1] = (int)local_144; + pLVar8->_blendMode[2] = (int)local_140; + pLVar8->_blendMode[3] = (int)local_13c; + pLVar8->_blendMode[4] = (int)local_138; } cVar5 = Level::IsMausoleumHeartStage(); if (cVar5 != '\0') { @@ -595028,22 +595894,22 @@ LAB_00809a2f: if (bVar4 != 0) { local_108 = (ANM2 *)((float)local_108 * 0.3); } - iVar23 = 0; + iVar22 = 0; pIVar10 = ItemConfig::GetCollectible(&g_manager->_itemConfig,0x100); - bVar4 = Entity_Player::IsItemCostumeVisible(param_2,pIVar10,iVar23); + bVar4 = Entity_Player::IsItemCostumeVisible(param_2,pIVar10,iVar22); if (bVar4 == 0) { - iVar23 = -1; + iVar22 = -1; pIVar10 = ItemConfig::GetCollectible(&g_manager->_itemConfig,0x101); - bVar4 = Entity_Player::IsItemCostumeVisible(param_2,pIVar10,iVar23); + bVar4 = Entity_Player::IsItemCostumeVisible(param_2,pIVar10,iVar22); if ((bVar4 != 0) || (bVar4 = Entity_Player::IsNullItemCostumeVisible(param_2,0x38,0), bVar4 != 0)) goto LAB_008077c8; - iVar23 = -1; + iVar22 = -1; pIVar10 = ItemConfig::GetCollectible(&g_manager->_itemConfig,3); - bVar4 = Entity_Player::IsItemCostumeVisible(param_2,pIVar10,iVar23); + bVar4 = Entity_Player::IsItemCostumeVisible(param_2,pIVar10,iVar22); if (bVar4 != 0) { LAB_00807700: - pGVar21 = local_f8; + pGVar20 = local_f8; if (param_2->_playerType == 0xc) { Color::Reset(); Color::SetTint(); @@ -595060,37 +595926,37 @@ LAB_00807700: } goto LAB_0080787f; } - iVar23 = -1; + iVar22 = -1; pIVar10 = ItemConfig::GetCollectible(&g_manager->_itemConfig,0xc0); - bVar4 = Entity_Player::IsItemCostumeVisible(param_2,pIVar10,iVar23); + bVar4 = Entity_Player::IsItemCostumeVisible(param_2,pIVar10,iVar22); if (bVar4 != 0) goto LAB_00807700; - iVar23 = -1; + iVar22 = -1; pIVar10 = ItemConfig::GetCollectible(&g_manager->_itemConfig,0x23c); - bVar4 = Entity_Player::IsItemCostumeVisible(param_2,pIVar10,iVar23); + bVar4 = Entity_Player::IsItemCostumeVisible(param_2,pIVar10,iVar22); if (bVar4 != 0) goto LAB_00807700; Color::Reset(); Color::SetTint(); - pGVar21 = local_f8; + pGVar20 = local_f8; local_78[0] = 0.0; local_78[1] = 0.0; local_78[2] = 0.0; Color::operator_assign(); - iVar23 = -1; + iVar22 = -1; pIVar10 = ItemConfig::GetCollectible(&g_manager->_itemConfig,0x5b); - bVar4 = Entity_Player::IsItemCostumeVisible(param_2,pIVar10,iVar23); + bVar4 = Entity_Player::IsItemCostumeVisible(param_2,pIVar10,iVar22); if (bVar4 != 0) { - fVar25 = g_vectorOne.x * 1.75; - fVar26 = g_vectorOne.y * 1.75; + fVar24 = g_vectorOne.x * 1.75; + fVar25 = g_vectorOne.y * 1.75; goto LAB_008078ab; } bVar4 = Entity_Player::HasCollectible(param_2,0x22e,0); if (bVar4 != 0) goto LAB_0080788b; - pGVar21->_roomList[0x9a].AllowedDoors = (int)g_vectorOne.x; - *(float *)&pGVar21->_roomList[0x9a].field_0x1c = g_vectorOne.y; + pGVar20->_roomList[0x9a].AllowedDoors = (int)g_vectorOne.x; + pGVar20->_roomList[0x9a]._doors[0] = (int)g_vectorOne.y; } else { LAB_008077c8: - pGVar21 = local_f8; + pGVar20 = local_f8; if (param_2->_playerType == 0xc) { Color::Reset(); Color::SetTint(); @@ -595108,73 +595974,73 @@ LAB_008077c8: LAB_0080787f: Color::operator_assign(); LAB_0080788b: - fVar25 = g_vectorOne.x * 1.5; - fVar26 = g_vectorOne.y * 1.5; + fVar24 = g_vectorOne.x * 1.5; + fVar25 = g_vectorOne.y * 1.5; LAB_008078ab: - *(float *)&pGVar21->_roomList[0x9a].field_0x1c = fVar26; - pGVar21->_roomList[0x9a].AllowedDoors = (int)fVar25; + pGVar20->_roomList[0x9a]._doors[0] = (int)fVar25; + pGVar20->_roomList[0x9a].AllowedDoors = (int)fVar24; } - local_fc = (ANM2 *)&pGVar21->_roomList[0x99].field_0x34; - *(float *)&pGVar21->_roomList[0x9a].field_0x30 = - (float)local_108 * *(float *)&pGVar21->_roomList[0x9a].field_0x30; - if (pGVar21->_roomList[0x99].SavedGridEntities._begin != (void *)0x0) { - AnimationState::SetFrameFloat((AnimationState *)&pGVar21->_roomList[0x99].BossDeathSeed); + local_fc = (ANM2 *)(pGVar20->_roomList[0x99]._doors + 6); + pGVar20->_roomList[0x9a]._doors[5] = + (int)((float)local_108 * (float)pGVar20->_roomList[0x9a]._doors[5]); + if (pGVar20->_roomList[0x99].SavedGridEntities._begin != (void *)0x0) { + AnimationState::SetFrameFloat((AnimationState *)&pGVar20->_roomList[0x99].BossDeathSeed); } uVar19 = Level::GetCurses((Level *)g_game); if ((uVar19 & 1) == 0) { - fVar26 = g_game->_darknessStrength * g_game->_darknessModifier; + fVar25 = g_game->_darknessStrength * g_game->_darknessModifier; } else { - fVar26 = 1.0; + fVar25 = 1.0; } - fVar25 = fVar26 * 0.5 + 1.0; - fVar26 = fVar25 * g_vectorOne.x; - *(float *)&pGVar21->_roomList[0x9a].field_0x1c = fVar25 * g_vectorOne.y; - pGVar21->_roomList[0x9a].AllowedDoors = (int)fVar26; - ANM2::Render((ANM2 *)&pGVar21->_roomList[0x99].field_0x34,local_170,&g_vectorZero, + fVar24 = fVar25 * 0.5 + 1.0; + fVar25 = fVar24 * g_vectorOne.x; + pGVar20->_roomList[0x9a]._doors[0] = (int)(fVar24 * g_vectorOne.y); + pGVar20->_roomList[0x9a].AllowedDoors = (int)fVar25; + ANM2::Render((ANM2 *)(pGVar20->_roomList[0x99]._doors + 6),local_170,&g_vectorZero, &g_vectorZero); - if (pGVar21->_roomList[0x99].SavedGridEntities._begin != (void *)0x0) { - AnimationState::SetFrameFloat((AnimationState *)&pGVar21->_roomList[0x99].BossDeathSeed); + if (pGVar20->_roomList[0x99].SavedGridEntities._begin != (void *)0x0) { + AnimationState::SetFrameFloat((AnimationState *)&pGVar20->_roomList[0x99].BossDeathSeed); } bVar4 = Entity_Player::HasCollectible(param_2,0x1a9,0); if (bVar4 != 0) { - pGVar21->_roomList[0x9b].SavedEntities._capacity = (void *)(param_2->_bodyAngle - 90.0); + pGVar20->_roomList[0x9b].SavedEntities._capacity = (void *)(param_2->_bodyAngle - 90.0); Color::Reset(); Color::operator_assign(); BlendMode::SetMode(); - this_00 = &pGVar21->_roomList[0x9a].SavedEffects._capacity; + this_00 = &pGVar20->_roomList[0x9a].SavedEffects._capacity; pLVar8 = ANM2::GetLayer((ANM2 *)this_00,(byte *)0x0); - *(void **)&pLVar8->field_0x78 = local_148; - *(void **)&pLVar8->field_0x7c = local_144; - *(void **)&pLVar8->field_0x80 = local_140; - *(void **)&pLVar8->field_0x84 = local_13c; - *(float *)&pLVar8->field_0x88 = local_138; + pLVar8->_blendMode[0] = (int)local_148; + pLVar8->_blendMode[1] = (int)local_144; + pLVar8->_blendMode[2] = (int)local_140; + pLVar8->_blendMode[3] = (int)local_13c; + pLVar8->_blendMode[4] = (int)local_138; ANM2::Render((ANM2 *)this_00,local_170,&g_vectorZero,&g_vectorZero); - pGVar21 = local_f8; + pGVar20 = local_f8; } uVar19 = GetStageID(g_game,0); - if ((uVar19 == 0xd) && (*(int *)(*(int *)(pGVar21->_stageType + 0x10) + 8) == 5)) { - uVar19 = pGVar21->_roomList[0x19].DecorationSeed; + if ((uVar19 == 0xd) && (*(int *)(*(int *)(pGVar20->_stageType + 0x10) + 8) == 5)) { + uVar19 = pGVar20->_roomList[0x19].DecorationSeed; uVar14 = 0; - fVar26 = 0.1; + fVar25 = 0.1; if (uVar19 != 0) { do { - iVar23 = *(int *)(*(int *)&pGVar21->_roomList[0x19].PoopCount + uVar14 * 4); - if ((*(int *)(iVar23 + 0x28) == 0x197) && (*(int *)(iVar23 + 0x2c) == 0)) { - fVar26 = 1.0 - *(float *)(iVar23 + 0x380) / *(float *)(iVar23 + 900); + iVar22 = *(int *)(*(int *)&pGVar20->_roomList[0x19].PoopCount + uVar14 * 4); + if ((*(int *)(iVar22 + 0x28) == 0x197) && (*(int *)(iVar22 + 0x2c) == 0)) { + fVar25 = 1.0 - *(float *)(iVar22 + 0x380) / *(float *)(iVar22 + 900); break; } uVar14 = uVar14 + 1; } while (uVar14 < uVar19); } - fVar26 = (float)g_game->_frameCount * (fVar26 * 0.18 + 0.02); + fVar25 = (float)g_game->_frameCount * (fVar25 * 0.18 + 0.02); sin(); pVVar17 = local_170; - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; - fVar25 = (fVar26 + 3.0) * g_vectorOne.y; - (local_fc->_scale).x = (fVar26 + 3.0) * g_vectorOne.x; - (local_fc->_scale).y = fVar25; + pVVar26 = &g_vectorZero; + fVar24 = (fVar25 + 3.0) * g_vectorOne.y; + (local_fc->_scale).x = (fVar25 + 3.0) * g_vectorOne.x; + (local_fc->_scale).y = fVar24; pAVar16 = local_fc; goto LAB_00807b32; } @@ -595184,7 +596050,7 @@ LAB_008078ab: Entity_Tear::TearFlags((Entity_Tear *)param_2); local_154 = 0.0; local_130 = (ANM2 *)0x0; - local_108 = (ANM2 *)&this->_roomList[0x99].field_0x34; + local_108 = (ANM2 *)(this->_roomList[0x99]._doors + 6); local_12c = (ANM2 *)0x3ecccccd; pFVar11 = (Font *)Sprite::Color((Sprite *)local_108); Font::SetLineHeightModifier(pFVar11); @@ -595192,7 +596058,7 @@ LAB_008078ab: cVar5 = BitSet128::IsNonZero(); if (cVar5 != '\0') { Color::Color(); - pAVar22 = local_108; + pAVar21 = local_108; Sprite::SetColor((Sprite *)local_108); pAVar16 = (ANM2 *)((float)local_12c * 1.3); local_154 = 2.0; @@ -595215,18 +596081,18 @@ LAB_008078ab: BitSet128::operator_and(); cVar5 = BitSet128::IsNonZero(); if (cVar5 == '\0') { - iVar23 = Entity::Variant((Entity *)param_2); - if (iVar23 == 0x2e) { + iVar22 = Entity::Variant((Entity *)param_2); + if (iVar22 == 0x2e) { Color::Color(); - pAVar22 = local_108; + pAVar21 = local_108; Sprite::SetColor((Sprite *)local_108); local_154 = 2.0; } else { cVar5 = IsInTimedSet(); if (cVar5 == '\0') { - iVar23 = Entity::Variant((Entity *)param_2); - if ((iVar23 == 0xd) || (iVar23 = Entity::Variant((Entity *)param_2), iVar23 == 0x17)) + iVar22 = Entity::Variant((Entity *)param_2); + if ((iVar22 == 0xd) || (iVar22 = Entity::Variant((Entity *)param_2), iVar22 == 0x17)) { this_01 = (Seeds *)GetSeeds(g_game); bVar4 = Seeds::HasSeedEffect(this_01,0x4f); @@ -595235,26 +596101,26 @@ LAB_008078ab: BitSet128::operator_and(); cVar5 = BitSet128::IsNonZero(); if ((cVar5 == '\0') || (cVar5 = FUN_004f88e0(), cVar5 == '\0')) { - pAVar22 = local_108; + pAVar21 = local_108; } else { pAVar16 = (ANM2 *)0x3f800000; Color::Color(); - pAVar22 = local_108; + pAVar21 = local_108; Sprite::SetColor((Sprite *)local_108); } } else { LAB_008083e7: Entity::GetColor((Entity *)param_2); - pAVar22 = local_108; + pAVar21 = local_108; Sprite::SetColor((Sprite *)local_108); } } } else { Color::Color(); - pAVar22 = local_108; + pAVar21 = local_108; Sprite::SetColor((Sprite *)local_108); local_154 = 6.0; } @@ -595262,28 +596128,28 @@ LAB_008083e7: else { LAB_00808253: Color::Color(); - pAVar22 = local_108; + pAVar21 = local_108; Sprite::SetColor((Sprite *)local_108); } LAB_00808404: FUN_0060cd50(); local_14c = pAVar16; if (0.0 < (float)pAVar16) { - Sprite::Color((Sprite *)pAVar22); + Sprite::Color((Sprite *)pAVar21); Sprite::Color((Sprite *)local_108); - fVar24 = (float10)Color::R(); - local_fc = (ANM2 *)(float)(fVar24 + (float10)(float)local_14c); + fVar23 = (float10)Color::R(); + local_fc = (ANM2 *)(float)(fVar23 + (float10)(float)local_14c); FUN_005cd370(); pFVar11 = (Font *)Sprite::Color((Sprite *)local_108); Sprite::Color((Sprite *)local_108); - fVar24 = (float10)Color::A(); - local_fc = (ANM2 *)(float)(fVar24 + (float10)(float)local_14c); + fVar23 = (float10)Color::A(); + local_fc = (ANM2 *)(float)(fVar23 + (float10)(float)local_14c); Font::SetLineHeightModifier(pFVar11); } pAVar16 = local_108; Sprite::Color((Sprite *)local_108); - fVar24 = (float10)Color::A(); - local_fc = (ANM2 *)(float)fVar24; + fVar23 = (float10)Color::A(); + local_fc = (ANM2 *)(float)fVar23; if (0.0 < (float)local_fc) { Vector::__mul(); Sprite::SetScale((Sprite *)pAVar16); @@ -595298,11 +596164,11 @@ LAB_00808404: Vector::__mul(); Vector::__add(); Isaac::GetRenderPosition(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); pAVar16 = local_108; - ANM2::Render(local_108,pVVar17,pVVar27,pVVar28); + ANM2::Render(local_108,pVVar17,pVVar26,pVVar27); if (local_130 != (ANM2 *)0x0) { Sprite::SetFrame_1((Sprite *)pAVar16); } @@ -595314,9 +596180,9 @@ LAB_00808404: Color::Reset(); Color::SetTint(); Color::operator_assign(); - fVar26 = g_vectorOne.y * 0.4; + fVar25 = g_vectorOne.y * 0.4; this->_roomList[0x9a].AllowedDoors = (int)(g_vectorOne.x * 0.4); - *(float *)&this->_roomList[0x9a].field_0x1c = fVar26; + this->_roomList[0x9a]._doors[0] = (int)fVar25; if (this->_roomList[0x99].SavedGridEntities._begin != (void *)0x0) { AnimationState::SetFrameFloat((AnimationState *)&this->_roomList[0x99].BossDeathSeed); } @@ -595368,9 +596234,9 @@ LAB_00808404: Color::SetTint(); Color::operator_assign(); pLVar8 = ANM2::GetLayer(¶m_2->_sprite,(byte *)0x0); - fVar26 = (pLVar8->_size).y; + fVar25 = (pLVar8->_size).y; this->_roomList[0x9a].AllowedDoors = (int)((pLVar8->_size).x * 0.4); - *(float *)&this->_roomList[0x9a].field_0x1c = fVar26 * 0.4; + this->_roomList[0x9a]._doors[0] = (int)(fVar25 * 0.4); if (this->_roomList[0x99].SavedGridEntities._begin != (void *)0x0) { AnimationState::SetFrameFloat((AnimationState *)&this->_roomList[0x99].BossDeathSeed); } @@ -595380,7 +596246,7 @@ LAB_00807d20: pfVar6 = (float *)Isaac::GetRenderPosition(); local_120.y = local_114 + pfVar6[1]; local_120.x = local_118 + *pfVar6; - ANM2::Render((ANM2 *)&this->_roomList[0x99].field_0x34,&local_120,&g_vectorZero, + ANM2::Render((ANM2 *)(this->_roomList[0x99]._doors + 6),&local_120,&g_vectorZero, &g_vectorZero); if (this->_roomList[0x99].SavedGridEntities._begin != (void *)0x0) { AnimationState::SetFrameFloat((AnimationState *)&this->_roomList[0x99].BossDeathSeed); @@ -595388,13 +596254,13 @@ LAB_00807d20: } break; case 4: - iVar23 = Entity::Variant((Entity *)param_2); - if (iVar23 == 8) { + iVar22 = Entity::Variant((Entity *)param_2); + if (iVar22 == 8) { Color::Color(); - Sprite::SetColor((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetColor((Sprite *)(this->_roomList[0x99]._doors + 6)); local_fc = (ANM2 *)0x3f400000; Vector::__mul(); - Sprite::SetScale((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetScale((Sprite *)(this->_roomList[0x99]._doors + 6)); Entity::Position((Entity *)param_2); goto LAB_00808e0d; } @@ -595404,8 +596270,8 @@ LAB_00807d20: Entity::GetSprite((Entity *)param_2); Config::GetPillEffects(); _ptr_deref_or_minus1(); - iVar23 = AnimationState::GetLayerFrame(); - if ((iVar23 != 0) && (*(char *)(iVar23 + 0x2c) != '\0')) { + iVar22 = AnimationState::GetLayerFrame(); + if ((iVar22 != 0) && (*(char *)(iVar22 + 0x2c) != '\0')) { local_fc = (void *)0x3f000000; Vector::operator_mul(); Vector::__sub(); @@ -595428,7 +596294,7 @@ LAB_00807d20: if (cVar5 != '\0') { local_15c[0] = (void *)((uint)local_15c[0] ^ 0x80000000); } - pAVar16 = (ANM2 *)&local_f8->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(local_f8->_roomList[0x99]._doors + 6); Color::Color(); Sprite::SetColor((Sprite *)pAVar16); local_fc = (ANM2 *)0x3e99999a; @@ -595439,8 +596305,8 @@ LAB_00807d20: Vector::__add(); Isaac::GetRenderPosition(); Vector::__add(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); goto LAB_00807b32; } @@ -595466,7 +596332,7 @@ LAB_00807d20: break; default: Entity::GetSprite((Entity *)param_2); - pAVar16 = (ANM2 *)&this->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(this->_roomList[0x99]._doors + 6); local_108 = pAVar16; cVar5 = _has_flag_0x110(); if (cVar5 == '\0') { @@ -595484,7 +596350,7 @@ LAB_00807d20: goto LAB_008087da; case 7: } - local_108 = (ANM2 *)&this->_roomList[0x99].field_0x34; + local_108 = (ANM2 *)(this->_roomList[0x99]._doors + 6); Color::Color(); uVar13 = Entity::GetColor((Entity *)local_104); Color::operator_assign(uVar13); @@ -595494,9 +596360,9 @@ LAB_00807d20: LAB_008087d4: param_2 = local_104; LAB_008087da: - iVar23 = Entity::Variant((Entity *)param_2); - if (((iVar23 == 2) || (iVar23 = Entity::Variant((Entity *)param_2), iVar23 == 10)) || - (iVar23 = Entity::Variant((Entity *)param_2), iVar23 == 7)) { + iVar22 = Entity::Variant((Entity *)param_2); + if (((iVar22 == 2) || (iVar22 = Entity::Variant((Entity *)param_2), iVar22 == 10)) || + (iVar22 = Entity::Variant((Entity *)param_2), iVar22 == 7)) { pfVar6 = (float *)Entity::SpriteScale((Entity *)param_2); local_fc = (ANM2 *)(*pfVar6 * 0.35); Vector::__mul(); @@ -595511,7 +596377,7 @@ LAB_008087da: } } else { - local_108 = (ANM2 *)&this->_roomList[0x99].field_0x34; + local_108 = (ANM2 *)(this->_roomList[0x99]._doors + 6); uVar13 = Entity::GetColor((Entity *)local_104); Color::operator_assign(uVar13); FUN_004072e0(); @@ -595538,8 +596404,8 @@ LAB_008087da: local_14c = (ANM2 *)0x0; do { local_130 = (ANM2 *)((float)(int)local_14c / 19.0); - iVar23 = Entity::Variant((Entity *)param_2); - if (iVar23 == 4) { + iVar22 = Entity::Variant((Entity *)param_2); + if (iVar22 == 4) { pfVar6 = (float *)Entity::SpriteScale((Entity *)param_2); local_fc = (ANM2 *)(((float)local_130 * 0.7 + 0.3) * *pfVar6 * 0.75); Vector::__mul(); @@ -595552,46 +596418,46 @@ LAB_008087da: vector_lerp(); Isaac::GetRenderPosition(); Vector::__sub(); - fVar24 = (float10)Vector::LengthSquared(); - local_15c[0] = (void *)(float)fVar24; + fVar23 = (float10)Vector::LengthSquared(); + local_15c[0] = (void *)(float)fVar23; if (0.0 <= (float)local_15c[0]) { Vector::operator_assign(); vector_lerp(); Isaac::GetRenderPosition(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); - ANM2::Render(pAVar16,pVVar17,pVVar27,pVVar28); + ANM2::Render(pAVar16,pVVar17,pVVar26,pVVar27); } local_14c = (ANM2 *)((int)(local_14c->_filename)._buf + 1); } while ((int)local_14c < 0x14); } else { local_108 = (ANM2 *)Entity_Laser::GetNonOptimizedSamples(); - iVar23 = FUN_0042f160(); - if (iVar23 != 0) { - iVar23 = FUN_0042f160(); + iVar22 = FUN_0042f160(); + if (iVar22 != 0) { + iVar22 = FUN_0042f160(); local_15c[0] = (void *)0x1; - local_fc = (ANM2 *)(iVar23 / 0x14); + local_fc = (ANM2 *)(iVar22 / 0x14); pfVar6 = (float *)std::max(); uVar19 = 0; local_15c[0] = (void *)*pfVar6; - iVar23 = FUN_0042f160(); - if (iVar23 != 0) { + iVar22 = FUN_0042f160(); + if (iVar22 != 0) { do { std::vector::operator__(); Isaac::GetRenderPosition(); Vector::__sub(); - fVar24 = (float10)Vector::LengthSquared(); - local_fc = (ANM2 *)(float)fVar24; + fVar23 = (float10)Vector::LengthSquared(); + local_fc = (ANM2 *)(float)fVar23; if (0.0 <= (float)local_fc) { Vector::operator_assign(); std::vector::operator__(); Isaac::GetRenderPosition(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); - ANM2::Render(pAVar16,pVVar17,pVVar27,pVVar28); + ANM2::Render(pAVar16,pVVar17,pVVar26,pVVar27); } uVar19 = uVar19 + (int)local_15c[0]; uVar14 = FUN_0042f160(); @@ -595599,55 +596465,55 @@ LAB_008087da: } EntityPtr::Ref(); Isaac::GetRenderPosition(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); goto LAB_00807b32; } } break; case 9: - iVar23 = Entity::Variant((Entity *)param_2); - if (iVar23 == 2) { - puVar20 = &this->_roomList[0x99].field_0x34; + iVar22 = Entity::Variant((Entity *)param_2); + if (iVar22 == 2) { + pSVar12 = (Sprite *)(this->_roomList[0x99]._doors + 6); Entity::GetColor((Entity *)local_104); Color::Color(0x3f800000); FUN_004072e0(); - Sprite::SetColor((Sprite *)puVar20); - Sprite::SetScale((Sprite *)puVar20); + Sprite::SetColor(pSVar12); + Sprite::SetScale(pSVar12); Entity::Position((Entity *)local_104); Isaac::GetRenderPosition(); Vector::__add(); RNG::Next(&local_34); RandomVector(); - fVar26 = RNG::RandomFloat(&local_34); - local_fc = (ANM2 *)(fVar26 * 3.0); + fVar25 = RNG::RandomFloat(&local_34); + local_fc = (ANM2 *)(fVar25 * 3.0); Vector::__mul(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); - pGVar21 = local_f8; - ANM2::Render((ANM2 *)&local_f8->_roomList[0x99].field_0x34,pVVar17,pVVar27,pVVar28); + pGVar20 = local_f8; + ANM2::Render((ANM2 *)(local_f8->_roomList[0x99]._doors + 6),pVVar17,pVVar26,pVVar27); goto LAB_00807b3d; } local_fc = (ANM2 *)Room::GetLightingAlpha((Room *)this); if (0.5 < (float)local_fc) { Color::Color(); - Sprite::SetColor((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetColor((Sprite *)(this->_roomList[0x99]._doors + 6)); local_fc = (ANM2 *)0x3dcccccd; goto LAB_0080ae36; } } goto switchD_00809dea_caseD_2; } - if (iVar23 < 0x332) { - if (iVar23 == 0x331) { + if (iVar22 < 0x332) { + if (iVar22 == 0x331) { if (param_2->_variant == 1) { Color::Reset(); Color::SetTint(); Color::operator_assign(); this->_roomList[0x9a].AllowedDoors = (int)g_vectorOne.x; - *(float *)&this->_roomList[0x9a].field_0x1c = g_vectorOne.y; + this->_roomList[0x9a]._doors[0] = (int)g_vectorOne.y; local_110.x = (param_2->_pos).x + 0.0; local_110.y = (param_2->_pos).y - 16.0; pfVar6 = (float *)Isaac::GetRenderPosition(); @@ -595656,23 +596522,23 @@ LAB_008087da: RNG::Next(&local_34); pfVar6 = (float *)RandomVector(); RNG::Next(&local_34); - fVar26 = (float)((double)(int)local_34 + __uint_to_double_fixup[-((int)local_34 >> 0x1f)]) * - 2.3283062e-10; - fVar26 = fVar26 + fVar26; - local_120.y = pfVar6[1] * fVar26 + (float)local_15c[0]; - local_120.x = fVar26 * *pfVar6 + (float)local_fc; + fVar25 = (float)((double)local_34._seed + __uint_to_double_fixup[-(local_34._seed >> 0x1f)]) + * 2.3283062e-10; + fVar25 = fVar25 + fVar25; + local_120.y = pfVar6[1] * fVar25 + (float)local_15c[0]; + local_120.x = fVar25 * *pfVar6 + (float)local_fc; goto LAB_00809a2f; } } else { - if (iVar23 < 0x108) { - if (iVar23 == 0x107) { + if (iVar22 < 0x108) { + if (iVar22 == 0x107) { Color::Color(); - Sprite::SetColor((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetColor((Sprite *)(this->_roomList[0x99]._doors + 6)); local_fc = (void *)0x40000000; LAB_0080968a: Vector::__mul(); - Sprite::SetScale((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetScale((Sprite *)(this->_roomList[0x99]._doors + 6)); Entity::Position((Entity *)param_2); Vector::Vector(); Vector::__add(); @@ -595683,99 +596549,99 @@ LAB_0080968a: local_fc = (ANM2 *)RNG::RandomFloat(&local_34); goto LAB_0080972b; } - if (iVar23 != 0x21) { - if (iVar23 != 0x55) goto switchD_008072ae_caseD_5; - iVar23 = Room::GetBossID((Room *)this); - if (iVar23 != 0x33) { + if (iVar22 != 0x21) { + if (iVar22 != 0x55) goto switchD_008072ae_caseD_5; + iVar22 = Room::GetBossID((Room *)this); + if (iVar22 != 0x33) { cVar5 = FUN_004f88e0(); if (cVar5 == '\0') goto switchD_00809dea_caseD_2; } - pAVar16 = (ANM2 *)&this->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(this->_roomList[0x99]._doors + 6); Color::Color(); Sprite::SetColor((Sprite *)pAVar16); local_fc = (ANM2 *)0x3e99999a; goto LAB_008092a3; } - fVar24 = (float10)Entity::HitPoints((Entity *)param_2); - local_fc = (ANM2 *)(float)fVar24; + fVar23 = (float10)Entity::HitPoints((Entity *)param_2); + local_fc = (ANM2 *)(float)fVar23; if ((float)local_fc <= 1.0) goto switchD_00809dea_caseD_2; - fVar24 = (float10)Entity::HitPoints((Entity *)param_2); - local_fc = (ANM2 *)(float)fVar24; - fVar24 = (float10)Entity::MaxHitPoints(); + fVar23 = (float10)Entity::HitPoints((Entity *)param_2); + local_fc = (ANM2 *)(float)fVar23; + fVar23 = (float10)Entity::MaxHitPoints(); local_14c = (ANM2 *)0x3f800000; - local_12c = (ANM2 *)(float)((float10)1 - (float10)(float)local_fc / fVar24); - iVar23 = Entity::Variant((Entity *)param_2); - if ((((iVar23 == 3) || (iVar23 = Entity::Variant((Entity *)param_2), iVar23 == 0xd)) || - (iVar23 = Entity::Variant((Entity *)param_2), iVar23 == 2)) || - (iVar23 = Entity::Variant((Entity *)param_2), iVar23 == 0xc)) { - local_108 = (ANM2 *)&this->_roomList[0x99].field_0x34; + local_12c = (ANM2 *)(float)((float10)1 - (float10)(float)local_fc / fVar23); + iVar22 = Entity::Variant((Entity *)param_2); + if ((((iVar22 == 3) || (iVar22 = Entity::Variant((Entity *)param_2), iVar22 == 0xd)) || + (iVar22 = Entity::Variant((Entity *)param_2), iVar22 == 2)) || + (iVar22 = Entity::Variant((Entity *)param_2), iVar22 == 0xc)) { + local_108 = (ANM2 *)(this->_roomList[0x99]._doors + 6); LAB_00809546: Color::Color(); - Sprite::SetColor((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetColor((Sprite *)(this->_roomList[0x99]._doors + 6)); } else { - puVar20 = &this->_roomList[0x99].field_0x34; + pSVar12 = (Sprite *)(this->_roomList[0x99]._doors + 6); local_154 = 1.0 - (float)local_12c * 0.5; - local_108 = (ANM2 *)puVar20; - iVar23 = Entity::Variant((Entity *)param_2); - if (iVar23 == 1) goto LAB_00809546; - iVar23 = Entity::Variant((Entity *)param_2); - if ((iVar23 == 4) || (iVar23 = Entity::Variant((Entity *)param_2), iVar23 != 0xb)) { + local_108 = (ANM2 *)pSVar12; + iVar22 = Entity::Variant((Entity *)param_2); + if (iVar22 == 1) goto LAB_00809546; + iVar22 = Entity::Variant((Entity *)param_2); + if ((iVar22 == 4) || (iVar22 = Entity::Variant((Entity *)param_2), iVar22 != 0xb)) { Color::Color(); - Sprite::SetColor((Sprite *)puVar20); - local_108 = (ANM2 *)puVar20; + Sprite::SetColor(pSVar12); + local_108 = (ANM2 *)pSVar12; } else { Color::Color(); - Sprite::SetColor((Sprite *)puVar20); + Sprite::SetColor(pSVar12); local_14c = (ANM2 *)0x3ecccccd; - local_108 = (ANM2 *)puVar20; + local_108 = (ANM2 *)pSVar12; } } local_15c[0] = (void *)(1.2 - (float)local_12c * 0.2); Vector::__mul(); Vector::__mul(); - Sprite::SetScale((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetScale((Sprite *)(this->_roomList[0x99]._doors + 6)); Entity::Position((Entity *)param_2); Isaac::GetRenderPosition(); Vector::__add(); RNG::Next(&local_34); RandomVector(); - fVar26 = RNG::RandomFloat(&local_34); - local_fc = (ANM2 *)(fVar26 * 3.0); + fVar25 = RNG::RandomFloat(&local_34); + local_fc = (ANM2 *)(fVar25 * 3.0); Vector::__mul(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); pAVar16 = local_108; goto LAB_00807b32; } - if (iVar23 == 0x111) { - iVar23 = Entity::Variant((Entity *)param_2); - if (iVar23 == 10) { + if (iVar22 == 0x111) { + iVar22 = Entity::Variant((Entity *)param_2); + if (iVar22 == 10) { Color::Color(); - Sprite::SetColor((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetColor((Sprite *)(this->_roomList[0x99]._doors + 6)); local_fc = (void *)0x3fc00000; goto LAB_0080968a; } } else { - if (iVar23 != 0x328) goto switchD_008072ae_caseD_5; + if (iVar22 != 0x328) goto switchD_008072ae_caseD_5; if (param_2->_visible != 0) { Color::Reset(); Color::SetTint(); Color::operator_assign(); - fVar26 = g_vectorOne.y * 0.8; + fVar25 = g_vectorOne.y * 0.8; this->_roomList[0x9a].AllowedDoors = (int)(g_vectorOne.x * 0.8); - *(float *)&this->_roomList[0x9a].field_0x1c = fVar26; + this->_roomList[0x9a]._doors[0] = (int)fVar25; local_110.x = (param_2->_pos).x + 0.0; local_110.y = (param_2->_pos).y - 16.0; pfVar6 = (float *)Isaac::GetRenderPosition(); - pAVar16 = (ANM2 *)&this->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(this->_roomList[0x99]._doors + 6); local_120.y = local_114 + pfVar6[1]; local_120.x = local_118 + *pfVar6; - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = &local_120; goto LAB_00807b32; } @@ -595783,7 +596649,7 @@ LAB_00809546: } goto switchD_00809dea_caseD_2; } - switch(iVar23) { + switch(iVar22) { case 0x332: if (param_2->_variant == 2) { Color::Reset(); @@ -595792,10 +596658,10 @@ LAB_00809546: local_48[1] = 0.0; local_40 = (void *)0x0; Color::operator_assign(); - local_188.y = (float)&this->_roomList[0x99].field_0x34; - fVar26 = g_vectorOne.y * 0.6; + local_188.y = (float)(this->_roomList[0x99]._doors + 6); + fVar25 = g_vectorOne.y * 0.6; this->_roomList[0x9a].AllowedDoors = (int)(g_vectorOne.x * 0.6); - *(float *)&this->_roomList[0x9a].field_0x1c = fVar26; + this->_roomList[0x9a]._doors[0] = (int)fVar25; if (this->_roomList[0x99].SavedGridEntities._begin != (void *)0x0) { AnimationState::SetFrameFloat((AnimationState *)&this->_roomList[0x99].BossDeathSeed); } @@ -595807,14 +596673,14 @@ LAB_00809546: RNG::Next(&local_34); pfVar6 = (float *)RandomVector(); RNG::Next(&local_34); - fVar26 = (float)((double)(int)local_34 + __uint_to_double_fixup[-((int)local_34 >> 0x1f)]) * + fVar25 = (float)((double)local_34._seed + __uint_to_double_fixup[-(local_34._seed >> 0x1f)]) * 2.3283062e-10 * 3.0; - local_120.y = fVar26 * pfVar6[1] + (float)local_15c[0]; - local_120.x = fVar26 * *pfVar6 + (float)local_fc; + local_120.y = fVar25 * pfVar6[1] + (float)local_15c[0]; + local_120.x = fVar25 * *pfVar6 + (float)local_fc; LAB_00809c03: ANM2::Render((ANM2 *)local_188.y,&local_120,&g_vectorZero,&g_vectorZero); LAB_00809c21: - pGVar21 = local_f8; + pGVar20 = local_f8; if (local_f8->_roomList[0x99].SavedGridEntities._begin != (void *)0x0) { AnimationState::SetFrameFloat((AnimationState *)&local_f8->_roomList[0x99].BossDeathSeed); } @@ -595833,8 +596699,8 @@ switchD_008072ae_caseD_5: if (cVar5 == '\0') break; } Color::Color(); - Sprite::SetColor((Sprite *)&this->_roomList[0x99].field_0x34); - Sprite::SetScale((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetColor((Sprite *)(this->_roomList[0x99]._doors + 6)); + Sprite::SetScale((Sprite *)(this->_roomList[0x99]._doors + 6)); Entity::Position((Entity *)param_2); Vector::Vector(); Vector::__add(); @@ -595842,56 +596708,56 @@ switchD_008072ae_caseD_5: Vector::__add(); RNG::Next(&local_34); RandomVector(); - fVar26 = RNG::RandomFloat(&local_34); - local_fc = (ANM2 *)(fVar26 * 3.0); + fVar25 = RNG::RandomFloat(&local_34); + local_fc = (ANM2 *)(fVar25 * 3.0); goto LAB_0080972b; case 0x387: - iVar23 = Entity::Variant((Entity *)param_2); - if (iVar23 == 0) { - iVar23 = FUN_00447760(); - if (iVar23 == 0x71) { + iVar22 = Entity::Variant((Entity *)param_2); + if (iVar22 == 0) { + iVar22 = FUN_00447760(); + if (iVar22 == 0x71) { LAB_0080b3a9: - puVar20 = &this->_roomList[0x99].field_0x34; + pSVar12 = (Sprite *)(this->_roomList[0x99]._doors + 6); Color::Color(); - Sprite::SetColor((Sprite *)puVar20); - Sprite::SetScale((Sprite *)puVar20); + Sprite::SetColor(pSVar12); + Sprite::SetScale(pSVar12); Entity::Position((Entity *)local_104); } else { - iVar23 = FUN_00447760(); - if (iVar23 != 0x68) break; - puVar20 = &this->_roomList[0x99].field_0x34; + iVar22 = FUN_00447760(); + if (iVar22 != 0x68) break; + pSVar12 = (Sprite *)(this->_roomList[0x99]._doors + 6); Color::Color(); - Sprite::SetColor((Sprite *)puVar20); + Sprite::SetColor(pSVar12); local_fc = (ANM2 *)0x3fc00000; Vector::__mul(); - Sprite::SetScale((Sprite *)puVar20); + Sprite::SetScale(pSVar12); Entity::Position((Entity *)local_104); } - pAVar16 = (ANM2 *)&this->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(this->_roomList[0x99]._doors + 6); Vector::Vector(); Vector::__add(); Isaac::GetRenderPosition(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); goto LAB_00807b32; } - iVar23 = Entity::Variant((Entity *)param_2); - if (iVar23 == 1) { - iVar23 = FUN_00447760(); - if (0x68 < iVar23) goto LAB_0080b3a9; + iVar22 = Entity::Variant((Entity *)param_2); + if (iVar22 == 1) { + iVar22 = FUN_00447760(); + if (0x68 < iVar22) goto LAB_0080b3a9; } else { - iVar23 = Entity::Variant((Entity *)param_2); - if (iVar23 == 0x14) { - pAVar22 = (ANM2 *)&this->_roomList[0x99].field_0x34; + iVar22 = Entity::Variant((Entity *)param_2); + if (iVar22 == 0x14) { + pSVar12 = (Sprite *)(this->_roomList[0x99]._doors + 6); Color::Color(); - Sprite::SetColor((Sprite *)pAVar22); + Sprite::SetColor(pSVar12); local_fc = (ANM2 *)0x3f19999a; Vector::__mul(); - Sprite::SetScale((Sprite *)pAVar22); - Sprite::SetFrame_1((Sprite *)pAVar22); + Sprite::SetScale(pSVar12); + Sprite::SetFrame_1(pSVar12); Entity::Position((Entity *)local_104); Vector::Vector(); Vector::__add(); @@ -595957,12 +596823,12 @@ LAB_0080b3a9: Vector::__sub(); Vector::__mul(); Vector::__add(); - pGVar21 = local_f8; + pGVar20 = local_f8; Color::Color(); - Sprite::SetColor((Sprite *)&pGVar21->_roomList[0x99].field_0x34); + Sprite::SetColor((Sprite *)(pGVar20->_roomList[0x99]._doors + 6)); local_fc = (void *)0x3f19999a; Vector::__mul(); - Sprite::SetScale((Sprite *)&pGVar21->_roomList[0x99].field_0x34); + Sprite::SetScale((Sprite *)(pGVar20->_roomList[0x99]._doors + 6)); Entity::Position((Entity *)param_2); Isaac::GetRenderPosition(); Vector::__add(); @@ -595988,10 +596854,10 @@ LAB_0080b3a9: Color::Reset(); Color::SetTint(); Color::operator_assign(); - local_188.y = (float)&this->_roomList[0x99].field_0x34; - fVar26 = g_vectorOne.y * 0.6; + local_188.y = (float)(this->_roomList[0x99]._doors + 6); + fVar25 = g_vectorOne.y * 0.6; this->_roomList[0x9a].AllowedDoors = (int)(g_vectorOne.x * 0.6); - *(float *)&this->_roomList[0x9a].field_0x1c = fVar26; + this->_roomList[0x9a]._doors[0] = (int)fVar25; if (this->_roomList[0x99].SavedGridEntities._begin != (void *)0x0) { AnimationState::SetFrameFloat((AnimationState *)&this->_roomList[0x99].BossDeathSeed); } @@ -596003,20 +596869,20 @@ LAB_0080b3a9: RNG::Next(&local_34); pfVar6 = (float *)RandomVector(); RNG::Next(&local_34); - fVar26 = (float)((double)(int)local_34 + __uint_to_double_fixup[-((int)local_34 >> 0x1f)]) * + fVar25 = (float)((double)local_34._seed + __uint_to_double_fixup[-(local_34._seed >> 0x1f)]) * 2.3283062e-10; - fVar26 = fVar26 + fVar26; - local_120.y = pfVar6[1] * fVar26 + (float)local_15c[0]; - local_120.x = fVar26 * *pfVar6 + (float)local_fc; + fVar25 = fVar25 + fVar25; + local_120.y = pfVar6[1] * fVar25 + (float)local_15c[0]; + local_120.x = fVar25 * *pfVar6 + (float)local_fc; goto LAB_00809c03; } break; case 1000: switch(param_2->_variant) { case 1: - iVar23 = g_game->_frameCount - param_2->_spawnFrame; - if (iVar23 < 7) { - local_fc = (ANM2 *)((float)iVar23 / 6.0); + iVar22 = g_game->_frameCount - param_2->_spawnFrame; + if (iVar22 < 7) { + local_fc = (ANM2 *)((float)iVar22 / 6.0); Color::Reset(); Color::SetTint(); local_a8 = 0.19607845; @@ -596025,13 +596891,13 @@ LAB_0080b3a9: Color::__mul(); Color::operator_assign(); Color::operator_assign(); - local_fc = (ANM2 *)&this->_roomList[0x99].field_0x34; + local_fc = (ANM2 *)(this->_roomList[0x99]._doors + 6); if (this->_roomList[0x99].SavedGridEntities._begin != (void *)0x0) { AnimationState::SetFrameFloat((AnimationState *)&this->_roomList[0x99].BossDeathSeed); } - fVar26 = (param_2->_sprite)._scale.y; + fVar25 = (param_2->_sprite)._scale.y; this->_roomList[0x9a].AllowedDoors = (int)((param_2->_sprite)._scale.x * 1.5); - *(float *)&this->_roomList[0x9a].field_0x1c = fVar26 * 1.5; + this->_roomList[0x9a]._doors[0] = (int)(fVar25 * 1.5); local_110.y = (param_2->_pos).y; local_110.x = (param_2->_pos).x; pfVar6 = (float *)Isaac::GetRenderPosition(); @@ -596046,8 +596912,8 @@ LAB_0080b3a9: Sprite::Color(pSVar12); Color::A(); Color::Color(); - Sprite::SetColor((Sprite *)&this->_roomList[0x99].field_0x34); - Sprite::SetScale((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetColor((Sprite *)(this->_roomList[0x99]._doors + 6)); + Sprite::SetScale((Sprite *)(this->_roomList[0x99]._doors + 6)); Entity::Position((Entity *)param_2); goto LAB_00808e0d; case 0x16: @@ -596066,26 +596932,26 @@ LAB_0080b3a9: FUN_00417340(); local_fc = (ANM2 *)((float)pAVar16 * *pfVar6); Entity::GetColor((Entity *)param_2); - fVar24 = (float10)Color::A(); - local_14c = (ANM2 *)(float)fVar24; - iVar23 = Entity::FrameCount((Entity *)param_2); - if (iVar23 < 10) { + fVar23 = (float10)Color::A(); + local_14c = (ANM2 *)(float)fVar23; + iVar22 = Entity::FrameCount((Entity *)param_2); + if (iVar22 < 10) { Entity::FrameCount((Entity *)param_2); } - puVar20 = &local_f8->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(local_f8->_roomList[0x99]._doors + 6); Color::Color(); - Sprite::SetColor((Sprite *)puVar20); + Sprite::SetColor((Sprite *)pAVar16); local_fc = (ANM2 *)((float)local_fc * 0.02); local_15c[0] = (void *)0x3f000000; std::max(); Vector::__mul(); - Sprite::SetScale((Sprite *)puVar20); + Sprite::SetScale((Sprite *)pAVar16); Entity::Position((Entity *)param_2); Isaac::GetRenderPosition(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); - ANM2::Render((ANM2 *)puVar20,pVVar17,pVVar27,pVVar28); + ANM2::Render(pAVar16,pVVar17,pVVar26,pVVar27); std::set::insert(); } } @@ -596099,54 +596965,54 @@ LAB_0080b3a9: cVar5 = is_local_player_owned(); if (cVar5 == '\0') break; } - iVar23 = AnimationState::GetLayerFrame(); - if ((iVar23 != 0) && (*(char *)(iVar23 + 0x2c) != '\0')) { + iVar22 = AnimationState::GetLayerFrame(); + if ((iVar22 != 0) && (*(char *)(iVar22 + 0x2c) != '\0')) { Color::Reset(); Color::SetTint(); Color::operator_assign(); - fVar26 = (param_2->_sprite)._scale.y; + fVar25 = (param_2->_sprite)._scale.y; this->_roomList[0x9a].AllowedDoors = (int)((param_2->_sprite)._scale.x * 0.5); - *(float *)&this->_roomList[0x9a].field_0x1c = fVar26 * 0.5; + this->_roomList[0x9a]._doors[0] = (int)(fVar25 * 0.5); if (this->_roomList[0x99].SavedGridEntities._begin != (void *)0x0) { AnimationState::SetFrameFloat((AnimationState *)&this->_roomList[0x99].BossDeathSeed); } - puVar20 = &this->_roomList[0x99].field_0x34; - pLVar8 = ANM2::GetLayer((ANM2 *)puVar20,(byte *)0x0); - *(undefined4 *)&pLVar8->field_0x78 = DAT_00c35b58; - *(undefined4 *)&pLVar8->field_0x7c = DAT_00c35b5c; - *(undefined4 *)&pLVar8->field_0x80 = DAT_00c35b60; - *(undefined4 *)&pLVar8->field_0x84 = DAT_00c35b64; - *(undefined4 *)&pLVar8->field_0x88 = DAT_00c35b68; + pAVar16 = (ANM2 *)(this->_roomList[0x99]._doors + 6); + pLVar8 = ANM2::GetLayer(pAVar16,(byte *)0x0); + pLVar8->_blendMode[0] = DAT_00c35b58; + pLVar8->_blendMode[1] = DAT_00c35b5c; + pLVar8->_blendMode[2] = DAT_00c35b60; + pLVar8->_blendMode[3] = DAT_00c35b64; + pLVar8->_blendMode[4] = DAT_00c35b68; local_110.y = (param_2->_pos).y; local_110.x = (param_2->_pos).x; pfVar6 = (float *)Isaac::GetRenderPosition(); local_120.y = local_114 + pfVar6[1]; local_120.x = local_118 + *pfVar6; - ANM2::Render((ANM2 *)puVar20,&local_120,&g_vectorZero,&g_vectorZero); - pLVar8 = ANM2::GetLayer((ANM2 *)puVar20,(byte *)0x0); - *(undefined4 *)&pLVar8->field_0x78 = DAT_00c354ac; - *(undefined4 *)&pLVar8->field_0x7c = DAT_00c354b0; - *(undefined4 *)&pLVar8->field_0x80 = DAT_00c354b4; - *(undefined4 *)&pLVar8->field_0x84 = DAT_00c354b8; - *(undefined4 *)&pLVar8->field_0x88 = DAT_00c354bc; + ANM2::Render(pAVar16,&local_120,&g_vectorZero,&g_vectorZero); + pLVar8 = ANM2::GetLayer(pAVar16,(byte *)0x0); + pLVar8->_blendMode[0] = DAT_00c354ac; + pLVar8->_blendMode[1] = DAT_00c354b0; + pLVar8->_blendMode[2] = DAT_00c354b4; + pLVar8->_blendMode[3] = DAT_00c354b8; + pLVar8->_blendMode[4] = DAT_00c354bc; goto LAB_00809c21; } break; case 0x27: - iVar23 = Entity::Parent((Entity *)param_2); - if (iVar23 == 0) { + iVar22 = Entity::Parent((Entity *)param_2); + if (iVar22 == 0) { Entity::GetSprite((Entity *)param_2); Config::GetPillEffects(); - iVar23 = AnimationState::GetLayerFrame(); - if (iVar23 == 0) break; - fVar24 = (float10)Color::A(); - local_fc = (ANM2 *)(float)fVar24; - fVar24 = (float10)Color::B(); - local_15c[0] = (void *)(float)fVar24; - fVar24 = (float10)Color::G(); - local_188.y = (float)fVar24; + iVar22 = AnimationState::GetLayerFrame(); + if (iVar22 == 0) break; + fVar23 = (float10)Color::A(); + local_fc = (ANM2 *)(float)fVar23; + fVar23 = (float10)Color::B(); + local_15c[0] = (void *)(float)fVar23; + fVar23 = (float10)Color::G(); + local_188.y = (float)fVar23; Color::R(); - pAVar16 = (ANM2 *)&local_f8->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(local_f8->_roomList[0x99]._doors + 6); Color::Color(); Sprite::SetColor((Sprite *)pAVar16); local_fc = (ANM2 *)0x3fc00000; @@ -596159,8 +597025,8 @@ LAB_008092a3: case 0x33: case 0x34: Color::Color(); - Sprite::SetColor((Sprite *)&this->_roomList[0x99].field_0x34); - Sprite::SetScale((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetColor((Sprite *)(this->_roomList[0x99]._doors + 6)); + Sprite::SetScale((Sprite *)(this->_roomList[0x99]._doors + 6)); Entity::Position((Entity *)param_2); LAB_00808e0d: Vector::Vector(); @@ -596169,16 +597035,16 @@ LAB_00808e0d: Vector::__add(); RNG::Next(&local_34); RandomVector(); - fVar26 = RNG::RandomFloat(&local_34); - local_fc = (ANM2 *)(fVar26 + fVar26); + fVar25 = RNG::RandomFloat(&local_34); + local_fc = (ANM2 *)(fVar25 + fVar25); LAB_0080972b: Vector::__mul(); LAB_00809757: - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); - pGVar21 = local_f8; - ANM2::Render((ANM2 *)&local_f8->_roomList[0x99].field_0x34,pVVar17,pVVar27,pVVar28); + pGVar20 = local_f8; + ANM2::Render((ANM2 *)(local_f8->_roomList[0x99]._doors + 6),pVVar17,pVVar26,pVVar27); goto LAB_00807b3d; case 0x41: Entity::SplatColor((Entity *)param_2); @@ -596193,7 +597059,7 @@ LAB_00809757: uVar13 = Entity::GetColor((Entity *)local_104); Color::operator_assign(uVar13); FUN_004072e0(); - pAVar16 = (ANM2 *)&local_f8->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(local_f8->_roomList[0x99]._doors + 6); Sprite::SetColor((Sprite *)pAVar16); local_fc = (ANM2 *)0x3e99999a; LAB_0080a5c3: @@ -596203,15 +597069,15 @@ LAB_0080a5c3: LAB_008092c5: Entity::Position((Entity *)param_2); Isaac::GetRenderPosition(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); goto LAB_00807b32; case 0x47: case 0x6e: cVar5 = Entity::Visible((Entity *)param_2); if (cVar5 != '\0') { - local_fc = (ANM2 *)&this->_roomList[0x99].field_0x34; + local_fc = (ANM2 *)(this->_roomList[0x99]._doors + 6); Sprite::SetFrame_1(); Color::Color(); uVar13 = Entity::GetColor((Entity *)local_104); @@ -596222,12 +597088,12 @@ LAB_008092c5: pEVar3 = local_104; Entity::GetSprite((Entity *)local_104); Config::GetPillEffects(); - iVar23 = AnimationState::GetLayerFrame(); - if (iVar23 == 0) { + iVar22 = AnimationState::GetLayerFrame(); + if (iVar22 == 0) { local_15c[0] = (void *)0x3f800000; } else { - local_15c[0] = *(void **)(iVar23 + 0x18); + local_15c[0] = *(void **)(iVar22 + 0x18); } Entity::SpriteScale((Entity *)pEVar3); Vector::__mul(); @@ -596242,15 +597108,15 @@ LAB_008092c5: case 0x5d: Entity::GetSprite((Entity *)param_2); Config::GetPillEffects(); - iVar23 = AnimationState::GetLayerFrame(); - if (iVar23 != 0) { - fVar24 = (float10)Color::RO(); - local_fc = (ANM2 *)(float)(fVar24 + (float10)1.0); + iVar22 = AnimationState::GetLayerFrame(); + if (iVar22 != 0) { + fVar23 = (float10)Color::RO(); + local_fc = (ANM2 *)(float)(fVar23 + (float10)1.0); Color::Color(); uVar13 = Entity::GetColor((Entity *)local_104); Color::operator_assign(uVar13); FUN_004072e0(); - pAVar16 = (ANM2 *)&local_f8->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(local_f8->_roomList[0x99]._doors + 6); Sprite::SetColor((Sprite *)pAVar16); Entity::SpriteScale((Entity *)local_104); local_fc = (ANM2 *)0x40800000; @@ -596260,7 +597126,7 @@ LAB_008092c5: case 0x68: Entity::GetColor((Entity *)local_104); LAB_0080a338: - pAVar16 = (ANM2 *)&this->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(this->_roomList[0x99]._doors + 6); Sprite::SetColor((Sprite *)pAVar16); local_fc = (ANM2 *)0x3f000000; Vector::__mul(); @@ -596272,25 +597138,25 @@ LAB_0080a338: Vector::__add(); LAB_0080a3bc: Isaac::GetRenderPosition(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); goto LAB_00807b32; case 0x6f: - iVar23 = Entity::SubType((Entity *)param_2); - if (iVar23 != 1) break; + iVar22 = Entity::SubType((Entity *)param_2); + if (iVar22 != 1) break; Entity::GetSprite((Entity *)param_2); _empty_check_0x34(); local_fc = pAVar16; Entity::GetSprite((Entity *)param_2); Config::GetPillEffects(); - iVar23 = AnimationState::GetAnimationLength(); - local_fc = (ANM2 *)(1.0 - (float)local_fc / (float)iVar23); + iVar22 = AnimationState::GetAnimationLength(); + local_fc = (ANM2 *)(1.0 - (float)local_fc / (float)iVar22); KColor::KColor(); pSVar12 = (Sprite *)Entity::GetSprite((Entity *)param_2); Sprite::Color(pSVar12); Color::apply_to_kcolor(); - pAVar16 = (ANM2 *)&local_f8->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(local_f8->_roomList[0x99]._doors + 6); Color::Color(); Sprite::SetColor((Sprite *)pAVar16); pSVar12 = (Sprite *)Entity::GetSprite((Entity *)local_104); @@ -596306,12 +597172,12 @@ LAB_0080a3bc: Entity::GetSprite((Entity *)param_2); Config::GetPillEffects(); AnimationState::GetLayerFrame(); - fVar24 = (float10)Color::A(); - local_fc = (ANM2 *)(float)(fVar24 * (float10)6.4); + fVar23 = (float10)Color::A(); + local_fc = (ANM2 *)(float)(fVar23 * (float10)6.4); Color::Color(); - Sprite::SetColor((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetColor((Sprite *)(this->_roomList[0x99]._doors + 6)); Entity::SpriteScale((Entity *)param_2); - Sprite::SetScale((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetScale((Sprite *)(this->_roomList[0x99]._doors + 6)); Entity::Position((Entity *)param_2); Entity::PositionOffset((Entity *)param_2); Vector::__add(); @@ -596319,17 +597185,17 @@ LAB_0080a3bc: Vector::__add(); RNG::Next(&local_34); RandomVector(); - fVar26 = RNG::RandomFloat(&local_34); - local_fc = (ANM2 *)(fVar26 + fVar26); + fVar25 = RNG::RandomFloat(&local_34); + local_fc = (ANM2 *)(fVar25 + fVar25); Vector::__mul(); goto LAB_00809757; case 0x71: - Sprite::SetFrame_1((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetFrame_1((Sprite *)(this->_roomList[0x99]._doors + 6)); Color::Color(); uVar13 = Entity::GetColor((Entity *)local_104); Color::operator_assign(uVar13); FUN_004072e0(); - pAVar16 = (ANM2 *)&local_f8->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(local_f8->_roomList[0x99]._doors + 6); Sprite::SetColor((Sprite *)pAVar16); Entity::SpriteScale((Entity *)local_104); Vector::__mul(); @@ -596339,22 +597205,22 @@ LAB_0080a3bc: Vector::__add(); LAB_0080aace: Isaac::GetRenderPosition(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); - ANM2::Render(pAVar16,pVVar17,pVVar27,pVVar28); + ANM2::Render(pAVar16,pVVar17,pVVar26,pVVar27); Sprite::SetFrame_1((Sprite *)pAVar16); break; case 0x73: local_fc = (ANM2 *)Room::GetLightingAlpha((Room *)this); if (0.5 < (float)local_fc) { - fVar26 = Room::GetLightingAlpha((Room *)this); - local_fc = (ANM2 *)(fVar26 - 0.5); + fVar25 = Room::GetLightingAlpha((Room *)this); + local_fc = (ANM2 *)(fVar25 - 0.5); Color::Color(); - Sprite::SetColor((Sprite *)&this->_roomList[0x99].field_0x34); + Sprite::SetColor((Sprite *)(this->_roomList[0x99]._doors + 6)); local_fc = (ANM2 *)0x40800000; LAB_0080ae36: - pAVar16 = (ANM2 *)&this->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(this->_roomList[0x99]._doors + 6); Vector::__mul(); Sprite::SetScale((Sprite *)pAVar16); Entity::Position((Entity *)local_104); @@ -596366,8 +597232,8 @@ LAB_0080ae36: case 0x79: cVar5 = Entity::Visible((Entity *)param_2); if (cVar5 != '\0') { - fVar24 = (float10)Entity_Effect::Scale(); - local_15c[0] = (void *)(float)fVar24; + fVar23 = (float10)Entity_Effect::Scale((Entity_Effect *)param_2); + local_15c[0] = (void *)(float)fVar23; local_188.y = (float)Entity::GetSprite((Entity *)param_2); Entity::Position((Entity *)param_2); Entity::PositionOffset((Entity *)param_2); @@ -596380,8 +597246,8 @@ LAB_0080ae36: Vector::__mul(); Vector::__mul(); pVVar17 = (Vector *)Vector::__add(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pAVar16 = (ANM2 *)local_188.y; goto LAB_00807b32; } @@ -596389,13 +597255,13 @@ LAB_0080ae36: case 0x7e: cVar5 = Entity::Visible((Entity *)param_2); if (cVar5 != '\0') { - local_fc = (ANM2 *)&this->_roomList[0x99].field_0x34; + local_fc = (ANM2 *)(this->_roomList[0x99]._doors + 6); Sprite::SetFrame_1(); Color::Color(); uVar13 = Entity::GetColor((Entity *)local_104); Color::operator_assign(uVar13); FUN_004072e0(); - pAVar22 = local_fc; + pSVar12 = (Sprite *)local_fc; Sprite::SetColor((Sprite *)local_fc); pEVar3 = local_104; Entity::GetSprite((Entity *)local_104); @@ -596404,8 +597270,8 @@ LAB_0080ae36: if (cVar5 == '\0') { FUN_00407370(); local_fc = pAVar16; - iVar23 = AnimationState::GetAnimationLength(); - local_15c[0] = (void *)(1.0 - (float)local_fc / (float)iVar23); + iVar22 = AnimationState::GetAnimationLength(); + local_15c[0] = (void *)(1.0 - (float)local_fc / (float)iVar22); } else { local_15c[0] = (void *)0x3f800000; @@ -596415,18 +597281,18 @@ LAB_0080ae36: local_fc = (ANM2 *)0x3e4ccccd; Vector::__mul(); Vector::__mul(); - Sprite::SetScale((Sprite *)pAVar22); + Sprite::SetScale(pSVar12); Entity::Position((Entity *)pEVar3); Entity::PositionOffset((Entity *)local_104); Vector::__add(); LAB_0080a2c7: Isaac::GetRenderPosition(); LAB_0080a2e8: - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); - ANM2::Render(pAVar22,pVVar17,pVVar27,pVVar28); - Sprite::SetFrame_1((Sprite *)pAVar22); + ANM2::Render((ANM2 *)pSVar12,pVVar17,pVVar26,pVVar27); + Sprite::SetFrame_1(pSVar12); } break; case 0x8d: @@ -596438,39 +597304,39 @@ LAB_0080a2e8: cVar5 = FUN_00557bb0(); if (cVar5 != '\0') { Entity::GetColor((Entity *)param_2); - fVar24 = (float10)Color::A(); - local_14c = (ANM2 *)(float)fVar24; - iVar23 = Entity::FrameCount((Entity *)param_2); - if (iVar23 < 10) { - iVar23 = Entity::FrameCount((Entity *)param_2); - local_14c = (ANM2 *)(((float)iVar23 / 10.0) * (float)local_14c); + fVar23 = (float10)Color::A(); + local_14c = (ANM2 *)(float)fVar23; + iVar22 = Entity::FrameCount((Entity *)param_2); + if (iVar22 < 10) { + iVar22 = Entity::FrameCount((Entity *)param_2); + local_14c = (ANM2 *)(((float)iVar22 / 10.0) * (float)local_14c); } pEVar3 = local_104; - puVar20 = &local_f8->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(local_f8->_roomList[0x99]._doors + 6); pSVar12 = (Sprite *)Entity::GetSprite((Entity *)local_104); Sprite::Color(pSVar12); - Sprite::SetColor((Sprite *)puVar20); - pFVar11 = (Font *)Sprite::Color((Sprite *)puVar20); + Sprite::SetColor((Sprite *)pAVar16); + pFVar11 = (Font *)Sprite::Color((Sprite *)pAVar16); Font::SetLineHeightModifier(pFVar11); pSVar12 = (Sprite *)Entity::GetSprite((Entity *)pEVar3); Sprite::Scale(pSVar12); local_fc = (ANM2 *)0x3f4ccccd; Vector::__mul(); - Sprite::SetScale((Sprite *)puVar20); + Sprite::SetScale((Sprite *)pAVar16); Entity::Position((Entity *)pEVar3); Entity::PositionOffset((Entity *)local_104); Vector::__add(); Isaac::GetRenderPosition(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); - ANM2::Render((ANM2 *)puVar20,pVVar17,pVVar27,pVVar28); + ANM2::Render(pAVar16,pVVar17,pVVar26,pVVar27); std::set::insert(); } break; case 0xaf: - iVar23 = Entity::Target((Entity *)param_2); - if (iVar23 == 0) { + iVar22 = Entity::Target((Entity *)param_2); + if (iVar22 == 0) { Entity::Position((Entity *)param_2); Entity::PositionOffset((Entity *)param_2); } @@ -596481,7 +597347,7 @@ LAB_0080a2e8: Entity::PositionOffset(pEVar18); } pfVar6 = (float *)Vector::__add(); - pAVar16 = (ANM2 *)&local_f8->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(local_f8->_roomList[0x99]._doors + 6); local_110.x = *pfVar6; local_110.y = pfVar6[1]; pSVar12 = (Sprite *)Entity::GetSprite((Entity *)param_2); @@ -596493,36 +597359,36 @@ LAB_0080a2e8: Vector::__mul(); Sprite::SetScale((Sprite *)pAVar16); Isaac::GetRenderPosition(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); LAB_00807b32: - ANM2::Render(pAVar16,pVVar17,pVVar27,pVVar28); + ANM2::Render(pAVar16,pVVar17,pVVar26,pVVar27); break; case 0xb1: - iVar23 = Entity::SubType((Entity *)param_2); - if (iVar23 == 0) { + iVar22 = Entity::SubType((Entity *)param_2); + if (iVar22 == 0) { cVar5 = Entity::Visible((Entity *)param_2); if (cVar5 != '\0') { Entity::GetSprite((Entity *)param_2); Config::GetPillEffects(); local_fc = (ANM2 *)AnimationState::GetAnimationLength(); pAVar16 = (ANM2 *)Entity::GetSprite((Entity *)param_2); - iVar23 = ANM2::GetFrame(pAVar16); - if ((int)local_fc - iVar23 < 7) { - pAVar22 = (ANM2 *)&this->_roomList[0x99].field_0x34; - local_fc = (ANM2 *)((float)((int)local_fc - iVar23) / 6.0); + iVar22 = ANM2::GetFrame(pAVar16); + if ((int)local_fc - iVar22 < 7) { + pSVar12 = (Sprite *)(this->_roomList[0x99]._doors + 6); + local_fc = (ANM2 *)((float)((int)local_fc - iVar22) / 6.0); Entity::GetColor((Entity *)local_104); Color::Color(1.0 - (float)local_fc * (float)local_fc,0x32,0x32,0x32); FUN_004072e0(); - Sprite::SetColor((Sprite *)pAVar22); + Sprite::SetColor(pSVar12); pEVar3 = local_104; Entity::SpriteScale((Entity *)local_104); - Sprite::SetFrame_1((Sprite *)pAVar22); + Sprite::SetFrame_1(pSVar12); Entity::SpriteScale((Entity *)pEVar3); local_fc = (ANM2 *)0x3fc00000; Vector::__mul(); - Sprite::SetScale((Sprite *)pAVar22); + Sprite::SetScale(pSVar12); Entity::Position((Entity *)pEVar3); goto LAB_0080a2c7; } @@ -596531,25 +597397,25 @@ LAB_00807b32: } } switchD_00809dea_caseD_2: - pGVar21 = local_f8; + pGVar20 = local_f8; LAB_00807b3d: cVar5 = Entity::IsEnemy((Entity *)local_104); if (((cVar5 != '\0') && (cVar5 = FUN_004567d0(), cVar5 != '\0')) && (cVar5 = is_local_player_owned(), cVar5 != '\0')) { - puVar20 = &pGVar21->_roomList[0x99].field_0x34; + pAVar16 = (ANM2 *)(pGVar20->_roomList[0x99]._doors + 6); Color::Color(); - Sprite::SetColor((Sprite *)puVar20); - Sprite::SetScale((Sprite *)puVar20); - Sprite::SetFrame_1((Sprite *)puVar20); + Sprite::SetColor((Sprite *)pAVar16); + Sprite::SetScale((Sprite *)pAVar16); + Sprite::SetFrame_1((Sprite *)pAVar16); Entity::Position((Entity *)local_104); Vector::Vector(); Vector::__add(); Isaac::GetRenderPosition(); - pVVar28 = &g_vectorZero; pVVar27 = &g_vectorZero; + pVVar26 = &g_vectorZero; pVVar17 = (Vector *)Vector::__add(); - ANM2::Render((ANM2 *)puVar20,pVVar17,pVVar27,pVVar28); - Sprite::SetFrame_1((Sprite *)puVar20); + ANM2::Render(pAVar16,pVVar17,pVVar26,pVVar27); + Sprite::SetFrame_1((Sprite *)pAVar16); } DAT_00c7977e = 0; guard_check_icall(); @@ -596577,14 +597443,13 @@ void __thiscall Room::render_player_light(Room *this,Entity_Player *param_2,floa float *pfVar8; int iVar9; LayerState *pLVar10; - undefined4 uVar11; - ANM2 *pAVar12; - uint uVar13; + ANM2 *pAVar11; + uint uVar12; + float fVar13; float fVar14; float fVar15; float fVar16; - float fVar17; - double dVar18; + double dVar17; undefined4 local_88 [8]; undefined4 local_68; undefined4 uStack_64; @@ -596601,24 +597466,23 @@ void __thiscall Room::render_player_light(Room *this,Entity_Player *param_2,floa undefined4 local_38; undefined4 local_34; RNG local_30; - undefined8 local_2c; - undefined4 local_24; float local_20; Room *local_1c; Vector local_18; float local_10; float local_8; - local_30 = (RNG)(g_game->_frameCount + param_2->_initSeed); + local_30._seed = g_game->_frameCount + param_2->_initSeed; EVar2 = param_2->_minecart; - local_24 = 0x19; - local_2c = 0x1b00000005; + local_30._shift3 = 0x19; + local_30._shift1 = 5; + local_30._shift2 = 0x1b; local_20 = *param_3; - fVar14 = param_3[1]; + fVar13 = param_3[1]; local_1c = this; if (EVar2 == (EntityPtr)0x0) { - fVar15 = g_vectorZero.x; - fVar16 = g_vectorZero.y; + fVar14 = g_vectorZero.x; + fVar15 = g_vectorZero.y; } else { if ((*(int *)((int)EVar2 + 0x7c) == 0) || @@ -596626,22 +597490,22 @@ void __thiscall Room::render_player_light(Room *this,Entity_Player *param_2,floa pVVar7 == (Vector *)0x0)) { pVVar7 = &g_vectorZero; } - fVar15 = pVVar7->x; - fVar16 = pVVar7->y; + fVar14 = pVVar7->x; + fVar15 = pVVar7->y; } iVar9 = param_2->_type; - local_20 = local_20 + fVar15; - fVar14 = fVar14 + fVar16; + local_20 = local_20 + fVar14; + fVar13 = fVar13 + fVar15; if (iVar9 == 1) { local_8 = g_displayPixelRatio * g_screenPointScale; local_10 = ((g_screenWidth - 338.0) * 0.5 + ((param_2->_pos).x - 60.0) * 0.65) * local_8 + 0.5; - dVar18 = floor((double)local_10); - local_10 = (float)dVar18 / local_8; + dVar17 = floor((double)local_10); + local_10 = (float)dVar17 / local_8; local_18.y = ((g_screenHeight - 182.0) * 0.5 + ((param_2->_pos).y - 140.0) * 0.65) * local_8 + 0.5; - dVar18 = floor((double)local_18.y); + dVar17 = floor((double)local_18.y); local_18.x = local_10 + local_20; - param_3 = (float *)(fVar14 + (float)dVar18 / local_8); + param_3 = (float *)(fVar13 + (float)dVar17 / local_8); local_18.y = (float)param_3; local_10 = local_18.x; iVar9 = TemporaryEffects::GetNullEffectNum(¶m_2->_temporaryeffects,0x4a); @@ -596650,67 +597514,67 @@ void __thiscall Room::render_player_light(Room *this,Entity_Player *param_2,floa local_8 = 4.0; } bVar6 = TemporaryEffects::HasNullEffect(¶m_2->_temporaryeffects,0x4a); - uVar13 = g_graphicsManager_flags; + uVar12 = g_graphicsManager_flags; if (bVar6 != 0) { - pAVar12 = &this->_lightSprite; - pLVar10 = ANM2::GetLayer(pAVar12,(byte *)0x0); + pAVar11 = &this->_lightSprite; + pLVar10 = ANM2::GetLayer(pAVar11,(byte *)0x0); local_5c = 0x3ecccccd; local_4c = 0; uStack_48 = 0; uStack_44 = 0; uStack_40 = 0; - uVar11 = 1; - if ((uVar13 & 4) == 0) { - uVar11 = 6; + iVar9 = 1; + if ((uVar12 & 4) == 0) { + iVar9 = 6; } - *(undefined4 *)&pLVar10->field_0x7c = uVar11; - *(undefined4 *)&pLVar10->field_0x78 = 0; - *(undefined4 *)&pLVar10->field_0x80 = 1; + pLVar10->_blendMode[1] = iVar9; + pLVar10->_blendMode[0] = 0; + pLVar10->_blendMode[2] = 1; fStack_50 = local_8 * 0.07 + 0.2; - *(undefined4 *)&pLVar10->field_0x84 = 1; - *(undefined4 *)&pLVar10->field_0x88 = 1; + pLVar10->_blendMode[3] = 1; + pLVar10->_blendMode[4] = 1; uStack_58 = 0x3f19999a; uStack_54 = 0x3f800000; local_3c = 0; local_38 = 0; local_34 = 0; - Sprite::SetColor((Sprite *)pAVar12); - fVar15 = local_8 * 0.5 + 1.0; - fVar14 = fVar15 * g_vectorOne.x; - (local_1c->_lightSprite)._scale.y = fVar15 * g_vectorOne.y; - (local_1c->_lightSprite)._scale.x = fVar14; - ANM2::Render(pAVar12,&local_18,&g_vectorZero,&g_vectorZero); - uVar13 = g_graphicsManager_flags; - pLVar10 = ANM2::GetLayer(pAVar12,(byte *)0x0); - uVar11 = 1; + Sprite::SetColor((Sprite *)pAVar11); + fVar14 = local_8 * 0.5 + 1.0; + fVar13 = fVar14 * g_vectorOne.x; + (local_1c->_lightSprite)._scale.y = fVar14 * g_vectorOne.y; + (local_1c->_lightSprite)._scale.x = fVar13; + ANM2::Render(pAVar11,&local_18,&g_vectorZero,&g_vectorZero); + uVar12 = g_graphicsManager_flags; + pLVar10 = ANM2::GetLayer(pAVar11,(byte *)0x0); + iVar9 = 1; param_3 = (float *)local_18.y; - if ((uVar13 & 4) == 0) { - uVar11 = 6; + if ((uVar12 & 4) == 0) { + iVar9 = 6; } - *(undefined4 *)&pLVar10->field_0x78 = 0; - *(undefined4 *)&pLVar10->field_0x7c = uVar11; - *(undefined4 *)&pLVar10->field_0x80 = 7; - *(undefined4 *)&pLVar10->field_0x84 = 1; - *(undefined4 *)&pLVar10->field_0x88 = 7; + pLVar10->_blendMode[0] = 0; + pLVar10->_blendMode[1] = iVar9; + pLVar10->_blendMode[2] = 7; + pLVar10->_blendMode[3] = 1; + pLVar10->_blendMode[4] = 7; local_10 = local_18.x; this = local_1c; } - uVar13 = g_graphicsManager_flags; + uVar12 = g_graphicsManager_flags; if (param_2->_babySkin == 0x42) { - pAVar12 = &this->_lightSprite; - pLVar10 = ANM2::GetLayer(pAVar12,(byte *)0x0); + pAVar11 = &this->_lightSprite; + pLVar10 = ANM2::GetLayer(pAVar11,(byte *)0x0); local_3c = 0; local_38 = 0; - uVar11 = 1; + iVar9 = 1; local_34 = 0; - if ((uVar13 & 4) == 0) { - uVar11 = 6; + if ((uVar12 & 4) == 0) { + iVar9 = 6; } - *(undefined4 *)&pLVar10->field_0x78 = 0; - *(undefined4 *)&pLVar10->field_0x7c = uVar11; - *(undefined4 *)&pLVar10->field_0x80 = 1; - *(undefined4 *)&pLVar10->field_0x84 = 1; - *(undefined4 *)&pLVar10->field_0x88 = 1; + pLVar10->_blendMode[0] = 0; + pLVar10->_blendMode[1] = iVar9; + pLVar10->_blendMode[2] = 1; + pLVar10->_blendMode[3] = 1; + pLVar10->_blendMode[4] = 1; local_4c = 0; uStack_48 = 0; uStack_44 = 0; @@ -596719,23 +597583,23 @@ void __thiscall Room::render_player_light(Room *this,Entity_Player *param_2,floa uStack_58 = 0x3f800000; uStack_54 = 0x3f666666; fStack_50 = 1.0; - Sprite::SetColor((Sprite *)pAVar12); - fVar14 = g_vectorOne.y * 2.0; + Sprite::SetColor((Sprite *)pAVar11); + fVar13 = g_vectorOne.y * 2.0; (local_1c->_lightSprite)._scale.x = g_vectorOne.x * 2.0; - (local_1c->_lightSprite)._scale.y = fVar14; - ANM2::Render(pAVar12,&local_18,&g_vectorZero,&g_vectorZero); - uVar13 = g_graphicsManager_flags; - pLVar10 = ANM2::GetLayer(pAVar12,(byte *)0x0); - uVar11 = 1; + (local_1c->_lightSprite)._scale.y = fVar13; + ANM2::Render(pAVar11,&local_18,&g_vectorZero,&g_vectorZero); + uVar12 = g_graphicsManager_flags; + pLVar10 = ANM2::GetLayer(pAVar11,(byte *)0x0); + iVar9 = 1; param_3 = (float *)local_18.y; - if ((uVar13 & 4) == 0) { - uVar11 = 6; + if ((uVar12 & 4) == 0) { + iVar9 = 6; } - *(undefined4 *)&pLVar10->field_0x78 = 0; - *(undefined4 *)&pLVar10->field_0x7c = uVar11; - *(undefined4 *)&pLVar10->field_0x80 = 7; - *(undefined4 *)&pLVar10->field_0x84 = 1; - *(undefined4 *)&pLVar10->field_0x88 = 7; + pLVar10->_blendMode[0] = 0; + pLVar10->_blendMode[1] = iVar9; + pLVar10->_blendMode[2] = 7; + pLVar10->_blendMode[3] = 1; + pLVar10->_blendMode[4] = 7; local_10 = local_18.x; } pvVar3 = (g_manager->_itemConfig)._collectibles._begin; @@ -596778,9 +597642,9 @@ void __thiscall Room::render_player_light(Room *this,Entity_Player *param_2,floa (pRVar5->_lightSprite)._scale.y = g_vectorOne.y; RNG::Next(&local_30); pfVar8 = (float *)RandomVector(); - fVar14 = RNG::RandomFloat(&local_30); - local_18.y = (fVar14 + fVar14) * pfVar8[1]; - local_18.x = (fVar14 + fVar14) * *pfVar8; + fVar13 = RNG::RandomFloat(&local_30); + local_18.y = (fVar13 + fVar13) * pfVar8[1]; + local_18.x = (fVar13 + fVar13) * *pfVar8; } else { pRVar5 = local_1c; @@ -596805,20 +597669,20 @@ void __thiscall Room::render_player_light(Room *this,Entity_Player *param_2,floa (local_1c->_lightSprite)._scale.y = g_vectorOne.y; RNG::Next(&local_30); pfVar8 = (float *)RandomVector(); - if (local_30 == (RNG)0x0) { + if (local_30._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar13 = (uint)local_30 >> ((byte)local_2c & 0x1f) ^ (uint)local_30; - uVar13 = uVar13 << ((byte)((ulonglong)local_2c >> 0x20) & 0x1f) ^ uVar13; - uVar13 = uVar13 >> ((byte)local_24 & 0x1f) ^ uVar13; - local_18.x = (float)((double)(int)uVar13 + __uint_to_double_fixup[-((int)uVar13 >> 0x1f)]) * + uVar12 = (uint)local_30._seed >> ((byte)local_30._shift1 & 0x1f) ^ local_30._seed; + uVar12 = uVar12 << ((byte)local_30._shift2 & 0x1f) ^ uVar12; + uVar12 = uVar12 >> ((byte)local_30._shift3 & 0x1f) ^ uVar12; + local_18.x = (float)((double)(int)uVar12 + __uint_to_double_fixup[-((int)uVar12 >> 0x1f)]) * 2.3283062e-10; local_18.x = local_18.x + local_18.x; local_18.y = local_18.x * pfVar8[1]; local_18.x = local_18.x * *pfVar8; } - pAVar12 = &pRVar5->_lightSprite; + pAVar11 = &pRVar5->_lightSprite; local_18.y = local_18.y + (float)param_3; local_18.x = local_18.x + local_10; } @@ -596826,7 +597690,7 @@ void __thiscall Room::render_player_light(Room *this,Entity_Player *param_2,floa if ((g_manager->_optionsConfig)._enableBulletVisibility == 0) { return; } - fVar15 = (float)g_game->_frameCount * 0.8; + fVar14 = (float)g_game->_frameCount * 0.8; sin(); local_3c = 0; local_38 = 0; @@ -596835,27 +597699,27 @@ void __thiscall Room::render_player_light(Room *this,Entity_Player *param_2,floa uStack_44 = 0; uStack_40 = 0; local_34 = 0; - fVar16 = (fVar15 * 0.5 + 0.5) * 0.20000002 + 0.1; + fVar15 = (fVar14 * 0.5 + 0.5) * 0.20000002 + 0.1; local_5c = 0x3f800000; uStack_58 = 0x3f800000; uStack_54 = 0x3f800000; fStack_50 = 0.4; Sprite::SetColor((Sprite *)&this->_lightSprite); - fVar15 = g_displayPixelRatio; - fVar17 = fVar16 * g_vectorOne.x; - (this->_lightSprite)._scale.y = fVar16 * g_vectorOne.y; - (this->_lightSprite)._scale.x = fVar17; - fVar15 = fVar15 * g_screenPointScale; + fVar14 = g_displayPixelRatio; + fVar16 = fVar15 * g_vectorOne.x; + (this->_lightSprite)._scale.y = fVar15 * g_vectorOne.y; + (this->_lightSprite)._scale.x = fVar16; + fVar14 = fVar14 * g_screenPointScale; local_8 = ((((param_2->_pos).x + (param_2->_posOffset).x) - 60.0) * 0.65 + - (g_screenWidth - 338.0) * 0.5) * fVar15 + 0.5; - dVar18 = floor((double)local_8); - local_18.x = (float)dVar18 / fVar15 + local_20; + (g_screenWidth - 338.0) * 0.5) * fVar14 + 0.5; + dVar17 = floor((double)local_8); + local_18.x = (float)dVar17 / fVar14 + local_20; local_8 = ((((param_2->_pos).y + (param_2->_posOffset).y) - 140.0) * 0.65 + - (g_screenHeight - 182.0) * 0.5) * fVar15 + 0.5; - dVar18 = floor((double)local_8); - local_8 = (float)dVar18; - pAVar12 = &this->_lightSprite; - local_18.y = local_8 / fVar15 + fVar14; + (g_screenHeight - 182.0) * 0.5) * fVar14 + 0.5; + dVar17 = floor((double)local_8); + local_8 = (float)dVar17; + pAVar11 = &this->_lightSprite; + local_18.y = local_8 / fVar14 + fVar13; } else { if (iVar9 != 0x328) { @@ -596865,15 +597729,15 @@ void __thiscall Room::render_player_light(Room *this,Entity_Player *param_2,floa return; } local_1c = (Room *)(g_displayPixelRatio * g_screenPointScale); - dVar18 = floor((double)(((((param_2->_pos).x + 0.0) - 60.0) * 0.65 + + dVar17 = floor((double)(((((param_2->_pos).x + 0.0) - 60.0) * 0.65 + (g_screenWidth - 338.0) * 0.5) * (float)local_1c + 0.5)); - fVar15 = (float)dVar18 / (float)local_1c; + fVar14 = (float)dVar17 / (float)local_1c; local_8 = ((((param_2->_pos).y - 16.0) - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)local_1c + 0.5; - dVar18 = floor((double)local_8); - local_8 = (float)dVar18; - fVar15 = fVar15 + local_20; - fVar16 = local_8 / (float)local_1c; + dVar17 = floor((double)local_8); + local_8 = (float)dVar17; + fVar14 = fVar14 + local_20; + fVar15 = local_8 / (float)local_1c; local_3c = 0; local_38 = 0; local_34 = 0; @@ -596888,23 +597752,23 @@ void __thiscall Room::render_player_light(Room *this,Entity_Player *param_2,floa Sprite::SetColor((Sprite *)&this->_lightSprite); RNG::Next(&local_30); pfVar8 = (float *)RandomVector(); - if (local_30 == (RNG)0x0) { + if (local_30._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar13 = (uint)local_30 >> ((byte)local_2c & 0x1f) ^ (uint)local_30; - uVar13 = uVar13 << ((byte)((ulonglong)local_2c >> 0x20) & 0x1f) ^ uVar13; - pAVar12 = &this->_lightSprite; - uVar13 = uVar13 >> ((byte)local_24 & 0x1f) ^ uVar13; - fVar17 = (float)((double)(int)uVar13 + __uint_to_double_fixup[-((int)uVar13 >> 0x1f)]) * + uVar12 = (uint)local_30._seed >> ((byte)local_30._shift1 & 0x1f) ^ local_30._seed; + uVar12 = uVar12 << ((byte)local_30._shift2 & 0x1f) ^ uVar12; + pAVar11 = &this->_lightSprite; + uVar12 = uVar12 >> ((byte)local_30._shift3 & 0x1f) ^ uVar12; + fVar16 = (float)((double)(int)uVar12 + __uint_to_double_fixup[-((int)uVar12 >> 0x1f)]) * 2.3283062e-10; - local_18.y = fVar17 * pfVar8[1] + fVar14 + fVar16; - local_18.x = fVar17 * *pfVar8 + fVar15; - fVar14 = g_vectorOne.y * 0.5; + local_18.y = fVar16 * pfVar8[1] + fVar13 + fVar15; + local_18.x = fVar16 * *pfVar8 + fVar14; + fVar13 = g_vectorOne.y * 0.5; (this->_lightSprite)._scale.x = g_vectorOne.x * 0.5; - (this->_lightSprite)._scale.y = fVar14; + (this->_lightSprite)._scale.y = fVar13; } - ANM2::Render(pAVar12,&local_18,&g_vectorZero,&g_vectorZero); + ANM2::Render(pAVar11,&local_18,&g_vectorZero,&g_vectorZero); return; } @@ -596920,48 +597784,46 @@ void __thiscall Room::render_grid_entity_light(Room *this,GridEntity *param_2,fl { ANM2 *this_00; int *piVar1; - undefined4 uVar2; - GridEntity *pGVar3; - byte bVar4; - char cVar5; - int iVar6; - uint uVar7; - int iVar8; - RoomDescriptor *pRVar9; - LayerState *pLVar10; - float *pfVar11; + GridEntity *pGVar2; + byte bVar3; + char cVar4; + int iVar5; + uint uVar6; + int iVar7; + RoomDescriptor *pRVar8; + LayerState *pLVar9; + float *pfVar10; Vector *position; byte unused; byte unused_00; byte unused_01; - Game *pGVar12; - float fVar13; - double dVar14; - float fVar15; + Game *pGVar11; + float fVar12; + double dVar13; + float fVar14; RNG local_3c; - undefined8 uStack_38; - undefined4 uStack_30; Vector local_20; Vector local_18; float *local_10; float local_8; - pGVar3 = param_2; - pGVar12 = g_game; - uStack_38 = 0x1b00000005; + pGVar2 = param_2; + pGVar11 = g_game; + local_3c._shift1 = 5; + local_3c._shift2 = 0x1b; local_10 = (float *)g_game->_frameCount; - local_3c = (RNG)((param_2->_desc)._spawnSeed + (int)local_10); - uStack_30 = 0x19; + local_3c._seed = (param_2->_desc)._spawnSeed + (int)local_10; + local_3c._shift3 = 0x19; local_20.y = (float)this; - iVar6 = Level::get_secret_exit_kind(); + iVar5 = Level::get_secret_exit_kind(); switch((param_2->_desc)._type) { case 7: - iVar6 = this->_backdropType; - if (iVar6 == 0x20) { + iVar5 = this->_backdropType; + if (iVar5 == 0x20) { if ((*(uint *)((int)this->_descriptor + 0x44) >> 5 & 1) != 0) { - fVar13 = (float)(int)local_10 * 0.1; + fVar12 = (float)(int)local_10 * 0.1; sin(); - local_20.y = fVar13 * 0.2 + 0.8; + local_20.y = fVar12 * 0.2 + 0.8; local_8 = (local_20.y * 0.1 + 0.9) * this->_lavaIntensity; if (1 < (uint)(param_2->_desc)._state) { local_8 = local_8 * 0.5; @@ -596969,111 +597831,111 @@ void __thiscall Room::render_grid_entity_light(Room *this,GridEntity *param_2,fl if (local_8 <= 0.0) { return; } - pfVar11 = (float *)GridEntity::Position(param_2); - fVar13 = g_displayPixelRatio * g_screenPointScale; - local_10 = (float *)(((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * fVar13 + + pfVar10 = (float *)GridEntity::Position(param_2); + fVar12 = g_displayPixelRatio * g_screenPointScale; + local_10 = (float *)(((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * fVar12 + 0.5); - dVar14 = floor((double)(float)local_10); - local_18.y = (float)dVar14 / fVar13; - local_10 = (float *)(((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * fVar13 + dVar13 = floor((double)(float)local_10); + local_18.y = (float)dVar13 / fVar12; + local_10 = (float *)(((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * fVar12 + 0.5); - dVar14 = floor((double)(float)local_10); - local_10 = (float *)(float)dVar14; + dVar13 = floor((double)(float)local_10); + local_10 = (float *)(float)dVar13; local_18.x = local_18.y + *param_3; - local_18.y = (float)local_10 / fVar13 + param_3[1]; + local_18.y = (float)local_10 / fVar12 + param_3[1]; Color::Color(); Sprite::SetColor((Sprite *)&this->_lightSprite); position = &local_18; - fVar13 = g_vectorOne.y * 0.8; + fVar12 = g_vectorOne.y * 0.8; (this->_lightSprite)._scale.x = g_vectorOne.x * 0.8; - (this->_lightSprite)._scale.y = fVar13; + (this->_lightSprite)._scale.y = fVar12; goto LAB_0080e2d3; } } - else if (((iVar6 == 0x3a) || (iVar6 == 0x3b)) && + else if (((iVar5 == 0x3a) || (iVar5 == 0x3b)) && ((*(uint *)((int)this->_descriptor + 0x44) >> 5 & 1) != 0)) goto LAB_0080cac5; - bVar4 = Seeds::HasSeedEffect(&pGVar12->_seedEffects,0x4f); - if (bVar4 == 0) { + bVar3 = Seeds::HasSeedEffect(&pGVar11->_seedEffects,0x4f); + if (bVar3 == 0) { return; } - uVar7 = Game::GetStageID(pGVar12,unused); - if (uVar7 != 6) { + uVar6 = Game::GetStageID(pGVar11,unused); + if (uVar6 != 6) { return; } if (this->_waterAmount <= 0.5) { return; } - pGVar12 = g_game; + pGVar11 = g_game; LAB_0080cac5: - fVar13 = (float)pGVar12->_frameCount * 0.1; + fVar12 = (float)pGVar11->_frameCount * 0.1; sin(); - local_8 = fVar13 * 0.2 + 0.8; + local_8 = fVar12 * 0.2 + 0.8; param_2 = (GridEntity *)this->_lavaIntensity; - bVar4 = Seeds::HasSeedEffect(&pGVar12->_seedEffects,0x4f); - if ((bVar4 != 0) && (uVar7 = Game::GetStageID(pGVar12,unused_00), uVar7 == 6)) { + bVar3 = Seeds::HasSeedEffect(&pGVar11->_seedEffects,0x4f); + if ((bVar3 != 0) && (uVar6 = Game::GetStageID(pGVar11,unused_00), uVar6 == 6)) { param_2 = (GridEntity *)0x3f800000; } - fVar13 = (local_8 * 0.1 + 0.9) * (float)param_2; - if (1 < (uint)(pGVar3->_desc)._state) { - fVar13 = fVar13 * 0.5; + fVar12 = (local_8 * 0.1 + 0.9) * (float)param_2; + if (1 < (uint)(pGVar2->_desc)._state) { + fVar12 = fVar12 * 0.5; } - if (fVar13 <= 0.0) { + if (fVar12 <= 0.0) { return; } - pfVar11 = (float *)GridEntity::Position(pGVar3); + pfVar10 = (float *)GridEntity::Position(pGVar2); local_10 = (float *)(g_displayPixelRatio * g_screenPointScale); - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * (float)local_10 + 0.5; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / (float)local_10; - local_20.y = ((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)local_10 + + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * (float)local_10 + 0.5; + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / (float)local_10; + local_20.y = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)local_10 + 0.5; - dVar14 = floor((double)local_20.y); + dVar13 = floor((double)local_20.y); local_20.x = local_18.y + *param_3; - local_20.y = (float)dVar14 / (float)local_10 + param_3[1]; - pLVar10 = ANM2::GetLayer(&this->_lightSprite,(byte *)0x0); - pGVar12 = g_game; - *(undefined4 *)&pLVar10->field_0x78 = DAT_00c35b6c; - *(undefined4 *)&pLVar10->field_0x7c = DAT_00c35b70; - *(undefined4 *)&pLVar10->field_0x80 = DAT_00c35b74; - *(undefined4 *)&pLVar10->field_0x84 = DAT_00c35b78; - *(undefined4 *)&pLVar10->field_0x88 = DAT_00c35b7c; - bVar4 = Seeds::HasSeedEffect(&pGVar12->_seedEffects,0x4f); - if (bVar4 != 0) { - Game::GetStageID(pGVar12,unused_01); + local_20.y = (float)dVar13 / (float)local_10 + param_3[1]; + pLVar9 = ANM2::GetLayer(&this->_lightSprite,(byte *)0x0); + pGVar11 = g_game; + pLVar9->_blendMode[0] = DAT_00c35b6c; + pLVar9->_blendMode[1] = DAT_00c35b70; + pLVar9->_blendMode[2] = DAT_00c35b74; + pLVar9->_blendMode[3] = DAT_00c35b78; + pLVar9->_blendMode[4] = DAT_00c35b7c; + bVar3 = Seeds::HasSeedEffect(&pGVar11->_seedEffects,0x4f); + if (bVar3 != 0) { + Game::GetStageID(pGVar11,unused_01); } Color::Color(); Sprite::SetColor((Sprite *)&this->_lightSprite); - fVar13 = g_vectorOne.y * 0.8; + fVar12 = g_vectorOne.y * 0.8; (this->_lightSprite)._scale.x = g_vectorOne.x * 0.8; - (this->_lightSprite)._scale.y = fVar13; + (this->_lightSprite)._scale.y = fVar12; ANM2::Render(&this->_lightSprite,&local_20,&g_vectorZero,&g_vectorZero); - pLVar10 = ANM2::GetLayer(&this->_lightSprite,(byte *)0x0); - *(undefined4 *)&pLVar10->field_0x78 = DAT_00c354ac; - *(undefined4 *)&pLVar10->field_0x7c = DAT_00c354b0; - *(undefined4 *)&pLVar10->field_0x80 = DAT_00c354b4; - *(undefined4 *)&pLVar10->field_0x84 = DAT_00c354b8; - *(undefined4 *)&pLVar10->field_0x88 = DAT_00c354bc; + pLVar9 = ANM2::GetLayer(&this->_lightSprite,(byte *)0x0); + pLVar9->_blendMode[0] = DAT_00c354ac; + pLVar9->_blendMode[1] = DAT_00c354b0; + pLVar9->_blendMode[2] = DAT_00c354b4; + pLVar9->_blendMode[3] = DAT_00c354b8; + pLVar9->_blendMode[4] = DAT_00c354bc; return; default: goto switchD_0080c86a_caseD_8; case 0x10: if (param_2[1]._desc._state == 0x1b) { - if (iVar6 == 2) { + if (iVar5 == 2) { if ((param_2->_desc)._variant == 8) { Color::Color(); Sprite::SetColor((Sprite *)&this->_lightSprite); (this->_lightSprite)._scale.x = g_vectorOne.x; (this->_lightSprite)._scale.y = g_vectorOne.y; - pfVar11 = (float *)GridEntity::Position(param_2); + pfVar10 = (float *)GridEntity::Position(param_2); param_2 = (GridEntity *)(g_displayPixelRatio * g_screenPointScale); - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * (float)param_2 + + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / (float)param_2; - local_20.y = ((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / (float)param_2; + local_20.y = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - fVar13 = (float)dVar14; + dVar13 = floor((double)local_20.y); + fVar12 = (float)dVar13; } else { if ((param_2->_desc)._state != 4) { @@ -597081,53 +597943,53 @@ LAB_0080cac5: } Color::Color(); Sprite::SetColor((Sprite *)&this->_lightSprite); - fVar13 = g_vectorOne.y * 0.5; + fVar12 = g_vectorOne.y * 0.5; (this->_lightSprite)._scale.x = g_vectorOne.x * 0.5; - (this->_lightSprite)._scale.y = fVar13; - pfVar11 = (float *)GridEntity::Position(param_2); + (this->_lightSprite)._scale.y = fVar12; + pfVar10 = (float *)GridEntity::Position(param_2); param_2 = (GridEntity *)(g_displayPixelRatio * g_screenPointScale); - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * (float)param_2 + + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / (float)param_2; - local_20.y = ((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / (float)param_2; + local_20.y = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - fVar13 = (float)dVar14; + dVar13 = floor((double)local_20.y); + fVar12 = (float)dVar13; } } else { - if (iVar6 != 3) { + if (iVar5 != 3) { return; } - iVar6 = (param_2->_desc)._variant; - if (iVar6 == 1) { + iVar5 = (param_2->_desc)._variant; + if (iVar5 == 1) { return; } - bVar4 = ANM2::IsPlaying(¶m_2->_sprite,(byte *)"KeyOpen"); - if ((bVar4 != 0) && (iVar8 = ANM2::GetFrame(¶m_2->_sprite), iVar8 < 0x13)) { + bVar3 = ANM2::IsPlaying(¶m_2->_sprite,(byte *)"KeyOpen"); + if ((bVar3 != 0) && (iVar7 = ANM2::GetFrame(¶m_2->_sprite), iVar7 < 0x13)) { return; } - if (iVar6 != 8) { + if (iVar5 != 8) { return; } Color::Color(); Sprite::SetColor((Sprite *)&this->_lightSprite); (this->_lightSprite)._scale.x = g_vectorOne.x; (this->_lightSprite)._scale.y = g_vectorOne.y; - pfVar11 = (float *)GridEntity::Position(param_2); + pfVar10 = (float *)GridEntity::Position(param_2); param_2 = (GridEntity *)(g_displayPixelRatio * g_screenPointScale); - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * (float)param_2 + + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / (float)param_2; - local_20.y = ((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / (float)param_2; + local_20.y = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - fVar13 = (float)dVar14; + dVar13 = floor((double)local_20.y); + fVar12 = (float)dVar13; } } - else if ((pGVar12->_currentRoomIdx == -10) && (iVar6 == 4)) { + else if ((pGVar11->_currentRoomIdx == -10) && (iVar5 == 4)) { if ((param_2->_desc)._variant != 8) { return; } @@ -597135,22 +597997,22 @@ LAB_0080cac5: Sprite::SetColor((Sprite *)&this->_lightSprite); (this->_lightSprite)._scale.x = g_vectorOne.x; (this->_lightSprite)._scale.y = g_vectorOne.y; - pfVar11 = (float *)GridEntity::Position(param_2); + pfVar10 = (float *)GridEntity::Position(param_2); param_2 = (GridEntity *)(g_displayPixelRatio * g_screenPointScale); - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * (float)param_2 + 0.5 + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * (float)param_2 + 0.5 ; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / (float)param_2; - local_20.y = ((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / (float)param_2; + local_20.y = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - fVar13 = (float)dVar14; + dVar13 = floor((double)local_20.y); + fVar12 = (float)dVar13; } else { - piVar1 = *(int **)(*(int *)((int)pGVar12->_room + 4) + 0x10); + piVar1 = *(int **)(*(int *)((int)pGVar11->_room + 4) + 0x10); if ((piVar1 == (int *)0x0) || (*piVar1 != 0x23)) { - pRVar9 = Level::GetRoomByIdx((Level *)pGVar12,(int)param_2[2]._sprite._color._tint[1],-1); - if ((pRVar9->Flags & 0x40000U) == 0) { + pRVar8 = Level::GetRoomByIdx((Level *)pGVar11,(int)param_2[2]._sprite._color._tint[1],-1); + if ((pRVar8->Flags & 0x40000U) == 0) { if ((((uint)param_2[2]._sprite._color._colorize[0] >> 5 & 1) == 0) || (g_game->_currentDimensionIdx != 1)) { if (param_2[1]._desc._state != 0xf) { @@ -597163,24 +598025,24 @@ LAB_0080cac5: Sprite::SetColor((Sprite *)&this->_lightSprite); (this->_lightSprite)._scale.x = g_vectorOne.x; (this->_lightSprite)._scale.y = g_vectorOne.y; - pfVar11 = (float *)GridEntity::Position(param_2); + pfVar10 = (float *)GridEntity::Position(param_2); param_2 = (GridEntity *)(g_displayPixelRatio * g_screenPointScale); - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * (float)param_2 + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / (float)param_2; - local_20.y = ((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / (float)param_2; + local_20.y = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - fVar13 = (float)dVar14; + dVar13 = floor((double)local_20.y); + fVar12 = (float)dVar13; } else { - pLVar10 = ANM2::GetLayer(¶m_2->_sprite,&DAT_00000005); - if (pLVar10->_visible == 0) { + pLVar9 = ANM2::GetLayer(¶m_2->_sprite,&DAT_00000005); + if (pLVar9->_visible == 0) { return; } - pLVar10 = ANM2::GetLayer(¶m_2->_sprite,&DAT_00000005); - if (*(float *)&pLVar10->field_0x54 <= 0.0) { + pLVar9 = ANM2::GetLayer(¶m_2->_sprite,&DAT_00000005); + if ((pLVar9->_color)._tint[3] <= 0.0) { return; } ANM2::GetLayer(¶m_2->_sprite,&DAT_00000005); @@ -597188,166 +598050,166 @@ LAB_0080cac5: Sprite::SetColor((Sprite *)&this->_lightSprite); (this->_lightSprite)._scale.x = g_vectorOne.x; (this->_lightSprite)._scale.y = g_vectorOne.y; - pfVar11 = (float *)GridEntity::Position(param_2); + pfVar10 = (float *)GridEntity::Position(param_2); param_2 = (GridEntity *)(g_displayPixelRatio * g_screenPointScale); - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * (float)param_2 + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / (float)param_2; - local_20.y = ((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / (float)param_2; + local_20.y = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - fVar13 = (float)dVar14; + dVar13 = floor((double)local_20.y); + fVar12 = (float)dVar13; } } else { Color::Color(); Sprite::SetColor((Sprite *)&this->_lightSprite); - fVar13 = g_vectorOne.y * 0.7; + fVar12 = g_vectorOne.y * 0.7; (this->_lightSprite)._scale.x = g_vectorOne.x * 0.7; - (this->_lightSprite)._scale.y = fVar13; - pfVar11 = (float *)GridEntity::Position(param_2); + (this->_lightSprite)._scale.y = fVar12; + pfVar10 = (float *)GridEntity::Position(param_2); param_2 = (GridEntity *)(g_displayPixelRatio * g_screenPointScale); - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * (float)param_2 + + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / (float)param_2; - local_20.y = ((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / (float)param_2; + local_20.y = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - fVar13 = (float)dVar14; + dVar13 = floor((double)local_20.y); + fVar12 = (float)dVar13; } } else { - pLVar10 = ANM2::GetLayer(¶m_2->_sprite,(byte *)0x3); - if (pLVar10->_visible == 0) { + pLVar9 = ANM2::GetLayer(¶m_2->_sprite,(byte *)0x3); + if (pLVar9->_visible == 0) { return; } ANM2::GetLayer(¶m_2->_sprite,(byte *)0x3); Sprite::SetColor((Sprite *)&this->_lightSprite); (this->_lightSprite)._scale.x = g_vectorOne.x; (this->_lightSprite)._scale.y = g_vectorOne.y; - pfVar11 = (float *)GridEntity::Position(param_2); + pfVar10 = (float *)GridEntity::Position(param_2); param_2 = (GridEntity *)(g_displayPixelRatio * g_screenPointScale); - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * (float)param_2 + + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / (float)param_2; - local_20.y = ((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / (float)param_2; + local_20.y = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - fVar13 = (float)dVar14; + dVar13 = floor((double)local_20.y); + fVar12 = (float)dVar13; } } break; case 0x11: - if ((this->_roomType != 0x1b) || (iVar6 != 2)) { - cVar5 = IsCurrentRoomLastBoss(); - if (cVar5 == '\0') { + if ((this->_roomType != 0x1b) || (iVar5 != 2)) { + cVar4 = IsCurrentRoomLastBoss(); + if (cVar4 == '\0') { return; } - cVar5 = Level::IsMausoleumHeartStage(); - if (cVar5 == '\0') { + cVar4 = Level::IsMausoleumHeartStage(); + if (cVar4 == '\0') { return; } this_00 = &this->_lightSprite; - pLVar10 = ANM2::GetLayer(this_00,(byte *)0x0); - local_3c = *(RNG *)&pLVar10->field_0x78; - uStack_38._0_4_ = *(undefined4 *)&pLVar10->field_0x7c; - uStack_38._4_4_ = *(undefined4 *)&pLVar10->field_0x80; - uStack_30 = *(undefined4 *)&pLVar10->field_0x84; - uVar2 = *(undefined4 *)&pLVar10->field_0x88; - pLVar10 = ANM2::GetLayer(this_00,(byte *)0x0); - *(undefined4 *)&pLVar10->field_0x78 = DAT_00c35b6c; - *(undefined4 *)&pLVar10->field_0x7c = DAT_00c35b70; - *(undefined4 *)&pLVar10->field_0x80 = DAT_00c35b74; - *(undefined4 *)&pLVar10->field_0x84 = DAT_00c35b78; - *(undefined4 *)&pLVar10->field_0x88 = DAT_00c35b7c; + pLVar9 = ANM2::GetLayer(this_00,(byte *)0x0); + local_3c._seed = pLVar9->_blendMode[0]; + local_3c._shift1 = pLVar9->_blendMode[1]; + local_3c._shift2 = pLVar9->_blendMode[2]; + local_3c._shift3 = pLVar9->_blendMode[3]; + iVar5 = pLVar9->_blendMode[4]; + pLVar9 = ANM2::GetLayer(this_00,(byte *)0x0); + pLVar9->_blendMode[0] = DAT_00c35b6c; + pLVar9->_blendMode[1] = DAT_00c35b70; + pLVar9->_blendMode[2] = DAT_00c35b74; + pLVar9->_blendMode[3] = DAT_00c35b78; + pLVar9->_blendMode[4] = DAT_00c35b7c; Color::Color(); Sprite::SetColor((Sprite *)this_00); (((ANM2 *)((int)local_20.y + 0x6e40))->_scale).x = 1.2; (((ANM2 *)((int)local_20.y + 0x6e40))->_scale).y = 0.75; - pfVar11 = (float *)GridEntity::Position(param_2); - fVar13 = g_displayPixelRatio * g_screenPointScale; - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * fVar13 + 0.5; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / fVar13; - local_20.y = ((g_screenHeight - 182.0) * 0.5 + (pfVar11[1] - 140.0) * 0.65) * fVar13 + 0.5; - dVar14 = floor((double)local_20.y); + pfVar10 = (float *)GridEntity::Position(param_2); + fVar12 = g_displayPixelRatio * g_screenPointScale; + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * fVar12 + 0.5; + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / fVar12; + local_20.y = ((g_screenHeight - 182.0) * 0.5 + (pfVar10[1] - 140.0) * 0.65) * fVar12 + 0.5; + dVar13 = floor((double)local_20.y); local_20.x = local_18.y + *param_3; - local_20.y = (float)dVar14 / fVar13 + param_3[1]; + local_20.y = (float)dVar13 / fVar12 + param_3[1]; ANM2::Render(this_00,&local_20,&g_vectorZero,&g_vectorZero); - pLVar10 = ANM2::GetLayer(this_00,(byte *)0x0); - *(undefined4 *)&pLVar10->field_0x7c = (undefined4)uStack_38; - *(RNG *)&pLVar10->field_0x78 = local_3c; - *(undefined4 *)&pLVar10->field_0x80 = uStack_38._4_4_; - *(undefined4 *)&pLVar10->field_0x84 = uStack_30; - *(undefined4 *)&pLVar10->field_0x88 = uVar2; + pLVar9 = ANM2::GetLayer(this_00,(byte *)0x0); + pLVar9->_blendMode[1] = local_3c._shift1; + pLVar9->_blendMode[0] = local_3c._seed; + pLVar9->_blendMode[2] = local_3c._shift2; + pLVar9->_blendMode[3] = local_3c._shift3; + pLVar9->_blendMode[4] = iVar5; return; } - iVar6 = ANM2::GetLayerFrame(¶m_2->_sprite); - if (iVar6 == 0) { + iVar5 = ANM2::GetLayerFrame(¶m_2->_sprite); + if (iVar5 == 0) { return; } - if (*(char *)(iVar6 + 0xc) == '\0') { + if (*(char *)(iVar5 + 0xc) == '\0') { return; } Color::Color(); Sprite::SetColor((Sprite *)&this->_lightSprite); (this->_lightSprite)._scale.x = g_vectorOne.x; (this->_lightSprite)._scale.y = g_vectorOne.y; - pfVar11 = (float *)GridEntity::Position(param_2); - fVar13 = g_displayPixelRatio * g_screenPointScale; - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * fVar13 + 0.5; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / fVar13; - local_20.y = ((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * fVar13 + 0.5; - dVar14 = floor((double)local_20.y); - local_20.y = (float)dVar14 / fVar13; - fVar13 = *param_3; + pfVar10 = (float *)GridEntity::Position(param_2); + fVar12 = g_displayPixelRatio * g_screenPointScale; + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * fVar12 + 0.5; + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / fVar12; + local_20.y = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * fVar12 + 0.5; + dVar13 = floor((double)local_20.y); + local_20.y = (float)dVar13 / fVar12; + fVar12 = *param_3; local_10 = (float *)param_3[1]; RNG::Next(&local_3c); - pfVar11 = (float *)RandomVector(); - fVar15 = RNG::RandomFloat(&local_3c); + pfVar10 = (float *)RandomVector(); + fVar14 = RNG::RandomFloat(&local_3c); position = &local_18; - local_18.x = local_18.y + fVar13 + 0.0 + fVar15 * *pfVar11 * 3.0; - local_18.y = fVar15 * pfVar11[1] * 3.0 + ((local_20.y + (float)local_10) - 14.0); + local_18.x = local_18.y + fVar12 + 0.0 + fVar14 * *pfVar10 * 3.0; + local_18.y = fVar14 * pfVar10[1] * 3.0 + ((local_20.y + (float)local_10) - 14.0); goto LAB_0080e2d3; case 0x14: - iVar6 = (param_2->_desc)._variant; - if (iVar6 == 9) { + iVar5 = (param_2->_desc)._variant; + if (iVar5 == 9) { Color::Color(); Sprite::SetColor((Sprite *)&this->_lightSprite); - fVar13 = g_vectorOne.y * 0.5; + fVar12 = g_vectorOne.y * 0.5; (this->_lightSprite)._scale.x = g_vectorOne.x * 0.5; - (this->_lightSprite)._scale.y = fVar13; - pfVar11 = (float *)GridEntity::Position(param_2); + (this->_lightSprite)._scale.y = fVar12; + pfVar10 = (float *)GridEntity::Position(param_2); param_2 = (GridEntity *)(g_displayPixelRatio * g_screenPointScale); - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * (float)param_2 + 0.5 + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * (float)param_2 + 0.5 ; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / (float)param_2; - local_20.y = ((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / (float)param_2; + local_20.y = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - fVar13 = (float)dVar14; + dVar13 = floor((double)local_20.y); + fVar12 = (float)dVar13; } - else if (iVar6 == 3) { + else if (iVar5 == 3) { Color::Color(); Sprite::SetColor((Sprite *)&this->_lightSprite); - fVar13 = g_vectorOne.y * 0.5; + fVar12 = g_vectorOne.y * 0.5; (this->_lightSprite)._scale.x = g_vectorOne.x * 0.5; - (this->_lightSprite)._scale.y = fVar13; - pfVar11 = (float *)GridEntity::Position(param_2); + (this->_lightSprite)._scale.y = fVar12; + pfVar10 = (float *)GridEntity::Position(param_2); param_2 = (GridEntity *)(g_displayPixelRatio * g_screenPointScale); - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * (float)param_2 + 0.5 + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * (float)param_2 + 0.5 ; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / (float)param_2; - local_20.y = ((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / (float)param_2; + local_20.y = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - fVar13 = (float)dVar14; + dVar13 = floor((double)local_20.y); + fVar12 = (float)dVar13; } else { if ((param_2->_desc)._state != 0) { @@ -597355,19 +598217,19 @@ LAB_0080cac5: } Color::Color(); Sprite::SetColor((Sprite *)&this->_lightSprite); - fVar13 = g_vectorOne.y * 0.5; + fVar12 = g_vectorOne.y * 0.5; (this->_lightSprite)._scale.x = g_vectorOne.x * 0.5; - (this->_lightSprite)._scale.y = fVar13; - pfVar11 = (float *)GridEntity::Position(param_2); + (this->_lightSprite)._scale.y = fVar12; + pfVar10 = (float *)GridEntity::Position(param_2); param_2 = (GridEntity *)(g_displayPixelRatio * g_screenPointScale); - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * (float)param_2 + 0.5 + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * (float)param_2 + 0.5 ; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / (float)param_2; - local_20.y = ((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / (float)param_2; + local_20.y = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * (float)param_2 + 0.5; - dVar14 = floor((double)local_20.y); - fVar13 = (float)dVar14; + dVar13 = floor((double)local_20.y); + fVar12 = (float)dVar13; } break; case 0x17: @@ -597384,19 +598246,19 @@ LAB_0080cac5: Sprite::SetColor((Sprite *)&this->_lightSprite); (this->_lightSprite)._scale.x = local_10[4]; (this->_lightSprite)._scale.y = local_10[5]; - pfVar11 = (float *)GridEntity::Position(param_2); - fVar13 = g_displayPixelRatio * g_screenPointScale; - local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar11 - 60.0) * 0.65) * fVar13 + 0.5; - dVar14 = floor((double)local_20.y); - local_18.y = (float)dVar14 / fVar13; - local_20.y = ((pfVar11[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * fVar13 + 0.5; - dVar14 = floor((double)local_20.y); + pfVar10 = (float *)GridEntity::Position(param_2); + fVar12 = g_displayPixelRatio * g_screenPointScale; + local_20.y = ((g_screenWidth - 338.0) * 0.5 + (*pfVar10 - 60.0) * 0.65) * fVar12 + 0.5; + dVar13 = floor((double)local_20.y); + local_18.y = (float)dVar13 / fVar12; + local_20.y = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * fVar12 + 0.5; + dVar13 = floor((double)local_20.y); local_20.x = local_18.y + *param_3 + *local_10; - local_20.y = (float)dVar14 / fVar13 + param_3[1] + local_10[1]; + local_20.y = (float)dVar13 / fVar12 + param_3[1] + local_10[1]; goto LAB_0080e2c3; } local_20.x = local_18.y + *param_3; - local_20.y = fVar13 / (float)param_2 + param_3[1]; + local_20.y = fVar12 / (float)param_2 + param_3[1]; LAB_0080e2c3: position = &local_20; LAB_0080e2d3: @@ -597421,8 +598283,7 @@ Room::pick_special_clear_award(Room *this,int *param_2,int *param_3,RNG *param_4 Game *pGVar3; char cVar4; uint uVar5; - RNG RVar6; - int iVar7; + int iVar6; int local_34 [12]; local_34[0xb] = __security_cookie ^ (uint)(local_34 + 0xc); @@ -597431,26 +598292,26 @@ Room::pick_special_clear_award(Room *this,int *param_2,int *param_3,RNG *param_4 if ((this->_roomType != 5) && (this->_secondBossID != 0)) { return 0; } - RVar6 = *param_4; - if (RVar6 == (RNG)0x0) { + uVar5 = param_4->_seed; + if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)RVar6 >> (SUB41(param_4[1],0) & 0x1f) ^ (uint)RVar6; - uVar5 = uVar5 << (SUB41(param_4[2],0) & 0x1f) ^ uVar5; - RVar6 = (RNG)(uVar5 >> (SUB41(param_4[3],0) & 0x1f) ^ uVar5); - *param_4 = RVar6; - if ((uint)RVar6 % 100 != 0) goto switchD_0080e3e0_caseD_5; + uVar5 = uVar5 >> ((byte)param_4->_shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)param_4->_shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)param_4->_shift3 & 0x1f) ^ uVar5; + param_4->_seed = uVar5; + if (uVar5 % 100 != 0) goto switchD_0080e3e0_caseD_5; if ((*(uint *)((int)this->_descriptor + 0x44) & 0x10000) != 0) { switchD_0080e3e0_caseD_56: *param_2 = 0x27f; - iVar7 = 0x27f; + iVar6 = 0x27f; goto LAB_0080e7b8; } switch(this->_bossId + -1) { case 0: *param_2 = 0x56; - iVar7 = 0x56; + iVar6 = 0x56; break; case 1: case 6: @@ -597472,18 +598333,18 @@ switchD_0080e3e0_caseD_56: goto switchD_0080e3e0_caseD_5; case 2: *param_2 = 0x58; - iVar7 = 0x58; + iVar6 = 0x58; break; case 3: case 0x1b: case 0x30: case 0x37: *param_2 = 0x180; - iVar7 = 0x180; + iVar6 = 0x180; break; case 4: *param_2 = 0xe5; - iVar7 = 0xe5; + iVar6 = 0xe5; break; default: goto switchD_0080e3e0_caseD_5; @@ -597501,269 +598362,269 @@ switchD_0080e3e0_caseD_56: goto switchD_0080e3e0_caseD_5; case 0xc: *param_2 = 10; - iVar7 = 10; + iVar6 = 10; break; case 0xd: *param_2 = 0x242; - iVar7 = 0x242; + iVar6 = 0x242; break; case 0xe: *param_2 = 0x57; - iVar7 = 0x57; + iVar6 = 0x57; break; case 0xf: *param_2 = 0x219; - iVar7 = 0x219; + iVar6 = 0x219; break; case 0x10: *param_2 = 0x13e; - iVar7 = 0x13e; + iVar6 = 0x13e; break; case 0x11: *param_2 = 0x20d; - iVar7 = 0x20d; + iVar6 = 0x20d; break; case 0x16: *param_2 = 0x286; - iVar7 = 0x286; + iVar6 = 0x286; break; case 0x1a: *param_2 = 0x2ab; - iVar7 = 0x2ab; + iVar6 = 0x2ab; break; case 0x1c: *param_2 = 0x94; - iVar7 = 0x94; + iVar6 = 0x94; break; case 0x1d: *param_2 = 0x9b; - iVar7 = 0x9b; + iVar6 = 0x9b; break; case 0x1e: *param_2 = 0x1b3; - iVar7 = 0x1b3; + iVar6 = 0x1b3; break; case 0x1f: *param_2 = 0x264; - iVar7 = 0x264; + iVar6 = 0x264; break; case 0x20: *param_2 = 0x285; - iVar7 = 0x285; + iVar6 = 0x285; break; case 0x21: *param_2 = 0xd3; - iVar7 = 0xd3; + iVar6 = 0xd3; break; case 0x22: *param_2 = 0xf2; - iVar7 = 0xf2; + iVar6 = 0xf2; break; case 0x23: *param_2 = 0x10a; - iVar7 = 0x10a; + iVar6 = 0x10a; break; case 0x25: *param_3 = 0x75; goto switchD_0080e3e0_caseD_5; case 0x28: *param_2 = 0xaa; - iVar7 = 0xaa; + iVar6 = 0xaa; break; case 0x29: *param_2 = 0x59; - iVar7 = 0x59; + iVar6 = 0x59; break; case 0x2a: *param_2 = 0x115; - iVar7 = 0x115; + iVar6 = 0x115; break; case 0x2b: *param_2 = 0x24; - iVar7 = 0x24; + iVar6 = 0x24; break; case 0x2c: *param_2 = 0x171; - iVar7 = 0x171; + iVar6 = 0x171; break; case 0x2d: *param_2 = 0x177; - iVar7 = 0x177; + iVar6 = 0x177; break; case 0x2e: *param_2 = 0x13a; - iVar7 = 0x13a; + iVar6 = 0x13a; break; case 0x2f: *param_2 = 0x262; - iVar7 = 0x262; + iVar6 = 0x262; break; case 0x31: *param_2 = 0x103; - iVar7 = 0x103; + iVar6 = 0x103; break; case 0x32: *param_2 = 0x23c; - iVar7 = 0x23c; + iVar6 = 0x23c; break; case 0x33: *param_2 = 0x292; - iVar7 = 0x292; + iVar6 = 0x292; break; case 0x34: *param_2 = 0xa7; - iVar7 = 0xa7; + iVar6 = 0xa7; break; case 0x38: *param_2 = 0x2aa; - iVar7 = 0x2aa; + iVar6 = 0x2aa; break; case 0x39: *param_2 = 0x240; - iVar7 = 0x240; + iVar6 = 0x240; break; case 0x3a: *param_2 = 0x221; - iVar7 = 0x221; + iVar6 = 0x221; break; case 0x3b: case 0x44: *param_2 = 0x1f7; - iVar7 = 0x1f7; + iVar6 = 0x1f7; break; case 0x3c: *param_2 = 0x120; - iVar7 = 0x120; + iVar6 = 0x120; break; case 0x3f: *param_2 = 0x2a8; - iVar7 = 0x2a8; + iVar6 = 0x2a8; break; case 0x40: *param_2 = 0x17a; - iVar7 = 0x17a; + iVar6 = 0x17a; break; case 0x41: *param_2 = 0x225; - iVar7 = 0x225; + iVar6 = 0x225; break; case 0x42: *param_2 = 3; - iVar7 = 3; + iVar6 = 3; break; case 0x43: *param_2 = 0xe1; - iVar7 = 0xe1; + iVar6 = 0xe1; break; case 0x47: *param_2 = 0x1d9; - iVar7 = 0x1d9; + iVar6 = 0x1d9; break; case 0x48: *param_2 = 0x1c5; - iVar7 = 0x1c5; + iVar6 = 0x1c5; break; case 0x49: *param_2 = 0x166; - iVar7 = 0x166; + iVar6 = 0x166; break; case 0x4a: *param_2 = 0x134; - iVar7 = 0x134; + iVar6 = 0x134; break; case 0x4b: *param_2 = 0x10e; - iVar7 = 0x10e; + iVar6 = 0x10e; break; case 0x4c: *param_2 = 0x1d5; - iVar7 = 0x1d5; + iVar6 = 0x1d5; break; case 0x4d: *param_2 = 0x2a4; - iVar7 = 0x2a4; + iVar6 = 0x2a4; break; case 0x4e: *param_3 = 0x8d; goto switchD_0080e3e0_caseD_5; case 0x4f: *param_2 = 0x297; - iVar7 = 0x297; + iVar6 = 0x297; break; case 0x50: *param_2 = 0xd8; - iVar7 = 0xd8; + iVar6 = 0xd8; break; case 0x51: *param_2 = 0x100; - iVar7 = 0x100; + iVar6 = 0x100; break; case 0x52: *param_2 = 0xd2; - iVar7 = 0xd2; + iVar6 = 0xd2; break; case 0x54: *param_2 = 0x282; - iVar7 = 0x282; + iVar6 = 0x282; break; case 0x55: *param_2 = 0x2d9; - iVar7 = 0x2d9; + iVar6 = 0x2d9; break; case 0x56: goto switchD_0080e3e0_caseD_56; case 0x5a: *param_2 = 0x108; - iVar7 = 0x108; + iVar6 = 0x108; break; case 0x5b: *param_2 = 0x123; - iVar7 = 0x123; + iVar6 = 0x123; break; case 0x5c: *param_2 = 0x268; - iVar7 = 0x268; + iVar6 = 0x268; break; case 0x5e: *param_2 = 0xd1; - iVar7 = 0xd1; + iVar6 = 0xd1; break; case 0x5f: *param_2 = 0x281; - iVar7 = 0x281; + iVar6 = 0x281; break; case 0x60: *param_2 = 0x1f8; - iVar7 = 0x1f8; + iVar6 = 0x1f8; break; case 100: *param_3 = 0xb7; switchD_0080e3e0_caseD_5: - iVar7 = *param_2; - if (iVar7 == 0) goto LAB_0080e7d5; + iVar6 = *param_2; + if (iVar6 == 0) goto LAB_0080e7d5; break; case 0x65: *param_2 = 0x2a5; - iVar7 = 0x2a5; + iVar6 = 0x2a5; } LAB_0080e7b8: - cVar4 = ItemPool::is_collectible_available(&g_game->_itemPool,iVar7,0); + cVar4 = ItemPool::is_collectible_available(&g_game->_itemPool,iVar6,0); if (cVar4 == '\0') { *param_2 = 0; } LAB_0080e7d5: pGVar3 = g_game; - iVar7 = *param_3; - if (iVar7 != 0) { - if ((((iVar7 < 1) || + iVar6 = *param_3; + if (iVar6 != 0) { + if ((((iVar6 < 1) || (pvVar2 = (g_game->_itemPool)._trinketPoolItems._begin, - (int)(g_game->_itemPool)._trinketPoolItems._end - (int)pvVar2 >> 3 <= iVar7)) || - (*(char *)((int)pvVar2 + iVar7 * 8 + 4) == '\0')) || - (*(char *)((int)pvVar2 + iVar7 * 8 + 5) == '\0')) { + (int)(g_game->_itemPool)._trinketPoolItems._end - (int)pvVar2 >> 3 <= iVar6)) || + (*(char *)((int)pvVar2 + iVar6 * 8 + 4) == '\0')) || + (*(char *)((int)pvVar2 + iVar6 * 8 + 5) == '\0')) { *param_3 = 0; } else { - *(undefined1 *)((int)pvVar2 + iVar7 * 8 + 4) = 0; + *(undefined1 *)((int)pvVar2 + iVar6 * 8 + 4) = 0; piVar1 = &(pGVar3->_itemPool)._numAvailableTrinkets; *piVar1 = *piVar1 + -1; } @@ -597784,7 +598645,7 @@ LAB_0080e7d5: void Room::render_lighting(void) { - undefined1 *puVar1; + int *piVar1; void *pvVar2; int iVar3; int iVar4; @@ -597875,7 +598736,7 @@ void Room::render_lighting(void) } g_graphicsManager_blendMode[2] = 1; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 1; + g_graphicsManager_blendMode[4] = 1; local_e8 = CONCAT44((float)in_ECX->_roomList[0x18].Group + (g_game->_screenShakeOffset).y, ((Vector *)&in_ECX->_roomList[0x18].DeliriumDistance)->x + (g_game->_screenShakeOffset).x); @@ -597973,22 +598834,22 @@ void Room::render_lighting(void) fVar15 = ((pfVar10[1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * local_110 + 0.5; local_118 = CONCAT44(local_118._4_4_,fVar15); dVar16 = floor((double)fVar15); - puVar1 = &pGVar6->_roomList[0x9a].field_0x24; + piVar1 = pGVar6->_roomList[0x9a]._doors + 2; pGVar6->_roomList[0x9a].AllowedDoors = (int)g_vectorOne.x; - *(float *)&pGVar6->_roomList[0x9a].field_0x1c = g_vectorOne.y; + pGVar6->_roomList[0x9a]._doors[0] = (int)g_vectorOne.y; local_8c = 0; uStack_88 = 0; local_84 = 0; - if ((undefined4 *)puVar1 != local_ac) { - *(undefined4 *)puVar1 = 0x3f800000; - *(undefined4 *)&pGVar6->_roomList[0x9a].field_0x28 = 0x3f800000; - *(undefined4 *)&pGVar6->_roomList[0x9a].field_0x2c = 0x3f800000; - *(undefined4 *)&pGVar6->_roomList[0x9a].field_0x30 = 0x3f800000; + if (piVar1 != local_ac) { + *piVar1 = 0x3f800000; + pGVar6->_roomList[0x9a]._doors[3] = 0x3f800000; + pGVar6->_roomList[0x9a]._doors[4] = 0x3f800000; + pGVar6->_roomList[0x9a]._doors[5] = 0x3f800000; pGVar6->_roomList[0x9a].Flags = 0; pGVar6->_roomList[0x9a].TotalMoneySpent = 0; pGVar6->_roomList[0x9a].ClearCount = 0; - *(undefined4 *)&pGVar6->_roomList[0x9a].field_0x34 = 0; - *(undefined4 *)&pGVar6->_roomList[0x9a].field_0x38 = 0; + pGVar6->_roomList[0x9a]._doors[6] = 0; + pGVar6->_roomList[0x9a]._doors[7] = 0; pGVar6->_roomList[0x9a].DisplayFlags = 0; pGVar6->_roomList[0x9a].VisitedCount = 0; pGVar6->_roomList[0x9a].GreedSubType = 0; @@ -598032,7 +598893,7 @@ LAB_0080f1ce: render_darkness_overlay(); if (in_ECX->_roomList[0x18].field_0xa2 == '\x01') { in_ECX->_roomList[0x18].field_0xa2 = 0; - render_lava_pit_mask(); + render_lava_pit_mask((Room *)in_ECX); } render_water((Room *)in_ECX); return; @@ -598074,17 +598935,17 @@ void Room::Render(void) int *piVar24; int iVar25; Game *pGVar26; - undefined *puVar27; + undefined4 uVar27; + undefined *puVar28; Game *in_ECX; - float *pfVar28; + float *pfVar29; undefined4 extraout_ECX; undefined4 extraout_ECX_00; undefined4 extraout_ECX_01; undefined4 extraout_ECX_02; undefined4 extraout_ECX_03; undefined4 extraout_ECX_04; - int iVar29; - undefined4 uVar30; + int iVar30; undefined4 extraout_ECX_05; undefined4 extraout_ECX_06; undefined4 extraout_ECX_07; @@ -598284,7 +599145,7 @@ LAB_0080f352: g_graphicsManager_blendMode[1] = 6; } g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = (Game *)0x7; + g_graphicsManager_blendMode[4] = 7; local_1d5 = '\0'; } else { @@ -598308,7 +599169,7 @@ LAB_0080f352: g_graphicsManager_blendMode[1] = 6; } g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = (Game *)0x7; + g_graphicsManager_blendMode[4] = 7; local_1d5 = '\0'; } if (((g_manager->_optionsConfig)._enableShockwave != 0) && @@ -598330,7 +599191,7 @@ LAB_0080f352: g_graphicsManager_blendMode[1] = 6; } g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = (Game *)0x7; + g_graphicsManager_blendMode[4] = 7; local_1d5 = '\0'; } if (local_1e5 != '\0') { @@ -598350,7 +599211,7 @@ LAB_0080f352: g_graphicsManager_blendMode[1] = 6; } g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = (Game *)0x7; + g_graphicsManager_blendMode[4] = 7; local_1d5 = '\0'; } if (local_205 != '\0') { @@ -598370,7 +599231,7 @@ LAB_0080f352: g_graphicsManager_blendMode[1] = 6; } g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = (Game *)0x7; + g_graphicsManager_blendMode[4] = 7; local_1d5 = '\0'; } if (in_ECX->_roomList[0x28].Flags == 0x39) { @@ -598383,7 +599244,7 @@ LAB_0080f352: } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = (Game *)&DAT_00000007; + g_graphicsManager_blendMode[4] = 7; local_1f8._4_4_ = (Game *)&in_ECX->_roomList[0x1e].SavedEntities; FXLayers::render_behind_layers(); fVar39 = 2.0; @@ -598412,11 +599273,11 @@ LAB_0080f949: KColor::SetFromARGB(); Color::apply_to_kcolor(); KColor::SetFromARGB(); - pfVar28 = &local_1a0; + pfVar29 = &local_1a0; uVar17 = 0xc; pfVar32 = &local_e8; do { - if (*pfVar28 != *pfVar32) { + if (*pfVar29 != *pfVar32) { fVar35 = (float)in_ECX->_curses - fVar39; fVar38 = (g_game->_screenShakeOffset).x + ((Vector *)&in_ECX->_roomList[0x18].field_0xa8)->x + @@ -598426,7 +599287,7 @@ LAB_0080f949: fVar39 = (float)*(int *)&in_ECX->field_0x10 - fVar39; goto LAB_0080f949; } - pfVar28 = pfVar28 + 1; + pfVar29 = pfVar29 + 1; pfVar32 = pfVar32 + 1; bVar34 = 3 < uVar17; uVar17 = uVar17 - 4; @@ -598459,11 +599320,11 @@ LAB_0080f949: *(undefined1 *)&in_ECX->_roomList[0x9d].DecorationSeed = 0; } pGVar37 = local_1d4; - pfVar28 = (float *)((int)local_1d4 + -0x14); + pfVar29 = (float *)((int)local_1d4 + -0x14); local_204 = (Game *)((*(float *)((int)local_1d4 + -0x10) - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5); local_1d4 = (Game *)(g_displayPixelRatio * g_screenPointScale); - local_1e4 = (Game *)(((*pfVar28 - 60.0) * 0.65 + (g_screenWidth - 338.0) * 0.5) * + local_1e4 = (Game *)(((*pfVar29 - 60.0) * 0.65 + (g_screenWidth - 338.0) * 0.5) * (float)local_1d4 + 0.5); dVar40 = floor((double)(float)local_1e4); local_1e0 = (Game *)((float)dVar40 / (float)local_1d4); @@ -598489,7 +599350,7 @@ LAB_0080f949: } while (local_1f0 != (Game *)0x0); local_1f0 = (Game *)0x0; } - local_1e4 = DAT_00c79910; + local_1e4 = (Game *)g_graphicsManager_blendMode[4]; local_e8 = (float)g_graphicsManager_blendMode[0]; pGStack_e4 = (Game *)g_graphicsManager_blendMode[1]; pGStack_e0 = (Game *)g_graphicsManager_blendMode[2]; @@ -598511,10 +599372,10 @@ LAB_0080f949: local_1f0 = (Game *)&in_ECX->_roomList[0x19].Dimension; *(int *)&in_ECX->_roomList[0x19].ShopItemIdx = 0; in_ECX->_roomList[0x19].DeliriumDistance = 1; - iVar29._0_1_ = in_ECX->_bossChallenge; - iVar29._1_1_ = in_ECX->_devilRoomDisabled; - iVar29._2_2_ = *(undefined2 *)&in_ECX->field_0xa; - if (iVar29 == 0x10) { + iVar30._0_1_ = in_ECX->_bossChallenge; + iVar30._1_1_ = in_ECX->_devilRoomDisabled; + iVar30._2_2_ = *(undefined2 *)&in_ECX->field_0xa; + if (iVar30 == 0x10) { local_1d4 = (Game *)0x0; if (0 < *(int *)&in_ECX->field_0x10 * in_ECX->_curses) { local_1e0 = (Game *)&in_ECX->_roomList[0].Data; @@ -598528,12 +599389,12 @@ LAB_0080f949: } } else { - uVar30._0_2_ = in_ECX->_roomList[0x9f].TotalMoneySpent; - uVar30._2_2_ = in_ECX->_roomList[0x9f].ClearCount; + uVar27._0_2_ = in_ECX->_roomList[0x9f].TotalMoneySpent; + uVar27._2_2_ = in_ECX->_roomList[0x9f].ClearCount; uVar11._0_2_ = in_ECX->_roomList[0x9f].PoopCount; uVar11._2_2_ = in_ECX->_roomList[0x9f].TKeeperCoinSpawns; Backdrop::RenderFloor - (&local_22c,uVar30,in_ECX->_roomList[0x9f].GreedSubType,uVar11, + (&local_22c,uVar27,in_ECX->_roomList[0x9f].GreedSubType,uVar11, in_ECX->_roomList[0x9f].PitsCount,in_ECX->_roomList[0x9f].DecorationSeed, in_ECX->_roomList[0x9f].SpawnSeed,in_ECX->_roomList[0x9f].AwardSeed, in_ECX->_roomList[0x9f].BossDeathSeed, @@ -598608,7 +599469,7 @@ LAB_0080f949: g_graphicsManager_blendMode[1] = (int)pGStack_e4; g_graphicsManager_blendMode[2] = (int)pGStack_e0; g_graphicsManager_blendMode[3] = (int)pGStack_dc; - DAT_00c79910 = local_1e4; + g_graphicsManager_blendMode[4] = (int)local_1e4; pGVar37 = (Game *)&in_ECX->_roomList[0x18].DeliriumDistance; } else { @@ -598668,7 +599529,7 @@ LAB_0080f949: g_graphicsManager_blendMode[1] = piVar23[1]; g_graphicsManager_blendMode[2] = piVar23[2]; g_graphicsManager_blendMode[3] = piVar23[3]; - DAT_00c79910 = (Game *)piVar23[4]; + g_graphicsManager_blendMode[4] = piVar23[4]; local_174 = 0; local_184 = 0; local_178 = 0; @@ -598681,9 +599542,9 @@ LAB_0080f949: KColor::SetFromARGB(); render_quad_set_uniform_color(g_screenHeight,extraout_ECX_00); pGVar37 = g_game; - puVar27 = &DAT_00c79618; + puVar28 = &DAT_00c79618; if ((DAT_00c7961c & 1) == 0) { - puVar27 = g_currentShader; + puVar28 = g_currentShader; } local_21c.y = (float)((double)DAT_00c7984c[7] + __uint_to_double_fixup[-(DAT_00c7984c[7] >> 0x1f)]); @@ -598695,7 +599556,7 @@ LAB_0080f949: local_1e0 = (Game *)((g_screenHeight - 182.0) * 0.5); local_1e4 = (Game *)((((float)local_200->_roomList[0].GridIndex - 60.0) * 0.65 + (g_screenWidth - 338.0) * 0.5) * (float)local_1d4 + 0.5); - g_currentShader = puVar27; + g_currentShader = puVar28; dVar40 = floor((double)(float)local_1e4); local_214 = (Game *)(float)dVar40; local_1e4 = (Game *)((((float)local_200->_roomList[0].SafeGridIndex - 140.0) * 0.65 + @@ -598722,7 +599583,7 @@ LAB_0080f949: uVar43 = 0x2008104bb; render_beast_arena_background(); } - pfVar28 = (float *)uVar43; + pfVar29 = (float *)uVar43; iVar5._0_1_ = pGVar37->_bossChallenge; iVar5._1_1_ = pGVar37->_devilRoomDisabled; iVar5._2_2_ = *(undefined2 *)&pGVar37->field_0xa; @@ -598736,7 +599597,7 @@ LAB_0080f949: uVar43 = 0x8104fa; (**(code **)(*piVar23 + 0xc))(); } - pfVar28 = (float *)uVar43; + pfVar29 = (float *)uVar43; local_1d4 = (Game *)((int)local_1d4 + 1); ppvVar33 = ppvVar33 + 1; } while ((int)local_1d4 < *(int *)&pGVar37->field_0x10 * pGVar37->_curses); @@ -598748,14 +599609,14 @@ LAB_0080f949: g_graphicsManager_blendMode[1] = piVar24[1]; g_graphicsManager_blendMode[2] = piVar24[2]; g_graphicsManager_blendMode[3] = piVar24[3]; - DAT_00c79910 = (Game *)piVar24[4]; + g_graphicsManager_blendMode[4] = piVar24[4]; pcVar6 = *(code **)(*piVar23 + 0x20); KColor::SetFromARGB(); - pfVar28 = &local_22c; - (*pcVar6)(pfVar28); + pfVar29 = &local_22c; + (*pcVar6)(pfVar29); } shader_stack_push(); - uVar43 = CONCAT44(0x8105a3,pfVar28); + uVar43 = CONCAT44(0x8105a3,pfVar29); Color::Color(); KAGE::SmartPointer::operator_assign(&DAT_00c797b4); apply_sprite_shader_params(1,uVar43); @@ -598784,7 +599645,7 @@ LAB_0080f949: g_graphicsManager_blendMode[1] = piVar23[1]; g_graphicsManager_blendMode[2] = piVar23[2]; g_graphicsManager_blendMode[3] = piVar23[3]; - DAT_00c79910 = (Game *)piVar23[4]; + g_graphicsManager_blendMode[4] = piVar23[4]; local_174 = 0; local_184 = 0; local_178 = 0; @@ -598797,9 +599658,9 @@ LAB_0080f949: KColor::SetFromARGB(); render_quad_set_uniform_color(g_screenHeight,extraout_ECX_03); pGVar37 = g_game; - puVar27 = &DAT_00c79578; + puVar28 = &DAT_00c79578; if ((DAT_00c7957c & 1) == 0) { - puVar27 = g_currentShader; + puVar28 = g_currentShader; } local_214 = (Game *)(float)((double)DAT_00c797e4[7] + __uint_to_double_fixup[-(DAT_00c797e4[7] >> 0x1f)]); @@ -598811,7 +599672,7 @@ LAB_0080f949: local_c0 = (Game *)((g_screenHeight - 182.0) * 0.5); local_ac = (Game *)((((float)local_200->_roomList[0].GridIndex - 60.0) * 0.65 + (g_screenWidth - 338.0) * 0.5) * (float)local_1d4 + 0.5); - g_currentShader = puVar27; + g_currentShader = puVar28; dVar40 = floor((double)(float)local_ac); local_21c.y = (float)dVar40; local_ac = (Game *)((((float)local_200->_roomList[0].SafeGridIndex - 140.0) * 0.65 + @@ -598833,7 +599694,7 @@ LAB_0080f949: pGVar37 = local_200; } Color::Color(); - Sprite::SetColor((Sprite *)&pGVar37->_roomList[0x99].field_0x34); + Sprite::SetColor((Sprite *)(pGVar37->_roomList[0x99]._doors + 6)); iVar19 = *(int *)&pGVar37->_roomList[0x9f].ShopItemIdx; this_00 = &pGVar37->_roomList[0x9f].ShopItemIdx; FID_conflict__Erase_tree_>_> @@ -598906,8 +599767,8 @@ LAB_0080f949: if (((((-1 < iVar25) && (iVar25 < iVar19)) && ((-1 < (int)local_1d4 && (((int)local_1d4 < *(int *)&this_01->field_0x10 && - (iVar29 = (int)local_1d4 * iVar19 + iVar25, -1 < iVar29)))))) && - (this = (GridEntity_Rock *)this_01->_roomMap[iVar29 + -0x5eae], + (iVar30 = (int)local_1d4 * iVar19 + iVar25, -1 < iVar30)))))) && + (this = (GridEntity_Rock *)this_01->_roomMap[iVar30 + -0x5eae], this != (GridEntity_Rock *)0x0)) && ((this->_desc)._type == 0x18)) { GridEntity_Rock::RenderTop(this,(Vector *)&this_01->_roomList[0x18].DeliriumDistance); iVar19 = this_01->_curses; @@ -599012,15 +599873,15 @@ LAB_0080f949: (byte *)0x0); pGVar26 = local_1f0; pGVar37 = g_game; - uVar30 = 1; + iVar19 = 1; if ((uVar17 & 4) == 0) { - uVar30 = 6; + iVar19 = 6; } - *(undefined4 *)&pLVar22->field_0x78 = 0; - *(undefined4 *)&pLVar22->field_0x7c = uVar30; - *(undefined4 *)&pLVar22->field_0x80 = 1; - *(undefined4 *)&pLVar22->field_0x84 = 1; - *(undefined4 *)&pLVar22->field_0x88 = 1; + pLVar22->_blendMode[0] = 0; + pLVar22->_blendMode[1] = iVar19; + pLVar22->_blendMode[2] = 1; + pLVar22->_blendMode[3] = 1; + pLVar22->_blendMode[4] = 1; pvVar4 = (pGVar37->_playerManager)._playerList._end; piVar23 = (pGVar37->_playerManager)._playerList._begin; if ((int)pvVar4 - (int)piVar23 >> 2 == 0) { @@ -599064,11 +599925,11 @@ LAB_0080f949: render_debug_grid_indices((Room *)this_01); pGVar37 = g_game; } - puVar27 = &g_shaders; + puVar28 = &g_shaders; if ((DAT_00c7911c & 1) == 0) { - puVar27 = g_currentShader; + puVar28 = g_currentShader; } - g_currentShader = puVar27; + g_currentShader = puVar28; if ((g_manager->_optionsConfig)._enableLighting != 0) { if (pGVar37->_darknessModifier <= 0.0) { Seeds::GetForcedCurses(); @@ -599084,12 +599945,12 @@ LAB_0080f949: } local_ac = (Game *)(fVar35 - fVar39 * 0.2); if (0.0 < (float)local_ac) { - local_c0 = DAT_00c79910; + local_c0 = (Game *)g_graphicsManager_blendMode[4]; local_1a0 = (float)g_graphicsManager_blendMode[0]; iStack_19c = g_graphicsManager_blendMode[1]; iStack_198 = g_graphicsManager_blendMode[2]; iStack_194 = g_graphicsManager_blendMode[3]; - DAT_00c79910 = (Game *)0x7; + g_graphicsManager_blendMode[4] = 7; g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[1] = 4; g_graphicsManager_blendMode[2] = 7; @@ -599105,8 +599966,8 @@ LAB_0080f949: pGStack_e0 = (Game *)0x3f800000; pGStack_dc = local_ac; KColor::SetFromARGB(); - uVar30 = render_quad_set_uniform_color(g_screenHeight,extraout_ECX_05); - (*pcVar6)(uVar30); + uVar27 = render_quad_set_uniform_color(g_screenHeight,extraout_ECX_05); + (*pcVar6)(uVar27); if (0.0 < g_game->_lightningIntensity) { pGVar37 = (Game *)(g_game->_lightningIntensity * 0.5); if ((float)pGVar37 <= 0.0) { @@ -599120,7 +599981,7 @@ LAB_0080f949: g_graphicsManager_blendMode[1] = piVar23[1]; g_graphicsManager_blendMode[2] = piVar23[2]; g_graphicsManager_blendMode[3] = piVar23[3]; - DAT_00c79910 = (Game *)piVar23[4]; + g_graphicsManager_blendMode[4] = piVar23[4]; local_e8 = (float)pGVar37 * 0.85; pGStack_e4 = (Game *)((float)pGVar37 * 0.9); local_d8 = (Game *)0x0; @@ -599132,7 +599993,7 @@ LAB_0080f949: g_graphicsManager_blendMode[1] = iStack_19c; g_graphicsManager_blendMode[2] = iStack_198; g_graphicsManager_blendMode[3] = iStack_194; - DAT_00c79910 = local_c0; + g_graphicsManager_blendMode[4] = (int)local_c0; this_01 = local_200; } } @@ -599142,7 +600003,7 @@ LAB_0080f949: FXLayers::Render(); cVar16 = FUN_008242f0(); if (cVar16 != '\0') { - local_1f8._4_4_ = DAT_00c79910; + local_1f8._4_4_ = (Game *)g_graphicsManager_blendMode[4]; local_e8 = (float)g_graphicsManager_blendMode[0]; pGStack_e4 = (Game *)g_graphicsManager_blendMode[1]; pGStack_e0 = (Game *)g_graphicsManager_blendMode[2]; @@ -599152,16 +600013,16 @@ LAB_0080f949: g_graphicsManager_blendMode[1] = piVar23[1]; g_graphicsManager_blendMode[2] = piVar23[2]; g_graphicsManager_blendMode[3] = piVar23[3]; - DAT_00c79910 = (Game *)piVar23[4]; + g_graphicsManager_blendMode[4] = piVar23[4]; pcVar6 = *(code **)(*DAT_00c79824 + 0x1c); KColor::SetFromARGB(); - uVar30 = render_quad_set_uniform_color(g_screenHeight,extraout_ECX_08); - (*pcVar6)(uVar30); + uVar27 = render_quad_set_uniform_color(g_screenHeight,extraout_ECX_08); + (*pcVar6)(uVar27); g_graphicsManager_blendMode[0] = (int)local_e8; g_graphicsManager_blendMode[1] = (int)pGStack_e4; g_graphicsManager_blendMode[2] = (int)pGStack_e0; g_graphicsManager_blendMode[3] = (int)pGStack_dc; - DAT_00c79910 = local_1f8._4_4_; + g_graphicsManager_blendMode[4] = (int)local_1f8._4_4_; this_01 = local_200; } if (((g_manager->_optionsConfig)._enableShockwave != 0) && @@ -599176,7 +600037,7 @@ LAB_0080f949: g_graphicsManager_blendMode[1] = piVar23[1]; g_graphicsManager_blendMode[2] = piVar23[2]; g_graphicsManager_blendMode[3] = piVar23[3]; - DAT_00c79910 = (Game *)piVar23[4]; + g_graphicsManager_blendMode[4] = piVar23[4]; if (this_01->_roomList[0x28].Flags == 0x1c) { local_1a0 = 0.2784314; iStack_19c = 0x3e38b8b9; @@ -599192,25 +600053,25 @@ LAB_0080f949: (float)this_01->_roomList[0x18].Group + 52.0); local_1f8._4_4_ = (Game *)(((float)*(int *)&this_01->field_0x10 - 2.0) * 26.0); render_quad_set_rect(&local_b0,&local_1f8,&local_1a0); - uVar30 = 0x811600; + uVar27 = 0x811600; render_color_shader_pass(); if ((g_manager->_optionsConfig)._enableLighting != 0) { if (g_game->_darknessModifier <= 0.0) { Seeds::GetForcedCurses(); Seeds::GetPreventedCurses(); } - local_ac = DAT_00c79910; + local_ac = (Game *)g_graphicsManager_blendMode[4]; local_e8 = (float)g_graphicsManager_blendMode[0]; pGStack_e4 = (Game *)g_graphicsManager_blendMode[1]; pGStack_e0 = (Game *)g_graphicsManager_blendMode[2]; pGStack_dc = (Game *)g_graphicsManager_blendMode[3]; - DAT_00c79910 = (Game *)0x7; + g_graphicsManager_blendMode[4] = 7; g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[1] = 4; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 8; local_1f8._4_4_ = (Game *)GetLightingAlpha((Room *)this_01); - uVar43 = CONCAT44(0x81167b,uVar30); + uVar43 = CONCAT44(0x81167b,uVar27); Color::Color(); KAGE::SmartPointer::operator_assign(&DAT_00c797cc); apply_sprite_shader_params(1,uVar43); @@ -599221,13 +600082,13 @@ LAB_0080f949: pGStack_c4 = local_1f8._4_4_; pcVar6 = *(code **)(*DAT_00c797cc + 0x1c); KColor::SetFromARGB(); - uVar30 = render_quad_set_uniform_color(g_screenHeight,extraout_ECX_10); - (*pcVar6)(uVar30); + uVar27 = render_quad_set_uniform_color(g_screenHeight,extraout_ECX_10); + (*pcVar6)(uVar27); g_graphicsManager_blendMode[1] = (int)pGStack_e4; g_graphicsManager_blendMode[0] = (int)local_e8; g_graphicsManager_blendMode[2] = (int)pGStack_e0; g_graphicsManager_blendMode[3] = (int)pGStack_dc; - DAT_00c79910 = local_ac; + g_graphicsManager_blendMode[4] = (int)local_ac; pGVar37 = local_204; this_01 = local_200; } @@ -599289,15 +600150,15 @@ LAB_0080f949: fVar39 = g_screenHeight; render_quad_set_uniform_color(g_screenHeight,extraout_ECX_11); local_204 = (Game *)0xc3160000; - puVar27 = &DAT_00c79488; + puVar28 = &DAT_00c79488; if ((DAT_00c7948c & 1) == 0) { - puVar27 = g_currentShader; + puVar28 = g_currentShader; } local_1d4 = *(Game **)&this_01->_roomList[0x9c].field_0x98; local_1f8._4_4_ = *(Game **)&this_01->_roomList[0x9c].field_0xa4; local_1f0 = (Game *)this_01->_roomList[0x9c].Group; fVar35 = (float)(int)local_1f8._4_4_ / (float)*(int *)&this_01->_roomList[0x9c].field_0xa8; - g_currentShader = puVar27; + g_currentShader = puVar28; local_200 = local_204; local_1e4 = pGVar37; local_1e0 = pGVar37; @@ -599448,12 +600309,12 @@ LAB_0080f949: fVar39 = g_screenHeight; render_quad_set_uniform_color(g_screenHeight,extraout_ECX_20); if ((g_manager->_optionsConfig)._getsSetToEnableWaterSurface == 0) { - puVar27 = &g_shaders; + puVar28 = &g_shaders; if ((DAT_00c7911c & 1) == 0) { - puVar27 = g_currentShader; + puVar28 = g_currentShader; } uVar43 = CONCAT44(0x8125f0,fVar39); - g_currentShader = puVar27; + g_currentShader = puVar28; Color::Color(); KAGE::SmartPointer::operator_assign(&DAT_00c79854); apply_sprite_shader_params(1,uVar43); @@ -599552,8 +600413,8 @@ LAB_0080f949: local_14 = 0; iVar19 = *(int *)(this_01->_stageType + 0x10); piVar23 = (int *)(iVar19 + 0x14); - uVar30 = *(undefined4 *)((int)this_01->_stageType + 0xb4); - local_1f8 = CONCAT44(uVar30,(float)local_1f8); + uVar27 = *(undefined4 *)((int)this_01->_stageType + 0xb4); + local_1f8 = CONCAT44(uVar27,(float)local_1f8); if (0xf < *(uint *)(iVar19 + 0x28)) { piVar23 = (int *)*piVar23; } @@ -599563,7 +600424,7 @@ LAB_0080f949: } sprintf_s(local_a8,0x80,"%s %s %d %s (group %d)",ppppppuVar31, local_160[*(int *)&this_01->_bossChallenge],*(undefined4 *)(iVar19 + 0xc),piVar23, - uVar30); + uVar27); Font::get_string_width_n(local_a8,0xffffffff); local_1a8 = 0; local_1a4 = 0xffff; @@ -600425,7 +601286,7 @@ int __thiscall Room::GetFrameCount(Room *this) if (*(char *)this == '\0') { return -1; } - return g_game->_frameCount - *(int *)&this->field_0x11f0; + return g_game->_frameCount - this->_enterFrame; } @@ -600478,17 +601339,15 @@ void __thiscall Room::init_shop_item_slots(Room *this) uint uVar4; byte bVar5; byte bVar6; - int iVar7; - undefined4 *puVar8; - RNG RVar9; + uint uVar7; + int iVar8; + undefined4 *puVar9; int *piVar10; int *piVar11; undefined4 *puVar12; int iVar13; - RNG local_38; + uint local_38; RNG local_34; - undefined8 local_30; - undefined4 local_28; undefined4 *local_24; int *local_20; int *local_1c; @@ -600503,14 +601362,15 @@ void __thiscall Room::init_shop_item_slots(Room *this) local_10 = ExceptionList; local_14 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; - local_30 = 0x900000005; - local_38 = *(RNG *)((int)this->_descriptor + 0x60); + local_34._shift1 = 5; + local_34._shift2 = 9; + local_38 = *(uint *)((int)this->_descriptor + 0x60); *(undefined8 *)((int)this->_descriptor + 0xa4) = 0; - iVar7 = this->_roomType; + iVar8 = this->_roomType; local_18 = (int *)0x7; - local_28 = 7; - local_34 = local_38; - if (((iVar7 == 0xe) || (iVar7 == 0x16)) || + local_34._shift3 = 7; + local_34._seed = local_38; + if (((iVar8 == 0xe) || (iVar8 == 0x16)) || (pvVar1 = this->_descriptor, (*(uint *)((int)pvVar1 + 0x44) >> 0xb & 1) != 0)) { *(undefined2 *)((int)this->_descriptor + 0x94) = 8; *(undefined2 *)((int)this->_descriptor + 0x96) = 8; @@ -600521,34 +601381,34 @@ void __thiscall Room::init_shop_item_slots(Room *this) *(undefined2 *)((int)this->_descriptor + 0xa0) = 8; *(undefined2 *)((int)this->_descriptor + 0xa2) = 8; *(undefined2 *)((int)this->_descriptor + 0xac) = 0; - if (local_38 == (RNG)0x0) { + if (local_38 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",local_14); } - uVar4 = (uint)local_38 >> 5 ^ (uint)local_38; - uVar4 = uVar4 << 9 ^ uVar4; - local_34 = (RNG)(uVar4 >> 7 ^ uVar4); - if (local_34 == (RNG)(((uint)local_34 / 3) * 3)) { + local_34._seed = local_38 >> 5 ^ local_38; + local_34._seed = local_34._seed << 9 ^ local_34._seed; + local_34._seed = (uint)local_34._seed >> 7 ^ local_34._seed; + if (local_34._seed == ((uint)local_34._seed / 3) * 3) { LAB_00814851: uVar3 = 0xffff; - RVar9 = local_34; + uVar4 = local_34._seed; } else { - if (local_34 == (RNG)0x0) { - local_34 = local_38; + if (local_34._seed == 0) { + local_34._seed = local_38; /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",local_14); } - uVar4 = (uint)local_34 >> 5 ^ (uint)local_34; - uVar4 = uVar4 << 9 ^ uVar4; - RVar9 = (RNG)(uVar4 >> 7 ^ uVar4); - uVar3 = (undefined2)((uint)RVar9 % 6); + local_34._seed = (uint)local_34._seed >> 5 ^ local_34._seed; + local_34._seed = local_34._seed << 9 ^ local_34._seed; + uVar4 = (uint)local_34._seed >> 7 ^ local_34._seed; + uVar3 = (undefined2)(uVar4 % 6); } LAB_00814854: *(undefined2 *)((int)this->_descriptor + 0xae) = uVar3; } else { - if (iVar7 == 0xf) { + if (iVar8 == 0xf) { local_24 = (undefined4 *)0x0; local_20 = (int *)0x0; local_1c = (int *)0x0; @@ -600612,10 +601472,10 @@ LAB_00814854: local_20 = local_20 + 1; } piVar11 = local_20; - puVar8 = local_24; + puVar9 = local_24; RNG::Shuffle(local_24,local_20); - piVar11 = (int *)((int)piVar11 - (int)puVar8 >> 2); - iVar7 = 0; + piVar11 = (int *)((int)piVar11 - (int)puVar9 >> 2); + iVar8 = 0; local_18 = (int *)&DAT_00000008; if ((int)piVar11 < 8) { local_18 = piVar11; @@ -600623,49 +601483,48 @@ LAB_00814854: if (0 < (int)local_18) { iVar13 = 0x94; do { - puVar12 = puVar8 + iVar7; - iVar7 = iVar7 + 1; + puVar12 = puVar9 + iVar8; + iVar8 = iVar8 + 1; *(undefined2 *)(iVar13 + (int)this->_descriptor) = *(undefined2 *)puVar12; iVar13 = iVar13 + 2; - } while (iVar7 < (int)local_18); + } while (iVar8 < (int)local_18); } *(undefined2 *)((int)this->_descriptor + 0x96) = 8; *(undefined2 *)((int)this->_descriptor + 0xac) = 0; - if (local_34 == (RNG)0x0) { + if (local_34._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)local_34 >> ((byte)local_30 & 0x1f) ^ (uint)local_34; - bVar2 = (byte)((ulonglong)local_30 >> 0x20); - uVar4 = uVar4 << (bVar2 & 0x1f) ^ uVar4; - RVar9 = (RNG)(uVar4 >> ((byte)local_28 & 0x1f) ^ uVar4); - if ((uint)RVar9 % 3 == 0) { + uVar4 = (uint)local_34._seed >> ((byte)local_34._shift1 & 0x1f) ^ local_34._seed; + uVar4 = uVar4 << ((byte)local_34._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)local_34._shift3 & 0x1f) ^ uVar4; + if (uVar4 % 3 == 0) { uVar3 = 0xffff; } else { - if (RVar9 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar9 >> ((byte)local_30 & 0x1f) ^ (uint)RVar9; - uVar4 = uVar4 << (bVar2 & 0x1f) ^ uVar4; - RVar9 = (RNG)(uVar4 >> ((byte)local_28 & 0x1f) ^ uVar4); - uVar3 = (undefined2)((uint)RVar9 % 6); + uVar4 = uVar4 >> ((byte)local_34._shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)local_34._shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)local_34._shift3 & 0x1f) ^ uVar4; + uVar3 = (undefined2)(uVar4 % 6); } *(undefined2 *)((int)this->_descriptor + 0xae) = uVar3; if (local_24 != (undefined4 *)0x0) { - uVar4 = (int)local_1c - (int)local_24 & 0xfffffffc; - puVar8 = local_24; - if (0xfff < uVar4) { - puVar8 = (undefined4 *)local_24[-1]; - uVar4 = uVar4 + 0x23; - if (0x1f < (uint)((int)local_24 + (-4 - (int)puVar8))) goto LAB_00814776; + uVar7 = (int)local_1c - (int)local_24 & 0xfffffffc; + puVar9 = local_24; + if (0xfff < uVar7) { + puVar9 = (undefined4 *)local_24[-1]; + uVar7 = uVar7 + 0x23; + if (0x1f < (uint)((int)local_24 + (-4 - (int)puVar9))) goto LAB_00814776; } - operator_delete(puVar8,uVar4); + operator_delete(puVar9,uVar7); } goto LAB_0081485e; } - if ((iVar7 == 2) && (*(int *)(*(int *)((int)pvVar1 + 0x10) + 0x10) - 100U < 0x14)) { + if ((iVar8 == 2) && (*(int *)(*(int *)((int)pvVar1 + 0x10) + 0x10) - 100U < 0x14)) { local_24 = (undefined4 *)0x0; local_20 = (int *)0x0; local_1c = (int *)0x0; @@ -600715,7 +601574,7 @@ LAB_00814854: piVar10 = local_1c; piVar11 = local_20; RNG::Shuffle(local_24,local_20); - puVar8 = local_24; + puVar9 = local_24; *(undefined2 *)((int)this->_descriptor + 0x94) = *(undefined2 *)local_24; *(undefined2 *)((int)this->_descriptor + 0x96) = *(undefined2 *)(local_24 + 1); *(undefined2 *)((int)this->_descriptor + 0x98) = 8; @@ -600724,8 +601583,8 @@ LAB_00814854: *local_24 = 8; local_24[1] = 10; RNG::Shuffle(local_24,piVar11); - *(undefined2 *)((int)this->_descriptor + 0x9e) = *(undefined2 *)puVar8; - *(undefined2 *)((int)this->_descriptor + 0xa0) = *(undefined2 *)(puVar8 + 1); + *(undefined2 *)((int)this->_descriptor + 0x9e) = *(undefined2 *)puVar9; + *(undefined2 *)((int)this->_descriptor + 0xa0) = *(undefined2 *)(puVar9 + 1); *(undefined2 *)((int)this->_descriptor + 0xa2) = 10; *(undefined2 *)((int)this->_descriptor + 0xac) = 0; uVar4 = RNG::RandomInt(&local_34,3); @@ -600736,16 +601595,16 @@ LAB_00814854: uVar4 = RNG::RandomInt(&local_34,8); uVar3 = (undefined2)uVar4; } - uVar4 = (int)piVar10 - (int)puVar8 & 0xfffffffc; + uVar4 = (int)piVar10 - (int)puVar9 & 0xfffffffc; *(undefined2 *)((int)this->_descriptor + 0xae) = uVar3; - puVar12 = puVar8; + puVar12 = puVar9; if (0xfff < uVar4) { - puVar12 = (undefined4 *)puVar8[-1]; + puVar12 = (undefined4 *)puVar9[-1]; uVar4 = uVar4 + 0x23; - if (0x1f < (uint)((int)puVar8 + (-4 - (int)puVar12))) goto LAB_00814776; + if (0x1f < (uint)((int)puVar9 + (-4 - (int)puVar12))) goto LAB_00814776; } operator_delete(puVar12,uVar4); - RVar9 = local_34; + uVar4 = local_34._seed; goto LAB_0081485e; } if (g_game->_currentRoomIdx == -0xd) { @@ -600821,10 +601680,10 @@ LAB_00814854: local_20 = local_20 + 1; } piVar11 = local_20; - puVar8 = local_24; + puVar9 = local_24; RNG::Shuffle(local_24,local_20); - piVar11 = (int *)((int)piVar11 - (int)puVar8 >> 2); - iVar7 = 0; + piVar11 = (int *)((int)piVar11 - (int)puVar9 >> 2); + iVar8 = 0; local_18 = (int *)&DAT_00000008; if ((int)piVar11 < 8) { local_18 = piVar11; @@ -600832,21 +601691,21 @@ LAB_00814854: if (0 < (int)local_18) { iVar13 = 0x94; do { - puVar12 = puVar8 + iVar7; - iVar7 = iVar7 + 1; + puVar12 = puVar9 + iVar8; + iVar8 = iVar8 + 1; *(undefined2 *)(iVar13 + (int)this->_descriptor) = *(undefined2 *)puVar12; iVar13 = iVar13 + 2; - } while (iVar7 < (int)local_18); + } while (iVar8 < (int)local_18); } *(undefined2 *)((int)this->_descriptor + 0xac) = 0; - if (local_34 == (RNG)0x0) { + if (local_34._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)local_34 >> ((byte)local_30 & 0x1f) ^ (uint)local_34; - uVar4 = uVar4 << ((byte)((ulonglong)local_30 >> 0x20) & 0x1f) ^ uVar4; - local_34 = (RNG)(uVar4 >> ((byte)local_28 & 0x1f) ^ uVar4); - if ((uint)local_34 % 3 == 0) { + local_34._seed = (uint)local_34._seed >> ((byte)local_34._shift1 & 0x1f) ^ local_34._seed; + local_34._seed = local_34._seed << ((byte)local_34._shift2 & 0x1f) ^ local_34._seed; + local_34._seed = (uint)local_34._seed >> ((byte)local_34._shift3 & 0x1f) ^ local_34._seed; + if ((uint)local_34._seed % 3 == 0) { uVar3 = 0xffff; } else { @@ -600854,16 +601713,16 @@ LAB_00814854: uVar3 = (undefined2)uVar4; } *(undefined2 *)((int)this->_descriptor + 0xae) = uVar3; - RVar9 = local_34; + uVar4 = local_34._seed; if (local_24 == (undefined4 *)0x0) goto LAB_0081485e; - uVar4 = (int)local_1c - (int)local_24 & 0xfffffffc; - puVar8 = local_24; - if (0xfff < uVar4) { - puVar8 = (undefined4 *)local_24[-1]; - iVar7 = (int)local_24 - (int)puVar8; + uVar7 = (int)local_1c - (int)local_24 & 0xfffffffc; + puVar9 = local_24; + if (0xfff < uVar7) { + puVar9 = (undefined4 *)local_24[-1]; + iVar8 = (int)local_24 - (int)puVar9; joined_r0x00814770: - uVar4 = uVar4 + 0x23; - if (0x1f < iVar7 - 4U) { + uVar7 = uVar7 + 0x23; + if (0x1f < iVar8 - 4U) { LAB_00814776: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); @@ -600873,7 +601732,7 @@ LAB_00814776: else { bVar2 = Game::IsGreedMode(g_game); if ((bVar2 != 0) || - (((iVar7 == 2 && (uVar4 = *(uint *)(*(int *)((int)pvVar1 + 0x10) + 0x10), 99 < uVar4)) && + (((iVar8 == 2 && (uVar4 = *(uint *)(*(int *)((int)pvVar1 + 0x10) + 0x10), 99 < uVar4)) && (uVar4 < 0x78)))) { *(undefined2 *)((int)pvVar1 + 0x94) = 3; *(undefined2 *)((int)this->_descriptor + 0x96) = 0; @@ -600896,7 +601755,7 @@ LAB_00814776: if (uVar4 == 0) goto LAB_00814851; uVar4 = RNG::RandomInt(&local_34,8); uVar3 = (undefined2)uVar4; - RVar9 = local_34; + uVar4 = local_34._seed; goto LAB_00814854; } local_24 = (undefined4 *)0x0; @@ -600918,7 +601777,7 @@ LAB_00814776: } while ((int)local_18 < 8); local_18 = piVar11; if (3 < this->_shopLevel) { - local_38 = (RNG)0x8; + local_38 = 8; if (local_20 == piVar11) { std::vector::_Emplace_reallocate(local_20,&local_38); local_18 = local_1c; @@ -600929,32 +601788,32 @@ LAB_00814776: } } piVar11 = local_20; - puVar8 = local_24; + puVar9 = local_24; RNG::Shuffle(local_24,local_20); - RVar9 = (RNG)((int)piVar11 - (int)puVar8 >> 2); - iVar7 = 0; - local_38 = (RNG)0x8; - if ((int)RVar9 < 8) { - local_38 = RVar9; + uVar4 = (int)piVar11 - (int)puVar9 >> 2; + iVar8 = 0; + local_38 = 8; + if ((int)uVar4 < 8) { + local_38 = uVar4; } if (0 < (int)local_38) { iVar13 = 0x94; do { - puVar12 = puVar8 + iVar7; - iVar7 = iVar7 + 1; + puVar12 = puVar9 + iVar8; + iVar8 = iVar8 + 1; *(undefined2 *)(iVar13 + (int)this->_descriptor) = *(undefined2 *)puVar12; iVar13 = iVar13 + 2; - } while (iVar7 < (int)local_38); + } while (iVar8 < (int)local_38); } - if (local_34 == (RNG)0x0) { + if (local_34._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - bVar2 = (byte)local_30; - uVar4 = (uint)local_34 >> (bVar2 & 0x1f) ^ (uint)local_34; - bVar5 = (byte)((ulonglong)local_30 >> 0x20); + bVar2 = (byte)local_34._shift1; + uVar4 = (uint)local_34._seed >> (bVar2 & 0x1f) ^ local_34._seed; + bVar5 = (byte)local_34._shift2; uVar4 = uVar4 << (bVar5 & 0x1f) ^ uVar4; - bVar6 = (byte)local_28; + bVar6 = (byte)local_34._shift3; uVar4 = uVar4 >> (bVar6 & 0x1f) ^ uVar4; *(undefined2 *)((int)this->_descriptor + (uVar4 & 1) * 2 + 0x94) = 8; *(undefined2 *)((int)this->_descriptor + 0xac) = 0; @@ -600964,34 +601823,34 @@ LAB_00814776: } uVar4 = uVar4 >> (bVar2 & 0x1f) ^ uVar4; uVar4 = uVar4 << (bVar5 & 0x1f) ^ uVar4; - RVar9 = (RNG)(uVar4 >> (bVar6 & 0x1f) ^ uVar4); - if ((uint)RVar9 % 3 == 0) { + uVar4 = uVar4 >> (bVar6 & 0x1f) ^ uVar4; + if (uVar4 % 3 == 0) { uVar3 = 0xffff; } else { - if (RVar9 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar9 >> (bVar2 & 0x1f) ^ (uint)RVar9; + uVar4 = uVar4 >> (bVar2 & 0x1f) ^ uVar4; uVar4 = uVar4 << (bVar5 & 0x1f) ^ uVar4; - RVar9 = (RNG)(uVar4 >> (bVar6 & 0x1f) ^ uVar4); - uVar3 = (undefined2)((uint)RVar9 % 6); + uVar4 = uVar4 >> (bVar6 & 0x1f) ^ uVar4; + uVar3 = (undefined2)(uVar4 % 6); } *(undefined2 *)((int)this->_descriptor + 0xae) = uVar3; if (local_24 == (undefined4 *)0x0) goto LAB_0081485e; - uVar4 = (int)local_18 - (int)local_24 & 0xfffffffc; - puVar8 = local_24; - if (0xfff < uVar4) { - puVar8 = (undefined4 *)local_24[-1]; - iVar7 = (int)local_24 - (int)puVar8; + uVar7 = (int)local_18 - (int)local_24 & 0xfffffffc; + puVar9 = local_24; + if (0xfff < uVar7) { + puVar9 = (undefined4 *)local_24[-1]; + iVar8 = (int)local_24 - (int)puVar9; goto joined_r0x00814770; } } - operator_delete(puVar8,uVar4); + operator_delete(puVar9,uVar7); } LAB_0081485e: - *(RNG *)((int)this->_descriptor + 0x60) = RVar9; + *(uint *)((int)this->_descriptor + 0x60) = uVar4; ExceptionList = local_10; return; } @@ -601043,7 +601902,7 @@ int FUN_00814980(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3,und ItemPool::GetCollectible/GetTrinket/GetCardEx/GetPill, lua_callback_run_get_card; called from Entity_Pickup::Init (00814980) and Entity_Pickup::Morph when variant 0 */ -void pickup_roll_random_variant(uint param_1,undefined4 *param_2,uint *param_3,RNG param_4) +void pickup_roll_random_variant(uint param_1,undefined4 *param_2,uint *param_3,int param_4) { short sVar1; @@ -601064,8 +601923,6 @@ void pickup_roll_random_variant(uint param_1,undefined4 *param_2,uint *param_3,R uint local_20; byte local_19; RNG local_18; - undefined8 local_14; - undefined4 local_c; undefined4 local_8; local_8 = __security_cookie ^ (int)register0x00000010 - 4U; @@ -601173,7 +602030,7 @@ LAB_00814ba6: } } } - local_18 = param_4; + local_18._seed = param_4; switch(*(undefined2 *)(*(int *)(in_ECX + 4) + 0x94 + uVar8 * 2)) { case 0: *param_2 = 10; @@ -601202,9 +602059,10 @@ LAB_00814ba6: return; case 6: *param_2 = 300; - iVar3 = ItemPool::GetCardEx((int)param_4,0x19,0,10,1); - local_14 = 0x900000005; - local_c = 7; + iVar3 = ItemPool::GetCardEx(param_4,0x19,0,10,1); + local_18._shift1 = 5; + local_18._shift2 = 9; + local_18._shift3 = 7; uVar4 = lua_callback_run_get_card(&local_18,iVar3,1,0,0); *param_3 = uVar4; return; @@ -601258,8 +602116,9 @@ LAB_00814ba6: case 0xf: *param_2 = 10; *param_3 = 6; - local_14 = 0x100000007; - local_c = 9; + local_18._shift1 = 7; + local_18._shift2 = 1; + local_18._shift3 = 9; uVar4 = RNG::RandomInt(&local_18,3); if (uVar4 == 0) { *param_3 = 4; @@ -601282,9 +602141,10 @@ LAB_00814ba6: break; case 0x10: *param_2 = 300; - iVar3 = ItemPool::GetCardEx((int)param_4,0,1,0,1); - local_14 = 0x900000005; - local_c = 7; + iVar3 = ItemPool::GetCardEx(param_4,0,1,0,1); + local_18._shift1 = 5; + local_18._shift2 = 9; + local_18._shift3 = 7; uVar4 = lua_callback_run_get_card(&local_18,iVar3,0,1,1); *param_3 = uVar4; return; @@ -601356,29 +602216,26 @@ int Room::GetShopItemPrice(uint param_1,int param_2,uint param_3,Entity_Player * undefined4 unaff_EBX; undefined3 uVar10; RNG local_48; - undefined8 local_44; - undefined4 local_3c; undefined4 local_38; PlayerManager *local_34; Entity_Player *local_30; - RNG local_2c; + uint local_2c; int local_28; uint local_24; Entity_Player *local_20; char local_19; RNG local_18; - undefined8 local_14; - undefined4 local_c; undefined4 local_8; local_8 = __security_cookie ^ (int)register0x00000010 - 4U; local_20 = param_4; - local_44 = 0x900000005; - local_48 = (RNG)(param_2 + param_1 | *(uint *)(*(int *)(in_ECX + 4) + 0x58) & 0xfffff800); + local_48._shift1 = 5; + local_48._shift2 = 9; + local_48._seed = param_2 + param_1 | *(uint *)(*(int *)(in_ECX + 4) + 0x58) & 0xfffff800; local_38 = 7; - local_3c = 7; + local_48._shift3 = 7; uVar10 = (undefined3)((uint)unaff_EBX >> 8); - local_2c = local_48; + local_2c = local_48._seed; local_28 = in_ECX; if (param_4 == (Entity_Player *)0x0) { local_30 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0xab); @@ -601395,9 +602252,10 @@ int Room::GetShopItemPrice(uint param_1,int param_2,uint param_3,Entity_Player * (bVar2 = Entity_Player::HasTrinket(local_30,0xab,0), bVar2 != 0)) { iVar4 = Entity_Player::GetTrinketMultiplier(local_30,0xab); if (iVar4 < 2) { - local_18 = local_2c; - local_14 = 0x10000000f; - local_c = 0x1d; + local_18._seed = local_2c; + local_18._shift1 = 0xf; + local_18._shift2 = 1; + local_18._shift3 = 0x1d; uVar6 = RNG::RandomInt(&local_18,2); if (uVar6 != 0) goto LAB_008152fc; } @@ -601415,9 +602273,10 @@ LAB_008152fc: if (bVar2 == 0) goto LAB_008152fc; iVar4 = Entity_Player::GetTrinketMultiplier(local_20,0xab); if (iVar4 < 2) { - local_18 = local_2c; - local_14 = 0x10000000f; - local_c = 0x1d; + local_18._seed = local_2c; + local_18._shift1 = 0xf; + local_18._shift2 = 1; + local_18._shift3 = 0x1d; uVar6 = RNG::RandomInt(&local_18,2); if (uVar6 != 0) { local_19 = '\0'; @@ -601890,7 +602749,7 @@ int _Room::ResolveHeartSubType(uint param_1,int param_2,Entity_Player *param_3) double dVar12; uint local_2c; int local_20; - RNG local_1c [4]; + RNG local_1c; uint local_c; undefined1 auStack_8 [4]; @@ -602061,7 +602920,7 @@ LAB_00816573: pEVar4 = (Entity_Player *)PlayerManager::FirstTrinketOwner(); if (((*(int *)(in_ECX + 8) == 0xe) && (pEVar4 != (Entity_Player *)0x0)) && (iVar7 = Entity_Player::GetTrinketMultiplier(pEVar4,0xab), 2 < iVar7)) { - RNG::game_constructor(local_1c,*(uint *)(*(int *)(in_ECX + 4) + 0x60),param_1); + RNG::game_constructor(&local_1c,*(uint *)(*(int *)(in_ECX + 4) + 0x60),param_1); uVar8 = RNG::RandomInt(this,3); if (uVar8 == 0) { iVar6 = iVar6 + 1; @@ -604255,20 +605114,20 @@ LAB_0081deea: /* DB: ? "Shockwave id is too large!" id<2, copies 0x1c-byte params */ -void __thiscall Game::SetShockwaveParams(Game *this,uint param_2,undefined4 *param_3) +void __thiscall Game::SetShockwaveParams(Game *this,uint param_2,int *param_3) { if (1 < param_2) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Shockwave id is too large!"); } - *(undefined4 *)((int)&this->_roomList[0x9c].SavedEffects + param_2 * 0x1c + 8) = *param_3; - *(undefined4 *)(&this->_roomList[0x9c].field_0x94 + param_2 * 0x1c) = param_3[1]; - *(undefined4 *)(&this->_roomList[0x9c].field_0x98 + param_2 * 0x1c) = param_3[2]; - *(undefined4 *)(&this->_roomList[0x9c].field_0x9c + param_2 * 0x1c) = param_3[3]; - *(undefined4 *)(&this->_roomList[0x9c].field_0xa0 + param_2 * 0x1c) = param_3[4]; - *(undefined4 *)(&this->_roomList[0x9c].field_0xa4 + param_2 * 0x1c) = param_3[5]; - *(undefined4 *)(&this->_roomList[0x9c].field_0xa8 + param_2 * 0x1c) = param_3[6]; + this->_roomList[0x9c]._doors[param_2 * 7 + 0x1d] = *param_3; + this->_roomList[0x9c]._doors[param_2 * 7 + 0x1e] = param_3[1]; + this->_roomList[0x9c]._doors[param_2 * 7 + 0x1f] = param_3[2]; + this->_roomList[0x9c]._doors[param_2 * 7 + 0x20] = param_3[3]; + this->_roomList[0x9c]._doors[param_2 * 7 + 0x21] = param_3[4]; + this->_roomList[0x9c]._doors[param_2 * 7 + 0x22] = param_3[5]; + this->_roomList[0x9c]._doors[param_2 * 7 + 0x23] = param_3[6]; return; } @@ -604744,7 +605603,7 @@ float * Room::GetRandomPosition(float *param_1,float param_2) /* ZHL [lua] Lua binding Room:GetRandomTileIndex */ -int __thiscall Room::GetRandomTileIndex(Room *this,RNG param_2) +int __thiscall Room::GetRandomTileIndex(Room *this,uint param_2) { LRoomTileDesc LVar1; @@ -604757,8 +605616,6 @@ int __thiscall Room::GetRandomTileIndex(Room *this,RNG param_2) undefined4 local_28; undefined4 local_24; RNG local_20; - undefined8 local_1c; - undefined4 local_14; int local_10; Room *local_c; @@ -604770,10 +605627,10 @@ int __thiscall Room::GetRandomTileIndex(Room *this,RNG param_2) local_2c = *(undefined4 *)(&DAT_00c35b84 + iVar5); local_28 = *(undefined4 *)(&DAT_00c35b88 + iVar5); local_24 = *(undefined4 *)(&DAT_00c35b8c + iVar5); - local_20 = *(RNG *)(&DAT_00c35b90 + iVar5); - local_1c = *(undefined8 *)(&DAT_00c35b94 + iVar5); - local_14 = *(undefined4 *)(&DAT_00c35b9c + iVar5); - LRoomTileDesc::GetRandomTile(&local_30,&local_10,(uint)param_2); + local_20._seed = *(int *)(&DAT_00c35b90 + iVar5); + local_20._4_8_ = *(undefined8 *)(&DAT_00c35b94 + iVar5); + local_20._shift3 = *(int *)(&DAT_00c35b9c + iVar5); + LRoomTileDesc::GetRandomTile(&local_30,&local_10,param_2); if (((-1 < local_10) && (local_10 < this->_gridWidth)) && ((-1 < (int)local_c && ((int)local_c < this->_gridHeight)))) { return this->_gridWidth * (int)local_c + local_10; @@ -604783,9 +605640,10 @@ int __thiscall Room::GetRandomTileIndex(Room *this,RNG param_2) LVar1 = *(LRoomTileDesc *)(&DAT_00c35b80 + iVar5); iVar4 = *(int *)(&DAT_00c35b84 + iVar5); iVar2 = *(int *)(&DAT_00c35b8c + iVar5); - local_20 = param_2; - local_14 = 0x1d; - local_1c = 0x900000001; + local_20._seed = param_2; + local_20._shift3 = 0x1d; + local_20._shift1 = 1; + local_20._shift2 = 9; uVar3 = RNG::RandomInt(&local_20,*(int *)(&DAT_00c35b88 + iVar5) - (int)LVar1); iVar5 = uVar3 + (int)LVar1; uVar3 = RNG::RandomInt(&local_20,iVar2 - iVar4); @@ -605601,25 +606459,24 @@ undefined4 Room::TrySpawnTheVoidDoor(char param_1) if ((g_game->_difficulty == 2) || (g_game->_difficulty == 3)) goto LAB_00820601; pCVar6 = Game::GetChallengeParams(g_game); puVar8 = (undefined1 *)0xc; - if ((*(int *)(&pCVar6->field_0x14 + 0x2c) != 0xc) && + if ((pCVar6->_endStage != 0xc) && (((this->_challenge != 0 || ((this->_dailyChallenge)._id != 0)) || (((g_manager->_persistentGameData)._achievements[0x140] == 0 && ((g_manager->_state != 2 || (this->_isDebug == 0)))))))) { puVar8 = &DAT_0000000b; } puVar9 = puVar8; - if ((&pCVar6->field_0x14)[0x6b] != '\0') { - puVar9 = *(undefined1 **)(&pCVar6->field_0x14 + 0x2c); - if (*(undefined1 **)(&pCVar6->field_0x14 + 0x2c) == (undefined1 *)0x0) { + if (pCVar6->_isPathTypeSet != 0) { + puVar9 = (undefined1 *)pCVar6->_endStage; + if ((undefined1 *)pCVar6->_endStage == (undefined1 *)0x0) { puVar9 = puVar8; } - if (*(int *)(&pCVar6->field_0x14 + 0x6c) == 3) goto LAB_00820601; + if (pCVar6->_pathType == 3) goto LAB_00820601; } if (((int)puVar9 < 0xc) || ((this->_levelStateFlags & 0x200000U) != 0)) goto LAB_00820601; } pCVar6 = Game::GetChallengeParams(this); - if ((param_1 != '\0') || - (((&pCVar6->field_0x14)[0x6b] == '\0' || (iVar10 < *(int *)(&pCVar6->field_0x14 + 0x2c))))) { + if ((param_1 != '\0') || ((pCVar6->_isPathTypeSet == 0 || (iVar10 < pCVar6->_endStage)))) { if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < g_invalidRoomDescriptorGuard) && (_Init_thread_header(&g_invalidRoomDescriptorGuard), g_invalidRoomDescriptorGuard == -1)) { local_8 = 0; @@ -606171,7 +607028,7 @@ void __thiscall Room::render_water(Room *this) float local_30; float local_2c; float local_28; - undefined4 local_24; + int local_24; Room *local_20; byte local_1c [4]; uint local_18; @@ -606192,7 +607049,7 @@ void __thiscall Room::render_water(Room *this) iStack_48 = g_graphicsManager_blendMode[1]; iStack_44 = g_graphicsManager_blendMode[2]; iStack_40 = g_graphicsManager_blendMode[3]; - local_24 = DAT_00c79910; + local_24 = g_graphicsManager_blendMode[4]; fVar21 = 1.194454e-38; KAGE_Graphics::SetRenderTarget(DAT_00c797f4,0); g_graphicsManager_flags = g_graphicsManager_flags & 0xfffffffd; @@ -606434,7 +607291,7 @@ void __thiscall Room::render_water(Room *this) g_graphicsManager_blendMode[1] = iStack_48; g_graphicsManager_blendMode[2] = iStack_44; g_graphicsManager_blendMode[3] = iStack_40; - DAT_00c79910 = local_24; + g_graphicsManager_blendMode[4] = local_24; g_graphicsManager_flags = g_graphicsManager_flags | 2; if (g_renderTargetStackSize == 0) { /* WARNING: Subroutine does not return */ @@ -606522,7 +607379,7 @@ void Room::render_water_shader(float *param_1) g_graphicsManager_blendMode[1] = 1; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; puVar5 = &DAT_00c79708; if ((DAT_00c7970c & 1) == 0) { puVar5 = g_currentShader; @@ -606970,7 +607827,7 @@ LAB_008226e0: iVar6 = (pGVar3->_desc)._type; if (iVar6 == 2) { LAB_0082274f: - if (*(int *)&pRVar8->field_0x11f0 == g_game->_frameCount) { + if (pRVar8->_enterFrame == g_game->_frameCount) { PickupGridEntity(pRVar8,local_121c); } else { @@ -607896,12 +608753,11 @@ uint FUN_00823be0(float *param_1,Entity_Player *param_2,char param_3) spirals outward over the room grid up to 16 rings for the first tile centre that passes; else returns pos; Game::DevolveEnemy moves the new enemy there */ -void Room::find_reachable_position(float *param_1,float *param_2) +void __thiscall Room::find_reachable_position(Room *this,float *param_2,float *param_3) { char cVar1; int iVar2; - int in_ECX; int iVar3; int iVar4; int iVar5; @@ -607914,22 +608770,22 @@ void Room::find_reachable_position(float *param_1,float *param_2) float local_10; float local_c; - cVar1 = FUN_00823be0(param_2,0,0); + cVar1 = FUN_00823be0(param_3,0,0); if (cVar1 == '\0') { local_24 = 0; local_28 = -1; local_2c = 1; - iVar6 = (int)((*param_2 - 40.0) / 40.0 + 0.5); - iVar5 = (int)((param_2[1] - 120.0) / 40.0 + 0.5); + iVar6 = (int)((*param_3 - 40.0) / 40.0 + 0.5); + iVar5 = (int)((param_3[1] - 120.0) / 40.0 + 0.5); do { iVar4 = 0; if (0 < local_2c) { do { iVar6 = iVar6 + local_24; iVar5 = iVar5 + local_28; - if ((((0 < iVar6) && (0 < iVar5)) && (iVar3 = *(int *)(in_ECX + 0xc), iVar6 < iVar3 + -1)) - && (iVar5 < *(int *)(in_ECX + 0x10) + -1)) { - if ((iVar6 < iVar3) && (iVar5 < *(int *)(in_ECX + 0x10))) { + if ((((0 < iVar6) && (0 < iVar5)) && (iVar3 = this->_gridWidth, iVar6 < iVar3 + -1)) && + (iVar5 < this->_gridHeight + -1)) { + if ((iVar6 < iVar3) && (iVar5 < this->_gridHeight)) { iVar2 = iVar3 * iVar5 + iVar6; } else { @@ -607941,8 +608797,8 @@ void Room::find_reachable_position(float *param_1,float *param_2) local_c = fVar8; cVar1 = FUN_00823be0(&local_10,0,0); if (cVar1 != '\0') { - *param_1 = fVar7; - param_1[1] = fVar8; + *param_2 = fVar7; + param_2[1] = fVar8; return; } } @@ -607959,9 +608815,9 @@ void Room::find_reachable_position(float *param_1,float *param_2) local_24 = iVar3; } while (iVar4 < 0x10); } - fVar7 = param_2[1]; - *param_1 = *param_2; - param_1[1] = fVar7; + fVar7 = param_3[1]; + *param_2 = *param_3; + param_2[1] = fVar7; return; } @@ -607988,11 +608844,15 @@ int FUN_00823ec0(void) } -//@@ 00823f50 FUN_00823f50 +//@@ 00823f50 Room::attach_minecarts /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: Room::Init calls it; for each room entity (+0x125c list, types 10..0x3e7 or player in + deathmatch) with a spawn grid index, checks the 4 neighbours in the rail grid byte array + Room+0x746c and calls Entity::GiveMinecart, special case type 0x3c5 variant 10; + Entity_NPC::update_move_direction_anim */ -void FUN_00823f50(void) +void Room::attach_minecarts(void) { int *piVar1; @@ -608191,9 +609051,15 @@ bool FUN_008242f0(void) } -//@@ 00824350 FUN_00824350 +//@@ 00824350 Room::init_rain -void FUN_00824350(void) +/* DB: ECX=Room: zeroes _numRainSpawners (+0x7454), clears _isRainStopped (+0x745c); when + _waterAmount (+0x7240)>0 and stage 27/28 (Downpour/Dross) or backdrop 0x2c, picks 0..4 spawners + from the room seed (RNG % 1000) and fills the spawner array +0x73f4 with random + positions/velocities, then 10x Room::update_ambient_spawns (db/fields.tsv already cites it as + "rain init") */ + +void Room::init_rain(void) { uint uVar1; @@ -608338,7 +609204,7 @@ void FUN_00824350(void) } while (local_1c < 10); iVar6 = 10; do { - Room::update_ambient_spawns(); + update_ambient_spawns(); iVar6 = iVar6 + -1; } while (iVar6 != 0); } @@ -608452,7 +609318,7 @@ uint __thiscall Room::update_ambient_effects(Room *this) float local_3c [10]; undefined4 local_14; undefined4 uStack_10; - undefined4 local_c; + float local_c; if (g_game->_challenge == 0x2c) { Level::GetRoomStageType(g_game->_currentRoomIdx); @@ -608480,7 +609346,7 @@ LAB_00824ad7: local_68 = -1; } else { - local_68 = pGVar13->_frameCount - *(int *)&this->field_0x11f0; + local_68 = pGVar13->_frameCount - this->_enterFrame; if (local_68 == 0) goto LAB_00824b4c; } if (pGVar13->_frameCount % 0xd2 != 0) { @@ -608525,7 +609391,7 @@ LAB_00824b4c: local_14 = 0; *(byte *)((int)piVar10 + 0x149) = bVar5 & 1; uStack_10 = 0; - local_c = 0; + local_c = 0.0; if (iVar6 == 0x1b) { local_3c[2] = 0.87843144; local_3c[3] = 0.9607844; @@ -608568,17 +609434,17 @@ LAB_00824b4c: local_3c[5] = (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * 2.3283064e-10 * 0.3 + 0.7; pLVar11 = ANM2::GetLayer(this_00,(byte *)0x0); - if ((float *)&pLVar11->field_0x48 != local_3c + 2) { - *(float *)&pLVar11->field_0x48 = local_3c[2]; - *(float *)&pLVar11->field_0x4c = local_3c[3]; - *(float *)&pLVar11->field_0x50 = local_3c[4]; - *(float *)&pLVar11->field_0x54 = local_3c[5]; - *(undefined4 *)&pLVar11->field_0x58 = 0; - *(undefined4 *)&pLVar11->field_0x5c = 0; - *(undefined4 *)&pLVar11->field_0x60 = 0; - *(undefined4 *)&pLVar11->field_0x64 = 0; - *(ulonglong *)&pLVar11->field_0x68 = CONCAT44(uStack_10,local_14); - *(undefined4 *)&pLVar11->field_0x70 = local_c; + if (&pLVar11->_color != (ColorMod *)(local_3c + 2)) { + (pLVar11->_color)._tint[0] = local_3c[2]; + (pLVar11->_color)._tint[1] = local_3c[3]; + (pLVar11->_color)._tint[2] = local_3c[4]; + (pLVar11->_color)._tint[3] = local_3c[5]; + (pLVar11->_color)._colorize[0] = 0.0; + (pLVar11->_color)._colorize[1] = 0.0; + (pLVar11->_color)._colorize[2] = 0.0; + (pLVar11->_color)._colorize[3] = 0.0; + *(ulonglong *)(pLVar11->_color)._offset = CONCAT44(uStack_10,local_14); + (pLVar11->_color)._offset[2] = local_c; } uVar12 = (**(code **)(*piVar10 + 0xc))(); local_64 = local_64 + -1; @@ -608706,7 +609572,7 @@ LAB_00824f78: } while (local_5c < (uint)(in_ECX->_entityList)._updateEL._size); } if ((*(char *)in_ECX != '\0') && - (piVar7 = (int *)(g_game->_frameCount - *(int *)&in_ECX->field_0x11f0), + (piVar7 = (int *)(g_game->_frameCount - in_ECX->_enterFrame), local_40 = (void **)(((int)piVar7 / 3) * 3), (void **)piVar7 == local_40)) { ppvVar8 = (void **)(in_ECX->_gridWidth * in_ECX->_gridHeight); fVar13 = (in_ECX->_waterCurrent).x * 40.0; @@ -609321,7 +610187,7 @@ void Room::render_darkness_overlay(void) g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; bVar5 = Game::IsPaused(g_game); if (bVar5 == 0) { uVar8 = g_manager->_framecount + 1U & 0x80000001; @@ -609488,7 +610354,7 @@ void Room::render_darkness_overlay(void) fStack_34 = 1.0; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; fStack_30 = 0.5; fStack_2c = 0.5; fStack_28 = 0.5; @@ -609532,7 +610398,7 @@ void Room::render_darkness_overlay(void) g_graphicsManager_blendMode[1] = 6; } g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 1; + g_graphicsManager_blendMode[4] = 1; local_cc = 0x3d4ccccd; uStack_c8 = 0x3d4ccccd; uStack_c4 = 0x3d4ccccd; @@ -609576,7 +610442,7 @@ void Room::render_darkness_overlay(void) } g_graphicsManager_blendMode[2] = 1; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 1; + g_graphicsManager_blendMode[4] = 1; local_a0 = (float)((double)DAT_00c79834[4] + __uint_to_double_fixup[-(DAT_00c79834[4] >> 0x1f)]); local_98 = (float)((double)DAT_00c79834[5] + @@ -609663,7 +610529,7 @@ LAB_008269ef: g_graphicsManager_blendMode[1] = 4; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 4; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; local_cc = 0x3f800000; uStack_c8 = 0x3f800000; uStack_c4 = 0x3f800000; @@ -609708,7 +610574,7 @@ LAB_008269ef: width +0xc/height +0x10) into a render target with custom blend, uses _lavaIntensity (0x7740); called from Room::render_lighting when a dirty flag is set */ -void Room::render_lava_pit_mask(void) +void __thiscall Room::render_lava_pit_mask(Room *this) { code *pcVar1; @@ -609722,7 +610588,6 @@ void Room::render_lava_pit_mask(void) undefined *puVar9; int iVar10; undefined4 uVar11; - int in_ECX; int iVar12; int extraout_ECX; int extraout_ECX_00; @@ -609736,8 +610601,8 @@ void Room::render_lava_pit_mask(void) undefined4 uStack_6c; undefined4 uStack_68; undefined4 local_64; - undefined4 local_60; - int local_5c; + int local_60; + void *local_5c; float local_58; float local_54; float local_50; @@ -609757,14 +610622,13 @@ void Room::render_lava_pit_mask(void) float local_14; float local_10; int local_c; - int local_8; + Room *local_8; - if ((*(int *)(in_ECX + 0x1d18) == 0x20) && - ((*(uint *)(*(int *)(in_ECX + 4) + 0x44) >> 5 & 1) != 0)) { + if ((this->_backdropType == 0x20) && ((*(uint *)((int)this->_descriptor + 0x44) >> 5 & 1) != 0)) { local_108 = (float *)&local_20; local_20 = 0; local_10c = (undefined8 *)0x826b20; - local_8 = in_ECX; + local_8 = this; std::vector::resize(); local_108 = (float *)0x826b25; puVar8 = (undefined4 *)std::deque::back(); @@ -609778,7 +610642,7 @@ void Room::render_lava_pit_mask(void) iVar3 = g_graphicsManager_blendMode[0]; local_108 = (float *)0x0; local_10c = DAT_00c7981c; - local_60 = DAT_00c79910; + local_60 = g_graphicsManager_blendMode[4]; KAGE_Graphics::SetRenderTarget(); g_graphicsManager_flags = g_graphicsManager_flags & 0xfffffffd; local_108 = (float *)0x826b83; @@ -609790,7 +610654,7 @@ void Room::render_lava_pit_mask(void) } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; DAT_00c33910 = 0; local_10 = (float)((double)*(int *)(DAT_00c7981c + 2) + __uint_to_double_fixup[-(*(int *)(DAT_00c7981c + 2) >> 0x1f)]); @@ -609803,20 +610667,19 @@ void Room::render_lava_pit_mask(void) __uint_to_double_fixup[-(*(int *)((int)DAT_00c7981c + 0x14) >> 0x1f)]); local_20 = CONCAT44(local_14,local_10); g_currentShader = puVar9; - if (0 < *(int *)(in_ECX + 0x10)) { + if (0 < this->_gridHeight) { do { - iVar10 = *(int *)(in_ECX + 0xc); + iVar10 = this->_gridWidth; iVar14 = 0; iVar13 = local_c; if (0 < iVar10) { do { piVar2 = DAT_00c79808; if ((((-1 < iVar14) && (iVar14 < iVar10)) && (-1 < iVar13)) && - ((iVar13 < *(int *)(in_ECX + 0x10) && - (iVar12 = iVar10 * iVar13 + iVar14, -1 < iVar12)))) { - local_5c = *(int *)(in_ECX + 0x24 + iVar12 * 4); - if ((local_5c == 0) || (*(int *)(local_5c + 4) != 7)) { - in_ECX = local_8; + ((iVar13 < this->_gridHeight && (iVar12 = iVar10 * iVar13 + iVar14, -1 < iVar12)))) { + local_5c = this->_gridEntities[iVar12]; + if ((local_5c == (void *)0x0) || (*(int *)((int)local_5c + 4) != 7)) { + this = local_8; } else { local_10c = (undefined8 *)0x0; @@ -609840,23 +610703,23 @@ void Room::render_lava_pit_mask(void) } } FUN_007135d0(iVar10); - iVar10 = *(int *)(local_8 + 0xc); + iVar10 = local_8->_gridWidth; iVar13 = local_c; - in_ECX = local_8; + this = local_8; } } iVar14 = iVar14 + 1; } while (iVar14 < iVar10); } local_c = iVar13 + 1; - } while (local_c < *(int *)(in_ECX + 0x10)); + } while (local_c < this->_gridHeight); } g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[1] = 6; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 0; - DAT_00c79910 = 1; - local_30 = *(float *)(in_ECX + 0x7740); + g_graphicsManager_blendMode[4] = 1; + local_30 = this->_lavaIntensity; DAT_00c33910 = 1; pcVar1 = *(code **)(*DAT_00c7980c + 0x14); local_108 = (float *)&local_74; @@ -609882,10 +610745,10 @@ void Room::render_lava_pit_mask(void) local_40 = local_50; local_3c = local_44; (*pcVar1)(&local_58); - if (0.0 < *(float *)(in_ECX + 0x7240)) { + if (0.0 < this->_waterAmount) { local_24 = 0; local_34 = 1.0; - local_28 = 1.0 - *(float *)(in_ECX + 0x7740) * *(float *)(in_ECX + 0x7740); + local_28 = 1.0 - this->_lavaIntensity * this->_lavaIntensity; local_30 = 1.0; pcVar1 = *(code **)(*DAT_00c79814 + 0x14); local_2c = 1.0; @@ -609907,7 +610770,7 @@ void Room::render_lava_pit_mask(void) (*pcVar1)(&local_58,uVar11,&local_34); } _glfw_context_reset(1); - DAT_00c79910 = local_60; + g_graphicsManager_blendMode[4] = local_60; g_graphicsManager_flags = g_graphicsManager_flags | 2; g_graphicsManager_blendMode[0] = iVar3; g_graphicsManager_blendMode[1] = iVar4; @@ -609984,7 +610847,7 @@ void Room::render_water_overlay(float *param_1) g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; local_28 = 0; fStack_24 = 0.0; fStack_20 = 0.0; @@ -610575,9 +611438,15 @@ undefined4 Room::is_pre_ascent_mom_room(void) } -//@@ 00827bf0 FUN_00827bf0 +//@@ 00827bf0 Room::spawn_sanguine_bond_spikes -undefined4 FUN_00827bf0(char param_1) +/* DB: ECX=Room (grid width +0xc, height +0x10, grid entity array +0x24, 0x1c0 cells): only in room + type 0xe (ROOM_DEVIL) when PlayerManager::FirstCollectibleOwner(692 COLLECTIBLE_SANGUINE_BOND); + clears the cell at width*4+7, GridEntity::GridEntity/Init spikes there ("SpawnGridEntity: Grid + index invalid"), unsummons other GridEntity_Spikes; callers Entity_Player::AddCollectible and + Room::Init */ + +undefined4 Room::spawn_sanguine_bond_spikes(char param_1) { undefined4 *puVar1; @@ -612124,7 +612993,7 @@ undefined4 * RoomConfigStage::GetDisplayName(undefined4 *param_1,uint param_2) } uVar4 = param_2; if (param_2 == 0x14) { - uVar4 = g_manager->_stringTable; + uVar4 = *(uint *)&g_manager->_stringTable; } if (*pbVar3 == 0x23) { param_2 = param_2 & 0xffffff; @@ -615019,7 +615888,7 @@ undefined4 * Level::GetCurseNameByIdx(undefined4 *param_1,uint param_2) if (0xf < *(uint *)(iVar2 + 0x18 + param_2 * 0x1c)) { pbVar5 = *(byte **)pbVar5; } - uVar3 = g_manager->_stringTable; + uVar3 = *(undefined4 *)&g_manager->_stringTable; if (*pbVar5 == 0x23) { param_2 = param_2 & 0xffffff; StringTable::get_string("Curses",uVar3,pbVar5 + 1,(int)¶m_2 + 3); @@ -615957,7 +616826,7 @@ LAB_0082d871: undefined4 RoomConfig::GetRandomSplitRoom - (RNG param_1,undefined4 param_2,int param_3,uint param_4,int param_5,uint param_6, + (uint param_1,undefined4 param_2,int param_3,uint param_4,int param_5,uint param_6, int param_7,int param_8,int param_9,int param_10,uint param_11,int param_12) { @@ -615970,8 +616839,6 @@ RoomConfig::GetRandomSplitRoom uint uVar7; int *piVar8; RNG local_1c; - undefined8 local_18; - undefined4 local_10; uint local_c; RoomConfig *local_8; @@ -615985,14 +616852,15 @@ RoomConfig::GetRandomSplitRoom uVar5 = uVar5 + 1; } while (*piVar1 != 0); if (uVar5 != 0) { - local_1c = param_1; - local_18 = 0x1100000007; - local_10 = 0x15; + local_1c._seed = param_1; + local_1c._shift1 = 7; + local_1c._shift2 = 0x11; + local_1c._shift3 = 0x15; uVar5 = RNG::RandomInt(&local_1c,uVar5); piVar8 = piVar8 + uVar5 * 8; uVar5 = 0; param_4 = piVar8[3]; - param_1 = (RNG)piVar8[7]; + param_1 = piVar8[7]; do { if ((*(uint *)(param_10 + (uVar5 >> 5) * 4) & 1 << ((byte)uVar5 & 0x1f)) != 0) { if (((0 < piVar8[2]) && ((uVar5 == 4 || (uVar5 == 6)))) || @@ -616015,29 +616883,29 @@ LAB_0082dab9: /* WARNING: Subroutine does not return */ std::bitset::_Xran(); } - (¶m_1)[uVar7 >> 5] = (RNG)(*(uint *)(¶m_1 + (uVar7 >> 5)) | local_c); + (¶m_1)[uVar7 >> 5] = (¶m_1)[uVar7 >> 5] | local_c; } } uVar5 = uVar5 + 1; if (7 < uVar5) { - if (local_1c == (RNG)0x0) { + if (local_1c._seed == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = (uint)local_1c >> ((byte)local_18 & 0x1f) ^ (uint)local_1c; - uVar5 = uVar5 << ((byte)((ulonglong)local_18 >> 0x20) & 0x1f) ^ uVar5; - uVar5 = uVar5 >> ((byte)local_10 & 0x1f) ^ uVar5; + uVar5 = (uint)local_1c._seed >> ((byte)local_1c._shift1 & 0x1f) ^ local_1c._seed; + uVar5 = uVar5 << ((byte)local_1c._shift2 & 0x1f) ^ uVar5; + uVar5 = uVar5 >> ((byte)local_1c._shift3 & 0x1f) ^ uVar5; pRVar2 = GetRandomRoom(local_8,uVar5,(byte)param_2,param_3,1,*piVar8,param_6,param_7, param_8,param_9,¶m_4,param_11,param_12); if (uVar5 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = uVar5 >> ((byte)local_18 & 0x1f) ^ uVar5; - uVar5 = uVar5 << ((byte)((ulonglong)local_18 >> 0x20) & 0x1f) ^ uVar5; - pRVar3 = GetRandomRoom(local_8,uVar5 >> ((byte)local_10 & 0x1f) ^ uVar5,(byte)param_2, - param_3,1,piVar8[4],param_6,param_7,param_8,param_9, - (uint *)¶m_1,param_11,param_12); + uVar5 = uVar5 >> ((byte)local_1c._shift1 & 0x1f) ^ uVar5; + uVar5 = uVar5 << ((byte)local_1c._shift2 & 0x1f) ^ uVar5; + pRVar3 = GetRandomRoom(local_8,uVar5 >> ((byte)local_1c._shift3 & 0x1f) ^ uVar5, + (byte)param_2,param_3,1,piVar8[4],param_6,param_7,param_8,param_9 + ,¶m_1,param_11,param_12); if ((pRVar2 == (RoomConfig_Room *)0x0) || (pRVar3 == (RoomConfig_Room *)0x0)) { return 0; } @@ -616715,7 +617583,7 @@ void std::_Sort_unchecked<16byte>(int param_1,code *param_2) } while (0x1f < (int)((int)puVar7 - (int)in_ECX & 0xfffffff0U)); return; } - FUN_0082e810(local_8,param_2); + _Partition_by_median_guess_unchecked<16byte>(local_8,param_2); param_1 = (param_1 >> 1) + (param_1 >> 2); if ((int)((int)puStack_24 - (int)in_ECX & 0xfffffff0U) < (int)((int)puVar6 - (int)puStack_20 & 0xfffffff0U)) { @@ -616881,9 +617749,12 @@ void Catch_All_0082e7ec(void) } -//@@ 0082e810 FUN_0082e810 +//@@ 0082e810 std::_Partition_by_median_guess_unchecked<16byte> -void FUN_0082e810(undefined4 *param_1,code *param_2) +/* DB: MSVC std::sort partition with predicate (param_2 code*), stride 0x10, median-of-3/ninther + (FUN_0082eb20) when >40; only caller std::_Sort_unchecked<16byte> */ + +void std::_Partition_by_median_guess_unchecked<16byte>(undefined4 *param_1,code *param_2) { undefined4 uVar1; @@ -617496,6 +618367,7 @@ void log_room_transition(undefined4 param_1,undefined4 param_2,undefined4 param_ void __thiscall RoomTransition::StartBossIntro(RoomTransition *this,uint bossID1,uint bossID2) { + ANM2 *this_00; Game *pGVar1; char cVar2; byte bVar3; @@ -617524,7 +618396,7 @@ void __thiscall RoomTransition::StartBossIntro(RoomTransition *this,uint bossID1 char *pcVar22; void **ppvVar23; int *******pppppppiVar24; - ANM2 *this_00; + ANM2 *this_01; undefined4 uVar25; undefined4 uVar26; undefined4 uVar27; @@ -617621,13 +618493,13 @@ void __thiscall RoomTransition::StartBossIntro(RoomTransition *this,uint bossID1 operator_delete(local_5c._buf._0_4_,0x20); local_5c._buf._0_4_ = local_70; } - if (this->field_0x141 == '\0') { + if ((this->_versusScreenSprite)._loaded == 0) { pppppppiVar10 = local_44[0]; LAB_0082f4e7: local_75 = '\x01'; } else { - std::string::string(&this->field_0x38); + std::string::string(&this->_versusScreenSprite); pppppppiVar10 = local_44[0]; local_68 = (Game *)&DAT_00000009; psVar5 = &local_5c; @@ -617649,33 +618521,33 @@ LAB_0082f4e7: } operator_delete(pppppppiVar24,puVar15); } - local_64 = (ANM2 *)&this->field_0x38; + local_64 = &this->_versusScreenSprite; if (local_75 != '\0') { ANM2::Load(local_64,&local_5c,1); } if (bossID1 == 99) { - local_64 = (ANM2 *)&this->field_0x38; + local_64 = &this->_versusScreenSprite; pLVar6 = ANM2::GetLayer(local_64,&DAT_0000000b); pLVar6->_bitflags = pLVar6->_bitflags | 0x60; } - pLVar6 = ANM2::GetLayer((ANM2 *)&this->field_0x38,&DAT_0000000b); - *(undefined4 *)&pLVar6->field_0x78 = 0; - *(undefined4 *)&pLVar6->field_0x7c = 4; - *(undefined4 *)&pLVar6->field_0x80 = 7; - *(undefined4 *)&pLVar6->field_0x84 = 4; - *(undefined4 *)&pLVar6->field_0x88 = 7; - iVar7 = *(int *)&this->field_0x224; - std::map::_Erase_tree(&this->field_0x224,*(undefined4 *)(iVar7 + 4)); + pLVar6 = ANM2::GetLayer(&this->_versusScreenSprite,&DAT_0000000b); + pLVar6->_blendMode[0] = 0; + pLVar6->_blendMode[1] = 4; + pLVar6->_blendMode[2] = 7; + pLVar6->_blendMode[3] = 4; + pLVar6->_blendMode[4] = 7; + pvVar16 = (this->_sprites)._head; + std::map::_Erase_tree(&this->_sprites,*(undefined4 *)((int)pvVar16 + 4)); pGVar1 = g_game; - *(int *)(iVar7 + 4) = iVar7; - *(int *)iVar7 = iVar7; - *(int *)(iVar7 + 8) = iVar7; - *(undefined4 *)&this->field_0x228 = 0; + *(void **)((int)pvVar16 + 4) = pvVar16; + *(void **)pvVar16 = pvVar16; + *(void **)((int)pvVar16 + 8) = pvVar16; + (this->_sprites)._size = 0; local_6c = (EntityPtr)(pGVar1->_playerManager)._roomTransitionPlayer; if (local_6c == (EntityPtr)0x0) { local_6c = (EntityPtr)Game::GetPlayer(pGVar1,0); } - this_00 = local_64; + this_01 = local_64; iVar7 = *(int *)((int)local_6c + 0x13c0); if (iVar7 < 0) { LAB_0082f7d9: @@ -617690,29 +618562,29 @@ LAB_0082f7d9: if (psVar5 == (std_string *)0x0) goto LAB_0082f7d9; pLVar6 = ANM2::GetLayer(local_64,&DAT_00000005); pLVar6->_visible = 0; - pLVar6 = ANM2::GetLayer(this_00,(byte *)0xc); + pLVar6 = ANM2::GetLayer(this_01,(byte *)0xc); pLVar6->_visible = 0; - pLVar6 = ANM2::GetLayer(this_00,&DAT_0000000f); + pLVar6 = ANM2::GetLayer(this_01,&DAT_0000000f); pLVar6->_visible = 0; - pLVar6 = ANM2::GetLayer(this_00,(byte *)0x12); + pLVar6 = ANM2::GetLayer(this_01,(byte *)0x12); pLVar6->_visible = 0; - pLVar6 = ANM2::GetLayer(this_00,(byte *)0x15); + pLVar6 = ANM2::GetLayer(this_01,(byte *)0x15); pLVar6->_visible = 0; - pLVar6 = ANM2::GetLayer(this_00,(byte *)0x10); + pLVar6 = ANM2::GetLayer(this_01,(byte *)0x10); pLVar6->_visible = 0; - pLVar6 = ANM2::GetLayer(this_00,&DAT_00000013); + pLVar6 = ANM2::GetLayer(this_01,&DAT_00000013); pLVar6->_visible = 0; - pLVar6 = ANM2::GetLayer(this_00,(byte *)0x16); + pLVar6 = ANM2::GetLayer(this_01,(byte *)0x16); pLVar6->_visible = 0; - pLVar6 = ANM2::GetLayer(this_00,&DAT_00000011); + pLVar6 = ANM2::GetLayer(this_01,&DAT_00000011); pLVar6->_visible = 0; - pLVar6 = ANM2::GetLayer(this_00,&DAT_00000014); + pLVar6 = ANM2::GetLayer(this_01,&DAT_00000014); pLVar6->_visible = 0; - pLVar6 = ANM2::GetLayer(this_00,&DAT_00000017); + pLVar6 = ANM2::GetLayer(this_01,&DAT_00000017); pGVar1 = local_7c; pLVar6->_visible = 0; FUN_00831780(psVar5,5,0xc,3); - Sprite::ReplaceSpritesheet((Sprite *)this_00,6,local_70[2]._buf + 4); + Sprite::ReplaceSpritesheet((Sprite *)this_01,6,local_70[2]._buf + 4); local_7c = (Game *)&g_game->_playerManager; local_64 = (ANM2 *)0x1; iVar7 = PlayerManager::count_main_players(); @@ -617758,7 +618630,7 @@ LAB_0082f7d9: local_7c = (Game *)&g_game->_playerManager; uVar9 = PlayerManager::count_main_players(); } while (uVar4 < uVar9); - this_00 = (ANM2 *)&pGVar1->_roomList[0].field_0x24; + this_01 = (ANM2 *)(pGVar1->_roomList[0]._doors + 2); } local_7c = (Game *)g_game->_stage; local_28 = local_7c; @@ -617889,20 +618761,20 @@ LAB_0082faa3: local_14._0_1_ = 2; if (0xd < *(int *)&pGVar1->_roomList[0].field_0xa4) { local_28 = *(Game **)&pGVar1->_roomList[0].field_0xa0; - puVar15 = &local_28->_roomList[0xb].field_0x2c; + piVar12 = local_28->_roomList[0xb]._doors + 4; if (0xf < (uint)local_28->_roomList[0xb].VisitedCount) { - puVar15 = *(undefined1 **)&local_28->_roomList[0xb].field_0x2c; + piVar12 = (int *)local_28->_roomList[0xb]._doors[4]; } - cVar2 = str_eq(puVar15,local_28->_roomList[0xb].DisplayFlags); + cVar2 = str_eq(piVar12,local_28->_roomList[0xb].DisplayFlags); if (cVar2 == '\0') { pGVar11 = local_28; - if ((int ********)&local_28->_roomList[0xb].field_0x2c != local_44) { + if ((int ********)(local_28->_roomList[0xb]._doors + 4) != local_44) { pppppppiVar10 = (int *******)local_44; if (&DAT_0000000f < local_30) { pppppppiVar10 = local_44[0]; } std::string::assign(pppppppiVar10,local_34); - pGVar11 = this_00->_layerState; + pGVar11 = this_01->_layerState; } *(undefined1 *)&pGVar11->_roomList[0xb].PitsCount = 0; } @@ -618115,10 +618987,10 @@ LAB_0082fd47: if (0xe < *(int *)&pGVar1->_roomList[0].field_0xa4) { local_28 = *(Game **)&pGVar1->_roomList[0].field_0xa0; ppvVar23 = &local_28->_roomList[0xc].OverrideData; - if (0xf < *(uint *)&local_28->_roomList[0xc].field_0x28) { + if (0xf < (uint)local_28->_roomList[0xc]._doors[3]) { ppvVar23 = local_28->_roomList[0xc].OverrideData; } - cVar2 = str_eq(ppvVar23,*(undefined4 *)&local_28->_roomList[0xc].field_0x24); + cVar2 = str_eq(ppvVar23,local_28->_roomList[0xc]._doors[2]); if (cVar2 == '\0') { pGVar11 = local_28; if (&local_28->_roomList[0xc].OverrideData != local_44) { @@ -618156,7 +619028,7 @@ LAB_0082fd47: local_44[0] = (int *******)0x0; std::string::assign("gfx/promo/gfuel/ui/boss/g fuel bluebaby portrait.png",0x34); local_14._0_1_ = 7; - Sprite::ReplaceSpritesheet((Sprite *)this_00,4,local_44); + Sprite::ReplaceSpritesheet((Sprite *)this_01,4,local_44); local_14 = (uint)local_14._1_3_ << 8; if (&DAT_0000000f < local_30) { puVar15 = local_30 + 1; @@ -618173,7 +619045,7 @@ LAB_0082fd47: local_44[0] = (int *******)0x0; std::string::assign("gfx/promo/gfuel/ui/boss/g fuel bluebaby portrait.png",0x34); local_14._0_1_ = 8; - Sprite::ReplaceSpritesheet((Sprite *)this_00,0xd,local_44); + Sprite::ReplaceSpritesheet((Sprite *)this_01,0xd,local_44); local_14 = (uint)local_14._1_3_ << 8; if (&DAT_0000000f < local_30) { puVar15 = local_30 + 1; @@ -618202,7 +619074,7 @@ LAB_0082fd47: } while (cVar2 != '\0'); std::string::assign(pcVar22,(int)pcVar18 - (int)local_28); local_14._0_1_ = 9; - Sprite::ReplaceSpritesheet((Sprite *)this_00,7,local_44); + Sprite::ReplaceSpritesheet((Sprite *)this_01,7,local_44); local_14 = (uint)local_14._1_3_ << 8; if (&DAT_0000000f < local_30) { puVar15 = local_30 + 1; @@ -618214,16 +619086,16 @@ LAB_0082fd47: } operator_delete(pppppppiVar10,puVar15); } - pLVar6 = ANM2::GetLayer(this_00,&DAT_00000004); + pLVar6 = ANM2::GetLayer(this_01,&DAT_00000004); (pLVar6->_pos).x = *(float *)((int)local_64 + 0x4c); (pLVar6->_pos).y = *(float *)((int)local_64 + 0x50); - pLVar6 = ANM2::GetLayer(this_00,&DAT_0000000d); + pLVar6 = ANM2::GetLayer(this_01,&DAT_0000000d); (pLVar6->_pos).x = *(float *)((int)local_64 + 0x4c); (pLVar6->_pos).y = *(float *)((int)local_64 + 0x50); - pLVar6 = ANM2::GetLayer(this_00,&DAT_00000009); + pLVar6 = ANM2::GetLayer(this_01,&DAT_00000009); (pLVar6->_pos).x = *(float *)((int)local_64 + 0x4c); (pLVar6->_pos).y = *(float *)((int)local_64 + 0x50); - pLVar6 = ANM2::GetLayer(this_00,&DAT_0000000e); + pLVar6 = ANM2::GetLayer(this_01,&DAT_0000000e); (pLVar6->_pos).x = *(float *)((int)local_64 + 0x4c); fVar21 = *(float *)((int)local_64 + 0x50); (pLVar6->_pos).y = fVar21; @@ -618232,36 +619104,36 @@ LAB_0082fd47: std::string::string(g_game->_ventricleRazorPortals + iVar7 + 0x5b4); local_68 = (Game *)((uint)local_68 | 0x10); local_14._0_1_ = 10; - Sprite::ReplaceSpritesheet((Sprite *)&pGVar1->_roomList[0].field_0x24,3,local_44); + Sprite::ReplaceSpritesheet((Sprite *)(pGVar1->_roomList[0]._doors + 2),3,local_44); local_14 = (uint)local_14._1_3_ << 8; std::string::_Tidy_deallocate(); std::string::string(g_game->_ventricleRazorPortals + iVar7 + 0x5b4); local_68 = (Game *)((uint)local_68 | 0x20); local_14._0_1_ = 0xb; - Sprite::ReplaceSpritesheet((Sprite *)&pGVar1->_roomList[0].field_0x24,0xf,local_44); + Sprite::ReplaceSpritesheet((Sprite *)(pGVar1->_roomList[0]._doors + 2),0xf,local_44); local_14 = (uint)local_14._1_3_ << 8; std::string::_Tidy_deallocate(); std::string::string(g_game->_ventricleRazorPortals + iVar7 + 0x5b4); local_68 = (Game *)((uint)local_68 | 0x40); local_14._0_1_ = 0xc; - Sprite::ReplaceSpritesheet((Sprite *)&pGVar1->_roomList[0].field_0x24,0x10,local_44); + Sprite::ReplaceSpritesheet((Sprite *)(pGVar1->_roomList[0]._doors + 2),0x10,local_44); local_14 = (uint)local_14._1_3_ << 8; std::string::_Tidy_deallocate(); std::string::string(g_game->_ventricleRazorPortals + iVar7 + 0x5b4); local_68 = (Game *)((uint)local_68 | 0x80); local_14._0_1_ = 0xd; - Sprite::ReplaceSpritesheet((Sprite *)&pGVar1->_roomList[0].field_0x24,0x11,local_44); + Sprite::ReplaceSpritesheet((Sprite *)(pGVar1->_roomList[0]._doors + 2),0x11,local_44); local_14 = (uint)local_14._1_3_ << 8; std::string::_Tidy_deallocate(); std::string::string(g_game->_ventricleRazorPortals + iVar7 + 0x5cc); local_68 = (Game *)((uint)local_68 | 0x100); local_14._0_1_ = 0xe; - this_00 = (ANM2 *)&pGVar1->_roomList[0].field_0x24; - Sprite::ReplaceSpritesheet((Sprite *)this_00,2,local_44); + this_01 = (ANM2 *)(pGVar1->_roomList[0]._doors + 2); + Sprite::ReplaceSpritesheet((Sprite *)this_01,2,local_44); local_14 = (uint)local_14._1_3_ << 8; std::string::_Tidy_deallocate(); local_5d = bossID1 != 0x37; - pLVar6 = ANM2::GetLayer(this_00,(byte *)0x2); + pLVar6 = ANM2::GetLayer(this_01,(byte *)0x2); pLVar6->_visible = local_5d; fVar21 = extraout_ECX; } @@ -618281,7 +619153,7 @@ LAB_0082fd47: } while (cVar2 != '\0'); std::string::assign(pcVar22,(int)pcVar18 - (int)local_28); local_14._0_1_ = 0xf; - Sprite::ReplaceSpritesheet((Sprite *)this_00,0x18,local_44); + Sprite::ReplaceSpritesheet((Sprite *)this_01,0x18,local_44); local_14 = (uint)local_14._1_3_ << 8; fVar21 = extraout_ECX_00; if (local_30 < (undefined1 *)0x10) goto LAB_0083066a; @@ -618294,10 +619166,10 @@ LAB_0082fd47: } bVar3 = (byte)puVar15; operator_delete(pppppppiVar10); - ANM2::LoadGraphics(this_00,bVar3); + ANM2::LoadGraphics(this_01,bVar3); LAB_0083041c: - ANM2::GetLayer((ANM2 *)&pGVar1->_roomList[0].field_0x24,(byte *)0x2); - piVar12 = (int *)LayerState::GetTexture(&local_74); + pLVar6 = ANM2::GetLayer((ANM2 *)(pGVar1->_roomList[0]._doors + 2),(byte *)0x2); + piVar12 = (int *)LayerState::GetTexture(pLVar6,&local_74); local_14 = CONCAT31(local_14._1_3_,0x10); local_6c = (EntityPtr)((uint)local_68 | 2); local_68 = (Game *)local_6c; @@ -618306,8 +619178,8 @@ LAB_0083047c: local_5d = 0; } else { - ANM2::GetLayer(this_00,(byte *)0x2); - puVar13 = (undefined4 *)LayerState::GetTexture(&local_2c); + pLVar6 = ANM2::GetLayer(this_01,(byte *)0x2); + puVar13 = (undefined4 *)LayerState::GetTexture(pLVar6,&local_2c); local_14 = 0x11; local_6c = (EntityPtr)((uint)local_68 | 4); local_68 = (Game *)local_6c; @@ -618335,44 +619207,44 @@ LAB_0083047c: } local_14 = local_14 & 0xffffff00; } - puVar15 = &pGVar1->_roomList[0].field_0x24; + this_00 = (ANM2 *)(pGVar1->_roomList[0]._doors + 2); if (local_5d == 0) { - pLVar6 = ANM2::GetLayer((ANM2 *)puVar15,(byte *)0x0); - *(undefined4 *)&pLVar6->field_0x48 = 0; - *(undefined4 *)&pLVar6->field_0x4c = 0; - *(undefined4 *)&pLVar6->field_0x50 = 0; - *(undefined4 *)&pLVar6->field_0x54 = 0x3f800000; - pLVar6 = ANM2::GetLayer(this_00,&DAT_0000000d); - *(undefined4 *)&pLVar6->field_0x48 = 0x3f800000; - *(undefined4 *)&pLVar6->field_0x4c = 0x3f0e8e8f; - *(undefined4 *)&pLVar6->field_0x50 = 0x3eeeeef0; - *(undefined4 *)&pLVar6->field_0x54 = 0x3f800000; - pLVar6 = ANM2::GetLayer(this_00,&DAT_0000000e); - *(undefined4 *)&pLVar6->field_0x48 = 0x3f800000; - *(undefined4 *)&pLVar6->field_0x4c = 0x3f0e8e8f; - *(undefined4 *)&pLVar6->field_0x50 = 0x3eeeeef0; - *(undefined4 *)&pLVar6->field_0x54 = 0x3f800000; + pLVar6 = ANM2::GetLayer(this_00,(byte *)0x0); + (pLVar6->_color)._tint[0] = 0.0; + (pLVar6->_color)._tint[1] = 0.0; + (pLVar6->_color)._tint[2] = 0.0; + (pLVar6->_color)._tint[3] = 1.0; + pLVar6 = ANM2::GetLayer(this_01,&DAT_0000000d); + (pLVar6->_color)._tint[0] = 1.0; + (pLVar6->_color)._tint[1] = 0.5568628; + (pLVar6->_color)._tint[2] = 0.4666667; + (pLVar6->_color)._tint[3] = 1.0; + pLVar6 = ANM2::GetLayer(this_01,&DAT_0000000e); + (pLVar6->_color)._tint[0] = 1.0; + (pLVar6->_color)._tint[1] = 0.5568628; + (pLVar6->_color)._tint[2] = 0.4666667; + (pLVar6->_color)._tint[3] = 1.0; } else { - ANM2::GetLayer((ANM2 *)puVar15,(byte *)0x2); - LayerState::GetTexture(&local_74); + pLVar6 = ANM2::GetLayer(this_00,(byte *)0x2); + LayerState::GetTexture(pLVar6,&local_74); local_14._0_1_ = 0x14; (**(code **)(*local_74 + 0x30))(0,0,2,1,&local_2c); - pLVar6 = ANM2::GetLayer(this_00,(byte *)0x0); - *(undefined4 *)&pLVar6->field_0x54 = 0x3f800000; - *(float *)&pLVar6->field_0x48 = (float)local_2c * 0.003921569; - *(float *)&pLVar6->field_0x4c = (float)local_2b * 0.003921569; - *(float *)&pLVar6->field_0x50 = (float)local_2a * 0.003921569; - pLVar6 = ANM2::GetLayer((ANM2 *)&pGVar1->_roomList[0].field_0x24,&DAT_0000000d); - *(undefined4 *)&pLVar6->field_0x54 = 0x3f800000; - *(float *)&pLVar6->field_0x48 = (float)(((uint)local_28 & 0xff) * 2) * 0.003921569; - *(float *)&pLVar6->field_0x4c = (float)(((uint)local_28 >> 8 & 0xff) * 2) * 0.003921569; - *(float *)&pLVar6->field_0x50 = (float)(((uint)local_28 >> 0x10 & 0xff) * 2) * 0.003921569; - pLVar6 = ANM2::GetLayer((ANM2 *)&pGVar1->_roomList[0].field_0x24,&DAT_0000000e); - *(float *)&pLVar6->field_0x48 = (float)(((uint)local_28 & 0xff) * 2) * 0.003921569; - *(float *)&pLVar6->field_0x4c = (float)(((uint)local_28 >> 8 & 0xff) * 2) * 0.003921569; - *(float *)&pLVar6->field_0x50 = (float)(((uint)local_28 >> 0x10 & 0xff) * 2) * 0.003921569; - *(undefined4 *)&pLVar6->field_0x54 = 0x3f800000; + pLVar6 = ANM2::GetLayer(this_01,(byte *)0x0); + (pLVar6->_color)._tint[3] = 1.0; + (pLVar6->_color)._tint[0] = (float)local_2c * 0.003921569; + (pLVar6->_color)._tint[1] = (float)local_2b * 0.003921569; + (pLVar6->_color)._tint[2] = (float)local_2a * 0.003921569; + pLVar6 = ANM2::GetLayer((ANM2 *)(pGVar1->_roomList[0]._doors + 2),&DAT_0000000d); + (pLVar6->_color)._tint[3] = 1.0; + (pLVar6->_color)._tint[0] = (float)(((uint)local_28 & 0xff) * 2) * 0.003921569; + (pLVar6->_color)._tint[1] = (float)(((uint)local_28 >> 8 & 0xff) * 2) * 0.003921569; + (pLVar6->_color)._tint[2] = (float)(((uint)local_28 >> 0x10 & 0xff) * 2) * 0.003921569; + pLVar6 = ANM2::GetLayer((ANM2 *)(pGVar1->_roomList[0]._doors + 2),&DAT_0000000e); + (pLVar6->_color)._tint[0] = (float)(((uint)local_28 & 0xff) * 2) * 0.003921569; + (pLVar6->_color)._tint[1] = (float)(((uint)local_28 >> 8 & 0xff) * 2) * 0.003921569; + (pLVar6->_color)._tint[2] = (float)(((uint)local_28 >> 0x10 & 0xff) * 2) * 0.003921569; + (pLVar6->_color)._tint[3] = 1.0; local_14._0_1_ = 0x15; if (((local_70 != (std_string *)0x0) && (cVar2 = (**(code **)((int)*(void **)local_70->_buf + 0xc))(), cVar2 != '\0')) && @@ -618380,36 +619252,36 @@ LAB_0083047c: (*g_imageReleaseFn)(&local_74); } local_14 = (uint)local_14._1_3_ << 8; - this_00 = (ANM2 *)&pGVar1->_roomList[0].field_0x24; + this_01 = (ANM2 *)(pGVar1->_roomList[0]._doors + 2); } if (bossID1 == 0x37) { - pLVar6 = ANM2::GetLayer(this_00,(byte *)0x0); - *(undefined4 *)&pLVar6->field_0x48 = 0; - *(undefined4 *)&pLVar6->field_0x4c = 0; - *(undefined4 *)&pLVar6->field_0x50 = 0; + pLVar6 = ANM2::GetLayer(this_01,(byte *)0x0); + (pLVar6->_color)._tint[0] = 0.0; + (pLVar6->_color)._tint[1] = 0.0; + (pLVar6->_color)._tint[2] = 0.0; goto LAB_0083077d; } } else { LAB_0083066a: - ANM2::LoadGraphics(this_00,SUB41(fVar21,0)); + ANM2::LoadGraphics(this_01,SUB41(fVar21,0)); if (bossID1 != 99) goto LAB_0083041c; - pLVar6 = ANM2::GetLayer((ANM2 *)&pGVar1->_roomList[0].field_0x24,(byte *)0x0); - *(undefined4 *)&pLVar6->field_0x48 = 0x3f800000; - *(undefined4 *)&pLVar6->field_0x4c = 0x3f800000; - *(undefined4 *)&pLVar6->field_0x50 = 0x3f800000; - *(undefined4 *)&pLVar6->field_0x54 = 0x3f800000; - pLVar6 = ANM2::GetLayer(this_00,&DAT_0000000d); - *(undefined4 *)&pLVar6->field_0x48 = 0x3f800000; - *(undefined4 *)&pLVar6->field_0x4c = 0x3f800000; - *(undefined4 *)&pLVar6->field_0x50 = 0x3f800000; - *(undefined4 *)&pLVar6->field_0x54 = 0x3f800000; - pLVar6 = ANM2::GetLayer(this_00,&DAT_0000000e); - *(undefined4 *)&pLVar6->field_0x48 = 0x3f800000; - *(undefined4 *)&pLVar6->field_0x4c = 0x3f800000; - *(undefined4 *)&pLVar6->field_0x50 = 0x3f800000; + pLVar6 = ANM2::GetLayer((ANM2 *)(pGVar1->_roomList[0]._doors + 2),(byte *)0x0); + (pLVar6->_color)._tint[0] = 1.0; + (pLVar6->_color)._tint[1] = 1.0; + (pLVar6->_color)._tint[2] = 1.0; + (pLVar6->_color)._tint[3] = 1.0; + pLVar6 = ANM2::GetLayer(this_01,&DAT_0000000d); + (pLVar6->_color)._tint[0] = 1.0; + (pLVar6->_color)._tint[1] = 1.0; + (pLVar6->_color)._tint[2] = 1.0; + (pLVar6->_color)._tint[3] = 1.0; + pLVar6 = ANM2::GetLayer(this_01,&DAT_0000000e); + (pLVar6->_color)._tint[0] = 1.0; + (pLVar6->_color)._tint[1] = 1.0; + (pLVar6->_color)._tint[2] = 1.0; LAB_0083077d: - *(undefined4 *)&pLVar6->field_0x54 = 0x3f800000; + (pLVar6->_color)._tint[3] = 1.0; } pRVar14 = Level::GetRoomByIdx((Level *)g_game,pGVar1->_roomList[0].GridIndex,-1); local_28 = (Game *)&pRVar14->Data; @@ -618424,7 +619296,7 @@ LAB_0083077d: local_44[0] = (int *******)0x0; std::string::assign("gfx/ui/boss/doubletrouble.png",0x1d); local_14._0_1_ = 0x16; - Sprite::ReplaceSpritesheet((Sprite *)this_00,10,local_44); + Sprite::ReplaceSpritesheet((Sprite *)this_01,10,local_44); local_14 = (uint)local_14._1_3_ << 8; bVar3 = extraout_CL; if (&DAT_0000000f < local_30) { @@ -618438,26 +619310,26 @@ LAB_0083077d: operator_delete(pppppppiVar10,puVar15); bVar3 = extraout_CL_00; } - ANM2::LoadGraphics(this_00,bVar3); + ANM2::LoadGraphics(this_01,bVar3); if ((g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) || (uVar4 = PlayerManager::count_main_players(), uVar4 < 2)) { pcVar22 = "DoubleTrouble"; goto LAB_008308ce; } - ANM2::Play(this_00,(byte *)"DoubleTroubleCoop",1); + ANM2::Play(this_01,(byte *)"DoubleTroubleCoop",1); } else if ((g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) || (uVar4 = PlayerManager::count_main_players(), uVar4 < 2)) { pcVar22 = "Scene"; LAB_008308ce: - bVar3 = ANM2::SetAnimation(this_00,(byte *)pcVar22,1); + bVar3 = ANM2::SetAnimation(this_01,(byte *)pcVar22,1); if (bVar3 != 0) { - AnimationState::Rewind(&this_00->_animState); - (this_00->_animState)._isPlaying = 1; + AnimationState::Rewind(&this_01->_animState); + (this_01->_animState)._isPlaying = 1; } } else { - ANM2::Play(this_00,(byte *)"SceneCoop",1); + ANM2::Play(this_01,(byte *)"SceneCoop",1); } pGVar1->_stage = 2; if ((Game *)&DAT_0000000f < local_5c._capacity) { @@ -618538,11 +619410,10 @@ void __thiscall RoomTransition::ChangeRoom(RoomTransition *this) local_28 = g_vectorZero.y; local_34 = this; pRVar8 = Level::GetRoomByIdx((Level *)g_game,(int)local_3c,g_game->_currentDimensionIdx); - local_38 = Level::GetRoomByIdx((Level *)g_game,*(int *)&this->field_0x14,*(int *)&this->field_0x18 - ); - if (((*(int *)&this->field_0x14 < 0) || ((int)local_3c < 0)) || + local_38 = Level::GetRoomByIdx((Level *)g_game,this->_targetRoomIdx,this->_targetDimension); + if (((this->_targetRoomIdx < 0) || ((int)local_3c < 0)) || (pRVar8->Dimension != local_38->Dimension)) { - switch(*(undefined4 *)&this->field_0x10) { + switch(this->_direction) { case 0: local_24 = -(float)*(byte *)((int)local_38->Data + 0x46) * 26.0; break; @@ -618585,10 +619456,10 @@ void __thiscall RoomTransition::ChangeRoom(RoomTransition *this) Game::rewind((pGVar16->_playerManager)._roomTransitionPlayer); } else { - if (*(int *)&this->field_0x10 == -1) { + if (this->_direction == -1) { pGVar16->_leaveDoor = -1; } - Game::ChangeRoom(*(undefined4 *)&this->field_0x14,*(undefined4 *)&this->field_0x18); + Game::ChangeRoom(this->_targetRoomIdx,this->_targetDimension); } pGVar16 = g_game; piVar10 = (g_game->_playerManager)._playerList._begin; @@ -618613,16 +619484,14 @@ void __thiscall RoomTransition::ChangeRoom(RoomTransition *this) goto LAB_00830cb4; } LAB_00830c5f: - switch(*(undefined4 *)&this->field_0x10) { + switch(this->_direction) { case 0: - *(float *)&this->field_0x22c = - (((float)local_2c - (float)local_38) - g_screenWidth) - local_24; + (this->_slideOffset).x = (((float)local_2c - (float)local_38) - g_screenWidth) - local_24; break; case 1: goto switchD_00830c6b_caseD_1; case 2: - *(float *)&this->field_0x22c = - (((float)local_38 - (float)local_2c) - g_screenWidth) + local_24; + (this->_slideOffset).x = (((float)local_38 - (float)local_2c) - g_screenWidth) + local_24; break; case 3: goto switchD_00830c6b_caseD_3; @@ -618630,22 +619499,20 @@ LAB_00830c5f: } else { LAB_00830cb4: - switch(*(undefined4 *)&this->field_0x10) { + switch(this->_direction) { case 0: - *(float *)&this->field_0x22c = - (((float)local_38 - (float)local_2c) - g_screenWidth) - local_24; + (this->_slideOffset).x = (((float)local_38 - (float)local_2c) - g_screenWidth) - local_24; break; case 1: switchD_00830c6b_caseD_1: - *(float *)&this->field_0x230 = ((local_3c - (float)local_30) - g_screenHeight) - local_28; + (this->_slideOffset).y = ((local_3c - (float)local_30) - g_screenHeight) - local_28; break; case 2: - *(float *)&this->field_0x22c = - (((float)local_2c - (float)local_38) - g_screenWidth) + local_24; + (this->_slideOffset).x = (((float)local_2c - (float)local_38) - g_screenWidth) + local_24; break; case 3: switchD_00830c6b_caseD_3: - *(float *)&this->field_0x230 = (((float)local_30 - local_3c) - g_screenHeight) + local_28; + (this->_slideOffset).y = (((float)local_30 - local_3c) - g_screenHeight) + local_28; } } switchD_00830c6b_default: @@ -618888,7 +619755,7 @@ LAB_00831497: local_5c = CONCAT44(free_exref,(undefined4)local_5c); local_50.y = 2.0; do { - local_2c = (int *)((int)pGVar16->_roomList + ((int)local_38 - 0x14U)); + local_2c = (int *)((int)pGVar16->_roomList[0]._doors + ((int)local_38 - 0x30U)); if (*local_2c == pGVar16->_currentRoomIdx) { pfVar17 = (pGVar16->_playerManager)._playerList._begin; fVar14 = 0.0; @@ -619002,7 +619869,7 @@ LAB_0083162a: } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; Room::Render(); _glfw_context_reset(1); if (g_renderTargetStackSize == 0) { @@ -619118,26 +619985,26 @@ void __thiscall RoomTransition::Update(RoomTransition *this) float fVar2; Entity_Player *pEVar3; Entity_Player *pEVar4; - int *piVar5; + bool bVar5; bool bVar6; bool bVar7; - bool bVar8; - Game *pGVar9; - Manager *pMVar10; - int *piVar11; - bool bVar12; - byte bVar13; - char cVar14; - float *pfVar15; - int iVar16; - undefined4 uVar17; - int *piVar18; - undefined4 *puVar19; - undefined4 *****pppppuVar20; - void *pvVar21; - undefined4 *****pppppuVar22; - int iVar23; - EntityPtr EVar24; + Game *pGVar8; + Manager *pMVar9; + int *piVar10; + bool bVar11; + byte bVar12; + char cVar13; + float *pfVar14; + int iVar15; + undefined4 uVar16; + int *piVar17; + undefined4 *puVar18; + undefined4 *****pppppuVar19; + void *pvVar20; + undefined4 *****pppppuVar21; + int iVar22; + EntityPtr EVar23; + int *piVar24; uint uVar25; uint _Size; uint uVar26; @@ -619158,51 +620025,51 @@ void __thiscall RoomTransition::Update(RoomTransition *this) undefined1 *puStack_c; void *local_8; - pMVar10 = g_manager; + pMVar9 = g_manager; local_8 = (void *)0xffffffff; puStack_c = &LAB_00b02165; local_10 = ExceptionList; local_14 = __security_cookie ^ (uint)(local_2c + 10); ExceptionList = &local_10; - bVar6 = false; + bVar5 = false; local_4c = (EntityPtr)0x0; pEVar3 = (g_game->_playerManager)._roomTransitionPlayer; - EVar24 = this->_minecart; - if (((EVar24 != (EntityPtr)0x0) && (*(int *)((int)EVar24 + 0x28) == 0x3c5)) && - (local_4c = (EntityPtr)0x0, *(int *)((int)EVar24 + 0x2c) == 10)) { - local_4c = EVar24; + EVar23 = this->_minecart; + if (((EVar23 != (EntityPtr)0x0) && (*(int *)((int)EVar23 + 0x28) == 0x3c5)) && + (local_4c = (EntityPtr)0x0, *(int *)((int)EVar23 + 0x2c) == 10)) { + local_4c = EVar23; } switch(*(undefined4 *)this) { case 1: - bVar6 = true; + bVar5 = true; local_6c = (Entity_Player *)0x0; local_50 = (Entity_Player *)0x0; local_60 = 1000; EntityList::Update(); Room::update_ambient_sounds(); - iVar16 = this->_animation; - if (iVar16 == 0x13) { + iVar15 = this->_animation; + if (iVar15 == 0x13) { uVar25 = 0; uVar26 = 0x724; do { uVar25 = uVar25 + 1; if ((uVar25 < 9) && - (piVar18 = *(int **)(uVar26 + (int)g_game->_room), piVar18 != (int *)0x0)) { - (**(code **)(*piVar18 + 8))(); + (piVar17 = *(int **)(uVar26 + (int)g_game->_room), piVar17 != (int *)0x0)) { + (**(code **)(*piVar17 + 8))(); } uVar26 = uVar26 + 4; } while (uVar26 < 0x744); - iVar16 = this->_animation; + iVar15 = this->_animation; } - puVar19 = (g_game->_playerManager)._playerList._begin; - if (puVar19 != (g_game->_playerManager)._playerList._end) { + puVar18 = (g_game->_playerManager)._playerList._begin; + if (puVar18 != (g_game->_playerManager)._playerList._end) { do { - pEVar4 = (Entity_Player *)*puVar19; + pEVar4 = (Entity_Player *)*puVar18; if (pEVar4 != (Entity_Player *)0x0) { if (pEVar4->_dead == 0) { if (((pEVar4->_isPlayingExtraAnimation == 0) && (pEVar4->_isPlayingItemAnimation == 0)) - || ((pvVar21 = (pEVar4->_sprite)._animState._animData, pvVar21 != (void *)0x0 && - (*(char *)((int)pvVar21 + 0x34) != '\0')))) { + || ((pvVar20 = (pEVar4->_sprite)._animState._animData, pvVar20 != (void *)0x0 && + (*(char *)((int)pvVar20 + 0x34) != '\0')))) { if ((local_6c == (Entity_Player *)0x0) && (pEVar4->_visible != 0)) { local_6c = pEVar4; } @@ -619219,16 +620086,16 @@ void __thiscall RoomTransition::Update(RoomTransition *this) if ((pEVar4->_itemState != 0) && (pEVar4->_itemState != 0x25c)) { Entity_Player::ResetItemState(); } - iVar16 = this->_animation; - if (iVar16 == 0) { + iVar15 = this->_animation; + if (iVar15 == 0) { pEVar4->_isPlayingExtraAnimation = 0; pEVar4->_isPlayingItemAnimation = 0; - iVar16 = this->_animation; + iVar15 = this->_animation; } - if ((((iVar16 == 0x13) && (local_4c != (EntityPtr)0x0)) && + if ((((iVar15 == 0x13) && (local_4c != (EntityPtr)0x0)) && ((pEVar4->_sprite)._animState._animData != (void *)0x0)) && - (bVar13 = AnimationState::IsEventTriggered - (&(pEVar4->_sprite)._animState,&DAT_00b1d534), bVar13 != 0)) { + (bVar12 = AnimationState::IsEventTriggered + (&(pEVar4->_sprite)._animState,&DAT_00b1d534), bVar12 != 0)) { Entity_Player::AttachMinecart(pEVar4,(Entity_NPC *)local_4c); pEVar4->_visible = 0; } @@ -619238,19 +620105,19 @@ void __thiscall RoomTransition::Update(RoomTransition *this) } else { if ((pEVar4->_sprite)._animState._animData == (void *)0x0) { - iVar16 = -1; + iVar15 = -1; } else { dVar28 = floor((double)(pEVar4->_sprite)._animState._animFrame); - iVar16 = (int)dVar28; + iVar15 = (int)dVar28; } - bVar6 = false; - if (local_60 <= iVar16) { - iVar16 = local_60; + bVar5 = false; + if (local_60 <= iVar15) { + iVar15 = local_60; pEVar4 = local_50; } local_50 = pEVar4; - local_60 = iVar16; + local_60 = iVar15; } } } @@ -619258,11 +620125,11 @@ void __thiscall RoomTransition::Update(RoomTransition *this) (**(code **)(*(int *)pEVar4 + 0xc))(); } } - puVar19 = puVar19 + 1; - } while (puVar19 != (g_game->_playerManager)._playerList._end); - iVar16 = this->_animation; + puVar18 = puVar18 + 1; + } while (puVar18 != (g_game->_playerManager)._playerList._end); + iVar15 = this->_animation; } - if ((((iVar16 == 0xb) || (iVar16 == 0x10)) || (iVar16 == 0x13)) && + if ((((iVar15 == 0xb) || (iVar15 == 0x10)) || (iVar15 == 0x13)) && (((local_50 != (Entity_Player *)0x0 && (local_6c != (Entity_Player *)0x0)) && (5 < local_60)) )) { ANM2::GetAnimation(); @@ -619271,60 +620138,60 @@ void __thiscall RoomTransition::Update(RoomTransition *this) local_8 = (void *)0xffffffff; if (0xf < local_30) { uVar26 = local_30 + 1; - pppppuVar22 = local_44[0]; + pppppuVar21 = local_44[0]; if (0xfff < uVar26) { - pppppuVar22 = (undefined4 *****)local_44[0][-1]; + pppppuVar21 = (undefined4 *****)local_44[0][-1]; uVar26 = local_30 + 0x24; - if (0x1f < (uint)((int)local_44[0] + (-4 - (int)pppppuVar22))) { + if (0x1f < (uint)((int)local_44[0] + (-4 - (int)pppppuVar21))) { LAB_00831b99: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pppppuVar22,uVar26); + operator_delete(pppppuVar21,uVar26); } fVar1 = (local_50->_moveToTarget).y; (local_6c->_moveToTarget).x = (local_50->_moveToTarget).x; (local_6c->_moveToTarget).y = fVar1; - iVar16 = this->_animation; + iVar15 = this->_animation; local_34 = 0; local_30 = 0xf; local_44[0] = (undefined4 *****)((uint)local_44[0] & 0xffffff00); - if ((iVar16 == 0x13) && (local_4c != (EntityPtr)0x0)) { - pfVar15 = (float *)MusicManager::RandomVector(); - iVar16 = Random(); - fVar27 = (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * 2.3283064e-10 + if ((iVar15 == 0x13) && (local_4c != (EntityPtr)0x0)) { + pfVar14 = (float *)MusicManager::RandomVector(); + iVar15 = Random(); + fVar27 = (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * 2.3283064e-10 ; - fVar1 = *pfVar15; + fVar1 = *pfVar14; fVar2 = *(float *)((int)local_4c + 0x334); - (local_6c->_moveToTarget).y = fVar27 * pfVar15[1] * 8.0 + *(float *)((int)local_4c + 0x338); + (local_6c->_moveToTarget).y = fVar27 * pfVar14[1] * 8.0 + *(float *)((int)local_4c + 0x338); (local_6c->_moveToTarget).x = fVar27 * fVar1 * 8.0 + fVar2; - iVar16 = this->_animation; + iVar15 = this->_animation; } LAB_00831c6a: - if (iVar16 != 0x15) break; + if (iVar15 != 0x15) break; } - else if (!bVar6) goto LAB_00831c6a; - pGVar9 = g_game; - if (iVar16 == 0x13) { - EVar24 = this->_minecart; - if (((EVar24 == (EntityPtr)0x0) || (*(int *)((int)EVar24 + 0x28) != 0x3c5)) || - (*(int *)((int)EVar24 + 0x2c) != 10)) goto LAB_00831dc6; + else if (!bVar5) goto LAB_00831c6a; + pGVar8 = g_game; + if (iVar15 == 0x13) { + EVar23 = this->_minecart; + if (((EVar23 == (EntityPtr)0x0) || (*(int *)((int)EVar23 + 0x28) != 0x3c5)) || + (*(int *)((int)EVar23 + 0x2c) != 10)) goto LAB_00831dc6; if (*(int *)((int)local_4c + 0xb64) != 4) { *(uint *)((int)local_4c + 0x16c) = *(uint *)((int)local_4c + 0x16c) | 0x1000; *(undefined4 *)((int)local_4c + 0x168) = *(undefined4 *)((int)local_4c + 0x168); - Room::GetGridIndex(pGVar9->_room); - uVar17 = FUN_004ce0f0(); - switch(uVar17) { + Room::GetGridIndex(pGVar8->_room); + uVar16 = FUN_004ce0f0(); + switch(uVar16) { case 7: break; case 8: break; case 9: } - pfVar15 = (float *)Isaac::GetAxisAlignedUnitVectorFromDir(); - fVar1 = pfVar15[1]; - fVar2 = *pfVar15; + pfVar14 = (float *)Isaac::GetAxisAlignedUnitVectorFromDir(); + fVar1 = pfVar14[1]; + fVar2 = *pfVar14; *(undefined4 *)((int)local_4c + 0xb64) = 4; *(float *)((int)local_4c + 0x364) = fVar1 * 0.1; *(float *)((int)local_4c + 0x360) = fVar2 * 0.1; @@ -619333,18 +620200,18 @@ LAB_00831c6a: *(float *)((int)local_4c + 0x338) = fVar1; } } - else if (((iVar16 == 0xb) || (iVar16 == 0x10)) && - (*(int *)&this->field_0x14 == g_game->_currentRoomIdx)) { - piVar18 = (g_game->_playerManager)._playerList._begin; - if (piVar18 != (g_game->_playerManager)._playerList._end) { + else if (((iVar15 == 0xb) || (iVar15 == 0x10)) && + (this->_targetRoomIdx == g_game->_currentRoomIdx)) { + piVar17 = (g_game->_playerManager)._playerList._begin; + if (piVar17 != (g_game->_playerManager)._playerList._end) { do { - iVar16 = *piVar18; - if (iVar16 != 0) { - *(undefined1 *)(iVar16 + 0x171) = 0; - *(undefined1 *)(iVar16 + 0x410) = 1; + iVar15 = *piVar17; + if (iVar15 != 0) { + *(undefined1 *)(iVar15 + 0x171) = 0; + *(undefined1 *)(iVar15 + 0x410) = 1; } - piVar18 = piVar18 + 1; - } while (piVar18 != (pGVar9->_playerManager)._playerList._end); + piVar17 = piVar17 + 1; + } while (piVar17 != (pGVar8->_playerManager)._playerList._end); } LAB_00831db4: this->_frame = 0; @@ -619353,28 +620220,28 @@ LAB_00831db4: else { LAB_00831dc6: this->_frame = 0; - pGVar9 = g_game; - if ((((*(int *)&this->field_0x10 != -1) || (iVar16 == 3)) || - (((iVar16 == 0xc || ((iVar16 == 0xd || (iVar16 == 0xb)))) || (iVar16 == 0x10)))) && - (puVar19 = (g_game->_playerManager)._playerList._begin, - puVar19 != (g_game->_playerManager)._playerList._end)) { + pGVar8 = g_game; + if ((((this->_direction != -1) || (iVar15 == 3)) || + (((iVar15 == 0xc || ((iVar15 == 0xd || (iVar15 == 0xb)))) || (iVar15 == 0x10)))) && + (puVar18 = (g_game->_playerManager)._playerList._begin, + puVar18 != (g_game->_playerManager)._playerList._end)) { do { - pEVar4 = (Entity_Player *)*puVar19; + pEVar4 = (Entity_Player *)*puVar18; if ((pEVar4 != (Entity_Player *)0x0) && - ((((this->_animation != 0 && (this->_animation != 2)) || - (*(int *)&this->field_0x10 == -1)) || (pEVar4 == pEVar3)))) { + ((((this->_animation != 0 && (this->_animation != 2)) || (this->_direction == -1)) || + (pEVar4 == pEVar3)))) { pEVar4->_visible = 0; } - puVar19 = puVar19 + 1; - } while (puVar19 != (pGVar9->_playerManager)._playerList._end); + puVar18 = puVar18 + 1; + } while (puVar18 != (pGVar8->_playerManager)._playerList._end); } Room::render_lighting(); std::vector::resize(); - puVar19 = (undefined4 *)std::deque::back(); - if ((byte *)(puVar19 + 1) != (byte *)0x0) { - *(byte *)(puVar19 + 1) = (byte)(g_graphicsManager_flags >> 5) & 1; + puVar18 = (undefined4 *)std::deque::back(); + if ((byte *)(puVar18 + 1) != (byte *)0x0) { + *(byte *)(puVar18 + 1) = (byte)(g_graphicsManager_flags >> 5) & 1; } - *puVar19 = g_graphicsManager_renderTarget; + *puVar18 = g_graphicsManager_renderTarget; KAGE_Graphics::SetRenderTarget(*(undefined4 *)&this->field_0x28,1); RenderTarget::Clear(); g_graphicsManager_blendMode[1] = 1; @@ -619384,27 +620251,27 @@ LAB_00831dc6: } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; Room::Render(); _glfw_context_reset(); if (g_renderTargetStackSize == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PopRenderTarget: stack is empty!\n"); } - puVar19 = (undefined4 *)std::deque::back(); - KAGE_Graphics::SetRenderTarget(*puVar19,*(undefined1 *)(puVar19 + 1)); + puVar18 = (undefined4 *)std::deque::back(); + KAGE_Graphics::SetRenderTarget(*puVar18,*(undefined1 *)(puVar18 + 1)); g_renderTargetStackSize = g_renderTargetStackSize - 1; if (g_renderTargetStackSize == 0) { DAT_00c7978c = 0; } - iVar16 = this->_animation; - if ((((iVar16 == 1) || (iVar16 == 2)) || - ((*(int *)&this->field_0x10 == -1 || ((iVar16 == 0xb || (iVar16 == 0xf)))))) || - ((iVar16 == 0x10 || - ((((iVar16 == 0x11 || (iVar16 == 0x14)) || (iVar16 == 0x12)) || - ((iVar16 == 0x13 || (iVar16 == 0x15)))))))) { + iVar15 = this->_animation; + if ((((iVar15 == 1) || (iVar15 == 2)) || + ((this->_direction == -1 || ((iVar15 == 0xb || (iVar15 == 0xf)))))) || + ((iVar15 == 0x10 || + ((((iVar15 == 0x11 || (iVar15 == 0x14)) || (iVar15 == 0x12)) || + ((iVar15 == 0x13 || (iVar15 == 0x15)))))))) { *(undefined4 *)this = 2; - if ((iVar16 == 0xf) || (iVar16 == 0x15)) { + if ((iVar15 == 0xf) || (iVar15 == 0x15)) { ChangeRoom(this); } } @@ -619416,81 +620283,83 @@ LAB_00831dc6: break; case 2: if (this->_bossIntroBossId == 0) { - iVar16 = this->_frame; - if (iVar16 < this->_duration) goto LAB_008320bd; + iVar15 = this->_frame; + if (iVar15 < this->_duration) goto LAB_008320bd; this->_frame = 0; *(undefined4 *)this = 3; ChangeRoom(this); } else { - ANM2::Update((ANM2 *)&this->field_0x38); - piVar18 = (int *)**(int **)&this->field_0x224; - if (piVar18 != *(int **)&this->field_0x224) { + ANM2::Update(&this->_versusScreenSprite); + piVar17 = (this->_sprites)._head; + piVar24 = (int *)*piVar17; + if (piVar24 != piVar17) { do { - if (*(char *)((int)piVar18 + 0x11d) != '\0') { + if (*(char *)((int)piVar24 + 0x11d) != '\0') { AnimationState::Update(); AnimationState::Update(); } - piVar5 = (int *)piVar18[2]; - if (*(char *)((int)piVar5 + 0xd) == '\0') { - cVar14 = *(char *)(*piVar5 + 0xd); - piVar18 = piVar5; - piVar5 = (int *)*piVar5; - while (cVar14 == '\0') { - cVar14 = *(char *)(*piVar5 + 0xd); - piVar18 = piVar5; - piVar5 = (int *)*piVar5; + piVar17 = (int *)piVar24[2]; + if (*(char *)((int)piVar17 + 0xd) == '\0') { + cVar13 = *(char *)(*piVar17 + 0xd); + piVar24 = piVar17; + piVar17 = (int *)*piVar17; + while (cVar13 == '\0') { + cVar13 = *(char *)(*piVar17 + 0xd); + piVar24 = piVar17; + piVar17 = (int *)*piVar17; } } else { - cVar14 = *(char *)(piVar18[1] + 0xd); - piVar11 = (int *)piVar18[1]; - piVar5 = piVar18; - while ((piVar18 = piVar11, cVar14 == '\0' && (piVar5 == (int *)piVar18[2]))) { - cVar14 = *(char *)(piVar18[1] + 0xd); - piVar11 = (int *)piVar18[1]; - piVar5 = piVar18; + cVar13 = *(char *)(piVar24[1] + 0xd); + piVar10 = (int *)piVar24[1]; + piVar17 = piVar24; + while ((piVar24 = piVar10, cVar13 == '\0' && (piVar17 == (int *)piVar24[2]))) { + cVar13 = *(char *)(piVar24[1] + 0xd); + piVar10 = (int *)piVar24[1]; + piVar17 = piVar24; } } - } while (piVar18 != *(int **)&this->field_0x224); + } while (piVar24 != (this->_sprites)._head); } - if ((*(int *)&this->field_0x6c == 0) || (this->field_0x7c == '\0')) { + if (((this->_versusScreenSprite)._animState._animData == (void *)0x0) || + ((this->_versusScreenSprite)._animState._isPlaying == 0)) { Room::PlayMusic(); - pGVar9 = g_game; + pGVar8 = g_game; (g_game->_hud)._isVisible = 1; this->_frame = this->_duration; *(undefined4 *)this = 3; - piVar18 = (pGVar9->_playerManager)._playerList._begin; - if (piVar18 != (pGVar9->_playerManager)._playerList._end) { + piVar17 = (pGVar8->_playerManager)._playerList._begin; + if (piVar17 != (pGVar8->_playerManager)._playerList._end) { do { - iVar16 = *piVar18; - if (iVar16 != 0) { - iVar23 = 10; - if (10 < *(int *)(iVar16 + 0x418)) { - iVar23 = *(int *)(iVar16 + 0x418); + iVar15 = *piVar17; + if (iVar15 != 0) { + iVar22 = 10; + if (10 < *(int *)(iVar15 + 0x418)) { + iVar22 = *(int *)(iVar15 + 0x418); } - *(int *)(iVar16 + 0x418) = iVar23; + *(int *)(iVar15 + 0x418) = iVar22; } - piVar18 = piVar18 + 1; - } while (piVar18 != (pGVar9->_playerManager)._playerList._end); + piVar17 = piVar17 + 1; + } while (piVar17 != (pGVar8->_playerManager)._playerList._end); } } } break; case 3: - iVar16 = this->_frame; - if (iVar16 < this->_duration) { + iVar15 = this->_frame; + if (iVar15 < this->_duration) { LAB_008320bd: - this->_frame = iVar16 + 1; + this->_frame = iVar15 + 1; } else { FUN_00421260(); this->_frame = 0; - cVar14 = FUN_0082eb90(); - pMVar10 = g_manager; - if (cVar14 == '\0') { - iVar16 = this->_animation; - if (iVar16 == 5) { + cVar13 = FUN_0082eb90(); + pMVar9 = g_manager; + if (cVar13 == '\0') { + iVar15 = this->_animation; + if (iVar15 == 5) { if (pEVar3 != (Entity_Player *)0x0) { Entity_Player::AnimateCollectible(pEVar3,0xa1,"Pickup","PlayerPickupSparkle"); } @@ -619498,7 +620367,7 @@ LAB_008321d0: *(undefined4 *)this = 4; break; } - if (iVar16 == 6) { + if (iVar15 == 6) { if (pEVar3 != (Entity_Player *)0x0) { Entity_Player::AnimateCollectible(pEVar3,0x51,"Pickup","PlayerPickupSparkle"); *(undefined4 *)this = 4; @@ -619506,9 +620375,9 @@ LAB_008321d0: } goto LAB_008321d0; } - if (iVar16 == 7) { + if (iVar15 == 7) { seed_fart_sound_override(); - SoundEffects::Play(&pMVar10->_sfxManager,1,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar9->_sfxManager,1,1.0,2,0,1.0,0.0); if (pEVar3 != (Entity_Player *)0x0) { Entity_Player::AnimateCollectible(pEVar3,0xb,"Pickup","PlayerPickupSparkle"); *(undefined4 *)this = 4; @@ -619516,7 +620385,7 @@ LAB_008321d0: } goto LAB_008321d0; } - if (iVar16 == 8) { + if (iVar15 == 8) { if (pEVar3 != (Entity_Player *)0x0) { Entity_Player::AnimateCollectible(pEVar3,0xd4,"Pickup","PlayerPickupSparkle"); *(undefined4 *)this = 4; @@ -619524,7 +620393,7 @@ LAB_008321d0: } goto LAB_008321d0; } - if (iVar16 == 9) { + if (iVar15 == 9) { if (pEVar3 != (Entity_Player *)0x0) { Entity_Player::AnimateCollectible(pEVar3,0x137,"Pickup","PlayerPickupSparkle"); *(undefined4 *)this = 4; @@ -619532,7 +620401,7 @@ LAB_008321d0: } goto LAB_008321d0; } - if (iVar16 == 10) { + if (iVar15 == 10) { if (pEVar3 != (Entity_Player *)0x0) { Entity_Player::AnimateCollectible(pEVar3,0x14c,"Pickup","PlayerPickupSparkle"); *(undefined4 *)this = 4; @@ -619540,7 +620409,7 @@ LAB_008321d0: } goto LAB_008321d0; } - if (iVar16 == 0xe) { + if (iVar15 == 0xe) { if (pEVar3 != (Entity_Player *)0x0) { Entity_Player::AnimateTrinket(pEVar3,0x17,"Pickup","PlayerPickupSparkle"); *(undefined4 *)this = 4; @@ -619548,47 +620417,47 @@ LAB_008321d0: } goto LAB_008321d0; } - if (((iVar16 == 1) || (iVar16 == 2)) || (iVar16 == 0x12)) goto LAB_008321d0; - if (((iVar16 != 0xb) && (iVar16 != 0x10)) && ((iVar16 != 0x11 && (iVar16 != 0x13)))) { - if (iVar16 == 0x14) goto LAB_008321d0; + if (((iVar15 == 1) || (iVar15 == 2)) || (iVar15 == 0x12)) goto LAB_008321d0; + if (((iVar15 != 0xb) && (iVar15 != 0x10)) && ((iVar15 != 0x11 && (iVar15 != 0x13)))) { + if (iVar15 == 0x14) goto LAB_008321d0; EntityList::Update(); - piVar18 = (g_game->_playerManager)._playerList._begin; - if (piVar18 == (g_game->_playerManager)._playerList._end) goto LAB_00831db4; + piVar17 = (g_game->_playerManager)._playerList._begin; + if (piVar17 == (g_game->_playerManager)._playerList._end) goto LAB_00831db4; do { - piVar5 = (int *)*piVar18; - if (piVar5 != (int *)0x0) { + piVar24 = (int *)*piVar17; + if (piVar24 != (int *)0x0) { if (*(int *)&g_game->_deathmatchManager < 2) { - *(undefined1 *)(piVar5 + 0x104) = 1; + *(undefined1 *)(piVar24 + 0x104) = 1; } - (**(code **)(*piVar5 + 0xc))(); + (**(code **)(*piVar24 + 0xc))(); } - piVar18 = piVar18 + 1; - } while (piVar18 != (g_game->_playerManager)._playerList._end); + piVar17 = piVar17 + 1; + } while (piVar17 != (g_game->_playerManager)._playerList._end); this->_frame = 0; *(undefined4 *)this = 0; break; } EntityList::Update(); - piVar18 = (g_game->_playerManager)._playerList._begin; - if (piVar18 != (g_game->_playerManager)._playerList._end) { + piVar17 = (g_game->_playerManager)._playerList._begin; + if (piVar17 != (g_game->_playerManager)._playerList._end) { do { - piVar5 = (int *)*piVar18; - if (piVar5 != (int *)0x0) { - (**(code **)(*piVar5 + 0xc))(); - *(undefined1 *)(piVar5 + 0x104) = 1; + piVar24 = (int *)*piVar17; + if (piVar24 != (int *)0x0) { + (**(code **)(*piVar24 + 0xc))(); + *(undefined1 *)(piVar24 + 0x104) = 1; } - piVar18 = piVar18 + 1; - } while (piVar18 != (g_game->_playerManager)._playerList._end); + piVar17 = piVar17 + 1; + } while (piVar17 != (g_game->_playerManager)._playerList._end); this->_frame = 0; *(undefined4 *)this = 0; break; } goto LAB_00831db4; } - puVar19 = (g_game->_playerManager)._playerList._begin; - if (puVar19 != (g_game->_playerManager)._playerList._end) { + puVar18 = (g_game->_playerManager)._playerList._begin; + if (puVar18 != (g_game->_playerManager)._playerList._end) { do { - pEVar4 = (Entity_Player *)*puVar19; + pEVar4 = (Entity_Player *)*puVar18; if (pEVar4 != (Entity_Player *)0x0) { if (this->_animation == 3) { Entity_Player::PlayExtraAnimation(pEVar4); @@ -619597,8 +620466,8 @@ LAB_008321d0: pEVar4->_visible = 1; } } - puVar19 = puVar19 + 1; - } while (puVar19 != (g_game->_playerManager)._playerList._end); + puVar18 = puVar18 + 1; + } while (puVar18 != (g_game->_playerManager)._playerList._end); } if (this->_animation == 0xc) { if (pEVar3 == (Entity_Player *)0x0) goto LAB_008321d0; @@ -619615,26 +620484,26 @@ LAB_008321d0: case 4: if ((this->_animation == 3) && (this->_frame == 8)) { seed_fart_sound_override(local_14); - SoundEffects::Play(&pMVar10->_sfxManager,0xd6,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar9->_sfxManager,0xd6,1.0,2,0,1.0,0.0); } this->_frame = this->_frame + 1; - bVar8 = true; + bVar7 = true; EntityList::Update(); - piVar18 = (g_game->_playerManager)._playerList._begin; - if (piVar18 != (g_game->_playerManager)._playerList._end) { + piVar17 = (g_game->_playerManager)._playerList._begin; + if (piVar17 != (g_game->_playerManager)._playerList._end) { do { - piVar5 = (int *)*piVar18; - if ((piVar5 != (int *)0x0) && - (((char)piVar5[0x4e6] != '\0' || (*(char *)((int)piVar5 + 0x139a) != '\0')))) { - if (piVar5[0x1f] == 0) { - cVar14 = '\0'; + piVar24 = (int *)*piVar17; + if ((piVar24 != (int *)0x0) && + (((char)piVar24[0x4e6] != '\0' || (*(char *)((int)piVar24 + 0x139a) != '\0')))) { + if (piVar24[0x1f] == 0) { + cVar13 = '\0'; } else { - cVar14 = *(char *)(piVar5[0x1f] + 0x34); + cVar13 = *(char *)(piVar24[0x1f] + 0x34); } - if (cVar14 == '\0') { - (**(code **)(*piVar5 + 0xc))(); - if (piVar5[0x1f] == 0) { + if (cVar13 == '\0') { + (**(code **)(*piVar24 + 0xc))(); + if (piVar24[0x1f] == 0) { local_30 = 0xf; local_34 = 0; local_44[0] = (undefined4 *****)0x0; @@ -619642,14 +620511,14 @@ LAB_008321d0: else { std::string::string(); } - pppppuVar22 = local_44[0]; + pppppuVar21 = local_44[0]; local_8 = (void *)0x1; - if ((((char)piVar5[0x4e6] == '\0') && (*(char *)((int)piVar5 + 0x139a) == '\0')) || + if ((((char)piVar24[0x4e6] == '\0') && (*(char *)((int)piVar24 + 0x139a) == '\0')) || (local_34 < 5)) { local_4c = (EntityPtr)local_2c[0]; uVar26 = local_18; LAB_00832568: - bVar7 = false; + bVar6 = false; } else { uVar25 = local_34 - 5; @@ -619663,13 +620532,13 @@ LAB_00832568: if (local_34 - uVar25 != 0xffffffff) { _Size = local_34 - uVar25; } - pppppuVar20 = local_44; + pppppuVar19 = local_44; if (0xf < local_30) { - pppppuVar20 = local_44[0]; + pppppuVar19 = local_44[0]; } if (_Size < 0x10) { local_1c = _Size; - memmove(local_2c,(void *)((int)pppppuVar20 + uVar25),_Size); + memmove(local_2c,(void *)((int)pppppuVar19 + uVar25),_Size); *(undefined1 *)((int)local_2c + _Size) = 0; uVar26 = local_18; } @@ -619687,68 +620556,68 @@ LAB_00832568: else { uVar26 = 0x7fffffff; } - pvVar21 = (void *)std::_Allocate(); + pvVar20 = (void *)std::_Allocate(); local_1c = _Size; local_18 = uVar26; - memcpy(pvVar21,(void *)((int)pppppuVar20 + uVar25),_Size); - *(undefined1 *)((int)pvVar21 + _Size) = 0; - local_2c[0] = pvVar21; + memcpy(pvVar20,(void *)((int)pppppuVar19 + uVar25),_Size); + *(undefined1 *)((int)pvVar20 + _Size) = 0; + local_2c[0] = pvVar20; } local_4c = (EntityPtr)local_2c[0]; + bVar5 = true; + cVar13 = str_eq("Death"); + if (cVar13 != '\0') goto LAB_00832568; bVar6 = true; - cVar14 = str_eq("Death"); - if (cVar14 != '\0') goto LAB_00832568; - bVar7 = true; } - if ((bVar6) && (bVar6 = false, 0xf < uVar26)) { - EVar24 = local_4c; + if ((bVar5) && (bVar5 = false, 0xf < uVar26)) { + EVar23 = local_4c; if ((0xfff < uVar26 + 1) && - (EVar24 = *(EntityPtr *)((int)local_4c + -4), - 0x1f < (uint)((int)local_4c + (-4 - (int)EVar24)))) goto LAB_00831b99; - operator_delete(EVar24); + (EVar23 = *(EntityPtr *)((int)local_4c + -4), + 0x1f < (uint)((int)local_4c + (-4 - (int)EVar23)))) goto LAB_00831b99; + operator_delete(EVar23); } local_8 = (void *)0xffffffff; - bVar12 = false; - if (!bVar7) { - bVar12 = bVar8; + bVar11 = false; + if (!bVar6) { + bVar11 = bVar7; } - bVar8 = bVar12; + bVar7 = bVar11; if (0xf < local_30) { - pppppuVar20 = pppppuVar22; + pppppuVar19 = pppppuVar21; if ((0xfff < local_30 + 1) && - (pppppuVar20 = (undefined4 *****)pppppuVar22[-1], - 0x1f < (uint)((int)pppppuVar22 + (-4 - (int)pppppuVar20)))) goto LAB_00831b99; - operator_delete(pppppuVar20); + (pppppuVar19 = (undefined4 *****)pppppuVar21[-1], + 0x1f < (uint)((int)pppppuVar21 + (-4 - (int)pppppuVar19)))) goto LAB_00831b99; + operator_delete(pppppuVar19); } } } - piVar18 = piVar18 + 1; - } while (piVar18 != (g_game->_playerManager)._playerList._end); - if (!bVar8) break; + piVar17 = piVar17 + 1; + } while (piVar17 != (g_game->_playerManager)._playerList._end); + if (!bVar7) break; } - pGVar9 = g_game; + pGVar8 = g_game; *(undefined4 *)this = 0; this->_frame = 0; - piVar18 = (pGVar9->_playerManager)._playerList._begin; - if (piVar18 != (pGVar9->_playerManager)._playerList._end) { + piVar17 = (pGVar8->_playerManager)._playerList._begin; + if (piVar17 != (pGVar8->_playerManager)._playerList._end) { do { - iVar16 = *piVar18; - if ((iVar16 != 0) && - (*(undefined1 *)(iVar16 + 0x410) = 1, (*(uint *)(iVar16 + 0x16c) & 0x2000000) == 0)) { - *(undefined1 *)(iVar16 + 0x171) = 1; + iVar15 = *piVar17; + if ((iVar15 != 0) && + (*(undefined1 *)(iVar15 + 0x410) = 1, (*(uint *)(iVar15 + 0x16c) & 0x2000000) == 0)) { + *(undefined1 *)(iVar15 + 0x171) = 1; } - piVar18 = piVar18 + 1; - } while (piVar18 != (pGVar9->_playerManager)._playerList._end); + piVar17 = piVar17 + 1; + } while (piVar17 != (pGVar8->_playerManager)._playerList._end); } break; default: goto switchD_0083190e_default; } *(float *)&this->field_0xc = (float)this->_frame / (float)this->_duration; - pGVar9 = g_game; + pGVar8 = g_game; if ((*(int *)this == 2) || (*(int *)this == 3)) { (g_game->_hud)._hudRefreshType = 2; - (pGVar9->_hud)._hudRefreshCountdown = 2; + (pGVar8->_hud)._hudRefreshCountdown = 2; } switchD_0083190e_default: ExceptionList = local_10; @@ -620007,7 +620876,7 @@ void __thiscall Entity_Player::TriggerRoomExit(Entity_Player *this) g_graphicsManager_blendMode[1] = 1; g_graphicsManager_blendMode[2] = 0; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 0; + g_graphicsManager_blendMode[4] = 0; KColor::SetFromARGB(0xffffffff); fVar10 = g_screenHeight; render_quad_set_uniform_color(g_screenHeight,extraout_ECX_01); @@ -620027,7 +620896,7 @@ LAB_00832ee2: } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; iVar6 = *(int *)((int)&this->_pendingDamageFlags + 4); local_140 = 0; local_13c = 0; @@ -620358,48 +621227,48 @@ undefined4 * Ambush::shuffle_waves(void) void __thiscall Ambush::StartChallenge(Ambush *this) { - void *pvVar1; - GridEntity_Door *pGVar2; + GridEntity_Door *pGVar1; + int iVar2; int iVar3; - int iVar4; Entity_Player *this_00; - int iVar5; - uint uVar6; - undefined4 uVar7; + int iVar4; + uint uVar5; + undefined4 uVar6; + void *pvVar7; Game *pGVar8; int iVar9; if (((*(uint *)(*(int *)((int)g_game->_room + 4) + 0x44) >> 3 & 1) == 0) && (this->_isActive == 0) ) { this->_isActive = 1; - *(undefined4 *)&this[1].field_0x4 = 0x1e; - *(undefined4 *)(this + 1) = 0; + *(undefined4 *)(this + 1) = 0x1e; + this->_currentWave = 0; shuffle_waves(); this_00 = (Entity_Player *)PlayerManager::FirstTrinketOwner(0x7c); if (this_00 == (Entity_Player *)0x0) { - iVar5 = 0; + iVar4 = 0; } else { - iVar5 = Entity_Player::GetTrinketMultiplier(this_00,0x7c); + iVar4 = Entity_Player::GetTrinketMultiplier(this_00,0x7c); } iVar9 = 0x724; - uVar6 = 0; + uVar5 = 0; pGVar8 = g_game; do { - uVar6 = uVar6 + 1; - if (uVar6 < 9) { - pvVar1 = pGVar8->_room; - pGVar2 = *(GridEntity_Door **)(iVar9 + (int)pvVar1); - if (((pGVar2 != (GridEntity_Door *)0x0) && - ((pGVar8->_enterDoor != pGVar2->_slot || - (((iVar5 < 2 || (*(int *)((int)pvVar1 + 8) != 0x11)) && - ((iVar5 < 3 || (*(int *)((int)pvVar1 + 8) != 0xb)))))))) && - ((pGVar2->_desc)._state != 1)) { - (pGVar2->_desc)._state = 1; - GridEntity_Door::UpdateAnimation(pGVar2); - iVar3 = pGVar2->_currentRoomType; - if (((((iVar3 == 7) || (iVar4 = pGVar2->_targetRoomType, iVar4 == 7)) || (iVar3 == 8)) || - ((iVar4 == 8 || (iVar3 == 0x1d)))) || (pGVar8 = g_game, iVar4 == 0x1d)) { + uVar5 = uVar5 + 1; + if (uVar5 < 9) { + pvVar7 = pGVar8->_room; + pGVar1 = *(GridEntity_Door **)(iVar9 + (int)pvVar7); + if (((pGVar1 != (GridEntity_Door *)0x0) && + ((pGVar8->_enterDoor != pGVar1->_slot || + (((iVar4 < 2 || (*(int *)((int)pvVar7 + 8) != 0x11)) && + ((iVar4 < 3 || (*(int *)((int)pvVar7 + 8) != 0xb)))))))) && + ((pGVar1->_desc)._state != 1)) { + (pGVar1->_desc)._state = 1; + GridEntity_Door::UpdateAnimation(pGVar1); + iVar2 = pGVar1->_currentRoomType; + if (((((iVar2 == 7) || (iVar3 = pGVar1->_targetRoomType, iVar3 == 7)) || (iVar2 == 8)) || + ((iVar3 == 8 || (iVar2 == 0x1d)))) || (pGVar8 = g_game, iVar3 == 0x1d)) { std::string::assign(s_Open,4); pGVar8 = g_game; } @@ -620410,24 +621279,24 @@ void __thiscall Ambush::StartChallenge(Ambush *this) Music::Play((Music *)&g_manager->_musicManager,(*(int *)((int)pGVar8->_room + 8) == 0x11) + 0x26 ,(g_manager->_optionsConfig)._musicVolume); pGVar8 = g_game; - iVar5 = *(int *)((int)g_game->_room + 4); - uVar7 = 0; - if (iVar5 != 0) { - uVar7 = *(undefined4 *)(iVar5 + 0x5c); + iVar4 = *(int *)((int)g_game->_room + 4); + uVar6 = 0; + if (iVar4 != 0) { + uVar6 = *(undefined4 *)(iVar4 + 0x5c); } - *(undefined4 *)&this[1].field_0x8 = uVar7; - *(undefined4 *)&this[1].field_0xc = 5; - *(undefined4 *)&this[1].field_0x10 = 9; - *(undefined4 *)&this[1].field_0x14 = 7; - iVar5 = *(int *)((int)pGVar8->_room + 4); - uVar7 = 0; - if (iVar5 != 0) { - uVar7 = *(undefined4 *)(iVar5 + 0x5c); + *(undefined4 *)&this[1].field_0x4 = uVar6; + *(undefined4 *)&this[1].field_0x8 = 5; + this[1]._bossRushWaves._begin = (void *)0x9; + this[1]._bossRushWaves._end = &DAT_00000007; + iVar4 = *(int *)((int)pGVar8->_room + 4); + pvVar7 = (void *)0x0; + if (iVar4 != 0) { + pvVar7 = *(void **)(iVar4 + 0x5c); } - *(undefined4 *)&this[1].field_0x18 = uVar7; - *(undefined4 *)&this[1].field_0x1c = 7; - *(undefined4 *)&this[1]._isActive = 0x11; - *(undefined4 *)(this + 2) = 0x15; + this[1]._bossRushWaves._capacity = pvVar7; + this[1]._maxWaves = 7; + *(undefined4 *)&this[1].field_0x1c = 0x11; + *(undefined4 *)&this[1]._isActive = 0x15; } return; } @@ -620447,11 +621316,12 @@ void __thiscall Ambush::SpawnWave(Ambush *this) int *piVar3; int iVar4; uint uVar5; - undefined8 *puVar6; - int iVar7; - int *piVar8; - short *psVar9; - PlayerManager *pPVar10; + void *pvVar6; + undefined8 *puVar7; + int iVar8; + int *piVar9; + short *psVar10; + PlayerManager *pPVar11; uint local_90; float local_8c; float local_88; @@ -620491,7 +621361,7 @@ void __thiscall Ambush::SpawnWave(Ambush *this) local_34[3] = 0xf; local_54 = g_game; local_5c = g_game->_room; - iVar4 = *(int *)(this + 1) - (uint)(g_game->_difficulty != 1); + iVar4 = this->_currentWave - (uint)(g_game->_difficulty != 1); if (3 < iVar4) { iVar4 = 3; } @@ -620509,7 +621379,7 @@ void __thiscall Ambush::SpawnWave(Ambush *this) } local_88 = (float)(0xb - (uint)(*(int *)(*(int *)(*(int *)((int)local_5c + 4) + 0x10) + 0x10) != 1 )); - piVar8 = (int *)0x0; + piVar9 = (int *)0x0; local_60 = (int *)0x0; local_80 = (int *)0x0; local_7c = (int *)0x0; @@ -620519,30 +621389,30 @@ void __thiscall Ambush::SpawnWave(Ambush *this) local_64 = 0; local_68 = (int *)0x3e8; do { - if (local_60 != piVar8) { + if (local_60 != piVar9) { LAB_00833972: local_58 = local_60 + 1; do { - piVar8 = local_58; + piVar9 = local_58; local_68 = (int *)local_58[-1]; local_8c = (float)((int)local_68 % *(int *)((int)local_5c + 0xc)) * 40.0 + 40.0; local_88 = (float)((int)local_68 / *(int *)((int)local_5c + 0xc)) * 40.0 + 120.0; Room::FindFreeTilePosition(local_74,&local_8c,0); piVar3 = local_58; - uVar5 = *(uint *)&this[1].field_0x18; - if (*piVar8 - 10U < 0x3de) { - if (uVar5 == 0) { + pvVar6 = this[1]._bossRushWaves._capacity; + if (*piVar9 - 10U < 0x3de) { + if (pvVar6 == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = uVar5 >> ((byte)*(undefined4 *)&this[1].field_0x1c & 0x1f) ^ uVar5; - uVar5 = uVar5 << ((byte)*(undefined4 *)&this[1]._isActive & 0x1f) ^ uVar5; - uVar5 = uVar5 >> ((byte)*(undefined4 *)(this + 2) & 0x1f) ^ uVar5; - *(uint *)&this[1].field_0x18 = uVar5; + uVar5 = (uint)pvVar6 >> ((byte)this[1]._maxWaves & 0x1f) ^ (uint)pvVar6; + uVar5 = uVar5 << ((byte)*(undefined4 *)&this[1].field_0x1c & 0x1f) ^ uVar5; + pvVar6 = (void *)(uVar5 >> ((byte)*(undefined4 *)&this[1]._isActive & 0x1f) ^ uVar5); + this[1]._bossRushWaves._capacity = pvVar6; uVar1 = (undefined2)local_58[1]; iVar4 = spawn_enemy_spawner_effect (*local_58,uVar1,local_74,uVar1,0,*(undefined2 *)((int)local_58 + 6), - uVar5,uVar1,local_68); + pvVar6,uVar1,local_68); local_54 = g_game; if ((((g_game != (Game *)0x0) && (1 < *(int *)&g_game->_deathmatchManager)) && (*piVar3 == 1)) || (*piVar3 - 10U < 0x3de)) { @@ -620551,16 +621421,16 @@ LAB_00833972: } } else { - if (uVar5 == 0) { + if (pvVar6 == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = uVar5 >> ((byte)*(undefined4 *)&this[1].field_0x1c & 0x1f) ^ uVar5; - uVar5 = uVar5 << ((byte)*(undefined4 *)&this[1]._isActive & 0x1f) ^ uVar5; - uVar5 = uVar5 >> ((byte)*(undefined4 *)(this + 2) & 0x1f) ^ uVar5; - *(uint *)&this[1].field_0x18 = uVar5; + uVar5 = (uint)pvVar6 >> ((byte)this[1]._maxWaves & 0x1f) ^ (uint)pvVar6; + uVar5 = uVar5 << ((byte)*(undefined4 *)&this[1].field_0x1c & 0x1f) ^ uVar5; + pvVar6 = (void *)(uVar5 >> ((byte)*(undefined4 *)&this[1]._isActive & 0x1f) ^ uVar5); + this[1]._bossRushWaves._capacity = pvVar6; local_68 = (int *)Game::Spawn(*local_58,(short)local_58[1],local_74,&g_vectorZero,0, - *(undefined2 *)((int)local_58 + 6),uVar5); + *(undefined2 *)((int)local_58 + 6),pvVar6); if (local_68[10] == 1000) { (**(code **)(*local_68 + 0xc))(); } @@ -620575,32 +621445,32 @@ LAB_00833b32: seed_fart_sound_override(); SoundEffects::Play(&pMVar2->_sfxManager,local_64,1.0,2,0,1.0,0.0); uVar5 = 0; - pPVar10 = &g_game->_playerManager; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar10->_playerList)._begin >> 2 + pPVar11 = &g_game->_playerManager; + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar11->_playerList)._begin >> 2 != 0) { do { - if ((int)(pPVar10->_playerList)._end - (int)(pPVar10->_playerList)._begin >> 2 == 0) { + if ((int)(pPVar11->_playerList)._end - (int)(pPVar11->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } Entity_Player::spawn_locusts(); uVar5 = uVar5 + 1; - pPVar10 = &g_game->_playerManager; + pPVar11 = &g_game->_playerManager; } while (uVar5 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar10->_playerList)._begin >> 2)); + (int)(pPVar11->_playerList)._begin >> 2)); } if (local_60 != (int *)0x0) { uVar5 = (int)local_6c - (int)local_60 & 0xfffffff0; - piVar8 = local_60; + piVar9 = local_60; if (0xfff < uVar5) { - piVar8 = (int *)local_60[-1]; + piVar9 = (int *)local_60[-1]; uVar5 = uVar5 + 0x23; - if ((undefined1 *)0x1f < (undefined1 *)((int)local_60 + (-4 - (int)piVar8))) { + if ((undefined1 *)0x1f < (undefined1 *)((int)local_60 + (-4 - (int)piVar9))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(piVar8,uVar5); + operator_delete(piVar9,uVar5); } ExceptionList = local_1c; return; @@ -620608,18 +621478,18 @@ LAB_00833b32: local_54 = (Game *)&local_54->_roomConfig; local_90 = 0; local_70 = Room::GetRoomShape(); - uVar5 = *(uint *)&this[1].field_0x18; - if (uVar5 == 0) { + pvVar6 = this[1]._bossRushWaves._capacity; + if (pvVar6 == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = uVar5 >> ((byte)*(undefined4 *)&this[1].field_0x1c & 0x1f) ^ uVar5; - uVar5 = uVar5 << ((byte)*(undefined4 *)&this[1]._isActive & 0x1f) ^ uVar5; - uVar5 = uVar5 >> ((byte)*(undefined4 *)(this + 2) & 0x1f) ^ uVar5; - *(uint *)&this[1].field_0x18 = uVar5; + uVar5 = (uint)pvVar6 >> ((byte)this[1]._maxWaves & 0x1f) ^ (uint)pvVar6; + uVar5 = uVar5 << ((byte)*(undefined4 *)&this[1].field_0x1c & 0x1f) ^ uVar5; + pvVar6 = (void *)(uVar5 >> ((byte)*(undefined4 *)&this[1]._isActive & 0x1f) ^ uVar5); + this[1]._bossRushWaves._capacity = pvVar6; local_54 = (Game *)RoomConfig::GetRandomRoom - ((RoomConfig *)local_54,uVar5,1,(int)local_58,0xb,local_70,0,-1, - local_84,local_84,&local_90,(uint)local_88,-1); + ((RoomConfig *)local_54,(uint)pvVar6,1,(int)local_58,0xb,local_70,0 + ,-1,local_84,local_84,&local_90,(uint)local_88,-1); if (local_54 == (Game *)0x0) { if (local_58 == (int *)0x0) { /* WARNING: Subroutine does not return */ @@ -620632,57 +621502,57 @@ LAB_00833b32: if (((RoomConfig_Room *)local_54)->SpawnCount != 0) { local_60 = (int *)0x0; do { - psVar9 = (short *)((int)*(void **)((int)local_54 + 0x40) + (int)local_60); - uVar5 = *(uint *)&this[1].field_0x18; - if (uVar5 == 0) { + psVar10 = (short *)((int)*(void **)((int)local_54 + 0x40) + (int)local_60); + pvVar6 = this[1]._bossRushWaves._capacity; + if (pvVar6 == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = uVar5 >> ((byte)*(undefined4 *)&this[1].field_0x1c & 0x1f) ^ uVar5; - uVar5 = uVar5 << ((byte)*(undefined4 *)&this[1]._isActive & 0x1f) ^ uVar5; - uVar5 = uVar5 >> ((byte)*(undefined4 *)(this + 2) & 0x1f) ^ uVar5; - *(uint *)&this[1].field_0x18 = uVar5; - puVar6 = (undefined8 *) - Spawn::PickEntry((float)((double)(int)uVar5 + - __uint_to_double_fixup[-((int)uVar5 >> 0x1f)]) * + uVar5 = (uint)pvVar6 >> ((byte)this[1]._maxWaves & 0x1f) ^ (uint)pvVar6; + uVar5 = uVar5 << ((byte)*(undefined4 *)&this[1].field_0x1c & 0x1f) ^ uVar5; + pvVar6 = (void *)(uVar5 >> ((byte)*(undefined4 *)&this[1]._isActive & 0x1f) ^ uVar5); + this[1]._bossRushWaves._capacity = pvVar6; + puVar7 = (undefined8 *) + Spawn::PickEntry((float)((double)(int)pvVar6 + + __uint_to_double_fixup[-((int)pvVar6 >> 0x1f)]) * 2.3283062e-10); - local_40 = *puVar6; - local_38 = *(int *)(puVar6 + 1); - iVar4 = psVar9[1] + 1; - iVar7 = *psVar9 + 1; - if ((((iVar7 < 0) || (*(int *)((int)local_5c + 0xc) <= iVar7)) || (iVar4 < 0)) || + local_40 = *puVar7; + local_38 = *(int *)(puVar7 + 1); + iVar4 = psVar10[1] + 1; + iVar8 = *psVar10 + 1; + if ((((iVar8 < 0) || (*(int *)((int)local_5c + 0xc) <= iVar8)) || (iVar4 < 0)) || (*(int *)((int)local_5c + 0x10) <= iVar4)) { - iVar7 = -1; + iVar8 = -1; } else { - iVar7 = *(int *)((int)local_5c + 0xc) * iVar4 + iVar7; + iVar8 = *(int *)((int)local_5c + 0xc) * iVar4 + iVar8; } - uVar5 = *(uint *)&this[1].field_0x18; - if (uVar5 == 0) { + pvVar6 = this[1]._bossRushWaves._capacity; + if (pvVar6 == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar5 = uVar5 >> ((byte)*(undefined4 *)&this[1].field_0x1c & 0x1f) ^ uVar5; - uVar5 = uVar5 << ((byte)*(undefined4 *)&this[1]._isActive & 0x1f) ^ uVar5; - uVar5 = uVar5 >> ((byte)*(undefined4 *)(this + 2) & 0x1f) ^ uVar5; - *(uint *)&this[1].field_0x18 = uVar5; - Room::TransformEntry(&local_40,iVar7,uVar5); + uVar5 = (uint)pvVar6 >> ((byte)this[1]._maxWaves & 0x1f) ^ (uint)pvVar6; + uVar5 = uVar5 << ((byte)*(undefined4 *)&this[1].field_0x1c & 0x1f) ^ uVar5; + pvVar6 = (void *)(uVar5 >> ((byte)*(undefined4 *)&this[1]._isActive & 0x1f) ^ uVar5); + this[1]._bossRushWaves._capacity = pvVar6; + Room::TransformEntry(&local_40,iVar8,pvVar6); if ((int)(int *)local_40 - 1U < 999) { - piVar8 = (int *)local_40; + piVar9 = (int *)local_40; if ((int *)local_40 == (int *)0x3e7) { - piVar8 = local_68; + piVar9 = local_68; } - local_40 = CONCAT44(local_40._4_4_,piVar8); + local_40 = CONCAT44(local_40._4_4_,piVar9); uStack_4c = local_40; iStack_44 = local_38; - local_50 = iVar7; + local_50 = iVar8; if (local_7c == local_6c) { std::vector::_Emplace_reallocate(local_7c,&local_50); local_6c = local_78; } else { - *local_7c = iVar7; - local_7c[1] = (int)piVar8; + *local_7c = iVar8; + local_7c[1] = (int)piVar9; local_7c[2] = local_40._4_4_; local_7c[3] = local_38; local_7c = local_7c + 4; @@ -620692,13 +621562,13 @@ LAB_00833b32: local_60 = (int *)((int)local_60 + 0x10); } while (local_70 < (ushort)*(short *)((int)local_54 + 0x44)); local_60 = local_80; - piVar8 = local_7c; + piVar9 = local_7c; } } local_64 = local_64 + 1; if (9 < local_64) { local_54 = g_game; - if (local_60 == piVar8) goto LAB_00833b32; + if (local_60 == piVar9) goto LAB_00833b32; goto LAB_00833972; } local_54 = g_game; @@ -620714,32 +621584,33 @@ LAB_00833b32: void __thiscall Ambush::SpawnBossrushWave(Ambush *this) { - void *pvVar1; - int *piVar2; - Game *pGVar3; - Manager *pMVar4; - undefined8 *puVar5; - uint uVar6; - float *pfVar7; - undefined4 uVar8; + void **ppvVar1; + void *pvVar2; + int *piVar3; + Game *pGVar4; + Manager *pMVar5; + undefined8 *puVar6; + uint uVar7; + float *pfVar8; undefined4 uVar9; - uint uVar10; - int iVar11; + undefined4 uVar10; + uint uVar11; + int iVar12; undefined4 extraout_ECX; undefined4 extraout_ECX_00; undefined4 extraout_ECX_01; undefined4 extraout_ECX_02; undefined4 extraout_ECX_03; - int iVar12; int iVar13; - undefined8 *puVar14; - PlayerManager *pPVar15; - float fVar16; + int iVar14; + undefined8 *puVar15; + PlayerManager *pPVar16; float fVar17; float fVar18; float fVar19; float fVar20; - undefined4 uVar21; + float fVar21; + undefined4 uVar22; undefined1 local_a4 [8]; undefined4 local_9c; undefined4 local_98; @@ -620780,26 +621651,28 @@ void __thiscall Ambush::SpawnBossrushWave(Ambush *this) puStack_c = &LAB_00b0221d; local_10 = ExceptionList; - uVar6 = __security_cookie ^ (int)register0x00000010 - 4U; + uVar7 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; local_30 = (undefined8 *)0x0; local_44 = (undefined8 *)0x0; local_40 = 0; local_3c = 0; - iVar13 = 0; + iVar14 = 0; local_8 = 0; if (0 < *(int *)&this->field_0x1c) { do { - iVar11 = *(int *)&this->field_0x10 - *(int *)&this->field_0xc; - iVar12 = iVar11 >> 0x1f; - if (iVar11 / 0xc + iVar12 == iVar12) break; + iVar12 = (int)(this->_bossRushWaves)._end - (int)(this->_bossRushWaves)._begin; + iVar13 = iVar12 >> 0x1f; + if (iVar12 / 0xc + iVar13 == iVar13) break; + pvVar2 = (this->_bossRushWaves)._end; std::vector<12byte>::insert_range - (local_40,*(undefined4 *)(*(int *)&this->field_0x10 + -0xc), - *(undefined4 *)(*(int *)&this->field_0x10 + -8),local_38); + (local_40,*(undefined4 *)((int)pvVar2 + -0xc),*(undefined4 *)((int)pvVar2 + -8), + local_38); std::vector<12byte>::_Tidy(); - *(int *)&this->field_0x10 = *(int *)&this->field_0x10 + -0xc; - iVar13 = iVar13 + 1; - } while (iVar13 < *(int *)&this->field_0x1c); + ppvVar1 = &(this->_bossRushWaves)._end; + *ppvVar1 = (void *)((int)*ppvVar1 + -0xc); + iVar14 = iVar14 + 1; + } while (iVar14 < *(int *)&this->field_0x1c); local_30 = local_44; } local_20 = (local_40 - (int)local_30) / 0xc; @@ -620812,125 +621685,125 @@ void __thiscall Ambush::SpawnBossrushWave(Ambush *this) local_28 = 0.0; local_34 = local_30; do { - pGVar3 = g_game; + pGVar4 = g_game; local_54 = *local_34; - iVar13 = *(int *)(local_34 + 1); - pvVar1 = g_game->_room; - local_24 = *(float *)((int)pvVar1 + 0x18); - local_2c = *(float *)((int)pvVar1 + 0x20); - local_1c = (*(float *)((int)pvVar1 + 0x1c) + *(float *)((int)pvVar1 + 0x14)) * 0.5; - fVar16 = local_28; - cos(uVar6); - local_18 = fVar16 * 200.0 + local_1c; - fVar16 = local_28; + iVar14 = *(int *)(local_34 + 1); + pvVar2 = g_game->_room; + local_24 = *(float *)((int)pvVar2 + 0x18); + local_2c = *(float *)((int)pvVar2 + 0x20); + local_1c = (*(float *)((int)pvVar2 + 0x1c) + *(float *)((int)pvVar2 + 0x14)) * 0.5; + fVar17 = local_28; + cos(uVar7); + local_18 = fVar17 * 200.0 + local_1c; + fVar17 = local_28; sin(); - iVar12 = (int)local_54; - local_14 = fVar16 * 180.0 + (local_2c + local_24) * 0.5; + iVar13 = (int)local_54; + local_14 = fVar17 * 180.0 + (local_2c + local_24) * 0.5; if ((int)local_54 == 0x24) { - local_14 = *(float *)((int)pGVar3->_room + 0x18) + 80.0; + local_14 = *(float *)((int)pGVar4->_room + 0x18) + 80.0; LAB_00833e02: local_18 = local_1c; } else if ((int)local_54 == 0x106) { - local_14 = *(float *)((int)pGVar3->_room + 0x18) + 160.0; + local_14 = *(float *)((int)pGVar4->_room + 0x18) + 160.0; goto LAB_00833e02; } - iVar11 = Game::GetNearestPlayer(&local_18); - fVar17 = local_18 - *(float *)(iVar11 + 0x33c); - fVar16 = local_14 - *(float *)(iVar11 + 0x340); - if (fVar16 * fVar16 + fVar17 * fVar17 < 1600.0) { - iVar11 = Random(); - fVar16 = (float)((double)iVar11 + __uint_to_double_fixup[-(iVar11 >> 0x1f)]) * 2.3283064e-10 * + iVar12 = Game::GetNearestPlayer(&local_18); + fVar18 = local_18 - *(float *)(iVar12 + 0x33c); + fVar17 = local_14 - *(float *)(iVar12 + 0x340); + if (fVar17 * fVar17 + fVar18 * fVar18 < 1600.0) { + iVar12 = Random(); + fVar17 = (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 * 3.14; - fVar16 = fVar16 + fVar16; - local_24 = fVar16; + fVar17 = fVar17 + fVar17; + local_24 = fVar17; cos(); - local_18 = fVar16 * 60.0 + local_18; - fVar16 = local_24; + local_18 = fVar17 * 60.0 + local_18; + fVar17 = local_24; sin(); - local_14 = fVar16 * 60.0 + local_14; + local_14 = fVar17 * 60.0 + local_14; } - pfVar7 = (float *)Room::FindFreePickupSpawnPosition(local_a4,&local_18,0,0,0,0); - local_18 = *pfVar7; - local_14 = pfVar7[1]; - uVar8 = Random(); + pfVar8 = (float *)Room::FindFreePickupSpawnPosition(local_a4,&local_18,0,0,0,0); + local_18 = *pfVar8; + local_14 = pfVar8[1]; + uVar9 = Random(); spawn_enemy_spawner_effect - (iVar12,local_54._4_4_,&local_18,extraout_ECX,0,0,uVar8,extraout_ECX,0xffffffff); - if (iVar12 == 0x52) { - uVar9 = Random(); + (iVar13,local_54._4_4_,&local_18,extraout_ECX,0,0,uVar9,extraout_ECX,0xffffffff); + if (iVar13 == 0x52) { + uVar10 = Random(); local_5c = local_18 + 0.0; - pfVar7 = &local_5c; + pfVar8 = &local_5c; local_58 = local_14 + 20.0; - uVar21 = 0x53; - uVar8 = extraout_ECX_00; + uVar22 = 0x53; + uVar9 = extraout_ECX_00; LAB_00833f90: - spawn_enemy_spawner_effect(uVar21,0,pfVar7,uVar8,0,0,uVar9,uVar8,0xffffffff); + spawn_enemy_spawner_effect(uVar22,0,pfVar8,uVar9,0,0,uVar10,uVar9,0xffffffff); } - else if (iVar12 == 0x53) { - uVar9 = Random(); + else if (iVar13 == 0x53) { + uVar10 = Random(); local_64 = local_18 + 0.0; - pfVar7 = &local_64; + pfVar8 = &local_64; local_60 = local_14 + 20.0; - uVar21 = 0x52; - uVar8 = extraout_ECX_01; + uVar22 = 0x52; + uVar9 = extraout_ECX_01; goto LAB_00833f90; } - if (1 < iVar13) { - iVar11 = 1; - local_1c = (float)((iVar13 + -1) / 2); - iVar13 = (iVar13 - (int)local_1c) + -1; - if (0 < iVar13) { + if (1 < iVar14) { + iVar12 = 1; + local_1c = (float)((iVar14 + -1) / 2); + iVar14 = (iVar14 - (int)local_1c) + -1; + if (0 < iVar14) { do { - uVar8 = Random(); - local_6c = (float)iVar11 * 20.0 + local_18; + uVar9 = Random(); + local_6c = (float)iVar12 * 20.0 + local_18; local_68 = local_14 + 0.0; spawn_enemy_spawner_effect - (iVar12,local_54._4_4_,&local_6c,extraout_ECX_02,0,0,uVar8,extraout_ECX_02, + (iVar13,local_54._4_4_,&local_6c,extraout_ECX_02,0,0,uVar9,extraout_ECX_02, 0xffffffff); - iVar11 = iVar11 + 1; - } while (iVar11 <= iVar13); + iVar12 = iVar12 + 1; + } while (iVar12 <= iVar14); } - fVar16 = local_1c; - iVar13 = 1; + fVar17 = local_1c; + iVar14 = 1; if (0 < (int)local_1c) { do { - uVar8 = Random(); - local_74 = local_18 - (float)iVar13 * 20.0; + uVar9 = Random(); + local_74 = local_18 - (float)iVar14 * 20.0; local_70 = local_14 + 0.0; spawn_enemy_spawner_effect - (iVar12,local_54._4_4_,&local_74,extraout_ECX_03,0,0,uVar8,extraout_ECX_03, + (iVar13,local_54._4_4_,&local_74,extraout_ECX_03,0,0,uVar9,extraout_ECX_03, 0xffffffff); - iVar13 = iVar13 + 1; - } while (iVar13 <= (int)fVar16); + iVar14 = iVar14 + 1; + } while (iVar14 <= (int)fVar17); } } - fVar16 = 1.0; + fVar17 = 1.0; local_28 = local_28 + local_48; - if (iVar12 == 0x24) { + if (iVar13 == 0x24) { local_14 = local_14 + 80.0; - fVar16 = 3.0; + fVar17 = 3.0; } - fVar17 = fVar16 * -40.0; - fVar16 = fVar16 * 40.0; - local_38 = fVar17; - local_2c = fVar17; - local_24 = fVar16; - if (fVar17 <= fVar16) { - fVar18 = g_vectorZero.y; - fVar19 = g_vectorZero.x; + fVar18 = fVar17 * -40.0; + fVar17 = fVar17 * 40.0; + local_38 = fVar18; + local_2c = fVar18; + local_24 = fVar17; + if (fVar18 <= fVar17) { + fVar19 = g_vectorZero.y; + fVar20 = g_vectorZero.x; do { - fVar20 = local_2c; - local_1c = fVar17; - if (fVar17 <= fVar16) { + fVar21 = local_2c; + local_1c = fVar18; + if (fVar18 <= fVar17) { do { - iVar12 = (int)(((local_18 + fVar20) - 40.0) / 40.0 + 0.5); - iVar13 = (int)(((local_1c + local_14) - 120.0) / 40.0 + 0.5); - if ((((iVar12 < 0) || (iVar11 = *(int *)((int)g_game->_room + 0xc), iVar11 <= iVar12)) - || (iVar13 < 0)) || (*(int *)((int)g_game->_room + 0x10) <= iVar13)) { - uVar10 = 0xffffffff; + iVar13 = (int)(((local_18 + fVar21) - 40.0) / 40.0 + 0.5); + iVar14 = (int)(((local_1c + local_14) - 120.0) / 40.0 + 0.5); + if ((((iVar13 < 0) || (iVar12 = *(int *)((int)g_game->_room + 0xc), iVar12 <= iVar13)) + || (iVar14 < 0)) || (*(int *)((int)g_game->_room + 0x10) <= iVar14)) { + uVar11 = 0xffffffff; } else { - uVar10 = iVar13 * iVar11 + iVar12; + uVar11 = iVar14 * iVar12 + iVar13; } local_9c = 0; local_98 = 0; @@ -620938,62 +621811,62 @@ LAB_00833f90: local_90 = 0; local_7c = 0; local_78 = 0; - local_8c = fVar19; - local_88 = fVar18; - local_84 = fVar19; - local_80 = fVar18; - if (uVar10 < 0x1c0) { - piVar2 = *(int **)((int)g_game->_room + uVar10 * 4 + 0x24); - if (piVar2 != (int *)0x0) { - (**(code **)(*piVar2 + 0x14))(0,&local_9c); - fVar18 = g_vectorZero.y; - fVar19 = g_vectorZero.x; - fVar20 = local_2c; - fVar16 = local_24; + local_8c = fVar20; + local_88 = fVar19; + local_84 = fVar20; + local_80 = fVar19; + if (uVar11 < 0x1c0) { + piVar3 = *(int **)((int)g_game->_room + uVar11 * 4 + 0x24); + if (piVar3 != (int *)0x0) { + (**(code **)(*piVar3 + 0x14))(0,&local_9c); + fVar19 = g_vectorZero.y; + fVar20 = g_vectorZero.x; + fVar21 = local_2c; + fVar17 = local_24; } } local_1c = local_1c + 40.0; - } while (local_1c <= fVar16); - fVar17 = local_38; + } while (local_1c <= fVar17); + fVar18 = local_38; } - local_2c = fVar20 + 40.0; - } while (local_2c <= fVar16); + local_2c = fVar21 + 40.0; + } while (local_2c <= fVar17); } - puVar5 = local_30; - pMVar4 = g_manager; + puVar6 = local_30; + pMVar5 = g_manager; local_34 = (undefined8 *)((int)local_34 + 0xc); local_20 = local_20 + -1; if (local_20 == 0) { local_20 = 0x367; seed_fart_sound_override(); - SoundEffects::Play(&pMVar4->_sfxManager,local_20,1.0,2,0,1.0,0.0); - uVar6 = 0; - pPVar15 = &g_game->_playerManager; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar15->_playerList)._begin >> 2 + SoundEffects::Play(&pMVar5->_sfxManager,local_20,1.0,2,0,1.0,0.0); + uVar7 = 0; + pPVar16 = &g_game->_playerManager; + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar16->_playerList)._begin >> 2 != 0) { do { - if ((int)(pPVar15->_playerList)._end - (int)(pPVar15->_playerList)._begin >> 2 == 0) { + if ((int)(pPVar16->_playerList)._end - (int)(pPVar16->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } Entity_Player::spawn_locusts(); - uVar6 = uVar6 + 1; - pPVar15 = &g_game->_playerManager; - } while (uVar6 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar15->_playerList)._begin >> 2)); + uVar7 = uVar7 + 1; + pPVar16 = &g_game->_playerManager; + } while (uVar7 < (uint)((int)(g_game->_playerManager)._playerList._end - + (int)(pPVar16->_playerList)._begin >> 2)); } - if (puVar5 != (undefined8 *)0x0) { - uVar6 = ((local_3c - (int)puVar5) / 0xc) * 0xc; - puVar14 = puVar5; - if (0xfff < uVar6) { - puVar14 = *(undefined8 **)((int)puVar5 + -4); - uVar6 = uVar6 + 0x23; - if (0x1f < (uint)((int)puVar5 + (-4 - (int)puVar14))) { + if (puVar6 != (undefined8 *)0x0) { + uVar7 = ((local_3c - (int)puVar6) / 0xc) * 0xc; + puVar15 = puVar6; + if (0xfff < uVar7) { + puVar15 = *(undefined8 **)((int)puVar6 + -4); + uVar7 = uVar7 + 0x23; + if (0x1f < (uint)((int)puVar6 + (-4 - (int)puVar15))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(puVar14,uVar6); + operator_delete(puVar15,uVar7); } ExceptionList = local_10; return; @@ -621031,17 +621904,17 @@ void Ambush::Update(void) pGVar4 = g_game; iVar2 = *(int *)((int)g_game->_room + 8); if (iVar2 == 0x11) { - iVar7 = *(int *)&in_ECX->field_0x10 - *(int *)&in_ECX->field_0xc; - iVar11 = *(int *)&in_ECX->field_0x18; + iVar7 = (int)(in_ECX->_bossRushWaves)._end - (int)(in_ECX->_bossRushWaves)._begin; + iVar11 = in_ECX->_maxWaves; iVar10 = iVar7 >> 0x1f; if (iVar7 / 0xc + iVar10 == iVar10) { - *(undefined4 *)&in_ECX->field_0x18 = *(undefined4 *)(in_ECX + 1); + in_ECX->_maxWaves = in_ECX->_currentWave; } } else { iVar11 = (*(int *)(*(int *)(*(int *)((int)g_game->_room + 4) + 0x10) + 0x10) != 1) + 2; } - iVar10 = *(int *)&in_ECX[1].field_0x4; + iVar10 = *(int *)(in_ECX + 1); if (0 < iVar10) { pvVar3 = pGVar4->_room; iVar9 = *(int *)((int)pvVar3 + 0x12c4) + *(int *)((int)pvVar3 + 0x12c0); @@ -621062,7 +621935,7 @@ void Ambush::Update(void) return; } } - if (((iVar10 == 0x1e) && (0 < *(int *)(in_ECX + 1))) && (*(int *)(in_ECX + 1) < iVar11)) { + if (((iVar10 == 0x1e) && (0 < in_ECX->_currentWave)) && (in_ECX->_currentWave < iVar11)) { PlayerManager::trigger_room_clear(); if (iVar2 == 0x11) { PlayerManager::trigger_room_clear(); @@ -621085,14 +621958,13 @@ void Ambush::Update(void) } while (Index < (uint)((int)(g_game->_playerManager)._playerList._end - (int)(g_game->_playerManager)._playerList._begin >> 2)); } - RNG::Next((RNG *)&in_ECX[1].field_0x8); - iVar10 = *(int *)&in_ECX[1].field_0x4; + RNG::Next((RNG *)&in_ECX[1].field_0x4); + iVar10 = *(int *)(in_ECX + 1); } - *(int *)&in_ECX[1].field_0x4 = iVar10 + -1; + *(int *)(in_ECX + 1) = iVar10 + -1; return; } - iVar10 = *(int *)(in_ECX + 1); - if (iVar11 <= iVar10) { + if (iVar11 <= in_ECX->_currentWave) { in_ECX->_isActive = 0; puVar1 = (uint *)(*(int *)((int)pGVar4->_room + 4) + 0x44); *puVar1 = *puVar1 | 8; @@ -621128,8 +622000,8 @@ void Ambush::Update(void) SoundEffects::Play(&pMVar5->_sfxManager,0x24,1.0,2,0,1.0,0.0); return; } - *(undefined4 *)&in_ECX[1].field_0x4 = 0x1e; - *(int *)(in_ECX + 1) = iVar10 + 1; + *(undefined4 *)(in_ECX + 1) = 0x1e; + in_ECX->_currentWave = in_ECX->_currentWave + 1; if (iVar2 == 0x11) { SpawnBossrushWave(in_ECX); return; @@ -622071,9 +622943,12 @@ int * FUN_00835580(int *param_1) } -//@@ 00835620 FUN_00835620 +//@@ 00835620 input_config_save_xml_node -void FUN_00835620(undefined4 param_1,int param_2,char *param_3) +/* DB: ? from input_configs_save: allocates a rapidxml node (FUN_00416510(0x1c)) with "Name" + attribute and "%s-%u" formatted values, appends children */ + +void input_config_save_xml_node(undefined4 param_1,int param_2,char *param_3) { char cVar1; @@ -622193,11 +623068,14 @@ void FUN_00835620(undefined4 param_1,int param_2,char *param_3) } -//@@ 00835820 FUN_00835820 +//@@ 00835820 input_config_load_xml_node /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? from input_configs_load: walks a config node's attributes/children, "Keyboard" device, maps + action names ("Unknown action (%s) found while loading button config", "Unknown action slot + (%d)...", "ActionId is out of range") */ -void FUN_00835820(int param_1) +void input_config_load_xml_node(int param_1) { byte bVar1; @@ -622867,7 +623745,7 @@ LAB_008361e0: for (iVar11 = 0x40; puVar17 = puVar17 + 1, iVar11 != 0; iVar11 = iVar11 + -1) { *puVar17 = 0xffffffff; } - FUN_00835820(iVar7); + input_config_load_xml_node(iVar7); puVar17 = *(undefined4 **)(in_ECX + 4); if (puVar17 == *(undefined4 **)(in_ECX + 8)) { FUN_008367e0(puVar17,local_548); @@ -622986,7 +623864,7 @@ void input_configs_save(void) } while (*pcVar4 != '\0'); *puVar6 = "Controller"; puVar6[2] = pcVar5 + -0xb6d04f; - FUN_00835620(auStack_1045c,puVar6,&puStack_10470); + input_config_save_xml_node(auStack_1045c,puVar6,&puStack_10470); if (puVar3[6] == 0) { puVar6[10] = 0; puVar3[6] = puVar6; @@ -624375,7 +625253,7 @@ void __thiscall GenericPrompt::Initialize(GenericPrompt *this,byte SmallPrompt) local_54._capacity = 0x1f; builtin_strncpy((char *)local_54._buf._0_4_,"gfx/ui/Prompt_YesNo.anm2",0x19); local_14 = 1; - ANM2::Load((ANM2 *)this,&local_54,1); + ANM2::Load(&this->_sprite,&local_54,1); if (local_54._capacity < 0x10) goto LAB_00837a6d; uVar2 = local_54._capacity + 1; pcVar1 = (char *)local_54._buf._0_4_; @@ -624401,7 +625279,7 @@ void __thiscall GenericPrompt::Initialize(GenericPrompt *this,byte SmallPrompt) local_3c._capacity = 0x1f; builtin_strncpy((char *)local_3c._buf._0_4_,"gfx/ui/Prompt_YesNo_Small.anm2",0x1f); local_14 = 0; - ANM2::Load((ANM2 *)this,&local_3c,1); + ANM2::Load(&this->_sprite,&local_3c,1); if (local_3c._capacity < 0x10) goto LAB_00837a6d; uVar2 = local_3c._capacity + 1; pcVar1 = (char *)local_3c._buf._0_4_; @@ -624433,7 +625311,7 @@ void __thiscall GenericPrompt::Update(GenericPrompt *this,byte processInput) { byte *pbVar1; - int iVar2; + void *pvVar2; int iVar3; byte bVar4; byte *pbVar5; @@ -624445,12 +625323,12 @@ void __thiscall GenericPrompt::Update(GenericPrompt *this,byte processInput) if (processInput != 0) { handle_input(); } - if (this->field_0x109 != '\0') { + if ((this->_sprite)._loaded != 0) { AnimationState::Update(); AnimationState::Update(); } - pbVar1 = *(byte **)&this->field_0x34; - if ((pbVar1 != (byte *)0x0) && (this->field_0x44 == '\0')) { + pbVar1 = (this->_sprite)._animState._animData; + if ((pbVar1 != (byte *)0x0) && ((this->_sprite)._animState._isPlaying == 0)) { pbVar5 = pbVar1; if (0xf < *(uint *)(pbVar1 + 0x14)) { pbVar5 = *(byte **)pbVar1; @@ -624497,26 +625375,26 @@ LAB_00837b60: uVar6 = 0; LAB_00837b65: if ((uVar6 != 0) || (pbVar1[0x34] != 0)) { - bVar4 = ANM2::SetAnimation((ANM2 *)this,s_Idle,1); + bVar4 = ANM2::SetAnimation(&this->_sprite,s_Idle,1); if (bVar4 != 0) { - AnimationState::Rewind((AnimationState *)&this->field_0x30); - this->field_0x44 = 1; + AnimationState::Rewind(&(this->_sprite)._animState); + (this->_sprite)._animState._isPlaying = 1; } } } } - if (*(int *)&this->field_0x34 != 0) { - if (*(int *)(*(int *)&this->field_0x30 + 0x80) < 2) { + if ((this->_sprite)._animState._animData != (void *)0x0) { + if (*(int *)((int)(this->_sprite)._animState._animation + 0x80) < 2) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"LayerId out of bounds\n"); } - iVar2 = *(int *)&this->field_0x34; - iVar3 = *(int *)(iVar2 + 0x3c); - if (((iVar2 == 0) || (iVar3 < 0)) || (*(int *)(iVar2 + 0x1c) <= iVar3)) { + pvVar2 = (this->_sprite)._animState._animData; + iVar3 = *(int *)((int)pvVar2 + 0x3c); + if (((pvVar2 == (void *)0x0) || (iVar3 < 0)) || (*(int *)((int)pvVar2 + 0x1c) <= iVar3)) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"id out of bounds\n"); } - *(undefined4 *)(*(int *)&this->field_0x38 + iVar3 * 4) = 0; + *(undefined4 *)((int)(this->_sprite)._animState._layerFrames + iVar3 * 4) = 0; AnimationState::AdvanceLayerPosition(iVar3); } return; @@ -624574,14 +625452,15 @@ void __thiscall GenericPrompt::Render(GenericPrompt *this) puStack_c = &LAB_00b0255d; local_10 = ExceptionList; ExceptionList = &local_10; - if ((*(int *)&this->field_0x34 != 0) && (this->field_0x44 != '\0')) { + if (((this->_sprite)._animState._animData != (void *)0x0) && + ((this->_sprite)._animState._isPlaying != 0)) { local_34 = g_screenWidth * 0.5; local_18 = &g_manager->_font3_TeamMeatEx16; local_14 = &g_manager->_font2_TeamMeatEx12; local_30 = g_screenHeight * 0.5; local_28 = this; - if (this->field_0x109 != '\0') { - if (this->field_0x70 == '\0') { + if ((this->_sprite)._loaded != 0) { + if ((this->_sprite)._overlayRenderFirst == 0) { AnimationState::Render(&local_34,&g_vectorZero,&g_vectorZero); } else { @@ -624589,8 +625468,8 @@ void __thiscall GenericPrompt::Render(GenericPrompt *this) } AnimationState::Render(&local_34,&g_vectorZero,&g_vectorZero); } - if (*(int *)&this->field_0x34 != 0) { - pfVar2 = AnimationState::GetNullFrame((AnimationState *)&this->field_0x30,(byte *)"TextTop"); + if ((this->_sprite)._animState._animData != (void *)0x0) { + pfVar2 = AnimationState::GetNullFrame(&(this->_sprite)._animState,(byte *)"TextTop"); if (pfVar2 != (float *)0x0) { KColor::SetFromARGB(0xff362f2d); pFVar1 = local_18; @@ -624763,7 +625642,7 @@ void __thiscall GenericPrompt::Show(GenericPrompt *this,byte UNK) *(undefined4 *)&this->field_0x12c = 0; *(undefined4 *)&this->field_0x128 = 0; - pbVar1 = *(byte **)&this->field_0x34; + pbVar1 = (this->_sprite)._animState._animData; if (pbVar1 != (byte *)0x0) { pbVar3 = pbVar1; if (0xf < *(uint *)(pbVar1 + 0x14)) { @@ -624787,12 +625666,13 @@ LAB_00838142: } while (bVar2 != 0); uVar4 = 0; LAB_00838147: - if ((uVar4 == 0) && ((pbVar1[0x34] == 0 || (this->field_0x44 != '\0')))) goto LAB_00838173; + if ((uVar4 == 0) && ((pbVar1[0x34] == 0 || ((this->_sprite)._animState._isPlaying != 0)))) + goto LAB_00838173; } - bVar2 = ANM2::SetAnimation((ANM2 *)this,(byte *)"Appear",1); + bVar2 = ANM2::SetAnimation(&this->_sprite,(byte *)"Appear",1); if (bVar2 != 0) { - AnimationState::Rewind((AnimationState *)&this->field_0x30); - this->field_0x44 = 1; + AnimationState::Rewind(&(this->_sprite)._animState); + (this->_sprite)._animState._isPlaying = 1; } LAB_00838173: this->_isOnlineVote = UNK; @@ -626275,18 +627155,17 @@ void BeastArena::init(void) { int *piVar1; - int iVar2; - byte bVar3; - LayerState *pLVar4; + byte bVar2; + LayerState *pLVar3; byte extraout_CL; byte extraout_CL_00; int *in_ECX; - char *pcVar5; - undefined4 uVar6; - uint uVar7; - byte *pbVar8; - ANM2 *pAVar9; - undefined4 uVar10; + char *pcVar4; + int iVar5; + uint uVar6; + byte *pbVar7; + ANM2 *pAVar8; + int iVar9; int *unaff_FS_OFFSET; std_string sStack_3c; uint uStack_24; @@ -626307,7 +627186,7 @@ void BeastArena::init(void) } else { *(undefined1 *)(in_ECX + 0x46) = 1; - iVar2 = (int)register0x00000010 + -4; + iVar5 = (int)register0x00000010 + -4; if (*(char *)((int)in_ECX + 0x10d) == '\0') { sStack_3c._size = 0; sStack_3c._capacity = 0xf; @@ -626322,147 +627201,147 @@ void BeastArena::init(void) uStack_14 = 0; ANM2::Load((ANM2 *)(in_ECX + 1),&sStack_3c,0); uStack_14 = 0xffffffff; - bVar3 = extraout_CL; + bVar2 = extraout_CL; if (0xf < sStack_3c._capacity) { - uVar7 = sStack_3c._capacity + 1; - pcVar5 = (char *)sStack_3c._buf._0_4_; - if (0xfff < uVar7) { - pcVar5 = *(char **)(sStack_3c._buf._0_4_ + -4); - uVar7 = sStack_3c._capacity + 0x24; - if ((char *)0x1f < (char *)(sStack_3c._buf._0_4_ + (-4 - (int)pcVar5))) { + uVar6 = sStack_3c._capacity + 1; + pcVar4 = (char *)sStack_3c._buf._0_4_; + if (0xfff < uVar6) { + pcVar4 = *(char **)(sStack_3c._buf._0_4_ + -4); + uVar6 = sStack_3c._capacity + 0x24; + if ((char *)0x1f < (char *)(sStack_3c._buf._0_4_ + (-4 - (int)pcVar4))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pcVar5,uVar7); - bVar3 = extraout_CL_00; + operator_delete(pcVar4,uVar6); + bVar2 = extraout_CL_00; } in_ECX[0x45] = in_ECX[0x45] | 0x200; - ANM2::LoadGraphics((ANM2 *)(in_ECX + 1),bVar3); - pbVar8 = (byte *)(in_ECX + 7); + ANM2::LoadGraphics((ANM2 *)(in_ECX + 1),bVar2); + pbVar7 = (byte *)(in_ECX + 7); if (0xf < (uint)in_ECX[0xc]) { - pbVar8 = *(byte **)pbVar8; + pbVar7 = *(byte **)pbVar7; } - bVar3 = ANM2::SetAnimation((ANM2 *)(in_ECX + 1),pbVar8,1); - iVar2 = iStack_20; - if (bVar3 != 0) { + bVar2 = ANM2::SetAnimation((ANM2 *)(in_ECX + 1),pbVar7,1); + iVar5 = iStack_20; + if (bVar2 != 0) { AnimationState::Rewind((AnimationState *)(in_ECX + 0xd)); *(undefined1 *)(in_ECX + 0x12) = 1; - iVar2 = iStack_20; + iVar5 = iStack_20; } } - iStack_20 = iVar2; - pbVar8 = (byte *)0x0; + iStack_20 = iVar5; + pbVar7 = (byte *)0x0; if (in_ECX[0x21] != 0) { do { - pLVar4 = ANM2::GetLayer((ANM2 *)(in_ECX + 1),pbVar8); - pbVar8 = pbVar8 + 1; - pLVar4->_wrapSMode = 0; - pLVar4->_wrapTMode = 1; - } while (pbVar8 < (byte *)in_ECX[0x21]); + pLVar3 = ANM2::GetLayer((ANM2 *)(in_ECX + 1),pbVar7); + pbVar7 = pbVar7 + 1; + pLVar3->_wrapSMode = 0; + pLVar3->_wrapTMode = 1; + } while (pbVar7 < (byte *)in_ECX[0x21]); } - pAVar9 = (ANM2 *)(in_ECX + 1); - pLVar4 = ANM2::GetLayer(pAVar9,(byte *)0x0); - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = 1; - *(undefined4 *)&pLVar4->field_0x80 = 0; - *(undefined4 *)&pLVar4->field_0x84 = 1; - *(undefined4 *)&pLVar4->field_0x88 = 0; - pLVar4 = ANM2::GetLayer(pAVar9,(byte *)0x1); - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = 1; - *(undefined4 *)&pLVar4->field_0x80 = 0; - *(undefined4 *)&pLVar4->field_0x84 = 1; - *(undefined4 *)&pLVar4->field_0x88 = 0; - pLVar4 = ANM2::GetLayer(pAVar9,(byte *)0x2); - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = 1; - *(undefined4 *)&pLVar4->field_0x80 = 0; - *(undefined4 *)&pLVar4->field_0x84 = 1; - *(undefined4 *)&pLVar4->field_0x88 = 0; - pLVar4 = ANM2::GetLayer(pAVar9,(byte *)0x3); - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = 1; - *(undefined4 *)&pLVar4->field_0x80 = 0; - *(undefined4 *)&pLVar4->field_0x84 = 1; - *(undefined4 *)&pLVar4->field_0x88 = 0; - pLVar4 = ANM2::GetLayer(pAVar9,&DAT_00000004); - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = 1; - *(undefined4 *)&pLVar4->field_0x80 = 0; - *(undefined4 *)&pLVar4->field_0x84 = 1; - *(undefined4 *)&pLVar4->field_0x88 = 0; - pLVar4 = ANM2::GetLayer(pAVar9,&DAT_00000005); - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = 1; - *(undefined4 *)&pLVar4->field_0x80 = 0; - *(undefined4 *)&pLVar4->field_0x84 = 1; - *(undefined4 *)&pLVar4->field_0x88 = 0; - pLVar4 = ANM2::GetLayer(pAVar9,&DAT_00000006); - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = 1; - *(undefined4 *)&pLVar4->field_0x80 = 0; - *(undefined4 *)&pLVar4->field_0x84 = 1; - *(undefined4 *)&pLVar4->field_0x88 = 0; - pLVar4 = ANM2::GetLayer(pAVar9,&DAT_00000007); - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = 1; - *(undefined4 *)&pLVar4->field_0x80 = 0; - *(undefined4 *)&pLVar4->field_0x84 = 1; - *(undefined4 *)&pLVar4->field_0x88 = 0; - uVar7 = g_graphicsManager_flags; - pLVar4 = ANM2::GetLayer(pAVar9,&DAT_00000008); - uVar10 = 1; - uVar6 = 1; - if ((uVar7 & 4) == 0) { - uVar6 = 6; + pAVar8 = (ANM2 *)(in_ECX + 1); + pLVar3 = ANM2::GetLayer(pAVar8,(byte *)0x0); + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = 1; + pLVar3->_blendMode[2] = 0; + pLVar3->_blendMode[3] = 1; + pLVar3->_blendMode[4] = 0; + pLVar3 = ANM2::GetLayer(pAVar8,(byte *)0x1); + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = 1; + pLVar3->_blendMode[2] = 0; + pLVar3->_blendMode[3] = 1; + pLVar3->_blendMode[4] = 0; + pLVar3 = ANM2::GetLayer(pAVar8,(byte *)0x2); + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = 1; + pLVar3->_blendMode[2] = 0; + pLVar3->_blendMode[3] = 1; + pLVar3->_blendMode[4] = 0; + pLVar3 = ANM2::GetLayer(pAVar8,(byte *)0x3); + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = 1; + pLVar3->_blendMode[2] = 0; + pLVar3->_blendMode[3] = 1; + pLVar3->_blendMode[4] = 0; + pLVar3 = ANM2::GetLayer(pAVar8,&DAT_00000004); + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = 1; + pLVar3->_blendMode[2] = 0; + pLVar3->_blendMode[3] = 1; + pLVar3->_blendMode[4] = 0; + pLVar3 = ANM2::GetLayer(pAVar8,&DAT_00000005); + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = 1; + pLVar3->_blendMode[2] = 0; + pLVar3->_blendMode[3] = 1; + pLVar3->_blendMode[4] = 0; + pLVar3 = ANM2::GetLayer(pAVar8,&DAT_00000006); + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = 1; + pLVar3->_blendMode[2] = 0; + pLVar3->_blendMode[3] = 1; + pLVar3->_blendMode[4] = 0; + pLVar3 = ANM2::GetLayer(pAVar8,&DAT_00000007); + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = 1; + pLVar3->_blendMode[2] = 0; + pLVar3->_blendMode[3] = 1; + pLVar3->_blendMode[4] = 0; + uVar6 = g_graphicsManager_flags; + pLVar3 = ANM2::GetLayer(pAVar8,&DAT_00000008); + iVar9 = 1; + iVar5 = 1; + if ((uVar6 & 4) == 0) { + iVar5 = 6; } - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = uVar6; - *(undefined4 *)&pLVar4->field_0x80 = 7; - *(undefined4 *)&pLVar4->field_0x84 = 1; - *(undefined4 *)&pLVar4->field_0x88 = 7; - pAVar9 = (ANM2 *)(in_ECX + 1); - pLVar4 = ANM2::GetLayer(pAVar9,&DAT_00000009); - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = 1; - *(undefined4 *)&pLVar4->field_0x80 = 0; - *(undefined4 *)&pLVar4->field_0x84 = 1; - *(undefined4 *)&pLVar4->field_0x88 = 0; - pLVar4 = ANM2::GetLayer(pAVar9,(byte *)0xa); - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = 1; - *(undefined4 *)&pLVar4->field_0x80 = 0; - *(undefined4 *)&pLVar4->field_0x84 = 1; - *(undefined4 *)&pLVar4->field_0x88 = 0; - pLVar4 = ANM2::GetLayer(pAVar9,&DAT_0000000b); - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = 1; - *(undefined4 *)&pLVar4->field_0x80 = 0; - *(undefined4 *)&pLVar4->field_0x84 = 1; - *(undefined4 *)&pLVar4->field_0x88 = 0; - pLVar4 = ANM2::GetLayer(pAVar9,(byte *)0xc); - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = 1; - *(undefined4 *)&pLVar4->field_0x80 = 0; - *(undefined4 *)&pLVar4->field_0x84 = 1; - *(undefined4 *)&pLVar4->field_0x88 = 0; - uVar7 = g_graphicsManager_flags; - pLVar4 = ANM2::GetLayer((ANM2 *)(in_ECX + 1),&DAT_0000000d); - if ((uVar7 & 4) == 0) { - uVar10 = 6; + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = iVar5; + pLVar3->_blendMode[2] = 7; + pLVar3->_blendMode[3] = 1; + pLVar3->_blendMode[4] = 7; + pAVar8 = (ANM2 *)(in_ECX + 1); + pLVar3 = ANM2::GetLayer(pAVar8,&DAT_00000009); + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = 1; + pLVar3->_blendMode[2] = 0; + pLVar3->_blendMode[3] = 1; + pLVar3->_blendMode[4] = 0; + pLVar3 = ANM2::GetLayer(pAVar8,(byte *)0xa); + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = 1; + pLVar3->_blendMode[2] = 0; + pLVar3->_blendMode[3] = 1; + pLVar3->_blendMode[4] = 0; + pLVar3 = ANM2::GetLayer(pAVar8,&DAT_0000000b); + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = 1; + pLVar3->_blendMode[2] = 0; + pLVar3->_blendMode[3] = 1; + pLVar3->_blendMode[4] = 0; + pLVar3 = ANM2::GetLayer(pAVar8,(byte *)0xc); + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = 1; + pLVar3->_blendMode[2] = 0; + pLVar3->_blendMode[3] = 1; + pLVar3->_blendMode[4] = 0; + uVar6 = g_graphicsManager_flags; + pLVar3 = ANM2::GetLayer((ANM2 *)(in_ECX + 1),&DAT_0000000d); + if ((uVar6 & 4) == 0) { + iVar9 = 6; } - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = uVar10; - *(undefined4 *)&pLVar4->field_0x80 = 1; - *(undefined4 *)&pLVar4->field_0x84 = 1; - *(undefined4 *)&pLVar4->field_0x88 = 1; - pLVar4 = ANM2::GetLayer((ANM2 *)(in_ECX + 1),&DAT_0000000e); - *(undefined4 *)&pLVar4->field_0x78 = 0; - *(undefined4 *)&pLVar4->field_0x7c = 0; - *(undefined4 *)&pLVar4->field_0x80 = 2; - *(undefined4 *)&pLVar4->field_0x84 = 0; - *(undefined4 *)&pLVar4->field_0x88 = 2; + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = iVar9; + pLVar3->_blendMode[2] = 1; + pLVar3->_blendMode[3] = 1; + pLVar3->_blendMode[4] = 1; + pLVar3 = ANM2::GetLayer((ANM2 *)(in_ECX + 1),&DAT_0000000e); + pLVar3->_blendMode[0] = 0; + pLVar3->_blendMode[1] = 0; + pLVar3->_blendMode[2] = 2; + pLVar3->_blendMode[3] = 0; + pLVar3->_blendMode[4] = 2; in_ECX[0x47] = 0; in_ECX[0x48] = 0; in_ECX[0x49] = 0; @@ -626538,6 +627417,7 @@ void BeastArena::render_light(void) int iVar1; char cVar2; uint uVar3; + LayerState *pLVar4; int *in_ECX; undefined4 extraout_ECX; undefined4 extraout_ECX_00; @@ -626566,7 +627446,7 @@ void BeastArena::render_light(void) g_graphicsManager_blendMode[1] = 6; } g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; iVar1 = *in_ECX; local_2c = (((*(float *)(iVar1 + 0x6ae8) - *(float *)(iVar1 + 0x6ae0)) + 52.0) - 480.0) * 0.5 + *(float *)(iVar1 + 0x11fc) + *(float *)(iVar1 + 0x1204) + @@ -626574,8 +627454,8 @@ void BeastArena::render_light(void) local_1c = (((*(float *)(iVar1 + 0x6aec) - *(float *)(iVar1 + 0x6ae4)) + 52.0) - 270.0) * 0.5 + *(float *)(iVar1 + 0x1200) + *(float *)(iVar1 + 0x1208) + (g_game->_screenShakeOffset).y + 26.0; - ANM2::GetLayer((ANM2 *)(in_ECX + 1),(byte *)0x10); - LayerState::GetTexture(&local_28); + pLVar4 = ANM2::GetLayer((ANM2 *)(in_ECX + 1),(byte *)0x10); + LayerState::GetTexture(pLVar4,&local_28); local_8 = 0; if (local_28 != (int *)0x0) { KColor::SetFromARGB(0xffffffff); @@ -626730,13 +627610,13 @@ void render_beast_arena_background(int param_1) layerName = (byte *)*local_7c; if ((int)layerName < 0) break; pLVar5 = ANM2::GetLayer((ANM2 *)(local_74 + 1),layerName); - g_graphicsManager_blendMode[0] = *(int *)&pLVar5->field_0x78; - g_graphicsManager_blendMode[1] = *(int *)&pLVar5->field_0x7c; - g_graphicsManager_blendMode[2] = *(int *)&pLVar5->field_0x80; - g_graphicsManager_blendMode[3] = *(int *)&pLVar5->field_0x84; - DAT_00c79910 = *(undefined4 *)&pLVar5->field_0x88; - ANM2::GetLayer((ANM2 *)(piVar2 + 1),layerName); - LayerState::GetTexture(&local_40); + g_graphicsManager_blendMode[0] = pLVar5->_blendMode[0]; + g_graphicsManager_blendMode[1] = pLVar5->_blendMode[1]; + g_graphicsManager_blendMode[2] = pLVar5->_blendMode[2]; + g_graphicsManager_blendMode[3] = pLVar5->_blendMode[3]; + g_graphicsManager_blendMode[4] = pLVar5->_blendMode[4]; + pLVar5 = ANM2::GetLayer((ANM2 *)(piVar2 + 1),layerName); + LayerState::GetTexture(pLVar5,&local_40); local_14 = 0; iVar6 = AnimationState::GetLayerFrame(layerName); if (local_40 == (int *)0x0) { @@ -626887,7 +627767,7 @@ LAB_0083a963: } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; } ExceptionList = local_1c; return; @@ -628099,7 +628979,7 @@ void FUN_0083bf90(undefined4 *param_1) puVar1 = *(undefined4 **)(in_ECX + 4); if (puVar1 == *(undefined4 **)(in_ECX + 8)) { - FUN_0083bff0(puVar1,param_1); + std::vector<40byte>::_Emplace_reallocate(puVar1,param_1); return; } *puVar1 = *param_1; @@ -628118,9 +628998,13 @@ void FUN_0083bf90(undefined4 *param_1) } -//@@ 0083bff0 FUN_0083bff0 +//@@ 0083bff0 std::vector<40byte>::_Emplace_reallocate -undefined4 * FUN_0083bff0(undefined4 *param_1,undefined4 *param_2) +/* DB: MSVC vector growth for 0x28-byte elements: max_size 0x6666666, std::_Xlen, 1.5x capacity, + std::_Allocate, copy-constructs the inserted element (KAGE::SmartPointer::operator_assign + members) and moves the old range; caller push_back 0083bf90 */ + +undefined4 * std::vector<40byte>::_Emplace_reallocate(undefined4 *param_1,undefined4 *param_2) { undefined4 *puVar1; @@ -628149,7 +629033,7 @@ undefined4 * FUN_0083bff0(undefined4 *param_1,undefined4 *param_2) iVar12 = (in_ECX[1] - *in_ECX) / 0x28; if (iVar12 == 0x6666666) { /* WARNING: Subroutine does not return */ - std::_Xlen(); + _Xlen(); } uVar7 = iVar12 + 1; uVar9 = (in_ECX[2] - *in_ECX) / 0x28; @@ -628167,7 +629051,7 @@ undefined4 * FUN_0083bff0(undefined4 *param_1,undefined4 *param_2) FUN_0040cee0(); } } - puVar8 = (undefined4 *)std::_Allocate(); + puVar8 = (undefined4 *)_Allocate(); local_8 = 0; puVar1 = puVar8 + (((int)param_1 - iVar2) / 0x28) * 10; *puVar1 = *param_2; @@ -628398,7 +629282,7 @@ byte __thiscall ItemPool::IsPillIdentified(ItemPool *this,uint pillColor) if (uVar2 < 0xe) { uVar1 = uVar2; } - return (&this[1]._pools[1].field_0x4)[uVar1]; + return *(byte *)((int)&this[1]._pools[1]._poolList._begin + uVar1); } @@ -628449,11 +629333,14 @@ void FUN_0083c4c0(void) } -//@@ 0083c5f0 FUN_0083c5f0 +//@@ 0083c5f0 HUD::load_item_info_graphics /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? ECX = HUD+0x5c80 (FUN_009a1970: HUD::LoadGraphics, FUN_009a19a0, then LEA ECX,[ESI+0x5c80]; + same object as HUD::update_item_info 0083c8d0): loads font/TeamMeatEx/TeamMeatEx12.fnt, + gfx/ui/ui_charge_icons.anm2 "ChargeIcon", gfx/ui/minimap_icons.anm2 */ -void FUN_0083c5f0(void) +void HUD::load_item_info_graphics(void) { byte *pbVar1; @@ -628484,7 +629371,7 @@ void FUN_0083c5f0(void) local_3c._capacity = 0x2f; builtin_strncpy((char *)local_3c._buf._0_4_,"font/TeamMeatEx/TeamMeatEx12.fnt",0x21); local_14 = 0; - FUN_009efb60(&local_3c); + RichText::load_font(&local_3c); local_14 = 0xffffffff; if (0xf < local_3c._capacity) { uVar6 = local_3c._capacity + 1; @@ -628898,7 +629785,7 @@ LAB_0083d199: FUN_00840250(&local_f8,pEVar23); local_ec = local_f8 + 0.0; local_e8 = (Manager *)(local_f4 - 12.0); - FontDrawParams::FontDrawParams(&g_manager->_font1_TeamMeatEx10,0,0,&local_ec); + MessagePopup::MessagePopup(&g_manager->_font1_TeamMeatEx10,0,0,&local_ec); local_14 = (char *)0x9; cVar8 = FUN_0083d760(); if (cVar8 == '\0') { @@ -628955,22 +629842,22 @@ LAB_0083d199: local_f0 = (Entity_Pickup *)0xffffffff; if ((in_ECX->_sizeMulti).y != -NAN) { local_f4 = fVar1; - (**(code **)(*(int *)&g_manager[1].field_0x1c9c + 0xc))(); + (**(code **)(*(int *)&g_manager[1]._gamestate.field_0xcf8 + 0xc))(); pfVar20 = (float *)0x0; - piVar5 = *(int **)&local_e8[1].field_0x1c94; + piVar5 = *(int **)&local_e8[1]._gamestate.field_0xcf0; piVar21 = (int *)*piVar5; if (piVar21 != piVar5) { while (pfVar20 = (float *)piVar21[2], *pfVar20 != (in_ECX->_sizeMulti).y) { piVar21 = (int *)*piVar21; if (piVar21 == piVar5) { - (**(code **)(*(int *)&local_e8[1].field_0x1c9c + 0x10))(); + (**(code **)(*(int *)&local_e8[1]._gamestate.field_0xcf8 + 0x10))(); (in_ECX->_sizeMulti).y = -NAN; ExceptionList = local_1c; return; } } } - (**(code **)(*(int *)&local_e8[1].field_0x1c9c + 0x10))(); + (**(code **)(*(int *)&local_e8[1]._gamestate.field_0xcf8 + 0x10))(); if ((pfVar20 != (float *)0x0) && ((int)pfVar20[1] < 3)) { uVar28 = Popup::get_elapsed_ms(); if (((int)((ulonglong)uVar28 >> 0x20) == 0) && ((uint)(float)uVar28 < (uint)pfVar20[0x15]) @@ -631027,10 +631914,10 @@ LAB_0083f460: pfVar9 = (float *)0x0; local_140 = (float)piVar14[1]; fVar22 = 0.0; - local_138.y = (float)&(g_game->_itemPool)._pools[0].field_0x8; + local_138.y = (float)&(g_game->_itemPool)._pools[0]._poolList._end; local_150 = (float *)0x0; do { - pfVar23 = *(float **)((int)local_138.y + -4); + pfVar23 = ((std_vector *)((int)local_138.y + -4))->_begin; while( true ) { if (pfVar23 == *(float **)local_138.y) break; if (*pfVar23 == local_140) { @@ -632123,7 +633010,7 @@ void __thiscall HUD_Message::UpdateTextImage(HUD_Message *this) g_graphicsManager_blendMode[1] = 1; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; HVar3 = *this; local_1c = CONCAT44((float)(*(uint *)((int)this[6] + 0x10) >> 1) + 0.0,(undefined4)local_1c); if (HVar3 != (HUD_Message)0x0) { @@ -632205,13 +633092,14 @@ void HUD_Message::render_text_image(Font *param_1,ushort *param_2,void *param_3, void *pvVar4; undefined4 uVar5; uint uVar6; - undefined *puVar7; - ushort uVar8; - uint uVar9; - double dVar10; + LayerState *pLVar7; + undefined *puVar8; + ushort uVar9; + uint uVar10; + double dVar11; float in_XMM3_Da; int ****local_18c; - int *piVar11; + int *piVar12; int ***local_178 [11]; float local_14c; float local_138; @@ -632314,22 +633202,22 @@ LAB_00841470: do { if (param_1->_isLoaded == 0) { LAB_008415fb: - uVar8 = *local_74; + uVar9 = *local_74; LAB_00841601: local_6c = (int **)0x8; local_64 = (int ****)0x0; local_60 = (int **)0x0; - uVar6 = uVar8 + 1; + uVar6 = uVar9 + 1; local_14 = 0; - uVar9 = uVar6 >> 5 ^ uVar6; - local_5c = (int ***)((uVar6 >> 0xc ^ uVar9) & 7); - local_54 = (int ****)((uVar9 >> 8 ^ uVar9) & 0xffff); + uVar10 = uVar6 >> 5 ^ uVar6; + local_5c = (int ***)((uVar6 >> 0xc ^ uVar10) & 7); + local_54 = (int ****)((uVar10 >> 8 ^ uVar10) & 0xffff); switch(local_5c) { case (int ***)0x0: local_18c = (int ****)0x84166a; - ANM2::GetLayer(&(g_game->_hud)._heartsSprite,(byte *)0x0); + pLVar7 = ANM2::GetLayer(&(g_game->_hud)._heartsSprite,(byte *)0x0); local_18c = (int ****)0x841678; - LayerState::GetTexture(); + LayerState::GetTexture(pLVar7); local_14._0_1_ = 1; local_18c = (int ****)0x841685; KAGE::SmartPointer::operator_assign(); @@ -632346,9 +633234,9 @@ joined_r0x00841934: break; case (int ***)0x1: local_18c = (int ****)0x8416d1; - ANM2::GetLayer(&(g_game->_hud)._chargeBarSprite,(byte *)0x0); + pLVar7 = ANM2::GetLayer(&(g_game->_hud)._chargeBarSprite,(byte *)0x0); local_18c = (int ****)0x8416df; - LayerState::GetTexture(); + LayerState::GetTexture(pLVar7); local_14._0_1_ = 3; local_18c = (int ****)0x8416ec; KAGE::SmartPointer::operator_assign(); @@ -632361,9 +633249,9 @@ joined_r0x00841934: break; case (int ***)0x2: local_18c = (int ****)0x841738; - ANM2::GetLayer(&(g_game->_hud)._pickupHUDSprite,(byte *)0x0); + pLVar7 = ANM2::GetLayer(&(g_game->_hud)._pickupHUDSprite,(byte *)0x0); local_18c = (int ****)0x841746; - LayerState::GetTexture(); + LayerState::GetTexture(pLVar7); local_14._0_1_ = 5; local_18c = (int ****)0x841753; KAGE::SmartPointer::operator_assign(); @@ -632376,9 +633264,9 @@ joined_r0x00841934: break; case (int ***)0x3: local_18c = (int ****)0x84179f; - ANM2::GetLayer(&(g_game->_hud)._cardsPillsSprite,(byte *)0x0); + pLVar7 = ANM2::GetLayer(&(g_game->_hud)._cardsPillsSprite,(byte *)0x0); local_18c = (int ****)0x8417ad; - LayerState::GetTexture(); + LayerState::GetTexture(pLVar7); local_14._0_1_ = 7; local_18c = (int ****)0x8417ba; KAGE::SmartPointer::operator_assign(); @@ -632417,9 +633305,9 @@ joined_r0x00841934: break; case (int ***)0x6: local_18c = (int ****)0x8418be; - ANM2::GetLayer(&(g_game->_hud)._statsSprite,(byte *)0x0); + pLVar7 = ANM2::GetLayer(&(g_game->_hud)._statsSprite,(byte *)0x0); local_18c = (int ****)0x8418cc; - LayerState::GetTexture(); + LayerState::GetTexture(pLVar7); local_14._0_1_ = 0xd; local_18c = (int ****)0x8418d9; KAGE::SmartPointer::operator_assign(); @@ -632483,20 +633371,20 @@ joined_r0x00841934: } local_18c = &local_5c; local_5c = (int ***)0x3f800000; - puVar7 = &DAT_00c79398; + puVar8 = &DAT_00c79398; if ((DAT_00c7939c & 1) == 0) { - puVar7 = g_currentShader; + puVar8 = g_currentShader; } local_54 = (int ****)0x3f800000; - g_currentShader = puVar7; + g_currentShader = puVar8; Shader::set_uniform("Exposure",8); local_18c = (int ****)&local_54; Shader::set_uniform("Gamma",8); } else { - puVar7 = &g_shaders; + puVar8 = &g_shaders; if ((DAT_00c7911c & 1) == 0) { - puVar7 = g_currentShader; + puVar8 = g_currentShader; } local_50 = 0x3f800000; uStack_4c = 0x3f800000; @@ -632505,7 +633393,7 @@ joined_r0x00841934: uStack_30 = 0; uStack_2c = 0; local_18c = (int ****)0x0; - piVar11 = (int *)0x0; + piVar12 = (int *)0x0; local_28 = 0; local_5c = (int ***)local_60; local_54 = local_64; @@ -632513,10 +633401,10 @@ joined_r0x00841934: uStack_3c = 0; uStack_38 = 0; uStack_34 = 0; - g_currentShader = puVar7; + g_currentShader = puVar8; if ((local_60 != (int **)0x0) && (cVar2 = (*(code *)(*local_60)[1])(), cVar2 != '\0')) { - if ((piVar11 != (int *)0x0) && - ((cVar2 = (**(code **)(*piVar11 + 0xc))(), cVar2 != '\0' && + if ((piVar12 != (int *)0x0) && + ((cVar2 = (**(code **)(*piVar12 + 0xc))(), cVar2 != '\0' && (g_imageReleaseFn != (void *)0x0)))) { (*g_imageReleaseFn)(&local_18c); } @@ -632551,9 +633439,9 @@ LAB_00841bda: } if (iVar3 == -1) goto LAB_008415fb; local_6c = (int **)(int)*(short *)((int)param_1->_chars + iVar3 * 0x14 + 0x10); - uVar8 = *local_74; + uVar9 = *local_74; if (local_6c == (int **)0x0) goto LAB_00841601; - local_70 = (int **)(uint)uVar8; + local_70 = (int **)(uint)uVar9; local_40 = (int ***)0x0; uStack_3c = 0xffff; uStack_38 = 0; @@ -632573,10 +633461,10 @@ LAB_00841bda: } local_14 = 0xffffffff; iVar3 = (int)local_6c >> 0x1f; - dVar10 = (double)(int)local_6c; + dVar11 = (double)(int)local_6c; local_74 = local_74 + 1; local_6c = (int **)(uint)*local_74; - local_58 = (ushort *)((float)(dVar10 + __uint_to_double_fixup[-iVar3]) + (float)local_58); + local_58 = (ushort *)((float)(dVar11 + __uint_to_double_fixup[-iVar3]) + (float)local_58); } while (*local_74 != 0); } ExceptionList = local_1c; @@ -633097,7 +633985,8 @@ void __thiscall PlayerHUD::Update(PlayerHUD *this) iVar25 = 0x70; pEVar29 = (Entity_Player *)pEVar26->_subPlayer; } - UpdateHearts(this,(void *)((int)&this->_player + iVar25),iVar19,pEVar29); + UpdateHearts(this,(void *)((int)&((PlayerHUD *)(this->_activeItem + -0x14))->_player + iVar25), + iVar19,pEVar29); iVar19 = pEVar26->_boneHearts; iVar25 = pEVar26->_soulHearts; iVar1 = pEVar26->_eternalHearts; @@ -633126,10 +634015,10 @@ LAB_00842394: do { pEVar26 = local_1444; local_1448 = (int *)((int)local_1434 * 7); - if (-1 < *(int *)(&this->field_0x1a8 + (int)local_1434 * 0x1c)) { + iVar19 = *(int *)((int)this->_activeItem + (int)local_1434 * 0x1c + 0x18); + if (-1 < iVar19) { local_1429 = '\x01'; - *(int *)(&this->field_0x1a8 + (int)local_1434 * 0x1c) = - *(int *)(&this->field_0x1a8 + (int)local_1434 * 0x1c) + -1; + *(int *)((int)this->_activeItem + (int)local_1434 * 0x1c + 0x18) = iVar19 + -1; } local_1430 = (Entity_Player *)0x0; uVar28 = local_1444->_activeDesc[(int)local_1434]._item; @@ -633149,8 +634038,8 @@ LAB_00842394: } pMVar5 = g_manager; pGVar4 = g_game; - if (uVar28 != *(uint *)(&local_1440->field_0x190 + (int)local_1448 * 4)) { - *(uint *)(&local_1440->field_0x190 + (int)local_1448 * 4) = uVar28; + if (uVar28 != *(uint *)(&local_1440->_activeItem[0].field_0x0 + (int)local_1448 * 4)) { + *(uint *)(&local_1440->_activeItem[0].field_0x0 + (int)local_1448 * 4) = uVar28; if (pGVar4 == (Game *)0x0) { if (-1 < (int)uVar28) goto LAB_008424db; LAB_008424f5: @@ -633170,7 +634059,7 @@ LAB_008424db: goto LAB_008424f5; iVar19 = *(int *)((int)pvVar24 + uVar28 * 4); } - local_1438 = (Entity_Player *)(&local_1440->field_0x198 + (int)local_1448 * 4); + local_1438 = (Entity_Player *)(&local_1440->_activeItem[0].field_0x8 + (int)local_1448 * 4); KAGE::SmartPointer::reset(0); if (iVar19 != 0) { if ((int)uVar28 < 0x123) { @@ -633432,17 +634321,17 @@ switchD_00842623_caseD_147: } pPVar23 = local_1440; piVar16 = local_1448; - if (local_1430 != (Entity_Player *)*(int *)(&local_1440->field_0x194 + (int)local_1448 * 4)) { - *(Entity_Player **)(&local_1440->field_0x194 + (int)local_1448 * 4) = local_1430; - puVar11 = (undefined4 *)(&local_1440->field_0x1a0 + (int)local_1448 * 4); + if (local_1430 != (Entity_Player *)(&local_1440->_activeItem[0]._bookItemId)[(int)local_1448]) { + (&local_1440->_activeItem[0]._bookItemId)[(int)local_1448] = (int)local_1430; + puVar11 = &local_1440->_activeItem[0]._bookImage + (int)local_1448; if (local_1430 == (Entity_Player *)0x248) { uVar10 = Manager::LoadImage(local_14c8,"gfx/ui/hud_BookOfVirtues.png"); local_14 = 3; puVar12 = (undefined4 *)KAGE::SmartPointer::operator_assign(uVar10); uVar10 = puVar12[1]; - puVar12[1] = *(undefined4 *)(&pPVar23->field_0x1a4 + (int)piVar16 * 4); + puVar12[1] = *(undefined4 *)(&pPVar23->_activeItem[1].field_0x0 + (int)piVar16 * 4); uVar3 = *puVar11; - *(undefined4 *)(&pPVar23->field_0x1a4 + (int)piVar16 * 4) = uVar10; + *(undefined4 *)(&pPVar23->_activeItem[1].field_0x0 + (int)piVar16 * 4) = uVar10; uVar10 = *puVar12; *puVar12 = uVar3; *puVar11 = uVar10; @@ -633464,9 +634353,9 @@ switchD_00842623_caseD_147: local_14 = 6; puVar12 = (undefined4 *)KAGE::SmartPointer::operator_assign(uVar10); uVar10 = puVar12[1]; - puVar12[1] = *(undefined4 *)(&pPVar23->field_0x1a4 + (int)piVar16 * 4); + puVar12[1] = *(undefined4 *)(&pPVar23->_activeItem[1].field_0x0 + (int)piVar16 * 4); uVar3 = *puVar11; - *(undefined4 *)(&pPVar23->field_0x1a4 + (int)piVar16 * 4) = uVar10; + *(undefined4 *)(&pPVar23->_activeItem[1].field_0x0 + (int)piVar16 * 4) = uVar10; uVar10 = *puVar12; *puVar12 = uVar3; *puVar11 = uVar10; @@ -633488,9 +634377,9 @@ switchD_00842623_caseD_147: local_14 = 9; puVar12 = (undefined4 *)KAGE::SmartPointer::operator_assign(uVar10); uVar10 = puVar12[1]; - puVar12[1] = *(undefined4 *)(&pPVar23->field_0x1a4 + (int)piVar16 * 4); + puVar12[1] = *(undefined4 *)(&pPVar23->_activeItem[1].field_0x0 + (int)piVar16 * 4); uVar3 = *puVar11; - *(undefined4 *)(&pPVar23->field_0x1a4 + (int)piVar16 * 4) = uVar10; + *(undefined4 *)(&pPVar23->_activeItem[1].field_0x0 + (int)piVar16 * 4) = uVar10; uVar10 = *puVar12; *puVar12 = uVar3; *puVar11 = uVar10; @@ -634421,7 +635310,7 @@ LAB_00844077: local_b8 = 0x50; } local_d4.y = (float)(local_cc * 0x10); - if ((&local_a4->field_0x10)[(int)local_d4.y] != '\0') { + if (*(char *)((int)local_a4->_activeItem + ((int)local_d4.y - 0x180U)) != '\0') { local_dc = (float)(local_cc % 6); fVar23 = (float)(local_cc / 6); uVar16 = (uint)local_dc; @@ -634439,7 +635328,8 @@ LAB_00844077: local_c0.y = (float)(int)fVar23 * local_b4 * fVar19 + pos.y; local_c0.x = (float)(int)local_dc * fVar21 * fVar19 + pos.x; local_b0 = uVar16; - bVar6 = ANM2::SetAnimation(local_d8,*(byte **)(&local_a4->field_0x18 + (int)local_d4.y),1); + bVar6 = ANM2::SetAnimation(local_d8,*(byte **)((int)local_a4->_activeItem + + ((int)local_d4.y - 0x178U)),1); if (((bVar6 != 0) && ((this_00->_animState)._animData != (void *)0x0)) && (AnimationState::SetFrameFloat(&this_00->_animState), (this_00->_animState)._animData != (void *)0x0)) { @@ -634504,9 +635394,9 @@ LAB_00844077: _DAT_00c82760 = 0; _Init_thread_footer(&DAT_00c82680); } - uVar16 = (uint)(byte)(&pPVar5->field_0x14)[(int)local_d4.y]; + uVar16 = (uint)*(byte *)((int)(pPVar5->_activeItem + -0x13) + (int)local_d4.y); if ((pPVar5->_goldHeartFlashCountdown == 0) || - ((&pPVar5->field_0x12)[(int)local_d4.y] == '\0')) { + (*(char *)((int)pPVar5->_activeItem + ((int)local_d4.y - 0x17eU)) == '\0')) { if (uVar16 != 0) goto LAB_00844425; pCVar17 = &this_00->_color; fVar19 = 0.0; @@ -634584,7 +635474,7 @@ LAB_008445d9: LAB_008445e0: local_ac = (float)(int)local_b8; pCVar17 = &this_00->_color; - if ((&local_a4->field_0x13)[(int)local_d4.y] != '\0') { + if (*(char *)((int)local_a4->_activeItem + ((int)local_d4.y - 0x17dU)) != '\0') { fVar19 = ((float)g_game->_frameCount * 3.1415927) / 30.0; sin(); local_48 = (this_00->_color)._offset[2]; @@ -634646,8 +635536,9 @@ LAB_008445e0: } AnimationState::Render(&local_c0,&g_vectorZero,&g_vectorZero); } - if ((&local_a4->field_0x11)[(int)local_d4.y] != '\0') { - bVar6 = ANM2::SetAnimation(this_00,*(byte **)(&local_a4->field_0x1c + (int)local_d4.y),1); + if (*(char *)((int)local_a4->_activeItem + ((int)local_d4.y - 0x17fU)) != '\0') { + bVar6 = ANM2::SetAnimation(this_00,*(byte **)((int)local_a4->_activeItem + + ((int)local_d4.y - 0x174U)),1); if (((bVar6 != 0) && ((this_00->_animState)._animData != (void *)0x0)) && (AnimationState::SetFrameFloat(&this_00->_animState), (this_00->_animState)._animData != (void *)0x0)) { @@ -634695,7 +635586,7 @@ LAB_00844877: (this_00->_color)._colorize[3] = 0.0; } } - if ((&local_a4->field_0x13)[(int)local_d4.y] != '\0') { + if (*(char *)((int)local_a4->_activeItem + ((int)local_d4.y - 0x17dU)) != '\0') { fVar19 = ((float)g_game->_frameCount * 3.1415927) / 30.0; sin(); local_48 = (this_00->_color)._offset[2]; @@ -634791,8 +635682,8 @@ LAB_00844877: (pAVar18->_color)._offset[2] = 0.0; } } - if (((&pPVar5->field_0x10)[local_b8 * 0x10] != '\0') && - ((&pPVar5->field_0x12)[local_b8 * 0x10] != '\0')) { + if ((*(char *)((int)pPVar5->_activeItem + local_b8 * 0x10 + -0x180) != '\0') && + (*(char *)((int)pPVar5->_activeItem + local_b8 * 0x10 + -0x17e) != '\0')) { fVar19 = local_a8; if (local_9d != '\0') { fVar19 = -local_a8; @@ -635050,18 +635941,17 @@ PlayerHUD::RenderActiveItem { Entity_Player *pEVar1; - undefined1 *puVar2; - PlayerHUD *pPVar3; + PlayerHUD *pPVar2; + byte bVar3; byte bVar4; - byte bVar5; - char cVar6; - undefined *puVar7; - int iVar8; - undefined4 *puVar9; - float *pfVar10; - void *pvVar11; - uint uVar12; - int iVar13; + char cVar5; + undefined *puVar6; + int iVar7; + undefined4 *puVar8; + float *pfVar9; + void *pvVar10; + uint uVar11; + int iVar12; undefined4 extraout_ECX; undefined4 extraout_ECX_00; int extraout_ECX_01; @@ -635069,22 +635959,22 @@ PlayerHUD::RenderActiveItem undefined4 extraout_ECX_03; int extraout_ECX_04; undefined4 extraout_ECX_05; - Manager *pMVar14; + Manager *pMVar13; undefined1 *extraout_EDX; - ANM2 *pAVar15; - float *pfVar16; + ANM2 *pAVar14; + float *pfVar15; char *anim; - bool bVar17; - float fVar18; + bool bVar16; + float fVar17; + undefined1 auVar18 [12]; undefined1 auVar19 [12]; - undefined1 auVar20 [12]; - float fVar21; - undefined1 *puVar22; + float fVar20; + undefined1 *puVar21; + float fVar22; float fVar23; float fVar24; - float fVar25; - undefined8 uVar26; - double dVar27; + undefined8 uVar25; + double dVar26; undefined4 local_1e4; undefined4 uStack_1e0; undefined4 uStack_1dc; @@ -635187,7 +636077,7 @@ PlayerHUD::RenderActiveItem if (pEVar1->_isCoopGhost != 0) { return; } - pMVar14 = g_manager; + pMVar13 = g_manager; local_88 = pEVar1; local_84 = this; if (g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) { @@ -635195,21 +636085,21 @@ LAB_00845448: local_7d = '\0'; } else { - uVar26 = FUN_009a84c0(); - pMVar14 = (Manager *)((ulonglong)uVar26 >> 0x20); - if ((((int)uVar26 != 1) || (local_84->_playerHudIndex == 0)) || + uVar25 = FUN_009a84c0(); + pMVar13 = (Manager *)((ulonglong)uVar25 >> 0x20); + if ((((int)uVar25 != 1) || (local_84->_playerHudIndex == 0)) || (local_7d = '\x01', local_84->_playerHudIndex == 4)) goto LAB_00845448; } if (3 < activeSlot) goto LAB_00846e5f; - iVar13 = 0x388c; - puVar22 = (undefined1 *)pEVar1->_activeDesc[activeSlot]._item; + iVar12 = 0x388c; + puVar21 = (undefined1 *)pEVar1->_activeDesc[activeSlot]._item; if (local_7d == '\0') { - iVar13 = 0x3778; + iVar12 = 0x3778; } - local_a8 = (ANM2 *)((int)local_84->_HUD + iVar13); - local_c4 = puVar22; - if (puVar22 == (undefined1 *)0x0) goto LAB_00846e5f; - local_11c = ItemConfig::GetCollectible(&pMVar14->_itemConfig,(int)puVar22); + local_a8 = (ANM2 *)((int)local_84->_HUD + iVar12); + local_c4 = puVar21; + if (puVar21 == (undefined1 *)0x0) goto LAB_00846e5f; + local_11c = ItemConfig::GetCollectible(&pMVar13->_itemConfig,(int)puVar21); local_8c = (float)pEVar1->_activeDesc[(int)local_90]._charge; local_9c = (float)pEVar1->_activeDesc[(int)local_90]._batteryCharge; local_a0 = (float)Entity_Player::GetActiveMaxCharge(pEVar1,(int)local_90); @@ -635226,17 +636116,17 @@ LAB_00845502: } local_dc = (int)local_90 * 0x20; local_19c = (float)pEVar1->_activeDesc[(int)local_90]._partialCharge; - uVar26 = FUN_007308d0(); - local_d8 = (float)uVar26; - if ((g_game->_challenge == 0x2c) && (puVar22 == (undefined1 *)0x244)) { - local_a0 = *(float *)((int)&pEVar1->_activeDesc[0]._varData + (int)((ulonglong)uVar26 >> 0x20)); - iVar13 = TemporaryEffects::GetNullEffectNum(&pEVar1->_temporaryeffects,0x6d); + uVar25 = FUN_007308d0(); + local_d8 = (float)uVar25; + if ((g_game->_challenge == 0x2c) && (puVar21 == (undefined1 *)0x244)) { + local_a0 = *(float *)((int)&pEVar1->_activeDesc[0]._varData + (int)((ulonglong)uVar25 >> 0x20)); + iVar12 = TemporaryEffects::GetNullEffectNum(&pEVar1->_temporaryeffects,0x6d); local_9c = 0.0; local_f4 = 0; local_d8 = 2.8026e-45; local_8c = 0.0; - if (0 < (int)local_a0 - iVar13) { - local_8c = (float)((int)local_a0 - iVar13); + if (0 < (int)local_a0 - iVar12) { + local_8c = (float)((int)local_a0 - iVar12); } } local_a4 = (int)local_90 * 7; @@ -635255,25 +636145,25 @@ LAB_00845502: } local_d0 = local_d0 * size; local_b0 = 3.0; - if ((*(int *)(&local_84->field_0x198 + (int)local_90 * 0x1c) == 0) && - (*(int *)(&local_84->field_0x1a0 + (int)local_90 * 0x1c) == 0)) { + if ((*(int *)((int)local_84->_activeItem + (int)local_90 * 0x1c + 8) == 0) && + (*(int *)((int)local_84->_activeItem + (int)local_90 * 0x1c + 0x10) == 0)) { local_d4 = local_c4; local_f8 = local_a8; - pAVar15 = local_a8; - if (*(int *)(&local_84->field_0x190 + (int)local_90 * 0x1c) < 0) goto LAB_008456d5; + pAVar14 = local_a8; + if (*(int *)((int)local_84->_activeItem + (int)local_90 * 0x1c) < 0) goto LAB_008456d5; goto LAB_008465f5; } LAB_008456d5: local_c8 = (g_game->_screenShakeOffset).x; local_cc = (g_game->_screenShakeOffset).y; - puVar7 = &g_shaders; + puVar6 = &g_shaders; if ((DAT_00c7911c & 1) == 0) { - puVar7 = g_currentShader; + puVar6 = g_currentShader; } local_78.x = g_vectorZero.x; local_b4 = (ANM2 *)g_vectorZero.y; local_78.y = g_vectorZero.y; - g_currentShader = puVar7; + g_currentShader = puVar6; FUN_00a11080(); FUN_00a11080(); KColor::SetFromARGB(); @@ -635286,27 +636176,27 @@ LAB_008457b5: } else { pEVar1 = local_84->_player; - iVar13 = Entity_Player::GetActiveMaxCharge(pEVar1,(int)local_90); - iVar8 = Entity_Player::GetTotalActiveCharge(pEVar1,(int)local_90); - if ((iVar8 < iVar13) || (local_6d = '\x01', alpha < 1.0)) goto LAB_008457b5; + iVar12 = Entity_Player::GetActiveMaxCharge(pEVar1,(int)local_90); + iVar7 = Entity_Player::GetTotalActiveCharge(pEVar1,(int)local_90); + if ((iVar7 < iVar12) || (local_6d = '\x01', alpha < 1.0)) goto LAB_008457b5; } if ((int)local_c4 < 0x281) { if (local_c4 == (undefined1 *)0x280) { - iVar13 = local_88->_urnSouls; - if (0x14 < iVar13) { - iVar13 = 0x14; + iVar12 = local_88->_urnSouls; + if (0x14 < iVar12) { + iVar12 = 0x14; } - pvVar11 = local_88->_weapons[0]; - local_78.x = (float)iVar13 * 32.0; - if (pvVar11 == (void *)0x0) { + pvVar10 = local_88->_weapons[0]; + local_78.x = (float)iVar12 * 32.0; + if (pvVar10 == (void *)0x0) { if (local_88->_weapons[1] != (void *)0x0) { - pvVar11 = local_88->_weapons[1]; + pvVar10 = local_88->_weapons[1]; goto LAB_0084599d; } } else { LAB_0084599d: - if (*(int *)((int)pvVar11 + 0x30) == 0xc) { + if (*(int *)((int)pvVar10 + 0x30) == 0xc) { local_78.y = (float)local_b4 + 32.0; } } @@ -635317,40 +636207,40 @@ LAB_0084599d: switch(local_c4) { case (undefined1 *)0x122: local_b4 = (ANM2 *)((float)local_88->_jarHearts * 0.5); - dVar27 = ceil((double)(float)local_b4); - local_b4 = (ANM2 *)(float)dVar27; - iVar8 = (int)dVar27; - if (10 < iVar8) { - iVar8 = 10; + dVar26 = ceil((double)(float)local_b4); + local_b4 = (ANM2 *)(float)dVar26; + iVar7 = (int)dVar26; + if (10 < iVar7) { + iVar7 = 10; } goto LAB_00845864; default: goto switchD_008457ef_caseD_123; case (undefined1 *)0x1a6: - iVar13 = 3 - *(int *)((int)&local_88->_activeDesc[0]._varData + local_dc); - iVar8 = 7; - if (iVar13 < 7) { - iVar8 = iVar13; + iVar12 = 3 - *(int *)((int)&local_88->_activeDesc[0]._varData + local_dc); + iVar7 = 7; + if (iVar12 < 7) { + iVar7 = iVar12; } - iVar13 = 0; - if (0 < iVar8) { - iVar13 = iVar8; + iVar12 = 0; + if (0 < iVar7) { + iVar12 = iVar7; } break; case (undefined1 *)0x1b2: - iVar13 = local_88->_jarFlies; - if (0x14 < iVar13) { - iVar13 = 0x14; + iVar12 = local_88->_jarFlies; + if (0x14 < iVar12) { + iVar12 = 0x14; } - iVar8 = iVar13 % 0xb; - local_78.y = (float)(iVar13 / 0xb) * 32.0; + iVar7 = iVar12 % 0xb; + local_78.y = (float)(iVar12 / 0xb) * 32.0; LAB_00845864: - local_78.x = (float)iVar8 * 32.0; + local_78.x = (float)iVar7 * 32.0; local_bc = (undefined1 *)0xc0a00000; local_c0 = -10.0; goto LAB_00845b82; case (undefined1 *)0x1e9: - iVar13 = (int)*(short *)((int)&local_88->_activeDesc[0]._varData + local_dc + 2); + iVar12 = (int)*(short *)((int)&local_88->_activeDesc[0]._varData + local_dc + 2); break; case (undefined1 *)0x20b: if ((local_88->_movingBoxContents)._begin != (local_88->_movingBoxContents)._end) { @@ -635359,52 +636249,52 @@ LAB_00845864: goto LAB_00845b82; } LAB_00845919: - local_78.x = (float)iVar13 * 32.0; + local_78.x = (float)iVar12 * 32.0; } else { switch(local_c4) { case (undefined1 *)0x2ad: local_bc = &DAT_bf800000; - iVar13 = *(int *)((int)&local_88->_activeDesc[0]._varData + local_dc); - if (0xc < iVar13) { - iVar13 = 0xc; + iVar12 = *(int *)((int)&local_88->_activeDesc[0]._varData + local_dc); + if (0xc < iVar12) { + iVar12 = 0xc; } - local_78.x = (float)iVar13 * 32.0; + local_78.x = (float)iVar12 * 32.0; local_c0 = -8.0; break; case (undefined1 *)0x2c6: if (local_90 == 2.8026e-45) goto switchD_008457ef_caseD_123; - bVar17 = local_88->_bagOfCraftingContent[0] != 0; - bVar5 = bVar17 + 1; + bVar16 = local_88->_bagOfCraftingContent[0] != 0; + bVar4 = bVar16 + 1; if (local_88->_bagOfCraftingContent[1] == 0) { - bVar5 = bVar17; + bVar4 = bVar16; } - bVar4 = bVar5 + 1; + bVar3 = bVar4 + 1; if (local_88->_bagOfCraftingContent[2] == 0) { - bVar4 = bVar5; + bVar3 = bVar4; } - bVar5 = bVar4 + 1; + bVar4 = bVar3 + 1; if (local_88->_bagOfCraftingContent[3] == 0) { - bVar5 = bVar4; + bVar4 = bVar3; } - bVar4 = bVar5 + 1; + bVar3 = bVar4 + 1; if (local_88->_bagOfCraftingContent[4] == 0) { - bVar4 = bVar5; + bVar3 = bVar4; } - bVar5 = bVar4 + 1; + bVar4 = bVar3 + 1; if (local_88->_bagOfCraftingContent[5] == 0) { - bVar5 = bVar4; + bVar4 = bVar3; } - bVar4 = bVar5 + 1; + bVar3 = bVar4 + 1; if (local_88->_bagOfCraftingContent[6] == 0) { - bVar4 = bVar5; + bVar3 = bVar4; } - bVar5 = bVar4 + 1; + bVar4 = bVar3 + 1; if (local_88->_bagOfCraftingContent[7] == 0) { - bVar5 = bVar4; + bVar4 = bVar3; } - local_6d = bVar5 == 8; - local_78.x = (float)bVar5 * 32.0; + local_6d = bVar4 == 8; + local_78.x = (float)bVar4 * 32.0; break; case (undefined1 *)0x2c7: if (local_88->_playerType == 0x26) { @@ -635416,60 +636306,60 @@ LAB_00845919: break; case (undefined1 *)0x2cb: if (*(int *)((int)&local_88->_activeDesc[0]._varData + local_dc) != 0) { - fVar21 = local_d0 * g_vectorOne.y; - pvVar11 = local_84->_HUD; - *(float *)((int)pvVar11 + 0x58b4) = local_d0 * g_vectorOne.x; - *(float *)((int)pvVar11 + 0x58b8) = fVar21; + fVar20 = local_d0 * g_vectorOne.y; + pvVar10 = local_84->_HUD; + *(float *)((int)pvVar10 + 0x58b4) = local_d0 * g_vectorOne.x; + *(float *)((int)pvVar10 + 0x58b8) = fVar20; ANM2::SetFrame((ANM2 *)((int)local_84->_HUD + 0x5818),(std_string *)"IdleSmall", *(int *)((int)&local_88->_activeDesc[0]._varData + local_dc)); - pPVar3 = local_84; + pPVar2 = local_84; local_108 = local_d0 * 16.0 + local_ac; local_104 = local_d0 * 21.0 + local_7c; Sprite::RenderLayer((Sprite *)((int)local_84->_HUD + 0x5818),1,&local_108,&g_vectorZero, &g_vectorZero); - pvVar11 = pPVar3->_HUD; - *(float *)((int)pvVar11 + 0x58b4) = g_vectorOne.x; - *(float *)((int)pvVar11 + 0x58b8) = g_vectorOne.y; + pvVar10 = pPVar2->_HUD; + *(float *)((int)pvVar10 + 0x58b4) = g_vectorOne.x; + *(float *)((int)pvVar10 + 0x58b8) = g_vectorOne.y; } default: switchD_008457ef_caseD_123: break; case (undefined1 *)0x2d0: - iVar8 = local_100 + local_fc + (int)local_9c + (int)local_8c; - iVar13 = 0xc; - if (iVar8 < 0xc) { - iVar13 = iVar8; + iVar7 = local_100 + local_fc + (int)local_9c + (int)local_8c; + iVar12 = 0xc; + if (iVar7 < 0xc) { + iVar12 = iVar7; } - iVar13 = iVar13 + 1; + iVar12 = iVar12 + 1; goto LAB_00845919; } } LAB_00845b82: - puVar22 = &DAT_42000000; - if (*(int *)(&local_84->field_0x1a0 + local_a4 * 4) != 0) { + puVar21 = &DAT_42000000; + if ((&local_84->_activeItem[0]._bookImage)[local_a4] != 0) { local_ac = local_ac + 0.0; local_7c = local_7c + 3.0; } - puVar9 = (undefined4 *)quad_set_rect(&local_78,&local_110,local_a4); - local_1c0 = *puVar9; - uStack_1bc = puVar9[1]; - uStack_1b8 = puVar9[2]; - uStack_1b4 = puVar9[3]; - local_1b0 = puVar9[4]; - uStack_1ac = puVar9[5]; - uStack_1a8 = puVar9[6]; - uStack_1a4 = puVar9[7]; - local_1a0 = puVar9[8]; - puVar9 = (undefined4 *)quad_set_rect(&g_vectorZero,&local_110,extraout_ECX); - local_1e4 = *puVar9; - uStack_1e0 = puVar9[1]; - uStack_1dc = puVar9[2]; - uStack_1d8 = puVar9[3]; - local_1d4 = puVar9[4]; - uStack_1d0 = puVar9[5]; - uStack_1cc = puVar9[6]; - uStack_1c8 = puVar9[7]; - local_1c4 = puVar9[8]; + puVar8 = (undefined4 *)quad_set_rect(&local_78,&local_110,local_a4); + local_1c0 = *puVar8; + uStack_1bc = puVar8[1]; + uStack_1b8 = puVar8[2]; + uStack_1b4 = puVar8[3]; + local_1b0 = puVar8[4]; + uStack_1ac = puVar8[5]; + uStack_1a8 = puVar8[6]; + uStack_1a4 = puVar8[7]; + local_1a0 = puVar8[8]; + puVar8 = (undefined4 *)quad_set_rect(&g_vectorZero,&local_110,extraout_ECX); + local_1e4 = *puVar8; + uStack_1e0 = puVar8[1]; + uStack_1dc = puVar8[2]; + uStack_1d8 = puVar8[3]; + local_1d4 = puVar8[4]; + uStack_1d0 = puVar8[5]; + uStack_1cc = puVar8[6]; + uStack_1c8 = puVar8[7]; + local_1c4 = puVar8[8]; local_5c = 0.0; fStack_58 = 0.0; fStack_54 = 0.0; @@ -635482,30 +636372,30 @@ LAB_00845b82: local_48 = 0.0; local_44 = 0; KColor::SetFromARGB(); - local_118 = local_d0 * (float)puVar22; - uVar26 = CONCAT44(extraout_ECX_00,&local_108); + local_118 = local_d0 * (float)puVar21; + uVar25 = CONCAT44(extraout_ECX_00,&local_108); local_b8 = local_d0 + local_d0 + local_ac + local_c8; local_b4 = (ANM2 *)(local_7c + local_d0 + local_d0 + local_cc); local_108 = local_118; local_104 = local_118; - pfVar10 = (float *)render_quad_set_rect(&local_b8,&local_108,extraout_ECX_00); - iVar13 = local_a4; - pfVar16 = local_198; - for (iVar8 = 0x1c; iVar8 != 0; iVar8 = iVar8 + -1) { - *pfVar16 = *pfVar10; - pfVar10 = pfVar10 + 1; - pfVar16 = pfVar16 + 1; + pfVar9 = (float *)render_quad_set_rect(&local_b8,&local_108,extraout_ECX_00); + iVar12 = local_a4; + pfVar15 = local_198; + for (iVar7 = 0x1c; iVar7 != 0; iVar7 = iVar7 + -1) { + *pfVar15 = *pfVar9; + pfVar9 = pfVar9 + 1; + pfVar15 = pfVar15 + 1; } - puVar22 = &local_84->field_0x1a0; - if (*(int *)(&local_84->field_0x1a0 + iVar13 * 4) != 0) { - KAGE::SmartPointer::operator_assign(puVar22 + iVar13 * 4); - apply_sprite_shader_params(1,uVar26); + puVar8 = &local_84->_activeItem[0]._bookImage + iVar12; + if ((&local_84->_activeItem[0]._bookImage)[iVar12] != 0) { + KAGE::SmartPointer::operator_assign(puVar8); + apply_sprite_shader_params(1,uVar25); local_e0 = 0; local_f0 = local_6c; uStack_ec = uStack_68; fStack_e8 = fStack_64; fStack_e4 = fStack_60; - (**(code **)(**(int **)(puVar22 + iVar13 * 4) + 0x14))(&local_1e4,local_198); + (**(code **)(*(int *)*puVar8 + 0x14))(&local_1e4,local_198); local_198[0] = (float)local_bc + local_198[0]; local_198[1] = local_c0 + local_198[1]; local_198[2] = (float)local_bc + local_198[2]; @@ -635516,11 +636406,11 @@ LAB_00845b82: local_17c = local_c0 + local_17c; } FUN_008452f0(&local_1c0,local_198,&local_6c); - pAVar15 = local_a8; + pAVar14 = local_a8; local_d4 = local_c4; local_b4 = local_a8; local_f8 = local_a8; - iVar13 = extraout_ECX_01; + iVar12 = extraout_ECX_01; if (local_6d != '\0') { SourceQuad::SourceQuad(); local_6d = '\x01'; @@ -635535,14 +636425,14 @@ LAB_00845b82: local_48 = local_48 + 32.0; } else if (extraout_EDX == (undefined1 *)0x2d0) { - fVar21 = -fStack_64; - fStack_64 = fVar21 + fStack_64; + fVar20 = -fStack_64; + fStack_64 = fVar20 + fStack_64; fStack_60 = fStack_60 + 0.0; - local_5c = local_5c + fVar21; + local_5c = local_5c + fVar20; fStack_58 = fStack_58 + 0.0; - fStack_54 = fStack_54 + fVar21; + fStack_54 = fStack_54 + fVar20; fStack_50 = fStack_50 + 0.0; - local_4c = local_4c + fVar21; + local_4c = local_4c + fVar20; local_48 = local_48 + 0.0; } else if ((extraout_EDX == (undefined1 *)0x160) || (extraout_EDX == (undefined1 *)0x1da)) { @@ -635559,17 +636449,17 @@ LAB_00845b82: local_6d = '\0'; } local_a8 = (ANM2 *)&DAT_bf800000; - local_b4 = pAVar15; - local_f8 = pAVar15; - iVar13 = extraout_ECX_02; + local_b4 = pAVar14; + local_f8 = pAVar14; + iVar12 = extraout_ECX_02; local_d4 = extraout_EDX; do { - fVar21 = ABS((float)local_a8); + fVar20 = ABS((float)local_a8); local_c4 = &DAT_bf800000; - local_114 = fVar21; + local_114 = fVar20; do { - puVar22 = local_c4; - if (fVar21 != ABS((float)local_c4)) { + puVar21 = local_c4; + if (fVar20 != ABS((float)local_c4)) { local_40 = 0; local_30 = 0; uStack_2c = 0; @@ -635581,31 +636471,30 @@ LAB_00845b82: local_20 = 0x3f800000; local_1c = 0x3f800000; local_18 = 0x3f800000; - pAVar15 = local_a8; + pAVar14 = local_a8; KColor::SetFromARGB(); local_124 = local_118; local_120 = local_118; - uVar26 = CONCAT44(extraout_ECX_03,&local_124); - local_98.x = (local_ac - (float)pAVar15 * local_d0) + local_c8; - local_98.y = (local_7c - (float)puVar22 * local_d0) + local_cc; - pfVar10 = (float *)render_quad_set_rect(&local_98,&local_124,extraout_ECX_03); - pfVar16 = local_198; - for (iVar13 = 0x1c; iVar13 != 0; iVar13 = iVar13 + -1) { - *pfVar16 = *pfVar10; - pfVar10 = pfVar10 + 1; - pfVar16 = pfVar16 + 1; + uVar25 = CONCAT44(extraout_ECX_03,&local_124); + local_98.x = (local_ac - (float)pAVar14 * local_d0) + local_c8; + local_98.y = (local_7c - (float)puVar21 * local_d0) + local_cc; + pfVar9 = (float *)render_quad_set_rect(&local_98,&local_124,extraout_ECX_03); + pfVar15 = local_198; + for (iVar12 = 0x1c; iVar12 != 0; iVar12 = iVar12 + -1) { + *pfVar15 = *pfVar9; + pfVar9 = pfVar9 + 1; + pfVar15 = pfVar15 + 1; } - iVar13 = local_a4 * 4; - puVar2 = &local_84->field_0x1a0; - if (*(int *)(&local_84->field_0x1a0 + local_a4 * 4) != 0) { - KAGE::SmartPointer::operator_assign(puVar2 + iVar13); - apply_sprite_shader_params(1,uVar26); + puVar8 = &local_84->_activeItem[0]._bookImage + local_a4; + if ((&local_84->_activeItem[0]._bookImage)[local_a4] != 0) { + KAGE::SmartPointer::operator_assign(puVar8); + apply_sprite_shader_params(1,uVar25); local_e0 = 0; local_f0 = local_40; uStack_ec = uStack_3c; fStack_e8 = fStack_38; fStack_e4 = fStack_34; - (**(code **)(**(int **)(puVar2 + iVar13) + 0x14))(&local_1e4,local_198); + (**(code **)(*(int *)*puVar8 + 0x14))(&local_1e4,local_198); local_198[0] = (float)local_bc + local_198[0]; local_198[1] = local_c0 + local_198[1]; local_198[2] = (float)local_bc + local_198[2]; @@ -635614,17 +636503,17 @@ LAB_00845b82: local_184 = local_c0 + local_184; local_180 = (float)local_bc + local_180; local_17c = local_c0 + local_17c; - puVar22 = local_c4; + puVar21 = local_c4; } - iVar13 = local_a4; + iVar12 = local_a4; if (local_6d != '\0') { FUN_008452f0(&fStack_64,local_198,&local_40); - iVar13 = extraout_ECX_04; - puVar22 = local_c4; + iVar12 = extraout_ECX_04; + puVar21 = local_c4; } - fVar21 = local_114; + fVar20 = local_114; } - local_c4 = (undefined1 *)((float)puVar22 + 1.0); + local_c4 = (undefined1 *)((float)puVar21 + 1.0); } while ((float)local_c4 <= 1.0); local_a8 = (ANM2 *)((float)local_a8 + 1.0); } while ((float)local_a8 <= 1.0); @@ -635635,16 +636524,16 @@ LAB_008463cc: local_78.x = 0.0; } LAB_008463d3: - puVar9 = (undefined4 *)quad_set_rect(&local_78,&local_110,iVar13); - local_1c0 = *puVar9; - uStack_1bc = puVar9[1]; - uStack_1b8 = puVar9[2]; - uStack_1b4 = puVar9[3]; - local_1b0 = puVar9[4]; - uStack_1ac = puVar9[5]; - uStack_1a8 = puVar9[6]; - uStack_1a4 = puVar9[7]; - local_1a0 = puVar9[8]; + puVar8 = (undefined4 *)quad_set_rect(&local_78,&local_110,iVar12); + local_1c0 = *puVar8; + uStack_1bc = puVar8[1]; + uStack_1b8 = puVar8[2]; + uStack_1b4 = puVar8[3]; + local_1b0 = puVar8[4]; + uStack_1ac = puVar8[5]; + uStack_1a8 = puVar8[6]; + uStack_1a4 = puVar8[7]; + local_1a0 = puVar8[8]; } else if (local_d4 == (undefined1 *)0x1e3) { local_78.x = (float)&DAT_42000000; @@ -635666,26 +636555,25 @@ LAB_008463d3: local_98.x = local_118; local_98.y = local_118; local_124 = local_c8 + local_ac; - uVar26 = CONCAT44(extraout_ECX_05,&local_98); + uVar25 = CONCAT44(extraout_ECX_05,&local_98); local_120 = local_cc + local_7c; - pfVar10 = (float *)render_quad_set_rect(&local_124,&local_98,extraout_ECX_05); - pfVar16 = local_198; - for (iVar13 = 0x1c; iVar13 != 0; iVar13 = iVar13 + -1) { - *pfVar16 = *pfVar10; - pfVar10 = pfVar10 + 1; - pfVar16 = pfVar16 + 1; + pfVar9 = (float *)render_quad_set_rect(&local_124,&local_98,extraout_ECX_05); + pfVar15 = local_198; + for (iVar12 = 0x1c; iVar12 != 0; iVar12 = iVar12 + -1) { + *pfVar15 = *pfVar9; + pfVar9 = pfVar9 + 1; + pfVar15 = pfVar15 + 1; } - iVar13 = local_a4 * 4; - puVar22 = &local_84->field_0x1a0; - if (*(int *)(&local_84->field_0x1a0 + local_a4 * 4) != 0) { - KAGE::SmartPointer::operator_assign(puVar22 + iVar13); - apply_sprite_shader_params(1,uVar26); + puVar8 = &local_84->_activeItem[0]._bookImage + local_a4; + if ((&local_84->_activeItem[0]._bookImage)[local_a4] != 0) { + KAGE::SmartPointer::operator_assign(puVar8); + apply_sprite_shader_params(1,uVar25); local_e0 = 0; local_f0 = local_40; uStack_ec = uStack_3c; fStack_e8 = fStack_38; fStack_e4 = fStack_34; - (**(code **)(**(int **)(puVar22 + iVar13) + 0x14))(&local_1e4,local_198); + (**(code **)(*(int *)*puVar8 + 0x14))(&local_1e4,local_198); local_198[0] = (float)local_bc + local_198[0]; local_198[1] = local_c0 + local_198[1]; local_198[2] = (float)local_bc + local_198[2]; @@ -635696,34 +636584,34 @@ LAB_008463d3: local_17c = local_c0 + local_17c; } FUN_008452f0(&local_1c0,local_198,&local_40); - pAVar15 = local_b4; + pAVar14 = local_b4; LAB_008465f5: - fVar21 = local_90; + fVar20 = local_90; if ((int)local_a0 < 1) goto LAB_00846e5f; - fVar23 = (float)(int)local_a0; - fVar25 = (float)(int)local_8c; + fVar22 = (float)(int)local_a0; + fVar24 = (float)(int)local_8c; if (local_f4 == 0) { - local_90 = fVar25 / fVar23; + local_90 = fVar24 / fVar22; } else { - local_90 = (float)local_f4 / (fVar23 * 450.0); + local_90 = (float)local_f4 / (fVar22 * 450.0); } - fVar24 = (float)(int)local_9c; - fVar18 = fVar24 / fVar23; + fVar23 = (float)(int)local_9c; + fVar17 = fVar23 / fVar22; local_c8 = 1.0; - if (fVar18 <= 1.0) { - local_c8 = fVar18; + if (fVar17 <= 1.0) { + local_c8 = fVar17; } if (local_d8 == 0.0) { - fVar18 = (float)(local_100 + (int)local_8c) / fVar23; + fVar17 = (float)(local_100 + (int)local_8c) / fVar22; local_9c = 1.0; - if (fVar18 <= 1.0) { - local_9c = fVar18; + if (fVar17 <= 1.0) { + local_9c = fVar17; } - fVar18 = (float)(local_fc + (int)local_8c) / fVar23; + fVar17 = (float)(local_fc + (int)local_8c) / fVar22; local_8c = 1.0; - if (fVar18 <= 1.0) { - local_8c = fVar18; + if (fVar17 <= 1.0) { + local_8c = fVar17; } } else if (local_d8 == 1.4013e-45) { @@ -635744,53 +636632,53 @@ LAB_008465f5: local_8c = 0.0; local_9c = 0.0; } - auVar19 = ZEXT812(0x3f800000); - fVar25 = (fVar25 + local_19c) / fVar23; - if (fVar25 <= auVar19._0_4_) { - auVar19._4_8_ = auVar19._4_8_; - auVar19._0_4_ = fVar25; + auVar18 = ZEXT812(0x3f800000); + fVar24 = (fVar24 + local_19c) / fVar22; + if (fVar24 <= auVar18._0_4_) { + auVar18._4_8_ = auVar18._4_8_; + auVar18._0_4_ = fVar24; } - local_d8 = auVar19._0_4_; + local_d8 = auVar18._0_4_; if (local_d8 <= local_90) { - auVar20 = ZEXT812(0x3f800000); - fVar23 = (fVar24 + local_19c) / fVar23; - if (fVar23 <= auVar20._0_4_) { - auVar20._4_8_ = auVar20._4_8_; - auVar20._0_4_ = fVar23; + auVar19 = ZEXT812(0x3f800000); + fVar22 = (fVar23 + local_19c) / fVar22; + if (fVar22 <= auVar19._0_4_) { + auVar19._4_8_ = auVar19._4_8_; + auVar19._0_4_ = fVar22; } - local_cc = auVar20._0_4_; + local_cc = auVar19._0_4_; } else { local_cc = 0.0; } local_a8 = (ANM2 *)0x0; if ((local_d4 == (undefined1 *)0x2c0) && - (pvVar11 = TemporaryEffects::GetCollectibleEffect + (pvVar10 = TemporaryEffects::GetCollectibleEffect ((TemporaryEffects *)((int)local_84->_player + 0x1508),0x2c0), - pvVar11 != (void *)0x0)) { - local_a8 = (ANM2 *)((float)*(int *)((int)pvVar11 + 8) / (float)local_11c->maxCooldown); + pvVar10 != (void *)0x0)) { + local_a8 = (ANM2 *)((float)*(int *)((int)pvVar10 + 8) / (float)local_11c->maxCooldown); } if ((local_84->_playerHudIndex < 4) || (playerHudLayout != 1)) { - bVar17 = false; + bVar16 = false; } else { - bVar17 = true; + bVar16 = true; } - if (fVar21 == 1.4013e-45) { - if (bVar17) { - fVar21 = 38.0; + if (fVar20 == 1.4013e-45) { + if (bVar16) { + fVar20 = 38.0; } else { - fVar21 = -2.0; + fVar20 = -2.0; } } - else if (bVar17) { - fVar21 = 0.0; + else if (bVar16) { + fVar20 = 0.0; } else { - fVar21 = 34.0; + fVar20 = 34.0; } - local_78.x = fVar21 * local_d0 + local_ac; + local_78.x = fVar20 * local_d0 + local_ac; local_78.y = local_d0 * 17.0 + local_7c; local_7c = 23.0; if (local_7d != '\0') { @@ -635823,24 +636711,25 @@ LAB_008465f5: case 1.68156e-44: anim = "BarOverlay12"; } - fVar21 = local_d0 * g_vectorOne.y; - (pAVar15->_scale).x = local_d0 * g_vectorOne.x; - (pAVar15->_scale).y = fVar21; - bVar5 = ANM2::SetAnimation(pAVar15,(byte *)"BarEmpty",1); - if (((bVar5 != 0) && ((pAVar15->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar15->_animState), + fVar20 = local_d0 * g_vectorOne.y; + (pAVar14->_scale).x = local_d0 * g_vectorOne.x; + (pAVar14->_scale).y = fVar20; + bVar4 = ANM2::SetAnimation(pAVar14,(byte *)"BarEmpty",1); + if (((bVar4 != 0) && ((pAVar14->_animState)._animData != (void *)0x0)) && + (AnimationState::SetFrameFloat(&pAVar14->_animState), (local_f8->_animState)._animData != (void *)0x0)) { - (pAVar15->_animState)._isPlaying = 0; + (pAVar14->_animState)._isPlaying = 0; } - (pAVar15->_color)._tint[3] = alpha; - ANM2::Render(pAVar15,&local_78,&g_vectorZero,&g_vectorZero); - if ((int)*(uint *)(&local_84->field_0x1a8 + local_a4 * 4) < 0) { + (pAVar14->_color)._tint[3] = alpha; + ANM2::Render(pAVar14,&local_78,&g_vectorZero,&g_vectorZero); + uVar11 = (&local_84->_activeItem[1]._bookItemId)[local_a4]; + if ((int)uVar11 < 0) { LAB_0084692a: - bVar5 = ANM2::SetAnimation(pAVar15,(byte *)"BarFull",1); - if (((bVar5 != 0) && ((pAVar15->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar15->_animState), + bVar4 = ANM2::SetAnimation(pAVar14,(byte *)"BarFull",1); + if (((bVar4 != 0) && ((pAVar14->_animState)._animData != (void *)0x0)) && + (AnimationState::SetFrameFloat(&pAVar14->_animState), (local_f8->_animState)._animData != (void *)0x0)) { - (pAVar15->_animState)._isPlaying = 0; + (pAVar14->_animState)._isPlaying = 0; } if (local_90 < local_9c) { fStack_34 = alpha; @@ -635854,12 +636743,12 @@ LAB_0084692a: local_20 = 0; local_1c = 0; local_18 = 0; - Sprite::SetColor((Sprite *)pAVar15); + Sprite::SetColor((Sprite *)pAVar14); local_98.x = 0.0; local_98.y = (1.0 - local_9c) * local_7c + local_b0; - ANM2::Render(pAVar15,&local_78,&local_98,&g_vectorZero); + ANM2::Render(pAVar14,&local_78,&local_98,&g_vectorZero); Color::Color(); - Sprite::SetColor((Sprite *)pAVar15); + Sprite::SetColor((Sprite *)pAVar14); } if (local_90 < local_8c) { fStack_34 = alpha; @@ -635873,12 +636762,12 @@ LAB_0084692a: local_20 = 0; local_1c = 0; local_18 = 0; - Sprite::SetColor((Sprite *)pAVar15); + Sprite::SetColor((Sprite *)pAVar14); local_98.x = 0.0; local_98.y = (1.0 - local_8c) * local_7c + local_b0; - ANM2::Render(pAVar15,&local_78,&local_98,&g_vectorZero); + ANM2::Render(pAVar14,&local_78,&local_98,&g_vectorZero); Color::Color(); - Sprite::SetColor((Sprite *)pAVar15); + Sprite::SetColor((Sprite *)pAVar14); } if (local_90 < local_d8) { local_20 = 0; @@ -635892,15 +636781,15 @@ LAB_0084692a: local_40 = 0x3f800000; uStack_3c = 0x3f800000; fStack_38 = 1.0; - Sprite::SetColor((Sprite *)pAVar15); + Sprite::SetColor((Sprite *)pAVar14); local_98.x = 0.0; local_98.y = (1.0 - local_d8) * local_7c + local_b0; - ANM2::Render(pAVar15,&local_78,&local_98,&g_vectorZero); + ANM2::Render(pAVar14,&local_78,&local_98,&g_vectorZero); Color::Color(); - Sprite::SetColor((Sprite *)pAVar15); + Sprite::SetColor((Sprite *)pAVar14); } if (((local_d4 == (undefined1 *)0x23) && - (cVar6 = Entity_Player::HasPlayerForm(local_88), cVar6 != '\0')) && + (cVar5 = Entity_Player::HasPlayerForm(local_88), cVar5 != '\0')) && (*(int *)((int)&local_88->_activeDesc[0]._varData + local_dc) == 1)) { fStack_34 = alpha; local_40 = 0x3f19999a; @@ -635913,11 +636802,11 @@ LAB_0084692a: local_20 = 0; local_1c = 0; local_18 = 0; - Sprite::SetColor((Sprite *)pAVar15); + Sprite::SetColor((Sprite *)pAVar14); } local_98.x = 0.0; local_98.y = (1.0 - local_90) * local_7c + local_b0; - ANM2::Render(pAVar15,&local_78,&local_98,&g_vectorZero); + ANM2::Render(pAVar14,&local_78,&local_98,&g_vectorZero); if (local_c8 < local_cc) { local_40 = 0x3f800000; local_30 = 0; @@ -635930,10 +636819,10 @@ LAB_0084692a: local_20 = 0x3f800000; local_1c = 0; local_18 = 0; - Sprite::SetColor((Sprite *)pAVar15); + Sprite::SetColor((Sprite *)pAVar14); local_98.x = 0.0; local_98.y = (1.0 - local_cc) * local_7c + local_b0; - ANM2::Render(pAVar15,&local_78,&local_98,&g_vectorZero); + ANM2::Render(pAVar14,&local_78,&local_98,&g_vectorZero); } if (0.0 < local_c8) { local_40 = 0x3f800000; @@ -635947,10 +636836,10 @@ LAB_0084692a: local_20 = 0x3f800000; local_1c = 0; local_18 = 0; - Sprite::SetColor((Sprite *)pAVar15); + Sprite::SetColor((Sprite *)pAVar14); local_98.x = 0.0; local_98.y = (1.0 - local_c8) * local_7c + local_b0; - ANM2::Render(pAVar15,&local_78,&local_98,&g_vectorZero); + ANM2::Render(pAVar14,&local_78,&local_98,&g_vectorZero); } if (0.0 < (float)local_a8) { fStack_34 = alpha; @@ -635964,24 +636853,24 @@ LAB_0084692a: local_20 = 0; local_1c = 0; local_18 = 0; - Sprite::SetColor((Sprite *)pAVar15); + Sprite::SetColor((Sprite *)pAVar14); local_98.x = 0.0; local_98.y = (1.0 - (float)local_a8) * local_7c + local_b0; - ANM2::Render(pAVar15,&local_78,&local_98,&g_vectorZero); + ANM2::Render(pAVar14,&local_78,&local_98,&g_vectorZero); } Color::Color(); - Sprite::SetColor((Sprite *)pAVar15); + Sprite::SetColor((Sprite *)pAVar14); } else { - uVar12 = *(uint *)(&local_84->field_0x1a8 + local_a4 * 4) & 0x80000001; - if ((int)uVar12 < 0) { - uVar12 = (uVar12 - 1 | 0xfffffffe) + 1; + uVar11 = uVar11 & 0x80000001; + if ((int)uVar11 < 0) { + uVar11 = (uVar11 - 1 | 0xfffffffe) + 1; } - if (uVar12 == 1) goto LAB_0084692a; + if (uVar11 == 1) goto LAB_0084692a; } - ANM2::SetFrame(pAVar15,(std_string *)anim,0); - (pAVar15->_color)._tint[3] = alpha; - ANM2::Render(pAVar15,&local_78,&g_vectorZero,&g_vectorZero); + ANM2::SetFrame(pAVar14,(std_string *)anim,0); + (pAVar14->_color)._tint[3] = alpha; + ANM2::Render(pAVar14,&local_78,&g_vectorZero,&g_vectorZero); LAB_00846e5f: shader_cache_find(); return; @@ -636025,13 +636914,13 @@ PlayerHUD::RenderTrinket local_c = __security_cookie ^ (uint)(auStack_8 + 4); pvVar1 = this->_player; - if ((*(int *)(&this->field_0x200 + TrinketSlot * 0x18) == 0) || - (*(int *)(&this->field_0x208 + TrinketSlot * 0x18) == 0)) goto LAB_008471a0; + if ((*(int *)((int)this->_activeItem + TrinketSlot * 0x18 + 0x70) == 0) || + (*(int *)((int)this->_activeItem + TrinketSlot * 0x18 + 0x78) == 0)) goto LAB_008471a0; local_40 = pos->x + (g_game->_screenShakeOffset).x; local_3c = (g_game->_screenShakeOffset).y + pos->y; if (unk != 0) { - local_40 = local_40 - scale * *(float *)(&this->field_0x210 + TrinketSlot * 0x18); - local_3c = local_3c - scale * *(float *)(&this->field_0x214 + TrinketSlot * 0x18); + local_40 = local_40 - scale * *(float *)((int)this->_activeItem + TrinketSlot * 0x18 + 0x80); + local_3c = local_3c - scale * *(float *)((int)this->_activeItem + TrinketSlot * 0x18 + 0x84); } local_18 = 0; local_14 = 0; @@ -636074,7 +636963,7 @@ PlayerHUD::RenderTrinket } else { LAB_0084717a: - if (*(int *)(&this->field_0x204 + TrinketSlot * 0x18) != 0) { + if (*(int *)((int)this->_activeItem + TrinketSlot * 0x18 + 0x74) != 0) { local_28 = 0x3f18ff66; uStack_24 = 0x3eab1178; uStack_20 = 0x3e9f056c; @@ -636099,55 +636988,53 @@ LAB_008471a0: void PlayerHUD::RenderPocketItems(float *param_1,int param_2,float param_3) { - void *pvVar1; - undefined4 uVar2; - undefined4 uVar3; - undefined4 uVar4; - Game *pGVar5; - Manager *pMVar6; - Entity_Player *pEVar7; - ItemConfig_Item *pIVar8; - char cVar9; - byte bVar10; - uint uVar11; - uint uVar12; + undefined8 uVar1; + void *pvVar2; + Game *pGVar3; + Manager *pMVar4; + Entity_Player *pEVar5; + ItemConfig_Item *pIVar6; + char cVar7; + byte bVar8; + uint uVar9; + uint uVar10; + int iVar11; + void *pvVar12; int iVar13; - void *pvVar14; - int iVar15; - NetplayManager NVar16; - char *****pppppcVar17; - char *pcVar18; - std_string *psVar19; + NetplayManager NVar14; + char *****pppppcVar15; + char *pcVar16; + std_string *psVar17; byte *anim; - undefined4 *puVar20; + undefined4 *puVar18; PlayerHUD *in_ECX; - uint uVar21; - int iVar22; + uint uVar19; + int iVar20; ItemPool *extraout_ECX; ItemPool *extraout_ECX_00; - ItemPool *pIVar23; + ItemPool *pIVar21; ItemPool *extraout_ECX_01; undefined4 extraout_ECX_02; - ItemPool *pIVar24; + ItemPool *pIVar22; ItemPool *extraout_ECX_03; undefined4 extraout_ECX_04; - char *pcVar25; - undefined1 *puVar26; - char *****pppppcVar27; - PlayerHUD *pPVar28; - uint uVar29; - float fVar30; - float fVar31; + char *pcVar23; + void **ppvVar24; + char *****pppppcVar25; + PlayerHUD *pPVar26; + uint uVar27; + float fVar28; + float fVar29; float in_XMM3_Da; - float fVar32; + float fVar30; int local_208; undefined4 uStack_204; undefined4 uStack_200; float fStack_1fc; - undefined4 local_1f8; - undefined4 uStack_1f4; - undefined4 uStack_1f0; - undefined4 uStack_1ec; + int local_1f8; + int iStack_1f4; + int iStack_1f0; + int iStack_1ec; ItemPool *local_1e8; ItemPool *pIStack_1e4; PlayerHUD *local_1e0; @@ -636208,84 +637095,85 @@ void PlayerHUD::RenderPocketItems(float *param_1,int param_2,float param_3) local_14 = 0xffffffff; puStack_18 = &LAB_00b02db8; local_1c = ExceptionList; - uVar11 = __security_cookie ^ (uint)(local_f8 + 0xe8); + uVar9 = __security_cookie ^ (uint)(local_f8 + 0xe8); ExceptionList = &local_1c; local_1dc = 0; local_178 = in_ECX->_player; - fVar31 = *param_1; - fVar32 = param_1[1]; + fVar29 = *param_1; + fVar30 = param_1[1]; local_1bc = param_3; local_180 = in_XMM3_Da; if (in_XMM3_Da < 0.0) { local_180 = -in_XMM3_Da; } - pvVar14 = in_ECX->_HUD; - local_1a4 = (ItemPool *)((int)pvVar14 + 0x3bc8); - fVar30 = local_180 * g_vectorOne.y; - *(float *)((int)pvVar14 + 0x3c64) = local_180 * g_vectorOne.x; - *(float *)((int)pvVar14 + 0x3c7c) = param_3; - *(float *)((int)pvVar14 + 0x3c68) = fVar30; - fVar30 = local_180 * g_vectorOne.y; + pvVar12 = in_ECX->_HUD; + local_1a4 = (ItemPool *)((int)pvVar12 + 0x3bc8); + fVar28 = local_180 * g_vectorOne.y; + *(float *)((int)pvVar12 + 0x3c64) = local_180 * g_vectorOne.x; + *(float *)((int)pvVar12 + 0x3c7c) = param_3; + *(float *)((int)pvVar12 + 0x3c68) = fVar28; + fVar28 = local_180 * g_vectorOne.y; *(float *)&in_ECX->field_0x2d4 = local_180 * g_vectorOne.x; - *(float *)&in_ECX->field_0x2d8 = fVar30; + *(float *)&in_ECX->field_0x2d8 = fVar28; *(float *)&in_ECX->field_0x2ec = param_3; - fVar30 = local_180 * g_vectorOne.y; + fVar28 = local_180 * g_vectorOne.y; *(float *)&in_ECX->field_0x3f0 = local_180 * g_vectorOne.x; - *(float *)&in_ECX->field_0x3f4 = fVar30; + *(float *)&in_ECX->field_0x3f4 = fVar28; *(float *)&in_ECX->field_0x408 = param_3; - fVar30 = local_180 * g_vectorOne.y; + fVar28 = local_180 * g_vectorOne.y; *(float *)&in_ECX->field_0x50c = local_180 * g_vectorOne.x; - *(float *)&in_ECX->field_0x510 = fVar30; + *(float *)&in_ECX->field_0x510 = fVar28; *(float *)&in_ECX->field_0x524 = param_3; - fVar30 = local_180 * g_vectorOne.y; + fVar28 = local_180 * g_vectorOne.y; *(float *)&in_ECX->field_0x628 = local_180 * g_vectorOne.x; - *(float *)&in_ECX->field_0x62c = fVar30; + *(float *)&in_ECX->field_0x62c = fVar28; *(float *)&in_ECX->field_0x640 = param_3; - pvVar14 = in_ECX->_player; - pvVar1 = *(void **)((int)pvVar14 + 0x1e68); - if ((((pvVar1 == (void *)0x0) || (*(int *)((int)pvVar1 + 0x161c) == -1)) || - (*(int *)((int)pvVar14 + 0x161c) <= *(int *)((int)pvVar1 + 0x161c))) || - (local_19a = '\x01', pvVar1 == pvVar14)) { + pvVar12 = in_ECX->_player; + pvVar2 = *(void **)((int)pvVar12 + 0x1e68); + if ((((pvVar2 == (void *)0x0) || (*(int *)((int)pvVar2 + 0x161c) == -1)) || + (*(int *)((int)pvVar12 + 0x161c) <= *(int *)((int)pvVar2 + 0x161c))) || + (local_19a = '\x01', pvVar2 == pvVar12)) { local_19a = '\0'; } local_1a0 = 0xc1000000; local_1b4 = in_ECX; - local_188 = fVar32; - local_184 = fVar31; - local_24 = uVar11; + local_188 = fVar30; + local_184 = fVar29; + local_24 = uVar9; if (param_2 == 0) { - iVar15 = 3; - fVar30 = local_180; + iVar13 = 3; + fVar28 = local_180; do { - iVar13 = iVar15; - if (iVar15 < 1) { - iVar13 = 0; + iVar11 = iVar13; + if (iVar13 < 1) { + iVar11 = 0; } - iVar22 = 3; - if (iVar13 < 3) { - iVar22 = iVar13; + iVar20 = 3; + if (iVar11 < 3) { + iVar20 = iVar11; } - if (local_178->_pocketSlots[iVar22 * 2] != 0) { - iVar13 = local_178->_pocketSlots[iVar22 * 2 + 1]; + if (local_178->_pocketSlots[iVar20 * 2] != 0) { + iVar11 = local_178->_pocketSlots[iVar20 * 2 + 1]; local_198 = (ItemPool *) - (-6.0 - (float)((double)iVar15 + __uint_to_double_fixup[-(iVar15 >> 0x1f)]) * - 10.0 * fVar30); - if ((iVar13 == 1) || (iVar13 == 0)) { - local_194 = iVar15 * 0x11c; - bVar10 = ANM2::SetAnimation((ANM2 *)(&in_ECX->field_0x238 + local_194),(byte *)"HUDSmall", - 1); - if ((bVar10 != 0) && - ((*(int *)(&in_ECX->field_0x26c + local_194) != 0 && - (AnimationState::SetFrameFloat((AnimationState *)(&in_ECX->field_0x268 + local_194)), - *(int *)(&in_ECX->field_0x26c + local_194) != 0)))) { - (&in_ECX->field_0x27c)[local_194] = 0; + (-6.0 - (float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]) * + 10.0 * fVar28); + if ((iVar11 == 1) || (iVar11 == 0)) { + local_194 = iVar13 * 0x11c; + bVar8 = ANM2::SetAnimation((ANM2 *)((int)in_ECX->_activeItem + local_194 + 0xa8), + (byte *)"HUDSmall",1); + if ((bVar8 != 0) && + ((*(int *)((int)(in_ECX->_activeItem + 0xb) + local_194) != 0 && + (AnimationState::SetFrameFloat + ((AnimationState *)((int)(in_ECX->_activeItem + 10) + local_194 + 0x10)), + *(int *)((int)(in_ECX->_activeItem + 0xb) + local_194) != 0)))) { + *(undefined1 *)((int)(in_ECX->_activeItem + 0xb) + local_194 + 0x10) = 0; } local_190 = local_184 + 4.0; local_18c = (ItemPool *)(local_188 + (float)local_198); - if ((&in_ECX->field_0x341)[local_194] != '\0') { - local_198 = (ItemPool *)(&in_ECX->field_0x268 + local_194); - local_1a8 = &in_ECX->field_0x288 + local_194; - if ((&in_ECX->field_0x2a8)[local_194] == '\0') { + if (*(char *)((int)(in_ECX->_activeItem + 0x15) + local_194 + 0xd) != '\0') { + local_198 = (ItemPool *)((int)(in_ECX->_activeItem + 10) + local_194 + 0x10); + local_1a8 = (undefined1 *)((int)(in_ECX->_activeItem + 0xc) + local_194 + 8); + if (*(char *)((int)(in_ECX->_activeItem + 0xe) + local_194) == '\0') { AnimationState::Render(&local_190,&g_vectorZero,&g_vectorZero); } else { @@ -636295,55 +637183,56 @@ void PlayerHUD::RenderPocketItems(float *param_1,int param_2,float param_3) } } else { - if (iVar13 != 2) goto LAB_00847812; - local_1b0.y = fVar32 + (float)local_198 + fVar30 * -8.0; - local_1b0.x = fVar31 + 4.0 + fVar30 * -12.0; - RenderActiveItem(in_ECX,local_178->_pocketSlots[iVar22 * 2] - 1,&local_1b0,0,fVar30 * 0.5, + if (iVar11 != 2) goto LAB_00847812; + local_1b0.y = fVar30 + (float)local_198 + fVar28 * -8.0; + local_1b0.x = fVar29 + 4.0 + fVar28 * -12.0; + RenderActiveItem(in_ECX,local_178->_pocketSlots[iVar20 * 2] - 1,&local_1b0,0,fVar28 * 0.5, local_1bc,0); } - fVar30 = local_180; - fVar31 = local_184; - fVar32 = local_188; + fVar28 = local_180; + fVar29 = local_184; + fVar30 = local_188; } LAB_00847812: - iVar15 = iVar15 + -1; - } while (iVar15 != 0); + iVar13 = iVar13 + -1; + } while (iVar13 != 0); } else { - uVar29 = 1; - fVar30 = local_180; + uVar27 = 1; + fVar28 = local_180; puStack_20 = local_f8 + 0xf4; do { - uVar12 = uVar29; - if ((int)uVar29 < 1) { - uVar12 = 0; + uVar10 = uVar27; + if ((int)uVar27 < 1) { + uVar10 = 0; } - uVar21 = 3; - if ((int)uVar12 < 3) { - uVar21 = uVar12; + uVar19 = 3; + if ((int)uVar10 < 3) { + uVar19 = uVar10; } - if (local_178->_pocketSlots[uVar21 * 2] != 0) { - local_1a8 = (undefined1 *)(fVar30 * 12.0); - iVar15 = local_178->_pocketSlots[uVar21 * 2 + 1]; + if (local_178->_pocketSlots[uVar19 * 2] != 0) { + local_1a8 = (undefined1 *)(fVar28 * 12.0); + iVar13 = local_178->_pocketSlots[uVar19 * 2 + 1]; local_198 = (ItemPool *) - ((float)((double)(int)uVar29 + __uint_to_double_fixup[-((int)uVar29 >> 0x1f)]) * - 8.0 * fVar30 - 2.0); - if ((iVar15 == 1) || (iVar15 == 0)) { - local_194 = uVar29 * 0x11c; - bVar10 = ANM2::SetAnimation((ANM2 *)(&in_ECX->field_0x238 + local_194),(byte *)"HUDSmall", - 1); - if ((bVar10 != 0) && - ((*(int *)(&in_ECX->field_0x26c + local_194) != 0 && - (AnimationState::SetFrameFloat((AnimationState *)(&in_ECX->field_0x268 + local_194)), - *(int *)(&in_ECX->field_0x26c + local_194) != 0)))) { - (&in_ECX->field_0x27c)[local_194] = 0; + ((float)((double)(int)uVar27 + __uint_to_double_fixup[-((int)uVar27 >> 0x1f)]) * + 8.0 * fVar28 - 2.0); + if ((iVar13 == 1) || (iVar13 == 0)) { + local_194 = uVar27 * 0x11c; + bVar8 = ANM2::SetAnimation((ANM2 *)((int)in_ECX->_activeItem + local_194 + 0xa8), + (byte *)"HUDSmall",1); + if ((bVar8 != 0) && + ((*(int *)((int)(in_ECX->_activeItem + 0xb) + local_194) != 0 && + (AnimationState::SetFrameFloat + ((AnimationState *)((int)(in_ECX->_activeItem + 10) + local_194 + 0x10)), + *(int *)((int)(in_ECX->_activeItem + 0xb) + local_194) != 0)))) { + *(undefined1 *)((int)(in_ECX->_activeItem + 0xb) + local_194 + 0x10) = 0; } local_190 = local_184 + (float)local_198; local_18c = (ItemPool *)(local_188 + (float)local_1a8); - if ((&in_ECX->field_0x341)[local_194] != '\0') { - local_198 = (ItemPool *)(&in_ECX->field_0x268 + local_194); - local_1a8 = &in_ECX->field_0x288 + local_194; - if ((&in_ECX->field_0x2a8)[local_194] == '\0') { + if (*(char *)((int)(in_ECX->_activeItem + 0x15) + local_194 + 0xd) != '\0') { + local_198 = (ItemPool *)((int)(in_ECX->_activeItem + 10) + local_194 + 0x10); + local_1a8 = (undefined1 *)((int)(in_ECX->_activeItem + 0xc) + local_194 + 8); + if (*(char *)((int)(in_ECX->_activeItem + 0xe) + local_194) == '\0') { AnimationState::Render(&local_190,&g_vectorZero,&g_vectorZero); } else { @@ -636353,22 +637242,22 @@ LAB_00847812: } } else { - if (iVar15 != 2) goto LAB_008475da; - local_1c4.x = fVar31 + (float)local_198 + fVar30 * -4.0; - local_1c4.y = fVar32 + (float)local_1a8 + fVar30 * -8.0; - RenderActiveItem(in_ECX,local_178->_pocketSlots[uVar21 * 2] - 1,&local_1c4,param_2, - fVar30 * 0.5,local_1bc,0); + if (iVar13 != 2) goto LAB_008475da; + local_1c4.x = fVar29 + (float)local_198 + fVar28 * -4.0; + local_1c4.y = fVar30 + (float)local_1a8 + fVar28 * -8.0; + RenderActiveItem(in_ECX,local_178->_pocketSlots[uVar19 * 2] - 1,&local_1c4,param_2, + fVar28 * 0.5,local_1bc,0); } - fVar30 = local_180; - fVar31 = local_184; - fVar32 = local_188; + fVar28 = local_180; + fVar29 = local_184; + fVar30 = local_188; } LAB_008475da: - uVar29 = uVar29 + 1; - } while (uVar29 < 4); + uVar27 = uVar27 + 1; + } while (uVar27 < 4); } - pPVar28 = local_1b4; - pMVar6 = g_manager; + pPVar26 = local_1b4; + pMVar4 = g_manager; local_16d = '\x01'; local_100 = 0xf00000000; local_110 = (char *****)0x0; @@ -636378,55 +637267,55 @@ LAB_008475da: local_14 = 1; local_194 = 0xffffffff; local_1a8 = (undefined1 *)((uint)local_1a8 & 0xffffff00); - iVar15 = local_178->_pocketSlots[1]; + iVar13 = local_178->_pocketSlots[1]; local_199 = '\0'; local_179 = '\0'; local_1b8 = 0.0; - if (iVar15 == 1) { - iVar15 = local_178->_pocketSlots[0]; - if (iVar15 == 0) goto LAB_0084814e; - if ((iVar15 < 0) || - (pvVar14 = (g_manager->_itemConfig)._cards._begin, - (int)(g_manager->_itemConfig)._cards._end - (int)pvVar14 >> 2 <= iVar15)) { + if (iVar13 == 1) { + iVar13 = local_178->_pocketSlots[0]; + if (iVar13 == 0) goto LAB_0084814e; + if ((iVar13 < 0) || + (pvVar12 = (g_manager->_itemConfig)._cards._begin, + (int)(g_manager->_itemConfig)._cards._end - (int)pvVar12 >> 2 <= iVar13)) { local_174 = (ItemConfig_Item *)0x0; } else { - local_174 = *(ItemConfig_Item **)((int)pvVar14 + iVar15 * 4); + local_174 = *(ItemConfig_Item **)((int)pvVar12 + iVar13 * 4); } local_198 = (ItemPool *)&(g_game->_seedEffects)._seedEffects; local_18c = (ItemPool *)0x1e; std::set::find_node(&local_1d0,&local_18c); if ((*(char *)((int)local_1c8 + 0xd) == '\0') && (*(int *)((int)local_1c8 + 0x10) < 0x1f)) { - pvVar14 = local_1c8; + pvVar12 = local_1c8; } else { - pvVar14 = *(void **)((std_string *)&local_198->_seed)->_buf; + pvVar12 = *(void **)((std_string *)&local_198->_seed)->_buf; } - pIVar23 = local_198; - if (pvVar14 == *(void **)((std_string *)&local_198->_seed)->_buf) { - if (iVar15 < 0x62) { - bVar10 = ANM2::SetAnimation((ANM2 *)local_1a4,(byte *)"CardFronts",1); - pIVar23 = extraout_ECX; - if ((bVar10 != 0) && (pIVar23 = local_1a4, local_1a4->_pools[0]._bibleUpgrade != 0)) { - AnimationState::SetFrameFloat((AnimationState *)&local_1a4->_pools[0].field_0x2c); - pIVar23 = local_1a4; + pIVar21 = local_198; + if (pvVar12 == *(void **)((std_string *)&local_198->_seed)->_buf) { + if (iVar13 < 0x62) { + bVar8 = ANM2::SetAnimation((ANM2 *)local_1a4,(byte *)"CardFronts",1); + pIVar21 = extraout_ECX; + if ((bVar8 != 0) && (pIVar21 = local_1a4, local_1a4->_pools[0]._bibleUpgrade != 0)) { + AnimationState::SetFrameFloat((AnimationState *)&local_1a4->_pools[0]._rng2._shift3); + pIVar21 = local_1a4; if (local_1a4->_pools[0]._bibleUpgrade != 0) { - local_1a4->_pools[1].field_0xc = 0; + *(undefined1 *)&local_1a4->_pools[1]._poolList._capacity = 0; } } - uVar11 = 0; - if (*(int *)&local_1a4->_pools[2].field_0x14 != 0) { - local_18c = (ItemPool *)&local_1a4->_pools[0].field_0x2c; + uVar9 = 0; + if (local_1a4->_pools[2]._rng1._shift1 != 0) { + local_18c = (ItemPool *)&local_1a4->_pools[0]._rng2._shift3; do { - iVar15 = AnimationState::GetLayerFrame(uVar11); - pIVar23 = extraout_ECX_00; - if ((iVar15 != 0) && (*(char *)(iVar15 + 0x2c) != '\0')) { + iVar13 = AnimationState::GetLayerFrame(uVar9); + pIVar21 = extraout_ECX_00; + if ((iVar13 != 0) && (*(char *)(iVar13 + 0x2c) != '\0')) { local_179 = '\x01'; local_1b8 = -3.0; break; } - uVar11 = uVar11 + 1; - } while (uVar11 < *(uint *)&local_1a4->_pools[2].field_0x14); + uVar9 = uVar9 + 1; + } while (uVar9 < (uint)local_1a4->_pools[2]._rng1._shift1); } } else { @@ -636435,39 +637324,39 @@ LAB_008475da: local_199 = (local_174->gfxFilename)._size != 0; } } - pPVar28 = local_1b4; + pPVar26 = local_1b4; if (local_174 == (ItemConfig_Item *)0x0) goto LAB_00848147; - NVar16 = g_manager->_netplayManager; - if (NVar16 != *(NetplayManager *)(g_manager + 1)) { - pIVar23 = (ItemPool *)0x0; - local_18c = (ItemPool *)((int)*(NetplayManager *)(g_manager + 1) - (int)NVar16 >> 2); + NVar14 = g_manager->_netplayManager; + if (NVar14 != *(NetplayManager *)(g_manager + 1)) { + pIVar21 = (ItemPool *)0x0; + local_18c = (ItemPool *)((int)*(NetplayManager *)(g_manager + 1) - (int)NVar14 >> 2); if (local_18c != (ItemPool *)0x0) { do { - in_ECX = pPVar28; - if (*(int *)(*(int *)NVar16 + 0xc) == local_178->_controllerIndex) { - cVar9 = (**(code **)(*(int *)(*(int *)NVar16 + 0x370) + 0x14))(); - pIVar23 = extraout_ECX_01; - if (cVar9 == '\0') goto LAB_00847abc; + in_ECX = pPVar26; + if (*(int *)(*(int *)NVar14 + 0xc) == local_178->_controllerIndex) { + cVar7 = (**(code **)(*(int *)(*(int *)NVar14 + 0x370) + 0x14))(); + pIVar21 = extraout_ECX_01; + if (cVar7 == '\0') goto LAB_00847abc; break; } - pIVar23 = (ItemPool *)((int)((std_string *)&pIVar23->_seed)->_buf + 1); - NVar16 = (NetplayManager)((int)NVar16 + 4); - } while (pIVar23 < local_18c); + pIVar21 = (ItemPool *)((int)((std_string *)&pIVar21->_seed)->_buf + 1); + NVar14 = (NetplayManager)((int)NVar14 + 4); + } while (pIVar21 < local_18c); } } - cVar9 = input_is_action_pressed(0xd,local_178->_controllerIndex,0,pIVar23); - pPVar28 = in_ECX; - if (cVar9 == '\0') { + cVar7 = input_is_action_pressed(0xd,local_178->_controllerIndex,0,pIVar21); + pPVar26 = in_ECX; + if (cVar7 == '\0') { LAB_00847abc: - pppppcVar17 = (char *****)PocketItemConfig::GetName(local_128,0x14); - in_ECX = pPVar28; - if (&local_110 != (char ******)pppppcVar17) { + pppppcVar15 = (char *****)PocketItemConfig::GetName(local_128,0x14); + in_ECX = pPVar26; + if (&local_110 != (char ******)pppppcVar15) { if (0xf < local_100._4_4_) { - uVar11 = local_100._4_4_ + 1; - pppppcVar27 = local_110; - if (0xfff < uVar11) { - pppppcVar27 = (char *****)local_110[-1]; - pcVar18 = (char *)((int)local_110 + (-4 - (int)pppppcVar27)); + uVar9 = local_100._4_4_ + 1; + pppppcVar25 = local_110; + if (0xfff < uVar9) { + pppppcVar25 = (char *****)local_110[-1]; + pcVar16 = (char *)((int)local_110 + (-4 - (int)pppppcVar25)); goto joined_r0x00847bdc; } goto LAB_00847b08; @@ -636476,131 +637365,132 @@ LAB_00847abc: } } else { - pppppcVar17 = (char *****) + pppppcVar15 = (char *****) ItemConfig_Card::get_display_desc ((ItemConfig_Card *)local_174,local_128,extraout_ECX_02); - if (&local_110 != (char ******)pppppcVar17) { + if (&local_110 != (char ******)pppppcVar15) { if (0xf < local_100._4_4_) { - uVar11 = local_100._4_4_ + 1; - pppppcVar27 = local_110; - if (0xfff < uVar11) { - pppppcVar27 = (char *****)local_110[-1]; - pcVar18 = (char *)((int)local_110 + (-4 - (int)pppppcVar27)); + uVar9 = local_100._4_4_ + 1; + pppppcVar25 = local_110; + if (0xfff < uVar9) { + pppppcVar25 = (char *****)local_110[-1]; + pcVar16 = (char *)((int)local_110 + (-4 - (int)pppppcVar25)); joined_r0x00847bdc: - uVar11 = local_100._4_4_ + 0x24; - if ((char *)0x1f < pcVar18) goto LAB_00847b85; + uVar9 = local_100._4_4_ + 0x24; + if ((char *)0x1f < pcVar16) goto LAB_00847b85; } LAB_00847b08: - operator_delete(pppppcVar27,uVar11); + operator_delete(pppppcVar25,uVar9); } LAB_00847b12: - local_110 = (char *****)*pppppcVar17; - ppppcStack_10c = pppppcVar17[1]; - ppppcStack_108 = pppppcVar17[2]; - ppppcStack_104 = pppppcVar17[3]; - local_100 = *(longlong *)(pppppcVar17 + 4); - pppppcVar17[4] = (char ****)0x0; - pppppcVar17[5] = (char ****)0xf; - *(undefined1 *)pppppcVar17 = 0; + local_110 = (char *****)*pppppcVar15; + ppppcStack_10c = pppppcVar15[1]; + ppppcStack_108 = pppppcVar15[2]; + ppppcStack_104 = pppppcVar15[3]; + local_100 = *(longlong *)(pppppcVar15 + 4); + pppppcVar15[4] = (char ****)0x0; + pppppcVar15[5] = (char ****)0xf; + *(undefined1 *)pppppcVar15 = 0; } } if (0xf < local_114) { - uVar29 = local_114 + 1; - uVar11 = local_128[0]; - if (0xfff < uVar29) { - uVar11 = *(uint *)(local_128[0] - 4); - uVar29 = local_114 + 0x24; - if (0x1f < (local_128[0] - uVar11) - 4) goto LAB_00847b85; + uVar27 = local_114 + 1; + uVar9 = local_128[0]; + if (0xfff < uVar27) { + uVar9 = *(uint *)(local_128[0] - 4); + uVar27 = local_114 + 0x24; + if (0x1f < (local_128[0] - uVar9) - 4) goto LAB_00847b85; } - operator_delete(uVar11,uVar29); + operator_delete(uVar9,uVar27); } - pIVar8 = local_174; + pIVar6 = local_174; local_128[0] = local_128[0] & 0xffffff00; local_114 = 0xf; local_118 = 0; - psVar19 = &local_174->gfxFilename; - if ((std_string *)local_16c != psVar19) { + psVar17 = &local_174->gfxFilename; + if ((std_string *)local_16c != psVar17) { if (0xf < (local_174->gfxFilename)._capacity) { - psVar19 = *(std_string **)psVar19->_buf; + psVar17 = *(std_string **)psVar17->_buf; } - std::string::assign(psVar19,(local_174->gfxFilename)._size); + std::string::assign(psVar17,(local_174->gfxFilename)._size); } - if ((pIVar8->addMaxhearts == 0) || (pIVar8->addMaxhearts == 5)) { - bVar10 = Entity_Player::HasCollectible(local_178,0x1c3,0); + if ((pIVar6->addMaxhearts == 0) || (pIVar6->addMaxhearts == 5)) { + bVar8 = Entity_Player::HasCollectible(local_178,0x1c3,0); local_1a8 = (undefined1 *)((uint)local_1a8 & 0xff); - if (bVar10 != 0) { + if (bVar8 != 0) { local_1a8 = (undefined1 *)0x1; } } LAB_00848147: local_16d = '\0'; } - else if (iVar15 == 0) { + else if (iVar13 == 0) { if (local_178->_pocketSlots[0] != 0) { - uVar12 = local_178->_pocketSlots[0] & 0x7ff; + uVar10 = local_178->_pocketSlots[0] & 0x7ff; local_18c = &g_game->_itemPool; - uVar29 = -(uint)(uVar12 != 0) & uVar12; - uVar11 = 0xe; - if (uVar29 < 0xe) { - uVar11 = uVar29; + uVar27 = -(uint)(uVar10 != 0) & uVar10; + uVar9 = 0xe; + if (uVar27 < 0xe) { + uVar9 = uVar27; } - if (*(char *)((int)(local_18c + 1) + uVar11 + 0x3c) == '\0') { + if (*(char *)((int)(local_18c + 1) + uVar9 + 0x3c) == '\0') { local_16d = '\0'; StringTable::get_string - ("PocketItems",g_manager->_stringTable,"QUESTION_MARKS_NAME",&local_16d); + ("PocketItems",*(undefined4 *)&g_manager->_stringTable,"QUESTION_MARKS_NAME", + &local_16d); if (local_16d == '\0') { local_16e = '\0'; - pcVar18 = (char *)StringTable::get_string - ("PocketItems",pMVar6->_stringTable,"QUESTION_MARKS_NAME", - &local_16e); + pcVar16 = (char *)StringTable::get_string + ("PocketItems",*(undefined4 *)&pMVar4->_stringTable, + "QUESTION_MARKS_NAME",&local_16e); } else { - pcVar18 = "#QUESTION_MARKS_NAME"; + pcVar16 = "#QUESTION_MARKS_NAME"; } - pcVar25 = pcVar18; + pcVar23 = pcVar16; do { - cVar9 = *pcVar25; - pcVar25 = pcVar25 + 1; - } while (cVar9 != '\0'); - std::string::assign(pcVar18,(int)pcVar25 - (int)(pcVar18 + 1)); + cVar7 = *pcVar23; + pcVar23 = pcVar23 + 1; + } while (cVar7 != '\0'); + std::string::assign(pcVar16,(int)pcVar23 - (int)(pcVar16 + 1)); } else { - iVar15 = ItemPool::GetPillEffect(local_18c,uVar12,local_178); - if (((-1 < iVar15) && - (pvVar14 = (pMVar6->_itemConfig)._pillEffects._begin, - iVar15 < (int)(pMVar6->_itemConfig)._pillEffects._end - (int)pvVar14 >> 2)) && - (*(int *)((int)pvVar14 + iVar15 * 4) != 0)) { - pppppcVar17 = (char *****)PocketItemConfig::GetName(local_128,0x14); - if (&local_110 != (char ******)pppppcVar17) { + iVar13 = ItemPool::GetPillEffect(local_18c,uVar10,local_178); + if (((-1 < iVar13) && + (pvVar12 = (pMVar4->_itemConfig)._pillEffects._begin, + iVar13 < (int)(pMVar4->_itemConfig)._pillEffects._end - (int)pvVar12 >> 2)) && + (*(int *)((int)pvVar12 + iVar13 * 4) != 0)) { + pppppcVar15 = (char *****)PocketItemConfig::GetName(local_128,0x14); + if (&local_110 != (char ******)pppppcVar15) { if (0xf < local_100._4_4_) { - uVar11 = local_100._4_4_ + 1; - pppppcVar27 = local_110; - if (0xfff < uVar11) { - pppppcVar27 = (char *****)local_110[-1]; - uVar11 = local_100._4_4_ + 0x24; - if ((char *)0x1f < (char *)((int)local_110 + (-4 - (int)pppppcVar27))) + uVar9 = local_100._4_4_ + 1; + pppppcVar25 = local_110; + if (0xfff < uVar9) { + pppppcVar25 = (char *****)local_110[-1]; + uVar9 = local_100._4_4_ + 0x24; + if ((char *)0x1f < (char *)((int)local_110 + (-4 - (int)pppppcVar25))) goto LAB_00847b85; } - operator_delete(pppppcVar27,uVar11); + operator_delete(pppppcVar25,uVar9); } - local_110 = (char *****)*pppppcVar17; - ppppcStack_10c = pppppcVar17[1]; - ppppcStack_108 = pppppcVar17[2]; - ppppcStack_104 = pppppcVar17[3]; - local_100 = *(longlong *)(pppppcVar17 + 4); - pppppcVar17[4] = (char ****)0x0; - pppppcVar17[5] = (char ****)0xf; - *(undefined1 *)pppppcVar17 = 0; + local_110 = (char *****)*pppppcVar15; + ppppcStack_10c = pppppcVar15[1]; + ppppcStack_108 = pppppcVar15[2]; + ppppcStack_104 = pppppcVar15[3]; + local_100 = *(longlong *)(pppppcVar15 + 4); + pppppcVar15[4] = (char ****)0x0; + pppppcVar15[5] = (char ****)0xf; + *(undefined1 *)pppppcVar15 = 0; } if (0xf < local_114) { - uVar29 = local_114 + 1; - uVar11 = local_128[0]; - if (0xfff < uVar29) { - uVar11 = *(uint *)(local_128[0] - 4); - uVar29 = local_114 + 0x24; - if (0x1f < (local_128[0] - uVar11) - 4) goto LAB_00847b85; + uVar27 = local_114 + 1; + uVar9 = local_128[0]; + if (0xfff < uVar27) { + uVar9 = *(uint *)(local_128[0] - 4); + uVar27 = local_114 + 0x24; + if (0x1f < (local_128[0] - uVar9) - 4) goto LAB_00847b85; } - operator_delete(uVar11,uVar29); + operator_delete(uVar9,uVar27); } local_118 = 0; local_114 = 0xf; @@ -636610,105 +637500,105 @@ LAB_00848147: goto LAB_00848147; } } - else if ((iVar15 == 2) && (iVar15 = local_178->_pocketSlots[0], iVar15 != 0)) { - if (iVar15 - 1U < 4) { - pIVar23 = *(ItemPool **)((iVar15 + 0xab) * 0x20 + (int)in_ECX->_player); + else if ((iVar13 == 2) && (iVar13 = local_178->_pocketSlots[0], iVar13 != 0)) { + if (iVar13 - 1U < 4) { + pIVar21 = *(ItemPool **)((iVar13 + 0xab) * 0x20 + (int)in_ECX->_player); } else { - pIVar23 = (ItemPool *)0x0; + pIVar21 = (ItemPool *)0x0; } if (g_game == (Game *)0x0) { - if (-1 < (int)pIVar23) goto LAB_00847eed; + if (-1 < (int)pIVar21) goto LAB_00847eed; } else { - if ((int)pIVar23 < 0) { - pIVar24 = (ItemPool *)~(uint)pIVar23; - if (((int)pIVar23 < 0) && - (pvVar14 = (g_game->_proceduralItemManager)._proceduralItems._begin, - (int)pIVar24 < - (int)(g_game->_proceduralItemManager)._proceduralItems._end - (int)pvVar14 >> 2)) { - local_174 = (ItemConfig_Item *)**(uint **)((int)pvVar14 + (int)pIVar24 * 4); - pIVar23 = pIVar24; + if ((int)pIVar21 < 0) { + pIVar22 = (ItemPool *)~(uint)pIVar21; + if (((int)pIVar21 < 0) && + (pvVar12 = (g_game->_proceduralItemManager)._proceduralItems._begin, + (int)pIVar22 < + (int)(g_game->_proceduralItemManager)._proceduralItems._end - (int)pvVar12 >> 2)) { + local_174 = (ItemConfig_Item *)**(uint **)((int)pvVar12 + (int)pIVar22 * 4); + pIVar21 = pIVar22; } else { local_174 = (ItemConfig_Item *)0x0; - pIVar23 = pIVar24; + pIVar21 = pIVar22; } } else { LAB_00847eed: - pvVar14 = (g_manager->_itemConfig)._collectibles._begin; - if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar14 >> 2 <= (int)pIVar23) + pvVar12 = (g_manager->_itemConfig)._collectibles._begin; + if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar12 >> 2 <= (int)pIVar21) goto LAB_0084814e; - local_174 = *(ItemConfig_Item **)((int)pvVar14 + (int)pIVar23 * 4); + local_174 = *(ItemConfig_Item **)((int)pvVar12 + (int)pIVar21 * 4); } if (local_174 != (ItemConfig_Item *)0x0) { - NVar16 = g_manager->_netplayManager; - if (NVar16 != *(NetplayManager *)(g_manager + 1)) { - pIVar23 = (ItemPool *)0x0; - local_18c = (ItemPool *)((int)*(NetplayManager *)(g_manager + 1) - (int)NVar16 >> 2); + NVar14 = g_manager->_netplayManager; + if (NVar14 != *(NetplayManager *)(g_manager + 1)) { + pIVar21 = (ItemPool *)0x0; + local_18c = (ItemPool *)((int)*(NetplayManager *)(g_manager + 1) - (int)NVar14 >> 2); if (local_18c != (ItemPool *)0x0) { do { - if (*(int *)(*(int *)NVar16 + 0xc) == local_178->_controllerIndex) { - cVar9 = (**(code **)(*(int *)(*(int *)NVar16 + 0x370) + 0x14))(uVar11); - pIVar23 = extraout_ECX_03; - if (cVar9 == '\0') goto LAB_00847f9e; + if (*(int *)(*(int *)NVar14 + 0xc) == local_178->_controllerIndex) { + cVar7 = (**(code **)(*(int *)(*(int *)NVar14 + 0x370) + 0x14))(uVar9); + pIVar21 = extraout_ECX_03; + if (cVar7 == '\0') goto LAB_00847f9e; break; } - pIVar23 = (ItemPool *)(((std_string *)&pIVar23->_seed)->_buf + 1); - NVar16 = (NetplayManager)((int)NVar16 + 4); - } while (pIVar23 < local_18c); - in_ECX = pPVar28; + pIVar21 = (ItemPool *)(((std_string *)&pIVar21->_seed)->_buf + 1); + NVar14 = (NetplayManager)((int)NVar14 + 4); + } while (pIVar21 < local_18c); + in_ECX = pPVar26; } } - pIVar8 = local_174; - cVar9 = input_is_action_pressed(0xd,local_178->_controllerIndex,0,pIVar23); - pPVar28 = in_ECX; - if (cVar9 == '\0') { + pIVar6 = local_174; + cVar7 = input_is_action_pressed(0xd,local_178->_controllerIndex,0,pIVar21); + pPVar26 = in_ECX; + if (cVar7 == '\0') { LAB_00847f9e: - pppppcVar17 = (char *****)ItemConfig_Item::GetLocalizedName(local_174,local_128,0x14); + pppppcVar15 = (char *****)ItemConfig_Item::GetLocalizedName(local_174,local_128,0x14); local_174 = (ItemConfig_Item *)0x2; - in_ECX = pPVar28; + in_ECX = pPVar26; } else { - pppppcVar17 = (char *****) + pppppcVar15 = (char *****) ItemConfig_Item::get_localized_description - (pIVar8,&local_140,extraout_ECX_04); + (pIVar6,&local_140,extraout_ECX_04); local_14 = CONCAT31(local_14._1_3_,2); local_174 = (ItemConfig_Item *)0x1; } - if (&local_110 != (char ******)pppppcVar17) { + if (&local_110 != (char ******)pppppcVar15) { if (0xf < local_100._4_4_) { - uVar11 = local_100._4_4_ + 1; - pppppcVar27 = local_110; - if (0xfff < uVar11) { - pppppcVar27 = (char *****)local_110[-1]; - uVar11 = local_100._4_4_ + 0x24; - if ((char *)0x1f < (char *)((int)local_110 + (-4 - (int)pppppcVar27))) + uVar9 = local_100._4_4_ + 1; + pppppcVar25 = local_110; + if (0xfff < uVar9) { + pppppcVar25 = (char *****)local_110[-1]; + uVar9 = local_100._4_4_ + 0x24; + if ((char *)0x1f < (char *)((int)local_110 + (-4 - (int)pppppcVar25))) goto LAB_00847b85; } - operator_delete(pppppcVar27,uVar11); + operator_delete(pppppcVar25,uVar9); } - local_110 = (char *****)*pppppcVar17; - ppppcStack_10c = pppppcVar17[1]; - ppppcStack_108 = pppppcVar17[2]; - ppppcStack_104 = pppppcVar17[3]; - local_100 = *(longlong *)(pppppcVar17 + 4); - pppppcVar17[4] = (char ****)0x0; - pppppcVar17[5] = (char ****)0xf; - *(undefined1 *)pppppcVar17 = 0; + local_110 = (char *****)*pppppcVar15; + ppppcStack_10c = pppppcVar15[1]; + ppppcStack_108 = pppppcVar15[2]; + ppppcStack_104 = pppppcVar15[3]; + local_100 = *(longlong *)(pppppcVar15 + 4); + pppppcVar15[4] = (char ****)0x0; + pppppcVar15[5] = (char ****)0xf; + *(undefined1 *)pppppcVar15 = 0; } if (((uint)local_174 & 2) != 0) { local_174 = (ItemConfig_Item *)((uint)local_174 & 0xfffffffd); if (0xf < local_114) { - uVar29 = local_114 + 1; - uVar11 = local_128[0]; - if (0xfff < uVar29) { - uVar11 = *(uint *)(local_128[0] - 4); - uVar29 = local_114 + 0x24; - if (0x1f < (local_128[0] - uVar11) - 4) goto LAB_00847b85; + uVar27 = local_114 + 1; + uVar9 = local_128[0]; + if (0xfff < uVar27) { + uVar9 = *(uint *)(local_128[0] - 4); + uVar27 = local_114 + 0x24; + if (0x1f < (local_128[0] - uVar9) - 4) goto LAB_00847b85; } - operator_delete(uVar11,uVar29); + operator_delete(uVar9,uVar27); } local_118 = 0; local_114 = 0xf; @@ -636717,14 +637607,14 @@ LAB_00847f9e: local_14 = 1; if (((uint)local_174 & 1) != 0) { if (0xf < local_12c) { - uVar29 = local_12c + 1; - uVar11 = local_140; - if (0xfff < uVar29) { - uVar11 = *(uint *)(local_140 - 4); - uVar29 = local_12c + 0x24; - if (0x1f < (local_140 - uVar11) - 4) goto LAB_00847b85; + uVar27 = local_12c + 1; + uVar9 = local_140; + if (0xfff < uVar27) { + uVar9 = *(uint *)(local_140 - 4); + uVar27 = local_12c + 0x24; + if (0x1f < (local_140 - uVar9) - 4) goto LAB_00847b85; } - operator_delete(uVar11,uVar29); + operator_delete(uVar9,uVar27); } local_130 = 0; local_12c = 0xf; @@ -636736,43 +637626,45 @@ LAB_00847f9e: } } LAB_0084814e: - pGVar5 = g_game; + pGVar3 = g_game; local_18c = (ItemPool *)&DAT_0000001d; std::set::find_node(&local_1d0,&local_18c); if ((*(char *)((int)local_1c8 + 0xd) != '\0') || - (pvVar14 = local_1c8, 0x1d < *(int *)((int)local_1c8 + 0x10))) { - pvVar14 = (pGVar5->_seedEffects)._seedEffects; + (pvVar12 = local_1c8, 0x1d < *(int *)((int)local_1c8 + 0x10))) { + pvVar12 = (pGVar3->_seedEffects)._seedEffects; } - if ((pvVar14 == (pGVar5->_seedEffects)._seedEffects) || (local_178->_pocketSlots[1] != 0)) { + if ((pvVar12 == (pGVar3->_seedEffects)._seedEffects) || (local_178->_pocketSlots[1] != 0)) { local_18c = (ItemPool *)0x1e; std::set::find_node(&local_1d0,&local_18c); if ((*(char *)((int)local_1c8 + 0xd) == '\0') && (((*(int *)((int)local_1c8 + 0x10) < 0x1f && - (local_1c8 != (pGVar5->_seedEffects)._seedEffects)) && (local_178->_pocketSlots[1] == 1)))) + (local_1c8 != (pGVar3->_seedEffects)._seedEffects)) && (local_178->_pocketSlots[1] == 1)))) goto LAB_00848202; } else { LAB_00848202: - pMVar6 = g_manager; + pMVar4 = g_manager; local_16e = '\0'; - StringTable::get_string("PocketItems",g_manager->_stringTable,"QUESTION_MARKS_NAME",&local_16e); + StringTable::get_string + ("PocketItems",*(undefined4 *)&g_manager->_stringTable,"QUESTION_MARKS_NAME", + &local_16e); if (local_16e == '\0') { local_16e = '\0'; - pcVar18 = (char *)StringTable::get_string - ("PocketItems",pMVar6->_stringTable,"QUESTION_MARKS_NAME", - &local_16e); + pcVar16 = (char *)StringTable::get_string + ("PocketItems",*(undefined4 *)&pMVar4->_stringTable, + "QUESTION_MARKS_NAME",&local_16e); } else { - pcVar18 = "#QUESTION_MARKS_NAME"; + pcVar16 = "#QUESTION_MARKS_NAME"; } - pcVar25 = pcVar18; + pcVar23 = pcVar16; do { - cVar9 = *pcVar25; - pcVar25 = pcVar25 + 1; - } while (cVar9 != '\0'); - std::string::assign(pcVar18,(int)pcVar25 - (int)(pcVar18 + 1)); + cVar7 = *pcVar23; + pcVar23 = pcVar23 + 1; + } while (cVar7 != '\0'); + std::string::assign(pcVar16,(int)pcVar23 - (int)(pcVar16 + 1)); } - pEVar7 = local_178; + pEVar5 = local_178; if (local_16d == '\0') { local_174 = (ItemConfig_Item *)0xc1800000; if (param_2 != 0) { @@ -636783,8 +637675,8 @@ LAB_00848202: if (local_179 == '\0') { local_1a0 = 0xc1200000; if (in_ECX->field_0x341 != '\0') { - bVar10 = ANM2::SetAnimation((ANM2 *)&in_ECX->field_0x238,&DAT_00b6b338,1); - if (((bVar10 != 0) && (*(int *)&in_ECX->field_0x26c != 0)) && + bVar8 = ANM2::SetAnimation((ANM2 *)&in_ECX->field_0x238,&DAT_00b6b338,1); + if (((bVar8 != 0) && (*(int *)&in_ECX->field_0x26c != 0)) && (AnimationState::SetFrameFloat((AnimationState *)&in_ECX->field_0x268), *(int *)&in_ECX->field_0x26c != 0)) { in_ECX->field_0x27c = 0; @@ -636797,79 +637689,82 @@ LAB_00848202: else { if ((char)local_1a8 != '\0') { local_1b4 = (PlayerHUD *)((float)g_game->_frameCount * 0.2); - fVar31 = (float)local_1b4 + 0.5; + fVar29 = (float)local_1b4 + 0.5; sin(); - local_18c = (ItemPool *)(fVar31 * 0.17 + 0.17); - fVar31 = (float)local_1b4 + 0.25; + local_18c = (ItemPool *)(fVar29 * 0.17 + 0.17); + fVar29 = (float)local_1b4 + 0.25; sin(); - local_198 = (ItemPool *)(fVar31 * 0.1 + 0.1); - fVar31 = (float)local_1b4 + 0.0; + local_198 = (ItemPool *)(fVar29 * 0.1 + 0.1); + fVar29 = (float)local_1b4 + 0.0; sin(); - local_1b4 = (PlayerHUD *)(fVar31 * 0.25 + 0.25); + local_1b4 = (PlayerHUD *)(fVar29 * 0.25 + 0.25); Color::Reset(); fStack_1fc = local_1bc; local_1e8 = local_18c; - puVar26 = &local_1a4->_pools[3].field_0x8; + ppvVar24 = &local_1a4->_pools[3]._poolList._end; pIStack_1e4 = local_198; local_208 = 0x3f800000; uStack_204 = 0x3f800000; uStack_200 = 0x3f800000; local_1e0 = local_1b4; - if ((int *)puVar26 != &local_208) { - *(undefined4 *)puVar26 = 0x3f800000; - *(undefined4 *)&local_1a4->_pools[3].field_0xc = 0x3f800000; - *(undefined4 *)&local_1a4->_pools[3].field_0x10 = 0x3f800000; - *(float *)&local_1a4->_pools[3].field_0x14 = local_1bc; - *(undefined4 *)&local_1a4->_pools[3].field_0x18 = local_1f8; - *(undefined4 *)&local_1a4->_pools[3].field_0x1c = uStack_1f4; - *(undefined4 *)&local_1a4->_pools[3].field_0x20 = uStack_1f0; - *(undefined4 *)&local_1a4->_pools[3].field_0x24 = uStack_1ec; - *(ulonglong *)&local_1a4->_pools[3].field_0x28 = CONCAT44(local_198,local_18c); + if (ppvVar24 != (void **)&local_208) { + *ppvVar24 = (void *)0x3f800000; + local_1a4->_pools[3]._poolList._capacity = (void *)0x3f800000; + local_1a4->_pools[3]._rng1._seed = 0x3f800000; + local_1a4->_pools[3]._rng1._shift1 = (int)local_1bc; + local_1a4->_pools[3]._rng1._shift2 = local_1f8; + local_1a4->_pools[3]._rng1._shift3 = iStack_1f4; + local_1a4->_pools[3]._rng2._seed = iStack_1f0; + local_1a4->_pools[3]._rng2._shift1 = iStack_1ec; + local_1a4->_pools[3]._rng2._shift2 = (int)local_18c; + local_1a4->_pools[3]._rng2._shift3 = (int)local_198; local_1a4->_pools[3]._bibleUpgrade = (int)local_1b4; } } local_1b0.x = local_184 + local_1b8; local_1b0.y = local_188 + 0.0; if (local_199 == '\0') { - pIVar23 = local_1a4; + pIVar21 = local_1a4; LAB_00848726: - ANM2::Render((ANM2 *)pIVar23,&local_1b0,&g_vectorZero,&g_vectorZero); + ANM2::Render((ANM2 *)pIVar21,&local_1b0,&g_vectorZero,&g_vectorZero); } else { - iVar15 = pEVar7->_pocketSlots[0]; - if (((-1 < iVar15) && - (pvVar14 = (g_manager->_itemConfig)._cards._begin, - iVar15 < (int)(g_manager->_itemConfig)._cards._end - (int)pvVar14 >> 2)) && - ((iVar15 = *(int *)((int)pvVar14 + iVar15 * 4), iVar15 != 0 && - (*(ANM2 **)(iVar15 + 0x6c) != (ANM2 *)0x0)))) { - anim = (byte *)(iVar15 + 0x38); - if (0xf < *(uint *)(iVar15 + 0x4c)) { + iVar13 = pEVar5->_pocketSlots[0]; + if (((-1 < iVar13) && + (pvVar12 = (g_manager->_itemConfig)._cards._begin, + iVar13 < (int)(g_manager->_itemConfig)._cards._end - (int)pvVar12 >> 2)) && + ((iVar13 = *(int *)((int)pvVar12 + iVar13 * 4), iVar13 != 0 && + (*(ANM2 **)(iVar13 + 0x6c) != (ANM2 *)0x0)))) { + anim = (byte *)(iVar13 + 0x38); + if (0xf < *(uint *)(iVar13 + 0x4c)) { anim = *(byte **)anim; } - ANM2::Play(*(ANM2 **)(iVar15 + 0x6c),anim,0); - pIVar23 = *(ItemPool **)(iVar15 + 0x6c); + ANM2::Play(*(ANM2 **)(iVar13 + 0x6c),anim,0); + pIVar21 = *(ItemPool **)(iVar13 + 0x6c); goto LAB_00848726; } } - puVar20 = (undefined4 *)Color::Color(); - puVar26 = &local_1a4->_pools[3].field_0x8; - if ((undefined4 *)puVar26 != puVar20) { - uVar2 = puVar20[1]; - uVar3 = puVar20[2]; - uVar4 = puVar20[3]; - *(undefined4 *)puVar26 = *puVar20; - *(undefined4 *)&local_1a4->_pools[3].field_0xc = uVar2; - *(undefined4 *)&local_1a4->_pools[3].field_0x10 = uVar3; - *(undefined4 *)&local_1a4->_pools[3].field_0x14 = uVar4; - uVar2 = puVar20[5]; - uVar3 = puVar20[6]; - uVar4 = puVar20[7]; - *(undefined4 *)&local_1a4->_pools[3].field_0x18 = puVar20[4]; - *(undefined4 *)&local_1a4->_pools[3].field_0x1c = uVar2; - *(undefined4 *)&local_1a4->_pools[3].field_0x20 = uVar3; - *(undefined4 *)&local_1a4->_pools[3].field_0x24 = uVar4; - *(undefined8 *)&local_1a4->_pools[3].field_0x28 = *(undefined8 *)(puVar20 + 8); - local_1a4->_pools[3]._bibleUpgrade = puVar20[10]; + puVar18 = (undefined4 *)Color::Color(); + ppvVar24 = &local_1a4->_pools[3]._poolList._end; + if (ppvVar24 != (void **)puVar18) { + pvVar12 = (void *)puVar18[1]; + iVar13 = puVar18[2]; + iVar11 = puVar18[3]; + *ppvVar24 = (void *)*puVar18; + local_1a4->_pools[3]._poolList._capacity = pvVar12; + local_1a4->_pools[3]._rng1._seed = iVar13; + local_1a4->_pools[3]._rng1._shift1 = iVar11; + iVar13 = puVar18[5]; + iVar11 = puVar18[6]; + iVar20 = puVar18[7]; + local_1a4->_pools[3]._rng1._shift2 = puVar18[4]; + local_1a4->_pools[3]._rng1._shift3 = iVar13; + local_1a4->_pools[3]._rng2._seed = iVar11; + local_1a4->_pools[3]._rng2._shift1 = iVar20; + uVar1 = *(undefined8 *)(puVar18 + 8); + local_1a4->_pools[3]._rng2._shift2 = (int)uVar1; + local_1a4->_pools[3]._rng2._shift3 = (int)((ulonglong)uVar1 >> 0x20); + local_1a4->_pools[3]._bibleUpgrade = puVar18[10]; } local_1a0 = 0xc1200000; } @@ -636882,13 +637777,13 @@ LAB_00848726: local_1a0 = 0xc1200000; if ((local_194 < 4) && (*(int *)((local_194 + 0xac) * 0x20 + (int)in_ECX->_player) == 0x2c6)) { - pppppcVar17 = (char *****)&local_110; + pppppcVar15 = (char *****)&local_110; if (0xf < local_100._4_4_) { - pppppcVar17 = local_110; + pppppcVar15 = local_110; } local_100 = (ulonglong)local_100._4_4_ << 0x20; local_1c4.y = local_180 * -3.0 + local_188; - *(char *)pppppcVar17 = '\0'; + *(char *)pppppcVar15 = '\0'; local_1c4.x = ((float)local_174 - 14.0) * local_180 + local_184; RenderCraftingTable(&local_1c4); } @@ -636900,54 +637795,54 @@ LAB_00848726: RenderActiveItem(in_ECX,local_194,&local_1b0,param_2,local_180,local_1bc,0); if ((local_194 < 4) && (*(int *)((local_194 + 0xac) * 0x20 + (int)in_ECX->_player) == 0x2c6)) { - pppppcVar17 = (char *****)&local_110; + pppppcVar15 = (char *****)&local_110; if (0xf < local_100._4_4_) { - pppppcVar17 = local_110; + pppppcVar15 = local_110; } local_100 = (ulonglong)local_100._4_4_ << 0x20; local_1c4.y = local_180 * 27.0 + local_188; - *(char *)pppppcVar17 = '\0'; + *(char *)pppppcVar15 = '\0'; local_1c4.x = ((float)local_174 + 50.0) * local_180 + local_184; RenderCraftingTable(&local_1c4); } } if ((int)local_100 != 0) { - cVar9 = Game::IsInTimedSet(9); - if (cVar9 != '\0') { + cVar7 = Game::IsInTimedSet(9); + if (cVar7 != '\0') { std::string::string(&local_110); - pppppcVar17 = (char *****)string_scramble_seeded(); - if (&local_110 != (char ******)pppppcVar17) { + pppppcVar15 = (char *****)string_scramble_seeded(); + if (&local_110 != (char ******)pppppcVar15) { if (0xf < local_100._4_4_) { - uVar11 = local_100._4_4_ + 1; - pppppcVar27 = local_110; - if (0xfff < uVar11) { - pppppcVar27 = (char *****)local_110[-1]; - uVar11 = local_100._4_4_ + 0x24; - if ((char *)0x1f < (char *)((int)local_110 + (-4 - (int)pppppcVar27))) + uVar9 = local_100._4_4_ + 1; + pppppcVar25 = local_110; + if (0xfff < uVar9) { + pppppcVar25 = (char *****)local_110[-1]; + uVar9 = local_100._4_4_ + 0x24; + if ((char *)0x1f < (char *)((int)local_110 + (-4 - (int)pppppcVar25))) goto LAB_00847b85; } - operator_delete(pppppcVar27,uVar11); + operator_delete(pppppcVar25,uVar9); } - local_110 = (char *****)*pppppcVar17; - ppppcStack_10c = pppppcVar17[1]; - ppppcStack_108 = pppppcVar17[2]; - ppppcStack_104 = pppppcVar17[3]; - local_100 = *(longlong *)(pppppcVar17 + 4); - pppppcVar17[4] = (char ****)0x0; - pppppcVar17[5] = (char ****)0xf; - *(undefined1 *)pppppcVar17 = 0; + local_110 = (char *****)*pppppcVar15; + ppppcStack_10c = pppppcVar15[1]; + ppppcStack_108 = pppppcVar15[2]; + ppppcStack_104 = pppppcVar15[3]; + local_100 = *(longlong *)(pppppcVar15 + 4); + pppppcVar15[4] = (char ****)0x0; + pppppcVar15[5] = (char ****)0xf; + *(undefined1 *)pppppcVar15 = 0; } std::string::_Tidy_deallocate(); } - pppppcVar17 = (char *****)&local_110; - if ((local_100._4_4_ < 0x10) || (pppppcVar17 = local_110, local_110 != (char *****)0x0)) { + pppppcVar15 = (char *****)&local_110; + if ((local_100._4_4_ < 0x10) || (pppppcVar15 = local_110, local_110 != (char *****)0x0)) { do { - cVar9 = *(char *)pppppcVar17; - pppppcVar17 = (char *****)((int)pppppcVar17 + 1); - } while (cVar9 != '\0'); + cVar7 = *(char *)pppppcVar15; + pppppcVar15 = (char *****)((int)pppppcVar15 + 1); + } while (cVar7 != '\0'); } text_convert_encoding(0,local_f8,0x65,1); - fVar31 = local_180; + fVar29 = local_180; if (param_2 == 0) { Font::get_string_width_utf16 (&g_manager->_font9_PFTempestaSevenCondensedAgain,local_f8,0xffffffff); @@ -636971,7 +637866,7 @@ LAB_008489ef: local_1d4 = 0x3f800000; local_1d0 = 0x3f800000; local_1cc = local_1bc; - Font::draw_string_wide(local_f8,fVar31,fVar31,&local_1d8,&local_144); + Font::draw_string_wide(local_f8,fVar29,fVar29,&local_1d8,&local_144); } } local_1a4->_pools[2]._bibleUpgrade = (int)g_vectorOne.x; @@ -636989,28 +637884,28 @@ LAB_008489ef: *(float *)&in_ECX->field_0x62c = g_vectorOne.y; *(undefined4 *)&in_ECX->field_0x640 = 0x3f800000; if (0xf < local_158) { - uVar11 = local_158 + 1; - iVar15 = local_16c[0]; - if (0xfff < uVar11) { - iVar15 = *(int *)(local_16c[0] + -4); - uVar11 = local_158 + 0x24; - if (0x1f < (local_16c[0] - iVar15) - 4U) goto LAB_00847b85; + uVar9 = local_158 + 1; + iVar13 = local_16c[0]; + if (0xfff < uVar9) { + iVar13 = *(int *)(local_16c[0] + -4); + uVar9 = local_158 + 0x24; + if (0x1f < (local_16c[0] - iVar13) - 4U) goto LAB_00847b85; } - operator_delete(iVar15,uVar11); + operator_delete(iVar13,uVar9); } if (0xf < local_100._4_4_) { - uVar11 = local_100._4_4_ + 1; - pppppcVar17 = local_110; - if (0xfff < uVar11) { - pppppcVar17 = (char *****)local_110[-1]; - uVar11 = local_100._4_4_ + 0x24; - if ((char *)0x1f < (char *)((int)local_110 + (-4 - (int)pppppcVar17))) { + uVar9 = local_100._4_4_ + 1; + pppppcVar15 = local_110; + if (0xfff < uVar9) { + pppppcVar15 = (char *****)local_110[-1]; + uVar9 = local_100._4_4_ + 0x24; + if ((char *)0x1f < (char *)((int)local_110 + (-4 - (int)pppppcVar15))) { LAB_00847b85: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pppppcVar17,uVar11); + operator_delete(pppppcVar15,uVar9); } ExceptionList = local_1c; return; @@ -637327,7 +638222,7 @@ void PlayerHUD::render_inventory(float *param_1) else { pLVar4 = ANM2::GetLayer((ANM2 *)(in_ECX[1] + 22000),(byte *)0x0); local_68 = local_78 * 0.25; - *(undefined4 *)&pLVar4->field_0x54 = 0x3f000000; + (pLVar4->_color)._tint[3] = 0.5; iVar5 = in_ECX[1]; local_90.x = local_68 + local_70; local_90.y = local_68 + local_74; @@ -640553,11 +641448,14 @@ void FUN_0084dbc0(void) } -//@@ 0084dc00 FUN_0084dc00 +//@@ 0084dc00 StatsPanel::add_stat_line /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: called 4x from each StatsPanel::set (lines Speed/Tears/Damage/Range/Shot Speed); formats the + delta as '+%.2f' (green) or '%.2f' (red), + InfoDisplayText::constructor, pushes a 104-byte InfoDisplayEntry into the vector at +0x20 */ -void FUN_0084dc00(void) +void StatsPanel::add_stat_line(void) { char cVar1; @@ -640740,7 +641638,7 @@ void StatsPanel::set(int param_1,undefined4 param_2) local_1c = 6; local_2c = CONCAT17(local_2c._7_1_,0x646565705320); local_8 = 0; - FUN_0084dc00(&local_2c); + add_stat_line(&local_2c); local_8 = 0xffffffff; if (0xf < local_18) { uVar1 = local_18 + 1; @@ -640756,7 +641654,7 @@ void StatsPanel::set(int param_1,undefined4 param_2) local_1c = 6; local_2c = CONCAT17(local_2c._7_1_,0x737261655420); local_8 = 1; - FUN_0084dc00(&local_2c); + add_stat_line(&local_2c); local_8 = 0xffffffff; if (0xf < local_18) { uVar1 = local_18 + 1; @@ -640772,7 +641670,7 @@ void StatsPanel::set(int param_1,undefined4 param_2) local_1c = 7; local_2c = 0x6567616d614420; local_8 = 2; - FUN_0084dc00(&local_2c); + add_stat_line(&local_2c); local_8 = 0xffffffff; if (0xf < local_18) { uVar1 = local_18 + 1; @@ -640788,7 +641686,7 @@ void StatsPanel::set(int param_1,undefined4 param_2) local_1c = 6; local_2c = CONCAT17(local_2c._7_1_,0x65676e615220); local_8 = 3; - FUN_0084dc00(&local_2c); + add_stat_line(&local_2c); local_8 = 0xffffffff; if (0xf < local_18) { uVar1 = local_18 + 1; @@ -640807,7 +641705,7 @@ void StatsPanel::set(int param_1,undefined4 param_2) local_22 = 100; local_21 = 0; local_8 = 4; - FUN_0084dc00(&local_2c); + add_stat_line(&local_2c); local_8 = 0xffffffff; if (0xf < local_18) { uVar1 = local_18 + 1; @@ -640823,7 +641721,7 @@ void StatsPanel::set(int param_1,undefined4 param_2) local_1c = 5; local_2c = CONCAT26(local_2c._6_2_,0x6b63754c20); local_8 = 5; - FUN_0084dc00(&local_2c); + add_stat_line(&local_2c); if (0xf < local_18) { uVar1 = local_18 + 1; iVar3 = (int)local_2c; @@ -640904,7 +641802,7 @@ void StatsPanel::set(int param_1,undefined4 param_2) local_2c = 6; local_3c = CONCAT17(local_3c._7_1_,0x646565705320); local_14 = 0; - FUN_0084dc00(&local_3c); + add_stat_line(&local_3c); local_14 = 0xffffffff; if (0xf < local_28) { uVar2 = local_28 + 1; @@ -640920,7 +641818,7 @@ void StatsPanel::set(int param_1,undefined4 param_2) local_2c = 6; local_3c = CONCAT17(local_3c._7_1_,0x737261655420); local_14 = 1; - FUN_0084dc00(&local_3c); + add_stat_line(&local_3c); local_14 = 0xffffffff; if (0xf < local_28) { uVar2 = local_28 + 1; @@ -640936,7 +641834,7 @@ void StatsPanel::set(int param_1,undefined4 param_2) local_2c = 7; local_3c = 0x6567616d614420; local_14 = 2; - FUN_0084dc00(&local_3c); + add_stat_line(&local_3c); local_14 = 0xffffffff; if (0xf < local_28) { uVar2 = local_28 + 1; @@ -640952,7 +641850,7 @@ void StatsPanel::set(int param_1,undefined4 param_2) local_2c = 6; local_3c = CONCAT17(local_3c._7_1_,0x65676e615220); local_14 = 3; - FUN_0084dc00(&local_3c); + add_stat_line(&local_3c); local_14 = 0xffffffff; if (0xf < local_28) { uVar2 = local_28 + 1; @@ -640971,7 +641869,7 @@ void StatsPanel::set(int param_1,undefined4 param_2) local_32 = 100; local_31 = 0; local_14 = 4; - FUN_0084dc00(&local_3c); + add_stat_line(&local_3c); local_14 = 0xffffffff; if (0xf < local_28) { uVar2 = local_28 + 1; @@ -640987,7 +641885,7 @@ void StatsPanel::set(int param_1,undefined4 param_2) local_2c = 5; local_3c = CONCAT26(local_3c._6_2_,0x6b63754c20); local_14 = 5; - FUN_0084dc00(&local_3c); + add_stat_line(&local_3c); if (0xf < local_28) { uVar2 = local_28 + 1; iVar4 = (int)local_3c; @@ -648557,7 +649455,7 @@ void std::vector<104byte>::assign(int param_1,int param_2) uVar5 = (param_2 - param_1) / 0x68; uVar4 = (in_ECX[1] - iVar3) / 0x68; if (uVar5 <= uVar4) { - FUN_00856ba0(iVar3,uVar2); + copy<104byte>(iVar3,uVar2); FUN_00856840(); in_ECX[1] = uVar5 * 0x68 + iVar3; ExceptionList = local_10; @@ -648607,7 +649505,7 @@ void std::vector<104byte>::assign(int param_1,int param_2) uVar4 = 0; } param_1 = uVar4 * 0x68 + param_1; - FUN_00856ba0(iVar3,uVar2); + copy<104byte>(iVar3,uVar2); iVar3 = in_ECX[1]; local_8 = 0; for (; param_1 != param_2; param_1 = param_1 + 0x68) { @@ -648630,9 +649528,13 @@ void FUN_00856b90(void) } -//@@ 00856ba0 FUN_00856ba0 +//@@ 00856ba0 std::copy<104byte> -undefined4 * FUN_00856ba0(undefined4 *param_1) +/* DB: element-wise copy-assign loop over 0x68-byte elements (std::string::assign at +0, vector + reserve_clear+memmove at +0x18..); called by std::vector<104byte>::assign (0x8569a0, from + InfoDisplayEntry::operator_assign) */ + +undefined4 * std::copy<104byte>(undefined4 *param_1) { int *piVar1; @@ -648659,14 +649561,14 @@ undefined4 * FUN_00856ba0(undefined4 *param_1) if (0xf < (uint)piVar8[-5]) { puVar4 = (undefined4 *)*puVar4; } - std::string::assign(puVar4,piVar8[-6]); + string::assign(puVar4,piVar8[-6]); } if (piVar7 != piVar8 + -2) { pvVar2 = (void *)piVar8[-4]; param_1 = (undefined4 *)piVar7[-2]; sVar6 = piVar8[-3] - (int)pvVar2; if ((uint)(*piVar7 - (int)param_1 >> 2) < (uint)((int)sVar6 >> 2)) { - std::vector::reserve_clear((int)sVar6 >> 2); + vector::reserve_clear((int)sVar6 >> 2); param_1 = (undefined4 *)piVar7[-2]; } memmove(param_1,pvVar2,sVar6); @@ -648678,7 +649580,7 @@ undefined4 * FUN_00856ba0(undefined4 *param_1) sVar6 = *piVar8 - (int)pvVar2; param_1 = (undefined4 *)*piVar1; if ((uint)(piVar7[3] - (int)param_1 >> 2) < (uint)((int)sVar6 >> 2)) { - std::vector::reserve_clear((int)sVar6 >> 2); + vector::reserve_clear((int)sVar6 >> 2); param_1 = (undefined4 *)*piVar1; } memmove(param_1,pvVar2,sVar6); @@ -648690,7 +649592,7 @@ undefined4 * FUN_00856ba0(undefined4 *param_1) sVar6 = piVar8[3] - (int)pvVar2; param_1 = (undefined4 *)*piVar1; if ((uint)(piVar7[6] - (int)param_1 >> 2) < (uint)((int)sVar6 >> 2)) { - std::vector::reserve_clear((int)sVar6 >> 2); + vector::reserve_clear((int)sVar6 >> 2); param_1 = (undefined4 *)*piVar1; } memmove(param_1,pvVar2,sVar6); @@ -648702,7 +649604,7 @@ undefined4 * FUN_00856ba0(undefined4 *param_1) sVar6 = piVar8[6] - (int)pvVar2; param_1 = (undefined4 *)*piVar1; if ((uint)(piVar7[9] - (int)param_1 >> 2) < (uint)((int)sVar6 >> 2)) { - std::vector::reserve_clear((int)sVar6 >> 2); + vector::reserve_clear((int)sVar6 >> 2); param_1 = (undefined4 *)*piVar1; } memmove(param_1,pvVar2,sVar6); @@ -648714,7 +649616,7 @@ undefined4 * FUN_00856ba0(undefined4 *param_1) sVar6 = piVar8[9] - (int)pvVar2; param_1 = (undefined4 *)*piVar1; if ((uint)(piVar7[0xc] - (int)param_1 >> 2) < (uint)((int)sVar6 >> 2)) { - std::vector::reserve_clear((int)sVar6 >> 2); + vector::reserve_clear((int)sVar6 >> 2); param_1 = (undefined4 *)*piVar1; } memmove(param_1,pvVar2,sVar6); @@ -648726,7 +649628,7 @@ undefined4 * FUN_00856ba0(undefined4 *param_1) sVar6 = piVar8[0xc] - (int)pvVar2; param_1 = (undefined4 *)*piVar1; if ((uint)(piVar7[0xf] - (int)param_1 >> 2) < (uint)((int)sVar6 >> 2)) { - std::vector::reserve_clear((int)sVar6 >> 2); + vector::reserve_clear((int)sVar6 >> 2); param_1 = (undefined4 *)*piVar1; } memmove(param_1,pvVar2,sVar6); @@ -648881,7 +649783,7 @@ void Leaderboard::constructor(void) *(undefined4 *)(in_ECX + 0x25c) = 0; *(undefined4 *)(in_ECX + 0x264) = 0; *(undefined1 *)(in_ECX + 0x260) = 0; - ChallengeParam::Reset(); + ChallengeParam::Reset((ChallengeParam *)(in_ECX + 0x268)); ScoreSheet::ScoreSheet(); *(undefined2 *)(in_ECX + 0x3a8) = 0; ExceptionList = local_10; @@ -649207,8 +650109,8 @@ LAB_0085768c: in_ECX[1] = 0; LAB_0085769c: pMVar2 = g_manager; - g_manager->field_0x4aa70 = 0; - pMVar2->field_0x4aba0 = 0; + (g_manager->_popupButtons)._buttons[0]._isVisible = 0; + (pMVar2->_popupButtons)._buttons[1]._isVisible = 0; return; } @@ -649793,10 +650695,10 @@ LAB_00858172: *(ScoreSheet *)(this + 0x73) = ScoreSheet[0x23]; pMVar2 = g_manager; bVar7 = SubmitScore == 0; - *(undefined4 *)&g_manager->field_0x4aa68 = 0x42c00000; - *(undefined4 *)&pMVar2->field_0x4aa64 = 0x42c00000; - *(undefined4 *)&pMVar2->field_0x4ab98 = 0x42c00000; - *(undefined4 *)&pMVar2->field_0x4ab94 = 0x42c00000; + (g_manager->_popupButtons)._buttons[0]._targetSlideOffset = 96.0; + (pMVar2->_popupButtons)._buttons[0]._slideOffset = 96.0; + (pMVar2->_popupButtons)._buttons[1]._targetSlideOffset = 96.0; + (pMVar2->_popupButtons)._buttons[1]._slideOffset = 96.0; if (bVar7) { *(undefined4 *)(this + 0x74) = 0; this[0x74]._state = 0; @@ -651744,7 +652646,7 @@ void FUN_0085b790(void) /* DB: ? (ECX = password std::string, EDX = position): draws 8 password slots in two rows of 4 (second row +16 px), a glyph per entered character (size at ECX+0x10) and placeholders for empty slots via Font::DrawString in color 0xff362f2d; both Menu_OnlineLobby::Render variants call it at - the "Password Position"/"PasswordPosition" null frame, also 0090b900 NetplayManager::Render 009b8990 */ + the "Password Position"/"PasswordPosition" null frame, also 0090b900 NetplayManager::Render 009b8990 PauseScreen::render_lobby_buttons void lobby_password_render(void) @@ -652618,11 +653520,13 @@ undefined4 FUN_0085c970(undefined4 param_1) } -//@@ 0085cad0 FUN_0085cad0 +//@@ 0085cad0 luabridge::CFunc::readOnlyError /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: lua_CFunction pushed for setter-less properties (00896986.. push 0x85cad0): + lua_tostring(upvalue) + "' is read-only" then luaL_error */ -undefined4 FUN_0085cad0(undefined4 param_1) +undefined4 luabridge::CFunc::readOnlyError(undefined4 param_1) { undefined8 uVar1; @@ -652885,14 +653789,17 @@ undefined4 FUN_0085cf30(undefined4 param_1) } -//@@ 0085d040 FUN_0085d040 +//@@ 0085d040 luabridge::Namespace::ClassBase::createConstTable /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ /* WARNING: Removing unreachable block (ram,0x0085d144) */ /* WARNING: Removing unreachable block (ram,0x0085d152) */ /* WARNING: Removing unreachable block (ram,0x0085d168) */ +/* DB: LuaBridge Namespace.h: strings "const " + name, "__type", "__index", "__newindex", + "__metatable", "__propget"; called first by every luabridge::Namespace::Class::Class (66 + callers, e.g. Class 008a0740) */ -void FUN_0085d040(undefined4 param_1) +void luabridge::Namespace::ClassBase::createConstTable(undefined4 param_1) { undefined4 uVar1; @@ -652973,9 +653880,13 @@ void FUN_0085d040(undefined4 param_1) } -//@@ 0085d2c0 FUN_0085d2c0 +//@@ 0085d2c0 luabridge::Namespace::ClassBase::createClassTable -void FUN_0085d2c0(undefined4 param_1) +/* DB: LuaBridge Namespace.h: strings "__class", "__const", "__index", "__newindex", "__metatable", + "__propget", "__propset", "__type"; called by every luabridge::Namespace::Class::Class right + after createConstTable */ + +void luabridge::Namespace::ClassBase::createClassTable(undefined4 param_1) { undefined4 uVar1; @@ -653917,15 +654828,14 @@ float10 Room::GetEnemyDamageInflicted(void) /* ZHL [lua] Lua binding Level:DungeonReturnPosition */ -void Level::DungeonReturnPosition(undefined4 *param_1) +void __thiscall Level::DungeonReturnPosition(Level *this,float *param_2) { - undefined4 uVar1; - int in_ECX; + float fVar1; - uVar1 = *(undefined4 *)(in_ECX + 0x18324); - *param_1 = *(undefined4 *)(in_ECX + 0x18320); - param_1[1] = uVar1; + fVar1 = (this->_dungeonReturnPosition).y; + *param_2 = (this->_dungeonReturnPosition).x; + param_2[1] = fVar1; return; } @@ -664423,9 +665333,9 @@ undefined4 * Isaac::ExecuteCommand(undefined4 *param_1,undefined4 param_2) param_1[4] = 0; param_1[5] = 0xf; *(undefined1 *)param_1 = 0; - *(undefined4 **)&pGVar2[1]._roomList[1].field_0x34 = param_1; + pGVar2[1]._roomList[1]._doors[6] = (int)param_1; Console::RunCommand(param_2,0,0,uVar3); - *(undefined4 *)&pGVar2[1]._roomList[1].field_0x34 = 0; + pGVar2[1]._roomList[1]._doors[6] = 0; uVar3 = param_1[4]; if (uVar3 != 0) { puVar4 = param_1; @@ -671384,7 +672294,7 @@ undefined4 FUN_00876530(undefined4 param_1) { undefined4 in_ECX; - FUN_008a6d90(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -671530,7 +672440,7 @@ undefined4 FUN_008767d0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a6b80(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -671871,7 +672781,7 @@ undefined4 FUN_00877100(undefined4 param_1) { undefined4 in_ECX; - FUN_008a6970(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -672104,7 +673014,7 @@ undefined4 FUN_00877660(undefined4 param_1) { undefined4 in_ECX; - FUN_008a6760(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -672346,7 +673256,7 @@ undefined4 FUN_00877ae0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a6550(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -672705,7 +673615,7 @@ undefined4 FUN_00878490(undefined4 param_1) { undefined4 in_ECX; - FUN_008a6340(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -673004,7 +673914,7 @@ undefined4 FUN_00878cb0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a6130(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -673499,7 +674409,7 @@ undefined4 FUN_00879a10(undefined4 param_1) { undefined4 in_ECX; - FUN_008a5f20(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -673748,7 +674658,7 @@ void lua_register_CardConfigList(void) FUN_0085d730("CppContainer",&local_24); FUN_0085d730("Vector",local_34); local_8._0_1_ = 2; - FUN_008c4920(extraout_ECX,local_2c); + luabridge::Namespace::Class::Class(extraout_ECX,local_2c); uVar3 = local_1c; local_8._0_1_ = 3; uVar1 = lua_absindex(local_1c,0xfffffffe); @@ -673852,7 +674762,7 @@ void lua_register_PillConfigList(void) FUN_0085d730("CppContainer",&local_24); FUN_0085d730("Vector",local_34); local_8._0_1_ = 2; - FUN_008c4710(extraout_ECX,local_2c); + luabridge::Namespace::Class::Class(extraout_ECX,local_2c); uVar3 = local_1c; local_8._0_1_ = 3; uVar1 = lua_absindex(local_1c,0xfffffffe); @@ -673956,7 +674866,7 @@ void lua_register_ItemConfigList(void) FUN_0085d730("CppContainer",&local_24); FUN_0085d730("Vector",local_34); local_8._0_1_ = 2; - FUN_008c4500(extraout_ECX,local_2c); + luabridge::Namespace::Class>::Class(extraout_ECX,local_2c); uVar3 = local_1c; local_8._0_1_ = 3; uVar1 = lua_absindex(local_1c,0xfffffffe); @@ -674060,7 +674970,7 @@ void lua_register_CostumeConfigList(void) FUN_0085d730("CppContainer",&local_24); FUN_0085d730("Vector",local_34); local_8._0_1_ = 2; - FUN_008c42f0(extraout_ECX,local_2c); + luabridge::Namespace::Class::Class(extraout_ECX,local_2c); uVar3 = local_1c; local_8._0_1_ = 3; uVar1 = lua_absindex(local_1c,0xfffffffe); @@ -674137,7 +675047,7 @@ undefined4 FUN_0087ac50(undefined4 param_1) { undefined4 in_ECX; - FUN_008a5d10(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -674355,7 +675265,7 @@ undefined4 FUN_0087b130(undefined4 param_1) { undefined4 in_ECX; - FUN_008a5b00(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -674577,7 +675487,7 @@ undefined4 FUN_0087b730(undefined4 param_1) { undefined4 in_ECX; - FUN_008a58f0(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -674781,7 +675691,7 @@ void lua_register_VectorList(void) FUN_0085d730("CppContainer",&local_24); FUN_0085d730("Vector",local_34); local_8._0_1_ = 2; - FUN_008c40e0(extraout_ECX,local_2c); + luabridge::Namespace::Class::Class(extraout_ECX,local_2c); uVar3 = local_1c; local_8._0_1_ = 3; uVar1 = lua_absindex(local_1c,0xfffffffe); @@ -674858,7 +675768,7 @@ undefined4 FUN_0087bee0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a56e0(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -675003,7 +675913,7 @@ void lua_register_EffectList(void) FUN_0085d730("CppContainer",&local_24); FUN_0085d730("Vector",local_34); local_8._0_1_ = 2; - FUN_008c3ed0(extraout_ECX,local_2c); + luabridge::Namespace::Class::Class(extraout_ECX,local_2c); uVar3 = local_1c; local_8._0_1_ = 3; uVar1 = lua_absindex(local_1c,0xfffffffe); @@ -675080,7 +675990,7 @@ undefined4 FUN_0087c510(undefined4 param_1) { undefined4 in_ECX; - FUN_008a54d0(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -675511,7 +676421,7 @@ undefined4 FUN_0087ce60(undefined4 param_1) { undefined4 in_ECX; - FUN_008a52c0(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -675614,7 +676524,7 @@ undefined4 FUN_0087d110(undefined4 param_1) { undefined4 in_ECX; - FUN_008a50b0(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -675676,7 +676586,7 @@ undefined4 FUN_0087d2a0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a4ea0(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -675793,7 +676703,7 @@ undefined4 FUN_0087d5b0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a4c80(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -677460,7 +678370,7 @@ undefined4 FUN_0087fdb0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a4a20(in_ECX,in_ECX,&DAT_00c8297b); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c8297b); return param_1; } @@ -678036,7 +678946,7 @@ undefined4 FUN_00880c80(undefined4 param_1) { undefined4 in_ECX; - FUN_008a47c0(in_ECX,in_ECX,&DAT_00c8297b); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c8297b); return param_1; } @@ -679218,7 +680128,7 @@ void FUN_00882410(void) uVar1 = *in_ECX; puVar2 = (undefined4 *)lua_newuserdata(uVar1,4); *puVar2 = Entity_Player::AnimatePickup; - lua_pushcclosure(uVar1,FUN_008ae2d0,1); + lua_pushcclosure(uVar1,luabridge::CFunc::CallMember::f,1); uVar3 = lua_absindex(uVar1,0xfffffffd); lua_pushstring(uVar1,"AnimatePickup"); lua_rotate(uVar1,0xfffffffe,1); @@ -679580,7 +680490,7 @@ void FUN_00882bd0(void) uVar1 = *in_ECX; puVar2 = (undefined4 *)lua_newuserdata(uVar1,4); *puVar2 = Entity_Player::FireTechLaser; - lua_pushcclosure(uVar1,FUN_008aed10,1); + lua_pushcclosure(uVar1,luabridge::CFunc::CallMember::f,1); uVar3 = lua_absindex(uVar1,0xfffffffd); lua_pushstring(uVar1,"FireTechLaser"); lua_rotate(uVar1,0xfffffffe,1); @@ -679766,7 +680676,8 @@ void FUN_00882f90(void) puVar2 = (undefined4 *)lua_newuserdata(*in_ECX,4); *puVar2 = Entity_Player::GetMultiShotPositionVelocity; - lua_pushcclosure(*in_ECX,FUN_0089c0a0,1); + lua_pushcclosure(*in_ECX,luabridge::CFunc::CallMember + ::f,1); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,"GetMultiShotPositionVelocity"); @@ -680841,7 +681752,7 @@ undefined4 FUN_00884930(undefined4 param_1) { undefined4 in_ECX; - FUN_008a4560(in_ECX,in_ECX,&DAT_00c8297b); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c8297b); return param_1; } @@ -681128,7 +682039,7 @@ undefined4 FUN_00885020(undefined4 param_1) { undefined4 in_ECX; - FUN_008a4300(in_ECX,in_ECX,&DAT_00c8297b); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c8297b); return param_1; } @@ -681488,7 +682399,7 @@ undefined4 FUN_00885910(undefined4 param_1) { undefined4 in_ECX; - FUN_008a40a0(in_ECX,in_ECX,&DAT_00c8297b); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c8297b); return param_1; } @@ -682008,7 +682919,7 @@ undefined4 FUN_00886550(undefined4 param_1) { undefined4 in_ECX; - FUN_008a3e40(in_ECX,in_ECX,&DAT_00c8297b); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c8297b); return param_1; } @@ -682214,7 +683125,7 @@ undefined4 FUN_00886a80(undefined4 param_1) { undefined4 in_ECX; - FUN_008a3be0(in_ECX,in_ECX,&DAT_00c8297b); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c8297b); return param_1; } @@ -682914,7 +683825,7 @@ undefined4 * luabridge::Namespace::Class::addData_Pathfinder(void) lua_rawget(uVar1,uVar2); puVar3 = (undefined4 *)lua_newuserdata(*in_ECX,4); *puVar3 = 0x414; - lua_pushcclosure(*in_ECX,FUN_008bf700,1); + lua_pushcclosure(*in_ECX,CFunc::setProperty,1); uVar1 = *in_ECX; uVar2 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,"Pathfinder"); @@ -683037,7 +683948,7 @@ undefined4 FUN_00887dc0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a3980(in_ECX,in_ECX,&DAT_00c8297b); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c8297b); return param_1; } @@ -683231,7 +684142,7 @@ undefined4 FUN_008882c0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a3720(in_ECX,in_ECX,&DAT_00c8297b); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c8297b); return param_1; } @@ -684118,7 +685029,7 @@ undefined4 FUN_00889940(undefined4 param_1) { undefined4 in_ECX; - FUN_008a34c0(in_ECX,in_ECX,&DAT_00c8297b); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c8297b); return param_1; } @@ -684432,7 +685343,7 @@ undefined4 FUN_0088a0e0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a32b0(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -684599,7 +685510,7 @@ undefined4 FUN_0088a560(undefined4 param_1) { undefined4 in_ECX; - FUN_008a30a0(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -685329,7 +686240,7 @@ undefined4 FUN_0088b5e0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a2e40(in_ECX,in_ECX,&DAT_00c82979); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c82979); return param_1; } @@ -685933,7 +686844,7 @@ undefined4 FUN_0088c440(undefined4 param_1) { undefined4 in_ECX; - FUN_008a2be0(in_ECX,in_ECX,&DAT_00c82979); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c82979); return param_1; } @@ -686132,7 +687043,7 @@ undefined4 FUN_0088c940(undefined4 param_1) { undefined4 in_ECX; - FUN_008a2980(in_ECX,in_ECX,&DAT_00c82979); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c82979); return param_1; } @@ -686264,7 +687175,7 @@ undefined4 FUN_0088cc00(undefined4 param_1) { undefined4 in_ECX; - FUN_008a2720(in_ECX,in_ECX,&DAT_00c82979); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c82979); return param_1; } @@ -686483,7 +687394,7 @@ undefined4 FUN_0088d130(undefined4 param_1) { undefined4 in_ECX; - FUN_008a24c0(in_ECX,in_ECX,&DAT_00c82979); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c82979); return param_1; } @@ -686548,7 +687459,7 @@ undefined4 FUN_0088d2d0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a2260(in_ECX,in_ECX,&DAT_00c82979); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c82979); return param_1; } @@ -686741,7 +687652,7 @@ undefined4 FUN_0088d7d0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a2000(in_ECX,in_ECX,&DAT_00c82979); + luabridge::Namespace::Class::Class(in_ECX,in_ECX,&DAT_00c82979); return param_1; } @@ -686833,7 +687744,7 @@ void lua_register_RoomConfigEntries(void) FUN_0085d730("CppContainer",&local_24); FUN_0085d730("ArrayProxy",local_34); local_8._0_1_ = 2; - FUN_008c3cc0(extraout_ECX,local_2c); + luabridge::Namespace::Class::Class(extraout_ECX,local_2c); uVar3 = local_1c; local_8._0_1_ = 3; uVar1 = lua_absindex(local_1c,0xfffffffe); @@ -686929,7 +687840,7 @@ void lua_register_RoomConfigSpawns(void) FUN_0085d730("CppContainer",&local_24); FUN_0085d730("ArrayProxy",local_34); local_8._0_1_ = 2; - FUN_008c3ab0(extraout_ECX,local_2c); + luabridge::Namespace::Class::Class(extraout_ECX,local_2c); uVar3 = local_1c; local_8._0_1_ = 3; uVar1 = lua_absindex(local_1c,0xfffffffe); @@ -686998,7 +687909,7 @@ undefined4 FUN_0088def0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a1df0(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -687173,7 +688084,7 @@ undefined4 FUN_0088e380(undefined4 param_1) { undefined4 in_ECX; - FUN_008a1be0(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -687411,7 +688322,7 @@ undefined4 FUN_0088e9c0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a19d0(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -687756,7 +688667,7 @@ undefined4 FUN_0088f2a0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a17c0(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -688157,7 +689068,7 @@ undefined4 FUN_0088fcf0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a15b0(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -688533,7 +689444,7 @@ undefined4 * FUN_00890430(void) uVar1 = *in_ECX; puVar2 = (undefined4 *)lua_newuserdata(uVar1,4); *puVar2 = Room::CheckLine; - lua_pushcclosure(uVar1,FUN_008b3d60,1); + lua_pushcclosure(uVar1,luabridge::CFunc::CallMember::f,1); lua_pushvalue(uVar1,0xffffffff); uVar3 = lua_absindex(uVar1,0xfffffffb); lua_pushstring(uVar1,"CheckLine"); @@ -689333,7 +690244,7 @@ void lua_register_RoomDescriptor_array(void) FUN_0085d730("CppContainer",&local_24); FUN_0085d730("ArrayProxy",local_34); local_8._0_1_ = 2; - FUN_008c38a0(extraout_ECX,local_2c); + luabridge::Namespace::Class>::Class(extraout_ECX,local_2c); uVar3 = local_1c; local_8._0_1_ = 3; uVar1 = lua_absindex(local_1c,0xfffffffe); @@ -689429,7 +690340,7 @@ void lua_register_intValues(void) FUN_0085d730("CppContainer",&local_24); FUN_0085d730("ArrayProxy",local_34); local_8._0_1_ = 2; - FUN_008c3690(extraout_ECX,local_2c); + luabridge::Namespace::Class::Class(extraout_ECX,local_2c); uVar3 = local_1c; local_8._0_1_ = 3; uVar1 = lua_absindex(local_1c,0xfffffffe); @@ -689498,7 +690409,7 @@ undefined4 FUN_00891a10(undefined4 param_1) { undefined4 in_ECX; - FUN_008a13a0(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -690307,7 +691218,7 @@ undefined4 FUN_00892b40(undefined4 param_1) { undefined4 in_ECX; - FUN_008a1190(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -690718,7 +691629,7 @@ undefined4 FUN_00893330(undefined4 param_1) { undefined4 in_ECX; - FUN_008a0f80(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -691063,7 +691974,7 @@ undefined4 FUN_00893a20(undefined4 param_1) { undefined4 in_ECX; - FUN_008a0d70(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -691190,7 +692101,7 @@ undefined4 FUN_00893c70(undefined4 param_1) { undefined4 in_ECX; - FUN_008a0b60(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -691257,7 +692168,7 @@ void FUN_00893d90(void) uVar1 = *in_ECX; puVar2 = (undefined4 *)lua_newuserdata(uVar1,4); *puVar2 = Game::Spawn; - lua_pushcclosure(uVar1,FUN_008b72b0,1); + lua_pushcclosure(uVar1,luabridge::CFunc::CallMember::f,1); uVar3 = lua_absindex(uVar1,0xfffffffd); lua_pushstring(uVar1,s_Spawn); lua_rotate(uVar1,0xfffffffe,1); @@ -691301,7 +692212,7 @@ void FUN_00893e50(void) uVar1 = *in_ECX; puVar2 = (undefined4 *)lua_newuserdata(uVar1,4); *puVar2 = Game::BombDamage; - lua_pushcclosure(uVar1,FUN_008b7630,1); + lua_pushcclosure(uVar1,luabridge::CFunc::CallMember::f,1); uVar3 = lua_absindex(uVar1,0xfffffffd); lua_pushstring(uVar1,"BombDamage"); lua_rotate(uVar1,0xfffffffe,1); @@ -691323,7 +692234,7 @@ void FUN_00893eb0(void) uVar1 = *in_ECX; puVar2 = (undefined4 *)lua_newuserdata(uVar1,4); *puVar2 = Game::BombExplosionEffects; - lua_pushcclosure(uVar1,FUN_008b78f0,1); + lua_pushcclosure(uVar1,luabridge::CFunc::CallMember::f,1); uVar3 = lua_absindex(uVar1,0xfffffffd); lua_pushstring(uVar1,"BombExplosionEffects"); lua_rotate(uVar1,0xfffffffe,1); @@ -692400,7 +693311,7 @@ undefined4 FUN_00895430(undefined4 param_1) { undefined4 in_ECX; - FUN_008a0950(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -692566,7 +693477,7 @@ undefined4 FUN_008956f0(undefined4 param_1) { undefined4 in_ECX; - FUN_008a0740(in_ECX,in_ECX); + luabridge::Namespace::Class::Class(in_ECX,in_ECX); return param_1; } @@ -693038,7 +693949,7 @@ void FUN_00895f70(void) puVar2 = (undefined4 *)lua_newuserdata(*in_ECX,4); *puVar2 = Isaac::RenderText; - lua_pushcclosure(*in_ECX,FUN_00898890,1); + lua_pushcclosure(*in_ECX,luabridge::CFunc::Call::f,1); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,"RenderText"); @@ -693565,9 +694476,9 @@ void FUN_00896820(float param_1) } (g_manager->_optionsConfig)._musicVolume = fVar3; (pMVar1->_musicManager)._isEnabled = 0.0 < fVar3; - *(float *)((int)&pMVar1->_optionsConfig + *(int *)&pMVar1->_musicManager * 0x184 + -0x208) = + (pMVar1->_musicManager)._channels[(pMVar1->_musicManager)._currentChannel]._volume = (pMVar1->_optionsConfig)._musicVolume; - *(float *)((int)&pMVar1->_optionsConfig + *(int *)&pMVar1->_musicManager * 0x184 + -0x204) = + (pMVar1->_musicManager)._channels[(pMVar1->_musicManager)._currentChannel]._targetVolume = (pMVar1->_optionsConfig)._musicVolume; return; } @@ -693604,7 +694515,7 @@ undefined4 * FUN_008968b0(undefined4 param_1,undefined4 param_2,int param_3) lua_rawget(uVar1,uVar2); if (param_3 == 0) { lua_pushstring(*in_ECX,param_1); - pcVar5 = FUN_0085cad0; + pcVar5 = luabridge::CFunc::readOnlyError; } else { piVar4 = (int *)lua_newuserdata(*in_ECX,4); @@ -693748,7 +694659,7 @@ undefined4 * FUN_00896ae0(undefined4 param_1,undefined4 param_2,int param_3) lua_rawget(uVar1,uVar2); if (param_3 == 0) { lua_pushstring(*in_ECX,param_1); - pcVar5 = FUN_0085cad0; + pcVar5 = luabridge::CFunc::readOnlyError; } else { piVar4 = (int *)lua_newuserdata(*in_ECX,4); @@ -693887,7 +694798,7 @@ undefined4 * FUN_00896cf0(undefined4 param_1,undefined4 param_2,int param_3) lua_rawget(uVar1,uVar2); if (param_3 == 0) { lua_pushstring(*in_ECX,param_1); - pcVar5 = FUN_0085cad0; + pcVar5 = luabridge::CFunc::readOnlyError; } else { piVar4 = (int *)lua_newuserdata(*in_ECX,4); @@ -694255,7 +695166,7 @@ undefined4 * FUN_00897120(undefined4 param_1,undefined4 param_2,int param_3) lua_rawget(uVar1,uVar2); if (param_3 == 0) { lua_pushstring(*in_ECX,param_1); - pcVar5 = FUN_0085cad0; + pcVar5 = luabridge::CFunc::readOnlyError; } else { piVar4 = (int *)lua_newuserdata(*in_ECX,4); @@ -694480,7 +695391,7 @@ undefined4 * FUN_008973e0(void) lua_pushstring(uVar1,"__propset"); lua_rawget(uVar1,uVar2); lua_pushstring(*in_ECX,"Language"); - lua_pushcclosure(*in_ECX,FUN_0085cad0,1); + lua_pushcclosure(*in_ECX,luabridge::CFunc::readOnlyError,1); uVar1 = *in_ECX; uVar2 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,"Language"); @@ -695484,11 +696395,14 @@ undefined4 FUN_008986d0(undefined4 param_1) } -//@@ 00898890 FUN_00898890 +//@@ 00898890 luabridge::CFunc::Call::f /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: lua C closure pushed by FUN_00895f70 with upvalue Isaac::RenderText and registered as + "RenderText": lua_touserdata(upvalueindex 1), luaL_checknumber args 2..7, std::string from arg 1, + calls the stored function pointer */ -undefined4 FUN_00898890(undefined4 param_1) +undefined4 luabridge::CFunc::Call::f(undefined4 param_1) { code *pcVar1; @@ -697952,9 +698866,14 @@ undefined4 FUN_0089c000(undefined4 param_1) } -//@@ 0089c0a0 FUN_0089c0a0 +//@@ 0089c0a0 luabridge::CFunc::CallMember::f -undefined4 FUN_0089c0a0(undefined4 param_1) +/* DB: lua_pushcclosure'd by FUN_00882f90 = addFunction(GetMultiShotPositionVelocity, 0x782160 + Entity_Player::GetMultiShotPositionVelocity); reads userdata+lua args (luaL_checknumber), returns + PosVel */ + +undefined4 +luabridge::CFunc::CallMember::f(undefined4 param_1) { undefined4 uVar1; @@ -698009,7 +698928,7 @@ undefined4 FUN_0089c0a0(undefined4 param_1) iVar3 = lua_type(param_1,5); puVar5 = (undefined4 *)0x0; if (iVar3 != 0) { - iVar3 = luabridge::Userdata::getClass(&DAT_00c82a20,1); + iVar3 = Userdata::getClass(&DAT_00c82a20,1); puVar5 = *(undefined4 **)(iVar3 + 4); } uStack_60 = *puVar5; @@ -698035,7 +698954,7 @@ undefined4 FUN_0089c0a0(undefined4 param_1) iVar3 = lua_type(param_1,3); puVar5 = (undefined4 *)0x0; if (iVar3 != 0) { - iVar3 = luabridge::Userdata::getClass(&g_luaClassKeyVector,1); + iVar3 = Userdata::getClass(&g_luaClassKeyVector,1); puVar5 = *(undefined4 **)(iVar3 + 4); } uStack_d0 = *puVar5; @@ -698054,7 +698973,7 @@ undefined4 FUN_0089c0a0(undefined4 param_1) puVar5 = (undefined4 *)0x0; } else { - iVar3 = luabridge::Userdata::getClass(&DAT_00c82a21,1); + iVar3 = Userdata::getClass(&DAT_00c82a21,1); puVar5 = *(undefined4 **)(iVar3 + 4); } uVar1 = *puVar5; @@ -698074,7 +698993,7 @@ undefined4 FUN_0089c0a0(undefined4 param_1) (*(code *)*puVar2)(&uStack_e0,uVar4,uVar1,uStack_d0,uStack_cc,fStack_c8,uStack_38,uStack_34, uStack_30,uStack_2c,uStack_28,uStack_24,uStack_20,uStack_1c,uStack_a8._4_4_); puVar5 = (undefined4 *)lua_newuserdata(param_1,0x18); - *puVar5 = luabridge::UserdataValue::vftable; + *puVar5 = UserdataValue::vftable; puVar5[1] = puVar5 + 2; lua_rawgetp(param_1,0xfff0b9d8,&DAT_00c829bf); lua_setmetatable(param_1,0xfffffffe); @@ -701242,9 +702161,13 @@ int FUN_008a0720(uint param_1) } -//@@ 008a0740 FUN_008a0740 +//@@ 008a0740 luabridge::Namespace::Class::Class -undefined4 * FUN_008a0740(undefined4 param_1,undefined4 *param_2) +/* DB: lua_pushstring "MusicManager", createConstTable/createClassTable/createStaticTable; only + caller FUN_008956f0 */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -701272,14 +702195,14 @@ undefined4 * FUN_008a0740(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("MusicManager"); + ClassBase::createConstTable("MusicManager"); lua_pushcclosure(*in_ECX,FUN_008c2bd0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("MusicManager"); + ClassBase::createClassTable("MusicManager"); lua_pushcclosure(*in_ECX,FUN_008c2bd0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -701311,9 +702234,11 @@ undefined4 * FUN_008a0740(undefined4 param_1,undefined4 *param_2) } -//@@ 008a0950 FUN_008a0950 +//@@ 008a0950 luabridge::Namespace::Class::Class -undefined4 * FUN_008a0950(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor (522 bytes): "SFXManager", __class/__const */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -701341,14 +702266,14 @@ undefined4 * FUN_008a0950(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("SFXManager"); + ClassBase::createConstTable("SFXManager"); lua_pushcclosure(*in_ECX,FUN_008c2bf0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("SFXManager"); + ClassBase::createClassTable("SFXManager"); lua_pushcclosure(*in_ECX,FUN_008c2bf0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -701380,9 +702305,13 @@ undefined4 * FUN_008a0950(undefined4 param_1,undefined4 *param_2) } -//@@ 008a0b60 FUN_008a0b60 +//@@ 008a0b60 luabridge::Namespace::Class::Class -undefined4 * FUN_008a0b60(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor: FUN_00893c70 thunk called by LuaEngine::RegisterAPI with + DAT_00b74634 = "Game", followed by Update/Render/IsPaused/SpawnEntityDesc...; __gc FUN_008c2c10 + */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -701410,14 +702339,14 @@ undefined4 * FUN_008a0b60(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040(&DAT_00b74634); + ClassBase::createConstTable(&DAT_00b74634); lua_pushcclosure(*in_ECX,FUN_008c2c10,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0(&DAT_00b74634); + ClassBase::createClassTable(&DAT_00b74634); lua_pushcclosure(*in_ECX,FUN_008c2c10,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -701449,9 +702378,11 @@ undefined4 * FUN_008a0b60(undefined4 param_1,undefined4 *param_2) } -//@@ 008a0d70 FUN_008a0d70 +//@@ 008a0d70 luabridge::Namespace::Class::Class -undefined4 * FUN_008a0d70(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge class ctor, name DAT_00b6b338 = "HUD"; from FUN_00893a20 */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -701479,14 +702410,14 @@ undefined4 * FUN_008a0d70(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040(&DAT_00b6b338); + ClassBase::createConstTable(&DAT_00b6b338); lua_pushcclosure(*in_ECX,FUN_008c2c30,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0(&DAT_00b6b338); + ClassBase::createClassTable(&DAT_00b6b338); lua_pushcclosure(*in_ECX,FUN_008c2c30,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -701518,9 +702449,11 @@ undefined4 * FUN_008a0d70(undefined4 param_1,undefined4 *param_2) } -//@@ 008a0f80 FUN_008a0f80 +//@@ 008a0f80 luabridge::Namespace::Class::Class -undefined4 * FUN_008a0f80(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor: name "ItemPool", __class/__const; only caller 00893330 */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -701548,14 +702481,14 @@ undefined4 * FUN_008a0f80(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("ItemPool"); + ClassBase::createConstTable("ItemPool"); lua_pushcclosure(*in_ECX,FUN_008c2c50,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("ItemPool"); + ClassBase::createClassTable("ItemPool"); lua_pushcclosure(*in_ECX,FUN_008c2c50,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -701587,9 +702520,11 @@ undefined4 * FUN_008a0f80(undefined4 param_1,undefined4 *param_2) } -//@@ 008a1190 FUN_008a1190 +//@@ 008a1190 luabridge::Namespace::Class::Class -undefined4 * FUN_008a1190(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor for Seeds */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -701617,14 +702552,14 @@ undefined4 * FUN_008a1190(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("Seeds"); + ClassBase::createConstTable("Seeds"); lua_pushcclosure(*in_ECX,FUN_008c2c70,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("Seeds"); + ClassBase::createClassTable("Seeds"); lua_pushcclosure(*in_ECX,FUN_008c2c70,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -701656,9 +702591,12 @@ undefined4 * FUN_008a1190(undefined4 param_1,undefined4 *param_2) } -//@@ 008a13a0 FUN_008a13a0 +//@@ 008a13a0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a13a0(undefined4 param_1,undefined4 *param_2) +/* DB: lua_pushstring "Level", createConstTable/createClassTable/createStaticTable; only caller + FUN_00891a10 */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -701686,14 +702624,14 @@ undefined4 * FUN_008a13a0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("Level"); + ClassBase::createConstTable("Level"); lua_pushcclosure(*in_ECX,FUN_008c2c90,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("Level"); + ClassBase::createClassTable("Level"); lua_pushcclosure(*in_ECX,FUN_008c2c90,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -701725,9 +702663,12 @@ undefined4 * FUN_008a13a0(undefined4 param_1,undefined4 *param_2) } -//@@ 008a15b0 FUN_008a15b0 +//@@ 008a15b0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a15b0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor (522 bytes, no name literal: name from caller): __class/__const, + class key g_luaClassKeyRoom */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -701755,14 +702696,14 @@ undefined4 * FUN_008a15b0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040(&DAT_00b734f0); + ClassBase::createConstTable(&DAT_00b734f0); lua_pushcclosure(*in_ECX,FUN_008c2cb0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0(&DAT_00b734f0); + ClassBase::createClassTable(&DAT_00b734f0); lua_pushcclosure(*in_ECX,FUN_008c2cb0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -701794,9 +702735,13 @@ undefined4 * FUN_008a15b0(undefined4 param_1,undefined4 *param_2) } -//@@ 008a17c0 FUN_008a17c0 +//@@ 008a17c0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a17c0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor: FUN_0088f2a0 thunk called by LuaEngine::RegisterAPI with + "RoomDescriptor"; __gc FUN_008c2cd0 */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -701824,14 +702769,14 @@ undefined4 * FUN_008a17c0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("RoomDescriptor"); + ClassBase::createConstTable("RoomDescriptor"); lua_pushcclosure(*in_ECX,FUN_008c2cd0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("RoomDescriptor"); + ClassBase::createClassTable("RoomDescriptor"); lua_pushcclosure(*in_ECX,FUN_008c2cd0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -701863,9 +702808,11 @@ undefined4 * FUN_008a17c0(undefined4 param_1,undefined4 *param_2) } -//@@ 008a19d0 FUN_008a19d0 +//@@ 008a19d0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a19d0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge class ctor, name DAT_00b734f0 = "Room"; from FUN_0088e9c0 */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -701893,14 +702840,14 @@ undefined4 * FUN_008a19d0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040(&DAT_00b734f0); + ClassBase::createConstTable(&DAT_00b734f0); lua_pushcclosure(*in_ECX,FUN_008c2cf0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0(&DAT_00b734f0); + ClassBase::createClassTable(&DAT_00b734f0); lua_pushcclosure(*in_ECX,FUN_008c2cf0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -701932,9 +702879,13 @@ undefined4 * FUN_008a19d0(undefined4 param_1,undefined4 *param_2) } -//@@ 008a1be0 FUN_008a1be0 +//@@ 008a1be0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a1be0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor (name passed in): LuaEngine::RegisterAPI calls the wrapper + 0088e380(s_Spawn) inside the "RoomConfig" namespace right before addData of Class and + "PickEntry"/"Entries"; rawget of "Spawn", __gc closure FUN_008c2d10 */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -701962,14 +702913,14 @@ undefined4 * FUN_008a1be0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040(s_Spawn); + ClassBase::createConstTable(s_Spawn); lua_pushcclosure(*in_ECX,FUN_008c2d10,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0(s_Spawn); + ClassBase::createClassTable(s_Spawn); lua_pushcclosure(*in_ECX,FUN_008c2d10,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -702001,9 +702952,11 @@ undefined4 * FUN_008a1be0(undefined4 param_1,undefined4 *param_2) } -//@@ 008a1df0 FUN_008a1df0 +//@@ 008a1df0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a1df0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor for Entry (RoomConfig.Entry) */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -702031,14 +702984,14 @@ undefined4 * FUN_008a1df0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("Entry"); + ClassBase::createConstTable("Entry"); lua_pushcclosure(*in_ECX,FUN_008c2d30,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("Entry"); + ClassBase::createClassTable("Entry"); lua_pushcclosure(*in_ECX,FUN_008c2d30,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -702070,9 +703023,14 @@ undefined4 * FUN_008a1df0(undefined4 param_1,undefined4 *param_2) } -//@@ 008a2000 FUN_008a2000 +//@@ 008a2000 luabridge::Namespace::Class::Class -undefined4 * FUN_008a2000(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: luabridge deriveClass ctor: name "GridEntitySpikes", __class/__const/__parent; only caller + 0088d7d0 */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -702092,14 +703050,14 @@ undefined4 * FUN_008a2000(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("GridEntitySpikes"); + ClassBase::createConstTable("GridEntitySpikes"); lua_pushcclosure(*in_ECX,FUN_008c2d50,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("GridEntitySpikes"); + ClassBase::createClassTable("GridEntitySpikes"); lua_pushcclosure(*in_ECX,FUN_008c2d50,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -702142,9 +703100,13 @@ undefined4 * FUN_008a2000(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a2260 FUN_008a2260 +//@@ 008a2260 luabridge::Namespace::Class::Class -undefined4 * FUN_008a2260(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: luabridge deriveClass ctor for GridEntityPressurePlate (__class/__const/__parent) */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -702164,14 +703126,14 @@ undefined4 * FUN_008a2260(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("GridEntityPressurePlate"); + ClassBase::createConstTable("GridEntityPressurePlate"); lua_pushcclosure(*in_ECX,FUN_008c2d70,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("GridEntityPressurePlate"); + ClassBase::createClassTable("GridEntityPressurePlate"); lua_pushcclosure(*in_ECX,FUN_008c2d70,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -702214,9 +703176,14 @@ undefined4 * FUN_008a2260(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a24c0 FUN_008a24c0 +//@@ 008a24c0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a24c0(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: derived-class ctor ("__parent"): name "GridEntityTNT", + createConstTable/createClassTable/createStaticTable; only caller FUN_0088d130 */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -702236,14 +703203,14 @@ undefined4 * FUN_008a24c0(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("GridEntityTNT"); + ClassBase::createConstTable("GridEntityTNT"); lua_pushcclosure(*in_ECX,FUN_008c2d90,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("GridEntityTNT"); + ClassBase::createClassTable("GridEntityTNT"); lua_pushcclosure(*in_ECX,FUN_008c2d90,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -702286,9 +703253,14 @@ undefined4 * FUN_008a24c0(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a2720 FUN_008a2720 +//@@ 008a2720 luabridge::Namespace::Class::Class -undefined4 * FUN_008a2720(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: luabridge deriveClass ctor: "GridEntityRock", __class/__const/__parent (same shape as + Class::Class 008a2260) */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -702308,14 +703280,14 @@ undefined4 * FUN_008a2720(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("GridEntityRock"); + ClassBase::createConstTable("GridEntityRock"); lua_pushcclosure(*in_ECX,FUN_008c2db0,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("GridEntityRock"); + ClassBase::createClassTable("GridEntityRock"); lua_pushcclosure(*in_ECX,FUN_008c2db0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -702358,9 +703330,14 @@ undefined4 * FUN_008a2720(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a2980 FUN_008a2980 +//@@ 008a2980 luabridge::Namespace::Class::Class -undefined4 * FUN_008a2980(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: luabridge deriveClass ctor (__parent): FUN_0088c940 thunk called by LuaEngine::RegisterAPI + with "GridEntityPit" (parent key DAT_00c82979); __gc FUN_008c2dd0 */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -702380,14 +703357,14 @@ undefined4 * FUN_008a2980(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("GridEntityPit"); + ClassBase::createConstTable("GridEntityPit"); lua_pushcclosure(*in_ECX,FUN_008c2dd0,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("GridEntityPit"); + ClassBase::createClassTable("GridEntityPit"); lua_pushcclosure(*in_ECX,FUN_008c2dd0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -702430,9 +703407,14 @@ undefined4 * FUN_008a2980(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a2be0 FUN_008a2be0 +//@@ 008a2be0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a2be0(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: luabridge deriveClass ctor for "GridEntityPoop" (__class/__const/__parent, __gc closure + FUN_008c2df0); from FUN_0088c440 */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -702452,14 +703434,14 @@ undefined4 * FUN_008a2be0(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("GridEntityPoop"); + ClassBase::createConstTable("GridEntityPoop"); lua_pushcclosure(*in_ECX,FUN_008c2df0,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("GridEntityPoop"); + ClassBase::createClassTable("GridEntityPoop"); lua_pushcclosure(*in_ECX,FUN_008c2df0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -702502,9 +703484,14 @@ undefined4 * FUN_008a2be0(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a2e40 FUN_008a2e40 +//@@ 008a2e40 luabridge::Namespace::Class::Class -undefined4 * FUN_008a2e40(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: luabridge deriveClass ctor: name "GridEntityDoor", __class/__const/__parent; only caller + 0088b5e0 */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -702524,14 +703511,14 @@ undefined4 * FUN_008a2e40(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("GridEntityDoor"); + ClassBase::createConstTable("GridEntityDoor"); lua_pushcclosure(*in_ECX,FUN_008c2e10,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("GridEntityDoor"); + ClassBase::createClassTable("GridEntityDoor"); lua_pushcclosure(*in_ECX,FUN_008c2e10,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -702574,9 +703561,12 @@ undefined4 * FUN_008a2e40(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a30a0 FUN_008a30a0 +//@@ 008a30a0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a30a0(undefined4 param_1,undefined4 *param_2) +/* DB: lua_pushstring "GridEntity" then rawget, createConstTable/createClassTable/createStaticTable + + __gc; only caller FUN_0088a560 */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -702604,14 +703594,14 @@ undefined4 * FUN_008a30a0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("GridEntity"); + ClassBase::createConstTable("GridEntity"); lua_pushcclosure(*in_ECX,FUN_008c2e30,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("GridEntity"); + ClassBase::createClassTable("GridEntity"); lua_pushcclosure(*in_ECX,FUN_008c2e30,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -702643,9 +703633,12 @@ undefined4 * FUN_008a30a0(undefined4 param_1,undefined4 *param_2) } -//@@ 008a32b0 FUN_008a32b0 +//@@ 008a32b0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a32b0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor (522 bytes): "GridEntityDesc", __class/__const */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -702673,14 +703666,14 @@ undefined4 * FUN_008a32b0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("GridEntityDesc"); + ClassBase::createConstTable("GridEntityDesc"); lua_pushcclosure(*in_ECX,FUN_008c2e50,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("GridEntityDesc"); + ClassBase::createClassTable("GridEntityDesc"); lua_pushcclosure(*in_ECX,FUN_008c2e50,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -702712,9 +703705,13 @@ undefined4 * FUN_008a32b0(undefined4 param_1,undefined4 *param_2) } -//@@ 008a34c0 FUN_008a34c0 +//@@ 008a34c0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a34c0(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: luabridge deriveClass ctor for EntityKnife (__class/__const/__parent) */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -702734,14 +703731,14 @@ undefined4 * FUN_008a34c0(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("EntityKnife"); + ClassBase::createConstTable("EntityKnife"); lua_pushcclosure(*in_ECX,FUN_008c2e70,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("EntityKnife"); + ClassBase::createClassTable("EntityKnife"); lua_pushcclosure(*in_ECX,FUN_008c2e70,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -702784,9 +703781,14 @@ undefined4 * FUN_008a34c0(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a3720 FUN_008a3720 +//@@ 008a3720 luabridge::Namespace::Class::Class -undefined4 * FUN_008a3720(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: derived-class ctor ("__parent"): name "EntityLaser", + createConstTable/createClassTable/createStaticTable; only caller FUN_008882c0 */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -702806,14 +703808,14 @@ undefined4 * FUN_008a3720(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("EntityLaser"); + ClassBase::createConstTable("EntityLaser"); lua_pushcclosure(*in_ECX,FUN_008c2e90,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("EntityLaser"); + ClassBase::createClassTable("EntityLaser"); lua_pushcclosure(*in_ECX,FUN_008c2e90,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -702856,9 +703858,14 @@ undefined4 * FUN_008a3720(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a3980 FUN_008a3980 +//@@ 008a3980 luabridge::Namespace::Class::Class -undefined4 * FUN_008a3980(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: luabridge deriveClass ctor: "EntityBomb", __class/__const/__parent (same shape as + Class::Class 008a34c0) */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -702878,14 +703885,14 @@ undefined4 * FUN_008a3980(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("EntityBomb"); + ClassBase::createConstTable("EntityBomb"); lua_pushcclosure(*in_ECX,FUN_008c2eb0,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("EntityBomb"); + ClassBase::createClassTable("EntityBomb"); lua_pushcclosure(*in_ECX,FUN_008c2eb0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -702928,9 +703935,14 @@ undefined4 * FUN_008a3980(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a3be0 FUN_008a3be0 +//@@ 008a3be0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a3be0(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: luabridge deriveClass ctor (__parent): FUN_00886a80 thunk called by LuaEngine::RegisterAPI + with "EntityNPC"; __gc FUN_008c2ed0 */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -702950,14 +703962,14 @@ undefined4 * FUN_008a3be0(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("EntityNPC"); + ClassBase::createConstTable("EntityNPC"); lua_pushcclosure(*in_ECX,FUN_008c2ed0,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("EntityNPC"); + ClassBase::createClassTable("EntityNPC"); lua_pushcclosure(*in_ECX,FUN_008c2ed0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703000,9 +704012,14 @@ undefined4 * FUN_008a3be0(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a3e40 FUN_008a3e40 +//@@ 008a3e40 luabridge::Namespace::Class::Class -undefined4 * FUN_008a3e40(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: luabridge deriveClass ctor for "EntityProjectile" (__class/__const/__parent, __gc closure + FUN_008c2ef0); from FUN_00886550 */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -703022,14 +704039,14 @@ undefined4 * FUN_008a3e40(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("EntityProjectile"); + ClassBase::createConstTable("EntityProjectile"); lua_pushcclosure(*in_ECX,FUN_008c2ef0,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("EntityProjectile"); + ClassBase::createClassTable("EntityProjectile"); lua_pushcclosure(*in_ECX,FUN_008c2ef0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703072,9 +704089,14 @@ undefined4 * FUN_008a3e40(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a40a0 FUN_008a40a0 +//@@ 008a40a0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a40a0(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: luabridge deriveClass ctor: name "EntityFamiliar", __class/__const/__parent tables; only + caller the EntityFamiliar registration wrapper 00885910 */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -703094,14 +704116,14 @@ undefined4 * FUN_008a40a0(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("EntityFamiliar"); + ClassBase::createConstTable("EntityFamiliar"); lua_pushcclosure(*in_ECX,FUN_008c2f10,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("EntityFamiliar"); + ClassBase::createClassTable("EntityFamiliar"); lua_pushcclosure(*in_ECX,FUN_008c2f10,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703144,9 +704166,14 @@ undefined4 * FUN_008a40a0(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a4300 FUN_008a4300 +//@@ 008a4300 luabridge::Namespace::Class::Class -undefined4 * FUN_008a4300(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: luabridge deriveClass ctor: name EntityEffect, sets __parent on class/const/static tables + (rawgetp parent key), __gc closures */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -703166,14 +704193,14 @@ undefined4 * FUN_008a4300(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("EntityEffect"); + ClassBase::createConstTable("EntityEffect"); lua_pushcclosure(*in_ECX,FUN_008c2f30,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("EntityEffect"); + ClassBase::createClassTable("EntityEffect"); lua_pushcclosure(*in_ECX,FUN_008c2f30,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703216,9 +704243,15 @@ undefined4 * FUN_008a4300(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a4560 FUN_008a4560 +//@@ 008a4560 luabridge::Namespace::Class::Class -undefined4 * FUN_008a4560(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: derived-class ctor (pushes "__parent"): lua_pushstring "EntityPickup", createConstTable + 0085d040 luabridge::Namespace::ClassBase::createConstTable createClassTable 0085d2c0 luabridge::Namespace::ClassBase::createClassTable createStaticTable 0085d500; only caller lua_register + FUN_00884930 */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -703238,14 +704271,14 @@ undefined4 * FUN_008a4560(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("EntityPickup"); + ClassBase::createConstTable("EntityPickup"); lua_pushcclosure(*in_ECX,FUN_008c2f50,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("EntityPickup"); + ClassBase::createClassTable("EntityPickup"); lua_pushcclosure(*in_ECX,FUN_008c2f50,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703288,9 +704321,14 @@ undefined4 * FUN_008a4560(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a47c0 FUN_008a47c0 +//@@ 008a47c0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a47c0(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: luabridge deriveClass ctor: "EntityPlayer", __class/__const/__parent with lua_rawgetp of the + parent key, g_luaClassKeyEntityPlayer (same shape as Class::Class 008a4300) */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -703310,14 +704348,14 @@ undefined4 * FUN_008a47c0(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("EntityPlayer"); + ClassBase::createConstTable("EntityPlayer"); lua_pushcclosure(*in_ECX,FUN_008c2f70,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("EntityPlayer"); + ClassBase::createClassTable("EntityPlayer"); lua_pushcclosure(*in_ECX,FUN_008c2f70,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703360,9 +704398,15 @@ undefined4 * FUN_008a47c0(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a4a20 FUN_008a4a20 +//@@ 008a4a20 luabridge::Namespace::Class::Class -undefined4 * FUN_008a4a20(undefined4 param_1,undefined4 *param_2,undefined4 param_3) +/* DB: luabridge deriveClass ctor (has __parent): FUN_0087fdb0 thunk called by + LuaEngine::RegisterAPI with "EntityTear" (parent key DAT_00c8297b); creates const/class/static + tables, __gc closure FUN_008c2f90 */ + +undefined4 * +luabridge::Namespace::Class::Class + (undefined4 param_1,undefined4 *param_2,undefined4 param_3) { undefined4 uVar1; @@ -703382,14 +704426,14 @@ undefined4 * FUN_008a4a20(undefined4 param_1,undefined4 *param_2,undefined4 para local_8 = 0; in_ECX[1] = param_2[1] + 3; param_2[1] = 0; - FUN_0085d040("EntityTear"); + ClassBase::createConstTable("EntityTear"); lua_pushcclosure(*in_ECX,FUN_008c2f90,0,uVar2); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("EntityTear"); + ClassBase::createClassTable("EntityTear"); lua_pushcclosure(*in_ECX,FUN_008c2f90,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703432,9 +704476,12 @@ undefined4 * FUN_008a4a20(undefined4 param_1,undefined4 *param_2,undefined4 para } -//@@ 008a4c80 FUN_008a4c80 +//@@ 008a4c80 luabridge::Namespace::Class::Class -undefined4 * FUN_008a4c80(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor: FUN_0087d5b0 thunk called by LuaEngine::RegisterAPI with "Entity"; + __gc FUN_008c2fb0 */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -703462,14 +704509,14 @@ undefined4 * FUN_008a4c80(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("Entity"); + ClassBase::createConstTable("Entity"); lua_pushcclosure(*in_ECX,FUN_008c2fb0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("Entity"); + ClassBase::createClassTable("Entity"); lua_pushcclosure(*in_ECX,FUN_008c2fb0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703501,9 +704548,12 @@ undefined4 * FUN_008a4c80(undefined4 param_1,undefined4 *param_2) } -//@@ 008a4ea0 FUN_008a4ea0 +//@@ 008a4ea0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a4ea0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge class ctor for "ActiveItemDesc"; from FUN_0087d2a0 */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -703531,14 +704581,14 @@ undefined4 * FUN_008a4ea0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("ActiveItemDesc"); + ClassBase::createConstTable("ActiveItemDesc"); lua_pushcclosure(*in_ECX,FUN_008c2fd0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("ActiveItemDesc"); + ClassBase::createClassTable("ActiveItemDesc"); lua_pushcclosure(*in_ECX,FUN_008c2fd0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703570,9 +704620,11 @@ undefined4 * FUN_008a4ea0(undefined4 param_1,undefined4 *param_2) } -//@@ 008a50b0 FUN_008a50b0 +//@@ 008a50b0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a50b0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor: name "PosVel", __class/__const; only caller 0087d110 */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -703600,14 +704652,14 @@ undefined4 * FUN_008a50b0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("PosVel"); + ClassBase::createConstTable("PosVel"); lua_pushcclosure(*in_ECX,FUN_008c2ff0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("PosVel"); + ClassBase::createClassTable("PosVel"); lua_pushcclosure(*in_ECX,FUN_008c2ff0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703639,9 +704691,11 @@ undefined4 * FUN_008a50b0(undefined4 param_1,undefined4 *param_2) } -//@@ 008a52c0 FUN_008a52c0 +//@@ 008a52c0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a52c0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor (522 bytes, same as Class::Class) for EntityList */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -703669,14 +704723,14 @@ undefined4 * FUN_008a52c0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("EntityList"); + ClassBase::createConstTable("EntityList"); lua_pushcclosure(*in_ECX,FUN_008c3010,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("EntityList"); + ClassBase::createClassTable("EntityList"); lua_pushcclosure(*in_ECX,FUN_008c3010,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703708,9 +704762,13 @@ undefined4 * FUN_008a52c0(undefined4 param_1,undefined4 *param_2) } -//@@ 008a54d0 FUN_008a54d0 +//@@ 008a54d0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a54d0(undefined4 param_1,undefined4 *param_2) +/* DB: lua_pushstring "TemporaryEffects", createConstTable/createClassTable/createStaticTable; only + caller FUN_0087c510 */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -703738,14 +704796,14 @@ undefined4 * FUN_008a54d0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("TemporaryEffects"); + ClassBase::createConstTable("TemporaryEffects"); lua_pushcclosure(*in_ECX,FUN_008c3030,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("TemporaryEffects"); + ClassBase::createClassTable("TemporaryEffects"); lua_pushcclosure(*in_ECX,FUN_008c3030,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703777,9 +704835,12 @@ undefined4 * FUN_008a54d0(undefined4 param_1,undefined4 *param_2) } -//@@ 008a56e0 FUN_008a56e0 +//@@ 008a56e0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a56e0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor (522 bytes): "TemporaryEffect", __class/__const */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -703807,14 +704868,14 @@ undefined4 * FUN_008a56e0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("TemporaryEffect"); + ClassBase::createConstTable("TemporaryEffect"); lua_pushcclosure(*in_ECX,FUN_008c3050,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("TemporaryEffect"); + ClassBase::createClassTable("TemporaryEffect"); lua_pushcclosure(*in_ECX,FUN_008c3050,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703846,9 +704907,13 @@ undefined4 * FUN_008a56e0(undefined4 param_1,undefined4 *param_2) } -//@@ 008a58f0 FUN_008a58f0 +//@@ 008a58f0 luabridge::Namespace::Class::Class -undefined4 * FUN_008a58f0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor: FUN_0087b730 thunk called by LuaEngine::RegisterAPI with + "QueueItemData"; __gc FUN_008c3070 */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -703876,14 +704941,14 @@ undefined4 * FUN_008a58f0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("QueueItemData"); + ClassBase::createConstTable("QueueItemData"); lua_pushcclosure(*in_ECX,FUN_008c3070,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("QueueItemData"); + ClassBase::createClassTable("QueueItemData"); lua_pushcclosure(*in_ECX,FUN_008c3070,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703915,9 +704980,11 @@ undefined4 * FUN_008a58f0(undefined4 param_1,undefined4 *param_2) } -//@@ 008a5b00 FUN_008a5b00 +//@@ 008a5b00 luabridge::Namespace::Class::Class -undefined4 * FUN_008a5b00(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge class ctor for "TearParams"; from FUN_0087b130 */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -703945,14 +705012,14 @@ undefined4 * FUN_008a5b00(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("TearParams"); + ClassBase::createConstTable("TearParams"); lua_pushcclosure(*in_ECX,FUN_008c3090,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("TearParams"); + ClassBase::createClassTable("TearParams"); lua_pushcclosure(*in_ECX,FUN_008c3090,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -703984,9 +705051,12 @@ undefined4 * FUN_008a5b00(undefined4 param_1,undefined4 *param_2) } -//@@ 008a5d10 FUN_008a5d10 +//@@ 008a5d10 luabridge::Namespace::Class::Class -undefined4 * FUN_008a5d10(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor: name "Config" (the ItemConfig namespace class whose methods are + ItemConfig::GetCollectible/GetTrinket/IsValidCollectible); only caller 0087ac50 */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -704014,14 +705084,14 @@ undefined4 * FUN_008a5d10(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("Config"); + ClassBase::createConstTable("Config"); lua_pushcclosure(*in_ECX,FUN_008c30b0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("Config"); + ClassBase::createClassTable("Config"); lua_pushcclosure(*in_ECX,FUN_008c30b0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -704053,9 +705123,13 @@ undefined4 * FUN_008a5d10(undefined4 param_1,undefined4 *param_2) } -//@@ 008a5f20 FUN_008a5f20 +//@@ 008a5f20 luabridge::Namespace::Class::Class -undefined4 * FUN_008a5f20(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor for Costume (ItemConfig namespace), same shape as + Class::Class */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -704083,14 +705157,14 @@ undefined4 * FUN_008a5f20(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("Costume"); + ClassBase::createConstTable("Costume"); lua_pushcclosure(*in_ECX,FUN_008c30d0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("Costume"); + ClassBase::createClassTable("Costume"); lua_pushcclosure(*in_ECX,FUN_008c30d0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -704122,9 +705196,13 @@ undefined4 * FUN_008a5f20(undefined4 param_1,undefined4 *param_2) } -//@@ 008a6130 FUN_008a6130 +//@@ 008a6130 luabridge::Namespace::Class::Class -undefined4 * FUN_008a6130(undefined4 param_1,undefined4 *param_2) +/* DB: name string DAT_00b67800 = "Item" (ItemConfig::Item), + createConstTable/createClassTable/createStaticTable; reached from LuaEngine::RegisterAPI via + FUN_00878cb0 */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -704152,14 +705230,14 @@ undefined4 * FUN_008a6130(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040(&DAT_00b67800); + ClassBase::createConstTable(&DAT_00b67800); lua_pushcclosure(*in_ECX,FUN_008c30f0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0(&DAT_00b67800); + ClassBase::createClassTable(&DAT_00b67800); lua_pushcclosure(*in_ECX,FUN_008c30f0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -704191,9 +705269,13 @@ undefined4 * FUN_008a6130(undefined4 param_1,undefined4 *param_2) } -//@@ 008a6340 FUN_008a6340 +//@@ 008a6340 luabridge::Namespace::Class::Class -undefined4 * FUN_008a6340(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor (522 bytes): Lua name "PillEffect" (ItemConfig.PillEffect; addData + Name/GreedModeAllowed are Class), __class/__const */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -704221,14 +705303,14 @@ undefined4 * FUN_008a6340(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("PillEffect"); + ClassBase::createConstTable("PillEffect"); lua_pushcclosure(*in_ECX,FUN_008c3110,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("PillEffect"); + ClassBase::createClassTable("PillEffect"); lua_pushcclosure(*in_ECX,FUN_008c3110,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -704260,9 +705342,14 @@ undefined4 * FUN_008a6340(undefined4 param_1,undefined4 *param_2) } -//@@ 008a6550 FUN_008a6550 +//@@ 008a6550 luabridge::Namespace::Class::Class -undefined4 * FUN_008a6550(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor: FUN_00877ae0 thunk called by LuaEngine::RegisterAPI in namespace + "ItemConfig" with name DAT_00b70a1c = "Card"; followed by + AchievementID/Description/HudAnim/GreedModeAllowed properties; __gc FUN_008c3130 */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -704290,14 +705377,14 @@ undefined4 * FUN_008a6550(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040(&DAT_00b70a1c); + ClassBase::createConstTable(&DAT_00b70a1c); lua_pushcclosure(*in_ECX,FUN_008c3130,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0(&DAT_00b70a1c); + ClassBase::createClassTable(&DAT_00b70a1c); lua_pushcclosure(*in_ECX,FUN_008c3130,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -704329,9 +705416,11 @@ undefined4 * FUN_008a6550(undefined4 param_1,undefined4 *param_2) } -//@@ 008a6760 FUN_008a6760 +//@@ 008a6760 luabridge::Namespace::Class::Class -undefined4 * FUN_008a6760(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge class ctor for "PathFinder"; from FUN_00877660 */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -704359,14 +705448,14 @@ undefined4 * FUN_008a6760(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("PathFinder"); + ClassBase::createConstTable("PathFinder"); lua_pushcclosure(*in_ECX,FUN_008c3150,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("PathFinder"); + ClassBase::createClassTable("PathFinder"); lua_pushcclosure(*in_ECX,FUN_008c3150,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -704398,9 +705487,12 @@ undefined4 * FUN_008a6760(undefined4 param_1,undefined4 *param_2) } -//@@ 008a6970 FUN_008a6970 +//@@ 008a6970 luabridge::Namespace::Class::Class -undefined4 * FUN_008a6970(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor: name "BitSet128", __class/__const (522-byte beginClass shape); + only caller 00877100 */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -704428,14 +705520,14 @@ undefined4 * FUN_008a6970(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("BitSet128"); + ClassBase::createConstTable("BitSet128"); lua_pushcclosure(*in_ECX,FUN_008c3170,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("BitSet128"); + ClassBase::createClassTable("BitSet128"); lua_pushcclosure(*in_ECX,FUN_008c3170,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -704467,9 +705559,12 @@ undefined4 * FUN_008a6970(undefined4 param_1,undefined4 *param_2) } -//@@ 008a6b80 FUN_008a6b80 +//@@ 008a6b80 luabridge::Namespace::Class::Class -undefined4 * FUN_008a6b80(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor for ProjectileParams */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -704497,14 +705592,14 @@ undefined4 * FUN_008a6b80(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("ProjectileParams"); + ClassBase::createConstTable("ProjectileParams"); lua_pushcclosure(*in_ECX,FUN_008c3190,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("ProjectileParams"); + ClassBase::createClassTable("ProjectileParams"); lua_pushcclosure(*in_ECX,FUN_008c3190,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -704536,9 +705631,12 @@ undefined4 * FUN_008a6b80(undefined4 param_1,undefined4 *param_2) } -//@@ 008a6d90 FUN_008a6d90 +//@@ 008a6d90 luabridge::Namespace::Class::Class -undefined4 * FUN_008a6d90(undefined4 param_1,undefined4 *param_2) +/* DB: name string DAT_00b70764 = "RNG", createConstTable/createClassTable/createStaticTable; + reached from LuaEngine::RegisterAPI via FUN_00876530 */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -704566,14 +705664,14 @@ undefined4 * FUN_008a6d90(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040(&DAT_00b70764); + ClassBase::createConstTable(&DAT_00b70764); lua_pushcclosure(*in_ECX,FUN_008c31b0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0(&DAT_00b70764); + ClassBase::createClassTable(&DAT_00b70764); lua_pushcclosure(*in_ECX,FUN_008c31b0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -704638,14 +705736,14 @@ undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,un iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("EntityRef"); + ClassBase::createConstTable("EntityRef"); lua_pushcclosure(*in_ECX,FUN_008c31d0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("EntityRef"); + ClassBase::createClassTable("EntityRef"); lua_pushcclosure(*in_ECX,FUN_008c31d0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -704710,14 +705808,14 @@ undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undef iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("Sprite"); + ClassBase::createConstTable("Sprite"); lua_pushcclosure(*in_ECX,FUN_008c31f0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("Sprite"); + ClassBase::createClassTable("Sprite"); lua_pushcclosure(*in_ECX,FUN_008c31f0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -704781,14 +705879,14 @@ undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefi iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("Color"); + ClassBase::createConstTable("Color"); lua_pushcclosure(*in_ECX,FUN_008c3210,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("Color"); + ClassBase::createClassTable("Color"); lua_pushcclosure(*in_ECX,FUN_008c3210,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -704853,14 +705951,14 @@ undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefin iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040(&DAT_00b70424); + ClassBase::createConstTable(&DAT_00b70424); lua_pushcclosure(*in_ECX,FUN_008c3230,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0(&DAT_00b70424); + ClassBase::createClassTable(&DAT_00b70424); lua_pushcclosure(*in_ECX,FUN_008c3230,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -704926,14 +706024,14 @@ luabridge::Namespace::Class::Class(undefined4 param_1,undefi iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("FontRenderSettings"); + ClassBase::createConstTable("FontRenderSettings"); lua_pushcclosure(*in_ECX,FUN_008c3250,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("FontRenderSettings"); + ClassBase::createClassTable("FontRenderSettings"); lua_pushcclosure(*in_ECX,FUN_008c3250,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -704998,14 +706096,14 @@ undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undef iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("KColor"); + ClassBase::createConstTable("KColor"); lua_pushcclosure(*in_ECX,FUN_008c3270,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("KColor"); + ClassBase::createClassTable("KColor"); lua_pushcclosure(*in_ECX,FUN_008c3270,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -705070,14 +706168,14 @@ undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undef iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("Vector"); + ClassBase::createConstTable("Vector"); lua_pushcclosure(*in_ECX,FUN_008c3290,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("Vector"); + ClassBase::createClassTable("Vector"); lua_pushcclosure(*in_ECX,FUN_008c3290,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -705143,14 +706241,14 @@ undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,un iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("EntityPtr"); + ClassBase::createConstTable("EntityPtr"); lua_pushcclosure(*in_ECX,FUN_008c32b0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("EntityPtr"); + ClassBase::createClassTable("EntityPtr"); lua_pushcclosure(*in_ECX,FUN_008c32b0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -709253,11 +710351,15 @@ undefined4 FUN_008ae240(undefined4 param_1) } -//@@ 008ae2d0 FUN_008ae2d0 +//@@ 008ae2d0 luabridge::CFunc::CallMember::f /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: luabridge member thunk: pushed as a C closure (push 0x8ae2d0 at 882422) whose upvalue is + Entity_Player::AnimatePickup (0x7ab130), registered as "AnimatePickup" (0xb71de8); self + EntityPlayer, arg 2 Sprite by value ("nil passed to reference", ANM2::ANM2 copy), arg 3 bool, arg + 4 optional string */ -undefined4 FUN_008ae2d0(undefined4 param_1) +undefined4 luabridge::CFunc::CallMember::f(undefined4 param_1) { code *pcVar1; @@ -709289,7 +710391,7 @@ undefined4 FUN_008ae2d0(undefined4 param_1) local_138 = 0; } else { - iVar2 = luabridge::Userdata::getClass(&g_luaClassKeyEntityPlayer,0); + iVar2 = Userdata::getClass(&g_luaClassKeyEntityPlayer,0); local_138 = *(undefined4 *)(iVar2 + 4); } local_13c = (undefined4 *)lua_touserdata(param_1,0xfff0b9d7); @@ -709307,7 +710409,7 @@ undefined4 FUN_008ae2d0(undefined4 param_1) iVar2 = 0; } else { - iVar2 = luabridge::Userdata::getClass(&g_luaClassKeySprite,1); + iVar2 = Userdata::getClass(&g_luaClassKeySprite,1); iVar2 = *(int *)(iVar2 + 4); if (iVar2 != 0) goto LAB_008ae3c0; } @@ -709594,9 +710696,14 @@ undefined4 FUN_008ae8b0(undefined4 param_1) } -//@@ 008aed10 FUN_008aed10 +//@@ 008aed10 luabridge::CFunc::CallMember::f -undefined4 FUN_008aed10(undefined4 param_1) +/* DB: lua C closure pushed by FUN_00882bd0 with upvalue Entity_Player::FireTechLaser and registered + as "FireTechLaser": luabridge::Userdata::getClass(g_luaClassKeyEntityPlayer) for self, + luaL_checknumber/checkinteger/toboolean args, optional Entity arg 7, Vector args via FUN_008baa50 + */ + +undefined4 luabridge::CFunc::CallMember::f(undefined4 param_1) { float fVar1; @@ -709639,7 +710746,7 @@ undefined4 FUN_008aed10(undefined4 param_1) iVar6 = lua_type(param_1,1); if (iVar6 != 0) { - luabridge::Userdata::getClass(&g_luaClassKeyEntityPlayer,0); + Userdata::getClass(&g_luaClassKeyEntityPlayer,0); } puVar7 = (undefined4 *)lua_touserdata(param_1,0xfff0b9d7); fVar11 = (float10)luaL_checknumber(param_1,8); @@ -709647,7 +710754,7 @@ undefined4 FUN_008aed10(undefined4 param_1) iVar6 = lua_type(param_1,7); fStack_60 = 0.0; if (iVar6 != 0) { - iVar6 = luabridge::Userdata::getClass(&g_luaClassKeyEntity,0); + iVar6 = Userdata::getClass(&g_luaClassKeyEntity,0); fStack_60 = *(float *)(iVar6 + 4); } fStack_5c = fStack_90; @@ -709710,7 +710817,7 @@ undefined4 FUN_008aed10(undefined4 param_1) return 1; } puVar7 = (undefined4 *)lua_newuserdata(param_1,8); - *puVar7 = luabridge::UserdataPtr::vftable; + *puVar7 = UserdataPtr::vftable; puVar7[1] = iVar6; lua_rawgetp(param_1,0xfff0b9d8,&g_luaClassKeyEntityLaser); lua_setmetatable(param_1,0xfffffffe); @@ -712391,9 +713498,12 @@ undefined4 FUN_008b3ba0(undefined4 param_1) } -//@@ 008b3d60 FUN_008b3d60 +//@@ 008b3d60 luabridge::CFunc::CallMember::f -undefined4 FUN_008b3d60(undefined4 param_1) +/* DB: lua_pushcclosure'd by FUN_00890430 = addFunction("CheckLine", 0x7f0df0 Room::CheckLine); + reads args via luabridge::Userdata::getClass */ + +undefined4 luabridge::CFunc::CallMember::f(undefined4 param_1) { undefined4 uVar1; @@ -712425,7 +713535,7 @@ undefined4 FUN_008b3d60(undefined4 param_1) iVar5 = lua_type(param_1,1); if (iVar5 != 0) { - luabridge::Userdata::getClass(&g_luaClassKeyRoom,1); + Userdata::getClass(&g_luaClassKeyRoom,1); } puVar6 = (undefined4 *)lua_touserdata(param_1,0xfff0b9d7); iVar5 = lua_type(param_1,8); @@ -712433,7 +713543,7 @@ undefined4 FUN_008b3d60(undefined4 param_1) uStack_a0 = 0; } else { - iVar5 = luabridge::Userdata::getClass(&g_luaClassKeyVector,0); + iVar5 = Userdata::getClass(&g_luaClassKeyVector,0); uStack_a0 = *(undefined4 *)(iVar5 + 4); } iVar5 = lua_toboolean(param_1,7); @@ -714617,9 +715727,13 @@ undefined4 FUN_008b7240(undefined4 param_1) } -//@@ 008b72b0 FUN_008b72b0 +//@@ 008b72b0 luabridge::CFunc::CallMember::f -undefined4 FUN_008b72b0(undefined4 param_1) +/* DB: lua_CFunction pushed as closure (push 0x8b72b0 at 0x893da2) with upvalue member pointer + 0x428b20 (Game::Spawn, lua binding Game:Spawn) and name s_Spawn 'Spawn'; + luabridge::Userdata::getClass for self, reads args, pushes result */ + +undefined4 luabridge::CFunc::CallMember::f(undefined4 param_1) { undefined4 uVar1; @@ -714658,7 +715772,7 @@ undefined4 FUN_008b72b0(undefined4 param_1) iVar9 = lua_type(param_1,1); if (iVar9 != 0) { - luabridge::Userdata::getClass(&g_luaClassKeyGame,0); + Userdata::getClass(&g_luaClassKeyGame,0); } puVar10 = (undefined4 *)lua_touserdata(param_1,0xfff0b9d7); uVar11 = luaL_checkinteger(param_1,8); @@ -714666,7 +715780,7 @@ undefined4 FUN_008b72b0(undefined4 param_1) iVar9 = lua_type(param_1,6); uVar13 = 0; if (iVar9 != 0) { - iVar9 = luabridge::Userdata::getClass(&g_luaClassKeyEntity,1); + iVar9 = Userdata::getClass(&g_luaClassKeyEntity,1); uVar13 = *(undefined4 *)(iVar9 + 4); } puVar14 = (undefined4 *)FUN_008baa50(); @@ -714713,7 +715827,7 @@ undefined4 FUN_008b72b0(undefined4 param_1) return 1; } puVar10 = (undefined4 *)lua_newuserdata(param_1,8); - *puVar10 = luabridge::UserdataPtr::vftable; + *puVar10 = UserdataPtr::vftable; puVar10[1] = iVar9; lua_rawgetp(param_1,0xfff0b9d8,&g_luaClassKeyEntity); lua_setmetatable(param_1,0xfffffffe); @@ -714721,9 +715835,14 @@ undefined4 FUN_008b72b0(undefined4 param_1) } -//@@ 008b7630 FUN_008b7630 +//@@ 008b7630 luabridge::CFunc::CallMember::f -undefined4 FUN_008b7630(undefined4 param_1) +/* DB: luabridge member thunk: pushed as a C closure (push 0x8b7630 at 893e62) whose upvalue is + Game::BombDamage (0x6ff2a0), registered under "BombDamage" (0xb746d0); checks self Game, reads + args 2..9 (Vector, damage, radius, line check, Entity source, BitSet128 tear flags, int damage + flags, bool) via Userdata::getClass/luaL_checkinteger/lua_toboolean */ + +undefined4 luabridge::CFunc::CallMember::f(undefined4 param_1) { float fVar1; @@ -714768,7 +715887,7 @@ undefined4 FUN_008b7630(undefined4 param_1) iVar6 = lua_type(param_1,1); if (iVar6 != 0) { - luabridge::Userdata::getClass(&g_luaClassKeyGame,0); + Userdata::getClass(&g_luaClassKeyGame,0); } puVar7 = (undefined4 *)lua_touserdata(param_1,0xfff0b9d7); iVar6 = lua_toboolean(param_1,9); @@ -714777,7 +715896,7 @@ undefined4 FUN_008b7630(undefined4 param_1) iVar6 = lua_type(param_1,7); puVar8 = (undefined4 *)0x0; if (iVar6 != 0) { - iVar6 = luabridge::Userdata::getClass(&g_luaClassKeyBitSet128,1); + iVar6 = Userdata::getClass(&g_luaClassKeyBitSet128,1); puVar8 = *(undefined4 **)(iVar6 + 4); } uStack_20 = *puVar8; @@ -714787,7 +715906,7 @@ undefined4 FUN_008b7630(undefined4 param_1) iVar6 = lua_type(param_1,6); uVar9 = 0; if (iVar6 != 0) { - iVar6 = luabridge::Userdata::getClass(&g_luaClassKeyEntity,0); + iVar6 = Userdata::getClass(&g_luaClassKeyEntity,0); uVar9 = *(undefined4 *)(iVar6 + 4); } uVar5 = uStack_14; @@ -714839,9 +715958,13 @@ undefined4 FUN_008b7630(undefined4 param_1) } -//@@ 008b78f0 FUN_008b78f0 +//@@ 008b78f0 luabridge::CFunc::CallMember::f -undefined4 FUN_008b78f0(undefined4 param_1) +/* DB: lua_pushcclosure(FUN_008b78f0) with upvalue Game::BombExplosionEffects, name + "BombExplosionEffects" (registration FUN_00893eb0); reads Game userdata, Vector, damage, + TearFlags BitSet128, Color, source Entity, radius scale, bools then calls the member */ + +undefined4 luabridge::CFunc::CallMember::f(undefined4 param_1) { undefined8 uVar1; @@ -714894,7 +716017,7 @@ undefined4 FUN_008b78f0(undefined4 param_1) iVar15 = lua_type(param_1,1); if (iVar15 != 0) { - luabridge::Userdata::getClass(&g_luaClassKeyGame,0); + Userdata::getClass(&g_luaClassKeyGame,0); } puVar16 = (undefined4 *)lua_touserdata(param_1,0xfff0b9d7); iVar15 = lua_toboolean(param_1,10); @@ -714906,7 +716029,7 @@ undefined4 FUN_008b78f0(undefined4 param_1) iVar15 = lua_type(param_1,6); uVar17 = 0; if (iVar15 != 0) { - iVar15 = luabridge::Userdata::getClass(&g_luaClassKeyEntity,0); + iVar15 = Userdata::getClass(&g_luaClassKeyEntity,0); uVar17 = *(undefined4 *)(iVar15 + 4); } puVar18 = (undefined4 *)FUN_008ba900(); @@ -714923,7 +716046,7 @@ undefined4 FUN_008b78f0(undefined4 param_1) iVar15 = lua_type(param_1,4); puVar18 = (undefined4 *)0x0; if (iVar15 != 0) { - iVar15 = luabridge::Userdata::getClass(&g_luaClassKeyBitSet128,1); + iVar15 = Userdata::getClass(&g_luaClassKeyBitSet128,1); puVar18 = *(undefined4 **)(iVar15 + 4); } uVar11 = *puVar18; @@ -721297,11 +722420,14 @@ undefined4 FUN_008bf670(undefined4 param_1) } -//@@ 008bf700 FUN_008bf700 +//@@ 008bf700 luabridge::CFunc::setProperty /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: lua __propset closure pushed by luabridge::Namespace::Class::addData_Pathfinder + (push 0x8bf700 at 0x887a69, upvalue member offset 0x414, name 'Pathfinder'); getClass self, + copies the 0x700-byte value */ -undefined4 FUN_008bf700(undefined4 param_1) +undefined4 luabridge::CFunc::setProperty(undefined4 param_1) { int *this; @@ -721349,7 +722475,7 @@ undefined4 FUN_008bf700(undefined4 param_1) iVar2 = 0; } else { - iVar2 = luabridge::Userdata::getClass(&g_luaClassKeyEntityNpc,0); + iVar2 = Userdata::getClass(&g_luaClassKeyEntityNpc,0); iVar2 = *(int *)(iVar2 + 4); } piVar3 = (int *)lua_touserdata(param_1,0xfff0b9d7); @@ -721358,7 +722484,7 @@ undefined4 FUN_008bf700(undefined4 param_1) uVar5 = 0; } else { - iVar4 = luabridge::Userdata::getClass(&DAT_00c8299e,1); + iVar4 = Userdata::getClass(&DAT_00c8299e,1); uVar5 = *(undefined4 *)(iVar4 + 4); } FUN_008c4b30(uVar5); @@ -725131,9 +726257,12 @@ undefined4 FUN_008c3630(undefined4 param_1) } -//@@ 008c3690 FUN_008c3690 +//@@ 008c3690 luabridge::Namespace::Class::Class -undefined4 * FUN_008c3690(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor (522 bytes): "intValues", __class/__const; caller + lua_register_intValues */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -725161,14 +726290,14 @@ undefined4 * FUN_008c3690(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("intValues"); + ClassBase::createConstTable("intValues"); lua_pushcclosure(*in_ECX,FUN_008c5b90,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("intValues"); + ClassBase::createClassTable("intValues"); lua_pushcclosure(*in_ECX,FUN_008c5b90,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -725200,9 +726329,14 @@ undefined4 * FUN_008c3690(undefined4 param_1,undefined4 *param_2) } -//@@ 008c38a0 FUN_008c38a0 +//@@ 008c38a0 luabridge::Namespace::Class>::Class -undefined4 * FUN_008c38a0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor: lua_register_RoomDescriptor_array opens CppContainer.ArrayProxy + then calls it, pushes name "RoomDescriptor", __class/__const; __gc FUN_008c5bb0 */ + +undefined4 * +luabridge::Namespace::Class>::Class + (undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -725230,14 +726364,14 @@ undefined4 * FUN_008c38a0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("RoomDescriptor"); + ClassBase::createConstTable("RoomDescriptor"); lua_pushcclosure(*in_ECX,FUN_008c5bb0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("RoomDescriptor"); + ClassBase::createClassTable("RoomDescriptor"); lua_pushcclosure(*in_ECX,FUN_008c5bb0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -725269,9 +726403,12 @@ undefined4 * FUN_008c38a0(undefined4 param_1,undefined4 *param_2) } -//@@ 008c3ab0 FUN_008c3ab0 +//@@ 008c3ab0 luabridge::Namespace::Class::Class -undefined4 * FUN_008c3ab0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor for "RoomConfigSpawns"; from lua_register_RoomConfigSpawns */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -725299,14 +726436,14 @@ undefined4 * FUN_008c3ab0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("RoomConfigSpawns"); + ClassBase::createConstTable("RoomConfigSpawns"); lua_pushcclosure(*in_ECX,FUN_008c5bd0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("RoomConfigSpawns"); + ClassBase::createClassTable("RoomConfigSpawns"); lua_pushcclosure(*in_ECX,FUN_008c5bd0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -725338,9 +726475,13 @@ undefined4 * FUN_008c3ab0(undefined4 param_1,undefined4 *param_2) } -//@@ 008c3cc0 FUN_008c3cc0 +//@@ 008c3cc0 luabridge::Namespace::Class::Class -undefined4 * FUN_008c3cc0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor: name "RoomConfigEntries", __class/__const; only caller + lua_register_RoomConfigEntries (0088d970) */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -725368,14 +726509,14 @@ undefined4 * FUN_008c3cc0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("RoomConfigEntries"); + ClassBase::createConstTable("RoomConfigEntries"); lua_pushcclosure(*in_ECX,FUN_008c5bf0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("RoomConfigEntries"); + ClassBase::createClassTable("RoomConfigEntries"); lua_pushcclosure(*in_ECX,FUN_008c5bf0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -725407,9 +726548,11 @@ undefined4 * FUN_008c3cc0(undefined4 param_1,undefined4 *param_2) } -//@@ 008c3ed0 FUN_008c3ed0 +//@@ 008c3ed0 luabridge::Namespace::Class::Class -undefined4 * FUN_008c3ed0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor for EffectList; called from lua_register_EffectList */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -725437,14 +726580,14 @@ undefined4 * FUN_008c3ed0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("EffectList"); + ClassBase::createConstTable("EffectList"); lua_pushcclosure(*in_ECX,FUN_008c5c10,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("EffectList"); + ClassBase::createClassTable("EffectList"); lua_pushcclosure(*in_ECX,FUN_008c5c10,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -725476,9 +726619,12 @@ undefined4 * FUN_008c3ed0(undefined4 param_1,undefined4 *param_2) } -//@@ 008c40e0 FUN_008c40e0 +//@@ 008c40e0 luabridge::Namespace::Class::Class -undefined4 * FUN_008c40e0(undefined4 param_1,undefined4 *param_2) +/* DB: lua_pushstring "VectorList", createConstTable/createClassTable/createStaticTable; only caller + lua_register_VectorList */ + +undefined4 * luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -725506,14 +726652,14 @@ undefined4 * FUN_008c40e0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("VectorList"); + ClassBase::createConstTable("VectorList"); lua_pushcclosure(*in_ECX,FUN_008c5c30,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("VectorList"); + ClassBase::createClassTable("VectorList"); lua_pushcclosure(*in_ECX,FUN_008c5c30,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -725545,9 +726691,13 @@ undefined4 * FUN_008c40e0(undefined4 param_1,undefined4 *param_2) } -//@@ 008c42f0 FUN_008c42f0 +//@@ 008c42f0 luabridge::Namespace::Class::Class -undefined4 * FUN_008c42f0(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor (522 bytes): "CostumeConfigList", __class/__const; caller + lua_register_CostumeConfigList */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -725575,14 +726725,14 @@ undefined4 * FUN_008c42f0(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("CostumeConfigList"); + ClassBase::createConstTable("CostumeConfigList"); lua_pushcclosure(*in_ECX,FUN_008c5c50,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("CostumeConfigList"); + ClassBase::createClassTable("CostumeConfigList"); lua_pushcclosure(*in_ECX,FUN_008c5c50,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -725614,9 +726764,14 @@ undefined4 * FUN_008c42f0(undefined4 param_1,undefined4 *param_2) } -//@@ 008c4500 FUN_008c4500 +//@@ 008c4500 luabridge::Namespace::Class>::Class -undefined4 * FUN_008c4500(undefined4 param_1,undefined4 *param_2) +/* DB: ? luabridge beginClass ctor for "ItemConfigList" called by lua_register_ItemConfigList inside + the CppContainer/ArrayProxy namespace (same template as 0x8c38a0); __gc FUN_008c5c70 */ + +undefined4 * +luabridge::Namespace::Class>::Class + (undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -725644,14 +726799,14 @@ undefined4 * FUN_008c4500(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("ItemConfigList"); + ClassBase::createConstTable("ItemConfigList"); lua_pushcclosure(*in_ECX,FUN_008c5c70,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("ItemConfigList"); + ClassBase::createClassTable("ItemConfigList"); lua_pushcclosure(*in_ECX,FUN_008c5c70,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -725683,9 +726838,12 @@ undefined4 * FUN_008c4500(undefined4 param_1,undefined4 *param_2) } -//@@ 008c4710 FUN_008c4710 +//@@ 008c4710 luabridge::Namespace::Class::Class -undefined4 * FUN_008c4710(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor for "PillConfigList"; from lua_register_PillConfigList */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -725713,14 +726871,14 @@ undefined4 * FUN_008c4710(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("PillConfigList"); + ClassBase::createConstTable("PillConfigList"); lua_pushcclosure(*in_ECX,FUN_008c5c90,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("PillConfigList"); + ClassBase::createClassTable("PillConfigList"); lua_pushcclosure(*in_ECX,FUN_008c5c90,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -725752,9 +726910,13 @@ undefined4 * FUN_008c4710(undefined4 param_1,undefined4 *param_2) } -//@@ 008c4920 FUN_008c4920 +//@@ 008c4920 luabridge::Namespace::Class::Class -undefined4 * FUN_008c4920(undefined4 param_1,undefined4 *param_2) +/* DB: luabridge beginClass ctor: name "CardConfigList", __class/__const, __gc closure FUN_008c5cb0; + only caller lua_register_CardConfigList (0087a010) */ + +undefined4 * +luabridge::Namespace::Class::Class(undefined4 param_1,undefined4 *param_2) { undefined4 uVar1; @@ -725782,14 +726944,14 @@ undefined4 * FUN_008c4920(undefined4 param_1,undefined4 *param_2) iVar4 = lua_type(*in_ECX,0xffffffff); if (iVar4 == 0) { lua_settop(*in_ECX,0xfffffffe); - FUN_0085d040("CardConfigList"); + ClassBase::createConstTable("CardConfigList"); lua_pushcclosure(*in_ECX,FUN_008c5cb0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); lua_pushstring(uVar1,s___gc); lua_rotate(uVar1,0xfffffffe,1); lua_rawset(uVar1,uVar3); - FUN_0085d2c0("CardConfigList"); + ClassBase::createClassTable("CardConfigList"); lua_pushcclosure(*in_ECX,FUN_008c5cb0,0); uVar1 = *in_ECX; uVar3 = lua_absindex(uVar1,0xfffffffe); @@ -727154,7 +728316,7 @@ void Menu_Bestiary::Update(void) ExceptionList = &local_10; MVar1 = in_ECX[0xd2]; MVar2 = in_ECX[0xd1]; - FUN_008c87b0(local_14); + update_cursor(local_14); if ((g_manager->_framecount & 1) == 0) { if (in_ECX[0x44].field_0x1 != '\0') { AnimationState::Update(); @@ -727239,7 +728401,7 @@ void Menu_Bestiary::Render(void) Font *pFVar12; float fVar13; float fVar14; - uint *puVar15; + std_map *psVar15; float fVar16; float fVar17; float fVar18; @@ -727276,7 +728438,7 @@ void Menu_Bestiary::Render(void) uint *local_164; float local_160; Vector local_15c; - uint *local_154; + std_map *local_154; PersistentGameData *local_150; EntityConfig *local_14c; float local_148; @@ -727331,11 +728493,11 @@ void Menu_Bestiary::Render(void) local_160 = 0.0; do { if ((int)in_ECX[0xd8] - (int)in_ECX[0xd7] >> 2 <= (int)local_16c) break; - local_154 = (uint *)((int)in_ECX[0xd7] + (int)local_16c * 4); + local_154 = (std_map *)((int)in_ECX[0xd7] + (int)local_16c * 4); _Find_lower_bound<>(local_1b0,local_154); pvVar11 = local_1a8; if (((*(char *)((int)local_1a8 + 0xd) == '\0') && - (*(uint *)((int)local_1a8 + 0x10) <= *local_154)) && + (*(void **)((int)local_1a8 + 0x10) <= local_154->_head)) && (local_1a8 != (local_14c->_entities)._head)) { uVar2 = (uint)local_16c & 0x80000001; if ((int)uVar2 < 0) { @@ -727348,9 +728510,9 @@ void Menu_Bestiary::Render(void) } local_1a0 = &g_manager->_persistentGameData; local_150 = (PersistentGameData *)((int)local_1a8 + 0x18); - puVar15 = (uint *)((float)((int)uVar2 / 2) * fVar14); + psVar15 = (std_map *)((float)((int)uVar2 / 2) * fVar14); local_194 = pFVar12; - local_154 = puVar15; + local_154 = psVar15; pEVar3 = EntityConfig::GetBestiaryConfig (&g_manager->_entityConfig,*(int *)((int)local_1a8 + 0x18), *(int *)((int)local_1a8 + 0x1c)); @@ -727543,7 +728705,7 @@ LAB_008c6f2c: goto LAB_008c6f2c; } local_190.x = fVar18 + (float)pFVar12 + fVar16 + 21.0; - local_190.y = (fVar19 + (float)puVar15 + fVar16) - 30.0; + local_190.y = (fVar19 + (float)psVar15 + fVar16) - 30.0; if (((local_150 != (PersistentGameData *)0x0) && (iVar4 = *(int *)(local_150->_achievements + 0x128), iVar4 != 0)) && (pAVar10 = (ANM2 *)(iVar4 + 0xdf0), *(char *)(iVar4 + 0xef9) != '\0')) { @@ -727599,7 +728761,7 @@ LAB_008c6f19: local_1a0 = (PersistentGameData *) ((*(int *)((int)local_12c + 0x18) << 0xc | *(uint *)((int)local_12c + 0x1c)) << 8); - local_154 = (uint *)&(g_manager->_persistentGameData).field_0xf64; + local_154 = &(g_manager->_persistentGameData)._bestiaryEncounters; fVar14 = (float)((int)(uVar2 + ((int)uVar2 >> 0x1f & 3U)) >> 2) * fVar14; local_194 = (Font *)fVar14; local_160 = fVar13; @@ -727610,9 +728772,9 @@ LAB_008c6f19: pvVar8 = (void *)local_1c4._unk; } else { - pvVar8 = (void *)*local_154; + pvVar8 = local_154->_head; } - if (pvVar8 == (void *)*local_154) { + if (pvVar8 == local_154->_head) { iVar4 = 0; } else { @@ -727863,7 +729025,7 @@ LAB_008c78c8: } else { local_164 = (uint *)((pEVar3->id << 0xc | pEVar3->variant) << 8); - local_154 = (uint *)&local_168->field_0xf64; + local_154 = &local_168->_bestiaryEncounters; local_15c.y = (float)local_164; std::set::find_node(&local_1c4._blue,&local_15c.y); if ((*(char *)(local_1c4._unk + 0xd) == '\0') && @@ -727871,9 +729033,9 @@ LAB_008c78c8: pvVar8 = (void *)local_1c4._unk; } else { - pvVar8 = (void *)*local_154; + pvVar8 = local_154->_head; } - if (pvVar8 == (void *)*local_154) goto LAB_008c78c8; + if (pvVar8 == local_154->_head) goto LAB_008c78c8; local_148 = *(float *)((int)pvVar8 + 0x14); } local_19c.y = (float)PersistentGameData::GetBestiaryDeathCount @@ -727887,14 +729049,14 @@ LAB_008c7985: } else { local_164 = (uint *)((pEVar3->id << 0xc | pEVar3->variant) << 8); - local_154 = (uint *)&local_168->field_0xf74; + local_154 = (std_map *)&local_168->field_0xf74; local_15c.y = (float)local_164; std::set::find_node(&local_1c4._blue,&local_15c.y); if ((*(char *)(local_1c4._unk + 0xd) != '\0') || ((int)local_164 < *(int *)(local_1c4._unk + 0x10))) { - local_1c4._unk = *local_154; + local_1c4._unk = (int)local_154->_head; } - if ((void *)local_1c4._unk == (void *)*local_154) goto LAB_008c7985; + if ((void *)local_1c4._unk == local_154->_head) goto LAB_008c7985; local_160 = *(float *)(local_1c4._unk + 0x14); } local_164 = (uint *)PersistentGameData::GetBestiaryKillCount @@ -727921,7 +729083,7 @@ LAB_008c7985: if (*(char *)((int)in_ECX + 0x339) == '\0') { if ((*(int *)((int)pvVar11 + 0x178) == 0) || (*(char *)((int)pvVar11 + 0x17c) == '\0')) { local_16c = (Sprite *)(in_ECX + 0x47); - local_154 = *(uint **)((int)pvVar11 + 0x7c); + local_154 = *(std_map **)((int)pvVar11 + 0x7c); if ((int)in_ECX[0xd3] < (int)in_ECX[0xd1]) { if (in_ECX[0x54] != 0.0) { if (*(int *)((int)in_ECX[0x53] + 0x80) < 4) { @@ -728233,9 +729395,13 @@ void FUN_008c8760(void) } -//@@ 008c87b0 FUN_008c87b0 +//@@ 008c87b0 Menu_Bestiary::update_cursor -uint FUN_008c87b0(void) +/* DB: ? first call in Menu_Bestiary::Update; counts held frames for input actions 0x14..0x17 (menu + directions) via input manager vtable+0x74 into +0x368..+0x374 and moves the grid cursor (+0x344 + page/+0x34c index) */ + +uint Menu_Bestiary::update_cursor(void) { int iVar1; @@ -728497,7 +729663,7 @@ void __thiscall Menu_Bestiary::LoadPreview(Menu_Bestiary *this) undefined4 uStack_98; undefined4 local_94; LayerState *local_90; - int local_8c; + char *local_8c; Menu_Bestiary *local_88; Menu_Bestiary local_84; Menu_Bestiary local_80; @@ -728507,7 +729673,7 @@ void __thiscall Menu_Bestiary::LoadPreview(Menu_Bestiary *this) ANM2 *local_70; int local_6c [5]; uint local_58; - int local_54; + char *local_54; undefined4 local_44; uint local_40; LayerState *local_3c [3]; @@ -728577,7 +729743,7 @@ LAB_008c8d25: if (pLVar4->_layerData == (void *)0x0) { local_40 = 0xf; local_44 = 0; - local_54 = 0; + local_54 = (char *)0x0; } else { std::string::string((int)pLVar4->_layerData + 0x20); @@ -728587,20 +729753,20 @@ LAB_008c8d25: local_14._0_1_ = 3; if (0xf < local_40) { uVar7 = local_40 + 1; - iVar3 = local_54; + pcVar8 = local_54; if (0xfff < uVar7) { - iVar3 = *(int *)(local_54 + -4); + pcVar8 = *(char **)(local_54 + -4); uVar7 = local_40 + 0x24; - if (0x1f < (local_54 - iVar3) - 4U) goto LAB_008c9312; + if ((char *)0x1f < local_54 + (-4 - (int)pcVar8)) goto LAB_008c9312; } - operator_delete(iVar3,uVar7); + operator_delete(pcVar8,uVar7); } local_14._0_1_ = 4; if ((void *)0xf < local_28) { uVar7 = (int)local_28 + 1; pLVar4 = local_3c[0]; if (0xfff < uVar7) { - pLVar4 = (LayerState *)local_3c[0][-1]._cropOffset.y; + pLVar4 = (LayerState *)local_3c[0][-1]._spriteSheet; uVar7 = (int)local_28 + 0x24; if (0x1f < (uint)((int)local_3c[0] + (-4 - (int)pLVar4))) goto LAB_008c9312; } @@ -728643,9 +729809,9 @@ LAB_008c8d25: } local_78 = local_3c[0]; if (4 < local_2c) { - local_8c = (int)local_90 + (local_2c - 4); - for (pbVar5 = memchr(local_90,0x41,local_8c - (int)local_90); pbVar5 != (byte *)0x0; - pbVar5 = memchr(pbVar5 + 1,0x41,local_8c - (int)(pbVar5 + 1))) { + local_8c = (local_90->_spriteSheetPath)._buf + (local_2c - 0xc); + for (pbVar5 = memchr(local_90,0x41,(int)local_8c - (int)local_90); pbVar5 != (byte *)0x0; + pbVar5 = memchr(pbVar5 + 1,0x41,(int)local_8c - (int)(pbVar5 + 1))) { local_80 = (Menu_Bestiary)0x1; pcVar8 = "Angel"; pbVar6 = pbVar5; @@ -728676,8 +729842,9 @@ LAB_008c8d25: if ((void *)0xf < local_28) { pLVar4 = local_78; } + iVar3 = local_2c - 0xc; local_2c = uVar7; - *(undefined1 *)((int)pLVar4 + uVar7) = 0; + (pLVar4->_spriteSheetPath)._buf[iVar3] = '\0'; } std::string::append("Black.png",9); MVar12 = local_84; @@ -728698,7 +729865,7 @@ LAB_008c9015: uVar7 = (int)local_28 + 1; pLVar9 = pLVar4; if (0xfff < uVar7) { - pLVar9 = (LayerState *)pLVar4[-1]._cropOffset.y; + pLVar9 = (LayerState *)pLVar4[-1]._spriteSheet; uVar7 = (int)local_28 + 0x24; if (0x1f < (uint)((int)pLVar4 + (-4 - (int)pLVar9))) goto LAB_008c9312; } @@ -728716,7 +729883,7 @@ LAB_008c9015: if (pLVar4->_layerData == (void *)0x0) { local_40 = 0xf; local_44 = 0; - local_54 = 0; + local_54 = (char *)0x0; } else { std::string::string((int)pLVar4->_layerData + 8); @@ -728753,7 +729920,7 @@ LAB_008c91ab: uVar7 = (int)local_28 + 1; pLVar9 = pLVar4; if (0xfff < uVar7) { - pLVar9 = (LayerState *)pLVar4[-1]._cropOffset.y; + pLVar9 = (LayerState *)pLVar4[-1]._spriteSheet; uVar7 = (int)local_28 + 0x24; if (0x1f < (uint)((int)pLVar4 + (-4 - (int)pLVar9))) { LAB_008c9312: @@ -728768,30 +729935,30 @@ LAB_008c9312: if ((((uint)local_74 & 1) != 0) && (local_74 = (LayerState *)((uint)local_74 & 0xfffffffe), 0xf < local_40)) { uVar7 = local_40 + 1; - iVar3 = local_8c; + pcVar8 = local_8c; if (0xfff < uVar7) { - iVar3 = *(int *)(local_8c + -4); + pcVar8 = *(char **)(local_8c + -4); uVar7 = local_40 + 0x24; - if (0x1f < (local_8c - iVar3) - 4U) goto LAB_008c9312; + if ((char *)0x1f < local_8c + (-4 - (int)pcVar8)) goto LAB_008c9312; } - operator_delete(iVar3,uVar7); + operator_delete(pcVar8,uVar7); } if (local_79 != '\0') { local_9c = 0; uStack_98 = 0; local_94 = 0; - if ((undefined4 *)&local_78->field_0x48 != local_bc) { - *(undefined4 *)&local_78->field_0x58 = 0; - *(undefined4 *)&local_78->field_0x5c = 0; - *(undefined4 *)&local_78->field_0x60 = 0; - *(undefined4 *)&local_78->field_0x64 = 0; - *(undefined4 *)&local_78->field_0x68 = 0; - *(undefined4 *)&local_78->field_0x6c = 0; - *(undefined4 *)&local_78->field_0x48 = 0x3fe90000; - *(undefined4 *)&local_78->field_0x4c = 0x3fda0000; - *(undefined4 *)&local_78->field_0x50 = 0x3fdf0000; - *(undefined4 *)&local_78->field_0x54 = 0x3f800000; - *(undefined4 *)&local_78->field_0x70 = 0; + if (&local_78->_color != (ColorMod *)local_bc) { + (local_78->_color)._colorize[0] = 0.0; + (local_78->_color)._colorize[1] = 0.0; + (local_78->_color)._colorize[2] = 0.0; + (local_78->_color)._colorize[3] = 0.0; + (local_78->_color)._offset[0] = 0.0; + (local_78->_color)._offset[1] = 0.0; + (local_78->_color)._tint[0] = 1.8203125; + (local_78->_color)._tint[1] = 1.703125; + (local_78->_color)._tint[2] = 1.7421875; + (local_78->_color)._tint[3] = 1.0; + (local_78->_color)._offset[2] = 0.0; } } local_80 = (Menu_Bestiary)((int)local_80 + 1); @@ -729223,7 +730390,7 @@ void __thiscall Menu_ControllerSelect::Render(Menu_ControllerSelect *this) } text_convert_encoding(0,local_114,0x80,1,uVar2); pFVar10 = &g_manager->_font2_TeamMeatEx12; - if (g_manager->_stringTable == 0) { + if (*(int *)&g_manager->_stringTable == 0) { pFVar10 = &g_manager->_font1_TeamMeatEx10; } local_148 = 0; @@ -729995,7 +731162,8 @@ void online_stats_finalize(undefined4 param_1) /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"Finalized stats for user %llu, %s \n",iVar8,iVar11,puVar7); } - iVar8 = PlayerManager::GetPlayerSlotFromController(*(undefined4 *)(iVar14 + -0x38)); + iVar8 = PlayerManager::GetPlayerSlotFromController + (&pGVar10->_playerManager,*(undefined4 *)(iVar14 + -0x38)); sprintf_s(local_28,0x10,"Player %d",iVar8 + 1); pcVar13 = local_28; do { @@ -730032,8 +731200,8 @@ void online_stats_finalize(undefined4 param_1) DAT_00bf9434 = 1; } pMVar4 = g_manager; - *(undefined4 *)&g_manager[1].field_0x1284 = 0; - *(undefined4 *)&pMVar4[1].field_0x1280 = 0; + *(undefined4 *)&g_manager[1]._gamestate.field_0x2e0 = 0; + *(undefined4 *)&pMVar4[1]._gamestate.field_0x2dc = 0; } else { netplay_leave_lobby(pcVar13,iVar14); @@ -730331,8 +731499,8 @@ void FUN_008cb0f0(undefined4 param_1,int param_2) pMVar2 = g_manager; pGVar1 = g_game; - *(undefined4 *)&g_manager->field_0x4aa68 = 0x42c00000; - *(undefined4 *)&pMVar2->field_0x4ab98 = 0x42c00000; + (g_manager->_popupButtons)._buttons[0]._targetSlideOffset = 96.0; + (pMVar2->_popupButtons)._buttons[1]._targetSlideOffset = 96.0; pMVar2[1]._persistentGameData._achievements[0] = 0; Game::End(pGVar1,*(int *)(param_2 + 0x574)); pGVar1 = g_game; @@ -730954,7 +732122,7 @@ LAB_008cbec1: iVar7 = iVar7 + 1; this = (ANM2 *)(this[1]._filename._buf + 0xc); if (5 < iVar7) { - FUN_008cc5e0(); + update_paper_layers(); ExceptionList = local_1c; return; } @@ -730966,7 +732134,7 @@ LAB_008cbec1: /* DB: ? MenuManager::Update case 0x15 with ECX = MenuManager+0xedd8: fades +0x7e8 by 0.1 and pushes the queued menu +0x7ec, calls Menu_Online::update_mode_select / 008cd3f0, updates 6 mode entries - (Idle_DailyMatch/Idle_FriendMatch...), then 008cc5e0 */ + (Idle_DailyMatch/Idle_FriendMatch...), then 008cc5e0 Menu_CreateLobby::update_paper_layers void Menu_OnlineMode::Update(void) @@ -730987,7 +732155,7 @@ void Menu_OnlineMode::Update(void) undefined4 uStack_c; undefined4 local_8; - FUN_008cca10(); + play_idle_animation(); uVar1 = extraout_ECX; if (*(char *)(in_ECX + 0x109) != '\0') { AnimationState::Update(); @@ -731018,7 +732186,7 @@ void Menu_OnlineMode::Update(void) update_mode_select(); } else { - FUN_008cd3f0(); + update_seed_input(); } } iVar3 = 0; @@ -731075,7 +732243,7 @@ LAB_008cc176: fStack_2c = local_30; fStack_28 = local_30; if (5 < iVar3) { - FUN_008cc5e0(); + Menu_CreateLobby::update_paper_layers(); return; } } while( true ); @@ -731227,7 +732395,7 @@ void FUN_008cc530(void) if (((pMVar1->_lobbySettings)._gameMode == 4) && ((pMVar1->_lobbySettings)._challenge == 0)) { (pMVar1->_lobbySettings)._gameMode = 0; } - FUN_008cca10(); + Menu_OnlineMode::play_idle_animation(); iVar3 = 0; puVar2 = (undefined4 *)(in_ECX + 0x230); do { @@ -731246,9 +732414,14 @@ void FUN_008cc530(void) } -//@@ 008cc5e0 FUN_008cc5e0 +//@@ 008cc5e0 Menu_CreateLobby::update_paper_layers -void FUN_008cc5e0(void) +/* DB: ? two ANM2s at ECX+0x114 (stride 0x120): hides every layer, shows "Paper", then + DailyMode/ModeTitle/Challenge/Players/Password/TagTitle/Arrows per Manager _lobbySettings + (gameMode) with ANM2::SetLayerFrame; from Menu_CreateLobby::load_graphics and + Menu_OnlineMode::Update */ + +void Menu_CreateLobby::update_paper_layers(void) { int iVar1; @@ -731407,11 +732580,15 @@ LAB_008cc9f0: } -//@@ 008cca10 FUN_008cca10 +//@@ 008cca10 Menu_OnlineMode::play_idle_animation /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? called from Menu_OnlineMode::Update and FUN_008cc530 (menu enter via + MenuManager::SetState); ECX is the menu ANM2: plays + 'Idle_FriendMatch'/'Idle_DailyMatch'/'Idle_Challenge' by the current lobby mode and sets layer + 'Title' frame to g_manager->_lobbySettings */ -void FUN_008cca10(void) +void Menu_OnlineMode::play_idle_animation(void) { byte *pbVar1; @@ -731948,9 +733125,13 @@ LAB_008cd2af: } -//@@ 008cd3f0 FUN_008cd3f0 +//@@ 008cd3f0 Menu_OnlineMode::update_seed_input -void FUN_008cd3f0(void) +/* DB: thiscall, only caller Menu_OnlineMode::Update (0x8cc097); polls keyboard via input vtable + +0x74 for keys A-Z and 0-9 (GLFW codes 0x41.., 0x30..), backspace 0x103, appends into + g_manager->_lobbySettings._seed (max 9 chars, space after 4), toggles _isHotkeysEnabled */ + +void Menu_OnlineMode::update_seed_input(void) { Manager *pMVar1; @@ -731986,7 +733167,7 @@ void FUN_008cd3f0(void) _local_8 = 0xe; cVar2 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a209e0,&local_8,0,0); if (cVar2 != '\0') { - FUN_008cddf0(); + apply_lobby_seed(); return; } if ((pMVar1->_lobbySettings)._seed._size < 9) { @@ -732530,9 +733711,14 @@ LAB_008cddc4: } -//@@ 008cddf0 FUN_008cddf0 +//@@ 008cddf0 Menu_OnlineMode::apply_lobby_seed -void FUN_008cddf0(void) +/* DB: ? only caller FUN_008cd3f0 (from Menu_OnlineMode::Update) after the keyboard confirm: 9-char + Manager _lobbySettings._seed -> special seed (Seeds::GetSeedEffect: PersistentGameData unlock + "Seed %d added to SaveState", RemoveBlockingSeedEffects, AddSeedEffect, Menu_SpecialSeeds::Reset) + or Seeds::String2Seed/SetStartSeed (custom run), invalid -> fart sound 0xbb and clear */ + +void Menu_OnlineMode::apply_lobby_seed(void) { uint *puVar1; @@ -732771,23 +733957,27 @@ void __thiscall Menu_CustomChallenge::Update(Menu_CustomChallenge *this) right->_isCustomRun = 1; difficulty = *(int *)((int)pvVar1 + uVar6 * 0xa4 + 0x70); Seeds::construct_from_copy(aSStackY_2f08 + 0x81,right); - unk._48_4_ = in_stack_ffffff84; + unk._stageSeeds[6] = in_stack_ffffff84; unk._isCustomRun = in_stack_ffffff54[0]; unk._1_3_ = in_stack_ffffff54._1_3_; unk._gameStartSeed = in_stack_ffffff54._4_4_; - unk._rng = (RNG)in_stack_ffffff54._8_4_; - unk._12_8_ = in_stack_ffffff54._12_8_; - unk._20_8_ = in_stack_ffffff54._20_8_; - unk._28_8_ = in_stack_ffffff54._28_8_; - unk._36_8_ = in_stack_ffffff54._36_8_; - unk._44_4_ = in_stack_ffffff54._44_4_; - unk._52_4_ = in_stack_ffffff88; - unk._56_4_ = in_stack_ffffff8c; - unk._60_4_ = in_stack_ffffff90; - unk._64_4_ = uVar8; - unk._68_4_ = uVar9; - unk._72_4_ = in_stack_ffffff9c; - unk._76_4_ = in_stack_ffffffa0; + unk._rng._seed = in_stack_ffffff54._8_4_; + unk._rng._shift1 = in_stack_ffffff54._12_4_; + unk._rng._shift2 = in_stack_ffffff54._16_4_; + unk._rng._shift3 = in_stack_ffffff54._20_4_; + unk._stageSeeds[0] = in_stack_ffffff54._24_4_; + unk._stageSeeds[1] = in_stack_ffffff54._28_4_; + unk._stageSeeds[2] = in_stack_ffffff54._32_4_; + unk._stageSeeds[3] = in_stack_ffffff54._36_4_; + unk._stageSeeds[4] = in_stack_ffffff54._40_4_; + unk._stageSeeds[5] = in_stack_ffffff54._44_4_; + unk._stageSeeds[7] = in_stack_ffffff88; + unk._stageSeeds[8] = in_stack_ffffff8c; + unk._stageSeeds[9] = in_stack_ffffff90; + unk._stageSeeds[10] = uVar8; + unk._stageSeeds[0xb] = uVar9; + unk._stageSeeds[0xc] = in_stack_ffffff9c; + unk._stageSeeds[0xd] = in_stack_ffffffa0; unk._playerInitSeed = in_stack_ffffffa4; unk._seedEffects = (void *)in_stack_ffffffa8; unk._seedEffectsCount = in_stack_ffffffac; @@ -733714,7 +734904,7 @@ void Menu_DailyChallenge::Update(void) pMVar9->_debugStart = 0; pMVar9->_starting = 1; pMVar9->_networkPlay = 0; - *(undefined4 *)&pMVar9->field_0x4abc0 = 0; + pMVar9->_consecutiveResetCount = 0; if (iVar6 != 2) { if ((pMVar9->_persistentGameData)._eventCounters[0xbf] != 0) { PersistentGameData::IncreaseEventCounter @@ -733861,10 +735051,10 @@ code_r0x008cf90c: *(undefined2 *)(in_ECX + 0x1d3) = 0x101; Leaderboard::get_leaderboard((Leaderboard *)(in_ECX + 0xe9),0,2); pMVar9 = g_manager; - *(undefined4 *)&g_manager->field_0x4aa68 = 0x42c00000; - *(undefined4 *)&pMVar9->field_0x4aa64 = 0x42c00000; - *(undefined4 *)&pMVar9->field_0x4ab98 = 0x42c00000; - *(undefined4 *)&pMVar9->field_0x4ab94 = 0x42c00000; + (g_manager->_popupButtons)._buttons[0]._targetSlideOffset = 96.0; + (pMVar9->_popupButtons)._buttons[0]._slideOffset = 96.0; + (pMVar9->_popupButtons)._buttons[1]._targetSlideOffset = 96.0; + (pMVar9->_popupButtons)._buttons[1]._slideOffset = 96.0; } } } @@ -734035,7 +735225,7 @@ void __thiscall Menu_DailyChallenge::Render(Menu_DailyChallenge *this) uVar4 = __security_cookie ^ (uint)(local_24 + 0x20); ExceptionList = &local_10; local_464 = &g_manager->_font2_TeamMeatEx12; - if (g_manager->_stringTable == 0) { + if (*(int *)&g_manager->_stringTable == 0) { local_464 = &g_manager->_font3_TeamMeatEx16; } this_00 = local_464; @@ -734893,7 +736083,7 @@ void PauseScreen::update_player_info_page(void) if ((g_game->_hud)._isVisible == 0) { return; } - FUN_008d19a0(); + build_player_user_list(); if (*(char *)((int)in_ECX + 0x10d) != '\0') { AnimationState::Update(); AnimationState::Update(); @@ -735025,11 +736215,15 @@ LAB_008d15c1: } -//@@ 008d1600 FUN_008d1600 +//@@ 008d1600 kick_player_menu_render /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? called only from PauseScreen::Render case 6 with ECX = PauseScreen+0x1218 (unnamed kick + sub-menu object, player list vector at +0x22c/+0x230); centers its ANM2 (this+4) on screen, draws + "KICK PLAYER" at the "Title" null, "%d / %d" at "KickCounter", player HUD layouts / + NetplayManager::get_drop_entry */ -void FUN_008d1600(void) +void kick_player_menu_render(void) { int iVar1; @@ -735145,9 +736339,14 @@ void FUN_008d1600(void) } -//@@ 008d19a0 FUN_008d19a0 +//@@ 008d19a0 PauseScreen::build_player_user_list -void FUN_008d19a0(void) +/* DB: ? ECX=PauseScreen (caller PauseScreen::update_player_info_page): clears u64 vector + +0x22c/+0x230, pushes the user id of each main player's netplay device (NetManager::GetDeviceById + loop, "Invalid lobby user index"), then appends lobby members not yet listed + (NetplayManager::is_user_in_player_list), loading their UserProfile/steam avatar */ + +void PauseScreen::build_player_user_list(void) { void *pvVar1; @@ -735513,9 +736712,9 @@ void EmoteWheel::Update(void) *(float *)(in_ECX + 0x804) = fVar7; } iVar4 = FUN_0090b070(uVar3); - if ((((((iVar4 == 0) || (*(int *)&g_game->_pauseScreen != 0)) || (*(int *)&g_game->_gameOver != 0) - ) || ((*(int *)&(g_game->_genericPrompt).field_0x34 != 0 && - ((g_game->_genericPrompt).field_0x44 != '\0')))) || + if ((((((iVar4 == 0) || ((g_game->_pauseScreen)._state != 0)) || (*(int *)&g_game->_gameOver != 0) + ) || (((g_game->_genericPrompt)._sprite._animState._animData != (void *)0x0 && + ((g_game->_genericPrompt)._sprite._animState._isPlaying != 0)))) || (((g_game->_leaderboard)._state != 0 || (*(int *)&g_game->_stageTransition != 0)))) || ((*(int *)&g_game->_roomTransition != 0 && (cVar2 = Game::IsRoomTransitionActive(), cVar2 != '\0')))) { @@ -735624,14 +736823,14 @@ void EmoteWheel::Update(void) *(int *)(in_ECX + 0x834) * 4); if (iVar4 == 0x12) { iVar4 = rand(); - *(int *)&g_manager[1].field_0x18d0 = iVar4 % 6 + 0x16; + *(int *)&g_manager[1]._gamestate.field_0x92c = iVar4 % 6 + 0x16; } else if (iVar4 == 0x13) { iVar4 = rand(); - *(int *)&g_manager[1].field_0x18d0 = iVar4 % 0x14 + 0x1c; + *(int *)&g_manager[1]._gamestate.field_0x92c = iVar4 % 0x14 + 0x1c; } else { - *(int *)&g_manager[1].field_0x18d0 = iVar4; + *(int *)&g_manager[1]._gamestate.field_0x92c = iVar4; } } if (*(int *)(in_ECX + 4) == 2) { @@ -736066,7 +737265,7 @@ void PauseScreen_MyStuff::Init(void) local_3c._capacity = 0x2f; builtin_strncpy((char *)local_3c._buf._0_4_,"font/TeamMeatEx/TeamMeatEx12.fnt",0x21); local_14 = 0; - FUN_009efb60(&local_3c); + RichText::load_font(&local_3c); local_14 = 0xffffffff; if (0xf < local_3c._capacity) { uVar9 = local_3c._capacity + 1; @@ -736379,7 +737578,7 @@ void FUN_008d3250(void) /* WARNING: Removing unreachable block (ram,0x008d351e) */ /* DB: ? PauseScreen::Update state 3: local device (InputManager::FirstLocalDeviceID in netplay), DescriptionArrowUp/Down layers, PauseScreen::update_items_page, StatsPanel::set (0084e200) via - 008d4040 */ + 008d4040 PauseScreen::update_trinket_display void PauseScreen::update_items_menu(void) @@ -736435,7 +737634,7 @@ LAB_008d3472: local_c[0] = 0xf; cVar2 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(uVar3,FUN_00a20940,local_c,0,0); if (cVar2 == '\0') { - FUN_008d84f0(); + update_items_menu_selection(); if (((*(int *)(in_ECX + 0x1c) - *(int *)(in_ECX + 0x18) & 0xfffffffcU) != 0) && (*(int *)(*(int *)(in_ECX + 0x18) + *(int *)(in_ECX + 0x24) * 4) != 0)) { local_c[0] = 0x1c; @@ -736468,8 +737667,8 @@ LAB_008d354d: pLVar8->_visible = 0; pLVar8 = ANM2::GetLayer((ANM2 *)(in_ECX + 0x304),(byte *)"DescriptionArrowDown"); pLVar8->_visible = 0; - FUN_008d4040(); - FUN_008d42a0(); + update_trinket_display(); + update_pocket_item_display(); return; } FUN_008d47c0(*(int *)(in_ECX + 0x38),(int *)(in_ECX + 0x44),in_ECX + 0x48,in_stack_ffffff88, @@ -736482,8 +737681,8 @@ LAB_008d354d: uVar5 = *(uint *)(in_ECX + 0x48); pLVar8 = ANM2::GetLayer((ANM2 *)(in_ECX + 0x304),(byte *)"DescriptionArrowDown"); pLVar8->_visible = uVar5 < uVar7; - FUN_008d4040(); - FUN_008d42a0(); + update_trinket_display(); + update_pocket_item_display(); return; } } @@ -736493,9 +737692,13 @@ LAB_008d354d: } -//@@ 008d3640 FUN_008d3640 +//@@ 008d3640 PauseScreen::render_items_page -void FUN_008d3640(void) +/* DB: ? ECX = PauseScreen+0x838 (PauseScreen::Render 009b7485 LEA ECX,[ESI+0x838]): ANM2 layer + render ("AnimationData is NULL", "LayerId out of bounds"), "BackButton" glyph via + Manager::render_controller_action_glyph, OnlinePlayerInfo::render_items */ + +void PauseScreen::render_items_page(void) { int iVar1; @@ -736936,9 +738139,13 @@ LAB_008d3fcb: } -//@@ 008d4040 FUN_008d4040 +//@@ 008d4040 PauseScreen::update_trinket_display -void FUN_008d4040(void) +/* DB: ? ECX=PauseScreen (caller PauseScreen::update_items_menu, mov ecx,edi): trinket slot +0x28 + (<2) of player +0x16c0[slot], looks up InfoDisplay trinket entry into +0x4c, StatsPanel::set, + ItemConfig _trinkets gfx via Manager::LoadImage */ + +void PauseScreen::update_trinket_display(void) { void *pvVar1; @@ -737048,11 +738255,15 @@ void FUN_008d4040(void) } -//@@ 008d42a0 FUN_008d42a0 +//@@ 008d42a0 PauseScreen::update_pocket_item_display /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? ECX=PauseScreen (same as caller PauseScreen::update_items_menu): player = vector + +0x18[+0x24], pocket slot +0x2c clamped 0..3, reads _pocketSlots, ItemPool::GetPillEffect for + pills, EntityConfig::GetEntity(5,0x46/0x12c,..) anm2 into ANM2 +0x64, gfx/ui/ui_cardspills.anm2 + CardFronts, PocketArrowUp/Down layers */ -void FUN_008d42a0(void) +void PauseScreen::update_pocket_item_display(void) { EntityConfig *this; @@ -737342,7 +738553,7 @@ void FUN_008d47c0(undefined4 param_1,int *param_2,uint *param_3,undefined4 param /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ /* DB: ? layers Items/Trinkets/Cursor, Entity_Player::HasCollectible/HasTrinket, ModManager::RenderCustomCollectionItem; chain Game::Render -> 008d2450 EmoteWheel::Render Rep+ struct - after PauseScreen) -> 008d3640 (BackButton) -> this */ + after PauseScreen) -> 008d3640 PauseScreen::render_items_page -> this */ void OnlinePlayerInfo::render_items(float *param_1) @@ -737942,7 +739153,7 @@ void FUN_008d5440(float *param_1) local_40 = *pfVar3 + *param_1; local_3c = pfVar3[1] + param_1[1]; KAGE::SmartPointer::operator_assign(in_ECX + 0x3c); - FUN_008d5990(local_44,&local_40,0x69,in_stack_ffffff90,in_stack_ffffff94); + PauseScreen_MyStuff::render_entry(local_44,&local_40,0x69,in_stack_ffffff90,in_stack_ffffff94); local_44 = *(undefined4 *)(in_ECX + 0x48); local_48 = *(int *)(in_ECX + 0x44); if (*(int *)(in_ECX + 0x338) == 0) { @@ -738036,7 +739247,7 @@ void FUN_008d5640(float *param_1) local_40 = *param_1 + *pfVar3; local_3c = pfVar3[1] + param_1[1]; KAGE::SmartPointer::operator_assign(in_ECX + 0x50); - FUN_008d5990(uVar5,&local_40,0x69,uVar4,Index); + PauseScreen_MyStuff::render_entry(uVar5,&local_40,0x69,uVar4,Index); local_44 = *(undefined4 *)(in_ECX + 0x58); uVar4 = *(undefined4 *)(in_ECX + 0x5c); if (*(int *)(in_ECX + 0x338) == 0) { @@ -738158,11 +739369,15 @@ void FUN_008d57f0(float *param_1) } -//@@ 008d5990 FUN_008d5990 +//@@ 008d5990 PauseScreen_MyStuff::render_entry /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? callers FUN_008d5440/FUN_008d5640 (from FUN_008d3640, pause screen items page); uses + g_game->_pauseScreen._playerIdx player, ItemConfig::GetCollectible icon via ANM2::Render, + '#ITEM_INFO_UNIDENTIFIED_PILL', rich_text_render */ -void FUN_008d5990(int *param_1,float *param_2,int param_3,int *param_4,int *param_5) +void PauseScreen_MyStuff::render_entry + (int *param_1,float *param_2,int param_3,int *param_4,int *param_5) { code *pcVar1; @@ -738279,7 +739494,7 @@ void FUN_008d5990(int *param_1,float *param_2,int param_3,int *param_4,int *para ((float)((double)param_3 + __uint_to_double_fixup[-(param_3 >> 0x1f)]) - 4.0) + local_5c; pEVar4 = Game::GetPlayer(g_game,(g_game->_pauseScreen)._playerIdx); - FUN_008d8870(param_1[1],pEVar4); + item_info_update_charge_bar(param_1[1],pEVar4); ANM2::Render((ANM2 *)(local_68 + 0x52c),local_58,&g_vectorZero,&g_vectorZero); } } @@ -738372,7 +739587,7 @@ void FUN_008d5da0(int *param_1,ANM2 *param_2,float *param_3) local_14.x = fVar5 + 101.0; local_14.y = local_8 + 16.0; pEVar4 = Game::GetPlayer(g_game,(g_game->_pauseScreen)._playerIdx); - FUN_008d8870(param_1[1],pEVar4); + item_info_update_charge_bar(param_1[1],pEVar4); ANM2::Render((ANM2 *)(in_ECX + 0x52c),&local_14,&g_vectorZero,&g_vectorZero); } } @@ -740500,9 +741715,14 @@ int FUN_008d8460(int *param_1) } -//@@ 008d84f0 FUN_008d84f0 +//@@ 008d84f0 PauseScreen::update_items_menu_selection -EntityPtr FUN_008d84f0(void) +/* DB: ? ECX = PauseScreen; only caller PauseScreen::update_items_menu: rebuilds the player list + (pause player, twin +0x1e68, +0x1d98, backup +0x1e6c) into +0x18, then on input action 0xb (KAGE + input vtable +0x74) cycles the selected player (+0x24), active slot (+0x2c, players' +0x17a0) and + pocket slot (+0x28, +0x16c0) */ + +EntityPtr PauseScreen::update_items_menu_selection(void) { uint uVar1; @@ -740710,9 +741930,16 @@ LAB_008d8819: } -//@@ 008d8870 FUN_008d8870 +//@@ 008d8870 item_info_update_charge_bar -void FUN_008d8870(int param_1,int param_2) +/* DB: ? ECX = pause-screen item info widget (AnimationState at +0x55c, loaded flag +0x560): + (collectible id, player): SetFrameFloat of the charge bar for active items + (ItemConfig::GetCollectible type 3, chargeType 0/1/2), special cases 711 Flip for player types + 29/38 (Tainted Lazarus) and 286/263/348/489/147 (Blank Card, Clear Rune, Placebo, D Infinity, + Notched Axe); callers 008d5990/008d5da0 (item info builders with "#ITEM_INFO_UNIDENTIFIED_PILL") + */ + +void item_info_update_charge_bar(int param_1,int param_2) { int iVar1; @@ -744532,7 +745759,7 @@ LAB_008de5ec: iVar2 = *(int *)&pMVar5->_lobbySettings; if (iVar2 == 0) { LAB_008de680: - FUN_008e1400(); + request_lobby_list(); return; } if (iVar2 == 2) { @@ -744730,7 +745957,8 @@ LAB_008de88b: uVar10 = 2; } Multiplayer::set_service_provider(uVar10); - FUN_00a542c0(local_6c,FUN_008e2530,local_24); + KAGE::Network::MultiplayerManager::request_lobby_list + (local_6c,on_password_search_result,local_24); *(undefined1 *)(local_24 + 0x344) = 1; FUN_00a539f0(); FID_conflict__Tidy(local_54); @@ -746127,7 +747355,7 @@ Level::InitializeGenesisRoom(undefined4 param_1,undefined **param_2,int *param_3 local_38 = &DAT_bf800000; ppuStack_f4 = (undefined **)0x0; local_34 = &DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12); local_8 = CONCAT31(local_8._1_3_,1); ppuStack_ec = (undefined1 **)0x8e1249; MessagePopup::add_ok_button(); @@ -746161,9 +747389,13 @@ Level::InitializeGenesisRoom(undefined4 param_1,undefined **param_2,int *param_3 } -//@@ 008e1400 FUN_008e1400 +//@@ 008e1400 Menu_OnlineLobbyList::request_lobby_list -void FUN_008e1400(void) +/* DB: called with ECX=this from Menu_OnlineLobbyList::reset (8de680 mov ecx,ebx); builds lobby + search filters "lobby_tag", "lobby_mode", "current_stage" (cap 0x32 results) and starts the + search with FUN_00a542c0(&filters, 008e1fb0 Menu_OnlineLobbyList::on_lobby_list_received this) */ + +void Menu_OnlineLobbyList::request_lobby_list(void) { int iVar1; @@ -746420,7 +747652,7 @@ LAB_008e17a0: uVar7 = 2; } Multiplayer::set_service_provider(uVar7); - FUN_00a542c0(&local_64,FUN_008e1fb0,iVar5); + KAGE::Network::MultiplayerManager::request_lobby_list(&local_64,on_lobby_list_received,iVar5); FUN_00a539f0(); if (iStack_4c != 0) { uVar2 = (((int)local_44 - iStack_4c) / 0x18) * 0x18; @@ -746462,7 +747694,8 @@ void FUN_008e18b0(void) char cVar1; int in_ECX; - cVar1 = FUN_00a57060(FUN_008e1a70,in_ECX,1); + cVar1 = KAGE::System::FriendManager::request_friend_lobbies + (Menu_OnlineLobbyList::lobby_search_callback,in_ECX,1); if (cVar1 == '\0') { *(undefined1 *)(in_ECX + 0x344) = 0; *(undefined4 *)(in_ECX + 0x348) = 0; @@ -746568,9 +747801,14 @@ LAB_008e1a58: } -//@@ 008e1a70 FUN_008e1a70 +//@@ 008e1a70 Menu_OnlineLobbyList::lobby_search_callback -void FUN_008e1a70(int *param_1,int param_2) +/* DB: ? passed as callback to FUN_00a57060 by FUN_008e18b0/FUN_008e1fb0 + (Menu_OnlineLobbyList::reset path) with the menu as context (param_2): filters the found + ConstLobby list (lobby mode 2 needs status 5), copies into a std::list, sorts by name with + _stricmp, fills the menu list at +0x350; strings "list too long", "lobby_mode" */ + +void Menu_OnlineLobbyList::lobby_search_callback(int *param_1,int param_2) { int *piVar1; @@ -746833,11 +748071,15 @@ void FriendEntry::~FriendEntry(void) } -//@@ 008e1fb0 FUN_008e1fb0 +//@@ 008e1fb0 Menu_OnlineLobbyList::on_lobby_list_received /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? callback pushed by 008e1400 Menu_OnlineLobbyList::request_lobby_list 0x8e1fb0 at 8e17d5) to the lobby search, param_2 = the + menu (+0x4e6 flag); walks the result vector (0xc stride shared_ptr), drops full/password + ("lobby_password") lobbies and those failing PersistentGameData::Unlocked, builds a list of + ConstLobby */ -void FUN_008e1fb0(int *param_1,int param_2) +void Menu_OnlineLobbyList::on_lobby_list_received(int *param_1,int param_2) { char *pcVar1; @@ -747003,7 +748245,7 @@ LAB_008e21eb: std::shared_ptr::assign(); puVar12 = *(undefined4 **)(param_2 + 0x360); if (puVar12 == *(undefined4 **)(param_2 + 0x364)) { - FUN_008e2c20(); + std::vector::_Emplace_reallocate(); } else { *puVar12 = KAGE::Network::Multiplayer::ConstLobby::vftable; @@ -747023,7 +748265,7 @@ LAB_008e21eb: local_8 = (uint)local_8._1_3_ << 8; } if ((*(int *)&g_manager->_lobbySettings == 2) && (*(char *)(param_2 + 0x4e6) != '\0')) { - cVar6 = FUN_00a57060(); + cVar6 = KAGE::System::FriendManager::request_friend_lobbies(); if (cVar6 != '\0') goto LAB_008e244c; *(undefined4 *)(param_2 + 0x348) = 0; *(undefined4 *)(param_2 + 0x34c) = 0; @@ -747078,11 +748320,14 @@ void KAGE::Network::Multiplayer::ConstLobby::~ConstLobby(void) } -//@@ 008e2530 FUN_008e2530 +//@@ 008e2530 Menu_OnlineLobbyList::on_password_search_result /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: lobby-search callback pushed by Menu_OnlineLobbyList::update_password_entry into FUN_00a542c0 + (ecx=0xc79a50 MultiplayerManager); compares each lobby's lobby_password and calls + online_lobby_join, else plays sfx 0xbb */ -void FUN_008e2530(int *param_1,int param_2) +void Menu_OnlineLobbyList::on_password_search_result(int *param_1,int param_2) { int *piVar1; @@ -747262,7 +748507,7 @@ LAB_008e2927: //@@ 008e29b0 std::list::~list /* DB: ? frees every 0x14-byte node after calling the 12-byte element's virtual dtor (vtable at - node+8), then the head; unwind-only callers in the lobby list code (008e1a70 builds a std::list + node+8), then the head; unwind-only callers in the lobby list code (008e1a70 Menu_OnlineLobbyList::lobby_search_callback a std::list with a self-linked 0x14 head and ConstLobby elements) */ void std::list::~list(void) @@ -747423,9 +748668,13 @@ void FUN_008e2c00(void) } -//@@ 008e2c20 FUN_008e2c20 +//@@ 008e2c20 std::vector::_Emplace_reallocate -undefined4 * FUN_008e2c20(int param_1,int param_2) +/* DB: MSVC vector growth with element size 0x18 (max 0xaaaaaaa), new element = + KAGE::Network::Multiplayer::ConstLobby vftable + shared_ptr::assign + 8 bytes; caller + FUN_008e1fb0 (lobby list builder, 'list too long', lobby_password) */ + +undefined4 * std::vector::_Emplace_reallocate(int param_1,int param_2) { uint uVar1; @@ -747450,7 +748699,7 @@ undefined4 * FUN_008e2c20(int param_1,int param_2) iVar8 = (in_ECX[1] - *in_ECX) / 0x18; if (iVar8 == 0xaaaaaaa) { /* WARNING: Subroutine does not return */ - std::_Xlen(); + _Xlen(); } uVar1 = iVar8 + 1; uVar6 = (in_ECX[2] - *in_ECX) / 0x18; @@ -747468,13 +748717,13 @@ undefined4 * FUN_008e2c20(int param_1,int param_2) FUN_0040cee0(); } } - puVar5 = (undefined4 *)std::_Allocate(); + puVar5 = (undefined4 *)_Allocate(); puVar2 = puVar5 + ((param_1 - iVar3) / 0x18) * 6; *puVar2 = KAGE::Network::Multiplayer::ConstLobby::vftable; puVar2[1] = 0; puVar2[2] = 0; local_8 = 1; - std::shared_ptr::assign(param_2 + 4); + shared_ptr::assign(param_2 + 4); uVar6 = local_8 >> 8; local_8 = local_8 & 0xffffff00; uVar4 = *(undefined4 *)(param_2 + 0x14); @@ -747490,7 +748739,7 @@ undefined4 * FUN_008e2c20(int param_1,int param_2) puVar7[1] = 0; puVar7[2] = 0; local_8._0_1_ = 3; - std::shared_ptr::assign(iVar8 + 4); + shared_ptr::assign(iVar8 + 4); uVar4 = *(undefined4 *)(iVar8 + 0x10); puVar7[5] = *(undefined4 *)(iVar8 + 0x14); puVar7[4] = uVar4; @@ -747917,7 +749166,7 @@ undefined4 FUN_008e34e0(undefined4 param_1) } FUN_008e34e0(param_1); uVar1 = FUN_008e34e0(param_1); - uVar2 = FUN_008e3580(uVar1,param_1); + uVar2 = std::list::_Merge_same(uVar1,param_1); *in_ECX = uVar2; return uVar1; } @@ -747943,9 +749192,13 @@ void FUN_008e3570(void) } -//@@ 008e3580 FUN_008e3580 +//@@ 008e3580 std::list::_Merge_same -int * FUN_008e3580(int *param_1,code *param_2) +/* DB: MSVC list merge of two sorted runs [first,mid) [mid,last) with predicate param_2 on + shared_ptr copies (std::shared_ptr::assign per compare), splicing nodes; only caller 008e34e0 + (list::_Sort) next to Menu_Mods */ + +int * std::list::_Merge_same(int *param_1,code *param_2) { undefined4 *puVar1; @@ -747965,9 +749218,9 @@ int * FUN_008e3580(int *param_1,code *param_2) local_10 = ExceptionList; ExceptionList = &local_10; local_8 = 0; - std::shared_ptr::assign(); + shared_ptr::assign(); local_8 = 2; - std::shared_ptr::assign(in_EDX + 3); + shared_ptr::assign(in_EDX + 3); local_8 = 0xffffffff; cVar5 = (*param_2)(); piVar4 = in_EDX; @@ -747979,9 +749232,9 @@ int * FUN_008e3580(int *param_1,code *param_2) return in_ECX; } local_8 = 3; - std::shared_ptr::assign(); + shared_ptr::assign(); local_8 = 5; - std::shared_ptr::assign(in_EDX + 3); + shared_ptr::assign(in_EDX + 3); local_8 = 0xffffffff; cVar5 = (*param_2)(); piVar4 = in_ECX; @@ -747992,9 +749245,9 @@ LAB_008e36d0: goto LAB_008e374b; code_r0x008e36d6: local_8 = 6; - std::shared_ptr::assign(); + shared_ptr::assign(); local_8 = 8; - std::shared_ptr::assign(in_EDX + 3); + shared_ptr::assign(in_EDX + 3); local_8 = 0xffffffff; cVar5 = (*param_2)(); if (cVar5 == '\0') { @@ -748019,9 +749272,9 @@ LAB_008e374b: return piVar4; } local_8 = 9; - std::shared_ptr::assign(); + shared_ptr::assign(); local_8 = 0xb; - std::shared_ptr::assign(in_EDX + 3); + shared_ptr::assign(in_EDX + 3); local_8 = 0xffffffff; cVar5 = (*param_2)(); piVar6 = in_EDX; @@ -748929,7 +750182,7 @@ LAB_008e4cc5: case 0: cVar3 = show_beta_disclaimer_popup(this); if (cVar3 == '\0') { - FUN_008e5420(); + start_quick_match(); } break; case 1: @@ -749209,7 +750462,7 @@ LAB_008e52c5: local_18 = (int *)0x0; local_14 = (int *)0x0; local_8 = 0; - std::shared_ptr::assign(&pMVar2[1].field_0x1890); + std::shared_ptr::assign(&pMVar2[1]._gamestate.field_0x8ec); local_8 = 1; if (local_18 != (int *)0x0) { cVar4 = (**(code **)(*local_18 + 0xc))(uVar5); @@ -749232,7 +750485,7 @@ LAB_008e5354: local_28 = KAGE::Network::Multiplayer::ConstLobby::vftable; local_24 = 0; local_20 = (int *)0x0; - puVar11 = &g_manager[1].field_0x1890; + puVar11 = &g_manager[1]._gamestate.field_0x8ec; local_8 = 3; uVar10 = 0x8e53c2; std::shared_ptr::assign(puVar11); @@ -749252,9 +750505,13 @@ LAB_008e5354: } -//@@ 008e5420 FUN_008e5420 +//@@ 008e5420 Menu_Online::start_quick_match -void FUN_008e5420(void) +/* DB: ? Menu_Online::Update state 0 (and FUN_008e68a0 option 0) after show_beta_disclaimer_popup: + resets daily challenge+LobbySettings, pushes popup ##GAME###Online/SEARCHING_FOR_LOBBIES, + set_service_provider, lobby search (FUN_00a542c0) with callback 008e5f40 Menu_Online::on_quick_match_search_result + +void Menu_Online::start_quick_match(void) { Manager *pMVar1; @@ -749302,11 +750559,12 @@ void FUN_008e5420(void) (pMVar1->_dailyChallenge)._seed = 0; (pMVar1->_dailyChallenge)._specialDailyId = 0; (pMVar1->_dailyChallenge)._isPractice = 0; - ChallengeParam::Reset(uVar2); + ChallengeParam::Reset(&(pMVar1->_dailyChallenge)._params,uVar2); LobbySettings::reset(&g_manager->_lobbySettings); local_48 = &DAT_bf800000; local_44 = &DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,FUN_008e64f0,in_ECX,&local_48); + MessagePopup::MessagePopup + (&g_manager->_font2_TeamMeatEx12,online_quick_match_popup_callback,in_ECX,&local_48); local_8 = 0; local_30 = 0x3e5cdcdd; uStack_2c = 0x3e2cacad; @@ -749343,7 +750601,8 @@ void FUN_008e5420(void) uVar3 = 2; } Multiplayer::set_service_provider(uVar3); - FUN_00a542c0(&local_34,FUN_008e5f40,in_ECX); + KAGE::Network::MultiplayerManager::request_lobby_list + (&local_34,on_quick_match_search_result,in_ECX); FUN_00a539f0(); if (local_1c != 0.0) { uVar2 = ((local_14 - (int)local_1c) / 0x18) * 0x18; @@ -749395,7 +750654,7 @@ void FUN_008e56b0(void) (pMVar1->_dailyChallenge)._seed = 0; (pMVar1->_dailyChallenge)._specialDailyId = 0; (pMVar1->_dailyChallenge)._isPractice = 0; - ChallengeParam::Reset(); + ChallengeParam::Reset(&(pMVar1->_dailyChallenge)._params); LobbySettings::reset(&g_manager->_lobbySettings); *(undefined4 *)&g_manager->_lobbySettings = 0; MenuManager::push_menu(0x12,extraout_ECX); @@ -749416,7 +750675,7 @@ void FUN_008e5720(void) (pMVar1->_dailyChallenge)._seed = 0; (pMVar1->_dailyChallenge)._specialDailyId = 0; (pMVar1->_dailyChallenge)._isPractice = 0; - ChallengeParam::Reset(); + ChallengeParam::Reset(&(pMVar1->_dailyChallenge)._params); LobbySettings::reset(&g_manager->_lobbySettings); *(undefined4 *)&g_manager->_lobbySettings = 1; MenuManager::push_menu(0x12,extraout_ECX); @@ -749854,11 +751113,14 @@ LAB_008e5995: } -//@@ 008e5f40 FUN_008e5f40 +//@@ 008e5f40 Menu_Online::on_quick_match_search_result /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? search callback passed by 008e5420 Menu_Online::start_quick_match FUN_00a542c0(params,cb,menu); iterates found lobbies + (vector), checks lobby_mode/current_stage/lobby_password attributes, joins one, + PopupManager::close */ -void FUN_008e5f40(int *param_1,undefined4 param_2) +void Menu_Online::on_quick_match_search_result(int *param_1,undefined4 param_2) { int *piVar1; @@ -749957,10 +751219,10 @@ LAB_008e5fcd: if (((*(char *)(local_b8 + 0xd) == '\0') && (*(int **)(local_b8 + 0x14) <= piVar13)) && ((*(int **)(local_b8 + 0x14) < piVar13 || (*(int **)(local_b8 + 0x10) <= local_80)))) { iVar7 = local_b8; - iVar12 = *(int *)&g_manager[1].field_0x1898; + iVar12 = *(int *)&g_manager[1]._gamestate.field_0x8f4; } else { - iVar7 = *(int *)&g_manager[1].field_0x1898; + iVar7 = *(int *)&g_manager[1]._gamestate.field_0x8f4; iVar12 = iVar7; } if (iVar7 == iVar12) { @@ -750180,9 +751442,15 @@ LAB_008e6318: } -//@@ 008e64f0 FUN_008e64f0 +//@@ 008e64f0 online_quick_match_popup_callback -void FUN_008e64f0(int *param_1,int param_2) +/* DB: ? popup callback passed to FontDrawParams::FontDrawParams (popup ctor) by 008e5420 Menu_Online::start_quick_match + itself; button ids 0xDEADBEEF (cancel), 0x1212 CREATE_NEW_LOBBY -> MenuManager::push_menu(0x15), + 0x2323 JOIN_LOBBY_IN_PROGRESS -> online_lobby_join; builds + "##GAME###Online/ONLY_FOUND_JOIN_IN_PROGRESS"/"NO_LOBBIES_FOUND" popups from the found lobby's + "current_stage"; ctx = Menu_Online (+0x23c popup, +0x244 lobby, +0x24c flag) */ + +void online_quick_match_popup_callback(int *param_1,int param_2) { int iVar1; @@ -750278,7 +751546,8 @@ LAB_008e679a: iVar4 = (**(code **)(**(int **)(iVar2 + 0x244) + 0x30))("current_stage"); if (iVar4 < 1) goto LAB_008e679a; local_18 = 0xbf800000bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,FUN_008e64f0,iVar2,&local_18); + MessagePopup::MessagePopup + (&g_manager->_font2_TeamMeatEx12,online_quick_match_popup_callback,iVar2,&local_18); local_8 = 4; local_1c = (int *)0x0; local_2c = 0x3e5cdcdd; @@ -750313,7 +751582,7 @@ LAB_008e679a: } } local_18 = 0xbf800000bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,FUN_008e6880,0,&local_18); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,FUN_008e6880,0,&local_18); local_8 = 6; MessagePopup::add_yes_no_buttons(); local_48 = 0; @@ -750349,7 +751618,7 @@ void FUN_008e68a0(char param_1,int param_2) if (param_1 != '\0') { iVar1 = *(int *)(param_2 + 0x230); if (iVar1 == 0) { - FUN_008e5420(); + Menu_Online::start_quick_match(); return; } if (iVar1 == 1) { @@ -751089,7 +752358,7 @@ void FUN_008e7630(void) uVar1 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; FUN_00a1d6b0(FUN_008ee4d0); - FUN_00a1d6b0(FUN_008ee700); + FUN_00a1d6b0(online_lobby_members_changed_callback); if (*(undefined4 **)(in_ECX + 0x95c) != (undefined4 *)0x0) { (**(code **)**(undefined4 **)(in_ECX + 0x95c))(1,uVar1); *(undefined4 *)(in_ECX + 0x95c) = 0; @@ -751525,7 +752794,7 @@ LAB_008e82fe: ((local_a8 != 0 && (*(int *)(local_a8 + 0x20) == 0 && *(int *)(local_a8 + 0x24) == 0)))) { local_80 = &DAT_bf800000; local_7c = (HUD *)&DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,0,0,&local_80); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,0,0,&local_80); local_14._0_1_ = 8; MessagePopup::add_ok_button(); uVar16 = 0x8e8529; @@ -751557,7 +752826,8 @@ LAB_008e82fe: if ((local_68 == 5) || (local_61 = '\x01', local_68 != 4)) { local_61 = '\0'; } - if ((*(int *)&g_manager[1].field_0x1234 == 0) && (*(int *)&g_manager[1].field_0x127c < 1)) { + if ((*(int *)&g_manager[1]._gamestate.field_0x290 == 0) && + (*(int *)&g_manager[1]._gamestate.field_0x2d8 < 1)) { online_chat_update(); cVar6 = FUN_0091e7a0(); pMVar12 = extraout_EDX; @@ -751705,7 +752975,7 @@ LAB_008e8854: if (iVar8 == 1) { local_80 = &DAT_bf800000; local_7c = (HUD *)&DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,0,0,&local_80); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,0,0,&local_80); local_14._0_1_ = 0xb; MessagePopup::add_ok_button(); uVar7 = PopupQueue::push(); @@ -752340,7 +753610,7 @@ LAB_008e989c: } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; cVar2 = (**(code **)(**(int **)(in_ECX + 0x95c) + 0x1c))(); if ((cVar2 != '\0') && (cVar2 = (**(code **)(**(int **)(in_ECX + 0x95c) + 0x20))(), cVar2 == '\0') ) { @@ -752686,12 +753956,12 @@ LAB_008e9bda: local_14 = (uint)local_14._1_3_ << 8; puVar16 = (undefined8 *)0x0; if (local_44 != (undefined8 *)0x0) { - puVar10 = (undefined4 *)(**(code **)(*(int *)&g_manager[1].field_0x1010 + 4))(); - if (*(int *)&pMVar2[1].field_0x1000 == 0) { - uVar9 = *(undefined4 *)&pMVar2[1].field_0xff4; + puVar10 = (undefined4 *)(**(code **)(*(int *)&g_manager[1]._gamestate.field_0x6c + 4))(); + if (*(int *)&pMVar2[1]._gamestate.field_0x5c == 0) { + uVar9 = *(undefined4 *)&pMVar2[1]._gamestate.field_0x50; } else { - uVar9 = *(undefined4 *)&pMVar2[1].field_0x1000; + uVar9 = *(undefined4 *)&pMVar2[1]._gamestate.field_0x5c; } local_40 = puVar10; if (g_multiplayerService == (void *)0x0) { @@ -752770,18 +754040,18 @@ LAB_008e9bda: KAGE::Network::Multiplayer::ConstLobby::~ConstLobby(); } pMVar2 = g_manager; - *(undefined4 *)&g_manager[1].field_0x1820 = 0x3f000000; - *(undefined4 *)&pMVar2[1].field_0x1830 = 0x438e8000; - *(undefined4 *)&pMVar2[1].field_0x182c = 2; + *(undefined4 *)&g_manager[1]._gamestate.field_0x87c = 0x3f000000; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x88c = 0x438e8000; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x888 = 2; KColor::SetFromARGB(0xff362f2d); - *(undefined4 *)&pMVar2[1].field_0x1808 = local_a0; - *(undefined4 *)&pMVar2[1].field_0x180c = uStack_9c; - *(undefined4 *)&pMVar2[1].field_0x1810 = uStack_98; - *(undefined4 *)&pMVar2[1].field_0x1814 = uStack_94; - *(undefined4 *)&pMVar2[1].field_0x1818 = local_90; - pMVar2[1].field_0x181c = 0; - *(undefined4 *)&pMVar2[1].field_0x1824 = 8; - *(undefined4 *)&pMVar2[1].field_0x1828 = 7; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x864 = local_a0; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x868 = uStack_9c; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x86c = uStack_98; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x870 = uStack_94; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x874 = local_90; + pMVar2[1]._gamestate.field_0x878 = 0; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x880 = 8; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x884 = 7; uVar19 = get_time_ms(); *puVar17 = uVar19; if (*(int **)((int)puVar17 + 0x95c) != (int *)0x0) { @@ -752824,9 +754094,14 @@ void FUN_008ea360(int param_1) } -//@@ 008ea3a0 FUN_008ea3a0 +//@@ 008ea3a0 Menu_OnlineLobby::handle_kicked -void FUN_008ea3a0(void) +/* DB: ? when g_menuManager->_selectedMenuID == 0x11 (online lobby) and lobby check: pops menu state + history (MenuManager::SetState), resets g_multiplayerLobbyPtr, netplay_leave_lobby, + NetplayManager::reset, queues the "#Online/LOBBY_KICKED" popup (PopupQueue::push + + add_ok_button); from FUN_008ea6e0 and NetplayManager::process_drop_player_message */ + +void Menu_OnlineLobby::handle_kicked(void) { MenuManager *pMVar1; @@ -752971,10 +754246,10 @@ LAB_008ea42a: local_8 = 0xffffffff; netplay_leave_lobby(uVar8,ppvVar9); NetplayManager::reset(1); - Menu_OnlineLobby::init_lobby_view(); + init_lobby_view(); local_20 = (int *)&DAT_bf800000; local_1c = (int *)&DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,0,0,&local_20); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,0,0,&local_20); local_8 = 9; string_table_translate(&g_manager->_stringTable,"#Online/LOBBY_KICKED"); MessagePopup::add_ok_button(); @@ -753064,7 +754339,7 @@ void FUN_008ea6e0(undefined4 *param_1,int *param_2) uVar6 = FUN_00a23920(); if (((int)uVar6 == *(int *)(iVar1 + 0x10)) && ((int)((ulonglong)uVar6 >> 0x20) == *(int *)(iVar1 + 0x14))) { - FUN_008ea3a0(); + Menu_OnlineLobby::handle_kicked(); } break; case 9: @@ -753409,7 +754684,8 @@ void Menu_OnlineLobby::update_controls(void) cVar3 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a209e0,&local_28,0,0); if (cVar3 != '\0') { local_50 = 0xbf800000bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,FUN_008ee940,in_ECX,&local_50); + MessagePopup::MessagePopup + (&g_manager->_font2_TeamMeatEx12,leave_popup_callback,in_ECX,&local_50); local_14 = 4; MessagePopup::add_yes_no_buttons(); uVar7 = PopupQueue::push(local_f8); @@ -753736,18 +755012,18 @@ void Menu_OnlineLobby::start_game(void) local_24 = __security_cookie ^ (uint)&(&local_80)[1]._seed._size; ExceptionList = &local_1c; *(undefined4 *)(in_ECX + 0x958) = 0; - *(undefined4 *)&pMVar2[1].field_0x1820 = 0x3f000000; - *(undefined4 *)&pMVar2[1].field_0x1830 = 0x43480000; - *(undefined4 *)&pMVar2[1].field_0x182c = 5; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x87c = 0x3f000000; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x88c = 0x43480000; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x888 = 5; KColor::SetFromARGB(); - *(undefined4 *)&pMVar2[1].field_0x1808 = local_a8; - *(undefined4 *)&pMVar2[1].field_0x180c = uStack_a4; - *(undefined4 *)&pMVar2[1].field_0x1810 = uStack_a0; - *(undefined4 *)&pMVar2[1].field_0x1814 = uStack_9c; - *(int **)&pMVar2[1].field_0x1818 = local_98; - pMVar2[1].field_0x181c = 1; - *(undefined4 *)&pMVar2[1].field_0x1824 = 10; - *(undefined4 *)&pMVar2[1].field_0x1828 = 0x14; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x864 = local_a8; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x868 = uStack_a4; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x86c = uStack_a0; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x870 = uStack_9c; + *(int **)&pMVar2[1]._gamestate.field_0x874 = local_98; + pMVar2[1]._gamestate.field_0x878 = 1; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x880 = 10; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x884 = 0x14; if ((pMVar2->_lobbySettings)._gameMode == 5) { local_90 = KAGE::Network::Multiplayer::ConstLobby::vftable; local_8c = (int *)0x0; @@ -753795,7 +755071,7 @@ void Menu_OnlineLobby::start_game(void) pMVar2->_starting = 1; pMVar2->_networkPlay = 1; pMVar2->_startChallenge = local_80._challenge; - *(undefined4 *)&pMVar2->field_0x4abc0 = 0; + pMVar2->_consecutiveResetCount = 0; (pMVar2->_dailyChallenge)._isPractice = 0; if (local_80._gameMode == 5) { if ((g_manager->_persistentGameData)._eventCounters[0xbf] != 0) { @@ -753811,7 +755087,7 @@ void Menu_OnlineLobby::start_game(void) (pMVar2->_dailyChallenge)._id = 0; (pMVar2->_dailyChallenge)._seed = 0; (pMVar2->_dailyChallenge)._specialDailyId = 0; - ChallengeParam::Reset(); + ChallengeParam::Reset(&(pMVar2->_dailyChallenge)._params); } std::vector::_Tidy(); std::string::_Tidy_deallocate(); @@ -755108,7 +756384,7 @@ LAB_008ed547: FUN_00731ee0(&local_90,&local_a8); if (((*(char *)(local_88 + 0xd) == '\0') && (*(uint *)(local_88 + 0x14) <= piVar11)) && (((*(uint *)(local_88 + 0x14) < piVar11 || (*(uint *)(local_88 + 0x10) <= local_a0)) && - (local_88 != *(uint *)&g_manager[1].field_0x1064)))) { + (local_88 != *(uint *)&g_manager[1]._gamestate.field_0xc0)))) { local_84[0] = 0; local_84[1] = 1; local_84[2] = 2; @@ -755714,9 +756990,13 @@ void FUN_008ee4d0(undefined4 param_1,int param_2,undefined4 param_3,int param_4) } -//@@ 008ee700 FUN_008ee700 +//@@ 008ee700 online_lobby_members_changed_callback -void FUN_008ee700(undefined4 param_1,int param_2) +/* DB: ? event listener added to list 0xc79b70 (FUN_00a1d6b0) by Menu_OnlineLobby init and removed + at 986cf0; ctx = Menu_OnlineLobby: Lobby::get_members(1) and syncs the member map ctx+0x694 + (lobby_member_map_get_or_add), removes stale entries, Menu_OnlineLobby::update_ready_state */ + +void online_lobby_members_changed_callback(undefined4 param_1,int param_2) { undefined4 *puVar1; @@ -755860,9 +757140,14 @@ LAB_008ee83e: } -//@@ 008ee940 FUN_008ee940 +//@@ 008ee940 Menu_OnlineLobby::leave_popup_callback -void FUN_008ee940(int *param_1,int param_2) +/* DB: ? popup callback (pushed with ECX userdata by Menu_OnlineLobby::update_controls via the popup + desc ctor 009c25e0 MessagePopup::MessagePopup MessagePopup::add_yes_no_buttons): on result != 1 pops the menu state, + netplay_leave_lobby, NetplayManager::reset, PersistentGameData::Save/SaveToSteamCloud, + Manager::BackupSaveFile */ + +void Menu_OnlineLobby::leave_popup_callback(int *param_1,int param_2) { bool bVar1; @@ -756014,7 +757299,7 @@ LAB_008eea62: local_8 = 0xffffffff; netplay_leave_lobby(uVar12,ppvVar13); NetplayManager::reset(1); - Menu_OnlineLobby::init_lobby_view(); + init_lobby_view(); this = &g_manager->_persistentGameData; if ((*(char *)this != '\0') && ((g_manager->_persistentGameData)._isFileLoaded != 0)) { *(undefined1 *)this = 0; @@ -757091,10 +758376,12 @@ undefined4 * SpecialSeed::get_display_name(undefined4 *param_1) } if (*pcVar3 == '#') { local_5 = '\0'; - StringTable::get_string("SeedMenu",g_manager->_stringTable,pcVar3 + 1,&local_5); + StringTable::get_string("SeedMenu",*(undefined4 *)&g_manager->_stringTable,pcVar3 + 1,&local_5); if (local_5 == '\0') { local_5 = '\0'; - pcVar3 = (char *)StringTable::get_string("SeedMenu",pMVar2->_stringTable,pcVar3 + 1,&local_5); + pcVar3 = (char *)StringTable::get_string + ("SeedMenu",*(undefined4 *)&pMVar2->_stringTable,pcVar3 + 1, + &local_5); } } *param_1 = 0; @@ -757768,7 +759055,7 @@ LAB_008f0d3c: pvVar14 = (pMVar3->_seedsObject)._seedEffects; } if (((pvVar14 != (pMVar3->_seedsObject)._seedEffects) && - (*(int *)(local_4d4 + 8) - 1U < 0x1d)) && (g_manager->_stringTable == 0)) { + (*(int *)(local_4d4 + 8) - 1U < 0x1d)) && (*(int *)&g_manager->_stringTable == 0)) { std::string::string(local_474); local_4b0 = (char **)string_scramble_seeded(); if ((char **)local_474 != local_4b0) { @@ -757817,7 +759104,7 @@ LAB_008f0d3c: text_convert_encoding(0,local_458 + 0x18,0x200,1); local_494 = &g_manager->_font2_TeamMeatEx12; if (((local_4b4 != 1.4013e-45) && (local_4b4 != 2.8026e-45)) && - ((g_manager->_stringTable != 2 && (g_manager->_stringTable != 0xb)))) { + ((*(int *)&g_manager->_stringTable != 2 && (*(int *)&g_manager->_stringTable != 0xb)))) { local_494 = &g_manager->_font1_TeamMeatEx10; } local_45c._0_2_ = 0; @@ -759158,9 +760445,13 @@ void FUN_008f2d20(undefined4 *param_1) } -//@@ 008f2d80 FUN_008f2d80 +//@@ 008f2d80 ModEntry::ModEntry -void FUN_008f2d80(void) +/* DB: ? constructor of the object ModManager::ListMods allocates (0xf04 bytes via FUN_00a0f4c0) + before parsing: 8 empty std::strings, two std::list sentinels, eh_vector_constructor_iterator for + an array member */ + +void ModEntry::ModEntry(void) { uint uVar1; @@ -762098,7 +763389,7 @@ void Game::render_mod_shaders(void) fStack_68 = 1.0; fStack_64 = 1.0; uStack_60 = 0x3f800000; - DAT_00c79910 = 0; + g_graphicsManager_blendMode[4] = 0; local_c0 = 0; local_d0 = 0; local_c4 = 0; @@ -762550,7 +763841,7 @@ void ModManager::unload_shaders(void) } local_8 = 0xffffffff; *(undefined ***)(iVar9 + 0x18) = KAGE::Graphics::ShaderBase::vftable; - FUN_00a149a0(); + KAGE::Graphics::ShaderBase::free_uniforms(); FID_conflict__Tidy((void *)(iVar9 + 0x58)); FUN_00a15310(); std::string::_Tidy_deallocate(); @@ -763301,11 +764592,11 @@ ModManager::RenderCustomCollectionItem this[0x8079] = (ModManager)scale->x; this[0x807a] = (ModManager)scale->y; pLVar4 = ANM2::GetLayer(pAVar5,(byte *)0x0); - *(undefined4 *)&pLVar4->field_0x78 = *(undefined4 *)blendMode; - *(undefined4 *)&pLVar4->field_0x7c = *(undefined4 *)((int)blendMode + 4); - *(undefined4 *)&pLVar4->field_0x80 = *(undefined4 *)((int)blendMode + 8); - *(undefined4 *)&pLVar4->field_0x84 = *(undefined4 *)((int)blendMode + 0xc); - *(undefined4 *)&pLVar4->field_0x88 = *(undefined4 *)((int)blendMode + 0x10); + pLVar4->_blendMode[0] = *(int *)blendMode; + pLVar4->_blendMode[1] = *(int *)((int)blendMode + 4); + pLVar4->_blendMode[2] = *(int *)((int)blendMode + 8); + pLVar4->_blendMode[3] = *(int *)((int)blendMode + 0xc); + pLVar4->_blendMode[4] = *(int *)((int)blendMode + 0x10); Sprite::RenderLayer((Sprite *)pAVar5,0,pos,&g_vectorZero,&g_vectorZero); } else { @@ -763318,11 +764609,11 @@ ModManager::RenderCustomCollectionItem do { pLVar4 = ANM2::GetLayer(pAVar5,layerName); layerName = layerName + 1; - *(undefined4 *)&pLVar4->field_0x78 = *(undefined4 *)blendMode; - *(undefined4 *)&pLVar4->field_0x7c = *(undefined4 *)((int)blendMode + 4); - *(undefined4 *)&pLVar4->field_0x80 = *(undefined4 *)((int)blendMode + 8); - *(undefined4 *)&pLVar4->field_0x84 = *(undefined4 *)((int)blendMode + 0xc); - *(undefined4 *)&pLVar4->field_0x88 = *(undefined4 *)((int)blendMode + 0x10); + pLVar4->_blendMode[0] = *(int *)blendMode; + pLVar4->_blendMode[1] = *(int *)((int)blendMode + 4); + pLVar4->_blendMode[2] = *(int *)((int)blendMode + 8); + pLVar4->_blendMode[3] = *(int *)((int)blendMode + 0xc); + pLVar4->_blendMode[4] = *(int *)((int)blendMode + 0x10); } while (layerName < *(byte **)(iVar1 + 0xd5c)); } if (*(char *)(iVar1 + 0xde5) != '\0') { @@ -764065,11 +765356,15 @@ void Mod::load_content_anm2(int param_1,undefined4 param_2) } -//@@ 008f9f40 FUN_008f9f40 +//@@ 008f9f40 ModManager::add_mod_entry /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? (name, dir, path) from ModManager::UpdateWorkshopMods: builds an entry with + "/disable.it" (FileSystem::ResolvePath -> disabled), "/metadata.xml" (missing flag), + creates "/unfinished.it" (SaveDataManager::open_file_write) and pushes it via FUN_008fc5b0 + */ -void FUN_008f9f40(int *param_1,int *param_2,undefined4 param_3) +void ModManager::add_mod_entry(int *param_1,int *param_2,undefined4 param_3) { int *piVar1; @@ -765899,7 +767194,7 @@ int FUN_008fc6e0(undefined4 param_1) int *piVar1; undefined1 local_10 [12]; - piVar1 = (int *)FUN_008fc9f0(local_10,param_1); + piVar1 = (int *)std::map::_Try_emplace(local_10,param_1); return *piVar1 + 0x28; } @@ -766068,9 +767363,13 @@ void Catch_All_008fc9bd(void) } -//@@ 008fc9f0 FUN_008fc9f0 +//@@ 008fc9f0 std::map::_Try_emplace -void FUN_008fc9f0(undefined4 *param_1,undefined4 *param_2) +/* DB: ? key-string lower-bound then operator_new(0x2c) node with 4-byte value at +0x28 zeroed + (max_size 0x5d1745d); FUN_008fc6e0 returns node+0x28 (operator[]), used by + ModManager::LoadShaders; separate instantiation from 0069e0c0 std::map::_Try_emplace + +void std::map::_Try_emplace(undefined4 *param_1,undefined4 *param_2) { char cVar1; @@ -766139,7 +767438,7 @@ void FUN_008fc9f0(undefined4 *param_1,undefined4 *param_2) local_8 = 0; puVar8 = (undefined4 *)operator_new(0x2c); local_8 = 1; - std::string::string(param_2); + string::string(param_2); puVar8[10] = 0; *puVar8 = piVar2; puVar8[1] = piVar2; @@ -766234,9 +767533,13 @@ void FUN_008fcc50(void) } -//@@ 008fcc90 FUN_008fcc90 +//@@ 008fcc90 std::_Sort_unchecked -void FUN_008fcc90(int param_1,code *param_2) +/* DB: MSVC introsort on 4-byte elements with predicate: recursion on itself, heap-sort fallback + when ideal<=0 (sift loops), insertion sort below 32 elements (0x80 bytes); caller + ModManager::ListMods (008f7080) */ + +void std::_Sort_unchecked(int param_1,code *param_2) { undefined4 uVar1; @@ -766307,16 +767610,16 @@ void FUN_008fcc90(int param_1,code *param_2) } while (7 < (int)(uVar6 & 0xfffffffc)); return; } - FUN_008fd030(in_EDX,param_2); + _Partition_by_median_guess_unchecked<4byte>(in_EDX,param_2); param_1 = (param_1 >> 1) + (param_1 >> 2); if ((int)((int)local_10 - (int)in_ECX & 0xfffffffcU) < (int)((int)in_EDX - (int)local_c & 0xfffffffcU)) { - FUN_008fcc90(param_1,param_2); + _Sort_unchecked(param_1,param_2); local_14 = local_c; in_ECX = local_c; } else { - FUN_008fcc90(param_1,param_2); + _Sort_unchecked(param_1,param_2); local_24 = local_10; in_EDX = local_10; } @@ -766433,9 +767736,12 @@ undefined4 * FUN_008fcf20(undefined4 *param_1) } -//@@ 008fd030 FUN_008fd030 +//@@ 008fd030 std::_Partition_by_median_guess_unchecked<4byte> -void FUN_008fd030(undefined4 *param_1,code *param_2) +/* DB: MSVC std::sort partition: Tukey ninther when count > 40 (0x28) via FUN_008fd340 (_Med3), then + fat partition; callers std::_Sort_unchecked 0x92cbe0 and 0x8fcc90 */ + +void std::_Partition_by_median_guess_unchecked<4byte>(undefined4 *param_1,code *param_2) { undefined4 *puVar1; @@ -767047,7 +768353,7 @@ void NetDesyncHandler::Update(void) ExceptionList = &local_1c; local_24 = 0; local_28 = in_ECX; - FUN_008fed60(__security_cookie ^ (int)register0x00000010 - 0x10U); + receive_messages(__security_cookie ^ (int)register0x00000010 - 0x10U); pMVar2 = g_manager; iVar4 = *in_ECX; if (iVar4 == 1) { @@ -767100,8 +768406,8 @@ void NetDesyncHandler::Update(void) } while (local_34 < uVar3); } local_24 = uVar5; - FUN_008ffc70(); - FUN_009032d0(); + write_desync_diff(); + save_desync_files(); iVar4 = FUN_0090b070(); local_24 = *(int *)(iVar4 + 0x3bc); if (local_24 == 0) { @@ -767197,8 +768503,8 @@ void NetDesyncHandler::Update(void) local_3c = *(NetplayManager *)(iVar1 + 0xc); } uVar3 = 0; - puVar7 = &g_manager[1].field_0x1868; - uVar5 = (*(int *)&g_manager[1].field_0x186c - *(int *)puVar7) / 0x18; + puVar7 = &g_manager[1]._gamestate.field_0x8c4; + uVar5 = (*(int *)&g_manager[1]._gamestate.field_0x8c8 - *(int *)puVar7) / 0x18; if (uVar5 != 0) { piVar8 = (int *)(*(int *)puVar7 + 4); do { @@ -767367,9 +768673,14 @@ void FUN_008fed20(void) } -//@@ 008fed60 FUN_008fed60 +//@@ 008fed60 NetDesyncHandler::receive_messages -void FUN_008fed60(void) +/* DB: ? ECX = NetDesyncHandler, only caller NetDesyncHandler::Update (first thing it does): loops + NetworkManager::receive_message(channel 3) and handles MSG_DESYNC_NOTIFY / CONFIRM / + RECOVERY_START / RECOVERY_COMPLETE ("[Frame: %d] Recieved MSG_DESYNC_... from user %llu"), "This + function should only be called on consolidated messages" */ + +void NetDesyncHandler::receive_messages(void) { int iVar1; @@ -767558,11 +768869,14 @@ void FUN_008ffaf0(int *param_1,int *param_2) } -//@@ 008ffc70 FUN_008ffc70 +//@@ 008ffc70 NetDesyncHandler::write_desync_diff /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: only caller NetDesyncHandler::Update; 'Desync detected on frame: %d ... Number of players', + '[Frame: %d] Missing Desync Frame States from user "%s"! Cannot create Desync Diff', + SaveDataManager::open_file_write desync_diff.txt */ -void FUN_008ffc70(void) +void NetDesyncHandler::write_desync_diff(void) { NetplayManager NVar1; @@ -767616,7 +768930,7 @@ void FUN_008ffc70(void) local_238[0xb] = '\0'; local_240 = 0x645f636e79736564; local_14 = 0; - FUN_009047f0(1,local_24); + online_log_make_path(1,local_24); local_14 = 0xffffffff; if (0xf < local_22c) { uVar7 = local_22c + 1; @@ -767880,9 +769194,14 @@ void FUN_00900c90(void) } -//@@ 00900ca0 FUN_00900ca0 +//@@ 00900ca0 net_input_frame_capture -void FUN_00900ca0(int param_1,int *param_2,int *param_3) +/* DB: ? ECX = a stack net input frame (lea ecx,[ebp-0x2c] in NetInputDevice::is_input_ready, only + caller): skipped while console/pause/revive menu open; ORs 32 device actions (vtable +0x30) into + a button mask (+4), quantizes axis pairs (vtable +0x38) to shorts *32767 (+6, +8, ...), + Entity_Player::GetMouseAimTarget, is_any_player_restart_held */ + +void net_input_frame_capture(int param_1,int *param_2,int *param_3) { char cVar1; @@ -767902,10 +769221,11 @@ void FUN_00900ca0(int param_1,int *param_2,int *param_3) local_10 = ExceptionList; ExceptionList = &local_10; local_8 = 0; - if ((((g_game->_console == (Console)0x0) && (*(int *)&g_game->_pauseScreen == 0)) && + if ((((g_game->_console == (Console)0x0) && ((g_game->_pauseScreen)._state == 0)) && (g_game->_revivePlayerMenu == 0)) && ((param_2[3] != 0 || - ((*(int *)&g_manager[1].field_0x1234 == 0 && (*(int *)&g_manager[1].field_0x127c < 1)))))) { + ((*(int *)&g_manager[1]._gamestate.field_0x290 == 0 && + (*(int *)&g_manager[1]._gamestate.field_0x2d8 < 1)))))) { is_any_player_restart_held(__security_cookie ^ (int)register0x00000010 - 4U); uVar3 = 0; do { @@ -768557,9 +769877,13 @@ float10 FUN_009015a0(void) } -//@@ 009015b0 FUN_009015b0 +//@@ 009015b0 NetInputDevice::NetInputDevice -void FUN_009015b0(int param_1) +/* DB: constructor: sets IsaacRepentancePlus::NetInputDevice::vftable at +0, UserProfile at +0x370, + SmartPointer +0x378, std::map/list heads; base ctor FUN_00a1e050; only caller + FUN_006f6500 (allocates it per remote player) */ + +void NetInputDevice::NetInputDevice(int param_1) { int *piVar1; @@ -768723,9 +770047,14 @@ void FUN_00901910(void) } -//@@ 00901930 FUN_00901930 +//@@ 00901930 NetInputDevice::NetInputDevice -undefined4 * FUN_00901930(undefined4 param_1) +/* DB: constructor: sets IsaacRepentancePlus::NetInputDevice::vftable, UserProfile member, + SmartPointer from InputManager::get_device(userId), ring/map of 0x3c input + frames (std::_Tree::_Extract trimming); caller FUN_006f6500 (adds remote players: 'Failed to find + input device for UserId %llu') */ + +undefined4 * NetInputDevice::NetInputDevice(undefined4 param_1) { char cVar1; @@ -768992,20 +770321,21 @@ LAB_00901f19: pMVar9 = (Manager *)((ulonglong)uVar12 >> 0x20); } local_18 = CONCAT44(local_18._4_4_,(undefined4)local_18); - if (uVar8 <= (uint)(*(int *)&pMVar9[1].field_0xc + pMVar9[1]._state)) { + if (uVar8 <= (uint)(pMVar9[1]._previousState + pMVar9[1]._state)) { local_18 = CONCAT44(local_18._4_4_,(undefined4)local_18); if (g_game != (Game *)0x0) { iVar11 = *(int *)(in_ECX + 0x378); local_18._4_4_ = 0x3c; if (iVar11 != 0) { - iVar1 = *(int *)&pMVar9[1].field_0x18d0; + iVar1 = *(int *)&pMVar9[1]._gamestate.field_0x92c; if (iVar1 == 0x3c) { - if ((*(int *)&pMVar9[1].field_0x1234 != 0) || (0 < *(int *)&pMVar9[1].field_0x127c)) { + if ((*(int *)&pMVar9[1]._gamestate.field_0x290 != 0) || + (0 < *(int *)&pMVar9[1]._gamestate.field_0x2d8)) { local_18._4_4_ = 0x15; } } else { - *(undefined4 *)&pMVar9[1].field_0x18d0 = 0x3c; + *(undefined4 *)&pMVar9[1]._gamestate.field_0x92c = 0x3c; iVar7 = *(int *)(in_ECX + 0x3a4); iVar11 = *(int *)(in_ECX + 0x378); local_18._4_4_ = iVar1; @@ -769026,7 +770356,7 @@ LAB_00901f19: uVar13 = 0x901dfa; uVar5 = FUN_004253d0(); FUN_00902d60(in_ECX + 0x378); - FUN_00900ca0(uVar5,in_stack_ffffffb4,uVar13); + net_input_frame_capture(uVar5,in_stack_ffffffb4,uVar13); } iVar7 = local_30; FUN_00901070(&local_30); @@ -769042,7 +770372,7 @@ LAB_00901f19: iVar7 = 0; } else { - iVar7 = *(int *)&g_manager[1].field_0xc; + iVar7 = g_manager[1]._previousState; } if (*(int *)(in_ECX + 0x3a4) == 0) { uVar8 = g_manager[1]._state; @@ -769820,9 +771150,9 @@ void FUN_00902fd0(void) local_c = __security_cookie ^ (uint)local_410; sprintf(local_410,"online_logs/desyncs/"); - FUN_00903d60(10); + online_logs_prune(10); sprintf(local_410,"online_logs/sessions/"); - FUN_00903d60(0x1e); + online_logs_prune(0x1e); return; } @@ -769894,9 +771224,13 @@ void FUN_00903040(undefined4 param_1,undefined4 param_2,int param_3,int param_4) } -//@@ 009032d0 FUN_009032d0 +//@@ 009032d0 NetDesyncHandler::save_desync_files -void FUN_009032d0(void) +/* DB: ? only caller NetDesyncHandler::Update: writes desync_log.txt (g_logFile flush), "Saving + screenshot...", desync_shared_save.dat via SaveDataManager::open_file_write; next to + write_desync_dump 009036b0 write_desync_dump + +void NetDesyncHandler::save_desync_files(void) { Manager *pMVar1; @@ -769939,7 +771273,7 @@ void FUN_009032d0(void) local_48 = 0x7478; local_46 = 0; local_14 = 0; - puVar2 = (undefined4 *)FUN_009047f0(1,local_24); + puVar2 = (undefined4 *)online_log_make_path(1,local_24); local_14._0_1_ = 1; if (0xf < (uint)puVar2[5]) { puVar2 = (undefined4 *)*puVar2; @@ -769978,7 +771312,7 @@ LAB_00903402: } operator_delete(iVar6,uVar9); } - uVar9 = *(uint *)&g_manager[1].field_0x11cc; + uVar9 = *(uint *)&g_manager[1]._gamestate.field_0x228; pMVar1 = g_manager + 1; local_70 = uVar9; _Find_lower_bound<>(&local_48,&local_70); @@ -769993,7 +771327,7 @@ LAB_00903402: local_58 = 0x1f; builtin_strncpy(local_6c,"desync_shared_save.dat",0x17); local_14 = 2; - puVar2 = (undefined4 *)FUN_009047f0(1); + puVar2 = (undefined4 *)online_log_make_path(1); local_14._0_1_ = 3; if (0xf < (uint)puVar2[5]) { puVar2 = (undefined4 *)*puVar2; @@ -770314,11 +771648,14 @@ LAB_00903d19: } -//@@ 00903d60 FUN_00903d60 +//@@ 00903d60 online_logs_prune /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? lists g_userDataDir/ (filesys_list_directory) with _time64 and DateTime, parses names + (atoi) and deletes old ones (FUN_00a25560); called twice from FUN_00902fd0 with + "online_logs/desyncs/" and "online_logs/sessions/" */ -void FUN_00903d60(int param_1) +void online_logs_prune(int param_1) { uint *puVar1; @@ -770437,7 +771774,7 @@ void FUN_00903d60(int param_1) //@@ 00904050 make_timestamp_string /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ -/* DB: sprintf_s(global,0x40,'%02d_%02d_%d__%02d_%02d_%02d'); caller 009047f0 appends it to +/* DB: sprintf_s(global,0x40,'%02d_%02d_%d__%02d_%02d_%02d'); caller 009047f0 online_log_make_path it to 'online_logs/desyncs/' */ undefined4 * make_timestamp_string(void) @@ -770733,10 +772070,10 @@ LAB_00904570: operator_delete(ppuVar14,uVar6); } } - if (1 < *(int *)&g_manager[1].field_0x11c8) { + if (1 < *(int *)&g_manager[1]._gamestate.field_0x224) { std::string::append(&DAT_00b783d4,2); pcVar17 = local_40 + 1; - uVar6 = *(uint *)&g_manager[1].field_0x11c8; + uVar6 = *(uint *)&g_manager[1]._gamestate.field_0x224; if ((int)uVar6 < 0) { uVar6 = -uVar6; do { @@ -770845,11 +772182,13 @@ LAB_009047a1: } -//@@ 009047f0 FUN_009047f0 +//@@ 009047f0 online_log_make_path /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? builds (userDataDir if param_1) + "online_logs/desyncs/" + make_timestamp_string into ECX + std::string; callers FUN_008ffc70, FUN_009032d0 */ -void FUN_009047f0(char param_1) +void online_log_make_path(char param_1) { undefined4 *puVar1; @@ -771795,7 +773134,7 @@ undefined4 * SaveSlotManager::constructor(void) in_ECX[0x725] = 0; local_8 = CONCAT31(local_8._1_3_,0x21); NetplayManager::reset(1); - std::list>::push_back(FUN_009088e0,in_ECX); + std::list>::push_back(netplay_lobby_join_requested_callback,in_ECX); ExceptionList = local_10; return in_ECX; } @@ -771875,7 +773214,7 @@ void NetplayManager::~NetplayManager(void) local_10 = ExceptionList; uVar4 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; - FUN_00a1d6b0(FUN_009088e0); + FUN_00a1d6b0(netplay_lobby_join_requested_callback); NetplayTextPopup::clear(uVar4); *(undefined4 *)((int)in_ECX + 0x1c90) = 0; *(undefined4 *)((int)in_ECX + 0x1c94) = 0; @@ -772137,9 +773476,9 @@ void NetplayManager::Init(void) std::vector<12byte>::clear(); std::vector<12byte>::_Tidy(); local_14 = 0xffffffff; - FUN_0091f780(); + load_mute_list(); reset(); - FUN_009c5bf0(); + daily_lobby_join_init(); local_40._size = 0; local_40._capacity = 0; KAGE::Network::Multiplayer::ConstLobby::ConstLobby(); @@ -772344,7 +773683,7 @@ void FUN_00907830(void) /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ /* DB: ? returns bool: reads "game_version"/"build_number" from a lobby/peer property object (vtable +0x2c) and compares with the local build, showing "Online/ONLINE_VERSION_MISMATCH" when - different; callers Level::InitializeGenesisRoom (lobby join path), 009088e0, 009d98f0 */ + different; callers Level::InitializeGenesisRoom (lobby join path), 009088e0, 009d98f0 Menu_Save::select_slot undefined1 online_check_game_version(undefined4 param_1,int *param_2,int *param_3) @@ -772446,7 +773785,7 @@ LAB_00907a48: local_220 = &DAT_bf800000; local_21c = &DAT_bf800000; uVar10 = 0; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,0,0,&local_220); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,0,0,&local_220); local_8 = CONCAT31(local_8._1_3_,1); if (param_2 == (int *)0x0) { uVar7 = 0; @@ -772594,9 +773933,13 @@ void FUN_00907c80(int param_1,int param_2) } -//@@ 00908070 FUN_00908070 +//@@ 00908070 netplay_lost_connection_callback -void FUN_00908070(undefined4 param_1,int param_2) +/* DB: ? pushed as popup callback (push 0x908070 at 0x90e748) by NetplayManager::check_connection + for the LOST_CONNECTION_TO_SERVER popup; fades game out (fadeSpeed 0.08), netplay_leave_lobby, + NetplayManager::reset, resets Menu_Character/Challenge/SpecialSeeds, ModManager::Reset */ + +void netplay_lost_connection_callback(undefined4 param_1,int param_2) { void **ppvVar1; @@ -772654,7 +773997,7 @@ LAB_0090812b: pGVar3 = g_game; uVar11 = 0; pPVar9 = &g_game->_playerManager; - g_manager->field_0x4b284 = 0; + g_manager->_isSaveOnExit = 0; if ((int)(pGVar3->_playerManager)._playerList._end - (int)(pPVar9->_playerList)._begin >> 2 != 0 ) { do { @@ -773015,11 +774358,14 @@ void FUN_00908830(int param_1,undefined4 param_2,int *param_3) } -//@@ 009088e0 FUN_009088e0 +//@@ 009088e0 netplay_lobby_join_requested_callback /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: ? callback registered twice by SaveSlotManager::constructor (push 0x9088e0 at + 0x9069eb/0x906ab7); takes a ConstLobby, online_check_game_version, online_lobby_is_user_banned, + show_beta_disclaimer_popup, closes popup and queues ##GAME###Online/CONNECTING_TO_SERVER */ -void FUN_009088e0(undefined ***param_1,undefined ***param_2) +void netplay_lobby_join_requested_callback(undefined ***param_1,undefined ***param_2) { int iVar1; @@ -773136,7 +774482,7 @@ void FUN_009088e0(undefined ***param_1,undefined ***param_2) local_8 = (undefined *)0x2; std::shared_ptr::assign(puVar5 + 1); local_8 = (undefined *)0xffffffff; - FUN_00912b60(); + NetplayManager::request_join_lobby(); if (puVar5 != (undefined4 *)0x0) { local_fc = (undefined4 *)0x1; local_100 = (byte *)0x908b72; @@ -773154,7 +774500,7 @@ void FUN_009088e0(undefined ***param_1,undefined ***param_2) if (cVar4 != '\0') { local_104 = (undefined **)&local_18; local_18 = 0xbf800000bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,0,0); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,0,0); local_8 = (undefined *)0x3; local_104 = &local_48; local_38 = 0x3e5cdcdd; @@ -773215,7 +774561,7 @@ void FUN_00908be0(int param_1,undefined4 *param_2) local_8 = 0; std::shared_ptr::assign(param_2 + 1); local_8 = 0xffffffff; - FUN_00912b60(); + NetplayManager::request_join_lobby(); } else { string_table_translate(); @@ -774291,20 +775637,20 @@ undefined4 NetplayManager::Update(void) int *in_ECX; uint uVar8; Manager *pMVar9; - int *piStack_94; - int **ppiStack_90; + StringTable *pSStack_94; + StringTable *pSStack_90; uint uStack_8c; int *local_50; int *local_4c; - int *local_48; - int *local_44; - int *local_40; - int *local_3c; + StringTable *local_48; + StringTable *local_44; + StringTable *local_40; + StringTable *local_3c; undefined1 local_38 [4]; int *local_34; - int *local_30; - int *local_2c; - int *local_28; + StringTable *local_30; + StringTable *local_2c; + StringTable *local_28; char local_21; undefined1 *puStack_20; void *local_1c; @@ -774317,24 +775663,24 @@ undefined4 NetplayManager::Update(void) local_1c = ExceptionList; uStack_8c = __security_cookie ^ (uint)(local_38 + 0x28); ExceptionList = &local_1c; - local_30 = (int *)0x0; - local_28 = (int *)0x0; + local_30 = (StringTable *)0x0; + local_28 = (StringTable *)0x0; puVar4 = local_38 + 0x34; if ((in_ECX[0x646] != 0) && (puVar4 = local_38 + 0x34, (char)in_ECX[0x64a] != '\0')) { - ppiStack_90 = (int **)0x90b1b5; + pSStack_90 = (StringTable *)0x90b1b5; ANM2::update_appear_then_idle(); if (*(char *)((int)in_ECX + 0x1b21) != '\0') { - ppiStack_90 = (int **)0x90b1c9; + pSStack_90 = (StringTable *)0x90b1c9; AnimationState::Update(); - ppiStack_90 = (int **)0x90b1d4; + pSStack_90 = (StringTable *)0x90b1d4; AnimationState::Update(); } - ppiStack_90 = (int **)0x0; - piStack_94 = (int *)0x0; - local_2c = (int *)&DAT_0000000f; + pSStack_90 = (StringTable *)0x0; + pSStack_94 = (StringTable *)0x0; + local_2c = (StringTable *)&DAT_0000000f; cVar5 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a209e0,&local_2c); if (cVar5 != '\0') { - ppiStack_90 = (int **)0x90b204; + pSStack_90 = (StringTable *)0x90b204; daily_lobby_join_reset(); } in_ECX[0x637] = in_ECX[0x637] + 1; @@ -774342,173 +775688,174 @@ undefined4 NetplayManager::Update(void) if (0x5a < (uint)in_ECX[0x637]) { iVar1 = in_ECX[0x636]; if (iVar1 == 2) { - ppiStack_90 = (int **)0x90b21f; + pSStack_90 = (StringTable *)0x90b21f; daily_lobby_join_reset(); - piStack_94 = &g_manager->_stringTable; - ppiStack_90 = (int **)0xb7ef18; - ppiStack_90 = (int **)string_table_translate(); - piStack_94 = (int *)0x90b23c; + pSStack_94 = &g_manager->_stringTable; + pSStack_90 = (StringTable *)0xb7ef18; + pSStack_90 = (StringTable *)string_table_translate(); + pSStack_94 = (StringTable *)0x90b23c; daily_lobby_join_show_error(); puVar4 = puStack_20; } else if (iVar1 == 5) { - ppiStack_90 = (int **)0x90b24a; + pSStack_90 = (StringTable *)0x90b24a; daily_lobby_join_reset(); - piStack_94 = &g_manager->_stringTable; - ppiStack_90 = (int **)0xb7ef38; - ppiStack_90 = (int **)string_table_translate(); - piStack_94 = (int *)0x90b267; + pSStack_94 = &g_manager->_stringTable; + pSStack_90 = (StringTable *)0xb7ef38; + pSStack_90 = (StringTable *)string_table_translate(); + pSStack_94 = (StringTable *)0x90b267; daily_lobby_join_show_error(); puVar4 = puStack_20; } else if (iVar1 == 3) { - ppiStack_90 = (int **)0x90b275; + pSStack_90 = (StringTable *)0x90b275; daily_lobby_join_reset(); - piStack_94 = &g_manager->_stringTable; - ppiStack_90 = (int **)0xb7ef58; - ppiStack_90 = (int **)string_table_translate(); - piStack_94 = (int *)0x90b292; + pSStack_94 = &g_manager->_stringTable; + pSStack_90 = (StringTable *)0xb7ef58; + pSStack_90 = (StringTable *)string_table_translate(); + pSStack_94 = (StringTable *)0x90b292; daily_lobby_join_show_error(); puVar4 = puStack_20; } else if (iVar1 == 4) { - ppiStack_90 = (int **)(in_ECX + 0x6cb); - piStack_94 = (int *)0x90b2b1; + pSStack_90 = (StringTable *)(in_ECX + 0x6cb); + pSStack_94 = (StringTable *)0x90b2b1; join_pending_lobby(); - ppiStack_90 = (int **)0x90b2b8; + pSStack_90 = (StringTable *)0x90b2b8; daily_lobby_join_reset(); puVar4 = puStack_20; } } } puStack_20 = puVar4; - ppiStack_90 = (int **)0x90b2c3; + pSStack_90 = (StringTable *)0x90b2c3; LobbyPasswordPrompt::Update(); - ppiStack_90 = (int **)0x90b2ce; + pSStack_90 = (StringTable *)0x90b2ce; update_text_popup((NetplayManager *)(in_ECX + 0x428)); - ppiStack_90 = (int **)0x90b2d3; + pSStack_90 = (StringTable *)0x90b2d3; process_lobby_messages(); if ((in_ECX[0x62a] != 0) && - (ppiStack_90 = (int **)in_ECX[3], (int **)in_ECX[0x629] == ppiStack_90)) { - piStack_94 = (int *)0xb78f50; + (pSStack_90 = (StringTable *)in_ECX[3], (StringTable *)in_ECX[0x629] == pSStack_90)) { + pSStack_94 = (StringTable *)0xb78f50; /* WARNING: Subroutine does not return */ KAGE_LogMessage(1); } while (g_multiplayerService != (void *)0x0) { - ppiStack_90 = (int **)0x0; - piStack_94 = (int *)0x2; + pSStack_90 = (StringTable *)0x0; + pSStack_94 = (StringTable *)0x2; piVar6 = (int *)NetworkManager::receive_message(local_38); iVar1 = *piVar6; local_14 = 1; if (local_34 != (int *)0x0) { - ppiStack_90 = (int **)0x90b3a2; + pSStack_90 = (StringTable *)0x90b3a2; cVar5 = (**(code **)(*local_34 + 0xc))(); if ((cVar5 != '\0') && (g_multiplayerRelease != (void *)0x0)) { - ppiStack_90 = (int **)local_38; - piStack_94 = (int *)0x90b3b5; + pSStack_90 = (StringTable *)local_38; + pSStack_94 = (StringTable *)0x90b3b5; (*g_multiplayerRelease)(); } } local_14 = 0xffffffff; if (iVar1 == 0) break; - local_28 = (int *)((uint)local_28 | 2); + local_28 = (StringTable *)((uint)local_28 | 2); if (g_multiplayerService == (void *)0x0) { - ppiStack_90 = g_multiplayerService; - piStack_94 = (int *)0x90b3da; + pSStack_90 = g_multiplayerService; + pSStack_94 = (StringTable *)0x90b3da; KAGE::SmartPointer::reset(); } else { - ppiStack_90 = (int **)0x1; - piStack_94 = (int *)0x2; + pSStack_90 = (StringTable *)0x1; + pSStack_94 = (StringTable *)0x2; NetworkManager::receive_message(&local_48); } local_14 = 2; - if (local_44 != (int *)0x0) { - ppiStack_90 = (int **)0x90b404; - cVar5 = (**(code **)(*local_44 + 0xc))(); + if (local_44 != (StringTable *)0x0) { + pSStack_90 = (StringTable *)0x90b404; + cVar5 = (**(code **)(*(int *)local_44 + 0xc))(); if ((cVar5 != '\0') && (g_multiplayerRelease != (void *)0x0)) { - ppiStack_90 = &local_48; - piStack_94 = (int *)0x90b417; + pSStack_90 = (StringTable *)&local_48; + pSStack_94 = (StringTable *)0x90b417; (*g_multiplayerRelease)(); } } local_14 = 0xffffffff; } - ppiStack_90 = (int **)0x90b42d; + pSStack_90 = (StringTable *)0x90b42d; update_status_messages(); while (g_multiplayerService != (void *)0x0) { - ppiStack_90 = (int **)0x0; - piStack_94 = (int *)0xa; + pSStack_90 = (StringTable *)0x0; + pSStack_94 = (StringTable *)0xa; piVar6 = (int *)NetworkManager::receive_message(&local_50); iVar1 = *piVar6; local_14 = 3; if (local_4c != (int *)0x0) { - ppiStack_90 = (int **)0x90b462; + pSStack_90 = (StringTable *)0x90b462; cVar5 = (**(code **)(*local_4c + 0xc))(); if ((cVar5 != '\0') && (g_multiplayerRelease != (void *)0x0)) { - ppiStack_90 = &local_50; - piStack_94 = (int *)0x90b475; + pSStack_90 = (StringTable *)&local_50; + pSStack_94 = (StringTable *)0x90b475; (*g_multiplayerRelease)(); } } local_14 = 0xffffffff; if (iVar1 == 0) break; - local_28 = (int *)((uint)local_28 | 4); + local_28 = (StringTable *)((uint)local_28 | 4); if (g_multiplayerService == (void *)0x0) { - ppiStack_90 = g_multiplayerService; - piStack_94 = (int *)0x90b49e; + pSStack_90 = g_multiplayerService; + pSStack_94 = (StringTable *)0x90b49e; KAGE::SmartPointer::reset(); } else { - ppiStack_90 = (int **)0x1; - piStack_94 = (int *)0xa; + pSStack_90 = (StringTable *)0x1; + pSStack_94 = (StringTable *)0xa; NetworkManager::receive_message(&local_48); } local_14 = 4; - piStack_94 = (int *)0x0; - ppiStack_90 = (int **)0x0; + pSStack_94 = (StringTable *)0x0; + pSStack_90 = (StringTable *)0x0; local_2c = local_44; local_30 = local_48; - if ((local_44 != (int *)0x0) && (cVar5 = (**(code **)(*local_44 + 4))(), cVar5 != '\0')) { - if ((ppiStack_90 != (int **)0x0) && - ((cVar5 = (**(code **)((int)*ppiStack_90 + 0xc))(), cVar5 != '\0' && + if ((local_44 != (StringTable *)0x0) && + (cVar5 = (**(code **)(*(int *)local_44 + 4))(), cVar5 != '\0')) { + if ((pSStack_90 != (StringTable *)0x0) && + ((cVar5 = (**(code **)(*(int *)pSStack_90 + 0xc))(), cVar5 != '\0' && (g_multiplayerRelease != (void *)0x0)))) { - (*g_multiplayerRelease)(&piStack_94); + (*g_multiplayerRelease)(&pSStack_94); } - ppiStack_90 = (int **)local_2c; - piStack_94 = local_30; + pSStack_90 = local_2c; + pSStack_94 = local_30; } Camera::UpdateUltrasmooth((Camera *)(in_ECX + 0x48c)); local_14 = 5; - if (local_44 != (int *)0x0) { - ppiStack_90 = (int **)0x90b533; - cVar5 = (**(code **)(*local_44 + 0xc))(); + if (local_44 != (StringTable *)0x0) { + pSStack_90 = (StringTable *)0x90b533; + cVar5 = (**(code **)(*(int *)local_44 + 0xc))(); if ((cVar5 != '\0') && (g_multiplayerRelease != (void *)0x0)) { - ppiStack_90 = &local_48; - piStack_94 = (int *)0x90b546; + pSStack_90 = (StringTable *)&local_48; + pSStack_94 = (StringTable *)0x90b546; (*g_multiplayerRelease)(); } } local_14 = 0xffffffff; } - ppiStack_90 = (int **)0x90b55c; + pSStack_90 = (StringTable *)0x90b55c; process_drop_player_message(); - ppiStack_90 = (int **)0x90b563; + pSStack_90 = (StringTable *)0x90b563; receive_vote_end_message(); - ppiStack_90 = (int **)0x90b56a; + pSStack_90 = (StringTable *)0x90b56a; update_player_removal(); if (*in_ECX != in_ECX[1]) { local_50 = (int *)0x0; local_4c = (int *)0x0; - ppiStack_90 = &g_multiplayerLobbyPtr; + pSStack_90 = (StringTable *)&g_multiplayerLobbyPtr; local_14 = 6; - piStack_94 = (int *)0x90b59a; + pSStack_94 = (StringTable *)0x90b59a; std::shared_ptr::assign(); local_14 = 7; - local_30 = (int *)((uint)local_28 | 0x19); + local_30 = (StringTable *)((uint)local_28 | 0x19); local_28 = local_30; if (local_50 != (int *)0x0) { - ppiStack_90 = (int **)0x90b5c5; + pSStack_90 = (StringTable *)0x90b5c5; cVar5 = (**(code **)(*local_50 + 0xc))(); local_21 = '\0'; if (cVar5 != '\0') goto LAB_0090b5d1; @@ -774517,21 +775864,21 @@ undefined4 NetplayManager::Update(void) local_21 = '\x01'; LAB_0090b5d1: if (((uint)local_28 & 1) != 0) { - local_28 = (int *)((uint)local_28 & 0xfffffffe); + local_28 = (StringTable *)((uint)local_28 & 0xfffffffe); local_14 = 8; if (local_4c != (int *)0x0) { - ppiStack_90 = (int **)0x90b601; + pSStack_90 = (StringTable *)0x90b601; cVar5 = (**(code **)(*local_4c + 0xc))(); if ((cVar5 != '\0') && (g_lobbyReleaseFn != (void *)0x0)) { - ppiStack_90 = &local_50; - piStack_94 = (int *)0x90b614; + pSStack_90 = (StringTable *)&local_50; + pSStack_94 = (StringTable *)0x90b614; (*g_lobbyReleaseFn)(); } } } local_14 = 0xffffffff; if (local_21 == '\0') { - ppiStack_90 = (int **)0x90b62b; + pSStack_90 = (StringTable *)0x90b62b; check_connection(); pMVar9 = g_manager; uVar8 = in_ECX[4]; @@ -774541,83 +775888,84 @@ LAB_0090b5d1: *(undefined1 *)(in_ECX + 6) = 1; } if (pMVar9->_state == 2) { - ppiStack_90 = (int **)0x90b656; + pSStack_90 = (StringTable *)0x90b656; online_chat_update(); pMVar9 = g_manager; } if ((pMVar9->_framecount & 1) == 0) { while (g_multiplayerService != (void *)0x0) { - ppiStack_90 = (int **)0x0; - piStack_94 = (int *)0x1; + pSStack_90 = (StringTable *)0x0; + pSStack_94 = (StringTable *)0x1; piVar6 = (int *)NetworkManager::receive_message(&local_50); iVar1 = *piVar6; local_14 = 9; if (local_4c != (int *)0x0) { - ppiStack_90 = (int **)0x90b6e8; + pSStack_90 = (StringTable *)0x90b6e8; cVar5 = (**(code **)(*local_4c + 0xc))(); if ((cVar5 != '\0') && (g_multiplayerRelease != (void *)0x0)) { - ppiStack_90 = &local_50; - piStack_94 = (int *)0x90b6fb; + pSStack_90 = (StringTable *)&local_50; + pSStack_94 = (StringTable *)0x90b6fb; (*g_multiplayerRelease)(); } } local_14 = 0xffffffff; if (iVar1 == 0) break; - local_28 = (int *)((uint)local_28 | 0x20); + local_28 = (StringTable *)((uint)local_28 | 0x20); if (g_multiplayerService == (void *)0x0) { - ppiStack_90 = g_multiplayerService; - piStack_94 = (int *)0x90b724; + pSStack_90 = g_multiplayerService; + pSStack_94 = (StringTable *)0x90b724; KAGE::SmartPointer::reset(); } else { - ppiStack_90 = (int **)0x1; - piStack_94 = (int *)0x1; + pSStack_90 = (StringTable *)0x1; + pSStack_94 = (StringTable *)0x1; NetworkManager::receive_message(&local_40); } local_14 = 10; - local_48 = (int *)*local_40; - local_44 = (int *)local_40[1]; - ppiStack_90 = &local_48; - piStack_94 = (int *)0x90b759; + local_48 = *(StringTable **)local_40; + local_44 = *(StringTable **)&local_40->field_0x4; + pSStack_90 = (StringTable *)&local_48; + pSStack_94 = (StringTable *)0x90b759; local_34 = (int *)PlayerManager::get_player_by_user_id(); if (local_34 != (int *)0x0) { - piStack_94 = (int *)0x0; - ppiStack_90 = (int **)0x0; + pSStack_94 = (StringTable *)0x0; + pSStack_90 = (StringTable *)0x0; local_30 = local_3c; local_2c = local_40; - if ((local_3c != (int *)0x0) && (cVar5 = (**(code **)(*local_3c + 4))(), cVar5 != '\0')) { - if ((ppiStack_90 != (int **)0x0) && - ((cVar5 = (**(code **)((int)*ppiStack_90 + 0xc))(), cVar5 != '\0' && + if ((local_3c != (StringTable *)0x0) && + (cVar5 = (**(code **)(*(int *)local_3c + 4))(), cVar5 != '\0')) { + if ((pSStack_90 != (StringTable *)0x0) && + ((cVar5 = (**(code **)(*(int *)pSStack_90 + 0xc))(), cVar5 != '\0' && (g_multiplayerRelease != (void *)0x0)))) { - (*g_multiplayerRelease)(&piStack_94); + (*g_multiplayerRelease)(&pSStack_94); } - ppiStack_90 = (int **)local_30; - piStack_94 = local_2c; + pSStack_90 = local_30; + pSStack_94 = local_2c; } NetInputDevice::ProcessInputMessage(); } local_14 = 0xb; - if (local_3c != (int *)0x0) { - ppiStack_90 = (int **)0x90b7d8; - cVar5 = (**(code **)(*local_3c + 0xc))(); + if (local_3c != (StringTable *)0x0) { + pSStack_90 = (StringTable *)0x90b7d8; + cVar5 = (**(code **)(*(int *)local_3c + 0xc))(); if ((cVar5 != '\0') && (g_multiplayerRelease != (void *)0x0)) { - ppiStack_90 = &local_40; - piStack_94 = (int *)0x90b7eb; + pSStack_90 = (StringTable *)&local_40; + pSStack_94 = (StringTable *)0x90b7eb; (*g_multiplayerRelease)(); } } local_14 = 0xffffffff; } - ppiStack_90 = (int **)0x90b801; + pSStack_90 = (StringTable *)0x90b801; process_drop_player_message(); - ppiStack_90 = (int **)0x90b808; + pSStack_90 = (StringTable *)0x90b808; update_revives(); - ppiStack_90 = (int **)0x90b80d; + pSStack_90 = (StringTable *)0x90b80d; online_vote_update(); - ppiStack_90 = (int **)0x90b818; + pSStack_90 = (StringTable *)0x90b818; NetDesyncHandler::Update(); iVar1 = in_ECX[0x630]; - ppiStack_90 = (int **)0x90b825; + pSStack_90 = (StringTable *)0x90b825; local_34 = (int *)get_rich_presence_room_status(); pGVar3 = g_game; if (((local_34 != (int *)iVar1) || (in_ECX[0x631] != g_game->_stage)) || @@ -774628,13 +775976,13 @@ LAB_0090b5d1: in_ECX[0x632] = pGVar3->_greedModeWave; in_ECX[0x633] = (pGVar3->_difficulty == 3) + 10; *(bool *)(in_ECX + 0x634) = *(int *)((int)pGVar3->_room + 0x723c) != -1; - ppiStack_90 = (int **)0x90b8be; + pSStack_90 = (StringTable *)0x90b8be; update_lobby_stage_info(); } - ppiStack_90 = (int **)0x90b8c9; + pSStack_90 = (StringTable *)0x90b8c9; cVar5 = process_consolidated_messages(); if (cVar5 == '\0') { - ppiStack_90 = (int **)0x90b8ea; + pSStack_90 = (StringTable *)0x90b8ea; uVar7 = try_advance_frame(); ExceptionList = local_1c; return uVar7; @@ -774839,7 +776187,7 @@ LAB_0090bc59: LAB_0090bda3: local_78 = 0xbf800000bf800000; pVStack_154 = (Vector *)FUN_009084f0; - FontDrawParams::FontDrawParams(&pMVar6->_font2_TeamMeatEx12); + MessagePopup::MessagePopup(&pMVar6->_font2_TeamMeatEx12); local_8 = CONCAT31(local_8._1_3_,3); iStack_150 = (int)&local_78 + 4; local_7c = (int *)0x0; @@ -774875,7 +776223,7 @@ LAB_0090bda3: iStack_150 = 0; local_78 = 0xbf800000bf800000; pVStack_154 = (Vector *)0x0; - FontDrawParams::FontDrawParams(&extraout_EDX->_font2_TeamMeatEx12); + MessagePopup::MessagePopup(&extraout_EDX->_font2_TeamMeatEx12); local_8 = CONCAT31(local_8._1_3_,2); MessagePopup::add_ok_button(); iStack_150 = 0x90bd4c; @@ -775432,26 +776780,32 @@ void FUN_0090c740(undefined4 param_1,int param_2) int iVar1; undefined1 local_10 [12]; - FUN_009150d0(local_10,param_1); + std::map::try_emplace(local_10,param_1); iVar1 = *(int *)(param_2 + 0x1e68); if (((iVar1 == 0) || (*(int *)(iVar1 + 0x161c) == -1)) || (*(int *)(param_2 + 0x161c) <= *(int *)(iVar1 + 0x161c))) { iVar1 = param_2; } FUN_00906100(iVar1); - FUN_009150d0(local_10,param_1); + std::map::try_emplace(local_10,param_1); FUN_00906100(*(undefined4 *)(param_2 + 0x1e68)); - FUN_009150d0(local_10,param_1); + std::map::try_emplace(local_10,param_1); FUN_00906100(*(undefined4 *)(param_2 + 0x1e6c)); return; } -//@@ 0090c7e0 FUN_0090c7e0 +//@@ 0090c7e0 NetplayManager::restore_player_state /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? ECX=NetplayManager (map end +0x1070 next to the +0x1064 map of + get_player_persistent_game_data): (userId*, player) finds the pending entry for the user + (FUN_00913e50), picks the one of 4 0x34-byte slots whose key == player _playerType (+0x13c0), + GameStatePlayer::Init/read from its buffer + Entity_Player::RestoreGameState, marks the slot 0x29 + (free; FUN_00913e70 erases when all 4 are free), recurses into the linked players + +0x1e68/+0x1e6c; callers Game::add_players (006f6500) and itself */ -int FUN_0090c7e0(uint *param_1,EntityPtr param_2) +int NetplayManager::restore_player_state(uint *param_1,EntityPtr param_2) { int iVar1; @@ -775535,7 +776889,7 @@ int FUN_0090c7e0(uint *param_1,EntityPtr param_2) piVar7[1] = 0; if (((*piVar6 == 0x29) && (piVar6[0xd] == 0x29)) && ((piVar6[0x1a] == 0x29 && (piVar6[0x27] == 0x29)))) { - FUN_00913e70(local_5f8); + std::map::erase(local_5f8); } EVar3 = local_5fc; EVar2 = *(EntityPtr *)((int)local_5fc + 0x1e68); @@ -775543,10 +776897,10 @@ int FUN_0090c7e0(uint *param_1,EntityPtr param_2) (((*(int *)((int)EVar2 + 0x161c) == -1 || (*(int *)((int)local_5fc + 0x161c) <= *(int *)((int)EVar2 + 0x161c))) || (EVar2 == local_5fc)))) { - FUN_0090c7e0(puVar4,EVar2); + restore_player_state(puVar4,EVar2); } if (*(int *)((int)EVar3 + 0x1e6c) != 0) { - FUN_0090c7e0(puVar4,*(int *)((int)EVar3 + 0x1e6c)); + restore_player_state(puVar4,*(int *)((int)EVar3 + 0x1e6c)); } GameStatePlayer::~GameStatePlayer(); ExceptionList = local_10; @@ -775555,7 +776909,7 @@ int FUN_0090c7e0(uint *param_1,EntityPtr param_2) LAB_0090c9f0: if ((((*piVar6 == 0x29) && (piVar6[0xd] == 0x29)) && (piVar6[0x1a] == 0x29)) && (piVar6[0x27] == 0x29)) { - FUN_00913e70(param_1); + std::map::erase(param_1); } ExceptionList = local_10; return 0; @@ -775747,9 +777101,9 @@ void NetplayManager::save_frame_snapshot(char param_1) { uint *puVar1; - undefined8 *puVar2; - qword qVar3; - int iVar4; + int iVar2; + undefined8 *puVar3; + qword qVar4; undefined1 *puVar5; uint uVar6; int iVar7; @@ -775760,7 +777114,7 @@ void NetplayManager::save_frame_snapshot(char param_1) uint uVar11; qword *pqVar12; undefined4 local_94; - undefined4 uStack_90; + int iStack_90; int local_8c; EntityList *local_88; undefined4 local_84; @@ -775806,7 +777160,7 @@ void NetplayManager::save_frame_snapshot(char param_1) puVar5 = puStack_20; } puStack_20 = puVar5; - iVar4 = local_7c; + iVar2 = local_7c; uVar11 = *(uint *)(local_7c + 0x34); local_80 = *(int *)(local_7c + 0x38) + uVar11; piVar8 = *(int **)(local_7c + 0x28); @@ -775842,9 +777196,9 @@ void NetplayManager::save_frame_snapshot(char param_1) } if (iVar7 != 0) { uVar6 = *(uint *)(iVar7 + -4); - qVar3 = *pqVar12; + qVar4 = *pqVar12; *(uint *)pqVar12 = (uint)*pqVar12 - uVar6; - *(uint *)((int)pqVar12 + 4) = *(uint *)((int)pqVar12 + 4) - (uint)((uint)qVar3 < uVar6); + *(uint *)((int)pqVar12 + 4) = *(uint *)((int)pqVar12 + 4) - (uint)((uint)qVar4 < uVar6); free((void *)(iVar7 + -4)); } local_14 = CONCAT31(local_14._1_3_,1); @@ -775856,33 +777210,33 @@ void NetplayManager::save_frame_snapshot(char param_1) local_84 = 0; local_80 = 0; uVar9 = PersistentGameDataWriter::compress(&local_80); - piVar8 = (int *)std::map::try_emplace(&uStack_90,local_7c + 0xc); + piVar8 = (int *)std::map::try_emplace(&iStack_90,local_7c + 0xc); iVar7 = *piVar8; *(undefined4 *)(iVar7 + 0x14) = uVar9; *(uint *)(iVar7 + 0x18) = local_80; local_80 = checksum_stream(0,0); - uVar6 = *(uint *)(iVar4 + 0x30); + uVar6 = *(uint *)(iVar2 + 0x30); local_94 = *(undefined4 *)(local_7c + 0xc); - uStack_90 = *(undefined4 *)&local_88[1]._updateEL.field_0x8; - iVar7 = *(int *)(iVar4 + 0x38); + iStack_90 = local_88[1]._updateEL._capacity; + iVar7 = *(int *)(iVar2 + 0x38); if (uVar6 <= iVar7 + 1U) { std_deque_growmap(iVar7); - uVar6 = *(uint *)(iVar4 + 0x30); - iVar7 = *(int *)(iVar4 + 0x38); + uVar6 = *(uint *)(iVar2 + 0x30); + iVar7 = *(int *)(iVar2 + 0x38); } - *(uint *)(iVar4 + 0x34) = *(uint *)(iVar4 + 0x34) & uVar6 - 1; - uVar6 = iVar7 + *(int *)(iVar4 + 0x34) & uVar6 - 1; - iVar10 = *(int *)(iVar4 + 0x2c); + *(uint *)(iVar2 + 0x34) = *(uint *)(iVar2 + 0x34) & uVar6 - 1; + uVar6 = iVar7 + *(int *)(iVar2 + 0x34) & uVar6 - 1; + iVar10 = *(int *)(iVar2 + 0x2c); iVar7 = uVar6 * 4; if (*(int *)(iVar10 + uVar6 * 4) == 0) { uVar9 = operator_new(0xc); - *(undefined4 *)(iVar7 + *(int *)(iVar4 + 0x2c)) = uVar9; - iVar10 = *(int *)(iVar4 + 0x2c); + *(undefined4 *)(iVar7 + *(int *)(iVar2 + 0x2c)) = uVar9; + iVar10 = *(int *)(iVar2 + 0x2c); } - puVar2 = *(undefined8 **)(iVar10 + iVar7); - *puVar2 = CONCAT44(uStack_90,local_94); - *(uint *)(puVar2 + 1) = local_80; - *(int *)(iVar4 + 0x38) = *(int *)(iVar4 + 0x38) + 1; + puVar3 = *(undefined8 **)(iVar10 + iVar7); + *puVar3 = CONCAT44(iStack_90,local_94); + *(uint *)(puVar3 + 1) = local_80; + *(int *)(iVar2 + 0x38) = *(int *)(iVar2 + 0x38) + 1; local_30 = KAGE::Filesys::StreamBase::vftable; local_58 = KAGE::Filesys::BufferedStreamBase::vftable; local_54 = 0; @@ -775906,14 +777260,13 @@ void NetplayManager::save_frame_snapshot(char param_1) *(int *)(local_7c + 0xc)) break; uVar11 = uVar11 + 1; } - uVar9 = *(undefined4 *)&local_88[1]._updateEL.field_0x8; + iVar2 = local_88[1]._updateEL._capacity; if (piVar8 == (int *)0x0) { - *(undefined4 *)(*(int *)(_DAT_00000004 + (_DAT_00000008 - 1U & uVar11) * 4) + 4) = uVar9; + *(int *)(*(int *)(_DAT_00000004 + (_DAT_00000008 - 1U & uVar11) * 4) + 4) = iVar2; ExceptionList = local_1c; return; } - *(undefined4 *)(*(int *)(*(int *)(*piVar8 + 4) + (*(int *)(*piVar8 + 8) - 1U & uVar11) * 4) + 4) = - uVar9; + *(int *)(*(int *)(*(int *)(*piVar8 + 4) + (*(int *)(*piVar8 + 8) - 1U & uVar11) * 4) + 4) = iVar2; ExceptionList = local_1c; return; } @@ -775944,12 +777297,12 @@ undefined4 FUN_0090d950(int param_1) } -//@@ 0090d9b0 NPCAI_Pathfinder::EvadeTarget +//@@ 0090d9b0 NetplayManager::add_new_players -/* ZHL [prefix64/68] __thiscall void NPCAI_Pathfinder::EvadeTarget(Vector * TargetPos, bool - IgnoreStatusEffects); */ +/* DB: ? "[Frame %d] Adding %d new players\n", next to write_player_game_states_message (was a ZHL + prefix match NPCAI_Pathfinder::EvadeTarget) */ -void __thiscall NPCAI_Pathfinder::EvadeTarget(NPCAI_Pathfinder *this) +void __thiscall NetplayManager::add_new_players(NetplayManager *this) { void *local_1c; @@ -775959,12 +777312,11 @@ void __thiscall NPCAI_Pathfinder::EvadeTarget(NPCAI_Pathfinder *this) uStack_14 = 0xffffffff; puStack_18 = &LAB_00b0931f; local_1c = ExceptionList; - if (*(int *)&this[3].field_0x290 != 0) { + if (this[0x61a] != (NetplayManager)0x0) { ExceptionList = &local_1c; /* WARNING: Subroutine does not return */ - KAGE_LogMessage(1,"[Frame %d] Adding %d new players\n",(this->_moveDirection).x, - *(int *)&this[3].field_0x290,__security_cookie ^ (int)register0x00000010 - 0x10U - ); + KAGE_LogMessage(1,"[Frame %d] Adding %d new players\n",this[3],this[0x61a], + __security_cookie ^ (int)register0x00000010 - 0x10U); } return; } @@ -776048,7 +777400,8 @@ undefined4 NetplayManager::check_connection(void) if (*(int *)(in_ECX + 0x58) == -1) { local_28 = &DAT_bf800000; local_24 = &DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,FUN_00908070,in_ECX,&local_28); + MessagePopup::MessagePopup + (&g_manager->_font2_TeamMeatEx12,netplay_lost_connection_callback,in_ECX,&local_28); local_14 = 0; MessagePopup::add_ok_button(); uVar3 = PopupQueue::push(local_d0); @@ -776098,7 +777451,7 @@ undefined4 online_check_mods_allowed(void) local_18 = &DAT_bf800000; local_14 = &DAT_bf800000; ExceptionList = &local_10; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,0,0,&local_18); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,0,0,&local_18); local_8 = 0; MessagePopup::add_ok_button(uVar2); PopupQueue::push(local_c4); @@ -776123,7 +777476,7 @@ undefined4 online_check_mods_allowed(void) /* DB: (lobby): copies the lobby's ConstLobby/settings (LobbySettings::reset, Menu_Save::select_save_slot) and scans its 8-byte banned user-id list for the local g_userProfile id; on a hit shows "##GAME###Online/ONLINE_USER_BANNED" and returns 1; online_lobby_join aborts - when it returns true; also Level::InitializeGenesisRoom and 009088e0 */ + when it returns true; also Level::InitializeGenesisRoom and 009088e0 netplay_lobby_join_requested_callback undefined1 online_lobby_is_user_banned(int param_1) @@ -776192,7 +777545,7 @@ undefined1 online_lobby_is_user_banned(int param_1) local_138 = 0; local_13c = (undefined **)0x0; local_78 = 0xbf800000bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12); local_8 = CONCAT31(local_8._1_3_,2); local_134 = (undefined8 *)0x90ea12; MessagePopup::add_ok_button(); @@ -776293,7 +777646,7 @@ void FUN_0090ea90(int param_1,undefined4 param_2) } local_21c = &DAT_bf800000; local_218 = &DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,0,0,&local_21c); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,0,0,&local_21c); local_8 = 0; uVar1 = string_table_translate(&g_manager->_stringTable,pcVar2); sprintf_s(local_214,0x200,"%s\\n%s",param_2,uVar1); @@ -777971,26 +779324,25 @@ void NetplayManager::update_revives(void) { undefined4 *puVar1; PlayerManager *pPVar2; - undefined1 *puVar3; - Game *pGVar4; - char cVar5; - uint uVar6; - PlayerManager **ppPVar7; - int iVar8; - int *piVar9; - PlayerManager *pPVar10; + Game *pGVar3; + char cVar4; + uint uVar5; + PlayerManager **ppPVar6; + int iVar7; + int *piVar8; + PlayerManager *pPVar9; undefined4 *in_ECX; - PlayerManager **ppPVar11; - PlayerManager *pPVar12; - int iVar13; - uint uVar14; - int *piVar15; - void *pvVar16; - int iVar17; - uint uVar18; - void *pvVar19; + PlayerManager **ppPVar10; + PlayerManager *pPVar11; + int iVar12; + uint uVar13; + int *piVar14; + void *pvVar15; + int iVar16; + uint uVar17; + void *pvVar18; + undefined4 uVar19; undefined4 uVar20; - undefined4 uVar21; undefined4 local_70; undefined4 local_6c; undefined8 local_68; @@ -778015,49 +779367,49 @@ void NetplayManager::update_revives(void) puStack_18 = &LAB_00b0987d; local_1c = ExceptionList; puStack_20 = (undefined1 *)((int)register0x00000010 + -4); - uVar6 = __security_cookie ^ (int)register0x00000010 - 0x10U; + uVar5 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; - iVar8 = in_ECX[0x61e]; - piVar15 = in_ECX + 0x61e; + iVar7 = in_ECX[0x61e]; + piVar14 = in_ECX + 0x61e; local_30 = 0; - local_28 = piVar15; + local_28 = piVar14; local_24 = in_ECX; - if (in_ECX[0x61f] - iVar8 >> 5 != 0) { - iVar17 = 0; + if (in_ECX[0x61f] - iVar7 >> 5 != 0) { + iVar16 = 0; do { - if (*(int *)(iVar17 + iVar8) == 0) { + if (*(int *)(iVar16 + iVar7) == 0) { local_4c = (PlayerManager *)(local_24[4] + local_24[3]); - ppPVar7 = (PlayerManager **)(iVar8 + 0x10 + iVar17); - ppPVar11 = &local_4c; - if ((PlayerManager *)(local_24[4] + local_24[3]) <= *ppPVar7) { - ppPVar11 = ppPVar7; + ppPVar6 = (PlayerManager **)(iVar7 + 0x10 + iVar16); + ppPVar10 = &local_4c; + if ((PlayerManager *)(local_24[4] + local_24[3]) <= *ppPVar6) { + ppPVar10 = ppPVar6; } - local_70 = *(undefined4 *)(iVar17 + 8 + iVar8); - local_4c = *ppPVar11; - local_6c = *(undefined4 *)(iVar17 + 0xc + iVar8); + local_70 = *(undefined4 *)(iVar16 + 8 + iVar7); + local_4c = *ppPVar10; + local_6c = *(undefined4 *)(iVar16 + 0xc + iVar7); local_68 = CONCAT44(local_68._4_4_,local_4c); if (g_multiplayerService == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10, "Attempting to create a message when there is no multiplayer service\n"); } - uVar21 = 7; - uVar20 = 0x10; + uVar20 = 7; + uVar19 = 0x10; NetConnection::send_message(&local_40,1,&local_70,0x10,7); local_14 = 0; FUN_008ef1d0(&local_40); - send_message(8,uVar20,uVar21); + send_message(8,uVar19,uVar20); local_14 = 1; if (((local_3c != (PlayerManager *)0x0) && - (cVar5 = (**(code **)((int)(local_3c->_playerList)._begin + 0xc))(), cVar5 != '\0')) && + (cVar4 = (**(code **)((int)(local_3c->_playerList)._begin + 0xc))(), cVar4 != '\0')) && (g_multiplayerRelease != (void *)0x0)) { (*g_multiplayerRelease)(&local_40); } local_14 = 0xffffffff; - iVar13 = *local_28 + iVar17; - iVar8 = FUN_0090b070(); - iVar8 = *(int *)(iVar8 + 0x374); - if (iVar8 == 0) { + iVar12 = *local_28 + iVar16; + iVar7 = FUN_0090b070(); + iVar7 = *(int *)(iVar7 + 0x374); + if (iVar7 == 0) { local_48 = 0; local_48._4_4_ = (int *)0x0; local_48._0_4_ = 0; @@ -778065,243 +779417,243 @@ void NetplayManager::update_revives(void) local_34 = local_48._4_4_; } else { - local_38 = *(undefined4 *)(iVar8 + 8); - local_34 = *(int **)(iVar8 + 0xc); + local_38 = *(undefined4 *)(iVar7 + 8); + local_34 = *(int **)(iVar7 + 0xc); } - puVar1 = *(undefined4 **)(iVar13 + 0x18); - if (puVar1 == *(undefined4 **)(iVar13 + 0x1c)) { + puVar1 = *(undefined4 **)(iVar12 + 0x18); + if (puVar1 == *(undefined4 **)(iVar12 + 0x1c)) { std::vector<8byte>::_Emplace_reallocate(puVar1,&local_38); } else { *puVar1 = local_38; puVar1[1] = local_34; - *(int *)(iVar13 + 0x18) = *(int *)(iVar13 + 0x18) + 8; + *(int *)(iVar12 + 0x18) = *(int *)(iVar12 + 0x18) + 8; } - *(PlayerManager **)(*local_28 + 0x10 + iVar17) = local_4c; - *(undefined4 *)(*local_28 + iVar17) = 1; - piVar15 = local_28; + *(PlayerManager **)(*local_28 + 0x10 + iVar16) = local_4c; + *(undefined4 *)(*local_28 + iVar16) = 1; + piVar14 = local_28; } local_30 = local_30 + 1; - iVar8 = *piVar15; - iVar17 = iVar17 + 0x20; - } while (local_30 < (uint)(piVar15[1] - iVar8 >> 5)); + iVar7 = *piVar14; + iVar16 = iVar16 + 0x20; + } while (local_30 < (uint)(piVar14[1] - iVar7 >> 5)); } - while (piVar15 = local_28, g_multiplayerService != (void *)0x0) { - piVar9 = (int *)NetworkManager::receive_message(&local_38,7,0); - iVar8 = *piVar9; + while (piVar14 = local_28, g_multiplayerService != (void *)0x0) { + piVar8 = (int *)NetworkManager::receive_message(&local_38,7,0); + iVar7 = *piVar8; local_14 = 2; - if (((local_34 != (int *)0x0) && (cVar5 = (**(code **)(*local_34 + 0xc))(), cVar5 != '\0')) && + if (((local_34 != (int *)0x0) && (cVar4 = (**(code **)(*local_34 + 0xc))(), cVar4 != '\0')) && (g_multiplayerRelease != (void *)0x0)) { (*g_multiplayerRelease)(&local_38); } local_14 = 0xffffffff; - if (iVar8 == 0) break; + if (iVar7 == 0) break; if (g_multiplayerService == (void *)0x0) { KAGE::SmartPointer::reset(0); } else { NetworkManager::receive_message(&local_40,7,1); } - pPVar10 = local_40; + pPVar9 = local_40; local_14 = 3; local_58 = (local_40->_playerList)._begin; local_54 = (local_40->_playerList)._end; - iVar8 = PlayerManager::get_player_by_user_id(&local_58); - if (iVar8 != 0) { - local_4c = pPVar10; - if (*(int *)&pPVar10->field_0xc == 1) { - iVar8 = *(int *)(*(int *)(pPVar10->_playerList)._capacity + 0x14); - local_2c = (undefined4 *)(iVar8 + 8); - local_48 = CONCAT44(iVar8 + 0x10,(undefined4)local_48); + iVar7 = PlayerManager::get_player_by_user_id(&local_58); + if (iVar7 != 0) { + local_4c = pPVar9; + if (pPVar9->_coopSlots[0]._controllerIndex == 1) { + iVar7 = *(int *)(*(int *)(pPVar9->_playerList)._capacity + 0x14); + local_2c = (undefined4 *)(iVar7 + 8); + local_48 = CONCAT44(iVar7 + 0x10,(undefined4)local_48); /* WARNING: Subroutine does not return */ KAGE_LogMessage(1, "[FRAME: %d] Recieved Message_RevivePlayer from User(%llu), for User(%llu), Revive Frame = %d \n" - ,local_24[3],(pPVar10->_playerList)._begin,(pPVar10->_playerList)._end, - *local_2c,*(undefined4 *)(iVar8 + 0xc),*(undefined4 *)(iVar8 + 0x10)); + ,local_24[3],(pPVar9->_playerList)._begin,(pPVar9->_playerList)._end, + *local_2c,*(undefined4 *)(iVar7 + 0xc),*(undefined4 *)(iVar7 + 0x10)); } /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"This function should only be called on consolidated messages"); } local_14 = 5; if (((local_3c != (PlayerManager *)0x0) && - (cVar5 = (**(code **)((int)(local_3c->_playerList)._begin + 0xc))(), cVar5 != '\0')) && + (cVar4 = (**(code **)((int)(local_3c->_playerList)._begin + 0xc))(), cVar4 != '\0')) && (g_multiplayerRelease != (void *)0x0)) { (*g_multiplayerRelease)(&local_40); } local_14 = 0xffffffff; } - iVar8 = piVar15[1]; - pPVar10 = (PlayerManager *)*piVar15; + iVar7 = piVar14[1]; + pPVar9 = (PlayerManager *)*piVar14; local_30 = 0; - if (iVar8 - (int)pPVar10 >> 5 == 0) { + if (iVar7 - (int)pPVar9 >> 5 == 0) { LAB_009122d0: - uVar6 = iVar8 - (int)pPVar10 >> 5; - local_30 = uVar6 - 1; - if (local_30 < uVar6) { + uVar5 = iVar7 - (int)pPVar9 >> 5; + local_30 = uVar5 - 1; + if (local_30 < uVar5) { local_2c = (undefined4 *)(local_30 * 0x20); do { - pGVar4 = g_game; - if (*(int *)((int)&(pPVar10->_playerList)._begin + (int)local_2c) == 2) { - pPVar12 = &g_game->_playerManager; - local_4c = pPVar12; - iVar8 = PlayerManager::get_player_by_user_id - ((int)&(pPVar10->_playerList)._capacity + (int)local_2c); - uVar6 = 0; - piVar15 = (pPVar12->_playerList)._begin; - uVar14 = (int)(pGVar4->_playerManager)._playerList._end - (int)piVar15 >> 2; - if (uVar14 != 0) { + pGVar3 = g_game; + if (*(int *)((int)pPVar9->_coopSlots + (int)local_2c + -0xc) == 2) { + pPVar11 = &g_game->_playerManager; + local_4c = pPVar11; + iVar7 = PlayerManager::get_player_by_user_id((int)pPVar9->_coopSlots + (int)local_2c + -4) + ; + uVar5 = 0; + piVar14 = (pPVar11->_playerList)._begin; + uVar13 = (int)(pGVar3->_playerManager)._playerList._end - (int)piVar14 >> 2; + if (uVar13 != 0) { do { - iVar17 = piVar15[uVar6]; - if (*(int *)(iVar17 + 0x1618) == *(int *)(iVar8 + 0xc)) goto LAB_00912346; - uVar6 = uVar6 + 1; - } while (uVar6 < uVar14); + iVar16 = piVar14[uVar5]; + if (*(int *)(iVar16 + 0x1618) == *(int *)(iVar7 + 0xc)) goto LAB_00912346; + uVar5 = uVar5 + 1; + } while (uVar5 < uVar13); } - iVar17 = 0; - if (uVar14 != 0) { + iVar16 = 0; + if (uVar13 != 0) { LAB_00912346: - uVar6 = 0; + uVar5 = 0; do { - if (*piVar15 == iVar17) goto LAB_00912357; - uVar6 = uVar6 + 1; - piVar15 = piVar15 + 1; - } while (uVar6 < uVar14); + if (*piVar14 == iVar16) goto LAB_00912357; + uVar5 = uVar5 + 1; + piVar14 = piVar14 + 1; + } while (uVar5 < uVar13); } - uVar6 = 0xffffffff; + uVar5 = 0xffffffff; LAB_00912357: - PlayerManager::ReviveCoopPlayer(uVar6); + PlayerManager::ReviveCoopPlayer(uVar5); local_34 = (int *)((int)local_2c + local_24[0x61e]); - pPVar10 = (PlayerManager *)local_24[0x61f]; + pPVar9 = (PlayerManager *)local_24[0x61f]; local_4c = (PlayerManager *)(local_34 + 8); - local_3c = pPVar10; - if (local_4c != pPVar10) { - piVar15 = local_34 + 7; - piVar9 = local_34 + 0xf; - local_48 = CONCAT44(piVar15,(undefined4)local_48); + local_3c = pPVar9; + if (local_4c != pPVar9) { + piVar14 = local_34 + 7; + piVar8 = local_34 + 0xf; + local_48 = CONCAT44(piVar14,(undefined4)local_48); do { *local_34 = (int)(local_4c->_playerList)._begin; - iVar8 = piVar9[-4]; - piVar15[-5] = piVar9[-5]; - piVar15[-4] = iVar8; - piVar15[-3] = piVar9[-3]; - if (piVar15 != piVar9) { + iVar7 = piVar8[-4]; + piVar14[-5] = piVar8[-5]; + piVar14[-4] = iVar7; + piVar14[-3] = piVar8[-3]; + if (piVar14 != piVar8) { std::vector::_Tidy(); - piVar15[-2] = piVar9[-2]; - local_48._4_4_[-1] = piVar9[-1]; - *local_48._4_4_ = *piVar9; - piVar9[-2] = 0; - piVar9[-1] = 0; - *piVar9 = 0; - piVar15 = local_48._4_4_; - pPVar10 = local_3c; + piVar14[-2] = piVar8[-2]; + local_48._4_4_[-1] = piVar8[-1]; + *local_48._4_4_ = *piVar8; + piVar8[-2] = 0; + piVar8[-1] = 0; + *piVar8 = 0; + piVar14 = local_48._4_4_; + pPVar9 = local_3c; } - piVar15 = piVar15 + 8; - local_4c = (PlayerManager *)&local_4c->field_0x20; + piVar14 = piVar14 + 8; + local_4c = (PlayerManager *)(local_4c->_coopSlots + 1); local_34 = local_34 + 8; - local_48 = CONCAT44(piVar15,(undefined4)local_48); - piVar9 = piVar9 + 8; - } while (local_4c != pPVar10); + local_48 = CONCAT44(piVar14,(undefined4)local_48); + piVar8 = piVar8 + 8; + } while (local_4c != pPVar9); } puVar1 = local_24; std::vector::_Tidy(); puVar1[0x61f] = puVar1[0x61f] + -0x20; - piVar15 = local_28; + piVar14 = local_28; } local_30 = local_30 - 1; - pPVar10 = (PlayerManager *)*piVar15; + pPVar9 = (PlayerManager *)*piVar14; local_2c = (undefined4 *)((int)local_2c + -0x20); - } while (local_30 < (uint)(piVar15[1] - (int)pPVar10 >> 5)); + } while (local_30 < (uint)(piVar14[1] - (int)pPVar9 >> 5)); } ExceptionList = local_1c; return; } local_2c = (undefined4 *)0x0; LAB_00912180: - uVar18 = 0; - uVar14 = iVar8 - (int)pPVar10 >> 5; - pPVar12 = pPVar10; - if (uVar14 != 0) { - local_4c = *(PlayerManager **)((int)&(pPVar10->_playerList)._capacity + (int)local_2c); - puVar3 = &pPVar10->field_0xc; - local_48 = CONCAT44(*(int *)(puVar3 + (int)local_2c),(undefined4)local_48); - local_3c = pPVar10; + uVar17 = 0; + uVar13 = iVar7 - (int)pPVar9 >> 5; + pPVar11 = pPVar9; + if (uVar13 != 0) { + local_4c = *(PlayerManager **)((int)pPVar9->_coopSlots + (int)local_2c + -4); + iVar7 = *(int *)((int)&pPVar9->_coopSlots[0]._controllerIndex + (int)local_2c); + local_48 = CONCAT44(iVar7,(undefined4)local_48); + local_3c = pPVar9; do { - if (((pPVar10->_playerList)._capacity == local_4c) && - (*(int *)&pPVar10->field_0xc == *(int *)(puVar3 + (int)local_2c))) { - pPVar12 = local_3c; - if (pPVar10 != (PlayerManager *)0x0) { + if (((pPVar9->_playerList)._capacity == local_4c) && + (pPVar9->_coopSlots[0]._controllerIndex == iVar7)) { + pPVar11 = local_3c; + if (pPVar9 != (PlayerManager *)0x0) { local_34 = (int *)0x0; pPVar2 = (PlayerManager *)*local_24; - piVar15 = (int *)(local_24[1] - (int)pPVar2 >> 2); - local_48 = CONCAT44(piVar15,(undefined4)local_48); + piVar14 = (int *)(local_24[1] - (int)pPVar2 >> 2); + local_48 = CONCAT44(piVar14,(undefined4)local_48); local_3c = pPVar2; - if (piVar15 == (int *)0x0) goto LAB_00912262; - local_4c = *(PlayerManager **)&pPVar10->field_0x14; - uVar14 = *(int *)&pPVar10->field_0x18 - (int)local_4c >> 3; + if (piVar14 == (int *)0x0) goto LAB_00912262; + local_4c = (PlayerManager *)pPVar9->_coopSlots[0]._state; + uVar13 = (int)pPVar9->_coopSlots[0]._menuPosition - (int)local_4c >> 3; goto LAB_00912202; } break; } - uVar18 = uVar18 + 1; - pPVar10 = (PlayerManager *)&pPVar10->field_0x20; - pPVar12 = (PlayerManager *)local_24[0x61e]; - local_3c = pPVar12; - } while (uVar18 < uVar14); + uVar17 = uVar17 + 1; + pPVar9 = (PlayerManager *)(pPVar9->_coopSlots + 1); + pPVar11 = (PlayerManager *)local_24[0x61e]; + local_3c = pPVar11; + } while (uVar17 < uVar13); } goto LAB_00912283; while( true ) { - pPVar10 = local_4c; - while (((pPVar10->_playerList)._begin != pvVar16 || ((pPVar10->_playerList)._end != pvVar19))) { - uVar18 = uVar18 + 1; - pPVar10 = (PlayerManager *)&(pPVar10->_playerList)._capacity; - if (uVar14 <= uVar18) goto LAB_00912241; + pPVar9 = local_4c; + while (((pPVar9->_playerList)._begin != pvVar15 || ((pPVar9->_playerList)._end != pvVar18))) { + uVar17 = uVar17 + 1; + pPVar9 = (PlayerManager *)&(pPVar9->_playerList)._capacity; + if (uVar13 <= uVar17) goto LAB_00912241; } local_34 = (int *)((int)local_34 + 1); local_3c = (PlayerManager *)&(local_3c->_playerList)._end; - if (piVar15 <= local_34) break; + if (piVar14 <= local_34) break; LAB_00912202: - iVar8 = *(int *)((int)(local_3c->_playerList)._begin + 0x374); - if (iVar8 == 0) { + iVar7 = *(int *)((int)(local_3c->_playerList)._begin + 0x374); + if (iVar7 == 0) { local_68 = 0; local_68._4_4_ = (void *)0x0; local_68._0_4_ = (void *)0x0; - pvVar16 = (void *)local_68; - pvVar19 = local_68._4_4_; + pvVar15 = (void *)local_68; + pvVar18 = local_68._4_4_; } else { - pvVar16 = *(void **)(iVar8 + 8); - pvVar19 = *(void **)(iVar8 + 0xc); + pvVar15 = *(void **)(iVar7 + 8); + pvVar18 = *(void **)(iVar7 + 0xc); } - uVar18 = 0; - if (uVar14 == 0) { + uVar17 = 0; + if (uVar13 == 0) { LAB_00912241: - pPVar12 = (PlayerManager *)*local_28; + pPVar11 = (PlayerManager *)*local_28; goto LAB_00912283; } } - pPVar12 = (PlayerManager *)*local_28; + pPVar11 = (PlayerManager *)*local_28; LAB_00912262: - puVar1 = (undefined4 *)((int)&(pPVar12->_playerList)._begin + (int)local_2c); + puVar1 = (undefined4 *)((int)pPVar11->_coopSlots + (int)local_2c + -0xc); if (local_24[3] == puVar1[4]) { *puVar1 = 2; } else { LAB_00912283: - if (*(uint *)(&pPVar12->field_0x10 + (int)local_2c) < (uint)local_24[3]) { + uVar13 = *(uint *)((int)&pPVar11->_coopSlots[0]._playerType + (int)local_2c); + if (uVar13 < (uint)local_24[3]) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(8, "[FRAME: %d] Revival Frame for User(%llu) has passed without being revived! (Revive Frame = %d) \n" - ,local_24[3], - *(undefined4 *)((int)&(pPVar12->_playerList)._capacity + (int)local_2c), - *(undefined4 *)(&pPVar12->field_0xc + (int)local_2c), - *(uint *)(&pPVar12->field_0x10 + (int)local_2c),uVar6); + ,local_24[3],*(undefined4 *)((int)pPVar11->_coopSlots + (int)local_2c + -4), + *(undefined4 *)((int)&pPVar11->_coopSlots[0]._controllerIndex + (int)local_2c) + ,uVar13,uVar5); } } local_2c = (undefined4 *)((int)local_2c + 0x20); local_30 = local_30 + 1; - iVar8 = local_28[1]; - pPVar10 = (PlayerManager *)*local_28; - piVar15 = local_28; - if ((uint)(iVar8 - (int)pPVar10 >> 5) <= local_30) goto LAB_009122d0; + iVar7 = local_28[1]; + pPVar9 = (PlayerManager *)*local_28; + piVar14 = local_28; + if ((uint)(iVar7 - (int)pPVar9 >> 5) <= local_30) goto LAB_009122d0; goto LAB_00912180; } @@ -778478,8 +779830,8 @@ void __thiscall NetplayManager::receive_vote_end_message(NetplayManager *this) } while (local_24 < local_2c); } local_38 = g_game; - if ((*(int *)&(g_game->_genericPrompt).field_0x34 != 0) && - ((g_game->_genericPrompt).field_0x44 != '\0')) { + if (((g_game->_genericPrompt)._sprite._animState._animData != (void *)0x0) && + ((g_game->_genericPrompt)._sprite._animState._isPlaying != 0)) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"[Frame: %d] Victory lap vote processed \n",g_manager[1]._state,uVar4); } @@ -778632,11 +779984,15 @@ void NetplayManager::update_lobby_stage_info(void) } -//@@ 00912b60 FUN_00912b60 +//@@ 00912b60 NetplayManager::request_join_lobby /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? ECX=NetplayManager (+0x18d8 state, +0x1918/+0x1928): with daily-challenge lobbies runs + daily_challenge_refresh and "#Online/LOBBY_JOIN_DAILY_CHECK" popup, reads lobby "current_stage", + otherwise NetplayManager::join_pending_lobby or LobbyPasswordPrompt::open for passworded lobbies; + 3 callers in NetplayManager */ -void FUN_00912b60(undefined **param_1,undefined1 param_2,int *param_3) +void NetplayManager::request_join_lobby(undefined **param_1,undefined1 param_2,int *param_3) { char cVar1; @@ -778675,7 +780031,7 @@ void FUN_00912b60(undefined **param_1,undefined1 param_2,int *param_3) if (local_2c == 0) { local_9c = (int **)¶m_1; local_a0 = 0x912d0e; - NetplayManager::join_pending_lobby(); + join_pending_lobby(); } else { local_70 = &local_a4; @@ -779012,7 +780368,7 @@ void FUN_00913870(char param_1,undefined4 *param_2) local_10 = *param_2; local_c = param_2[1]; KAGE::Network::Multiplayer::ConstLobby::ConstLobby(&local_10); - FUN_00912b60(); + NetplayManager::request_join_lobby(); } return; } @@ -779438,14 +780794,18 @@ int FUN_00913e50(undefined4 param_1) int *piVar1; undefined1 local_10 [12]; - piVar1 = (int *)FUN_009150d0(local_10,param_1); + piVar1 = (int *)std::map::try_emplace(local_10,param_1); return *piVar1 + 0x18; } -//@@ 00913e70 FUN_00913e70 +//@@ 00913e70 std::map::erase -int FUN_00913e70(uint *param_1) +/* DB: equal_range on a u64 key (lower/upper bound loops on node +0x10/+0x14) then std_tree_extract + + destroy (std::map::destroy_subtree) per node; 2 callers in + NetplayManager FUN_0090c7e0 */ + +int std::map::erase(uint *param_1) { char cVar1; @@ -779531,7 +780891,7 @@ int FUN_00913e70(uint *param_1) } param_1 = (uint *)piVar8; if ((piVar8 == (int *)*piVar2) && (*(char *)((int)piVar9 + 0xd) != '\0')) { - std::map::destroy_subtree(in_ECX,piVar2[1]); + destroy_subtree(in_ECX,piVar2[1]); piVar2[1] = (int)piVar2; *piVar2 = (int)piVar2; piVar2[2] = (int)piVar2; @@ -779540,7 +780900,6 @@ int FUN_00913e70(uint *param_1) else if (piVar8 != piVar9) { do { piVar2 = (int *)param_1; - std:: _Tree_unchecked_const_iterator_>,std::_Iterator_base0> ::operator++((_Tree_unchecked_const_iterator_>,std::_Iterator_base0> *)¶m_1); @@ -780605,9 +781964,14 @@ void Catch_All_009150a0(void) } -//@@ 009150d0 FUN_009150d0 +//@@ 009150d0 std::map::try_emplace -void FUN_009150d0(undefined4 *param_1,uint *param_2) +/* DB: ? MSVC _Tree insert on u64 key (+0x10/+0x14), max_size 0x11a7b96 (0xe8-byte node) whose value + has four KAGE::Filesys::BufferedStream members, i.e. the map + NetplayManager::read/write_player_game_states_message walk; callers FUN_0090c740 (x3) and + NetplayManager::read_player_game_states_message */ + +void std::map::try_emplace(undefined4 *param_1,uint *param_2) { int iVar1; @@ -782097,7 +783461,7 @@ void FUN_00916f70(undefined4 param_1,undefined4 param_2,undefined4 param_3,char iVar2 = PersistentGameDataWriter::compress(&local_14); (**(code **)(*in_ECX + 4))(0,0xffffffff,uVar1); if (((g_game == (Game *)0x0) || (g_game->_stage == 0)) || (param_4 != '\0')) { - FUN_00917030(param_1,param_2,iVar2,local_14); + write_new_game_to_stream(param_1,param_2,iVar2,local_14); } else { write_game_state_to_stream(param_1,iVar2,local_14); @@ -782111,9 +783475,14 @@ void FUN_00916f70(undefined4 param_1,undefined4 param_2,undefined4 param_3,char } -//@@ 00917030 FUN_00917030 +//@@ 00917030 write_new_game_to_stream -void FUN_00917030(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4) +/* DB: sibling of write_game_state_to_stream: FUN_00916f70 picks it when no game/stage 0/force; + writes msg byte 4, lobby member count + per-member (id 8 bytes, 4,1,4), seed via + Seeds::String2Seed or Random, seed effects, Steam user id */ + +void write_new_game_to_stream + (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4) { int *piVar1; @@ -782288,12 +783657,12 @@ void write_game_state_to_stream(undefined4 param_1,undefined4 param_2,uint param Game *pGStack_1fe48; undefined1 uStack_1fe42; undefined1 uStack_1fe41; - GameState aGStack_1fe40 [32652]; + GameState GStack_1fe40; void *local_10; undefined1 *puStack_c; - GameState local_8; + undefined4 local_8; - local_8 = (GameState)0xffffffff; + local_8 = 0xffffffff; puStack_c = &LAB_00b09dbd; local_10 = ExceptionList; ExceptionList = &local_10; @@ -782301,8 +783670,7 @@ void write_game_state_to_stream(undefined4 param_1,undefined4 param_2,uint param uStack_1fe74 = param_2; uStack_1fe42 = 5; uStack_1fe6c = in_EDX; - (**(code **)(*piVar1 + 0x1c)) - (&uStack_1fe42,1,1,__security_cookie ^ (uint)(aGStack_1fe40 + 0x7f8f)); + (**(code **)(*piVar1 + 0x1c))(&uStack_1fe42,1,1,__security_cookie ^ (int)register0x00000010 - 4U); pGStack_1fe48 = (Game *)g_manager[1]._state; (**(code **)(*piVar1 + 0x1c))(&pGStack_1fe48,4,1); pMVar3 = g_manager; @@ -782357,8 +783725,8 @@ void write_game_state_to_stream(undefined4 param_1,undefined4 param_2,uint param (int)(pGVar8->_playerManager)._playerList._begin >> 2)); } GameState::constructor(); - local_8 = (GameState)0x0; - Game::store_game_state(g_game,aGStack_1fe40); + local_8 = 0; + Game::store_game_state(g_game,&GStack_1fe40); KAGE::Filesys::BufferedStream::BufferedStream(0x80000); local_8._0_1_ = 1; pppuStack_1febc = &ppuStack_1fe78; @@ -782368,7 +783736,7 @@ void write_game_state_to_stream(undefined4 param_1,undefined4 param_2,uint param uStack_1feb0 = 0; uStack_1feac = 0; uStack_1fea8 = 0xfedcba76; - GameState::write(aGStack_1fe40,&pppuStack_1febc); + GameState::write(&GStack_1fe40,&pppuStack_1febc); iVar5 = operator_new_tracked(); pGStack_1fe48 = pGStack_1fe9c; iStack_1fe4c = iStack_1fe94; @@ -782423,7 +783791,7 @@ void write_game_state_to_stream(undefined4 param_1,undefined4 param_2,uint param uStack_1fe80 = 0; uStack_1fe7c = 0; FUN_007dcd30(); - local_8 = (GameState)0xffffffff; + local_8 = 0xffffffff; GameState::~GameState(); pGVar8 = g_game; pGStack_1fe48 = g_game; @@ -782511,11 +783879,15 @@ LAB_009178e4: } -//@@ 00917a50 FUN_00917a50 +//@@ 00917a50 NetplayManager::load_game_start_packet /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? called from the game-start notify FUN_0090ca40 ("[Frame %d] Notify Game Start"): reads a + stream (vfunc +0x14 read(buf,size,count)) into Manager _lobbyMembers + (UserProfile::find_or_create, load_steam_avatar), seeds (Seeds::set_start_seed, AddSeedEffect), + then NetplayManager::reset / MenuManager::start_game */ -void FUN_00917a50(void) +void NetplayManager::load_game_start_packet(void) { int *piVar1; @@ -782556,13 +783928,13 @@ void FUN_00917a50(void) uint local_14; void *local_10; undefined1 *puStack_c; - undefined4 local_8; + int local_8; pMVar4 = g_manager; local_8 = 0xffffffff; puStack_c = &LAB_00b09e13; local_10 = ExceptionList; - local_14 = __security_cookie ^ (int)register0x00000010 - 4U; + local_14 = __security_cookie ^ (uint)&(&local_74)[1]._rng._shift3; ExceptionList = &local_10; piVar1 = (int *)(in_ECX + 0x28); local_75 = 0; @@ -782675,9 +784047,10 @@ void FUN_00917a50(void) (**(code **)(*piVar1 + 0x14))(&local_7c,4,1); (**(code **)(*piVar1 + 8))(local_b8); FUN_0091ad50(); - local_74._rng = (RNG)0xaa17414f; - local_74._12_8_ = 0x900000005; - local_74._20_4_ = 7; + local_74._rng._seed = -0x55e8beb1; + local_74._rng._shift1 = 5; + local_74._rng._shift2 = 9; + local_74._rng._shift3 = 7; local_74._seedEffects = (void *)0x0; local_74._seedEffectsCount = 0; pvVar6 = (void *)operator_new(0x14); @@ -782699,7 +784072,7 @@ void FUN_00917a50(void) local_8 = 2; Seeds::set_start_seed(&local_74,local_88); local_74._isCustomRun = bVar11; - Seeds::operator_assign(&local_74); + Seeds::operator_assign(&g_manager->_startSeeds,&local_74); pMVar4 = g_manager; ppvVar9 = &(g_manager->_startSeeds)._seedEffects; pvVar6 = *ppvVar9; @@ -782717,7 +784090,7 @@ void FUN_00917a50(void) *(undefined4 *)&pMVar4[1]._persistentGameData.field_0xc = local_a4._4_4_; pMVar4->_rerunAvailable = 0; *(undefined4 *)&pMVar4[1]._persistentGameData.field_0x8 = (undefined4)local_a4; - NetplayManager::reset(0); + reset(0); if (g_menuManager == (MenuManager *)0x0) { g_manager->_starting = 1; } @@ -782787,23 +784160,29 @@ void FUN_009187f0(int param_1) } -//@@ 00918870 FUN_00918870 +//@@ 00918870 NetplayManager::write_player_game_states_message -void FUN_00918870(void) +/* DB: mirror of NetplayManager::read_player_game_states_message: walks the same std::map at + g_manager[1]+0x106c (u64 key, bytes at +0x18/+0x1c, four length-prefixed buffers at + +0x48/+0x7c/+0xb0/+0xe4) into a BufferedStream, tdefl-compresses (FUN_00a89de0) and writes + size+data */ + +void NetplayManager::write_player_game_states_message(void) { - qword qVar1; - Manager *pMVar2; - uint uVar3; - int iVar4; + int *piVar1; + qword qVar2; + Manager *pMVar3; + uint uVar4; int iVar5; int iVar6; int iVar7; - undefined4 uVar8; + int iVar8; + undefined4 uVar9; int extraout_ECX; undefined4 extraout_ECX_00; - qword *pqVar9; - uint uVar10; + qword *pqVar10; + uint uVar11; undefined4 local_54; int local_4c; int local_44; @@ -782819,117 +784198,119 @@ void FUN_00918870(void) undefined1 *puStack_c; undefined4 local_8; - pMVar2 = g_manager; + pMVar3 = g_manager; local_8 = 0xffffffff; puStack_c = &LAB_00b09e9d; local_10 = ExceptionList; - uVar3 = __security_cookie ^ (int)register0x00000010 - 4U; + uVar4 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; - uVar10 = 1; + uVar11 = 1; KAGE::Filesys::BufferedStream::BufferedStream(0); local_8 = 0; - local_18 = **(int **)&pMVar2[1].field_0x106c; - if ((int *)local_18 != *(int **)&pMVar2[1].field_0x106c) { + piVar1 = *(int **)&pMVar3[1]._gamestate.field_0xc8; + local_18 = *piVar1; + if ((int *)local_18 != piVar1) { do { - iVar7 = local_18; - iVar4 = (**(code **)(*(int *)(local_18 + 0x48) + 4))(uVar3); - iVar5 = (**(code **)(*(int *)(iVar7 + 0x7c) + 4))(); - iVar6 = (**(code **)(*(int *)(iVar7 + 0xb0) + 4))(); - iVar7 = (**(code **)(*(int *)(iVar7 + 0xe4) + 4))(); - uVar10 = uVar10 + iVar4 + iVar5 + iVar6 + 0x18 + iVar7; + iVar8 = local_18; + iVar5 = (**(code **)(*(int *)(local_18 + 0x48) + 4))(uVar4); + iVar6 = (**(code **)(*(int *)(iVar8 + 0x7c) + 4))(); + iVar7 = (**(code **)(*(int *)(iVar8 + 0xb0) + 4))(); + iVar8 = (**(code **)(*(int *)(iVar8 + 0xe4) + 4))(); + uVar11 = uVar11 + iVar5 + iVar6 + iVar7 + 0x18 + iVar8; std:: _Tree_unchecked_const_iterator_>,std::_Iterator_base0> ::operator++((_Tree_unchecked_const_iterator_>,std::_Iterator_base0> *)&local_18); - } while (local_18 != *(int *)&pMVar2[1].field_0x106c); + } while (local_18 != *(int *)&pMVar3[1]._gamestate.field_0xc8); } - if ((uint)(local_44 - local_4c) < uVar10) { - if (0x7fffffff < uVar10) { + if ((uint)(local_44 - local_4c) < uVar11) { + if (0x7fffffff < uVar11) { /* WARNING: Subroutine does not return */ std::_Xlen(); } - FUN_00a2c860(uVar10); + FUN_00a2c860(uVar11); } - local_11 = pMVar2[1].field_0x1070; + local_11 = pMVar3[1]._gamestate.field_0xcc; (**(code **)(local_30 + 0x1c))(&local_11,1,1); - local_18 = **(int **)&pMVar2[1].field_0x106c; - if ((int *)local_18 != *(int **)&pMVar2[1].field_0x106c) { + piVar1 = *(int **)&pMVar3[1]._gamestate.field_0xc8; + local_18 = *piVar1; + if ((int *)local_18 != piVar1) { do { - iVar7 = local_18; + iVar8 = local_18; local_2c = *(undefined4 *)(local_18 + 0x10); local_28 = *(undefined4 *)(local_18 + 0x14); (**(code **)(local_30 + 0x1c))(&local_2c,8,1); - local_11 = *(undefined1 *)(iVar7 + 0x18); + local_11 = *(undefined1 *)(iVar8 + 0x18); (**(code **)(local_30 + 0x1c))(&local_11,1,1); - local_11 = *(undefined1 *)(iVar7 + 0x1c); + local_11 = *(undefined1 *)(iVar8 + 0x1c); (**(code **)(local_30 + 0x1c))(&local_11,1,1); - uVar3 = (**(code **)(*(int *)(iVar7 + 0x48) + 4))(); - local_1c = (undefined4 *)(uVar3 & 0xffff); + uVar4 = (**(code **)(*(int *)(iVar8 + 0x48) + 4))(); + local_1c = (undefined4 *)(uVar4 & 0xffff); (**(code **)(local_30 + 0x1c))(&local_1c,2,1); - iVar4 = (**(code **)(*(int *)(iVar7 + 0x48) + 4))(); - if (iVar4 != 0) { - uVar8 = (**(code **)(*(int *)(iVar7 + 0x48) + 4))(); - iVar4 = *(int *)(iVar7 + 0x38); - if (iVar4 == 0) { - iVar4 = *(int *)(iVar7 + 0x2c); + iVar5 = (**(code **)(*(int *)(iVar8 + 0x48) + 4))(); + if (iVar5 != 0) { + uVar9 = (**(code **)(*(int *)(iVar8 + 0x48) + 4))(); + iVar5 = *(int *)(iVar8 + 0x38); + if (iVar5 == 0) { + iVar5 = *(int *)(iVar8 + 0x2c); } - buffered_stream_write(iVar4,1,uVar8); + buffered_stream_write(iVar5,1,uVar9); } - local_11 = *(undefined1 *)(iVar7 + 0x4c); + local_11 = *(undefined1 *)(iVar8 + 0x4c); (**(code **)(local_30 + 0x1c))(&local_11,1,1); - local_11 = *(undefined1 *)(iVar7 + 0x50); + local_11 = *(undefined1 *)(iVar8 + 0x50); (**(code **)(local_30 + 0x1c))(&local_11,1,1); - uVar3 = (**(code **)(*(int *)(iVar7 + 0x7c) + 4))(); - local_1c = (undefined4 *)(uVar3 & 0xffff); + uVar4 = (**(code **)(*(int *)(iVar8 + 0x7c) + 4))(); + local_1c = (undefined4 *)(uVar4 & 0xffff); (**(code **)(local_30 + 0x1c))(&local_1c,2,1); - iVar4 = (**(code **)(*(int *)(iVar7 + 0x7c) + 4))(); - if (iVar4 != 0) { - uVar8 = (**(code **)(*(int *)(iVar7 + 0x7c) + 4))(); - iVar4 = *(int *)(iVar7 + 0x6c); - if (iVar4 == 0) { - iVar4 = *(int *)(iVar7 + 0x60); + iVar5 = (**(code **)(*(int *)(iVar8 + 0x7c) + 4))(); + if (iVar5 != 0) { + uVar9 = (**(code **)(*(int *)(iVar8 + 0x7c) + 4))(); + iVar5 = *(int *)(iVar8 + 0x6c); + if (iVar5 == 0) { + iVar5 = *(int *)(iVar8 + 0x60); } - buffered_stream_write(iVar4,1,uVar8); + buffered_stream_write(iVar5,1,uVar9); } - local_11 = *(undefined1 *)(iVar7 + 0x80); + local_11 = *(undefined1 *)(iVar8 + 0x80); (**(code **)(local_30 + 0x1c))(&local_11,1,1); - local_11 = *(undefined1 *)(iVar7 + 0x84); + local_11 = *(undefined1 *)(iVar8 + 0x84); (**(code **)(local_30 + 0x1c))(&local_11,1,1); - uVar3 = (**(code **)(*(int *)(iVar7 + 0xb0) + 4))(); - local_1c = (undefined4 *)(uVar3 & 0xffff); + uVar4 = (**(code **)(*(int *)(iVar8 + 0xb0) + 4))(); + local_1c = (undefined4 *)(uVar4 & 0xffff); (**(code **)(local_30 + 0x1c))(&local_1c,2,1); - iVar4 = (**(code **)(*(int *)(iVar7 + 0xb0) + 4))(); - if (iVar4 != 0) { - uVar8 = (**(code **)(*(int *)(iVar7 + 0xb0) + 4))(); - iVar4 = *(int *)(iVar7 + 0xa0); - if (iVar4 == 0) { - iVar4 = *(int *)(iVar7 + 0x94); + iVar5 = (**(code **)(*(int *)(iVar8 + 0xb0) + 4))(); + if (iVar5 != 0) { + uVar9 = (**(code **)(*(int *)(iVar8 + 0xb0) + 4))(); + iVar5 = *(int *)(iVar8 + 0xa0); + if (iVar5 == 0) { + iVar5 = *(int *)(iVar8 + 0x94); } - buffered_stream_write(iVar4,1,uVar8); + buffered_stream_write(iVar5,1,uVar9); } - local_11 = *(undefined1 *)(iVar7 + 0xb4); + local_11 = *(undefined1 *)(iVar8 + 0xb4); (**(code **)(local_30 + 0x1c))(&local_11,1,1); - local_11 = *(undefined1 *)(iVar7 + 0xb8); + local_11 = *(undefined1 *)(iVar8 + 0xb8); (**(code **)(local_30 + 0x1c))(&local_11,1,1); - uVar3 = (**(code **)(*(int *)(iVar7 + 0xe4) + 4))(); - local_1c = (undefined4 *)(uVar3 & 0xffff); + uVar4 = (**(code **)(*(int *)(iVar8 + 0xe4) + 4))(); + local_1c = (undefined4 *)(uVar4 & 0xffff); (**(code **)(local_30 + 0x1c))(&local_1c,2,1); - iVar4 = (**(code **)(*(int *)(iVar7 + 0xe4) + 4))(); - if (iVar4 != 0) { - uVar8 = (**(code **)(*(int *)(iVar7 + 0xe4) + 4))(); - iVar4 = *(int *)(iVar7 + 0xd4); - if (iVar4 == 0) { - iVar4 = *(int *)(iVar7 + 200); + iVar5 = (**(code **)(*(int *)(iVar8 + 0xe4) + 4))(); + if (iVar5 != 0) { + uVar9 = (**(code **)(*(int *)(iVar8 + 0xe4) + 4))(); + iVar5 = *(int *)(iVar8 + 0xd4); + if (iVar5 == 0) { + iVar5 = *(int *)(iVar8 + 200); } - buffered_stream_write(iVar4,1,uVar8); + buffered_stream_write(iVar5,1,uVar9); } std:: _Tree_unchecked_const_iterator_>,std::_Iterator_base0> ::operator++((_Tree_unchecked_const_iterator_>,std::_Iterator_base0> *)&local_18); - } while (local_18 != *(int *)&pMVar2[1].field_0x106c); + } while (local_18 != *(int *)&pMVar3[1]._gamestate.field_0xc8); } - iVar7 = operator_new_tracked(); + iVar8 = operator_new_tracked(); if (local_40 != 0) { local_4c = local_40; } @@ -782947,24 +784328,24 @@ void FUN_00918870(void) local_40 = extraout_ECX; } FUN_00a89ba0(local_40); - uVar8 = FUN_00a89de0(iVar7,local_54,local_4c,local_54,extraout_ECX_00); + uVar9 = tdefl_compress(iVar8,local_54,local_4c,local_54,extraout_ECX_00); (**(code **)(*local_20 + 4))(0,0xffffffff); local_11 = 7; (**(code **)(local_20[10] + 0x1c))(&local_11,1,1); (**(code **)(local_20[10] + 0x1c))(&local_20,4,1); - (**(code **)(local_20[10] + 0x1c))(iVar7,1,uVar8); - if (iVar7 != 0) { + (**(code **)(local_20[10] + 0x1c))(iVar8,1,uVar9); + if (iVar8 != 0) { if (g_mainHeap == (void *)0x0) { - pqVar9 = &g_allocatedBytesNoHeap; + pqVar10 = &g_allocatedBytesNoHeap; } else { - pqVar9 = (qword *)((int)g_mainHeap + 0x30); + pqVar10 = (qword *)((int)g_mainHeap + 0x30); } - uVar3 = *(uint *)(iVar7 + -4); - qVar1 = *pqVar9; - *(uint *)pqVar9 = (uint)*pqVar9 - uVar3; - *(uint *)((int)pqVar9 + 4) = *(uint *)((int)pqVar9 + 4) - (uint)((uint)qVar1 < uVar3); - free((void *)(iVar7 + -4)); + uVar4 = *(uint *)(iVar8 + -4); + qVar2 = *pqVar10; + *(uint *)pqVar10 = (uint)*pqVar10 - uVar4; + *(uint *)((int)pqVar10 + 4) = *(uint *)((int)pqVar10 + 4) - (uint)((uint)qVar2 < uVar4); + free((void *)(iVar8 + -4)); } FUN_007dcd30(); ExceptionList = local_10; @@ -783058,14 +784439,14 @@ void __thiscall NetplayManager::read_player_game_states_message(NetplayManager * memory_stream_read(&local_11,1,1); pMVar2 = local_28; uVar8 = (uint)local_11; - local_28 = (Manager *)&local_28[1].field_0x106c; + local_28 = (Manager *)&local_28[1]._gamestate.field_0xc8; iVar4 = *(int *)local_28; local_20 = uVar8; std::map::destroy_subtree(local_28,*(undefined4 *)(iVar4 + 4)); *(int *)(iVar4 + 4) = iVar4; *(int *)iVar4 = iVar4; *(int *)(iVar4 + 8) = iVar4; - *(undefined4 *)&pMVar2[1].field_0x1070 = 0; + *(undefined4 *)&pMVar2[1]._gamestate.field_0xcc = 0; pcVar10 = free_exref; do { if (uVar8 == 0) { @@ -783263,7 +784644,7 @@ void FUN_009193b0(void) uint shared_save_write(void) { - Manager *pMVar1; + undefined1 *puVar1; Manager *pMVar2; Game *pGVar3; int iVar4; @@ -783275,7 +784656,7 @@ uint shared_save_write(void) int *local_2064; undefined1 local_205d; uint local_205c; - undefined1 local_2058 [3984]; + PersistentGameData local_2058; undefined1 local_10c8 [4]; undefined4 *local_10c4; undefined1 auStack_5e0 [1192]; @@ -783352,16 +784733,16 @@ uint shared_save_write(void) uVar5 = CONCAT31((int3)((uint)ExceptionList >> 8),1); } else { - pMVar1 = g_manager + 1; + puVar1 = &g_manager[1]._gamestate.field_0x70; pGVar3 = (Game *)FUN_0091b510(local_24); if ((char)pGVar3 != '\0') { - iVar4 = (**(code **)(*(int *)&pMVar2[1].field_0x105c + 4))(); + iVar4 = (**(code **)(*(int *)&pMVar2[1]._gamestate.field_0xb8 + 4))(); pGVar3 = (Game *)0x0; if ((iVar4 != 0) && ((g_game == (Game *)0x0 || (pGVar3 = g_game, *(int *)&g_game->_deathmatchManager < 2)))) { - PersistentGameData::constructor((PersistentGameData *)local_2058); + PersistentGameData::constructor(&local_2058); local_14 = 0; - PersistentGameDataReader::read(local_2058); + PersistentGameDataReader::read(&local_2058); pMVar2 = g_manager; PersistentGameData::copy_shared_progress(); PersistentGameData::copy_constructor(&pMVar2->_persistentGameData); @@ -783393,9 +784774,9 @@ uint shared_save_write(void) if (((*(char *)(local_28 + 0xd) != '\0') || (local_2064 < *(uint *)(local_28 + 0x14))) || ((local_2064 <= *(uint *)(local_28 + 0x14) && (local_205c < *(uint *)(local_28 + 0x10)))) ) { - local_28 = *(int *)&pMVar2[1].field_0x1064; + local_28 = *(int *)&pMVar2[1]._gamestate.field_0xc0; } - if (local_28 != *(int *)&pMVar2[1].field_0x1064) { + if (local_28 != *(int *)&pMVar2[1]._gamestate.field_0xc0) { FUN_00914150(&local_2070); } PersistentGameData::copy_shared_progress(); @@ -783426,8 +784807,8 @@ uint shared_save_write(void) uStack_98 = 0; uStack_94 = 0; local_14 = CONCAT31(local_14._1_3_,6); - PersistentGameDataWriter::write(local_2058,&pMVar1->field_0x1014); - PersistentGameDataWriter::write(local_10c8,&pMVar1->field_0x1014); + PersistentGameDataWriter::write(&local_2058,puVar1); + PersistentGameDataWriter::write(local_10c8,puVar1); sprintf(local_5c,"sharedsave%d.dat",g_manager->_currentSaveSlot); piVar6 = (int *)SaveDataManager::open_file_write(local_5c,0); local_2064 = piVar6; @@ -783495,8 +784876,8 @@ uint shared_save_write(void) std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); local_14 = 8; - if ((undefined4 *)local_2058._4_4_ != (undefined4 *)0x0) { - (*(code *)**(undefined4 **)local_2058._4_4_)(1); + if (local_2058._saveFile != (undefined4 *)0x0) { + (*(code *)**(undefined4 **)local_2058._saveFile)(1); } PersistentGameData_Bestiary::~PersistentGameData_Bestiary(); std::string::_Tidy_deallocate(); @@ -783528,16 +784909,19 @@ void Menu_Save::load_slot_data(void) byte *pbVar6; int iVar7; char *pcVar8; - int *piVar9; - byte bVar10; - char cVar11; + char *pcVar9; + int iVar10; + int *piVar11; + byte bVar12; + char cVar13; undefined4 extraout_ECX; - uint uVar12; - undefined1 *puVar13; - PersistentGameData *pPVar14; + uint uVar14; int iVar15; - char *pcVar16; + PersistentGameData *pPVar16; int iVar17; + int iVar18; + byte *pbVar19; + int iVar20; int *local_2ffc; int *local_2ff8; int local_2ff4; @@ -783545,8 +784929,7 @@ void Menu_Save::load_slot_data(void) byte local_2fea; char local_2fe9 [3985]; PersistentGameData local_2058; - undefined1 local_10c8 [3948]; - int *local_15c; + PersistentGameData local_10c8; undefined4 local_138; undefined4 uStack_134; undefined4 uStack_130; @@ -783654,9 +785037,9 @@ LAB_00919b8b: (**(code **)(*piVar4 + 0x14))(local_2ff4,1,pPVar2); local_2ff0 = (PersistentGameData *)0x0; (**(code **)(*piVar4 + 0x14))(&local_2ff0,4,1); - pPVar14 = local_2ff0; + pPVar16 = local_2ff0; local_2ff0 = (PersistentGameData *)operator_new_tracked(); - (**(code **)(*piVar4 + 0x14))(local_2ff0,1,pPVar14); + (**(code **)(*piVar4 + 0x14))(local_2ff0,1,pPVar16); (**(code **)*piVar4)(1); KAGE::Filesys::BufferedStream::BufferedStream(0); local_14 = 0; @@ -783700,8 +785083,8 @@ LAB_00919b8b: pPVar2 = local_2ff0; iStack_80 = 0; local_78 = 0; - pPStack_84 = pPVar14; - local_88 = pPVar14; + pPStack_84 = pPVar16; + local_88 = pPVar16; pPStack_74 = local_2ff0; local_68 = 0; iStack_6c = 0; @@ -783715,27 +785098,27 @@ LAB_00919b8b: FUN_00a58200(); if (1 < local_2fea) { local_a8 = local_c4 - 0x20; - uVar12 = local_b8 - local_bc; + uVar14 = local_b8 - local_bc; if (local_b0 != 0) { - uVar12 = local_c4; + uVar14 = local_c4; } - if ((local_a8 < local_a4) || (uVar12 < local_a8 - local_a4)) { + if ((local_a8 < local_a4) || (uVar14 < local_a8 - local_a4)) { KAGE::Filesys::BufferedStream::rebuffer(); } local_ac = local_a8 - local_a4; memory_stream_read(&local_e8,8,4); } pMVar1 = g_manager; - pPVar14 = &g_manager->_persistentGameData; - local_2ff0 = pPVar14; - PersistentGameData::copy_constructor(pPVar14); + pPVar16 = &g_manager->_persistentGameData; + local_2ff0 = pPVar16; + PersistentGameData::copy_constructor(pPVar16); local_14._0_1_ = 6; PersistentGameData::constructor(&local_2058); local_14._0_1_ = 7; - PersistentGameData::constructor((PersistentGameData *)local_10c8); + PersistentGameData::constructor(&local_10c8); local_14._0_1_ = 8; PersistentGameDataReader::read(&local_2058); - PersistentGameDataReader::read(local_10c8); + PersistentGameDataReader::read(&local_10c8); if (local_2ff4 != 0) { local_14._0_1_ = 9; tracked_alloc(0,0); @@ -783748,251 +785131,253 @@ LAB_00919b8b: } Manager::SetSaveSlot(g_manager,g_manager->_currentSaveSlot); local_2ff4 = 0x6b; + iVar18 = (int)&local_10c8 + (1 - (int)pPVar16); pbVar6 = (pMVar1->_persistentGameData)._achievements + 1; - puVar13 = local_10c8 + -(int)pPVar14; - pcVar16 = local_10c8 + 0x38; + iVar15 = (int)&local_10c8 - (int)pPVar16; + iVar10 = (int)&local_10c8 + (2 - (int)pPVar16); + pbVar19 = local_10c8._achievements; do { - if ((pbVar6[-1] == 0) && (*pcVar16 == '\0')) { - bVar10 = 0; + if ((pbVar6[-1] == 0) && (*pbVar19 == 0)) { + bVar12 = 0; } else { - bVar10 = 1; + bVar12 = 1; } - pbVar6[-1] = bVar10; - if ((*pbVar6 == 0) && (pbVar6[(int)puVar13] == 0)) { - bVar10 = 0; + pbVar6[-1] = bVar12; + if ((*pbVar6 == 0) && (pbVar6[iVar15] == 0)) { + bVar12 = 0; } else { - bVar10 = 1; + bVar12 = 1; } - *pbVar6 = bVar10; - if ((pbVar6[1] == 0) && (pbVar6[(int)(local_10c8 + (1 - (int)pPVar14))] == 0)) { - bVar10 = 0; + *pbVar6 = bVar12; + if ((pbVar6[1] == 0) && (pbVar6[iVar18] == 0)) { + bVar12 = 0; } else { - bVar10 = 1; + bVar12 = 1; } - pbVar6[1] = bVar10; - if ((pbVar6[2] == 0) && (pbVar6[(int)(local_10c8 + (2 - (int)pPVar14))] == 0)) { - bVar10 = 0; + pbVar6[1] = bVar12; + if ((pbVar6[2] == 0) && (pbVar6[iVar10] == 0)) { + bVar12 = 0; } else { - bVar10 = 1; + bVar12 = 1; } - pbVar6[2] = bVar10; - if ((pbVar6[3] == 0) && (pbVar6[(int)(local_10c8 + (3 - (int)pPVar14))] == 0)) { - bVar10 = 0; + pbVar6[2] = bVar12; + if ((pbVar6[3] == 0) && (pbVar6[(int)&local_10c8 + (3 - (int)pPVar16)] == 0)) { + bVar12 = 0; } else { - bVar10 = 1; + bVar12 = 1; } - pbVar6[3] = bVar10; - if ((pbVar6[4] == 0) && (pbVar6[(int)(local_10c8 + (4 - (int)pPVar14))] == 0)) { - bVar10 = 0; + pbVar6[3] = bVar12; + if ((pbVar6[4] == 0) && (pbVar6[(int)&local_10c8 + (4 - (int)pPVar16)] == 0)) { + bVar12 = 0; } else { - bVar10 = 1; + bVar12 = 1; } - pbVar6[4] = bVar10; - pcVar16 = pcVar16 + 6; + pbVar6[4] = bVar12; + pbVar19 = pbVar19 + 6; pbVar6 = pbVar6 + 6; local_2ff4 = local_2ff4 + -1; } while (local_2ff4 != 0); - iVar17 = (int)&local_2058 - (int)local_2ff0; + iVar20 = (int)&local_2058 - (int)local_2ff0; piVar4 = local_2ff0->_eventCounters; - iVar15 = 0x20b; + iVar17 = 0x20b; do { - iVar7 = *(int *)((int)piVar4 + (int)puVar13) - *(int *)(iVar17 + (int)piVar4); + iVar7 = *(int *)((int)piVar4 + iVar15) - *(int *)(iVar20 + (int)piVar4); if (iVar7 < 0) { iVar7 = 0; } *piVar4 = *piVar4 + iVar7; piVar4 = piVar4 + 1; - iVar15 = iVar15 + -1; - } while (iVar15 != 0); + iVar17 = iVar17 + -1; + } while (iVar17 != 0); local_2ff4 = 0x2dd; - pcVar16 = &local_2ff0->field_0xae8; + pcVar8 = &local_2ff0->field_0xae8; do { - if ((*pcVar16 == '\0') && (pcVar16[(int)puVar13] == '\0')) { - cVar11 = '\0'; + if ((*pcVar8 == '\0') && (pcVar8[iVar15] == '\0')) { + cVar13 = '\0'; } else { - cVar11 = '\x01'; + cVar13 = '\x01'; } - *pcVar16 = cVar11; - pcVar16 = pcVar16 + 1; + *pcVar8 = cVar13; + pcVar8 = pcVar8 + 1; local_2ff4 = local_2ff4 + -1; } while (local_2ff4 != 0); piVar4 = (int *)&local_2ff0->field_0xdc8; - iVar15 = 0xe; + iVar17 = 0xe; do { - iVar7 = *(int *)((int)piVar4 + (int)puVar13) - *(int *)((int)piVar4 + iVar17); + iVar7 = *(int *)((int)piVar4 + iVar15) - *(int *)((int)piVar4 + iVar20); if (iVar7 < 0) { iVar7 = 0; } *piVar4 = *piVar4 + iVar7; piVar4 = piVar4 + 1; - iVar15 = iVar15 + -1; - } while (iVar15 != 0); - if ((local_2ff0->field_0xe00 == '\0') && (local_10c8[0xe00] == '\0')) { + iVar17 = iVar17 + -1; + } while (iVar17 != 0); + if ((local_2ff0->field_0xe00 == '\0') && (local_10c8._3584_1_ == '\0')) { uVar3 = 0; } else { uVar3 = 1; } local_2ff0->field_0xe00 = uVar3; - if ((local_2ff0->field_0xe01 == '\0') && (local_10c8[0xe01] == '\0')) { + if ((local_2ff0->field_0xe01 == '\0') && (local_10c8._3585_1_ == '\0')) { uVar3 = 0; } else { uVar3 = 1; } local_2ff0->field_0xe01 = uVar3; - if ((local_2ff0->field_0xe02 == '\0') && (local_10c8[0xe02] == '\0')) { + if ((local_2ff0->field_0xe02 == '\0') && (local_10c8._3586_1_ == '\0')) { uVar3 = 0; } else { uVar3 = 1; } local_2ff0->field_0xe02 = uVar3; - if ((local_2ff0->field_0xe03 == '\0') && (local_10c8[0xe03] == '\0')) { + if ((local_2ff0->field_0xe03 == '\0') && (local_10c8._3587_1_ == '\0')) { uVar3 = 0; } else { uVar3 = 1; } local_2ff0->field_0xe03 = uVar3; - if ((local_2ff0->field_0xe04 == '\0') && (local_10c8[0xe04] == '\0')) { + if ((local_2ff0->field_0xe04 == '\0') && (local_10c8._3588_1_ == '\0')) { uVar3 = 0; } else { uVar3 = 1; } local_2ff0->field_0xe04 = uVar3; - if ((local_2ff0->field_0xe05 == '\0') && (local_10c8[0xe05] == '\0')) { + if ((local_2ff0->field_0xe05 == '\0') && (local_10c8._3589_1_ == '\0')) { uVar3 = 0; } else { uVar3 = 1; } local_2ff0->field_0xe05 = uVar3; - if ((local_2ff0->field_0xe06 == '\0') && (local_10c8[0xe06] == '\0')) { + if ((local_2ff0->field_0xe06 == '\0') && (local_10c8._3590_1_ == '\0')) { uVar3 = 0; } else { uVar3 = 1; } local_2ff0->field_0xe06 = uVar3; - pcVar16 = local_10c8 + 0xe07; - pcVar8 = &local_2ff0->field_0xe08; + pcVar8 = &local_10c8.field_0xe07; + pcVar9 = &local_2ff0->field_0xe08; local_2ff4 = 0x1a; do { - if ((pcVar8[-1] == '\0') && (*pcVar16 == '\0')) { - cVar11 = '\0'; + if ((pcVar9[-1] == '\0') && (*pcVar8 == '\0')) { + cVar13 = '\0'; } else { - cVar11 = '\x01'; + cVar13 = '\x01'; } - pcVar8[-1] = cVar11; - if ((*pcVar8 == '\0') && (pcVar8[(int)puVar13] == '\0')) { - cVar11 = '\0'; + pcVar9[-1] = cVar13; + if ((*pcVar9 == '\0') && (pcVar9[iVar15] == '\0')) { + cVar13 = '\0'; } else { - cVar11 = '\x01'; + cVar13 = '\x01'; } - *pcVar8 = cVar11; - if ((pcVar8[1] == '\0') && (pcVar8[(int)(local_10c8 + (1 - (int)pPVar14))] == '\0')) { - cVar11 = '\0'; + *pcVar9 = cVar13; + if ((pcVar9[1] == '\0') && (pcVar9[iVar18] == '\0')) { + cVar13 = '\0'; } else { - cVar11 = '\x01'; + cVar13 = '\x01'; } - pcVar8[1] = cVar11; - if ((pcVar8[2] == '\0') && (pcVar8[(int)(local_10c8 + (2 - (int)pPVar14))] == '\0')) { - cVar11 = '\0'; + pcVar9[1] = cVar13; + if ((pcVar9[2] == '\0') && (pcVar9[iVar10] == '\0')) { + cVar13 = '\0'; } else { - cVar11 = '\x01'; + cVar13 = '\x01'; } - pcVar8[2] = cVar11; - pcVar16 = pcVar16 + 4; + pcVar9[2] = cVar13; pcVar8 = pcVar8 + 4; + pcVar9 = pcVar9 + 4; local_2ff4 = local_2ff4 + -1; } while (local_2ff4 != 0); - iVar15 = 0x1b; + iVar18 = 0x1b; piVar4 = local_2ff0->_cutsceneCounters; do { - iVar7 = *(int *)((int)piVar4 + (int)puVar13) - *(int *)((int)piVar4 + iVar17); + iVar10 = *(int *)((int)piVar4 + iVar15) - *(int *)((int)piVar4 + iVar20); local_2ff8 = (int *)0x0; - if (iVar7 < 0) { - iVar7 = 0; + if (iVar10 < 0) { + iVar10 = 0; } - *piVar4 = *piVar4 + iVar7; - iVar15 = iVar15 + -1; + *piVar4 = *piVar4 + iVar10; + iVar18 = iVar18 + -1; piVar4 = piVar4 + 1; - } while (iVar15 != 0); - pcVar16 = local_10c8 + 0xe6f; - iVar15 = 0x17; - pcVar8 = &local_2ff0->field_0xe70; + } while (iVar18 != 0); + pcVar8 = &local_10c8.field_0xe6f; + iVar18 = 0x17; + pcVar9 = &local_2ff0->field_0xe70; do { - if ((pcVar8[-1] != '\0') || (local_2fea = '\0', *pcVar16 != '\0')) { + if ((pcVar9[-1] != '\0') || (local_2fea = '\0', *pcVar8 != '\0')) { local_2fea = '\x01'; } - pcVar8[-1] = local_2fea; - if ((*pcVar8 != '\0') || (local_2fea = '\0', pcVar8[(int)puVar13] != '\0')) { + pcVar9[-1] = local_2fea; + if ((*pcVar9 != '\0') || (local_2fea = '\0', pcVar9[iVar15] != '\0')) { local_2fea = '\x01'; } - pcVar16 = pcVar16 + 2; - *pcVar8 = local_2fea; pcVar8 = pcVar8 + 2; - iVar15 = iVar15 + -1; - } while (iVar15 != 0); - local_2ffc = *(int **)local_10c8._3940_4_; + *pcVar9 = local_2fea; + pcVar9 = pcVar9 + 2; + iVar18 = iVar18 + -1; + } while (iVar18 != 0); + local_2ffc = *(int **)local_10c8._bestiaryEncounters._head; local_2ff4 = 0; - if (local_2ffc != (int *)local_10c8._3940_4_) { + if (local_2ffc != local_10c8._bestiaryEncounters._head) { do { piVar4 = local_2ffc + 4; local_2ff8 = piVar4; - piVar9 = (int *)std::map::operator_index(piVar4); - iVar15 = *piVar9; + piVar11 = (int *)std::map::operator_index(piVar4); + iVar18 = *piVar11; piVar4 = (int *)std::map::operator_index(piVar4); - iVar17 = *piVar4; + iVar10 = *piVar4; piVar4 = (int *)std::map::operator_index(local_2ff8); - iVar17 = iVar17 - iVar15; - if (iVar17 < 0) { - iVar17 = 0; + iVar10 = iVar10 - iVar18; + if (iVar10 < 0) { + iVar10 = 0; } - *piVar4 = *piVar4 + iVar17; + *piVar4 = *piVar4 + iVar10; std:: _Tree_unchecked_const_iterator_>,std::_Iterator_base0> ::operator++((_Tree_unchecked_const_iterator_>,std::_Iterator_base0> *)&local_2ffc); - } while (local_2ffc != (int *)local_10c8._3940_4_); + } while (local_2ffc != local_10c8._bestiaryEncounters._head); } - local_2ffc = (int *)*local_15c; - if (local_2ffc != local_15c) { + local_2ffc = *(int **)local_10c8._bestiaryKills._head; + if (local_2ffc != local_10c8._bestiaryKills._head) { do { piVar4 = local_2ffc + 4; local_2ff8 = piVar4; - piVar9 = (int *)std::map::operator_index(piVar4); - iVar15 = *piVar9; + piVar11 = (int *)std::map::operator_index(piVar4); + iVar18 = *piVar11; piVar4 = (int *)std::map::operator_index(piVar4); - iVar17 = *piVar4; + iVar10 = *piVar4; piVar4 = (int *)std::map::operator_index(local_2ff8); - iVar17 = iVar17 - iVar15; - if (iVar17 < 0) { - iVar17 = 0; + iVar10 = iVar10 - iVar18; + if (iVar10 < 0) { + iVar10 = 0; } - *piVar4 = *piVar4 + iVar17; + *piVar4 = *piVar4 + iVar10; std:: _Tree_unchecked_const_iterator_>,std::_Iterator_base0> ::operator++((_Tree_unchecked_const_iterator_>,std::_Iterator_base0> *)&local_2ffc); - } while (local_2ffc != local_15c); + } while (local_2ffc != local_10c8._bestiaryKills._head); } /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"Merging eden coins: pdTokens = %d, shareStart = %d, shareEnd = %d \n", - local_2ff0->_eventCounters[0x15],local_10c8._784_4_, + local_2ff0->_eventCounters[0x15],local_10c8._eventCounters[0x15], local_2058._eventCounters[0x15]); } @@ -784627,7 +786012,7 @@ undefined4 PersistentGameDataWriter::compress(undefined4 *param_1) uVar3 = extraout_ECX_00; } FUN_00a89ba0(uVar3); - uVar1 = FUN_00a89de0(uVar2,uVar1,iVar4,uVar1,extraout_ECX_01); + uVar1 = tdefl_compress(uVar2,uVar1,iVar4,uVar1,extraout_ECX_01); *param_1 = uVar1; return uVar2; } @@ -786897,7 +788282,7 @@ LAB_0091d341: } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; iVar5 = in_ECX[2]; iVar6 = *in_ECX; if (iVar5 == 0) { @@ -787328,7 +788713,7 @@ LAB_0091df60: } while (local_ac != (int *)*local_90); } if (((((g_manager->_optionsConfig)._onlineChatEnabled == 0) || - (*(int *)&g_game->_pauseScreen != 0)) || (g_game->_console != (Console)0x0)) || + ((g_game->_pauseScreen)._state != 0)) || (g_game->_console != (Console)0x0)) || (g_game->_emoteMenuState != 0)) { piVar11 = local_90; } @@ -788382,7 +789767,7 @@ void OnlineChat::apply_roll_command(char *param_1) std::string::push_back(iVar6 % 6 + 1); iVar6 = iVar6 % 6 + 0x16; } - *(int *)&g_manager[1].field_0x18d0 = iVar6; + *(int *)&g_manager[1]._gamestate.field_0x92c = iVar6; uVar8 = local_1c; pppppppcVar5 = local_30[0]; LAB_0091f723: @@ -788404,11 +789789,14 @@ LAB_0091f723: } -//@@ 0091f780 FUN_0091f780 +//@@ 0091f780 NetplayManager::load_mute_list /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ECX=NetplayManager (only caller NetplayManager::Init): "%s/mute_list.txt" in g_userDataDir, + clears the u64 set +0x620, SaveDataManager::open_file_read, reads lines, stoull ("invalid stoull + argument") into the set (map_u64_bool_subscript) */ -void FUN_0091f780(void) +void NetplayManager::load_mute_list(void) { char *pcVar1; @@ -789464,46 +790852,50 @@ LAB_00920918: void __thiscall NightmareScene::Render(NightmareScene *this) { - byte *pbVar1; - int iVar2; - NightmareScene NVar3; + undefined4 uVar1; + undefined4 uVar2; + undefined4 uVar3; float fVar4; undefined1 *puVar5; byte bVar6; LayerState *pLVar7; int iVar8; float *pfVar9; - NightmareScene NVar10; + int iVar10; ChallengeParam *pCVar11; - NightmareScene NVar12; - uint uVar13; - float fVar14; - undefined4 *puVar15; - char *pcVar16; + float fVar12; + byte *pbVar13; + uint uVar14; + byte *pbVar15; + Game *pGVar16; + float fVar17; + undefined4 *puVar18; + char *pcVar19; undefined4 extraout_ECX; - bool bVar17; - NightmareScene NVar18; - float fVar19; + int iVar20; + bool bVar21; + Game *pGVar22; + ANM2 *animation; undefined1 local_100 [44]; float local_d4; float local_c0; float local_ac; float local_98; - NightmareScene *local_8c; + undefined1 *local_8c; Vector local_88; - NightmareScene local_80; - NightmareScene local_7c; + Game *local_80; + Game *local_7c; uint local_78; - NightmareScene local_74; - NightmareScene local_70; - NightmareScene local_6c; + Game *local_74; + float local_70; + Game *local_6c; char local_65; - NightmareScene local_64; + Game *local_64; undefined1 *local_60; - NightmareScene local_5c; - NightmareScene local_58; + int *local_5c; + float local_58; Vector local_54; - NightmareScene aNStack_4c [5]; + int aiStack_4c [5]; undefined4 local_38; undefined4 local_34; undefined4 local_30; @@ -789511,90 +790903,90 @@ void __thiscall NightmareScene::Render(NightmareScene *this) undefined4 local_28; undefined4 uStack_24; undefined4 uStack_20; - NightmareScene NStack_1c; + undefined4 uStack_1c; uint local_18; - NightmareScene local_14; + uint local_14; - local_14 = (NightmareScene)(__security_cookie ^ (uint)(aNStack_4c + 0xf)); + local_14 = __security_cookie ^ (uint)(aiStack_4c + 0xf); if ((g_game->_difficulty == 2) || (local_65 = '\0', g_game->_difficulty == 3)) { local_65 = '\x01'; } RenderTarget::Clear(); - if (*this == (NightmareScene)0x0) { + if (*(int *)this == 0) { return; } - local_74 = this[0x15]; - if ((local_74 != (NightmareScene)0x0) && (local_78 = 0, *(int *)((int)local_74 + 0x1c) != 0)) { - local_58 = (NightmareScene)0x0; + local_74 = *(Game **)&this->field_0x54; + if ((local_74 != (Game *)0x0) && (local_78 = 0, local_74->_roomList[0].ListIndex != 0)) { + local_58 = 0.0; do { - pbVar1 = *(byte **)((int)local_58 + *(int *)((int)local_74 + 0x18)); - local_60 = (undefined1 *)AnimationState::GetLayerFrame(pbVar1); - pLVar7 = ANM2::GetLayer((ANM2 *)(this + 8),pbVar1); + pbVar13 = *(byte **)((int)local_58 + local_74->_roomList[0].SafeGridIndex); + local_60 = (undefined1 *)AnimationState::GetLayerFrame(pbVar13); + pLVar7 = ANM2::GetLayer((ANM2 *)&this->field_0x20,pbVar13); if (((pLVar7->_visible != 0) && (local_60 != (undefined1 *)0x0)) && (*(char *)((int)local_60 + 0x2c) != '\0')) { - local_64 = (NightmareScene)(*(int *)((int)local_74 + 0x18) + (int)local_58); - if (((int)pbVar1 < 0) || (*(int *)((int)this[0x14] + 0x80) <= (int)pbVar1)) { + local_64 = (Game *)(local_74->_roomList[0].SafeGridIndex + (int)local_58); + if (((int)pbVar13 < 0) || (*(int *)(*(int *)&this->field_0x50 + 0x80) <= (int)pbVar13)) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"LayerId out of bounds\n"); } - if ((int)pbVar1 < *(int *)((int)this[0x14] + 0x80)) { - iVar8 = *(int *)((int)this[0x16] + *(int *)((int)this[0x15] + 0x38 + (int)pbVar1 * 4) * 4) - ; + if ((int)pbVar13 < *(int *)(*(int *)&this->field_0x50 + 0x80)) { + iVar8 = *(int *)(*(int *)&this->field_0x58 + + *(int *)(*(int *)&this->field_0x54 + 0x38 + (int)pbVar13 * 4) * 4); } else { iVar8 = 0; } AnimationLayer::RenderFrame ((AnimationLayer *)local_64,&g_vectorZero,iVar8,&g_vectorZero,&g_vectorZero, - (ANM2 *)(this + 8)); + (ANM2 *)&this->field_0x20); puVar5 = local_60; - if ((this[0x177].field_0x1 != '\0') && - ((pbVar1 == (byte *)0x2 || (pbVar1 == &DAT_00000006)))) { - local_5c = (NightmareScene) - (-*(float *)((int)local_60 + 0x24) * *(float *)((int)local_60 + 0x1c)); - local_70 = *(NightmareScene *)((int)local_60 + 0x5c); - NVar18 = (NightmareScene)((float)local_70 * 0.017453292); - local_64 = NVar18; + if ((this[1].field_0x239 != '\0') && + ((pbVar13 == (byte *)0x2 || (pbVar13 == &DAT_00000006)))) { + local_5c = (int *)(-*(float *)((int)local_60 + 0x24) * *(float *)((int)local_60 + 0x1c)); + local_70 = *(float *)((int)local_60 + 0x5c); + pGVar22 = (Game *)(local_70 * 0.017453292); + local_64 = pGVar22; local_60 = (undefined1 *) (-*(float *)((int)local_60 + 0x20) * *(float *)((int)local_60 + 0x18)); cos(); - NVar12 = local_64; - local_7c = NVar18; + pGVar16 = local_64; + local_7c = pGVar22; sin(); - if (this + 0x15f == (NightmareScene *)((int)puVar5 + 0x30)) { - NVar18 = local_70; + if ((undefined4 *)&this[1].field_0x1d8 == (undefined4 *)((int)puVar5 + 0x30)) { + fVar12 = local_70; } else { - NVar18 = *(NightmareScene *)((int)puVar5 + 0x34); - NVar10 = *(NightmareScene *)((int)puVar5 + 0x38); - NVar3 = *(NightmareScene *)((int)puVar5 + 0x3c); - this[0x15f] = *(NightmareScene *)((int)puVar5 + 0x30); - this[0x160] = NVar18; - this[0x161] = NVar10; - this[0x162] = NVar3; - NVar18 = *(NightmareScene *)((int)puVar5 + 0x44); - NVar10 = *(NightmareScene *)((int)puVar5 + 0x48); - NVar3 = *(NightmareScene *)((int)puVar5 + 0x4c); - this[0x163] = *(NightmareScene *)((int)puVar5 + 0x40); - this[0x164] = NVar18; - this[0x165] = NVar10; - this[0x166] = NVar3; - *(undefined8 *)(this + 0x167) = *(undefined8 *)((int)puVar5 + 0x50); - this[0x169] = *(NightmareScene *)((int)puVar5 + 0x58); - NVar18 = *(NightmareScene *)((int)puVar5 + 0x5c); + uVar1 = *(undefined4 *)((int)puVar5 + 0x34); + uVar2 = *(undefined4 *)((int)puVar5 + 0x38); + uVar3 = *(undefined4 *)((int)puVar5 + 0x3c); + *(undefined4 *)&this[1].field_0x1d8 = *(undefined4 *)((int)puVar5 + 0x30); + *(undefined4 *)&this[1].field_0x1dc = uVar1; + *(undefined4 *)&this[1].field_0x1e0 = uVar2; + *(undefined4 *)&this[1].field_0x1e4 = uVar3; + uVar1 = *(undefined4 *)((int)puVar5 + 0x44); + uVar2 = *(undefined4 *)((int)puVar5 + 0x48); + uVar3 = *(undefined4 *)((int)puVar5 + 0x4c); + *(undefined4 *)&this[1].field_0x1e8 = *(undefined4 *)((int)puVar5 + 0x40); + *(undefined4 *)&this[1].field_0x1ec = uVar1; + *(undefined4 *)&this[1].field_0x1f0 = uVar2; + *(undefined4 *)&this[1].field_0x1f4 = uVar3; + *(undefined8 *)&this[1].field_0x1f8 = *(undefined8 *)((int)puVar5 + 0x50); + *(undefined4 *)&this[1].field_0x200 = *(undefined4 *)((int)puVar5 + 0x58); + fVar12 = *(float *)((int)puVar5 + 0x5c); } - this[0x15e] = NVar18; - this[0x15c] = *(NightmareScene *)((int)puVar5 + 0x18); - this[0x15d] = *(NightmareScene *)((int)puVar5 + 0x1c); - fVar19 = *(float *)((int)puVar5 + 0x14); - this[0x15a] = (NightmareScene) - (((float)local_60 * (float)local_7c - (float)local_5c * (float)NVar12) + - (float)this[0x2d] + *(float *)((int)puVar5 + 0x10)); - this[0x15b] = (NightmareScene) - ((float)local_5c * (float)local_7c + (float)local_60 * (float)NVar12 + - (float)this[0x2e] + fVar19); - if (this[0x177].field_0x1 != '\0') { - if (*(char *)(this + 0x151) == '\0') { + *(float *)&this[1].field_0x1d4 = fVar12; + *(undefined4 *)&this[1].field_0x1cc = *(undefined4 *)((int)puVar5 + 0x18); + *(undefined4 *)&this[1].field_0x1d0 = *(undefined4 *)((int)puVar5 + 0x1c); + fVar12 = *(float *)&this->field_0xb8; + fVar17 = *(float *)((int)puVar5 + 0x14); + *(float *)&this[1].field_0x1c4 = + ((float)local_60 * (float)local_7c - (float)local_5c * (float)pGVar16) + + *(float *)&this->field_0xb4 + *(float *)((int)puVar5 + 0x10); + *(float *)&this[1].field_0x1c8 = + (float)local_5c * (float)local_7c + (float)local_60 * (float)pGVar16 + fVar12 + + fVar17; + if (this[1].field_0x239 != '\0') { + if (this[1].field_0x1a0 == '\0') { AnimationState::Render(&g_vectorZero,&g_vectorZero,&g_vectorZero); } else { @@ -789605,12 +790997,12 @@ void __thiscall NightmareScene::Render(NightmareScene *this) } } local_78 = local_78 + 1; - local_58 = (NightmareScene)((int)local_58 + 0x10); - } while (local_78 < (uint)*(int *)((int)local_74 + 0x1c)); + local_58 = (float)((int)local_58 + 0x10); + } while (local_78 < (uint)local_74->_roomList[0].ListIndex); } - if (*(char *)(this + 0x12f) == '\0') { - if (this[0x8f].field_0x1 != '\0') { - if (*(char *)(this + 0x69) == '\0') { + if (this[1].field_0x118 == '\0') { + if (this->field_0x23d != '\0') { + if (this->field_0x1a4 == '\0') { AnimationState::Render(&g_vectorZero,&g_vectorZero,&g_vectorZero); } else { @@ -789621,24 +791013,24 @@ void __thiscall NightmareScene::Render(NightmareScene *this) } else { AnimationState::Render(&g_vectorZero,&g_vectorZero,&g_vectorZero); - if (((this[300].field_0x1 != '\0') && (this[0x134] != (NightmareScene)0x0)) && - (this[0x62] != (NightmareScene)0x0)) { - local_58 = (NightmareScene)0x4; - local_64 = *(NightmareScene *) - ((int)this[0x131] + ((int)this[0x132] - 1U & (uint)this[0x133]) * 4); - this[0x10f] = this[0x72]; - this[0x110] = this[0x73]; - local_5c = (NightmareScene)&DAT_00c5d254; + if (((this[1].field_0x10d != '\0') && (*(int *)&this[1].field_0x12c != 0)) && + (*(int *)&this->field_0x188 != 0)) { + local_58 = 5.60519e-45; + local_64 = *(Game **)(*(int *)&this[1].field_0x120 + + (*(int *)&this[1].field_0x124 - 1U & *(uint *)&this[1].field_0x128) * 4); + *(undefined4 *)&this[1].field_0x98 = *(undefined4 *)&this->field_0x1c8; + *(undefined4 *)&this[1].field_0x9c = *(undefined4 *)&this->field_0x1cc; + local_5c = &DAT_00c5d254; do { pfVar9 = AnimationState::GetNullFrame - ((AnimationState *)(this + 0x61),*(byte **)((int)local_5c + -4)); + ((AnimationState *)&this->field_0x184,(byte *)local_5c[-1]); if (((pfVar9 != (float *)0x0) && (*(char *)(pfVar9 + 3) != '\0')) && - (iVar8 = ((int *)((int)local_64 + 0x18))[*(int *)((int)local_5c + 0xc)], iVar8 != 0)) { - pbVar1 = *(byte **)local_5c; - if (pbVar1 == &DAT_00000006) { - uVar13 = *(uint *)(iVar8 + 4); - if ((int)uVar13 < 0x2dd) { - local_60 = (undefined1 *)(uVar13 - 1); + (iVar8 = local_64->_roomMap[local_5c[3] + -0x5eb1], iVar8 != 0)) { + pbVar13 = (byte *)*local_5c; + if (pbVar13 == &DAT_00000006) { + uVar14 = *(uint *)(iVar8 + 4); + if ((int)uVar14 < 0x2dd) { + local_60 = (undefined1 *)(uVar14 - 1); goto LAB_00920dfe; } local_18 = 7; @@ -789650,18 +791042,18 @@ void __thiscall NightmareScene::Render(NightmareScene *this) } local_28 = 0; uStack_20 = 7; - NStack_1c = (NightmareScene)0x1; - local_54.x = (float)this[0x10f] + *pfVar9; - local_54.y = (float)this[0x110] + pfVar9[1]; + uStack_1c = 1; + local_54.x = *(float *)&this[1].field_0x98 + *pfVar9; + local_54.y = *(float *)&this[1].field_0x9c + pfVar9[1]; ModManager::RenderCustomCollectionItem - (&g_manager->_modManager,uVar13,&local_54,(Vector *)(pfVar9 + 4), + (&g_manager->_modManager,uVar14,&local_54,(Vector *)(pfVar9 + 4), (ColorMod *)(pfVar9 + 6),&local_28); } - else if (((pbVar1 == (byte *)0x3) && + else if (((pbVar13 == (byte *)0x3) && (local_60 = *(undefined1 **)(iVar8 + 0x160), local_60 != (undefined1 *)0x0)) && (*(char *)(iVar8 + 0x164) != '\0')) { - local_88.x = (float)this[0x10f] + *pfVar9; - local_88.y = (float)this[0x110] + pfVar9[1]; + local_88.x = *(float *)&this[1].field_0x98 + *pfVar9; + local_88.y = *(float *)&this[1].field_0x9c + pfVar9[1]; if (*(char *)((int)local_60 + 0xef9) != '\0') { ANM2::SetFrame((ANM2 *)((int)local_60 + 0xdf0),(std_string *)((int)local_60 + 0xe08), *(int *)(iVar8 + 100)); @@ -789674,166 +791066,166 @@ void __thiscall NightmareScene::Render(NightmareScene *this) else { local_60 = *(undefined1 **)(iVar8 + 100); LAB_00920dfe: - pLVar7 = ANM2::GetLayer((ANM2 *)(this + 0xea),pbVar1); - fVar19 = *(float *)((int)local_5c + 8); - fVar14 = pfVar9[1]; - (pLVar7->_pos).x = *(float *)((int)local_5c + 4) + *pfVar9; - (pLVar7->_pos).y = fVar19 + fVar14; + pLVar7 = ANM2::GetLayer((ANM2 *)&this[1].field_0x4,pbVar13); + fVar12 = (float)local_5c[2]; + fVar17 = pfVar9[1]; + (pLVar7->_pos).x = (float)local_5c[1] + *pfVar9; + (pLVar7->_pos).y = fVar12 + fVar17; pLVar7->_rotation = pfVar9[0x11]; (pLVar7->_size).x = pfVar9[4]; (pLVar7->_size).y = pfVar9[5]; - if ((float *)&pLVar7->field_0x48 != pfVar9 + 6) { - fVar19 = pfVar9[7]; - fVar14 = pfVar9[8]; + if (&pLVar7->_color != (ColorMod *)(pfVar9 + 6)) { + fVar12 = pfVar9[7]; + fVar17 = pfVar9[8]; fVar4 = pfVar9[9]; - *(float *)&pLVar7->field_0x48 = pfVar9[6]; - *(float *)&pLVar7->field_0x4c = fVar19; - *(float *)&pLVar7->field_0x50 = fVar14; - *(float *)&pLVar7->field_0x54 = fVar4; - fVar19 = pfVar9[0xb]; - fVar14 = pfVar9[0xc]; + (pLVar7->_color)._tint[0] = pfVar9[6]; + (pLVar7->_color)._tint[1] = fVar12; + (pLVar7->_color)._tint[2] = fVar17; + (pLVar7->_color)._tint[3] = fVar4; + fVar12 = pfVar9[0xb]; + fVar17 = pfVar9[0xc]; fVar4 = pfVar9[0xd]; - *(float *)&pLVar7->field_0x58 = pfVar9[10]; - *(float *)&pLVar7->field_0x5c = fVar19; - *(float *)&pLVar7->field_0x60 = fVar14; - *(float *)&pLVar7->field_0x64 = fVar4; - fVar19 = pfVar9[0xf]; - *(float *)&pLVar7->field_0x68 = pfVar9[0xe]; - *(float *)&pLVar7->field_0x6c = fVar19; - *(float *)&pLVar7->field_0x70 = pfVar9[0x10]; + (pLVar7->_color)._colorize[0] = pfVar9[10]; + (pLVar7->_color)._colorize[1] = fVar12; + (pLVar7->_color)._colorize[2] = fVar17; + (pLVar7->_color)._colorize[3] = fVar4; + fVar12 = pfVar9[0xf]; + (pLVar7->_color)._offset[0] = pfVar9[0xe]; + (pLVar7->_color)._offset[1] = fVar12; + (pLVar7->_color)._offset[2] = pfVar9[0x10]; } - ANM2::SetLayerFrame((ANM2 *)(this + 0xea),*(int *)local_5c,(int)local_60); - iVar8 = *(int *)local_5c; - if (this[300].field_0x1 != '\0') { - if (*(char *)(this + 0x106) == '\0') { - NVar12 = this[0xf7]; - if ((((NVar12 != (NightmareScene)0x0) && (-1 < iVar8)) && - (iVar8 < *(int *)((int)this[0xf6] + 0x80))) && - (iVar2 = *(int *)((int)NVar12 + 0x38 + iVar8 * 4), -1 < iVar2)) { + ANM2::SetLayerFrame((ANM2 *)&this[1].field_0x4,*local_5c,(int)local_60); + iVar8 = *local_5c; + if (this[1].field_0x10d != '\0') { + if (this[1].field_0x74 == '\0') { + iVar20 = *(int *)&this[1].field_0x38; + if ((((iVar20 != 0) && (-1 < iVar8)) && + (iVar8 < (*(ANM2 **)&this[1].field_0x34)->_layerCount)) && + (iVar10 = *(int *)(iVar20 + 0x38 + iVar8 * 4), -1 < iVar10)) { AnimationLayer::RenderFrame - ((AnimationLayer *)(iVar2 * 0x10 + *(int *)((int)NVar12 + 0x18)), - &g_vectorZero,*(int *)((int)this[0xf8] + iVar2 * 4),&g_vectorZero, - &g_vectorZero,(ANM2 *)this[0xf6]); + ((AnimationLayer *)(iVar10 * 0x10 + *(int *)(iVar20 + 0x18)), + &g_vectorZero,*(int *)(*(int *)&this[1].field_0x3c + iVar10 * 4), + &g_vectorZero,&g_vectorZero,*(ANM2 **)&this[1].field_0x34); } - NVar12 = this[0xff]; - if (((NVar12 != (NightmareScene)0x0) && (-1 < iVar8)) && - ((NVar18 = this[0xfe], iVar8 < *(int *)((int)NVar18 + 0x80) && - (iVar8 = *(int *)((int)NVar12 + 0x38 + iVar8 * 4), -1 < iVar8)))) { - NVar10 = this[0x100]; + iVar20 = *(int *)&this[1].field_0x58; + if (((iVar20 != 0) && (-1 < iVar8)) && + ((animation = *(ANM2 **)&this[1].field_0x54, iVar8 < animation->_layerCount && + (iVar8 = *(int *)(iVar20 + 0x38 + iVar8 * 4), -1 < iVar8)))) { + iVar10 = *(int *)&this[1].field_0x5c; goto LAB_00920f90; } } else { - NVar12 = this[0xff]; - if (((NVar12 != (NightmareScene)0x0) && (-1 < iVar8)) && - ((iVar8 < *(int *)((int)this[0xfe] + 0x80) && - (iVar2 = *(int *)((int)NVar12 + 0x38 + iVar8 * 4), -1 < iVar2)))) { + iVar20 = *(int *)&this[1].field_0x58; + if (((iVar20 != 0) && (-1 < iVar8)) && + ((iVar8 < (*(ANM2 **)&this[1].field_0x54)->_layerCount && + (iVar10 = *(int *)(iVar20 + 0x38 + iVar8 * 4), -1 < iVar10)))) { AnimationLayer::RenderFrame - ((AnimationLayer *)(iVar2 * 0x10 + *(int *)((int)NVar12 + 0x18)), - &g_vectorZero,*(int *)((int)this[0x100] + iVar2 * 4),&g_vectorZero, - &g_vectorZero,(ANM2 *)this[0xfe]); + ((AnimationLayer *)(iVar10 * 0x10 + *(int *)(iVar20 + 0x18)), + &g_vectorZero,*(int *)(*(int *)&this[1].field_0x5c + iVar10 * 4), + &g_vectorZero,&g_vectorZero,*(ANM2 **)&this[1].field_0x54); } - NVar12 = this[0xf7]; - if ((((NVar12 != (NightmareScene)0x0) && (-1 < iVar8)) && - (NVar18 = this[0xf6], iVar8 < *(int *)((int)NVar18 + 0x80))) && - (iVar8 = *(int *)((int)NVar12 + 0x38 + iVar8 * 4), -1 < iVar8)) { - NVar10 = this[0xf8]; + iVar20 = *(int *)&this[1].field_0x38; + if ((((iVar20 != 0) && (-1 < iVar8)) && + (animation = *(ANM2 **)&this[1].field_0x34, iVar8 < animation->_layerCount)) && + (iVar8 = *(int *)(iVar20 + 0x38 + iVar8 * 4), -1 < iVar8)) { + iVar10 = *(int *)&this[1].field_0x3c; LAB_00920f90: AnimationLayer::RenderFrame - ((AnimationLayer *)(iVar8 * 0x10 + *(int *)((int)NVar12 + 0x18)), - &g_vectorZero,*(int *)((int)NVar10 + iVar8 * 4),&g_vectorZero, - &g_vectorZero,(ANM2 *)NVar18); + ((AnimationLayer *)(iVar8 * 0x10 + *(int *)(iVar20 + 0x18)), + &g_vectorZero,*(int *)(iVar10 + iVar8 * 4),&g_vectorZero,&g_vectorZero, + animation); } } } } } - local_5c = (NightmareScene)((int)local_5c + 0x14); - local_58 = (NightmareScene)((int)local_58 + -1); - } while (local_58 != (NightmareScene)0x0); - local_58 = (NightmareScene)0x0; + local_5c = local_5c + 5; + local_58 = (float)((int)local_58 + -1); + } while (local_58 != 0.0); + local_58 = 0.0; } LAB_0092100d: AnimationState::Render(&g_vectorZero,&g_vectorZero,&g_vectorZero); } - if (*(char *)(this + 0x17a) != '\0') goto LAB_00921b36; - local_88.y = (float)(((uint)this[1] >> 1) - 0x1e); + if (this[1].field_0x244 != '\0') goto LAB_00921b36; + local_88.y = (float)((*(uint *)&this->field_0x4 >> 1) - 0x1e); if ((g_game->_stageType == 4) || (g_game->_stageType == 5)) { - NVar12 = (NightmareScene)(g_game->_stage + 1); + fVar12 = (float)(g_game->_stage + 1); } else { - NVar12 = (NightmareScene)g_game->_stage; + fVar12 = (float)g_game->_stage; } - local_58 = (NightmareScene)0x6; - local_70 = NVar12; + local_58 = 8.40779e-45; + local_70 = fVar12; if (local_65 == '\0') { if (((g_manager->_persistentGameData)._achievements[4] != 0) || ((((g_manager->_state == 2 && (((g_game->_dailyChallenge)._id != 0 || (g_game->_isDebug != 0)))) || - (7 < (int)this[0xd9])) || - ((this[0xd9] == (NightmareScene)0x6 && (*(char *)(this + 0xda) == '\0')))))) { - local_58 = (NightmareScene)0x8; + (7 < *(int *)&this->field_0x364)) || + ((*(int *)&this->field_0x364 == 6 && (this->field_0x368 == '\0')))))) { + local_58 = 1.12104e-44; } pCVar11 = Game::GetChallengeParams(g_game); - if (pCVar11->field_0x7f != '\0') { + if (pCVar11->_isPathTypeSet != 0) { if (pCVar11->_endStage == 6) { - local_58 = (NightmareScene)0x6; + local_58 = 8.40779e-45; } else if (7 < pCVar11->_endStage) { - local_58 = (NightmareScene)0x8; + local_58 = 1.12104e-44; } } - if (NVar12 != (NightmareScene)0x9) goto LAB_00921072; - local_58 = NVar12; + if (fVar12 != 1.26117e-44) goto LAB_00921072; + local_58 = fVar12; LAB_0092110a: - local_5c = NVar12; - if ((int)NVar12 < (int)local_58) { - local_5c = local_58; + local_5c = (int *)fVar12; + if ((int)fVar12 < (int)local_58) { + local_5c = (int *)local_58; } - local_80 = (NightmareScene)0xffffffff; - local_6c = (NightmareScene)0x0; - local_7c = (NightmareScene)0xffffffff; - local_74 = (NightmareScene)0xffffffff; + local_80 = (Game *)0xffffffff; + local_6c = (Game *)0x0; + local_7c = (Game *)0xffffffff; + local_74 = (Game *)0xffffffff; local_78 = 0; - NVar12 = local_80; + pGVar16 = local_80; if (-1 < (int)local_5c) goto LAB_00921130; } else { - local_58 = (NightmareScene)0x7; + local_58 = 9.80909e-45; LAB_00921072: - if (NVar12 != (NightmareScene)0xd) goto LAB_0092110a; - local_58 = (NightmareScene)0x0; - local_70 = (NightmareScene)0x0; - local_5c = (NightmareScene)0x0; + if (fVar12 != 1.82169e-44) goto LAB_0092110a; + local_58 = 0.0; + local_70 = 0.0; + local_5c = (int *)0x0; LAB_00921130: - local_64 = (NightmareScene)g_game; - NVar18 = (NightmareScene)0x0; - local_80 = (NightmareScene)0xffffffff; - local_6c = (NightmareScene)0x0; - local_7c = (NightmareScene)0xffffffff; - local_74 = (NightmareScene)0xffffffff; + local_64 = g_game; + fVar12 = 0.0; + local_80 = (Game *)0xffffffff; + local_6c = (Game *)0x0; + local_7c = (Game *)0xffffffff; + local_74 = (Game *)0xffffffff; local_78 = 0; do { - if (NVar18 == (NightmareScene)0x0) { - if (local_70 == (NightmareScene)0x0) { - NVar12 = this[0xe8]; + if (fVar12 == 0.0) { + if (local_70 == 0.0) { + iVar8 = this->_stageBarIcons[0xd]; goto LAB_0092117e; } } - else if ((NVar18 != (NightmareScene)0x9) || (this[0xe4] != (NightmareScene)0x11)) { - NVar12 = this[(int)NVar18 + 0xdb]; + else if ((fVar12 != 1.26117e-44) || (this->_stageBarIcons[9] != 0x11)) { + iVar8 = this->_stageBarIcons[(int)fVar12]; LAB_0092117e: - aNStack_4c[(int)local_6c] = NVar12; - if ((NVar18 == local_58) && (this[0xd9] != local_58)) { + aiStack_4c[(int)local_6c] = iVar8; + if ((fVar12 == local_58) && (*(float *)&this->field_0x364 != local_58)) { local_7c = local_6c; } - if ((NVar18 == local_5c) && (this[0xd9] != local_80)) { + if (((int *)fVar12 == local_5c) && (*(Game **)&this->field_0x364 != local_80)) { local_80 = local_6c; } - if (NVar18 == local_70) { + if (fVar12 == local_70) { local_74 = local_6c; - if (*(char *)(this + 0xda) == '\0') { - if ((g_game->_challenge == 0x1f) || (local_78 = 1, local_70 == (NightmareScene)0x0)) { + if (this->field_0x368 == '\0') { + if ((g_game->_challenge == 0x1f) || (local_78 = 1, local_70 == 0.0)) { local_78 = 0xffffffff; } } @@ -789841,125 +791233,124 @@ LAB_0092117e: local_78 = 0; } } - local_6c = (NightmareScene)((int)local_6c + 1); + local_6c = (Game *)((int)&local_6c->_stage + 1); } - NVar18 = (NightmareScene)((int)NVar18 + 1); - NVar12 = local_80; - } while ((int)NVar18 <= (int)local_5c); + fVar12 = (float)((int)fVar12 + 1); + pGVar16 = local_80; + } while ((int)fVar12 <= (int)local_5c); } - for (; (NVar18 = local_6c, -1 < (int)NVar12 && (aNStack_4c[(int)NVar12] == (NightmareScene)0x11)); - NVar12 = (NightmareScene)((int)NVar12 + -1)) { - aNStack_4c[(int)NVar12] = (NightmareScene)0xffffffff; + for (; (pGVar22 = local_6c, -1 < (int)pGVar16 && (aiStack_4c[(int)pGVar16] == 0x11)); + pGVar16 = (Game *)&pGVar16[-1]._console.field_0x3) { + aiStack_4c[(int)pGVar16] = -1; } - local_8c = this + 0x92; - NVar12 = this[0x9f]; - local_5c = (NightmareScene) - ((g_screenWidth * 0.5 - (float)((int)local_6c * 0x1b + -4) * 0.5) + 11.5); - local_58 = (NightmareScene)((float)local_5c + 13.5); - if (NVar12 == (NightmareScene)0x0) { + local_8c = &this->field_0x248; + pbVar13 = *(byte **)&this->field_0x27c; + local_5c = (int *)((g_screenWidth * 0.5 - (float)((int)local_6c * 0x1b + -4) * 0.5) + 11.5); + local_58 = (float)local_5c + 13.5; + if (pbVar13 == (byte *)0x0) { LAB_009212c6: - bVar6 = ANM2::SetAnimation((ANM2 *)(this + 0x92),(byte *)"Connector",1); + bVar6 = ANM2::SetAnimation((ANM2 *)&this->field_0x248,(byte *)"Connector",1); if (bVar6 != 0) { - AnimationState::Rewind((AnimationState *)(this + 0x9e)); - *(undefined1 *)(this + 0xa3) = 1; - NVar18 = local_6c; + AnimationState::Rewind((AnimationState *)&this->field_0x278); + this->field_0x28c = 1; + pGVar22 = local_6c; } } else { - if (0xf < *(uint *)((int)NVar12 + 0x14)) { - NVar12 = *(NightmareScene *)NVar12; + if (0xf < *(uint *)(pbVar13 + 0x14)) { + pbVar13 = *(byte **)pbVar13; } - pcVar16 = "Connector"; + pcVar19 = "Connector"; do { - bVar6 = *(byte *)NVar12; - bVar17 = bVar6 < (byte)*pcVar16; - if (bVar6 != *pcVar16) { + bVar6 = *pbVar13; + bVar21 = bVar6 < (byte)*pcVar19; + if (bVar6 != *pcVar19) { LAB_009212a0: - uVar13 = -(uint)bVar17 | 1; + uVar14 = -(uint)bVar21 | 1; goto LAB_009212a5; } if (bVar6 == 0) break; - bVar6 = *(byte *)((int)NVar12 + 1); - bVar17 = bVar6 < (byte)pcVar16[1]; - if (bVar6 != pcVar16[1]) goto LAB_009212a0; - NVar12 = (NightmareScene)((int)NVar12 + 2); - pcVar16 = pcVar16 + 2; + bVar6 = pbVar13[1]; + bVar21 = bVar6 < (byte)pcVar19[1]; + if (bVar6 != pcVar19[1]) goto LAB_009212a0; + pbVar13 = pbVar13 + 2; + pcVar19 = pcVar19 + 2; } while (bVar6 != 0); - uVar13 = 0; + uVar14 = 0; LAB_009212a5: - if ((uVar13 != 0) || - ((*(char *)((int)this[0x9f] + 0x34) != '\0' && (*(char *)(this + 0xa3) == '\0')))) + if ((uVar14 != 0) || + ((*(char *)(*(int *)&this->field_0x27c + 0x34) != '\0' && (this->field_0x28c == '\0')))) goto LAB_009212c6; } - local_60 = (undefined1 *)((int)NVar18 + -1); - NVar12 = (NightmareScene)0x0; - NVar10 = local_58; + local_60 = &pGVar22[-1]._console.field_0x3; + pGVar16 = (Game *)0x0; + fVar12 = local_58; if (0 < (int)local_60) { do { - local_64 = (NightmareScene)((int)NVar12 + 1); + local_64 = (Game *)((int)&pGVar16->_stage + 1); local_54.y = 24.0; - local_54.x = (float)(int)NVar12 * 27.0 + (float)NVar10; - if (this[0xd4].field_0x1 != '\0') { - if (*(char *)(this + 0xae) == '\0') { + local_54.x = (float)(int)pGVar16 * 27.0 + fVar12; + if (this->field_0x351 != '\0') { + if (this->field_0x2b8 == '\0') { AnimationState::Render(&local_54,&g_vectorZero,&g_vectorZero); } else { AnimationState::Render(&local_54,&g_vectorZero,&g_vectorZero); } AnimationState::Render(&local_54,&g_vectorZero,&g_vectorZero); - NVar10 = local_58; + fVar12 = local_58; } local_60 = local_60 + -1; - NVar12 = local_64; + pGVar16 = local_64; } while (local_60 != (undefined1 *)0x0); } - NVar12 = local_8c[0xd]; - if (NVar12 == (NightmareScene)0x0) { + pbVar13 = *(byte **)(local_8c + 0x34); + if (pbVar13 == (byte *)0x0) { LAB_009213f6: - bVar6 = ANM2::SetAnimation((ANM2 *)(this + 0x92),(byte *)"Levels",1); + bVar6 = ANM2::SetAnimation((ANM2 *)&this->field_0x248,(byte *)"Levels",1); if (bVar6 != 0) { - AnimationState::Rewind((AnimationState *)(this + 0x9e)); - *(undefined1 *)(this + 0xa3) = 1; - NVar18 = local_6c; + AnimationState::Rewind((AnimationState *)&this->field_0x278); + this->field_0x28c = 1; + pGVar22 = local_6c; } } else { - if (0xf < *(uint *)((int)NVar12 + 0x14)) { - NVar12 = *(NightmareScene *)NVar12; + if (0xf < *(uint *)(pbVar13 + 0x14)) { + pbVar13 = *(byte **)pbVar13; } - pcVar16 = "Levels"; + pcVar19 = "Levels"; do { - bVar6 = *(byte *)NVar12; - bVar17 = bVar6 < (byte)*pcVar16; - if (bVar6 != *pcVar16) { + bVar6 = *pbVar13; + bVar21 = bVar6 < (byte)*pcVar19; + if (bVar6 != *pcVar19) { LAB_009213d0: - uVar13 = -(uint)bVar17 | 1; + uVar14 = -(uint)bVar21 | 1; goto LAB_009213d5; } if (bVar6 == 0) break; - bVar6 = *(byte *)((int)NVar12 + 1); - bVar17 = bVar6 < (byte)pcVar16[1]; - if (bVar6 != pcVar16[1]) goto LAB_009213d0; - NVar12 = (NightmareScene)((int)NVar12 + 2); - pcVar16 = pcVar16 + 2; + bVar6 = pbVar13[1]; + bVar21 = bVar6 < (byte)pcVar19[1]; + if (bVar6 != pcVar19[1]) goto LAB_009213d0; + pbVar13 = pbVar13 + 2; + pcVar19 = pcVar19 + 2; } while (bVar6 != 0); - uVar13 = 0; + uVar14 = 0; LAB_009213d5: - if ((uVar13 != 0) || - ((*(char *)((int)this[0x9f] + 0x34) != '\0' && (*(char *)(this + 0xa3) == '\0')))) + if ((uVar14 != 0) || + ((*(char *)(*(int *)&this->field_0x27c + 0x34) != '\0' && (this->field_0x28c == '\0')))) goto LAB_009213f6; } - local_58 = (NightmareScene)0x0; - if (0 < (int)NVar18) { + local_58 = 0.0; + if (0 < (int)pGVar22) { do { - if (-1 < (int)aNStack_4c[(int)local_58]) { - if (this[0x9f] != (NightmareScene)0x0) { - AnimationState::SetFrameFloat((AnimationState *)(this + 0x9e)); + if (-1 < aiStack_4c[(int)local_58]) { + if (*(int *)&this->field_0x27c != 0) { + AnimationState::SetFrameFloat((AnimationState *)&this->field_0x278); } local_54.y = 24.0; local_54.x = (float)(int)local_58 * 27.0 + (float)local_5c; - if (this[0xd4].field_0x1 != '\0') { - if (*(char *)(this + 0xae) == '\0') { + if (this->field_0x351 != '\0') { + if (this->field_0x2b8 == '\0') { AnimationState::Render(&local_54,&g_vectorZero,&g_vectorZero); } else { @@ -789968,109 +791359,107 @@ LAB_009213d5: AnimationState::Render(&local_54,&g_vectorZero,&g_vectorZero); } } - local_58 = (NightmareScene)((int)local_58 + 1); - } while ((int)local_58 < (int)NVar18); + local_58 = (float)((int)local_58 + 1); + } while ((int)local_58 < (int)pGVar22); } - NVar12 = this[0x9f]; - if (NVar12 == (NightmareScene)0x0) { + pbVar13 = *(byte **)&this->field_0x27c; + if (pbVar13 == (byte *)0x0) { LAB_00921544: - bVar6 = ANM2::SetAnimation((ANM2 *)(this + 0x92),(byte *)"ClearFloor",1); + bVar6 = ANM2::SetAnimation((ANM2 *)&this->field_0x248,(byte *)"ClearFloor",1); if (bVar6 != 0) { - AnimationState::Rewind((AnimationState *)(this + 0x9e)); - *(undefined1 *)(this + 0xa3) = 1; + AnimationState::Rewind((AnimationState *)&this->field_0x278); + this->field_0x28c = 1; } } else { - NVar18 = NVar12; - if (0xf < *(uint *)((int)NVar12 + 0x14)) { - NVar18 = *(NightmareScene *)NVar12; + pbVar15 = pbVar13; + if (0xf < *(uint *)(pbVar13 + 0x14)) { + pbVar15 = *(byte **)pbVar13; } - pcVar16 = "ClearFloor"; + pcVar19 = "ClearFloor"; do { - bVar6 = *(byte *)NVar18; - bVar17 = bVar6 < (byte)*pcVar16; - if (bVar6 != *pcVar16) { + bVar6 = *pbVar15; + bVar21 = bVar6 < (byte)*pcVar19; + if (bVar6 != *pcVar19) { LAB_00921520: - uVar13 = -(uint)bVar17 | 1; + uVar14 = -(uint)bVar21 | 1; goto LAB_00921525; } if (bVar6 == 0) break; - bVar6 = *(byte *)((int)NVar18 + 1); - bVar17 = bVar6 < (byte)pcVar16[1]; - if (bVar6 != pcVar16[1]) goto LAB_00921520; - NVar18 = (NightmareScene)((int)NVar18 + 2); - pcVar16 = pcVar16 + 2; + bVar6 = pbVar15[1]; + bVar21 = bVar6 < (byte)pcVar19[1]; + if (bVar6 != pcVar19[1]) goto LAB_00921520; + pbVar15 = pbVar15 + 2; + pcVar19 = pcVar19 + 2; } while (bVar6 != 0); - uVar13 = 0; + uVar14 = 0; LAB_00921525: - if ((uVar13 != 0) || ((*(byte *)((int)NVar12 + 0x34) != 0 && (*(char *)(this + 0xa3) == '\0')))) - goto LAB_00921544; + if ((uVar14 != 0) || ((pbVar13[0x34] != 0 && (this->field_0x28c == '\0')))) goto LAB_00921544; } - NVar18 = (NightmareScene)0x0; - NVar12 = local_6c; + pGVar22 = (Game *)0x0; + pGVar16 = local_6c; if (0 < (int)local_6c) { do { - if ((-1 < (int)aNStack_4c[(int)NVar18]) && (NVar18 != local_74)) { + if ((-1 < aiStack_4c[(int)pGVar22]) && (pGVar22 != local_74)) { local_54.y = 24.0; - local_54.x = (float)(int)NVar18 * 27.0 + (float)local_5c; - if (this[0xd4].field_0x1 != '\0') { - if (*(char *)(this + 0xae) == '\0') { + local_54.x = (float)(int)pGVar22 * 27.0 + (float)local_5c; + if (this->field_0x351 != '\0') { + if (this->field_0x2b8 == '\0') { AnimationState::Render(&local_54,&g_vectorZero,&g_vectorZero); } else { AnimationState::Render(&local_54,&g_vectorZero,&g_vectorZero); } AnimationState::Render(&local_54,&g_vectorZero,&g_vectorZero); - NVar12 = local_6c; + pGVar16 = local_6c; } } - NVar18 = (NightmareScene)((int)NVar18 + 1); - } while ((int)NVar18 < (int)NVar12); + pGVar22 = (Game *)((int)&pGVar22->_stage + 1); + } while ((int)pGVar22 < (int)pGVar16); } - NVar12 = this[0x9f]; - if (NVar12 == (NightmareScene)0x0) { + pbVar13 = *(byte **)&this->field_0x27c; + if (pbVar13 == (byte *)0x0) { LAB_0092166b: - bVar6 = ANM2::SetAnimation((ANM2 *)(this + 0x92),(byte *)"NotClearFloor",1); + bVar6 = ANM2::SetAnimation((ANM2 *)&this->field_0x248,(byte *)"NotClearFloor",1); if (bVar6 != 0) { - AnimationState::Rewind((AnimationState *)(this + 0x9e)); - *(undefined1 *)(this + 0xa3) = 1; + AnimationState::Rewind((AnimationState *)&this->field_0x278); + this->field_0x28c = 1; } } else { - NVar18 = NVar12; - if (0xf < *(uint *)((int)NVar12 + 0x14)) { - NVar18 = *(NightmareScene *)NVar12; + pbVar15 = pbVar13; + if (0xf < *(uint *)(pbVar13 + 0x14)) { + pbVar15 = *(byte **)pbVar13; } - pcVar16 = "NotClearFloor"; + pcVar19 = "NotClearFloor"; do { - bVar6 = *(byte *)NVar18; - bVar17 = bVar6 < (byte)*pcVar16; - if (bVar6 != *pcVar16) { + bVar6 = *pbVar15; + bVar21 = bVar6 < (byte)*pcVar19; + if (bVar6 != *pcVar19) { LAB_00921647: - uVar13 = -(uint)bVar17 | 1; + uVar14 = -(uint)bVar21 | 1; goto LAB_0092164c; } if (bVar6 == 0) break; - bVar6 = *(byte *)((int)NVar18 + 1); - bVar17 = bVar6 < (byte)pcVar16[1]; - if (bVar6 != pcVar16[1]) goto LAB_00921647; - NVar18 = (NightmareScene)((int)NVar18 + 2); - pcVar16 = pcVar16 + 2; + bVar6 = pbVar15[1]; + bVar21 = bVar6 < (byte)pcVar19[1]; + if (bVar6 != pcVar19[1]) goto LAB_00921647; + pbVar15 = pbVar15 + 2; + pcVar19 = pcVar19 + 2; } while (bVar6 != 0); - uVar13 = 0; + uVar14 = 0; LAB_0092164c: - if ((uVar13 != 0) || ((*(byte *)((int)NVar12 + 0x34) != 0 && (*(char *)(this + 0xa3) == '\0')))) - goto LAB_0092166b; + if ((uVar14 != 0) || ((pbVar13[0x34] != 0 && (this->field_0x28c == '\0')))) goto LAB_0092166b; } - NVar12 = local_6c; + pGVar16 = local_6c; local_60 = (undefined1 *)0x0; if (0 < (int)local_6c) { do { - if ((int)aNStack_4c[(int)local_60] < 0) { + if (aiStack_4c[(int)local_60] < 0) { local_54.y = 24.0; local_54.x = (float)(int)local_60 * 27.0 + (float)local_5c; - if (this[0xd4].field_0x1 != '\0') { - if (*(char *)(this + 0xae) == '\0') { + if (this->field_0x351 != '\0') { + if (this->field_0x2b8 == '\0') { AnimationState::Render(&local_54,&g_vectorZero,&g_vectorZero); } else { @@ -790080,87 +791469,84 @@ LAB_0092164c: } } local_60 = (undefined1 *)((int)local_60 + 1); - } while ((int)local_60 < (int)NVar12); + } while ((int)local_60 < (int)pGVar16); } if ((-1 < (int)local_7c) && ((int)local_80 <= (int)local_7c)) { if ((g_game->_difficulty == 2) || (g_game->_difficulty == 3)) { - NVar12 = this[0x9f]; - if (NVar12 == (NightmareScene)0x0) { + pbVar13 = *(byte **)&this->field_0x27c; + if (pbVar13 == (byte *)0x0) { LAB_00921834: - pcVar16 = "GreedIndicator"; + pcVar19 = "GreedIndicator"; goto LAB_0092183b; } - NVar18 = NVar12; - if (0xf < *(uint *)((int)NVar12 + 0x14)) { - NVar18 = *(NightmareScene *)NVar12; + pbVar15 = pbVar13; + if (0xf < *(uint *)(pbVar13 + 0x14)) { + pbVar15 = *(byte **)pbVar13; } - pcVar16 = "GreedIndicator"; + pcVar19 = "GreedIndicator"; do { - bVar6 = *(byte *)NVar18; - bVar17 = bVar6 < (byte)*pcVar16; - if (bVar6 != *pcVar16) { + bVar6 = *pbVar15; + bVar21 = bVar6 < (byte)*pcVar19; + if (bVar6 != *pcVar19) { LAB_00921810: - uVar13 = -(uint)bVar17 | 1; + uVar14 = -(uint)bVar21 | 1; goto LAB_00921815; } if (bVar6 == 0) break; - bVar6 = *(byte *)((int)NVar18 + 1); - bVar17 = bVar6 < (byte)pcVar16[1]; - if (bVar6 != pcVar16[1]) goto LAB_00921810; - NVar18 = (NightmareScene)((int)NVar18 + 2); - pcVar16 = pcVar16 + 2; + bVar6 = pbVar15[1]; + bVar21 = bVar6 < (byte)pcVar19[1]; + if (bVar6 != pcVar19[1]) goto LAB_00921810; + pbVar15 = pbVar15 + 2; + pcVar19 = pcVar19 + 2; } while (bVar6 != 0); - uVar13 = 0; + uVar14 = 0; LAB_00921815: - if ((uVar13 != 0) || - ((*(byte *)((int)NVar12 + 0x34) != 0 && (*(char *)(this + 0xa3) == '\0')))) - goto LAB_00921834; + if ((uVar14 != 0) || ((pbVar13[0x34] != 0 && (this->field_0x28c == '\0')))) goto LAB_00921834; } else { - NVar12 = this[0x9f]; - if (NVar12 != (NightmareScene)0x0) { - NVar18 = NVar12; - if (0xf < *(uint *)((int)NVar12 + 0x14)) { - NVar18 = *(NightmareScene *)NVar12; + pbVar13 = *(byte **)&this->field_0x27c; + if (pbVar13 != (byte *)0x0) { + pbVar15 = pbVar13; + if (0xf < *(uint *)(pbVar13 + 0x14)) { + pbVar15 = *(byte **)pbVar13; } - pcVar16 = "BossIndicator"; + pcVar19 = "BossIndicator"; do { - bVar6 = *(byte *)NVar18; - bVar17 = bVar6 < (byte)*pcVar16; - if (bVar6 != *pcVar16) { + bVar6 = *pbVar15; + bVar21 = bVar6 < (byte)*pcVar19; + if (bVar6 != *pcVar19) { LAB_00921797: - uVar13 = -(uint)bVar17 | 1; + uVar14 = -(uint)bVar21 | 1; goto LAB_0092179c; } if (bVar6 == 0) break; - bVar6 = *(byte *)((int)NVar18 + 1); - bVar17 = bVar6 < (byte)pcVar16[1]; - if (bVar6 != pcVar16[1]) goto LAB_00921797; - NVar18 = (NightmareScene)((int)NVar18 + 2); - pcVar16 = pcVar16 + 2; + bVar6 = pbVar15[1]; + bVar21 = bVar6 < (byte)pcVar19[1]; + if (bVar6 != pcVar19[1]) goto LAB_00921797; + pbVar15 = pbVar15 + 2; + pcVar19 = pcVar19 + 2; } while (bVar6 != 0); - uVar13 = 0; + uVar14 = 0; LAB_0092179c: - if (uVar13 == 0) { - if ((*(byte *)((int)NVar12 + 0x34) == 0) || (*(char *)(this + 0xa3) != '\0')) - goto LAB_00921852; - pcVar16 = "BossIndicator"; + if (uVar14 == 0) { + if ((pbVar13[0x34] == 0) || (this->field_0x28c != '\0')) goto LAB_00921852; + pcVar19 = "BossIndicator"; goto LAB_0092183b; } } - pcVar16 = "BossIndicator"; + pcVar19 = "BossIndicator"; LAB_0092183b: - bVar6 = ANM2::SetAnimation((ANM2 *)(this + 0x92),(byte *)pcVar16,1); + bVar6 = ANM2::SetAnimation((ANM2 *)&this->field_0x248,(byte *)pcVar19,1); if (bVar6 != 0) { - AnimationState::Rewind((AnimationState *)(this + 0x9e)); - *(undefined1 *)(this + 0xa3) = 1; + AnimationState::Rewind((AnimationState *)&this->field_0x278); + this->field_0x28c = 1; } } LAB_00921852: local_54.y = 24.0; local_54.x = (float)(int)local_7c * 27.0 + (float)local_5c; - if (this[0xd4].field_0x1 != '\0') { - if (*(char *)(this + 0xae) == '\0') { + if (this->field_0x351 != '\0') { + if (this->field_0x2b8 == '\0') { AnimationState::Render(&local_54,&g_vectorZero,&g_vectorZero); } else { @@ -790170,49 +791556,48 @@ LAB_00921852: } } if ((((g_game->_difficulty != 2) && (g_game->_difficulty != 3)) && (g_game->_challenge != 0x1f)) - && ((int)this[0xd9] < 6)) { - if ((g_game->_timeCounter <= g_game->_bossRushParTime) && (local_70 != (NightmareScene)0x0)) { - NVar12 = this[0x9f]; - local_64 = (NightmareScene)((float)g_game->_timeCounter / (float)g_game->_bossRushParTime); - if (NVar12 == (NightmareScene)0x0) { + && (*(int *)&this->field_0x364 < 6)) { + if ((g_game->_timeCounter <= g_game->_bossRushParTime) && (local_70 != 0.0)) { + pbVar13 = *(byte **)&this->field_0x27c; + local_64 = (Game *)((float)g_game->_timeCounter / (float)g_game->_bossRushParTime); + if (pbVar13 == (byte *)0x0) { LAB_00921997: - bVar6 = ANM2::SetAnimation((ANM2 *)(this + 0x92),(byte *)"Clock",1); + bVar6 = ANM2::SetAnimation((ANM2 *)&this->field_0x248,(byte *)"Clock",1); if (bVar6 != 0) { - AnimationState::Rewind((AnimationState *)(this + 0x9e)); - *(undefined1 *)(this + 0xa3) = 1; + AnimationState::Rewind((AnimationState *)&this->field_0x278); + this->field_0x28c = 1; } } else { - NVar18 = NVar12; - if (0xf < *(uint *)((int)NVar12 + 0x14)) { - NVar18 = *(NightmareScene *)NVar12; + pbVar15 = pbVar13; + if (0xf < *(uint *)(pbVar13 + 0x14)) { + pbVar15 = *(byte **)pbVar13; } - pcVar16 = "Clock"; + pcVar19 = "Clock"; do { - bVar6 = *(byte *)NVar18; - bVar17 = bVar6 < (byte)*pcVar16; - if (bVar6 != *pcVar16) { + bVar6 = *pbVar15; + bVar21 = bVar6 < (byte)*pcVar19; + if (bVar6 != *pcVar19) { LAB_00921973: - uVar13 = -(uint)bVar17 | 1; + uVar14 = -(uint)bVar21 | 1; goto LAB_00921978; } if (bVar6 == 0) break; - bVar6 = *(byte *)((int)NVar18 + 1); - bVar17 = bVar6 < (byte)pcVar16[1]; - if (bVar6 != pcVar16[1]) goto LAB_00921973; - NVar18 = (NightmareScene)((int)NVar18 + 2); - pcVar16 = pcVar16 + 2; + bVar6 = pbVar15[1]; + bVar21 = bVar6 < (byte)pcVar19[1]; + if (bVar6 != pcVar19[1]) goto LAB_00921973; + pbVar15 = pbVar15 + 2; + pcVar19 = pcVar19 + 2; } while (bVar6 != 0); - uVar13 = 0; + uVar14 = 0; LAB_00921978: - if ((uVar13 != 0) || - ((*(byte *)((int)NVar12 + 0x34) != 0 && (*(char *)(this + 0xa3) == '\0')))) + if ((uVar14 != 0) || ((pbVar13[0x34] != 0 && (this->field_0x28c == '\0')))) goto LAB_00921997; } local_54.y = 24.0; local_54.x = (float)local_64 * 135.0 + (float)local_5c; - if (this[0xd4].field_0x1 != '\0') { - if (*(char *)(this + 0xae) == '\0') { + if (this->field_0x351 != '\0') { + if (this->field_0x2b8 == '\0') { AnimationState::Render(&local_54,&g_vectorZero,&g_vectorZero); } else { @@ -790223,23 +791608,23 @@ LAB_00921978: } } if (-2 < (int)local_74) { - ANM2::SetAnimation((ANM2 *)(this + 0x92),(byte *)"IsaacIndicator",1); - if (this[0x9f] != (NightmareScene)0x0) { - AnimationState::SetFrameFloat((AnimationState *)(this + 0x9e)); + ANM2::SetAnimation((ANM2 *)&this->field_0x248,(byte *)"IsaacIndicator",1); + if (*(int *)&this->field_0x27c != 0) { + AnimationState::SetFrameFloat((AnimationState *)&this->field_0x278); } - fVar19 = 5.60519e-44; + fVar12 = 5.60519e-44; if ((int)local_88.y < 0x28) { - fVar19 = local_88.y; + fVar12 = local_88.y; } local_54.y = 24.0; - fVar14 = 1.4013e-44; - if (10 < (int)fVar19) { - fVar14 = fVar19; + fVar17 = 1.4013e-44; + if (10 < (int)fVar12) { + fVar17 = fVar12; } local_54.x = ((float)(int)local_74 * 27.0 + (float)local_5c) - - (1.0 - (float)((int)fVar14 + -10) / 30.0) * (float)(int)local_78 * 27.0; - if (this[0xd4].field_0x1 != '\0') { - if (*(char *)(this + 0xae) == '\0') { + (1.0 - (float)((int)fVar17 + -10) / 30.0) * (float)(int)local_78 * 27.0; + if (this->field_0x351 != '\0') { + if (this->field_0x2b8 == '\0') { AnimationState::Render(&local_54,&g_vectorZero,&g_vectorZero); } else { @@ -790249,8 +791634,8 @@ LAB_00921978: } } LAB_00921b36: - fVar19 = 0.0; - if (0.0 < (float)this[0xd7]) { + fVar12 = 0.0; + if (0.0 < *(float *)&this->field_0x35c) { g_graphicsManager_blendMode[1] = 1; if (((byte)g_graphicsManager_flags & 4) == 0) { g_graphicsManager_blendMode[1] = 6; @@ -790258,14 +791643,14 @@ LAB_00921b36: g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; - NStack_1c = this[0xd7]; + g_graphicsManager_blendMode[4] = 7; + uStack_1c = *(undefined4 *)&this->field_0x35c; local_18 = 0; local_28 = 0; uStack_24 = 0; uStack_20 = 0; render_quad_set_uniform_color(g_screenHeight,&local_28); - if ((local_d4 + local_c0 + local_ac + local_98) * 0.25 != fVar19) { + if ((local_d4 + local_c0 + local_ac + local_98) * 0.25 != fVar12) { shader_push("KAGE_ColorShader"); local_28 = 0; local_38 = 0; @@ -790273,19 +791658,19 @@ LAB_00921b36: local_34 = 0; uStack_20 = 0x3f800000; local_30 = 0x3f800000; - NStack_1c = (NightmareScene)0x3f800000; + uStack_1c = 0x3f800000; uStack_24 = 0x3f800000; local_18 = local_18 & 0xffffff00; kage_graphics_flush(0); render_quad_draw(&local_38,local_100,1,extraout_ECX); - uVar13 = g_shaderStackSize; + uVar14 = g_shaderStackSize; if (g_shaderStackSize == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Shader stack empty\n"); } - puVar15 = (undefined4 *)FUN_00684fc0(); - g_shaderStackSize = uVar13 - 1; - g_currentShader = (void *)*puVar15; + puVar18 = (undefined4 *)FUN_00684fc0(); + g_shaderStackSize = uVar14 - 1; + g_currentShader = (void *)*puVar18; if (g_shaderStackSize == 0) { DAT_00c379d8 = 0; } @@ -790304,42 +791689,42 @@ LAB_00921b36: void __thiscall NightmareScene::Show(NightmareScene *this,byte unk) { - NightmareScene NVar1; - RoomConfig_Room *pRVar2; - int iVar3; - void **ppvVar4; - void *pvVar5; - bool bVar6; - Manager *pMVar7; - NightmareScene *pNVar8; - char cVar9; - byte bVar10; - int iVar11; - std_string *psVar12; - NightmareScene NVar13; - RoomConfig_Room *pRVar14; - short *psVar15; - undefined8 *puVar16; - uint uVar17; - ItemConfig_Item *pIVar18; - NightmareScene NVar19; - EntityConfig_Entity *pEVar20; - NetplayManager NVar21; - uint *puVar22; - LayerState *pLVar23; + undefined4 uVar1; + undefined4 uVar2; + undefined4 uVar3; + RoomConfig_Room *pRVar4; + int iVar5; + void **ppvVar6; + void *pvVar7; + bool bVar8; + Manager *pMVar9; + NightmareScene *pNVar10; + char cVar11; + byte bVar12; + int iVar13; + std_string *psVar14; + int *piVar15; + RoomConfig_Room *pRVar16; + short *psVar17; + undefined8 *puVar18; + uint uVar19; + ItemConfig_Item *pIVar20; + EntityConfig_Entity *pEVar21; + NetplayManager NVar22; + uint *puVar23; + byte *anim; + LayerState *pLVar24; byte extraout_CL; byte extraout_CL_00; byte unk_00; - int stage; - char *****pppppcVar24; - undefined1 *puVar25; - uint uVar26; - Game *pGVar27; + int iVar25; + char *****pppppcVar26; + undefined1 *puVar27; uint uVar28; - NightmareScene NVar29; - PlayerManager *pPVar30; - ANM2 *pAVar31; - NightmareScene *pNVar32; + Game *pGVar29; + uint uVar30; + PlayerManager *pPVar31; + float fVar32; char *pcVar33; undefined4 uVar34; undefined4 local_334; @@ -790374,11 +791759,11 @@ void __thiscall NightmareScene::Show(NightmareScene *this,byte unk) uint local_298; undefined8 uStack_294; undefined4 uStack_28c; - NightmareScene local_288; - NightmareScene NStack_284; - NightmareScene NStack_280; - NightmareScene NStack_27c; - NightmareScene local_278; + int *local_288; + undefined4 uStack_284; + undefined4 uStack_280; + undefined4 uStack_27c; + undefined4 local_278; void **local_274; void *local_270; RoomDescriptor *local_26c; @@ -790432,56 +791817,57 @@ void __thiscall NightmareScene::Show(NightmareScene *this,byte unk) local_1c = ExceptionList; local_2c[2] = __security_cookie ^ (uint)(local_2c + 7); ExceptionList = &local_1c; - puVar22 = (g_game->_playerManager)._playerList._begin; + puVar23 = (g_game->_playerManager)._playerList._begin; local_250 = this; - if ((int)(g_game->_playerManager)._playerList._end - (int)puVar22 >> 2 == 0) { + if ((int)(g_game->_playerManager)._playerList._end - (int)puVar23 >> 2 == 0) { puStack_20 = (undefined1 *)(local_2c + 10); /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n",local_2c[2]); } - local_270 = (void *)*puVar22; - std::string::string((int)this[2] + *(int *)((int)this[5] + (int)this[0xd8] * 4) * 0x18); - pGVar27 = g_game; + local_270 = (void *)*puVar23; + std::string::string(*(int *)&this->field_0x8 + + *(int *)(*(int *)&this->field_0x14 + *(int *)&this->field_0x360 * 4) * 0x18); + pGVar29 = g_game; local_14 = 0; local_29c = 0x4f; std::set::find_node(local_308,&local_29c); if ((*(char *)((int)local_300 + 0xd) != '\0') || (0x4f < *(int *)((int)local_300 + 0x10))) { - local_300 = (pGVar27->_seedEffects)._seedEffects; + local_300 = (pGVar29->_seedEffects)._seedEffects; } - if (local_300 != (pGVar27->_seedEffects)._seedEffects) { - psVar12 = (std_string *)local_a4; + if (local_300 != (pGVar29->_seedEffects)._seedEffects) { + psVar14 = (std_string *)local_a4; if (0xf < local_90) { - psVar12 = local_a4[0]; + psVar14 = local_a4[0]; } - iVar11 = strncmp(psVar12->_buf,"gfx/ui/stage/nightmare",0x16); - if (iVar11 == 0) { - psVar12 = (std_string *)local_a4; + iVar13 = strncmp(psVar14->_buf,"gfx/ui/stage/nightmare",0x16); + if (iVar13 == 0) { + psVar14 = (std_string *)local_a4; if (0xf < local_90) { - psVar12 = local_a4[0]; + psVar14 = local_a4[0]; } local_60 = 0xf; local_74 = (char *)0x0; - local_64 = iVar11; + local_64 = iVar13; local_74 = (char *)std::_Allocate(); local_64 = 0x23; local_60 = 0x2f; builtin_strncpy(local_74,"gfx/promo/gfuel/ui/stage/nightmareg",0x24); local_14._0_1_ = 1; - FUN_0060c790((undefined1 *)((int)&psVar12->_capacity + 2)); + FUN_0060c790((undefined1 *)((int)&psVar14->_capacity + 2)); local_14._0_1_ = 3; if (0xf < local_60) { - uVar26 = local_60 + 1; + uVar28 = local_60 + 1; pcVar33 = local_74; - if (0xfff < uVar26) { + if (0xfff < uVar28) { pcVar33 = *(char **)(local_74 + -4); - uVar26 = local_60 + 0x24; + uVar28 = local_60 + 0x24; if ((char *)0x1f < local_74 + (-4 - (int)pcVar33)) { LAB_00921eab: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pcVar33,uVar26); + operator_delete(pcVar33,uVar28); } local_64 = 0; local_60 = 0xf; @@ -790490,11 +791876,11 @@ LAB_00921eab: local_14 = CONCAT31(local_14._1_3_,4); ANM2::Load(&local_238,(std_string *)local_e0,1); if (local_238._loaded != 0) { - psVar12 = (std_string *)local_e0; + psVar14 = (std_string *)local_e0; if (0xf < local_cc) { - psVar12 = local_e0[0]; + psVar14 = local_e0[0]; } - std::string::assign(psVar12,local_d0); + std::string::assign(psVar14,local_d0); } local_14._0_1_ = 5; ANM2::Reset(&local_238); @@ -790504,64 +791890,64 @@ LAB_00921eab: std::string::_Tidy_deallocate(); local_14 = (uint)local_14._1_3_ << 8; if (0xf < local_cc) { - uVar26 = local_cc + 1; - psVar12 = local_e0[0]; - if (0xfff < uVar26) { - psVar12 = (std_string *)local_e0[0][-1]._capacity; - uVar26 = local_cc + 0x24; - if (0x1f < (uint)((int)local_e0[0] + (-4 - (int)psVar12))) { + uVar28 = local_cc + 1; + psVar14 = local_e0[0]; + if (0xfff < uVar28) { + psVar14 = (std_string *)local_e0[0][-1]._capacity; + uVar28 = local_cc + 0x24; + if (0x1f < (uint)((int)local_e0[0] + (-4 - (int)psVar14))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(psVar12,uVar26); + operator_delete(psVar14,uVar28); } local_d0 = 0; local_cc = 0xf; local_e0[0] = (std_string *)((uint)local_e0[0] & 0xffffff00); } } - this[0xe9] = (NightmareScene)0x28; - *(undefined1 *)(this + 0x12f) = 0; - local_288 = (NightmareScene)0x0; - NStack_284 = (NightmareScene)0x0; - NStack_280 = (NightmareScene)0x0; - NStack_27c = (NightmareScene)0x0; - local_278 = (NightmareScene)0x0; - NVar13 = (NightmareScene)operator_new(8); - pNVar8 = local_250; - *(int *)((int)NVar13 + 4) = 0; - *(NightmareScene **)NVar13 = &local_288; - pNVar32 = this + 0x130; + *(undefined4 *)(this + 1) = 0x28; + this[1].field_0x118 = 0; + local_288 = (int *)0x0; + uStack_284 = 0; + uStack_280 = 0; + uStack_27c = 0; + local_278 = 0; + piVar15 = (int *)operator_new(8); + pNVar10 = local_250; + piVar15[1] = 0; + *piVar15 = (int)&local_288; + puVar27 = &this[1].field_0x11c; local_14._0_1_ = 6; - local_288 = NVar13; - if (pNVar32 != &local_288) { - local_288 = *pNVar32; - *pNVar32 = NVar13; - if (NVar13 != (NightmareScene)0x0) { - *(NightmareScene **)NVar13 = pNVar32; + local_288 = piVar15; + if ((int **)puVar27 != &local_288) { + local_288 = *(int **)puVar27; + *(int **)puVar27 = piVar15; + if (piVar15 != (int *)0x0) { + *piVar15 = (int)puVar27; } - if (local_288 != (NightmareScene)0x0) { - *(NightmareScene **)local_288 = &local_288; + if (local_288 != (int *)0x0) { + *local_288 = (int)&local_288; } - NVar13 = this[0x131]; - this[0x131] = NStack_284; - NVar29 = this[0x132]; - this[0x132] = NStack_280; - NVar19 = this[0x133]; - this[0x133] = NStack_27c; - NVar1 = this[0x134]; - this[0x134] = local_278; - NStack_284 = NVar13; - NStack_280 = NVar29; - NStack_27c = NVar19; - local_278 = NVar1; + uVar34 = *(undefined4 *)&this[1].field_0x120; + *(undefined4 *)&this[1].field_0x120 = uStack_284; + uVar1 = *(undefined4 *)&this[1].field_0x124; + *(undefined4 *)&this[1].field_0x124 = uStack_280; + uVar2 = *(undefined4 *)&this[1].field_0x128; + *(undefined4 *)&this[1].field_0x128 = uStack_27c; + uVar3 = *(undefined4 *)&this[1].field_0x12c; + *(undefined4 *)&this[1].field_0x12c = local_278; + uStack_284 = uVar34; + uStack_280 = uVar1; + uStack_27c = uVar2; + local_278 = uVar3; } - if (*(char *)(local_250 + 0x17a) == '\0') { - iVar11 = PlayerManager::FirstCollectibleOwner + if (local_250[1].field_0x244 == '\0') { + iVar13 = PlayerManager::FirstCollectibleOwner (&g_game->_playerManager,0x236,&g_game->_playerManager,1); - if ((iVar11 == 0) || (g_game->_stage == 0xd)) goto LAB_00922e4a; - if (pNVar8[300].field_0x1 == '\0') { + if ((iVar13 == 0) || (g_game->_stage == 0xd)) goto LAB_00922e4a; + if (pNVar10[1].field_0x10d == '\0') { local_5c._size = 0; local_5c._capacity = 0xf; local_5c._buf[0] = '\0'; @@ -790573,25 +791959,25 @@ LAB_00921eab: local_5c._capacity = 0x1f; builtin_strncpy((char *)local_5c._buf._0_4_,"gfx/ui/Death Screen.anm2",0x19); local_14._0_1_ = 7; - ANM2::Load((ANM2 *)(pNVar8 + 0xea),&local_5c,1); + ANM2::Load((ANM2 *)&pNVar10[1].field_0x4,&local_5c,1); local_14._0_1_ = 6; if (0xf < local_5c._capacity) { - uVar26 = local_5c._capacity + 1; + uVar28 = local_5c._capacity + 1; pcVar33 = (char *)local_5c._buf._0_4_; - if (0xfff < uVar26) { + if (0xfff < uVar28) { pcVar33 = *(char **)(local_5c._buf._0_4_ + -4); - uVar26 = local_5c._capacity + 0x24; + uVar28 = local_5c._capacity + 0x24; if ((char *)0x1f < (char *)(local_5c._buf._0_4_ + (-4 - (int)pcVar33))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pcVar33,uVar26); + operator_delete(pcVar33,uVar28); } local_5c._size = 0; local_5c._capacity = 0xf; local_5c._buf._0_4_ = local_5c._buf._0_4_ & 0xffffff00; - ANM2::Play((ANM2 *)(pNVar8 + 0xea),(byte *)"Diary",0); + ANM2::Play((ANM2 *)&pNVar10[1].field_0x4,(byte *)"Diary",0); local_314 = 0xbe036113; local_324 = 0; uStack_320 = 0; @@ -790603,67 +791989,67 @@ LAB_00921eab: uStack_32c = 0x3fcc710d; uStack_328 = 0x3f800000; local_30c = 0xbe28240b; - Sprite::SetColor((Sprite *)(pNVar8 + 0xea),&local_334); + Sprite::SetColor((Sprite *)&pNVar10[1].field_0x4,&local_334); } - pGVar27 = g_game; - *(undefined1 *)(pNVar8 + 0x12f) = 1; - pNVar8[0xe9] = (NightmareScene)0xa; - local_26c = pGVar27->_roomList; + pGVar29 = g_game; + pNVar10[1].field_0x118 = 1; + *(undefined4 *)(pNVar10 + 1) = 10; + local_26c = pGVar29->_roomList; local_274 = (void **)0x0; - if (0 < pGVar27->_nbRooms) { - local_258 = &pGVar27->_roomList[0].Data; + if (0 < pGVar29->_nbRooms) { + local_258 = &pGVar29->_roomList[0].Data; LAB_00922220: - ppvVar4 = local_258; + ppvVar6 = local_258; if (local_258[-1] != (void *)0x0) goto LAB_009228d6; - pRVar2 = *local_258; - local_25c = pRVar2; - if (((pRVar2 == (RoomConfig_Room *)0x0) || (pRVar2->Type != 4)) || + pRVar4 = *local_258; + local_25c = pRVar4; + if (((pRVar4 == (RoomConfig_Room *)0x0) || (pRVar4->Type != 4)) || (local_258[0x29] != (void *)0xffffffff)) goto LAB_009228d6; - iVar11 = PlayerManager::FirstCollectibleOwner - (&pGVar27->_playerManager,0x19e,&pGVar27->_playerManager,1); - if (iVar11 != 0) { - uVar26 = (uint)ppvVar4[0x13]; + iVar13 = PlayerManager::FirstCollectibleOwner + (&pGVar29->_playerManager,0x19e,&pGVar29->_playerManager,1); + if (iVar13 != 0) { + uVar28 = (uint)ppvVar6[0x13]; local_2b8 = 0x500000001; local_254 = (EntityConfig_Entity *)0x10; local_2b0 = 0x10; - if (uVar26 == 0) { + if (uVar28 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar26 = uVar26 >> 1 ^ uVar26; - uVar26 = uVar26 << 5 ^ uVar26; - stage = 0; - local_254 = (EntityConfig_Entity *)(uVar26 >> 0x10 ^ uVar26); - iVar11 = g_game->_stageType; - if ((iVar11 == 4) || (iVar11 == 5)) { - iVar3 = g_game->_stage; - if ((iVar3 == 1) || (iVar3 == 2)) { - stage = (iVar11 != 4) + 0x1b; + uVar28 = uVar28 >> 1 ^ uVar28; + uVar28 = uVar28 << 5 ^ uVar28; + iVar25 = 0; + local_254 = (EntityConfig_Entity *)(uVar28 >> 0x10 ^ uVar28); + iVar13 = g_game->_stageType; + if ((iVar13 == 4) || (iVar13 == 5)) { + iVar5 = g_game->_stage; + if ((iVar5 == 1) || (iVar5 == 2)) { + iVar25 = (iVar13 != 4) + 0x1b; } - else if ((iVar3 == 3) || (iVar3 == 4)) { - stage = (iVar11 != 4) + 0x1d; + else if ((iVar5 == 3) || (iVar5 == 4)) { + iVar25 = (iVar13 != 4) + 0x1d; } - else if ((iVar3 == 5) || (iVar3 == 6)) { - stage = (iVar11 != 4) + 0x1f; + else if ((iVar5 == 5) || (iVar5 == 6)) { + iVar25 = (iVar13 != 4) + 0x1f; } } - if (pRVar2->Subtype == 0) { - uVar26 = 1; + if (pRVar4->Subtype == 0) { + uVar28 = 1; } else { - if (pRVar2->Subtype != 2) goto LAB_00922378; - uVar26 = 3; + if (pRVar4->Subtype != 2) goto LAB_00922378; + uVar28 = 3; } - pRVar14 = RoomConfig::GetRandomRoom - (&g_game->_roomConfig,(uint)local_254,0,stage,4,pRVar2->Shape,0,-1,1,10, - (uint *)&pRVar2->Doors,uVar26,-1); - local_25c = pRVar2; - if (pRVar14 != (RoomConfig_Room *)0x0) { - local_25c = pRVar14; + pRVar16 = RoomConfig::GetRandomRoom + (&g_game->_roomConfig,(uint)local_254,0,iVar25,4,pRVar4->Shape,0,-1,1,10 + ,(uint *)&pRVar4->Doors,uVar28,-1); + local_25c = pRVar4; + if (pRVar16 != (RoomConfig_Room *)0x0) { + local_25c = pRVar16; } } LAB_00922378: - iVar11 = 0; + iVar13 = 0; local_34 = 0; local_30 = 0xf; local_44[0] = (char *****)0x0; @@ -790677,15 +792063,15 @@ LAB_00922378: local_260 = 0; if (local_25c->SpawnCount == 0) { LAB_00922789: - uVar26 = local_30; + uVar28 = local_30; if (0x7fffffff - (local_30 >> 1) < local_30) { - uVar28 = 0x7fffffff; + uVar30 = 0x7fffffff; } else { - uVar17 = local_30 + (local_30 >> 1); - uVar28 = 0x1f; - if (0x1f < uVar17) { - uVar28 = uVar17; + uVar19 = local_30 + (local_30 >> 1); + uVar30 = 0x1f; + if (0x1f < uVar19) { + uVar30 = uVar19; } } local_248 = (char *****)std::_Allocate(); @@ -790695,18 +792081,18 @@ LAB_00922789: local_248[2] = (char ****)0x6d6f6f52; local_248[3] = (char ****)0x706f6f50; *(char *)(local_248 + 4) = '\0'; - local_30 = uVar28; - if (0xf < uVar26) { - uVar17 = uVar26 + 1; - pppppcVar24 = local_44[0]; - if (0xfff < uVar17) { - pppppcVar24 = (char *****)local_44[0][-1]; - uVar17 = uVar26 + 0x24; - if ((char *)0x1f < (char *)((int)local_44[0] + (-4 - (int)pppppcVar24))) + local_30 = uVar30; + if (0xf < uVar28) { + uVar19 = uVar28 + 1; + pppppcVar26 = local_44[0]; + if (0xfff < uVar19) { + pppppcVar26 = (char *****)local_44[0][-1]; + uVar19 = uVar28 + 0x24; + if ((char *)0x1f < (char *)((int)local_44[0] + (-4 - (int)pppppcVar26))) goto LAB_00921eab; } LAB_009227fa: - operator_delete(pppppcVar24,uVar17); + operator_delete(pppppcVar26,uVar19); } LAB_00922809: local_44[0] = local_248; @@ -790714,89 +792100,89 @@ LAB_00922809: else { local_24c = (EntityConfig_Entity *)0x0; do { - if (1 < iVar11) break; + if (1 < iVar13) break; if (local_264 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } local_264 = local_264 >> ((byte)local_2c8 & 0x1f) ^ local_264; local_264 = local_264 << ((byte)((ulonglong)local_2c8 >> 0x20) & 0x1f) ^ local_264; - uVar26 = local_264 >> ((byte)local_254 & 0x1f) ^ local_264; - psVar15 = (short *)((int)local_25c->Spawns + (int)local_24c); - local_248 = (char *****)(*psVar15 + 1 + (psVar15[1] + 1) * (uint)local_25c->Width); - local_264 = uVar26; - if ((char)psVar15[4] != '\0') { - puVar16 = (undefined8 *) - Spawn::PickEntry((float)((double)(int)uVar26 + - __uint_to_double_fixup[-((int)uVar26 >> 0x1f)]) * + uVar28 = local_264 >> ((byte)local_254 & 0x1f) ^ local_264; + psVar17 = (short *)((int)local_25c->Spawns + (int)local_24c); + local_248 = (char *****)(*psVar17 + 1 + (psVar17[1] + 1) * (uint)local_25c->Width); + local_264 = uVar28; + if ((char)psVar17[4] != '\0') { + puVar18 = (undefined8 *) + Spawn::PickEntry((float)((double)(int)uVar28 + + __uint_to_double_fixup[-((int)uVar28 >> 0x1f)]) * 2.3283062e-10); - local_b0 = *puVar16; - local_a8 = *(undefined4 *)(puVar16 + 1); - Room::TransformEntry(&local_b0,local_248,uVar26); + local_b0 = *puVar18; + local_a8 = *(undefined4 *)(puVar18 + 1); + Room::TransformEntry(&local_b0,local_248,uVar28); uStack_294 = 0x900000005; local_248 = (char *****)&DAT_00000007; - if (uVar26 == 0) { + if (uVar28 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar26 = uVar26 >> 5 ^ uVar26; + uVar28 = uVar28 >> 5 ^ uVar28; uStack_2a8 = 0x900000005; - uVar26 = uVar26 << 9 ^ uVar26; - local_2ac = uVar26 >> 7 ^ uVar26; + uVar28 = uVar28 << 9 ^ uVar28; + local_2ac = uVar28 >> 7 ^ uVar28; pvStack_2a0 = (void *)0x7; uStack_294 = 0x900000005; uStack_28c = 7; local_298 = local_2ac; if (((int)local_b0 == 5) && (local_b0._4_2_ == 100)) { - uVar17 = (uint)local_b0._6_2_; - if (uVar17 == 0) { - if (uVar26 >> 7 == uVar26) { + uVar19 = (uint)local_b0._6_2_; + if (uVar19 == 0) { + if (uVar28 >> 7 == uVar28) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } local_298 = local_2ac >> 5 ^ local_2ac; local_298 = local_298 << 9 ^ local_298; local_298 = local_298 >> 7 ^ local_298; - uVar17 = ItemPool::GetSeededCollectible((RoomDescriptor *)(local_258 + -4)); + uVar19 = ItemPool::GetSeededCollectible((RoomDescriptor *)(local_258 + -4)); } - pIVar18 = ItemConfig::GetCollectible(&g_manager->_itemConfig,uVar17); - local_2c[iVar11] = (uint)pIVar18; - iVar11 = iVar11 + 1; + pIVar20 = ItemConfig::GetCollectible(&g_manager->_itemConfig,uVar19); + local_2c[iVar13] = (uint)pIVar20; + iVar13 = iVar13 + 1; } } local_24c = (EntityConfig_Entity *)((local_24c->name)._buf + 4); local_260 = local_260 + 1; } while (local_260 < (ushort)local_25c->SpawnCount); - uVar26 = local_30; - pppppcVar24 = local_44[0]; - if (iVar11 == 0) { + uVar28 = local_30; + pppppcVar26 = local_44[0]; + if (iVar13 == 0) { if (0xf < local_30) { local_34 = 0x10; memmove(local_44[0],"TreasureRoomPoop",0x10); - *(char *)(pppppcVar24 + 4) = '\0'; + *(char *)(pppppcVar26 + 4) = '\0'; goto LAB_0092280c; } goto LAB_00922789; } - if (iVar11 == 1) { + if (iVar13 == 1) { if (0xb < local_30) { local_34 = 0xc; - pppppcVar24 = (char *****)local_44; + pppppcVar26 = (char *****)local_44; if (0xf < local_30) { - pppppcVar24 = local_44[0]; + pppppcVar26 = local_44[0]; } - memmove(pppppcVar24,"TreasureRoom",0xc); - *(char *)(pppppcVar24 + 3) = '\0'; + memmove(pppppcVar26,"TreasureRoom",0xc); + *(char *)(pppppcVar26 + 3) = '\0'; goto LAB_0092280c; } if (0x7fffffff - (local_30 >> 1) < local_30) { - uVar28 = 0x7fffffff; + uVar30 = 0x7fffffff; } else { - uVar17 = local_30 + (local_30 >> 1); - uVar28 = 0xf; - if (0xf < uVar17) { - uVar28 = uVar17; + uVar19 = local_30 + (local_30 >> 1); + uVar30 = 0xf; + if (0xf < uVar19) { + uVar30 = uVar19; } } local_248 = (char *****)std::_Allocate(); @@ -790806,26 +792192,26 @@ LAB_00922809: local_248[2] = (char ****)0x6d6f6f52; *(char *)(local_248 + 3) = '\0'; LAB_009226d0: - local_30 = uVar28; - if (uVar26 < 0x10) goto LAB_00922809; - uVar17 = uVar26 + 1; - pppppcVar24 = local_44[0]; - if (uVar17 < 0x1000) goto LAB_009227fa; - pppppcVar24 = (char *****)local_44[0][-1]; - uVar17 = uVar26 + 0x24; - if ((char *)0x1f < (char *)((int)local_44[0] + (-4 - (int)pppppcVar24))) + local_30 = uVar30; + if (uVar28 < 0x10) goto LAB_00922809; + uVar19 = uVar28 + 1; + pppppcVar26 = local_44[0]; + if (uVar19 < 0x1000) goto LAB_009227fa; + pppppcVar26 = (char *****)local_44[0][-1]; + uVar19 = uVar28 + 0x24; + if ((char *)0x1f < (char *)((int)local_44[0] + (-4 - (int)pppppcVar26))) goto LAB_00921eab; goto LAB_009227fa; } if (local_30 < 0x12) { if (0x7fffffff - (local_30 >> 1) < local_30) { - uVar28 = 0x7fffffff; + uVar30 = 0x7fffffff; } else { - uVar17 = local_30 + (local_30 >> 1); - uVar28 = 0x1f; - if (0x1f < uVar17) { - uVar28 = uVar17; + uVar19 = local_30 + (local_30 >> 1); + uVar30 = 0x1f; + if (0x1f < uVar19) { + uVar30 = uVar19; } } local_248 = (char *****)std::_Allocate(); @@ -790839,123 +792225,123 @@ LAB_009226d0: goto LAB_009226d0; } local_34 = 0x12; - pppppcVar24 = (char *****)local_44; + pppppcVar26 = (char *****)local_44; if (0xf < local_30) { - pppppcVar24 = local_44[0]; + pppppcVar26 = local_44[0]; } - memmove(pppppcVar24,"TreasureRoomDouble",0x12); - *(char *)((int)pppppcVar24 + 0x12) = '\0'; + memmove(pppppcVar26,"TreasureRoomDouble",0x12); + *(char *)((int)pppppcVar26 + 0x12) = '\0'; } LAB_0092280c: - pNVar8 = local_250; - NVar13 = local_250[0x134]; - NVar29 = local_250[0x132]; - if ((uint)NVar29 <= (int)NVar13 + 1U) { - std::deque<32byte>::_Growmap(NVar13); - NVar29 = pNVar8[0x132]; - NVar13 = pNVar8[0x134]; + pNVar10 = local_250; + iVar13 = *(int *)&local_250[1].field_0x12c; + uVar28 = *(uint *)&local_250[1].field_0x124; + if (uVar28 <= iVar13 + 1U) { + std::deque<32byte>::_Growmap(iVar13); + uVar28 = *(uint *)&pNVar10[1].field_0x124; + iVar13 = *(int *)&pNVar10[1].field_0x12c; } - NVar19 = (NightmareScene)((int)NVar29 - 1U & (uint)pNVar8[0x133]); - pNVar8[0x133] = NVar19; - uVar26 = (int)NVar29 - 1U & (int)NVar19 + (int)NVar13; - NVar13 = pNVar8[0x131]; - if (*(int *)((int)NVar13 + uVar26 * 4) == 0) { + uVar19 = uVar28 - 1 & *(uint *)&pNVar10[1].field_0x128; + *(uint *)&pNVar10[1].field_0x128 = uVar19; + uVar28 = uVar28 - 1 & uVar19 + iVar13; + iVar13 = *(int *)&pNVar10[1].field_0x120; + if (*(int *)(iVar13 + uVar28 * 4) == 0) { uVar34 = operator_new(0x20); - *(undefined4 *)((int)pNVar8[0x131] + uVar26 * 4) = uVar34; - NVar13 = pNVar8[0x131]; + *(undefined4 *)(*(int *)&pNVar10[1].field_0x120 + uVar28 * 4) = uVar34; + iVar13 = *(int *)&pNVar10[1].field_0x120; } - iVar11 = *(int *)((int)NVar13 + uVar26 * 4); + iVar13 = *(int *)(iVar13 + uVar28 * 4); std::string::string(local_44); - *(uint *)(iVar11 + 0x18) = local_2c[0]; - *(uint *)(iVar11 + 0x1c) = local_2c[1]; - pNVar8[0x134] = (NightmareScene)((int)pNVar8[0x134] + 1); + *(uint *)(iVar13 + 0x18) = local_2c[0]; + *(uint *)(iVar13 + 0x1c) = local_2c[1]; + *(int *)&pNVar10[1].field_0x12c = *(int *)&pNVar10[1].field_0x12c + 1; local_14._0_1_ = 6; if (0xf < local_30) { - uVar26 = local_30 + 1; - pppppcVar24 = local_44[0]; - if (0xfff < uVar26) { - pppppcVar24 = (char *****)local_44[0][-1]; - uVar26 = local_30 + 0x24; - if ((char *)0x1f < (char *)((int)local_44[0] + (-4 - (int)pppppcVar24))) + uVar28 = local_30 + 1; + pppppcVar26 = local_44[0]; + if (0xfff < uVar28) { + pppppcVar26 = (char *****)local_44[0][-1]; + uVar28 = local_30 + 0x24; + if ((char *)0x1f < (char *)((int)local_44[0] + (-4 - (int)pppppcVar26))) goto LAB_00921eab; } - operator_delete(pppppcVar24,uVar26); + operator_delete(pppppcVar26,uVar28); } local_34 = 0; local_30 = 0xf; local_44[0] = (char *****)((uint)local_44[0] & 0xffffff00); - pGVar27 = g_game; + pGVar29 = g_game; LAB_009228d6: local_274 = (void **)((int)local_274 + 1); local_258 = local_258 + 0x2e; - if (pGVar27->_nbRooms <= (int)local_274) goto LAB_009228fb; + if (pGVar29->_nbRooms <= (int)local_274) goto LAB_009228fb; goto LAB_00922220; } LAB_009228fb: local_260 = 0; - if (0 < pGVar27->_nbRooms) { + if (0 < pGVar29->_nbRooms) { local_25c = (RoomConfig_Room *)&local_26c->Group; do { if (local_25c[-2].Subtype == 0) { - iVar11 = *(int *)&local_25c[-2].field_0x14; - if ((((iVar11 != 0) && (*(int *)(iVar11 + 8) == 5)) && (local_25c->StageId == -1)) && - (((pGVar27->_difficulty != 2 && (pGVar27->_difficulty != 3)) || - (pGVar27->_lastBossRoomListIdx == local_25c[-2].Variant)))) { - uVar26 = local_25c[-1].Mode; + iVar13 = *(int *)&local_25c[-2].field_0x14; + if ((((iVar13 != 0) && (*(int *)(iVar13 + 8) == 5)) && (local_25c->StageId == -1)) && + (((pGVar29->_difficulty != 2 && (pGVar29->_difficulty != 3)) || + (pGVar29->_lastBossRoomListIdx == local_25c[-2].Variant)))) { + uVar28 = local_25c[-1].Mode; local_26c = (RoomDescriptor *)&DAT_00000007; local_2d0 = 7; - iVar11 = *(ushort *)(iVar11 + 0x44) - 1; + iVar13 = *(ushort *)(iVar13 + 0x44) - 1; local_2d8 = 0x700000002; local_258 = (void **)0x0; local_274 = (void **)0x0; local_24c = (EntityConfig_Entity *)0x0; local_254 = (EntityConfig_Entity *)0x0; - if (iVar11 < 0) { + if (iVar13 < 0) { LAB_00922baf: - pMVar7 = g_manager; - if (((pGVar27->_gameStateFlags & 0x800000000000) == 0) || (pGVar27->_stage != 6)) + pMVar9 = g_manager; + if (((pGVar29->_gameStateFlags & 0x800000000000) == 0) || (pGVar29->_stage != 6)) goto LAB_00922c20; local_268 = 0x2d00000; _Find_lower_bound<>(&uStack_2a8,&local_268); if ((*(char *)((int)pvStack_2a0 + 0xd) != '\0') || (0x2d00000 < *(uint *)((int)pvStack_2a0 + 0x10))) goto LAB_00922c20; - pEVar20 = local_24c; - if (((pvStack_2a0 != (pMVar7->_entityConfig)._entities._head) && + pEVar21 = local_24c; + if (((pvStack_2a0 != (pMVar9->_entityConfig)._entities._head) && ((EntityConfig_Entity *)((int)pvStack_2a0 + 0x18) != (EntityConfig_Entity *)0x0)) && (*(int *)((int)pvStack_2a0 + 0x48) != 0)) { - pEVar20 = (EntityConfig_Entity *)((int)pvStack_2a0 + 0x18); + pEVar21 = (EntityConfig_Entity *)((int)pvStack_2a0 + 0x18); } } else { - local_264 = iVar11 * 0x10; + local_264 = iVar13 * 0x10; do { - if (uVar26 == 0) { + if (uVar28 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar26 = uVar26 >> ((byte)local_2d8 & 0x1f) ^ uVar26; - uVar26 = uVar26 << ((byte)((ulonglong)local_2d8 >> 0x20) & 0x1f) ^ uVar26; - uVar26 = uVar26 >> ((byte)local_26c & 0x1f) ^ uVar26; - psVar15 = (short *)(*(int *)(*(int *)&local_25c[-2].field_0x14 + 0x40) + local_264); + uVar28 = uVar28 >> ((byte)local_2d8 & 0x1f) ^ uVar28; + uVar28 = uVar28 << ((byte)((ulonglong)local_2d8 >> 0x20) & 0x1f) ^ uVar28; + uVar28 = uVar28 >> ((byte)local_26c & 0x1f) ^ uVar28; + psVar17 = (short *)(*(int *)(*(int *)&local_25c[-2].field_0x14 + 0x40) + local_264); local_248 = (char *****) - (*psVar15 + 1 + - (psVar15[1] + 1) * + (*psVar17 + 1 + + (psVar17[1] + 1) * (uint)*(byte *)(*(int *)&local_25c[-2].field_0x14 + 0x46)); - if ((char)psVar15[4] != '\0') { - puVar16 = (undefined8 *) - Spawn::PickEntry((float)((double)(int)uVar26 + - __uint_to_double_fixup[-((int)uVar26 >> 0x1f)]) + if ((char)psVar17[4] != '\0') { + puVar18 = (undefined8 *) + Spawn::PickEntry((float)((double)(int)uVar28 + + __uint_to_double_fixup[-((int)uVar28 >> 0x1f)]) * 2.3283062e-10); - local_244 = *puVar16; - local_23c = *(undefined4 *)(puVar16 + 1); - Room::TransformEntry(&local_244,local_248,uVar26); + local_244 = *puVar18; + local_23c = *(undefined4 *)(puVar18 + 1); + Room::TransformEntry(&local_244,local_248,uVar28); uStack_2f8 = 0x900000005; local_248 = (char *****)&DAT_00000007; - if (uVar26 == 0) { + if (uVar28 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - local_2fc = uVar26 >> 5 ^ uVar26; + local_2fc = uVar28 >> 5 ^ uVar28; uStack_2e8 = 0x900000005; local_2fc = local_2fc << 9 ^ local_2fc; local_2fc = local_2fc >> 7 ^ local_2fc; @@ -790963,65 +792349,65 @@ LAB_00922baf: uStack_2f8 = 0x900000005; uStack_2f0 = 7; local_2ec = local_2fc; - pEVar20 = EntityConfig::GetEntity + pEVar21 = EntityConfig::GetEntity (&g_manager->_entityConfig,(int)local_244, (uint)local_244._4_2_,(uint)local_244._6_2_); - if (pEVar20 != (EntityConfig_Entity *)0x0) { - ppvVar4 = (void **)pEVar20->bossID; - if (ppvVar4 != (void **)0x0) { + if (pEVar21 != (EntityConfig_Entity *)0x0) { + ppvVar6 = (void **)pEVar21->bossID; + if (ppvVar6 != (void **)0x0) { if (local_258 == (void **)0x0) { - local_258 = ppvVar4; - local_24c = pEVar20; + local_258 = ppvVar6; + local_24c = pEVar21; } - else if (ppvVar4 != local_258) { - local_274 = ppvVar4; - local_254 = pEVar20; + else if (ppvVar6 != local_258) { + local_274 = ppvVar6; + local_254 = pEVar21; } } } } local_264 = local_264 - 0x10; - iVar11 = iVar11 + -1; - } while (-1 < iVar11); + iVar13 = iVar13 + -1; + } while (-1 < iVar13); if (local_258 == (void **)0x0) { - pGVar27 = g_game; + pGVar29 = g_game; goto LAB_00922baf; } LAB_00922c20: - pEVar20 = local_24c; + pEVar21 = local_24c; } if ((*(int *)(*(int *)&local_25c[-2].field_0x14 + 8) == 5) && (*(int *)(*(int *)&local_25c[-2].field_0x14 + 0xc) - 0xe74U < 0x96)) { - bVar6 = true; + bVar8 = true; } else { - bVar6 = false; + bVar8 = false; } - if (bVar6) { + if (bVar8) { local_8c[0] = (char *)std::_Allocate(); local_7c = 0x11; local_78 = 0x1f; builtin_strncpy(local_8c[0],"BossDoubleTrouble",0x12); local_14._0_1_ = 9; std::string::string(local_8c); - local_104 = pEVar20; + local_104 = pEVar21; if (local_274 != (void **)0x0) { local_104 = local_254; } local_14._0_1_ = 10; - local_108 = pEVar20; + local_108 = pEVar21; std::deque<32byte>::push_back(local_120); std::string::_Tidy_deallocate(); local_14._0_1_ = 6; if (0xf < local_78) { - uVar26 = local_78 + 1; + uVar28 = local_78 + 1; pcVar33 = local_8c[0]; - if (0xfff < uVar26) { + if (0xfff < uVar28) { pcVar33 = *(char **)(local_8c[0] + -4); - uVar26 = local_78 + 0x24; + uVar28 = local_78 + 0x24; if ((char *)0x1f < local_8c[0] + (-4 - (int)pcVar33)) goto LAB_00921eab; } - operator_delete(pcVar33,uVar26); + operator_delete(pcVar33,uVar28); } local_7c = 0; local_78 = 0xf; @@ -791036,30 +792422,30 @@ LAB_00922c20: std::string::string(local_c8); local_e4 = 0; local_14._0_1_ = 0xc; - local_e8 = pEVar20; + local_e8 = pEVar21; std::deque<32byte>::push_back(local_100); std::string::_Tidy_deallocate(); local_14._0_1_ = 6; if (0xf < local_b4) { - uVar17 = local_b4 + 1; - uVar26 = local_c8[0]; - if (0xfff < uVar17) { - uVar26 = *(uint *)(local_c8[0] - 4); - uVar17 = local_b4 + 0x24; - if (0x1f < (local_c8[0] - uVar26) - 4) goto LAB_00921eab; + uVar19 = local_b4 + 1; + uVar28 = local_c8[0]; + if (0xfff < uVar19) { + uVar28 = *(uint *)(local_c8[0] - 4); + uVar19 = local_b4 + 0x24; + if (0x1f < (local_c8[0] - uVar28) - 4) goto LAB_00921eab; } - operator_delete(uVar26,uVar17); + operator_delete(uVar28,uVar19); } local_b8 = 0; local_b4 = 0xf; local_c8[0] = local_c8[0] & 0xffffff00; } - pGVar27 = g_game; + pGVar29 = g_game; } } local_260 = local_260 + 1; local_25c = local_25c + 2; - } while ((int)local_260 < pGVar27->_nbRooms); + } while ((int)local_260 < pGVar29->_nbRooms); } uVar34 = 0x1e; pcVar33 = "gfx/ui/stage/nightmare_dc.anm2"; @@ -791071,63 +792457,63 @@ LAB_00922c20: std::string::assign(pcVar33,uVar34); LAB_00922e4a: if (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) { - pPVar30 = &g_game->_playerManager; + pPVar31 = &g_game->_playerManager; local_254 = (EntityConfig_Entity *)0x0; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar30->_playerList)._begin >> 2 != + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar31->_playerList)._begin >> 2 != 0) { do { - pEVar20 = local_254; - pvVar5 = (pPVar30->_playerList)._end; - puVar22 = (pPVar30->_playerList)._begin; - if ((int)pvVar5 - (int)puVar22 >> 2 == 0) { + pEVar21 = local_254; + pvVar7 = (pPVar31->_playerList)._end; + puVar23 = (pPVar31->_playerList)._begin; + if ((int)pvVar7 - (int)puVar23 >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - if (local_254 < (EntityConfig_Entity *)((int)pvVar5 - (int)puVar22 >> 2)) { - puVar22 = puVar22 + (int)local_254; + if (local_254 < (EntityConfig_Entity *)((int)pvVar7 - (int)puVar23 >> 2)) { + puVar23 = puVar23 + (int)local_254; } - local_260 = *puVar22; - NVar21 = g_manager->_netplayManager; - if (NVar21 == *(NetplayManager *)(g_manager + 1)) { + local_260 = *puVar23; + NVar22 = g_manager->_netplayManager; + if (NVar22 == *(NetplayManager *)(g_manager + 1)) { LAB_00922f0e: local_270 = (void *)local_260; break; } - puVar25 = (undefined1 *)0x0; - local_26c = (RoomDescriptor *)((int)*(NetplayManager *)(g_manager + 1) - (int)NVar21 >> 2); + puVar27 = (undefined1 *)0x0; + local_26c = (RoomDescriptor *)((int)*(NetplayManager *)(g_manager + 1) - (int)NVar22 >> 2); if (local_26c == (RoomDescriptor *)0x0) goto LAB_00922f0e; - while (*(int *)(*(int *)NVar21 + 0xc) != *(int *)(local_260 + 0x1618)) { - puVar25 = puVar25 + 1; - NVar21 = (NetplayManager)((int)NVar21 + 4); - if (local_26c <= puVar25) goto LAB_00922f0e; + while (*(int *)(*(int *)NVar22 + 0xc) != *(int *)(local_260 + 0x1618)) { + puVar27 = puVar27 + 1; + NVar22 = (NetplayManager)((int)NVar22 + 4); + if (local_26c <= puVar27) goto LAB_00922f0e; } - cVar9 = (**(code **)(*(int *)(*(int *)NVar21 + 0x370) + 0x14))(); - if (cVar9 != '\0') goto LAB_00922f0e; - local_254 = (EntityConfig_Entity *)((int)&pEVar20->id + 1); - pPVar30 = &g_game->_playerManager; + cVar11 = (**(code **)(*(int *)(*(int *)NVar22 + 0x370) + 0x14))(); + if (cVar11 != '\0') goto LAB_00922f0e; + local_254 = (EntityConfig_Entity *)((int)&pEVar21->id + 1); + pPVar31 = &g_game->_playerManager; } while (local_254 < (EntityConfig_Entity *) - ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar30->_playerList)._begin + ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar31->_playerList)._begin >> 2)); } - iVar11 = FUN_0090b070(); - uVar26 = g_manager[1]._state - 5; - uVar26 = -(uint)(uVar26 != 0) & uVar26; + iVar13 = FUN_0090b070(); + uVar28 = g_manager[1]._state - 5; + uVar28 = -(uint)(uVar28 != 0) & uVar28; while( true ) { - if (*(int *)(iVar11 + 0x3a4) == 0) { - uVar17 = g_manager[1]._state; + if (*(int *)(iVar13 + 0x3a4) == 0) { + uVar19 = g_manager[1]._state; } else { - local_268 = *(int *)(iVar11 + 0x3a0); - puVar22 = (uint *)FUN_009012b0(); - uVar17 = *puVar22; + local_268 = *(int *)(iVar13 + 0x3a0); + puVar23 = (uint *)FUN_009012b0(); + uVar19 = *puVar23; } - if (uVar17 < uVar26) break; - NetInputDevice::broadcast_frame_input(uVar26); - uVar26 = uVar26 + 1; + if (uVar19 < uVar28) break; + NetInputDevice::broadcast_frame_input(uVar28); + uVar28 = uVar28 + 1; } } - pNVar8 = local_250; + pNVar10 = local_250; local_268 = *(int *)((int)local_270 + 0x13c0); if ((-1 < local_268) && (local_268 < @@ -791135,91 +792521,92 @@ LAB_00922f0e: (int)(g_manager->_entityConfig)._players._begin) / 0x148)) { local_270 = (void *)(local_268 * 0x148 + (int)(g_manager->_entityConfig)._players._begin); if (local_270 != (void *)0x0) { - iVar11 = (int)local_270 + 0x4c; - Sprite::ReplaceSpritesheet((Sprite *)(local_250 + 8),2,iVar11); - Sprite::ReplaceSpritesheet((Sprite *)(pNVar8 + 8),6,iVar11); - iVar11 = local_268; - pvVar5 = local_270; - ANM2::Reset((ANM2 *)(local_250 + 0x135)); - pNVar8 = local_250; - bVar10 = extraout_CL; - if (*(int *)((int)pvVar5 + 0x8c) != 0) { - ANM2::Load((ANM2 *)(local_250 + 0x135),(std_string *)((int)pvVar5 + 0x7c),1); - NVar13 = (NightmareScene)(pNVar8 + 0x13b); - if (0xf < (uint)pNVar8[0x140]) { - NVar13 = *(NightmareScene *)NVar13; + iVar13 = (int)local_270 + 0x4c; + Sprite::ReplaceSpritesheet((Sprite *)&local_250->field_0x20,2,iVar13); + Sprite::ReplaceSpritesheet((Sprite *)&pNVar10->field_0x20,6,iVar13); + iVar13 = local_268; + pvVar7 = local_270; + ANM2::Reset((ANM2 *)&local_250[1].field_0x130); + pNVar10 = local_250; + bVar12 = extraout_CL; + if (*(int *)((int)pvVar7 + 0x8c) != 0) { + ANM2::Load((ANM2 *)&local_250[1].field_0x130,(std_string *)((int)pvVar7 + 0x7c),1); + anim = &pNVar10[1].field_0x148; + if (0xf < *(uint *)&pNVar10[1].field_0x15c) { + anim = *(byte **)anim; } - ANM2::Play((ANM2 *)(pNVar8 + 0x135),(byte *)NVar13,0); - bVar10 = extraout_CL_00; + ANM2::Play((ANM2 *)&pNVar10[1].field_0x130,anim,0); + bVar12 = extraout_CL_00; } - pGVar27 = g_game; - uVar26 = Game::GetStageID(g_game,bVar10); - std::string::string(pGVar27->_ventricleRazorPortals + uVar26 * 0xc4 + 0x5cc); - pNVar8 = local_250; - pAVar31 = (ANM2 *)(local_250 + 8); + pGVar29 = g_game; + uVar28 = Game::GetStageID(g_game,bVar12); + std::string::string(pGVar29->_ventricleRazorPortals + uVar28 * 0xc4 + 0x5cc); + pNVar10 = local_250; + puVar27 = &local_250->field_0x20; local_14._0_1_ = 0xd; - Sprite::ReplaceSpritesheet((Sprite *)pAVar31,3,local_8c); + Sprite::ReplaceSpritesheet((Sprite *)puVar27,3,local_8c); local_14 = CONCAT31(local_14._1_3_,6); std::string::_Tidy_deallocate(); - ANM2::LoadGraphics(pAVar31,unk_00); - bVar10 = ANM2::SetAnimation(pAVar31,(byte *)"Intro",1); - if (bVar10 != 0) { - AnimationState::Rewind((AnimationState *)(pNVar8 + 0x14)); - *(undefined1 *)(pNVar8 + 0x19) = 1; + ANM2::LoadGraphics((ANM2 *)puVar27,unk_00); + bVar12 = ANM2::SetAnimation((ANM2 *)puVar27,(byte *)"Intro",1); + if (bVar12 != 0) { + AnimationState::Rewind((AnimationState *)&pNVar10->field_0x50); + pNVar10->field_0x64 = 1; } - pNVar8 = local_250; - pAVar31 = (ANM2 *)(local_250 + 0x4d); - ANM2::Reset(pAVar31); - ANM2::Load(pAVar31,(std_string *)local_a4,1); - bVar10 = ANM2::SetAnimation(pAVar31,(byte *)"Scene",1); - if (((bVar10 != 0) && (pNVar8[0x5a] != (NightmareScene)0x0)) && - (AnimationState::SetFrameFloat((AnimationState *)(pNVar8 + 0x59)), - pNVar8[0x5a] != (NightmareScene)0x0)) { - *(undefined1 *)(pNVar8 + 0x5e) = 0; + pNVar10 = local_250; + puVar27 = &local_250->field_0x134; + ANM2::Reset((ANM2 *)puVar27); + ANM2::Load((ANM2 *)puVar27,(std_string *)local_a4,1); + bVar12 = ANM2::SetAnimation((ANM2 *)puVar27,(byte *)"Scene",1); + if (((bVar12 != 0) && (*(int *)&pNVar10->field_0x168 != 0)) && + (AnimationState::SetFrameFloat((AnimationState *)&pNVar10->field_0x164), + *(int *)&pNVar10->field_0x168 != 0)) { + pNVar10->field_0x178 = 0; } - pNVar8 = local_250; - if (((((iVar11 == 4) || (iVar11 == 0x10)) || - ((iVar11 == 0x11 || ((iVar11 == 0xe || (iVar11 == 0x19)))))) || (iVar11 == 0x23)) || - (iVar11 == 0x21)) { - pLVar23 = ANM2::GetLayer((ANM2 *)(local_250 + 8),(byte *)0x2); - pLVar23->_visible = 0; - pLVar23 = ANM2::GetLayer((ANM2 *)(pNVar8 + 8),&DAT_00000006); - pLVar23->_visible = 1; + pNVar10 = local_250; + if (((((iVar13 == 4) || (iVar13 == 0x10)) || + ((iVar13 == 0x11 || ((iVar13 == 0xe || (iVar13 == 0x19)))))) || (iVar13 == 0x23)) || + (iVar13 == 0x21)) { + pLVar24 = ANM2::GetLayer((ANM2 *)&local_250->field_0x20,(byte *)0x2); + pLVar24->_visible = 0; + pLVar24 = ANM2::GetLayer((ANM2 *)&pNVar10->field_0x20,&DAT_00000006); + pLVar24->_visible = 1; } else { - pLVar23 = ANM2::GetLayer((ANM2 *)(local_250 + 8),(byte *)0x2); - pLVar23->_visible = 1; - pLVar23 = ANM2::GetLayer((ANM2 *)(pNVar8 + 8),&DAT_00000006); - pLVar23->_visible = 0; + pLVar24 = ANM2::GetLayer((ANM2 *)&local_250->field_0x20,(byte *)0x2); + pLVar24->_visible = 1; + pLVar24 = ANM2::GetLayer((ANM2 *)&pNVar10->field_0x20,&DAT_00000006); + pLVar24->_visible = 0; } - pNVar8 = local_250; - *local_250 = (NightmareScene)0x1; - local_250[1] = (NightmareScene)0x0; - NVar13 = (NightmareScene)(g_screenHeight * 0.5); - local_250[0x2d] = (NightmareScene)(g_screenWidth * 0.5); - local_250[0x2e] = NVar13; - NVar13 = (NightmareScene)(g_screenHeight * 0.5); - local_250[0x72] = (NightmareScene)(g_screenWidth * 0.5); - local_250[0x73] = NVar13; - pGVar27 = g_game; - local_250[0xd8] = - (NightmareScene) - (((int)local_250[0xd8] + 1U) % (uint)(((int)local_250[3] - (int)local_250[2]) / 0x18)); - NVar13 = (NightmareScene)pGVar27->_stage; - local_250[0xd9] = (NightmareScene)((int)NVar13 + -1); - iVar11 = pGVar27->_stageType; - if ((iVar11 == 4) || (iVar11 == 5)) { - local_250[0xd9] = NVar13; + pNVar10 = local_250; + *(undefined4 *)local_250 = 1; + *(undefined4 *)&local_250->field_0x4 = 0; + fVar32 = g_screenHeight * 0.5; + *(float *)&local_250->field_0xb4 = g_screenWidth * 0.5; + *(float *)&local_250->field_0xb8 = fVar32; + fVar32 = g_screenHeight * 0.5; + *(float *)&local_250->field_0x1c8 = g_screenWidth * 0.5; + *(float *)&local_250->field_0x1cc = fVar32; + pGVar29 = g_game; + *(uint *)&local_250->field_0x360 = + (*(int *)&local_250->field_0x360 + 1U) % + (uint)((*(int *)&local_250->field_0xc - *(int *)&local_250->field_0x8) / 0x18); + iVar13 = pGVar29->_stage; + *(int *)&local_250->field_0x364 = iVar13 + -1; + iVar25 = pGVar29->_stageType; + if ((iVar25 == 4) || (iVar25 == 5)) { + *(int *)&local_250->field_0x364 = iVar13; } - pMVar7 = g_manager; - *(byte *)(local_250 + 0xda) = unk; - iVar11 = 0x60; - if (*(char *)(local_250 + 0x17a) != '\0') { - iVar11 = 0x41; + pMVar9 = g_manager; + cVar11 = local_250[1].field_0x244; + local_250->field_0x368 = unk; + iVar13 = 0x60; + if (cVar11 != '\0') { + iVar13 = 0x41; } - Music::Play((Music *)&pMVar7->_musicManager,iVar11,(pMVar7->_optionsConfig)._musicVolume); + Music::Play((Music *)&pMVar9->_musicManager,iVar13,(pMVar9->_optionsConfig)._musicVolume); if (g_game->_stage == 0xc) { - pNVar8[0xd9] = (NightmareScene)0x9; + *(undefined4 *)&pNVar10->field_0x364 = 9; } std::deque<32byte>::_Tidy(); std::string::_Tidy_deallocate(); @@ -792560,9 +793947,9 @@ LAB_0092466d: pMVar1 = g_manager; local_78->_musicVolume = in_XMM0_Da; (pMVar1->_musicManager)._isEnabled = 0.0 < in_XMM0_Da; - *(float *)((int)&pMVar1->_optionsConfig + *(int *)&pMVar1->_musicManager * 0x184 + -0x208) = + (pMVar1->_musicManager)._channels[(pMVar1->_musicManager)._currentChannel]._volume = (pMVar1->_optionsConfig)._musicVolume; - *(float *)((int)&pMVar1->_optionsConfig + *(int *)&pMVar1->_musicManager * 0x184 + -0x204) = + (pMVar1->_musicManager)._channels[(pMVar1->_musicManager)._currentChannel]._targetVolume = (pMVar1->_optionsConfig)._musicVolume; cVar3 = read_bool("MusicEnabled",1); if (cVar3 == '\0') { @@ -792934,7 +794321,7 @@ void __thiscall OptionsConfig::Save(OptionsConfig *this) pcStack_18c = local_148; uStack_190 = (undefined *)0x924dba; (**(code **)(*piVar3 + 0x1c))(); - uStack_190 = (undefined *)g_manager->_stringTable; + uStack_190 = *(undefined **)&g_manager->_stringTable; pcStack_194 = "Language=%d\r\n"; pcStack_198 = (char *)0x100; uStack_1a0 = (double)CONCAT44(acStack_154,0x924dd9); @@ -793792,9 +795179,9 @@ void __thiscall OptionsConfig::SetMusicVolume(OptionsConfig *this,float volume) pMVar1 = g_manager; this->_musicVolume = volume; (pMVar1->_musicManager)._isEnabled = 0.0 < volume; - *(float *)((int)&pMVar1->_optionsConfig + *(int *)&pMVar1->_musicManager * 0x184 + -0x208) = + (pMVar1->_musicManager)._channels[(pMVar1->_musicManager)._currentChannel]._volume = (pMVar1->_optionsConfig)._musicVolume; - *(float *)((int)&pMVar1->_optionsConfig + *(int *)&pMVar1->_musicManager * 0x184 + -0x204) = + (pMVar1->_musicManager)._channels[(pMVar1->_musicManager)._currentChannel]._targetVolume = (pMVar1->_optionsConfig)._musicVolume; return; } @@ -793969,7 +795356,7 @@ PersistentGameData * __thiscall PersistentGameData::constructor(PersistentGameDa puStack_c = &LAB_00b0a81b; local_10 = ExceptionList; ExceptionList = &local_10; - *(undefined4 *)&this->field_0x4 = 0; + this->_saveFile = (void *)0x0; *(undefined4 *)&this->field_0x8 = 0; *(undefined4 *)&this->field_0x18 = 0; *(undefined4 *)&this->field_0x1c = 0xf; @@ -793979,7 +795366,8 @@ PersistentGameData * __thiscall PersistentGameData::constructor(PersistentGameDa *(undefined4 *)&this->field_0x34 = 0xf; this->field_0x20 = 0; local_8 = 1; - PersistentGameData_Bestiary::constructor((PersistentGameData_Bestiary *)&this->field_0xf64); + PersistentGameData_Bestiary::constructor + ((PersistentGameData_Bestiary *)&this->_bestiaryEncounters); Clear(this,1); ExceptionList = local_10; return this; @@ -794147,9 +795535,11 @@ void FUN_00926240(void) void __thiscall PersistentGameData::Clear(PersistentGameData *this,byte unk) { - undefined1 *puVar1; - int iVar2; - int *piVar3; + std_map *psVar1; + undefined1 *this_00; + void *pvVar2; + int iVar3; + int *piVar4; *(undefined4 *)&this->field_0xf84 = 0; if (unk != 0) { @@ -794157,10 +795547,10 @@ void __thiscall PersistentGameData::Clear(PersistentGameData *this,byte unk) } memset(this->_achievements,0,0x282); memset(&this->field_0xae8,0,0x2dd); - piVar3 = this->_eventCounters; - for (iVar2 = 0x20b; iVar2 != 0; iVar2 = iVar2 + -1) { - *piVar3 = 0; - piVar3 = piVar3 + 1; + piVar4 = this->_eventCounters; + for (iVar3 = 0x20b; iVar3 != 0; iVar3 = iVar3 + -1) { + *piVar4 = 0; + piVar4 = piVar4 + 1; } *(undefined4 *)&this->field_0xdc8 = 0; *(undefined4 *)&this->field_0xdcc = 0; @@ -794210,42 +795600,42 @@ void __thiscall PersistentGameData::Clear(PersistentGameData *this,byte unk) this->_lastDifficulty = 0; this->_characterMenuShown = 0; memset(&this->field_0xf14,0,0x50); - iVar2 = *(int *)&this->field_0xf7c; + pvVar2 = (this->_bestiaryDeaths)._head; FID_conflict__Erase_tree_>_> - (&this->field_0xf7c, - (fuzzer_allocator_> *)&this->field_0xf7c, - *(_Tree_node **)(iVar2 + 4)); - *(int *)(iVar2 + 4) = iVar2; - *(int *)iVar2 = iVar2; - *(int *)(iVar2 + 8) = iVar2; - *(undefined4 *)&this->field_0xf80 = 0; - puVar1 = &this->field_0xf64; - iVar2 = *(int *)puVar1; + (&this->_bestiaryDeaths, + (fuzzer_allocator_> *)&this->_bestiaryDeaths, + *(_Tree_node **)((int)pvVar2 + 4)); + *(void **)((int)pvVar2 + 4) = pvVar2; + *(void **)pvVar2 = pvVar2; + *(void **)((int)pvVar2 + 8) = pvVar2; + (this->_bestiaryDeaths)._size = 0; + psVar1 = &this->_bestiaryEncounters; + pvVar2 = psVar1->_head; FID_conflict__Erase_tree_>_> - (puVar1,(fuzzer_allocator_> *)puVar1, - *(_Tree_node **)(iVar2 + 4)); - *(int *)(iVar2 + 4) = iVar2; - *(int *)iVar2 = iVar2; - *(int *)(iVar2 + 8) = iVar2; - *(undefined4 *)&this->field_0xf68 = 0; - puVar1 = &this->field_0xf74; - iVar2 = *(int *)puVar1; + (psVar1,(fuzzer_allocator_> *)psVar1, + *(_Tree_node **)((int)pvVar2 + 4)); + *(void **)((int)pvVar2 + 4) = pvVar2; + *(void **)pvVar2 = pvVar2; + *(void **)((int)pvVar2 + 8) = pvVar2; + (this->_bestiaryEncounters)._size = 0; + this_00 = &this->field_0xf74; + iVar3 = *(int *)this_00; FID_conflict__Erase_tree_>_> - (puVar1,(fuzzer_allocator_> *)puVar1, - *(_Tree_node **)(iVar2 + 4)); - *(int *)(iVar2 + 4) = iVar2; - *(int *)iVar2 = iVar2; - *(int *)(iVar2 + 8) = iVar2; + (this_00,(fuzzer_allocator_> *)this_00, + *(_Tree_node **)(iVar3 + 4)); + *(int *)(iVar3 + 4) = iVar3; + *(int *)iVar3 = iVar3; + *(int *)(iVar3 + 8) = iVar3; *(undefined4 *)&this->field_0xf78 = 0; - puVar1 = &this->field_0xf6c; - iVar2 = *(int *)puVar1; + psVar1 = &this->_bestiaryKills; + pvVar2 = psVar1->_head; FID_conflict__Erase_tree_>_> - (puVar1,(fuzzer_allocator_> *)puVar1, - *(_Tree_node **)(iVar2 + 4)); - *(int *)(iVar2 + 4) = iVar2; - *(int *)iVar2 = iVar2; - *(int *)(iVar2 + 8) = iVar2; - *(undefined4 *)&this->field_0xf70 = 0; + (psVar1,(fuzzer_allocator_> *)psVar1, + *(_Tree_node **)((int)pvVar2 + 4)); + *(void **)((int)pvVar2 + 4) = pvVar2; + *(void **)pvVar2 = pvVar2; + *(void **)((int)pvVar2 + 8) = pvVar2; + (this->_bestiaryKills)._size = 0; *(undefined2 *)this = 0; this->_isSteamAchievementsEnabled = 1; this->_isFileLoaded = 1; @@ -794312,12 +795702,16 @@ LAB_009264f5: } -//@@ 00926510 FUN_00926510 +//@@ 00926510 save_backup_find_latest /* WARNING: Function: __alloca_probe replaced with injection: alloca_probe */ /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? no ECX; lists "%s/save_backups/" (FUN_00a163f0), sorts names, keeps files whose name + matches PersistentGameData::get_save_file_name after an 8-digit timestamp prefix, + PersistentGameData::Load's each into a stack copy and returns the newest timestamp that loads; + caller FUN_009d98f0 (save menu) */ -int FUN_00926510(void) +int save_backup_find_latest(void) { uint *puVar1; @@ -794342,15 +795736,7 @@ int FUN_00926510(void) longlong lVar20; int local_15c4; uint local_15bc; - undefined1 local_15b8 [4]; - undefined4 *local_15b4; - uint local_15b0; - undefined4 local_15a0; - uint local_159c; - uint local_1598; - undefined4 local_1588; - uint local_1584; - PersistentGameData_Bestiary local_654 [11]; + PersistentGameData local_15b8; undefined1 local_628 [1540]; uint local_24; undefined1 *puStack_20; @@ -794366,7 +795752,7 @@ int FUN_00926510(void) ExceptionList = &local_1c; local_15bc = 0; sprintf(&DAT_00c93e50,"%s/save_backups/",g_userDataDir,local_24); - pvVar6 = (void *)FUN_00a163f0(&DAT_00c93e50,&local_15bc); + pvVar6 = (void *)filesys_list_directory_mounts(&DAT_00c93e50,&local_15bc); uVar11 = local_15bc; iVar7 = operator_new_tracked(); uVar13 = 0; @@ -794406,7 +795792,7 @@ int FUN_00926510(void) } while (uVar13 < uVar11); } } - FUN_0092cbe0((int)(uVar11 * 4) >> 2,FUN_009264b0); + std::_Sort_unchecked<4byte>((int)(uVar11 * 4) >> 2,FUN_009264b0); pbVar9 = (byte *)PersistentGameData::get_save_file_name(); uVar13 = 0; local_15c4 = 0; @@ -794449,48 +795835,49 @@ LAB_00926755: ((int)pcVar3[3] + ((int)pcVar3[2] + ((int)pcVar3[1] + *pcVar3 * 10) * 10) * 10) * 10) * 10) * 10) * 10 + -0x1fca0550, local_15c4 < iVar12)) { - local_15b4 = (undefined4 *)0x0; - local_15a0 = 0; - local_159c = 0xf; - local_15b0 = 0; - local_1588 = 0; - local_1584 = 0xf; - local_1598 = 0; + local_15b8._saveFile = (undefined4 *)0x0; + local_15b8._24_4_ = 0; + local_15b8._28_4_ = 0xf; + local_15b8._8_4_ = 0; + local_15b8._48_4_ = 0; + local_15b8._52_4_ = 0xf; + local_15b8._32_4_ = 0; local_14 = 1; - PersistentGameData_Bestiary::constructor(local_654); - PersistentGameData::Clear((PersistentGameData *)local_15b8,1); + PersistentGameData_Bestiary::constructor + ((PersistentGameData_Bestiary *)&local_15b8._bestiaryEncounters); + PersistentGameData::Clear(&local_15b8,1); local_14 = 2; sprintf(&DAT_00c93e50,"%s/save_backups/",g_userDataDir); sprintf_s(local_628,0x600,&DAT_00b60c28,&DAT_00c93e50,pcVar3); - cVar5 = PersistentGameData::Load((PersistentGameData *)local_15b8,local_628); + cVar5 = PersistentGameData::Load(&local_15b8,local_628); if (cVar5 != '\0') { local_15c4 = iVar12; } local_14 = 3; - if (local_15b4 != (undefined4 *)0x0) { - (**(code **)*local_15b4)(1); + if (local_15b8._saveFile != (undefined4 *)0x0) { + (*(code *)**(undefined4 **)local_15b8._saveFile)(1); } PersistentGameData_Bestiary::~PersistentGameData_Bestiary(); - if (0xf < local_1584) { - uVar17 = local_1584 + 1; - uVar11 = local_1598; + if (0xf < (uint)local_15b8._52_4_) { + uVar17 = local_15b8._52_4_ + 1; + uVar11 = local_15b8._32_4_; if (0xfff < uVar17) { - uVar11 = *(uint *)(local_1598 - 4); - uVar17 = local_1584 + 0x24; - if (0x1f < (local_1598 - uVar11) - 4) goto LAB_009269fc; + uVar11 = *(uint *)(local_15b8._32_4_ - 4); + uVar17 = local_15b8._52_4_ + 0x24; + if (0x1f < (local_15b8._32_4_ - uVar11) - 4) goto LAB_009269fc; } operator_delete(uVar11,uVar17); } - local_1588 = 0; - local_1584 = 0xf; - local_1598 = local_1598 & 0xffffff00; - if (0xf < local_159c) { - uVar17 = local_159c + 1; - uVar11 = local_15b0; + local_15b8._48_4_ = 0; + local_15b8._52_4_ = 0xf; + local_15b8._32_4_ = local_15b8._32_4_ & 0xffffff00; + if (0xf < (uint)local_15b8._28_4_) { + uVar17 = local_15b8._28_4_ + 1; + uVar11 = local_15b8._8_4_; if (0xfff < uVar17) { - uVar11 = *(uint *)(local_15b0 - 4); - uVar17 = local_159c + 0x24; - if (0x1f < (local_15b0 - uVar11) - 4) { + uVar11 = *(uint *)(local_15b8._8_4_ - 4); + uVar17 = local_15b8._28_4_ + 0x24; + if (0x1f < (local_15b8._8_4_ - uVar11) - 4) { LAB_009269fc: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); @@ -794498,9 +795885,9 @@ LAB_009269fc: } operator_delete(uVar11,uVar17); } - local_15a0 = 0; - local_159c = 0xf; - local_15b0 = local_15b0 & 0xffffff00; + local_15b8._24_4_ = 0; + local_15b8._28_4_ = 0xf; + local_15b8._8_4_ = local_15b8._8_4_ & 0xffffff00; } } uVar11 = local_15bc; @@ -794561,9 +795948,8 @@ void __thiscall PersistentGameData::Load(PersistentGameData *this,char *param_2) puStack_c = &LAB_00b0a935; local_10 = ExceptionList; ExceptionList = &local_10; - if (*(undefined4 **)&this->field_0x4 != (undefined4 *)0x0) { - (**(code **)**(undefined4 **)&this->field_0x4) - (1,__security_cookie ^ (int)register0x00000010 - 4U); + if (this->_saveFile != (undefined4 *)0x0) { + (*(code *)**(undefined4 **)this->_saveFile)(1,__security_cookie ^ (int)register0x00000010 - 4U); } pcVar2 = param_2; do { @@ -794576,9 +795962,11 @@ void __thiscall PersistentGameData::Load(PersistentGameData *this,char *param_2) } -//@@ 00926cf0 FUN_00926cf0 +//@@ 00926cf0 PersistentGameData::LoadFromSteamCloud -void FUN_00926cf0(void) +/* DB: logs "Loading PersistentGameData from Steam Cloud" */ + +void PersistentGameData::LoadFromSteamCloud(void) { qword qVar1; @@ -794630,11 +796018,17 @@ LAB_00926d39: } -//@@ 00926f10 FUN_00926f10 +//@@ 00926f10 PersistentGameData::read /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? ECX=PersistentGameData (stored to [ebp-0x24], fields +0xf84/+0xf88 filled), param = input + stream: reads the 16-byte header and compares with "CNGSAVE06R".."CNGSAVE09R" + ("PersistentGameData wrong file header (%.16s)"), checksum_stream vs trailing dword ("checksum + invalid!"), "Unsuported save version (probably an AB or Rebirth save)!", then per-chunk loop + ("Reading chunk %d"); counterpart of PersistentGameData::write (009282e0); 5 call sites incl. + PersistentGameData::TryImportABLocalSave */ -undefined4 FUN_00926f10(int *param_1) +undefined4 PersistentGameData::read(int *param_1) { char cVar1; @@ -794750,9 +796144,14 @@ LAB_00927011: } -//@@ 00927d20 FUN_00927d20 +//@@ 00927d20 PersistentGameData::backfill_cutscene_counters -void FUN_00927d20(void) +/* DB: ? ECX=PersistentGameData: raises _cutsceneCounters[2..] (+0xea8..+0xf04) to at least 1 when + the matching _eventCounters (+0x2c0.., +0x2e8/+0x2f0/+0x31c/+0x320/+0x324/+0x534/+0x5a8) or flags + +0xa68/+0xa6c are set, so already-earned cutscenes show in the cutscene menu; only caller + FUN_00926cf0 ("Loading PersistentGameData from Steam Cloud") */ + +void PersistentGameData::backfill_cutscene_counters(void) { int iVar1; @@ -795515,8 +796914,8 @@ void __thiscall PersistentGameData::SaveToSteamCloud(PersistentGameData *this) return; } } - if (*(undefined4 **)&this->field_0x4 != (undefined4 *)0x0) { - (**(code **)**(undefined4 **)&this->field_0x4)(1); + if (this->_saveFile != (undefined4 *)0x0) { + (*(code *)**(undefined4 **)this->_saveFile)(1); } if (g_mainHeap == (void *)0x0) { pqVar6 = &g_allocatedBytesNoHeap; @@ -795548,7 +796947,7 @@ void __thiscall PersistentGameData::SaveToSteamCloud(PersistentGameData *this) puVar4 = (undefined4 *)0x0; LAB_00928f4a: puVar5 = &this->field_0x20; - *(undefined4 **)&this->field_0x4 = puVar4; + this->_saveFile = puVar4; if (0xf < *(uint *)&this->field_0x34) { puVar5 = *(undefined1 **)puVar5; } @@ -795722,7 +797121,7 @@ void PersistentGameData::operator_assign(int param_1) /* DB: ? returns a heap copy of the file-name part (after the last '/') of the save path string at ECX+8 (or the fallback path at +0x20 when empty); Manager::BackupSaveFile uses it in "%s%d.%s" - for save_backups/, also Menu_Save::Update and 00926510 */ + for save_backups/, also Menu_Save::Update and 00926510 save_backup_find_latest void PersistentGameData::get_save_file_name(void) @@ -796983,7 +798382,7 @@ PersistentGameData::AddBestiaryKill(PersistentGameData *this,int EntityType,int int iVar6; PersistentGameData *this_00; undefined1 local_10 [8]; - int local_8; + void *local_8; if (((this->_isReadOnly != 0) || (pEVar1 = EntityConfig::GetBestiaryConfig(&g_manager->_entityConfig,EntityType,EntityVariant), @@ -796993,8 +798392,8 @@ PersistentGameData::AddBestiaryKill(PersistentGameData *this,int EntityType,int iVar6 = (pEVar1->id << 0xc | pEVar1->variant) * 0x100; EntityVariant = iVar6; std::set::find_node(local_10,&EntityVariant); - if (((*(char *)(local_8 + 0xd) == '\0') && (*(int *)(local_8 + 0x10) <= iVar6)) && - (local_8 != *(int *)&this->field_0xf6c)) { + if (((*(char *)((int)local_8 + 0xd) == '\0') && (*(int *)((int)local_8 + 0x10) <= iVar6)) && + (local_8 != (this->_bestiaryKills)._head)) { EntityVariant = iVar6; piVar2 = (int *)std::map::operator_index(&EntityVariant); *piVar2 = *piVar2 + 1; @@ -797055,7 +798454,7 @@ undefined4 PersistentGameData::TryAddBestiaryEncounter(int param_1,int param_2) int *local_1c; EntityConfig_Entity *local_18; undefined1 local_14 [8]; - int local_c; + void *local_c; if (in_ECX->_isReadOnly != 0) { return 0; @@ -797070,8 +798469,8 @@ undefined4 PersistentGameData::TryAddBestiaryEncounter(int param_1,int param_2) piVar6 = (int *)((local_18->id << 0xc | local_18->variant) * 0x100); local_24 = piVar6; std::set::find_node(local_14,&local_24); - if (((*(char *)(local_c + 0xd) == '\0') && (*(int *)(local_c + 0x10) <= (int)piVar6)) && - (local_c != *(int *)&in_ECX->field_0xf64)) { + if (((*(char *)((int)local_c + 0xd) == '\0') && (*(int *)((int)local_c + 0x10) <= (int)piVar6)) && + (local_c != (in_ECX->_bestiaryEncounters)._head)) { local_20 = piVar6; piVar6 = (int *)std::map::operator_index(&local_20); *piVar6 = *piVar6 + 1; @@ -797105,7 +798504,7 @@ undefined4 PersistentGameData::TryAddBestiaryEncounter(int param_1,int param_2) } } pMVar2 = g_manager; - if (((DAT_00c7f508 <= *(uint *)&in_ECX->field_0xf68) && + if (((DAT_00c7f508 <= (in_ECX->_bestiaryEncounters)._size) && (this = &g_manager->_persistentGameData, (g_manager->_persistentGameData)._isReadOnly == 0)) && ((g_manager->_persistentGameData)._achievements[0x144] == 0)) { (g_manager->_persistentGameData)._achievements[0x144] = 1; @@ -797141,7 +798540,7 @@ PersistentGameData::GetBestiaryDeathCount(PersistentGameData *this,int EntityTyp EntityConfig_Entity *pEVar1; int iVar2; undefined1 local_10 [8]; - int local_8; + void *local_8; pEVar1 = EntityConfig::GetBestiaryConfig(&g_manager->_entityConfig,EntityType,EntityVariant); if ((pEVar1 == (EntityConfig_Entity *)0x0) || (pEVar1->bestiary == 0)) { @@ -797150,9 +798549,9 @@ PersistentGameData::GetBestiaryDeathCount(PersistentGameData *this,int EntityTyp iVar2 = (pEVar1->id << 0xc | pEVar1->variant) * 0x100; EntityVariant = iVar2; std::set::find_node(local_10,&EntityVariant); - if (((*(char *)(local_8 + 0xd) == '\0') && (*(int *)(local_8 + 0x10) <= iVar2)) && - (local_8 != *(int *)&this->field_0xf7c)) { - return *(int *)(local_8 + 0x14); + if (((*(char *)((int)local_8 + 0xd) == '\0') && (*(int *)((int)local_8 + 0x10) <= iVar2)) && + (local_8 != (this->_bestiaryDeaths)._head)) { + return *(int *)((int)local_8 + 0x14); } return 0; } @@ -797171,7 +798570,7 @@ PersistentGameData::GetBestiaryKillCount(PersistentGameData *this,int EntityType EntityConfig_Entity *pEVar1; int iVar2; undefined1 local_10 [8]; - int local_8; + void *local_8; pEVar1 = EntityConfig::GetBestiaryConfig(&g_manager->_entityConfig,EntityType,EntityVariant); if ((pEVar1 == (EntityConfig_Entity *)0x0) || (pEVar1->bestiary == 0)) { @@ -797180,9 +798579,9 @@ PersistentGameData::GetBestiaryKillCount(PersistentGameData *this,int EntityType iVar2 = (pEVar1->id << 0xc | pEVar1->variant) * 0x100; EntityVariant = iVar2; std::set::find_node(local_10,&EntityVariant); - if (((*(char *)(local_8 + 0xd) == '\0') && (*(int *)(local_8 + 0x10) <= iVar2)) && - (local_8 != *(int *)&this->field_0xf6c)) { - return *(int *)(local_8 + 0x14); + if (((*(char *)((int)local_8 + 0xd) == '\0') && (*(int *)((int)local_8 + 0x10) <= iVar2)) && + (local_8 != (this->_bestiaryKills)._head)) { + return *(int *)((int)local_8 + 0x14); } return 0; } @@ -797883,7 +799282,7 @@ undefined1 FUN_0092bf00(void) cVar1 = (**(code **)(*piVar2 + 0x30))(); } if (cVar1 != '\0') { - cVar1 = FUN_00926f10(piVar2); + cVar1 = PersistentGameData::read(piVar2); *(bool *)(in_ECX + 0xf8c) = cVar1 != '\0'; if (*(code **)(*piVar2 + 0x34) == FUN_006839b0) { FUN_006839b0(); @@ -797996,7 +799395,7 @@ undefined1 FUN_0092c0e0(void) cVar1 = (**(code **)(*piVar2 + 0x30))(); } if (cVar1 != '\0') { - cVar1 = FUN_00926f10(piVar2); + cVar1 = PersistentGameData::read(piVar2); *(bool *)(in_ECX + 0xf8c) = cVar1 != '\0'; if (*(code **)(*piVar2 + 0x34) == FUN_006839b0) { FUN_006839b0(); @@ -798316,9 +799715,13 @@ void std_map_copy_assign(int *param_1) } -//@@ 0092cbe0 FUN_0092cbe0 +//@@ 0092cbe0 std::_Sort_unchecked<4byte> -void FUN_0092cbe0(int param_1,code *param_2) +/* DB: MSVC std::sort core: loop while range > 0x80 bytes (32 x 4-byte, _ISORT_MAX), heap-sort + fallback when ideal<=0, partitions with 0x8fd030, recurses on itself (0x92cc44/56), insertion + sort tail with memmove; predicate in param_2; called by FUN_00926510 */ + +void std::_Sort_unchecked<4byte>(int param_1,code *param_2) { undefined4 uVar1; @@ -798392,16 +799795,16 @@ void FUN_0092cbe0(int param_1,code *param_2) } while (7 < (int)((uint)puVar5 & 0xfffffffc)); return; } - FUN_008fd030(in_EDX,param_2); + _Partition_by_median_guess_unchecked<4byte>(in_EDX,param_2); param_1 = (param_1 >> 1) + (param_1 >> 2); if ((int)((int)local_20 - (int)in_ECX & 0xfffffffcU) < (int)((int)in_EDX - (int)local_1c & 0xfffffffcU)) { - FUN_0092cbe0(param_1,param_2); + _Sort_unchecked<4byte>(param_1,param_2); local_18 = local_1c; in_ECX = local_1c; } else { - FUN_0092cbe0(param_1,param_2); + _Sort_unchecked<4byte>(param_1,param_2); local_8 = local_20; in_EDX = local_20; } @@ -800686,7 +802089,7 @@ LAB_0092f901: iVar15 = 1; } Level::SetStage((Level *)pGVar16,iVar15,0); - Seeds::ForgetStageSeed(); + Seeds::ForgetStageSeed(&g_game->_seedEffects); } } if (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) { @@ -800826,7 +802229,7 @@ LAB_0092fbfd: } pMVar7 = g_manager; iVar15 = in_ECX[3]; - g_manager->field_0x4b2a4 = 1; + g_manager->_isNightmarePending = 1; pMVar7->field_0x4b2a5 = (char)iVar15; break; case 3: @@ -800932,7 +802335,7 @@ LAB_009300d4: g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; render_quad_set_uniform_color(g_screenHeight,&local_8c); if ((*in_ECX == 2) || (*in_ECX == 3)) { render_color_shader_pass(local_78); @@ -801808,11 +803211,10 @@ LAB_009310d5: +0 (00557a60); matches Manager::constructor's AchievementOverlay at Manager+0x21c1c (ANM2 +0x20, 0x34-byte entries +0x134, db/fields.tsv); called from Manager::destructor */ -void AchievementOverlay::~AchievementOverlay(void) +void __thiscall AchievementOverlay::~AchievementOverlay(AchievementOverlay *this) { uint uVar1; - int in_ECX; void *local_10; undefined1 *puStack_c; undefined4 local_8; @@ -801822,11 +803224,11 @@ void AchievementOverlay::~AchievementOverlay(void) local_10 = ExceptionList; uVar1 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; - _eh_vector_destructor_iterator_((void *)(in_ECX + 0x134),0x34,0x282,FUN_00420b00); + _eh_vector_destructor_iterator_(this->_entries,0x34,0x282,FUN_00420b00); local_8 = 0; - ANM2::Reset((ANM2 *)(in_ECX + 0x20)); - AnimationState::~AnimationState((AnimationState *)(in_ECX + 0x70),uVar1); - AnimationState::~AnimationState((AnimationState *)(in_ECX + 0x50)); + ANM2::Reset(&this->_sprite); + AnimationState::~AnimationState(&(this->_sprite)._overlayAnimState,uVar1); + AnimationState::~AnimationState(&(this->_sprite)._animState); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); std::deque<4byte>::~deque(); @@ -801841,10 +803243,9 @@ void AchievementOverlay::~AchievementOverlay(void) /* DB: ECX=Manager+0x21c1c from Manager::load_configs and FUN_00954710: ANM2::Load "gfx/ui/achievement/Achievements.anm2" into +0x20 */ -void AchievementOverlay::load_graphics(void) +void __thiscall AchievementOverlay::load_graphics(AchievementOverlay *this) { - int in_ECX; char *pcVar1; uint uVar2; std_string local_3c; @@ -801871,7 +803272,7 @@ void AchievementOverlay::load_graphics(void) local_3c._capacity = 0x2f; builtin_strncpy((char *)local_3c._buf._0_4_,"gfx/ui/achievement/Achievements.anm2",0x25); local_14 = 0; - ANM2::Load((ANM2 *)(in_ECX + 0x20),&local_3c,1); + ANM2::Load(&this->_sprite,&local_3c,1); if (0xf < local_3c._capacity) { uVar2 = local_3c._capacity + 1; pcVar1 = (char *)local_3c._buf._0_4_; @@ -801885,9 +803286,9 @@ void AchievementOverlay::load_graphics(void) } operator_delete(pcVar1,uVar2); } - *(undefined4 *)(in_ECX + 0x1c) = 0; - *(undefined4 *)(in_ECX + 0x18) = 0; - *(undefined1 *)(in_ECX + 0x839c) = 0; + this->_state = 0; + this->_frame = 0; + this->_isPopupBlocked = 0; ExceptionList = local_1c; return; } @@ -802209,91 +803610,93 @@ LAB_00931b16: void __thiscall AchievementOverlay::Update(AchievementOverlay *this) { - Manager *pMVar1; - char cVar2; - int iVar3; - LayerState *pLVar4; - undefined4 *puVar5; + uint uVar1; + Manager *pMVar2; + char cVar3; + uint uVar4; + LayerState *pLVar5; + std_string *psVar6; byte unk; - int iVar6; - byte bVar7; - undefined4 uVar8; + int iVar7; + byte bVar8; + float fVar9; - iVar6 = *(int *)&this->field_0x1c; - if ((((iVar6 != 0) && (this->_isPopupBlocked == 0)) && ((g_manager->_framecount & 1) == 0)) && - (this->field_0x129 != '\0')) { + iVar7 = this->_state; + if ((((iVar7 != 0) && (this->_isPopupBlocked == 0)) && ((g_manager->_framecount & 1) == 0)) && + ((this->_sprite)._loaded != 0)) { AnimationState::Update(); AnimationState::Update(); - iVar6 = *(int *)&this->field_0x1c; + iVar7 = this->_state; } - if (iVar6 == 1) { - if ((*(int *)&this->field_0x54 == 0) || (this->field_0x64 == '\0')) { - *(undefined4 *)&this->field_0x18 = 0; - *(undefined4 *)&this->field_0x1c = 2; - ANM2::Play((ANM2 *)&this->field_0x20,s_Idle,0); - pMVar1 = g_manager; + if (iVar7 == 1) { + if (((this->_sprite)._animState._animData == (void *)0x0) || + ((this->_sprite)._animState._isPlaying == 0)) { + this->_frame = 0; + this->_state = 2; + ANM2::Play(&this->_sprite,s_Idle,0); + pMVar2 = g_manager; seed_fart_sound_override(); - SoundEffects::Play(&pMVar1->_sfxManager,8,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar2->_sfxManager,8,1.0,2,0,1.0,0.0); } } - else if (iVar6 == 2) { - iVar6 = *(int *)&this->field_0x18; - *(int *)&this->field_0x18 = iVar6 + 1; - if ((0x5a < iVar6) || (cVar2 = input_is_action_pressed(0xe,0xffffffff,0,iVar6), cVar2 != '\0')) + else if (iVar7 == 2) { + iVar7 = this->_frame; + this->_frame = iVar7 + 1; + if ((0x5a < iVar7) || (cVar3 = input_is_action_pressed(0xe,0xffffffff,0,iVar7), cVar3 != '\0')) { - ANM2::Play((ANM2 *)&this->field_0x20,(byte *)"Dissapear",0); - *(undefined4 *)&this->field_0x1c = 3; + ANM2::Play(&this->_sprite,(byte *)"Dissapear",0); + this->_state = 3; } } - else if ((iVar6 == 3) && ((*(int *)&this->field_0x54 == 0 || (this->field_0x64 == '\0')))) { - *(undefined4 *)&this->field_0x1c = 0; + else if ((iVar7 == 3) && + (((this->_sprite)._animState._animData == (void *)0x0 || + ((this->_sprite)._animState._isPlaying == 0)))) { + this->_state = 0; } - uVar8 = 0x3f800000; - if ((*(int *)&this->field_0x1c == 0) && (*(int *)&this->field_0x10 != 0)) { - *(undefined4 *)&this->field_0x14 = - *(undefined4 *) - (*(int *)(*(int *)&this->field_0x4 + - (*(uint *)&this->field_0xc >> 2 & *(int *)&this->field_0x8 - 1U) * 4) + - (*(uint *)&this->field_0xc & 3) * 4); - iVar6 = *(int *)&this->field_0x10 + -1; - *(int *)&this->field_0x10 = iVar6; - iVar3 = 0; - if (iVar6 != 0) { - iVar3 = *(int *)&this->field_0xc + 1; + fVar9 = 1.0; + if ((this->_state == 0) && (uVar1 = (this->_queue)._size, uVar1 != 0)) { + uVar4 = (this->_queue)._offset; + this->_currentEntry = + *(int *)(*(int *)((int)(this->_queue)._map + (uVar4 >> 2 & (this->_queue)._mapSize - 1) * 4 + ) + (uVar4 & 3) * 4); + uVar1 = uVar1 - 1; + (this->_queue)._size = uVar1; + uVar4 = 0; + if (uVar1 != 0) { + uVar4 = (this->_queue)._offset + 1; } - *(int *)&this->field_0xc = iVar3; - pMVar1 = g_manager; - *(undefined4 *)&this->field_0x1c = 1; - if (((pMVar1->_optionsConfig)._popupsMode == 2) || - (pMVar1->_netplayManager != *(NetplayManager *)(pMVar1 + 1))) { - uVar8 = 0x3e99999a; - bVar7 = 0; + (this->_queue)._offset = uVar4; + pMVar2 = g_manager; + this->_state = 1; + if (((pMVar2->_optionsConfig)._popupsMode == 2) || + (pMVar2->_netplayManager != *(NetplayManager *)(pMVar2 + 1))) { + fVar9 = 0.3; + bVar8 = 0; } else { - bVar7 = 1; + bVar8 = 1; } - *(undefined4 *)&this->field_0xbc = uVar8; - *(undefined4 *)&this->field_0xc0 = uVar8; - pLVar4 = ANM2::GetLayer((ANM2 *)&this->field_0x20,(byte *)0x0); - pLVar4->_visible = bVar7; - if (*(int *)(&this->field_0x150 + *(int *)&this->field_0x14 * 0x34 + 0x10) == 0) { - pLVar4 = ANM2::GetLayer((ANM2 *)&this->field_0x20,(byte *)0x3); - pLVar4->_visible = 0; - puVar5 = (undefined4 *)(&this->field_0x138 + *(int *)&this->field_0x14 * 0x34); - if (0xf < (uint)puVar5[5]) { - puVar5 = (undefined4 *)*puVar5; + (this->_sprite)._scale.x = fVar9; + (this->_sprite)._scale.y = fVar9; + pLVar5 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + pLVar5->_visible = bVar8; + psVar6 = &this->_entries[this->_currentEntry]._gfx; + if (psVar6->_size == 0) { + pLVar5 = ANM2::GetLayer(&this->_sprite,(byte *)0x3); + pLVar5->_visible = 0; + psVar6 = &this->_entries[this->_currentEntry]._name; + if (0xf < psVar6->_capacity) { + psVar6 = *(std_string **)psVar6->_buf; } /* WARNING: Subroutine does not return */ KAGE_LogMessage(8,"No sprite for achievement %d (%s)\n", - *(undefined4 *)(&this->field_0x134 + *(int *)&this->field_0x14 * 0x34),puVar5) - ; + this->_entries[this->_currentEntry]._id,psVar6); } - Sprite::ReplaceSpritesheet - ((Sprite *)&this->field_0x20,3,&this->field_0x150 + *(int *)&this->field_0x14 * 0x34); - ANM2::LoadGraphics((ANM2 *)&this->field_0x20,unk); - pLVar4 = ANM2::GetLayer((ANM2 *)&this->field_0x20,(byte *)0x3); - pLVar4->_visible = 1; - ANM2::Play((ANM2 *)&this->field_0x20,(byte *)"Appear",0); + Sprite::ReplaceSpritesheet((Sprite *)&this->_sprite,3,psVar6); + ANM2::LoadGraphics(&this->_sprite,unk); + pLVar5 = ANM2::GetLayer(&this->_sprite,(byte *)0x3); + pLVar5->_visible = 1; + ANM2::Play(&this->_sprite,(byte *)"Appear",0); } return; } @@ -805096,8 +806499,6 @@ uint Backdrop::get_random_floor_variant(void) int in_ECX; int iVar4; RNG local_18; - undefined8 local_14; - undefined4 local_c; undefined4 local_8; local_8 = __security_cookie ^ (int)register0x00000010 - 4U; @@ -805130,9 +806531,10 @@ uint Backdrop::get_random_floor_variant(void) return uVar3; } LAB_00935378: - local_18 = *(RNG *)(in_ECX + 0x4f38); - local_c = 0x1b; - local_14 = 0x300000004; + local_18._seed = *(int *)(in_ECX + 0x4f38); + local_18._shift3 = 0x1b; + local_18._shift1 = 4; + local_18._shift2 = 3; uVar3 = RNG::RandomInt(&local_18,uVar3); return uVar3; } @@ -805342,11 +806744,10 @@ void Backdrop::render_floor_to_target char cVar15; uint uVar16; int iVar17; - RNG RVar18; - undefined4 uVar19; + undefined4 uVar18; + float *pfVar19; float *pfVar20; - float *pfVar21; - undefined4 uVar22; + undefined4 uVar21; int in_ECX; undefined4 extraout_ECX; undefined4 extraout_ECX_00; @@ -805369,11 +806770,11 @@ void Backdrop::render_floor_to_target int extraout_ECX_17; int extraout_ECX_18; int extraout_EDX; + uint uVar22; int *piVar23; - uint uVar24; - code *pcVar25; - int iVar26; - float fVar27; + code *pcVar24; + int iVar25; + float fVar26; undefined1 local_2f4 [112]; undefined1 local_284 [112]; float local_214; @@ -805459,27 +806860,27 @@ void Backdrop::render_floor_to_target pvVar3 = g_game->_room; local_164 = *(uint *)((int)pvVar3 + 0xc); local_174 = *(int *)((int)pvVar3 + 0x10); - iVar26 = *(int *)((int)pvVar3 + 4); - if ((iVar26 == 0) || (iVar17 = *(int *)(iVar26 + 0x10), iVar17 == 0)) { - iVar17 = *(int *)(iVar26 + 0x10); - uVar24 = 1; + iVar25 = *(int *)((int)pvVar3 + 4); + if ((iVar25 == 0) || (iVar17 = *(int *)(iVar25 + 0x10), iVar17 == 0)) { + iVar17 = *(int *)(iVar25 + 0x10); + uVar22 = 1; } else { - uVar24 = *(uint *)(iVar17 + 0x48); + uVar22 = *(uint *)(iVar17 + 0x48); } local_130 = (int *)(*(int *)(iVar17 + 0x48) + -9); - if ((((uVar24 == 2) || (uVar24 == 3)) || (uVar24 == 7)) || (local_131 = '\0', uVar24 == 5)) { + if ((((uVar22 == 2) || (uVar22 == 3)) || (uVar22 == 7)) || (local_131 = '\0', uVar22 == 5)) { local_131 = '\x01'; } local_168 = (int *)(*(int *)(in_ECX + 0x150) * 0x13c); - local_13c = uVar24; + local_13c = uVar22; local_12c = in_ECX; local_24 = uVar16; KAGE_Graphics::SetRenderTarget(param_3,0); RenderTarget::Clear(uVar16); - iVar26 = local_12c; + iVar25 = local_12c; if (*(int *)(local_12c + 0x150) == 0) goto LAB_00935e76; - if (((*(int *)(local_12c + 0x150) == 0xf) && (uVar24 != 1)) && + if (((*(int *)(local_12c + 0x150) == 0xf) && (uVar22 != 1)) && ((&DAT_00000004 <= local_130 && (local_131 == '\0')))) { grid_rect_to_quad(local_128,0xb,0xe,2,2); grid_rect_to_quad(local_104,0xd,0xe,2,2); @@ -805490,24 +806891,24 @@ void Backdrop::render_floor_to_target local_130 = *(int **)(local_12c + 0x4f18); if ((float)local_168 < *(float *)(local_12c + 0x4f24) - 0.001) { do { - fVar27 = 52.0; - RVar18 = *param_2; - if (RVar18 == (RNG)0x0) { + fVar26 = 52.0; + uVar16 = param_2->_seed; + if (uVar16 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar16 = (uint)RVar18 >> (SUB41(param_2[1],0) & 0x1f) ^ (uint)RVar18; - uVar16 = uVar16 << (SUB41(param_2[2],0) & 0x1f) ^ uVar16; - RVar18 = (RNG)(uVar16 >> (SUB41(param_2[3],0) & 0x1f) ^ uVar16); - *param_2 = RVar18; - local_170 = (int *)((uint)RVar18 & 3); - pcVar25 = *(code **)(*param_5 + 0x14); + uVar16 = uVar16 >> ((byte)param_2->_shift1 & 0x1f) ^ uVar16; + uVar16 = uVar16 << ((byte)param_2->_shift2 & 0x1f) ^ uVar16; + uVar16 = uVar16 >> ((byte)param_2->_shift3 & 0x1f) ^ uVar16; + param_2->_seed = uVar16; + local_170 = (int *)(uVar16 & 3); + pcVar24 = *(code **)(*param_5 + 0x14); piVar23 = local_168; KColor::SetFromARGB(0xffffffff); - local_138 = (int *)((float)piVar23 + fVar27); - local_130 = (int *)((float)local_130 + fVar27); - uVar19 = render_quad_set_uniform_color(local_138,extraout_ECX); - (*pcVar25)(local_128 + (int)local_170 * 0x24,uVar19,g_drawRectUnset); + local_138 = (int *)((float)piVar23 + fVar26); + local_130 = (int *)((float)local_130 + fVar26); + uVar18 = render_quad_set_uniform_color(local_138,extraout_ECX); + (*pcVar24)(local_128 + (int)local_170 * 0x24,uVar18,g_drawRectUnset); if (*(float *)(local_12c + 0x4f20) - 0.001 < (float)local_130) { local_130 = *(int **)(local_12c + 0x4f18); local_168 = local_138; @@ -805515,27 +806916,27 @@ void Backdrop::render_floor_to_target param_2 = local_184; } while ((float)local_168 < *(float *)(local_12c + 0x4f24) - 0.001); } - pcVar25 = *(code **)(*param_5 + 0x14); - uVar19 = render_grid_rect(local_284,0,0,1,1); - (*pcVar25)(&local_1cc,uVar19,g_drawRectUnset); - pcVar25 = *(code **)(*param_5 + 0x14); + pcVar24 = *(code **)(*param_5 + 0x14); + uVar18 = render_grid_rect(local_284,0,0,1,1); + (*pcVar24)(&local_1cc,uVar18,g_drawRectUnset); + pcVar24 = *(code **)(*param_5 + 0x14); render_grid_rect(local_284,local_164 - 3,0,1,1); - uVar19 = FUN_00931f50(&local_160,&local_1cc); - (*pcVar25)(uVar19,extraout_ECX_00,g_drawRectUnset); - pcVar25 = *(code **)(*param_5 + 0x14); + uVar18 = FUN_00931f50(&local_160,&local_1cc); + (*pcVar24)(uVar18,extraout_ECX_00,g_drawRectUnset); + pcVar24 = *(code **)(*param_5 + 0x14); render_grid_rect(local_284,0,local_174 + -3,1,1); - uVar19 = FUN_00931fc0(&local_160,&local_1cc); - (*pcVar25)(uVar19,extraout_ECX_01,g_drawRectUnset); - pcVar25 = *(code **)(*param_5 + 0x14); + uVar18 = FUN_00931fc0(&local_160,&local_1cc); + (*pcVar24)(uVar18,extraout_ECX_01,g_drawRectUnset); + pcVar24 = *(code **)(*param_5 + 0x14); render_grid_rect(local_284,local_164 - 3,local_174 + -3,1,1); - pfVar20 = (float *)FUN_00932020(&local_160,&local_1cc); - uVar19 = extraout_ECX_02; + pfVar19 = (float *)FUN_00932020(&local_160,&local_1cc); + uVar18 = extraout_ECX_02; } else { if (*(char *)((int)local_168 + local_12c + 0x1c8) != '\0') { - pcVar25 = *(code **)(*param_5 + 0x20); + pcVar24 = *(code **)(*param_5 + 0x20); KColor::SetFromARGB(0xffffffff); - (*pcVar25)(&g_vectorZero,extraout_ECX_03); + (*pcVar24)(&g_vectorZero,extraout_ECX_03); goto LAB_00935e76; } if ((local_130 < &DAT_00000004) && (param_7 != (int *)0x0)) { @@ -805543,64 +806944,64 @@ void Backdrop::render_floor_to_target if ((*(int *)(local_12c + 0x150) == 0x2e) || (*(int *)(local_12c + 0x150) == 0x3b)) { uVar16 = (uint)(param_1 == 1); } - iVar26 = uVar16 * 7; - grid_rect_to_quad(local_98,0,iVar26,0xd,7); - grid_rect_to_quad(local_74,0xd,iVar26,0xd,7); - grid_rect_to_quad(local_50,0x1a,iVar26,0xd,7); + iVar25 = uVar16 * 7; + grid_rect_to_quad(local_98,0,iVar25,0xd,7); + grid_rect_to_quad(local_74,0xd,iVar25,0xd,7); + grid_rect_to_quad(local_50,0x1a,iVar25,0xd,7); if (local_13c == 0xb) { - pcVar25 = *(code **)(*param_7 + 0x14); - uVar19 = render_grid_rect(local_284,0,0,0xd,7); - (*pcVar25)(local_98,uVar19,g_drawRectUnset); - pcVar25 = *(code **)(*param_7 + 0x14); - uVar19 = render_grid_rect(local_284,0xd,0,0xd,7); - (*pcVar25)(local_74,uVar19,g_drawRectUnset); - pcVar25 = *(code **)(*param_7 + 0x14); - uVar19 = render_grid_rect(local_284,0xd,7,0xd,7); - pfVar20 = local_50; + pcVar24 = *(code **)(*param_7 + 0x14); + uVar18 = render_grid_rect(local_284,0,0,0xd,7); + (*pcVar24)(local_98,uVar18,g_drawRectUnset); + pcVar24 = *(code **)(*param_7 + 0x14); + uVar18 = render_grid_rect(local_284,0xd,0,0xd,7); + (*pcVar24)(local_74,uVar18,g_drawRectUnset); + pcVar24 = *(code **)(*param_7 + 0x14); + uVar18 = render_grid_rect(local_284,0xd,7,0xd,7); + pfVar19 = local_50; } else if (local_13c == 9) { - pcVar25 = *(code **)(*param_7 + 0x14); + pcVar24 = *(code **)(*param_7 + 0x14); render_grid_rect(local_284,0,7,0xd,7); - uVar19 = FUN_00931fc0(&local_1cc,local_98); - (*pcVar25)(uVar19,extraout_ECX_04,g_drawRectUnset); - pcVar25 = *(code **)(*param_7 + 0x14); + uVar18 = FUN_00931fc0(&local_1cc,local_98); + (*pcVar24)(uVar18,extraout_ECX_04,g_drawRectUnset); + pcVar24 = *(code **)(*param_7 + 0x14); render_grid_rect(local_284,0xd,7,0xd,7); - uVar19 = FUN_00931fc0(&local_1cc,local_74); - (*pcVar25)(uVar19,extraout_ECX_05,g_drawRectUnset); - pcVar25 = *(code **)(*param_7 + 0x14); + uVar18 = FUN_00931fc0(&local_1cc,local_74); + (*pcVar24)(uVar18,extraout_ECX_05,g_drawRectUnset); + pcVar24 = *(code **)(*param_7 + 0x14); render_grid_rect(local_284,0xd,0,0xd,7); - pfVar20 = (float *)FUN_00931fc0(&local_1cc,local_50); - uVar19 = extraout_ECX_06; + pfVar19 = (float *)FUN_00931fc0(&local_1cc,local_50); + uVar18 = extraout_ECX_06; } else { if (local_13c != 10) { if (local_13c != 0xc) goto LAB_00935e76; - pcVar25 = *(code **)(*param_7 + 0x14); + pcVar24 = *(code **)(*param_7 + 0x14); render_grid_rect(local_284,0xd,0,0xd,7); - uVar19 = FUN_00931f50(&local_1cc,local_98); - (*pcVar25)(uVar19,extraout_ECX_10,g_drawRectUnset); - pcVar25 = *(code **)(*param_7 + 0x14); + uVar18 = FUN_00931f50(&local_1cc,local_98); + (*pcVar24)(uVar18,extraout_ECX_10,g_drawRectUnset); + pcVar24 = *(code **)(*param_7 + 0x14); render_grid_rect(local_284,0,0,0xd,7); - uVar19 = FUN_00931f50(&local_1cc,local_74); - (*pcVar25)(uVar19,extraout_ECX_11,g_drawRectUnset); - pcVar25 = *(code **)(*param_7 + 0x14); + uVar18 = FUN_00931f50(&local_1cc,local_74); + (*pcVar24)(uVar18,extraout_ECX_11,g_drawRectUnset); + pcVar24 = *(code **)(*param_7 + 0x14); render_grid_rect(local_284,0,7,0xd,7); - pfVar20 = local_50; - pfVar21 = &local_1cc; + pfVar19 = local_50; + pfVar20 = &local_1cc; goto LAB_00935e5f; } - pcVar25 = *(code **)(*param_7 + 0x14); + pcVar24 = *(code **)(*param_7 + 0x14); render_grid_rect(local_284,0xd,7,0xd,7); - uVar19 = FUN_00932020(&local_1cc,local_98); - (*pcVar25)(uVar19,extraout_ECX_07,g_drawRectUnset); - pcVar25 = *(code **)(*param_7 + 0x14); + uVar18 = FUN_00932020(&local_1cc,local_98); + (*pcVar24)(uVar18,extraout_ECX_07,g_drawRectUnset); + pcVar24 = *(code **)(*param_7 + 0x14); render_grid_rect(local_284,0,7,0xd,7); - uVar19 = FUN_00932020(&local_1cc,local_74); - (*pcVar25)(uVar19,extraout_ECX_08,g_drawRectUnset); - pcVar25 = *(code **)(*param_7 + 0x14); + uVar18 = FUN_00932020(&local_1cc,local_74); + (*pcVar24)(uVar18,extraout_ECX_08,g_drawRectUnset); + pcVar24 = *(code **)(*param_7 + 0x14); render_grid_rect(local_284,0,0,0xd,7); - pfVar20 = (float *)FUN_00932020(&local_1cc,local_50); - uVar19 = extraout_ECX_09; + pfVar19 = (float *)FUN_00932020(&local_1cc,local_50); + uVar18 = extraout_ECX_09; } } else { @@ -805611,7 +807012,7 @@ void Backdrop::render_floor_to_target local_17c = 0; local_178 = 0; local_14 = (float)CONCAT31(local_14._1_3_,3); - fVar27 = 26.0; + fVar26 = 26.0; if ((*(int *)(local_12c + 0x150) == 0x10) || (*(int *)(local_12c + 0x150) == 0x12)) { local_150 = 52.0; local_160 = 52.0; @@ -805714,24 +807115,24 @@ void Backdrop::render_floor_to_target local_140 = CONCAT31(local_140._1_3_,1); iVar17 = (uVar16 >> 1) * 6; iVar4 = (uVar16 & 1) * 9; - fStack_15c = (float)(iVar17 + 2) * fVar27; - local_160 = (float)(iVar4 + 2) * fVar27; - fStack_158 = (float)(iVar4 + 9) * fVar27; - fStack_14c = (float)(iVar17 + 6) * fVar27; + fStack_15c = (float)(iVar17 + 2) * fVar26; + local_160 = (float)(iVar4 + 2) * fVar26; + fStack_158 = (float)(iVar4 + 9) * fVar26; + fStack_14c = (float)(iVar17 + 6) * fVar26; fStack_154 = fStack_15c; local_150 = local_160; fStack_148 = fStack_158; fStack_144 = fStack_14c; if (local_17c == local_178) { std::vector::_Emplace_reallocate(local_17c,&local_160); - fVar27 = 26.0; + fVar26 = 26.0; } else { SourceQuad::SourceQuad(&local_160); local_17c = extraout_EDX + 0x24; } uVar16 = uVar16 + 1; - } while (uVar16 < (uint)(*(int *)((int)local_168 + iVar26 + 0x1c4) + (int)local_130)); + } while (uVar16 < (uint)(*(int *)((int)local_168 + iVar25 + 0x1c4) + (int)local_130)); local_16c = local_180; param_2 = local_184; local_138 = (int *)local_17c; @@ -805752,26 +807153,26 @@ void Backdrop::render_floor_to_target if (0 < (int)local_168) { local_138 = (int *)((int)local_168 * 0x24); do { - RVar18 = *param_2; - if (RVar18 == (RNG)0x0) { + uVar16 = param_2->_seed; + if (uVar16 == 0) { local_180 = local_16c; /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar16 = (uint)RVar18 >> (SUB41(param_2[1],0) & 0x1f) ^ (uint)RVar18; - uVar16 = uVar16 << (SUB41(param_2[2],0) & 0x1f) ^ uVar16; - RVar18 = (RNG)(uVar16 >> (SUB41(param_2[3],0) & 0x1f) ^ uVar16); - uVar16 = 0; - *param_2 = RVar18; + uVar16 = uVar16 >> ((byte)param_2->_shift1 & 0x1f) ^ uVar16; + uVar16 = uVar16 << ((byte)param_2->_shift2 & 0x1f) ^ uVar16; + uVar16 = uVar16 >> ((byte)param_2->_shift3 & 0x1f) ^ uVar16; + uVar22 = 0; + param_2->_seed = uVar16; if (local_130 != (int *)0x0) { - uVar16 = (uint)RVar18 % (uint)local_130; + uVar22 = uVar16 % (uint)local_130; } - puVar1 = (undefined4 *)(local_16c + uVar16 * 0x24); - uVar22 = puVar1[1]; + puVar1 = (undefined4 *)(local_16c + uVar22 * 0x24); + uVar21 = puVar1[1]; uVar5 = puVar1[2]; uVar6 = puVar1[3]; local_130 = (int *)((int)local_130 - 1); - uVar19 = *(undefined4 *)((int)local_138 + 0x20 + local_16c); + uVar18 = *(undefined4 *)((int)local_138 + 0x20 + local_16c); puVar2 = (undefined4 *)((int)local_138 + local_16c); uVar7 = *puVar2; uVar8 = puVar2[1]; @@ -805784,31 +807185,31 @@ void Backdrop::render_floor_to_target uVar14 = puVar2[3]; puVar2 = (undefined4 *)((int)local_138 + local_16c); *puVar2 = *puVar1; - puVar2[1] = uVar22; + puVar2[1] = uVar21; puVar2[2] = uVar5; puVar2[3] = uVar6; - puVar1 = (undefined4 *)(local_16c + 0x10 + uVar16 * 0x24); - uVar22 = puVar1[1]; + puVar1 = (undefined4 *)(local_16c + 0x10 + uVar22 * 0x24); + uVar21 = puVar1[1]; uVar5 = puVar1[2]; uVar6 = puVar1[3]; puVar2 = (undefined4 *)((int)local_138 + 0x10 + local_16c); *puVar2 = *puVar1; - puVar2[1] = uVar22; + puVar2[1] = uVar21; puVar2[2] = uVar5; puVar2[3] = uVar6; *(undefined4 *)((int)local_138 + 0x20 + local_16c) = - *(undefined4 *)(local_16c + 0x20 + uVar16 * 0x24); - puVar1 = (undefined4 *)(local_16c + uVar16 * 0x24); + *(undefined4 *)(local_16c + 0x20 + uVar22 * 0x24); + puVar1 = (undefined4 *)(local_16c + uVar22 * 0x24); *puVar1 = uVar7; puVar1[1] = uVar8; puVar1[2] = uVar9; puVar1[3] = uVar10; - puVar1 = (undefined4 *)(local_16c + 0x10 + uVar16 * 0x24); + puVar1 = (undefined4 *)(local_16c + 0x10 + uVar22 * 0x24); *puVar1 = uVar11; puVar1[1] = uVar12; puVar1[2] = uVar13; puVar1[3] = uVar14; - *(undefined4 *)(local_16c + 0x20 + uVar16 * 0x24) = uVar19; + *(undefined4 *)(local_16c + 0x20 + uVar22 * 0x24) = uVar18; local_168 = (int *)((int)local_168 + -1); param_2 = local_184; local_138 = (int *)((int)local_138 + -0x24); @@ -805860,16 +807261,16 @@ LAB_009369c9: LAB_009369d2: if ((*(int *)(local_12c + 0x150) == 0x10) || (*(int *)(local_12c + 0x150) == 0x12) ) { - RVar18 = *local_184; - if (RVar18 == (RNG)0x0) { + uVar16 = local_184->_seed; + if (uVar16 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar16 = (uint)RVar18 >> (SUB41(local_184[1],0) & 0x1f) ^ (uint)RVar18; - uVar16 = uVar16 << (SUB41(local_184[2],0) & 0x1f) ^ uVar16; - RVar18 = (RNG)(uVar16 >> (SUB41(local_184[3],0) & 0x1f) ^ uVar16); - *local_184 = RVar18; - local_164 = (uint)RVar18 & 3; + uVar16 = uVar16 >> ((byte)local_184->_shift1 & 0x1f) ^ uVar16; + uVar16 = uVar16 << ((byte)local_184->_shift2 & 0x1f) ^ uVar16; + uVar16 = uVar16 >> ((byte)local_184->_shift3 & 0x1f) ^ uVar16; + local_184->_seed = uVar16; + local_164 = uVar16 & 3; piVar23 = local_130; } else { @@ -805878,16 +807279,16 @@ LAB_009369d2: if (((int)local_168 < 1) || ((int)piVar23 < 1)) { if ((int)local_168 < 1) { if ((int)piVar23 < 1) { - pfVar20 = (float *)(local_16c + local_164 * 0x24); - local_1f0 = *pfVar20; - fStack_1ec = pfVar20[1]; - fStack_1e8 = pfVar20[2]; - fStack_1e4 = pfVar20[3]; - pfVar20 = (float *)(local_16c + 0x10 + local_164 * 0x24); - local_1e0 = *pfVar20; - fStack_1dc = pfVar20[1]; - fStack_1d8 = pfVar20[2]; - fStack_1d4 = pfVar20[3]; + pfVar19 = (float *)(local_16c + local_164 * 0x24); + local_1f0 = *pfVar19; + fStack_1ec = pfVar19[1]; + fStack_1e8 = pfVar19[2]; + fStack_1e4 = pfVar19[3]; + pfVar19 = (float *)(local_16c + 0x10 + local_164 * 0x24); + local_1e0 = *pfVar19; + fStack_1dc = pfVar19[1]; + fStack_1d8 = pfVar19[2]; + fStack_1d4 = pfVar19[3]; local_1d0 = *(undefined4 *)(local_16c + 0x20 + local_164 * 0x24); } else { @@ -805957,11 +807358,11 @@ LAB_009369d2: uStack_190 = 0x3f800000; uStack_18c = 0x3f800000; local_188 = 0; - pcVar25 = *(code **)(*param_5 + 0x14); + pcVar24 = *(code **)(*param_5 + 0x14); render_quad_set_uniform_color ((float)((int)piVar23 + 4) * 26.0 + *(float *)(local_12c + 0x4f1c), &local_198); - (*pcVar25)(&local_1f0,local_98,g_drawRectUnset); + (*pcVar24)(&local_1f0,local_98,g_drawRectUnset); uVar16 = local_164; piVar23 = local_130; param_2 = local_184; @@ -805983,16 +807384,16 @@ LAB_00936d40: else if ((local_13c != 10) || (4 < (int)local_130)) { LAB_00936dba: if ((*(int *)(local_12c + 0x150) == 0x10) || (*(int *)(local_12c + 0x150) == 0x12)) { - RVar18 = *param_2; - if (RVar18 == (RNG)0x0) { + uVar16 = param_2->_seed; + if (uVar16 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar16 = (uint)RVar18 >> (SUB41(param_2[1],0) & 0x1f) ^ (uint)RVar18; - uVar16 = uVar16 << (SUB41(param_2[2],0) & 0x1f) ^ uVar16; - RVar18 = (RNG)(uVar16 >> (SUB41(param_2[3],0) & 0x1f) ^ uVar16); - *param_2 = RVar18; - local_164 = (uint)RVar18 & 3; + uVar16 = uVar16 >> ((byte)param_2->_shift1 & 0x1f) ^ uVar16; + uVar16 = uVar16 << ((byte)param_2->_shift2 & 0x1f) ^ uVar16; + uVar16 = uVar16 >> ((byte)param_2->_shift3 & 0x1f) ^ uVar16; + param_2->_seed = uVar16; + local_164 = uVar16 & 3; } else { local_164 = uVar16 + 1; @@ -806014,7 +807415,7 @@ LAB_00936dba: uStack_194 = 0x3f800000; uStack_190 = 0x3f800000; uStack_18c = 0x3f800000; - pcVar25 = *(code **)(*param_5 + 0x14); + pcVar24 = *(code **)(*param_5 + 0x14); fStack_208 = fStack_210; local_204 = local_214; fStack_1fc = fStack_20c; @@ -806030,7 +807431,7 @@ LAB_00936dba: render_quad_set_uniform_color ((float)((int)local_130 + 4) * 26.0 + *(float *)(local_12c + 0x4f1c), &local_198); - (*pcVar25)(&local_214,local_2f4,g_drawRectUnset); + (*pcVar24)(&local_214,local_2f4,g_drawRectUnset); } local_130 = (int *)((int)local_130 + 3); uVar16 = local_164; @@ -806049,16 +807450,16 @@ LAB_00936dba: else if ((local_13c != 0xb) || (7 < (int)local_130)) { LAB_0093704c: if ((*(int *)(local_12c + 0x150) == 0x10) || (*(int *)(local_12c + 0x150) == 0x12)) { - RVar18 = *param_2; - if (RVar18 == (RNG)0x0) { + uVar16 = param_2->_seed; + if (uVar16 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar16 = (uint)RVar18 >> (SUB41(param_2[1],0) & 0x1f) ^ (uint)RVar18; - uVar16 = uVar16 << (SUB41(param_2[2],0) & 0x1f) ^ uVar16; - RVar18 = (RNG)(uVar16 >> (SUB41(param_2[3],0) & 0x1f) ^ uVar16); - *param_2 = RVar18; - local_164 = ((uint)RVar18 & 1) + 4; + uVar16 = uVar16 >> ((byte)param_2->_shift1 & 0x1f) ^ uVar16; + uVar16 = uVar16 << ((byte)param_2->_shift2 & 0x1f) ^ uVar16; + uVar16 = uVar16 >> ((byte)param_2->_shift3 & 0x1f) ^ uVar16; + param_2->_seed = uVar16; + local_164 = (uVar16 & 1) + 4; } else { local_164 = local_164 + 1; @@ -806080,7 +807481,7 @@ LAB_0093704c: uStack_194 = 0x3f800000; uStack_190 = 0x3f800000; uStack_18c = 0x3f800000; - pcVar25 = *(code **)(*param_5 + 0x14); + pcVar24 = *(code **)(*param_5 + 0x14); fStack_19c = fStack_1a4; local_160 = local_1a8; fStack_15c = fStack_1a4; @@ -806091,7 +807492,7 @@ LAB_0093704c: fStack_144 = fStack_14c; render_quad_set_uniform_color ((float)(local_174 + 4) * 26.0 + *(float *)(local_12c + 0x4f1c),&local_198); - (*pcVar25)(&local_160,local_108,g_drawRectUnset); + (*pcVar24)(&local_160,local_108,g_drawRectUnset); } local_130 = (int *)((int)local_130 + 6); param_2 = local_184; @@ -806103,7 +807504,7 @@ LAB_0093704c: uStack_190 = 0x3f800000; uStack_18c = 0x3f800000; local_188 = 0; - pcVar25 = *(code **)(*param_5 + 0x14); + pcVar24 = *(code **)(*param_5 + 0x14); render_quad_set_uniform_color ((float)(local_174 + 4) * 26.0 + *(float *)(local_12c + 0x4f1c),&local_198); local_1cc = *(float *)(local_16c + 8 + local_164 * 0x24); @@ -806115,21 +807516,21 @@ LAB_0093704c: local_1bc = local_1cc; fStack_1b4 = fStack_1c4; fStack_1b0 = fStack_1b8; - (*pcVar25)(&local_1cc,local_284,g_drawRectUnset); + (*pcVar24)(&local_1cc,local_284,g_drawRectUnset); } local_14 = (float)CONCAT31(local_14._1_3_,2); if (local_16c != 0) { uVar16 = ((local_178 - local_16c) / 0x24) * 0x24; - iVar26 = local_16c; + iVar25 = local_16c; if (0xfff < uVar16) { - iVar26 = *(int *)(local_16c + -4); + iVar25 = *(int *)(local_16c + -4); uVar16 = uVar16 + 0x23; - if (0x1f < (local_16c - iVar26) - 4U) { + if (0x1f < (local_16c - iVar25) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar26,uVar16); + operator_delete(iVar25,uVar16); } goto LAB_00935e76; } @@ -806137,88 +807538,88 @@ LAB_0093704c: if ((*(int *)(local_12c + 0x150) == 0x2e) || (*(int *)(local_12c + 0x150) == 0x3b)) { local_13c = (uint)(param_1 == 1); } - if (uVar24 == 2) { + if (uVar22 == 2) { local_170 = param_7; - pcVar25 = *(code **)(*param_7 + 0x14); - uVar19 = render_grid_rect(local_284,0,2,0xc,3); - uVar22 = grid_rect_to_quad(&local_1cc,0,local_13c * 3 + 7,0xc,3); - (*pcVar25)(uVar22,uVar19,g_drawRectUnset); + pcVar24 = *(code **)(*param_7 + 0x14); + uVar18 = render_grid_rect(local_284,0,2,0xc,3); + uVar21 = grid_rect_to_quad(&local_1cc,0,local_13c * 3 + 7,0xc,3); + (*pcVar24)(uVar21,uVar18,g_drawRectUnset); local_170 = param_7; - pcVar25 = *(code **)(*param_7 + 0x14); - uVar19 = render_grid_rect(local_284,0xc,2,1,3); - uVar22 = grid_rect_to_quad(&local_1cc,0,local_13c * 3 + 7,1,3); - uVar22 = FUN_00931f50(&local_160,uVar22); - (*pcVar25)(uVar22,uVar19,g_drawRectUnset); + pcVar24 = *(code **)(*param_7 + 0x14); + uVar18 = render_grid_rect(local_284,0xc,2,1,3); + uVar21 = grid_rect_to_quad(&local_1cc,0,local_13c * 3 + 7,1,3); + uVar21 = FUN_00931f50(&local_160,uVar21); + (*pcVar24)(uVar21,uVar18,g_drawRectUnset); goto LAB_00935e76; } - if (uVar24 == 7) { + if (uVar22 == 7) { grid_rect_to_quad(&local_1cc,0,local_13c * 3 + 7,0xd,3); - pcVar25 = *(code **)(*param_7 + 0x14); - uVar19 = render_grid_rect(local_284,0,2,0xd,3); - (*pcVar25)(&local_1cc,uVar19,g_drawRectUnset); - pfVar20 = (float *)grid_rect_to_quad(&local_160,0,local_13c * 3 + 7,0xd,3); - local_1cc = *pfVar20; - fStack_1c8 = pfVar20[1]; - fStack_1c4 = pfVar20[2]; - fStack_1c0 = pfVar20[3]; - local_1bc = pfVar20[4]; - fStack_1b8 = pfVar20[5]; - fStack_1b4 = pfVar20[6]; - fStack_1b0 = pfVar20[7]; - local_1ac = pfVar20[8]; - pcVar25 = *(code **)(*param_7 + 0x14); + pcVar24 = *(code **)(*param_7 + 0x14); + uVar18 = render_grid_rect(local_284,0,2,0xd,3); + (*pcVar24)(&local_1cc,uVar18,g_drawRectUnset); + pfVar19 = (float *)grid_rect_to_quad(&local_160,0,local_13c * 3 + 7,0xd,3); + local_1cc = *pfVar19; + fStack_1c8 = pfVar19[1]; + fStack_1c4 = pfVar19[2]; + fStack_1c0 = pfVar19[3]; + local_1bc = pfVar19[4]; + fStack_1b8 = pfVar19[5]; + fStack_1b4 = pfVar19[6]; + fStack_1b0 = pfVar19[7]; + local_1ac = pfVar19[8]; + pcVar24 = *(code **)(*param_7 + 0x14); render_grid_rect(local_284,0xd,2,0xd,3); - pfVar20 = &local_1cc; - pfVar21 = &local_160; + pfVar19 = &local_1cc; + pfVar20 = &local_160; LAB_00935e5f: - pfVar20 = (float *)FUN_00931f50(pfVar21,pfVar20); - uVar19 = extraout_ECX_12; + pfVar19 = (float *)FUN_00931f50(pfVar20,pfVar19); + uVar18 = extraout_ECX_12; } else { - if (uVar24 == 3) { + if (uVar22 == 3) { local_170 = param_7; - pcVar25 = *(code **)(*param_7 + 0x14); - uVar19 = render_grid_rect(local_284,4,0,5,6); - uVar22 = grid_rect_to_quad(&local_1cc,local_13c * 5,0,5,6); - (*pcVar25)(uVar22,uVar19,g_drawRectUnset); + pcVar24 = *(code **)(*param_7 + 0x14); + uVar18 = render_grid_rect(local_284,4,0,5,6); + uVar21 = grid_rect_to_quad(&local_1cc,local_13c * 5,0,5,6); + (*pcVar24)(uVar21,uVar18,g_drawRectUnset); local_170 = param_7; - pcVar25 = *(code **)(*param_7 + 0x14); - uVar19 = render_grid_rect(local_284,4,6,5,1); - uVar22 = grid_rect_to_quad(&local_1cc,local_13c * 5,0,5,1); - uVar22 = FUN_00931fc0(&local_160,uVar22); - (*pcVar25)(uVar22,uVar19,g_drawRectUnset); + pcVar24 = *(code **)(*param_7 + 0x14); + uVar18 = render_grid_rect(local_284,4,6,5,1); + uVar21 = grid_rect_to_quad(&local_1cc,local_13c * 5,0,5,1); + uVar21 = FUN_00931fc0(&local_160,uVar21); + (*pcVar24)(uVar21,uVar18,g_drawRectUnset); goto LAB_00935e76; } - if (uVar24 != 5) goto LAB_00935e76; + if (uVar22 != 5) goto LAB_00935e76; grid_rect_to_quad(&local_1cc,local_13c * 5,0,5,7); - pcVar25 = *(code **)(*param_7 + 0x14); - uVar19 = render_grid_rect(local_284,4,0,5,7); - (*pcVar25)(&local_1cc,uVar19,g_drawRectUnset); - pfVar20 = (float *)grid_rect_to_quad(&local_160,local_13c * 5,0,5,7); - local_1cc = *pfVar20; - fStack_1c8 = pfVar20[1]; - fStack_1c4 = pfVar20[2]; - fStack_1c0 = pfVar20[3]; - local_1bc = pfVar20[4]; - fStack_1b8 = pfVar20[5]; - fStack_1b4 = pfVar20[6]; - fStack_1b0 = pfVar20[7]; - local_1ac = pfVar20[8]; - pcVar25 = *(code **)(*param_7 + 0x14); + pcVar24 = *(code **)(*param_7 + 0x14); + uVar18 = render_grid_rect(local_284,4,0,5,7); + (*pcVar24)(&local_1cc,uVar18,g_drawRectUnset); + pfVar19 = (float *)grid_rect_to_quad(&local_160,local_13c * 5,0,5,7); + local_1cc = *pfVar19; + fStack_1c8 = pfVar19[1]; + fStack_1c4 = pfVar19[2]; + fStack_1c0 = pfVar19[3]; + local_1bc = pfVar19[4]; + fStack_1b8 = pfVar19[5]; + fStack_1b4 = pfVar19[6]; + fStack_1b0 = pfVar19[7]; + local_1ac = pfVar19[8]; + pcVar24 = *(code **)(*param_7 + 0x14); render_grid_rect(local_284,4,7,5,7); - pfVar20 = (float *)FUN_00931fc0(&local_160,&local_1cc); - uVar19 = extraout_ECX_13; + pfVar19 = (float *)FUN_00931fc0(&local_160,&local_1cc); + uVar18 = extraout_ECX_13; } } } - (*pcVar25)(pfVar20,uVar19,g_drawRectUnset); + (*pcVar24)(pfVar19,uVar18,g_drawRectUnset); LAB_00935e76: - iVar26 = g_game->_startingRoomIdx; + iVar25 = g_game->_startingRoomIdx; if ((g_game->_stage - 1U < 6) && ((g_game->_gameStateFlags & 0x1000000000000) != 0)) { - iVar26 = 0x54; + iVar25 = 0x54; } if ((((g_game->_stage == 1) && (g_game->_stageType != 4)) && (g_game->_stageType != 5)) && - (iVar26 == g_game->_currentRoomIdx)) { + (iVar25 == g_game->_currentRoomIdx)) { PreRenderControls(); } _glfw_context_reset(1); @@ -806304,8 +807705,6 @@ void Backdrop::pre_render_walls(void) char local_12c; char local_60 [44]; RNG local_34; - undefined8 local_30; - float local_28; uint local_24; undefined1 *puStack_20; void *local_1c; @@ -806386,16 +807785,17 @@ LAB_009375f3: if ((iVar7 != 0x2e) && (iVar7 != 0x3b)) { puVar9 = (uint *)(local_1a8 + 0x6e); if (iVar7 != 0x2f) goto LAB_009375b6; - local_34 = *(RNG *)(in_ECX + 0x4f38); + local_34._seed = *(int *)(in_ECX + 0x4f38); uVar6 = *puVar9; LAB_0093766c: - local_28 = 3.78351e-44; + local_34._shift3 = 0x1b; this = &local_34; - local_30 = 0x300000004; + local_34._shift1 = 4; + local_34._shift2 = 3; goto LAB_0093767c; } if ((*(uint *)(*(int *)((int)g_game->_room + 4) + 0x44) & 0x1000) == 0) { - local_34 = *(RNG *)(in_ECX + 0x4f38); + local_34._seed = *(int *)(in_ECX + 0x4f38); uVar6 = local_1a8[0x6e]; goto LAB_0093766c; } @@ -806496,9 +807896,9 @@ LAB_00937981: if (0 < (int)local_1b4) { do { fVar10 = (float)((int)local_1b8 % piVar3[3]) * 40.0 + 40.0; - local_28 = (float)((int)local_1b8 / piVar3[3]) * 40.0 + 120.0; - local_30 = CONCAT44(fVar10,(undefined4)local_30); - local_1b0 = (int *)(local_28 - local_258); + local_34._shift3 = (int)((float)((int)local_1b8 / piVar3[3]) * 40.0 + 120.0); + local_34._shift2 = (int)fVar10; + local_1b0 = (int *)((float)local_34._shift3 - local_258); local_1c8 = (fVar10 - local_25c) * 0.6; iVar7 = Room::GetRoomShape(); if ((iVar7 == 2) || @@ -806526,7 +807926,7 @@ LAB_00937981: sqrtf(); if (fVar10 < 100.0) { uVar8 = Random(); - local_1a8 = (int *)Game::Spawn(1000,7,(int)&local_30 + 4,&g_vectorZero,0,0,uVar8); + local_1a8 = (int *)Game::Spawn(1000,7,&local_34._shift2,&g_vectorZero,0,0,uVar8); uVar6 = *(uint *)(in_ECX + 0x4f28); if (uVar6 == 0) { /* WARNING: Subroutine does not return */ @@ -806879,11 +808279,11 @@ void Backdrop::spawn_wall_details local_d0 = local_c8 * 20.0 + pfVar8[1]; uVar9 = Random(); local_d8 = (RNG *)Game::Spawn(1000,0x79,&local_d4,&g_vectorZero,0,0,uVar9); - local_d8[0x5b] = (RNG)(*(uint *)(local_d8 + 0x5b) | 0x40); - local_d8[0x5a] = (RNG)*(int *)(local_d8 + 0x5a); - local_d8[0xd3] = (RNG)(local_cc * -8.0); - local_d8[0xd4] = (RNG)(local_c8 * -8.0); - local_d8[0x11e] = (RNG)0x40400000; + *(uint *)((int)local_d8 + 0x16c) = *(uint *)((int)local_d8 + 0x16c) | 0x40; + *(int *)((int)local_d8 + 0x168) = *(int *)((int)local_d8 + 0x168); + *(float *)((int)local_d8 + 0x34c) = local_cc * -8.0; + *(float *)((int)local_d8 + 0x350) = local_c8 * -8.0; + *(int *)((int)local_d8 + 0x478) = 0x40400000; (**(code **)(*(int *)local_d8 + 0x3c))(&DAT_00c94058,0xffffffff,0xff,0,1); uVar10 = *(uint *)(in_ECX + 0x4f28); if (uVar10 == 0) { @@ -806897,8 +808297,8 @@ void Backdrop::spawn_wall_details fVar21 = (float)((double)(int)uVar10 + __uint_to_double_fixup[-((int)uVar10 >> 0x1f)]) * 2.3283062e-10 * 0.3 + 0.5; fVar19 = fVar21 * g_vectorOne.x; - local_d8[0x3a] = (RNG)(fVar21 * g_vectorOne.y); - local_d8[0x39] = (RNG)fVar19; + *(float *)((int)local_d8 + 0xe8) = fVar21 * g_vectorOne.y; + *(float *)((int)local_d8 + 0xe4) = fVar19; puVar20 = puStack_20; } } @@ -806930,12 +808330,12 @@ void Backdrop::spawn_wall_details local_c8 = fVar19 + local_c8; uVar9 = Random(); local_d8 = (RNG *)Game::Spawn(1000,0x79,&local_cc,&g_vectorZero,0,0,uVar9); - local_d8[0x5b] = (RNG)(*(uint *)(local_d8 + 0x5b) | 0x40); - local_d8[0x5a] = (RNG)*(int *)(local_d8 + 0x5a); + *(uint *)((int)local_d8 + 0x16c) = *(uint *)((int)local_d8 + 0x16c) | 0x40; + *(int *)((int)local_d8 + 0x168) = *(int *)((int)local_d8 + 0x168); (**(code **)(*(int *)local_d8 + 0x3c))(&DAT_00c94088,0xffffffff,0xff,0,1); puVar20 = &DAT_bf800000; - local_d8[0x39] = (RNG)0x3e19999a; - local_d8[0x3a] = (RNG)0x3e4ccccd; + *(int *)((int)local_d8 + 0xe4) = 0x3e19999a; + *(int *)((int)local_d8 + 0xe8) = 0x3e4ccccd; if (bVar4 == 0) { puVar22 = (undefined1 *)0x3f800000; } @@ -806945,7 +808345,7 @@ void Backdrop::spawn_wall_details if (cVar2 == '\0') { puVar20 = (undefined1 *)0x3f800000; } - local_d8[0x3b] = (RNG)((float)puVar20 * (float)puVar22 * -20.0); + *(float *)((int)local_d8 + 0xec) = (float)puVar20 * (float)puVar22 * -20.0; puVar20 = puStack_20; } } @@ -807057,7 +808457,7 @@ void Backdrop::spawn_wall_details FUN_0093b530(); uVar9 = Random(); local_d8 = (RNG *)Game::Spawn(1000,0x8c,local_f8,&g_vectorZero,0,0,uVar9); - local_ec = (ANM2 *)(local_d8 + 0x12); + local_ec = (ANM2 *)((int)local_d8 + 0x48); local_3c._size = 0; local_3c._capacity = 0xf; local_3c._buf[0] = '\0'; @@ -807112,8 +808512,8 @@ void Backdrop::spawn_wall_details *(char *)((int)local_d8 + 0x149) = cVar2; uVar23 = FUN_0070c570(local_68); Sprite::SetColor((Sprite *)((ulonglong)uVar23 >> 0x20),(int)uVar23); - local_d8[0x5a] = (RNG)(*(uint *)(local_d8 + 0x5a) | 0x2008); - local_d8[0x5b] = (RNG)*(int *)(local_d8 + 0x5b); + *(uint *)((int)local_d8 + 0x168) = *(uint *)((int)local_d8 + 0x168) | 0x2008; + *(int *)((int)local_d8 + 0x16c) = *(int *)((int)local_d8 + 0x16c); puVar20 = puStack_20; } } @@ -807684,31 +809084,36 @@ LAB_0093cf41: } -//@@ 0093d510 FUN_0093d510 +//@@ 0093d510 Backdrop::render_wall_detail -void FUN_0093d510(RNG *param_1,undefined4 param_2,char param_3,char param_4,char param_5, - char param_6,float param_7) +/* DB: ? ECX = Backdrop (ANM2 at +0x4f3c), 6 calls from Backdrop::pre_render_walls: randomizes layer + visibility/frames by layer name prefix 'h'/'v' with the RNG arg and a chance, renders + (AnimationState::Render), then for nulls named "*" spawns at backdrop_detail_to_world_pos + via Game::SpawnEx; strings "%s: No null with Id %d", "LayerId out of bounds" */ + +void Backdrop::render_wall_detail + (RNG *param_1,undefined4 param_2,char param_3,char param_4,char param_5,char param_6, + float param_7) { void *pvVar1; int iVar2; LayerState *pLVar3; - RNG RVar4; ANM2 *this; - char *pcVar5; - uint *puVar6; - undefined4 uVar7; - int *piVar8; + char *pcVar4; + uint *puVar5; + undefined4 uVar6; + int *piVar7; int in_ECX; - byte *pbVar9; - char *pcVar10; - uint uVar11; - float *pfVar12; - int iVar13; - byte *pbVar14; - uint uVar15; + byte *pbVar8; + char *pcVar9; + uint uVar10; + float *pfVar11; + int iVar12; + byte *pbVar13; + uint uVar14; + float fVar15; float fVar16; - float fVar17; int *local_20; float local_14; float local_10; @@ -807724,49 +809129,49 @@ void FUN_0093d510(RNG *param_1,undefined4 param_2,char param_3,char param_4,char param_7 = 0.0; } } - pbVar14 = (byte *)0x0; + pbVar13 = (byte *)0x0; if (local_c != (byte *)0x0) { local_20 = (int *)((int)local_14 + 0x38); do { - pLVar3 = ANM2::GetLayer((ANM2 *)(in_ECX + 0x4f3c),pbVar14); + pLVar3 = ANM2::GetLayer((ANM2 *)(in_ECX + 0x4f3c),pbVar13); pvVar1 = pLVar3->_layerData; if (pvVar1 == (void *)0x0) { - pbVar9 = &s_empty; + pbVar8 = &s_empty; } else { - pbVar9 = (byte *)((int)pvVar1 + 8); + pbVar8 = (byte *)((int)pvVar1 + 8); if (0xf < *(uint *)((int)pvVar1 + 0x1c)) { - pbVar9 = *(byte **)pbVar9; + pbVar8 = *(byte **)pbVar8; } } - if (*pbVar9 == 0x68) { + if (*pbVar8 == 0x68) { if (param_5 != '\0') goto LAB_0093d61e; LAB_0093d5a4: pLVar3->_visible = 0; } else { - if ((*pbVar9 != 0x76) || (param_6 == '\0')) goto LAB_0093d5a4; + if ((*pbVar8 != 0x76) || (param_6 == '\0')) goto LAB_0093d5a4; LAB_0093d61e: - RVar4 = *param_1; - if (RVar4 == (RNG)0x0) { + uVar14 = param_1->_seed; + if (uVar14 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar15 = (uint)RVar4 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar4; - uVar15 = uVar15 << (SUB41(param_1[2],0) & 0x1f) ^ uVar15; - RVar4 = (RNG)(uVar15 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar15); - *param_1 = RVar4; + uVar14 = uVar14 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar14; + uVar14 = uVar14 << ((byte)param_1->_shift2 & 0x1f) ^ uVar14; + uVar14 = uVar14 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar14; + param_1->_seed = uVar14; if (param_7 <= - (float)((double)(int)RVar4 + __uint_to_double_fixup[-((int)RVar4 >> 0x1f)]) * + (float)((double)(int)uVar14 + __uint_to_double_fixup[-((int)uVar14 >> 0x1f)]) * 2.3283062e-10) goto LAB_0093d5a4; pLVar3->_visible = 1; - uVar15 = RNG::RandomInt(param_1,*(uint *)(*(int *)((int)local_14 + 0x18) + 8 + + uVar14 = RNG::RandomInt(param_1,*(uint *)(*(int *)((int)local_14 + 0x18) + 8 + *local_20 * 0x10)); - ANM2::SetLayerFrame((ANM2 *)(in_ECX + 0x4f3c),(int)pbVar14,uVar15); + ANM2::SetLayerFrame((ANM2 *)(in_ECX + 0x4f3c),(int)pbVar13,uVar14); } local_20 = local_20 + 1; - pbVar14 = pbVar14 + 1; - } while (pbVar14 < local_c); + pbVar13 = pbVar13 + 1; + } while (pbVar13 < local_c); } *(char *)(in_ECX + 0x503c) = param_3; *(char *)(in_ECX + 0x503d) = param_4; @@ -807782,84 +809187,84 @@ LAB_0093d61e: if (((*(int *)(in_ECX + 0x150) != 0x3a) && (*(int *)(in_ECX + 0x150) != 0x3b)) && ((*(uint *)(*(int *)((int)g_game->_room + 4) + 0x44) >> 9 & 1) == 0)) { local_c = *(byte **)(in_ECX + 0x4fc4); - uVar15 = 0; + uVar14 = 0; if (local_c != (byte *)0x0) { this = (ANM2 *)(in_ECX + 0x4f3c); local_20 = (int *)0x0; do { - if (((int)uVar15 < 0) || (*(int *)(in_ECX + 0x4fc4) <= (int)uVar15)) { + if (((int)uVar14 < 0) || (*(int *)(in_ECX + 0x4fc4) <= (int)uVar14)) { if (0xf < *(uint *)(in_ECX + 0x4f50)) { this = *(ANM2 **)(this->_filename)._buf; } /* WARNING: Subroutine does not return */ - KAGE_LogMessage(0x10,"%s: No null with Id %d\n",this,uVar15); + KAGE_LogMessage(0x10,"%s: No null with Id %d\n",this,uVar14); } - pcVar5 = (char *)(*(int *)(in_ECX + 0x4fc0) + (int)local_20); - pcVar10 = pcVar5; - if (0xf < *(uint *)(pcVar5 + 0x14)) { - pcVar10 = *(char **)pcVar5; + pcVar4 = (char *)(*(int *)(in_ECX + 0x4fc0) + (int)local_20); + pcVar9 = pcVar4; + if (0xf < *(uint *)(pcVar4 + 0x14)) { + pcVar9 = *(char **)pcVar4; } - if (*pcVar10 == '*') { - if (0xf < *(uint *)(pcVar5 + 0x14)) { - pcVar5 = *(char **)pcVar5; + if (*pcVar9 == '*') { + if (0xf < *(uint *)(pcVar4 + 0x14)) { + pcVar4 = *(char **)pcVar4; } - pbVar14 = (byte *)atoi(pcVar5 + 1); - pLVar3 = ANM2::GetLayer(this,pbVar14); + pbVar13 = (byte *)atoi(pcVar4 + 1); + pLVar3 = ANM2::GetLayer(this,pbVar13); if ((pLVar3->_visible != 0) && (*(int *)(in_ECX + 0x4f70) != 0)) { - if (((int)pbVar14 < 0) || (*(int *)(*(int *)(in_ECX + 0x4f6c) + 0x80) <= (int)pbVar14)) + if (((int)pbVar13 < 0) || (*(int *)(*(int *)(in_ECX + 0x4f6c) + 0x80) <= (int)pbVar13)) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"LayerId out of bounds\n"); } - if ((int)pbVar14 < *(int *)(*(int *)(in_ECX + 0x4f6c) + 0x80)) { - iVar13 = *(int *)(*(int *)(in_ECX + 0x4f74) + - *(int *)(*(int *)(in_ECX + 0x4f70) + 0x38 + (int)pbVar14 * 4) * 4); + if ((int)pbVar13 < *(int *)(*(int *)(in_ECX + 0x4f6c) + 0x80)) { + iVar12 = *(int *)(*(int *)(in_ECX + 0x4f74) + + *(int *)(*(int *)(in_ECX + 0x4f70) + 0x38 + (int)pbVar13 * 4) * 4); } else { - iVar13 = 0; + iVar12 = 0; } iVar2 = *(int *)(in_ECX + 0x4f70); - if (((iVar2 != 0) && (-1 < (int)uVar15)) && ((int)uVar15 < *(int *)(in_ECX + 0x4fc4))) { - uVar11 = 0; + if (((iVar2 != 0) && (-1 < (int)uVar14)) && ((int)uVar14 < *(int *)(in_ECX + 0x4fc4))) { + uVar10 = 0; if (*(uint *)(iVar2 + 0x24) != 0) { - puVar6 = *(uint **)(iVar2 + 0x20); + puVar5 = *(uint **)(iVar2 + 0x20); do { - if (((*puVar6 == uVar15) && (-1 < iVar13)) && (iVar13 < (int)puVar6[3])) { - pfVar12 = (float *)(iVar13 * 0x54 + puVar6[2]); - if ((pfVar12 != (float *)0x0) && (*(char *)(pfVar12 + 3) != '\0')) { - fVar16 = *pfVar12 / 0.65; - fVar17 = pfVar12[1] / 0.65; + if (((*puVar5 == uVar14) && (-1 < iVar12)) && (iVar12 < (int)puVar5[3])) { + pfVar11 = (float *)(iVar12 * 0x54 + puVar5[2]); + if ((pfVar11 != (float *)0x0) && (*(char *)(pfVar11 + 3) != '\0')) { + fVar15 = *pfVar11 / 0.65; + fVar16 = pfVar11[1] / 0.65; backdrop_detail_to_world_pos(); if (param_3 != '\0') { + fVar15 = -fVar15; + } + local_14 = fVar15 + local_14; + if (param_4 != '\0') { fVar16 = -fVar16; } - local_14 = fVar16 + local_14; - if (param_4 != '\0') { - fVar17 = -fVar17; - } - local_10 = fVar17 + local_10; - uVar7 = Random(); - piVar8 = (int *)Game::SpawnEx(g_game,1000,0x79,&local_14,&g_vectorZero,0,0, - uVar7,0); - piVar8[0x5b] = piVar8[0x5b] | 0x40; - piVar8[0x5a] = piVar8[0x5a]; - piVar8[0x11e] = 0x40400000; - (**(code **)(*piVar8 + 0x3c))(pfVar12 + 6,0xffffffff,0xff,0,1); - piVar8[0x39] = (int)pfVar12[4]; - piVar8[0x3a] = (int)pfVar12[5]; + local_10 = fVar16 + local_10; + uVar6 = Random(); + piVar7 = (int *)Game::SpawnEx(g_game,1000,0x79,&local_14,&g_vectorZero,0,0, + uVar6,0); + piVar7[0x5b] = piVar7[0x5b] | 0x40; + piVar7[0x5a] = piVar7[0x5a]; + piVar7[0x11e] = 0x40400000; + (**(code **)(*piVar7 + 0x3c))(pfVar11 + 6,0xffffffff,0xff,0,1); + piVar7[0x39] = (int)pfVar11[4]; + piVar7[0x3a] = (int)pfVar11[5]; } break; } - uVar11 = uVar11 + 1; - puVar6 = puVar6 + 4; - } while (uVar11 < *(uint *)(iVar2 + 0x24)); + uVar10 = uVar10 + 1; + puVar5 = puVar5 + 4; + } while (uVar10 < *(uint *)(iVar2 + 0x24)); } } } } local_20 = (int *)((int)local_20 + 0x18); - uVar15 = uVar15 + 1; - } while (uVar15 < local_c); + uVar14 = uVar14 + 1; + } while (uVar14 < local_c); } } return; @@ -807914,8 +809319,8 @@ void Backdrop::load_details(void) int *piVar10; undefined4 ****ppppuVar11; undefined4 uVar12; - int iVar13; - byte *pbVar14; + byte *pbVar13; + int iVar14; undefined4 *in_ECX; uint *puVar15; char *pcVar16; @@ -808052,18 +809457,18 @@ void Backdrop::load_details(void) local_3c._size = g_graphicsManager_blendMode[3]; iVar4 = g_graphicsManager_blendMode[2]; iVar23 = g_graphicsManager_blendMode[0]; - local_70 = DAT_00c79910; - iVar13 = 1; + local_70 = (uint *)g_graphicsManager_blendMode[4]; + iVar14 = 1; if ((g_graphicsManager_flags & 4) == 0) { - iVar13 = 6; + iVar14 = 6; } g_graphicsManager_blendMode[0] = 0; iVar3 = g_graphicsManager_blendMode[0]; g_graphicsManager_blendMode[2] = 7; iVar5 = g_graphicsManager_blendMode[2]; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = (uint *)&DAT_00000007; - pbVar14 = (byte *)in_ECX[0x1c]; + g_graphicsManager_blendMode[4] = 7; + pbVar13 = (byte *)in_ECX[0x1c]; g_graphicsManager_blendMode[0]._0_1_ = (undefined1)iVar23; g_graphicsManager_blendMode[0]._1_1_ = SUB41(iVar23,1); g_graphicsManager_blendMode[0]._2_1_ = SUB41(iVar23,2); @@ -808085,9 +809490,9 @@ void Backdrop::load_details(void) local_3c._buf[0xe] = g_graphicsManager_blendMode[2]._2_1_; local_3c._buf[0xf] = g_graphicsManager_blendMode[2]._3_1_; g_graphicsManager_blendMode[0] = iVar3; - g_graphicsManager_blendMode[1] = iVar13; + g_graphicsManager_blendMode[1] = iVar14; g_graphicsManager_blendMode[2] = iVar5; - if (pbVar14 == (byte *)0x0) { + if (pbVar13 == (byte *)0x0) { LAB_0093e5fc: bVar6 = ANM2::SetAnimation((ANM2 *)(in_ECX + 0xf),s_Idle2,1); if (bVar6 != 0) { @@ -808096,12 +809501,12 @@ LAB_0093e5fc: } } else { - if (0xf < *(uint *)(pbVar14 + 0x14)) { - pbVar14 = *(byte **)pbVar14; + if (0xf < *(uint *)(pbVar13 + 0x14)) { + pbVar13 = *(byte **)pbVar13; } pbVar18 = s_Idle2; do { - bVar6 = *pbVar14; + bVar6 = *pbVar13; bVar22 = bVar6 < *pbVar18; if (bVar6 != *pbVar18) { LAB_0093e5e4: @@ -808109,10 +809514,10 @@ LAB_0093e5e4: goto LAB_0093e5e9; } if (bVar6 == 0) break; - bVar6 = pbVar14[1]; + bVar6 = pbVar13[1]; bVar22 = bVar6 < pbVar18[1]; if (bVar6 != pbVar18[1]) goto LAB_0093e5e4; - pbVar14 = pbVar14 + 2; + pbVar13 = pbVar13 + 2; pbVar18 = pbVar18 + 2; } while (bVar6 != 0); uVar7 = 0; @@ -808139,13 +809544,13 @@ LAB_0093e5e9: g_graphicsManager_blendMode[2]._2_1_ = local_3c._buf[0xe]; g_graphicsManager_blendMode[2]._3_1_ = local_3c._buf[0xf]; g_graphicsManager_blendMode[3] = local_3c._size; - DAT_00c79910 = local_70; + g_graphicsManager_blendMode[4] = (int)local_70; _glfw_context_reset(1); - pbVar14 = (byte *)in_ECX[0x1c]; - if (pbVar14 != (byte *)0x0) { - pbVar18 = pbVar14; - if (0xf < *(uint *)(pbVar14 + 0x14)) { - pbVar18 = *(byte **)pbVar14; + pbVar13 = (byte *)in_ECX[0x1c]; + if (pbVar13 != (byte *)0x0) { + pbVar18 = pbVar13; + if (0xf < *(uint *)(pbVar13 + 0x14)) { + pbVar18 = *(byte **)pbVar13; } pbVar19 = &DAT_00b601c4; do { @@ -808165,7 +809570,7 @@ LAB_0093e6e2: } while (bVar6 != 0); uVar7 = 0; LAB_0093e6e7: - if ((uVar7 == 0) && ((pbVar14[0x34] == 0 || (*(char *)(in_ECX + 0x20) != '\0')))) + if ((uVar7 == 0) && ((pbVar13[0x34] == 0 || (*(char *)(in_ECX + 0x20) != '\0')))) goto LAB_0093e713; } bVar6 = ANM2::SetAnimation((ANM2 *)(in_ECX + 0xf),&DAT_00b601c4,1); @@ -808323,11 +809728,11 @@ LAB_0093df32: if ((*(int *)((int)(local_70 + 0x6c) + (int)in_ECX) != 0) && ((((iVar23 = Room::GetRoomShape(), iVar23 == 2 || (iVar23 == 3)) || (iVar23 == 5)) || (iVar23 == 7)))) { - puVar8 = (undefined4 *)((int)(local_70 + 0x68) + (int)in_ECX); - if (0xf < (uint)puVar8[5]) { - puVar8 = (undefined4 *)*puVar8; + pbVar13 = (byte *)((int)(local_70 + 0x68) + (int)in_ECX); + if (0xf < *(uint *)(pbVar13 + 0x14)) { + pbVar13 = *(byte **)pbVar13; } - uVar12 = Manager::LoadImage(local_74,puVar8); + uVar12 = Manager::LoadImage(local_74,pbVar13); local_14._0_1_ = 10; goto LAB_0093df32; } @@ -808365,21 +809770,21 @@ LAB_0093df32: if (0xf < (uint)in_ECX[0x13da]) { local_70 = (uint *)*local_70; } - pbVar14 = (byte *)in_ECX[0x13dc]; - if (pbVar14 != (byte *)0x0) { - if (0xf < *(uint *)(pbVar14 + 0x14)) { - pbVar14 = *(byte **)pbVar14; + pbVar13 = (byte *)in_ECX[0x13dc]; + if (pbVar13 != (byte *)0x0) { + if (0xf < *(uint *)(pbVar13 + 0x14)) { + pbVar13 = *(byte **)pbVar13; } puVar15 = local_70; do { - bVar6 = *pbVar14; + bVar6 = *pbVar13; bVar22 = bVar6 < (byte)*puVar15; if (bVar6 != (byte)*puVar15) goto LAB_0093e060; if (bVar6 == 0) break; - bVar6 = pbVar14[1]; + bVar6 = pbVar13[1]; bVar22 = bVar6 < *(byte *)((int)puVar15 + 1); if (bVar6 != *(byte *)((int)puVar15 + 1)) goto LAB_0093e060; - pbVar14 = pbVar14 + 2; + pbVar13 = pbVar13 + 2; puVar15 = (uint *)((int)puVar15 + 2); } while (bVar6 != 0); LAB_0093e05c: @@ -808437,21 +809842,21 @@ LAB_0093e16c: if (0xf < (uint)in_ECX[0x13da]) { local_70 = (uint *)*local_70; } - pbVar14 = (byte *)in_ECX[0x13dc]; - if (pbVar14 != (byte *)0x0) { - if (0xf < *(uint *)(pbVar14 + 0x14)) { - pbVar14 = *(byte **)pbVar14; + pbVar13 = (byte *)in_ECX[0x13dc]; + if (pbVar13 != (byte *)0x0) { + if (0xf < *(uint *)(pbVar13 + 0x14)) { + pbVar13 = *(byte **)pbVar13; } puVar15 = local_70; do { - bVar6 = *pbVar14; + bVar6 = *pbVar13; bVar22 = bVar6 < (byte)*puVar15; if (bVar6 != (byte)*puVar15) goto LAB_0093e060; if (bVar6 == 0) goto LAB_0093e05c; - bVar6 = pbVar14[1]; + bVar6 = pbVar13[1]; bVar22 = bVar6 < *(byte *)((int)puVar15 + 1); if (bVar6 != *(byte *)((int)puVar15 + 1)) goto LAB_0093e060; - pbVar14 = pbVar14 + 2; + pbVar13 = pbVar13 + 2; puVar15 = (uint *)((int)puVar15 + 2); } while (bVar6 != 0); uVar7 = 0; @@ -808665,7 +810070,7 @@ void Backdrop::RenderFloor(Vector *param_1) float local_12c; Vector *local_128; float local_124; - undefined4 local_120; + int local_120; int local_110; int iStack_10c; int iStack_108; @@ -808680,20 +810085,20 @@ void Backdrop::RenderFloor(Vector *param_1) iStack_10c = g_graphicsManager_blendMode[1]; iStack_108 = g_graphicsManager_blendMode[2]; iStack_104 = g_graphicsManager_blendMode[3]; - local_120 = DAT_00c79910; + local_120 = g_graphicsManager_blendMode[4]; if (in_ECX[0x54] == 0x1c) { g_graphicsManager_blendMode[1] = 1; if (((byte)g_graphicsManager_flags & 4) == 0) { g_graphicsManager_blendMode[1] = 6; } g_graphicsManager_blendMode[2] = 7; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; puVar6 = (undefined4 *)&DAT_00000006; } else { g_graphicsManager_blendMode[1] = 1; g_graphicsManager_blendMode[2] = 0; - DAT_00c79910 = 0; + g_graphicsManager_blendMode[4] = 0; puVar6 = in_ECX; } g_graphicsManager_blendMode[3] = 1; @@ -808839,7 +810244,7 @@ LAB_0093ef9f: g_graphicsManager_blendMode[1] = iStack_10c; g_graphicsManager_blendMode[2] = iStack_108; g_graphicsManager_blendMode[3] = iStack_104; - DAT_00c79910 = local_120; + g_graphicsManager_blendMode[4] = local_120; shader_cache_find(puVar6); return; } @@ -808854,7 +810259,7 @@ LAB_0093ef9f: void Backdrop::render_floor_surface(float *param_1) { - undefined4 uVar1; + int iVar1; int iVar2; undefined *puVar3; int in_ECX; @@ -808882,7 +810287,7 @@ void Backdrop::render_floor_surface(float *param_1) int iStack_a4; undefined1 local_80 [124]; - uVar1 = DAT_00c79910; + iVar1 = g_graphicsManager_blendMode[4]; iVar2 = 1; fVar4 = 52.0; local_b0 = g_graphicsManager_blendMode[0]; @@ -808899,7 +810304,7 @@ void Backdrop::render_floor_surface(float *param_1) puVar3 = g_currentShader; } g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; local_c4 = 0x42500000; local_c8 = 0x42500000; local_e4 = (*(float *)(in_ECX + 0x4f20) - *(float *)(in_ECX + 0x4f18)) + 0.0; @@ -808926,7 +810331,7 @@ void Backdrop::render_floor_surface(float *param_1) g_graphicsManager_blendMode[1] = (int)local_b8; g_graphicsManager_blendMode[2] = local_b4; g_graphicsManager_blendMode[3] = local_b0; - DAT_00c79910 = uVar1; + g_graphicsManager_blendMode[4] = iVar1; shader_cache_find(extraout_ECX_00); return; } @@ -809098,7 +810503,7 @@ LAB_00940ce6: iStack_9c = g_graphicsManager_blendMode[1]; iStack_98 = g_graphicsManager_blendMode[2]; iStack_94 = g_graphicsManager_blendMode[3]; - local_120 = (float)DAT_00c79910; + local_120 = (float)g_graphicsManager_blendMode[4]; set_blend_mode(); local_134[0] = (Vector *)(*(float *)(in_ECX + 0x4f20) - *(float *)(in_ECX + 0x4f18)); local_184 = (Vector *)(*(float *)(in_ECX + 0x4f24) - *(float *)(in_ECX + 0x4f1c)); @@ -809735,7 +811140,7 @@ LAB_00940b5f: g_graphicsManager_blendMode[1] = iStack_9c; g_graphicsManager_blendMode[2] = iStack_98; g_graphicsManager_blendMode[3] = iStack_94; - DAT_00c79910 = local_120; + g_graphicsManager_blendMode[4] = (int)local_120; shader_cache_find(); return; } @@ -809783,7 +811188,7 @@ void Backdrop::RenderWater(int param_1) float fVar11; undefined1 *puVar12; undefined1 local_108 [116]; - undefined4 local_94; + int local_94; undefined1 local_90 [20]; float local_7c; float local_78; @@ -809811,12 +811216,12 @@ void Backdrop::RenderWater(int param_1) float local_18; float local_14; - local_94 = DAT_00c79910; + local_94 = g_graphicsManager_blendMode[4]; iVar5 = g_graphicsManager_blendMode[3]; iVar4 = g_graphicsManager_blendMode[2]; iVar3 = g_graphicsManager_blendMode[1]; iVar2 = g_graphicsManager_blendMode[0]; - DAT_00c79910 = 0; + g_graphicsManager_blendMode[4] = 0; g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[1] = 1; g_graphicsManager_blendMode[2] = 0; @@ -810233,7 +811638,7 @@ LAB_00942072: g_graphicsManager_blendMode[1] = iVar3; g_graphicsManager_blendMode[2] = iVar4; g_graphicsManager_blendMode[3] = iVar5; - DAT_00c79910 = local_94; + g_graphicsManager_blendMode[4] = local_94; return; } pfVar7 = (float *)(iVar6 + 8); @@ -810247,7 +811652,7 @@ LAB_00942072: g_graphicsManager_blendMode[1] = iVar3; g_graphicsManager_blendMode[2] = iVar4; g_graphicsManager_blendMode[3] = iVar5; - DAT_00c79910 = local_94; + g_graphicsManager_blendMode[4] = local_94; return; } if (iVar8 == 0xc) { @@ -810385,7 +811790,7 @@ LAB_00942659: g_graphicsManager_blendMode[1] = iVar3; g_graphicsManager_blendMode[2] = iVar4; g_graphicsManager_blendMode[3] = iVar5; - DAT_00c79910 = local_94; + g_graphicsManager_blendMode[4] = local_94; return; } @@ -812792,23 +814197,27 @@ void Menu_Challenge::Update(void) right->_isCustomRun = 1; difficulty = *(int *)(uVar6 * 0xa4 + 0x70 + (int)pvVar1); Seeds::construct_from_copy(aSStackY_2f08 + 0x81,right); - unk._48_4_ = in_stack_ffffff84; + unk._stageSeeds[6] = in_stack_ffffff84; unk._isCustomRun = in_stack_ffffff54[0]; unk._1_3_ = in_stack_ffffff54._1_3_; unk._gameStartSeed = in_stack_ffffff54._4_4_; - unk._rng = (RNG)in_stack_ffffff54._8_4_; - unk._12_8_ = in_stack_ffffff54._12_8_; - unk._20_8_ = in_stack_ffffff54._20_8_; - unk._28_8_ = in_stack_ffffff54._28_8_; - unk._36_8_ = in_stack_ffffff54._36_8_; - unk._44_4_ = in_stack_ffffff54._44_4_; - unk._52_4_ = in_stack_ffffff88; - unk._56_4_ = in_stack_ffffff8c; - unk._60_4_ = in_stack_ffffff90; - unk._64_4_ = uVar12; - unk._68_4_ = uVar13; - unk._72_4_ = in_stack_ffffff9c; - unk._76_4_ = in_stack_ffffffa0; + unk._rng._seed = in_stack_ffffff54._8_4_; + unk._rng._shift1 = in_stack_ffffff54._12_4_; + unk._rng._shift2 = in_stack_ffffff54._16_4_; + unk._rng._shift3 = in_stack_ffffff54._20_4_; + unk._stageSeeds[0] = in_stack_ffffff54._24_4_; + unk._stageSeeds[1] = in_stack_ffffff54._28_4_; + unk._stageSeeds[2] = in_stack_ffffff54._32_4_; + unk._stageSeeds[3] = in_stack_ffffff54._36_4_; + unk._stageSeeds[4] = in_stack_ffffff54._40_4_; + unk._stageSeeds[5] = in_stack_ffffff54._44_4_; + unk._stageSeeds[7] = in_stack_ffffff88; + unk._stageSeeds[8] = in_stack_ffffff8c; + unk._stageSeeds[9] = in_stack_ffffff90; + unk._stageSeeds[10] = uVar12; + unk._stageSeeds[0xb] = uVar13; + unk._stageSeeds[0xc] = in_stack_ffffff9c; + unk._stageSeeds[0xd] = in_stack_ffffffa0; unk._playerInitSeed = in_stack_ffffffa4; unk._seedEffects = (void *)in_stack_ffffffa8; unk._seedEffectsCount = in_stack_ffffffac; @@ -813646,9 +815055,9 @@ void Menu_Character::LoadGraphics(void) } uVar15 = 3; uVar13 = 0x948303; - ANM2::GetLayer(pAVar11,(byte *)0x3); + pLVar3 = ANM2::GetLayer(pAVar11,(byte *)0x3); KAGE::SmartPointer::operator_assign(in_ECX + 1); - LayerState::SetTexture(uVar13,uVar15); + LayerState::SetTexture(pLVar3,uVar13,uVar15); pLVar3 = ANM2::GetLayer(pAVar11,(byte *)0x3); if (pLVar3->_layerData == (void *)0x0) { local_3c._capacity = 0xf; @@ -813963,11 +815372,11 @@ LAB_00948875: do { pLVar3 = ANM2::GetLayer(pAVar11,pbVar10); pbVar10 = pbVar10 + 1; - *(undefined4 *)&pLVar3->field_0x78 = DAT_00c35e78; - *(undefined4 *)&pLVar3->field_0x7c = DAT_00c35e7c; - *(undefined4 *)&pLVar3->field_0x80 = DAT_00c35e80; - *(undefined4 *)&pLVar3->field_0x84 = DAT_00c35e84; - *(undefined4 *)&pLVar3->field_0x88 = DAT_00c35e88; + pLVar3->_blendMode[0] = DAT_00c35e78; + pLVar3->_blendMode[1] = DAT_00c35e7c; + pLVar3->_blendMode[2] = DAT_00c35e80; + pLVar3->_blendMode[3] = DAT_00c35e84; + pLVar3->_blendMode[4] = DAT_00c35e88; } while (pbVar10 < (byte *)(in_ECX->_DifficultyOverlaySprite)._layerCount); } local_3c._size = 0; @@ -814630,7 +816039,7 @@ void Menu_Character::set_character_menu_shown(int param_1) { ANM2 *this; - uint *puVar1; + int *piVar1; char cVar2; HWND hWnd; byte bVar3; @@ -814811,11 +816220,11 @@ LAB_00949827: do { pLVar6 = ANM2::GetLayer(this,pbVar17); pbVar17 = pbVar17 + 1; - *(undefined4 *)&pLVar6->field_0x78 = DAT_00c35e78; - *(undefined4 *)&pLVar6->field_0x7c = DAT_00c35e7c; - *(undefined4 *)&pLVar6->field_0x80 = DAT_00c35e80; - *(undefined4 *)&pLVar6->field_0x84 = DAT_00c35e84; - *(undefined4 *)&pLVar6->field_0x88 = DAT_00c35e88; + pLVar6->_blendMode[0] = DAT_00c35e78; + pLVar6->_blendMode[1] = DAT_00c35e7c; + pLVar6->_blendMode[2] = DAT_00c35e80; + pLVar6->_blendMode[3] = DAT_00c35e84; + pLVar6->_blendMode[4] = DAT_00c35e88; } while (pbVar17 < (byte *)(in_ECX->_DifficultyOverlaySprite)._layerCount); } local_30._size = 0; @@ -814906,9 +816315,9 @@ LAB_009499c1: local_50._buf[0xf] = '\0'; local_50._size = 0; local_50._capacity = 0x3f800000; - puVar1 = (uint *)((int)&pMVar14->_optionsConfig + - *(int *)&pMVar14->_musicManager * 0x184 + -0x210); - *puVar1 = *puVar1 & 0xfffffffe; + piVar1 = &(pMVar14->_musicManager)._channels[(pMVar14->_musicManager)._currentChannel]. + _enabledLayers; + *piVar1 = *piVar1 & 0xfffffffe; psVar7 = &local_50; } else { @@ -815168,7 +816577,7 @@ LAB_00949d9b: in_stack_ffffffc0 = 0x949ea9; PersistentGameData::IncreaseEventCounter(&g_manager->_persistentGameData,0x15,-1); } - if (g_manager->field_0x20d90 != '\0') { + if ((g_manager->_gamestate)._isSaveAvailable != 0) { in_stack_ffffffc4 = 0x16; in_stack_ffffffc0 = 0x949ecb; PersistentGameData::IncreaseEventCounter @@ -815200,20 +816609,27 @@ LAB_00949d9b: } difficulty = this->Difficulty; Seeds::construct_from_copy(aSStackY_2ef0 + 0x81,&g_menuManager->_seedsObject); - unk._68_4_ = in_stack_ffffffb0; + unk._stageSeeds[0xb] = in_stack_ffffffb0; unk._isCustomRun = in_stack_ffffff6c[0]; unk._1_3_ = in_stack_ffffff6c._1_3_; unk._gameStartSeed = in_stack_ffffff6c._4_4_; - unk._rng = (RNG)in_stack_ffffff6c._8_4_; - unk._12_8_ = in_stack_ffffff6c._12_8_; - unk._20_8_ = in_stack_ffffff6c._20_8_; - unk._28_8_ = in_stack_ffffff6c._28_8_; - unk._36_8_ = in_stack_ffffff6c._36_8_; - unk._44_8_ = in_stack_ffffff6c._44_8_; - unk._52_8_ = in_stack_ffffff6c._52_8_; - unk._60_8_ = in_stack_ffffff6c._60_8_; - unk._72_4_ = in_stack_ffffffb4; - unk._76_4_ = in_stack_ffffffb8; + unk._rng._seed = in_stack_ffffff6c._8_4_; + unk._rng._shift1 = in_stack_ffffff6c._12_4_; + unk._rng._shift2 = in_stack_ffffff6c._16_4_; + unk._rng._shift3 = in_stack_ffffff6c._20_4_; + unk._stageSeeds[0] = in_stack_ffffff6c._24_4_; + unk._stageSeeds[1] = in_stack_ffffff6c._28_4_; + unk._stageSeeds[2] = in_stack_ffffff6c._32_4_; + unk._stageSeeds[3] = in_stack_ffffff6c._36_4_; + unk._stageSeeds[4] = in_stack_ffffff6c._40_4_; + unk._stageSeeds[5] = in_stack_ffffff6c._44_4_; + unk._stageSeeds[6] = in_stack_ffffff6c._48_4_; + unk._stageSeeds[7] = in_stack_ffffff6c._52_4_; + unk._stageSeeds[8] = in_stack_ffffff6c._56_4_; + unk._stageSeeds[9] = in_stack_ffffff6c._60_4_; + unk._stageSeeds[10] = in_stack_ffffff6c._64_4_; + unk._stageSeeds[0xc] = in_stack_ffffffb4; + unk._stageSeeds[0xd] = in_stack_ffffffb8; unk._playerInitSeed = in_stack_ffffffbc; unk._seedEffects = (void *)in_stack_ffffffc0; unk._seedEffectsCount = in_stack_ffffffc4; @@ -816059,7 +817475,7 @@ LAB_0094ad06: local_70 = (Font *)0x43b28000; local_74 = (Font *)0x42380000; pLVar10->_visible = 1; - if (g_manager->_stringTable == 2) { + if (*(int *)&g_manager->_stringTable == 2) { local_70 = (Font *)0x43b68000; local_74 = (Font *)0x42440000; } @@ -817283,11 +818699,13 @@ void Menu_Character::submit_seed(void) } if (*pcVar4 == '#') { local_21 = '\0'; - StringTable::get_string("SeedMenu",g_manager->_stringTable,pcVar4 + 1,&local_21); + StringTable::get_string + ("SeedMenu",*(undefined4 *)&g_manager->_stringTable,pcVar4 + 1,&local_21); if (local_21 == '\0') { local_21 = '\0'; pcVar4 = (char *)StringTable::get_string - ("SeedMenu",pMVar2->_stringTable,pcVar4 + 1,&local_21); + ("SeedMenu",*(undefined4 *)&pMVar2->_stringTable,pcVar4 + 1, + &local_21); } } local_20 = 0; @@ -817335,11 +818753,13 @@ LAB_0094d2cc: } if (*pcVar4 == '#') { local_21 = '\0'; - StringTable::get_string("SeedMenu",g_manager->_stringTable,pcVar4 + 1,&local_21); + StringTable::get_string + ("SeedMenu",*(undefined4 *)&g_manager->_stringTable,pcVar4 + 1,&local_21); if (local_21 == '\0') { local_21 = '\0'; pcVar4 = (char *)StringTable::get_string - ("SeedMenu",pMVar2->_stringTable,pcVar4 + 1,&local_21); + ("SeedMenu",*(undefined4 *)&pMVar2->_stringTable,pcVar4 + 1, + &local_21); } } local_20 = 0; @@ -817947,7 +819367,7 @@ void Menu_Character::render_page_snapshot(void) g_graphicsManager_blendMode[1] = 6; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 1; + g_graphicsManager_blendMode[4] = 1; render_wheel(); _glfw_context_reset(1); pop_render_target(); @@ -819163,8 +820583,8 @@ LAB_0094f92f: local_330 = 100.0 / (float)(uVar10 + 3); local_314 = (ItemConfig_Item *)local_33c; if (local_33c != (float *)0x0) { - ANM2::GetLayer((ANM2 *)(in_ECX + 5),(byte *)0x0); - piVar14 = (int *)LayerState::GetTexture(); + pLVar9 = ANM2::GetLayer((ANM2 *)(in_ECX + 5),(byte *)0x0); + piVar14 = (int *)LayerState::GetTexture(pLVar9); local_338 = 1; local_314 = (ItemConfig_Item *)local_33c; if (*piVar14 != 0) { @@ -819284,11 +820704,11 @@ LAB_0094fd15: local_2a0._offset[1] = 0.0; local_2a0._offset[2] = 0.0; g_currentShader = puVar12; - ANM2::GetLayer((ANM2 *)(in_ECX + 5),(byte *)0x0); - LayerState::GetTexture(auStack_40a + -10); + pLVar9 = ANM2::GetLayer((ANM2 *)(in_ECX + 5),(byte *)0x0); + LayerState::GetTexture(pLVar9,auStack_40a + -10); apply_sprite_shader_params(1); - ANM2::GetLayer((ANM2 *)(in_ECX + 5),(byte *)0x0); - puVar13 = (undefined4 *)LayerState::GetTexture(); + pLVar9 = ANM2::GetLayer((ANM2 *)(in_ECX + 5),(byte *)0x0); + puVar13 = (undefined4 *)LayerState::GetTexture(pLVar9); local_14 = 4; (**(code **)(*(int *)*puVar13 + 0x14))(&local_38c); local_14 = 5; @@ -819830,7 +821250,7 @@ undefined1 * Manager::constructor(void) *(undefined4 *)(in_ECX + 0x4b1c4) = 0; *(undefined4 *)(in_ECX + 0x4b1cc) = 0; in_ECX[0x4b1c8] = 0; - ChallengeParam::Reset(); + ChallengeParam::Reset((ChallengeParam *)(in_ECX + 0x4b1d0)); *(undefined4 *)(in_ECX + 0x4b278) = 0; *(undefined4 *)(in_ECX + 0x4b27c) = 0; *(undefined4 *)(in_ECX + 0x4b280) = 0; @@ -820028,7 +821448,7 @@ void __thiscall Manager::destructor(Manager *this) puStack_c = &LAB_00b0bd80; local_10 = ExceptionList; ExceptionList = &local_10; - this_01 = (ANM2 *)&this->field_0x4a950; + this_01 = (ANM2 *)&this->_popupButtons; iVar4 = 2; do { ANM2::Reset(this_01); @@ -820152,26 +821572,28 @@ void __thiscall Manager::destructor(Manager *this) std::string::_Tidy_deallocate(); std::vector<260byte>::~vector(); local_8 = 3; - *(undefined4 *)&this->field_0x4abb4 = 0; - *(undefined4 *)&this->field_0x4abb8 = 0; - _eh_vector_destructor_iterator_(&this->field_0x4a950,0x130,2,FUN_008ba170); + (this->_popupButtons)._callback = (void *)0x0; + (this->_popupButtons)._callbackContext = (void *)0x0; + _eh_vector_destructor_iterator_(&this->_popupButtons,0x130,2,FUN_008ba170); StringTable::clear(); + psVar1 = &(this->_stringTablePc)._categories; std::map::_Erase_tree - (&this->field_0x4a944,*(undefined4 *)(*(int *)&this->field_0x4a944 + 4)); - operator_delete(*(undefined4 *)&this->field_0x4a944,0x28); - puVar2 = &this->field_0x4a93c; + (psVar1,*(undefined4 *)((int)(this->_stringTablePc)._categories._head + 4)); + operator_delete(psVar1->_head,0x28); + puVar2 = &(this->_stringTablePc).field_0x4; FID_conflict__Erase_tree_>_> (puVar2,(fuzzer_allocator_> *)puVar2, - *(_Tree_node **)(*(int *)&this->field_0x4a93c + 4)); + *(_Tree_node **)(*(int *)&(this->_stringTablePc).field_0x4 + 4)); operator_delete(*(undefined4 *)puVar2,0x18); StringTable::clear(); + psVar1 = &(this->_stringTable)._categories; std::map::_Erase_tree - (&this->field_0x4a92c,*(undefined4 *)(*(int *)&this->field_0x4a92c + 4)); - operator_delete(*(undefined4 *)&this->field_0x4a92c,0x28); - puVar2 = &this->field_0x4a924; + (psVar1,*(undefined4 *)((int)(this->_stringTable)._categories._head + 4)); + operator_delete(psVar1->_head,0x28); + puVar2 = &(this->_stringTable).field_0x4; FID_conflict__Erase_tree_>_> (puVar2,(fuzzer_allocator_> *)puVar2, - *(_Tree_node **)(*(int *)&this->field_0x4a924 + 4)); + *(_Tree_node **)(*(int *)&(this->_stringTable).field_0x4 + 4)); operator_delete(*(undefined4 *)puVar2,0x18); ModManager::~ModManager(); FUN_00694ea0(); @@ -820181,14 +821603,15 @@ void __thiscall Manager::destructor(Manager *this) std::string::_Tidy_deallocate(); std::vector::_Tidy(); MusicManager::~MusicManager(); - AchievementOverlay::~AchievementOverlay(); + AchievementOverlay::~AchievementOverlay(&this->_achievementOverlay); NightmareScene::~NightmareScene(); local_8 = 4; VideoPlayer::unload(); - _eh_vector_destructor_iterator_(&this->field_0x20dd4,0x4c,0x1b,CutsceneEntry::Destructor); + _eh_vector_destructor_iterator_ + (&(this->_cutsceneManager).field_0x4,0x4c,0x1b,CutsceneEntry::Destructor); GameState::~GameState(); local_8 = 5; - puVar3 = *(undefined4 **)&(this->_persistentGameData).field_0x4; + puVar3 = (this->_persistentGameData)._saveFile; if (puVar3 != (undefined4 *)0x0) { (**(code **)*puVar3)(1); } @@ -820311,7 +821734,7 @@ void Manager::load_fonts(void) ExceptionList = &local_1c; Font::Unload((Font *)(in_ECX + 0x4b088),local_24); Font::Unload((Font *)(in_ECX + 0x4aff0)); - iVar2 = g_manager->_stringTable; + iVar2 = *(int *)&g_manager->_stringTable; if (iVar2 == 2) { pcVar7 = "font/MPlus_12b.fnt"; LAB_009519b0: @@ -820771,7 +822194,7 @@ void Manager::render_loading_icon(void) void Manager::Init(void) { - undefined4 *this; + StringTable *this; Game *pGVar1; char cVar2; byte bVar3; @@ -820812,7 +822235,7 @@ void Manager::Init(void) ExceptionList = &local_10; local_238 = g_manager; this = &g_manager->_stringTable; - g_manager->field_0x20dcc = 0; + g_manager->_isSavingGameState = 0; local_14 = uVar4; StringTable::Load(this,(byte *)"stringtable.sta"); StringTable::Load(&pMVar12->_stringTablePc,(byte *)"stringtable_pc.sta"); @@ -820920,7 +822343,7 @@ void Manager::Init(void) KAGE_LogMessage(1,"[warn] SteamCloud is either not available or disabled in Options.ini.\n"); } validate_language(extraout_ECX_00); - FUN_00423990(); + PopupButtons::Init(); ModManager::ListMods(&pMVar12->_modManager); ModManager::LoadShaders(&pMVar12->_modManager); KAGE_Graphics::SetRenderTarget(0,0); @@ -820929,12 +822352,12 @@ void Manager::Init(void) Seeds::InitSeedInfo(); pMVar12->_isConsoleEnabled = (pMVar12->_optionsConfig)._enableDebugConsole; create_render_surfaces(); - *(undefined4 *)&pMVar12->field_0xc = 0; + pMVar12->_previousState = 0; pMVar12->_state = 0; pMVar12->_currentSaveSlot = 0; pMVar12->_framecount = 0; *(undefined2 *)&pMVar12->field_0x4abc4 = 0; - *(undefined4 *)&pMVar12->field_0x4abc0 = 0; + pMVar12->_consecutiveResetCount = 0; load_configs(); local_230 = (Game *)operator_new(0x68e88); local_8 = 1; @@ -821013,21 +822436,21 @@ LAB_00952975: ((pbVar8[0x34] != 0 && ((pMVar12->_cursorSprite)._animState._isPlaying == 0)))) goto LAB_00952994; } - *(undefined4 *)&pMVar12->field_0x4b3c4 = 0; + pMVar12->_cursorVisibleTimer = 0; } if ((DAT_00c796bc & 1) == 0) { (pMVar12->_optionsConfig)._enableWaterSurface = 0; } pMVar12->_isMenuPending = 0; pMVar12->_starting = 0; - pMVar12->field_0x21618 = 0; - pMVar12->field_0x4b2a4 = 0; + (pMVar12->_cutsceneManager).field_0x848 = 0; + pMVar12->_isNightmarePending = 0; *(undefined1 *)pMVar12 = 0; pMVar12->_isHotkeysEnabled = 1; - pMVar12->field_0x4b3c9 = 0; + pMVar12->_isRenderSurfaceResetPending = 0; *(float *)&pMVar12->field_0x4b3cc = g_vectorZero.x; *(float *)&pMVar12->field_0x4b3d0 = g_vectorZero.y; - *(undefined2 *)&pMVar12->field_0x4b284 = 0; + *(undefined2 *)&pMVar12->_isSaveOnExit = 0; input_configs_load(); local_22c._size = 0; local_22c._capacity = 0xf; @@ -821309,7 +822732,7 @@ LAB_00952ff1: } operator_delete(iVar6,uVar2); } - AchievementOverlay::load_graphics(); + AchievementOverlay::load_graphics((AchievementOverlay *)(in_ECX + 0x21c1c)); pMVar1 = g_manager; local_54[0] = (char *)std::_Allocate(); local_44 = 0x10; @@ -821981,8 +823404,8 @@ void Manager::unload_configs(void) pMVar6 = g_manager; local_c = g_manager; - g_manager->_cutsceneManager = (Cutscene)0x0; - piVar10 = (int *)&pMVar6->field_0x20e40; + *(undefined4 *)&g_manager->_cutsceneManager = 0; + piVar10 = (int *)&(pMVar6->_cutsceneManager).field_0x70; local_8 = 0x1a; do { piVar7 = (int *)piVar10[-1]; @@ -822003,36 +823426,44 @@ void Manager::unload_configs(void) piVar10 = piVar10 + 0x13; local_8 = local_8 + -1; } while (local_8 != 0); - TheoraVideoManager::destroyVideoClip(*(undefined4 *)&pMVar6->field_0x215e0); - *(undefined4 *)&pMVar6->field_0x215e0 = 0; - *(undefined4 *)&pMVar6->field_0x215dc = 0; - pMVar6->field_0x215ec = 0; + TheoraVideoManager::destroyVideoClip(*(undefined4 *)&(pMVar6->_cutsceneManager).field_0x810); + *(undefined4 *)&(pMVar6->_cutsceneManager).field_0x810 = 0; + *(undefined4 *)&(pMVar6->_cutsceneManager).field_0x80c = 0; + (pMVar6->_cutsceneManager).field_0x81c = 0; KAGE::SmartPointer::reset(extraout_ECX); - pMVar6->_nightmareScene = (NightmareScene)0x0; - *(undefined4 *)&pMVar6->field_0x2162c = 0; - *(undefined4 *)&pMVar6->field_0x21988 = 0; - iVar2 = *(int *)&pMVar6->field_0x21634; - iVar8 = *(int *)&pMVar6->field_0x21630; + *(undefined4 *)&pMVar6->_nightmareScene = 0; + *(undefined4 *)&(pMVar6->_nightmareScene).field_0x4 = 0; + *(undefined4 *)&(pMVar6->_nightmareScene).field_0x360 = 0; + iVar2 = *(int *)&(pMVar6->_nightmareScene).field_0xc; + iVar8 = *(int *)&(pMVar6->_nightmareScene).field_0x8; if (iVar8 != iVar2) { do { std::string::_Tidy_deallocate(); iVar8 = iVar8 + 0x18; } while (iVar8 != iVar2); - iVar8 = *(int *)&pMVar6->field_0x21630; + iVar8 = *(int *)&(pMVar6->_nightmareScene).field_0x8; } - *(int *)&pMVar6->field_0x21634 = iVar8; - *(undefined4 *)&pMVar6->field_0x21640 = *(undefined4 *)&pMVar6->field_0x2163c; - *(undefined8 *)&pMVar6->field_0x21994 = 0x1100000011; - *(undefined8 *)&pMVar6->field_0x2199c = 0x1100000011; - *(undefined8 *)&pMVar6->field_0x219a4 = 0x1100000011; - *(undefined8 *)&pMVar6->field_0x219ac = 0x1100000011; - *(undefined8 *)&pMVar6->field_0x219b4 = 0x1100000011; - *(undefined8 *)&pMVar6->field_0x219bc = 0x1100000011; - *(undefined8 *)&pMVar6->field_0x219c4 = 0x1100000011; - ANM2::Reset((ANM2 *)&pMVar6->field_0x21870); + *(int *)&(pMVar6->_nightmareScene).field_0xc = iVar8; + *(undefined4 *)&(pMVar6->_nightmareScene).field_0x18 = + *(undefined4 *)&(pMVar6->_nightmareScene).field_0x14; + (pMVar6->_nightmareScene)._stageBarIcons[0] = 0x11; + (pMVar6->_nightmareScene)._stageBarIcons[1] = 0x11; + (pMVar6->_nightmareScene)._stageBarIcons[2] = 0x11; + (pMVar6->_nightmareScene)._stageBarIcons[3] = 0x11; + (pMVar6->_nightmareScene)._stageBarIcons[4] = 0x11; + (pMVar6->_nightmareScene)._stageBarIcons[5] = 0x11; + (pMVar6->_nightmareScene)._stageBarIcons[6] = 0x11; + (pMVar6->_nightmareScene)._stageBarIcons[7] = 0x11; + (pMVar6->_nightmareScene)._stageBarIcons[8] = 0x11; + (pMVar6->_nightmareScene)._stageBarIcons[9] = 0x11; + (pMVar6->_nightmareScene)._stageBarIcons[10] = 0x11; + (pMVar6->_nightmareScene)._stageBarIcons[0xb] = 0x11; + (pMVar6->_nightmareScene)._stageBarIcons[0xc] = 0x11; + (pMVar6->_nightmareScene)._stageBarIcons[0xd] = 0x11; + ANM2::Reset((ANM2 *)&(pMVar6->_nightmareScene).field_0x248); ANM2::Reset((ANM2 *)&pMVar6->field_0x219d0); ItemConfig::clear(); - ItemConfig::reset(); + ItemConfig::reset(&pMVar6->_itemConfig); psVar1 = &pMVar6->_challengeParams; if ((std_vector *)local_1c != psVar1) { pvVar3 = psVar1->_begin; @@ -822091,8 +823522,8 @@ void Manager::update_screen_scale(int param_1,int param_2,char param_3) int iVar3; undefined4 uVar4; int iVar5; - undefined4 extraout_ECX; int iVar6; + undefined4 extraout_ECX; float fVar7; float fVar8; float fVar9; @@ -822104,22 +823535,20 @@ void Manager::update_screen_scale(int param_1,int param_2,char param_3) uVar4 = Window::get_framebuffer_height(); fVar7 = (float)iVar3 / (float)param_1 + 0.5; FUN_008370b0(); - iVar6 = *(int *)&pMVar2->field_0x215d8 * 0x4c; - iVar5 = *(int *)((int)&(pMVar2->_optionsConfig)._optionsIniFilePath + iVar6 + -0x9528); + iVar6 = (pMVar2->_cutsceneManager)._currentCutsceneId; + iVar5 = (pMVar2->_nightmareScene)._stageBarIcons[iVar6 * 0x13 + -0x2e0]; g_displayPixelRatio = fVar7; if ((iVar5 < 0) || - (iVar1 = *(int *)((int)&(pMVar2->_optionsConfig)._optionsIniFilePath + iVar6 + -0x954c), - *(int *)((int)&(pMVar2->_optionsConfig)._optionsIniFilePath + iVar6 + -0x9548) - iVar1 >> 2 <= - iVar5)) { + (iVar1 = (pMVar2->_nightmareScene)._stageBarIcons[iVar6 * 0x13 + -0x2e9], + (pMVar2->_nightmareScene)._stageBarIcons[iVar6 * 0x13 + -0x2e8] - iVar1 >> 2 <= iVar5)) { iVar5 = 0x1e0; iVar6 = 0x10e; } else { iVar5 = (**(code **)(**(int **)(iVar1 + iVar5 * 4) + 0x24))(); - iVar6 = (**(code **)(**(int **)(*(int *)((int)&(pMVar2->_optionsConfig)._optionsIniFilePath + - iVar6 + -0x954c) + - *(int *)((int)&(pMVar2->_optionsConfig)._optionsIniFilePath + - iVar6 + -0x9528) * 4) + 0x28))(); + iVar6 = (**(code **)(**(int **)((pMVar2->_nightmareScene)._stageBarIcons[iVar6 * 0x13 + -0x2e9] + + (pMVar2->_nightmareScene)._stageBarIcons[iVar6 * 0x13 + -0x2e0] + * 4) + 0x28))(); } fVar10 = (float)param_2; fVar9 = (float)iVar6 / fVar10; @@ -822142,8 +823571,8 @@ void Manager::update_screen_scale(int param_1,int param_2,char param_3) DAT_00c79114 = uVar4; DAT_00c7997c = g_screenWidth; DAT_00c79980 = g_screenHeight; - *(float *)&pMVar2->field_0x215f0 = (fVar7 - fVar8) * fVar11 * 0.5; - *(float *)&pMVar2->field_0x215f4 = (fVar7 - fVar9) * fVar10 * 0.5; + *(float *)&(pMVar2->_cutsceneManager).field_0x820 = (fVar7 - fVar8) * fVar11 * 0.5; + *(float *)&(pMVar2->_cutsceneManager).field_0x824 = (fVar7 - fVar9) * fVar10 * 0.5; _DAT_00c79994 = iVar3; _DAT_00c79998 = uVar4; DAT_00c799a8 = iVar3; @@ -822156,7 +823585,7 @@ void Manager::update_screen_scale(int param_1,int param_2,char param_3) KAGE::SmartPointer::reset(extraout_ECX); create_menu_colormod_surface(); } - pMVar2->field_0x4b3c9 = 1; + pMVar2->_isRenderSurfaceResetPending = 1; return; } @@ -822246,8 +823675,8 @@ void pause_screen_unload_sprites(void) ANM2::Reset((ANM2 *)&(pGVar1->_pauseScreen).field_0x140); ANM2::Reset((ANM2 *)&(pGVar1->_pauseScreen).field_0x254); ANM2::Reset((ANM2 *)&(pGVar1->_pauseScreen).field_0x368); - ANM2::Reset((ANM2 *)&(pGVar1->_pauseScreen).field_0x47c); - (pGVar1->_pauseScreen).field_0x5ac = 0; + ANM2::Reset(&(pGVar1->_pauseScreen)._genericPrompt._sprite); + (pGVar1->_pauseScreen)._genericPrompt._isOnlineVote = 0; KAGE::SmartPointer::reset(0); ANM2::Reset((ANM2 *)&(pGVar1->_pauseScreen).field_0x5d4); ANM2::Reset((ANM2 *)&(pGVar1->_pauseScreen).field_0xc50); @@ -822261,12 +823690,15 @@ void pause_screen_unload_sprites(void) void FUN_00954710(void) { + Manager *pMVar1; + + pMVar1 = g_manager; if (g_game != (Game *)0x0) { - FUN_009b7a20(); + PauseScreen::load_graphics(); } - FUN_00423aa0(); + PopupButtons::load_graphics(); Manager::load_fonts(); - AchievementOverlay::load_graphics(); + AchievementOverlay::load_graphics(&pMVar1->_achievementOverlay); return; } @@ -822310,7 +823742,7 @@ void Manager::validate_language(void) undefined * Manager::GetLanguage(void) { - switch(g_manager->_stringTable) { + switch(*(undefined4 *)&g_manager->_stringTable) { case 0: case 1: return &DAT_00b9fbd0; @@ -822561,8 +823993,8 @@ undefined4 input_poll_active_device(void) void Manager::Update(char param_1) { - float fVar1; - Cutscene CVar2; + int *piVar1; + float fVar2; void *pvVar3; float fVar4; Game *pGVar5; @@ -822573,7 +824005,7 @@ void Manager::Update(char param_1) int iVar10; Camera **ppCVar11; int iVar12; - int *piVar13; + CoopJoinSlot *pCVar13; MenuManager *this; Camera **ppCVar14; char *anim; @@ -822584,7 +824016,7 @@ void Manager::Update(char param_1) float fVar19; undefined1 auStack_488 [4]; Camera *local_484; - undefined1 *local_480; + PopupButtons *local_480; Manager *local_47c; Camera *local_478; Camera *local_474; @@ -822621,51 +824053,51 @@ void Manager::Update(char param_1) } start_pending_game(); start_pending_menu(pMVar6); - if (pMVar6->field_0x21618 == '\0') { + if ((pMVar6->_cutsceneManager).field_0x848 == '\0') { iVar10 = pMVar6->_state; } else { - if (pMVar6->field_0x21620 != '\0') { - pMVar6->field_0x4b284 = 0; + if ((pMVar6->_cutsceneManager)._isQueuedCleanup != 0) { + pMVar6->_isSaveOnExit = 0; unload_state(); } - Cutscene::Show(&pMVar6->_cutsceneManager,*(int *)&pMVar6->field_0x2161c); - *(int *)&pMVar6->field_0xc = pMVar6->_state; + Cutscene::Show(&pMVar6->_cutsceneManager,(pMVar6->_cutsceneManager)._queuedCutsceneId); + pMVar6->_previousState = pMVar6->_state; iVar10 = 3; pMVar6->_state = 3; - pMVar6->field_0x21618 = 0; + (pMVar6->_cutsceneManager).field_0x848 = 0; } - if (pMVar6->field_0x4b2a4 == '\0') { + if (pMVar6->_isNightmarePending == 0) { if (iVar10 == 3) { - CVar2 = pMVar6->_cutsceneManager; + iVar12 = *(int *)&pMVar6->_cutsceneManager; goto joined_r0x00954dfc; } if (iVar10 == 5) goto LAB_00954e0c; } else { NightmareScene::Show(&pMVar6->_nightmareScene,pMVar6->field_0x4b2a5); - *(int *)&pMVar6->field_0xc = pMVar6->_state; + pMVar6->_previousState = pMVar6->_state; iVar10 = 5; pMVar6->_state = 5; - pMVar6->field_0x4b2a4 = 0; + pMVar6->_isNightmarePending = 0; LAB_00954e0c: - CVar2 = *(Cutscene *)&pMVar6->_nightmareScene; + iVar12 = *(int *)&pMVar6->_nightmareScene; joined_r0x00954dfc: - if (CVar2 == (Cutscene)0x0) { + if (iVar12 == 0) { (pMVar6->_achievementOverlay)._isPopupBlocked = 0; - if ((iVar10 == 3) && (pMVar6->field_0x21620 != '\0')) { - pMVar6->_state = *(int *)&pMVar6->field_0xc; - iVar10 = *(int *)&pMVar6->field_0x215d8 * 0x4c; - pfVar15 = (float *)((int)&(pMVar6->_optionsConfig)._optionsIniFilePath + iVar10 + -0x953c); - fVar18 = *pfVar15; - fVar19 = pfVar15[1]; - fVar1 = pfVar15[2]; - fVar4 = pfVar15[3]; - iVar10 = *(int *)((int)&(pMVar6->_optionsConfig)._optionsIniFilePath + iVar10 + -0x952c); - pMVar6->_pendingMenuState = *(int *)&pMVar6->field_0x21624; + if ((iVar10 == 3) && ((pMVar6->_cutsceneManager)._isQueuedCleanup != 0)) { + pMVar6->_state = pMVar6->_previousState; + iVar10 = (pMVar6->_cutsceneManager)._currentCutsceneId; + piVar1 = (pMVar6->_nightmareScene)._stageBarIcons + iVar10 * 0x13 + -0x2e5; + fVar18 = (float)*piVar1; + fVar19 = (float)piVar1[1]; + fVar2 = (float)piVar1[2]; + fVar4 = (float)piVar1[3]; + iVar10 = (pMVar6->_nightmareScene)._stageBarIcons[iVar10 * 0x13 + -0x2e1]; + pMVar6->_pendingMenuState = pMVar6->_cutsceneNextMenuState; (pMVar6->_pendingMenuFadeColor)._red = fVar18; (pMVar6->_pendingMenuFadeColor)._green = fVar19; - (pMVar6->_pendingMenuFadeColor)._blue = fVar1; + (pMVar6->_pendingMenuFadeColor)._blue = fVar2; (pMVar6->_pendingMenuFadeColor)._alpha = fVar4; (pMVar6->_pendingMenuFadeColor)._unk = iVar10; pMVar6->_isMenuPending = 1; @@ -822673,7 +824105,7 @@ joined_r0x00954dfc: } else { bVar8 = pMVar6[1]._persistentGameData._achievements[0]; - iVar10 = *(int *)&pMVar6->field_0xc; + iVar10 = pMVar6->_previousState; pMVar6->_state = iVar10; if (bVar8 != 0) { input_poll_active_device(); @@ -822713,11 +824145,11 @@ joined_r0x00954dfc: } update_controller_popups(); PopupQueue::Update(); - local_480 = &pMVar6->field_0x4a950; + local_480 = &pMVar6->_popupButtons; FUN_00424220(); uVar9 = 0; fVar18 = 6.0; - pfVar15 = (float *)(local_480 + 0x114); + pfVar15 = &local_480->_buttons[0]._slideOffset; do { local_484 = (Camera *)pfVar15[1]; fVar19 = *pfVar15; @@ -822746,7 +824178,8 @@ joined_r0x00954dfc: pfVar15 = pfVar15 + 0x4c; } while (uVar9 < 2); local_47c->field_0x4abc5 = 0; - if ((*(int *)&local_47c[1].field_0x1234 == 0) && (*(int *)&local_47c[1].field_0x127c < 1)) { + if ((*(int *)&local_47c[1]._gamestate.field_0x290 == 0) && + (*(int *)&local_47c[1]._gamestate.field_0x2d8 < 1)) { update_hotkeys(); local_47c = (Manager *)0x12a; cVar7 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0,FUN_00a207d0,&local_47c,0,0); @@ -822772,11 +824205,11 @@ joined_r0x00954dfc: if ((pMVar6->field_0x4abc4 != '\0') && (pMVar6->field_0x4abc5 == '\0')) { return; } - iVar10 = *(int *)&(pMVar6->_achievementOverlay).field_0x1c; + iVar10 = (pMVar6->_achievementOverlay)._state; if (iVar10 != 0) { if ((pMVar6->_achievementOverlay)._isPopupBlocked == 0) { AchievementOverlay::Update(&pMVar6->_achievementOverlay); - iVar10 = *(int *)&(pMVar6->_achievementOverlay).field_0x1c; + iVar10 = (pMVar6->_achievementOverlay)._state; } if (((iVar10 != 0) && ((pMVar6->_achievementOverlay)._isPopupBlocked == 0)) && (((pMVar6->_optionsConfig)._popupsMode == 1 && @@ -822818,7 +824251,7 @@ joined_r0x00954dfc: } pGVar5 = g_game; local_484 = *(Camera **)((int)g_game->_room + 0x11f8); - local_480 = (undefined1 *)(CONCAT31(local_480._1_3_,(char)pMVar6->_framecount) & 0xffffff01); + local_480 = (PopupButtons *)(CONCAT31(local_480._1_3_,(char)pMVar6->_framecount) & 0xffffff01); bVar8 = Game::IsPaused(g_game); pCVar17 = local_484; if ((bVar8 == 0) || @@ -822837,13 +824270,13 @@ joined_r0x00954dfc: LAB_009552c4: pGVar5 = g_game; iVar10 = 4; - piVar13 = (int *)&(g_game->_playerManager).field_0xc; + pCVar13 = (g_game->_playerManager)._coopSlots; do { - if (-1 < *piVar13) { - iVar12 = *(int *)&(pGVar5->_playerManager).field_0x74 - - *(int *)&(pGVar5->_playerManager).field_0x70; + if (-1 < pCVar13->_controllerIndex) { + iVar12 = (int)(pGVar5->_playerManager)._coopPlayerTypes._end - + (int)(pGVar5->_playerManager)._coopPlayerTypes._begin; fVar19 = (float)((double)(iVar12 >> 2) + __uint_to_double_fixup[-(iVar12 >> 0x1f)]); - for (fVar18 = (float)piVar13[2] - (float)piVar13[3]; fVar19 * 0.5 <= fVar18; + for (fVar18 = (float)pCVar13->_state - pCVar13->_menuPosition; fVar19 * 0.5 <= fVar18; fVar18 = fVar18 - fVar19) { } for (; fVar18 < -fVar19 * 0.5; fVar18 = fVar18 + fVar19) { @@ -822855,13 +824288,13 @@ LAB_009552c4: else { fVar18 = 0.25; } - piVar13[3] = (int)(fVar18 + (float)piVar13[3]); + pCVar13->_menuPosition = fVar18 + pCVar13->_menuPosition; } else { - piVar13[3] = (int)(float)piVar13[2]; + pCVar13->_menuPosition = (float)pCVar13->_state; } } - piVar13 = piVar13 + 5; + pCVar13 = pCVar13 + 1; iVar10 = iVar10 + -1; } while (iVar10 != 0); break; @@ -822875,13 +824308,13 @@ switchD_0095519c_caseD_4: if ((g_game != (Game *)0x0) && (bVar8 = Game::IsPaused(g_game), bVar8 == 0)) { fVar18 = (pMVar6->_sfxManager)._volumeModifier; fVar19 = 1.0; - if ((fVar18 != 1.0) && (fVar1 = (pMVar6->_sfxManager)._volumeModifierStep, fVar1 != 0.0)) { - if (fVar1 < ABS(fVar18 - 1.0)) { + if ((fVar18 != 1.0) && (fVar2 = (pMVar6->_sfxManager)._volumeModifierStep, fVar2 != 0.0)) { + if (fVar2 < ABS(fVar18 - 1.0)) { if (1.0 <= fVar18) { - fVar19 = fVar18 - fVar1; + fVar19 = fVar18 - fVar2; } else { - fVar19 = fVar18 + fVar1; + fVar19 = fVar18 + fVar2; } } (pMVar6->_sfxManager)._volumeModifier = fVar19; @@ -822914,17 +824347,17 @@ switchD_0095519c_caseD_4: else { (*DAT_00c736a0)(pvVar3,&dStack_468,&dStack_470); } - if (((float)dStack_468 == *(float *)&pMVar6->field_0x4b3bc) && - ((float)dStack_470 == *(float *)&pMVar6->field_0x4b3c0)) { - if (0 < *(int *)&pMVar6->field_0x4b3c4) { - *(int *)&pMVar6->field_0x4b3c4 = *(int *)&pMVar6->field_0x4b3c4 + -1; + if (((float)dStack_468 == (pMVar6->_lastMousePosition).x) && + ((float)dStack_470 == (pMVar6->_lastMousePosition).y)) { + if (0 < pMVar6->_cursorVisibleTimer) { + pMVar6->_cursorVisibleTimer = pMVar6->_cursorVisibleTimer + -1; } } else { - *(undefined4 *)&pMVar6->field_0x4b3c4 = 300; + pMVar6->_cursorVisibleTimer = 300; } - *(float *)&pMVar6->field_0x4b3bc = (float)dStack_468; - *(float *)&pMVar6->field_0x4b3c0 = (float)dStack_470; + (pMVar6->_lastMousePosition).x = (float)dStack_468; + (pMVar6->_lastMousePosition).y = (float)dStack_470; } pMVar6->_framecount = pMVar6->_framecount + 1; return; @@ -822942,15 +824375,16 @@ switchD_0095519c_caseD_4: void __thiscall Manager::Render(Manager *this) { - Manager *pMVar1; - uint uVar2; + ANM2 *pAVar1; + Manager *pMVar2; + uint uVar3; HWND hWnd; - LONG LVar3; - int *piVar4; - undefined4 *puVar5; - int iVar6; - undefined4 uVar7; - LayerState *pLVar8; + LONG LVar4; + int *piVar5; + undefined4 *puVar6; + int iVar7; + undefined4 uVar8; + LayerState *pLVar9; undefined4 extraout_ECX; undefined4 extraout_ECX_00; undefined4 extraout_ECX_01; @@ -822966,7 +824400,6 @@ void __thiscall Manager::Render(Manager *this) MenuManager *extraout_ECX_10; undefined4 extraout_ECX_11; undefined4 extraout_ECX_12; - float *pfVar9; undefined4 extraout_ECX_13; undefined4 extraout_ECX_14; undefined4 extraout_ECX_15; @@ -822993,7 +824426,7 @@ void __thiscall Manager::Render(Manager *this) undefined4 local_74; undefined1 local_70; undefined1 local_6c [4]; - float *local_68; + int *local_68; undefined4 local_64; undefined4 local_60; undefined4 local_5c; @@ -823014,20 +824447,20 @@ void __thiscall Manager::Render(Manager *this) undefined1 *puStack_18; undefined4 local_14; - pMVar1 = g_manager; + pMVar2 = g_manager; puStack_20 = local_6c + 0x68; local_14 = 0xffffffff; puStack_18 = &LAB_00b0c12d; local_1c = ExceptionList; - uVar2 = __security_cookie ^ (uint)(local_6c + 0x5c); + uVar3 = __security_cookie ^ (uint)(local_6c + 0x5c); if (((g_manager->_framecount & 1) == 0) && ((g_manager->_optionsConfig)._enableInterpolation == 0) ) { return; } ExceptionList = &local_1c; - local_24 = uVar2; + local_24 = uVar3; puVar11 = local_6c + 0x68; - if (g_manager->field_0x4b3c9 != '\0') { + if (g_manager->_isRenderSurfaceResetPending != 0) { KAGE::SmartPointer::reset(this); KAGE::SmartPointer::reset(extraout_ECX); KAGE::SmartPointer::reset(extraout_ECX_00); @@ -823036,33 +824469,33 @@ void __thiscall Manager::Render(Manager *this) if ((g_graphicsManager_flags & 0x100) == 0) { iVar13 = -0x10; hWnd = (HWND)FUN_00a5f090(extraout_ECX_02); - LVar3 = GetWindowLongA(hWnd,iVar13); - if (-1 < LVar3) { - piVar4 = (int *)glfw_get_window_size(&local_2c,extraout_ECX_03); - (pMVar1->_optionsConfig)._windowWidth = *piVar4; + LVar4 = GetWindowLongA(hWnd,iVar13); + if (-1 < LVar4) { + piVar5 = (int *)glfw_get_window_size(&local_2c,extraout_ECX_03); + (pMVar2->_optionsConfig)._windowWidth = *piVar5; iVar13 = glfw_get_window_size(&local_2c,extraout_ECX_04); - (pMVar1->_optionsConfig)._windowHeight = *(int *)(iVar13 + 4); + (pMVar2->_optionsConfig)._windowHeight = *(int *)(iVar13 + 4); } } - pMVar1->field_0x4b3c9 = 0; + pMVar2->_isRenderSurfaceResetPending = 0; puVar11 = puStack_20; } puStack_20 = puVar11; KAGE_Graphics::SetRenderTarget(0,0); this_00 = extraout_ECX_05; - if (pMVar1->_state != 3) { - iVar13 = GraphicsWindow::get_framebuffer_width(uVar2); + if (pMVar2->_state != 3) { + iVar13 = GraphicsWindow::get_framebuffer_width(uVar3); this_00 = extraout_ECX_06; if (iVar13 != g_framebufferWidth) { local_3a = '\x01'; local_2c.x = 0.0; local_2c.y = 0.0; std::vector::resize(&local_2c); - puVar5 = (undefined4 *)std::deque::back(); - if ((byte *)(puVar5 + 1) != (byte *)0x0) { - *(byte *)(puVar5 + 1) = (byte)(g_graphicsManager_flags >> 5) & 1; + puVar6 = (undefined4 *)std::deque::back(); + if ((byte *)(puVar6 + 1) != (byte *)0x0) { + *(byte *)(puVar6 + 1) = (byte)(g_graphicsManager_flags >> 5) & 1; } - *puVar5 = g_graphicsManager_renderTarget; + *puVar6 = g_graphicsManager_renderTarget; KAGE_Graphics::SetRenderTarget(DAT_00c798a0,1); this_00 = extraout_ECX_07; goto LAB_00955727; @@ -823070,13 +824503,13 @@ void __thiscall Manager::Render(Manager *this) } local_3a = '\0'; LAB_00955727: - if ((((pMVar1->_optionsConfig)._enableFilter == 0) || - ((pMVar1->_optionsConfig)._filterEnabled == 0)) || - (((pMVar1->_cutsceneManager == (Cutscene)0x1 && - (iVar13 = *(int *)&pMVar1->field_0x215e0, iVar13 != 0)) && + if ((((pMVar2->_optionsConfig)._enableFilter == 0) || + ((pMVar2->_optionsConfig)._filterEnabled == 0)) || + (((*(int *)&pMVar2->_cutsceneManager == 1 && + (iVar13 = *(int *)&(pMVar2->_cutsceneManager).field_0x810, iVar13 != 0)) && ((*(char *)(iVar13 + 0x74) == '\0' || - ((iVar6 = FUN_00aaa450(), iVar6 != 0 && - (this_00 = extraout_ECX_08, *(float *)(iVar6 + 4) < *(float *)(iVar13 + 0x58))))))))) { + ((iVar7 = FUN_00aaa450(), iVar7 != 0 && + (this_00 = extraout_ECX_08, *(float *)(iVar7 + 4) < *(float *)(iVar13 + 0x58))))))))) { local_39 = '\0'; } else { @@ -823084,11 +824517,11 @@ LAB_00955727: local_2c.x = 0.0; local_2c.y = 0.0; std::vector::resize(&local_2c); - puVar5 = (undefined4 *)std::deque::back(); - if ((byte *)(puVar5 + 1) != (byte *)0x0) { - *(byte *)(puVar5 + 1) = (byte)(g_graphicsManager_flags >> 5) & 1; + puVar6 = (undefined4 *)std::deque::back(); + if ((byte *)(puVar6 + 1) != (byte *)0x0) { + *(byte *)(puVar6 + 1) = (byte)(g_graphicsManager_flags >> 5) & 1; } - *puVar5 = g_graphicsManager_renderTarget; + *puVar6 = g_graphicsManager_renderTarget; KAGE_Graphics::SetRenderTarget(DAT_00c79890,1); this_00 = extraout_ECX_09; } @@ -823097,8 +824530,8 @@ LAB_00955727: KAGE_Graphics::SetRenderTarget(DAT_00c798a8,1); this_00 = extraout_ECX_10; } - if (pMVar1->field_0x4a6d8 == '\0') { - switch(pMVar1->_state) { + if (pMVar2->field_0x4a6d8 == '\0') { + switch(pMVar2->_state) { case 1: MenuManager::Render(this_00); break; @@ -823107,36 +824540,36 @@ LAB_00955727: break; case 3: RenderTarget::Clear(); - iVar6 = *(int *)&pMVar1->field_0x215d8 * 0x4c; - uVar7 = render_quad_set_uniform_color + iVar13 = (pMVar2->_cutsceneManager)._currentCutsceneId; + uVar8 = render_quad_set_uniform_color (g_screenHeight, - (int)&(pMVar1->_optionsConfig)._optionsIniFilePath + iVar6 + -0x953c); - render_color_shader_pass(uVar7); - iVar13 = *(int *)((int)&(pMVar1->_optionsConfig)._optionsIniFilePath + iVar6 + -0x9528); - pfVar9 = (float *)((int)&(pMVar1->_optionsConfig)._optionsIniFilePath + iVar6 + -0x954c); - if ((iVar13 < 0) || (local_68 = pfVar9 + 1, (int)*local_68 - (int)*pfVar9 >> 2 <= iVar13)) { - local_40 = *pfVar9; - local_68 = pfVar9 + 1; - local_2c.y = (float)pfVar9; - if (local_40 != *local_68) { - (**(code **)(**(int **)((int)local_40 + -4 + ((int)*local_68 - (int)local_40 >> 2) * 4) + - 0x14))(&pMVar1->field_0x215f0); - pfVar9 = (float *)local_2c.y; + (pMVar2->_nightmareScene)._stageBarIcons + iVar13 * 0x13 + -0x2e5); + render_color_shader_pass(uVar8); + iVar7 = (pMVar2->_nightmareScene)._stageBarIcons[iVar13 * 0x13 + -0x2e0]; + piVar5 = (pMVar2->_nightmareScene)._stageBarIcons + iVar13 * 0x13 + -0x2e9; + if ((iVar7 < 0) || (local_68 = piVar5 + 1, *local_68 - *piVar5 >> 2 <= iVar7)) { + local_40 = (float)*piVar5; + local_68 = piVar5 + 1; + local_2c.y = (float)piVar5; + if (local_40 != (float)*local_68) { + (**(code **)(**(int **)((int)local_40 + -4 + (*local_68 - (int)local_40 >> 2) * 4) + 0x14) + )(&(pMVar2->_cutsceneManager).field_0x820); + piVar5 = (int *)local_2c.y; } } else { - (**(code **)(**(int **)((int)*pfVar9 + iVar13 * 4) + 0x14))(&pMVar1->field_0x215f0); - pfVar9 = (float *)((int)&(pMVar1->_optionsConfig)._optionsIniFilePath + iVar6 + -0x954c); + (**(code **)(**(int **)(*piVar5 + iVar7 * 4) + 0x14)) + (&(pMVar2->_cutsceneManager).field_0x820); + piVar5 = (pMVar2->_nightmareScene)._stageBarIcons + iVar13 * 0x13 + -0x2e9; } - if (((*(char *)((int)&(pMVar1->_optionsConfig)._optionsIniFilePath + iVar6 + -0x9540) != '\0') - && ((*(char *)((int)&(pMVar1->_optionsConfig)._optionsIniFilePath + iVar6 + -0x9520) != - '\0' || ((int)*local_68 - (int)*pfVar9 >> 2 <= - *(int *)((int)&(pMVar1->_optionsConfig)._optionsIniFilePath + - iVar6 + -0x9528))))) || - (*(char *)((int)&(pMVar1->_optionsConfig)._optionsIniFilePath + iVar6 + -0x953f) != '\0')) - { - *(undefined4 *)((int)&(pMVar1->_optionsConfig)._optionsIniFilePath + iVar6 + -0x9530) = - *(undefined4 *)((int)&(pMVar1->_optionsConfig)._optionsIniFilePath + iVar6 + -0x9524); + if ((((char)(pMVar2->_nightmareScene)._stageBarIcons[iVar13 * 0x13 + -0x2e6] != '\0') && + (((char)(pMVar2->_nightmareScene)._stageBarIcons[iVar13 * 0x13 + -0x2de] != '\0' || + (*local_68 - *piVar5 >> 2 <= + (pMVar2->_nightmareScene)._stageBarIcons[iVar13 * 0x13 + -0x2e0])))) || + (*(char *)((int)(pMVar2->_nightmareScene)._stageBarIcons + iVar13 * 0x4c + -0xb97) != '\0') + ) { + (pMVar2->_nightmareScene)._stageBarIcons[iVar13 * 0x13 + -0x2e2] = + (pMVar2->_nightmareScene)._stageBarIcons[iVar13 * 0x13 + -0x2df]; g_graphicsManager_blendMode[1] = 1; if ((g_graphicsManager_flags & 4) == 0) { g_graphicsManager_blendMode[1] = 6; @@ -823144,39 +824577,39 @@ LAB_00955727: g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; - uVar7 = render_quad_set_uniform_color + g_graphicsManager_blendMode[4] = 7; + uVar8 = render_quad_set_uniform_color (g_screenHeight, - (int)&(pMVar1->_optionsConfig)._optionsIniFilePath + iVar6 + -0x953c); - render_color_shader_pass(uVar7); + (pMVar2->_nightmareScene)._stageBarIcons + iVar13 * 0x13 + -0x2e5); + render_color_shader_pass(uVar8); } break; case 5: - NightmareScene::Render(&pMVar1->_nightmareScene); + NightmareScene::Render(&pMVar2->_nightmareScene); } - if ((*(int *)&(pMVar1->_achievementOverlay).field_0x1c != 0) && - ((pMVar1->_achievementOverlay)._isPopupBlocked == 0)) { + if (((pMVar2->_achievementOverlay)._state != 0) && + ((pMVar2->_achievementOverlay)._isPopupBlocked == 0)) { local_2c.y = g_screenHeight * 0.5; local_2c.x = g_screenWidth * 0.5; if (((g_manager->_optionsConfig)._popupsMode == 2) || (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1))) { - puVar11 = &(pMVar1->_achievementOverlay).field_0x20; + pAVar1 = &(pMVar2->_achievementOverlay)._sprite; local_2c.y = g_screenHeight * 0.5 * 1.75; local_2c.x = g_screenWidth * 0.5 * 0.25; - pLVar8 = ANM2::GetLayer((ANM2 *)puVar11,(byte *)0x3); - pLVar8->_minFilterMode = 1; - pLVar8 = ANM2::GetLayer((ANM2 *)puVar11,(byte *)0x3); - pLVar8->_magFilterMode = 1; + pLVar9 = ANM2::GetLayer(pAVar1,(byte *)0x3); + pLVar9->_minFilterMode = 1; + pLVar9 = ANM2::GetLayer(pAVar1,(byte *)0x3); + pLVar9->_magFilterMode = 1; } else { - puVar11 = &(pMVar1->_achievementOverlay).field_0x20; - pLVar8 = ANM2::GetLayer((ANM2 *)puVar11,(byte *)0x3); - pLVar8->_minFilterMode = 0; - pLVar8 = ANM2::GetLayer((ANM2 *)puVar11,(byte *)0x3); - pLVar8->_magFilterMode = 0; + pAVar1 = &(pMVar2->_achievementOverlay)._sprite; + pLVar9 = ANM2::GetLayer(pAVar1,(byte *)0x3); + pLVar9->_minFilterMode = 0; + pLVar9 = ANM2::GetLayer(pAVar1,(byte *)0x3); + pLVar9->_magFilterMode = 0; } - if ((pMVar1->_achievementOverlay).field_0x129 != '\0') { - if ((pMVar1->_achievementOverlay).field_0x90 == '\0') { + if ((pMVar2->_achievementOverlay)._sprite._loaded != 0) { + if ((pMVar2->_achievementOverlay)._sprite._overlayRenderFirst == 0) { AnimationState::Render(&local_2c,&g_vectorZero,&g_vectorZero); } else { @@ -823188,20 +824621,20 @@ LAB_00955727: NetplayManager::Render(); FUN_009c3890(3); PopupButtons::Render(); - uVar7 = extraout_ECX_13; - if (((pMVar1->_optionsConfig)._enableMouseControl != 0) && - (((pMVar1->_state == 2 || (pMVar1->_state == 1)) && (0 < *(int *)&pMVar1->field_0x4b3c4)))) { + uVar8 = extraout_ECX_13; + if (((pMVar2->_optionsConfig)._enableMouseControl != 0) && + (((pMVar2->_state == 2 || (pMVar2->_state == 1)) && (0 < pMVar2->_cursorVisibleTimer)))) { local_40 = DAT_00c79980; iVar13 = glfw_get_window_size(&local_2c,extraout_ECX_13); iVar13 = *(int *)(iVar13 + 4); local_2c.y = DAT_00c7997c; - piVar4 = (int *)glfw_get_window_size(local_6c,extraout_ECX_14); - fVar12 = local_2c.y / (float)((double)*piVar4 + __uint_to_double_fixup[-(*piVar4 >> 0x1f)]); + piVar5 = (int *)glfw_get_window_size(local_6c,extraout_ECX_14); + fVar12 = local_2c.y / (float)((double)*piVar5 + __uint_to_double_fixup[-(*piVar5 >> 0x1f)]); local_2c.y = (local_40 / (float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)])) - * *(float *)&pMVar1->field_0x4b3c0; - local_2c.x = fVar12 * *(float *)&pMVar1->field_0x4b3bc; - ANM2::Render(&pMVar1->_cursorSprite,&local_2c,&g_vectorZero,&g_vectorZero); - uVar7 = extraout_ECX_15; + * (pMVar2->_lastMousePosition).y; + local_2c.x = fVar12 * (pMVar2->_lastMousePosition).x; + ANM2::Render(&pMVar2->_cursorSprite,&local_2c,&g_vectorZero,&g_vectorZero); + uVar8 = extraout_ECX_15; } } else { @@ -823213,14 +824646,14 @@ LAB_00955727: } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; KColor::SetFromARGB(0xff000000); - uVar7 = render_quad_set_uniform_color(g_screenHeight,extraout_ECX_11); - render_color_shader_pass(uVar7); + uVar8 = render_quad_set_uniform_color(g_screenHeight,extraout_ECX_11); + render_color_shader_pass(uVar8); local_2c.y = (g_screenHeight - 270.0) * 0.5; local_2c.x = (g_screenWidth - 480.0) * 0.5; - if (pMVar1->field_0x4a7fd != '\0') { - if (pMVar1->field_0x4a764 == '\0') { + if (pMVar2->field_0x4a7fd != '\0') { + if (pMVar2->field_0x4a764 == '\0') { AnimationState::Render(&local_2c,&g_vectorZero,&g_vectorZero); } else { @@ -823236,14 +824669,14 @@ LAB_00955727: local_48 = 0; local_44 = 0; local_14 = 0; - uVar7 = KColor::SetFromARGB(0xffffffff); - puVar11 = &pMVar1->field_0x4a6dc; - if (0xf < *(uint *)&pMVar1->field_0x4a6f0) { + uVar8 = KColor::SetFromARGB(0xffffffff); + puVar11 = &pMVar2->field_0x4a6dc; + if (0xf < *(uint *)&pMVar2->field_0x4a6f0) { puVar11 = *(undefined1 **)puVar11; } - Font::DrawString(puVar11,uVar7,&local_5c); + Font::DrawString(puVar11,uVar8,&local_5c); local_14 = 0xffffffff; - uVar7 = extraout_ECX_12; + uVar8 = extraout_ECX_12; } if ((g_manager->_optionsConfig)._enableColorCorrection != 0) { _glfw_context_reset(1); @@ -823270,7 +824703,7 @@ LAB_00955727: KColor::SetFromARGB(0xffffffff); render_quad_set_uniform_color(g_screenHeight,extraout_ECX_18); (**(code **)(*DAT_00c798a8 + 0x14))(&local_64,local_100,g_drawRectUnset); - uVar7 = extraout_ECX_19; + uVar8 = extraout_ECX_19; } if (local_39 != '\0') { _glfw_context_reset(1); @@ -823287,7 +824720,7 @@ LAB_00955727: puVar10 = g_currentShader; } g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; local_30 = (float)((double)DAT_00c79890[6] + __uint_to_double_fixup[-(DAT_00c79890[6] >> 0x1f)]) ; local_2c.y = g_displayPixelRatio * g_screenPointScale * 0.5; @@ -823307,9 +824740,9 @@ LAB_00955727: KColor::SetFromARGB(0xffffffff); render_quad_set_uniform_color(g_screenHeight,extraout_ECX_20); (**(code **)(*DAT_00c79890 + 0x14))(&local_64,local_100,g_drawRectUnset); - uVar7 = extraout_ECX_21; + uVar8 = extraout_ECX_21; } - shader_cache_find(uVar7); + shader_cache_find(uVar8); if (local_3a != '\0') { _glfw_context_reset(1); pop_render_target(); @@ -823318,7 +824751,7 @@ LAB_00955727: g_graphicsManager_blendMode[1] = 1; g_graphicsManager_blendMode[2] = 0; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 0; + g_graphicsManager_blendMode[4] = 0; local_80 = 0; local_90 = 0; local_84 = 0; @@ -823600,8 +825033,8 @@ LAB_009566de: bVar2 = false; if (iVar7 == 0) { if ((local_1c->_netplayManager == *(NetplayManager *)(local_1c + 1)) || - ((*(int *)&local_1c[1].field_0x1234 == 0 && (*(int *)&local_1c[1].field_0x127c < 1))) - ) { + ((*(int *)&local_1c[1]._gamestate.field_0x290 == 0 && + (*(int *)&local_1c[1]._gamestate.field_0x2d8 < 1)))) { local_20 = 0x12; uVar5 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0,FUN_00a20940,&local_20,0,0); local_14 = CONCAT31((int3)((uint)pMVar3 >> 8),uVar5); @@ -823621,8 +825054,8 @@ LAB_009565b0: cVar4 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0,FUN_00a20940,&local_24,0,0); if ((cVar4 != '\0') && ((local_1c->_netplayManager == *(NetplayManager *)(local_1c + 1) || - ((*(int *)&local_1c[1].field_0x1234 == 0 && (*(int *)&local_1c[1].field_0x127c < 1)) - )))) { + ((*(int *)&local_1c[1]._gamestate.field_0x290 == 0 && + (*(int *)&local_1c[1]._gamestate.field_0x2d8 < 1)))))) { uVar12 = CONCAT31((int3)(uVar11 >> 8),1); bVar2 = true; } @@ -825962,46 +827395,46 @@ LAB_00958992: void Manager::queue_achievement_popup(undefined4 param_1) { - undefined1 *puVar1; + uint *puVar1; int iVar2; - Manager *pMVar3; - char cVar4; - uint uVar5; - undefined4 uVar6; - uint uVar7; - int iVar8; - int iVar9; + uint uVar3; + Manager *pMVar4; + char cVar5; + uint uVar6; + undefined4 uVar7; + void *pvVar8; + uint uVar9; - pMVar3 = g_manager; + pMVar4 = g_manager; if ((g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) && - (cVar4 = FUN_0091b510(), cVar4 == '\0')) { + (cVar5 = FUN_0091b510(), cVar5 == '\0')) { return; } - if ((pMVar3->_optionsConfig)._popupsMode != 0) { - iVar9 = *(int *)&(pMVar3->_achievementOverlay).field_0x10; - uVar5 = *(uint *)&(pMVar3->_achievementOverlay).field_0xc; - if (((uVar5 + iVar9 & 3) == 0) && - (*(uint *)&(pMVar3->_achievementOverlay).field_0x8 <= iVar9 + 4U >> 2)) { - std::deque<4byte>::_Growmap(iVar9); - uVar5 = *(uint *)&(pMVar3->_achievementOverlay).field_0xc; - iVar9 = *(int *)&(pMVar3->_achievementOverlay).field_0x10; + if ((pMVar4->_optionsConfig)._popupsMode != 0) { + uVar9 = (pMVar4->_achievementOverlay)._queue._size; + uVar6 = (pMVar4->_achievementOverlay)._queue._offset; + if (((uVar6 + uVar9 & 3) == 0) && + ((pMVar4->_achievementOverlay)._queue._mapSize <= uVar9 + 4 >> 2)) { + std::deque<4byte>::_Growmap(uVar9); + uVar6 = (pMVar4->_achievementOverlay)._queue._offset; + uVar9 = (pMVar4->_achievementOverlay)._queue._size; } - iVar2 = *(int *)&(pMVar3->_achievementOverlay).field_0x8; - uVar5 = iVar2 * 4 - 1U & uVar5; - *(uint *)&(pMVar3->_achievementOverlay).field_0xc = uVar5; - uVar5 = iVar9 + uVar5; - iVar8 = *(int *)&(pMVar3->_achievementOverlay).field_0x4; - uVar7 = iVar2 - 1U & uVar5 >> 2; - iVar9 = uVar7 * 4; - if (*(int *)(iVar8 + uVar7 * 4) == 0) { - uVar6 = operator_new(0x10); - *(undefined4 *)(iVar9 + *(int *)&(pMVar3->_achievementOverlay).field_0x4) = uVar6; - iVar8 = *(int *)&(pMVar3->_achievementOverlay).field_0x4; + uVar3 = (pMVar4->_achievementOverlay)._queue._mapSize; + uVar6 = uVar3 * 4 - 1 & uVar6; + (pMVar4->_achievementOverlay)._queue._offset = uVar6; + uVar9 = uVar9 + uVar6; + pvVar8 = (pMVar4->_achievementOverlay)._queue._map; + uVar6 = uVar3 - 1 & uVar9 >> 2; + iVar2 = uVar6 * 4; + if (*(int *)((int)pvVar8 + uVar6 * 4) == 0) { + uVar7 = operator_new(0x10); + *(undefined4 *)(iVar2 + (int)(pMVar4->_achievementOverlay)._queue._map) = uVar7; + pvVar8 = (pMVar4->_achievementOverlay)._queue._map; } - *(undefined4 *)(*(int *)(iVar9 + iVar8) + (uVar5 & 3) * 4) = param_1; - puVar1 = &(pMVar3->_achievementOverlay).field_0x10; - *(int *)puVar1 = *(int *)puVar1 + 1; - AchievementOverlay::Update(&pMVar3->_achievementOverlay); + *(undefined4 *)(*(int *)(iVar2 + (int)pvVar8) + (uVar9 & 3) * 4) = param_1; + puVar1 = &(pMVar4->_achievementOverlay)._queue._size; + *puVar1 = *puVar1 + 1; + AchievementOverlay::Update(&pMVar4->_achievementOverlay); } return; } @@ -826025,12 +827458,12 @@ Manager::StartNewGame(Manager *this,int playerType,int challenge,Seeds unk,int d uint local_14; void *local_10; undefined1 *puStack_c; - undefined4 local_8; + int local_8; pMVar1 = g_manager; puStack_c = &LAB_00b0c2d5; local_10 = ExceptionList; - uVar2 = __security_cookie ^ (int)register0x00000010 - 4U; + uVar2 = __security_cookie ^ (uint)&(&local_70)[1]._rng._shift2; ExceptionList = &local_10; local_8 = 0; g_manager->_startPlayerType = playerType; @@ -826041,7 +827474,7 @@ Manager::StartNewGame(Manager *this,int playerType,int challenge,Seeds unk,int d local_14 = uVar2; Seeds::construct_from_copy(&local_70,&unk); local_8 = CONCAT31(local_8._1_3_,1); - Seeds::operator_assign(extraout_EAX); + Seeds::operator_assign(&pMVar1->_startSeeds,extraout_EAX); FID_conflict__Erase_tree_>_> (&local_70._seedEffects, (fuzzer_allocator_> *)&local_70._seedEffects, @@ -826052,10 +827485,10 @@ Manager::StartNewGame(Manager *this,int playerType,int challenge,Seeds unk,int d (pMVar1->_dailyChallenge)._seed = 0; (pMVar1->_dailyChallenge)._specialDailyId = 0; (pMVar1->_dailyChallenge)._isPractice = 0; - ChallengeParam::Reset(); + ChallengeParam::Reset(&(pMVar1->_dailyChallenge)._params); pMVar1->_starting = 1; pMVar1->_networkPlay = 0; - *(undefined4 *)&pMVar1->field_0x4abc0 = 0; + pMVar1->_consecutiveResetCount = 0; FID_conflict__Erase_tree_>_> (&unk._seedEffects, (fuzzer_allocator_> *)&unk._seedEffects, @@ -826166,12 +827599,12 @@ void Manager::RestartGame(void) uint local_14; void *local_10; undefined1 *puStack_c; - undefined4 local_8; + int local_8; pMVar3 = g_manager; puStack_c = &LAB_00b0c315; local_10 = ExceptionList; - local_14 = __security_cookie ^ (int)register0x00000010 - 4U; + local_14 = __security_cookie ^ (uint)&(&local_70)[1]._rng._shift2; ExceptionList = &local_10; local_8 = 0; if (g_game == (Game *)0x0) { @@ -826180,7 +827613,7 @@ void Manager::RestartGame(void) } Seeds::construct_from_copy(&local_70,&SStack00000004); local_8._0_1_ = 1; - Seeds::operator_assign(extraout_EAX); + Seeds::operator_assign(&pMVar3->_startSeeds,extraout_EAX); local_8 = (uint)local_8._1_3_ << 8; FID_conflict__Erase_tree_>_> (&local_70._seedEffects, @@ -826212,18 +827645,18 @@ void Manager::RestartGame(void) else { NetplayManager::process_pending_joins(1); } - *(undefined2 *)&pMVar3->field_0x4b284 = 0; + *(undefined2 *)&pMVar3->_isSaveOnExit = 0; if (in_stack_00000064 == '\0') { - *(undefined4 *)&pMVar3->field_0x4abc0 = 0; + pMVar3->_consecutiveResetCount = 0; } else { - *(int *)&pMVar3->field_0x4abc0 = *(int *)&pMVar3->field_0x4abc0 + 1; - if (6 < *(int *)&pMVar3->field_0x4abc0) { + pMVar3->_consecutiveResetCount = pMVar3->_consecutiveResetCount + 1; + if (6 < pMVar3->_consecutiveResetCount) { PersistentGameData::TryUnlock(&pMVar3->_persistentGameData,0x148); } } - *(undefined4 *)&pMVar3->field_0x4aa68 = 0x42c00000; - *(undefined4 *)&pMVar3->field_0x4ab98 = 0x42c00000; + (pMVar3->_popupButtons)._buttons[0]._targetSlideOffset = 96.0; + (pMVar3->_popupButtons)._buttons[1]._targetSlideOffset = 96.0; PersistentGameData::set_run_mask(0,0); FID_conflict__Erase_tree_>_> ((undefined4 *)((int)register0x00000010 + 0x58), @@ -826261,10 +827694,10 @@ void __thiscall Manager::ShowCutscene(Manager *this,uint cutsceneID,byte shouldC *piVar1 = *piVar1 + 1; *(undefined1 *)&pMVar2->_persistentGameData = 1; } - pMVar2->field_0x21620 = shouldCleanup; - pMVar2->field_0x21618 = 1; - *(uint *)&pMVar2->field_0x21624 = UNKNOWN; - *(uint *)&pMVar2->field_0x2161c = cutsceneID; + (pMVar2->_cutsceneManager)._isQueuedCleanup = shouldCleanup; + (pMVar2->_cutsceneManager).field_0x848 = 1; + pMVar2->_cutsceneNextMenuState = UNKNOWN; + (pMVar2->_cutsceneManager)._queuedCutsceneId = cutsceneID; (pMVar2->_achievementOverlay)._isPopupBlocked = 1; return; } @@ -826281,16 +827714,17 @@ void Manager::save_game_state(void) { GameState *this; - Game *pGVar1; - Manager *pMVar2; + undefined4 *puVar1; + Game *pGVar2; Manager *pMVar3; - undefined1 uVar4; - char cVar5; - Entity_Player *pEVar6; - int iVar7; - int *piVar8; - undefined1 *puVar9; + Manager *pMVar4; + undefined1 uVar5; + char cVar6; + Entity_Player *pEVar7; + int iVar8; + int *piVar9; undefined1 *puVar10; + undefined1 *puVar11; void *local_24; undefined1 *local_20; undefined4 local_1c; @@ -826300,88 +827734,89 @@ void Manager::save_game_state(void) undefined4 local_c; int *local_8; - pMVar2 = g_manager; + pMVar3 = g_manager; if (g_manager->_state != 2) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"[warn] Cannot save game state while not in game.\n"); } if (((g_game->_dailyChallenge)._id == 0) && (g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1))) { - pEVar6 = Game::GetPlayer(g_game,0); - if (pEVar6->_dead != 0) { - pEVar6 = Game::GetPlayer(g_game,0); - iVar7 = Entity_Player::GetExtraLives(pEVar6); - if (iVar7 < 1) { + pEVar7 = Game::GetPlayer(g_game,0); + if (pEVar7->_dead != 0) { + pEVar7 = Game::GetPlayer(g_game,0); + iVar8 = Entity_Player::GetExtraLives(pEVar7); + if (iVar8 < 1) { return; } } - pGVar1 = g_game; - this = &pMVar2->_gamestate; - pMVar2->field_0x20dcc = 1; - Game::store_game_state(pGVar1,this); - *(int *)&pMVar2->field_0x1ad14 = pMVar2->_startPlayerType; - uVar4 = FUN_008f8cd0(); - pMVar2->field_0x1ad18 = uVar4; - piVar8 = (int *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); - if ((*piVar8 == 0) || ((pMVar2->_optionsConfig)._enableSteamCloud == 0)) { - if (*(int *)&pMVar2->field_0x20d60 == 0) { + pGVar2 = g_game; + this = &pMVar3->_gamestate; + pMVar3->_isSavingGameState = 1; + Game::store_game_state(pGVar2,this); + *(int *)&(pMVar3->_gamestate).field_0x19d70 = pMVar3->_startPlayerType; + uVar5 = FUN_008f8cd0(); + (pMVar3->_gamestate).field_0x19d74 = uVar5; + piVar9 = (int *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); + if ((*piVar9 == 0) || ((pMVar3->_optionsConfig)._enableSteamCloud == 0)) { + if (*(int *)&(pMVar3->_gamestate).field_0x1fdbc == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"[warn] GameState::Save: no filename specified.\n"); } GameState::DeleteRerun(this); - if (*(undefined4 **)&pMVar2->field_0x20dc8 != (undefined4 *)0x0) { - (**(code **)**(undefined4 **)&pMVar2->field_0x20dc8)(1); + puVar1 = (pMVar3->_gamestate)._saveFile; + if (puVar1 != (undefined4 *)0x0) { + (**(code **)*puVar1)(1); } - puVar10 = &pMVar2->field_0x20d50; - puVar9 = puVar10; - if (0xf < *(uint *)&pMVar2->field_0x20d64) { - puVar9 = *(undefined1 **)puVar10; + puVar11 = &(pMVar3->_gamestate).field_0x1fdac; + puVar10 = puVar11; + if (0xf < *(uint *)&(pMVar3->_gamestate).field_0x1fdc0) { + puVar10 = *(undefined1 **)puVar11; } - local_8 = (int *)SaveDataManager::open_file_write(puVar9,0); - *(int **)&pMVar2->field_0x20dc8 = local_8; + local_8 = (int *)SaveDataManager::open_file_write(puVar10,0); + (pMVar3->_gamestate)._saveFile = local_8; if (local_8 != (int *)0x0) { - cVar5 = (**(code **)(*local_8 + 0x30))(); - if ((cVar5 != '\0') && (iVar7 = _fileno((FILE *)local_8[3]), -1 < iVar7)) { + cVar6 = (**(code **)(*local_8 + 0x30))(); + if ((cVar6 != '\0') && (iVar8 = _fileno((FILE *)local_8[3]), -1 < iVar8)) { flock(); } - if (0xf < *(uint *)&pMVar2->field_0x20d64) { - puVar10 = *(undefined1 **)puVar10; + if (0xf < *(uint *)&(pMVar3->_gamestate).field_0x1fdc0) { + puVar11 = *(undefined1 **)puVar11; } - local_24 = *(void **)&pMVar2->field_0x20dc8; + local_24 = (pMVar3->_gamestate)._saveFile; local_1c = 0; local_c = 1; local_18 = 0; local_14 = 0; local_10 = 0xfedcba76; - local_20 = puVar10; + local_20 = puVar11; GameState::write(this,&local_24); - piVar8 = *(int **)&pMVar2->field_0x20dc8; - cVar5 = (**(code **)(*piVar8 + 0x30))(); - if ((cVar5 != '\0') && (iVar7 = _fileno((FILE *)piVar8[3]), -1 < iVar7)) { + piVar9 = (pMVar3->_gamestate)._saveFile; + cVar6 = (**(code **)(*piVar9 + 0x30))(); + if ((cVar6 != '\0') && (iVar8 = _fileno((FILE *)piVar9[3]), -1 < iVar8)) { flock(); } - (**(code **)(**(int **)&pMVar2->field_0x20dc8 + 0x34))(); + (**(code **)(*(int *)(pMVar3->_gamestate)._saveFile + 0x34))(); } } else { FUN_009cad40(); } - *(undefined4 *)&(pMVar2->_persistentGameData).field_0xf84 = - *(undefined4 *)&pMVar2->field_0x20d48; - *(undefined1 *)&pMVar2->_persistentGameData = 1; - if ((pMVar2->_persistentGameData)._isFileLoaded != 0) { - *(undefined1 *)&pMVar2->_persistentGameData = 0; + *(undefined4 *)&(pMVar3->_persistentGameData).field_0xf84 = + *(undefined4 *)&(pMVar3->_gamestate).field_0x1fda4; + *(undefined1 *)&pMVar3->_persistentGameData = 1; + if ((pMVar3->_persistentGameData)._isFileLoaded != 0) { + *(undefined1 *)&pMVar3->_persistentGameData = 0; BackupSaveFile(); - pMVar3 = g_manager; - piVar8 = (int *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); - if ((*piVar8 != 0) && ((pMVar3->_optionsConfig)._enableSteamCloud != 0)) { - PersistentGameData::SaveToSteamCloud(&pMVar2->_persistentGameData); - pMVar2->field_0x20dcc = 0; + pMVar4 = g_manager; + piVar9 = (int *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); + if ((*piVar9 != 0) && ((pMVar4->_optionsConfig)._enableSteamCloud != 0)) { + PersistentGameData::SaveToSteamCloud(&pMVar3->_persistentGameData); + pMVar3->_isSavingGameState = 0; return; } PersistentGameData::Save(); } - pMVar2->field_0x20dcc = 0; + pMVar3->_isSavingGameState = 0; } return; } @@ -826403,7 +827838,7 @@ void Game::DeleteSaveState(void) GameState::Delete(&g_manager->_gamestate); *(undefined4 *)&(pMVar1->_persistentGameData).field_0xf84 = 0; *(undefined1 *)&pMVar1->_persistentGameData = 1; - pMVar1->field_0x4b284 = 0; + pMVar1->_isSaveOnExit = 0; } return; } @@ -826458,28 +827893,29 @@ void save_rerun_to_steam_cloud(void) return; } Game::store_game_state(g_game,&pMVar2->_gamestate); - if (pMVar2->field_0xfa8 != '\0') { + if ((pMVar2->_gamestate).field_0x4 != '\0') { return; } uVar3 = FUN_008f8cd0(); - pMVar2->field_0x1ad18 = uVar3; + (pMVar2->_gamestate).field_0x19d74 = uVar3; piVar6 = (int *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); if ((*piVar6 == 0) || ((pMVar2->_optionsConfig)._enableSteamCloud == 0)) { - if (*(int *)&pMVar2->field_0x20d78 == 0) { + if (*(int *)&(pMVar2->_gamestate).field_0x1fdd4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"[warn] GameState::Save: no filename specified.\n"); } - if (*(undefined4 **)&pMVar2->field_0x20dc8 != (undefined4 *)0x0) { - (**(code **)**(undefined4 **)&pMVar2->field_0x20dc8)(1); - *(undefined4 *)&pMVar2->field_0x20dc8 = 0; + puVar7 = (pMVar2->_gamestate)._saveFile; + if (puVar7 != (undefined4 *)0x0) { + (**(code **)*puVar7)(1); + (pMVar2->_gamestate)._saveFile = (void *)0x0; } - puVar11 = &pMVar2->field_0x20d68; + puVar11 = &(pMVar2->_gamestate).field_0x1fdc4; puVar8 = puVar11; - if (0xf < *(uint *)&pMVar2->field_0x20d7c) { + if (0xf < *(uint *)&(pMVar2->_gamestate).field_0x1fdd8) { puVar8 = *(undefined1 **)puVar11; } piVar6 = (int *)SaveDataManager::open_file_write(puVar8,0); - *(int **)&pMVar2->field_0x20dc8 = piVar6; + (pMVar2->_gamestate)._saveFile = piVar6; if (piVar6 == (int *)0x0) { return; } @@ -826487,10 +827923,10 @@ void save_rerun_to_steam_cloud(void) if ((cVar4 != '\0') && (iVar5 = _fileno((FILE *)piVar6[3]), -1 < iVar5)) { flock(); } - if (0xf < *(uint *)&pMVar2->field_0x20d7c) { + if (0xf < *(uint *)&(pMVar2->_gamestate).field_0x1fdd8) { puVar11 = *(undefined1 **)puVar11; } - pvStack_24 = *(void **)&pMVar2->field_0x20dc8; + pvStack_24 = (pMVar2->_gamestate)._saveFile; uStack_1c = 0; uStack_c = 1; uStack_18 = 0; @@ -826498,16 +827934,17 @@ void save_rerun_to_steam_cloud(void) uStack_10 = 0xfedcba76; puStack_20 = puVar11; GameState::write_rerun(&pMVar2->_gamestate,&pvStack_24); - piVar6 = *(int **)&pMVar2->field_0x20dc8; + piVar6 = (pMVar2->_gamestate)._saveFile; cVar4 = (**(code **)(*piVar6 + 0x30))(); if ((cVar4 != '\0') && (iVar5 = _fileno((FILE *)piVar6[3]), -1 < iVar5)) { flock(); } - (**(code **)(**(int **)&pMVar2->field_0x20dc8 + 0x34))(); + (**(code **)(*(int *)(pMVar2->_gamestate)._saveFile + 0x34))(); return; } - if (*(undefined4 **)&pMVar2->field_0x20dc8 != (undefined4 *)0x0) { - (**(code **)**(undefined4 **)&pMVar2->field_0x20dc8)(1); + puVar7 = (pMVar2->_gamestate)._saveFile; + if (puVar7 != (undefined4 *)0x0) { + (**(code **)*puVar7)(1); } if (g_mainHeap == (void *)0x0) { pqVar10 = &g_allocatedBytesNoHeap; @@ -826538,26 +827975,26 @@ void save_rerun_to_steam_cloud(void) } puVar9 = (undefined4 *)0x0; LAB_009592d3: - puVar11 = &pMVar2->field_0x20db0; - *(undefined4 **)&pMVar2->field_0x20dc8 = puVar9; + puVar11 = &(pMVar2->_gamestate).field_0x1fe0c; + (pMVar2->_gamestate)._saveFile = puVar9; puVar8 = puVar11; - if (0xf < *(uint *)&pMVar2->field_0x20dc4) { + if (0xf < *(uint *)&(pMVar2->_gamestate).field_0x1fe20) { puVar8 = *(undefined1 **)puVar11; } cVar4 = FUN_00683930(puVar8,0x100000); if ((cVar4 == '\0') || - (cVar4 = (**(code **)(**(int **)&pMVar2->field_0x20dc8 + 0x30))(), cVar4 == '\0')) { - if (0xf < *(uint *)&pMVar2->field_0x20dc4) { + (cVar4 = (**(code **)(*(int *)(pMVar2->_gamestate)._saveFile + 0x30))(), cVar4 == '\0')) { + if (0xf < *(uint *)&(pMVar2->_gamestate).field_0x1fe20) { puVar11 = *(undefined1 **)puVar11; } /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"[warn] GameState::SaveRerunToSteamCloud could not open %s for writing.\n", puVar11); } - if (0xf < *(uint *)&pMVar2->field_0x20dc4) { + if (0xf < *(uint *)&(pMVar2->_gamestate).field_0x1fe20) { puVar11 = *(undefined1 **)puVar11; } - pvStack_24 = *(void **)&pMVar2->field_0x20dc8; + pvStack_24 = (pMVar2->_gamestate)._saveFile; uStack_1c = 0; uStack_c = 1; uStack_18 = 0; @@ -826565,7 +828002,7 @@ LAB_009592d3: uStack_10 = 0xfedcba76; puStack_20 = puVar11; GameState::write_rerun(&pMVar2->_gamestate,&pvStack_24); - (**(code **)(**(int **)&pMVar2->field_0x20dc8 + 0x34))(); + (**(code **)(*(int *)(pMVar2->_gamestate)._saveFile + 0x34))(); return; } @@ -826700,9 +828137,9 @@ void Manager::start_pending_game(void) { HUD *this; - undefined4 uVar1; + int *piVar1; undefined4 uVar2; - undefined4 uVar3; + int iVar3; Manager *pMVar4; char cVar5; char cVar6; @@ -826713,9 +828150,9 @@ void Manager::start_pending_game(void) int in_ECX; int iVar10; undefined1 auStack_174 [56]; - undefined4 uStack_13c; - undefined4 uStack_138; - undefined4 uStack_134; + int iStack_13c; + int iStack_138; + int iStack_134; int iStack_130; int iStack_124; void *pvStack_120; @@ -826728,12 +828165,12 @@ void Manager::start_pending_game(void) uint local_14; void *local_10; undefined1 *puStack_c; - undefined4 local_8; + int local_8; local_8 = 0xffffffff; puStack_c = &LAB_00b0c36d; local_10 = ExceptionList; - local_14 = __security_cookie ^ (int)register0x00000010 - 4U; + local_14 = __security_cookie ^ (uint)&(&local_74)[1]._rng._shift3; ExceptionList = &local_10; if ((*(char *)(in_ECX + 0x4b130) != '\0') && ((*(char *)(in_ECX + 0x4b274) == '\0' || (cVar5 = FUN_0090c400(), cVar5 != '\0')))) { @@ -826759,10 +828196,11 @@ void Manager::start_pending_game(void) } pMVar4 = g_manager; if (*(char *)(in_ECX + 0x4b274) != '\0') { - *(undefined4 *)&g_manager[1].field_0x1284 = 0; - *(undefined4 *)&pMVar4[1].field_0x1280 = 0; - local_d8 = **(int **)&pMVar4[1].field_0x122c; - if ((int *)local_d8 != *(int **)&pMVar4[1].field_0x122c) { + *(undefined4 *)&g_manager[1]._gamestate.field_0x2e0 = 0; + *(undefined4 *)&pMVar4[1]._gamestate.field_0x2dc = 0; + piVar1 = *(int **)&pMVar4[1]._gamestate.field_0x288; + local_d8 = *piVar1; + if ((int *)local_d8 != piVar1) { do { iVar10 = *(int *)(local_d8 + 0x20); if ((iVar10 == 0) || (*(int *)(iVar10 + 8) == 0 && *(int *)(iVar10 + 0xc) == 0)) { @@ -826783,7 +828221,7 @@ void Manager::start_pending_game(void) ::operator++((_Tree_unchecked_const_iterator_>,std::_Iterator_base0> *)&local_d8); } - } while (local_d8 != *(uint *)&pMVar4[1].field_0x122c); + } while (local_d8 != *(uint *)&pMVar4[1]._gamestate.field_0x288); } iVar10 = *(int *)(in_ECX + 0x4b278); if (iVar10 != *(int *)(in_ECX + 0x4b27c)) { @@ -826830,21 +828268,21 @@ void Manager::start_pending_game(void) if (cVar6 == '\0') { if (*(char *)(in_ECX + 0x4b132) == '\0') { if (*(int *)(in_ECX + 0x4b1c0) == 0) { - uVar1 = *(undefined4 *)(in_ECX + 0x4b198); + iVar10 = *(int *)(in_ECX + 0x4b198); if (*(char *)(in_ECX + 0x4b19c) == '\0') { Seeds::construct_from_copy((Seeds *)auStack_174,(Seeds *)(in_ECX + 0x4b13c)); Game::Start(); } else { - uVar2 = *(undefined4 *)(in_ECX + 0x4b1a4); + iVar8 = *(int *)(in_ECX + 0x4b1a4); iStack_130 = in_ECX + 0x4b1a8; - uVar3 = *(undefined4 *)(in_ECX + 0x4b1a0); - uStack_134 = 0x959c77; + iVar3 = *(int *)(in_ECX + 0x4b1a0); + iStack_134 = 0x959c77; std::string::string(); - uStack_13c = 0x959c84; - uStack_138 = uVar3; - uStack_134 = uVar2; - iStack_130 = uVar1; + iStack_13c = 0x959c84; + iStack_138 = iVar3; + iStack_134 = iVar8; + iStack_130 = iVar10; Game::StartDebug(); } } @@ -826860,7 +828298,7 @@ void Manager::start_pending_game(void) *(undefined1 *)(in_ECX + 0x4b132) = 0; Seeds::construct_from_copy(&local_d4,(Seeds *)(in_ECX + 0x1f6c8)); local_8 = 2; - Seeds::operator_assign(); + Seeds::operator_assign((Seeds *)(in_ECX + 0x4b13c)); local_8 = 0xffffffff; pvStack_120 = (void *)0x959c0a; FID_conflict__Erase_tree_>_> @@ -826880,7 +828318,7 @@ void Manager::start_pending_game(void) *(undefined1 *)(in_ECX + 0x4b131) = 0; Seeds::construct_from_copy(&local_74,(Seeds *)(in_ECX + 0x1f6c8)); local_8 = 1; - Seeds::operator_assign(); + Seeds::operator_assign((Seeds *)(in_ECX + 0x4b13c)); local_8 = 0xffffffff; pvStack_120 = (void *)0x959af0; FID_conflict__Erase_tree_>_> @@ -826921,9 +828359,9 @@ void Manager::start_pending_game(void) (pGVar7->_stageTransition)._frame = 0x31; pGVar7->field_0x1ba84 = 0; } - uVar1 = *(undefined4 *)(in_ECX + 0x4b138); + uVar2 = *(undefined4 *)(in_ECX + 0x4b138); Seeds::construct_from_copy((Seeds *)(auStack_174 + -4),(Seeds *)(in_ECX + 0x4b13c)); - FUN_006f5850(in_ECX + 0x4b278,in_ECX + 0x4b1c0,uVar1); + FUN_006f5850(in_ECX + 0x4b278,in_ECX + 0x4b1c0,uVar2); FUN_00959500(); } uVar9 = *(uint *)(in_ECX + 0x4abbc) & 0x80000001; @@ -827086,7 +828524,7 @@ void Game::end_save_progress(void) local_8 = 0; } FUN_0090cd10(1,local_8); - *(undefined4 *)&pMVar2[1].field_0x18bc = 0x25; + *(undefined4 *)&pMVar2[1]._gamestate.field_0x918 = 0x25; NetplayManager::update_lobby_stage_info(); } pGVar1 = g_game; @@ -827147,122 +828585,125 @@ void persistent_game_data_set_writable(void) void PlayerManager::unlock_completion_mark(int param_1) { - void *pvVar1; - undefined8 *puVar2; - bool bVar3; - Manager *pMVar4; - byte bVar5; - char cVar6; - undefined4 uVar7; + undefined1 *puVar1; + void *pvVar2; + undefined8 *puVar3; + bool bVar4; + Manager *pMVar5; + byte bVar6; + char cVar7; + undefined4 uVar8; undefined4 extraout_ECX; - int iVar8; int iVar9; - uint uVar10; + int iVar10; + uint uVar11; undefined4 extraout_EDX; - PlayerManager *pPVar11; - int *piVar12; - int iVar13; + PlayerManager *pPVar12; + int *piVar13; int iVar14; + int iVar15; uint local_8; if (g_game != (Game *)0x0) { - pPVar11 = &g_game->_playerManager; + pPVar12 = &g_game->_playerManager; local_8 = 0; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar11->_playerList)._begin >> 2 != + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar12->_playerList)._begin >> 2 != 0) { do { - pvVar1 = (pPVar11->_playerList)._end; - if ((int)pvVar1 - (int)(pPVar11->_playerList)._begin >> 2 == 0) { + pvVar2 = (pPVar12->_playerList)._end; + if ((int)pvVar2 - (int)(pPVar12->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - piVar12 = (pPVar11->_playerList)._begin; - if (local_8 < (uint)((int)pvVar1 - (int)piVar12 >> 2)) { - piVar12 = piVar12 + local_8; + piVar13 = (pPVar12->_playerList)._begin; + if (local_8 < (uint)((int)pvVar2 - (int)piVar13 >> 2)) { + piVar13 = piVar13 + local_8; } - iVar14 = *piVar12; - if (((*(int *)(iVar14 + 0x2c) == 0) && - ((((iVar13 = *(int *)(iVar14 + 0x1e68), iVar13 == 0 || (*(int *)(iVar13 + 0x161c) == -1) - ) || (*(int *)(iVar14 + 0x161c) <= *(int *)(iVar13 + 0x161c))) || (iVar13 == iVar14)) - )) && (*(int *)(iVar14 + 0x3bc) == 0)) { - iVar13 = *(int *)(iVar14 + 0x13c0); - if ((iVar13 == 8) && (*(char *)(iVar14 + 0x1519) == '\0')) { - for (piVar12 = *(int **)(iVar14 + 0x150c); piVar12 != *(int **)(iVar14 + 0x1510); - piVar12 = piVar12 + 4) { - if ((*(int *)*piVar12 == 0) && (((int *)*piVar12)[1] == 0x31)) { - iVar13 = 0xb; + iVar15 = *piVar13; + if (((*(int *)(iVar15 + 0x2c) == 0) && + ((((iVar14 = *(int *)(iVar15 + 0x1e68), iVar14 == 0 || (*(int *)(iVar14 + 0x161c) == -1) + ) || (*(int *)(iVar15 + 0x161c) <= *(int *)(iVar14 + 0x161c))) || (iVar14 == iVar15)) + )) && (*(int *)(iVar15 + 0x3bc) == 0)) { + iVar14 = *(int *)(iVar15 + 0x13c0); + if ((iVar14 == 8) && (*(char *)(iVar15 + 0x1519) == '\0')) { + for (piVar13 = *(int **)(iVar15 + 0x150c); piVar13 != *(int **)(iVar15 + 0x1510); + piVar13 = piVar13 + 4) { + if ((*(int *)*piVar13 == 0) && (((int *)*piVar13)[1] == 0x31)) { + iVar14 = 0xb; break; } } } if (g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) { - unlock_completion_mark_for_player_type(param_1,iVar13,g_game->_difficulty); + unlock_completion_mark_for_player_type(param_1,iVar14,g_game->_difficulty); } else { - bVar5 = NetplayManager::IsIdxLocalPlayer - (&g_manager->_netplayManager,*(uint *)(iVar14 + 0x1618)); - if (bVar5 != 0) { - iVar14 = g_game->_difficulty; - cVar6 = Manager::IsGameplayInputActive(extraout_ECX); - pMVar4 = g_manager; - if ((cVar6 == '\0') && ((g_manager->_persistentGameData)._isReadOnly == 0)) { - iVar8 = *(int *)&g_manager[1].field_0x1084; - uVar10 = *(uint *)&g_manager[1].field_0x107c; - if (uVar10 <= iVar8 + 1U) { - std_deque_growmap(iVar8); - uVar10 = *(uint *)&pMVar4[1].field_0x107c; - iVar8 = *(int *)&pMVar4[1].field_0x1084; + bVar6 = NetplayManager::IsIdxLocalPlayer + (&g_manager->_netplayManager,*(uint *)(iVar15 + 0x1618)); + if (bVar6 != 0) { + iVar15 = g_game->_difficulty; + cVar7 = Manager::IsGameplayInputActive(extraout_ECX); + pMVar5 = g_manager; + if ((cVar7 == '\0') && ((g_manager->_persistentGameData)._isReadOnly == 0)) { + iVar9 = *(int *)&g_manager[1]._gamestate.field_0xe0; + uVar11 = *(uint *)&g_manager[1]._gamestate.field_0xd8; + if (uVar11 <= iVar9 + 1U) { + std_deque_growmap(iVar9); + uVar11 = *(uint *)&pMVar5[1]._gamestate.field_0xd8; + iVar9 = *(int *)&pMVar5[1]._gamestate.field_0xe0; } - *(uint *)&pMVar4[1].field_0x1080 = *(uint *)&pMVar4[1].field_0x1080 & uVar10 - 1; - iVar8 = (iVar8 + *(int *)&pMVar4[1].field_0x1080 & uVar10 - 1) * 4; - iVar9 = *(int *)&pMVar4[1].field_0x1078; - if (*(int *)(iVar9 + iVar8) == 0) { - uVar7 = operator_new(0xc); - *(undefined4 *)(iVar8 + *(int *)&pMVar4[1].field_0x1078) = uVar7; - iVar9 = *(int *)&pMVar4[1].field_0x1078; + puVar1 = &pMVar5[1]._gamestate.field_0xdc; + *(uint *)puVar1 = *(uint *)puVar1 & uVar11 - 1; + iVar9 = (iVar9 + *(int *)&pMVar5[1]._gamestate.field_0xdc & uVar11 - 1) * 4; + iVar10 = *(int *)&pMVar5[1]._gamestate.field_0xd4; + if (*(int *)(iVar10 + iVar9) == 0) { + uVar8 = operator_new(0xc); + *(undefined4 *)(iVar9 + *(int *)&pMVar5[1]._gamestate.field_0xd4) = uVar8; + iVar10 = *(int *)&pMVar5[1]._gamestate.field_0xd4; } - puVar2 = *(undefined8 **)(iVar8 + iVar9); - *puVar2 = CONCAT44(iVar13,param_1); - *(int *)(puVar2 + 1) = iVar14; - *(int *)&pMVar4[1].field_0x1084 = *(int *)&pMVar4[1].field_0x1084 + 1; - if ((iVar14 == 1) || (iVar14 == 3)) { - bVar3 = true; + puVar3 = *(undefined8 **)(iVar9 + iVar10); + *puVar3 = CONCAT44(iVar14,param_1); + *(int *)(puVar3 + 1) = iVar15; + puVar1 = &pMVar5[1]._gamestate.field_0xe0; + *(int *)puVar1 = *(int *)puVar1 + 1; + if ((iVar15 == 1) || (iVar15 == 3)) { + bVar4 = true; } else { - bVar3 = false; + bVar4 = false; } - if ((param_1 != 0) || (bVar3)) { - bVar3 = false; + if ((param_1 != 0) || (bVar4)) { + bVar4 = false; } else { - bVar3 = true; + bVar4 = true; } - if ((((iVar13 < 0x29) && (iVar13 * 0x90 != -0xc35ed0)) && (!bVar3)) && - ((iVar14 = *(int *)(iVar13 * 0x90 + 0xc35ed4 + param_1 * 8), iVar14 != 0 && - (bVar5 = PersistentGameData::Unlocked(&g_manager->_persistentGameData,iVar14), - bVar5 == 0)))) { + if ((((iVar14 < 0x29) && (iVar14 * 0x90 != -0xc35ed0)) && (!bVar4)) && + ((iVar15 = *(int *)(iVar14 * 0x90 + 0xc35ed4 + param_1 * 8), iVar15 != 0 && + (bVar6 = PersistentGameData::Unlocked(&g_manager->_persistentGameData,iVar15), + bVar6 == 0)))) { Manager::queue_achievement_popup(extraout_EDX); } } } } } - pPVar11 = &g_game->_playerManager; + pPVar12 = &g_game->_playerManager; local_8 = local_8 + 1; } while (local_8 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar11->_playerList)._begin >> 2)); + (int)(pPVar12->_playerList)._begin >> 2)); } if (param_1 == 6) { - iVar14 = 0x154; + iVar15 = 0x154; } else { if (param_1 != 0xd) { return; } PersistentGameData::TryUnlock(&g_manager->_persistentGameData,0x195); - iVar14 = 0x27b; + iVar15 = 0x27b; } - PersistentGameData::TryUnlock(&g_manager->_persistentGameData,iVar14); + PersistentGameData::TryUnlock(&g_manager->_persistentGameData,iVar15); } return; } @@ -827859,7 +829300,7 @@ void Manager::update_controller_popups(void) if ((*(int *)(iVar18 + 0xe0) == -1) && (*(int *)(iVar18 + 0xe4) == -1)) { local_3c = (int *)&DAT_bf800000; local_38 = (int *)&DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,0,0,&local_3c); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,0,0,&local_3c); local_8 = CONCAT31(local_8._1_3_,3); local_140 = 3; MessagePopup::add_blank_footer(local_154); @@ -827964,7 +829405,7 @@ void Manager::update_controller_popups(void) if (iVar16 == 0) { local_98 = &DAT_bf800000; local_94 = &DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,0,0,&local_98); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,0,0,&local_98); local_8 = CONCAT31(local_8._1_3_,7); local_6c = 0x3e5cdcdd; uStack_68 = 0x3e2cacad; @@ -828201,22 +829642,22 @@ LAB_0095bc03: g_menuControllerIndex = iVar16; } pGVar12 = g_game; - *(undefined4 *)&(g_game->_playerManager).field_0xc = 0xffffffff; - *(undefined4 *)&(pGVar12->_playerManager).field_0x20 = 0xffffffff; - *(undefined4 *)&(pGVar12->_playerManager).field_0x14 = 0xffffffff; - *(undefined4 *)&(pGVar12->_playerManager).field_0x18 = 0; - *(undefined4 *)&(pGVar12->_playerManager).field_0x10 = 0; - *(undefined4 *)&(pGVar12->_playerManager).field_0x28 = 0xffffffff; - *(undefined4 *)&(pGVar12->_playerManager).field_0x2c = 0; - *(undefined4 *)&(pGVar12->_playerManager).field_0x24 = 0; - *(undefined4 *)&(pGVar12->_playerManager).field_0x34 = 0xffffffff; - *(undefined4 *)&(pGVar12->_playerManager).field_0x3c = 0xffffffff; - *(undefined4 *)&(pGVar12->_playerManager).field_0x40 = 0; - *(undefined4 *)&(pGVar12->_playerManager).field_0x38 = 0; - *(undefined4 *)&(pGVar12->_playerManager).field_0x48 = 0xffffffff; - *(undefined4 *)&(pGVar12->_playerManager).field_0x50 = 0xffffffff; - *(undefined4 *)&(pGVar12->_playerManager).field_0x54 = 0; - *(undefined4 *)&(pGVar12->_playerManager).field_0x4c = 0; + (g_game->_playerManager)._coopSlots[0]._controllerIndex = -1; + (pGVar12->_playerManager)._coopSlots[1]._controllerIndex = -1; + (pGVar12->_playerManager)._coopSlots[0]._state = -1; + (pGVar12->_playerManager)._coopSlots[0]._menuPosition = 0.0; + (pGVar12->_playerManager)._coopSlots[0]._playerType = 0; + (pGVar12->_playerManager)._coopSlots[1]._state = -1; + (pGVar12->_playerManager)._coopSlots[1]._menuPosition = 0.0; + (pGVar12->_playerManager)._coopSlots[1]._playerType = 0; + (pGVar12->_playerManager)._coopSlots[2]._controllerIndex = -1; + (pGVar12->_playerManager)._coopSlots[2]._state = -1; + (pGVar12->_playerManager)._coopSlots[2]._menuPosition = 0.0; + (pGVar12->_playerManager)._coopSlots[2]._playerType = 0; + (pGVar12->_playerManager)._coopSlots[3]._controllerIndex = -1; + (pGVar12->_playerManager)._coopSlots[3]._state = -1; + (pGVar12->_playerManager)._coopSlots[3]._menuPosition = 0.0; + (pGVar12->_playerManager)._coopSlots[3]._playerType = 0; } } else { @@ -828606,7 +830047,7 @@ int FUN_0095c430(int param_1,int param_2,int param_3) ppvVar1 = &local_10; local_10 = ExceptionList; for (; ExceptionList = ppvVar1, param_1 != param_2; param_1 = param_1 + 0xa4) { - FUN_0095c6a0(param_1); + ChallengeParams::ChallengeParams(param_1); param_3 = param_3 + 0xa4; ppvVar1 = ExceptionList; } @@ -828724,9 +830165,14 @@ void FUN_0095c670(void) } -//@@ 0095c6a0 FUN_0095c6a0 +//@@ 0095c6a0 ChallengeParams::ChallengeParams -void FUN_0095c6a0(undefined4 *param_1) +/* DB: ? move constructor: only caller FUN_0095c430 (uninitialized move of 0xa4-byte elements) from + std::vector::_Emplace_reallocate; moves the leading std::string (source reset to + cap 0xf), swaps a tree head (+0x18/+0x1c, fresh 0x14-byte head), steals three vectors (+0x20.., + +0x2c..) */ + +void ChallengeParams::ChallengeParams(undefined4 *param_1) { undefined4 uVar1; @@ -830448,8 +831894,8 @@ void Manager::update_state_loading(void) pfVar10 = &local_2c; } ExceptionList = &local_1c; - *(float *)&g_manager->field_0x4abb0 = *pfVar10; - if (pMVar14[1].field_0x121c == '\0') { + (g_manager->_popupButtons)._scale = *pfVar10; + if (pMVar14[1]._gamestate.field_0x278 == '\0') { piVar9 = in_ECX + 0x20e; puStack_20 = (undefined1 *)(local_34 + 0xc); if (in_ECX[0x20e] == -1) goto LAB_0095e179; @@ -830484,7 +831930,7 @@ void Manager::update_state_loading(void) else { local_38 = &DAT_bf800000; local_34[0] = 0x42a00000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,0,0,&local_38); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,0,0,&local_38); local_14 = 2; local_54 = 0; local_44[0] = 1.4013e-45; @@ -830508,7 +831954,7 @@ void Manager::update_state_loading(void) in_ECX = local_3c; } } - if (pMVar14[1].field_0x121c != '\0') { + if (pMVar14[1]._gamestate.field_0x278 != '\0') { ExceptionList = local_1c; return; } @@ -830519,7 +831965,7 @@ void Manager::update_state_loading(void) *piVar9 = -1; } LAB_0095e179: - if (pMVar14[1].field_0x121c != '\0') { + if (pMVar14[1]._gamestate.field_0x278 != '\0') { ExceptionList = local_1c; return; } @@ -830529,7 +831975,7 @@ LAB_0095e179: } *in_ECX = 0; if ((pMVar14->_netplayManager != *(NetplayManager *)(pMVar14 + 1)) && - (pMVar14->field_0x21620 != '\0')) { + ((pMVar14->_cutsceneManager)._isQueuedCleanup != 0)) { FUN_008fd750(); } online_session_reset(); @@ -830610,7 +832056,7 @@ LAB_0095e290: (1 < (uint)((int)*(NetplayManager *)(g_manager + 1) - (int)g_manager->_netplayManager >> 2))) { iVar8 = online_vote_get_local_choice(); - pMVar14->field_0x4aba0 = iVar8 == 2; + (pMVar14->_popupButtons)._buttons[1]._isVisible = iVar8 == 2; pMVar14 = g_manager; local_28 = DAT_00c7997c / _DAT_00c5d2c0; local_44[0] = DAT_00c79980 / _DAT_00c5d2c4; @@ -830618,7 +832064,7 @@ LAB_0095e290: if (DAT_00c7997c / _DAT_00c5d2c0 <= DAT_00c79980 / _DAT_00c5d2c4) { pfVar10 = &local_28; } - *(float *)&g_manager->field_0x4abb0 = *pfVar10; + (g_manager->_popupButtons)._scale = *pfVar10; } lVar2 = CONCAT44(local_34[0],local_28); if ((local_22 != '\0') || (local_21 != '\0')) { @@ -830731,7 +832177,8 @@ LAB_0095e570: local_28 = (float)((ulonglong)lVar2 >> 0x20); local_4c = (int *)lVar2; *local_3c = iVar8; - if ((g_manager[1].field_0x121c != '\0') && (g_manager[1].field_0x1228 == '\0')) { + if ((g_manager[1]._gamestate.field_0x278 != '\0') && + (g_manager[1]._gamestate.field_0x284 == '\0')) { local_34[0] = 0; if (g_multiplayerService == (void *)0x0) { /* WARNING: Subroutine does not return */ @@ -830751,8 +832198,8 @@ LAB_0095e570: } } pMVar14 = g_manager; - *(undefined4 *)&g_manager->field_0x4aa68 = 0x42c00000; - *(undefined4 *)&pMVar14->field_0x4ab98 = 0x42c00000; + (g_manager->_popupButtons)._buttons[0]._targetSlideOffset = 96.0; + (pMVar14->_popupButtons)._buttons[1]._targetSlideOffset = 96.0; } ExceptionList = local_1c; return; @@ -830768,34 +832215,33 @@ void __thiscall Cutscene::Show(Cutscene *this,int cutsceneid) { Manager *pMVar1; - Cutscene CVar2; + undefined4 *puVar2; pMVar1 = g_manager; if (0x1a < (uint)cutsceneid) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(8,"Invalid cutscene ID \"%d\" \n",cutsceneid); } - *(undefined4 *) - ((int)&g_manager->_optionsConfig + *(int *)&g_manager->_musicManager * 0x184 + -0x204) = 0; - *(undefined4 *)((int)&pMVar1->_optionsConfig + *(int *)&pMVar1->_musicManager * 0x184 + -0x200) = - 0x3da3d70a; + (g_manager->_musicManager)._channels[(g_manager->_musicManager)._currentChannel]._targetVolume = + 0.0; + (pMVar1->_musicManager)._channels[(pMVar1->_musicManager)._currentChannel]._fadeRate = 0.08; (pMVar1->_musicManager)._queuedMusicID = 0; - if (*this != (Cutscene)0x0) { - CutsceneEntry::Unload((CutsceneEntry *)(this + (int)this[0x202] * 0x13 + 1)); + if (*(int *)this != 0) { + CutsceneEntry::Unload((CutsceneEntry *)(&this->field_0x4 + this->_currentCutsceneId * 0x4c)); TextureCache::Purge(); } - this[0x202] = (Cutscene)cutsceneid; - this[0x20a] = (Cutscene)0x0; + this->_currentCutsceneId = cutsceneid; + *(undefined4 *)&this->field_0x828 = 0; if (cutsceneid == 0) { - this[0x20e] = (Cutscene)0xffffffff; + *(undefined4 *)&this->field_0x838 = 0xffffffff; return; } - CVar2 = (Cutscene)(this + cutsceneid * 0x13 + 2); - if (0xf < (uint)*(Cutscene *)((int)CVar2 + 0x14)) { - CVar2 = *(Cutscene *)CVar2; + puVar2 = (undefined4 *)(&this->field_0x8 + cutsceneid * 0x4c); + if (0xf < (uint)puVar2[5]) { + puVar2 = (undefined4 *)*puVar2; } /* WARNING: Subroutine does not return */ - KAGE_LogMessage(1,"playing cutscene %d (%s).\n",cutsceneid,CVar2); + KAGE_LogMessage(1,"playing cutscene %d (%s).\n",cutsceneid,puVar2); } @@ -830811,16 +832257,19 @@ void FUN_0095eb00(undefined4 param_1,int param_2) *(undefined4 *)(param_2 + 0x83c) = DAT_00c79880; *(int *)(param_2 + 0x840) = ((int)(pMVar1->_lobbyMembers)._end - (int)(pMVar1->_lobbyMembers)._begin) / 0x14; - *(undefined4 *)&pMVar1->field_0x4ab98 = 0x42c00000; + (pMVar1->_popupButtons)._buttons[1]._targetSlideOffset = 96.0; return; } -//@@ 0095eb60 FUN_0095eb60 +//@@ 0095eb60 cutscene_render_skip_vote_count /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? render callback stored by Cutscene::Show (mov [edx+0x4abb4],0x95eb60 at 0x95e8dc); counts + lobby members (/0x14) vs votes (+0x83c/+0x840), sprintf + string_table_translate('#Online/VOTE_COUNT_STRING'), Font::DrawString */ -void FUN_0095eb60(int param_1,int param_2) +void cutscene_render_skip_vote_count(int param_1,int param_2) { Manager *pMVar1; @@ -830898,18 +832347,23 @@ void FUN_0095eb60(int param_1,int param_2) Font::DrawString(local_34,pfVar4,&local_3c,local_74,&local_60); pMVar1 = g_manager; fVar7 = *(float *)(param_1 + 0x260); - *(float *)&g_manager->field_0x4aba8 = fVar7 * -8.0; - *(float *)&pMVar1->field_0x4abac = fVar7 * -14.0; + (g_manager->_popupButtons)._buttons[1]._offset.x = fVar7 * -8.0; + (pMVar1->_popupButtons)._buttons[1]._offset.y = fVar7 * -14.0; ExceptionList = local_10; return; } -//@@ 0095ed70 FUN_0095ed70 +//@@ 0095ed70 CutscenePart::load_subtitles /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? ECX+0xc = subtitle path: FileSystem::Open, reads lines (vfunc +0x18), lines > 28 chars are + SRT "hh:mm:ss,mmm --> hh:mm:ss,mmm" timestamps parsed by FUN_0095cb80, up to 4 following text + lines -> utf8_to_utf16_alloc; 0x1c-byte cue vector at +0x24; from the anm2part loader + FUN_0095f4b0 (ANM2::Load then this) and a vtable thunk 0095c920 (Cutscene::load_xml parses + "subtitles") */ -void FUN_0095ed70(void) +void CutscenePart::load_subtitles(void) { qword qVar1; @@ -831136,9 +832590,13 @@ void FUN_0095f1a0(uint param_1) } -//@@ 0095f1f0 FUN_0095f1f0 +//@@ 0095f1f0 CutscenePart::render_subtitles -void FUN_0095f1f0(void) +/* DB: ? draws the current cue (vector +0x24 of 0x1c-byte cues, index +0x2c, time +0x28 between cue + start/end) lines with Font::get_string_width_utf16 + Font::draw_string_wide centred; same cue + layout as CutscenePart::load_subtitles 0095ed70 CutscenePart::load_subtitles + +void CutscenePart::render_subtitles(void) { float fVar1; @@ -831161,7 +832619,7 @@ void FUN_0095f1f0(void) int iStack_44; int iStack_40; int iStack_3c; - undefined4 local_34; + int local_34; float local_30; float local_2c; float local_28; @@ -831178,7 +832636,7 @@ void FUN_0095f1f0(void) puStack_c = &LAB_00b0c7ad; local_10 = ExceptionList; ExceptionList = &local_10; - if (g_manager->_stringTable != 0) { + if (*(int *)&g_manager->_stringTable != 0) { local_24 = *(float *)(in_ECX + 0x34) * g_screenPointScale; fVar6 = (float10)roundf(); local_24 = (float)fVar6; @@ -831191,7 +832649,7 @@ void FUN_0095f1f0(void) iStack_44 = g_graphicsManager_blendMode[1]; iStack_40 = g_graphicsManager_blendMode[2]; iStack_3c = g_graphicsManager_blendMode[3]; - local_34 = DAT_00c79910; + local_34 = g_graphicsManager_blendMode[4]; set_blend_mode(); uVar4 = g_graphicsManager_flags & 0xfffffffd; local_1c = &g_manager->_font9_PFTempestaSevenCondensedAgain; @@ -831237,7 +832695,7 @@ void FUN_0095f1f0(void) g_graphicsManager_blendMode[1] = iStack_44; g_graphicsManager_blendMode[2] = iStack_40; g_graphicsManager_blendMode[3] = iStack_3c; - DAT_00c79910 = local_34; + g_graphicsManager_blendMode[4] = local_34; } } ExceptionList = local_10; @@ -831254,7 +832712,7 @@ void FUN_0095f4b0(void) ANM2::Reset((ANM2 *)(in_ECX + 0x80)); ANM2::Load((ANM2 *)(in_ECX + 0x80),(std_string *)(in_ECX + 0x40),1); - FUN_0095ed70(); + CutscenePart::load_subtitles(); return; } @@ -831271,9 +832729,15 @@ void FUN_0095f4e0(void) } -//@@ 0095f4f0 FUN_0095f4f0 +//@@ 0095f4f0 Cutscene::ANM2Part::start -void FUN_0095f4f0(void) +/* DB: ? vtable slot 3 of Cutscene::ANM2Part (slot 1 0095f4b0 = ANM2::Reset+Load of the part, 2 = + Reset, 4 = per-frame update, 5 = Render); resets the timer (+0x28/+0x2c), + ANM2::SetAnimation(this+0x80, anim name +0x58) + AnimationState::Rewind, then Music::Play of the + part music id (+0x70), swapping 0x3c for 0x46/0x47 by achievements 0x20/0x27d, music volume from + OptionsConfig */ + +void Cutscene::ANM2Part::start(void) { longlong lVar1; @@ -831332,9 +832796,9 @@ void FUN_0095f4f0(void) if (musicid < ((int)(pMVar3->_musicManager)._entries._end - (int)(pMVar3->_musicManager)._entries._begin) / 0x60) { Music::Play((Music *)this,musicid,0.0); - *(undefined4 *)(&this->field_0x178 + *(int *)this * 0x184) = 0; - *(float *)(&this->field_0x17c + *(int *)this * 0x184) = local_8; - *(undefined4 *)(&this->field_0x180 + *(int *)this * 0x184) = 0x3da3d70a; + this->_channels[this->_currentChannel]._volume = 0.0; + this->_channels[this->_currentChannel]._targetVolume = local_8; + this->_channels[this->_currentChannel]._fadeRate = 0.08; } } else { @@ -831356,11 +832820,11 @@ LAB_0095f67a: } -//@@ 0095f6f0 Manager::ResizeWindow +//@@ 0095f6f0 Cutscene::ANM2Part::Update -/* ZHL [exact] __thiscall void Manager::ResizeWindow(int windowWidth,int windowHeight); */ +/* DB: slot 4 of the Cutscene::ANM2Part vtable (was a ZHL exact match Manager::ResizeWindow) */ -void __thiscall Manager::ResizeWindow(Manager *this) +void __thiscall Cutscene::ANM2Part::Update(void *this) { int iVar1; @@ -831385,41 +832849,39 @@ void __thiscall Manager::ResizeWindow(Manager *this) CONCAT14(CARRY4((uint)((ulonglong)lVar3 >> 0x20), (int)((ulonglong)lVar2 >> 0x20) + (uint)CARRY4((uint)lVar2,(uint)lVar3)) ,(int)((ulonglong)(lVar3 + lVar2) >> 0x20)); - iVar7 = *(int *)((this->_persistentGameData)._achievements + 0x68); uVar6 = (((((uint)lVar2 >> 0x12 | (int)((ulonglong)lVar2 >> 0x20) * 0x4000) - - *(int *)((this->_persistentGameData)._achievements + 0x14c)) - - *(int *)&(this->_persistentGameData).field_0x24) * 0x1e) / 1000; - if (iVar7 == 0) { + *(int *)((int)this + 0x198)) - *(int *)((int)this + 0x38)) * 0x1e) / 1000; + if (*(int *)((int)this + 0xb4) == 0) { local_5c = 0; iVar7 = -1; } else { - local_5c = *(int *)(iVar7 + 0x30); - dVar9 = floor((double)*(float *)((this->_persistentGameData)._achievements + 0x74)); + local_5c = *(int *)(*(int *)((int)this + 0xb4) + 0x30); + dVar9 = floor((double)*(float *)((int)this + 0xc0)); iVar7 = (int)dVar9; } uVar4 = iVar7 - uVar6; uVar5 = (int)uVar4 >> 0x1f; if ((2 < (int)((uVar4 ^ uVar5) - uVar5)) && ((int)uVar6 < local_5c)) { - iVar7 = ANM2::GetFrame((ANM2 *)((this->_persistentGameData)._achievements + 0x34)); + iVar7 = ANM2::GetFrame((ANM2 *)((int)this + 0x80)); /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"Cutscene: correct anm2 timing: f%d -> f%d\n",iVar7); } - if ((this->_persistentGameData)._achievements[0x13d] != 0) { + if (*(char *)((int)this + 0x189) != '\0') { AnimationState::Update(); AnimationState::Update(); } - if (*(int *)((this->_persistentGameData)._achievements + 0x68) != 0) { - floor((double)*(float *)((this->_persistentGameData)._achievements + 0x74)); + if (*(int *)((int)this + 0xb4) != 0) { + floor((double)*(float *)((int)this + 0xc0)); } FUN_0095f1a0(); - iVar1 = *(int *)((this->_persistentGameData)._achievements + 0x28); + iVar1 = *(int *)((int)this + 0x74); if (iVar7 < iVar1) { - if (*(int *)((this->_persistentGameData)._achievements + 0x68) == 0) { + if (*(int *)((int)this + 0xb4) == 0) { iVar7 = -1; } else { - dVar9 = floor((double)*(float *)((this->_persistentGameData)._achievements + 0x74)); + dVar9 = floor((double)*(float *)((int)this + 0xc0)); iVar7 = (int)dVar9; } if (iVar1 <= iVar7) { @@ -831429,8 +832891,7 @@ void __thiscall Manager::ResizeWindow(Manager *this) else { volume = (g_manager->_optionsConfig)._musicVolume; } - Music::Play((Music *)&g_manager->_musicManager, - *(int *)((this->_persistentGameData)._achievements + 0x24),volume); + Music::Play((Music *)&g_manager->_musicManager,*(int *)((int)this + 0x70),volume); } } } @@ -831454,7 +832915,7 @@ void FUN_0095f900(undefined4 param_1) } AnimationState::Render(param_1,&g_vectorZero,&g_vectorZero); } - FUN_0095f1f0(); + CutscenePart::render_subtitles(); return; } @@ -831554,13 +833015,12 @@ void FUN_0095fac0(void) if (0xf < *(uint *)(in_ECX + 0x54)) { piVar4 = (int *)*piVar4; } - FUN_009f2ee0(piVar4); + VideoPlayer::play(piVar4); pMVar3 = g_manager; if (*(char *)(in_ECX + 0x58) == '\0') { - *(undefined4 *) - ((int)&g_manager->_optionsConfig + *(int *)&g_manager->_musicManager * 0x184 + -0x204) = 0; - *(undefined4 *)((int)&pMVar3->_optionsConfig + *(int *)&pMVar3->_musicManager * 0x184 + -0x200) - = 0x3da3d70a; + (g_manager->_musicManager)._channels[(g_manager->_musicManager)._currentChannel]._targetVolume = + 0.0; + (pMVar3->_musicManager)._channels[(pMVar3->_musicManager)._currentChannel]._fadeRate = 0.08; (pMVar3->_musicManager)._queuedMusicID = 0; } uVar8 = GetTimeNs(); @@ -831630,9 +833090,9 @@ void FUN_0095fcd0(undefined4 *param_1) g_graphicsManager_blendMode[1] = 6; } g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; - FUN_00a62b10(*param_1,param_1[1]); - FUN_0095f1f0(); + g_graphicsManager_blendMode[4] = 7; + VideoPlayer::render(*param_1,param_1[1]); + CutscenePart::render_subtitles(); return; } @@ -831663,11 +833123,13 @@ undefined4 FUN_0095fd40(void) } -//@@ 0095fd70 FUN_0095fd70 +//@@ 0095fd70 Cutscene::TemporaryPart::Init /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? Cutscene::TemporaryPart vtable slot 1 (RTTI); Font::Load font/TeamMeatFont20Bold.fnt and + font/terminus.fnt via ModManager::TryRedirectPath */ -void FUN_0095fd70(void) +void Cutscene::TemporaryPart::Init(void) { Manager *pMVar1; @@ -832040,7 +833502,7 @@ LAB_009603a7: g_graphicsManager_blendMode[2] = 7; local_4c = (ColorMod *)(((int)pFVar9 - (int)local_54) / 0x18); g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; local_30 = 0; local_2c = (undefined4 ******)0xffff; local_28 = 0; @@ -832414,14 +833876,14 @@ Entity_Knife::Init(Entity_Knife *this,undefined4 param_2,undefined4 param_3,unde double dVar1; byte bVar2; byte *pbVar3; - float fVar4; - byte bVar5; + undefined4 uVar4; + float fVar5; + byte bVar6; ANM2 *extraout_EAX; - LayerState *pLVar6; - byte *pbVar7; - int iVar8; + LayerState *pLVar7; + byte *pbVar8; char *pcVar9; - undefined4 uVar10; + int iVar10; byte *pbVar11; ANM2 *pAVar12; uint uVar13; @@ -832488,47 +833950,47 @@ Entity_Knife::Init(Entity_Knife *this,undefined4 param_2,undefined4 param_3,unde local_2c._size = 0; local_2c._capacity = 0xf; local_2c._buf._0_4_ = local_2c._buf._0_4_ & 0xffffff00; - pLVar6 = ANM2::GetLayer(DAT_00c72214,(byte *)0x0); + pLVar7 = ANM2::GetLayer(DAT_00c72214,(byte *)0x0); pAVar12 = DAT_00c72214; - uVar10 = 1; + iVar10 = 1; if ((uVar13 & 4) == 0) { - uVar10 = 6; + iVar10 = 6; } local_34 = DAT_00c72214; - *(undefined4 *)&pLVar6->field_0x78 = 0; - *(undefined4 *)&pLVar6->field_0x7c = uVar10; - *(undefined4 *)&pLVar6->field_0x80 = 1; - *(undefined4 *)&pLVar6->field_0x84 = 1; - *(undefined4 *)&pLVar6->field_0x88 = 1; + pLVar7->_blendMode[0] = 0; + pLVar7->_blendMode[1] = iVar10; + pLVar7->_blendMode[2] = 1; + pLVar7->_blendMode[3] = 1; + pLVar7->_blendMode[4] = 1; pbVar3 = (pAVar12->_animState)._animData; if (pbVar3 != (byte *)0x0) { - pbVar7 = pbVar3; + pbVar8 = pbVar3; if (0xf < *(uint *)(pbVar3 + 0x14)) { - pbVar7 = *(byte **)pbVar3; + pbVar8 = *(byte **)pbVar3; } pbVar11 = s_Idle; do { - bVar5 = *pbVar7; - bVar14 = bVar5 < *pbVar11; - if (bVar5 != *pbVar11) { + bVar6 = *pbVar8; + bVar14 = bVar6 < *pbVar11; + if (bVar6 != *pbVar11) { LAB_00960df0: uVar13 = -(uint)bVar14 | 1; goto LAB_00960df5; } - if (bVar5 == 0) break; - bVar5 = pbVar7[1]; - bVar14 = bVar5 < pbVar11[1]; - if (bVar5 != pbVar11[1]) goto LAB_00960df0; - pbVar7 = pbVar7 + 2; + if (bVar6 == 0) break; + bVar6 = pbVar8[1]; + bVar14 = bVar6 < pbVar11[1]; + if (bVar6 != pbVar11[1]) goto LAB_00960df0; + pbVar8 = pbVar8 + 2; pbVar11 = pbVar11 + 2; - } while (bVar5 != 0); + } while (bVar6 != 0); uVar13 = 0; LAB_00960df5: if ((uVar13 == 0) && ((pbVar3[0x34] == 0 || ((pAVar12->_animState)._isPlaying != 0)))) goto LAB_00960e29; } - bVar5 = ANM2::SetAnimation(pAVar12,s_Idle,1); - if (bVar5 != 0) { + bVar6 = ANM2::SetAnimation(pAVar12,s_Idle,1); + if (bVar6 != 0) { AnimationState::Rewind(&pAVar12->_animState); (pAVar12->_animState)._isPlaying = 1; } @@ -832543,35 +834005,35 @@ LAB_00960e29: } pbVar3 = (this->_sprite)._animState._animData; if (pbVar3 != (byte *)0x0) { - pbVar7 = pbVar3; + pbVar8 = pbVar3; pAVar12 = local_34; if (0xf < *(uint *)(pbVar3 + 0x14)) { - pbVar7 = *(byte **)pbVar3; + pbVar8 = *(byte **)pbVar3; } do { - bVar5 = *pbVar7; + bVar6 = *pbVar8; bVar2 = (pAVar12->_filename)._buf[0]; - bVar14 = bVar5 < bVar2; - if (bVar5 != bVar2) { + bVar14 = bVar6 < bVar2; + if (bVar6 != bVar2) { LAB_00960ea0: uVar13 = -(uint)bVar14 | 1; goto LAB_00960ea5; } - if (bVar5 == 0) break; - bVar5 = pbVar7[1]; + if (bVar6 == 0) break; + bVar6 = pbVar8[1]; bVar2 = (pAVar12->_filename)._buf[1]; - bVar14 = bVar5 < bVar2; - if (bVar5 != bVar2) goto LAB_00960ea0; - pbVar7 = pbVar7 + 2; + bVar14 = bVar6 < bVar2; + if (bVar6 != bVar2) goto LAB_00960ea0; + pbVar8 = pbVar8 + 2; pAVar12 = (ANM2 *)((pAVar12->_filename)._buf + 2); - } while (bVar5 != 0); + } while (bVar6 != 0); uVar13 = 0; LAB_00960ea5: if ((uVar13 == 0) && ((pbVar3[0x34] == 0 || ((this->_sprite)._animState._isPlaying != 0)))) goto LAB_00960eda; } - bVar5 = ANM2::SetAnimation(&this->_sprite,(byte *)local_34,1); - if (bVar5 != 0) { + bVar6 = ANM2::SetAnimation(&this->_sprite,(byte *)local_34,1); + if (bVar6 != 0) { AnimationState::Rewind(&(this->_sprite)._animState); (this->_sprite)._animState._isPlaying = 1; } @@ -832601,7 +834063,7 @@ LAB_00960eda: this->_multidimensionalApplied = 0; this->_isUsingParentHitList = 0; this->_pathSegment = 0; - iVar8 = Random(); + iVar10 = Random(); this->_pathProgress = -100.0; this->_pathFollowSpeed = 0.1; this->_height = 0.0; @@ -832610,7 +834072,7 @@ LAB_00960eda: *(undefined2 *)&this->_isSwinging = 0; *(undefined2 *)&this->field_0x4e8 = 0; this->_isSpinAttack = 0; - dVar1 = __uint_to_double_fixup[-(iVar8 >> 0x1f)]; + dVar1 = __uint_to_double_fixup[-(iVar10 >> 0x1f)]; *(undefined1 **)&this[1]._pendingDamageFlags = &DAT_bf800000; *(undefined4 *)(this + 1) = 0; *(undefined2 *)&this[1].field_0x4 = 0; @@ -832619,24 +834081,24 @@ LAB_00960eda: this[1]._damageEvents._begin = (void *)0x0; this[1]._damageEvents._end = (void *)0x0; *(undefined4 *)((int)&this[1]._pendingDamageFlags + 4) = 0; - this->_pathOffset = (float)((double)iVar8 + dVar1) * 2.3283064e-10 * 50.0 - 25.0; + this->_pathOffset = (float)((double)iVar10 + dVar1) * 2.3283064e-10 * 50.0 - 25.0; this[1]._index = (int)g_vectorZero.x; - fVar4 = g_vectorZero.y; + fVar5 = g_vectorZero.y; *(uint *)&this->_flags = (uint)this->_flags | 0x4000000; this->_isPrimaryClub = 0; this[1]._variant = 0; - uVar10 = *(undefined4 *)((int)&this->_flags + 4); - this[1]._collisionIndex = (int)fVar4; - *(undefined4 *)((int)&this->_flags + 4) = uVar10; + uVar4 = *(undefined4 *)((int)&this->_flags + 4); + this[1]._collisionIndex = (int)fVar5; + *(undefined4 *)((int)&this->_flags + 4) = uVar4; this[1]._type = (int)&DAT_bf800000; (this->_hitList)._end = (this->_hitList)._begin; - iVar8 = this->_variant; - switch(iVar8) { + iVar10 = this->_variant; + switch(iVar10) { case 5: goto LAB_00961187; default: - if (iVar8 != 1) { - if (iVar8 != 10) goto LAB_00961187; + if (iVar10 != 1) { + if (iVar10 != 10) goto LAB_00961187; goto code_r0x00961110; } case 2: @@ -832645,23 +834107,23 @@ LAB_00960eda: case 8: case 9: local_2d = this->_subtype != 4; - pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - pLVar6->_visible = local_2d; + pLVar7 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + pLVar7->_visible = local_2d; local_2d = this->_subtype == 4; - pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); + pLVar7 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); break; case 0xb: code_r0x00961110: local_2d = this->_subtype != 4; - pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - pLVar6->_visible = local_2d; + pLVar7 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + pLVar7->_visible = local_2d; local_2d = this->_subtype == 4; - pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); - pLVar6->_visible = local_2d; + pLVar7 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); + pLVar7->_visible = local_2d; local_2d = this->_subtype == 4; - pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x2); + pLVar7 = ANM2::GetLayer(&this->_sprite,(byte *)0x2); } - pLVar6->_visible = local_2d; + pLVar7->_visible = local_2d; LAB_00961187: LuaEngine::PostKnifeInit(this); ExceptionList = local_10; @@ -833094,9 +834556,6 @@ void __thiscall Entity_Knife::Update(Entity_Knife *this) Entity_Knife *local_160; EntityPtr local_15c; RNG local_158; - uint uStack_154; - EntityPtr EStack_150; - EntityPtr EStack_14c; float local_140; EntityPtr local_13c; EntityPtr local_138; @@ -833109,8 +834568,8 @@ void __thiscall Entity_Knife::Update(Entity_Knife *this) EntityPtr local_114; EntityPtr local_108; EntityPtr local_104; - RNG local_100 [2]; - Vector local_f8; + undefined1 local_100 [12]; + EntityPtr local_f4 [2]; EntityPtr local_ec; Vector local_e8; EntityPtr local_e0; @@ -833192,9 +834651,9 @@ LAB_009652a6: if ((this_00 == (Entity_Player *)0x0) || (bVar10 = Entity_Player::HasCollectible(this_00,0x3b,0), bVar10 == 0)) { pLVar13 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - *(undefined4 *)&pLVar13->field_0x68 = 0; - *(undefined4 *)&pLVar13->field_0x6c = 0; - *(undefined4 *)&pLVar13->field_0x70 = 0; + (pLVar13->_color)._offset[0] = 0.0; + (pLVar13->_color)._offset[1] = 0.0; + (pLVar13->_color)._offset[2] = 0.0; } else { local_104 = (EntityPtr)((float)g_game->_frameCount * 0.2); @@ -833208,9 +834667,9 @@ LAB_009652a6: sin(); local_104 = (EntityPtr)(fVar27 * 0.25 + 0.25); pLVar13 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - *(EntityPtr *)&pLVar13->field_0x68 = local_11c; - *(float *)&pLVar13->field_0x6c = local_e8.y; - *(EntityPtr *)&pLVar13->field_0x70 = local_104; + (pLVar13->_color)._offset[0] = (float)local_11c; + *(float *)((pLVar13->_color)._offset + 1) = local_e8.y; + *(EntityPtr *)((pLVar13->_color)._offset + 2) = local_104; } } local_13c = (EntityPtr)&this->_tearFlags; @@ -833341,23 +834800,25 @@ LAB_00961f49: EVar15 = local_138; local_11c = (EntityPtr)((float)local_11c * 10.0); local_104 = (EntityPtr)((float)local_104 * 10.0); - local_f8.x = (float)local_11c; - local_f8.y = (float)local_104; + local_100._8_4_ = local_11c; + local_f4[0] = local_104; if (local_138 != (EntityPtr)0x0) { Entity_Player::GetTearMovementInheritance - ((Entity_Player *)local_138,&local_e8,&local_f8,0); - local_f8.x = ((float)local_11c + *extraout_EAX) * *(float *)((int)EVar15 + 0x1464); - local_f8.y = ((float)local_104 + extraout_EAX[1]) * *(float *)((int)EVar15 + 0x1464) - ; + ((Entity_Player *)local_138,&local_e8,(Vector *)(local_100 + 8),0); + local_100._8_4_ = + ((float)local_11c + *extraout_EAX) * *(float *)((int)EVar15 + 0x1464); + local_f4[0] = (EntityPtr) + (((float)local_104 + extraout_EAX[1]) * + *(float *)((int)EVar15 + 0x1464)); } if (this->_isSpinAttack != 0) { - local_f8.x = local_f8.x + local_f8.x; - local_f8.y = local_f8.y + local_f8.y; + local_100._8_4_ = (float)local_100._8_4_ + (float)local_100._8_4_; + local_f4[0] = (EntityPtr)((float)local_f4[0] + (float)local_f4[0]); } iVar18 = this->_variant; uVar17 = Random(); this_01 = (Entity_Tear *) - Game::Spawn(2,(iVar18 == 0xb) * '\x02' + '/',&this->_pos,&local_f8, + Game::Spawn(2,(iVar18 == 0xb) * '\x02' + '/',&this->_pos,local_100 + 8, this->_spawnerEntity,0,uVar17); if (local_138 != (EntityPtr)0x0) { this_01->_fallingAccel = *(float *)((int)local_138 + 0x147c); @@ -833429,8 +834890,8 @@ LAB_00961f49: local_11c = EVar28; cos(); bVar10 = 0; - local_f8.y = (float)local_11c; - local_f8.x = (float)EVar24; + local_f4[0] = local_11c; + local_100._8_4_ = EVar24; iVar18 = vector_to_direction(); if (*(char *)&((Vector *)((int)EVar15 + 0x4e8))->x == '\0') { anim = (&PTR_s_IdleLeft_00b61560)[iVar18]; @@ -833477,9 +834938,9 @@ LAB_00961f49: local_e8.y = *(float *)((int)local_15c + 0x33c); local_104 = *(EntityPtr *)((int)local_15c + 0x340); EVar28 = (EntityPtr)(this->_displayRotation * 0.017453292); - local_f8.y = (float)EVar28; + local_f4[0] = EVar28; sin(); - EVar24 = (EntityPtr)local_f8.y; + EVar24 = local_f4[0]; local_11c = EVar28; cos(); (this->_pos).x = local_e8.y + (float)EVar24 * local_12c; @@ -833656,10 +835117,10 @@ LAB_00962723: pEVar23 = (EntityPtr *)&local_e8.y; } EVar24 = *pEVar23; - local_f8.y = (float)local_11c / (float)EVar24; - local_f8.x = local_e8.y / (float)EVar24; + local_f4[0] = (EntityPtr)((float)local_11c / (float)EVar24); + local_100._8_4_ = local_e8.y / (float)EVar24; Entity::SetSize((Entity *)this,(float)EVar24 * *(float *)((int)this->_config + 0x38), - local_f8.x,local_f8.y,0xffffffff); + local_100._8_4_,local_f4[0],0xffffffff); } fVar27 = (this->_pos).y - *(float *)((int)local_15c + 0x340); atan2f(); @@ -833712,7 +835173,7 @@ LAB_00961f38: ((float)local_11c * (float)local_114 + (this->_anchorPosition).x); local_130 = (EntityPtr)(fVar27 + (this->_anchorPosition).y); local_e0 = (EntityPtr)((this->_pos).x - (float)local_114); - local_f8.y = (this->_pos).y - (float)local_130; + local_f4[0] = (EntityPtr)((this->_pos).y - (float)local_130); EVar24 = (EntityPtr)(*(float *)((int)local_104 + 0x508) * 0.017453292); local_11c = EVar24; cos(); @@ -833721,18 +835182,18 @@ LAB_00961f38: sin(); local_114 = (EntityPtr) ((float)local_114 + - (local_e8.y * (float)local_e0 - (float)EVar15 * local_f8.y)); + (local_e8.y * (float)local_e0 - (float)EVar15 * (float)local_f4[0])); local_130 = (EntityPtr) ((float)local_130 + - local_e8.y * local_f8.y + (float)EVar15 * (float)local_e0); + local_e8.y * (float)local_f4[0] + (float)EVar15 * (float)local_e0); (this->_pos).x = (float)local_114; (this->_pos).y = (float)local_130; local_ec = (EntityPtr)((float)local_ec + *(float *)((int)local_104 + 0x508)); EVar24 = (EntityPtr)((float)local_ec * 0.017453292); - local_f8.y = (float)EVar24; + local_f4[0] = EVar24; local_e0 = local_ec; cos(); - EVar15 = (EntityPtr)local_f8.y; + EVar15 = local_f4[0]; local_11c = EVar24; sin(); fVar27 = *(float *)((int)local_104 + 0x50c); @@ -833792,16 +835253,16 @@ LAB_00961f38: EVar24 = local_ec; } EVar24 = (EntityPtr)((float)EVar24 * 0.017453292); - local_f8.y = (float)EVar24; + local_f4[0] = EVar24; sin(); local_114 = EVar24; cos(); local_130 = (EntityPtr)this->_knifeDistance; EVar28 = (EntityPtr)(((float)local_130 * 3.0 + (float)local_104) * 0.017453292); - local_e0 = (EntityPtr)local_f8.y; - local_f8.y = (float)EVar28; + local_e0 = local_f4[0]; + local_f4[0] = EVar28; cos(); - EVar24 = (EntityPtr)local_f8.y; + EVar24 = local_f4[0]; local_e8.y = (float)EVar28; sin(); fVar27 = (float)local_130 * 0.5; @@ -833833,17 +835294,17 @@ LAB_00961f38: EVar24 = local_ec; } EVar24 = (EntityPtr)((float)EVar24 * 0.017453292); - local_f8.y = (float)EVar24; + local_f4[0] = EVar24; sin(); local_114 = EVar24; cos(); local_130 = (EntityPtr)this->_knifeDistance; EVar28 = (EntityPtr) (((float)local_130 + (float)local_130 + (float)local_104) * 0.017453292); - local_e0 = (EntityPtr)local_f8.y; - local_f8.y = (float)EVar28; + local_e0 = local_f4[0]; + local_f4[0] = EVar28; cos(); - EVar24 = (EntityPtr)local_f8.y; + EVar24 = local_f4[0]; local_e8.y = (float)EVar28; sin(); fVar27 = (float)local_130 * 0.5; @@ -833869,26 +835330,28 @@ LAB_00961f38: if (cVar11 != '\0') { pEVar20 = (Entity_Knife *)GetRootParent(this); if (pEVar20 != this) { - RNG::game_constructor(local_100,this->_initSeed,0x23); + RNG::game_constructor((RNG *)local_100,this->_initSeed,0x23); fVar27 = RNG::RandomFloat(this_04); EVar24 = (EntityPtr)(fVar27 * 120.0); } EVar28 = (EntityPtr)((float)local_ec * 0.017453292); - local_f8.y = (float)EVar28; + local_f4[0] = EVar28; local_e8.y = (float)EVar24; sin(); - EVar24 = (EntityPtr)local_f8.y; + EVar24 = local_f4[0]; local_114 = EVar28; cos(); EVar28 = (EntityPtr)0x3fc90fdb; local_e0 = EVar24; cos(); fVar27 = 1.5707964; - local_f8.y = (float)EVar28; + local_f4[0] = EVar28; sin(); - local_130 = (EntityPtr)(fVar27 * (float)local_e0 + local_f8.y * (float)local_114); + local_130 = (EntityPtr) + (fVar27 * (float)local_e0 + (float)local_f4[0] * (float)local_114); fVar34 = local_e8.y + this->_knifeDistance; - local_104 = (EntityPtr)(local_f8.y * (float)local_e0 - fVar27 * (float)local_114); + local_104 = (EntityPtr) + ((float)local_f4[0] * (float)local_e0 - fVar27 * (float)local_114); fmodf(); if (40.0 <= fVar34) { if (60.0 <= fVar34) { @@ -833934,9 +835397,9 @@ LAB_0096357e: local_104 = *(EntityPtr *)((int)this->_parent + 0x33c); local_e0 = *(EntityPtr *)((int)this->_parent + 0x340); EVar24 = (EntityPtr)(this->_rotation * 0.017453292); - local_f8.y = (float)EVar24; + local_f4[0] = EVar24; sin(); - EVar15 = (EntityPtr)local_f8.y; + EVar15 = local_f4[0]; local_e8.y = (float)EVar24; cos(); local_118 = (float)local_104 + (float)EVar15 * 30.0; @@ -833963,13 +835426,13 @@ LAB_0096357e: ((float)((double)iVar18 + __uint_to_double_fixup[-(iVar18 >> 0x1f)]) * 2.3283064e-10 * 50.0 - 25.0); EVar24 = (EntityPtr)(this->_rotation * 0.017453292); - local_f8.y = (float)EVar24; + local_f4[0] = EVar24; sin(); - EVar15 = (EntityPtr)local_f8.y; + EVar15 = local_f4[0]; local_e8.y = (float)EVar24; cos(); - local_f8.y = local_e8.y; - local_f8.x = (float)EVar15; + local_f4[0] = (EntityPtr)local_e8.y; + local_100._8_4_ = EVar15; InitHomingPath((Entity_Knife *)local_104,EVar15,local_e8.y,this); *(float *)((int)local_104 + 0xe4) = (this->_sprite)._scale.x; *(float *)((int)local_104 + 0xe8) = (this->_sprite)._scale.y; @@ -834009,9 +835472,9 @@ LAB_00963b53: local_e8.y = (float)ANM2::GetLayerFrame(&this->_sprite,0); if ((EntityPtr)local_e8.y != (EntityPtr)0x0) { EVar24 = (EntityPtr)((this->_sprite)._rotation * 0.017453292); - local_f8.y = (float)EVar24; + local_f4[0] = EVar24; cos(); - EVar15 = (EntityPtr)local_f8.y; + EVar15 = local_f4[0]; local_11c = EVar24; sin(); this->_knifeDepthOffset = @@ -834030,7 +835493,7 @@ LAB_00963c34: (uVar12 = Random(), (uVar12 & 1) == 0)))) { local_e8.x = (this->_pos).x; local_e8.y = (this->_pos).y; - pfVar16 = (float *)Room::GetClampedPosition(&local_f8,&local_e8,0x41700000); + pfVar16 = (float *)Room::GetClampedPosition(local_100 + 8,&local_e8,0x41700000); local_e8.x = *pfVar16; local_e8.y = *(float *)(pfVar16 + 1); uVar17 = Random(); @@ -834090,9 +835553,9 @@ LAB_00963c34: EntityList::QueryRadius(&local_158,&this->_pos,8); local_14 = 1; local_e8.y = 0.0; - if (EStack_14c != (EntityPtr)0x0) { + if ((EntityPtr)local_158._shift3 != (EntityPtr)0x0) { do { - EVar15 = *(EntityPtr *)(uStack_154 + (int)local_e8.y * 4); + EVar15 = *(EntityPtr *)(local_158._shift1 + (int)local_e8.y * 4); cVar11 = Entity::IsVulnerableEnemy((Entity *)EVar15,0); if (cVar11 != '\0') { fVar27 = (this->_pos).x - ((Vector *)((int)EVar15 + 0x33c))->x; @@ -834106,14 +835569,14 @@ LAB_00963c34: } } local_e8.y = (float)((int)local_e8.y + 1); - } while ((uint)local_e8.y < (uint)EStack_14c); + } while ((uint)local_e8.y < (uint)local_158._shift3); } Entity::SetTarget((Entity *)this,local_104); EntityList_Query::~EntityList_Query(); } else { - local_f8.x = (this->_pos).x - ((Vector *)((int)EVar15 + 0x33c))->x; - local_f8.y = (this->_pos).y - *(float *)((int)EVar15 + 0x340); + local_100._8_4_ = (this->_pos).x - ((Vector *)((int)EVar15 + 0x33c))->x; + local_f4[0] = (EntityPtr)((this->_pos).y - *(float *)((int)EVar15 + 0x340)); pfVar16 = (float *)Vector::Normalized(&local_120); fVar27 = pfVar16[1]; EVar15 = this->_target; @@ -834135,10 +835598,10 @@ LAB_00963c34: fVar34 = (this->_velocity).x; fVar27 = fVar34 * fVar34 + fVar27 * fVar27; sqrtf(); - local_f8.y = fVar27 * 0.5; + local_f4[0] = (EntityPtr)(fVar27 * 0.5); local_11c = (EntityPtr)0x41f00000; - pEVar23 = (EntityPtr *)&local_f8.y; - if (30.0 <= local_f8.y) { + pEVar23 = local_f4; + if (30.0 <= (float)local_f4[0]) { pEVar23 = &local_11c; } fVar27 = (float)g_game->_frameCount * 0.4; @@ -834154,21 +835617,21 @@ LAB_00963c34: (this->_pos).y = pfVar16[1]; } EVar15 = (EntityPtr)0x0; - uStack_154 = 0; + local_158._shift1 = 0; local_114 = (EntityPtr)0x0; - EStack_150 = (EntityPtr)0x0; - EStack_14c = (EntityPtr)0x0; + local_158._shift2 = 0; + local_158._shift3 = 0; local_14 = 2; local_104 = this->_child; if (local_104 != (EntityPtr)0x0) { do { - if (EStack_150 == EVar15) { - std::vector::_Emplace_reallocate(EStack_150,&local_104); - EVar15 = EStack_14c; + if ((EntityPtr)local_158._shift2 == EVar15) { + std::vector::_Emplace_reallocate(local_158._shift2,&local_104); + EVar15 = (EntityPtr)local_158._shift3; } else { - *(EntityPtr *)EStack_150 = local_104; - EStack_150 = (EntityPtr)((int)EStack_150 + 4); + *(EntityPtr *)local_158._shift2 = local_104; + local_158._shift2 = local_158._shift2 + 4; } local_104 = *(EntityPtr *)((int)local_104 + 0x3c0); } while (local_104 != (EntityPtr)0x0); @@ -834179,13 +835642,13 @@ LAB_00963c34: if (this->_isInterpolating != 0) { local_e0 = (EntityPtr)((float)local_e0 + 0.5); } - iVar18 = (int)EStack_150 - uStack_154; + iVar18 = local_158._shift2 - local_158._shift1; local_e8.y = 0.0; EVar15 = (EntityPtr)(iVar18 >> 2); if (EVar15 != (EntityPtr)0x0) { local_12c = (float)local_e0 * 6.0; do { - local_164 = *(EntityPtr *)(uStack_154 + (int)local_e8.y * 4); + local_164 = *(EntityPtr *)(local_158._shift1 + (int)local_e8.y * 4); ((Vector *)((int)local_164 + 0x360))->x = (this->_velocity).x; *(float *)((int)local_164 + 0x364) = (this->_velocity).y; local_104 = (EntityPtr)(this->_size * 5.0); @@ -834204,9 +835667,9 @@ LAB_00963c34: EVar24 = local_11c; } EVar24 = (EntityPtr)((float)EVar24 * 0.017453292); - local_f8.y = (float)EVar24; + local_f4[0] = EVar24; sin(); - EVar28 = (EntityPtr)local_f8.y; + EVar28 = local_f4[0]; local_15c = EVar24; cos(); fVar27 = (this->_pos).y; @@ -834242,8 +835705,8 @@ LAB_00963c34: } while ((uint)local_e8.y < (uint)EVar15); } local_14 = 0xffffffff; - if (uStack_154 != 0) { - deallocate(uStack_154,(int)((int)local_114 - uStack_154) >> 2); + if (local_158._shift1 != 0) { + deallocate(local_158._shift1,(int)local_114 - local_158._shift1 >> 2); } } if ((this->_isFlying != 0) && @@ -834257,26 +835720,26 @@ LAB_00963c34: fVar27 = fVar27 + fVar34; this->_height = fVar27; if (this->_knifeVelocity <= 0.0) { - local_f8.y = fVar27 * -0.1; - pfVar16 = &local_f8.y; + local_f4[0] = (EntityPtr)(fVar27 * -0.1); + pEVar23 = local_f4; if (fVar27 * -0.1 < fVar34) { - pfVar16 = &this->_fallingSpeed; + pEVar23 = (EntityPtr *)&this->_fallingSpeed; } - fVar34 = *pfVar16; + EVar24 = *pEVar23; } else { - fVar34 = fVar34 + 1.5; + EVar24 = (EntityPtr)(fVar34 + 1.5); } - this->_fallingSpeed = fVar34; + this->_fallingSpeed = (float)EVar24; if (0.0 <= fVar27) { this->_height = 0.0; - if ((this->_knifeVelocity <= 0.0) || (fVar34 <= 0.5)) { - fVar34 = 0.0; + if ((this->_knifeVelocity <= 0.0) || ((float)EVar24 <= 0.5)) { + fVar27 = 0.0; } else { - fVar34 = fVar34 * -0.8; + fVar27 = (float)EVar24 * -0.8; } - *(float *)EVar15 = fVar34; + *(float *)EVar15 = fVar27; uVar17 = Random(); piVar14 = (int *)Game::Spawn(1000,0xe,&this->_pos,&g_vectorZero,0,0,uVar17); fVar27 = g_vectorOne.y * 0.75; @@ -834297,7 +835760,7 @@ LAB_00963c34: } (this->_posOffset).y = fVar27 + this->_basePosOffsetY; if ((local_db == '\0') && (local_da == '\0')) { - local_f8.y = this->_knifeVelocity; + local_f4[0] = (EntityPtr)this->_knifeVelocity; EVar15 = (EntityPtr)((uint)*(float *)EVar15 ^ 0x80000000); atan2f(); fVar27 = (this->_sprite)._rotation * 0.017453292; @@ -834305,7 +835768,7 @@ LAB_00963c34: sin(); (this->_sprite)._rotation = (float)local_13c * 57.295776 * fVar27 + (this->_sprite)._rotation; - if (local_f8.y < 0.0) { + if ((float)local_f4[0] < 0.0) { pLVar13 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); local_d9 = pLVar13->_flipX == 0; pLVar13 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); @@ -834340,12 +835803,12 @@ LAB_00963c34: fVar27 = this[1]._pendingDamage; local_d9 = 0; if (fVar27 == 0.0) { - local_f8.x = *(float *)((int)local_138 + 0x33c); - local_f8.y = *(float *)((int)local_138 + 0x340); + local_100._8_4_ = *(EntityPtr *)((int)local_138 + 0x33c); + local_f4[0] = *(EntityPtr *)((int)local_138 + 0x340); local_140 = ((Vector *)((int)local_138 + 0x34c))->x + 0.0; local_13c = (EntityPtr)(*(float *)((int)local_138 + 0x350) - 8.0); piVar14 = (int *)Entity_Laser::ShootAngle - (2,&local_f8,0,0xffffffff,&local_140,local_138,0); + (2,local_100 + 8,0,0xffffffff,&local_140,local_138,0); BitSet128::operator_or(&DAT_00c348c0,&DAT_00c348a0,&DAT_00c348e0,&DAT_00c34b60); BitSet128::operator_or(); BitSet128::operator_or(); @@ -834496,22 +835959,23 @@ LAB_00964bdf: fVar31 * *(float *)((int)pvVar4 + (int)local_114 * 0x18 + 4) + fVar27 * *(float *)((int)pvVar4 + (int)local_114 * 0x18 + 0x14) + fVar32 * *(float *)((int)pvVar4 + (int)local_114 * 0x18 + 0x24)); - local_f8.y = fVar31 * *(float *)((int)pvVar4 + (int)local_114 * 0x18) + - fVar27 * *(float *)((int)pvVar4 + (int)local_114 * 0x18 + 0x10) + - fVar32 * *(float *)((int)pvVar4 + (int)local_114 * 0x18 + 0x20) + - fVar36 * *(float *)((int)pvVar4 + (int)local_114 * 0x18 + 0x18); + local_f4[0] = (EntityPtr) + (fVar31 * *(float *)((int)pvVar4 + (int)local_114 * 0x18) + + fVar27 * *(float *)((int)pvVar4 + (int)local_114 * 0x18 + 0x10) + + fVar32 * *(float *)((int)pvVar4 + (int)local_114 * 0x18 + 0x20) + + fVar36 * *(float *)((int)pvVar4 + (int)local_114 * 0x18 + 0x18)); local_13c = (EntityPtr)((float)local_e0 - (float)local_164); - local_140 = local_f8.y - + local_140 = (float)local_f4[0] - (fVar33 * *(float *)((int)pvVar4 + (int)local_114 * 0x18 + 0x20) + fVar34 * *(float *)((int)pvVar4 + (int)local_114 * 0x18 + 0x10) + fVar30 * *(float *)((int)pvVar4 + (int)local_114 * 0x18) + fVar35 * *(float *)((int)pvVar4 + (int)local_114 * 0x18 + 0x18)); Vector::Normalized(&local_120); uVar38 = 0; - local_140 = ((float)local_11c * this->_pathOffset + local_f8.y) - (this->_pos).x; + local_140 = ((float)local_11c * this->_pathOffset + (float)local_f4[0]) - (this->_pos).x; local_13c = (EntityPtr)((-local_120 * this->_pathOffset + (float)local_e0) - (this->_pos).y) ; - uVar17 = Vector::Resized(&local_f8,0x41000000); + uVar17 = Vector::Resized(local_100 + 8,0x41000000); Entity::AddVelocity((Entity *)this,uVar17,uVar38); fVar27 = this->_fallingSpeed + (this->_velocity).y; atan2f(); @@ -834561,25 +836025,25 @@ LAB_00964bdf: ((float)((double)iVar18 + __uint_to_double_fixup[-(iVar18 >> 0x1f)]) * 2.3283064e-10 * 50.0 - 25.0); pEVar23 = (EntityPtr *)Vector::Normalized(&local_120); - local_f8.x = *(float *)pEVar23; - local_f8.y = *(float *)(pEVar23 + 1); - InitHomingPath(this,local_f8.x,local_f8.y,uVar17); + local_100._8_4_ = *pEVar23; + local_f4[0] = pEVar23[1]; + InitHomingPath(this,local_100._8_4_,local_f4[0],uVar17); } } if (300 < g_game->_frameCount - this->_spawnFrame) goto LAB_009652a2; } else if (iVar18 == 3) { local_13c = *(EntityPtr *)((int)EVar15 + 0x33c); - local_f8.y = *(float *)((int)EVar15 + 0x340); + local_f4[0] = *(EntityPtr *)((int)EVar15 + 0x340); local_108 = (EntityPtr)((float)local_13c - (this->_pos).x); - local_11c = (EntityPtr)(local_f8.y - (this->_pos).y); + local_11c = (EntityPtr)((float)local_f4[0] - (this->_pos).y); local_104 = local_11c; local_e8.y = (float)local_108; if (900.0 < (float)local_108 * (float)local_108 + (float)local_11c * (float)local_11c) { pfVar16 = (float *)Vector::Resized(local_168,0x41f00000); fVar27 = pfVar16[1]; (this->_pos).x = (float)local_13c - *pfVar16; - (this->_pos).y = local_f8.y - fVar27; + (this->_pos).y = (float)local_f4[0] - fVar27; } EVar15 = local_11c; atan2f(); @@ -834598,7 +836062,7 @@ LAB_00964bdf: if (EVar15 == (EntityPtr)0x0) goto LAB_009652a2; } fVar27 = 0.017453292; - local_f8.y = *(float *)((int)EVar15 + 0x33c); + local_f4[0] = *(EntityPtr *)((int)EVar15 + 0x33c); local_164 = *(EntityPtr *)((int)EVar15 + 0x340); BitSet128::operator_and(&DAT_00c34b40); cVar11 = BitSet128::IsZero(); @@ -834617,10 +836081,10 @@ LAB_00964bdf: local_13c = EVar24; sin(); EVar15 = local_13c; - local_f8.y = (float)EVar24; + local_f4[0] = EVar24; cos(); (this->_velocity).x = (float)EVar15 * 16.0; - (this->_velocity).y = local_f8.y * 16.0; + (this->_velocity).y = (float)local_f4[0] * 16.0; } } } @@ -834634,7 +836098,8 @@ LAB_00964bdf: local_13c = EVar15; cos(); fVar27 = (this->_targetPosition).x; - fVar34 = ((local_f8.y + (float)EVar24 * fVar27) - (this->_pos).x) / this->_friction; + fVar34 = (((float)local_f4[0] + (float)EVar24 * fVar27) - (this->_pos).x) / + this->_friction; fVar27 = (((float)local_164 + fVar27 * (float)local_13c) - (this->_pos).y) / this->_friction; } @@ -834656,9 +836121,9 @@ LAB_00964bdf: local_13c = EVar24; cos(); EVar15 = local_13c; - local_f8.y = (float)EVar24; + local_f4[0] = EVar24; sin(); - this->_knifeDepthOffset = local_f8.y * pfVar16[1] + (float)EVar15 * *pfVar16; + this->_knifeDepthOffset = (float)local_f4[0] * pfVar16[1] + (float)EVar15 * *pfVar16; } } if ((this->_isSwinging == 0) && @@ -834741,16 +836206,16 @@ LAB_009658e1: local_11c = EVar15; if (((EVar15 != (EntityPtr)0x0) && (*(float *)((int)EVar15 + 0x3c) != 1.4013e-45)) && ((*(float *)((int)EVar15 + 0x3c) != 0.0 && (uVar12 = Random(), (uVar12 & 3) == 0)))) { - local_158 = *(RNG *)&(this->_tearFlags)._l; - uStack_154 = *(uint *)((int)&(this->_tearFlags)._l + 4); - EStack_150 = *(EntityPtr *)&(this->_tearFlags)._h; - EStack_14c = *(EntityPtr *)((int)&(this->_tearFlags)._h + 4); + local_158._seed = (int)(this->_tearFlags)._l; + local_158._shift1 = *(uint *)((int)&(this->_tearFlags)._l + 4); + local_158._shift2 = *(int *)&(this->_tearFlags)._h; + local_158._shift3 = *(int *)((int)&(this->_tearFlags)._h + 4); if (local_138 != (EntityPtr)0x0) { iVar18 = Entity_Player::GetTearHitParams(local_d8,4,0x3f800000,0,this->_spawnerEntity); - local_158 = (RNG)((uint)local_158 | *(uint *)(iVar18 + 0x38)); - uStack_154 = uStack_154 | *(uint *)(iVar18 + 0x3c); - EStack_150 = (EntityPtr)((uint)EStack_150 | *(uint *)(iVar18 + 0x40)); - EStack_14c = (EntityPtr)((uint)EStack_14c | *(uint *)(iVar18 + 0x44)); + local_158._seed = local_158._seed | *(uint *)(iVar18 + 0x38); + local_158._shift1 = local_158._shift1 | *(uint *)(iVar18 + 0x3c); + local_158._shift2 = local_158._shift2 | *(uint *)(iVar18 + 0x40); + local_158._shift3 = local_158._shift3 | *(uint *)(iVar18 + 0x44); } uVar17 = BitSet128::operator_or(&DAT_00c34980); BitSet128::operator_and(uVar17); @@ -834765,18 +836230,18 @@ LAB_009658e1: local_13c = EVar24; cos(); EVar15 = local_13c; - local_f8.x = (float)EVar24; + local_100._8_4_ = EVar24; sin(); - local_f8.y = (float)EVar15; + local_f4[0] = EVar15; Vector::ToCardinal(); cVar11 = Vector::operator_ne(&g_vectorZero); EVar15 = local_11c; if (cVar11 != '\0') { pfVar16 = (float *)GridEntity::Position((GridEntity *)local_11c,&local_e8); - local_f8.x = local_140 * 40.0 + *pfVar16; - local_f8.y = (float)local_13c * 40.0 + pfVar16[1]; + local_100._8_4_ = local_140 * 40.0 + *pfVar16; + local_f4[0] = (EntityPtr)((float)local_13c * 40.0 + pfVar16[1]); local_11c = (EntityPtr)g_game->_room; - iVar18 = Room::GetGridIndex((Room *)local_11c,&local_f8); + iVar18 = Room::GetGridIndex((Room *)local_11c,local_100 + 8); if (-1 < iVar18) { if (iVar18 < 0x1c0) { Room::TryMakeBridge((Room *)local_11c, @@ -839024,18 +840489,18 @@ Entity_Laser::impact_tear_flag_effects(Entity_Laser *this,float *param_2,float * EntityPtr *pEVar1; uint *puVar2; qword *pqVar3; - code *pcVar4; - longlong lVar5; + void *pvVar4; + code *pcVar5; longlong lVar6; longlong lVar7; + longlong lVar8; BitSet128 flags; - Manager *pMVar8; - byte bVar9; - char cVar10; - int iVar11; - float fVar12; - Entity *pEVar13; - float *pfVar14; + Manager *pMVar9; + byte bVar10; + char cVar11; + int iVar12; + float fVar13; + Entity *pEVar14; undefined4 uVar15; Entity_Tear *this_00; int *piVar16; @@ -839077,7 +840542,7 @@ Entity_Laser::impact_tear_flag_effects(Entity_Laser *this,float *param_2,float * EntityPtr *pEStack_148; float fStack_144; undefined4 uStack_140; - float local_13c; + void *local_13c; uint uStack_138; float fStack_134; undefined8 uStack_130; @@ -839126,7 +840591,7 @@ Entity_Laser::impact_tear_flag_effects(Entity_Laser *this,float *param_2,float * local_14 = __security_cookie ^ (uint)&uStack_188; local_124 = param_2; - local_13c = 1.0; + local_13c = (void *)0x3f800000; EVar17 = this->_spawnerEntity; if (EVar17 != (EntityPtr)0x0) { do { @@ -839134,26 +840599,26 @@ Entity_Laser::impact_tear_flag_effects(Entity_Laser *this,float *param_2,float * } while (EVar17 != (EntityPtr)0x0); } local_174 = this; - iVar11 = __RTDynamicCast(); - if (((iVar11 != 0) && (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1))) && - (bVar9 = NetplayManager::IsIdxLocalPlayer - (&g_manager->_netplayManager,*(uint *)(iVar11 + 0x1618)), bVar9 == 0)) { + iVar12 = __RTDynamicCast(); + if (((iVar12 != 0) && (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1))) && + (bVar10 = NetplayManager::IsIdxLocalPlayer + (&g_manager->_netplayManager,*(uint *)(iVar12 + 0x1618)), bVar10 == 0)) { if ((g_game == (Game *)0x0) || (*(int *)&g_game->_deathmatchManager < 2)) { - local_13c = (float)(g_manager->_optionsConfig)._onlinePlayerOpacity * 0.09 + 0.1; + local_13c = (void *)((float)(g_manager->_optionsConfig)._onlinePlayerOpacity * 0.09 + 0.1); } else { - local_13c = 1.0; + local_13c = (void *)0x3f800000; } } fStack_164 = (float)(*(uint *)((int)&(this->_tearFlags)._h + 4) & g_tearFlagExplosive._h._4_4_); if (((((uint)(this->_tearFlags)._l & (uint)g_tearFlagExplosive._l) == 0 && (*(uint *)((int)&(this->_tearFlags)._l + 4) & g_tearFlagExplosive._l._4_4_) == 0) && (((uint)(this->_tearFlags)._h & (uint)g_tearFlagExplosive._h) == 0 && fStack_164 == 0.0)) || - ((this->_isFirstUpdate == 0 && (iVar11 = Entity::GetIntervalTicks((Entity *)this), iVar11 == 0) + ((this->_isFirstUpdate == 0 && (iVar12 = Entity::GetIntervalTicks((Entity *)this), iVar12 == 0) ))) goto LAB_0096e506; - iVar11 = this->_subtype; - if (((iVar11 == 1) || (iVar11 == 2)) || (iVar11 == 3)) { - if (iVar11 == 1) { + iVar12 = this->_subtype; + if (((iVar12 == 1) || (iVar12 == 2)) || (iVar12 == 3)) { + if (iVar12 == 1) { if (30.0 <= this->_updateTime) goto LAB_0096d590; } else if (5.0 <= this->_updateTime) goto LAB_0096d590; @@ -839201,7 +840666,7 @@ LAB_0096d990: } else { piVar16 = (g_game->_deathmatchManager)._type; - fVar12 = (float)Random(); + fVar13 = (float)Random(); uVar18 = uStack_178; uStack_fc = 0x900000005; local_174 = (Entity_Laser *)&DAT_00000007; @@ -839212,8 +840677,8 @@ LAB_0096d990: do { if (uStack_178 != 0) { uVar21 = uStack_178; - cVar10 = (**(code **)(*piVar16 + 0x2c))(uStack_178); - if (cVar10 == '\0') goto LAB_0096d998; + cVar11 = (**(code **)(*piVar16 + 0x2c))(uStack_178); + if (cVar11 == '\0') goto LAB_0096d998; } uStack_178 = ItemPool::GetTrinket(&g_game->_itemPool,0); } while( true ); @@ -839224,45 +840689,45 @@ LAB_0096d990: do { if (uStack_178 != 0) { uVar21 = uStack_178; - cVar10 = (**(code **)(*piVar16 + 0x24))(uStack_178); - if (cVar10 == '\0') goto LAB_0096d998; + cVar11 = (**(code **)(*piVar16 + 0x24))(uStack_178); + if (cVar11 == '\0') goto LAB_0096d998; } - if (fVar12 == 0.0) { + if (fVar13 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar18 = (uint)fVar12 >> ((byte)uStack_fc & 0x1f) ^ (uint)fVar12; + uVar18 = (uint)fVar13 >> ((byte)uStack_fc & 0x1f) ^ (uint)fVar13; uVar18 = uVar18 << ((byte)((ulonglong)uStack_fc >> 0x20) & 0x1f) ^ uVar18; - fVar12 = (float)(uVar18 >> ((byte)local_174 & 0x1f) ^ uVar18); - iVar11 = ItemPool::GetCardEx((int)fVar12,0x19,10,10,1); + fVar13 = (float)(uVar18 >> ((byte)local_174 & 0x1f) ^ uVar18); + iVar12 = ItemPool::GetCardEx((int)fVar13,0x19,10,10,1); iStack_a8 = 5; iStack_a4 = 9; iStack_a0 = 7; - fStack_ac = fVar12; - uStack_178 = lua_callback_run_get_card(&fStack_ac,iVar11,1,1,0); + fStack_ac = fVar13; + uStack_178 = lua_callback_run_get_card(&fStack_ac,iVar12,1,1,0); } while( true ); } if (fVar25 == 9.80909e-44) { uStack_14c = uStack_178 >> 0xb; - fVar25 = fVar12; + fVar25 = fVar13; do { if (uStack_178 != 0) { - pcVar4 = *(code **)(*piVar16 + 0x28); + pcVar5 = *(code **)(*piVar16 + 0x28); uVar21 = uStack_178; - iVar11 = ItemPool::GetPillEffect(&g_game->_itemPool,uStack_178,(Entity_Player *)0x0); - fVar12 = fVar25; - cVar10 = (*pcVar4)(iVar11); - if (cVar10 == '\0') goto LAB_0096d998; + iVar12 = ItemPool::GetPillEffect(&g_game->_itemPool,uStack_178,(Entity_Player *)0x0); + fVar13 = fVar25; + cVar11 = (*pcVar5)(iVar12); + if (cVar11 == '\0') goto LAB_0096d998; } - if (fVar12 == 0.0) { + if (fVar13 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar18 = (uint)fVar12 >> ((byte)uStack_fc & 0x1f) ^ (uint)fVar12; + uVar18 = (uint)fVar13 >> ((byte)uStack_fc & 0x1f) ^ (uint)fVar13; uVar18 = uVar18 << ((byte)((ulonglong)uStack_fc >> 0x20) & 0x1f) ^ uVar18; - fVar12 = (float)(uVar18 >> ((byte)local_174 & 0x1f) ^ uVar18); - fVar25 = fVar12; - uStack_178 = ItemPool::GetPill(fVar12); + fVar13 = (float)(uVar18 >> ((byte)local_174 & 0x1f) ^ uVar18); + fVar25 = fVar13; + uStack_178 = ItemPool::GetPill(fVar13); uStack_178 = uStack_178 | (uStack_14c & 1) << 0xb; } while( true ); } @@ -839286,64 +840751,64 @@ LAB_0096d7d2: } } LAB_0096d998: - pEVar13 = EntityFactory::Create(pGStack_158->_entityFactory,uStack_138,0); + pEVar14 = EntityFactory::Create(pGStack_158->_entityFactory,uStack_138,0); uVar26 = (ulonglong)uStack_170; this = pEVar31; - if (pEVar13 != (Entity *)0x0) { + if (pEVar14 != (Entity *)0x0) { uVar26 = GetTimeNs(); uVar23 = (uint)(uVar26 >> 0x20); - lVar5 = (uVar26 & 0xffffffff) * 0x431bde82; - uStack_188 = (uint)((ulonglong)lVar5 >> 0x20); - lVar6 = (ulonglong)uVar23 * 0xd7b634db; - uStack_184 = (undefined4)((ulonglong)lVar6 >> 0x20); - uVar26 = lVar6 + ((uVar26 & 0xffffffff) * 0xd7b634db >> 0x20); + lVar6 = (uVar26 & 0xffffffff) * 0x431bde82; + uStack_188 = (uint)((ulonglong)lVar6 >> 0x20); + lVar7 = (ulonglong)uVar23 * 0xd7b634db; + uStack_184 = (undefined4)((ulonglong)lVar7 >> 0x20); + uVar26 = lVar7 + ((uVar26 & 0xffffffff) * 0xd7b634db >> 0x20); uVar19 = (uint)(uVar26 >> 0x20); - lVar5 = lVar5 + (uVar26 & 0xffffffff); - fStack_168 = (float)lVar5; - uVar18 = (uint)((ulonglong)lVar5 >> 0x20); - lVar5 = (ulonglong)uVar23 * 0x431bde82 + + lVar6 = lVar6 + (uVar26 & 0xffffffff); + fStack_168 = (float)lVar6; + uVar18 = (uint)((ulonglong)lVar6 >> 0x20); + lVar6 = (ulonglong)uVar23 * 0x431bde82 + (ulonglong)CONCAT14(CARRY4(uVar19,uVar18),uVar19 + uVar18); - uVar18 = (uint)((ulonglong)lVar5 >> 0x20); - uVar23 = (uint)lVar5 >> 0x12 | uVar18 * 0x4000; - pEVar1 = &pEVar13->_spawnerEntity; - pEVar13->_spawnerType = 0; - pEVar13->_spawnerVariant = 0; - pEVar28 = pEVar13; + uVar18 = (uint)((ulonglong)lVar6 >> 0x20); + uVar23 = (uint)lVar6 >> 0x12 | uVar18 * 0x4000; + pEVar1 = &pEVar14->_spawnerEntity; + pEVar14->_spawnerType = 0; + pEVar14->_spawnerVariant = 0; + pEVar28 = pEVar14; this = pEVar31; if (*pEVar1 != (EntityPtr)0x0) { pEStack_148 = pEVar1; std::multiset::erase(&pEStack_148); this = pEVar31; } - iVar11 = *(int *)pEVar13; + iVar12 = *(int *)pEVar14; *pEVar1 = (EntityPtr)0x0; - (pEVar13->_pos).x = VStack_154.x; - (pEVar13->_pos).y = VStack_154.y; - (pEVar13->_velocity).x = g_vectorZero.x; - (pEVar13->_velocity).y = g_vectorZero.y; - (**(code **)(iVar11 + 4))(uStack_138,fStack_134,uVar21,uStack_140); + (pEVar14->_pos).x = VStack_154.x; + (pEVar14->_pos).y = VStack_154.y; + (pEVar14->_velocity).x = g_vectorZero.x; + (pEVar14->_velocity).y = g_vectorZero.y; + (**(code **)(iVar12 + 4))(uStack_138,fStack_134,uVar21,uStack_140); pGVar29 = pGStack_158; - iVar11 = *(int *)((int)pGStack_158->_room + 0x1214); - *(int *)((int)pGStack_158->_room + 0x1214) = iVar11 + 1; - pEVar13->_index = iVar11; - EntityList::AddEntity(pEVar13); - cVar10 = Game::ShouldEraseEnemy(pEVar13); - if (cVar10 != '\0') { - Entity::RemoveWithPoof(pEVar13,extraout_ECX); + iVar12 = *(int *)((int)pGStack_158->_room + 0x1214); + *(int *)((int)pGStack_158->_room + 0x1214) = iVar12 + 1; + pEVar14->_index = iVar12; + EntityList::AddEntity(pEVar14); + cVar11 = Game::ShouldEraseEnemy(pEVar14); + if (cVar11 != '\0') { + Entity::RemoveWithPoof(pEVar14,extraout_ECX); } - if ((pEVar13->_exists != 0) && + if ((pEVar14->_exists != 0) && ((pGVar29->_proceduralItemManager)._proceduralItems._begin != (pGVar29->_proceduralItemManager)._proceduralItems._end)) { - fStack_10c = (float)pEVar13->_variant; - fStack_110 = (float)pEVar13->_type; + fStack_10c = (float)pEVar14->_variant; + fStack_110 = (float)pEVar14->_type; std::map::find(&local_13c,&fStack_110); - fVar25 = *(float *)&pGVar29->field_0x67780; - if (local_13c == fVar25) { + pvVar4 = (pGVar29->_proceduralItemManager)._spawnTriggerTargets._head; + if (local_13c == pvVar4) { fStack_108 = fStack_110; fStack_104 = -NAN; - pfVar14 = (float *)std::map::find(&uStack_130,&fStack_108); - local_13c = *pfVar14; - if (local_13c == fVar25) goto LAB_0096dc14; + piVar16 = (int *)std::map::find(&uStack_130,&fStack_108); + local_13c = (void *)*piVar16; + if (local_13c == pvVar4) goto LAB_0096dc14; } uVar21 = 0; pPVar22 = &g_game->_playerManager; @@ -839362,22 +840827,22 @@ LAB_0096d998: } } LAB_0096dc14: - pEVar13 = pEVar28; + pEVar14 = pEVar28; uVar27 = GetTimeNs(); uVar21 = (uint)(uVar27 >> 0x20); - lVar5 = (uVar27 & 0xffffffff) * 0x431bde82; - uStack_188 = (uint)((ulonglong)lVar5 >> 0x20); - lVar6 = (ulonglong)uVar21 * 0xd7b634db; - uStack_184 = (undefined4)((ulonglong)lVar6 >> 0x20); + lVar6 = (uVar27 & 0xffffffff) * 0x431bde82; + uStack_188 = (uint)((ulonglong)lVar6 >> 0x20); + lVar7 = (ulonglong)uVar21 * 0xd7b634db; + uStack_184 = (undefined4)((ulonglong)lVar7 >> 0x20); uVar26 = (ulonglong)uVar21 * 0x431bde82; - uVar27 = lVar6 + ((uVar27 & 0xffffffff) * 0xd7b634db >> 0x20); + uVar27 = lVar7 + ((uVar27 & 0xffffffff) * 0xd7b634db >> 0x20); uVar19 = (uint)(uVar27 >> 0x20); - lVar5 = lVar5 + (uVar27 & 0xffffffff); - fStack_168 = (float)lVar5; - uVar21 = (uint)((ulonglong)lVar5 >> 0x20); - lVar5 = uVar26 + CONCAT14(CARRY4(uVar19,uVar21),uVar19 + uVar21); - uVar20 = (uint)((ulonglong)lVar5 >> 0x20); - uVar21 = (uint)lVar5 >> 0x12 | uVar20 * 0x4000; + lVar6 = lVar6 + (uVar27 & 0xffffffff); + fStack_168 = (float)lVar6; + uVar21 = (uint)((ulonglong)lVar6 >> 0x20); + lVar6 = uVar26 + CONCAT14(CARRY4(uVar19,uVar21),uVar19 + uVar21); + uVar20 = (uint)((ulonglong)lVar6 >> 0x20); + uVar21 = (uint)lVar6 >> 0x12 | uVar20 * 0x4000; uVar19 = uVar21 - uVar23; bVar24 = CARRY4((uint)g_entitySpawnTimeMs,uVar19); g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar19; @@ -839386,13 +840851,13 @@ LAB_0096dc14: (((uVar20 >> 0x12) - (uVar18 >> 0x12)) - (uint)(uVar21 < uVar23)) + (uint)bVar24; } uStack_170 = (uint)uVar26; - piVar16 = (int *)__RTDynamicCast(pEVar13,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, + piVar16 = (int *)__RTDynamicCast(pEVar14,0,&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor, &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor,0); - iVar11 = Random(); + iVar12 = Random(); iStack_b8 = 0; iStack_b4 = 0x3eaaaaab; uStack_b0 = 0; - fVar25 = ((float)((double)iVar11 + __uint_to_double_fixup[-(iVar11 >> 0x1f)]) * 2.3283064e-10 + fVar25 = ((float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 + 1.0) * fStack_17c; piVar16[0x39] = (int)fVar25; piVar16[0x3a] = (int)fVar25; @@ -839422,7 +840887,7 @@ LAB_0096e028: else { piVar16 = (g_game->_deathmatchManager)._type; uVar21 = Random(); - fVar12 = uStack_1ac; + fVar13 = uStack_1ac; uStack_130 = 0x900000005; uStack_188 = 7; uStack_128 = 7; @@ -839430,7 +840895,7 @@ LAB_0096e028: if (uVar18 < 0x12d) { if (uVar18 == 300) { while ((fStack_1b0 = uStack_1ac, uStack_1ac == 0.0 || - (cVar10 = (**(code **)(*piVar16 + 0x24))(uStack_1ac), cVar10 != '\0'))) { + (cVar11 = (**(code **)(*piVar16 + 0x24))(uStack_1ac), cVar11 != '\0'))) { if (uVar21 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); @@ -839438,12 +840903,12 @@ LAB_0096e028: uVar21 = uVar21 >> ((byte)uStack_130 & 0x1f) ^ uVar21; uVar21 = uVar21 << ((byte)((ulonglong)uStack_130 >> 0x20) & 0x1f) ^ uVar21; uVar21 = uVar21 >> ((byte)uStack_188 & 0x1f) ^ uVar21; - iVar11 = ItemPool::GetCardEx(uVar21,0x19,10,10,1); + iVar12 = ItemPool::GetCardEx(uVar21,0x19,10,10,1); fStack_ac = 7.00649e-45; iStack_a8 = 9; iStack_a4 = 7; uStack_b0 = uVar21; - uStack_1ac = (float)lua_callback_run_get_card(&uStack_b0,iVar11,1,1,0); + uStack_1ac = (float)lua_callback_run_get_card(&uStack_b0,iVar12,1,1,0); } } else { @@ -839453,12 +840918,12 @@ LAB_0096e028: do { fStack_1b0 = uStack_1ac; if (uStack_1ac != 0.0) { - pcVar4 = *(code **)(*piVar16 + 0x28); - iVar11 = ItemPool::GetPillEffect + pcVar5 = *(code **)(*piVar16 + 0x28); + iVar12 = ItemPool::GetPillEffect (&g_game->_itemPool,(uint)uStack_1ac,(Entity_Player *)0x0); uVar21 = uVar18; - cVar10 = (*pcVar4)(iVar11); - if (cVar10 == '\0') goto LAB_0096e030; + cVar11 = (*pcVar5)(iVar12); + if (cVar11 == '\0') goto LAB_0096e030; } if (uVar21 == 0) { /* WARNING: Subroutine does not return */ @@ -839482,11 +840947,11 @@ LAB_0096de6a: fStack_180 = uStack_1ac; std::set::find_node((int)&uStack_fc + 4,&fStack_180); if (((*(char *)(aiStack_f0[0] + 0xd) == '\0') && - (*(int *)(aiStack_f0[0] + 0x10) <= (int)fVar12)) && (aiStack_f0[0] != piVar16[8])) + (*(int *)(aiStack_f0[0] + 0x10) <= (int)fVar13)) && (aiStack_f0[0] != piVar16[8])) goto LAB_0096de6a; bVar24 = true; } - if ((fVar12 == 0.0) || (bVar24)) { + if ((fVar13 == 0.0) || (bVar24)) { fStack_1b0 = (float)(**(code **)(*piVar16 + 0x84))(0); uStack_1ac = fStack_1b0; } @@ -839495,61 +840960,62 @@ LAB_0096de6a: else { if (uVar18 != 0x15e) goto LAB_0096e028; while ((fStack_1b0 = uStack_1ac, uStack_1ac == 0.0 || - (cVar10 = (**(code **)(*piVar16 + 0x2c))(uStack_1ac), cVar10 != '\0'))) { + (cVar11 = (**(code **)(*piVar16 + 0x2c))(uStack_1ac), cVar11 != '\0'))) { uStack_1ac = (float)ItemPool::GetTrinket(&g_game->_itemPool,0); } } } LAB_0096e030: - pEVar13 = EntityFactory::Create(pGVar29->_entityFactory,(uint)fVar25,0); - lVar5 = CONCAT44(fStack_160,fStack_15c); - if (pEVar13 != (Entity *)0x0) { + pEVar14 = EntityFactory::Create(pGVar29->_entityFactory,(uint)fVar25,0); + lVar6 = CONCAT44(fStack_160,fStack_15c); + if (pEVar14 != (Entity *)0x0) { uVar27 = GetTimeNs(); uVar21 = (uint)(uVar27 >> 0x20); uVar26 = (ulonglong)uVar21 * 0xd7b634db + ((uVar27 & 0xffffffff) * 0xd7b634db >> 0x20); uVar23 = (uint)(uVar26 >> 0x20); - lVar5 = (uVar27 & 0xffffffff) * 0x431bde82 + (uVar26 & 0xffffffff); - fStack_17c = (float)lVar5; - uVar18 = (uint)((ulonglong)lVar5 >> 0x20); - lVar5 = (ulonglong)uVar21 * 0x431bde82 + + lVar6 = (uVar27 & 0xffffffff) * 0x431bde82 + (uVar26 & 0xffffffff); + fStack_17c = (float)lVar6; + uVar18 = (uint)((ulonglong)lVar6 >> 0x20); + lVar6 = (ulonglong)uVar21 * 0x431bde82 + (ulonglong)CONCAT14(CARRY4(uVar23,uVar18),uVar23 + uVar18); - pEVar13->_spawnerType = 0; - uVar18 = (uint)((ulonglong)lVar5 >> 0x20); - pEVar13->_spawnerVariant = 0; - uStack_188 = (uint)lVar5 >> 0x12 | uVar18 * 0x4000; + pEVar14->_spawnerType = 0; + uVar18 = (uint)((ulonglong)lVar6 >> 0x20); + pEVar14->_spawnerVariant = 0; + uStack_188 = (uint)lVar6 >> 0x12 | uVar18 * 0x4000; uVar18 = uVar18 >> 0x12; - pEVar28 = pEVar13; - if (pEVar13->_spawnerEntity != (EntityPtr)0x0) { + pEVar28 = pEVar14; + if (pEVar14->_spawnerEntity != (EntityPtr)0x0) { std::multiset::erase((int)register0x00000010 + -0x194); } - iVar11 = *(int *)pEVar13; - pEVar13->_spawnerEntity = (EntityPtr)0x0; - (pEVar13->_pos).x = fStack_168; - (pEVar13->_pos).y = fStack_164; - (pEVar13->_velocity).x = g_vectorZero.x; - (pEVar13->_velocity).y = g_vectorZero.y; - (**(code **)(iVar11 + 4))(fVar25,uStack_16c,fStack_1b0,uStack_184); - iVar11 = *(int *)((int)pGVar29->_room + 0x1214); - *(int *)((int)pGVar29->_room + 0x1214) = iVar11 + 1; - pEVar13->_index = iVar11; + iVar12 = *(int *)pEVar14; + pEVar14->_spawnerEntity = (EntityPtr)0x0; + (pEVar14->_pos).x = fStack_168; + (pEVar14->_pos).y = fStack_164; + (pEVar14->_velocity).x = g_vectorZero.x; + (pEVar14->_velocity).y = g_vectorZero.y; + (**(code **)(iVar12 + 4))(fVar25,uStack_16c,fStack_1b0,uStack_184); + iVar12 = *(int *)((int)pGVar29->_room + 0x1214); + *(int *)((int)pGVar29->_room + 0x1214) = iVar12 + 1; + pEVar14->_index = iVar12; pGVar30 = pGVar29; - EntityList::AddEntity(pEVar13); - cVar10 = Game::ShouldEraseEnemy(pEVar13); - if (cVar10 != '\0') { - Entity::RemoveWithPoof(pEVar13,extraout_ECX_00); + EntityList::AddEntity(pEVar14); + cVar11 = Game::ShouldEraseEnemy(pEVar14); + if (cVar11 != '\0') { + Entity::RemoveWithPoof(pEVar14,extraout_ECX_00); } - if ((pEVar13->_exists != 0) && + if ((pEVar14->_exists != 0) && ((pGVar29->_proceduralItemManager)._proceduralItems._begin != (pGVar29->_proceduralItemManager)._proceduralItems._end)) { - uStack_138 = pEVar13->_variant; - local_13c = (float)pEVar13->_type; + uStack_138 = pEVar14->_variant; + local_13c = (void *)pEVar14->_type; std::map::find((int)register0x00000010 + -0x19c,&local_13c); - if (pGVar30 == *(Game **)&pGVar29->field_0x67780) { - fStack_17c = (float)pEVar13->_type; + if (pGVar30 == (pGVar29->_proceduralItemManager)._spawnTriggerTargets._head) { + fStack_17c = (float)pEVar14->_type; uStack_178 = 0xffffffff; piVar16 = (int *)std::map::find ((int)register0x00000010 + -0x1b0,&fStack_17c); - if (*piVar16 == *(int *)&pGVar29->field_0x67780) goto LAB_0096e2b2; + if ((void *)*piVar16 == (pGVar29->_proceduralItemManager)._spawnTriggerTargets._head) + goto LAB_0096e2b2; } pPVar22 = &g_game->_playerManager; uVar21 = 0; @@ -839560,7 +841026,7 @@ LAB_0096e030: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - trigger_set_dispatch(6,pEVar13,&fStack_168,&g_vectorZero); + trigger_set_dispatch(6,pEVar14,&fStack_168,&g_vectorZero); pPVar22 = &g_game->_playerManager; uVar21 = uVar21 + 1; } while (uVar21 < (uint)((int)(g_game->_playerManager)._playerList._end - @@ -839568,22 +841034,22 @@ LAB_0096e030: } } LAB_0096e2b2: - pEVar13 = pEVar28; + pEVar14 = pEVar28; uVar26 = GetTimeNs(); uVar21 = (uint)(uVar26 >> 0x20); - lVar6 = (uVar26 & 0xffffffff) * 0x431bde82; - fStack_180 = (float)((ulonglong)lVar6 >> 0x20); - lVar7 = (ulonglong)uVar21 * 0xd7b634db; - this = (Entity_Laser *)((ulonglong)lVar7 >> 0x20); - lVar5 = (ulonglong)uVar21 * 0x431bde82; - uVar26 = lVar7 + ((uVar26 & 0xffffffff) * 0xd7b634db >> 0x20); + lVar7 = (uVar26 & 0xffffffff) * 0x431bde82; + fStack_180 = (float)((ulonglong)lVar7 >> 0x20); + lVar8 = (ulonglong)uVar21 * 0xd7b634db; + this = (Entity_Laser *)((ulonglong)lVar8 >> 0x20); + lVar6 = (ulonglong)uVar21 * 0x431bde82; + uVar26 = lVar8 + ((uVar26 & 0xffffffff) * 0xd7b634db >> 0x20); uVar23 = (uint)(uVar26 >> 0x20); - lVar6 = lVar6 + (uVar26 & 0xffffffff); - fStack_17c = (float)lVar6; - uVar21 = (uint)((ulonglong)lVar6 >> 0x20); - lVar6 = lVar5 + (ulonglong)CONCAT14(CARRY4(uVar23,uVar21),uVar23 + uVar21); - uVar19 = (uint)((ulonglong)lVar6 >> 0x20); - uVar21 = (uint)lVar6 >> 0x12 | uVar19 * 0x4000; + lVar7 = lVar7 + (uVar26 & 0xffffffff); + fStack_17c = (float)lVar7; + uVar21 = (uint)((ulonglong)lVar7 >> 0x20); + lVar7 = lVar6 + (ulonglong)CONCAT14(CARRY4(uVar23,uVar21),uVar23 + uVar21); + uVar19 = (uint)((ulonglong)lVar7 >> 0x20); + uVar21 = (uint)lVar7 >> 0x12 | uVar19 * 0x4000; uVar23 = uVar21 - uStack_188; bVar24 = CARRY4((uint)g_entitySpawnTimeMs,uVar23); g_entitySpawnTimeMs._0_4_ = (uint)g_entitySpawnTimeMs + uVar23; @@ -839591,8 +841057,8 @@ LAB_0096e2b2: g_entitySpawnTimeMs._4_4_ + (((uVar19 >> 0x12) - uVar18) - (uint)(uVar21 < uStack_188)) + (uint)bVar24; } - fStack_160 = (float)((ulonglong)lVar5 >> 0x20); - fStack_15c = (float)lVar5; + fStack_160 = (float)((ulonglong)lVar6 >> 0x20); + fStack_15c = (float)lVar6; Color::Reset(); aiStack_f0[1] = 0x3ca3d70a; aiStack_f0[2] = 0x3f666666; @@ -839601,12 +841067,12 @@ LAB_0096e2b2: uStack_cc = 0x3d20a0a1; uStack_c8 = 0x3ec8c8ca; uStack_c4 = 0; - (**(code **)(*(int *)pEVar13 + 0x3c))(aiStack_f0 + 1,0xffffffff,0xff,0,1); - iVar11 = *(int *)pEVar13; - pEVar13->_renderDepthOffset = -5.0; - (pEVar13->_sprite)._scale.x = fVar25; - (pEVar13->_sprite)._scale.y = fVar25 * 0.4; - (**(code **)(iVar11 + 0xc))(); + (**(code **)(*(int *)pEVar14 + 0x3c))(aiStack_f0 + 1,0xffffffff,0xff,0,1); + iVar12 = *(int *)pEVar14; + pEVar14->_renderDepthOffset = -5.0; + (pEVar14->_sprite)._scale.x = fVar25; + (pEVar14->_sprite)._scale.y = fVar25 * 0.4; + (**(code **)(iVar12 + 0xc))(); } uVar15 = Random(); uVar15 = Game::SpawnEx(g_game,1000,1,&VStack_154,&g_vectorZero,0,0,uVar15,0); @@ -839649,13 +841115,13 @@ LAB_0096e506: (!((uVar18 & (uint)local_174) == 0 && ((uint)fVar25 & (uint)fStack_160) == 0))) { fStack_15c = fVar25; if ((this->_isFirstUpdate == 0) && - (iVar11 = Entity::GetIntervalTicks((Entity *)this), iVar11 == 0)) { + (iVar12 = Entity::GetIntervalTicks((Entity *)this), iVar12 == 0)) { fVar25 = fStack_15c; } else { Room::GetClampedPositionImpl(); - iVar11 = Random(); - fVar25 = (float)((double)iVar11 + __uint_to_double_fixup[-(iVar11 >> 0x1f)]) * 2.3283064e-10 * + iVar12 = Random(); + fVar25 = (float)((double)iVar12 + __uint_to_double_fixup[-(iVar12 >> 0x1f)]) * 2.3283064e-10 * 3.14; fVar25 = fVar25 + fVar25; local_174 = (Entity_Laser *)fVar25; @@ -839681,7 +841147,7 @@ LAB_0096e506: fStack_10c = VStack_154.y; get_tear_spawn_color(this); uStack_170 = *(uint *)((int)&(this->_tearFlags)._l + 4); - fStack_34 = fStack_34 * local_13c; + fStack_34 = fStack_34 * (float)local_13c; uStack_11c = DAT_00c34880; uStack_128 = DAT_00c34884; fStack_164 = (float)(DAT_00c34858 | DAT_00c34888); @@ -839780,9 +841246,9 @@ LAB_0096e8c5: (local_174 != (Entity_Laser *)0x0 || fStack_160 != 0.0)) { if (this->_isFirstUpdate == 0) { fStack_15c = fVar25; - iVar11 = Entity::GetIntervalTicks((Entity *)this); + iVar12 = Entity::GetIntervalTicks((Entity *)this); fVar25 = fStack_15c; - if (iVar11 == 0) goto LAB_0096ec0c; + if (iVar12 == 0) goto LAB_0096ec0c; } uStack_1ac = 1.385978e-38; piVar16 = (int *)spawn_chain_lightning(); @@ -839794,7 +841260,7 @@ LAB_0096e8c5: iStack_a4 = piVar16[0x41]; iStack_a0 = piVar16[0x42]; iStack_9c = piVar16[0x43]; - fStack_ac = (float)piVar16[0x3f] * local_13c; + fStack_ac = (float)piVar16[0x3f] * (float)local_13c; uStack_98 = *(undefined8 *)(piVar16 + 0x44); iStack_90 = piVar16[0x46]; (**(code **)(*piVar16 + 0x3c))(); @@ -839807,8 +841273,8 @@ LAB_0096ec0c: (*(uint *)((int)&(this->_tearFlags)._l + 4) & DAT_00c34974) != 0) || ((uVar18 & DAT_00c34978) != 0 || ((uint)fVar25 & DAT_00c3497c) != 0)) && ((this->_isFirstUpdate != 0 || - (iVar11 = Entity::GetIntervalTicks((Entity *)this), iVar11 != 0)))) && - (cVar10 = Room::IsPositionInRoom(g_game->_room), cVar10 != '\0')) { + (iVar12 = Entity::GetIntervalTicks((Entity *)this), iVar12 != 0)))) && + (cVar11 = Room::IsPositionInRoom(g_game->_room), cVar11 != '\0')) { local_174 = (Entity_Laser *)(this->_collisionDamage * 0.5); Room::GetClampedPositionImpl(); Random(); @@ -839818,12 +841284,12 @@ LAB_0096ec0c: piVar16[0x3a] = (int)(this->_scale * g_vectorOne.y); piVar16[0x39] = (int)fVar25; (**(code **)(*piVar16 + 0x40))(); - iVar11 = 0x3c; + iVar12 = 0x3c; if (1 < *(int *)&g_game->_deathmatchManager) { - iVar11 = 0x1e; + iVar12 = 0x1e; } - piVar16[0x117] = iVar11; - piVar16[0x118] = iVar11; + piVar16[0x117] = iVar12; + piVar16[0x118] = iVar12; (**(code **)(*piVar16 + 0xc))(); uVar18 = DAT_00c34974; uVar23 = ~DAT_00c34978; @@ -839835,11 +841301,11 @@ LAB_0096ec0c: *puVar2 = *puVar2 & ~uVar18; puVar2 = (uint *)((int)&(this->_activeTearFlags)._h + 4); *puVar2 = *puVar2 & uVar21; - pMVar8 = g_manager; + pMVar9 = g_manager; fStack_164 = 1.52461e-42; seed_fart_sound_override(); uStack_1ac = 1.3860652e-38; - SoundEffects::Play(&pMVar8->_sfxManager,(int)fStack_164,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar9->_sfxManager,(int)fStack_164,1.0,2,0,1.0,0.0); } return; } @@ -840001,9 +841467,10 @@ void Entity_Laser::copy_from_parent(int param_1,char param_2) } if (param_2 != '\0') { pEVar1 = &in_ECX->_spawnerEntity; - in_ECX->_dropRNG = *(RNG *)(param_1 + 0x3dc); - *(undefined8 *)&in_ECX->field_0x3e0 = 0x300000004; - *(undefined4 *)&in_ECX->field_0x3e8 = 0x11; + (in_ECX->_dropRNG)._seed = *(int *)(param_1 + 0x3dc); + (in_ECX->_dropRNG)._shift1 = 4; + (in_ECX->_dropRNG)._shift2 = 3; + (in_ECX->_dropRNG)._shift3 = 0x11; in_ECX->_homingType = *(int *)(param_1 + 0x4d4); in_ECX->_spawnerType = *(int *)(param_1 + 0x34); in_ECX->_spawnerVariant = *(int *)(param_1 + 0x38); @@ -841678,7 +843145,7 @@ LAB_00973251: fStack_120 = (in_ECX->_sprite)._color._colorize[2]; fStack_11c = (in_ECX->_sprite)._color._colorize[3]; local_118 = *(undefined8 *)(in_ECX->_sprite)._color._offset; - Color::__mul(&pLVar12->field_0x48); + Color::__mul(&pLVar12->_color); local_58 = local_138; fStack_54 = fStack_134; fStack_50 = fStack_130; @@ -842264,7 +843731,7 @@ LAB_009729ca: fStack_3c = (local_8c->_sprite)._color._colorize[3]; local_38 = *(undefined8 *)(local_8c->_sprite)._color._offset; local_30 = (local_8c->_sprite)._color._offset[2]; - Color::__mul(&pLVar12->field_0x48); + Color::__mul(&pLVar12->_color); local_138 = local_58; fStack_134 = fStack_54; fStack_130 = fStack_50; @@ -844822,9 +846289,9 @@ void __thiscall Entity_Laser::Render(Entity_Laser *this,float *param_2) char cVar4; undefined4 uVar5; Entity_Player *this_01; - float *pfVar6; - int iVar7; - LayerState *pLVar8; + LayerState *pLVar6; + float *pfVar7; + int iVar8; int *piVar9; void **ppvVar10; uint uVar11; @@ -844972,9 +846439,9 @@ void __thiscall Entity_Laser::Render(Entity_Laser *this,float *param_2) } } this_00 = &this->_sprite; - ANM2::GetLayer(this_00,(byte *)0x0); - pfVar6 = (float *)LayerState::GetTexture(); - local_120 = *pfVar6; + pLVar6 = ANM2::GetLayer(this_00,(byte *)0x0); + pfVar7 = (float *)LayerState::GetTexture(pLVar6); + local_120 = *pfVar7; local_8 = 0; if (((local_1ac != (int *)0x0) && (cVar4 = (**(code **)(*local_1ac + 0xc))(), cVar4 != '\0')) && (g_imageReleaseFn != (void *)0x0)) { @@ -844989,12 +846456,12 @@ void __thiscall Entity_Laser::Render(Entity_Laser *this,float *param_2) local_198 = ((uint)(this->_sprite)._bitflags >> 5 & 1) * 2; if (this->_sampleLaser == 0) { if ((uVar11 < 2) || - (((cVar4 = is_thick_variant(this), cVar4 == '\0' && (iVar7 = this->_variant, iVar7 != 2)) && - ((iVar7 != 5 && (iVar7 != 8)))))) { - iVar7 = this->_variant; - if (((iVar7 == 2) || (iVar7 == 10)) || (iVar7 == 7)) { - iVar7 = AnimationState::GetLayerFrame(); - if (iVar7 == 0) goto LAB_0097ab0f; + (((cVar4 = is_thick_variant(this), cVar4 == '\0' && (iVar8 = this->_variant, iVar8 != 2)) && + ((iVar8 != 5 && (iVar8 != 8)))))) { + iVar8 = this->_variant; + if (((iVar8 == 2) || (iVar8 == 10)) || (iVar8 == 7)) { + iVar8 = AnimationState::GetLayerFrame(); + if (iVar8 == 0) goto LAB_0097ab0f; AnimationState::copy_assign((AnimationState *)local_ac); local_1e0 = (float)CONCAT31(local_1e0._1_3_,1); fStack_1ec = this->_laserLength * 0.65 + (float)local_ac._4_4_; @@ -845049,13 +846516,12 @@ void __thiscall Entity_Laser::Render(Entity_Laser *this,float *param_2) local_1b4 = local_150 + param_2[1] + (float)local_124 / local_130 + (float)local_164; local_148 = local_13c; local_144 = local_140; - pfVar6 = (float *)Isaac::GetRenderPosition(1); - local_148 = local_14c + *param_2 + local_188 * local_134 + *pfVar6; - local_144 = local_150 + param_2[1] + local_184 * local_134 + pfVar6[1]; + pfVar7 = (float *)Isaac::GetRenderPosition(1); + local_148 = local_14c + *param_2 + local_188 * local_134 + *pfVar7; + local_144 = local_150 + param_2[1] + local_184 * local_134 + pfVar7[1]; set_quad_corner_colors(&local_148,&local_1b8,&local_1c0); - pLVar8 = ANM2::GetLayer(this_00,(byte *)0x0); - FUN_00a13560(*(undefined4 *)&pLVar8->field_0x78,*(undefined4 *)&pLVar8->field_0x7c, - *(undefined4 *)&pLVar8->field_0x80); + pLVar6 = ANM2::GetLayer(this_00,(byte *)0x0); + FUN_00a13560(pLVar6->_blendMode[0],pLVar6->_blendMode[1],pLVar6->_blendMode[2]); FUN_00682260(); Color::operator_assign(&(this->_sprite)._color); FUN_004072e0(); @@ -845071,15 +846537,15 @@ void __thiscall Entity_Laser::Render(Entity_Laser *this,float *param_2) local_1cc = pvStack_38; local_1c8 = (float)pvStack_34 * local_1a4; local_1c4 = 0; - pLVar8 = ANM2::GetLayer(this_00,(byte *)0x0); - pLVar8->_wrapSMode = 0; - pLVar8 = ANM2::GetLayer(this_00,(byte *)0x0); - pLVar8->_wrapTMode = 0; - ANM2::GetLayer(this_00,(byte *)0x0); - LayerState::GetTexture(auStack_30a + -10); + pLVar6 = ANM2::GetLayer(this_00,(byte *)0x0); + pLVar6->_wrapSMode = 0; + pLVar6 = ANM2::GetLayer(this_00,(byte *)0x0); + pLVar6->_wrapTMode = 0; + pLVar6 = ANM2::GetLayer(this_00,(byte *)0x0); + LayerState::GetTexture(pLVar6,auStack_30a + -10); apply_sprite_shader_params(1); - ANM2::GetLayer(this_00,(byte *)0x0); - puVar12 = (undefined4 *)LayerState::GetTexture(); + pLVar6 = ANM2::GetLayer(this_00,(byte *)0x0); + puVar12 = (undefined4 *)LayerState::GetTexture(pLVar6); local_8 = 6; goto LAB_0097b218; } @@ -845100,18 +846566,18 @@ void __thiscall Entity_Laser::Render(Entity_Laser *this,float *param_2) (this->_sprite)._rotation = (float)local_124; if (15.0 < this->_laserLength) { local_124 = (void *)AnimationState::GetLayerFrame(); - iVar7 = AnimationState::GetLayerFrame(); - if ((local_124 == (void *)0x0) || (iVar7 == 0)) { + iVar8 = AnimationState::GetLayerFrame(); + if ((local_124 == (void *)0x0) || (iVar8 == 0)) { LAB_0097ab0f: /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } AnimationState::copy_assign((AnimationState *)local_118); AnimationState::copy_assign((AnimationState *)local_ac); - pLVar8 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); + pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x1); local_1e0 = (float)CONCAT31(local_1e0._1_3_,1); - local_120 = local_94 * (pLVar8->_size).x * (this->_sprite)._scale.x; - local_90 = local_90 * (pLVar8->_size).y * (this->_sprite)._scale.y; + local_120 = local_94 * (pLVar6->_size).x * (this->_sprite)._scale.x; + local_90 = local_90 * (pLVar6->_size).y * (this->_sprite)._scale.y; fStack_1ec = (float)local_ac._4_4_ + (this->_laserLength / local_90) * 0.65; pvStack_1f0 = (void *)local_ac._0_4_; pvStack_1f4 = (void *)local_ac._4_4_; @@ -845175,12 +846641,12 @@ LAB_0097ab0f: local_1b8 = (float)local_154 + local_134; local_1b4 = local_140 + (float)local_124 / local_130; set_quad_corner_colors(&local_1b8,&local_1c0,&local_160); - pLVar8 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - g_graphicsManager_blendMode[0] = *(int *)&pLVar8->field_0x78; - g_graphicsManager_blendMode[1] = *(int *)&pLVar8->field_0x7c; - g_graphicsManager_blendMode[2] = *(int *)&pLVar8->field_0x80; - g_graphicsManager_blendMode[3] = *(int *)&pLVar8->field_0x84; - DAT_00c79910 = *(undefined4 *)&pLVar8->field_0x88; + pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + g_graphicsManager_blendMode[0] = pLVar6->_blendMode[0]; + g_graphicsManager_blendMode[1] = pLVar6->_blendMode[1]; + g_graphicsManager_blendMode[2] = pLVar6->_blendMode[2]; + g_graphicsManager_blendMode[3] = pLVar6->_blendMode[3]; + g_graphicsManager_blendMode[4] = pLVar6->_blendMode[4]; FUN_00682260(); Color::operator_assign(&(this->_sprite)._color); FUN_004072e0(); @@ -845196,15 +846662,15 @@ LAB_0097ab0f: local_1cc = pvStack_38; local_1c8 = (float)pvStack_34 * local_1a4; local_1c4 = 0; - pLVar8 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - pLVar8->_wrapSMode = 0; - pLVar8 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - pLVar8->_wrapTMode = 0; - ANM2::GetLayer(&this->_sprite,(byte *)0x0); - LayerState::GetTexture(auStack_30a + -10); + pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + pLVar6->_wrapSMode = 0; + pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + pLVar6->_wrapTMode = 0; + pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + LayerState::GetTexture(pLVar6,auStack_30a + -10); apply_sprite_shader_params(1); - ANM2::GetLayer(&this->_sprite,(byte *)0x0); - puVar12 = (undefined4 *)LayerState::GetTexture(); + pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + puVar12 = (undefined4 *)LayerState::GetTexture(pLVar6); local_8 = 5; LAB_0097b218: (**(code **)(*(int *)*puVar12 + 0x14))(&pvStack_200); @@ -845216,25 +846682,25 @@ LAB_0097b218: goto LAB_0097b24c; } local_164 = (byte *)(uint)(1 < uVar11); - iVar7 = AnimationState::GetLayerFrame(); - if (iVar7 == 0) { + iVar8 = AnimationState::GetLayerFrame(); + if (iVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } AnimationState::copy_assign((AnimationState *)local_ac); - pLVar8 = ANM2::GetLayer(this_00,local_164); + pLVar6 = ANM2::GetLayer(this_00,local_164); local_178 = (float *)0x0; local_174 = (float *)0x0; local_170 = (float *)0x0; - local_130 = local_94 * (pLVar8->_size).x * (this->_sprite)._scale.x; + local_130 = local_94 * (pLVar6->_size).x * (this->_sprite)._scale.x; local_8 = 1; std::vector<8byte>::reserve(); - pLVar8 = ANM2::GetLayer(this_00,(byte *)0x0); - pLVar8->_wrapSMode = 0; - pLVar8 = ANM2::GetLayer(this_00,(byte *)0x0); - pLVar8->_wrapTMode = 0; - ANM2::GetLayer(this_00,(byte *)0x0); - LayerState::GetTexture(); + pLVar6 = ANM2::GetLayer(this_00,(byte *)0x0); + pLVar6->_wrapSMode = 0; + pLVar6 = ANM2::GetLayer(this_00,(byte *)0x0); + pLVar6->_wrapTMode = 0; + pLVar6 = ANM2::GetLayer(this_00,(byte *)0x0); + LayerState::GetTexture(pLVar6); local_8 = CONCAT31(local_8._1_3_,2); local_1a0 = (this->_posOffset).x * 0.65; local_12c = (this->_homingLaser)._samples._begin; @@ -845258,11 +846724,11 @@ LAB_0097b218: sqrtf(); local_134 = local_134 / fVar13; local_140 = -(local_140 / fVar13); - pfVar6 = (float *)((int)local_12c + (int)fVar15 * 8); + pfVar7 = (float *)((int)local_12c + (int)fVar15 * 8); local_184 = (*(float *)((int)local_12c + (int)fVar15 * 8 + 4) - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5; local_12c = (int *)(g_displayPixelRatio * g_screenPointScale); - local_120 = ((*pfVar6 - 60.0) * 0.65 + (g_screenWidth - 338.0) * 0.5) * (float)local_12c + 0.5 + local_120 = ((*pfVar7 - 60.0) * 0.65 + (g_screenWidth - 338.0) * 0.5) * (float)local_12c + 0.5 ; dVar19 = floor((double)local_120); local_168 = (float)dVar19 / (float)local_12c; @@ -845355,13 +846821,13 @@ LAB_0097b218: } while ((uint)local_13c < ((int)(this->_homingLaser)._samples._end - (int)local_12c >> 3) - 1U) ; } - iVar7 = this->_subtype; - if (((iVar7 == 1) || (iVar7 == 2)) || (iVar7 == 3)) { + iVar8 = this->_subtype; + if (((iVar8 == 1) || (iVar8 == 2)) || (iVar8 == 3)) { local_174 = local_138; std::vector::erase(&local_124); std::vector::_Insert_n(local_174,local_178); - iVar7 = this->_subtype; - if (((iVar7 != 1) && (iVar7 != 2)) && (iVar7 != 3)) { + iVar8 = this->_subtype; + if (((iVar8 != 1) && (iVar8 != 2)) && (iVar8 != 3)) { local_138 = local_174; goto LAB_00979179; } @@ -845373,12 +846839,12 @@ LAB_00979179: local_190 = 0.0; } local_174 = local_138; - pLVar8 = ANM2::GetLayer(&this->_sprite,local_164); - g_graphicsManager_blendMode[0] = *(int *)&pLVar8->field_0x78; - g_graphicsManager_blendMode[1] = *(int *)&pLVar8->field_0x7c; - g_graphicsManager_blendMode[2] = *(int *)&pLVar8->field_0x80; - g_graphicsManager_blendMode[3] = *(int *)&pLVar8->field_0x84; - DAT_00c79910 = *(undefined4 *)&pLVar8->field_0x88; + pLVar6 = ANM2::GetLayer(&this->_sprite,local_164); + g_graphicsManager_blendMode[0] = pLVar6->_blendMode[0]; + g_graphicsManager_blendMode[1] = pLVar6->_blendMode[1]; + g_graphicsManager_blendMode[2] = pLVar6->_blendMode[2]; + g_graphicsManager_blendMode[3] = pLVar6->_blendMode[3]; + g_graphicsManager_blendMode[4] = pLVar6->_blendMode[4]; FUN_00682260(); local_138 = (float *)((int)local_138 - (int)local_178); if (((uint)local_138 & 0x18) != 0) { @@ -845388,32 +846854,32 @@ LAB_00979179: local_138 = (float *)((int)local_138 >> 3); local_120 = 0.0; if (local_138 != (float *)0x0) { - pfVar6 = local_178 + 0xb; + pfVar7 = local_178 + 0xb; local_124 = (void *)((float)local_ac._0_4_ + (float)local_ac._8_4_); do { if ((uint)local_120 < (uint)((int)local_138 + -4)) { - pfVar6[-7] = (pfVar6[-3] + pfVar6[-7]) * 0.5; - pfVar6[-6] = (pfVar6[-2] + pfVar6[-6]) * 0.5; - pfVar6[-5] = (pfVar6[-1] + pfVar6[-5]) * 0.5; - pfVar6[-4] = (pfVar6[-4] + *pfVar6) * 0.5; + pfVar7[-7] = (pfVar7[-3] + pfVar7[-7]) * 0.5; + pfVar7[-6] = (pfVar7[-2] + pfVar7[-6]) * 0.5; + pfVar7[-5] = (pfVar7[-1] + pfVar7[-5]) * 0.5; + pfVar7[-4] = (pfVar7[-4] + *pfVar7) * 0.5; } if (local_120 == 0.0) { - local_19c = pfVar6[-0xb]; + local_19c = pfVar7[-0xb]; } else { - local_19c = pfVar6[-0xf]; - pfVar6[-0xb] = local_19c; - pfVar6[-10] = pfVar6[-0xe]; - pfVar6[-9] = pfVar6[-0xd]; - pfVar6[-8] = pfVar6[-0xc]; + local_19c = pfVar7[-0xf]; + pfVar7[-0xb] = local_19c; + pfVar7[-10] = pfVar7[-0xe]; + pfVar7[-9] = pfVar7[-0xd]; + pfVar7[-8] = pfVar7[-0xc]; } - local_16c = pfVar6[-9]; - local_164 = (byte *)pfVar6[-10]; - local_134 = pfVar6[-8]; - local_168 = pfVar6[-5]; - local_18c = pfVar6[-7]; - local_140 = pfVar6[-4]; - local_194 = pfVar6[-6]; + local_16c = pfVar7[-9]; + local_164 = (byte *)pfVar7[-10]; + local_134 = pfVar7[-8]; + local_168 = pfVar7[-5]; + local_18c = pfVar7[-7]; + local_140 = pfVar7[-4]; + local_194 = pfVar7[-6]; local_13c = (local_19c + local_16c) * 0.5; local_130 = (local_168 + local_18c) * 0.5; local_184 = ((float)local_164 + local_134) * 0.5; @@ -845426,7 +846892,7 @@ LAB_00979179: fVar15 = local_19c; pbVar18 = local_164; if (((!(*piVar9 == 0 && piVar9[1] == 0)) || (!(piVar9[2] == 0 && piVar9[3] == 0))) && - ((iVar7 = this->_subtype, iVar7 != 1 && ((iVar7 != 2 && (iVar7 != 3)))))) { + ((iVar8 = this->_subtype, iVar8 != 1 && ((iVar8 != 2 && (iVar8 != 3)))))) { local_154 = (void *)0x3f800000; local_17c = (void *)(local_190 / 1000.0); ppvVar10 = &local_17c; @@ -845455,7 +846921,7 @@ LAB_00979179: fVar17 = local_16c; piVar9 = (int *)BitSet128::operator_and(); if ((((*piVar9 == 0 && piVar9[1] == 0) && (piVar9[2] == 0 && piVar9[3] == 0)) || - (iVar7 = this->_subtype, iVar7 == 1)) || ((iVar7 == 2 || (iVar7 == 3)))) { + (iVar8 = this->_subtype, iVar8 == 1)) || ((iVar8 == 2 || (iVar8 == 3)))) { fVar17 = local_194; } else { @@ -845544,22 +847010,22 @@ LAB_00979179: KAGE::SmartPointer::operator_assign(&local_1b0); apply_sprite_shader_params(1); (**(code **)(*local_1b0 + 0x14))(&local_240); - pfVar6 = pfVar6 + 8; + pfVar7 = pfVar7 + 8; local_120 = (float)((int)local_120 + 4); } while ((uint)local_120 < local_138); } - pfVar6 = local_178; + pfVar7 = local_178; if ((1 < (uint)(this->_sprite)._layerCount) && (this->_subtype == 0)) { - iVar7 = AnimationState::GetLayerFrame(); - if (iVar7 == 0) { + iVar8 = AnimationState::GetLayerFrame(); + if (iVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } AnimationState::copy_assign((AnimationState *)local_ac); - pLVar8 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); pfVar2 = (this->_homingLaser)._samples._begin; - local_94 = local_94 * (pLVar8->_size).x * (this->_sprite)._scale.x; - local_90 = local_90 * (pLVar8->_size).y * (this->_sprite)._scale.y; + local_94 = local_94 * (pLVar6->_size).x * (this->_sprite)._scale.x; + local_90 = local_90 * (pLVar6->_size).y * (this->_sprite)._scale.y; local_144 = pfVar2[1] - (this->_pos).y; local_148 = *pfVar2 - (this->_pos).x; Vector::Normalized(); @@ -845585,11 +847051,11 @@ LAB_00979179: pvStack_200 = pvStack_1f0; pvStack_1f4 = pvStack_1fc; KColor::SetFromARGB(); - local_144 = (float)local_17c * 0.025 + local_150 + param_2[1] + local_1a8 + pfVar6[1]; - local_148 = fVar13 * 0.025 + local_14c + *param_2 + local_1a0 + *pfVar6; - local_160 = fVar13 * 0.025 + local_14c + *param_2 + local_1a0 + pfVar6[2]; + local_144 = (float)local_17c * 0.025 + local_150 + param_2[1] + local_1a8 + pfVar7[1]; + local_148 = fVar13 * 0.025 + local_14c + *param_2 + local_1a0 + *pfVar7; + local_160 = fVar13 * 0.025 + local_14c + *param_2 + local_1a0 + pfVar7[2]; local_120 = g_displayPixelRatio * g_screenPointScale; - local_15c = (float)local_17c * 0.025 + local_150 + param_2[1] + local_1a8 + pfVar6[3]; + local_15c = (float)local_17c * 0.025 + local_150 + param_2[1] + local_1a8 + pfVar7[3]; local_124 = (void *)(((g_screenWidth - 338.0) * fVar15 + ((float)local_124 - 60.0) * 0.65) * local_120 + fVar15); dVar19 = floor((double)(float)local_124); @@ -845619,11 +847085,11 @@ LAB_00979179: } fStack_24 = (float)(int)uVar11 * 0.00390625; } - ANM2::GetLayer(&this->_sprite,(byte *)0x0); - LayerState::GetTexture(auStack_30a + -10); + pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + LayerState::GetTexture(pLVar6,auStack_30a + -10); apply_sprite_shader_params(1); - ANM2::GetLayer(&this->_sprite,(byte *)0x0); - puVar12 = (undefined4 *)LayerState::GetTexture(); + pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + puVar12 = (undefined4 *)LayerState::GetTexture(pLVar6); local_8 = CONCAT31(local_8._1_3_,3); (**(code **)(*(int *)*puVar12 + 0x14))(&pvStack_200); FUN_0040c440(); @@ -845634,9 +847100,9 @@ LAB_00979179: (*g_imageReleaseFn)(); } local_8 = 0xffffffff; - if (pfVar6 != (float *)0x0) { - if ((0xfff < ((int)local_170 - (int)pfVar6 & 0xfffffff8U)) && - (0x1f < (uint)((int)pfVar6 + (-4 - (int)pfVar6[-1])))) { + if (pfVar7 != (float *)0x0) { + if ((0xfff < ((int)local_170 - (int)pfVar7 & 0xfffffff8U)) && + (0x1f < (uint)((int)pfVar7 + (-4 - (int)pfVar7[-1])))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } @@ -845668,16 +847134,16 @@ LAB_0097b24c: local_160 = (float)local_12c - 0.0; render_color_quad(&local_160,&local_148,extraout_ECX_00); if (this->_sampleLaser != 0) { - pfVar6 = (this->_homingLaser)._samples._begin; + pfVar7 = (this->_homingLaser)._samples._begin; local_12c = (int *)0x0; - if ((int)(this->_homingLaser)._samples._end - (int)pfVar6 >> 3 != 0) { + if ((int)(this->_homingLaser)._samples._end - (int)pfVar7 >> 3 != 0) { do { local_120 = g_displayPixelRatio * g_screenPointScale; local_124 = (void *)(((g_screenWidth - 338.0) * 0.5 + - (pfVar6[(int)local_12c * 2] - 60.0) * 0.65) * local_120 + 0.5); + (pfVar7[(int)local_12c * 2] - 60.0) * 0.65) * local_120 + 0.5); dVar19 = floor((double)(float)local_124); local_130 = (float)dVar19 / local_120; - local_124 = (void *)(((pfVar6[(int)local_12c * 2 + 1] - 140.0) * 0.65 + + local_124 = (void *)(((pfVar7[(int)local_12c * 2 + 1] - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * local_120 + 0.5); dVar19 = floor((double)(float)local_124); pvVar14 = (void *)((float)dVar19 / local_120); @@ -845687,41 +847153,41 @@ LAB_0097b24c: local_144 = (float)pvVar14 + 0.0; local_160 = local_130 - 2.0; local_15c = (float)pvVar14 - 0.0; - iVar7 = render_color_quad(&local_160,&local_148,extraout_ECX_01); - if (iVar7 != 0) { - *(float *)(iVar7 + 8) = *(float *)(iVar7 + 8) - 1.0; - *(float *)(iVar7 + 0x24) = *(float *)(iVar7 + 0x24) - 1.0; - *(float *)(iVar7 + 0x40) = *(float *)(iVar7 + 0x40) - 1.0; - *(float *)(iVar7 + 0x5c) = *(float *)(iVar7 + 0x5c) - 1.0; + iVar8 = render_color_quad(&local_160,&local_148,extraout_ECX_01); + if (iVar8 != 0) { + *(float *)(iVar8 + 8) = *(float *)(iVar8 + 8) - 1.0; + *(float *)(iVar8 + 0x24) = *(float *)(iVar8 + 0x24) - 1.0; + *(float *)(iVar8 + 0x40) = *(float *)(iVar8 + 0x40) - 1.0; + *(float *)(iVar8 + 0x5c) = *(float *)(iVar8 + 0x5c) - 1.0; } KColor::SetFromARGB(); local_1c0 = local_130 + 0.0; local_1b8 = local_130 - 0.0; local_1bc = (float)local_124 + 2.0; local_1b4 = (float)local_124 - 2.0; - iVar7 = render_color_quad(&local_1b8,&local_1c0,extraout_ECX_02); - if (iVar7 != 0) { - *(float *)(iVar7 + 8) = *(float *)(iVar7 + 8) - 1.0; - *(float *)(iVar7 + 0x24) = *(float *)(iVar7 + 0x24) - 1.0; - *(float *)(iVar7 + 0x40) = *(float *)(iVar7 + 0x40) - 1.0; - *(float *)(iVar7 + 0x5c) = *(float *)(iVar7 + 0x5c) - 1.0; + iVar8 = render_color_quad(&local_1b8,&local_1c0,extraout_ECX_02); + if (iVar8 != 0) { + *(float *)(iVar8 + 8) = *(float *)(iVar8 + 8) - 1.0; + *(float *)(iVar8 + 0x24) = *(float *)(iVar8 + 0x24) - 1.0; + *(float *)(iVar8 + 0x40) = *(float *)(iVar8 + 0x40) - 1.0; + *(float *)(iVar8 + 0x5c) = *(float *)(iVar8 + 0x5c) - 1.0; } - pfVar6 = (this->_homingLaser)._samples._begin; + pfVar7 = (this->_homingLaser)._samples._begin; local_12c = (int *)((int)local_12c + 1); - } while (local_12c < (uint)((int)(this->_homingLaser)._samples._end - (int)pfVar6 >> 3)); + } while (local_12c < (uint)((int)(this->_homingLaser)._samples._end - (int)pfVar7 >> 3)); } pvVar14 = (void *)(this->_angleDegrees * 0.017453292); local_130 = g_displayPixelRatio * g_screenPointScale; local_154 = pvVar14; cos(); - local_124 = (void *)((((*pfVar6 - (float)pvVar14 * 16.0) - 60.0) * 0.65 + + local_124 = (void *)((((*pfVar7 - (float)pvVar14 * 16.0) - 60.0) * 0.65 + (g_screenWidth - 338.0) * 0.5) * local_130 + 0.5); dVar19 = floor((double)(float)local_124); local_124 = (void *)(float)dVar19; local_120 = (float)local_124 / local_130; pvVar14 = local_154; sin(); - local_124 = (void *)((((pfVar6[1] - (float)pvVar14 * 16.0) - 140.0) * 0.65 + + local_124 = (void *)((((pfVar7[1] - (float)pvVar14 * 16.0) - 140.0) * 0.65 + (g_screenHeight - 182.0) * 0.5) * local_130 + 0.5); dVar19 = floor((double)(float)local_124); pvVar14 = (void *)((float)dVar19 / local_130); @@ -845731,24 +847197,24 @@ LAB_0097b24c: local_144 = (float)pvVar14 + 0.0; local_160 = local_120 - 2.0; local_15c = (float)pvVar14 - 0.0; - iVar7 = render_color_quad(&local_160,&local_148,extraout_ECX_03); - if (iVar7 != 0) { - *(float *)(iVar7 + 8) = *(float *)(iVar7 + 8) - 1.0; - *(float *)(iVar7 + 0x24) = *(float *)(iVar7 + 0x24) - 1.0; - *(float *)(iVar7 + 0x40) = *(float *)(iVar7 + 0x40) - 1.0; - *(float *)(iVar7 + 0x5c) = *(float *)(iVar7 + 0x5c) - 1.0; + iVar8 = render_color_quad(&local_160,&local_148,extraout_ECX_03); + if (iVar8 != 0) { + *(float *)(iVar8 + 8) = *(float *)(iVar8 + 8) - 1.0; + *(float *)(iVar8 + 0x24) = *(float *)(iVar8 + 0x24) - 1.0; + *(float *)(iVar8 + 0x40) = *(float *)(iVar8 + 0x40) - 1.0; + *(float *)(iVar8 + 0x5c) = *(float *)(iVar8 + 0x5c) - 1.0; } KColor::SetFromARGB(); local_148 = local_120 + 0.0; local_160 = local_120 - 0.0; local_144 = (float)local_124 + 2.0; local_15c = (float)local_124 - 2.0; - iVar7 = render_color_quad(&local_160,&local_148,extraout_ECX_04); - if (iVar7 != 0) { - *(float *)(iVar7 + 8) = *(float *)(iVar7 + 8) - 1.0; - *(float *)(iVar7 + 0x24) = *(float *)(iVar7 + 0x24) - 1.0; - *(float *)(iVar7 + 0x40) = *(float *)(iVar7 + 0x40) - 1.0; - *(float *)(iVar7 + 0x5c) = *(float *)(iVar7 + 0x5c) - 1.0; + iVar8 = render_color_quad(&local_160,&local_148,extraout_ECX_04); + if (iVar8 != 0) { + *(float *)(iVar8 + 8) = *(float *)(iVar8 + 8) - 1.0; + *(float *)(iVar8 + 0x24) = *(float *)(iVar8 + 0x24) - 1.0; + *(float *)(iVar8 + 0x40) = *(float *)(iVar8 + 0x40) - 1.0; + *(float *)(iVar8 + 0x5c) = *(float *)(iVar8 + 0x5c) - 1.0; } } } @@ -846070,7 +847536,7 @@ LAB_0097c249: ((pVVar25->x < local_70 && (fVar24 = pVVar27->x, fVar24 < 0.0)))) { pVVar25->x = local_70; pVVar27->x = fVar24 * -1.0; - puVar14 = (uint *)BitSet128::__bnot(&local_50.field_0x18); + puVar14 = (uint *)BitSet128::__bnot(&local_50._velocity); *(uint *)&(this->_tearFlags)._l = (uint)(this->_tearFlags)._l & *puVar14; puVar1 = (uint *)((int)&(this->_tearFlags)._l + 4); *puVar1 = *puVar1 & puVar14[1]; @@ -846092,7 +847558,7 @@ LAB_0097c249: ((fVar24 < (float)local_6c[0] && (fVar26 = *pfVar2, fVar26 < 0.0)))) { (this->_pos).y = (float)local_6c[0]; *pfVar2 = fVar26 * -1.0; - puVar14 = (uint *)BitSet128::__bnot(&local_50.field_0x18); + puVar14 = (uint *)BitSet128::__bnot(&local_50._velocity); *(uint *)&(this->_tearFlags)._l = (uint)(this->_tearFlags)._l & *puVar14; puVar1 = (uint *)((int)&(this->_tearFlags)._l + 4); *puVar1 = *puVar1 & puVar14[1]; @@ -846335,8 +847801,8 @@ undefined4 __thiscall Entity_Laser::RenderShadowLayer(Entity_Laser *this,float * byte bVar2; char cVar3; int iVar4; - int *piVar5; - LayerState *pLVar6; + LayerState *pLVar5; + int *piVar6; float *pfVar7; undefined *puVar8; BitSet128 **ppBVar9; @@ -846457,9 +847923,9 @@ undefined4 __thiscall Entity_Laser::RenderShadowLayer(Entity_Laser *this,float * return 1; } local_12c = &this->_sprite; - ANM2::GetLayer(local_12c,(byte *)0x0); - piVar5 = (int *)LayerState::GetTexture(); - iVar4 = *piVar5; + pLVar5 = ANM2::GetLayer(local_12c,(byte *)0x0); + piVar6 = (int *)LayerState::GetTexture(pLVar5); + iVar4 = *piVar6; local_8 = 0; if (((local_d8 != (BitSet128 *)0x0) && (cVar3 = (**(code **)((int)local_d8->_l + 0xc))(), cVar3 != '\0')) && @@ -846478,19 +847944,19 @@ undefined4 __thiscall Entity_Laser::RenderShadowLayer(Entity_Laser *this,float * KAGE_LogMessage(); } AnimationState::copy_assign((AnimationState *)local_ac); - pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)(uint)(1 < uVar1)); + pLVar5 = ANM2::GetLayer(&this->_sprite,(byte *)(uint)(1 < uVar1)); local_d0 = (float *)0x0; local_cc = (float *)0x0; local_c8 = (float *)0x0; - local_c4 = local_94 * (this->_sprite)._scale.x * (pLVar6->_size).x; + local_c4 = local_94 * (this->_sprite)._scale.x * (pLVar5->_size).x; local_8 = 1; std::vector<8byte>::reserve(); - pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - pLVar6->_wrapSMode = 0; - pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); - pLVar6->_wrapTMode = 0; - ANM2::GetLayer(&this->_sprite,(byte *)0x0); - LayerState::GetTexture(); + pLVar5 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + pLVar5->_wrapSMode = 0; + pLVar5 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + pLVar5->_wrapTMode = 0; + pLVar5 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + LayerState::GetTexture(pLVar5); local_8 = CONCAT31(local_8._1_3_,2); local_b4 = (this->_homingLaser)._samples._begin; local_fc = (this->_posOffset).x * 0.65; @@ -846659,8 +848125,8 @@ undefined4 __thiscall Entity_Laser::RenderShadowLayer(Entity_Laser *this,float * sqrtf(); local_d8 = &local_104->_tearFlags; local_b4 = pvVar14; - piVar5 = (int *)BitSet128::operator_and(); - if (((*piVar5 == 0 && piVar5[1] == 0) && (piVar5[2] == 0 && piVar5[3] == 0)) || + piVar6 = (int *)BitSet128::operator_and(); + if (((*piVar6 == 0 && piVar6[1] == 0) && (piVar6[2] == 0 && piVar6[3] == 0)) || (((iVar4 = local_104->_subtype, iVar4 == 1 || (iVar4 == 2)) || (iVar4 == 3)))) { fVar19 = local_e4; fVar15 = local_d4; @@ -846692,8 +848158,8 @@ undefined4 __thiscall Entity_Laser::RenderShadowLayer(Entity_Laser *this,float * fVar16 = fVar16 * (local_c0 - local_110) + local_110; } fVar17 = local_e8; - piVar5 = (int *)BitSet128::operator_and(); - if ((((*piVar5 != 0 || piVar5[1] != 0) || (piVar5[2] != 0 || piVar5[3] != 0)) && + piVar6 = (int *)BitSet128::operator_and(); + if ((((*piVar6 != 0 || piVar6[1] != 0) || (piVar6[2] != 0 || piVar6[3] != 0)) && (iVar4 = local_104->_subtype, iVar4 != 1)) && ((iVar4 != 2 && (iVar4 != 3)))) { local_108 = (BitSet128 *)0x3f800000; local_d8 = (BitSet128 *)(local_ec / 300.0); @@ -846784,11 +848250,11 @@ undefined4 __thiscall Entity_Laser::RenderShadowLayer(Entity_Laser *this,float * KAGE_LogMessage(); } AnimationState::copy_assign((AnimationState *)local_ac); - pLVar6 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); + pLVar5 = ANM2::GetLayer(&this->_sprite,(byte *)0x0); pfVar12 = (this->_homingLaser)._samples._begin; local_180 = (float)local_ac._4_4_ + 0.01; local_170 = (float)local_ac._12_4_ + (float)local_ac._4_4_; - local_c4 = local_94 * (pLVar6->_size).x * (this->_sprite)._scale.x; + local_c4 = local_94 * (pLVar5->_size).x * (this->_sprite)._scale.x; local_164 = 1; local_17c = (float)local_ac._8_4_ + (float)local_ac._0_4_; local_174 = (void *)local_ac._0_4_; @@ -846842,11 +848308,11 @@ undefined4 __thiscall Entity_Laser::RenderShadowLayer(Entity_Laser *this,float * local_20 = 0; local_1c = 0; local_18 = 0; - ANM2::GetLayer(local_12c,(byte *)0x0); - LayerState::GetTexture(auStack_21e + -10); + pLVar5 = ANM2::GetLayer(local_12c,(byte *)0x0); + LayerState::GetTexture(pLVar5,auStack_21e + -10); apply_sprite_shader_params(1); - ANM2::GetLayer(local_12c,(byte *)0x0); - puVar10 = (undefined4 *)LayerState::GetTexture(); + pLVar5 = ANM2::GetLayer(local_12c,(byte *)0x0); + puVar10 = (undefined4 *)LayerState::GetTexture(pLVar5); local_8 = CONCAT31(local_8._1_3_,3); local_130 = 0; local_140 = local_40; @@ -846919,8 +848385,6 @@ void Entity_Laser::damage_entity(Entity_Tear *param_1) uint uVar13; EntityRef local_60; RNG local_38; - undefined8 local_34; - undefined4 local_2c; undefined4 *local_24; uint local_20; uint local_1c; @@ -847004,9 +848468,10 @@ LAB_0097e656: uVar7 = local_20; } else { - local_38 = (RNG)param_1->_initSeed; - local_34 = 0x500000001; - local_2c = 0x13; + local_38._seed = param_1->_initSeed; + local_38._shift1 = 1; + local_38._shift2 = 5; + local_38._shift3 = 0x13; fVar12 = RNG::RandomFloat(&local_38); if (in_ECX[1]._sprite._scale.y <= fVar12) goto LAB_0097e656; uVar7 = local_20 | 0x800000; @@ -848324,7 +849789,7 @@ void Game::ShowFortuneText(char *param_1) local_4c = pcVar5; std::map::find(&local_48,&local_4c); max = (undefined4 ***)0x0; - if (local_48 != *(undefined4 *****)&pMVar4->field_0x4a92c) { + if (local_48 != (pMVar4->_stringTable)._categories._head) { max = local_48[6]; } if (pcVar5 != (char *)0x0) { @@ -848333,7 +849798,8 @@ void Game::ShowFortuneText(char *param_1) local_8 = (undefined4 ***)0xffffffff; } uVar6 = RNG::RandomInt(local_44,(uint)max); - pcVar5 = (char *)StringTable::get_string_by_index(local_40,g_manager->_stringTable,uVar6); + pcVar5 = (char *)StringTable::get_string_by_index + (local_40,*(undefined4 *)&g_manager->_stringTable,uVar6); local_3c = (undefined4 *)0x0; local_38 = 0; local_4c = pcVar5; @@ -848411,13 +849877,13 @@ void Game::ShowFortuneText(char *param_1) if (uVar11 < 0x10) { memcpy(local_48,local_30,uVar9); *local_40 = local_31; - *(undefined1 *)local_44 = 0; + *(undefined1 *)&local_44->_seed = 0; } else { memcpy(local_48,ppppuVar8,uVar9); *local_40 = local_31; uVar9 = uVar11 + 1; - *(undefined1 *)local_44 = 0; + *(undefined1 *)&local_44->_seed = 0; ppppuVar10 = ppppuVar8; if (0xfff < uVar9) { ppppuVar10 = (undefined4 ****)ppppuVar8[-1]; @@ -848668,40 +850134,33 @@ LAB_00981012: void __thiscall Menu_Game::Update(Menu_Game *this) { - byte bVar1; - float *pfVar2; - int *piVar3; - undefined1 *puVar4; - int *piVar5; - char cVar6; - uint uVar7; + ChallengeParam *pCVar1; + undefined1 *puVar2; + byte bVar3; + int *piVar4; + float *pfVar5; + int *piVar6; + MenuManager *pMVar7; + int *piVar8; + char cVar9; + uint uVar10; undefined4 extraout_EAX; - float fVar8; - byte *pbVar9; - LayerState *pLVar10; + float fVar11; + byte *pbVar12; + LayerState *pLVar13; undefined4 extraout_ECX; undefined4 extraout_ECX_00; undefined4 extraout_ECX_01; - int iVar11; - char *pcVar12; - Manager *pMVar13; - bool bVar14; - undefined4 uVar15; - code *pcVar16; - undefined4 uVar17; - void *pvVar18; - undefined4 uVar19; - undefined1 local_148 [52]; - undefined4 local_114; - undefined4 local_110; - undefined4 local_10c; - undefined4 uStack_108; - undefined4 uStack_104; - undefined4 uStack_100; - undefined4 local_fc; - float local_f8; - void *local_f4; - int local_f0; + int iVar14; + char *pcVar15; + Manager *pMVar16; + bool bVar17; + undefined4 uVar18; + code *pcVar19; + undefined4 uVar20; + void *pvVar21; + undefined4 uVar22; + Seeds local_148; undefined4 local_e8; undefined1 *local_e4; undefined1 *local_e0; @@ -848715,36 +850174,37 @@ void __thiscall Menu_Game::Update(Menu_Game *this) undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; - undefined4 local_14; + int local_14; - puStack_20 = (undefined1 *)((int)register0x00000010 + -4); + puStack_20 = (undefined1 *)((&local_88)[1]._stageSeeds + 4); local_14 = 0xffffffff; puStack_18 = &LAB_00b0cd63; local_1c = ExceptionList; - uVar7 = __security_cookie ^ (int)register0x00000010 - 0x10U; + uVar10 = __security_cookie ^ (uint)((&local_88)[1]._stageSeeds + 1); ExceptionList = &local_1c; - local_24 = uVar7; - puVar4 = (undefined1 *)((int)register0x00000010 + -4); + local_24 = uVar10; + piVar4 = (&local_88)[1]._stageSeeds + 4; if ((g_menuManager->_selectedMenuID != 3) && - (ANM2::SetAnimation(&this->ContinueWidgetSprite,(byte *)"Dissapear",1), puVar4 = puStack_20, - (this->ContinueWidgetSprite)._animState._animData != (void *)0x0)) { + (ANM2::SetAnimation(&this->ContinueWidgetSprite,(byte *)"Dissapear",1), + piVar4 = (int *)puStack_20, (this->ContinueWidgetSprite)._animState._animData != (void *)0x0)) + { AnimationState::AdvancePosition (&(this->ContinueWidgetSprite)._animState, *(int *)((int)(this->ContinueWidgetSprite)._animState._animData + 0x30) + -1); - puVar4 = puStack_20; + piVar4 = (int *)puStack_20; } - puStack_20 = puVar4; + puStack_20 = (undefined1 *)piVar4; if ((g_manager->_framecount & 1) == 0) { if ((this->GameMenuSprite)._loaded != 0) { - AnimationState::Update(uVar7); + AnimationState::Update(uVar10); AnimationState::Update(); } if ((this->ContinueWidgetSprite)._loaded != 0) { - AnimationState::Update(uVar7); + AnimationState::Update(uVar10); AnimationState::Update(); } } - pMVar13 = g_manager; + pMVar16 = g_manager; if (g_menuManager->_fadeOutActive != 0) { if (g_menuManager->_fadeOutProgress < 1.0) { ExceptionList = local_1c; @@ -848754,67 +850214,69 @@ void __thiscall Menu_Game::Update(Menu_Game *this) ExceptionList = local_1c; return; } - puVar4 = &g_manager->field_0x20d90; + bVar3 = (g_manager->_gamestate)._isSaveAvailable; + pCVar1 = &(g_manager->_dailyChallenge)._params; g_manager->_debugStart = 0; - if (*puVar4 == '\0') { - pMVar13->_rerunAvailable = 0; - pMVar13->_startingFromRerun = 1; - (pMVar13->_dailyChallenge)._id = 0; - (pMVar13->_dailyChallenge)._seed = 0; - (pMVar13->_dailyChallenge)._specialDailyId = 0; - (pMVar13->_dailyChallenge)._isPractice = 0; - ChallengeParam::Reset(); - pMVar13->_starting = 1; - pMVar13->_networkPlay = 0; - *(undefined4 *)&pMVar13->field_0x4abc0 = 0; + if (bVar3 == 0) { + pMVar16->_rerunAvailable = 0; + pMVar16->_startingFromRerun = 1; + (pMVar16->_dailyChallenge)._id = 0; + (pMVar16->_dailyChallenge)._seed = 0; + (pMVar16->_dailyChallenge)._specialDailyId = 0; + (pMVar16->_dailyChallenge)._isPractice = 0; + ChallengeParam::Reset(pCVar1); + pMVar16->_starting = 1; + pMVar16->_networkPlay = 0; + pMVar16->_consecutiveResetCount = 0; ExceptionList = local_1c; return; } - pMVar13->_rerunAvailable = 1; - pMVar13->_startingFromRerun = 0; - (pMVar13->_dailyChallenge)._id = 0; - (pMVar13->_dailyChallenge)._seed = 0; - (pMVar13->_dailyChallenge)._specialDailyId = 0; - (pMVar13->_dailyChallenge)._isPractice = 0; - ChallengeParam::Reset(); - pMVar13->_starting = 1; - pMVar13->_networkPlay = 0; - *(undefined4 *)&pMVar13->field_0x4abc0 = 0; + pMVar16->_rerunAvailable = 1; + pMVar16->_startingFromRerun = 0; + (pMVar16->_dailyChallenge)._id = 0; + (pMVar16->_dailyChallenge)._seed = 0; + (pMVar16->_dailyChallenge)._specialDailyId = 0; + (pMVar16->_dailyChallenge)._isPractice = 0; + ChallengeParam::Reset(pCVar1); + pMVar16->_starting = 1; + pMVar16->_networkPlay = 0; + pMVar16->_consecutiveResetCount = 0; ExceptionList = local_1c; return; } local_d4 = (Manager *)&DAT_0000001c; - cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a209e0,&local_d4,0,0); - if (cVar6 == '\0') { - pcVar16 = FUN_00a209e0; - uVar15 = 0xffffffff; + cVar9 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a209e0,&local_d4,0,0); + if (cVar9 == '\0') { + pcVar19 = FUN_00a209e0; + uVar18 = 0xffffffff; local_d4 = (Manager *)&DAT_0000000e; - cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a209e0,&local_d4,0,0); - pMVar13 = g_manager; - if (cVar6 == '\0') { + cVar9 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a209e0,&local_d4,0,0); + pMVar16 = g_manager; + if (cVar9 == '\0') { local_dc = 3.08286e-44; - cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a20940,&local_dc,0,0); - pMVar13 = g_manager; - if (cVar6 == '\0') { + cVar9 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a20940,&local_dc,0,0); + pMVar16 = g_manager; + if (cVar9 == '\0') { local_dc = 3.22299e-44; - cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a20940,&local_dc,0,0); - pMVar13 = g_manager; - if (cVar6 == '\0') { + cVar9 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a20940,&local_dc,0,0); + pMVar16 = g_manager; + if (cVar9 == '\0') { local_dc = 2.10195e-44; - cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a209e0,&local_dc,0,0); - if (cVar6 != '\0') { + cVar9 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a209e0,&local_dc,0,0); + if (cVar9 != '\0') { FUN_0098aec0(); } } else { - iVar11 = this->KeyDownTimer; - if ((iVar11 == 0) || ((0x31 < iVar11 && (iVar11 % 10 == 0)))) { - iVar11 = this->SelectedElement + 1; - this->SelectedElement = iVar11; - if ((iVar11 != 1) || - ((pMVar13->field_0x20d90 != '\0' || (pMVar13->field_0x20d91 != '\0')))) { - if (5 < iVar11) { - iVar11 = 0; + iVar14 = this->KeyDownTimer; + if ((iVar14 == 0) || ((0x31 < iVar14 && (iVar14 % 10 == 0)))) { + iVar14 = this->SelectedElement + 1; + this->SelectedElement = iVar14; + if ((iVar14 != 1) || + (((pMVar16->_gamestate)._isSaveAvailable != 0 || + ((pMVar16->_gamestate)._isRerunAvailable != 0)))) { + if (5 < iVar14) { + iVar14 = 0; } goto LAB_00981778; } @@ -848824,25 +850286,26 @@ void __thiscall Menu_Game::Update(Menu_Game *this) } } else { - iVar11 = this->KeyDownTimer; - if ((iVar11 == 0) || ((0x31 < iVar11 && (iVar11 % 10 == 0)))) { - iVar11 = this->SelectedElement + -1; - this->SelectedElement = iVar11; - if ((iVar11 == 1) && - ((pMVar13->field_0x20d90 == '\0' && (pMVar13->field_0x20d91 == '\0')))) { + iVar14 = this->KeyDownTimer; + if ((iVar14 == 0) || ((0x31 < iVar14 && (iVar14 % 10 == 0)))) { + iVar14 = this->SelectedElement + -1; + this->SelectedElement = iVar14; + if ((iVar14 == 1) && + (((pMVar16->_gamestate)._isSaveAvailable == 0 && + ((pMVar16->_gamestate)._isRerunAvailable == 0)))) { this->SelectedElement = 0; } else { - if (iVar11 < 0) { - iVar11 = 5; + if (iVar14 < 0) { + iVar14 = 5; } LAB_00981778: - this->SelectedElement = iVar11; + this->SelectedElement = iVar14; } LAB_0098177b: local_d4 = (Manager *)0x11a; seed_fart_sound_override(); - SoundEffects::Play(&pMVar13->_sfxManager,(int)local_d4,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar16->_sfxManager,(int)local_d4,1.0,2,0,1.0,0.0); } } } @@ -848852,12 +850315,13 @@ LAB_0098177b: MenuManager::push_menu(5,extraout_ECX_00); break; case 1: - g_manager->_selectedDifficulty = *(int *)&g_manager->field_0xfac; - Seeds::construct_from_copy((Seeds *)local_148,(Seeds *)&pMVar13->field_0x1f6c8); + g_manager->_selectedDifficulty = *(int *)&(g_manager->_gamestate).field_0x8; + Seeds::construct_from_copy(&local_148,(Seeds *)&(pMVar16->_gamestate).field_0x1e724); + pMVar7 = g_menuManager; local_14 = 0; - Seeds::construct_from_copy(&local_88,(Seeds *)local_148); + Seeds::construct_from_copy(&local_88,&local_148); local_14 = CONCAT31(local_14._1_3_,1); - Seeds::operator_assign(extraout_EAX); + Seeds::operator_assign(&pMVar7->_seedsObject,extraout_EAX); FID_conflict__Erase_tree_>_> (&local_88._seedEffects, (fuzzer_allocator_> *)&local_88._seedEffects, @@ -848865,63 +850329,65 @@ LAB_0098177b: operator_delete(local_88._seedEffects,0x14); local_14 = 0xffffffff; FID_conflict__Erase_tree_>_> - (local_148 + 0x54, - (fuzzer_allocator_> *)(local_148 + 0x54), - *(_Tree_node **)((int)local_f4 + 4)); - uVar19 = 0x14; - uVar17 = 0x98141e; - pvVar18 = local_f4; - operator_delete(local_f4,0x14); + (&local_148._seedEffects, + (fuzzer_allocator_> *)&local_148._seedEffects + ,*(_Tree_node **)((int)local_148._seedEffects + 4)); + uVar22 = 0x14; + uVar20 = 0x98141e; + pvVar21 = local_148._seedEffects; + operator_delete(local_148._seedEffects,0x14); KColor::SetFromARGB(0xff000000); - MenuManager::start_game(uVar15,pcVar16,uVar17,pvVar18,uVar19); + MenuManager::start_game(uVar18,pcVar19,uVar20,pvVar21,uVar22); break; case 2: - cVar6 = online_check_mods_allowed(); - if ((cVar6 == '\0') && (cVar6 = show_beta_disclaimer_popup(this), cVar6 == '\0')) { + cVar9 = online_check_mods_allowed(); + if ((cVar9 == '\0') && (cVar9 = show_beta_disclaimer_popup(this), cVar9 == '\0')) { FUN_00907200(); local_e4 = &DAT_bf800000; local_e0 = &DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,0,0,&local_e4); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,0,0,&local_e4); local_14 = 2; - local_10c = 0x3e5cdcdd; - uStack_108 = 0x3e2cacad; - uStack_104 = 0x3e34b4b5; - uStack_100 = 0x3f800000; - local_f8 = g_vectorZero.x; - local_148._44_4_ = 0; - local_148._48_4_ = "##GAME###Online/CONNECTING_TO_SERVER"; - local_114 = 0xffffffff; - local_110 = 0xffffffff; - local_fc = 0; - local_f4 = (void *)g_vectorZero.y; - local_f0 = 1; - std::vector<48byte>::push_back(local_148 + 0x2c); + local_148._stageSeeds[9] = 0x3e5cdcdd; + local_148._stageSeeds[10] = 0x3e2cacad; + local_148._stageSeeds[0xb] = 0x3e34b4b5; + local_148._stageSeeds[0xc] = 0x3f800000; + local_148._playerInitSeed = (int)g_vectorZero.x; + local_148._stageSeeds[5] = 0; + local_148._stageSeeds[6] = 0xb78894; + local_148._stageSeeds[7] = -1; + local_148._stageSeeds[8] = -1; + local_148._stageSeeds[0xd] = 0; + local_148._seedEffects = (void *)g_vectorZero.y; + local_148._seedEffectsCount = 1; + std::vector<48byte>::push_back(local_148._stageSeeds + 5); local_a0 = 2000; - fVar8 = (float)PopupQueue::push(local_d0); - this[1].PositionX = fVar8; - local_dc = fVar8; + fVar11 = (float)PopupQueue::push(local_d0); + this[1].PositionX = fVar11; + local_dc = fVar11; if (g_multiplayerService == (void *)0x0) { on_online_connect_result(0,this); LAB_0098158b: local_d4 = g_manager; - if (fVar8 != -NAN) { - (**(code **)(*(int *)&g_manager[1].field_0x1c9c + 0xc))(0xffffffff); - piVar5 = (int *)**(int **)&local_d4[1].field_0x1c94; + if (fVar11 != -NAN) { + (**(code **)(*(int *)&g_manager[1]._gamestate.field_0xcf8 + 0xc))(0xffffffff); + piVar4 = *(int **)&local_d4[1]._gamestate.field_0xcf0; + piVar8 = (int *)*piVar4; do { - piVar3 = piVar5; - if (piVar3 == *(int **)&local_d4[1].field_0x1c94) goto LAB_00981607; - pfVar2 = (float *)piVar3[2]; - piVar5 = (int *)*piVar3; - } while (*pfVar2 != local_dc); - *(int **)piVar3[1] = (int *)*piVar3; - *(int *)(*piVar3 + 4) = piVar3[1]; - *(int *)&local_d4[1].field_0x1c98 = *(int *)&local_d4[1].field_0x1c98 + -1; - operator_delete(piVar3,0xc); - if (pfVar2 != (float *)0x0) { + piVar6 = piVar8; + if (piVar6 == piVar4) goto LAB_00981607; + pfVar5 = (float *)piVar6[2]; + piVar8 = (int *)*piVar6; + } while (*pfVar5 != local_dc); + *(int **)piVar6[1] = (int *)*piVar6; + *(int *)(*piVar6 + 4) = piVar6[1]; + puVar2 = &local_d4[1]._gamestate.field_0xcf4; + *(int *)puVar2 = *(int *)puVar2 + -1; + operator_delete(piVar6,0xc); + if (pfVar5 != (float *)0x0) { Popup::destroy(extraout_ECX_01); } LAB_00981607: - (**(code **)(*(int *)&local_d4[1].field_0x1c9c + 0x10))(); + (**(code **)(*(int *)&local_d4[1]._gamestate.field_0xcf8 + 0x10))(); } this[1].PositionX = -NAN; } @@ -848929,8 +850395,8 @@ LAB_00981607: _DAT_00c5abc4 = _DAT_00c5abc4 | 2; DAT_00c5abd0 = on_online_connect_result; DAT_00c5abd4 = this; - cVar6 = (**(code **)(*(int *)g_multiplayerService + 0xc))(on_online_connect_result); - if (cVar6 == '\0') goto LAB_0098158b; + cVar9 = (**(code **)(*(int *)g_multiplayerService + 0xc))(on_online_connect_result); + if (cVar9 == '\0') goto LAB_0098158b; } local_14 = 0xffffffff; FUN_00420710(); @@ -848951,11 +850417,11 @@ LAB_00981607: MenuManager::push_menu(0x10,extraout_ECX); } local_dc = 3.08286e-44; - cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a20940,&local_dc,0,0); - if (cVar6 == '\0') { + cVar9 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a20940,&local_dc,0,0); + if (cVar9 == '\0') { local_e8 = 0x17; - cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a20940,&local_e8,0,0); - if (cVar6 != '\0') goto LAB_0098185b; + cVar9 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(0xffffffff,FUN_00a20940,&local_e8,0,0); + if (cVar9 != '\0') goto LAB_0098185b; this->KeyDownTimer = 0; } else { @@ -848963,103 +850429,104 @@ LAB_0098185b: this->KeyDownTimer = this->KeyDownTimer + 1; } if (this->SelectedElement == 1) { - if ((g_manager->field_0x20d90 == '\0') && (g_manager->field_0x20d91 == '\0')) { + if (((g_manager->_gamestate)._isSaveAvailable == 0) && + ((g_manager->_gamestate)._isRerunAvailable == 0)) { this->SelectedElement = 0; goto LAB_00981881; } - if (g_manager->field_0x20d91 != '\0') goto LAB_00981881; + if ((g_manager->_gamestate)._isRerunAvailable != 0) goto LAB_00981881; if (((this->ContinueWidgetSprite)._animState._animData == (void *)0x0) || ((this->ContinueWidgetSprite)._animState._isPlaying != 0)) { LAB_00981912: - pbVar9 = (this->ContinueWidgetSprite)._animState._animData; - if ((pbVar9 == (byte *)0x0) || ((this->ContinueWidgetSprite)._animState._isPlaying != 0)) + pbVar12 = (this->ContinueWidgetSprite)._animState._animData; + if ((pbVar12 == (byte *)0x0) || ((this->ContinueWidgetSprite)._animState._isPlaying != 0)) goto LAB_00981a25; - if (0xf < *(uint *)(pbVar9 + 0x14)) { - pbVar9 = *(byte **)pbVar9; + if (0xf < *(uint *)(pbVar12 + 0x14)) { + pbVar12 = *(byte **)pbVar12; } - pcVar12 = "Dissapear"; + pcVar15 = "Dissapear"; do { - bVar1 = *pbVar9; - bVar14 = bVar1 < (byte)*pcVar12; - if (bVar1 != *pcVar12) { + bVar3 = *pbVar12; + bVar17 = bVar3 < (byte)*pcVar15; + if (bVar3 != *pcVar15) { LAB_00981960: - uVar7 = -(uint)bVar14 | 1; + uVar10 = -(uint)bVar17 | 1; goto LAB_00981965; } - if (bVar1 == 0) break; - bVar1 = pbVar9[1]; - bVar14 = bVar1 < (byte)pcVar12[1]; - if (bVar1 != pcVar12[1]) goto LAB_00981960; - pbVar9 = pbVar9 + 2; - pcVar12 = pcVar12 + 2; - } while (bVar1 != 0); - uVar7 = 0; + if (bVar3 == 0) break; + bVar3 = pbVar12[1]; + bVar17 = bVar3 < (byte)pcVar15[1]; + if (bVar3 != pcVar15[1]) goto LAB_00981960; + pbVar12 = pbVar12 + 2; + pcVar15 = pcVar15 + 2; + } while (bVar3 != 0); + uVar10 = 0; LAB_00981965: - if (uVar7 != 0) goto LAB_00981a25; + if (uVar10 != 0) goto LAB_00981a25; PreRenderContinueImg(this); ANM2::Play(&this->ContinueWidgetSprite,(byte *)"Appear",0); local_d4 = (Manager *)0x11b; goto LAB_009819e5; } - pbVar9 = (this->ContinueWidgetSprite)._animState._animData; - if (0xf < *(uint *)(pbVar9 + 0x14)) { - pbVar9 = *(byte **)pbVar9; + pbVar12 = (this->ContinueWidgetSprite)._animState._animData; + if (0xf < *(uint *)(pbVar12 + 0x14)) { + pbVar12 = *(byte **)pbVar12; } - pcVar12 = "Appear"; + pcVar15 = "Appear"; do { - bVar1 = *pbVar9; - bVar14 = bVar1 < (byte)*pcVar12; - if (bVar1 != *pcVar12) { + bVar3 = *pbVar12; + bVar17 = bVar3 < (byte)*pcVar15; + if (bVar3 != *pcVar15) { LAB_009818f3: - uVar7 = -(uint)bVar14 | 1; + uVar10 = -(uint)bVar17 | 1; goto LAB_009818f8; } - if (bVar1 == 0) break; - bVar1 = pbVar9[1]; - bVar14 = bVar1 < (byte)pcVar12[1]; - if (bVar1 != pcVar12[1]) goto LAB_009818f3; - pbVar9 = pbVar9 + 2; - pcVar12 = pcVar12 + 2; - } while (bVar1 != 0); - uVar7 = 0; + if (bVar3 == 0) break; + bVar3 = pbVar12[1]; + bVar17 = bVar3 < (byte)pcVar15[1]; + if (bVar3 != pcVar15[1]) goto LAB_009818f3; + pbVar12 = pbVar12 + 2; + pcVar15 = pcVar15 + 2; + } while (bVar3 != 0); + uVar10 = 0; LAB_009818f8: - if (uVar7 != 0) goto LAB_00981912; + if (uVar10 != 0) goto LAB_00981912; ANM2::Play(&this->ContinueWidgetSprite,s_Idle,0); } else { LAB_00981881: - pbVar9 = (this->ContinueWidgetSprite)._animState._animData; - if (pbVar9 == (byte *)0x0) { - pbVar9 = &s_empty; + pbVar12 = (this->ContinueWidgetSprite)._animState._animData; + if (pbVar12 == (byte *)0x0) { + pbVar12 = &s_empty; } - else if (0xf < *(uint *)(pbVar9 + 0x14)) { - pbVar9 = *(byte **)pbVar9; + else if (0xf < *(uint *)(pbVar12 + 0x14)) { + pbVar12 = *(byte **)pbVar12; } - pcVar12 = "Dissapear"; + pcVar15 = "Dissapear"; do { - bVar1 = *pbVar9; - bVar14 = bVar1 < (byte)*pcVar12; - if (bVar1 != *pcVar12) { + bVar3 = *pbVar12; + bVar17 = bVar3 < (byte)*pcVar15; + if (bVar3 != *pcVar15) { LAB_009819c0: - uVar7 = -(uint)bVar14 | 1; + uVar10 = -(uint)bVar17 | 1; goto LAB_009819c5; } - if (bVar1 == 0) break; - bVar1 = pbVar9[1]; - bVar14 = bVar1 < (byte)pcVar12[1]; - if (bVar1 != pcVar12[1]) goto LAB_009819c0; - pbVar9 = pbVar9 + 2; - pcVar12 = pcVar12 + 2; - } while (bVar1 != 0); - uVar7 = 0; + if (bVar3 == 0) break; + bVar3 = pbVar12[1]; + bVar17 = bVar3 < (byte)pcVar15[1]; + if (bVar3 != pcVar15[1]) goto LAB_009819c0; + pbVar12 = pbVar12 + 2; + pcVar15 = pcVar15 + 2; + } while (bVar3 != 0); + uVar10 = 0; LAB_009819c5: - if (uVar7 != 0) { + if (uVar10 != 0) { ANM2::Play(&this->ContinueWidgetSprite,(byte *)"Dissapear",0); local_d4 = (Manager *)0x11c; LAB_009819e5: - pMVar13 = g_manager; + pMVar16 = g_manager; seed_fart_sound_override(); - SoundEffects::Play(&pMVar13->_sfxManager,(int)local_d4,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar16->_sfxManager,(int)local_d4,1.0,2,0,1.0,0.0); } } LAB_00981a25: @@ -849069,41 +850536,41 @@ LAB_00981a25: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"LayerId out of bounds\n"); } - pvVar18 = (this->GameMenuSprite)._animState._animData; - local_d4 = *(Manager **)((int)pvVar18 + 0x50); - if (((pvVar18 == (void *)0x0) || ((int)local_d4 < 0)) || - (*(int *)((int)pvVar18 + 0x1c) <= (int)local_d4)) { + pvVar21 = (this->GameMenuSprite)._animState._animData; + local_d4 = *(Manager **)((int)pvVar21 + 0x50); + if (((pvVar21 == (void *)0x0) || ((int)local_d4 < 0)) || + (*(int *)((int)pvVar21 + 0x1c) <= (int)local_d4)) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"id out of bounds\n"); } *(undefined4 *)((int)(this->GameMenuSprite)._animState._layerFrames + (int)local_d4 * 4) = 0; AnimationState::AdvanceLayerPosition(local_d4); } - if (g_manager->field_0x20d90 == '\0') { + if ((g_manager->_gamestate)._isSaveAvailable == 0) { if ((this->GameMenuSprite)._animState._animData == (void *)0x0) goto LAB_00981c09; - pvVar18 = (this->GameMenuSprite)._animState._animation; - if (g_manager->field_0x20d91 == '\0') { - if (*(int *)((int)pvVar18 + 0x80) < 3) { + pvVar21 = (this->GameMenuSprite)._animState._animation; + if ((g_manager->_gamestate)._isRerunAvailable == 0) { + if (*(int *)((int)pvVar21 + 0x80) < 3) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"LayerId out of bounds\n"); } - pvVar18 = (this->GameMenuSprite)._animState._animData; - local_e0 = *(undefined1 **)((int)pvVar18 + 0x40); - if (((pvVar18 == (void *)0x0) || ((int)local_e0 < 0)) || - (*(int *)((int)pvVar18 + 0x1c) <= (int)local_e0)) { + pvVar21 = (this->GameMenuSprite)._animState._animData; + local_e0 = *(undefined1 **)((int)pvVar21 + 0x40); + if (((pvVar21 == (void *)0x0) || ((int)local_e0 < 0)) || + (*(int *)((int)pvVar21 + 0x1c) <= (int)local_e0)) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"id out of bounds\n"); } } else { - if (*(int *)((int)pvVar18 + 0x80) < 3) { + if (*(int *)((int)pvVar21 + 0x80) < 3) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"LayerId out of bounds\n"); } - pvVar18 = (this->GameMenuSprite)._animState._animData; - local_e0 = *(undefined1 **)((int)pvVar18 + 0x40); - if (((pvVar18 == (void *)0x0) || ((int)local_e0 < 0)) || - (*(int *)((int)pvVar18 + 0x1c) <= (int)local_e0)) { + pvVar21 = (this->GameMenuSprite)._animState._animData; + local_e0 = *(undefined1 **)((int)pvVar21 + 0x40); + if (((pvVar21 == (void *)0x0) || ((int)local_e0 < 0)) || + (*(int *)((int)pvVar21 + 0x1c) <= (int)local_e0)) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"id out of bounds\n"); } @@ -849115,10 +850582,10 @@ LAB_00981a25: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"LayerId out of bounds\n"); } - pvVar18 = (this->GameMenuSprite)._animState._animData; - local_e0 = *(undefined1 **)((int)pvVar18 + 0x40); - if (((pvVar18 == (void *)0x0) || ((int)local_e0 < 0)) || - (*(int *)((int)pvVar18 + 0x1c) <= (int)local_e0)) { + pvVar21 = (this->GameMenuSprite)._animState._animData; + local_e0 = *(undefined1 **)((int)pvVar21 + 0x40); + if (((pvVar21 == (void *)0x0) || ((int)local_e0 < 0)) || + (*(int *)((int)pvVar21 + 0x1c) <= (int)local_e0)) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"id out of bounds\n"); } @@ -849129,9 +850596,9 @@ LAB_00981c09: if ((g_menuControllerIndex == 0) || (local_d5 = 0, g_menuControllerIndex == -1)) { local_d5 = 1; } - pLVar10 = ANM2::GetLayer(&this->GameMenuSprite,(byte *)"ModsKey"); - if (pLVar10 != (LayerState *)0x0) { - pLVar10->_visible = local_d5; + pLVar13 = ANM2::GetLayer(&this->GameMenuSprite,(byte *)"ModsKey"); + if (pLVar13 != (LayerState *)0x0) { + pLVar13->_visible = local_d5; } ExceptionList = local_1c; return; @@ -849370,7 +850837,7 @@ LAB_009820a5: LAB_009820d2: pMVar2 = g_manager; in_ECX->SelectedElement = 0; - if (pMVar2->field_0x20d90 != '\0') { + if ((pMVar2->_gamestate)._isSaveAvailable != 0) { in_ECX->SelectedElement = 1; Menu_Game::PreRenderContinueImg(in_ECX); } @@ -849477,7 +850944,7 @@ void __thiscall Menu_Game::PreRenderContinueImg(Menu_Game *this) RenderTarget::Clear(); NVar23 = (NetplayManager)g_manager; local_298 = (NetplayManager)g_manager; - if (g_manager->field_0x20d90 == '\0') goto LAB_00983081; + if ((g_manager->_gamestate)._isSaveAvailable == 0) goto LAB_00983081; iVar15 = *(int *)(this[1].KeyDownTimer + 0x14); iVar24 = *(int *)(this[1].KeyDownTimer + 0x10); local_29c = (this->ContinueWidgetSprite)._animState._animData; @@ -849518,7 +850985,7 @@ LAB_00982265: ((*(char *)(local_29c + 0xd) != '\0' && ((this->ContinueWidgetSprite)._animState._isPlaying == 0)))) goto LAB_0098228c; } - local_294 = *(NetplayManager *)&((Manager *)NVar23)->field_0x1ad20; + local_294 = *(NetplayManager *)&(((Manager *)NVar23)->_gamestate).field_0x19d7c; if ((uint)local_294 < 0x29) { if ((this->ContinueWidgetSprite)._animState._animData != (void *)0x0) { if (*(int *)((int)(this->ContinueWidgetSprite)._animState._animation + 0x80) < 1) { @@ -849538,7 +851005,7 @@ LAB_00982265: } pLVar14 = ANM2::GetLayer(&this->ContinueWidgetSprite,(byte *)0x0); pLVar14->_visible = 1; - local_294 = *(NetplayManager *)&((Manager *)NVar23)->field_0x1ad20; + local_294 = *(NetplayManager *)&(((Manager *)NVar23)->_gamestate).field_0x19d7c; if ((this->ContinueWidgetSprite)._animState._animData != (void *)0x0) { if (*(int *)((int)(this->ContinueWidgetSprite)._animState._animation + 0x80) < 4) { /* WARNING: Subroutine does not return */ @@ -849564,7 +851031,7 @@ LAB_00982265: pLVar14 = ANM2::GetLayer(&this->ContinueWidgetSprite,(byte *)0x3); pLVar14->_visible = 0; } - local_294 = *(NetplayManager *)&((Manager *)NVar23)->field_0xfac; + local_294 = *(NetplayManager *)&(((Manager *)NVar23)->_gamestate).field_0x8; if ((this->ContinueWidgetSprite)._animState._animData != (void *)0x0) { if (*(int *)((int)(this->ContinueWidgetSprite)._animState._animation + 0x80) < 3) { /* WARNING: Subroutine does not return */ @@ -849590,7 +851057,7 @@ LAB_00982265: } AnimationState::Render(&local_2ac,&g_vectorZero,&g_vectorZero); } - if (0x28 < *(uint *)&((Manager *)NVar23)->field_0x1ad20) { + if (0x28 < *(uint *)&(((Manager *)NVar23)->_gamestate).field_0x19d7c) { uVar29 = Color::Color(); ModManager::RenderCustomCharacterPortraits (this_00,(int)((ulonglong)uVar29 >> 0x20),&local_2ac,(ColorMod *)uVar29,&g_vectorOne); @@ -849599,7 +851066,7 @@ LAB_00982265: local_29c = AnimationState::GetNullFrame(&(this->ContinueWidgetSprite)._animState,&DAT_00b6837c) ; if (local_29c != (float *)0x0) { - iVar15 = *(int *)&((Manager *)NVar23)->field_0x1020 / 0x1e; + iVar15 = *(int *)&(((Manager *)NVar23)->_gamestate).field_0x7c / 0x1e; iVar24 = iVar15 % 0xe10; sprintf_s(&local_30,9,"%02d:%02d:%02d",iVar15 / 0xe10,iVar24 / 0x3c,iVar24 % 0x3c); pfVar13 = local_29c; @@ -849784,7 +851251,7 @@ LAB_009829b7: } operator_delete(iVar24,uVar11); } - *(int *)((int)NVar21 + -8) = 0; + ((Vector *)((int)NVar21 + -8))->x = 0.0; *(NetplayManager *)((int)NVar21 + -4) = (NetplayManager)0xf; *(char *)NVar22 = '\0'; iVar15 = *(int *)((int)NVar23 + 0x28); @@ -850041,7 +851508,7 @@ void Menu_Game::on_online_connect_result(int param_1,int param_2) } local_1c = &DAT_bf800000; local_18 = &DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,0,0,&local_1c); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,0,0,&local_1c); local_8 = 0; MessagePopup::add_ok_button(uVar1); PopupQueue::push(local_c4); @@ -850719,7 +852186,7 @@ LAB_00983c85: if (((bVar5 != 0) || (iVar9 = Entity_Player::GetZodiacEffect(), iVar9 == 299)) && (bVar5 = TemporaryEffects::HasCollectibleEffect(&pEVar2->_temporaryeffects,299), bVar5 == 0)) { - *(undefined4 *)&pEVar2->field_0x1564 = 0; + pEVar2->_taurusSpeedBonus = 0.0; uStack_28 = 0; uStack_24 = 0; uStack_20 = 0; @@ -850778,11 +852245,15 @@ LAB_00983f0b: } -//@@ 00983f30 FUN_00983f30 +//@@ 00983f30 pressure_plate_kill_enemies_timer_callback /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: timer callback: GridEntity_PressurePlate::Reward passes it to + Entity_Effect::CreateTimer(cb,1,-1) after PlayWithFartOverride(0x10b)/ShakeScreen; it loops room + entities, TakeDamage(1000) from the timer's parent, spawns effect 1000.15 poofs, Removes the + timer after 4 empty ticks */ -void FUN_00983f30(int *param_1) +void pressure_plate_kill_enemies_timer_callback(int *param_1) { bool bVar1; @@ -851076,17 +852547,14 @@ void GridEntity_PressurePlate::Reward(void) Entity_Player *pEVar15; Entity *pEVar16; GridEntity *in_ECX; - RNG RVar17; + void *pvVar17; int iVar18; uint uVar19; Game *this_00; - void *pvVar20; - float *pfVar21; + float *pfVar20; + float fVar21; float fVar22; - float fVar23; RNG local_84; - undefined8 local_80; - undefined4 local_78; float *local_74; float *local_70; float *local_6c; @@ -851097,12 +852565,12 @@ void GridEntity_PressurePlate::Reward(void) GridEntity *local_54; float local_4c; float local_48; - RNG local_44; + float local_44; float local_40; float local_3c; - RNG local_38; + float local_38; float local_34; - RNG local_30; + void *local_30; float *local_2c; undefined4 local_28; uint local_24; @@ -851162,9 +852630,10 @@ void GridEntity_PressurePlate::Reward(void) return; } uVar19 = (in_ECX->_desc)._spawnSeed; - local_80 = 0x900000005; + local_84._shift1 = 5; + local_84._shift2 = 9; local_2c = (float *)0x7; - local_78 = 7; + local_84._shift3 = 7; if (uVar19 == 0) { ExceptionList = &local_1c; puStack_20 = local_68 + 100; @@ -851173,10 +852642,10 @@ void GridEntity_PressurePlate::Reward(void) } uVar19 = uVar19 >> 5 ^ uVar19; uVar19 = uVar19 << 9 ^ uVar19; - local_84 = (RNG)(uVar19 >> 7 ^ uVar19); - local_38 = local_84; - if (((uint)local_84 & 1) == 0) { - local_30 = (RNG)0x10c; + local_84._seed = uVar19 >> 7 ^ uVar19; + local_38 = (float)local_84._seed; + if ((local_84._seed & 1U) == 0) { + local_30 = (void *)0x10c; ExceptionList = &local_1c; puStack_20 = local_68 + 100; seed_fart_sound_override(); @@ -851185,14 +852654,14 @@ void GridEntity_PressurePlate::Reward(void) local_58 = (float)(in_ECX->_gridIndex % iVar9) * 40.0 + 40.0; local_54 = (GridEntity *)((float)(in_ECX->_gridIndex / iVar9) * 40.0 + 120.0); Room::FindFreePickupSpawnPosition(&local_4c,&local_58,0,1,0,0); - if (local_38 == (RNG)0x0) { + if (local_38 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar19 = (uint)local_38 >> ((byte)local_80 & 0x1f) ^ (uint)local_38; - uVar19 = uVar19 << ((byte)((ulonglong)local_80 >> 0x20) & 0x1f) ^ uVar19; - local_84 = (RNG)(uVar19 >> ((byte)local_2c & 0x1f) ^ uVar19); - uVar19 = (uint)local_84 % 100; + uVar19 = (uint)local_38 >> ((byte)local_84._shift1 & 0x1f) ^ (uint)local_38; + uVar19 = uVar19 << ((byte)local_84._shift2 & 0x1f) ^ uVar19; + local_84._seed = uVar19 >> ((byte)local_2c & 0x1f) ^ uVar19; + uVar19 = (uint)local_84._seed % 100; if (uVar19 < 5) { cVar8 = Level::CanSpawnTrapDoor(); if (cVar8 != '\0') { @@ -851206,9 +852675,9 @@ void GridEntity_PressurePlate::Reward(void) } else if (9 < uVar19) { if (uVar19 < 0xb) { - pvVar20 = g_game->_room; - local_30 = (RNG)pvVar20; - local_38 = (RNG)RNG::Next(&local_84); + pvVar17 = g_game->_room; + local_30 = pvVar17; + local_38 = (float)RNG::Next(&local_84); uVar19 = Room::GetGridIndex(g_game->_room,&local_4c); if (((int)uVar19 < 0) || (0x1bf < (int)uVar19)) { /* WARNING: Subroutine does not return */ @@ -851218,7 +852687,7 @@ void GridEntity_PressurePlate::Reward(void) ExceptionList = local_1c; return; } - if (900 < *(int *)((int)pvVar20 + uVar19 * 4 + 0x76c)) { + if (900 < *(int *)((int)pvVar17 + uVar19 * 4 + 0x76c)) { ExceptionList = local_1c; return; } @@ -851238,13 +852707,13 @@ void GridEntity_PressurePlate::Reward(void) pGVar10[1]._desc._variableSeed = 0; pGVar10[1]._gridIndex = 0; pGVar10[1]._spawnFrame = 0; - pGVar10[1]._rng = (RNG)0x0; - fVar22 = g_vectorZero.y; - *(float *)&pGVar10[1].field_0x30 = g_vectorZero.x; - *(float *)&pGVar10[1].field_0x34 = fVar22; - fVar22 = g_vectorZero.y; - *(float *)&pGVar10[1].field_0x38 = g_vectorZero.x; - pGVar10[1]._collisionClass = (int)fVar22; + pGVar10[1]._rng._seed = 0; + fVar21 = g_vectorZero.y; + pGVar10[1]._rng._shift1 = (int)g_vectorZero.x; + pGVar10[1]._rng._shift2 = (int)fVar21; + fVar21 = g_vectorZero.y; + pGVar10[1]._rng._shift3 = (int)g_vectorZero.x; + pGVar10[1]._collisionClass = (int)fVar21; pGVar5 = pGVar10 + 1; (pGVar5->_sprite)._filename._buf[0] = '\0'; (pGVar5->_sprite)._filename._buf[1] = '\0'; @@ -851279,7 +852748,7 @@ void GridEntity_PressurePlate::Reward(void) } if (uVar19 < 0x1e) { uVar19 = RNG::RandomInt(&local_84,3); - local_30 = (RNG)(uVar19 + 1); + local_30 = (void *)(uVar19 + 1); if ((int)local_30 < 1) { ExceptionList = local_1c; return; @@ -851293,14 +852762,14 @@ void GridEntity_PressurePlate::Reward(void) local_48 = pfVar11[1]; uVar19 = RNG::Next(&local_84); Game::Spawn(5,0x14,&local_4c,&g_vectorZero,0,0,uVar19); - local_30 = (RNG)((int)local_30 + -1); - } while (local_30 != (RNG)0x0); + local_30 = (void *)((int)local_30 + -1); + } while (local_30 != (void *)0x0); ExceptionList = local_1c; return; } if (uVar19 < 0x32) { uVar19 = RNG::RandomInt(&local_84,2); - local_30 = (RNG)(uVar19 + 1); + local_30 = (void *)(uVar19 + 1); if ((int)local_30 < 1) { ExceptionList = local_1c; return; @@ -851314,14 +852783,14 @@ void GridEntity_PressurePlate::Reward(void) local_48 = pfVar11[1]; uVar19 = RNG::Next(&local_84); Game::Spawn(5,10,&local_4c,&g_vectorZero,0,0,uVar19); - local_30 = (RNG)((int)local_30 + -1); - } while (local_30 != (RNG)0x0); + local_30 = (void *)((int)local_30 + -1); + } while (local_30 != (void *)0x0); ExceptionList = local_1c; return; } if (uVar19 < 0x46) { uVar19 = RNG::RandomInt(&local_84,2); - local_30 = (RNG)(uVar19 + 1); + local_30 = (void *)(uVar19 + 1); if ((int)local_30 < 1) { ExceptionList = local_1c; return; @@ -851335,8 +852804,8 @@ void GridEntity_PressurePlate::Reward(void) local_48 = pfVar11[1]; uVar19 = RNG::Next(&local_84); Game::Spawn(5,0x28,&local_4c,&g_vectorZero,0,0,uVar19); - local_30 = (RNG)((int)local_30 + -1); - } while (local_30 != (RNG)0x0); + local_30 = (void *)((int)local_30 + -1); + } while (local_30 != (void *)0x0); ExceptionList = local_1c; return; } @@ -851357,17 +852826,17 @@ void GridEntity_PressurePlate::Reward(void) } local_54 = (GridEntity *)(local_48 + 0.0); local_58 = local_4c + 40.0; - local_38 = (RNG)local_54; + local_38 = (float)local_54; iVar9 = Room::GetGridCollisionAtPos(local_58,local_54); if (iVar9 == 0) { LAB_00984f49: local_58 = local_4c + 0.0; local_54 = (GridEntity *)(local_48 + 40.0); - local_38 = (RNG)local_58; + local_38 = local_58; iVar9 = Room::GetGridCollisionAtPos(local_58,local_54); if (iVar9 == 0) goto LAB_00984fe7; local_54 = (GridEntity *)(local_48 - 40.0); - local_58 = (float)local_38; + local_58 = local_38; iVar9 = Room::GetGridCollisionAtPos(local_38,local_54); if (iVar9 == 0) goto LAB_00984fe7; } @@ -851389,17 +852858,17 @@ LAB_00984fe7: } local_54 = (GridEntity *)(local_48 + 0.0); local_58 = local_4c + 40.0; - local_38 = (RNG)local_54; + local_38 = (float)local_54; iVar9 = Room::GetGridCollisionAtPos(local_58,local_54); if (iVar9 == 0) { LAB_00984de5: local_58 = local_4c + 0.0; local_54 = (GridEntity *)(local_48 + 40.0); - local_38 = (RNG)local_58; + local_38 = local_58; iVar9 = Room::GetGridCollisionAtPos(local_58,local_54); if (iVar9 == 0) goto LAB_00984e83; local_54 = (GridEntity *)(local_48 - 40.0); - local_58 = (float)local_38; + local_58 = local_38; iVar9 = Room::GetGridCollisionAtPos(local_38,local_54); if (iVar9 == 0) goto LAB_00984e83; } @@ -851420,9 +852889,9 @@ LAB_00984e83: ExceptionList = local_1c; return; } - pvVar20 = g_game->_room; - local_30 = (RNG)pvVar20; - local_38 = (RNG)RNG::Next(&local_84); + pvVar17 = g_game->_room; + local_30 = pvVar17; + local_38 = (float)RNG::Next(&local_84); uVar19 = Room::GetGridIndex(g_game->_room,&local_4c); if (((int)uVar19 < 0) || (0x1bf < (int)uVar19)) { /* WARNING: Subroutine does not return */ @@ -851432,7 +852901,7 @@ LAB_00984e83: ExceptionList = local_1c; return; } - if (900 < *(int *)((int)pvVar20 + uVar19 * 4 + 0x76c)) { + if (900 < *(int *)((int)pvVar17 + uVar19 * 4 + 0x76c)) { ExceptionList = local_1c; return; } @@ -851452,13 +852921,13 @@ LAB_00984e83: pGVar10[1]._desc._variableSeed = 0; pGVar10[1]._gridIndex = 0; pGVar10[1]._spawnFrame = 0; - pGVar10[1]._rng = (RNG)0x0; - fVar22 = g_vectorZero.y; - *(float *)&pGVar10[1].field_0x30 = g_vectorZero.x; - *(float *)&pGVar10[1].field_0x34 = fVar22; - fVar22 = g_vectorZero.y; - *(float *)&pGVar10[1].field_0x38 = g_vectorZero.x; - pGVar10[1]._collisionClass = (int)fVar22; + pGVar10[1]._rng._seed = 0; + fVar21 = g_vectorZero.y; + pGVar10[1]._rng._shift1 = (int)g_vectorZero.x; + pGVar10[1]._rng._shift2 = (int)fVar21; + fVar21 = g_vectorZero.y; + pGVar10[1]._rng._shift3 = (int)g_vectorZero.x; + pGVar10[1]._collisionClass = (int)fVar21; pGVar5 = pGVar10 + 1; (pGVar5->_sprite)._filename._buf[0] = '\0'; (pGVar5->_sprite)._filename._buf[1] = '\0'; @@ -851493,7 +852962,7 @@ LAB_009848ac: local_54 = in_ECX; puStack_20 = local_68 + 100; if ((in_ECX->_desc)._state != 4) { - local_30 = (RNG)0x10b; + local_30 = (void *)0x10b; puStack_20 = local_68 + 100; seed_fart_sound_override(); SoundEffects::Play(&pMVar7->_sfxManager,(int)local_30,1.0,2,0,1.0,0.0); @@ -851879,73 +853348,73 @@ switchD_0098532f_default: local_70 = (float *)0x0; local_6c = (float *)0x0; local_14 = 0x2e; - RVar17 = (RNG)((int)g_game->_room + 0x724); + pvVar17 = (void *)((int)g_game->_room + 0x724); local_2c = (float *)0x0; - pfVar21 = (float *)0x0; - local_30 = RVar17; + pfVar20 = (float *)0x0; + local_30 = pvVar17; do { - iVar9 = *(int *)((int)RVar17 + (int)local_2c * 4); + iVar9 = *(int *)((int)pvVar17 + (int)local_2c * 4); if (iVar9 != 0) { iVar9 = *(int *)(iVar9 + 0x24); iVar18 = *(int *)((int)g_game->_room + 0xc); - local_44 = (RNG)((float)(iVar9 % iVar18) * 40.0 + 40.0); + local_44 = (float)(iVar9 % iVar18) * 40.0 + 40.0; local_40 = (float)(iVar9 / iVar18) * 40.0 + 120.0; local_38 = local_44; local_34 = local_40; iVar9 = Game::GetNearestPlayer(&local_44); - fVar22 = local_34 - *(float *)(iVar9 + 0x340); - fVar23 = (float)local_38 - *(float *)(iVar9 + 0x33c); - RVar17 = local_30; - if (6400.0 < fVar22 * fVar22 + fVar23 * fVar23) { + fVar21 = local_34 - *(float *)(iVar9 + 0x340); + fVar22 = local_38 - *(float *)(iVar9 + 0x33c); + pvVar17 = local_30; + if (6400.0 < fVar21 * fVar21 + fVar22 * fVar22) { iVar9 = *(int *)(*(int *)((int)local_30 + (int)local_2c * 4) + 0x24); iVar18 = *(int *)((int)g_game->_room + 0xc); local_60 = (float)(iVar9 % iVar18) * 40.0 + 40.0; local_5c = (float)(iVar9 / iVar18) * 40.0 + 120.0; - if (pfVar11 == pfVar21) { + if (pfVar11 == pfVar20) { std::vector::_Emplace_reallocate(pfVar11,&local_60); - pfVar21 = local_6c; + pfVar20 = local_6c; } else { *pfVar11 = local_60; pfVar11[1] = local_5c; local_70 = pfVar11 + 2; } - RVar17 = local_30; + pvVar17 = local_30; pfVar11 = local_70; } } uVar19 = local_24; local_2c = (float *)((int)local_2c + 1); } while (local_2c < 8); - local_2c = pfVar21; + local_2c = pfVar20; if (local_74 == pfVar11) { - pfVar21 = (float *)Room::GetCenterPos(&local_60); + pfVar20 = (float *)Room::GetCenterPos(&local_60); if (pfVar11 == local_2c) { - std::vector::_Emplace_reallocate(pfVar11,pfVar21); + std::vector::_Emplace_reallocate(pfVar11,pfVar20); local_2c = local_6c; pfVar11 = local_70; } else { - fVar22 = pfVar21[1]; - *pfVar11 = *pfVar21; - pfVar11[1] = fVar22; + fVar21 = pfVar20[1]; + *pfVar11 = *pfVar20; + pfVar11[1] = fVar21; local_70 = pfVar11 + 2; pfVar11 = local_70; } } RNG::Next(&local_84); - local_24 = (uint)local_84 & 3; + local_24 = local_84._seed & 3; local_40 = (float)((int)local_3c + local_24); - local_30 = local_84; + local_30 = (void *)local_84._seed; if ((int)local_24 < (int)local_40) { do { - if (local_30 == (RNG)0x0) { + if (local_30 == (void *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = (uint)local_30 >> ((byte)local_80 & 0x1f) ^ (uint)local_30; - uVar12 = uVar12 << ((byte)((ulonglong)local_80 >> 0x20) & 0x1f) ^ uVar12; - local_30 = (RNG)(uVar12 >> ((byte)local_78 & 0x1f) ^ uVar12); + uVar12 = (uint)local_30 >> ((byte)local_84._shift1 & 0x1f) ^ (uint)local_30; + uVar12 = uVar12 << ((byte)local_84._shift2 & 0x1f) ^ uVar12; + local_30 = (void *)(uVar12 >> ((byte)local_84._shift3 & 0x1f) ^ uVar12); pfVar11 = (float *)Room::FindFreePickupSpawnPosition (local_68,local_74 + (local_24 % (uint)((int)pfVar11 - (int)local_74 >> 3)) @@ -851955,33 +853424,32 @@ switchD_0098532f_default: 3.14; local_34 = local_34 + local_34; iVar9 = Random(); - local_38 = (RNG)((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * - 2.3283064e-10); - fVar22 = local_34; + local_38 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10; + fVar21 = local_34; sin(); - local_3c = fVar22 * (float)local_38 * 20.0 + pfVar11[1]; - fVar22 = local_34; + local_3c = fVar21 * local_38 * 20.0 + pfVar11[1]; + fVar21 = local_34; cos(); - local_60 = fVar22 * (float)local_38 * 20.0 + *pfVar11; + local_60 = fVar21 * local_38 * 20.0 + *pfVar11; local_5c = local_3c; Game::Spawn(uVar19,local_28,&local_60,&g_vectorZero,0,0,local_30); local_24 = local_24 + 1; pfVar11 = local_70; } while ((int)local_24 < (int)local_40); } - pvVar20 = g_game->_room; - iVar18 = *(int *)((int)pvVar20 + 0x12c4) + *(int *)((int)pvVar20 + 0x12c0); + pvVar17 = g_game->_room; + iVar18 = *(int *)((int)pvVar17 + 0x12c4) + *(int *)((int)pvVar17 + 0x12c0); iVar9 = 0; if (0 < iVar18) { iVar9 = iVar18; } if ((int)local_48 < iVar9) { - local_30 = (RNG)0x0; + local_30 = (void *)0x0; iVar9 = 0x724; this_00 = g_game; do { - local_30 = (RNG)((int)local_30 + 1); - if ((uint)local_30 < 9) { + local_30 = (void *)((int)local_30 + 1); + if (local_30 < 9) { pGVar3 = *(GridEntity_Door **)(iVar9 + (int)this_00->_room); if ((pGVar3 != (GridEntity_Door *)0x0) && ((pGVar3->_desc)._state != 1)) { (pGVar3->_desc)._state = 1; @@ -852004,9 +853472,9 @@ switchD_0098532f_default: } puVar1 = (uint *)(*(int *)((int)this_00->_room + 4) + 0x44); *puVar1 = *puVar1 & 0xfffffffe; - pvVar20 = this_00->_room; + pvVar17 = this_00->_room; } - if ((*(byte *)(*(int *)((int)pvVar20 + 4) + 0x44) & 1) == 0) { + if ((*(byte *)(*(int *)((int)pvVar17 + 4) + 0x44) & 1) == 0) { (local_54->_desc)._state = 4; } if (local_74 == (float *)0x0) { @@ -852394,9 +853862,10 @@ LAB_00986379: } } LAB_009863c1: - this->_greedModeRNG = (RNG)(this->_desc)._spawnSeed; - *(undefined8 *)(this + 1) = 0x300000004; - this[1]._desc._variant = 0x1b; + (this->_greedModeRNG)._seed = (this->_desc)._spawnSeed; + (this->_greedModeRNG)._shift1 = 4; + (this->_greedModeRNG)._shift2 = 3; + (this->_greedModeRNG)._shift3 = 0x1b; ExceptionList = local_10; return; } @@ -852566,8 +854035,8 @@ void __thiscall MenuManager::constructor(MenuManager *this) (&(this->_menuStats)._achievementMiniSprite1,0x114,0xb,ANM2::constructor,ANM2::~ANM2); local_14._0_1_ = 0x1a; _eh_vector_constructor_iterator_ - (&(this->_menuStats).field_0x1838,0x34,0x282,(_func_void_void_ptr *)&LAB_009ec190, - FUN_00420b00); + ((this->_menuStats)._achievementOverlayEntries,0x34,0x282, + (_func_void_void_ptr *)&LAB_009ec190,FUN_00420b00); local_14._0_1_ = 0x1b; Menu_Options::constructor(); local_14._0_1_ = 0x1c; @@ -852609,13 +854078,13 @@ void __thiscall MenuManager::constructor(MenuManager *this) ANM2::constructor((ANM2 *)&this->field_0xd97c); *(undefined4 *)&this->field_0xda94 = 0; local_14._0_1_ = 0x24; - *(char **)&this->field_0xda98 = "gfx/ui/main menu/OnlineMenu.anm2"; - ANM2::constructor((ANM2 *)&this->field_0xda9c); + *(char **)&this->_menuOnline = "gfx/ui/main menu/OnlineMenu.anm2"; + ANM2::constructor(&(this->_menuOnline)._anm2); local_14._0_1_ = 0x25; - ANM2::constructor((ANM2 *)&this->field_0xdbb0); + ANM2::constructor((ANM2 *)&(this->_menuOnline).field_0x118); local_14._0_1_ = 0x26; - *(undefined4 *)&this->field_0xdcc4 = 1; - *(undefined4 *)&this->field_0xdcc8 = 0; + (this->_menuOnline)._prevState = 1; + (this->_menuOnline)._state = 0; *(undefined4 *)&this->field_0xdcd0 = 0; *(undefined4 *)&this->field_0xdccc = 0; *(undefined4 *)&this->field_0xdcd4 = 0xffffffff; @@ -852669,7 +854138,8 @@ void __thiscall MenuManager::constructor(MenuManager *this) *(undefined4 *)&this->field_0xe640 = 0; *(undefined4 *)&this->field_0xe644 = 0; std::list>::push_back(FUN_008ee4d0,&this->field_0xdce8); - std::list>::push_back(FUN_008ee700,&this->field_0xdce8); + std::list>::push_back + (online_lobby_members_changed_callback,&this->field_0xdce8); local_14._0_1_ = 0x2e; Menu_LobbyListFilters::constructor(); local_14._0_1_ = 0x2f; @@ -852687,7 +854157,7 @@ void __thiscall MenuManager::constructor(MenuManager *this) *(undefined4 *)&this->field_0xf5c4 = 0; *(undefined4 *)&this->field_0xf5c8 = 0; local_14._0_1_ = 0x32; - ANM2::constructor((ANM2 *)&this->field_0xf5cc); + ANM2::constructor(&this->_onlineStatsMenuSprite); *(undefined4 *)&this->field_0xf6f0 = 0; *(undefined4 *)&this->field_0xf6f8 = 0; *(undefined4 *)&this->field_0xf6f4 = 0; @@ -852706,24 +854176,24 @@ void __thiscall MenuManager::constructor(MenuManager *this) iVar1 = iVar1 + -1; pVVar2 = pVVar2 + 1; } while (iVar1 != 0); - *(undefined4 *)&this->field_0xf7cc = 0; - *(undefined4 *)&this->field_0xf7d0 = 0; - this->_currentColorModState = 0x3f800000; - *(undefined4 *)&this->field_0xf7c4 = 0x3f800000; - *(undefined4 *)&this->field_0xf7c8 = 0x3f800000; - *(undefined4 *)&this->field_0xf7d4 = 0x3f800000; - *(undefined4 *)&this->field_0xf7e4 = 0; - *(undefined4 *)&this->field_0xf7e8 = 0; - this->_targetColorModState = 0x3f800000; - *(undefined4 *)&this->field_0xf7dc = 0x3f800000; - *(undefined4 *)&this->field_0xf7e0 = 0x3f800000; - *(undefined4 *)&this->field_0xf7ec = 0x3f800000; - *(undefined4 *)&this->field_0xf7fc = 0; - *(undefined4 *)&this->field_0xf800 = 0; - this->_lerpColorModState = 0x3f800000; - *(undefined4 *)&this->field_0xf7f4 = 0x3f800000; - *(undefined4 *)&this->field_0xf7f8 = 0x3f800000; - *(undefined4 *)&this->field_0xf804 = 0x3f800000; + (this->_currentColorModState)._amount = 0.0; + (this->_currentColorModState)._brightness = 0.0; + (this->_currentColorModState)._red = 1.0; + (this->_currentColorModState)._green = 1.0; + (this->_currentColorModState)._blue = 1.0; + (this->_currentColorModState)._contrast = 1.0; + (this->_targetColorModState)._amount = 0.0; + (this->_targetColorModState)._brightness = 0.0; + (this->_targetColorModState)._red = 1.0; + (this->_targetColorModState)._green = 1.0; + (this->_targetColorModState)._blue = 1.0; + (this->_targetColorModState)._contrast = 1.0; + (this->_lerpColorModState)._amount = 0.0; + (this->_lerpColorModState)._brightness = 0.0; + (this->_lerpColorModState)._red = 1.0; + (this->_lerpColorModState)._green = 1.0; + (this->_lerpColorModState)._blue = 1.0; + (this->_lerpColorModState)._contrast = 1.0; this->_scrollinterpolationY = 0.0; this->_scrollinterpolationX = 0.0; *(undefined4 *)&this->field_0xf814 = 0; @@ -852731,12 +854201,13 @@ void __thiscall MenuManager::constructor(MenuManager *this) ANM2::constructor(&this->_flySprite); local_14 = CONCAT31(local_14._1_3_,0x34); create_menu_colormod_surface(); - this->_currentColorModState = 0x3f800000; - *(undefined4 *)&this->field_0xf7c4 = 0x3f800000; - *(undefined4 *)&this->field_0xf7c8 = 0x3f800000; - *(undefined4 *)&this->field_0xf7cc = 0; + (this->_currentColorModState)._red = 1.0; + (this->_currentColorModState)._green = 1.0; + (this->_currentColorModState)._blue = 1.0; + (this->_currentColorModState)._amount = 0.0; this->_shouldLerpColorModState = 0; - *(undefined8 *)&this->field_0xf7d0 = 0x3f80000000000000; + (this->_currentColorModState)._brightness = 0.0; + (this->_currentColorModState)._contrast = 1.0; ExceptionList = local_1c; return; } @@ -852984,7 +854455,7 @@ void MenuManager::unload_graphics(void) ANM2::Reset(&(pMVar1->_menuChallenge).ChallengeMenuSprite); ANM2::Reset(&(pMVar1->_menuCollection).CollectionMenuSprite); ANM2::Reset(&(pMVar1->_menuCollection).DeathScreenSprite); - Menu_Stats::unload_graphics(); + Menu_Stats::unload_graphics(&pMVar1->_menuStats); ANM2::Reset(&(pMVar1->_menuOptions).OptionsSprite); ANM2::Reset(&(pMVar1->_menuControllerSelect).ControllerSelectSprite); ANM2::Reset(&(pMVar1->_menuKeyConfig).KeyConfigSprite); @@ -853001,10 +854472,10 @@ void MenuManager::unload_graphics(void) Menu_OnlineLobby::unload_graphics(); ANM2::Reset((ANM2 *)&pMVar1->field_0xe650); ANM2::Reset((ANM2 *)&pMVar1->field_0xe9d4); - ANM2::Reset((ANM2 *)&pMVar1->field_0xda9c); + ANM2::Reset(&(pMVar1->_menuOnline)._anm2); ANM2::Reset((ANM2 *)&pMVar1->field_0xeb74); Menu_CreateLobby::unload_graphics(); - ANM2::Reset((ANM2 *)&pMVar1->field_0xf5cc); + ANM2::Reset(&pMVar1->_onlineStatsMenuSprite); return; } @@ -853385,7 +854856,7 @@ LAB_00989352: Menu_Mods::reset(); Menu_OnlineLobby::load_graphics(); Menu_OnlineLobbyList::load_graphics(); - pcVar7 = *(char **)&pMVar3->field_0xda98; + pcVar7 = *(char **)&pMVar3->_menuOnline; local_3c._size = 0; local_3c._capacity = 0xf; local_3c._buf[0] = '\0'; @@ -853399,7 +854870,7 @@ LAB_00989352: } while (cVar1 != '\0'); std::string::assign(pcVar7,(int)pcVar8 - (int)(pcVar7 + 1)); local_14 = 10; - ANM2::Load((ANM2 *)&pMVar3->field_0xda9c,&local_3c,1); + ANM2::Load(&(pMVar3->_menuOnline)._anm2,&local_3c,1); local_14 = 0xffffffff; if (0xf < local_3c._capacity) { uVar10 = local_3c._capacity + 1; @@ -853414,7 +854885,7 @@ LAB_00989352: } operator_delete(iVar9,uVar10); } - ANM2::Play((ANM2 *)&pMVar3->field_0xda9c,s_Idle,0); + ANM2::Play(&(pMVar3->_menuOnline)._anm2,s_Idle,0); Menu_Options::load_menu_anm2(); Menu_CreateLobby::load_graphics(); local_54._size = 0; @@ -853425,7 +854896,7 @@ LAB_00989352: local_54._buf[3] = '\0'; std::string::assign("gfx/ui/main menu/OnlineStatsMenu.anm2",0x25); local_14 = 0xb; - ANM2::Load((ANM2 *)&pMVar3->field_0xf5cc,&local_54,1); + ANM2::Load(&pMVar3->_onlineStatsMenuSprite,&local_54,1); local_14 = 0xffffffff; if (0xf < local_54._capacity) { uVar11 = local_54._capacity + 1; @@ -853443,7 +854914,7 @@ LAB_00989352: local_54._size = 0; local_54._capacity = 0xf; local_54._buf._0_4_ = local_54._buf._0_4_ & 0xffffff00; - ANM2::Play((ANM2 *)&pMVar3->field_0xf5cc,s_Idle,0); + ANM2::Play(&pMVar3->_onlineStatsMenuSprite,s_Idle,0); ExceptionList = local_1c; return; } @@ -853673,7 +855144,7 @@ void __thiscall MenuManager::Update(MenuManager *this) if (cVar4 != '\0') { local_2c = (int *)0x43960000; local_28 = (int *)&DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,FUN_009ef550,0,&local_2c); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,FUN_009ef550,0,&local_2c); local_14 = 5; MessagePopup::add_yes_no_buttons(); PopupQueue::push(local_e8); @@ -853739,7 +855210,7 @@ void __thiscall MenuManager::Update(MenuManager *this) Menu_OnlineLobbyList::Update(); break; case 0x13: - Menu_Online::Update((Menu_Online *)&pMVar9->field_0xda98); + Menu_Online::Update(&pMVar9->_menuOnline); break; case 0x14: Menu_Options::Update(); @@ -853748,27 +855219,27 @@ void __thiscall MenuManager::Update(MenuManager *this) Menu_OnlineMode::Update(); break; case 0x16: - if (((g_manager->_framecount & 1) == 0) && (pMVar9->field_0xf6d5 != '\0')) { + if (((g_manager->_framecount & 1) == 0) && ((pMVar9->_onlineStatsMenuSprite)._loaded != 0)) { AnimationState::Update(); AnimationState::Update(); } Menu_OnlineAwards::Update(); - pLVar5 = ANM2::GetLayer((ANM2 *)&pMVar9->field_0xf5cc,(byte *)"Cursor"); + pLVar5 = ANM2::GetLayer(&pMVar9->_onlineStatsMenuSprite,(byte *)"Cursor"); if (pLVar5 == (LayerState *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(4,"[warn] no layer named %s\n","Cursor"); } - ANM2::SetLayerFrame((ANM2 *)&pMVar9->field_0xf5cc,*(int *)pLVar5->_layerData, + ANM2::SetLayerFrame(&pMVar9->_onlineStatsMenuSprite,*(int *)pLVar5->_layerData, *(int *)&pMVar9->field_0xf6f0); } if (((((pMVar9->_shouldLerpColorModState != 0) && (ColorModState::move_toward(&pMVar9->_targetColorModState,&pMVar9->_lerpColorModState), - *extraout_ECX_00 == (float)pMVar9->_targetColorModState)) && - (extraout_ECX_00[1] == *(float *)&pMVar9->field_0xf7dc)) && - ((extraout_ECX_00[2] == *(float *)&pMVar9->field_0xf7e0 && - (extraout_ECX_00[3] == *(float *)&pMVar9->field_0xf7e4)))) && - ((extraout_ECX_00[4] == *(float *)&pMVar9->field_0xf7e8 && - (extraout_ECX_00[5] == *(float *)&pMVar9->field_0xf7ec)))) { + *extraout_ECX_00 == (pMVar9->_targetColorModState)._red)) && + (extraout_ECX_00[1] == (pMVar9->_targetColorModState)._green)) && + ((extraout_ECX_00[2] == (pMVar9->_targetColorModState)._blue && + (extraout_ECX_00[3] == (pMVar9->_targetColorModState)._amount)))) && + ((extraout_ECX_00[4] == (pMVar9->_targetColorModState)._brightness && + (extraout_ECX_00[5] == (pMVar9->_targetColorModState)._contrast)))) { pMVar9->_shouldLerpColorModState = 0; } switchD_00989c53_caseD_0: @@ -853865,7 +855336,7 @@ void __thiscall MenuManager::Render(MenuManager *this) } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; uVar6 = KColor::SetFromARGB(0xffccbebb); uVar6 = render_quad_set_uniform_color(g_screenHeight,uVar6); pVVar14 = (Vector *)0x98a14f; @@ -853898,7 +855369,7 @@ void __thiscall MenuManager::Render(MenuManager *this) AnimationLayer::RenderFrame((AnimationLayer *)&pMVar10->_menuMods); Menu_OnlineLobby::Render(); Menu_OnlineLobby::Render(); - Menu_Online::Render((Menu_Online *)&pMVar10->field_0xda98); + Menu_Online::Render(&pMVar10->_menuOnline); Menu_Options::Render(); Menu_Online::render_mode_select(); Menu_Online::render_descriptions(); @@ -853921,7 +855392,7 @@ void __thiscall MenuManager::Render(MenuManager *this) pMVar4 = g_manager; if (pMVar10->field_0x30 == '\0') { switchD_0098a35a_caseD_1: - *(undefined4 *)&g_manager->field_0x4aa68 = 0x42c00000; + (g_manager->_popupButtons)._buttons[0]._targetSlideOffset = 96.0; goto LAB_0098a3c0; } switch(pMVar10->_selectedMenuID) { @@ -853935,20 +855406,20 @@ switchD_0098a35a_caseD_1: case 10: case 0xb: case 0xc: - *(undefined4 *)&g_manager->field_0x4aa68 = 0; - *(undefined4 *)&pMVar4->field_0x4ab98 = 0; + (g_manager->_popupButtons)._buttons[0]._targetSlideOffset = 0.0; + (pMVar4->_popupButtons)._buttons[1]._targetSlideOffset = 0.0; goto switchD_0098a35a_default; case 4: case 8: case 0xd: case 0xe: - *(undefined4 *)&g_manager->field_0x4aa68 = 0x41c80000; + (g_manager->_popupButtons)._buttons[0]._targetSlideOffset = 25.0; break; case 9: bVar2 = (pMVar10->_menuStats)._isAchievementScreenVisible; - *(undefined4 *)&g_manager->field_0x4aa68 = 0; + (g_manager->_popupButtons)._buttons[0]._targetSlideOffset = 0.0; if (bVar2 == 0) { - *(undefined4 *)&pMVar4->field_0x4ab98 = 0; + (pMVar4->_popupButtons)._buttons[1]._targetSlideOffset = 0.0; goto switchD_0098a35a_default; } break; @@ -853956,7 +855427,7 @@ switchD_0098a35a_caseD_1: goto switchD_0098a35a_default; } LAB_0098a3c0: - *(undefined4 *)&pMVar4->field_0x4ab98 = 0x42c00000; + (pMVar4->_popupButtons)._buttons[1]._targetSlideOffset = 96.0; switchD_0098a35a_default: iVar11 = (pMVar10->_menuCharacter).Difficulty; if ((iVar11 == 1) || (iVar11 == 3)) { @@ -854087,11 +855558,12 @@ switchD_0098a35a_default: g_graphicsManager_blendMode[1] = 1; g_graphicsManager_blendMode[2] = 0; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 0; + g_graphicsManager_blendMode[4] = 0; g_currentShader = puVar7; - Shader::set_uniform("Amount",8,&pMVar10->field_0xf7cc,puVar7); - Shader::set_uniform("Brightness",8,&pMVar10->field_0xf7d0,extraout_ECX_03); - Shader::set_uniform("Contrast",8,&pMVar10->field_0xf7d4,extraout_ECX_04); + Shader::set_uniform("Amount",8,&(pMVar10->_currentColorModState)._amount,puVar7); + Shader::set_uniform("Brightness",8,&(pMVar10->_currentColorModState)._brightness,extraout_ECX_03 + ); + Shader::set_uniform("Contrast",8,&(pMVar10->_currentColorModState)._contrast,extraout_ECX_04); uStack_28 = 0; uStack_38 = 0; uStack_2c = 0; @@ -854103,9 +855575,9 @@ switchD_0098a35a_default: local_18 = local_18 & 0xffffff00; KColor::SetFromARGB(0xffffffff); render_quad_set_uniform_color(g_screenHeight,extraout_ECX_05); - local_60 = (float)pMVar10->_currentColorModState; - local_5c = *(float *)&pMVar10->field_0xf7c4; - local_58 = *(float *)&pMVar10->field_0xf7c8; + local_60 = (pMVar10->_currentColorModState)._red; + local_5c = (pMVar10->_currentColorModState)._green; + local_58 = (pMVar10->_currentColorModState)._blue; local_50 = 0; local_54 = 1.0; (**(code **)(*DAT_00c798b0 + 0x14))(&uStack_38,local_148,&local_60); @@ -854117,7 +855589,7 @@ switchD_0098a35a_default: g_graphicsManager_blendMode[1] = 6; } g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; } iVar11 = 1; shader_cache_find(pCVar8); @@ -854129,7 +855601,7 @@ switchD_0098a35a_default: g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; local_54 = pMVar10->_fadeOutProgress; local_50 = 0; local_60 = 0.0; @@ -854146,7 +855618,7 @@ switchD_0098a35a_default: } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; local_60 = (pMVar10->_fadeInColor)._red; local_50 = (pMVar10->_fadeInColor)._unk; local_5c = (pMVar10->_fadeInColor)._green; @@ -854483,37 +855955,52 @@ void MenuManager::scroll_options_menu(int param_1,int param_2,int param_3) //@@ 0098afa0 FUN_0098afa0 -void FUN_0098afa0(undefined4 *param_1) +void FUN_0098afa0(float *param_1) { - undefined4 uVar1; - undefined4 uVar2; - undefined4 uVar3; - MenuManager *pMVar4; + float fVar1; + float fVar2; + float fVar3; + float fVar4; + float fVar5; + float fVar6; + float fVar7; + float fVar8; + float fVar9; + float fVar10; + MenuManager *pMVar11; float in_XMM3_Da; - pMVar4 = g_menuManager; - uVar1 = param_1[1]; - uVar2 = param_1[2]; - uVar3 = param_1[3]; - g_menuManager->_targetColorModState = *param_1; - *(undefined4 *)&pMVar4->field_0xf7dc = uVar1; - *(undefined4 *)&pMVar4->field_0xf7e0 = uVar2; - *(undefined4 *)&pMVar4->field_0xf7e4 = uVar3; - *(undefined8 *)&pMVar4->field_0xf7e8 = *(undefined8 *)(param_1 + 4); - *(float *)&pMVar4->field_0xf7f4 = - ABS(*(float *)&pMVar4->field_0xf7dc - *(float *)&pMVar4->field_0xf7c4) * in_XMM3_Da; - *(float *)&pMVar4->field_0xf7f8 = - ABS(*(float *)&pMVar4->field_0xf7e0 - *(float *)&pMVar4->field_0xf7c8) * in_XMM3_Da; - pMVar4->_lerpColorModState = - ABS((float)pMVar4->_targetColorModState - (float)pMVar4->_currentColorModState) * in_XMM3_Da; - *(float *)&pMVar4->field_0xf7fc = - ABS(*(float *)&pMVar4->field_0xf7e4 - *(float *)&pMVar4->field_0xf7cc) * in_XMM3_Da; - *(float *)&pMVar4->field_0xf800 = - ABS(*(float *)&pMVar4->field_0xf7e8 - *(float *)&pMVar4->field_0xf7d0) * in_XMM3_Da; - *(float *)&pMVar4->field_0xf804 = - ABS(*(float *)&pMVar4->field_0xf7ec - *(float *)&pMVar4->field_0xf7d4) * in_XMM3_Da; - pMVar4->_shouldLerpColorModState = 1; + pMVar11 = g_menuManager; + fVar1 = param_1[1]; + fVar2 = param_1[2]; + fVar3 = param_1[3]; + (g_menuManager->_targetColorModState)._red = *param_1; + (pMVar11->_targetColorModState)._green = fVar1; + (pMVar11->_targetColorModState)._blue = fVar2; + (pMVar11->_targetColorModState)._amount = fVar3; + fVar1 = param_1[5]; + (pMVar11->_targetColorModState)._brightness = param_1[4]; + (pMVar11->_targetColorModState)._contrast = fVar1; + fVar1 = (pMVar11->_targetColorModState)._contrast; + fVar2 = (pMVar11->_targetColorModState)._brightness; + fVar3 = (pMVar11->_targetColorModState)._amount; + fVar4 = (pMVar11->_targetColorModState)._blue; + fVar5 = (pMVar11->_targetColorModState)._red; + fVar6 = (pMVar11->_currentColorModState)._contrast; + fVar7 = (pMVar11->_currentColorModState)._brightness; + fVar8 = (pMVar11->_currentColorModState)._amount; + fVar9 = (pMVar11->_currentColorModState)._blue; + fVar10 = (pMVar11->_currentColorModState)._red; + (pMVar11->_lerpColorModState)._green = + ABS((pMVar11->_targetColorModState)._green - (pMVar11->_currentColorModState)._green) * + in_XMM3_Da; + (pMVar11->_lerpColorModState)._blue = ABS(fVar4 - fVar9) * in_XMM3_Da; + (pMVar11->_lerpColorModState)._red = ABS(fVar5 - fVar10) * in_XMM3_Da; + (pMVar11->_lerpColorModState)._amount = ABS(fVar3 - fVar8) * in_XMM3_Da; + (pMVar11->_lerpColorModState)._brightness = ABS(fVar2 - fVar7) * in_XMM3_Da; + (pMVar11->_lerpColorModState)._contrast = ABS(fVar1 - fVar6) * in_XMM3_Da; + pMVar11->_shouldLerpColorModState = 1; return; } @@ -854863,10 +856350,11 @@ Vector * __thiscall Minimap::GetDisplayedSize(Minimap *this,Vector *buffer) void Minimap::refresh_room_icons(void) { - RNG *pRVar1; + RoomDescriptor *pRVar1; float fVar2; - void *pvVar3; - RNG *pRVar4; + float fVar3; + RoomDescriptor *pRVar4; + undefined4 this; ANM2 *pAVar5; byte bVar6; char cVar7; @@ -854875,13 +856363,13 @@ void Minimap::refresh_room_icons(void) undefined1 *puVar10; RoomDescriptor *pRVar11; uint uVar12; - RNG RVar13; ANM2 *in_ECX; - int iVar14; + int iVar13; + byte *pbVar14; byte *pbVar15; - byte *pbVar16; uint extraout_ECX; - int iVar17; + int iVar16; + void *pvVar17; int *piVar18; ANM2 *pAVar19; undefined1 *puVar20; @@ -854890,66 +856378,48 @@ void Minimap::refresh_room_icons(void) bool bVar23; void *pvVar24; float fVar25; - RNG *pRVar26; - float fVar27; - double dVar28; - undefined8 uVar29; - RNG local_c8; - undefined8 local_c4; - float local_bc; - undefined8 local_b8; - float local_b0; - float local_ac; - void *local_a8; - float local_a4; - ANM2 *local_a0; - uint local_9c; - uint local_98; - uint local_94; - uint local_90; - uint local_8c; - RoomDescriptor *local_88; - undefined1 *local_84; - uint local_80; - undefined1 *local_7c; - RoomDescriptor *local_78; + float fVar26; + double dVar27; + undefined8 uVar28; + undefined1 local_c8 [84]; void *local_74; - RNG *local_70; + RoomDescriptor *local_70; byte *local_6c; int *local_68; undefined1 *local_64; - float local_60; + void *local_60; undefined1 *local_5c; void *local_58; byte *local_54; void *local_50; byte *local_4c; byte *local_48; - int local_44; + uint local_44; undefined1 *local_40; - float local_3c; + void *local_3c; byte *local_38; - RNG *local_34; + RoomDescriptor *local_34; ANM2 *local_30; byte *local_2c; - RNG local_28; + void *local_28; float local_24; float local_20; float local_1c; - RNG local_18; - float local_14; + void *local_18; + void *local_14; float local_10; - float local_c; + void *local_c; undefined4 local_8; - local_8 = __security_cookie ^ (int)register0x00000010 - 4U; + local_8 = __security_cookie ^ (uint)(local_c8 + 0xc4); pRVar11 = g_game->_roomList; DAT_00c33910 = 0; local_50 = g_game->_currentRoomMap; local_44 = in_ECX[1]._animState._currentlyTriggeredEvents; - local_a0 = (ANM2 *)(local_44 + 0x500); - local_b8 = 0; - local_78 = pRVar11; + local_c8._40_4_ = local_44 + 0x500; + local_c8._16_4_ = (void *)0x0; + local_c8._20_4_ = (void *)0x0; + local_c8._80_4_ = pRVar11; local_30 = in_ECX; std::vector::resize(); puVar8 = (undefined4 *)std::deque::back(); @@ -854966,168 +856436,174 @@ void Minimap::refresh_room_icons(void) } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; - uVar9 = g_game->_currentRoomIdx; - if ((int)uVar9 < 0) { + g_graphicsManager_blendMode[4] = 7; + pvVar17 = (void *)g_game->_currentRoomIdx; + if ((int)pvVar17 < 0) { _glfw_context_reset(); pop_render_target(); } else { if (g_game->_challenge == 0x20) { - iVar14 = *(int *)((int)g_game->_room + 4); - local_c8 = (RNG)0x0; - if (iVar14 != 0) { - local_c8 = *(RNG *)(iVar14 + 0x58); + iVar13 = *(int *)((int)g_game->_room + 4); + local_c8._0_4_ = (void *)0x0; + if (iVar13 != 0) { + local_c8._0_4_ = *(float *)(iVar13 + 0x58); } - local_c4 = 0x500000001; - local_bc = 2.24208e-44; - uVar9 = RNG::RandomInt(&local_c8,g_game->_nbRooms); - uVar9 = pRVar11[uVar9].SafeGridIndex; + local_c8._4_4_ = 1; + local_c8._8_4_ = 5; + local_c8._12_4_ = (void *)0x10; + uVar9 = RNG::RandomInt((RNG *)local_c8,g_game->_nbRooms); + pvVar17 = (void *)pRVar11[uVar9].SafeGridIndex; } - iVar14 = *(int *)(in_ECX[1]._animDefaultName._buf + 8); - if ((int)uVar9 < 1) { - uVar9 = 0; + iVar13 = *(int *)(in_ECX[1]._animDefaultName._buf + 8); + if ((int)pvVar17 < 1) { + pvVar17 = (void *)0x0; } - local_5c = (undefined1 *)0xa9; - if ((int)uVar9 < 0xa9) { - local_5c = (undefined1 *)uVar9; + local_5c = (void *)0xa9; + if ((int)pvVar17 < 0xa9) { + local_5c = pvVar17; } - local_88 = pRVar11 + *(int *)((int)local_50 + (int)local_5c * 4); - if (0xd < iVar14) { - iVar14 = 0xd; + local_c8._64_4_ = pRVar11 + *(int *)((int)local_50 + (int)local_5c * 4); + if (0xd < iVar13) { + iVar13 = 0xd; } - *(int *)(in_ECX[1]._animDefaultName._buf + 8) = iVar14; - iVar17 = *(int *)(in_ECX[1]._animDefaultName._buf + 0xc); - if (0xd < iVar17) { - iVar17 = 0xd; + *(int *)(in_ECX[1]._animDefaultName._buf + 8) = iVar13; + iVar16 = *(int *)(in_ECX[1]._animDefaultName._buf + 0xc); + if (0xd < iVar16) { + iVar16 = 0xd; } - *(int *)(in_ECX[1]._animDefaultName._buf + 0xc) = iVar17; - pbVar15 = (byte *)((((int)local_5c / 0xd) * -0xd - iVar14 / 2) + (int)local_5c); - if (0xd - iVar14 < (int)pbVar15) { - pbVar15 = (byte *)(0xd - iVar14); + *(int *)(in_ECX[1]._animDefaultName._buf + 0xc) = iVar16; + pbVar14 = (byte *)((((int)local_5c / 0xd) * -0xd - iVar13 / 2) + (int)local_5c); + if (0xd - iVar13 < (int)pbVar14) { + pbVar14 = (byte *)(0xd - iVar13); } local_38 = (byte *)0x0; - if (0 < (int)pbVar15) { - local_38 = pbVar15; + if (0 < (int)pbVar14) { + local_38 = pbVar14; } - fVar27 = *(float *)(local_30[1]._animDefaultName._buf + 4); - local_3c = fVar27 + (float)local_30[1]._filename._size; - puVar20 = (undefined1 *)((int)local_5c / 0xd - iVar17 / 2); - fVar27 = fVar27 + (float)local_30[1]._filename._capacity; - if (0xd - iVar17 < (int)puVar20) { - puVar20 = (undefined1 *)(0xd - iVar17); + fVar26 = *(float *)(local_30[1]._animDefaultName._buf + 4); + local_3c = (void *)(fVar26 + (float)local_30[1]._filename._size); + puVar20 = (undefined1 *)((int)local_5c / 0xd - iVar16 / 2); + pvVar17 = (void *)(fVar26 + (float)local_30[1]._filename._capacity); + if (0xd - iVar16 < (int)puVar20) { + puVar20 = (undefined1 *)(0xd - iVar16); } - iVar14 = *(int *)local_30[1]._filename._buf; + iVar13 = *(int *)local_30[1]._filename._buf; puVar10 = (undefined1 *)0x0; if (0 < (int)puVar20) { puVar10 = puVar20; } - iVar17 = *(int *)(iVar14 + 0x10); - iVar14 = *(int *)(iVar14 + 0x14); + iVar16 = *(int *)(iVar13 + 0x10); + iVar13 = *(int *)(iVar13 + 0x14); local_30[1]._animState._animData = - (void *)(float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]); + (void *)(float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]); local_30[1]._animState._layerFrames = - (void *)(float)((double)iVar14 + __uint_to_double_fixup[-(iVar14 >> 0x1f)]); + (void *)(float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]); local_30[1]._animState._nullLayerFrames = (void *)g_vectorZero.x; local_30[1]._animState._animFrame = g_vectorZero.y; - iVar14 = *(int *)(local_30[1]._animDefaultName._buf + 0xc); - local_34 = (RNG *)0x0; + iVar13 = *(int *)(local_30[1]._animDefaultName._buf + 0xc); + local_34 = (RoomDescriptor *)0x0; pAVar19 = local_30; - local_84 = puVar10; - local_7c = puVar10; - local_60 = fVar27; - if ((int)puVar10 < (int)(puVar10 + iVar14)) { + local_c8._68_4_ = puVar10; + local_c8._76_4_ = puVar10; + local_60 = pvVar17; + if ((int)puVar10 < (int)(puVar10 + iVar13)) { do { local_4c = (void *)0x0; local_54 = local_38; - pRVar26 = local_34; + pRVar11 = local_34; if ((int)local_38 < (int)(local_38 + *(int *)(pAVar19[1]._animDefaultName._buf + 8))) { - local_8c = (int)local_7c * 0xd; - pbVar15 = local_38; - fVar27 = local_3c; + local_c8._60_4_ = local_c8._76_4_ * 0xd; + pbVar14 = local_38; + pvVar17 = local_3c; local_70 = local_34; do { pAVar5 = local_30; - pbVar16 = local_54 + local_8c; - if ((-1 < (int)pbVar16) && (pbVar16 < (byte *)0xa9)) { - iVar14 = *(int *)((int)local_50 + (int)pbVar16 * 4); - if (-1 < iVar14) { - pvVar3 = local_78[iVar14].Data; + pbVar15 = local_54 + local_c8._60_4_; + if ((-1 < (int)pbVar15) && (pbVar15 < (byte *)0xa9)) { + iVar13 = *(int *)((int)local_50 + (int)pbVar15 * 4); + if (-1 < iVar13) { + pvVar24 = ((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->Data; pAVar19 = pAVar5; - if ((pvVar3 != (void *)0x0) && (local_78[iVar14].DisplayFlags != 0)) { + if ((pvVar24 != (void *)0x0) && + (((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->DisplayFlags != 0)) { bVar23 = true; - if ((g_game->_stage == 0xc) && (*(int *)((int)pvVar3 + 8) == 5)) { - iVar17 = *(int *)((int)pvVar3 + 0x48); - if (iVar17 == 4) { - local_5c = (undefined1 *)local_78[iVar14].AllowedDoors; + if ((g_game->_stage == 0xc) && (*(int *)((int)pvVar24 + 8) == 5)) { + iVar16 = *(int *)((int)pvVar24 + 0x48); + if (iVar16 == 4) { + local_5c = (undefined1 *) + ((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->AllowedDoors + ; if (((uint)local_5c & 7) != 0) { - pbVar15 = pbVar16 + 0xd; - if (((int)pbVar15 < 0) || ((byte *)0xa8 < pbVar15)) { + pbVar14 = pbVar15 + 0xd; + if (((int)pbVar14 < 0) || ((byte *)0xa8 < pbVar14)) { bVar23 = false; } else { - bVar23 = *(int *)((int)local_50 + (int)pbVar15 * 4) == iVar14; + bVar23 = *(int *)((int)local_50 + (int)pbVar14 * 4) == iVar13; } } if (((uint)local_5c & 0x58) != 0) { - if (((int)(pbVar16 + -0xd) < 0) || ((byte *)0xa8 < pbVar16 + -0xd)) + if (((int)(pbVar15 + -0xd) < 0) || ((byte *)0xa8 < pbVar15 + -0xd)) goto LAB_0098ba08; - bVar23 = *(int *)((int)local_50 + (int)(pbVar16 + -0xd) * 4) == iVar14; + bVar23 = *(int *)((int)local_50 + (int)(pbVar15 + -0xd) * 4) == iVar13; } } - else if (iVar17 == 6) { - uVar9 = local_78[iVar14].AllowedDoors; + else if (iVar16 == 6) { + uVar9 = ((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->AllowedDoors; if ((uVar9 & 0xb) == 0) { if (((uVar9 & 0x24) != 0) || ((uVar9 >> 7 & 1) != 0)) { - if (((int)pbVar16 < 1) || ((byte *)0xa8 < pbVar16 + -1)) + if (((int)pbVar15 < 1) || ((byte *)0xa8 < pbVar15 + -1)) goto LAB_0098ba08; - bVar23 = *(int *)((int)local_50 + (int)pbVar16 * 4 + -4) == iVar14; + bVar23 = *(int *)((int)local_50 + (int)pbVar15 * 4 + -4) == iVar13; } } else { - if (((int)(pbVar16 + 1) < 0) || ((byte *)0xa8 < pbVar16 + 1)) + if (((int)(pbVar15 + 1) < 0) || ((byte *)0xa8 < pbVar15 + 1)) goto LAB_0098ba08; - bVar23 = *(int *)((int)local_50 + (int)pbVar16 * 4 + 4) == iVar14; + bVar23 = *(int *)((int)local_50 + (int)pbVar15 * 4 + 4) == iVar13; } } - else if (iVar17 == 8) { - local_5c = (undefined1 *)local_78[iVar14].AllowedDoors; + else if (iVar16 == 8) { + local_5c = (undefined1 *) + ((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->AllowedDoors + ; if (((uint)local_5c & 3) == 0) { if (((uint)local_5c & 0x24) == 0) { if (((uint)local_5c & 0x18) == 0) { if ((((uint)local_5c >> 7 & 1) != 0) || (((uint)local_5c >> 6 & 1) != 0) ) { - if (((int)pbVar16 < 1) || - (((((byte *)0xa8 < pbVar16 + -1 || - (*(int *)((int)local_50 + (int)pbVar16 * 4 + -4) != iVar14)) || - ((int)(pbVar16 + -0xd) < 0)) || - (((byte *)0xa8 < pbVar16 + -0xd || - (*(int *)((int)local_50 + (int)(pbVar16 + -0xd) * 4) != iVar14))) + if (((int)pbVar15 < 1) || + (((((byte *)0xa8 < pbVar15 + -1 || + (*(int *)((int)local_50 + (int)pbVar15 * 4 + -4) != iVar13)) || + ((int)(pbVar15 + -0xd) < 0)) || + (((byte *)0xa8 < pbVar15 + -0xd || + (*(int *)((int)local_50 + (int)(pbVar15 + -0xd) * 4) != iVar13))) ))) goto LAB_0098ba08; bVar23 = true; } } else { - if ((((int)(pbVar16 + 1) < 0) || ((byte *)0xa8 < pbVar16 + 1)) || - ((*(int *)((int)local_50 + (int)pbVar16 * 4 + 4) != iVar14 || - ((((int)(pbVar16 + -0xd) < 0 || ((byte *)0xa8 < pbVar16 + -0xd)) || - (*(int *)((int)local_50 + (int)(pbVar16 + -0xd) * 4) != iVar14))))) + if ((((int)(pbVar15 + 1) < 0) || ((byte *)0xa8 < pbVar15 + 1)) || + ((*(int *)((int)local_50 + (int)pbVar15 * 4 + 4) != iVar13 || + ((((int)(pbVar15 + -0xd) < 0 || ((byte *)0xa8 < pbVar15 + -0xd)) || + (*(int *)((int)local_50 + (int)(pbVar15 + -0xd) * 4) != iVar13))))) ) goto LAB_0098ba08; bVar23 = true; } goto LAB_0098ba0a; } - if ((0 < (int)pbVar16) && (pbVar16 + -1 < (byte *)0xa9)) { - iVar17 = *(int *)((int)local_50 + (int)pbVar16 * 4 + -4); + if ((0 < (int)pbVar15) && (pbVar15 + -1 < (byte *)0xa9)) { + iVar16 = *(int *)((int)local_50 + (int)pbVar15 * 4 + -4); goto LAB_0098b9f4; } } - else if ((-1 < (int)(pbVar16 + 1)) && (pbVar16 + 1 < (byte *)0xa9)) { - iVar17 = *(int *)((int)local_50 + (int)pbVar16 * 4 + 4); + else if ((-1 < (int)(pbVar15 + 1)) && (pbVar15 + 1 < (byte *)0xa9)) { + iVar16 = *(int *)((int)local_50 + (int)pbVar15 * 4 + 4); LAB_0098b9f4: - if ((((iVar17 == iVar14) && (pbVar16 = pbVar16 + 0xd, -1 < (int)pbVar16)) && - (pbVar16 < (byte *)0xa9)) && - (*(int *)((int)local_50 + (int)pbVar16 * 4) == iVar14)) + if ((((iVar16 == iVar13) && (pbVar15 = pbVar15 + 0xd, -1 < (int)pbVar15)) && + (pbVar15 < (byte *)0xa9)) && + (*(int *)((int)local_50 + (int)pbVar15 * 4) == iVar13)) goto LAB_0098ba0a; } LAB_0098ba08: @@ -855135,32 +856611,32 @@ LAB_0098ba08: } } LAB_0098ba0a: - pvVar3 = local_30[1]._animState._animData; - pbVar15 = local_4c; - if ((float)pvVar3 <= (float)local_4c) { - pbVar15 = pvVar3; + pvVar17 = local_30[1]._animState._animData; + pbVar14 = local_4c; + if ((float)pvVar17 <= (float)local_4c) { + pbVar14 = pvVar17; } - local_30[1]._animState._animData = pbVar15; + local_30[1]._animState._animData = pbVar14; pRVar1 = local_30[1]._animState._layerFrames; - pRVar4 = pRVar26; - if ((float)pRVar1 <= (float)pRVar26) { + pRVar4 = pRVar11; + if ((float)pRVar1 <= (float)pRVar11) { pRVar4 = pRVar1; } fVar25 = *(float *)local_30[1]._animDefaultName._buf + *(float *)(local_30[1]._animDefaultName._buf + 4); - fVar27 = (float)local_30[1]._filename._size; + fVar26 = (float)local_30[1]._filename._size; local_30[1]._animState._layerFrames = pRVar4; - pvVar3 = local_30[1]._animState._nullLayerFrames; + pvVar17 = local_30[1]._animState._nullLayerFrames; fVar25 = fVar25 + fVar25; - pvVar24 = (void *)((float)local_4c + fVar27 + fVar25); - if ((float)pvVar24 <= (float)pvVar3) { - pvVar24 = pvVar3; + pvVar24 = (void *)((float)local_4c + fVar26 + fVar25); + if ((float)pvVar24 <= (float)pvVar17) { + pvVar24 = pvVar17; } local_30[1]._animState._nullLayerFrames = pvVar24; - fVar27 = local_30[1]._animState._animFrame; - fVar25 = (float)pRVar26 + (float)local_30[1]._filename._capacity + fVar25; - if (fVar25 <= fVar27) { - fVar25 = fVar27; + fVar26 = local_30[1]._animState._animFrame; + fVar25 = (float)pRVar11 + (float)local_30[1]._filename._capacity + fVar25; + if (fVar25 <= fVar26) { + fVar25 = fVar26; } local_30[1]._animState._animFrame = fVar25; local_74 = local_4c; @@ -855171,49 +856647,49 @@ LAB_0098ba0a: (pAVar5->_animState)._isPlaying = 0; } if ((!bVar23) || (pAVar5->_loaded == 0)) { - pRVar26 = local_34; - fVar27 = local_3c; + pRVar11 = local_34; + pvVar17 = local_3c; } else if (pAVar5->_overlayRenderFirst == 0) { AnimationState::Render(&local_74,&g_vectorZero,&g_vectorZero); AnimationState::Render(&local_74,&g_vectorZero,&g_vectorZero); local_34 = local_70; - pRVar26 = local_70; - fVar27 = local_3c; + pRVar11 = local_70; + pvVar17 = local_3c; local_4c = local_74; } else { AnimationState::Render(&local_74,&g_vectorZero,&g_vectorZero); AnimationState::Render(&local_74,&g_vectorZero,&g_vectorZero); local_34 = local_70; - pRVar26 = local_70; - fVar27 = local_3c; + pRVar11 = local_70; + pvVar17 = local_3c; local_4c = local_74; } } } - pbVar15 = local_38; + pbVar14 = local_38; } - local_4c = (byte *)((float)local_4c + fVar27); + local_4c = (byte *)((float)local_4c + (float)pvVar17); local_54 = local_54 + 1; - } while ((int)local_54 < (int)(pbVar15 + *(int *)(pAVar19[1]._animDefaultName._buf + 8))); - puVar10 = local_84; - fVar27 = local_60; + } while ((int)local_54 < (int)(pbVar14 + *(int *)(pAVar19[1]._animDefaultName._buf + 8))); + puVar10 = (undefined1 *)local_c8._68_4_; + pvVar17 = local_60; } - iVar14 = *(int *)(pAVar19[1]._animDefaultName._buf + 0xc); - local_34 = (RNG *)((float)pRVar26 + fVar27); - local_7c = local_7c + 1; - } while ((int)local_7c < (int)(puVar10 + iVar14)); + iVar13 = *(int *)(pAVar19[1]._animDefaultName._buf + 0xc); + local_34 = (RoomDescriptor *)((float)pRVar11 + (float)pvVar17); + local_c8._76_4_ = local_c8._76_4_ + 1; + } while ((int)local_c8._76_4_ < (int)(puVar10 + iVar13)); } local_4c = (byte *)0x0; local_74 = (void *)0x0; local_40 = (void *)0x0; local_2c = (byte *)0x0; if (0 < (int)puVar10) { - local_2c = (byte *)(0.0 - fVar27); + local_2c = (byte *)(0.0 - (float)pvVar17); } if (0 < (int)local_38) { - local_40 = (undefined1 *)(0.0 - local_3c); + local_40 = (undefined1 *)(0.0 - (float)local_3c); } if ((int)puVar10 < 1) { local_64 = puVar10; @@ -855222,7 +856698,7 @@ LAB_0098ba0a: local_64 = puVar10 + -1; } local_70 = local_34; - if ((int)local_64 < (int)(puVar10 + iVar14)) { + if ((int)local_64 < (int)(puVar10 + iVar13)) { local_5c = (undefined1 *)((int)local_64 * 0xd); pAVar19 = local_30; do { @@ -855230,28 +856706,29 @@ LAB_0098ba0a: if (0 < (int)local_38) { local_4c = local_38 + -1; } - pbVar15 = local_2c; - fVar25 = local_3c; + pbVar14 = local_2c; + pvVar24 = local_3c; if ((int)local_4c < (int)(local_38 + *(int *)(pAVar19[1]._animDefaultName._buf + 8))) { - local_6c = local_4c + (int)local_5c; + local_6c = (byte *)((int)local_5c + (int)local_4c); local_68 = (int *)((int)local_50 + (int)local_6c * 4); - pbVar16 = local_38; + pbVar15 = local_38; do { pAVar5 = local_30; if ((-1 < (int)local_6c) && (local_6c < (byte *)0xa9)) { - iVar14 = *local_68; - if (-1 < iVar14) { - if ((byte *)local_78[iVar14].GridIndex == local_6c) { + iVar13 = *local_68; + if (-1 < iVar13) { + if ((byte *)((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->GridIndex == + local_6c) { LAB_0098bdb8: - pvVar3 = local_78[iVar14].Data; - if (*(int *)((int)pvVar3 + 0x48) + -1 < 0) { + pvVar17 = ((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->Data; + if (*(int *)((int)pvVar17 + 0x48) + -1 < 0) { /* WARNING: Subroutine does not return */ - KAGE_LogMessage(0x10,"invalid room shape id: %d\n",*(int *)((int)pvVar3 + 0x48)) - ; + KAGE_LogMessage(0x10,"invalid room shape id: %d\n",*(int *)((int)pvVar17 + 0x48) + ); } local_48 = (byte *)g_vectorOne.x; - local_34 = (RNG *)g_vectorOne.y; - switch(*(undefined4 *)((int)pvVar3 + 0x48)) { + local_34 = (RoomDescriptor *)g_vectorOne.y; + switch(*(undefined4 *)((int)pvVar17 + 0x48)) { case 1: case 2: case 3: @@ -855259,72 +856736,75 @@ LAB_0098bdb8: case 4: case 5: local_48 = (byte *)0x3f800000; - local_34 = (RNG *)0x40000000; + local_34 = (RoomDescriptor *)0x40000000; break; case 6: case 7: local_48 = (byte *)0x40000000; - local_34 = (RNG *)0x3f800000; + local_34 = (RoomDescriptor *)0x3f800000; break; case 8: case 10: case 0xb: case 0xc: - local_34 = (RNG *)0x40000000; + local_34 = (RoomDescriptor *)0x40000000; local_48 = (byte *)0x40000000; break; case 9: local_48 = (byte *)0x0; - local_34 = (RNG *)0x40000000; + local_34 = (RoomDescriptor *)0x40000000; break; default: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"invalid room shape id: %d\n", - *(undefined4 *)((int)pvVar3 + 0x48)); + *(undefined4 *)((int)pvVar17 + 0x48)); } - iVar17 = *(int *)((int)pvVar3 + 0x48); + iVar16 = *(int *)((int)pvVar17 + 0x48); local_58 = local_40; local_54 = local_2c; - if (iVar17 == 9) { - local_58 = (void *)((float)local_40 - local_3c); + if (iVar16 == 9) { + local_58 = (void *)((float)local_40 - (float)local_3c); } - if ((g_game->_stage == 0xc) && (*(int *)((int)pvVar3 + 8) == 5)) { - if (iVar17 == 4) { - if ((local_78[iVar14].AllowedDoors & 0x58) != 0) { + if ((g_game->_stage == 0xc) && (*(int *)((int)pvVar17 + 8) == 5)) { + if (iVar16 == 4) { + if ((((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->AllowedDoors & + 0x58) != 0) { LAB_0098bef9: - local_54 = (byte *)((float)local_2c + local_60); + local_54 = (byte *)((float)local_2c + (float)local_60); } } else { - if (iVar17 == 6) { - if ((local_78[iVar14].AllowedDoors & 0xa4) == 0) goto LAB_0098bf06; + if (iVar16 == 6) { + if ((((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->AllowedDoors & + 0xa4) == 0) goto LAB_0098bf06; } else { - if (iVar17 != 8) goto LAB_0098bf22; - uVar9 = local_78[iVar14].AllowedDoors; + if (iVar16 != 8) goto LAB_0098bf22; + uVar9 = ((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->AllowedDoors; if ((uVar9 & 0x24) == 0) { if ((uVar9 & 0x18) == 0) { if ((uVar9 & 0xc0) == 0) goto LAB_0098bf06; - local_58 = (void *)((float)local_58 + local_3c); + local_58 = (void *)((float)local_58 + (float)local_3c); } goto LAB_0098bef9; } } - local_58 = (void *)((float)local_58 + local_3c); + local_58 = (void *)((float)local_58 + (float)local_3c); } LAB_0098bf06: local_48 = (byte *)g_vectorOne.x; - local_34 = (RNG *)g_vectorOne.y; + local_34 = (RoomDescriptor *)g_vectorOne.y; } LAB_0098bf22: - uVar9 = (uint)local_78[iVar14].Flags >> 10; + uVar9 = (uint)((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->Flags >> 10; if ((uVar9 & 1) != 0) { (local_30->_color)._tint[0] = 1.0; (local_30->_color)._tint[1] = 0.29411766; (local_30->_color)._tint[2] = 0.29411766; (local_30->_color)._tint[3] = 1.0; } - if (local_88->ListIndex == local_78[iVar14].ListIndex) { + if (*(int *)(local_c8._64_4_ + 8) == + ((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->ListIndex) { bVar6 = ANM2::SetAnimation(local_30,(byte *)"RoomCurrent",1); if (((bVar6 != 0) && ((pAVar5->_animState)._animData != (void *)0x0)) && (AnimationState::SetFrameFloat(&pAVar5->_animState), @@ -855340,30 +856820,35 @@ LAB_0098bf22: } AnimationState::Render(&local_58,&g_vectorZero,&g_vectorZero); } - fVar27 = *(float *)pAVar5[1]._animDefaultName._buf + + fVar26 = *(float *)pAVar5[1]._animDefaultName._buf + *(float *)(pAVar5[1]._animDefaultName._buf + 4); - fVar25 = fVar27 * g_vectorOne.y; + fVar25 = fVar26 * g_vectorOne.y; pAVar5[1]._animDefaultName._capacity = (uint)((float)local_48 * (float)pAVar5[1]._filename._size * 0.5 + - (float)local_40 + fVar27 * g_vectorOne.x); + (float)local_40 + fVar26 * g_vectorOne.x); pAVar5[1]._animState._animation = (void *)((float)local_34 * (float)pAVar5[1]._filename._capacity * 0.5 + (float)local_2c + fVar25); } else { - if (((local_78[iVar14].Flags & 1) == 0) || - ((local_78[iVar14].DisplayFlags & 1) == 0)) { - if ((((local_78[iVar14].Data == (void *)0x0) || - (((local_78[iVar14].DisplayFlags & 1) == 0 || - (iVar14 = *(int *)((int)local_78[iVar14].Data + 8), iVar14 == 7)))) || - (iVar14 == 8)) || (iVar14 == 0x1d)) goto LAB_0098c150; - uVar29 = 0x100b7d3e0; + if (((((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->Flags & 1) == 0) || + ((((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->DisplayFlags & 1) == + 0)) { + if ((((((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->Data == + (void *)0x0) || + (((((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->DisplayFlags & + 1) == 0 || + (iVar13 = *(int *)((int)((RoomDescriptor *) + (local_c8._80_4_ + iVar13 * 0xb8))->Data + 8), + iVar13 == 7)))) || (iVar13 == 8)) || (iVar13 == 0x1d)) + goto LAB_0098c150; + uVar28 = 0x100b7d3e0; } else { - uVar29 = 0x100b7d350; + uVar28 = 0x100b7d350; } - bVar6 = ANM2::SetAnimation(local_30,(byte *)uVar29, - (byte)((ulonglong)uVar29 >> 0x20)); + bVar6 = ANM2::SetAnimation(local_30,(byte *)uVar28, + (byte)((ulonglong)uVar28 >> 0x20)); if (((bVar6 != 0) && ((pAVar5->_animState)._animData != (void *)0x0)) && (AnimationState::SetFrameFloat(&pAVar5->_animState), (pAVar5->_animState)._animData != (void *)0x0)) { @@ -855382,8 +856867,8 @@ LAB_0098bf22: } LAB_0098c150: pAVar19 = local_30; - pbVar15 = local_2c; - fVar25 = local_3c; + pbVar14 = local_2c; + pvVar24 = local_3c; if ((uVar9 & 1) != 0) { (pAVar5->_color)._tint[0] = 1.0; (pAVar5->_color)._tint[1] = 1.0; @@ -855391,38 +856876,40 @@ LAB_0098c150: (pAVar5->_color)._tint[3] = 1.0; } } - else if ((byte *)local_78[iVar14].GridIndex + 1 == local_6c) { - if (*(int *)((int)local_78[iVar14].Data + 0x48) == 9) goto LAB_0098bdb8; + else if ((byte *)((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->GridIndex + + 1 == local_6c) { + if (*(int *)((int)((RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8))->Data + + 0x48) == 9) goto LAB_0098bdb8; } - pbVar16 = local_38; + pbVar15 = local_38; } } - local_40 = (undefined1 *)((float)local_40 + fVar25); + local_40 = (undefined1 *)((float)local_40 + (float)pvVar24); local_4c = local_4c + 1; local_6c = local_6c + 1; local_68 = local_68 + 1; - } while ((int)local_4c < (int)(pbVar16 + *(int *)(pAVar19[1]._animDefaultName._buf + 8))); - fVar27 = local_60; + } while ((int)local_4c < (int)(pbVar15 + *(int *)(pAVar19[1]._animDefaultName._buf + 8))); + pvVar17 = local_60; } local_40 = (void *)0x0; if (0 < (int)local_38) { - local_40 = (undefined1 *)(0.0 - fVar25); + local_40 = (undefined1 *)(0.0 - (float)pvVar24); } - local_2c = (byte *)((float)pbVar15 + fVar27); - iVar14 = *(int *)(pAVar19[1]._animDefaultName._buf + 0xc); + local_2c = (byte *)((float)pbVar14 + (float)pvVar17); + iVar13 = *(int *)(pAVar19[1]._animDefaultName._buf + 0xc); local_64 = local_64 + 1; local_5c = (undefined1 *)((int)local_5c + 0xd); - } while ((int)local_64 < (int)(local_84 + iVar14)); + } while ((int)local_64 < (int)(local_c8._68_4_ + iVar13)); pAVar19 = local_30; - puVar10 = local_84; + puVar10 = (undefined1 *)local_c8._68_4_; } local_40 = (undefined1 *)0x0; local_6c = (byte *)0x0; if (0 < (int)puVar10) { - local_6c = (byte *)(0.0 - fVar27); + local_6c = (byte *)(0.0 - (float)pvVar17); } if (0 < (int)local_38) { - local_40 = (undefined1 *)(0.0 - local_3c); + local_40 = (undefined1 *)(0.0 - (float)local_3c); } if ((int)puVar10 < 1) { local_5c = puVar10; @@ -855430,7 +856917,7 @@ LAB_0098c150: else { local_5c = puVar10 + -1; } - if ((int)local_5c < (int)(puVar10 + iVar14)) { + if ((int)local_5c < (int)(puVar10 + iVar13)) { do { if ((int)local_38 < 1) { local_48 = local_38; @@ -855438,26 +856925,26 @@ LAB_0098c150: else { local_48 = local_38 + -1; } - fVar25 = local_3c; + pvVar24 = local_3c; if ((int)local_48 < (int)(local_38 + *(int *)(pAVar19[1]._animDefaultName._buf + 8))) { local_4c = (byte *)((int)local_5c * 0xd); do { - pbVar15 = local_4c + (int)local_48; - if (-1 < (int)pbVar15) { - if (pbVar15 < (byte *)0xa9) { - iVar14 = *(int *)((int)local_50 + (int)pbVar15 * 4); - if (-1 < iVar14) { + pbVar14 = local_4c + (int)local_48; + if (-1 < (int)pbVar14) { + if (pbVar14 < (byte *)0xa9) { + iVar13 = *(int *)((int)local_50 + (int)pbVar14 * 4); + if (-1 < iVar13) { pcVar21 = (char *)0x0; local_2c = (byte *)0x0; - local_34 = (RNG *)(local_78 + iVar14); - RVar13 = local_34[4]; - if ((RVar13 == (RNG)0x0) || ((*(byte *)(local_34 + 0xf) & 4) == 0)) { + local_34 = (RoomDescriptor *)(local_c8._80_4_ + iVar13 * 0xb8); + pvVar17 = local_34->Data; + if ((pvVar17 == (void *)0x0) || ((local_34->DisplayFlags & 4) == 0)) { switchD_0098c2e6_caseD_3: - if (local_34[4] != (RNG)0x0) { - iVar14 = *(int *)((int)local_34[4] + 8); - if (((iVar14 != 1) && (local_34[0x10] == (RNG)0x0)) && - ((*(byte *)(local_34 + 0xf) & 2) != 0)) { - switch(iVar14) { + if (local_34->Data != (void *)0x0) { + iVar13 = *(int *)((int)local_34->Data + 8); + if (((iVar13 != 1) && (local_34->VisitedCount == 0)) && + ((local_34->DisplayFlags & 2) != 0)) { + switch(iVar13) { case 2: case 9: case 0xc: @@ -855473,17 +856960,17 @@ switchD_0098c2e6_caseD_3: } } else { - switch(*(undefined4 *)((int)RVar13 + 8)) { + switch(*(undefined4 *)((int)pvVar17 + 8)) { case 1: - if ((local_34[0x10] == (RNG)0x0) || (g_game->_currentDimensionIdx == 2)) + if ((local_34->VisitedCount == 0) || (g_game->_currentDimensionIdx == 2)) goto switchD_0098c2e6_caseD_3; - if (*(int *)((int)RVar13 + 0x10) == 0x22) { + if (*(int *)((int)pvVar17 + 0x10) == 0x22) { bVar6 = Level::HasMirrorDimension((Level *)g_game); if (bVar6 == 0) goto switchD_0098c2e6_caseD_3; pcVar21 = "IconMirrorRoom"; } else { - if ((*(int *)((int)RVar13 + 0x10) != 10) || + if ((*(int *)((int)pvVar17 + 0x10) != 10) || (bVar6 = Level::HasAbandonedMineshaft((Level *)g_game), bVar6 == 0)) goto switchD_0098c2e6_caseD_3; pcVar21 = "IconMinecartRoom"; @@ -855496,12 +856983,12 @@ switchD_0098c2e6_caseD_3: goto switchD_0098c2e6_caseD_3; case 4: if (((g_game->_difficulty == 2) || (g_game->_difficulty == 3)) && - (g_game->_greedModeTreasureRoomIdx != *(int *)&local_34->field_0x0)) { + (g_game->_greedModeTreasureRoomIdx != local_34->GridIndex)) { pcVar21 = "IconTreasureRoomGreed"; } else { pcVar21 = "IconTreasureRoomRed"; - if (((uint)local_34[0x11] >> 0xb & 1) == 0) { + if (((uint)local_34->Flags >> 0xb & 1) == 0) { pcVar21 = "IconTreasureRoom"; } } @@ -855526,7 +857013,7 @@ switchD_0098c2e6_caseD_3: break; case 0xb: pcVar21 = "IconBossAmbushRoom"; - if (*(int *)((int)RVar13 + 0x10) != 1) { + if (*(int *)((int)pvVar17 + 0x10) != 1) { pcVar21 = "IconAmbushRoom"; } break; @@ -855568,18 +857055,18 @@ LAB_0098c47d: local_2c = (byte *)pcVar21; } uVar9 = 0; - local_90 = 0; - local_94 = 0; + local_c8._56_4_ = 0; + local_c8._52_4_ = 0; uVar22 = (uint)((byte *)pcVar21 != (byte *)0x0); - local_9c = 0; - local_70 = (RNG *)0x0; + local_c8._44_4_ = 0; + local_70 = (RoomDescriptor *)0x0; local_54 = (byte *)0x0; - local_7c = (undefined1 *)0x0; - local_98 = 0; - local_88 = (RoomDescriptor *)0x0; - local_8c = 0; - local_80 = uVar22; - if (local_34[0xf] != (RNG)0x0) { + local_c8._76_4_ = (undefined1 *)0x0; + local_c8._48_4_ = 0; + local_c8._64_4_ = (RoomDescriptor *)0x0; + local_c8._60_4_ = 0; + local_c8._72_4_ = uVar22; + if (local_34->DisplayFlags != 0) { pRVar11 = Level::GetRoomByIdx((Level *)g_game,(int)(local_48 + (int)local_4c),-1 ); piVar18 = (pRVar11->SavedEntities)._begin; @@ -855587,15 +857074,15 @@ LAB_0098c47d: ); if (piVar18 != (pRVar11->SavedEntities)._end) { do { - iVar14 = *piVar18; - if (iVar14 == 5) { + iVar13 = *piVar18; + if (iVar13 == 5) { if (piVar18[5] == 0) { if ((float)piVar18[10] == g_vectorZero.x) { if ((float)piVar18[0xb] == g_vectorZero.y) goto switchD_0098c8f3_caseD_34; } - iVar14 = piVar18[1]; - if (iVar14 == 10) { + iVar13 = piVar18[1]; + if (iVar13 == 10) { if ((uVar9 & 1) == 0) { uVar9 = uVar9 | 1; uVar22 = uVar22 + 1; @@ -855605,69 +857092,69 @@ LAB_0098c47d: break; case 3: uVar12 = 5; - if (4 < local_90) { - uVar12 = local_90; + if (4 < (uint)local_c8._56_4_) { + uVar12 = local_c8._56_4_; } - local_90 = uVar12; + local_c8._56_4_ = uVar12; break; case 4: uVar12 = 9; - if (8 < local_90) { - uVar12 = local_90; + if (8 < (uint)local_c8._56_4_) { + uVar12 = local_c8._56_4_; } - local_90 = uVar12; + local_c8._56_4_ = uVar12; break; default: uVar12 = 1; - if (local_90 != 0) { - uVar12 = local_90; + if (local_c8._56_4_ != 0) { + uVar12 = local_c8._56_4_; } - local_90 = uVar12; + local_c8._56_4_ = uVar12; break; case 6: uVar12 = 6; - if (5 < local_90) { - uVar12 = local_90; + if (5 < (uint)local_c8._56_4_) { + uVar12 = local_c8._56_4_; } - local_90 = uVar12; + local_c8._56_4_ = uVar12; break; case 7: uVar12 = 8; - if (7 < local_90) { - uVar12 = local_90; + if (7 < (uint)local_c8._56_4_) { + uVar12 = local_c8._56_4_; } - local_90 = uVar12; + local_c8._56_4_ = uVar12; break; case 8: uVar12 = 3; - if (2 < local_90) { - uVar12 = local_90; + if (2 < (uint)local_c8._56_4_) { + uVar12 = local_c8._56_4_; } - local_90 = uVar12; + local_c8._56_4_ = uVar12; break; case 10: uVar12 = 4; - if (3 < local_90) { - uVar12 = local_90; + if (3 < (uint)local_c8._56_4_) { + uVar12 = local_c8._56_4_; } - local_90 = uVar12; + local_c8._56_4_ = uVar12; break; case 0xb: uVar12 = 7; - if (6 < local_90) { - uVar12 = local_90; + if (6 < (uint)local_c8._56_4_) { + uVar12 = local_c8._56_4_; } - local_90 = uVar12; + local_c8._56_4_ = uVar12; break; case 0xc: uVar12 = 2; - if (1 < local_90) { - uVar12 = local_90; + if (1 < (uint)local_c8._56_4_) { + uVar12 = local_c8._56_4_; } - local_90 = uVar12; + local_c8._56_4_ = uVar12; } } - else if (iVar14 == 0x14) { + else if (iVar13 == 0x14) { if ((uVar9 & 2) == 0) { uVar9 = uVar9 | 2; uVar22 = uVar22 + 1; @@ -855676,73 +857163,73 @@ LAB_0098c47d: case 2: case 6: pRVar11 = (RoomDescriptor *)0x1; - if (local_88 != (RoomDescriptor *)0x0) { - pRVar11 = local_88; + if ((RoomDescriptor *)local_c8._64_4_ != (RoomDescriptor *)0x0) { + pRVar11 = (RoomDescriptor *)local_c8._64_4_; } - local_88 = pRVar11; + local_c8._64_4_ = pRVar11; break; case 3: pRVar11 = (RoomDescriptor *)0x2; - if ((RoomDescriptor *)0x1 < local_88) { - pRVar11 = local_88; + if ((RoomDescriptor *)0x1 < (uint)local_c8._64_4_) { + pRVar11 = (RoomDescriptor *)local_c8._64_4_; } - local_88 = pRVar11; + local_c8._64_4_ = pRVar11; break; default: break; case 7: pRVar11 = (RoomDescriptor *)0x3; - if ((RoomDescriptor *)0x2 < local_88) { - pRVar11 = local_88; + if ((RoomDescriptor *)0x2 < (uint)local_c8._64_4_) { + pRVar11 = (RoomDescriptor *)local_c8._64_4_; } - local_88 = pRVar11; + local_c8._64_4_ = pRVar11; } } - else if (iVar14 == 0x2a) { + else if (iVar13 == 0x2a) { if ((uVar9 & 4) == 0) { uVar9 = uVar9 | 4; goto LAB_0098ca30; } } - else if (iVar14 == 0x28) { + else if (iVar13 == 0x28) { if ((uVar9 & 0x10) == 0) { uVar9 = uVar9 | 0x10; uVar22 = uVar22 + 1; } - if (local_70 < (RNG *)(uint)(piVar18[2] == 4)) { - local_70 = (RNG *)(uint)(piVar18[2] == 4); + if (local_70 < (RoomDescriptor *)(uint)(piVar18[2] == 4)) { + local_70 = (RoomDescriptor *)(uint)(piVar18[2] == 4); } } - else if (iVar14 == 0x1e) { + else if (iVar13 == 0x1e) { if ((uVar9 & 8) == 0) { uVar9 = uVar9 | 8; uVar22 = uVar22 + 1; } if (piVar18[2] == 2) { uVar12 = 1; - if (local_9c != 0) { - uVar12 = local_9c; + if (local_c8._44_4_ != 0) { + uVar12 = local_c8._44_4_; } - local_9c = uVar12; + local_c8._44_4_ = uVar12; } else if (piVar18[2] == 4) { uVar12 = 2; - if (1 < local_9c) { - uVar12 = local_9c; + if (1 < (uint)local_c8._44_4_) { + uVar12 = local_c8._44_4_; } - local_9c = uVar12; + local_c8._44_4_ = uVar12; } else { } } - else if (iVar14 == 300) { - iVar14 = piVar18[2]; - if (((iVar14 < 0) || - (pvVar3 = (g_manager->_itemConfig)._cards._begin, - (int)(g_manager->_itemConfig)._cards._end - (int)pvVar3 >> 2 <= - iVar14)) || - ((iVar14 = *(int *)((int)pvVar3 + iVar14 * 4), iVar14 == 0 || - (*(int *)(iVar14 + 0x58) != 2)))) { + else if (iVar13 == 300) { + iVar13 = piVar18[2]; + if (((iVar13 < 0) || + (pvVar17 = (g_manager->_itemConfig)._cards._begin, + (int)(g_manager->_itemConfig)._cards._end - (int)pvVar17 >> 2 <= + iVar13)) || + ((iVar13 = *(int *)((int)pvVar17 + iVar13 * 4), iVar13 == 0 || + (*(int *)(iVar13 + 0x58) != 2)))) { if ((uVar9 & 0x20) == 0) { uVar9 = uVar9 | 0x20; goto LAB_0098ca30; @@ -855753,7 +857240,7 @@ LAB_0098c47d: goto LAB_0098ca30; } } - else if (iVar14 == 100) { + else if (iVar13 == 100) { if ((uVar9 & 0x40) == 0) { uVar9 = uVar9 | 0x40; goto LAB_0098ca30; @@ -855801,41 +857288,41 @@ LAB_0098c8c3: switchD_0098c8f3_caseD_36: uVar12 = 4; } - if (local_94 < uVar12) { - local_94 = uVar12; + if ((uint)local_c8._52_4_ < uVar12) { + local_c8._52_4_ = uVar12; } } - else if (iVar14 == 0x15e) { + else if (iVar13 == 0x15e) { if ((uVar9 & 0x400) != 0) goto LAB_0098c8c3; uVar9 = uVar9 | 0x400; LAB_0098ca30: uVar22 = uVar22 + 1; } - else if (iVar14 == 0x5a) { + else if (iVar13 == 0x5a) { if ((uVar9 & 0x100) == 0) { uVar9 = uVar9 | 0x100; uVar22 = uVar22 + 1; } - if (local_8c < (piVar18[2] == 4)) { - local_8c = (uint)(piVar18[2] == 4); + if ((uint)local_c8._60_4_ < (uint)(piVar18[2] == 4)) { + local_c8._60_4_ = (uint)(piVar18[2] == 4); } } else { - if (iVar14 != 0x46) goto LAB_0098c8c3; + if (iVar13 != 0x46) goto LAB_0098c8c3; if (-1 < (char)uVar9) { uVar9 = uVar9 | 0x80; uVar22 = uVar22 + 1; } uVar12 = (uint)((piVar18[2] & 0x7ffU) == 0xe); - if (local_98 < uVar12) { - local_98 = uVar12; + if ((uint)local_c8._48_4_ < uVar12) { + local_c8._48_4_ = uVar12; } } } goto switchD_0098c8f3_caseD_34; } - if (iVar14 != 6) { - if (iVar14 == 1000) { + if (iVar13 != 6) { + if (iVar13 == 1000) { if (piVar18[1] == 0xa1) { if (piVar18[2] == 0x3d4) { if ((uVar9 & 0x8000) == 0) { @@ -855850,13 +857337,13 @@ LAB_0098ca30: if (piVar18[1] == 0xe) goto switchD_0098c8f3_caseD_34; switch(piVar18[1]) { default: - pbVar15 = (byte *)0x2; + pbVar14 = (byte *)0x2; break; case 2: - pbVar15 = (byte *)0x3; + pbVar14 = (byte *)0x3; break; case 3: - pbVar15 = &DAT_00000004; + pbVar14 = &DAT_00000004; break; case 4: case 6: @@ -855871,25 +857358,25 @@ LAB_0098ca30: goto LAB_0098c9d2; case 8: case 0xb: - pbVar15 = (byte *)0x1; + pbVar14 = (byte *)0x1; break; case 9: puVar20 = &DAT_00000004; goto LAB_0098c9d2; case 10: - pbVar15 = &DAT_00000006; + pbVar14 = &DAT_00000006; break; case 0xc: - pbVar15 = (byte *)0x0; + pbVar14 = (byte *)0x0; break; case 0xd: puVar20 = &DAT_00000005; goto LAB_0098c9d2; case 0x10: - pbVar15 = &DAT_00000005; + pbVar14 = &DAT_00000005; break; case 0x11: - pbVar15 = &DAT_00000007; + pbVar14 = &DAT_00000007; break; case 0x12: puVar20 = (undefined1 *)0x1; @@ -855898,19 +857385,19 @@ LAB_0098c9d2: uVar9 = uVar9 | 0x2000; uVar22 = uVar22 + 1; } - if (local_7c < puVar20) { - local_7c = puVar20; + if ((uint)local_c8._76_4_ < puVar20) { + local_c8._76_4_ = puVar20; } goto switchD_0098c8f3_caseD_34; case 0x13: - pbVar15 = &DAT_00000008; + pbVar14 = &DAT_00000008; } if ((uVar9 & 0x800) == 0) { uVar9 = uVar9 | 0x800; uVar22 = uVar22 + 1; } - if (local_54 < pbVar15) { - local_54 = pbVar15; + if (local_54 < pbVar14) { + local_54 = pbVar14; } switchD_0098c8f3_caseD_34: piVar18 = piVar18 + 0x1e; @@ -855918,82 +857405,84 @@ switchD_0098c8f3_caseD_34: (int)(local_48 + (int)local_4c),-1); } while (piVar18 != (pRVar11->SavedEntities)._end); } - RVar13 = local_34[0x1a]; - for (iVar14 = (int)local_34[0x1b] - (int)RVar13 >> 5; iVar14 != 0; - iVar14 = iVar14 + -1) { - if ((*(int *)RVar13 == 0x12) && ((uVar9 & 0x4000) == 0)) { + piVar18 = (local_34->SavedGridEntities)._begin; + for (iVar13 = (int)(local_34->SavedGridEntities)._end - (int)piVar18 >> 5; + iVar13 != 0; iVar13 = iVar13 + -1) { + if ((*piVar18 == 0x12) && ((uVar9 & 0x4000) == 0)) { uVar9 = uVar9 | 0x4000; uVar22 = uVar22 + 1; } - RVar13 = (RNG)((int)RVar13 + 0x20); + piVar18 = piVar18 + 8; } } - pAVar19 = local_a0; - if ((*(byte **)&local_34->field_0x0 == local_48 + (int)local_4c) || - ((*(byte **)&local_34->field_0x0 + 1 == local_48 + (int)local_4c && - (*(int *)((int)local_34[4] + 0x48) == 9)))) { - local_14 = *(float *)local_30[1]._animDefaultName._buf + - *(float *)(local_30[1]._animDefaultName._buf + 4); + this = local_c8._40_4_; + if (((byte *)local_34->GridIndex == local_48 + (int)local_4c) || + (((byte *)local_34->GridIndex + 1 == local_48 + (int)local_4c && + (*(int *)((int)local_34->Data + 0x48) == 9)))) { + fVar26 = *(float *)local_30[1]._animDefaultName._buf + + *(float *)(local_30[1]._animDefaultName._buf + 4); local_64 = local_40; - fVar27 = local_14 * g_vectorOne.x; - local_14 = local_14 * g_vectorOne.y; + fVar25 = fVar26 * g_vectorOne.x; + fVar26 = fVar26 * g_vectorOne.y; local_68 = (int *)local_6c; - if ((g_game->_stage == 0xc) && (*(int *)((int)local_34[4] + 8) == 5)) { - iVar14 = *(int *)((int)local_34[4] + 0x48); - if (iVar14 == 4) { - if ((*(byte *)(local_34 + 6) & 0x58) != 0) { + if ((g_game->_stage == 0xc) && (*(int *)((int)local_34->Data + 8) == 5)) { + iVar13 = *(int *)((int)local_34->Data + 0x48); + if (iVar13 == 4) { + if ((local_34->AllowedDoors & 0x58) != 0) { LAB_0098cb43: - local_68 = (int *)((float)local_6c + local_60); + local_68 = (int *)((float)local_6c + (float)local_60); } } - else if (iVar14 == 6) { - if ((*(byte *)(local_34 + 6) & 0xa4) != 0) { + else if (iVar13 == 6) { + if ((local_34->AllowedDoors & 0xa4) != 0) { LAB_0098cb31: - local_64 = (undefined1 *)((float)local_40 + local_3c); + local_64 = (undefined1 *)((float)local_40 + (float)local_3c); } } else { - if (iVar14 != 8) goto LAB_0098cb4f; - RVar13 = local_34[6]; - if (((uint)RVar13 & 0x24) != 0) goto LAB_0098cb31; - if (((uint)RVar13 & 0x18) != 0) goto LAB_0098cb43; - if (((uint)RVar13 & 0xc0) != 0) { - local_64 = (undefined1 *)((float)local_40 + local_3c); - local_68 = (int *)((float)local_6c + local_60); + if (iVar13 != 8) goto LAB_0098cb4f; + uVar12 = local_34->AllowedDoors; + if ((uVar12 & 0x24) != 0) goto LAB_0098cb31; + if ((uVar12 & 0x18) != 0) goto LAB_0098cb43; + if ((uVar12 & 0xc0) != 0) { + local_64 = (undefined1 *)((float)local_40 + (float)local_3c); + local_68 = (int *)((float)local_6c + (float)local_60); } } } else { LAB_0098cb4f: - iVar14 = *(int *)((int)local_34[4] + 0x48); - if (iVar14 == 4) { + iVar13 = *(int *)((int)local_34->Data + 0x48); + if (iVar13 == 4) { LAB_0098cb7c: - local_14 = local_14 + (float)local_30[1]._filename._capacity * 0.5; + fVar26 = fVar26 + (float)local_30[1]._filename._capacity * 0.5; } - else if (iVar14 == 6) { - fVar27 = fVar27 + (float)local_30[1]._filename._size * 0.5; + else if (iVar13 == 6) { + fVar25 = fVar25 + (float)local_30[1]._filename._size * 0.5; } - else if (iVar14 == 8) { - fVar27 = fVar27 + (float)local_30[1]._filename._size * 0.5; + else if (iVar13 == 8) { + fVar25 = fVar25 + (float)local_30[1]._filename._size * 0.5; goto LAB_0098cb7c; } } - fVar25 = (float)local_30[1]._filename._size; - fVar2 = (float)local_30[1]._filename._capacity; + fVar2 = (float)local_30[1]._filename._size; + fVar3 = (float)local_30[1]._filename._capacity; uVar12 = local_30[1]._animDefaultName._size; if (uVar12 < uVar22) { uVar22 = uVar12; } - local_c8 = (RNG)(fVar25 * 0.25 + fVar27); - local_20 = fVar25 * 0.75 + fVar27; - local_bc = fVar2 * 0.5 + local_14; - local_b8 = CONCAT44(local_bc,fVar25 * 0.5 + fVar27); - local_c4 = CONCAT44(local_20,local_bc); - local_24 = fVar2 * 0.25 + local_14; - local_14 = fVar2 * 0.75 + local_14; - local_28 = local_c8; + local_c8._0_4_ = fVar2 * 0.25 + fVar25; + local_20 = fVar2 * 0.75 + fVar25; + local_c8._12_4_ = fVar3 * 0.5 + fVar26; + local_c8._20_4_ = local_c8._12_4_; + local_c8._16_4_ = (void *)(fVar2 * 0.5 + fVar25); + local_c8._8_4_ = local_20; + local_c8._4_4_ = local_c8._12_4_; + local_24 = fVar3 * 0.25 + fVar26; + local_14 = (void *)(fVar3 * 0.75 + fVar26); + local_28 = (void *)local_c8._0_4_; local_1c = local_24; - local_18 = local_c8; + local_18 = (void *)local_c8._0_4_; local_10 = local_20; local_c = local_14; if (4 < uVar22) { @@ -856003,38 +857492,39 @@ LAB_0098cb7c: ); } if (uVar22 < 2) { - local_34 = (RNG *)&local_b8; + local_34 = (RoomDescriptor *)(local_c8 + 0x10); } else if (uVar22 < 3) { - local_34 = &local_c8; + local_34 = (RoomDescriptor *)local_c8; } else { - local_34 = &local_28; + local_34 = (RoomDescriptor *)&local_28; } if (local_2c != (byte *)0x0) { - bVar6 = ANM2::SetAnimation(local_a0,local_2c,1); - if (((bVar6 != 0) && ((pAVar19->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar19->_animState), - (pAVar19->_animState)._animData != (void *)0x0)) { - (pAVar19->_animState)._isPlaying = 0; + bVar6 = ANM2::SetAnimation((ANM2 *)local_c8._40_4_,local_2c,1); + if (((bVar6 != 0) && + (((AnimationState *)(this + 0x30))->_animData != (void *)0x0)) && + (AnimationState::SetFrameFloat((AnimationState *)(this + 0x30)), + ((AnimationState *)(this + 0x30))->_animData != (void *)0x0)) { + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } - local_2c = (byte *)(((float)local_64 + *(float *)&local_34->field_0x0) - 6.0); - dVar28 = floor((double)(float)local_2c); - local_a8 = (void *)(float)dVar28; - local_2c = (byte *)(((float)local_68 + (float)local_34[1]) - 6.0); - dVar28 = floor((double)(float)local_2c); - local_a4 = (float)dVar28; - if (pAVar19->_loaded != 0) { - if (pAVar19->_overlayRenderFirst == 0) { - AnimationState::Render(&local_a8,&g_vectorZero,&g_vectorZero); + local_2c = (byte *)(((float)local_64 + (float)local_34->GridIndex) - 6.0); + dVar27 = floor((double)(float)local_2c); + local_c8._32_4_ = (BADTYPE)dVar27; + local_2c = (byte *)(((float)local_68 + (float)local_34->SafeGridIndex) - 6.0); + dVar27 = floor((double)(float)local_2c); + local_c8._36_4_ = (BADTYPE)dVar27; + if (*(byte *)(this + 0x109) != 0) { + if (*(byte *)(this + 0x70) == 0) { + AnimationState::Render(local_c8 + 0x20,&g_vectorZero,&g_vectorZero); } else { - AnimationState::Render(&local_a8,&g_vectorZero,&g_vectorZero); + AnimationState::Render(local_c8 + 0x20,&g_vectorZero,&g_vectorZero); } - AnimationState::Render(&local_a8,&g_vectorZero,&g_vectorZero); + AnimationState::Render(local_c8 + 0x20,&g_vectorZero,&g_vectorZero); } } - while ((local_80 < uVar22 && (uVar9 != 0))) { + while (((uint)local_c8._72_4_ < uVar22 && (uVar9 != 0))) { if ((uVar9 & 1) == 0) { if ((uVar9 & 0x40) == 0) { if ((uVar9 & 0x400) == 0) { @@ -856042,12 +857532,13 @@ LAB_0098cb7c: if ((uVar9 & 0x1000) == 0) { if ((uVar9 & 0x20) == 0) { if ((char)uVar9 < '\0') { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *)"IconPill",1); + bVar6 = ANM2::SetAnimation((ANM2 *)this,(byte *)"IconPill",1); if (((bVar6 != 0) && - ((pAVar19->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar19->_animState), - *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + (((AnimationState *)(this + 0x30))->_animData != (void *)0x0 + )) && (AnimationState::SetFrameFloat + ((AnimationState *)(this + 0x30)), + *(int *)(local_44 + 0x534) != 0)) { + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } uVar9 = uVar9 & 0xffffff7f; } @@ -856060,212 +857551,236 @@ LAB_0098cb7c: if ((uVar9 & 0x800) == 0) { if ((uVar9 & 0x4000) == 0) { if ((uVar9 & 0x8000) != 0) { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *) - "IconPortal",1); - if (((bVar6 != 0) && - ((pAVar19->_animState)._animData != - (void *)0x0)) && - (AnimationState::SetFrameFloat - (&pAVar19->_animState), - *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; - } - uVar9 = uVar9 & 0xffff7fff; + bVar6 = ANM2::SetAnimation((ANM2 *)this, + (byte *)"IconPortal", + 1); + if (((bVar6 != 0) && + (((AnimationState *)(this + 0x30))-> + _animData != (void *)0x0)) && + (AnimationState::SetFrameFloat + ((AnimationState *)(this + 0x30)), + *(int *)(local_44 + 0x534) != 0)) { + ((AnimationState *)(this + 0x30))->_isPlaying + = 0; + } + uVar9 = uVar9 & 0xffff7fff; } } else { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *) - "IconLadder",1); + bVar6 = ANM2::SetAnimation((ANM2 *)this, + (byte *)"IconLadder",1) + ; if (((bVar6 != 0) && - ((pAVar19->_animState)._animData != - (void *)0x0)) && + (((AnimationState *)(this + 0x30))->_animData + != (void *)0x0)) && (AnimationState::SetFrameFloat - (&pAVar19->_animState), + ((AnimationState *)(this + 0x30)), *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + ((AnimationState *)(this + 0x30))->_isPlaying = + 0; } uVar9 = uVar9 & 0xffffbfff; } } else { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *) - "IconSlot",1); + bVar6 = ANM2::SetAnimation((ANM2 *)this, + (byte *)"IconSlot",1); if (((bVar6 != 0) && - ((pAVar19->_animState)._animData != (void *)0x0) - ) && (AnimationState::SetFrameFloat - (&pAVar19->_animState), - *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + (((AnimationState *)(this + 0x30))->_animData != + (void *)0x0)) && + (AnimationState::SetFrameFloat + ((AnimationState *)(this + 0x30)), + *(int *)(local_44 + 0x534) != 0)) { + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } uVar9 = uVar9 & 0xfffff7ff; } } else { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *) - "IconBeggar",1); + bVar6 = ANM2::SetAnimation((ANM2 *)this, + (byte *)"IconBeggar",1); if (((bVar6 != 0) && - ((pAVar19->_animState)._animData != (void *)0x0)) - && (AnimationState::SetFrameFloat - (&pAVar19->_animState), - *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + (((AnimationState *)(this + 0x30))->_animData != + (void *)0x0)) && + (AnimationState::SetFrameFloat + ((AnimationState *)(this + 0x30)), + *(int *)(local_44 + 0x534) != 0)) { + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } uVar9 = uVar9 & 0xffffdfff; } } else { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *)"IconBattery" - ,1); + bVar6 = ANM2::SetAnimation((ANM2 *)this, + (byte *)"IconBattery",1); if (((bVar6 != 0) && - ((pAVar19->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar19->_animState), + (((AnimationState *)(this + 0x30))->_animData != + (void *)0x0)) && + (AnimationState::SetFrameFloat + ((AnimationState *)(this + 0x30)), *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } uVar9 = uVar9 & 0xfffffeff; } } else { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *)"IconCoin",1); + bVar6 = ANM2::SetAnimation((ANM2 *)this,(byte *)"IconCoin" + ,1); if (((bVar6 != 0) && - ((pAVar19->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar19->_animState), + (((AnimationState *)(this + 0x30))->_animData != + (void *)0x0)) && + (AnimationState::SetFrameFloat + ((AnimationState *)(this + 0x30)), *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } uVar9 = uVar9 & 0xfffffffd; } } else { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *)"IconPoop",1); + bVar6 = ANM2::SetAnimation((ANM2 *)this,(byte *)"IconPoop",1 + ); if (((bVar6 != 0) && - ((pAVar19->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar19->_animState), + (((AnimationState *)(this + 0x30))->_animData != + (void *)0x0)) && + (AnimationState::SetFrameFloat + ((AnimationState *)(this + 0x30)), *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } uVar9 = uVar9 & 0xfffffffb; } } else { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *)"IconBomb",1); + bVar6 = ANM2::SetAnimation((ANM2 *)this,(byte *)"IconBomb",1); if (((bVar6 != 0) && - ((pAVar19->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar19->_animState), + (((AnimationState *)(this + 0x30))->_animData != + (void *)0x0)) && + (AnimationState::SetFrameFloat + ((AnimationState *)(this + 0x30)), *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } uVar9 = uVar9 & 0xffffffef; } } else { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *)"IconKey",1); + bVar6 = ANM2::SetAnimation((ANM2 *)this,(byte *)"IconKey",1); if (((bVar6 != 0) && - ((pAVar19->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar19->_animState), - *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + (((AnimationState *)(this + 0x30))->_animData != (void *)0x0 + )) && (AnimationState::SetFrameFloat + ((AnimationState *)(this + 0x30)), + *(int *)(local_44 + 0x534) != 0)) { + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } uVar9 = uVar9 & 0xfffffff7; } } else { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *)"IconCard",1); + bVar6 = ANM2::SetAnimation((ANM2 *)this,(byte *)"IconCard",1); if (((bVar6 != 0) && - ((pAVar19->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar19->_animState), - *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + (((AnimationState *)(this + 0x30))->_animData != (void *)0x0)) + && (AnimationState::SetFrameFloat + ((AnimationState *)(this + 0x30)), + *(int *)(local_44 + 0x534) != 0)) { + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } uVar9 = uVar9 & 0xffffffdf; } } else { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *)"IconRune",1); + bVar6 = ANM2::SetAnimation((ANM2 *)this,(byte *)"IconRune",1); if (((bVar6 != 0) && - ((pAVar19->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar19->_animState), - *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + (((AnimationState *)(this + 0x30))->_animData != (void *)0x0)) + && (AnimationState::SetFrameFloat + ((AnimationState *)(this + 0x30)), + *(int *)(local_44 + 0x534) != 0)) { + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } uVar9 = uVar9 & 0xffffefff; } } else { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *)"IconChest",1); - if (((bVar6 != 0) && ((pAVar19->_animState)._animData != (void *)0x0)) - && (AnimationState::SetFrameFloat(&pAVar19->_animState), - *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + bVar6 = ANM2::SetAnimation((ANM2 *)this,(byte *)"IconChest",1); + if (((bVar6 != 0) && + (((AnimationState *)(this + 0x30))->_animData != (void *)0x0)) && + (AnimationState::SetFrameFloat((AnimationState *)(this + 0x30)), + *(int *)(local_44 + 0x534) != 0)) { + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } uVar9 = uVar9 & 0xfffffdff; } } else { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *)"IconTrinket",1); - if (((bVar6 != 0) && ((pAVar19->_animState)._animData != (void *)0x0)) - && (AnimationState::SetFrameFloat(&pAVar19->_animState), - *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + bVar6 = ANM2::SetAnimation((ANM2 *)this,(byte *)"IconTrinket",1); + if (((bVar6 != 0) && + (((AnimationState *)(this + 0x30))->_animData != (void *)0x0)) && + (AnimationState::SetFrameFloat((AnimationState *)(this + 0x30)), + *(int *)(local_44 + 0x534) != 0)) { + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } uVar9 = uVar9 & 0xfffffbff; } } else { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *)"IconItem",1); - if (((bVar6 != 0) && ((pAVar19->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar19->_animState), + bVar6 = ANM2::SetAnimation((ANM2 *)this,(byte *)"IconItem",1); + if (((bVar6 != 0) && + (((AnimationState *)(this + 0x30))->_animData != (void *)0x0)) && + (AnimationState::SetFrameFloat((AnimationState *)(this + 0x30)), *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } uVar9 = uVar9 & 0xffffffbf; } } else { - bVar6 = ANM2::SetAnimation(pAVar19,(byte *)"IconHeart",1); - if (((bVar6 != 0) && ((pAVar19->_animState)._animData != (void *)0x0)) && - (AnimationState::SetFrameFloat(&pAVar19->_animState), + bVar6 = ANM2::SetAnimation((ANM2 *)this,(byte *)"IconHeart",1); + if (((bVar6 != 0) && + (((AnimationState *)(this + 0x30))->_animData != (void *)0x0)) && + (AnimationState::SetFrameFloat((AnimationState *)(this + 0x30)), *(int *)(local_44 + 0x534) != 0)) { - (pAVar19->_animState)._isPlaying = 0; + ((AnimationState *)(this + 0x30))->_isPlaying = 0; } uVar9 = uVar9 & 0xfffffffe; } - local_2c = (byte *)(((float)local_64 + (float)local_34[local_80 * 2]) - 6.0); - dVar28 = floor((double)(float)local_2c); - local_b0 = (float)dVar28; - local_2c = (byte *)(((float)local_68 + (float)local_34[local_80 * 2 + 1]) - - 6.0); - dVar28 = floor((double)(float)local_2c); - local_ac = (float)dVar28; - if (pAVar19->_loaded != 0) { - if (pAVar19->_overlayRenderFirst == 0) { - AnimationState::Render(&local_b0,&g_vectorZero,&g_vectorZero); + local_2c = (byte *)(((float)local_64 + + (float)local_34->_doors[local_c8._72_4_ * 2 + -7]) - 6.0); + dVar27 = floor((double)(float)local_2c); + local_c8._24_4_ = (BADTYPE)dVar27; + local_2c = (byte *)(((float)local_68 + + (float)local_34->_doors[local_c8._72_4_ * 2 + -6]) - 6.0); + dVar27 = floor((double)(float)local_2c); + local_c8._28_4_ = (BADTYPE)dVar27; + if (*(byte *)(this + 0x109) != 0) { + if (*(byte *)(this + 0x70) == 0) { + AnimationState::Render(local_c8 + 0x18,&g_vectorZero,&g_vectorZero); } else { - AnimationState::Render(&local_b0,&g_vectorZero,&g_vectorZero); + AnimationState::Render(local_c8 + 0x18,&g_vectorZero,&g_vectorZero); } - AnimationState::Render(&local_b0,&g_vectorZero,&g_vectorZero); + AnimationState::Render(local_c8 + 0x18,&g_vectorZero,&g_vectorZero); } - local_80 = local_80 + 1; + local_c8._72_4_ = local_c8._72_4_ + 1; } } pAVar19 = local_30; - fVar25 = local_3c; + pvVar24 = local_3c; } } } local_48 = local_48 + 1; - local_40 = (undefined1 *)((float)local_40 + fVar25); + local_40 = (undefined1 *)((float)local_40 + (float)pvVar24); } while ((int)local_48 < (int)(local_38 + *(int *)(pAVar19[1]._animDefaultName._buf + 8))) ; - puVar10 = local_84; - fVar27 = local_60; + puVar10 = (undefined1 *)local_c8._68_4_; + pvVar17 = local_60; } local_40 = (undefined1 *)0x0; if (0 < (int)local_38) { - local_40 = (undefined1 *)(0.0 - fVar25); + local_40 = (undefined1 *)(0.0 - (float)pvVar24); } - local_6c = (byte *)((float)local_6c + fVar27); + local_6c = (byte *)((float)local_6c + (float)pvVar17); local_5c = local_5c + 1; } while ((int)local_5c < (int)(puVar10 + *(int *)(pAVar19[1]._animDefaultName._buf + 0xc))); } @@ -857367,7 +858882,7 @@ void Minimap::render_score_time(void) int iVar3; undefined4 uVar4; int iVar5; - undefined4 **ppuVar6; + StringTable **ppSVar6; uint uVar7; uint uVar8; Entity_Player *pEVar9; @@ -857379,8 +858894,8 @@ void Minimap::render_score_time(void) undefined4 in_XMM1_Da; float fVar13; float fVar14; - undefined4 *puVar15; - undefined4 *puVar16; + StringTable *pSVar15; + StringTable *pSVar16; float fVar17; float fVar18; FontSettings local_e4 [7]; @@ -857403,10 +858918,10 @@ void Minimap::render_score_time(void) float local_84; Font *local_80; float local_7c; - undefined4 *local_78; - undefined4 *local_74; + StringTable *local_78; + StringTable *local_74; float local_70; - undefined4 *local_6c; + StringTable *local_6c; undefined1 local_68 [68]; uint local_24; undefined1 *puStack_20; @@ -857434,7 +858949,7 @@ void Minimap::render_score_time(void) } local_74 = &g_manager->_stringTable; local_80 = &g_manager->_font2_TeamMeatEx12; - if (g_manager->_stringTable == 0) { + if (*(int *)&g_manager->_stringTable == 0) { local_80 = &g_manager->_font1_TeamMeatEx10; } local_c0 = 1.0 - (g_manager->_optionsConfig)._hudOffset; @@ -857444,48 +858959,48 @@ void Minimap::render_score_time(void) iVar3 = Font::get_string_width_n(" 00:00:00",0xffffffff); uVar4 = string_table_translate(local_74,"#MINIMAP_TIME_LABEL"); iVar5 = Font::get_string_width_n(uVar4,0xffffffff); - puVar15 = &g_manager->_stringTable; - local_78 = (undefined4 *) + pSVar15 = &g_manager->_stringTable; + local_78 = (StringTable *) ((float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) + (float)((double)iVar3 + __uint_to_double_fixup[-(iVar3 >> 0x1f)])); local_6c = local_78; iVar3 = Font::get_string_width_n(" 000000",0xffffffff); - uVar4 = string_table_translate(puVar15,"#MINIMAP_TIME_LABEL"); + uVar4 = string_table_translate(pSVar15,"#MINIMAP_TIME_LABEL"); iVar5 = Font::get_string_width_n(uVar4,0xffffffff); - local_74 = (undefined4 *) + local_74 = (StringTable *) ((float)((double)iVar5 + __uint_to_double_fixup[-(iVar5 >> 0x1f)]) + (float)((double)iVar3 + __uint_to_double_fixup[-(iVar3 >> 0x1f)])); - ppuVar6 = &local_74; + ppSVar6 = &local_74; if ((float)local_74 <= (float)local_6c) { - ppuVar6 = &local_78; + ppSVar6 = &local_78; } uVar11 = g_game->_debugCurses; - puVar15 = (undefined4 *)((g_screenWidth - (float)*ppuVar6) * 0.5); + pSVar15 = (StringTable *)((g_screenWidth - (float)*ppSVar6) * 0.5); uVar1 = g_game->_curses; - puVar16 = (undefined4 *)((float)*ppuVar6 + (float)puVar15); - local_78 = puVar16; - local_6c = puVar15; + pSVar16 = (StringTable *)((float)*ppSVar6 + (float)pSVar15); + local_78 = pSVar16; + local_6c = pSVar15; uVar7 = Seeds::GetForcedCurses(); uVar8 = Seeds::GetPreventedCurses(); fVar14 = local_8c; pGVar2 = g_game; if ((~uVar8 & (uVar7 | uVar11 | uVar1) & 4) == 0) { - fVar13 = g_screenWidth - (float)puVar16; + fVar13 = g_screenWidth - (float)pSVar16; fVar17 = *(float *)((int)local_8c + 0x2c8) - *(float *)((int)local_8c + 0x2c0); fVar18 = *(float *)((int)local_8c + 0x29c); fVar12 = fVar18 + fVar17; if (fVar13 < fVar12) { RoomTransition::get_hud_alpha(); - local_74 = (undefined4 *)0x0; + local_74 = (StringTable *)0x0; if (0.0 < fVar12 * *(float *)((int)fVar14 + 0x2d0)) { local_7c = 1.0 - local_c0; fVar14 = ((fVar13 - fVar17) - fVar18) - local_7c * 24.0; - local_78 = (undefined4 *)((float)puVar16 + fVar14); - local_6c = (undefined4 *)((float)puVar15 + fVar14); + local_78 = (StringTable *)((float)pSVar16 + fVar14); + local_6c = (StringTable *)((float)pSVar15 + fVar14); pEVar9 = Game::GetPlayer(pGVar2,0); iVar3 = Entity_Player::GetExtraLives(pEVar9); if (0 < iVar3) { - local_74 = (undefined4 *)0x41800000; + local_74 = (StringTable *)0x41800000; } Game::GetPlayer(g_game,0); iVar3 = Entity_Player::GetEffectiveMaxHearts(); @@ -857496,9 +859011,9 @@ void Minimap::render_score_time(void) if (72.0 <= local_8c) { pfVar10 = &local_c8; } - puVar15 = local_6c; + pSVar15 = local_6c; if (((float)local_6c <= ((*pfVar10 + 60.0) - local_c0 * 20.0) + (float)local_74) && - (uVar11 = Level::GetCurses((Level *)g_game), puVar15 = local_6c, (uVar11 & 8) == 0)) { + (uVar11 = Level::GetCurses((Level *)g_game), pSVar15 = local_6c, (uVar11 & 8) == 0)) { local_70 = (24.0 - local_7c * 12.0) + local_70; } } @@ -857531,7 +859046,7 @@ void Minimap::render_score_time(void) uVar11 = (uVar11 - 1 | 0xfffffff8) + 1; } if (3 < (int)uVar11) { - local_6c = (undefined4 *)((float)puVar15 + local_84); + local_6c = (StringTable *)((float)pSVar15 + local_84); goto LAB_0098f558; } } @@ -857547,7 +859062,7 @@ void Minimap::render_score_time(void) local_90 = 0; local_14 = 0; uVar4 = string_table_translate(&g_manager->_stringTable,"#MINIMAP_TIME_LABEL"); - local_6c = (undefined4 *)(local_84 + (float)local_6c); + local_6c = (StringTable *)(local_84 + (float)local_6c); local_7c = local_70 + 30.0 + local_88; Font::DrawString(uVar4,&local_bc,&local_a8); local_a8 = (FontSettings)0x0; @@ -859112,7 +860627,7 @@ void FXLayers::LoadConfig(float *param_1,float param_2,float param_3) std_string *psVar11; undefined4 *puVar12; undefined4 *******pppppppuVar13; - undefined4 *puVar14; + int *piVar14; undefined4 uVar15; LayerState *pLVar16; byte bVar17; @@ -859122,15 +860637,15 @@ void FXLayers::LoadConfig(float *param_1,float param_2,float param_3) byte *pbVar20; byte *pbVar21; uint extraout_EDX; - float *pfVar22; - float fVar23; - int *piVar24; - Game *pGVar25; + undefined4 *puVar22; + float *pfVar23; + float fVar24; + int *piVar25; + Game *pGVar26; ANM2 *this; - float *pfVar26; float *pfVar27; - char *pcVar28; - RNG RVar29; + float *pfVar28; + char *pcVar29; char *pcVar30; bool bVar31; float fVar32; @@ -859191,8 +860706,6 @@ void FXLayers::LoadConfig(float *param_1,float param_2,float param_3) int iStack_10204; float fStack_10200; RNG RStack_101fc; - undefined8 uStack_101f8; - int *piStack_101f0; float *pfStack_101ec; float *pfStack_101e8; float *pfStack_101e4; @@ -859256,51 +860769,53 @@ void FXLayers::LoadConfig(float *param_1,float param_2,float param_3) uStack_10218 = 0; in_ECX[4] = param_3; pfStack_101e0 = in_ECX; - RStack_101fc = (RNG)Random(local_24); - pGVar25 = g_game; - piStack_101f0 = (int *)0x19; - uStack_101f8 = 0x700000002; + RStack_101fc._seed = Random(local_24); + pGVar26 = g_game; + RStack_101fc._shift3 = 0x19; + RStack_101fc._shift1 = 2; + RStack_101fc._shift2 = 7; DAT_00c35e90 = 2; DAT_00c35e94 = 7; DAT_00c35e98 = 0x19; pvVar2 = g_game->_room; - DAT_00c35e8c = RStack_101fc; + DAT_00c35e8c = (float)RStack_101fc._seed; in_ECX[0x2c] = *(float *)((int)pvVar2 + 0x14); in_ECX[0x2d] = *(float *)((int)pvVar2 + 0x18); in_ECX[0x2e] = *(float *)((int)pvVar2 + 0x1c); in_ECX[0x2f] = *(float *)((int)pvVar2 + 0x20); - fVar23 = in_ECX[3]; + fVar24 = in_ECX[3]; iStack_1028c = RoomConfig::GetStageID(); - pfVar22 = pfStack_101e0; - if ((pGVar25->_difficulty == 2) || (pGVar25->_difficulty == 3)) { - if ((int)fVar23 < 5) { - pfStack_101e0[3] = (float)((int)fVar23 * 2 + -1); + pfVar23 = pfStack_101e0; + if ((pGVar26->_difficulty == 2) || (pGVar26->_difficulty == 3)) { + if ((int)fVar24 < 5) { + pfStack_101e0[3] = (float)((int)fVar24 * 2 + -1); } else { fVar6 = 0.0; - if (fVar23 == 7.00649e-45) { + if (fVar24 == 7.00649e-45) { fVar6 = 1.4013e-44; } pfStack_101e0[3] = fVar6; } } - pfStack_101e0[5] = *(float *)((int)pGVar25->_room + 0x1d18); + pfStack_101e0[5] = *(float *)((int)pGVar26->_room + 0x1d18); iVar7 = Level::get_secret_exit_kind(); - if ((iVar7 == 4) && (pGVar25->_currentRoomIdx == -10)) { - pfVar22[3] = 9.80909e-45; - pfVar22[4] = 0.0; + if ((iVar7 == 4) && (pGVar26->_currentRoomIdx == -10)) { + pfVar23[3] = 9.80909e-45; + pfVar23[4] = 0.0; } else { cVar5 = Level::IsMausoleumHeartStage(); - pGVar25 = g_game; + pGVar26 = g_game; if (cVar5 != '\0') { - pfVar22[5] = 5.46506e-44; + pfVar23[5] = 5.46506e-44; } } - if (pGVar25->_challenge == 0x2d) { - uVar8 = pGVar25->_dungeonPlacementSeed; + if (pGVar26->_challenge == 0x2d) { + uVar8 = pGVar26->_dungeonPlacementSeed; iStack_1021c = 0xf; - uStack_101f8 = 0x900000002; + RStack_101fc._shift1 = 2; + RStack_101fc._shift2 = 9; if ((int)pfStack_101e0[3] - 1U < 0xb) { if (uVar8 == 0) { /* WARNING: Subroutine does not return */ @@ -859317,14 +860832,14 @@ void FXLayers::LoadConfig(float *param_1,float param_2,float param_3) } uVar8 = uVar8 >> 2 ^ uVar8; uVar8 = uVar8 << 9 ^ uVar8; - fVar23 = (float)((uVar8 >> 0xf ^ uVar8) % 5); - if (fVar23 == 4.2039e-45) { - fVar23 = 5.60519e-45; + fVar24 = (float)((uVar8 >> 0xf ^ uVar8) % 5); + if (fVar24 == 4.2039e-45) { + fVar24 = 5.60519e-45; } - pfStack_101e0[4] = fVar23; - pfVar22 = pfStack_101e0; + pfStack_101e0[4] = fVar24; + pfVar23 = pfStack_101e0; } - iVar7 = *(int *)((int)pGVar25->_room + 4); + iVar7 = *(int *)((int)pGVar26->_room + 4); if ((iVar7 == 0) || (iVar7 = *(int *)(iVar7 + 0x10), iVar7 == 0)) { switchD_00990cde_caseD_1: piStack_10220 = (int *)0x1; @@ -859355,8 +860870,8 @@ switchD_00990cde_caseD_1: } } clear(); - *pfVar22 = g_vectorZero.x; - pfVar22[1] = g_vectorZero.y; + *pfVar23 = g_vectorZero.x; + pfVar23[1] = g_vectorZero.y; piVar9 = (int *)FileSystem::Open(pfStack_101e8,0); if (piVar9 == (int *)0x0) { ExceptionList = local_1c; @@ -859501,25 +861016,25 @@ LAB_00993701: uStack_88 = 0xf; } else { - pcVar28 = "numLayers"; + pcVar29 = "numLayers"; pbVar19 = &g_xmlNullStr; if (pbVar21 != (byte *)0x0) { pbVar19 = pbVar21; } do { bVar4 = *pbVar19; - bVar31 = bVar4 < (byte)*pcVar28; - if (bVar4 != *pcVar28) { + bVar31 = bVar4 < (byte)*pcVar29; + if (bVar4 != *pcVar29) { LAB_00991053: uVar8 = -(uint)bVar31 | 1; goto LAB_00991058; } if (bVar4 == 0) break; bVar4 = pbVar19[1]; - bVar31 = bVar4 < (byte)pcVar28[1]; - if (bVar4 != pcVar28[1]) goto LAB_00991053; + bVar31 = bVar4 < (byte)pcVar29[1]; + if (bVar4 != pcVar29[1]) goto LAB_00991053; pbVar19 = pbVar19 + 2; - pcVar28 = pcVar28 + 2; + pcVar29 = pcVar29 + 2; } while (bVar4 != 0); uVar8 = 0; LAB_00991058: @@ -859655,24 +861170,24 @@ LAB_009911d5: fStack_10250 = (float)dVar37; } else { - pcVar28 = "layer"; + pcVar29 = "layer"; pbVar19 = &g_xmlNullStr; if (pbVar21 != (byte *)0x0) { pbVar19 = pbVar21; } do { bVar4 = *pbVar19; - bVar31 = bVar4 < (byte)*pcVar28; - if (bVar4 != *pcVar28) { + bVar31 = bVar4 < (byte)*pcVar29; + if (bVar4 != *pcVar29) { LAB_00991230: uVar8 = -(uint)bVar31 | 1; goto LAB_00991235; } if (bVar4 == 0) break; bVar4 = pbVar19[1]; - bVar31 = bVar4 < (byte)pcVar28[1]; - if (bVar4 != pcVar28[1]) goto LAB_00991230; - pcVar28 = pcVar28 + 2; + bVar31 = bVar4 < (byte)pcVar29[1]; + if (bVar4 != pcVar29[1]) goto LAB_00991230; + pcVar29 = pcVar29 + 2; pbVar19 = pbVar19 + 2; } while (bVar4 != 0); uVar8 = 0; @@ -859758,25 +861273,25 @@ LAB_009918e0: piVar9 = piStack_101dc; } else { - pcVar28 = "stage"; + pcVar29 = "stage"; pbVar19 = &g_xmlNullStr; if (pbVar21 != (byte *)0x0) { pbVar19 = pbVar21; } do { bVar4 = *pbVar19; - bVar31 = bVar4 < (byte)*pcVar28; - if (bVar4 != *pcVar28) { + bVar31 = bVar4 < (byte)*pcVar29; + if (bVar4 != *pcVar29) { LAB_00991460: uVar8 = -(uint)bVar31 | 1; goto LAB_00991465; } if (bVar4 == 0) break; bVar4 = pbVar19[1]; - bVar31 = bVar4 < (byte)pcVar28[1]; - if (bVar4 != pcVar28[1]) goto LAB_00991460; + bVar31 = bVar4 < (byte)pcVar29[1]; + if (bVar4 != pcVar29[1]) goto LAB_00991460; pbVar19 = pbVar19 + 2; - pcVar28 = pcVar28 + 2; + pcVar29 = pcVar29 + 2; } while (bVar4 != 0); uVar8 = 0; LAB_00991465: @@ -859797,48 +861312,48 @@ LAB_00991465: } } else { - pcVar28 = "altStages"; + pcVar29 = "altStages"; pbVar19 = &g_xmlNullStr; if (pbVar21 != (byte *)0x0) { pbVar19 = pbVar21; } do { bVar4 = *pbVar19; - bVar31 = bVar4 < (byte)*pcVar28; - if (bVar4 != *pcVar28) { + bVar31 = bVar4 < (byte)*pcVar29; + if (bVar4 != *pcVar29) { LAB_009914e3: uVar8 = -(uint)bVar31 | 1; goto LAB_009914e8; } if (bVar4 == 0) break; bVar4 = pbVar19[1]; - bVar31 = bVar4 < (byte)pcVar28[1]; - if (bVar4 != pcVar28[1]) goto LAB_009914e3; + bVar31 = bVar4 < (byte)pcVar29[1]; + if (bVar4 != pcVar29[1]) goto LAB_009914e3; pbVar19 = pbVar19 + 2; - pcVar28 = pcVar28 + 2; + pcVar29 = pcVar29 + 2; } while (bVar4 != 0); uVar8 = 0; LAB_009914e8: if (uVar8 != 0) { - pcVar28 = "parallax"; + pcVar29 = "parallax"; pbVar19 = &g_xmlNullStr; if (pbVar21 != (byte *)0x0) { pbVar19 = pbVar21; } do { bVar4 = *pbVar19; - bVar31 = bVar4 < (byte)*pcVar28; - if (bVar4 != *pcVar28) { + bVar31 = bVar4 < (byte)*pcVar29; + if (bVar4 != *pcVar29) { LAB_00991540: uVar8 = -(uint)bVar31 | 1; goto LAB_00991545; } if (bVar4 == 0) break; bVar4 = pbVar19[1]; - bVar31 = bVar4 < (byte)pcVar28[1]; - if (bVar4 != pcVar28[1]) goto LAB_00991540; + bVar31 = bVar4 < (byte)pcVar29[1]; + if (bVar4 != pcVar29[1]) goto LAB_00991540; pbVar19 = pbVar19 + 2; - pcVar28 = pcVar28 + 2; + pcVar29 = pcVar29 + 2; } while (bVar4 != 0); uVar8 = 0; LAB_00991545: @@ -859852,48 +861367,48 @@ LAB_00991545: fStack_1023c = (float)dVar37; goto LAB_009918f8; } - pcVar28 = "onlyDefaultBackdrop"; + pcVar29 = "onlyDefaultBackdrop"; pbVar19 = &g_xmlNullStr; if (pbVar21 != (byte *)0x0) { pbVar19 = pbVar21; } do { bVar4 = *pbVar19; - bVar31 = bVar4 < (byte)*pcVar28; - if (bVar4 != *pcVar28) { + bVar31 = bVar4 < (byte)*pcVar29; + if (bVar4 != *pcVar29) { LAB_009915a1: uVar8 = -(uint)bVar31 | 1; goto LAB_009915a6; } if (bVar4 == 0) break; bVar4 = pbVar19[1]; - bVar31 = bVar4 < (byte)pcVar28[1]; - if (bVar4 != pcVar28[1]) goto LAB_009915a1; + bVar31 = bVar4 < (byte)pcVar29[1]; + if (bVar4 != pcVar29[1]) goto LAB_009915a1; pbVar19 = pbVar19 + 2; - pcVar28 = pcVar28 + 2; + pcVar29 = pcVar29 + 2; } while (bVar4 != 0); uVar8 = 0; LAB_009915a6: if (uVar8 != 0) { - pcVar28 = "backdrop"; + pcVar29 = "backdrop"; pbVar19 = &g_xmlNullStr; if (pbVar21 != (byte *)0x0) { pbVar19 = pbVar21; } do { bVar4 = *pbVar19; - bVar31 = bVar4 < (byte)*pcVar28; - if (bVar4 != *pcVar28) { + bVar31 = bVar4 < (byte)*pcVar29; + if (bVar4 != *pcVar29) { LAB_009916e4: uVar8 = -(uint)bVar31 | 1; goto LAB_009916e9; } if (bVar4 == 0) break; bVar4 = pbVar19[1]; - bVar31 = bVar4 < (byte)pcVar28[1]; - if (bVar4 != pcVar28[1]) goto LAB_009916e4; + bVar31 = bVar4 < (byte)pcVar29[1]; + if (bVar4 != pcVar29[1]) goto LAB_009916e4; pbVar19 = pbVar19 + 2; - pcVar28 = pcVar28 + 2; + pcVar29 = pcVar29 + 2; } while (bVar4 != 0); uVar8 = 0; LAB_009916e9: @@ -859905,25 +861420,25 @@ LAB_009916e9: pfStack_10238 = (float *)atoi((char *)pbVar21); } else { - pcVar28 = "blendMode"; + pcVar29 = "blendMode"; pbVar19 = &g_xmlNullStr; if (pbVar21 != (byte *)0x0) { pbVar19 = pbVar21; } do { bVar4 = *pbVar19; - bVar31 = bVar4 < (byte)*pcVar28; - if (bVar4 != *pcVar28) { + bVar31 = bVar4 < (byte)*pcVar29; + if (bVar4 != *pcVar29) { LAB_00991740: uVar8 = -(uint)bVar31 | 1; goto LAB_00991745; } if (bVar4 == 0) break; bVar4 = pbVar19[1]; - bVar31 = bVar4 < (byte)pcVar28[1]; - if (bVar4 != pcVar28[1]) goto LAB_00991740; + bVar31 = bVar4 < (byte)pcVar29[1]; + if (bVar4 != pcVar29[1]) goto LAB_00991740; pbVar19 = pbVar19 + 2; - pcVar28 = pcVar28 + 2; + pcVar29 = pcVar29 + 2; } while (bVar4 != 0); uVar8 = 0; LAB_00991745: @@ -859935,24 +861450,24 @@ LAB_00991745: pfStack_10234 = (float *)atoi((char *)pbVar21); } else { - pcVar28 = "useBGShader"; + pcVar29 = "useBGShader"; pbVar19 = &g_xmlNullStr; if (pbVar21 != (byte *)0x0) { pbVar19 = pbVar21; } do { bVar4 = *pbVar19; - bVar31 = bVar4 < (byte)*pcVar28; - if (bVar4 != *pcVar28) { + bVar31 = bVar4 < (byte)*pcVar29; + if (bVar4 != *pcVar29) { LAB_009917a0: uVar8 = -(uint)bVar31 | 1; goto LAB_009917a5; } if (bVar4 == 0) break; bVar4 = pbVar19[1]; - bVar31 = bVar4 < (byte)pcVar28[1]; - if (bVar4 != pcVar28[1]) goto LAB_009917a0; - pcVar28 = pcVar28 + 2; + bVar31 = bVar4 < (byte)pcVar29[1]; + if (bVar4 != pcVar29[1]) goto LAB_009917a0; + pcVar29 = pcVar29 + 2; pbVar19 = pbVar19 + 2; } while (bVar4 != 0); uVar8 = 0; @@ -860133,23 +861648,23 @@ LAB_009918f8: } while ((piVar9[4] != 0) && (piStack_101dc = (int *)piVar9[6], piStack_101dc != (int *)0x0)); uVar8 = uStack_10214; } - pcVar28 = "gfx"; + pcVar29 = "gfx"; do { - pcVar30 = pcVar28; - pcVar28 = pcVar30 + 1; - } while (*pcVar28 != '\0'); + pcVar30 = pcVar29; + pcVar29 = pcVar30 + 1; + } while (*pcVar29 != '\0'); for (puStack_101d8 = *(undefined4 **)(uVar8 + 0x18); puStack_101d8 != (undefined4 *)0x0; puStack_101d8 = (undefined4 *)puStack_101d8[0xb]) { pbVar21 = (byte *)*puStack_101d8; if (pbVar21 == (byte *)0x0) { - pcVar28 = (char *)0x0; + pcVar29 = (char *)0x0; pbVar21 = &g_xmlNullStr; } else { - pcVar28 = (char *)puStack_101d8[2]; + pcVar29 = (char *)puStack_101d8[2]; } - if (pcVar28 == pcVar30 + -0xb66feb) { - pbVar19 = (byte *)(pcVar28 + (int)pbVar21); + if (pcVar29 == pcVar30 + -0xb66feb) { + pbVar19 = (byte *)(pcVar29 + (int)pbVar21); if (pbVar19 <= pbVar21) goto LAB_00991993; iVar7 = (int)&DAT_00b66fec - (int)pbVar21; while (*pbVar21 == pbVar21[iVar7]) { @@ -860166,11 +861681,11 @@ LAB_00991993: local_74 = 0; local_84 = (int *******)0x0; local_14._0_1_ = 7; - puVar14 = (undefined4 *)puStack_101d8[8]; + puVar22 = (undefined4 *)puStack_101d8[8]; piStack_101dc = (int *)0x1; - if (puVar14 != (undefined4 *)0x0) { + if (puVar22 != (undefined4 *)0x0) { do { - pbVar21 = (byte *)*puVar14; + pbVar21 = (byte *)*puVar22; pbVar20 = &DAT_00b66e0c; pbVar19 = &g_xmlNullStr; if (pbVar21 != (byte *)0x0) { @@ -860195,8 +861710,8 @@ LAB_00991a06: LAB_00991a0b: if (uVar8 == 0) { pbVar21 = &g_xmlNullStr; - if ((byte *)puVar14[1] != (byte *)0x0) { - pbVar21 = (byte *)puVar14[1]; + if ((byte *)puVar22[1] != (byte *)0x0) { + pbVar21 = (byte *)puVar22[1]; } pbVar19 = pbVar21; do { @@ -860228,40 +861743,40 @@ LAB_00991a0b: std::string::_Tidy_deallocate(); } else { - pcVar28 = "roomshape"; + pcVar29 = "roomshape"; pbVar19 = &g_xmlNullStr; if (pbVar21 != (byte *)0x0) { pbVar19 = pbVar21; } do { bVar4 = *pbVar19; - bVar31 = bVar4 < (byte)*pcVar28; - if (bVar4 != *pcVar28) { + bVar31 = bVar4 < (byte)*pcVar29; + if (bVar4 != *pcVar29) { LAB_00991b46: uVar8 = -(uint)bVar31 | 1; goto LAB_00991b4b; } if (bVar4 == 0) break; bVar4 = pbVar19[1]; - bVar31 = bVar4 < (byte)pcVar28[1]; - if (bVar4 != pcVar28[1]) goto LAB_00991b46; + bVar31 = bVar4 < (byte)pcVar29[1]; + if (bVar4 != pcVar29[1]) goto LAB_00991b46; pbVar19 = pbVar19 + 2; - pcVar28 = pcVar28 + 2; + pcVar29 = pcVar29 + 2; } while (bVar4 != 0); uVar8 = 0; LAB_00991b4b: if (uVar8 == 0) { pbVar21 = &g_xmlNullStr; - if ((byte *)puVar14[1] != (byte *)0x0) { - pbVar21 = (byte *)puVar14[1]; + if ((byte *)puVar22[1] != (byte *)0x0) { + pbVar21 = (byte *)puVar22[1]; } piStack_101dc = (int *)atoi((char *)pbVar21); } } - } while ((puVar14[4] != 0) && - (puVar14 = (undefined4 *)puVar14[6], puVar14 != (undefined4 *)0x0)); + } while ((puVar22[4] != 0) && + (puVar22 = (undefined4 *)puVar22[6], puVar22 != (undefined4 *)0x0)); } - puVar14 = puStack_101d8; + puVar22 = puStack_101d8; iVar7 = iStack_1020c; if (piStack_10220 == piStack_101dc) { if (iStack_1020c == iStack_10204) { @@ -860279,7 +861794,7 @@ LAB_00991b4b: goto LAB_00993307; operator_delete(); } - puStack_101d8 = (undefined4 *)puVar14[0xb]; + puStack_101d8 = (undefined4 *)puVar22[0xb]; } while (puStack_101d8 != (undefined4 *)0x0); } iVar3 = iStack_1020c; @@ -860294,32 +861809,33 @@ LAB_00991b4b: iStack_1020c = iVar3 + 0x18; } } - pfVar22 = pfStack_101e0; + pfVar23 = pfStack_101e0; pppppppuVar13 = (undefined4 *******)*(undefined8 *)(pfStack_101e0 + 3); cVar5 = stage_matches(); if (((cVar5 != '\0') && - ((pfStack_10238 == (float *)0x0 || ((float *)pfVar22[5] == pfStack_10238)))) && + ((pfStack_10238 == (float *)0x0 || ((float *)pfVar23[5] == pfStack_10238)))) && (((byte)uStack_10240 == '\0' || - (*(float *)(g_game->_ventricleRazorPortals + iStack_1028c * 0xc4 + 0x658) == pfVar22[5])))) + (*(float *)(g_game->_ventricleRazorPortals + iStack_1028c * 0xc4 + 0x658) == pfVar23[5])))) { iVar7 = *(int *)((int)g_game->_room + 4); - RVar29 = (RNG)0x0; + fVar24 = 0.0; if (iVar7 != 0) { - RVar29 = *(RNG *)(iVar7 + 0x58); + fVar24 = *(float *)(iVar7 + 0x58); } piStack_101dc = (int *)&DAT_00000007; - piStack_101f0 = (int *)&DAT_00000007; - uStack_101f8 = 0x900000005; - RStack_101fc = RVar29; - if (pfVar22[7] == pfVar22[8]) { - std::vector::_Emplace_reallocate(pfVar22[7],aiStack_10278); + RStack_101fc._shift3 = (int)&DAT_00000007; + RStack_101fc._shift1 = 5; + RStack_101fc._shift2 = 9; + RStack_101fc._seed = (int)fVar24; + if (pfVar23[7] == pfVar23[8]) { + std::vector::_Emplace_reallocate(pfVar23[7],aiStack_10278); } else { FXLayer::copy_constructor(); - pfVar22[7] = (float)((int)pfVar22[7] + 0x4c); + pfVar23[7] = (float)((int)pfVar23[7] + 0x4c); } local_5c = 0; - puStack_101d8 = (undefined4 *)pfVar22[7]; + puStack_101d8 = (undefined4 *)pfVar23[7]; local_58 = 0xf; local_6c[0] = (undefined4 *******)0x0; std::string::assign(&s_empty,0); @@ -860336,8 +861852,8 @@ LAB_00991b4b: } std::string::assign(pppppppuVar13,*pppppppuVar1); } - piStack_101dc = piStack_101f0; - RVar29 = RStack_101fc; + piStack_101dc = (int *)RStack_101fc._shift3; + fVar24 = (float)RStack_101fc._seed; } pppppppuVar13 = local_6c; if (0xf < local_58) { @@ -860347,7 +861863,7 @@ LAB_00991b4b: local_14._0_1_ = 9; dVar37 = 4.95775508228374e-317; puVar12 = (undefined4 *)KAGE::SmartPointer::operator_assign(); - puVar14 = puStack_101d8; + puVar22 = puStack_101d8; uVar15 = puVar12[1]; puVar12[1] = puStack_101d8[-0x11]; puStack_101d8[-0x11] = uVar15; @@ -860373,7 +861889,7 @@ LAB_00991b4b: } } local_14 = (undefined4 ******)CONCAT31(local_14._1_3_,8); - pfStack_101e8 = (float *)puVar14[-0x12]; + pfStack_101e8 = (float *)puVar22[-0x12]; if (pfStack_101e8 == (float *)0x0) { pppppppuVar13 = local_6c; if (0xf < local_58) { @@ -860388,8 +861904,8 @@ LAB_00991b4b: pfStack_101e8[0xe] = 0.0; pfStack_101e8[0xf] = 0.0; } - if (((*(char *)(puVar14 + -1) == '\0') && ((float)puVar14[-4] != 0.0)) && - ((pfStack_101e8 = (float *)puVar14[-0x12], pfStack_101e8[0xc] != 1.4013e-45 || + if (((*(char *)(puVar22 + -1) == '\0') && ((float)puVar22[-4] != 0.0)) && + ((pfStack_101e8 = (float *)puVar22[-0x12], pfStack_101e8[0xc] != 1.4013e-45 || (pfStack_101e8[0xd] != 1.4013e-45)))) { dVar37 = 2.12199579145934e-314; (**(code **)((int)*pfStack_101e8 + 0x44))(); @@ -860397,16 +861913,16 @@ LAB_00991b4b: pfStack_101e8[0xd] = 1.4013e-45; } pfStack_101e4 = (float *)puStack_101d8[-0xd]; - pfStack_101e8 = (float *)((int)(puVar14[-0xf] - puVar14[-0x10]) / 0x14); + pfStack_101e8 = (float *)((int)(puVar22[-0xf] - puVar22[-0x10]) / 0x14); if (pfStack_101e4 < pfStack_101e8) { - iVar7 = puVar14[-0x10] + (int)pfStack_101e4 * 0x14; + iVar7 = puVar22[-0x10] + (int)pfStack_101e4 * 0x14; LAB_00991f42: - puVar14[-0xf] = iVar7; + puVar22[-0xf] = iVar7; } else if (pfStack_101e8 < pfStack_101e4) { - if (pfStack_101e4 <= (float *)((int)(puVar14[-0xe] - puVar14[-0x10]) / 0x14)) { + if (pfStack_101e4 <= (float *)((int)(puVar22[-0xe] - puVar22[-0x10]) / 0x14)) { dVar37 = (double)CONCAT44(pfStack_101e8,(int)pfStack_101e4 - (int)pfStack_101e8); - iVar7 = FUN_009981d0(puVar14[-0xf],(int)pfStack_101e4 - (int)pfStack_101e8,pfStack_101e8); + iVar7 = FUN_009981d0(puVar22[-0xf],(int)pfStack_101e4 - (int)pfStack_101e8,pfStack_101e8); goto LAB_00991f42; } dVar37 = (double)CONCAT44(&pfStack_101e8,pfStack_101e4); @@ -860417,13 +861933,13 @@ LAB_00991f42: if (0 < (int)puStack_101d8[-0xd]) { iVar7 = 0; do { - if (RVar29 == (RNG)0x0) { + if (fVar24 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - bVar4 = (byte)uStack_101f8; - uVar8 = (uint)RVar29 >> (bVar4 & 0x1f) ^ (uint)RVar29; - bVar17 = (byte)(uStack_101f8 >> 0x20); + bVar4 = (byte)RStack_101fc._shift1; + uVar8 = (uint)fVar24 >> (bVar4 & 0x1f) ^ (uint)fVar24; + bVar17 = (byte)RStack_101fc._shift2; uVar8 = uVar8 << (bVar17 & 0x1f) ^ uVar8; bVar18 = (byte)piStack_101dc; uVar8 = uVar8 >> (bVar18 & 0x1f) ^ uVar8; @@ -860437,18 +861953,18 @@ LAB_00991f42: } uVar8 = uVar8 >> (bVar4 & 0x1f) ^ uVar8; uVar8 = uVar8 << (bVar17 & 0x1f) ^ uVar8; - RVar29 = (RNG)(uVar8 >> (bVar18 & 0x1f) ^ uVar8); + fVar24 = (float)(uVar8 >> (bVar18 & 0x1f) ^ uVar8); *(float *)(puStack_101d8[-0x10] + 0xc + iVar7) = ((float)puStack_101d8[-9] - (float)puStack_101d8[-10]) * - (float)((double)(int)RVar29 + __uint_to_double_fixup[-((int)RVar29 >> 0x1f)]) * + (float)((double)(int)fVar24 + __uint_to_double_fixup[-((int)fVar24 >> 0x1f)]) * 2.3283062e-10 + (float)puStack_101d8[-10]; if (*(char *)((int)puStack_101d8 + -0x13) == '\0') { if (*(char *)(puStack_101d8 + -1) == '\0') { - if (RVar29 == (RNG)0x0) { + if (fVar24 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)RVar29 >> (bVar4 & 0x1f) ^ (uint)RVar29; + uVar8 = (uint)fVar24 >> (bVar4 & 0x1f) ^ (uint)fVar24; uVar8 = uVar8 << (bVar17 & 0x1f) ^ uVar8; pfStack_101e4 = (float *)(uVar8 >> (bVar18 & 0x1f) ^ uVar8); piVar9 = puStack_101d8 + -0x10; @@ -860486,9 +862002,9 @@ LAB_00991f42: } uVar8 = (uint)pfStack_101e4 >> (bVar4 & 0x1f) ^ (uint)pfStack_101e4; uVar8 = uVar8 << (bVar17 & 0x1f) ^ uVar8; - RVar29 = (RNG)(uVar8 >> (bVar18 & 0x1f) ^ uVar8); + fVar24 = (float)(uVar8 >> (bVar18 & 0x1f) ^ uVar8); *(bool *)(puStack_101d8[-0x10] + 0x11 + iVar7) = - (float)((double)(int)RVar29 + __uint_to_double_fixup[-((int)RVar29 >> 0x1f)]) * + (float)((double)(int)fVar24 + __uint_to_double_fixup[-((int)fVar24 >> 0x1f)]) * 2.3283062e-10 < 0.5; } else { @@ -860513,11 +862029,11 @@ LAB_00991f42: dVar36 = floor(dVar37); pfStack_101ec = (float *)(float)dVar36; iVar3 = puStack_101d8[-0x10]; - fVar23 = (float)puStack_101d8[-4]; + fVar6 = (float)puStack_101d8[-4]; *(float *)(iVar7 + iVar3) = fStack_10224 * (float)puStack_101d8[-4] + *(float *)(iVar7 + 8 + iVar3); *(float *)(iVar7 + 4 + iVar3) = - ((float)pfStack_101ec / (float)pfStack_101e4) * fVar23 + + ((float)pfStack_101ec / (float)pfStack_101e4) * fVar6 + *(float *)(iVar7 + 0xc + iVar3); } pppppppuVar13 = SUB84(dVar37,0); @@ -860572,15 +862088,15 @@ LAB_00991f42: iStack_10208 = 0; } } - pfVar22 = pfStack_101e0 + 9; + pfVar23 = pfStack_101e0 + 9; uVar39 = CONCAT44(0x9925b4,(int)uVar38); - pfStack_101e4 = pfVar22; + pfStack_101e4 = pfVar23; FUN_009973e0(); xml_node::first_node("fxRays",uVar39); iStack_10204 = xml_node::first_node("rayGroup",uVar39); - pGVar25 = g_game; + pGVar26 = g_game; joined_r0x009925de: - g_game = pGVar25; + g_game = pGVar26; if (iStack_10204 != 0) { fStack_10258 = -100.0; fStack_10254 = 100.0; @@ -860596,17 +862112,17 @@ joined_r0x009925de: local_d0 = 0xf; local_14._1_3_ = (undefined3)((uint)local_14 >> 8); local_14._0_1_ = 0xe; - for (puVar14 = *(undefined4 **)(iStack_10204 + 0x20); puVar14 != (undefined4 *)0x0; - puVar14 = (undefined4 *)puVar14[6]) { + for (puVar22 = *(undefined4 **)(iStack_10204 + 0x20); puVar22 != (undefined4 *)0x0; + puVar22 = (undefined4 *)puVar22[6]) { pbVar19 = &DAT_00b7d790; pbVar21 = &g_xmlNullStr; - if ((byte *)*puVar14 != (byte *)0x0) { - pbVar21 = (byte *)*puVar14; + if ((byte *)*puVar22 != (byte *)0x0) { + pbVar21 = (byte *)*puVar22; } do { bStack_101d1 = *pbVar21; bVar31 = bStack_101d1 < *pbVar19; - pbVar20 = (byte *)*puVar14; + pbVar20 = (byte *)*puVar22; if (bStack_101d1 != *pbVar19) { LAB_009926bb: uVar8 = -(uint)bVar31 | 1; @@ -860615,7 +862131,7 @@ LAB_009926bb: if (bStack_101d1 == 0) break; bStack_101d1 = pbVar21[1]; bVar31 = bStack_101d1 < pbVar19[1]; - pbVar20 = (byte *)*puVar14; + pbVar20 = (byte *)*puVar22; if (bStack_101d1 != pbVar19[1]) goto LAB_009926bb; pbVar21 = pbVar21 + 2; pbVar19 = pbVar19 + 2; @@ -860624,8 +862140,8 @@ LAB_009926bb: LAB_009926c0: if (uVar8 == 0) { pbVar21 = &g_xmlNullStr; - if ((byte *)puVar14[1] != (byte *)0x0) { - pbVar21 = (byte *)puVar14[1]; + if ((byte *)puVar22[1] != (byte *)0x0) { + pbVar21 = (byte *)puVar22[1]; } dVar37 = atof((char *)pbVar21); fStack_10258 = (float)dVar37; @@ -860639,7 +862155,7 @@ LAB_009926c0: do { bStack_101d1 = *pbVar21; bVar31 = bStack_101d1 < *pbVar19; - pbVar20 = (byte *)*puVar14; + pbVar20 = (byte *)*puVar22; if (bStack_101d1 != *pbVar19) { LAB_0099272f: uVar8 = -(uint)bVar31 | 1; @@ -860648,7 +862164,7 @@ LAB_0099272f: if (bStack_101d1 == 0) break; bStack_101d1 = pbVar21[1]; bVar31 = bStack_101d1 < pbVar19[1]; - pbVar20 = (byte *)*puVar14; + pbVar20 = (byte *)*puVar22; if (bStack_101d1 != pbVar19[1]) goto LAB_0099272f; pbVar21 = pbVar21 + 2; pbVar19 = pbVar19 + 2; @@ -860657,204 +862173,204 @@ LAB_0099272f: LAB_00992734: if (uVar8 == 0) { pbVar21 = &g_xmlNullStr; - if ((byte *)puVar14[1] != (byte *)0x0) { - pbVar21 = (byte *)puVar14[1]; + if ((byte *)puVar22[1] != (byte *)0x0) { + pbVar21 = (byte *)puVar22[1]; } dVar37 = atof((char *)pbVar21); fStack_10254 = (float)dVar37; } else { - pcVar28 = "topParallax"; + pcVar29 = "topParallax"; pbVar21 = &g_xmlNullStr; if (pbVar20 != (byte *)0x0) { pbVar21 = pbVar20; } do { bStack_101d1 = *pbVar21; - bVar31 = bStack_101d1 < (byte)*pcVar28; - pbVar19 = (byte *)*puVar14; - if (bStack_101d1 != *pcVar28) { + bVar31 = bStack_101d1 < (byte)*pcVar29; + pbVar19 = (byte *)*puVar22; + if (bStack_101d1 != *pcVar29) { LAB_009927aa: uVar8 = -(uint)bVar31 | 1; goto LAB_009927af; } if (bStack_101d1 == 0) break; bStack_101d1 = pbVar21[1]; - bVar31 = bStack_101d1 < (byte)pcVar28[1]; - pbVar19 = (byte *)*puVar14; - if (bStack_101d1 != pcVar28[1]) goto LAB_009927aa; + bVar31 = bStack_101d1 < (byte)pcVar29[1]; + pbVar19 = (byte *)*puVar22; + if (bStack_101d1 != pcVar29[1]) goto LAB_009927aa; pbVar21 = pbVar21 + 2; - pcVar28 = pcVar28 + 2; + pcVar29 = pcVar29 + 2; } while (bStack_101d1 != 0); uVar8 = 0; LAB_009927af: if (uVar8 == 0) { pbVar21 = &g_xmlNullStr; - if ((byte *)puVar14[1] != (byte *)0x0) { - pbVar21 = (byte *)puVar14[1]; + if ((byte *)puVar22[1] != (byte *)0x0) { + pbVar21 = (byte *)puVar22[1]; } dVar37 = atof((char *)pbVar21); fStack_10250 = (float)dVar37; } else { - pcVar28 = "bottomParallax"; + pcVar29 = "bottomParallax"; pbVar21 = &g_xmlNullStr; if (pbVar19 != (byte *)0x0) { pbVar21 = pbVar19; } do { bStack_101d1 = *pbVar21; - bVar31 = bStack_101d1 < (byte)*pcVar28; - pbVar19 = (byte *)*puVar14; - if (bStack_101d1 != *pcVar28) { + bVar31 = bStack_101d1 < (byte)*pcVar29; + pbVar19 = (byte *)*puVar22; + if (bStack_101d1 != *pcVar29) { LAB_0099281e: uVar8 = -(uint)bVar31 | 1; goto LAB_00992823; } if (bStack_101d1 == 0) break; bStack_101d1 = pbVar21[1]; - bVar31 = bStack_101d1 < (byte)pcVar28[1]; - pbVar19 = (byte *)*puVar14; - if (bStack_101d1 != pcVar28[1]) goto LAB_0099281e; + bVar31 = bStack_101d1 < (byte)pcVar29[1]; + pbVar19 = (byte *)*puVar22; + if (bStack_101d1 != pcVar29[1]) goto LAB_0099281e; pbVar21 = pbVar21 + 2; - pcVar28 = pcVar28 + 2; + pcVar29 = pcVar29 + 2; } while (bStack_101d1 != 0); uVar8 = 0; LAB_00992823: if (uVar8 == 0) { pbVar21 = &g_xmlNullStr; - if ((byte *)puVar14[1] != (byte *)0x0) { - pbVar21 = (byte *)puVar14[1]; + if ((byte *)puVar22[1] != (byte *)0x0) { + pbVar21 = (byte *)puVar22[1]; } dVar37 = atof((char *)pbVar21); fStack_1024c = (float)dVar37; } else { - pcVar28 = "rayLength"; + pcVar29 = "rayLength"; pbVar21 = &g_xmlNullStr; if (pbVar19 != (byte *)0x0) { pbVar21 = pbVar19; } do { bStack_101d1 = *pbVar21; - bVar31 = bStack_101d1 < (byte)*pcVar28; - pbVar19 = (byte *)*puVar14; - if (bStack_101d1 != *pcVar28) { + bVar31 = bStack_101d1 < (byte)*pcVar29; + pbVar19 = (byte *)*puVar22; + if (bStack_101d1 != *pcVar29) { LAB_0099289a: uVar8 = -(uint)bVar31 | 1; goto LAB_0099289f; } if (bStack_101d1 == 0) break; bStack_101d1 = pbVar21[1]; - bVar31 = bStack_101d1 < (byte)pcVar28[1]; - pbVar19 = (byte *)*puVar14; - if (bStack_101d1 != pcVar28[1]) goto LAB_0099289a; - pcVar28 = pcVar28 + 2; + bVar31 = bStack_101d1 < (byte)pcVar29[1]; + pbVar19 = (byte *)*puVar22; + if (bStack_101d1 != pcVar29[1]) goto LAB_0099289a; + pcVar29 = pcVar29 + 2; pbVar21 = pbVar21 + 2; } while (bStack_101d1 != 0); uVar8 = 0; LAB_0099289f: if (uVar8 == 0) { pbVar21 = &g_xmlNullStr; - if ((byte *)puVar14[1] != (byte *)0x0) { - pbVar21 = (byte *)puVar14[1]; + if ((byte *)puVar22[1] != (byte *)0x0) { + pbVar21 = (byte *)puVar22[1]; } dVar37 = atof((char *)pbVar21); fStack_10248 = (float)dVar37; } else { - pcVar28 = "raySpacing"; + pcVar29 = "raySpacing"; pbVar21 = &g_xmlNullStr; if (pbVar19 != (byte *)0x0) { pbVar21 = pbVar19; } do { bStack_101d1 = *pbVar21; - bVar31 = bStack_101d1 < (byte)*pcVar28; - pbVar19 = (byte *)*puVar14; - if (bStack_101d1 != *pcVar28) { + bVar31 = bStack_101d1 < (byte)*pcVar29; + pbVar19 = (byte *)*puVar22; + if (bStack_101d1 != *pcVar29) { LAB_0099290e: uVar8 = -(uint)bVar31 | 1; goto LAB_00992913; } if (bStack_101d1 == 0) break; bStack_101d1 = pbVar21[1]; - bVar31 = bStack_101d1 < (byte)pcVar28[1]; - pbVar19 = (byte *)*puVar14; - if (bStack_101d1 != pcVar28[1]) goto LAB_0099290e; + bVar31 = bStack_101d1 < (byte)pcVar29[1]; + pbVar19 = (byte *)*puVar22; + if (bStack_101d1 != pcVar29[1]) goto LAB_0099290e; pbVar21 = pbVar21 + 2; - pcVar28 = pcVar28 + 2; + pcVar29 = pcVar29 + 2; } while (bStack_101d1 != 0); uVar8 = 0; LAB_00992913: if (uVar8 == 0) { pbVar21 = &g_xmlNullStr; - if ((byte *)puVar14[1] != (byte *)0x0) { - pbVar21 = (byte *)puVar14[1]; + if ((byte *)puVar22[1] != (byte *)0x0) { + pbVar21 = (byte *)puVar22[1]; } dVar37 = atof((char *)pbVar21); fStack_10244 = (float)dVar37; } else { - pcVar28 = "perspective"; + pcVar29 = "perspective"; pbVar21 = &g_xmlNullStr; if (pbVar19 != (byte *)0x0) { pbVar21 = pbVar19; } do { bStack_101d1 = *pbVar21; - bVar31 = bStack_101d1 < (byte)*pcVar28; - pbVar19 = (byte *)*puVar14; - if (bStack_101d1 != *pcVar28) { + bVar31 = bStack_101d1 < (byte)*pcVar29; + pbVar19 = (byte *)*puVar22; + if (bStack_101d1 != *pcVar29) { LAB_0099298a: uVar8 = -(uint)bVar31 | 1; goto LAB_0099298f; } if (bStack_101d1 == 0) break; bStack_101d1 = pbVar21[1]; - bVar31 = bStack_101d1 < (byte)pcVar28[1]; - pbVar19 = (byte *)*puVar14; - if (bStack_101d1 != pcVar28[1]) goto LAB_0099298a; - pcVar28 = pcVar28 + 2; + bVar31 = bStack_101d1 < (byte)pcVar29[1]; + pbVar19 = (byte *)*puVar22; + if (bStack_101d1 != pcVar29[1]) goto LAB_0099298a; + pcVar29 = pcVar29 + 2; pbVar21 = pbVar21 + 2; } while (bStack_101d1 != 0); uVar8 = 0; LAB_0099298f: if (uVar8 == 0) { pbVar21 = &g_xmlNullStr; - if ((byte *)puVar14[1] != (byte *)0x0) { - pbVar21 = (byte *)puVar14[1]; + if ((byte *)puVar22[1] != (byte *)0x0) { + pbVar21 = (byte *)puVar22[1]; } dVar37 = atof((char *)pbVar21); uStack_10240 = (float)dVar37; } else { - pcVar28 = "stages"; + pcVar29 = "stages"; pbVar21 = &g_xmlNullStr; if (pbVar19 != (byte *)0x0) { pbVar21 = pbVar19; } do { bVar4 = *pbVar21; - bVar31 = bVar4 < (byte)*pcVar28; - if (bVar4 != *pcVar28) { + bVar31 = bVar4 < (byte)*pcVar29; + if (bVar4 != *pcVar29) { LAB_009929e1: uVar8 = -(uint)bVar31 | 1; goto LAB_009929e6; } if (bVar4 == 0) break; bVar4 = pbVar21[1]; - bVar31 = bVar4 < (byte)pcVar28[1]; - if (bVar4 != pcVar28[1]) goto LAB_009929e1; + bVar31 = bVar4 < (byte)pcVar29[1]; + if (bVar4 != pcVar29[1]) goto LAB_009929e1; pbVar21 = pbVar21 + 2; - pcVar28 = pcVar28 + 2; + pcVar29 = pcVar29 + 2; } while (bVar4 != 0); uVar8 = 0; LAB_009929e6: if (uVar8 == 0) { pbVar21 = &g_xmlNullStr; - if ((byte *)puVar14[1] != (byte *)0x0) { - pbVar21 = (byte *)puVar14[1]; + if ((byte *)puVar22[1] != (byte *)0x0) { + pbVar21 = (byte *)puVar22[1]; } pbVar19 = pbVar21; do { @@ -860870,7 +862386,7 @@ LAB_009929e6: } } } - if (puVar14[4] == 0) break; + if (puVar22[4] == 0) break; } string_split(); local_14._0_1_ = 0xf; @@ -860879,23 +862395,23 @@ LAB_009929e6: if ((iStack_1020c - iStack_10210) / 0x18 + iVar7 != iVar7) { iVar7 = 0; do { - puVar14 = (undefined4 *)(iVar7 + iStack_10210); - uVar8 = puVar14[4]; + puVar22 = (undefined4 *)(iVar7 + iStack_10210); + uVar8 = puVar22[4]; pfStack_101e8 = (float *)0x0; if (0xf < *(uint *)(iVar7 + 0x14 + iStack_10210)) { - puVar14 = (undefined4 *)*puVar14; + puVar22 = (undefined4 *)*puVar22; } - if (*(char *)((uVar8 - 1) + (int)puVar14) == 'b') { + if (*(char *)((uVar8 - 1) + (int)puVar22) == 'b') { if (uVar8 < uVar8 - 1) goto LAB_00993706; FUN_00684f70(uVar8 - 1,1); uStack_10230 = CONCAT11(1,(char)uStack_10230); } - puVar14 = (undefined4 *)(iVar7 + iStack_10210); - uVar8 = puVar14[4]; + puVar22 = (undefined4 *)(iVar7 + iStack_10210); + uVar8 = puVar22[4]; if (0xf < *(uint *)(iVar7 + 0x14 + iStack_10210)) { - puVar14 = (undefined4 *)*puVar14; + puVar22 = (undefined4 *)*puVar22; } - if (*(char *)((int)puVar14 + (uVar8 - 1)) == 'a') { + if (*(char *)((int)puVar22 + (uVar8 - 1)) == 'a') { if (uVar8 < uVar8 - 1) { LAB_00993706: /* WARNING: Subroutine does not return */ @@ -860904,11 +862420,11 @@ LAB_00993706: FUN_00684f70(uVar8 - 1,1); pfStack_101e8 = (float *)0x1; } - pcVar28 = (char *)(iVar7 + iStack_10210); + pcVar29 = (char *)(iVar7 + iStack_10210); if (0xf < *(uint *)(iVar7 + 0x14 + iStack_10210)) { - pcVar28 = *(char **)pcVar28; + pcVar29 = *(char **)pcVar29; } - atoi(pcVar28); + atoi(pcVar29); cVar5 = stage_matches(); if (cVar5 != '\0') { uStack_10230 = CONCAT11(uStack_10230._1_1_,1); @@ -860918,23 +862434,23 @@ LAB_00993706: uStack_10214 = uStack_10214 + 1; } while (uStack_10214 < (uint)((iStack_1020c - iStack_10210) / 0x18)); } - pcVar28 = "fxRay"; + pcVar29 = "fxRay"; do { - pcVar30 = pcVar28; - pcVar28 = pcVar30 + 1; - } while (*pcVar28 != '\0'); - for (piStack_101dc = *(int **)(iStack_10204 + 0x18); pfVar22 = pfStack_101e4, + pcVar30 = pcVar29; + pcVar29 = pcVar30 + 1; + } while (*pcVar29 != '\0'); + for (piStack_101dc = *(int **)(iStack_10204 + 0x18); pfVar23 = pfStack_101e4, piStack_101dc != (int *)0x0; piStack_101dc = (int *)piStack_101dc[0xb]) { pbVar21 = (byte *)*piStack_101dc; if (pbVar21 == (byte *)0x0) { - pcVar28 = (char *)0x0; + pcVar29 = (char *)0x0; pbVar21 = &g_xmlNullStr; } else { - pcVar28 = (char *)piStack_101dc[2]; + pcVar29 = (char *)piStack_101dc[2]; } - if (pcVar28 == pcVar30 + -0xb7d853) { - pbVar19 = pbVar21 + (int)pcVar28; + if (pcVar29 == pcVar30 + -0xb7d853) { + pbVar19 = pbVar21 + (int)pcVar29; if (pbVar19 <= pbVar21) goto joined_r0x00992bf5; iVar7 = (int)&DAT_00b7d854 - (int)pbVar21; while (*pbVar21 == pbVar21[iVar7]) { @@ -860946,30 +862462,32 @@ LAB_00993706: piStack_101dc = (int *)0x0; joined_r0x00992bf5: do { - pfStack_101e4 = pfVar22; + pfStack_101e4 = pfVar23; if (piStack_101dc == (int *)0x0) goto LAB_00993141; local_a4 = 0; uStack_a0 = 0xf; local_b4 = (undefined4 *******)0x0; fStack_10200 = 0.5; - RStack_101fc = (RNG)0x3dcccccd; - uStack_101f8 = 0; - piStack_101f0 = (int *)0x0; + RStack_101fc._seed = 0x3dcccccd; + RStack_101fc._shift1 = 0; + RStack_101fc._shift2 = 0; + RStack_101fc._shift3 = 0; local_14._0_1_ = 0x11; - if (DAT_00c35e8c == (RNG)0x0) { + if (DAT_00c35e8c == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar8 = (uint)DAT_00c35e8c >> ((byte)DAT_00c35e90 & 0x1f) ^ (uint)DAT_00c35e8c; uVar8 = uVar8 << ((byte)DAT_00c35e94 & 0x1f) ^ uVar8; - DAT_00c35e8c = (RNG)(uVar8 >> ((byte)DAT_00c35e98 & 0x1f) ^ uVar8); - puVar14 = (undefined4 *)piStack_101dc[8]; - uStack_101f8 = (ulonglong) - (uint)((float)((double)(int)DAT_00c35e8c + - __uint_to_double_fixup[-((int)DAT_00c35e8c >> 0x1f)]) * - 2.3283062e-10 * 3.1415927); - for (; puVar14 != (undefined4 *)0x0; puVar14 = (undefined4 *)puVar14[6]) { - pbVar21 = (byte *)*puVar14; + DAT_00c35e8c = (float)(uVar8 >> ((byte)DAT_00c35e98 & 0x1f) ^ uVar8); + puVar22 = (undefined4 *)piStack_101dc[8]; + RStack_101fc._shift2 = 0; + RStack_101fc._shift1 = + (int)((float)((double)(int)DAT_00c35e8c + + __uint_to_double_fixup[-((int)DAT_00c35e8c >> 0x1f)]) * 2.3283062e-10 * + 3.1415927); + for (; puVar22 != (undefined4 *)0x0; puVar22 = (undefined4 *)puVar22[6]) { + pbVar21 = (byte *)*puVar22; pbVar20 = &DAT_00b66e0c; pbVar19 = &g_xmlNullStr; if (pbVar21 != (byte *)0x0) { @@ -860995,8 +862513,8 @@ LAB_00992d26: if (uVar8 == 0) { local_2c = 0; pbVar21 = &g_xmlNullStr; - if ((byte *)puVar14[1] != (byte *)0x0) { - pbVar21 = (byte *)puVar14[1]; + if ((byte *)puVar22[1] != (byte *)0x0) { + pbVar21 = (byte *)puVar22[1]; } uStack_28 = 0xf; local_3c = (int *******)0x0; @@ -861036,70 +862554,70 @@ LAB_00992d26: local_3c = (int *******)((uint)local_3c & 0xffffff00); } else { - pcVar28 = "opacity"; + pcVar29 = "opacity"; pbVar19 = &g_xmlNullStr; if (pbVar21 != (byte *)0x0) { pbVar19 = pbVar21; } do { bVar4 = *pbVar19; - bVar31 = bVar4 < (byte)*pcVar28; - if (bVar4 != *pcVar28) { + bVar31 = bVar4 < (byte)*pcVar29; + if (bVar4 != *pcVar29) { LAB_00992e90: uVar8 = -(uint)bVar31 | 1; goto LAB_00992e95; } if (bVar4 == 0) break; bVar4 = pbVar19[1]; - bVar31 = bVar4 < (byte)pcVar28[1]; - if (bVar4 != pcVar28[1]) goto LAB_00992e90; + bVar31 = bVar4 < (byte)pcVar29[1]; + if (bVar4 != pcVar29[1]) goto LAB_00992e90; pbVar19 = pbVar19 + 2; - pcVar28 = pcVar28 + 2; + pcVar29 = pcVar29 + 2; } while (bVar4 != 0); uVar8 = 0; LAB_00992e95: if (uVar8 == 0) { pbVar21 = &g_xmlNullStr; - if ((byte *)puVar14[1] != (byte *)0x0) { - pbVar21 = (byte *)puVar14[1]; + if ((byte *)puVar22[1] != (byte *)0x0) { + pbVar21 = (byte *)puVar22[1]; } dVar37 = atof((char *)pbVar21); fStack_10200 = (float)dVar37; } else { - pcVar28 = "animationSpeed"; + pcVar29 = "animationSpeed"; pbVar19 = &g_xmlNullStr; if (pbVar21 != (byte *)0x0) { pbVar19 = pbVar21; } do { bVar4 = *pbVar19; - bVar31 = bVar4 < (byte)*pcVar28; - if (bVar4 != *pcVar28) { + bVar31 = bVar4 < (byte)*pcVar29; + if (bVar4 != *pcVar29) { LAB_00992ee4: uVar8 = -(uint)bVar31 | 1; goto LAB_00992ee9; } if (bVar4 == 0) break; bVar4 = pbVar19[1]; - bVar31 = bVar4 < (byte)pcVar28[1]; - if (bVar4 != pcVar28[1]) goto LAB_00992ee4; + bVar31 = bVar4 < (byte)pcVar29[1]; + if (bVar4 != pcVar29[1]) goto LAB_00992ee4; pbVar19 = pbVar19 + 2; - pcVar28 = pcVar28 + 2; + pcVar29 = pcVar29 + 2; } while (bVar4 != 0); uVar8 = 0; LAB_00992ee9: if (uVar8 == 0) { pbVar21 = &g_xmlNullStr; - if ((byte *)puVar14[1] != (byte *)0x0) { - pbVar21 = (byte *)puVar14[1]; + if ((byte *)puVar22[1] != (byte *)0x0) { + pbVar21 = (byte *)puVar22[1]; } dVar37 = atof((char *)pbVar21); - RStack_101fc = (RNG)(float)dVar37; + RStack_101fc._seed = (int)(float)dVar37; } } } - if (puVar14[4] == 0) break; + if (puVar22[4] == 0) break; } pppppppuVar13 = &local_b4; if (0xf < uStack_a0) { @@ -861107,20 +862625,20 @@ LAB_00992ee9: } Manager::LoadImage(auStack_10288,pppppppuVar13); local_14._0_1_ = 0x13; - puVar14 = (undefined4 *)KAGE::SmartPointer::operator_assign(); - piVar9 = (int *)puVar14[1]; - puVar14[1] = piStack_101f0; - piVar24 = (int *)*puVar14; - *puVar14 = uStack_101f8._4_4_; - uStack_101f8 = CONCAT44(piVar24,(float)uStack_101f8); + piVar14 = (int *)KAGE::SmartPointer::operator_assign(); + piVar9 = (int *)piVar14[1]; + piVar14[1] = RStack_101fc._shift3; + piVar25 = (int *)*piVar14; + *piVar14 = RStack_101fc._shift2; + RStack_101fc._shift2 = (int)piVar25; local_14._0_1_ = 0x14; - piStack_101f0 = piVar9; + RStack_101fc._shift3 = (int)piVar9; if (piStack_1027c != (int *)0x0) { cVar5 = (**(code **)(*piStack_1027c + 0xc))(); if ((cVar5 != '\0') && (g_imageReleaseFn != (void *)0x0)) { (*g_imageReleaseFn)(); } - piVar24 = uStack_101f8._4_4_; + piVar25 = (int *)RStack_101fc._shift2; } local_14._0_1_ = 0x15; if (piStack_10284 != (int *)0x0) { @@ -861128,43 +862646,43 @@ LAB_00992ee9: if ((cVar5 != '\0') && (g_imageReleaseFn != (void *)0x0)) { (*g_imageReleaseFn)(); } - piVar24 = uStack_101f8._4_4_; + piVar25 = (int *)RStack_101fc._shift2; } local_14 = (undefined4 ******)CONCAT31(local_14._1_3_,0x11); - if ((piVar24 != (int *)0x0) && ((piVar24[0xe] != 1 || (piVar24[0xf] != 1)))) { - (**(code **)(*piVar24 + 0x48))(); - piVar24[0xe] = 1; - piVar24[0xf] = 1; + if ((piVar25 != (int *)0x0) && ((piVar25[0xe] != 1 || (piVar25[0xf] != 1)))) { + (**(code **)(*piVar25 + 0x48))(); + piVar25[0xe] = 1; + piVar25[0xf] = 1; } - piVar9 = piStack_101f0; - pfVar22 = pfStack_10238; + iVar7 = RStack_101fc._shift3; + pfVar23 = pfStack_10238; if (pfStack_10238 == pfStack_10234) { std::vector<20byte>::_Emplace_reallocate(pfStack_10238,&fStack_10200); } else { - pfVar26 = pfStack_10238 + 3; + pfVar27 = pfStack_10238 + 3; *pfStack_10238 = fStack_10200; - *(RNG *)(pfStack_10238 + 1) = RStack_101fc; - pfStack_10238[2] = (float)uStack_101f8; - *pfVar26 = 0.0; + pfStack_10238[1] = (float)RStack_101fc._seed; + pfStack_10238[2] = (float)RStack_101fc._shift1; + *pfVar27 = 0.0; pfStack_10238[4] = 0.0; - pfStack_101ec = (float *)uStack_101f8._4_4_; - if ((piStack_101f0 != (int *)0x0) && - (cVar5 = (**(code **)(*piStack_101f0 + 4))(), cVar5 != '\0')) { - piVar24 = (int *)pfVar22[4]; - if ((piVar24 != (int *)0x0) && - ((cVar5 = (**(code **)(*piVar24 + 0xc))(), cVar5 != '\0' && + pfStack_101ec = (float *)RStack_101fc._shift2; + if (((int *)RStack_101fc._shift3 != (int *)0x0) && + (cVar5 = (**(code **)(*(int *)RStack_101fc._shift3 + 4))(), cVar5 != '\0')) { + piVar9 = (int *)pfVar23[4]; + if ((piVar9 != (int *)0x0) && + ((cVar5 = (**(code **)(*piVar9 + 0xc))(), cVar5 != '\0' && (g_imageReleaseFn != (void *)0x0)))) { (*g_imageReleaseFn)(); } - pfVar22[4] = (float)piVar9; - *pfVar26 = (float)pfStack_101ec; + pfVar23[4] = (float)iVar7; + *pfVar27 = (float)pfStack_101ec; } pfStack_10238 = pfStack_10238 + 5; } local_14._0_1_ = 0x16; - if (((piStack_101f0 != (int *)0x0) && - (cVar5 = (**(code **)(*piStack_101f0 + 0xc))(), cVar5 != '\0')) && + if ((((int *)RStack_101fc._shift3 != (int *)0x0) && + (cVar5 = (**(code **)(*(int *)RStack_101fc._shift3 + 0xc))(), cVar5 != '\0')) && (g_imageReleaseFn != (void *)0x0)) { (*g_imageReleaseFn)(); } @@ -861175,28 +862693,29 @@ LAB_00992ee9: operator_delete(); } piStack_101dc = (int *)piStack_101dc[0xb]; - pfVar22 = pfStack_101e4; + pfVar23 = pfStack_101e4; } while( true ); } pfStack_101e0[0xc] = -NAN; - iVar7 = *(int *)((int)pGVar25->_room + 4); - RStack_101fc = (RNG)0x0; + iVar7 = *(int *)((int)pGVar26->_room + 4); + RStack_101fc._seed = 0; if (iVar7 != 0) { - RStack_101fc = *(RNG *)(iVar7 + 0x58); + RStack_101fc._seed = *(int *)(iVar7 + 0x58); } - piStack_101f0 = (int *)&DAT_00000007; - uStack_101f8 = 0x900000005; - uVar8 = ((int)pfVar22[1] - (int)*pfVar22) / 0x2c; + RStack_101fc._shift3 = (int)&DAT_00000007; + RStack_101fc._shift1 = 5; + RStack_101fc._shift2 = 9; + uVar8 = ((int)pfVar23[1] - (int)*pfVar23) / 0x2c; if (uVar8 != 0) { - fVar23 = (float)RNG::RandomInt(&RStack_101fc,uVar8); - pGVar25 = g_game; - pfStack_101e0[0xc] = fVar23; + fVar24 = (float)RNG::RandomInt(&RStack_101fc,uVar8); + pGVar26 = g_game; + pfStack_101e0[0xc] = fVar24; } - pfVar22 = pfStack_101e0; - if (((*(int *)((int)pGVar25->_room + 8) == 1) && + pfVar23 = pfStack_101e0; + if (((*(int *)((int)pGVar26->_room + 8) == 1) && (uVar8 = RNG::RandomInt(&RStack_101fc,((int)pfStack_101e0[3] < 3) + 2), uVar8 != 0)) && - ((pfVar22[3] != 1.4013e-44 || (g_game->_stageType == 0)))) { - pfVar22[0xc] = -NAN; + ((pfVar23[3] != 1.4013e-44 || (g_game->_stageType == 0)))) { + pfVar23[0xc] = -NAN; } uVar15 = FXParams::FXParams(); uVar39 = CONCAT44(uVar15,0x9932bc); @@ -861244,74 +862763,74 @@ LAB_00993307: pLVar16 = ANM2::GetLayer(this,(byte *)0x0); pLVar16->_minFilterMode = 1; pLVar16 = ANM2::GetLayer(this,(byte *)0x0); - pfVar22 = pfStack_101e0; + pfVar23 = pfStack_101e0; iVar7 = iVar7 + 1; this = this + 1; pLVar16->_magFilterMode = 1; if (1 < iVar7) { ANM2::Play((ANM2 *)(pfStack_101e0 + 0xb2),(byte *)"Vein1",0); - ANM2::Play((ANM2 *)(pfVar22 + 0xf7),(byte *)"Vein2",0); + ANM2::Play((ANM2 *)(pfVar23 + 0xf7),(byte *)"Vein2",0); pfStack_101e8 = (float *)0x0; - pfStack_101e4 = pfVar22 + 0x3b; - pfVar22[0x13c] = (pfVar22[0x2e] + pfVar22[0x2c]) * 0.5; - pfVar22[0x13d] = (pfVar22[0x2d] + pfVar22[0x2f]) * 0.5; + pfStack_101e4 = pfVar23 + 0x3b; + pfVar23[0x13c] = (pfVar23[0x2e] + pfVar23[0x2c]) * 0.5; + pfVar23[0x13d] = (pfVar23[0x2d] + pfVar23[0x2f]) * 0.5; do { - pfVar26 = pfStack_101e4; - pfVar27 = pfStack_101e8; - pfStack_101ec = (float *)pfVar22[0x2f]; - fVar23 = pfVar22[0x2c]; - fVar6 = pfVar22[0x2d]; - fVar34 = pfVar22[0x2e] - fVar23; + pfVar27 = pfStack_101e4; + pfVar28 = pfStack_101e8; + pfStack_101ec = (float *)pfVar23[0x2f]; + fVar24 = pfVar23[0x2c]; + fVar6 = pfVar23[0x2d]; + fVar34 = pfVar23[0x2e] - fVar24; fVar33 = (float)pfStack_101ec - fVar6; fVar35 = fVar34 + fVar34; fVar32 = (fVar33 + fVar33 + fVar35) * ((float)(int)pfStack_101e8 / 10.0); if (fVar34 <= fVar32) { if (fVar33 + fVar34 <= fVar32) { if (fVar33 + fVar35 <= fVar32) { - pfStack_101e4[-1] = fVar23; + pfStack_101e4[-1] = fVar24; *pfStack_101e4 = (((fVar32 - fVar35) - fVar33) / fVar33) * fVar33 + fVar6; pfStack_101e4[-7] = 90.0; } else { *pfStack_101e4 = (float)pfStack_101ec; - pfStack_101e4[-1] = (((fVar32 - fVar34) - fVar33) / fVar34) * fVar34 + fVar23; + pfStack_101e4[-1] = (((fVar32 - fVar34) - fVar33) / fVar34) * fVar34 + fVar24; pfStack_101e4[-7] = 0.0; } } else { - pfStack_101e4[-1] = pfVar22[0x2e]; + pfStack_101e4[-1] = pfVar23[0x2e]; *pfStack_101e4 = ((fVar32 - fVar34) / fVar33) * fVar33 + fVar6; pfStack_101e4[-7] = -90.0; } } else { *pfStack_101e4 = fVar6; - pfStack_101e4[-1] = (fVar32 / fVar34) * fVar34 + fVar23; + pfStack_101e4[-1] = (fVar32 / fVar34) * fVar34 + fVar24; pfStack_101e4[-7] = 180.0; } - RNG::Next(&DAT_00c35e8c); - pfStack_101ec = pfVar26 + -0xb; + RNG::Next((RNG *)&DAT_00c35e8c); + pfStack_101ec = pfVar27 + -0xb; *pfStack_101ec = (float)((uint)DAT_00c35e8c & 1); - if (pfVar26 != (float *)&DAT_0000002c) { - pfVar26 = pfVar26 + -10; + if (pfVar27 != (float *)&DAT_0000002c) { + pfVar27 = pfVar27 + -10; iVar7 = 3; do { FUN_00996e40(); - operator_delete(*pfVar26,0x34); - *pfVar26 = 0.0; - pfVar26 = pfVar26 + 1; + operator_delete(*pfVar27,0x34); + *pfVar27 = 0.0; + pfVar27 = pfVar27 + 1; iVar7 = iVar7 + -1; } while (iVar7 != 0); - pfVar27 = pfStack_101e8; - pfVar26 = pfStack_101e4; + pfVar28 = pfStack_101e8; + pfVar27 = pfStack_101e4; } if (((pfStack_101e0[3] == 1.26117e-44) && (pfStack_101e0[4] == 0.0)) && (*(int *)((int)g_game->_room + 8) == 5)) { grow_vein_branches(); } - pfStack_101e8 = (float *)((int)pfVar27 + 1); - pfStack_101e4 = pfVar26 + 0xd; - pfVar22 = pfStack_101e0; + pfStack_101e8 = (float *)((int)pfVar28 + 1); + pfStack_101e4 = pfVar27 + 0xd; + pfVar23 = pfStack_101e0; } while ((int)pfStack_101e8 < 10); pfStack_101e0[0xd] = 0.0; Color::Reset(); @@ -861322,12 +862841,12 @@ LAB_00993307: } while( true ); LAB_00993141: if ((char)uStack_10230 != '\0') { - if (pfVar22[1] == pfVar22[2]) { - std::vector<44byte>::_Emplace_reallocate(pfVar22[1],&fStack_10258); + if (pfVar23[1] == pfVar23[2]) { + std::vector<44byte>::_Emplace_reallocate(pfVar23[1],&fStack_10258); } else { FXLayerGroup::copy_constructor(); - pfVar22[1] = (float)((int)pfVar22[1] + 0x2c); + pfVar23[1] = (float)((int)pfVar23[1] + 0x2c); } } std::vector::_Tidy(); @@ -861339,7 +862858,7 @@ LAB_00993141: local_14 = (undefined4 ******)CONCAT31(local_14._1_3_,1); std::vector<20byte>::_Tidy(); iStack_10204 = *(int *)(iStack_10204 + 0x2c); - pGVar25 = g_game; + pGVar26 = g_game; goto joined_r0x009925de; } @@ -861961,7 +863480,7 @@ void FXLayers::render_behind_layers(void) uint local_68; int local_64; - iVar6 = DAT_00c79910; + iVar6 = g_graphicsManager_blendMode[4]; iVar5 = g_graphicsManager_blendMode[3]; iVar4 = g_graphicsManager_blendMode[2]; iVar3 = g_graphicsManager_blendMode[1]; @@ -861980,7 +863499,7 @@ void FXLayers::render_behind_layers(void) g_graphicsManager_blendMode[1] = piVar7[1]; g_graphicsManager_blendMode[2] = piVar7[2]; g_graphicsManager_blendMode[3] = piVar7[3]; - DAT_00c79910 = piVar7[4]; + g_graphicsManager_blendMode[4] = piVar7[4]; render_layer(local_68); } iVar9 = *(int *)(in_ECX + 0x18); @@ -861993,7 +863512,7 @@ void FXLayers::render_behind_layers(void) g_graphicsManager_blendMode[1] = iVar3; g_graphicsManager_blendMode[2] = iVar4; g_graphicsManager_blendMode[3] = iVar5; - DAT_00c79910 = iVar6; + g_graphicsManager_blendMode[4] = iVar6; return; } @@ -862019,7 +863538,7 @@ void FXLayers::render_background_layers(void) uint local_68; int local_64; - iVar6 = DAT_00c79910; + iVar6 = g_graphicsManager_blendMode[4]; iVar5 = g_graphicsManager_blendMode[3]; iVar4 = g_graphicsManager_blendMode[2]; iVar3 = g_graphicsManager_blendMode[1]; @@ -862038,7 +863557,7 @@ void FXLayers::render_background_layers(void) g_graphicsManager_blendMode[1] = piVar7[1]; g_graphicsManager_blendMode[2] = piVar7[2]; g_graphicsManager_blendMode[3] = piVar7[3]; - DAT_00c79910 = piVar7[4]; + g_graphicsManager_blendMode[4] = piVar7[4]; render_layer(local_68); } iVar9 = *(int *)(in_ECX + 0x18); @@ -862051,7 +863570,7 @@ void FXLayers::render_background_layers(void) g_graphicsManager_blendMode[1] = iVar3; g_graphicsManager_blendMode[2] = iVar4; g_graphicsManager_blendMode[3] = iVar5; - DAT_00c79910 = iVar6; + g_graphicsManager_blendMode[4] = iVar6; return; } @@ -862176,7 +863695,7 @@ void FXLayers::Render(void) pfVar3 = local_1b0; if (*(char *)(local_1b0 + 2) != '\0') { fVar18 = local_1b0[6]; - local_100 = DAT_00c79910; + local_100 = g_graphicsManager_blendMode[4]; local_1b8 = (float *)0x0; local_d0 = g_graphicsManager_blendMode[0]; iStack_cc = g_graphicsManager_blendMode[1]; @@ -862193,7 +863712,7 @@ void FXLayers::Render(void) g_graphicsManager_blendMode[1] = piVar7[1]; g_graphicsManager_blendMode[2] = piVar7[2]; g_graphicsManager_blendMode[3] = piVar7[3]; - DAT_00c79910 = piVar7[4]; + g_graphicsManager_blendMode[4] = piVar7[4]; render_layer(); } fVar18 = pfVar3[6]; @@ -862209,7 +863728,7 @@ void FXLayers::Render(void) } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; fVar18 = (float)(int)pfVar3[0xd]; if ((int)pfVar3[0xd] < 0x97) { local_1ac = fVar18 / 150.0; @@ -862311,7 +863830,7 @@ void FXLayers::Render(void) g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[2] = 1; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 1; + g_graphicsManager_blendMode[4] = 1; pvVar2 = g_game->_room; piStack_1a0 = (int *)((g_game->_screenShakeOffset).y + *(float *)((int)pvVar2 + 0x1208)); local_1b8 = (float *)(g_displayPixelRatio * g_screenPointScale); @@ -862546,7 +864065,7 @@ void FXLayers::Render(void) g_graphicsManager_blendMode[1] = iStack_cc; g_graphicsManager_blendMode[2] = iStack_c8; g_graphicsManager_blendMode[3] = iStack_c4; - DAT_00c79910 = local_100; + g_graphicsManager_blendMode[4] = local_100; bVar1 = 0x4b; do { pcVar17 = pcVar17 + 1; @@ -862755,7 +864274,7 @@ void FXLayers::render_underwater_layers(void) } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; iVar5 = *(int *)(in_ECX + 0x18); local_18 = g_game->_room; local_14 = 0; @@ -862857,7 +864376,7 @@ void FXLayers::render_overlay_layers(void) uint local_68; int local_64; - iVar6 = DAT_00c79910; + iVar6 = g_graphicsManager_blendMode[4]; iVar5 = g_graphicsManager_blendMode[3]; iVar4 = g_graphicsManager_blendMode[2]; iVar3 = g_graphicsManager_blendMode[1]; @@ -862876,7 +864395,7 @@ void FXLayers::render_overlay_layers(void) g_graphicsManager_blendMode[1] = piVar7[1]; g_graphicsManager_blendMode[2] = piVar7[2]; g_graphicsManager_blendMode[3] = piVar7[3]; - DAT_00c79910 = piVar7[4]; + g_graphicsManager_blendMode[4] = piVar7[4]; render_layer(local_68); } iVar9 = *(int *)(in_ECX + 0x18); @@ -862889,7 +864408,7 @@ void FXLayers::render_overlay_layers(void) g_graphicsManager_blendMode[1] = iVar3; g_graphicsManager_blendMode[2] = iVar4; g_graphicsManager_blendMode[3] = iVar5; - DAT_00c79910 = iVar6; + g_graphicsManager_blendMode[4] = iVar6; return; } @@ -862991,9 +864510,9 @@ void __thiscall Game::start_poop_cloud_screen_effect(Game *this,undefined4 *para *(undefined4 *)&this->_roomList[0].field_0x98 = param_2[10]; } pGVar6 = g_game; - iVar2 = *(int *)&this->_roomList[0].field_0x20; + iVar2 = this->_roomList[0]._doors[1]; if (iVar2 < 1) { - *(undefined4 *)&this->_roomList[0].field_0x20 = 0xb4; + this->_roomList[0]._doors[1] = 0xb4; *(undefined1 *)((int)&this->_roomList[0].SpawnSeed + 1) = 0; this->_roomList[0].DisplayFlags = 3; this->_roomList[0].VisitedCount = 0x3dcccccd; @@ -863008,7 +864527,7 @@ void __thiscall Game::start_poop_cloud_screen_effect(Game *this,undefined4 *para } local_24 = 7; puVar7 = local_38 + 0x34; - if (*(int *)&this->_roomList[0].field_0x28 == 0) { + if (this->_roomList[0]._doors[3] == 0) { uVar10 = Manager::LoadImage(local_38,"gfx/backdrop/pooclouds.png"); local_14 = 0; KAGE::SmartPointer::operator_assign(uVar10); @@ -863020,9 +864539,9 @@ void __thiscall Game::start_poop_cloud_screen_effect(Game *this,undefined4 *para } } local_14 = 0xffffffff; - local_30 = *(int **)&this->_roomList[0].field_0x28; + local_30 = (int *)this->_roomList[0]._doors[3]; if (local_30 == (int *)0x0) { - *(undefined4 *)&this->_roomList[0].field_0x20 = 0; + this->_roomList[0]._doors[1] = 0; /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"[warn] failed to load pooclouds.png\n",uVar9); } @@ -863047,7 +864566,7 @@ void __thiscall Game::start_poop_cloud_screen_effect(Game *this,undefined4 *para uVar11 = uVar11 << 9 ^ uVar11; bVar12 = (byte)local_24; uVar11 = uVar11 >> (bVar12 & 0x1f) ^ uVar11; - *(float *)(*(int *)&this->_roomList[0].field_0x30 + 8 + local_28) = + *(float *)(this->_roomList[0]._doors[5] + 8 + local_28) = (float)((double)(int)uVar11 + __uint_to_double_fixup[-((int)uVar11 >> 0x1f)]) * 2.3283062e-10 * ((float)this->_roomList[0].Flags - (float)this->_roomList[0].VisitedCount) + @@ -863059,7 +864578,7 @@ void __thiscall Game::start_poop_cloud_screen_effect(Game *this,undefined4 *para uVar11 = uVar11 >> 5 ^ uVar11; uVar11 = uVar11 << 9 ^ uVar11; uVar11 = uVar11 >> (bVar12 & 0x1f) ^ uVar11; - *(float *)(*(int *)&this->_roomList[0].field_0x30 + 0xc + local_28) = + *(float *)(this->_roomList[0]._doors[5] + 0xc + local_28) = ((float)this->_roomList[0].GreedSubType - *(float *)&this->_roomList[0].TotalMoneySpent ) * (float)((double)(int)uVar11 + __uint_to_double_fixup[-((int)uVar11 >> 0x1f)]) * 2.3283062e-10 + *(float *)&this->_roomList[0].TotalMoneySpent; @@ -863070,8 +864589,8 @@ void __thiscall Game::start_poop_cloud_screen_effect(Game *this,undefined4 *para uVar11 = uVar11 >> 5 ^ uVar11; uVar11 = uVar11 << 9 ^ uVar11; local_2c = uVar11 >> (bVar12 & 0x1f) ^ uVar11; - iVar2 = *(int *)(*(int *)&this->_roomList[0].field_0x28 + 0x10); - *(float *)(local_28 + *(int *)&this->_roomList[0].field_0x30) = + iVar2 = *(int *)(this->_roomList[0]._doors[3] + 0x10); + *(float *)(local_28 + this->_roomList[0]._doors[5]) = (float)((double)iVar2 + __uint_to_double_fixup[-(iVar2 >> 0x1f)]) * (float)((double)(int)local_2c + __uint_to_double_fixup[-((int)local_2c >> 0x1f)]) * 2.3283062e-10; @@ -863082,8 +864601,8 @@ void __thiscall Game::start_poop_cloud_screen_effect(Game *this,undefined4 *para local_2c = local_2c >> 5 ^ local_2c; local_2c = local_2c << 9 ^ local_2c; local_2c = local_2c >> (bVar12 & 0x1f) ^ local_2c; - iVar2 = *(int *)(*(int *)&this->_roomList[0].field_0x28 + 0x14); - *(float *)(*(int *)&this->_roomList[0].field_0x30 + 4 + local_28) = + iVar2 = *(int *)(this->_roomList[0]._doors[3] + 0x14); + *(float *)(this->_roomList[0]._doors[5] + 4 + local_28) = (float)((double)iVar2 + __uint_to_double_fixup[-(iVar2 >> 0x1f)]) * (float)((double)(int)local_2c + __uint_to_double_fixup[-((int)local_2c >> 0x1f)]) * 2.3283062e-10; @@ -863094,7 +864613,7 @@ void __thiscall Game::start_poop_cloud_screen_effect(Game *this,undefined4 *para uVar11 = local_2c >> 5 ^ local_2c; uVar11 = uVar11 << 9 ^ uVar11; uVar11 = uVar11 >> (bVar12 & 0x1f) ^ uVar11; - *(bool *)(*(int *)&this->_roomList[0].field_0x30 + 0x10 + local_28) = + *(bool *)(this->_roomList[0]._doors[5] + 0x10 + local_28) = (float)((double)(int)uVar11 + __uint_to_double_fixup[-((int)uVar11 >> 0x1f)]) * 2.3283062e-10 < 0.5; if (uVar11 == 0) { @@ -863104,7 +864623,7 @@ void __thiscall Game::start_poop_cloud_screen_effect(Game *this,undefined4 *para uVar11 = uVar11 >> 5 ^ uVar11; uVar11 = uVar11 << 9 ^ uVar11; uVar11 = uVar11 >> (bVar12 & 0x1f) ^ uVar11; - *(bool *)(*(int *)&this->_roomList[0].field_0x30 + 0x11 + local_28) = + *(bool *)(this->_roomList[0]._doors[5] + 0x11 + local_28) = (float)((double)(int)uVar11 + __uint_to_double_fixup[-((int)uVar11 >> 0x1f)]) * 2.3283062e-10 < 0.5; local_28 = local_28 + 0x14; @@ -863113,7 +864632,7 @@ void __thiscall Game::start_poop_cloud_screen_effect(Game *this,undefined4 *para } } else if (iVar2 < 0x96) { - *(int *)&this->_roomList[0].field_0x20 = (int)(180.0 - (((float)iVar2 - 0.0) / 150.0) * 30.0); + this->_roomList[0]._doors[1] = (int)(180.0 - (((float)iVar2 - 0.0) / 150.0) * 30.0); } ExceptionList = local_1c; return; @@ -864611,7 +866130,7 @@ void FUN_00998240(undefined4 *param_1,undefined4 param_2) undefined4 local_10; undefined1 local_c; - FUN_00998550(&local_10,param_2); + std::map::insert(&local_10,param_2); *param_1 = local_10; *(undefined1 *)(param_1 + 1) = local_c; return; @@ -864829,9 +866348,13 @@ void FUN_00998540(void) } -//@@ 00998550 FUN_00998550 +//@@ 00998550 std::map::insert -int * FUN_00998550(int *param_1,undefined4 *param_2) +/* DB: ? builds a 0x2c-byte tree node (std::string key at +0x10, int value at +0x28) for the global + map head DAT_00c94320, lower_bound (00998270) + string_compare, insert/rebalance; only caller + FUN_00998240 */ + +int * std::map::insert(int *param_1,undefined4 *param_2) { int *piVar1; @@ -864877,14 +866400,14 @@ int * FUN_00998550(int *param_1,undefined4 *param_2) pcVar11 = pcVar11 + 1; } while (cVar2 != '\0'); local_18 = piVar7; - std::string::assign(pcVar3,(int)pcVar11 - (int)(pcVar3 + 1)); + string::assign(pcVar3,(int)pcVar11 - (int)(pcVar3 + 1)); piVar7[10] = param_2[1]; *piVar7 = (int)local_14; piVar7[1] = (int)local_14; piVar7[2] = (int)local_14; *(undefined2 *)(piVar7 + 3) = 0; local_8 = 2; - puVar8 = (undefined8 *)std::map::lower_bound(local_34,piVar1); + puVar8 = (undefined8 *)lower_bound(local_34,piVar1); local_28 = *puVar8; iVar4 = *(int *)(puVar8 + 1); if (*(char *)(iVar4 + 0xd) == '\0') { @@ -865560,13 +867083,11 @@ LAB_0099978e: } -//@@ 009997c0 DeathScreen::Show +//@@ 009997c0 GameOver::Show -/* DB: ? called once from Game::End: this[0]=2 state, +0x11c=1, loads gfx/ui/Death Screen.anm2 and - gfx/ui/DeedsDeathScreen.anm2, "Diary" anim, logs "Game Over. Killed by (%d.%d) spawned by (%d.%d) - damage flags (%d)" */ +/* DB: ECX = Game+0x1d520 (Game::_gameOver) (was DeathScreen::Show) */ -void DeathScreen::Show(void) +void GameOver::Show(void) { char cVar1; @@ -865593,7 +867114,7 @@ void DeathScreen::Show(void) local_10 = ExceptionList; local_14 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; - if (*(int *)&g_game->_pauseScreen != 0) { + if ((g_game->_pauseScreen)._state != 0) { PopupWindow::hide(local_14); } *in_ECX = 2; @@ -865720,15 +867241,19 @@ code_r0x009999d4: } -//@@ 0099a300 FUN_0099a300 +//@@ 0099a300 GameOver::render_collectible_icon /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ECX = Game+0x1d520 (= Game::_gameOver, db/fields.tsv) from Entity_Familiar::Render (625ebe + lea ecx,[ecx+0x1d520]); param_1 collectible id (<0x2dd), lazy-loads gfx/ui/Death Screen.anm2 + "Diary" into ANM2 +8, copies the item texture into layer 6 and Sprite::RenderLayer(6) at + pos/scale/color */ -void FUN_0099a300(uint param_1,Vector *param_2,ColorMod *param_3,Vector *param_4,undefined4 *param_5 - ) +void GameOver::render_collectible_icon + (uint param_1,Vector *param_2,ColorMod *param_3,Vector *param_4,int *param_5) { - undefined1 *puVar1; + ColorMod *pCVar1; int iVar2; float fVar3; float fVar4; @@ -865742,17 +867267,17 @@ void FUN_0099a300(uint param_1,Vector *param_2,ColorMod *param_3,Vector *param_4 ANM2 *this; undefined1 auStack_be [2]; int local_b4 [11]; - undefined4 local_88; - undefined4 uStack_84; - undefined4 uStack_80; - undefined4 uStack_7c; - undefined4 local_78; - undefined4 uStack_74; - undefined4 uStack_70; - undefined4 uStack_6c; + float local_88; + float fStack_84; + float fStack_80; + float fStack_7c; + float local_78; + float fStack_74; + float fStack_70; + float fStack_6c; undefined8 local_68; - undefined4 local_60; - undefined4 local_5c; + int local_60; + float local_5c; float local_58; float local_54; float local_50; @@ -865763,7 +867288,7 @@ void FUN_0099a300(uint param_1,Vector *param_2,ColorMod *param_3,Vector *param_4 Vector *local_3c; int local_38; uint local_34; - undefined4 *local_30; + int *local_30; std_string local_2c; uint local_14; void *local_10; @@ -865815,74 +867340,63 @@ void FUN_0099a300(uint param_1,Vector *param_2,ColorMod *param_3,Vector *param_4 uVar10 = local_34; pLVar8 = ANM2::GetLayer((ANM2 *)(in_ECX + 8),&DAT_00000006); iVar2 = local_38; - local_5c = *(undefined4 *)&pLVar8->field_0x70; - puVar1 = &pLVar8->field_0x48; + local_5c = (pLVar8->_color)._offset[2]; + pCVar1 = &pLVar8->_color; local_48 = (pLVar8->_pos).x; - local_60 = *(undefined4 *)&pLVar8->field_0x88; + local_60 = pLVar8->_blendMode[4]; local_4c = (pLVar8->_pos).y; local_50 = pLVar8->_rotation; local_54 = (pLVar8->_size).x; local_58 = (pLVar8->_size).y; - local_78 = *(undefined4 *)puVar1; - uStack_74 = *(undefined4 *)&pLVar8->field_0x4c; - uStack_70 = *(undefined4 *)&pLVar8->field_0x50; - uStack_6c = *(undefined4 *)&pLVar8->field_0x54; - local_88 = *(undefined4 *)&pLVar8->field_0x58; - uStack_84 = *(undefined4 *)&pLVar8->field_0x5c; - uStack_80 = *(undefined4 *)&pLVar8->field_0x60; - uStack_7c = *(undefined4 *)&pLVar8->field_0x64; - local_68 = *(undefined8 *)&pLVar8->field_0x68; - local_2c._buf[4] = pLVar8->field_0x78; - local_2c._buf[5] = pLVar8->field_0x79; - local_2c._buf[6] = pLVar8->field_0x7a; - local_2c._buf[7] = pLVar8->field_0x7b; - local_2c._buf[8] = pLVar8->field_0x7c; - local_2c._buf[9] = pLVar8->field_0x7d; - local_2c._buf[10] = pLVar8->field_0x7e; - local_2c._buf[0xb] = pLVar8->field_0x7f; - local_2c._buf[0xc] = pLVar8->field_0x80; - local_2c._buf[0xd] = pLVar8->field_0x81; - local_2c._buf[0xe] = pLVar8->field_0x82; - local_2c._buf[0xf] = pLVar8->field_0x83; - local_2c._size = *(uint *)&pLVar8->field_0x84; + local_78 = pCVar1->_tint[0]; + fStack_74 = (pLVar8->_color)._tint[1]; + fStack_70 = (pLVar8->_color)._tint[2]; + fStack_6c = (pLVar8->_color)._tint[3]; + local_88 = (pLVar8->_color)._colorize[0]; + fStack_84 = (pLVar8->_color)._colorize[1]; + fStack_80 = (pLVar8->_color)._colorize[2]; + fStack_7c = (pLVar8->_color)._colorize[3]; + local_68 = *(undefined8 *)(pLVar8->_color)._offset; + local_2c._buf._4_4_ = pLVar8->_blendMode[0]; + local_2c._buf._8_4_ = pLVar8->_blendMode[1]; + local_2c._buf._12_4_ = pLVar8->_blendMode[2]; + local_2c._size = pLVar8->_blendMode[3]; (pLVar8->_pos).x = 84.0; (pLVar8->_pos).y = -20.0; pLVar8->_rotation = 0.0; (pLVar8->_size).x = param_4->x; (pLVar8->_size).y = param_4->y; - if ((ColorMod *)puVar1 != local_40) { + if (pCVar1 != local_40) { fVar3 = local_40->_tint[1]; fVar4 = local_40->_tint[2]; fVar5 = local_40->_tint[3]; - *(float *)puVar1 = local_40->_tint[0]; - *(float *)&pLVar8->field_0x4c = fVar3; - *(float *)&pLVar8->field_0x50 = fVar4; - *(float *)&pLVar8->field_0x54 = fVar5; + pCVar1->_tint[0] = local_40->_tint[0]; + (pLVar8->_color)._tint[1] = fVar3; + (pLVar8->_color)._tint[2] = fVar4; + (pLVar8->_color)._tint[3] = fVar5; fVar3 = local_40->_colorize[1]; fVar4 = local_40->_colorize[2]; fVar5 = local_40->_colorize[3]; - *(float *)&pLVar8->field_0x58 = local_40->_colorize[0]; - *(float *)&pLVar8->field_0x5c = fVar3; - *(float *)&pLVar8->field_0x60 = fVar4; - *(float *)&pLVar8->field_0x64 = fVar5; - fVar3 = local_40->_offset[1]; - *(float *)&pLVar8->field_0x68 = local_40->_offset[0]; - *(float *)&pLVar8->field_0x6c = fVar3; - *(float *)&pLVar8->field_0x70 = local_40->_offset[2]; + (pLVar8->_color)._colorize[0] = local_40->_colorize[0]; + (pLVar8->_color)._colorize[1] = fVar3; + (pLVar8->_color)._colorize[2] = fVar4; + (pLVar8->_color)._colorize[3] = fVar5; + *(undefined8 *)(pLVar8->_color)._offset = *(undefined8 *)local_40->_offset; + (pLVar8->_color)._offset[2] = local_40->_offset[2]; } - *(undefined4 *)&pLVar8->field_0x78 = *local_30; - *(undefined4 *)&pLVar8->field_0x7c = local_30[1]; - *(undefined4 *)&pLVar8->field_0x80 = local_30[2]; - *(undefined4 *)&pLVar8->field_0x84 = local_30[3]; - *(undefined4 *)&pLVar8->field_0x88 = local_30[4]; + pLVar8->_blendMode[0] = *local_30; + pLVar8->_blendMode[1] = local_30[1]; + pLVar8->_blendMode[2] = local_30[2]; + pLVar8->_blendMode[3] = local_30[3]; + pLVar8->_blendMode[4] = local_30[4]; if ((int)uVar10 < 0) { - ANM2::GetLayer((ANM2 *)(local_38 + 8),&DAT_00000006); - LayerState::GetTexture(); + pLVar9 = ANM2::GetLayer((ANM2 *)(local_38 + 8),&DAT_00000006); + LayerState::GetTexture(pLVar9); local_8 = 1; - ANM2::GetLayer((ANM2 *)(iVar2 + 8),&DAT_00000006); - local_30 = (undefined4 *)(auStack_be + -10); - KAGE::SmartPointer::operator_assign(&g_game->field_0x6776c); - LayerState::SetTexture(); + pLVar9 = ANM2::GetLayer((ANM2 *)(iVar2 + 8),&DAT_00000006); + local_30 = (int *)(auStack_be + -10); + KAGE::SmartPointer::operator_assign(&(g_game->_proceduralItemManager).field_0x14); + LayerState::SetTexture(pLVar9); uVar10 = ~local_34; pLVar9 = ANM2::GetLayer((ANM2 *)(local_38 + 8),&DAT_00000006); (pLVar9->_cropOffset).x = (float)(uVar10 & 0x1f) * 16.0; @@ -865893,7 +867407,7 @@ void FUN_0099a300(uint param_1,Vector *param_2,ColorMod *param_3,Vector *param_4 KAGE_LogMessage(); } iVar2 = *(int *)(local_38 + 0x3c); - local_30 = *(undefined4 **)(iVar2 + 0x50); + local_30 = *(int **)(iVar2 + 0x50); if (((iVar2 == 0) || ((int)local_30 < 0)) || (*(int *)(iVar2 + 0x1c) <= (int)local_30)) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); @@ -865906,9 +867420,9 @@ void FUN_0099a300(uint param_1,Vector *param_2,ColorMod *param_3,Vector *param_4 pLVar9 = ANM2::GetLayer(this,&DAT_00000006); (pLVar9->_cropOffset).x = g_vectorZero.x; (pLVar9->_cropOffset).y = g_vectorZero.y; - ANM2::GetLayer(this,&DAT_00000006); + pLVar9 = ANM2::GetLayer(this,&DAT_00000006); KAGE::SmartPointer::operator_assign(local_44); - LayerState::SetTexture(); + LayerState::SetTexture(pLVar9); local_8 = 2; if (((local_40 != (ColorMod *)0x0) && (cVar7 = (**(code **)((int)local_40->_tint[0] + 0xc))(), cVar7 != '\0')) && @@ -865924,7 +867438,7 @@ void FUN_0099a300(uint param_1,Vector *param_2,ColorMod *param_3,Vector *param_4 KAGE_LogMessage(); } iVar2 = *(int *)(local_38 + 0x3c); - local_30 = *(undefined4 **)(iVar2 + 0x50); + local_30 = *(int **)(iVar2 + 0x50); if (((iVar2 == 0) || ((int)local_30 < 0)) || (*(int *)(iVar2 + 0x1c) <= (int)local_30)) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); @@ -865939,32 +867453,23 @@ void FUN_0099a300(uint param_1,Vector *param_2,ColorMod *param_3,Vector *param_4 pLVar8->_rotation = local_50; (pLVar8->_size).x = local_54; (pLVar8->_size).y = local_58; - if ((int *)&pLVar8->field_0x48 != local_b4) { - *(undefined4 *)&pLVar8->field_0x48 = local_78; - *(undefined4 *)&pLVar8->field_0x4c = uStack_74; - *(undefined4 *)&pLVar8->field_0x50 = uStack_70; - *(undefined4 *)&pLVar8->field_0x54 = uStack_6c; - *(undefined4 *)&pLVar8->field_0x58 = local_88; - *(undefined4 *)&pLVar8->field_0x5c = uStack_84; - *(undefined4 *)&pLVar8->field_0x60 = uStack_80; - *(undefined4 *)&pLVar8->field_0x64 = uStack_7c; - *(undefined8 *)&pLVar8->field_0x68 = local_68; - *(undefined4 *)&pLVar8->field_0x70 = local_5c; + if (&pLVar8->_color != (ColorMod *)local_b4) { + (pLVar8->_color)._tint[0] = local_78; + (pLVar8->_color)._tint[1] = fStack_74; + (pLVar8->_color)._tint[2] = fStack_70; + (pLVar8->_color)._tint[3] = fStack_6c; + (pLVar8->_color)._colorize[0] = local_88; + (pLVar8->_color)._colorize[1] = fStack_84; + (pLVar8->_color)._colorize[2] = fStack_80; + (pLVar8->_color)._colorize[3] = fStack_7c; + *(undefined8 *)(pLVar8->_color)._offset = local_68; + (pLVar8->_color)._offset[2] = local_5c; } - pLVar8->field_0x78 = local_2c._buf[4]; - pLVar8->field_0x79 = local_2c._buf[5]; - pLVar8->field_0x7a = local_2c._buf[6]; - pLVar8->field_0x7b = local_2c._buf[7]; - pLVar8->field_0x7c = local_2c._buf[8]; - pLVar8->field_0x7d = local_2c._buf[9]; - pLVar8->field_0x7e = local_2c._buf[10]; - pLVar8->field_0x7f = local_2c._buf[0xb]; - pLVar8->field_0x80 = local_2c._buf[0xc]; - pLVar8->field_0x81 = local_2c._buf[0xd]; - pLVar8->field_0x82 = local_2c._buf[0xe]; - pLVar8->field_0x83 = local_2c._buf[0xf]; - *(uint *)&pLVar8->field_0x84 = local_2c._size; - *(undefined4 *)&pLVar8->field_0x88 = local_60; + pLVar8->_blendMode[0] = local_2c._buf._4_4_; + pLVar8->_blendMode[1] = local_2c._buf._8_4_; + pLVar8->_blendMode[2] = local_2c._buf._12_4_; + pLVar8->_blendMode[3] = local_2c._size; + pLVar8->_blendMode[4] = local_60; } else { ModManager::RenderCustomCollectionItem @@ -866000,8 +867505,8 @@ void FUN_0099a830(void) (pGVar2->_fadeOutColor)._unk = 0; (pGVar2->_fadeOutColor)._alpha = (pGVar2->_fadeOutColor)._alpha + 0.08; pMVar3 = g_manager; - *(undefined4 *)&g_manager->field_0x4aa68 = 0x42c00000; - *(undefined4 *)&pMVar3->field_0x4ab98 = 0x42c00000; + (g_manager->_popupButtons)._buttons[0]._targetSlideOffset = 96.0; + (pMVar3->_popupButtons)._buttons[1]._targetSlideOffset = 96.0; return; } @@ -866194,18 +867699,15 @@ void __thiscall GridEntity_Decoration::BeginBatches(GridEntity_Decoration *this) std_string *psVar6; std_string *psVar7; byte *pbVar8; - uint uVar9; - char *pcVar10; - uint uVar11; - int iVar12; - GridEntity_Decoration *pGVar13; - RNG RVar14; - bool bVar15; + char *pcVar9; + uint uVar10; + int iVar11; + GridEntity_Decoration *pGVar12; + uint uVar13; + bool bVar14; RNG local_90; - undefined8 local_8c; - undefined4 local_84; int local_80; - RNG local_7c; + uint local_7c; std_string *local_78; undefined4 local_74; GridEntity_Decoration *local_70; @@ -866232,23 +867734,24 @@ void __thiscall GridEntity_Decoration::BeginBatches(GridEntity_Decoration *this) return; } if ((g_game->_difficulty == 2) || (g_game->_difficulty == 3)) { - bVar15 = true; + bVar14 = true; } else { - bVar15 = false; + bVar14 = false; } pvVar2 = g_game->_room; local_6c = *(int *)((int)pvVar2 + 0x1d18); - iVar12 = 0; + iVar11 = 0; if (*(int *)((int)pvVar2 + 4) != 0) { - iVar12 = *(int *)(*(int *)((int)pvVar2 + 4) + 0x58); + iVar11 = *(int *)(*(int *)((int)pvVar2 + 4) + 0x58); } - RVar14 = (RNG)(this->_gridIndex + iVar12); - local_8c = 0x900000005; + uVar13 = this->_gridIndex + iVar11; + local_90._shift1 = 5; + local_90._shift2 = 9; local_74 = 7; - local_84 = 7; + local_90._shift3 = 7; ExceptionList = &local_10; - local_90 = RVar14; + local_90._seed = uVar13; local_70 = this; if (*(int *)((int)pvVar2 + 8) == 0x10) { local_2c._size = 0; @@ -866266,17 +867769,17 @@ void __thiscall GridEntity_Decoration::BeginBatches(GridEntity_Decoration *this) ANM2::Load(&this->_sprite,&local_2c,1); local_8 = 0xffffffff; if (0xf < local_2c._capacity) { - uVar9 = local_2c._capacity + 1; - pcVar10 = (char *)local_2c._buf._0_4_; - if (0xfff < uVar9) { - pcVar10 = *(char **)(local_2c._buf._0_4_ + -4); - uVar9 = local_2c._capacity + 0x24; - if ((char *)0x1f < (char *)(local_2c._buf._0_4_ + (-4 - (int)pcVar10))) { + uVar13 = local_2c._capacity + 1; + pcVar9 = (char *)local_2c._buf._0_4_; + if (0xfff < uVar13) { + pcVar9 = *(char **)(local_2c._buf._0_4_ + -4); + uVar13 = local_2c._capacity + 0x24; + if ((char *)0x1f < (char *)(local_2c._buf._0_4_ + (-4 - (int)pcVar9))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pcVar10,uVar9); + operator_delete(pcVar9,uVar13); } iVar4 = (this->_desc)._variant; if (iVar4 == 10) { @@ -866318,14 +867821,14 @@ void __thiscall GridEntity_Decoration::BeginBatches(GridEntity_Decoration *this) ANM2::Load(&this->_sprite,&local_2c,1); local_8 = 0xffffffff; if (0xf < local_2c._capacity) { - uVar9 = local_2c._capacity + 1; + uVar13 = local_2c._capacity + 1; psVar6 = (std_string *)local_2c._buf._0_4_; - if (0xfff < uVar9) { + if (0xfff < uVar13) { psVar6 = (std_string *)((std_string *)(local_2c._buf._0_4_ + -0x18))->_capacity; - uVar9 = local_2c._capacity + 0x24; + uVar13 = local_2c._capacity + 0x24; if (0x1f < (uint)(local_2c._buf._0_4_ + (-4 - (int)psVar6))) goto LAB_0099af04; } - operator_delete(psVar6,uVar9); + operator_delete(psVar6,uVar13); } iVar4 = (this->_desc)._variant; if (iVar4 == 10) { @@ -866344,7 +867847,7 @@ void __thiscall GridEntity_Decoration::BeginBatches(GridEntity_Decoration *this) ExceptionList = local_10; return; } - if ((bVar15) && ((iVar4 == 10 || (local_6c == 0x14)))) { + if ((bVar14) && ((iVar4 == 10 || (local_6c == 0x14)))) { local_2c._size = 0; local_2c._capacity = 0xf; local_2c._buf[0] = '\0'; @@ -866362,17 +867865,17 @@ void __thiscall GridEntity_Decoration::BeginBatches(GridEntity_Decoration *this) ANM2::Load(&this->_sprite,&local_2c,1); local_8 = 0xffffffff; if (0xf < local_2c._capacity) { - uVar9 = local_2c._capacity + 1; + uVar13 = local_2c._capacity + 1; psVar6 = (std_string *)local_2c._buf._0_4_; - if (0xfff < uVar9) { + if (0xfff < uVar13) { psVar6 = (std_string *)((std_string *)(local_2c._buf._0_4_ + -0x18))->_capacity; - uVar9 = local_2c._capacity + 0x24; + uVar13 = local_2c._capacity + 0x24; if (0x1f < (uint)(local_2c._buf._0_4_ + (-4 - (int)psVar6))) goto LAB_0099af04; } - operator_delete(psVar6,uVar9); + operator_delete(psVar6,uVar13); } - uVar9 = RNG::Next(&local_90); - Sprite::PlayRandom(uVar9); + uVar13 = RNG::Next(&local_90); + Sprite::PlayRandom(uVar13); ExceptionList = local_10; return; } @@ -866382,27 +867885,27 @@ void __thiscall GridEntity_Decoration::BeginBatches(GridEntity_Decoration *this) bVar3 = Seeds::HasSeedEffect(&g_game->_seedEffects,0x4f); if ((bVar3 != 0) && ((((iVar4 == 3 || (iVar4 == 4)) || (iVar4 == 0xb)) || - ((1 < iVar4 && (RVar14 == (RNG)(((uint)RVar14 / 5) * 5))))))) { + ((1 < iVar4 && (uVar13 == (uVar13 / 5) * 5)))))) { std::string::assign("gfx/promo/gfuel/grid/props_gfuel.anm2",0x25); } - pGVar13 = local_70; + pGVar12 = local_70; if (local_44._size != 0) { ANM2::Load(&local_70->_sprite,&local_44,1); local_80 = 0x14; LAB_0099b160: iVar4 = local_80 + -1; - bVar15 = 0 < local_80; + bVar14 = 0 < local_80; local_80 = iVar4; - if (bVar15) { - if (RVar14 == (RNG)0x0) { + if (bVar14) { + if (uVar13 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)RVar14 >> ((byte)local_8c & 0x1f) ^ (uint)RVar14; - uVar9 = uVar9 << ((byte)((ulonglong)local_8c >> 0x20) & 0x1f) ^ uVar9; - local_7c = (RNG)(uVar9 >> ((byte)local_74 & 0x1f) ^ uVar9); + uVar13 = uVar13 >> ((byte)local_90._shift1 & 0x1f) ^ uVar13; + uVar13 = uVar13 << ((byte)local_90._shift2 & 0x1f) ^ uVar13; + local_7c = uVar13 >> ((byte)local_74 & 0x1f) ^ uVar13; Sprite::PlayRandom(local_7c); - pvVar2 = (pGVar13->_sprite)._animState._animData; + pvVar2 = (pGVar12->_sprite)._animState._animData; if (pvVar2 == (void *)0x0) { local_2c._capacity = 0xf; local_2c._buf._0_4_ = (std_string *)0x0; @@ -866424,28 +867927,27 @@ LAB_0099b160: psVar6 = (std_string *)(local_64->_buf + iVar4); do { if (psVar6->_buf[0] == 'C') { - pcVar10 = "Caves"; + pcVar9 = "Caves"; iVar4 = 1; psVar7 = psVar6; if (*(int *)psVar6->_buf == 0x65766143) { psVar7 = (std_string *)(psVar6->_buf + 4); iVar4 = -3; - pcVar10 = "s"; + pcVar9 = "s"; } - bVar15 = (byte)psVar7->_buf[0] < (byte)*pcVar10; - if ((psVar7->_buf[0] == *pcVar10) && + bVar14 = (byte)psVar7->_buf[0] < (byte)*pcVar9; + if ((psVar7->_buf[0] == *pcVar9) && ((iVar4 == -3 || - (((bVar15 = (byte)psVar7->_buf[1] < (byte)pcVar10[1], psVar7->_buf[1] == pcVar10[1] - && (bVar15 = (byte)psVar7->_buf[2] < (byte)pcVar10[2], - psVar7->_buf[2] == pcVar10[2])) && - (bVar15 = (byte)psVar7->_buf[3] < (byte)pcVar10[3], psVar7->_buf[3] == pcVar10[3])) - )))) { - uVar9 = 0; + (((bVar14 = (byte)psVar7->_buf[1] < (byte)pcVar9[1], psVar7->_buf[1] == pcVar9[1] && + (bVar14 = (byte)psVar7->_buf[2] < (byte)pcVar9[2], psVar7->_buf[2] == pcVar9[2])) + && (bVar14 = (byte)psVar7->_buf[3] < (byte)pcVar9[3], psVar7->_buf[3] == pcVar9[3]) + ))))) { + uVar13 = 0; } else { - uVar9 = -(uint)bVar15 | 1; + uVar13 = -(uint)bVar14 | 1; } - if (uVar9 == 0) { + if (uVar13 == 0) { if (((int)psVar6 - (int)local_64 != -1) && (local_6c != 4)) goto LAB_0099b501; break; } @@ -866466,30 +867968,29 @@ LAB_0099b160: psVar6 = (std_string *)(local_64->_buf + iVar4); do { if (psVar6->_buf[0] == 'C') { - pcVar10 = "Catacombs"; - uVar9 = 5; + pcVar9 = "Catacombs"; + uVar13 = 5; psVar7 = psVar6; do { - if (*(int *)psVar7->_buf != *(int *)pcVar10) break; + if (*(int *)psVar7->_buf != *(int *)pcVar9) break; psVar7 = (std_string *)(psVar7->_buf + 4); - pcVar10 = pcVar10 + 4; - bVar15 = 3 < uVar9; - uVar9 = uVar9 - 4; - } while (bVar15); - bVar15 = (byte)psVar7->_buf[0] < (byte)*pcVar10; - if ((psVar7->_buf[0] == *pcVar10) && - ((uVar9 == 0xfffffffd || - (((bVar15 = (byte)psVar7->_buf[1] < (byte)pcVar10[1], psVar7->_buf[1] == pcVar10[1] - && (bVar15 = (byte)psVar7->_buf[2] < (byte)pcVar10[2], - psVar7->_buf[2] == pcVar10[2])) && - (bVar15 = (byte)psVar7->_buf[3] < (byte)pcVar10[3], psVar7->_buf[3] == pcVar10[3])) - )))) { - uVar9 = 0; + pcVar9 = pcVar9 + 4; + bVar14 = 3 < uVar13; + uVar13 = uVar13 - 4; + } while (bVar14); + bVar14 = (byte)psVar7->_buf[0] < (byte)*pcVar9; + if ((psVar7->_buf[0] == *pcVar9) && + ((uVar13 == 0xfffffffd || + (((bVar14 = (byte)psVar7->_buf[1] < (byte)pcVar9[1], psVar7->_buf[1] == pcVar9[1] && + (bVar14 = (byte)psVar7->_buf[2] < (byte)pcVar9[2], psVar7->_buf[2] == pcVar9[2])) + && (bVar14 = (byte)psVar7->_buf[3] < (byte)pcVar9[3], psVar7->_buf[3] == pcVar9[3]) + ))))) { + uVar13 = 0; } else { - uVar9 = -(uint)bVar15 | 1; + uVar13 = -(uint)bVar14 | 1; } - if (uVar9 == 0) { + if (uVar13 == 0) { if (((int)psVar6 - (int)local_64 != -1) && (local_6c != 5)) goto LAB_0099b501; break; } @@ -866506,26 +868007,26 @@ LAB_0099b160: local_64 = (std_string *)(local_78->_buf + (local_2c._size - 5)); for (pbVar5 = memchr(local_78,0x50,(int)local_64 - (int)local_78); pbVar5 != (byte *)0x0; pbVar5 = memchr(pbVar5 + 1,0x50,(int)local_64 - (int)(pbVar5 + 1))) { - pcVar10 = "Puddle"; + pcVar9 = "Puddle"; iVar4 = 2; pbVar8 = pbVar5; if (*(int *)pbVar5 == 0x64647550) { pbVar8 = pbVar5 + 4; iVar4 = -2; - pcVar10 = "le"; + pcVar9 = "le"; } - bVar15 = *pbVar8 < (byte)*pcVar10; - if (((*pbVar8 == *pcVar10) && - (bVar15 = pbVar8[1] < (byte)pcVar10[1], pbVar8[1] == pcVar10[1])) && + bVar14 = *pbVar8 < (byte)*pcVar9; + if (((*pbVar8 == *pcVar9) && + (bVar14 = pbVar8[1] < (byte)pcVar9[1], pbVar8[1] == pcVar9[1])) && ((iVar4 == -2 || - ((bVar15 = pbVar8[2] < (byte)pcVar10[2], pbVar8[2] == pcVar10[2] && - (bVar15 = pbVar8[3] < (byte)pcVar10[3], pbVar8[3] == pcVar10[3])))))) { - uVar9 = 0; + ((bVar14 = pbVar8[2] < (byte)pcVar9[2], pbVar8[2] == pcVar9[2] && + (bVar14 = pbVar8[3] < (byte)pcVar9[3], pbVar8[3] == pcVar9[3])))))) { + uVar13 = 0; } else { - uVar9 = -(uint)bVar15 | 1; + uVar13 = -(uint)bVar14 | 1; } - if (uVar9 == 0) { + if (uVar13 == 0) { if (((int)pbVar5 - (int)local_78 != -1) && (*(int *)((int)g_game->_room + 0x721c) != 0)) goto LAB_0099b501; break; @@ -866541,50 +868042,50 @@ LAB_0099b160: ExceptionList = local_10; return; } - uVar9 = local_44._capacity + 1; - if (uVar9 < 0x1000) goto LAB_0099b4b8; + uVar13 = local_44._capacity + 1; + if (uVar13 < 0x1000) goto LAB_0099b4b8; iVar4 = local_44._buf._0_4_ - *(int *)(local_44._buf._0_4_ + -4); local_44._buf._0_4_ = *(int *)(local_44._buf._0_4_ + -4); joined_r0x0099b4b2: - uVar9 = local_44._capacity + 0x24; + uVar13 = local_44._capacity + 0x24; if (0x1f < iVar4 - 4U) { LAB_0099af04: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } LAB_0099b4b8: - operator_delete(local_44._buf._0_4_,uVar9); + operator_delete(local_44._buf._0_4_,uVar13); ExceptionList = local_10; return; LAB_0099b501: local_5d = '\0'; LAB_0099b3bd: if (0xf < local_2c._capacity) { - uVar9 = local_2c._capacity + 1; + uVar13 = local_2c._capacity + 1; psVar6 = local_68; - if (0xfff < uVar9) { + if (0xfff < uVar13) { psVar6 = (std_string *)local_68[-1]._capacity; - uVar9 = local_2c._capacity + 0x24; + uVar13 = local_2c._capacity + 0x24; if (0x1f < (uint)((int)local_68 + (-4 - (int)psVar6))) goto LAB_0099af04; } - operator_delete(psVar6,uVar9); + operator_delete(psVar6,uVar13); } - pGVar13 = local_70; - RVar14 = local_7c; + pGVar12 = local_70; + uVar13 = local_7c; if (local_5d != '\0') goto LAB_0099b406; goto LAB_0099b160; LAB_0099b406: ANM2::GetAnimation(local_5c); iVar4 = std::string::find(0,"Puddle",6); if (0xf < local_48) { - uVar11 = local_48 + 1; - uVar9 = local_5c[0]; - if (0xfff < uVar11) { - uVar9 = *(uint *)(local_5c[0] - 4); - uVar11 = local_48 + 0x24; - if (0x1f < (local_5c[0] - uVar9) - 4) goto LAB_0099af04; + uVar10 = local_48 + 1; + uVar13 = local_5c[0]; + if (0xfff < uVar10) { + uVar13 = *(uint *)(local_5c[0] - 4); + uVar10 = local_48 + 0x24; + if (0x1f < (local_5c[0] - uVar13) - 4) goto LAB_0099af04; } - operator_delete(uVar9,uVar11); + operator_delete(uVar13,uVar10); } local_4c = 0; local_48 = 0xf; @@ -866597,8 +868098,8 @@ LAB_0099b406: ExceptionList = local_10; return; } - uVar9 = local_44._capacity + 1; - if (uVar9 < 0x1000) goto LAB_0099b4b8; + uVar13 = local_44._capacity + 1; + if (uVar13 < 0x1000) goto LAB_0099b4b8; iVar4 = local_44._buf._0_4_ - *(int *)(local_44._buf._0_4_ + -4); local_44._buf._0_4_ = *(int *)(local_44._buf._0_4_ + -4); goto joined_r0x0099b4b2; @@ -866628,16 +868129,14 @@ void __thiscall GridEntity_Gravity::PostInit(GridEntity_Gravity *this) { void *pvVar1; int iVar2; - RNG RVar3; - byte bVar4; - int iVar5; - char *pcVar6; - int iVar7; + byte bVar3; + int iVar4; + char *pcVar5; + int iVar6; + uint uVar7; uint uVar8; ANM2 *this_00; RNG local_7c; - undefined8 local_78; - undefined4 local_70; undefined4 local_6c; ANM2 *local_68; std_string local_64; @@ -866655,18 +868154,19 @@ void __thiscall GridEntity_Gravity::PostInit(GridEntity_Gravity *this) ExceptionList = &local_10; pvVar1 = g_game->_room; iVar2 = *(int *)((int)pvVar1 + 0xc); - iVar7 = (int)((((float)(this->_gridIndex % iVar2) * 40.0 + 40.0 + 0.0) - 40.0) / 40.0 + 0.5); - iVar5 = (int)((((float)(this->_gridIndex / iVar2) * 40.0 + 120.0 + 40.0) - 120.0) / 40.0 + 0.5); - if (((((-1 < iVar7) && (iVar7 < iVar2)) && (-1 < iVar5)) && - ((iVar5 < *(int *)((int)pvVar1 + 0x10) && (uVar8 = iVar2 * iVar5 + iVar7, uVar8 < 0x1c0)))) && + iVar6 = (int)((((float)(this->_gridIndex % iVar2) * 40.0 + 40.0 + 0.0) - 40.0) / 40.0 + 0.5); + iVar4 = (int)((((float)(this->_gridIndex / iVar2) * 40.0 + 120.0 + 40.0) - 120.0) / 40.0 + 0.5); + if (((((-1 < iVar6) && (iVar6 < iVar2)) && (-1 < iVar4)) && + ((iVar4 < *(int *)((int)pvVar1 + 0x10) && (uVar8 = iVar2 * iVar4 + iVar6, uVar8 < 0x1c0)))) && ((iVar2 = *(int *)((int)pvVar1 + uVar8 * 4 + 0x24), iVar2 != 0 && ((iVar2 = *(int *)(iVar2 + 4), iVar2 == 3 || (iVar2 == 0xf)))))) { - RVar3 = (RNG)(this->_desc)._spawnSeed; + uVar8 = (this->_desc)._spawnSeed; local_6c = 0xc; - local_70 = 0xc; + local_7c._shift3 = 0xc; local_68 = &this->_sprite; - local_78 = 0x1500000005; - local_7c = RVar3; + local_7c._shift1 = 5; + local_7c._shift2 = 0x15; + local_7c._seed = uVar8; if (*(int *)((int)pvVar1 + 0x1d18) == 0x38) { local_4c._size = 0; local_4c._capacity = 0xf; @@ -866683,19 +868183,19 @@ void __thiscall GridEntity_Gravity::PostInit(GridEntity_Gravity *this) local_8 = 0xffffffff; if (0xf < local_4c._capacity) { uVar8 = local_4c._capacity + 1; - pcVar6 = (char *)local_4c._buf._0_4_; + pcVar5 = (char *)local_4c._buf._0_4_; if (0xfff < uVar8) { - pcVar6 = *(char **)(local_4c._buf._0_4_ + -4); + pcVar5 = *(char **)(local_4c._buf._0_4_ + -4); uVar8 = local_4c._capacity + 0x24; - if ((char *)0x1f < (char *)(local_4c._buf._0_4_ + (-4 - (int)pcVar6))) { + if ((char *)0x1f < (char *)(local_4c._buf._0_4_ + (-4 - (int)pcVar5))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pcVar6,uVar8); + operator_delete(pcVar5,uVar8); } - bVar4 = ANM2::SetAnimation(&this->_sprite,(byte *)"Floor",1); - if ((bVar4 != 0) && ((this->_sprite)._animState._animData != (void *)0x0)) { + bVar3 = ANM2::SetAnimation(&this->_sprite,(byte *)"Floor",1); + if ((bVar3 != 0) && ((this->_sprite)._animState._animData != (void *)0x0)) { AnimationState::SetFrameFloat(&(this->_sprite)._animState); if ((this->_sprite)._animState._animData != (void *)0x0) { (this->_sprite)._animState._isPlaying = 0; @@ -866730,17 +868230,17 @@ void __thiscall GridEntity_Gravity::PostInit(GridEntity_Gravity *this) ANM2::Load(local_68,&local_4c,1); local_8 = 0xffffffff; if (0xf < local_4c._capacity) { - uVar8 = local_4c._capacity + 1; - pcVar6 = (char *)local_4c._buf._0_4_; - if (0xfff < uVar8) { - pcVar6 = *(char **)(local_4c._buf._0_4_ + -4); - uVar8 = local_4c._capacity + 0x24; - if ((char *)0x1f < (char *)(local_4c._buf._0_4_ + (-4 - (int)pcVar6))) { + uVar7 = local_4c._capacity + 1; + pcVar5 = (char *)local_4c._buf._0_4_; + if (0xfff < uVar7) { + pcVar5 = *(char **)(local_4c._buf._0_4_ + -4); + uVar7 = local_4c._capacity + 0x24; + if ((char *)0x1f < (char *)(local_4c._buf._0_4_ + (-4 - (int)pcVar5))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pcVar6,uVar8); + operator_delete(pcVar5,uVar7); } local_4c._size = 0; local_4c._capacity = 0xf; @@ -866762,28 +868262,28 @@ void __thiscall GridEntity_Gravity::PostInit(GridEntity_Gravity *this) ANM2::Load(local_68,&local_64,1); local_8 = 0xffffffff; if (0xf < local_64._capacity) { - uVar8 = local_64._capacity + 1; - pcVar6 = (char *)local_64._buf._0_4_; - if (0xfff < uVar8) { - pcVar6 = *(char **)(local_64._buf._0_4_ + -4); - uVar8 = local_64._capacity + 0x24; - if ((char *)0x1f < (char *)(local_64._buf._0_4_ + (-4 - (int)pcVar6))) { + uVar7 = local_64._capacity + 1; + pcVar5 = (char *)local_64._buf._0_4_; + if (0xfff < uVar7) { + pcVar5 = *(char **)(local_64._buf._0_4_ + -4); + uVar7 = local_64._capacity + 0x24; + if ((char *)0x1f < (char *)(local_64._buf._0_4_ + (-4 - (int)pcVar5))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pcVar6,uVar8); + operator_delete(pcVar5,uVar7); } local_64._size = 0; local_64._capacity = 0xf; local_64._buf._0_4_ = local_64._buf._0_4_ & 0xffffff00; } - if (RVar3 == (RNG)0x0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar8 = (uint)RVar3 >> ((byte)local_78 & 0x1f) ^ (uint)RVar3; - uVar8 = uVar8 << ((byte)((ulonglong)local_78 >> 0x20) & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)local_7c._shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)local_7c._shift2 & 0x1f) ^ uVar8; sprintf_s(local_34,0x1f,"Floor%u",(uVar8 >> ((byte)local_6c & 0x1f) ^ uVar8) % 3 + 1); ANM2::Play(this_00,local_34,0); } @@ -867205,8 +868705,8 @@ LAB_0099c12a: local_20 = (float)pGVar11->_currentRoomIdx; iVar7 = pGVar11->_lastRoomIdx; if ((int)local_20 < 0) { - *(float *)&pGVar11->field_0x18320 = g_vectorZero.x; - *(float *)&pGVar11->field_0x18324 = fVar13; + (pGVar11->_dungeonReturnPosition).x = g_vectorZero.x; + (pGVar11->_dungeonReturnPosition).y = fVar13; if (iVar7 < -0x13) { iVar7 = -0x14; } @@ -867221,10 +868721,10 @@ LAB_0099c12a: if ((int)local_20 < 0xa8) { iVar7 = (int)local_20; } - *(float *)&pGVar11->field_0x18320 = (float)(iVar1 % iVar2) * 40.0 + 40.0; - *(float *)&pGVar11->field_0x18324 = (float)(iVar1 / iVar2) * 40.0 + 120.0; + (pGVar11->_dungeonReturnPosition).x = (float)(iVar1 % iVar2) * 40.0 + 40.0; + (pGVar11->_dungeonReturnPosition).y = (float)(iVar1 / iVar2) * 40.0 + 120.0; } - *(int *)&pGVar11->field_0x18328 = iVar7; + pGVar11->_dungeonReturnRoomIndex = iVar7; } if ((this->_sprite)._loaded != 0) { AnimationState::Update(); @@ -867449,7 +868949,7 @@ void HomingLaser::build_bezier_path(int param_1,Entity *param_2) Entity *pEVar18; undefined4 *puVar19; uint uVar20; - Vector *pVVar21; + RNG *pRVar21; Entity *pEVar22; Entity *in_XMM0_Da; float fVar23; @@ -867947,10 +869447,10 @@ LAB_0099d384: if (local_34 != local_bc) { pEVar15 = (EntityPtr *)&pEVar3->_pendingDamage; pEVar17 = (EntityPtr *)&pEVar3[-1]._holdCountdown; - pVVar21 = (Vector *)local_34; + pRVar21 = (RNG *)local_34; do { - *(RNG *)(pEVar15 + -0xb) = *(RNG *)(pEVar17 + -5); - pVVar21 = pVVar21 + -3; + pEVar15[-0xb] = pEVar17[-5]; + pRVar21 = (RNG *)((EntityPtr *)(pRVar21 + -2) + 2); pEVar15[-10] = pEVar17[-4]; pEVar15[-9] = pEVar17[-3]; pEVar15[-8] = pEVar17[-2]; @@ -867958,7 +869458,7 @@ LAB_0099d384: pEVar15[-6] = *pEVar17; pEVar15 = pEVar15 + -6; pEVar17 = pEVar17 + -6; - } while ((Entity *)pVVar21 != local_bc); + } while ((Entity *)pRVar21 != local_bc); pEVar18 = local_a0; pEVar27 = local_a8; } @@ -870618,7 +872118,7 @@ void FUN_009a1970(void) in_ECX->_isGraphicsLoaded = 0; HUD::LoadGraphics(in_ECX); FUN_009a19a0(); - FUN_0083c5f0(); + HUD::load_item_info_graphics(); return; } @@ -871635,11 +873135,13 @@ void __thiscall HUD::ShowItemText(HUD *this,Entity_Player *player,ItemConfig_Ite } if (*pbVar21 == 0x23) { local_b9 = 0; - StringTable::get_string("Players",g_manager->_stringTable,pbVar21 + 1,&local_b9); + StringTable::get_string + ("Players",*(undefined4 *)&g_manager->_stringTable,pbVar21 + 1,&local_b9); if (local_b9 == 0) { local_b9 = 0; pbVar21 = (byte *)StringTable::get_string - ("Players",pMVar5->_stringTable,pbVar21 + 1,&local_b9); + ("Players",*(undefined4 *)&pMVar5->_stringTable,pbVar21 + 1, + &local_b9); } } item = local_c0; @@ -872380,7 +873882,7 @@ void __thiscall HUD::render_fortune_text(HUD *this,int *param_2) g_graphicsManager_blendMode[1] = 1; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; iVar9 = *(int *)(*(int *)&pHVar1->field_0x536c + 0x10); piVar11 = *(int **)*param_2; local_24 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 0.5; @@ -872746,8 +874248,7 @@ void __thiscall HUD::Render(HUD *this) pcVar2 = *(code **)(**(int **)&this->field_0x54c4 + 0x1c); KColor::SetFromARGB(0xffffffff); (*pcVar2)(local_1b0,extraout_ECX_00); - sprintf_s(local_2c,8,"%d/%d",*(undefined4 *)&g_game->field_0x265ec, - *(undefined4 *)&(g_game->_ambush).field_0x18); + sprintf_s(local_2c,8,"%d/%d",(g_game->_ambush)._currentWave,(g_game->_ambush)._maxWaves); FontSettings::constructor(local_60); local_14 = 0; KColor::SetFromARGB(0xffffffff); @@ -873363,7 +874864,7 @@ LAB_009a5887: local_8c = (Game *)(((HUD *)pGVar22)->_playerHUD + 0x6dc); } while (uVar8 < 8); if (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) { - local_b8 = (Entity_Player *)&g_manager[1].field_0x1860; + local_b8 = (Entity_Player *)&g_manager[1]._gamestate.field_0x8bc; local_118 = KAGE::Network::Multiplayer::ConstLobby::vftable; local_114 = 0; local_110 = (int *)0x0; @@ -873510,8 +875011,9 @@ LAB_009a5af4: pGVar22 = g_game; do { pvVar24 = local_bc; - if ((-1 < *(int *)((int)(&pGVar22->_itemPool + 2) + (int)local_bc + 0x42c)) && - (-1 < *(int *)((int)(&pGVar22->_itemPool + 2) + (int)local_bc + 0x434))) { + if ((-1 < *(int *)((int)&(pGVar22->_playerManager)._coopSlots[0]._controllerIndex + + (int)local_bc)) && + (-1 < *(int *)((int)&(pGVar22->_playerManager)._coopSlots[0]._state + (int)local_bc))) { local_94 = *(float *)&local_ac->field_0x0; local_90 = *(float *)&local_ac->field_0x4; local_a8.x = *(float *)&local_ac->field_0x0; @@ -873524,15 +875026,17 @@ LAB_009a5af4: local_90 = local_90 + g_screenHeight; local_a8.y = local_90; } - fVar30 = *(float *)((int)(&pGVar22->_itemPool + 2) + (int)local_bc + 0x438) + 1.0; - local_78 = (void *)(int)fVar30; - pvVar23 = (void *)(int)fVar30; - local_7c = (Entity_Player *) - (int)(*(float *)((int)(&pGVar22->_itemPool + 2) + (int)local_bc + 0x438) - 1.0); + fVar30 = *(float *)((int)&(pGVar22->_playerManager)._coopSlots[0]._menuPosition + + (int)local_bc); + fVar31 = fVar30 + 1.0; + local_78 = (void *)(int)fVar31; + pvVar23 = (void *)(int)fVar31; + local_7c = (Entity_Player *)(int)(fVar30 - 1.0); if ((int)local_7c <= (int)pvVar23) { do { fVar30 = (float)(int)local_7c - - *(float *)((int)(&pGVar22->_itemPool + 2) + (int)pvVar24 + 0x438); + *(float *)((int)&(pGVar22->_playerManager)._coopSlots[0]._menuPosition + + (int)pvVar24); local_74 = fVar30 * 24.0; fVar30 = ABS(fVar30); pvVar28 = (void *)(1.0 - fVar30 * 0.5); @@ -873546,9 +875050,9 @@ LAB_009a5af4: local_b8 = (Entity_Player *)piVar27; } if (0.0 < (float)local_98) { - iVar10 = *(int *)&(pGVar22->_playerManager).field_0x70; - uVar8 = *(int *)&(pGVar22->_playerManager).field_0x74 - iVar10 >> 2; - iVar10 = *(int *)(iVar10 + (((int)local_7c + uVar8) % uVar8) * 4); + pvVar24 = (pGVar22->_playerManager)._coopPlayerTypes._begin; + uVar8 = (int)(pGVar22->_playerManager)._coopPlayerTypes._end - (int)pvVar24 >> 2; + iVar10 = *(int *)((int)pvVar24 + (((int)local_7c + uVar8) % uVar8) * 4); local_28 = iVar10; if (iVar10 < 0x29) { if ((this->_coopMenuSprite)._animState._animData != (void *)0x0) { @@ -875104,23 +876608,23 @@ void __thiscall HUD::AssignPlayerHUDs(HUD *this) } while (iVar5 != 0); if ((int)(g_game->_playerManager)._playerList._end - (int)(g_game->_playerManager)._playerList._begin >> 2 != 0) { - *(undefined4 *)&(g_game->_playerManager).field_0xc = 0xffffffff; + (g_game->_playerManager)._coopSlots[0]._controllerIndex = -1; uVar4 = 0; - *(undefined4 *)&(pGVar1->_playerManager).field_0x20 = 0xffffffff; - *(undefined4 *)&(pGVar1->_playerManager).field_0x14 = 0xffffffff; - *(undefined4 *)&(pGVar1->_playerManager).field_0x18 = 0; - *(undefined4 *)&(pGVar1->_playerManager).field_0x10 = 0; - *(undefined4 *)&(pGVar1->_playerManager).field_0x28 = 0xffffffff; - *(undefined4 *)&(pGVar1->_playerManager).field_0x2c = 0; - *(undefined4 *)&(pGVar1->_playerManager).field_0x24 = 0; - *(undefined4 *)&(pGVar1->_playerManager).field_0x34 = 0xffffffff; - *(undefined4 *)&(pGVar1->_playerManager).field_0x3c = 0xffffffff; - *(undefined4 *)&(pGVar1->_playerManager).field_0x40 = 0; - *(undefined4 *)&(pGVar1->_playerManager).field_0x38 = 0; - *(undefined4 *)&(pGVar1->_playerManager).field_0x48 = 0xffffffff; - *(undefined4 *)&(pGVar1->_playerManager).field_0x50 = 0xffffffff; - *(undefined4 *)&(pGVar1->_playerManager).field_0x54 = 0; - *(undefined4 *)&(pGVar1->_playerManager).field_0x4c = 0; + (pGVar1->_playerManager)._coopSlots[1]._controllerIndex = -1; + (pGVar1->_playerManager)._coopSlots[0]._state = -1; + (pGVar1->_playerManager)._coopSlots[0]._menuPosition = 0.0; + (pGVar1->_playerManager)._coopSlots[0]._playerType = 0; + (pGVar1->_playerManager)._coopSlots[1]._state = -1; + (pGVar1->_playerManager)._coopSlots[1]._menuPosition = 0.0; + (pGVar1->_playerManager)._coopSlots[1]._playerType = 0; + (pGVar1->_playerManager)._coopSlots[2]._controllerIndex = -1; + (pGVar1->_playerManager)._coopSlots[2]._state = -1; + (pGVar1->_playerManager)._coopSlots[2]._menuPosition = 0.0; + (pGVar1->_playerManager)._coopSlots[2]._playerType = 0; + (pGVar1->_playerManager)._coopSlots[3]._controllerIndex = -1; + (pGVar1->_playerManager)._coopSlots[3]._state = -1; + (pGVar1->_playerManager)._coopSlots[3]._menuPosition = 0.0; + (pGVar1->_playerManager)._coopSlots[3]._playerType = 0; pvVar3 = (pGVar1->_playerManager)._playerList._begin; if ((int)(pGVar1->_playerManager)._playerList._end - (int)pvVar3 >> 2 != 0) { do { @@ -875129,7 +876633,8 @@ void __thiscall HUD::AssignPlayerHUDs(HUD *this) if (((((iVar2 == 0) || (*(int *)(iVar2 + 0x161c) == -1)) || (*(int *)(iVar5 + 0x161c) <= *(int *)(iVar2 + 0x161c))) || (iVar2 == iVar5)) && ((*(int *)(iVar5 + 0x3bc) == 0 && (*(char *)(iVar5 + 0x172) != '\0')))) { - PlayerManager::GetPlayerSlotFromController(*(undefined4 *)(iVar5 + 0x1618)); + PlayerManager::GetPlayerSlotFromController + (&g_game->_playerManager,*(undefined4 *)(iVar5 + 0x1618)); pvVar3 = (pGVar1->_playerManager)._playerList._begin; } uVar4 = uVar4 + 1; @@ -875154,7 +876659,8 @@ void __thiscall HUD::AssignPlayerHUDs(HUD *this) if ((((iVar2 == 0) || (*(int *)(iVar2 + 0x161c) == -1)) || ((*(int *)(iVar5 + 0x161c) <= *(int *)(iVar2 + 0x161c) || (iVar2 == iVar5)))) && ((*(int *)(iVar5 + 0x3bc) == 0 && (*(char *)(iVar5 + 0x172) != '\0')))) { - iVar2 = PlayerManager::GetPlayerSlotFromController(*(undefined4 *)(iVar5 + 0x1618)); + iVar2 = PlayerManager::GetPlayerSlotFromController + (&g_game->_playerManager,*(undefined4 *)(iVar5 + 0x1618)); if (iVar2 < 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(8, @@ -875361,7 +876867,7 @@ void Entity_NPC::render_debug(float *param_1,int param_2) g_graphicsManager_blendMode[1] = 6; } g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; local_d8 = *(undefined1 **)(param_2 + 0x380); local_a4 = *(float *)(param_2 + 900); if ((g_game->_stageType == 4) || (g_game->_stageType == 5)) { @@ -876183,7 +877689,7 @@ void __thiscall Manager::ResizeWindowCallback(undefined4 param_1,int param_2,int int *piVar1; int iVar2; int iVar3; - uint uVar4; + int *piVar4; if (((param_2 != 0) && (param_3 != 0)) && ((param_2 != DAT_00c7b638 || (param_3 != DAT_00c7b63c))) ) { @@ -876193,20 +877699,20 @@ void __thiscall Manager::ResizeWindowCallback(undefined4 param_1,int param_2,int iVar3 = Window::get_framebuffer_height(); if ((iVar2 != 0) && (iVar3 != 0)) { if (g_manager->_state == 3) { - uVar4 = (int)&(g_manager->_optionsConfig)._optionsIniFilePath + - *(int *)&g_manager->field_0x215d8 * 0x4c + -0x956c; - iVar2 = *(int *)(uVar4 + 0x44); + piVar4 = (g_manager->_nightmareScene)._stageBarIcons + + (g_manager->_cutsceneManager)._currentCutsceneId * 0x13 + -0x2f1; + iVar2 = piVar4[0x11]; if (-1 < iVar2) { - piVar1 = (int *)(uVar4 + 0x20); - uVar4 = *(int *)(uVar4 + 0x24) - *piVar1 >> 2; - if (iVar2 < (int)uVar4) { + piVar1 = piVar4 + 8; + piVar4 = (int *)(piVar4[9] - *piVar1 >> 2); + if (iVar2 < (int)piVar4) { iVar2 = *(int *)(*piVar1 + iVar2 * 4); update_screen_scale(param_2,param_3, CONCAT31((int3)((uint)iVar2 >> 8),*(undefined1 *)(iVar2 + 8))); return; } } - update_screen_scale(param_2,param_3,uVar4 & 0xffffff00); + update_screen_scale(param_2,param_3,(uint)piVar4 & 0xffffff00); return; } set_viewport_size(param_2,param_3); @@ -876675,7 +878181,7 @@ void resources_mount_language(void) tracked_alloc(0,0); } local_8 = 0xffffffff; - if ((g_manager != (Manager *)0x0) && (g_manager->_stringTable != 0)) { + if ((g_manager != (Manager *)0x0) && (*(int *)&g_manager->_stringTable != 0)) { uVar2 = Manager::GetLanguage(); local_18 = 0xf; local_1c = 1; @@ -876833,13 +878339,12 @@ void FUN_009abd50(void) 0x1c03c), vector of 0x30 x 0x58 at +0x11c (= Game ctor's _eh_vector at 0x1c150 with dtor 009abd50), ANM2 at +0x11a4 (= 0x1d1d8), multiset +0x11a0 */ -void ItemOverlay::~ItemOverlay(void) +void __thiscall ItemOverlay::~ItemOverlay(ItemOverlay *this) { - int *piVar1; + EntityPtr *pEVar1; uint uVar2; - int in_ECX; - int *local_14; + EntityPtr *local_14; void *local_10; undefined1 *puStack_c; undefined4 local_8; @@ -876849,23 +878354,23 @@ void ItemOverlay::~ItemOverlay(void) uVar2 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; local_8 = 0; - ANM2::Reset((ANM2 *)(in_ECX + 0x11a4)); - AnimationState::~AnimationState((AnimationState *)(in_ECX + 0x11f4),uVar2); - AnimationState::~AnimationState((AnimationState *)(in_ECX + 0x11d4)); + ANM2::Reset(&this->_megaMushPlayerSprite); + AnimationState::~AnimationState(&(this->_megaMushPlayerSprite)._overlayAnimState,uVar2); + AnimationState::~AnimationState(&(this->_megaMushPlayerSprite)._animState); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); - piVar1 = (int *)(in_ECX + 0x11a0); - if (*piVar1 != 0) { - local_14 = piVar1; + pEVar1 = &this->_player; + if (*pEVar1 != (EntityPtr)0x0) { + local_14 = pEVar1; std::multiset::erase(&local_14); - *piVar1 = 0; + *pEVar1 = (EntityPtr)0x0; } local_8 = 0xffffffff; - _eh_vector_destructor_iterator_((void *)(in_ECX + 0x11c),0x58,0x30,FUN_009abd50); + _eh_vector_destructor_iterator_(&this->field_0x11c,0x58,0x30,FUN_009abd50); local_8 = 2; - ANM2::Reset((ANM2 *)(in_ECX + 8)); - AnimationState::~AnimationState((AnimationState *)(in_ECX + 0x58)); - AnimationState::~AnimationState((AnimationState *)(in_ECX + 0x38)); + ANM2::Reset(&this->_sprite); + AnimationState::~AnimationState(&(this->_sprite)._overlayAnimState); + AnimationState::~AnimationState(&(this->_sprite)._animState); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); ExceptionList = local_10; @@ -877639,25 +879144,24 @@ void __thiscall ItemOverlay::Update(ItemOverlay *this,byte unk) int iVar5; undefined4 *puVar6; int iVar7; - undefined1 *this_01; + AnimationState *this_01; Entity_Player *this_02; int extraout_ECX; int extraout_EDX; - undefined4 uVar8; - uint uVar9; - PlayerManager *pPVar10; + uint uVar8; + PlayerManager *pPVar9; float Pitch; int local_8; - if (*(int *)this == 1) { - *(int *)&this->field_0x119c = *(int *)&this->field_0x119c + -1; - if (*(int *)&this->field_0x119c < 1) { - *(undefined4 *)this = 2; + if (this->_state == 1) { + this->_delay = this->_delay + -1; + if (this->_delay < 1) { + this->_state = 2; return; } return; } - if (*(int *)this == 0) { + if (this->_state == 0) { return; } if ((this->_megaMushPlayerSprite)._loaded != 0) { @@ -877669,7 +879173,7 @@ void __thiscall ItemOverlay::Update(ItemOverlay *this,byte unk) (&(this->_megaMushPlayerSprite)._animState, *(int *)((int)(this->_megaMushPlayerSprite)._animState._animData + 0x30) + -1); } - if (((*(int *)&this->field_0x11a0 != 0) && + if (((this->_player != (EntityPtr)0x0) && (bVar4 = ANM2::IsPlaying(&this->_megaMushPlayerSprite,(byte *)"Transform"), bVar4 != 0)) && (unk == 0)) { iVar5 = ANM2::GetFrame(&this->_megaMushPlayerSprite); @@ -877701,55 +879205,57 @@ void __thiscall ItemOverlay::Update(ItemOverlay *this,byte unk) } } LAB_009acc1b: - if (this->field_0x111 == '\0') { - if (*(int *)this != 2) { + if ((this->_sprite)._loaded == 0) { + if (this->_state != 2) { return; } if (((this->_megaMushPlayerSprite)._animState._animData != (void *)0x0) && ((this->_megaMushPlayerSprite)._animState._isPlaying != 0)) { return; } - if (*(int *)&this->field_0x11a0 != 0) { - *(undefined1 *)(*(int *)&this->field_0x11a0 + 0x171) = 1; + if (this->_player != (EntityPtr)0x0) { + *(undefined1 *)((int)this->_player + 0x171) = 1; } - *(undefined4 *)this = 0; + this->_state = 0; return; } - if ((*(int *)this == 2) && ((*(int *)&this->field_0x3c == 0 || (this->field_0x4c == '\0')))) { - *(undefined4 *)this = 0; + if ((this->_state == 2) && + (((this->_sprite)._animState._animData == (void *)0x0 || + ((this->_sprite)._animState._isPlaying == 0)))) { + this->_state = 0; } if (unk == 0) { - ANM2::Update((ANM2 *)&this->field_0x8); + ANM2::Update(&this->_sprite); } else { - if (*(int *)&this->field_0x3c == 0) goto LAB_009accdf; + if ((this->_sprite)._animState._animData == (void *)0x0) goto LAB_009accdf; AnimationState::AdvancePosition - ((AnimationState *)&this->field_0x38,*(int *)(*(int *)&this->field_0x3c + 0x30) + -1); + (&(this->_sprite)._animState, + *(int *)((int)(this->_sprite)._animState._animData + 0x30) + -1); } - if (((*(int *)&this->field_0x3c != 0) && - (bVar4 = AnimationState::IsEventTriggered((AnimationState *)&this->field_0x38,(byte *)"Sound") - , pMVar3 = g_manager, bVar4 != 0)) && (*(int *)&this->field_0x4 == 0x27)) { + if ((((this->_sprite)._animState._animData != (void *)0x0) && + (bVar4 = AnimationState::IsEventTriggered(&(this->_sprite)._animState,(byte *)"Sound"), + pMVar3 = g_manager, bVar4 != 0)) && (this->_overlayID == 0x27)) { seed_fart_sound_override(); SoundEffects::Play(&pMVar3->_sfxManager,0x51,1.0,2,0,1.0,0.0); } LAB_009accdf: - this_01 = &this->field_0x38; - if ((*(int *)&this->field_0x3c != 0) && - (bVar4 = AnimationState::IsEventTriggered((AnimationState *)this_01,(byte *)"SleepFillHP"), - bVar4 != 0)) { - uVar9 = 0; - pPVar10 = &g_game->_playerManager; - if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar10->_playerList)._begin >> 2 != - 0) { + this_01 = &(this->_sprite)._animState; + if (((this->_sprite)._animState._animData != (void *)0x0) && + (bVar4 = AnimationState::IsEventTriggered(this_01,(byte *)"SleepFillHP"), bVar4 != 0)) { + uVar8 = 0; + pPVar9 = &g_game->_playerManager; + if ((int)(g_game->_playerManager)._playerList._end - (int)(pPVar9->_playerList)._begin >> 2 != 0 + ) { do { - pvVar1 = (pPVar10->_playerList)._end; - if ((int)pvVar1 - (int)(pPVar10->_playerList)._begin >> 2 == 0) { + pvVar1 = (pPVar9->_playerList)._end; + if ((int)pvVar1 - (int)(pPVar9->_playerList)._begin >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - puVar6 = (pPVar10->_playerList)._begin; - if (uVar9 < (uint)((int)pvVar1 - (int)puVar6 >> 2)) { - puVar6 = puVar6 + uVar9; + puVar6 = (pPVar9->_playerList)._begin; + if (uVar8 < (uint)((int)pvVar1 - (int)puVar6 >> 2)) { + puVar6 = puVar6 + uVar8; } if (((Entity_Player *)*puVar6)->_playerType != 0x28) { iVar5 = Entity_Player::GetHealthType((Entity_Player *)*puVar6); @@ -877778,21 +879284,21 @@ LAB_009accdf: } } LAB_009ace00: - uVar9 = uVar9 + 1; - pPVar10 = &g_game->_playerManager; - } while (uVar9 < (uint)((int)(g_game->_playerManager)._playerList._end - - (int)(pPVar10->_playerList)._begin >> 2)); + uVar8 = uVar8 + 1; + pPVar9 = &g_game->_playerManager; + } while (uVar8 < (uint)((int)(g_game->_playerManager)._playerList._end - + (int)(pPVar9->_playerList)._begin >> 2)); } PersistentGameData::IncreaseEventCounter(&g_manager->_persistentGameData,0xca,1); } - if ((*(int *)&this->field_0x4 == 0x2c) && (*(int *)&this->field_0x3c != 0)) { - bVar4 = AnimationState::IsEventTriggered((AnimationState *)this_01,(byte *)"Transition"); + if ((this->_overlayID == 0x2c) && ((this->_sprite)._animState._animData != (void *)0x0)) { + bVar4 = AnimationState::IsEventTriggered(this_01,(byte *)"Transition"); pMVar3 = g_manager; this_00 = g_game; if (bVar4 == 0) { - if (((*(int *)&this->field_0x3c != 0) && - (bVar4 = AnimationState::IsEventTriggered((AnimationState *)this_01,(byte *)"Static"), - pMVar3 = g_manager, bVar4 != 0)) && (unk == 0)) { + if ((((this->_sprite)._animState._animData != (void *)0x0) && + (bVar4 = AnimationState::IsEventTriggered(this_01,(byte *)"Static"), pMVar3 = g_manager, + bVar4 != 0)) && (unk == 0)) { seed_fart_sound_override(); SoundEffects::Play(&pMVar3->_sfxManager,0x51,1.0,2,0,1.0,0.0); Room::PlayMusic(); @@ -877804,14 +879310,14 @@ LAB_009ace00: if (unk == 0) { g_manager->field_0x21c10 = 0; if ((this_00->_difficulty == 2) || (this_00->_difficulty == 3)) { - uVar8 = 0x12; + iVar5 = 0x12; } else { - uVar8 = 0x1b; + iVar5 = 0x1b; pMVar3->field_0x21c10 = 1; } - *(undefined4 *)&pMVar3->field_0x219c8 = uVar8; - *(undefined2 *)&pMVar3->field_0x4b2a4 = 0x101; + (pMVar3->_nightmareScene)._stageBarIcons[0xd] = iVar5; + *(undefined2 *)&pMVar3->_isNightmarePending = 0x101; } piVar2 = *(int **)(*(int *)((int)this_00->_room + 4) + 0x10); if (((piVar2 != (int *)0x0) && (this_00->_stage == 0xd)) && @@ -877835,7 +879341,7 @@ LAB_009ace00: void __thiscall ItemOverlay::Render(ItemOverlay *this) { - int iVar1; + EntityPtr EVar1; ANM2 *this_00; double dVar2; Vector local_d0; @@ -877846,14 +879352,14 @@ void __thiscall ItemOverlay::Render(ItemOverlay *this) undefined4 uStack_b8; undefined4 local_b4; - if (*(int *)this == 0) { + if (this->_state == 0) { return; } - if (*(int *)this == 1) { + if (this->_state == 1) { return; } - if (this->field_0x111 == '\0') { - if (*(int *)&this->field_0x4 != 0x2d) goto LAB_009ad1ff; + if ((this->_sprite)._loaded == 0) { + if (this->_overlayID != 0x2d) goto LAB_009ad1ff; set_blend_mode(); local_c4 = 0; uStack_c0 = 0; @@ -877866,19 +879372,19 @@ void __thiscall ItemOverlay::Render(ItemOverlay *this) render_color_shader_pass(); FUN_00682260(); if (((this->_megaMushPlayerSprite)._loaded == 0) || - (iVar1 = *(int *)&this->field_0x11a0, iVar1 == 0)) goto LAB_009ad1ff; + (EVar1 = this->_player, EVar1 == (EntityPtr)0x0)) goto LAB_009ad1ff; local_c8 = g_displayPixelRatio * g_screenPointScale; dVar2 = floor((double)(((g_screenWidth - 338.0) * 0.5 + - (*(float *)(iVar1 + 0x33c) - 60.0) * 0.65) * local_c8 + 0.5)); + (*(float *)((int)EVar1 + 0x33c) - 60.0) * 0.65) * local_c8 + 0.5)); local_d0.x = (float)dVar2 / local_c8; dVar2 = floor((double)(((g_screenHeight - 182.0) * 0.5 + - (*(float *)(iVar1 + 0x340) - 140.0) * 0.65) * local_c8 + 0.5)); + (*(float *)((int)EVar1 + 0x340) - 140.0) * 0.65) * local_c8 + 0.5)); this_00 = &this->_megaMushPlayerSprite; local_d0.y = (float)dVar2 / local_c8 + *(float *)((int)g_game->_room + 0x1208); local_d0.x = local_d0.x + *(float *)((int)g_game->_room + 0x1204); } else { - this_00 = (ANM2 *)&this->field_0x8; + this_00 = &this->_sprite; local_d0.y = g_screenHeight * 0.5; local_d0.x = g_screenWidth * 0.5; } @@ -877897,259 +879403,175 @@ LAB_009ad1ff: void __thiscall ItemOverlay::Show(ItemOverlay *this,int eOverlayID,int delay,Entity_Player *player) { - undefined1 *this_00; - byte *pbVar1; - undefined1 *puVar2; - void *pvVar3; - int iVar4; - byte bVar5; - byte bVar6; - byte bVar7; + ANM2 *this_00; + EntityPtr *pEVar1; + void *pvVar2; + int iVar3; + float fVar4; + float fVar5; + float fVar6; + Entity_Player *pEVar7; byte bVar8; - byte bVar9; - byte bVar10; - byte bVar11; - byte bVar12; - byte bVar13; - byte bVar14; - byte bVar15; - byte bVar16; - byte bVar17; - byte bVar18; - Entity_Player *pEVar19; - byte bVar20; - LayerState *pLVar21; - byte *pbVar22; - uint uVar23; + LayerState *pLVar9; + byte *pbVar10; + uint uVar11; byte extraout_CL; byte extraout_CL_00; - int iVar24; - byte *pbVar25; - int iVar26; - byte *pbVar27; - byte *pbVar28; - bool bVar29; + int iVar12; + byte *pbVar13; + int iVar14; + byte *pbVar15; + byte *pbVar16; + bool bVar17; uint local_10; byte *local_c; if (0x2f < (uint)eOverlayID) { return; } - this_00 = &this->field_0x8; - if (*(int *)((int)&(this->_megaMushPlayerSprite)._filename + eOverlayID * 0x58 + -0x1074) == 0) { - ANM2::Reset((ANM2 *)this_00); + this_00 = &this->_sprite; + if (*(int *)((int)(&this->_sprite + 1) + eOverlayID * 0x58 + 0x14) == 0) { + ANM2::Reset(this_00); } else { - ANM2::Load((ANM2 *)this_00, - (std_string *) - ((int)&(this->_megaMushPlayerSprite)._filename + eOverlayID * 0x58 + -0x1084),0); - bVar20 = extraout_CL; - if (*(int *)((int)&(this->_megaMushPlayerSprite)._filename + eOverlayID * 0x58 + -0x1044) != 0) - { + ANM2::Load(this_00,(std_string *)((int)(&this->_sprite + 1) + eOverlayID * 0x58 + 4),0); + bVar8 = extraout_CL; + if (*(int *)((int)(&this->_sprite + 1) + eOverlayID * 0x58 + 0x44) != 0) { Sprite::ReplaceSpritesheet ((Sprite *)this_00,0, - (int)&(this->_megaMushPlayerSprite)._filename + eOverlayID * 0x58 + -0x1054); - bVar20 = extraout_CL_00; + (undefined1 *)((int)(&this->_sprite + 1) + eOverlayID * 0x58 + 0x34)); + bVar8 = extraout_CL_00; } - ANM2::LoadGraphics((ANM2 *)this_00,bVar20); + ANM2::LoadGraphics(this_00,bVar8); } - pEVar19 = player; - *(int *)&this->field_0x4 = eOverlayID; - puVar2 = &this->field_0x11a0; - if (*(Entity_Player **)puVar2 != player) { - if (*(Entity_Player **)puVar2 != (Entity_Player *)0x0) { - player = (Entity_Player *)puVar2; + pEVar7 = player; + this->_overlayID = eOverlayID; + pEVar1 = &this->_player; + if (*pEVar1 != (EntityPtr)player) { + if (*pEVar1 != (EntityPtr)0x0) { + player = (Entity_Player *)pEVar1; std::multiset::erase(&player); } - *(Entity_Player **)puVar2 = pEVar19; - if (pEVar19 != (Entity_Player *)0x0) { - std::multiset::insert(puVar2); + *pEVar1 = (EntityPtr)pEVar7; + if (pEVar7 != (Entity_Player *)0x0) { + std::multiset::insert(pEVar1); } } - if (this->field_0x111 != '\0') { + if ((this->_sprite)._loaded != 0) { local_10 = 0; - iVar26 = *(int *)((int)&(this->_megaMushPlayerSprite)._filename + eOverlayID * 0x58 + -0x103c); - iVar24 = *(int *)((int)&(this->_megaMushPlayerSprite)._filename + eOverlayID * 0x58 + -0x1038) - - iVar26; - iVar4 = iVar24 >> 0x1f; - if (iVar24 / 0x44 + iVar4 != iVar4) { + iVar14 = *(int *)((int)(&this->_sprite + 1) + eOverlayID * 0x58 + 0x4c); + iVar12 = *(int *)((int)(&this->_sprite + 1) + eOverlayID * 0x58 + 0x50) - iVar14; + iVar3 = iVar12 >> 0x1f; + if (iVar12 / 0x44 + iVar3 != iVar3) { player = (Entity_Player *)0x0; do { - pbVar28 = (byte *)((int)(&(player->_sprite)._filename + -3) + iVar26); - local_c = pbVar28; - if (0xf < *(uint *)((player->_sprite)._filename._buf + iVar26 + -0x34)) { - local_c = *(byte **)pbVar28; + pbVar16 = (byte *)((int)(&(player->_sprite)._filename + -3) + iVar14); + local_c = pbVar16; + if (0xf < *(uint *)((player->_sprite)._filename._buf + iVar14 + -0x34)) { + local_c = *(byte **)pbVar16; } - pbVar27 = (byte *)0x0; - pbVar1 = pbVar28 + 0x18; - if (*(int *)&this->field_0x88 != 0) { + pbVar15 = (byte *)0x0; + if ((this->_sprite)._layerCount != 0) { do { - pLVar21 = ANM2::GetLayer((ANM2 *)this_00,pbVar27); - pvVar3 = pLVar21->_layerData; - if (pvVar3 == (void *)0x0) { - pbVar25 = &s_empty; + pLVar9 = ANM2::GetLayer(this_00,pbVar15); + pvVar2 = pLVar9->_layerData; + if (pvVar2 == (void *)0x0) { + pbVar13 = &s_empty; } else { - pbVar25 = (byte *)((int)pvVar3 + 8); - if (0xf < *(uint *)((int)pvVar3 + 0x1c)) { - pbVar25 = *(byte **)pbVar25; + pbVar13 = (byte *)((int)pvVar2 + 8); + if (0xf < *(uint *)((int)pvVar2 + 0x1c)) { + pbVar13 = *(byte **)pbVar13; } } - pbVar22 = local_c; + pbVar10 = local_c; do { - bVar20 = *pbVar25; - bVar29 = bVar20 < *pbVar22; - if (bVar20 != *pbVar22) { + bVar8 = *pbVar13; + bVar17 = bVar8 < *pbVar10; + if (bVar8 != *pbVar10) { LAB_009ad360: - uVar23 = -(uint)bVar29 | 1; + uVar11 = -(uint)bVar17 | 1; goto LAB_009ad365; } - if (bVar20 == 0) break; - bVar20 = pbVar25[1]; - bVar29 = bVar20 < pbVar22[1]; - if (bVar20 != pbVar22[1]) goto LAB_009ad360; - pbVar25 = pbVar25 + 2; - pbVar22 = pbVar22 + 2; - } while (bVar20 != 0); - uVar23 = 0; + if (bVar8 == 0) break; + bVar8 = pbVar13[1]; + bVar17 = bVar8 < pbVar10[1]; + if (bVar8 != pbVar10[1]) goto LAB_009ad360; + pbVar13 = pbVar13 + 2; + pbVar10 = pbVar10 + 2; + } while (bVar8 != 0); + uVar11 = 0; LAB_009ad365: - if ((uVar23 == 0) && (&pLVar21->field_0x48 != pbVar1)) { - bVar20 = pbVar1[1]; - bVar5 = pbVar1[2]; - bVar6 = pbVar1[3]; - bVar7 = pbVar28[0x1c]; - bVar8 = pbVar28[0x1d]; - bVar9 = pbVar28[0x1e]; - bVar10 = pbVar28[0x1f]; - bVar11 = pbVar28[0x20]; - bVar12 = pbVar28[0x21]; - bVar13 = pbVar28[0x22]; - bVar14 = pbVar28[0x23]; - bVar15 = pbVar28[0x24]; - bVar16 = pbVar28[0x25]; - bVar17 = pbVar28[0x26]; - bVar18 = pbVar28[0x27]; - pLVar21->field_0x48 = pbVar1[0]; - pLVar21->field_0x49 = bVar20; - pLVar21->field_0x4a = bVar5; - pLVar21->field_0x4b = bVar6; - pLVar21->field_0x4c = bVar7; - pLVar21->field_0x4d = bVar8; - pLVar21->field_0x4e = bVar9; - pLVar21->field_0x4f = bVar10; - pLVar21->field_0x50 = bVar11; - pLVar21->field_0x51 = bVar12; - pLVar21->field_0x52 = bVar13; - pLVar21->field_0x53 = bVar14; - pLVar21->field_0x54 = bVar15; - pLVar21->field_0x55 = bVar16; - pLVar21->field_0x56 = bVar17; - pLVar21->field_0x57 = bVar18; - bVar20 = pbVar28[0x29]; - bVar5 = pbVar28[0x2a]; - bVar6 = pbVar28[0x2b]; - bVar7 = pbVar28[0x2c]; - bVar8 = pbVar28[0x2d]; - bVar9 = pbVar28[0x2e]; - bVar10 = pbVar28[0x2f]; - bVar11 = pbVar28[0x30]; - bVar12 = pbVar28[0x31]; - bVar13 = pbVar28[0x32]; - bVar14 = pbVar28[0x33]; - bVar15 = pbVar28[0x34]; - bVar16 = pbVar28[0x35]; - bVar17 = pbVar28[0x36]; - bVar18 = pbVar28[0x37]; - pLVar21->field_0x58 = pbVar28[0x28]; - pLVar21->field_0x59 = bVar20; - pLVar21->field_0x5a = bVar5; - pLVar21->field_0x5b = bVar6; - pLVar21->field_0x5c = bVar7; - pLVar21->field_0x5d = bVar8; - pLVar21->field_0x5e = bVar9; - pLVar21->field_0x5f = bVar10; - pLVar21->field_0x60 = bVar11; - pLVar21->field_0x61 = bVar12; - pLVar21->field_0x62 = bVar13; - pLVar21->field_0x63 = bVar14; - pLVar21->field_0x64 = bVar15; - pLVar21->field_0x65 = bVar16; - pLVar21->field_0x66 = bVar17; - pLVar21->field_0x67 = bVar18; - bVar20 = pbVar28[0x39]; - bVar5 = pbVar28[0x3a]; - bVar6 = pbVar28[0x3b]; - bVar7 = pbVar28[0x3c]; - bVar8 = pbVar28[0x3d]; - bVar9 = pbVar28[0x3e]; - bVar10 = pbVar28[0x3f]; - pLVar21->field_0x68 = pbVar28[0x38]; - pLVar21->field_0x69 = bVar20; - pLVar21->field_0x6a = bVar5; - pLVar21->field_0x6b = bVar6; - pLVar21->field_0x6c = bVar7; - pLVar21->field_0x6d = bVar8; - pLVar21->field_0x6e = bVar9; - pLVar21->field_0x6f = bVar10; - bVar20 = pbVar28[0x41]; - bVar5 = pbVar28[0x42]; - bVar6 = pbVar28[0x43]; - pLVar21->field_0x70 = pbVar28[0x40]; - pLVar21->field_0x71 = bVar20; - pLVar21->field_0x72 = bVar5; - pLVar21->field_0x73 = bVar6; + if ((uVar11 == 0) && (&pLVar9->_color != (ColorMod *)(pbVar16 + 0x18))) { + fVar4 = *(float *)(pbVar16 + 0x1c); + fVar5 = *(float *)(pbVar16 + 0x20); + fVar6 = *(float *)(pbVar16 + 0x24); + (pLVar9->_color)._tint[0] = *(float *)(pbVar16 + 0x18); + (pLVar9->_color)._tint[1] = fVar4; + (pLVar9->_color)._tint[2] = fVar5; + (pLVar9->_color)._tint[3] = fVar6; + fVar4 = *(float *)(pbVar16 + 0x2c); + fVar5 = *(float *)(pbVar16 + 0x30); + fVar6 = *(float *)(pbVar16 + 0x34); + (pLVar9->_color)._colorize[0] = *(float *)(pbVar16 + 0x28); + (pLVar9->_color)._colorize[1] = fVar4; + (pLVar9->_color)._colorize[2] = fVar5; + (pLVar9->_color)._colorize[3] = fVar6; + fVar4 = *(float *)(pbVar16 + 0x3c); + (pLVar9->_color)._offset[0] = *(float *)(pbVar16 + 0x38); + (pLVar9->_color)._offset[1] = fVar4; + (pLVar9->_color)._offset[2] = *(float *)(pbVar16 + 0x40); } - pbVar27 = pbVar27 + 1; - } while (pbVar27 < *(byte **)&this->field_0x88); + pbVar15 = pbVar15 + 1; + } while (pbVar15 < (byte *)(this->_sprite)._layerCount); } player = (Entity_Player *)&player->field_0x44; local_10 = local_10 + 1; - iVar26 = *(int *)((int)&(this->_megaMushPlayerSprite)._filename + - eOverlayID * 0x58 + -0x103c); + iVar14 = *(int *)((int)(&this->_sprite + 1) + eOverlayID * 0x58 + 0x4c); } while (local_10 < - (uint)((*(int *)((int)&(this->_megaMushPlayerSprite)._filename + - eOverlayID * 0x58 + -0x1038) - iVar26) / 0x44)); + (uint)((*(int *)((int)(&this->_sprite + 1) + eOverlayID * 0x58 + 0x50) - iVar14) / + 0x44)); } - pbVar28 = (byte *)((int)&(this->_megaMushPlayerSprite)._filename + eOverlayID * 0x58 + -0x106c); - if (0xf < *(uint *)((int)&(this->_megaMushPlayerSprite)._filename + eOverlayID * 0x58 + -0x1058) - ) { - pbVar28 = *(byte **)pbVar28; + pbVar16 = (byte *)((int)(&this->_sprite + 1) + eOverlayID * 0x58 + 0x1c); + if (0xf < *(uint *)((int)(&this->_sprite + 1) + eOverlayID * 0x58 + 0x30)) { + pbVar16 = *(byte **)pbVar16; } - pbVar1 = *(byte **)&this->field_0x3c; - if (pbVar1 != (byte *)0x0) { - pbVar27 = pbVar1; - if (0xf < *(uint *)(pbVar1 + 0x14)) { - pbVar27 = *(byte **)pbVar1; + pbVar15 = (this->_sprite)._animState._animData; + if (pbVar15 != (byte *)0x0) { + pbVar13 = pbVar15; + if (0xf < *(uint *)(pbVar15 + 0x14)) { + pbVar13 = *(byte **)pbVar15; } - pbVar25 = pbVar28; + pbVar10 = pbVar16; do { - bVar20 = *pbVar27; - bVar29 = bVar20 < *pbVar25; - if (bVar20 != *pbVar25) { + bVar8 = *pbVar13; + bVar17 = bVar8 < *pbVar10; + if (bVar8 != *pbVar10) { LAB_009ad424: - uVar23 = -(uint)bVar29 | 1; + uVar11 = -(uint)bVar17 | 1; goto LAB_009ad429; } - if (bVar20 == 0) break; - bVar20 = pbVar27[1]; - bVar29 = bVar20 < pbVar25[1]; - if (bVar20 != pbVar25[1]) goto LAB_009ad424; - pbVar27 = pbVar27 + 2; - pbVar25 = pbVar25 + 2; - } while (bVar20 != 0); - uVar23 = 0; + if (bVar8 == 0) break; + bVar8 = pbVar13[1]; + bVar17 = bVar8 < pbVar10[1]; + if (bVar8 != pbVar10[1]) goto LAB_009ad424; + pbVar13 = pbVar13 + 2; + pbVar10 = pbVar10 + 2; + } while (bVar8 != 0); + uVar11 = 0; LAB_009ad429: - if ((uVar23 == 0) && ((pbVar1[0x34] == 0 || (this->field_0x4c != '\0')))) goto LAB_009ad452; + if ((uVar11 == 0) && ((pbVar15[0x34] == 0 || ((this->_sprite)._animState._isPlaying != 0)))) + goto LAB_009ad452; } - bVar20 = ANM2::SetAnimation((ANM2 *)&this->field_0x8,pbVar28,1); - if (bVar20 != 0) { - AnimationState::Rewind((AnimationState *)&this->field_0x38); - this->field_0x4c = 1; + bVar8 = ANM2::SetAnimation(&this->_sprite,pbVar16,1); + if (bVar8 != 0) { + AnimationState::Rewind(&(this->_sprite)._animState); + (this->_sprite)._animState._isPlaying = 1; } } LAB_009ad452: - *(uint *)this = 2 - (uint)(delay != 0); - *(int *)&this->field_0x119c = delay; + this->_state = 2 - (uint)(delay != 0); + this->_delay = delay; return; } @@ -882137,7 +883559,7 @@ void Menu_Options::Init(undefined4 *param_1,undefined4 param_2) /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ /* DB: ANM2::Load "gfx/ui/main menu/OptionsMenu.anm2" into this+0x24 (Menu_Options::constructor ANM2 - slot); MenuManager::LoadGraphics and 009b7a20 */ + slot); MenuManager::LoadGraphics and 009b7a20 PauseScreen::load_graphics void Menu_Options::load_menu_anm2(void) @@ -882250,7 +883672,7 @@ void Menu_Options::Update(void) pGVar3 = g_game; if (g_game != (Game *)0x0) { HUD::unload_graphics(&g_game->_hud); - ANM2::Reset((ANM2 *)&pGVar3->_genericPrompt); + ANM2::Reset(&(pGVar3->_genericPrompt)._sprite); (pGVar3->_genericPrompt)._isOnlineVote = 0; ANM2::Reset(&pGVar3->_completionWidgetSprite); } @@ -882369,7 +883791,7 @@ void Menu_Options::Update(void) cVar5 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(iVar6,FUN_00a209e0,&local_34,0,0); pMVar17 = g_manager; if (cVar5 != '\0') { - if (g_manager->_stringTable != in_ECX[0x9e]) { + if (*(int *)&g_manager->_stringTable != in_ECX[0x9e]) { *(undefined1 *)(in_ECX + 0x96) = 1; iVar6 = FUN_0098aef0(); in_ECX[0x97] = iVar6; @@ -882482,7 +883904,7 @@ void Menu_Options::Update(void) iVar6 = 0; iVar15 = *(int *)(in_ECX[0x9f] + in_ECX[2] * 4); if (iVar15 == 0) { - if (g_manager->_stringTable == in_ECX[0x9e]) { + if (*(int *)&g_manager->_stringTable == in_ECX[0x9e]) { MenuManager::push_menu(0xb,in_ECX[2]); iVar6 = 0; goto LAB_009b2b22; @@ -883995,7 +885417,7 @@ void Menu_Options::reload(void) } load_graphics(); LAB_009b530a: - in_ECX[0x9e] = g_manager->_stringTable; + in_ECX[0x9e] = *(int *)&g_manager->_stringTable; return; } @@ -884429,6 +885851,7 @@ void FUN_009b5cb0(void) //@@ 009b5d20 PauseScreen::Update +/* WARNING: Type propagation algorithm not settling */ /* DB: next to PauseScreen::Init 009b5840; #QUIT_DAILY_RUN prompt via GenericPrompt, BackKey, Game::End, DeleteSaveState; called from the menu update 00954cd0 Manager::Update 006fa540 Manager::update_ingame_input @@ -884488,14 +885911,14 @@ void PauseScreen::Update(void) ExceptionList = local_1c; return; } - iVar9 = *(int *)in_ECX; + iVar9 = in_ECX->_state; if (iVar9 == 2) { Menu_Options::Update(); } else if (iVar9 == 3) { update_items_menu(); if (in_ECX->field_0x848 == '\0') { - *(undefined4 *)in_ECX = 1; + in_ECX->_state = 1; ExceptionList = local_1c; return; } @@ -884511,13 +885934,13 @@ void PauseScreen::Update(void) local_28 = InputManager::FirstLocalDeviceID(); } iVar15 = local_28; - iVar9 = *(int *)in_ECX; + iVar9 = in_ECX->_state; if (iVar9 == 0) { if ((local_28 == 0) && ((local_60 = CONCAT44(local_60._4_4_,(undefined4)local_60), - *(int *)&g_manager[1].field_0x1234 != 0 || + *(int *)&g_manager[1]._gamestate.field_0x290 != 0 || (local_60 = CONCAT44(local_60._4_4_,(undefined4)local_60), - 0 < *(int *)&g_manager[1].field_0x127c)))) goto switchD_009b63f7_default; + 0 < *(int *)&g_manager[1]._gamestate.field_0x2d8)))) goto switchD_009b63f7_default; cVar4 = input_is_action_triggered(0xc,local_28,0,0); if (cVar4 == '\0') { local_60 = CONCAT44(local_60._4_4_,(undefined4)local_60); @@ -884538,7 +885961,7 @@ void PauseScreen::Update(void) cVar4 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(local_28,FUN_00a209e0,local_58,0,0); local_60 = CONCAT44(local_60._4_4_,(undefined4)local_60); if (cVar4 != '\0') { - *(undefined4 *)in_ECX = 1; + in_ECX->_state = 1; local_60 = CONCAT44(local_60._4_4_,(undefined4)local_60); } } @@ -884570,7 +885993,7 @@ LAB_009b66f6: uVar6 = online_lobby_get_member_count(); if (1 < uVar6) { *(undefined4 *)&in_ECX[1].field_0x268 = 0; - *(undefined4 *)in_ECX = 6; + in_ECX->_state = 6; } goto LAB_009b6311; } @@ -884715,7 +886138,7 @@ LAB_009b60e4: } else { InviteFriendsMenu::load_graphics(); - *(undefined4 *)in_ECX = 5; + in_ECX->_state = 5; } LAB_009b6311: if (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) { @@ -884725,7 +886148,8 @@ LAB_009b6311: local_58[0] = (Entity_Player *)&DAT_0000001d; cVar4 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(iVar15,FUN_00a209e0,local_58,0,0); if (cVar4 != '\0') { - in_ECX[1].field_0x4a4 = in_ECX[1].field_0x4a4 == '\0'; + *(bool *)&in_ECX[1]._genericPrompt._sprite._animDefaultName._size = + (char)in_ECX[1]._genericPrompt._sprite._animDefaultName._size == '\0'; } } } @@ -884734,12 +886158,14 @@ LAB_009b6311: if (in_ECX->_menuType != 1) { iVar9 = 0x80; } - if (*(int *)(&in_ECX->field_0x0 + iVar9) != 0) { + if (*(int *)((in_ECX->_genericPrompt)._sprite._filename._buf + iVar9 + -0x47c) != 0) { iVar9 = 400; if (in_ECX->_menuType != 1) { iVar9 = 0x7c; } - AnimationState::SetFrameFloat((AnimationState *)(&in_ECX->field_0x0 + iVar9)); + AnimationState::SetFrameFloat + ((AnimationState *)((in_ECX->_genericPrompt)._sprite._filename._buf + iVar9 + -0x47c)) + ; } local_58[0] = (Entity_Player *)&DAT_0000000e; cVar4 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(local_28,FUN_00a209e0,local_58,0,0); @@ -884752,8 +886178,8 @@ LAB_009b6311: iVar15 = 0x80; } local_60 = CONCAT44(local_60._4_4_,(undefined4)local_60); - if (*(int *)(&in_ECX->field_0x0 + iVar15) != 0) { - *(undefined4 *)in_ECX = 2; + if (*(int *)((in_ECX->_genericPrompt)._sprite._filename._buf + iVar15 + -0x47c) != 0) { + in_ECX->_state = 2; Menu_Options::reload(); } break; @@ -884762,8 +886188,8 @@ LAB_009b6311: iVar15 = 0x80; } local_60 = CONCAT44(local_60._4_4_,(undefined4)local_60); - if (*(int *)(&in_ECX->field_0x0 + iVar15) != 0) { - *(undefined4 *)in_ECX = 3; + if (*(int *)((in_ECX->_genericPrompt)._sprite._filename._buf + iVar15 + -0x47c) != 0) { + in_ECX->_state = 3; FUN_008d3250(); if (g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) { pEVar8 = Game::GetPlayer(g_game,(g_game->_pauseScreen)._playerIdx); @@ -884791,8 +886217,8 @@ LAB_009b6311: uVar11 = string_table_translate(&g_manager->_stringTable,"#QUIT_DAILY_RUN_2"); uVar12 = string_table_translate(&g_manager->_stringTable,"#QUIT_DAILY_RUN_1"); FUN_00838230(uVar12,uVar11,local_50,local_58[0],0); - GenericPrompt::Show((GenericPrompt *)&local_40->field_0x47c,0); - *(int *)local_40 = 4; + GenericPrompt::Show(&local_40->_genericPrompt,0); + local_40->_state = 4; in_ECX = local_40; local_60 = CONCAT44(local_60._4_4_,(undefined4)local_60); break; @@ -884801,7 +886227,9 @@ LAB_009b6311: if (in_ECX->_menuType != 1) { iVar9 = 0x7c; } - AnimationState::SetAnimationData((AnimationState *)(&in_ECX->field_0x0 + iVar9),0); + AnimationState::SetAnimationData + ((AnimationState *)((in_ECX->_genericPrompt)._sprite._filename._buf + iVar9 + -0x47c), + 0); pEVar8 = Game::GetPlayer(g_game,0); if (pEVar8->_dead != 0) { pEVar8 = Game::GetPlayer(g_game,0); @@ -884853,9 +886281,10 @@ LAB_009b6686: } } switchD_009b63f7_default: - GenericPrompt::Update((GenericPrompt *)&in_ECX->field_0x47c,1); - if ((((*(int *)&in_ECX->field_0x4b0 == 0) || (in_ECX->field_0x4c0 == '\0')) && - (*(int *)in_ECX == 4)) && (*(int *)in_ECX = 1, *(int *)&in_ECX->field_0x5a8 == 1)) { + GenericPrompt::Update(&in_ECX->_genericPrompt,1); + if (((((in_ECX->_genericPrompt)._sprite._animState._animData == (void *)0x0) || + ((in_ECX->_genericPrompt)._sprite._animState._isPlaying == 0)) && (in_ECX->_state == 4)) && + (iVar9 = *(int *)&(in_ECX->_genericPrompt).field_0x12c, in_ECX->_state = 1, iVar9 == 1)) { Game::End(g_game,1); } local_58[0] = (Entity_Player *)0x15; @@ -885360,7 +886789,8 @@ void __thiscall PauseScreen::Render(PauseScreen *this) if (iVar7 != 1) { iVar6 = 0x2c; } - local_18.x = (float)ANM2::GetLayer((ANM2 *)(&this->field_0x0 + iVar6),(byte *)"Menu Title"); + local_18.x = (float)ANM2::GetLayer((ANM2 *)((this->_genericPrompt)._sprite._filename._buf + + iVar6 + -0x47c),(byte *)"Menu Title"); if ((LayerState *)local_18.x != (LayerState *)0x0) { if ((g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) || ((pGVar8->_dailyChallenge)._id != 0)) { @@ -885376,7 +886806,8 @@ void __thiscall PauseScreen::Render(PauseScreen *this) if (iVar7 != 1) { iVar6 = 0x2c; } - pLVar3 = ANM2::GetLayer((ANM2 *)(&this->field_0x0 + iVar6),(byte *)"SeedPaper"); + pLVar3 = ANM2::GetLayer((ANM2 *)((this->_genericPrompt)._sprite._filename._buf + iVar6 + -0x47c) + ,(byte *)"SeedPaper"); if (pLVar3 != (LayerState *)0x0) { pLVar3->_visible = (pGVar8->_dailyChallenge)._id == 0; iVar7 = this->_menuType; @@ -885387,15 +886818,16 @@ void __thiscall PauseScreen::Render(PauseScreen *this) local_10.x = g_screenWidth * 0.7; local_10.y = g_screenHeight - g_screenHeight * 0.025; } - switch(*(undefined4 *)this) { + switch(this->_state) { case 1: case 4: iVar6 = 0x140; if (iVar7 != 1) { iVar6 = 0x2c; } - ANM2::Render((ANM2 *)(&this->field_0x0 + iVar6),&local_10,&g_vectorZero,&g_vectorZero); - FUN_009b8990(&local_10); + ANM2::Render((ANM2 *)((this->_genericPrompt)._sprite._filename._buf + iVar6 + -0x47c), + &local_10,&g_vectorZero,&g_vectorZero); + render_lobby_buttons(&local_10); pLVar3 = (LayerState *)AnimationState::GetLayerFrame(1); local_18.x = (float)pLVar3; if ((pLVar3 != (LayerState *)0x0) && (this->_menuType != 1)) { @@ -885403,23 +886835,23 @@ void __thiscall PauseScreen::Render(PauseScreen *this) if (*(int *)&this->field_0x2d4 != 0) { do { pLVar4 = ANM2::GetLayer((ANM2 *)&this->field_0x254,layerName); - (pLVar4->_pos).x = *(float *)&pLVar3->field_0x10; - (pLVar4->_pos).y = *(float *)&pLVar3->field_0x14; + (pLVar4->_pos).x = *(float *)((pLVar3->_spriteSheetPath)._buf + 8); + (pLVar4->_pos).y = *(float *)((pLVar3->_spriteSheetPath)._buf + 0xc); pLVar4 = ANM2::GetLayer((ANM2 *)&this->field_0x254,layerName); layerName = layerName + 1; - (pLVar4->_size).x = *(float *)&pLVar3->field_0x18; - (pLVar4->_size).y = *(float *)&pLVar3->field_0x1c; + (pLVar4->_size).x = (float)(pLVar3->_spriteSheetPath)._size; + (pLVar4->_size).y = (float)(pLVar3->_spriteSheetPath)._capacity; } while (layerName < *(byte **)&this->field_0x2d4); } ANM2::Render((ANM2 *)&this->field_0x254,&local_10,&g_vectorZero,&g_vectorZero); } iVar7 = 0x170; - FUN_009b8130(&local_10); + render_seed_paper(&local_10); pGVar8 = g_game; cVar1 = Game::IsInTimedSet(10); if (cVar1 == '\0') { if (this->_menuType == 0) { - FUN_009b83a0(&local_10); + render_my_stuff(&local_10); pGVar8 = g_game; } if (((0 < *(int *)&this->field_0xfa8) && ((pGVar8->_seedEffects)._isCustomRun == 0)) && @@ -885428,19 +886860,20 @@ void __thiscall PauseScreen::Render(PauseScreen *this) if (this->_menuType != 1) { iVar6 = 0x60; } - if (*(int *)(&this->field_0x0 + iVar6) != 0) { + if (*(int *)((this->_genericPrompt)._sprite._filename._buf + iVar6 + -0x47c) != 0) { if (this->_menuType != 1) { iVar7 = 0x5c; } pfVar5 = AnimationState::GetNullFrame - ((AnimationState *)(&this->field_0x0 + iVar7), + ((AnimationState *) + ((this->_genericPrompt)._sprite._filename._buf + iVar7 + -0x47c), (byte *)"CompletionWidget"); if (pfVar5 != (float *)0x0) { local_18.x = local_10.x + *pfVar5; local_18.y = local_10.y + pfVar5[1]; CompletionWidget::Render ((CompletionWidget *)&this->field_0xe90,&local_18,(Vector *)(pfVar5 + 4)); - GenericPrompt::Render((GenericPrompt *)&this->field_0x47c); + GenericPrompt::Render(&this->_genericPrompt); return; } } @@ -885449,20 +886882,20 @@ void __thiscall PauseScreen::Render(PauseScreen *this) break; case 2: Menu_Options::Render(); - GenericPrompt::Render((GenericPrompt *)&this->field_0x47c); + GenericPrompt::Render(&this->_genericPrompt); return; case 3: - FUN_008d3640(); - GenericPrompt::Render((GenericPrompt *)&this->field_0x47c); + render_items_page(); + GenericPrompt::Render(&this->_genericPrompt); return; case 5: InviteFriendsMenu::Render(); - GenericPrompt::Render((GenericPrompt *)&this->field_0x47c); + GenericPrompt::Render(&this->_genericPrompt); return; case 6: - FUN_008d1600(); + kick_player_menu_render(); } - GenericPrompt::Render((GenericPrompt *)&this->field_0x47c); + GenericPrompt::Render(&this->_genericPrompt); } return; } @@ -885654,13 +887087,13 @@ LAB_009b7713: SFXManager::StopLoopingSounds(); FUN_006f4170(); iVar4 = 0x140; - *(undefined4 *)this = 1; + this->_state = 1; iVar10 = 0x140; *(undefined4 *)&this->field_0x8 = 2; if (this->_menuType != 1) { iVar10 = 0x2c; } - this_00 = (ANM2 *)(&this->field_0x0 + iVar10); + this_00 = (ANM2 *)((this->_genericPrompt)._sprite._filename._buf + iVar10 + -0x47c); bVar3 = ANM2::SetAnimation(this_00,(byte *)"Appear",1); if (bVar3 != 0) { AnimationState::Rewind(&this_00->_animState); @@ -885740,7 +887173,8 @@ LAB_009b77c7: if (iVar11 != 1) { iVar10 = 0x2c; } - local_10 = ANM2::GetLayer((ANM2 *)(&this->field_0x0 + iVar10),(byte *)"Invite"); + local_10 = ANM2::GetLayer((ANM2 *)((this->_genericPrompt)._sprite._filename._buf + iVar10 + -0x47c + ),(byte *)"Invite"); if (local_10 != (LayerState *)0x0) { local_10->_visible = g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1); iVar11 = this->_menuType; @@ -885749,7 +887183,8 @@ LAB_009b77c7: if (iVar11 != 1) { iVar10 = 0x2c; } - local_10 = ANM2::GetLayer((ANM2 *)(&this->field_0x0 + iVar10),&DAT_00b79bb0); + local_10 = ANM2::GetLayer((ANM2 *)((this->_genericPrompt)._sprite._filename._buf + iVar10 + -0x47c + ),&DAT_00b79bb0); if (local_10 != (LayerState *)0x0) { if ((g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) || ((uint)((int)*(NetplayManager *)(g_manager + 1) - (int)g_manager->_netplayManager >> 2) < 2)) @@ -885765,7 +887200,8 @@ LAB_009b77c7: if (iVar11 != 1) { iVar4 = 0x2c; } - pLVar6 = ANM2::GetLayer((ANM2 *)(&this->field_0x0 + iVar4),(byte *)"Blood"); + pLVar6 = ANM2::GetLayer((ANM2 *)((this->_genericPrompt)._sprite._filename._buf + iVar4 + -0x47c), + (byte *)"Blood"); if (pLVar6 != (LayerState *)0x0) { pLVar6->_visible = g_game->_difficulty == 1; } @@ -885774,11 +887210,14 @@ LAB_009b77c7: } -//@@ 009b7a20 FUN_009b7a20 +//@@ 009b7a20 PauseScreen::load_graphics /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: called by graphics-reload helper FUN_00954710 (with Manager::load_fonts, + AchievementOverlay::load_graphics) when g_game; loads gfx/ui/PauseScreen(.anm2|_small), Death + Screen.anm2, PauseScreenStats.anm2, menu_mystuff.png into this+0x2c */ -void FUN_009b7a20(void) +void PauseScreen::load_graphics(void) { int iVar1; @@ -886155,11 +887594,15 @@ LAB_009b8065: } -//@@ 009b8130 FUN_009b8130 +//@@ 009b8130 PauseScreen::render_seed_paper /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ECX=PauseScreen (sprite +0x140 when _menuType (+4) == 1 else +0x2c, same pattern as + PauseScreen::Update); only caller PauseScreen::Render (9b7383); shows the "SeedPaper" layer when + no daily challenge, draws Seeds::Seed2String at a null frame with Font::DrawStringScaled ("Error: + Game Start Seed was not set.") */ -void FUN_009b8130(float *param_1) +void PauseScreen::render_seed_paper(float *param_1) { uint uVar1; @@ -886292,11 +887735,14 @@ void FUN_009b8130(float *param_1) } -//@@ 009b83a0 FUN_009b83a0 +//@@ 009b83a0 PauseScreen::render_my_stuff /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: only caller PauseScreen::Render (0x9b73ac, ECX=this); renders layers + MyStuff/StuffArrow1/StuffArrow2 of sprite +0x140/+0x2c, ModManager::RenderCustomCollectionItem, + ItemConfig::GetCollectible per player item */ -void FUN_009b83a0(float *param_1) +void PauseScreen::render_my_stuff(float *param_1) { byte bVar1; @@ -886547,9 +887993,13 @@ LAB_009b8908: } -//@@ 009b8990 FUN_009b8990 +//@@ 009b8990 PauseScreen::render_lobby_buttons -void FUN_009b8990(float *param_1) +/* DB: only caller PauseScreen::Render (0x9b72d9); layers + InviteButton/KickButton/PasswordButton/PasswordPos, lobby_password_render, + NetplayManager::IsIdxLocalPlayer, render_input_button_icon */ + +void PauseScreen::render_lobby_buttons(float *param_1) { Vector pos; @@ -886823,7 +888273,7 @@ void PlayerManager::~PlayerManager(void) /* DB: ? creates player 0 if the list is empty (operator_new 0x2f00, Entity_Player::constructor), Init vfunc (1,0,playerType,..), pos (320,400), EntityList::AddEntity; resets slot arrays and - HUD::AssignPlayerHUDs; callers Game::restore_game_state, 006f6500, 0042a4d0 */ + HUD::AssignPlayerHUDs; callers Game::restore_game_state, 006f6500, 0042a4d0 DeathmatchTypeBase::Init void PlayerManager::init_main_player(int param_1,Entity_Player *param_2) @@ -887706,23 +889156,23 @@ LAB_009ba5d2: } while (uVar10 < (uint)((int)(this->_playerList)._end - (int)(this->_playerList)._begin >> 2)); } pGVar5 = g_game; - *(undefined4 *)&this->field_0xc = 0xffffffff; + this->_coopSlots[0]._controllerIndex = -1; pHVar15 = &pGVar5->_hud; - *(undefined4 *)&this->field_0x20 = 0xffffffff; - *(undefined4 *)&this->field_0x14 = 0xffffffff; - *(undefined4 *)&this->field_0x18 = 0; - *(undefined4 *)&this->field_0x10 = 0; - *(undefined4 *)&this->field_0x28 = 0xffffffff; - *(undefined4 *)&this->field_0x2c = 0; - *(undefined4 *)&this->field_0x24 = 0; - *(undefined4 *)&this->field_0x34 = 0xffffffff; - *(undefined4 *)&this->field_0x3c = 0xffffffff; - *(undefined4 *)&this->field_0x40 = 0; - *(undefined4 *)&this->field_0x38 = 0; - *(undefined4 *)&this->field_0x48 = 0xffffffff; - *(undefined4 *)&this->field_0x50 = 0xffffffff; - *(undefined4 *)&this->field_0x54 = 0; - *(undefined4 *)&this->field_0x4c = 0; + this->_coopSlots[1]._controllerIndex = -1; + this->_coopSlots[0]._state = -1; + this->_coopSlots[0]._menuPosition = 0.0; + this->_coopSlots[0]._playerType = 0; + this->_coopSlots[1]._state = -1; + this->_coopSlots[1]._menuPosition = 0.0; + this->_coopSlots[1]._playerType = 0; + this->_coopSlots[2]._controllerIndex = -1; + this->_coopSlots[2]._state = -1; + this->_coopSlots[2]._menuPosition = 0.0; + this->_coopSlots[2]._playerType = 0; + this->_coopSlots[3]._controllerIndex = -1; + this->_coopSlots[3]._state = -1; + this->_coopSlots[3]._menuPosition = 0.0; + this->_coopSlots[3]._playerType = 0; player = (Entity_Player *)pHVar15; remove_coplayer_slot(pEVar13); piVar16 = (int *)&(pGVar5->_hud).field_0x5ab8; @@ -888001,86 +889451,96 @@ void FUN_009baa10(char param_1) "could not find NetInputDevice with controllerID"; scans the controller slots at this+0xc for param and returns the slot index */ -uint PlayerManager::GetPlayerSlotFromController(int param_1) +uint __thiscall PlayerManager::GetPlayerSlotFromController(PlayerManager *this,int param_2) { - char cVar1; + int iVar1; int iVar2; - NetplayManager NVar3; - int in_ECX; - uint uVar4; - undefined4 *puVar5; - uint uVar6; - uint uVar7; - bool bVar8; - int *local_10; + float fVar3; + byte bVar4; + undefined3 uVar5; + char cVar6; + int iVar7; + NetplayManager NVar8; + uint uVar9; + CoopJoinSlot *pCVar10; + uint uVar11; + uint uVar12; + bool bVar13; + CoopJoinSlot *local_10; - if (param_1 < 0) { + if (param_2 < 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(8, "PlayerManager::GetPlayerSlotFromController() recieved invalid controllerID (%d) \n" - ,param_1); + ,param_2); } - bVar8 = false; + bVar13 = false; if (g_manager->_netplayManager != *(NetplayManager *)(g_manager + 1)) { - iVar2 = FUN_0090b010(param_1); - if (iVar2 == 0) { + iVar7 = FUN_0090b010(param_2); + if (iVar7 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(8, "PlayerManager::GetPlayerSlotFromController() could not find NetInputDevice with controllerID(%d) \n" - ,param_1); + ,param_2); } - cVar1 = (**(code **)(*(int *)(iVar2 + 0x370) + 0x14))(); - bVar8 = cVar1 == '\0'; + cVar6 = (**(code **)(*(int *)(iVar7 + 0x370) + 0x14))(); + bVar13 = cVar6 == '\0'; } - local_10 = (int *)(in_ECX + 0xc); - uVar6 = 0; + local_10 = this->_coopSlots; + uVar11 = 0; do { - iVar2 = *local_10; - if (iVar2 == param_1) { - return uVar6; + iVar7 = local_10->_controllerIndex; + if (iVar7 == param_2) { + return uVar11; } - NVar3 = g_manager->_netplayManager; - if ((NVar3 != *(NetplayManager *)(g_manager + 1)) && (!bVar8)) { - if (iVar2 < 0) { + NVar8 = g_manager->_netplayManager; + if ((NVar8 != *(NetplayManager *)(g_manager + 1)) && (!bVar13)) { + if (iVar7 < 0) { LAB_009babda: - *(int *)(in_ECX + 0xc + uVar6 * 0x14) = param_1; - *(undefined4 *)(in_ECX + 0x14 + uVar6 * 0x14) = 0xffffffff; - return uVar6; + this->_coopSlots[uVar11]._controllerIndex = param_2; + this->_coopSlots[uVar11]._state = -1; + return uVar11; } - uVar4 = 0; - uVar7 = (int)*(NetplayManager *)(g_manager + 1) - (int)NVar3 >> 2; - if (uVar7 != 0) { + uVar9 = 0; + uVar12 = (int)*(NetplayManager *)(g_manager + 1) - (int)NVar8 >> 2; + if (uVar12 != 0) { do { - if (*(int *)(*(int *)NVar3 + 0xc) == iVar2) { - cVar1 = (**(code **)(*(int *)(*(int *)NVar3 + 0x370) + 0x14))(); - if (cVar1 == '\0') { - if (uVar6 < 3) { - iVar2 = 3 - uVar6; - puVar5 = (undefined4 *)(in_ECX + 0x48); + if (*(int *)(*(int *)NVar8 + 0xc) == iVar7) { + cVar6 = (**(code **)(*(int *)(*(int *)NVar8 + 0x370) + 0x14))(); + if (cVar6 == '\0') { + if (uVar11 < 3) { + iVar7 = 3 - uVar11; + pCVar10 = this->_coopSlots + 3; do { - *puVar5 = puVar5[-5]; - puVar5[1] = puVar5[-4]; - puVar5[2] = puVar5[-3]; - puVar5[3] = puVar5[-2]; - puVar5[4] = puVar5[-1]; - iVar2 = iVar2 + -1; - puVar5 = puVar5 + -5; - } while (iVar2 != 0); + bVar4 = pCVar10[-0xffffffff00000001]._isPlayerTypeForced; + uVar5 = *(undefined3 *)&pCVar10[-0xffffffff00000001].field_0x11; + iVar1 = pCVar10[-1]._playerType; + iVar2 = pCVar10[-1]._state; + fVar3 = pCVar10[-1]._menuPosition; + pCVar10->_controllerIndex = pCVar10[-1]._controllerIndex; + pCVar10->_playerType = iVar1; + pCVar10->_state = iVar2; + pCVar10->_menuPosition = fVar3; + pCVar10->_isPlayerTypeForced = bVar4; + *(undefined3 *)&pCVar10->field_0x11 = uVar5; + iVar7 = iVar7 + -1; + pCVar10 = pCVar10 + -1; + } while (iVar7 != 0); } goto LAB_009babda; } break; } - uVar4 = uVar4 + 1; - NVar3 = (NetplayManager)((int)NVar3 + 4); - } while (uVar4 < uVar7); + uVar9 = uVar9 + 1; + NVar8 = (NetplayManager)((int)NVar8 + 4); + } while (uVar9 < uVar12); } } - if (*local_10 < 0) goto LAB_009babda; - uVar6 = uVar6 + 1; - local_10 = local_10 + 5; - if (3 < uVar6) { + if (local_10->_controllerIndex < 0) goto LAB_009babda; + uVar11 = uVar11 + 1; + local_10 = local_10 + 1; + if (3 < uVar11) { return 0xffffffff; } } while( true ); @@ -888124,18 +889584,18 @@ void PlayerManager::handle_coop_join(void) { HUD *pHVar1; byte bVar2; - void *pvVar3; - int iVar4; - PlayerManager *pPVar5; - Manager *pMVar6; + int iVar3; + PlayerManager *pPVar4; + Manager *pMVar5; + char cVar6; char cVar7; - char cVar8; - uint uVar9; - int *piVar10; - ChallengeParam *pCVar11; - byte *pbVar12; - uint uVar13; - undefined4 uVar14; + uint uVar8; + int *piVar9; + ChallengeParam *pCVar10; + byte *pbVar11; + uint uVar12; + undefined4 uVar13; + void *pvVar14; byte unusedBool; PlayerManager *in_ECX; Entity_Player *pEVar15; @@ -888145,10 +889605,9 @@ void PlayerManager::handle_coop_join(void) char extraout_DL; int *piVar18; float fVar19; - undefined1 *puVar20; - int iVar21; - bool bVar22; - Entity_Player *pEVar23; + int iVar20; + bool bVar21; + Entity_Player *pEVar22; float local_38; float local_34; int *local_30; @@ -888166,7 +889625,7 @@ void PlayerManager::handle_coop_join(void) local_8 = 0xffffffff; puStack_c = &LAB_00b0e93d; local_10 = ExceptionList; - uVar9 = __security_cookie ^ (int)register0x00000010 - 4U; + uVar8 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; local_20 = in_ECX; if (g_manager->_netplayManager == *(NetplayManager *)(g_manager + 1)) { @@ -888174,53 +889633,53 @@ void PlayerManager::handle_coop_join(void) while( true ) { local_8 = 0xffffffff; local_18 = fVar19; - (**(code **)(PTR_vftable_00c57b2c + 0xc))(0xffffffff,uVar9); - iVar21 = DAT_00c57b24 - _DAT_00c57b20; + (**(code **)(PTR_vftable_00c57b2c + 0xc))(0xffffffff,uVar8); + iVar20 = DAT_00c57b24 - _DAT_00c57b20; local_8 = 0; (**(code **)(PTR_vftable_00c57b2c + 0x10))(); local_8 = 0xffffffff; - if ((uint)(iVar21 >> 3) <= (uint)fVar19) break; + if ((uint)(iVar20 >> 3) <= (uint)fVar19) break; KAGE::Input::Manager::get_device(&local_30,fVar19); local_8 = 1; if (local_30 == (int *)0x0) { local_8 = 2; if (local_2c == (int *)0x0) goto LAB_009bb25d; - cVar7 = (**(code **)(*local_2c + 0xc))(); - if ((cVar7 == '\0') || (g_inputDeviceRelease == (void *)0x0)) goto LAB_009bb25d; + cVar6 = (**(code **)(*local_2c + 0xc))(); + if ((cVar6 == '\0') || (g_inputDeviceRelease == (void *)0x0)) goto LAB_009bb25d; (*g_inputDeviceRelease)(&local_30); fVar19 = (float)((int)fVar19 + 1); } else { - iVar21 = local_30[3]; + iVar20 = local_30[3]; local_24 = (Entity_Player *)0x0; - bVar22 = false; + bVar21 = false; local_14 = (Entity_Player *)0x0; if ((int)(g_game->_playerManager)._playerList._end - (int)(g_game->_playerManager)._playerList._begin >> 2 != 0) { - pvVar3 = (in_ECX->_playerList)._end; + pvVar14 = (in_ECX->_playerList)._end; piVar18 = (in_ECX->_playerList)._begin; do { - local_1c = iVar21; - if ((int)pvVar3 - (int)piVar18 >> 2 == 0) { + local_1c = iVar20; + if ((int)pvVar14 - (int)piVar18 >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - pEVar15 = (Entity_Player *)((int)pvVar3 - (int)piVar18 >> 2); - piVar10 = piVar18 + (int)local_14; + pEVar15 = (Entity_Player *)((int)pvVar14 - (int)piVar18 >> 2); + piVar9 = piVar18 + (int)local_14; if (pEVar15 <= local_14) { - piVar10 = piVar18; + piVar9 = piVar18; } - if (*(int *)(*piVar10 + 0x1618) == iVar21) { - bVar22 = true; + if (*(int *)(*piVar9 + 0x1618) == iVar20) { + bVar21 = true; if (pEVar15 == (Entity_Player *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - piVar10 = piVar18 + (int)local_14; - if ((Entity_Player *)((int)pvVar3 - (int)piVar18 >> 2) <= local_14) { - piVar10 = piVar18; + piVar9 = piVar18 + (int)local_14; + if ((Entity_Player *)((int)pvVar14 - (int)piVar18 >> 2) <= local_14) { + piVar9 = piVar18; } - local_24 = (Entity_Player *)*piVar10; + local_24 = (Entity_Player *)*piVar9; } local_14 = (Entity_Player *)&local_14->field_0x1; in_ECX = local_20; @@ -888233,32 +889692,36 @@ void PlayerManager::handle_coop_join(void) iVar16 = (int)(in_ECX->_extraPlayers)._end - (int)piVar18 >> 2; if (iVar16 != 0) { do { - iVar4 = *piVar18; + iVar3 = *piVar18; piVar18 = piVar18 + 1; - if (*(int *)(iVar4 + 0x1618) == iVar21) { - bVar22 = true; + if (*(int *)(iVar3 + 0x1618) == iVar20) { + bVar21 = true; } iVar16 = iVar16 + -1; } while (iVar16 != 0); in_ECX = local_20; } - if ((*(int *)&in_ECX->field_0xc == iVar21) && (-1 < *(int *)&in_ECX->field_0x14)) { - bVar22 = true; + if ((in_ECX->_coopSlots[0]._controllerIndex == iVar20) && + (-1 < in_ECX->_coopSlots[0]._state)) { + bVar21 = true; } - if ((*(int *)&in_ECX->field_0x20 == iVar21) && (-1 < *(int *)&in_ECX->field_0x28)) { - bVar22 = true; + if ((in_ECX->_coopSlots[1]._controllerIndex == iVar20) && + (-1 < in_ECX->_coopSlots[1]._state)) { + bVar21 = true; } - if ((*(int *)&in_ECX->field_0x34 == iVar21) && (-1 < *(int *)&in_ECX->field_0x3c)) { - bVar22 = true; + if ((in_ECX->_coopSlots[2]._controllerIndex == iVar20) && + (-1 < in_ECX->_coopSlots[2]._state)) { + bVar21 = true; } - if ((*(int *)&in_ECX->field_0x48 == iVar21) && (-1 < *(int *)&in_ECX->field_0x50)) { - bVar22 = true; + if ((in_ECX->_coopSlots[3]._controllerIndex == iVar20) && + (-1 < in_ECX->_coopSlots[3]._state)) { + bVar21 = true; LAB_009bae76: local_1c = 1; - cVar8 = CoopBabiesOnly(); + cVar7 = CoopBabiesOnly(); pEVar15 = local_24; - cVar7 = extraout_DL; - if (cVar8 != '\0') { + cVar6 = extraout_DL; + if (cVar7 != '\0') { piVar18 = (in_ECX->_playerList)._begin; if ((int)(in_ECX->_playerList)._end - (int)piVar18 >> 2 == 0) { /* WARNING: Subroutine does not return */ @@ -888266,60 +889729,60 @@ LAB_009bae76: } iVar16 = *piVar18; if ((uint)(*(int *)(iVar16 + 0x134c) + *(int *)(iVar16 + 0x1344)) < 3) { - cVar7 = '\0'; + cVar6 = '\0'; } } if ((g_game->_dailyChallenge)._id == 0) { - if ((cVar7 == '\0') || + if ((cVar6 == '\0') || (0x3f < (uint)((int)(g_game->_playerManager)._playerList._end - (int)(g_game->_playerManager)._playerList._begin >> 2))) { - if (bVar22) goto LAB_009bb10b; + if (bVar21) goto LAB_009bb10b; } - else if (bVar22) { + else if (bVar21) { LAB_009bb10b: if ((local_24 != (Entity_Player *)0x0) && (local_24->_parent == (EntityPtr)0x0)) { local_24 = (Entity_Player *)&DAT_00000013; - cVar7 = (**(code **)(PTR_vftable_00c57b18 + 0x74)) - (iVar21,FUN_00a209e0,&local_24,0,0); - if ((cVar7 != '\0') && (pEVar15->_variant != 0)) { + cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74)) + (iVar20,FUN_00a209e0,&local_24,0,0); + if ((cVar6 != '\0') && (pEVar15->_variant != 0)) { if (((pEVar15->_sprite)._animState._animData != (void *)0x0) && ((pEVar15->_sprite)._animState._isPlaying != 0)) { - pbVar12 = (pEVar15->_sprite)._animState._animData; - if (0xf < *(uint *)(pbVar12 + 0x14)) { - pbVar12 = *(byte **)pbVar12; + pbVar11 = (pEVar15->_sprite)._animState._animData; + if (0xf < *(uint *)(pbVar11 + 0x14)) { + pbVar11 = *(byte **)pbVar11; } pcVar17 = "Appear"; do { - bVar2 = *pbVar12; - bVar22 = bVar2 < (byte)*pcVar17; + bVar2 = *pbVar11; + bVar21 = bVar2 < (byte)*pcVar17; if (bVar2 != *pcVar17) { LAB_009bb198: - uVar13 = -(uint)bVar22 | 1; + uVar12 = -(uint)bVar21 | 1; goto LAB_009bb19d; } if (bVar2 == 0) break; - bVar2 = pbVar12[1]; - bVar22 = bVar2 < (byte)pcVar17[1]; + bVar2 = pbVar11[1]; + bVar21 = bVar2 < (byte)pcVar17[1]; if (bVar2 != pcVar17[1]) goto LAB_009bb198; - pbVar12 = pbVar12 + 2; + pbVar11 = pbVar11 + 2; pcVar17 = pcVar17 + 2; } while (bVar2 != 0); - uVar13 = 0; + uVar12 = 0; LAB_009bb19d: - if (uVar13 == 0) goto LAB_009bb22f; + if (uVar12 == 0) goto LAB_009bb22f; } piVar18 = (in_ECX->_playerList)._begin; if ((int)(in_ECX->_playerList)._end - (int)piVar18 >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - iVar21 = *piVar18; - if ((*(char *)(iVar21 + 0x1398) == '\0') && (*(char *)(iVar21 + 0x139a) == '\0')) + iVar20 = *piVar18; + if ((*(char *)(iVar20 + 0x1398) == '\0') && (*(char *)(iVar20 + 0x139a) == '\0')) { - uVar14 = Random(); + uVar13 = Random(); local_38 = (pEVar15->_pos).x + 0.0; local_34 = (pEVar15->_pos).y - 10.0; - Game::Spawn(1000,0xf,&local_38,&g_vectorZero,0,0,uVar14); + Game::Spawn(1000,0xf,&local_38,&g_vectorZero,0,0,uVar13); RemoveCoPlayer(in_ECX,pEVar15,unusedBool); } } @@ -888327,64 +889790,65 @@ LAB_009bb19d: } else { local_24 = (Entity_Player *)&DAT_00000013; - cVar7 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(iVar21,FUN_00a209e0,&local_24,0,0); - if ((cVar7 != '\0') && (iVar16 = GetPlayerSlotFromController(iVar21), -1 < iVar16)) { - cVar7 = CoopBabiesOnly(); - if (cVar7 == '\0') { + cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(iVar20,FUN_00a209e0,&local_24,0,0); + if ((cVar6 != '\0') && + (iVar16 = GetPlayerSlotFromController(in_ECX,iVar20), -1 < iVar16)) { + cVar6 = CoopBabiesOnly(); + if (cVar6 == '\0') { if ((g_game->_challenge == 0) && ((g_game->_dailyChallenge)._id == 0)) { (**(code **)(*local_30 + 0x54))(0x13); - *(undefined4 *)(&in_ECX->field_0x10 + iVar16 * 0x14) = 0; - *(undefined4 *)(&in_ECX->field_0x14 + iVar16 * 0x14) = 1; - *(undefined4 *)(&in_ECX->field_0x18 + iVar16 * 0x14) = 0x3f800000; - (&in_ECX->field_0x1c)[iVar16 * 0x14] = 0; + in_ECX->_coopSlots[iVar16]._playerType = 0; + in_ECX->_coopSlots[iVar16]._state = 1; + in_ECX->_coopSlots[iVar16]._menuPosition = 1.0; + in_ECX->_coopSlots[iVar16]._isPlayerTypeForced = 0; } else { - pCVar11 = Game::GetChallengeParams(g_game); - *(int *)(&in_ECX->field_0x10 + iVar16 * 0x14) = pCVar11->_playerType; - *(undefined4 *)(&in_ECX->field_0x14 + iVar16 * 0x14) = 1; - *(undefined4 *)(&in_ECX->field_0x18 + iVar16 * 0x14) = 0x3f800000; - (&in_ECX->field_0x1c)[iVar16 * 0x14] = 1; + pCVar10 = Game::GetChallengeParams(g_game); + in_ECX->_coopSlots[iVar16]._playerType = pCVar10->_playerType; + in_ECX->_coopSlots[iVar16]._state = 1; + in_ECX->_coopSlots[iVar16]._menuPosition = 1.0; + in_ECX->_coopSlots[iVar16]._isPlayerTypeForced = 1; } } else { - spawn_coop_baby_for_join(0xffffffff,iVar21); + spawn_coop_baby_for_join(0xffffffff,iVar20); } } } } else { - if (bVar22) goto LAB_009bb10b; + if (bVar21) goto LAB_009bb10b; local_28 = 2.66247e-44; - cVar7 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(iVar21,FUN_00a209e0,&local_28,0,0); - pMVar6 = g_manager; - if (cVar7 != '\0') { + cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(iVar20,FUN_00a209e0,&local_28,0,0); + pMVar5 = g_manager; + if (cVar6 != '\0') { local_1c = 0xbb; seed_fart_sound_override(); - SoundEffects::Play(&pMVar6->_sfxManager,local_1c,0.5,2,0,1.0,0.0); + SoundEffects::Play(&pMVar5->_sfxManager,local_1c,0.5,2,0,1.0,0.0); } } LAB_009bb22f: local_8 = 4; } else { - if (bVar22) goto LAB_009bae76; + if (bVar21) goto LAB_009bae76; local_1c = 0x13; - cVar7 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(iVar21,FUN_00a209e0,&local_1c,0,0); - if (cVar7 == '\0') goto LAB_009bae76; + cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(iVar20,FUN_00a209e0,&local_1c,0,0); + if (cVar6 == '\0') goto LAB_009bae76; local_1c = 8; - cVar7 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(iVar21,FUN_00a20940,&local_1c,0,0); - if (cVar7 == '\0') goto LAB_009bae76; + cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(iVar20,FUN_00a20940,&local_1c,0,0); + if (cVar6 == '\0') goto LAB_009bae76; local_1c = 10; - cVar7 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(iVar21,FUN_00a20940,&local_1c,0,0); - if (cVar7 == '\0') goto LAB_009bae76; + cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74))(iVar20,FUN_00a20940,&local_1c,0,0); + if (cVar6 == '\0') goto LAB_009bae76; if (g_game != (Game *)0x0) { Console::print_format(&g_game->_console,"Joining as possessor\n"); } pEVar15 = (Entity_Player *)SpawnCoPlayer2(in_ECX,0xffffffff); - Entity_Player::SetControllerIndex(pEVar15,iVar21,1); + Entity_Player::SetControllerIndex(pEVar15,iVar20,1); local_8 = 3; } - if (((local_2c != (int *)0x0) && (cVar7 = (**(code **)(*local_2c + 0xc))(), cVar7 != '\0')) + if (((local_2c != (int *)0x0) && (cVar6 = (**(code **)(*local_2c + 0xc))(), cVar6 != '\0')) && (g_inputDeviceRelease != (void *)0x0)) { (*g_inputDeviceRelease)(&local_30); } @@ -888394,125 +889858,129 @@ LAB_009bb25d: } } local_20 = (PlayerManager *)&DAT_00000004; - pPVar5 = in_ECX; + pPVar4 = in_ECX; do { - puVar20 = &pPVar5->field_0x14; - if ((-1 < *(int *)&pPVar5->field_0xc) && (-1 < *(int *)puVar20)) { - cVar7 = CoopBabiesOnly(); - if (cVar7 == '\0') { + piVar18 = &pPVar4->_coopSlots[0]._state; + if ((-1 < pPVar4->_coopSlots[0]._controllerIndex) && (-1 < *piVar18)) { + cVar6 = CoopBabiesOnly(); + if (cVar6 == '\0') { local_28 = 2.8026e-44; - cVar7 = (**(code **)(PTR_vftable_00c57b18 + 0x74)) + cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74)) (extraout_ECX,FUN_00a209e0,&local_28,0,0); - if (cVar7 == '\0') { + if (cVar6 == '\0') { local_28 = 2.94273e-44; - cVar7 = (**(code **)(PTR_vftable_00c57b18 + 0x74)) - (*(undefined4 *)&pPVar5->field_0xc,FUN_00a209e0,&local_28,0,0); - if (cVar7 == '\0') { + cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74)) + (pPVar4->_coopSlots[0]._controllerIndex,FUN_00a209e0,&local_28,0,0); + if (cVar6 == '\0') { local_28 = 1.96182e-44; - cVar7 = (**(code **)(PTR_vftable_00c57b18 + 0x74)) - (*(undefined4 *)&pPVar5->field_0xc,FUN_00a209e0,&local_28,0,0); - if ((cVar7 == '\0') && (pPVar5->field_0x1c == '\0')) { + cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74)) + (pPVar4->_coopSlots[0]._controllerIndex,FUN_00a209e0,&local_28,0,0); + if ((cVar6 == '\0') && (pPVar4->_coopSlots[0]._isPlayerTypeForced == 0)) { local_1c = 0xf; - cVar7 = (**(code **)(PTR_vftable_00c57b18 + 0x74)) - (*(undefined4 *)&pPVar5->field_0xc,FUN_00a209e0,&local_1c,0,0); - if (cVar7 == '\0') goto LAB_009bb567; + cVar6 = (**(code **)(PTR_vftable_00c57b18 + 0x74)) + (pPVar4->_coopSlots[0]._controllerIndex,FUN_00a209e0,&local_1c,0,0 + ); + if (cVar6 == '\0') goto LAB_009bb567; } else { - iVar21 = *(int *)&pPVar5->field_0x10; - pPVar5->field_0x1c = 0; - if (iVar21 == -1) { - iVar21 = *(int *)&in_ECX->field_0x70; - uVar9 = (*(int *)&in_ECX->field_0x74 - iVar21 >> 2) - 1; - if (uVar9 == 0) { - uVar13 = 0; + iVar20 = pPVar4->_coopSlots[0]._playerType; + pPVar4->_coopSlots[0]._isPlayerTypeForced = 0; + if (iVar20 == -1) { + pvVar14 = (in_ECX->_coopPlayerTypes)._begin; + uVar8 = ((int)(in_ECX->_coopPlayerTypes)._end - (int)pvVar14 >> 2) - 1; + if (uVar8 == 0) { + uVar12 = 0; } else { - uVar13 = Random(); - uVar13 = uVar13 % uVar9; - iVar21 = *(int *)&in_ECX->field_0x70; + uVar12 = Random(); + uVar12 = uVar12 % uVar8; + pvVar14 = (in_ECX->_coopPlayerTypes)._begin; } - iVar21 = *(int *)(iVar21 + 4 + uVar13 * 4); + iVar20 = *(int *)((int)pvVar14 + uVar12 * 4 + 4); } - local_14 = (Entity_Player *)SpawnCoPlayer2(&g_game->_playerManager,iVar21); - Entity_Player::SetControllerIndex(local_14,*(undefined4 *)&pPVar5->field_0xc,1); - piVar18 = (g_game->_playerManager)._playerList._begin; - if ((int)(g_game->_playerManager)._playerList._end - (int)piVar18 >> 2 == 0) { + local_14 = (Entity_Player *)SpawnCoPlayer2(&g_game->_playerManager,iVar20); + Entity_Player::SetControllerIndex(local_14,pPVar4->_coopSlots[0]._controllerIndex,1) + ; + piVar9 = (g_game->_playerManager)._playerList._begin; + if ((int)(g_game->_playerManager)._playerList._end - (int)piVar9 >> 2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"PlayerManager::GetPlayer() : There are no players! \n"); } - iVar21 = *piVar18; - local_28 = *(float *)(iVar21 + 0x33c); - local_18 = *(float *)(iVar21 + 0x340); - iVar21 = Random(); - fVar19 = (float)((double)iVar21 + __uint_to_double_fixup[-(iVar21 >> 0x1f)]) * + iVar20 = *piVar9; + local_28 = *(float *)(iVar20 + 0x33c); + local_18 = *(float *)(iVar20 + 0x340); + iVar20 = Random(); + fVar19 = (float)((double)iVar20 + __uint_to_double_fixup[-(iVar20 >> 0x1f)]) * 2.3283064e-10 * 3.14; pEVar15 = (Entity_Player *)(fVar19 + fVar19); local_24 = pEVar15; cos(); local_28 = (float)pEVar15 * 10.0 + local_28; - pEVar23 = local_24; + pEVar22 = local_24; sin(); pEVar15 = local_14; pHVar1 = &g_game->_hud; (local_14->_pos).x = local_28; - (local_14->_pos).y = (float)pEVar23 * 10.0 + local_18; + (local_14->_pos).y = (float)pEVar22 * 10.0 + local_18; HUD::AssignPlayerHUDs(pHVar1); Entity_Player::InitPostLevelInitStats(pEVar15); pEVar15->_controlsCooldown = 0xf; - uVar14 = Random(); + uVar13 = Random(); local_38 = (pEVar15->_pos).x; local_34 = (pEVar15->_pos).y; - Game::Spawn(1000,0xf,&local_38,&g_vectorZero,0,0,uVar14); - iVar21 = pEVar15->_damageCooldown; - if (iVar21 < 0x2d) { - iVar21 = 0x2d; + Game::Spawn(1000,0xf,&local_38,&g_vectorZero,0,0,uVar13); + iVar20 = pEVar15->_damageCooldown; + if (iVar20 < 0x2d) { + iVar20 = 0x2d; } - pEVar15->_damageCooldown = iVar21; + pEVar15->_damageCooldown = iVar20; } goto LAB_009bb561; } - iVar16 = *(int *)puVar20 + 1; - *(int *)puVar20 = iVar16; - iVar21 = *(int *)&in_ECX->field_0x70; - if (*(int *)&in_ECX->field_0x74 - iVar21 >> 2 <= iVar16) { - *(undefined4 *)puVar20 = 0; - iVar16 = 0; - iVar21 = *(int *)&in_ECX->field_0x70; + iVar20 = *piVar18 + 1; + *piVar18 = iVar20; + pvVar14 = (in_ECX->_coopPlayerTypes)._begin; + if ((int)(in_ECX->_coopPlayerTypes)._end - (int)pvVar14 >> 2 <= iVar20) { + *piVar18 = 0; + iVar20 = 0; + pvVar14 = (in_ECX->_coopPlayerTypes)._begin; } - uVar14 = *(undefined4 *)(iVar21 + iVar16 * 4); + iVar20 = *(int *)((int)pvVar14 + iVar20 * 4); local_24 = (Entity_Player *)0xc3; } else { - iVar21 = *(int *)puVar20 + -1; - *(int *)puVar20 = iVar21; - if (iVar21 < 0) { - iVar21 = (*(int *)&in_ECX->field_0x74 - *(int *)&in_ECX->field_0x70 >> 2) + -1; - *(int *)puVar20 = iVar21; + iVar20 = *piVar18 + -1; + *piVar18 = iVar20; + if (iVar20 < 0) { + iVar20 = ((int)(in_ECX->_coopPlayerTypes)._end - + (int)(in_ECX->_coopPlayerTypes)._begin >> 2) + -1; + *piVar18 = iVar20; } local_24 = (Entity_Player *)0xc2; - uVar14 = *(undefined4 *)(*(int *)&in_ECX->field_0x70 + iVar21 * 4); + iVar20 = *(int *)((int)(in_ECX->_coopPlayerTypes)._begin + iVar20 * 4); } - pMVar6 = g_manager; - *(undefined4 *)&pPVar5->field_0x10 = uVar14; + pMVar5 = g_manager; + pPVar4->_coopSlots[0]._playerType = iVar20; seed_fart_sound_override(); - SoundEffects::Play(&pMVar6->_sfxManager,(int)local_24,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar5->_sfxManager,(int)local_24,1.0,2,0,1.0,0.0); } else { LAB_009bb561: - *(undefined4 *)puVar20 = 0xffffffff; + *piVar18 = -1; } } LAB_009bb567: local_20 = (PlayerManager *)((int)&local_20[-1]._extraPlayers._capacity + 3); - pPVar5 = (PlayerManager *)puVar20; + pPVar4 = (PlayerManager *)piVar18; } while (local_20 != (PlayerManager *)0x0); } - uVar9 = 0; + uVar8 = 0; if ((int)(in_ECX->_extraPlayers)._end - (int)(in_ECX->_extraPlayers)._begin >> 2 != 0) { do { - Entity_Player::cycle_spectate_target(); - uVar9 = uVar9 + 1; - } while (uVar9 < (uint)((int)(in_ECX->_extraPlayers)._end - (int)(in_ECX->_extraPlayers)._begin + Entity_Player::cycle_spectate_target + (*(Entity_Player **)((int)(in_ECX->_extraPlayers)._begin + uVar8 * 4)); + uVar8 = uVar8 + 1; + } while (uVar8 < (uint)((int)(in_ECX->_extraPlayers)._end - (int)(in_ECX->_extraPlayers)._begin >> 2)); } ExceptionList = local_10; @@ -889555,8 +891023,8 @@ int * PlayerManager::match_saved_players(int *param_1,int param_2,char param_3) void __thiscall PlayerManager::RestoreGameState(PlayerManager *this,GameState *state) { - int iVar1; Entity_Player *this_00; + GameStatePlayer GVar1; code *pcVar2; Game *pGVar3; uint uVar4; @@ -889564,19 +891032,18 @@ void __thiscall PlayerManager::RestoreGameState(PlayerManager *this,GameState *s int *extraout_EAX_00; undefined4 uVar5; int iVar6; - GameState GVar7; - GameStatePlayer *saveState; + int iVar7; int iVar8; int *piVar9; int iVar10; - GameState *pGVar11; + GameStatePlayer *pGVar11; int *piVar12; int local_34 [3]; Entity_Player *local_28; int *local_24; PlayerManager *local_20; - GameState *local_1c; - GameState *local_18; + GameStatePlayer *local_1c; + GameStatePlayer *local_18; int local_14; void *local_10; undefined1 *puStack_c; @@ -889591,78 +891058,78 @@ void __thiscall PlayerManager::RestoreGameState(PlayerManager *this,GameState *s match_saved_players(local_34,state,1); local_8 = 0; iVar10 = 0; - GVar7 = state[0x675e]; + iVar7 = *(int *)&state->field_0x19d78; iVar6 = local_34[0]; - if (0 < (int)GVar7) { - saveState = (GameStatePlayer *)(state + 0x675f); + if (0 < iVar7) { + pGVar11 = (GameStatePlayer *)&state->field_0x19d7c; do { - iVar8 = *(int *)(iVar6 + iVar10 * 4); - if (iVar8 != 0) { - if (*(int *)(iVar8 + 0x1e68) != 0) { - local_1c = (GameState *)(iVar8 + 0x1e68); + iVar7 = *(int *)(iVar6 + iVar10 * 4); + if (iVar7 != 0) { + if (*(int *)(iVar7 + 0x1e68) != 0) { + local_1c = (GameStatePlayer *)(iVar7 + 0x1e68); std::multiset::erase(&local_1c); - *(GameState *)(iVar8 + 0x1e68) = (GameState)0x0; + *(GameStatePlayer *)(iVar7 + 0x1e68) = (GameStatePlayer)0x0; iVar6 = local_34[0]; } - Entity_Player::RestoreGameState(*(Entity_Player **)(iVar6 + iVar10 * 4),saveState); + Entity_Player::RestoreGameState(*(Entity_Player **)(iVar6 + iVar10 * 4),pGVar11); iVar6 = local_34[0]; } - GVar7 = state[0x675e]; + iVar7 = *(int *)&state->field_0x19d78; iVar10 = iVar10 + 1; - saveState = saveState + 0x177; - } while (iVar10 < (int)GVar7); + pGVar11 = pGVar11 + 0x177; + } while (iVar10 < iVar7); } local_14 = 0; - if (0 < (int)GVar7) { - local_18 = state + 0x675f; + if (0 < iVar7) { + local_18 = (GameStatePlayer *)&state->field_0x19d7c; do { iVar10 = local_14; - if (local_18[0x14a] == (GameState)0x0) { + if (local_18[0x14a] == (GameStatePlayer)0x0) { if ((int)local_18[0x14b] < 0) { iVar8 = *(int *)(iVar6 + local_14 * 4); if (iVar8 != 0) { switch(*(undefined4 *)(iVar8 + 0x13c0)) { case 0x13: - local_1c = (GameState *)&DAT_00000014; + local_1c = (GameStatePlayer *)&DAT_00000014; break; default: goto switchD_009bcd23_caseD_14; case 0x1d: - local_1c = (GameState *)0x26; + local_1c = (GameStatePlayer *)0x26; break; case 0x23: - local_1c = (GameState *)0x28; + local_1c = (GameStatePlayer *)0x28; break; case 0x26: - local_1c = (GameState *)&DAT_0000001d; + local_1c = (GameStatePlayer *)&DAT_0000001d; } iVar8 = local_14 + 1; - if (iVar8 < (int)GVar7) { + if (iVar8 < iVar7) { do { - iVar1 = *(int *)(iVar6 + iVar8 * 4); - if ((iVar1 != 0) && (*(GameState **)(iVar1 + 0x13c0) == local_1c)) { + iVar7 = *(int *)(iVar6 + iVar8 * 4); + if ((iVar7 != 0) && (*(GameStatePlayer **)(iVar7 + 0x13c0) == local_1c)) { iVar10 = *(int *)(iVar6 + iVar10 * 4); - if ((*(int *)(iVar1 + 0x1618) == *(int *)(iVar10 + 0x1618)) && - (*(int *)(iVar1 + 0x1e68) == 0)) { + if ((*(int *)(iVar7 + 0x1618) == *(int *)(iVar10 + 0x1618)) && + (*(int *)(iVar7 + 0x1e68) == 0)) { piVar12 = (int *)(iVar10 + 0x1e68); - if (*(int *)(iVar10 + 0x1e68) != iVar1) { + if (*(int *)(iVar10 + 0x1e68) != iVar7) { if (*(int *)(iVar10 + 0x1e68) != 0) { local_24 = piVar12; std::multiset::erase(&local_24); } - *piVar12 = iVar1; + *piVar12 = iVar7; std::multiset::insert(piVar12); iVar6 = local_34[0]; } piVar12 = (int *)(*(int *)(iVar6 + iVar8 * 4) + 0x1e68); - iVar10 = *(int *)(iVar6 + local_14 * 4); - if (*piVar12 != iVar10) { + iVar7 = *(int *)(iVar6 + local_14 * 4); + if (*piVar12 != iVar7) { if (*piVar12 != 0) { local_24 = piVar12; std::multiset::erase(&local_24); } - *piVar12 = iVar10; - if (iVar10 != 0) { + *piVar12 = iVar7; + if (iVar7 != 0) { std::multiset::insert(piVar12); } iVar6 = local_34[0]; @@ -889671,20 +891138,20 @@ void __thiscall PlayerManager::RestoreGameState(PlayerManager *this,GameState *s iVar10 = local_14; } iVar8 = iVar8 + 1; - } while (iVar8 < (int)state[0x675e]); + } while (iVar8 < *(int *)&state->field_0x19d78); } } } else { - GVar7 = *(GameState *)(iVar6 + (int)local_18[0x14b] * 4); - if (GVar7 != (GameState)0x0) { - iVar6 = *(int *)(iVar6 + local_14 * 4); - pGVar11 = (GameState *)(iVar6 + 0x3bc); - if (*(int *)(iVar6 + 0x3bc) != 0) { + GVar1 = *(GameStatePlayer *)(iVar6 + (int)local_18[0x14b] * 4); + if (GVar1 != (GameStatePlayer)0x0) { + iVar7 = *(int *)(iVar6 + local_14 * 4); + pGVar11 = (GameStatePlayer *)(iVar7 + 0x3bc); + if (*(int *)(iVar7 + 0x3bc) != 0) { local_1c = pGVar11; std::multiset::erase(&local_1c); } - *pGVar11 = GVar7; + *pGVar11 = GVar1; std::multiset::insert(pGVar11); iVar6 = local_34[0]; } @@ -889692,10 +891159,10 @@ void __thiscall PlayerManager::RestoreGameState(PlayerManager *this,GameState *s switchD_009bcd23_caseD_14: } else { - iVar8 = (int)local_18[0x14a] + local_14; - iVar1 = *(int *)(iVar6 + iVar8 * 4); - if (iVar1 != 0) { - if (*(int *)(iVar1 + 0x1e6c) == 0) { + iVar7 = (int)local_18[0x14a] + local_14; + iVar8 = *(int *)(iVar6 + iVar7 * 4); + if (iVar8 != 0) { + if (*(int *)(iVar8 + 0x1e6c) == 0) { local_28 = (Entity_Player *)operator_new(0x2f00,uVar4); local_8._0_1_ = 1; if (local_28 == (Entity_Player *)0x0) { @@ -889706,49 +891173,48 @@ switchD_009bcd23_caseD_14: uVar5 = extraout_EAX; } local_8 = (uint)local_8._1_3_ << 8; - *(undefined4 *)(*(int *)(local_34[0] + iVar8 * 4) + 0x1e6c) = uVar5; - iVar6 = *(int *)(local_34[0] + iVar8 * 4); + *(undefined4 *)(*(int *)(local_34[0] + iVar7 * 4) + 0x1e6c) = uVar5; + iVar6 = *(int *)(local_34[0] + iVar7 * 4); (**(code **)(**(int **)(iVar6 + 0x1e6c) + 4)) (1,0,*local_18,*(undefined4 *)(iVar6 + 0x3ec)); - iVar6 = *(int *)(local_34[0] + iVar8 * 4); + iVar6 = *(int *)(local_34[0] + iVar7 * 4); *(int *)(*(int *)(iVar6 + 0x1e6c) + 0x1e6c) = iVar6; iVar6 = local_34[0]; } Entity_Player::RestoreGameState - (*(Entity_Player **)(*(int *)(iVar6 + iVar8 * 4) + 0x1e6c), - (GameStatePlayer *)local_18); + (*(Entity_Player **)(*(int *)(iVar6 + iVar7 * 4) + 0x1e6c),local_18); GameStatePlayer::Init ((GameStatePlayer *) - (*(int *)(*(int *)(local_34[0] + iVar8 * 4) + 0x1e6c) + 0x20ec)); - this_00 = *(Entity_Player **)(*(int *)(local_34[0] + iVar8 * 4) + 0x1e6c); + (*(int *)(*(int *)(local_34[0] + iVar7 * 4) + 0x1e6c) + 0x20ec)); + this_00 = *(Entity_Player **)(*(int *)(local_34[0] + iVar7 * 4) + 0x1e6c); Entity_Player::StoreGameState(this_00,&this_00->_unlistedRestoreState,1); iVar10 = local_14; - *(undefined1 *)(*(int *)(*(int *)(local_34[0] + iVar8 * 4) + 0x1e6c) + 0x20e8) = 1; + *(undefined1 *)(*(int *)(*(int *)(local_34[0] + iVar7 * 4) + 0x1e6c) + 0x20e8) = 1; local_1c = local_18 + 0xe0; - if ((GameState *)(*(int *)(*(int *)(local_34[0] + iVar8 * 4) + 0x1e6c) + 0x246c) != + if ((GameStatePlayer *)(*(int *)(*(int *)(local_34[0] + iVar7 * 4) + 0x1e6c) + 0x246c) != local_1c) { std::vector<52byte>::assign(*local_1c,local_18[0xe1],state); } - *(GameState *)(*(int *)(*(int *)(local_34[0] + iVar8 * 4) + 0x1e6c) + 0x2468) = + *(GameStatePlayer *)(*(int *)(*(int *)(local_34[0] + iVar7 * 4) + 0x1e6c) + 0x2468) = local_18[0xdf]; iVar6 = local_34[0]; } } local_18 = local_18 + 0x177; local_14 = iVar10 + 1; - GVar7 = state[0x675e]; - } while (local_14 < (int)GVar7); + iVar7 = *(int *)&state->field_0x19d78; + } while (local_14 < iVar7); } piVar12 = (int *)&local_20->field_0x80; - local_18 = state + 0x7317; - local_1c = (GameState *)0x4; + local_18 = (GameStatePlayer *)&state->field_0x1cc5c; + local_1c = (GameStatePlayer *)0x4; do { pGVar11 = local_18; if ((undefined4 *)*piVar12 != (undefined4 *)0x0) { (*(code *)**(undefined4 **)*piVar12)(1); *piVar12 = 0; } - if (*pGVar11 != (GameState)0xffffffff) { + if (*pGVar11 != (GameStatePlayer)0xffffffff) { local_28 = (Entity_Player *)operator_new(0x2f00); local_8._0_1_ = 2; if (local_28 == (Entity_Player *)0x0) { @@ -889764,38 +891230,38 @@ switchD_009bcd23_caseD_14: uVar5 = Random(); (*pcVar2)(1,0,0,uVar5); pGVar11 = local_18; - Entity_Player::RestoreGameState((Entity_Player *)*piVar12,(GameStatePlayer *)local_18); + Entity_Player::RestoreGameState((Entity_Player *)*piVar12,local_18); } local_18 = pGVar11 + 0x177; piVar12 = piVar12 + 1; - local_1c = (GameState *)&local_1c[-1].field_0x3; - } while (local_1c != (GameState *)0x0); - *(GameState *)&local_20->field_0xa8 = state[0x67da]; + local_1c = (GameStatePlayer *)&local_1c[-1].field_0x3; + } while (local_1c != (GameStatePlayer *)0x0); + *(undefined4 *)&local_20->field_0xa8 = *(undefined4 *)&state->field_0x19f68; *(undefined8 *)&local_20->field_0xac = 0x900000005; *(undefined4 *)&local_20->field_0xb4 = 7; - *(GameState *)&local_20->field_0xa4 = state[0x67e0]; - *(GameState *)&local_20->field_0x90 = state[0x67db]; - *(GameState *)&local_20->field_0x94 = state[0x67dc]; - *(GameState *)&local_20->field_0x98 = state[0x67dd]; - *(GameState *)&local_20->field_0x9c = state[0x67de]; + *(undefined4 *)&local_20->field_0xa4 = *(undefined4 *)&state->field_0x19f80; + *(undefined4 *)&local_20->field_0x90 = *(undefined4 *)&state->field_0x19f6c; + *(undefined4 *)&local_20->field_0x94 = *(undefined4 *)&state->field_0x19f70; + *(undefined4 *)&local_20->field_0x98 = *(undefined4 *)&state->field_0x19f74; + *(undefined4 *)&local_20->field_0x9c = *(undefined4 *)&state->field_0x19f78; pGVar3 = g_game; - *(GameState *)&local_20->field_0xa0 = state[0x67df]; - *(undefined4 *)&local_20->field_0xc = 0xffffffff; - *(undefined4 *)&local_20->field_0x20 = 0xffffffff; - *(undefined4 *)&local_20->field_0x14 = 0xffffffff; - *(undefined4 *)&local_20->field_0x18 = 0; - *(undefined4 *)&local_20->field_0x10 = 0; - *(undefined4 *)&local_20->field_0x28 = 0xffffffff; - *(undefined4 *)&local_20->field_0x2c = 0; - *(undefined4 *)&local_20->field_0x24 = 0; - *(undefined4 *)&local_20->field_0x34 = 0xffffffff; - *(undefined4 *)&local_20->field_0x3c = 0xffffffff; - *(undefined4 *)&local_20->field_0x40 = 0; - *(undefined4 *)&local_20->field_0x38 = 0; - *(undefined4 *)&local_20->field_0x48 = 0xffffffff; - *(undefined4 *)&local_20->field_0x50 = 0xffffffff; - *(undefined4 *)&local_20->field_0x54 = 0; - *(undefined4 *)&local_20->field_0x4c = 0; + *(undefined4 *)&local_20->field_0xa0 = *(undefined4 *)&state->field_0x19f7c; + local_20->_coopSlots[0]._controllerIndex = -1; + local_20->_coopSlots[1]._controllerIndex = -1; + local_20->_coopSlots[0]._state = -1; + local_20->_coopSlots[0]._menuPosition = 0.0; + local_20->_coopSlots[0]._playerType = 0; + local_20->_coopSlots[1]._state = -1; + local_20->_coopSlots[1]._menuPosition = 0.0; + local_20->_coopSlots[1]._playerType = 0; + local_20->_coopSlots[2]._controllerIndex = -1; + local_20->_coopSlots[2]._state = -1; + local_20->_coopSlots[2]._menuPosition = 0.0; + local_20->_coopSlots[2]._playerType = 0; + local_20->_coopSlots[3]._controllerIndex = -1; + local_20->_coopSlots[3]._state = -1; + local_20->_coopSlots[3]._menuPosition = 0.0; + local_20->_coopSlots[3]._playerType = 0; HUD::AssignPlayerHUDs(&pGVar3->_hud); FID_conflict__Tidy(local_34); ExceptionList = local_10; @@ -889817,7 +891283,7 @@ void __thiscall PlayerManager::RestoreGameState_PostLevelInit(PlayerManager *thi Game *pGVar2; uint uVar3; int iVar4; - GameState *pGVar5; + undefined1 *puVar5; int local_20 [3]; PlayerManager *local_14; void *local_10; @@ -889833,35 +891299,35 @@ void __thiscall PlayerManager::RestoreGameState_PostLevelInit(PlayerManager *thi match_saved_players(local_20,state,0); iVar4 = 0; local_8 = 0; - if (0 < (int)state[0x675e]) { - pGVar5 = state + 0x675f; + if (0 < *(int *)&state->field_0x19d78) { + puVar5 = &state->field_0x19d7c; do { pEVar1 = *(Entity_Player **)(local_20[0] + iVar4 * 4); if (pEVar1 != (Entity_Player *)0x0) { - Entity_Player::spawn_dark_esau(pEVar1,pGVar5); + Entity_Player::spawn_dark_esau(pEVar1,puVar5); } iVar4 = iVar4 + 1; - pGVar5 = pGVar5 + 0x177; - } while (iVar4 < (int)state[0x675e]); + puVar5 = puVar5 + 0x5dc; + } while (iVar4 < *(int *)&state->field_0x19d78); this = local_14; } pGVar2 = g_game; - *(undefined4 *)&this->field_0xc = 0xffffffff; - *(undefined4 *)&this->field_0x20 = 0xffffffff; - *(undefined4 *)&this->field_0x14 = 0xffffffff; - *(undefined4 *)&this->field_0x18 = 0; - *(undefined4 *)&this->field_0x10 = 0; - *(undefined4 *)&this->field_0x28 = 0xffffffff; - *(undefined4 *)&this->field_0x2c = 0; - *(undefined4 *)&this->field_0x24 = 0; - *(undefined4 *)&this->field_0x34 = 0xffffffff; - *(undefined4 *)&this->field_0x3c = 0xffffffff; - *(undefined4 *)&this->field_0x40 = 0; - *(undefined4 *)&this->field_0x38 = 0; - *(undefined4 *)&this->field_0x48 = 0xffffffff; - *(undefined4 *)&this->field_0x50 = 0xffffffff; - *(undefined4 *)&this->field_0x54 = 0; - *(undefined4 *)&this->field_0x4c = 0; + this->_coopSlots[0]._controllerIndex = -1; + this->_coopSlots[1]._controllerIndex = -1; + this->_coopSlots[0]._state = -1; + this->_coopSlots[0]._menuPosition = 0.0; + this->_coopSlots[0]._playerType = 0; + this->_coopSlots[1]._state = -1; + this->_coopSlots[1]._menuPosition = 0.0; + this->_coopSlots[1]._playerType = 0; + this->_coopSlots[2]._controllerIndex = -1; + this->_coopSlots[2]._state = -1; + this->_coopSlots[2]._menuPosition = 0.0; + this->_coopSlots[2]._playerType = 0; + this->_coopSlots[3]._controllerIndex = -1; + this->_coopSlots[3]._state = -1; + this->_coopSlots[3]._menuPosition = 0.0; + this->_coopSlots[3]._playerType = 0; HUD::AssignPlayerHUDs(&pGVar2->_hud,uVar3); mark_all_slots_dirty(0,0); HUD::InvalidateCraftingItem(&g_game->_hud,(Entity_Player *)0x0); @@ -892548,7 +894014,7 @@ int * Popup::constructor(undefined1 *param_1) in_ECX[0x2f] = iVar5; in_ECX[0x30] = *(int *)(param_1 + 0x9c); *(undefined1 *)(in_ECX + 0x31) = param_1[0xa0]; - FUN_009c27c0(); + build_lines(); set_state(1); local_3c = (int *)0; if (0 < *(int *)(param_1 + 0x88)) { @@ -892819,9 +894285,14 @@ LAB_009c0ba9: } -//@@ 009c0c30 FUN_009c0c30 +//@@ 009c0c30 popup_render -void FUN_009c0c30(void) +/* DB: ? renders one entry of the mutex-guarded list at Manager+0x4d070 (the list + Manager::update_controller_popups fills) when its layer (+0x3c) matches FUN_009c3890's arg + (Game::Render calls 009c3890(0/1/2)); background quad (flag 1), shadow (flag 2), + Font::measure_string + Font::render_glyph_quads */ + +void popup_render(void) { int *piVar1; @@ -892913,7 +894384,7 @@ void FUN_009c0c30(void) g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; bVar4 = *(byte *)(in_ECX + 0x24); local_b0 = local_2c; local_a8 = 0; @@ -892938,9 +894409,9 @@ void FUN_009c0c30(void) local_4c = 0; local_48 = (float)(fVar8 * (float10)0.4 * (float10)local_24); local_24 = local_48; - FUN_009c16b0(&local_54,&local_40); + Popup::render_frame(&local_54,&local_40); } - FUN_009c16b0(&local_b8,&g_vectorZero); + Popup::render_frame(&local_b8,&g_vectorZero); iVar2 = *(int *)(in_ECX + 0x84); (**(code **)(*(int *)(in_ECX + 0xf0) + 8))(&local_80); pfVar5 = (float *)(**(code **)(*(int *)(in_ECX + 200) + 8))(&local_a4); @@ -893261,9 +894732,14 @@ undefined4 Popup::hide(void) } -//@@ 009c16b0 FUN_009c16b0 +//@@ 009c16b0 Popup::render_frame -void FUN_009c16b0(undefined4 *param_1,float *param_2) +/* DB: ? (KColor*, Vector* offset), ECX = Popup: builds ColorQuads (Quad::rotate, + render_quad_set_uniform_color) and submits them via the image vfunc +0x14; FUN_009c0c30 (popup + render, from the PopupQueue walker FUN_009c3890 <- Game::Render/Manager::Render) calls it twice: + shadow offset (5,5) then &g_vectorZero */ + +void Popup::render_frame(undefined4 *param_1,float *param_2) { float *pfVar1; @@ -893988,13 +895464,13 @@ float10 FUN_009c2530(void) } -//@@ 009c25e0 FontDrawParams::FontDrawParams +//@@ 009c25e0 MessagePopup::MessagePopup -/* DB: ? initialises a text-render descriptor: param_1 font (g_Manager+0x4ae28 / +0x4ae74), param_4 - position, default scale 1.0, KColor white + 0xffd3d3d3, flags |=7; followed by FUN_009c2700 - string draw in HUD::update_item_info */ +/* DB: ? (font, callback, userdata, pos) popup descriptor: the callback later gets button ids + 0xDEADBEEF/0x1212/0x2323; followed by add-text 009c2700, add-button 009c2760 and PopupQueue::push + (was FontDrawParams::FontDrawParams) */ -void FontDrawParams::FontDrawParams +void MessagePopup::MessagePopup (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4) { @@ -894191,11 +895667,14 @@ void FUN_009c2760(undefined4 param_1,undefined4 *param_2,undefined4 *param_3,und } -//@@ 009c27c0 FUN_009c27c0 +//@@ 009c27c0 Popup::build_lines /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? from Popup::constructor: Popup::free_line_buffers, then for each text entry (vector at + +0x54) translates "##GAME##"/"##PLATFORM##" keys (string_table_translate), word-wraps via + FUN_00682390 (width -1 entries) and stores per-line buffers/widths (Font::get_string_width_n) */ -void FUN_009c27c0(void) +void Popup::build_lines(void) { float *pfVar1; @@ -894206,18 +895685,19 @@ void FUN_009c27c0(void) int *piVar6; int iVar7; int in_ECX; - undefined4 *puVar8; + StringTable *pSVar8; char *pcVar9; int *piVar10; uint uVar11; undefined4 *puVar12; uint uVar13; - int *piVar14; - float fVar15; + undefined4 *puVar14; + int *piVar15; float fVar16; float fVar17; float fVar18; - undefined1 *puVar19; + float fVar19; + undefined1 *puVar20; int local_68; uint local_60; int *local_54; @@ -894246,7 +895726,7 @@ void FUN_009c27c0(void) local_10 = ExceptionList; local_14 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; - Popup::free_line_buffers(local_14); + free_line_buffers(local_14); local_68 = *(int *)(in_ECX + 0x54); if (local_68 != *(int *)(in_ECX + 0x58)) { local_48 = (int *)(local_68 + 0x18); @@ -894255,15 +895735,15 @@ void FUN_009c27c0(void) iVar4 = strncmp(pcVar5,"##GAME##",8); if (iVar4 == 0) { pcVar5 = pcVar5 + 8; - puVar8 = &g_manager->_stringTable; + pSVar8 = &g_manager->_stringTable; LAB_009c288d: - pcVar5 = (char *)string_table_translate(puVar8,pcVar5); + pcVar5 = (char *)string_table_translate(pSVar8,pcVar5); } else { iVar4 = strncmp(pcVar5,"##PLATFORM##",0xc); if (iVar4 == 0) { pcVar5 = pcVar5 + 0xc; - puVar8 = &g_manager->_stringTablePc; + pSVar8 = &g_manager->_stringTablePc; goto LAB_009c288d; } } @@ -894272,7 +895752,7 @@ LAB_009c288d: local_4c = 0; local_8 = 0; if (local_48[-4] == -1) { - FUN_00682390(&local_54); + text_wrap_lines(&local_54); } else { local_1c = 0; @@ -894304,26 +895784,26 @@ LAB_009c288d: if (uVar13 != 0) { piVar6 = local_54; do { - piVar14 = piVar6; + piVar15 = piVar6; if (0xf < (uint)piVar6[5]) { - piVar14 = (int *)*piVar6; + piVar15 = (int *)*piVar6; } - if (piVar14 == (int *)0x0) { + if (piVar15 == (int *)0x0) { pcVar5 = (char *)0x0; } else { - piVar10 = piVar14; + piVar10 = piVar15; do { iVar4 = *piVar10; piVar10 = (int *)((int)piVar10 + 1); } while ((char)iVar4 != '\0'); pcVar5 = (char *)operator_new_tracked(); - piVar10 = piVar14; + piVar10 = piVar15; do { iVar4 = *piVar10; piVar10 = (int *)((int)piVar10 + 1); } while ((char)iVar4 != '\0'); - strncpy(pcVar5,(char *)piVar14,(size_t)((int)piVar10 + (1 - ((int)piVar14 + 1)))); + strncpy(pcVar5,(char *)piVar15,(size_t)((int)piVar10 + (1 - ((int)piVar15 + 1)))); } local_38 = local_48[-3]; local_40 = local_48[-5]; @@ -894336,24 +895816,24 @@ LAB_009c288d: local_1c = local_48[4]; local_24 = local_48[2]; local_18 = local_48[5]; - puVar8 = *(undefined4 **)(in_ECX + 100); + puVar14 = *(undefined4 **)(in_ECX + 100); local_44 = pcVar5; - if (puVar8 == *(undefined4 **)(in_ECX + 0x68)) { - std::vector<48byte>::_Emplace_reallocate(puVar8,&local_44); + if (puVar14 == *(undefined4 **)(in_ECX + 0x68)) { + std::vector<48byte>::_Emplace_reallocate(puVar14,&local_44); } else { - *puVar8 = pcVar5; - puVar8[3] = local_38; - puVar8[8] = local_24; - puVar8[4] = local_34; - puVar8[5] = local_30; - puVar8[6] = local_2c; - puVar8[7] = local_28; - puVar8[1] = local_40; - puVar8[2] = local_3c; - puVar8[9] = local_20; - puVar8[10] = local_1c; - puVar8[0xb] = local_18; + *puVar14 = pcVar5; + puVar14[3] = local_38; + puVar14[8] = local_24; + puVar14[4] = local_34; + puVar14[5] = local_30; + puVar14[6] = local_2c; + puVar14[7] = local_28; + puVar14[1] = local_40; + puVar14[2] = local_3c; + puVar14[9] = local_20; + puVar14[10] = local_1c; + puVar14[0xb] = local_18; *(int *)(in_ECX + 100) = *(int *)(in_ECX + 100) + 0x30; } piVar6 = piVar6 + 6; @@ -894363,12 +895843,12 @@ LAB_009c288d: local_8 = -1; if (piVar3 != (int *)0x0) { piVar6 = local_50; - piVar14 = piVar3; + piVar15 = piVar3; if (piVar3 != local_50) { do { - uVar13 = piVar14[5]; + uVar13 = piVar15[5]; if (0xf < uVar13) { - iVar4 = *piVar14; + iVar4 = *piVar15; uVar11 = uVar13 + 1; iVar7 = iVar4; if (0xfff < uVar11) { @@ -894379,11 +895859,11 @@ LAB_009c288d: operator_delete(iVar7,uVar11); piVar6 = local_50; } - piVar14[4] = 0; - piVar14[5] = 0xf; - *(undefined1 *)piVar14 = 0; - piVar14 = piVar14 + 6; - } while (piVar14 != piVar6); + piVar15[4] = 0; + piVar15[5] = 0xf; + *(undefined1 *)piVar15 = 0; + piVar15 = piVar15 + 6; + } while (piVar15 != piVar6); } uVar13 = ((local_4c - (int)piVar3) / 0x18) * 0x18; piVar6 = piVar3; @@ -894405,61 +895885,61 @@ LAB_009c2c9c: local_48 = local_48 + 0xc; } while (local_68 != *(int *)(in_ECX + 0x58)); } - puVar19 = &DAT_bf800000; - fVar17 = 0.0; - puVar8 = *(undefined4 **)(in_ECX + 0x60); - fVar15 = 0.0; + puVar20 = &DAT_bf800000; + fVar18 = 0.0; + puVar14 = *(undefined4 **)(in_ECX + 0x60); + fVar16 = 0.0; puVar12 = *(undefined4 **)(in_ECX + 100); - fVar18 = (float)*(ushort *)(*(int *)(in_ECX + 4) + 0x14) * *(float *)(in_ECX + 0x10); - if (puVar8 != puVar12) { + fVar19 = (float)*(ushort *)(*(int *)(in_ECX + 4) + 0x14) * *(float *)(in_ECX + 0x10); + if (puVar14 != puVar12) { do { - iVar4 = Font::get_string_width_n(*puVar8,0xffffffff); - if (fVar15 <= (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)])) { - fVar15 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]); + iVar4 = Font::get_string_width_n(*puVar14,0xffffffff); + if (fVar16 <= (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)])) { + fVar16 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]); } puVar12 = *(undefined4 **)(in_ECX + 100); - pfVar1 = (float *)(puVar8 + 10); - puVar8 = puVar8 + 0xc; - fVar17 = fVar17 + fVar18 + *pfVar1; - } while (puVar8 != puVar12); + pfVar1 = (float *)(puVar14 + 10); + puVar14 = puVar14 + 0xc; + fVar18 = fVar18 + fVar19 + *pfVar1; + } while (puVar14 != puVar12); } - fVar15 = *(float *)(in_ECX + 8) + *(float *)(in_ECX + 8) + fVar15; - fVar16 = *(float *)(in_ECX + 0xc); - fVar17 = fVar16 * 1.65 + fVar17; - if ((*(float *)(in_ECX + 0x1c) == (float)puVar19) || (*(float *)(in_ECX + 0x1c) < fVar15)) { - *(float *)(in_ECX + 0x1c) = fVar15; + fVar16 = *(float *)(in_ECX + 8) + *(float *)(in_ECX + 8) + fVar16; + fVar17 = *(float *)(in_ECX + 0xc); + fVar18 = fVar17 * 1.65 + fVar18; + if ((*(float *)(in_ECX + 0x1c) == (float)puVar20) || (*(float *)(in_ECX + 0x1c) < fVar16)) { + *(float *)(in_ECX + 0x1c) = fVar16; } - if ((*(float *)(in_ECX + 0x20) == (float)puVar19) || (*(float *)(in_ECX + 0x20) < fVar17)) { - *(float *)(in_ECX + 0x20) = fVar17; + if ((*(float *)(in_ECX + 0x20) == (float)puVar20) || (*(float *)(in_ECX + 0x20) < fVar18)) { + *(float *)(in_ECX + 0x20) = fVar18; } - puVar8 = *(undefined4 **)(in_ECX + 0x60); - if (puVar8 != puVar12) { - fVar15 = 0.5; + puVar14 = *(undefined4 **)(in_ECX + 0x60); + if (puVar14 != puVar12) { + fVar16 = 0.5; do { - iVar7 = Font::get_string_width_n(*puVar8,0xffffffff); - iVar4 = puVar8[0xb]; + iVar7 = Font::get_string_width_n(*puVar14,0xffffffff); + iVar4 = puVar14[0xb]; if (iVar4 == 0) { - fVar17 = *(float *)(in_ECX + 8); + fVar18 = *(float *)(in_ECX + 8); LAB_009c2cba: - puVar8[9] = fVar17 + (float)puVar8[9]; + puVar14[9] = fVar18 + (float)puVar14[9]; } else { if (iVar4 == 1) { - fVar17 = *(float *)(in_ECX + 0x1c) * fVar15 - - (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * fVar15; + fVar18 = *(float *)(in_ECX + 0x1c) * fVar16 - + (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]) * fVar16; goto LAB_009c2cba; } if (iVar4 == 2) { - fVar17 = (*(float *)(in_ECX + 0x1c) - *(float *)(in_ECX + 8)) - + fVar18 = (*(float *)(in_ECX + 0x1c) - *(float *)(in_ECX + 8)) - (float)((double)iVar7 + __uint_to_double_fixup[-(iVar7 >> 0x1f)]); goto LAB_009c2cba; } } - fVar17 = (float)puVar8[10]; - puVar8[10] = fVar16 + fVar17; - puVar8 = puVar8 + 0xc; - fVar16 = fVar16 + fVar17 + fVar18; - } while (puVar8 != *(undefined4 **)(in_ECX + 100)); + fVar18 = (float)puVar14[10]; + puVar14[10] = fVar17 + fVar18; + puVar14 = puVar14 + 0xc; + fVar17 = fVar17 + fVar18 + fVar19; + } while (puVar14 != *(undefined4 **)(in_ECX + 100)); } ExceptionList = local_10; return; @@ -894558,7 +896038,7 @@ void std::vector<48byte>::push_back(undefined4 *param_1) //@@ 009c2e30 std::vector<48byte>::_Emplace_reallocate -/* DB: growth/max 0x5555555 by /0x30; callers std::vector<48byte>::push_back, 009c27c0 */ +/* DB: growth/max 0x5555555 by /0x30; callers std::vector<48byte>::push_back, 009c27c0 Popup::build_lines undefined4 * std::vector<48byte>::_Emplace_reallocate(int param_1,undefined4 *param_2) @@ -895144,7 +896624,7 @@ void FUN_009c3890(int param_1) if (piVar2 != (int *)*in_ECX) { do { if (*(int *)(piVar2[2] + 0x3c) == param_1) { - FUN_009c0c30(); + popup_render(); } piVar2 = (int *)*piVar2; } while (piVar2 != (int *)*in_ECX); @@ -896313,7 +897793,7 @@ LAB_009c5155: local_34 = CONCAT44(local_34._4_4_,(undefined4)local_34); if (uVar5 < (uint)(in_ECX[0x8c] - in_ECX[0x8b] >> 3)) { local_34._4_4_ = (float)(in_ECX[0x8b] + uVar5 * 8); - cVar4 = Multiplayer::invite_user_to_lobby(local_34._4_4_,0); + cVar4 = KAGE::Network::MultiplayerManager::invite_user_to_lobby(local_34._4_4_,0); if (cVar4 != '\0') { local_34 = FUN_00a23920(); puVar9 = (undefined1 *)map_u64_bool_subscript(&local_34); @@ -896986,11 +898466,14 @@ void daily_lobby_join_destructor(void) } -//@@ 009c5bf0 FUN_009c5bf0 +//@@ 009c5bf0 daily_lobby_join_init /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? ECX = NetplayManager+0x18d8 (lea ecx,[esi+0x18d8] in NetplayManager::Init), same object as + daily_lobby_join_destructor 009c5b00 daily_lobby_join_destructor daily_lobby_join_reset 009c5df0: clears state +0/+4, empty + ConstLobby, ANM2::Load "resources/gfx/ui/LoadingSpinner.anm2" into +0x140 */ -void FUN_009c5bf0(void) +void daily_lobby_join_init(void) { byte *pbVar1; @@ -897187,7 +898670,7 @@ void daily_lobby_join_show_error(void) daily_lobby_join_reset(__security_cookie ^ (uint)(local_68 + 100)); local_1c = &DAT_bf800000; local_18 = &DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,0,0,&local_1c); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,0,0,&local_1c); local_8 = 0; MessagePopup::add_ok_button(); PopupQueue::push(local_c8); @@ -897529,7 +899012,7 @@ void LobbyPasswordPrompt::Update(void) FUN_009c62c0(); local_7c = &DAT_bf800000; local_78 = &DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,0,0,&local_7c); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,0,0,&local_7c); local_8 = CONCAT31(local_8._1_3_,1); MessagePopup::add_ok_button(); PopupQueue::push(local_124); @@ -898009,14 +899492,18 @@ int FUN_009c6e10(undefined4 param_1) int *piVar1; undefined1 local_10 [12]; - piVar1 = (int *)FUN_009c6e30(local_10,param_1); + piVar1 = (int *)std::map::_Try_emplace(local_10,param_1); return *piVar1 + 0x28; } -//@@ 009c6e30 FUN_009c6e30 +//@@ 009c6e30 std::map::_Try_emplace -void FUN_009c6e30(undefined4 *param_1,int *param_2) +/* DB: MSVC _Tree try_emplace: std::map::_Find_lower_bound + string_compare, + operator_new(0x50) node (max_size 0x3333333); operator[] wrapper 0x9c6e10 returns node+0x28, used + by load_preloads_xml */ + +void std::map::_Try_emplace(undefined4 *param_1,int *param_2) { int *piVar1; @@ -898044,7 +899531,7 @@ void FUN_009c6e30(undefined4 *param_1,int *param_2) local_1c = ExceptionList; uVar5 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; - std::map::_Find_lower_bound(&local_38,param_2); + string>::_Find_lower_bound(&local_38,param_2); if (*(char *)((int)local_30 + 0xd) == '\0') { piVar6 = local_30 + 4; if (0xf < (uint)local_30[9]) { @@ -898372,9 +899859,9 @@ bool is_valid_item_config_id(void) void GameState::constructor(void) { - GameState *pGVar1; + undefined1 *puVar1; uint uVar2; - GameState GVar3; + int *piVar3; GameState *in_ECX; void *local_10; undefined1 *puStack_c; @@ -898384,93 +899871,94 @@ void GameState::constructor(void) local_10 = ExceptionList; uVar2 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; - in_ECX[0x29] = (GameState)0x0; - in_ECX[0x2a] = (GameState)0x0; - in_ECX[0x2b] = (GameState)0x0; - in_ECX[0x2c] = (GameState)0x0; - in_ECX[0x2d] = (GameState)0x0; - in_ECX[0x2e] = (GameState)0x0; - in_ECX[0x31] = (GameState)0x0; - in_ECX[0x32] = (GameState)0x0; - in_ECX[0x33] = (GameState)0x0; - in_ECX[0x34] = (GameState)0x0; - in_ECX[0x35] = (GameState)0x0; - in_ECX[0x36] = (GameState)0x0; + *(undefined4 *)&in_ECX->field_0xa4 = 0; + *(undefined4 *)&in_ECX->field_0xa8 = 0; + *(undefined4 *)&in_ECX->field_0xac = 0; + *(undefined4 *)&in_ECX->field_0xb0 = 0; + *(undefined4 *)&in_ECX->field_0xb4 = 0; + *(undefined4 *)&in_ECX->field_0xb8 = 0; + *(undefined4 *)&in_ECX->field_0xc4 = 0; + *(undefined4 *)&in_ECX->field_0xc8 = 0; + *(undefined4 *)&in_ECX->field_0xcc = 0; + *(undefined4 *)&in_ECX->field_0xd0 = 0; + *(undefined4 *)&in_ECX->field_0xd4 = 0; + *(undefined4 *)&in_ECX->field_0xd8 = 0; local_8 = 0; _eh_vector_constructor_iterator_ - (in_ECX + 0x68,0xb8,0x20f,RoomDescriptor::constructor,RoomDescriptor::destructor); + (&in_ECX->field_0x1a0,0xb8,0x20f,RoomDescriptor::constructor,RoomDescriptor::destructor) + ; local_8._0_1_ = 1; - pGVar1 = in_ECX + 0x6547; - *pGVar1 = (GameState)0x0; - in_ECX[0x6548] = (GameState)0x0; - in_ECX[0x6549] = (GameState)0x0; - in_ECX[0x654a] = (GameState)0x0; - in_ECX[0x654b] = (GameState)0x0; - GVar3 = (GameState)operator_new(8,uVar2); - *(undefined4 *)((int)GVar3 + 4) = 0; - *pGVar1 = GVar3; - *(GameState **)GVar3 = pGVar1; + puVar1 = &in_ECX->field_0x1951c; + *(undefined4 *)puVar1 = 0; + *(undefined4 *)&in_ECX->field_0x19520 = 0; + *(undefined4 *)&in_ECX->field_0x19524 = 0; + *(undefined4 *)&in_ECX->field_0x19528 = 0; + *(undefined4 *)&in_ECX->field_0x1952c = 0; + piVar3 = (int *)operator_new(8,uVar2); + piVar3[1] = 0; + *(int **)puVar1 = piVar3; + *piVar3 = (int)puVar1; local_8._0_1_ = 2; - in_ECX[0x674d] = (GameState)0x0; - in_ECX[0x674c] = (GameState)0x0; - in_ECX[0x674f] = (GameState)0xffffffff; - in_ECX[0x6750] = (GameState)0x0; - *(undefined1 *)(in_ECX + 0x6751) = 0; - in_ECX[0x6752] = (GameState)0x0; - *(undefined1 *)(in_ECX + 0x6753) = 0; + *(undefined4 *)&in_ECX->field_0x19d34 = 0; + *(undefined4 *)&in_ECX->field_0x19d30 = 0; + *(undefined4 *)&in_ECX->field_0x19d3c = 0xffffffff; + *(undefined4 *)&in_ECX->field_0x19d40 = 0; + in_ECX->field_0x19d44 = 0; + *(undefined4 *)&in_ECX->field_0x19d48 = 0; + in_ECX->field_0x19d4c = 0; _eh_vector_constructor_iterator_ - (in_ECX + 0x675f,0x5dc,8,input_state_reset,GameStatePlayer::~GameStatePlayer); + (&in_ECX->field_0x19d7c,0x5dc,8,input_state_reset,GameStatePlayer::~GameStatePlayer); local_8._0_1_ = 3; _eh_vector_constructor_iterator_ - (in_ECX + 0x7317,0x5dc,4,input_state_reset,GameStatePlayer::~GameStatePlayer); + (&in_ECX->field_0x1cc5c,0x5dc,4,input_state_reset,GameStatePlayer::~GameStatePlayer); local_8._0_1_ = 4; - _eh_vector_constructor_iterator_(in_ECX + 0x78f3,0xc,0x1f,FUN_00424510,FID_conflict__Tidy); - in_ECX[0x7975] = (GameState)0x0; - in_ECX[0x7976] = (GameState)0x0; - in_ECX[0x7977] = (GameState)0x0; - in_ECX[0x7978] = (GameState)0x0; - in_ECX[0x7979] = (GameState)0x0; - in_ECX[0x797a] = (GameState)0x0; - in_ECX[0x797b] = (GameState)0x0; - in_ECX[0x797c] = (GameState)0x0; - in_ECX[0x79c5] = (GameState)0x0; - in_ECX[0x79c6] = (GameState)0x0; - in_ECX[0x79c7] = (GameState)0x0; - in_ECX[0x79c8] = (GameState)0x0; + _eh_vector_constructor_iterator_(&in_ECX->field_0x1e3cc,0xc,0x1f,FUN_00424510,FID_conflict__Tidy); + *(undefined4 *)&in_ECX->field_0x1e5d4 = 0; + *(undefined4 *)&in_ECX->field_0x1e5d8 = 0; + *(undefined4 *)&in_ECX->field_0x1e5dc = 0; + *(undefined4 *)&in_ECX->field_0x1e5e0 = 0; + *(undefined4 *)&in_ECX->field_0x1e5e4 = 0; + *(undefined4 *)&in_ECX->field_0x1e5e8 = 0; + *(undefined4 *)&in_ECX->field_0x1e5ec = 0; + *(undefined4 *)&in_ECX->field_0x1e5f0 = 0; + *(undefined4 *)&in_ECX->field_0x1e714 = 0; + *(undefined4 *)&in_ECX->field_0x1e718 = 0; + *(undefined4 *)&in_ECX->field_0x1e71c = 0; + *(undefined4 *)&in_ECX->field_0x1e720 = 0; local_8._0_1_ = 6; Seeds::constructor(); - in_ECX[0x79e4] = (GameState)0x0; - in_ECX[0x79e5] = (GameState)0x0; - in_ECX[0x79e6] = (GameState)0x0; - in_ECX[0x79e7] = (GameState)0x0; - in_ECX[0x79e8] = (GameState)0x0; - in_ECX[0x79e9] = (GameState)0x0; + *(undefined4 *)&in_ECX->field_0x1e790 = 0; + *(undefined4 *)&in_ECX->field_0x1e794 = 0; + *(undefined4 *)&in_ECX->field_0x1e798 = 0; + *(undefined4 *)&in_ECX->field_0x1e79c = 0; + *(undefined4 *)&in_ECX->field_0x1e7a0 = 0; + *(undefined4 *)&in_ECX->field_0x1e7a4 = 0; local_8._0_1_ = 9; - _eh_vector_constructor_iterator_(in_ECX + 0x79ed,800,7,FUN_006ef920,FUN_006f29a0); - in_ECX[0x7f66] = (GameState)0x0; - in_ECX[0x7f67] = (GameState)0x0; - in_ECX[0x7f68] = (GameState)0x0; - in_ECX[0x7f6b] = (GameState)0x0; - in_ECX[0x7f6f] = (GameState)0x0; - in_ECX[0x7f70] = (GameState)0xf; - *(undefined1 *)(in_ECX + 0x7f6b) = 0; - in_ECX[0x7f71] = (GameState)0x0; - in_ECX[0x7f75] = (GameState)0x0; - in_ECX[0x7f76] = (GameState)0xf; - *(undefined1 *)(in_ECX + 0x7f71) = 0; - in_ECX[0x7f78] = (GameState)0x0; - in_ECX[0x7f79] = (GameState)0x0; - in_ECX[0x7f7a] = (GameState)0x0; - in_ECX[0x7f7d] = (GameState)0x0; - in_ECX[0x7f81] = (GameState)0x0; - in_ECX[0x7f82] = (GameState)0xf; - *(undefined1 *)(in_ECX + 0x7f7d) = 0; - in_ECX[0x7f83] = (GameState)0x0; - in_ECX[0x7f87] = (GameState)0x0; - in_ECX[0x7f88] = (GameState)0xf; - *(undefined1 *)(in_ECX + 0x7f83) = 0; + _eh_vector_constructor_iterator_(&in_ECX->field_0x1e7b4,800,7,FUN_006ef920,FUN_006f29a0); + *(undefined4 *)&in_ECX->field_0x1fd98 = 0; + *(undefined4 *)&in_ECX->field_0x1fd9c = 0; + *(undefined4 *)&in_ECX->field_0x1fda0 = 0; + *(undefined4 *)&in_ECX->field_0x1fdac = 0; + *(undefined4 *)&in_ECX->field_0x1fdbc = 0; + *(undefined4 *)&in_ECX->field_0x1fdc0 = 0xf; + in_ECX->field_0x1fdac = 0; + *(undefined4 *)&in_ECX->field_0x1fdc4 = 0; + *(undefined4 *)&in_ECX->field_0x1fdd4 = 0; + *(undefined4 *)&in_ECX->field_0x1fdd8 = 0xf; + in_ECX->field_0x1fdc4 = 0; + *(undefined4 *)&in_ECX->field_0x1fde0 = 0; + *(undefined4 *)&in_ECX->field_0x1fde4 = 0; + *(undefined4 *)&in_ECX->field_0x1fde8 = 0; + *(undefined4 *)&in_ECX->field_0x1fdf4 = 0; + *(undefined4 *)&in_ECX->field_0x1fe04 = 0; + *(undefined4 *)&in_ECX->field_0x1fe08 = 0xf; + in_ECX->field_0x1fdf4 = 0; + *(undefined4 *)&in_ECX->field_0x1fe0c = 0; + *(undefined4 *)&in_ECX->field_0x1fe1c = 0; + *(undefined4 *)&in_ECX->field_0x1fe20 = 0xf; + in_ECX->field_0x1fe0c = 0; local_8 = CONCAT31(local_8._1_3_,0x10); - in_ECX[0x7f89] = (GameState)0x0; + in_ECX->_saveFile = (void *)0x0; Clear(in_ECX); ExceptionList = local_10; return; @@ -898590,22 +900078,22 @@ void GameState::~GameState(void) void __thiscall GameState::Clear(GameState *this) { - int *piVar1; - RoomConfig_Room *pRVar2; - GameState GVar3; - uint uVar4; - int iVar5; - GameState *pGVar6; - GameStatePlayer *this_00; - GameState *pGVar7; - GameState GVar8; - int iVar9; - GameState *local_fc; + undefined1 *puVar1; + int *piVar2; + GameState *pGVar3; + RoomConfig_Room *pRVar4; + uint uVar5; + int iVar6; + uint uVar7; + undefined4 *puVar8; + GameStatePlayer *pGVar9; + uint *puVar10; + uint uVar11; + int iVar12; + uint *local_fc; int *local_f8; int iStack_f4; - GameState GStack_f0; - undefined4 uStack_ec; - GameState local_e8; + uint auStack_f0 [3]; GameState *local_e4; RoomDescriptor local_e0; uint local_24; @@ -898620,71 +900108,72 @@ void __thiscall GameState::Clear(GameState *this) local_1c = ExceptionList; local_24 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; - *(undefined2 *)(this + 0x7f7b) = 0; - *(undefined2 *)(this + 3) = 0x35; - *this = (GameState)0x0; - *(undefined2 *)(this + 1) = 0; - this[2] = (GameState)0x0; + this->_isSaveAvailable = 0; + this->_isRerunAvailable = 0; + *(undefined2 *)&this->field_0xc = 0x35; + *(undefined4 *)this = 0; + *(undefined2 *)&this->field_0x4 = 0; + *(undefined4 *)&this->field_0x8 = 0; local_e4 = this; - memset(&this[3].field_0x2,0,0x35); - this[0x2a] = this[0x29]; - this[0x2d] = this[0x2c]; - this[0x23] = (GameState)0x0; - this[0x24] = (GameState)0x0; - this[0x25] = (GameState)0x0; - this[0x26] = (GameState)0x0; - this[0x27] = (GameState)0x0; - this[0x28] = (GameState)0x0; - this[0x2f] = (GameState)0x0; - this[0x30] = (GameState)0x0; - this[0x11] = (GameState)0x0; - this[0x12] = (GameState)0x0; - this[0x13] = (GameState)0x0; - this[0x14] = (GameState)0x0; - this[0x15] = (GameState)0x0; - this[0x16] = (GameState)0x0; - this[0x17] = (GameState)0x0; - this[0x18] = (GameState)0x0; - this[0x19] = (GameState)0x0; - this[0x1a] = (GameState)0x0; - this[0x1b] = (GameState)0x0; - this[0x1c] = (GameState)0x0; - this[0x1d] = (GameState)0x0; - this[0x1e] = (GameState)0x0; - this[0x1f] = (GameState)0x0; - this[0x20] = (GameState)0x0; - *(undefined1 *)(this + 0x21) = 0; - this[0x22] = (GameState)0x0; - this[0x37] = (GameState)0x0; - this[0x38] = (GameState)0x0; - this[0x39] = (GameState)0x0; - this[0x3a] = (GameState)0x0; - this[0x3b] = (GameState)0x0; - this[0x3c] = (GameState)0xffffffff; - this[0x3d] = (GameState)0x0; - this[0x3e] = (GameState)0x0; - this[0x3f] = (GameState)0x0; - this[0x40] = (GameState)0x0; - *(undefined2 *)(this + 0x41) = 0; - *(undefined4 *)&this[0x41].field_0x2 = 0x1a0000; - *(undefined4 *)&this[0x42].field_0x2 = 0; - *(undefined4 *)&this[0x43].field_0x2 = 0; - *(undefined4 *)&this[0x44].field_0x2 = 0; - *(undefined4 *)&this[0x45].field_0x2 = 0; - *(undefined8 *)&this[0x46].field_0x2 = 0; - *(undefined2 *)&this[0x48].field_0x2 = 0; - this[0x49] = (GameState)0x0; - memset(this + 0x4a,0,0x30); - local_fc = this + 0x6a; - this[0x56] = (GameState)0xffffffff; - this[0x57] = (GameState)0x0; - this[0x58] = (GameState)0x0; - this[0x67] = (GameState)0x0; - GVar8 = (GameState)0x0; - pGVar6 = this + 0x5f1b; + memset(&this->field_0xe,0,0x35); + *(undefined4 *)&this->field_0xa8 = *(undefined4 *)&this->field_0xa4; + *(undefined4 *)&this->field_0xb4 = *(undefined4 *)&this->field_0xb0; + *(undefined4 *)&this->field_0x8c = 0; + *(undefined4 *)&this->field_0x90 = 0; + *(undefined4 *)&this->field_0x94 = 0; + *(undefined4 *)&this->field_0x98 = 0; + *(undefined4 *)&this->field_0x9c = 0; + *(undefined4 *)&this->field_0xa0 = 0; + *(undefined4 *)&this->field_0xbc = 0; + *(undefined4 *)&this->field_0xc0 = 0; + *(undefined4 *)&this->field_0x44 = 0; + *(undefined4 *)&this->field_0x48 = 0; + *(undefined4 *)&this->field_0x4c = 0; + *(undefined4 *)&this->field_0x50 = 0; + *(undefined4 *)&this->field_0x54 = 0; + *(undefined4 *)&this->field_0x58 = 0; + *(undefined4 *)&this->field_0x5c = 0; + *(undefined4 *)&this->field_0x60 = 0; + *(undefined4 *)&this->field_0x64 = 0; + *(undefined4 *)&this->field_0x68 = 0; + *(undefined4 *)&this->field_0x6c = 0; + *(undefined4 *)&this->field_0x70 = 0; + *(undefined4 *)&this->field_0x74 = 0; + *(undefined4 *)&this->field_0x78 = 0; + *(undefined4 *)&this->field_0x7c = 0; + *(undefined4 *)&this->field_0x80 = 0; + this->field_0x84 = 0; + *(undefined4 *)&this->field_0x88 = 0; + *(undefined4 *)&this->field_0xdc = 0; + *(undefined4 *)&this->field_0xe0 = 0; + *(undefined4 *)&this->field_0xe4 = 0; + *(undefined4 *)&this->field_0xe8 = 0; + *(undefined4 *)&this->field_0xec = 0; + *(undefined4 *)&this->field_0xf0 = 0xffffffff; + *(undefined4 *)&this->field_0xf4 = 0; + *(undefined4 *)&this->field_0xf8 = 0; + *(undefined4 *)&this->field_0xfc = 0; + *(undefined4 *)&this->field_0x100 = 0; + *(undefined2 *)&this->field_0x104 = 0; + *(undefined4 *)&this->field_0x106 = 0x1a0000; + *(undefined4 *)&this->field_0x10a = 0; + *(undefined4 *)&this->field_0x10e = 0; + *(undefined4 *)&this->field_0x112 = 0; + *(undefined4 *)&this->field_0x116 = 0; + *(undefined8 *)&this->field_0x11a = 0; + *(undefined2 *)&this->field_0x122 = 0; + *(undefined4 *)&this->field_0x124 = 0; + memset(&this->field_0x128,0,0x30); + local_fc = (uint *)&this->field_0x1a8; + *(undefined4 *)&this->field_0x158 = 0xffffffff; + *(undefined4 *)&this->field_0x15c = 0; + *(undefined4 *)&this->field_0x160 = 0; + *(undefined4 *)&this->field_0x19c = 0; + uVar11 = 0; + puVar8 = (undefined4 *)&this->field_0x17c6c; do { - pRVar2 = RoomDescriptor::constructor(&local_e0); - RoomDescriptor::operator_assign(pRVar2); + pRVar4 = RoomDescriptor::constructor(&local_e0); + RoomDescriptor::operator_assign((RoomDescriptor *)(local_fc + -2),pRVar4); std::vector::_Tidy(); FID_conflict__Erase_tree_>_> (&local_e0.RestrictedGridIndexes, @@ -898694,96 +900183,96 @@ void __thiscall GameState::Clear(GameState *this) operator_delete(local_e0.RestrictedGridIndexes._head,0x14); std::vector::_Tidy(); FUN_00708f90(); - pGVar7 = local_e4; - *local_fc = GVar8; - GVar8 = (GameState)((int)GVar8 + 1); + pGVar3 = local_e4; + *local_fc = uVar11; + uVar11 = uVar11 + 1; local_fc = local_fc + 0x2e; - pGVar6[-1] = (GameState)0x0; - *pGVar6 = (GameState)0x0; - pGVar6[1] = (GameState)0x0; - pGVar6 = pGVar6 + 3; - } while ((uint)GVar8 < 0x20f); - memset(local_e4 + 0x654c,0,0x7ec); - pGVar7[0x6747] = (GameState)0x0; - pGVar6 = pGVar7 + 0x675f; - pGVar7[0x6748] = (GameState)0x0; - *(undefined1 *)(pGVar7 + 0x6749) = 0; - pGVar7[0x674a] = (GameState)0x0; - *(undefined2 *)(pGVar7 + 0x674b) = 0; - pGVar7[0x674c] = (GameState)g_vectorZero.x; - pGVar7[0x674d] = (GameState)g_vectorZero.y; - pGVar7[0x674e] = (GameState)0x0; + puVar8[-1] = 0; + *puVar8 = 0; + puVar8[1] = 0; + puVar8 = puVar8 + 3; + } while (uVar11 < 0x20f); + memset(&local_e4->field_0x19530,0,0x7ec); + *(undefined4 *)&pGVar3->field_0x19d1c = 0; + pGVar9 = (GameStatePlayer *)&pGVar3->field_0x19d7c; + *(undefined4 *)&pGVar3->field_0x19d20 = 0; + pGVar3->field_0x19d24 = 0; + *(undefined4 *)&pGVar3->field_0x19d28 = 0; + *(undefined2 *)&pGVar3->field_0x19d2c = 0; + *(float *)&pGVar3->field_0x19d30 = g_vectorZero.x; + *(float *)&pGVar3->field_0x19d34 = g_vectorZero.y; + *(undefined4 *)&pGVar3->field_0x19d38 = 0; local_f8 = (int *)0xffffffff; iStack_f4 = 0; - GStack_f0 = (GameState)((uint)GStack_f0 & 0xffffff00); - uStack_ec = 0; - pGVar7[0x6754] = (GameState)0xffffffff; - pGVar7[0x675b] = (GameState)0x0; - pGVar7[0x674f] = (GameState)0xffffffff; - pGVar7[0x6750] = (GameState)0x0; - pGVar7[0x6751] = GStack_f0; - pGVar7[0x6752] = (GameState)0x0; - pGVar7[0x675c] = (GameState)0x0; - *(undefined1 *)(pGVar7 + 0x675d) = 0; - local_e8 = (GameState)((uint)local_e8 & 0xffffff00); - pGVar7[0x6753] = local_e8; - pGVar7[0x6758] = (GameState)0xfffe7961; - pGVar7[0x6755] = (GameState)0xfffe7961; - *(undefined8 *)(pGVar7 + 0x59) = 0xc0000000c; - *(undefined8 *)(pGVar7 + 0x5b) = 0xc0000000c; - *(undefined8 *)(pGVar7 + 0x5d) = 0xc0000000c; - *(undefined8 *)(pGVar7 + 0x5f) = 0xc0000000c; - *(undefined8 *)(pGVar7 + 0x61) = 0xc0000000c; - *(undefined8 *)(pGVar7 + 99) = 0xc0000000c; - *(undefined8 *)(pGVar7 + 0x65) = 0xc0000000c; - iVar9 = 8; + auStack_f0[0] = auStack_f0[0] & 0xffffff00; + auStack_f0[1] = 0; + *(undefined4 *)&pGVar3->field_0x19d50 = 0xffffffff; + *(undefined4 *)&pGVar3->field_0x19d6c = 0; + *(undefined4 *)&pGVar3->field_0x19d3c = 0xffffffff; + *(undefined4 *)&pGVar3->field_0x19d40 = 0; + *(uint *)&pGVar3->field_0x19d44 = auStack_f0[0]; + *(undefined4 *)&pGVar3->field_0x19d48 = 0; + *(undefined4 *)&pGVar3->field_0x19d70 = 0; + pGVar3->field_0x19d74 = 0; + auStack_f0[2] = auStack_f0[2] & 0xffffff00; + *(uint *)&pGVar3->field_0x19d4c = auStack_f0[2]; + *(undefined4 *)&pGVar3->field_0x19d60 = 0xfffe7961; + *(undefined4 *)&pGVar3->field_0x19d54 = 0xfffe7961; + *(undefined8 *)&pGVar3->field_0x164 = 0xc0000000c; + *(undefined8 *)&pGVar3->field_0x16c = 0xc0000000c; + *(undefined8 *)&pGVar3->field_0x174 = 0xc0000000c; + *(undefined8 *)&pGVar3->field_0x17c = 0xc0000000c; + *(undefined8 *)&pGVar3->field_0x184 = 0xc0000000c; + *(undefined8 *)&pGVar3->field_0x18c = 0xc0000000c; + *(undefined8 *)&pGVar3->field_0x194 = 0xc0000000c; + iVar12 = 8; do { - GameStatePlayer::Init((GameStatePlayer *)pGVar6); - pGVar6 = pGVar6 + 0x177; - iVar9 = iVar9 + -1; - } while (iVar9 != 0); - iVar9 = 4; - this_00 = (GameStatePlayer *)(local_e4 + 0x7317); + GameStatePlayer::Init(pGVar9); + pGVar9 = pGVar9 + 0x177; + iVar12 = iVar12 + -1; + } while (iVar12 != 0); + iVar12 = 4; + pGVar9 = (GameStatePlayer *)&local_e4->field_0x1cc5c; do { - GameStatePlayer::Init(this_00); - pGVar6 = local_e4; - *this_00 = (GameStatePlayer)0xffffffff; - this_00 = this_00 + 0x177; - iVar9 = iVar9 + -1; - } while (iVar9 != 0); + GameStatePlayer::Init(pGVar9); + pGVar3 = local_e4; + *pGVar9 = (GameStatePlayer)0xffffffff; + pGVar9 = pGVar9 + 0x177; + iVar12 = iVar12 + -1; + } while (iVar12 != 0); local_e4 = (GameState *)0x0; - pGVar6[0x675e] = (GameState)0x1; - pGVar7 = pGVar6 + 0x78f3; + *(undefined4 *)&pGVar3->field_0x19d78 = 1; + puVar10 = (uint *)&pGVar3->field_0x1e3cc; do { - if (&GStack_f0 != pGVar7) { - GVar8 = *pGVar7; - GVar3 = pGVar7[2]; - *pGVar7 = (GameState)0x0; - pGVar7[1] = (GameState)0x0; - pGVar7[2] = (GameState)0x0; - if (GVar8 != (GameState)0x0) { - uVar4 = (int)GVar3 - (int)GVar8 & 0xfffffffc; - GVar3 = GVar8; - if (0xfff < uVar4) { - GVar3 = *(GameState *)((int)GVar8 + -4); - uVar4 = uVar4 + 0x23; - if (0x1f < ((int)GVar8 - (int)GVar3) - 4U) goto LAB_009c8175; + if (auStack_f0 != puVar10) { + uVar11 = *puVar10; + uVar5 = puVar10[2]; + *puVar10 = 0; + puVar10[1] = 0; + puVar10[2] = 0; + if (uVar11 != 0) { + uVar7 = uVar5 - uVar11 & 0xfffffffc; + uVar5 = uVar11; + if (0xfff < uVar7) { + uVar5 = *(uint *)(uVar11 - 4); + uVar7 = uVar7 + 0x23; + if (0x1f < (uVar11 - uVar5) - 4) goto LAB_009c8175; } - operator_delete(GVar3,uVar4); + operator_delete(uVar5,uVar7); } } local_e4 = (GameState *)((int)local_e4 + 1); - pGVar7 = pGVar7 + 3; + puVar10 = puVar10 + 3; } while (local_e4 < 0x1f); - memset(pGVar6 + 0x7950,0,0x7c); - pGVar6[0x796f] = (GameState)0x0; - pGVar6[0x7970] = (GameState)0xffffffff; - pGVar6[0x7971] = (GameState)0x0; - pGVar6[0x7972] = (GameState)0x0; - pGVar6[0x7973] = (GameState)0x3f800000; - pGVar6[0x7974] = (GameState)0x3f800000; - memset(pGVar6 + 0x797d,0,0x4b); - memset(pGVar6 + 0x7990,0,0x3e); + memset(&pGVar3->field_0x1e540,0,0x7c); + *(undefined4 *)&pGVar3->field_0x1e5bc = 0; + *(undefined4 *)&pGVar3->field_0x1e5c0 = 0xffffffff; + *(undefined4 *)&pGVar3->field_0x1e5c4 = 0; + *(undefined4 *)&pGVar3->field_0x1e5c8 = 0; + *(undefined4 *)&pGVar3->field_0x1e5cc = 0x3f800000; + *(undefined4 *)&pGVar3->field_0x1e5d0 = 0x3f800000; + memset(&pGVar3->field_0x1e5f4,0,0x4b); + memset(&pGVar3->field_0x1e640,0,0x3e); FUN_009cf000(); local_e0.AwardSeed = -0x55e8beb1; local_e0.BossDeathSeed = 5; @@ -898792,167 +900281,167 @@ void __thiscall GameState::Clear(GameState *this) local_e0.ShopItemIdx = 0; local_e0.ShopItemDiscountIdx = 0; local_e0.DeliriumDistance = 0; - iVar9 = operator_new(0x14); - *(int *)iVar9 = iVar9; - *(int *)(iVar9 + 4) = iVar9; - *(int *)(iVar9 + 8) = iVar9; - *(undefined2 *)(iVar9 + 0xc) = 0x101; + iVar12 = operator_new(0x14); + *(int *)iVar12 = iVar12; + *(int *)(iVar12 + 4) = iVar12; + *(int *)(iVar12 + 8) = iVar12; + *(undefined2 *)(iVar12 + 0xc) = 0x101; local_e0.SpawnSeed = 0; local_e0.DecorationSeed._0_1_ = 0; - local_e0._172_4_ = iVar9; + local_e0._172_4_ = iVar12; FID_conflict__Erase_tree_>_> (&local_e0.ShopItemIdx, (fuzzer_allocator_> *)&local_e0.ShopItemIdx, - *(_Tree_node **)(iVar9 + 4)); - *(int *)(iVar9 + 4) = iVar9; - *(int *)iVar9 = iVar9; - *(int *)(iVar9 + 8) = iVar9; + *(_Tree_node **)(iVar12 + 4)); + *(int *)(iVar12 + 4) = iVar12; + *(int *)iVar12 = iVar12; + *(int *)(iVar12 + 8) = iVar12; local_e0.DeliriumDistance = 0; local_14 = 0; - Seeds::operator_assign(&local_e0.DecorationSeed); + Seeds::operator_assign((Seeds *)&pGVar3->field_0x1e724,&local_e0.DecorationSeed); local_14 = 0xffffffff; FID_conflict__Erase_tree_>_> (&local_e0.ShopItemIdx, (fuzzer_allocator_> *)&local_e0.ShopItemIdx, *(_Tree_node **)(local_e0._172_4_ + 4)); operator_delete(local_e0._172_4_,0x14); - pGVar7 = pGVar6 + 0x79e4; - pGVar6[0x79e0] = (GameState)0x0; - pGVar6[0x79e1] = (GameState)0x0; - pGVar6[0x79e2] = (GameState)0x0; - pGVar6[0x79e3] = (GameState)0x0; - if (&GStack_f0 != pGVar7) { - GVar8 = *pGVar7; - GVar3 = pGVar6[0x79e6]; - *pGVar7 = (GameState)0x0; - pGVar6[0x79e5] = (GameState)0x0; - pGVar6[0x79e6] = (GameState)0x0; - if (GVar8 != (GameState)0x0) { - uVar4 = (((int)GVar3 - (int)GVar8) / 0xc) * 0xc; - GVar3 = GVar8; - if (0xfff < uVar4) { - GVar3 = *(GameState *)((int)GVar8 + -4); - uVar4 = uVar4 + 0x23; - if (0x1f < ((int)GVar8 - (int)GVar3) - 4U) goto LAB_009c8175; + puVar1 = &pGVar3->field_0x1e790; + *(undefined4 *)&pGVar3->field_0x1e780 = 0; + *(undefined4 *)&pGVar3->field_0x1e784 = 0; + *(undefined4 *)&pGVar3->field_0x1e788 = 0; + *(undefined4 *)&pGVar3->field_0x1e78c = 0; + if (auStack_f0 != (uint *)puVar1) { + iVar12 = *(int *)puVar1; + iVar6 = *(int *)&pGVar3->field_0x1e798; + *(undefined4 *)puVar1 = 0; + *(undefined4 *)&pGVar3->field_0x1e794 = 0; + *(undefined4 *)&pGVar3->field_0x1e798 = 0; + if (iVar12 != 0) { + uVar11 = ((iVar6 - iVar12) / 0xc) * 0xc; + iVar6 = iVar12; + if (0xfff < uVar11) { + iVar6 = *(int *)(iVar12 + -4); + uVar11 = uVar11 + 0x23; + if (0x1f < (iVar12 - iVar6) - 4U) goto LAB_009c8175; } - operator_delete(GVar3,uVar4); + operator_delete(iVar6,uVar11); } } - pGVar7 = pGVar6 + 0x79e7; - pGVar6[0x79ea] = (GameState)0x0; - pGVar6[0x79eb] = (GameState)0x0; - if (&GStack_f0 != pGVar7) { - GVar8 = *pGVar7; - GVar3 = pGVar6[0x79e9]; - *pGVar7 = (GameState)0x0; - pGVar6[0x79e8] = (GameState)0x0; - pGVar6[0x79e9] = (GameState)0x0; - if (GVar8 != (GameState)0x0) { - uVar4 = (int)GVar3 - (int)GVar8 & 0xfffffff8; - GVar3 = GVar8; - if (0xfff < uVar4) { - GVar3 = *(GameState *)((int)GVar8 + -4); - uVar4 = uVar4 + 0x23; - if (0x1f < ((int)GVar8 - (int)GVar3) - 4U) goto LAB_009c8175; + puVar1 = &pGVar3->field_0x1e79c; + *(undefined4 *)&pGVar3->field_0x1e7a8 = 0; + *(undefined4 *)&pGVar3->field_0x1e7ac = 0; + if (auStack_f0 != (uint *)puVar1) { + iVar12 = *(int *)puVar1; + iVar6 = *(int *)&pGVar3->field_0x1e7a4; + *(undefined4 *)puVar1 = 0; + *(undefined4 *)&pGVar3->field_0x1e7a0 = 0; + *(undefined4 *)&pGVar3->field_0x1e7a4 = 0; + if (iVar12 != 0) { + uVar11 = iVar6 - iVar12 & 0xfffffff8; + iVar6 = iVar12; + if (0xfff < uVar11) { + iVar6 = *(int *)(iVar12 + -4); + uVar11 = uVar11 + 0x23; + if (0x1f < (iVar12 - iVar6) - 4U) goto LAB_009c8175; } - operator_delete(GVar3,uVar4); + operator_delete(iVar6,uVar11); } } iStack_f4 = 0; - GStack_f0 = (GameState)0x0; - uStack_ec = 0; - local_e8 = (GameState)0x0; + auStack_f0[0] = 0; + auStack_f0[1] = 0; + auStack_f0[2] = 0; local_f8 = (int *)operator_new(8); local_f8[1] = 0; *local_f8 = (int)&local_f8; - FUN_007526b0(pGVar6 + 0x6547); - if (local_e8 != (GameState)0x0) { + FUN_007526b0(&pGVar3->field_0x1951c); + if (auStack_f0[2] != 0) { do { - local_e8 = (GameState)((int)local_e8 + -1); - } while (local_e8 != (GameState)0x0); - uStack_ec = 0; - local_e8 = (GameState)0x0; + auStack_f0[2] = auStack_f0[2] - 1; + } while (auStack_f0[2] != 0); + auStack_f0[1] = 0; + auStack_f0[2] = 0; } - iVar9 = iStack_f4; - GVar8 = GStack_f0; - if (GStack_f0 != (GameState)0x0) { + iVar12 = iStack_f4; + uVar11 = auStack_f0[0]; + if (auStack_f0[0] != 0) { do { - iVar5 = *(int *)(iVar9 + -4 + (int)GVar8 * 4); - GVar8 = (GameState)((int)GVar8 + -1); - if (iVar5 != 0) { - operator_delete(iVar5,0xc); - iVar9 = iStack_f4; + iVar6 = *(int *)(iVar12 + -4 + uVar11 * 4); + uVar11 = uVar11 - 1; + if (iVar6 != 0) { + operator_delete(iVar6,0xc); + iVar12 = iStack_f4; } - } while (GVar8 != (GameState)0x0); + } while (uVar11 != 0); } - if (iVar9 != 0) { - uVar4 = (int)GStack_f0 * 4; - iVar5 = iVar9; - if (0xfff < uVar4) { - iVar5 = *(int *)(iVar9 + -4); - uVar4 = uVar4 + 0x23; - if (0x1f < (iVar9 - iVar5) - 4U) goto LAB_009c8175; + if (iVar12 != 0) { + uVar11 = auStack_f0[0] * 4; + iVar6 = iVar12; + if (0xfff < uVar11) { + iVar6 = *(int *)(iVar12 + -4); + uVar11 = uVar11 + 0x23; + if (0x1f < (iVar12 - iVar6) - 4U) goto LAB_009c8175; } - operator_delete(iVar5,uVar4); + operator_delete(iVar6,uVar11); } - piVar1 = local_f8; - GStack_f0 = (GameState)0x0; + piVar2 = local_f8; + auStack_f0[0] = 0; iStack_f4 = 0; local_f8 = (int *)0x0; - operator_delete(piVar1,8); - *(undefined1 *)(pGVar6 + 0x79ec) = 0; - pGVar7 = pGVar6 + 0x7f66; - pGVar6[0x7ab1] = (GameState)0x0; - pGVar6[0x7ab2] = (GameState)0x0; - *(undefined1 *)(pGVar6 + 0x7ab4) = 0; - pGVar6[0x7ab3] = (GameState)0x0; - pGVar6[0x7b79] = (GameState)0x0; - pGVar6[0x7b7a] = (GameState)0x0; - *(undefined1 *)(pGVar6 + 0x7b7c) = 0; - pGVar6[0x7b7b] = (GameState)0x0; - pGVar6[0x7c41] = (GameState)0x0; - pGVar6[0x7c42] = (GameState)0x0; - *(undefined1 *)(pGVar6 + 0x7c44) = 0; - pGVar6[0x7c43] = (GameState)0x0; - pGVar6[0x7d09] = (GameState)0x0; - pGVar6[0x7d0a] = (GameState)0x0; - *(undefined1 *)(pGVar6 + 0x7d0c) = 0; - pGVar6[0x7d0b] = (GameState)0x0; - pGVar6[0x7dd1] = (GameState)0x0; - pGVar6[0x7dd2] = (GameState)0x0; - *(undefined1 *)(pGVar6 + 0x7dd4) = 0; - pGVar6[0x7dd3] = (GameState)0x0; - pGVar6[0x7e99] = (GameState)0x0; - pGVar6[0x7e9a] = (GameState)0x0; - *(undefined1 *)(pGVar6 + 0x7e9c) = 0; - pGVar6[0x7e9b] = (GameState)0x0; - pGVar6[0x7f61] = (GameState)0x0; - pGVar6[0x7f62] = (GameState)0x0; - *(undefined1 *)(pGVar6 + 0x7f64) = 0; - pGVar6[0x7f63] = (GameState)0x0; - *(undefined2 *)(pGVar6 + 0x7f65) = 0; - if (&GStack_f0 != pGVar7) { - GVar8 = *pGVar7; - GVar3 = pGVar6[0x7f68]; - *pGVar7 = (GameState)0x0; - pGVar6[0x7f67] = (GameState)0x0; - pGVar6[0x7f68] = (GameState)0x0; - if (GVar8 != (GameState)0x0) { - uVar4 = (int)GVar3 - (int)GVar8 & 0xfffffffc; - GVar3 = GVar8; - if (0xfff < uVar4) { - GVar3 = *(GameState *)((int)GVar8 + -4); - uVar4 = uVar4 + 0x23; - if (0x1f < ((int)GVar8 - (int)GVar3) - 4U) { + operator_delete(piVar2,8); + pGVar3->field_0x1e7b0 = 0; + puVar1 = &pGVar3->field_0x1fd98; + *(undefined4 *)&pGVar3->field_0x1eac4 = 0; + *(undefined4 *)&pGVar3->field_0x1eac8 = 0; + pGVar3->field_0x1ead0 = 0; + *(undefined4 *)&pGVar3->field_0x1eacc = 0; + *(undefined4 *)&pGVar3->field_0x1ede4 = 0; + *(undefined4 *)&pGVar3->field_0x1ede8 = 0; + pGVar3->field_0x1edf0 = 0; + *(undefined4 *)&pGVar3->field_0x1edec = 0; + *(undefined4 *)&pGVar3->field_0x1f104 = 0; + *(undefined4 *)&pGVar3->field_0x1f108 = 0; + pGVar3->field_0x1f110 = 0; + *(undefined4 *)&pGVar3->field_0x1f10c = 0; + *(undefined4 *)&pGVar3->field_0x1f424 = 0; + *(undefined4 *)&pGVar3->field_0x1f428 = 0; + pGVar3->field_0x1f430 = 0; + *(undefined4 *)&pGVar3->field_0x1f42c = 0; + *(undefined4 *)&pGVar3->field_0x1f744 = 0; + *(undefined4 *)&pGVar3->field_0x1f748 = 0; + pGVar3->field_0x1f750 = 0; + *(undefined4 *)&pGVar3->field_0x1f74c = 0; + *(undefined4 *)&pGVar3->field_0x1fa64 = 0; + *(undefined4 *)&pGVar3->field_0x1fa68 = 0; + pGVar3->field_0x1fa70 = 0; + *(undefined4 *)&pGVar3->field_0x1fa6c = 0; + *(undefined4 *)&pGVar3->field_0x1fd84 = 0; + *(undefined4 *)&pGVar3->field_0x1fd88 = 0; + pGVar3->field_0x1fd90 = 0; + *(undefined4 *)&pGVar3->field_0x1fd8c = 0; + *(undefined2 *)&pGVar3->field_0x1fd94 = 0; + if (auStack_f0 != (uint *)puVar1) { + iVar12 = *(int *)puVar1; + iVar6 = *(int *)&pGVar3->field_0x1fda0; + *(undefined4 *)puVar1 = 0; + *(undefined4 *)&pGVar3->field_0x1fd9c = 0; + *(undefined4 *)&pGVar3->field_0x1fda0 = 0; + if (iVar12 != 0) { + uVar11 = iVar6 - iVar12 & 0xfffffffc; + iVar6 = iVar12; + if (0xfff < uVar11) { + iVar6 = *(int *)(iVar12 + -4); + uVar11 = uVar11 + 0x23; + if (0x1f < (iVar12 - iVar6) - 4U) { LAB_009c8175: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(GVar3,uVar4); + operator_delete(iVar6,uVar11); } } - pGVar6[0x7f69] = (GameState)0x0; + *(undefined4 *)&pGVar3->field_0x1fda4 = 0; ExceptionList = local_1c; return; } @@ -898970,33 +900459,34 @@ void __thiscall GameState::Delete(GameState *this) char cVar2; int *piVar3; undefined4 *puVar4; - GameState GVar5; + char *_Filename; + undefined1 *puVar5; pMVar1 = g_manager; piVar3 = (int *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); if ((*piVar3 == 0) || ((pMVar1->_optionsConfig)._enableSteamCloud == 0)) { - if (this[0x7f6f] == (GameState)0x0) { + if (*(int *)&this->field_0x1fdbc == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"[warn] GameState::Delete: no filename specified.\n"); } - GVar5 = (GameState)(this + 0x7f6b); - if (0xf < (uint)this[0x7f70]) { - GVar5 = *(GameState *)GVar5; + _Filename = &this->field_0x1fdac; + if (0xf < *(uint *)&this->field_0x1fdc0) { + _Filename = *(char **)_Filename; } - remove((char *)GVar5); + remove(_Filename); } else { - GVar5 = (GameState)(this + 0x7f7d); - if (0xf < (uint)this[0x7f82]) { - GVar5 = *(GameState *)GVar5; + puVar5 = &this->field_0x1fdf4; + if (0xf < *(uint *)&this->field_0x1fe08) { + puVar5 = *(undefined1 **)puVar5; } piVar3 = (int *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); if (*piVar3 != 0) { puVar4 = (undefined4 *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); - cVar2 = (**(code **)(*(int *)*puVar4 + 0x34))(GVar5); + cVar2 = (**(code **)(*(int *)*puVar4 + 0x34))(puVar5); if (cVar2 != '\0') { puVar4 = (undefined4 *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); - (**(code **)(*(int *)*puVar4 + 0x18))(GVar5); + (**(code **)(*(int *)*puVar4 + 0x18))(puVar5); Clear(this); return; } @@ -899019,33 +900509,34 @@ void __thiscall GameState::DeleteRerun(GameState *this) char cVar2; int *piVar3; undefined4 *puVar4; - GameState GVar5; + char *_Filename; + undefined1 *puVar5; pMVar1 = g_manager; piVar3 = (int *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); if ((*piVar3 == 0) || ((pMVar1->_optionsConfig)._enableSteamCloud == 0)) { - if (this[0x7f6f] == (GameState)0x0) { + if (*(int *)&this->field_0x1fdbc == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"[warn] GameState::DeleteRerun: no filename specified.\n"); } - GVar5 = (GameState)(this + 0x7f71); - if (0xf < (uint)this[0x7f76]) { - GVar5 = *(GameState *)GVar5; + _Filename = &this->field_0x1fdc4; + if (0xf < *(uint *)&this->field_0x1fdd8) { + _Filename = *(char **)_Filename; } - remove((char *)GVar5); + remove(_Filename); } else { - GVar5 = (GameState)(this + 0x7f83); - if (0xf < (uint)this[0x7f88]) { - GVar5 = *(GameState *)GVar5; + puVar5 = &this->field_0x1fe0c; + if (0xf < *(uint *)&this->field_0x1fe20) { + puVar5 = *(undefined1 **)puVar5; } piVar3 = (int *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); if (*piVar3 != 0) { puVar4 = (undefined4 *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); - cVar2 = (**(code **)(*(int *)*puVar4 + 0x34))(GVar5); + cVar2 = (**(code **)(*(int *)*puVar4 + 0x34))(puVar5); if (cVar2 != '\0') { puVar4 = (undefined4 *)SteamInternal_ContextInit(&PTR_FUN_00c5c3a4); - (**(code **)(*(int *)*puVar4 + 0x18))(GVar5); + (**(code **)(*(int *)*puVar4 + 0x18))(puVar5); return; } } @@ -899810,29 +901301,34 @@ undefined4 GameState::write_room(uint param_1,ushort *param_2,int *param_3) byte __thiscall GameState::write(GameState *this,void **gameStateIO) { - int iVar1; - byte bVar2; - ushort uVar3; - uint uVar4; + byte bVar1; + undefined2 uVar2; + int iVar3; + void *pvVar4; short sVar5; undefined4 *****pppppuVar6; - uint uVar7; - GameState *pGVar8; - GameState *pGVar9; - GameState GVar10; + int iVar7; + uint *puVar8; + undefined1 *puVar9; + int *piVar10; + undefined4 *puVar11; + GameState *pGVar12; + char *pcVar13; + uint uVar14; + undefined1 *puVar15; uint local_46c; - GameState local_468; + int *local_468; char local_462; char local_461; - GameState *local_460; - GameState local_45c; + uint *local_460; + int *local_45c; GameState *local_458; char local_451; - GameState local_450; + int *local_450; char local_44c [4]; undefined4 *****local_448 [3]; undefined1 local_43c [8]; - GameState local_434; + uint local_434; ushort local_430 [510]; undefined1 local_34 [16]; byte local_24 [12]; @@ -899848,390 +901344,388 @@ byte __thiscall GameState::write(GameState *this,void **gameStateIO) ExceptionList = &local_10; local_458 = this; sprintf(local_34,"ISAACNG_GSR%04u",0xa9,local_18); - (**(code **)(*(int *)this[0x7f89] + 0x1c))(local_34,1,0x10); + (**(code **)(*(int *)this->_saveFile + 0x1c))(local_34,1,0x10); (**(code **)(*(int *)*gameStateIO + 0x1c))(this,4,1); - local_450 = *this; + local_450 = *(int **)this; Checksum::Update(&local_450,4); - (**(code **)(*(int *)*gameStateIO + 0x1c))(this + 1,1,1); - local_44c[0] = *(char *)(this + 1); + (**(code **)(*(int *)*gameStateIO + 0x1c))(&this->field_0x4,1,1); + local_44c[0] = this->field_0x4; Checksum::Update(local_44c,1); - pGVar9 = local_458; - local_461 = *(char *)(local_458 + 0x79c9); + pGVar12 = local_458; + local_461 = local_458->field_0x1e724; (**(code **)(*(int *)*gameStateIO + 0x1c))(&local_461,1,1); local_44c[0] = local_461; Checksum::Update(local_44c,1); - (**(code **)(*(int *)*gameStateIO + 0x1c))(&pGVar9[1].field_0x1,1,1); - local_44c[0] = pGVar9[1].field_0x1; + (**(code **)(*(int *)*gameStateIO + 0x1c))(&pGVar12->field_0x5,1,1); + local_44c[0] = pGVar12->field_0x5; Checksum::Update(local_44c,1); - pGVar9 = local_458 + 2; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x8; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 3; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,2,1); - local_450._2_2_ = 0; - local_450._0_2_ = *(ushort *)pGVar9; + puVar9 = &local_458->field_0xc; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,2,1); + local_450 = (int *)(uint)*(ushort *)puVar9; Checksum::Update(&local_450,2); - uVar3 = *(ushort *)pGVar9; - pGVar9 = local_458 + 3; - (**(code **)(*(int *)*gameStateIO + 0x1c))(&pGVar9->field_0x2,1,uVar3); - Checksum::Update(&pGVar9->field_0x2,uVar3); - pGVar9 = local_458 + 0x11; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + uVar2 = *(undefined2 *)puVar9; + puVar9 = &local_458->field_0xe; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,uVar2); + Checksum::Update(puVar9,uVar2); + puVar9 = &local_458->field_0x44; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x12; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x48; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x13; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x4c; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x14; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x50; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x15; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x54; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x16; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x58; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x17; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x5c; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x18; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x60; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x19; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x64; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x1a; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x68; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x1b; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x6c; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x1c; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x70; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x1d; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x74; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x1e; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x78; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x1f; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x7c; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x20; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x80; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x37; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0xdc; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x38; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0xe0; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x21; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,1,1); - local_44c[0] = *(char *)pGVar9; + puVar9 = &local_458->field_0x84; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,1); + local_44c[0] = *puVar9; Checksum::Update(local_44c,1); - pGVar9 = local_458 + 0x22; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x88; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458; + pGVar12 = local_458; write_score_sheet(gameStateIO); - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9 + 0x39,4,1); - local_450 = pGVar9[0x39]; + (**(code **)(*(int *)*gameStateIO + 0x1c))(&pGVar12->field_0xe4,4,1); + local_450 = *(int **)&pGVar12->field_0xe4; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x3a; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0xe8; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x3b; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0xec; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x3c; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0xf0; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x3d; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0xf4; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x3e; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0xf8; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x3f; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0xfc; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x40; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x100; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x41; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,1,1); - local_44c[0] = *(char *)pGVar9; + puVar9 = &local_458->field_0x104; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,1); + local_44c[0] = *puVar9; Checksum::Update(local_44c,1); - pGVar9 = local_458 + 0x41; - (**(code **)(*(int *)*gameStateIO + 0x1c))(&pGVar9->field_0x1,1,1); - local_44c[0] = pGVar9->field_0x1; + puVar9 = &local_458->field_0x105; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,1); + local_44c[0] = *puVar9; Checksum::Update(local_44c,1); - pGVar9 = local_458 + 0x41; - (**(code **)(*(int *)*gameStateIO + 0x1c))(&pGVar9->field_0x2,1,1); - local_44c[0] = pGVar9->field_0x2; + puVar9 = &local_458->field_0x106; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,1); + local_44c[0] = *puVar9; Checksum::Update(local_44c,1); - pGVar9 = local_458 + 0x41; - (**(code **)(*(int *)*gameStateIO + 0x1c))(&pGVar9->field_0x3,1,1); - local_44c[0] = pGVar9->field_0x3; + puVar9 = &local_458->field_0x107; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,1); + local_44c[0] = *puVar9; Checksum::Update(local_44c,1); - pGVar9 = local_458 + 0x42; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,2,1); - local_450._2_2_ = 0; - local_450._0_2_ = *(ushort *)pGVar9; + puVar9 = &local_458->field_0x108; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,2,1); + local_450 = (int *)(uint)*(ushort *)puVar9; Checksum::Update(&local_450,2); - uVar3 = *(ushort *)pGVar9; - pGVar9 = local_458 + 0x42; - (**(code **)(*(int *)*gameStateIO + 0x1c))(&pGVar9->field_0x2,1,uVar3); - Checksum::Update(&pGVar9->field_0x2,uVar3); - pGVar9 = local_458 + 0x49; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + uVar2 = *(undefined2 *)puVar9; + puVar9 = &local_458->field_0x10a; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,uVar2); + Checksum::Update(puVar9,uVar2); + puVar9 = &local_458->field_0x124; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x4a; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,0xc); - Checksum::Update(pGVar9,0x30); - pGVar9 = local_458 + 0x56; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x128; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,0xc); + Checksum::Update(puVar9,0x30); + puVar9 = &local_458->field_0x158; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x57; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x15c; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x58; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x160; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x59; - local_45c = (GameState)0xe; + puVar11 = (undefined4 *)&local_458->field_0x164; + local_45c = (int *)0xe; do { - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar11,4,1); + local_450 = (int *)*puVar11; Checksum::Update(&local_450,4); - pGVar8 = local_458; - pGVar9 = pGVar9 + 1; - local_45c = (GameState)((int)local_45c + -1); - } while (local_45c != (GameState)0x0); - local_45c = local_458[0x654b]; + pGVar12 = local_458; + puVar11 = puVar11 + 1; + local_45c = (int *)((int)local_45c + -1); + } while (local_45c != (int *)0x0); + local_45c = *(int **)&local_458->field_0x1952c; (**(code **)(*(int *)*gameStateIO + 0x1c))(&local_45c,4,1); local_450 = local_45c; Checksum::Update(&local_450,4); - if (pGVar8[0x654b] != (GameState)0x0) { - GVar10 = (GameState)0x0; + if (*(int *)&pGVar12->field_0x1952c != 0) { + uVar14 = 0; do { - local_434 = pGVar8[0x654a]; + local_434 = *(uint *)&pGVar12->field_0x19528; write_entry(gameStateIO); - GVar10 = (GameState)((int)GVar10 + 1); - } while ((uint)GVar10 < (uint)pGVar8[0x654b]); + uVar14 = uVar14 + 1; + } while (uVar14 < *(uint *)&pGVar12->field_0x1952c); } - local_460 = pGVar8 + 0x67; + local_460 = (uint *)&pGVar12->field_0x19c; (**(code **)(*(int *)*gameStateIO + 0x1c))(local_460,4,1); - local_450 = pGVar8[0x67]; + local_450 = *(int **)&pGVar12->field_0x19c; Checksum::Update(&local_450,4); - local_45c = (GameState)0x0; - if (pGVar8[0x67] != (GameState)0x0) { - pGVar9 = pGVar8 + 0x68; - pGVar8 = pGVar8 + 0x5f1a; + local_45c = (int *)0x0; + if (*(int *)&pGVar12->field_0x19c != 0) { + puVar9 = &pGVar12->field_0x1a0; + puVar15 = &pGVar12->field_0x17c68; do { - write_room(pGVar8,pGVar9,gameStateIO); - pGVar9 = pGVar9 + 0x2e; - local_45c = (GameState)((int)local_45c + 1); - pGVar8 = pGVar8 + 3; - } while ((uint)local_45c < (uint)*local_460); - pGVar8 = local_458; + write_room(puVar15,puVar9,gameStateIO); + puVar9 = puVar9 + 0xb8; + local_45c = (int *)((int)local_45c + 1); + puVar15 = puVar15 + 0xc; + } while (local_45c < (int *)*local_460); + pGVar12 = local_458; } - GVar10 = (GameState)(pGVar8 + 0x5b82); - local_45c = (GameState)0x14; - pGVar8 = pGVar8 + 0x650b; - local_450 = GVar10; + puVar9 = &pGVar12->field_0x16e08; + local_45c = (int *)0x14; + puVar15 = &pGVar12->field_0x1942c; + local_450 = (int *)puVar9; do { - write_room(pGVar8,GVar10,gameStateIO); - GVar10 = (GameState)((int)GVar10 + 0xb8); - pGVar8 = pGVar8 + 3; - local_45c = (GameState)((int)local_45c + -1); - } while (local_45c != (GameState)0x0); - uVar7 = 0; + write_room(puVar15,puVar9,gameStateIO); + puVar9 = puVar9 + 0xb8; + puVar15 = puVar15 + 0xc; + local_45c = (int *)((int)local_45c + -1); + } while (local_45c != (int *)0x0); + puVar8 = (uint *)0x0; sVar5 = 0; - local_460 = (GameState *)0x0; - pGVar9 = local_458 + 0x654c; - local_45c = (GameState)0x1fb; + local_460 = (uint *)0x0; + piVar10 = (int *)&local_458->field_0x19530; + local_45c = (int *)0x1fb; do { - GVar10 = *pGVar9; - if ((int)GVar10 < 0) { + iVar3 = *piVar10; + if (iVar3 < 0) { sVar5 = sVar5 + 1; } else { if (sVar5 != 0) { - uVar4 = uVar7 & 0xffff; - uVar7 = uVar7 + 1; - local_430[uVar4] = sVar5 - 1U | 0x8000; + uVar14 = (uint)puVar8 & 0xffff; + puVar8 = (uint *)((int)puVar8 + 1); + local_430[uVar14] = sVar5 - 1U | 0x8000; sVar5 = 0; } - uVar4 = uVar7 & 0xffff; - uVar7 = uVar7 + 1; - local_430[uVar4] = GVar10._0_2_; - local_460 = (GameState *)uVar7; + uVar14 = (uint)puVar8 & 0xffff; + puVar8 = (uint *)((int)puVar8 + 1); + local_430[uVar14] = (ushort)iVar3; + local_460 = puVar8; } - pGVar9 = pGVar9 + 1; - local_45c = (GameState)((int)local_45c + -1); - } while (local_45c != (GameState)0x0); + piVar10 = piVar10 + 1; + local_45c = (int *)((int)local_45c + -1); + } while (local_45c != (int *)0x0); if (sVar5 != 0) { - local_460 = (GameState *)(uVar7 + 1); - local_430[uVar7 & 0xffff] = sVar5 - 1U | 0x8000; + local_460 = (uint *)((int)puVar8 + 1); + local_430[(uint)puVar8 & 0xffff] = sVar5 - 1U | 0x8000; } (**(code **)(*(int *)*gameStateIO + 0x1c))(&local_460,2,1); - local_450 = (GameState)((uint)local_460 & 0xffff); + local_450 = (int *)((uint)local_460 & 0xffff); Checksum::Update(&local_450,2); - uVar7 = (uint)local_460 & 0xffff; - (**(code **)(*(int *)*gameStateIO + 0x1c))(local_430,2,uVar7); - Checksum::Update(local_430,uVar7 * 2); - pGVar9 = local_458 + 0x6747; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + uVar14 = (uint)local_460 & 0xffff; + (**(code **)(*(int *)*gameStateIO + 0x1c))(local_430,2,uVar14); + Checksum::Update(local_430,uVar14 * 2); + puVar9 = &local_458->field_0x19d1c; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x674b; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,1,1); - local_44c[0] = *(char *)pGVar9; + puVar9 = &local_458->field_0x19d2c; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,1); + local_44c[0] = *puVar9; Checksum::Update(local_44c,1); - pGVar9 = local_458 + 0x674b; - (**(code **)(*(int *)*gameStateIO + 0x1c))(&pGVar9->field_0x1,1,1); - local_44c[0] = pGVar9->field_0x1; + puVar9 = &local_458->field_0x19d2d; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,1); + local_44c[0] = *puVar9; Checksum::Update(local_44c,1); - pGVar9 = local_458 + 0x6748; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d20; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x6749; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,1,1); - local_44c[0] = *(char *)pGVar9; + puVar9 = &local_458->field_0x19d24; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,1); + local_44c[0] = *puVar9; Checksum::Update(local_44c,1); - pGVar9 = local_458 + 0x674a; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d28; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x674c; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d30; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x674d; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d34; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x674e; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d38; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x674f; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d3c; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x6750; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d40; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x6752; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d48; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x6751; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,1,1); - local_44c[0] = *(char *)pGVar9; + puVar9 = &local_458->field_0x19d44; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,1); + local_44c[0] = *puVar9; Checksum::Update(local_44c,1); - pGVar9 = local_458 + 0x6753; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,1,1); - local_44c[0] = *(char *)pGVar9; + puVar9 = &local_458->field_0x19d4c; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,1); + local_44c[0] = *puVar9; Checksum::Update(local_44c,1); - pGVar9 = local_458 + 0x6754; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d50; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x6755; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d54; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x6756; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d58; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x6758; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d60; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x6759; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d64; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x6757; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,1,1); - local_44c[0] = *(char *)pGVar9; + puVar9 = &local_458->field_0x19d5c; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,1); + local_44c[0] = *puVar9; Checksum::Update(local_44c,1); - pGVar9 = local_458 + 0x675a; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,1,1); - local_44c[0] = *(char *)pGVar9; + puVar9 = &local_458->field_0x19d68; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,1); + local_44c[0] = *puVar9; Checksum::Update(local_44c,1); - pGVar9 = local_458 + 0x675b; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d6c; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x675c; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x19d70; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x675d; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,1,1); - local_44c[0] = *(char *)pGVar9; + puVar9 = &local_458->field_0x19d74; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,1,1); + local_44c[0] = *puVar9; Checksum::Update(local_44c,1); - pGVar9 = local_458; - local_451 = *(char *)(local_458 + 0x675e); + pGVar12 = local_458; + local_451 = local_458->field_0x19d78; (**(code **)(*(int *)*gameStateIO + 0x1c))(&local_451,1,1); local_44c[0] = local_451; Checksum::Update(local_44c,1); - local_45c = (GameState)0x0; - if (0 < (int)pGVar9[0x675e]) { + local_45c = (int *)0x0; + if (0 < *(int *)&pGVar12->field_0x19d78) { do { write_player(gameStateIO); - local_45c = (GameState)((int)local_45c + 1); - } while ((int)local_45c < (int)pGVar9[0x675e]); + local_45c = (int *)((int)local_45c + 1); + } while ((int)local_45c < *(int *)&pGVar12->field_0x19d78); } local_451 = '\x04'; (**(code **)(*(int *)*gameStateIO + 0x1c))(&local_451,1,1); local_44c[0] = local_451; Checksum::Update(local_44c,1); - local_45c = (GameState)(pGVar9 + 0x7317); - local_460 = (GameState *)0x4; + local_45c = (int *)&pGVar12->field_0x1cc5c; + local_460 = (uint *)0x4; do { - if (*(GameState *)local_45c == (GameState)0xffffffff) { + if (*local_45c == -1) { local_451 = '\0'; (**(code **)(*(int *)*gameStateIO + 0x1c))(); local_44c[0] = local_451; @@ -900244,37 +901738,37 @@ byte __thiscall GameState::write(GameState *this,void **gameStateIO) Checksum::Update(local_44c,1); write_player(gameStateIO); } - local_45c = (GameState)((int)local_45c + 0x5dc); - local_460 = (GameState *)&local_460[-1].field_0x3; - } while (local_460 != (GameState *)0x0); + local_45c = local_45c + 0x177; + local_460 = (uint *)((int)local_460 + -1); + } while (local_460 != (uint *)0x0); write_item_pool(gameStateIO); - if (pGVar9[0x79ca] == (GameState)0x0) { + if (*(int *)&pGVar12->field_0x1e728 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Error: Game Start Seed was not set.\n"); } - Seeds::Seed2String(local_448,pGVar9[0x79ca]); + Seeds::Seed2String(local_448,*(int *)&pGVar12->field_0x1e728); local_8 = 0; pppppuVar6 = local_448; - if (0xf < (uint)local_434) { + if (0xf < local_434) { pppppuVar6 = local_448[0]; } (**(code **)(*(int *)*gameStateIO + 0x1c))(pppppuVar6,1,9); Checksum::Update(pppppuVar6,9); local_8 = 0xffffffff; - if (0xf < (uint)local_434) { - uVar7 = (int)local_434 + 1; + if (0xf < local_434) { + uVar14 = local_434 + 1; pppppuVar6 = local_448[0]; - if (0xfff < uVar7) { + if (0xfff < uVar14) { pppppuVar6 = (undefined4 *****)local_448[0][-1]; - uVar7 = (int)local_434 + 0x24; + uVar14 = local_434 + 0x24; if (0x1f < (uint)((int)local_448[0] + (-4 - (int)pppppuVar6))) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(pppppuVar6,uVar7); + operator_delete(pppppuVar6,uVar14); } - pGVar9 = local_458; + pGVar12 = local_458; local_24[0] = 0; local_24[1] = 0; local_24[2] = 0; @@ -900283,189 +901777,187 @@ byte __thiscall GameState::write(GameState *this,void **gameStateIO) local_24[5] = 0; local_24[6] = 0; local_24[7] = 0; - GVar10 = (GameState)0x0; + piVar10 = (int *)0x0; local_24[8] = 0; local_24[9] = 0; do { - local_450 = GVar10; + local_450 = piVar10; std::set::find_node(local_43c,&local_450); - if (((*(char *)((int)local_434 + 0xd) == '\0') && - (*(int *)((int)local_434 + 0x10) <= (int)GVar10)) && (local_434 != pGVar9[0x79de])) { - local_24[(uint)GVar10 >> 3] = local_24[(uint)GVar10 >> 3] | (byte)(1 << ((uint)GVar10 & 7)); + if (((*(char *)(local_434 + 0xd) == '\0') && (*(int *)(local_434 + 0x10) <= (int)piVar10)) && + (local_434 != *(uint *)&pGVar12->field_0x1e778)) { + local_24[(uint)piVar10 >> 3] = local_24[(uint)piVar10 >> 3] | (byte)(1 << ((uint)piVar10 & 7)) + ; } - GVar10 = (GameState)((int)GVar10 + 1); - } while ((uint)GVar10 < 0x50); + piVar10 = (int *)((int)piVar10 + 1); + } while (piVar10 < (int *)0x50); (**(code **)(*(int *)*gameStateIO + 0x1c))(&DAT_00b7f865,1,1); local_44c[0] = '\n'; Checksum::Update(local_44c,1); (**(code **)(*(int *)*gameStateIO + 0x1c))(local_24,1,10); Checksum::Update(local_24,10); - pGVar9 = local_458 + 0x79e0; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x1e780; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x79e1; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x1e784; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458 + 0x79e2; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar9 = &local_458->field_0x1e788; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458; - local_468 = (GameState)((int)local_458[0x79e8] - (int)local_458[0x79e7] >> 3); + pGVar12 = local_458; + local_468 = (int *)(*(int *)&local_458->field_0x1e7a0 - *(int *)&local_458->field_0x1e79c >> 3); (**(code **)(*(int *)*gameStateIO + 0x1c))(&local_468,4,1); local_450 = local_468; Checksum::Update(&local_450,4); - local_45c = (GameState)0x0; - if ((int)pGVar9[0x79e8] - (int)pGVar9[0x79e7] >> 3 != 0) { + local_45c = (int *)0x0; + if (*(int *)&pGVar12->field_0x1e7a0 - *(int *)&pGVar12->field_0x1e79c >> 3 != 0) { do { - iVar1 = (int)local_45c * 8; - pGVar9 = (GameState *)((int)pGVar9[0x79e7] + iVar1); - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + iVar3 = (int)local_45c * 8; + puVar11 = (undefined4 *)(*(int *)&pGVar12->field_0x1e79c + iVar3); + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar11,4,1); + local_450 = (int *)*puVar11; Checksum::Update(&local_450,4); - pGVar9 = (GameState *)((int)local_458[0x79e7] + 4 + iVar1); - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + piVar10 = (int *)(*(int *)&local_458->field_0x1e79c + 4 + iVar3); + (**(code **)(*(int *)*gameStateIO + 0x1c))(piVar10,4,1); + local_450 = (int *)*piVar10; Checksum::Update(&local_450,4); - local_45c = (GameState)((int)local_45c + 1); - pGVar9 = local_458; - } while ((uint)local_45c < (uint)((int)local_458[0x79e8] - (int)local_458[0x79e7] >> 3)); + local_45c = (int *)((int)local_45c + 1); + pGVar12 = local_458; + } while (local_45c < + (int *)(*(int *)&local_458->field_0x1e7a0 - *(int *)&local_458->field_0x1e79c >> 3)); } - local_460 = pGVar9 + 0x79a0; + local_460 = (uint *)&pGVar12->field_0x1e680; write_bool_vector(); - local_45c = (GameState)0x25; + local_45c = (int *)0x25; (**(code **)(*(int *)*gameStateIO + 0x1c))(&local_45c,2,1); - local_450 = (GameState)((uint)local_45c & 0xffff); + local_450 = (int *)((uint)local_45c & 0xffff); Checksum::Update(&local_450,2); - local_45c = (GameState)0x25; - pGVar9 = local_460; + local_45c = (int *)0x25; + puVar8 = local_460; do { - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar8,4,1); + local_450 = (int *)*puVar8; Checksum::Update(&local_450,4); - pGVar9 = pGVar9 + 1; - local_45c = (GameState)((int)local_45c + -1); - } while (local_45c != (GameState)0x0); - pGVar9 = local_458 + 0x79e3; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_450 = *pGVar9; + puVar8 = puVar8 + 1; + local_45c = (int *)((int)local_45c + -1); + } while (local_45c != (int *)0x0); + puVar9 = &local_458->field_0x1e78c; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,4,1); + local_450 = *(int **)puVar9; Checksum::Update(&local_450,4); - pGVar9 = local_458; - GVar10 = local_458[0x79e5]; - local_45c = (GameState)(local_458 + 0x79e4); - if ((uint)(((int)GVar10 - (int)*(GameState *)local_45c) / 0xc) < 0x100) { - local_450 = GVar10; + pGVar12 = local_458; + piVar10 = *(int **)&local_458->field_0x1e794; + local_45c = (int *)&local_458->field_0x1e790; + if ((uint)(((int)piVar10 - *local_45c) / 0xc) < 0x100) { + local_450 = piVar10; } else { - local_450 = GVar10; + local_450 = piVar10; vector12_resize(0xff); - GVar10 = pGVar9[0x79e5]; + piVar10 = *(int **)&pGVar12->field_0x1e794; } - local_451 = (char)(((int)GVar10 - (int)pGVar9[0x79e4]) / 0xc); + local_451 = (char)(((int)piVar10 - *(int *)&pGVar12->field_0x1e790) / 0xc); (**(code **)(*(int *)*gameStateIO + 0x1c))(&local_451,1,1); local_44c[0] = local_451; Checksum::Update(local_44c,1); - local_450 = (GameState)0x0; - iVar1 = (int)pGVar9[0x79e5] - (int)pGVar9[0x79e4] >> 0x1f; - if (((int)pGVar9[0x79e5] - (int)pGVar9[0x79e4]) / 0xc + iVar1 != iVar1) { - local_460 = (GameState *)0x0; + iVar7 = *(int *)&pGVar12->field_0x1e794 - *(int *)&pGVar12->field_0x1e790; + local_450 = (int *)0x0; + iVar3 = iVar7 >> 0x1f; + if (iVar7 / 0xc + iVar3 != iVar3) { + local_460 = (uint *)0x0; do { - pGVar9 = (GameState *)((int)&local_460->field_0x0 + (int)*(GameState *)local_45c); - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_434 = *pGVar9; + puVar8 = (uint *)(*local_45c + (int)local_460); + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar8,4,1); + local_434 = *puVar8; Checksum::Update(&local_434,4); - pGVar9 = (GameState *)((int)&local_460[1].field_0x0 + (int)*(GameState *)local_45c); - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_434 = *pGVar9; + puVar8 = (uint *)((int)local_460 + *local_45c + 4); + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar8,4,1); + local_434 = *puVar8; Checksum::Update(&local_434,4); - pGVar9 = (GameState *)((int)&local_460[2].field_0x0 + (int)*(GameState *)local_45c); - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,4,1); - local_434 = *pGVar9; + puVar8 = (uint *)((int)local_460 + *local_45c + 8); + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar8,4,1); + local_434 = *puVar8; Checksum::Update(&local_434,4); local_460 = local_460 + 3; - local_450 = (GameState)((int)local_450 + 1); - } while ((uint)local_450 < - (uint)(((int)*(GameState *)((int)local_45c + 4) - (int)*(GameState *)local_45c) / 0xc)) - ; - pGVar9 = local_458; + local_450 = (int *)((int)local_450 + 1); + } while (local_450 < (int *)((local_45c[1] - *local_45c) / 0xc)); + pGVar12 = local_458; } - local_450._2_2_ = 0; - local_450._0_2_ = *(ushort *)(pGVar9 + 0x79ea); + local_450 = (int *)(uint)*(ushort *)&pGVar12->field_0x1e7a8; (**(code **)(*(int *)*gameStateIO + 0x1c))(&local_450,2,1); - local_434 = (GameState)((uint)local_450 & 0xffff); + local_434 = (uint)local_450 & 0xffff; Checksum::Update(&local_434,2); - local_450._2_2_ = 0; - local_450._0_2_ = *(ushort *)(pGVar9 + 0x79eb); + local_450 = (int *)(uint)*(ushort *)&pGVar12->field_0x1e7ac; (**(code **)(*(int *)*gameStateIO + 0x1c))(&local_450,2,1); - local_434 = (GameState)((uint)local_450 & 0xffff); + local_434 = (uint)local_450 & 0xffff; Checksum::Update(&local_434,2); - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9 + 0x79ec,1,1); - local_44c[0] = *(char *)(pGVar9 + 0x79ec); + (**(code **)(*(int *)*gameStateIO + 0x1c))(&pGVar12->field_0x1e7b0,1,1); + local_44c[0] = pGVar12->field_0x1e7b0; Checksum::Update(local_44c,1); - pGVar9 = local_458 + 0x7ab4; - local_450 = (GameState)0x7; + pcVar13 = &local_458->field_0x1ead0; + local_450 = (int *)0x7; do { - local_462 = *(char *)(pGVar9 + -1); + local_462 = pcVar13[-4]; (**(code **)(*(int *)*gameStateIO + 0x1c))(&local_462,1,1); local_44c[0] = local_462; Checksum::Update(local_44c,1); - local_451 = *(char *)(pGVar9 + -3); + local_451 = pcVar13[-0xc]; (**(code **)(*(int *)*gameStateIO + 0x1c))(&local_451,1,1); local_44c[0] = local_451; Checksum::Update(local_44c,1); local_44c[0] = '\0'; if ('\0' < local_451) { do { - write_room(pGVar9 + local_44c[0] * 3 + -0x6b,pGVar9 + local_44c[0] * 0x2e + -199,gameStateIO - ); + write_room(pcVar13 + local_44c[0] * 0xc + -0x1ac,pcVar13 + local_44c[0] * 0xb8 + -0x31c, + gameStateIO); local_44c[0] = local_44c[0] + '\x01'; } while (local_44c[0] < local_451); } - local_451 = *(char *)(pGVar9 + -2); + local_451 = pcVar13[-8]; (**(code **)(*(int *)*gameStateIO + 0x1c))(&local_451,1,1); local_44c[0] = local_451; Checksum::Update(local_44c,1); local_44c[0] = '\0'; if ('\0' < local_451) { do { - write_room(pGVar9 + (local_44c[0] + -3) * 3,pGVar9 + local_44c[0] * 0x2e + -0x65,gameStateIO - ); + write_room(pcVar13 + (local_44c[0] + -3) * 0xc,pcVar13 + local_44c[0] * 0xb8 + -0x194, + gameStateIO); local_44c[0] = local_44c[0] + '\x01'; } while (local_44c[0] < local_451); } - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,1,1); - local_44c[0] = *(char *)pGVar9; + (**(code **)(*(int *)*gameStateIO + 0x1c))(pcVar13,1,1); + local_44c[0] = *pcVar13; Checksum::Update(local_44c,1); - pGVar9 = pGVar9 + 200; - local_450 = (GameState)((int)local_450 + -1); - } while (local_450 != (GameState)0x0); - pGVar9 = local_458 + 0x7f65; - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9,2,1); - local_434._2_2_ = 0; - local_434._0_2_ = *(ushort *)pGVar9; + pcVar13 = pcVar13 + 800; + local_450 = (int *)((int)local_450 + -1); + } while (local_450 != (int *)0x0); + puVar9 = &local_458->field_0x1fd94; + (**(code **)(*(int *)*gameStateIO + 0x1c))(puVar9,2,1); + local_434 = (uint)*(ushort *)puVar9; Checksum::Update(&local_434,2); - pGVar9 = local_458; - write_int_vector(local_458 + 0x7f66); - (**(code **)(*(int *)*gameStateIO + 0x1c))(pGVar9 + 0x7f77,1,1); - local_44c[0] = *(char *)(pGVar9 + 0x7f77); + pGVar12 = local_458; + write_int_vector(&local_458->field_0x1fd98); + (**(code **)(*(int *)*gameStateIO + 0x1c))(&pGVar12->field_0x1fddc,1,1); + local_44c[0] = pGVar12->field_0x1fddc; Checksum::Update(local_44c,1); - pGVar9 = local_458; - write_int_vector(local_458 + 0x7f78); - if ((gameStateIO[6] == (void *)0x0) && (bVar2 = *(byte *)(gameStateIO + 4), bVar2 != 0)) { - if (bVar2 < 4) { - memset((void *)((uint)bVar2 + (int)(gameStateIO + 3)),0,(uint)(byte)(4 - bVar2)); + pGVar12 = local_458; + write_int_vector(&local_458->field_0x1fde0); + if ((gameStateIO[6] == (void *)0x0) && (bVar1 = *(byte *)(gameStateIO + 4), bVar1 != 0)) { + if (bVar1 < 4) { + memset((void *)((uint)bVar1 + (int)(gameStateIO + 3)),0,(uint)(byte)(4 - bVar1)); } *(undefined1 *)(gameStateIO + 4) = 0; gameStateIO[5] = (void *)(((uint)gameStateIO[5] >> 1) + (int)gameStateIO[5] * -0x80000000 + (int)gameStateIO[3]); } - GVar10 = *(GameState *)(gameStateIO + 5); - pGVar9[0x7f69] = GVar10; - local_46c = (uint)GVar10 ^ 0x96696996; - (**(code **)(*(int *)pGVar9[0x7f89] + 0x1c))(&local_46c,4,1); + pvVar4 = gameStateIO[5]; + *(void **)&pGVar12->field_0x1fda4 = pvVar4; + local_46c = (uint)pvVar4 ^ 0x96696996; + (**(code **)(*(int *)pGVar12->_saveFile + 0x1c))(&local_46c,4,1); ExceptionList = local_10; return 1; } @@ -900479,12 +901971,13 @@ void FUN_009cad40(void) qword qVar1; char cVar2; undefined4 *puVar3; + undefined1 *puVar4; GameState *in_ECX; - GameState GVar4; - qword *pqVar5; - GameState GVar6; - GameState GStack_24; - GameState GStack_20; + undefined4 *puVar5; + qword *pqVar6; + undefined1 *puVar7; + void *pvStack_24; + undefined1 *puStack_20; undefined4 uStack_1c; undefined4 uStack_18; undefined1 uStack_14; @@ -900492,29 +901985,29 @@ void FUN_009cad40(void) undefined4 uStack_c; GameState::DeleteRerun(in_ECX); - if (in_ECX[0x7f89] != (GameState)0x0) { - (*(code *)**(undefined4 **)in_ECX[0x7f89])(1); + if (in_ECX->_saveFile != (undefined4 *)0x0) { + (*(code *)**(undefined4 **)in_ECX->_saveFile)(1); } if (g_mainHeap == (void *)0x0) { - pqVar5 = &g_allocatedBytesNoHeap; + pqVar6 = &g_allocatedBytesNoHeap; } else { - pqVar5 = (qword *)((int)g_mainHeap + 0x30); + pqVar6 = (qword *)((int)g_mainHeap + 0x30); } puVar3 = malloc(0x28); if (puVar3 == (undefined4 *)0x0) { FUN_00a23200(0x7fcb9dd6); } else { - qVar1 = *pqVar5; - *(uint *)pqVar5 = (uint)*pqVar5 + 0x28; - GVar4 = (GameState)(puVar3 + 1); + qVar1 = *pqVar6; + *(uint *)pqVar6 = (uint)*pqVar6 + 0x28; + puVar5 = puVar3 + 1; *puVar3 = 0x28; - *(uint *)((int)pqVar5 + 4) = *(uint *)((int)pqVar5 + 4) + (uint)(0xffffffd7 < (uint)qVar1); - if (GVar4 != (GameState)0x0) { + *(uint *)((int)pqVar6 + 4) = *(uint *)((int)pqVar6 + 4) + (uint)(0xffffffd7 < (uint)qVar1); + if (puVar5 != (undefined4 *)0x0) { puVar3[2] = 2; puVar3[3] = 0; - *(undefined ***)GVar4 = IsaacRepentancePlus::SteamCloudFile::vftable; + *puVar5 = IsaacRepentancePlus::SteamCloudFile::vftable; puVar3[5] = 0; puVar3[7] = 0; puVar3[8] = 0; @@ -900522,38 +902015,38 @@ void FUN_009cad40(void) goto LAB_009cad95; } } - GVar4 = (GameState)0x0; + puVar5 = (undefined4 *)0x0; LAB_009cad95: - GVar6 = (GameState)(in_ECX + 0x7f7d); - in_ECX[0x7f89] = GVar4; - GVar4 = GVar6; - if (0xf < (uint)in_ECX[0x7f82]) { - GVar4 = *(GameState *)GVar6; + puVar7 = &in_ECX->field_0x1fdf4; + in_ECX->_saveFile = puVar5; + puVar4 = puVar7; + if (0xf < *(uint *)&in_ECX->field_0x1fe08) { + puVar4 = *(undefined1 **)puVar7; } - cVar2 = FUN_00683930(GVar4,0x100000); + cVar2 = FUN_00683930(puVar4,0x100000); if (cVar2 != '\0') { - cVar2 = (**(code **)(*(int *)in_ECX[0x7f89] + 0x30))(); + cVar2 = (**(code **)(*(int *)in_ECX->_saveFile + 0x30))(); if (cVar2 != '\0') { - if (0xf < (uint)in_ECX[0x7f82]) { - GVar6 = *(GameState *)GVar6; + if (0xf < *(uint *)&in_ECX->field_0x1fe08) { + puVar7 = *(undefined1 **)puVar7; } - GStack_24 = in_ECX[0x7f89]; + pvStack_24 = in_ECX->_saveFile; uStack_1c = 0; uStack_c = 1; uStack_18 = 0; uStack_14 = 0; uStack_10 = 0xfedcba76; - GStack_20 = GVar6; - GameState::write(in_ECX,(void **)&GStack_24); - (**(code **)(*(int *)in_ECX[0x7f89] + 0x34))(); + puStack_20 = puVar7; + GameState::write(in_ECX,&pvStack_24); + (**(code **)(*(int *)in_ECX->_saveFile + 0x34))(); return; } } - if (0xf < (uint)in_ECX[0x7f82]) { - GVar6 = *(GameState *)GVar6; + if (0xf < *(uint *)&in_ECX->field_0x1fe08) { + puVar7 = *(undefined1 **)puVar7; } /* WARNING: Subroutine does not return */ - KAGE_LogMessage(1,"[warn] GameState::SaveSteamCloud could not open %s for writing.\n",GVar6); + KAGE_LogMessage(1,"[warn] GameState::SaveSteamCloud could not open %s for writing.\n",puVar7); } @@ -900566,22 +902059,23 @@ undefined4 FUN_009caea0(void) char cVar2; byte bVar3; undefined4 *puVar4; - GameState GVar5; + undefined1 *puVar5; GameState *in_ECX; - GameState GVar6; + int *piVar6; qword *pqVar7; - GameState GVar8; - GameState GStack_28; - GameState GStack_24; + undefined1 *puVar8; + void *pvStack_28; + undefined1 *puStack_24; undefined4 uStack_20; undefined4 uStack_1c; undefined1 uStack_18; undefined4 uStack_14; undefined4 uStack_10; - *(undefined2 *)(in_ECX + 0x7f7b) = 0; - if (in_ECX[0x7f89] != (GameState)0x0) { - (*(code *)**(undefined4 **)in_ECX[0x7f89])(1); + in_ECX->_isSaveAvailable = 0; + in_ECX->_isRerunAvailable = 0; + if (in_ECX->_saveFile != (undefined4 *)0x0) { + (*(code *)**(undefined4 **)in_ECX->_saveFile)(1); } if (g_mainHeap == (void *)0x0) { pqVar7 = &g_allocatedBytesNoHeap; @@ -900596,13 +902090,13 @@ undefined4 FUN_009caea0(void) else { qVar1 = *pqVar7; *(uint *)pqVar7 = (uint)*pqVar7 + 0x28; - GVar6 = (GameState)(puVar4 + 1); + piVar6 = puVar4 + 1; *puVar4 = 0x28; *(uint *)((int)pqVar7 + 4) = *(uint *)((int)pqVar7 + 4) + (uint)(0xffffffd7 < (uint)qVar1); - if (GVar6 != (GameState)0x0) { + if (piVar6 != (int *)0x0) { puVar4[2] = 2; puVar4[3] = 0; - *(undefined ***)GVar6 = IsaacRepentancePlus::SteamCloudFile::vftable; + *piVar6 = (int)IsaacRepentancePlus::SteamCloudFile::vftable; puVar4[5] = 0; puVar4[7] = 0; puVar4[8] = 0; @@ -900610,43 +902104,43 @@ undefined4 FUN_009caea0(void) goto LAB_009caefa; } } - GVar6 = (GameState)0x0; + piVar6 = (int *)0x0; LAB_009caefa: - in_ECX[0x7f89] = GVar6; - GVar8 = (GameState)(in_ECX + 0x7f83); - GVar5 = GVar8; - if (0xf < (uint)in_ECX[0x7f88]) { - GVar5 = *(GameState *)GVar8; + in_ECX->_saveFile = piVar6; + puVar8 = &in_ECX->field_0x1fe0c; + puVar5 = puVar8; + if (0xf < *(uint *)&in_ECX->field_0x1fe20) { + puVar5 = *(undefined1 **)puVar8; } - cVar2 = (**(code **)(*(int *)GVar6 + 0x24))(GVar5); + cVar2 = (**(code **)(*piVar6 + 0x24))(puVar5); if (cVar2 != '\0') { - cVar2 = (**(code **)(*(int *)in_ECX[0x7f89] + 0x30))(); + cVar2 = (**(code **)(*(int *)in_ECX->_saveFile + 0x30))(); if (cVar2 != '\0') { - if (0xf < (uint)in_ECX[0x7f88]) { - GVar8 = *(GameState *)GVar8; + if (0xf < *(uint *)&in_ECX->field_0x1fe20) { + puVar8 = *(undefined1 **)puVar8; } - GStack_28 = in_ECX[0x7f89]; + pvStack_28 = in_ECX->_saveFile; uStack_20 = 0; uStack_10 = 1; uStack_1c = 0; uStack_18 = 0; uStack_14 = 0xfedcba76; - GStack_24 = GVar8; - bVar3 = GameState::read_rerun(in_ECX,(void **)&GStack_28); - (**(code **)(*(int *)in_ECX[0x7f89] + 0x34))(); + puStack_24 = puVar8; + bVar3 = GameState::read_rerun(in_ECX,&pvStack_28); + (**(code **)(*(int *)in_ECX->_saveFile + 0x34))(); if (bVar3 == 0) { GameState::DeleteRerun(in_ECX); return 0; } - in_ECX[0x7f7b].field_0x1 = 1; + in_ECX->_isRerunAvailable = 1; return 1; } } - if (0xf < (uint)in_ECX[0x7f88]) { - GVar8 = *(GameState *)GVar8; + if (0xf < *(uint *)&in_ECX->field_0x1fe20) { + puVar8 = *(undefined1 **)puVar8; } /* WARNING: Subroutine does not return */ - KAGE_LogMessage(1,"SteamCloud could not find or open %s. No Rerun State detected.\n",GVar8); + KAGE_LogMessage(1,"SteamCloud could not find or open %s. No Rerun State detected.\n",puVar8); } @@ -901112,8 +902606,6 @@ GameState::read_player(GameState *this,int *param_2,int *param_3,code *param_4) int *piVar7; uint uStack_60; RNG local_50; - undefined8 local_4c; - uint local_44 [2]; undefined1 local_3c [4]; uint local_38; uint local_34; @@ -901135,7 +902627,7 @@ GameState::read_player(GameState *this,int *param_2,int *param_3,code *param_4) local_14 = (undefined1 *)&uStack_60; ExceptionList = &local_10; local_24 = this; - cVar2 = (**(code **)(*(int *)this[0x7f89] + 0x10))(); + cVar2 = (**(code **)(*(int *)this->_saveFile + 0x10))(); puVar1 = (undefined4 *)param_4; if (cVar2 != '\0') { ExceptionList = local_10; @@ -901182,7 +902674,7 @@ GameState::read_player(GameState *this,int *param_2,int *param_3,code *param_4) param_4 = (code *)local_34; Checksum::Update(¶m_4,4); piVar7[6] = local_34 & 0xff; - local_44[0] = 0; + local_50._shift3 = 0; (**(code **)(*(int *)*puVar1 + 0x14))(piVar7 + 7,4,8); Checksum::Update(piVar7 + 7,0x20); piVar7 = param_3 + 0xf; @@ -901195,7 +902687,7 @@ GameState::read_player(GameState *this,int *param_2,int *param_3,code *param_4) Checksum::Update(¶m_4,4); piVar7 = param_3; local_20 = (uint *)(param_3 + 0x11); - if ((uint)local_24[0x7f7c] < 0x3f) { + if (*(uint *)&local_24->field_0x1fdf0 < 0x3f) { *local_20 = 0; (**(code **)(*(int *)*puVar1 + 0x14))((int)¶m_4 + 3,1,1); param_2 = (int *)CONCAT31(param_2._1_3_,param_4._3_1_); @@ -901249,7 +902741,7 @@ GameState::read_player(GameState *this,int *param_2,int *param_3,code *param_4) param_4 = (code *)piVar7[0x11]; Checksum::Update(¶m_4,4); param_4 = *(code **)(*(int *)*puVar1 + 0x14); - if ((uint)local_24[0x7f7c] < 0x82) { + if (*(uint *)&local_24->field_0x1fdf0 < 0x82) { (*param_4)(¶m_2,4,1); param_4 = (code *)param_2; Checksum::Update(¶m_4,4); @@ -901285,13 +902777,14 @@ GameState::read_player(GameState *this,int *param_2,int *param_3,code *param_4) param_4 = (code *)piVar7[0x18]; Checksum::Update(¶m_4,4); if ((uint)puVar1[2] < 0x4b) { - if (*(RNG *)(piVar7 + 0x18) == (RNG)0x0) { + if (piVar7[0x18] == 0) { uVar5 = 0; } else { - local_4c = 0x70000000b; - local_44[0] = 0xc; - local_50 = *(RNG *)(piVar7 + 0x18); + local_50._shift1 = 0xb; + local_50._shift2 = 7; + local_50._shift3 = 0xc; + local_50._seed = piVar7[0x18]; uVar5 = RNG::Next(&local_50); } piVar7[0x19] = uVar5; @@ -901302,9 +902795,9 @@ GameState::read_player(GameState *this,int *param_2,int *param_3,code *param_4) Checksum::Update(¶m_4,4); piVar7 = param_3; } - local_44[0] = 0; + local_50._shift3 = 0; do { - local_20 = (uint *)(piVar7[0x1a] + local_44[0]); + local_20 = (uint *)(piVar7[0x1a] + local_50._shift3); if ((uint)puVar1[2] < 0x7b) { (**(code **)(*(int *)*puVar1 + 0x14))(&local_38,4,1); param_4 = (code *)local_38; @@ -901334,7 +902827,7 @@ GameState::read_player(GameState *this,int *param_2,int *param_3,code *param_4) (**(code **)(*(int *)*puVar1 + 0x14))(puVar4,4,1); param_4 = (code *)*puVar4; Checksum::Update(¶m_4,4); - if (0x20 < (uint)local_24[0x7f7c]) goto LAB_009cbd8f; + if (0x20 < *(uint *)&local_24->field_0x1fdf0) goto LAB_009cbd8f; LAB_009cbdb4: piVar7 = param_3; } @@ -901373,8 +902866,8 @@ LAB_009cbd8f: goto LAB_009cbdb4; } } - local_44[0] = local_44[0] + 0x20; - if (0x37ff < local_44[0]) { + local_50._shift3 = local_50._shift3 + 0x20; + if (0x37ff < (uint)local_50._shift3) { (**(code **)(*(int *)*puVar1 + 0x14))(&local_28,4,1); param_4 = (code *)local_28; Checksum::Update(¶m_4,4); @@ -901385,7 +902878,7 @@ LAB_009cbd8f: if (local_28 != 0) { param_4 = (code *)0x0; do { - cVar2 = (**(code **)(*(int *)local_24[0x7f89] + 0x10))(); + cVar2 = (**(code **)(*(int *)local_24->_saveFile + 0x10))(); if (cVar2 != '\0') { ExceptionList = local_10; return 0; @@ -901410,14 +902903,14 @@ LAB_009cbd8f: param_2[1] = 0; if (local_30 != 0) { do { - cVar2 = (**(code **)(*(int *)local_24[0x7f89] + 0x10))(); + cVar2 = (**(code **)(*(int *)local_24->_saveFile + 0x10))(); if (cVar2 != '\0') { ExceptionList = local_10; return 0; } (**(code **)(*(int *)*puVar1 + 0x14))(¶m_4,4,1); - local_44[0] = (uint)param_4; - Checksum::Update(local_44,4); + local_50._shift3 = (int)param_4; + Checksum::Update(&local_50._shift3,4); std::set::insert(local_3c,¶m_4); uVar5 = uVar5 + 1; } while (uVar5 < local_30); @@ -901433,7 +902926,7 @@ LAB_009cbd8f: if (local_2c != (int *)0x0) { param_4 = (code *)0x0; do { - cVar2 = (**(code **)(*(int *)local_24[0x7f89] + 0x10))(); + cVar2 = (**(code **)(*(int *)local_24->_saveFile + 0x10))(); if (cVar2 != '\0') { ExceptionList = local_10; return 0; @@ -901444,7 +902937,7 @@ LAB_009cbd8f: } while (param_2 < local_2c); } param_4 = *(code **)(*(int *)*puVar1 + 0x14); - if ((uint)local_24[0x7f7c] < 0x49) { + if (*(uint *)&local_24->field_0x1fdf0 < 0x49) { (*param_4)(¶m_3,4,1); param_4 = (code *)param_3; Checksum::Update(¶m_4,4); @@ -901473,7 +902966,7 @@ LAB_009cbd8f: Checksum::Update(¶m_4,2); (**(code **)(*(int *)*puVar1 + 0x14))(piVar7 + 0x25,2,8); Checksum::Update(piVar7 + 0x25,0x10); - if (0x54 < (uint)local_24[0x7f7c]) { + if (0x54 < *(uint *)&local_24->field_0x1fdf0) { piVar7 = param_3 + 0x29; (**(code **)(*(int *)*puVar1 + 0x14))(piVar7,1,8); Checksum::Update(piVar7,8); @@ -901482,7 +902975,7 @@ LAB_009cbd8f: (**(code **)(*(int *)*puVar1 + 0x14))(piVar7,4,1); param_4 = (code *)*piVar7; Checksum::Update(¶m_4,4); - if (0x67 < (uint)local_24[0x7f7c]) { + if (0x67 < *(uint *)&local_24->field_0x1fdf0) { puVar6 = (ushort *)((int)param_3 + 0x52); (**(code **)(*(int *)*puVar1 + 0x14))(puVar6,2,1); param_3 = (int *)(uint)*puVar6; @@ -901516,9 +903009,11 @@ undefined4 Catch_All_009cc172(void) } -//@@ 009cc1a0 FUN_009cc1a0 +//@@ 009cc1a0 GameState::read -void FUN_009cc1a0(void) +/* DB: "ISAACNG_GSR%u" */ + +void GameState::read(void) { int iVar1; @@ -901564,22 +903059,22 @@ undefined4 FUN_009ce5a0(void) qword qVar1; char cVar2; undefined4 *puVar3; - GameState GVar4; + undefined1 *puVar4; GameState *in_ECX; - GameState GVar5; + int *piVar5; qword *pqVar6; - GameState GVar7; - GameState GStack_28; - GameState GStack_24; + undefined1 *puVar7; + void *pvStack_28; + undefined1 *puStack_24; undefined4 uStack_20; undefined4 uStack_1c; undefined1 uStack_18; undefined4 uStack_14; undefined4 uStack_10; - *(undefined1 *)(in_ECX + 0x7f7b) = 0; - if (in_ECX[0x7f89] != (GameState)0x0) { - (*(code *)**(undefined4 **)in_ECX[0x7f89])(1); + in_ECX->_isSaveAvailable = 0; + if (in_ECX->_saveFile != (undefined4 *)0x0) { + (*(code *)**(undefined4 **)in_ECX->_saveFile)(1); } if (g_mainHeap == (void *)0x0) { pqVar6 = &g_allocatedBytesNoHeap; @@ -901594,13 +903089,13 @@ undefined4 FUN_009ce5a0(void) else { qVar1 = *pqVar6; *(uint *)pqVar6 = (uint)*pqVar6 + 0x28; - GVar5 = (GameState)(puVar3 + 1); + piVar5 = puVar3 + 1; *puVar3 = 0x28; *(uint *)((int)pqVar6 + 4) = *(uint *)((int)pqVar6 + 4) + (uint)(0xffffffd7 < (uint)qVar1); - if (GVar5 != (GameState)0x0) { + if (piVar5 != (int *)0x0) { puVar3[2] = 2; puVar3[3] = 0; - *(undefined ***)GVar5 = IsaacRepentancePlus::SteamCloudFile::vftable; + *piVar5 = (int)IsaacRepentancePlus::SteamCloudFile::vftable; puVar3[5] = 0; puVar3[7] = 0; puVar3[8] = 0; @@ -901608,49 +903103,53 @@ undefined4 FUN_009ce5a0(void) goto LAB_009ce5f8; } } - GVar5 = (GameState)0x0; + piVar5 = (int *)0x0; LAB_009ce5f8: - in_ECX[0x7f89] = GVar5; - GVar7 = (GameState)(in_ECX + 0x7f7d); - GVar4 = GVar7; - if (0xf < (uint)in_ECX[0x7f82]) { - GVar4 = *(GameState *)GVar7; + in_ECX->_saveFile = piVar5; + puVar7 = &in_ECX->field_0x1fdf4; + puVar4 = puVar7; + if (0xf < *(uint *)&in_ECX->field_0x1fe08) { + puVar4 = *(undefined1 **)puVar7; } - cVar2 = (**(code **)(*(int *)GVar5 + 0x24))(GVar4); + cVar2 = (**(code **)(*piVar5 + 0x24))(puVar4); if (cVar2 != '\0') { - cVar2 = (**(code **)(*(int *)in_ECX[0x7f89] + 0x30))(); + cVar2 = (**(code **)(*(int *)in_ECX->_saveFile + 0x30))(); if (cVar2 != '\0') { - if (0xf < (uint)in_ECX[0x7f82]) { - GVar7 = *(GameState *)GVar7; + if (0xf < *(uint *)&in_ECX->field_0x1fe08) { + puVar7 = *(undefined1 **)puVar7; } - GStack_28 = in_ECX[0x7f89]; + pvStack_28 = in_ECX->_saveFile; uStack_20 = 0; uStack_10 = 1; uStack_1c = 0; uStack_18 = 0; uStack_14 = 0xfedcba76; - GStack_24 = GVar7; - cVar2 = FUN_009cc1a0(&GStack_28,1); - (**(code **)(*(int *)in_ECX[0x7f89] + 0x34))(); + puStack_24 = puVar7; + cVar2 = GameState::read(&pvStack_28,1); + (**(code **)(*(int *)in_ECX->_saveFile + 0x34))(); if (cVar2 == '\0') { GameState::Delete(in_ECX); return 0; } - *(undefined1 *)(in_ECX + 0x7f7b) = 1; + in_ECX->_isSaveAvailable = 1; return 1; } } - if (0xf < (uint)in_ECX[0x7f82]) { - GVar7 = *(GameState *)GVar7; + if (0xf < *(uint *)&in_ECX->field_0x1fe08) { + puVar7 = *(undefined1 **)puVar7; } /* WARNING: Subroutine does not return */ - KAGE_LogMessage(1,"SteamCloud could not find or open %s. No Game State detected.\n",GVar7); + KAGE_LogMessage(1,"SteamCloud could not find or open %s. No Game State detected.\n",puVar7); } -//@@ 009ce720 FUN_009ce720 +//@@ 009ce720 GameState::read_item_pool -undefined4 FUN_009ce720(undefined4 *param_1) +/* DB: GameState::read (FUN_009cc1a0, ISAACNG_GSR%u) calls it with ecx=this+0x1e3cc; version-gated + pool count 26..31 (save ver <0x57..>=0x7a), per pool reads count+ints with Checksum::Update, then + a vector_bool sized by ItemConfig collectibles; mirror of GameState::write_item_pool */ + +undefined4 GameState::read_item_pool(undefined4 *param_1) { uint uVar1; @@ -903020,7 +904519,7 @@ void GameStatePlayer::write_block_538(undefined4 *param_1) //@@ 009d05d0 GameStatePlayer::read -/* DB: called by GameState::read_rerun and 0090c7e0 right after GameStatePlayer::Init(&local) with +/* DB: called by GameState::read_rerun and 0090c7e0 NetplayManager::restore_player_state after GameStatePlayer::Init(&local) with the stream ptr; per-player [warn] strings (Invalid player type, pocket item, trinket, voided active item); Ghidra split its tail into FUN_009d16ee and FUN_009d2656 (costume/familiar/history count warnings) */ @@ -909946,17 +911445,18 @@ void GameState::write_score_sheet(undefined4 *param_1) byte __thiscall GameState::read_rerun(GameState *this,void **gameStateIO) { - GameState *pGVar1; + int *piVar1; char cVar2; int iVar3; - GameState GVar4; - char *pcVar5; - undefined4 uVar6; + undefined4 uVar4; + uint uVar5; + char *pcVar6; + undefined1 *puVar7; int *in_stack_ffffff2c; undefined4 in_stack_ffffff30; - undefined4 uVar7; undefined4 uVar8; undefined4 uVar9; + undefined4 uVar10; int local_78; uint uStack_74; int iStack_70; @@ -909971,7 +911471,7 @@ byte __thiscall GameState::read_rerun(GameState *this,void **gameStateIO) int local_4c; int local_48; uint local_44; - GameState local_40; + uint local_40; uint local_3c; char local_38 [7]; char local_31; @@ -909984,55 +911484,55 @@ byte __thiscall GameState::read_rerun(GameState *this,void **gameStateIO) undefined1 auStack_8 [4]; local_c = __security_cookie ^ (uint)(auStack_8 + 4); - (**(code **)(*(int *)this[0x7f89] + 0x14))(local_2c,1,0x10); - pGVar1 = this + 0x7f7c; + (**(code **)(*(int *)this->_saveFile + 0x14))(local_2c,1,0x10); + puVar7 = &this->field_0x1fdf0; local_1c = 0; - iVar3 = FUN_00837090(local_2c,"ISAACNG_GSR%u",pGVar1); + iVar3 = FUN_00837090(local_2c,"ISAACNG_GSR%u",puVar7); if (iVar3 < 1) { - *pGVar1 = (GameState)0x0; - GVar4 = (GameState)0x0; + *(undefined4 *)puVar7 = 0; + iVar3 = 0; } else { - GVar4 = this[0x7f7c]; - if ((int)GVar4 - 0x9bU < 0xf) { - GVar4 = (GameState)checksum_stream(0x10,4); - this[0x7f6a] = GVar4; - (**(code **)(*(int *)this[0x7f89] + 0xc))(0xfffffffc,2); - local_40 = (GameState)0x0; - (**(code **)(*(int *)this[0x7f89] + 0x14))(&local_40,4,1); - (**(code **)(*(int *)this[0x7f89] + 0xc))(0x10,0); - local_40 = (GameState)((uint)local_40 ^ 0x96696996); - if (local_40 != this[0x7f6a]) { - GVar4 = (GameState)(this + 0x7f6b); - if (0xf < (uint)this[0x7f70]) { - GVar4 = *(GameState *)GVar4; + iVar3 = *(int *)&this->field_0x1fdf0; + if (iVar3 - 0x9bU < 0xf) { + uVar4 = checksum_stream(0x10,4); + *(undefined4 *)&this->field_0x1fda8 = uVar4; + (**(code **)(*(int *)this->_saveFile + 0xc))(0xfffffffc,2); + local_40 = 0; + (**(code **)(*(int *)this->_saveFile + 0x14))(&local_40,4,1); + (**(code **)(*(int *)this->_saveFile + 0xc))(0x10,0); + local_40 = local_40 ^ 0x96696996; + if (local_40 != *(uint *)&this->field_0x1fda8) { + puVar7 = &this->field_0x1fdac; + if (0xf < *(uint *)&this->field_0x1fdc0) { + puVar7 = *(undefined1 **)puVar7; } /* WARNING: Subroutine does not return */ - KAGE_LogMessage(1,"[warn] GameState File %s: Checksum invalid!\n",GVar4); + KAGE_LogMessage(1,"[warn] GameState File %s: Checksum invalid!\n",puVar7); } - *(GameState *)(gameStateIO + 2) = *pGVar1; - FUN_009d8550(&this[1].field_0x1); - FUN_009d84a0(this + 2); - GVar4 = *pGVar1; - if (0x3c < (uint)GVar4) { - FUN_009d8550(this + 0x675d); - GVar4 = this[0x7f7c]; + gameStateIO[2] = *(void **)puVar7; + FUN_009d8550(&this->field_0x5); + FUN_009d84a0(&this->field_0x8); + uVar5 = *(uint *)puVar7; + if (0x3c < uVar5) { + FUN_009d8550(&this->field_0x19d74); + uVar5 = *(uint *)&this->field_0x1fdf0; } - *(undefined1 *)(this + 1) = 1; - if ((uint)GVar4 < 0x43) { + this->field_0x4 = 1; + if (uVar5 < 0x43) { FUN_009d84a0(&local_44); local_3c = 0; if (local_44 != 0) { do { - cVar2 = (**(code **)(*(int *)this[0x7f89] + 0x10))(); + cVar2 = (**(code **)(*(int *)this->_saveFile + 0x10))(); if (cVar2 != '\0') { - GVar4 = (GameState)(this + 0x7f6b); - if (0xf < (uint)this[0x7f70]) { - GVar4 = *(GameState *)GVar4; + puVar7 = &this->field_0x1fdac; + if (0xf < *(uint *)&this->field_0x1fdc0) { + puVar7 = *(undefined1 **)puVar7; } /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"[warn] Invalid history count %d. Save file %s might be corrupt.\n", - local_44,GVar4); + local_44,puVar7); } (**(code **)(*(int *)*gameStateIO + 0x14))(&local_48,4,1); local_30 = local_48; @@ -910064,59 +911564,59 @@ byte __thiscall GameState::read_rerun(GameState *this,void **gameStateIO) if (local_58 < 0) { local_78 = g_game->_frameCount; } - GVar4 = this[0x684f]; - if (GVar4 == this[0x6850]) { - std::vector<28byte>::_Emplace_reallocate(GVar4,&local_78); + piVar1 = *(int **)&this->field_0x1a13c; + if (piVar1 == *(int **)&this->field_0x1a140) { + std::vector<28byte>::_Emplace_reallocate(piVar1,&local_78); } else { - *(int *)GVar4 = local_78; - *(uint *)((int)GVar4 + 4) = uStack_74; - *(int *)((int)GVar4 + 8) = local_48; - *(int *)((int)GVar4 + 0xc) = local_4c; - *(int *)((int)GVar4 + 0x10) = local_50; - *(int *)((int)GVar4 + 0x14) = local_54; - *(int *)((int)GVar4 + 0x18) = local_5c; - this[0x684f] = (GameState)((int)this[0x684f] + 0x1c); + *piVar1 = local_78; + piVar1[1] = uStack_74; + piVar1[2] = local_48; + piVar1[3] = local_4c; + piVar1[4] = local_50; + piVar1[5] = local_54; + piVar1[6] = local_5c; + *(int *)&this->field_0x1a13c = *(int *)&this->field_0x1a13c + 0x1c; } local_3c = local_3c + 1; } while (local_3c < local_44); } } - if ((uint)this[0x7f7c] < 0x44) { + if (*(uint *)&this->field_0x1fdf0 < 0x44) { GameStatePlayer::read(gameStateIO); } else { (**(code **)(*(int *)*gameStateIO + 0x14))(&local_31,1,1); local_38[0] = local_31; Checksum::Update(local_38,1); - this[0x675e] = (GameState)(int)local_31; + *(int *)&this->field_0x19d78 = (int)local_31; local_3c = 0; if (0 < local_31) { do { GameStatePlayer::read(gameStateIO); local_3c = local_3c + 1; - } while ((int)local_3c < (int)this[0x675e]); + } while ((int)local_3c < *(int *)&this->field_0x19d78); } } (**(code **)(*(int *)*gameStateIO + 0x14))(local_18,1,9); - uVar7 = 0x9d812a; + uVar8 = 0x9d812a; Checksum::Update(local_18,9); local_f = 0; - pcVar5 = local_18; - uVar6 = 0; - uVar8 = 0; - uVar9 = 0xf; + pcVar6 = local_18; + uVar4 = 0; + uVar9 = 0; + uVar10 = 0xf; do { - cVar2 = *pcVar5; - pcVar5 = pcVar5 + 1; + cVar2 = *pcVar6; + pcVar6 = pcVar6 + 1; } while (cVar2 != '\0'); - std::string::assign(local_18,(int)pcVar5 - (int)(local_18 + 1)); - Seeds::SetStartSeed(uVar6,in_stack_ffffff2c,in_stack_ffffff30,uVar7,uVar8,uVar9); + std::string::assign(local_18,(int)pcVar6 - (int)(local_18 + 1)); + Seeds::SetStartSeed(uVar4,in_stack_ffffff2c,in_stack_ffffff30,uVar8,uVar9,uVar10); return 1; } } /* WARNING: Subroutine does not return */ - KAGE_LogMessage(1,"[warn] GameState Rerun header is incorrect (%u != %u).\n",GVar4,0xa9); + KAGE_LogMessage(1,"[warn] GameState Rerun header is incorrect (%u != %u).\n",iVar3,0xa9); } @@ -910130,13 +911630,13 @@ byte __thiscall GameState::write_rerun(GameState *this,void **gameStateIO) { byte bVar1; - GameState GVar2; + void *pvVar2; void **ppvVar3; undefined4 ****ppppuVar4; uint uVar5; int iVar6; uint local_54; - GameState local_50; + undefined4 local_50; void **local_4c; undefined1 local_48 [4]; undefined1 local_44 [4]; @@ -910156,32 +911656,32 @@ byte __thiscall GameState::write_rerun(GameState *this,void **gameStateIO) ExceptionList = &local_10; local_4c = gameStateIO; sprintf(local_28,"ISAACNG_GSR%04u",0xa9,local_18); - (**(code **)(*(int *)this[0x7f89] + 0x1c))(local_28,1,0x10); - (**(code **)(*(int *)*gameStateIO + 0x1c))(&this[1].field_0x1,1,1); - local_44[0] = this[1].field_0x1; + (**(code **)(*(int *)this->_saveFile + 0x1c))(local_28,1,0x10); + (**(code **)(*(int *)*gameStateIO + 0x1c))(&this->field_0x5,1,1); + local_44[0] = this->field_0x5; Checksum::Update(local_44,1); - (**(code **)(*(int *)*local_4c + 0x1c))(this + 2,4,1); - local_50 = this[2]; + (**(code **)(*(int *)*local_4c + 0x1c))(&this->field_0x8,4,1); + local_50 = *(undefined4 *)&this->field_0x8; Checksum::Update(&local_50,4); - (**(code **)(*(int *)*local_4c + 0x1c))(this + 0x675d,1,1); - local_44[0] = *(undefined1 *)(this + 0x675d); + (**(code **)(*(int *)*local_4c + 0x1c))(&this->field_0x19d74,1,1); + local_44[0] = this->field_0x19d74; Checksum::Update(local_44,1); - local_44[0] = *(undefined1 *)(this + 0x675e); + local_44[0] = this->field_0x19d78; (**(code **)(*(int *)*local_4c + 0x1c))(local_44,1,1); local_48[0] = local_44[0]; Checksum::Update(local_48,1); iVar6 = 0; - if (0 < (int)this[0x675e]) { + if (0 < *(int *)&this->field_0x19d78) { do { write_player(local_4c); iVar6 = iVar6 + 1; - } while (iVar6 < (int)this[0x675e]); + } while (iVar6 < *(int *)&this->field_0x19d78); } - if (this[0x79ca] == (GameState)0x0) { + if (*(int *)&this->field_0x1e728 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Error: Game Start Seed was not set.\n"); } - Seeds::Seed2String(local_40,this[0x79ca]); + Seeds::Seed2String(local_40,*(int *)&this->field_0x1e728); ppvVar3 = local_4c; local_8 = 0; ppppuVar4 = local_40; @@ -910215,10 +911715,10 @@ byte __thiscall GameState::write_rerun(GameState *this,void **gameStateIO) ppvVar3[5] = (void *)(((uint)ppvVar3[5] >> 1) + (int)ppvVar3[5] * -0x80000000 + (int)ppvVar3[3]) ; } - GVar2 = *(GameState *)(ppvVar3 + 5); - this[0x7f69] = GVar2; - local_54 = (uint)GVar2 ^ 0x96696996; - (**(code **)(*(int *)this[0x7f89] + 0x1c))(&local_54,4,1); + pvVar2 = ppvVar3[5]; + *(void **)&this->field_0x1fda4 = pvVar2; + local_54 = (uint)pvVar2 ^ 0x96696996; + (**(code **)(*(int *)this->_saveFile + 0x1c))(&local_54,4,1); ExceptionList = local_10; return 1; } @@ -911140,11 +912640,14 @@ LAB_009d963b: } -//@@ 009d98f0 FUN_009d98f0 +//@@ 009d98f0 Menu_Save::select_slot /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: thiscall Menu_Save, called 3x by Menu_Save::Update (0x9d9d04/12/20, one per slot); + Manager::SetSaveSlot(param), if save not loaded shows GenericPrompt (+0x6a4) + #SAVE_DATA_CORRUPTED_HAS_BACKUP/NO_BACKUP lines, else lobby join / MenuManager::push_menu */ -void FUN_009d98f0(uint param_1) +void Menu_Save::select_slot(uint param_1) { char cVar1; @@ -911166,7 +912669,7 @@ void FUN_009d98f0(uint param_1) ExceptionList = &local_10; Manager::SetSaveSlot(g_manager,param_1); if ((g_manager->_persistentGameData)._isFileLoaded == 0) { - iVar2 = FUN_00926510(); + iVar2 = save_backup_find_latest(); in_ECX[0x1f6] = iVar2; if (iVar2 < 1) { string_table_translate(); @@ -911409,13 +912912,13 @@ LAB_009d9f48: else if (iVar15 != 3) { switch(*(int *)((int)in_ECX + 4)) { case 0: - FUN_009d98f0(1); + select_slot(1); break; case 1: - FUN_009d98f0(2); + select_slot(2); break; case 2: - FUN_009d98f0(3); + select_slot(3); break; case 3: *(int *)in_ECX = 1; @@ -913820,23 +915323,23 @@ undefined4 utf8_string_writer_write(int param_1,int param_2) /* DB: TMTRAINER (721) path in GetCollectible; "initialized with %d effects (score: %g)", cap 0x400 reuse */ -undefined4 ItemPool::CreateGlitchedCollectible(RNG param_1,byte param_2) +undefined4 ItemPool::CreateGlitchedCollectible(ItemConfig_Item *param_1,byte param_2) { void *pvVar1; int iVar2; undefined4 *****pppppuVar3; - Game *pGVar4; - Manager *pMVar5; - char cVar6; - uint uVar7; - undefined4 *puVar8; - undefined4 uVar9; - undefined4 ******ppppppuVar10; - int ******ppppppiVar11; - uint uVar12; + ItemConfig_Item *pIVar4; + Game *pGVar5; + Manager *pMVar6; + char cVar7; + uint uVar8; + undefined4 *puVar9; + undefined4 uVar10; + undefined4 ******ppppppuVar11; + int ******ppppppiVar12; uint uVar13; - ItemConfig_Item *pIVar14; + uint uVar14; byte bVar15; byte bVar16; byte bVar17; @@ -913846,7 +915349,7 @@ undefined4 ItemPool::CreateGlitchedCollectible(RNG param_1,byte param_2) uint uVar19; int iVar20; ItemConfig *pIVar21; - RNG RVar22; + ItemConfig_Item *pIVar22; float *pfVar23; int *piVar24; float fVar25; @@ -913867,9 +915370,9 @@ undefined4 ItemPool::CreateGlitchedCollectible(RNG param_1,byte param_2) uint local_224; bool local_21d; float *local_21c; - RNG local_218; - RNG local_210; - RNG local_20c; + ItemConfig_Item *local_218; + ItemConfig_Item *local_210; + ItemConfig_Item *local_20c; undefined4 ******local_208; float *local_204 [12]; int ******local_1d4 [4]; @@ -913883,20 +915386,17 @@ undefined4 ItemPool::CreateGlitchedCollectible(RNG param_1,byte param_2) ushort local_180; undefined2 uStack_17e; uint uStack_17c; - RNG local_178; - undefined8 local_174; - undefined4 local_16c; + RNG local_178 [15]; float local_88 [7]; int iStack_6c; ItemConfig_Item *local_68; ItemConfig_Item *pIStack_64; undefined1 *puStack_60; undefined4 ******ppppppuStack_5c; - RNG local_58; + ItemConfig_Item *local_58; undefined8 uStack_54; float *pfStack_4c; - RNG aRStack_44 [2]; - undefined4 ******local_3c; + undefined4 ******appppppuStack_44 [3]; uint uStack_38; uint uStack_34; uint uStack_30; @@ -913906,72 +915406,74 @@ undefined4 ItemPool::CreateGlitchedCollectible(RNG param_1,byte param_2) undefined1 *puStack_20; void *local_1c; undefined1 *puStack_18; - RNG local_14; + undefined4 *****local_14; - pGVar4 = g_game; - puStack_20 = (undefined1 *)(aRStack_44 + 0x10); - local_14 = (RNG)0xffffffff; + pGVar5 = g_game; + puStack_20 = (undefined1 *)(appppppuStack_44 + 0x10); + local_14 = (undefined4 *****)0xffffffff; puStack_18 = &LAB_00b0f6d5; local_1c = ExceptionList; - uVar7 = __security_cookie ^ (uint)(aRStack_44 + 0xd); + uVar8 = __security_cookie ^ (uint)(appppppuStack_44 + 0xd); ExceptionList = &local_1c; uVar19 = in_ECX[1] - *in_ECX >> 2; - local_24 = uVar7; + local_24 = uVar8; if (0x3ff < uVar19) { - local_178 = param_1; - local_174 = 0x500000001; - local_16c = 0x10; - puStack_20 = (undefined1 *)(aRStack_44 + 0x10); - uVar7 = RNG::RandomInt(&local_178,uVar19); + local_178[0]._seed = (int)param_1; + local_178[0]._shift1 = 1; + local_178[0]._shift2 = 5; + local_178[0]._shift3 = 0x10; + puStack_20 = (undefined1 *)(appppppuStack_44 + 0x10); + uVar8 = RNG::RandomInt(local_178,uVar19); ExceptionList = local_1c; - return *(undefined4 *)(**(int **)(*in_ECX + uVar7 * 4) + 4); + return *(undefined4 *)(**(int **)(*in_ECX + uVar8 * 4) + 4); } local_208 = (undefined4 ******)&DAT_0000004f; local_24c = in_ECX; std::set::find_node(local_258,&local_208); if ((*(char *)((int)local_254[1] + 0xd) != '\0') || (0x4f < *(int *)((int)local_254[1] + 0x10))) { - local_254[1] = (pGVar4->_seedEffects)._seedEffects; + local_254[1] = (pGVar5->_seedEffects)._seedEffects; } - if ((local_254[1] != (pGVar4->_seedEffects)._seedEffects) && (param_1 == (RNG)0x1)) { - local_210 = (RNG)operator_new(); - if (local_210 == (RNG)0x0) { - puVar8 = (undefined4 *)0x0; + if ((local_254[1] != (pGVar5->_seedEffects)._seedEffects) && (param_1 == (ItemConfig_Item *)0x1)) + { + local_210 = (ItemConfig_Item *)operator_new(); + if (local_210 == (ItemConfig_Item *)0x0) { + puVar9 = (undefined4 *)0x0; } else { - puVar8 = (undefined4 *)ItemConfig_Item::ItemConfig_Item((ItemConfig_Item *)local_210,uVar7); + puVar9 = (undefined4 *)ItemConfig_Item::ItemConfig_Item(local_210,uVar8); } std::string::assign("gfx/promo/gfuel/items/collectibles/Collectibles_143_Speedball.png",0x41); std::string::assign("G FUEL!",7); std::string::assign(&s_empty,0); - puVar8[0x2e] = puVar8[0x2e] | 0x8000; - puVar8[0x15] = puVar8[0x15] | 0xffff; - puVar8[0x2f] = puVar8[0x2f]; - *puVar8 = 1; - *(undefined1 *)((int)puVar8 + 0xb2) = 1; + puVar9[0x2e] = puVar9[0x2e] | 0x8000; + puVar9[0x15] = puVar9[0x15] | 0xffff; + puVar9[0x2f] = puVar9[0x2f]; + *puVar9 = 1; + *(undefined1 *)((int)puVar9 + 0xb2) = 1; ItemConfig_Costume::operator_assign(); pvVar1 = (g_manager->_itemConfig)._collectibles._begin; if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar1 >> 2 < 0x90) { - uVar9 = 0; + uVar10 = 0; } else { - uVar9 = *(undefined4 *)((int)pvVar1 + 0x23c); + uVar10 = *(undefined4 *)((int)pvVar1 + 0x23c); } - glitched_collectible_render_gfx(1,puVar8,pvVar1,uVar9); + glitched_collectible_render_gfx(1,puVar9,pvVar1,uVar10); } - local_210 = (RNG)operator_new(); - if (local_210 == (RNG)0x0) { + local_210 = (ItemConfig_Item *)operator_new(); + if (local_210 == (ItemConfig_Item *)0x0) { local_21c = (float *)0x0; } else { local_21c = (float *)GlitchedCollectibleGfx::constructor(); } - puVar8 = (undefined4 *)local_24c[1]; + puVar9 = (undefined4 *)local_24c[1]; local_204[0] = local_21c; - if (puVar8 == (undefined4 *)local_24c[2]) { - std::vector<4byte>::_Emplace_reallocate(puVar8,local_204); + if (puVar9 == (undefined4 *)local_24c[2]) { + std::vector<4byte>::_Emplace_reallocate(puVar9,local_204); } else { - *puVar8 = local_21c; + *puVar9 = local_21c; local_24c[1] = local_24c[1] + 4; } pfVar23 = local_204[0]; @@ -913979,31 +915481,32 @@ undefined4 ItemPool::CreateGlitchedCollectible(RNG param_1,byte param_2) local_21d = ((uint)param_1 & 0xc000) == 0xc000; if (local_21d) { if ((param_2 & 2) != 0) { - param_1 = (RNG)((uint)param_1 & 0xffff3fff); + param_1 = (ItemConfig_Item *)((uint)param_1 & 0xffff3fff); local_21d = false; } } else if ((param_2 & 8) != 0) { - param_1 = (RNG)((uint)param_1 | 0xc000); + param_1 = (ItemConfig_Item *)((uint)param_1 | 0xc000); local_21d = true; } iVar2 = *local_24c; - *(RNG *)(local_204[0] + 2) = param_1; + local_204[0][2] = (float)param_1; local_204[0][1] = (float)((iVar20 - iVar2 >> 2) + -1); local_21c = local_204[0]; - local_210 = (RNG)operator_new(); - if (local_210 == (RNG)0x0) { + local_210 = (ItemConfig_Item *)operator_new(); + if (local_210 == (ItemConfig_Item *)0x0) { local_234 = (int *)0x0; } else { - local_234 = (int *)ItemConfig_Item::ItemConfig_Item((ItemConfig_Item *)local_210); + local_234 = (int *)ItemConfig_Item::ItemConfig_Item(local_210); } *pfVar23 = (float)local_234; *local_234 = 1; - local_174 = 0x300000004; + local_178[0]._shift1 = 4; + local_178[0]._shift2 = 3; local_234[1] = -(local_24c[1] - *local_24c >> 2); - local_20c = (RNG)0x1b; - local_16c = 0x1b; + local_20c = (ItemConfig_Item *)0x1b; + local_178[0]._shift3 = 0x1b; local_1c0 = 0xf; local_1c4 = 0; local_1d4[0] = (int ******)0x0; @@ -914016,22 +915519,22 @@ undefined4 ItemPool::CreateGlitchedCollectible(RNG param_1,byte param_2) local_254[1] = (int ******)local_1bc; local_224 = 0; do { - if (param_1 == (RNG)0x0) { + if (param_1 == (ItemConfig_Item *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - bVar15 = (byte)local_174; - uVar7 = (uint)param_1 >> (bVar15 & 0x1f) ^ (uint)param_1; - bVar16 = (byte)((ulonglong)local_174 >> 0x20); - uVar7 = uVar7 << (bVar16 & 0x1f) ^ uVar7; - bVar17 = local_20c._0_1_; - uVar7 = uVar7 >> (bVar17 & 0x1f) ^ uVar7; - local_208 = (undefined4 ******)(uVar7 & 7); - if (uVar7 == 0) { + bVar15 = (byte)local_178[0]._shift1; + uVar8 = (uint)param_1 >> (bVar15 & 0x1f) ^ (uint)param_1; + bVar16 = (byte)local_178[0]._shift2; + uVar8 = uVar8 << (bVar16 & 0x1f) ^ uVar8; + bVar17 = (byte)local_20c; + uVar8 = uVar8 >> (bVar17 & 0x1f) ^ uVar8; + local_208 = (undefined4 ******)(uVar8 & 7); + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar19 = uVar7 >> (bVar15 & 0x1f) ^ uVar7; + uVar19 = uVar8 >> (bVar15 & 0x1f) ^ uVar8; uVar19 = uVar19 << (bVar16 & 0x1f) ^ uVar19; uVar19 = uVar19 >> (bVar17 & 0x1f) ^ uVar19; local_204[0] = (float *)(uVar19 & 7); @@ -914042,7 +915545,7 @@ undefined4 ItemPool::CreateGlitchedCollectible(RNG param_1,byte param_2) uVar19 = uVar19 >> (bVar15 & 0x1f) ^ uVar19; uVar19 = uVar19 << (bVar16 & 0x1f) ^ uVar19; uVar19 = uVar19 >> (bVar17 & 0x1f) ^ uVar19; - local_244 = (undefined1 *)((int)(uVar7 & 7) + (int)local_204[0] + (uVar19 & 7) + 4); + local_244 = (undefined1 *)((int)(uVar8 & 7) + (int)local_204[0] + (uVar19 & 7) + 4); if (uVar19 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); @@ -914060,7 +915563,7 @@ undefined4 ItemPool::CreateGlitchedCollectible(RNG param_1,byte param_2) uVar19 = uVar19 >> (bVar17 & 0x1f) ^ uVar19; local_244 = local_244 + uVar19 % 0x28; } - uVar7 = (int)(g_manager->_itemConfig)._collectibles._end - + uVar8 = (int)(g_manager->_itemConfig)._collectibles._end - (int)(g_manager->_itemConfig)._collectibles._begin >> 2; if (uVar19 == 0) { /* WARNING: Subroutine does not return */ @@ -914069,24 +915572,24 @@ undefined4 ItemPool::CreateGlitchedCollectible(RNG param_1,byte param_2) uVar19 = uVar19 >> (bVar15 & 0x1f) ^ uVar19; uVar19 = uVar19 << (bVar16 & 0x1f) ^ uVar19; local_204[0] = (float *)(uVar19 >> (bVar17 & 0x1f) ^ uVar19); - if (uVar7 == 0) { + if (uVar8 == 0) { local_238 = (ItemConfig *)0x0; } else { - local_238 = (ItemConfig *)((uint)local_204[0] % uVar7); + local_238 = (ItemConfig *)((uint)local_204[0] % uVar8); } if (g_game == (Game *)0x0) { if (-1 < (int)local_238) goto LAB_009dd205; LAB_009dd227: local_208 = (g_manager->_itemConfig)._collectibles._begin; - uVar7 = (int)(g_manager->_itemConfig)._collectibles._end - (int)local_208 >> 2; + uVar8 = (int)(g_manager->_itemConfig)._collectibles._end - (int)local_208 >> 2; LAB_009dd240: do { - local_238 = (ItemConfig *)((uint)((int)&(local_238->_collectibles)._begin + 1U) % uVar7); + local_238 = (ItemConfig *)((uint)((int)&(local_238->_collectibles)._begin + 1U) % uVar8); if (g_game == (Game *)0x0) { if ((int)local_238 < 0) goto LAB_009dd240; LAB_009dd28d: - if ((int)uVar7 <= (int)local_238) goto LAB_009dd240; + if ((int)uVar8 <= (int)local_238) goto LAB_009dd240; local_230 = (ItemConfig_Item *)local_208[(int)local_238]; } else { @@ -914147,21 +915650,20 @@ LAB_009dd205: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_204[0] >> ((byte)local_174 & 0x1f) ^ (uint)local_204[0]; - bVar15 = (byte)((ulonglong)local_174 >> 0x20); - uVar7 = uVar7 << (bVar15 & 0x1f) ^ uVar7; - RVar22 = (RNG)(uVar7 >> (local_20c._0_1_ & 0x1f) ^ uVar7); - if (RVar22 == (RNG)0x0) { + uVar8 = (uint)local_204[0] >> ((byte)local_178[0]._shift1 & 0x1f) ^ (uint)local_204[0]; + uVar8 = uVar8 << ((byte)local_178[0]._shift2 & 0x1f) ^ uVar8; + pIVar22 = (ItemConfig_Item *)(uVar8 >> ((byte)local_20c & 0x1f) ^ uVar8); + if (pIVar22 == (ItemConfig_Item *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar22 >> ((byte)local_174 & 0x1f) ^ (uint)RVar22; - local_58 = RVar22; - uVar7 = uVar7 << (bVar15 & 0x1f) ^ uVar7; + uVar8 = (uint)pIVar22 >> ((byte)local_178[0]._shift1 & 0x1f) ^ (uint)pIVar22; + local_58 = pIVar22; + uVar8 = uVar8 << ((byte)local_178[0]._shift2 & 0x1f) ^ uVar8; uStack_54 = 0x150000000b; iVar20 = 0; - local_210 = (RNG)(uVar7 >> (local_20c._0_1_ & 0x1f) ^ uVar7); - local_178 = local_210; + local_210 = (ItemConfig_Item *)(uVar8 >> ((byte)local_20c & 0x1f) ^ uVar8); + local_178[0]._seed = (int)local_210; local_23c = (ItemConfig_Item *)((uint)local_210 & 0x3f); pIStack_64 = (ItemConfig_Item *)((uint)local_210 & 0x3f); ppppppuStack_5c = local_248; @@ -914174,31 +915676,31 @@ LAB_009dd205: LAB_009dd400: ItemConfig_Item::GetLocalizedName(local_230,local_190,0x14); local_14._0_1_ = 2; - ItemConfig_Item::get_localized_description(local_230,&local_3c,extraout_ECX); + ItemConfig_Item::get_localized_description(local_230,appppppuStack_44 + 2,extraout_ECX); local_14._0_1_ = 3; - pIVar14 = local_230; - while ((local_230 = pIVar14, (int)local_23c < 0x20 && (0 < (int)local_244))) { - if (RVar22 == (RNG)0x0) { + pIVar4 = local_230; + while ((local_230 = pIVar4, (int)local_23c < 0x20 && (0 < (int)local_244))) { + if (pIVar22 == (ItemConfig_Item *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar22 >> ((byte)uStack_54 & 0x1f) ^ (uint)RVar22; - uVar7 = uVar7 << ((byte)((ulonglong)uStack_54 >> 0x20) & 0x1f) ^ uVar7; - local_218 = (RNG)(uVar7 >> ((byte)local_204[0] & 0x1f) ^ uVar7); - cVar6 = local_218._0_1_; + uVar8 = (uint)pIVar22 >> ((byte)uStack_54 & 0x1f) ^ (uint)pIVar22; + uVar8 = uVar8 << ((byte)((ulonglong)uStack_54 >> 0x20) & 0x1f) ^ uVar8; + local_218 = (ItemConfig_Item *)(uVar8 >> ((byte)local_204[0] & 0x1f) ^ uVar8); + cVar7 = (char)local_218; local_58 = local_218; if (iVar20 < 1) { - if (cVar6 < '\0') { + if (cVar7 < '\0') { std::string::push_back(); iVar20 = 1; iStack_6c = 1; } else { - if (cVar6 == '\0') { - cVar6 = '\x01'; + if (cVar7 == '\0') { + cVar7 = '\x01'; } - uVar7 = (uint)local_264 >> 8; - local_264 = CONCAT31((int3)uVar7,cVar6); + uVar8 = (uint)local_264 >> 8; + local_264 = CONCAT31((int3)uVar8,cVar7); std::string::push_back(); } } @@ -914211,50 +915713,52 @@ LAB_009dd400: local_244 = local_244 + -1; pIStack_64 = local_23c; puStack_60 = local_244; - RVar22 = local_218; - pIVar14 = local_230; + pIVar22 = local_218; + pIVar4 = local_230; } local_68 = (ItemConfig_Item *)0x20; if ((int)local_244 < 1) { LAB_009dddbd: local_14._0_1_ = 2; if (0xf < local_28) { - if ((0xfff < local_28 + 1) && (0x1f < (uint)((int)local_3c + (-4 - (int)local_3c[-1])))) + if ((0xfff < local_28 + 1) && + (0x1f < (uint)((int)appppppuStack_44[2] + (-4 - (int)appppppuStack_44[2][-1])))) goto LAB_009dfb4f; operator_delete(); } local_14._0_1_ = 1; local_2c = 0; local_28 = 0xf; - local_3c = (undefined4 ******)((uint)local_3c & 0xffffff00); + appppppuStack_44[2] = (undefined4 ******)((uint)appppppuStack_44[2] & 0xffffff00); if (uStack_17c < 0x10) goto LAB_009dde45; ppppppuVar18 = local_190[0]; goto LAB_009dde1d; } - local_208 = (undefined4 ******)(uint)(ushort)pIVar14->id; - cVar6 = utf8_string_writer_write(&local_208,2); - if (cVar6 != '\0') goto LAB_009dddbd; + local_208 = (undefined4 ******)(uint)(ushort)pIVar4->id; + cVar7 = utf8_string_writer_write(&local_208,2); + if (cVar7 != '\0') goto LAB_009dddbd; local_208 = (undefined4 ******)(uint)local_180; - cVar6 = utf8_string_writer_write(&local_208,2); + cVar7 = utf8_string_writer_write(&local_208,2); ppppppuVar18 = local_190[0]; - if (cVar6 != '\0') goto LAB_009dddbd; - ppppppuVar10 = local_190; + if (cVar7 != '\0') goto LAB_009dddbd; + ppppppuVar11 = local_190; if (0xf < uStack_17c) { - ppppppuVar10 = local_190[0]; + ppppppuVar11 = local_190[0]; } local_208 = local_190[0]; - cVar6 = utf8_string_writer_write(ppppppuVar10,CONCAT22(uStack_17e,local_180)); - if (cVar6 != '\0') { + cVar7 = utf8_string_writer_write(ppppppuVar11,CONCAT22(uStack_17e,local_180)); + if (cVar7 != '\0') { local_14._0_1_ = 2; if (0xf < local_28) { - if ((0xfff < local_28 + 1) && (0x1f < (uint)((int)local_3c + (-4 - (int)local_3c[-1])))) + if ((0xfff < local_28 + 1) && + (0x1f < (uint)((int)appppppuStack_44[2] + (-4 - (int)appppppuStack_44[2][-1])))) goto LAB_009dfb4f; operator_delete(); } local_14._0_1_ = 1; local_2c = 0; local_28 = 0xf; - local_3c = (undefined4 ******)((uint)local_3c & 0xffffff00); + appppppuStack_44[2] = (undefined4 ******)((uint)appppppuStack_44[2] & 0xffffff00); if (uStack_17c < 0x10) goto LAB_009dde45; if (uStack_17c + 1 < 0x1000) goto LAB_009dde3d; pppppuVar3 = ppppppuVar18[-1]; @@ -914267,18 +915771,19 @@ joined_r0x009dddb0: goto LAB_009dfb4f; } local_204[0] = (float *)(local_2c & 0xffff); - cVar6 = utf8_string_writer_write(local_204,2); - if (cVar6 != '\0') { + cVar7 = utf8_string_writer_write(local_204,2); + if (cVar7 != '\0') { local_14._0_1_ = 2; if (0xf < local_28) { - if ((0xfff < local_28 + 1) && (0x1f < (uint)((int)local_3c + (-4 - (int)local_3c[-1])))) + if ((0xfff < local_28 + 1) && + (0x1f < (uint)((int)appppppuStack_44[2] + (-4 - (int)appppppuStack_44[2][-1])))) goto LAB_009dfb4f; operator_delete(); } local_14._0_1_ = 1; local_2c = 0; local_28 = 0xf; - local_3c = (undefined4 ******)((uint)local_3c & 0xffffff00); + appppppuStack_44[2] = (undefined4 ******)((uint)appppppuStack_44[2] & 0xffffff00); if (uStack_17c < 0x10) goto LAB_009dde45; if (0xfff < uStack_17c + 1) { pppppuVar3 = ppppppuVar18[-1]; @@ -914286,13 +915791,13 @@ joined_r0x009dddb0: } goto LAB_009dde3d; } - ppppppuVar10 = &local_3c; + ppppppuVar11 = appppppuStack_44 + 2; if (0xf < local_28) { - ppppppuVar10 = local_3c; + ppppppuVar11 = appppppuStack_44[2]; } - local_22c = local_3c; - cVar6 = utf8_string_writer_write(ppppppuVar10,local_2c); - if (cVar6 != '\0') { + local_22c = appppppuStack_44[2]; + cVar7 = utf8_string_writer_write(ppppppuVar11,local_2c); + if (cVar7 != '\0') { local_14._0_1_ = 2; if (0xf < local_28) { if ((0xfff < local_28 + 1) && (0x1f < (uint)((int)local_22c + (-4 - (int)local_22c[-1])))) @@ -914302,7 +915807,7 @@ joined_r0x009dddb0: local_14._0_1_ = 1; local_2c = 0; local_28 = 0xf; - local_3c = (undefined4 ******)((uint)local_3c & 0xffffff00); + appppppuStack_44[2] = (undefined4 ******)((uint)appppppuStack_44[2] & 0xffffff00); if (uStack_17c < 0x10) goto LAB_009dde45; if (uStack_17c + 1 < 0x1000) goto LAB_009dde3d; pppppuVar3 = ppppppuVar18[-1]; @@ -914314,9 +915819,9 @@ joined_r0x009ddc9e: goto LAB_009dde3d; goto LAB_009dfb4f; } - local_204[0] = (float *)(uint)(ushort)pIVar14->type; - cVar6 = utf8_string_writer_write(local_204,2); - if (cVar6 != '\0') { + local_204[0] = (float *)(uint)(ushort)pIVar4->type; + cVar7 = utf8_string_writer_write(local_204,2); + if (cVar7 != '\0') { local_14._0_1_ = 2; if (0xf < local_28) { if ((0xfff < local_28 + 1) && (0x1f < (uint)((int)local_22c + (-4 - (int)local_22c[-1])))) @@ -914326,7 +915831,7 @@ joined_r0x009ddc9e: local_14._0_1_ = 1; local_2c = 0; local_28 = 0xf; - local_3c = (undefined4 ******)((uint)local_3c & 0xffffff00); + appppppuStack_44[2] = (undefined4 ******)((uint)appppppuStack_44[2] & 0xffffff00); if (uStack_17c < 0x10) goto LAB_009dde45; if (0xfff < uStack_17c + 1) { pppppuVar3 = ppppppuVar18[-1]; @@ -914334,9 +915839,9 @@ joined_r0x009ddc9e: } goto LAB_009dde3d; } - local_204[0] = (float *)(uint)(ushort)pIVar14->chargeType; - cVar6 = utf8_string_writer_write(local_204,2); - if (cVar6 != '\0') { + local_204[0] = (float *)(uint)(ushort)pIVar4->chargeType; + cVar7 = utf8_string_writer_write(local_204,2); + if (cVar7 != '\0') { local_14._0_1_ = 2; if (0xf < local_28) { if ((0xfff < local_28 + 1) && (0x1f < (uint)((int)local_22c + (-4 - (int)local_22c[-1])))) @@ -914346,7 +915851,7 @@ joined_r0x009ddc9e: local_14._0_1_ = 1; local_2c = 0; local_28 = 0xf; - local_3c = (undefined4 ******)((uint)local_3c & 0xffffff00); + appppppuStack_44[2] = (undefined4 ******)((uint)appppppuStack_44[2] & 0xffffff00); if (uStack_17c < 0x10) goto LAB_009dde45; if (uStack_17c + 1 < 0x1000) goto LAB_009dde3d; pppppuVar3 = ppppppuVar18[-1]; @@ -914358,9 +915863,9 @@ joined_r0x009ddb82: goto LAB_009dde3d; goto LAB_009dfb4f; } - local_204[0] = (float *)(uint)(ushort)pIVar14->_initCharge; - cVar6 = utf8_string_writer_write(local_204,2); - if (cVar6 != '\0') { + local_204[0] = (float *)(uint)(ushort)pIVar4->_initCharge; + cVar7 = utf8_string_writer_write(local_204,2); + if (cVar7 != '\0') { local_14._0_1_ = 2; if (0xf < local_28) { if ((0xfff < local_28 + 1) && (0x1f < (uint)((int)local_22c + (-4 - (int)local_22c[-1])))) @@ -914370,7 +915875,7 @@ joined_r0x009ddb82: local_14._0_1_ = 1; local_2c = 0; local_28 = 0xf; - local_3c = (undefined4 ******)((uint)local_3c & 0xffffff00); + appppppuStack_44[2] = (undefined4 ******)((uint)appppppuStack_44[2] & 0xffffff00); if (uStack_17c < 0x10) goto LAB_009dde45; if (0xfff < uStack_17c + 1) { pppppuVar3 = ppppppuVar18[-1]; @@ -914378,9 +915883,9 @@ joined_r0x009ddb82: } goto LAB_009dde3d; } - local_204[0] = (float *)(uint)(ushort)pIVar14->maxCharges; - cVar6 = utf8_string_writer_write(local_204,2); - if (cVar6 != '\0') { + local_204[0] = (float *)(uint)(ushort)pIVar4->maxCharges; + cVar7 = utf8_string_writer_write(local_204,2); + if (cVar7 != '\0') { local_14._0_1_ = 2; if (0xf < local_28) { if ((0xfff < local_28 + 1) && (0x1f < (uint)((int)local_22c + (-4 - (int)local_22c[-1])))) @@ -914390,7 +915895,7 @@ joined_r0x009ddb82: local_14._0_1_ = 1; local_2c = 0; local_28 = 0xf; - local_3c = (undefined4 ******)((uint)local_3c & 0xffffff00); + appppppuStack_44[2] = (undefined4 ******)((uint)appppppuStack_44[2] & 0xffffff00); if (uStack_17c < 0x10) goto LAB_009dde45; if (uStack_17c + 1 < 0x1000) goto LAB_009dde3d; pppppuVar3 = ppppppuVar18[-1]; @@ -914402,9 +915907,9 @@ joined_r0x009dda66: goto LAB_009dde3d; goto LAB_009dfb4f; } - local_204[0] = (float *)(uint)(ushort)pIVar14->maxCooldown; - cVar6 = utf8_string_writer_write(local_204,2); - if (cVar6 != '\0') { + local_204[0] = (float *)(uint)(ushort)pIVar4->maxCooldown; + cVar7 = utf8_string_writer_write(local_204,2); + if (cVar7 != '\0') { local_14._0_1_ = 2; if (0xf < local_28) { if ((0xfff < local_28 + 1) && (0x1f < (uint)((int)local_22c + (-4 - (int)local_22c[-1])))) @@ -914414,7 +915919,7 @@ joined_r0x009dda66: local_14._0_1_ = 1; local_2c = 0; local_28 = 0xf; - local_3c = (undefined4 ******)((uint)local_3c & 0xffffff00); + appppppuStack_44[2] = (undefined4 ******)((uint)appppppuStack_44[2] & 0xffffff00); if (uStack_17c < 0x10) goto LAB_009dde45; if (0xfff < uStack_17c + 1) { pppppuVar3 = ppppppuVar18[-1]; @@ -914432,26 +915937,26 @@ joined_r0x009dda66: do { if ((int)puStack_60 < 1) break; local_244 = puStack_60; - if (local_218 == (RNG)0x0) { + if (local_218 == (ItemConfig_Item *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_218 >> ((byte)uStack_54 & 0x1f) ^ (uint)local_218; - uVar7 = uVar7 << ((byte)((ulonglong)uStack_54 >> 0x20) & 0x1f) ^ uVar7; - local_218 = (RNG)(uVar7 >> ((byte)local_204[0] & 0x1f) ^ uVar7); - cVar6 = local_218._0_1_; + uVar8 = (uint)local_218 >> ((byte)uStack_54 & 0x1f) ^ (uint)local_218; + uVar8 = uVar8 << ((byte)((ulonglong)uStack_54 >> 0x20) & 0x1f) ^ uVar8; + local_218 = (ItemConfig_Item *)(uVar8 >> ((byte)local_204[0] & 0x1f) ^ uVar8); + cVar7 = (char)local_218; local_58 = local_218; if (iVar20 < 1) { - if (cVar6 < '\0') { + if (cVar7 < '\0') { std::string::push_back(); iVar20 = 1; iStack_6c = 1; } else { - if (cVar6 == '\0') { - cVar6 = '\x01'; + if (cVar7 == '\0') { + cVar7 = '\x01'; } - local_26c = CONCAT31(local_26c._1_3_,cVar6); + local_26c = CONCAT31(local_26c._1_3_,cVar7); std::string::push_back(); } } @@ -914477,7 +915982,7 @@ joined_r0x009dda66: ((uint)((int)&(pIVar21->_collectibles)._begin + 1U) % (uint)local_23c); local_230 = ItemConfig::GetCollectible(local_25c,(int)pIVar21); iVar20 = iStack_6c; - RVar22 = local_218; + pIVar22 = local_218; } while (local_230 == (ItemConfig_Item *)0x0); local_23c = (ItemConfig_Item *)0x0; pIStack_64 = (ItemConfig_Item *)0x0; @@ -914507,7 +916012,7 @@ joined_r0x009dda66: local_14._0_1_ = 1; local_2c = 0; local_28 = 0xf; - local_3c = (undefined4 ******)((uint)local_3c & 0xffffff00); + appppppuStack_44[2] = (undefined4 ******)((uint)appppppuStack_44[2] & 0xffffff00); if (0xf < uStack_17c) { ppppppuVar18 = local_208; LAB_009dde1d: @@ -914538,116 +916043,123 @@ LAB_009dde45: param_1 = local_210; } while (local_224 < 2); if ((int *******)(local_234 + 2) != local_1d4) { - ppppppiVar11 = (int ******)local_1d4; + ppppppiVar12 = (int ******)local_1d4; if (0xf < local_1c0) { - ppppppiVar11 = local_1d4[0]; + ppppppiVar12 = local_1d4[0]; } - std::string::assign(ppppppiVar11,local_1c4); + std::string::assign(ppppppiVar12,local_1c4); } if ((int *******)(piVar24 + 8) != local_1bc) { - ppppppiVar11 = (int ******)local_1bc; + ppppppiVar12 = (int ******)local_1bc; if (0xf < local_1a8) { - ppppppiVar11 = local_1bc[0]; + ppppppiVar12 = local_1bc[0]; } - std::string::assign(ppppppiVar11,local_1ac); + std::string::assign(ppppppiVar12,local_1ac); } - RNG::Next(&local_178); - switch((uint)local_178 % 0xe) { + RNG::Next(local_178); + switch((uint)local_178[0]._seed % 0xe) { case 0: - uVar7 = RNG::RandomInt(&local_178,6); - uVar19 = RNG::RandomInt(&local_178,3); - piVar24[0x16] = uVar7 - uVar19; - uVar7 = RNG::RandomInt(&local_178,6); - uVar19 = RNG::RandomInt(&local_178,3); - piVar24[0x17] = uVar7 - uVar19; + uVar8 = RNG::RandomInt(local_178,6); + uVar19 = RNG::RandomInt(local_178,3); + piVar24[0x16] = uVar8 - uVar19; + uVar8 = RNG::RandomInt(local_178,6); + uVar19 = RNG::RandomInt(local_178,3); + piVar24[0x17] = uVar8 - uVar19; break; case 1: - uVar7 = RNG::RandomInt(&local_178,6); - piVar24[0x18] = uVar7; + uVar8 = RNG::RandomInt(local_178,6); + piVar24[0x18] = uVar8; break; case 2: - uVar7 = RNG::RandomInt(&local_178,6); - piVar24[0x19] = uVar7; + uVar8 = RNG::RandomInt(local_178,6); + piVar24[0x19] = uVar8; break; case 3: - uVar7 = RNG::RandomInt(&local_178,6); - uVar19 = RNG::RandomInt(&local_178,3); - piVar24[0x1a] = uVar7 - uVar19; + uVar8 = RNG::RandomInt(local_178,6); + uVar19 = RNG::RandomInt(local_178,3); + piVar24[0x1a] = uVar8 - uVar19; break; case 4: - uVar7 = RNG::RandomInt(&local_178,6); - uVar19 = RNG::RandomInt(&local_178,3); - piVar24[0x1b] = uVar7 - uVar19; + uVar8 = RNG::RandomInt(local_178,6); + uVar19 = RNG::RandomInt(local_178,3); + piVar24[0x1b] = uVar8 - uVar19; break; case 5: - uVar7 = RNG::RandomInt(&local_178,6); - uVar19 = RNG::RandomInt(&local_178,6); - uVar12 = RNG::RandomInt(&local_178,6); - uVar13 = RNG::RandomInt(&local_178,6); - piVar24[0x1c] = uVar13 + (uVar7 - uVar19) + uVar12; + uVar8 = RNG::RandomInt(local_178,6); + uVar19 = RNG::RandomInt(local_178,6); + uVar13 = RNG::RandomInt(local_178,6); + uVar14 = RNG::RandomInt(local_178,6); + piVar24[0x1c] = uVar14 + (uVar8 - uVar19) + uVar13; } pfVar23 = local_21c; local_21c[4] = 0.0; - RNG::Next(&local_178); - pMVar5 = g_manager; - if (((uint)local_178 & 1) == 0) { - uVar7 = RNG::RandomInt(&local_178, + RNG::Next(local_178); + pMVar6 = g_manager; + if ((local_178[0]._seed & 1U) == 0) { + uVar8 = RNG::RandomInt(local_178, (int)(g_manager->_itemConfig)._collectibles._end - (int)(g_manager->_itemConfig)._collectibles._begin >> 2); - pIVar14 = ItemConfig::GetCollectible(&pMVar5->_itemConfig,uVar7); + pIVar22 = ItemConfig::GetCollectible(&pMVar6->_itemConfig,uVar8); LAB_009de0b7: - local_21c[4] = (float)pIVar14; + local_21c[4] = (float)pIVar22; pfVar23 = local_21c; - if (pIVar14 != (ItemConfig_Item *)0x0) { - piVar24[0x15] = piVar24[0x15] | pIVar14->cacheFlags; + if (pIVar22 != (ItemConfig_Item *)0x0) { + piVar24[0x15] = piVar24[0x15] | pIVar22->cacheFlags; } } - else if (((uint)local_178 & 1) == 1) { - uVar7 = RNG::RandomInt(&local_178, + else if ((local_178[0]._seed & 1U) == 1) { + uVar8 = RNG::RandomInt(local_178, (int)(g_manager->_itemConfig)._trinkets._end - (int)(g_manager->_itemConfig)._trinkets._begin >> 2); - pvVar1 = (pMVar5->_itemConfig)._trinkets._begin; - if ((int)(uVar7 & 0x7fff) < (int)(pMVar5->_itemConfig)._trinkets._end - (int)pvVar1 >> 2) { - pIVar14 = *(ItemConfig_Item **)((int)pvVar1 + (uVar7 & 0x7fff) * 4); + pvVar1 = (pMVar6->_itemConfig)._trinkets._begin; + if ((int)(uVar8 & 0x7fff) < (int)(pMVar6->_itemConfig)._trinkets._end - (int)pvVar1 >> 2) { + pIVar22 = *(ItemConfig_Item **)((int)pvVar1 + (uVar8 & 0x7fff) * 4); goto LAB_009de0b7; } local_21c[4] = 0.0; pfVar23 = local_21c; } - RNG::Next(&local_178); - if (local_178 == (RNG)(((uint)local_178 / 0x28) * 0x28)) { - uVar7 = RNG::RandomInt(&local_178,6); - piVar24[0x16] = piVar24[0x16] + uVar7; + RNG::Next(local_178); + if ((ItemConfig_Item *)local_178[0]._seed == + (ItemConfig_Item *)(((uint)local_178[0]._seed / 0x28) * 0x28)) { + uVar8 = RNG::RandomInt(local_178,6); + piVar24[0x16] = piVar24[0x16] + uVar8; } - RNG::Next(&local_178); - if (local_178 == (RNG)(((uint)local_178 / 0x28) * 0x28)) { - uVar7 = RNG::RandomInt(&local_178,6); - piVar24[0x17] = piVar24[0x17] + uVar7; + RNG::Next(local_178); + if ((ItemConfig_Item *)local_178[0]._seed == + (ItemConfig_Item *)(((uint)local_178[0]._seed / 0x28) * 0x28)) { + uVar8 = RNG::RandomInt(local_178,6); + piVar24[0x17] = piVar24[0x17] + uVar8; } - RNG::Next(&local_178); - if (local_178 == (RNG)(((uint)local_178 / 0x28) * 0x28)) { - uVar7 = RNG::RandomInt(&local_178,6); - piVar24[0x18] = piVar24[0x18] + uVar7; + RNG::Next(local_178); + if ((ItemConfig_Item *)local_178[0]._seed == + (ItemConfig_Item *)(((uint)local_178[0]._seed / 0x28) * 0x28)) { + uVar8 = RNG::RandomInt(local_178,6); + piVar24[0x18] = piVar24[0x18] + uVar8; } - RNG::Next(&local_178); - if (local_178 == (RNG)(((uint)local_178 / 0x28) * 0x28)) { - uVar7 = RNG::RandomInt(&local_178,6); - piVar24[0x19] = piVar24[0x19] + uVar7; + RNG::Next(local_178); + if ((ItemConfig_Item *)local_178[0]._seed == + (ItemConfig_Item *)(((uint)local_178[0]._seed / 0x28) * 0x28)) { + uVar8 = RNG::RandomInt(local_178,6); + piVar24[0x19] = piVar24[0x19] + uVar8; } - RNG::Next(&local_178); - if (local_178 == (RNG)(((uint)local_178 / 0x28) * 0x28)) { - uVar7 = RNG::RandomInt(&local_178,6); - piVar24[0x1a] = piVar24[0x1a] + uVar7; + RNG::Next(local_178); + if ((ItemConfig_Item *)local_178[0]._seed == + (ItemConfig_Item *)(((uint)local_178[0]._seed / 0x28) * 0x28)) { + uVar8 = RNG::RandomInt(local_178,6); + piVar24[0x1a] = piVar24[0x1a] + uVar8; } - RNG::Next(&local_178); - if (local_178 == (RNG)(((uint)local_178 / 0x28) * 0x28)) { - uVar7 = RNG::RandomInt(&local_178,6); - piVar24[0x1b] = piVar24[0x1b] + uVar7; + RNG::Next(local_178); + if ((ItemConfig_Item *)local_178[0]._seed == + (ItemConfig_Item *)(((uint)local_178[0]._seed / 0x28) * 0x28)) { + uVar8 = RNG::RandomInt(local_178,6); + piVar24[0x1b] = piVar24[0x1b] + uVar8; } - RNG::Next(&local_178); - if (local_178 == (RNG)(((uint)local_178 / 0x28) * 0x28)) { - uVar7 = RNG::RandomInt(&local_178,6); - piVar24[0x1c] = piVar24[0x1c] + uVar7; + RNG::Next(local_178); + if ((ItemConfig_Item *)local_178[0]._seed == + (ItemConfig_Item *)(((uint)local_178[0]._seed / 0x28) * 0x28)) { + uVar8 = RNG::RandomInt(local_178,6); + piVar24[0x1c] = piVar24[0x1c] + uVar8; } piVar24[0x16] = piVar24[0x16] & 0xfffffffe; pfVar23[5] = 0.0; @@ -914657,15 +916169,15 @@ LAB_009de0b7: pfVar23[9] = 0.0; pfVar23[10] = 0.0; local_23c = (ItemConfig_Item *)0x0; - if ((piVar24[0x15] != 0) || (uVar7 = 5, 0 < piVar24[0x16])) { - uVar7 = 0x14; + if ((piVar24[0x15] != 0) || (uVar8 = 5, 0 < piVar24[0x16])) { + uVar8 = 0x14; } - uVar7 = RNG::RandomInt(&local_178,uVar7); - if (uVar7 != 0) { - RVar22 = local_178; + uVar8 = RNG::RandomInt(local_178,uVar8); + if (uVar8 != 0) { + pIVar22 = (ItemConfig_Item *)local_178[0]._seed; goto LAB_009de758; } - uVar7 = 0; + uVar8 = 0; local_190[0] = (undefined4 ******)0x0; local_190[1] = (undefined4 ******)0x1; local_190[2] = (undefined4 ******)0x2; @@ -914673,114 +916185,116 @@ LAB_009de0b7: local_180 = 4; uStack_17e = 0; uStack_17c = 5; - local_3c = (undefined4 ******)0x1; + appppppuStack_44[2] = (undefined4 ******)0x1; uStack_38 = 2; uStack_34 = 0x10; uStack_30 = 8; do { - uVar19 = RNG::RandomInt(&local_178,6 - uVar7); - uVar19 = uVar19 + uVar7; - if (uVar19 != uVar7) { - pppppuVar3 = local_190[uVar7]; - local_190[uVar7] = local_190[uVar19]; - local_190[uVar19] = (undefined4 ******)pppppuVar3; + uVar19 = RNG::RandomInt(local_178,6 - uVar8); + uVar19 = uVar19 + uVar8; + if (uVar19 != uVar8) { + uVar10 = *(undefined4 *)((int)local_178 + uVar8 * 4 + -0x18); + *(undefined4 *)((int)local_178 + uVar8 * 4 + -0x18) = + *(undefined4 *)((int)local_178 + uVar19 * 4 + -0x18); + *(undefined4 *)((int)local_178 + uVar19 * 4 + -0x18) = uVar10; } - uVar7 = uVar7 + 1; - } while (uVar7 < 5); - if (local_178 == (RNG)0x0) { + uVar8 = uVar8 + 1; + } while (uVar8 < 5); + if ((ItemConfig_Item *)local_178[0]._seed == (ItemConfig_Item *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - bVar15 = (byte)local_174; - uVar7 = (uint)local_178 >> (bVar15 & 0x1f) ^ (uint)local_178; - bVar16 = (byte)((ulonglong)local_174 >> 0x20); - uVar7 = uVar7 << (bVar16 & 0x1f) ^ uVar7; - bVar17 = (byte)local_16c; - local_218 = (RNG)(uVar7 >> (bVar17 & 0x1f) ^ uVar7); - if (local_218 == (RNG)(((uint)local_218 / 0x28) * 0x28)) { + bVar15 = (byte)local_178[0]._shift1; + uVar8 = (uint)local_178[0]._seed >> (bVar15 & 0x1f) ^ local_178[0]._seed; + bVar16 = (byte)local_178[0]._shift2; + uVar8 = uVar8 << (bVar16 & 0x1f) ^ uVar8; + bVar17 = (byte)local_178[0]._shift3; + local_218 = (ItemConfig_Item *)(uVar8 >> (bVar17 & 0x1f) ^ uVar8); + if (local_218 == (ItemConfig_Item *)(((uint)local_218 / 0x28) * 0x28)) { local_204[0] = local_21c + 5; local_224 = 6; do { - if (local_218 == (RNG)0x0) { + if (local_218 == (ItemConfig_Item *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_218 >> (bVar15 & 0x1f) ^ (uint)local_218; - uVar7 = uVar7 << (bVar16 & 0x1f) ^ uVar7; - local_208 = (undefined4 ******)(uVar7 >> (bVar17 & 0x1f) ^ uVar7); - local_210 = (RNG)((float)((double)(int)local_208 + - __uint_to_double_fixup[-((int)local_208 >> 0x1f)]) * 2.3283062e-10); + uVar8 = (uint)local_218 >> (bVar15 & 0x1f) ^ (uint)local_218; + uVar8 = uVar8 << (bVar16 & 0x1f) ^ uVar8; + local_208 = (undefined4 ******)(uVar8 >> (bVar17 & 0x1f) ^ uVar8); + local_210 = (ItemConfig_Item *) + ((float)((double)(int)local_208 + + __uint_to_double_fixup[-((int)local_208 >> 0x1f)]) * 2.3283062e-10); if (local_208 == (undefined4 ******)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_208 >> (bVar15 & 0x1f) ^ (uint)local_208; - uVar7 = uVar7 << (bVar16 & 0x1f) ^ uVar7; - RVar22 = (RNG)(uVar7 >> (bVar17 & 0x1f) ^ uVar7); - local_218 = RVar22; + uVar8 = (uint)local_208 >> (bVar15 & 0x1f) ^ (uint)local_208; + uVar8 = uVar8 << (bVar16 & 0x1f) ^ uVar8; + pIVar22 = (ItemConfig_Item *)(uVar8 >> (bVar17 & 0x1f) ^ uVar8); + local_218 = pIVar22; *local_204[0] = - (float)((double)(int)RVar22 + __uint_to_double_fixup[-((int)RVar22 >> 0x1f)]) * + (float)((double)(int)pIVar22 + __uint_to_double_fixup[-((int)pIVar22 >> 0x1f)]) * 2.3283062e-10 + (float)local_210; local_224 = local_224 - 1; local_204[0] = local_204[0] + 1; } while (local_224 != 0); } else { - if (local_218 == (RNG)0x0) { + if (local_218 == (ItemConfig_Item *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_218 >> (bVar15 & 0x1f) ^ (uint)local_218; - uVar7 = uVar7 << (bVar16 & 0x1f) ^ uVar7; - local_20c = (RNG)(uVar7 >> (bVar17 & 0x1f) ^ uVar7); + uVar8 = (uint)local_218 >> (bVar15 & 0x1f) ^ (uint)local_218; + uVar8 = uVar8 << (bVar16 & 0x1f) ^ uVar8; + local_20c = (ItemConfig_Item *)(uVar8 >> (bVar17 & 0x1f) ^ uVar8); fVar25 = (float)((double)(int)local_20c + __uint_to_double_fixup[-((int)local_20c >> 0x1f)]) * 2.3283062e-10 + 0.25; local_21c[(int)((int)local_190[0] + 5)] = fVar25; if (fVar25 < 0.5) { LAB_009de603: - if (local_20c == (RNG)0x0) { + if (local_20c == (ItemConfig_Item *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_20c >> (bVar15 & 0x1f) ^ (uint)local_20c; - uVar7 = uVar7 << (bVar16 & 0x1f) ^ uVar7; - local_178 = (RNG)(uVar7 >> (bVar17 & 0x1f) ^ uVar7); + uVar8 = (uint)local_20c >> (bVar15 & 0x1f) ^ (uint)local_20c; + uVar8 = uVar8 << (bVar16 & 0x1f) ^ uVar8; + local_178[0]._seed = uVar8 >> (bVar17 & 0x1f) ^ uVar8; local_21c[(int)local_190[1] + 5] = - (float)((double)(int)local_178 + __uint_to_double_fixup[-((int)local_178 >> 0x1f)]) * - 2.3283062e-10 + 0.25; + (float)((double)local_178[0]._seed + + __uint_to_double_fixup[-(local_178[0]._seed >> 0x1f)]) * 2.3283062e-10 + 0.25; } else { - if (local_20c == (RNG)0x0) { + if (local_20c == (ItemConfig_Item *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_20c >> (bVar15 & 0x1f) ^ (uint)local_20c; - uVar7 = uVar7 << (bVar16 & 0x1f) ^ uVar7; - local_20c = (RNG)(uVar7 >> (bVar17 & 0x1f) ^ uVar7); - local_178 = local_20c; + uVar8 = (uint)local_20c >> (bVar15 & 0x1f) ^ (uint)local_20c; + uVar8 = uVar8 << (bVar16 & 0x1f) ^ uVar8; + local_20c = (ItemConfig_Item *)(uVar8 >> (bVar17 & 0x1f) ^ uVar8); + local_178[0]._seed = (int)local_20c; if (((uint)local_20c & 7) == 0) goto LAB_009de603; } - uVar7 = 5; + uVar8 = 5; if (1.0 < local_21c[(int)local_190[1] + 5] + local_21c[(int)((int)local_190[0] + 5)]) { - uVar7 = 2; + uVar8 = 2; } - uVar7 = RNG::RandomInt(&local_178,uVar7); - RVar22 = local_178; - if (uVar7 == 0) { - if (local_178 == (RNG)0x0) { + uVar8 = RNG::RandomInt(local_178,uVar8); + pIVar22 = (ItemConfig_Item *)local_178[0]._seed; + if (uVar8 == 0) { + if ((ItemConfig_Item *)local_178[0]._seed == (ItemConfig_Item *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_178 >> ((byte)local_174 & 0x1f) ^ (uint)local_178; - uVar7 = uVar7 << ((byte)((ulonglong)local_174 >> 0x20) & 0x1f) ^ uVar7; - RVar22 = (RNG)(uVar7 >> ((byte)local_16c & 0x1f) ^ uVar7); + uVar8 = (uint)local_178[0]._seed >> ((byte)local_178[0]._shift1 & 0x1f) ^ local_178[0]._seed; + uVar8 = uVar8 << ((byte)local_178[0]._shift2 & 0x1f) ^ uVar8; + pIVar22 = (ItemConfig_Item *)(uVar8 >> ((byte)local_178[0]._shift3 & 0x1f) ^ uVar8); local_21c[(int)local_190[2] + 5] = - 0.1 - (float)((double)(int)RVar22 + __uint_to_double_fixup[-((int)RVar22 >> 0x1f)]) * + 0.1 - (float)((double)(int)pIVar22 + __uint_to_double_fixup[-((int)pIVar22 >> 0x1f)]) * 2.3283062e-10 * 0.5; } } if (local_21c[5] != 0.0) { - local_234[0x15] = local_234[0x15] | (uint)local_3c; + local_234[0x15] = local_234[0x15] | (uint)appppppuStack_44[2]; } if (local_21c[6] != 0.0) { local_234[0x15] = local_234[0x15] | uStack_38; @@ -914799,38 +916313,41 @@ LAB_009de603: local_234[0x15] = local_234[0x15] | 0x400; } LAB_009de758: - bVar15 = (byte)local_16c; - bVar16 = (byte)local_174; - bVar17 = (byte)((ulonglong)local_174 >> 0x20); + bVar15 = (byte)local_178[0]._shift3; + bVar16 = (byte)local_178[0]._shift1; + bVar17 = (byte)local_178[0]._shift2; if (local_21d == false) { - if (RVar22 == (RNG)0x0) { + if (pIVar22 == (ItemConfig_Item *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)RVar22 >> (bVar16 & 0x1f) ^ (uint)RVar22; - uVar7 = uVar7 << (bVar17 & 0x1f) ^ uVar7; - local_208 = (undefined4 ******)(uVar7 >> (bVar15 & 0x1f) ^ uVar7); - local_210 = (RNG)((float)((double)(int)local_208 + - __uint_to_double_fixup[-((int)local_208 >> 0x1f)]) * 2.3283062e-10); + uVar8 = (uint)pIVar22 >> (bVar16 & 0x1f) ^ (uint)pIVar22; + uVar8 = uVar8 << (bVar17 & 0x1f) ^ uVar8; + local_208 = (undefined4 ******)(uVar8 >> (bVar15 & 0x1f) ^ uVar8); + local_210 = (ItemConfig_Item *) + ((float)((double)(int)local_208 + __uint_to_double_fixup[-((int)local_208 >> 0x1f)]) + * 2.3283062e-10); if (local_208 == (undefined4 ******)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_208 >> (bVar16 & 0x1f) ^ (uint)local_208; - uVar7 = uVar7 << (bVar17 & 0x1f) ^ uVar7; - local_208 = (undefined4 ******)(uVar7 >> (bVar15 & 0x1f) ^ uVar7); - local_20c = (RNG)((float)((double)(int)local_208 + - __uint_to_double_fixup[-((int)local_208 >> 0x1f)]) * 2.3283062e-10); + uVar8 = (uint)local_208 >> (bVar16 & 0x1f) ^ (uint)local_208; + uVar8 = uVar8 << (bVar17 & 0x1f) ^ uVar8; + local_208 = (undefined4 ******)(uVar8 >> (bVar15 & 0x1f) ^ uVar8); + local_20c = (ItemConfig_Item *) + ((float)((double)(int)local_208 + __uint_to_double_fixup[-((int)local_208 >> 0x1f)]) + * 2.3283062e-10); if (local_208 == (undefined4 ******)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_208 >> (bVar16 & 0x1f) ^ (uint)local_208; - uVar7 = uVar7 << (bVar17 & 0x1f) ^ uVar7; - uVar7 = uVar7 >> (bVar15 & 0x1f) ^ uVar7; - local_20c = (RNG)((float)local_20c + (float)local_210 + - (float)((double)(int)uVar7 + __uint_to_double_fixup[-((int)uVar7 >> 0x1f)]) * - 2.3283062e-10); + uVar8 = (uint)local_208 >> (bVar16 & 0x1f) ^ (uint)local_208; + uVar8 = uVar8 << (bVar17 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> (bVar15 & 0x1f) ^ uVar8; + local_20c = (ItemConfig_Item *) + ((float)local_20c + (float)local_210 + + (float)((double)(int)uVar8 + __uint_to_double_fixup[-((int)uVar8 >> 0x1f)]) * + 2.3283062e-10); } else { *piVar24 = 3; @@ -914846,14 +916363,14 @@ LAB_009de758: pIStack_64 = (ItemConfig_Item *)&DAT_00000004; puStack_60 = (undefined1 *)0x6; ppppppuStack_5c = (undefined4 ******)&DAT_00000006; - local_58 = (RNG)0x6; + local_58 = (ItemConfig_Item *)&DAT_00000006; uStack_54 = 0x12c0000000c; pfStack_4c = (float *)0x258; - if (RVar22 == (RNG)0x0) { + if (pIVar22 == (ItemConfig_Item *)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - local_224 = (uint)RVar22 >> (bVar16 & 0x1f) ^ (uint)RVar22; + local_224 = (uint)pIVar22 >> (bVar16 & 0x1f) ^ (uint)pIVar22; local_224 = local_224 << (bVar17 & 0x1f) ^ local_224; local_224 = local_224 >> (bVar15 & 0x1f) ^ local_224; local_208 = (undefined4 ******)local_88[local_224 & 0xf]; @@ -914865,12 +916382,12 @@ LAB_009de758: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = local_224 >> (bVar16 & 0x1f) ^ local_224; - uVar7 = uVar7 << (bVar17 & 0x1f) ^ uVar7; - uVar7 = uVar7 >> (bVar15 & 0x1f) ^ uVar7; - fVar25 = (float)((double)(int)uVar7 + __uint_to_double_fixup[-((int)uVar7 >> 0x1f)]) * + uVar8 = local_224 >> (bVar16 & 0x1f) ^ local_224; + uVar8 = uVar8 << (bVar17 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> (bVar15 & 0x1f) ^ uVar8; + fVar25 = (float)((double)(int)uVar8 + __uint_to_double_fixup[-((int)uVar8 >> 0x1f)]) * 2.3283062e-10 * (float)(int)local_208; - local_20c = (RNG)(fVar25 + fVar25 + 1.0); + local_20c = (ItemConfig_Item *)(fVar25 + fVar25 + 1.0); } else { local_234[0x2b] = 1; @@ -914878,31 +916395,33 @@ LAB_009de758: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = local_224 >> (bVar16 & 0x1f) ^ local_224; - uVar7 = uVar7 << (bVar17 & 0x1f) ^ uVar7; - local_208 = (undefined4 ******)(uVar7 >> (bVar15 & 0x1f) ^ uVar7); - local_210 = (RNG)((float)((double)(int)local_208 + - __uint_to_double_fixup[-((int)local_208 >> 0x1f)]) * 2.3283062e-10); + uVar8 = local_224 >> (bVar16 & 0x1f) ^ local_224; + uVar8 = uVar8 << (bVar17 & 0x1f) ^ uVar8; + local_208 = (undefined4 ******)(uVar8 >> (bVar15 & 0x1f) ^ uVar8); + local_210 = (ItemConfig_Item *) + ((float)((double)(int)local_208 + + __uint_to_double_fixup[-((int)local_208 >> 0x1f)]) * 2.3283062e-10); if (local_208 == (undefined4 ******)0x0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_208 >> (bVar16 & 0x1f) ^ (uint)local_208; - uVar7 = uVar7 << (bVar17 & 0x1f) ^ uVar7; - uVar7 = uVar7 >> (bVar15 & 0x1f) ^ uVar7; - local_20c = (RNG)((float)((double)(int)uVar7 + __uint_to_double_fixup[-((int)uVar7 >> 0x1f)]) - * 2.3283062e-10 + (float)local_210); + uVar8 = (uint)local_208 >> (bVar16 & 0x1f) ^ (uint)local_208; + uVar8 = uVar8 << (bVar17 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> (bVar15 & 0x1f) ^ uVar8; + local_20c = (ItemConfig_Item *) + ((float)((double)(int)uVar8 + __uint_to_double_fixup[-((int)uVar8 >> 0x1f)]) * + 2.3283062e-10 + (float)local_210); } } local_204[0] = (float *)0x0; - pIVar14 = (ItemConfig_Item *)0.0; + pIVar22 = (ItemConfig_Item *)0.0; do { - if ((float)local_20c <= (float)pIVar14) break; + if ((float)local_20c <= (float)pIVar22) break; pppppuVar3 = (undefined4 *****)local_21c[0xc]; if (7 < (uint)((int)pppppuVar3 - (int)local_21c[0xb] >> 2)) break; - bVar15 = (byte)(undefined4)local_174; - bVar16 = (byte)local_16c; - bVar17 = (byte)((ulonglong)local_174 >> 0x20); + bVar15 = (byte)local_178[0]._shift1; + bVar16 = (byte)local_178[0]._shift3; + bVar17 = (byte)local_178[0]._shift2; if (*local_234 == 3) { local_224 = 0; } @@ -914916,43 +916435,43 @@ LAB_009de758: local_190[0] = (undefined4 ******)0x2; local_190[1] = (undefined4 ******)0x3; local_190[2] = (undefined4 ******)0x4; - if (uVar7 == 0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = uVar7 >> (bVar15 & 0x1f) ^ uVar7; - uVar7 = uVar7 << (bVar17 & 0x1f) ^ uVar7; - uVar7 = uVar7 >> (bVar16 & 0x1f) ^ uVar7; - local_224 = (&uStack_194)[uVar7 % 7]; + uVar8 = uVar8 >> (bVar15 & 0x1f) ^ uVar8; + uVar8 = uVar8 << (bVar17 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> (bVar16 & 0x1f) ^ uVar8; + local_224 = *(uint *)((int)local_178 + (uVar8 % 7) * 4 + -0x1c); } if ((undefined4 *****)local_21c[0xb] != pppppuVar3) { - if (uVar7 == 0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = uVar7 >> (bVar15 & 0x1f) ^ uVar7; - uVar7 = uVar7 << (bVar17 & 0x1f) ^ uVar7; - uVar7 = uVar7 >> (bVar16 & 0x1f) ^ uVar7; - if ((uVar7 & 3) != 0) { + uVar8 = uVar8 >> (bVar15 & 0x1f) ^ uVar8; + uVar8 = uVar8 << (bVar17 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> (bVar16 & 0x1f) ^ uVar8; + if ((uVar8 & 3) != 0) { local_224 = 8; } } - aRStack_44[0] = (RNG)0x0; - aRStack_44[1] = (RNG)0x0; - local_3c = (undefined4 ******)0x1; + appppppuStack_44[0] = (undefined4 ******)0x0; + appppppuStack_44[1] = (undefined4 ******)0x0; + appppppuStack_44[2] = (undefined4 ******)0x1; uStack_38 = 1; uStack_34 = 2; uStack_30 = 3; local_2c = 4; local_28 = 5; - if (uVar7 == 0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = uVar7 >> (bVar15 & 0x1f) ^ uVar7; - uVar7 = uVar7 << (bVar17 & 0x1f) ^ uVar7; - local_208 = (undefined4 ******)(uVar7 >> (bVar16 & 0x1f) ^ uVar7); - local_210 = aRStack_44[(uint)local_208 & 7]; + uVar8 = uVar8 >> (bVar15 & 0x1f) ^ uVar8; + uVar8 = uVar8 << (bVar17 & 0x1f) ^ uVar8; + local_208 = (undefined4 ******)(uVar8 >> (bVar16 & 0x1f) ^ uVar8); + local_210 = (ItemConfig_Item *)appppppuStack_44[(uint)local_208 & 7]; pIVar21 = (ItemConfig *)operator_new(); local_25c = pIVar21; if (pIVar21 == (ItemConfig *)0x0) { @@ -914971,10 +916490,10 @@ LAB_009de758: /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = (uint)local_208 >> ((byte)local_174 & 0x1f) ^ (uint)local_208; - uVar7 = uVar7 << (bVar17 & 0x1f) ^ uVar7; - uVar7 = uVar7 >> ((byte)local_16c & 0x1f) ^ uVar7; - ProceduralEffect::roll_params(local_224,local_210,uVar7); + uVar8 = (uint)local_208 >> ((byte)local_178[0]._shift1 & 0x1f) ^ (uint)local_208; + uVar8 = uVar8 << (bVar17 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)local_178[0]._shift3 & 0x1f) ^ uVar8; + ProceduralEffect::roll_params(local_224,local_210,uVar8); if ((local_204[0] == (float *)0x63) || ((float)local_23c + (float)(pIVar21->_wispGfxRoot)._size < (float)local_20c)) { LAB_009ded9d: @@ -914986,35 +916505,35 @@ LAB_009ded9d: } FUN_009e24f0(local_270,local_254); } - puVar8 = (undefined4 *)local_21c[0xc]; - if (puVar8 == (undefined4 *)local_21c[0xd]) { - std::vector<4byte>::_Emplace_reallocate(puVar8,&local_238); + puVar9 = (undefined4 *)local_21c[0xc]; + if (puVar9 == (undefined4 *)local_21c[0xd]) { + std::vector<4byte>::_Emplace_reallocate(puVar9,&local_238); pIVar21 = local_238; } else { - *puVar8 = pIVar21; + *puVar9 = pIVar21; local_21c[0xc] = (float)((int)local_21c[0xc] + 4); } local_23c = (ItemConfig_Item *)((float)local_23c + (float)(pIVar21->_wispGfxRoot)._size); } else { - if (uVar7 == 0) { + if (uVar8 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar7 = uVar7 >> ((byte)local_174 & 0x1f) ^ uVar7; - uVar7 = uVar7 << ((byte)((ulonglong)local_174 >> 0x20) & 0x1f) ^ uVar7; - uVar7 = uVar7 >> ((byte)local_16c & 0x1f) ^ uVar7; - if (uVar7 == (uVar7 / 0x14) * 0x14) goto LAB_009ded9d; + uVar8 = uVar8 >> ((byte)local_178[0]._shift1 & 0x1f) ^ uVar8; + uVar8 = uVar8 << ((byte)local_178[0]._shift2 & 0x1f) ^ uVar8; + uVar8 = uVar8 >> ((byte)local_178[0]._shift3 & 0x1f) ^ uVar8; + if (uVar8 == (uVar8 / 0x14) * 0x14) goto LAB_009ded9d; operator_delete(); } local_204[0] = (float *)((int)local_204[0] + 1); - pIVar14 = local_23c; + pIVar22 = local_23c; } while (local_204[0] < (float *)0x64); - local_20c = (RNG)uVar7; + local_20c = (ItemConfig_Item *)uVar8; /* WARNING: Subroutine does not return */ KAGE_LogMessage(1,"initialized with %d effects (score: %g)\n", - (int)local_21c[0xc] - (int)local_21c[0xb] >> 2,(double)(float)pIVar14); + (int)local_21c[0xc] - (int)local_21c[0xb] >> 2,(double)(float)pIVar22); } @@ -915126,7 +916645,7 @@ int glitched_collectible_render_gfx(int param_1,int param_2,undefined4 param_3,i if ((DAT_00c7911c & 1) == 0) { puVar6 = g_currentShader; } - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; if (0xf < *(uint *)(param_2 + 0x4c)) { iVar8 = *(int *)(param_2 + 0x38); } @@ -915171,7 +916690,7 @@ int glitched_collectible_render_gfx(int param_1,int param_2,undefined4 param_3,i } g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; g_currentShader = puVar6; g_graphicsManager_blendMode[1] = iVar8; uVar12 = Manager::LoadImage(&local_7c,"gfx/promo/gfuel/ui/death items.png"); @@ -915602,15 +917121,14 @@ int ProceduralEffect::roll_trigger_target(RNG *param_1) RNG *this; uint uVar2; uint uVar3; - RNG RVar4; - EntityConfig *pEVar5; - void *pvVar6; + EntityConfig *pEVar4; + void *pvVar5; uint *in_ECX; float *in_EDX; - int iVar7; - void *pvVar8; - uint uVar9; - ushort uVar10; + int iVar6; + void *pvVar7; + uint uVar8; + ushort uVar9; int local_40; int local_3c; int local_34; @@ -915632,128 +917150,128 @@ int ProceduralEffect::roll_trigger_target(RNG *param_1) local_10 = ExceptionList; uVar2 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; - uVar9 = 0; - uVar10 = 0xffff; + uVar8 = 0; + uVar9 = 0xffff; param_1 = (RNG *)0x0; - RVar4 = *this; - if (RVar4 == (RNG)0x0) { + uVar3 = this->_seed; + if (uVar3 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar2); } - uVar3 = (uint)RVar4 >> (SUB41(this[1],0) & 0x1f) ^ (uint)RVar4; - uVar3 = uVar3 << (SUB41(this[2],0) & 0x1f) ^ uVar3; - RVar4 = (RNG)(uVar3 >> (SUB41(this[3],0) & 0x1f) ^ uVar3); - *this = RVar4; + uVar3 = uVar3 >> ((byte)this->_shift1 & 0x1f) ^ uVar3; + uVar3 = uVar3 << ((byte)this->_shift2 & 0x1f) ^ uVar3; + uVar3 = uVar3 >> ((byte)this->_shift3 & 0x1f) ^ uVar3; + this->_seed = uVar3; local_28 = in_EDX; local_24 = in_ECX; - switch((uint)RVar4 % 6) { + switch(uVar3 % 6) { case 0: - uVar9 = 2; + uVar8 = 2; param_1 = (RNG *)0x3c23d70a; - uVar2 = RNG::RandomInt(this,3); - if (uVar2 != 0) { + uVar3 = RNG::RandomInt(this,3); + if (uVar3 != 0) { LAB_009e0a8b: param_1 = (RNG *)0x3c23d70a; goto LAB_009e080a; } FUN_00694f00(&local_34,2); local_8 = 0; - iVar7 = (int)((ulonglong)((longlong)(local_30 - local_34) * 0xb60b60b7) >> 0x20); + iVar6 = (int)((ulonglong)((longlong)(local_30 - local_34) * 0xb60b60b7) >> 0x20); break; case 1: - uVar9 = 9; + uVar8 = 9; param_1 = (RNG *)0x3c23d70a; - uVar2 = RNG::RandomInt(this,3); - if (uVar2 != 0) goto LAB_009e0a8b; + uVar3 = RNG::RandomInt(this,3); + if (uVar3 != 0) goto LAB_009e0a8b; FUN_00694f00(&local_34,9); local_8 = 1; - iVar7 = (int)((ulonglong)((longlong)(local_30 - local_34) * 0xb60b60b7) >> 0x20); + iVar6 = (int)((ulonglong)((longlong)(local_30 - local_34) * 0xb60b60b7) >> 0x20); break; case 2: - uVar9 = 5; + uVar8 = 5; param_1 = (RNG *)0x3f800000; - uVar2 = RNG::RandomInt(this,4); - if (uVar2 == 0) { + uVar3 = RNG::RandomInt(this,4); + if (uVar3 == 0) { param_1 = (RNG *)0x3f800000; goto LAB_009e080a; } FUN_00694f00(&local_34,5); local_8 = 2; - iVar7 = (int)((ulonglong)((longlong)(local_30 - local_34) * 0xb60b60b7) >> 0x20); + iVar6 = (int)((ulonglong)((longlong)(local_30 - local_34) * 0xb60b60b7) >> 0x20); break; case 3: param_1 = (RNG *)0x3ca3d70a; - uVar9 = 4; + uVar8 = 4; goto LAB_009e080a; case 4: local_20 = 999; - uVar9 = RNG::RandomInt(this,4); - if (uVar9 == 0) { - RVar4 = *this; - uVar9 = 0; + uVar3 = RNG::RandomInt(this,4); + if (uVar3 == 0) { + uVar3 = this->_seed; + uVar8 = 0; do { - if (RVar4 == (RNG)0x0) { + if (uVar3 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar2); } - uVar3 = (uint)RVar4 >> (SUB41(this[1],0) & 0x1f) ^ (uint)RVar4; - uVar3 = uVar3 << (SUB41(this[2],0) & 0x1f) ^ uVar3; - RVar4 = (RNG)(uVar3 >> (SUB41(this[3],0) & 0x1f) ^ uVar3); - *this = RVar4; - pEVar5 = &g_manager->_entityConfig; - local_1c = (uint)RVar4 % 0x3de + 10; + uVar3 = uVar3 >> ((byte)this->_shift1 & 0x1f) ^ uVar3; + uVar3 = uVar3 << ((byte)this->_shift2 & 0x1f) ^ uVar3; + uVar3 = uVar3 >> ((byte)this->_shift3 & 0x1f) ^ uVar3; + this->_seed = uVar3; + pEVar4 = &g_manager->_entityConfig; + local_1c = uVar3 % 0x3de + 10; local_18 = local_1c * 0x100000; local_14 = local_18; _Find_lower_bound<>(&local_34,&local_14); if ((*(char *)((int)local_2c + 0xd) == '\0') && (*(uint *)((int)local_2c + 0x10) <= local_18)) { - pvVar6 = local_2c; - pvVar8 = (pEVar5->_entities)._head; + pvVar5 = local_2c; + pvVar7 = (pEVar4->_entities)._head; } else { - pvVar6 = (pEVar5->_entities)._head; - pvVar8 = pvVar6; + pvVar5 = (pEVar4->_entities)._head; + pvVar7 = pvVar5; } - iVar7 = (int)pvVar6 + 0x18; - if (pvVar6 == pvVar8) { - iVar7 = 0; + iVar6 = (int)pvVar5 + 0x18; + if (pvVar5 == pvVar7) { + iVar6 = 0; } - if ((iVar7 != 0) && (*(char *)(iVar7 + 0x2c) == '\0')) { - uVar10 = 0xffff; + if ((iVar6 != 0) && (*(char *)(iVar6 + 0x2c) == '\0')) { + uVar9 = 0xffff; param_1 = (RNG *)0x3ca3d70a; - uVar9 = local_1c & 0xffff; + uVar8 = local_1c & 0xffff; goto LAB_009e080a; } - uVar9 = uVar9 + 1; - } while (uVar9 < 100); - uVar10 = 0xffff; + uVar8 = uVar8 + 1; + } while (uVar8 < 100); + uVar9 = 0xffff; param_1 = (RNG *)0x3ca3d70a; - uVar9 = local_20; + uVar8 = local_20; } else { param_1 = (RNG *)0x3ca3d70a; - uVar9 = 999; - uVar10 = 0xffff; + uVar8 = 999; + uVar9 = 0xffff; } goto LAB_009e080a; case 5: FUN_00694f00(&local_40,1000); local_8 = 3; - uVar9 = RNG::RandomInt(this,(local_3c - local_40) / 0x168); - uVar10 = *(ushort *)(uVar9 * 0x168 + 4 + local_40); + uVar3 = RNG::RandomInt(this,(local_3c - local_40) / 0x168); + uVar9 = *(ushort *)(uVar3 * 0x168 + 4 + local_40); std::vector::_Tidy(); param_1 = (RNG *)0x3ca3d70a; - uVar9 = 1000; + uVar8 = 1000; goto LAB_009e080a; default: goto switchD_009e0787_default; } - uVar2 = RNG::RandomInt(this,(iVar7 >> 8) - (iVar7 >> 0x1f)); - uVar10 = *(ushort *)(uVar2 * 0x168 + 4 + local_34); + uVar3 = RNG::RandomInt(this,(iVar6 >> 8) - (iVar6 >> 0x1f)); + uVar9 = *(ushort *)(uVar3 * 0x168 + 4 + local_34); std::vector::_Tidy(); switchD_009e0787_default: LAB_009e080a: - *local_24 = uVar9 << 0x10 | (uint)uVar10; + *local_24 = uVar8 << 0x10 | (uint)uVar9; *local_28 = (float)param_1; uVar1 = CONCAT21((short)((uint)local_28 >> 0x10), ((float)param_1 == 0.0) << 6 | NAN((float)param_1) << 2 | 2U | @@ -915787,8 +917305,8 @@ int ProceduralEffect::roll_spawn_target(RNG *param_1) uint *in_ECX; int iVar8; float *in_EDX; - void *pvVar9; - RNG RVar10; + uint uVar9; + void *pvVar10; int iStack_38; int iStack_34; void *pvStack_30; @@ -915811,83 +917329,83 @@ int ProceduralEffect::roll_spawn_target(RNG *param_1) local_18 = 0; local_24 = 0; local_14 = 0.0; - RVar10 = *param_1; - if (RVar10 == (RNG)0x0) { + uVar4 = param_1->_seed; + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar3); } - uVar4 = (uint)RVar10 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar10; - uVar4 = uVar4 << (SUB41(param_1[2],0) & 0x1f) ^ uVar4; - RVar10 = (RNG)(uVar4 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar4); - *param_1 = RVar10; + uVar4 = uVar4 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)param_1->_shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar4; + param_1->_seed = uVar4; pMVar2 = g_manager; local_2c = in_EDX; local_28 = in_ECX; - if (((uint)RVar10 & 7) == 0) { + if ((uVar4 & 7) == 0) { local_20 = 10; do { - RVar10 = *param_1; - uVar4 = (pMVar2->_entityConfig)._entities._size; - if (RVar10 == (RNG)0x0) { + uVar4 = param_1->_seed; + uVar9 = (pMVar2->_entityConfig)._entities._size; + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar3); } - uVar5 = (uint)RVar10 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar10; - uVar5 = uVar5 << (SUB41(param_1[2],0) & 0x1f) ^ uVar5; - RVar10 = (RNG)(uVar5 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar5); - *param_1 = RVar10; - if (uVar4 == 0) { + uVar4 = uVar4 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)param_1->_shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar4; + param_1->_seed = uVar4; + if (uVar9 == 0) { uVar5 = *(uint *)(pMVar2->_entityConfig)._entities._head; } else { - uVar4 = (uint)RVar10 % uVar4; + uVar9 = uVar4 % uVar9; local_1c = *(uint *)(pMVar2->_entityConfig)._entities._head; uVar5 = local_1c; - if (uVar4 != 0) { + if (uVar9 != 0) { do { std:: _Tree_unchecked_const_iterator_>,std::_Iterator_base0> ::operator++((_Tree_unchecked_const_iterator_>,std::_Iterator_base0> *)&local_1c); - uVar4 = uVar4 - 1; - } while (uVar4 != 0); + uVar9 = uVar9 - 1; + } while (uVar9 != 0); uVar5 = local_1c; } } - uVar4 = *(uint *)(uVar5 + 0x18) & 0xffff; + uVar9 = *(uint *)(uVar5 + 0x18) & 0xffff; if ((*(uint *)(uVar5 + 0x18) != 1) && (*(char *)(uVar5 + 0x44) == '\0')) { local_24 = (uint)*(ushort *)(uVar5 + 0x1c); - local_18 = uVar4; - if (RVar10 == (RNG)0x0) { + local_18 = uVar9; + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar3); } - uVar4 = (uint)RVar10 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar10; - uVar4 = uVar4 << (SUB41(param_1[2],0) & 0x1f) ^ uVar4; - RVar10 = (RNG)(uVar4 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar4); - *param_1 = RVar10; - local_14 = (float)((double)(int)RVar10 + __uint_to_double_fixup[-((int)RVar10 >> 0x1f)]) * + uVar4 = uVar4 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)param_1->_shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar4; + param_1->_seed = uVar4; + local_14 = (float)((double)(int)uVar4 + __uint_to_double_fixup[-((int)uVar4 >> 0x1f)]) * 2.3283062e-10 + 0.1; } local_20 = local_20 + -1; } while (local_20 != 0); - uVar3 = local_24; + uVar4 = local_24; } else { - if (RVar10 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar3); } - uVar4 = (uint)RVar10 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar10; - uVar4 = uVar4 << (SUB41(param_1[2],0) & 0x1f) ^ uVar4; - RVar10 = (RNG)(uVar4 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar4); - *param_1 = RVar10; - switch((uint)RVar10 & 3) { + uVar4 = uVar4 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)param_1->_shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar4; + param_1->_seed = uVar4; + switch(uVar4 & 3) { case 0: FUN_00694f00(&iStack_38,2); uStack_8 = 0; - uVar3 = RNG::RandomInt(param_1,(iStack_34 - iStack_38) / 0x168); - uVar3 = (uint)*(ushort *)(uVar3 * 0x168 + 4 + iStack_38); + uVar4 = RNG::RandomInt(param_1,(iStack_34 - iStack_38) / 0x168); + uVar4 = (uint)*(ushort *)(uVar4 * 0x168 + 4 + iStack_38); std::vector::_Tidy(); local_14 = 0.01; local_18 = 2; @@ -915895,72 +917413,72 @@ int ProceduralEffect::roll_spawn_target(RNG *param_1) case 1: local_14 = 1.0; local_18 = 5; - uVar3 = 0; - uVar4 = RNG::RandomInt(param_1,4); - if (uVar4 == 0) { + uVar4 = 0; + uVar3 = RNG::RandomInt(param_1,4); + if (uVar3 == 0) { local_14 = 1.0; local_18 = 5; } else { FUN_00694f00(&iStack_38,5); uStack_8 = 1; - uVar3 = RNG::RandomInt(param_1,(iStack_34 - iStack_38) / 0x168); - uVar3 = (uint)*(ushort *)(uVar3 * 0x168 + 4 + iStack_38); + uVar4 = RNG::RandomInt(param_1,(iStack_34 - iStack_38) / 0x168); + uVar4 = (uint)*(ushort *)(uVar4 * 0x168 + 4 + iStack_38); std::vector::_Tidy(); } break; case 2: FUN_00694f00(&iStack_38,4); uStack_8 = 2; - uVar3 = RNG::RandomInt(param_1,(iStack_34 - iStack_38) / 0x168); - uVar3 = (uint)*(ushort *)(uVar3 * 0x168 + 4 + iStack_38); + uVar4 = RNG::RandomInt(param_1,(iStack_34 - iStack_38) / 0x168); + uVar4 = (uint)*(ushort *)(uVar4 * 0x168 + 4 + iStack_38); std::vector::_Tidy(); local_14 = 0.02; local_18 = 4; break; case 3: - uVar4 = 0; + uVar9 = 0; local_18 = 10; local_14 = 0.02; do { - if (RVar10 == (RNG)0x0) { + if (uVar4 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n",uVar3); } - uVar5 = (uint)RVar10 >> (SUB41(param_1[1],0) & 0x1f) ^ (uint)RVar10; - uVar5 = uVar5 << (SUB41(param_1[2],0) & 0x1f) ^ uVar5; - RVar10 = (RNG)(uVar5 >> (SUB41(param_1[3],0) & 0x1f) ^ uVar5); - *param_1 = RVar10; + uVar4 = uVar4 >> ((byte)param_1->_shift1 & 0x1f) ^ uVar4; + uVar4 = uVar4 << ((byte)param_1->_shift2 & 0x1f) ^ uVar4; + uVar4 = uVar4 >> ((byte)param_1->_shift3 & 0x1f) ^ uVar4; + param_1->_seed = uVar4; pEVar6 = &g_manager->_entityConfig; - local_1c = (uint)RVar10 % 0x3de + 10; + local_1c = uVar4 % 0x3de + 10; local_24 = local_1c * 0x100000; local_20 = local_24; _Find_lower_bound<>(&iStack_38,&local_24); if ((*(char *)((int)pvStack_30 + 0xd) == '\0') && (*(uint *)((int)pvStack_30 + 0x10) <= local_20)) { pvVar7 = pvStack_30; - pvVar9 = (pEVar6->_entities)._head; + pvVar10 = (pEVar6->_entities)._head; } else { pvVar7 = (pEVar6->_entities)._head; - pvVar9 = pvVar7; + pvVar10 = pvVar7; } iVar8 = (int)pvVar7 + 0x18; - if (pvVar7 == pvVar9) { + if (pvVar7 == pvVar10) { iVar8 = 0; } if ((iVar8 != 0) && (*(char *)(iVar8 + 0x2c) == '\0')) { - uVar3 = 0; + uVar4 = 0; local_18 = local_1c & 0xffff; goto LAB_009e0eea; } - uVar4 = uVar4 + 1; - } while (uVar4 < 10); - uVar3 = 0; + uVar9 = uVar9 + 1; + } while (uVar9 < 10); + uVar4 = 0; } } LAB_009e0eea: - *local_28 = local_18 << 0x10 | uVar3 & 0xffff; + *local_28 = local_18 << 0x10 | uVar4 & 0xffff; *local_2c = local_14; uVar1 = CONCAT21((short)((uint)local_2c >> 0x10), (local_14 == 0.0) << 6 | NAN(local_14) << 2 | 2U | local_14 < 0.0); @@ -915978,7 +917496,7 @@ LAB_009e0eea: /* DB: ? called from ItemPool::CreateGlitchedCollectible(x, kind, seed); stores first arg at this+0, switch on kind rolls RNG::RandomInt/RandomFloat, ItemConfig::GetCollectible, BitSet128 masks */ -void ProceduralEffect::roll_params(float param_1,float param_2,RNG param_3) +void ProceduralEffect::roll_params(float param_1,float param_2,float param_3) { int iVar1; @@ -915991,10 +917509,9 @@ void ProceduralEffect::roll_params(float param_1,float param_2,RNG param_3) float *in_ECX; uint uVar8; uint uVar9; - RNG RVar10; + float fVar10; float fVar11; float fVar12; - float fVar13; float local_74; float local_70; float local_6c; @@ -916008,8 +917525,6 @@ void ProceduralEffect::roll_params(float param_1,float param_2,RNG param_3) float local_4c; undefined1 local_48 [20]; RNG local_34; - undefined8 local_30; - undefined4 local_28; float local_24; float local_20; float local_1c; @@ -916018,13 +917533,14 @@ void ProceduralEffect::roll_params(float param_1,float param_2,RNG param_3) float local_10; float local_c; - RVar10 = param_3; - local_34 = param_3; - local_30 = 0x30000000d; + fVar10 = param_3; + local_34._seed = (int)param_3; + local_34._shift1 = 0xd; + local_34._shift2 = 3; *in_ECX = param_1; in_ECX[1] = param_2; - *(RNG *)(in_ECX + 2) = param_3; - local_28 = 0x11; + in_ECX[2] = param_3; + local_34._shift3 = 0x11; in_ECX[0x18] = 0.0; in_ECX[4] = 0.0; in_ECX[5] = 0.0; @@ -916039,90 +917555,91 @@ void ProceduralEffect::roll_params(float param_1,float param_2,RNG param_3) switch(param_2) { case 0.0: uVar7 = RNG::RandomInt(&local_34, - *(int *)&g_game->field_0x67778 - *(int *)&g_game->field_0x67774 >> 2); - iVar1 = *(int *)(*(int *)&pGVar2->field_0x67774 + uVar7 * 4); + *(int *)&(g_game->_proceduralItemManager).field_0x20 - + *(int *)&(g_game->_proceduralItemManager).field_0x1c >> 2); + iVar1 = *(int *)(*(int *)&(pGVar2->_proceduralItemManager).field_0x1c + uVar7 * 4); if (*(int *)(iVar1 + 0xac) == 1) { - fVar11 = (float)*(int *)(iVar1 + 0xc0); + fVar10 = (float)*(int *)(iVar1 + 0xc0); LAB_009e1045: - in_ECX[0x18] = fVar11; + in_ECX[0x18] = fVar10; } else if (*(int *)(iVar1 + 0xac) == 0) { - fVar11 = (float)*(int *)(iVar1 + 0x74) * 0.5 + 1.0; + fVar10 = (float)*(int *)(iVar1 + 0x74) * 0.5 + 1.0; goto LAB_009e1045; } - fVar11 = *(float *)(iVar1 + 4); - if (fVar11 == 9.86514e-43) { + fVar10 = *(float *)(iVar1 + 4); + if (fVar10 == 9.86514e-43) { in_ECX[0x18] = in_ECX[0x18] + 6.0; - fVar11 = *(float *)(iVar1 + 4); + fVar10 = *(float *)(iVar1 + 4); } - in_ECX[4] = fVar11; + in_ECX[4] = fVar10; break; case 1.4013e-45: - param_3 = (RNG)0x0; + param_3 = 0.0; do { uVar7 = (int)(g_manager->_itemConfig)._collectibles._end - (int)(g_manager->_itemConfig)._collectibles._begin >> 2; - if (RVar10 == (RNG)0x0) { + if (fVar10 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar9 = (uint)local_34 >> ((byte)local_30 & 0x1f) ^ (uint)local_34; - uVar9 = uVar9 << ((byte)((ulonglong)local_30 >> 0x20) & 0x1f) ^ uVar9; - RVar10 = (RNG)(uVar9 >> ((byte)local_28 & 0x1f) ^ uVar9); + uVar9 = (uint)local_34._seed >> ((byte)local_34._shift1 & 0x1f) ^ local_34._seed; + uVar9 = uVar9 << ((byte)local_34._shift2 & 0x1f) ^ uVar9; + fVar10 = (float)(uVar9 >> ((byte)local_34._shift3 & 0x1f) ^ uVar9); fVar11 = 0.0; if (uVar7 != 0) { - fVar11 = (float)((uint)RVar10 % uVar7); + fVar11 = (float)((uint)fVar10 % uVar7); } - local_34 = RVar10; + local_34._seed = (int)fVar10; pIVar3 = ItemConfig::GetCollectible(&g_manager->_itemConfig,(int)fVar11); if (pIVar3 != (ItemConfig_Item *)0x0) { in_ECX[4] = fVar11; in_ECX[0x18] = 1.0; break; } - param_3 = (RNG)((int)param_3 + 1); + param_3 = (float)((int)param_3 + 1); } while ((int)param_3 < 10); break; case 2.8026e-45: in_ECX[6] = 1000.0; roll_trigger_target(&local_34); roll_spawn_target(&local_34); - if (0.0 < (float)param_3) { - in_ECX[0x18] = param_1 / (float)param_3; + if (0.0 < param_3) { + in_ECX[0x18] = param_1 / param_3; } else { in_ECX[0x18] = 10000.0; } break; case 4.2039e-45: + fVar10 = RNG::RandomFloat(&local_34); fVar11 = RNG::RandomFloat(&local_34); fVar12 = RNG::RandomFloat(&local_34); - fVar13 = RNG::RandomFloat(&local_34); - in_ECX[6] = fVar13 * fVar12 * fVar11 * 8000.0 + 30.0; + in_ECX[6] = fVar12 * fVar11 * fVar10 * 8000.0 + 30.0; + fVar10 = RNG::RandomFloat(&local_34); fVar11 = RNG::RandomFloat(&local_34); - fVar12 = RNG::RandomFloat(&local_34); - fVar11 = fVar12 * (fVar11 - 0.2) * 80.0; - if (fVar11 <= 0.0) { - fVar11 = 0.0; + fVar10 = fVar11 * (fVar10 - 0.2) * 80.0; + if (fVar10 <= 0.0) { + fVar10 = 0.0; } - in_ECX[7] = fVar11; - in_ECX[0x18] = fVar11 * 0.1; - if ((fVar11 < 0.0) || (uVar7 = RNG::RandomInt(&local_34,3), uVar7 == 0)) { + in_ECX[7] = fVar10; + in_ECX[0x18] = fVar10 * 0.1; + if ((fVar10 < 0.0) || (uVar7 = RNG::RandomInt(&local_34,3), uVar7 == 0)) { uVar7 = 100; if (in_ECX[7] <= 5.0 && in_ECX[7] != 5.0) { uVar7 = 0x14; } uVar9 = 0; - RVar10 = local_34; + fVar10 = (float)local_34._seed; do { - if (RVar10 == (RNG)0x0) { + if (fVar10 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar4 = (uint)RVar10 >> ((byte)local_30 & 0x1f) ^ (uint)RVar10; - uVar4 = uVar4 << ((byte)((ulonglong)local_30 >> 0x20) & 0x1f) ^ uVar4; - RVar10 = (RNG)(uVar4 >> ((byte)local_28 & 0x1f) ^ uVar4); - if ((uint)RVar10 % uVar7 == 0) { + uVar4 = (uint)fVar10 >> ((byte)local_34._shift1 & 0x1f) ^ (uint)fVar10; + uVar4 = uVar4 << ((byte)local_34._shift2 & 0x1f) ^ uVar4; + fVar10 = (float)(uVar4 >> ((byte)local_34._shift3 & 0x1f) ^ uVar4); + if ((uint)fVar10 % uVar7 == 0) { if (uVar9 < 0x40) { uVar4 = 1 << (uVar9 & 0x1f); uVar5 = 0; @@ -916154,7 +917671,7 @@ LAB_009e1045: } uVar9 = uVar9 + 1; } while (uVar9 < 0x80); - local_34 = RVar10; + local_34._seed = (int)fVar10; puVar6 = (uint *)BitSet128::__bnot(local_48); in_ECX[8] = (float)((uint)in_ECX[8] & *puVar6); in_ECX[9] = (float)((uint)in_ECX[9] & puVar6[1]); @@ -916167,12 +917684,12 @@ LAB_009e1045: in_ECX[0x18] = param_2 * 100.0; break; case 7.00649e-45: + fVar10 = RNG::RandomFloat(&local_34); fVar11 = RNG::RandomFloat(&local_34); - fVar12 = RNG::RandomFloat(&local_34); in_ECX[0x18] = 1.0; - in_ECX[7] = fVar12 * 10.0 + fVar11 * 10.0 + 5.0; - fVar11 = (float)RNG::RandomInt(&local_34,10); - in_ECX[4] = fVar11; + in_ECX[7] = fVar11 * 10.0 + fVar10 * 10.0 + 5.0; + fVar10 = (float)RNG::RandomInt(&local_34,10); + in_ECX[4] = fVar10; uVar7 = RNG::RandomInt(&local_34,4); if (uVar7 == 0) { local_20 = RNG::RandomFloat(&local_34); @@ -916181,9 +917698,9 @@ LAB_009e1045: local_14 = RNG::RandomFloat(&local_34); local_10 = RNG::RandomFloat(&local_34); local_c = RNG::RandomFloat(&local_34); + fVar10 = RNG::RandomFloat(&local_34); fVar11 = RNG::RandomFloat(&local_34); fVar12 = RNG::RandomFloat(&local_34); - fVar13 = RNG::RandomFloat(&local_34); local_74 = RNG::RandomFloat(&local_34); local_60 = local_c; local_5c = local_10; @@ -916192,9 +917709,9 @@ LAB_009e1045: local_50 = local_1c; local_68 = 0x3f800000; local_4c = local_20; - local_70 = fVar13; - local_6c = fVar12; - local_64 = fVar11; + local_70 = fVar12; + local_6c = fVar11; + local_64 = fVar10; Color::operator_assign(&local_74); } } @@ -916233,16 +917750,13 @@ trigger_effect_execute(Entity_Player *param_1,EntityRef *param_2,EntityRef *para uint uVar12; uint extraout_ECX; uint extraout_ECX_00; - RNG RVar13; RNG *this; + float fVar13; float fVar14; - float fVar15; EntityRef local_90; undefined4 local_68; undefined4 local_64; RNG local_60; - undefined8 local_5c; - uint local_54; undefined8 local_50; int *local_48; uint local_44; @@ -916281,10 +917795,10 @@ trigger_effect_execute(Entity_Player *param_1,EntityRef *param_2,EntityRef *para if (uVar12 == 0xffff) { uVar12 = 0xffffffff; } - if (((param_2 != (EntityRef *)0x0) && (fVar15 = (float)param_2[1]._type, fVar15 == local_30)) && + if (((param_2 != (EntityRef *)0x0) && (fVar14 = (float)param_2[1]._type, fVar14 == local_30)) && ((uVar12 == 0xffffffff || (param_2[1]._variant == uVar12)))) { - if (((fVar15 == 2.8026e-45) || (fVar15 == 1.26117e-44)) || - (puVar6 = (undefined1 *)((int)register0x00000010 + -4), fVar15 == 1.4013e-42)) { + if (((fVar14 == 2.8026e-45) || (fVar14 == 1.26117e-44)) || + (puVar6 = (undefined1 *)((int)register0x00000010 + -4), fVar14 == 1.4013e-42)) { local_30 = RNG::RandomFloat(this); puVar6 = puStack_20; if ((float)in_ECX[0xc] * 0.05 <= local_30) goto switchD_009e1729_default; @@ -916296,45 +917810,45 @@ trigger_effect_execute(Entity_Player *param_1,EntityRef *param_2,EntityRef *para LAB_009e15a5: puStack_20 = puVar6; if (*in_ECX == 1) { - RVar13 = *this; - if (RVar13 == (RNG)0x0) { + uVar12 = this->_seed; + if (uVar12 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = (uint)RVar13 >> (SUB41(this[1],0) & 0x1f) ^ (uint)RVar13; - uVar12 = uVar12 ^ uVar12 << (SUB41(this[2],0) & 0x1f); - RVar13 = (RNG)(uVar12 ^ uVar12 >> (SUB41(this[3],0) & 0x1f)); - *this = RVar13; + uVar12 = uVar12 >> ((byte)this->_shift1 & 0x1f) ^ uVar12; + uVar12 = uVar12 ^ uVar12 << ((byte)this->_shift2 & 0x1f); + uVar12 = uVar12 ^ uVar12 >> ((byte)this->_shift3 & 0x1f); + this->_seed = uVar12; if ((float)in_ECX[0xc] * 0.05 <= - (float)((double)(int)RVar13 + __uint_to_double_fixup[-((int)RVar13 >> 0x1f)]) * + (float)((double)(int)uVar12 + __uint_to_double_fixup[-((int)uVar12 >> 0x1f)]) * 2.3283062e-10) goto switchD_009e1729_default; } if (*in_ECX == 2) { - RVar13 = *this; - if (RVar13 == (RNG)0x0) { + uVar12 = this->_seed; + if (uVar12 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = (uint)RVar13 >> (SUB41(this[1],0) & 0x1f) ^ (uint)RVar13; - uVar12 = uVar12 ^ uVar12 << (SUB41(this[2],0) & 0x1f); - RVar13 = (RNG)(uVar12 ^ uVar12 >> (SUB41(this[3],0) & 0x1f)); - *this = RVar13; + uVar12 = uVar12 >> ((byte)this->_shift1 & 0x1f) ^ uVar12; + uVar12 = uVar12 ^ uVar12 << ((byte)this->_shift2 & 0x1f); + uVar12 = uVar12 ^ uVar12 >> ((byte)this->_shift3 & 0x1f); + this->_seed = uVar12; if ((float)in_ECX[0xc] * 0.05 <= - (float)((double)(int)RVar13 + __uint_to_double_fixup[-((int)RVar13 >> 0x1f)]) * + (float)((double)(int)uVar12 + __uint_to_double_fixup[-((int)uVar12 >> 0x1f)]) * 2.3283062e-10) goto switchD_009e1729_default; } if (*in_ECX == 3) { - RVar13 = *this; - if (RVar13 == (RNG)0x0) { + uVar12 = this->_seed; + if (uVar12 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = (uint)RVar13 >> (SUB41(this[1],0) & 0x1f) ^ (uint)RVar13; - uVar12 = uVar12 ^ uVar12 << (SUB41(this[2],0) & 0x1f); - RVar13 = (RNG)(uVar12 ^ uVar12 >> (SUB41(this[3],0) & 0x1f)); - *this = RVar13; + uVar12 = uVar12 >> ((byte)this->_shift1 & 0x1f) ^ uVar12; + uVar12 = uVar12 ^ uVar12 << ((byte)this->_shift2 & 0x1f); + uVar12 = uVar12 ^ uVar12 >> ((byte)this->_shift3 & 0x1f); + this->_seed = uVar12; if ((float)in_ECX[0xc] * 0.2 <= - (float)((double)(int)RVar13 + __uint_to_double_fixup[-((int)RVar13 >> 0x1f)]) * + (float)((double)(int)uVar12 + __uint_to_double_fixup[-((int)uVar12 >> 0x1f)]) * 2.3283062e-10) goto switchD_009e1729_default; } switch(in_ECX[1]) { @@ -916373,27 +917887,27 @@ LAB_009e15a5: ))) goto LAB_009e197e; } piVar10 = *(int **)(*(int *)((int)local_38 + 0x125c) + local_34 * 4); - fVar15 = (float)param_3->_variant - (float)piVar10[0xd0]; - fVar14 = (float)param_3->_type - (float)piVar10[0xcf]; - if (fVar15 * fVar15 + fVar14 * fVar14 <= (float)in_ECX[6] * (float)in_ECX[6]) { + fVar14 = (float)param_3->_variant - (float)piVar10[0xd0]; + fVar13 = (float)param_3->_type - (float)piVar10[0xcf]; + if (fVar14 * fVar14 + fVar13 * fVar13 <= (float)in_ECX[6] * (float)in_ECX[6]) { (**(code **)(*piVar10 + 0x28))(); - RVar13 = *this; - if (RVar13 == (RNG)0x0) { + uVar12 = this->_seed; + if (uVar12 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar12 = (uint)RVar13 >> (SUB41(this[1],0) & 0x1f) ^ (uint)RVar13; - uVar12 = uVar12 << (SUB41(this[2],0) & 0x1f) ^ uVar12; - RVar13 = (RNG)(uVar12 >> (SUB41(local_2c[3],0) & 0x1f) ^ uVar12); - *local_2c = RVar13; + uVar12 = uVar12 >> ((byte)this->_shift1 & 0x1f) ^ uVar12; + uVar12 = uVar12 << ((byte)this->_shift2 & 0x1f) ^ uVar12; + uVar12 = uVar12 >> ((byte)local_2c->_shift3 & 0x1f) ^ uVar12; + local_2c->_seed = uVar12; iVar2 = *(int *)(*(int *)((int)local_38 + 0x125c) + local_34 * 4); local_68 = *(undefined4 *)(iVar2 + 0x360); local_64 = *(undefined4 *)(iVar2 + 0x364); iVar2 = *(int *)(*(int *)((int)local_38 + 0x125c) + local_34 * 4); - local_54 = *(uint *)(iVar2 + 0x340); - local_5c = CONCAT44(*(undefined4 *)(iVar2 + 0x33c),(int)local_5c); - piVar10 = (int *)Game::Spawn(local_40,local_50._4_4_,(int)&local_5c + 4,&local_68, - param_1,0,RVar13); + local_60._shift3 = *(uint *)(iVar2 + 0x340); + local_60._shift2 = *(int *)(iVar2 + 0x33c); + piVar10 = (int *)Game::Spawn(local_40,local_50._4_4_,&local_60._shift2,&local_68,param_1 + ,0,uVar12); if (piVar10 == (int *)0x0) { this = local_2c; } @@ -916421,7 +917935,7 @@ LAB_009e197e: local_14 = 0; local_38 = (void *)0x0; uVar9 = extraout_ECX; - if (local_54 != 0) { + if (local_60._shift3 != 0) { do { pvVar5 = local_38; local_40 = (float)in_ECX[7]; @@ -916430,7 +917944,7 @@ LAB_009e197e: get_tear_flags_from_player (uVar9,in_ECX[8],in_ECX[9],in_ECX[10],in_ECX[0xb],param_3,param_2); } - pcVar3 = *(code **)(**(int **)((int)local_5c + (int)pvVar5 * 4) + 0x20); + pcVar3 = *(code **)(**(int **)(local_60._shift1 + (int)pvVar5 * 4) + 0x20); EntityRef::constructor(&local_90,(Entity *)param_1); param_3 = &local_90; cVar7 = (*pcVar3)(local_40,(undefined4)local_50,local_50._4_4_,param_3,0x1e); @@ -916444,14 +917958,14 @@ LAB_009e197e: if ((local_48[8] != 0 || local_48[9] != 0) || (local_48[10] != 0 || local_48[0xb] != 0)) { param_3 = param_2; Entity_Tear::ApplyTearFlagEffects - (*(Entity_Tear **)((int)local_5c + (int)local_38 * 4),local_48[8],local_48[9], - local_48[10],local_48[0xb],param_2,local_48[7]); + (*(Entity_Tear **)(local_60._shift1 + (int)local_38 * 4),local_48[8],local_48[9] + ,local_48[10],local_48[0xb],param_2,local_48[7]); uVar9 = extraout_ECX_00; } local_38 = (void *)((int)pvVar5 + 1); - } while (local_38 < local_54); + } while (local_38 < (uint)local_60._shift3); } - if (local_60._0_1_ == '\0') { + if ((char)local_60._seed == '\0') { local_14 = 1; tracked_alloc(0,0); } @@ -916462,15 +917976,16 @@ LAB_009e197e: local_44 = (uint)local_30 >> 0x10; if (local_44 != 0) { uVar9 = RNG::Next(this); - local_54 = 7; + local_60._shift3 = 7; local_40 = *param_4; local_48 = (int *)param_4[1]; - local_60 = *(RNG *)(in_ECX + 2); - local_5c = 0x900000005; - fVar15 = RNG::RandomFloat(&local_60); - local_50 = CONCAT44(fVar15,(undefined4)local_50); - local_3c = local_40 * 8.0 * fVar15; - local_38 = (void *)((float)local_48 * 8.0 * fVar15); + local_60._seed = in_ECX[2]; + local_60._shift1 = 5; + local_60._shift2 = 9; + fVar14 = RNG::RandomFloat(&local_60); + local_50 = CONCAT44(fVar14,(undefined4)local_50); + local_3c = local_40 * 8.0 * fVar14; + local_38 = (void *)((float)local_48 * 8.0 * fVar14); pEVar11 = (Entity *) Game::Spawn(local_44,(uint)local_30 & 0xffff,param_3,&local_3c,param_1,0,uVar9); if (pEVar11 != (Entity *)0x0) { @@ -917426,9 +918941,13 @@ void RebirthSaveData::Clear(void) } -//@@ 009e4af0 FUN_009e4af0 +//@@ 009e4af0 RebirthSaveData::repair_counters -void FUN_009e4af0(void) +/* DB: ? thiscall, only call at end of the Rebirth save parser (0x9e4613, reached from + PersistentGameData::TryImportRebirthLocalSave); for each set flag/count (+0x3c, +0xf0.., + +0x148..+0x150) clamps a counter in +0x454..+0x498 to >=1 and +0x454 to >=1 */ + +void RebirthSaveData::repair_counters(void) { int iVar1; @@ -920009,12 +921528,15 @@ __int64 FUN_009e7870(char *param_1,uint param_2,int param_3) } -//@@ 009e79b0 FUN_009e79b0 +//@@ 009e79b0 std::basic_filebuf::uflow /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ /* WARNING: Type propagation algorithm not settling */ +/* DB: slot 7 of the std::basic_filebuf vftable (MSVC order + dtor,_Lock,_Unlock,overflow,pbackfail,showmanyc,underflow,uflow); std::string buffer for codecvt, + memcpy/memmove */ -uint FUN_009e79b0(void) +uint std::basic_filebuf::uflow(void) { uint uVar1; @@ -920093,7 +921615,7 @@ joined_r0x009e7a8a: else { if (_Size == 0x7fffffff) { /* WARNING: Subroutine does not return */ - std::string::_Xlen(uVar4); + string::_Xlen(uVar4); } uVar5 = _Size + 1 | 0xf; if (uVar5 < 0x80000000) { @@ -920110,7 +921632,7 @@ joined_r0x009e7a8a: else { uVar5 = 0x7fffffff; } - pppppppcVar6 = (char *******)std::_Allocate(); + pppppppcVar6 = (char *******)_Allocate(); pppppppcVar8 = local_2c[0]; local_1c = _Size + 1; local_18 = uVar5; @@ -921349,7 +922871,7 @@ void FUN_009e8e90(void) /* WARNING: Subroutine does not return */ _CxxThrowException(local_14,(ThrowInfo *)&DAT_00bd5cc0); } - FUN_00a63ba0(); + png_write_row(); return; } @@ -921401,7 +922923,7 @@ void PngWriter::write_info(void) } } } - png_write_info_before_PLTE(); + png_write_info(); return; } @@ -921682,9 +923204,9 @@ void __thiscall Seeds::construct_from_copy(Seeds *this,Seeds *right) { void **this_00; - undefined4 uVar1; - undefined4 uVar2; - undefined4 uVar3; + int iVar1; + int iVar2; + int iVar3; uint uVar4; void *pvVar5; void *local_10; @@ -921697,9 +923219,10 @@ void __thiscall Seeds::construct_from_copy(Seeds *this,Seeds *right) uVar4 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; this_00 = &this->_seedEffects; - *(undefined8 *)&this->field_0xc = 0x900000005; - this->_rng = (RNG)0xaa17414f; - *(undefined4 *)&this->field_0x14 = 7; + (this->_rng)._shift1 = 5; + (this->_rng)._shift2 = 9; + (this->_rng)._seed = -0x55e8beb1; + (this->_rng)._shift3 = 7; *this_00 = (void *)0x0; this->_seedEffectsCount = 0; pvVar5 = (void *)operator_new(0x14,uVar4); @@ -921723,35 +923246,35 @@ void __thiscall Seeds::construct_from_copy(Seeds *this,Seeds *right) this->_seedEffectsCount = 0; std_set_uint_copy(&right->_seedEffects,right); } - uVar1 = *(undefined4 *)&right->field_0xc; - uVar2 = *(undefined4 *)&right->field_0x10; - uVar3 = *(undefined4 *)&right->field_0x14; - this->_rng = right->_rng; - *(undefined4 *)&this->field_0xc = uVar1; - *(undefined4 *)&this->field_0x10 = uVar2; - *(undefined4 *)&this->field_0x14 = uVar3; - uVar1 = *(undefined4 *)&right->field_0x1c; - uVar2 = *(undefined4 *)&right->field_0x20; - uVar3 = *(undefined4 *)&right->field_0x24; - *(undefined4 *)&this->field_0x18 = *(undefined4 *)&right->field_0x18; - *(undefined4 *)&this->field_0x1c = uVar1; - *(undefined4 *)&this->field_0x20 = uVar2; - *(undefined4 *)&this->field_0x24 = uVar3; - uVar1 = *(undefined4 *)&right->field_0x2c; - uVar2 = *(undefined4 *)&right->field_0x30; - uVar3 = *(undefined4 *)&right->field_0x34; - *(undefined4 *)&this->field_0x28 = *(undefined4 *)&right->field_0x28; - *(undefined4 *)&this->field_0x2c = uVar1; - *(undefined4 *)&this->field_0x30 = uVar2; - *(undefined4 *)&this->field_0x34 = uVar3; - uVar1 = *(undefined4 *)&right->field_0x3c; - uVar2 = *(undefined4 *)&right->field_0x40; - uVar3 = *(undefined4 *)&right->field_0x44; - *(undefined4 *)&this->field_0x38 = *(undefined4 *)&right->field_0x38; - *(undefined4 *)&this->field_0x3c = uVar1; - *(undefined4 *)&this->field_0x40 = uVar2; - *(undefined4 *)&this->field_0x44 = uVar3; - *(undefined8 *)&this->field_0x48 = *(undefined8 *)&right->field_0x48; + iVar1 = (right->_rng)._shift1; + iVar2 = (right->_rng)._shift2; + iVar3 = (right->_rng)._shift3; + (this->_rng)._seed = (right->_rng)._seed; + (this->_rng)._shift1 = iVar1; + (this->_rng)._shift2 = iVar2; + (this->_rng)._shift3 = iVar3; + iVar1 = right->_stageSeeds[1]; + iVar2 = right->_stageSeeds[2]; + iVar3 = right->_stageSeeds[3]; + this->_stageSeeds[0] = right->_stageSeeds[0]; + this->_stageSeeds[1] = iVar1; + this->_stageSeeds[2] = iVar2; + this->_stageSeeds[3] = iVar3; + iVar1 = right->_stageSeeds[5]; + iVar2 = right->_stageSeeds[6]; + iVar3 = right->_stageSeeds[7]; + this->_stageSeeds[4] = right->_stageSeeds[4]; + this->_stageSeeds[5] = iVar1; + this->_stageSeeds[6] = iVar2; + this->_stageSeeds[7] = iVar3; + iVar1 = right->_stageSeeds[9]; + iVar2 = right->_stageSeeds[10]; + iVar3 = right->_stageSeeds[0xb]; + this->_stageSeeds[8] = right->_stageSeeds[8]; + this->_stageSeeds[9] = iVar1; + this->_stageSeeds[10] = iVar2; + this->_stageSeeds[0xb] = iVar3; + *(undefined8 *)(this->_stageSeeds + 0xc) = *(undefined8 *)(right->_stageSeeds + 0xc); ExceptionList = local_10; return; } @@ -921763,63 +923286,62 @@ void __thiscall Seeds::construct_from_copy(Seeds *this,Seeds *right) rebuilds the _seedEffects set at +0x54 (copy via FUN_00709280); Game::store_game_state calls it right after Seeds::construct_from_copy */ -void Seeds::operator_assign(undefined1 *param_1) +Seeds * __thiscall Seeds::operator_assign(Seeds *this,Seeds *param_2) { - int *this; - int iVar1; - undefined4 uVar2; - undefined4 uVar3; - undefined4 uVar4; - undefined1 *in_ECX; + void **this_00; + void *pvVar1; + int iVar2; + int iVar3; + int iVar4; - if (in_ECX != param_1) { - *in_ECX = *param_1; - *(undefined4 *)(in_ECX + 4) = *(undefined4 *)(param_1 + 4); - *(undefined4 *)(in_ECX + 0x50) = *(undefined4 *)(param_1 + 0x50); - this = (int *)(in_ECX + 0x54); - if (this != (int *)(param_1 + 0x54)) { - iVar1 = *this; + if (this != param_2) { + this->_isCustomRun = param_2->_isCustomRun; + this->_gameStartSeed = param_2->_gameStartSeed; + this->_playerInitSeed = param_2->_playerInitSeed; + this_00 = &this->_seedEffects; + if (this_00 != ¶m_2->_seedEffects) { + pvVar1 = *this_00; FID_conflict__Erase_tree_>_> - (this,(fuzzer_allocator_> *)this, - *(_Tree_node **)(iVar1 + 4)); - *(int *)(iVar1 + 4) = iVar1; - *(int *)iVar1 = iVar1; - *(int *)(iVar1 + 8) = iVar1; - *(undefined4 *)(in_ECX + 0x58) = 0; - std_set_uint_copy(param_1 + 0x54,param_1); + (this_00,(fuzzer_allocator_> *)this_00, + *(_Tree_node **)((int)pvVar1 + 4)); + *(void **)((int)pvVar1 + 4) = pvVar1; + *(void **)pvVar1 = pvVar1; + *(void **)((int)pvVar1 + 8) = pvVar1; + this->_seedEffectsCount = 0; + std_set_uint_copy(¶m_2->_seedEffects,param_2); } - uVar2 = *(undefined4 *)(param_1 + 0xc); - uVar3 = *(undefined4 *)(param_1 + 0x10); - uVar4 = *(undefined4 *)(param_1 + 0x14); - *(undefined4 *)(in_ECX + 8) = *(undefined4 *)(param_1 + 8); - *(undefined4 *)(in_ECX + 0xc) = uVar2; - *(undefined4 *)(in_ECX + 0x10) = uVar3; - *(undefined4 *)(in_ECX + 0x14) = uVar4; - uVar2 = *(undefined4 *)(param_1 + 0x1c); - uVar3 = *(undefined4 *)(param_1 + 0x20); - uVar4 = *(undefined4 *)(param_1 + 0x24); - *(undefined4 *)(in_ECX + 0x18) = *(undefined4 *)(param_1 + 0x18); - *(undefined4 *)(in_ECX + 0x1c) = uVar2; - *(undefined4 *)(in_ECX + 0x20) = uVar3; - *(undefined4 *)(in_ECX + 0x24) = uVar4; - uVar2 = *(undefined4 *)(param_1 + 0x2c); - uVar3 = *(undefined4 *)(param_1 + 0x30); - uVar4 = *(undefined4 *)(param_1 + 0x34); - *(undefined4 *)(in_ECX + 0x28) = *(undefined4 *)(param_1 + 0x28); - *(undefined4 *)(in_ECX + 0x2c) = uVar2; - *(undefined4 *)(in_ECX + 0x30) = uVar3; - *(undefined4 *)(in_ECX + 0x34) = uVar4; - uVar2 = *(undefined4 *)(param_1 + 0x3c); - uVar3 = *(undefined4 *)(param_1 + 0x40); - uVar4 = *(undefined4 *)(param_1 + 0x44); - *(undefined4 *)(in_ECX + 0x38) = *(undefined4 *)(param_1 + 0x38); - *(undefined4 *)(in_ECX + 0x3c) = uVar2; - *(undefined4 *)(in_ECX + 0x40) = uVar3; - *(undefined4 *)(in_ECX + 0x44) = uVar4; - *(undefined8 *)(in_ECX + 0x48) = *(undefined8 *)(param_1 + 0x48); + iVar2 = (param_2->_rng)._shift1; + iVar3 = (param_2->_rng)._shift2; + iVar4 = (param_2->_rng)._shift3; + (this->_rng)._seed = (param_2->_rng)._seed; + (this->_rng)._shift1 = iVar2; + (this->_rng)._shift2 = iVar3; + (this->_rng)._shift3 = iVar4; + iVar2 = param_2->_stageSeeds[1]; + iVar3 = param_2->_stageSeeds[2]; + iVar4 = param_2->_stageSeeds[3]; + this->_stageSeeds[0] = param_2->_stageSeeds[0]; + this->_stageSeeds[1] = iVar2; + this->_stageSeeds[2] = iVar3; + this->_stageSeeds[3] = iVar4; + iVar2 = param_2->_stageSeeds[5]; + iVar3 = param_2->_stageSeeds[6]; + iVar4 = param_2->_stageSeeds[7]; + this->_stageSeeds[4] = param_2->_stageSeeds[4]; + this->_stageSeeds[5] = iVar2; + this->_stageSeeds[6] = iVar3; + this->_stageSeeds[7] = iVar4; + iVar2 = param_2->_stageSeeds[9]; + iVar3 = param_2->_stageSeeds[10]; + iVar4 = param_2->_stageSeeds[0xb]; + this->_stageSeeds[8] = param_2->_stageSeeds[8]; + this->_stageSeeds[9] = iVar2; + this->_stageSeeds[10] = iVar3; + this->_stageSeeds[0xb] = iVar4; + *(undefined8 *)(this->_stageSeeds + 0xc) = *(undefined8 *)(param_2->_stageSeeds + 0xc); } - return; + return this; } @@ -922490,7 +924012,7 @@ LAB_009ea040: if (bVar6) break; LAB_009ea090: if (*piVar3 != *piVar4) { - if (g_manager->_stringTable != 0) goto LAB_009ea19b; + if (*(int *)&g_manager->_stringTable != 0) goto LAB_009ea19b; local_50[5] = 0xaf3f840; piVar3 = local_64; local_50[6] = 0x7c7441af; @@ -924091,49 +925613,49 @@ void Seeds::SetStartSeed(int param_1) void __thiscall Seeds::set_start_seed(Seeds *this,uint seed) { - RNG RVar1; - uint uVar2; - int iVar3; - RNG *pRVar4; + uint uVar1; + int iVar2; + int *piVar3; this->_gameStartSeed = seed; if (seed == 0) { - RVar1 = (RNG)Random(); - seed = (uint)(RNG)0x1; - if (1 < (uint)RVar1) { - seed = (uint)RVar1; + uVar1 = Random(); + seed = 1; + if (1 < uVar1) { + seed = uVar1; } this->_gameStartSeed = seed; } - pRVar4 = (RNG *)&this->field_0x18; - iVar3 = 0xe; - *(undefined8 *)&this->field_0xc = 0x1700000003; - this->_rng = (RNG)seed; - *(undefined4 *)&this->field_0x14 = 0x19; + piVar3 = this->_stageSeeds; + iVar2 = 0xe; + (this->_rng)._shift1 = 3; + (this->_rng)._shift2 = 0x17; + (this->_rng)._seed = seed; + (this->_rng)._shift3 = 0x19; do { - RVar1 = this->_rng; - if (RVar1 == (RNG)0x0) { + uVar1 = (this->_rng)._seed; + if (uVar1 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar1 >> ((byte)*(undefined4 *)&this->field_0xc & 0x1f) ^ (uint)RVar1; - uVar2 = uVar2 << ((byte)*(undefined4 *)&this->field_0x10 & 0x1f) ^ uVar2; - RVar1 = (RNG)(uVar2 >> ((byte)*(undefined4 *)&this->field_0x14 & 0x1f) ^ uVar2); - this->_rng = RVar1; - *pRVar4 = RVar1; - pRVar4 = pRVar4 + 1; - iVar3 = iVar3 + -1; - } while (iVar3 != 0); - RVar1 = this->_rng; - if (RVar1 == (RNG)0x0) { + uVar1 = uVar1 >> ((byte)(this->_rng)._shift1 & 0x1f) ^ uVar1; + uVar1 = uVar1 << ((byte)(this->_rng)._shift2 & 0x1f) ^ uVar1; + uVar1 = uVar1 >> ((byte)(this->_rng)._shift3 & 0x1f) ^ uVar1; + (this->_rng)._seed = uVar1; + *piVar3 = uVar1; + piVar3 = piVar3 + 1; + iVar2 = iVar2 + -1; + } while (iVar2 != 0); + uVar1 = (this->_rng)._seed; + if (uVar1 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } - uVar2 = (uint)RVar1 >> ((byte)*(undefined4 *)&this->field_0xc & 0x1f) ^ (uint)RVar1; - uVar2 = uVar2 << ((byte)*(undefined4 *)&this->field_0x10 & 0x1f) ^ uVar2; - RVar1 = (RNG)(uVar2 >> ((byte)*(undefined4 *)&this->field_0x14 & 0x1f) ^ uVar2); - this->_rng = RVar1; - this->_playerInitSeed = (int)RVar1; + uVar1 = uVar1 >> ((byte)(this->_rng)._shift1 & 0x1f) ^ uVar1; + uVar1 = uVar1 << ((byte)(this->_rng)._shift2 & 0x1f) ^ uVar1; + uVar1 = uVar1 >> ((byte)(this->_rng)._shift3 & 0x1f) ^ uVar1; + (this->_rng)._seed = uVar1; + this->_playerInitSeed = uVar1; return; } @@ -924160,26 +925682,25 @@ void Seeds::Restart(int param_1) /* ZHL [lua] Lua binding Seeds:ForgetStageSeed */ -void Seeds::ForgetStageSeed(uint param_1) +void __thiscall Seeds::ForgetStageSeed(Seeds *this,uint param_2) { uint uVar1; uint uVar2; - int in_ECX; - param_1 = -(uint)(param_1 != 0) & param_1; + param_2 = -(uint)(param_2 != 0) & param_2; uVar1 = 0xd; - if (param_1 < 0xd) { - uVar1 = param_1; + if (param_2 < 0xd) { + uVar1 = param_2; } - uVar2 = *(uint *)(in_ECX + 0x18 + uVar1 * 4); + uVar2 = this->_stageSeeds[uVar1]; if (uVar2 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"RNG Seed is zero!\n"); } uVar2 = uVar2 >> 5 ^ uVar2; uVar2 = uVar2 << 0xf ^ uVar2; - *(uint *)(in_ECX + uVar1 * 4 + 0x18) = uVar2 >> 0x11 ^ uVar2; + this->_stageSeeds[uVar1] = uVar2 >> 0x11 ^ uVar2; return; } @@ -924697,7 +926218,7 @@ void __thiscall Menu_Stats::~Menu_Stats(Menu_Stats *this) local_10 = ExceptionList; uVar1 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; - _eh_vector_destructor_iterator_(&this->field_0x1838,0x34,0x282,FUN_00420b00); + _eh_vector_destructor_iterator_(this->_achievementOverlayEntries,0x34,0x282,FUN_00420b00); _eh_vector_destructor_iterator_(&this->_achievementMiniSprite1,0x114,0xb,ANM2::~ANM2); local_8 = 0; ANM2::Reset(&this->_achievementsSprite); @@ -924721,15 +926242,15 @@ void __thiscall Menu_Stats::~Menu_Stats(Menu_Stats *this) /* DB: ECX=MenuManager+0x2a18 (_menuStats: ANM2 +0x1c, +0xb48, 11 ANM2 at +0xc5c per structs.hpp): ANM2::Reset on those; from MenuManager::unload_graphics */ -void Menu_Stats::unload_graphics(void) +void __thiscall Menu_Stats::unload_graphics(Menu_Stats *this) { uint *puVar1; void *pvVar2; undefined4 *puVar3; - int in_ECX; - int iVar4; - undefined4 *puVar5; + std_string *psVar4; + int iVar5; + uint *puVar6; void *local_10; undefined1 *puStack_c; undefined4 local_8; @@ -924738,31 +926259,31 @@ void Menu_Stats::unload_graphics(void) puStack_c = &LAB_00b05a30; local_10 = ExceptionList; ExceptionList = &local_10; - ANM2::Reset((ANM2 *)(in_ECX + 0x1c)); - ANM2::Reset((ANM2 *)(in_ECX + 0xb48)); - puVar5 = (undefined4 *)(in_ECX + 0xc84); - iVar4 = 0xb; + ANM2::Reset(&this->_StatsMenuSprite); + ANM2::Reset(&this->_achievementsSprite); + puVar6 = &(this->_achievementMiniSprite1)._animDefaultName._size; + iVar5 = 0xb; do { - if (puVar5[-6] != 0) { - AnmCache::RemoveRef(puVar5 + -10); + if (puVar6[-6] != 0) { + AnmCache::RemoveRef(puVar6 + -10); } - puVar3 = puVar5 + -10; - if (0xf < (uint)puVar5[-5]) { + puVar3 = puVar6 + -10; + if (0xf < puVar6[-5]) { puVar3 = (undefined4 *)*puVar3; } - puVar5[-6] = 0; + puVar6[-6] = 0; *(undefined1 *)puVar3 = 0; - AnimationState::SetAnimationData((AnimationState *)(puVar5 + 2),0); - AnimationState::SetAnimationData((AnimationState *)(puVar5 + 10),0); - puVar3 = puVar5 + -4; - if (0xf < (uint)puVar5[1]) { - puVar3 = (undefined4 *)*puVar3; + AnimationState::SetAnimationData((AnimationState *)(puVar6 + 2),0); + AnimationState::SetAnimationData((AnimationState *)(puVar6 + 10),0); + psVar4 = (std_string *)(puVar6 + -4); + if (0xf < puVar6[1]) { + psVar4 = *(std_string **)psVar4->_buf; } - *puVar5 = 0; - *(undefined1 *)puVar3 = 0; - pvVar2 = (void *)puVar5[0x15]; - puVar5[0x13] = 0; - puVar5[0x14] = 0; + *puVar6 = 0; + psVar4->_buf[0] = '\0'; + pvVar2 = (void *)puVar6[0x15]; + puVar6[0x13] = 0; + puVar6[0x14] = 0; if (pvVar2 != (void *)0x0) { puVar1 = (uint *)((int)pvVar2 + -4); local_8 = 0; @@ -924770,48 +926291,48 @@ void Menu_Stats::unload_graphics(void) operator_delete(puVar1,*puVar1 * 0xa0 + 4); local_8 = 0xffffffff; } - puVar5[0x15] = 0; - puVar5[0x16] = 0; - puVar5[0x17] = 0; - puVar5[0x18] = 0; - puVar5[0x19] = 0; - puVar5[0x1a] = 0; - puVar5[0x1b] = g_vectorZero.x; - puVar5[0x1c] = g_vectorZero.y; - puVar5[0x1d] = g_vectorOne.x; - puVar5[0x1e] = g_vectorOne.y; - puVar5[0x1f] = 0; - puVar5[0x20] = 0x3f800000; - puVar5[0x21] = 0x3f800000; - puVar5[0x22] = 0x3f800000; - puVar5[0x23] = 0x3f800000; - puVar5[0x24] = 0; - puVar5[0x25] = 0; - puVar5[0x26] = 0; - puVar5[0x27] = 0; - puVar5[0x28] = 0; - puVar5[0x29] = 0; - puVar5[0x2a] = 0; - puVar5[0x2f] = 0; - puVar5[0x30] = 0; - puVar5[0x31] = 0; - puVar5[0x32] = 0; - puVar5[0x33] = 0; - puVar5[0x34] = 0; - puVar5[0x35] = 0; - puVar5[0x2b] = 0x3f800000; - puVar5[0x2c] = 0x3f800000; - puVar5[0x2d] = 0x3f800000; - puVar5[0x2e] = 0; - *(undefined2 *)(puVar5 + 0x36) = 0; - puVar5[0x37] = 0x3f800000; - *(undefined2 *)(puVar5 + 0x38) = 0; - *(undefined1 *)(puVar5 + 0x12) = 0; - puVar5[0x39] = 0xffffffff; - puVar5[0x3a] = 0; - puVar5 = puVar5 + 0x45; - iVar4 = iVar4 + -1; - } while (iVar4 != 0); + puVar6[0x15] = 0; + puVar6[0x16] = 0; + puVar6[0x17] = 0; + puVar6[0x18] = 0; + puVar6[0x19] = 0; + puVar6[0x1a] = 0; + puVar6[0x1b] = (uint)g_vectorZero.x; + puVar6[0x1c] = (uint)g_vectorZero.y; + puVar6[0x1d] = (uint)g_vectorOne.x; + puVar6[0x1e] = (uint)g_vectorOne.y; + puVar6[0x1f] = 0; + puVar6[0x20] = 0x3f800000; + puVar6[0x21] = 0x3f800000; + puVar6[0x22] = 0x3f800000; + puVar6[0x23] = 0x3f800000; + puVar6[0x24] = 0; + puVar6[0x25] = 0; + puVar6[0x26] = 0; + puVar6[0x27] = 0; + puVar6[0x28] = 0; + puVar6[0x29] = 0; + puVar6[0x2a] = 0; + puVar6[0x2f] = 0; + puVar6[0x30] = 0; + puVar6[0x31] = 0; + puVar6[0x32] = 0; + puVar6[0x33] = 0; + puVar6[0x34] = 0; + puVar6[0x35] = 0; + puVar6[0x2b] = 0x3f800000; + puVar6[0x2c] = 0x3f800000; + puVar6[0x2d] = 0x3f800000; + puVar6[0x2e] = 0; + *(undefined2 *)(puVar6 + 0x36) = 0; + puVar6[0x37] = 0x3f800000; + *(undefined2 *)(puVar6 + 0x38) = 0; + *(undefined1 *)(puVar6 + 0x12) = 0; + puVar6[0x39] = 0xffffffff; + puVar6[0x3a] = 0; + puVar6 = puVar6 + 0x45; + iVar5 = iVar5 + -1; + } while (iVar5 != 0); ExceptionList = local_10; return; } @@ -925011,8 +926532,7 @@ void __thiscall Menu_Stats::Update(Menu_Stats *this) uVar5 = 0; this->_countTotalAchievements = 0; do { - if (((*(uint *)((int)(&this->_cursorRightSprite + 1) + uVar5 * 0x34) == uVar5) && - (uVar5 < 0x282)) && + if (((this->_achievementOverlayEntries[uVar5]._id == uVar5) && (uVar5 < 0x282)) && (((uVar5 == 0 || ((pMVar3->_persistentGameData)._achievements[uVar5] != 0)) || (((pMVar3->_state == 2 && (pGVar2 != (Game *)0x0)) && (((pGVar2->_dailyChallenge)._id != 0 || (pGVar2->_isDebug != 0)))))))) { @@ -925519,8 +927039,9 @@ void __thiscall Menu_Stats::load_achievements_xml(Menu_Stats *this) uint uVar14; uint uVar15; qword *pqVar16; - bool bVar17; - byte *pbVar18; + AchievementOverlay_Entry *pAVar17; + bool bVar18; + byte *pbVar19; uint uStack_100d4; undefined4 ******appppppuStack_100d0 [4]; undefined4 uStack_100c0; @@ -925606,29 +927127,29 @@ LAB_009ed8ac: (**(code **)*piVar5)(1); FUN_00413b90(); local_14 = 2; - pbVar18 = (byte *)0x9ed921; + pbVar19 = (byte *)0x9ed921; iVar6 = iVar7; rapidxml::xml_document::parse(iVar7); - xml_node::first_node("achievements",pbVar18,iVar6); + xml_node::first_node("achievements",pbVar19,iVar6); local_2c = 0; local_28 = 0xf; local_3c[0] = (std_string *)0x0; local_14._0_1_ = 3; - iVar8 = xml_node::first_attribute(&DAT_00b6987c,pbVar18,iVar6); + iVar8 = xml_node::first_attribute(&DAT_00b6987c,pbVar19,iVar6); if (iVar8 != 0) { - pbVar18 = &g_xmlNullStr; + pbVar19 = &g_xmlNullStr; if (*(byte **)(iVar8 + 4) != (byte *)0x0) { - pbVar18 = *(byte **)(iVar8 + 4); + pbVar19 = *(byte **)(iVar8 + 4); } - pbVar12 = pbVar18; + pbVar12 = pbVar19; do { bVar1 = *pbVar12; pbVar12 = pbVar12 + 1; } while (bVar1 != 0); - iVar6 = (int)pbVar12 - (int)(pbVar18 + 1); - std::string::assign(pbVar18,iVar6); + iVar6 = (int)pbVar12 - (int)(pbVar19 + 1); + std::string::assign(pbVar19,iVar6); } - for (iVar6 = xml_node::first_node("achievement",pbVar18,iVar6); iVar6 != 0; + for (iVar6 = xml_node::first_node("achievement",pbVar19,iVar6); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x2c)) { uStack_100d4 = 0xffffffff; uStack_100c0 = 0; @@ -925641,23 +927162,23 @@ LAB_009ed8ac: puVar4 = *(undefined4 **)(iVar6 + 0x20); if (puVar4 != (undefined4 *)0x0) { do { - pbVar18 = (byte *)*puVar4; + pbVar19 = (byte *)*puVar4; pbVar13 = s_id; pbVar12 = &g_xmlNullStr; - if (pbVar18 != (byte *)0x0) { - pbVar12 = pbVar18; + if (pbVar19 != (byte *)0x0) { + pbVar12 = pbVar19; } do { bVar1 = *pbVar12; - bVar17 = bVar1 < *pbVar13; + bVar18 = bVar1 < *pbVar13; if (bVar1 != *pbVar13) { LAB_009eda43: - uVar14 = -(uint)bVar17 | 1; + uVar14 = -(uint)bVar18 | 1; goto LAB_009eda48; } if (bVar1 == 0) break; bVar1 = pbVar12[1]; - bVar17 = bVar1 < pbVar13[1]; + bVar18 = bVar1 < pbVar13[1]; if (bVar1 != pbVar13[1]) goto LAB_009eda43; pbVar12 = pbVar12 + 2; pbVar13 = pbVar13 + 2; @@ -925665,29 +927186,29 @@ LAB_009eda43: uVar14 = 0; LAB_009eda48: if (uVar14 == 0) { - pbVar18 = &g_xmlNullStr; + pbVar19 = &g_xmlNullStr; if ((byte *)puVar4[1] != (byte *)0x0) { - pbVar18 = (byte *)puVar4[1]; + pbVar19 = (byte *)puVar4[1]; } - uStack_100d4 = atoi((char *)pbVar18); + uStack_100d4 = atoi((char *)pbVar19); } else { pbVar13 = &DAT_00b6e37c; pbVar12 = &g_xmlNullStr; - if (pbVar18 != (byte *)0x0) { - pbVar12 = pbVar18; + if (pbVar19 != (byte *)0x0) { + pbVar12 = pbVar19; } do { bVar1 = *pbVar12; - bVar17 = bVar1 < *pbVar13; + bVar18 = bVar1 < *pbVar13; if (bVar1 != *pbVar13) { LAB_009edaa0: - uVar14 = -(uint)bVar17 | 1; + uVar14 = -(uint)bVar18 | 1; goto LAB_009edaa5; } if (bVar1 == 0) break; bVar1 = pbVar12[1]; - bVar17 = bVar1 < pbVar13[1]; + bVar18 = bVar1 < pbVar13[1]; if (bVar1 != pbVar13[1]) goto LAB_009edaa0; pbVar12 = pbVar12 + 2; pbVar13 = pbVar13 + 2; @@ -925695,34 +927216,34 @@ LAB_009edaa0: uVar14 = 0; LAB_009edaa5: if (uVar14 == 0) { - pbVar18 = &g_xmlNullStr; + pbVar19 = &g_xmlNullStr; if ((byte *)puVar4[1] != (byte *)0x0) { - pbVar18 = (byte *)puVar4[1]; + pbVar19 = (byte *)puVar4[1]; } - pbVar12 = pbVar18; + pbVar12 = pbVar19; do { bVar1 = *pbVar12; pbVar12 = pbVar12 + 1; } while (bVar1 != 0); - std::string::assign(pbVar18,(int)pbVar12 - (int)(pbVar18 + 1)); + std::string::assign(pbVar19,(int)pbVar12 - (int)(pbVar19 + 1)); } else { pbVar13 = &DAT_00b66fec; pbVar12 = &g_xmlNullStr; - if (pbVar18 != (byte *)0x0) { - pbVar12 = pbVar18; + if (pbVar19 != (byte *)0x0) { + pbVar12 = pbVar19; } do { bVar1 = *pbVar12; - bVar17 = bVar1 < *pbVar13; + bVar18 = bVar1 < *pbVar13; if (bVar1 != *pbVar13) { LAB_009edb10: - uVar14 = -(uint)bVar17 | 1; + uVar14 = -(uint)bVar18 | 1; goto LAB_009edb15; } if (bVar1 == 0) break; bVar1 = pbVar12[1]; - bVar17 = bVar1 < pbVar13[1]; + bVar18 = bVar1 < pbVar13[1]; if (bVar1 != pbVar13[1]) goto LAB_009edb10; pbVar13 = pbVar13 + 2; pbVar12 = pbVar12 + 2; @@ -925730,16 +927251,16 @@ LAB_009edb10: uVar14 = 0; LAB_009edb15: if (uVar14 == 0) { - pbVar18 = &g_xmlNullStr; + pbVar19 = &g_xmlNullStr; if ((byte *)puVar4[1] != (byte *)0x0) { - pbVar18 = (byte *)puVar4[1]; + pbVar19 = (byte *)puVar4[1]; } - pbVar12 = pbVar18; + pbVar12 = pbVar19; do { bVar1 = *pbVar12; pbVar12 = pbVar12 + 1; } while (bVar1 != 0); - uVar14 = (int)pbVar12 - (int)(pbVar18 + 1); + uVar14 = (int)pbVar12 - (int)(pbVar19 + 1); if (0x7fffffff - local_2c < uVar14) { /* WARNING: Subroutine does not return */ std::string::_Xlen(); @@ -925748,7 +927269,7 @@ LAB_009edb15: if (0xf < local_28) { psVar9 = local_3c[0]; } - std::string::concat(this,uVar14,psVar9,local_2c,pbVar18,uVar14); + std::string::concat(this,uVar14,psVar9,local_2c,pbVar19,uVar14); if (0xf < uStack_100a4) { uVar14 = uStack_100a4 + 1; ppppppcVar11 = ppppppcStack_100b8; @@ -925781,17 +927302,17 @@ LAB_009edb15: } while ((puVar4[4] != 0) && (puVar4 = (undefined4 *)puVar4[6], puVar4 != (undefined4 *)0x0) ); if (uStack_100d4 < 0x282) { - *(uint *)((int)(&this->_cursorRightSprite + 1) + uStack_100d4 * 0x34) = uStack_100d4; - if ((undefined4 *******)((int)(&this->_cursorRightSprite + 1) + uStack_100d4 * 0x34 + 4) - != appppppuStack_100d0) { + this->_achievementOverlayEntries[uStack_100d4]._id = uStack_100d4; + if (&this->_achievementOverlayEntries[uStack_100d4]._name != + (std_string *)appppppuStack_100d0) { ppppppuVar10 = appppppuStack_100d0; if (0xf < uStack_100bc) { ppppppuVar10 = appppppuStack_100d0[0]; } std::string::assign(ppppppuVar10,uStack_100c0); } - if ((char *******)((int)(&this->_cursorRightSprite + 1) + uStack_100d4 * 0x34 + 0x1c) != - &ppppppcStack_100b8) { + if (&this->_achievementOverlayEntries[uStack_100d4]._gfx != + (std_string *)&ppppppcStack_100b8) { ppppppcVar11 = (char ******)&ppppppcStack_100b8; if (0xf < uStack_100a4) { ppppppcVar11 = ppppppcStack_100b8; @@ -925827,34 +927348,34 @@ LAB_009edb15: } } this->_maxAchievementID = 0; - piVar5 = (int *)&this->field_0x186c; + pAVar17 = this->_achievementOverlayEntries + 1; iVar6 = 2; do { - if (piVar5[-0xd] == iVar6 + -2) { + if (pAVar17[-1]._id == iVar6 + -2) { this->_achievementIDList[this->_maxAchievementID] = iVar6 + -2; this->_maxAchievementID = this->_maxAchievementID + 1; } - if (*piVar5 == iVar6 + -1) { + if (pAVar17->_id == iVar6 + -1) { this->_achievementIDList[this->_maxAchievementID] = iVar6 + -1; this->_maxAchievementID = this->_maxAchievementID + 1; } - if (piVar5[0xd] == iVar6) { + if (pAVar17[1]._id == iVar6) { this->_achievementIDList[this->_maxAchievementID] = iVar6; this->_maxAchievementID = this->_maxAchievementID + 1; } - if (piVar5[0x1a] == iVar6 + 1) { + if (pAVar17[2]._id == iVar6 + 1) { this->_achievementIDList[this->_maxAchievementID] = iVar6 + 1; this->_maxAchievementID = this->_maxAchievementID + 1; } - if (piVar5[0x27] == iVar6 + 2) { + if (pAVar17[3]._id == iVar6 + 2) { this->_achievementIDList[this->_maxAchievementID] = iVar6 + 2; this->_maxAchievementID = this->_maxAchievementID + 1; } - if (piVar5[0x34] == iVar6 + 3) { + if (pAVar17[4]._id == iVar6 + 3) { this->_achievementIDList[this->_maxAchievementID] = iVar6 + 3; this->_maxAchievementID = this->_maxAchievementID + 1; } - piVar5 = piVar5 + 0x4e; + pAVar17 = pAVar17 + 6; uVar14 = iVar6 + 4; iVar6 = iVar6 + 6; } while (uVar14 < 0x282); @@ -926556,7 +928077,7 @@ LAB_009ee769: else { Sprite::ReplaceSpritesheet ((Sprite *)&this->_achievementsSprite,3, - (undefined1 *)((int)(&this->_cursorRightSprite + 1) + uVar5 * 0x34 + 0x1c)); + &this->_achievementOverlayEntries[uVar5]._gfx); bVar4 = extraout_CL; } } @@ -926888,7 +928409,7 @@ LAB_009eeec0: else { Sprite::ReplaceSpritesheet ((Sprite *)&this->_achievementsSprite,3, - (undefined1 *)((int)(&this->_cursorRightSprite + 1) + uVar5 * 0x34 + 0x1c)); + &this->_achievementOverlayEntries[uVar5]._gfx); uVar5 = extraout_ECX_00; } bVar4 = (byte)uVar5; @@ -927319,7 +928840,7 @@ LAB_009ef71b: } local_18 = &DAT_bf800000; local_14 = &DAT_bf800000; - FontDrawParams::FontDrawParams(&g_manager->_font2_TeamMeatEx12,FUN_009ef570,0,&local_18); + MessagePopup::MessagePopup(&g_manager->_font2_TeamMeatEx12,FUN_009ef570,0,&local_18); local_8 = 0; MessagePopup::add_ok_button(); PopupQueue::push(local_c4); @@ -927615,11 +929136,15 @@ void RichText::~RichText(void) } -//@@ 009efb60 FUN_009efb60 +//@@ 009efb60 RichText::load_font /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: callers PauseScreen_MyStuff::Init and FUN_0083c5f0; assigns the font path string, + Font::Unload/Font::Load into +0x18 ('Failed to load font: %s'), lazily ANM2::Load + gfx/ui/text_icons.anm2 into +0x64 and sets its scale from the font height; same object + rich_text_render uses */ -void FUN_009efb60(undefined4 *param_1) +void RichText::load_font(undefined4 *param_1) { ANM2 *pAVar1; @@ -929901,7 +931426,7 @@ void RichTextIcon::render(float *param_1,int param_2,undefined4 param_3,undefine else { get_animation_name(local_3c,param_2); local_14 = 0; - piVar2 = (int *)ANM2::get_layer_by_string(local_3c); + piVar2 = (int *)ANM2::get_layer_by_string(); if (piVar2 != (int *)0x0) { if ((undefined4 *)*piVar2 == (undefined4 *)0x0) { uVar8 = 0xffffffff; @@ -929979,18 +931504,15 @@ float * RichTextIcon::get_size(float *param_1) uint uVar8; float fVar9; float fVar10; - int local_30 [4]; - undefined4 local_20; + int local_30; uint local_1c; - uint local_18; void *local_10; undefined1 *puStack_c; - int local_8; + undefined4 local_8; local_8 = 0xffffffff; puStack_c = &LAB_00af85cd; local_10 = ExceptionList; - local_18 = __security_cookie ^ (uint)(local_30 + 0xb); ExceptionList = &local_10; param_1[1] = 0.0; *param_1 = 0.0; @@ -930029,22 +931551,21 @@ float * RichTextIcon::get_size(float *param_1) else { if (*(int *)(in_ECX + 0x34) == 0) { local_1c = 0xf; - local_20 = 0; - local_30[0] = 0; + local_30 = 0; } else { std::string::string(*(int *)(in_ECX + 0x34)); } local_8 = 0; - piVar5 = (int *)ANM2::get_layer_by_string(local_30); + piVar5 = (int *)ANM2::get_layer_by_string(); local_8 = 0xffffffff; if (0xf < local_1c) { uVar8 = local_1c + 1; - iVar7 = local_30[0]; + iVar7 = local_30; if (0xfff < uVar8) { - iVar7 = *(int *)(local_30[0] + -4); + iVar7 = *(int *)(local_30 + -4); uVar8 = local_1c + 0x24; - if (0x1f < (local_30[0] - iVar7) - 4U) { + if (0x1f < (local_30 - iVar7) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } @@ -930331,11 +931852,15 @@ int map_int_ImagePtr_subscript(int *param_1) } -//@@ 009f2ee0 FUN_009f2ee0 +//@@ 009f2ee0 VideoPlayer::play /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? ECX = video player (Cutscene object +0x5c, caller 0095fac0 passes the path +0x40 and volume + in xmm2); copies path, checks ".ogv", ModManager::TryRedirectPath, opens clip (FUN_00a62910), + clamps volume into clip +0x48, restarts/plays via clip vtable +0x1c/+0x18; sibling + VideoPlayer::unload 00a62880 VideoPlayer::unload -void FUN_009f2ee0(char *param_1) +void VideoPlayer::play(char *param_1) { char cVar1; @@ -930668,13 +932193,13 @@ byte __thiscall Weapon::IsAxisAligned(Weapon *this) byte bVar1; Entity_Player *this_00; - this_00 = *(Entity_Player **)&this->field_0x4; + this_00 = this->_owner; if (((this_00 != (Entity_Player *)0x0) && (((this_00->_type == 1 || ((this_00->_type == 3 && (this_00 = *(Entity_Player **)&this_00->_isControlsEnabled, this_00 != (Entity_Player *)0x0 - )))) && (*(float *)&this[3].field_0x4 == g_vectorZero.x)))) && - ((float)this[3]._technology2Laser == g_vectorZero.y)) { + )))) && (*(float *)&this->field_0x28 == g_vectorZero.x)))) && + (*(float *)&this->field_0x2c == g_vectorZero.y)) { bVar1 = Entity_Player::HasCollectible(this_00,0x1d1,0); if (bVar1 == 0) { bVar1 = Entity_Player::HasCollectible(this_00,0x18a,0); @@ -930732,14 +932257,14 @@ void __thiscall Weapon::Reset(Weapon *this) { (**(code **)(*(int *)this + 0x14))(); - *(undefined4 *)&this[2].field_0x4 = 0; + *(undefined4 *)&this->field_0x1c = 0; + *(undefined4 *)&this->field_0xc = 0; + *(undefined4 *)&this->field_0x10 = 0x41200000; + *(undefined4 *)&this->field_0x14 = 0; + *(undefined4 *)&this->field_0x18 = 0x3f800000; *(undefined4 *)(this + 1) = 0; - *(undefined4 *)&this[1].field_0x4 = 0x41200000; - this[1]._technology2Laser = (EntityPtr)0x0; - *(undefined4 *)(this + 2) = 0x3f800000; - this[4]._technology2Laser = (EntityPtr)0x0; - this[2]._technology2Laser = (EntityPtr)g_vectorZero.x; - *(float *)(this + 3) = g_vectorZero.y; + *(float *)&this->field_0x20 = g_vectorZero.x; + *(float *)&this->field_0x24 = g_vectorZero.y; return; } @@ -930748,12 +932273,12 @@ void __thiscall Weapon::Reset(Weapon *this) /* ZHL [vtable slot 1] */ -void __thiscall Weapon::Init(Weapon *this,undefined4 param_2,undefined4 param_3) +void __thiscall Weapon::Init(Weapon *this,undefined4 param_2,void *param_3) { (**(code **)(*(int *)this + 0x10))(); - *(undefined4 *)&this->field_0x4 = param_3; - *(undefined4 *)(this + 4) = param_2; + this->_owner = param_3; + *(undefined4 *)&this->field_0x30 = param_2; return; } @@ -930767,12 +932292,12 @@ void __thiscall Weapon::Update(Weapon *this,char param_2) { float fVar1; - if ((param_2 == '\0') && (fVar1 = *(float *)(this + 1), -1.0 < fVar1)) { - if (*(int *)&this->field_0x4 != 0) { - *(float *)(this + 1) = fVar1 - *(float *)(*(int *)&this->field_0x4 + 0x39c); + if ((param_2 == '\0') && (fVar1 = *(float *)&this->field_0xc, -1.0 < fVar1)) { + if (this->_owner != (void *)0x0) { + *(float *)&this->field_0xc = fVar1 - *(float *)((int)this->_owner + 0x39c); return; } - *(float *)(this + 1) = fVar1 - 1.0; + *(float *)&this->field_0xc = fVar1 - 1.0; } return; } @@ -930831,7 +932356,7 @@ void Weapon::Fire(int *param_1,char param_2,char param_3) local_c = __security_cookie ^ (uint)auStack_68; local_54 = (EntityPtr)param_1; - pEVar9 = *(Entity_Player **)&in_ECX->field_0x4; + pEVar9 = in_ECX->_owner; if (pEVar9 == (Entity_Player *)0x0) { LAB_009f35c4: local_58 = (Entity_Player *)0x0; @@ -930871,7 +932396,7 @@ LAB_009f3b99: local_40 = in_ECX; Entity_Player::HasCollectible(local_58,0x18a,0); bVar5 = Entity_Player::HasCollectible(pEVar9,0x98,0); - if ((bVar5 == 0) || (*(int *)(in_ECX + 4) == 0xf)) goto LAB_009f3b99; + if ((bVar5 == 0) || (*(int *)&in_ECX->field_0x30 == 0xf)) goto LAB_009f3b99; local_64 = *(Weapon **)local_54; local_60 = *(Weapon **)((int)local_54 + 4); local_50 = local_64; @@ -930917,7 +932442,7 @@ LAB_009f3b99: *(undefined1 *)(piVar7 + 0x146) = 1; pMVar4 = g_manager; local_64 = (Weapon *)piVar7; - if (((*(int *)&in_ECX->field_0x4 != 0) && (*(char *)g_game->_room != '\0')) && + if (((in_ECX->_owner != (void *)0x0) && (*(char *)g_game->_room != '\0')) && (1 < g_game->_frameCount - *(int *)((int)g_game->_room + 0x11f0))) { local_5c = (EntityPtr)0x86; seed_fart_sound_override(); @@ -931481,18 +933006,17 @@ void FUN_009f4130(void) float10 __thiscall Weapon::GetChargeBarAmount(Weapon *this) { - EntityPtr EVar1; + float fVar1; float10 fVar2; float fVar3; - if ((*(uint *)&this[4].field_0x4 >> 7 & 1) != 0) { + if (((uint)this->_modifiers >> 7 & 1) != 0) { return (float10)0; } fVar2 = (float10)(**(code **)(*(int *)this + 0x18))(); - fVar3 = (float)fVar2; - if ((0.0 < fVar3) && - ((EVar1 = this[1]._technology2Laser, 1.0 < (float)EVar1 || (fVar3 <= (float)EVar1)))) { - fVar3 = (float)EVar1 / fVar3; + fVar1 = (float)fVar2; + if ((0.0 < fVar1) && ((fVar3 = *(float *)&this->field_0x14, 1.0 < fVar3 || (fVar1 <= fVar3)))) { + fVar3 = fVar3 / fVar1; if (fVar3 <= 0.0) { fVar3 = 0.0; } @@ -932030,16 +933554,17 @@ void Weapon::play_brimstone_costume_shoot (undefined4 param_1,undefined4 param_2,undefined4 *param_3,float param_4) { - undefined4 uVar1; - int iVar2; - ItemConfig_Item *pIVar3; + Entity_Player *pEVar1; + undefined4 uVar2; + int iVar3; + ItemConfig_Item *pIVar4; int in_ECX; undefined4 extraout_ECX; undefined4 extraout_ECX_00; undefined4 extraout_ECX_01; undefined4 extraout_ECX_02; - uint uVar4; - int *piVar5; + uint uVar5; + int *piVar6; undefined1 local_a4 [24]; undefined1 local_8c [24]; undefined1 local_74 [24]; @@ -932062,7 +933587,8 @@ void Weapon::play_brimstone_costume_shoot local_10 = ExceptionList; local_14 = __security_cookie ^ (uint)(local_24 + 0x20); ExceptionList = &local_10; - if ((*(int *)(in_ECX + 4) != 0) && (*(int *)(*(int *)(in_ECX + 4) + 0x28) == 1)) { + pEVar1 = *(Entity_Player **)(in_ECX + 4); + if ((pEVar1 != (Entity_Player *)0x0) && (pEVar1->_type == 1)) { local_4c = 0; local_48 = 0xf; local_5c[0] = 0; @@ -932080,58 +933606,58 @@ void Weapon::play_brimstone_costume_shoot local_8._0_1_ = 0xd; std::string::string_from_cstr("HeadLeftShoot"); local_8._0_1_ = 0xe; - uVar1 = string_from_direction(local_a4,*param_3,param_3[1],local_74,local_8c,local_44,&local_2c) + uVar2 = string_from_direction(local_a4,*param_3,param_3[1],local_74,local_8c,local_44,&local_2c) ; local_8._0_1_ = 0xf; - FUN_0040c310(uVar1); + FUN_0040c310(uVar2); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); std::string::_Tidy_deallocate(); local_8._0_1_ = 0xb; - uVar1 = extraout_ECX; + uVar2 = extraout_ECX; if (0xf < local_30) { - uVar4 = local_30 + 1; - iVar2 = local_44[0]; - if (0xfff < uVar4) { - iVar2 = *(int *)(local_44[0] + -4); - uVar4 = local_30 + 0x24; - if (0x1f < (local_44[0] - iVar2) - 4U) goto LAB_009f4f36; + uVar5 = local_30 + 1; + iVar3 = local_44[0]; + if (0xfff < uVar5) { + iVar3 = *(int *)(local_44[0] + -4); + uVar5 = local_30 + 0x24; + if (0x1f < (local_44[0] - iVar3) - 4U) goto LAB_009f4f36; } - operator_delete(iVar2,uVar4); - uVar1 = extraout_ECX_00; + operator_delete(iVar3,uVar5); + uVar2 = extraout_ECX_00; } local_8._0_1_ = 0; if (0xf < local_18) { - uVar4 = local_18 + 1; - iVar2 = (int)local_2c; - if (0xfff < uVar4) { - iVar2 = *(int *)((int)local_2c + -4); - uVar4 = local_18 + 0x24; - if (0x1f < ((int)local_2c - iVar2) - 4U) { + uVar5 = local_18 + 1; + iVar3 = (int)local_2c; + if (0xfff < uVar5) { + iVar3 = *(int *)((int)local_2c + -4); + uVar5 = local_18 + 0x24; + if (0x1f < ((int)local_2c - iVar3) - 4U) { LAB_009f4f36: /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar2,uVar4); - uVar1 = extraout_ECX_01; + operator_delete(iVar3,uVar5); + uVar2 = extraout_ECX_01; } - iVar2 = (int)param_4; - piVar5 = local_5c; - pIVar3 = ItemConfig::GetCollectible(&g_manager->_itemConfig,0x76); - Entity_Player::play_item_costume_anim(extraout_ECX_02,pIVar3,uVar1,piVar5,iVar2); + iVar3 = (int)param_4; + piVar6 = local_5c; + pIVar4 = ItemConfig::GetCollectible(&g_manager->_itemConfig,0x76); + Entity_Player::play_item_costume_anim(pEVar1,extraout_ECX_02,pIVar4,uVar2,piVar6,iVar3); if (0xf < local_48) { - uVar4 = local_48 + 1; - iVar2 = local_5c[0]; - if (0xfff < uVar4) { - iVar2 = *(int *)(local_5c[0] + -4); - uVar4 = local_48 + 0x24; - if (0x1f < (local_5c[0] - iVar2) - 4U) { + uVar5 = local_48 + 1; + iVar3 = local_5c[0]; + if (0xfff < uVar5) { + iVar3 = *(int *)(local_5c[0] + -4); + uVar5 = local_48 + 0x24; + if (0x1f < (local_5c[0] - iVar3) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar2,uVar4); + operator_delete(iVar3,uVar5); } } ExceptionList = local_10; @@ -932259,7 +933785,7 @@ byte __thiscall Weapon::IsItemAnimFinished(Weapon *this,uint collectibleID) uint uVar11; uint local_58; int *local_54; - int local_50; + void *local_50; byte local_4a; undefined4 local_48 [4]; undefined4 local_38; @@ -932277,15 +933803,16 @@ byte __thiscall Weapon::IsItemAnimFinished(Weapon *this,uint collectibleID) local_10 = ExceptionList; uVar4 = __security_cookie ^ (uint)(local_30 + 0xb); bVar8 = false; - iVar6 = *(int *)&this->field_0x4; - if ((((iVar6 == 0) || (local_50 = iVar6, *(int *)(iVar6 + 0x28) != 1)) && - (local_50 = 0, iVar6 != 0)) && (local_50 = 0, *(int *)(iVar6 + 0x28) == 3)) { - if (((*(int *)(iVar6 + 0xd4c) != 0) && (*(int *)(iVar6 + 0x7c) != 0)) && - (*(char *)(iVar6 + 0x8c) != '\0')) { + pvVar1 = this->_owner; + if ((((pvVar1 == (void *)0x0) || (local_50 = pvVar1, *(int *)((int)pvVar1 + 0x28) != 1)) && + (local_50 = (void *)0x0, pvVar1 != (void *)0x0)) && + (local_50 = (void *)0x0, *(int *)((int)pvVar1 + 0x28) == 3)) { + if (((*(int *)((int)pvVar1 + 0xd4c) != 0) && (*(int *)((int)pvVar1 + 0x7c) != 0)) && + (*(char *)((int)pvVar1 + 0x8c) != '\0')) { return 0; } } - else if (local_50 != 0) { + else if (local_50 != (void *)0x0) { local_34 = 0xf; local_38 = 0; local_48[0] = 0; @@ -932293,12 +933820,12 @@ byte __thiscall Weapon::IsItemAnimFinished(Weapon *this,uint collectibleID) local_18 = uVar4; pIVar5 = ItemConfig::GetCollectible(&g_manager->_itemConfig,collectibleID); bVar7 = 1; - local_54 = (int *)(local_50 + 0x122c); + local_54 = (int *)((int)local_50 + 0x122c); local_4a = 1; local_58 = 0; do { if (-1 < *local_54) { - pAVar9 = (ANM2 *)(*local_54 * 0x130 + *(int *)(local_50 + 0x1220)); + pAVar9 = (ANM2 *)(*local_54 * 0x130 + *(int *)((int)local_50 + 0x1220)); if (pAVar9[1]._filename._buf[8] == '\0') { uVar10 = local_1c; LAB_009f51e9: @@ -932495,7 +934022,7 @@ LAB_009f53c3: byte Weapon::is_c_section_anim_finished(void) { - int iVar1; + void *pvVar1; bool bVar2; byte bVar3; uint uVar4; @@ -932518,17 +934045,17 @@ byte Weapon::is_c_section_anim_finished(void) uVar4 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; bVar7 = false; - iVar1 = *(int *)&in_ECX->field_0x4; - if ((iVar1 == 0) || (*(int *)(iVar1 + 0x28) != 1)) { + pvVar1 = in_ECX->_owner; + if ((pvVar1 == (void *)0x0) || (*(int *)((int)pvVar1 + 0x28) != 1)) { bVar3 = IsItemAnimFinished(in_ECX,0x2a6); } else { pIVar5 = ItemConfig::GetCollectible(&g_manager->_itemConfig,0x2a6); - local_3c = (int *)(iVar1 + 0x122c); + local_3c = (int *)((int)pvVar1 + 0x122c); local_38 = 0; do { if (((-1 < *local_3c) && ((char)local_3c[3] != '\0')) && - (iVar6 = *local_3c * 0x130 + *(int *)(iVar1 + 0x1220), + (iVar6 = *local_3c * 0x130 + *(int *)((int)pvVar1 + 0x1220), *(ItemConfig_Item **)(iVar6 + 0x114) == pIVar5)) { if (*(char *)(iVar6 + 100) == '\0') { LAB_009f561f: @@ -932583,24 +934110,25 @@ LAB_009f561f: void __thiscall Weapon::SetBlinkTime(Weapon *this,int param_2) { - int iVar1; + void *pvVar1; int iVar2; + void *pvVar3; - iVar1 = *(int *)&this->field_0x4; - if ((((iVar1 == 0) || (iVar2 = iVar1, *(int *)(iVar1 + 0x28) != 1)) && (iVar2 = 0, iVar1 != 0)) && - (*(int *)(iVar1 + 0x28) == 3)) { - iVar2 = *(int *)(iVar1 + 0xd50); - if (*(int *)(iVar1 + 0xd50) < param_2) { + pvVar1 = this->_owner; + if ((((pvVar1 == (void *)0x0) || (pvVar3 = pvVar1, *(int *)((int)pvVar1 + 0x28) != 1)) && + (pvVar3 = (void *)0x0, pvVar1 != (void *)0x0)) && (*(int *)((int)pvVar1 + 0x28) == 3)) { + iVar2 = *(int *)((int)pvVar1 + 0xd50); + if (*(int *)((int)pvVar1 + 0xd50) < param_2) { iVar2 = param_2; } - *(int *)(iVar1 + 0xd50) = iVar2; + *(int *)((int)pvVar1 + 0xd50) = iVar2; } - else if (iVar2 != 0) { - iVar1 = *(int *)(iVar2 + 0x1338); - if (*(int *)(iVar2 + 0x1338) < param_2) { - iVar1 = param_2; + else if (pvVar3 != (void *)0x0) { + iVar2 = *(int *)((int)pvVar3 + 0x1338); + if (*(int *)((int)pvVar3 + 0x1338) < param_2) { + iVar2 = param_2; } - *(int *)(iVar2 + 0x1338) = iVar1; + *(int *)((int)pvVar3 + 0x1338) = iVar2; return; } return; @@ -932615,27 +934143,27 @@ void __thiscall Weapon::SetBlinkTime(Weapon *this,int param_2) void __thiscall Weapon::SetHeadLockTime(Weapon *this,int Time) { - int iVar1; + void *pvVar1; int *piVar2; int *piVar3; - int iVar4; + void *pvVar4; - iVar1 = *(int *)&this->field_0x4; - if ((((iVar1 == 0) || (iVar4 = iVar1, *(int *)(iVar1 + 0x28) != 1)) && (iVar4 = 0, iVar1 != 0)) && - (*(int *)(iVar1 + 0x28) == 3)) { - piVar2 = (int *)(iVar1 + 0xda8); + pvVar1 = this->_owner; + if ((((pvVar1 == (void *)0x0) || (pvVar4 = pvVar1, *(int *)((int)pvVar1 + 0x28) != 1)) && + (pvVar4 = (void *)0x0, pvVar1 != (void *)0x0)) && (*(int *)((int)pvVar1 + 0x28) == 3)) { + piVar2 = (int *)((int)pvVar1 + 0xda8); piVar3 = &Time; if (Time <= *piVar2) { piVar3 = piVar2; } *piVar2 = *piVar3; } - else if (iVar4 != 0) { + else if (pvVar4 != (void *)0x0) { piVar2 = &Time; - if (Time <= *(int *)(iVar4 + 0x133c)) { - piVar2 = (int *)(iVar4 + 0x133c); + if (Time <= *(int *)((int)pvVar4 + 0x133c)) { + piVar2 = (int *)((int)pvVar4 + 0x133c); } - *(int *)(iVar4 + 0x133c) = *piVar2; + *(int *)((int)pvVar4 + 0x133c) = *piVar2; return; } return; @@ -933706,18 +935234,18 @@ int * __thiscall Weapon::FireSword(Weapon *this,int param_2,int *param_3,char pa { int *piVar1; - int iVar2; - int iVar3; + void *pvVar2; + void *pvVar3; int *piVar4; uint uVar5; float in_XMM3_Da; - int local_98; + void *local_98; int *local_94; float local_90; float local_8c; undefined4 local_88; int local_84; - int local_80; + void *local_80; float local_7c; undefined1 local_78 [16]; int iStack_68; @@ -933730,29 +935258,29 @@ int * __thiscall Weapon::FireSword(Weapon *this,int param_2,int *param_3,char pa local_c = __security_cookie ^ (uint)&local_98; local_84 = param_2; local_94 = param_3; - iVar2 = *(int *)&this->field_0x4; - local_98 = 0; - if (iVar2 != 0) { - if (*(int *)(iVar2 + 0x28) == 1) { - local_98 = iVar2; + pvVar2 = this->_owner; + local_98 = (void *)0x0; + if (pvVar2 != (void *)0x0) { + if (*(int *)((int)pvVar2 + 0x28) == 1) { + local_98 = pvVar2; } - else if (*(int *)(iVar2 + 0x28) == 3) { - local_98 = *(int *)(iVar2 + 0x410); + else if (*(int *)((int)pvVar2 + 0x28) == 3) { + local_98 = *(void **)((int)pvVar2 + 0x410); } } - local_80 = iVar2; + local_80 = pvVar2; local_7c = in_XMM3_Da; local_88 = Random(); - iVar3 = *(int *)&this->field_0x4; - if (iVar3 == 0) { + pvVar3 = this->_owner; + if (pvVar3 == (void *)0x0) { local_90 = g_vectorZero.x; local_8c = g_vectorZero.y; } else { - local_90 = *(float *)(iVar3 + 0x33c); - local_8c = *(float *)(iVar3 + 0x340); + local_90 = *(float *)((int)pvVar3 + 0x33c); + local_8c = *(float *)((int)pvVar3 + 0x340); } - piVar4 = (int *)Game::SpawnEx(g_game,8,local_94,&local_90,&g_vectorZero,iVar2,0,local_88,0); + piVar4 = (int *)Game::SpawnEx(g_game,8,local_94,&local_90,&g_vectorZero,pvVar2,0,local_88,0); if ((piVar4 == (int *)0x0) || (piVar4[10] != 8)) { piVar4 = (int *)0x0; } @@ -933767,7 +935295,7 @@ int * __thiscall Weapon::FireSword(Weapon *this,int param_2,int *param_3,char pa } piVar4[0xd3] = 0; piVar4[0xd4] = -0x3ee00000; - if (local_98 != 0) { + if (local_98 != (void *)0x0) { uVar5 = Random(local_80); Entity_Player::GetTearHitParams(local_78,0xd,0x3f800000,(uVar5 & 1) * 2 + -1); (**(code **)(*piVar4 + 0x3c))(&local_84,0xffffffff,0xff,0,1); @@ -936034,30 +937562,33 @@ void Weapon_Bone::Fire(EntityPtr *param_1,char param_2,char param_3) float fVar9; float fVar10; Manager *pMVar11; - byte bVar12; - char cVar13; - BitSet128 *pBVar14; - EntityPtr *pEVar15; - int iVar16; - EntityPtr *pEVar17; + undefined4 uVar12; + byte bVar13; + char cVar14; + BitSet128 *pBVar15; + EntityPtr *pEVar16; + int iVar17; + Vector *pVVar18; + EntityPtr *pEVar19; byte *anim; - float *pfVar18; - int *piVar19; - Entity_Tear *pEVar20; - Entity_Knife *pEVar21; - void *pvVar22; + float *pfVar20; + int *piVar21; + Entity_Tear *pEVar22; + Entity_Knife *pEVar23; + void *pvVar24; byte extraout_CL; byte extraout_CL_00; EntityPtr in_ECX; - EntityPtr EVar23; - void *pvVar24; - EntityPtr extraout_EDX; - uint uVar25; - EntityPtr EVar26; - float fVar27; - float fVar28; + EntityPtr EVar25; + void *pvVar26; + Entity *pEVar27; + int *extraout_EDX; + uint uVar28; EntityPtr EVar29; - double dVar30; + float fVar30; + float fVar31; + EntityPtr EVar32; + double dVar33; short sStack_2f0; EntityPtr EStack_2dc; float fStack_2d8; @@ -936098,7 +937629,7 @@ void Weapon_Bone::Fire(EntityPtr *param_1,char param_2,char param_3) EntityPtr local_238; EntityPtr local_234; EntityPtr local_230; - int local_22c; + undefined1 *local_22c; EntityPtr local_228; EntityPtr local_224; EntityPtr local_220; @@ -936121,18 +937652,33 @@ void Weapon_Bone::Fire(EntityPtr *param_1,char param_2,char param_3) byte local_1d9; EntityPtr local_1d8; undefined2 local_1d2; - EntityPtr local_1d0; + Entity *local_1d0; EntityPtr local_1cc; char local_1c8; char local_1c7; char local_1c6; char local_1c5; - EntityPtr local_1c4; - TearParams local_1c0; - int iStack_16c; - int local_168; - int local_164; - int local_160; + undefined1 local_1c4 [8]; + float local_1bc; + float local_1b8; + float fStack_1b4; + float fStack_1b0; + float fStack_1ac; + float local_1a8; + float fStack_1a4; + float fStack_1a0; + float fStack_19c; + undefined8 local_198; + float local_190; + undefined8 local_188; + undefined8 uStack_180; + float local_178; + float fStack_174; + float fStack_170; + float fStack_16c; + float local_168; + float local_164; + float local_160; undefined4 local_f0; undefined4 uStack_ec; undefined4 uStack_e8; @@ -936192,93 +937738,93 @@ void Weapon_Bone::Fire(EntityPtr *param_1,char param_2,char param_3) local_28c = param_1; local_268 = in_ECX; Weapon::Fire(); - local_22c = *(int *)((int)in_ECX + 0x30); - EVar23 = *(EntityPtr *)((int)in_ECX + 4); - EVar29 = EVar23; - if (EVar23 == (EntityPtr)0x0) { + local_22c = *(void **)((int)in_ECX + 0x30); + EVar25 = *(EntityPtr *)((int)in_ECX + 4); + EVar32 = EVar25; + if (EVar25 == (EntityPtr)0x0) { LAB_009fa53d: local_1e8 = (EntityPtr)0x0; - local_1cc = EVar23; - if (EVar23 == (EntityPtr)0x0) { + local_1cc = EVar25; + if (EVar25 == (EntityPtr)0x0) { LAB_009fa4db: } else { local_1e8 = (EntityPtr)0x0; - if (*(int *)((int)EVar23 + 0x28) == 1) goto LAB_009fa525; + if (*(int *)((int)EVar25 + 0x28) == 1) goto LAB_009fa525; } - EVar26 = local_1e8; - if (EVar23 != (EntityPtr)0x0) { + EVar29 = local_1e8; + if (EVar25 != (EntityPtr)0x0) { local_1cc = (EntityPtr)0x0; - if (*(int *)((int)EVar23 + 0x28) == 1) goto LAB_009fa525; - local_1e8 = EVar26; - if (*(int *)((int)EVar23 + 0x28) == 3) { + if (*(int *)((int)EVar25 + 0x28) == 1) goto LAB_009fa525; + local_1e8 = EVar29; + if (*(int *)((int)EVar25 + 0x28) == 3) { local_1cc = (EntityPtr)0x0; - EVar29 = *(EntityPtr *)((int)EVar23 + 0x410); - if (*(EntityPtr *)((int)EVar23 + 0x410) != (EntityPtr)0x0) goto LAB_009fa525; + EVar32 = *(EntityPtr *)((int)EVar25 + 0x410); + if (*(EntityPtr *)((int)EVar25 + 0x410) != (EntityPtr)0x0) goto LAB_009fa525; } } local_230 = (EntityPtr)0x3f800000; local_1cc = (EntityPtr)0x0; - if (EVar23 != (EntityPtr)0x0) goto LAB_009fa572; + if (EVar25 != (EntityPtr)0x0) goto LAB_009fa572; local_240 = g_vectorZero.x; local_1cc = (EntityPtr)0x0; local_230 = (EntityPtr)0x3f800000; local_23c = g_vectorZero.y; } else { - if (*(int *)((int)EVar23 + 0x28) != 1) { - if (*(int *)((int)EVar23 + 0x28) != 3) goto LAB_009fa53d; - local_1e8 = *(EntityPtr *)((int)EVar23 + 0x410); + if (*(int *)((int)EVar25 + 0x28) != 1) { + if (*(int *)((int)EVar25 + 0x28) != 3) goto LAB_009fa53d; + local_1e8 = *(EntityPtr *)((int)EVar25 + 0x410); goto LAB_009fa4db; } - local_1cc = EVar23; - local_1e8 = EVar23; + local_1cc = EVar25; + local_1e8 = EVar25; LAB_009fa525: - local_230 = *(EntityPtr *)((int)EVar29 + 0x1464); - EVar26 = local_1e8; + local_230 = *(EntityPtr *)((int)EVar32 + 0x1464); + EVar29 = local_1e8; LAB_009fa572: - local_240 = ((Vector *)((int)EVar23 + 0x33c))->x; - local_23c = *(float *)((int)EVar23 + 0x340); + local_240 = ((Vector *)((int)EVar25 + 0x33c))->x; + local_23c = *(float *)((int)EVar25 + 0x340); } local_200 = local_1cc; - pvVar22 = *(void **)((int)in_ECX + 0x34); + pvVar24 = *(void **)((int)in_ECX + 0x34); local_1d9 = *(byte *)((int)in_ECX + 0x34) & 1; - local_25c = (uint)pvVar22 >> 1 & 0xffffff01; - local_290 = (uint)pvVar22 >> 2 & 0xffffff01; - local_1ec = EVar26; - local_1c4 = local_230; - local_250 = (EntityPtr)((uint)pvVar22 >> 3 & 0xffffff01); - if ((((*(int *)((int)in_ECX + 0x30) == 0xb) || (EVar26 == (EntityPtr)0x0)) || - (bVar12 = Entity_Player::HasCollectible((Entity_Player *)EVar26,0x34,0), bVar12 == 0)) || - (bVar12 = Entity_Player::HasCollectible((Entity_Player *)EVar26,0xa8,0), bVar12 != 0)) { + local_25c = (uint)pvVar24 >> 1 & 0xffffff01; + local_290 = (uint)pvVar24 >> 2 & 0xffffff01; + local_1ec = EVar29; + local_1c4._0_4_ = local_230; + local_250 = (EntityPtr)((uint)pvVar24 >> 3 & 0xffffff01); + if ((((*(void **)((int)in_ECX + 0x30) == &DAT_0000000b) || (EVar29 == (EntityPtr)0x0)) || + (bVar13 = Entity_Player::HasCollectible((Entity_Player *)EVar29,0x34,0), bVar13 == 0)) || + (bVar13 = Entity_Player::HasCollectible((Entity_Player *)EVar29,0xa8,0), bVar13 != 0)) { local_1c7 = '\0'; - if ((local_22c != 0xb) && (EVar26 != (EntityPtr)0x0)) goto LAB_009fa65b; + if ((local_22c != &DAT_0000000b) && (EVar29 != (EntityPtr)0x0)) goto LAB_009fa65b; LAB_009fa671: local_202 = '\0'; } else { local_1c7 = '\x01'; LAB_009fa65b: - bVar12 = Entity_Player::HasCollectible((Entity_Player *)EVar26,0xa8,0); - if (bVar12 == 0) goto LAB_009fa671; + bVar13 = Entity_Player::HasCollectible((Entity_Player *)EVar29,0xa8,0); + if (bVar13 == 0) goto LAB_009fa671; local_202 = '\x01'; } if ((((uint)*(void **)((int)in_ECX + 0x34) >> 4 & 1) == 0) || (local_1f9 = '\x01', local_202 != '\0')) { local_1f9 = '\0'; } - if ((local_22c == 0xb) || (EVar26 == (EntityPtr)0x0)) { + if ((local_22c == &DAT_0000000b) || (EVar29 == (EntityPtr)0x0)) { LAB_009fa6bd: local_1c6 = '\0'; } else { - bVar12 = TemporaryEffects::HasCollectibleEffect - ((TemporaryEffects *)((int)EVar26 + 0x1508),0x2c0); + bVar13 = TemporaryEffects::HasCollectibleEffect + ((TemporaryEffects *)((int)EVar29 + 0x1508),0x2c0); local_1c6 = '\x01'; - if (bVar12 == 0) goto LAB_009fa6bd; + if (bVar13 == 0) goto LAB_009fa6bd; } local_244 = (uint)*(void **)((int)in_ECX + 0x34) >> 0xb & 0xffffff01; - uVar25 = local_244; + uVar28 = local_244; if (((local_1d9 == 0) && ((char)local_25c == '\0')) && ((char)local_290 == '\0')) { local_1c8 = '\0'; if (local_250._0_1_ != '\0') goto LAB_009fa703; @@ -936289,20 +937835,20 @@ LAB_009fa703: } if ((((uint)*(void **)((int)in_ECX + 0x34) >> 7 & 1) != 0) || (*(float *)((int)in_ECX + 0x10) <= 0.0)) { - pEVar15 = (EntityPtr *)((int)in_ECX + 0x10); + piVar21 = (int *)((int)in_ECX + 0x10); local_1e0 = (EntityPtr)0x3a83126f; local_1c5 = '\x01'; local_1cc = local_200; - local_230 = local_1c4; - pEVar17 = &local_1e0; - if (0.001 < (float)*pEVar15 || (float)*pEVar15 == 0.001) { - pEVar17 = pEVar15; + local_230 = (EntityPtr)local_1c4._0_4_; + pEVar16 = &local_1e0; + if (0.001 < (float)*piVar21 || (float)*piVar21 == 0.001) { + pEVar16 = (EntityPtr *)piVar21; } local_1e8 = local_1ec; - local_228 = *pEVar17; + local_228 = *pEVar16; local_1e0 = local_228; local_224 = local_228; - EVar26 = local_1ec; + EVar29 = local_1ec; if ((char)local_244 != '\0') { local_1c8 = '\x01'; local_1c5 = '\x01'; @@ -936311,24 +937857,24 @@ LAB_009fa703: } } else { - pEVar15 = (EntityPtr *)((int)in_ECX + 0x10); + piVar21 = (int *)((int)in_ECX + 0x10); local_1e0 = (EntityPtr)0x3a83126f; local_1c5 = '\0'; - pEVar17 = &local_1e0; - if (0.001 < (float)*pEVar15 || (float)*pEVar15 == 0.001) { - pEVar17 = pEVar15; + pEVar16 = &local_1e0; + if (0.001 < (float)*piVar21 || (float)*piVar21 == 0.001) { + pEVar16 = (EntityPtr *)piVar21; } - local_228 = *pEVar17; + local_228 = *pEVar16; local_224 = local_228; LAB_009fa822: local_1e0 = local_228; } local_201 = '\0'; - local_244 = uVar25; + local_244 = uVar28; local_228 = local_1e0; local_224 = local_1e0; - if ((EVar26 == (EntityPtr)0x0) || - (bVar12 = Entity_Player::HasCollectible((Entity_Player *)EVar26,0x72,0), bVar12 == 0)) { + if ((EVar29 == (EntityPtr)0x0) || + (bVar13 = Entity_Player::HasCollectible((Entity_Player *)EVar29,0x72,0), bVar13 == 0)) { local_200 = (EntityPtr)0x1; if (local_1c6 != '\0') { local_200 = (EntityPtr)0x3; @@ -936337,22 +937883,22 @@ LAB_009fa822: else { local_200 = (EntityPtr)0x2; } - fVar27 = 2.0; - if (local_22c == 0xb) { - local_200 = (EntityPtr)0x9; + fVar30 = 2.0; + if (local_22c == &DAT_0000000b) { + local_200 = (EntityPtr)&DAT_00000009; } if ((((char)local_25c == '\0') && ((char)local_244 == '\0')) || (local_1d9 != 0)) { - fVar27 = 3.0; + fVar30 = 3.0; } local_1c6 = param_2; - local_294 = (EntityPtr)(fVar27 * (float)local_224); - local_254 = (EntityPtr)(fVar27 * (float)local_224); + local_294 = (EntityPtr)(fVar30 * (float)local_224); + local_254 = (EntityPtr)(fVar30 * (float)local_224); local_228 = (EntityPtr)((float)local_228 + (float)local_1e0); if ((local_202 != '\0') && (local_1cc != (EntityPtr)0x0)) { if ((((param_2 == '\0') || - ((pvVar22 = *(void **)((int)local_1cc + 0x1410), pvVar22 == (void *)0x0 || - (*(char *)((int)pvVar22 + 0x171) != '\0')))) || (*(int *)((int)pvVar22 + 0x28) != 1000)) - || (*(int *)((int)pvVar22 + 0x2c) != 0x76)) { + ((pvVar24 = *(void **)((int)local_1cc + 0x1410), pvVar24 == (void *)0x0 || + (*(char *)((int)pvVar24 + 0x171) != '\0')))) || (*(int *)((int)pvVar24 + 0x28) != 1000)) + || (*(int *)((int)pvVar24 + 0x2c) != 0x76)) { if ((*(void **)((int)in_ECX + 0x58) != (int *)0x0) && (param_3 == '\0')) { (**(code **)(*(int *)*(void **)((int)in_ECX + 0x58) + 0x28))(); } @@ -936365,17 +937911,17 @@ LAB_009fa822: local_1ec = (EntityPtr)Game::Spawn(); *(float *)((int)local_1ec + 0x45c) = 0.0; *(undefined4 *)((int)local_1ec + 0x460) = 0; - EVar23 = *(EntityPtr *)((int)in_ECX + 0x58); - if (EVar23 != local_1ec) { - if (EVar23 != (EntityPtr)0x0) { - local_1c4 = (EntityPtr)((int)in_ECX + 0x58); + EVar25 = *(EntityPtr *)((int)in_ECX + 0x58); + if (EVar25 != local_1ec) { + if (EVar25 != (EntityPtr)0x0) { + local_1c4._0_4_ = (void **)((int)in_ECX + 0x58); std::multiset::erase(); } *(EntityPtr *)((int)in_ECX + 0x58) = local_1ec; std::multiset::insert(); - EVar23 = *(EntityPtr *)((int)in_ECX + 0x58); + EVar25 = *(EntityPtr *)((int)in_ECX + 0x58); } - if (EVar23 != (EntityPtr)0x0) goto LAB_009fa9d5; + if (EVar25 != (EntityPtr)0x0) goto LAB_009fa9d5; } } else { @@ -936391,72 +937937,73 @@ LAB_009fa9d5: } local_238 = local_1e0; local_234 = local_208; - bVar12 = Entity_Player::HasCollectible((Entity_Player *)local_1cc,0x166,0); - if ((bVar12 == 0) || - (bVar12 = Entity_Player::HasCollectible((Entity_Player *)local_1cc,0xf5,0), bVar12 != 0)) + bVar13 = Entity_Player::HasCollectible((Entity_Player *)local_1cc,0x166,0); + if ((bVar13 == 0) || + (bVar13 = Entity_Player::HasCollectible((Entity_Player *)local_1cc,0xf5,0), bVar13 != 0)) { - EVar23 = local_1e0; + EVar25 = local_1e0; } else { - EVar23 = (EntityPtr)0x3f490fdb; + EVar25 = (EntityPtr)0x3f490fdb; cos(); - fVar27 = 0.7853982; - local_1c4 = EVar23; + fVar30 = 0.7853982; + local_1c4._0_4_ = EVar25; sin(); - fVar28 = fVar27 * (float)local_208; - local_208 = (EntityPtr)(fVar27 * (float)local_1e0 + (float)local_1c4 * (float)local_208); - EVar23 = (EntityPtr)((float)local_1c4 * (float)local_1e0 - fVar28); + fVar31 = fVar30 * (float)local_208; + local_208 = (EntityPtr) + (fVar30 * (float)local_1e0 + (float)local_1c4._0_4_ * (float)local_208); + EVar25 = (EntityPtr)((float)local_1c4._0_4_ * (float)local_1e0 - fVar31); } - pvVar22 = *(void **)((int)in_ECX + 0x58); - *(float *)((int)pvVar22 + 0x360) = - (float)EVar23 * 8.0 * *(float *)((int)pvVar22 + 0x39c) + - *(float *)((int)pvVar22 + 0x360); - *(float *)((int)pvVar22 + 0x364) = - (float)local_208 * 8.0 * *(float *)((int)pvVar22 + 0x39c) + - *(float *)((int)pvVar22 + 0x364); + pvVar24 = *(void **)((int)in_ECX + 0x58); + *(float *)((int)pvVar24 + 0x360) = + (float)EVar25 * 8.0 * *(float *)((int)pvVar24 + 0x39c) + + *(float *)((int)pvVar24 + 0x360); + *(float *)((int)pvVar24 + 0x364) = + (float)local_208 * 8.0 * *(float *)((int)pvVar24 + 0x39c) + + *(float *)((int)pvVar24 + 0x364); } } } - pvVar22 = *(void **)((int)in_ECX + 4); + pvVar24 = *(void **)((int)in_ECX + 4); local_20c = (EntityPtr)0x3f800000; - if (pvVar22 != (void *)0x0) { + if (pvVar24 != (void *)0x0) { if (local_1cc == (EntityPtr)0x0) { - pEVar15 = (EntityPtr *)((int)pvVar22 + 0xe4); - pEVar17 = &local_1c4; - if (*(int *)((int)pvVar22 + 0x28) != 3) { - if (1.0 < (float)*pEVar15) { - pEVar17 = pEVar15; + pEVar16 = (EntityPtr *)((int)pvVar24 + 0xe4); + pEVar19 = (EntityPtr *)local_1c4; + if (*(int *)((int)pvVar24 + 0x28) != 3) { + if (1.0 < (float)*pEVar16) { + pEVar19 = pEVar16; } goto LAB_009fabed; } local_1ec = (EntityPtr)0x3f4ccccd; - local_1c4 = (EntityPtr)((float)*pEVar15 * 0.8); - if ((float)*pEVar15 * 0.8 <= 0.8) { - pEVar17 = &local_1ec; + local_1c4._0_4_ = (float)*pEVar16 * 0.8; + if ((float)*pEVar16 * 0.8 <= 0.8) { + pEVar19 = &local_1ec; } } else { - local_238 = *(EntityPtr *)((int)local_1cc + 0x14f0); + local_238 = (EntityPtr)((Vector *)((int)local_1cc + 0x14f0))->x; local_234 = *(EntityPtr *)((int)local_1cc + 0x14f4); - pEVar17 = &local_238; - if ((float)*(EntityPtr *)((int)local_1cc + 0x14f0) <= 1.0) { - pEVar17 = &local_1c4; + pEVar19 = &local_238; + if ((float)local_238 <= 1.0) { + pEVar19 = (EntityPtr *)local_1c4; } LAB_009fabed: - local_1c4 = (EntityPtr)0x3f800000; + local_1c4._0_4_ = (EntityPtr)0x3f800000; } - local_20c = *pEVar17; + local_20c = *pEVar19; } - if ((EVar26 != (EntityPtr)0x0) && (local_22c != 0xb)) { - bVar12 = TemporaryEffects::HasCollectibleEffect - ((TemporaryEffects *)((int)EVar26 + 0x1508),0x271); - if (bVar12 != 0) { + if ((EVar29 != (EntityPtr)0x0) && (local_22c != &DAT_0000000b)) { + bVar13 = TemporaryEffects::HasCollectibleEffect + ((TemporaryEffects *)((int)EVar29 + 0x1508),0x271); + if (bVar13 != 0) { local_20c = (EntityPtr)((float)local_20c * 4.0); } - bVar12 = Entity_Player::HasCollectible((Entity_Player *)EVar26,0xa9,0); - if (bVar12 == 0) { - bVar12 = Entity_Player::HasCollectible((Entity_Player *)EVar26,0x213,0); - if (bVar12 != 0) { + bVar13 = Entity_Player::HasCollectible((Entity_Player *)EVar29,0xa9,0); + if (bVar13 == 0) { + bVar13 = Entity_Player::HasCollectible((Entity_Player *)EVar29,0x213,0); + if (bVar13 != 0) { local_20c = (EntityPtr)((float)local_20c * 1.5); } } @@ -936464,11 +938011,11 @@ LAB_009fabed: local_20c = (EntityPtr)((float)local_20c + (float)local_20c); } } - if ((local_1f9 != '\0') && (*(int *)((int)in_ECX + 0x54) == 0)) { - TearParams::constructor(&local_1c0); - if (EVar26 != (EntityPtr)0x0) { + if ((local_1f9 != '\0') && (*(void **)((int)in_ECX + 0x54) == (void *)0x0)) { + TearParams::constructor((TearParams *)(local_1c4 + 4)); + if (EVar29 != (EntityPtr)0x0) { Random(); - EVar26 = local_1e8; + EVar29 = local_1e8; Entity_Player::GetTearHitParams(); TearParams::operator_(); } @@ -936482,7 +938029,7 @@ LAB_009fabed: local_1ec = (EntityPtr)((int)local_1d8 + 0x3bc); local_214 = *(EntityPtr *)((int)in_ECX + 4); if (*(int *)((int)local_1d8 + 0x3bc) != 0) { - local_1c4 = local_1ec; + local_1c4._0_4_ = local_1ec; std::multiset::erase(); } *(EntityPtr *)local_1ec = local_214; @@ -936492,62 +938039,61 @@ LAB_009fabed: Entity_Projectile::SetHeight((Entity_Projectile *)local_1d8); (**(code **)(*(int *)local_1d8 + 0x40))(); BitSet128::operator_or(); - pBVar14 = (BitSet128 *)BitSet128::operator_or(); - Entity_Tear::SetTearFlags((Entity_Tear *)local_1d8,*pBVar14); + pBVar15 = (BitSet128 *)BitSet128::operator_or(); + Entity_Tear::SetTearFlags((Entity_Tear *)local_1d8,*pBVar15); (**(code **)(*(int *)local_1d8 + 0x3c))(); - fVar27 = local_1c0._tearDamage; + fVar30 = local_178; sqrtf(); local_1ec = (EntityPtr)0x3c23d70a; - local_1c4 = (EntityPtr)(local_1c0._tearDamage * 0.04 + 1.5 + fVar27 * 0.15); - pEVar15 = &local_1c4; - if ((float)local_1c4 <= 0.01) { - pEVar15 = &local_1ec; + local_1c4._0_4_ = local_178 * 0.04 + 1.5 + fVar30 * 0.15; + pEVar16 = (EntityPtr *)local_1c4; + if ((float)local_1c4._0_4_ <= 0.01) { + pEVar16 = &local_1ec; } - EVar23 = *pEVar15; - *(EntityPtr *)((int)local_1d8 + 0x424) = EVar23; - *(EntityPtr *)((int)local_1d8 + 0x420) = EVar23; + EVar25 = *pEVar16; + *(EntityPtr *)((int)local_1d8 + 0x424) = EVar25; + *(EntityPtr *)((int)local_1d8 + 0x420) = EVar25; Entity_Tear::ResetSpriteScale((Entity_Tear *)local_1d8); (**(code **)(*(int *)local_1d8 + 0xc))(); if (*(EntityPtr *)((int)in_ECX + 0x54) != local_1d8) { if (*(EntityPtr *)((int)in_ECX + 0x54) != (EntityPtr)0x0) { - local_1c4 = (EntityPtr)((int)in_ECX + 0x54); + local_1c4._0_4_ = (void **)((int)in_ECX + 0x54); std::multiset::erase(); } *(EntityPtr *)((int)in_ECX + 0x54) = local_1d8; std::multiset::insert(); } } - if (((local_22c == 0xb) || (EVar26 == (EntityPtr)0x0)) || - (bVar12 = Entity_Player::HasCollectible((Entity_Player *)EVar26,0x57,0), bVar12 == 0)) { + if (((local_22c == &DAT_0000000b) || (EVar29 == (EntityPtr)0x0)) || + (bVar13 = Entity_Player::HasCollectible((Entity_Player *)EVar29,0x57,0), bVar13 == 0)) { local_1f9 = '\0'; - if ((local_22c != 0xb) && (EVar26 != (EntityPtr)0x0)) goto LAB_009faf3a; + if ((local_22c != &DAT_0000000b) && (EVar29 != (EntityPtr)0x0)) goto LAB_009faf3a; LAB_009faf4d: - cVar13 = '\0'; + cVar14 = '\0'; } else { local_1f9 = '\x01'; LAB_009faf3a: - bVar12 = Entity_Player::HasCollectible((Entity_Player *)EVar26,0x37,0); - if (bVar12 == 0) goto LAB_009faf4d; - cVar13 = '\x01'; + bVar13 = Entity_Player::HasCollectible((Entity_Player *)EVar29,0x37,0); + if (bVar13 == 0) goto LAB_009faf4d; + cVar14 = '\x01'; } - EVar23 = local_200; - local_1d2 = CONCAT11(cVar13,(undefined1)local_1d2); + EVar25 = local_200; + local_1d2 = CONCAT11(cVar14,(undefined1)local_1d2); local_208 = (EntityPtr)0x0; do { - if (((local_208 == (EntityPtr)0x0) || ((local_208 == (EntityPtr)0x1 && (cVar13 != '\0')))) || + if (((local_208 == (EntityPtr)0x0) || ((local_208 == (EntityPtr)0x1 && (cVar14 != '\0')))) || (local_1f9 != '\0')) { - local_1ec = (EntityPtr)((EntityPtr *)((int)in_ECX + 0x44) + (int)local_208); - EVar29 = ((EntityPtr *)((int)in_ECX + 0x44))[(int)local_208]; - if (EVar29 != (EntityPtr)0x0) { - if ((*(int *)((int)EVar29 + 0x28) == 8) && (*(EntityPtr *)((int)EVar29 + 0x2c) == EVar23)) - goto LAB_009fb07f; - (**(code **)(*(int *)EVar29 + 0x28))(); + local_1ec = (EntityPtr)((void **)((int)in_ECX + 0x44) + (int)local_208); + piVar21 = ((void **)((int)in_ECX + 0x44))[(int)local_208]; + if (piVar21 != (int *)0x0) { + if ((piVar21[10] == 8) && (*(EntityPtr *)(piVar21 + 0xb) == EVar25)) goto LAB_009fb07f; + (**(code **)(*piVar21 + 0x28))(); } local_214 = (EntityPtr)Weapon::fire_bone_club(); if ((EntityPtr)*(int **)local_1ec != local_214) { if (*(int **)local_1ec != (int *)0x0) { - local_1c4 = local_1ec; + local_1c4._0_4_ = local_1ec; std::multiset::erase(); } *(EntityPtr *)local_1ec = local_214; @@ -936560,20 +938106,20 @@ LAB_009faf3a: (**(code **)(*(int *)local_214 + 0xc))(); } else { - local_1ec = (EntityPtr)((EntityPtr *)((int)in_ECX + 0x44) + (int)local_208); + local_1ec = (EntityPtr)((void **)((int)in_ECX + 0x44) + (int)local_208); if ((*(int **)local_1ec != (int *)0x0) && ((**(code **)(**(int **)local_1ec + 0x28))(), *(int *)local_1ec != 0)) { - local_1c4 = local_1ec; + local_1c4._0_4_ = local_1ec; std::multiset::erase(); *(int *)local_1ec = 0; } } LAB_009fb07f: - EVar29 = local_1e8; + EVar32 = local_1e8; local_208 = (EntityPtr)((int)local_208 + 1); - cVar13 = local_1d2._1_1_; + cVar14 = local_1d2._1_1_; } while ((uint)local_208 < 4); - local_1d0 = *(EntityPtr *)((int)in_ECX + 0x44); + local_1d0 = *(void **)((int)in_ECX + 0x44); local_1f8.y = *(float *)(local_28c + 1); local_1f8.x = *(float *)local_28c; if (local_1f8.y == 0.0) { @@ -936597,82 +938143,82 @@ LAB_009fb07f: } } } - bVar12 = Weapon::IsAxisAligned((Weapon *)in_ECX); - if (bVar12 != 0) { - pEVar15 = (EntityPtr *)Vector::ToCardinal(); - local_1f8.x = (float)*pEVar15; - local_1f8.y = (float)pEVar15[1]; + bVar13 = Weapon::IsAxisAligned((Weapon *)in_ECX); + if (bVar13 != 0) { + pEVar16 = (EntityPtr *)Vector::ToCardinal(); + local_1f8.x = (float)*pEVar16; + local_1f8.y = (float)pEVar16[1]; } local_214 = (EntityPtr)local_1f8.y; local_1ec = (EntityPtr)local_1f8.x; if ((((local_1cc != (EntityPtr)0x0) && - (pvVar22 = *(void **)((int)in_ECX + 4), pvVar22 != (void *)0x0)) && - (*(int *)((int)pvVar22 + 0x28) == 1)) && - ((0 < *(int *)((int)pvVar22 + 0x145c) || - ((*(int *)((int)pvVar22 + 0x2c) == 1 && (*(int *)((int)pvVar22 + 0x1aec) == 8)))))) { - EVar26 = (EntityPtr)((float)(int)*(char *)((int)pvVar22 + 0x1578) * 45.0 * 0.017453292); - local_1c4 = EVar26; + (pvVar24 = *(void **)((int)in_ECX + 4), pvVar24 != (void *)0x0)) && + (*(int *)((int)pvVar24 + 0x28) == 1)) && + ((0 < *(int *)((int)pvVar24 + 0x145c) || + ((*(int *)((int)pvVar24 + 0x2c) == 1 && (*(int *)((int)pvVar24 + 0x1aec) == 8)))))) { + EVar29 = (EntityPtr)((float)(int)*(char *)((int)pvVar24 + 0x1578) * 45.0 * 0.017453292); + local_1c4._0_4_ = EVar29; cos(); - EVar23 = local_1c4; - local_2a0 = EVar26; + EVar25 = (EntityPtr)local_1c4._0_4_; + local_2a0 = EVar29; sin(); - local_1f8.x = (float)local_2a0 * (float)local_1ec - (float)EVar23 * (float)local_214; - local_1f8.y = (float)local_2a0 * (float)local_214 + (float)EVar23 * (float)local_1ec; - local_1e8 = EVar29; + local_1f8.x = (float)local_2a0 * (float)local_1ec - (float)EVar25 * (float)local_214; + local_1f8.y = (float)local_2a0 * (float)local_214 + (float)EVar25 * (float)local_1ec; + local_1e8 = EVar32; } - if ((*(char *)((int)local_1d0 + 0x465) == '\0') && (*(char *)((int)local_1d0 + 0x464) == '\0')) { + if ((*(char *)((int)&local_1d0[1]._sprite._filename._size + 1) == '\0') && + ((char)local_1d0[1]._sprite._filename._size == '\0')) { local_1ec = (EntityPtr)((int)in_ECX + 0x44); local_1e0 = (EntityPtr)0x0; - EVar23 = (EntityPtr)local_1f8.y; + EVar25 = (EntityPtr)local_1f8.y; do { - local_1c4 = *(EntityPtr *)local_1ec; - if (local_1c4 != (EntityPtr)0x0) { + local_1c4._0_4_ = *(undefined4 *)local_1ec; + if ((EntityPtr)local_1c4._0_4_ != (EntityPtr)0x0) { atan2f(); - fVar27 = (float)EVar23 * 57.295776 + *(float *)((int)&DAT_00b81710 + (int)local_1e0); - if (360.0 < ABS(fVar27)) { + fVar30 = (float)EVar25 * 57.295776 + *(float *)((int)&DAT_00b81710 + (int)local_1e0); + if (360.0 < ABS(fVar30)) { fmodf(); } - if (fVar27 <= 180.0) { - if (fVar27 < -180.0) { - fVar27 = fVar27 + 360.0; + if (fVar30 <= 180.0) { + if (fVar30 < -180.0) { + fVar30 = fVar30 + 360.0; } } else { - fVar27 = fVar27 - 360.0; + fVar30 = fVar30 - 360.0; } - *(float *)((int)local_1c4 + 0x438) = fVar27; - EVar23 = (EntityPtr)local_1f8.y; + *(float *)(local_1c4._0_4_ + 0x438) = fVar30; + EVar25 = (EntityPtr)local_1f8.y; } local_1e0 = (EntityPtr)((int)local_1e0 + 4); local_1ec = (EntityPtr)((int)local_1ec + 4); } while ((uint)local_1e0 < 0x10); - if (*(char *)((int)local_1d0 + 0x466) == '\0') { - *(undefined4 *)((int)local_1d0 + 0x43c) = 0; + if (*(char *)((int)&local_1d0[1]._sprite._filename._size + 2) == '\0') { + local_1d0[1]._subtype = 0; } - iVar16 = g_game->_frameCount - *(int *)((int)local_1d0 + 0x328); - if ((float)*(EntityPtr *)((int)in_ECX + 0x14) <= 0.0) { - if (iVar16 < 2) { + iVar17 = g_game->_frameCount - local_1d0->_spawnFrame; + if (((Vector *)((int)in_ECX + 0x14))->x <= 0.0) { + if (iVar17 < 2) { local_1ec = local_20c; } else { - local_1ec = (EntityPtr) - (((float)local_20c - *(float *)((int)local_1d0 + 0xe4)) * 0.5 + - *(float *)((int)local_1d0 + 0xe4)); + fVar30 = (local_1d0->_sprite)._scale.x; + local_1ec = (EntityPtr)(((float)local_20c - fVar30) * 0.5 + fVar30); } } else { - if (1 < iVar16) goto LAB_009fb512; + if (1 < iVar17) goto LAB_009fb512; local_1ec = local_20c; } local_1e0 = (EntityPtr)((int)in_ECX + 0x44); - local_214 = (EntityPtr)0x4; + local_214 = (EntityPtr)&DAT_00000004; do { if (*(int *)local_1e0 != 0) { init_club(); - iVar16 = *(int *)local_1e0; - fVar27 = (float)local_1ec * g_vectorOne.y; - *(float *)(iVar16 + 0xe4) = (float)local_1ec * g_vectorOne.x; - *(float *)(iVar16 + 0xe8) = fVar27; + iVar17 = *(int *)local_1e0; + fVar30 = (float)local_1ec * g_vectorOne.y; + *(float *)(iVar17 + 0xe4) = (float)local_1ec * g_vectorOne.x; + *(float *)(iVar17 + 0xe8) = fVar30; } local_214 = (EntityPtr)((int)local_214 + -1); local_1e0 = (EntityPtr)((int)local_1e0 + 4); @@ -936681,21 +938227,21 @@ LAB_009fb07f: LAB_009fb512: if (local_1c6 == '\0') { if (((char)local_290 != '\0') && - (bVar12 = Weapon::IsItemAnimFinished((Weapon *)in_ECX,0x76), bVar12 != 0)) { + (bVar13 = Weapon::IsItemAnimFinished((Weapon *)in_ECX,0x76), bVar13 != 0)) { Weapon::stop_costume_item_anim(); } if ((char)local_25c != '\0') { Weapon::stop_costume_item_anim(); } if ((local_1d9 != 0) && - (bVar12 = Weapon::IsItemAnimFinished((Weapon *)in_ECX,0x45), bVar12 != 0)) { + (bVar13 = Weapon::IsItemAnimFinished((Weapon *)in_ECX,0x45), bVar13 != 0)) { Weapon::stop_costume_item_anim(); } if ((local_250._0_1_ != '\0') && - (bVar12 = Weapon::IsItemAnimFinished((Weapon *)in_ECX,0xe5), bVar12 != 0)) { + (bVar13 = Weapon::IsItemAnimFinished((Weapon *)in_ECX,0xe5), bVar13 != 0)) { Weapon::stop_costume_item_anim(); } - if (((char)local_244 != '\0') && (cVar13 = Weapon::is_c_section_anim_finished(), cVar13 != '\0') + if (((char)local_244 != '\0') && (cVar14 = Weapon::is_c_section_anim_finished(), cVar14 != '\0') ) { Weapon::update_c_section_charge_anim(); } @@ -936704,110 +938250,110 @@ LAB_009fb512: ExceptionList = local_10; return; } - EVar23 = *(EntityPtr *)((int)in_ECX + 0x14); - local_210 = EVar23; + EVar25 = (EntityPtr)((Vector *)((int)in_ECX + 0x14))->x; + local_210 = EVar25; if (local_1c6 == '\0') { if ((local_1c8 != '\0') || (((local_1cc != (EntityPtr)0x0 && (*(void **)((int)local_1cc + 0x1410) != (void *)0x0)) || ((char)local_244 != '\0')))) { - if (0.0 < (float)EVar23) { + if (0.0 < (float)EVar25) { local_210 = (EntityPtr)0x0; if (0.0 <= *(float *)((int)in_ECX + 0xc)) { - *(EntityPtr *)((int)in_ECX + 0x5c) = (EntityPtr)0x0; + *(void **)((int)in_ECX + 0x5c) = (void *)0x0; } } goto LAB_009fba4f; } - if (1.0 < (float)EVar23) { + if (1.0 < (float)EVar25) { EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); local_8 = 4; local_200 = (EntityPtr)0x0; if (EStack_2b0 != (EntityPtr)0x0) { do { - local_1c4 = *(EntityPtr *)(iStack_2b8 + (int)local_200 * 4); - EVar23 = *(EntityPtr *)((int)local_1c4 + 0x3bc); - if ((EVar23 != (EntityPtr)0x0) && - ((EVar23 == *(EntityPtr *)((int)in_ECX + 4) || - (*(EntityPtr *)((int)EVar23 + 0x3bc) == *(EntityPtr *)((int)in_ECX + 4))))) { - fVar27 = *(float *)((int)local_1c4 + 0x43c) * 0.5; - if (360.0 < ABS(fVar27)) { + local_1c4._0_4_ = *(EntityPtr *)(iStack_2b8 + (int)local_200 * 4); + pvVar24 = *(void **)(local_1c4._0_4_ + 0x3bc); + if ((pvVar24 != (void *)0x0) && + ((pvVar24 == *(void **)((int)in_ECX + 4) || + (*(void **)((int)pvVar24 + 0x3bc) == *(void **)((int)in_ECX + 4))))) { + fVar30 = *(float *)(local_1c4._0_4_ + 0x43c) * 0.5; + if (360.0 < ABS(fVar30)) { fmodf(); } - if (fVar27 <= 180.0) { - if (fVar27 < -180.0) { - fVar27 = fVar27 + 360.0; + if (fVar30 <= 180.0) { + if (fVar30 < -180.0) { + fVar30 = fVar30 + 360.0; } } else { - fVar27 = fVar27 - 360.0; + fVar30 = fVar30 - 360.0; } - *(float *)((int)local_1c4 + 0x43c) = fVar27; + *(float *)(local_1c4._0_4_ + 0x43c) = fVar30; } local_200 = (EntityPtr)((int)local_200 + 1); } while ((uint)local_200 < (uint)EStack_2b0); - EVar29 = local_1e8; + EVar32 = local_1e8; } Weapon::SetBlinkTime(); Weapon::TriggerTearEffects(); - local_1c4 = (EntityPtr)((float)local_224 * 3.0); + local_1c4._0_4_ = (float)local_224 * 3.0; local_1ec = (EntityPtr)0x43960000; - local_224 = local_1c4; - pEVar15 = &local_1c4; - if ((float)*(EntityPtr *)((int)in_ECX + 0x14) <= (float)local_1c4) { - pEVar15 = (EntityPtr *)((int)in_ECX + 0x14); + local_224 = (EntityPtr)local_1c4._0_4_; + pVVar18 = (Vector *)local_1c4; + if (((Vector *)((int)in_ECX + 0x14))->x <= (float)local_1c4._0_4_) { + pVVar18 = (Vector *)((int)in_ECX + 0x14); } - local_200 = *pEVar15; - if ((EVar29 == (EntityPtr)0x0) || - (bVar12 = Entity_Player::HasCollectible((Entity_Player *)EVar29,0xe9,0), bVar12 == 0)) { - fVar27 = 300.0; + local_200 = (EntityPtr)pVVar18->x; + if ((EVar32 == (EntityPtr)0x0) || + (bVar13 = Entity_Player::HasCollectible((Entity_Player *)EVar32,0xe9,0), bVar13 == 0)) { + fVar30 = 300.0; local_1e0 = (EntityPtr)0x3e4ccccd; local_250 = (EntityPtr)((float)local_200 / (float)local_224); - pEVar15 = &local_250; + pEVar16 = &local_250; if ((float)local_200 / (float)local_224 <= 0.2) { - pEVar15 = &local_1e0; + pEVar16 = &local_1e0; } - local_214 = *pEVar15; - if (EVar29 == (EntityPtr)0x0) { - local_1c4 = (EntityPtr)0x43820000; + local_214 = *pEVar16; + if (EVar32 == (EntityPtr)0x0) { + local_1c4._0_4_ = (EntityPtr)0x43820000; } else { - local_1c4 = *(EntityPtr *)((int)EVar29 + 0x1480); + local_1c4._0_4_ = *(EntityPtr *)((int)EVar32 + 0x1480); } } else { local_1e0 = (EntityPtr)0x3e4ccccd; local_1ec = (EntityPtr)0x47c35000; - fVar27 = 100000.0; + fVar30 = 100000.0; local_250 = (EntityPtr)((float)local_200 / (float)local_224); - local_1c4 = *(EntityPtr *)((int)EVar29 + 0x1480); - pEVar15 = &local_250; + local_1c4._0_4_ = *(EntityPtr *)((int)EVar32 + 0x1480); + pEVar16 = &local_250; if ((float)local_200 / (float)local_224 <= 0.2) { - pEVar15 = &local_1e0; + pEVar16 = &local_1e0; } - local_214 = *pEVar15; + local_214 = *pEVar16; } local_1e0 = (EntityPtr)0x3e4ccccd; local_200 = (EntityPtr)0x43480000; - pEVar15 = &local_1c4; - if (fVar27 <= (float)local_1c4) { - pEVar15 = &local_1ec; + pEVar16 = (EntityPtr *)local_1c4; + if (fVar30 <= (float)local_1c4._0_4_) { + pEVar16 = &local_1ec; } - local_1c4 = (EntityPtr)((float)*pEVar15 * 0.9); - pEVar17 = &local_1c4; - if ((float)*pEVar15 * 0.9 <= 200.0) { - pEVar17 = &local_200; + local_1c4._0_4_ = (float)*pEVar16 * 0.9; + pEVar19 = (EntityPtr *)local_1c4; + if ((float)*pEVar16 * 0.9 <= 200.0) { + pEVar19 = &local_200; } - uVar25 = 0; - local_1c4 = *pEVar17; + uVar28 = 0; + local_1c4._0_4_ = *pEVar19; local_200 = (EntityPtr)((int)in_ECX + 0x44); do { - if ((*(EntityPtr *)local_200 != (EntityPtr)0x0) && - ((uVar25 == 0 || (*(char *)((int)*(EntityPtr *)local_200 + 0x466) != '\0')))) { + if ((*(void **)local_200 != (void *)0x0) && + ((uVar28 == 0 || (*(char *)((int)*(void **)local_200 + 0x466) != '\0')))) { Entity_Knife::Shoot(); } - uVar25 = uVar25 + 1; + uVar28 = uVar28 + 1; local_200 = (EntityPtr)((int)local_200 + 4); - } while (uVar25 < 4); + } while (uVar28 < 4); Weapon::SetHeadLockTime((Weapon *)in_ECX,2); if (local_1cc != (EntityPtr)0x0) { Entity_Player::TryForgottenThrow((Entity_Player *)local_1cc,&local_1f8); @@ -936818,38 +938364,38 @@ LAB_009fb512: tracked_alloc(); } } - if (*(EntityPtr *)((int)in_ECX + 0x44) != (EntityPtr)0x0) { - *(undefined1 *)((int)*(EntityPtr *)((int)in_ECX + 0x44) + 0x466) = 0; + if (*(void **)((int)in_ECX + 0x44) != (void *)0x0) { + *(undefined1 *)((int)*(void **)((int)in_ECX + 0x44) + 0x466) = 0; } - if (*(int *)((int)in_ECX + 0x48) != 0) { - *(undefined1 *)(*(int *)((int)in_ECX + 0x48) + 0x466) = 0; + if (*(void **)((int)in_ECX + 0x48) != (void *)0x0) { + *(undefined1 *)((int)*(void **)((int)in_ECX + 0x48) + 0x466) = 0; } if (*(void **)((int)in_ECX + 0x4c) != (void *)0x0) { *(undefined1 *)((int)*(void **)((int)in_ECX + 0x4c) + 0x466) = 0; } - if (*(EntityPtr *)((int)in_ECX + 0x50) != (EntityPtr)0x0) { - *(undefined1 *)((int)*(EntityPtr *)((int)in_ECX + 0x50) + 0x466) = 0; + if (*(void **)((int)in_ECX + 0x50) != (void *)0x0) { + *(undefined1 *)((int)*(void **)((int)in_ECX + 0x50) + 0x466) = 0; } *(float *)((int)in_ECX + 0x20) = g_vectorZero.x; *(float *)((int)in_ECX + 0x24) = g_vectorZero.y; - EVar23 = (EntityPtr)0x0; + EVar25 = (EntityPtr)0x0; LAB_009fb9ec: - EVar29 = local_1d0; + pEVar27 = local_1d0; goto LAB_009fb9f2; } LAB_009fba4f: - pvVar22 = *(void **)((int)in_ECX + 4); - if (((pvVar22 == (void *)0x0) || (*(int *)((int)pvVar22 + 0x28) != 1)) || - (*(int *)((int)pvVar22 + 0x18f8) < 1)) { + pvVar24 = *(void **)((int)in_ECX + 4); + if (((pvVar24 == (void *)0x0) || (*(int *)((int)pvVar24 + 0x28) != 1)) || + (*(int *)((int)pvVar24 + 0x18f8) < 1)) { if ((local_1cc != (EntityPtr)0x0) && (*(byte *)((int)local_1cc + 0x1519) == 0)) { - piVar19 = ((std_vector *)((int)local_1cc + 0x150c))->_begin; + piVar21 = ((std_vector *)((int)local_1cc + 0x150c))->_begin; ppvVar1 = (void **)((int)local_1cc + 0x1510); - if (piVar19 != *ppvVar1) { + if (piVar21 != *ppvVar1) { do { - if ((*(int *)*piVar19 == 0) && (((int *)*piVar19)[1] == 0x78)) goto LAB_009fbb11; - piVar19 = piVar19 + 4; - local_1e8 = EVar29; - } while (piVar19 != *ppvVar1); + if ((*(int *)*piVar21 == 0) && (((int *)*piVar21)[1] == 0x78)) goto LAB_009fbb11; + piVar21 = piVar21 + 4; + local_1e8 = EVar32; + } while (piVar21 != *ppvVar1); local_1c7 = local_1c7; local_1cc = local_1cc; } @@ -936860,10 +938406,10 @@ LAB_009fba4f: else { if (local_1c8 == '\0') goto LAB_009fbb11; LAB_009fbb7b: - if ((((local_1c6 != '\0') && ((float)local_294 <= (float)EVar23)) && - (local_1c6 = '\0', 0.0 < (float)EVar23)) && + if ((((local_1c6 != '\0') && ((float)local_294 <= (float)EVar25)) && + (local_1c6 = '\0', 0.0 < (float)EVar25)) && (local_210 = (EntityPtr)0x0, 0.0 <= *(float *)((int)in_ECX + 0xc))) { - *(EntityPtr *)((int)in_ECX + 0x5c) = (EntityPtr)0x0; + *(void **)((int)in_ECX + 0x5c) = (void *)0x0; } local_201 = '\x01'; } @@ -936871,30 +938417,31 @@ LAB_009fbb7b: else { LAB_009fbb11: local_1c8 = '\0'; - local_210 = EVar23; - local_1ec = EVar23; - *(EntityPtr *)((int)in_ECX + 0x14) = (EntityPtr)0x0; + local_210 = EVar25; + local_1ec = EVar25; + ((Vector *)((int)in_ECX + 0x14))->x = 0.0; if (local_1c5 != '\0') { - local_1c4 = (EntityPtr)0x3f800000; + local_1c4._0_4_ = (EntityPtr)0x3f800000; local_201 = '\x01'; - pEVar15 = &local_1c4; - if (1.0 <= (float)EVar23) { - pEVar15 = &local_1ec; + pEVar16 = (EntityPtr *)local_1c4; + if (1.0 <= (float)EVar25) { + pEVar16 = &local_1ec; } - local_210 = *pEVar15; + local_210 = *pEVar16; } } - EVar29 = local_1cc; - pEVar15 = (EntityPtr *)((int)in_ECX + 0x14); - if ((local_1c6 == '\0') || ((*(char *)((int)local_1d0 + 0x465) != '\0' && (local_1c5 == '\0')))) { + EVar32 = local_1cc; + pVVar18 = (Vector *)((int)in_ECX + 0x14); + if ((local_1c6 == '\0') || + ((*(char *)((int)&local_1d0[1]._sprite._filename._size + 1) != '\0' && (local_1c5 == '\0')))) { if ((local_1c8 == '\0') && (local_1c6 != '\0')) goto LAB_009fbc0f; LAB_009fbc27: if ((((local_1cc != (EntityPtr)0x0) && (*(void **)((int)local_1cc + 0x1410) != (void *)0x0)) && (local_1c6 == '\0')) || ((((char)local_244 != '\0' && (local_1c6 == '\0')) && ((*(float *)((int)in_ECX + 0xc) <= 0.0 && *(float *)((int)in_ECX + 0xc) != 0.0 && - (1.0 < (float)*pEVar15)))))) goto LAB_009fbcd3; - EVar23 = local_210; + (1.0 < pVVar18->x)))))) goto LAB_009fbcd3; + EVar25 = local_210; if (((local_1d9 == 0) && ((char)local_290 == '\0')) && (local_250._0_1_ == '\0')) { if ((char)local_25c != '\0') goto LAB_009fbc86; goto LAB_009fdeca; @@ -936902,7 +938449,7 @@ LAB_009fbc27: if ((char)local_25c == '\0') { if (local_1c6 == '\0') { if ((0.0 < *(float *)((int)in_ECX + 0xc) || *(float *)((int)in_ECX + 0xc) == 0.0) || - ((float)*pEVar15 <= 1.0)) goto LAB_009fb9ec; + (pVVar18->x <= 1.0)) goto LAB_009fb9ec; goto LAB_009fbcd3; } } @@ -936910,137 +938457,139 @@ LAB_009fbc27: LAB_009fbc86: if (local_1c6 == '\0') { if ((0.0 < *(float *)((int)in_ECX + 0xc) || *(float *)((int)in_ECX + 0xc) == 0.0) || - ((int)*(EntityPtr *)((int)in_ECX + 0x5c) < 1)) goto LAB_009fb9ec; + ((int)*(void **)((int)in_ECX + 0x5c) < 1)) goto LAB_009fb9ec; goto LAB_009fbcd3; } } } else { if (local_1c8 != '\0') { - if ((float)*pEVar15 <= 1.0 && (float)*pEVar15 != 1.0) { - *pEVar15 = (EntityPtr)0x3f800000; + if (pVVar18->x <= 1.0 && pVVar18->x != 1.0) { + pVVar18->x = 1.0; local_210 = (EntityPtr)0x3f800000; } goto LAB_009fbc27; } LAB_009fbc0f: if (((0.0 < *(float *)((int)in_ECX + 0xc) || *(float *)((int)in_ECX + 0xc) == 0.0) || - (0.0 < (float)*pEVar15)) || (*(char *)((int)local_1d0 + 0x464) != '\0')) goto LAB_009fbc27; + (0.0 < pVVar18->x)) || ((char)local_1d0[1]._sprite._filename._size != '\0')) + goto LAB_009fbc27; LAB_009fbcd3: Weapon::GetMultiShotParams(); - pvVar22 = *(void **)((int)in_ECX + 4); + pvVar24 = *(void **)((int)in_ECX + 4); *(EntityPtr *)((int)in_ECX + 0xc) = local_224; - if (pvVar22 != (void *)0x0) { - if (*(int *)((int)pvVar22 + 0x28) == 1) { - cVar13 = *(char *)((int)pvVar22 + 0x1578); + if (pvVar24 != (void *)0x0) { + if (*(int *)((int)pvVar24 + 0x28) == 1) { + cVar14 = *(char *)((int)pvVar24 + 0x1578); } - else if ((pvVar22 == (void *)0x0) || (cVar13 = '\0', *(int *)((int)pvVar22 + 0x28) != 1)) + else if ((pvVar24 == (void *)0x0) || (cVar14 = '\0', *(int *)((int)pvVar24 + 0x28) != 1)) goto LAB_009fbd18; - *(char *)((int)pvVar22 + 0x1578) = -cVar13; + *(char *)((int)pvVar24 + 0x1578) = -cVar14; } LAB_009fbd18: Weapon::SetBlinkTime(); Weapon::TriggerTearEffects(); local_1ec = (EntityPtr)0x3f000000; local_280 = (EntityPtr)0x3f800000; - local_1c4 = (EntityPtr)(1.0 / ((float)local_20c * 0.5 + 0.5)); - pEVar15 = &local_1c4; - if ((float)local_1c4 <= 0.5) { - pEVar15 = &local_1ec; + local_1c4._0_4_ = 1.0 / ((float)local_20c * 0.5 + 0.5); + pEVar16 = (EntityPtr *)local_1c4; + if ((float)local_1c4._0_4_ <= 0.5) { + pEVar16 = &local_1ec; } local_208 = (EntityPtr)local_2d0; - local_234 = *pEVar15; + local_234 = *pEVar16; local_1d2 = sStack_2f0; - if (EVar29 != (EntityPtr)0x0) { - pvVar22 = *(void **)((int)EVar29 + 0x1410); - local_1ec = (EntityPtr)((int)EVar29 + 0x1410); - if (pvVar22 != (void *)0x0) { - fVar27 = *(float *)((int)EVar29 + 0x340); - *(float *)((int)pvVar22 + 0x33c) = ((Vector *)((int)EVar29 + 0x33c))->x; - *(float *)((int)pvVar22 + 0x340) = fVar27; - EVar23 = *(EntityPtr *)((int)EVar29 + 0x1410); - local_1e0 = EVar23; - if (*(int *)((int)EVar23 + 0x28) == 4) { - *(uint *)((int)EVar23 + 0x16c) = *(uint *)((int)EVar23 + 0x16c) & 0xfdffffdf; - *(int *)((int)EVar23 + 0x168) = *(int *)((int)EVar23 + 0x168); - *(int *)((int)EVar23 + 0x354) = 0; + if (EVar32 != (EntityPtr)0x0) { + pvVar24 = *(void **)((int)EVar32 + 0x1410); + local_1ec = (EntityPtr)((int)EVar32 + 0x1410); + if (pvVar24 != (void *)0x0) { + fVar30 = *(float *)((int)EVar32 + 0x340); + *(float *)((int)pvVar24 + 0x33c) = ((Vector *)((int)EVar32 + 0x33c))->x; + *(float *)((int)pvVar24 + 0x340) = fVar30; + EVar25 = *(EntityPtr *)((int)EVar32 + 0x1410); + local_1e0 = EVar25; + if (*(undefined1 **)((int)EVar25 + 0x28) == &DAT_00000004) { + *(uint *)((int)EVar25 + 0x16c) = *(uint *)((int)EVar25 + 0x16c) & 0xfdffffdf; + *(int *)((int)EVar25 + 0x168) = *(int *)((int)EVar25 + 0x168); + *(int *)((int)EVar25 + 0x354) = 0; local_214 = (EntityPtr)0x0; if (0 < sStack_2f0) { - local_1c4 = (EntityPtr)((int)sStack_2f0 / 2); + local_1c4._0_4_ = (int)sStack_2f0 / 2; do { - EVar23 = local_1e0; + EVar25 = local_1e0; FUN_009f4230(local_27c,local_214,5,local_1f8.x,local_1f8.y,local_230); - if (local_214 == local_1c4) { + if (local_214 == (EntityPtr)local_1c4._0_4_) { *(undefined1 *)((int)local_1e0 + 0x461) = 1; } else { - EVar23 = (EntityPtr)Room::MamaMegaExplosion(); - iVar16 = *(int *)((int)*(void **)((int)local_1cc + 0x1410) + 0x410); - *(int *)((int)EVar23 + 0x410) = iVar16; - *(int *)((int)EVar23 + 0x414) = iVar16; + EVar25 = (EntityPtr)Room::MamaMegaExplosion(); + iVar17 = *(int *)((int)*(void **)((int)local_1cc + 0x1410) + 0x410); + *(int *)((int)EVar25 + 0x410) = iVar17; + *(int *)((int)EVar25 + 0x414) = iVar17; anim = (byte *)ANM2::GetAnimation(); local_8 = 0; if (0xf < *(uint *)(anim + 0x14)) { anim = *(byte **)anim; } - ANM2::Play((ANM2 *)((int)EVar23 + 0x48),anim,0); + ANM2::Play((ANM2 *)((int)EVar25 + 0x48),anim,0); local_8 = 0xffffffff; std::string::_Tidy_deallocate(); - if (*(int *)((int)EVar23 + 0x7c) != 0) { - AnimationState::SetFrameFloat((AnimationState *)((int)EVar23 + 0x78)); + if (*(int *)((int)EVar25 + 0x7c) != 0) { + AnimationState::SetFrameFloat((AnimationState *)((int)EVar25 + 0x78)); } } - *(int *)((int)EVar23 + 0x188) = 4; - *(int *)((int)EVar23 + 0x184) = 6; + *(undefined1 **)((int)EVar25 + 0x188) = &DAT_00000004; + *(undefined1 **)((int)EVar25 + 0x184) = &DAT_00000006; local_2a0 = local_270; local_1d8 = local_274; - if ((*(int *)((int)EVar23 + 0x2c) == 0x13) || (*(int *)((int)EVar23 + 0x2c) == 0x14)) - { - EVar29 = local_270; + if ((*(undefined1 **)((int)EVar25 + 0x2c) == &DAT_00000013) || + (*(undefined1 **)((int)EVar25 + 0x2c) == &DAT_00000014)) { + EVar32 = local_270; atan2f(); - *(float *)((int)EVar23 + 0x428) = (float)EVar29 * 57.295776; + *(float *)((int)EVar25 + 0x428) = (float)EVar32 * 57.295776; } else { - *(int *)((int)EVar23 + 0x41c) = -0x3f600000; + *(int *)((int)EVar25 + 0x41c) = -0x3f600000; } - *(int *)((int)EVar23 + 0x34c) = 0; - fVar27 = (float)local_2a0 * (float)local_2a0 + (float)local_1d8 * (float)local_1d8; - *(int *)((int)EVar23 + 0x350) = -0x3ea00000; + *(int *)((int)EVar25 + 0x34c) = 0; + fVar30 = (float)local_2a0 * (float)local_2a0 + (float)local_1d8 * (float)local_1d8; + *(int *)((int)EVar25 + 0x350) = -0x3ea00000; sqrtf(); - EVar29 = local_1d8; - EVar26 = local_2a0; - if (0.0 < fVar27) { - EVar29 = (EntityPtr)((float)local_1d8 * (1.0 / fVar27)); - EVar26 = (EntityPtr)((float)local_2a0 * (1.0 / fVar27)); + EVar32 = local_1d8; + EVar29 = local_2a0; + if (0.0 < fVar30) { + EVar32 = (EntityPtr)((float)local_1d8 * (1.0 / fVar30)); + EVar29 = (EntityPtr)((float)local_2a0 * (1.0 / fVar30)); } - fVar27 = ((Vector *)((int)local_1cc + 0x1660))->x * 0.6; - fVar28 = *(float *)((int)local_1cc + 0x1664) * 0.6; - *(float *)((int)EVar23 + 0x360) = (float)EVar29 * 20.0 + fVar27 + fVar27; - *(float *)((int)EVar23 + 0x364) = (float)EVar26 * 20.0 + fVar28 + fVar28; - (**(code **)(*(int *)EVar23 + 0x40))(); + fVar30 = ((Vector *)((int)local_1cc + 0x1660))->x * 0.6; + fVar31 = *(float *)((int)local_1cc + 0x1664) * 0.6; + *(float *)((int)EVar25 + 0x360) = (float)EVar32 * 20.0 + fVar30 + fVar30; + *(float *)((int)EVar25 + 0x364) = (float)EVar29 * 20.0 + fVar31 + fVar31; + (**(code **)(*(int *)EVar25 + 0x40))(); local_214 = (EntityPtr)((int)local_214 + 1); - *(int *)((int)EVar23 + 0x42c) = 0x41700000; + *(int *)((int)EVar25 + 0x42c) = 0x41700000; } while ((int)local_214 < (int)local_1d2); } } - else if ((*(int *)((int)EVar23 + 0x28) == 1000) && (*(int *)((int)EVar23 + 0x2c) == 0x76)) { - pvVar22 = *(void **)((int)in_ECX + 0x58); - if (pvVar22 == (void *)0x0) { + else if ((*(undefined1 **)((int)EVar25 + 0x28) == (undefined1 *)0x3e8) && + (*(int *)((int)EVar25 + 0x2c) == 0x76)) { + pvVar24 = *(void **)((int)in_ECX + 0x58); + if (pvVar24 == (void *)0x0) { local_220 = (EntityPtr)(local_240 + local_1f8.x * 80.0); local_21c = (EntityPtr)(local_23c + local_1f8.y * 80.0); } else { - local_220 = *(EntityPtr *)((int)pvVar22 + 0x33c); - local_21c = *(EntityPtr *)((int)pvVar22 + 0x340); + local_220 = *(EntityPtr *)((int)pvVar24 + 0x33c); + local_21c = *(EntityPtr *)((int)pvVar24 + 0x340); } - *(uint *)((int)EVar23 + 0x16c) = *(uint *)((int)EVar23 + 0x16c) & 0xffffffdf; - *(int *)((int)EVar23 + 0x168) = *(int *)((int)EVar23 + 0x168); + *(uint *)((int)EVar25 + 0x16c) = *(uint *)((int)EVar25 + 0x16c) & 0xffffffdf; + *(int *)((int)EVar25 + 0x168) = *(int *)((int)EVar25 + 0x168); local_214 = (EntityPtr)((float)local_220 - local_240); local_1d8 = (EntityPtr)((float)local_21c - local_23c); - *(int *)((int)EVar23 + 0x354) = 0; - *(int *)((int)EVar23 + 0x34c) = 0; - *(int *)((int)EVar23 + 0x350) = 0; - *(int *)((int)EVar23 + 0x450) = 1; + *(int *)((int)EVar25 + 0x354) = 0; + *(int *)((int)EVar25 + 0x34c) = 0; + *(int *)((int)EVar25 + 0x350) = 0; + *(int *)((int)EVar25 + 0x450) = 1; local_1e0 = (EntityPtr)0x0; if (0 < sStack_2f0) { local_220 = (EntityPtr)0x3f800000; @@ -937048,153 +938597,151 @@ LAB_009fbd18: local_21c = (EntityPtr)0x0; do { FUN_009f4230(local_27c,local_1e0,5,local_220,local_21c,local_230); - EVar29 = local_270; + EVar32 = local_270; atan2f(); - EVar29 = (EntityPtr)((float)EVar29 * 57.295776 * 0.017453292); - local_1c4 = EVar29; + EVar32 = (EntityPtr)((float)EVar32 * 57.295776 * 0.017453292); + local_1c4._0_4_ = EVar32; cos(); - local_2a0 = EVar29; + local_2a0 = EVar32; sin(); - fVar27 = (float)local_214 * (float)local_1c4; - local_1c4 = (EntityPtr) - (local_240 + - ((float)local_214 * (float)local_2a0 - (float)local_1d8 * (float)local_1c4 - )); - local_2a0 = (EntityPtr)(local_23c + (float)local_1d8 * (float)local_2a0 + fVar27); + fVar30 = (float)local_214 * (float)local_1c4._0_4_; + local_1c4._0_4_ = + local_240 + + ((float)local_214 * (float)local_2a0 - (float)local_1d8 * (float)local_1c4._0_4_) + ; + local_2a0 = (EntityPtr)(local_23c + (float)local_1d8 * (float)local_2a0 + fVar30); if (local_1e0 == local_248) { - EVar29 = EVar23; + EVar32 = EVar25; } else { Random(); - EVar29 = (EntityPtr)Game::Spawn(); + EVar32 = (EntityPtr)Game::Spawn(); } local_1e0 = (EntityPtr)((int)local_1e0 + 1); - *(EntityPtr *)((int)EVar29 + 0x338) = local_2a0; - *(EntityPtr *)((int)EVar29 + 0x450) = local_1e0; - *(EntityPtr *)((int)EVar29 + 0x334) = local_1c4; + *(EntityPtr *)((int)EVar32 + 0x338) = local_2a0; + *(EntityPtr *)((int)EVar32 + 0x450) = local_1e0; + *(undefined4 *)((int)EVar32 + 0x334) = local_1c4._0_4_; } while ((int)local_1e0 < (int)local_1d2); } } - *(undefined1 *)(*(int *)local_1ec + 0x171) = 1; - if (*(int *)local_1ec != 0) { + *(undefined1 *)((int)*(EntityPtr *)local_1ec + 0x171) = 1; + if (*(EntityPtr *)local_1ec != (EntityPtr)0x0) { local_248 = local_1ec; std::multiset::erase(); } - *(int *)local_1ec = 0; + *(EntityPtr *)local_1ec = (EntityPtr)0x0; } } if (local_1d9 != 0) { local_248 = (EntityPtr)0x3f800000; - local_1c4 = (EntityPtr) - (((float)*(EntityPtr *)((int)in_ECX + 0x14) / (float)local_224 - 1.0) + 1.0); - pEVar15 = &local_248; - if (1.0 <= (float)local_1c4) { - pEVar15 = &local_1c4; + local_1c4._0_4_ = (((Vector *)((int)in_ECX + 0x14))->x / (float)local_224 - 1.0) + 1.0; + pEVar16 = &local_248; + if (1.0 <= (float)local_1c4._0_4_) { + pEVar16 = (EntityPtr *)local_1c4; } - local_280 = *pEVar15; + local_280 = *pEVar16; } - if ((local_250._0_1_ != '\0') && ((float)local_228 <= (float)*(EntityPtr *)((int)in_ECX + 0x14)) - ) { + if ((local_250._0_1_ != '\0') && ((float)local_228 <= ((Vector *)((int)in_ECX + 0x14))->x)) { Weapon::UpdateHeadChargeAnimation(); local_220 = (EntityPtr)(local_1f8.x * 10.0); local_21c = (EntityPtr)(local_1f8.y * 10.0); local_1e0 = local_21c; local_1d8 = local_220; - pfVar18 = (float *)Weapon::get_tear_movement_inheritance(); - EVar23 = local_1e8; - local_1d8 = (EntityPtr)((float)local_1d8 + *pfVar18); - local_1e0 = (EntityPtr)((float)local_1e0 + pfVar18[1]); + pfVar20 = (float *)Weapon::get_tear_movement_inheritance(); + EVar25 = local_1e8; + local_1d8 = (EntityPtr)((float)local_1d8 + *pfVar20); + local_1e0 = (EntityPtr)((float)local_1e0 + pfVar20[1]); if ((local_1e8 == (EntityPtr)0x0) || - (bVar12 = Entity_Player::HasCollectible((Entity_Player *)local_1e8,0x95,0), bVar12 == 0)) { + (bVar13 = Entity_Player::HasCollectible((Entity_Player *)local_1e8,0x95,0), bVar13 == 0)) { local_1ec = (EntityPtr)0xc; - if (EVar23 != (EntityPtr)0x0) goto LAB_009fc57a; + if (EVar25 != (EntityPtr)0x0) goto LAB_009fc57a; } else { - iVar16 = Random(); - fVar27 = (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * 2.3283064e-10 + iVar17 = Random(); + fVar30 = (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * 0.2 + 0.7; - local_1d8 = (EntityPtr)((float)local_1d8 * fVar27); - local_1e0 = (EntityPtr)((float)local_1e0 * fVar27); + local_1d8 = (EntityPtr)((float)local_1d8 * fVar30); + local_1e0 = (EntityPtr)((float)local_1e0 * fVar30); LAB_009fc57a: local_1ec = (EntityPtr)0xc; - bVar12 = Entity_Player::HasCollectible((Entity_Player *)EVar23,0x213,0); - if (bVar12 != 0) { - bVar12 = Entity_Player::HasCollectible((Entity_Player *)EVar23,0x76,0); - local_1ec = (EntityPtr)((uint)(bVar12 == 0) * 2 + 5); + bVar13 = Entity_Player::HasCollectible((Entity_Player *)EVar25,0x213,0); + if (bVar13 != 0) { + bVar13 = Entity_Player::HasCollectible((Entity_Player *)EVar25,0x76,0); + local_1ec = (EntityPtr)((uint)(bVar13 == 0) * 2 + 5); } } - bVar12 = Entity_Player::HasCollectible((Entity_Player *)EVar23,0x34,0); - EVar23 = local_1ec; - if (bVar12 != 0) { - EVar23 = (EntityPtr)0x5; + bVar13 = Entity_Player::HasCollectible((Entity_Player *)EVar25,0x34,0); + EVar25 = local_1ec; + if (bVar13 != 0) { + EVar25 = (EntityPtr)&DAT_00000005; } - local_1c4 = EStack_2dc; + local_1c4._0_4_ = EStack_2dc; local_248 = (EntityPtr) - ((float)((int)EVar23 + (int)(((float)(int)EVar23 / 5.0) * (float)(int)local_1d2)) + ((float)((int)EVar25 + (int)(((float)(int)EVar25 / 5.0) * (float)(int)local_1d2)) / (float)(int)EStack_2dc); - dVar30 = ceil((double)(float)local_248); - local_214 = (EntityPtr)(float)dVar30; + dVar33 = ceil((double)(float)local_248); + local_214 = (EntityPtr)(float)dVar33; local_2a0 = (EntityPtr)0x0; - if (0 < (int)local_1c4) { + if (0 < (int)local_1c4._0_4_) { do { - EVar23 = local_2a0; - fVar27 = 0.0; - if (1 < (int)local_1c4) { + EVar25 = local_2a0; + fVar30 = 0.0; + if (1 < (int)local_1c4._0_4_) { local_1ec = (EntityPtr)-fStack_2d8; - local_248 = (EntityPtr)((float)(int)local_1c4 - 1.0); + local_248 = (EntityPtr)((float)(int)local_1c4._0_4_ - 1.0); if ((float)local_248 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(); } - fVar27 = ((float)(int)local_2a0 - 0.0) / ((float)local_248 - 0.0); - if (fVar27 <= 0.0) { - fVar27 = 0.0; + fVar30 = ((float)(int)local_2a0 - 0.0) / ((float)local_248 - 0.0); + if (fVar30 <= 0.0) { + fVar30 = 0.0; } - if (1.0 <= fVar27) { - fVar27 = 1.0; + if (1.0 <= fVar30) { + fVar30 = 1.0; } - fVar27 = (fStack_2d8 - (float)local_1ec) * fVar27 + (float)local_1ec; + fVar30 = (fStack_2d8 - (float)local_1ec) * fVar30 + (float)local_1ec; } - EVar26 = (EntityPtr)(fVar27 * 0.017453292); - local_248 = EVar26; + EVar29 = (EntityPtr)(fVar30 * 0.017453292); + local_248 = EVar29; cos(); - EVar29 = local_248; - local_1ec = EVar26; + EVar32 = local_248; + local_1ec = EVar29; sin(); - fVar28 = (float)local_1d8 * (float)local_1ec; - fVar27 = (float)local_1e0 * (float)local_1ec; + fVar31 = (float)local_1d8 * (float)local_1ec; + fVar30 = (float)local_1e0 * (float)local_1ec; local_1ec = (EntityPtr)0x0; if (0 < (int)(float)local_214) { - local_260 = (EntityPtr)((fVar28 - (float)local_1e0 * (float)EVar29) * (float)local_230); - local_21c = (EntityPtr)((fVar27 + (float)local_1d8 * (float)EVar29) * (float)local_230); + local_260 = (EntityPtr)((fVar31 - (float)local_1e0 * (float)EVar32) * (float)local_230); + local_21c = (EntityPtr)((fVar30 + (float)local_1d8 * (float)EVar32) * (float)local_230); do { - iVar16 = Random(); - fVar27 = (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + iVar17 = Random(); + fVar30 = (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * 3.14; - EVar23 = (EntityPtr)(fVar27 + fVar27); - local_248 = EVar23; + EVar25 = (EntityPtr)(fVar30 + fVar30); + local_248 = EVar25; sin(); - local_284 = EVar23; - iVar16 = Random(); + local_284 = EVar25; + iVar17 = Random(); local_298 = (EntityPtr) - ((float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + ((float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10); - EVar23 = local_248; + EVar25 = local_248; cos(); - local_274 = (EntityPtr)((float)EVar23 * (float)local_298 * 3.5 + (float)local_260); + local_274 = (EntityPtr)((float)EVar25 * (float)local_298 * 3.5 + (float)local_260); local_270 = (EntityPtr)((float)local_298 * (float)local_284 * 3.5 + (float)local_21c); - EVar23 = (EntityPtr)Weapon::fire_tear(); - local_284 = EVar23; - if ((*(int *)((int)EVar23 + 0x2c) == 0x1d) && (uVar25 = Random(), (uVar25 & 3) != 0)) + EVar25 = (EntityPtr)Weapon::fire_tear(); + local_284 = EVar25; + if ((*(int *)((int)EVar25 + 0x2c) == 0x1d) && (uVar28 = Random(), (uVar28 & 3) != 0)) { uStack_48 = 0; fStack_44 = 2.10195e-44; local_58 = 0; std::string::assign(); local_8 = 1; - Sprite::ReplaceSpritesheet((Sprite *)((int)EVar23 + 0x48)); + Sprite::ReplaceSpritesheet((Sprite *)((int)EVar25 + 0x48)); local_8 = 0xffffffff; - bVar12 = extraout_CL; + bVar13 = extraout_CL; if (0xf < (uint)fStack_44) { if ((0xfff < (int)fStack_44 + 1U) && (0x1f < (local_58 - *(int *)(local_58 + -4)) - 4U)) { @@ -937202,69 +938749,68 @@ LAB_009fc57a: _invalid_parameter_noinfo_noreturn(); } operator_delete(); - bVar12 = extraout_CL_00; + bVar13 = extraout_CL_00; } - ANM2::LoadGraphics((ANM2 *)((int)EVar23 + 0x48),bVar12); + ANM2::LoadGraphics((ANM2 *)((int)EVar25 + 0x48),bVar13); } if (local_1e8 == (EntityPtr)0x0) { LAB_009fc98a: - *(float *)((int)EVar23 + 0x418) = *(float *)((int)local_1e8 + 0x147c) + 0.5; - iVar16 = Random(); - *(float *)((int)EVar23 + 0x414) = + *(float *)((int)EVar25 + 0x418) = *(float *)((int)local_1e8 + 0x147c) + 0.5; + iVar17 = Random(); + *(float *)((int)EVar25 + 0x414) = (*(float *)((int)local_1e8 + 0x1478) - - (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * 15.0) + 5.0; } else { - bVar12 = Entity_Player::HasCollectible((Entity_Player *)local_1e8,0x95,0); - if (bVar12 == 0) { - local_50 = (undefined4)((BitSet128 *)((int)EVar23 + 0x428))->_l; - uStack_4c = *(undefined4 *)((int)EVar23 + 0x42c); - uStack_48 = *(undefined4 *)((int)EVar23 + 0x430); - fStack_44 = *(float *)((int)EVar23 + 0x434); - piVar19 = (int *)BitSet128::operator_and(); - if ((*piVar19 == 0 && piVar19[1] == 0) && (piVar19[2] == 0 && piVar19[3] == 0)) + bVar13 = Entity_Player::HasCollectible((Entity_Player *)local_1e8,0x95,0); + if (bVar13 == 0) { + local_50 = (undefined4)((BitSet128 *)((int)EVar25 + 0x428))->_l; + uStack_4c = *(undefined4 *)((int)EVar25 + 0x42c); + uStack_48 = *(undefined4 *)((int)EVar25 + 0x430); + fStack_44 = *(float *)((int)EVar25 + 0x434); + piVar21 = (int *)BitSet128::operator_and(); + if ((*piVar21 == 0 && piVar21[1] == 0) && (piVar21[2] == 0 && piVar21[3] == 0)) goto LAB_009fc98a; } } - uVar25 = Random(); - iVar16 = Random(); - EVar23 = local_284; + uVar28 = Random(); + iVar17 = Random(); + EVar25 = local_284; local_298 = (EntityPtr)0x3c23d70a; local_284 = (EntityPtr) - ((((float)(uVar25 & 1) + 0.0) * 0.4 + 0.9 + - (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + ((((float)(uVar28 & 1) + 0.0) * 0.4 + 0.9 + + (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * 0.05) * *(float *)((int)local_284 + 0x420)); - pEVar15 = &local_284; + pEVar16 = &local_284; if ((float)local_284 <= 0.01) { - pEVar15 = &local_298; + pEVar16 = &local_298; } - EVar29 = *pEVar15; - *(EntityPtr *)((int)EVar23 + 0x424) = EVar29; - *(EntityPtr *)((int)EVar23 + 0x420) = EVar29; - Entity_Tear::ResetSpriteScale((Entity_Tear *)EVar23); + EVar32 = *pEVar16; + *(EntityPtr *)((int)EVar25 + 0x424) = EVar32; + *(EntityPtr *)((int)EVar25 + 0x420) = EVar32; + Entity_Tear::ResetSpriteScale((Entity_Tear *)EVar25); local_1ec = (EntityPtr)((int)local_1ec + 1); } while ((int)local_1ec < (int)(float)local_214); - EVar23 = local_2a0; + EVar25 = local_2a0; } - local_2a0 = (EntityPtr)((int)EVar23 + 1); - } while ((int)local_2a0 < (int)local_1c4); + local_2a0 = (EntityPtr)((int)EVar25 + 1); + } while ((int)local_2a0 < (int)local_1c4._0_4_); } } - if (((char)local_290 != '\0') && ((float)local_228 <= (float)*(EntityPtr *)((int)in_ECX + 0x14)) - ) { + if (((char)local_290 != '\0') && ((float)local_228 <= ((Vector *)((int)in_ECX + 0x14))->x)) { Weapon::UpdateHeadChargeAnimation(); - EVar23 = (EntityPtr)local_1f8.y; + EVar25 = (EntityPtr)local_1f8.y; atan2f(); - local_21c = (EntityPtr)((float)EVar23 * 57.295776); + local_21c = (EntityPtr)((float)EVar25 * 57.295776); local_1e0 = (EntityPtr)0x0; do { - local_1c4 = ((EntityPtr *)((int)in_ECX + 0x44))[(int)local_1e0]; - EVar23 = local_1e0; - if ((local_1c4 != (EntityPtr)0x0) && + local_1c4._0_4_ = *(EntityPtr *)((void **)((int)in_ECX + 0x44) + (int)local_1e0); + EVar25 = local_1e0; + if (((EntityPtr)local_1c4._0_4_ != (EntityPtr)0x0) && ((local_1e0 == (EntityPtr)0x0 || (((local_1e0 == (EntityPtr)0x1 && (cStack_2d3 != '\0')) || (cStack_2d2 != '\0')))))) { - pcVar3 = *(code **)(*(int *)local_1c4 + 0x3c); + pcVar3 = *(code **)(*(int *)local_1c4._0_4_ + 0x3c); if (local_1e8 == (EntityPtr)0x0) { Color::Reset(); local_f0 = 0x3f800000; @@ -937307,157 +938853,156 @@ LAB_009fc98a: local_78 = local_a4; } (*pcVar3)(); - EVar23 = local_1e0; + EVar25 = local_1e0; if (local_1e0 == (EntityPtr)0x0) { if (0 < local_1d2) { local_29c = 0x3f800000; local_298 = local_1e0; - iVar16 = 0; + iVar17 = 0; do { - FUN_009f4230(local_2ac,iVar16,10,local_29c,local_298,local_230); - EVar23 = local_2a0; + FUN_009f4230(local_2ac,iVar17,10,local_29c,local_298,local_230); + EVar25 = local_2a0; atan2f(); - EVar29 = (EntityPtr)(((float)EVar23 * 57.295776 + (float)local_21c) * 0.017453292); - local_260 = EVar29; + EVar32 = (EntityPtr)(((float)EVar25 * 57.295776 + (float)local_21c) * 0.017453292); + local_260 = EVar32; sin(); - EVar23 = local_260; - local_284 = EVar29; + EVar25 = local_260; + local_284 = EVar32; cos(); local_270 = (EntityPtr)((float)local_284 * 6.0); - local_274 = (EntityPtr)((float)EVar23 * 6.0); - local_24c = local_240 + (float)EVar23 * 30.0; + local_274 = (EntityPtr)((float)EVar25 * 6.0); + local_24c = local_240 + (float)EVar25 * 30.0; local_248 = (EntityPtr)(local_23c + (float)local_284 * 30.0); Weapon::fire_brimstone_ball(); - iVar16 = iVar16 + 1; - } while (iVar16 < local_1d2); + iVar17 = iVar17 + 1; + } while (iVar17 < local_1d2); } - EVar23 = local_1e0; + EVar25 = local_1e0; } else { - EVar29 = (EntityPtr)local_1f8.y; + EVar32 = (EntityPtr)local_1f8.y; atan2f(); - fVar27 = (float)EVar29 * 57.295776 + (float)(&DAT_00b81710)[(int)EVar23]; - if (360.0 < ABS(fVar27)) { + fVar30 = (float)EVar32 * 57.295776 + (float)(&DAT_00b81710)[(int)EVar25]; + if (360.0 < ABS(fVar30)) { fmodf(); } - if (fVar27 <= 180.0) { - if (fVar27 < -180.0) { - fVar27 = fVar27 + 360.0; + if (fVar30 <= 180.0) { + if (fVar30 < -180.0) { + fVar30 = fVar30 + 360.0; } } else { - fVar27 = fVar27 - 360.0; + fVar30 = fVar30 - 360.0; } - EVar26 = (EntityPtr)(fVar27 * 0.017453292); - local_260 = EVar26; + EVar29 = (EntityPtr)(fVar30 * 0.017453292); + local_260 = EVar29; sin(); - EVar29 = local_260; - local_284 = EVar26; + EVar32 = local_260; + local_284 = EVar29; cos(); local_1ec = (EntityPtr)((float)local_284 * 6.0); - local_1f0 = (float)EVar29 * 6.0; - local_218 = local_240 + (float)EVar29 * 30.0; + local_1f0 = (float)EVar32 * 6.0; + local_218 = local_240 + (float)EVar32 * 30.0; local_214 = (EntityPtr)(local_23c + (float)local_284 * 30.0); Weapon::fire_brimstone_ball(); } } pMVar11 = g_manager; - local_1e0 = (EntityPtr)((int)EVar23 + 1); - } while ((uint)local_1e0 < 4); - local_1c4 = (EntityPtr)0x7; + local_1e0 = (EntityPtr)((int)EVar25 + 1); + } while ((uint)local_1e0 < &DAT_00000004); + local_1c4._0_4_ = &DAT_00000007; seed_fart_sound_override(); - SoundEffects::Play(&pMVar11->_sfxManager,(int)local_1c4,0.5,2,0,1.0,0.0); + SoundEffects::Play(&pMVar11->_sfxManager,local_1c4._0_4_,0.5,2,0,1.0,0.0); Weapon::SetBlinkTime(); } - if (((char)local_244 != '\0') && ((float)local_228 <= (float)*(EntityPtr *)((int)in_ECX + 0x14)) - ) { + if (((char)local_244 != '\0') && ((float)local_228 <= ((Vector *)((int)in_ECX + 0x14))->x)) { Weapon::update_c_section_charge_anim(); - EVar23 = (EntityPtr)local_1f8.y; + EVar25 = (EntityPtr)local_1f8.y; atan2f(); - local_284 = (EntityPtr)((float)EVar23 * 57.295776); + local_284 = (EntityPtr)((float)EVar25 * 57.295776); local_1ec = (EntityPtr)0x0; do { - EVar23 = local_1ec; - if (((EntityPtr *)((int)in_ECX + 0x44))[(int)local_1ec] != (EntityPtr)0x0) { + EVar25 = local_1ec; + if (((void **)((int)in_ECX + 0x44))[(int)local_1ec] != (void *)0x0) { if (local_1ec == (EntityPtr)0x0) { - local_1c4 = (EntityPtr)0x0; + local_1c4._0_4_ = (EntityPtr)0x0; if (0 < local_1d2) { local_24c = 1.0; local_248 = (EntityPtr)0x0; local_298 = (EntityPtr)0x3c23d70a; do { - FUN_009f4230(&local_50,local_1c4,10,local_24c,local_248,local_230); - fVar27 = fStack_44; + FUN_009f4230(&local_50,local_1c4._0_4_,10,local_24c,local_248,local_230); + fVar30 = fStack_44; atan2f(); - EVar29 = (EntityPtr)((fVar27 * 57.295776 + (float)local_284) * 0.017453292); - local_21c = EVar29; + EVar32 = (EntityPtr)((fVar30 * 57.295776 + (float)local_284) * 0.017453292); + local_21c = EVar32; sin(); - EVar23 = local_21c; - local_260 = EVar29; + EVar25 = local_21c; + local_260 = EVar32; cos(); local_2a0 = (EntityPtr)((float)local_260 * 10.0); - local_2a4 = (float)EVar23 * 10.0; - local_1e4 = local_240 + (float)EVar23 * 4.0; + local_2a4 = (float)EVar25 * 10.0; + local_1e4 = local_240 + (float)EVar25 * 4.0; local_1e0 = (EntityPtr)(local_23c + (float)local_260 * 4.0); - pEVar20 = (Entity_Tear *)fire_fetus_tear(); - local_21c = (EntityPtr)(pEVar20->_fScale * 1.2); - pEVar15 = &local_21c; + pEVar22 = (Entity_Tear *)fire_fetus_tear(); + local_21c = (EntityPtr)(pEVar22->_fScale * 1.2); + pEVar16 = &local_21c; if ((float)local_21c <= 0.01) { - pEVar15 = &local_298; + pEVar16 = &local_298; } - EVar23 = *pEVar15; - pEVar20->_baseScale = (float)EVar23; - pEVar20->_fScale = (float)EVar23; - Entity_Tear::ResetSpriteScale(pEVar20); - pEVar20->_tearRange = pEVar20->_tearRange + pEVar20->_tearRange; - (**(code **)(*(int *)pEVar20 + 0xc))(); - local_1c4 = (EntityPtr)((int)local_1c4 + 1); - } while ((int)local_1c4 < (int)local_1d2); + EVar25 = *pEVar16; + pEVar22->_baseScale = (float)EVar25; + pEVar22->_fScale = (float)EVar25; + Entity_Tear::ResetSpriteScale(pEVar22); + pEVar22->_tearRange = pEVar22->_tearRange + pEVar22->_tearRange; + (**(code **)(*(int *)pEVar22 + 0xc))(); + local_1c4._0_4_ = local_1c4._0_4_ + 1; + } while ((int)local_1c4._0_4_ < (int)local_1d2); } } else if (((local_1ec == (EntityPtr)0x1) && (cStack_2d3 != '\0')) || (cStack_2d2 != '\0')) { - EVar29 = (EntityPtr)local_1f8.y; + EVar32 = (EntityPtr)local_1f8.y; atan2f(); - fVar27 = (float)EVar29 * 57.295776 + (float)(&DAT_00b81710)[(int)EVar23]; - if (360.0 < ABS(fVar27)) { + fVar30 = (float)EVar32 * 57.295776 + (float)(&DAT_00b81710)[(int)EVar25]; + if (360.0 < ABS(fVar30)) { fmodf(); } - if (fVar27 <= 180.0) { - if (fVar27 < -180.0) { - fVar27 = fVar27 + 360.0; + if (fVar30 <= 180.0) { + if (fVar30 < -180.0) { + fVar30 = fVar30 + 360.0; } } else { - fVar27 = fVar27 - 360.0; + fVar30 = fVar30 - 360.0; } - EVar29 = (EntityPtr)(fVar27 * 0.017453292); - local_21c = EVar29; + EVar32 = (EntityPtr)(fVar30 * 0.017453292); + local_21c = EVar32; sin(); - EVar23 = local_21c; - local_260 = EVar29; + EVar25 = local_21c; + local_260 = EVar32; cos(); local_270 = (EntityPtr)((float)local_260 * 10.0); - local_274 = (EntityPtr)((float)EVar23 * 10.0); - local_218 = local_240 + (float)EVar23 * 4.0; + local_274 = (EntityPtr)((float)EVar25 * 10.0); + local_218 = local_240 + (float)EVar25 * 4.0; local_214 = (EntityPtr)(local_23c + (float)local_260 * 4.0); - pEVar20 = (Entity_Tear *)fire_fetus_tear(); + pEVar22 = (Entity_Tear *)fire_fetus_tear(); local_260 = (EntityPtr)0x3c23d70a; - local_21c = (EntityPtr)(pEVar20->_fScale * 1.2); - pEVar15 = &local_21c; + local_21c = (EntityPtr)(pEVar22->_fScale * 1.2); + pEVar16 = &local_21c; if ((float)local_21c <= 0.01) { - pEVar15 = &local_260; + pEVar16 = &local_260; } - EVar23 = *pEVar15; - pEVar20->_baseScale = (float)EVar23; - pEVar20->_fScale = (float)EVar23; - Entity_Tear::ResetSpriteScale(pEVar20); - pEVar20->_tearRange = pEVar20->_tearRange + pEVar20->_tearRange; - (**(code **)(*(int *)pEVar20 + 0xc))(); + EVar25 = *pEVar16; + pEVar22->_baseScale = (float)EVar25; + pEVar22->_fScale = (float)EVar25; + Entity_Tear::ResetSpriteScale(pEVar22); + pEVar22->_tearRange = pEVar22->_tearRange + pEVar22->_tearRange; + (**(code **)(*(int *)pEVar22 + 0xc))(); } } local_1ec = (EntityPtr)((int)local_1ec + 1); - } while ((uint)local_1ec < 4); + } while ((uint)local_1ec < &DAT_00000004); } if ((char)local_25c == '\0') { local_1e0 = (EntityPtr)0x1; @@ -937467,301 +939012,300 @@ LAB_009fc98a: } EntityList::QuerySublist((Entity_NPC *)((int)g_game->_room + 0x1218)); local_8 = 2; - EVar23 = (EntityPtr)0x0; + uVar28 = 0; if (local_270 != (EntityPtr)0x0) { - EVar29 = local_270; - EVar26 = local_1d0; + EVar25 = local_270; + pEVar27 = local_1d0; do { - piVar19 = *(int **)(local_278 + (int)EVar23 * 4); - if (*(EntityPtr *)(piVar19 + 0xef) == EVar26) { - (**(code **)(*piVar19 + 0x28))(); - EVar29 = local_270; - EVar26 = local_1d0; + piVar21 = *(int **)(local_278 + uVar28 * 4); + if ((Entity *)piVar21[0xef] == pEVar27) { + (**(code **)(*piVar21 + 0x28))(); + EVar25 = local_270; + pEVar27 = local_1d0; } - EVar23 = (EntityPtr)((int)EVar23 + 1); - } while ((uint)EVar23 < (uint)EVar29); + uVar28 = uVar28 + 1; + } while (uVar28 < (uint)EVar25); in_ECX = local_268; } local_1d8 = (EntityPtr)0x0; - local_1c4 = (EntityPtr)0x0; + local_1c4._0_4_ = (EntityPtr)0x0; do { - EVar23 = local_1c4; - if ((((EntityPtr *)((int)in_ECX + 0x44))[(int)local_1c4] != (EntityPtr)0x0) && - ((local_1c4 == (EntityPtr)0x0 || - (((local_1c4 == (EntityPtr)0x1 && (cStack_2d3 != '\0')) || (cStack_2d2 != '\0')))))) { - local_1c0._tearVariant = 0; - local_1c0._bombVariant = 0; + EVar25 = (EntityPtr)local_1c4._0_4_; + if ((((void **)((int)in_ECX + 0x44))[local_1c4._0_4_] != (void *)0x0) && + (((EntityPtr)local_1c4._0_4_ == (EntityPtr)0x0 || + ((((EntityPtr)local_1c4._0_4_ == (EntityPtr)0x1 && (cStack_2d3 != '\0')) || + (cStack_2d2 != '\0')))))) { + local_1c4._4_4_ = 0.0; + local_1bc = 0.0; Color::Color(); - local_1c0._flags._l = 0; - local_1c0._flags._h = 0; - local_1c0._tearDamage = 3.5; - local_1c0._tearScale = 1.0; - local_1c0._tearHeight = -23.75; - iStack_16c = 0x3f800000; - local_168 = 0x3fd9999a; - local_164 = 0x3f800000; - local_160 = 0; - EVar29 = extraout_EDX; + local_188 = 0; + uStack_180 = 0; + local_178 = 3.5; + fStack_174 = 1.0; + fStack_170 = -23.75; + fStack_16c = 1.0; + local_168 = 1.7; + local_164 = 1.0; + local_160 = 0.0; + piVar21 = extraout_EDX; if (local_1e8 != (EntityPtr)0x0) { Random(); - piVar19 = (int *)Entity_Player::GetTearHitParams(); - local_1c0._tearVariant = *piVar19; - local_1c0._bombVariant = piVar19[1]; - if (&local_1c0._tearColor != (ColorMod *)(piVar19 + 2)) { - local_1c0._tearColor._tint[0] = (float)piVar19[2]; - local_1c0._tearColor._tint[1] = (float)piVar19[3]; - local_1c0._tearColor._tint[2] = (float)piVar19[4]; - local_1c0._tearColor._tint[3] = (float)piVar19[5]; - local_1c0._tearColor._colorize[0] = (float)piVar19[6]; - local_1c0._tearColor._colorize[1] = (float)piVar19[7]; - local_1c0._tearColor._colorize[2] = (float)piVar19[8]; - local_1c0._tearColor._colorize[3] = (float)piVar19[9]; - local_1c0._tearColor._offset._0_8_ = *(undefined8 *)(piVar19 + 10); - local_1c0._tearColor._offset[2] = (float)piVar19[0xc]; + pfVar20 = (float *)Entity_Player::GetTearHitParams(); + local_1c4._4_4_ = *pfVar20; + local_1bc = pfVar20[1]; + if (&local_1b8 != pfVar20 + 2) { + local_1b8 = pfVar20[2]; + fStack_1b4 = pfVar20[3]; + fStack_1b0 = pfVar20[4]; + fStack_1ac = pfVar20[5]; + local_1a8 = pfVar20[6]; + fStack_1a4 = pfVar20[7]; + fStack_1a0 = pfVar20[8]; + fStack_19c = pfVar20[9]; + local_198 = *(undefined8 *)(pfVar20 + 10); + local_190 = pfVar20[0xc]; } - local_1c0._flags._l = *(qword *)(piVar19 + 0xe); - local_1c0._flags._h = *(qword *)(piVar19 + 0x10); - local_1c0._tearDamage = (float)piVar19[0x12]; - local_1c0._tearScale = (float)piVar19[0x13]; - local_1c0._tearHeight = (float)piVar19[0x14]; - iStack_16c = piVar19[0x15]; - local_168 = piVar19[0x16]; - local_164 = piVar19[0x17]; - EVar29 = ((EntityPtr *)((int)in_ECX + 0x44))[(int)local_1c4]; - local_160 = piVar19[0x18]; - EVar23 = local_1c4; + local_188 = *(undefined8 *)(pfVar20 + 0xe); + uStack_180 = *(undefined8 *)(pfVar20 + 0x10); + local_178 = pfVar20[0x12]; + fStack_174 = pfVar20[0x13]; + fStack_170 = pfVar20[0x14]; + fStack_16c = pfVar20[0x15]; + local_168 = pfVar20[0x16]; + local_164 = pfVar20[0x17]; + piVar21 = ((void **)((int)in_ECX + 0x44))[local_1c4._0_4_]; + local_160 = pfVar20[0x18]; + EVar25 = (EntityPtr)local_1c4._0_4_; } - local_268 = (EntityPtr)((float)local_280 * local_1c0._tearDamage); - pEVar15 = &local_268; - if ((float)local_280 * local_1c0._tearDamage <= (float)local_1d8) { - pEVar15 = &local_1d8; + local_268 = (EntityPtr)((float)local_280 * local_178); + pEVar16 = &local_268; + if ((float)local_280 * local_178 <= (float)local_1d8) { + pEVar16 = &local_1d8; } - local_1d8 = *pEVar15; - (**(code **)(*(int *)EVar29 + 0x3c))(); - EVar29 = ((EntityPtr *)((int)in_ECX + 0x44))[(int)EVar23]; - *(undefined4 *)((int)EVar29 + 0x410) = (undefined4)local_1c0._flags._l; - *(undefined4 *)((int)EVar29 + 0x414) = local_1c0._flags._l._4_4_; - *(undefined4 *)((int)EVar29 + 0x418) = (undefined4)local_1c0._flags._h; - *(undefined4 *)((int)EVar29 + 0x41c) = local_1c0._flags._h._4_4_; - (**(code **)(*(int *)((EntityPtr *)((int)in_ECX + 0x44))[(int)EVar23] + 0x40))(); - EVar29 = (EntityPtr)local_1f8.y; + local_1d8 = *pEVar16; + (**(code **)(*piVar21 + 0x3c))(); + pvVar24 = ((void **)((int)in_ECX + 0x44))[(int)EVar25]; + *(undefined4 *)((int)pvVar24 + 0x410) = (undefined4)local_188; + *(undefined4 *)((int)pvVar24 + 0x414) = local_188._4_4_; + *(undefined4 *)((int)pvVar24 + 0x418) = (undefined4)uStack_180; + *(undefined4 *)((int)pvVar24 + 0x41c) = uStack_180._4_4_; + (**(code **)(*(int *)((void **)((int)in_ECX + 0x44))[(int)EVar25] + 0x40))(); + EVar32 = (EntityPtr)local_1f8.y; atan2f(); - fVar27 = (float)EVar29 * 57.295776 + (float)(&DAT_00b81710)[(int)EVar23]; - if (360.0 < ABS(fVar27)) { + fVar30 = (float)EVar32 * 57.295776 + (float)(&DAT_00b81710)[(int)EVar25]; + if (360.0 < ABS(fVar30)) { fmodf(); } - if (fVar27 <= 180.0) { - if (fVar27 < -180.0) { - fVar27 = fVar27 + 360.0; + if (fVar30 <= 180.0) { + if (fVar30 < -180.0) { + fVar30 = fVar30 + 360.0; } } else { - fVar27 = fVar27 - 360.0; + fVar30 = fVar30 - 360.0; } - *(float *)((int)((EntityPtr *)((int)in_ECX + 0x44))[(int)EVar23] + 0x438) = fVar27; - EVar29 = ((EntityPtr *)((int)in_ECX + 0x44))[(int)EVar23]; - *(short *)((int)EVar29 + 0x4ec) = local_1e0._0_2_; - *(undefined2 *)((int)EVar29 + 0x4ee) = 0; - Entity_Knife::SetAttackAnimation - ((Entity_Knife *)((EntityPtr *)((int)in_ECX + 0x44))[(int)EVar23]); - *(bool *)((int)((EntityPtr *)((int)in_ECX + 0x44))[(int)EVar23] + 0x466) = local_1c8 == '\0' - ; + *(float *)((int)((void **)((int)in_ECX + 0x44))[(int)EVar25] + 0x438) = fVar30; + pvVar24 = ((void **)((int)in_ECX + 0x44))[(int)EVar25]; + *(short *)((int)pvVar24 + 0x4ec) = local_1e0._0_2_; + *(undefined2 *)((int)pvVar24 + 0x4ee) = 0; + Entity_Knife::SetAttackAnimation(((void **)((int)in_ECX + 0x44))[(int)EVar25]); + *(bool *)((int)((void **)((int)in_ECX + 0x44))[(int)EVar25] + 0x466) = local_1c8 == '\0'; } - local_1c4 = (EntityPtr)((int)EVar23 + 1); - } while ((uint)local_1c4 < 4); - local_1c4 = (EntityPtr)0x0; + local_1c4._0_4_ = (int)EVar25 + 1; + } while ((uint)local_1c4._0_4_ < 4); + local_1c4._0_4_ = (EntityPtr)0x0; if (0 < local_1d2) { local_288 = 0x3f800000; local_268 = (EntityPtr)((int)local_1d2 / 2); local_284 = (EntityPtr)0x0; do { - EVar23 = local_1c4; - FUN_009f4230(&local_50,local_1c4,10,local_288,local_284,local_230); - fVar27 = fStack_44; + uVar12 = local_1c4._0_4_; + FUN_009f4230(&local_50,local_1c4._0_4_,10,local_288,local_284,local_230); + fVar30 = fStack_44; atan2f(); - EVar29 = (EntityPtr)(fVar27 * 57.295776); - local_260 = EVar29; - if (EVar23 == local_268) { - if (360.0 < ABS((float)EVar29)) { + EVar25 = (EntityPtr)(fVar30 * 57.295776); + local_260 = EVar25; + if ((EntityPtr)uVar12 == local_268) { + if (360.0 < ABS((float)EVar25)) { fmodf(); } - local_1c4 = EVar23; - if ((float)EVar29 <= 180.0) { - if ((float)EVar29 < -180.0) { - EVar29 = (EntityPtr)((float)EVar29 + 360.0); + local_1c4._0_4_ = uVar12; + if ((float)EVar25 <= 180.0) { + if ((float)EVar25 < -180.0) { + EVar25 = (EntityPtr)((float)EVar25 + 360.0); } - *(EntityPtr *)((int)local_1d0 + 0x43c) = EVar29; + local_1d0[1]._subtype = (int)EVar25; } else { - *(float *)((int)local_1d0 + 0x43c) = (float)EVar29 - 360.0; + local_1d0[1]._subtype = (int)((float)EVar25 - 360.0); } } else { - local_1c0._tearVariant = 0; - local_1c0._bombVariant = 0; + local_1c4._4_4_ = 0.0; + local_1bc = 0.0; Color::Color(); - local_1c0._flags._l = 0; - local_1c0._flags._h = 0; - local_1c0._tearDamage = 3.5; - local_1c0._tearScale = 1.0; - local_1c0._tearHeight = -23.75; - iStack_16c = 0x3f800000; - local_168 = 0x3fd9999a; - local_164 = 0x3f800000; - local_160 = 0; + local_188 = 0; + uStack_180 = 0; + local_178 = 3.5; + fStack_174 = 1.0; + fStack_170 = -23.75; + fStack_16c = 1.0; + local_168 = 1.7; + local_164 = 1.0; + local_160 = 0.0; if (local_1e8 != (EntityPtr)0x0) { Random(); - piVar19 = (int *)Entity_Player::GetTearHitParams(); - local_1c0._tearVariant = *piVar19; - local_1c0._bombVariant = piVar19[1]; - if (&local_1c0._tearColor != (ColorMod *)(piVar19 + 2)) { - local_1c0._tearColor._tint[0] = (float)piVar19[2]; - local_1c0._tearColor._tint[1] = (float)piVar19[3]; - local_1c0._tearColor._tint[2] = (float)piVar19[4]; - local_1c0._tearColor._tint[3] = (float)piVar19[5]; - local_1c0._tearColor._colorize[0] = (float)piVar19[6]; - local_1c0._tearColor._colorize[1] = (float)piVar19[7]; - local_1c0._tearColor._colorize[2] = (float)piVar19[8]; - local_1c0._tearColor._colorize[3] = (float)piVar19[9]; - local_1c0._tearColor._offset._0_8_ = *(undefined8 *)(piVar19 + 10); - local_1c0._tearColor._offset[2] = (float)piVar19[0xc]; + pfVar20 = (float *)Entity_Player::GetTearHitParams(); + local_1c4._4_4_ = *pfVar20; + local_1bc = pfVar20[1]; + if (&local_1b8 != pfVar20 + 2) { + local_1b8 = pfVar20[2]; + fStack_1b4 = pfVar20[3]; + fStack_1b0 = pfVar20[4]; + fStack_1ac = pfVar20[5]; + local_1a8 = pfVar20[6]; + fStack_1a4 = pfVar20[7]; + fStack_1a0 = pfVar20[8]; + fStack_19c = pfVar20[9]; + local_198 = *(undefined8 *)(pfVar20 + 10); + local_190 = pfVar20[0xc]; } - local_1c0._flags._l = *(qword *)(piVar19 + 0xe); - local_1c0._flags._h = *(qword *)(piVar19 + 0x10); - local_1c0._tearDamage = (float)piVar19[0x12]; - local_1c0._tearScale = (float)piVar19[0x13]; - local_1c0._tearHeight = (float)piVar19[0x14]; - iStack_16c = piVar19[0x15]; - local_168 = piVar19[0x16]; - local_164 = piVar19[0x17]; - local_160 = piVar19[0x18]; + local_188 = *(undefined8 *)(pfVar20 + 0xe); + uStack_180 = *(undefined8 *)(pfVar20 + 0x10); + local_178 = pfVar20[0x12]; + fStack_174 = pfVar20[0x13]; + fStack_170 = pfVar20[0x14]; + fStack_16c = pfVar20[0x15]; + local_168 = pfVar20[0x16]; + local_164 = pfVar20[0x17]; + local_160 = pfVar20[0x18]; } - local_21c = (EntityPtr)((float)local_280 * local_1c0._tearDamage); - pEVar15 = &local_21c; - if ((float)local_280 * local_1c0._tearDamage <= (float)local_1d8) { - pEVar15 = &local_1d8; + local_21c = (EntityPtr)((float)local_280 * local_178); + pEVar16 = &local_21c; + if ((float)local_280 * local_178 <= (float)local_1d8) { + pEVar16 = &local_1d8; } - local_1d8 = *pEVar15; - pEVar21 = (Entity_Knife *)Weapon::fire_bone_club(); - (**(code **)(*(int *)pEVar21 + 0x3c))(); - iVar16 = *(int *)pEVar21; - *(undefined4 *)&(pEVar21->_tearFlags)._l = (undefined4)local_1c0._flags._l; - *(undefined4 *)((int)&(pEVar21->_tearFlags)._l + 4) = local_1c0._flags._l._4_4_; - *(undefined4 *)&(pEVar21->_tearFlags)._h = (undefined4)local_1c0._flags._h; - *(undefined4 *)((int)&(pEVar21->_tearFlags)._h + 4) = local_1c0._flags._h._4_4_; - (**(code **)(iVar16 + 0x40))(); - (pEVar21->_sprite)._scale.x = *(float *)((int)local_1d0 + 0xe4); - (pEVar21->_sprite)._scale.y = *(float *)((int)local_1d0 + 0xe8); - *(short *)(pEVar21 + 1) = local_1e0._0_2_; - *(undefined2 *)&pEVar21[1].field_0x2 = 0; - Entity_Knife::SetAttackAnimation(pEVar21); - (**(code **)(*(int *)pEVar21 + 0xc))(); + local_1d8 = *pEVar16; + pEVar23 = (Entity_Knife *)Weapon::fire_bone_club(); + (**(code **)(*(int *)pEVar23 + 0x3c))(); + iVar17 = *(int *)pEVar23; + *(undefined4 *)&(pEVar23->_tearFlags)._l = (undefined4)local_188; + *(undefined4 *)((int)&(pEVar23->_tearFlags)._l + 4) = local_188._4_4_; + *(undefined4 *)&(pEVar23->_tearFlags)._h = (undefined4)uStack_180; + *(undefined4 *)((int)&(pEVar23->_tearFlags)._h + 4) = uStack_180._4_4_; + (**(code **)(iVar17 + 0x40))(); + (pEVar23->_sprite)._scale.x = (local_1d0->_sprite)._scale.x; + (pEVar23->_sprite)._scale.y = (local_1d0->_sprite)._scale.y; + *(short *)(pEVar23 + 1) = local_1e0._0_2_; + *(undefined2 *)&pEVar23[1].field_0x2 = 0; + Entity_Knife::SetAttackAnimation(pEVar23); + (**(code **)(*(int *)pEVar23 + 0xc))(); } - local_1c4 = (EntityPtr)((int)local_1c4 + 1); - } while ((int)local_1c4 < (int)local_1d2); + local_1c4._0_4_ = local_1c4._0_4_ + 1; + } while ((int)local_1c4._0_4_ < (int)local_1d2); } - for (local_1c4 = (EntityPtr)((uint)local_208 & 0xffff); local_1c4 != (EntityPtr)0x0; - local_1c4 = (EntityPtr)((int)local_1c4 - 1)) { - local_1c0._tearVariant = 0; - local_1c0._bombVariant = 0; + for (local_1c4._0_4_ = (uint)local_208 & 0xffff; (EntityPtr)local_1c4._0_4_ != (EntityPtr)0x0; + local_1c4._0_4_ = local_1c4._0_4_ - 1) { + local_1c4._4_4_ = 0.0; + local_1bc = 0.0; Color::Color(); - local_1c0._flags._l = 0; - local_1c0._flags._h = 0; - local_1c0._tearDamage = 3.5; - local_1c0._tearScale = 1.0; - local_1c0._tearHeight = -23.75; - iStack_16c = 0x3f800000; - local_168 = 0x3fd9999a; - local_164 = 0x3f800000; - local_160 = 0; + local_188 = 0; + uStack_180 = 0; + local_178 = 3.5; + fStack_174 = 1.0; + fStack_170 = -23.75; + fStack_16c = 1.0; + local_168 = 1.7; + local_164 = 1.0; + local_160 = 0.0; if (local_1e8 != (EntityPtr)0x0) { Random(); - piVar19 = (int *)Entity_Player::GetTearHitParams(); - local_1c0._tearVariant = *piVar19; - local_1c0._bombVariant = piVar19[1]; - if (&local_1c0._tearColor != (ColorMod *)(piVar19 + 2)) { - local_1c0._tearColor._tint[0] = (float)piVar19[2]; - local_1c0._tearColor._tint[1] = (float)piVar19[3]; - local_1c0._tearColor._tint[2] = (float)piVar19[4]; - local_1c0._tearColor._tint[3] = (float)piVar19[5]; - local_1c0._tearColor._colorize[0] = (float)piVar19[6]; - local_1c0._tearColor._colorize[1] = (float)piVar19[7]; - local_1c0._tearColor._colorize[2] = (float)piVar19[8]; - local_1c0._tearColor._colorize[3] = (float)piVar19[9]; - local_1c0._tearColor._offset._0_8_ = *(undefined8 *)(piVar19 + 10); - local_1c0._tearColor._offset[2] = (float)piVar19[0xc]; + pfVar20 = (float *)Entity_Player::GetTearHitParams(); + local_1c4._4_4_ = *pfVar20; + local_1bc = pfVar20[1]; + if (&local_1b8 != pfVar20 + 2) { + local_1b8 = pfVar20[2]; + fStack_1b4 = pfVar20[3]; + fStack_1b0 = pfVar20[4]; + fStack_1ac = pfVar20[5]; + local_1a8 = pfVar20[6]; + fStack_1a4 = pfVar20[7]; + fStack_1a0 = pfVar20[8]; + fStack_19c = pfVar20[9]; + local_198 = *(undefined8 *)(pfVar20 + 10); + local_190 = pfVar20[0xc]; } - local_1c0._flags._l = *(qword *)(piVar19 + 0xe); - local_1c0._flags._h = *(qword *)(piVar19 + 0x10); - local_1c0._tearDamage = (float)piVar19[0x12]; - local_1c0._tearScale = (float)piVar19[0x13]; - local_1c0._tearHeight = (float)piVar19[0x14]; - iStack_16c = piVar19[0x15]; - local_168 = piVar19[0x16]; - local_164 = piVar19[0x17]; - local_160 = piVar19[0x18]; + local_188 = *(undefined8 *)(pfVar20 + 0xe); + uStack_180 = *(undefined8 *)(pfVar20 + 0x10); + local_178 = pfVar20[0x12]; + fStack_174 = pfVar20[0x13]; + fStack_170 = pfVar20[0x14]; + fStack_16c = pfVar20[0x15]; + local_168 = pfVar20[0x16]; + local_164 = pfVar20[0x17]; + local_160 = pfVar20[0x18]; } - local_268 = (EntityPtr)((float)local_280 * local_1c0._tearDamage); - pEVar15 = &local_268; - if ((float)local_280 * local_1c0._tearDamage <= (float)local_1d8) { - pEVar15 = &local_1d8; + local_268 = (EntityPtr)((float)local_280 * local_178); + pEVar16 = &local_268; + if ((float)local_280 * local_178 <= (float)local_1d8) { + pEVar16 = &local_1d8; } - local_1d8 = *pEVar15; + local_1d8 = *pEVar16; Random(); - pEVar21 = (Entity_Knife *)Weapon::fire_bone_club(); - (**(code **)(*(int *)pEVar21 + 0x3c))(); - iVar16 = *(int *)pEVar21; - *(undefined4 *)&(pEVar21->_tearFlags)._l = (undefined4)local_1c0._flags._l; - *(undefined4 *)((int)&(pEVar21->_tearFlags)._l + 4) = local_1c0._flags._l._4_4_; - *(undefined4 *)&(pEVar21->_tearFlags)._h = (undefined4)local_1c0._flags._h; - *(undefined4 *)((int)&(pEVar21->_tearFlags)._h + 4) = local_1c0._flags._h._4_4_; - (**(code **)(iVar16 + 0x40))(); - (pEVar21->_sprite)._scale.x = *(float *)((int)local_1d0 + 0xe4); - (pEVar21->_sprite)._scale.y = *(float *)((int)local_1d0 + 0xe8); - *(short *)(pEVar21 + 1) = local_1e0._0_2_; - *(undefined2 *)&pEVar21[1].field_0x2 = 0; - Entity_Knife::SetAttackAnimation(pEVar21); - (**(code **)(*(int *)pEVar21 + 0xc))(); + pEVar23 = (Entity_Knife *)Weapon::fire_bone_club(); + (**(code **)(*(int *)pEVar23 + 0x3c))(); + iVar17 = *(int *)pEVar23; + *(undefined4 *)&(pEVar23->_tearFlags)._l = (undefined4)local_188; + *(undefined4 *)((int)&(pEVar23->_tearFlags)._l + 4) = local_188._4_4_; + *(undefined4 *)&(pEVar23->_tearFlags)._h = (undefined4)uStack_180; + *(undefined4 *)((int)&(pEVar23->_tearFlags)._h + 4) = uStack_180._4_4_; + (**(code **)(iVar17 + 0x40))(); + (pEVar23->_sprite)._scale.x = (local_1d0->_sprite)._scale.x; + (pEVar23->_sprite)._scale.y = (local_1d0->_sprite)._scale.y; + *(short *)(pEVar23 + 1) = local_1e0._0_2_; + *(undefined2 *)&pEVar23[1].field_0x2 = 0; + Entity_Knife::SetAttackAnimation(pEVar23); + (**(code **)(*(int *)pEVar23 + 0xc))(); } - iVar16 = Random(); + iVar17 = Random(); pMVar11 = g_manager; - local_1c4 = (EntityPtr)0xfc; + local_1c4._0_4_ = (EntityPtr)0xfc; local_234 = (EntityPtr) - (((float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + (((float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * 0.2 + 0.9) * (float)local_234); seed_fart_sound_override(); - SoundEffects::Play(&pMVar11->_sfxManager,(int)local_1c4,1.0,1,0,(float)local_234,0.0); + SoundEffects::Play(&pMVar11->_sfxManager,local_1c4._0_4_,1.0,1,0,(float)local_234,0.0); if ((20.0 < (float)local_1d8) && (1.5 < (float)local_20c)) { Game::ShakeScreen(g_game,(int)((float)local_20c * 5.0)); } if (local_1c8 == '\0') { - EVar23 = (EntityPtr)0x3f800000; + EVar25 = (EntityPtr)0x3f800000; if (local_201 == '\0') goto LAB_009fde0f; - if ((float)*(EntityPtr *)((int)in_ECX + 0x14) <= 1.0 && - (float)*(EntityPtr *)((int)in_ECX + 0x14) != 1.0) { - *(EntityPtr *)((int)in_ECX + 0x14) = (EntityPtr)0x3f800000; + if (((Vector *)((int)in_ECX + 0x14))->x <= 1.0 && ((Vector *)((int)in_ECX + 0x14))->x != 1.0) + { + ((Vector *)((int)in_ECX + 0x14))->x = 1.0; } } else { - EVar23 = (EntityPtr)0x0; + EVar25 = (EntityPtr)0x0; LAB_009fde0f: - local_210 = EVar23; + local_210 = EVar25; } - *(EntityPtr *)((int)in_ECX + 0x5c) = (EntityPtr)0x0; + *(void **)((int)in_ECX + 0x5c) = (void *)0x0; *(float *)((int)in_ECX + 0x20) = g_vectorZero.x; *(float *)((int)in_ECX + 0x24) = g_vectorZero.y; if ((char)local_25c != '\0') { - pvVar22 = *(void **)((int)in_ECX + 4); - if (((pvVar22 == (void *)0x0) || (pvVar24 = pvVar22, *(int *)((int)pvVar22 + 0x28) != 1)) && - ((pvVar24 = (void *)0x0, pvVar22 != (void *)0x0 && (*(int *)((int)pvVar22 + 0x28) == 3)))) + pvVar24 = *(void **)((int)in_ECX + 4); + if (((pvVar24 == (void *)0x0) || (pvVar26 = pvVar24, *(int *)((int)pvVar24 + 0x28) != 1)) && + ((pvVar26 = (void *)0x0, pvVar24 != (void *)0x0 && (*(int *)((int)pvVar24 + 0x28) == 3)))) { - *(undefined4 *)((int)pvVar22 + 0xd4c) = 0; + *(undefined4 *)((int)pvVar24 + 0xd4c) = 0; } - else if (pvVar24 != (void *)0x0) { + else if (pvVar26 != (void *)0x0) { Entity_Player::stop_costume_item_anims(); } } - EVar29 = local_1cc; + EVar32 = local_1cc; if (local_1cc != (EntityPtr)0x0) { Entity_Player::TryForgottenThrow((Entity_Player *)local_1cc,&local_1f8); } @@ -937770,16 +939314,16 @@ LAB_009fde0f: tracked_alloc(); } local_8 = 0xffffffff; - pEVar15 = (EntityPtr *)((int)in_ECX + 0x14); + pVVar18 = (Vector *)((int)in_ECX + 0x14); LAB_009fdeca: - EVar23 = local_210; + EVar25 = local_210; if (local_1c6 == '\0') goto LAB_009fb9ec; } - EVar23 = local_210; - if (local_22c == 0xb) goto LAB_009fb9ec; - if (((*(char *)((int)local_1d0 + 0x465) != '\0') && (local_201 == '\0')) || - ((float)*pEVar15 < 1.0)) { - EVar29 = local_1d0; + EVar25 = local_210; + if (local_22c == &DAT_0000000b) goto LAB_009fb9ec; + if (((*(char *)((int)&local_1d0[1]._sprite._filename._size + 1) != '\0') && (local_201 == '\0')) + || (pVVar18->x < 1.0)) { + pEVar27 = local_1d0; goto LAB_009fb9f2; } Color::Reset(); @@ -937788,124 +939332,124 @@ LAB_009fdeca: fStack_38 = 1.0; fStack_34 = 0.0; local_234 = (EntityPtr)0x3f8020c5; - EVar23 = (EntityPtr)((float)local_210 + 1.0); - pEVar15 = &local_234; + EVar25 = (EntityPtr)((float)local_210 + 1.0); + pEVar16 = &local_234; if (1.001 <= (float)local_294) { - pEVar15 = &local_254; + pEVar16 = &local_254; } - local_210 = *pEVar15; - if ((float)EVar23 <= (float)local_210) { - local_210 = EVar23; + local_210 = *pEVar16; + if ((float)EVar25 <= (float)local_210) { + local_210 = EVar25; } - if (EVar29 == (EntityPtr)0x0) goto LAB_009fe321; + if (EVar32 == (EntityPtr)0x0) goto LAB_009fe321; if ((local_1c7 != '\0') || (local_202 != '\0')) { - EVar29 = (EntityPtr)((int)EVar29 + 0x1410); - local_1c4 = EVar29; - if (*(int *)EVar29 == 0) { + EVar32 = (EntityPtr)((int)EVar32 + 0x1410); + local_1c4._0_4_ = EVar32; + if (*(int *)EVar32 == 0) { if (local_1c8 == '\0') { - fVar27 = 1.0; + fVar30 = 1.0; } else { - fVar27 = (float)local_294 - 30.0; - if (fVar27 <= 2.0) { - fVar27 = 2.0; + fVar30 = (float)local_294 - 30.0; + if (fVar30 <= 2.0) { + fVar30 = 2.0; } } - if (((Vector *)((int)in_ECX + 0x14))->x == fVar27) { + if (((Vector *)((int)in_ECX + 0x14))->x == fVar30) { if (local_202 == '\0') { local_274 = (EntityPtr)((Vector *)((int)local_1cc + 0x33c))->x; local_270 = *(EntityPtr *)((int)local_1cc + 0x340); - iVar16 = Room::MamaMegaExplosion((Room *)in_ECX); - if (*(int *)local_1c4 != 0) { - local_254 = local_1c4; + iVar17 = Room::MamaMegaExplosion((Room *)in_ECX); + if (*(int *)local_1c4._0_4_ != 0) { + local_254 = (EntityPtr)local_1c4._0_4_; std::multiset::erase(); } - *(int *)local_1c4 = iVar16; - if (iVar16 != 0) { + *(int *)local_1c4._0_4_ = iVar17; + if (iVar17 != 0) { std::multiset::insert(); } - *(uint *)(iVar16 + 0x16c) = *(uint *)(iVar16 + 0x16c) | 0x2000020; - *(undefined4 *)(iVar16 + 0x168) = *(undefined4 *)(iVar16 + 0x168); - *(undefined4 *)(iVar16 + 0x410) = 0x2d; - *(undefined4 *)(iVar16 + 0x414) = 0x2d; - *(undefined4 *)(iVar16 + 0x188) = 0; - *(undefined4 *)(iVar16 + 0x184) = 0; - *(undefined1 *)(iVar16 + 0x171) = 0; - EVar23 = (EntityPtr)local_1f8.y; + *(uint *)(iVar17 + 0x16c) = *(uint *)(iVar17 + 0x16c) | 0x2000020; + *(undefined4 *)(iVar17 + 0x168) = *(undefined4 *)(iVar17 + 0x168); + *(undefined4 *)(iVar17 + 0x410) = 0x2d; + *(undefined4 *)(iVar17 + 0x414) = 0x2d; + *(undefined4 *)(iVar17 + 0x188) = 0; + *(undefined4 *)(iVar17 + 0x184) = 0; + *(undefined1 *)(iVar17 + 0x171) = 0; + EVar25 = (EntityPtr)local_1f8.y; atan2f(); - *(float *)(iVar16 + 0x428) = (float)EVar23 * 57.295776; - if ((*(int *)(iVar16 + 0x2c) == 0x13) || (*(int *)(iVar16 + 0x2c) == 0x14)) { - ANM2::Play((ANM2 *)(iVar16 + 0x48),s_Idle,0); - *(undefined4 *)(iVar16 + 0xec) = 0; + *(float *)(iVar17 + 0x428) = (float)EVar25 * 57.295776; + if ((*(int *)(iVar17 + 0x2c) == 0x13) || (*(int *)(iVar17 + 0x2c) == 0x14)) { + ANM2::Play((ANM2 *)(iVar17 + 0x48),s_Idle,0); + *(undefined4 *)(iVar17 + 0xec) = 0; } } else { Random(); local_274 = (EntityPtr)((Vector *)((int)local_1cc + 0x33c))->x; local_270 = *(EntityPtr *)((int)local_1cc + 0x340); - local_1c4 = (EntityPtr)Game::Spawn(); - if (*(int *)EVar29 != 0) { - local_254 = EVar29; + local_1c4._0_4_ = Game::Spawn(); + if (*(int *)EVar32 != 0) { + local_254 = EVar32; std::multiset::erase(); } - *(EntityPtr *)EVar29 = local_1c4; - if (local_1c4 != (EntityPtr)0x0) { + *(undefined4 *)EVar32 = local_1c4._0_4_; + if ((EntityPtr)local_1c4._0_4_ != (EntityPtr)0x0) { std::multiset::insert(); } - *(uint *)((int)local_1c4 + 0x16c) = *(uint *)((int)local_1c4 + 0x16c) | 0x20; - *(undefined1 *)((int)local_1c4 + 0x171) = 0; - *(undefined4 *)((int)local_1c4 + 0x168) = *(undefined4 *)((int)local_1c4 + 0x168); + *(uint *)(local_1c4._0_4_ + 0x16c) = *(uint *)(local_1c4._0_4_ + 0x16c) | 0x20; + *(undefined1 *)(local_1c4._0_4_ + 0x171) = 0; + *(undefined4 *)(local_1c4._0_4_ + 0x168) = *(undefined4 *)(local_1c4._0_4_ + 0x168); } pMVar11 = g_manager; - local_1c4 = (EntityPtr)0xc9; + local_1c4._0_4_ = (EntityPtr)0xc9; seed_fart_sound_override(); - SoundEffects::Play(&pMVar11->_sfxManager,(int)local_1c4,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar11->_sfxManager,local_1c4._0_4_,1.0,2,0,1.0,0.0); } } - EVar29 = local_1cc; + EVar32 = local_1cc; } - pvVar22 = *(void **)((int)EVar29 + 0x1410); - if (pvVar22 == (void *)0x0) goto LAB_009fe321; - fVar27 = *(float *)((int)EVar29 + 0x340); - *(float *)((int)pvVar22 + 0x33c) = ((Vector *)((int)EVar29 + 0x33c))->x; - *(float *)((int)pvVar22 + 0x340) = fVar27; - pvVar22 = *(void **)((int)EVar29 + 0x1410); - fVar27 = *(float *)((int)EVar29 + 0x364); - *(float *)((int)pvVar22 + 0x360) = ((Vector *)((int)EVar29 + 0x360))->x; - *(float *)((int)pvVar22 + 0x364) = fVar27; - switch(*(int *)((int)EVar29 + 0x1628)) { + pvVar24 = *(void **)((int)EVar32 + 0x1410); + if (pvVar24 == (void *)0x0) goto LAB_009fe321; + fVar30 = *(float *)((int)EVar32 + 0x340); + *(float *)((int)pvVar24 + 0x33c) = ((Vector *)((int)EVar32 + 0x33c))->x; + *(float *)((int)pvVar24 + 0x340) = fVar30; + pvVar24 = *(void **)((int)EVar32 + 0x1410); + fVar30 = *(float *)((int)EVar32 + 0x364); + *(float *)((int)pvVar24 + 0x360) = ((Vector *)((int)EVar32 + 0x360))->x; + *(float *)((int)pvVar24 + 0x364) = fVar30; + switch(*(int *)((int)EVar32 + 0x1628)) { case 0: - fVar27 = ((Vector *)((int)EVar29 + 0xe4))->x * 8.0; + fVar30 = ((Vector *)((int)EVar32 + 0xe4))->x * 8.0; break; case 1: - fVar27 = ((Vector *)((int)EVar29 + 0xe4))->x * -12.0; + fVar30 = ((Vector *)((int)EVar32 + 0xe4))->x * -12.0; goto LAB_009fe24e; case 2: - fVar27 = ((Vector *)((int)EVar29 + 0xe4))->x * -8.0; + fVar30 = ((Vector *)((int)EVar32 + 0xe4))->x * -8.0; LAB_009fe24e: - fVar28 = *(float *)((int)EVar29 + 0xe8); - pvVar22 = *(void **)((int)EVar29 + 0x1410); - *(float *)((int)pvVar22 + 0x34c) = fVar27; - *(float *)((int)pvVar22 + 0x350) = fVar28 * -4.0; - *(undefined4 *)((int)*(void **)((int)EVar29 + 0x1410) + 0x354) = 0xffffffff; + fVar31 = *(float *)((int)EVar32 + 0xe8); + pvVar24 = *(void **)((int)EVar32 + 0x1410); + *(float *)((int)pvVar24 + 0x34c) = fVar30; + *(float *)((int)pvVar24 + 0x350) = fVar31 * -4.0; + *(undefined4 *)((int)*(void **)((int)EVar32 + 0x1410) + 0x354) = 0xffffffff; goto LAB_009fe2f0; default: - fVar27 = ((Vector *)((int)EVar29 + 0xe4))->x * 12.0; + fVar30 = ((Vector *)((int)EVar32 + 0xe4))->x * 12.0; } - fVar28 = *(float *)((int)EVar29 + 0xe8); - pvVar22 = *(void **)((int)EVar29 + 0x1410); - *(float *)((int)pvVar22 + 0x34c) = fVar27; - *(float *)((int)pvVar22 + 0x350) = fVar28 * -4.0; - *(undefined4 *)((int)*(void **)((int)EVar29 + 0x1410) + 0x354) = 0; + fVar31 = *(float *)((int)EVar32 + 0xe8); + pvVar24 = *(void **)((int)EVar32 + 0x1410); + *(float *)((int)pvVar24 + 0x34c) = fVar30; + *(float *)((int)pvVar24 + 0x350) = fVar31 * -4.0; + *(undefined4 *)((int)*(void **)((int)EVar32 + 0x1410) + 0x354) = 0; LAB_009fe2f0: - pvVar22 = *(void **)((int)EVar29 + 0x1410); - if (*(int *)((int)pvVar22 + 0x28) == 4) { - EVar23 = (EntityPtr)local_1f8.y; + pvVar24 = *(void **)((int)EVar32 + 0x1410); + if (*(int *)((int)pvVar24 + 0x28) == 4) { + EVar25 = (EntityPtr)local_1f8.y; atan2f(); - *(float *)((int)pvVar22 + 0x428) = (float)EVar23 * 57.295776; + *(float *)((int)pvVar24 + 0x428) = (float)EVar25 * 57.295776; } LAB_009fe321: - EVar29 = local_1d0; + pEVar27 = local_1d0; if ((char)local_25c == '\0') { if (local_1d9 != 0) goto LAB_009fe472; if ((char)local_290 != '\0') goto LAB_009fe5d9; @@ -937920,7 +939464,7 @@ LAB_009fe321: if ((float)local_294 < ((Vector *)((int)in_ECX + 0x14))->x || (float)local_294 == ((Vector *)((int)in_ECX + 0x14))->x) { Weapon::UpdateHeadChargeAnimation(); - EVar29 = local_1d0; + pEVar27 = local_1d0; fStack_34 = 1.0; local_20 = 0x3e4ccccd3e4ccccd; local_18 = 0.2; @@ -937928,78 +939472,78 @@ LAB_009fe321: } else { Weapon::UpdateHeadChargeAnimation(); - EVar29 = local_1d0; + pEVar27 = local_1d0; } Weapon::SetBlinkTime((Weapon *)in_ECX); - pvVar22 = (void *)(int)(((float)local_210 * 5.0) / (float)local_294); - *(void **)((int)in_ECX + 0x5c) = pvVar22; - if ((1.0 < (float)local_210) && (pvVar22 == (void *)0x0)) { + pvVar24 = (void *)(int)(((float)local_210 * 5.0) / (float)local_294); + *(void **)((int)in_ECX + 0x5c) = pvVar24; + if ((1.0 < (float)local_210) && (pvVar24 == (void *)0x0)) { *(void **)((int)in_ECX + 0x5c) = (void *)0x1; } if (local_1d9 != 0) { LAB_009fe472: Weapon::UpdateHeadChargeAnimation(); Weapon::SetBlinkTime((Weapon *)in_ECX); - fVar28 = ((float)local_210 / (float)local_224 - 1.0) * 0.5 + 1.0; - fVar27 = 1.0; - if (1.0 <= fVar28) { - fVar27 = fVar28; + fVar31 = ((float)local_210 / (float)local_224 - 1.0) * 0.5 + 1.0; + fVar30 = 1.0; + if (1.0 <= fVar31) { + fVar30 = fVar31; } - fVar27 = fVar27 * (float)local_20c; - fVar28 = fVar27; - if ((*(char *)((int)local_1d0 + 0x465) != '\0') && - (fVar28 = *(float *)((int)local_1d0 + 0xe4), fVar28 <= fVar27)) { - fVar28 = fVar27; + fVar30 = fVar30 * (float)local_20c; + fVar31 = fVar30; + if ((*(char *)((int)&local_1d0[1]._sprite._filename._size + 1) != '\0') && + (fVar31 = (local_1d0->_sprite)._scale.x, fVar31 <= fVar30)) { + fVar31 = fVar30; } - pvVar22 = *(void **)((int)in_ECX + 0x44); - if (pvVar22 != (void *)0x0) { - fVar27 = fVar28 * g_vectorOne.y; - *(float *)((int)pvVar22 + 0xe4) = fVar28 * g_vectorOne.x; - *(float *)((int)pvVar22 + 0xe8) = fVar27; + pvVar24 = *(void **)((int)in_ECX + 0x44); + if (pvVar24 != (void *)0x0) { + fVar30 = fVar31 * g_vectorOne.y; + *(float *)((int)pvVar24 + 0xe4) = fVar31 * g_vectorOne.x; + *(float *)((int)pvVar24 + 0xe8) = fVar30; } - pvVar22 = *(void **)((int)in_ECX + 0x48); - if (pvVar22 != (void *)0x0) { - fVar27 = fVar28 * g_vectorOne.y; - *(float *)((int)pvVar22 + 0xe4) = fVar28 * g_vectorOne.x; - *(float *)((int)pvVar22 + 0xe8) = fVar27; + pvVar24 = *(void **)((int)in_ECX + 0x48); + if (pvVar24 != (void *)0x0) { + fVar30 = fVar31 * g_vectorOne.y; + *(float *)((int)pvVar24 + 0xe4) = fVar31 * g_vectorOne.x; + *(float *)((int)pvVar24 + 0xe8) = fVar30; } - pvVar22 = *(void **)((int)in_ECX + 0x4c); - if (pvVar22 != (void *)0x0) { - fVar27 = fVar28 * g_vectorOne.y; - *(float *)((int)pvVar22 + 0xe4) = fVar28 * g_vectorOne.x; - *(float *)((int)pvVar22 + 0xe8) = fVar27; + pvVar24 = *(void **)((int)in_ECX + 0x4c); + if (pvVar24 != (void *)0x0) { + fVar30 = fVar31 * g_vectorOne.y; + *(float *)((int)pvVar24 + 0xe4) = fVar31 * g_vectorOne.x; + *(float *)((int)pvVar24 + 0xe8) = fVar30; } - pvVar22 = *(void **)((int)in_ECX + 0x50); - EVar29 = local_1d0; - if (pvVar22 != (void *)0x0) { - fVar27 = fVar28 * g_vectorOne.y; - *(float *)((int)pvVar22 + 0xe4) = fVar28 * g_vectorOne.x; - *(float *)((int)pvVar22 + 0xe8) = fVar27; + pvVar24 = *(void **)((int)in_ECX + 0x50); + pEVar27 = local_1d0; + if (pvVar24 != (void *)0x0) { + fVar30 = fVar31 * g_vectorOne.y; + *(float *)((int)pvVar24 + 0xe4) = fVar31 * g_vectorOne.x; + *(float *)((int)pvVar24 + 0xe8) = fVar30; } } if ((char)local_290 != '\0') { LAB_009fe5d9: if ((float)local_228 <= ((Vector *)((int)in_ECX + 0x14))->x) { Weapon::UpdateHeadChargeAnimation(); - EVar23 = local_1e8; + EVar25 = local_1e8; Color::Reset(); local_98 = 1.0; fStack_94 = 0.0; fStack_90 = 0.0; fStack_8c = 1.0; - if (EVar23 != (EntityPtr)0x0) { - fVar28 = ((ColorMod *)((int)EVar23 + 0x14c4))->_tint[0]; - fVar4 = *(float *)((int)EVar23 + 0x14c8); - fVar5 = *(float *)((int)EVar23 + 0x14cc); - fVar6 = *(float *)((int)EVar23 + 0x14d0); - fVar27 = *(float *)((int)EVar23 + 0x14ec); - fVar7 = *(float *)((int)EVar23 + 0x14d4); - fVar8 = *(float *)((int)EVar23 + 0x14d8); - fVar9 = *(float *)((int)EVar23 + 0x14dc); - fVar10 = *(float *)((int)EVar23 + 0x14e0); - uVar2 = *(undefined8 *)((int)EVar23 + 0x14e4); + if (EVar25 != (EntityPtr)0x0) { + fVar31 = ((ColorMod *)((int)EVar25 + 0x14c4))->_tint[0]; + fVar4 = *(float *)((int)EVar25 + 0x14c8); + fVar5 = *(float *)((int)EVar25 + 0x14cc); + fVar6 = *(float *)((int)EVar25 + 0x14d0); + fVar30 = *(float *)((int)EVar25 + 0x14ec); + fVar7 = *(float *)((int)EVar25 + 0x14d4); + fVar8 = *(float *)((int)EVar25 + 0x14d8); + fVar9 = *(float *)((int)EVar25 + 0x14dc); + fVar10 = *(float *)((int)EVar25 + 0x14e0); + uVar2 = *(undefined8 *)((int)EVar25 + 0x14e4); Color::__mul(); - local_98 = fVar28; + local_98 = fVar31; fStack_94 = fVar4; fStack_90 = fVar5; fStack_8c = fVar6; @@ -938008,9 +939552,9 @@ LAB_009fe5d9: fStack_80 = fVar9; fStack_7c = fVar10; local_78 = uVar2; - local_70 = fVar27; + local_70 = fVar30; } - EVar29 = local_1d0; + pEVar27 = local_1d0; local_40 = local_98; fStack_3c = fStack_94; fStack_38 = fStack_90; @@ -938021,85 +939565,83 @@ LAB_009fe5d9: fStack_24 = fStack_7c; local_20 = local_78; local_18 = local_70; - iVar16 = Entity::GetIntervalTicks((Entity *)local_1d0); - if ((iVar16 != 0) && (*(int *)((int)EVar29 + 0x7c) != 0)) { - pfVar18 = (float *)AnimationState::GetNullFrameById - ((AnimationState *)((int)EVar29 + 0x78)); - if (pfVar18 != (float *)0x0) { - local_234 = (EntityPtr)(*pfVar18 / 0.65); - local_1e0 = (EntityPtr)(pfVar18[1] / 0.65); - EVar26 = (EntityPtr)(*(float *)((int)EVar29 + 0xec) * 0.017453292); - local_254 = EVar26; + iVar17 = Entity::GetIntervalTicks(local_1d0); + if ((iVar17 != 0) && ((pEVar27->_sprite)._animState._animData != (void *)0x0)) { + pfVar20 = (float *)AnimationState::GetNullFrameById(&(pEVar27->_sprite)._animState); + if (pfVar20 != (float *)0x0) { + local_234 = (EntityPtr)(*pfVar20 / 0.65); + local_1e0 = (EntityPtr)(pfVar20[1] / 0.65); + EVar32 = (EntityPtr)((pEVar27->_sprite)._rotation * 0.017453292); + local_254 = EVar32; cos(); - EVar23 = local_254; - local_268 = EVar26; + EVar25 = local_254; + local_268 = EVar32; sin(); - EVar26 = (EntityPtr)0x3fc90fdb; - local_1c4 = (EntityPtr) - (((float)local_234 * (float)local_268 - (float)local_1e0 * (float)EVar23) * - 1.2); + EVar32 = (EntityPtr)0x3fc90fdb; + local_1c4._0_4_ = + ((float)local_234 * (float)local_268 - (float)local_1e0 * (float)EVar25) * 1.2; local_1e0 = (EntityPtr) - (((float)local_1e0 * (float)local_268 + (float)local_234 * (float)EVar23) * + (((float)local_1e0 * (float)local_268 + (float)local_234 * (float)EVar25) * 1.2); cos(); - fVar27 = 1.5707964; - local_254 = EVar26; + fVar30 = 1.5707964; + local_254 = EVar32; sin(); - local_200 = (EntityPtr)((float)local_254 * (float)local_1c4 - (float)local_1e0 * fVar27) - ; - local_1ec = (EntityPtr)((float)local_1c4 * fVar27 + (float)local_254 * (float)local_1e0) - ; - fVar27 = (float)local_200 * (float)local_200 + (float)local_1ec * (float)local_1ec; + local_200 = (EntityPtr) + ((float)local_254 * (float)local_1c4._0_4_ - (float)local_1e0 * fVar30); + local_1ec = (EntityPtr) + ((float)local_1c4._0_4_ * fVar30 + (float)local_254 * (float)local_1e0); + fVar30 = (float)local_200 * (float)local_200 + (float)local_1ec * (float)local_1ec; sqrtf(); - if (0.0 < fVar27) { - local_200 = (EntityPtr)((float)local_200 * (1.0 / fVar27)); - local_1ec = (EntityPtr)((float)local_1ec * (1.0 / fVar27)); + if (0.0 < fVar30) { + local_200 = (EntityPtr)((float)local_200 * (1.0 / fVar30)); + local_1ec = (EntityPtr)((float)local_1ec * (1.0 / fVar30)); } - local_234 = *(EntityPtr *)((int)EVar29 + 0xe8); - iVar16 = Random(); + local_234 = (EntityPtr)(pEVar27->_sprite)._scale.y; + iVar17 = Random(); local_254 = (EntityPtr) - ((float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + ((float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10); - local_268 = *(EntityPtr *)((int)EVar29 + 0x33c); - local_21c = *(EntityPtr *)((int)EVar29 + 0x340); - iVar16 = Random(); - fVar27 = (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + local_268 = (EntityPtr)(pEVar27->_pos).x; + local_21c = (EntityPtr)(pEVar27->_pos).y; + iVar17 = Random(); + fVar30 = (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10; - local_264 = fVar27 * (float)local_200 * (float)local_254 * (float)local_234 * 10.0 + - (float)local_254 * (float)local_1c4 + (float)local_268; + local_264 = fVar30 * (float)local_200 * (float)local_254 * (float)local_234 * 10.0 + + (float)local_254 * (float)local_1c4._0_4_ + (float)local_268; local_260 = (EntityPtr) - (fVar27 * (float)local_1ec * (float)local_254 * (float)local_234 * 10.0 + + (fVar30 * (float)local_1ec * (float)local_254 * (float)local_234 * 10.0 + (float)local_254 * (float)local_1e0 + (float)local_21c); local_234 = (EntityPtr)Random(); - pvVar22 = *(void **)((int)in_ECX + 4); - pEVar15 = &local_26c; - if (pvVar22 == (void *)0x0) { + pvVar24 = *(void **)((int)in_ECX + 4); + pEVar16 = &local_26c; + if (pvVar24 == (void *)0x0) { local_274 = (EntityPtr)g_vectorZero.x; local_270 = (EntityPtr)g_vectorZero.y; - pEVar15 = &local_274; + pEVar16 = &local_274; } else { - local_26c = *(EntityPtr *)((int)pvVar22 + 0x360); - local_268 = *(EntityPtr *)((int)pvVar22 + 0x364); + local_26c = *(EntityPtr *)((int)pvVar24 + 0x360); + local_268 = *(EntityPtr *)((int)pvVar24 + 0x364); } - iVar16 = Random(); - fVar27 = (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + iVar17 = Random(); + fVar30 = (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * 3.14; - local_1c4 = (EntityPtr)(fVar27 + fVar27); - iVar16 = Random(); + local_1c4._0_4_ = fVar30 + fVar30; + iVar17 = Random(); local_200 = (EntityPtr) - ((float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + ((float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10); - EVar23 = local_1c4; + EVar25 = (EntityPtr)local_1c4._0_4_; cos(); - local_254 = (EntityPtr)((float)EVar23 * (float)local_200); - EVar23 = local_1c4; + local_254 = (EntityPtr)((float)EVar25 * (float)local_200); + EVar25 = (EntityPtr)local_1c4._0_4_; sin(); - local_258 = (float)local_254 + (float)local_254 + (float)*pEVar15 * 0.2 + 0.0; + local_258 = (float)local_254 + (float)local_254 + (float)*pEVar16 * 0.2 + 0.0; local_254 = (EntityPtr) - (((float)EVar23 * (float)local_200 + (float)EVar23 * (float)local_200 + - (float)pEVar15[1] * 0.2) - 1.0); - piVar19 = (int *)Game::Spawn(); + (((float)EVar25 * (float)local_200 + (float)EVar25 * (float)local_200 + + (float)pEVar16[1] * 0.2) - 1.0); + piVar21 = (int *)Game::Spawn(); if (local_1e8 != (EntityPtr)0x0) { local_98 = ((ColorMod *)((int)local_1e8 + 0x14c4))->_tint[0]; fStack_94 = *(float *)((int)local_1e8 + 0x14c8); @@ -938111,18 +939653,18 @@ LAB_009fe5d9: fStack_7c = *(float *)((int)local_1e8 + 0x14e0); local_78 = *(undefined8 *)((int)local_1e8 + 0x14e4); local_70 = *(float *)((int)local_1e8 + 0x14ec); - (**(code **)(*piVar19 + 0x3c))(); + (**(code **)(*piVar21 + 0x3c))(); } - iVar16 = Random(); - fVar28 = (float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * + iVar17 = Random(); + fVar31 = (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * 2.3283064e-10 * 0.3 + 0.3; - fVar27 = *(float *)((int)local_1d0 + 0xe4); - piVar19[0x3a] = (int)(fVar28 * *(float *)((int)local_1d0 + 0xe8)); - piVar19[0x39] = (int)(fVar28 * fVar27); - piVar19[0xd3] = *(int *)((int)local_1d0 + 0x34c); - piVar19[0xd4] = *(int *)((int)local_1d0 + 0x350); - piVar19[0xd6] = -0x3d380000; - EVar29 = local_1d0; + fVar30 = (local_1d0->_sprite)._scale.x; + piVar21[0x3a] = (int)(fVar31 * (local_1d0->_sprite)._scale.y); + piVar21[0x39] = (int)(fVar31 * fVar30); + piVar21[0xd3] = (int)(local_1d0->_posOffset).x; + piVar21[0xd4] = (int)(local_1d0->_posOffset).y; + piVar21[0xd6] = -0x3d380000; + pEVar27 = local_1d0; } } } @@ -938149,26 +939691,26 @@ LAB_009fe5d9: Weapon::SetBlinkTime((Weapon *)in_ECX); } if ((char)local_244 != '\0') { - local_254 = *(EntityPtr *)((int)in_ECX + 0x14); + local_254 = (EntityPtr)((Vector *)((int)in_ECX + 0x14))->x; if (((float)local_228 <= (float)local_254) || - (cVar13 = Weapon::is_c_section_anim_finished(), cVar13 != '\0')) { + (cVar14 = Weapon::is_c_section_anim_finished(), cVar14 != '\0')) { Weapon::update_c_section_charge_anim(); } Weapon::SetBlinkTime((Weapon *)in_ECX); } - iVar16 = Entity::GetIntervalTicks((Entity *)EVar29); - if ((iVar16 != 0) && (0.0 < fStack_34)) { - (**(code **)(*(int *)EVar29 + 0x3c))(); + iVar17 = Entity::GetIntervalTicks(pEVar27); + if ((iVar17 != 0) && (0.0 < fStack_34)) { + (**(code **)(*(int *)pEVar27 + 0x3c))(); } - pfVar18 = (float *)Weapon::get_aim_direction(); - *(float *)((int)in_ECX + 0x20) = *pfVar18; - *(void **)((int)in_ECX + 0x24) = (void *)pfVar18[1]; - EVar23 = local_210; + pfVar20 = (float *)Weapon::get_aim_direction(); + *(float *)((int)in_ECX + 0x20) = *pfVar20; + *(void **)((int)in_ECX + 0x24) = (void *)pfVar20[1]; + EVar25 = local_210; LAB_009fb9f2: - if (*(char *)((int)EVar29 + 0x464) != '\0') { + if ((char)pEVar27[1]._sprite._filename._size != '\0') { Weapon::SetHeadLockTime((Weapon *)in_ECX,2); } - *(EntityPtr *)((int)in_ECX + 0x14) = EVar23; + ((Vector *)((int)in_ECX + 0x14))->x = (float)EVar25; ExceptionList = local_10; return; } @@ -938577,8 +940119,8 @@ void Weapon_Brimstone::Fire(EntityPtr *param_1,uint param_2,undefined4 param_3) { undefined1 *puVar1; int *piVar2; - void *pvVar3; - Entity_Player *pEVar4; + Entity_Player *pEVar3; + uint uVar4; byte bVar5; char cVar6; undefined3 extraout_var; @@ -938586,9 +940128,9 @@ void Weapon_Brimstone::Fire(EntityPtr *param_1,uint param_2,undefined4 param_3) float *pfVar7; EntityPtr *pEVar8; EntityPtr *pEVar9; - undefined4 uVar10; - Entity_Laser *pEVar11; - Weapon *pWVar12; + void *pvVar10; + undefined4 uVar11; + Entity_Laser *pEVar12; Weapon *in_ECX; EntityPtr EVar14; undefined4 extraout_ECX; @@ -938598,16 +940140,16 @@ void Weapon_Brimstone::Fire(EntityPtr *param_1,uint param_2,undefined4 param_3) undefined4 extraout_ECX_03; undefined4 extraout_ECX_04; undefined4 extraout_ECX_05; - uint extraout_ECX_06; - uint extraout_ECX_07; + void *pvVar15; + void *extraout_ECX_06; + void *extraout_ECX_07; undefined4 extraout_ECX_08; undefined4 extraout_ECX_09; - Entity_Player *pEVar15; - int iVar16; + Entity_Player *pEVar16; int iVar17; - uint uVar18; - ANM2 *this; + int iVar18; uint uVar19; + ANM2 *this; Entity *pEVar20; bool bVar21; float10 fVar22; @@ -938680,14 +940222,14 @@ void Weapon_Brimstone::Fire(EntityPtr *param_1,uint param_2,undefined4 param_3) local_70 = 0; local_54 = (EntityPtr)0x0; Weapon::Fire(param_1,param_2,param_3); - uVar18 = *(uint *)&in_ECX[4].field_0x4; + uVar19 = in_ECX->_modifiers; local_b0 = (EntityPtr)0x3f800000; local_8c = 1.0; - local_78 = uVar18 >> 4 & 0xffffff01; - local_a0 = (EntityPtr)(uVar18 >> 5 & 0xffffff01); - local_98 = (EntityPtr)(uVar18 >> 9 & 0xffffff01); - EVar24 = *(EntityPtr *)&in_ECX->field_0x4; - local_94 = uVar18 >> 0xb & 0xffffff01; + local_78 = uVar19 >> 4 & 0xffffff01; + local_a0 = (EntityPtr)(uVar19 >> 5 & 0xffffff01); + local_98 = (EntityPtr)(uVar19 >> 9 & 0xffffff01); + EVar24 = (EntityPtr)in_ECX->_owner; + local_94 = uVar19 >> 0xb & 0xffffff01; if (EVar24 == (EntityPtr)0x0) { local_80 = (EntityPtr)g_vectorZero.x; local_4c = (EntityPtr)g_vectorZero.y; @@ -938738,29 +940280,28 @@ LAB_009ff48a: EVar23 = EVar24; } LAB_009ff4eb: - puVar1 = &in_ECX[1].field_0x4; + puVar1 = &in_ECX->field_0x10; local_a8 = (EntityPtr)0x3a83126f; - pWVar12 = (Weapon *)&local_a8; + pEVar8 = &local_a8; if (0.001 < *(float *)puVar1 || *(float *)puVar1 == 0.001) { - pWVar12 = (Weapon *)puVar1; + pEVar8 = (EntityPtr *)puVar1; } - local_a8 = *(EntityPtr *)pWVar12; - local_54 = *(EntityPtr *)pWVar12; + local_a8 = *pEVar8; + local_54 = *pEVar8; if (EVar23 == (EntityPtr)0x0) { LAB_009ff534: local_79 = '\0'; } else { bVar5 = Entity_Player::HasCollectible((Entity_Player *)EVar23,0x76,0); - pWVar12 = (Weapon *)CONCAT31(extraout_var,bVar5); + pEVar8 = (EntityPtr *)CONCAT31(extraout_var,bVar5); local_79 = '\x01'; if (bVar5 == 0) goto LAB_009ff534; } EVar24 = local_6c; if ((char)local_78 == '\0') { - local_66 = in_ECX[4].field_0x4 & 1; - if (((*(uint *)&in_ECX[4].field_0x4 >> 7 & 1) != 0) || (*(float *)&in_ECX[1].field_0x4 <= 1.0)) - { + local_66 = (byte)in_ECX->_modifiers & 1; + if ((((uint)in_ECX->_modifiers >> 7 & 1) != 0) || (*(float *)&in_ECX->field_0x10 <= 1.0)) { local_4e = 1; local_46 = '\x01'; if (local_a0._0_1_ != '\0') goto LAB_009ff579; @@ -938785,69 +940326,70 @@ LAB_009ff5b3: local_85 = '\x01'; if (bVar5 == 0) goto LAB_009ff5cc; } - iVar17 = *(int *)&in_ECX->field_0x4; - if ((iVar17 == 0) || - ((*(int *)(iVar17 + 0x28) != 1 && - ((*(int *)(iVar17 + 0x28) != 3 || (iVar17 = *(int *)(iVar17 + 0x410), iVar17 == 0)))))) { - iVar17 = 0; + pvVar15 = in_ECX->_owner; + if ((pvVar15 == (void *)0x0) || + ((*(int *)((int)pvVar15 + 0x28) != 1 && + ((*(int *)((int)pvVar15 + 0x28) != 3 || + (pvVar15 = *(void **)((int)pvVar15 + 0x410), pvVar15 == (void *)0x0)))))) { + iVar18 = 0; } else { - iVar17 = *(int *)(iVar17 + 0x140c); + iVar18 = *(int *)((int)pvVar15 + 0x140c); } - if ((local_4d == '\0') || (iVar17 == 0)) { - EVar24 = *(EntityPtr *)&in_ECX[3].field_0x4; - EVar14 = in_ECX[3]._technology2Laser; + if ((local_4d == '\0') || (iVar18 == 0)) { + EVar24 = *(EntityPtr *)&in_ECX->field_0x28; + EVar14 = *(EntityPtr *)&in_ECX->field_0x2c; } else { - EVar24 = *(EntityPtr *)(iVar17 + 0x33c); - EVar14 = *(EntityPtr *)(iVar17 + 0x340); + EVar24 = *(EntityPtr *)(iVar18 + 0x33c); + EVar14 = *(EntityPtr *)(iVar18 + 0x340); } local_60 = EVar24; local_5c = EVar14; uVar13 = (undefined2)((uint)&local_60 >> 0x10); bVar5 = (byte)&local_60; - uVar10 = CONCAT22(uVar13,(ushort)bVar5); + uVar11 = CONCAT22(uVar13,(ushort)bVar5); if (((float)EVar24 == g_vectorZero.x) && - (uVar10 = CONCAT22(uVar13,(ushort)bVar5), (float)EVar14 == g_vectorZero.y)) { - uVar18 = 0; + (uVar11 = CONCAT22(uVar13,(ushort)bVar5), (float)EVar14 == g_vectorZero.y)) { + pvVar15 = (void *)0x0; } else { - uVar18 = 1; + pvVar15 = (void *)0x1; } - local_4c._2_2_ = (undefined2)((uint)uVar10 >> 0x10); - local_4c._0_1_ = (byte)uVar10; + local_4c._2_2_ = (undefined2)((uint)uVar11 >> 0x10); + local_4c._0_1_ = (byte)uVar11; local_4c._1_1_ = 0; local_78 = CONCAT31(local_4c._1_3_,(char)param_2); local_45 = '\0'; - local_65 = (byte)uVar18; + local_65 = (byte)pvVar15; EVar27 = local_4c; if (local_4e != 0) { - if ((float)local_a8 <= (float)in_ECX[1]._technology2Laser) { + if ((float)local_a8 <= *(float *)&in_ECX->field_0x14) { LAB_009ff696: EVar27 = (EntityPtr)0x100; local_45 = '\x01'; } else if (((char)param_2 != '\0') && (local_46 != '\0')) { - if ((*(int *)(in_ECX + 6) != 0) && (4 < *(int *)(*(int *)(in_ECX + 6) + 0x458))) - goto LAB_009ff696; + if ((*(int *)&in_ECX[1].field_0x10 != 0) && + (4 < *(int *)(*(int *)&in_ECX[1].field_0x10 + 0x458))) goto LAB_009ff696; EVar27 = (EntityPtr)0x0; } } - local_80 = *(EntityPtr *)(in_ECX + 1); - if (((float)*(EntityPtr *)(in_ECX + 1) < 0.0) || - (local_4d = '\0', 0.0 < (float)in_ECX[1]._technology2Laser)) { + local_80 = *(EntityPtr *)&in_ECX->field_0xc; + if (((float)*(EntityPtr *)&in_ECX->field_0xc < 0.0) || + (local_4d = '\0', 0.0 < *(float *)&in_ECX->field_0x14)) { local_4d = '\x01'; } cVar6 = EVar27._1_1_; if (EVar27._1_1_ == '\0') { - if ((((char)param_3 == '\0') && ((char)param_2 != '\0')) && ((byte)uVar18 != 0)) { + if ((((char)param_3 == '\0') && ((char)param_2 != '\0')) && ((byte)pvVar15 != 0)) { EVar27 = local_a8; if (local_66 != 0) { pfVar7 = (float *)Weapon::get_owner_position(local_34); fVar26 = ((float)EVar14 - pfVar7[1]) * ((float)EVar14 - pfVar7[1]) + ((float)EVar24 - *pfVar7) * ((float)EVar24 - *pfVar7); sqrtf(); - uVar18 = (uint)local_65; + pvVar15 = (void *)(uint)local_65; fVar26 = (fVar26 - 50.0) / 250.0; if (fVar26 <= 0.0) { fVar26 = 0.0; @@ -938861,14 +940403,14 @@ LAB_009ff696: } local_4c = (EntityPtr)0x0; local_78 = local_78 & 0xff; - if ((float)EVar27 <= (float)in_ECX[1]._technology2Laser) { + if ((float)EVar27 <= *(float *)&in_ECX->field_0x14) { local_78 = 0; } } - if ((((*(int *)(in_ECX + 6) != 0) && - (iVar17 = *(int *)(*(int *)(in_ECX + 6) + 0x3bc), iVar17 != 0)) && - (*(int *)(iVar17 + 0x28) != 1000)) && - (((EVar23 == (EntityPtr)0x0 || ((char)uVar18 != '\0')) || + if ((((*(int *)&in_ECX[1].field_0x10 != 0) && + (iVar18 = *(int *)(*(int *)&in_ECX[1].field_0x10 + 0x3bc), iVar18 != 0)) && + (*(int *)(iVar18 + 0x28) != 1000)) && + (((EVar23 == (EntityPtr)0x0 || ((char)pvVar15 != '\0')) || (*(int *)((int)EVar23 + 0x1e68) != 0)))) { local_78 = local_78 & 0xffffff00; } @@ -938895,39 +940437,39 @@ LAB_009ffebb: } EVar24 = *pEVar8; } - if ((float)in_ECX[1]._technology2Laser < (float)EVar24) { - if (*(int *)(in_ECX + 6) == 0) { - uVar18 = *(uint *)&in_ECX->field_0x4; - if (((uVar18 == 0) || (uVar19 = uVar18, *(int *)(uVar18 + 0x28) != 1)) && - ((uVar19 = 0, uVar18 != 0 && (*(int *)(uVar18 + 0x28) == 3)))) { - iVar17 = *(int *)(uVar18 + 0xd50); + if (*(float *)&in_ECX->field_0x14 < (float)EVar24) { + if (*(int *)&in_ECX[1].field_0x10 == 0) { + pvVar15 = in_ECX->_owner; + if (((pvVar15 == (void *)0x0) || (pvVar10 = pvVar15, *(int *)((int)pvVar15 + 0x28) != 1)) + && ((pvVar10 = (void *)0x0, pvVar15 != (void *)0x0 && + (*(int *)((int)pvVar15 + 0x28) == 3)))) { + iVar18 = *(int *)((int)pvVar15 + 0xd50); LAB_00a0049b: - if (1 < iVar17) goto LAB_00a004a0; + if (1 < iVar18) goto LAB_00a004a0; } else { - uVar18 = 0; - if (uVar19 != 0) { - iVar17 = *(int *)(uVar19 + 0x1338); + pvVar15 = (void *)0x0; + if (pvVar10 != (void *)0x0) { + iVar18 = *(int *)((int)pvVar10 + 0x1338); goto LAB_00a0049b; } } LAB_00a004ba: Weapon::stop_costume_item_anim(0x76); - uVar18 = extraout_ECX_07; + pvVar15 = extraout_ECX_07; } else { LAB_00a004a0: - if ((*(int *)&in_ECX->field_0x4 != 0) && - (*(int *)(*(int *)&in_ECX->field_0x4 + 0x28) == 1)) { + if ((in_ECX->_owner != (void *)0x0) && (*(int *)((int)in_ECX->_owner + 0x28) == 1)) { bVar5 = Weapon::IsItemAnimFinished(in_ECX,0x76); - uVar18 = extraout_ECX_06; + pvVar15 = extraout_ECX_06; if (bVar5 != 0) goto LAB_00a004ba; } } - if ((((*(int *)(in_ECX + 6) == 0) && (*(int *)&in_ECX->field_0x4 != 0)) && - (*(int *)(*(int *)&in_ECX->field_0x4 + 0x28) == 1)) && + if ((((*(int *)&in_ECX[1].field_0x10 == 0) && (in_ECX->_owner != (void *)0x0)) && + (*(int *)((int)in_ECX->_owner + 0x28) == 1)) && (((char)local_94 != '\0' && - (cVar6 = Weapon::is_c_section_anim_finished(uVar18), cVar6 != '\0')))) { + (cVar6 = Weapon::is_c_section_anim_finished(pvVar15), cVar6 != '\0')))) { Weapon::update_c_section_charge_anim(extraout_ECX_08,0,local_74,0); } } @@ -938937,8 +940479,8 @@ LAB_00a004a0: uVar19 = (uint)local_4e << 7; } pEVar8 = local_74; - if ((char)uVar18 == '\0') { - pEVar8 = &in_ECX[2]._technology2Laser; + if ((char)pvVar15 == '\0') { + pEVar8 = (EntityPtr *)&in_ECX->field_0x20; } local_6c = *pEVar8; local_64 = pEVar8[1]; @@ -938949,7 +940491,7 @@ LAB_00a004a0: if (bVar5 == 0) { fVar26 = (float)local_64 * (float)local_64 + (float)local_6c * (float)local_6c; sqrtf(); - uVar10 = extraout_ECX_04; + uVar11 = extraout_ECX_04; if (0.0 < fVar26) { local_64 = (EntityPtr)((1.0 / fVar26) * (float)local_64); local_60 = (EntityPtr)((1.0 / fVar26) * (float)local_6c); @@ -938960,7 +940502,7 @@ LAB_00a004a0: pEVar8 = (EntityPtr *)Vector::ToCardinal(); local_60 = *pEVar8; local_64 = pEVar8[1]; - uVar10 = extraout_ECX_03; + uVar11 = extraout_ECX_03; LAB_009fffc8: local_6c = local_60; local_5c = local_64; @@ -938970,7 +940512,7 @@ LAB_009fffc8: fVar26 = 1.0; } else { - fVar26 = (float)in_ECX[1]._technology2Laser / (float)local_a8; + fVar26 = *(float *)&in_ECX->field_0x14 / (float)local_a8; if (fVar26 <= 0.1) { fVar26 = 0.1; } @@ -938981,7 +940523,7 @@ LAB_009fffc8: } } else { - fVar26 = (30.0 / (*(float *)&in_ECX[1].field_0x4 + 1.0)) * 0.2; + fVar26 = (30.0 / (*(float *)&in_ECX->field_0x10 + 1.0)) * 0.2; local_8c = fVar26; if (local_66 != 0) { fVar26 = fVar26 * 1.25; @@ -938995,10 +940537,10 @@ LAB_009fffc8: local_8c = fVar26 * 0.5; } } - Weapon::GetMultiShotParams(&local_d8,uVar10); + Weapon::GetMultiShotParams(&local_d8,uVar11); EVar24 = local_64; atan2f(); - in_ECX[5]._technology2Laser = (EntityPtr)((float)EVar24 * 57.295776); + *(float *)&in_ECX[1].field_0xc = (float)EVar24 * 57.295776; if ((char)local_94 == '\0') { Weapon::UpdateHeadChargeAnimation(0x76,2,&local_60,&DAT_bf800000); } @@ -939015,12 +940557,12 @@ LAB_009fffc8: (**(code **)(*(int *)EVar24 + 0xc))(); if (local_64 == (EntityPtr)0x0) { local_64 = EVar24; - if (*(EntityPtr *)(in_ECX + 6) != EVar24) { - if (*(EntityPtr *)(in_ECX + 6) != (EntityPtr)0x0) { - local_54 = (EntityPtr)(in_ECX + 6); + if (*(EntityPtr *)&in_ECX[1].field_0x10 != EVar24) { + if (*(EntityPtr *)&in_ECX[1].field_0x10 != (EntityPtr)0x0) { + local_54 = (EntityPtr)&in_ECX[1].field_0x10; std::multiset::erase(&local_54); } - EVar23 = (EntityPtr)(in_ECX + 6); + EVar23 = (EntityPtr)&in_ECX[1].field_0x10; *(EntityPtr *)EVar23 = EVar24; goto LAB_00a001a4; } @@ -939040,12 +940582,12 @@ LAB_00a001a4: } while ((int)local_4c < (int)(short)local_d8); } local_4c = (EntityPtr)(local_b8 & 0xffff); - uVar18 = local_70; + uVar4 = local_70; while( true ) { - local_70 = uVar18; + local_70 = uVar4; if (local_4c == (EntityPtr)0x0) break; - iVar17 = Random(); - fVar26 = (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * + iVar18 = Random(); + fVar26 = (float)((double)iVar18 + __uint_to_double_fixup[-(iVar18 >> 0x1f)]) * 2.3283064e-10 * 3.14; EVar23 = (EntityPtr)(fVar26 + fVar26); local_54 = EVar23; @@ -939056,9 +940598,9 @@ LAB_00a001a4: local_b0 = local_80; local_b4 = EVar24; local_98 = (EntityPtr)Weapon::fire_brimstone_with_color(&local_b4,uVar19); - local_80 = *(EntityPtr *)(in_ECX + 6); + local_80 = *(EntityPtr *)&in_ECX[1].field_0x10; EVar24 = (EntityPtr)((int)local_98 + 0x3bc); - if (*(EntityPtr *)EVar24 != (EntityPtr)0x0) { + if (*(float *)EVar24 != 0.0) { local_54 = EVar24; std::multiset::erase(&local_54); } @@ -939066,10 +940608,10 @@ LAB_00a001a4: if (local_80 != (EntityPtr)0x0) { std::multiset::insert(EVar24); } - (**(code **)((int)*(EntityPtr *)local_98 + 0xc))(); + (**(code **)((int)*(float *)local_98 + 0xc))(); local_4c = (EntityPtr)((int)local_4c - 1); uVar19 = local_70; - uVar18 = local_70; + uVar4 = local_70; } uStack_bc._1_1_ = (char)((uint)uStack_bc >> 8); bVar21 = uStack_bc._1_1_ != '\0'; @@ -939077,10 +940619,10 @@ LAB_00a001a4: if (bVar21) { local_58 = (EntityPtr)((uint)local_60 ^ 0x80000000); local_54 = (EntityPtr)((uint)local_5c ^ 0x80000000); - local_98 = (EntityPtr)Weapon::fire_brimstone_with_color(&local_58,uVar18); - local_80 = *(EntityPtr *)(in_ECX + 6); + local_98 = (EntityPtr)Weapon::fire_brimstone_with_color(&local_58,uVar4); + local_80 = *(EntityPtr *)&in_ECX[1].field_0x10; local_4c = (EntityPtr)((int)local_98 + 0x3bc); - if (*(EntityPtr *)((int)local_98 + 0x3bc) != (EntityPtr)0x0) { + if (*(float *)((int)local_98 + 0x3bc) != 0.0) { local_54 = local_4c; std::multiset::erase(&local_54); } @@ -939088,17 +940630,17 @@ LAB_00a001a4: if (local_80 != (EntityPtr)0x0) { std::multiset::insert(local_4c); } - (**(code **)((int)*(EntityPtr *)local_98 + 0xc))(); + (**(code **)((int)*(float *)local_98 + 0xc))(); EVar24 = local_4c; } local_4c = EVar24; if (uStack_bc._2_1_ != '\0') { local_58 = (EntityPtr)((uint)local_5c ^ 0x80000000); local_54 = local_60; - local_98 = (EntityPtr)Weapon::fire_brimstone_with_color(&local_58,uVar18); - local_80 = *(EntityPtr *)(in_ECX + 6); + local_98 = (EntityPtr)Weapon::fire_brimstone_with_color(&local_58,uVar4); + local_80 = *(EntityPtr *)&in_ECX[1].field_0x10; local_4c = (EntityPtr)((int)local_98 + 0x3bc); - if (*(EntityPtr *)((int)local_98 + 0x3bc) != (EntityPtr)0x0) { + if (*(float *)((int)local_98 + 0x3bc) != 0.0) { local_54 = local_4c; std::multiset::erase(&local_54); } @@ -939106,12 +940648,12 @@ LAB_00a001a4: if (local_80 != (EntityPtr)0x0) { std::multiset::insert(local_4c); } - (**(code **)((int)*(EntityPtr *)local_98 + 0xc))(); + (**(code **)((int)*(float *)local_98 + 0xc))(); EVar24 = (EntityPtr)((uint)local_60 ^ 0x80000000); local_60 = local_5c; local_5c = EVar24; - local_80 = (EntityPtr)Weapon::fire_brimstone_with_color(&local_60,uVar18); - local_4c = *(EntityPtr *)(in_ECX + 6); + local_80 = (EntityPtr)Weapon::fire_brimstone_with_color(&local_60,uVar4); + local_4c = *(EntityPtr *)&in_ECX[1].field_0x10; EVar24 = (EntityPtr)((int)local_80 + 0x3bc); if (*(EntityPtr *)EVar24 != (EntityPtr)0x0) { local_54 = EVar24; @@ -939127,15 +940669,15 @@ LAB_00a001a4: fire_c_section_fetuses(); } } - if ((*(int *)(in_ECX + 6) == 0) || ((char)param_3 != '\0')) { + if ((*(int *)&in_ECX[1].field_0x10 == 0) || ((char)param_3 != '\0')) { LAB_00a00882: - in_ECX[1]._technology2Laser = (EntityPtr)0x0; + *(undefined4 *)&in_ECX->field_0x14 = 0; } else { - uVar10 = Entity::GetIntervalTicks(); - Weapon::TriggerTearEffects(local_74,uVar10); + uVar11 = Entity::GetIntervalTicks(); + Weapon::TriggerTearEffects(local_74,uVar11); if ((local_a0._0_1_ == '\0') && - ((iVar17 = Entity::GetIntervalTicks(*(Entity **)(in_ECX + 6)), iVar17 != 0 && + ((iVar18 = Entity::GetIntervalTicks(*(Entity **)&in_ECX[1].field_0x10), iVar18 != 0 && ((char)local_94 != '\0')))) { fire_c_section_fetuses(); } @@ -939151,8 +940693,8 @@ LAB_00a00882: if (local_30 != (EntityPtr)0x0) { do { fVar26 = *(float *)((int)local_80 + (int)local_4c * 4); - if ((fVar26 == *(float *)(in_ECX + 6)) || - (*(float *)((int)fVar26 + 0x3bc) == *(float *)(in_ECX + 6))) { + if ((fVar26 == *(float *)&in_ECX[1].field_0x10) || + (*(float *)((int)fVar26 + 0x3bc) == *(float *)&in_ECX[1].field_0x10)) { EVar24 = *(EntityPtr *)((int)fVar26 + 0x41c); *(undefined1 *)((int)fVar26 + 0x4c0) = 1; *(undefined4 *)((int)fVar26 + 0x4c4) = 0; @@ -939160,21 +940702,21 @@ LAB_00a00882: angle_lerp_shortest(); *(EntityPtr *)((int)fVar26 + 0x4c8) = EVar24; if (0.0 <= (float)EVar24) { - uVar10 = 0x41000000; + uVar11 = 0x41000000; } else { - uVar10 = 0xc1000000; + uVar11 = 0xc1000000; } - *(undefined4 *)((int)fVar26 + 0x4cc) = uVar10; + *(undefined4 *)((int)fVar26 + 0x4cc) = uVar11; fVar25 = (float)local_54 * 0.017453292; sin(); if (fVar25 <= -0.5) { - uVar10 = 0xc1200000; + uVar11 = 0xc1200000; } else { - uVar10 = 0x453b8000; + uVar11 = 0x453b8000; } - *(undefined4 *)((int)fVar26 + 0x358) = uVar10; + *(undefined4 *)((int)fVar26 + 0x358) = uVar11; if ((local_46 != '\0') && (local_45 != '\0')) { Weapon::GetOwnerLaserOffset(&local_60,4,local_74); *(EntityPtr *)((int)fVar26 + 0x34c) = local_60; @@ -939187,7 +940729,7 @@ LAB_00a00882: local_4c = (EntityPtr)((int)local_4c + 1); } while ((uint)local_4c < (uint)local_98); } - EVar24 = in_ECX[5]._technology2Laser; + EVar24 = *(EntityPtr *)&in_ECX[1].field_0xc; local_54 = EVar24; angle_lerp_shortest(); if ((float)EVar24 <= -8.0) { @@ -939196,40 +940738,40 @@ LAB_00a00882: if (8.0 <= (float)EVar24) { EVar24 = (EntityPtr)0x41000000; } - EVar24 = (EntityPtr)((float)local_54 + (float)EVar24); - if (360.0 < ABS((float)EVar24)) { + fVar26 = (float)local_54 + (float)EVar24; + if (360.0 < ABS(fVar26)) { fmodf(); } - if ((float)EVar24 <= 180.0) { - if ((float)EVar24 < -180.0) { - EVar24 = (EntityPtr)((float)EVar24 + 360.0); + if (fVar26 <= 180.0) { + if (fVar26 < -180.0) { + fVar26 = fVar26 + 360.0; } } else { - EVar24 = (EntityPtr)((float)EVar24 - 360.0); + fVar26 = fVar26 - 360.0; } - in_ECX[5]._technology2Laser = EVar24; + *(float *)&in_ECX[1].field_0xc = fVar26; bVar5 = Weapon::IsItemAnimFinished(in_ECX,0x76); pEVar8 = local_74; if (bVar5 == 0) { if ((char)local_94 == '\0') { Weapon::UpdateHeadChargeAnimation(0x76,2,local_74,0xc0000000); if (((local_45 != '\0') && (local_46 != '\0')) && - ((((pEVar4 = *(Entity_Player **)&in_ECX->field_0x4, pEVar4 != (Entity_Player *)0x0 - && (pEVar15 = pEVar4, pEVar4->_type == 1)) || - ((pEVar15 = (Entity_Player *)0x0, pEVar4 == (Entity_Player *)0x0 || - (pEVar4->_type != 3)))) && (pEVar15 != (Entity_Player *)0x0)))) { - pvVar3 = (g_manager->_itemConfig)._collectibles._begin; - if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar3 >> 2 < 0x77) { - uVar10 = 0; + ((((pEVar3 = in_ECX->_owner, pEVar3 != (Entity_Player *)0x0 && + (pEVar16 = pEVar3, pEVar3->_type == 1)) || + ((pEVar16 = (Entity_Player *)0x0, pEVar3 == (Entity_Player *)0x0 || + (pEVar3->_type != 3)))) && (pEVar16 != (Entity_Player *)0x0)))) { + pvVar15 = (g_manager->_itemConfig)._collectibles._begin; + if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar15 >> 2 < 0x77) { + uVar11 = 0; } else { - uVar10 = *(undefined4 *)((int)pvVar3 + 0x1d8); + uVar11 = *(undefined4 *)((int)pvVar15 + 0x1d8); } uVar28 = 0xa0083e; - iVar17 = Entity_Player::get_costume_anim_frame(pEVar15,pEVar15,uVar10,pEVar15); - if (0xf < iVar17) { - Weapon::play_brimstone_costume_shoot(uVar28,pEVar15,pEVar8,0x41000000); + iVar18 = Entity_Player::get_costume_anim_frame(pEVar16,pEVar16,uVar11,pEVar16); + if (0xf < iVar18) { + Weapon::play_brimstone_costume_shoot(uVar28,pEVar16,pEVar8,0x41000000); } } } @@ -939246,15 +940788,15 @@ LAB_00a00882: goto LAB_00a00882; } Weapon::SetHeadLockTime(in_ECX,2); - if ((*(int *)&in_ECX->field_0x4 == 0) || (*(int *)(*(int *)&in_ECX->field_0x4 + 0x28) != 3)) + if ((in_ECX->_owner == (void *)0x0) || (*(int *)((int)in_ECX->_owner + 0x28) != 3)) goto LAB_00a00882; Weapon::SetBlinkTime(); - in_ECX[1]._technology2Laser = (EntityPtr)0x0; + *(undefined4 *)&in_ECX->field_0x14 = 0; } } else { if ((char)local_78 == '\0') goto LAB_009ffebb; - if ((((char)param_3 != '\0') || (0.0 < (float)in_ECX[1]._technology2Laser)) || + if ((((char)param_3 != '\0') || (0.0 < *(float *)&in_ECX->field_0x14)) || (0.0 <= (float)local_80)) goto LAB_009ffb5c; if (cVar6 != '\0') goto LAB_009ffebb; local_64 = (EntityPtr)((uint)local_4e << 7); @@ -939264,27 +940806,27 @@ LAB_00a00882: if (bVar5 == 0) { Vector::Normalize(); local_4c = local_58; - uVar10 = extraout_ECX_00; + uVar11 = extraout_ECX_00; } else { pEVar8 = (EntityPtr *)Vector::ToCardinal(); local_4c = *pEVar8; local_54 = pEVar8[1]; - uVar10 = extraout_ECX; + uVar11 = extraout_ECX; } local_80 = local_54; local_58 = local_4c; - Weapon::GetMultiShotParams(&local_d8,uVar10); + Weapon::GetMultiShotParams(&local_d8,uVar11); EVar24 = local_80; atan2f(); - in_ECX[5]._technology2Laser = (EntityPtr)((float)EVar24 * 57.295776); + *(float *)&in_ECX[1].field_0xc = (float)EVar24 * 57.295776; Weapon::UpdateHeadChargeAnimation(0x76,3,&local_58,&DAT_bf800000); Weapon::SetBlinkTime(); - iVar17 = 0; + iVar18 = 0; local_4e = 0; if (0 < (short)local_d8) { do { - FUN_009f4230(local_24,iVar17,10,local_58,local_54,local_b0,local_d8,uStack_d4,uStack_d0, + FUN_009f4230(local_24,iVar18,10,local_58,local_54,local_b0,local_d8,uStack_d4,uStack_d0, uStack_cc,local_c8,uStack_c4,uStack_c0,uStack_bc,local_b8); if (local_4e == 0) { cVar6 = fire_hitscan(&g_vectorZero,&local_1c,local_64); @@ -939295,18 +940837,18 @@ LAB_00a00882: LAB_009ff93e: local_4e = 1; } - iVar17 = iVar17 + 1; - } while (iVar17 < (short)local_d8); + iVar18 = iVar18 + 1; + } while (iVar18 < (short)local_d8); } - uVar18 = local_b8 & 0xffff; + uVar19 = local_b8 & 0xffff; EVar24 = local_64; bVar5 = local_4e; while( true ) { local_64 = EVar24; - if (uVar18 == 0) break; + if (uVar19 == 0) break; if (bVar5 == 0) { - iVar17 = Random(); - fVar26 = (float)((double)iVar17 + __uint_to_double_fixup[-(iVar17 >> 0x1f)]) * + iVar18 = Random(); + fVar26 = (float)((double)iVar18 + __uint_to_double_fixup[-(iVar18 >> 0x1f)]) * 2.3283064e-10 * 3.14; EVar23 = (EntityPtr)(fVar26 + fVar26); local_4c = EVar23; @@ -939324,7 +940866,7 @@ LAB_009ff93e: LAB_009ff9ec: bVar5 = 1; } - uVar18 = uVar18 - 1; + uVar19 = uVar19 - 1; EVar24 = local_64; } uStack_bc._1_1_ = (char)((uint)uStack_bc >> 8); @@ -939363,40 +940905,38 @@ LAB_009ffafb: LAB_009ffafe: fVar22 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); local_4c = (EntityPtr)(float)fVar22; - in_ECX[1]._technology2Laser = - (EntityPtr) - (((float)local_4c - (float)in_ECX[1]._technology2Laser) * 0.5 + - (float)in_ECX[1]._technology2Laser); + *(float *)&in_ECX->field_0x14 = + ((float)local_4c - *(float *)&in_ECX->field_0x14) * 0.5 + *(float *)&in_ECX->field_0x14 + ; if (EVar24 != (EntityPtr)0x0) { TemporaryEffects::RemoveNullEffect((TemporaryEffects *)((int)EVar24 + 0x1508),0x7f,-1); } } - *(EntityPtr *)(in_ECX + 1) = local_a8; + *(EntityPtr *)&in_ECX->field_0xc = local_a8; local_4d = '\x01'; LAB_009ffb64: - piVar2 = *(int **)(in_ECX + 6); + piVar2 = *(int **)&in_ECX[1].field_0x10; if (((piVar2 != (int *)0x0) && (piVar2[0xef] != 0)) && (*(int *)(piVar2[0xef] + 0x28) != 1000) ) { (**(code **)(*piVar2 + 0x28))(); } - local_a0 = *(EntityPtr *)&in_ECX->field_0x4; + local_a0 = (EntityPtr)in_ECX->_owner; local_46 = '\0'; - if ((local_a0 != (EntityPtr)0x0) && (*(EntityPtr *)((int)local_a0 + 0x28) == (EntityPtr)0x1)) - { - pvVar3 = (g_manager->_itemConfig)._collectibles._begin; - if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar3 >> 2 < 0x77) { + if ((local_a0 != (EntityPtr)0x0) && (*(float *)((int)local_a0 + 0x28) == 1.4013e-45)) { + pvVar15 = (g_manager->_itemConfig)._collectibles._begin; + if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar15 >> 2 < 0x77) { local_4c = (EntityPtr)0x0; } else { - local_4c = *(EntityPtr *)((int)pvVar3 + 0x1d8); + local_4c = *(EntityPtr *)((int)pvVar15 + 0x1d8); } local_98 = (EntityPtr)((int)local_a0 + 0x122c); local_80 = (EntityPtr)0x0; do { - if ((-1 < (int)*(EntityPtr *)local_98) && (*(char *)((int)local_98 + 0xc) == '\0')) { + if ((-1 < (int)*(float *)local_98) && (*(char *)((int)local_98 + 0xc) == '\0')) { local_1c = 0; - this = (ANM2 *)((int)*(EntityPtr *)local_98 * 0x130 + - (int)*(EntityPtr *)((int)local_a0 + 0x1220)); + this = (ANM2 *)((int)*(float *)local_98 * 0x130 + + (int)*(float *)((int)local_a0 + 0x1220)); local_18 = 0xf; local_2c[0] = 0; std::string::assign(&s_empty,0); @@ -939409,17 +940949,17 @@ LAB_009ffb64: } local_8 = 0xffffffff; if (((local_70 & 2) != 0) && (local_70 = local_70 & 0xfffffffd, 0xf < local_18)) { - uVar18 = local_18 + 1; - iVar17 = local_2c[0]; - if (0xfff < uVar18) { - iVar17 = *(int *)(local_2c[0] + -4); - uVar18 = local_18 + 0x24; - if (0x1f < (local_2c[0] - iVar17) - 4U) { + uVar19 = local_18 + 1; + iVar18 = local_2c[0]; + if (0xfff < uVar19) { + iVar18 = *(int *)(local_2c[0] + -4); + uVar19 = local_18 + 0x24; + if (0x1f < (local_2c[0] - iVar18) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar17,uVar18); + operator_delete(iVar18,uVar19); } if (local_65 != 0) { if ((this != (ANM2 *)0x0) && (bVar5 = ANM2::IsPlaying(this,&s_empty), bVar5 != 0)) { @@ -939457,8 +940997,8 @@ LAB_009ffde2: fVar22 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); pEVar8 = local_74; local_4c = (EntityPtr)(float)fVar22; - if ((float)in_ECX[1]._technology2Laser < (float)local_4c) { - EVar24 = (EntityPtr)(((float)in_ECX[1]._technology2Laser / (float)local_4c) * 18.0); + if (*(float *)&in_ECX->field_0x14 < (float)local_4c) { + EVar24 = (EntityPtr)((*(float *)&in_ECX->field_0x14 / (float)local_4c) * 18.0); local_4c = EVar24; if ((char)local_94 == '\0') { if (local_46 == '\0') { @@ -939474,8 +941014,7 @@ LAB_009ffde2: } if ((char)param_3 == '\0') { FUN_009f4130(); - in_ECX[1]._technology2Laser = - (EntityPtr)((float)EVar24 + (float)in_ECX[1]._technology2Laser); + *(float *)&in_ECX->field_0x14 = (float)EVar24 + *(float *)&in_ECX->field_0x14; } goto LAB_009ffde2; } @@ -939496,14 +941035,14 @@ LAB_009ffde2: pEVar9 = &local_60; local_5c = pEVar8[1]; } - in_ECX[2]._technology2Laser = *pEVar9; - *(EntityPtr *)(in_ECX + 3) = pEVar9[1]; + *(EntityPtr *)&in_ECX->field_0x20 = *pEVar9; + *(EntityPtr *)&in_ECX->field_0x24 = pEVar9[1]; Weapon::SetBlinkTime(); } } else { local_8c = 1.0; - pEVar20 = *(Entity **)(in_ECX + 6); + pEVar20 = *(Entity **)&in_ECX[1].field_0x10; local_a4 = local_80; local_a0 = local_4c; if (pEVar20 != (Entity *)0x0) { @@ -939519,11 +941058,11 @@ LAB_009ffde2: if ((local_98._0_1_ != '\0') && (local_79 == '\0')) { local_8c = 0.5; } - iVar17 = Entity_Player::GetCollectibleNum((Entity_Player *)EVar24,0x76,0); - if (1 < iVar17) { + iVar18 = Entity_Player::GetCollectibleNum((Entity_Player *)EVar24,0x76,0); + if (1 < iVar18) { local_8c = local_8c + local_8c; } - if ((*(int *)&in_ECX->field_0x4 != 0) && (*(int *)(*(int *)&in_ECX->field_0x4 + 0x28) == 3)) { + if ((in_ECX->_owner != (void *)0x0) && (*(int *)((int)in_ECX->_owner + 0x28) == 3)) { local_8c = local_8c * 0.5; } if (1.5 < local_8c) { @@ -939534,34 +941073,33 @@ LAB_009ffde2: local_70 = 0xe; } } - pEVar20 = *(Entity **)(in_ECX + 6); - pWVar12 = in_ECX + 6; + pEVar20 = *(Entity **)&in_ECX[1].field_0x10; + pEVar8 = (EntityPtr *)&in_ECX[1].field_0x10; if ((pEVar20 != (Entity *)0x0) && ((pEVar20->_subtype != 1 || (pEVar20->_variant != local_70)))) { (**(code **)(*(int *)pEVar20 + 0x28))(); - if (*(int *)(in_ECX + 6) != 0) { - local_54 = (EntityPtr)(in_ECX + 6); + if (*(int *)&in_ECX[1].field_0x10 != 0) { + local_54 = (EntityPtr)&in_ECX[1].field_0x10; std::multiset::erase(&local_54); - *(undefined4 *)(in_ECX + 6) = 0; + *(undefined4 *)&in_ECX[1].field_0x10 = 0; } LAB_00a009e9: - uVar10 = Random(); - pEVar11 = (Entity_Laser *) - Game::Spawn(7,local_70,&local_a4,&g_vectorZero,*(undefined4 *)&in_ECX->field_0x4,1 - ,uVar10); - if ((pEVar11 == (Entity_Laser *)0x0) || (pEVar11->_type != 7)) { - pEVar11 = (Entity_Laser *)0x0; + uVar11 = Random(); + pEVar12 = (Entity_Laser *) + Game::Spawn(7,local_70,&local_a4,&g_vectorZero,in_ECX->_owner,1,uVar11); + if ((pEVar12 == (Entity_Laser *)0x0) || (pEVar12->_type != 7)) { + pEVar12 = (Entity_Laser *)0x0; } - (pEVar11->_posOffset).x = 0.0; - (pEVar11->_posOffset).y = -20.0; - Entity::SetParent((Entity *)pEVar11,*(undefined4 *)&in_ECX->field_0x4); - pEVar11->_renderDepthOffset = 3000.0; - pEVar11->_scale = local_8c; - Entity_Laser::ResetSpriteScale(pEVar11); - init_laser(pEVar11); - (**(code **)(*(int *)pEVar11 + 0xc))(); - pWVar12 = (Weapon *)EntityPtr::Set(pEVar11); - pEVar20 = *(Entity **)(in_ECX + 6); + (pEVar12->_posOffset).x = 0.0; + (pEVar12->_posOffset).y = -20.0; + Entity::SetParent((Entity *)pEVar12,in_ECX->_owner); + pEVar12->_renderDepthOffset = 3000.0; + pEVar12->_scale = local_8c; + Entity_Laser::ResetSpriteScale(pEVar12); + init_laser(pEVar12); + (**(code **)(*(int *)pEVar12 + 0xc))(); + pEVar8 = (EntityPtr *)EntityPtr::Set(pEVar12); + pEVar20 = *(Entity **)&in_ECX[1].field_0x10; goto LAB_00a00a7b; } if (pEVar20 == (Entity *)0x0) goto LAB_00a009e9; @@ -939573,14 +941111,14 @@ LAB_00a00a7b: goto LAB_009ffe67; } } - local_78 = CONCAT31((int3)((uint)pWVar12 >> 8),(char)param_2); + local_78 = CONCAT31((int3)((uint)pEVar8 >> 8),(char)param_2); if ((char)param_2 == '\0') { - iVar16 = *(int *)((int)g_game->_room + 0x12c4) + *(int *)((int)g_game->_room + 0x12c0); - iVar17 = 0; - if (0 < iVar16) { - iVar17 = iVar16; + iVar17 = *(int *)((int)g_game->_room + 0x12c4) + *(int *)((int)g_game->_room + 0x12c0); + iVar18 = 0; + if (0 < iVar17) { + iVar18 = iVar17; } - if (iVar17 < 1) { + if (iVar18 < 1) { EVar24 = (EntityPtr)((float)local_80 - (pEVar20->_pos).x); fVar26 = (float)local_4c - (pEVar20->_pos).y; if (10000.0 < fVar26 * fVar26 + (float)EVar24 * (float)EVar24) { @@ -939604,35 +941142,35 @@ LAB_00a00a7b: LAB_00a00bb9: Entity::AddVelocity(pEVar20,&local_60,0); } - pWVar12 = in_ECX + 6; + puVar1 = &in_ECX[1].field_0x10; if ((char)param_3 == '\0') { - init_laser(*(int *)pWVar12); - pEVar11 = *(Entity_Laser **)pWVar12; - pEVar11->_scale = local_8c; - Entity_Laser::ResetSpriteScale(pEVar11); + init_laser(*(undefined4 *)puVar1); + pEVar12 = *(Entity_Laser **)puVar1; + pEVar12->_scale = local_8c; + Entity_Laser::ResetSpriteScale(pEVar12); if ((local_64 != (EntityPtr)0x0) && - (iVar17 = Entity::GetIntervalTicks((Entity *)local_64), iVar17 != 0)) { - iVar17 = *(int *)pWVar12; - if (iVar17 != 0) { - local_58 = *(EntityPtr *)(iVar17 + 0x33c); - local_54 = *(EntityPtr *)(iVar17 + 0x340); - local_60 = *(EntityPtr *)(*(int *)&in_ECX->field_0x4 + 0x33c); - local_5c = *(EntityPtr *)(*(int *)&in_ECX->field_0x4 + 0x340); + (iVar18 = Entity::GetIntervalTicks((Entity *)local_64), iVar18 != 0)) { + iVar18 = *(int *)puVar1; + if (iVar18 != 0) { + local_58 = *(EntityPtr *)(iVar18 + 0x33c); + local_54 = *(EntityPtr *)(iVar18 + 0x340); + local_60 = *(EntityPtr *)((int)in_ECX->_owner + 0x33c); + local_5c = *(EntityPtr *)((int)in_ECX->_owner + 0x340); cVar6 = Vector::operator_ne(&local_60); if (cVar6 != '\0') { local_60 = (EntityPtr) - (*(float *)(*(int *)pWVar12 + 0x33c) - - *(float *)(*(int *)&in_ECX->field_0x4 + 0x33c)); + (*(float *)(*(int *)puVar1 + 0x33c) - *(float *)((int)in_ECX->_owner + 0x33c) + ); local_5c = (EntityPtr) - (*(float *)(*(int *)pWVar12 + 0x340) - - *(float *)(*(int *)&in_ECX->field_0x4 + 0x340)); - uVar10 = Vector::Normalized(local_ac); - Weapon::TriggerTearEffects(uVar10,1); + (*(float *)(*(int *)puVar1 + 0x340) - *(float *)((int)in_ECX->_owner + 0x340) + ); + uVar11 = Vector::Normalized(local_ac); + Weapon::TriggerTearEffects(uVar11,1); goto LAB_009ffe64; } } - uVar10 = MusicManager::RandomVector(local_90); - Weapon::TriggerTearEffects(uVar10,1); + uVar11 = MusicManager::RandomVector(local_90); + Weapon::TriggerTearEffects(uVar11,1); } } } @@ -939640,21 +941178,21 @@ LAB_009ffe64: param_2 = local_78; LAB_009ffe67: if ((char)local_94 != '\0') { - if (*(int *)(in_ECX + 6) == 0) { + if (*(int *)&in_ECX[1].field_0x10 == 0) { if (((char)param_2 != '\0') || (cVar6 = Weapon::is_c_section_anim_finished(param_2), cVar6 != '\0')) { - *(EntityPtr *)(in_ECX + 5) = *local_74; - *(EntityPtr *)&in_ECX[5].field_0x4 = local_74[1]; + in_ECX[1]._owner = (void *)*local_74; + in_ECX[1]._technology2Laser = local_74[1]; } } else { - EVar24 = (EntityPtr)(*(float *)(*(int *)(in_ECX + 6) + 0x41c) * 0.017453292); + EVar24 = (EntityPtr)(*(float *)(*(int *)&in_ECX[1].field_0x10 + 0x41c) * 0.017453292); local_54 = EVar24; cos(); local_4c = EVar24; sin(); - *(EntityPtr *)(in_ECX + 5) = local_4c; - *(EntityPtr *)&in_ECX[5].field_0x4 = local_54; + in_ECX[1]._owner = (void *)local_4c; + in_ECX[1]._technology2Laser = local_54; } } ExceptionList = local_10; @@ -939783,10 +941321,10 @@ float10 __thiscall Weapon_Brimstone::GetMaxCharge(Weapon_Brimstone *this) float fVar2; fVar2 = 1.0; - if ((this->field_0x34 & 1) != 0) { + if ((this->_modifiers & 1) != 0) { fVar2 = 2.5; } - if ((*(uint *)&this->field_0x34 >> 4 & 1) != 0) { + if (((uint)this->_modifiers >> 4 & 1) != 0) { return (float10)0.0; } fVar1 = *(float *)&this->field_0x10; @@ -940385,7 +941923,8 @@ LAB_00a018a9: EStack_4c._type = 0x3f666666; EStack_4c._variant = 0x3ca3d70a; EStack_4c._spawnerType = 0x3f800000; - EStack_4c._28_8_ = 0x3eaaaaab00000000; + EStack_4c._velocity.y = 0.0; + EStack_4c._flags = 0x3eaaaaab; EStack_4c._entity = (void *)0x0; (*pcVar3)(&local_50,0xffffffff,0xff,0,1); (**(code **)(*piVar12 + 0xc))(); @@ -940397,7 +941936,8 @@ LAB_00a018a9: EStack_4c._type = 0x3f666666; EStack_4c._variant = 0x3ca3d70a; EStack_4c._spawnerType = 0x3f800000; - EStack_4c._28_8_ = 0x3ec8c8ca3d20a0a1; + EStack_4c._velocity.y = 0.039215688; + EStack_4c._flags = 0x3ec8c8ca; EStack_4c._entity = (void *)0x0; (*pcVar3)(&local_50,0xffffffff,0xff,0,1); piVar12[0x39] = 0x3f000000; @@ -940439,7 +941979,7 @@ LAB_00a018a9: EStack_4c._spawnerVariant = *(int *)((int)local_fc + 0x14d4); EStack_4c._position.x = *(float *)((int)local_fc + 0x14d8); EStack_4c._position.y = *(float *)((int)local_fc + 0x14dc); - EStack_4c._24_4_ = *(undefined4 *)((int)local_fc + 0x14e0); + EStack_4c._velocity.x = *(float *)((int)local_fc + 0x14e0); EStack_4c._28_8_ = *(undefined8 *)((int)local_fc + 0x14e4); Color::__mul(); } @@ -940565,10 +942105,10 @@ undefined4 __thiscall Weapon_Brimstone::GetMarkedTargetVariant(Weapon_Brimstone byte bVar1; Entity_Player *this_00; - if ((*(uint *)&this->field_0x34 >> 4 & 1) != 0) { + if (((uint)this->_modifiers >> 4 & 1) != 0) { return 0; } - this_00 = *(Entity_Player **)&this->field_0x4; + this_00 = this->_owner; if (this_00 != (Entity_Player *)0x0) { if (this_00->_type == 1) goto LAB_00a02830; if (this_00->_type == 3) { @@ -940597,7 +942137,7 @@ LAB_00a02830: EntityPtr __thiscall Weapon_Brimstone::GetFocusEntity(Weapon_Brimstone *this) { - if ((*(uint *)&this->field_0x34 >> 4 & 1) == 0) { + if (((uint)this->_modifiers >> 4 & 1) == 0) { return (EntityPtr)0x0; } return this->_mainLaser; @@ -940614,12 +942154,12 @@ EntityPtr __thiscall Weapon_Brimstone::GetFocusEntity(Weapon_Brimstone *this) void __thiscall Weapon_Brimstone::fire(Weapon_Brimstone *this,float Speed,byte IgnoreStatusEffects) { - void *pvVar1; - code *pcVar2; + code *pcVar1; + char cVar2; char cVar3; - char cVar4; - undefined4 uVar5; - int *piVar6; + undefined4 uVar4; + int *piVar5; + void *pvVar6; EntityPtr EVar7; EntityPtr extraout_ECX; EntityPtr extraout_ECX_00; @@ -940665,34 +942205,34 @@ void __thiscall Weapon_Brimstone::fire(Weapon_Brimstone *this,float Speed,byte I local_84 = (EntityPtr *)Speed; local_b4 = this; Weapon::GetMultiShotParams(); - iVar8 = *(int *)&this->field_0x4; - if (iVar8 == 0) { + pvVar6 = this->_owner; + if (pvVar6 == (void *)0x0) { LAB_00a02903: local_8c = (EntityPtr)0x0; - if (iVar8 != 0) { + if (pvVar6 != (void *)0x0) { local_8c = (EntityPtr)0x0; - if (*(int *)(iVar8 + 0x28) == 1) goto LAB_00a02934; - if (*(int *)(iVar8 + 0x28) == 3) goto LAB_00a02924; + if (*(int *)((int)pvVar6 + 0x28) == 1) goto LAB_00a02934; + if (*(int *)((int)pvVar6 + 0x28) == 3) goto LAB_00a02924; } LAB_00a0293e: local_a4 = (EntityPtr *)0x3f800000; } - else if (*(int *)(iVar8 + 0x28) == 1) { - local_a4 = *(EntityPtr **)(iVar8 + 0x1464); - local_8c = (EntityPtr)iVar8; + else if (*(int *)((int)pvVar6 + 0x28) == 1) { + local_a4 = *(EntityPtr **)((int)pvVar6 + 0x1464); + local_8c = (EntityPtr)pvVar6; } else { - if (*(int *)(iVar8 + 0x28) != 3) goto LAB_00a02903; - local_8c = *(EntityPtr *)(iVar8 + 0x410); + if (*(int *)((int)pvVar6 + 0x28) != 3) goto LAB_00a02903; + local_8c = *(EntityPtr *)((int)pvVar6 + 0x410); LAB_00a02924: - iVar8 = *(int *)(iVar8 + 0x410); - if (iVar8 == 0) goto LAB_00a0293e; + pvVar6 = *(void **)((int)pvVar6 + 0x410); + if (pvVar6 == (void *)0x0) goto LAB_00a0293e; LAB_00a02934: - local_a4 = *(EntityPtr **)(iVar8 + 0x1464); + local_a4 = *(EntityPtr **)((int)pvVar6 + 0x1464); } local_b4 = (Weapon_Brimstone *)&DAT_bf800000; EStack_b8 = (EntityPtr)Speed; - if ((*(uint *)&this->field_0x34 >> 9 & 1) == 0) { + if (((uint)this->_modifiers >> 9 & 1) == 0) { Weapon::UpdateHeadChargeAnimation(0x76,2); EVar7 = (EntityPtr)0x0; local_8c = (EntityPtr)0x0; @@ -940757,27 +942297,27 @@ LAB_00a02da1: pEVar10 = pEStack_90; local_80 = pEVar14; sin(); - iVar8 = *(int *)&this->field_0x4; - if (iVar8 == 0) { + pvVar6 = this->_owner; + if (pvVar6 == (void *)0x0) { local_9c = (EntityPtr)g_vectorZero.y; local_a0 = (EntityPtr)g_vectorZero.x; EStack_b8 = extraout_ECX; } else { - EStack_b8 = *(EntityPtr *)(iVar8 + 0x340); - local_a0 = *(EntityPtr *)(iVar8 + 0x33c); + EStack_b8 = *(EntityPtr *)((int)pvVar6 + 0x340); + local_a0 = *(EntityPtr *)((int)pvVar6 + 0x33c); local_9c = EStack_b8; } local_b4 = (Weapon_Brimstone *)0x0; EStack_7c = (EntityPtr)pEVar10; local_a4 = (EntityPtr *)Weapon::FireBrimstone(&local_80); local_b4 = (Weapon_Brimstone *)auStack_40; - pcVar2 = *(code **)((int)*local_a4 + 0x3c); + pcVar1 = *(code **)((int)*local_a4 + 0x3c); EStack_b8 = (EntityPtr)0xa02e90; - uVar5 = Weapon::get_laser_color(); + uVar4 = Weapon::get_laser_color(); local_b4 = (Weapon_Brimstone *)0x1; EStack_b8 = (EntityPtr)0x0; - (*pcVar2)(uVar5,0xffffffff,0xff); + (*pcVar1)(uVar4,0xffffffff,0xff); local_a0 = this->_mainLaser; pEVar10 = (EntityPtr *)((int)EStack_b8 + 0x3bc); if (*pEVar10 != (EntityPtr)0x0) { @@ -940792,28 +942332,28 @@ LAB_00a02da1: EVar7 = extraout_ECX_00; } if (EStack_54._1_1_ != '\0') { - iVar8 = *(int *)&this->field_0x4; + pvVar6 = this->_owner; local_80 = (EntityPtr *)((uint)*local_84 ^ 0x80000000); EStack_7c = (EntityPtr)-(float)local_84[1]; - if (iVar8 == 0) { + if (pvVar6 == (void *)0x0) { local_a0 = (EntityPtr)g_vectorZero.x; local_9c = (EntityPtr)g_vectorZero.y; } else { - EVar7 = *(EntityPtr *)(iVar8 + 0x340); - local_a0 = *(EntityPtr *)(iVar8 + 0x33c); + EVar7 = *(EntityPtr *)((int)pvVar6 + 0x340); + local_a0 = *(EntityPtr *)((int)pvVar6 + 0x33c); local_9c = EVar7; } local_b4 = (Weapon_Brimstone *)0x0; EStack_b8 = EVar7; local_a4 = (EntityPtr *)Weapon::FireBrimstone(&local_80); local_b4 = (Weapon_Brimstone *)auStack_40; - pcVar2 = *(code **)((int)*local_a4 + 0x3c); + pcVar1 = *(code **)((int)*local_a4 + 0x3c); EStack_b8 = (EntityPtr)0xa02f80; - uVar5 = Weapon::get_laser_color(); + uVar4 = Weapon::get_laser_color(); local_b4 = (Weapon_Brimstone *)0x1; EStack_b8 = (EntityPtr)0x0; - (*pcVar2)(uVar5,0xffffffff,0xff); + (*pcVar1)(uVar4,0xffffffff,0xff); EVar7 = this->_mainLaser; pEVar10 = (EntityPtr *)((int)EStack_b8 + 0x3bc); if (*pEVar10 != (EntityPtr)0x0) { @@ -940830,29 +942370,29 @@ LAB_00a02da1: if (EStack_54._2_1_ == '\0') { return; } - iVar8 = *(int *)&this->field_0x4; + pvVar6 = this->_owner; local_80 = (EntityPtr *)((uint)local_84[1] ^ 0x80000000); EStack_7c = *local_84; - if (iVar8 == 0) { + if (pvVar6 == (void *)0x0) { local_9c = (EntityPtr)g_vectorZero.y; local_a0 = (EntityPtr)g_vectorZero.x; } else { - EVar7 = *(EntityPtr *)(iVar8 + 0x340); - local_a0 = *(EntityPtr *)(iVar8 + 0x33c); + EVar7 = *(EntityPtr *)((int)pvVar6 + 0x340); + local_a0 = *(EntityPtr *)((int)pvVar6 + 0x33c); local_9c = EVar7; } local_b4 = (Weapon_Brimstone *)0x0; EStack_b8 = EVar7; local_a4 = (EntityPtr *)Weapon::FireBrimstone(&local_80); local_b4 = (Weapon_Brimstone *)auStack_40; - pcVar2 = *(code **)((int)*local_a4 + 0x3c); + pcVar1 = *(code **)((int)*local_a4 + 0x3c); EStack_b8 = (EntityPtr)0xa03062; - uVar5 = Weapon::get_laser_color(); + uVar4 = Weapon::get_laser_color(); local_b4 = (Weapon_Brimstone *)0x1; EStack_b8 = (EntityPtr)0x0; piVar15 = (int *)0xffffffff; - (*pcVar2)(uVar5,0xffffffff,0xff); + (*pcVar1)(uVar4,0xffffffff,0xff); EVar7 = this->_mainLaser; pEVar10 = (EntityPtr *)((int)EStack_b8 + 0x3bc); if (*pEVar10 != (EntityPtr)0x0) { @@ -940864,21 +942404,21 @@ LAB_00a02da1: std::multiset::insert(pEVar10); } (**(code **)((int)*(EntityPtr *)EStack_b8 + 0xc))(); - iVar8 = *(int *)&this->field_0x4; + pvVar6 = this->_owner; uStack_94 = *(uint *)((int)local_98 + 4); pEStack_90 = (EntityPtr *)(*(uint *)local_98 ^ 0x80000000); - if (iVar8 == 0) { + if (pvVar6 == (void *)0x0) { local_b4 = (Weapon_Brimstone *)g_vectorZero.x; - uVar5 = extraout_ECX_02; + uVar4 = extraout_ECX_02; } else { - uVar5 = *(undefined4 *)(iVar8 + 0x340); - local_b4 = (Weapon_Brimstone *)*(float *)(iVar8 + 0x33c); + uVar4 = *(undefined4 *)((int)pvVar6 + 0x340); + local_b4 = (Weapon_Brimstone *)*(float *)((int)pvVar6 + 0x33c); } - piVar6 = (int *)Weapon::FireBrimstone(&uStack_94,uVar5,0); - pcVar2 = *(code **)(*piVar6 + 0x3c); - uVar5 = Weapon::get_laser_color(&EStack_54); - (*pcVar2)(uVar5,0xffffffff,0xff,0,1); + piVar5 = (int *)Weapon::FireBrimstone(&uStack_94,uVar4,0); + pcVar1 = *(code **)(*piVar5 + 0x3c); + uVar4 = Weapon::get_laser_color(&EStack_54); + (*pcVar1)(uVar4,0xffffffff,0xff,0,1); EVar13 = this->_mainLaser; EVar7 = (EntityPtr)(piVar15 + 0xef); if (*(EntityPtr *)EVar7 != (EntityPtr)0x0) { @@ -940895,7 +942435,7 @@ LAB_00a02da1: Weapon::UpdateHeadChargeAnimation(0x76,3); EStack_b8 = (EntityPtr)0xa; Weapon::SetBlinkTime((Weapon *)this); - cVar4 = '\0'; + cVar3 = '\0'; iVar8 = 0; uStack_94 = uStack_94 & 0xffffff; if (0 < (short)local_70) { @@ -940910,21 +942450,21 @@ LAB_00a02da1: if (uStack_94._3_1_ == '\0') { EStack_b8 = (EntityPtr)&local_78; local_b4 = (Weapon_Brimstone *)0x0; - cVar3 = fire_hitscan(&g_vectorZero); - cVar4 = '\0'; - if (cVar3 != '\0') goto LAB_00a02a08; + cVar2 = fire_hitscan(&g_vectorZero); + cVar3 = '\0'; + if (cVar2 != '\0') goto LAB_00a02a08; } else { LAB_00a02a08: - cVar4 = '\x01'; + cVar3 = '\x01'; } iVar8 = iVar8 + 1; - uStack_94 = CONCAT13(cVar4,(undefined3)uStack_94); + uStack_94 = CONCAT13(cVar3,(undefined3)uStack_94); } while (iVar8 < (short)local_70); } pEVar10 = local_84; for (uVar9 = local_50 & 0xffff; local_84 = pEVar10, uVar9 != 0; uVar9 = uVar9 - 1) { - if (cVar4 == '\0') { + if (cVar3 == '\0') { local_b4 = (Weapon_Brimstone *)0xa02a3e; iVar8 = Random(); fVar12 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * @@ -940940,38 +942480,38 @@ LAB_00a02a08: EStack_b8 = (EntityPtr)&local_a0; local_b4 = (Weapon_Brimstone *)0x0; local_9c = EVar7; - cVar3 = fire_hitscan(&g_vectorZero); - cVar4 = '\0'; - if (cVar3 != '\0') goto LAB_00a02aa9; + cVar2 = fire_hitscan(&g_vectorZero); + cVar3 = '\0'; + if (cVar2 != '\0') goto LAB_00a02aa9; } else { LAB_00a02aa9: - cVar4 = '\x01'; + cVar3 = '\x01'; } pEVar10 = local_84; } if (EStack_54._1_1_ != '\0') { - if (cVar4 != '\0') goto LAB_00a02bed; + if (cVar3 != '\0') goto LAB_00a02bed; EStack_b8 = (EntityPtr)&local_a0; local_b4 = (Weapon_Brimstone *)0x0; local_a0 = (EntityPtr)((uint)*pEVar10 ^ 0x80000000); local_9c = (EntityPtr)((uint)pEVar10[1] ^ 0x80000000); - cVar4 = fire_hitscan(&g_vectorZero); + cVar3 = fire_hitscan(&g_vectorZero); } - if (cVar4 != '\0') goto LAB_00a02bed; + if (cVar3 != '\0') goto LAB_00a02bed; if (EStack_54._2_1_ != '\0') { EStack_b8 = (EntityPtr)&local_a0; local_a0 = (EntityPtr)((uint)pEVar10[1] ^ 0x80000000); local_b4 = (Weapon_Brimstone *)0x0; local_9c = *pEVar10; - cVar4 = fire_hitscan(&g_vectorZero); - if (cVar4 != '\0') goto LAB_00a02bed; + cVar3 = fire_hitscan(&g_vectorZero); + if (cVar3 != '\0') goto LAB_00a02bed; local_a0 = pEVar10[1]; EStack_b8 = (EntityPtr)&local_a0; local_9c = (EntityPtr)((uint)*pEVar10 ^ 0x80000000); local_b4 = (Weapon_Brimstone *)0x0; - cVar4 = fire_hitscan(&g_vectorZero); - if (cVar4 != '\0') goto LAB_00a02bed; + cVar3 = fire_hitscan(&g_vectorZero); + if (cVar3 != '\0') goto LAB_00a02bed; } if (local_8c == (EntityPtr)0x0) { return; @@ -940996,9 +942536,9 @@ LAB_00a02bed: *(float *)&this->field_0x14 = ((float)local_98 - *(float *)&this->field_0x14) * 0.5 + *(float *)&this->field_0x14; if (local_8c != (EntityPtr)0x0) { - pvVar1 = (g_manager->_itemConfig)._nullItems._begin; - if ((0x1fc < (int)((int)(g_manager->_itemConfig)._nullItems._end - (int)pvVar1 & 0xfffffffcU)) - && (local_80 = *(EntityPtr **)((int)pvVar1 + 0x1fc), local_80 != (EntityPtr *)0x0)) { + pvVar6 = (g_manager->_itemConfig)._nullItems._begin; + if ((0x1fc < (int)((int)(g_manager->_itemConfig)._nullItems._end - (int)pvVar6 & 0xfffffffcU)) + && (local_80 = *(EntityPtr **)((int)pvVar6 + 0x1fc), local_80 != (EntityPtr *)0x0)) { local_78 = local_80[0x1e]; EStack_b8 = (EntityPtr)&local_80; local_b4 = (Weapon_Brimstone *)0xffffffff; @@ -941016,11 +942556,11 @@ LAB_00a02bed: /* DB: vftable */ -void Weapon_Deathmatch::Fire(EntityPtr *param_1,undefined4 param_2,undefined4 param_3) +void Weapon_Deathmatch::Fire(undefined4 *param_1,undefined4 param_2,undefined4 param_3) { byte bVar1; - EntityPtr *pEVar2; + float *pfVar2; int iVar3; int iVar4; uint uVar5; @@ -941028,70 +942568,70 @@ void Weapon_Deathmatch::Fire(EntityPtr *param_1,undefined4 param_2,undefined4 pa Weapon *in_ECX; float10 fVar7; float fVar8; - EntityPtr EVar9; + float fVar9; undefined1 auVar10 [12]; float fVar11; undefined1 *puVar12; - EntityPtr EVar13; - int local_34; + float fVar13; + void *local_34; undefined4 auStack_18 [2]; - EntityPtr EStack_10; - EntityPtr EStack_c; + float fStack_10; + float fStack_c; - *(undefined4 *)&in_ECX[1].field_0x4 = 0x41a00000; + *(undefined4 *)&in_ECX->field_0x10 = 0x41a00000; Weapon::Fire(param_1,param_2,param_3); if ((char)param_3 != '\0') { return; } - local_34 = *(int *)&in_ECX->field_0x4; - if (local_34 != 0) { - if (*(int *)(local_34 + 0x28) == 1) goto LAB_00a03209; - if (*(int *)(local_34 + 0x28) == 3) { - local_34 = *(int *)(local_34 + 0x410); + local_34 = in_ECX->_owner; + if (local_34 != (void *)0x0) { + if (*(int *)((int)local_34 + 0x28) == 1) goto LAB_00a03209; + if (*(int *)((int)local_34 + 0x28) == 3) { + local_34 = *(void **)((int)local_34 + 0x410); goto LAB_00a03209; } } - local_34 = 0; + local_34 = (void *)0x0; LAB_00a03209: fVar11 = 0.001; - if (0.001 <= *(float *)&in_ECX[1].field_0x4) { - fVar11 = *(float *)&in_ECX[1].field_0x4; + if (0.001 <= *(float *)&in_ECX->field_0x10) { + fVar11 = *(float *)&in_ECX->field_0x10; } fVar7 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); - EStack_10 = in_ECX[2]._technology2Laser; - EStack_c = *(EntityPtr *)(in_ECX + 3); + fStack_10 = *(float *)&in_ECX->field_0x20; + fStack_c = *(float *)&in_ECX->field_0x24; bVar1 = Weapon::IsAxisAligned(in_ECX); fVar8 = 1.0; if (bVar1 == 0) { - pEVar2 = (EntityPtr *)Weapon::get_aim_direction(auStack_18,&EStack_10); - EVar13 = *pEVar2; - EVar9 = pEVar2[1]; - fVar8 = (float)EVar13 * (float)EVar13 + (float)EVar9 * (float)EVar9; + pfVar2 = (float *)Weapon::get_aim_direction(auStack_18,&fStack_10); + fVar13 = *pfVar2; + fVar9 = pfVar2[1]; + fVar8 = fVar13 * fVar13 + fVar9 * fVar9; sqrtf(); if (0.0 < fVar8) { - EVar13 = (EntityPtr)((float)*pEVar2 * (1.0 / fVar8)); - EVar9 = (EntityPtr)((float)pEVar2[1] * (1.0 / fVar8)); + fVar13 = *pfVar2 * (1.0 / fVar8); + fVar9 = pfVar2[1] * (1.0 / fVar8); } fVar8 = 1.0; - EStack_10 = EVar13; + fStack_10 = fVar13; } else { - pEVar2 = (EntityPtr *)Vector::ToCardinal(); - EVar9 = pEVar2[1]; - EStack_10 = *pEVar2; + pfVar2 = (float *)Vector::ToCardinal(); + fVar9 = pfVar2[1]; + fStack_10 = *pfVar2; } - EVar13 = in_ECX[1]._technology2Laser; - EStack_c = EVar9; + fVar13 = *(float *)&in_ECX->field_0x14; + fStack_c = fVar9; if ((char)param_2 == '\0') { auVar10 = ZEXT812(0x3a83126f); if (auVar10._0_4_ <= fVar11) { auVar10._4_8_ = auVar10._4_8_; auVar10._0_4_ = fVar11; } - if (auVar10._0_4_ <= (float)EVar13) { - Weapon::UpdateHeadChargeAnimation(0xe5,2,&EStack_10,&DAT_bf800000); + if (auVar10._0_4_ <= fVar13) { + Weapon::UpdateHeadChargeAnimation(0xe5,2,&fStack_10,&DAT_bf800000); Weapon::SetBlinkTime(); - iVar3 = Weapon::get_tear_movement_inheritance(auStack_18,&EStack_10); + iVar3 = Weapon::get_tear_movement_inheritance(auStack_18,&fStack_10); auStack_18[0] = *(undefined4 *)(iVar3 + 4); FUN_009f3c40(); Random(); @@ -941099,9 +942639,9 @@ LAB_00a03209: Random(); cos(); sin(); - Weapon::get_owner_position(&EStack_10); + Weapon::get_owner_position(&fStack_10); iVar3 = Room::MamaMegaExplosion(); - if (local_34 != 0) { + if (local_34 != (void *)0x0) { *(undefined4 *)(iVar3 + 0x420) = 0x3f4ccccd; iVar4 = Random(); *(float *)(iVar3 + 0x41c) = @@ -941124,7 +942664,7 @@ LAB_00a03209: *(float *)(iVar3 + 0x44c) = fVar11 * *(float *)(iVar3 + 0x44c); *(float *)(iVar3 + 0x434) = fVar11 * *(float *)(iVar3 + 0x434); } - in_ECX[1]._technology2Laser = (EntityPtr)0x0; + *(undefined4 *)&in_ECX->field_0x14 = 0; bVar1 = Weapon::IsItemAnimFinished(in_ECX,0xe5); if (bVar1 != 0) { FUN_009f4fc0(); @@ -941132,22 +942672,22 @@ LAB_00a03209: } } else { - if ((float)fVar7 <= (float)EVar13) { + if ((float)fVar7 <= fVar13) { puVar12 = &DAT_bf800000; uVar6 = 1; } else { - if (*(int *)&in_ECX->field_0x4 != 0) { - fVar8 = *(float *)(*(int *)&in_ECX->field_0x4 + 0x39c); + if (in_ECX->_owner != (void *)0x0) { + fVar8 = *(float *)((int)in_ECX->_owner + 0x39c); } uVar6 = 0; - in_ECX[1]._technology2Laser = (EntityPtr)(fVar8 + (float)EVar13); - puVar12 = (undefined1 *)(((fVar8 + (float)EVar13) / (float)fVar7) * 18.0); + *(float *)&in_ECX->field_0x14 = fVar8 + fVar13; + puVar12 = (undefined1 *)(((fVar8 + fVar13) / (float)fVar7) * 18.0); } Weapon::UpdateHeadChargeAnimation(0xe5,uVar6,param_1,puVar12); Weapon::SetBlinkTime(); - in_ECX[2]._technology2Laser = *param_1; - *(EntityPtr *)(in_ECX + 3) = param_1[1]; + *(undefined4 *)&in_ECX->field_0x20 = *param_1; + *(undefined4 *)&in_ECX->field_0x24 = param_1[1]; } return; } @@ -941184,33 +942724,32 @@ void Weapon_Fetus::Fire(undefined4 *param_1,uint param_2,undefined4 param_3) char cVar3; uint uVar4; Entity_Player *pEVar5; - int iVar6; + void *pvVar6; float *pfVar7; int *piVar8; int iVar9; undefined8 *puVar10; + undefined4 *puVar11; Weapon *in_ECX; Entity_Player *this; undefined4 extraout_ECX; undefined4 extraout_ECX_00; undefined4 extraout_ECX_01; - EntityPtr *pEVar11; - EntityPtr *extraout_ECX_02; - EntityPtr *extraout_ECX_03; + float *extraout_ECX_02; + float *extraout_ECX_03; undefined4 extraout_ECX_04; undefined4 extraout_ECX_05; - EntityPtr *extraout_ECX_06; + float *extraout_ECX_06; undefined4 extraout_ECX_07; uint uVar12; Entity_Player *pEVar13; undefined4 *puVar14; float10 fVar15; - EntityPtr *pEVar16; + float *pfVar16; float fVar17; undefined1 *puVar18; - EntityPtr EVar19; + undefined4 uVar19; undefined4 uVar20; - undefined4 uVar21; undefined4 local_a4; undefined4 uStack_a0; undefined4 uStack_9c; @@ -941221,22 +942760,22 @@ void Weapon_Fetus::Fire(undefined4 *param_1,uint param_2,undefined4 param_3) undefined4 uStack_88; uint local_84; Weapon *local_80; - EntityPtr *local_7c; + float *local_7c; float local_78; float local_74; undefined1 local_70 [4]; float local_6c; float local_68; - EntityPtr local_64; - EntityPtr local_60; + float local_64; + undefined1 *local_60; undefined1 *local_5c; float local_58; - EntityPtr local_54; + float *local_54; undefined4 *local_50; float local_4c; char local_45; - EntityPtr local_44; - EntityPtr local_40; + float local_44; + float local_40; undefined8 local_3c; float local_34; float local_30; @@ -941258,7 +942797,7 @@ void Weapon_Fetus::Fire(undefined4 *param_1,uint param_2,undefined4 param_3) local_80 = in_ECX; local_24 = uVar4; Weapon::Fire(param_1,param_2,param_3); - pEVar5 = *(Entity_Player **)&in_ECX->field_0x4; + pEVar5 = in_ECX->_owner; pEVar13 = pEVar5; if (pEVar5 == (Entity_Player *)0x0) { LAB_00a03762: @@ -941297,63 +942836,63 @@ LAB_00a037c7: local_45 = '\x01'; if (bVar2 == 0) goto LAB_00a037c7; } - local_40 = (EntityPtr)(*(uint *)&in_ECX[4].field_0x4 >> 7 & 0xffffff01); + local_40 = (float)((uint)in_ECX->_modifiers >> 7 & 0xffffff01); fVar15 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(uVar4); - iVar9 = *(int *)&in_ECX->field_0x4; - EVar19 = (EntityPtr)(float)fVar15; - local_44 = EVar19; - if (iVar9 == 0) { + pvVar1 = in_ECX->_owner; + fVar17 = (float)fVar15; + local_44 = fVar17; + if (pvVar1 == (void *)0x0) { LAB_00a0382d: - local_68 = *(float *)&in_ECX[3].field_0x4; - local_64 = in_ECX[3]._technology2Laser; + local_68 = *(float *)&in_ECX->field_0x28; + local_64 = *(float *)&in_ECX->field_0x2c; } else { - if (*(int *)(iVar9 + 0x28) == 1) { - iVar6 = iVar9; + if (*(int *)((int)pvVar1 + 0x28) == 1) { + pvVar6 = pvVar1; } - else if ((*(int *)(iVar9 + 0x28) != 3) || (iVar6 = *(int *)(iVar9 + 0x410), iVar6 == 0)) - goto LAB_00a0382d; - iVar6 = *(int *)(iVar6 + 0x140c); - if ((iVar6 == 0) || (local_45 == '\0')) goto LAB_00a0382d; - local_68 = *(float *)(iVar6 + 0x33c); - local_64 = *(EntityPtr *)(iVar6 + 0x340); + else if ((*(int *)((int)pvVar1 + 0x28) != 3) || + (pvVar6 = *(void **)((int)pvVar1 + 0x410), pvVar6 == (void *)0x0)) goto LAB_00a0382d; + iVar9 = *(int *)((int)pvVar6 + 0x140c); + if ((iVar9 == 0) || (local_45 == '\0')) goto LAB_00a0382d; + local_68 = *(float *)(iVar9 + 0x33c); + local_64 = *(float *)(iVar9 + 0x340); } bVar2 = (local_68 == g_vectorZero.x) << 6 | (NAN(local_68) || NAN(g_vectorZero.x)) << 2 | 2U | local_68 < g_vectorZero.x; if (local_68 == g_vectorZero.x) { - bVar2 = ((float)local_64 == g_vectorZero.y) << 6 | - (NAN((float)local_64) || NAN(g_vectorZero.y)) << 2 | 2U | - (float)local_64 < g_vectorZero.y; + bVar2 = (local_64 == g_vectorZero.y) << 6 | (NAN(local_64) || NAN(g_vectorZero.y)) << 2 | 2U | + local_64 < g_vectorZero.y; } local_4c = (float)CONCAT31(CONCAT21((short)((uint)&local_68 >> 0x10),bVar2),(undefined1)param_2); - if (((iVar9 != 0) && (*(int *)(iVar9 + 0x28) == 1)) && (0 < *(int *)(iVar9 + 0x18f8))) { - local_40 = (EntityPtr)0x3f800000; - pEVar11 = &local_40; - if (1.0 <= (float)EVar19) { - pEVar11 = &local_44; + if (((pvVar1 != (void *)0x0) && (*(int *)((int)pvVar1 + 0x28) == 1)) && + (0 < *(int *)((int)pvVar1 + 0x18f8))) { + local_40 = 1.0; + pfVar7 = &local_40; + if (1.0 <= fVar17) { + pfVar7 = &local_44; } - EVar19 = *pEVar11; + fVar17 = *pfVar7; } - if ((-1000.0 < (float)EVar19) && - (local_4c = (float)(param_2 & 0xff), (float)EVar19 <= (float)in_ECX[1]._technology2Laser)) { + if ((-1000.0 < fVar17) && + (local_4c = (float)(param_2 & 0xff), fVar17 <= *(float *)&in_ECX->field_0x14)) { local_4c = 0.0; } - local_60 = in_ECX[2]._technology2Laser; - local_5c = *(undefined1 **)(in_ECX + 3); + local_60 = *(undefined1 **)&in_ECX->field_0x20; + local_5c = *(undefined1 **)&in_ECX->field_0x24; bVar2 = Weapon::IsAxisAligned(in_ECX); if (bVar2 == 0) { fVar17 = (float)local_5c * (float)local_5c + (float)local_60 * (float)local_60; sqrtf(); uVar20 = extraout_ECX_01; if (0.0 < fVar17) { - local_60 = (EntityPtr)((1.0 / fVar17) * (float)local_60); + local_60 = (undefined1 *)((1.0 / fVar17) * (float)local_60); local_5c = (undefined1 *)((float)local_5c * (1.0 / fVar17)); } } else { puVar18 = (undefined1 *)0x0; if (ABS((float)local_60) <= ABS((float)local_5c)) { - local_60 = (EntityPtr)0x0; + local_60 = (undefined1 *)0x0; if (0.0 <= (float)local_5c) { puVar18 = (undefined1 *)0x3f800000; } @@ -941362,10 +942901,10 @@ LAB_00a0382d: } } else if (0.0 <= (float)local_60) { - local_60 = (EntityPtr)0x3f800000; + local_60 = (undefined1 *)0x3f800000; } else { - local_60 = (EntityPtr)&DAT_bf800000; + local_60 = &DAT_bf800000; } uVar20 = extraout_ECX; local_5c = puVar18; @@ -941373,95 +942912,90 @@ LAB_00a0382d: fVar17 = 1.0; if (local_4c._0_1_ == '\0') { if ((char)param_3 == '\0') { - pEVar11 = &local_44; - local_40 = (EntityPtr)0x3f800000; - pEVar16 = &local_40; - if (1.0 <= (float)local_44) { - pEVar16 = pEVar11; + pfVar7 = &local_44; + local_40 = 1.0; + pfVar16 = &local_40; + if (1.0 <= local_44) { + pfVar16 = pfVar7; } - if ((float)in_ECX[1]._technology2Laser < (float)*pEVar16) { + if (*(float *)&in_ECX->field_0x14 < *pfVar16) { LAB_00a03e32: puVar14 = local_50; } else { - *(float *)(in_ECX + 1) = (float)local_44 / 3.0; + *(float *)&in_ECX->field_0xc = local_44 / 3.0; if (pEVar13 == (Entity_Player *)0x0) { Weapon::SetBlinkTime(); } Weapon::TriggerTearEffects(&local_60,1); Weapon::get_owner_position(&local_68); local_4c = (float)local_60 * 10.0; - local_44 = (EntityPtr)((float)local_5c * 10.0); + local_44 = (float)local_5c * 10.0; pfVar7 = (float *)Weapon::get_tear_movement_inheritance(&local_78,&local_60); local_4c = local_4c + *pfVar7; - local_44 = (EntityPtr)((float)local_44 + pfVar7[1]); + local_44 = local_44 + pfVar7[1]; uVar20 = extraout_ECX_00; Weapon::GetMultiShotParams(&local_a4,extraout_ECX_00); - local_40 = (EntityPtr)-(float)local_44; + local_40 = -local_44; if (uStack_88._1_1_ != '\0') { local_58 = -local_4c * local_6c; - local_54 = (EntityPtr)((float)local_40 * local_6c); - piVar8 = (int *)fire_fetus_tear(&local_68,&local_58,0,*(undefined4 *)&in_ECX->field_0x4, - 0x3f800000,uVar20); + local_54 = (float *)(local_40 * local_6c); + piVar8 = (int *)fire_fetus_tear(&local_68,&local_58,0,in_ECX->_owner,0x3f800000,uVar20); uVar20 = 0xa03a92; (**(code **)(*piVar8 + 0xc))(); } if (uStack_88._2_1_ != '\0') { local_58 = local_4c * local_6c; - local_54 = (EntityPtr)((float)local_40 * local_6c); - piVar8 = (int *)fire_fetus_tear(&local_68,&local_58,0,*(undefined4 *)&in_ECX->field_0x4, - 0x3f800000,uVar20); + local_54 = (float *)(local_40 * local_6c); + piVar8 = (int *)fire_fetus_tear(&local_68,&local_58,0,in_ECX->_owner,0x3f800000,uVar20); uVar20 = 0xa03adf; (**(code **)(*piVar8 + 0xc))(); local_58 = -local_4c * local_6c; - local_54 = (EntityPtr)((float)local_44 * local_6c); - piVar8 = (int *)fire_fetus_tear(&local_68,&local_58,0,*(undefined4 *)&in_ECX->field_0x4, - 0x3f800000,uVar20); + local_54 = (float *)(local_44 * local_6c); + piVar8 = (int *)fire_fetus_tear(&local_68,&local_58,0,in_ECX->_owner,0x3f800000,uVar20); (**(code **)(*piVar8 + 0xc))(); } - local_40 = (EntityPtr)(local_84 & 0xffff); - if (local_40 != (EntityPtr)0x0) { + local_40 = (float)(local_84 & 0xffff); + if (local_40 != 0.0) { do { - uVar20 = *(undefined4 *)&in_ECX->field_0x4; + pvVar1 = in_ECX->_owner; iVar9 = Random(); - pEVar16 = (EntityPtr *) - (((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * - 2.3283064e-10 * 50.0 - 25.0) * 0.017453292); - local_7c = pEVar16; + pfVar16 = (float *)(((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + 2.3283064e-10 * 50.0 - 25.0) * 0.017453292); + local_7c = pfVar16; cos(); - uVar21 = 0xa03b99; - pEVar11 = local_7c; - local_54 = (EntityPtr)pEVar16; + uVar20 = 0xa03b99; + pfVar7 = local_7c; + local_54 = pfVar16; sin(); - local_78 = (local_4c * (float)local_54 - (float)local_44 * (float)pEVar11) * local_6c; - local_74 = (local_4c * (float)pEVar11 + (float)local_44 * (float)local_54) * local_6c; - piVar8 = (int *)fire_fetus_tear(&local_68,&local_78,0,uVar20,0x3f800000,uVar21); + local_78 = (local_4c * (float)local_54 - local_44 * (float)pfVar7) * local_6c; + local_74 = (local_4c * (float)pfVar7 + local_44 * (float)local_54) * local_6c; + piVar8 = (int *)fire_fetus_tear(&local_68,&local_78,0,pvVar1,0x3f800000,uVar20); (**(code **)(*piVar8 + 0xc))(); - local_40 = (EntityPtr)((int)local_40 + -1); - } while (local_40 != (EntityPtr)0x0); - local_40 = (EntityPtr)0x0; + local_40 = (float)((int)local_40 + -1); + } while (local_40 != 0.0); + local_40 = 0.0; } iVar9 = 0; if (0 < (short)local_a4) { local_58 = local_4c; - local_54 = local_44; + local_54 = (float *)local_44; do { uVar4 = local_84; Entity_Player::GetMultiShotPositionVelocity (&local_34,iVar9,9,local_58,local_54,local_6c,local_a4,uStack_a0,uStack_9c, uStack_98,local_94,uStack_90,uStack_8c,uStack_88,local_84); local_78 = local_68 + local_34; - local_74 = local_30 + (float)local_64; - piVar8 = (int *)fire_fetus_tear(&local_78,&local_2c,0,*(undefined4 *)&in_ECX->field_0x4, - 0x3f800000,uVar4); + local_74 = local_30 + local_64; + piVar8 = (int *)fire_fetus_tear(&local_78,&local_2c,0,in_ECX->_owner,0x3f800000,uVar4); (**(code **)(*piVar8 + 0xc))(); iVar9 = iVar9 + 1; } while (iVar9 < (short)local_a4); } puVar14 = local_50; - pEVar11 = *(EntityPtr **)&in_ECX->field_0x4; - local_54 = (EntityPtr)pEVar11; - if ((pEVar11 != (EntityPtr *)0x0) && (pEVar11[10] == (EntityPtr)0x1)) { + pfVar7 = in_ECX->_owner; + local_54 = pfVar7; + if ((pfVar7 != (float *)0x0) && (pfVar7[10] == 1.4013e-45)) { uVar4 = 0xf; local_28 = 0xf; local_14 = 0; @@ -941471,28 +943005,27 @@ LAB_00a03e32: local_30 = (float)CONCAT22(local_30._2_2_,0x74); pvVar1 = (g_manager->_itemConfig)._collectibles._begin; if ((int)(g_manager->_itemConfig)._collectibles._end - (int)pvVar1 >> 2 < 0x2a7) { - local_40 = (EntityPtr)0x0; + local_40 = 0.0; } else { - local_40 = *(EntityPtr *)((int)pvVar1 + 0xa98); + local_40 = *(float *)((int)pvVar1 + 0xa98); } - pEVar16 = pEVar11 + 0x48b; + pfVar16 = pfVar7 + 0x48b; iVar9 = 0xf; do { - if ((-1 < (int)*pEVar16) && (*(char *)(pEVar16 + 3) != '\0')) { - pEVar11 = (EntityPtr *) - ((int)*pEVar16 * 0x130 + (int)*(EntityPtr *)((int)local_54 + 0x1220)); - if (pEVar11[0x45] == local_40) { + if ((-1 < (int)*pfVar16) && (*(char *)(pfVar16 + 3) != '\0')) { + pfVar7 = (float *)((int)*pfVar16 * 0x130 + (int)local_54[0x488]); + if (pfVar7[0x45] == local_40) { puVar10 = &local_3c; if (0xf < uVar4) { puVar10 = (undefined8 *)local_3c; } ANM2::PlayOverlay(puVar10,1); - pEVar11 = extraout_ECX_02; + pfVar7 = extraout_ECX_02; uVar4 = local_28; } } - pEVar16 = pEVar16 + 4; + pfVar16 = pfVar16 + 4; iVar9 = iVar9 + -1; } while (iVar9 != 0); local_14 = 0xffffffff; @@ -941509,15 +943042,15 @@ LAB_00a03e32: } } operator_delete(iVar9,uVar12); - pEVar11 = extraout_ECX_03; + pfVar7 = extraout_ECX_03; } goto LAB_00a03e32; } Weapon::UpdateHeadChargeAnimation(0x2a6,2,local_50,&DAT_bf800000); - pEVar11 = extraout_ECX_06; + pfVar7 = extraout_ECX_06; } - in_ECX[1]._technology2Laser = (EntityPtr)0x0; - cVar3 = Weapon::is_c_section_anim_finished(pEVar11); + *(undefined4 *)&in_ECX->field_0x14 = 0; + cVar3 = Weapon::is_c_section_anim_finished(pfVar7); uVar20 = extraout_ECX_04; if (cVar3 != '\0') { Weapon::update_c_section_charge_anim(extraout_ECX_04,0,puVar14,0); @@ -941534,40 +943067,40 @@ LAB_00a03e32: } goto LAB_00a03f31; } - local_40 = in_ECX[1]._technology2Laser; - if ((float)local_44 <= (float)local_40) { + local_40 = *(float *)&in_ECX->field_0x14; + if (local_44 <= local_40) { puVar18 = &DAT_bf800000; - uVar21 = 1; + uVar19 = 1; LAB_00a03f02: puVar14 = local_50; - Weapon::update_c_section_charge_anim(uVar20,uVar21,local_50,puVar18); + Weapon::update_c_section_charge_anim(uVar20,uVar19,local_50,puVar18); } else { if ((char)param_3 == '\0') { - if (*(int *)&in_ECX->field_0x4 != 0) { - fVar17 = *(float *)(*(int *)&in_ECX->field_0x4 + 0x39c); + if (in_ECX->_owner != (void *)0x0) { + fVar17 = *(float *)((int)in_ECX->_owner + 0x39c); } - local_40 = (EntityPtr)((float)local_40 + fVar17); - in_ECX[1]._technology2Laser = local_40; + local_40 = local_40 + fVar17; + *(float *)&in_ECX->field_0x14 = local_40; } cVar3 = Weapon::is_c_section_anim_finished(uVar20); puVar14 = local_50; if (cVar3 != '\0') { - puVar18 = (undefined1 *)(((float)local_40 / (float)local_44) * 18.0); - uVar21 = 0; + puVar18 = (undefined1 *)((local_40 / local_44) * 18.0); + uVar19 = 0; uVar20 = extraout_ECX_07; goto LAB_00a03f02; } } if ((char)param_3 == '\0') { Weapon::SetBlinkTime(); - pEVar11 = (EntityPtr *)Weapon::get_aim_direction(local_70,puVar14); - in_ECX[2]._technology2Laser = *pEVar11; - *(EntityPtr *)(in_ECX + 3) = pEVar11[1]; + puVar11 = (undefined4 *)Weapon::get_aim_direction(local_70,puVar14); + *(undefined4 *)&in_ECX->field_0x20 = *puVar11; + *(undefined4 *)&in_ECX->field_0x24 = puVar11[1]; } LAB_00a03f31: - *(undefined4 *)(in_ECX + 5) = *puVar14; - *(undefined4 *)&in_ECX[5].field_0x4 = puVar14[1]; + in_ECX[1]._owner = (void *)*puVar14; + in_ECX[1]._technology2Laser = *(EntityPtr *)(puVar14 + 1); ExceptionList = local_1c; return; } @@ -942495,23 +944028,25 @@ void Weapon_Laser::Reset(void) /* DB: Weapon_Laser vftable slot 3 (Fire) */ -EntityPtr Weapon_Laser::Fire(EntityPtr *param_1,uint param_2,undefined4 param_3) +Entity_Player * Weapon_Laser::Fire(float *param_1,uint param_2,undefined4 param_3) { - bool bVar1; + void *pvVar1; bool bVar2; bool bVar3; - byte bVar4; - char cVar5; - uint uVar6; - float *pfVar7; - int iVar8; - EntityPtr EVar9; - EntityPtr EVar10; - undefined4 uVar11; - EntityPtr *pEVar12; + bool bVar4; + byte bVar5; + char cVar6; + uint uVar7; + void **ppvVar8; + float *pfVar9; + int iVar10; + Entity_Player *pEVar11; + undefined4 uVar12; + undefined4 *puVar13; + int *piVar14; Weapon *in_ECX; - uint uVar13; + uint uVar15; undefined4 extraout_ECX; undefined4 extraout_ECX_00; undefined4 extraout_ECX_01; @@ -942519,26 +944054,27 @@ EntityPtr Weapon_Laser::Fire(EntityPtr *param_1,uint param_2,undefined4 param_3) undefined4 extraout_ECX_03; int extraout_ECX_04; int extraout_ECX_05; - byte bVar14; - uint uVar15; - float10 fVar16; - float fVar17; - EntityPtr EVar18; - float fVar19; + byte bVar16; + uint uVar17; + void *pvVar18; + float10 fVar19; float fVar20; - double dVar21; - ulonglong uVar22; + float fVar21; + Entity_Player *pEVar22; + float fVar23; + double dVar24; + ulonglong uVar25; byte local_6e; - EntityPtr EStack_60; - EntityPtr local_5c; - EntityPtr local_58; - EntityPtr EStack_54; - EntityPtr local_50; - EntityPtr local_4c [2]; - EntityPtr EStack_44; - EntityPtr EStack_40; - EntityPtr EStack_3c; - EntityPtr EStack_38; + float fStack_60; + void *local_5c; + Entity_Player *local_58; + Entity_Player *pEStack_54; + float local_50; + void *local_4c [2]; + Entity_Player *pEStack_44; + float fStack_40; + float fStack_3c; + Entity_Player *pEStack_38; float local_34; float local_30; undefined1 auStack_2c [29]; @@ -942547,586 +944083,582 @@ EntityPtr Weapon_Laser::Fire(EntityPtr *param_1,uint param_2,undefined4 param_3) ushort uStack_c; Weapon::Fire(param_1,param_2,param_3); - uVar13 = *(uint *)&in_ECX[4].field_0x4; - local_50 = (EntityPtr)(uVar13 >> 6 & 0xffffff01); - EVar9 = *(EntityPtr *)&in_ECX->field_0x4; - local_58 = EVar9; - if (EVar9 == (EntityPtr)0x0) { + uVar15 = in_ECX->_modifiers; + local_50 = (float)(uVar15 >> 6 & 0xffffff01); + pEVar11 = in_ECX->_owner; + local_58 = pEVar11; + if (pEVar11 == (Entity_Player *)0x0) { local_34 = g_vectorZero.x; local_30 = g_vectorZero.y; LAB_00a0534f: - EVar10 = (EntityPtr)0x0; - if ((EVar9 == (EntityPtr)0x0) || (*(int *)((int)EVar9 + 0x28) != 1)) { + pEVar22 = (Entity_Player *)0x0; + if ((pEVar11 == (Entity_Player *)0x0) || (pEVar11->_type != 1)) { LAB_00a05373: - if ((EVar9 == (EntityPtr)0x0) || - ((*(int *)((int)EVar9 + 0x28) != 1 && - ((*(int *)((int)EVar9 + 0x28) != 3 || - (EVar9 = *(EntityPtr *)((int)EVar9 + 0x410), EVar9 == (EntityPtr)0x0)))))) { - local_5c = (EntityPtr)0x3f800000; - local_58 = (EntityPtr)0x0; + if ((pEVar11 == (Entity_Player *)0x0) || + ((pEVar11->_type != 1 && + ((pEVar11->_type != 3 || + (pEVar11 = *(Entity_Player **)&pEVar11->_isControlsEnabled, + pEVar11 == (Entity_Player *)0x0)))))) { + local_5c = (void *)0x3f800000; + local_58 = (Entity_Player *)0x0; } else { - local_58 = (EntityPtr)0x0; - local_5c = *(EntityPtr *)((int)EVar9 + 0x1464); + local_58 = (Entity_Player *)0x0; + local_5c = (void *)pEVar11->_shotspeed; } } else { - local_5c = *(EntityPtr *)((int)EVar9 + 0x1464); + local_5c = (void *)pEVar11->_shotspeed; } } else { - local_34 = *(float *)((int)EVar9 + 0x33c); - local_30 = *(float *)((int)EVar9 + 0x340); - if (*(int *)((int)EVar9 + 0x28) != 1) { - if (*(int *)((int)EVar9 + 0x28) != 3) goto LAB_00a0534f; - EVar10 = *(EntityPtr *)((int)EVar9 + 0x410); + local_34 = (pEVar11->_pos).x; + local_30 = (pEVar11->_pos).y; + if (pEVar11->_type != 1) { + if (pEVar11->_type != 3) goto LAB_00a0534f; + pEVar22 = *(Entity_Player **)&pEVar11->_isControlsEnabled; goto LAB_00a05373; } - local_5c = *(EntityPtr *)((int)EVar9 + 0x1464); - EVar10 = EVar9; + local_5c = (void *)pEVar11->_shotspeed; + pEVar22 = pEVar11; } - EVar9 = (EntityPtr)(param_2 & 0xff); + pEVar11 = (Entity_Player *)(param_2 & 0xff); local_6e = (byte)param_2; - if ((uVar13 >> 4 & 1) != 0) { + if ((uVar15 >> 4 & 1) != 0) { if ((char)param_3 == '\0') { - EVar9 = in_ECX[5]._technology2Laser; - if (EVar9 == (EntityPtr)0x0) { + pEVar11 = *(Entity_Player **)&in_ECX[1].field_0xc; + if (pEVar11 == (Entity_Player *)0x0) { LAB_00a05f6a: - if (EVar9 != (EntityPtr)0x0) goto LAB_00a05f6e; + if (pEVar11 != (Entity_Player *)0x0) goto LAB_00a05f6e; } else { - if ((*(int *)((int)EVar9 + 0x2c) != 2) || (*(int *)((int)EVar9 + 0x30) != 1)) { - (**(code **)(*(int *)EVar9 + 0x28))(); - EVar9 = in_ECX[5]._technology2Laser; + if ((pEVar11->_variant != 2) || (pEVar11->_subtype != 1)) { + (**(code **)(*(int *)pEVar11 + 0x28))(); + pEVar11 = *(Entity_Player **)&in_ECX[1].field_0xc; goto LAB_00a05f6a; } LAB_00a05f6e: - if (*(char *)((int)EVar9 + 0x173) == '\0') goto LAB_00a06048; + if (pEVar11->_dead == 0) goto LAB_00a06048; } - uVar11 = Random(); - EVar10 = (EntityPtr) - Game::SpawnEx(g_game,7,2,&local_34,&g_vectorZero,*(undefined4 *)&in_ECX->field_0x4,1, - uVar11,0); - if ((EVar10 == (EntityPtr)0x0) || (*(int *)((int)EVar10 + 0x28) != 7)) { - EVar10 = (EntityPtr)0x0; + uVar12 = Random(); + piVar14 = (int *)Game::SpawnEx(g_game,7,2,&local_34,&g_vectorZero,in_ECX->_owner,1,uVar12,0); + if ((piVar14 == (int *)0x0) || (piVar14[10] != 7)) { + piVar14 = (int *)0x0; } - *(int *)((int)EVar10 + 0x34c) = 0; - *(int *)((int)EVar10 + 0x350) = -0x3e600000; - local_4c[0] = *(EntityPtr *)&in_ECX->field_0x4; - if (*(EntityPtr *)((int)EVar10 + 0x3bc) != (EntityPtr)0x0) { - EStack_44 = (EntityPtr)((int)EVar10 + 0x3bc); + piVar14[0xd3] = 0; + piVar14[0xd4] = -0x3e600000; + local_4c[0] = in_ECX->_owner; + if (piVar14[0xef] != 0) { + pEStack_44 = (Entity_Player *)(piVar14 + 0xef); std::multiset::erase(); } - *(EntityPtr *)((int)EVar10 + 0x3bc) = local_4c[0]; - if (local_4c[0] != (EntityPtr)0x0) { + piVar14[0xef] = (int)local_4c[0]; + if (local_4c[0] != (void *)0x0) { std::multiset::insert(); } - *(int *)((int)EVar10 + 0x358) = 0x453b8000; + piVar14[0xd6] = 0x453b8000; init_laser(); - (**(code **)(*(int *)EVar10 + 0xc))(); - EVar9 = (EntityPtr)&in_ECX[5]._technology2Laser; - if (in_ECX[5]._technology2Laser != EVar10) { - if (in_ECX[5]._technology2Laser != (EntityPtr)0x0) { - EStack_44 = EVar9; + (**(code **)(*piVar14 + 0xc))(); + pEVar11 = (Entity_Player *)&in_ECX[1].field_0xc; + if (*(int **)&in_ECX[1].field_0xc != piVar14) { + if (*(int **)&in_ECX[1].field_0xc != (int *)0x0) { + pEStack_44 = pEVar11; std::multiset::erase(); } - in_ECX[5]._technology2Laser = EVar10; - EVar9 = (EntityPtr)std::multiset::insert(); + *(int **)&in_ECX[1].field_0xc = piVar14; + pEVar11 = (Entity_Player *)std::multiset::insert(); } } LAB_00a06048: - EVar10 = in_ECX[5]._technology2Laser; - if (EVar10 == (EntityPtr)0x0) { - return EVar9; + iVar10 = *(int *)&in_ECX[1].field_0xc; + if (iVar10 == 0) { + return pEVar11; } - EVar9 = *param_1; - EVar18 = param_1[1]; - fVar17 = (float)EVar18 * (float)EVar18 + (float)EVar9 * (float)EVar9; - local_50 = EVar18; - local_4c[0] = EVar9; - if (1.0 < fVar17) { - param_1 = (EntityPtr *)sqrtf(); - EVar9 = local_4c[0]; - EVar18 = local_50; - if (0.0 < fVar17) { - EVar18 = (EntityPtr)((float)local_50 * (1.0 / fVar17)); - EVar9 = (EntityPtr)((float)local_4c[0] * (1.0 / fVar17)); + pvVar18 = (void *)*param_1; + fVar21 = param_1[1]; + fVar20 = fVar21 * fVar21 + (float)pvVar18 * (float)pvVar18; + local_50 = fVar21; + local_4c[0] = pvVar18; + if (1.0 < fVar20) { + param_1 = (float *)sqrtf(); + pvVar18 = local_4c[0]; + fVar21 = local_50; + if (0.0 < fVar20) { + fVar21 = local_50 * (1.0 / fVar20); + pvVar18 = (void *)((float)local_4c[0] * (1.0 / fVar20)); } } if ((byte)param_2 == 0) { - EVar18 = (EntityPtr) - (*(int *)((int)g_game->_room + 0x12c4) + *(int *)((int)g_game->_room + 0x12c0)); - EVar9 = (EntityPtr)0x0; - if (0 < (int)EVar18) { - EVar9 = EVar18; + pEVar22 = (Entity_Player *) + (*(int *)((int)g_game->_room + 0x12c4) + *(int *)((int)g_game->_room + 0x12c0)); + pEVar11 = (Entity_Player *)0x0; + if (0 < (int)pEVar22) { + pEVar11 = pEVar22; } - if (0 < (int)EVar9) goto LAB_00a06200; - fVar19 = local_34 - *(float *)((int)EVar10 + 0x33c); - fVar17 = local_30 - *(float *)((int)EVar10 + 0x340); - if (fVar17 * fVar17 + fVar19 * fVar19 <= 10000.0) goto LAB_00a06200; - EStack_3c = (EntityPtr)(local_34 - *(float *)((int)EVar10 + 0x33c)); - EStack_38 = (EntityPtr)(local_30 - *(float *)((int)EVar10 + 0x340)); - param_1 = (EntityPtr *)Vector::Normalized(); - fVar17 = *(float *)((int)EVar10 + 0x36c); - fVar19 = (float)*param_1 * 0.3 * 0.5; - fVar20 = (float)param_1[1] * 0.3 * 0.5; + if (0 < (int)pEVar11) goto LAB_00a06200; + fVar20 = local_34 - *(float *)(iVar10 + 0x33c); + fVar21 = local_30 - *(float *)(iVar10 + 0x340); + if (fVar21 * fVar21 + fVar20 * fVar20 <= 10000.0) goto LAB_00a06200; + fStack_3c = local_34 - *(float *)(iVar10 + 0x33c); + pEStack_38 = (Entity_Player *)(local_30 - *(float *)(iVar10 + 0x340)); + param_1 = (float *)Vector::Normalized(); + fVar20 = *(float *)(iVar10 + 0x36c); + fVar23 = *param_1 * 0.3 * 0.5; + fVar21 = param_1[1] * 0.3 * 0.5; } else { - fVar17 = *(float *)((int)EVar10 + 0x36c); - fVar19 = (float)EVar9 * 2.0 * 0.5 * (float)local_5c; - fVar20 = (float)EVar18 * 2.0 * 0.5 * (float)local_5c; + fVar20 = *(float *)(iVar10 + 0x36c); + fVar23 = (float)pvVar18 * 2.0 * 0.5 * (float)local_5c; + fVar21 = fVar21 * 2.0 * 0.5 * (float)local_5c; } - EVar9 = (EntityPtr)((uint)param_1 & 0xff); - if (fVar17 != 0.0) { - *(float *)((int)EVar10 + 0x364) = - (fVar20 * *(float *)((int)EVar10 + 0x39c)) / fVar17 + *(float *)((int)EVar10 + 0x364); - *(float *)((int)EVar10 + 0x360) = - (fVar19 * *(float *)((int)EVar10 + 0x39c)) / fVar17 + *(float *)((int)EVar10 + 0x360); + pEVar11 = (Entity_Player *)((uint)param_1 & 0xff); + if (fVar20 != 0.0) { + *(float *)(iVar10 + 0x364) = + (fVar21 * *(float *)(iVar10 + 0x39c)) / fVar20 + *(float *)(iVar10 + 0x364); + *(float *)(iVar10 + 0x360) = + (fVar23 * *(float *)(iVar10 + 0x39c)) / fVar20 + *(float *)(iVar10 + 0x360); } LAB_00a06200: if ((char)param_3 != '\0') { - return EVar9; + return pEVar11; } init_laser(); - if (local_58 == (EntityPtr)0x0) { - return (EntityPtr)0x0; + if (local_58 == (Entity_Player *)0x0) { + return (Entity_Player *)0x0; } - iVar8 = Entity::GetIntervalTicks((Entity *)local_58); - if (iVar8 == 0) { - return (EntityPtr)0x0; + iVar10 = Entity::GetIntervalTicks((Entity *)local_58); + if (iVar10 == 0) { + return (Entity_Player *)0x0; } - EVar9 = in_ECX[5]._technology2Laser; - if (EVar9 != (EntityPtr)0x0) { - EStack_44 = *(EntityPtr *)((int)EVar9 + 0x33c); - EStack_40 = *(EntityPtr *)((int)EVar9 + 0x340); - EStack_3c = *(EntityPtr *)(*(int *)&in_ECX->field_0x4 + 0x33c); - EStack_38 = *(EntityPtr *)(*(int *)&in_ECX->field_0x4 + 0x340); - cVar5 = Vector::operator_ne(); - if (cVar5 != '\0') { - EStack_3c = (EntityPtr) - (*(float *)((int)EVar9 + 0x33c) - *(float *)(*(int *)&in_ECX->field_0x4 + 0x33c) - ); - EStack_38 = (EntityPtr) - (*(float *)((int)EVar9 + 0x340) - *(float *)(*(int *)&in_ECX->field_0x4 + 0x340) - ); - uVar11 = Vector::Normalized(); - EVar9 = (EntityPtr)Weapon::TriggerTearEffects(uVar11,1); - return EVar9; + iVar10 = *(int *)&in_ECX[1].field_0xc; + if (iVar10 != 0) { + pEStack_44 = *(Entity_Player **)(iVar10 + 0x33c); + fStack_40 = *(float *)(iVar10 + 0x340); + fStack_3c = *(float *)((int)in_ECX->_owner + 0x33c); + pEStack_38 = *(Entity_Player **)((int)in_ECX->_owner + 0x340); + cVar6 = Vector::operator_ne(); + if (cVar6 != '\0') { + fStack_3c = *(float *)(iVar10 + 0x33c) - *(float *)((int)in_ECX->_owner + 0x33c); + pEStack_38 = (Entity_Player *) + (*(float *)(iVar10 + 0x340) - *(float *)((int)in_ECX->_owner + 0x340)); + uVar12 = Vector::Normalized(); + pEVar11 = (Entity_Player *)Weapon::TriggerTearEffects(uVar12,1); + return pEVar11; } } - uVar11 = MusicManager::RandomVector(); - EVar9 = (EntityPtr)Weapon::TriggerTearEffects(uVar11,1); - return EVar9; + uVar12 = MusicManager::RandomVector(); + pEVar11 = (Entity_Player *)Weapon::TriggerTearEffects(uVar12,1); + return pEVar11; } - uVar6 = uVar13 >> 1; - bVar14 = in_ECX[4].field_0x4 & 1; - uVar13 = uVar13 >> 3; - if ((((uVar13 & 1) != 0) || (bVar14 != 0)) || (bVar3 = false, (uVar6 & 1) != 0)) { - bVar3 = true; + uVar7 = uVar15 >> 1; + bVar16 = (byte)in_ECX->_modifiers & 1; + uVar15 = uVar15 >> 3; + if ((((uVar15 & 1) != 0) || (bVar16 != 0)) || (bVar4 = false, (uVar7 & 1) != 0)) { + bVar4 = true; } - if ((EVar10 == (EntityPtr)0x0) || - ((bVar4 = Entity_Player::HasCollectible((Entity_Player *)EVar10,0x18a,0), bVar4 == 0 && - (bVar4 = Entity_Player::HasCollectible((Entity_Player *)EVar10,0x23c,0), bVar4 == 0)))) { - bVar1 = false; + if ((pEVar22 == (Entity_Player *)0x0) || + ((bVar5 = Entity_Player::HasCollectible(pEVar22,0x18a,0), bVar5 == 0 && + (bVar5 = Entity_Player::HasCollectible(pEVar22,0x23c,0), bVar5 == 0)))) { + bVar2 = false; } else { - bVar1 = true; - } - if (((*(uint *)&in_ECX[4].field_0x4 >> 7 & 1) != 0) || - (bVar2 = false, *(float *)&in_ECX[1].field_0x4 <= 0.0)) { bVar2 = true; } - fVar16 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); - local_5c = (EntityPtr)(float)fVar16; - if ((uVar6 & 1) != 0) { - local_5c = (EntityPtr)((float)local_5c * 0.5); + if ((((uint)in_ECX->_modifiers >> 7 & 1) != 0) || + (bVar3 = false, *(float *)&in_ECX->field_0x10 <= 0.0)) { + bVar3 = true; } - iVar8 = *(int *)&in_ECX->field_0x4; - if (((iVar8 != 0) && (*(int *)(iVar8 + 0x28) == 1)) && (0 < *(int *)(iVar8 + 0x18f8))) { - if (((uVar13 & 1) == 0) && (bVar14 == 0)) { + fVar19 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); + local_5c = (void *)(float)fVar19; + if ((uVar7 & 1) != 0) { + local_5c = (void *)((float)local_5c * 0.5); + } + pvVar18 = in_ECX->_owner; + if (((pvVar18 != (void *)0x0) && (*(int *)((int)pvVar18 + 0x28) == 1)) && + (0 < *(int *)((int)pvVar18 + 0x18f8))) { + if (((uVar15 & 1) == 0) && (bVar16 == 0)) { LAB_00a054d2: - if (((uVar6 & 1) == 0) || (*(int *)&in_ECX[6].field_0x4 < 1)) goto LAB_00a054e1; + if (((uVar7 & 1) == 0) || (*(int *)&in_ECX[1].field_0x14 < 1)) goto LAB_00a054e1; } else { - local_4c[0] = (EntityPtr)0x40a00000; - pEVar12 = &local_5c; + local_4c[0] = (void *)0x40a00000; + ppvVar8 = &local_5c; if (5.0 <= (float)local_5c) { - pEVar12 = local_4c; + ppvVar8 = local_4c; } - if ((float)in_ECX[1]._technology2Laser < (float)*pEVar12) goto LAB_00a054d2; + if (*(float *)&in_ECX->field_0x14 < (float)*ppvVar8) goto LAB_00a054d2; } local_6e = 0; } LAB_00a054e1: - if (((((char)param_3 == '\0') && (local_6e != 0)) && (bVar2)) && - (((((uVar13 & 1) != 0 || (bVar14 != 0)) && - (EVar9 = in_ECX[1]._technology2Laser, (float)local_5c <= (float)EVar9)) || - (((uVar6 & 1) != 0 && - (((EVar9 = in_ECX[1]._technology2Laser, 0.0 < (float)EVar9 && - (4 < *(int *)&in_ECX[6].field_0x4)) || - (((float)EVar9 <= 0.0 && (0 < *(int *)&in_ECX[6].field_0x4)))))))))) { - local_4c[0] = (EntityPtr)0x3727c5ac; + if (((((char)param_3 == '\0') && (local_6e != 0)) && (bVar3)) && + (((((uVar15 & 1) != 0 || (bVar16 != 0)) && + (fVar21 = *(float *)&in_ECX->field_0x14, (float)local_5c <= fVar21)) || + (((uVar7 & 1) != 0 && + (((fVar21 = *(float *)&in_ECX->field_0x14, 0.0 < fVar21 && + (4 < *(int *)&in_ECX[1].field_0x14)) || + ((fVar21 <= 0.0 && (0 < *(int *)&in_ECX[1].field_0x14)))))))))) { + local_4c[0] = (void *)0x3727c5ac; local_6e = 0; - pEVar12 = local_4c; - if (1e-05 <= (float)EVar9) { - pEVar12 = &in_ECX[1]._technology2Laser; + ppvVar8 = local_4c; + if (1e-05 <= fVar21) { + ppvVar8 = (void **)&in_ECX->field_0x14; } - EVar9 = *pEVar12; - *(EntityPtr *)(in_ECX + 6) = EVar9; - in_ECX[1]._technology2Laser = EVar9; + pvVar1 = *ppvVar8; + *(void **)&in_ECX[1].field_0x10 = pvVar1; + *(void **)&in_ECX->field_0x14 = pvVar1; } - if ((iVar8 == 0) || - ((((*(int *)(iVar8 + 0x28) != 1 && - ((*(int *)(iVar8 + 0x28) != 3 || (iVar8 = *(int *)(iVar8 + 0x410), iVar8 == 0)))) || - (iVar8 = *(int *)(iVar8 + 0x140c), iVar8 == 0)) || (!bVar1)))) { - EVar9 = *(EntityPtr *)&in_ECX[3].field_0x4; - EVar10 = in_ECX[3]._technology2Laser; + if ((pvVar18 == (void *)0x0) || + ((((*(int *)((int)pvVar18 + 0x28) != 1 && + ((*(int *)((int)pvVar18 + 0x28) != 3 || + (pvVar18 = *(void **)((int)pvVar18 + 0x410), pvVar18 == (void *)0x0)))) || + (iVar10 = *(int *)((int)pvVar18 + 0x140c), iVar10 == 0)) || (!bVar2)))) { + pEVar11 = *(Entity_Player **)&in_ECX->field_0x28; + fVar21 = *(float *)&in_ECX->field_0x2c; } else { - EVar9 = *(EntityPtr *)(iVar8 + 0x33c); - EVar10 = *(EntityPtr *)(iVar8 + 0x340); + pEVar11 = *(Entity_Player **)(iVar10 + 0x33c); + fVar21 = *(float *)(iVar10 + 0x340); } - if (((float)EVar9 == g_vectorZero.x) && ((float)EVar10 == g_vectorZero.y)) { - bVar1 = false; + if (((float)pEVar11 == g_vectorZero.x) && (fVar21 == g_vectorZero.y)) { + bVar2 = false; } else { - bVar1 = true; + bVar2 = true; } - EStack_44 = EVar9; - EStack_40 = EVar10; - if ((((char)param_3 != '\0') || (local_6e == 0)) || (!bVar1)) { + pEStack_44 = pEVar11; + fStack_40 = fVar21; + if ((((char)param_3 != '\0') || (local_6e == 0)) || (!bVar2)) { LAB_00a056ce: - EVar9._1_3_ = 0; - EVar9._0_1_ = local_6e; + pEVar11 = (Entity_Player *)(uint)local_6e; } else { - pfVar7 = (float *)Weapon::get_owner_position(); - fVar17 = ((float)EVar10 - pfVar7[1]) * ((float)EVar10 - pfVar7[1]) + - ((float)EVar9 - *pfVar7) * ((float)EVar9 - *pfVar7); + pfVar9 = (float *)Weapon::get_owner_position(); + fVar20 = (fVar21 - pfVar9[1]) * (fVar21 - pfVar9[1]) + + ((float)pEVar11 - *pfVar9) * ((float)pEVar11 - *pfVar9); sqrtf(); - EVar9 = in_ECX[1]._technology2Laser; - fVar17 = (fVar17 - 50.0) / 250.0; - if (fVar17 <= 0.0) { - fVar17 = 0.0; + fVar21 = *(float *)&in_ECX->field_0x14; + fVar20 = (fVar20 - 50.0) / 250.0; + if (fVar20 <= 0.0) { + fVar20 = 0.0; } - if (1.0 <= fVar17) { - fVar17 = 1.0; + if (1.0 <= fVar20) { + fVar20 = 1.0; } - if ((float)EVar9 <= 0.0) { - iVar8 = 1; + if (fVar21 <= 0.0) { + iVar10 = 1; } else { - iVar8 = (int)(fVar17 * 4.0 + 1.0); + iVar10 = (int)(fVar20 * 4.0 + 1.0); } - if (((bVar14 == 0) || ((float)EVar9 <= (((float)local_5c - 5.0) * fVar17 + 5.0) - 1.0)) && - (((uVar13 & 1) == 0 || ((float)EVar9 <= (float)local_5c)))) { - if ((uVar6 & 1) != 0) { - if (iVar8 <= *(int *)&in_ECX[6].field_0x4) { - EVar9 = (EntityPtr)0x0; + if (((bVar16 == 0) || (fVar21 <= (((float)local_5c - 5.0) * fVar20 + 5.0) - 1.0)) && + (((uVar15 & 1) == 0 || (fVar21 <= (float)local_5c)))) { + if ((uVar7 & 1) != 0) { + if (iVar10 <= *(int *)&in_ECX[1].field_0x14) { + pEVar11 = (Entity_Player *)0x0; local_6e = 0; goto LAB_00a056d2; } } goto LAB_00a056ce; } - EVar9 = (EntityPtr)0x0; + pEVar11 = (Entity_Player *)0x0; local_6e = 0; } LAB_00a056d2: - uVar15 = 0; - local_4c[0] = (EntityPtr)0x1; - if (bVar3) { - if (EVar9._0_1_ == '\0') { - if ((bVar14 == 0) || ((float)in_ECX[1]._technology2Laser <= 0.0)) { - if (((uVar13 & 1) == 0) || ((float)in_ECX[1]._technology2Laser < (float)local_5c)) { - if ((uVar6 & 1) != 0) { - if (0 < *(int *)&in_ECX[6].field_0x4) { - uVar15 = 1; + uVar17 = 0; + local_4c[0] = (void *)0x1; + if (bVar4) { + if ((char)pEVar11 == '\0') { + if ((bVar16 == 0) || (*(float *)&in_ECX->field_0x14 <= 0.0)) { + if (((uVar15 & 1) == 0) || (*(float *)&in_ECX->field_0x14 < (float)local_5c)) { + if ((uVar7 & 1) != 0) { + if (0 < *(int *)&in_ECX[1].field_0x14) { + uVar17 = 1; } } } else { - uVar15 = 1; + uVar17 = 1; } } else { - uVar15 = 1; + uVar17 = 1; } } if ((char)param_3 != '\0') { - if (uVar15 == 0) { - return EVar9; + if (uVar17 == 0) { + return pEVar11; } - EVar9 = (EntityPtr)Weapon::SetBlinkTime(); - return EVar9; + pEVar11 = (Entity_Player *)Weapon::SetBlinkTime(); + return pEVar11; } } - else if (EVar9._0_1_ != '\0') { + else if ((char)pEVar11 != '\0') { if ((char)param_3 != '\0') { - return EVar9; + return pEVar11; } - if (*(float *)(in_ECX + 1) <= 0.0 && *(float *)(in_ECX + 1) != 0.0) { + if (*(float *)&in_ECX->field_0xc <= 0.0 && *(float *)&in_ECX->field_0xc != 0.0) { do { - if (7 < uVar15) break; - uVar15 = uVar15 + 1; - fVar17 = *(float *)&in_ECX[1].field_0x4 + 1.0 + *(float *)(in_ECX + 1); - *(float *)(in_ECX + 1) = fVar17; - } while (fVar17 < 0.0); + if (7 < uVar17) break; + uVar17 = uVar17 + 1; + fVar21 = *(float *)&in_ECX->field_0x10 + 1.0 + *(float *)&in_ECX->field_0xc; + *(float *)&in_ECX->field_0xc = fVar21; + } while (fVar21 < 0.0); } - *(undefined4 *)(in_ECX + 6) = 0; + *(undefined4 *)&in_ECX[1].field_0x10 = 0; } - EStack_3c = *param_1; - EStack_38 = param_1[1]; + fStack_3c = *param_1; + pEStack_38 = (Entity_Player *)param_1[1]; if ((byte)param_2 == 0) { - EStack_3c = in_ECX[2]._technology2Laser; - EStack_38 = *(EntityPtr *)(in_ECX + 3); + fStack_3c = *(float *)&in_ECX->field_0x20; + pEStack_38 = *(Entity_Player **)&in_ECX->field_0x24; } - bVar4 = Weapon::IsAxisAligned(in_ECX); - EStack_60 = EStack_3c; - if (bVar4 == 0) { - local_58 = EStack_38; - fVar17 = (float)EStack_38 * (float)EStack_38 + (float)EStack_3c * (float)EStack_3c; - EVar10 = (EntityPtr)sqrtf(); - if (fVar17 <= 0.0) { - EVar9 = local_58; + bVar5 = Weapon::IsAxisAligned(in_ECX); + fStack_60 = fStack_3c; + if (bVar5 == 0) { + local_58 = pEStack_38; + fVar21 = (float)pEStack_38 * (float)pEStack_38 + fStack_3c * fStack_3c; + pEVar11 = (Entity_Player *)sqrtf(); + if (fVar21 <= 0.0) { + pEVar22 = local_58; } else { - EStack_38 = (EntityPtr)((float)local_58 * (1.0 / fVar17)); - EStack_60 = (EntityPtr)((1.0 / fVar17) * (float)EStack_60); - EVar9 = EStack_38; - EStack_3c = EStack_60; + pEStack_38 = (Entity_Player *)((float)local_58 * (1.0 / fVar21)); + fStack_60 = (1.0 / fVar21) * fStack_60; + pEVar22 = pEStack_38; + fStack_3c = fStack_60; } } else { - EVar10 = (EntityPtr)Vector::ToCardinal(); - EStack_60 = *(EntityPtr *)EVar10; - EStack_38 = *(EntityPtr *)((int)EVar10 + 4); - EVar9 = EStack_38; - EStack_3c = EStack_60; + pEVar11 = (Entity_Player *)Vector::ToCardinal(); + fStack_60 = *(float *)pEVar11; + pEStack_38 = *(Entity_Player **)&pEVar11->field_0x4; + pEVar22 = pEStack_38; + fStack_3c = fStack_60; } - if (uVar15 != 0) { - if ((uVar13 & 1) != 0) { - Weapon::UpdateHeadChargeAnimation(0xe5,2,&EStack_3c,&DAT_bf800000); - EStack_60 = EStack_3c; - EVar9 = EStack_38; + if (uVar17 != 0) { + if ((uVar15 & 1) != 0) { + Weapon::UpdateHeadChargeAnimation(0xe5,2,&fStack_3c,&DAT_bf800000); + fStack_60 = fStack_3c; + pEVar22 = pEStack_38; } - EStack_60 = (EntityPtr)((float)EStack_60 * 10.0); - local_58 = (EntityPtr)((float)EVar9 * 10.0); + fStack_60 = fStack_60 * 10.0; + local_58 = (Entity_Player *)((float)pEVar22 * 10.0); if (local_50._0_1_ == '\0') { - pfVar7 = (float *)Weapon::get_tear_movement_inheritance(&EStack_44,&EStack_3c); - local_58 = (EntityPtr)(pfVar7[1] * 0.4 + (float)local_58); - EStack_60 = (EntityPtr)(*pfVar7 * 0.4 + (float)EStack_60); + pfVar9 = (float *)Weapon::get_tear_movement_inheritance(&pEStack_44,&fStack_3c); + local_58 = (Entity_Player *)(pfVar9[1] * 0.4 + (float)local_58); + fStack_60 = *pfVar9 * 0.4 + fStack_60; } - fVar17 = (float)EStack_60 * (float)EStack_60 + (float)local_58 * (float)local_58; + fVar21 = fStack_60 * fStack_60 + (float)local_58 * (float)local_58; sqrtf(); - if (fVar17 <= 0.0) { - EStack_38 = local_58; + if (fVar21 <= 0.0) { + pEStack_38 = local_58; } else { - EStack_60 = (EntityPtr)((float)EStack_60 * (1.0 / fVar17)); - EStack_38 = (EntityPtr)((float)local_58 * (1.0 / fVar17)); + fStack_60 = fStack_60 * (1.0 / fVar21); + pEStack_38 = (Entity_Player *)((float)local_58 * (1.0 / fVar21)); } - EStack_3c = EStack_60; + fStack_3c = fStack_60; Weapon::SetBlinkTime(); - Weapon::TriggerTearEffects(&EStack_3c,1); + Weapon::TriggerTearEffects(&fStack_3c,1); Weapon::GetMultiShotParams(auStack_2c,extraout_ECX); - EVar9 = (EntityPtr)0x0; - if ((uVar13 & 1) != 0) { - EVar9 = (EntityPtr)0xc; + pvVar18 = (void *)0x0; + if ((uVar15 & 1) != 0) { + pvVar18 = (void *)0xc; } - if (bVar14 == 0) { - EStack_60 = (EntityPtr)0x3f800000; - if ((uVar13 & 1) != 0) goto LAB_00a05a05; - } - else if ((uVar13 & 1) == 0) { - EStack_60 = (EntityPtr)(((*(float *)(in_ECX + 6) + 1.0) * 4.0) / ((float)local_5c + 1.0)); - if ((float)EStack_60 <= 0.1) { - EStack_60 = (EntityPtr)0x3dcccccd; - } - if (4.0 <= (float)EStack_60) { - EStack_60 = (EntityPtr)0x40800000; - } + if (bVar16 == 0) { + fStack_60 = 1.0; + if ((uVar15 & 1) != 0) goto LAB_00a05a05; } else { - EStack_60 = (EntityPtr)(((*(float *)(in_ECX + 6) + 1.0) * 2.5) / ((float)local_5c + 1.0)); - if ((float)EStack_60 <= 0.02) { - EStack_60 = (EntityPtr)0x3ca3d70a; - } - if (2.5 <= (float)EStack_60) { - EStack_60 = (EntityPtr)0x40200000; - } -LAB_00a05a05: - if ((float)EStack_60 < 1.0) { - EStack_44 = (EntityPtr)(float)(int)EVar9; - local_58 = (EntityPtr)((float)EStack_44 * (float)EStack_60); - dVar21 = ceil((double)(float)local_58); - local_58 = (EntityPtr)(float)dVar21; - EVar9 = local_4c[0]; - if (1 < (int)dVar21) { - EVar9 = (EntityPtr)(int)dVar21; + fVar21 = *(float *)&in_ECX[1].field_0x10 + 1.0; + if ((uVar15 & 1) == 0) { + fStack_60 = (fVar21 * 4.0) / ((float)local_5c + 1.0); + if (fStack_60 <= 0.1) { + fStack_60 = 0.1; + } + if (4.0 <= fStack_60) { + fStack_60 = 4.0; + } + } + else { + fStack_60 = (fVar21 * 2.5) / ((float)local_5c + 1.0); + if (fStack_60 <= 0.02) { + fStack_60 = 0.02; + } + if (2.5 <= fStack_60) { + fStack_60 = 2.5; + } +LAB_00a05a05: + if (fStack_60 < 1.0) { + pEStack_44 = (Entity_Player *)(float)(int)pvVar18; + local_58 = (Entity_Player *)((float)pEStack_44 * fStack_60); + dVar24 = ceil((double)(float)local_58); + local_58 = (Entity_Player *)(float)dVar24; + pvVar18 = local_4c[0]; + if (1 < (int)dVar24) { + pvVar18 = (void *)(int)dVar24; + } + fStack_60 = fStack_60 * ((float)pEStack_44 / (float)(int)pvVar18); } - EStack_60 = (EntityPtr)((float)EStack_60 * ((float)EStack_44 / (float)(int)EVar9)); } } - iVar8 = *(int *)ThreadLocalStoragePointer; - if (*(int *)(iVar8 + 0xc) < DAT_00c943b4) { + iVar10 = *(int *)ThreadLocalStoragePointer; + if (*(int *)(iVar10 + 0xc) < DAT_00c943b4) { _Init_thread_header(); - iVar8 = extraout_ECX_04; + iVar10 = extraout_ECX_04; if (DAT_00c943b4 == -1) { _atexit((_func_4879 *)&LAB_00b16b00); _Init_thread_footer(); - iVar8 = extraout_ECX_05; + iVar10 = extraout_ECX_05; } } DAT_00c943bc = DAT_00c943b8; - uVar11 = 0; - if ((uVar13 & 1) != 0) { - uVar11 = 6; + uVar12 = 0; + if ((uVar15 & 1) != 0) { + uVar12 = 6; } - fire_lasers(&local_34,&EStack_3c,uVar11,EStack_60,auStack_2c,EVar9,iVar8); - uVar11 = extraout_ECX_00; + fire_lasers(&local_34,&fStack_3c,uVar12,fStack_60,auStack_2c,pvVar18,iVar10); + uVar12 = extraout_ECX_00; if (cStack_f != '\0') { - EStack_44 = (EntityPtr)((uint)EStack_3c ^ 0x80000000); - EStack_40 = (EntityPtr)((uint)EStack_38 ^ 0x80000000); - fire_lasers(&local_34,&EStack_44,5,EStack_60,0,EVar9,extraout_ECX_00); - uVar11 = extraout_ECX_01; + pEStack_44 = (Entity_Player *)((uint)fStack_3c ^ 0x80000000); + fStack_40 = -(float)pEStack_38; + fire_lasers(&local_34,&pEStack_44,5,fStack_60,0,pvVar18,extraout_ECX_00); + uVar12 = extraout_ECX_01; } if (cStack_e != '\0') { - EStack_44 = EStack_38; - EStack_40 = (EntityPtr)-(float)EStack_3c; - fire_lasers(&local_34,&EStack_44,5,EStack_60,0,EVar9,uVar11); - EStack_44 = (EntityPtr)((uint)EStack_38 ^ 0x80000000); - EStack_40 = EStack_3c; - fire_lasers(&local_34,&EStack_44,5,EStack_60,0,EVar9,extraout_ECX_02); + pEStack_44 = pEStack_38; + fStack_40 = -fStack_3c; + fire_lasers(&local_34,&pEStack_44,5,fStack_60,0,pvVar18,uVar12); + pEStack_44 = (Entity_Player *)((uint)pEStack_38 ^ 0x80000000); + fStack_40 = fStack_3c; + fire_lasers(&local_34,&pEStack_44,5,fStack_60,0,pvVar18,extraout_ECX_02); } - local_4c[0]._2_2_ = 0; - local_4c[0]._0_2_ = uStack_c; - for (; local_4c[0] != (EntityPtr)0x0; local_4c[0] = (EntityPtr)((int)local_4c[0] - 1)) { - iVar8 = Random(); - fVar17 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * + for (local_4c[0] = (void *)(uint)uStack_c; local_4c[0] != (void *)0x0; + local_4c[0] = (void *)((int)local_4c[0] - 1)) { + iVar10 = Random(); + fVar21 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 3.14; - EVar18 = (EntityPtr)(fVar17 + fVar17); - EStack_44 = EVar18; + pEVar22 = (Entity_Player *)(fVar21 + fVar21); + pEStack_44 = pEVar22; cos(); - EVar10 = EStack_44; - local_58 = EVar18; + pEVar11 = pEStack_44; + local_58 = pEVar22; sin(); - EStack_54 = EVar10; - fire_lasers(&local_34,&local_58,5,EStack_60,0,EVar9,extraout_ECX_03); + pEStack_54 = pEVar11; + fire_lasers(&local_34,&local_58,5,fStack_60,0,pvVar18,extraout_ECX_03); } - EVar9 = (EntityPtr)0x0; - EVar10 = (EntityPtr)0x0; - local_4c[0] = (EntityPtr)0x0; + uVar17 = 0; + pEVar11 = (Entity_Player *)0x0; + local_4c[0] = (void *)0x0; if (DAT_00c943bc - DAT_00c943b8 >> 2 != 0) { - local_50 = (EntityPtr)((uint)local_50 ^ 1); + local_50 = (float)((uint)local_50 ^ 1); do { - *(char *)(*(int *)(DAT_00c943b8 + (int)EVar9 * 4) + 0x4e4) = local_50._0_1_; - (**(code **)(**(int **)(DAT_00c943b8 + (int)EVar9 * 4) + 0xc))(); - EVar9 = (EntityPtr)((int)EVar9 + 1); - EVar10 = (EntityPtr)(DAT_00c943bc - DAT_00c943b8 >> 2); - } while ((uint)EVar9 < (uint)EVar10); + *(char *)(*(int *)(DAT_00c943b8 + uVar17 * 4) + 0x4e4) = SUB41(local_50,0); + (**(code **)(**(int **)(DAT_00c943b8 + uVar17 * 4) + 0xc))(); + uVar17 = uVar17 + 1; + pEVar11 = (Entity_Player *)(DAT_00c943bc - DAT_00c943b8 >> 2); + } while (uVar17 < pEVar11); } } - if (!bVar3) { - return EVar10; + if (!bVar4) { + return pEVar11; } if (local_6e == 0) { - if (0 < *(int *)&in_ECX[6].field_0x4) { - *(int *)&in_ECX[6].field_0x4 = *(int *)&in_ECX[6].field_0x4 + -1; + if (0 < *(int *)&in_ECX[1].field_0x14) { + *(int *)&in_ECX[1].field_0x14 = *(int *)&in_ECX[1].field_0x14 + -1; } - in_ECX[1]._technology2Laser = (EntityPtr)0x0; - if ((uVar13 & 1) != 0) { - EVar10._0_1_ = Weapon::IsItemAnimFinished(in_ECX,0xe5); - EVar10._1_3_ = 0; - if (EVar10._0_1_ == 0) goto LAB_00a05eda; + *(undefined4 *)&in_ECX->field_0x14 = 0; + if ((uVar15 & 1) != 0) { + bVar16 = Weapon::IsItemAnimFinished(in_ECX,0xe5); + pEVar11 = (Entity_Player *)(uint)bVar16; + if (bVar16 == 0) goto LAB_00a05eda; } - EVar10 = *(EntityPtr *)&in_ECX->field_0x4; - if ((((EVar10 == (EntityPtr)0x0) || - (EVar9 = EVar10, *(EntityPtr *)((int)EVar10 + 0x28) != (EntityPtr)0x1)) && - (EVar9 = (EntityPtr)0x0, EVar10 != (EntityPtr)0x0)) && - (*(EntityPtr *)((int)EVar10 + 0x28) == (EntityPtr)0x3)) { - *(EntityPtr *)((int)EVar10 + 0xd4c) = (EntityPtr)0x0; + pEVar11 = in_ECX->_owner; + if ((((pEVar11 == (Entity_Player *)0x0) || (pEVar22 = pEVar11, pEVar11->_type != 1)) && + (pEVar22 = (Entity_Player *)0x0, pEVar11 != (Entity_Player *)0x0)) && (pEVar11->_type == 3)) + { + pEVar11->_chargeBarSprites[5]._numEvents = 0; } else { - EVar10 = (EntityPtr)0x0; - if (EVar9 != (EntityPtr)0x0) { - EVar10 = (EntityPtr)Entity_Player::stop_costume_item_anims(); + pEVar11 = (Entity_Player *)0x0; + if (pEVar22 != (Entity_Player *)0x0) { + pEVar11 = (Entity_Player *)Entity_Player::stop_costume_item_anims(); } } } else { - EVar9 = in_ECX[1]._technology2Laser; - local_58 = EVar9; - if ((bVar14 != 0) || ((uVar13 & 1) != 0)) { - if ((float)local_5c <= (float)EVar9) { - Weapon::UpdateHeadChargeAnimation(0xe5,1,&EStack_3c,&DAT_bf800000); - Weapon::UpdateHeadChargeAnimation(0x44,1,&EStack_3c,&DAT_bf800000); + pEVar22 = *(Entity_Player **)&in_ECX->field_0x14; + local_58 = pEVar22; + if ((bVar16 != 0) || ((uVar15 & 1) != 0)) { + if ((float)local_5c <= (float)pEVar22) { + Weapon::UpdateHeadChargeAnimation(0xe5,1,&fStack_3c,&DAT_bf800000); + Weapon::UpdateHeadChargeAnimation(0x44,1,&fStack_3c,&DAT_bf800000); } else { - local_58 = (EntityPtr)(((float)EVar9 / (float)local_5c) * 18.0); - Weapon::UpdateHeadChargeAnimation(0xe5,0,&EStack_3c,local_58); - Weapon::UpdateHeadChargeAnimation(0x44,0,&EStack_3c,local_58); - if (*(int *)&in_ECX->field_0x4 == 0) { - local_58 = (EntityPtr)((float)in_ECX[1]._technology2Laser + 1.0); + local_58 = (Entity_Player *)(((float)pEVar22 / (float)local_5c) * 18.0); + Weapon::UpdateHeadChargeAnimation(0xe5,0,&fStack_3c,local_58); + Weapon::UpdateHeadChargeAnimation(0x44,0,&fStack_3c,local_58); + if (in_ECX->_owner == (void *)0x0) { + local_58 = (Entity_Player *)(*(float *)&in_ECX->field_0x14 + 1.0); } else { - local_58 = (EntityPtr) - (*(float *)(*(int *)&in_ECX->field_0x4 + 0x39c) + - (float)in_ECX[1]._technology2Laser); + local_58 = (Entity_Player *) + (*(float *)((int)in_ECX->_owner + 0x39c) + *(float *)&in_ECX->field_0x14); } } - EVar9 = local_58; - EVar10 = (EntityPtr)Weapon::SetBlinkTime(); + pEVar22 = local_58; + pEVar11 = (Entity_Player *)Weapon::SetBlinkTime(); } - if ((uVar6 & 1) != 0) { - fVar16 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); - local_4c[0] = (EntityPtr)(float)fVar16; - if ((float)local_4c[0] <= (float)in_ECX[1]._technology2Laser) { - Weapon::UpdateHeadChargeAnimation(0x44,1,&EStack_3c,&DAT_bf800000); - Weapon::UpdateHeadChargeAnimation(0x13c,1,&EStack_3c,&DAT_bf800000); - EVar9 = local_58; + if ((uVar7 & 1) != 0) { + fVar19 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); + local_4c[0] = (void *)(float)fVar19; + if ((float)local_4c[0] <= *(float *)&in_ECX->field_0x14) { + Weapon::UpdateHeadChargeAnimation(0x44,1,&fStack_3c,&DAT_bf800000); + Weapon::UpdateHeadChargeAnimation(0x13c,1,&fStack_3c,&DAT_bf800000); + pEVar22 = local_58; } else { - if (*(int *)&in_ECX->field_0x4 != 0) { - fVar17 = ((float)in_ECX[1]._technology2Laser / (float)local_4c[0]) * 18.0; - uVar22 = CONCAT44(fVar17,&EStack_3c); - if (*(int *)(*(int *)&in_ECX->field_0x4 + 0x28) == 1) { - Weapon::UpdateHeadChargeAnimation(0x44,0,&EStack_3c,fVar17); - uVar22 = ZEXT48(&EStack_3c); + if (in_ECX->_owner != (void *)0x0) { + fVar21 = (*(float *)&in_ECX->field_0x14 / (float)local_4c[0]) * 18.0; + uVar25 = CONCAT44(fVar21,&fStack_3c); + if (*(int *)((int)in_ECX->_owner + 0x28) == 1) { + Weapon::UpdateHeadChargeAnimation(0x44,0,&fStack_3c,fVar21); + uVar25 = ZEXT48(&fStack_3c); } - Weapon::UpdateHeadChargeAnimation(0x13c,0,uVar22); + Weapon::UpdateHeadChargeAnimation(0x13c,0,uVar25); } - if (*(int *)&in_ECX->field_0x4 == 0) { - EVar9 = (EntityPtr)((float)in_ECX[1]._technology2Laser + 1.0); + if (in_ECX->_owner == (void *)0x0) { + pEVar22 = (Entity_Player *)(*(float *)&in_ECX->field_0x14 + 1.0); } else { - EVar9 = (EntityPtr) - (*(float *)(*(int *)&in_ECX->field_0x4 + 0x39c) + - (float)in_ECX[1]._technology2Laser); + pEVar22 = (Entity_Player *) + (*(float *)((int)in_ECX->_owner + 0x39c) + *(float *)&in_ECX->field_0x14); } } Weapon::SetBlinkTime(); - EVar10 = (EntityPtr)(int)((((float)EVar9 + 1.0) * 5.0) / ((float)local_4c[0] + 1.0)); - *(EntityPtr *)&in_ECX[6].field_0x4 = EVar10; + pEVar11 = (Entity_Player *)(int)((((float)pEVar22 + 1.0) * 5.0) / ((float)local_4c[0] + 1.0)); + *(Entity_Player **)&in_ECX[1].field_0x14 = pEVar11; } - in_ECX[1]._technology2Laser = EVar9; - *(EntityPtr *)(in_ECX + 6) = EVar9; + *(Entity_Player **)&in_ECX->field_0x14 = pEVar22; + *(Entity_Player **)&in_ECX[1].field_0x10 = pEVar22; } LAB_00a05eda: if ((byte)param_2 == 0) { - return EVar10; + return pEVar11; } - bVar14 = Weapon::IsAxisAligned(in_ECX); - if (bVar14 == 0) { - pEVar12 = (EntityPtr *)Weapon::get_aim_direction(local_4c,&EStack_3c); - in_ECX[2]._technology2Laser = *pEVar12; - EVar9 = pEVar12[1]; - *(EntityPtr *)(in_ECX + 3) = EVar9; - return EVar9; + bVar16 = Weapon::IsAxisAligned(in_ECX); + if (bVar16 == 0) { + puVar13 = (undefined4 *)Weapon::get_aim_direction(local_4c,&fStack_3c); + *(undefined4 *)&in_ECX->field_0x20 = *puVar13; + pEVar11 = (Entity_Player *)puVar13[1]; + *(Entity_Player **)&in_ECX->field_0x24 = pEVar11; + return pEVar11; } - in_ECX[2]._technology2Laser = EStack_3c; - *(EntityPtr *)(in_ECX + 3) = EStack_38; - return EStack_38; + *(float *)&in_ECX->field_0x20 = fStack_3c; + *(Entity_Player **)&in_ECX->field_0x24 = pEStack_38; + return pEStack_38; } @@ -944100,7 +945632,7 @@ LAB_00a07ae8: /* WARNING: Restarted to delay deadcode elimination for space: stack */ /* ZHL [exact] void Fire(const Vector& shootPos, bool IsShooting, bool IsInterpolated); */ -EntityPtr Weapon_MonstrosLung::Fire(EntityPtr *param_1,undefined4 param_2,undefined4 param_3) +void * Weapon_MonstrosLung::Fire(undefined4 *param_1,undefined4 param_2,undefined4 param_3) { Manager *pMVar1; @@ -944108,20 +945640,20 @@ EntityPtr Weapon_MonstrosLung::Fire(EntityPtr *param_1,undefined4 param_2,undefi bool bVar3; byte bVar4; byte bVar5; - EntityPtr EVar6; - EntityPtr *pEVar7; - float *pfVar8; - int iVar9; - uint uVar10; - int iVar11; + void *pvVar6; + float *pfVar7; + int iVar8; + uint uVar9; + int iVar10; Weapon *in_ECX; undefined4 extraout_ECX; undefined4 extraout_ECX_00; undefined4 extraout_ECX_01; - undefined4 uVar12; - EntityPtr EVar13; + undefined4 uVar11; + void *pvVar12; Entity_Player *this; - float10 fVar14; + float10 fVar13; + float fVar14; float fVar15; float fVar16; undefined1 auVar17 [12]; @@ -944129,14 +945661,15 @@ EntityPtr Weapon_MonstrosLung::Fire(EntityPtr *param_1,undefined4 param_2,undefi undefined1 auVar19 [12]; undefined1 auVar20 [12]; undefined1 auVar21 [12]; - double dVar22; + float fVar22; + double dVar23; float fStack_58; float fStack_54; float local_50; float local_4c; int local_48; - EntityPtr local_3c; - EntityPtr local_38; + float local_3c; + float local_38; float local_34; float fStack_30; short asStack_2c [10]; @@ -944146,11 +945679,11 @@ EntityPtr Weapon_MonstrosLung::Fire(EntityPtr *param_1,undefined4 param_2,undefi char cStack_e; ushort uStack_c; - EVar6 = (EntityPtr)Weapon::Fire(param_1,param_2,param_3); + pvVar6 = (void *)Weapon::Fire(param_1,param_2,param_3); if ((char)param_3 != '\0') { - return EVar6; + return pvVar6; } - this = *(Entity_Player **)&in_ECX->field_0x4; + this = in_ECX->_owner; if (this == (Entity_Player *)0x0) { LAB_00a07dae: this = (Entity_Player *)0x0; @@ -944169,10 +945702,10 @@ LAB_00a07d95: if (bVar4 == 0) goto LAB_00a07db0; bVar2 = true; } - bVar4 = in_ECX[4].field_0x4 & 1; - if (((*(uint *)&in_ECX[4].field_0x4 >> 7 & 1) != 0) || - (fVar16 = *(float *)&in_ECX[1].field_0x4, fVar16 <= 0.0)) { - fVar16 = *(float *)&in_ECX[1].field_0x4; + bVar4 = (byte)in_ECX->_modifiers & 1; + if ((((uint)in_ECX->_modifiers >> 7 & 1) != 0) || + (fVar16 = *(float *)&in_ECX->field_0x10, fVar16 <= 0.0)) { + fVar16 = *(float *)&in_ECX->field_0x10; bVar3 = true; } else { @@ -944184,50 +945717,51 @@ LAB_00a07d95: auVar17._0_4_ = fVar16; } fVar16 = auVar17._0_4_; - local_3c = in_ECX[2]._technology2Laser; - local_38 = *(EntityPtr *)(in_ECX + 3); + local_3c = *(float *)&in_ECX->field_0x20; + local_38 = *(float *)&in_ECX->field_0x24; bVar5 = Weapon::IsAxisAligned(in_ECX); if (bVar5 == 0) { - pEVar7 = (EntityPtr *)Weapon::get_aim_direction(&local_34,&local_3c); - EVar6 = *pEVar7; - EVar13 = pEVar7[1]; - fVar15 = (float)EVar6 * (float)EVar6 + (float)EVar13 * (float)EVar13; + pfVar7 = (float *)Weapon::get_aim_direction(&local_34,&local_3c); + fVar15 = *pfVar7; + fVar22 = pfVar7[1]; + fVar14 = fVar15 * fVar15 + fVar22 * fVar22; sqrtf(); - if (0.0 < fVar15) { - EVar6 = (EntityPtr)((float)EVar6 * (1.0 / fVar15)); - EVar13 = (EntityPtr)((float)EVar13 * (1.0 / fVar15)); + if (0.0 < fVar14) { + fVar15 = fVar15 * (1.0 / fVar14); + fVar22 = fVar22 * (1.0 / fVar14); } - local_3c = EVar6; - local_38 = EVar13; + local_3c = fVar15; + local_38 = fVar22; } else { - pEVar7 = (EntityPtr *)Vector::ToCardinal(); - local_3c = *pEVar7; - local_38 = pEVar7[1]; + pfVar7 = (float *)Vector::ToCardinal(); + local_3c = *pfVar7; + local_38 = pfVar7[1]; } - iVar9 = *(int *)&in_ECX->field_0x4; - if ((((iVar9 == 0) || - ((*(int *)(iVar9 + 0x28) != 1 && - ((*(int *)(iVar9 + 0x28) != 3 || (iVar9 = *(int *)(iVar9 + 0x410), iVar9 == 0)))))) || - (iVar9 = *(int *)(iVar9 + 0x140c), iVar9 == 0)) || (!bVar2)) { - fVar15 = *(float *)&in_ECX[3].field_0x4; - EVar6 = in_ECX[3]._technology2Laser; + pvVar6 = in_ECX->_owner; + if ((((pvVar6 == (void *)0x0) || + ((*(int *)((int)pvVar6 + 0x28) != 1 && + ((*(int *)((int)pvVar6 + 0x28) != 3 || + (pvVar6 = *(void **)((int)pvVar6 + 0x410), pvVar6 == (void *)0x0)))))) || + (iVar8 = *(int *)((int)pvVar6 + 0x140c), iVar8 == 0)) || (!bVar2)) { + fVar15 = *(float *)&in_ECX->field_0x28; + fVar22 = *(float *)&in_ECX->field_0x2c; } else { - fVar15 = *(float *)(iVar9 + 0x33c); - EVar6 = *(EntityPtr *)(iVar9 + 0x340); + fVar15 = *(float *)(iVar8 + 0x33c); + fVar22 = *(float *)(iVar8 + 0x340); } - if ((fVar15 != g_vectorZero.x) || (bVar2 = false, (float)EVar6 != g_vectorZero.y)) { + if ((fVar15 != g_vectorZero.x) || (bVar2 = false, fVar22 != g_vectorZero.y)) { bVar2 = true; } - fVar14 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); - local_50 = (float)fVar14; + fVar13 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); + local_50 = (float)fVar13; if ((char)param_2 != '\0') { if (bVar2) { if (bVar4 != 0) { - pfVar8 = (float *)Weapon::get_owner_position(); - fVar15 = ((float)EVar6 - pfVar8[1]) * ((float)EVar6 - pfVar8[1]) + - (fVar15 - *pfVar8) * (fVar15 - *pfVar8); + pfVar7 = (float *)Weapon::get_owner_position(); + fVar15 = (fVar22 - pfVar7[1]) * (fVar22 - pfVar7[1]) + + (fVar15 - *pfVar7) * (fVar15 - *pfVar7); sqrtf(); fVar15 = (fVar15 - 50.0) / 250.0; if (fVar15 <= 0.0) { @@ -944238,7 +945772,7 @@ LAB_00a07d95: } local_50 = (fVar16 * 2.5 - fVar16 * 0.25) * fVar15 + fVar16 * 0.25; } - if (local_50 <= (float)in_ECX[1]._technology2Laser) goto LAB_00a0811a; + if (local_50 <= *(float *)&in_ECX->field_0x14) goto LAB_00a0811a; } if (bVar3) { auVar19 = ZEXT812(0x3a83126f); @@ -944246,32 +945780,32 @@ LAB_00a07d95: auVar19._4_8_ = auVar19._4_8_; auVar19._0_4_ = local_50; } - if (auVar19._0_4_ <= (float)in_ECX[1]._technology2Laser) goto LAB_00a0811a; + if (auVar19._0_4_ <= *(float *)&in_ECX->field_0x14) goto LAB_00a0811a; } - if (local_50 <= (float)in_ECX[1]._technology2Laser) { + if (local_50 <= *(float *)&in_ECX->field_0x14) { Weapon::UpdateHeadChargeAnimation(0xe5,1,param_1,&DAT_bf800000); } else { - if (*(int *)&in_ECX->field_0x4 == 0) { + if (in_ECX->_owner == (void *)0x0) { fVar16 = 1.0; } else { - fVar16 = *(float *)(*(int *)&in_ECX->field_0x4 + 0x39c); + fVar16 = *(float *)((int)in_ECX->_owner + 0x39c); } - EVar6 = (EntityPtr)((float)in_ECX[1]._technology2Laser + fVar16); - in_ECX[1]._technology2Laser = EVar6; - Weapon::UpdateHeadChargeAnimation(0xe5,0,param_1,((float)EVar6 / local_50) * 18.0); + fVar16 = *(float *)&in_ECX->field_0x14 + fVar16; + *(float *)&in_ECX->field_0x14 = fVar16; + Weapon::UpdateHeadChargeAnimation(0xe5,0,param_1,(fVar16 / local_50) * 18.0); pMVar1 = g_manager; - if (local_50 <= (float)in_ECX[1]._technology2Laser) { + if (local_50 <= *(float *)&in_ECX->field_0x14) { seed_fart_sound_override(); SoundEffects::Play(&pMVar1->_sfxManager,0x380,1.0,2,0,1.0,0.0); } } Weapon::SetBlinkTime(); - in_ECX[2]._technology2Laser = *param_1; - EVar6 = param_1[1]; - *(EntityPtr *)(in_ECX + 3) = EVar6; - return EVar6; + *(undefined4 *)&in_ECX->field_0x20 = *param_1; + pvVar6 = (void *)param_1[1]; + *(void **)&in_ECX->field_0x24 = pvVar6; + return pvVar6; } LAB_00a0811a: auVar20 = ZEXT812(0x3a83126f); @@ -944288,30 +945822,30 @@ LAB_00a0811a: } local_4c = auVar21._0_4_; } - if (local_4c <= (float)in_ECX[1]._technology2Laser) { + if (local_4c <= *(float *)&in_ECX->field_0x14) { Weapon::UpdateHeadChargeAnimation(0xe5,2,&local_3c,&DAT_bf800000); Weapon::SetBlinkTime(); - fStack_58 = (float)local_3c * 10.0; - fStack_54 = (float)local_38 * 10.0; - pfVar8 = (float *)Weapon::get_tear_movement_inheritance(&local_34,&local_3c); - fStack_58 = fStack_58 + *pfVar8; - fStack_54 = fStack_54 + pfVar8[1]; - uVar12 = extraout_ECX; + fStack_58 = local_3c * 10.0; + fStack_54 = local_38 * 10.0; + pfVar7 = (float *)Weapon::get_tear_movement_inheritance(&local_34,&local_3c); + fStack_58 = fStack_58 + *pfVar7; + fStack_54 = fStack_54 + pfVar7[1]; + uVar11 = extraout_ECX; if (this != (Entity_Player *)0x0) { bVar5 = Entity_Player::HasCollectible(this,0x95,0); - uVar12 = extraout_ECX_00; + uVar11 = extraout_ECX_00; if (bVar5 != 0) { - iVar9 = Random(); - fVar15 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * + iVar8 = Random(); + fVar15 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * 0.2 + 0.7; fStack_58 = fStack_58 * fVar15; fStack_54 = fStack_54 * fVar15; - uVar12 = extraout_ECX_01; + uVar11 = extraout_ECX_01; } } local_50 = 1.0; if (bVar4 != 0) { - fVar16 = (float)in_ECX[1]._technology2Laser / fVar16; + fVar16 = *(float *)&in_ECX->field_0x14 / fVar16; if (fVar16 <= 0.02) { fVar16 = 0.02; } @@ -944320,7 +945854,7 @@ LAB_00a0811a: } local_50 = fVar16 * 0.8; } - Weapon::GetMultiShotParams(asStack_2c,uVar12); + Weapon::GetMultiShotParams(asStack_2c,uVar11); local_4c = 1.68156e-44; if (this != (Entity_Player *)0x0) { bVar4 = Entity_Player::HasCollectible(this,0x213,0); @@ -944334,15 +945868,15 @@ LAB_00a0811a: } } if (local_50 < 1.0) { - dVar22 = ceil((double)((float)(int)local_4c * local_50)); + dVar23 = ceil((double)((float)(int)local_4c * local_50)); local_4c = (float)1; - if (1 < (int)dVar22) { - local_4c = (float)(int)dVar22; + if (1 < (int)dVar23) { + local_4c = (float)(int)dVar23; } } Weapon::TriggerTearEffects(&local_3c,local_4c); local_48 = 0; - iVar9 = (int)local_4c + (int)(((float)(int)local_4c / 5.0) * (float)(int)asStack_2c[0]); + iVar8 = (int)local_4c + (int)(((float)(int)local_4c / 5.0) * (float)(int)asStack_2c[0]); if (0 < iStack_18) { do { fVar16 = 0.0; @@ -944367,57 +945901,57 @@ LAB_00a0811a: sin(); fStack_30 = fVar15 * fStack_54 + auVar18._0_4_ * fStack_58; local_34 = fVar15 * fStack_58 - auVar18._0_4_ * fStack_54; - FireBurst(&local_34,iVar9); + FireBurst(&local_34,iVar8); local_48 = local_48 + 1; } while (local_48 < iStack_18); } if (cStack_f != '\0') { local_34 = -fStack_58; fStack_30 = -fStack_54; - FireBurst(&local_34,iVar9); + FireBurst(&local_34,iVar8); } if (cStack_e != '\0') { local_34 = -fStack_54; fStack_30 = fStack_58; - FireBurst(&local_34,iVar9); + FireBurst(&local_34,iVar8); local_34 = fStack_54; fStack_30 = -fStack_58; - FireBurst(&local_34,iVar9); + FireBurst(&local_34,iVar8); } pMVar1 = g_manager; - for (uVar10 = (uint)uStack_c; g_manager = pMVar1, uVar10 != 0; uVar10 = uVar10 - 1) { - iVar11 = Random(); - fVar15 = (float)((double)iVar11 + __uint_to_double_fixup[-(iVar11 >> 0x1f)]) * 2.3283064e-10 * + for (uVar9 = (uint)uStack_c; g_manager = pMVar1, uVar9 != 0; uVar9 = uVar9 - 1) { + iVar10 = Random(); + fVar15 = (float)((double)iVar10 + __uint_to_double_fixup[-(iVar10 >> 0x1f)]) * 2.3283064e-10 * 360.0 * 0.017453292; fVar16 = fVar15; cos(); sin(); fStack_30 = fVar16 * fStack_54 + fVar15 * fStack_58; local_34 = fVar16 * fStack_58 - fVar15 * fStack_54; - FireBurst(&local_34,iVar9); + FireBurst(&local_34,iVar8); pMVar1 = g_manager; } seed_fart_sound_override(); SoundEffects::Play(&pMVar1->_sfxManager,0x37b,1.0,2,0,1.0,0.0); } - in_ECX[1]._technology2Laser = (EntityPtr)0x0; - EVar6._0_1_ = Weapon::IsItemAnimFinished(in_ECX,0xe5); - EVar6._1_3_ = 0; - if (EVar6._0_1_ != 0) { - EVar6 = *(EntityPtr *)&in_ECX->field_0x4; - if ((((EVar6 == (EntityPtr)0x0) || (EVar13 = EVar6, *(int *)((int)EVar6 + 0x28) != 1)) && - (EVar13 = (EntityPtr)0x0, EVar6 != (EntityPtr)0x0)) && (*(int *)((int)EVar6 + 0x28) == 3)) { - *(undefined4 *)((int)EVar6 + 0xd4c) = 0; + *(undefined4 *)&in_ECX->field_0x14 = 0; + bVar4 = Weapon::IsItemAnimFinished(in_ECX,0xe5); + pvVar6 = (void *)(uint)bVar4; + if (bVar4 != 0) { + pvVar6 = in_ECX->_owner; + if ((((pvVar6 == (void *)0x0) || (pvVar12 = pvVar6, *(int *)((int)pvVar6 + 0x28) != 1)) && + (pvVar12 = (void *)0x0, pvVar6 != (void *)0x0)) && (*(int *)((int)pvVar6 + 0x28) == 3)) { + *(undefined4 *)((int)pvVar6 + 0xd4c) = 0; } else { - EVar6 = (EntityPtr)0x0; - if (EVar13 != (EntityPtr)0x0) { - EVar6 = (EntityPtr)Entity_Player::stop_costume_item_anims(); - return EVar6; + pvVar6 = (void *)0x0; + if (pvVar12 != (void *)0x0) { + pvVar6 = (void *)Entity_Player::stop_costume_item_anims(); + return pvVar6; } } } - return EVar6; + return pvVar6; } @@ -944613,7 +946147,7 @@ float10 __thiscall Weapon_MonstrosLung::GetMaxCharge(Weapon_MonstrosLung *this) if ((this->_modifiers & 1) != 0) { local_8 = 2.5; } - fVar1 = this->_maxFireDelay; + fVar1 = *(float *)&this->field_0x10; if (fVar1 < 0.001) { fVar1 = 0.001; } @@ -945182,57 +946716,61 @@ LAB_00a099be: /* DB: vftable */ -void Weapon_SpiritSword::Fire(EntityPtr param_1,EntityPtr param_2,EntityPtr param_3) +void Weapon_SpiritSword::Fire(float *param_1,Entity_Player *param_2,Entity_Player *param_3) { - void *pvVar1; - Game *pGVar2; - Manager *pMVar3; - Weapon *pWVar4; - byte bVar5; - char cVar6; - EntityPtr *pEVar7; - EntityPtr *pEVar8; - int iVar9; + float **ppfVar1; + void *pvVar2; + Entity_Knife *pEVar3; + Game *pGVar4; + Manager *pMVar5; + Weapon *pWVar6; + byte bVar7; + char cVar8; + float **ppfVar9; + undefined4 *puVar10; + int iVar11; + Entity_Player **ppEVar12; + Entity_Player *pEVar13; byte *_Str1; Weapon *in_ECX; undefined4 *extraout_ECX; Entity_Player *extraout_EDX; Entity_Player *extraout_EDX_00; - Entity_Player *this; - uint uVar10; - EntityPtr EVar11; - uint uVar12; - EntityPtr EVar13; - float fVar14; - float fVar15; - EntityPtr EVar16; - EntityPtr EVar17; - undefined4 uVar18; - undefined4 *puVar19; - undefined4 uVar20; - EntityPtr local_88 [7]; + uint uVar14; + float *pfVar15; + uint uVar16; + Entity_Player *pEVar17; + float fVar18; + float fVar19; + float *pfVar20; + float fVar21; + undefined4 uVar22; + int *piVar23; + int *piVar24; + undefined4 uVar25; + int local_88 [7]; char local_6b; char local_6a; ushort local_68; undefined4 local_64; int iStack_60; - EntityPtr *pEStack_5c; - EntityPtr *pEStack_58; - EntityPtr local_54; - EntityPtr local_50; + int *piStack_5c; + int *piStack_58; + float *local_54; + float *local_50; float local_44; - EntityPtr local_40; - undefined4 local_3c; + Entity_Player *local_40; + float local_3c; float local_38; - EntityPtr local_34; + float *local_34; Weapon *local_30; - EntityPtr local_2c; - EntityPtr local_28; + float *local_2c; + Entity_Player *local_28; undefined4 local_24; - EntityPtr local_20; - EntityPtr local_1c; - EntityPtr local_18; + Entity_Player *local_20; + float local_1c; + float *local_18; char local_11; void *local_10; undefined1 *puStack_c; @@ -945244,388 +946782,381 @@ void Weapon_SpiritSword::Fire(EntityPtr param_1,EntityPtr param_2,EntityPtr para ExceptionList = &local_10; local_30 = in_ECX; Weapon::Fire(param_1,param_2,param_3); - local_28 = *(EntityPtr *)&in_ECX->field_0x4; + local_28 = in_ECX->_owner; local_20 = local_28; - if (local_28 == (EntityPtr)0x0) { - local_1c = (EntityPtr)0x3f800000; + if (local_28 == (Entity_Player *)0x0) { + local_1c = 1.0; LAB_00a09a65: - local_20 = (EntityPtr)0x0; - if (local_28 != (EntityPtr)0x0) { - local_20 = (EntityPtr)0x0; - if (*(int *)((int)local_28 + 0x28) == 1) goto LAB_00a09a88; + local_20 = (Entity_Player *)0x0; + if (local_28 != (Entity_Player *)0x0) { + local_20 = (Entity_Player *)0x0; + if (local_28->_type == 1) goto LAB_00a09a88; } LAB_00a09a81: - local_28 = (EntityPtr)0x0; + local_28 = (Entity_Player *)0x0; } else { - local_1c = *(EntityPtr *)((int)local_28 + 0x39c); - if (*(EntityPtr *)((int)local_28 + 0x28) != (EntityPtr)0x1) { - if (*(EntityPtr *)((int)local_28 + 0x28) != (EntityPtr)0x3) goto LAB_00a09a65; - local_20 = *(EntityPtr *)((int)local_28 + 0x410); + local_1c = local_28->_speedMultiplier; + if (local_28->_type != 1) { + if (local_28->_type != 3) goto LAB_00a09a65; + local_20 = *(Entity_Player **)&local_28->_isControlsEnabled; goto LAB_00a09a81; } } LAB_00a09a88: - EVar11 = local_20; - if (local_20 == (EntityPtr)0x0) { + pEVar13 = local_20; + if (local_20 == (Entity_Player *)0x0) { LAB_00a09aaf: local_24 = 10; local_11 = '\0'; - if (EVar11 != (EntityPtr)0x0) goto LAB_00a09abe; + if (pEVar13 != (Entity_Player *)0x0) goto LAB_00a09abe; } else { - Entity_Player::HasCollectible((Entity_Player *)local_20,0x18a,0); - bVar5 = Entity_Player::HasCollectible((Entity_Player *)EVar11,0x72,0); - if (bVar5 == 0) goto LAB_00a09aaf; + Entity_Player::HasCollectible(local_20,0x18a,0); + bVar7 = Entity_Player::HasCollectible(pEVar13,0x72,0); + if (bVar7 == 0) goto LAB_00a09aaf; local_11 = '\x01'; LAB_00a09abe: - bVar5 = Entity_Player::HasCollectible((Entity_Player *)EVar11,0x44,0); + bVar7 = Entity_Player::HasCollectible(pEVar13,0x44,0); local_24 = 10; - if (bVar5 != 0) { + if (bVar7 != 0) { local_24 = 0xb; } } - iVar9 = *(int *)&in_ECX->field_0x4; - local_18 = (EntityPtr)0x3f800000; - if (iVar9 != 0) { - if (local_28 == (EntityPtr)0x0) { - pEVar8 = (EntityPtr *)(iVar9 + 0xe4); - pEVar7 = &local_34; - if (*(int *)(iVar9 + 0x28) != 3) { - if (1.0 < (float)*pEVar8) { - pEVar7 = pEVar8; + pvVar2 = in_ECX->_owner; + local_18 = (float *)0x3f800000; + if (pvVar2 != (void *)0x0) { + if (local_28 == (Entity_Player *)0x0) { + ppfVar1 = (float **)((int)pvVar2 + 0xe4); + ppfVar9 = &local_34; + if (*(int *)((int)pvVar2 + 0x28) != 3) { + if (1.0 < (float)*ppfVar1) { + ppfVar9 = ppfVar1; } goto LAB_00a09b5e; } - local_2c = (EntityPtr)0x3f4ccccd; - local_34 = (EntityPtr)((float)*pEVar8 * 0.8); - if ((float)*pEVar8 * 0.8 <= 0.8) { - pEVar7 = &local_2c; + local_2c = (float *)0x3f4ccccd; + local_34 = (float *)((float)*ppfVar1 * 0.8); + if ((float)*ppfVar1 * 0.8 <= 0.8) { + ppfVar9 = &local_2c; } } else { - local_54 = *(EntityPtr *)((int)local_28 + 0x14f0); - local_50 = *(EntityPtr *)((int)local_28 + 0x14f4); - pEVar7 = &local_54; + local_54 = (float *)(local_28->_playerSpriteScale).x; + local_50 = (float *)(local_28->_playerSpriteScale).y; + ppfVar9 = &local_54; if ((float)local_54 <= 1.0) { - pEVar7 = &local_34; + ppfVar9 = &local_34; } LAB_00a09b5e: - local_34 = (EntityPtr)0x3f800000; + local_34 = (float *)0x3f800000; } - local_18 = *pEVar7; + local_18 = *ppfVar9; } - if (EVar11 != (EntityPtr)0x0) { - bVar5 = TemporaryEffects::HasCollectibleEffect((TemporaryEffects *)((int)EVar11 + 0x1508),0x271) - ; - if (bVar5 != 0) { - local_18 = (EntityPtr)((float)local_18 * 4.0); + if (pEVar13 != (Entity_Player *)0x0) { + bVar7 = TemporaryEffects::HasCollectibleEffect(&pEVar13->_temporaryeffects,0x271); + if (bVar7 != 0) { + local_18 = (float *)((float)local_18 * 4.0); } - bVar5 = Entity_Player::HasCollectible((Entity_Player *)EVar11,0xa9,0); - if (bVar5 == 0) { - bVar5 = Entity_Player::HasCollectible((Entity_Player *)EVar11,0x213,0); - if (bVar5 != 0) { - local_18 = (EntityPtr)((float)local_18 * 1.5); + bVar7 = Entity_Player::HasCollectible(pEVar13,0xa9,0); + if (bVar7 == 0) { + bVar7 = Entity_Player::HasCollectible(pEVar13,0x213,0); + if (bVar7 != 0) { + local_18 = (float *)((float)local_18 * 1.5); } } else { - local_18 = (EntityPtr)((float)local_18 + (float)local_18); + local_18 = (float *)((float)local_18 + (float)local_18); } } - local_3c = 0x3f000000; + local_3c = 0.5; local_38 = 1.0 / ((float)local_18 * 0.5 + 0.5); - EVar11 = (EntityPtr)&local_38; + pfVar15 = &local_38; if (local_38 <= 0.5) { - EVar11 = (EntityPtr)&local_3c; + pfVar15 = &local_3c; } - if ((param_3._0_1_ == '\0') && (0.0 < *(float *)(in_ECX + 6))) { - *(float *)(in_ECX + 6) = *(float *)(in_ECX + 6) - (float)local_1c; + if (((char)param_3 == '\0') && (0.0 < *(float *)&in_ECX[1].field_0x10)) { + *(float *)&in_ECX[1].field_0x10 = *(float *)&in_ECX[1].field_0x10 - local_1c; } - if (param_2._0_1_ == '\0') { - in_ECX[6].field_0x4 = 0; + if ((char)param_2 == '\0') { + in_ECX[1].field_0x14 = 0; } - local_50 = *(EntityPtr *)((int)param_1 + 4); - local_54 = *(EntityPtr *)param_1; + local_50 = (float *)param_1[1]; + local_54 = (float *)*param_1; if ((float)local_50 == 0.0) { if ((float)local_54 == 0.0) { - local_54 = in_ECX[2]._technology2Laser; - local_50 = *(EntityPtr *)(in_ECX + 3); + local_54 = *(float **)&in_ECX->field_0x20; + local_50 = *(float **)&in_ECX->field_0x24; } - if ((((float)local_50 == 0.0) && ((float)local_54 == 0.0)) && (local_28 != (EntityPtr)0x0)) { - switch(*(EntityPtr *)((int)local_28 + 0x1628)) { - case (EntityPtr)0x0: - local_54 = (EntityPtr)&DAT_bf800000; + if ((((float)local_50 == 0.0) && ((float)local_54 == 0.0)) && (local_28 != (Entity_Player *)0x0) + ) { + switch(local_28->_headDirection) { + case 0: + local_54 = (float *)&DAT_bf800000; break; - case (EntityPtr)0x1: - local_50 = (EntityPtr)&DAT_bf800000; + case 1: + local_50 = (float *)&DAT_bf800000; break; - case (EntityPtr)0x2: - local_54 = (EntityPtr)0x3f800000; + case 2: + local_54 = (float *)0x3f800000; break; - case (EntityPtr)0x3: - local_50 = (EntityPtr)0x3f800000; + case 3: + local_50 = (float *)0x3f800000; } } } - local_2c = EVar11; - bVar5 = Weapon::IsAxisAligned(in_ECX); - if (bVar5 == 0) { + local_2c = pfVar15; + bVar7 = Weapon::IsAxisAligned(in_ECX); + if (bVar7 == 0) { local_34 = local_50; } else { - pEVar8 = (EntityPtr *)Vector::ToCardinal(); - local_54 = *pEVar8; - local_34 = pEVar8[1]; + puVar10 = (undefined4 *)Vector::ToCardinal(); + local_54 = (float *)*puVar10; + local_34 = (float *)puVar10[1]; } param_1 = local_54; local_50 = local_34; - if ((((local_28 != (EntityPtr)0x0) && (iVar9 = *(int *)&in_ECX->field_0x4, iVar9 != 0)) && - (*(int *)(iVar9 + 0x28) == 1)) && - ((0 < *(int *)(iVar9 + 0x145c) || - ((*(int *)(iVar9 + 0x2c) == 1 && (*(int *)(iVar9 + 0x1aec) == 8)))))) { - EVar13 = (EntityPtr)((float)(int)*(char *)(iVar9 + 0x1578) * 45.0 * 0.017453292); - local_28 = EVar13; + if ((((local_28 != (Entity_Player *)0x0) && (pvVar2 = in_ECX->_owner, pvVar2 != (void *)0x0)) && + (*(int *)((int)pvVar2 + 0x28) == 1)) && + ((0 < *(int *)((int)pvVar2 + 0x145c) || + ((*(int *)((int)pvVar2 + 0x2c) == 1 && (*(int *)((int)pvVar2 + 0x1aec) == 8)))))) { + pEVar17 = (Entity_Player *)((float)(int)*(char *)((int)pvVar2 + 0x1578) * 45.0 * 0.017453292); + local_28 = pEVar17; cos(); - EVar16 = local_28; - local_40 = EVar13; + pEVar13 = local_28; + local_40 = pEVar17; sin(); - local_54 = (EntityPtr)((float)local_40 * (float)param_1 - (float)EVar16 * (float)local_34); - local_50 = (EntityPtr)((float)EVar16 * (float)param_1 + (float)local_40 * (float)local_34); + local_54 = (float *)((float)local_40 * (float)param_1 - (float)pEVar13 * (float)local_34); + local_50 = (float *)((float)pEVar13 * (float)param_1 + (float)local_40 * (float)local_34); } - if (param_3._0_1_ != '\0') { + if ((char)param_3 != '\0') { ExceptionList = local_10; return; } - if ((param_2._0_1_ != '\0') && (*(float *)(in_ECX + 1) <= 0.0)) { - EVar16 = in_ECX[5]._technology2Laser; - local_28 = (EntityPtr)&in_ECX[5]._technology2Laser; - if (EVar16 != (EntityPtr)0x0) { - if (*(char *)((int)EVar16 + 0x466) != '\0') goto LAB_00a0a43d; - (**(code **)(*(int *)EVar16 + 0x28))(); + if (((char)param_2 != '\0') && (*(float *)&in_ECX->field_0xc <= 0.0)) { + piVar23 = *(int **)&in_ECX[1].field_0xc; + local_28 = (Entity_Player *)&in_ECX[1].field_0xc; + if (piVar23 != (int *)0x0) { + if (*(char *)((int)piVar23 + 0x466) != '\0') goto LAB_00a0a43d; + (**(code **)(*piVar23 + 0x28))(); } - pGVar2 = g_game; - if (in_ECX[6].field_0x4 == '\0') { - *(undefined4 *)(in_ECX + 1) = 0x3f800000; - in_ECX[1]._technology2Laser = (EntityPtr)0x0; - if (1 < *(int *)&pGVar2->_deathmatchManager) { - *(undefined4 *)(in_ECX + 1) = 0x41f00000; + pGVar4 = g_game; + if (in_ECX[1].field_0x14 == '\0') { + *(undefined4 *)&in_ECX->field_0xc = 0x3f800000; + *(undefined4 *)&in_ECX->field_0x14 = 0; + if (1 < *(int *)&pGVar4->_deathmatchManager) { + *(undefined4 *)&in_ECX->field_0xc = 0x41f00000; } - in_ECX[6].field_0x4 = 1; - if ((local_20 == (EntityPtr)0x0) || - (*(int *)((int)local_20 + 0x134c) + *(int *)((int)local_20 + 0x1344) < - *(int *)((int)local_20 + 0x1340))) { - iVar9 = FUN_009f57f0(); - FUN_009f5810(-iVar9); - param_3 = (EntityPtr)((uint)param_3 & 0xffffff); - this = extraout_EDX_00; + in_ECX[1].field_0x14 = 1; + if ((local_20 == (Entity_Player *)0x0) || + (local_20->_soulHearts + local_20->_redHearts < local_20->_maxHearts)) { + iVar11 = FUN_009f57f0(); + FUN_009f5810(-iVar11); + param_3 = (Entity_Player *)((uint)param_3 & 0xffffff); + pEVar13 = extraout_EDX_00; if (extraout_EDX_00 != (Entity_Player *)0x0) goto LAB_00a09e89; } else { - param_3._3_1_ = 1; - iVar9 = FUN_009f57f0(); - FUN_009f5810(-iVar9); - this = extraout_EDX; + param_3 = (Entity_Player *)CONCAT13(1,param_3._0_3_); + iVar11 = FUN_009f57f0(); + FUN_009f5810(-iVar11); + pEVar13 = extraout_EDX; LAB_00a09e89: - bVar5 = Entity_Player::HasCollectible(this,0xde,0); - if (bVar5 != 0) { - uVar10 = 0; - pvVar1 = g_game->_room; - if (*(int *)((int)pvVar1 + 0x1264) != 0) { + bVar7 = Entity_Player::HasCollectible(pEVar13,0xde,0); + if (bVar7 != 0) { + uVar14 = 0; + pvVar2 = g_game->_room; + if (*(int *)((int)pvVar2 + 0x1264) != 0) { do { - iVar9 = *(int *)(*(int *)((int)pvVar1 + 0x125c) + uVar10 * 4); - if ((((iVar9 != 0) && (*(int *)(iVar9 + 0x28) == 2)) && - (*(int *)(iVar9 + 0x2c) == 0x2f)) && - ((*(int *)(iVar9 + 0x3c8) == *(int *)&in_ECX->field_0x4 && - (1 < *(int *)(iVar9 + 0x438))))) { - *(undefined4 *)(iVar9 + 0x438) = 1; + iVar11 = *(int *)(*(int *)((int)pvVar2 + 0x125c) + uVar14 * 4); + if ((((iVar11 != 0) && (*(int *)(iVar11 + 0x28) == 2)) && + (*(int *)(iVar11 + 0x2c) == 0x2f)) && + ((*(void **)(iVar11 + 0x3c8) == in_ECX->_owner && (1 < *(int *)(iVar11 + 0x438))))) + { + *(undefined4 *)(iVar11 + 0x438) = 1; } - uVar10 = uVar10 + 1; - } while (uVar10 < *(uint *)((int)pvVar1 + 0x1264)); - EVar11 = local_2c; + uVar14 = uVar14 + 1; + } while (uVar14 < *(uint *)((int)pvVar2 + 0x1264)); + pfVar15 = local_2c; } } } - EVar16 = param_1; - param_1 = (EntityPtr)((uint)param_1 & 0xffffff); - if ((param_3._3_1_ != '\0') && (*(float *)(in_ECX + 6) <= 0.0)) { - param_3 = (EntityPtr)(*(float *)&in_ECX[1].field_0x4 + *(float *)&in_ECX[1].field_0x4); - local_40 = (EntityPtr)0x42700000; - param_1._0_3_ = EVar16._0_3_; - param_1._3_1_ = 1; - pEVar8 = ¶m_3; + pfVar20 = param_1; + param_1 = (float *)((uint)param_1 & 0xffffff); + if ((param_3._3_1_ != '\0') && (*(float *)&in_ECX[1].field_0x10 <= 0.0)) { + param_3 = (Entity_Player *)(*(float *)&in_ECX->field_0x10 + *(float *)&in_ECX->field_0x10); + local_40 = (Entity_Player *)0x42700000; + param_1 = (float *)CONCAT13(1,(int3)pfVar20); + ppEVar12 = ¶m_3; if (60.0 <= (float)param_3) { - pEVar8 = &local_40; + ppEVar12 = &local_40; } - *(EntityPtr *)(in_ECX + 6) = *pEVar8; + *(Entity_Player **)&in_ECX[1].field_0x10 = *ppEVar12; } - if (in_ECX[5]._technology2Laser != (EntityPtr)0x0) { - (**(code **)(*(int *)in_ECX[5]._technology2Laser + 0x28))(); + if (*(int **)&in_ECX[1].field_0xc != (int *)0x0) { + (**(code **)(**(int **)&in_ECX[1].field_0xc + 0x28))(); } iStack_60 = 0; - pEStack_5c = (EntityPtr *)0x0; - pEStack_58 = (EntityPtr *)0x0; + piStack_5c = (int *)0x0; + piStack_58 = (int *)0x0; local_8 = 0; - local_40 = (EntityPtr)Weapon::FireSword(); - EVar16 = in_ECX[5]._technology2Laser; - param_3 = (EntityPtr)&in_ECX[5]._technology2Laser; - if (EVar16 != local_40) { - if (EVar16 != (EntityPtr)0x0) { + local_40 = (Entity_Player *)Weapon::FireSword(); + pEVar13 = *(Entity_Player **)&in_ECX[1].field_0xc; + param_3 = (Entity_Player *)&in_ECX[1].field_0xc; + if (pEVar13 != local_40) { + if (pEVar13 != (Entity_Player *)0x0) { std::multiset::erase(¶m_3); } - in_ECX[5]._technology2Laser = local_40; - EVar16 = local_40; - if (local_40 != (EntityPtr)0x0) { + *(Entity_Player **)&in_ECX[1].field_0xc = local_40; + pEVar13 = local_40; + if (local_40 != (Entity_Player *)0x0) { param_3 = local_40; - std::multiset::insert(&in_ECX[5]._technology2Laser); - EVar16 = in_ECX[5]._technology2Laser; + std::multiset::insert(&in_ECX[1].field_0xc); + pEVar13 = *(Entity_Player **)&in_ECX[1].field_0xc; } } - param_3 = EVar16; - EVar16 = local_50; + param_3 = pEVar13; + pfVar20 = local_50; atan2f(); - *(float *)((int)param_3 + 0x438) = (float)EVar16 * 57.295776; + *(float *)((param_3->_bodySprite)._animDefaultName._buf + 4) = (float)pfVar20 * 57.295776; if (param_1._3_1_ != '\0') { - EVar16 = in_ECX[5]._technology2Laser; - *(uint *)((int)EVar16 + 0x168) = *(uint *)((int)EVar16 + 0x168) | 0x400000; - *(undefined4 *)((int)EVar16 + 0x16c) = *(undefined4 *)((int)EVar16 + 0x16c); + iVar11 = *(int *)&in_ECX[1].field_0xc; + *(uint *)(iVar11 + 0x168) = *(uint *)(iVar11 + 0x168) | 0x400000; + *(undefined4 *)(iVar11 + 0x16c) = *(undefined4 *)(iVar11 + 0x16c); } - *(undefined4 *)((int)in_ECX[5]._technology2Laser + 0x4ec) = 1; - param_3 = in_ECX[5]._technology2Laser; + *(undefined4 *)(*(int *)&in_ECX[1].field_0xc + 0x4ec) = 1; + param_3 = *(Entity_Player **)&in_ECX[1].field_0xc; std::vector::_Emplace_reallocate(0,¶m_3); - pEVar8 = local_88; - uVar18 = 0xa0a02d; - puVar19 = extraout_ECX; - Weapon::GetMultiShotParams(pEVar8,extraout_ECX); + piVar23 = local_88; + uVar22 = 0xa0a02d; + puVar10 = extraout_ECX; + Weapon::GetMultiShotParams(piVar23,extraout_ECX); if (local_6b != '\0') { - EVar13 = (EntityPtr)Weapon::FireSword(); - puVar19 = (undefined4 *)0xa0a061; - EVar16 = local_50; - param_3 = EVar13; + pEVar13 = (Entity_Player *)Weapon::FireSword(); + puVar10 = (undefined4 *)0xa0a061; + pfVar20 = local_50; + param_3 = pEVar13; atan2f(); - *(float *)((int)EVar13 + 0x438) = (float)EVar16 * 57.295776; - *(undefined4 *)((int)EVar13 + 0x4ec) = 1; - if (pEStack_5c == pEStack_58) { - puVar19 = ¶m_3; - uVar18 = 0xa0a09d; - pEVar8 = pEStack_5c; - std::vector::_Emplace_reallocate(pEStack_5c,puVar19); + *(float *)((pEVar13->_bodySprite)._animDefaultName._buf + 4) = (float)pfVar20 * 57.295776; + (pEVar13->_bodySprite)._color._offset[2] = 1.4013e-45; + if (piStack_5c == piStack_58) { + puVar10 = ¶m_3; + uVar22 = 0xa0a09d; + piVar23 = piStack_5c; + std::vector::_Emplace_reallocate(piStack_5c,puVar10); } else { - *pEStack_5c = param_3; - pEStack_5c = pEStack_5c + 1; + *piStack_5c = (int)param_3; + piStack_5c = piStack_5c + 1; } } - pEVar7 = pEStack_5c; + piVar24 = piStack_5c; if (local_6a != '\0') { - param_3 = (EntityPtr) - Weapon::FireSword(local_30,*(EntityPtr *)local_28,local_24,0,uVar18,pEVar8,puVar19 - ); - puVar19 = (undefined4 *)0xa0a0d9; - EVar16 = local_50; + param_3 = (Entity_Player *) + Weapon::FireSword(local_30,*(int *)local_28,local_24,0,uVar22,piVar23,puVar10); + puVar10 = (undefined4 *)0xa0a0d9; + pfVar20 = local_50; atan2f(); - *(float *)((int)param_3 + 0x438) = (float)EVar16 * 57.295776; - *(undefined4 *)((int)param_3 + 0x4ec) = 1; - if (pEVar7 == pEStack_58) { - puVar19 = ¶m_3; - uVar18 = 0xa0a112; - std::vector::_Emplace_reallocate(pEVar7,puVar19); + *(float *)((param_3->_bodySprite)._animDefaultName._buf + 4) = (float)pfVar20 * 57.295776; + (param_3->_bodySprite)._color._offset[2] = 1.4013e-45; + if (piVar24 == piStack_58) { + puVar10 = ¶m_3; + uVar22 = 0xa0a112; + std::vector::_Emplace_reallocate(piVar24,puVar10); } else { - *pEVar7 = param_3; - pEStack_5c = pEVar7 + 1; - pEVar7 = pEVar8; + *piVar24 = (int)param_3; + piStack_5c = piVar24 + 1; + piVar24 = piVar23; } - pEVar8 = pEStack_5c; - param_3 = (EntityPtr) - Weapon::FireSword(local_30,*(EntityPtr *)local_28,local_24,0,uVar18,pEVar7,puVar19 - ); - EVar16 = local_50; + piVar23 = piStack_5c; + param_3 = (Entity_Player *) + Weapon::FireSword(local_30,*(int *)local_28,local_24,0,uVar22,piVar24,puVar10); + pfVar20 = local_50; atan2f(); - *(float *)((int)param_3 + 0x438) = (float)EVar16 * 57.295776; - *(undefined4 *)((int)param_3 + 0x4ec) = 1; - if (pEVar8 == pEStack_58) { - uVar18 = 0xa0a17d; - std::vector::_Emplace_reallocate(pEVar8,¶m_3); + *(float *)((param_3->_bodySprite)._animDefaultName._buf + 4) = (float)pfVar20 * 57.295776; + (param_3->_bodySprite)._color._offset[2] = 1.4013e-45; + if (piVar23 == piStack_58) { + uVar22 = 0xa0a17d; + std::vector::_Emplace_reallocate(piVar23,¶m_3); } else { - *pEVar8 = param_3; - pEStack_5c = pEVar8 + 1; - pEVar8 = pEVar7; + *piVar23 = (int)param_3; + piStack_5c = piVar23 + 1; + piVar23 = piVar24; } } - pWVar4 = local_30; - param_1._2_2_ = 0; - param_1._0_2_ = local_68; - if (param_1 != (EntityPtr)0x0) { + pWVar6 = local_30; + param_1 = (float *)(uint)local_68; + if (param_1 != (float *)0x0) { do { - pEVar7 = pEStack_5c; - uVar20 = 0xa0a197; + piVar24 = piStack_5c; + uVar25 = 0xa0a197; Random(); - param_3 = (EntityPtr) - Weapon::FireSword(pWVar4,pWVar4[5]._technology2Laser,local_24,0,uVar18,pEVar8, - uVar20); - EVar11 = local_50; + param_3 = (Entity_Player *) + Weapon::FireSword(pWVar6,*(undefined4 *)&pWVar6[1].field_0xc,local_24,0,uVar22, + piVar23,uVar25); + pfVar15 = local_50; atan2f(); - *(float *)((int)param_3 + 0x438) = (float)EVar11 * 57.295776; - *(undefined4 *)((int)param_3 + 0x4ec) = 1; - if (pEVar7 == pEStack_58) { - uVar18 = 0xa0a21c; - std::vector::_Emplace_reallocate(pEVar7,¶m_3); + *(float *)((param_3->_bodySprite)._animDefaultName._buf + 4) = (float)pfVar15 * 57.295776; + (param_3->_bodySprite)._color._offset[2] = 1.4013e-45; + if (piVar24 == piStack_58) { + uVar22 = 0xa0a21c; + std::vector::_Emplace_reallocate(piVar24,¶m_3); } else { - *pEVar7 = param_3; - pEStack_5c = pEVar7 + 1; - pEVar7 = pEVar8; + *piVar24 = (int)param_3; + piStack_5c = piVar24 + 1; + piVar24 = piVar23; } - param_1 = (EntityPtr)((int)param_1 + -1); - pEVar8 = pEVar7; - } while (param_1 != (EntityPtr)0x0); - param_1 = (EntityPtr)0x0; - EVar11 = local_2c; + param_1 = (float *)((int)param_1 + -1); + piVar23 = piVar24; + } while (param_1 != (float *)0x0); + param_1 = (float *)0x0; + pfVar15 = local_2c; } - param_3 = (EntityPtr)0x0; - EVar16 = local_18; - if (2 < g_game->_frameCount - *(int *)((int)*(EntityPtr *)local_28 + 0x328)) { - fVar14 = *(float *)((int)*(EntityPtr *)local_28 + 0xe4); - EVar16 = (EntityPtr)(((float)local_18 - fVar14) * 0.5 + fVar14); + param_3 = (Entity_Player *)0x0; + pfVar20 = local_18; + if (2 < g_game->_frameCount - *(int *)(*(int *)local_28 + 0x328)) { + fVar18 = *(float *)(*(int *)local_28 + 0xe4); + pfVar20 = (float *)(((float)local_18 - fVar18) * 0.5 + fVar18); } - uVar10 = 0; - uVar12 = (int)pEStack_5c - iStack_60 >> 2; - if (uVar12 != 0) { + uVar14 = 0; + uVar16 = (int)piStack_5c - iStack_60 >> 2; + if (uVar16 != 0) { do { - EVar11 = *(EntityPtr *)(iStack_60 + uVar10 * 4); - if ((((EVar11 != (EntityPtr)0x0) && (*(int *)((int)EVar11 + 0x28) == 8)) && - (*(int *)((int)EVar11 + 0x30) == 0)) && - ((*(EntityPtr *)((int)EVar11 + 0x3bc) == *(EntityPtr *)local_28 || - (EVar11 == *(EntityPtr *)local_28)))) { - fVar14 = (float)EVar16 * g_vectorOne.y; - *(float *)((int)EVar11 + 0xe4) = (float)EVar16 * g_vectorOne.x; - *(float *)((int)EVar11 + 0xe8) = fVar14; + iVar11 = *(int *)(iStack_60 + uVar14 * 4); + if ((((iVar11 != 0) && (*(int *)(iVar11 + 0x28) == 8)) && (*(int *)(iVar11 + 0x30) == 0)) + && ((*(int *)(iVar11 + 0x3bc) == *(int *)local_28 || (iVar11 == *(int *)local_28)))) { + fVar18 = (float)pfVar20 * g_vectorOne.y; + *(float *)(iVar11 + 0xe4) = (float)pfVar20 * g_vectorOne.x; + *(float *)(iVar11 + 0xe8) = fVar18; } - uVar10 = uVar10 + 1; - } while (uVar10 < uVar12); - uVar10 = 0; + uVar14 = uVar14 + 1; + } while (uVar14 < uVar16); + uVar14 = 0; do { - Entity_Knife::SetAttackAnimation(*(Entity_Knife **)(iStack_60 + uVar10 * 4)); - (**(code **)(**(int **)(iStack_60 + uVar10 * 4) + 0xc))(); - param_1 = *(EntityPtr *)(*(int *)(iStack_60 + uVar10 * 4) + 0x388); - pEVar8 = ¶m_1; + Entity_Knife::SetAttackAnimation(*(Entity_Knife **)(iStack_60 + uVar14 * 4)); + (**(code **)(**(int **)(iStack_60 + uVar14 * 4) + 0xc))(); + param_1 = *(float **)(*(int *)(iStack_60 + uVar14 * 4) + 0x388); + puVar10 = ¶m_1; if ((float)param_1 <= (float)param_3) { - pEVar8 = ¶m_3; + puVar10 = ¶m_3; } - uVar10 = uVar10 + 1; - param_3 = *pEVar8; - } while (uVar10 < uVar12); - EVar11 = local_2c; + uVar14 = uVar14 + 1; + param_3 = (Entity_Player *)*puVar10; + } while (uVar14 < uVar16); + pfVar15 = local_2c; } - iVar9 = Random(); - pMVar3 = g_manager; - param_1 = (EntityPtr)0xfc; - local_40 = (EntityPtr) - (((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 - * 0.2 + 1.1) * *(float *)EVar11); + iVar11 = Random(); + pMVar5 = g_manager; + param_1 = (float *)0xfc; + local_40 = (Entity_Player *) + (((float)((double)iVar11 + __uint_to_double_fixup[-(iVar11 >> 0x1f)]) * + 2.3283064e-10 * 0.2 + 1.1) * *pfVar15); seed_fart_sound_override(); - SoundEffects::Play(&pMVar3->_sfxManager,(int)param_1,1.0,1,0,(float)local_40,0.0); + SoundEffects::Play(&pMVar5->_sfxManager,(int)param_1,1.0,1,0,(float)local_40,0.0); if ((20.0 < (float)param_3) && (1.5 < (float)local_18)) { Game::ShakeScreen(g_game,(int)((float)local_18 * 5.0)); } @@ -945633,121 +947164,122 @@ LAB_00a09e89: local_8 = 0xffffffff; in_ECX = local_30; if (iStack_60 != 0) { - uVar10 = (int)pEStack_58 - iStack_60 & 0xfffffffc; - iVar9 = iStack_60; - if (0xfff < uVar10) { - iVar9 = *(int *)(iStack_60 + -4); - uVar10 = uVar10 + 0x23; - if (0x1f < (iStack_60 - iVar9) - 4U) { + uVar14 = (int)piStack_58 - iStack_60 & 0xfffffffc; + iVar11 = iStack_60; + if (0xfff < uVar14) { + iVar11 = *(int *)(iStack_60 + -4); + uVar14 = uVar14 + 0x23; + if (0x1f < (iStack_60 - iVar11) - 4U) { /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(iVar9,uVar10); + operator_delete(iVar11,uVar14); } } } LAB_00a0a43d: - if (in_ECX[5]._technology2Laser == (EntityPtr)0x0) { - in_ECX[1]._technology2Laser = (EntityPtr)0x0; + if (*(int *)&in_ECX[1].field_0xc == 0) { + *(undefined4 *)&in_ECX->field_0x14 = 0; ExceptionList = local_10; return; } - if ((param_2._0_1_ != '\0') || - ((float)in_ECX[1]._technology2Laser < *(float *)&in_ECX[1].field_0x4 * 4.0)) { - *(char *)((int)in_ECX[5]._technology2Laser + 0x466) = param_2._0_1_; - EVar11 = in_ECX[5]._technology2Laser; - if (*(char *)((int)EVar11 + 0x466) == '\0') { - in_ECX[1]._technology2Laser = (EntityPtr)0x0; + if (((char)param_2 != '\0') || + (*(float *)&in_ECX->field_0x14 < *(float *)&in_ECX->field_0x10 * 4.0)) { + *(char *)(*(int *)&in_ECX[1].field_0xc + 0x466) = (char)param_2; + iVar11 = *(int *)&in_ECX[1].field_0xc; + if (*(char *)(iVar11 + 0x466) == '\0') { + *(undefined4 *)&in_ECX->field_0x14 = 0; } else { - EVar16 = (EntityPtr)(*(float *)&in_ECX[1].field_0x4 * 4.0); - if (*(char *)((int)EVar11 + 0x465) == '\0') { - EVar17 = (EntityPtr)((float)local_1c + (float)in_ECX[1]._technology2Laser); - EVar13 = EVar16; - if ((float)EVar17 <= (float)EVar16) { - EVar13 = EVar17; + fVar18 = *(float *)&in_ECX->field_0x10 * 4.0; + if (*(char *)(iVar11 + 0x465) == '\0') { + fVar21 = local_1c + *(float *)&in_ECX->field_0x14; + fVar19 = fVar18; + if (fVar21 <= fVar18) { + fVar19 = fVar21; } - in_ECX[1]._technology2Laser = EVar13; - *(bool *)((int)EVar11 + 0x4e8) = (float)EVar16 <= (float)EVar13; + *(float *)&in_ECX->field_0x14 = fVar19; + *(bool *)(iVar11 + 0x4e8) = fVar18 <= fVar19; } else { - *(bool *)((int)EVar11 + 0x4e8) = (float)EVar16 <= (float)in_ECX[1]._technology2Laser; + *(bool *)(iVar11 + 0x4e8) = fVar18 <= *(float *)&in_ECX->field_0x14; } } } else { Weapon::GetMultiShotParams(local_88,param_2); - Entity_Knife::SpinAttack - ((Entity_Knife *)in_ECX[5]._technology2Laser,(int)(short)local_88[0]._0_2_,0); - if ((local_11 != '\0') && (EVar11 = in_ECX[5]._technology2Laser, EVar11 != (EntityPtr)0x0)) { - if (local_20 == (EntityPtr)0x0) { - fVar14 = 260.0; + Entity_Knife::SpinAttack(*(Entity_Knife **)&in_ECX[1].field_0xc,(int)(short)local_88[0],0); + if ((local_11 != '\0') && + (pEVar3 = *(Entity_Knife **)&in_ECX[1].field_0xc, pEVar3 != (Entity_Knife *)0x0)) { + if (local_20 == (Entity_Player *)0x0) { + fVar18 = 260.0; } else { - fVar14 = *(float *)((int)local_20 + 0x1480); + fVar18 = local_20->_tearrange; } - local_64 = (undefined4)((BitSet128 *)((int)EVar11 + 0x410))->_l; - iStack_60 = *(int *)((int)EVar11 + 0x414); - pEStack_5c = *(EntityPtr **)((int)EVar11 + 0x418); - pEStack_58 = *(EntityPtr **)((int)EVar11 + 0x41c); - fVar14 = fVar14 * 0.6; - fVar15 = 300.0; + local_64 = (undefined4)(pEVar3->_tearFlags)._l; + iStack_60 = *(int *)((int)&(pEVar3->_tearFlags)._l + 4); + piStack_5c = *(int **)&(pEVar3->_tearFlags)._h; + piStack_58 = *(int **)((int)&(pEVar3->_tearFlags)._h + 4); + fVar18 = fVar18 * 0.6; + fVar19 = 300.0; BitSet128::operator_and(&DAT_00c34b60); - cVar6 = BitSet128::IsNonZero(); - if (cVar6 != '\0') { - fVar15 = 100000.0; + cVar8 = BitSet128::IsNonZero(); + if (cVar8 != '\0') { + fVar19 = 100000.0; } - if (fVar15 <= fVar14) { - fVar14 = fVar15; + if (fVar19 <= fVar18) { + fVar18 = fVar19; } - Entity_Knife::Shoot((Entity_Knife *)EVar11,0x3f800000,fVar14); + Entity_Knife::Shoot(pEVar3,0x3f800000,fVar18); } - in_ECX[1]._technology2Laser = (EntityPtr)0x0; + *(undefined4 *)&in_ECX->field_0x14 = 0; Weapon::TriggerTearEffects(&local_54,6); } - _Str1 = *(byte **)((int)in_ECX[5]._technology2Laser + 0x7c); + _Str1 = *(byte **)(*(int *)&in_ECX[1].field_0xc + 0x7c); if (_Str1 == (byte *)0x0) { _Str1 = &s_empty; } else if (0xf < *(uint *)(_Str1 + 0x14)) { _Str1 = *(byte **)_Str1; } - iVar9 = strncmp((char *)_Str1,"Spin",4); - if (iVar9 == 0) { - Entity::GetNullOffset((Entity *)in_ECX[5]._technology2Laser,&local_44,&DAT_00b1d3b0); - EVar11 = local_40; + iVar11 = strncmp((char *)_Str1,"Spin",4); + if (iVar11 == 0) { + Entity::GetNullOffset(*(Entity **)&in_ECX[1].field_0xc,&local_44,&DAT_00b1d3b0); + pEVar13 = local_40; if (ABS((float)local_40) < ABS(local_44)) { - cVar6 = '\x02'; + cVar8 = '\x02'; if (local_44 < 0.0) { - cVar6 = '\0'; + cVar8 = '\0'; } goto LAB_00a0a674; } } else { - EVar16 = (EntityPtr)(*(float *)((int)in_ECX[5]._technology2Laser + 0x438) * 0.017453292); - param_2 = EVar16; + pEVar17 = (Entity_Player *)((float)(*(Entity **)&in_ECX[1].field_0xc)[1]._variant * 0.017453292) + ; + param_2 = pEVar17; cos(); - EVar11 = param_2; - param_3 = EVar16; + pEVar13 = param_2; + param_3 = pEVar17; sin(); - if (ABS((float)EVar11) < ABS((float)param_3)) { - cVar6 = '\x02'; + if (ABS((float)pEVar13) < ABS((float)param_3)) { + cVar8 = '\x02'; if ((float)param_3 < 0.0) { - cVar6 = '\0'; + cVar8 = '\0'; } goto LAB_00a0a674; } } - cVar6 = (0.0 <= (float)EVar11) * '\x02' + '\x01'; + cVar8 = (0.0 <= (float)pEVar13) * '\x02' + '\x01'; LAB_00a0a674: - Weapon::set_head_direction(cVar6); + Weapon::set_head_direction(cVar8); Weapon::SetHeadLockTime(in_ECX,1); - EVar11 = in_ECX[5]._technology2Laser; - if (((*(char *)((int)EVar11 + 0x464) == '\0') && (*(char *)((int)EVar11 + 0x465) == '\0')) && - (*(char *)((int)EVar11 + 0x466) == '\0')) { - (**(code **)(*(int *)EVar11 + 0x28))(); + piVar23 = *(int **)&in_ECX[1].field_0xc; + if ((((char)piVar23[0x119] == '\0') && (*(char *)((int)piVar23 + 0x465) == '\0')) && + (*(char *)((int)piVar23 + 0x466) == '\0')) { + (**(code **)(*piVar23 + 0x28))(); ExceptionList = local_10; return; } @@ -945789,45 +947321,50 @@ float10 Weapon_SpiritSword::GetMaxCharge(void) /* DB: Weapon_Tears vftable slot 3 (Fire); gfuel promo casing/muzzle_flash anm2, GetMultiShotParams, TriggerTearEffects */ -void Weapon_Tears::Fire(EntityPtr *param_1,undefined4 param_2,undefined4 param_3) +void Weapon_Tears::Fire(undefined4 *param_1,undefined4 param_2,undefined4 param_3) { - uint uVar1; - Manager *pMVar2; - byte bVar3; - char cVar4; - ushort uVar5; - short sVar6; - uint uVar7; - int iVar8; - float *pfVar9; - EntityPtr EVar10; + undefined1 *puVar1; + uint uVar2; + Manager *pMVar3; + byte bVar4; + char cVar5; + ushort uVar6; + short sVar7; + uint uVar8; + int iVar9; + float *pfVar10; int *piVar11; - EntityPtr *pEVar12; - LayerState *pLVar13; + Entity_Laser **ppEVar12; + int iVar13; + LayerState *pLVar14; + undefined1 **ppuVar15; Weapon *in_ECX; - EntityPtr EVar14; - EntityPtr *pEVar15; - int iVar16; + Entity_Laser *pEVar16; + Entity_Laser **ppEVar17; + void *pvVar18; Entity_Player *this; uint extraout_EDX; - uint uVar17; - Entity_Player *pEVar18; - bool bVar19; - bool bVar20; - float10 fVar21; - float fVar22; - float fVar23; - float fVar24; - undefined1 auVar25 [16]; - longlong lVar26; - undefined4 uVar27; - undefined4 uVar28; + uint uVar19; + void *pvVar20; + Entity_Player *pEVar21; + ColorMod *pCVar22; + bool bVar23; + bool bVar24; + float10 fVar25; + float fVar26; + Entity_Laser *pEVar27; + float fVar28; + float fVar29; + undefined1 auVar30 [16]; + longlong lVar31; + undefined4 uVar32; + undefined4 uVar33; undefined1 local_1d8 [2]; char acStack_1d6 [6]; undefined1 local_1d0 [8]; - EntityPtr local_1c8; - EntityPtr local_1c4; + Entity_Laser *local_1c8; + Entity_Laser *local_1c4; float local_1c0; float local_1bc; int local_1b8; @@ -945835,68 +947372,68 @@ void Weapon_Tears::Fire(EntityPtr *param_1,undefined4 param_2,undefined4 param_3 float local_1b0; float local_1ac; float local_1a8; - EntityPtr local_1a4; - EntityPtr local_1a0; + undefined1 *local_1a4; + Entity_Laser *local_1a0; float local_19c; - EntityPtr local_198; - EntityPtr local_194; - EntityPtr local_190; - EntityPtr local_18c; - EntityPtr local_188; - EntityPtr local_184; - EntityPtr local_180; - EntityPtr local_17c; - EntityPtr local_178; - EntityPtr local_174; - EntityPtr local_170; + Entity_Laser *local_198; + Entity_Laser *local_194; + Entity_Laser *local_190; + Entity_Laser *local_18c; + Entity_Laser *local_188; + Entity_Laser *local_184; + Entity_Laser *local_180; + Entity_Laser *local_17c; + undefined1 *local_178; + Entity_Laser *local_174; + Entity_Laser *local_170; float local_16c; float local_168; float local_164; float local_160; float local_15c; float local_158; - EntityPtr local_154; - EntityPtr local_150; - EntityPtr local_14c; - EntityPtr local_148; - EntityPtr local_144; - EntityPtr local_140; + Entity_Laser *local_154; + Entity_Laser *local_150; + undefined1 *local_14c; + undefined1 *local_148; + undefined1 *local_144; + undefined1 *local_140; int local_13c; - EntityPtr local_138; + float local_138; uint local_134; uint local_130; - EntityPtr local_12c; + Entity_Laser *local_12c; uint local_128; uint local_124; - EntityPtr local_120; - EntityPtr local_11c; - EntityPtr local_118; - EntityPtr local_114; - EntityPtr local_110; - EntityPtr local_10c; + Entity_Laser *local_120; + Entity_Laser *local_11c; + undefined1 *local_118; + undefined1 *local_114; + Entity_Laser *local_110; + Entity_Laser *local_10c; float local_108; byte local_104; char local_103; float local_100; float local_fc; - EntityPtr local_f8; - EntityPtr local_f4; - EntityPtr local_ec; + undefined1 *local_f8; + undefined1 *local_f4; + Entity_Laser *local_ec; Entity_Player *local_e8; - EntityPtr local_e4; + Entity_Laser *local_e4; float local_e0; - EntityPtr local_dc; - EntityPtr local_d8; + undefined1 *local_dc; + undefined1 *local_d8; Entity_Player *local_d4; - EntityPtr local_d0; - EntityPtr local_cc; - EntityPtr local_c8; - EntityPtr local_c4; - EntityPtr local_c0; + Entity_Laser *local_d0; + Entity_Laser *local_cc; + Entity_Laser *local_c8; + Entity_Laser *local_c4; + Entity_Laser *local_c0; float local_bc; - EntityPtr local_b8; + Entity_Laser *local_b8; byte local_b1; - EntityPtr local_b0; + Entity_Laser *local_b0; byte local_a9; undefined1 local_a8 [8]; float local_a0; @@ -945913,7 +947450,7 @@ void Weapon_Tears::Fire(EntityPtr *param_1,undefined4 param_2,undefined4 param_3 float local_5c; float local_40; float fStack_3c; - EntityPtr EStack_38; + Entity_Laser *pEStack_38; float fStack_34; float fStack_30; float fStack_2c; @@ -945929,39 +947466,39 @@ void Weapon_Tears::Fire(EntityPtr *param_1,undefined4 param_2,undefined4 param_3 local_8 = 0xffffffff; puStack_c = &LAB_00b10905; local_10 = ExceptionList; - uVar7 = __security_cookie ^ (uint)(acStack_20 + 0x1c); + uVar8 = __security_cookie ^ (uint)(acStack_20 + 0x1c); ExceptionList = &local_10; - local_14 = uVar7; + local_14 = uVar8; Weapon::Fire(param_1,param_2,param_3); - pEVar18 = *(Entity_Player **)&in_ECX->field_0x4; + pEVar21 = in_ECX->_owner; local_108 = 1.0; - if (pEVar18 == (Entity_Player *)0x0) { + if (pEVar21 == (Entity_Player *)0x0) { LAB_00a0a7cb: this = (Entity_Player *)0x0; - local_d4 = pEVar18; - if (pEVar18 == (Entity_Player *)0x0) { + local_d4 = pEVar21; + if (pEVar21 == (Entity_Player *)0x0) { LAB_00a0a79b: local_e8 = this; } else { local_e8 = (Entity_Player *)0x0; - if (pEVar18->_type == 1) { - local_108 = pEVar18->_shotspeed; + if (pEVar21->_type == 1) { + local_108 = pEVar21->_shotspeed; goto LAB_00a0a830; } } this = local_e8; - if (pEVar18 != (Entity_Player *)0x0) { + if (pEVar21 != (Entity_Player *)0x0) { local_d4 = (Entity_Player *)0x0; - if (pEVar18->_type == 1) { - local_108 = pEVar18->_shotspeed; + if (pEVar21->_type == 1) { + local_108 = pEVar21->_shotspeed; goto LAB_00a0a830; } local_e8 = this; - if (pEVar18->_type == 3) { + if (pEVar21->_type == 3) { local_d4 = (Entity_Player *)0x0; - if (*(int *)&pEVar18->_isControlsEnabled != 0) { - local_108 = *(float *)(*(int *)&pEVar18->_isControlsEnabled + 0x1464); + if (*(int *)&pEVar21->_isControlsEnabled != 0) { + local_108 = *(float *)(*(int *)&pEVar21->_isControlsEnabled + 0x1464); goto LAB_00a0a830; } } @@ -945969,188 +947506,190 @@ LAB_00a0a79b: local_d4 = (Entity_Player *)0x0; } else { - if (pEVar18->_type != 1) { - if (pEVar18->_type != 3) goto LAB_00a0a7cb; - this = *(Entity_Player **)&pEVar18->_isControlsEnabled; + if (pEVar21->_type != 1) { + if (pEVar21->_type != 3) goto LAB_00a0a7cb; + this = *(Entity_Player **)&pEVar21->_isControlsEnabled; goto LAB_00a0a79b; } - local_108 = pEVar18->_shotspeed; - local_e8 = pEVar18; - local_d4 = pEVar18; - this = pEVar18; + local_108 = pEVar21->_shotspeed; + local_e8 = pEVar21; + local_d4 = pEVar21; + this = pEVar21; } LAB_00a0a830: - local_b1 = in_ECX[4].field_0x4 & 1; - local_130 = *(uint *)&in_ECX[4].field_0x4 >> 1 & 0xffffff01; + local_b1 = (byte)in_ECX->_modifiers & 1; + local_130 = (uint)in_ECX->_modifiers >> 1 & 0xffffff01; if ((local_b1 != 0) || (local_a9 = local_b1, (char)local_130 != '\0')) { local_a9 = 1; } - uVar17 = 0; + uVar19 = 0; if (this == (Entity_Player *)0x0) { LAB_00a0a886: local_103 = '\0'; } else { - bVar3 = Entity_Player::HasCollectible(this,0x18a,0); + bVar4 = Entity_Player::HasCollectible(this,0x18a,0); local_103 = '\x01'; - uVar17 = extraout_EDX; - if (bVar3 == 0) goto LAB_00a0a886; + uVar19 = extraout_EDX; + if (bVar4 == 0) goto LAB_00a0a886; } - uVar1 = *(uint *)&in_ECX[4].field_0x4; - if (((uVar1 >> 7 & 1) != 0) || (*(float *)&in_ECX[1].field_0x4 <= 0.0)) { + uVar2 = in_ECX->_modifiers; + if (((uVar2 >> 7 & 1) != 0) || (*(float *)&in_ECX->field_0x10 <= 0.0)) { local_e0 = 1.4013e-45; } else { - local_e0 = (float)(uVar17 & 0xffffff00); + local_e0 = (float)(uVar19 & 0xffffff00); } - local_134 = uVar1 >> 8 & 0xffff01; + local_134 = uVar2 >> 8 & 0xffff01; local_128 = 0; - if ((uVar1 & 0x100) == 0) { + if ((uVar2 & 0x100) == 0) { local_128 = (uint)local_a9; } if (local_d4 != (Entity_Player *)0x0) { - iVar8 = Entity_Player::get_seeded_variant(uVar7); + iVar9 = Entity_Player::get_seeded_variant(uVar8); local_e0 = (float)((uint)local_e0 & 0xff); - if (iVar8 != -1) { + if (iVar9 != -1) { local_e0 = 1.4013e-45; } } - cVar4 = SUB41(local_e0,0); - iVar8 = *(int *)&in_ECX->field_0x4; - if (((iVar8 == 0) || (*(int *)(iVar8 + 0x28) != 1)) || (*(int *)(iVar8 + 0x18f8) < 1)) { + cVar5 = SUB41(local_e0,0); + pvVar20 = in_ECX->_owner; + if (((pvVar20 == (void *)0x0) || (*(int *)((int)pvVar20 + 0x28) != 1)) || + (*(int *)((int)pvVar20 + 0x18f8) < 1)) { LAB_00a0a981: local_a9 = (char)param_2; - if (iVar8 != 0) goto LAB_00a0a98e; + if (pvVar20 != (void *)0x0) goto LAB_00a0a98e; LAB_00a0a9c8: - EVar14 = *(EntityPtr *)&in_ECX[3].field_0x4; - EVar10 = in_ECX[3]._technology2Laser; + pEVar16 = *(Entity_Laser **)&in_ECX->field_0x28; + pEVar27 = *(Entity_Laser **)&in_ECX->field_0x2c; } else { if (local_b1 == 0) { LAB_00a0a969: - if (((char)local_130 == '\0') || ((int)in_ECX[5]._technology2Laser < 1)) goto LAB_00a0a981; + if (((char)local_130 == '\0') || (*(int *)&in_ECX[1].field_0xc < 1)) goto LAB_00a0a981; } else { - local_e4 = (EntityPtr)(*(float *)&in_ECX[1].field_0x4 * 2.5); - local_b0 = (EntityPtr)0x40a00000; - pEVar15 = &local_e4; + local_e4 = (Entity_Laser *)(*(float *)&in_ECX->field_0x10 * 2.5); + local_b0 = (Entity_Laser *)0x40a00000; + ppEVar17 = &local_e4; if (5.0 <= (float)local_e4) { - pEVar15 = &local_b0; + ppEVar17 = &local_b0; } - if ((float)in_ECX[1]._technology2Laser < (float)*pEVar15) goto LAB_00a0a969; + if (*(float *)&in_ECX->field_0x14 < (float)*ppEVar17) goto LAB_00a0a969; } local_a9 = '\0'; LAB_00a0a98e: - if ((((*(int *)(iVar8 + 0x28) != 1) && - ((*(int *)(iVar8 + 0x28) != 3 || (iVar8 = *(int *)(iVar8 + 0x410), iVar8 == 0)))) || - (iVar8 = *(int *)(iVar8 + 0x140c), iVar8 == 0)) || (local_103 == '\0')) goto LAB_00a0a9c8; - EVar14 = *(EntityPtr *)(iVar8 + 0x33c); - EVar10 = *(EntityPtr *)(iVar8 + 0x340); + if ((((*(int *)((int)pvVar20 + 0x28) != 1) && + ((*(int *)((int)pvVar20 + 0x28) != 3 || + (pvVar20 = *(void **)((int)pvVar20 + 0x410), pvVar20 == (void *)0x0)))) || + (iVar9 = *(int *)((int)pvVar20 + 0x140c), iVar9 == 0)) || (local_103 == '\0')) + goto LAB_00a0a9c8; + pEVar16 = *(Entity_Laser **)(iVar9 + 0x33c); + pEVar27 = *(Entity_Laser **)(iVar9 + 0x340); } - local_120 = EVar14; - local_11c = EVar10; - if (((float)EVar14 == g_vectorZero.x) && ((float)EVar10 == g_vectorZero.y)) { - bVar19 = false; + local_120 = pEVar16; + local_11c = pEVar27; + if (((float)pEVar16 == g_vectorZero.x) && ((float)pEVar27 == g_vectorZero.y)) { + bVar23 = false; } else { - bVar19 = true; + bVar23 = true; } if (((char)param_3 == '\0') && (local_a9 != '\0')) { - if (bVar19) { - pfVar9 = (float *)Weapon::get_owner_position(&local_14c); - fVar22 = ((float)EVar10 - pfVar9[1]) * ((float)EVar10 - pfVar9[1]) + - ((float)EVar14 - *pfVar9) * ((float)EVar14 - *pfVar9); + if (bVar23) { + pfVar10 = (float *)Weapon::get_owner_position(&local_14c); + fVar26 = ((float)pEVar27 - pfVar10[1]) * ((float)pEVar27 - pfVar10[1]) + + ((float)pEVar16 - *pfVar10) * ((float)pEVar16 - *pfVar10); sqrtf(); - fVar22 = (fVar22 - 50.0) / 250.0; - if (fVar22 <= 0.0) { - fVar22 = 0.0; + fVar26 = (fVar26 - 50.0) / 250.0; + if (fVar26 <= 0.0) { + fVar26 = 0.0; } - if (1.0 <= fVar22) { - fVar22 = 1.0; + if (1.0 <= fVar26) { + fVar26 = 1.0; } - if ((float)in_ECX[1]._technology2Laser <= 0.0) { - iVar8 = 1; + if (*(float *)&in_ECX->field_0x14 <= 0.0) { + iVar9 = 1; } else { - iVar8 = (int)(fVar22 * 4.0 + 1.0); + iVar9 = (int)(fVar26 * 4.0 + 1.0); } if (((local_b1 == 0) || - ((float)in_ECX[1]._technology2Laser <= - ((*(float *)&in_ECX[1].field_0x4 * 2.5 - 5.0) * fVar22 + 5.0) - 1.0)) && - (((char)local_130 == '\0' || ((int)in_ECX[5]._technology2Laser < iVar8)))) { - cVar4 = SUB41(local_e0,0); + (*(float *)&in_ECX->field_0x14 <= + ((*(float *)&in_ECX->field_0x10 * 2.5 - 5.0) * fVar26 + 5.0) - 1.0)) && + (((char)local_130 == '\0' || (*(int *)&in_ECX[1].field_0xc < iVar9)))) { + cVar5 = SUB41(local_e0,0); goto LAB_00a0aaec; } } else { LAB_00a0aaec: - if (((cVar4 == '\0') || ((char)local_128 == '\0')) || - (((pEVar15 = &in_ECX[1]._technology2Laser, local_b1 == 0 || - (EVar14 = *pEVar15, (float)EVar14 < *(float *)&in_ECX[1].field_0x4 * 2.5)) && + if (((cVar5 == '\0') || ((char)local_128 == '\0')) || + (((puVar1 = &in_ECX->field_0x14, local_b1 == 0 || + (fVar26 = *(float *)puVar1, fVar26 < *(float *)&in_ECX->field_0x10 * 2.5)) && (((char)local_130 == '\0' || - (((EVar14 = *pEVar15, (float)EVar14 <= 0.0 || ((int)in_ECX[5]._technology2Laser < 5)) && - ((0.0 < (float)EVar14 || ((int)in_ECX[5]._technology2Laser < 1)))))))))) - goto LAB_00a0ab67; - local_e4 = (EntityPtr)0x3727c5ac; - pEVar12 = &local_e4; - if (1e-05 <= (float)EVar14) { - pEVar12 = pEVar15; + (((fVar26 = *(float *)puVar1, fVar26 <= 0.0 || (*(int *)&in_ECX[1].field_0xc < 5)) && + ((0.0 < fVar26 || (*(int *)&in_ECX[1].field_0xc < 1)))))))))) goto LAB_00a0ab67; + local_e4 = (Entity_Laser *)0x3727c5ac; + ppEVar17 = &local_e4; + if (1e-05 <= fVar26) { + ppEVar17 = (Entity_Laser **)puVar1; } - EVar14 = *pEVar12; - *(EntityPtr *)(in_ECX + 6) = EVar14; - *pEVar15 = EVar14; + pEVar16 = *ppEVar17; + *(Entity_Laser **)&in_ECX[1].field_0x10 = pEVar16; + *(Entity_Laser **)puVar1 = pEVar16; } local_a9 = '\0'; } LAB_00a0ab67: - local_d8 = *param_1; - local_dc = param_1[1]; + local_d8 = (undefined1 *)*param_1; + local_dc = (undefined1 *)param_1[1]; if ((char)param_2 == '\0') { - local_d8 = in_ECX[2]._technology2Laser; - local_dc = *(EntityPtr *)(in_ECX + 3); + local_d8 = *(undefined1 **)&in_ECX->field_0x20; + local_dc = *(undefined1 **)&in_ECX->field_0x24; } local_f8 = local_d8; local_f4 = local_dc; - bVar3 = Weapon::IsAxisAligned(in_ECX); - if (bVar3 == 0) { - fVar22 = (float)local_dc * (float)local_dc + (float)local_d8 * (float)local_d8; + bVar4 = Weapon::IsAxisAligned(in_ECX); + if (bVar4 == 0) { + fVar26 = (float)local_dc * (float)local_dc + (float)local_d8 * (float)local_d8; sqrtf(); - if (fVar22 <= 0.0) goto LAB_00a0acb1; - local_f8 = (EntityPtr)((float)local_d8 * (1.0 / fVar22)); - local_dc = (EntityPtr)((float)local_dc * (1.0 / fVar22)); + if (fVar26 <= 0.0) goto LAB_00a0acb1; + local_f8 = (undefined1 *)((float)local_d8 * (1.0 / fVar26)); + local_dc = (undefined1 *)((float)local_dc * (1.0 / fVar26)); LAB_00a0ac91: } else { if (ABS((float)local_d8) <= ABS((float)local_dc)) { - local_f8 = (EntityPtr)0x0; + local_f8 = (undefined1 *)0x0; if (0.0 <= (float)local_dc) { - local_dc = (EntityPtr)0x3f800000; + local_dc = (undefined1 *)0x3f800000; } else { - local_dc = (EntityPtr)&DAT_bf800000; + local_dc = &DAT_bf800000; } goto LAB_00a0ac91; } - local_dc = (EntityPtr)0x0; + local_dc = (undefined1 *)0x0; if (0.0 <= (float)local_d8) { - local_f8 = (EntityPtr)0x3f800000; + local_f8 = (undefined1 *)0x3f800000; } else { - local_f8 = (EntityPtr)&DAT_bf800000; + local_f8 = &DAT_bf800000; } } local_f4 = local_dc; local_d8 = local_f8; LAB_00a0acb1: - pEVar18 = local_d4; + pEVar21 = local_d4; local_13c = 0; if (local_d4 != (Entity_Player *)0x0) { if (((((char)local_130 == '\0') && (local_d4->_playerType != 2)) && - (bVar3 = Entity_Player::HasCollectible(local_d4,0x1bc,0), bVar3 == 0)) && - ((bVar3 = Entity_Player::HasCollectible(pEVar18,0x2c4,0), bVar3 == 0 && - (pEVar18->_playerType != 0x17)))) { - bVar3 = Entity_Player::HasCollectible(pEVar18,0x98,0); - if (bVar3 != 0) { + (bVar4 = Entity_Player::HasCollectible(local_d4,0x1bc,0), bVar4 == 0)) && + ((bVar4 = Entity_Player::HasCollectible(pEVar21,0x2c4,0), bVar4 == 0 && + (pEVar21->_playerType != 0x17)))) { + bVar4 = Entity_Player::HasCollectible(pEVar21,0x98,0); + if (bVar4 != 0) { local_13c = -1; } } @@ -946158,100 +947697,100 @@ LAB_00a0acb1: local_13c = 1; } } - EVar14 = (EntityPtr)0x1; - local_110 = (EntityPtr)0x1; - if (((char)local_128 == '\0') && (pEVar18 != (Entity_Player *)0x0)) { - bVar3 = Entity_Player::HasCollectible(pEVar18,600,0); - EVar14 = (EntityPtr)0x1; - if (bVar3 != 0) { + pEVar16 = (Entity_Laser *)0x1; + local_110 = (Entity_Laser *)0x1; + if (((char)local_128 == '\0') && (pEVar21 != (Entity_Player *)0x0)) { + bVar4 = Entity_Player::HasCollectible(pEVar21,600,0); + pEVar16 = (Entity_Laser *)0x1; + if (bVar4 != 0) { if (local_13c == 0) { - EVar14 = (EntityPtr)0x2; + pEVar16 = (Entity_Laser *)0x2; } - local_110 = EVar14; + local_110 = pEVar16; } } local_1b8 = 0x4c; - local_e4 = (EntityPtr)0x0; - uVar7 = local_128; + local_e4 = (Entity_Laser *)0x0; + uVar8 = local_128; do { - EVar10 = *(EntityPtr *)&in_ECX[1].field_0x4; - iVar8 = 0xc; - if (local_e4 != (EntityPtr)0x0) { - iVar8 = local_1b8; + pEVar27 = *(Entity_Laser **)&in_ECX->field_0x10; + iVar9 = 0xc; + if (local_e4 != (Entity_Laser *)0x0) { + iVar9 = local_1b8; } - pfVar9 = (float *)(&in_ECX->field_0x0 + iVar8); - if (EVar14 == (EntityPtr)0x2) { - fVar22 = 30.0 / ((float)EVar10 + 1.0); - if (local_e4 == (EntityPtr)0x0) { - local_12c = (EntityPtr)(30.0 / (fVar22 * 0.5833333) - 1.0); + pfVar10 = (float *)(&in_ECX->field_0x0 + iVar9); + if (pEVar16 == (Entity_Laser *)0x2) { + fVar26 = 30.0 / ((float)pEVar27 + 1.0); + if (local_e4 == (Entity_Laser *)0x0) { + local_12c = (Entity_Laser *)(30.0 / (fVar26 * 0.5833333) - 1.0); } else { - local_12c = (EntityPtr)(30.0 / (fVar22 * 0.41666666) - 1.0); + local_12c = (Entity_Laser *)(30.0 / (fVar26 * 0.41666666) - 1.0); } } else { - local_12c = EVar10; + local_12c = pEVar27; } if ((char)local_134 != '\0') { - local_c8 = (EntityPtr)((float)EVar10 * 12.0); - local_b0 = in_ECX[1]._technology2Laser; + local_c8 = (Entity_Laser *)((float)pEVar27 * 12.0); + local_b0 = *(Entity_Laser **)&in_ECX->field_0x14; if ((float)local_c8 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Start and End parameters cannot be the same!"); } - fVar22 = ((float)local_b0 - 0.0) / ((float)local_c8 - 0.0); - if (fVar22 <= 0.0) { - fVar22 = 0.0; + fVar26 = ((float)local_b0 - 0.0) / ((float)local_c8 - 0.0); + if (fVar26 <= 0.0) { + fVar26 = 0.0; } - if (1.0 <= fVar22) { - fVar22 = 1.0; + if (1.0 <= fVar26) { + fVar26 = 1.0; } - fVar22 = fVar22 * 1.4495001 + 1.0; + fVar26 = fVar26 * 1.4495001 + 1.0; pow(); - fVar23 = (float)local_12c + 1.0; - local_12c = (EntityPtr)0x3e800000; - local_b0 = (EntityPtr)(fVar23 / fVar22); - pEVar15 = &local_b0; + fVar28 = (float)local_12c + 1.0; + local_12c = (Entity_Laser *)0x3e800000; + local_b0 = (Entity_Laser *)(fVar28 / fVar26); + ppEVar17 = &local_b0; if ((float)local_b0 <= 0.25) { - pEVar15 = &local_12c; + ppEVar17 = &local_12c; } - local_12c = (EntityPtr)((float)*pEVar15 - 1.0); - EVar14 = local_110; - uVar7 = local_128; + local_12c = (Entity_Laser *)((float)*ppEVar17 - 1.0); + pEVar16 = local_110; + uVar8 = local_128; } - EVar10 = (EntityPtr)0x0; + fVar26 = 0.0; local_e0 = 0.0; - if ((char)uVar7 == '\0') { + if ((char)uVar8 == '\0') { if (local_a9 != '\0') { if ((char)param_3 != '\0') { ExceptionList = local_10; return; } - local_e0 = -1.0 - *pfVar9; - if (*pfVar9 <= 0.0 && *pfVar9 != 0.0) { + local_e0 = -1.0 - *pfVar10; + if (*pfVar10 <= 0.0 && *pfVar10 != 0.0) { do { - if (7 < (uint)EVar10) break; - EVar10 = (EntityPtr)((int)EVar10 + 1); - fVar22 = (float)local_12c + 1.0 + *pfVar9; - *pfVar9 = fVar22; - } while (fVar22 < 0.0); + if (7 < (uint)fVar26) break; + fVar26 = (float)((int)fVar26 + 1); + fVar28 = (float)local_12c + 1.0 + *pfVar10; + *pfVar10 = fVar28; + } while (fVar28 < 0.0); } - *(undefined4 *)(in_ECX + 6) = 0; + *(undefined4 *)&in_ECX[1].field_0x10 = 0; } } else { if (local_a9 == '\0') { - if ((local_b1 == 0) || ((float)in_ECX[1]._technology2Laser <= 0.0)) { - if (((char)local_130 != '\0') && (0 < (int)in_ECX[5]._technology2Laser)) { - EVar10 = (EntityPtr)0x1; + if ((local_b1 == 0) || (*(float *)&in_ECX->field_0x14 <= 0.0)) { + if (((char)local_130 != '\0') && (0 < *(int *)&in_ECX[1].field_0xc)) { + fVar26 = 1.4013e-45; } } else { - EVar10 = (EntityPtr)0x1; + fVar26 = 1.4013e-45; } } if ((char)param_3 != '\0') { - if (EVar10 == (EntityPtr)0x0) { + if (fVar26 == 0.0) { ExceptionList = local_10; return; } @@ -946260,16 +947799,16 @@ LAB_00a0acb1: return; } } - if (EVar10 != (EntityPtr)0x0) { + if (fVar26 != 0.0) { do { - iVar8 = *(int *)&in_ECX->field_0x4; - local_138 = (EntityPtr)((int)EVar10 - 1); - if ((iVar8 == 0) || - ((*(int *)(iVar8 + 0x28) != 1 && - ((*(int *)(iVar8 + 0x28) != 3 || (*(int *)(iVar8 + 0x410) == 0)))))) { + pvVar20 = in_ECX->_owner; + local_138 = (float)((int)fVar26 - 1); + if ((pvVar20 == (void *)0x0) || + ((*(int *)((int)pvVar20 + 0x28) != 1 && + ((*(int *)((int)pvVar20 + 0x28) != 3 || (*(int *)((int)pvVar20 + 0x410) == 0)))))) { fStack_24 = 1.4013e-45; local_124 = 0; - EStack_38 = (EntityPtr)0x0; + pEStack_38 = (Entity_Laser *)0x0; fStack_34 = 0.0; fStack_30 = 0.0; fStack_2c = 0.0; @@ -946281,83 +947820,83 @@ LAB_00a0acb1: acStack_20[4] = 0; acStack_20[5] = '\0'; acStack_20[6] = '\0'; - local_b0 = (EntityPtr)0x0; + local_b0 = (Entity_Laser *)0x0; local_18 = (float)((uint)local_18 & 0xffff0000); } else { - Entity_Player::GetMultiShotParams(&EStack_38,*(undefined4 *)(in_ECX + 4)); - iVar8 = *(int *)&in_ECX->field_0x4; - local_b0 = (EntityPtr)((uint)local_18 & 0xffff); - local_124 = (uint)EStack_38 & 0xffff; + Entity_Player::GetMultiShotParams(&pEStack_38,*(undefined4 *)&in_ECX->field_0x30); + pvVar20 = in_ECX->_owner; + local_b0 = (Entity_Laser *)((uint)local_18 & 0xffff); + local_124 = (uint)pEStack_38 & 0xffff; } local_144 = local_d8; - local_c8 = (EntityPtr)0x0; + local_c8 = (Entity_Laser *)0x0; local_140 = local_dc; if (local_b1 == 0) { - EVar14 = (EntityPtr)(7 - (int)(*(float *)&in_ECX[1].field_0x4 * -0.45)); - local_c4 = (EntityPtr)0xb; - if (0xb < (int)EVar14) { - local_c4 = EVar14; + pEVar16 = (Entity_Laser *)(7 - (int)(*(float *)&in_ECX->field_0x10 * -0.45)); + local_c4 = (Entity_Laser *)&DAT_0000000b; + if (0xb < (int)pEVar16) { + local_c4 = pEVar16; } - if ((iVar8 == 0) || (*(int *)(iVar8 + 0x28) != 1)) { - iVar16 = 0; - if ((iVar8 == 0) || (*(int *)(iVar8 + 0x28) != 3)) goto LAB_00a0b0e8; + if ((pvVar20 == (void *)0x0) || (*(int *)((int)pvVar20 + 0x28) != 1)) { + pvVar18 = (void *)0x0; + if ((pvVar20 == (void *)0x0) || (*(int *)((int)pvVar20 + 0x28) != 3)) goto LAB_00a0b0e8; } else { - iVar16 = iVar8; + pvVar18 = pvVar20; LAB_00a0b0e8: - iVar8 = 0; + pvVar20 = (void *)0x0; } - if (iVar16 != 0) { - pEVar15 = (EntityPtr *)(iVar16 + 0x1338); + if (pvVar18 != (void *)0x0) { + ppEVar17 = (Entity_Laser **)((int)pvVar18 + 0x1338); LAB_00a0b100: - bVar20 = SBORROW4((int)*pEVar15,(int)local_c4); - bVar19 = (int)*pEVar15 - (int)local_c4 < 0; + bVar24 = SBORROW4((int)*ppEVar17,(int)local_c4); + bVar23 = (int)*ppEVar17 - (int)local_c4 < 0; goto LAB_00a0b102; } - if (iVar8 != 0) { - pEVar15 = (EntityPtr *)(iVar8 + 0xd50); + if (pvVar20 != (void *)0x0) { + ppEVar17 = (Entity_Laser **)((int)pvVar20 + 0xd50); goto LAB_00a0b100; } } else { - local_c4 = (EntityPtr)0xc; - if ((iVar8 == 0) || (*(int *)(iVar8 + 0x28) != 1)) { - iVar16 = 0; - if ((iVar8 == 0) || (*(int *)(iVar8 + 0x28) != 3)) goto LAB_00a0b082; + local_c4 = (Entity_Laser *)0xc; + if ((pvVar20 == (void *)0x0) || (*(int *)((int)pvVar20 + 0x28) != 1)) { + pvVar18 = (void *)0x0; + if ((pvVar20 == (void *)0x0) || (*(int *)((int)pvVar20 + 0x28) != 3)) goto LAB_00a0b082; } else { - iVar16 = iVar8; + pvVar18 = pvVar20; LAB_00a0b082: - iVar8 = 0; + pvVar20 = (void *)0x0; } - if (iVar16 == 0) { - if (iVar8 == 0) goto LAB_00a0b10f; - bVar20 = SBORROW4(*(int *)(iVar8 + 0xd50),0xc); - bVar19 = *(int *)(iVar8 + 0xd50) + -0xc < 0; - pEVar15 = (EntityPtr *)(iVar8 + 0xd50); + if (pvVar18 == (void *)0x0) { + if (pvVar20 == (void *)0x0) goto LAB_00a0b10f; + bVar24 = SBORROW4(*(int *)((int)pvVar20 + 0xd50),0xc); + bVar23 = *(int *)((int)pvVar20 + 0xd50) + -0xc < 0; + ppEVar17 = (Entity_Laser **)((int)pvVar20 + 0xd50); } else { - pEVar15 = (EntityPtr *)(iVar16 + 0x1338); - bVar20 = SBORROW4((int)*pEVar15,0xc); - bVar19 = (int)*pEVar15 + -0xc < 0; + ppEVar17 = (Entity_Laser **)((int)pvVar18 + 0x1338); + bVar24 = SBORROW4((int)*ppEVar17,0xc); + bVar23 = (int)&(*ppEVar17)[-1]._subLaserDistance < 0; } LAB_00a0b102: - pEVar12 = &local_c4; - if (bVar20 == bVar19) { - pEVar12 = pEVar15; + ppEVar12 = &local_c4; + if (bVar24 == bVar23) { + ppEVar12 = ppEVar17; } - *pEVar15 = *pEVar12; + *ppEVar17 = *ppEVar12; } LAB_00a0b10f: if ((char)local_134 != '\0') { - fVar22 = (((float)in_ECX[1]._technology2Laser + 1.0) / - (*(float *)&in_ECX[1].field_0x4 * 12.0 + 1.0)) * 18.0; - if (fVar22 == 0.0) { + fVar26 = ((*(float *)&in_ECX->field_0x14 + 1.0) / + (*(float *)&in_ECX->field_0x10 * 12.0 + 1.0)) * 18.0; + if (fVar26 == 0.0) { Weapon::stop_costume_item_anim(0x255); } else { - Weapon::UpdateHeadChargeAnimation(0x255,2,&local_f8,fVar22); + Weapon::UpdateHeadChargeAnimation(0x255,2,&local_f8,fVar26); local_dc = local_f4; local_d8 = local_f8; } @@ -946365,605 +947904,611 @@ LAB_00a0b10f: Weapon::TriggerTearEffects(&local_144,1); if (local_d4 != (Entity_Player *)0x0) { if (local_13c == 0) { - if ((uint)local_110 < 2) { - cVar4 = FUN_009f57f0(); - iVar8 = *(int *)&in_ECX->field_0x4; - cVar4 = -cVar4; - if ((iVar8 != 0) && (*(int *)(iVar8 + 0x28) == 1)) goto LAB_00a0b20c; + if (local_110 < (Entity_Laser *)0x2) { + cVar5 = FUN_009f57f0(); + pvVar20 = in_ECX->_owner; + cVar5 = -cVar5; + if ((pvVar20 != (void *)0x0) && (*(int *)((int)pvVar20 + 0x28) == 1)) + goto LAB_00a0b20c; } else { - iVar8 = *(int *)&in_ECX->field_0x4; - if ((iVar8 != 0) && (*(int *)(iVar8 + 0x28) == 1)) { - cVar4 = (local_e4 != (EntityPtr)0x0) * '\x02' + -1; + pvVar20 = in_ECX->_owner; + if ((pvVar20 != (void *)0x0) && (*(int *)((int)pvVar20 + 0x28) == 1)) { + cVar5 = (local_e4 != (Entity_Laser *)0x0) * '\x02' + -1; LAB_00a0b20c: - *(char *)(iVar8 + 0x1578) = cVar4; + *(char *)((int)pvVar20 + 0x1578) = cVar5; } } } else { - iVar8 = *(int *)&in_ECX->field_0x4; - if ((iVar8 != 0) && (*(int *)(iVar8 + 0x28) == 1)) { - *(char *)(iVar8 + 0x1578) = (char)local_13c; + pvVar20 = in_ECX->_owner; + if ((pvVar20 != (void *)0x0) && (*(int *)((int)pvVar20 + 0x28) == 1)) { + *(char *)((int)pvVar20 + 0x1578) = (char)local_13c; } } - uVar5 = FUN_009f57f0(); - local_c8._2_2_ = 0; - local_c8._0_2_ = uVar5; - cVar4 = FUN_009f5aa0(); - if (cVar4 != '\0') { - EVar10 = (EntityPtr)((float)(int)(short)uVar5 * 45.0 * 0.017453292); - local_c4 = EVar10; + uVar6 = FUN_009f57f0(); + local_c8 = (Entity_Laser *)(uint)uVar6; + cVar5 = FUN_009f5aa0(); + if (cVar5 != '\0') { + pEVar27 = (Entity_Laser *)((float)(int)(short)uVar6 * 45.0 * 0.017453292); + local_c4 = pEVar27; cos(); - EVar14 = local_c4; - local_b8 = EVar10; + pEVar16 = local_c4; + local_b8 = pEVar27; sin(); - fVar22 = (float)EVar14 * (float)local_144; - local_144 = (EntityPtr) - ((float)local_b8 * (float)local_144 - (float)EVar14 * (float)local_140); - local_140 = (EntityPtr)((float)local_b8 * (float)local_140 + fVar22); + fVar26 = (float)pEVar16 * (float)local_144; + local_144 = (undefined1 *) + ((float)local_b8 * (float)local_144 - (float)pEVar16 * (float)local_140); + local_140 = (undefined1 *)((float)local_b8 * (float)local_140 + fVar26); } - pEVar18 = local_e8; + pEVar21 = local_e8; if ((((local_b1 != 0) || ((char)local_134 != '\0')) || (1 < (short)local_124)) || - ((bVar3 = Entity_Player::HasCollectible(local_e8,0xa9,0), bVar3 != 0 || - (bVar3 = Entity_Player::HasCollectible(pEVar18,0x95,0), bVar3 != 0)))) { - local_c8 = (EntityPtr)0x0; + ((bVar4 = Entity_Player::HasCollectible(local_e8,0xa9,0), bVar4 != 0 || + (bVar4 = Entity_Player::HasCollectible(pEVar21,0x95,0), bVar4 != 0)))) { + local_c8 = (Entity_Laser *)0x0; } - bVar3 = Entity_Player::HasCollectible(pEVar18,6,0); - if (bVar3 == 0) { - if ((pEVar18->_temporaryeffects)._disabled == 0) { - for (piVar11 = (pEVar18->_temporaryeffects)._effects._begin; - piVar11 != (pEVar18->_temporaryeffects)._effects._end; piVar11 = piVar11 + 4) { - iVar8 = *(int *)*piVar11; - if ((((iVar8 == 1) || (iVar8 == 3)) || (iVar8 == 4)) && (((int *)*piVar11)[1] == 6)) + bVar4 = Entity_Player::HasCollectible(pEVar21,6,0); + if (bVar4 == 0) { + if ((pEVar21->_temporaryeffects)._disabled == 0) { + for (piVar11 = (pEVar21->_temporaryeffects)._effects._begin; + piVar11 != (pEVar21->_temporaryeffects)._effects._end; piVar11 = piVar11 + 4) { + iVar9 = *(int *)*piVar11; + if ((((iVar9 == 1) || (iVar9 == 3)) || (iVar9 == 4)) && (((int *)*piVar11)[1] == 6)) goto LAB_00a0b368; } - pEVar18 = local_e8; + pEVar21 = local_e8; } - bVar3 = Entity_Player::HasCollectible(pEVar18,0x1b8,0); - if (bVar3 == 0) goto LAB_00a0b3c1; + bVar4 = Entity_Player::HasCollectible(pEVar21,0x1b8,0); + if (bVar4 == 0) goto LAB_00a0b3c1; } LAB_00a0b368: - iVar8 = *(int *)&in_ECX->field_0x4; - local_c8 = (EntityPtr)0x0; - local_c4 = (EntityPtr)0x10; - if ((((iVar8 == 0) || (iVar16 = iVar8, *(int *)(iVar8 + 0x28) != 1)) && - (iVar16 = 0, iVar8 != 0)) && (*(int *)(iVar8 + 0x28) == 3)) { - pEVar15 = (EntityPtr *)(iVar8 + 0xd50); + pvVar20 = in_ECX->_owner; + local_c8 = (Entity_Laser *)0x0; + local_c4 = (Entity_Laser *)0x10; + if ((((pvVar20 == (void *)0x0) || (pvVar18 = pvVar20, *(int *)((int)pvVar20 + 0x28) != 1)) + && (pvVar18 = (void *)0x0, pvVar20 != (void *)0x0)) && + (*(int *)((int)pvVar20 + 0x28) == 3)) { + ppEVar17 = (Entity_Laser **)((int)pvVar20 + 0xd50); } else { - if (iVar16 == 0) goto LAB_00a0b3c1; - pEVar15 = (EntityPtr *)(iVar16 + 0x1338); + if (pvVar18 == (void *)0x0) goto LAB_00a0b3c1; + ppEVar17 = (Entity_Laser **)((int)pvVar18 + 0x1338); } - pEVar12 = &local_c4; - if (0xf < (int)*pEVar15) { - pEVar12 = pEVar15; + ppEVar12 = &local_c4; + if (0xf < (int)*ppEVar17) { + ppEVar12 = ppEVar17; } - *pEVar15 = *pEVar12; + *ppEVar17 = *ppEVar12; } LAB_00a0b3c1: - pEVar18 = local_d4; - iVar8 = *(int *)&in_ECX->field_0x4; - if (iVar8 == 0) { + pEVar21 = local_d4; + pvVar20 = in_ECX->_owner; + if (pvVar20 == (void *)0x0) { local_100 = g_vectorZero.x; local_fc = g_vectorZero.y; } else { - local_100 = *(float *)(iVar8 + 0x33c); - local_fc = *(float *)(iVar8 + 0x340); + local_100 = *(float *)((int)pvVar20 + 0x33c); + local_fc = *(float *)((int)pvVar20 + 0x340); } - local_d0 = (EntityPtr)((float)local_144 * 10.0); - local_b8 = (EntityPtr)((float)local_140 * 10.0); - uVar27 = 0xa0b447; - pfVar9 = (float *)Weapon::get_tear_movement_inheritance(local_1d8,&local_144); - local_154 = (EntityPtr)((float)local_d0 + *pfVar9); + local_d0 = (Entity_Laser *)((float)local_144 * 10.0); + local_b8 = (Entity_Laser *)((float)local_140 * 10.0); + uVar32 = 0xa0b447; + pfVar10 = (float *)Weapon::get_tear_movement_inheritance(local_1d8,&local_144); + local_154 = (Entity_Laser *)((float)local_d0 + *pfVar10); local_d0 = local_154; - local_150 = (EntityPtr)((float)local_b8 + pfVar9[1]); + local_150 = (Entity_Laser *)((float)local_b8 + pfVar10[1]); local_b8 = local_150; if (local_e8 != (Entity_Player *)0x0) { - uVar27 = 0xa0b498; - bVar3 = Entity_Player::HasCollectible(local_e8,0x95,0); - if (bVar3 != 0) { - iVar8 = Random(); - fVar22 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * + uVar32 = 0xa0b498; + bVar4 = Entity_Player::HasCollectible(local_e8,0x95,0); + if (bVar4 != 0) { + iVar9 = Random(); + fVar26 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 0.2 + 0.9; - local_150 = (EntityPtr)(fVar22 * (float)local_b8); - local_154 = (EntityPtr)(fVar22 * (float)local_d0); + local_150 = (Entity_Laser *)(fVar26 * (float)local_b8); + local_154 = (Entity_Laser *)(fVar26 * (float)local_d0); local_b8 = local_150; local_d0 = local_154; } } - local_c4 = (EntityPtr)0x3f800000; + local_c4 = (Entity_Laser *)0x3f800000; if (local_b1 != 0) { - fVar22 = *(float *)&in_ECX[1].field_0x4 + 1.0; + fVar26 = *(float *)&in_ECX->field_0x10 + 1.0; if ((char)local_134 == '\0') { - EVar14 = *(EntityPtr *)(in_ECX + 6); - fVar22 = fVar22 * 2.5; + fVar28 = *(float *)&in_ECX[1].field_0x10; + fVar26 = fVar26 * 2.5; } else { - EVar14 = in_ECX[1]._technology2Laser; - fVar22 = fVar22 * 12.0; + fVar28 = *(float *)&in_ECX->field_0x14; + fVar26 = fVar26 * 12.0; } - local_c4 = (EntityPtr)((((float)EVar14 + 1.0) * 4.0) / fVar22); + local_c4 = (Entity_Laser *)(((fVar28 + 1.0) * 4.0) / fVar26); if ((float)local_c4 <= 0.1) { - local_c4 = (EntityPtr)0x3dcccccd; + local_c4 = (Entity_Laser *)0x3dcccccd; } if (4.0 <= (float)local_c4) { - local_c4 = (EntityPtr)0x40800000; + local_c4 = (Entity_Laser *)0x40800000; } } - auVar25 = ZEXT816(0); + auVar30 = ZEXT816(0); local_bc = 0.0; - if (pEVar18 != (Entity_Player *)0x0) { - iVar8 = FUN_009f5870(); - uVar27 = 0xa0b5a7; - bVar3 = Entity_Player::HasCollectible(local_d4,0x170,0); - if ((bVar3 != 0) && (0 < iVar8)) { - local_bc = ((float)(iVar8 / 0x5a) * 16.0) / 3.0 + 0.0; + if (pEVar21 != (Entity_Player *)0x0) { + iVar9 = FUN_009f5870(); + uVar32 = 0xa0b5a7; + bVar4 = Entity_Player::HasCollectible(local_d4,0x170,0); + if ((bVar4 != 0) && (0 < iVar9)) { + local_bc = ((float)(iVar9 / 0x5a) * 16.0) / 3.0 + 0.0; } - fVar22 = local_bc; + fVar26 = local_bc; FUN_009f5830(); - lVar26 = FUN_009f5850(); - pEVar18 = local_d4; - iVar16 = (int)((ulonglong)lVar26 >> 0x20); - iVar8 = (int)lVar26; - if (((0xffffffff < lVar26) && (0 < iVar8)) && (iVar16 < iVar8 + -1)) { - local_bc = fVar22 + ((float)iVar16 * 24.0) / (float)iVar8; + lVar31 = FUN_009f5850(); + pEVar21 = local_d4; + iVar13 = (int)((ulonglong)lVar31 >> 0x20); + iVar9 = (int)lVar31; + if (((0xffffffff < lVar31) && (0 < iVar9)) && (iVar13 < iVar9 + -1)) { + local_bc = fVar26 + ((float)iVar13 * 24.0) / (float)iVar9; } - iVar8 = Entity_Player::get_seeded_variant(); - if (iVar8 == 2) { + iVar9 = Entity_Player::get_seeded_variant(); + if (iVar9 == 2) { local_bc = local_bc + 24.0; LAB_00a0b676: } else { - iVar8 = Entity_Player::get_seeded_variant(); - if (iVar8 == 4) { + iVar9 = Entity_Player::get_seeded_variant(); + if (iVar9 == 4) { local_bc = local_bc + 8.0; goto LAB_00a0b676; } } - auVar25 = ZEXT416((uint)local_bc); + auVar30 = ZEXT416((uint)local_bc); } if ((char)local_134 != '\0') { - fVar22 = ((float)in_ECX[1]._technology2Laser * 16.0) / - (*(float *)&in_ECX[1].field_0x4 * 12.0); - if (fVar22 <= 0.0) { - fVar22 = 0.0; + fVar26 = (*(float *)&in_ECX->field_0x14 * 16.0) / (*(float *)&in_ECX->field_0x10 * 12.0); + if (fVar26 <= 0.0) { + fVar26 = 0.0; } - if (16.0 <= fVar22) { - fVar22 = 16.0; + if (16.0 <= fVar26) { + fVar26 = 16.0; } - auVar25._0_4_ = auVar25._0_4_ + fVar22; - local_bc = auVar25._0_4_; + auVar30._0_4_ = auVar30._0_4_ + fVar26; + local_bc = auVar30._0_4_; } - fVar22 = auVar25._0_4_; - if (((local_c8._0_2_ == 0) || (local_13c != 1)) || (pEVar18 == (Entity_Player *)0x0)) { + fVar26 = auVar30._0_4_; + if ((((short)local_c8 == 0) || (local_13c != 1)) || (pEVar21 == (Entity_Player *)0x0)) { LAB_00a0bfdc: if (acStack_20[5] != '\0') { - local_10c = (EntityPtr)(local_108 * -(float)local_d0); - local_ec = (EntityPtr)(local_108 * -(float)local_b8); - if (fVar22 == 0.0) { + local_10c = (Entity_Laser *)(local_108 * -(float)local_d0); + local_ec = (Entity_Laser *)(local_108 * -(float)local_b8); + if (fVar26 == 0.0) { local_194 = local_10c; local_190 = local_ec; } else { - iVar8 = Random(); - EVar10 = (EntityPtr) - (((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * - 2.3283064e-10 - 0.5) * local_bc * 0.017453292); - local_c0 = EVar10; + iVar9 = Random(); + pEVar27 = (Entity_Laser *) + (((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + 2.3283064e-10 - 0.5) * local_bc * 0.017453292); + local_c0 = pEVar27; cos(); - EVar14 = local_c0; - local_cc = EVar10; + pEVar16 = local_c0; + local_cc = pEVar27; sin(); - local_194 = (EntityPtr) - ((float)local_10c * (float)local_cc - (float)local_ec * (float)EVar14); - local_190 = (EntityPtr) - ((float)local_10c * (float)EVar14 + (float)local_ec * (float)local_cc); + local_194 = (Entity_Laser *) + ((float)local_10c * (float)local_cc - (float)local_ec * (float)pEVar16); + local_190 = (Entity_Laser *) + ((float)local_10c * (float)pEVar16 + (float)local_ec * (float)local_cc); } - Weapon::fire_tear(&local_100,&local_194,6,uVar27,local_c4,local_e0); + Weapon::fire_tear(&local_100,&local_194,6,uVar32,local_c4,local_e0); } if (acStack_20[6] != '\0') { - local_c0 = (EntityPtr)(local_108 * (float)local_d0); - local_cc = (EntityPtr)(local_108 * -(float)local_b8); + local_c0 = (Entity_Laser *)(local_108 * (float)local_d0); + local_cc = (Entity_Laser *)(local_108 * -(float)local_b8); if (local_bc == 0.0) { local_19c = (float)local_cc; local_198 = local_c0; } else { - iVar8 = Random(); - EVar10 = (EntityPtr) - (((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * - 2.3283064e-10 - 0.5) * local_bc * 0.017453292); - local_ec = EVar10; + iVar9 = Random(); + pEVar27 = (Entity_Laser *) + (((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + 2.3283064e-10 - 0.5) * local_bc * 0.017453292); + local_ec = pEVar27; cos(); - EVar14 = local_ec; - local_10c = EVar10; + pEVar16 = local_ec; + local_10c = pEVar27; sin(); - local_19c = (float)local_cc * (float)local_10c - (float)local_c0 * (float)EVar14; - local_198 = (EntityPtr) - ((float)local_cc * (float)EVar14 + (float)local_c0 * (float)local_10c); + local_19c = (float)local_cc * (float)local_10c - (float)local_c0 * (float)pEVar16; + local_198 = (Entity_Laser *) + ((float)local_cc * (float)pEVar16 + (float)local_c0 * (float)local_10c); } - Weapon::fire_tear(&local_100,&local_19c,6,uVar27,local_c4,local_e0); - local_cc = (EntityPtr)(local_108 * (float)local_b8); - local_c0 = (EntityPtr)(local_108 * -(float)local_d0); + Weapon::fire_tear(&local_100,&local_19c,6,uVar32,local_c4,local_e0); + local_cc = (Entity_Laser *)(local_108 * (float)local_b8); + local_c0 = (Entity_Laser *)(local_108 * -(float)local_d0); if (local_bc == 0.0) { local_120 = local_cc; local_11c = local_c0; } else { - iVar8 = Random(); - EVar10 = (EntityPtr) - (((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * - 2.3283064e-10 - 0.5) * local_bc * 0.017453292); - local_ec = EVar10; + iVar9 = Random(); + pEVar27 = (Entity_Laser *) + (((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + 2.3283064e-10 - 0.5) * local_bc * 0.017453292); + local_ec = pEVar27; cos(); - EVar14 = local_ec; - local_10c = EVar10; + pEVar16 = local_ec; + local_10c = pEVar27; sin(); - local_120 = (EntityPtr) - ((float)local_cc * (float)local_10c - (float)local_c0 * (float)EVar14); - local_11c = (EntityPtr) - ((float)local_cc * (float)EVar14 + (float)local_c0 * (float)local_10c); + local_120 = (Entity_Laser *) + ((float)local_cc * (float)local_10c - (float)local_c0 * (float)pEVar16); + local_11c = (Entity_Laser *) + ((float)local_cc * (float)pEVar16 + (float)local_c0 * (float)local_10c); } - Weapon::fire_tear(&local_100,&local_120,6,uVar27,local_c4,local_e0); + Weapon::fire_tear(&local_100,&local_120,6,uVar32,local_c4,local_e0); } - uVar7 = (uint)local_b0 & 0xffff; - if (uVar7 != 0) { + uVar8 = (uint)local_b0 & 0xffff; + if (uVar8 != 0) { if (local_bc == 0.0) { do { - iVar8 = Random(); - EVar10 = (EntityPtr) - ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * - 2.3283064e-10 * 360.0 * 0.017453292); - local_ec = EVar10; + iVar9 = Random(); + pEVar27 = (Entity_Laser *) + ((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + 2.3283064e-10 * 360.0 * 0.017453292); + local_ec = pEVar27; cos(); - EVar14 = local_ec; - local_cc = EVar10; + pEVar16 = local_ec; + local_cc = pEVar27; sin(); local_15c = local_108 * - ((float)local_d0 * (float)local_cc - (float)local_b8 * (float)EVar14); + ((float)local_d0 * (float)local_cc - (float)local_b8 * (float)pEVar16); local_158 = local_108 * - ((float)local_d0 * (float)EVar14 + (float)local_b8 * (float)local_cc); - Weapon::fire_tear(&local_100,&local_15c,6,uVar27,local_c4,local_e0); - uVar7 = uVar7 - 1; - } while (uVar7 != 0); + ((float)local_d0 * (float)pEVar16 + (float)local_b8 * (float)local_cc); + Weapon::fire_tear(&local_100,&local_15c,6,uVar32,local_c4,local_e0); + uVar8 = uVar8 - 1; + } while (uVar8 != 0); } else { do { - iVar8 = Random(); - fVar22 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * + iVar9 = Random(); + fVar26 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 360.0 * 0.017453292; - local_ec = (EntityPtr)fVar22; + local_ec = (Entity_Laser *)fVar26; cos(); - local_cc = (EntityPtr)fVar22; + local_cc = (Entity_Laser *)fVar26; sin(); - fVar22 = (float)local_b8 * (float)local_cc; - local_cc = (EntityPtr) + fVar26 = (float)local_b8 * (float)local_cc; + local_cc = (Entity_Laser *) (local_108 * ((float)local_d0 * (float)local_cc - (float)local_b8 * (float)local_ec)); - local_ec = (EntityPtr)(local_108 * ((float)local_d0 * (float)local_ec + fVar22)); + local_ec = (Entity_Laser *) + (local_108 * ((float)local_d0 * (float)local_ec + fVar26)); local_c0 = local_ec; - iVar8 = Random(); - EVar10 = (EntityPtr) - (((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * - 2.3283064e-10 - 0.5) * local_bc * 0.017453292); - local_ec = EVar10; + iVar9 = Random(); + pEVar27 = (Entity_Laser *) + (((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + 2.3283064e-10 - 0.5) * local_bc * 0.017453292); + local_ec = pEVar27; cos(); - EVar14 = local_ec; - local_10c = EVar10; + pEVar16 = local_ec; + local_10c = pEVar27; sin(); - local_15c = (float)local_cc * (float)local_10c - (float)local_c0 * (float)EVar14; - local_158 = (float)local_c0 * (float)local_10c + (float)local_cc * (float)EVar14; - Weapon::fire_tear(&local_100,&local_15c,6,uVar27,local_c4,local_e0); - uVar7 = uVar7 - 1; - } while (uVar7 != 0); + local_15c = (float)local_cc * (float)local_10c - (float)local_c0 * (float)pEVar16; + local_158 = (float)local_c0 * (float)local_10c + (float)local_cc * (float)pEVar16; + Weapon::fire_tear(&local_100,&local_15c,6,uVar32,local_c4,local_e0); + uVar8 = uVar8 - 1; + } while (uVar8 != 0); } } - sVar6 = local_c8._0_2_; - if (sVar6 != 0) { - iVar8 = Random(); - fVar22 = (float)(int)sVar6; - fVar23 = (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * + sVar7 = (short)local_c8; + if (sVar7 != 0) { + iVar9 = Random(); + fVar26 = (float)(int)sVar7; + fVar28 = (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 0.2 + 0.3; - local_100 = local_100 - fVar22 * (float)local_b8 * fVar23; - local_fc = fVar22 * (float)local_d0 * fVar23 + local_fc; + local_100 = local_100 - fVar26 * (float)local_b8 * fVar28; + local_fc = fVar26 * (float)local_d0 * fVar28 + local_fc; } - sVar6 = (short)local_124; - local_b0 = (EntityPtr)0x0; - if (0 < sVar6) { - uVar27 = CONCAT13(acStack_20[7], + sVar7 = (short)local_124; + local_b0 = (Entity_Laser *)0x0; + if (0 < sVar7) { + uVar32 = CONCAT13(acStack_20[7], CONCAT12(acStack_20[6],CONCAT11(acStack_20[5],acStack_20[4]))); if (local_bc == 0.0) { - iVar8 = 0; + iVar9 = 0; do { - uVar28 = acStack_20._0_4_; - FUN_009f4230(&local_1b4,iVar8,*(undefined4 *)(in_ECX + 4),local_154,local_150, - local_108,EStack_38,fStack_34,fStack_30,fStack_2c,fStack_28,fStack_24, - acStack_20._0_4_,uVar27,local_18); + uVar33 = acStack_20._0_4_; + FUN_009f4230(&local_1b4,iVar9,*(undefined4 *)&in_ECX->field_0x30,local_154,local_150 + ,local_108,pEStack_38,fStack_34,fStack_30,fStack_2c,fStack_28,fStack_24 + ,acStack_20._0_4_,uVar32,local_18); local_16c = local_1b4 + local_100; local_164 = local_1ac; local_160 = local_1a8; local_168 = local_1b0 + local_fc; - Weapon::fire_tear(&local_16c,&local_164,0,uVar28,local_c4,local_e0); - iVar8 = iVar8 + 1; - uVar27 = CONCAT13(acStack_20[7], + Weapon::fire_tear(&local_16c,&local_164,0,uVar33,local_c4,local_e0); + iVar9 = iVar9 + 1; + uVar32 = CONCAT13(acStack_20[7], CONCAT12(acStack_20[6],CONCAT11(acStack_20[5],acStack_20[4]))); - } while (iVar8 < (short)local_124); + } while (iVar9 < (short)local_124); } else { do { - uVar28 = acStack_20._0_4_; - FUN_009f4230(&local_1b4,local_b0,*(undefined4 *)(in_ECX + 4),local_154,local_150, - local_108,EStack_38,fStack_34,fStack_30,fStack_2c,fStack_28,fStack_24, - acStack_20._0_4_,uVar27,local_18); - iVar8 = Random(); - EVar10 = (EntityPtr) - (((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * - 2.3283064e-10 - 0.5) * local_bc * 0.017453292); - local_ec = EVar10; + uVar33 = acStack_20._0_4_; + FUN_009f4230(&local_1b4,local_b0,*(undefined4 *)&in_ECX->field_0x30,local_154, + local_150,local_108,pEStack_38,fStack_34,fStack_30,fStack_2c,fStack_28, + fStack_24,acStack_20._0_4_,uVar32,local_18); + iVar9 = Random(); + pEVar27 = (Entity_Laser *) + (((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + 2.3283064e-10 - 0.5) * local_bc * 0.017453292); + local_ec = pEVar27; cos(); - EVar14 = local_ec; - local_cc = EVar10; + pEVar16 = local_ec; + local_cc = pEVar27; sin(); - local_164 = local_1ac * (float)local_cc - local_1a8 * (float)EVar14; + local_164 = local_1ac * (float)local_cc - local_1a8 * (float)pEVar16; local_168 = local_1b0 + local_fc; - local_160 = local_1ac * (float)EVar14 + local_1a8 * (float)local_cc; + local_160 = local_1ac * (float)pEVar16 + local_1a8 * (float)local_cc; local_16c = local_1b4 + local_100; - Weapon::fire_tear(&local_16c,&local_164,0,uVar28,local_c4,local_e0); - uVar27 = CONCAT13(acStack_20[7], + Weapon::fire_tear(&local_16c,&local_164,0,uVar33,local_c4,local_e0); + uVar32 = CONCAT13(acStack_20[7], CONCAT12(acStack_20[6],CONCAT11(acStack_20[5],acStack_20[4]))); - local_b0 = (EntityPtr)((int)local_b0 + 1); - } while ((int)local_b0 < (int)sVar6); + local_b0 = (Entity_Laser *)&local_b0->field_0x1; + } while ((int)local_b0 < (int)sVar7); } } if ((local_d4 != (Entity_Player *)0x0) && - (iVar8 = Entity_Player::get_seeded_variant(), iVar8 != -1)) { - uVar27 = Random(); - fVar22 = (float)local_b8 * (float)local_b8 + (float)local_d0 * (float)local_d0; + (iVar9 = Entity_Player::get_seeded_variant(), iVar9 != -1)) { + uVar32 = Random(); + fVar26 = (float)local_b8 * (float)local_b8 + (float)local_d0 * (float)local_d0; sqrtf(); - if (fVar22 <= 0.0) { - EVar14 = local_d0; - EVar10 = local_b8; + if (fVar26 <= 0.0) { + pEVar16 = local_d0; + pEVar27 = local_b8; } else { - EVar14 = (EntityPtr)((float)local_d0 * (4.0 / fVar22)); - EVar10 = (EntityPtr)((float)local_b8 * (4.0 / fVar22)); + pEVar16 = (Entity_Laser *)((float)local_d0 * (4.0 / fVar26)); + pEVar27 = (Entity_Laser *)((float)local_b8 * (4.0 / fVar26)); } - local_1c0 = local_100 + (float)EVar14; - local_1bc = local_fc + (float)EVar10; - EVar14 = (EntityPtr)Game::Spawn(1000,0xf,&local_1c0,&g_vectorZero,0,0,uVar27); - local_b0 = (EntityPtr)((int)EVar14 + 0x48); - *(int *)((int)EVar14 + 0x45c) = 2; - *(float *)((int)EVar14 + 0x460) = 2.8026e-45; + local_1c0 = local_100 + (float)pEVar16; + local_1bc = local_fc + (float)pEVar27; + pEVar16 = (Entity_Laser *)Game::Spawn(1000,0xf,&local_1c0,&g_vectorZero,0,0,uVar32); + local_b0 = (Entity_Laser *)&pEVar16->_sprite; + pEVar16->_isFirstUpdate = 2; + pEVar16->_sampleLaser = 0; + pEVar16->_shrink = 0; + pEVar16->field_0x45f = 0; + pEVar16->_laserLength = 2.8026e-45; acStack_20[4] = 0; acStack_20[5] = '\0'; acStack_20[6] = '\0'; acStack_20[7] = 0; local_18 = 2.10195e-44; fStack_2c = 0.0; - local_c8 = EVar14; + local_c8 = pEVar16; std::string::assign("gfx/promo/gfuel/effects/muzzle_flash.anm2",0x29); local_8 = 0; - ANM2::Load((ANM2 *)((int)EVar14 + 0x48),(std_string *)&fStack_2c,1); + ANM2::Load(&pEVar16->_sprite,(std_string *)&fStack_2c,1); local_8 = 0xffffffff; if (0xf < (uint)local_18) { - uVar7 = (int)local_18 + 1; - fVar22 = fStack_2c; - if (0xfff < uVar7) { - fVar22 = *(float *)((int)fStack_2c + -4); - uVar7 = (int)local_18 + 0x24; - if (0x1f < ((int)fStack_2c - (int)fVar22) - 4U) goto LAB_00a0d400; + uVar8 = (int)local_18 + 1; + fVar26 = fStack_2c; + if (0xfff < uVar8) { + fVar26 = *(float *)((int)fStack_2c + -4); + uVar8 = (int)local_18 + 0x24; + if (0x1f < ((int)fStack_2c - (int)fVar26) - 4U) goto LAB_00a0d400; } - operator_delete(fVar22,uVar7); + operator_delete(fVar26,uVar8); } - ((Vector *)((int)EVar14 + 0x34c))->x = 0.0; - *(float *)((int)EVar14 + 0x350) = -20.0; - bVar3 = Random(); + (pEVar16->_posOffset).x = 0.0; + (pEVar16->_posOffset).y = -20.0; + bVar4 = Random(); local_103 = '\0'; - local_104 = (bVar3 & 3) + 0x30; - bVar3 = ANM2::SetAnimation((ANM2 *)((int)EVar14 + 0x48),&local_104,1); - EVar10 = local_b0; - if (bVar3 != 0) { - AnimationState::Rewind((AnimationState *)((int)local_b0 + 0x30)); - *(byte *)((int)EVar10 + 0x44) = 1; - EVar14 = local_c8; + local_104 = (bVar4 & 3) + 0x30; + bVar4 = ANM2::SetAnimation(&pEVar16->_sprite,&local_104,1); + pEVar27 = local_b0; + if (bVar4 != 0) { + AnimationState::Rewind((AnimationState *)&local_b0->_subtype); + pEVar27->field_0x44 = 1; + pEVar16 = local_c8; } - uVar7 = Random(); - Entity_Player::GetTearHitParams(local_a8,1,0x3f800000,(uVar7 & 1) * 2 + -1,0); - fVar22 = local_5c * g_vectorOne.x; - *(float *)((int)EVar14 + 0xe8) = local_5c * g_vectorOne.y; - ((Vector *)((int)EVar14 + 0xe4))->x = fVar22; - fVar23 = local_9c; - fVar24 = local_a0; - fVar22 = local_98; + uVar8 = Random(); + Entity_Player::GetTearHitParams(local_a8,1,0x3f800000,(uVar8 & 1) * 2 + -1,0); + fVar26 = local_5c * g_vectorOne.x; + (pEVar16->_sprite)._scale.y = local_5c * g_vectorOne.y; + (pEVar16->_sprite)._scale.x = fVar26; + fVar28 = local_9c; + fVar29 = local_a0; + fVar26 = local_98; if (local_84 != 0.0) { - fVar22 = local_9c * 0.71516 + local_a0 * 0.212671 + local_98 * 0.072169; - fVar24 = local_a0 + (fVar22 * local_90 - local_a0) * local_84; - fVar23 = local_9c + (fVar22 * local_8c - local_9c) * local_84; - fVar22 = local_98 + (fVar22 * local_88 - local_98) * local_84; + fVar26 = local_9c * 0.71516 + local_a0 * 0.212671 + local_98 * 0.072169; + fVar29 = local_a0 + (fVar26 * local_90 - local_a0) * local_84; + fVar28 = local_9c + (fVar26 * local_8c - local_9c) * local_84; + fVar26 = local_98 + (fVar26 * local_88 - local_98) * local_84; } - local_10c = (EntityPtr)(fVar22 + local_78); - local_cc = (EntityPtr)(fVar23 + local_7c); - local_ec = (EntityPtr)(local_80 + fVar24); + local_10c = (Entity_Laser *)(fVar26 + local_78); + local_cc = (Entity_Laser *)(fVar28 + local_7c); + local_ec = (Entity_Laser *)(local_80 + fVar29); Color::Reset(); local_40 = (float)local_ec; + pCVar22 = &(pEVar16->_sprite)._color; fStack_3c = (float)local_cc; - EStack_38 = local_10c; + pEStack_38 = local_10c; fStack_34 = local_94; - if ((ColorMod *)((int)EVar14 + 0xf0) != (ColorMod *)&local_40) { - ((ColorMod *)((int)EVar14 + 0xf0))->_tint[0] = (float)local_ec; - *(EntityPtr *)((int)EVar14 + 0xf4) = local_cc; - *(EntityPtr *)((int)EVar14 + 0xf8) = local_10c; - *(float *)((int)EVar14 + 0xfc) = local_94; - *(float *)((int)EVar14 + 0x100) = fStack_30; - *(float *)((int)EVar14 + 0x104) = fStack_2c; - *(float *)((int)EVar14 + 0x108) = fStack_28; - *(float *)((int)EVar14 + 0x10c) = fStack_24; - *(ulonglong *)((int)EVar14 + 0x110) = + if (pCVar22 != (ColorMod *)&local_40) { + pCVar22->_tint[0] = (float)local_ec; + (pEVar16->_sprite)._color._tint[1] = (float)local_cc; + (pEVar16->_sprite)._color._tint[2] = (float)local_10c; + (pEVar16->_sprite)._color._tint[3] = local_94; + (pEVar16->_sprite)._color._colorize[0] = fStack_30; + (pEVar16->_sprite)._color._colorize[1] = fStack_2c; + (pEVar16->_sprite)._color._colorize[2] = fStack_28; + (pEVar16->_sprite)._color._colorize[3] = fStack_24; + *(ulonglong *)(pEVar16->_sprite)._color._offset = CONCAT17(acStack_20[7], CONCAT16(acStack_20[6], CONCAT15(acStack_20[5],CONCAT14(acStack_20[4],acStack_20._0_4_) ))); - ((Vector *)((int)EVar14 + 0x118))->x = local_18; + (pEVar16->_sprite)._color._offset[2] = local_18; } - EVar14 = local_b8; + pEVar16 = local_b8; atan2f(); - local_ec = (EntityPtr)((float)EVar14 * 57.295776); - pLVar13 = ANM2::GetLayer((ANM2 *)local_b0,(byte *)0x0); - pLVar13->_rotation = (float)local_ec; - uVar7 = g_graphicsManager_flags; - pLVar13 = ANM2::GetLayer((ANM2 *)local_b0,(byte *)0x0); - uVar27 = 1; - if ((uVar7 & 4) == 0) { - uVar27 = 6; + local_ec = (Entity_Laser *)((float)pEVar16 * 57.295776); + pLVar14 = ANM2::GetLayer((ANM2 *)local_b0,(byte *)0x0); + pLVar14->_rotation = (float)local_ec; + uVar8 = g_graphicsManager_flags; + pLVar14 = ANM2::GetLayer((ANM2 *)local_b0,(byte *)0x0); + iVar9 = 1; + if ((uVar8 & 4) == 0) { + iVar9 = 6; } - *(undefined4 *)&pLVar13->field_0x7c = uVar27; - *(undefined4 *)&pLVar13->field_0x78 = 0; - *(undefined4 *)&pLVar13->field_0x80 = 1; - *(undefined4 *)&pLVar13->field_0x84 = 1; - *(undefined4 *)&pLVar13->field_0x88 = 1; + pLVar14->_blendMode[1] = iVar9; + pLVar14->_blendMode[0] = 0; + pLVar14->_blendMode[2] = 1; + pLVar14->_blendMode[3] = 1; + pLVar14->_blendMode[4] = 1; (**(code **)(*(int *)local_c8 + 0xc))(); - uVar27 = Random(); - iVar8 = Random(); - fVar22 = ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * + uVar32 = Random(); + iVar9 = Random(); + fVar26 = ((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 20.0 - 10.0) * 0.017453292; - local_ec = (EntityPtr)fVar22; + local_ec = (Entity_Laser *)fVar26; cos(); - local_cc = (EntityPtr)fVar22; + local_cc = (Entity_Laser *)fVar26; sin(); - fVar22 = (float)local_d0 * (float)local_cc; - local_cc = (EntityPtr) + fVar26 = (float)local_d0 * (float)local_cc; + local_cc = (Entity_Laser *) ((float)local_d0 * (float)local_ec + (float)local_b8 * (float)local_cc); - local_ec = (EntityPtr)(fVar22 - (float)local_b8 * (float)local_ec); - iVar8 = Random(); - fVar22 = -((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * + local_ec = (Entity_Laser *)(fVar26 - (float)local_b8 * (float)local_ec); + iVar9 = Random(); + fVar26 = -((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 0.2 + 0.1); - local_148 = (EntityPtr)(fVar22 * (float)local_cc); - local_14c = (EntityPtr)(fVar22 * (float)local_ec); - EVar14 = (EntityPtr)Game::Spawn(1000,0x1b,&local_100,&local_14c,0,0,uVar27); - local_ec = (EntityPtr)((int)EVar14 + 0x48); + local_148 = (undefined1 *)(fVar26 * (float)local_cc); + local_14c = (undefined1 *)(fVar26 * (float)local_ec); + pEVar16 = (Entity_Laser *)Game::Spawn(1000,0x1b,&local_100,&local_14c,0,0,uVar32); + local_ec = (Entity_Laser *)&pEVar16->_sprite; acStack_20[4] = 0; acStack_20[5] = '\0'; acStack_20[6] = '\0'; acStack_20[7] = 0; local_18 = 2.10195e-44; fStack_2c = 0.0; - local_cc = EVar14; + local_cc = pEVar16; std::string::assign("gfx/promo/gfuel/effects/casing.anm2",0x23); local_8 = 1; - ANM2::Load((ANM2 *)((int)EVar14 + 0x48),(std_string *)&fStack_2c,1); + ANM2::Load(&pEVar16->_sprite,(std_string *)&fStack_2c,1); local_8 = 0xffffffff; if (0xf < (uint)local_18) { - uVar7 = (int)local_18 + 1; - fVar22 = fStack_2c; - if (0xfff < uVar7) { - fVar22 = *(float *)((int)fStack_2c + -4); - uVar7 = (int)local_18 + 0x24; - if (0x1f < ((int)fStack_2c - (int)fVar22) - 4U) { + uVar8 = (int)local_18 + 1; + fVar26 = fStack_2c; + if (0xfff < uVar8) { + fVar26 = *(float *)((int)fStack_2c + -4); + uVar8 = (int)local_18 + 0x24; + if (0x1f < ((int)fStack_2c - (int)fVar26) - 4U) { LAB_00a0d400: local_8 = 0xffffffff; /* WARNING: Subroutine does not return */ _invalid_parameter_noinfo_noreturn(); } } - operator_delete(fVar22,uVar7); + operator_delete(fVar26,uVar8); } - bVar3 = ANM2::SetAnimation((ANM2 *)((int)EVar14 + 0x48),&DAT_00b63070,1); - EVar10 = local_ec; - if (bVar3 != 0) { - AnimationState::Rewind((AnimationState *)((int)local_ec + 0x30)); - *(byte *)((int)EVar10 + 0x44) = 1; - EVar14 = local_cc; + bVar4 = ANM2::SetAnimation(&pEVar16->_sprite,&DAT_00b63070,1); + pEVar27 = local_ec; + if (bVar4 != 0) { + AnimationState::Rewind((AnimationState *)&local_ec->_subtype); + pEVar27->field_0x44 = 1; + pEVar16 = local_cc; } - iVar8 = Random(); - *(float *)((int)EVar14 + 0x14c) = - (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * 2.3283064e-10 * + iVar9 = Random(); + (pEVar16->_sprite)._playbackSpeed = + (float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * 2.3283064e-10 * 0.6 + 0.8; - iVar8 = Random(); - *(float *)((int)EVar14 + 0x414) = - -8.0 - (float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * + iVar13 = Random(); + iVar9 = *(int *)pEVar16; + (pEVar16->_parentOffset).y = + -8.0 - (float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]) * 2.3283064e-10 * 16.0; - (**(code **)(*(int *)EVar14 + 0xc))(); - uVar27 = Entity_Player::get_seeded_variant(); - pMVar2 = g_manager; - switch(uVar27) { + (**(code **)(iVar9 + 0xc))(); + uVar32 = Entity_Player::get_seeded_variant(); + pMVar3 = g_manager; + switch(uVar32) { case 2: case 3: - local_b0 = (EntityPtr)0x33b; + local_b0 = (Entity_Laser *)0x33b; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_b0,1.0,2,0,1.0,0.0); - iVar8 = 0x10; + SoundEffects::Play(&pMVar3->_sfxManager,(int)local_b0,1.0,2,0,1.0,0.0); + iVar9 = 0x10; break; case 4: - local_b0 = (EntityPtr)0x33e; + local_b0 = (Entity_Laser *)0x33e; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_b0,1.0,2,0,1.0,0.0); + SoundEffects::Play(&pMVar3->_sfxManager,(int)local_b0,1.0,2,0,1.0,0.0); Game::ShakeScreen(g_game,10); - pEVar18 = local_d4; - local_d0 = (EntityPtr)(-(float)local_d0 * 0.02); - local_ec = (EntityPtr)(-(float)local_b8 * 0.02); - local_cc = (EntityPtr)(local_d4->_velocity).y; - fVar22 = (float)local_d0 * (float)local_d0 + (float)local_ec * (float)local_ec; + pEVar21 = local_d4; + local_d0 = (Entity_Laser *)(-(float)local_d0 * 0.02); + local_ec = (Entity_Laser *)(-(float)local_b8 * 0.02); + local_cc = (Entity_Laser *)(local_d4->_velocity).y; + fVar26 = (float)local_d0 * (float)local_d0 + (float)local_ec * (float)local_ec; local_b8 = local_ec; local_b0 = local_d0; sqrtf(); - if (fVar22 <= 0.0) { - EVar14 = local_ec; + if (fVar26 <= 0.0) { + pEVar16 = local_ec; } else { - local_b0 = (EntityPtr)((1.0 / fVar22) * (float)local_d0); - EVar14 = (EntityPtr)((1.0 / fVar22) * (float)local_b8); + local_b0 = (Entity_Laser *)((1.0 / fVar26) * (float)local_d0); + pEVar16 = (Entity_Laser *)((1.0 / fVar26) * (float)local_b8); } - fVar22 = (pEVar18->_velocity).x; - fVar23 = -(fVar22 * (float)local_b0 + (float)local_cc * (float)EVar14); - if (fVar23 <= 0.2) { - fVar23 = 0.2; + fVar26 = (pEVar21->_velocity).x; + fVar28 = -(fVar26 * (float)local_b0 + (float)local_cc * (float)pEVar16); + if (fVar28 <= 0.2) { + fVar28 = 0.2; } - (pEVar18->_velocity).y = fVar23 * (float)local_b8 + (pEVar18->_velocity).y; - (pEVar18->_velocity).x = fVar23 * (float)local_d0 + fVar22; + (pEVar21->_velocity).y = fVar28 * (float)local_b8 + (pEVar21->_velocity).y; + (pEVar21->_velocity).x = fVar28 * (float)local_d0 + fVar26; goto LAB_00a0d2c8; case 5: - local_b0 = (EntityPtr)0x340; + local_b0 = (Entity_Laser *)0x340; LAB_00a0d055: seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_b0,1.0,2,0,1.0,0.0); - iVar8 = 10; + SoundEffects::Play(&pMVar3->_sfxManager,(int)local_b0,1.0,2,0,1.0,0.0); + iVar9 = 10; break; default: if (0.75 <= local_5c) { if (1.75 < local_5c) { - local_b0 = (EntityPtr)0x33a; + local_b0 = (Entity_Laser *)0x33a; goto LAB_00a0d055; } - local_b0 = (EntityPtr)0x338; + local_b0 = (Entity_Laser *)0x338; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_b0,1.0,2,0,1.0,0.0); - iVar8 = 6; + SoundEffects::Play(&pMVar3->_sfxManager,(int)local_b0,1.0,2,0,1.0,0.0); + iVar9 = 6; } else { - local_b0 = (EntityPtr)0x339; + local_b0 = (Entity_Laser *)0x339; seed_fart_sound_override(); - SoundEffects::Play(&pMVar2->_sfxManager,(int)local_b0,1.0,2,0,1.0,0.0); - iVar8 = 3; + SoundEffects::Play(&pMVar3->_sfxManager,(int)local_b0,1.0,2,0,1.0,0.0); + iVar9 = 3; } } - Game::ShakeScreen(g_game,iVar8); + Game::ShakeScreen(g_game,iVar9); } } else { - uVar27 = 0xa0b6f1; - bVar3 = Entity_Player::HasCollectible(pEVar18,0x98,0); - if (bVar3 == 0) { - fVar22 = local_bc; + uVar32 = 0xa0b6f1; + bVar4 = Entity_Player::HasCollectible(pEVar21,0x98,0); + if (bVar4 == 0) { + fVar26 = local_bc; goto LAB_00a0bfdc; } local_118 = local_144; local_114 = local_140; - fVar22 = (float)local_144 * (float)local_144 + (float)local_140 * (float)local_140; + fVar26 = (float)local_144 * (float)local_144 + (float)local_140 * (float)local_140; sqrtf(); - if (0.0 < fVar22) { - local_118 = (EntityPtr)((1.0 / fVar22) * (float)local_118); - local_114 = (EntityPtr)((float)local_114 * (1.0 / fVar22)); + if (0.0 < fVar26) { + local_118 = (undefined1 *)((1.0 / fVar26) * (float)local_118); + local_114 = (undefined1 *)((float)local_114 * (1.0 / fVar26)); } if ((*(int *)(*(int *)ThreadLocalStoragePointer + 0xc) < DAT_00c943c4) && (_Init_thread_header(&DAT_00c943c4), DAT_00c943c4 == -1)) { @@ -946972,376 +948517,372 @@ LAB_00a0d055: } g_weaponTearsFiredLasersEnd = DAT_00c943c8; if (acStack_20[5] != '\0') { - local_d0 = (EntityPtr)((uint)local_118 ^ 0x80000000); - local_c0 = (EntityPtr)((uint)local_114 ^ 0x80000000); + local_d0 = (Entity_Laser *)((uint)local_118 ^ 0x80000000); + local_c0 = (Entity_Laser *)((uint)local_114 ^ 0x80000000); if (local_bc == 0.0) { local_174 = local_d0; local_170 = local_c0; } else { - iVar8 = Random(); - EVar10 = (EntityPtr) - (((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * - 2.3283064e-10 - 0.5) * local_bc * 0.017453292); - local_c8 = EVar10; + iVar9 = Random(); + pEVar27 = (Entity_Laser *) + (((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + 2.3283064e-10 - 0.5) * local_bc * 0.017453292); + local_c8 = pEVar27; cos(); - EVar14 = local_c8; - local_b8 = EVar10; + pEVar16 = local_c8; + local_b8 = pEVar27; sin(); - local_174 = (EntityPtr) - ((float)local_b8 * (float)local_d0 - (float)EVar14 * (float)local_c0); - local_170 = (EntityPtr) - ((float)local_b8 * (float)local_c0 + (float)EVar14 * (float)local_d0); + local_174 = (Entity_Laser *) + ((float)local_b8 * (float)local_d0 - (float)pEVar16 * (float)local_c0); + local_170 = (Entity_Laser *) + ((float)local_b8 * (float)local_c0 + (float)pEVar16 * (float)local_d0); } - local_c0 = (EntityPtr)Weapon::fire_laser(&local_100,1,&local_174,0,1,local_c4); + local_c0 = (Entity_Laser *)Weapon::fire_laser(&local_100,1,&local_174,0,1,local_c4); if (g_weaponTearsFiredLasersEnd == DAT_00c943d0) { std::vector::_Emplace_reallocate(g_weaponTearsFiredLasersEnd,&local_c0); } else { - *g_weaponTearsFiredLasersEnd = (Entity_Laser *)local_c0; + *g_weaponTearsFiredLasersEnd = local_c0; g_weaponTearsFiredLasersEnd = g_weaponTearsFiredLasersEnd + 1; } } if (acStack_20[6] != '\0') { - local_c8 = (EntityPtr)((uint)local_114 ^ 0x80000000); + local_c8 = (Entity_Laser *)((uint)local_114 ^ 0x80000000); if (local_bc == 0.0) { local_178 = local_118; local_17c = local_c8; } else { - iVar8 = Random(); - EVar10 = (EntityPtr) - (((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * - 2.3283064e-10 - 0.5) * local_bc * 0.017453292); - local_c0 = EVar10; + iVar9 = Random(); + pEVar27 = (Entity_Laser *) + (((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + 2.3283064e-10 - 0.5) * local_bc * 0.017453292); + local_c0 = pEVar27; cos(); - EVar14 = local_c0; - local_b8 = EVar10; + pEVar16 = local_c0; + local_b8 = pEVar27; sin(); - local_178 = (EntityPtr) - ((float)local_b8 * (float)local_118 + (float)local_c8 * (float)EVar14); - local_17c = (EntityPtr) - ((float)local_c8 * (float)local_b8 - (float)EVar14 * (float)local_118); + local_178 = (undefined1 *) + ((float)local_b8 * (float)local_118 + (float)local_c8 * (float)pEVar16); + local_17c = (Entity_Laser *) + ((float)local_c8 * (float)local_b8 - (float)pEVar16 * (float)local_118); } - local_c0 = (EntityPtr)Weapon::fire_laser(&local_100,1,&local_17c,0,1,local_c4); + local_c0 = (Entity_Laser *)Weapon::fire_laser(&local_100,1,&local_17c,0,1,local_c4); if (g_weaponTearsFiredLasersEnd == DAT_00c943d0) { std::vector::_Emplace_reallocate(g_weaponTearsFiredLasersEnd,&local_c0); } else { - *g_weaponTearsFiredLasersEnd = (Entity_Laser *)local_c0; + *g_weaponTearsFiredLasersEnd = local_c0; g_weaponTearsFiredLasersEnd = g_weaponTearsFiredLasersEnd + 1; } - local_b8 = (EntityPtr)((uint)local_118 ^ 0x80000000); + local_b8 = (Entity_Laser *)((uint)local_118 ^ 0x80000000); if (local_bc == 0.0) { local_1a4 = local_114; local_1a0 = local_b8; } else { - iVar8 = Random(); - EVar10 = (EntityPtr) - (((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * - 2.3283064e-10 - 0.5) * local_bc * 0.017453292); - local_c0 = EVar10; + iVar9 = Random(); + pEVar27 = (Entity_Laser *) + (((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + 2.3283064e-10 - 0.5) * local_bc * 0.017453292); + local_c0 = pEVar27; cos(); - EVar14 = local_c0; - local_c8 = EVar10; + pEVar16 = local_c0; + local_c8 = pEVar27; sin(); - local_1a4 = (EntityPtr) - ((float)local_c8 * (float)local_114 - (float)EVar14 * (float)local_b8); - local_1a0 = (EntityPtr) - ((float)EVar14 * (float)local_114 + (float)local_c8 * (float)local_b8); + local_1a4 = (undefined1 *) + ((float)local_c8 * (float)local_114 - (float)pEVar16 * (float)local_b8); + local_1a0 = (Entity_Laser *) + ((float)pEVar16 * (float)local_114 + (float)local_c8 * (float)local_b8); } - local_c0 = (EntityPtr)Weapon::fire_laser(&local_100,1,&local_1a4,0,1,local_c4); + local_c0 = (Entity_Laser *)Weapon::fire_laser(&local_100,1,&local_1a4,0,1,local_c4); if (g_weaponTearsFiredLasersEnd == DAT_00c943d0) { std::vector::_Emplace_reallocate(g_weaponTearsFiredLasersEnd,&local_c0); } else { - *g_weaponTearsFiredLasersEnd = (Entity_Laser *)local_c0; + *g_weaponTearsFiredLasersEnd = local_c0; g_weaponTearsFiredLasersEnd = g_weaponTearsFiredLasersEnd + 1; } } - for (uVar7 = (uint)local_b0 & 0xffff; uVar7 != 0; uVar7 = uVar7 - 1) { - iVar8 = Random(); - EVar10 = (EntityPtr) - ((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * - 2.3283064e-10 * 360.0 * 0.017453292); - local_c0 = EVar10; + for (uVar8 = (uint)local_b0 & 0xffff; uVar8 != 0; uVar8 = uVar8 - 1) { + iVar9 = Random(); + pEVar27 = (Entity_Laser *) + ((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + 2.3283064e-10 * 360.0 * 0.017453292); + local_c0 = pEVar27; cos(); - EVar14 = local_c0; - local_c8 = EVar10; + pEVar16 = local_c0; + local_c8 = pEVar27; sin(); - fVar22 = (float)local_c8 * (float)local_118; - local_c8 = (EntityPtr) - ((float)local_c8 * (float)local_114 + (float)EVar14 * (float)local_118); - local_b8 = (EntityPtr)(fVar22 - (float)EVar14 * (float)local_114); + fVar26 = (float)local_c8 * (float)local_118; + local_c8 = (Entity_Laser *) + ((float)local_c8 * (float)local_114 + (float)pEVar16 * (float)local_118); + local_b8 = (Entity_Laser *)(fVar26 - (float)pEVar16 * (float)local_114); if (local_bc == 0.0) { local_184 = local_b8; local_180 = local_c8; } else { - iVar8 = Random(); - EVar10 = (EntityPtr) - (((float)((double)iVar8 + __uint_to_double_fixup[-(iVar8 >> 0x1f)]) * - 2.3283064e-10 - 0.5) * local_bc * 0.017453292); - local_c0 = EVar10; + iVar9 = Random(); + pEVar27 = (Entity_Laser *) + (((float)((double)iVar9 + __uint_to_double_fixup[-(iVar9 >> 0x1f)]) * + 2.3283064e-10 - 0.5) * local_bc * 0.017453292); + local_c0 = pEVar27; cos(); - EVar14 = local_c0; - local_b0 = EVar10; + pEVar16 = local_c0; + local_b0 = pEVar27; sin(); - local_184 = (EntityPtr) - ((float)local_b0 * (float)local_b8 - (float)EVar14 * (float)local_c8); - local_180 = (EntityPtr) - ((float)local_b0 * (float)local_c8 + (float)EVar14 * (float)local_b8); + local_184 = (Entity_Laser *) + ((float)local_b0 * (float)local_b8 - (float)pEVar16 * (float)local_c8); + local_180 = (Entity_Laser *) + ((float)local_b0 * (float)local_c8 + (float)pEVar16 * (float)local_b8); } - local_c0 = (EntityPtr)Weapon::fire_laser(&local_100,1,&local_184,0,1,local_c4); + local_c0 = (Entity_Laser *)Weapon::fire_laser(&local_100,1,&local_184,0,1,local_c4); if (g_weaponTearsFiredLasersEnd == DAT_00c943d0) { std::vector::_Emplace_reallocate(g_weaponTearsFiredLasersEnd,&local_c0); } else { - *g_weaponTearsFiredLasersEnd = (Entity_Laser *)local_c0; + *g_weaponTearsFiredLasersEnd = local_c0; g_weaponTearsFiredLasersEnd = g_weaponTearsFiredLasersEnd + 1; } } - iVar8 = 0; + iVar9 = 0; if (0 < (short)local_124) { - uVar27 = CONCAT13(acStack_20[7], + uVar32 = CONCAT13(acStack_20[7], CONCAT12(acStack_20[6],CONCAT11(acStack_20[5],acStack_20[4]))); do { - FUN_009f4230(local_1d0,iVar8,3,local_118,local_114,local_108,EStack_38,fStack_34, - fStack_30,fStack_2c,fStack_28,fStack_24,acStack_20._0_4_,uVar27,local_18) + FUN_009f4230(local_1d0,iVar9,3,local_118,local_114,local_108,pEStack_38,fStack_34, + fStack_30,fStack_2c,fStack_28,fStack_24,acStack_20._0_4_,uVar32,local_18) ; local_c8 = local_1c8; local_b8 = local_1c4; - fVar22 = (float)local_1c4 * (float)local_1c4 + (float)local_1c8 * (float)local_1c8; + fVar26 = (float)local_1c4 * (float)local_1c4 + (float)local_1c8 * (float)local_1c8; sqrtf(); - if (fVar22 <= 0.0) { - EVar14 = local_1c4; - EVar10 = local_1c8; + if (fVar26 <= 0.0) { + pEVar16 = local_1c4; + pEVar27 = local_1c8; } else { - local_c8 = (EntityPtr)((float)local_c8 * (1.0 / fVar22)); - local_b8 = (EntityPtr)((float)local_b8 * (1.0 / fVar22)); - EVar14 = local_b8; - EVar10 = local_c8; + local_c8 = (Entity_Laser *)((float)local_c8 * (1.0 / fVar26)); + local_b8 = (Entity_Laser *)((float)local_b8 * (1.0 / fVar26)); + pEVar16 = local_b8; + pEVar27 = local_c8; } if (local_bc != 0.0) { - iVar16 = Random(); - EVar10 = (EntityPtr) - (((float)((double)iVar16 + __uint_to_double_fixup[-(iVar16 >> 0x1f)]) * - 2.3283064e-10 - 0.5) * local_bc * 0.017453292); - local_c0 = EVar10; + iVar13 = Random(); + pEVar27 = (Entity_Laser *) + (((float)((double)iVar13 + __uint_to_double_fixup[-(iVar13 >> 0x1f)]) * + 2.3283064e-10 - 0.5) * local_bc * 0.017453292); + local_c0 = pEVar27; cos(); - EVar14 = local_c0; - local_b0 = EVar10; + pEVar16 = local_c0; + local_b0 = pEVar27; sin(); - EVar10 = (EntityPtr) - ((float)local_c8 * (float)local_b0 - (float)EVar14 * (float)local_b8); - EVar14 = (EntityPtr) - ((float)EVar14 * (float)local_c8 + (float)local_b8 * (float)local_b0); + pEVar27 = (Entity_Laser *) + ((float)local_c8 * (float)local_b0 - (float)pEVar16 * (float)local_b8); + pEVar16 = (Entity_Laser *) + ((float)pEVar16 * (float)local_c8 + (float)local_b8 * (float)local_b0); } - local_18c = EVar10; - local_188 = EVar14; - local_c0 = (EntityPtr)Weapon::fire_laser(&local_100,1,&local_18c,0,1,local_c4); + local_18c = pEVar27; + local_188 = pEVar16; + local_c0 = (Entity_Laser *)Weapon::fire_laser(&local_100,1,&local_18c,0,1,local_c4); if (g_weaponTearsFiredLasersEnd == DAT_00c943d0) { std::vector::_Emplace_reallocate (g_weaponTearsFiredLasersEnd,&local_c0); } else { - *g_weaponTearsFiredLasersEnd = (Entity_Laser *)local_c0; + *g_weaponTearsFiredLasersEnd = local_c0; g_weaponTearsFiredLasersEnd = g_weaponTearsFiredLasersEnd + 1; } - iVar8 = iVar8 + 1; - uVar27 = CONCAT13(acStack_20[7], + iVar9 = iVar9 + 1; + uVar32 = CONCAT13(acStack_20[7], CONCAT12(acStack_20[6],CONCAT11(acStack_20[5],acStack_20[4]))); - } while (iVar8 < (short)local_124); + } while (iVar9 < (short)local_124); } - uVar7 = 0; + uVar8 = 0; if ((int)g_weaponTearsFiredLasersEnd - (int)DAT_00c943c8 >> 2 != 0) { do { - DAT_00c943c8[uVar7]->_disableFollowParent = 0; - (**(code **)(*(int *)DAT_00c943c8[uVar7] + 0xc))(); - uVar7 = uVar7 + 1; - } while (uVar7 < (uint)((int)g_weaponTearsFiredLasersEnd - (int)DAT_00c943c8 >> 2)); + DAT_00c943c8[uVar8]->_disableFollowParent = 0; + (**(code **)(*(int *)DAT_00c943c8[uVar8] + 0xc))(); + uVar8 = uVar8 + 1; + } while (uVar8 < (uint)((int)g_weaponTearsFiredLasersEnd - (int)DAT_00c943c8 >> 2)); } } LAB_00a0d2c8: local_e0 = local_e0 - ((float)local_12c + 1.0); - EVar10 = local_138; - } while (local_138 != (EntityPtr)0x0); - EVar14 = local_110; - uVar7 = local_128; + fVar26 = local_138; + } while (local_138 != 0.0); + pEVar16 = local_110; + uVar8 = local_128; } - local_e4 = (EntityPtr)((int)local_e4 + 1); - if ((int)EVar14 <= (int)local_e4) { + local_e4 = (Entity_Laser *)&local_e4->field_0x1; + if ((int)pEVar16 <= (int)local_e4) { if ((char)local_134 == '\0') { - if ((char)uVar7 != '\0') { + if ((char)uVar8 != '\0') { if (local_a9 == '\0') { - if (0 < (int)in_ECX[5]._technology2Laser) { - in_ECX[5]._technology2Laser = (EntityPtr)((int)in_ECX[5]._technology2Laser + -1); + if (0 < *(int *)&in_ECX[1].field_0xc) { + *(int *)&in_ECX[1].field_0xc = *(int *)&in_ECX[1].field_0xc + -1; } - in_ECX[1]._technology2Laser = (EntityPtr)0x0; + *(undefined4 *)&in_ECX->field_0x14 = 0; FUN_009f4fc0(); } else { - EVar14 = in_ECX[1]._technology2Laser; - local_e4 = EVar14; + pEVar16 = *(Entity_Laser **)&in_ECX->field_0x14; + local_e4 = pEVar16; if (local_b1 != 0) { - fVar21 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); - local_b0 = (EntityPtr)(float)fVar21; - if ((float)local_b0 <= (float)in_ECX[1]._technology2Laser) { + fVar25 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); + local_b0 = (Entity_Laser *)(float)fVar25; + if ((float)local_b0 <= *(float *)&in_ECX->field_0x14) { Weapon::UpdateHeadChargeAnimation(0x45,1,&local_f8,&DAT_bf800000); } else { Weapon::UpdateHeadChargeAnimation - (0x45,0,&local_f8, - ((float)in_ECX[1]._technology2Laser / (float)local_b0) * 18.0); - if (*(int *)&in_ECX->field_0x4 == 0) { - local_e4 = (EntityPtr)((float)in_ECX[1]._technology2Laser + 1.0); + (0x45,0,&local_f8,(*(float *)&in_ECX->field_0x14 / (float)local_b0) * 18.0 + ); + if (in_ECX->_owner == (void *)0x0) { + local_e4 = (Entity_Laser *)(*(float *)&in_ECX->field_0x14 + 1.0); if ((float)local_b0 <= (float)local_e4) { local_e4 = local_b0; } } else { - local_e4 = (EntityPtr) - (*(float *)(*(int *)&in_ECX->field_0x4 + 0x39c) + - (float)in_ECX[1]._technology2Laser); + local_e4 = (Entity_Laser *) + (*(float *)((int)in_ECX->_owner + 0x39c) + + *(float *)&in_ECX->field_0x14); if ((float)local_b0 <= (float)local_e4) { local_e4 = local_b0; } } } - EVar14 = local_e4; + pEVar16 = local_e4; Weapon::SetBlinkTime(); local_dc = local_f4; local_d8 = local_f8; } if ((char)local_130 != '\0') { - fVar21 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); - local_110 = (EntityPtr)(float)fVar21; - if ((float)local_110 <= (float)in_ECX[1]._technology2Laser) { + fVar25 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); + local_110 = (Entity_Laser *)(float)fVar25; + if ((float)local_110 <= *(float *)&in_ECX->field_0x14) { Weapon::UpdateHeadChargeAnimation(0x13c,1,&local_f8,&DAT_bf800000); local_dc = local_f4; local_d8 = local_f8; - EVar14 = local_e4; + pEVar16 = local_e4; } else { - if (*(int *)&in_ECX->field_0x4 != 0) { - if (*(int *)(*(int *)&in_ECX->field_0x4 + 0x28) == 1) { - fVar22 = 0.0; + if (in_ECX->_owner != (void *)0x0) { + if (*(int *)((int)in_ECX->_owner + 0x28) == 1) { + fVar26 = 0.0; } else { - fVar22 = ((float)in_ECX[1]._technology2Laser / (float)local_110) * 18.0; + fVar26 = (*(float *)&in_ECX->field_0x14 / (float)local_110) * 18.0; } - Weapon::UpdateHeadChargeAnimation(0x13c,0,&local_f8,fVar22); + Weapon::UpdateHeadChargeAnimation(0x13c,0,&local_f8,fVar26); local_d8 = local_f8; local_dc = local_f4; } - if (*(int *)&in_ECX->field_0x4 == 0) { - EVar14 = (EntityPtr)((float)in_ECX[1]._technology2Laser + 1.0); - if ((float)local_110 <= (float)EVar14) { - EVar14 = local_110; + if (in_ECX->_owner == (void *)0x0) { + pEVar16 = (Entity_Laser *)(*(float *)&in_ECX->field_0x14 + 1.0); + if ((float)local_110 <= (float)pEVar16) { + pEVar16 = local_110; } } else { - EVar14 = (EntityPtr) - (*(float *)(*(int *)&in_ECX->field_0x4 + 0x39c) + - (float)in_ECX[1]._technology2Laser); - if ((float)local_110 <= (float)EVar14) { - EVar14 = local_110; + pEVar16 = (Entity_Laser *) + (*(float *)((int)in_ECX->_owner + 0x39c) + *(float *)&in_ECX->field_0x14 + ); + if ((float)local_110 <= (float)pEVar16) { + pEVar16 = local_110; } } } - EVar10 = local_110; + pEVar27 = local_110; Weapon::SetBlinkTime(); - in_ECX[5]._technology2Laser = - (EntityPtr)(int)((((float)EVar14 + 1.0) * 5.0) / ((float)EVar10 + 1.0)); + *(int *)&in_ECX[1].field_0xc = + (int)((((float)pEVar16 + 1.0) * 5.0) / ((float)pEVar27 + 1.0)); } - in_ECX[1]._technology2Laser = EVar14; - *(EntityPtr *)(in_ECX + 6) = EVar14; + *(Entity_Laser **)&in_ECX->field_0x14 = pEVar16; + *(Entity_Laser **)&in_ECX[1].field_0x10 = pEVar16; } if ((char)param_2 != '\0') { - bVar3 = Weapon::IsAxisAligned(in_ECX); - if (bVar3 == 0) { - pEVar15 = (EntityPtr *)Weapon::get_aim_direction(&local_154,&local_f8); + bVar4 = Weapon::IsAxisAligned(in_ECX); + if (bVar4 == 0) { + ppuVar15 = (undefined1 **)Weapon::get_aim_direction(&local_154,&local_f8); } else { - pEVar15 = &local_14c; + ppuVar15 = &local_14c; local_14c = local_d8; local_148 = local_dc; } - in_ECX[2]._technology2Laser = *pEVar15; - *(EntityPtr *)(in_ECX + 3) = pEVar15[1]; + *(undefined1 **)&in_ECX->field_0x20 = *ppuVar15; + *(undefined1 **)&in_ECX->field_0x24 = ppuVar15[1]; } } } else if (local_a9 == '\0') { - local_138 = in_ECX[1]._technology2Laser; + local_138 = (float)*(undefined4 *)&in_ECX->field_0x14; if (local_d4 == (Entity_Player *)0x0) { - pEVar15 = &local_14c; + ppuVar15 = &local_14c; local_14c = local_d8; local_148 = local_dc; } else { - pEVar15 = (EntityPtr *)Isaac::GetAxisAlignedUnitVectorFromDir(); + ppuVar15 = (undefined1 **)Isaac::GetAxisAlignedUnitVectorFromDir(); } - local_120 = *pEVar15; - local_11c = pEVar15[1]; - fVar21 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); - local_e4 = (EntityPtr)(float)fVar21; - if ((float)local_e4 <= (float)in_ECX[1]._technology2Laser) { + local_120 = (Entity_Laser *)*ppuVar15; + local_11c = (Entity_Laser *)ppuVar15[1]; + fVar25 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); + local_e4 = (Entity_Laser *)(float)fVar25; + if ((float)local_e4 <= *(float *)&in_ECX->field_0x14) { Weapon::UpdateHeadChargeAnimation(0x255,1,&local_120,&DAT_bf800000); - in_ECX[1]._technology2Laser = local_138; - *(EntityPtr *)(in_ECX + 6) = local_138; + *(float *)&in_ECX->field_0x14 = local_138; + *(float *)&in_ECX[1].field_0x10 = local_138; } else { Weapon::UpdateHeadChargeAnimation - (0x255,0,&local_120, - ((float)in_ECX[1]._technology2Laser / (float)local_e4) * 18.0); - if (*(int *)&in_ECX->field_0x4 == 0) { - EVar14 = (EntityPtr)((float)in_ECX[1]._technology2Laser + 1.0); - if ((float)local_e4 <= (float)EVar14) { - EVar14 = local_e4; + (0x255,0,&local_120,(*(float *)&in_ECX->field_0x14 / (float)local_e4) * 18.0); + if (in_ECX->_owner == (void *)0x0) { + pEVar16 = (Entity_Laser *)(*(float *)&in_ECX->field_0x14 + 1.0); + if ((float)local_e4 <= (float)pEVar16) { + pEVar16 = local_e4; } - in_ECX[1]._technology2Laser = EVar14; - *(EntityPtr *)(in_ECX + 6) = EVar14; + *(Entity_Laser **)&in_ECX->field_0x14 = pEVar16; + *(Entity_Laser **)&in_ECX[1].field_0x10 = pEVar16; } else { - EVar14 = (EntityPtr) - (*(float *)(*(int *)&in_ECX->field_0x4 + 0x39c) + - (float)in_ECX[1]._technology2Laser); - if ((float)local_e4 <= (float)EVar14) { - EVar14 = local_e4; + pEVar16 = (Entity_Laser *) + (*(float *)((int)in_ECX->_owner + 0x39c) + *(float *)&in_ECX->field_0x14); + if ((float)local_e4 <= (float)pEVar16) { + pEVar16 = local_e4; } - in_ECX[1]._technology2Laser = EVar14; - *(EntityPtr *)(in_ECX + 6) = EVar14; + *(Entity_Laser **)&in_ECX->field_0x14 = pEVar16; + *(Entity_Laser **)&in_ECX[1].field_0x10 = pEVar16; } } } else { - fVar21 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); - fVar22 = 1.0; - local_e4 = (EntityPtr)(float)(fVar21 + (float10)1.0); - local_138 = (EntityPtr)((float)in_ECX[1]._technology2Laser + 1.0); + fVar25 = (float10)(**(code **)(*(int *)in_ECX + 0x18))(); + fVar26 = 1.0; + local_e4 = (Entity_Laser *)(float)(fVar25 + (float10)1.0); + local_138 = *(float *)&in_ECX->field_0x14 + 1.0; if ((float)local_e4 == 0.0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Start and End parameters cannot be the same!"); } - fVar24 = ((float)local_138 - 0.0) / ((float)local_e4 - 0.0); - fVar23 = *(float *)&in_ECX[1].field_0x4 + 1.0; - if (fVar23 <= 1.0) { - fVar23 = 1.0; + fVar29 = (local_138 - 0.0) / ((float)local_e4 - 0.0); + fVar28 = *(float *)&in_ECX->field_0x10 + 1.0; + if (fVar28 <= 1.0) { + fVar28 = 1.0; } - if (*(int *)&in_ECX->field_0x4 != 0) { - fVar22 = *(float *)(*(int *)&in_ECX->field_0x4 + 0x39c); + if (in_ECX->_owner != (void *)0x0) { + fVar26 = *(float *)((int)in_ECX->_owner + 0x39c); } - EVar14 = (EntityPtr) - ((float)in_ECX[1]._technology2Laser - - fVar22 * ((fVar23 - 1.0) * fVar24 * fVar24 + 1.0)); - if ((float)EVar14 <= 0.0) { - EVar14 = (EntityPtr)0x0; + fVar26 = *(float *)&in_ECX->field_0x14 - fVar26 * ((fVar28 - 1.0) * fVar29 * fVar29 + 1.0); + if (fVar26 <= 0.0) { + fVar26 = 0.0; } - in_ECX[1]._technology2Laser = EVar14; - *(EntityPtr *)(in_ECX + 6) = EVar14; + *(float *)&in_ECX->field_0x14 = fVar26; + *(float *)&in_ECX[1].field_0x10 = fVar26; } ExceptionList = local_10; return; @@ -947460,22 +949001,22 @@ undefined4 Weapon_Tears::CanTriggerCursedEyeTeleport(void) /* DB: vftable */ -EntityPtr Weapon_TechX::Fire(EntityPtr *param_1,undefined4 param_2,undefined4 param_3) +float * Weapon_TechX::Fire(float *param_1,undefined4 param_2,undefined4 param_3) { - bool bVar1; + void *pvVar1; bool bVar2; - byte bVar3; - EntityPtr EVar4; - int iVar5; - float *pfVar6; + bool bVar3; + byte bVar4; + float *pfVar5; + void *pvVar6; int *piVar7; int iVar8; - EntityPtr *pEVar9; + undefined4 *puVar9; Weapon *in_ECX; Entity_Player *pEVar10; undefined4 extraout_ECX; - EntityPtr EVar11; + float *pfVar11; Entity_Player *this; uint uVar12; float fVar13; @@ -947488,10 +949029,10 @@ EntityPtr Weapon_TechX::Fire(EntityPtr *param_1,undefined4 param_2,undefined4 pa float local_7c; float local_70; float local_6c; - EntityPtr local_68; - EntityPtr local_64; + float local_68; + float local_64; float local_60; - EntityPtr local_5c; + float local_5c; float local_58; float fStack_54; float fStack_50; @@ -947507,11 +949048,11 @@ EntityPtr Weapon_TechX::Fire(EntityPtr *param_1,undefined4 param_2,undefined4 pa undefined4 uStack_24; uint uStack_20; - EVar4 = (EntityPtr)Weapon::Fire(param_1,param_2,param_3); + pfVar5 = (float *)Weapon::Fire(param_1,param_2,param_3); if ((char)param_3 != '\0') { - return EVar4; + return pfVar5; } - pEVar10 = *(Entity_Player **)&in_ECX->field_0x4; + pEVar10 = in_ECX->_owner; if (pEVar10 == (Entity_Player *)0x0) { LAB_00a0da10: this = (Entity_Player *)0x0; @@ -947537,53 +949078,53 @@ LAB_00a0da2f: } if (this == (Entity_Player *)0x0) { LAB_00a0da62: - bVar1 = false; + bVar2 = false; } else { - bVar3 = Entity_Player::HasCollectible(this,0x18a,0); - bVar1 = true; - if (bVar3 == 0) goto LAB_00a0da62; + bVar4 = Entity_Player::HasCollectible(this,0x18a,0); + bVar2 = true; + if (bVar4 == 0) goto LAB_00a0da62; } - if (((*(uint *)&in_ECX[4].field_0x4 >> 7 & 1) != 0) || - (bVar2 = false, *(float *)&in_ECX[1].field_0x4 <= 0.0)) { + if ((((uint)in_ECX->_modifiers >> 7 & 1) != 0) || + (bVar3 = false, *(float *)&in_ECX->field_0x10 <= 0.0)) { + bVar3 = true; + } + pvVar1 = in_ECX->_owner; + local_7c = -1000.0; + if (pvVar1 == (void *)0x0) { +LAB_00a0dae1: + fVar18 = *(float *)&in_ECX->field_0x28; + fVar15 = *(float *)&in_ECX->field_0x2c; + } + else { + if (*(int *)((int)pvVar1 + 0x28) == 1) { + pvVar6 = pvVar1; + } + else if ((*(int *)((int)pvVar1 + 0x28) != 3) || + (pvVar6 = *(void **)((int)pvVar1 + 0x410), pvVar6 == (void *)0x0)) goto LAB_00a0dae1; + iVar8 = *(int *)((int)pvVar6 + 0x140c); + if ((iVar8 == 0) || (!bVar2)) goto LAB_00a0dae1; + fVar18 = *(float *)(iVar8 + 0x33c); + fVar15 = *(float *)(iVar8 + 0x340); + } + if ((fVar18 == g_vectorZero.x) && (fVar15 == g_vectorZero.y)) { + bVar2 = false; + } + else { bVar2 = true; } - iVar8 = *(int *)&in_ECX->field_0x4; - local_7c = -1000.0; - if (iVar8 == 0) { -LAB_00a0dae1: - fVar18 = *(float *)&in_ECX[3].field_0x4; - EVar4 = in_ECX[3]._technology2Laser; - } - else { - if (*(int *)(iVar8 + 0x28) == 1) { - iVar5 = iVar8; - } - else if ((*(int *)(iVar8 + 0x28) != 3) || (iVar5 = *(int *)(iVar8 + 0x410), iVar5 == 0)) - goto LAB_00a0dae1; - iVar5 = *(int *)(iVar5 + 0x140c); - if ((iVar5 == 0) || (!bVar1)) goto LAB_00a0dae1; - fVar18 = *(float *)(iVar5 + 0x33c); - EVar4 = *(EntityPtr *)(iVar5 + 0x340); - } - if ((fVar18 == g_vectorZero.x) && ((float)EVar4 == g_vectorZero.y)) { - bVar1 = false; - } - else { - bVar1 = true; - } local_60 = fVar18; - local_5c = EVar4; + local_5c = fVar15; if ((char)param_2 != '\0') { - if (bVar2) { - local_7c = *(float *)&in_ECX[1].field_0x4 * 3.0; + if (bVar3) { + local_7c = *(float *)&in_ECX->field_0x10 * 3.0; } - else if (bVar1) { - pfVar6 = (float *)Weapon::get_owner_position(&local_58); - fVar18 = ((float)EVar4 - pfVar6[1]) * ((float)EVar4 - pfVar6[1]) + - (fVar18 - *pfVar6) * (fVar18 - *pfVar6); + else if (bVar2) { + pfVar5 = (float *)Weapon::get_owner_position(&local_58); + fVar18 = (fVar15 - pfVar5[1]) * (fVar15 - pfVar5[1]) + (fVar18 - *pfVar5) * (fVar18 - *pfVar5) + ; sqrtf(); - local_7c = *(float *)&in_ECX[1].field_0x4; + local_7c = *(float *)&in_ECX->field_0x10; fVar18 = (fVar18 - 50.0) / 250.0; if (fVar18 <= 0.0) { fVar18 = 0.0; @@ -947594,56 +949135,57 @@ LAB_00a0dae1: local_7c = (local_7c * 3.0 - local_7c) * fVar18 + local_7c; } } - if ((((iVar8 != 0) && (*(int *)(iVar8 + 0x28) == 1)) && (0 < *(int *)(iVar8 + 0x18f8))) && - (local_7c = *(float *)&in_ECX[1].field_0x4, local_7c < 1.0)) { + if ((((pvVar1 != (void *)0x0) && (*(int *)((int)pvVar1 + 0x28) == 1)) && + (0 < *(int *)((int)pvVar1 + 0x18f8))) && + (local_7c = *(float *)&in_ECX->field_0x10, local_7c < 1.0)) { local_7c = 1.0; } local_80 = (char)param_2; - if ((-1000.0 < local_7c) && (local_7c <= (float)in_ECX[1]._technology2Laser)) { + if ((-1000.0 < local_7c) && (local_7c <= *(float *)&in_ECX->field_0x14)) { local_80 = '\0'; } local_68 = *param_1; local_64 = param_1[1]; if ((char)param_2 == '\0') { - local_68 = in_ECX[2]._technology2Laser; - local_64 = *(EntityPtr *)(in_ECX + 3); + local_68 = *(float *)&in_ECX->field_0x20; + local_64 = *(float *)&in_ECX->field_0x24; } - bVar3 = Weapon::IsAxisAligned(in_ECX); - if (bVar3 == 0) { - fVar18 = (float)local_68 * (float)local_68 + (float)local_64 * (float)local_64; - EVar4 = (EntityPtr)sqrtf(); + bVar4 = Weapon::IsAxisAligned(in_ECX); + if (bVar4 == 0) { + fVar18 = local_68 * local_68 + local_64 * local_64; + pfVar5 = (float *)sqrtf(); if (0.0 < fVar18) { - local_68 = (EntityPtr)((1.0 / fVar18) * (float)local_68); - local_64 = (EntityPtr)((float)local_64 * (1.0 / fVar18)); + local_68 = (1.0 / fVar18) * local_68; + local_64 = local_64 * (1.0 / fVar18); } } else { - EVar4 = (EntityPtr)Vector::ToCardinal(); - local_68 = *(EntityPtr *)EVar4; - local_64 = *(EntityPtr *)((int)EVar4 + 4); + pfVar5 = (float *)Vector::ToCardinal(); + local_68 = *pfVar5; + local_64 = pfVar5[1]; } - fVar15 = 1.0; - fVar18 = *(float *)&in_ECX[1].field_0x4; - EVar11 = in_ECX[1]._technology2Laser; + fVar16 = 1.0; + fVar18 = *(float *)&in_ECX->field_0x10; + fVar15 = *(float *)&in_ECX->field_0x14; if (local_80 == '\0') { if (fVar18 < 1.0) { - fVar15 = 1.0; + fVar16 = 1.0; } else { - fVar15 = fVar18; + fVar16 = fVar18; } - if ((fVar15 <= (float)EVar11) || ((-1000.0 < local_7c && (local_7c <= (float)EVar11)))) { - *(float *)(in_ECX + 1) = fVar18; + if ((fVar16 <= fVar15) || ((-1000.0 < local_7c && (local_7c <= fVar15)))) { + *(float *)&in_ECX->field_0xc = fVar18; Weapon::SetBlinkTime(); Weapon::TriggerTearEffects(&local_68,1); Weapon::get_owner_position(&local_60); - fVar15 = (float)local_68 * 10.0; - fVar16 = (float)local_64 * 10.0; - pfVar6 = (float *)Weapon::get_tear_movement_inheritance(&local_58,&local_68); - fVar17 = *(float *)&in_ECX[1].field_0x4 + 1.0; - fVar15 = fVar15 + *pfVar6; - fVar18 = (float)in_ECX[1]._technology2Laser + 1.0; - fVar16 = fVar16 + pfVar6[1]; + fVar15 = local_68 * 10.0; + fVar16 = local_64 * 10.0; + pfVar5 = (float *)Weapon::get_tear_movement_inheritance(&local_58,&local_68); + fVar17 = *(float *)&in_ECX->field_0x10 + 1.0; + fVar15 = fVar15 + *pfVar5; + fVar18 = *(float *)&in_ECX->field_0x14 + 1.0; + fVar16 = fVar16 + pfVar5[1]; if (fVar17 * 3.0 <= fVar18) { fVar18 = fVar17 * 3.0; } @@ -947689,57 +949231,55 @@ LAB_00a0dae1: (&fStack_50,iVar8,9,local_70,local_6c,fVar13,local_40,uStack_3c,uStack_38, uStack_34,uStack_30,uStack_2c,uStack_28,uStack_24,uStack_20); local_58 = local_60 + fStack_50; - fStack_54 = fStack_4c + (float)local_5c; + fStack_54 = fStack_4c + local_5c; piVar7 = (int *)Weapon::fire_tech_x_laser(&local_58,auStack_48,fVar18); (**(code **)(*piVar7 + 0xc))(); iVar8 = iVar8 + 1; } while (iVar8 < (short)local_40); } - EVar4 = *(EntityPtr *)&in_ECX->field_0x4; - if ((((EVar4 == (EntityPtr)0x0) || - (EVar11 = EVar4, *(EntityPtr *)((int)EVar4 + 0x28) != (EntityPtr)0x1)) && - (EVar11 = (EntityPtr)0x0, EVar4 != (EntityPtr)0x0)) && - (*(EntityPtr *)((int)EVar4 + 0x28) == (EntityPtr)0x3)) { - *(EntityPtr *)((int)EVar4 + 0xd4c) = (EntityPtr)0x0; + pfVar5 = in_ECX->_owner; + if ((((pfVar5 == (float *)0x0) || (pfVar11 = pfVar5, pfVar5[10] != 1.4013e-45)) && + (pfVar11 = (float *)0x0, pfVar5 != (float *)0x0)) && (pfVar5[10] == 4.2039e-45)) { + pfVar5[0x353] = 0.0; } else { - EVar4 = (EntityPtr)0x0; - if (EVar11 != (EntityPtr)0x0) { - EVar4 = (EntityPtr)Entity_Player::stop_costume_item_anims(); - in_ECX[1]._technology2Laser = (EntityPtr)0x0; + pfVar5 = (float *)0x0; + if (pfVar11 != (float *)0x0) { + pfVar5 = (float *)Entity_Player::stop_costume_item_anims(); + *(undefined4 *)&in_ECX->field_0x14 = 0; goto LAB_00a0e1fe; } } } - in_ECX[1]._technology2Laser = (EntityPtr)0x0; + *(undefined4 *)&in_ECX->field_0x14 = 0; } else { - if (fVar18 * 3.0 <= (float)EVar11) { + if (fVar18 * 3.0 <= fVar15) { Weapon::UpdateHeadChargeAnimation(0x18b,1,param_1,&DAT_bf800000); } else { - if (*(int *)&in_ECX->field_0x4 != 0) { - fVar15 = *(float *)(*(int *)&in_ECX->field_0x4 + 0x39c); + if (in_ECX->_owner != (void *)0x0) { + fVar16 = *(float *)((int)in_ECX->_owner + 0x39c); } - in_ECX[1]._technology2Laser = (EntityPtr)((float)EVar11 + fVar15); + *(float *)&in_ECX->field_0x14 = fVar15 + fVar16; } - EVar4 = (EntityPtr)Weapon::SetBlinkTime(); + pfVar5 = (float *)Weapon::SetBlinkTime(); } LAB_00a0e1fe: if ((char)param_2 != '\0') { - bVar3 = Weapon::IsAxisAligned(in_ECX); - if (bVar3 != 0) { - EVar4 = param_1[1]; - in_ECX[2]._technology2Laser = *param_1; - *(EntityPtr *)(in_ECX + 3) = EVar4; - return EVar4; + bVar4 = Weapon::IsAxisAligned(in_ECX); + if (bVar4 != 0) { + pfVar5 = (float *)param_1[1]; + *(float *)&in_ECX->field_0x20 = *param_1; + *(float **)&in_ECX->field_0x24 = pfVar5; + return pfVar5; } - pEVar9 = (EntityPtr *)Weapon::get_aim_direction(&local_60,param_1); - in_ECX[2]._technology2Laser = *pEVar9; - EVar4 = pEVar9[1]; - *(EntityPtr *)(in_ECX + 3) = EVar4; + puVar9 = (undefined4 *)Weapon::get_aim_direction(&local_60,param_1); + *(undefined4 *)&in_ECX->field_0x20 = *puVar9; + pfVar5 = (float *)puVar9[1]; + *(float **)&in_ECX->field_0x24 = pfVar5; } - return EVar4; + return pfVar5; } @@ -947763,27 +949303,28 @@ float10 Weapon_TechX::GetMaxCharge(void) void Weapon_UmbilicalWhip::Fire(undefined4 *param_1,undefined4 param_2,undefined4 param_3) { - EntityPtr *pEVar1; + undefined1 *puVar1; Manager *pMVar2; byte bVar3; int iVar4; undefined4 *puVar5; undefined4 uVar6; undefined4 uVar7; - EntityPtr EVar8; - EntityPtr EVar9; + int iVar8; + int *piVar9; Weapon *in_ECX; float fVar10; - float fVar11; - float fVar12; + void *pvVar11; + EntityPtr EVar12; + float fVar13; Entity_Player *local_2c; - EntityPtr *apEStack_20 [2]; + int *apiStack_20 [2]; undefined4 uStack_18; float fStack_14; undefined1 auStack_10 [12]; Weapon::Fire(param_1,param_2,param_3); - local_2c = *(Entity_Player **)&in_ECX->field_0x4; + local_2c = in_ECX->_owner; if (local_2c == (Entity_Player *)0x0) { LAB_00a0e2c3: local_2c = (Entity_Player *)0x0; @@ -947797,22 +949338,23 @@ LAB_00a0e2c3: Entity_Player::HasCollectible(local_2c,0x18a,0); } LAB_00a0e2cb: - EVar9 = in_ECX[5]._technology2Laser; + piVar9 = *(int **)&in_ECX[1].field_0xc; iVar4 = 0; - if (EVar9 != (EntityPtr)0x0) { - iVar4 = (*(char *)((int)EVar9 + 0x171) != '\0') + 1; + if (piVar9 != (int *)0x0) { + iVar4 = (*(char *)((int)piVar9 + 0x171) != '\0') + 1; } - *(int *)&in_ECX[2].field_0x4 = iVar4; - if (((char)param_2 != '\0') && (*(float *)(in_ECX + 1) <= 0.0 && *(float *)(in_ECX + 1) != 0.0)) { + *(int *)&in_ECX->field_0x1c = iVar4; + if (((char)param_2 != '\0') && + (*(float *)&in_ECX->field_0xc <= 0.0 && *(float *)&in_ECX->field_0xc != 0.0)) { if ((char)param_3 != '\0') { return; } - if ((EVar9 != (EntityPtr)0x0) && (*(int *)((int)EVar9 + 0xd88) == 1)) { - (**(code **)(*(int *)EVar9 + 0x28))(); - EVar9 = in_ECX[5]._technology2Laser; + if ((piVar9 != (int *)0x0) && (piVar9[0x362] == 1)) { + (**(code **)(*piVar9 + 0x28))(); + piVar9 = *(int **)&in_ECX[1].field_0xc; } - if (EVar9 == (EntityPtr)0x0) { - *(float *)(in_ECX + 1) = *(float *)&in_ECX[1].field_0x4 + *(float *)&in_ECX[1].field_0x4; + if (piVar9 == (int *)0x0) { + *(float *)&in_ECX->field_0xc = *(float *)&in_ECX->field_0x10 + *(float *)&in_ECX->field_0x10; Weapon::SetBlinkTime(); uStack_18 = *param_1; fStack_14 = (float)param_1[1]; @@ -947825,72 +949367,72 @@ LAB_00a0e2cb: uStack_18 = *puVar5; fStack_14 = (float)puVar5[1]; } - apEStack_20[0] = (EntityPtr *)(fStack_14 * 10.0); + apiStack_20[0] = (int *)(fStack_14 * 10.0); Weapon::get_tear_movement_inheritance(auStack_10,&uStack_18); puVar5 = (undefined4 *)Vector::Normalized(auStack_10); uStack_18 = *puVar5; fStack_14 = (float)puVar5[1]; uVar6 = Random(); uVar7 = Weapon::get_owner_position(auStack_10); - EVar8 = (EntityPtr)Game::SpawnEx(g_game,3,0xf0,uVar7,&g_vectorZero,local_2c,0,uVar6,0); - EVar9 = in_ECX[5]._technology2Laser; - pEVar1 = &in_ECX[5]._technology2Laser; - if (EVar9 != EVar8) { - if (EVar9 != (EntityPtr)0x0) { - apEStack_20[0] = pEVar1; - std::multiset::erase(apEStack_20); + iVar8 = Game::SpawnEx(g_game,3,0xf0,uVar7,&g_vectorZero,local_2c,0,uVar6,0); + iVar4 = *(int *)&in_ECX[1].field_0xc; + puVar1 = &in_ECX[1].field_0xc; + if (iVar4 != iVar8) { + if (iVar4 != 0) { + apiStack_20[0] = (int *)puVar1; + std::multiset::erase(apiStack_20); } - *pEVar1 = EVar8; - EVar9 = (EntityPtr)0x0; - if (EVar8 != (EntityPtr)0x0) { - std::multiset::insert(pEVar1); - EVar9 = *pEVar1; + *(int *)puVar1 = iVar8; + iVar4 = 0; + if (iVar8 != 0) { + std::multiset::insert(puVar1); + iVar4 = *(int *)puVar1; } } - *(uint *)((int)EVar9 + 0x168) = *(uint *)((int)EVar9 + 0x168) & 0xfffffffb; - *(undefined4 *)((int)EVar9 + 0x16c) = *(undefined4 *)((int)EVar9 + 0x16c); + *(uint *)(iVar4 + 0x168) = *(uint *)(iVar4 + 0x168) & 0xfffffffb; + *(undefined4 *)(iVar4 + 0x16c) = *(undefined4 *)(iVar4 + 0x16c); puVar5 = (undefined4 *)Vector::Normalized(auStack_10); uVar6 = puVar5[1]; - EVar9 = *pEVar1; - *(undefined4 *)((int)EVar9 + 0x334) = *puVar5; - *(undefined4 *)((int)EVar9 + 0x338) = uVar6; - (**(code **)(*(int *)*pEVar1 + 0xc))(); + iVar4 = *(int *)puVar1; + *(undefined4 *)(iVar4 + 0x334) = *puVar5; + *(undefined4 *)(iVar4 + 0x338) = uVar6; + (**(code **)(**(int **)puVar1 + 0xc))(); pMVar2 = g_manager; seed_fart_sound_override(); SoundEffects::Play(&pMVar2->_sfxManager,0x1ee,1.0,2,0,1.0,0.0); Weapon::TriggerTearEffects(&uStack_18,1); - EVar9 = in_ECX[5]._technology2Laser; + piVar9 = *(int **)&in_ECX[1].field_0xc; } } - if (EVar9 == (EntityPtr)0x0) { - *(float *)(in_ECX + 5) = g_vectorZero.x; - *(float *)&in_ECX[5].field_0x4 = g_vectorZero.y; + if (piVar9 == (int *)0x0) { + in_ECX[1]._owner = (void *)g_vectorZero.x; + in_ECX[1]._technology2Laser = (EntityPtr)g_vectorZero.y; } else { - iVar4 = *(int *)&in_ECX->field_0x4; - if (iVar4 == 0) { - fVar11 = g_vectorZero.x; - fVar12 = g_vectorZero.y; + pvVar11 = in_ECX->_owner; + if (pvVar11 == (void *)0x0) { + fVar10 = g_vectorZero.x; + fVar13 = g_vectorZero.y; } else { - fVar11 = *(float *)(iVar4 + 0x33c); - fVar12 = *(float *)(iVar4 + 0x340); + fVar10 = *(float *)((int)pvVar11 + 0x33c); + fVar13 = *(float *)((int)pvVar11 + 0x340); } - fVar11 = *(float *)((int)EVar9 + 0x33c) - fVar11; - fVar12 = *(float *)((int)EVar9 + 0x340) - fVar12; - fVar10 = fVar11 * fVar11 + fVar12 * fVar12; + pvVar11 = (void *)((float)piVar9[0xcf] - fVar10); + EVar12 = (EntityPtr)((float)piVar9[0xd0] - fVar13); + fVar10 = (float)pvVar11 * (float)pvVar11 + (float)EVar12 * (float)EVar12; sqrtf(); if (fVar10 <= 0.0) { - *(float *)(in_ECX + 5) = fVar11; - *(float *)&in_ECX[5].field_0x4 = fVar12; + in_ECX[1]._owner = pvVar11; + in_ECX[1]._technology2Laser = EVar12; } else { - *(float *)(in_ECX + 5) = fVar11 * (1.0 / fVar10); - *(float *)&in_ECX[5].field_0x4 = fVar12 * (1.0 / fVar10); + in_ECX[1]._owner = (void *)((float)pvVar11 * (1.0 / fVar10)); + in_ECX[1]._technology2Laser = (EntityPtr)((float)EVar12 * (1.0 / fVar10)); } } - if (((char)param_2 == '\0') && (in_ECX[5]._technology2Laser != (EntityPtr)0x0)) { - *(undefined4 *)((int)in_ECX[5]._technology2Laser + 0xd88) = 1; + if (((char)param_2 == '\0') && (*(int *)&in_ECX[1].field_0xc != 0)) { + *(undefined4 *)(*(int *)&in_ECX[1].field_0xc + 0xd88) = 1; } return; } @@ -948794,9 +950336,13 @@ undefined1 (*) [16] FUN_00a0fa70(undefined1 (*param_1) [16],undefined4 *param_2) } -//@@ 00a0fb60 FUN_00a0fb60 +//@@ 00a0fb60 KColor::hsl_to_rgb -void FUN_00a0fb60(float *param_1,float *param_2) +/* DB: ? (out, in) KColor: "Specified color isn't in the HSL color space" unless in[4] (space tag) + == 2; h/360, s*0.01, l*0.01, achromatic shortcut, standard hue2rgb with 1/3 offsets, copies alpha + and sets out space tag 0; next to KColor::KColor (00a0f690) */ + +void KColor::hsl_to_rgb(float *param_1,float *param_2) { float fVar1; @@ -948922,7 +950468,7 @@ undefined4 * FUN_00a0fdb0(undefined4 *param_1,undefined4 *param_2) uStack_14 = param_2[1]; uStack_10 = param_2[2]; uStack_c = param_2[3]; - puVar4 = (undefined4 *)FUN_00a0fb60(local_2c,&local_18); + puVar4 = (undefined4 *)KColor::hsl_to_rgb(local_2c,&local_18); local_18 = *puVar4; uStack_14 = puVar4[1]; uStack_10 = puVar4[2]; @@ -951346,14 +952892,18 @@ bool FUN_00a12420(void) } -//@@ 00a12430 FUN_00a12430 +//@@ 00a12430 KAGE::Graphics::ImageBase::set_palette /* WARNING: Removing unreachable block (ram,0x00a1260c) */ /* WARNING: Removing unreachable block (ram,0x00a1261b) */ /* WARNING: Removing unreachable block (ram,0x00a1262b) */ /* WARNING: Removing unreachable block (ram,0x00a12631) */ +/* DB: vtable slot 3 of KAGE::Graphics::ImageBase and all Image* subclasses; "Attempting to set + palette on an image that isn't indexed" (vfunc +8 is_indexed), "Specified palette is larger than + 256 texels in size", names the palette image "%s - Palette" from this+0x44/+0x40 or "unknown", + creates/updates the palette texture (this+0x2c) */ -void FUN_00a12430(undefined4 param_1,uint param_2,char *param_3) +void KAGE::Graphics::ImageBase::set_palette(undefined4 param_1,uint param_2,char *param_3) { char cVar1; @@ -951397,13 +952947,13 @@ void FUN_00a12430(undefined4 param_1,uint param_2,char *param_3) } else { FUN_00a69950(); - *extraout_ECX = (int)KAGE::Graphics::ImagePalette::vftable; + *extraout_ECX = (int)ImagePalette::vftable; extraout_ECX[2] = extraout_ECX[2] | 4; extraout_ECX[3] = extraout_ECX[3]; piVar3 = extraout_ECX; } in_ECX[0xb] = (int)piVar3; - local_14 = KAGE::Filesys::BufferedStream::vftable; + local_14 = Filesys::BufferedStream::vftable; local_8 = 0; cVar1 = (**(code **)(*piVar3 + 0x38))(&local_14,&DAT_00c943d8); if ((cVar1 == '\0') && ((int *)in_ECX[0xb] != (int *)0x0)) { @@ -952648,7 +954198,7 @@ undefined4 * kage_graphics_flush(int param_1) ExceptionList = &local_1c; if ((((g_graphicsManager_blendMode[0] == 0) && (g_graphicsManager_blendMode[1] == 1)) && (g_graphicsManager_blendMode[2] == 0)) && - ((g_graphicsManager_blendMode[3] == 1 && (DAT_00c79910 == 0)))) { + ((g_graphicsManager_blendMode[3] == 1 && (g_graphicsManager_blendMode[4] == 0)))) { bVar10 = 0; } else { @@ -953552,7 +955102,7 @@ void FUN_00a145e0(byte param_1) undefined4 *in_ECX; *in_ECX = KAGE::Graphics::ShaderBase::vftable; - FUN_00a149a0(); + KAGE::Graphics::ShaderBase::free_uniforms(); FID_conflict__Tidy(in_ECX + 0x10); FUN_00a15310(); if ((param_1 & 1) != 0) { @@ -953732,9 +955282,13 @@ undefined1 FUN_00a147e0(undefined4 param_1,undefined4 param_2,undefined4 param_3 } -//@@ 00a149a0 FUN_00a149a0 +//@@ 00a149a0 KAGE::Graphics::ShaderBase::free_uniforms -void FUN_00a149a0(void) +/* DB: ? frees the 8-byte param entries (+0xc, count +0x10) and the 0x18-byte uniform records + (+0x34..+0x38) through the tracked heap; called by the ShaderBase dtors + 00a145e0/00a24620/00a24660, ModManager::unload_shaders and Isaac::Shutdown */ + +void KAGE::Graphics::ShaderBase::free_uniforms(void) { uint uVar1; @@ -955420,9 +956974,14 @@ byte * FUN_00a16220(void) } -//@@ 00a163f0 FUN_00a163f0 +//@@ 00a163f0 filesys_list_directory_mounts -uint * FUN_00a163f0(undefined4 param_1,int *param_2) +/* DB: ? (dir, int* count) like filesys_list_directory 00a16610 filesys_list_directory loops the mount root vector + DAT_00c379e8..ec: path_join per root, platform filesystem vfunc +0x20 (PTR_vftable_00c379e0) + appends entries, then new[] of 8-byte {flags & ~0x10, name}; only caller FUN_00926510 on + "%s/save_backups/" */ + +uint * filesys_list_directory_mounts(undefined4 param_1,int *param_2) { uint uVar1; @@ -956111,11 +957670,13 @@ void FUN_00a16ec0(void) } -//@@ 00a16f50 FUN_00a16f50 +//@@ 00a16f50 opendir /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: dirent.h for Windows (opendir with _wopendir inlined): mbstowcs_s path, GetFullPathNameW, + FindFirstFileW into a DIR struct (handle at +0x46c); only caller win32_opendir */ -void * FUN_00a16f50(void) +void * opendir(void) { WCHAR WVar1; @@ -956349,7 +957910,7 @@ void win32_opendir(char *param_1,int param_2) strncmp(DAT_00c5aa98,_Str2,(int)pcVar9 - (int)(DAT_00c5aa98 + 1)); } } - _Memory_00 = (undefined4 *)FUN_00a16f50(uVar4); + _Memory_00 = (undefined4 *)opendir(uVar4); if (_Memory_00 == (undefined4 *)0x0) { ExceptionList = local_10; return; @@ -956728,11 +958289,16 @@ LAB_00a1795c: } -//@@ 00a179c0 FUN_00a179c0 +//@@ 00a179c0 KAGE_Filesys_FileManager::LoadArchiveFile /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: REPENTOGON KAGE_Filesys_FileManager.zhl static LoadArchiveFile(char* path, int, ushort): same + 0xe64 frame (sub esp,0xe64 matches the zhl sig prefix) and 3 args pushed (dword, dword, word) by + FontKerningPair::IsaacStartup; strings "Failed to open archive file '%s'", "Cannot load archive + file '%s', maximum number of archive files exceeded", "hash table is full"; + FileSystem::open_archive_file */ -void FUN_00a179c0(undefined4 param_1,uint *param_2,ushort param_3) +void KAGE_Filesys_FileManager::LoadArchiveFile(undefined4 param_1,uint *param_2,ushort param_3) { byte bVar1; @@ -957560,11 +959126,16 @@ undefined4 FUN_00a18a20(void) } -//@@ 00a18aa0 FUN_00a18aa0 +//@@ 00a18aa0 KAGE::Graphics::Manager::Manager /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: ? constructor of the global graphics manager at 0xc798e0 (returns &DAT_00c798e0): sets + KAGE::Graphics::ManagerBase::vftable then KAGE::Graphics::Manager::vftable, + g_graphicsManager_flags/blendMode defaults, KColor white, several std::list/map heads, + g_glfwWindow=0, 1920x1080 floats (0x44f00000/0x44870000); called once from the static initializer + at 402140 */ -undefined4 * FUN_00a18aa0(void) +undefined4 * KAGE::Graphics::Manager::Manager(void) { uint uVar1; @@ -957578,7 +959149,7 @@ undefined4 * FUN_00a18aa0(void) ExceptionList = &local_10; g_graphicsManager_flags = 0; local_8 = 0; - DAT_00c798e0 = KAGE::Graphics::ManagerBase::vftable; + DAT_00c798e0 = ManagerBase::vftable; KColor::SetFromARGB(0xffffffff); g_graphicsManager_blendMode[1] = 1; DAT_00c798fc = &DAT_bf800000; @@ -957588,7 +959159,7 @@ undefined4 * FUN_00a18aa0(void) g_graphicsManager_blendMode[0] = 0; g_graphicsManager_blendMode[2] = 7; g_graphicsManager_blendMode[3] = 1; - DAT_00c79910 = 7; + g_graphicsManager_blendMode[4] = 7; _DAT_00c79914 = (undefined4 *)0x0; _DAT_00c79918 = 0; _DAT_00c7991c = 0; @@ -957637,7 +959208,7 @@ undefined4 * FUN_00a18aa0(void) _DAT_00c79994 = 0xffffffff; _DAT_00c79998 = 0xffffffff; local_8 = 4; - DAT_00c798e0 = KAGE::Graphics::Manager::vftable; + DAT_00c798e0 = vftable; g_glfwWindow = (void *)0x0; DAT_00c799a4 = 0; DAT_00c799a0 = 0; @@ -957722,11 +959293,14 @@ void FUN_00a18e10(void) } -//@@ 00a18e90 FUN_00a18e90 +//@@ 00a18e90 KAGE::Graphics::Manager::Init /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: KAGE::Graphics::Manager vtable slot 1 (RTTI); KAGE::System::Init calls it with ecx=0xc798e0 + (the KAGE_Graphics instance); glfwInit + 'GLFW failed to initialize', creates window, compiles + KAGE_ColorShader/KAGE_ColorTextureShader/KAGE_IndexedTextureShader */ -undefined1 FUN_00a18e90(void) +undefined1 KAGE::Graphics::Manager::Init(void) { char cVar1; @@ -957760,7 +959334,7 @@ undefined1 FUN_00a18e90(void) local_10 = ExceptionList; ExceptionList = &local_10; DAT_00c7de7c = FUN_00a19dd0; - iVar2 = FUN_00a6a420(__security_cookie ^ (int)register0x00000010 - 4U); + iVar2 = glfwInit(__security_cookie ^ (int)register0x00000010 - 4U); if (iVar2 != 1) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"GLFW failed to initialize\n"); @@ -957786,7 +959360,7 @@ undefined1 FUN_00a18e90(void) pHVar3 = (HWND)FUN_00a5f090(); SetWindowLongA(pHVar3,iVar2,uVar5); } - cVar1 = FUN_00a19df0(); + cVar1 = KAGE_Graphics::create_window(); if (cVar1 == '\0') { ExceptionList = local_10; return 0; @@ -957841,7 +959415,7 @@ undefined1 FUN_00a18e90(void) DAT_00c7367c = 0; } else { - DAT_00c7367c = KAGE::Graphics::GraphicsBufferObject::GraphicsBufferObject(); + DAT_00c7367c = GraphicsBufferObject::GraphicsBufferObject(); } local_8 = 0xffffffff; *(undefined4 *)(DAT_00c7367c + 0xc) = 1; @@ -958461,11 +960035,14 @@ void FUN_00a19dd0(undefined4 param_1,undefined4 param_2) } -//@@ 00a19df0 FUN_00a19df0 +//@@ 00a19df0 KAGE_Graphics::create_window /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: ? only caller FUN_00a18e90 (graphics init called by KAGE::System::Init, compiles + KAGE_ColorShader etc.); glfwWindowHint calls, glfwCreateWindow -> this+0xbc, SetWindowLong icon, + glfwMakeContextCurrent, 'Failed to create OpenGL window / context', 'OpenGL version %%s' */ -void FUN_00a19df0(void) +void KAGE_Graphics::create_window(void) { HMODULE hInstance; @@ -958488,7 +960065,7 @@ void FUN_00a19df0(void) int iVar5; int local_10; - FUN_00a6ac80(); + glfwWindowHint(); if (_glfw == 0) { _glfwInputError(0x10001,0); uVar3 = extraout_ECX_00; @@ -958518,7 +960095,7 @@ void FUN_00a19df0(void) else { _DAT_00c73c70 = 0; } - local_10 = FUN_00a6a9b0(DAT_00c79a30,uVar3,*(undefined4 *)(in_ECX + 0xbc)); + local_10 = glfwCreateWindow(DAT_00c79a30,uVar3,*(undefined4 *)(in_ECX + 0xbc)); if (local_10 == 0) { if (_glfw == 0) { _glfwInputError(0x10001,0); @@ -958535,7 +960112,7 @@ void FUN_00a19df0(void) else { _DAT_00c73c70 = 0; } - local_10 = FUN_00a6a9b0(DAT_00c79a30,uVar3,*(undefined4 *)(in_ECX + 0xbc)); + local_10 = glfwCreateWindow(DAT_00c79a30,uVar3,*(undefined4 *)(in_ECX + 0xbc)); if (local_10 == 0) { /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Failed to create OpenGL window / context\n"); @@ -965471,9 +967048,13 @@ void FUN_00a220f0(byte param_1) } -//@@ 00a22190 FUN_00a22190 +//@@ 00a22190 KAGE::Input::InputDeviceGamepad::Init -void FUN_00a22190(undefined4 *param_1) +/* DB: ? KAGE::Input::InputDeviceGamepad vtable slot 1 (RTTI); stores descriptor, identifies the + pad: 'Gamepad identified as %s, VendorId = %d, ProductId = %d, Family = %s', + Xbox/PlayStation/Nintendo/Unknown Device, 'Could not find hardware descriptor for gamepad' */ + +void KAGE::Input::InputDeviceGamepad::Init(undefined4 *param_1) { char cVar1; @@ -965877,9 +967458,13 @@ char * FUN_00a224b0(uint param_1) } -//@@ 00a22940 FUN_00a22940 +//@@ 00a22940 KAGE::Input::InputDeviceGamepad::update -uint FUN_00a22940(void) +/* DB: ? InputDeviceGamepad vtable slot 30 (keyboard slot 30 = 00a6c650): finds its device in + g_gamepadDevices by id (this+0x370), maps the 29 button bindings (this+0x388 pairs) and ORs + pressed buttons into the 64-bit mask this+0x20/+0x24 */ + +uint KAGE::Input::InputDeviceGamepad::update(void) { float fVar1; @@ -967394,7 +968979,7 @@ void std::map::try_emplace(int *param_1,uint *param_2) puVar8[0xf] = 0; local_8 = 3; local_14 = puVar8; - FUN_00a9e2d0(puVar8 + 6); + steam_user_profile_update(puVar8 + 6); local_28 = (int *)uVar1; *puVar8 = piVar5; puVar8[1] = piVar5; @@ -967829,7 +969414,7 @@ void FUN_00a24620(byte param_1) undefined4 *in_ECX; *in_ECX = KAGE::Graphics::ShaderBase::vftable; - FUN_00a149a0(); + KAGE::Graphics::ShaderBase::free_uniforms(); FID_conflict__Tidy(in_ECX + 0x10); FUN_00a15310(); if ((param_1 & 1) != 0) { @@ -967847,7 +969432,7 @@ void FUN_00a24660(void) undefined4 *in_ECX; *in_ECX = KAGE::Graphics::ShaderBase::vftable; - FUN_00a149a0(); + KAGE::Graphics::ShaderBase::free_uniforms(); FID_conflict__Tidy(in_ECX + 0x10); FUN_00a15310(); return; @@ -967862,7 +969447,7 @@ void FUN_00a24680(void) int in_ECX; (*(code *)epoxy_glDeleteProgram)(*(undefined4 *)(in_ECX + 0x4c)); - FUN_00a149a0(); + KAGE::Graphics::ShaderBase::free_uniforms(); return; } @@ -968842,11 +970427,14 @@ LAB_00a25758: } -//@@ 00a25770 FUN_00a25770 +//@@ 00a25770 parseMapping /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: GLFW 3.4 input.c parseMapping: gamepad mapping string fields + a/b/x/y/dpup/leftshoulder/lefttrigger/leftx/.../"platform"; caller FUN_00a6a420 (glfwInit -> + glfwUpdateGamepadMappings) */ -int FUN_00a25770(void) +int parseMapping(void) { undefined4 uVar1; @@ -969730,7 +971318,7 @@ void FUN_00a267c0(void) the first entry; Manager::Init prototype: REPENTOGON, confirmed by RET 4 */ -byte __thiscall StringTable::Load(void *this,byte *fileName) +byte __thiscall StringTable::Load(StringTable *this,byte *fileName) { char cVar1; @@ -969791,8 +971379,8 @@ LAB_00a268c5: } local_8 = 0; tracked_alloc(0,0); - if ((fileName._3_1_ != 0) && (*(int *)((int)this + 8) != 0)) { - *(undefined4 *)this = *(undefined4 *)(**(int **)((int)this + 4) + 0x10); + if ((fileName._3_1_ != 0) && (*(int *)&this->field_0x8 != 0)) { + *(undefined4 *)this = *(undefined4 *)(**(int **)&this->field_0x4 + 0x10); } ExceptionList = local_10; return fileName._3_1_; @@ -971232,7 +972820,7 @@ int FUN_00a27960(undefined4 param_1) int *piVar1; undefined1 local_10 [12]; - piVar1 = (int *)FUN_00a27a30(local_10,param_1); + piVar1 = (int *)std::map::try_emplace(local_10,param_1); return *piVar1 + 0x14; } @@ -971311,9 +972899,14 @@ int FUN_00a27a10(undefined4 param_1) } -//@@ 00a27a30 FUN_00a27a30 +//@@ 00a27a30 std::map::try_emplace -void FUN_00a27a30(int *param_1,int *param_2) +/* DB: std::map: _Find_lower_bound (00a280b0) + inline strcmp, on miss + allocates the node (operator_new) and inserts/rebalances (FUN_00415f80/00415fe0, max-size check + 004170d0); returns pair in param_1; only caller 00a27960 = operator[] (returns + node+0x14), used by StringTable::load_xml */ + +void std::map::try_emplace(int *param_1,int *param_2) { byte bVar1; @@ -971346,7 +972939,7 @@ void FUN_00a27a30(int *param_1,int *param_2) uVar4 = __security_cookie ^ (int)register0x00000010 - 0x10U; ExceptionList = &local_1c; local_24 = in_ECX; - std::map::_Find_lower_bound(&local_3c,param_2); + _Find_lower_bound(&local_3c,param_2); if (*(char *)(local_34 + 0xd) == '\0') { pbVar5 = *(byte **)(local_34 + 0x10); pbVar9 = (byte *)*param_2; @@ -972433,11 +974026,14 @@ void FUN_00a28930(undefined4 param_1) } -//@@ 00a289d0 FUN_00a289d0 +//@@ 00a289d0 KAGE::Network::MultiplayerManager::dynamic_initializer /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: ? static initializer called from CRT init stub 0x4068c0: sets MultiplayerManagerBase vftable + at 0xc79a50, g_multiplayerService=0, builds a ConstLobby/Lobby (SmartPointer) at + 0xc79a70 */ -undefined * FUN_00a289d0(void) +undefined * KAGE::Network::MultiplayerManager::dynamic_initializer(void) { uint uVar1; @@ -972453,19 +974049,19 @@ undefined * FUN_00a289d0(void) ExceptionList = &local_10; _DAT_00c79a54 = 0; local_8 = 0; - _DAT_00c79a50 = KAGE::Network::MultiplayerManagerBase::vftable; + _DAT_00c79a50 = MultiplayerManagerBase::vftable; g_multiplayerService = (void *)0x0; DAT_00c79a60 = 0; _DAT_00c79a64 = 0; _DAT_00c79a68 = 0; - _DAT_00c79a70 = KAGE::Network::Multiplayer::ConstLobby::vftable; - KAGE::SmartPointer::SmartPointer(in_ECX); - _DAT_00c79a70 = KAGE::Network::Multiplayer::Lobby::vftable; + _DAT_00c79a70 = Multiplayer::ConstLobby::vftable; + SmartPointer::SmartPointer(in_ECX); + _DAT_00c79a70 = Multiplayer::Lobby::vftable; local_8._0_1_ = 1; g_multiplayerCommandThreadFlags._0_1_ = 0; FUN_00a28c20(uVar1); DAT_00c79aac = 0; - DAT_00c79aa8 = KAGE::Thread::vftable; + DAT_00c79aa8 = Thread::vftable; _DAT_00c79ab0 = 0; local_8._0_1_ = 3; _DAT_00c79ab4 = 0; @@ -972476,9 +974072,9 @@ undefined * FUN_00a289d0(void) local_8._0_1_ = 4; FUN_00a28c20(); local_8._0_1_ = 5; - _DAT_00c79ae4 = KAGE::Network::Multiplayer::ConstLobby::vftable; - KAGE::SmartPointer::SmartPointer(extraout_ECX); - _DAT_00c79ae4 = KAGE::Network::Multiplayer::Lobby::vftable; + _DAT_00c79ae4 = Multiplayer::ConstLobby::vftable; + SmartPointer::SmartPointer(extraout_ECX); + _DAT_00c79ae4 = Multiplayer::Lobby::vftable; _DAT_00c79af0 = 0; uRam00c79af4 = 0; uRam00c79af8 = 0; @@ -972757,7 +974353,8 @@ void lobby_process_user_commands(void) local_10 = ExceptionList; ExceptionList = &local_10; local_28 = in_ECX; - FUN_00a722c0(__security_cookie ^ (int)register0x00000010 - 4U); + KAGE::Network::MultiplayerManager::update_lobby_members + (__security_cookie ^ (int)register0x00000010 - 4U); if (*(int **)(in_ECX + 8) != (int *)0x0) { (**(code **)(**(int **)(in_ECX + 8) + 8))(); } @@ -973169,7 +974766,8 @@ undefined1 multiplayer_send_message(int *param_1,int param_2,int *param_3) local_28._4_4_ = *(int **)(iVar5 + 0xc); } FUN_008ef1d0(¶m_2); - uVar2 = FUN_00a78370(&local_28,1,in_stack_ffffffc0,puVar9); + uVar2 = KAGE::Network::Multiplayer::ConnectionBase::send_message + (&local_28,1,in_stack_ffffffc0,puVar9); } else { piVar8 = (int *)((int)g_multiplayerService + 0x38); @@ -973214,7 +974812,7 @@ undefined1 multiplayer_send_message(int *param_1,int param_2,int *param_3) *piVar1 = iVar5; } local_8._0_1_ = 1; - FUN_00a59fd0(puVar4); + multiplayer_message_coalesce_fragments(puVar4); iVar5 = param_1[1]; if (iVar5 == 0) { local_28 = 0; @@ -1017068,11 +1018666,15 @@ undefined4 FUN_00a51d10(uint param_1) } -//@@ 00a51dc0 FUN_00a51dc0 +//@@ 00a51dc0 leaderboard_request_complete /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? switch on the async op type (*param_1): 0/1 find ("Failed to get leaderboard '%s': %s", + assigns a handle id from DAT_00c12934 under the service mutex), 2 download entries, upload score, + attach UGC failures, then calls the stored callback (+8, userdata +0xc); callers are the + Steam/EOS leaderboard result handlers 00a7df10/00a7e120/00a7e2b0/00a7e330 */ -void FUN_00a51dc0(undefined4 *param_1) +void leaderboard_request_complete(undefined4 *param_1) { uint *puVar1; @@ -1017887,9 +1019489,14 @@ undefined * FUN_00a52ad0(void) } -//@@ 00a52b10 FUN_00a52b10 +//@@ 00a52b10 KAGE::Network::Multiplayer::LobbySteam::get_members -void FUN_00a52b10(int *param_1) +/* DB: vtable slot 6 of KAGE::Network::Multiplayer::LobbySteam (00b9e9a4; LobbyLocalhost's slot 6 + FUN_00a9ec40 copies its member id vector): ISteamMatchmaking GetNumLobbyMembers (+0x44) / + GetLobbyMemberByIndex (+0x48), GetLobbyMemberData (+0x60) "user_join_time" atoi, list sorted by + join time ("list too long") */ + +void KAGE::Network::Multiplayer::LobbySteam::get_members(int *param_1) { code *pcVar1; @@ -1019411,9 +1021018,17 @@ undefined4 **** LobbySteam::find_by_id_string(undefined4 ****param_1) } -//@@ 00a542c0 FUN_00a542c0 +//@@ 00a542c0 KAGE::Network::MultiplayerManager::request_lobby_list -void FUN_00a542c0(uint *param_1,code *param_2,undefined4 param_3) +/* DB: MultiplayerManager vtable slot 4 (vftable 00b9ebb0); dynamic_cast to ServiceLocalhost -> + ServiceLocalhost::request_lobby_list 00a74a40, else ISteamMatchmaking + AddRequestLobbyListResultCountFilter(+0x28, "Steam has a maximum of 50 lobby results"), + FilterSlotsAvailable(+0x20), DistanceFilter(+0x24), "String filter value index out of bounds"; + stores result callback/ctx at +0x128/+0x12c; callers Menu_OnlineLobbyList right after + Multiplayer::set_service_provider */ + +void KAGE::Network::MultiplayerManager::request_lobby_list + (uint *param_1,code *param_2,undefined4 param_3) { int iVar1; @@ -1019464,14 +1021079,12 @@ void FUN_00a542c0(uint *param_1,code *param_2,undefined4 param_3) (**(code **)(PTR_vftable_00c5ab44 + 0x10))(); local_8 = 0xffffffff; if ((*(int *)(in_ECX + 8) != 0) && - (iVar1 = __RTDynamicCast(*(int *)(in_ECX + 8),0, - &KAGE::Network::Multiplayer::ServiceBase::RTTI_Type_Descriptor, - &KAGE::Network::Multiplayer::ServiceLocalhost::RTTI_Type_Descriptor,0) - , iVar1 != 0)) { - __RTDynamicCast(*(undefined4 *)(in_ECX + 8),0, - &KAGE::Network::Multiplayer::ServiceBase::RTTI_Type_Descriptor, - &KAGE::Network::Multiplayer::ServiceLocalhost::RTTI_Type_Descriptor,0); - FUN_00a74a40(param_1,param_2,param_3); + (iVar1 = __RTDynamicCast(*(int *)(in_ECX + 8),0,&Multiplayer::ServiceBase::RTTI_Type_Descriptor + ,&Multiplayer::ServiceLocalhost::RTTI_Type_Descriptor,0), iVar1 != 0)) + { + __RTDynamicCast(*(undefined4 *)(in_ECX + 8),0,&Multiplayer::ServiceBase::RTTI_Type_Descriptor, + &Multiplayer::ServiceLocalhost::RTTI_Type_Descriptor,0); + Multiplayer::ServiceLocalhost::request_lobby_list(param_1,param_2,param_3); ExceptionList = local_10; return; } @@ -1019628,7 +1021241,7 @@ void FUN_00a542c0(uint *param_1,code *param_2,undefined4 param_3) in_ECX = local_1c; } *(int *)(in_ECX + 0x130) = *(int *)(in_ECX + 0x130) + 1; - FUN_00a5fba0(&local_4c,iVar1,ppuVar11); + eos_lobby_search_find(&local_4c,iVar1,ppuVar11); if (*(int *)(in_ECX + 0x130) == 0) { *(undefined4 *)(in_ECX + 0x128) = 0; *(undefined4 *)(in_ECX + 300) = 0; @@ -1019689,13 +1021302,12 @@ LAB_00a54828: } -//@@ 00a54890 Multiplayer::invite_user_to_lobby +//@@ 00a54890 KAGE::Network::MultiplayerManager::invite_user_to_lobby -/* DB: ? when the current lobby (this+0x24) is a LobbySteam (RTTI dynamic cast), calls - ISteamMatchmaking vfunc +0x40 (InviteUserToLobby, slot 16) with the lobby and user CSteamIDs; - returns bool; online_chat_window_update invite list */ +/* DB: slot 5 of the KAGE::Network::MultiplayerManager vtable (was + Multiplayer::invite_user_to_lobby) */ -undefined1 Multiplayer::invite_user_to_lobby(int param_1) +undefined1 KAGE::Network::MultiplayerManager::invite_user_to_lobby(int param_1) { char cVar1; @@ -1019739,14 +1021351,13 @@ undefined1 Multiplayer::invite_user_to_lobby(int param_1) local_24 = (int *)0x0; local_8 = 2; std::shared_ptr::assign(in_ECX + 0x24); - local_2c = CONCAT44(local_2c._4_4_,KAGE::Network::Multiplayer::Lobby::vftable); + local_2c = CONCAT44(local_2c._4_4_,Multiplayer::Lobby::vftable); local_8 = 3; uVar7 = 0x3f; local_18 = (int *)0x3f; if (local_2c._4_4_ != 0) { - iVar4 = __RTDynamicCast(local_2c._4_4_,0, - &KAGE::Network::Multiplayer::LobbyImplBase::RTTI_Type_Descriptor, - &KAGE::Network::Multiplayer::LobbySteam::RTTI_Type_Descriptor,0); + iVar4 = __RTDynamicCast(local_2c._4_4_,0,&Multiplayer::LobbyImplBase::RTTI_Type_Descriptor, + &Multiplayer::LobbySteam::RTTI_Type_Descriptor,0); local_11 = '\x01'; if (iVar4 != 0) goto LAB_00a54982; } @@ -1019756,7 +1021367,7 @@ undefined1 Multiplayer::invite_user_to_lobby(int param_1) LAB_00a54982: if ((uVar7 & 2) != 0) { uVar7 = uVar7 & 0xfffffffd; - local_2c = CONCAT44(local_2c._4_4_,KAGE::Network::Multiplayer::ConstLobby::vftable); + local_2c = CONCAT44(local_2c._4_4_,Multiplayer::ConstLobby::vftable); local_8 = 4; local_18 = (int *)uVar7; if (((local_24 != (int *)0x0) && (cVar1 = (**(code **)(*local_24 + 0xc))(uVar3), cVar1 != '\0')) @@ -1020039,9 +1021650,13 @@ void FUN_00a54e50(undefined4 *param_1) } -//@@ 00a54f00 FUN_00a54f00 +//@@ 00a54f00 KAGE::Network::MultiplayerManager::on_lobby_data_update -void FUN_00a54f00(uint *param_1) +/* DB: Steam CCallback static init FUN_00406850: obj 0xc79a50 (MultiplayerManager), func 0xa54f00, + callback id 0x1f9=505=LobbyDataUpdate_t; lobby==member -> lobby data, else member data; + Lobby::refresh_members on LobbySteam */ + +void KAGE::Network::MultiplayerManager::on_lobby_data_update(uint *param_1) { bool bVar1; @@ -1020083,7 +1021698,7 @@ void FUN_00a54f00(uint *param_1) } } else { - local_24 = KAGE::Network::Multiplayer::ConstLobby::vftable; + local_24 = Multiplayer::ConstLobby::vftable; local_20 = 0; local_1c = (int *)0x0; local_8 = 1; @@ -1020105,7 +1021720,7 @@ void FUN_00a54f00(uint *param_1) else { bVar1 = false; } - local_24 = KAGE::Network::Multiplayer::ConstLobby::vftable; + local_24 = Multiplayer::ConstLobby::vftable; local_8 = 2; if (local_1c != (int *)0x0) { cVar2 = (**(code **)(*local_1c + 0xc))(); @@ -1020114,19 +1021729,19 @@ void FUN_00a54f00(uint *param_1) } } if (bVar1) { - local_24 = KAGE::Network::Multiplayer::ConstLobby::vftable; + local_24 = Multiplayer::ConstLobby::vftable; local_20 = 0; local_1c = (int *)0x0; local_8 = 3; std::shared_ptr::assign(&g_multiplayerLobbyPtr); - local_24 = KAGE::Network::Multiplayer::Lobby::vftable; + local_24 = Multiplayer::Lobby::vftable; local_8 = 4; if (local_20 != 0) { - __RTDynamicCast(local_20,0,&KAGE::Network::Multiplayer::LobbyImplBase::RTTI_Type_Descriptor, - &KAGE::Network::Multiplayer::LobbySteam::RTTI_Type_Descriptor,0); + __RTDynamicCast(local_20,0,&Multiplayer::LobbyImplBase::RTTI_Type_Descriptor, + &Multiplayer::LobbySteam::RTTI_Type_Descriptor,0); } Lobby::refresh_members(); - local_24 = KAGE::Network::Multiplayer::ConstLobby::vftable; + local_24 = Multiplayer::ConstLobby::vftable; local_8 = 5; if (local_1c != (int *)0x0) { cVar2 = (**(code **)(*local_1c + 0xc))(); @@ -1022212,7 +1023827,7 @@ undefined4 * steam_friends_get(undefined4 *param_1,char param_2) } -//@@ 00a57060 FUN_00a57060 +//@@ 00a57060 KAGE::System::FriendManager::request_friend_lobbies /* WARNING: Removing unreachable block (ram,0x00a571a7) */ /* WARNING: Removing unreachable block (ram,0x00a571c8) */ @@ -1022224,8 +1023839,12 @@ undefined4 * steam_friends_get(undefined4 *param_1,char param_2) /* WARNING: Removing unreachable block (ram,0x00a5723a) */ /* WARNING: Removing unreachable block (ram,0x00a57249) */ /* WARNING: Removing unreachable block (ram,0x00a57244) */ +/* DB: ? FriendManager vtable slot 5 (slot 4 steam_friends_get): stores callback/ctx (+8/+0xc), for + each friend ISteamFriends::GetFriendGamePlayed (+0x20) and RequestLobbyData on the friend's lobby + (LobbySteam::request_lobby_data / find_or_create); callers Menu_OnlineLobbyList friends refresh + 008e18b0/008e1fb0 Menu_OnlineLobbyList::on_lobby_list_received -undefined4 FUN_00a57060(int param_1,int param_2) +undefined4 KAGE::System::FriendManager::request_friend_lobbies(int param_1,int param_2) { code *pcVar1; @@ -1022280,7 +1023899,7 @@ undefined4 FUN_00a57060(int param_1,int param_2) local_8 = 0xffffffff; vector_UserProfile_destroy(); in_ECX[6] = in_ECX[6] + 1; - FUN_00a7e6e0(); + eos_friend_lobby_search_start(); if ((in_ECX[6] == 0) && (DAT_00c5ab58 != (code *)0x0)) { (*DAT_00c5ab58)(); DAT_00c5ab58 = (code *)0x0; @@ -1022325,7 +1023944,7 @@ void FUN_00a572d0(int *param_1) puVar2 = *(undefined4 **)(in_ECX + 0x20); iVar6 = local_18 + iVar6; if (puVar2 == *(undefined4 **)(in_ECX + 0x24)) { - FUN_00a577b0(puVar2,iVar6); + std::vector<20byte>::_Emplace_reallocate(puVar2,iVar6); } else { *puVar2 = KAGE::System::UserProfileBase::vftable; @@ -1022471,7 +1024090,7 @@ void FUN_00a575e0(int param_1) ExceptionList = &local_10; puVar1 = *(undefined4 **)(in_ECX + 4); if (puVar1 == *(undefined4 **)(in_ECX + 8)) { - FUN_00a577b0(puVar1,param_1); + std::vector<20byte>::_Emplace_reallocate(puVar1,param_1); ExceptionList = local_10; return; } @@ -1022561,9 +1024180,12 @@ void FUN_00a57730(int param_1) } -//@@ 00a577b0 FUN_00a577b0 +//@@ 00a577b0 std::vector<20byte>::_Emplace_reallocate -undefined4 * FUN_00a577b0(int param_1,undefined4 param_2) +/* DB: 0x14-byte elements (max 0xccccccc), growth 1.5x, std::shared_ptr::assign member copy; callers + FUN_00a572d0/FUN_00a575e0 */ + +undefined4 * std::vector<20byte>::_Emplace_reallocate(int param_1,undefined4 param_2) { uint uVar1; @@ -1022587,7 +1024209,7 @@ undefined4 * FUN_00a577b0(int param_1,undefined4 param_2) iVar3 = (in_ECX[1] - *in_ECX) / 0x14; if (iVar3 == 0xccccccc) { /* WARNING: Subroutine does not return */ - std::_Xlen(); + _Xlen(); } uVar1 = iVar3 + 1; uVar5 = (in_ECX[2] - *in_ECX) / 0x14; @@ -1022605,7 +1024227,7 @@ undefined4 * FUN_00a577b0(int param_1,undefined4 param_2) FUN_0040cee0(); } } - puVar4 = (undefined4 *)std::_Allocate(); + puVar4 = (undefined4 *)_Allocate(); local_8._0_1_ = 0; local_8._1_3_ = 0; FUN_00a57730(param_2); @@ -1022621,7 +1024243,7 @@ undefined4 * FUN_00a577b0(int param_1,undefined4 param_2) puVar6[3] = 0; puVar6[4] = 0; local_8._0_1_ = 3; - std::shared_ptr::assign(iVar7 + 0xc); + shared_ptr::assign(iVar7 + 0xc); puVar6 = puVar6 + 5; } FUN_00a57a10(iVar3); @@ -1023678,11 +1025300,14 @@ void FUN_00a58860(void) } -//@@ 00a588c0 FUN_00a588c0 +//@@ 00a588c0 KAGE::Network::Multiplayer::ConnectionBase::Update /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? slot 1 of the ConnectionBase/ConnectionLocalhost/ConnectionSteam/ConnectionEOS vftables + (0xb9ed74, 0xba83a0/b8/d0; slot 0 0xa586f0 is the deleting dtor); periodically sends 'ping' with + GetTimeNs ms, walks peer set (+0x2c) and pending list (+0x38) for timeouts */ -void FUN_00a588c0(void) +void KAGE::Network::Multiplayer::ConnectionBase::Update(void) { int iVar1; @@ -1023789,7 +1025414,7 @@ void FUN_00a588c0(void) (g_multiplayerRelease != (void *)0x0)))) { (*g_multiplayerRelease)(auStackY_d8 + 0x8c); } - FUN_00a78370(&local_2c,0); + send_message(&local_2c,0); uVar12 = GetTimeNs(); uVar8 = (uint)(uVar12 >> 0x20); uVar10 = (uVar12 & 0xffffffff) * 0xd7b634db; @@ -1023863,11 +1025488,16 @@ void FUN_00a58c40(void) } -//@@ 00a58cb0 FUN_00a58cb0 +//@@ 00a58cb0 KAGE::Network::Connection::send_message /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? only caller FUN_00a78a10 (NetworkManager send: looks the peer's ConnectionBase up in a map, + queues when absent, else calls this on it); timestamps with GetTimeNs/1e6, appends an "ackn" ack + chunk when the reliable flag is set and acks are pending, sequence/fragment bookkeeping, + SmartPointer */ -undefined4 FUN_00a58cb0(undefined4 param_1,uint *param_2,undefined4 param_3) +undefined4 +KAGE::Network::Connection::send_message(undefined4 param_1,uint *param_2,undefined4 param_3) { byte bVar1; @@ -1023944,7 +1025574,7 @@ undefined4 FUN_00a58cb0(undefined4 param_1,uint *param_2,undefined4 param_3) *(uint *)(local_30._4_4_ + 0x20) = uVar13; *(uint *)(local_30._4_4_ + 0x24) = uVar14 >> 0x12; local_21 = (byte)local_1c[1] & 1; - KAGE::SmartPointer::reset(uVar13); + SmartPointer::reset(uVar13); local_8._0_1_ = 1; local_8._1_3_ = 0; if ((local_21 != 0) && (uVar13 = *(uint *)(iVar5 + 0x34), *puVar6 < uVar13)) { @@ -1023953,7 +1025583,7 @@ undefined4 FUN_00a58cb0(undefined4 param_1,uint *param_2,undefined4 param_3) local_1c = (uint *)(uVar13 - 1); FUN_00a2a030(iVar5 + 0xc,extraout_ECX,local_20,8,uVar17); uVar9 = local_48; - KAGE::SmartPointer::reset(extraout_ECX_00); + SmartPointer::reset(extraout_ECX_00); local_8 = 2; goto LAB_00a5904c; } @@ -1024010,7 +1025640,7 @@ undefined4 FUN_00a58cb0(undefined4 param_1,uint *param_2,undefined4 param_3) local_8 = CONCAT31(local_8._1_3_,4); iVar11 = FUN_00a595a0(&local_30); if (iVar11 != iVar10) { - KAGE::SmartPointer::operator_assign(iVar10); + SmartPointer::operator_assign(iVar10); uVar17 = *(undefined4 *)(iVar10 + 0xc); *(undefined4 *)(iVar11 + 8) = *(undefined4 *)(iVar10 + 8); *(undefined4 *)(iVar11 + 0xc) = uVar17; @@ -1024038,8 +1025668,8 @@ undefined4 FUN_00a58cb0(undefined4 param_1,uint *param_2,undefined4 param_3) if ((uVar13 != 0) && (uVar13 == *(byte *)(*(int *)(**(int **)(puVar7[6] + 8) + 0x14) + 7))) { if ((char)puVar7[10] == '\0') { - FUN_00a59fd0(0); - KAGE::SmartPointer::operator_assign(puVar7 + 6); + multiplayer_message_coalesce_fragments(0); + SmartPointer::operator_assign(puVar7 + 6); } FUN_00a598e0(puVar7); } @@ -1024051,7 +1025681,7 @@ undefined4 FUN_00a58cb0(undefined4 param_1,uint *param_2,undefined4 param_3) if (local_38 == 0) { LAB_00a59033: uVar9 = local_48; - KAGE::SmartPointer::reset(uVar17); + SmartPointer::reset(uVar17); local_8 = 9; } else { @@ -1024134,14 +1025764,14 @@ undefined4 FUN_00a590c0(undefined4 param_1) *(int *)(in_ECX + 0x34) = *(int *)(in_ECX + 0x34) + 1; iVar4 = FUN_00a595a0(&local_20); if (*(char *)(iVar4 + 0x10) != '\0') { - FUN_00a59640(&local_20); + std::map::erase(&local_20); FUN_00a590c0(param_1); local_8 = 2; goto LAB_00a591b8; } uVar5 = FUN_00a595a0(&local_20); KAGE::SmartPointer::operator_assign(uVar5); - FUN_00a59640(&local_20); + std::map::erase(&local_20); } } FUN_008ef1d0(local_28); @@ -1024208,11 +1025838,16 @@ void FUN_00a59260(void) } -//@@ 00a59270 FUN_00a59270 +//@@ 00a59270 KAGE::Network::Multiplayer::ConnectionBase::handle_internal_message /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ConnectionBase vtable slot 4 (shared by ConnectionLocalhost/Steam/EOS): "This function should + only be called on consolidated messages", answers "ping" with "pong" (FUN_00a2a030 send), on + "pong" computes RTT from GetTimeNs into the peer profile, handles "ackn" */ -undefined4 FUN_00a59270(undefined4 *param_1,int *param_2) +undefined4 +KAGE::Network::Multiplayer::ConnectionBase::handle_internal_message + (undefined4 *param_1,int *param_2) { undefined4 uVar1; @@ -1024266,17 +1025901,17 @@ undefined4 FUN_00a59270(undefined4 *param_1,int *param_2) strncpy(local_24,"pong",4); local_30 = *param_1; local_2c = param_1[1]; - local_38 = KAGE::System::UserProfileBase::vftable; + local_38 = System::UserProfileBase::vftable; local_1c = uVar1; local_18 = uVar2; local_34 = UserProfile::find_or_create(); local_8._0_1_ = 1; - local_38 = KAGE::System::UserProfile::vftable; + local_38 = System::UserProfile::vftable; uVar8 = extraout_ECX; if (((local_34 != 0) && (uVar8 = *(uint *)(local_34 + 8) | *(uint *)(local_34 + 0xc), uVar8 != 0)) && (*(int *)(local_34 + 0x14) == 0)) { - KAGE::System::UserProfile::load_steam_avatar(); + System::UserProfile::load_steam_avatar(); uVar8 = extraout_ECX_00; } local_8 = CONCAT31(local_8._1_3_,2); @@ -1024375,7 +1026010,7 @@ int FUN_00a595a0(undefined4 param_1) int *piVar1; undefined1 local_10 [12]; - piVar1 = (int *)FUN_00a59970(local_10,param_1); + piVar1 = (int *)std::map::try_emplace(local_10,param_1); return *piVar1 + 0x18; } @@ -1024403,9 +1026038,12 @@ void FUN_00a595c0(int *param_1,uint *param_2) } -//@@ 00a59640 FUN_00a59640 +//@@ 00a59640 std::map::erase -int FUN_00a59640(uint *param_1) +/* DB: ? equal_range on the same {uint, byte} key as 00a59970, erase(first,last) with clear fast + path (FUN_00a59be0 erase-tree when range is whole map); called twice from FUN_00a590c0 */ + +int std::map::erase(uint *param_1) { int *piVar1; @@ -1024509,7 +1026147,6 @@ int FUN_00a59640(uint *param_1) else if (piVar9 != piVar8) { do { piVar1 = (int *)param_1; - std:: _Tree_unchecked_const_iterator_>,std::_Iterator_base0> ::operator++((_Tree_unchecked_const_iterator_>,std::_Iterator_base0> *)¶m_1); @@ -1024612,9 +1026249,13 @@ undefined4 FUN_00a598e0(undefined4 param_1) } -//@@ 00a59970 FUN_00a59970 +//@@ 00a59970 std::map::try_emplace -void FUN_00a59970(undefined4 *param_1,uint *param_2) +/* DB: ? MSVC _Tree insert keyed by {uint seq, byte channel} (compares +0x10 then byte), max_size + 0x5555555 (0x30 nodes), value holds a KAGE::SmartPointer and GetTimeNs() send time; + caller FUN_00a595a0 (net reliable-message queue; neighbour FUN_00a58cb0 handles 'ackn') */ + +void std::map::try_emplace(undefined4 *param_1,uint *param_2) { char cVar1; @@ -1025028,9 +1026669,13 @@ void FUN_00a59f30(undefined4 *param_1,void *param_2,size_t param_3) } -//@@ 00a59fd0 FUN_00a59fd0 +//@@ 00a59fd0 multiplayer_message_coalesce_fragments -void FUN_00a59fd0(uint *param_1) +/* DB: ? walks a std::map of fragments (ECX+8), mallocs total size + 4 through the tracked heap (oom + handlers), writes an 8-byte header then memcpy's each fragment payload (minus 8-byte header); + from multiplayer_send_message and FUN_00a58cb0 */ + +void multiplayer_message_coalesce_fragments(uint *param_1) { char cVar1; @@ -1026430,7 +1028075,7 @@ void FUN_00a5b6a0(void) if (*(int *)(*(int *)(in_ECX + 0x40) + 0x8c) == 0) { DAT_00c74cc0 = DAT_00c74cc0 + 1; } - FUN_00a81cd0(); + _glfwSetVideoModeWin32(); iVar1 = *(int *)(in_ECX + 0x40); if (iVar1 == 0) { _wassert(L"monitor != NULL", @@ -1026473,11 +1028118,14 @@ void FUN_00a5b720(void) } -//@@ 00a5b7b0 FUN_00a5b7b0 +//@@ 00a5b7b0 windowProc /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: GLFW 3.4 win32_window.c: stored as wc.lpfnWndProc in _glfwCreateWindowWin32 (mov + [ebp-0x64],0xa5b7b0); strings "Win32: Failed to retrieve raw input data", inlined _glfwInputDrop + "paths != NULL" and _glfwInputWindowContentScale "xscale > 0.f" asserts */ -LRESULT FUN_00a5b7b0(HWND param_1,UINT param_2,HDROP param_3,HRAWINPUT param_4) +LRESULT windowProc(HWND param_1,UINT param_2,HDROP param_3,HRAWINPUT param_4) { ushort uVar1; @@ -1027205,7 +1028853,7 @@ LAB_00a5ca25: memcpy(pvVar13,(void *)pHVar3[2].unused,pHVar3[1].unused); local_60.unused = (int)local_94; uStack_5c = 0xfefefefe; - FUN_00a78a10(&local_60,pvVar13,pHVar3[1].unused); + NetworkManager::receive_packet(&local_60,pvVar13,pHVar3[1].unused); return 1; } goto LAB_00a5c577; @@ -1027281,7 +1028929,7 @@ LAB_00a5cdab: local_7c._0_4_ = 0x30; memset(local_7c + 4,0,0x2c); local_7c._4_4_ = 0x23; - local_74 = FUN_00a5b7b0; + local_74 = windowProc; pHStack_68 = DAT_00c74cb0; pHStack_60 = LoadCursorW((HINSTANCE)0x0,(LPCWSTR)&DAT_00007f00); fuLoad = 0x8040; @@ -1027486,11 +1029134,11 @@ undefined4 FUN_00a5d390(int param_1,int param_2,int *param_3,undefined4 param_4) if (*param_3 == 0) goto LAB_00a5d43f; iVar1 = param_3[1]; if (iVar1 == 0x36001) { - iVar1 = FUN_00a7fce0(); + iVar1 = _glfwInitWGL(); if (iVar1 == 0) { return 0; } - iVar1 = FUN_00a80010(param_4); + iVar1 = _glfwCreateContextWGL(param_4); joined_r0x00a5d430: if (iVar1 == 0) { return 0; @@ -1027498,7 +1029146,7 @@ joined_r0x00a5d430: } else { if (iVar1 == 0x36002) { - iVar1 = FUN_00a82d40(); + iVar1 = _glfwInitEGL(); if (iVar1 == 0) { return 0; } @@ -1027510,11 +1029158,11 @@ joined_r0x00a5d430: if (iVar1 == 0) { return 0; } - iVar1 = FUN_00a83d20(param_4); + iVar1 = _glfwCreateContextOSMesa(param_4); goto joined_r0x00a5d430; } } - iVar1 = FUN_00a6b570(); + iVar1 = _glfwRefreshContextAttribs(); if (iVar1 == 0) { return 0; } @@ -1028169,11 +1029817,16 @@ void FUN_00a5e030(int param_1) } -//@@ 00a5e060 FUN_00a5e060 +//@@ 00a5e060 _glfwSetWindowMonitorWin32 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: glfw win32_window.c: platform table slot (stored at a8123d in _glfwConnectWin32), (window, + monitor, xpos, ypos, width, height): same monitor -> acquire/fit; else AdjustWindowRectEx / + _glfwIsWindows10BuildOrGreaterWin32 (AdjustWindowRectExForDpi), window style getStyle/getExStyle + (00a5aa80) */ -void FUN_00a5e060(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6) +void _glfwSetWindowMonitorWin32 + (int param_1,int param_2,int param_3,int param_4,int param_5,int param_6) { int iVar1; @@ -1028504,11 +1030157,14 @@ void FUN_00a5e630(int param_1,int param_2) } -//@@ 00a5e660 FUN_00a5e660 +//@@ 00a5e660 _glfwPollEventsWin32 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: GLFW 3.4 win32_window.c: PeekMessageW loop, WM_QUIT (0x12) sets shouldClose on every window + and calls close callback; key-release fixups (input.c asserts); stored in platform table (mov + [ebp-0x28],0xa5e660 at 0xa81298), tail-called by glfwPollEvents 0xa5e8c6 */ -void FUN_00a5e660(void) +void _glfwPollEventsWin32(void) { uint uVar1; @@ -1028627,7 +1030283,7 @@ void FUN_00a5e8d0(void) dwWakeMask = 0x4ff; dwMilliseconds = __dtoui3(); MsgWaitForMultipleObjects(0,(HANDLE *)0x0,0,dwMilliseconds,dwWakeMask); - FUN_00a5e660(); + _glfwPollEventsWin32(); return; } @@ -1029471,11 +1031127,13 @@ void FUN_00a5f720(byte param_1) } -//@@ 00a5f770 FUN_00a5f770 +//@@ 00a5f770 KAGE::EosManager::Init /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: KAGE::EosManager vtable slot 1 (RTTI); KAGE::System::Init calls it with ecx=0xc5abf0; + EOS_Platform init, 'Failed to initialize EOS: %s', client id/secret/sandbox length checks */ -undefined4 FUN_00a5f770(void) +undefined4 KAGE::EosManager::Init(void) { char cVar1; @@ -1029705,9 +1031363,15 @@ void FUN_00a5fb80(void) } -//@@ 00a5fba0 FUN_00a5fba0 +//@@ 00a5fba0 eos_lobby_search_find -void FUN_00a5fba0(undefined4 *param_1) +/* DB: ? EOS backend of the lobby search FUN_00a542c0 (Menu_OnlineLobbyList callers; Steam branch + has the "Steam has a maximum of 50 lobby results" strings): EOS_Platform_GetLobbyInterface, + EOS_Lobby_CreateLobbySearch, SetParameter "KAGE_EOS_LOBBY_BUCKET_ID" plus number/string filters, + EOS_LobbySearch_Find with callback FUN_00a60700; strings "Failed to create lobby search handle: + %s" */ + +void eos_lobby_search_find(undefined4 *param_1) { uint uVar1; @@ -1029857,7 +1031521,7 @@ void FUN_00a5fba0(undefined4 *param_1) DAT_00c5ac40 = FUN_00a54ce0; DAT_00c5ac44 = 0; local_28 = 1; - _EOS_LobbySearch_Find_16(local_18[0],&local_28,local_18[0],FUN_00a60700); + _EOS_LobbySearch_Find_16(local_18[0],&local_28,local_18[0],eos_lobby_search_on_find); ExceptionList = local_10; return; } @@ -1030083,9 +1031747,14 @@ void FUN_00a60690(int *param_1) } -//@@ 00a60700 FUN_00a60700 +//@@ 00a60700 eos_lobby_search_on_find -void FUN_00a60700(int param_1) +/* DB: ? EOS_LobbySearch_Find completion callback pushed by FUN_00a5fba0: + EOS_LobbySearch_GetSearchResultCount, CopySearchResultByIndex, LobbyDetails_CopyInfo, builds + ConstLobby entries (vector _Emplace_reallocate), Lobby::refresh_members, + LobbyDetails/LobbySearch_Release */ + +void eos_lobby_search_on_find(int param_1) { undefined4 uVar1; @@ -1030684,7 +1032353,7 @@ void FUN_00a61170(int param_1) uVar2 = __security_cookie ^ (uint)(local_18 + 0x14); ExceptionList = &local_10; if (param_1 == 0) { - FUN_00a703f0(local_18,g_eosLocalUserId,in_ECX); + eos_user_info_find_or_create(local_18,g_eosLocalUserId,in_ECX); local_8 = param_1; if (((local_14 != (int *)0x0) && (cVar1 = (**(code **)(*local_14 + 0xc))(), cVar1 != '\0')) && (g_profileReleaseFn != (void *)0x0)) { @@ -1031467,11 +1033136,14 @@ void FUN_00a61f00(undefined4 *param_1) } -//@@ 00a61f20 FUN_00a61f20 +//@@ 00a61f20 theoraplayer::init /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: "Initializing theoraplayer with theora support." through the log fn PTR_00c5aa7c, creates + g_theoraVideoManager = TheoraVideoManager::TheoraVideoManager, registers format "Theora" + (0x34-byte entry) and VideoClip_Theora factory (FUN_00a8c430) */ -void FUN_00a61f20(void) +void theoraplayer::init(void) { undefined1 *puVar1; @@ -1032248,9 +1033920,13 @@ undefined4 FUN_00a62a10(void) } -//@@ 00a62b10 FUN_00a62b10 +//@@ 00a62b10 VideoPlayer::render -void FUN_00a62b10(undefined1 param_1) +/* DB: thiscall, clip at this+4; only caller 0x95fcd0 = slot 5 of Cutscene::VideoPart vftable + (0xb7c9f4); locks clip mutex, drops frames whose time passed (+0x9c dropped count), + glBindTexture(this+8 +0x58) and draws the frame; neighbour of VideoPlayer::unload */ + +void VideoPlayer::render(undefined1 param_1) { int iVar1; @@ -1032883,13 +1034559,12 @@ LAB_00a6347e: } -//@@ 00a63490 png_write_info_before_PLTE +//@@ 00a63490 png_write_info -/* DB: libpng: only caller PngWriter::write_info; strings "Invalid sBIT depth specified", "Invalid - sRGB rendering intent specified"; writes IHDR (FUN_00a911e0) then gAMA (info valid&1) with CRC - table update, sBIT, sRGB chunks via write fn at png+0x4c */ +/* DB: libpng: also writes PLTE ("Valid palette required..."), bKGD, pCAL, zTXt (was + png_write_info_before_PLTE) */ -void png_write_info_before_PLTE(void) +void png_write_info(void) { byte bVar1; @@ -1032911,9 +1034586,9 @@ void png_write_info_before_PLTE(void) if (*(code **)(in_ECX + 0x4c) == (code *)0x0) goto LAB_00a639f3; (**(code **)(in_ECX + 0x4c))(); - FUN_00a911e0(*(undefined4 *)(in_EDX + 4),*(undefined1 *)(in_EDX + 0x18), - *(undefined1 *)(in_EDX + 0x19),*(undefined1 *)(in_EDX + 0x1a), - *(undefined1 *)(in_EDX + 0x1b),*(undefined1 *)(in_EDX + 0x1c)); + png_write_IHDR(*(undefined4 *)(in_EDX + 4),*(undefined1 *)(in_EDX + 0x18), + *(undefined1 *)(in_EDX + 0x19),*(undefined1 *)(in_EDX + 0x1a), + *(undefined1 *)(in_EDX + 0x1b),*(undefined1 *)(in_EDX + 0x1c)); uVar8 = *(uint *)(in_EDX + 8); if ((uVar8 & 1) != 0) { uVar7 = __dtoui3(); @@ -1033027,9 +1034702,9 @@ LAB_00a63784: LAB_00a637ad: uVar8 = *(uint *)(in_EDX + 8); if ((uVar8 & 4) != 0) { - FUN_00a91790((double)*(float *)(in_EDX + 0x8c),(double)*(float *)(in_EDX + 0x90), - (double)*(float *)(in_EDX + 0x94),(double)*(float *)(in_EDX + 0x98), - (double)*(float *)(in_EDX + 0x9c)); + png_write_cHRM((double)*(float *)(in_EDX + 0x8c),(double)*(float *)(in_EDX + 0x90), + (double)*(float *)(in_EDX + 0x94),(double)*(float *)(in_EDX + 0x98), + (double)*(float *)(in_EDX + 0x9c)); uVar8 = *(uint *)(in_EDX + 8); } if ((uVar8 & 8) == 0) { @@ -1033051,11 +1034726,11 @@ LAB_00a637ad: iVar10 = iVar10 + 1; } while (iVar10 < (int)(uint)*(ushort *)(in_EDX + 0x16)); } - FUN_00a91b50(); + png_write_tRNS(); } uVar8 = *(uint *)(in_EDX + 8); if ((uVar8 & 0x20) != 0) { - FUN_00a91dd0(); + png_write_bKGD(); uVar8 = *(uint *)(in_EDX + 8); } if ((uVar8 & 0x40) != 0) { @@ -1033067,9 +1034742,9 @@ LAB_00a637ad: uVar8 = *(uint *)(in_EDX + 8); } if ((uVar8 & 0x400) != 0) { - FUN_00a92cb0(*(undefined4 *)(in_EDX + 0xa4),*(undefined4 *)(in_EDX + 0xa8), - *(undefined1 *)(in_EDX + 0xb4),*(undefined1 *)(in_EDX + 0xb5), - *(undefined4 *)(in_EDX + 0xac),*(undefined4 *)(in_EDX + 0xb0)); + png_write_pCAL(*(undefined4 *)(in_EDX + 0xa4),*(undefined4 *)(in_EDX + 0xa8), + *(undefined1 *)(in_EDX + 0xb4),*(undefined1 *)(in_EDX + 0xb5), + *(undefined4 *)(in_EDX + 0xac),*(undefined4 *)(in_EDX + 0xb0)); uVar8 = *(uint *)(in_EDX + 8); } if ((char)uVar8 < '\0') { @@ -1033168,9 +1034843,11 @@ void * png_create_write_struct(void) } -//@@ 00a63ba0 FUN_00a63ba0 +//@@ 00a63ba0 png_write_row -void FUN_00a63ba0(void) +/* DB: libpng (round 7 agent) */ + +void png_write_row(void) { byte bVar1; @@ -1033237,9 +1034914,9 @@ void FUN_00a63ba0(void) memcpy((void *)(*(int *)(in_ECX + 0xe4) + 1),in_EDX,_Size); if ((((*(char *)(in_ECX + 0x11b) == '\0') || (5 < *(byte *)(in_ECX + 0x11c))) || ((*(byte *)(in_ECX + 0x68) & 2) == 0)) || - (FUN_00a93640(*(byte *)(in_ECX + 0x11c)), *(int *)(in_ECX + 0xf8) != 0)) { + (png_do_write_interlace(*(byte *)(in_ECX + 0x11c)), *(int *)(in_ECX + 0xf8) != 0)) { if (*(int *)(in_ECX + 0x68) != 0) { - FUN_00a94c80(); + png_do_write_transformations(); } png_write_find_filter(); if (*(code **)(in_ECX + 0x194) != (code *)0x0) { @@ -1033777,7 +1035454,7 @@ void png_do_strip_filler(uint param_1) //@@ 00a64550 png_do_bgr /* DB: libpng: swaps R and B for RGB/RGBA 8 and 16-bit rows; png_read_row under PNG_BGR (1) and - write transforms 00a94c80 */ + write transforms 00a94c80 png_do_write_transformations void png_do_bgr(void) @@ -1034220,11 +1035897,15 @@ void FUN_00a649d0(byte param_1) } -//@@ 00a64a50 FUN_00a64a50 +//@@ 00a64a50 ImagePng::load /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: slot 14 of KAGE::Graphics::ImagePng vftable (0xb9ff84+0x38 = 0xb9ffbc; image_load_jpeg is the + same slot of ImageJpg at 0xba0020); PNG sibling of image_load_jpeg: PNG signature compare, PLTE, + 'Width too large for libpng', 'Failed to load image %s because the component depth is not 8-bit' + (only user), ImageBase::set_size, image_premultiply_alpha */ -undefined4 FUN_00a64a50(int *param_1,undefined4 param_2) +undefined4 ImagePng::load(int *param_1,undefined4 param_2) { int *piVar1; @@ -1034330,7 +1036011,7 @@ LAB_00a64af1: *(int **)((int)pvVar5 + 0x5c) = local_30; *(undefined1 *)((int)pvVar5 + 0x124) = 8; local_40 = pvVar14; - FUN_00a96980(); + png_read_info(); iVar6 = setjmp3(local_3c,3,&DAT_00af08ab,local_8,&FuncInfo_00bb33fc); puVar13 = local_2c; pvVar5 = local_3c; @@ -1034374,7 +1036055,7 @@ LAB_00a64af1: } local_48 = local_48 / local_28; if ((*(byte *)((int)pvVar5 + 100) & 0x40) == 0) { - FUN_00ab33f0(); + png_read_start_row(); } FUN_00a982d0(); if (puVar13 == (ushort *)0x0) { @@ -1034420,7 +1036101,7 @@ LAB_00a64de8: if (uVar12 != 0) { uVar9 = uVar12; do { - FUN_00a96cc0(uVar12); + png_read_row(uVar12); uVar9 = uVar9 - 1; uVar12 = extraout_ECX; } while (uVar9 != 0); @@ -1034504,8 +1036185,8 @@ LAB_00a64de8: } (**(code **)(*piVar8 + 0xc))(local_48,uVar9,0); } - FUN_00a97100(); - FUN_00a973a0(&local_40); + png_read_end(); + png_destroy_read_struct(&local_40); ExceptionList = local_10; return 1; } @@ -1034527,7 +1036208,7 @@ LAB_00a64de8: } pvVar14 = local_3c; pvVar5 = local_40; - FUN_00a97450(local_40); + png_read_destroy(local_40); if (local_2c != (ushort *)0x0) { if ((pvVar14 != (void *)0x0) && (*(void **)(local_2c + 0x1c) != (void *)0x0)) { free(*(void **)(local_2c + 0x1c)); @@ -1034650,13 +1036331,13 @@ void FUN_00a65110(byte param_1) } -//@@ 00a65190 image_load_jpeg +//@@ 00a65190 KAGE::Graphics::ImageJpg::load /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ -/* DB: libjpeg: jpeg_std_error table ("Bogus message code %d"), setjmp3 error exit, "Failed to load - image '%s' because ... channels (%d)" */ +/* DB: slot 14 of the KAGE::Graphics::ImageJpg vtable (0xba0020); loads a JPEG image (was + image_load_jpeg) */ -undefined4 image_load_jpeg(int param_1,undefined4 param_2) +undefined4 KAGE::Graphics::ImageJpg::load(int param_1,undefined4 param_2) { size_t sVar1; @@ -1034775,7 +1036456,7 @@ undefined4 image_load_jpeg(int param_1,undefined4 param_2) case (code *)0xc9: iVar4 = (*(code *)*local_28)(&local_1c8); if (iVar4 == 1) { - FUN_00a9d620(); + default_decompress_parms(); local_1b4 = (code *)0xca; } break; @@ -1034873,7 +1036554,7 @@ LAB_00a6560a: uVar5 = extraout_ECX_02; } LAB_00a65615: - cVar3 = ImageBase::set_size(local_16c,local_168,uVar5); + cVar3 = ::ImageBase::set_size(local_16c,local_168,uVar5); sVar1 = local_160; if (cVar3 == '\0') { /* WARNING: Subroutine does not return */ @@ -1035010,12 +1036691,16 @@ void FUN_00a659e0(byte param_1) } -//@@ 00a65a60 FUN_00a65a60 +//@@ 00a65a60 ImageBmp::load /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ /* WARNING: Removing unreachable block (ram,0x00a65c07) */ +/* DB: slot 14 of KAGE::Graphics::ImageBmp vftable (0xba004c+0x38 = 0xba0084, same slot as + ImagePng::load/image_load_jpeg); 'header type is invalid', 'compressed bitmaps are not + supported', 'unsupported number of bits per pixel', ImageBase::set_size, image_premultiply_alpha + */ -undefined4 FUN_00a65a60(int *param_1,undefined4 param_2) +undefined4 ImageBmp::load(int *param_1,undefined4 param_2) { char cVar1; @@ -1035146,12 +1036831,18 @@ void FUN_00a65d00(byte param_1) } -//@@ 00a65d80 FUN_00a65d80 +//@@ 00a65d80 KAGE::Graphics::ImagePcx::load /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ /* WARNING: Removing unreachable block (ram,0x00a65f23) */ +/* DB: vtable slot 14 of KAGE::Graphics::ImagePcx (same slot as image_load_jpeg in ImageJpg); + strings "Pcx image \"%s\" has premultiplied alpha but premultipled alpha rendering is not turned + on in KAGE", "Failed to load image ... set_size failed / texel buffer allocation / + bind_texel_data failed / unsupported number of channels"; reads the 0x80-byte PCX header via + stream vtable +0x14, ImageBase::set_size(xmax-xmin+1, ymax-ymin+1), RLE decode, + image_premultiply_alpha; sibling of image_load_jpeg (00a65190) */ -undefined4 FUN_00a65d80(int *param_1,int *param_2) +undefined4 KAGE::Graphics::ImagePcx::load(int *param_1,int *param_2) { ushort uVar1; @@ -1035188,8 +1036879,9 @@ undefined4 FUN_00a65d80(int *param_1,int *param_2) return 0; } (**(code **)(*param_1 + 0x14))(local_90,0x80,1); - cVar3 = ImageBase::set_size(((uint)uStack_94 - (uint)uStack_98) + 1, - ((uint)uStack_92 - (uint)uStack_96) + 1,extraout_ECX); + cVar3 = ::ImageBase::set_size + (((uint)uStack_94 - (uint)uStack_98) + 1,((uint)uStack_92 - (uint)uStack_96) + 1 + ,extraout_ECX); if (cVar3 == '\0') { /* WARNING: Subroutine does not return */ KAGE_LogMessage(8,"Failed to load image \'%s\' because set_size failed\n",param_2); @@ -1035613,7 +1037305,7 @@ undefined4 FUN_00a66730(int param_1) local_10[1] = 0; local_10[0] = iVar2 * in_EDX * param_1; uVar3 = KAGE_Memory::heap_alloc(2,local_10); - cVar1 = FUN_00a66a20(); + cVar1 = image_convert_pixel_format(); if (cVar1 == '\0') { KAGE_Memory::heap_free(2,uVar3); return 0; @@ -1035637,7 +1037329,7 @@ undefined4 FUN_00a667b0(undefined4 param_1) iVar1 = FUN_00a66370(); uVar3 = FUN_00a66370(); if (iVar1 == (int)uVar3) { - uVar2 = FUN_00a66a20(in_EDX,param_1,(int)((ulonglong)uVar3 >> 0x20),extraout_ECX); + uVar2 = image_convert_pixel_format(in_EDX,param_1,(int)((ulonglong)uVar3 >> 0x20),extraout_ECX); return uVar2; } iVar1 = FUN_00a66730(); @@ -1035793,9 +1037485,13 @@ void FUN_00a66960(undefined1 *param_1,byte param_2,byte param_3,byte param_4,byt } -//@@ 00a66a20 FUN_00a66a20 +//@@ 00a66a20 image_convert_pixel_format -undefined4 FUN_00a66a20(int param_1,int param_2,int param_3,int param_4) +/* DB: ? (w, h, srcFmt, dstFmt) with ECX src / EDX dst: same format or same bytes-per-pixel + (FUN_00a66370: fmt 0-2 ->1, 3-5 ->2, 6-7 ->3, 8-10 ->4) memcpy, else per-pair converters (6->7, + 6->8 ...); callers FUN_00a66730 (alloc + convert) and FUN_00a667b0 (in-place) */ + +undefined4 image_convert_pixel_format(int param_1,int param_2,int param_3,int param_4) { int iVar1; @@ -1036177,7 +1037873,7 @@ LAB_00a66ecc: *(int *)(in_ECX + 0x14) = g_graphicsManager_blendMode[1]; *(int *)(in_ECX + 0x18) = g_graphicsManager_blendMode[2]; *(int *)(in_ECX + 0x1c) = g_graphicsManager_blendMode[3]; - *(undefined4 *)(in_ECX + 0x20) = DAT_00c79910; + *(int *)(in_ECX + 0x20) = g_graphicsManager_blendMode[4]; pvVar1 = g_currentShader; *(void **)(in_ECX + 0x24) = g_currentShader; local_2c = (int *)((int)pvVar1 + 0x40); @@ -1036230,7 +1037926,7 @@ uint RenderBatch::is_state_equal(void *param_1) (pvVar2 = *(void **)(in_ECX + 0x14), pvVar2 != (void *)g_graphicsManager_blendMode[1])) || ((pvVar2 = *(void **)(in_ECX + 0x18), pvVar2 != (void *)g_graphicsManager_blendMode[2] || (pvVar2 = *(void **)(in_ECX + 0x1c), pvVar2 != (void *)g_graphicsManager_blendMode[3])))) || - ((pvVar2 = *(void **)(in_ECX + 0x20), pvVar2 != DAT_00c79910 || + ((pvVar2 = *(void **)(in_ECX + 0x20), pvVar2 != (void *)g_graphicsManager_blendMode[4] || (pvVar2 = *(void **)(in_ECX + 0x24), pvVar2 != g_currentShader)))) goto LAB_00a671a4; piVar5 = *(int **)((int)pvVar2 + 0x40); piVar4 = *(int **)(in_ECX + 0x28); @@ -1037412,13 +1039108,17 @@ undefined4 FUN_00a68790(byte *param_1) } -//@@ 00a687f0 FUN_00a687f0 +//@@ 00a687f0 KAGE::Filesys::FileMap::scan_directory /* WARNING: Removing unreachable block (ram,0x00a6897a) */ /* WARNING: Removing unreachable block (ram,0x00a68993) */ /* WARNING: Removing unreachable block (ram,0x00a689a7) */ +/* DB: ? vtable slot 6 of KAGE::Filesys::FileMap (00ba04cc) and of + ContentManagerBase::ContentMountPoint (00b81cf8): win32_opendir(path_join(...)), files (flag 1) + hashed with GetPrimaryFilePathHash into the map (map_find_value), subdirectories (flag 2) queued + and walked */ -void FUN_00a687f0(undefined4 param_1) +void KAGE::Filesys::FileMap::scan_directory(undefined4 param_1) { int iVar1; @@ -1037711,11 +1039411,13 @@ void FUN_00a68c50(void) } -//@@ 00a68cf0 FUN_00a68cf0 +//@@ 00a68cf0 KAGE::Filesys::ArchivedFile::refill_buffer /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: strings 'ArchivedFile::refill_buffer LZW compressed buffer overflow.' / '... MiniZ compressed + buffer overflow.'; caller is KAGE::Filesys::ArchivedFile vtable slot 5 (FUN_00a69510) */ -void FUN_00a68cf0(void) +void KAGE::Filesys::ArchivedFile::refill_buffer(void) { byte *pbVar1; @@ -1037753,7 +1039455,7 @@ void FUN_00a68cf0(void) KAGE_LogMessage(0x10,"ArchivedFile::refill_buffer LZW compressed buffer overflow.\n"); } (**(code **)(**(int **)(in_ECX + 8) + 0x14))(in_ECX + 0x1c,1,local_8c); - uVar4 = FUN_00a85320(in_ECX + 0x81c,in_ECX + 0x1c,local_8c); + uVar4 = lzw_decompress(in_ECX + 0x81c,in_ECX + 0x1c,local_8c); *(undefined4 *)(in_ECX + 0xc20) = uVar4; } else if (cVar2 == '\x02') { @@ -1037966,11 +1039668,15 @@ LAB_00a6904c: } -//@@ 00a69090 FUN_00a69090 +//@@ 00a69090 KAGE::Filesys::ArchivedFile::refill_buffer /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: strings "ArchivedFile::refill_buffer LZW compressed buffer overflow." / "MiniZ compressed + buffer overflow."; reads the next compressed chunk (size dword, max 0x7ff) through the inner + stream vtable +0x14 and decompresses with lzw (00a85320) or miniz (00a89f80) by archive + compression type */ -void FUN_00a69090(uint param_1) +void KAGE::Filesys::ArchivedFile::refill_buffer(uint param_1) { byte *pbVar1; @@ -1038048,7 +1039754,7 @@ void FUN_00a69090(uint param_1) KAGE_LogMessage(0x10,"ArchivedFile::refill_buffer LZW compressed buffer overflow.\n"); } (**(code **)(**(int **)(in_ECX + 8) + 0x14))(in_ECX + 0x1c,1,local_90); - uVar4 = FUN_00a85320(in_ECX + 0x81c,in_ECX + 0x1c,local_90); + uVar4 = lzw_decompress(in_ECX + 0x81c,in_ECX + 0x1c,local_90); *(undefined4 *)(in_ECX + 0xc20) = uVar4; } else if (cVar2 == '\x02') { @@ -1038204,7 +1039910,7 @@ LAB_00a694d9: FUN_00a68c50(); uVar1 = *(uint *)(in_ECX + 0x18); } - FUN_00a69090(param_1 - uVar1); + KAGE::Filesys::ArchivedFile::refill_buffer(param_1 - uVar1); return; } @@ -1038247,7 +1039953,7 @@ uint FUN_00a69510(void *param_1,uint param_2,int param_3) if (*(char *)(in_ECX + 0xc28) != '\0') { return param_2; } - FUN_00a68cf0(); + KAGE::Filesys::ArchivedFile::refill_buffer(); if (*(char *)(in_ECX + 0xc28) == '\0') { uVar2 = *(uint *)(in_ECX + 0xc20); if (uVar1 < *(uint *)(in_ECX + 0xc20)) { @@ -1038625,11 +1040331,14 @@ void FUN_00a69be0(void *param_1,size_t param_2) } -//@@ 00a69c00 FUN_00a69c00 +//@@ 00a69c00 glfw_terminate /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: GLFW 3.4 init.c static terminate(): destroys every window (FUN_00a6af90 glfwDestroyWindow) + and cursor (FUN_00a26570), frees monitors (g_glfwMonitorCount, modes +0xb0, gamma +0xb4 via + g_glfwDeallocate); from glfwInit FUN_00a6a420 failure path */ -void FUN_00a69c00(void) +void glfw_terminate(void) { int iVar1; @@ -1039114,11 +1040823,12 @@ LAB_00a6a2d2: } -//@@ 00a6a420 FUN_00a6a420 +//@@ 00a6a420 glfwInit /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: glfw (round 7 agent) */ -undefined4 FUN_00a6a420(void) +undefined4 glfwInit(void) { int iVar1; @@ -1039149,7 +1040859,7 @@ undefined4 FUN_00a6a420(void) DAT_00c73688 = FUN_00a69be0; g_glfwDeallocate = FUN_00837030; } - iVar1 = FUN_00a9db50(); + iVar1 = _glfwSelectPlatform(); if (iVar1 != 0) { iVar1 = (*DAT_00c73698)(); if (iVar1 != 0) { @@ -1039173,7 +1040883,7 @@ undefined4 FUN_00a6a420(void) } uVar2 = 0; do { - iVar1 = FUN_00a25770(); + iVar1 = parseMapping(); if (iVar1 != 0) { DAT_00c74b74 = DAT_00c74b74 + 1; } @@ -1039212,7 +1040922,7 @@ undefined4 FUN_00a6a420(void) return 1; } } - FUN_00a69c00(); + glfw_terminate(); } return 0; } @@ -1039381,12 +1041091,14 @@ void FUN_00a6a930(int param_1) } -//@@ 00a6a9b0 FUN_00a6a9b0 +//@@ 00a6a9b0 glfwCreateWindow /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: GLFW 3.4 window.c: asserts "title != NULL", "width >= 0", "height >= 0", "Invalid window size + %ix%i", copies _glfw.hints, _glfwIsValidContextConfig (00a6b1a0); caller FUN_00a19df0 */ -undefined4 * FUN_00a6a9b0(int param_1,undefined4 param_2,undefined4 param_3) +undefined4 * glfwCreateWindow(int param_1,undefined4 param_2,undefined4 param_3) { void *_Dst; @@ -1039505,7 +1041217,7 @@ undefined4 * FUN_00a6a9b0(int param_1,undefined4 param_2,undefined4 param_3) uStack_4c0 = _DAT_00c73c88; uStack_4b8 = _DAT_00c73c90; uStack_4bc = local_4b4; - iVar3 = FUN_00a6b1a0(); + iVar3 = _glfwIsValidContextConfig(); if (iVar3 != 0) { _Dst = (void *)(*g_glfwAllocate)(0x328,g_glfwAllocatorUser); if (_Dst == (void *)0x0) { @@ -1039552,11 +1041264,14 @@ undefined4 * FUN_00a6a9b0(int param_1,undefined4 param_2,undefined4 param_3) } -//@@ 00a6ac80 FUN_00a6ac80 +//@@ 00a6ac80 glfwWindowHint /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: GLFW 3.4 window.c: switch on hint (ECX) 0x20001.. storing + _glfw.hints.window/framebuffer/context, 'Invalid window hint 0x%%08X'; called by KAGE window + creation 0xa19df0 */ -void FUN_00a6ac80(void) +void glfwWindowHint(void) { int in_ECX; @@ -1039822,9 +1041537,13 @@ void FUN_00a6b0a0(undefined4 param_1,undefined4 param_2,int param_3,int param_4, } -//@@ 00a6b1a0 FUN_00a6b1a0 +//@@ 00a6b1a0 _glfwIsValidContextConfig -undefined4 FUN_00a6b1a0(void) +/* DB: GLFW 3.4 context.c: "Invalid context creation API 0x%08X", "Invalid client API 0x%08X", + "Context creation APIs do not match between contexts", profile/forward-compat/robustness/release + checks; from glfwCreateWindow 00a6a9b0 glfwCreateWindow + +undefined4 _glfwIsValidContextConfig(void) { int iVar1; @@ -1040048,11 +1041767,14 @@ int * _glfwChooseFBConfig(int param_1) } -//@@ 00a6b570 FUN_00a6b570 +//@@ 00a6b570 _glfwRefreshContextAttribs /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: GLFW 3.4 context.c: "Requested OpenGL version %i.%i, got version %i.%i", "OpenGL ES-CM ", + GL_ARB_robustness/GL_KHR_context_flush_control, glGetString/glGetIntegerv lookups, win32_thread.c + tls assert */ -undefined4 FUN_00a6b570(void) +undefined4 _glfwRefreshContextAttribs(void) { char cVar1; @@ -1040484,9 +1042206,13 @@ undefined4 FUN_00a6be30(void) } -//@@ 00a6beb0 FUN_00a6beb0 +//@@ 00a6beb0 _glfwInputMonitor -void FUN_00a6beb0(int param_1) +/* DB: GLFW monitor.c asserts 'monitor != NULL', 'action == GLFW_CONNECTED || action == + GLFW_DISCONNECTED', 'placement == _GLFW_INSERT_FIRST || ...'; _glfw_calloc/memmove of the monitor + array */ + +void _glfwInputMonitor(int param_1) { undefined4 *puVar1; @@ -1040742,7 +1042468,7 @@ void FUN_00a6c3e0(undefined4 param_1) memset(&DAT_00c78ab0,0,0x15d); memset(&DAT_00c78950,0,0x15d); FUN_00a6ce70(); - FUN_00a6c960(); + keyboard_key_names_init(); FUN_00a1e210(param_1); return; } @@ -1040934,9 +1042660,13 @@ undefined4 FUN_00a6c630(void) } -//@@ 00a6c650 FUN_00a6c650 +//@@ 00a6c650 KAGE::Input::InputDeviceKeyboard::update -undefined4 FUN_00a6c650(void) +/* DB: ? InputDeviceKeyboard vtable slot 30 (InputDeviceGamepad slot 30 = 00a22940): copies current + key-state block (0x57 dwords) to previous, polls the GLFW window (GLFW_3.4 input.c asserts + "window != NULL", cursor mode/position, glfw_get_window_size) */ + +undefined4 KAGE::Input::InputDeviceKeyboard::update(void) { char cVar1; @@ -1041100,9 +1042830,13 @@ LAB_00a6c6cb: } -//@@ 00a6c960 FUN_00a6c960 +//@@ 00a6c960 keyboard_key_names_init -void FUN_00a6c960(void) +/* DB: ? only caller FUN_00a6c3e0 (input init: clears three 0x15d key tables then calls it); memset + 0x2ba0 table of 32-byte names, 'A'..'Z', '0'..'9', strcpy_s + "Space","Quote","Comma","Minus","Backspace","F1".."F25","CAPS LOCK"... */ + +void keyboard_key_names_init(void) { uint uVar1; @@ -1041348,11 +1043082,14 @@ undefined4 FUN_00a6d2a0(undefined4 param_1,int param_2) } -//@@ 00a6d2c0 FUN_00a6d2c0 +//@@ 00a6d2c0 deviceObjectCallback /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: GLFW 3.4 win32_joystick.c DirectInput object enum callback: axes/sliders/buttons/POVs into + the object array, DIPROP_RANGE SetProperty ("Warning: IDIrectInputDevice8_SetProperty returned + 0x%X"); pushed as a callback at 00a6d989 */ -undefined4 FUN_00a6d2c0(int param_1,int param_2) +undefined4 deviceObjectCallback(int param_1,int param_2) { int iVar1; @@ -1042916,9 +1044653,16 @@ undefined4 FUN_00a6f680(void) } -//@@ 00a6f770 FUN_00a6f770 +//@@ 00a6f770 KAGE::System::UserProfile::set_id -void FUN_00a6f770(uint *param_1,char *param_2) +/* DB: ? ECX=UserProfile (id u64 at +8/+0xc as in UserProfile::find_or_create users): when the new + id param_1 differs, under the profile mutex removes the old key from the global profile map + (FUN_00a24210 find, std_tree_extract) and re-inserts under the new id (FUN_00a70a10), re-points + g_userProfile if it was the local user, then copies the display name param_2 and flag bits into + the Epic user info (FUN_00a23bb0, SmartPointer); 4 callers: EOS product-user + mapping 00a6fa10, localhost 00a703f0, "user_id"/"user_name" parsers 00a772a0/00a776a0 eos_lobby_member_on_user_info + +void KAGE::System::UserProfile::set_id(uint *param_1,char *param_2) { uint *puVar1; @@ -1042985,7 +1044729,7 @@ void FUN_00a6f770(uint *param_1,char *param_2) uVar7 = param_1[1]; *puVar1 = *param_1; in_ECX[3] = uVar7; - FUN_00a70a10(local_18,local_14); + eos_user_info_find_or_create(local_18,local_14); local_8 = 1; if (local_14 != (int *)0x0) { cVar3 = (**(code **)(*local_14 + 0xc))(); @@ -1042995,13 +1044739,13 @@ void FUN_00a6f770(uint *param_1,char *param_2) } local_8 = 0xffffffff; if (bVar2) { - g_userProfile = (void *)UserProfile::find_or_create(); + g_userProfile = (void *)::UserProfile::find_or_create(); *(byte *)g_userProfile = *(byte *)g_userProfile | 1; } } iVar5 = FUN_00a23bb0(); if (iVar5 == 0) { - KAGE::SmartPointer::SmartPointer(extraout_ECX); + SmartPointer::SmartPointer(extraout_ECX); } else { FUN_00a23df0(iVar5 + 0x20); @@ -1043065,11 +1044809,16 @@ void FUN_00a6f770(uint *param_1,char *param_2) } -//@@ 00a6fa10 FUN_00a6fa10 +//@@ 00a6fa10 eos_on_query_product_user_id_mappings /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: EOS callback: pushed as the completion callback of _EOS_Connect_QueryProductUserIdMappings in + 00a6fc30 and 00a70020; logs "Failed to retrieve product ID mapping: %s" (EOS_EResult_ToString), + EOS_Connect_CopyProductUserInfo, external account type 0 (Epic) / 1 (Steam id string) else + "Unsupported platform for user", stores the user (FUN_00a6f770), ExternalAccountInfo_Release, + then queries EOS UserInfo with callback 00a6fd70 */ -void FUN_00a6fa10(int *param_1) +void eos_on_query_product_user_id_mappings(int *param_1) { int iVar1; @@ -1043137,7 +1044886,7 @@ void FUN_00a6fa10(int *param_1) /* WARNING: Subroutine does not return */ KAGE_LogMessage(0x10,"Unsupported platform for user\n"); } - FUN_00a6f770(&local_40,*(undefined4 *)(local_34 + 8)); + KAGE::System::UserProfile::set_id(&local_40,*(undefined4 *)(local_34 + 8)); _EOS_Connect_ExternalAccountInfo_Release_4(local_34); if (*(int *)(iVar1 + 0x14) == 0) { local_4c = DAT_00c5abfc; @@ -1043148,7 +1044897,7 @@ void FUN_00a6fa10(int *param_1) _EOS_UserInfo_QueryUserInfoByExternalAccount_16(uVar3); } else { - FUN_00a70a10(local_58,iVar1); + eos_user_info_find_or_create(local_58,iVar1); local_8 = 1; if (local_54 != (int *)0x0) { cVar2 = (**(code **)(*local_54 + 0xc))(); @@ -1043221,7 +1044970,8 @@ void FUN_00a6fc30(int *param_1) local_38 = 2; local_28 = 1; local_2c = (undefined4 *)(iVar1 + 0x10); - uVar2 = _EOS_Platform_GetConnectInterface_4(g_eosPlatform,&local_38,iVar1,FUN_00a6fa10); + uVar2 = _EOS_Platform_GetConnectInterface_4 + (g_eosPlatform,&local_38,iVar1,eos_on_query_product_user_id_mappings); _EOS_Connect_QueryProductUserIdMappings_16(uVar2); ExceptionList = local_10; return; @@ -1043253,7 +1045003,7 @@ void FUN_00a6fd70(int param_1) ExceptionList = &local_10; iVar1 = *(int *)(param_1 + 4); *(undefined4 *)(iVar1 + 0x14) = *(undefined4 *)(param_1 + 0x14); - FUN_00a70a10(local_18,iVar1); + eos_user_info_find_or_create(local_18,iVar1); local_8 = 0; if (local_14 != (int *)0x0) { cVar2 = (**(code **)(*local_14 + 0xc))(uVar3); @@ -1043511,7 +1045261,8 @@ GridEntity_Door::play_animation local_4c = 0; local_54 = 2; local_44 = 1; - uVar4 = _EOS_Platform_GetConnectInterface_4(g_eosPlatform,&local_54,puVar5,FUN_00a6fa10) + uVar4 = _EOS_Platform_GetConnectInterface_4 + (g_eosPlatform,&local_54,puVar5,eos_on_query_product_user_id_mappings) ; _EOS_Connect_QueryProductUserIdMappings_16(uVar4); } @@ -1043593,9 +1045344,14 @@ void FUN_00a70380(void) } -//@@ 00a703f0 FUN_00a703f0 +//@@ 00a703f0 eos_user_info_find_or_create -undefined4 FUN_00a703f0(undefined4 param_1,uint param_2) +/* DB: ? (out, EOS user id): finds a SmartPointer in the ECX map + (_Find_lower_bound), else creates one (FUN_00a70710) whose display name is "localhost" for id + 0xfefefefe, "???" without g_userProfile, else the profile's name; FUN_00a61170 calls it with + g_eosLocalUserId */ + +undefined4 eos_user_info_find_or_create(undefined4 param_1,uint param_2) { void *pvVar1; @@ -1043728,7 +1045484,7 @@ LAB_00a70665: piStack_34 = (int *)0x0; local_38 = 0; LAB_00a70678: - FUN_00a6f770(&local_38,pcVar6); + KAGE::System::UserProfile::set_id(&local_38,pcVar6); KAGE::SmartPointer::operator_assign(param_1); ExceptionList = local_10; return param_1; @@ -1043925,9 +1045681,14 @@ void FUN_00a70990(void) } -//@@ 00a70a10 FUN_00a70a10 +//@@ 00a70a10 eos_user_info_find_or_create -int * FUN_00a70a10(int *param_1,int param_2) +/* DB: ? looks a user up in two EpicUserInfo maps (_Find_lower_bound on EOS ids at +0x10/+0x14), + else builds one (FUN_00a70710) as KAGE::SmartPointer and registers it via + UserProfile::find_or_create; callers FUN_00a6f770/00a6fa10/00a6fd70 ('Failed to retrieve product + ID mapping: %s', 'Unsupported platform for user') */ + +int * eos_user_info_find_or_create(int *param_1,int param_2) { int *piVar1; @@ -1044389,9 +1046150,9 @@ undefined4 KAGE::System::Init(void) local_8 = 0xffffffff; _DAT_00c379e4 = _DAT_00c379e4 | 1; memset(&DAT_00c37b14,0,0x20004); - cVar2 = FUN_00a18e90(); + cVar2 = Graphics::Manager::Init(); if (cVar2 != '\0') { - cVar2 = FUN_00a7d2a0(); + cVar2 = Sound::ManagerOpenAL::Init(); if (cVar2 != '\0') { _DAT_00c5aaec = alcGetProcAddress(DAT_00c5aad8,"alcDevicePauseSOFT"); _DAT_00c5aaf0 = alcGetProcAddress(DAT_00c5aad8,"alcDeviceResumeSOFT"); @@ -1044453,7 +1046214,7 @@ undefined4 KAGE::System::Init(void) _DAT_00c79a54 = _DAT_00c79a54 | 1; _DAT_00c5abc4 = _DAT_00c5abc4 | 1; _DAT_00c5aa84 = _DAT_00c5aa84 | 1; - FUN_00a5f770(); + EosManager::Init(); DAT_00c78aad = 1; ExceptionList = local_10; return 1; @@ -1044603,11 +1046364,15 @@ void KAGE::System::update(void) } -//@@ 00a71770 FUN_00a71770 +//@@ 00a71770 kage_shutdown /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: ? only call from IsaacMain (0093140e): releases EOS (_EOS_Platform_Release, _EOS_Shutdown), + closes g_logFile, frees g_deflateCompressor, stops the multiplayer command thread + (ThreadSafeQueue::shutdown x3), clears g_theoraVideoManager and global string + tables */ -void FUN_00a71770(void) +void kage_shutdown(void) { int iVar1; @@ -1045255,9 +1047020,15 @@ int * FUN_00a72260(int *param_1,uint *param_2) } -//@@ 00a722c0 FUN_00a722c0 +//@@ 00a722c0 KAGE::Network::MultiplayerManager::update_lobby_members -void FUN_00a722c0(void) +/* DB: ? first call of lobby_process_user_commands (MultiplayerManager vtable slot 3): if lobby + +0x88 valid, refreshes UserProfile::find_or_create/load_steam_avatar for ids +0x90, + Lobby::get_members, members missing from the lobby list -> + Multiplayer::handle_member_status(..,2), then posts CommandThread commands 3 and 6 (ctx + +0x9c/+0xa0) */ + +void KAGE::Network::MultiplayerManager::update_lobby_members(void) { int *piVar1; @@ -1045305,18 +1047076,18 @@ void FUN_00a722c0(void) uVar8 = 0; if (*(int *)(in_ECX + 0x94) - *(int *)(in_ECX + 0x90) >> 3 != 0) { do { - local_24 = CONCAT44(local_24._4_4_,KAGE::System::UserProfileBase::vftable); + local_24 = CONCAT44(local_24._4_4_,System::UserProfileBase::vftable); local_24._4_4_ = (int *)UserProfile::find_or_create(); local_8 = 0; - local_24._0_4_ = KAGE::System::UserProfile::vftable; + local_24._0_4_ = System::UserProfile::vftable; if (((local_24._4_4_ != (int *)0x0) && (*(int *)((int)local_24._4_4_ + 8) != 0 || *(int *)((int)local_24._4_4_ + 0xc) != 0)) && (*(int *)((int)local_24._4_4_ + 0x14) == 0)) { - KAGE::System::UserProfile::load_steam_avatar(); + System::UserProfile::load_steam_avatar(); } local_8 = 0xffffffff; iVar4 = FUN_00a28590(&local_24); - local_24 = CONCAT44(local_24._4_4_,KAGE::System::UserProfileBase::vftable); + local_24 = CONCAT44(local_24._4_4_,System::UserProfileBase::vftable); if (iVar4 == -1) goto LAB_00a725ee; uVar8 = uVar8 + 1; } while (uVar8 < (uint)(*(int *)(in_ECX + 0x94) - *(int *)(in_ECX + 0x90) >> 3)); @@ -1045325,7 +1047096,7 @@ void FUN_00a722c0(void) local_34 = (code *)0x0; local_30 = (undefined4 *)0x0; local_8 = 1; - KAGE::Network::Multiplayer::Lobby::get_members(&local_38,0); + Multiplayer::Lobby::get_members(&local_38,0); local_1c = (undefined4 *)((int)local_34 - (int)local_38 >> 3); local_14 = (undefined4 *)0x0; if (local_1c != (undefined4 *)0x0) { @@ -1045365,7 +1047136,7 @@ void FUN_00a722c0(void) uVar6 = *(undefined4 *)(iVar4 + 8); } local_2c = CONCAT44(uVar5,uVar6); - Multiplayer::handle_member_status(in_ECX + 0x10,&local_2c,2); + ::Multiplayer::handle_member_status(in_ECX + 0x10,&local_2c,2); LAB_00a72464: pcVar7 = local_18 + 8; local_14 = (undefined4 *)((int)local_14 + 1); @@ -1045533,9 +1047304,15 @@ void KAGE::Network::Multiplayer::Lobby::Lobby(int param_1) } -//@@ 00a727b0 FUN_00a727b0 +//@@ 00a727b0 KAGE::Network::MultiplayerManager::create_lobby -void FUN_00a727b0(uint param_1,uint param_2,undefined4 param_3,undefined4 param_4) +/* DB: ? same pattern as MultiplayerManager::join_lobby 00a72a20: if a lobby is active posts + CommandThread command 3 (leave), then command 1 with (type param_1, max members param_2) and + command 2 with callback FUN_00907c80 ("Successfully created lobby %llu"/"Failed to create + lobby"); callers "Creating public lobby..." 00907230 and "Creating friend lobby..." 00907460 */ + +void KAGE::Network::MultiplayerManager::create_lobby + (uint param_1,uint param_2,undefined4 param_3,undefined4 param_4) { char cVar1; @@ -1045767,9 +1047544,16 @@ LAB_00a72b9e: } -//@@ 00a72bc0 FUN_00a72bc0 +//@@ 00a72bc0 KAGE::Network::MultiplayerManager::request_user_profiles -void FUN_00a72bc0(int *param_1,undefined4 param_2,undefined4 param_3) +/* DB: ? ECX=0xc79a60 (MultiplayerManager+0x10, its Lobby handle at +0x10 = 0xc79a70); takes a + vector user ids + callback: no active lobby -> callback(0x10, empty Lobby); ids match lobby + members -> UserProfile::find_or_create + load_steam_avatar each then callback(0, lobby); else + Lobby::get_members and CommandThread::post_command; called from netplay code at 0x91287f with + players lacking a profile */ + +void KAGE::Network::MultiplayerManager::request_user_profiles + (int *param_1,undefined4 param_2,undefined4 param_3) { undefined4 *puVar1; @@ -1045815,12 +1047599,12 @@ void FUN_00a72bc0(int *param_1,undefined4 param_2,undefined4 param_3) cVar4 = (**(code **)(**(int **)(in_ECX + 0x14) + 0xc)) (__security_cookie ^ (int)register0x00000010 - 4U), uVar8 = extraout_ECX, cVar4 == '\0')) { - local_34 = KAGE::Network::Multiplayer::ConstLobby::vftable; - KAGE::SmartPointer::SmartPointer(uVar8); - local_34 = KAGE::Network::Multiplayer::Lobby::vftable; + local_34 = Multiplayer::ConstLobby::vftable; + SmartPointer::SmartPointer(uVar8); + local_34 = Multiplayer::Lobby::vftable; local_8 = 0; FUN_00708430(0x10,&local_34,param_3); - local_34 = KAGE::Network::Multiplayer::ConstLobby::vftable; + local_34 = Multiplayer::ConstLobby::vftable; local_8 = 1; if ((local_2c != (int *)0x0) && ((cVar4 = (**(code **)(*local_2c + 0xc))(), cVar4 != '\0' && @@ -1045843,19 +1047627,19 @@ void FUN_00a72bc0(int *param_1,undefined4 param_2,undefined4 param_3) uVar12 = 0; if (iVar5 != 0) { do { - local_20 = CONCAT44(local_20._4_4_,KAGE::System::UserProfileBase::vftable); + local_20 = CONCAT44(local_20._4_4_,System::UserProfileBase::vftable); local_20._4_4_ = (undefined **)UserProfile::find_or_create(); local_8 = 2; - local_20._0_4_ = KAGE::System::UserProfile::vftable; + local_20._0_4_ = System::UserProfile::vftable; if (((local_20._4_4_ != (undefined **)0x0) && (*(int *)((int)local_20._4_4_ + 8) != 0 || *(int *)((int)local_20._4_4_ + 0xc) != 0)) && (*(int *)((int)local_20._4_4_ + 0x14) == 0)) { - KAGE::System::UserProfile::load_steam_avatar(); + System::UserProfile::load_steam_avatar(); } local_8 = 0xffffffff; iVar11 = FUN_00a28590(&local_20); piVar7 = (int *)*param_1; - local_20 = CONCAT44(local_20._4_4_,KAGE::System::UserProfileBase::vftable); + local_20 = CONCAT44(local_20._4_4_,System::UserProfileBase::vftable); if (iVar11 == -1) { iVar6 = param_1[1]; goto LAB_00a72ccc; @@ -1045897,7 +1047681,7 @@ LAB_00a72ccc: local_30 = (undefined **)0x0; local_2c = (int *)0x0; local_8 = 3; - KAGE::Network::Multiplayer::Lobby::get_members(&local_34,1); + Multiplayer::Lobby::get_members(&local_34,1); local_20._4_4_ = local_34; ppuVar10 = local_34; if (local_34 != local_30) { @@ -1045933,14 +1047717,14 @@ LAB_00a72ccc: } while (ppuVar10 != local_30); } iVar11 = local_24; - local_20 = CONCAT44(local_20._4_4_,KAGE::System::UserProfileBase::vftable); + local_20 = CONCAT44(local_20._4_4_,System::UserProfileBase::vftable); iVar6 = UserProfile::find_or_create(); local_8._0_1_ = 4; - local_20 = CONCAT44(iVar6,KAGE::System::UserProfile::vftable); - ppuVar10 = KAGE::System::UserProfile::vftable; + local_20 = CONCAT44(iVar6,System::UserProfile::vftable); + ppuVar10 = System::UserProfile::vftable; if (((iVar6 != 0) && (*(int *)(iVar6 + 8) != 0 || *(int *)(iVar6 + 0xc) != 0)) && (*(int *)(iVar6 + 0x14) == 0)) { - KAGE::System::UserProfile::load_steam_avatar(); + System::UserProfile::load_steam_avatar(); ppuVar10 = (undefined **)local_20; } local_8._0_1_ = 5; @@ -1046299,9 +1048083,13 @@ void FUN_00a73aa0(byte param_1) } -//@@ 00a73b60 FUN_00a73b60 +//@@ 00a73b60 KAGE::Network::Multiplayer::ServiceLocalhost::update -void FUN_00a73b60(void) +/* DB: ? ServiceLocalhost vtable slot 2 (ServiceSteam/EOS slot 2 = 00a75280/00a76180 read packets): + under mutex +0x10 walks peers (map +8), collects those whose HWND fails IsWindow and drops them + via Multiplayer::handle_member_status */ + +void KAGE::Network::Multiplayer::ServiceLocalhost::update(void) { int *_Src; @@ -1046390,21 +1048178,19 @@ void FUN_00a73b60(void) piVar5 = local_18._4_4_; if (local_18._4_4_ != piVar8) { do { - local_40 = KAGE::Network::Multiplayer::ConstLobby::vftable; + local_40 = ConstLobby::vftable; local_3c = 0; local_38 = (int *)0x0; local_8._0_1_ = 1; std::shared_ptr::assign(&g_multiplayerLobbyPtr); - local_40 = KAGE::Network::Multiplayer::Lobby::vftable; + local_40 = Lobby::vftable; local_8 = CONCAT31(local_8._1_3_,2); if (local_3c == 0) { iVar7 = 0; } else { - iVar7 = __RTDynamicCast(local_3c,0, - &KAGE::Network::Multiplayer::LobbyImplBase::RTTI_Type_Descriptor, - &KAGE::Network::Multiplayer::LobbyLocalhost::RTTI_Type_Descriptor,0) - ; + iVar7 = __RTDynamicCast(local_3c,0,&LobbyImplBase::RTTI_Type_Descriptor, + &LobbyLocalhost::RTTI_Type_Descriptor,0); } piVar1 = local_30; _Src = *(int **)(iVar7 + 0x20); @@ -1046418,21 +1048204,21 @@ void FUN_00a73b60(void) *(int *)(iVar7 + 0x24) = *(int *)(iVar7 + 0x24) + -8; piVar8 = piVar1; LAB_00a73ce0: - local_40 = KAGE::Network::Multiplayer::ConstLobby::vftable; + local_40 = ConstLobby::vftable; local_8._0_1_ = 3; if (((local_38 != (int *)0x0) && (cVar2 = (**(code **)(*local_38 + 0xc))(), cVar2 != '\0')) && (g_lobbyReleaseFn != (void *)0x0)) { (*g_lobbyReleaseFn)(&local_3c); } - local_4c = KAGE::Network::Multiplayer::ConstLobby::vftable; + local_4c = ConstLobby::vftable; local_48 = 0; local_44 = (int *)0x0; local_8._0_1_ = 4; std::shared_ptr::assign(&g_multiplayerLobbyPtr); - local_4c = KAGE::Network::Multiplayer::Lobby::vftable; + local_4c = Lobby::vftable; local_8._0_1_ = 5; - Multiplayer::handle_member_status(&local_4c,piVar5,1); - local_4c = KAGE::Network::Multiplayer::ConstLobby::vftable; + ::Multiplayer::handle_member_status(&local_4c,piVar5,1); + local_4c = ConstLobby::vftable; local_8 = CONCAT31(local_8._1_3_,6); if (((local_44 != (int *)0x0) && (cVar2 = (**(code **)(*local_44 + 0xc))(), cVar2 != '\0')) && (g_lobbyReleaseFn != (void *)0x0)) { @@ -1046896,9 +1048682,14 @@ void FUN_00a745a0(undefined4 param_1,undefined1 param_2,code *param_3,undefined4 } -//@@ 00a74710 FUN_00a74710 +//@@ 00a74710 KAGE::Network::Multiplayer::ServiceLocalhost::join_lobby -void FUN_00a74710(int param_1,code *param_2,undefined4 param_3) +/* DB: ServiceLocalhost vtable slot 8, same slot as ServiceEOS FUN_00a76650 which calls + EOS_Lobby_JoinLobby; stores callback at +0x44/+0x48, sends 'lhrj' (localhost request join) packet + via FUN_00a2a030, else calls callback(0,...) */ + +void KAGE::Network::Multiplayer::ServiceLocalhost::join_lobby + (int param_1,code *param_2,undefined4 param_3) { undefined4 *puVar1; @@ -1046937,12 +1048728,12 @@ void FUN_00a74710(int param_1,code *param_2,undefined4 param_3) uVar6 = *(undefined4 *)(iVar5 + 8); } _local_28 = CONCAT44(uVar4,uVar6); - local_18 = KAGE::System::UserProfileBase::vftable; + local_18 = System::UserProfileBase::vftable; local_14 = (int *)UserProfile::find_or_create(uVar3); local_8 = 0; - local_18 = KAGE::System::UserProfile::vftable; + local_18 = System::UserProfile::vftable; if (((local_14 != (int *)0x0) && (local_14[2] != 0 || local_14[3] != 0)) && (local_14[5] == 0)) { - KAGE::System::UserProfile::load_steam_avatar(); + System::UserProfile::load_steam_avatar(); } local_8 = 1; cVar2 = (*(code *)local_18[5])(); @@ -1046960,14 +1048751,14 @@ void FUN_00a74710(int param_1,code *param_2,undefined4 param_3) local_28 = *(undefined4 *)(iVar5 + 8); uStack_24 = *(undefined4 *)(iVar5 + 0xc); } - local_20 = CONCAT44(local_20._4_4_,KAGE::System::UserProfileBase::vftable); + local_20 = CONCAT44(local_20._4_4_,System::UserProfileBase::vftable); iVar5 = UserProfile::find_or_create(uVar3); local_8 = 4; - local_20 = CONCAT44(iVar5,KAGE::System::UserProfile::vftable); + local_20 = CONCAT44(iVar5,System::UserProfile::vftable); uVar3 = extraout_ECX; if (((iVar5 != 0) && (uVar3 = *(uint *)(iVar5 + 8) | *(uint *)(iVar5 + 0xc), uVar3 != 0)) && (*(int *)(iVar5 + 0x14) == 0)) { - KAGE::System::UserProfile::load_steam_avatar(); + System::UserProfile::load_steam_avatar(); uVar3 = extraout_ECX_00; } local_8 = 5; @@ -1047089,9 +1048880,14 @@ void FUN_00a74940(code *param_1,undefined4 param_2) } -//@@ 00a74a40 FUN_00a74a40 +//@@ 00a74a40 KAGE::Network::Multiplayer::ServiceLocalhost::request_lobby_list -void FUN_00a74a40(int param_1,code *param_2,undefined4 param_3) +/* DB: called by MultiplayerManager::request_lobby_list 00a542c0 KAGE::Network::MultiplayerManager::request_lobby_list ECX = __RTDynamicCast(service, + ServiceBase -> ServiceLocalhost); scans filters for "process_name", enumerates local lobbies + ("lhcj"), returns ConstLobby results to the callback */ + +void KAGE::Network::Multiplayer::ServiceLocalhost::request_lobby_list + (int param_1,code *param_2,undefined4 param_3) { byte bVar1; @@ -1047205,15 +1049001,15 @@ LAB_00a74af9: do { local_28 = *puVar13; local_24 = 0xfefefefe; - local_20 = KAGE::System::UserProfileBase::vftable; + local_20 = System::UserProfileBase::vftable; local_1c = UserProfile::find_or_create(); local_8._0_1_ = 1; - local_20 = KAGE::System::UserProfile::vftable; + local_20 = System::UserProfile::vftable; uVar5 = extraout_ECX; if (((local_1c != 0) && (uVar5 = *(uint *)(local_1c + 8) | *(uint *)(local_1c + 0xc), uVar5 != 0)) && (*(int *)(local_1c + 0x14) == 0)) { - KAGE::System::UserProfile::load_steam_avatar(); + System::UserProfile::load_steam_avatar(); uVar5 = extraout_ECX_00; } local_8._0_1_ = 2; @@ -1047223,7 +1049019,7 @@ LAB_00a74af9: } local_8._0_1_ = 0; puVar13 = puVar13 + 1; - local_20 = KAGE::System::UserProfileBase::vftable; + local_20 = System::UserProfileBase::vftable; } while (puVar13 != local_30); } if (*(int *)(in_ECX + 0x58) == 0) { @@ -1047690,7 +1049486,7 @@ void FUN_00a75280(void) uVar10 = 0; (**(code **)(*(int *)*puVar6 + 8))(puVar7,local_20[0],local_20,&uStack_18,0); local_20[0] = unaff_EBX; - FUN_00a78a10(auStack_24,puVar7,uVar10); + NetworkManager::receive_packet(auStack_24,puVar7,uVar10); piVar5 = (int *)SteamInternal_ContextInit(&PTR_FUN_00c5c51c); iVar1 = *piVar5; } @@ -1048529,7 +1050325,7 @@ void FUN_00a76180(void) local_8 = 0; local_68 = *(undefined4 *)(local_54 + 8); local_64 = *(undefined4 *)(local_54 + 0xc); - FUN_00a78a10(&local_68,iVar5,local_40); + NetworkManager::receive_packet(&local_68,iVar5,local_40); local_8 = 1; if (((local_50 != (int *)0x0) && (cVar3 = (**(code **)(*local_50 + 0xc))(), cVar3 != '\0')) && (g_profileReleaseFn != (void *)0x0)) { @@ -1048729,7 +1050525,9 @@ void FUN_00a765a0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 p } *(undefined4 *)(in_ECX + 0x50) = param_3; *(undefined4 *)(in_ECX + 0x54) = param_4; - uVar1 = _EOS_Platform_GetLobbyInterface_4(g_eosPlatform,&local_48,param_2,FUN_00a76a20); + uVar1 = _EOS_Platform_GetLobbyInterface_4 + (g_eosPlatform,&local_48,param_2, + KAGE::Network::Multiplayer::ServiceEOS::on_create_lobby_complete); _EOS_Lobby_CreateLobby_16(uVar1); return; } @@ -1048943,11 +1050741,14 @@ void FUN_00a76930(undefined4 *param_1) } -//@@ 00a76a20 FUN_00a76a20 +//@@ 00a76a20 KAGE::Network::Multiplayer::ServiceEOS::on_create_lobby_complete /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: pushed as the completion callback by ServiceEOS vtable slot 7 (FUN_00a765a0 + EOS_Lobby_CreateLobby); 'Failed to create EOS lobby: %s', sets user_id/user_name member + attributes, 'localhost' */ -void FUN_00a76a20(int *param_1) +void KAGE::Network::Multiplayer::ServiceEOS::on_create_lobby_complete(int *param_1) { code *pcVar1; @@ -1048977,9 +1050778,8 @@ void FUN_00a76a20(int *param_1) uVar5 = __security_cookie ^ (uint)(local_54 + 0x50); ExceptionList = &local_10; local_14 = uVar5; - iVar6 = __RTDynamicCast(g_multiplayerService,0, - &KAGE::Network::Multiplayer::ServiceBase::RTTI_Type_Descriptor, - &KAGE::Network::Multiplayer::ServiceEOS::RTTI_Type_Descriptor,0,uVar5); + iVar6 = __RTDynamicCast(g_multiplayerService,0,&ServiceBase::RTTI_Type_Descriptor, + &RTTI_Type_Descriptor,0,uVar5); pcVar1 = *(code **)(iVar6 + 0x50); if (*param_1 != 0) { uVar8 = _EOS_EResult_ToString_4(*param_1); @@ -1048989,9 +1050789,8 @@ void FUN_00a76a20(int *param_1) FUN_00a84a90(); local_8 = 0; iVar2 = param_1[1]; - iVar7 = __RTDynamicCast(local_5c,0, - &KAGE::Network::Multiplayer::LobbyImplBase::RTTI_Type_Descriptor, - &KAGE::Network::Multiplayer::LobbyEOS::RTTI_Type_Descriptor,0,uVar5); + iVar7 = __RTDynamicCast(local_5c,0,&LobbyImplBase::RTTI_Type_Descriptor, + &LobbyEOS::RTTI_Type_Descriptor,0,uVar5); *(int *)(iVar7 + 0x24) = iVar2; pvVar3 = g_userProfile; local_8 = CONCAT31(local_8._1_3_,1); @@ -1049007,12 +1050806,11 @@ void FUN_00a76a20(int *param_1) uVar10 = *(undefined4 *)((int)g_userProfile + 8); } sprintf(local_54,&DAT_00ba24e0,uVar10,uVar8); - __RTDynamicCast(local_5c,0,&KAGE::Network::Multiplayer::LobbyImplBase::RTTI_Type_Descriptor, - &KAGE::Network::Multiplayer::LobbyEOS::RTTI_Type_Descriptor,0); + __RTDynamicCast(local_5c,0,&LobbyImplBase::RTTI_Type_Descriptor,&LobbyEOS::RTTI_Type_Descriptor,0) + ; FUN_00a84b90("user_id",local_54,"add member string value"); - uVar8 = __RTDynamicCast(local_5c,0, - &KAGE::Network::Multiplayer::LobbyImplBase::RTTI_Type_Descriptor, - &KAGE::Network::Multiplayer::LobbyEOS::RTTI_Type_Descriptor,0); + uVar8 = __RTDynamicCast(local_5c,0,&LobbyImplBase::RTTI_Type_Descriptor, + &LobbyEOS::RTTI_Type_Descriptor,0); local_64 = CONCAT44(uVar8,(undefined4)local_64); if (pvVar3 != (void *)0x0) { lVar11 = __aullshr(); @@ -1049031,7 +1050829,7 @@ LAB_00a76b63: FUN_00a84b90("user_name",pcVar9,"add member string value"); uVar8 = *(undefined4 *)(iVar6 + 0x54); FUN_00a28840(&local_5c); - uVar10 = KAGE::Network::Multiplayer::ConstLobby::ConstLobby(pcVar9,pcVar12); + uVar10 = ConstLobby::ConstLobby(pcVar9,pcVar12); local_8._0_1_ = 2; (*pcVar1)(0,uVar10,uVar8); local_8 = CONCAT31(local_8._1_3_,3); @@ -1049050,11 +1050848,14 @@ LAB_00a76b63: } -//@@ 00a76c90 FUN_00a76c90 +//@@ 00a76c90 eos_join_lobby_callback /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? EOS completion callback pushed (push 0xa76c90 at 0xa76787) with the EOS_Lobby_JoinLobby + call through 0xb18044 in FUN_00a76650; 'Failed to join EOS lobby: %%s' with EOS_EResult_ToString, + dynamic_cast to ServiceEOS, reads user_id/user_name member attributes */ -void FUN_00a76c90(int *param_1) +void eos_join_lobby_callback(int *param_1) { void *pvVar1; @@ -1049170,10 +1050971,11 @@ LAB_00a76df5: } while (uVar7 < uVar3); } if ((uint)((int)local_5c - local_60) < 4) { - FUN_00a772a0(&local_60); + KAGE::Network::Multiplayer::ServiceEOS::load_lobby_member_attributes(&local_60); } else { - FUN_00a70770(&local_60,FUN_00a772a0,puVar6); + FUN_00a70770(&local_60,KAGE::Network::Multiplayer::ServiceEOS::load_lobby_member_attributes, + puVar6); } local_8 = CONCAT31(local_8._1_3_,1); if (local_60 != 0) { @@ -1049299,7 +1051101,7 @@ void FUN_00a770b0(int param_1) } local_8._0_1_ = 1; puVar3[2] = *(undefined4 *)(param_1 + 8); - FUN_00a70770(&local_2c,FUN_00a776a0,puVar3); + FUN_00a70770(&local_2c,eos_lobby_member_on_user_info,puVar3); local_8 = (uint)local_8._1_3_ << 8; if (local_2c != (undefined **)0x0) { uVar2 = ((int)local_24 - (int)local_2c >> 2) * 4; @@ -1049355,11 +1051157,15 @@ LAB_00a77255: } -//@@ 00a772a0 FUN_00a772a0 +//@@ 00a772a0 KAGE::Network::Multiplayer::ServiceEOS::load_lobby_member_attributes /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? dynamic_cast ServiceBase->ServiceEOS, for each member id reads lobby member attributes + "user_id" (std::stoull) and "user_name" via FUN_00a84e50 on LobbyEOS and stores them in the + EpicUserInfo map; from the EOS join-lobby completion FUN_00a76c90 ("Failed to join EOS lobby: + %s") and pushed as a callback */ -void FUN_00a772a0(int *param_1,int param_2) +void KAGE::Network::Multiplayer::ServiceEOS::load_lobby_member_attributes(int *param_1,int param_2) { undefined4 uVar1; @@ -1049406,12 +1051212,10 @@ void FUN_00a772a0(int *param_1,int param_2) ExceptionList = &local_10; local_48 = (ulonglong)(uint)local_48; local_58 = param_2; - local_5c = __RTDynamicCast(g_multiplayerService,0, - &KAGE::Network::Multiplayer::ServiceBase::RTTI_Type_Descriptor, - &KAGE::Network::Multiplayer::ServiceEOS::RTTI_Type_Descriptor,0, - local_14); + local_5c = __RTDynamicCast(g_multiplayerService,0,&ServiceBase::RTTI_Type_Descriptor, + &RTTI_Type_Descriptor,0,local_14); local_60 = *(code **)(local_5c + 0x58); - KAGE::Network::Multiplayer::ConstLobby::ConstLobby(param_2); + ConstLobby::ConstLobby(param_2); local_8 = 0; puVar7 = (uint *)*param_1; uVar5 = extraout_ECX; @@ -1049428,7 +1051232,7 @@ void FUN_00a772a0(int *param_1,int param_2) uVar6 = uVar9 | 2; local_48 = CONCAT44(uVar9,(uint)local_48) | 0x200000000; if (iVar3 == DAT_00c5ac08) { - KAGE::SmartPointer::SmartPointer(DAT_00c5ac08); + SmartPointer::SmartPointer(DAT_00c5ac08); } else { FUN_00a23df0(iVar3 + 0x14); @@ -1049436,9 +1051240,8 @@ void FUN_00a772a0(int *param_1,int param_2) local_8._0_1_ = 1; if (local_38 != 0) { if (local_68 != 0) { - __RTDynamicCast(local_68,0, - &KAGE::Network::Multiplayer::LobbyImplBase::RTTI_Type_Descriptor, - &KAGE::Network::Multiplayer::LobbyEOS::RTTI_Type_Descriptor,0); + __RTDynamicCast(local_68,0,&LobbyImplBase::RTTI_Type_Descriptor, + &LobbyEOS::RTTI_Type_Descriptor,0); } PTR_s_empty_00c5c52c = &s_empty; FUN_00a84e50("user_id",&PTR_s_empty_00c5c52c,*puVar7); @@ -1049523,13 +1051326,12 @@ LAB_00a77691: } } if (local_68 != 0) { - __RTDynamicCast(local_68,0, - &KAGE::Network::Multiplayer::LobbyImplBase::RTTI_Type_Descriptor, - &KAGE::Network::Multiplayer::LobbyEOS::RTTI_Type_Descriptor,0); + __RTDynamicCast(local_68,0,&LobbyImplBase::RTTI_Type_Descriptor, + &LobbyEOS::RTTI_Type_Descriptor,0); } PTR_s_empty_00c5c52c = &s_empty; FUN_00a84e50("user_name",&PTR_s_empty_00c5c52c,*puVar7); - FUN_00a6f770(&local_50,PTR_s_empty_00c5c52c); + System::UserProfile::set_id(&local_50,PTR_s_empty_00c5c52c); } local_8._0_1_ = 3; uVar5 = 0; @@ -1049547,9 +1051349,9 @@ LAB_00a77691: } while (puVar7 != (uint *)param_1[1]); param_2 = local_58; } - local_3c = KAGE::Network::Multiplayer::ConstLobby::vftable; + local_3c = ConstLobby::vftable; uVar1 = *(undefined4 *)(local_5c + 0x5c); - KAGE::SmartPointer::SmartPointer(uVar5); + SmartPointer::SmartPointer(uVar5); local_8._0_1_ = 4; uVar5 = FUN_00a71f00(); local_8._0_1_ = 5; @@ -1049563,7 +1051365,7 @@ LAB_00a77691: } local_8._0_1_ = 7; (*local_60)(0,&local_3c,uVar1); - local_3c = KAGE::Network::Multiplayer::ConstLobby::vftable; + local_3c = ConstLobby::vftable; local_8 = CONCAT31(local_8._1_3_,8); if (local_34 != (int *)0x0) { cVar2 = (**(code **)(*local_34 + 0xc))(); @@ -1049574,7 +1051376,7 @@ LAB_00a77691: if (param_2 != 0) { operator_delete(param_2,8); } - local_6c = KAGE::Network::Multiplayer::ConstLobby::vftable; + local_6c = ConstLobby::vftable; local_8 = 9; if (local_64 != (int *)0x0) { cVar2 = (**(code **)(*local_64 + 0xc))(); @@ -1049587,11 +1051389,15 @@ LAB_00a77691: } -//@@ 00a776a0 FUN_00a776a0 +//@@ 00a776a0 eos_lobby_member_on_user_info /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: ? callback passed to FUN_00a70770 (EOS user info query) by FUN_00a770b0 (EOS lobby member + update notify, pushed at a2966f/a603f1): once the user info is known reads lobby member + attributes "user_id"/"user_name" (FUN_00a84e50), std::stoull ("invalid stoull argument"), then + Multiplayer::handle_member_status */ -void FUN_00a776a0(undefined4 param_1,int param_2) +void eos_lobby_member_on_user_info(undefined4 param_1,int param_2) { bool bVar1; @@ -1049757,7 +1051563,7 @@ void FUN_00a776a0(undefined4 param_1,int param_2) } local_8 = (uint)local_8._1_3_ << 8; uVar9 = 0xa779dc; - FUN_00a6f770(&local_40,puVar2); + KAGE::System::UserProfile::set_id(&local_40,puVar2); } local_34 = *(int *)(local_4c + 8); local_30 = *(int **)(local_4c + 0xc); @@ -1050338,9 +1052144,14 @@ NetConnection::send_message } -//@@ 00a78370 FUN_00a78370 +//@@ 00a78370 KAGE::Network::Multiplayer::ConnectionBase::send_message -bool FUN_00a78370(undefined4 *param_1,char param_2,undefined4 *param_3,int *param_4) +/* DB: ? thiscall, callers multiplayer_send_message and ConnectionBase::Update(0xa588c0); 'Invalid + mutex object specified', if reliable and connection_map_contains(peer) stores packet with + sequence (+0x28)++ in resend map, then sends chunks via vtable +0x14 */ + +bool KAGE::Network::Multiplayer::ConnectionBase::send_message + (undefined4 *param_1,char param_2,undefined4 *param_3,int *param_4) { int iVar1; @@ -1050394,7 +1052205,7 @@ bool FUN_00a78370(undefined4 *param_1,char param_2,undefined4 *param_3,int *para local_8 = CONCAT31(local_8._1_3_,3); local_14 = FUN_00a595a0(&local_2c); if (local_14 != iVar8) { - KAGE::SmartPointer::operator_assign(iVar8); + SmartPointer::operator_assign(iVar8); uVar10 = *(undefined4 *)(iVar8 + 0xc); *(undefined4 *)(local_14 + 8) = *(undefined4 *)(iVar8 + 8); *(undefined4 *)(local_14 + 0xc) = uVar10; @@ -1050736,9 +1052547,15 @@ void FUN_00a78940(void) } -//@@ 00a78a10 FUN_00a78a10 +//@@ 00a78a10 NetworkManager::receive_packet -void FUN_00a78a10(uint *param_1,int param_2,undefined4 param_3) +/* DB: ? called by ServiceSteam slot 2 (00a75280) right after ISteamNetworking::ReadP2PPacket (+8) + and by ServiceEOS slot 2 (00a76180): (sender u64, buffer, size); finds the peer in the map +8 + under mutex +0x10, creates a connection for unknown senders, else consolidates the packet + (FUN_00a58cb0 "ackn") and appends messages to list +0x30 under mutex +0x38 (the list + NetworkManager::receive_message 00a78770 NetworkManager::receive_message */ + +void NetworkManager::receive_packet(uint *param_1,int param_2,undefined4 param_3) { undefined4 *puVar1; @@ -1050824,7 +1052641,7 @@ LAB_00a78a78: } } else { - FUN_00a58cb0(&local_24,param_2,param_3); + KAGE::Network::Connection::send_message(&local_24,param_2,param_3); local_8._0_1_ = 5; if (local_24 != 0) { piVar7 = (int *)(in_ECX + 0x38); @@ -1051318,7 +1053135,7 @@ int FUN_00a79480(undefined4 param_1) int *piVar1; undefined1 local_10 [12]; - piVar1 = (int *)FUN_00a79a60(local_10,param_1); + piVar1 = (int *)std::map::try_emplace(local_10,param_1); return *piVar1 + 0x14; } @@ -1051728,9 +1053545,13 @@ void FUN_00a799d0(void) } -//@@ 00a79a60 FUN_00a79a60 +//@@ 00a79a60 std::map::try_emplace -void FUN_00a79a60(undefined4 *param_1,uint *param_2) +/* DB: MSVC _Tree lower-bound on uint key (node+0x10), returns existing node or allocates 0x1c node + (key + 8 zeroed bytes), max_size 0x9249249 check, insert+rebalance; caller FUN_00a79480 + (NetConnection send path) */ + +void std::map::try_emplace(undefined4 *param_1,uint *param_2) { char cVar1; @@ -1052071,9 +1053892,15 @@ undefined4 FUN_00a79f40(void) } -//@@ 00a79ff0 FUN_00a79ff0 +//@@ 00a79ff0 ClownResampler_LowLevel_Resample -undefined4 FUN_00a79ff0(int param_1,uint *param_2,code *param_3,undefined4 param_4) +/* DB: clownresampler.h asserts 'kernel_index < + CLOWNRESAMPLER_COUNT_OF(precomputed->lanczos_kernel_table)', 'min_relative/max_relative <= + configuration->integer_stretched_kernel_radius' (Lanczos kernel convolution); caller FUN_00a7a360 + (HighLevel_Resample) */ + +undefined4 +ClownResampler_LowLevel_Resample(int param_1,uint *param_2,code *param_3,undefined4 param_4) { short sVar1; @@ -1052308,9 +1054135,11 @@ LAB_00a7a2f3: } -//@@ 00a7a360 FUN_00a7a360 +//@@ 00a7a360 ClownResampler_HighLevel_Resample -uint FUN_00a7a360(code *param_1,undefined4 param_2,undefined4 param_3) +/* DB: clownresampler (round 7 agent) */ + +uint ClownResampler_HighLevel_Resample(code *param_1,undefined4 param_2,undefined4 param_3) { int iVar1; @@ -1052353,7 +1054182,8 @@ LAB_00a7a426: iVar3 = *(int *)(in_ECX + 0x2024); } local_8 = (uint)(iVar3 - iVar5 >> 1) / uVar4; - uVar4 = FUN_00a79ff0(iVar5 + *(int *)(in_ECX + 4) * uVar4 * -2,&local_8,param_2,param_3); + uVar4 = ClownResampler_LowLevel_Resample + (iVar5 + *(int *)(in_ECX + 4) * uVar4 * -2,&local_8,param_2,param_3); iVar2 = *(int *)(in_ECX + 0x2024); iVar5 = iVar2 + *(int *)(in_ECX + 0x10) * local_8 * -2; *(int *)(in_ECX + 0x2020) = iVar5; @@ -1052391,9 +1054221,14 @@ void FUN_00a7a4e0(int param_1,undefined4 param_2,undefined4 param_3) } -//@@ 00a7a510 FUN_00a7a510 +//@@ 00a7a510 organya_song_load -undefined4 FUN_00a7a510(int *param_1) +/* DB: string "Organya track uses unsupported drum type: Instrument Index = %d, Drum Type = %d"; + FileSystem::ResolvePath+open_archive_file/KAGE::Filesys::File::open, reads u16 wait, u8 + beats/steps, s32 repeat start/end, samples-per-tick = wait*44100/1000, then 16 tracks (8 melody + + 8 drum) of freq/wave/pipi/note count; callers 00a7cc60/00a7cfd0 render the org to PCM */ + +undefined4 organya_song_load(int *param_1) { int iVar1; @@ -1052741,9 +1054576,14 @@ void FUN_00a7aa70(void) } -//@@ 00a7ab90 FUN_00a7ab90 +//@@ 00a7ab90 org_render_samples -undefined4 FUN_00a7ab90(int *param_1) +/* DB: ? Organya mixer: called from KAGE::Sound::SampleSourceOrg slot 7 (FUN_00a7cc60) and + StreamSourceOrg slot 27 (FUN_00a7cef0); per tick walks 8 melody + 8 drum tracks' note events + (index <8 -> melody), wave tables, pow for pitch, returns a mixed buffer and its size (memset + silence at end of song) */ + +undefined4 org_render_samples(int *param_1) { char cVar1; @@ -1053067,13 +1054907,13 @@ int FUN_00a7b200(undefined1 param_1,uint param_2,int param_3) do { ppuStack_18 = &local_2c; ppuStack_14 = &local_50; - cVar2 = FUN_00a7a360(FUN_00a7b530,FUN_00a7b5a0,&ppuStack_18); + cVar2 = ClownResampler_HighLevel_Resample(FUN_00a7b530,FUN_00a7b5a0,&ppuStack_18); if (cVar2 != '\0') { if (*(char *)(iVar3 + 0x2065) == '\0') { ppuStack_34 = &local_50; pcStack_38 = FUN_00a7b5c0; puStack_3c = (undefined4 *)(iVar3 + 0x30); - cVar2 = FUN_00a7a360(FUN_00a7a4a0,FUN_00a7a4e0,&puStack_3c); + cVar2 = ClownResampler_HighLevel_Resample(FUN_00a7a4a0,FUN_00a7a4e0,&puStack_3c); if (cVar2 != '\0') { *(undefined1 *)(iVar3 + 0x2064) = 0; iVar1 = *(int *)(iVar3 + 0x2058); @@ -1053278,11 +1055118,15 @@ void FUN_00a7b5e0(byte param_1) } -//@@ 00a7b6a0 FUN_00a7b6a0 +//@@ 00a7b6a0 KAGE::Sound::SampleSourceWav::load /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: vtable slot 7 of KAGE::Sound::SampleSourceWav (RTTI vftable 00ba2974): + FileSystem::ResolvePath / open_archive_file / KAGE::Filesys::File::open, reads into + KAGE_Memory::heap_alloc buffer, WAV parse FUN_00a7b940; string "Not enough memory to load WAV + file: %s" */ -undefined4 FUN_00a7b6a0(char *param_1) +undefined4 KAGE::Sound::SampleSourceWav::load(char *param_1) { qword qVar1; @@ -1053331,12 +1055175,12 @@ undefined4 FUN_00a7b6a0(char *param_1) else { *(undefined4 *)&local_30->field_0x4 = 2; (local_30->_damageEvents)._begin = (void *)0x0; - *(undefined ***)local_30 = KAGE::Filesys::File::vftable; + *(undefined ***)local_30 = Filesys::File::vftable; (local_30->_damageEvents)._end = (void *)0x0; pEVar8 = local_30; } - if (*(code **)(*(int *)pEVar8 + 0x24) == KAGE::Filesys::File::open) { - cVar2 = KAGE::Filesys::File::open(pcVar4); + if (*(code **)(*(int *)pEVar8 + 0x24) == Filesys::File::open) { + cVar2 = Filesys::File::open(pcVar4); } else { cVar2 = (**(code **)(*(int *)pEVar8 + 0x24))(pcVar4); @@ -1053738,9 +1055582,14 @@ void FUN_00a7bcd0(byte param_1) } -//@@ 00a7bd80 FUN_00a7bd80 +//@@ 00a7bd80 KAGE::Sound::SampleSourceOgg::load -undefined4 FUN_00a7bd80(char *param_1) +/* DB: vtable slot 7 of KAGE::Sound::SampleSourceOgg (RTTI vftable 00ba2aa4, same slot as + SampleSourceWav::load 00a7b6a0): FileSystem::ResolvePath/open_archive_file, decodes with + stb_vorbis (FUN_00aa7340/aa78e0/aa7fb0); strings "Could not decode OGG file %s.", "memory + allocation error." */ + +undefined4 KAGE::Sound::SampleSourceOgg::load(char *param_1) { qword qVar1; @@ -1053798,12 +1055647,12 @@ undefined4 FUN_00a7bd80(char *param_1) else { local_28[1] = 2; local_28[2] = 0; - *local_28 = (int)KAGE::Filesys::File::vftable; + *local_28 = (int)Filesys::File::vftable; local_28[3] = 0; piVar10 = local_28; } - if (*(code **)(*piVar10 + 0x24) == KAGE::Filesys::File::open) { - cVar2 = KAGE::Filesys::File::open(pcVar4); + if (*(code **)(*piVar10 + 0x24) == Filesys::File::open) { + cVar2 = Filesys::File::open(pcVar4); } else { cVar2 = (**(code **)(*piVar10 + 0x24))(pcVar4); @@ -1053869,7 +1055718,7 @@ LAB_00a7be64: _Src = (int *)KAGE_Memory::heap_alloc(0,&local_3c); if (_Src == (int *)0x0) { LAB_00a7c053: - FUN_00aa7340(); + vorbis_deinit(); if (piVar10[0x18] == 0) { free(piVar10); } @@ -1054233,9 +1056082,13 @@ LAB_00a7c6e2: } -//@@ 00a7c760 FUN_00a7c760 +//@@ 00a7c760 KAGE::Sound::StreamSourceOgg::open -undefined4 FUN_00a7c760(char *param_1,undefined1 param_2) +/* DB: ? slot 3 of KAGE::Sound::StreamSourceOgg vftable (0xba2b5c, RTTI col 0xbb1fd8); locks + this+0xa0, FileSystem::ResolvePath/open_archive_file/KAGE::Filesys::File::open on param path, + tracked_alloc buffers */ + +undefined4 KAGE::Sound::StreamSourceOgg::open(char *param_1,undefined1 param_2) { int *piVar1; @@ -1054279,11 +1056132,11 @@ undefined4 FUN_00a7c760(char *param_1,undefined1 param_2) else { piVar6[1] = 2; piVar6[2] = 0; - *piVar6 = (int)KAGE::Filesys::File::vftable; + *piVar6 = (int)Filesys::File::vftable; piVar6[3] = 0; } - if (*(code **)(*piVar6 + 0x24) == KAGE::Filesys::File::open) { - cVar4 = KAGE::Filesys::File::open(pcVar5); + if (*(code **)(*piVar6 + 0x24) == Filesys::File::open) { + cVar4 = Filesys::File::open(pcVar5); } else { cVar4 = (**(code **)(*piVar6 + 0x24))(pcVar5); @@ -1054541,7 +1056394,7 @@ undefined4 FUN_00a7cc60(undefined4 param_1) ExceptionList = &local_10; memset(auStack_206b8,0,0x2069c); local_8 = 0; - FUN_00a7a510(param_1); + organya_song_load(param_1); local_8 = 1; sStack_206bc = operator_new(8,uVar1); local_8._0_1_ = 2; @@ -1054562,12 +1056415,12 @@ undefined4 FUN_00a7cc60(undefined4 param_1) FUN_00a7b940(uVar2); sStack_206bc = 0; _Dst = *(void **)in_ECX[0x11]; - _Src = (void *)FUN_00a7ab90(&sStack_206bc); + _Src = (void *)org_render_samples(&sStack_206bc); _Size = sStack_206bc; while ((sStack_206bc = _Size, _Src != (void *)0x0 && (_Size != 0))) { memcpy(_Dst,_Src,_Size); _Dst = (void *)((int)_Dst + _Size); - _Src = (void *)FUN_00a7ab90(&sStack_206bc); + _Src = (void *)org_render_samples(&sStack_206bc); _Size = sStack_206bc; } *(undefined1 *)(in_ECX + 2) = 1; @@ -1054653,14 +1056506,14 @@ int FUN_00a7cef0(void *param_1) _Src = *(void **)(in_ECX + 0x20738); do { if ((_Src == (void *)0x0) || (pvVar2 = *(void **)(in_ECX + 0x2073c), pvVar2 == _Src)) { - _Src = (void *)FUN_00a7ab90(&local_8); + _Src = (void *)org_render_samples(&local_8); *(void **)(in_ECX + 0x20738) = _Src; pvVar2 = (void *)((int)_Src + local_8); *(void **)(in_ECX + 0x2073c) = pvVar2; if (local_8 == 0) { if (*(char *)(in_ECX + 9) != '\0') { FUN_00a7b4c0(*(undefined4 *)(in_ECX + 0xa4)); - _Src = (void *)FUN_00a7ab90(&local_8); + _Src = (void *)org_render_samples(&local_8); *(void **)(in_ECX + 0x20738) = _Src; pvVar2 = (void *)((int)_Src + local_8); *(void **)(in_ECX + 0x2073c) = pvVar2; @@ -1054692,7 +1056545,7 @@ void FUN_00a7cfd0(undefined4 param_1) { char cVar1; - cVar1 = FUN_00a7a510(param_1); + cVar1 = organya_song_load(param_1); if (cVar1 == '\0') { return; } @@ -1054941,11 +1056794,15 @@ void FUN_00a7d260(byte param_1) } -//@@ 00a7d2a0 FUN_00a7d2a0 +//@@ 00a7d2a0 KAGE::Sound::ManagerOpenAL::Init /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: KAGE::Sound::ManagerOpenAL vtable slot 1 (RTTI); + alcOpenDevice/alcCreateContext/alcMakeContextCurrent, 'Failed to open OpenAL device', starts the + OpenAL processing thread; called from KAGE::System::Init and KAGE::Sound::Manager slot 1 + (FUN_00a9e4f0) */ -uint FUN_00a7d2a0(void) +uint KAGE::Sound::ManagerOpenAL::Init(void) { char cVar1; @@ -1055547,9 +1057404,15 @@ undefined4 FUN_00a7db80(undefined4 *param_1) } -//@@ 00a7df10 FUN_00a7df10 +//@@ 00a7df10 steam_leaderboard_scores_downloaded -void FUN_00a7df10(int param_1,undefined4 param_2,int param_3) +/* DB: ? Steam LeaderboardScoresDownloaded_t handler (hSteamLeaderboardEntries +8, cEntryCount + +0x10): allocates 0x28-byte entries at request+0xa0 (count +0xa8), + ISteamUserStats::GetDownloadedLeaderboardEntry (+0x74) with details buffer DAT_00c5ab40, + UserProfile::find_or_create + avatar per entry, then FUN_00a51dc0 completes ("Failed to get + leaderboard '%s'"); caller 00a7e310 */ + +void steam_leaderboard_scores_downloaded(int param_1,undefined4 param_2,int param_3) { int iVar1; @@ -1055658,7 +1057521,7 @@ void FUN_00a7df10(int param_1,undefined4 param_2,int param_3) } while (iVar8 < (int)local_1c); } local_8 = 0xffffffff; - FUN_00a51dc0(param_3); + leaderboard_request_complete(param_3); ExceptionList = local_10; return; } @@ -1055686,7 +1057549,7 @@ void FUN_00a7e120(undefined4 *param_1) if (*(char *)(param_1 + 2) == '\0') { *(undefined4 *)(iVar2 + 0xa8) = 0; *(char **)(iVar2 + 0x98) = "Leaderboard not found"; - FUN_00a51dc0(iVar2); + leaderboard_request_complete(iVar2); return; } if (g_mainHeap == (void *)0x0) { @@ -1055750,7 +1057613,7 @@ LAB_00a7e187: uVar7 = param_1[1]; *(undefined4 *)(iVar6 + 0x10) = *param_1; *(undefined4 *)(iVar6 + 0x14) = uVar7; - FUN_00a51dc0(iVar2); + leaderboard_request_complete(iVar2); return; } @@ -1055768,14 +1057631,14 @@ void FUN_00a7e2b0(char *param_1) iVar1 = *in_ECX; if (*param_1 == '\0') { *(char **)(iVar1 + 0x98) = "Operation failed"; - FUN_00a51dc0(iVar1); + leaderboard_request_complete(iVar1); return; } uVar2 = *(uint *)(param_1 + 0x1c); iVar3 = *(int *)(param_1 + 0x18); *(int *)(iVar1 + 0xa0) = iVar3; *(uint *)(iVar1 + 0xa4) = uVar2 | iVar3 >> 0x1f; - FUN_00a51dc0(iVar1); + leaderboard_request_complete(iVar1); return; } @@ -1055787,7 +1057650,7 @@ void FUN_00a7e310(undefined4 param_1) { undefined4 *in_ECX; - FUN_00a7df10(param_1,in_ECX,*in_ECX); + steam_leaderboard_scores_downloaded(param_1,in_ECX,*in_ECX); return; } @@ -1055804,7 +1057667,7 @@ void FUN_00a7e330(int *param_1,char param_2) if ((param_2 != '\0') || (*param_1 != 1)) { *(char **)(iVar1 + 0x98) = "Operation failed"; } - FUN_00a51dc0(iVar1); + leaderboard_request_complete(iVar1); return; } @@ -1056033,9 +1057896,15 @@ void FUN_00a7e600(uint param_1) } -//@@ 00a7e6e0 FUN_00a7e6e0 +//@@ 00a7e6e0 eos_friend_lobby_search_start -undefined4 FUN_00a7e6e0(void) +/* DB: ? EOS glue (ECX = unnamed lobby-search object, friend list at +8/+0xc): for each friend with + presence (_EOS_Platform_GetPresenceInterface, _EOS_Presence_HasPresence/CopyPresence) reads + "KAGE_PRESENCE_LOBBY_ID", creates a lobby search per friend; strings "Failed to copy friend + presence info: %s", "Failed to create friend lobby search handle: %s", "Failed to set lobby ID + for friend lobby search: %s"; called from FUN_00a57060 (friends-only lobby mode) */ + +undefined4 eos_friend_lobby_search_start(void) { byte bVar1; @@ -1056904,11 +1058773,13 @@ void FUN_00a7fcb0(int param_1) } -//@@ 00a7fce0 FUN_00a7fce0 +//@@ 00a7fce0 _glfwInitWGL /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: GLFW wgl_context.c: 'WGL: Failed to load opengl32.dll', dummy context, loads + wglCreateContextAttribsARB/WGL_ARB_* extensions */ -undefined4 FUN_00a7fce0(void) +undefined4 _glfwInitWGL(void) { HDC hdc; @@ -1057007,11 +1058878,13 @@ undefined4 FUN_00a7fce0(void) } -//@@ 00a80010 FUN_00a80010 +//@@ 00a80010 _glfwCreateContextWGL /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: GLFW 3.4 wgl_context.c: GetDC(window+0x2b4), glfw_choosePixelFormatWGL, SetPixelFormat, all + 'WGL: Failed to create OpenGL context' etc. strings */ -undefined4 FUN_00a80010(undefined4 param_1) +undefined4 _glfwCreateContextWGL(undefined4 param_1) { HDC pHVar1; @@ -1057222,11 +1059095,15 @@ LAB_00a804b0: } -//@@ 00a80530 FUN_00a80530 +//@@ 00a80530 loadLibraries /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: glfw win32_init.c: GetModuleHandleExW(&_glfw), LoadLibraryA user32.dll ("Win32: Failed to + load user32.dll") + SetProcessDPIAware/ChangeWindowMessageFilterEx/EnableNonClientDpiScaling/..., + dinput8.dll DirectInput8Create, xinput1_4..xinput1_1 XInputGetCapabilities/XInputGetState, + dwmapi.dll, shcore.dll, ntdll.dll RtlVerifyVersionInfo; called from _glfwInitWin32 (00a812f0) */ -undefined4 FUN_00a80530(void) +undefined4 loadLibraries(void) { undefined4 uVar1; @@ -1057299,11 +1059176,14 @@ undefined4 FUN_00a80530(void) } -//@@ 00a80770 FUN_00a80770 +//@@ 00a80770 glfw_createKeyTables /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: GLFW win32_init.c createKeyTables: memset keycodes (0x400) and scancodes (0x2ba) to -1, then + fills GLFW_KEY_* values (0x100 ESCAPE, '0'..'9', 'A'..'Z' ...); caller FUN_00a812f0 + (_glfwInitWin32, 'GLFW3 Helper' window) */ -void FUN_00a80770(void) +void glfw_createKeyTables(void) { int iVar1; @@ -1057396,7 +1059276,7 @@ void FUN_00a80a40(HWND param_1,UINT param_2,WPARAM param_3,int param_4) undefined4 *puVar1; if (param_2 == 0x7e) { - FUN_00a81980(); + _glfwPollMonitorsWin32(); } else if ((param_2 == 0x219) && (DAT_00c73cac != 0)) { if (param_3 == 0x8000) { @@ -1057408,7 +1059288,7 @@ void FUN_00a80a40(HWND param_1,UINT param_2,WPARAM param_3,int param_4) puVar1 = &DAT_00c73cb0; do { if (puVar1[1] != 0) { - FUN_00aa8d90(puVar1,0); + _glfwPollJoystickWin32(puVar1,0); } puVar1 = puVar1 + 0x3b; } while ((int)puVar1 < 0xc74a85); @@ -1057679,9 +1059559,14 @@ bool _glfwIsWindows10BuildOrGreaterWin32(void) } -//@@ 00a81050 FUN_00a81050 +//@@ 00a81050 _glfwConnectWin32 -undefined4 FUN_00a81050(undefined4 param_1,undefined4 *param_2) +/* DB: GLFW 3.4 win32_init.c: no callees, fills a local _GLFWplatform (first field 0x60001 + GLFW_PLATFORM_WIN32, then init/terminate/... including pollJoystick 00aa8d90 _glfwPollJoystickWin32 getVideoModes + 00a82190) and copies 0x48 dwords to *platform, returns 1; called from glfwInit's platform select + FUN_00a9db50 */ + +undefined4 _glfwConnectWin32(undefined4 param_1,undefined4 *param_2) { int iVar1; @@ -1057757,7 +1059642,7 @@ undefined4 FUN_00a81050(undefined4 param_1,undefined4 *param_2) code *local_8; local_124[0] = (code *)0x60001; - local_124[1] = FUN_00a812f0; + local_124[1] = _glfwInitWin32; local_124[2] = (code *)&LAB_00a814f0; local_124[3] = FUN_00a5e920; local_114 = FUN_00a5e980; @@ -1057774,14 +1059659,14 @@ undefined4 FUN_00a81050(undefined4 param_1,undefined4 *param_2) local_e8 = &LAB_00a5edb0; local_e4 = &LAB_00aa8c10; local_e0 = &LAB_00aa8c60; - local_dc = FUN_00aa8d90; + local_dc = _glfwPollJoystickWin32; local_d8 = &LAB_00aa9350; local_d4 = FUN_00aa9360; local_d0 = guard_check_icall; local_cc = FUN_00a81f70; local_c8 = FUN_00a82000; local_c4 = FUN_00a820f0; - local_c0 = FUN_00a82190; + local_c0 = _glfwGetVideoModesWin32; local_bc = FUN_00a82500; local_b8 = FUN_00a82600; local_b4 = FUN_00a826a0; @@ -1057805,7 +1059690,7 @@ undefined4 FUN_00a81050(undefined4 param_1,undefined4 *param_2) local_6c = FUN_00a5dff0; local_68 = FUN_00a5e010; local_64 = FUN_00a5e030; - local_60 = FUN_00a5e060; + local_60 = _glfwSetWindowMonitorWin32; local_5c = FUN_00a5e340; local_58 = FUN_00a5e360; local_54 = FUN_00a5e380; @@ -1057818,7 +1059703,7 @@ undefined4 FUN_00a81050(undefined4 param_1,undefined4 *param_2) local_38 = FUN_00a5e460; local_34 = FUN_00a5e5b0; local_30 = FUN_00a5e490; - local_2c = FUN_00a5e660; + local_2c = _glfwPollEventsWin32; local_28 = &LAB_00a5e8c0; local_24 = FUN_00a5e8d0; local_20 = &LAB_00a5e900; @@ -1057838,11 +1059723,15 @@ undefined4 FUN_00a81050(undefined4 param_1,undefined4 *param_2) } -//@@ 00a812f0 FUN_00a812f0 +//@@ 00a812f0 _glfwInitWin32 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: GLFW 3.4: pointer stored in the _GLFWplatform table built by _glfwConnectWin32 (00a81050, mov + [ebp-0x11c],0xa812f0); loadLibraries/createKeyTables, DPI awareness by + _glfwIsWindows10BuildOrGreaterWin32/_glfwIsWindowsVersionOrGreaterWin32, helper window "GLFW3 + Helper"/"GLFW message window", then _glfwPollMonitorsWin32 */ -undefined4 FUN_00a812f0(void) +undefined4 _glfwInitWin32(void) { int iVar1; @@ -1057861,9 +1059750,9 @@ undefined4 FUN_00a812f0(void) uint local_c; local_c = __security_cookie ^ (uint)&local_78; - iVar1 = FUN_00a80530(); + iVar1 = loadLibraries(); if (iVar1 != 0) { - FUN_00a80770(); + glfw_createKeyTables(); FUN_00a80d30(); iVar1 = _glfwIsWindows10BuildOrGreaterWin32(); if (iVar1 == 0) { @@ -1057911,7 +1059800,7 @@ undefined4 FUN_00a812f0(void) DispatchMessageW(&tStack_48); iVar1 = PeekMessageW(&tStack_48,DAT_00c74cb4,0,0,1); } - FUN_00a81980(); + _glfwPollMonitorsWin32(); return 1; } _glfwInputErrorWin32(); @@ -1057970,11 +1059859,15 @@ LAB_00a816ab: } -//@@ 00a816f0 FUN_00a816f0 +//@@ 00a816f0 createMonitor /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: glfw win32_monitor.c static createMonitor(adapter, display): + EnumDisplaySettingsW(adapter->DeviceName), CreateDCW(L"DISPLAY"), widthMM/heightMM via + GetDeviceCaps (HORZSIZE/VERTSIZE or LOGPIXELS on old Windows), _glfwAllocMonitor (00a6c190), + DISPLAY_DEVICE_MODESPRUNED flag; called twice from _glfwPollMonitorsWin32 (00a81980) */ -int FUN_00a816f0(void) +int createMonitor(void) { double dVar1; @@ -1058046,11 +1059939,14 @@ int FUN_00a816f0(void) } -//@@ 00a81980 FUN_00a81980 +//@@ 00a81980 _glfwPollMonitorsWin32 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: GLFW 3.4 win32_monitor.c: copies _glfw.monitors (g_glfwMonitorCount, "Allocation size + overflow"), EnumDisplayDevices adapters/displays (DISPLAY_DEVICE.DeviceName memset 0x344), + _glfwInputMonitor; callers _glfwInitWin32 and helperWindowProc (WM_DISPLAYCHANGE) */ -void FUN_00a81980(void) +void _glfwPollMonitorsWin32(void) { size_t _Size; @@ -1058147,9 +1060043,9 @@ LAB_00a81b13: iVar4 = iVar4 + 1; } while (iVar4 < iVar3); } - iVar4 = FUN_00a816f0(); + iVar4 = createMonitor(); if (iVar4 == 0) goto LAB_00a81c9b; - FUN_00a6beb0(local_6ac); + _glfwInputMonitor(local_6ac); local_6ac = 1; LAB_00a81b73: iDevNum = local_6a8; @@ -1058195,9 +1060091,9 @@ LAB_00a81c01: iVar4 = iVar4 + 1; } while (iVar4 < iVar3); } - iVar4 = FUN_00a816f0(); + iVar4 = createMonitor(); if (iVar4 == 0) goto LAB_00a81c9b; - FUN_00a6beb0(local_6ac); + _glfwInputMonitor(local_6ac); } LAB_00a81c39: local_6a4 = local_6a4 + 1; @@ -1058209,7 +1060105,7 @@ LAB_00a81c39: if (0 < iVar3) { do { if (*(int *)((int)pvVar9 + iVar4 * 4) != 0) { - FUN_00a6beb0(0); + _glfwInputMonitor(0); } iVar4 = iVar4 + 1; } while (iVar4 < iVar3); @@ -1058222,11 +1060118,14 @@ LAB_00a81c9b: } -//@@ 00a81cd0 FUN_00a81cd0 +//@@ 00a81cd0 _glfwSetVideoModeWin32 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: GLFW 3.4 win32_monitor.c: "Win32: Failed to set video mode: %s" with ChangeDisplaySettingsEx + result strings ("The system uses DualView", "Graphics mode not supported"...), inlined + _glfwChooseVideoMode over modes +0x90/count +0x94; caller acquireMonitor */ -void FUN_00a81cd0(void) +void _glfwSetVideoModeWin32(void) { int iVar1; @@ -1058456,11 +1060355,15 @@ void FUN_00a820f0(int param_1,int *param_2,int *param_3,int *param_4,int *param_ } -//@@ 00a82190 FUN_00a82190 +//@@ 00a82190 _glfwGetVideoModesWin32 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: GLFW 3.4 win32_monitor.c: slot 25 (getVideoModes) of the _GLFWplatform table in + _glfwConnectWin32 ([ebp-0xbc]); EnumDisplaySettingsW loop over monitor +0xd4 adapter name, + dmBitsPerPel split into RGB bits (32 -> 8/8/8), dedup, "Allocation size overflow" (_glfw_calloc) + */ -undefined4 * FUN_00a82190(int param_1,int *param_2) +undefined4 * _glfwGetVideoModesWin32(int param_1,int *param_2) { DWORD *pDVar1; @@ -1059101,12 +1061004,14 @@ void FUN_00a82cc0(int param_1) } -//@@ 00a82d40 FUN_00a82d40 +//@@ 00a82d40 _glfwInitEGL /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: GLFW egl_context.c: 'EGL: Library not found', loads EGL.dll entry points, + eglGetPlatformDisplayEXT, EGL_ANGLE_platform_* extension checks */ -undefined4 FUN_00a82d40(void) +undefined4 _glfwInitEGL(void) { void *pvVar1; @@ -1059722,11 +1061627,14 @@ undefined4 FUN_00a83b90(void) } -//@@ 00a83d20 FUN_00a83d20 +//@@ 00a83d20 _glfwCreateContextOSMesa /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: GLFW 3.4 osmesa_context.c: 'OSMesa: OpenGL ES is not available on OSMesa', 'OSMesa: OpenGL + profiles unavailable', 'OSMesa: Failed to create context', OSMesaCreateContextExt(0x1908 GL_RGBA, + depth, stencil, accum) */ -undefined4 FUN_00a83d20(int param_1) +undefined4 _glfwCreateContextOSMesa(int param_1) { int iVar1; @@ -1059953,9 +1061861,13 @@ void FUN_00a84190(void) } -//@@ 00a841c0 FUN_00a841c0 +//@@ 00a841c0 KAGE::Network::Multiplayer::LobbyEOS::get_members -void FUN_00a841c0(int *param_1) +/* DB: ? LobbyEOS vftable 00ba5520 slot 6: FUN_00a84900 lobby details, + _EOS_LobbyDetails_GetMemberByIndex per member, wraps each in ReferenceCount + looked up in the EOS user map (DAT_00c5ac08), pushes into the out vector */ + +void KAGE::Network::Multiplayer::LobbyEOS::get_members(int *param_1) { undefined4 *puVar1; @@ -1060910,9 +1062822,14 @@ LAB_00a85289: } -//@@ 00a85320 FUN_00a85320 +//@@ 00a85320 lzw_decompress -int FUN_00a85320(undefined1 param_1,int param_2,uint param_3) +/* DB: counterpart of lzw_compress (00a85140): ECX = LZW state (next code +0, code width +4, + dictionary +8 of 0x10-byte entries, reset to 0x100 / 8 bits at 0x1000 codes), bit reader over the + input, "ERROR! wrong code %u"; callers KAGE::Filesys::ArchivedFile::refill_buffer (00a69090), + 00a68cf0, 0091826a */ + +int lzw_decompress(undefined1 param_1,int param_2,uint param_3) { byte *pbVar1; @@ -1063221,9 +1065138,13 @@ LAB_00a87d5f: } -//@@ 00a88170 FUN_00a88170 +//@@ 00a88170 tdefl_compress_lz_codes -bool FUN_00a88170(void) +/* DB: miniz (KAGE\Source\Core\External\miniz.cpp) asserts "d->m_huff_code_sizes[0][lit]", "bits <= + ((1U << len) - 1U)", "d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]]"; tail-jumped from + tdefl_compress_block 00a88560 */ + +bool tdefl_compress_lz_codes(void) { ushort *puVar1; @@ -1063466,11 +1065387,11 @@ void FUN_00a88560(void) *(int *)(in_ECX + 0x44) = *(int *)(in_ECX + 0x44) + -8; uVar2 = (uint)*(byte *)(in_ECX + 0x48); } while (7 < *(uint *)(in_ECX + 0x44)); - FUN_00a88170(); + tdefl_compress_lz_codes(); return; } } - FUN_00a88170(); + tdefl_compress_lz_codes(); return; } @@ -1063791,9 +1065712,13 @@ LAB_00a88955: } -//@@ 00a88bb0 FUN_00a88bb0 +//@@ 00a88bb0 tdefl_compress_fast -bool FUN_00a88bb0(void) +/* DB: miniz.cpp asserts '(cur_match_len >= TDEFL_MIN_MATCH_LEN) && (cur_match_dist >= 1) ...' and + 'lookahead_size >= cur_match_len' (tdefl_compress_fast), calls tdefl_flush_block; called next to + tdefl_compress_normal in FUN_00a89de0 (= tdefl_compress) */ + +bool tdefl_compress_fast(void) { short *psVar1; @@ -1064070,7 +1065995,7 @@ LAB_00a890c5: /* DB: miniz.cpp asserts "d->m_lookahead_size >= len_to_move", "max_match_len <= TDEFL_MAX_MATCH_LEN" (tdefl_find_match inlined), "(match_len >= TDEFL_MIN_MATCH_LEN)..." - (tdefl_record_match inlined); caller 00a89de0 = tdefl_compress */ + (tdefl_record_match inlined); caller 00a89de0 tdefl_compress tdefl_compress */ bool tdefl_compress_normal(void) @@ -1064706,9 +1066631,11 @@ void FUN_00a89d70(int param_1,uint param_2) } -//@@ 00a89de0 FUN_00a89de0 +//@@ 00a89de0 tdefl_compress -size_t FUN_00a89de0(void *param_1,size_t param_2,void *param_3,size_t param_4) +/* DB: miniz (round 7 agent) */ + +size_t tdefl_compress(void *param_1,size_t param_2,void *param_3,size_t param_4) { int *piVar1; @@ -1064749,7 +1066676,7 @@ LAB_00a89f4b: piVar1[0x1a] = piVar1[0x1a] | 1; if ((piVar1[0x17] == 0) && (piVar1[0x18] == 0)) { if (((piVar1[2] & 0xfffU) == 1) && ((piVar1[2] & 0xb4000U) == 0x4000)) { - iVar3 = FUN_00a88bb0(); + iVar3 = tdefl_compress_fast(); } else { iVar3 = tdefl_compress_normal(); @@ -1065378,7 +1067305,7 @@ LAB_00a8aaa5: operator_delete(iVar4,uVar6); } if (local_58 < 1) { - FUN_00a8b570(1 - local_58); + TheoraVideoManager::createWorkerThreads(1 - local_58); } else { local_58 = local_58 + -1; @@ -1065945,11 +1067872,15 @@ LAB_00a8b4d0: } -//@@ 00a8b570 FUN_00a8b570 +//@@ 00a8b570 TheoraVideoManager::createWorkerThreads /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: theoraplayer: (n) loop allocating 0x20-byte worker thread objects named "Theoraplayer Worker + Thread", starting them ("WARNING: Thread ... already running, cannot start!") and pushing into + the manager vector; caller 00a8a970 (TheoraVideoManager init, next to + TheoraVideoManager::destroyVideoClip) */ -void FUN_00a8b570(int param_1) +void TheoraVideoManager::createWorkerThreads(int param_1) { char cVar1; @@ -1066078,9 +1068009,13 @@ LAB_00a8b601: } -//@@ 00a8b7d0 FUN_00a8b7d0 +//@@ 00a8b7d0 TheoraVideoManager::requestWork -int FUN_00a8b7d0(undefined4 param_1) +/* DB: libtheoraplayer: reads g_theoraVideoManager, locks its mutex (+0x28), iterates clips + (+0x10..+0x14) scoring by queued frames/priority into vector<20byte>, returns chosen clip; only + caller FUN_00aaad10 worker-thread loop (Sleep(100) when null) */ + +int TheoraVideoManager::requestWork(undefined4 param_1) { undefined4 *puVar1; @@ -1066837,7 +1068772,7 @@ undefined4 FUN_00a8c430(void) ExceptionList = &local_10; FUN_00a266a0(__security_cookie ^ (uint)(local_18 + 0x14)); *(float *)(in_ECX + 0x2c) = (float)(double)CONCAT44(in_XMM0_Db,in_XMM0_Da); - FUN_00a61f20(); + theoraplayer::init(); pvVar1 = g_theoraVideoManager; *(undefined ***)((int)g_theoraVideoManager + 0x2c) = &PTR_vftable_00c5af90; *(undefined4 *)((int)pvVar1 + 0x24) = 0x10; @@ -1066934,7 +1068869,7 @@ void FUN_00a8c600(int param_1) ExceptionList = local_10; return; } - FUN_00a9e2d0(iVar2); + steam_user_profile_update(iVar2); ExceptionList = local_10; return; } @@ -1066945,7 +1068880,7 @@ void FUN_00a8c600(int param_1) void FUN_00a8c6d0(byte param_1) { - FUN_00a8c7e0(); + theoraplayer::VideoClip_Theora::~VideoClip_Theora(); if ((param_1 & 1) != 0) { operator_delete(); } @@ -1066974,7 +1068909,7 @@ FUN_00a8c700(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 ExceptionList = local_10; return (undefined4 *)0x0; } - FUN_00a90650(param_1,param_2,param_3,param_4); + theoraplayer::VideoClip::VideoClip(param_1,param_2,param_3,param_4); puVar1[0x29] = 0; puVar1[0x2a] = 0; puVar1[0x2b] = 0; @@ -1066990,9 +1068925,13 @@ FUN_00a8c700(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 } -//@@ 00a8c7e0 FUN_00a8c7e0 +//@@ 00a8c7e0 theoraplayer::VideoClip_Theora::~VideoClip_Theora -void FUN_00a8c7e0(void) +/* DB: resets VideoClip_Theora::vftable, th_decode_free/th_setup_free on +0x404/+0x400, + vorbis_dsp_clear, vorbis block/info/comment clear, AudioPacketQueue::destroyAllAudioPackets; only + caller the scalar deleting dtor 00a8c6d0 (vtable slot 0) */ + +void theoraplayer::VideoClip_Theora::~VideoClip_Theora(void) { void *pvVar1; @@ -1067010,7 +1068949,7 @@ void FUN_00a8c7e0(void) local_10 = ExceptionList; uVar3 = __security_cookie ^ (int)register0x00000010 - 4U; ExceptionList = &local_10; - *in_ECX = theoraplayer::VideoClip_Theora::vftable; + *in_ECX = vftable; if (in_ECX[0x101] != 0) { FUN_00adeb70(in_ECX[0x101],uVar3); FUN_00ae0010(in_ECX[0x100]); @@ -1067087,7 +1069026,7 @@ void FUN_00a8c7e0(void) in_ECX[0x32] = 0; } } - AudioPacketQueue::destroyAllAudioPackets(); + ::AudioPacketQueue::destroyAllAudioPackets(); FUN_00a90a00(); ExceptionList = local_10; return; @@ -1067138,7 +1069077,7 @@ void VideoClip_Theora::_load(undefined4 param_1) ExceptionList = &local_10; *(undefined4 *)(in_ECX + 0x24) = param_1; readTheoraVorbisHeaders(local_14); - uVar1 = FUN_00ade980(in_ECX + 0x3b0,*(undefined4 *)(in_ECX + 0x400)); + uVar1 = th_decode_alloc(in_ECX + 0x3b0,*(undefined4 *)(in_ECX + 0x400)); iVar3 = *(int *)(in_ECX + 0x3b4); *(undefined4 *)(in_ECX + 0x404) = uVar1; *(undefined4 *)(in_ECX + 100) = *(undefined4 *)(in_ECX + 0x3b8); @@ -1067398,11 +1069337,14 @@ LAB_00a8d071: } -//@@ 00a8d0a0 FUN_00a8d0a0 +//@@ 00a8d0a0 VideoClip_Theora::_readData /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: theoraplayer::VideoClip_Theora vtable slot 3 (after slot 2 VideoClip_Theora::_load); reads + 4096-byte chunks from the data source, on EOF logs ' finished playing' unless autoRestart, + ogg_sync_pageout/ogg_stream_pagein for theora+vorbis streams, granulepos -> time */ -undefined4 FUN_00a8d0a0(void) +undefined4 VideoClip_Theora::_readData(void) { byte bVar1; @@ -1067516,11 +1069458,14 @@ undefined4 FUN_00a8d0a0(void) } -//@@ 00a8d350 FUN_00a8d350 +//@@ 00a8d350 theoraplayer::VideoClip_Theora::_decodeNextFrame /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: VideoClip_Theora vtable slot 4: frame queue requestEmptyFrame (FUN_00aaabb0), + ogg_stream_packetout up to 100 tries, th_decode_packetin, th_granule_time/th_granule_frame, timer + vtable +4 */ -undefined4 FUN_00a8d350(void) +undefined4 theoraplayer::VideoClip_Theora::_decodeNextFrame(void) { int *piVar1; @@ -1067645,9 +1069590,13 @@ LAB_00a8d480: } -//@@ 00a8d580 FUN_00a8d580 +//@@ 00a8d580 VideoClip_Theora::_decodeAudio -float10 FUN_00a8d580(void) +/* DB: theoraplayer: returns float, -1.0 when restarted (+0x91); drains vorbis pcm (+0x10c..+0x110) + into an interleaved float buffer, else ogg_stream_packetout -> vorbis_synthesis -> + vorbis_synthesis_blockin; sits next to VideoClip_Theora::_load/_executeSeek */ + +float10 VideoClip_Theora::_decodeAudio(void) { int *piVar1; @@ -1067923,7 +1069872,7 @@ void VideoClip_Theora::_executeSeek(void) in_ECX[0x25] = 0; ogg_stream_reset(); FUN_00adeb70(in_ECX[0x101]); - iVar2 = FUN_00ade980(in_ECX + 0xec,in_ECX[0x100]); + iVar2 = th_decode_alloc(in_ECX + 0xec,in_ECX[0x100]); in_ECX[0x101] = iVar2; local_54 = (undefined4 *)0x0; local_50 = 0; @@ -1068144,7 +1070093,7 @@ void FUN_00a8e050(void) uStack_38 = (ulonglong)(uint)uStack_38; th_decode_ctl(*(undefined4 *)(in_ECX + 0x404),5,(int)&uStack_38 + 4,4); FUN_00adeb70(*(undefined4 *)(in_ECX + 0x404)); - uVar2 = FUN_00ade980(in_ECX + 0x3b0,*(undefined4 *)(in_ECX + 0x400)); + uVar2 = th_decode_alloc(in_ECX + 0x3b0,*(undefined4 *)(in_ECX + 0x400)); *(undefined4 *)(in_ECX + 0x404) = uVar2; ogg_stream_reset(); if (*(int *)(in_ECX + 0x20) != 0) { @@ -1070736,11 +1072685,15 @@ void FUN_00a90620(undefined4 param_1,undefined4 param_2,undefined4 param_3,undef } -//@@ 00a90650 FUN_00a90650 +//@@ 00a90650 theoraplayer::VideoClip::VideoClip /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: sets theoraplayer::VideoClip::vftable, FrameQueue::setSize, throws _Exception "Invalid output + mode: FORMAT_UNDEFINED for video: " (src VideoClip.cpp); only caller is the VideoClip_Theora ctor + 00a8c700 */ -void FUN_00a90650(int *param_1,int param_2,undefined4 param_3,undefined1 param_4) +void theoraplayer::VideoClip::VideoClip + (int *param_1,int param_2,undefined4 param_3,undefined1 param_4) { int *piVar1; @@ -1070770,7 +1072723,7 @@ void FUN_00a90650(int *param_1,int param_2,undefined4 param_3,undefined1 param_4 local_24 = __security_cookie ^ (uint)(local_3c + 0xb); ExceptionList = &local_1c; piVar1 = in_ECX + 1; - *in_ECX = theoraplayer::VideoClip::vftable; + *in_ECX = vftable; *piVar1 = 0; in_ECX[5] = 0; in_ECX[6] = 0xf; @@ -1070872,7 +1072825,7 @@ LAB_00a9085b: puVar6 = (undefined4 *)0x0; } else { - *puVar6 = theoraplayer::Timer::vftable; + *puVar6 = Timer::vftable; puVar6[1] = 0; puVar6[2] = 0x3f800000; *(undefined1 *)(puVar6 + 3) = 0; @@ -1070882,7 +1072835,7 @@ LAB_00a9085b: if (param_2 == 0) { uVar7 = FUN_006941b0(piVar1); local_14 = CONCAT31(local_14._1_3_,1); - theoraplayer::_Exception::_Exception + _Exception::_Exception (uVar7, "F:\\NicalisSVN\\KAGE\\trunk\\Build\\External\\LibTheora\\theoraplayer\\src\\VideoClip.cpp" ,0x92); @@ -1071327,12 +1073280,16 @@ void FUN_00a91190(void) } -//@@ 00a911e0 FUN_00a911e0 +//@@ 00a911e0 png_write_IHDR /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libpng pngwutil.c: called from png_write_info_before_PLTE; switch on color_type/bit_depth + with "Invalid bit depth for RGB image"/"...paletted image", "Invalid compression type specified", + "Invalid filter type specified", "Invalid interlace type specified", then png_write_chunk_header + + crc32 */ -void FUN_00a911e0(undefined4 param_1,uint param_2,undefined4 param_3,int param_4,int param_5, - int param_6) +void png_write_IHDR(undefined4 param_1,uint param_2,undefined4 param_3,int param_4,int param_5, + int param_6) { undefined4 uVar1; @@ -1071512,8 +1073469,8 @@ LAB_00a91432: else { uVar2 = *(undefined4 *)(in_ECX + 0xb0); } - FUN_00a953b0(uVar2,*(undefined4 *)(in_ECX + 0xb4),*(undefined4 *)(in_ECX + 0xb8), - *(undefined4 *)(in_ECX + 0xbc),puVar5,uVar1); + deflateInit2_(uVar2,*(undefined4 *)(in_ECX + 0xb4),*(undefined4 *)(in_ECX + 0xb8), + *(undefined4 *)(in_ECX + 0xbc),puVar5,uVar1); *(undefined4 *)(in_ECX + 0x78) = *(undefined4 *)(in_ECX + 0xa4); *(undefined4 *)(in_ECX + 0x7c) = *(undefined4 *)(in_ECX + 0xa8); *(undefined4 *)(in_ECX + 0x60) = 1; @@ -1071596,11 +1073553,14 @@ LAB_00a91770: } -//@@ 00a91790 FUN_00a91790 +//@@ 00a91790 png_write_cHRM /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libpng 1.2 pngwutil.c floating-point png_write_cHRM: 'Invalid cHRM white/red/green/blue point + specified' warnings, __dtoui3 (x*100000+0.5) conversions; called from png_write_info_before_PLTE + */ -void FUN_00a91790(double param_1,double param_2,double param_3,double param_4,double param_5) +void png_write_cHRM(double param_1,double param_2,double param_3,double param_4,double param_5) { undefined4 uVar1; @@ -1071713,11 +1073673,13 @@ void FUN_00a91790(double param_1,double param_2,double param_3,double param_4,do } -//@@ 00a91b50 FUN_00a91b50 +//@@ 00a91b50 png_write_tRNS /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libpng pngwutil.c: palette (3) num_trans check "Invalid number of transparent colors + specified", gray/RGB cases, "Can't write tRNS with an alpha channel", png_write_chunk_header */ -void FUN_00a91b50(int param_1,int param_2,int param_3) +void png_write_tRNS(int param_1,int param_2,int param_3) { byte bVar1; @@ -1071816,11 +1073778,13 @@ joined_r0x00a91d67: } -//@@ 00a91dd0 FUN_00a91dd0 +//@@ 00a91dd0 png_write_bKGD /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libpng pngwutil.c: string "Invalid background palette index"; png_write_chunk_header; called + from the png_write_info body 00a63490 png_write_info -void FUN_00a91dd0(uint param_1) +void png_write_bKGD(uint param_1) { byte bVar1; @@ -1071993,11 +1073957,14 @@ LAB_00a9219b: } -//@@ 00a921b0 FUN_00a921b0 +//@@ 00a921b0 png_check_keyword /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libpng: "zero length keyword", "invalid keyword character 0x%02X", "leading/trailing spaces + removed from keyword", "keyword length must be 1 - 79 characters"; callers png_write_zTXt and + neighbouring png_write_tEXt/iTXt */ -uint FUN_00a921b0(int *param_1) +uint png_check_keyword(int *param_1) { char *pcVar1; @@ -1072168,7 +1074135,7 @@ void FUN_00a92520(char *param_1,int param_2) int in_EDX; void *local_8; - if ((in_EDX == 0) || (iVar1 = FUN_00a921b0(&local_8), iVar1 == 0)) { + if ((in_EDX == 0) || (iVar1 = png_check_keyword(&local_8), iVar1 == 0)) { if (*(code **)(in_ECX + 0x44) == (code *)0x0) { uVar2 = __acrt_iob_func(2,"libpng warning: %s\n","Empty keyword in tEXt chunk"); FUN_008c5d50(uVar2); @@ -1072236,7 +1074203,7 @@ void png_write_zTXt(char *param_1,undefined4 param_2,uint param_3) local_8 = __security_cookie ^ (uint)(local_3c + 0x38); local_40 = 0; local_4c = 0; - if ((in_EDX == 0) || (iVar3 = FUN_00a921b0(&local_44), iVar3 == 0)) { + if ((in_EDX == 0) || (iVar3 = png_check_keyword(&local_44), iVar3 == 0)) { if (*(code **)(in_ECX + 0x44) != (code *)0x0) { (**(code **)(in_ECX + 0x44))(); return; @@ -1072491,13 +1074458,15 @@ LAB_00a92c43: } -//@@ 00a92cb0 FUN_00a92cb0 +//@@ 00a92cb0 png_write_pCAL /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ /* WARNING: Type propagation algorithm not settling */ +/* DB: libpng pngwutil.c: strings "Unrecognized equation type for pCAL chunk", "Out of Memory"; + png_write_chunk_header + crc32; called from the png_write_info body 00a63490 png_write_info -void FUN_00a92cb0(undefined4 param_1,undefined4 param_2,int param_3,int param_4,char *param_5, - int *param_6) +void png_write_pCAL(undefined4 param_1,undefined4 param_2,int param_3,int param_4,char *param_5, + int *param_6) { char *pcVar1; @@ -1072543,7 +1074512,7 @@ void FUN_00a92cb0(undefined4 param_1,undefined4 param_2,int param_3,int param_4, (**(code **)(in_ECX + 0x44))(); } } - iVar4 = FUN_00a921b0(&local_34); + iVar4 = png_check_keyword(&local_34); iVar9 = iVar4 + 1; local_20 = local_30; do { @@ -1072959,9 +1074928,12 @@ void png_write_finish_row(void) } -//@@ 00a93640 FUN_00a93640 +//@@ 00a93640 png_do_write_interlace -void FUN_00a93640(int param_1) +/* DB: libpng pngwutil.c: returns if pass > 5, png_pass_start/inc tables (0xb46860), per bit-depth + (1/2/4/other) packing then memcpy; only caller png_write_row (0xa63ba0) */ + +void png_do_write_interlace(int param_1) { byte bVar1; @@ -1073091,7 +1075063,7 @@ LAB_00a93825: //@@ 00a93860 png_write_find_filter /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ -/* DB: libpng: caller 00a63ba0 is png_write_row (interlace pass switch on row_number&7 / width<5, +/* DB: libpng: caller 00a63ba0 png_write_row png_write_row (interlace pass switch on row_number&7 / width<5, then do_write_interlace 00a93640, do_write_transformations 00a94c80, this, then write_row_fn callback at +0x194); SIMD filter heuristic over row bytes; sibling 00a94b10 png_write_filtered_row "zlib error"/"Call to NULL write function" */ @@ -1074835,9 +1076807,13 @@ LAB_00a94c6d: } -//@@ 00a94c80 FUN_00a94c80 +//@@ 00a94c80 png_do_write_transformations -void FUN_00a94c80(void) +/* DB: libpng pngwtran.c: only caller FUN_00a63ba0 (png_write_row: png_write_finish_row, + png_write_find_filter); transformation flags at +0x68: USER_TRANSFORM 0x100000 callback +0x58, + FILLER 0x8000 png_do_strip_filler, PACKSWAP 0x10000, PACK 4, ..., png_do_bgr */ + +void png_do_write_transformations(void) { int *piVar1; @@ -1074961,7 +1076937,7 @@ LAB_00a94e0e: uVar8 = *(uint *)(in_ECX + 0x68); LAB_00a94e4c: if ((uVar8 & 8) != 0) { - FUN_00a94f10(in_ECX + 0x179); + png_do_shift(in_ECX + 0x179); uVar8 = *(uint *)(in_ECX + 0x68); } if (((uVar8 & 0x10) != 0) && (*(char *)(in_ECX + 0x101) == '\x10')) { @@ -1074997,11 +1076973,14 @@ LAB_00a94e4c: } -//@@ 00a94f10 FUN_00a94f10 +//@@ 00a94f10 png_do_shift /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libpng pngwtran.c: ECX=row_info (color_type +2, bit_depth +9), param = png_color_8p sig_bit + (red/green/blue/gray bytes 0..3): shift_start/shift_dec per channel, skipped for palette + (color_type 3); called from png_do_write_transformations (00a94c80) */ -void FUN_00a94f10(byte *param_1) +void png_do_shift(byte *param_1) { byte bVar1; @@ -1075308,9 +1077287,14 @@ void FUN_00a952b0(void) } -//@@ 00a953b0 FUN_00a953b0 +//@@ 00a953b0 deflateInit2_ -undefined4 FUN_00a953b0(int param_1,uint param_2,int param_3,uint param_4) +/* DB: zlib deflate.c: default zalloc/zfree, level -1 -> 6, checks method==8, windowBits 9..15 (abs, + <0 = raw), memLevel 1..9, strategy, allocates 0x16b8 deflate_state, + w_size/hash_bits=(memLevel+7)/... 'insufficient memory' (ERR_MSG(Z_MEM_ERROR)); caller + png_write_IHDR (FUN_00a911e0) */ + +undefined4 deflateInit2_(int param_1,uint param_2,int param_3,uint param_4) { uint uVar1; @@ -1075580,7 +1077564,7 @@ LAB_00a959e8: } if (puVar1[1] == 0x29a) goto LAB_00a9598a; } - iVar2 = (*(code *)(&PTR_FUN_00b4cd20)[puVar1[0x1f] * 3])(puVar1); + iVar2 = (*(code *)(&PTR_deflate_stored_00b4cd20)[puVar1[0x1f] * 3])(puVar1); if ((iVar2 == 2) || (iVar2 == 3)) { puVar1[1] = 0x29a; } @@ -1075846,9 +1077830,13 @@ LAB_00a95c8e: } -//@@ 00a95de0 FUN_00a95de0 +//@@ 00a95de0 deflate_stored -char FUN_00a95de0(int *param_1,int param_2) +/* DB: zlib deflate.c (1.2.x) deflate_stored(s, flush): max_block_size = min(0xffff, + pending_buf_size-5), fill_window (FUN_00a95c50) when lookahead <= 1, _tr_flush_block + (FUN_00aaeeb0) with last = flush==Z_FINISH(4) */ + +char deflate_stored(int *param_1,int param_2) { int *piVar1; @@ -1075872,7 +1077860,7 @@ char FUN_00a95de0(int *param_1,int param_2) if (param_2 == 0) { return '\0'; } - FUN_00aaeeb0(param_1[0x19] - param_1[0x15],param_2 == 4); + _tr_flush_block(param_1[0x19] - param_1[0x15],param_2 == 4); iVar3 = *param_1; param_1[0x15] = param_1[0x19]; iVar4 = *(int *)(iVar3 + 0x1c); @@ -1075912,7 +1077900,7 @@ char FUN_00a95de0(int *param_1,int param_2) if ((*piVar1 == 0) || (uVar6 <= uVar2)) { param_1[0x19] = uVar6; param_1[0x1b] = uVar2 - uVar6; - FUN_00aaeeb0(uVar7,0); + _tr_flush_block(uVar7,0); iVar3 = *param_1; param_1[0x15] = param_1[0x19]; iVar4 = *(int *)(iVar3 + 0x1c); @@ -1075939,7 +1077927,7 @@ char FUN_00a95de0(int *param_1,int param_2) } } if (param_1[9] - 0x106U <= (uint)(param_1[0x19] - param_1[0x15])) { - FUN_00aaeeb0(param_1[0x19] - param_1[0x15],0); + _tr_flush_block(param_1[0x19] - param_1[0x15],0); iVar3 = *param_1; param_1[0x15] = param_1[0x19]; iVar4 = *(int *)(iVar3 + 0x1c); @@ -1075969,9 +1077957,13 @@ char FUN_00a95de0(int *param_1,int param_2) } -//@@ 00a96000 FUN_00a96000 +//@@ 00a96000 deflate_fast -char FUN_00a96000(int *param_1,int param_2) +/* DB: zlib deflate.c: twin of deflate_slow (00a96370) without match_available: lookahead < 0x106 -> + fill_window, FLUSH_BLOCK via _tr_flush_block (00aaeeb0) + flush_pending; no direct callers + (configuration_table) */ + +char deflate_fast(int *param_1,int param_2) { int *piVar1; @@ -1075996,7 +1077988,7 @@ char FUN_00a96000(int *param_1,int param_2) return '\0'; } if (uVar8 == 0) { - FUN_00aaeeb0(piVar3[0x19] - piVar3[0x15],param_2 == 4); + _tr_flush_block(piVar3[0x19] - piVar3[0x15],param_2 == 4); iVar6 = *piVar3; piVar3[0x15] = piVar3[0x19]; iVar2 = *(int *)(iVar6 + 0x1c); @@ -1076099,7 +1078091,7 @@ LAB_00a96225: (uint)*(byte *)(piVar3[0xc] + 1 + iVar6)) & piVar3[0x13]; } if (bVar10) { - FUN_00aaeeb0(iVar6 - piVar3[0x15],0); + _tr_flush_block(iVar6 - piVar3[0x15],0); iVar6 = *piVar3; piVar3[0x15] = piVar3[0x19]; iVar2 = *(int *)(iVar6 + 0x1c); @@ -1076129,9 +1078121,14 @@ LAB_00a96225: } -//@@ 00a96370 FUN_00a96370 +//@@ 00a96370 deflate_slow -char FUN_00a96370(int *param_1,int param_2) +/* DB: zlib deflate.c: lookahead < MIN_LOOKAHEAD 0x106 -> fill_window (00a95c50), match_available + (+0x60) emits the last literal via sym_buf/dyn_ltree freq++, FLUSH_BLOCK via _tr_flush_block + (00aaeeb0) + flush_pending memcpy into strm; no direct callers (configuration_table function + pointer) */ + +char deflate_slow(int *param_1,int param_2) { int *piVar1; @@ -1076165,7 +1078162,7 @@ char FUN_00a96370(int *param_1,int param_2) *(short *)(param_1 + bVar10 + 0x23) = (short)param_1[bVar10 + 0x23] + 1; param_1[0x18] = 0; } - FUN_00aaeeb0(param_1[0x19] - param_1[0x15],param_2 == 4); + _tr_flush_block(param_1[0x19] - param_1[0x15],param_2 == 4); iVar2 = *param_1; param_1[0x15] = param_1[0x19]; iVar3 = *(int *)(iVar2 + 0x1c); @@ -1076239,7 +1078236,7 @@ char FUN_00a96370(int *param_1,int param_2) param_1[0x5a6] = param_1[0x5a6] + 1; *(short *)(param_1 + bVar10 + 0x23) = (short)param_1[bVar10 + 0x23] + 1; if (param_1[0x5a6] == param_1[0x5a5] + -1) { - FUN_00aaeeb0(param_1[0x19] - param_1[0x15],0); + _tr_flush_block(param_1[0x19] - param_1[0x15],0); iVar2 = *param_1; param_1[0x15] = param_1[0x19]; iVar3 = *(int *)(iVar2 + 0x1c); @@ -1076311,7 +1078308,7 @@ char FUN_00a96370(int *param_1,int param_2) param_1[0x16] = 2; param_1[0x19] = uVar9 + 1; if (iVar5 == iVar4 + -1) { - FUN_00aaeeb0((uVar9 + 1) - param_1[0x15],0); + _tr_flush_block((uVar9 + 1) - param_1[0x15],0); iVar2 = *param_1; param_1[0x15] = param_1[0x19]; iVar3 = *(int *)(iVar2 + 0x1c); @@ -1076401,28 +1078398,31 @@ void * FUN_00a96800(void) } -//@@ 00a96980 FUN_00a96980 +//@@ 00a96980 png_read_info -void FUN_00a96980(void) +/* DB: libpng: signature check ("Not a PNG file", "PNG file corrupted by ASCII conversion"), chunk + loop with "Missing IHDR before IDAT"/"Missing PLTE before IDAT", dispatches png_handle_* + (00ab0xxx..00ab2xxx incl. png_handle_pCAL 00ab1bc0); caller image loader 00a64a50 ImagePng::load + +void png_read_info(void) { byte bVar1; int iVar2; int iVar3; - KAGE_Graphics_ImageManager *in_ECX; - KAGE_Graphics_ImageManager KVar4; + code *pcVar4; + void *in_ECX; uint uVar5; - KAGE_Graphics_ImageManager *pKVar6; - KAGE_Graphics_ImageManager KVar7; + byte *pbVar6; uint local_10; - bVar1 = *(byte *)(in_ECX + 0x49); + bVar1 = *(byte *)((int)in_ECX + 0x124); if (bVar1 < 8) { iVar3 = -(uint)bVar1; local_10 = iVar3 + 8; - if (in_ECX[0x14] == (KAGE_Graphics_ImageManager)0x0) goto LAB_00a96c8d; - (*(code *)in_ECX[0x14])(); - *(undefined1 *)(in_ECX + 0x49) = 8; + if (*(code **)((int)in_ECX + 0x50) == (code *)0x0) goto LAB_00a96c8d; + (**(code **)((int)in_ECX + 0x50))(); + *(undefined1 *)((int)in_ECX + 0x124) = 8; iVar2 = FUN_00a62e70(local_10); if (iVar2 != 0) { if ((bVar1 < 4) && (iVar3 = FUN_00a62e70(iVar3 + 4), iVar3 != 0)) { @@ -1076433,108 +1078433,107 @@ void FUN_00a96980(void) FUN_00a64610(); } } - KVar7 = in_ECX[0x14]; - if (KVar7 != (KAGE_Graphics_ImageManager)0x0) { + pcVar4 = *(code **)((int)in_ECX + 0x50); + if (pcVar4 != (code *)0x0) { do { - pKVar6 = in_ECX + 0x45; - (*(code *)KVar7)(); - in_ECX[0x42] = (KAGE_Graphics_ImageManager)0x0; - KVar7 = (KAGE_Graphics_ImageManager) - ((((local_10 & 0xff) * 0x100 + (local_10 >> 8 & 0xff)) * 0x100 + - (local_10 >> 0x10 & 0xff)) * 0x100 + (local_10 >> 0x18)); - if (in_ECX[0x14] == (KAGE_Graphics_ImageManager)0x0) break; - (*(code *)in_ECX[0x14])(); - if ((*(byte *)pKVar6 & 0x20) == 0) { - if (((uint)in_ECX[0x19] & 0x800) == 0) goto LAB_00a96a8b; + pbVar6 = (byte *)((int)in_ECX + 0x114); + (*pcVar4)(); + *(undefined4 *)((int)in_ECX + 0x108) = 0; + iVar3 = (((local_10 & 0xff) * 0x100 + (local_10 >> 8 & 0xff)) * 0x100 + + (local_10 >> 0x10 & 0xff)) * 0x100 + (local_10 >> 0x18); + if (*(code **)((int)in_ECX + 0x50) == (code *)0x0) break; + (**(code **)((int)in_ECX + 0x50))(); + if ((*pbVar6 & 0x20) == 0) { + if ((*(uint *)((int)in_ECX + 100) & 0x800) == 0) goto LAB_00a96a8b; } - else if (((uint)in_ECX[0x19] & 0x300) != 0x300) { + else if ((*(uint *)((int)in_ECX + 100) & 0x300) != 0x300) { LAB_00a96a8b: - if (pKVar6 == (KAGE_Graphics_ImageManager *)0x0) { - KVar4 = (KAGE_Graphics_ImageManager)0x0; + if (pbVar6 == (byte *)0x0) { + uVar5 = 0; } else { - iVar3 = 4; - uVar5 = ~(uint)in_ECX[0x42]; + iVar2 = 4; + uVar5 = ~*(uint *)((int)in_ECX + 0x108); do { - bVar1 = *(byte *)pKVar6; - pKVar6 = (KAGE_Graphics_ImageManager *)&pKVar6->field_0x1; + bVar1 = *pbVar6; + pbVar6 = pbVar6 + 1; uVar5 = uVar5 >> 8 ^ *(uint *)(((bVar1 ^ uVar5) & 0xff) * 4 + 0xb4e460); - iVar3 = iVar3 + -1; - } while (iVar3 != 0); - KVar4 = (KAGE_Graphics_ImageManager)~uVar5; + iVar2 = iVar2 + -1; + } while (iVar2 != 0); + uVar5 = ~uVar5; } - in_ECX[0x42] = KVar4; + *(uint *)((int)in_ECX + 0x108) = uVar5; } - KVar4 = in_ECX[0x45]; - if (KVar4 == DAT_00c129a0) { - FUN_00ab00b0(KVar7); + iVar2 = *(int *)((int)in_ECX + 0x114); + if (iVar2 == DAT_00c129a0) { + png_handle_IHDR(iVar3); } - else if (KVar4 == (KAGE_Graphics_ImageManager)s_PLTE_00c12987._1_4_) { - FUN_00ab0330(KVar7); + else if (iVar2 == s_PLTE_00c12987._1_4_) { + FUN_00ab0330(iVar3); } - else if (KVar4 == DAT_00c12990) { - FUN_00ab04d0(KVar7); + else if (iVar2 == DAT_00c12990) { + FUN_00ab04d0(iVar3); } else { - if (KVar4 == DAT_00c12998) { - KVar4 = in_ECX[0x18]; - if (((uint)KVar4 & 1) == 0) { + if (iVar2 == DAT_00c12998) { + uVar5 = *(uint *)((int)in_ECX + 0x60); + if ((uVar5 & 1) == 0) { /* WARNING: Subroutine does not return */ FUN_00a64610(); } - if ((in_ECX[0x47].field_0x2 == '\x03') && (((uint)KVar4 & 2) == 0)) { + if ((*(char *)((int)in_ECX + 0x11e) == '\x03') && ((uVar5 & 2) == 0)) { /* WARNING: Subroutine does not return */ FUN_00a64610(); } - in_ECX[0x41] = KVar7; - in_ECX[0x18] = (KAGE_Graphics_ImageManager)((uint)KVar4 | 4); + *(int *)((int)in_ECX + 0x104) = iVar3; + *(uint *)((int)in_ECX + 0x60) = uVar5 | 4; return; } - if (KVar4 == DAT_00c12958) { + if (iVar2 == DAT_00c12958) { FUN_00ab1540(); } - else if (KVar4 == DAT_00c12950) { - KAGE_Graphics_ImageManager::apply_frame_images(in_ECX); + else if (iVar2 == DAT_00c12950) { + png_handle_cHRM(in_ECX); } - else if (KVar4 == DAT_00c12948) { + else if (iVar2 == DAT_00c12948) { FUN_00ab0540(); } - else if (KVar4 == DAT_00c12940) { + else if (iVar2 == DAT_00c12940) { FUN_00ab1740(); } - else if (KVar4 == DAT_00c12978) { + else if (iVar2 == DAT_00c12978) { FUN_00ab1a50(); } - else if (KVar4 == DAT_00c12970) { - FUN_00ab1bc0(); + else if (iVar2 == DAT_00c12970) { + png_handle_pCAL(); } - else if (KVar4 == DAT_00c12968) { + else if (iVar2 == DAT_00c12968) { FUN_00ab18e0(); } - else if (KVar4 == DAT_00c12960) { + else if (iVar2 == DAT_00c12960) { FUN_00ab06d0(); } - else if (KVar4 == DAT_00c129c0) { - FUN_00ab0fc0(); + else if (iVar2 == DAT_00c129c0) { + png_handle_sRGB(); } - else if (KVar4 == DAT_00c129b8) { + else if (iVar2 == DAT_00c129b8) { FUN_00ab2040(); } - else if (KVar4 == DAT_00c129b0) { + else if (iVar2 == DAT_00c129b0) { FUN_00ab1ef0(); } - else if (KVar4 == DAT_00c129a8) { - FUN_00ab1300(); + else if (iVar2 == DAT_00c129a8) { + png_handle_tRNS(); } - else if (KVar4 == DAT_00c129c8) { - FUN_00ab2140(); + else if (iVar2 == DAT_00c129c8) { + png_handle_zTXt(); } else { - FUN_00ab2580(KVar7); + FUN_00ab2580(iVar3); } } - KVar7 = in_ECX[0x14]; - } while (KVar7 != (KAGE_Graphics_ImageManager)0x0); + pcVar4 = *(code **)((int)in_ECX + 0x50); + } while (pcVar4 != (code *)0x0); } LAB_00a96c8d: /* WARNING: Subroutine does not return */ @@ -1076542,9 +1078541,12 @@ LAB_00a96c8d: } -//@@ 00a96cc0 FUN_00a96cc0 +//@@ 00a96cc0 png_read_row -void FUN_00a96cc0(void) +/* DB: libpng: "Invalid attempt to read row data", "Not enough image data", "Extra compressed data"; + calls png_read_filter_row, png_do_read_interlace, png_read_finish_row */ + +void png_read_row(void) { byte *pbVar1; @@ -1076558,47 +1078560,47 @@ void FUN_00a96cc0(void) uint local_8; if ((*(byte *)(in_ECX + 100) & 0x40) == 0) { - FUN_00ab33f0(); + png_read_start_row(); } if ((*(char *)(in_ECX + 0x11b) != '\0') && ((*(byte *)(in_ECX + 0x68) & 2) != 0)) { switch(*(undefined1 *)(in_ECX + 0x11c)) { case 0: if ((*(byte *)(in_ECX + 0xdc) & 7) != 0) { LAB_00a96db4: - FUN_00ab3120(); + png_read_finish_row(); return; } break; case 1: if ((*(byte *)(in_ECX + 0xdc) & 7) != 0) goto LAB_00a96db4; if (*(uint *)(in_ECX + 0xc0) < 5) { - FUN_00ab3120(); + png_read_finish_row(); return; } break; case 2: if (((byte)*(undefined4 *)(in_ECX + 0xdc) & 7) != 4) { - FUN_00ab3120(); + png_read_finish_row(); return; } break; case 3: if ((*(byte *)(in_ECX + 0xdc) & 3) != 0) goto LAB_00a96db4; if (*(uint *)(in_ECX + 0xc0) < 3) { - FUN_00ab3120(); + png_read_finish_row(); return; } break; case 4: if (((byte)*(undefined4 *)(in_ECX + 0xdc) & 3) != 2) { - FUN_00ab3120(); + png_read_finish_row(); return; } break; case 5: if ((*(byte *)(in_ECX + 0xdc) & 1) != 0) goto LAB_00a96db4; if (*(uint *)(in_ECX + 0xc0) < 2) { - FUN_00ab3120(); + png_read_finish_row(); return; } break; @@ -1076664,7 +1078666,7 @@ LAB_00a96e81: png_crc_read(uVar4); *(int *)(in_ECX + 0x104) = *(int *)(in_ECX + 0x104) - *(int *)(in_ECX + 0x70); } - iVar6 = FUN_00aaf9d0(); + iVar6 = inflate(); if (iVar6 == 1) { if (((*(int *)(in_ECX + 0x7c) != 0) || (*(int *)(in_ECX + 0x70) != 0)) || (*(int *)(in_ECX + 0x104) != 0)) { @@ -1076687,11 +1078689,11 @@ LAB_00a96f48: *(byte *)(in_ECX + 0x103) = *(byte *)(in_ECX + 0x121); *(int *)(in_ECX + 0xf8) = *(int *)(in_ECX + 0xd8); *(uint *)(in_ECX + 0xfc) = (uint)*(byte *)(in_ECX + 0x121) * *(int *)(in_ECX + 0xd8) + 7 >> 3; - FUN_00ab2d80(*(undefined1 **)(in_ECX + 0xe4) + 1,*(int *)(in_ECX + 0xe0) + 1, - **(undefined1 **)(in_ECX + 0xe4)); + png_read_filter_row(*(undefined1 **)(in_ECX + 0xe4) + 1,*(int *)(in_ECX + 0xe0) + 1, + **(undefined1 **)(in_ECX + 0xe4)); memcpy(*(void **)(in_ECX + 0xe0),*(void **)(in_ECX + 0xe4),*(int *)(in_ECX + 0xd0) + 1); if (*(int *)(in_ECX + 0x68) != 0) { - png_read_row(); + png_do_read_transformations(); } if ((*(char *)(in_ECX + 0x11b) == '\0') || ((*(uint *)(in_ECX + 0x68) & 2) == 0)) { if (in_EDX != (void *)0x0) { @@ -1076701,13 +1078703,13 @@ LAB_00a96f48: } else { if (*(byte *)(in_ECX + 0x11c) < 6) { - FUN_00ab28f0(*(byte *)(in_ECX + 0x11c),*(uint *)(in_ECX + 0x68)); + png_do_read_interlace(*(byte *)(in_ECX + 0x11c),*(uint *)(in_ECX + 0x68)); } if (in_EDX != (void *)0x0) { - FUN_00ab2620(*(undefined4 *)(&DAT_00b3db28 + (uint)*(byte *)(in_ECX + 0x11c) * 4)); + png_combine_row(*(undefined4 *)(&DAT_00b3db28 + (uint)*(byte *)(in_ECX + 0x11c) * 4)); } } - FUN_00ab3120(); + png_read_finish_row(); if (*(code **)(in_ECX + 400) == (code *)0x0) { return; } @@ -1076718,124 +1078720,128 @@ LAB_00a96f48: } -//@@ 00a97100 FUN_00a97100 +//@@ 00a97100 png_read_end -void FUN_00a97100(void) +/* DB: libpng pngread.c: called by image_load_png after rows (0xa65015); png_crc_finish, chunk loop + dispatching png_handle_* (cHRM 0xab0830, zTXt 0xab2140 ...), 'Too many IDAT's found' */ + +void png_read_end(void) { byte bVar1; - KAGE_Graphics_ImageManager *in_ECX; - KAGE_Graphics_ImageManager KVar2; - uint uVar3; - KAGE_Graphics_ImageManager *pKVar4; + void *in_ECX; + uint uVar2; + byte *pbVar3; + int iVar4; int iVar5; - int iVar6; uint local_10; png_crc_finish(); do { - if (in_ECX[0x14] == (KAGE_Graphics_ImageManager)0x0) { + if (*(code **)((int)in_ECX + 0x50) == (code *)0x0) { LAB_00a97378: /* WARNING: Subroutine does not return */ FUN_00a64610(); } - (*(code *)in_ECX[0x14])(); - pKVar4 = in_ECX + 0x45; - in_ECX[0x42] = (KAGE_Graphics_ImageManager)0x0; - iVar6 = (((local_10 & 0xff) * 0x100 + (local_10 >> 8 & 0xff)) * 0x100 + + (**(code **)((int)in_ECX + 0x50))(); + pbVar3 = (byte *)((int)in_ECX + 0x114); + *(undefined4 *)((int)in_ECX + 0x108) = 0; + iVar5 = (((local_10 & 0xff) * 0x100 + (local_10 >> 8 & 0xff)) * 0x100 + (local_10 >> 0x10 & 0xff)) * 0x100 + (local_10 >> 0x18); - if (in_ECX[0x14] == (KAGE_Graphics_ImageManager)0x0) goto LAB_00a97378; - (*(code *)in_ECX[0x14])(); - if ((*(byte *)pKVar4 & 0x20) == 0) { - if (((uint)in_ECX[0x19] & 0x800) == 0) goto LAB_00a9719c; + if (*(code **)((int)in_ECX + 0x50) == (code *)0x0) goto LAB_00a97378; + (**(code **)((int)in_ECX + 0x50))(); + if ((*pbVar3 & 0x20) == 0) { + if ((*(uint *)((int)in_ECX + 100) & 0x800) == 0) goto LAB_00a9719c; } - else if (((uint)in_ECX[0x19] & 0x300) != 0x300) { + else if ((*(uint *)((int)in_ECX + 100) & 0x300) != 0x300) { LAB_00a9719c: - if (pKVar4 == (KAGE_Graphics_ImageManager *)0x0) { - KVar2 = (KAGE_Graphics_ImageManager)0x0; + if (pbVar3 == (byte *)0x0) { + uVar2 = 0; } else { - iVar5 = 4; - uVar3 = ~(uint)in_ECX[0x42]; + iVar4 = 4; + uVar2 = ~*(uint *)((int)in_ECX + 0x108); do { - bVar1 = *(byte *)pKVar4; - pKVar4 = (KAGE_Graphics_ImageManager *)&pKVar4->field_0x1; - uVar3 = uVar3 >> 8 ^ *(uint *)(((bVar1 ^ uVar3) & 0xff) * 4 + 0xb4e460); - iVar5 = iVar5 + -1; - } while (iVar5 != 0); - KVar2 = (KAGE_Graphics_ImageManager)~uVar3; + bVar1 = *pbVar3; + pbVar3 = pbVar3 + 1; + uVar2 = uVar2 >> 8 ^ *(uint *)(((bVar1 ^ uVar2) & 0xff) * 4 + 0xb4e460); + iVar4 = iVar4 + -1; + } while (iVar4 != 0); + uVar2 = ~uVar2; } - in_ECX[0x42] = KVar2; + *(uint *)((int)in_ECX + 0x108) = uVar2; } - KVar2 = in_ECX[0x45]; - if (KVar2 == DAT_00c129a0) { - FUN_00ab00b0(iVar6); + iVar4 = *(int *)((int)in_ECX + 0x114); + if (iVar4 == DAT_00c129a0) { + png_handle_IHDR(iVar5); } - else if (KVar2 == DAT_00c12998) { - if ((iVar6 != 0) || ((*(byte *)(in_ECX + 0x18) & 8) != 0)) { + else if (iVar4 == DAT_00c12998) { + if ((iVar5 != 0) || ((*(byte *)((int)in_ECX + 0x60) & 8) != 0)) { /* WARNING: Subroutine does not return */ FUN_00a64610(); } png_crc_finish(); } - else if (KVar2 == (KAGE_Graphics_ImageManager)s_PLTE_00c12987._1_4_) { + else if (iVar4 == s_PLTE_00c12987._1_4_) { FUN_00ab0330(); } - else if (KVar2 == DAT_00c12990) { + else if (iVar4 == DAT_00c12990) { FUN_00ab04d0(); } - else if (KVar2 == DAT_00c12958) { + else if (iVar4 == DAT_00c12958) { FUN_00ab1540(); } - else if (KVar2 == DAT_00c12950) { - KAGE_Graphics_ImageManager::apply_frame_images(in_ECX); + else if (iVar4 == DAT_00c12950) { + png_handle_cHRM(in_ECX); } - else if (KVar2 == DAT_00c12948) { + else if (iVar4 == DAT_00c12948) { FUN_00ab0540(); } - else if (KVar2 == DAT_00c12940) { + else if (iVar4 == DAT_00c12940) { FUN_00ab1740(); } - else if (KVar2 == DAT_00c12978) { + else if (iVar4 == DAT_00c12978) { FUN_00ab1a50(); } - else if (KVar2 == DAT_00c12970) { - FUN_00ab1bc0(); + else if (iVar4 == DAT_00c12970) { + png_handle_pCAL(); } - else if (KVar2 == DAT_00c12968) { + else if (iVar4 == DAT_00c12968) { FUN_00ab18e0(); } - else if (KVar2 == DAT_00c12960) { + else if (iVar4 == DAT_00c12960) { FUN_00ab06d0(); } - else if (KVar2 == DAT_00c129c0) { - FUN_00ab0fc0(); + else if (iVar4 == DAT_00c129c0) { + png_handle_sRGB(); } - else if (KVar2 == DAT_00c129b8) { + else if (iVar4 == DAT_00c129b8) { FUN_00ab2040(); } - else if (KVar2 == DAT_00c129b0) { + else if (iVar4 == DAT_00c129b0) { FUN_00ab1ef0(); } - else if (KVar2 == DAT_00c129a8) { - FUN_00ab1300(); + else if (iVar4 == DAT_00c129a8) { + png_handle_tRNS(); } - else if (KVar2 == DAT_00c129c8) { - FUN_00ab2140(); + else if (iVar4 == DAT_00c129c8) { + png_handle_zTXt(); } else { - FUN_00ab2580(iVar6); + FUN_00ab2580(iVar5); } - if ((*(byte *)(in_ECX + 0x18) & 0x10) != 0) { + if ((*(byte *)((int)in_ECX + 0x60) & 0x10) != 0) { return; } } while( true ); } -//@@ 00a973a0 FUN_00a973a0 +//@@ 00a973a0 png_destroy_read_struct -void FUN_00a973a0(undefined4 *param_1) +/* DB: libpng (round 7 agent) */ + +void png_destroy_read_struct(undefined4 *param_1) { undefined4 *in_ECX; @@ -1076856,7 +1078862,7 @@ void FUN_00a973a0(undefined4 *param_1) if (param_1 != (undefined4 *)0x0) { _Memory = (void *)*param_1; } - FUN_00a97450(_Memory); + png_read_destroy(_Memory); if (local_8 != (void *)0x0) { if ((_Memory_00 != (void *)0x0) && (*(void **)((int)local_8 + 0x38) != (void *)0x0)) { free(*(void **)((int)local_8 + 0x38)); @@ -1076879,9 +1078885,13 @@ void FUN_00a973a0(undefined4 *param_1) } -//@@ 00a97450 FUN_00a97450 +//@@ 00a97450 png_read_destroy -void FUN_00a97450(int param_1) +/* DB: libpng 1.2 pngread.c: png_info_destroy(info_ptr), png_info_destroy(end_info), frees + zbuf/big_row_buf/prev_row/palette/trans/hist/gamma tables by free_me flags; called from + png_destroy_read_struct (FUN_00a973a0) and the inlined copy in FUN_00a64a50 */ + +void png_read_destroy(int param_1) { void *pvVar1; @@ -1077101,7 +1079111,7 @@ void FUN_00a976e0(void) /* DB: ? libpng pngrtran.c: png_ptr->transformations (+0x68) & PNG_EXPAND(0x100), color_type (+0x11e)==PALETTE(3) copies palette[trans] into trans_color (+0x132..0x136), gamma tables via pow - (FUN_00a9ae80); called from 00ab33f0 (png_read_update_info/start_read_image, "Out of Memory") */ + (FUN_00a9ae80); called from 00ab33f0 png_read_start_row "Out of Memory") */ void png_init_read_transformations(void) @@ -1077643,13 +1079653,13 @@ LAB_00a98319: } -//@@ 00a98430 png_read_row +//@@ 00a98430 png_do_read_transformations /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ -/* DB: libpng pngread.c: "NULL row buffer for row %ld, pass %d", "png_do_dither returned rowbytes=0" - */ +/* DB: libpng 1.2: "NULL row buffer for row %ld, pass %d", "png_do_dither returned rowbytes=0", + calls png_do_read_filler; only caller is the real png_read_row 00a96cc0 png_read_row png_read_row) */ -void png_read_row(void) +void png_do_read_transformations(void) { undefined1 uVar1; @@ -1078416,9 +1080426,14 @@ void FUN_00a98e60(undefined4 param_1,byte param_2) } -//@@ 00a98e6a FUN_00a98e6a +//@@ 00a98e6a png_do_read_filler -void FUN_00a98e6a(void) +/* DB: libpng pngrtran.c: tail of the function entered at 0xa98e60 (10-byte prologue, called from + 0xa98932 inside the read-transformations routine); between png_do_read_invert_alpha and + png_do_gray_to_rgb; inserts filler byte per pixel, 8/16-bit, PNG_FLAG_FILLER_AFTER (0x80) branch + */ + +void png_do_read_filler(void) { undefined1 *puVar1; @@ -1078715,7 +1080730,7 @@ void png_do_gray_to_rgb(void) //@@ 00a99280 png_do_background /* DB: libpng pngrtran.c: switch on row_info bit_depth, compares pixels to trans_color and replaces - with background; caller 00a98430 png_read_row png_do_read_transformations ("png_do_dither returned + with background; caller 00a98430 png_do_read_transformations png_do_read_transformations ("png_do_dither returned rowbytes=0") */ void png_do_background(int param_1,uint param_2,int param_3,int param_4,int param_5,int param_6, @@ -1080218,9 +1082233,13 @@ LAB_00a9b53b: } -//@@ 00a9b550 FUN_00a9b550 +//@@ 00a9b550 get_sof -uint FUN_00a9b550(undefined1 param_1,undefined1 param_2) +/* DB: libjpeg(-turbo) jdmarker.c get_sof(cinfo, is_prog, is_lossless, is_arith): JERR_SOF_DUPLICATE + (0x3c) if marker->saw_SOF, stores progressive_mode (+0xc9), master->lossless, arith_code (+0xca), + reads bytes through src->fill_input_buffer */ + +uint get_sof(undefined1 param_1,undefined1 param_2) { undefined1 uVar1; @@ -1080402,9 +1082421,13 @@ LAB_00a9b8a3: } -//@@ 00a9b8b0 FUN_00a9b8b0 +//@@ 00a9b8b0 get_sos -uint FUN_00a9b8b0(void) +/* DB: libjpeg jdmarker.c: only caller read_markers FUN_00a9cac0; first ERREXIT JERR_SOS_NO_SOF when + marker->saw_SOF (+0xd of cinfo->marker) is false, then reads the length and component count bytes + through the source manager (fill_input_buffer at src+0xc) */ + +uint get_sos(void) { undefined1 uVar1; @@ -1080680,11 +1082703,14 @@ LAB_00a9bd97: } -//@@ 00a9bdd0 FUN_00a9bdd0 +//@@ 00a9bdd0 get_dht /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg jdmarker.c: called from read_markers (a9ccb2); reads marker length (INPUT_2BYTES via + src->fill_input_buffer), loops tables: index byte traced with JTRC_DHT (0x52), 16 bit counts, up + to 256 huffval bytes into a local [256] buffer */ -undefined4 FUN_00a9bdd0(void) +undefined4 get_dht(void) { byte bVar1; @@ -1080868,9 +1082894,13 @@ undefined4 FUN_00a9bdd0(void) } -//@@ 00a9c1a0 FUN_00a9c1a0 +//@@ 00a9c1a0 get_dqt -undefined4 FUN_00a9c1a0(void) +/* DB: libjpeg jdmarker.c: reads 2-byte length from cinfo->src + (next_input_byte/bytes_in_buffer/fill_input_buffer), JTRC_DQT(0x53), JERR_DQT_INDEX(0x20), allocs + quant_tbl_ptrs[n] at cinfo+0x90, natural-order loop, JTRC_QUANTVALS(0x5f) */ + +undefined4 get_dqt(void) { byte bVar1; @@ -1081020,9 +1083050,13 @@ undefined4 FUN_00a9c1a0(void) } -//@@ 00a9c450 FUN_00a9c450 +//@@ 00a9c450 examine_app0 -void FUN_00a9c450(uint param_1,int param_2) +/* DB: libjpeg jdmarker.c: (datalen, remaining) with EDX data: "JFIF\0" -> saw_JFIF_marker (+0x100), + version/density bytes, TRACE JTRC_JFIF 0x59, warn JWRN_JFIF_MAJOR 0x7a, thumbnail JTRC 0x5c; only + caller get_interesting_appn FUN_00a9c770 */ + +void examine_app0(uint param_1,int param_2) { char cVar1; @@ -1081226,7 +1083260,7 @@ undefined4 FUN_00a9c770(int *param_1) LAB_00a9c838: iVar5 = uVar4 - local_24; if (param_1[99] == 0xe0) { - FUN_00a9c450(local_24,iVar5); + examine_app0(local_24,iVar5); } else if (param_1[99] == 0xee) { FUN_00a9c690(local_24,iVar5); @@ -1081466,7 +1083500,7 @@ LAB_00a9cad0: uVar12 = 1; goto LAB_00a9cc56; case 0xc4: - cVar6 = FUN_00a9bdd0(); + cVar6 = get_dht(); break; case 0xc5: case 0xc6: @@ -1081495,7 +1083529,7 @@ LAB_00a9cc52: uVar13 = 1; uVar12 = 1; LAB_00a9cc56: - cVar6 = FUN_00a9b550(uVar12,uVar13); + cVar6 = get_sof(uVar12,uVar13); break; case 0xcc: cVar6 = FUN_00a9bc20(); @@ -1081533,14 +1083567,14 @@ LAB_00a9cc56: piVar5[99] = 0; return 2; case 0xda: - cVar6 = FUN_00a9b8b0(); + cVar6 = get_sos(); if (cVar6 == '\0') { return 0; } piVar5[99] = 0; return 1; case 0xdb: - cVar6 = FUN_00a9c1a0(); + cVar6 = get_dqt(); break; case 0xdc: cVar6 = FUN_00a9c8e0(piVar5); @@ -1081897,11 +1083931,11 @@ void jpeg_CreateDecompress(void) in_ECX[0x27] = 0; *puVar2 = alloc_small; puVar2[1] = FUN_00ab3810; - puVar2[2] = FUN_00ab3900; + puVar2[2] = alloc_sarray; puVar2[3] = FUN_00ab3b30; puVar2[4] = FUN_00ab3bf0; puVar2[5] = FUN_00ab3c60; - puVar2[6] = FUN_00ab3cd0; + puVar2[6] = realize_virt_arrays; puVar2[7] = FUN_00ab4090; puVar2[8] = FUN_00ab4220; puVar2[9] = FUN_00ab4370; @@ -1081965,9 +1083999,13 @@ void jpeg_CreateDecompress(void) } -//@@ 00a9d620 FUN_00a9d620 +//@@ 00a9d620 default_decompress_parms -void FUN_00a9d620(void) +/* DB: libjpeg(-turbo) jdapimin.c: switch on num_components (+0x24): 1 GRAYSCALE, 3 JFIF/Adobe + transform, 4 CMYK/YCCK (JWRN_ADOBE_XFORM 0x74), sets jpeg_color_space (+0x28) / out_color_space + (+0x2c); from 00a653f3 */ + +void default_decompress_parms(void) { int *piVar1; @@ -1082247,9 +1084285,12 @@ void FUN_00a9db20(void) } -//@@ 00a9db50 FUN_00a9db50 +//@@ 00a9db50 _glfwSelectPlatform -undefined4 FUN_00a9db50(void) +/* DB: GLFW 3.4 platform.c: 'Invalid platform ID 0x%%08X', 'The requested platform is not supported' + via _glfwInputError; only caller FUN_00a6a420 (glfwInit) */ + +undefined4 _glfwSelectPlatform(void) { undefined4 uVar1; @@ -1082328,13 +1084369,13 @@ undefined4 FUN_00a9db50(void) undefined1 *local_8; if (in_ECX == 0x60000) { - uVar1 = FUN_00a81050(0x60001); + uVar1 = _glfwConnectWin32(0x60001); return uVar1; } if ((((in_ECX == 0x60001) || (in_ECX == 0x60002)) || (in_ECX == 0x60003)) || (in_ECX == 0x60004)) { if (in_ECX == 0x60001) { - uVar1 = FUN_00a81050(); + uVar1 = _glfwConnectWin32(); return uVar1; } _glfwInputError(0x1000e,"The requested platform is not supported"); @@ -1082711,9 +1084752,15 @@ int FUN_00a9e280(void) } -//@@ 00a9e2d0 FUN_00a9e2d0 +//@@ 00a9e2d0 steam_user_profile_update -void FUN_00a9e2d0(byte *param_1) +/* DB: ? Steam glue (param = user profile impl: steam id +8/+0xc, name buffer +0x10, flags +0): if + the id is the local SteamUser (ISteamUser vfunc +8 GetSteamID) copies + ISteamFriends::GetPersonaName, else GetFriendPersonaName (+0x1c), GetFriendRelationship (+0x14) + == 3 sets flag 2 (friend), scans GetFriendCount/GetFriendByIndex(0x200 k_EFriendFlagIgnored) to + set flag 4; callers std::map::try_emplace and 00a8c600 */ + +void steam_user_profile_update(byte *param_1) { uint uVar1; @@ -1082810,9 +1084857,11 @@ void FUN_00a9e2d0(byte *param_1) } -//@@ 00a9e4f0 FUN_00a9e4f0 +//@@ 00a9e4f0 KAGE::Sound::Manager::Init -undefined1 FUN_00a9e4f0(void) +/* DB: slot 1 of the KAGE::Sound::Manager vtable */ + +undefined1 KAGE::Sound::Manager::Init(void) { char cVar1; @@ -1082820,7 +1084869,7 @@ undefined1 FUN_00a9e4f0(void) int in_ECX; undefined4 local_8; - cVar1 = FUN_00a7d2a0(); + cVar1 = ManagerOpenAL::Init(); if (cVar1 == '\0') { return 0; } @@ -1089869,9 +1091918,13 @@ LAB_00aa52a1: } -//@@ 00aa7340 FUN_00aa7340 +//@@ 00aa7340 vorbis_deinit -void FUN_00aa7340(void) +/* DB: stb_vorbis vorbis_deinit: frees residue classdata/part books, codebooks, + floor/mapping/residue configs unless alloc_buffer (+0x60) is set; callers stb_vorbis_close path + (FUN_00aa78e0) and SampleSourceOgg slot 7 (FUN_00a7bd80) */ + +void vorbis_deinit(void) { int in_ECX; @@ -1090231,17 +1092284,20 @@ undefined4 * FUN_00aa78e0(undefined4 *param_1,undefined4 *param_2) if (param_1 != (undefined4 *)0x0) { *param_1 = local_590; } - FUN_00aa7340(); + vorbis_deinit(); } return (undefined4 *)0x0; } -//@@ 00aa7a10 FUN_00aa7a10 +//@@ 00aa7a10 stb_vorbis::compute_stereo_samples /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: stb_vorbis: only caller FUN_00aa7e80 (convert_channels_short_interleaved, float*384 -> short + clamp); 32-float local buffer filled 16 frames at a time, per channel channel_position mask table + DAT_00b4eca0[num_c*6] tested for PLAYBACK_LEFT|RIGHT (6) / LEFT (2) / RIGHT (4) */ -void FUN_00aa7a10(int param_1,int param_2,int param_3) +void stb_vorbis::compute_stereo_samples(int param_1,int param_2,int param_3) { float *pfVar1; @@ -1090473,7 +1092529,7 @@ void FUN_00aa7e80(int param_1,int param_2,int param_3,int param_4) L"C:\\nicalis\\builderbob\\projects\\KAGE\\Source\\Core\\External\\ogg.cpp", 0x1441), 0 < in_ECX)) { do { - FUN_00aa7a10(param_2,param_3,param_4); + stb_vorbis::compute_stereo_samples(param_2,param_3,param_4); in_ECX = in_ECX + -1; } while (in_ECX != 0); return; @@ -1090677,11 +1092733,14 @@ void FUN_00aa8270(void) } -//@@ 00aa8360 FUN_00aa8360 +//@@ 00aa8360 deviceObjectCallback /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: GLFW win32_joystick.c DirectInput EnumObjects callback (pushed with DIDFT_AXIS|BUTTON|POV = + 0x1f at aa87c7): compares guidType with GUID_Slider/axis GUIDs (DAT_00b4ecec/cc), + axis/slider/button/POV objects, POV offset DIJOFS_POV(n)=0x20+4n type 3 */ -undefined4 FUN_00aa8360(int param_1,undefined4 *param_2) +undefined4 deviceObjectCallback(int param_1,undefined4 *param_2) { int *piVar1; @@ -1090962,11 +1093021,14 @@ LAB_00aa8b98: } -//@@ 00aa8d90 FUN_00aa8d90 +//@@ 00aa8d90 _glfwPollJoystickWin32 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: GLFW 3.4 win32_joystick.c: slot 18 (pollJoystick) of the _GLFWplatform table built by + _glfwConnectWin32 00a81050 _glfwConnectWin32 inlined _glfwInputJoystickAxis/Button/Hat asserts "axis + < js->axisCount", "button >= 0", "value == GLFW_PRESS || value == GLFW_RELEASE" (input.c) */ -undefined4 FUN_00aa8d90(int param_1,int param_2) +undefined4 _glfwPollJoystickWin32(int param_1,int param_2) { int *piVar1; @@ -1091257,7 +1093319,7 @@ uint * FUN_00aa93e0(uint *param_1) uVar4 = (uint)(lVar5 + 0x7f); uVar2 = uVar3; } while (local_8 != 0); - FUN_00aa9580(uVar3); + isaac_randinit(uVar3); *in_ECX = 0; return in_ECX; } @@ -1091315,9 +1093377,13 @@ void FUN_00aa94a0(void) } -//@@ 00aa9580 FUN_00aa9580 +//@@ 00aa9580 isaac_randinit -void FUN_00aa9580(void) +/* DB: Bob Jenkins ISAAC randinit: golden-ratio pre-mixed constants (0x1367df5a, 0xd92a4a78, + 0xc4efea1b ...), mix shifts <<11 >>2 <<8 >>16 <<10 >>4 <<8 >>9 over randrsl, clears aa/bb/cc + (+0x804..+0x80c), then isaac() FUN_00aa94a0; from FUN_00aa93e0 */ + +void isaac_randinit(void) { int *piVar1; @@ -1091465,10 +1093531,10 @@ void FUN_00aa9880(int param_1) void FUN_00aa98c0(int param_1) { - FUN_00ab6a80(*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x28), - *(undefined4 *)(param_1 + 8),*(undefined4 *)(param_1 + 0x24), - *(undefined4 *)(param_1 + 0x10),*(int *)(param_1 + 0x1c) << 2,&DAT_00b5e4e0, - *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x18)); + I420ToRGBAMatrix(*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x28), + *(undefined4 *)(param_1 + 8),*(undefined4 *)(param_1 + 0x24), + *(undefined4 *)(param_1 + 0x10),*(int *)(param_1 + 0x1c) << 2,&DAT_00b5e4e0, + *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x18)); FUN_00ab6e40(); return; } @@ -1091479,10 +1093545,10 @@ void FUN_00aa98c0(int param_1) void FUN_00aa9910(int param_1) { - FUN_00ab6a80(*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x28), - *(undefined4 *)(param_1 + 8),*(undefined4 *)(param_1 + 0x24), - *(undefined4 *)(param_1 + 0x10),*(int *)(param_1 + 0x1c) << 2,&DAT_00b5e4e0, - *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x18)); + I420ToRGBAMatrix(*(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x28), + *(undefined4 *)(param_1 + 8),*(undefined4 *)(param_1 + 0x24), + *(undefined4 *)(param_1 + 0x10),*(int *)(param_1 + 0x1c) << 2,&DAT_00b5e4e0, + *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x18)); return; } @@ -1091533,10 +1093599,10 @@ void FUN_00aa99e0(int param_1) void FUN_00aa9a20(int param_1) { - FUN_00ab6a80(*(undefined4 *)(param_1 + 8),*(undefined4 *)(param_1 + 0x24), - *(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x28), - *(undefined4 *)(param_1 + 0x10),*(int *)(param_1 + 0x1c) << 2,&DAT_00b5e5c0, - *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x18)); + I420ToRGBAMatrix(*(undefined4 *)(param_1 + 8),*(undefined4 *)(param_1 + 0x24), + *(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x28), + *(undefined4 *)(param_1 + 0x10),*(int *)(param_1 + 0x1c) << 2,&DAT_00b5e5c0, + *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x18)); FUN_00ab6e40(); return; } @@ -1091547,10 +1093613,10 @@ void FUN_00aa9a20(int param_1) void FUN_00aa9a70(int param_1) { - FUN_00ab6a80(*(undefined4 *)(param_1 + 8),*(undefined4 *)(param_1 + 0x24), - *(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x28), - *(undefined4 *)(param_1 + 0x10),*(int *)(param_1 + 0x1c) << 2,&DAT_00b5e5c0, - *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x18)); + I420ToRGBAMatrix(*(undefined4 *)(param_1 + 8),*(undefined4 *)(param_1 + 0x24), + *(undefined4 *)(param_1 + 0xc),*(undefined4 *)(param_1 + 0x28), + *(undefined4 *)(param_1 + 0x10),*(int *)(param_1 + 0x1c) << 2,&DAT_00b5e5c0, + *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x18)); return; } @@ -1091827,7 +1093893,7 @@ undefined4 _vorbis_unpack_books(void) local_c = (int *)(iVar6 + 0x720); iVar1 = 0; do { - iVar2 = FUN_00ab7220(); + iVar2 = vorbis_staticbook_unpack(); *local_c = iVar2; if (iVar2 == 0) goto LAB_00aaa136; iVar1 = iVar1 + 1; @@ -1092481,7 +1094547,7 @@ void FUN_00aaad10(int param_1) local_8 = 0; if (*(char *)(param_1 + 4) != '\0') { while (*(char *)(param_1 + 0x14) != '\0') { - piVar4 = (int *)FUN_00a8b7d0(param_1); + piVar4 = (int *)TheoraVideoManager::requestWork(param_1); *(int **)(param_1 + 0x18) = piVar4; if (piVar4 == (int *)0x0) { if ((*(char *)(param_1 + 4) == '\0') || (*(char *)(param_1 + 0x14) == '\0')) break; @@ -1095294,7 +1097360,7 @@ void FUN_00aadbf0(undefined4 param_1,undefined4 param_2) //@@ 00aadc80 AudioPacketQueue::destroyAllAudioPackets /* DB: ? theoraplayer: walks the list at this+8 freeing node->pcm (tracked new[]) and the 0xc-byte - node {pcm, count, next}; callers VideoClip teardown 00a8c7e0 and VideoClip_Theora::_executeSeek + node {pcm, count, next}; callers VideoClip teardown 00a8c7e0 theoraplayer::VideoClip_Theora::~VideoClip_Theora VideoClip_Theora::_executeSeek (audio_stream_seek) */ void AudioPacketQueue::destroyAllAudioPackets(void) @@ -1095603,9 +1097669,13 @@ void FUN_00aadf90(int param_1) } -//@@ 00aae060 FUN_00aae060 +//@@ 00aae060 gen_bitlen -void FUN_00aae060(void) +/* DB: zlib trees.c: only caller build_tree FUN_00aae270 (heap of HEAP_SIZE 573 = 0x23d at s+0xb54, + heap_len +0x1448, heap_max +0x144c); clears bl_count[16] (+0xb34), overflow fixup, opt_len + (+0x16a0) / static_len (+0x16a4) updates */ + +void gen_bitlen(void) { short *psVar1; @@ -1095726,11 +1097796,14 @@ void FUN_00aae060(void) } -//@@ 00aae270 FUN_00aae270 +//@@ 00aae270 build_tree /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: zlib trees.c: heap_len (+0x1448) = 0, heap_max (+0x144c) = HEAP_SIZE 573 (0x23d), depth[] + +0x1450, heap[] +0xb58; called 3 times from _tr_flush_block FUN_00aaeeb0; callees + pqdownheap/gen_bitlen */ -void FUN_00aae270(void) +void build_tree(void) { byte bVar1; @@ -1095834,7 +1097907,7 @@ LAB_00aae35d: } while (1 < iVar16); *(int *)(in_ECX + 0x144c) = *(int *)(in_ECX + 0x144c) + -1; *(undefined4 *)(in_ECX + 0xb54 + *(int *)(in_ECX + 0x144c) * 4) = *(undefined4 *)(in_ECX + 0xb58); - FUN_00aae060(); + gen_bitlen(); uVar12 = 0; psVar15 = (short *)(in_ECX + 0xb34); iVar16 = 1; @@ -1095947,9 +1098020,13 @@ void FUN_00aae510(int param_1) } -//@@ 00aae610 FUN_00aae610 +//@@ 00aae610 send_tree -void FUN_00aae610(int param_1) +/* DB: zlib trees.c: ECX=deflate_state (bi_buf +0x16b0, bi_valid +0x16b4, pending_buf +8, pending + +0x14, bl_tree at +0xa74), EDX=tree, arg max_code; max_count 138/7, min_count 3/4, REP_3_6/REPZ + codes; called twice from send_all_trees FUN_00aaeb30 */ + +void send_tree(int param_1) { char cVar1; @@ -1096159,9 +1098236,13 @@ LAB_00aae9c8: } -//@@ 00aaeb30 FUN_00aaeb30 +//@@ 00aaeb30 send_all_trees -void FUN_00aaeb30(int param_1,int param_2) +/* DB: zlib trees.c: send_bits(lcodes-257,5), send_bits(dcodes-1,5), send_bits(blcodes-4,4) on + bi_buf +0x16b0/bi_valid +0x16b4, then send_tree; only caller _tr_flush_block (00aaeeb0) passes + l_desc.max_code+1, d_desc.max_code+1 */ + +void send_all_trees(int param_1,int param_2) { int iVar1; @@ -1096262,8 +1098343,8 @@ void FUN_00aaeb30(int param_1,int param_2) iVar6 = iVar6 + 1; } while (iVar6 < param_2); } - FUN_00aae610(in_EDX + -1); - FUN_00aae610(param_1 + -1); + send_tree(in_EDX + -1); + send_tree(param_1 + -1); return; } @@ -1096320,9 +1098401,14 @@ void FUN_00aaeda0(int param_1,ushort param_2) } -//@@ 00aaeeb0 FUN_00aaeeb0 +//@@ 00aaeeb0 _tr_flush_block -void FUN_00aaeeb0(int param_1,int param_2) +/* DB: zlib trees.c: detect_data_type sum over dyn_ltree (+0x8c..), build_tree x2 (FUN_00aae270), + scan_tree, build_bl_tree with bl_order table, opt_len+3*(max_blindex+1)+5+5+4 -> + stored/static/dynamic choice, calls send_all_trees (00aaeb30); callers deflate_stored/fast/slow + */ + +void _tr_flush_block(int param_1,int param_2) { undefined2 uVar1; @@ -1096376,11 +1098462,11 @@ void FUN_00aaeeb0(int param_1,int param_2) (uint)*(ushort *)(in_ECX + 0xa4) + iVar8 + iVar13 <= (uint)*(ushort *)(in_ECX + 0x288) + iVar10 + iVar12 >> 2; } - FUN_00aae270(); - FUN_00aae270(); + build_tree(); + build_tree(); FUN_00aae510(*(undefined4 *)(in_ECX + 0xb14)); FUN_00aae510(*(undefined4 *)(in_ECX + 0xb20)); - FUN_00aae270(); + build_tree(); iVar10 = 0x12; pbVar6 = &DAT_00b4f760; do { @@ -1096430,7 +1098516,7 @@ void FUN_00aaeeb0(int param_1,int param_2) uVar7 = (ushort)(sVar2 + 2U) >> (0x10U - (char)uVar1 & 0x1f); } *(ushort *)(in_ECX + 0x16b0) = uVar7; - FUN_00aaf210(&DAT_00b4f210); + compress_block(&DAT_00b4f210); } else { if (iVar8 < 0xe) { @@ -1096450,8 +1098536,8 @@ void FUN_00aaeeb0(int param_1,int param_2) uVar7 = (ushort)(sVar2 + 4U) >> (0x10U - (char)uVar1 & 0x1f); } *(ushort *)(in_ECX + 0x16b0) = uVar7; - FUN_00aaeb30(*(int *)(in_ECX + 0xb20) + 1,iVar10 + 1); - FUN_00aaf210(in_ECX + 0x980); + send_all_trees(*(int *)(in_ECX + 0xb20) + 1,iVar10 + 1); + compress_block(in_ECX + 0x980); } } else { @@ -1096465,9 +1098551,13 @@ void FUN_00aaeeb0(int param_1,int param_2) } -//@@ 00aaf210 FUN_00aaf210 +//@@ 00aaf210 compress_block -void FUN_00aaf210(int param_1) +/* DB: zlib trees.c: emits l_buf(+0x1690)/d_buf(+0x169c) symbols using + bi_buf(+0x16b0)/bi_valid(+0x16b4), _length_code table DAT_00b4fa00; both callers inside + _tr_flush_block 00aaeeb0 _tr_flush_block + +void compress_block(int param_1) { byte bVar1; @@ -1096838,9 +1098928,13 @@ LAB_00aaf953: } -//@@ 00aaf9d0 FUN_00aaf9d0 +//@@ 00aaf9d0 inflate -int FUN_00aaf9d0(void) +/* DB: zlib 1.1.x inflate(): 14-mode state machine, 'incorrect header check','unknown compression + method','invalid window size','need dictionary','incorrect data check', calls inflate_blocks + (0xabd900); used by libpng png_read_row/png_handle_zTXt/0xab3120 */ + +int inflate(void) { byte bVar1; @@ -1096904,7 +1098998,7 @@ switchD_00aafa12_caseD_aafa7e: *puVar2 = 7; break; case (undefined *)0xaafad5: - iVar5 = FUN_00abd900(iVar5); + iVar5 = inflate_blocks(iVar5); if (iVar5 == -3) { *(undefined4 *)in_ECX[7] = 0xd; *(undefined4 *)(in_ECX[7] + 4) = 0; @@ -1097225,11 +1099319,13 @@ LAB_00ab0095: } -//@@ 00ab00b0 FUN_00ab00b0 +//@@ 00ab00b0 png_handle_IHDR /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libpng pngrutil.c: "Out of place IHDR", "Invalid IHDR chunk", width/height 0..0x7fffffff, bit + depth/color type/compression/filter/interlace checks, png_crc_read(13)/png_crc_finish */ -void FUN_00ab00b0(int param_1) +void png_handle_IHDR(int param_1) { int in_ECX; @@ -1097566,19 +1099662,20 @@ void FUN_00ab06d0(uint param_1) } -//@@ 00ab0830 KAGE_Graphics_ImageManager::apply_frame_images +//@@ 00ab0830 png_handle_cHRM -/* ZHL [prefix27/28] __thiscall void KAGE_Graphics_ImageManager::apply_frame_images(); - prototype: REPENTOGON, confirmed by RET 0 */ +/* DB: libpng: "Duplicate cHRM chunk", "Invalid cHRM white point", "wx=%f, wy=%f..."; called from + the chunk loops png_read_end (00a97100) and 00a96980 png_read_info a weak ZHL match + KAGE_Graphics_ImageManager::apply_frame_images) */ -void __thiscall KAGE_Graphics_ImageManager::apply_frame_images(KAGE_Graphics_ImageManager *this) +void __thiscall png_handle_cHRM(void *this) { - KAGE_Graphics_ImageManager KVar1; - undefined4 uVar2; - int iVar3; + uint uVar1; + code *pcVar2; + undefined4 uVar3; + int iVar4; int in_EDX; - float fVar4; float fVar5; float fVar6; float fVar7; @@ -1097586,120 +1099683,121 @@ void __thiscall KAGE_Graphics_ImageManager::apply_frame_images(KAGE_Graphics_Ima float fVar9; float fVar10; float fVar11; + float fVar12; int in_stack_00000004; undefined4 local_14; - KVar1 = this[0x18]; - if (((uint)KVar1 & 1) == 0) { + uVar1 = *(uint *)((int)this + 0x60); + if ((uVar1 & 1) == 0) { /* WARNING: Subroutine does not return */ FUN_00a64610(); } - if (((uint)KVar1 & 4) == 0) { - if (((uint)KVar1 & 2) == 0) { + if ((uVar1 & 4) == 0) { + if ((uVar1 & 2) == 0) { if ((in_EDX != 0) && ((*(uint *)(in_EDX + 8) & 0x804) == 4)) { FUN_00a64630(); png_crc_finish(); return; } } - else if (this[0x11] == (KAGE_Graphics_ImageManager)0x0) { + else if (*(code **)((int)this + 0x44) == (code *)0x0) { __acrt_iob_func(); FUN_008c5d50(); } else { - (*(code *)this[0x11])(this,"Missing PLTE before cHRM"); + (**(code **)((int)this + 0x44))(this,"Missing PLTE before cHRM"); } if (in_stack_00000004 == 0x20) { png_crc_read(); - iVar3 = (((local_14 & 0xff) * 0x100 + (local_14 >> 8 & 0xff)) * 0x100 + (uint)local_14._2_1_) + iVar4 = (((local_14 & 0xff) * 0x100 + (local_14 >> 8 & 0xff)) * 0x100 + (uint)local_14._2_1_) * 0x100 + (uint)local_14._3_1_; - fVar4 = (float)((double)iVar3 + __uint_to_double_fixup[-(iVar3 >> 0x1f)]) / 100000.0; + fVar5 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) / 100000.0; png_crc_read(); - iVar3 = (((local_14 & 0xff) * 0x100 + (local_14 >> 8 & 0xff)) * 0x100 + (uint)local_14._2_1_) + iVar4 = (((local_14 & 0xff) * 0x100 + (local_14 >> 8 & 0xff)) * 0x100 + (uint)local_14._2_1_) * 0x100 + (uint)local_14._3_1_; - fVar9 = (float)((double)iVar3 + __uint_to_double_fixup[-(iVar3 >> 0x1f)]) / 100000.0; - if ((((fVar4 < 0.0) || (0.8 < fVar4)) || (fVar9 < 0.0)) || - ((0.8 < fVar9 || (1.0 < fVar9 + fVar4)))) { - if (this[0x11] == (KAGE_Graphics_ImageManager)0x0) { + fVar10 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) / 100000.0; + if ((((fVar5 < 0.0) || (0.8 < fVar5)) || (fVar10 < 0.0)) || + ((0.8 < fVar10 || (1.0 < fVar10 + fVar5)))) { + if (*(code **)((int)this + 0x44) == (code *)0x0) { __acrt_iob_func(); FUN_008c5d50(); } else { - (*(code *)this[0x11])(this,"Invalid cHRM white point"); + (**(code **)((int)this + 0x44))(this,"Invalid cHRM white point"); } png_crc_finish(); } else { png_crc_read(); - iVar3 = FUN_00aafe40(); - fVar5 = (float)((double)iVar3 + __uint_to_double_fixup[-(iVar3 >> 0x1f)]) / 100000.0; + iVar4 = FUN_00aafe40(); + fVar6 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) / 100000.0; png_crc_read(); - iVar3 = FUN_00aafe40(); - fVar10 = (float)((double)iVar3 + __uint_to_double_fixup[-(iVar3 >> 0x1f)]) / 100000.0; - if (((fVar5 < 0.0) || (0.8 < fVar5)) || - ((fVar10 < 0.0 || ((0.8 < fVar10 || (1.0 < fVar10 + fVar5)))))) { + iVar4 = FUN_00aafe40(); + fVar11 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) / 100000.0; + if (((fVar6 < 0.0) || (0.8 < fVar6)) || + ((fVar11 < 0.0 || ((0.8 < fVar11 || (1.0 < fVar11 + fVar6)))))) { FUN_00a64630(); png_crc_finish(); return; } png_crc_read(); - iVar3 = FUN_00aafe40(); - fVar6 = (float)((double)iVar3 + __uint_to_double_fixup[-(iVar3 >> 0x1f)]) / 100000.0; + iVar4 = FUN_00aafe40(); + fVar7 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) / 100000.0; png_crc_read(); - iVar3 = FUN_00aafe40(); - fVar11 = (float)((double)iVar3 + __uint_to_double_fixup[-(iVar3 >> 0x1f)]) / 100000.0; - if ((((fVar6 < 0.0) || (0.8 < fVar6)) || (fVar11 < 0.0)) || - ((0.8 < fVar11 || (1.0 < fVar11 + fVar6)))) { + iVar4 = FUN_00aafe40(); + fVar12 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) / 100000.0; + if ((((fVar7 < 0.0) || (0.8 < fVar7)) || (fVar12 < 0.0)) || + ((0.8 < fVar12 || (1.0 < fVar12 + fVar7)))) { FUN_00a64630(); png_crc_finish(); return; } png_crc_read(); - iVar3 = FUN_00aafe40(); - fVar7 = (float)((double)iVar3 + __uint_to_double_fixup[-(iVar3 >> 0x1f)]) / 100000.0; + iVar4 = FUN_00aafe40(); + fVar8 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) / 100000.0; png_crc_read(); - iVar3 = FUN_00aafe40(); - fVar8 = (float)((double)iVar3 + __uint_to_double_fixup[-(iVar3 >> 0x1f)]) / 100000.0; - if (((fVar7 < 0.0) || (0.8 < fVar7)) || - ((fVar8 < 0.0 || ((0.8 < fVar8 || (1.0 < fVar8 + fVar7)))))) { + iVar4 = FUN_00aafe40(); + fVar9 = (float)((double)iVar4 + __uint_to_double_fixup[-(iVar4 >> 0x1f)]) / 100000.0; + if (((fVar8 < 0.0) || (0.8 < fVar8)) || + ((fVar9 < 0.0 || ((0.8 < fVar9 || (1.0 < fVar9 + fVar8)))))) { FUN_00a64630(); png_crc_finish(); return; } - iVar3 = png_crc_finish(); - if (iVar3 == 0) { + iVar4 = png_crc_finish(); + if (iVar4 == 0) { if ((*(uint *)(in_EDX + 8) & 0x800) == 0) { *(uint *)(in_EDX + 8) = *(uint *)(in_EDX + 8) | 4; - *(float *)(in_EDX + 0x80) = fVar4; - *(float *)(in_EDX + 0x84) = fVar9; - *(float *)(in_EDX + 0x88) = fVar5; - *(float *)(in_EDX + 0x8c) = fVar10; - *(float *)(in_EDX + 0x90) = fVar6; - *(float *)(in_EDX + 0x94) = fVar11; - *(float *)(in_EDX + 0x98) = fVar7; - *(float *)(in_EDX + 0x9c) = fVar8; + *(float *)(in_EDX + 0x80) = fVar5; + *(float *)(in_EDX + 0x84) = fVar10; + *(float *)(in_EDX + 0x88) = fVar6; + *(float *)(in_EDX + 0x8c) = fVar11; + *(float *)(in_EDX + 0x90) = fVar7; + *(float *)(in_EDX + 0x94) = fVar12; + *(float *)(in_EDX + 0x98) = fVar8; + *(float *)(in_EDX + 0x9c) = fVar9; return; } - if ((((0.001 < ABS(fVar4 - 0.3127)) || (0.001 < ABS(fVar9 - 0.329))) || - (0.001 < ABS(fVar5 - 0.64))) || - (((0.001 < ABS(fVar10 - 0.33) || (0.001 < ABS(fVar6 - 0.3))) || - ((0.001 < ABS(fVar11 - 0.6) || - ((0.001 < ABS(fVar7 - 0.15) || (0.001 < ABS(fVar8 - 0.06))))))))) { + if ((((0.001 < ABS(fVar5 - 0.3127)) || (0.001 < ABS(fVar10 - 0.329))) || + (0.001 < ABS(fVar6 - 0.64))) || + (((0.001 < ABS(fVar11 - 0.33) || (0.001 < ABS(fVar7 - 0.3))) || + ((0.001 < ABS(fVar12 - 0.6) || + ((0.001 < ABS(fVar8 - 0.15) || (0.001 < ABS(fVar9 - 0.06))))))))) { FUN_00a64630(); - uVar2 = __acrt_iob_func(2,"wx=%f, wy=%f, rx=%f, ry=%f\n",(double)fVar4,(double)fVar9, - (double)fVar5,(double)fVar10); - FUN_008c5d50(uVar2); - uVar2 = __acrt_iob_func(2,"gx=%f, gy=%f, bx=%f, by=%f\n",(double)fVar6,(double)fVar11, - (double)fVar7,(double)fVar8); - FUN_008c5d50(uVar2); + uVar3 = __acrt_iob_func(2,"wx=%f, wy=%f, rx=%f, ry=%f\n",(double)fVar5,(double)fVar10, + (double)fVar6,(double)fVar11); + FUN_008c5d50(uVar3); + uVar3 = __acrt_iob_func(2,"gx=%f, gy=%f, bx=%f, by=%f\n",(double)fVar7,(double)fVar12, + (double)fVar8,(double)fVar9); + FUN_008c5d50(uVar3); return; } } } return; } - KVar1 = this[0x11]; - if (KVar1 == (KAGE_Graphics_ImageManager)0x0) { + pcVar2 = *(code **)((int)this + 0x44); + if (pcVar2 == (code *)0x0) { __acrt_iob_func(); FUN_008c5d50(); png_crc_finish(); @@ -1097707,23 +1099805,28 @@ void __thiscall KAGE_Graphics_ImageManager::apply_frame_images(KAGE_Graphics_Ima } } else { - KVar1 = this[0x11]; - if (KVar1 == (KAGE_Graphics_ImageManager)0x0) { + pcVar2 = *(code **)((int)this + 0x44); + if (pcVar2 == (code *)0x0) { __acrt_iob_func(); FUN_008c5d50(); png_crc_finish(); return; } } - (*(code *)KVar1)(this); + (*pcVar2)(this); png_crc_finish(); return; } -//@@ 00ab0fc0 FUN_00ab0fc0 +//@@ 00ab0fc0 png_handle_sRGB -void FUN_00ab0fc0(int param_1) +/* DB: libpng pngrutil.c: strings "Missing IHDR before sRGB", "Invalid sRGB after IDAT", "Out of + place sRGB chunk", "Duplicate sRGB chunk", "Incorrect sRGB chunk length", "Unknown sRGB intent", + "Ignoring incorrect gAMA value when sRGB is also present"; png_crc_read/png_crc_finish; called + from the chunk dispatchers 00a96980/00a97100 png_read_end + +void png_handle_sRGB(int param_1) { float fVar1; @@ -1097811,11 +1099914,15 @@ void FUN_00ab0fc0(int param_1) } -//@@ 00ab1300 FUN_00ab1300 +//@@ 00ab1300 png_handle_tRNS /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libpng pngrutil.c: strings "Missing IHDR before tRNS", "Invalid tRNS after IDAT", "Duplicate + tRNS chunk", "Missing PLTE before tRNS", "Incorrect tRNS chunk length", "Zero length tRNS chunk", + "tRNS chunk not allowed with alpha channel"; palette (color_type 3) / gray / RGB cases, + png_crc_read/finish; called from the chunk dispatchers 00a96980/00a97100 png_read_end -void FUN_00ab1300(uint param_1) +void png_handle_tRNS(uint param_1) { char cVar1; @@ -1098201,9 +1100308,13 @@ void FUN_00ab1a50(int param_1) } -//@@ 00ab1bc0 FUN_00ab1bc0 +//@@ 00ab1bc0 png_handle_pCAL -void FUN_00ab1bc0(int param_1) +/* DB: libpng pngrutil.c: "Missing IHDR before pCAL", "Invalid pCAL after IDAT", "Duplicate pCAL + chunk", "Invalid pCAL data", "Unrecognized equation type for pCAL chunk"; callers png_read_info + and png_read_end */ + +void png_handle_pCAL(int param_1) { char cVar1; @@ -1098515,11 +1100626,13 @@ void FUN_00ab2040(int param_1) } -//@@ 00ab2140 FUN_00ab2140 +//@@ 00ab2140 png_handle_zTXt /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libpng pngrutil.c: 'Missing IHDR before zTXt', 'Zero length zTXt chunk', 'Unknown zTXt + compression type %d', png_crc_read/png_crc_finish */ -void FUN_00ab2140(int param_1) +void png_handle_zTXt(int param_1) { char cVar1; @@ -1098599,7 +1100712,7 @@ LAB_00ab2565: *(char **)(in_ECX + 0x70) = pcVar10; *(undefined4 *)(in_ECX + 0x7c) = *(undefined4 *)(in_ECX + 0xa8); while (pcVar10 != (char *)0x0) { - iVar4 = FUN_00aaf9d0(); + iVar4 = inflate(); if ((iVar4 != 0) && (iVar4 != 1)) { FUN_00a64630(); if ((in_ECX != -0x6c) && (puVar3 = *(uint **)(in_ECX + 0x88), puVar3 != (uint *)0x0)) { @@ -1098750,9 +1100863,13 @@ void FUN_00ab2580(void) } -//@@ 00ab2620 FUN_00ab2620 +//@@ 00ab2620 png_combine_row -void FUN_00ab2620(uint param_1) +/* DB: libpng pngrutil.c: only caller the row reader FUN_00a96cc0 with the pass display mask table + DAT_00b3db28[pass]; mask 0xff -> memcpy (row_info pixel_depth * width +7 >>3) from row_buf+1, + else per-pixel masked merge honoring PNG_PACKSWAP (transformations & 0x10000) */ + +void png_combine_row(uint param_1) { uint uVar1; @@ -1098896,11 +1101013,14 @@ void FUN_00ab2620(uint param_1) } -//@@ 00ab28f0 FUN_00ab28f0 +//@@ 00ab28f0 png_do_read_interlace /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libpng: (row_info ECX, row EDX, pass, transformations): expands a row by png_pass_inc[pass] + (table DAT_00b46840) with 1/2/4-bit paths honouring PNG_PACKSWAP (0x10000); called from + png_read_row (00a96cc0) */ -void FUN_00ab28f0(int param_1,uint param_2) +void png_do_read_interlace(int param_1,uint param_2) { byte bVar1; @@ -1099117,11 +1101237,13 @@ void FUN_00ab28f0(int param_1,uint param_2) } -//@@ 00ab2d80 FUN_00ab2d80 +//@@ 00ab2d80 png_read_filter_row /* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ +/* DB: libpng: switch on filter type 0 none/1 sub/2 up/3 avg/4 paeth over (row, prev_row) with + row_info bpp, default "Bad adaptive filter type"; from png_read_row 00a96cc0 png_read_row -void FUN_00ab2d80(byte *param_1,byte *param_2,int param_3) +void png_read_filter_row(byte *param_1,byte *param_2,int param_3) { byte *pbVar1; @@ -1099703,9 +1101825,14 @@ void FUN_00ab2d80(byte *param_1,byte *param_2,int param_3) } -//@@ 00ab3120 FUN_00ab3120 +//@@ 00ab3120 png_read_finish_row -void FUN_00ab3120(void) +/* DB: libpng 1.2 pngrutil.c: interlace pass advance, then drains IDAT ('Not enough image data', + 'Call to NULL read function' via inlined png_read_data, png_crc_read/png_crc_finish), 'Extra + compressed data', 'Decompression Error', 'Extra compression data'; called 7x from png_read_row + (FUN_00a96cc0) */ + +void png_read_finish_row(void) { byte *pbVar1; @@ -1099801,7 +1101928,7 @@ LAB_00ab32c5: png_crc_read(uVar3); *(int *)(in_ECX + 0x104) = *(int *)(in_ECX + 0x104) - *(int *)(in_ECX + 0x70); } - iVar6 = FUN_00aaf9d0(); + iVar6 = inflate(); if (iVar6 == 1) { if (((*(int *)(in_ECX + 0x7c) != 0) && (*(int *)(in_ECX + 0x70) == 0)) && (*(int *)(in_ECX + 0x104) == 0)) { @@ -1099834,9 +1101961,13 @@ LAB_00ab33b4: } -//@@ 00ab33f0 FUN_00ab33f0 +//@@ 00ab33f0 png_read_start_row -void FUN_00ab33f0(void) +/* DB: libpng 1.2: calls png_init_read_transformations, computes row buffer size, png_malloc ('Out + of Memory'); called from FUN_00a96cc0 (png_read_row) and the image loader FUN_00a64a50 when + PNG_FLAG_ROW_INIT (0x40) is unset */ + +void png_read_start_row(void) { char cVar1; @@ -1100127,9 +1102258,13 @@ undefined4 * FUN_00ab3810(int *param_1,int param_2,uint param_3) } -//@@ 00ab3900 FUN_00ab3900 +//@@ 00ab3900 alloc_sarray -int FUN_00ab3900(int *param_1,undefined4 param_2,uint param_3,uint param_4) +/* DB: libjpeg(-turbo) jmemmgr.c alloc_sarray (mem->pub +8 = 0xab3900 at 00a9d430): sample size by + data_precision (+0x48 / +0x0c0 > 8 ->2), MAX_ALLOC_CHUNK 1000000000 (JERR_WIDTH_OVERFLOW 0x38), + (1000000000-12)/rowsize rows per chunk, alloc_small for the pointer array */ + +int alloc_sarray(int *param_1,undefined4 param_2,uint param_3,uint param_4) { int iVar1; @@ -1100344,9 +1102479,14 @@ FUN_00ab3c60(int *param_1,int param_2,undefined1 param_3,undefined4 param_4,unde } -//@@ 00ab3cd0 FUN_00ab3cd0 +//@@ 00ab3cd0 realize_virt_arrays -void FUN_00ab3cd0(int *param_1) +/* DB: libjpeg jmemmgr.c: stored as mem->pub.realize_virt_arrays ([esi+0x18] at a9d44c in + jinit_memory_mgr, inside jpeg_CreateDecompress); walks virt_sarray_list/virt_barray_list + (mem+0x44/+0x48, next at +0x24) summing space (sample size 1 or 2 by data_precision), overflow -> + JERR_OUT_OF_MEMORY (0x38) code 10, then alloc_sarray/alloc_barray (00ab3900/00ab3b30) */ + +void realize_virt_arrays(int *param_1) { int iVar1; @@ -1100422,7 +1102562,7 @@ void FUN_00ab3cd0(int *param_1) else { piVar2[4] = iVar3; } - iVar3 = FUN_00ab3900(param_1,1,piVar2[2],iVar3); + iVar3 = alloc_sarray(param_1,1,piVar2[2],iVar3); *piVar2 = iVar3; piVar2[5] = *(int *)(iVar1 + 0x50); piVar2[6] = 0; @@ -1100847,9 +1102987,14 @@ void FUN_00ab4480(int param_1) } -//@@ 00ab45a0 FUN_00ab45a0 +//@@ 00ab45a0 initial_setup -void FUN_00ab45a0(void) +/* DB: libjpeg-turbo jcmaster.c (compressor): ECX=cinfo; image_height/width > JPEG_MAX_DIMENSION + 0xffdc -> JERR_IMAGE_TOO_BIG (0x2a), data_precision 8/12 (or 2..16 when lossless, master+9) -> + JERR_BAD_PRECISION (0x10), num_components > 10 -> JERR_COMPONENT_COUNT (0x1b), then per-component + sampling factors; called from jinit_c_master_control 00ab4b10 */ + +void initial_setup(void) { int *in_ECX; @@ -1101123,7 +1103268,7 @@ int FUN_00ab4b10(int *param_1) iVar2 = (**(code **)(param_1[0x69] + 4))(param_1); if (iVar2 == 1) { if (*(char *)(iVar1 + 0x14) != '\0') { - FUN_00ab45a0(); + initial_setup(); *(undefined1 *)(iVar1 + 0x14) = 0; return 1; } @@ -1102176,7 +1104321,7 @@ LAB_00ab5d35: jinit_upsampler(); } else if (in_ECX[0x30] == 8) { - libjpeg_jinit_upsampler(); + jinit_merged_upsampler(); } else { LAB_00ab5f00: @@ -1102224,7 +1104369,7 @@ LAB_00ab6010: puVar4 = (undefined4 *)(**(code **)in_ECX[1])(); in_ECX[0x6b] = (int)puVar4; local_c = 0; - *puVar4 = FUN_00acae00; + *puVar4 = jddctmgr_start_pass; if (0 < in_ECX[9]) { puVar8 = (undefined4 *)(in_ECX[0x31] + 0x54); puVar4 = puVar4 + 0x15; @@ -1102266,7 +1104411,7 @@ LAB_00ab6010: else { puVar4 = (undefined4 *)(**(code **)in_ECX[1])(); in_ECX[0x6a] = (int)puVar4; - *puVar4 = FUN_00ac1410; + *puVar4 = start_pass_phuff_decoder; puVar4[0xd] = 0; puVar4[0xe] = 0; puVar4[0xf] = 0; @@ -1102291,7 +1104436,7 @@ LAB_00ab6010: puVar8 = (undefined4 *)(**(code **)in_ECX[1])(); in_ECX[0x6a] = (int)puVar8; iVar6 = 0x10; - *puVar8 = FUN_00ac5840; + *puVar8 = start_pass_huff_decoder; puVar4 = puVar8 + 0x21; do { puVar4[-0x10] = 0; @@ -1102334,7 +1104479,7 @@ LAB_00ab6010: puVar4 = (undefined4 *)(**(code **)in_ECX[1])(); in_ECX[0x6a] = (int)puVar4; *puVar4 = FUN_00ac7390; - puVar4[2] = FUN_00ac7550; + puVar4[2] = decode_mcus; puVar4[3] = FUN_00ac74f0; puVar4[7] = 0; puVar4[8] = 0; @@ -1102346,7 +1104491,7 @@ LAB_00ab6010: (**(code **)*in_ECX)(); } if (in_ECX[0x30] < 9) { - jinit_d_coef_controller(); + jinit_d_diff_controller(); } } if (*(char *)((int)in_ECX + 0x41) == '\0') { @@ -1102459,11 +1104604,13 @@ void FUN_00ab6600(int param_1) } -//@@ 00ab6a80 FUN_00ab6a80 +//@@ 00ab6a80 I420ToRGBAMatrix + +/* DB: libyuv (round 7 agent) */ undefined4 -FUN_00ab6a80(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6, - undefined4 param_7,uint param_8,int param_9) +I420ToRGBAMatrix(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6, + undefined4 param_7,uint param_8,int param_9) { int iVar1; @@ -1102476,7 +1104623,7 @@ FUN_00ab6a80(int param_1,int param_2,int param_3,int param_4,int param_5,int par int local_c; code *local_8; - local_8 = FUN_00acd000; + local_8 = I422ToRGBARow_C; if (((((in_ECX == 0) || (param_1 == 0)) || (param_3 == 0)) || ((param_5 == 0 || ((int)param_8 < 1)))) || (param_9 == 0)) { return 0xffffffff; @@ -1102490,13 +1104637,13 @@ FUN_00ab6a80(int param_1,int param_2,int param_3,int param_4,int param_5,int par local_10 = param_6; } if (DAT_00c78da0 == 0) { - DAT_00c78da0 = FUN_00acdf70(); + DAT_00c78da0 = InitCpuFlags(); } if (((DAT_00c78da0 & 0x40) != 0) && (local_8 = FUN_00acd400, (param_8 & 7) == 0)) { local_8 = FUN_00acde90; } if (DAT_00c78da0 == 0) { - DAT_00c78da0 = FUN_00acdf70(); + DAT_00c78da0 = InitCpuFlags(); } if (((DAT_00c78da0 & 0x400) != 0) && (local_8 = FUN_00acd900, (param_8 & 0xf) == 0)) { local_8 = FUN_00acdbc0; @@ -1102543,7 +1104690,7 @@ FUN_00ab6bc0(int param_1,int param_2,int param_3,int param_4,int param_5,int par int local_c; code *local_8; - local_8 = FUN_00accdd0; + local_8 = I422ToRGB24Row_C; if (((((in_ECX == 0) || (param_1 == 0)) || (param_3 == 0)) || ((param_5 == 0 || ((int)param_8 < 1)))) || (param_9 == 0)) { return 0xffffffff; @@ -1102557,13 +1104704,13 @@ FUN_00ab6bc0(int param_1,int param_2,int param_3,int param_4,int param_5,int par local_10 = param_6; } if (DAT_00c78da0 == 0) { - DAT_00c78da0 = FUN_00acdf70(); + DAT_00c78da0 = InitCpuFlags(); } if (((DAT_00c78da0 & 0x40) != 0) && (local_8 = FUN_00acd540, (param_8 & 7) == 0)) { local_8 = FUN_00acdcb0; } if (DAT_00c78da0 == 0) { - DAT_00c78da0 = FUN_00acdf70(); + DAT_00c78da0 = InitCpuFlags(); } if (((DAT_00c78da0 & 0x400) != 0) && (local_8 = FUN_00acd680, (param_8 & 0xf) == 0)) { local_8 = FUN_00acd240; @@ -1102610,7 +1104757,7 @@ FUN_00ab6d00(int param_1,int param_2,int param_3,int param_4,int param_5,int par int local_c; code *local_8; - local_8 = FUN_00accb90; + local_8 = I422ToARGBRow_C; if (((((in_ECX == 0) || (param_1 == 0)) || (param_3 == 0)) || ((param_5 == 0 || ((int)param_8 < 1)))) || (param_9 == 0)) { return 0xffffffff; @@ -1102624,13 +1104771,13 @@ FUN_00ab6d00(int param_1,int param_2,int param_3,int param_4,int param_5,int par local_10 = param_6; } if (DAT_00c78da0 == 0) { - DAT_00c78da0 = FUN_00acdf70(); + DAT_00c78da0 = InitCpuFlags(); } if (((DAT_00c78da0 & 0x40) != 0) && (local_8 = FUN_00acd2c0, (param_8 & 7) == 0)) { local_8 = FUN_00acddb0; } if (DAT_00c78da0 == 0) { - DAT_00c78da0 = FUN_00acdf70(); + DAT_00c78da0 = InitCpuFlags(); } if (((DAT_00c78da0 & 0x400) != 0) && (local_8 = FUN_00acd7c0, (param_8 & 0xf) == 0)) { local_8 = FUN_00acdad0; @@ -1102876,9 +1105023,13 @@ LAB_00ab71f5: } -//@@ 00ab7220 FUN_00ab7220 +//@@ 00ab7220 vorbis_staticbook_unpack -uint * FUN_00ab7220(void) +/* DB: libvorbis codebook.c: checks sync 0x564342 ("BCV"), dim/entries ilog sum < 24, ordered/sparse + length lists, maptype 1/2 quantvals (_book_maptype1_quantvals 00ab8230); caller + _vorbis_unpack_books */ + +uint * vorbis_staticbook_unpack(void) { char cVar1; @@ -1103125,12 +1105276,16 @@ uint FUN_00ab75d0(void) } -//@@ 00ab7750 FUN_00ab7750 +//@@ 00ab7750 vorbis_book_decodevs_add /* WARNING: Function: __alloca_probe_16 replaced with injection: alloca_probe */ /* WARNING: Unable to track spacebase fully for stack */ +/* DB: libvorbis codebook.c: passed as the decode callback to _01inverse FUN_00ad0790 by + res0_inverse FUN_00ad0a20 (slot 7 of residue0_exportbundle 00b5f220); step = n/book->dim, + alloca'd entry/t arrays, decode_packed_entry_number inlined (bit-reverse swap, FUN_00ab7010 + oggpack_look) */ -undefined4 FUN_00ab7750(int *param_1,int param_2,undefined4 param_3,int param_4) +undefined4 vorbis_book_decodevs_add(int *param_1,int param_2,undefined4 param_3,int param_4) { uint uVar1; @@ -1103391,9 +1105546,13 @@ LAB_00ab7bc3: } -//@@ 00ab7c00 FUN_00ab7c00 +//@@ 00ab7c00 vorbis_book_decodev_set -undefined4 FUN_00ab7c00(undefined4 param_1,int param_2) +/* DB: libvorbis codebook.c: zero-fills n floats when book->used_entries (ECX[2]) < 1, else + decode_packed_entry_number (0xab7010) and copies valuelist[entry*dim]; only caller FUN_00ace450 + (floor0_inverse1) */ + +undefined4 vorbis_book_decodev_set(undefined4 param_1,int param_2) { uint uVar1; @@ -1103535,9 +1105694,13 @@ LAB_00ab7e2e: } -//@@ 00ab7e70 FUN_00ab7e70 +//@@ 00ab7e70 vorbis_book_decodevv_add -undefined4 FUN_00ab7e70(int param_1,int param_2,undefined4 param_3,int param_4) +/* DB: libvorbis codebook.c: (book, a**, offset, ch, opb, n) loop i=offset/ch .. (offset+n)/ch, + decode_packed_entry_number (0xab7010), skips when used_entries (ECX[2]) <= 0; only caller + 0xad11e0 = res2_inverse (slot 7 of residue2_exportbundle 0xb5f25c) */ + +undefined4 vorbis_book_decodevv_add(int param_1,int param_2,undefined4 param_3,int param_4) { int iVar1; @@ -1103783,9 +1105946,13 @@ int FUN_00ab8230(void) } -//@@ 00ab82e0 FUN_00ab82e0 +//@@ 00ab82e0 _book_unquantize -void * FUN_00ab82e0(int param_1) +/* DB: libvorbis sharedbook.c: _float32_unpack of q_min/q_delta (ldexp(mant, exp-788)), maptype 1 + via _book_maptype1_quantvals 00ab8230, maptype 2 list, optional sparsemap; caller + vorbis_book_init_decode */ + +void * _book_unquantize(int param_1) { uint uVar1; @@ -1104039,7 +1106206,7 @@ undefined4 vorbis_book_init_decode(void) free(*(void **)(auStack_2e + iVar15 + iVar9 + 0x2a)); *(undefined1 **)(auStack_2e + iVar15 + iVar9 + 0x2a) = auStack_2e + iVar15 + iVar9 + 0x2e; *(undefined4 *)(auStack_2e + iVar15 + iVar9 + 0x26) = 0xab87f9; - uVar3 = FUN_00ab82e0(); + uVar3 = _book_unquantize(); in_ECX[4] = uVar3; *(int *)(auStack_2e + iVar15 + iVar9 + 0x2a) = iVar7; *(undefined4 *)(auStack_2e + iVar15 + iVar9 + 0x26) = 0xab8808; @@ -1105957,9 +1108124,13 @@ void mdct_init(void) } -//@@ 00abae50 FUN_00abae50 +//@@ 00abae50 mdct_butterfly_32 -void FUN_00abae50(void) +/* DB: libvorbis mdct.c: 32-point butterfly with cPI2_8 0.70710677 constants, called twice back to + back at the end of mdct_butterflies (DB note on mdct_butterflies already calls it butterfly_32) + */ + +void mdct_butterfly_32(void) { float *in_ECX; @@ -1106228,8 +1108399,8 @@ void mdct_butterflies(int param_1) pfVar7[-0xf] = fVar12 + pfVar7[-0xf]; pfVar7[-0x1f] = fVar14 * 0.38268343 + fVar16 * 0.9238795; pfVar7[-0x1e] = fVar14 * 0.9238795 - fVar16 * 0.38268343; - FUN_00abae50(); - FUN_00abae50(); + mdct_butterfly_32(); + mdct_butterfly_32(); pfVar7 = (float *)(extraout_EDX + 0x80); iVar10 = iVar10 + -1; } while (iVar10 != 0); @@ -1106241,7 +1108412,7 @@ void mdct_butterflies(int param_1) //@@ 00abb750 mdct_bitreverse /* DB: libvorbis mdct.c: walks bitrev (+0xc) and trig (+8 + n*4) in groups of 4 with the 0.5 - butterflies; callers mdct_forward and 00abb900 (mdct_backward) */ + butterflies; callers mdct_forward and 00abb900 mdct_backward */ void mdct_bitreverse(void) @@ -1106313,9 +1108484,13 @@ void mdct_bitreverse(void) } -//@@ 00abb900 FUN_00abb900 +//@@ 00abb900 mdct_backward -void FUN_00abb900(int param_1) +/* DB: libvorbis mdct.c: only caller mapping0_inverse (the real one, FUN_00acf890, slot 4 of the + mapping0 export bundle 00b5e294); calls mdct_butterflies and mdct_bitreverse like mdct_forward + 00abbc60 mdct_forward + +void mdct_backward(int param_1) { float *pfVar1; @@ -1107792,9 +1109967,11 @@ void FUN_00abd870(int *param_1) } -//@@ 00abd900 FUN_00abd900 +//@@ 00abd900 inflate_blocks -void FUN_00abd900(uint param_1) +/* DB: zlib (round 7 agent) */ + +void inflate_blocks(uint param_1) { byte bVar1; @@ -1108120,7 +1110297,7 @@ LAB_00abe37d: param_1 = local_20; goto LAB_00abe242; } - local_20 = FUN_00ad42e0(0x13,0,0,local_c + 5,puStack_2c,uStack_38,&uStack_3c,uStack_30); + local_20 = huft_build(0x13,0,0,local_c + 5,puStack_2c,uStack_38,&uStack_3c,uStack_30); if (local_20 == 0xfffffffd) { local_8[6] = (int)"oversubscribed dynamic bit lengths tree"; (*(code *)local_8[9])(local_8[10],uStack_30); @@ -1108248,8 +1110425,8 @@ LAB_00abe42b: param_1 = uStack_28; goto LAB_00abe242; } - local_20 = FUN_00ad42e0(0x101,&DAT_00b5f728,&DAT_00b5f6a8,&uStack_40,&puStack_2c,uStack_38, - &uStack_34,iStack_24); + local_20 = huft_build(0x101,&DAT_00b5f728,&DAT_00b5f6a8,&uStack_40,&puStack_2c,uStack_38, + &uStack_34,iStack_24); if (local_20 == 0) { if (puStack_2c == (uint *)0x0) { LAB_00abe0f6: @@ -1108257,8 +1110434,8 @@ LAB_00abe0f6: local_8[6] = (int)"incomplete literal/length tree"; goto LAB_00abe10c; } - local_20 = FUN_00ad42e0(0,&DAT_00b5e3a8,&DAT_00b5f7a8,&uStack_44,&uStack_30,uStack_38, - &uStack_34,iStack_24); + local_20 = huft_build(0,&DAT_00b5e3a8,&DAT_00b5f7a8,&uStack_44,&uStack_30,uStack_38, + &uStack_34,iStack_24); if (local_20 != 0) { if (local_20 == 0xfffffffd) { local_8[6] = (int)"oversubscribed distance tree"; @@ -1109083,9 +1111260,13 @@ void FUN_00abef70(int *param_1) } -//@@ 00abef90 FUN_00abef90 +//@@ 00abef90 extrgb_h2v2_merged_upsample_internal -void FUN_00abef90(undefined1 *param_1,undefined4 *param_2) +/* DB: libjpeg-turbo jdmrgext.c (RGB_RED=0, pixel size 3): two Y rows to two output rows, writes + [0..2],[3..5] per pixel pair; called from two cases of the h2v2_merged_upsample dispatcher + (JCS_EXT_RGB and default JCS_RGB, ICF) */ + +void extrgb_h2v2_merged_upsample_internal(undefined1 *param_1,undefined4 *param_2) { byte bVar1; @@ -1109171,9 +1111352,14 @@ void FUN_00abef90(undefined1 *param_1,undefined4 *param_2) } -//@@ 00abf1a0 FUN_00abf1a0 +//@@ 00abf1a0 extrgbx_h2v2_merged_upsample_internal -void FUN_00abf1a0(undefined1 *param_1,undefined4 *param_2) +/* DB: libjpeg-turbo jdmrgext.c instance writing 4-byte R,G,B,0xff pixels: ECX=cinfo (upsample + +0x1b0 Cr_r/Cb_b/Cr_g/Cb_g tables +0x18..+0x24, range_limit +0x124, output_width +0x5c), + EDX=input_buf (two Y rows per call = h2v2); called from the out_color_space dispatcher at ac0754 + */ + +void extrgbx_h2v2_merged_upsample_internal(undefined1 *param_1,undefined4 *param_2) { byte bVar1; @@ -1109265,9 +1111451,13 @@ void FUN_00abf1a0(undefined1 *param_1,undefined4 *param_2) } -//@@ 00abf3c0 FUN_00abf3c0 +//@@ 00abf3c0 h2v2_merged_upsample -void FUN_00abf3c0(undefined1 *param_1,undefined4 *param_2) +/* DB: libjpeg jdmerge.c: cinfo->upsample (+0x1b0) Cr_r/Cb_b/Cr_g/Cb_g tables at +0x18..+0x24, + sample_range_limit (+0x124), two Y rows -> two output rows, output_width (+0x5c)/2 pairs; only + caller FUN_00abfd50 (merged_2v_upsample) */ + +void h2v2_merged_upsample(undefined1 *param_1,undefined4 *param_2) { byte bVar1; @@ -1109353,9 +1111543,13 @@ void FUN_00abf3c0(undefined1 *param_1,undefined4 *param_2) } -//@@ 00abf5d0 FUN_00abf5d0 +//@@ 00abf5d0 libjpeg_h2v2_merged_upsample -void FUN_00abf5d0(undefined1 *param_1,undefined4 *param_2) +/* DB: libjpeg jdmerge.c h2v2_merged_upsample: upsample tables Cr_r/Cb_b/Cr_g/Cb_g at + upsample+0x18..0x24, two luma rows input_buf[0][2*ctr], [2*ctr+1], chroma rows [1]/[2][ctr], + output_width>>1 pixel pairs into output_buf[0]/[1] through range_limit */ + +void libjpeg_h2v2_merged_upsample(undefined1 *param_1,undefined4 *param_2) { byte bVar1; @@ -1109447,9 +1111641,13 @@ void FUN_00abf5d0(undefined1 *param_1,undefined4 *param_2) } -//@@ 00abf7f0 FUN_00abf7f0 +//@@ 00abf7f0 extxbgr_h2v2_merged_upsample_internal -void FUN_00abf7f0(undefined1 *param_1,undefined4 *param_2) +/* DB: libjpeg-turbo jdmrgext.c: called only from the h2v2_merged_upsample color-space switch at + LAB_00ac0720 (set by jinit_merged_upsampler 00ac1280 jinit_merged_upsampler max_v_samp_factor 2); two luma rows, + writes 0xff then B,G,R... (byte 3 = y + Cr_r), i.e. XBGR/ABGR */ + +void extxbgr_h2v2_merged_upsample_internal(undefined1 *param_1,undefined4 *param_2) { byte bVar1; @@ -1109541,9 +1111739,12 @@ void FUN_00abf7f0(undefined1 *param_1,undefined4 *param_2) } -//@@ 00abfa10 FUN_00abfa10 +//@@ 00abfa10 extxrgb_h2v2_merged_upsample_internal -void FUN_00abfa10(undefined1 *param_1,undefined4 *param_2) +/* DB: libjpeg-turbo jdmrgext.c (alpha 0xff at [0], RGB at [1..3], pixel size 4): XRGB/ARGB case of + the h2v2_merged_upsample dispatcher (00ac07a0) */ + +void extxrgb_h2v2_merged_upsample_internal(undefined1 *param_1,undefined4 *param_2) { byte bVar1; @@ -1110171,9 +1112372,13 @@ void FUN_00ac07f0(byte *param_1,ushort *param_2) } -//@@ 00ac09b0 FUN_00ac09b0 +//@@ 00ac09b0 h2v1_merged_upsample_565D_le -void FUN_00ac09b0(byte *param_1,ushort *param_2) +/* DB: libjpeg-turbo jdmrg565.c: single Y row (h2v1), RGB565 packing with dither_matrix + (DAT_00b5df94 indexed by output_scanline&3); only caller the h2v1_merged_upsample_565D wrapper + 00ac1220 */ + +void h2v1_merged_upsample_565D_le(byte *param_1,ushort *param_2) { byte bVar1; @@ -1110260,9 +1112465,12 @@ void FUN_00ac09b0(byte *param_1,ushort *param_2) } -//@@ 00ac0bf0 FUN_00ac0bf0 +//@@ 00ac0bf0 h2v2_merged_upsample_565_le -void FUN_00ac0bf0(byte *param_1,int *param_2) +/* DB: libjpeg-turbo jdmrg565.c: two Y rows / two output rows (h2v2), RGB565 packing without dither; + only caller the h2v2_merged_upsample_565 wrapper 00ac1240 */ + +void h2v2_merged_upsample_565_le(byte *param_1,int *param_2) { byte bVar1; @@ -1110355,9 +1112563,14 @@ void FUN_00ac0bf0(byte *param_1,int *param_2) } -//@@ 00ac0e80 FUN_00ac0e80 +//@@ 00ac0e80 h2v2_merged_upsample_565D_le -void FUN_00ac0e80(byte *param_1,undefined4 *param_2) +/* DB: ? libjpeg-turbo jdmrg565.c: ECX=cinfo (upsample +0x1b0 Cr_r/Cb_b/Cr_g/Cb_g tabs +0x18..+0x24, + range_limit +0x124, output_width +0x5c), EDX=input_buf; two output rows of ushort (RGB565) from 2 + Y rows and 1 Cb/Cr row, dither_matrix DAT_00b5df94[output_scanline (+0x78) & 3]; called from + 00ac1260 (h2v2 merged upsample wrapper) */ + +void h2v2_merged_upsample_565D_le(byte *param_1,undefined4 *param_2) { byte bVar1; @@ -1110485,7 +1112698,7 @@ void FUN_00ac1200(undefined4 param_1,undefined4 param_2,undefined4 param_3,undef void FUN_00ac1220(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4) { - FUN_00ac09b0(param_3,param_4); + h2v1_merged_upsample_565D_le(param_3,param_4); return; } @@ -1110495,7 +1112708,7 @@ void FUN_00ac1220(undefined4 param_1,undefined4 param_2,undefined4 param_3,undef void FUN_00ac1240(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4) { - FUN_00ac0bf0(param_3,param_4); + h2v2_merged_upsample_565_le(param_3,param_4); return; } @@ -1110505,18 +1112718,17 @@ void FUN_00ac1240(undefined4 param_1,undefined4 param_2,undefined4 param_3,undef void FUN_00ac1260(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4) { - FUN_00ac0e80(param_3,param_4); + h2v2_merged_upsample_565D_le(param_3,param_4); return; } -//@@ 00ac1280 libjpeg_jinit_upsampler +//@@ 00ac1280 jinit_merged_upsampler -/* DB: ? libjpeg: requires data_precision 8 (error 0x10), allocates the upsampler into - cinfo->upsample (this[0x6c]) with start_pass FUN_00abfc30 and need_context_rows = FALSE, then - per-component method selection; only caller libjpeg_jinit_master_decompress */ +/* DB: libjpeg: sets h2v1/h2v2_merged_upsample; the real jinit_upsampler is 00ab5200 jinit_upsampler + libjpeg_jinit_upsampler) */ -void libjpeg_jinit_upsampler(void) +void jinit_merged_upsampler(void) { int iVar1; @@ -1110596,9 +1112808,13 @@ void libjpeg_jinit_upsampler(void) } -//@@ 00ac1410 FUN_00ac1410 +//@@ 00ac1410 start_pass_phuff_decoder -void FUN_00ac1410(int *param_1) +/* DB: libjpeg-turbo jdphuff.c: stored as entropy->pub.start_pass ([eax] at ab625c); progressive + validation of Ss/Se/Ah/Al (+0x170..+0x17c: Se63, comps_in_scan!=1, Al>13) -> + JERR_BAD_PROGRESSION (0x11), then jpeg_make_d_derived_tbl (00ac2430) per component */ + +void start_pass_phuff_decoder(int *param_1) { int iVar1; @@ -1110695,13 +1112911,13 @@ void FUN_00ac1410(int *param_1) } while ((int)local_c < param_1[0x4a]); } if (param_1[0x5e] == 0) { - pcVar7 = FUN_00ac1750; + pcVar7 = decode_mcu_DC_first; if (iVar2 != 0) { - pcVar7 = FUN_00ac19c0; + pcVar7 = decode_mcu_AC_first; } } else { - pcVar7 = FUN_00ac1cf0; + pcVar7 = decode_mcu_AC_refine; if (iVar2 == 0) { pcVar7 = FUN_00ac1c00; } @@ -1110715,12 +1112931,12 @@ void FUN_00ac1410(int *param_1) if (iVar2 == 0) { if (param_1[0x5e] == 0) { iVar3 = *(int *)(*piVar9 + 0x14); - FUN_00ac2430(iVar3,iVar1 + (iVar3 + 0xd) * 4); + jpeg_make_d_derived_tbl(iVar3,iVar1 + (iVar3 + 0xd) * 4); } } else { iVar3 = *(int *)(*piVar9 + 0x18); - FUN_00ac2430(iVar3,iVar1 + (iVar3 + 0xd) * 4); + jpeg_make_d_derived_tbl(iVar3,iVar1 + (iVar3 + 0xd) * 4); *(undefined4 *)(iVar1 + 0x44) = *(undefined4 *)(iVar1 + 0x34 + iVar3 * 4); } *local_c = 0; @@ -1110777,11 +1112993,15 @@ undefined4 FUN_00ac16c0(void) } -//@@ 00ac1750 FUN_00ac1750 +//@@ 00ac1750 decode_mcu_DC_first /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg jdphuff.c: start_pass_phuff_decoder FUN_00ac1410 picks it (mov eax,0xac1750) for Ah + == 0 and DC band (alternatives ac19c0/ac1c00/ac1cf0); process_restart FUN_00ac16c0 when + restarts_to_go hits 0, per block DC huffman decode with jpeg_fill_bit_buffer FUN_00ac2780 / + jpeg_huff_decode FUN_00ac28a0 */ -undefined4 FUN_00ac1750(int *param_1,int param_2) +undefined4 decode_mcu_DC_first(int *param_1,int param_2) { int iVar1; @@ -1110909,9 +1113129,12 @@ LAB_00ac190a: } -//@@ 00ac19c0 FUN_00ac19c0 +//@@ 00ac19c0 decode_mcu_AC_first -undefined4 FUN_00ac19c0(int param_1,int *param_2) +/* DB: libjpeg progressive Huffman start_pass (00ac15e8): Ah==0 && AC band -> 0x00ac19c0 (Ah==0 && + DC -> 00ac1750 decode_mcu_DC_first */ + +undefined4 decode_mcu_AC_first(int param_1,int *param_2) { int iVar1; @@ -1111095,11 +1113318,13 @@ LAB_00ac1cb2: } -//@@ 00ac1cf0 FUN_00ac1cf0 +//@@ 00ac1cf0 decode_mcu_AC_refine /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg progressive Huffman start_pass (00ac15db): Ah!=0 && AC band -> 0x00ac1cf0 stored to + entropy->pub.decode_mcu (Ah!=0 && DC -> 00ac1c00 DC_refine); largest of the four (1221 bytes) */ -undefined4 FUN_00ac1cf0(int *param_1,int *param_2) +undefined4 decode_mcu_AC_refine(int *param_1,int *param_2) { short *psVar1; @@ -1111474,8 +1113699,8 @@ void FUN_00ac22c0(int *param_1) do { iVar3 = *(int *)(*local_8 + 0x14); iVar4 = *(int *)(*local_8 + 0x18); - FUN_00ac2430(iVar3,iVar2 + 0x30 + iVar3 * 4); - FUN_00ac2430(iVar4,iVar2 + 0x40 + iVar4 * 4); + jpeg_make_d_derived_tbl(iVar3,iVar2 + 0x30 + iVar3 * 4); + jpeg_make_d_derived_tbl(iVar4,iVar2 + 0x40 + iVar4 * 4); param_1 = (int *)((int)param_1 + 1); local_8 = local_8 + 1; *local_c = 0; @@ -1111512,11 +1113737,15 @@ void FUN_00ac22c0(int *param_1) } -//@@ 00ac2430 FUN_00ac2430 +//@@ 00ac2430 jpeg_make_d_derived_tbl /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg jdhuff.c: (cinfo ECX, isDC DL, tblno, pdtbl): tblno outside 0..3 or missing + dc/ac_huff_tbl_ptrs (cinfo+0xa0/+0xb0) -> JERR_NO_HUFF_TABLE (0x34); builds + huffsize[257]/huffcode[257] and lookup tables (memset); 5 call sites from the huffman decoder + start_pass functions */ -void FUN_00ac2430(int param_1,int *param_2) +void jpeg_make_d_derived_tbl(int param_1,int *param_2) { uint uVar1; @@ -1111803,11 +1114032,14 @@ uint FUN_00ac28a0(int param_1,int param_2,int param_3) } -//@@ 00ac2980 FUN_00ac2980 +//@@ 00ac2980 decode_mcu_fast /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg-turbo jdhuff.c: only caller decode_mcu 00ac3450 (installed at ab6353 as + pub.decode_mcu) whose slow path is decode_mcu_slow 00ac2da0; fastcall cinfo/MCU_data, bit buffer + from entropy +0x14/+0x18 */ -undefined4 FUN_00ac2980(void) +undefined4 decode_mcu_fast(void) { int iVar1; @@ -1112436,7 +1114668,7 @@ undefined4 FUN_00ac3450(int param_1) } if ((*(char *)(iVar2 + 0x10) == '\0') && (((!bVar3 || (cVar4 = decode_mcu_slow(), cVar4 == '\0')) && - (cVar4 = FUN_00ac2980(), cVar4 == '\0')))) { + (cVar4 = decode_mcu_fast(), cVar4 == '\0')))) { return 0; } if (*(int *)(param_1 + 0xfc) != 0) { @@ -1112485,9 +1114717,13 @@ void FUN_00ac3540(int param_1,int param_2,undefined4 param_3,int param_4) } -//@@ 00ac35e0 FUN_00ac35e0 +//@@ 00ac35e0 libjpeg_update_box -void FUN_00ac35e0(void) +/* DB: libjpeg jquant2.c update_box: shrinks c0/c1/c2 min/max of a box by scanning histogram + (cquantize+0x1c, 32 c2 cells x UINT16) for non-zero cells; 3 calls from median_cut (FUN_00ac39d0, + b1+b2) and select_colors (FUN_00ac3bb0) */ + +void libjpeg_update_box(void) { short sVar1; @@ -1112809,8 +1115045,8 @@ LAB_00ac3b4a: piVar3[1] = iVar6; local_8[-3] = iVar6 + 1; } - FUN_00ac35e0(); - FUN_00ac35e0(); + libjpeg_update_box(); + libjpeg_update_box(); local_14 = local_14 + 1; local_1c = local_1c + 2; local_8 = local_8 + 8; @@ -1112821,9 +1115057,13 @@ LAB_00ac3b4a: } -//@@ 00ac3bb0 FUN_00ac3bb0 +//@@ 00ac3bb0 select_colors -void FUN_00ac3bb0(void) +/* DB: libjpeg(-turbo) jquant2.c: alloc_small boxlist, box[0] = c0 0..31, c1 0..63, c2 0..31, + update_box (FUN_00ac35e0), median_cut (FUN_00ac39d0), compute_color per box; from finish_pass1 + FUN_00ac4950 */ + +void select_colors(void) { int iVar1; @@ -1112856,7 +1115096,7 @@ void FUN_00ac3bb0(void) puVar2[3] = 0x3f; puVar2[4] = 0; puVar2[5] = 0x1f; - FUN_00ac35e0(); + libjpeg_update_box(); iVar3 = FUN_00ac39d0(extraout_ECX); local_c = 0; if (0 < iVar3) { @@ -1112926,11 +1115166,16 @@ void FUN_00ac3bb0(void) } -//@@ 00ac3dc0 FUN_00ac3dc0 +//@@ 00ac3dc0 find_nearby_colors /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg jquant2.c: ECX=cinfo (actual_number_of_colors +0x70, colormap +0x74), (minc0 EDX, + minc1, minc2, colorlist): per colormap entry computes min/max distance with the c0/c1/c2 scale + tables (DAT_00b5dfa4 indexed by rgb_red/green/blue[out_color_space]), mindist[256] local, keeps + colors within minmaxdist, returns ncolors; callers are the two fill_inverse_cmap users + 00ac42c0/00ac43f0 pass2_no_dither -int FUN_00ac3dc0(int param_1,int param_2,int param_3) +int find_nearby_colors(int param_1,int param_2,int param_3) { int iVar1; @@ -1113062,11 +1115307,15 @@ LAB_00ac3fae: } -//@@ 00ac4060 FUN_00ac4060 +//@@ 00ac4060 find_best_colors /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg jquant2.c: (minc0, minc1, minc2, numcolors, colorlist, bestcolor) via ECX cinfo: + inits 128 bestdist to 0x7fffffff, per candidate color incremental distance over the 4x8x4 box + with c0/c1/c2 scale tables; called by fill_inverse_cmap FUN_00ac42c0 after find_nearby_colors + FUN_00ac3dc0 */ -void FUN_00ac4060(int param_1,int param_2,int param_3,int param_4,byte *param_5) +void find_best_colors(int param_1,int param_2,int param_3,int param_4,byte *param_5) { byte bVar1; @@ -1113184,8 +1115433,8 @@ void FUN_00ac42c0(int param_1,int param_2) iVar7 = *(int *)(*(int *)(in_ECX + 0x1b8) + 0x1c); iVar6 = (param_2 >> 2) * 0x20 + 4; iVar8 = (param_1 >> 3) * 0x20 + 2; - uVar2 = FUN_00ac3dc0(iVar8,iVar6,local_188); - FUN_00ac4060(iVar8,iVar6,uVar2,local_188,local_88); + uVar2 = find_nearby_colors(iVar8,iVar6,local_188); + find_best_colors(iVar8,iVar6,uVar2,local_188,local_88); pbVar3 = local_88; piVar5 = (int *)((in_EDX >> 2) * 0x10 + iVar7); local_18c = 4; @@ -1113210,11 +1115459,14 @@ void FUN_00ac42c0(int param_1,int param_2) } -//@@ 00ac43f0 FUN_00ac43f0 +//@@ 00ac43f0 pass2_no_dither /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg jquant2.c: start_pass_2_quant (00ac49c2) installs 0xac4600 when + dither_mode==JDITHER_FS else 0xac43f0; 5/6/5-bit histogram lookup, fill_inverse_cmap via + find_nearby_colors/find_best_colors (00ac3dc0/00ac4060) on empty cells */ -void FUN_00ac43f0(int param_1,int param_2,int *param_3,int param_4) +void pass2_no_dither(int param_1,int param_2,int *param_3,int param_4) { byte *pbVar1; @@ -1113263,8 +1115515,8 @@ void FUN_00ac43f0(int param_1,int param_2,int *param_3,int param_4) iVar15 = *(int *)(*(int *)(param_1 + 0x1b8) + 0x1c); iVar14 = iVar11 * 0x20 + 4; iVar18 = iVar17 * 0x20 + 2; - uVar9 = FUN_00ac3dc0(iVar18,iVar14,local_188); - FUN_00ac4060(iVar18,iVar14,uVar9,local_188,local_88); + uVar9 = find_nearby_colors(iVar18,iVar14,local_188); + find_best_colors(iVar18,iVar14,uVar9,local_188,local_88); pbVar10 = local_88; piVar13 = (int *)(((int)(uint)(bVar4 >> 3) >> 2) * 0x10 + iVar15); local_18c = 4; @@ -1113298,9 +1115550,14 @@ void FUN_00ac43f0(int param_1,int param_2,int *param_3,int param_4) } -//@@ 00ac4600 FUN_00ac4600 +//@@ 00ac4600 pass2_fs_dither -void FUN_00ac4600(int param_1,int param_2,int *param_3,int param_4) +/* DB: libjpeg jquant2.c: start_pass_2_quant FUN_00ac4980 sets color_quantize = this when + dither_mode (cinfo +0x4c) != 0 else pass2_no_dither FUN_00ac43f0; serpentine rows (dir +-1), + fserrors at cquantize +0x24, error_limiter +0x2c, histogram +0x1c, fill_inverse_cmap FUN_00ac42c0 + on empty cells */ + +void pass2_fs_dither(int param_1,int param_2,int *param_3,int param_4) { ushort *puVar1; @@ -1113493,7 +1115750,7 @@ void FUN_00ac4950(int param_1) iVar1 = *(int *)(param_1 + 0x1b8); *(undefined4 *)(param_1 + 0x74) = *(undefined4 *)(iVar1 + 0x14); - FUN_00ac3bb0(); + select_colors(); *(undefined1 *)(iVar1 + 0x20) = 1; return; } @@ -1113523,9 +1115780,9 @@ void FUN_00ac4980(int *param_1,char param_2) *(undefined1 *)(iVar1 + 0x20) = 1; goto LAB_00ac4a68; } - pcVar3 = FUN_00ac4600; + pcVar3 = pass2_fs_dither; if (iVar4 == 0) { - pcVar3 = FUN_00ac43f0; + pcVar3 = pass2_no_dither; } *(code **)(iVar1 + 4) = pcVar3; *(code **)(iVar1 + 0xc) = guard_check_icall; @@ -1114097,9 +1116354,13 @@ LAB_00ac54ae: } -//@@ 00ac54f0 FUN_00ac54f0 +//@@ 00ac54f0 libjpeg_arith_decode_mcu -undefined4 FUN_00ac54f0(int *param_1,int param_2) +/* DB: libjpeg jdarith.c decode_mcu (sequential): restart handling (FUN_00ac4e00 process_restart), + DC diff via arith_decode (FUN_00ac4c20) with dc_stats/last_dc_val, AC loop; installed by + start_pass (FUN_00ac5840, mov eax,0xac54f0) in the non-progressive branch */ + +undefined4 libjpeg_arith_decode_mcu(int *param_1,int param_2) { int iVar1; @@ -1114239,9 +1116500,13 @@ LAB_00ac581b: } -//@@ 00ac5840 FUN_00ac5840 +//@@ 00ac5840 start_pass_huff_decoder -void FUN_00ac5840(int *param_1) +/* DB: libjpeg jdhuff.c (progressive+sequential merged): stored as entropy->pub.start_pass (mov + [eax],0xac5840 at 0xab61c4); checks Ss/Se(0x3f)/Ah/Al (Al>13 -> JERR_BAD_PROGRESSION 0x11), + WARNMS JWRN_NOT_SEQUENTIAL when !progressive_mode(+0xc9), picks decode_mcu */ + +void start_pass_huff_decoder(int *param_1) { int iVar1; @@ -1114266,7 +1116531,7 @@ void FUN_00ac5840(int *param_1) *(undefined4 *)(*param_1 + 0x14) = 0x7d; (**(code **)(*param_1 + 4))(param_1,0xffffffff); } - pcVar5 = FUN_00ac54f0; + pcVar5 = libjpeg_arith_decode_mcu; goto LAB_00ac5a66; } iVar4 = param_1[0x5d]; @@ -1114462,7 +1116727,7 @@ void FUN_00ac5c60(int param_1) if (*(char *)(param_1 + 0x49) != '\0') { cVar2 = FUN_00ac6300(); if (cVar2 != '\0') { - *(code **)(iVar1 + 0xc) = FUN_00ac64c0; + *(code **)(iVar1 + 0xc) = decompress_smooth_data; *(undefined4 *)(param_1 + 0x88) = 0; return; } @@ -1114474,9 +1116739,13 @@ void FUN_00ac5c60(int param_1) } -//@@ 00ac5cb0 FUN_00ac5cb0 +//@@ 00ac5cb0 decompress_onepass -undefined4 FUN_00ac5cb0(int param_1,int param_2) +/* DB: libjpeg(-turbo) jdcoefct.c: coef = cinfo+0x198, memsets MCU_buffer (blocks_in_MCU*128), + entropy->decode_mcu (+0x1a8 vfunc +4) with insufficient_data (+0x10) check, suspends with + MCU_vert_offset/MCU_ctr (+0x2c/+0x28); stored by start_input_pass (00ac7353) */ + +undefined4 decompress_onepass(int param_1,int param_2) { int iVar1; @@ -1114591,11 +1116860,14 @@ undefined4 FUN_00ac5cb0(int param_1,int param_2) } -//@@ 00ac5f20 FUN_00ac5f20 +//@@ 00ac5f20 consume_data /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg jdcoefct.c: set as coef->pub.consume_data (_Dst[1]) by + libjpeg_jinit_d_coef_controller when need_full_buffer (decompress_data FUN_00ac6150 in [3]); else + the dummy consume (ICF'd Weapon::GetFocusEntity) */ -undefined4 FUN_00ac5f20(int param_1) +undefined4 consume_data(int param_1) { int iVar1; @@ -1114863,9 +1117135,13 @@ LAB_00ac64a8: } -//@@ 00ac64c0 FUN_00ac64c0 +//@@ 00ac64c0 decompress_smooth_data -int FUN_00ac64c0(int param_1,int param_2) +/* DB: libjpeg jdcoefct.c: stored as coef->pub.decompress_data ([edi+0xc]) in + jinit_d_coef_controller region (ac5c85), block-smoothing using coef_bits_latch -1 tests and 5x5 + neighbour DC; neighbours libjpeg functions */ + +int decompress_smooth_data(int param_1,int param_2) { int iVar1; @@ -1115449,7 +1117725,7 @@ void libjpeg_jinit_d_coef_controller(void) _Dst[0x15] = iVar2 + 0x400; _Dst[0x11] = iVar2 + 0x200; _Dst[0x16] = iVar2 + 0x480; - pcVar4 = FUN_00ac5cb0; + pcVar4 = decompress_onepass; puVar3 = (undefined4 *)0x0; pcVar5 = Weapon::GetFocusEntity; } @@ -1115466,7 +1117742,7 @@ void libjpeg_jinit_d_coef_controller(void) } puVar3 = _Dst + 0x18; pcVar4 = FUN_00ac6150; - pcVar5 = FUN_00ac5f20; + pcVar5 = consume_data; } _Dst[1] = pcVar5; _Dst[3] = pcVar4; @@ -1115505,7 +1117781,7 @@ void FUN_00ac7390(int *param_1) *(uint *)(*param_1 + 0x18) = uVar2; (**(code **)*param_1)(param_1); } - FUN_00ac2430(uVar2,iVar1 + 0x1c + uVar2 * 4); + jpeg_make_d_derived_tbl(uVar2,iVar1 + 0x1c + uVar2 * 4); local_c = local_c + 1; piVar6 = piVar6 + 1; } while (local_c < param_1[0x4a]); @@ -1115573,9 +1117849,14 @@ undefined1 FUN_00ac74f0(int param_1) } -//@@ 00ac7550 FUN_00ac7550 +//@@ 00ac7550 decode_mcus -uint FUN_00ac7550(int param_1,int param_2,int param_3,int param_4,uint param_5) +/* DB: libjpeg-turbo jdlhuff.c (lossless): stored as entropy->decode_mcus (puVar[2]) next to + start_pass/process_restart in the inlined jinit_lhuff_decoder of libjpeg_jinit_master_decompress + (lossless branch, arith -> JERR 0x31); (cinfo, diff_buf, MCU_row_num, MCU_col_num, nMCU) huffman + difference decoding, 0x10 -> 32768 */ + +uint decode_mcus(int param_1,int param_2,int param_3,int param_4,uint param_5) { int iVar1; @@ -1116651,9 +1118932,13 @@ void FUN_00ac86a0(int param_1,int *param_2,int param_3,int *param_4,int param_5) } -//@@ 00ac8ca0 FUN_00ac8ca0 +//@@ 00ac8ca0 ycc_rgb565_convert_le -void FUN_00ac8ca0(int param_1,uint *param_2,int param_3) +/* DB: libjpeg-turbo jdcol565.c ycc_rgb565_convert_internal little-endian: only caller FUN_00ac9830 + (ycc_rgb565_convert wrapper); deconverter +0x10..+0x1c Cr_r/Cb_b/Cr_g/Cb_g tables, packs + (R&0xf8)<<8|(G&0xfc)<<3|B>>3 two pixels per dword, alignment pixel first */ + +void ycc_rgb565_convert_le(int param_1,uint *param_2,int param_3) { byte bVar1; @@ -1116753,9 +1119038,14 @@ void FUN_00ac8ca0(int param_1,uint *param_2,int param_3) } -//@@ 00ac8f50 FUN_00ac8f50 +//@@ 00ac8f50 ycc_rgb565D_convert -void FUN_00ac8f50(int param_1,uint *param_2,int param_3) +/* DB: libjpeg-turbo jdcol565.c: color_convert(cinfo, input_buf, input_row, output_buf, num_rows) + with Cr_r/Cb_b/Cr_g/Cb_g tables at cconvert(+0x1b4)+0x10..+0x1c (turbo 3.x pub has 12/16-bit + hooks), range_limit +0x124, dither_matrix[output_scanline(+0x78) & 3] (DAT_00b5e394), 4-byte + alignment packing */ + +void ycc_rgb565D_convert(int param_1,uint *param_2,int param_3) { byte bVar1; @@ -1116952,9 +1119242,14 @@ void FUN_00ac92c0(int param_1,uint *param_2,int param_3) } -//@@ 00ac9440 FUN_00ac9440 +//@@ 00ac9440 rgb_rgb565D_convert_le -void FUN_00ac9440(int param_1,uint *param_2,int param_3) +/* DB: libjpeg-turbo jdcol565.c: ECX=cinfo (range_limit +0x124, output_width +0x5c), EDX=input_buf + (3 planes R/G/B), dither_matrix DAT_00b5e394[output_scanline (+0x78) & 3], packs RGB565 pixels + two at a time with an unaligned first pixel; only caller 00ac9890 (rgb_rgb565D_convert endian + dispatch) */ + +void rgb_rgb565D_convert_le(int param_1,uint *param_2,int param_3) { byte *pbVar1; @@ -1117118,7 +1119413,7 @@ void FUN_00ac9830(undefined4 param_1,undefined4 param_2,undefined4 param_3,undef undefined4 param_5) { - FUN_00ac8ca0(param_3,param_4,param_5); + ycc_rgb565_convert_le(param_3,param_4,param_5); return; } @@ -1117129,7 +1119424,7 @@ void FUN_00ac9850(undefined4 param_1,undefined4 param_2,undefined4 param_3,undef undefined4 param_5) { - FUN_00ac8f50(param_3,param_4,param_5); + ycc_rgb565D_convert(param_3,param_4,param_5); return; } @@ -1117151,7 +1119446,7 @@ void FUN_00ac9890(undefined4 param_1,undefined4 param_2,undefined4 param_3,undef undefined4 param_5) { - FUN_00ac9440(param_3,param_4,param_5); + rgb_rgb565D_convert_le(param_3,param_4,param_5); return; } @@ -1117639,11 +1119934,14 @@ undefined4 FUN_00ac9f70(int param_1,int param_2) } -//@@ 00aca170 FUN_00aca170 +//@@ 00aca170 consume_data /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg jdcoefct.c: stored as coef->pub.consume_data (mov edx,0xaca170 at aca6eb in + jinit_d_coef_controller); access_virt_barray (mem vtable +0x1c) for each cur_comp_info (+300, + comps_in_scan +0x128), then decode_mcu loop over MCU rows/cols */ -undefined4 FUN_00aca170(int param_1) +undefined4 consume_data(int param_1) { int iVar1; @@ -1117833,15 +1120131,12 @@ int FUN_00aca440(int param_1,int param_2) } -//@@ 00aca570 jinit_d_coef_controller +//@@ 00aca570 jinit_d_diff_controller -/* DB: libjpeg(-turbo): ECX cinfo, DL need_full_buffer: checks data_precision (cinfo[0x30]) range - with JERR 0x10, allocates the coef controller into cinfo[0x66], sets - start_input_pass/start_output_pass, per component allocations; full buffer -> request_virt_barray - per component and consume_data/decompress_data, else dummy consume (ICF'd to - Weapon::GetFocusEntity) + onepass; called from libjpeg_jinit_master_decompress */ +/* DB: libjpeg: the lossless branch of jinit_master_decompress, precision 2..8; the real coef + controller is 00ac71d0 libjpeg_jinit_d_coef_controller jinit_d_coef_controller) */ -void jinit_d_coef_controller(void) +void jinit_d_diff_controller(void) { undefined4 *puVar1; @@ -1117892,7 +1120187,7 @@ void jinit_d_coef_controller(void) local_14 = local_14 + 1; } while (local_14 < in_ECX[9]); } - puVar1[1] = FUN_00aca170; + puVar1[1] = consume_data; puVar1[3] = FUN_00aca440; return; } @@ -1117925,7 +1120220,7 @@ void FUN_00aca730(int *param_1,int param_2) *(undefined4 *)(iVar1 + 0x3c) = 0; return; } - *(code **)(iVar1 + 4) = FUN_00aca950; + *(code **)(iVar1 + 4) = process_data_context_main; iVar2 = param_1[0x65]; iVar3 = param_1[0x46]; local_8 = 0; @@ -1118017,9 +1120312,13 @@ void FUN_00aca8e0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 p } -//@@ 00aca950 FUN_00aca950 +//@@ 00aca950 process_data_context_main -void FUN_00aca950(int param_1,undefined4 param_2,uint *param_3,uint param_4) +/* DB: libjpeg(-turbo) jdmainct.c: main = cinfo+0x194, coef->decompress_data (+0x198 vfunc +0xc), + post->post_process_data (+0x19c vfunc +4), context_state +0x4c (0/1/2), rowgroup_ctr +0x3c, + rowgroups_avail +0x50, iMCU_row_ctr +0x54; stored by start_pass_main (00aca783) */ + +void process_data_context_main(int param_1,undefined4 param_2,uint *param_3,uint param_4) { uint *puVar1; @@ -1118239,9 +1120538,13 @@ LAB_00acac6c: } -//@@ 00acae00 FUN_00acae00 +//@@ 00acae00 jddctmgr_start_pass -void FUN_00acae00(int *param_1) +/* DB: libjpeg-turbo jddctmgr.c start_pass: stored as idct->pub.start_pass (mov [eax],0xacae00 at + 0xab6124), switch on DCT_scaled_size 1..16 picking jpeg_idct_NxN, dct_method switch for 8 + (islow/ifast/float), float AAN scale doubles */ + +void jddctmgr_start_pass(int *param_1) { ulonglong *puVar1; @@ -1118304,23 +1120607,23 @@ void FUN_00acae00(int *param_1) param_1 = (int *)0x0; break; case 2: - local_8 = FUN_00adab90; + local_8 = jpeg_idct_2x2; param_1 = (int *)0x0; break; case 3: - local_8 = FUN_00ad7220; + local_8 = jpeg_idct_3x3; param_1 = (int *)0x0; break; case 4: - local_8 = FUN_00ada820; + local_8 = jpeg_idct_4x4; param_1 = (int *)0x0; break; case 5: - local_8 = jpeg_idct_islow; + local_8 = jpeg_idct_5x5; param_1 = (int *)0x0; break; case 6: - local_8 = theora_oc_state_frag_recon; + local_8 = jpeg_idct_6x6; param_1 = (int *)0x0; break; case 7: @@ -1118330,11 +1120633,11 @@ void FUN_00acae00(int *param_1) case 8: iVar20 = piVar15[0x11]; if (iVar20 == 0) { - local_8 = FUN_00ad4820; + local_8 = jpeg_idct_islow; param_1 = (int *)0x0; } else if (iVar20 == 1) { - local_8 = FUN_00adae20; + local_8 = jpeg_idct_ifast; param_1 = (int *)0x1; } else { @@ -1118342,32 +1120645,32 @@ void FUN_00acae00(int *param_1) *(undefined4 *)(*piVar15 + 0x14) = 0x31; goto LAB_00acafef; } - local_8 = FUN_00adb2c0; + local_8 = jpeg_idct_float; param_1 = (int *)0x2; } break; case 9: - local_8 = FUN_00ad7450; + local_8 = jpeg_idct_9x9; param_1 = (int *)0x0; break; case 10: - local_8 = FUN_00ad78a0; + local_8 = jpeg_idct_10x10; param_1 = (int *)0x0; break; case 0xb: - local_8 = FUN_00ad7dc0; + local_8 = jpeg_idct_11x11; param_1 = (int *)0x0; break; case 0xc: - local_8 = FUN_00ad8420; + local_8 = jpeg_idct_12x12; param_1 = (int *)0x0; break; case 0xd: - local_8 = FUN_00ad89f0; + local_8 = jpeg_idct_13x13; param_1 = (int *)0x0; break; case 0xe: - local_8 = FUN_00ad9150; + local_8 = jpeg_idct_14x14; param_1 = (int *)0x0; break; case 0xf: @@ -1119117,13 +1121420,13 @@ undefined4 FUN_00acbc10(int param_1,int *param_2,int *param_3,int param_4) if (iVar1 == 0) { return 0; } - iVar1 = FUN_00a83d20(param_4); + iVar1 = _glfwCreateContextOSMesa(param_4); if (iVar1 == 0) { return 0; } } else if (iVar1 == 0x36002) { - iVar1 = FUN_00a82d40(); + iVar1 = _glfwInitEGL(); if (iVar1 == 0) { return 0; } @@ -1119132,7 +1121435,7 @@ undefined4 FUN_00acbc10(int param_1,int *param_2,int *param_3,int param_4) return 0; } } - iVar1 = FUN_00a6b570(); + iVar1 = _glfwRefreshContextAttribs(); if (iVar1 == 0) { return 0; } @@ -1119965,10 +1122268,15 @@ void FUN_00accab0(byte param_1,byte *param_2,byte *param_3,byte *param_4,char *p } -//@@ 00accb90 FUN_00accb90 +//@@ 00accb90 I422ToARGBRow_C -void FUN_00accb90(byte *param_1,byte *param_2,byte *param_3,byte *param_4,char *param_5,uint param_6 - ) +/* DB: libyuv row_common.cc: (src_y, src_u, src_v, dst_argb, yuvconstants, width): two pixels per + U/V sample using the YuvConstants table (kUVToB/kUVToG/kUVToR/kUVBias/kYToRgb at + +0/+0x20/+0x40/+0x60../+0xc0), clamps to 0..255, alpha 0xff, odd tail via YuvPixel (00accab0); + default row function loaded with mov ecx,0xaccb90 in libyuv converter 00ab6d00 */ + +void I422ToARGBRow_C(byte *param_1,byte *param_2,byte *param_3,byte *param_4,char *param_5, + uint param_6) { byte bVar1; @@ -1120046,10 +1122354,14 @@ void FUN_00accb90(byte *param_1,byte *param_2,byte *param_3,byte *param_4,char * } -//@@ 00accdd0 FUN_00accdd0 +//@@ 00accdd0 I422ToRGB24Row_C -void FUN_00accdd0(byte *param_1,byte *param_2,byte *param_3,byte *param_4,char *param_5,uint param_6 - ) +/* DB: libyuv row_common.cc: same YuvPixel (0xaccab0)/yuvconstants pattern as I422ToRGBARow_C but + writes 3 bytes per pixel (param_4[0..5] per pair); row fn pointer of the matrix converter at + 0xab6bcf/0xab6c45 */ + +void I422ToRGB24Row_C(byte *param_1,byte *param_2,byte *param_3,byte *param_4,char *param_5, + uint param_6) { byte bVar1; @@ -1120116,10 +1122428,14 @@ void FUN_00accdd0(byte *param_1,byte *param_2,byte *param_3,byte *param_4,char * } -//@@ 00acd000 FUN_00acd000 +//@@ 00acd000 I422ToRGBARow_C -void FUN_00acd000(byte *param_1,byte *param_2,byte *param_3,undefined1 *param_4,char *param_5, - uint param_6) +/* DB: libyuv row_common.cc: default row fn of I420ToRGBAMatrix (0xab6a80, overridden by SSSE3 0x40 + / AVX2 0x400 CPU-flag variants); per 2 pixels writes A=0xff at [0] then B,G,R via YuvPixel + (0xaccab0) with yuvconstants offsets 0x20/0x21/0x41/0x80/0xa0/0xc0 */ + +void I422ToRGBARow_C(byte *param_1,byte *param_2,byte *param_3,undefined1 *param_4,char *param_5, + uint param_6) { byte bVar1; @@ -1121534,14 +1123850,15 @@ void FUN_00acde90(ulonglong *param_1,undefined4 *param_2,int param_3,undefined1 } -//@@ 00acdf70 FUN_00acdf70 +//@@ 00acdf70 InitCpuFlags /* WARNING: Removing unreachable block (ram,0x00acdfd9) */ /* WARNING: Removing unreachable block (ram,0x00acdfb4) */ /* WARNING: Removing unreachable block (ram,0x00acdf8c) */ /* WARNING: Removing unreachable block (ram,0x00ace25d) */ +/* DB: libyuv (round 7 agent) */ -uint FUN_00acdf70(void) +uint InitCpuFlags(void) { int *piVar1; @@ -1121818,9 +1124135,11 @@ undefined4 * FUN_00ace410(undefined4 param_1,undefined4 *param_2) } -//@@ 00ace450 FUN_00ace450 +//@@ 00ace450 floor0_inverse1 -int FUN_00ace450(int param_1,float param_2) +/* DB: libvorbis (round 7 agent) */ + +int floor0_inverse1(int param_1,float param_2) { int iVar1; @@ -1121849,7 +1124168,7 @@ int FUN_00ace450(int param_1,float param_2) param_2 = 0.0; iVar7 = *(int *)(*(int *)(*(int *)(*(int *)(param_1 + 0x40) + 4) + 0x1c) + 0xb20); iVar8 = FUN_00aaca80(); - iVar9 = FUN_00ab7c00(param_1 + 4,*(undefined4 *)(iVar4 + 4)); + iVar9 = vorbis_book_decodev_set(param_1 + 4,*(undefined4 *)(iVar4 + 4)); if (iVar9 != -1) { iVar9 = *(int *)(iVar4 + 4); iVar10 = 0; @@ -1121878,9 +1124197,14 @@ int FUN_00ace450(int param_1,float param_2) } -//@@ 00ace590 FUN_00ace590 +//@@ 00ace590 floor0_inverse2 -undefined4 FUN_00ace590(int param_1,int *param_2,int param_3,void *param_4) +/* DB: libvorbis floor0.c: last slot of floor0_exportbundle at 00b5e238 {NULL, unpack ace310, look + ace410, free_info ace280, free_look ace2b0, inverse1 ace450, inverse2}; inlined + floor0_map_lazy_init (toBARK 13.1*atan(.00074n)+2.24*atan(n*n*1.85e-8)+1e-4n, malloc linearmap), + memset when memo NULL else vorbis_lsp_to_curve FUN_00adb7d0 */ + +undefined4 floor0_inverse2(int param_1,int *param_2,int param_3,void *param_4) { int iVar1; @@ -1122037,9 +1124361,13 @@ void FUN_00ace840(int param_1,int *param_2,undefined4 param_3) } -//@@ 00ace9c0 FUN_00ace9c0 +//@@ 00ace9c0 mapping0_unpack -int * FUN_00ace9c0(int param_1) +/* DB: libvorbis mapping0.c: slot 1 of mapping0_exportbundle 00b5e294 {pack ace840, unpack, + free_info ace810, forward acebf0, inverse acf890}; calloc(1,0xc88), oggpack_read (FUN_00ab7120) + submaps, coupling steps with ilog(channels) bits and mag != ang checks */ + +int * mapping0_unpack(int param_1) { int iVar1; @@ -1122139,14 +1124467,14 @@ LAB_00acea19: } -//@@ 00acebf0 mapping0_inverse +//@@ 00acebf0 mapping0_forward /* WARNING: Function: __alloca_probe_16 replaced with injection: alloca_probe */ /* WARNING: Unable to track spacebase fully for stack */ -/* DB: libvorbis mapping0.c: vb->vd at +0x40, vd->vi +4, vi->channels +4, vi->codec_setup +0x1c, - alloca bundles, no callers (mapping_P table) */ +/* DB: libvorbis: the forward slot of the mapping0 table; calls mdct_forward, _vp_noisemask, + floor1_fit, oggpack_write; the real mapping0_inverse is 00acf890 mapping0_inverse mapping0_inverse) */ -undefined4 mapping0_inverse(int *param_1) +undefined4 mapping0_forward(int *param_1) { float fVar1; @@ -1122696,12 +1125024,17 @@ undefined4 mapping0_inverse(int *param_1) } -//@@ 00acf890 FUN_00acf890 +//@@ 00acf890 mapping0_inverse /* WARNING: Function: __alloca_probe_16 replaced with injection: alloca_probe */ /* WARNING: Unable to track spacebase fully for stack */ +/* DB: libvorbis mapping0.c decoder (vb, info): vb->vd +0x40, vd->vi +4, ci->blocksizes[vb->W], + alloca per-channel bundles, per channel + _floor_P[ci->floor_type[info->floorsubmap[info->chmuxlist[i]]]] (table 0xb4f938) ->inverse1 + (+0x14), then residue/coupling/inverse mdct; no direct callers (mapping_P table). The function + named mapping0_inverse (00acebf0) is the encoder mapping0_forward */ -undefined4 FUN_00acf890(int *param_1,int *param_2) +undefined4 mapping0_inverse(int *param_1,int *param_2) { float fVar1; @@ -1122883,7 +1125216,7 @@ undefined4 FUN_00acf890(int *param_1,int *param_2) do { *(undefined4 *)((int)puVar13 + -4) = *(undefined4 *)(*param_1 + iVar21 * 4); *(undefined4 *)((int)puVar13 + -8) = 0xacfb77; - FUN_00abb900(); + mdct_backward(); iVar21 = iVar21 + 1; } while (iVar21 < *(int *)(iVar3 + 4)); } @@ -1123099,9 +1125432,13 @@ LAB_00acfed1: } -//@@ 00acff00 FUN_00acff00 +//@@ 00acff00 res0_look -int * FUN_00acff00(int param_1,int param_2) +/* DB: libvorbis res0.c: info=param_2, parts=info->partitions (+0xc), fullbooks = codec_setup + +0xb20, phrasebook = fullbooks + groupbook*0x38, calloc partbooks, ov_ilog(secondstages[j]) + loops; pointer in the residue function tables 00b5f208/228/248 (residue0/1/2) */ + +int * res0_look(int param_1,int param_2) { size_t _Count; @@ -1123219,9 +1125556,12 @@ int * FUN_00acff00(int param_1,int param_2) } -//@@ 00ad0120 FUN_00ad0120 +//@@ 00ad0120 local_book_besterror -uint FUN_00ad0120(void) +/* DB: libvorbis res0.c: book fields dim/minval/delta/quantvals, ze=qv>>1; only caller _encodepart + (0xad0520) which then oggpack_write(codelist[entry], lengthlist[entry]) */ + +uint local_book_besterror(void) { int *piVar1; @@ -1123530,9 +1125870,11 @@ LAB_00ad03e6: } -//@@ 00ad0520 FUN_00ad0520 +//@@ 00ad0520 _encodepart -longlong FUN_00ad0520(undefined4 param_1,undefined4 param_2,int param_3,int *param_4) +/* DB: libvorbis (round 7 agent) */ + +longlong _encodepart(undefined4 param_1,undefined4 param_2,int param_3,int *param_4) { int iVar1; @@ -1123548,7 +1125890,7 @@ longlong FUN_00ad0520(undefined4 param_1,undefined4 param_2,int param_3,int *par return (ulonglong)(uint)(param_3 % iVar1) << 0x20; } do { - iVar3 = FUN_00ad0120(); + iVar3 = local_book_besterror(); if ((iVar3 < 0) || (*(int *)(piVar2[3] + 4) <= iVar3)) { iVar3 = 0; } @@ -1123643,8 +1125985,8 @@ undefined4 FUN_00ad05b0(int param_1,int param_2,int *param_3) if (((piVar1[iVar7 + 6] & (1 << bVar5 | 1U >> 0x20 - bVar5)) != 0) && (iVar7 = *(int *)(*(int *)(in_EDX[5] + iVar7 * 4) + local_c * 4), iVar7 != 0)) { - iVar7 = FUN_00ad0520(in_ECX,*(int *)((int)piVar9 + (param_1 - (int)param_3)) + - (iVar11 + local_2c) * 4,iVar3,iVar7); + iVar7 = _encodepart(in_ECX,*(int *)((int)piVar9 + (param_1 - (int)param_3)) + + (iVar11 + local_2c) * 4,iVar3,iVar7); in_EDX[8] = in_EDX[8] + iVar7; } piVar9 = piVar9 + 1; @@ -1123666,12 +1126008,15 @@ LAB_00ad0770: } -//@@ 00ad0790 FUN_00ad0790 +//@@ 00ad0790 _01inverse /* WARNING: Function: __alloca_probe_16 replaced with injection: alloca_probe */ /* WARNING: Unable to track spacebase fully for stack */ +/* DB: libvorbis res0.c _01inverse(vb, vl, in, ch, decodepart): n = min(blocksize/2 (+0x24 >> 1), + info->end) - begin, alloca partword arrays, decodepart callback param_3; callers res0_inverse + 00ad0a20 and res1_inverse 00ad0e10 */ -undefined4 FUN_00ad0790(int *param_1,int param_2,code *param_3) +undefined4 _01inverse(int *param_1,int param_2,code *param_3) { int *piVar1; @@ -1123852,7 +1126197,7 @@ FUN_00ad0a20(undefined4 param_1,undefined4 param_2,undefined4 *param_3,int param param_5 = param_5 + -1; } while (param_5 != 0); if (iVar3 != 0) { - uVar1 = FUN_00ad0790(param_3,iVar3,FUN_00ab7750); + uVar1 = _01inverse(param_3,iVar3,vorbis_book_decodevs_add); return uVar1; } } @@ -1123893,9 +1126238,14 @@ undefined4 FUN_00ad0a80(void) } -//@@ 00ad0ae0 FUN_00ad0ae0 +//@@ 00ad0ae0 res1_class -int FUN_00ad0ae0(int param_1,int *param_2,int *param_3,int param_4,int param_5) +/* DB: libvorbis res0.c: slot 5 (class) of residue1_exportbundle at 00b5f200 {res0_pack acfc30, + res0_unpack acfd30, res0_look acff00, res0_free_info, res0_free_look, res1_class, res1_forward + ad0a80, res1_inverse ad0e10}; compacts nonzero channels then inlined _01class with + _vorbis_block_alloc (vb +0x44..+0x54) */ + +int res1_class(int param_1,int *param_2,int *param_3,int param_4,int param_5) { int iVar1; @@ -1124158,7 +1126508,7 @@ FUN_00ad0e10(undefined4 param_1,undefined4 param_2,undefined4 *param_3,int param param_5 = param_5 + -1; } while (param_5 != 0); if (iVar3 != 0) { - uVar1 = FUN_00ad0790(param_3,iVar3,FUN_00ab7a40); + uVar1 = _01inverse(param_3,iVar3,FUN_00ab7a40); return uVar1; } } @@ -1124166,9 +1126516,13 @@ FUN_00ad0e10(undefined4 param_1,undefined4 param_2,undefined4 *param_3,int param } -//@@ 00ad0e70 FUN_00ad0e70 +//@@ 00ad0e70 res2_class -int * FUN_00ad0e70(int param_1,int *param_2,int *param_3,int param_4,uint param_5) +/* DB: libvorbis res0.c: slot 5 (class) of residue2_exportbundle 0xb5f240 (_residue_P[2] at + 0xb4f7bc; res0 bundle 0xb5f220 has NULL there), 5 args (vb,vl,in,nonzero,ch), vectorised nonzero + count then _2class inlined */ + +int * res2_class(int param_1,int *param_2,int *param_3,int param_4,uint param_5) { int *piVar1; @@ -1124381,9 +1126735,11 @@ FUN_00ad1110(undefined4 param_1,int param_2,undefined4 param_3,int param_4,int * } -//@@ 00ad11e0 FUN_00ad11e0 +//@@ 00ad11e0 res2_inverse -undefined4 FUN_00ad11e0(int param_1,int *param_2,undefined4 param_3,int param_4,int param_5) +/* DB: libvorbis (round 7 agent) */ + +undefined4 res2_inverse(int param_1,int *param_2,undefined4 param_3,int param_4,int param_5) { int *piVar1; @@ -1124452,7 +1126808,8 @@ undefined4 FUN_00ad11e0(int param_1,int *param_2,undefined4 param_3,int param_4, iVar7 = *(int *)(*local_c + iVar9 * 4); if ((((piVar1[iVar7 + 6] & 1 << ((byte)local_8 & 0x1f)) != 0) && (*(int *)(*(int *)(param_2[5] + iVar7 * 4) + local_8 * 4) != 0)) && - (iVar7 = FUN_00ab7e70(*piVar1 + iVar6,param_5,param_1 + 4,iVar3), iVar7 == -1)) { + (iVar7 = vorbis_book_decodevv_add(*piVar1 + iVar6,param_5,param_1 + 4,iVar3), + iVar7 == -1)) { return 0; } iVar6 = iVar6 + iVar3; @@ -1124611,9 +1126968,13 @@ int FUN_00ad15d0(undefined4 *param_1,undefined4 *param_2) } -//@@ 00ad15f0 FUN_00ad15f0 +//@@ 00ad15f0 floor1_unpack -int * FUN_00ad15f0(int param_1) +/* DB: libvorbis floor1.c: calloc(1,0x460) vorbis_info_floor1, oggpack_read (FUN_00ab7120) + partitions/partitionclass, class_dim+1, class_subs, class_book, class_subbook-1, bounds-checked + against ci->books (+0x18); no direct caller (in the _floor_P function table) */ + +int * floor1_unpack(int param_1) { int *_Dst; @@ -1125848,9 +1128209,13 @@ LAB_00ad2fb3: } -//@@ 00ad3220 FUN_00ad3220 +//@@ 00ad3220 floor1_inverse1 -undefined4 * FUN_00ad3220(int param_1,int param_2) +/* DB: libvorbis floor1.c: in vorbis_func_floor table (.rdata 0xb5e348, next to 0xad3530 inverse2); + oggpack_read(1), _vorbis_block_alloc(posts), fit_value[0..1]=oggpack_read(ilog(look->quant_q-1)) + with quant_q at look+0x50c */ + +undefined4 * floor1_inverse1(int param_1,int param_2) { int *piVar1; @@ -1125992,9 +1128357,13 @@ undefined4 * FUN_00ad3220(int param_1,int param_2) } -//@@ 00ad3530 FUN_00ad3530 +//@@ 00ad3530 floor1_inverse2 -undefined4 FUN_00ad3530(int param_1,int param_2,int *param_3,void *param_4) +/* DB: libvorbis floor1.c: n = blocksizes[W]/2, memset(out) when no memo, ly = post[0]*info->mult + (look->vi +0x510, mult +0x340, postlist +0x344) clamped 0..255, hy = post[i] & 0x7fff + render_line; no direct caller (_floor_P table) */ + +undefined4 floor1_inverse2(int param_1,int param_2,int *param_3,void *param_4) { float fVar1; @@ -1126455,7 +1128824,7 @@ LAB_00ad3c29: in_EDX[1] = local_14; *in_EDX = (int)local_10; *(undefined1 **)(in_ECX + 0x34) = puVar10; - param_1 = FUN_00adb9c0(puVar4[5],puVar4[6],in_ECX,in_EDX); + param_1 = inflate_fast(puVar4[5],puVar4[6],in_ECX,in_EDX); local_10 = (byte *)*in_EDX; local_14 = in_EDX[1]; puVar10 = *(undefined1 **)(in_ECX + 0x34); @@ -1126829,13 +1129198,16 @@ int FUN_00ad41d0(int param_1) } -//@@ 00ad42e0 FUN_00ad42e0 +//@@ 00ad42e0 huft_build /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: zlib 1.1.x inftrees.c: counts code lengths into 16 bins, returns Z_DATA_ERROR(-3) on + oversubscribed/incomplete, MANY=1440 (0x5a0) hufts limit; called 3x from FUN_00abd900 + (inflate_trees_bits/dynamic strings 'oversubscribed literal/length tree') */ undefined4 -FUN_00ad42e0(uint param_1,int param_2,int param_3,int *param_4,uint *param_5,int param_6, - uint *param_7,uint *param_8) +huft_build(uint param_1,int param_2,int param_3,int *param_4,uint *param_5,int param_6,uint *param_7 + ,uint *param_8) { char cVar1; @@ -1127072,11 +1129444,12 @@ FUN_00ad42e0(uint param_1,int param_2,int param_3,int *param_4,uint *param_5,int } -//@@ 00ad4820 FUN_00ad4820 +//@@ 00ad4820 jpeg_idct_islow /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg: case 8 with dct_method 0 of the start_pass 00acae00 jddctmgr_start_pass */ -void FUN_00ad4820(int param_1,int param_2,short *param_3,int param_4,int param_5) +void jpeg_idct_islow(int param_1,int param_2,short *param_3,int param_4,int param_5) { undefined1 uVar1; @@ -1127624,13 +1129997,12 @@ void jpeg_idct_7x7(int param_1,int param_2,short *param_3,int *param_4,int param } -//@@ 00ad60a0 theora_oc_state_frag_recon +//@@ 00ad60a0 jpeg_idct_6x6 -/* DB: ? libtheora fragment reconstruction (state, fragi, pli, short* dct coeffs, last_zzi): inlined - 8x8 idct then 8 pixels per row clamped through a 0x3ff lookup table; no direct callers (reached - via the oc_dec opt vtable) */ +/* DB: libjpeg: case 6 of the start_pass 00acae00 jddctmgr_start_pass switch, between 5x5 and 7x7 (was + theora_oc_state_frag_recon) */ -void theora_oc_state_frag_recon(int param_1,int param_2,short *param_3,int *param_4,int param_5) +void jpeg_idct_6x6(int param_1,int param_2,short *param_3,int *param_4,int param_5) { int *piVar1; @@ -1127881,12 +1130253,11 @@ void theora_oc_state_frag_recon(int param_1,int param_2,short *param_3,int *para } -//@@ 00ad6ad0 jpeg_idct_islow +//@@ 00ad6ad0 jpeg_idct_5x5 -/* DB: libjpeg jidctint.c: reads coef rows 0/2/4/6 (0x20/0x40 byte strides) times quant table, - CONST_BITS 13 shift, range_limit = cinfo->sample_range_limit + 128 (cinfo+0x124) */ +/* DB: libjpeg: case 5 of the DCT_scaled_size switch in start_pass 00acae00 jddctmgr_start_pass jpeg_idct_islow) */ -void jpeg_idct_islow(int param_1,int param_2,short *param_3,int *param_4,int param_5) +void jpeg_idct_5x5(int param_1,int param_2,short *param_3,int *param_4,int param_5) { int iVar1; @@ -1128069,9 +1130440,12 @@ void jpeg_idct_islow(int param_1,int param_2,short *param_3,int *param_4,int par } -//@@ 00ad7220 FUN_00ad7220 +//@@ 00ad7220 jpeg_idct_3x3 -void FUN_00ad7220(int param_1,int param_2,short *param_3,int *param_4,int param_5) +/* DB: libjpeg-turbo: case 3 of jddctmgr start_pass DCT_scaled_size switch (jump table 0xacb3bc + entry 3 -> acaeb5 mov [ebp-4],0xad7220) */ + +void jpeg_idct_3x3(int param_1,int param_2,short *param_3,int *param_4,int param_5) { int iVar1; @@ -1128132,11 +1130506,13 @@ void FUN_00ad7220(int param_1,int param_2,short *param_3,int *param_4,int param_ } -//@@ 00ad7450 FUN_00ad7450 +//@@ 00ad7450 jpeg_idct_9x9 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg jidctint.c: start_pass switch case 9 (acaf65 stores 0xad7450, entry after the case-8 + method sub-switch; case 7 = jpeg_idct_7x7 0xad4dc0, case 15/16 = jpeg_idct_15x15/16x16) */ -void FUN_00ad7450(int param_1,int param_2,int param_3,int param_4,int param_5) +void jpeg_idct_9x9(int param_1,int param_2,int param_3,int param_4,int param_5) { int iVar1; @@ -1128248,11 +1130624,12 @@ void FUN_00ad7450(int param_1,int param_2,int param_3,int param_4,int param_5) } -//@@ 00ad78a0 FUN_00ad78a0 +//@@ 00ad78a0 jpeg_idct_10x10 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg(-turbo) start_pass FUN_00acae00: DCT_scaled_size case 10 stores 0xad78a0 */ -void FUN_00ad78a0(int param_1,int param_2,int param_3,int param_4,int param_5) +void jpeg_idct_10x10(int param_1,int param_2,int param_3,int param_4,int param_5) { int iVar1; @@ -1128374,11 +1130751,14 @@ void FUN_00ad78a0(int param_1,int param_2,int param_3,int param_4,int param_5) } -//@@ 00ad7dc0 FUN_00ad7dc0 +//@@ 00ad7dc0 jpeg_idct_11x11 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg jidctint.c: case 0xb of the IDCT method switch in jddctmgr start_pass FUN_00acae00 + (case 7 jpeg_idct_7x7, 0xf jpeg_idct_15x15, 0x10 jpeg_idct_16x16); fixed-point IDCT constants, 5 + args (cinfo, compptr, coef_block, output_buf, output_col) */ -void FUN_00ad7dc0(int param_1,int param_2,int param_3,int param_4,int param_5) +void jpeg_idct_11x11(int param_1,int param_2,int param_3,int param_4,int param_5) { int iVar1; @@ -1128519,11 +1130899,13 @@ void FUN_00ad7dc0(int param_1,int param_2,int param_3,int param_4,int param_5) } -//@@ 00ad8420 FUN_00ad8420 +//@@ 00ad8420 jpeg_idct_12x12 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg(-turbo) jdddctmgr start_pass FUN_00acae00: switch on compptr->DCT_scaled_size case 12 + stores 0xad8420 (cases 7/15/16 are the already named jpeg_idct_7x7/15x15/16x16) */ -void FUN_00ad8420(int param_1,int param_2,int param_3,int param_4,int param_5) +void jpeg_idct_12x12(int param_1,int param_2,int param_3,int param_4,int param_5) { int iVar1; @@ -1128664,11 +1131046,13 @@ void FUN_00ad8420(int param_1,int param_2,int param_3,int param_4,int param_5) } -//@@ 00ad89f0 FUN_00ad89f0 +//@@ 00ad89f0 jpeg_idct_13x13 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg-turbo jidctint.c: slot 13 of jddctmgr start_pass switch on DCT_scaled_size (jump + table at 0xacb3bc, mov [ebp-4],0xad89f0); 8x13 int workspace, FIX(1.155388986)=0x24f9 */ -void FUN_00ad89f0(int param_1,int param_2,int param_3,int param_4,int param_5) +void jpeg_idct_13x13(int param_1,int param_2,int param_3,int param_4,int param_5) { int iVar1; @@ -1128824,11 +1131208,14 @@ void FUN_00ad89f0(int param_1,int param_2,int param_3,int param_4,int param_5) } -//@@ 00ad9150 FUN_00ad9150 +//@@ 00ad9150 jpeg_idct_14x14 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg(-turbo) IDCT method table in jinit_inverse_dct/start_pass (switch at 00acae8c): + stored at acafb7 between jpeg_idct_13x13 (00ad89f0) and jpeg_idct_15x15 (00ad9840); 5 args + (cinfo, compptr, coef_block, output_buf, output_col), workspace int[8*14] */ -void FUN_00ad9150(int param_1,int param_2,int param_3,int param_4,int param_5) +void jpeg_idct_14x14(int param_1,int param_2,int param_3,int param_4,int param_5) { int iVar1; @@ -1129362,11 +1131749,13 @@ void jpeg_idct_16x16(int param_1,int param_2,int param_3,int param_4,int param_5 } -//@@ 00ada820 FUN_00ada820 +//@@ 00ada820 jpeg_idct_4x4 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg jidctint.c: start_pass switch case 4 (acaec8 stores 0xada820; jump table entries in + order 1..16) */ -void FUN_00ada820(int param_1,int param_2,int param_3,int param_4,int param_5) +void jpeg_idct_4x4(int param_1,int param_2,int param_3,int param_4,int param_5) { int iVar1; @@ -1129455,11 +1131844,13 @@ void FUN_00ada820(int param_1,int param_2,int param_3,int param_4,int param_5) } -//@@ 00adab90 FUN_00adab90 +//@@ 00adab90 jpeg_idct_2x2 /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg(-turbo) jidctred.c: start_pass case 2; skips columns 2/4/6, odd-coefficient constants + 0x73fc FIX_3_624509785, 0x28ba FIX_1_272758580, 0x1b37 FIX_0_850430095, 0x1712 FIX_0_720959822 */ -void FUN_00adab90(int param_1,int param_2,int param_3,int *param_4,int param_5) +void jpeg_idct_2x2(int param_1,int param_2,int param_3,int *param_4,int param_5) { undefined1 uVar1; @@ -1129543,11 +1131934,13 @@ void FUN_00adade0(int param_1,int param_2,short *param_3,int *param_4,int param_ } -//@@ 00adae20 FUN_00adae20 +//@@ 00adae20 jpeg_idct_ifast /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg-turbo: case 8 of start_pass, dct_method==JDCT_IFAST(1) -> 0xadae20 (islow=0xad4820, + float=0xadb2c0) */ -void FUN_00adae20(int param_1,int param_2,short *param_3,int param_4,int param_5) +void jpeg_idct_ifast(int param_1,int param_2,short *param_3,int param_4,int param_5) { int iVar1; @@ -1129686,11 +1132079,13 @@ void FUN_00adae20(int param_1,int param_2,short *param_3,int param_4,int param_5 } -//@@ 00adb2c0 FUN_00adb2c0 +//@@ 00adb2c0 jpeg_idct_float /* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */ +/* DB: libjpeg(-turbo) start_pass FUN_00acae00: case 8 switches on cinfo->dct_method (+0x44): 0 + ISLOW -> 00ad4820, 1 IFAST -> 00adae20, 2 FLOAT -> 0xadb2c0, else JERR_NOT_COMPILED (0x31) */ -void FUN_00adb2c0(int param_1,int param_2,short *param_3,int param_4,int param_5) +void jpeg_idct_float(int param_1,int param_2,short *param_3,int param_4,int param_5) { int iVar1; @@ -1129904,9 +1132299,12 @@ void FUN_00adb7d0(int param_1,int param_2,int param_3,int param_4,float param_5, } -//@@ 00adb9c0 FUN_00adb9c0 +//@@ 00adb9c0 inflate_fast -undefined4 FUN_00adb9c0(int param_1,int param_2,int param_3,int *param_4) +/* DB: zlib 1.1.x inffast.c inflate_fast(bl,bd,tl,td,s,z): inflate_mask table 0xb5f660 indexed by + bl(ECX)/bd(EDX), 'invalid distance code','invalid literal/length code' */ + +undefined4 inflate_fast(int param_1,int param_2,int param_3,int *param_4) { uint uVar1; @@ -1131233,9 +1133631,12 @@ void oc_dec_frags_recon_mcu_plane(int param_1,undefined2 *param_2,int param_3) } -//@@ 00add260 FUN_00add260 +//@@ 00add260 oc_dec_init -int FUN_00add260(int param_1,undefined4 param_2,int param_3) +/* DB: libtheora decode.c: oc_state_init(dec,info,3) (0xae19b0), oc_huff_trees_copy(dec+0xc9f8, + setup) and oc_state_clear (0xae1100) on failure; only caller FUN_00ade980 (th_decode_alloc) */ + +int oc_dec_init(int param_1,undefined4 param_2,int param_3) { int iVar1; @@ -1131283,7 +1133684,7 @@ int FUN_00add260(int param_1,undefined4 param_2,int param_3) iVar10 = iVar10 + -1; piVar9 = piVar9 + 6; } while (iVar10 != 0); - FUN_00ae2200(param_1 + 0x398,param_1 + 0xd148,param_3 + 0x140); + oc_dequant_tables_init(param_1 + 0x398,param_1 + 0xd148,param_3 + 0x140); local_10 = (int *)(param_1 + 0xd248); local_18 = 0x40; local_14 = (int *)(param_1 + 0x3a0); @@ -1132334,9 +1134735,11 @@ void oc_filter_vedge(int param_1,int param_2,int param_3,int param_4,int *param_ } -//@@ 00ade980 FUN_00ade980 +//@@ 00ade980 th_decode_alloc -int FUN_00ade980(int param_1,int param_2) +/* DB: libtheora (round 7 agent) */ + +int th_decode_alloc(int param_1,int param_2) { int iVar1; @@ -1132347,7 +1134750,7 @@ int FUN_00ade980(int param_1,int param_2) } iVar1 = FUN_00adbdd0(0xdf60,0x10); if (iVar1 != 0) { - iVar2 = FUN_00add260(iVar1,param_1,param_2); + iVar2 = oc_dec_init(iVar1,param_1,param_2); if (-1 < iVar2) { *(undefined4 *)(iVar1 + 0x380) = 0; *(undefined4 *)(iVar1 + 900) = 0; @@ -1133161,9 +1135564,13 @@ void FUN_00adf970(undefined2 *param_1) } -//@@ 00adf9a0 FUN_00adf9a0 +//@@ 00adf9a0 oc_comment_unpack -undefined4 FUN_00adf9a0(undefined4 param_1,int *param_2) +/* DB: libtheora decinfo.c: 4x8-bit vendor length, malloc(len+1) vendor -> tc[3], ncomments with + 0x1fffffff/remaining-bytes checks, mallocs user_comments/comment_lengths; caller oc_dec_headerin + (FUN_00adfbc0) */ + +undefined4 oc_comment_unpack(undefined4 param_1,int *param_2) { undefined1 uVar1; @@ -1133259,9 +1135666,13 @@ LAB_00adfb7d: } -//@@ 00adfbc0 FUN_00adfbc0 +//@@ 00adfbc0 oc_dec_headerin -int FUN_00adfbc0(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5) +/* DB: libtheora decinfo.c: reads 6 header bytes "theora" (0x6f656874/0x6172), packet type 0x80 info + (oc_info_unpack 00adfdd0), 0x81 comment, 0x82 setup, TH_EBADHEADER -0x14 on b_o_s mismatch; + caller th_decode_headerin 00adff90 */ + +int oc_dec_headerin(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5) { undefined1 uVar1; @@ -1133307,7 +1135718,7 @@ int FUN_00adfbc0(undefined4 param_1,int param_2,int param_3,int *param_4,int par if (*(int *)(param_3 + 0xc) != 0) { return -0x14; } - iVar2 = FUN_00adf9a0(param_1,param_3); + iVar2 = oc_comment_unpack(param_1,param_3); if (iVar2 < 0) { FUN_00adf8f0(param_3); return iVar2; @@ -1133336,7 +1135747,7 @@ int FUN_00adfbc0(undefined4 param_1,int param_2,int param_3,int *param_4,int par if (_Memory == (void *)0x0) { return -1; } - iVar2 = FUN_00ae2e70(param_1,(int)_Memory + 0x140); + iVar2 = oc_quant_params_unpack(param_1,(int)_Memory + 0x140); if ((iVar2 < 0) || (iVar2 = FUN_00ae2bf0(param_1,_Memory), iVar2 < 0)) { FUN_00ae2d60((int)_Memory + 0x140); FUN_00ae2ad0(_Memory); @@ -1133487,7 +1135898,7 @@ undefined4 FUN_00adffc0(int param_1,undefined4 param_2,undefined4 param_3,undefi return 0xffffffff; } FUN_00ae2630(local_18,*param_4,param_4[1]); - uVar1 = FUN_00adfbc0(local_18,param_1,param_2,param_3,param_4); + uVar1 = oc_dec_headerin(local_18,param_1,param_2,param_3,param_4); return uVar1; } @@ -1133581,9 +1135992,12 @@ void FUN_00ae01d0(undefined2 *param_1,undefined2 *param_2) } -//@@ 00ae0200 FUN_00ae0200 +//@@ 00ae0200 loop_filter_h -void FUN_00ae0200(byte *param_1,int param_2,int param_3) +/* DB: libtheora state.c: 8 rows, f=_bv[(p[-2]-p[1]+3*(p[0]-p[-1])+4)>>3], clamp p[-1]+f / p[0]-f, + step ystride; called twice from FUN_00ae1b60 (oc_state_loop_filter_frag_rows) */ + +void loop_filter_h(byte *param_1,int param_2,int param_3) { byte bVar1; @@ -1133668,9 +1136082,13 @@ void FUN_00ae0200(byte *param_1,int param_2,int param_3) } -//@@ 00ae05b0 FUN_00ae05b0 +//@@ 00ae05b0 loop_filter_v -void FUN_00ae05b0(byte *param_1,int param_2,int param_3) +/* DB: libtheora state.c static loop_filter_v: _pix-=2*ystride, for 8 columns + f=bv[(p0-p3+3*(p2-p1)+4)>>3], clamp p1+f / p2-f; called with loop_filter_h (FUN_00ae0200) from + oc_state_loop_filter_frag_rows (FUN_00ae1b60) */ + +void loop_filter_v(byte *param_1,int param_2,int param_3) { byte *pbVar1; @@ -1133853,19 +1136271,24 @@ void FUN_00ae0b30(int param_1) *(code **)(param_1 + 0x48) = FUN_00ae36c0; *(code **)(param_1 + 0x4c) = FUN_00ae34f0; *(code **)(param_1 + 0x50) = FUN_00ae32f0; - *(code **)(param_1 + 0x54) = FUN_00ae3dc0; + *(code **)(param_1 + 0x54) = oc_idct8x8_c; *(code **)(param_1 + 0x58) = FUN_00ae1160; *(code **)(param_1 + 0x5c) = FUN_00ae09a0; - *(code **)(param_1 + 0x60) = FUN_00ae1b60; + *(code **)(param_1 + 0x60) = oc_state_loop_filter_frag_rows; *(code **)(param_1 + 100) = guard_check_icall; *(undefined **)(param_1 + 0x68) = &DAT_00b18c80; return; } -//@@ 00ae0b90 FUN_00ae0b90 +//@@ 00ae0b90 oc_state_border_init -void FUN_00ae0b90(int param_1) +/* DB: libtheora state.c: called at the end of oc_state_frarray_init (00ae1330); zeroes nborders + (+0x274), walks the 3 fplanes (+0x70, stride 0x20) over frags (+0xd0) with picture crop + pic_x/pic_y/pic_width/pic_height (+0x14/+0x18/+0xc/+0x10) halved for chroma by pixel_fmt (+0x30) + and marks border/invalid fragments */ + +void oc_state_border_init(int param_1) { int iVar1; @@ -1134291,9 +1136714,14 @@ void FUN_00ae12e0(int param_1) } -//@@ 00ae1330 FUN_00ae1330 +//@@ 00ae1330 oc_state_frarray_init -undefined4 FUN_00ae1330(int param_1) +/* DB: libtheora state.c: computes fragment/superblock/macroblock counts from frame width/height>>3 + and pixel_fmt chroma decimation, calloc frags(4)/malloc + frag_mvs(2)/sb_maps(0x40)/sb_flags/mb_maps(0x30)/mb_modes/coded_fragis; called by FUN_00ae19b0 + (oc_state_init); ends with oc_state_border_init (00ae0b90) */ + +undefined4 oc_state_frarray_init(int param_1) { int iVar1; @@ -1134521,7 +1136949,7 @@ LAB_00ae1784: local_1c = (int *)((int)local_1c + 4); } while ((int)local_1c < *(int *)(param_1 + 0x74)); } - FUN_00ae0b90(param_1); + oc_state_border_init(param_1); return 0; } goto LAB_00ae1600; @@ -1134628,9 +1137056,9 @@ int FUN_00ae19b0(undefined4 *param_1,byte *param_2,undefined4 param_3) param_1[6] = (*(int *)(param_2 + 8) - *(int *)(param_2 + 0x18)) - *(int *)(param_2 + 0x10); *(undefined1 *)(param_1 + 0xe4) = 0xff; FUN_00ae3150(param_1); - iVar6 = FUN_00ae1330(param_1); + iVar6 = oc_state_frarray_init(param_1); if (-1 < iVar6) { - iVar6 = FUN_00ae1cf0(param_1,param_3); + iVar6 = oc_state_ref_bufs_init(param_1,param_3); if (-1 < iVar6) { if ((*(int *)(param_2 + 0x3c) < 0) || (0x1f < *(int *)(param_2 + 0x3c))) { param_1[0xf] = 0x1f; @@ -1134656,9 +1137084,12 @@ int FUN_00ae19b0(undefined4 *param_1,byte *param_2,undefined4 param_3) } -//@@ 00ae1b60 FUN_00ae1b60 +//@@ 00ae1b60 oc_state_loop_filter_frag_rows -void FUN_00ae1b60(int param_1,int param_2,int param_3,int param_4,int param_5,int param_6) +/* DB: libtheora (round 7 agent) */ + +void oc_state_loop_filter_frag_rows + (int param_1,int param_2,int param_3,int param_4,int param_5,int param_6) { int iVar1; @@ -1134701,16 +1137132,16 @@ void FUN_00ae1b60(int param_1,int param_2,int param_3,int param_4,int param_5,in if ((*pbVar13 & 1) != 0) { iVar11 = *(int *)(pbVar13 + (iVar5 - iVar6)) + iVar7; if (param_5 < iVar10) { - FUN_00ae0200(iVar11,iVar2,param_2); + loop_filter_h(iVar11,iVar2,param_2); } if (iVar3 < param_5) { - FUN_00ae05b0(iVar11,iVar2,param_2); + loop_filter_v(iVar11,iVar2,param_2); } if ((iVar10 + 1 < iVar1) && ((pbVar13[4] & 1) == 0)) { - FUN_00ae0200(iVar11 + 8,iVar2,param_2); + loop_filter_h(iVar11 + 8,iVar2,param_2); } if ((iVar4 + iVar10 < iVar8 + iVar3) && ((*pbVar9 & 1) == 0)) { - FUN_00ae05b0(iVar11 + iVar2 * 8,iVar2,param_2); + loop_filter_v(iVar11 + iVar2 * 8,iVar2,param_2); } } iVar10 = iVar10 + 1; @@ -1134727,9 +1137158,14 @@ void FUN_00ae1b60(int param_1,int param_2,int param_3,int param_4,int param_5,in } -//@@ 00ae1cf0 FUN_00ae1cf0 +//@@ 00ae1cf0 oc_state_ref_bufs_init -undefined4 FUN_00ae1cf0(int param_1,int *param_2) +/* DB: libtheora state.c: rejects _nrefs outside 3..6, computes padded frame sizes (+32 border, + chroma decimation from pixel_fmt), overflow checks, aligned alloc of nrefs frame buffers + + frag_buf_offs (malloc nfrags*4), fills ref_frame_bufs planes; caller oc_state_init (FUN_00ae19b0) + */ + +undefined4 oc_state_ref_bufs_init(int param_1,int *param_2) { int iVar1; @@ -1134940,9 +1137376,13 @@ float10 FUN_00ae2110(int param_1,longlong param_2) } -//@@ 00ae2200 FUN_00ae2200 +//@@ 00ae2200 oc_dequant_tables_init -void FUN_00ae2200(int param_1,int param_2,int param_3) +/* DB: libtheora dequant.c: per qti/pli/qi builds dequant tables from th_quant_info (base matrices + +0x140.., dc/ac scales), value*scale/100*4 clamped to 4096, pp_dc_scale = qi/160 written to + param_2; from the decoder init FUN_00add260 (<- th_decode_alloc area 00ade980) */ + +void oc_dequant_tables_init(int param_1,int param_2,int param_3) { uint *puVar1; @@ -1135325,9 +1137765,13 @@ uint oc_huff_token_decode(undefined4 *param_1,int param_2) } -//@@ 00ae27f0 FUN_00ae27f0 +//@@ 00ae27f0 oc_huff_tree_collapse -int FUN_00ae27f0(int param_1,int param_2,char param_3) +/* DB: libtheora huffdec.c: (tree or NULL, tokens[][2], ntokens): called twice from + oc_huff_trees_unpack (00ae2bf0) - first to size the tree, then to fill it; local depth/node + stacks (short[34], byte[35]), uses oc_huff_subtree_tokens (00ae26e0) */ + +int oc_huff_tree_collapse(int param_1,int param_2,char param_3) { byte bVar1; @@ -1135671,7 +1138115,7 @@ LAB_00ae2cb0: if (iVar9 < 0) { return iVar9; } - uVar8 = FUN_00ae27f0(0,local_210,iVar9); + uVar8 = oc_huff_tree_collapse(0,local_210,iVar9); if (0x7fff < uVar8) { return -0x17; } @@ -1135679,7 +1138123,7 @@ LAB_00ae2cb0: if (pvVar5 == (void *)0x0) { return -1; } - FUN_00ae27f0(pvVar5,local_210,iVar9); + oc_huff_tree_collapse(pvVar5,local_210,iVar9); *(void **)(param_2 + local_10 * 4) = pvVar5; local_10 = local_10 + 1; if (0x4f < local_10) { @@ -1135739,9 +1138183,14 @@ void FUN_00ae2d60(int param_1) } -//@@ 00ae2e70 FUN_00ae2e70 +//@@ 00ae2e70 oc_quant_params_unpack -undefined4 FUN_00ae2e70(undefined4 param_1,int param_2) +/* DB: libtheora dequant.c: called from the theora setup header decoder FUN_00adfbc0 on + calloc(1,0x2c8)+0x140; reads with oc_pack_read (FUN_00ae25e0): 3-bit nbits then 64 loop filter + limits, 4-bit AC scale bits x64, DC scale x64, 9-bit base matrix count, 64-byte base matrices, + oc_ilog, per qi/pli range reading with oc_pack_read1 */ + +undefined4 oc_quant_params_unpack(undefined4 param_1,int param_2) { int *piVar1; @@ -1135925,7 +1138374,7 @@ void FUN_00ae3150(int param_1) { uint uVar1; - uVar1 = FUN_00ae4210(); + uVar1 = oc_cpu_flags_get(); *(uint *)(param_1 + 0x6c) = uVar1; if ((uVar1 & 1) == 0) { FUN_00ae0b30(); @@ -1135936,10 +1138385,10 @@ void FUN_00ae3150(int param_1) *(code **)(param_1 + 0x48) = FUN_00ae4750; *(code **)(param_1 + 0x4c) = FUN_00ae46e0; *(code **)(param_1 + 0x50) = FUN_00ae4630; - *(code **)(param_1 + 0x54) = FUN_00ae4830; + *(code **)(param_1 + 0x54) = oc_idct8x8_mmx; *(code **)(param_1 + 0x58) = FUN_00ae5260; *(code **)(param_1 + 0x5c) = FUN_00ae5240; - *(code **)(param_1 + 0x60) = FUN_00ae53b0; + *(code **)(param_1 + 0x60) = oc_state_loop_filter_frag_rows_mmx; *(undefined1 **)(param_1 + 100) = &LAB_00ae4820; *(undefined **)(param_1 + 0x68) = &DAT_00b193d0; return; @@ -1136338,9 +1138787,11 @@ void FUN_00ae3830(short *param_1,short *param_2) } -//@@ 00ae39c0 FUN_00ae39c0 +//@@ 00ae39c0 idct8_2 -void FUN_00ae39c0(short *param_1,short *param_2) +/* DB: libtheora (round 7 agent) */ + +void idct8_2(short *param_1,short *param_2) { short sVar1; @@ -1136415,9 +1138866,12 @@ void FUN_00ae3a70(short *param_1,short *param_2) } -//@@ 00ae3b90 FUN_00ae3b90 +//@@ 00ae3b90 oc_idct8x8_10 -void FUN_00ae3b90(int param_1,undefined4 *param_2) +/* DB: libtheora idct.c (C path): called from oc_idct8x8_c (00ae3dc0) when 4 <= last_zzi < 11 + (last_zzi < 4 runs the inlined oc_idct8x8_3 using idct8_2 00ae39c0) */ + +void oc_idct8x8_10(int param_1,undefined4 *param_2) { ulonglong uVar1; @@ -1136503,7 +1138957,7 @@ void FUN_00ae3b90(int param_1,undefined4 *param_2) local_62 = sVar2 + local_52; local_52 = local_52 - sVar2; local_32 = (short)local_c - local_32; - FUN_00ae39c0(local_90,param_2 + 8); + idct8_2(local_90,param_2 + 8); puVar14 = local_94; local_8e = (undefined2)((uint)(*(short *)(param_2 + 0xc) * 0xb505) >> 0x10); iVar8 = 8; @@ -1136638,9 +1139092,11 @@ void FUN_00ae3b90(int param_1,undefined4 *param_2) } -//@@ 00ae3dc0 FUN_00ae3dc0 +//@@ 00ae3dc0 oc_idct8x8_c -void FUN_00ae3dc0(int param_1,undefined4 *param_2,int param_3) +/* DB: libtheora (round 7 agent) */ + +void oc_idct8x8_c(int param_1,undefined4 *param_2,int param_3) { ulonglong uVar1; @@ -1136681,7 +1139137,7 @@ void FUN_00ae3dc0(int param_1,undefined4 *param_2,int param_3) undefined2 local_12; if (param_3 < 4) { - FUN_00ae39c0(local_84,param_2); + idct8_2(local_84,param_2); puVar9 = local_84; local_82 = (undefined2)((uint)(*(short *)(param_2 + 4) * 0xb505) >> 0x10); iVar8 = 8; @@ -1136695,7 +1139151,7 @@ void FUN_00ae3dc0(int param_1,undefined4 *param_2,int param_3) local_12 = local_82; do { iVar7 = iVar8; - FUN_00ae39c0(iVar10,puVar9); + idct8_2(iVar10,puVar9); puVar9 = puVar9 + 0x10; iVar10 = iVar10 + 2; iVar8 = iVar7 + -1; @@ -1136811,17 +1139267,21 @@ void FUN_00ae3dc0(int param_1,undefined4 *param_2,int param_3) return; } if (param_3 < 0xb) { - FUN_00ae3b90(); + oc_idct8x8_10(); return; } - FUN_00ae3f40(param_1,param_2); + oc_idct8x8_slow(param_1,param_2); return; } -//@@ 00ae3f40 FUN_00ae3f40 +//@@ 00ae3f40 oc_idct8x8_slow -void FUN_00ae3f40(int param_1,undefined4 *param_2) +/* DB: libtheora idct.c (C path): (y, x) two-pass 8x8 IDCT through idct8 (00ae3830); reached from + oc_idct8x8_c (00ae3dc0, stored at [eax+0x54] by oc_state_accel_init_c at ae0b60) when last_zzi >= + 11 */ + +void oc_idct8x8_slow(int param_1,undefined4 *param_2) { ulonglong uVar1; @@ -1137078,9 +1139538,14 @@ void FUN_00ae3f40(int param_1,undefined4 *param_2) } -//@@ 00ae4210 FUN_00ae4210 +//@@ 00ae4210 oc_cpu_flags_get -uint FUN_00ae4210(void) +/* DB: libtheora x86/x86state.c: cpuid vendor checks "GenuineIntel" + (0x756e6547/0x49656e69/0x6c65746e), "AuthenticAMD", "CentaurHauls", " + UMC"/"NexGenDriven"/"Cyrix", extended leaf 0x80000001; result used by oc_state_accel_init_x86 + (call at ae3153) */ + +uint oc_cpu_flags_get(void) { uint uVar1; @@ -1138019,9 +1140484,15 @@ void FUN_00ae4750(undefined8 *param_1,int param_2,undefined8 *param_3) } -//@@ 00ae4830 FUN_00ae4830 +//@@ 00ae4830 oc_idct8x8_mmx -void FUN_00ae4830(undefined8 *param_1,undefined8 *param_2,int param_3) +/* DB: libtheora x86/mmxidct.c: stored in the state accel vtable ([ecx+0x54] in + oc_state_accel_init_x86 at ae3185), (y,x,last_zzi): last_zzi < 11 runs the inlined + oc_idct8x8_10_mmx path (pmulhw OC_C3S5 0xd4db, OC_C5S3 0x8e3a, OC_C1S7 0xfb15, OC_C7S1 0x31f1, + OC_C2S6 0xec83), else calls 00ae4bf0 oc_idct8x8_mmx oc_idct8x8_slow_mmx, currently misnamed oc_idct8x8_mmx); + also called by FUN_00ae5260 */ + +void oc_idct8x8_mmx(undefined8 *param_1,undefined8 *param_2,int param_3) { short sVar1; @@ -1139171,7 +1141642,7 @@ void FUN_00ae5260(int param_1,int param_2,int param_3,short *param_4,int param_5 } else { *param_4 = *param_4 * param_6; - FUN_00ae4830(psVar1,param_4,param_5); + oc_idct8x8_mmx(psVar1,param_4,param_5); } iVar5 = *(int *)(*(int *)(param_1 + 0xd4) + param_2 * 4); iVar6 = *(int *)(param_1 + 0x254) + iVar5; @@ -1139193,10 +1141664,14 @@ void FUN_00ae5260(int param_1,int param_2,int param_3,short *param_4,int param_5 } -//@@ 00ae53b0 FUN_00ae53b0 +//@@ 00ae53b0 oc_state_loop_filter_frag_rows_mmx -void FUN_00ae53b0(int param_1,undefined8 *param_2,byte *param_3,int param_4,byte *param_5, - int param_6) +/* DB: libtheora oc_state_accel_init_x86 (00ae3150): opt_vtable +0x60 after + state_frag_recon(+0x58)/loop_filter_init(+0x5c), before restore_fpu(+0x64); 6 args + (_state,_bv,_refi,_pli,_fragy0,_fragy_end), MMX code */ + +void oc_state_loop_filter_frag_rows_mmx + (int param_1,undefined8 *param_2,byte *param_3,int param_4,byte *param_5,int param_6) { undefined4 *puVar1; @@ -1140244,14 +1142719,20 @@ uint mi_manage_os_memory_ex void FUN_00ae5fd0(undefined4 param_1,undefined4 param_2,undefined4 param_3) { - FUN_00ae5ff0(param_1,param_2,param_3,0,0); + mi_reserve_huge_os_pages_at_ex(param_1,param_2,param_3,0,0); return; } -//@@ 00ae5ff0 FUN_00ae5ff0 +//@@ 00ae5ff0 mi_reserve_huge_os_pages_at_ex -undefined4 FUN_00ae5ff0(int param_1,uint param_2,undefined4 param_3,undefined1 param_4,int *param_5) +/* DB: mimalloc arena.c: (pages, numa_node, timeout_msecs, exclusive, arena_id*), 'failed to reserve + %%zu GiB huge pages', 'numa node %%i: reserved %%zu GiB huge pages (of the %%zu GiB requested)'; + callers mi_reserve_huge_os_pages_at (0xae5fd0) and _interleave (0xae6230) */ + +undefined4 +mi_reserve_huge_os_pages_at_ex + (int param_1,uint param_2,undefined4 param_3,undefined1 param_4,int *param_5) { int *_Dst; @@ -1140431,7 +1142912,7 @@ int FUN_00ae6230(uint param_1,uint param_2,uint param_3) if (uVar5 <= param_1) { uVar6 = uVar1; } - iVar2 = FUN_00ae5ff0(uVar6,param_1,local_14,0,0); + iVar2 = mi_reserve_huge_os_pages_at_ex(uVar6,param_1,local_14,0,0); if (iVar2 != 0) { ExceptionList = local_10; return iVar2; @@ -1140907,7 +1143388,7 @@ undefined4 FUN_00ae6b50(void) { int iVar1; - FUN_00ae9f10(); + mi_thread_init(); iVar1 = *(int *)((int)ThreadLocalStoragePointer + _tls_index * 4); if (*(char *)(iVar1 + 0x10) == '\0') { FUN_00aeff45(); @@ -1140928,7 +1143409,7 @@ int * FUN_00ae6b80(int param_1) int *piVar5; int *piVar6; - FUN_00ae9f10(); + mi_thread_init(); iVar4 = *(int *)((int)ThreadLocalStoragePointer + _tls_index * 4); if (*(char *)(iVar4 + 0x10) == '\0') { FUN_00aeff45(); @@ -1141609,11 +1144090,11 @@ void FUN_00ae7510(undefined4 param_1,int param_2,undefined1 param_3) char local_44 [64]; if (DAT_00bf805c == 0) { - FUN_00ae7b70(&DAT_00bf8058); + mi_option_init(&DAT_00bf8058); } if (DAT_00bf8058 == 0) { if (DAT_00bf8034 == 0) { - FUN_00ae7b70(&DAT_00bf8030); + mi_option_init(&DAT_00bf8030); } if (DAT_00bf8030 == 0) goto LAB_00ae7695; if (-1 < DAT_00bf8028) { @@ -1141776,7 +1144257,7 @@ void FUN_00ae7810(void) puVar5 = &DAT_00bf8030; do { if ((uVar4 < 0x19) && (puVar5[1] == 0)) { - FUN_00ae7b70(puVar5); + mi_option_init(puVar5); } if (uVar4 != 2) { FUN_00ae7930("option \'%s\': %ld\n",puVar5[3],*puVar5); @@ -1141785,11 +1144266,11 @@ void FUN_00ae7810(void) uVar4 = uVar4 + 1; } while ((int)puVar5 < 0xbf8224); if (DAT_00bf81b0 == 0) { - FUN_00ae7b70(&DAT_00bf81ac); + mi_option_init(&DAT_00bf81ac); } DAT_00bf8028 = DAT_00bf81ac; if (DAT_00bf81c4 == 0) { - FUN_00ae7b70(&DAT_00bf81c0); + mi_option_init(&DAT_00bf81c0); } DAT_00bf802c = DAT_00bf81c0; return; @@ -1141809,7 +1144290,7 @@ void FUN_00ae7930(int param_1,undefined1 param_2) undefined1 local_204 [512]; if (DAT_00bf805c == 0) { - FUN_00ae7b70(&DAT_00bf8058); + mi_option_init(&DAT_00bf8058); } if ((DAT_00bf8058 != 0) && (param_1 != 0)) { cVar2 = FUN_00ae7fb0(); @@ -1141850,11 +1144331,11 @@ void FUN_00ae79e0(int param_1,undefined1 param_2) char local_44 [64]; if (DAT_00bf805c == 0) { - FUN_00ae7b70(&DAT_00bf8058); + mi_option_init(&DAT_00bf8058); } if (DAT_00bf8058 == 0) { if (DAT_00bf8034 == 0) { - FUN_00ae7b70(&DAT_00bf8030); + mi_option_init(&DAT_00bf8030); } if (DAT_00bf8030 == 0) { return; @@ -1141922,9 +1144403,13 @@ void FUN_00ae79e0(int param_1,undefined1 param_2) } -//@@ 00ae7b70 FUN_00ae7b70 +//@@ 00ae7b70 mi_option_init -void FUN_00ae7b70(uint *param_1) +/* DB: mimalloc options.c: builds 'mimalloc_'+name, reads env var, parses + '1;TRUE;YES;ON'/'0;FALSE;NO;OFF', warns 'environment option mimalloc_%%s has an invalid value' / + 'is deprecated'; called by all mi_option_get variants */ + +void mi_option_init(uint *param_1) { uint *puVar1; @@ -1142248,7 +1144733,7 @@ undefined4 FUN_00ae8000(uint param_1) return 0; } if ((&DAT_00bf8034)[param_1 * 5] == 0) { - FUN_00ae7b70(&DAT_00bf8030 + param_1 * 5); + mi_option_init(&DAT_00bf8030 + param_1 * 5); } return (&DAT_00bf8030)[param_1 * 5]; } @@ -1142263,7 +1144748,7 @@ int FUN_00ae8040(uint param_1,int param_2,int param_3) if (param_1 < 0x19) { if ((&DAT_00bf8034)[param_1 * 5] == 0) { - FUN_00ae7b70(&DAT_00bf8030 + param_1 * 5); + mi_option_init(&DAT_00bf8030 + param_1 * 5); } iVar1 = (&DAT_00bf8030)[param_1 * 5]; } @@ -1142291,7 +1144776,7 @@ undefined4 FUN_00ae8090(uint param_1) return 0; } if ((&DAT_00bf8034)[param_1 * 5] == 0) { - FUN_00ae7b70(&DAT_00bf8030 + param_1 * 5); + mi_option_init(&DAT_00bf8030 + param_1 * 5); } iVar1 = (&DAT_00bf8030)[param_1 * 5]; return CONCAT31((int3)((uint)iVar1 >> 8),iVar1 != 0); @@ -1144336,7 +1146821,7 @@ void FUN_00ae9de0(void) FUN_00ae8670(); FUN_00ae9cc0(); FUN_00ae7930("secure level: %d\n",0); - FUN_00ae9f10(); + mi_thread_init(); FlsSetValue(DAT_00bf92e8,(PVOID)0x0); FUN_00aeefd0(); cVar1 = FUN_00ae8090(7); @@ -1144360,9 +1146845,14 @@ void FUN_00ae9de0(void) } -//@@ 00ae9f10 FUN_00ae9f10 +//@@ 00ae9f10 mi_thread_init -void * FUN_00ae9f10(void) +/* DB: mimalloc init.c: calls mi_process_init (FUN_00ae9de0), if the thread's default heap is the + empty heap: main thread -> heap main init, else takes a cached td or _mi_os_alloc(0xa68) ('unable + to allocate thread local heap metadata (%zu bytes)'), copies _mi_heap_empty/tld_empty, random + keys, FlsSetValue, stat threads++ */ + +void * mi_thread_init(void) { int iVar1; @@ -1144507,7 +1146997,7 @@ void FUN_00aea110(uint param_1) void FUN_00aea170(undefined4 param_1) { - FUN_00aea6b0(param_1,0); + mi_random_init_ex(param_1,0); return; } @@ -1144517,7 +1147007,7 @@ void FUN_00aea170(undefined4 param_1) void FUN_00aea190(undefined4 param_1) { - FUN_00aea6b0(param_1,1); + mi_random_init_ex(param_1,1); return; } @@ -1144532,7 +1147022,7 @@ undefined4 FUN_00aea1b0(int param_1) iVar2 = *(int *)(param_1 + 0x80); if (iVar2 < 1) { - FUN_00aea2a0(param_1); + chacha_block(param_1); *(undefined4 *)(param_1 + 0x80) = 0x10; iVar2 = 0x10; } @@ -1144549,7 +1147039,7 @@ void FUN_00aea200(int param_1) { if (*(char *)(param_1 + 0x84) != '\0') { - FUN_00aea6b0(param_1,0); + mi_random_init_ex(param_1,0); } return; } @@ -1144609,14 +1147099,17 @@ void FUN_00aea220(undefined4 *param_1,undefined4 *param_2) param_2[0xd] = 0; param_2[0xe] = param_2; param_2[0xf] = 0; - FUN_00aea2a0(param_2); + chacha_block(param_2); return; } -//@@ 00aea2a0 FUN_00aea2a0 +//@@ 00aea2a0 chacha_block -void FUN_00aea2a0(uint *param_1) +/* DB: mimalloc random.c: copies 16-word ctx->input, 10 double rounds (local=10), adds input back, + bumps 64-bit counter; callers 0xaea1b0/0xaea220 (chacha_next32 / mi_random_split region) */ + +void chacha_block(uint *param_1) { uint *puVar1; @@ -1144815,9 +1147308,14 @@ void FUN_00aea540(undefined4 *param_1,undefined4 *param_2,undefined4 param_3,und } -//@@ 00aea6b0 FUN_00aea6b0 +//@@ 00aea6b0 mi_random_init_ex -void FUN_00aea6b0(int param_1,char param_2) +/* DB: mimalloc random.c: BCryptGenRandom for the 32-byte key, on failure "unable to use secure + randomness\n" and weak seed with _mi_random_shuffle constants 0x7feb352d/0x846ca68b, then chacha + init; 3 callers = _mi_random_init / _mi_random_init_weak / _mi_random_reinit_if_weak + (00aea170/00aea190/00aea200) */ + +void mi_random_init_ex(int param_1,char param_2) { NTSTATUS NVar1; @@ -1146179,7 +1148677,7 @@ int * FUN_00aebdb0(undefined4 param_1,undefined4 param_2,undefined4 param_3,unde int *local_8; local_8 = (int *)0x0; - iVar1 = FUN_00aebe30(0,param_1,param_2,param_3,param_4,param_5,&local_8); + iVar1 = mi_segment_alloc(0,param_1,param_2,param_3,param_4,param_5,&local_8); if ((iVar1 == 0) || (local_8 == (int *)0x0)) { return (int *)0x0; } @@ -1146195,11 +1148693,16 @@ int * FUN_00aebdb0(undefined4 param_1,undefined4 param_2,undefined4 param_3,unde } -//@@ 00aebe30 FUN_00aebe30 +//@@ 00aebe30 mi_segment_alloc + +/* DB: mimalloc segment.c (v2, 32-bit): mi_segment_calculate_slices inlined (info size 0x189f + rounded to _mi_os_page_size, slices of 1<<15, default segment 0x400000), option checks, arena/OS + alloc, memset of the slice table; callers 00aebdb0/00aec9d0 (mi_segment_reclaim_or_alloc / + mi_segment_huge_page_alloc) */ undefined4 * -FUN_00aebe30(undefined4 *param_1,int param_2,int param_3,undefined4 param_4,int param_5, - undefined4 param_6,undefined4 *param_7) +mi_segment_alloc(undefined4 *param_1,int param_2,int param_3,undefined4 param_4,int param_5, + undefined4 param_6,undefined4 *param_7) { undefined1 uVar1; @@ -1146430,7 +1148933,7 @@ code_r0x00aec14a: } puVar6[0x14] = 0; if (puVar6[0x18] == 0) { - FUN_00aec650(puVar6,uVar3,puVar6[0x1a] - uVar3); + mi_segment_span_free(puVar6,uVar3,puVar6[0x1a] - uVar3); return puVar6; } uVar8 = FUN_00aec4f0(puVar6,uVar3,uVar4 - uVar3,param_5); @@ -1146611,11 +1149114,15 @@ LAB_00aec55b: } -//@@ 00aec650 FUN_00aec650 +//@@ 00aec650 mi_segment_span_free /* WARNING: Removing unreachable block (ram,0x00aec7b8) */ +/* DB: mimalloc v2 segment.c: (segment, slice_index, slice_count, tld): span queue only if kind != + HUGE (+0x60 == 1) and thread id (+0x64) set, slice_count 0 -> 1, first/last slice (0x30 each, + offset (count-1)*0x30), inlined mi_segment_schedule_purge (option 0xf, 32 KiB slices, 4 MiB + segment mask 0xffc00000) via _mi_os commit/purge FUN_00aeb9b0/aeb880 */ -void FUN_00aec650(int param_1,int param_2,int *param_3,int param_4) +void mi_segment_span_free(int param_1,int param_2,int *param_3,int param_4) { uint *puVar1; @@ -1146739,8 +1149246,9 @@ int * FUN_00aec850(int *param_1,undefined4 param_2) (iVar1 = iVar1 + *piVar3, param_1 = piVar3, bVar4)) { FUN_00aec930(piVar3,param_2); } - FUN_00aec650(uVar2,(int)((int)param_1 + (-0x6c - ((int)param_1 - 1U & 0xffc00000))) / 0x30,iVar1, - param_2); + mi_segment_span_free + (uVar2,(int)((int)param_1 + (-0x6c - ((int)param_1 - 1U & 0xffc00000))) / 0x30,iVar1, + param_2); return param_1; } @@ -1146872,7 +1149380,7 @@ LAB_00aecaf7: UNLOCK(); } } - iVar5 = FUN_00aebe30(0,0,0,*(undefined4 *)(param_1 + 0x594),iVar9,param_6,0); + iVar5 = mi_segment_alloc(0,0,0,*(undefined4 *)(param_1 + 0x594),iVar9,param_6,0); if (iVar5 == 0) { return 0; } @@ -1146944,7 +1149452,7 @@ LAB_00aecbe7: puVar1[6] = 1; if (uVar3 < uVar5) { iVar4 = (int)puVar1 - (int)puVar8; - FUN_00aec650(puVar8,(iVar4 + -0x6c) / 0x30 + uVar3,uVar5 - uVar3,param_3); + mi_segment_span_free(puVar8,(iVar4 + -0x6c) / 0x30 + uVar3,uVar5 - uVar3,param_3); *puVar1 = uVar3; uVar5 = uVar3; } @@ -1147247,7 +1149755,7 @@ undefined1 * FUN_00aed000(int *param_1,undefined4 param_2,undefined4 param_3,und ExceptionList = &local_10; if (param_1 == &DAT_00bf8240) { ExceptionList = &local_10; - FUN_00ae9f10(); + mi_thread_init(); iVar3 = *(int *)((int)ThreadLocalStoragePointer + _tls_index * 4); if (*(char *)(iVar3 + 0x10) == '\0') { FUN_00aeff45(); @@ -1147268,10 +1149776,10 @@ undefined1 * FUN_00aed000(int *param_1,undefined4 param_2,undefined4 param_3,und *(undefined1 *)(*param_1 + 8) = 0; } FUN_00aecf90(param_1); - iVar3 = FUN_00aed6a0(param_1,param_2,param_4); + iVar3 = mi_find_page(param_1,param_2,param_4); if (iVar3 == 0) { FUN_00ae6920(param_1,1); - iVar3 = FUN_00aed6a0(param_1,param_2,param_4); + iVar3 = mi_find_page(param_1,param_2,param_4); if (iVar3 == 0) { FUN_00ae7510(0xc,"unable to allocate memory (%zu bytes)\n",param_2); ExceptionList = local_10; @@ -1147697,9 +1150205,14 @@ uint FUN_00aed620(int param_1) } -//@@ 00aed6a0 FUN_00aed6a0 +//@@ 00aed6a0 mi_find_page -int FUN_00aed6a0(int *param_1,int *param_2,int param_3) +/* DB: mimalloc page.c mi_find_page(heap, size, huge_alignment): size <= 0x10000 && no alignment -> + bin (FUN_00aed620 _mi_bin), heap->pages[bin] first page, _mi_page_free_collect (FUN_00aed1f0), + else mi_page_queue_find_free_ex (FUN_00aedb40); "allocation request is too large (%zu bytes)"; + from _mi_malloc_generic FUN_00aed000 */ + +int mi_find_page(int *param_1,int *param_2,int param_3) { int iVar1; @@ -1147724,7 +1150237,7 @@ int FUN_00aed6a0(int *param_1,int *param_2,int param_3) iVar3 = (uVar2 & 0xff) * 3 + 0x82; iVar1 = param_1[iVar3]; if ((iVar1 == 0) || (FUN_00aed1f0(iVar1,0), *(int *)(iVar1 + 0x10) == 0)) { - iVar3 = FUN_00aedb40(param_1,param_1 + iVar3,1); + iVar3 = mi_page_queue_find_free_ex(param_1,param_1 + iVar3,1); ExceptionList = local_10; return iVar3; } @@ -1147962,9 +1150475,15 @@ void FUN_00aedab0(int *param_1,int *param_2,int param_3) } -//@@ 00aedb40 FUN_00aedb40 +//@@ 00aedb40 mi_page_queue_find_free_ex -int FUN_00aedb40(int *param_1,int *param_2,char param_3) +/* DB: mimalloc page.c: (heap, pq, first_try): walks pq->first pages (_mi_page_free_collect + 00aed1f0, ...); when none is free runs the inlined _mi_heap_collect_retired over + heap->pages[page_retired_min..max] (heap+0x630/+0x634, MI_BIN_FULL 0x4a, retire_expire byte +0xf) + then mi_page_fresh via _mi_segment_page_alloc (00aeb300); on failure with first_try recurses once + with first_try=0; callers mi_find_free_page (00aed6a0) and itself */ + +int mi_page_queue_find_free_ex(int *param_1,int *param_2,char param_3) { int iVar1; @@ -1148036,7 +1150555,7 @@ int FUN_00aedb40(int *param_1,int *param_2,char param_3) if (param_3 == '\0') { return 0; } - iVar4 = FUN_00aedb40(param_1,param_2,0); + iVar4 = mi_page_queue_find_free_ex(param_1,param_2,0); return iVar4; } iVar4 = *param_1; @@ -1148212,16 +1150731,20 @@ void FUN_00aedf50(void **param_1) { if (param_1 != &_mi_stats_main) { - FUN_00aeeca0(&_mi_stats_main,param_1); + mi_stats_add(&_mi_stats_main,param_1); memset(param_1,0,0x240); } return; } -//@@ 00aedf80 FUN_00aedf80 +//@@ 00aedf80 _mi_stats_print -void FUN_00aedf80(int param_1,undefined4 param_2,undefined4 param_3) +/* DB: mimalloc stats.c: format strings "%10s: %10s %10s %10s..." / "heap stats" / "process" / + "elapsed" / "numa nodes"; called by FUN_00aeef70 (mi_stats_print_out: merge thread stats via + mi_stats_add then _mi_stats_print(&_mi_stats_main, out, 0)) */ + +void _mi_stats_print(int param_1,undefined4 param_2,undefined4 param_3) { uint uVar1; @@ -1148261,15 +1150784,15 @@ void FUN_00aedf80(int param_1,undefined4 param_2,undefined4 param_3) FUN_00ae76c0(FUN_00aee560,&local_24,"%10s: %10s %10s %10s %10s %10s %10s\n","heap stats","peak " ,"total ","freed ","current ","unit ","count "); iVar4 = param_1; - FUN_00aee850(param_1 + 0x40,"reserved",1,0,FUN_00aee560,&local_24); - FUN_00aee850(iVar4 + 0x60,"committed",1,0,FUN_00aee560,&local_24); - FUN_00aee850(iVar4 + 0x80,"reset",1,0,FUN_00aee560,&local_24); - FUN_00aee850(iVar4 + 0xa0,"touched",1,0,FUN_00aee560,&local_24); - FUN_00aee850(iVar4,"segments",0xffffffff,0xffffffff,FUN_00aee560,&local_24); - FUN_00aee850(iVar4 + 0xc0,"-abandoned",0xffffffff,0xffffffff,FUN_00aee560,&local_24); - FUN_00aee850(iVar4 + 0x1a0,"-cached",0xffffffff,0xffffffff,FUN_00aee560,&local_24); - FUN_00aee850(iVar4 + 0x20,"pages",0xffffffff,0xffffffff,FUN_00aee560,&local_24); - FUN_00aee850(iVar4 + 0xe0,"-abandoned",0xffffffff,0xffffffff,FUN_00aee560,&local_24); + mi_stat_print_ex(param_1 + 0x40,"reserved",1,0,FUN_00aee560,&local_24); + mi_stat_print_ex(iVar4 + 0x60,"committed",1,0,FUN_00aee560,&local_24); + mi_stat_print_ex(iVar4 + 0x80,"reset",1,0,FUN_00aee560,&local_24); + mi_stat_print_ex(iVar4 + 0xa0,"touched",1,0,FUN_00aee560,&local_24); + mi_stat_print_ex(iVar4,"segments",0xffffffff,0xffffffff,FUN_00aee560,&local_24); + mi_stat_print_ex(iVar4 + 0xc0,"-abandoned",0xffffffff,0xffffffff,FUN_00aee560,&local_24); + mi_stat_print_ex(iVar4 + 0x1a0,"-cached",0xffffffff,0xffffffff,FUN_00aee560,&local_24); + mi_stat_print_ex(iVar4 + 0x20,"pages",0xffffffff,0xffffffff,FUN_00aee560,&local_24); + mi_stat_print_ex(iVar4 + 0xe0,"-abandoned",0xffffffff,0xffffffff,FUN_00aee560,&local_24); FUN_00ae76c0(FUN_00aee560,&local_24,"%10s:","-extended"); FUN_00aee5f0(*(undefined4 *)(iVar4 + 0x1c0),*(undefined4 *)(iVar4 + 0x1c4),0xffffffff,0xffffffff, FUN_00aee560,&local_24,0); @@ -1148286,7 +1150809,7 @@ void FUN_00aedf80(int param_1,undefined4 param_2,undefined4 param_3) FUN_00aee5f0(*(undefined4 *)(iVar4 + 0x1e0),*(undefined4 *)(iVar4 + 0x1e4),0xffffffff,0xffffffff, FUN_00aee560,&local_24,0); FUN_00ae76c0(FUN_00aee560,&local_24,&DAT_00b66310); - FUN_00aee850(iVar4 + 0x100,"threads",0xffffffff,0xffffffff,FUN_00aee560,&local_24); + mi_stat_print_ex(iVar4 + 0x100,"threads",0xffffffff,0xffffffff,FUN_00aee560,&local_24); if (*(int *)(iVar4 + 0x208) == 0 && *(int *)(iVar4 + 0x20c) == 0) { local_2c = 0; uVar6 = 0; @@ -1148550,10 +1151073,13 @@ void FUN_00aee7b0(int *param_1,int *param_2,undefined4 param_3,undefined4 param_ } -//@@ 00aee850 FUN_00aee850 +//@@ 00aee850 mi_stat_print_ex -void FUN_00aee850(uint *param_1,undefined4 param_2,uint param_3,uint param_4,undefined4 param_5, - undefined4 param_6) +/* DB: mimalloc stats.c: '%10s:' label, __alldiv amounts, ' not all freed!' / ' ok'; called 10x + from _mi_stats_print (FUN_00aedf80) */ + +void mi_stat_print_ex(uint *param_1,undefined4 param_2,uint param_3,uint param_4,undefined4 param_5, + undefined4 param_6) { uint uVar1; @@ -1148755,9 +1151281,13 @@ void FUN_00aeeb90(uint *param_1,uint param_2,int param_3) } -//@@ 00aeeca0 FUN_00aeeca0 +//@@ 00aeeca0 mi_stats_add -void FUN_00aeeca0(int param_1,int param_2) +/* DB: mimalloc stats.c: (dst, src) adds every mi_stat_count_t (+0x00..+0x1a0, 0x20 each) and + mi_stat_counter_t pairs (+0x1c0..) when dst != src; callers mi_stats_merge FUN_00aedf50 and + mi_stats_print_out FUN_00aeef70 with &_mi_stats_main */ + +void mi_stats_add(int param_1,int param_2) { if (param_1 != param_2) { @@ -1148839,10 +1151369,10 @@ void FUN_00aeef70(undefined4 param_1) piVar1 = (int *)FUN_00ae6b50(); _Dst = (void **)(*piVar1 + 0x1e8); if (_Dst != &_mi_stats_main) { - FUN_00aeeca0(&_mi_stats_main,_Dst); + mi_stats_add(&_mi_stats_main,_Dst); memset(_Dst,0,0x240); } - FUN_00aedf80(&_mi_stats_main,param_1,0); + _mi_stats_print(&_mi_stats_main,param_1,0); return; } @@ -1167477,7 +1170007,9 @@ void Unwind_00af9a53(void) void Unwind_00af9a5b(void) { - EntityConfig_Entity::~EntityConfig_Entity(); + int unaff_EBP; + + EntityConfig_Entity::~EntityConfig_Entity((EntityConfig_Entity *)(unaff_EBP + -0x10210)); return; } @@ -1170447,7 +1172979,9 @@ void Unwind_00afb5ca(void) void Unwind_00afb5d8(void) { - ItemOverlay::~ItemOverlay(); + int unaff_EBP; + + ItemOverlay::~ItemOverlay((ItemOverlay *)(*(int *)(unaff_EBP + -0x18) + 0x1c034)); return; } @@ -1200688,7 +1203222,10 @@ void Unwind_00b0bac6(void) void Unwind_00b0bad1(void) { - AchievementOverlay::~AchievementOverlay(); + int unaff_EBP; + + AchievementOverlay::~AchievementOverlay + ((AchievementOverlay *)(*(int *)(unaff_EBP + -0x10) + 0x21c1c)); return; } diff --git a/dump/calls.tsv b/dump/calls.tsv index 49499a2..d4b67b1 100644 --- a/dump/calls.tsv +++ b/dump/calls.tsv @@ -1,117 +1,117 @@ -00401140 00aef5af 00401140 00a0f4c0 -004011e0 00aef5af +00401140 00aef5af 004011e0 0041f8d0 -00401390 00aef5af +004011e0 00aef5af 00401390 0040ccd0 00401390 00aef5c4 -00402090 00aef5af +00401390 00aef5af 00402090 00a0f4c0 -00402160 00aef5af +00402090 00aef5af 00402160 00a0f4c0 -00402280 00aef5af +00402160 00aef5af 00402280 00a0f4c0 -00406740 00aef5af +00402280 00aef5af 00406740 00a0f4c0 -00406850 00aef5af +00406740 00aef5af 00406850 00a0f4e0 00406850 EXTERNAL:0000022f +00406850 00aef5af 004069e0 00af0905 004069e0 EXTERNAL:0000021c -00406af0 00aef5af 00406af0 00a0f4c0 -00406c10 00aef5af +00406af0 00aef5af 00406c10 00a0f4c0 -00406d20 00aef5af +00406c10 00aef5af 00406d20 00a0f4c0 -00406dc0 00aef5af +00406d20 00aef5af 00406dc0 00a0f4c0 00406dc0 EXTERNAL:00000005 -00406e80 00aef5af +00406dc0 00aef5af 00406e80 00a0f4c0 -00406f90 00aef5af +00406e80 00aef5af 00406f90 00a0f4c0 00406f90 EXTERNAL:00000005 +00406f90 00aef5af 00407140 00af0917 004072e0 006831c0 00407320 0040cf50 -004074c0 00407f10 004074c0 00408830 +004074c0 00407f10 00407690 004086e0 00407690 00a0f4e0 -00407690 0040e110 00407690 0040c3b0 -00407690 00408590 -00407690 00aef5c4 00407690 0040ccd0 00407690 0040cf50 +00407690 00aef5c4 +00407690 0040e110 +00407690 00408590 00407a60 0040d040 -00407e90 00407f10 00407e90 004087a0 +00407e90 00407f10 00407e90 0040d040 00407e90 00407ae0 -00407f10 0040e2b0 -00407f10 00408830 00407f10 00aef15c +00407f10 0040e2b0 00407f10 00aef638 -00408170 00407f10 +00407f10 00408830 00408170 004087a0 +00408170 00407f10 00408170 0040d040 004081d0 00408310 00408310 EXTERNAL:00000220 -00408310 00aef12b 00408310 0040ccd0 +00408310 0040cf50 00408310 00aef15c 00408310 0040c7f0 -00408310 0040cf50 +00408310 00aef12b 00408590 0040c550 00408640 0040c3b0 004086e0 00a0f4e0 004086e0 00af05df 004087a0 00a648b0 -00408830 00a648b0 00408830 00af05e5 -00408970 00a648b0 -00408970 EXTERNAL:00000262 +00408830 00a648b0 00408970 00af05df +00408970 EXTERNAL:00000262 00408970 00af05e5 +00408970 00a648b0 00408b90 00a112c0 00408c10 00a112c0 00408c90 00a112c0 00408d00 00408b90 00408d00 00a112c0 -00408d00 00408c10 -00408d00 00af0917 00408d00 00408c90 -00408e00 EXTERNAL:0000020a +00408d00 00af0917 +00408d00 00408c10 00408e00 00408b90 00408e00 00a112c0 -00408e00 00408c10 +00408e00 EXTERNAL:0000020a 00408e00 00408c90 +00408e00 00408c10 00408ef0 00408b90 00408ef0 00a112c0 00408f70 00a112c0 00408fc0 00a112c0 00408fc0 00408c10 00409030 00408d00 -00409030 00af0917 00409030 0040a1b0 +00409030 00af0917 00409100 00409030 -00409120 0040c6f0 -00409120 00409cb0 -00409120 0040c550 -00409120 007e9020 -00409120 00408590 -00409120 00aef12b -00409120 0040c440 -00409120 004098a0 -00409120 00a14050 -00409120 004071c0 -00409120 00682260 -00409120 00a14c00 00409120 00683060 +00409120 004071c0 00409120 004072e0 +00409120 0040c6f0 +00409120 00682260 +00409120 0040c550 +00409120 00a14c00 +00409120 00aef12b +00409120 00409cb0 +00409120 007e9020 00409120 00a10760 +00409120 004098a0 +00409120 00408590 +00409120 00a14050 +00409120 0040c440 004098a0 00a112c0 00409cb0 00a10950 00409cb0 00a10760 @@ -123,48 +123,48 @@ 0040a140 0040a080 0040a1b0 00408c90 0040a220 00a112c0 -0040a2b0 0040a5d0 0040a2b0 00a112c0 +0040a2b0 0040a5d0 0040a2b0 0040a1b0 0040a360 0040a380 0040a380 0040a5d0 0040a380 0040a1b0 -0040a400 0040a5d0 0040a400 00a112c0 +0040a400 0040a5d0 0040a400 0040a1b0 0040a4b0 0040a4d0 0040a530 0040a550 0040a5b0 0040a5d0 -0040a5d0 00408970 0040a5d0 00a112c0 0040a5d0 00408830 -0040a690 0040a5d0 +0040a5d0 00408970 0040a690 00408e00 -0040a6e0 0040a5d0 +0040a690 0040a5d0 0040a6e0 00408e00 +0040a6e0 0040a5d0 0040a720 00408e00 0040a740 00408e00 0040a760 00408d00 0040a780 00af0917 0040a7e0 00408b90 0040a7e0 00a112c0 -0040a860 0040b430 0040a860 00a112c0 +0040a860 0040b430 0040a860 0040a7e0 0040a8a0 00a112c0 0040a920 0040a940 -0040a940 0040aaf0 0040a940 0040a1b0 +0040a940 0040aaf0 0040a9d0 0040a9f0 0040aa50 0040aa70 0040aad0 0040aaf0 -0040aaf0 00408970 0040aaf0 00a112c0 0040aaf0 00408830 -0040abb0 0040aaf0 +0040aaf0 00408970 0040abb0 00408e00 -0040abf0 0040aaf0 +0040abb0 0040aaf0 0040abf0 00408e00 +0040abf0 0040aaf0 0040ac30 00408e00 0040ac60 00408830 0040ac70 00a112c0 @@ -176,97 +176,97 @@ 0040b030 0040add0 0040b060 0040ae70 0040b090 0040ae70 -0040b0c0 0040bcd0 0040b0c0 00a112c0 +0040b0c0 0040bcd0 0040b1a0 0040ac70 0040b1d0 0040ace0 0040b200 0040b220 0040b220 00a112c0 0040b310 EXTERNAL:00000220 +0040b310 0040cf50 +0040b310 00aef15c 0040b310 0040cae0 0040b310 00aef12b -0040b310 00aef15c -0040b310 0040cf50 0040b4d0 00a112c0 0040b590 0040b600 0040b600 0041d540 -0040b600 00409cb0 -0040b600 00408590 -0040b600 0041d520 -0040b600 00aef12b -0040b600 0040b220 -0040b600 0040bbf0 -0040b600 004098a0 -0040b600 00a0f720 0040b600 004071c0 0040b600 004072e0 +0040b600 0041d520 +0040b600 00aef12b +0040b600 0040bbf0 +0040b600 0040b220 +0040b600 00409cb0 0040b600 00a112c0 0040b600 00a10760 0040b600 00a0f550 +0040b600 004098a0 +0040b600 00408590 +0040b600 00a0f720 0040bcb0 0040bcd0 +0040bd50 0040ccd0 +0040bd50 0040c000 0040bd50 0040e2b0 +0040bd50 00408830 0040bd50 0040e110 0040bd50 0040db90 -0040bd50 0040c000 -0040bd50 0040ccd0 -0040bd50 00408830 +0040bea0 0040c000 0040bea0 0040e110 0040bea0 0040db90 -0040bea0 0040c000 -0040bf30 0040cae0 0040bf30 0040ccd0 +0040bf30 0040cae0 0040bff0 0040c000 0040c000 0040c4a0 +0040c000 0040e520 0040c000 00408640 0040c000 0040c550 -0040c000 0040e520 -0040c000 0040e740 0040c000 009588a0 +0040c000 0040e740 0040c000 00408590 0040c230 EXTERNAL:00000220 0040c230 00aef15c 0040c310 0040ccd0 0040c340 0040ccd0 0040c3b0 0040c550 -0040c4a0 0040cc10 0040c4a0 00a0f4c0 +0040c4a0 0040cc10 0040c720 0040ccd0 0040c740 EXTERNAL:00000220 0040c740 00aef15c 0040c790 0040cae0 0040c7c0 0040cae0 -0040c7f0 0040cc10 0040c7f0 00a0f4c0 -0040c890 0040c740 +0040c7f0 0040cc10 0040c890 0040cf00 -0040c890 0040cee0 -0040c890 00af08bd +0040c890 0040c740 0040c890 00a0f4c0 -0040c890 0040cad0 +0040c890 0040cee0 0040c890 00af05e5 +0040c890 00af08bd +0040c890 0040cad0 0040cad0 EXTERNAL:000001d7 -0040cb50 EXTERNAL:00000103 0040cb50 00aef15c -0040cbb0 EXTERNAL:00000103 +0040cb50 EXTERNAL:00000103 0040cbb0 00aef15c +0040cbb0 EXTERNAL:00000103 0040cc10 00a15770 0040ccc0 EXTERNAL:000001d7 0040ccd0 0040cf00 -0040ccd0 0040ccc0 0040ccd0 EXTERNAL:00000220 -0040ccd0 00af08bd -0040ccd0 00af05df +0040ccd0 0040ccc0 0040ccd0 00aef15c +0040ccd0 00af05df +0040ccd0 00af08bd 0040ce00 EXTERNAL:000001f6 -0040ce20 EXTERNAL:000001f6 0040ce20 00aef15c +0040ce20 EXTERNAL:000001f6 0040ce60 EXTERNAL:000001f7 0040cea0 EXTERNAL:000001f7 0040cee0 00af05eb 0040cee0 0040cde0 -0040cf00 0040cee0 0040cf00 EXTERNAL:00000220 0040cf00 00a0f4c0 +0040cf00 0040cee0 0040cf50 0040cf00 0040cf50 00af05df 0040d000 EXTERNAL:00000220 @@ -274,218 +274,218 @@ 0040d040 EXTERNAL:00000220 0040d040 00aef15c 0040d090 EXTERNAL:000001f7 -0040d220 00415ae0 0040d220 00aef15c -0040d240 0040d850 -0040d240 00415ae0 -0040d240 00414a80 +0040d220 00415ae0 0040d240 00415800 -0040d240 00407f10 -0040d240 EXTERNAL:00000262 -0040d240 0040d040 0040d240 00aef15c -0040d480 004141a0 +0040d240 00415ae0 +0040d240 EXTERNAL:00000262 +0040d240 00407f10 +0040d240 0040d040 +0040d240 0040d850 +0040d240 00414a80 0040d480 EXTERNAL:000001bd -0040d4c0 00414a80 +0040d480 004141a0 0040d4c0 00a112c0 -0040d850 EXTERNAL:00000262 +0040d4c0 00414a80 0040d850 00aef15c 0040d850 00aef638 +0040d850 EXTERNAL:00000262 0040db70 0040d040 -0040db90 00416490 -0040db90 00408310 -0040db90 00a16060 -0040db90 EXTERNAL:00000262 -0040db90 00aef12b -0040db90 00aef5c4 0040db90 0040ccd0 +0040db90 00a16060 0040db90 00aef15c -0040db90 EXTERNAL:0000022e -0040db90 004149d0 -0040db90 0040ed50 -0040db90 00a68490 -0040db90 00a159d0 -0040db90 00a0f4e0 -0040db90 00a17180 -0040db90 00a112c0 +0040db90 00aef5c4 0040db90 EXTERNAL:0000022c +0040db90 00a17180 +0040db90 004149d0 +0040db90 00aef12b +0040db90 00a0f4e0 +0040db90 EXTERNAL:0000022e +0040db90 00a68490 +0040db90 00a112c0 +0040db90 00a159d0 +0040db90 00416490 0040db90 00aef638 -0040e110 00416490 -0040e110 00a16060 -0040e110 004149d0 -0040e110 00a159d0 -0040e110 00a112c0 -0040e110 00aef12b +0040db90 00408310 +0040db90 EXTERNAL:00000262 +0040db90 0040ed50 0040e110 EXTERNAL:0000022e +0040e110 00a16060 +0040e110 00a112c0 0040e110 EXTERNAL:0000022c -0040e2b0 00416490 -0040e2b0 00a16060 -0040e2b0 004149d0 -0040e2b0 00a159d0 -0040e2b0 00a112c0 -0040e2b0 00aef12b +0040e110 00a159d0 +0040e110 00416490 +0040e110 004149d0 +0040e110 00aef12b 0040e2b0 EXTERNAL:0000022e +0040e2b0 00a16060 +0040e2b0 00a112c0 0040e2b0 EXTERNAL:0000022c -0040e470 00414a80 +0040e2b0 00a159d0 +0040e2b0 00416490 +0040e2b0 004149d0 +0040e2b0 00aef12b 0040e470 00a112c0 -0040e520 00414440 -0040e520 00a159d0 +0040e470 00414a80 0040e520 0040c3b0 +0040e520 00a159d0 +0040e520 00414440 +0040e5d0 EXTERNAL:0000022e 0040e5d0 00a16060 -0040e5d0 004149d0 +0040e5d0 EXTERNAL:0000022c 0040e5d0 00a159d0 0040e5d0 00416440 +0040e5d0 004149d0 0040e5d0 00aef12b -0040e5d0 EXTERNAL:0000022e -0040e5d0 EXTERNAL:0000022c +0040e740 EXTERNAL:0000022e 0040e740 00a16060 -0040e740 004149d0 +0040e740 EXTERNAL:0000022c 0040e740 00a159d0 0040e740 00416440 -0040e740 00aef12b 0040e740 00414d60 +0040e740 004149d0 0040e740 0040c7f0 -0040e740 EXTERNAL:0000022e -0040e740 EXTERNAL:0000022c -0040e910 00414a80 -0040e910 00415d20 +0040e740 00aef12b 0040e910 00aef15c 0040e910 0040c7f0 -0040ea10 0040e520 -0040ea10 009588a0 -0040ea10 0040e5d0 +0040e910 00414a80 +0040e910 00415d20 0040ea10 006fd350 -0040ea50 00416490 -0040ea50 00a16060 -0040ea50 00aef12b +0040ea10 0040e520 +0040ea10 0040e5d0 +0040ea10 009588a0 0040ea50 0040ccd0 +0040ea50 00a16060 0040ea50 00aef15c -0040ea50 EXTERNAL:0000022e -0040ea50 EXTERNAL:00000220 -0040ea50 004149d0 -0040ea50 0040ed50 -0040ea50 0040e520 -0040ea50 00a159d0 -0040ea50 009588a0 -0040ea50 0040e5d0 0040ea50 006fd350 0040ea50 EXTERNAL:0000022c -0040ed50 006831c0 -0040ed50 00413b90 +0040ea50 004149d0 +0040ea50 009588a0 +0040ea50 00aef12b +0040ea50 EXTERNAL:0000022e +0040ea50 EXTERNAL:00000220 +0040ea50 0040e520 +0040ea50 00a159d0 +0040ea50 00416490 +0040ea50 0040e5d0 +0040ea50 0040ed50 +0040ed50 00a178d0 +0040ed50 00aef15c +0040ed50 0040cf50 +0040ed50 004155d0 +0040ed50 0040d0c0 0040ed50 00aef12b -0040ed50 00aef5c4 +0040ed50 EXTERNAL:00000220 +0040ed50 008f5ad0 +0040ed50 006831c0 +0040ed50 00aef638 0040ed50 00414500 -0040ed50 00414730 +0040ed50 0067f670 +0040ed50 00413bf0 +0040ed50 0040d040 +0040ed50 00a648b0 +0040ed50 0040ccd0 +0040ed50 00aef5c4 +0040ed50 00413c70 +0040ed50 00413b90 0040ed50 EXTERNAL:0000023f 0040ed50 0040d850 -0040ed50 004155d0 -0040ed50 00415170 -0040ed50 00a0f4e0 -0040ed50 0040ca70 -0040ed50 0040d0c0 -0040ed50 00aef638 -0040ed50 00a648b0 -0040ed50 00413c70 -0040ed50 00413bf0 -0040ed50 00407170 -0040ed50 0040cae0 -0040ed50 0040ccd0 -0040ed50 00aef15c -0040ed50 00414e00 -0040ed50 004071f0 -0040ed50 0040cf50 0040ed50 EXTERNAL:0000023e -0040ed50 EXTERNAL:00000220 -0040ed50 0067f670 -0040ed50 00a159d0 -0040ed50 00a178d0 +0040ed50 00a0f4e0 0040ed50 00a112c0 -0040ed50 008f5ad0 -0040ed50 0040d040 +0040ed50 0040cae0 +0040ed50 00a159d0 0040ed50 00aeff60 +0040ed50 00414730 +0040ed50 00407170 +0040ed50 004071f0 +0040ed50 00415170 +0040ed50 0040ca70 +0040ed50 00414e00 00413b40 00414730 00414050 0040cf00 +00414050 0040d000 00414050 EXTERNAL:000001ce 00414050 00af05df -00414050 0040d000 004141a0 EXTERNAL:00000220 004141a0 00aef15c 00414250 0040ccd0 -00414330 EXTERNAL:000001cb -00414330 EXTERNAL:000001d1 00414330 EXTERNAL:000001cc -00414440 00415bd0 -00414440 004170d0 +00414330 EXTERNAL:000001d1 +00414330 EXTERNAL:000001cb 00414440 00a0f4c0 00414440 00416440 +00414440 00415bd0 +00414440 004170d0 00414500 004158b0 00414520 00414870 00414550 0040ccd0 -00414590 004141a0 00414590 00aef15c -004145c0 004141a0 -004145c0 EXTERNAL:000001c0 +00414590 004141a0 004145c0 00aef15c 004145c0 EXTERNAL:000001bd -00414620 EXTERNAL:000001d0 +004145c0 004141a0 +004145c0 EXTERNAL:000001c0 00414620 EXTERNAL:000001d6 +00414620 EXTERNAL:000001d0 00414690 EXTERNAL:000001cf 00414730 EXTERNAL:00000262 004147f0 EXTERNAL:00000220 -004147f0 0040d040 004147f0 00aef15c +004147f0 0040d040 00414870 0040cf00 -00414870 0040ccc0 00414870 EXTERNAL:00000220 -00414870 00af05df +00414870 0040ccc0 00414870 00aef15c +00414870 00af05df 00414870 00af05e5 004149d0 EXTERNAL:00000220 004149d0 00aef15c 00414ae0 0040d040 00414b10 EXTERNAL:00000220 00414b10 00aef15c -00414b50 EXTERNAL:000001d2 -00414b50 00414ccb 00414b50 00414690 +00414b50 EXTERNAL:000001d2 00414b50 EXTERNAL:000001d5 +00414b50 00414ccb 00414cab EXTERNAL:000001cd -00414ccb EXTERNAL:000001cd -00414ccb EXTERNAL:000001d0 00414ccb EXTERNAL:000001d6 +00414ccb EXTERNAL:000001d0 +00414ccb EXTERNAL:000001cd +00414d30 EXTERNAL:000001d3 00414d30 EXTERNAL:000001d4 00414d30 EXTERNAL:000001cf -00414d30 EXTERNAL:000001d3 +00414d60 00aef15c 00414d60 00414a80 00414d60 00415d20 -00414d60 00aef15c -00414e00 006828b0 -00414e00 006832e0 00414e00 00a112c0 +00414e00 006832e0 00414e00 00af05df +00414e00 006828b0 00414e00 00aef12b -00415170 006828b0 -00415170 006832e0 00415170 00a112c0 +00415170 006832e0 00415170 00af05df +00415170 006828b0 00415170 00aef12b 004155d0 00416040 -004156c0 00415bc0 004156c0 0040cf00 -004156c0 0040cee0 004156c0 EXTERNAL:00000220 -004156c0 00af08bd 004156c0 00aef15c +004156c0 0040cee0 +004156c0 00415bc0 +004156c0 00af08bd 00415800 00415800 00415800 00aef15c 004158b0 00415fe0 -004158b0 00416490 -004158b0 004170d0 004158b0 00a0f4c0 +004158b0 00416490 004158b0 00415f80 +004158b0 004170d0 +00415ae0 00aef15c 00415ae0 00415ae0 00415ae0 0040d040 -00415ae0 00aef15c 00415b30 00aef15c 00415bc0 EXTERNAL:000001d7 00415bd0 00415fe0 @@ -493,19 +493,19 @@ 00415ce0 00aef15c 00415d00 00aef15c 00415d20 00415fe0 -00415d20 00414a80 00415d20 00415f80 +00415d20 00414a80 00416040 004165a0 -00416040 00416770 00416040 00416510 +00416040 00416770 004164e0 0040d040 00416510 00a0f4e0 -004165a0 00416510 004165a0 00416b70 +004165a0 00416510 004165a0 00416920 +00416770 00416510 00416770 00416e80 00416770 00416040 -00416770 00416510 00416920 00416dc0 00416b70 00416dc0 00416e80 00416dc0 @@ -521,104 +521,104 @@ 00417710 0041c840 004177e0 0041c770 00417870 00a112c0 -00417930 0041b9f0 -00417930 00a0f4c0 00417930 00a0f4e0 -00417930 009588a0 00417930 0040c3b0 00417930 00aef5c4 00417930 00418230 -00417dd0 0041d030 +00417930 00a0f4c0 +00417930 009588a0 +00417930 0041b9f0 00417dd0 00aef15c +00417dd0 0041d030 00417df0 00aef638 -00417e50 00a112c0 00417e50 00aefe20 -00418230 0041d030 +00417e50 00a112c0 00418230 00a112c0 +00418230 0041d030 +00418500 00417670 00418500 00a112c0 00418500 0041b570 -00418500 00417670 00418500 00417630 -004186c0 00a19180 004186c0 006ef1f0 -004186c0 00419750 -004186c0 0041ccf0 -004186c0 00683410 -004186c0 00af05e5 -004186c0 006ab440 +004186c0 006856c0 004186c0 0041c770 004186c0 00419e70 004186c0 0041d030 -004186c0 00684f30 +004186c0 00a19180 +004186c0 00af05e5 +004186c0 006ab440 004186c0 00a112c0 -004186c0 00694fb0 004186c0 006a8db0 -004186c0 006856c0 +004186c0 0041ccf0 +004186c0 00419750 004186c0 00a18300 +004186c0 00683410 004186c0 00af0917 +004186c0 00684f30 +004186c0 00694fb0 00419750 00a0f4e0 004199d0 006b6ed0 -00419b50 0040c550 00419b50 00683060 -00419b50 00a10e70 -00419b50 00aef12b +00419b50 0040c550 00419b50 00a0f550 -00419b50 00a14050 00419b50 00af0917 -00419e70 0041bb50 -00419e70 006b25b0 -00419e70 0041baf0 -00419e70 006b2940 -00419e70 0041c2a0 -00419e70 006ab440 -00419e70 0041ca00 +00419b50 00a10e70 +00419b50 00a14050 +00419b50 00aef12b 00419e70 0041cb90 -00419e70 006a9c90 -00419e70 0041c070 -00419e70 00a112c0 -00419e70 0041c910 00419e70 0041bdf0 -0041a790 00417540 -0041a790 00a68490 +00419e70 0041c2a0 +00419e70 006b2940 +00419e70 0041baf0 +00419e70 006ab440 +00419e70 006b25b0 +00419e70 00a112c0 +00419e70 0041c070 +00419e70 0041ca00 +00419e70 006a9c90 +00419e70 0041bb50 +00419e70 0041c910 0041a790 0041c490 +0041a790 00a68490 0041a790 00a112c0 0041a790 00af05df -0041ab50 00417540 -0041ab50 00a68490 -0041ab50 00945470 +0041a790 00417540 0041ab50 0041c490 +0041ab50 00a68490 0041ab50 00a112c0 0041ab50 006a9ba0 0041ab50 00af05df +0041ab50 00945470 0041ab50 00945400 -0041af60 00a648b0 -0041af60 00417540 -0041af60 0041d390 -0041af60 00a68490 -0041af60 EXTERNAL:00000262 +0041ab50 00417540 0041af60 00a112c0 +0041af60 00a68490 0041af60 00af05df 0041af60 0041c6f0 +0041af60 EXTERNAL:00000262 +0041af60 00417540 +0041af60 00a648b0 +0041af60 0041d390 0041b4f0 00a112c0 0041b4f0 00417670 -0041b570 0041d390 0041b570 0041cc60 +0041b570 0041d390 0041b7b0 0041b690 0041b9f0 0041d120 0041b9f0 0041d230 +0041bb50 00a112c0 0041bb50 0041d540 0041bb50 0041d520 -0041bb50 00a112c0 0041bdf0 006b25b0 0041bdf0 006b2940 0041c070 006b25b0 -0041c070 006b2940 0041c070 00a112c0 +0041c070 006b2940 0041c2a0 006b25b0 0041c2a0 006b2940 0041c490 00a0f4e0 -0041c490 EXTERNAL:00000262 0041c490 00a112c0 +0041c490 EXTERNAL:00000262 0041c490 00af05e5 0041c670 EXTERNAL:00000220 0041c670 00aef15c @@ -626,89 +626,89 @@ 0041c7d0 EXTERNAL:00000220 0041c7d0 00aef15c 0041c840 0040cf00 -0041c840 0041d0e0 0041c840 0041c970 -0041c890 0041ca00 +0041c840 0041d0e0 0041c890 0041cb90 +0041c890 0041ca00 0041c890 0041c910 0041c970 EXTERNAL:00000220 0041c970 00aef15c -0041ca00 0041cb50 -0041ca00 0041c910 -0041ca00 0041d1b0 0041ca00 0041d400 +0041ca00 0041cb50 +0041ca00 0041d1b0 +0041ca00 0041c910 0041cb50 EXTERNAL:000001d7 0041cb90 00af05e5 -0041cc60 00a648b0 +0041cc60 00aef15c 0041cc60 00414a80 0041cc60 00415d20 -0041cc60 00aef15c -0041ccf0 00415bc0 +0041cc60 00a648b0 0041ccf0 0040cf00 0041ccf0 0040cee0 -0041ccf0 0041d0e0 0041ccf0 0041c970 +0041ccf0 0041d0e0 +0041ccf0 00415bc0 0041ce30 00415fe0 -0041ce30 004170d0 -0041ce30 0041d390 0041ce30 00a0f4c0 0041ce30 00415f80 -0041d030 0041d030 -0041d030 EXTERNAL:00000262 +0041ce30 004170d0 +0041ce30 0041d390 0041d030 00aef15c +0041d030 EXTERNAL:00000262 +0041d030 0041d030 0041d150 EXTERNAL:00000220 0041d150 00aef15c 0041d1b0 00af05e5 0041d210 00aef15c -0041d230 00415bc0 0041d230 0040cf00 -0041d230 0040cee0 0041d230 EXTERNAL:00000220 0041d230 00aef15c -0041d400 00415bc0 +0041d230 0040cee0 +0041d230 00415bc0 0041d400 0040cf00 -0041d400 0041d150 0041d400 0040cee0 -0041d400 00af08bd +0041d400 0041d150 0041d400 0041d1b0 +0041d400 00415bc0 +0041d400 00af08bd 0041d4d0 0041d4c0 0041d4d0 EXTERNAL:00000253 0041d520 00af0905 0041d540 00af08e7 0041d560 00af05e5 -0041d670 00683580 0041d670 00a112c0 +0041d670 00683580 0041d670 00aef12b 0041e420 0041d4d0 -0041e440 EXTERNAL:00000001 0041e440 EXTERNAL:0000000a -0041e4c0 0041d540 +0041e440 EXTERNAL:00000001 0041e4c0 00435a50 +0041e4c0 0041d540 0041e4c0 0041d520 -0041e720 0041d540 0041e720 00435a50 +0041e720 0041e4c0 +0041e720 0041d540 +0041e720 0041fcb0 0041e720 0041d520 0041e720 00aef12b -0041e720 0041fcb0 -0041e720 0041e4c0 -0041e960 00a10dd0 -0041e960 00aef29d -0041e960 0040a220 -0041e960 006831c0 +0041e960 00683060 +0041e960 00a106e0 0041e960 00a10fa0 -0041e960 00408590 -0041e960 00a11210 +0041e960 00a10dd0 +0041e960 00aef5af +0041e960 0041fa30 +0041e960 00aef29d 0041e960 00aef12b 0041e960 0040b220 -0041e960 00a106e0 -0041e960 00a14050 -0041e960 00aef253 -0041e960 00aef5af -0041e960 0041fba0 -0041e960 0041fa30 -0041e960 00683060 0041e960 00a112c0 +0041e960 006831c0 +0041e960 0040a220 +0041e960 00aef253 +0041e960 0041fba0 0041e960 00a0f550 +0041e960 00408590 +0041e960 00a11210 +0041e960 00a14050 0041f780 EXTERNAL:00000220 0041f780 00aef15c 0041f7f0 EXTERNAL:00000220 @@ -716,52 +716,52 @@ 0041f860 EXTERNAL:00000220 0041f860 00aef15c 0041f8d0 0040cf00 -0041f8d0 0041f9b0 0041f8d0 0041f920 +0041f8d0 0041f9b0 0041f920 EXTERNAL:00000220 0041f920 00aef15c -0041fa30 00415bc0 0041fa30 0040cf00 -0041fa30 0040cee0 0041fa30 0041fe10 +0041fa30 0040cee0 0041fa30 00a10fa0 -0041fba0 00415bc0 +0041fa30 00415bc0 0041fba0 0040cf00 -0041fba0 0040cee0 -0041fba0 0041ff50 -0041fba0 0041fe80 -0041fba0 00a11210 0041fba0 004200a0 -0041fcb0 00415bc0 -0041fcb0 00420020 +0041fba0 0040cee0 +0041fba0 0041fe80 +0041fba0 0041ff50 +0041fba0 00a11210 +0041fba0 00415bc0 0041fcb0 0040cf00 -0041fcb0 0041f9b0 +0041fcb0 00420020 0041fcb0 0040cee0 0041fcb0 0041f920 +0041fcb0 0041f9b0 +0041fcb0 00415bc0 0041fe10 EXTERNAL:00000220 0041fe10 00aef15c 0041fe80 EXTERNAL:00000220 0041fe80 00aef15c 00420190 0040cf00 +00420190 009c25e0 +00420190 00aef15c +00420190 009c2700 +00420190 009c2760 00420190 0040bd50 00420190 009c3940 -00420190 00aef12b -00420190 0040b220 -00420190 00aef15c -00420190 009c2760 -00420190 00420a80 -00420190 009c0870 00420190 0040a1b0 -00420190 004209d0 +00420190 00420a80 +00420190 00aef12b 00420190 EXTERNAL:00000220 -00420190 0040a5d0 +00420190 0040b220 +00420190 009c0870 +00420190 004209d0 00420190 009c39e0 -00420190 009c2700 00420190 00a112c0 -00420190 009c25e0 +00420190 0040a5d0 00420710 004209d0 -00420760 009c07f0 00420760 009c0870 +00420760 009c07f0 004207c0 00409030 004207c0 009c06a0 004207c0 008370b0 @@ -773,144 +773,144 @@ 00420a40 00aef15c 00420a80 0041d4d0 00420b00 0040d040 -00420b20 00407f10 -00420b20 004087a0 -00420b20 0040d040 00420b20 00aef638 -00420ba0 00413c70 -00420ba0 00413bf0 -00420ba0 00421680 -00420ba0 00413b90 -00420ba0 EXTERNAL:00000262 -00420ba0 00aef12b -00420ba0 0040ccd0 -00420ba0 00aef15c -00420ba0 00414730 -00420ba0 EXTERNAL:0000023f -00420ba0 0040ccc0 -00420ba0 004155d0 -00420ba0 EXTERNAL:00000220 -00420ba0 00a0f4e0 +00420b20 004087a0 +00420b20 00407f10 +00420b20 0040d040 00420ba0 00a178d0 +00420ba0 00421680 +00420ba0 0040ccd0 +00420ba0 0040ccc0 +00420ba0 00aef15c +00420ba0 00413c70 +00420ba0 00413b90 +00420ba0 EXTERNAL:0000023f +00420ba0 004155d0 +00420ba0 00aef12b +00420ba0 00a0f4e0 +00420ba0 EXTERNAL:00000220 00420ba0 00aeff60 -00421260 0092e430 +00420ba0 00414730 +00420ba0 EXTERNAL:00000262 +00420ba0 00413bf0 00421260 00407f10 +00421260 0092e430 +004212c0 0040add0 +004212c0 008318a0 +004212c0 006fd7c0 004212c0 00409030 004212c0 0092e430 -004212c0 006fd7c0 -004212c0 008318a0 -004212c0 0040add0 00421400 0040a030 +004214b0 0040b220 +004214b0 0040c000 004214b0 0040bd50 004214b0 0040a5d0 -004214b0 0040c000 -004214b0 0040b220 004214b0 0040a1b0 004215a0 0040d040 004215e0 0040d040 -00421620 0040ccc0 00421620 00421680 +00421620 0040ccc0 00421680 0040cf00 00421680 00af05df 00421860 00423020 00421860 0040d040 -00421880 004149d0 00421880 00aef638 -004218e0 008f4890 -004218e0 00423090 -004218e0 008fd3c0 -004218e0 008fd410 +00421880 004149d0 004218e0 00a112c0 -004218e0 00aef12b 004218e0 00421bf0 -00421bf0 00a648b0 -00421bf0 00aef29d -00421bf0 00413c70 +004218e0 008f4890 +004218e0 008fd410 +004218e0 008fd3c0 +004218e0 00423090 +004218e0 00aef12b 00421bf0 00423480 -00421bf0 00a0f4c0 -00421bf0 00423530 -00421bf0 00413b90 -00421bf0 00aef12b +00421bf0 00a178d0 00421bf0 0040ccd0 00421bf0 00aef15c -00421bf0 00414730 -00421bf0 00aef253 -00421bf0 EXTERNAL:0000023f -00421bf0 EXTERNAL:0000023e -00421bf0 00aef5af -00421bf0 004155d0 -00421bf0 EXTERNAL:00000220 -00421bf0 00423310 -00421bf0 00a0f4e0 -00421bf0 00a178d0 -00421bf0 00a112c0 -00421bf0 00aeff60 00421bf0 00423500 +00421bf0 00413c70 +00421bf0 00423530 +00421bf0 00413b90 +00421bf0 EXTERNAL:0000023f +00421bf0 004155d0 +00421bf0 00aef5af +00421bf0 EXTERNAL:0000023e +00421bf0 00aef29d +00421bf0 00aef12b +00421bf0 00a0f4e0 +00421bf0 EXTERNAL:00000220 +00421bf0 00a112c0 +00421bf0 00a0f4c0 +00421bf0 00423310 +00421bf0 00aeff60 +00421bf0 00aef253 +00421bf0 00414730 +00421bf0 00a648b0 00422620 00929aa0 00422620 00a112c0 +00422830 0082d030 +00422830 004217a0 +00422830 00929aa0 +00422830 00a112c0 +00422830 007e90f0 00422830 00421720 00422830 00422620 -00422830 00929aa0 -00422830 007e90f0 -00422830 004217a0 -00422830 00a112c0 -00422830 0082d030 00422ea0 00423090 00422f80 00423090 00423020 EXTERNAL:00000220 00423020 00aef15c -00423090 00423290 -00423090 0041c910 00423090 0041c890 -00423290 00af08bd +00423090 0041c910 +00423090 00423290 00423290 0041cb50 -00423310 00415bc0 +00423290 00af08bd 00423310 0040cf00 -00423310 0040cee0 00423310 EXTERNAL:00000220 -00423310 00af08bd 00423310 00aef15c +00423310 0040cee0 +00423310 00415bc0 +00423310 00af08bd 00423500 00423610 00423530 00423480 -004235c0 0040d040 004235c0 00aef15c 004235c0 004235c0 -00423610 00415fe0 -00423610 EXTERNAL:00000220 -00423610 004170d0 -00423610 00a0f4c0 +004235c0 0040d040 00423610 00423480 -00423610 00415f80 -00423610 00423530 +00423610 EXTERNAL:00000220 00423610 0040ccd0 00423610 00aef15c -004238c0 0040d040 +00423610 00415fe0 +00423610 00a0f4c0 +00423610 00423530 +00423610 00415f80 +00423610 004170d0 004238c0 00aef15c +004238c0 0040d040 00423990 004239b0 00423990 00423aa0 00423aa0 0040cf00 00423aa0 EXTERNAL:00000220 +00423aa0 00aef15c 00423aa0 0040bd50 00423aa0 0040a5d0 -00423aa0 00aef12b -00423aa0 00aef15c 00423aa0 0040a1b0 -00423cc0 0040b430 -00423cc0 00a1b050 -00423cc0 0095af30 -00423cc0 00a20390 -00423cc0 00a112c0 -00423cc0 004240b0 -00423cc0 00424220 -00423cc0 00af08b1 -00423cc0 00a0f550 +00423aa0 00aef12b 00423cc0 00424130 +00423cc0 004240b0 +00423cc0 00a112c0 +00423cc0 0095af30 +00423cc0 00424220 +00423cc0 0040b430 00423cc0 0040a7e0 +00423cc0 00a1b050 +00423cc0 00a0f550 00423cc0 0040a030 -004240b0 00424130 +00423cc0 00a20390 +00423cc0 00af08b1 004240b0 0040ace0 -00424220 0090b070 +004240b0 00424130 00424220 00417870 +00424220 0090b070 00424310 00a0f4c0 00424310 00424440 00424420 00aef15c @@ -918,358 +918,358 @@ 00424440 00424540 00424540 00aef15c 00424540 00424540 -00424580 00a0f550 00424580 00499d60 -004248a0 00a230b0 -004248a0 00a0f4c0 +00424580 00a0f550 004248a0 0040c3b0 -004248a0 00aef15c -004248a0 00424580 -004248a0 0040c7f0 004248a0 00a11c70 +004248a0 00aef15c +004248a0 00a0f4c0 +004248a0 00424580 +004248a0 00a230b0 004248a0 00af05e5 +004248a0 0040c7f0 00424c40 0040c4a0 00424cd0 0040c7f0 00424d70 004248a0 -00424e80 00407f10 00424e80 004087a0 +00424e80 00407f10 00424e80 0040d040 00424ef0 0040cf00 00424ef0 EXTERNAL:00000220 +00424ef0 00aef15c +00424ef0 0040c000 00424ef0 0040bd50 00424ef0 0040a5d0 -00424ef0 0040bf30 -00424ef0 0040c000 -00424ef0 00aef12b -00424ef0 00aef15c 00424ef0 0040a1b0 +00424ef0 0040bf30 +00424ef0 00aef12b 00425130 00409030 -00425130 00aef12b 00425130 0040a7e0 +00425130 00aef12b 004252f0 0040a030 00425410 00426980 00425410 0040d040 -00425430 004265d0 00425430 00aef638 +00425430 004265d0 004254b0 0090abf0 004254b0 EXTERNAL:00000220 -004254b0 00af08bd -004254b0 004267f0 004254b0 00aef15c -004257b0 004264c0 +004254b0 004267f0 +004254b0 00af08bd 004257b0 0090abf0 -004257b0 009b9310 -004257b0 00949bc0 004257b0 009b9480 +004257b0 00949bc0 004257b0 004259b0 +004257b0 009b9310 +004257b0 004264c0 004259b0 00426640 -004259b0 00aef12b 004259b0 00af05e5 -00425ac0 004264c0 +004259b0 00aef12b 00425ac0 00425a70 00425ac0 00426560 00425ac0 004259b0 -00425b70 009586f0 +00425ac0 004264c0 00425b70 0040ccd0 +00425b70 009586f0 004264c0 0090ac70 00426560 00a112c0 004265d0 EXTERNAL:00000220 004265d0 00aef15c -00426640 00415bc0 00426640 0040cf00 -00426640 0040cee0 00426640 EXTERNAL:00000220 00426640 00aef15c -004267f0 00415bc0 +00426640 0040cee0 +00426640 00415bc0 004267f0 0040cf00 004267f0 0040cee0 -004267f0 00af08bd 004267f0 004268e0 +004267f0 00415bc0 +004267f0 00af08bd 004268e0 EXTERNAL:00000220 004268e0 00aef15c 00426940 EXTERNAL:00000220 00426940 00aef15c 00426980 EXTERNAL:00000220 00426980 00aef15c -004269f0 004149d0 004269f0 00aef15c -004269f0 0040d040 +004269f0 004149d0 004269f0 00424540 +004269f0 0040d040 +00426a50 00427290 +00426a50 00a112c0 +00426a50 007e9020 +00426a50 00427870 00426a50 0085af30 00426a50 EXTERNAL:0000025d -00426a50 007e9020 -00426a50 00427290 00426a50 00424440 -00426a50 00a112c0 -00426a50 00aef12b 00426a50 EXTERNAL:0000025f -00426a50 00427870 +00426a50 00aef12b 00427290 00aef12b +00427870 00a24270 +00427870 00a112c0 00427870 0085af30 00427870 EXTERNAL:0000025d -00427870 0085aeb0 -00427870 00a112c0 -00427870 00aef12b 00427870 EXTERNAL:0000025f -00427870 00a24270 +00427870 0085aeb0 +00427870 00aef12b 00428560 004286b0 -00428590 00415bc0 00428590 0040cf00 -00428590 0040cee0 00428590 EXTERNAL:00000220 -00428590 00af08bd 00428590 00aef15c +00428590 0040cee0 +00428590 00415bc0 +00428590 00af08bd +004286b0 004288a0 004286b0 00415fe0 -004286b0 004170d0 004286b0 00a0f4c0 004286b0 00415f80 -004286b0 004288a0 +004286b0 004170d0 00428880 00aef15c 00428940 00a112c0 00428a80 0042a030 00428b20 006fe410 -00428b60 0040a5d0 +00428b60 0040cf50 00428b60 00a0f4c0 -00428b60 00aef12b +00428b60 0040a5d0 +00428b60 0040a1b0 00428b60 0040d040 00428b60 00923e60 -00428b60 0040cf50 -00428b60 0040a1b0 -00428d30 00919440 -00428d30 00a112c0 +00428b60 00aef12b 00428d30 009b9480 +00428d30 00a112c0 +00428d30 00919440 00429170 006eef60 00429170 00429be0 -004291c0 0092dc30 -004291c0 00944d10 -004291c0 008ca600 -004291c0 006eef60 004291c0 0090abf0 +004291c0 00a112c0 +004291c0 006eef60 004291c0 006fe410 004291c0 00429810 -004291c0 00a112c0 -004291c0 004253d0 +004291c0 008ca600 +004291c0 0092dc30 004291c0 009bea10 -00429570 0092dc30 -00429570 006fd7c0 -00429570 008318a0 +004291c0 00944d10 +004291c0 004253d0 00429570 006f5210 00429570 00a112c0 +00429570 008318a0 +00429570 006fd7c0 +00429570 0092dc30 00429810 00aef12b +00429be0 0040c3b0 00429be0 0042a350 00429be0 00a0f4c0 -00429be0 009588a0 -00429be0 0040c3b0 00429be0 00a112c0 +00429be0 009588a0 00429f30 0042a040 00429f50 00aef15c -00429f90 00a0f4c0 00429f90 EXTERNAL:000001d7 +00429f90 00a0f4c0 0042a030 EXTERNAL:000001bc +0042a040 004288a0 0042a040 00415fe0 -0042a040 004170d0 0042a040 00a0f4c0 0042a040 00415f80 -0042a040 004288a0 +0042a040 004170d0 0042a210 00aef15c 0042a230 00aef15c 0042a2d0 00a112c0 0042a350 00a0f4c0 0042a430 0042c8e0 -0042a430 0042c780 0042a430 00aef15c +0042a430 0042c780 0042a490 0042c8e0 -0042a490 0042c780 0042a490 00aef15c -0042a4d0 009a8620 -0042a4d0 009a8a40 -0042a4d0 00734cc0 +0042a490 0042c780 0042a4d0 009439d0 -0042a4d0 009b9150 -0042a4d0 009446e0 +0042a4d0 00734cc0 0042a4d0 009b9cd0 -0042a4d0 009a8970 +0042a4d0 009446e0 0042a4d0 0084bfd0 -0042a4d0 006eef60 -0042a4d0 009b8f40 0042a4d0 00943830 +0042a4d0 006eef60 +0042a4d0 009a8a40 +0042a4d0 009a8620 0042a4d0 00a112c0 -0042a8b0 006eef60 -0042a8b0 006fe410 -0042a8b0 00a0f4c0 -0042a8b0 0081e9d0 -0042a8b0 00a112c0 -0042a8b0 00709c40 +0042a4d0 009a8970 +0042a4d0 009b9150 +0042a4d0 009b8f40 0042a8b0 0071dfc0 0042a8b0 0081e520 -0042aca0 00a1aec0 +0042a8b0 00a112c0 +0042a8b0 00a0f4c0 +0042a8b0 006eef60 +0042a8b0 006fe410 +0042a8b0 0081e9d0 +0042a8b0 00709c40 0042aca0 0041e420 +0042aca0 00a1aec0 0042aca0 00a1b8e0 0042aca0 00aef12b -0042ae90 009b9310 0042ae90 009b9480 +0042ae90 009b9310 +0042af00 009b9480 0042af00 009b9310 0042af00 00a20390 0042af00 00af08b1 -0042af00 009b9480 0042b520 009b9480 -0042b560 006eef60 -0042b560 00733ca0 -0042b560 00734a80 -0042b560 00734900 0042b560 004288a0 +0042b560 00734900 0042b560 00734180 -0042b560 00aef12b 0042b560 00a112c0 +0042b560 006eef60 +0042b560 00734a80 0042b560 00865340 +0042b560 00733ca0 +0042b560 00aef12b 0042b770 0081e9d0 -0042b7c0 0092dc30 -0042b7c0 006eef60 -0042b7c0 00407170 -0042b7c0 006fe410 -0042b7c0 00aef12b 0042b7c0 00813520 +0042b7c0 006eef60 +0042b7c0 006fe410 0042b7c0 00956780 +0042b7c0 00407170 +0042b7c0 0092dc30 0042b7c0 006b6550 +0042b7c0 00aef12b 0042bc20 007706e0 0042bc40 006ab240 0042bca0 0078fec0 -0042bd70 00414a80 0042bd70 0042c920 +0042bd70 00414a80 0042bdf0 0042c8e0 +0042bdf0 004288a0 0042bdf0 00415fe0 -0042bdf0 004170d0 0042bdf0 00a0f4c0 0042bdf0 00415f80 -0042bdf0 004288a0 -0042c070 006eef60 -0042c070 007791f0 +0042bdf0 004170d0 0042c070 0090abf0 -0042c070 007a6450 -0042c070 00a112c0 +0042c070 007791f0 0042c070 00aef15c -0042c070 007bc740 +0042c070 00a112c0 +0042c070 006eef60 +0042c070 007a6450 0042c070 007588a0 -0042c170 00a648b0 +0042c070 007bc740 +0042c170 00813520 +0042c170 00a112c0 0042c170 006eef60 -0042c170 0041af60 0042c170 006fe410 0042c170 EXTERNAL:00000262 -0042c170 00a112c0 -0042c170 00813520 -0042c540 00415bc0 -0042c540 0042c880 -0042c540 006eef60 -0042c540 EXTERNAL:00000220 -0042c540 00414a80 +0042c170 0041af60 +0042c170 00a648b0 0042c540 00429f30 -0042c540 0042c920 +0042c540 EXTERNAL:00000220 0042c540 00aef15c +0042c540 0042c880 +0042c540 0042c920 +0042c540 006eef60 +0042c540 00415bc0 +0042c540 00414a80 0042c6a0 006eef60 0042c730 00aef15c 0042c780 00aef15c 0042c7c0 00a0f4c0 -0042c820 00415bc0 0042c820 0042c880 +0042c820 00415bc0 0042c850 0042c920 0042c880 0040cf00 -0042c880 0041d150 0042c880 0040cee0 +0042c880 0041d150 0042c880 00af08bd 0042c8e0 0042c8e0 0042c8e0 00aef15c -0042c920 00415bc0 0042c920 0040cf00 -0042c920 0041d150 0042c920 0040cee0 +0042c920 0041d150 +0042c920 00415bc0 0042c920 00af08bd -0042ca40 007597e0 0042ca40 007599d0 -0042ca40 0075f0e0 -0042ca40 0042c070 +0042ca40 007597e0 0042ca40 0075d1d0 +0042ca40 0042c070 +0042ca40 0075f0e0 0042cb90 007597e0 -0042cb90 0075f0e0 0042cb90 0042c070 -0042cc90 006ab240 +0042cb90 0075f0e0 0042cc90 00435a50 -0042ce60 0075f0e0 +0042cc90 006ab240 0042ce60 0042c070 -0042ceb0 0075f0e0 +0042ce60 0075f0e0 0042ceb0 0042c070 +0042ceb0 0075f0e0 0042cf10 00763570 0042cf10 007597e0 -0042cf10 0075f0e0 0042cf10 0042c070 +0042cf10 0075f0e0 0042d060 009b9570 0042d0f0 0042c8e0 -0042d0f0 0042c780 0042d0f0 00aef15c -0042d1c0 00682260 -0042d1c0 0040c550 +0042d0f0 0042c780 0042d1c0 00435a50 0042d1c0 00683060 -0042d1c0 00a10e70 -0042d1c0 00aef12b -0042d1c0 0090b070 +0042d1c0 00682260 0042d1c0 0042d060 -0042d1c0 00af08b1 -0042d1c0 004253d0 +0042d1c0 0040c550 +0042d1c0 0090b070 0042d1c0 00a0f550 0042d1c0 00af0917 -0042d5f0 00771d30 -0042d5f0 0075f0e0 +0042d1c0 004253d0 +0042d1c0 00a10e70 +0042d1c0 00af08b1 +0042d1c0 00aef12b 0042d5f0 0042c070 +0042d5f0 0075f0e0 +0042d5f0 00771d30 0042d680 007597e0 -0042d680 0075f0e0 0042d680 0042c070 +0042d680 0075f0e0 0042d780 0042c8e0 -0042d780 0042c780 0042d780 00aef15c -0042d7f0 0042a4d0 +0042d780 0042c780 0042d7f0 009b9480 +0042d7f0 0042a4d0 0042d850 00aefca0 0042d850 0042a8b0 0042d8b0 007597e0 -0042d8b0 0075f0e0 0042d8b0 0042c070 -0042d960 0075f0e0 +0042d8b0 0075f0e0 0042d960 0042c070 -0042d9e0 006eef60 +0042d960 0075f0e0 0042d9e0 006ab240 +0042d9e0 006fd350 +0042d9e0 006eef60 0042d9e0 006fe410 0042d9e0 00af08b1 -0042d9e0 006fd350 -0042db40 00771d30 -0042db40 0075f0e0 0042db40 0042c070 -0042dbb0 00a1d710 -0042dbb0 00a1d8f0 +0042db40 0075f0e0 +0042db40 00771d30 +0042dbb0 00a1af90 0042dbb0 0041d540 +0042dbb0 00a1d710 +0042dbb0 00af0917 +0042dbb0 00a1d8f0 +0042dbb0 00a1dfd0 0042dbb0 00a10e70 0042dbb0 0041d520 -0042dbb0 00a1dfd0 -0042dbb0 00af0917 -0042dbb0 00a1af90 -0042eb10 EXTERNAL:00000220 -0042eb10 00a0f4c0 0042eb10 EXTERNAL:000001d7 -0042eb10 0040d040 +0042eb10 EXTERNAL:00000220 0042eb10 00aef15c +0042eb10 00a0f4c0 0042eb10 0042f850 -0042edb0 00423020 -0042edb0 004147f0 +0042eb10 0040d040 0042edb0 00426980 0042edb0 0042f240 -0042ede0 0042f430 +0042edb0 004147f0 +0042edb0 00423020 0042ede0 0042f580 -0042eef0 0042f430 +0042ede0 0042f430 0042eef0 0042f580 -0042f060 00423020 -0042f060 004147f0 +0042eef0 0042f430 0042f060 00426980 0042f060 00aef15c 0042f060 0042f240 +0042f060 004147f0 +0042f060 00423020 0042f0c0 0040d040 0042f0f0 0042f2f0 0042f170 0042f430 @@ -1277,760 +1277,760 @@ 0042f1a0 0040cee0 0042f240 EXTERNAL:00000220 0042f240 00aef15c +0042f2f0 0040cf00 +0042f2f0 0042f7a0 +0042f2f0 0040cee0 0042f2f0 0042f660 0042f2f0 00415bc0 -0042f2f0 0040cf00 -0042f2f0 0040cee0 -0042f2f0 0042f7a0 -0042f430 00415bc0 0042f430 0040cf00 0042f430 0040cee0 0042f430 004268e0 -0042f580 00415bc0 +0042f430 00415bc0 0042f580 0040cf00 0042f580 0040cee0 -0042f580 00af08bd 0042f580 0042f720 +0042f580 00415bc0 +0042f580 00af08bd 0042f660 EXTERNAL:00000220 -0042f660 0040d040 0042f660 00aef15c +0042f660 0040d040 0042f720 EXTERNAL:00000220 0042f720 00aef15c 0042f780 00aef15c -0042f850 0042f800 0042f850 0040cf00 -0042f850 0040cee0 -0042f850 00af08bd -0042f850 0042f1a0 0042f850 0040cf50 -0042fa30 004074c0 +0042f850 0040cee0 +0042f850 0042f1a0 +0042f850 00af08bd +0042f850 0042f800 0042fa30 00aef5c4 -0042fac0 00407f10 -0042fac0 004087a0 -0042fac0 0040d040 +0042fa30 004074c0 0042fac0 00aef638 +0042fac0 004087a0 +0042fac0 00407f10 +0042fac0 0040d040 0042fba0 0040cf00 0042fba0 EXTERNAL:00000220 -0042fba0 0040bd50 -0042fba0 0040a5d0 -0042fba0 00aef12b 0042fba0 0040ccd0 0042fba0 00aef15c +0042fba0 0040bd50 +0042fba0 0040a5d0 0042fba0 0040a1b0 -004303e0 00409030 -004303e0 0040a4d0 +0042fba0 00aef12b 004303e0 00408e00 +004303e0 00409030 004303e0 0040a380 -004305c0 00a1aec0 -004305c0 0040a0d0 +004303e0 0040a4d0 004305c0 00a1a540 +004305c0 0040a0d0 +004305c0 00a1aec0 004305c0 00a0f550 00430750 00409030 00430750 0040a380 -004307c0 00a648b0 -004307c0 0040cf00 -004307c0 00aef29d -004307c0 00af08bd -004307c0 004b3950 -004307c0 00aef12b -004307c0 00aef15c -004307c0 00420a80 -004307c0 00431070 -004307c0 00aef253 -004307c0 00aef5af 004307c0 00a24420 -004307c0 EXTERNAL:00000220 004307c0 007defc0 -004307c0 00683d00 -004307c0 00430f50 -004307c0 00a0f4e0 004307c0 00a178d0 004307c0 006841d0 +004307c0 0040cf00 +004307c0 00aef15c 004307c0 005cbf50 +004307c0 00683d00 +004307c0 004b3950 +004307c0 00431070 +004307c0 00aef5af +004307c0 00af08bd +004307c0 00aef29d +004307c0 00420a80 +004307c0 00aef12b +004307c0 00a0f4e0 +004307c0 EXTERNAL:00000220 004307c0 00a112c0 +004307c0 00430f50 +004307c0 00aef253 004307c0 00431200 +004307c0 00a648b0 00431030 004b3950 00431050 00aef15c 00431050 00431200 00431070 0040cf00 00431070 0040ccc0 -00431070 00af08bd 00431070 00af05df -00431200 0040d040 +00431070 00af08bd 00431200 00aef15c 00431200 00431200 +00431200 0040d040 00431260 00435a50 004312b0 00435a50 004312e0 0040cf50 -00431570 00af08bd 00431570 0042c920 +00431570 00af08bd 00431620 006b62b0 00431620 00431570 00431640 006b62b0 00431710 00aef15c -00431790 00407f10 -00431790 004087a0 -00431790 0040d040 00431790 00aef15c 00431790 00435740 -00431830 EXTERNAL:00000220 -00431830 0040bf30 -00431830 0040c000 -00431830 00aef12b -00431830 0040ccd0 -00431830 0040b220 -00431830 00aef15c +00431790 004087a0 +00431790 00407f10 +00431790 0040d040 00431830 007706e0 -00431be0 004355c0 -00431be0 0041d540 -00431be0 004171b0 -00431be0 00499d20 -00431be0 00417170 -00431be0 0041d520 -00431be0 0040b220 -00431be0 0042eef0 -00431be0 0067f260 -00431be0 004074c0 -00431be0 009f9020 -00431be0 00945470 -00431be0 00684cb0 -00431be0 00af0917 +00431830 0040b220 +00431830 EXTERNAL:00000220 +00431830 0040ccd0 +00431830 00aef15c +00431830 0040c000 +00431830 0040bf30 +00431830 00aef12b 00431be0 00682a50 -00431be0 0092dc30 -00431be0 00434e70 -00431be0 007aa7c0 -00431be0 004314b0 -00431be0 0040bd50 -00431be0 00a0f4c0 -00431be0 00431620 -00431be0 006b62b0 -00431be0 006b6470 -00431be0 00615030 00431be0 0040cf50 -00431be0 00a104e0 -00431be0 0067af60 -00431be0 EXTERNAL:00000220 -00431be0 00431310 -00431be0 00a10480 -00431be0 00613df0 -00431be0 00a10630 -00431be0 00aef12b 00431be0 00956780 -00431be0 00431570 -00431be0 006146e0 -00431be0 00945400 -00431be0 006eef60 -00431be0 006b2410 -00431be0 0062a8f0 -00431be0 006ac560 -00431be0 00779900 -00431be0 00417430 -00431be0 0040a5d0 -00431be0 009f9050 -00431be0 00431640 -00431be0 007706e0 +00431be0 00a104e0 00431be0 004357e0 00431be0 007bf6c0 00431be0 004175b0 -00431be0 00435590 00431be0 0042eb10 -00431be0 00945190 -00431be0 0041ab50 -00431be0 00428b20 -00431be0 00aef15c -00431be0 009452e0 -00431be0 0040a940 -00431be0 00a10030 -00431be0 00435a50 -00431be0 00652fa0 -00431be0 0040ac70 +00431be0 00417430 +00431be0 006146e0 00431be0 00614500 -00431be0 00408e00 +00431be0 006b2410 +00431be0 00aef12b +00431be0 007706e0 +00431be0 00684cb0 +00431be0 0041ab50 +00431be0 004171b0 +00431be0 0062a8f0 +00431be0 00417170 +00431be0 00945470 +00431be0 0067af60 +00431be0 00945400 00431be0 00af08b1 +00431be0 006ac560 +00431be0 00652fa0 +00431be0 0040bd50 +00431be0 006eef60 +00431be0 0041d540 +00431be0 009f9020 +00431be0 0067f260 +00431be0 0041d520 +00431be0 009452e0 +00431be0 00435a50 +00431be0 00a0f4c0 +00431be0 006b62b0 +00431be0 00431310 +00431be0 00431620 +00431be0 00615030 +00431be0 0092dc30 +00431be0 00af0917 +00431be0 004355c0 +00431be0 00aef15c +00431be0 004074c0 +00431be0 00779900 +00431be0 00a10630 +00431be0 009f9050 +00431be0 00945190 +00431be0 EXTERNAL:00000220 +00431be0 00434e70 +00431be0 0042eef0 +00431be0 0040a940 +00431be0 00435590 +00431be0 004314b0 00431be0 00499d60 +00431be0 00431640 +00431be0 0040ac70 +00431be0 00a10030 +00431be0 00613df0 +00431be0 00499d20 +00431be0 00a10480 +00431be0 00428b20 +00431be0 0040b220 +00431be0 00408e00 +00431be0 0040a5d0 +00431be0 007aa7c0 +00431be0 006b6470 +00431be0 00431570 00434e70 00435a50 00435130 006b10f0 00435130 00435290 00435130 00af0917 -00435290 00925df0 -00435290 0090b100 -00435290 00407170 -00435290 0041e720 -00435290 00af08b1 00435290 0041e960 +00435290 00407170 +00435290 00925df0 +00435290 0041e720 00435290 00af0917 +00435290 0090b100 +00435290 00af08b1 004355c0 00a0f4c0 -004355c0 00435910 004355c0 00af05e5 +004355c0 00435910 00435740 EXTERNAL:00000220 00435740 00aef15c -004357e0 0040cc10 004357e0 00a0f4c0 -00435910 0040c740 +004357e0 0040cc10 00435910 0040cf00 +00435910 0040c740 00435910 0040cee0 +00435910 00af05e5 00435910 00af08bd 00435910 0040cad0 -00435910 00af05e5 00435a50 00af090b 00436090 00812f50 00436140 00a112c0 00436260 004362a0 -004362a0 0072fd10 004362a0 00a112c0 -00436330 0042c8e0 -00436330 004cf210 +004362a0 0072fd10 +00436330 007d7740 +00436330 0043eb10 +00436330 00aef15c 00436330 004362a0 +00436330 0067f070 +00436330 004cf210 +00436330 0040bf30 00436330 00414a80 -00436330 0073f940 +00436330 00aef12b +00436330 007706e0 +00436330 0042c8e0 +00436330 0040b220 +00436330 00684b90 00436330 007e9020 00436330 00a0f4c0 -00436330 0067f070 00436330 0040c000 -00436330 00aef12b -00436330 0040b220 -00436330 00aef15c -00436330 0043eb10 -00436330 00748860 -00436330 0043ed20 -00436330 00748940 -00436330 00415d20 -00436330 0040bf30 -00436330 007488d0 00436330 00a112c0 -00436330 007d7740 -00436330 007706e0 -00436330 00684b90 +00436330 00748860 +00436330 0073f940 +00436330 0043ed20 +00436330 007488d0 +00436330 00415d20 +00436330 00748940 00436fb0 0042c8e0 00436fb0 00aef15c -004386f0 004cdcf0 -004386f0 00a10100 -004386f0 0041d540 -004386f0 004073d0 -004386f0 006341a0 -004386f0 0067f070 -004386f0 0067f170 004386f0 004360f0 -004386f0 0041d520 -004386f0 00aef12b -004386f0 0040b220 -004386f0 0067f260 -004386f0 00676150 -004386f0 006eef60 -004386f0 006ac560 -004386f0 004e4690 -004386f0 007599d0 -004386f0 007e90f0 -004386f0 00613c20 -004386f0 0067f0d0 004386f0 00771550 -004386f0 007706e0 -004386f0 00930ae0 -004386f0 00930a70 -004386f0 004cf210 004386f0 004362a0 -004386f0 00638c10 -004386f0 0060dc40 -004386f0 00407170 -004386f0 007e9080 -004386f0 00428b20 -004386f0 00633990 -004386f0 004071f0 -004386f0 EXTERNAL:00000200 -004386f0 00634000 -004386f0 00435a50 -004386f0 00a10030 -004386f0 0064bb70 -004386f0 00676120 -004386f0 00614500 004386f0 00435c20 +004386f0 0067f070 +004386f0 00676150 +004386f0 00a10100 +004386f0 004cf210 +004386f0 0067f0d0 +004386f0 00614500 +004386f0 00aef12b +004386f0 007706e0 +004386f0 00634000 +004386f0 007e90f0 +004386f0 0067f170 +004386f0 00633990 +004386f0 00a10030 004386f0 00af08b1 +004386f0 006ac560 +004386f0 00638c10 +004386f0 007599d0 +004386f0 00930a70 +004386f0 00930ae0 +004386f0 006eef60 +004386f0 004cdcf0 +004386f0 0041d540 +004386f0 007e9080 +004386f0 0067f260 +004386f0 00428b20 +004386f0 004e4690 +004386f0 0041d520 +004386f0 00435a50 +004386f0 0040b220 +004386f0 00613c20 004386f0 006a92a0 -0043a5e0 0092dc30 -0043a5e0 004cf210 -0043a5e0 004cdcf0 -0043a5e0 007c3100 -0043a5e0 007079c0 -0043a5e0 006a89d0 -0043a5e0 007078f0 -0043a5e0 006ac2a0 -0043a5e0 006ae0a0 -0043a5e0 00956780 -0043a5e0 006eef60 +004386f0 006341a0 +004386f0 00676120 +004386f0 00407170 +004386f0 0060dc40 +004386f0 004071f0 +004386f0 004073d0 +004386f0 EXTERNAL:00000200 +004386f0 0064bb70 0043a5e0 006ac560 -0043a5e0 00417430 -0043a5e0 006fe410 -0043a5e0 00435c70 -0043a5e0 00707840 +0043a5e0 006ae0a0 +0043a5e0 006a89d0 +0043a5e0 007c3100 +0043a5e0 004cdcf0 +0043a5e0 006eef60 +0043a5e0 00956780 +0043a5e0 004cf210 0043a5e0 006ac530 -0043aa90 00812f50 -0043aa90 006139b0 -0043aa90 0067f1d0 -0043aa90 0041d540 -0043aa90 00428b20 +0043a5e0 00417430 +0043a5e0 00707840 +0043a5e0 006fe410 +0043a5e0 007078f0 +0043a5e0 0092dc30 +0043a5e0 007079c0 +0043a5e0 00435c70 +0043a5e0 006ac2a0 +0043aa90 004362a0 0043aa90 0067f070 +0043aa90 00812f50 +0043aa90 00435a80 +0043aa90 00956780 +0043aa90 006b64d0 +0043aa90 00675fc0 +0043aa90 0067f1d0 +0043aa90 006146e0 +0043aa90 00614500 +0043aa90 00aef12b +0043aa90 007706e0 0043aa90 0067f170 -0043aa90 00408590 +0043aa90 00a10030 +0043aa90 006139b0 +0043aa90 0040a380 0043aa90 00613df0 +0043aa90 009305f0 +0043aa90 006eef60 +0043aa90 0041d540 +0043aa90 00639750 +0043aa90 00428b20 0043aa90 0041d520 0043aa90 0040b220 -0043aa90 00435a80 -0043aa90 006146e0 -0043aa90 00612330 -0043aa90 00677780 -0043aa90 006eef60 -0043aa90 0040a5d0 -0043aa90 00435c70 -0043aa90 006ac710 -0043aa90 00639750 -0043aa90 007706e0 -0043aa90 004362a0 -0043aa90 0040a380 -0043aa90 00675fc0 -0043aa90 00aef12b 0043aa90 00435a50 -0043aa90 00a10030 -0043aa90 0092dc30 -0043aa90 009305f0 -0043aa90 00614500 -0043aa90 006b64d0 -0043aa90 00956780 0043aa90 00684b90 +0043aa90 00612330 +0043aa90 0040a5d0 +0043aa90 0092dc30 +0043aa90 00677780 +0043aa90 00408590 +0043aa90 006ac710 +0043aa90 00435c70 0043d7f0 00436330 -0043d850 0041a790 -0043d850 006eef60 -0043d850 EXTERNAL:00000262 -0043d850 0041d540 -0043d850 00428b20 -0043d850 00435a50 0043d850 00703190 -0043d850 0041d520 +0043d850 00435a50 +0043d850 0041a790 0043d850 006ff2a0 -0043db20 0070d360 +0043d850 006eef60 +0043d850 0041d540 +0043d850 EXTERNAL:00000262 +0043d850 00428b20 +0043d850 0041d520 0043db20 004362a0 -0043db20 00428b20 -0043db20 0070fb60 -0043db20 00612440 +0043db20 006127b0 0043db20 006ff2a0 0043db20 004cdcf0 -0043db20 006e6e40 0043db20 006eef60 0043db20 00710480 -0043db20 00a648b0 -0043db20 006127b0 -0043db20 00435a50 -0043db20 00435c70 +0043db20 004cf210 +0043db20 00428b20 0043db20 00710dd0 +0043db20 00435a50 +0043db20 0070fb60 +0043db20 0070d360 +0043db20 006e6e40 0043db20 006ac710 0043db20 0041af60 -0043db20 004cf210 +0043db20 00612440 +0043db20 00435c70 0043db20 00703950 -0043e4a0 0067f1d0 +0043db20 00a648b0 0043e4a0 00613df0 0043e4a0 00638c10 -0043e4a0 006146e0 0043e4a0 004cdcf0 -0043e4a0 00499d60 -0043e4a0 0067f260 -0043e4a0 00435a50 0043e4a0 0096f470 -0043e4a0 00614500 -0043e4a0 006827a0 +0043e4a0 0067f260 0043e4a0 004cf210 +0043e4a0 0067f1d0 0043e4a0 006142e0 +0043e4a0 006146e0 +0043e4a0 00614500 +0043e4a0 00435a50 +0043e4a0 00499d60 +0043e4a0 006827a0 0043e990 0043eb10 0043e990 00436330 0043e9f0 005c93b0 -0043eb10 0042c880 0043eb10 EXTERNAL:00000220 -0043eb10 004149d0 -0043eb10 00a112c0 -0043eb10 00730b80 0043eb10 00aef15c -0043eb10 0042c920 0043eb10 0043eca0 +0043eb10 0042c880 +0043eb10 00a112c0 +0043eb10 0042c920 +0043eb10 004149d0 +0043eb10 00730b80 0043eb10 00415bc0 0043eca0 0040cf00 -0043eca0 00af08bd 0043eca0 0040cee0 -0043ed20 0043edf0 -0043ed20 00415bd0 +0043eca0 00af08bd 0043ed20 00aef15c +0043ed20 00415bd0 +0043ed20 0043edf0 0043ed20 004170d0 0043edf0 00a0f4c0 0043ef30 006eef60 0043f0c0 00aef12b 004405e0 00af0911 +00440630 006eef60 +00440630 00956780 +00440630 0040a1b0 +00440630 00aef12b +00440630 0040add0 +00440630 006ac760 +00440630 0040b220 00440630 00703670 00440630 004238f0 -00440630 0040a1b0 00440630 006fe410 -00440630 0040a380 -00440630 0040b220 -00440630 006ac760 -00440630 00aef12b -00440630 00af0911 -00440630 006eef60 -00440630 0040add0 -00440630 0040ae70 00440630 0040a5d0 +00440630 0040ae70 00440630 0092dc30 -00440630 00956780 +00440630 0040a380 +00440630 00af0911 00440e80 00945470 -00440f00 0041a790 -00440f00 007e2280 -00440f00 004073d0 -00440f00 00428b20 -00440f00 0041d540 -00440f00 006b6af0 +00440f00 0096fd60 00440f00 0067f070 -00440f00 004238f0 -00440f00 0040a1b0 +00440f00 00956780 00440f00 006be840 -00440f00 0041d520 -00440f00 0040b220 -00440f00 0092e230 -00440f00 0040a4d0 -00440f00 006ac760 -00440f00 006eef60 -00440f00 0040add0 -00440f00 006a9ba0 -00440f00 00a648b0 -00440f00 00a112c0 -00440f00 0040a5d0 -00440f00 006b6c20 -00440f00 0040b030 -00440f00 0042eef0 -00440f00 0092e560 -00440f00 00703670 -00440f00 006d0c60 -00440f00 00431310 -00440f00 0040a380 +00440f00 004cf210 +00440f00 004175b0 00440f00 00aef12b -00440f00 004cdcf0 -00440f00 006d6ba0 -00440f00 00435a50 +00440f00 0042eef0 +00440f00 00a0ffc0 +00440f00 007e2280 +00440f00 00703670 +00440f00 00945470 00440f00 00a10030 00440f00 0092e620 -00440f00 0092dc30 -00440f00 0092e6e0 -00440f00 004175b0 +00440f00 0040a380 +00440f00 006d0c60 +00440f00 00a648b0 00440f00 006b5f10 -00440f00 004cf210 -00440f00 00956780 +00440f00 0092e560 +00440f00 0041a790 +00440f00 006eef60 +00440f00 004cdcf0 +00440f00 0041d540 +00440f00 0092e230 +00440f00 0040a1b0 +00440f00 00428b20 00440f00 0081e9d0 -00440f00 00a0ffc0 -00440f00 0096fd60 -00440f00 00945470 +00440f00 0041d520 +00440f00 006b6c20 +00440f00 0040a4d0 +00440f00 0092e6e0 +00440f00 0040add0 +00440f00 00435a50 +00440f00 006ac760 +00440f00 0040b220 +00440f00 004238f0 +00440f00 00a112c0 +00440f00 006a9ba0 +00440f00 0040a5d0 +00440f00 0040b030 +00440f00 006d6ba0 +00440f00 00431310 +00440f00 0092dc30 +00440f00 004073d0 +00440f00 006b6af0 00443e50 0041a790 -00443e50 004073d0 -00443e50 00408e00 -00443e50 0041d540 -00443e50 00428b20 00443e50 0067f070 -00443e50 004238f0 +00443e50 0041d540 +00443e50 006eef60 +00443e50 004cdcf0 00443e50 0040a1b0 +00443e50 004cf210 +00443e50 00428b20 00443e50 0041d520 -00443e50 006ac760 00443e50 00aef12b 00443e50 00813360 -00443e50 0040a780 -00443e50 004cdcf0 -00443e50 006eef60 -00443e50 00a648b0 -00443e50 0040a5d0 00443e50 00435a50 -00443e50 00435c70 +00443e50 006ac760 +00443e50 004238f0 +00443e50 00408e00 00443e50 00682740 -00443e50 004cf210 -00444900 009960b0 +00443e50 0040a5d0 +00443e50 0040a780 +00443e50 004073d0 +00443e50 00435c70 +00443e50 00a648b0 00444900 00435a50 +00444900 009960b0 +00444900 0092e230 +00444900 00956780 00444900 0092dc30 +00444900 006b6550 00444900 0040a380 00444900 0041d520 -00444900 0092e230 00444900 00aef12b -00444900 006b6550 -00444900 00956780 +00444cc0 00813360 +00444cc0 006b31b0 00444cc0 00703670 +00444cc0 0092e230 +00444cc0 00956780 00444cc0 00407170 00444cc0 0092dc30 00444cc0 0040a380 -00444cc0 0092e230 00444cc0 00aef12b -00444cc0 006b31b0 -00444cc0 00956780 -00444cc0 00813360 -00447180 006eef60 +00447180 00813360 +00447180 00435a50 00447180 006fd350 +00447180 006eef60 00447180 0041d540 00447180 0040a5d0 -00447180 00a10030 -00447180 00435a50 00447180 0040a1b0 +00447180 00a10030 00447180 006bec40 00447180 0041d520 -00447180 00813360 -00447770 00af08b1 00447770 00a112c0 -004477b0 00703670 -004477b0 0041d540 -004477b0 006fe410 -004477b0 0041d520 -004477b0 0040a380 -004477b0 00aef12b -004477b0 006b31b0 -004477b0 004cdcf0 -004477b0 006eef60 +00447770 00af08b1 004477b0 006fd350 -004477b0 0040add0 +004477b0 006eef60 +004477b0 0041d540 +004477b0 004cdcf0 004477b0 004d8b50 -004477b0 0092dc30 -004477b0 004cf210 004477b0 00956780 -0044a040 00407170 -0044a040 0041d540 -0044a040 00431310 +004477b0 004cf210 +004477b0 0041d520 +004477b0 00aef12b +004477b0 0040add0 +004477b0 006b31b0 +004477b0 00703670 +004477b0 006fe410 +004477b0 0092dc30 +004477b0 0040a380 0044a040 0067f070 -0044a040 0041d520 -0044a040 0040a380 -0044a040 0040b220 -0044a040 006ac760 -0044a040 00aef12b -0044a040 007e9080 -0044a040 00813360 -0044a040 006ae280 +0044a040 0041d540 0044a040 006eef60 -0044a040 00435c70 -0044a040 00a10030 +0044a040 007e9080 +0044a040 006ae280 +0044a040 0041d520 +0044a040 00aef12b +0044a040 00813360 +0044a040 006ac760 +0044a040 0040b220 0044a040 00435a50 0044a040 00682740 +0044a040 00431310 +0044a040 00407170 0044a040 004071f0 -0044aad0 0044bcc0 +0044a040 00a10030 +0044a040 0040a380 +0044a040 00435c70 +0044aad0 006eef60 0044aad0 0041d540 -0044aad0 0040a1b0 -0044aad0 006fe410 -0044aad0 0041d520 -0044aad0 00af0911 0044aad0 004cdcf0 0044aad0 006ae280 -0044aad0 006eef60 -0044aad0 00a648b0 -0044aad0 0040a5d0 -0044aad0 00435c70 -0044aad0 00435a50 -0044aad0 0041af60 -0044aad0 006bec40 +0044aad0 0040a1b0 0044aad0 004cf210 -0044aad0 00af0917 +0044aad0 0041d520 0044aad0 0044bd80 -0044b6f0 006d7cf0 -0044b6f0 006d6ba0 -0044b6f0 006b6af0 +0044aad0 00435a50 +0044aad0 006fe410 +0044aad0 0040a5d0 +0044aad0 0044bcc0 +0044aad0 00af0917 +0044aad0 0041af60 +0044aad0 00435c70 +0044aad0 006bec40 +0044aad0 00af0911 +0044aad0 00a648b0 0044b6f0 0040a5d0 +0044b6f0 006d6ba0 +0044b6f0 00956780 0044b6f0 00447770 0044b6f0 0040a1b0 0044b6f0 0092dc30 -0044b6f0 006ac530 0044b6f0 006be840 -0044b6f0 00956780 +0044b6f0 006ac530 +0044b6f0 006b6af0 +0044b6f0 006d7cf0 0044bcc0 0044be50 0044bcc0 00a0f4c0 0044bd80 0044be50 0044bd80 00a0f4c0 -0044be50 00af05e5 -0044be50 0040cad0 0044be50 0040cf00 0044be50 0040c740 -0044be50 00af08bd 0044be50 0040cee0 +0044be50 00af05e5 +0044be50 00af08bd +0044be50 0040cad0 0044bfb0 00771550 -0044c070 00703670 -0044c070 00407170 -0044c070 0041d540 -0044c070 0067f070 -0044c070 004238f0 0044c070 00a114d0 -0044c070 006fe410 -0044c070 0041d520 -0044c070 0040a380 -0044c070 0040b220 -0044c070 006b6550 -0044c070 00aef12b -0044c070 006ac760 -0044c070 00700060 -0044c070 00813360 +0044c070 0067f070 0044c070 006eef60 -0044c070 0040add0 -0044c070 0040ae70 -0044c070 00a112c0 -0044c070 0092dc30 -0044c070 0040a220 -0044c070 004071f0 +0044c070 0041d540 0044c070 00956780 +0044c070 00700060 +0044c070 006b6550 +0044c070 0041d520 +0044c070 00aef12b +0044c070 00813360 +0044c070 0040add0 +0044c070 006ac760 +0044c070 0040b220 +0044c070 00703670 +0044c070 00a112c0 +0044c070 004238f0 +0044c070 006fe410 +0044c070 0040a220 +0044c070 0040ae70 +0044c070 00407170 +0044c070 0092dc30 +0044c070 004071f0 +0044c070 0040a380 +0044ee60 0040b220 0044ee60 006eef60 0044ee60 0041d540 -0044ee60 0092dc30 0044ee60 006fe410 -0044ee60 0041d520 -0044ee60 0040b220 -0044ee60 00aef12b 0044ee60 00956780 -0044f2b0 00812f50 -0044f2b0 00407170 -0044f2b0 0040a6e0 -0044f2b0 0041d540 -0044f2b0 009e24a0 -0044f2b0 00734900 -0044f2b0 006fe410 -0044f2b0 0041d520 -0044f2b0 007078f0 -0044f2b0 006ff2a0 -0044f2b0 006b6550 -0044f2b0 00700060 -0044f2b0 006eef60 +0044ee60 0092dc30 +0044ee60 0041d520 +0044ee60 00aef12b 0044f2b0 004288a0 -0044f2b0 0044bfb0 -0044f2b0 00a112c0 -0044f2b0 007079c0 -0044f2b0 0043ef30 -0044f2b0 008646e0 -0044f2b0 00703670 -0044f2b0 00408e00 -0044f2b0 009e0680 -0044f2b0 006f0090 -0044f2b0 0040a380 -0044f2b0 006cb2e0 -0044f2b0 00aef12b -0044f2b0 00865340 -0044f2b0 00418500 -0044f2b0 00734180 -0044f2b0 004cdcf0 -0044f2b0 00733ca0 -0044f2b0 00734a80 -0044f2b0 0092dc30 -0044f2b0 00a68490 -0044f2b0 004071f0 -0044f2b0 004cf210 +0044f2b0 006ff2a0 +0044f2b0 00812f50 +0044f2b0 0040a6e0 0044f2b0 00956780 +0044f2b0 00700060 +0044f2b0 006b6550 +0044f2b0 004cf210 +0044f2b0 009e24a0 +0044f2b0 00aef12b +0044f2b0 00734180 +0044f2b0 00703670 +0044f2b0 00a68490 +0044f2b0 006fe410 +0044f2b0 006cb2e0 +0044f2b0 0040a380 +0044f2b0 0044bfb0 +0044f2b0 00734900 +0044f2b0 006eef60 +0044f2b0 0041d540 +0044f2b0 004cdcf0 +0044f2b0 0043ef30 +0044f2b0 00733ca0 +0044f2b0 0041d520 +0044f2b0 008646e0 +0044f2b0 00408e00 +0044f2b0 00a112c0 +0044f2b0 00734a80 +0044f2b0 00418500 +0044f2b0 009e0680 +0044f2b0 00407170 +0044f2b0 00865340 +0044f2b0 007078f0 +0044f2b0 0092dc30 +0044f2b0 004071f0 +0044f2b0 007079c0 +0044f2b0 006f0090 +004508c0 0082d030 004508c0 006eef60 004508c0 0041d540 004508c0 0074f690 004508c0 006fe410 004508c0 0041d520 -004508c0 0082d030 00450da0 00812f50 -00450da0 0041a790 -00450da0 006ccdd0 -00450da0 0041d540 -00450da0 00428b20 -00450da0 006ac560 -00450da0 0040a1b0 -00450da0 0055c4c0 -00450da0 0074f690 -00450da0 0041d520 +00450da0 00956780 +00450da0 004cf210 00450da0 006be840 -00450da0 006eef60 -00450da0 0040add0 -00450da0 00a648b0 -00450da0 0040a5d0 -00450da0 0043ef30 +00450da0 00aef12b +00450da0 0055c4c0 00450da0 00703670 -00450da0 00408e00 -00450da0 00431310 +00450da0 0074f690 00450da0 00738470 00450da0 0040a380 00450da0 006cb2e0 -00450da0 00aef12b +00450da0 0060af00 +00450da0 00a648b0 +00450da0 006ac560 +00450da0 0082d030 +00450da0 0041a790 +00450da0 006eef60 +00450da0 0041d540 00450da0 004cdcf0 +00450da0 006ccdd0 +00450da0 0040a1b0 +00450da0 0043ef30 +00450da0 00428b20 +00450da0 0041d520 +00450da0 0040add0 +00450da0 00435a50 +00450da0 00408e00 +00450da0 0040a5d0 00450da0 006d6ba0 00450da0 0040ae70 -00450da0 00435a50 +00450da0 00431310 00450da0 0092dc30 -00450da0 004cf210 00450da0 007e6300 -00450da0 00956780 -00450da0 0082d030 -00450da0 0060af00 00452bf0 0040cf50 -00452c60 009305f0 00452c60 007abe20 +00452c60 009305f0 00452d40 EXTERNAL:00000262 -00452d40 006a6940 -00452d40 0041af60 00452d40 004cf210 +00452d40 0041af60 +00452d40 006a6940 00452eb0 004cdcf0 +00452eb0 00956780 00452eb0 EXTERNAL:00000262 -00452eb0 006a6940 00452eb0 0092dc30 +00452eb0 004cf210 00452eb0 0041af60 00452eb0 0040a380 -00452eb0 004cf210 -00452eb0 00956780 -00453140 0041d540 -00453140 00452c60 -00453140 0042a270 -00453140 00452d40 -00453140 0041d520 -00453140 006ac760 -00453140 00a648b0 -00453140 00a112c0 -00453140 0040b430 -00453140 0042eef0 -00453140 00431310 -00453140 0040a380 -00453140 004561b0 -00453140 00aef12b -00453140 009568e0 -00453140 004cdcf0 -00453140 0040c000 -00453140 0092dc30 -00453140 0040bf30 -00453140 006b5f10 -00453140 004cf210 -00453140 0081e9d0 -00453140 00945470 -00453140 00703950 -00453140 00812f50 -00453140 006ac2a0 -00453140 0041a790 +00452eb0 006a6940 00453140 006d0c20 -00453140 0044bcc0 -00453140 00428b20 -00453140 006b6830 -00453140 0040a1b0 +00453140 00812f50 00453140 00452bf0 -00453140 006a92a0 -00453140 0040b090 -00453140 0040a4d0 -00453140 00703850 -00453140 00452eb0 -00453140 00417870 -00453140 006b6550 -00453140 006b68c0 -00453140 006eef60 -00453140 009be990 -00453140 006a9ba0 -00453140 EXTERNAL:00000220 -00453140 0040a5d0 -00453140 006b6c20 -00453140 00435c70 -00453140 0040cf00 -00453140 0040b030 -00453140 00703670 -00453140 0040cae0 -00453140 0040d040 -00453140 00417430 00453140 00408d00 -00453140 00813360 -00453140 004530e0 -00453140 006d6ba0 -00453140 00a10030 -00453140 00435a50 -00453140 00aef15c -00453140 0041af60 -00453140 004175b0 00453140 00956780 +00453140 004175b0 +00453140 00417430 +00453140 00aef12b +00453140 009be990 +00453140 009568e0 +00453140 00945470 +00453140 006ac2a0 +00453140 0040cf00 +00453140 006b5f10 +00453140 0041a790 +00453140 006eef60 +00453140 004cdcf0 +00453140 0041d540 +00453140 0040a1b0 +00453140 0081e9d0 +00453140 0040bf30 +00453140 006b6c20 +00453140 0041d520 +00453140 00435a50 +00453140 00a112c0 +00453140 0040cae0 +00453140 006a92a0 +00453140 0044bcc0 +00453140 00431310 +00453140 0092dc30 +00453140 0041af60 +00453140 00452eb0 +00453140 00703850 +00453140 00aef15c +00453140 006b6550 +00453140 004cf210 +00453140 004530e0 +00453140 006b6830 +00453140 00813360 +00453140 EXTERNAL:00000220 +00453140 0042eef0 +00453140 0040c000 +00453140 00703670 +00453140 00417870 +00453140 00452c60 +00453140 00a10030 +00453140 0040a380 +00453140 0040d040 +00453140 00a648b0 +00453140 0040b090 +00453140 00452d40 +00453140 0042a270 +00453140 006b68c0 +00453140 00428b20 +00453140 004561b0 +00453140 0040a4d0 +00453140 006ac760 +00453140 006a9ba0 +00453140 0040b430 +00453140 0040a5d0 +00453140 0040b030 +00453140 006d6ba0 +00453140 00435c70 +00453140 00703950 004561b0 0040cae0 004561f0 0040cae0 00456230 00499d60 @@ -2038,2806 +2038,2806 @@ 004564b0 004cdcf0 004564b0 004cf210 00456750 004288a0 -004567e0 00af08b1 004567e0 00a112c0 -004568d0 00a648b0 +004567e0 00af08b1 004568d0 00435a50 004568d0 0041af60 -00456c40 00812f50 -00456c40 006ccdd0 -00456c40 00428b20 -00456c40 0040a1b0 +004568d0 00a648b0 +00456c40 00aef15c 00456c40 0067f070 -00456c40 006be840 -00456c40 0040b090 -00456c40 006ac760 +00456c40 00812f50 00456c40 006ac7e0 -00456c40 006d8240 -00456c40 006eef60 -00456c40 0040add0 +00456c40 006b64d0 +00456c40 006be840 +00456c40 007e6650 +00456c40 00417430 +00456c40 00aef12b 00456c40 EXTERNAL:00000220 -00456c40 0040a5d0 00456c40 0040a940 -00456c40 0043ef30 +00456c40 006c1330 00456c40 0040a380 00456c40 006cb2e0 -00456c40 00aef12b -00456c40 00417430 -00456c40 006c1330 +00456c40 0040b090 +00456c40 006eef60 +00456c40 006d8240 +00456c40 006ccdd0 +00456c40 0040a1b0 +00456c40 0043ef30 +00456c40 00428b20 00456c40 006cae60 -00456c40 006d6ba0 -00456c40 007e6650 +00456c40 0040add0 +00456c40 006ac760 00456c40 00435a50 +00456c40 0040a5d0 00456c40 006b45c0 -00456c40 00aef15c -00456c40 006b64d0 -00457840 006ccdd0 -00457840 00af08b1 -00457840 0041d540 -00457840 00428b20 -00457840 007e5340 -00457840 0040a1b0 -00457840 0067f070 -00457840 0041d520 -00457840 006be840 -00457840 0040b220 -00457840 006ac7e0 -00457840 006eef60 -00457840 EXTERNAL:00000220 -00457840 0040a5d0 -00457840 006ac710 -00457840 0043ef30 -00457840 006cb2e0 -00457840 00aef12b -00457840 00417430 -00457840 006c1330 -00457840 006d6ba0 -00457840 006c2750 -00457840 007e6650 -00457840 00435a50 -00457840 006b45c0 +00456c40 006d6ba0 00457840 00aef15c -00457840 0092dc30 -00457840 00813520 +00457840 0067f070 +00457840 006ac7e0 00457840 00956780 -00458870 00812f50 -00458870 006ac2a0 +00457840 006be840 +00457840 007e6650 +00457840 00417430 +00457840 00aef12b +00457840 EXTERNAL:00000220 +00457840 006c1330 +00457840 007e5340 +00457840 006cb2e0 +00457840 00af08b1 +00457840 006eef60 +00457840 0041d540 +00457840 006ccdd0 +00457840 0040a1b0 +00457840 0043ef30 +00457840 00428b20 +00457840 0041d520 +00457840 0040b220 +00457840 00435a50 +00457840 00813520 +00457840 0040a5d0 +00457840 006c2750 +00457840 006b45c0 +00457840 006d6ba0 +00457840 0092dc30 +00457840 006ac710 00458870 00812c90 -00458870 006d0dd0 -00458870 00428b20 -00458870 0040a1b0 -00458870 0067f070 -00458870 006be840 -00458870 006ac760 -00458870 006d8240 -00458870 006eef60 -00458870 EXTERNAL:00000220 -00458870 00a648b0 -00458870 0040a5d0 -00458870 007e33c0 -00458870 006ac710 -00458870 006bec40 -00458870 0043ef30 -00458870 006c0f30 -00458870 00813460 -00458870 0040a380 -00458870 006cb2e0 -00458870 00aef12b -00458870 00417430 -00458870 006c1330 -00458870 004cdcf0 -00458870 006d6ba0 -00458870 007e6650 -00458870 00435a50 00458870 00aef15c -00458870 004565e0 -00458870 004a5d10 +00458870 0067f070 +00458870 00812f50 +00458870 00813460 +00458870 007e33c0 +00458870 006be840 +00458870 007e6650 00458870 004cf210 -00458870 00813520 +00458870 00417430 +00458870 00aef12b +00458870 EXTERNAL:00000220 +00458870 006c1330 +00458870 004565e0 +00458870 006cb2e0 +00458870 0040a380 +00458870 006bec40 +00458870 00a648b0 +00458870 006ac2a0 +00458870 006eef60 +00458870 004cdcf0 +00458870 006d8240 +00458870 0040a1b0 +00458870 006d0dd0 +00458870 0043ef30 +00458870 00428b20 00458870 0081e9d0 +00458870 00435a50 +00458870 006ac760 +00458870 00813520 +00458870 0040a5d0 +00458870 006d6ba0 +00458870 004a5d10 +00458870 006ac710 +00458870 006c0f30 +00459d20 009ad210 +00459d20 00aef15c +00459d20 0067f070 00459d20 00812f50 -00459d20 00af08b1 -00459d20 00428b20 +00459d20 006ac7e0 +00459d20 006ad750 00459d20 0040a6e0 00459d20 009b9380 -00459d20 0067f070 -00459d20 006be840 -00459d20 0040a4d0 -00459d20 006ac7e0 -00459d20 00417870 -00459d20 006ad750 -00459d20 006eef60 -00459d20 0040add0 -00459d20 EXTERNAL:00000220 -00459d20 00435c70 -00459d20 0040b030 -00459d20 006c0f30 -00459d20 006d0300 -00459d20 00930220 -00459d20 00431310 -00459d20 00a10100 -00459d20 0040a380 -00459d20 00a10600 -00459d20 00aef12b -00459d20 00417430 -00459d20 006c1330 -00459d20 004cdcf0 -00459d20 006d6ba0 -00459d20 007e6650 -00459d20 00447770 -00459d20 00435a50 -00459d20 00a10030 -00459d20 00aef15c -00459d20 0092dc30 -00459d20 004cf210 -00459d20 00813520 -00459d20 007e6300 00459d20 00956780 -00459d20 009ad210 +00459d20 00a10100 +00459d20 00930220 +00459d20 00447770 +00459d20 006be840 +00459d20 007e6650 +00459d20 004cf210 +00459d20 00417430 +00459d20 00aef12b +00459d20 EXTERNAL:00000220 +00459d20 006c1330 +00459d20 00417870 +00459d20 00a10600 +00459d20 00a10030 +00459d20 0040a380 +00459d20 00af08b1 +00459d20 006eef60 +00459d20 004cdcf0 +00459d20 00428b20 +00459d20 0040a4d0 +00459d20 00435a50 +00459d20 0040add0 +00459d20 00813520 +00459d20 006d6ba0 +00459d20 0040b030 +00459d20 00431310 +00459d20 0092dc30 +00459d20 00435c70 +00459d20 007e6300 +00459d20 006d0300 +00459d20 006c0f30 +0045b830 00aef15c 0045b830 00812f50 +0045b830 00956780 0045b830 0060b890 -0045b830 00af08b1 -0045b830 007e5340 -0045b830 0041d540 -0045b830 00428b20 -0045b830 00499d20 0045b830 006be840 -0045b830 0041d520 -0045b830 0040b090 -0045b830 0040a4d0 -0045b830 0096f310 -0045b830 006eef60 -0045b830 0040add0 +0045b830 00aef12b 0045b830 EXTERNAL:00000220 -0045b830 00435c70 -0045b830 006bec40 -0045b830 0043ef30 +0045b830 006c1330 +0045b830 007e5340 +0045b830 00a10030 0045b830 0040a380 0045b830 006cb2e0 -0045b830 00aef12b -0045b830 006c1330 -0045b830 006d6ba0 +0045b830 006bec40 +0045b830 00af08b1 +0045b830 00499d20 +0045b830 0040b090 +0045b830 006eef60 +0045b830 0041d540 +0045b830 0096f310 +0045b830 0043ef30 +0045b830 00428b20 +0045b830 0041d520 +0045b830 0040a4d0 +0045b830 0040add0 0045b830 00435a50 -0045b830 00a10030 +0045b830 006d6ba0 0045b830 0092dc30 -0045b830 00aef15c -0045b830 00956780 -0045cd60 006ccdd0 -0045cd60 007e5340 -0045cd60 0040a1b0 -0045cd60 006be840 -0045cd60 006cb2e0 -0045cd60 00aef12b -0045cd60 006d8240 -0045cd60 006c1330 -0045cd60 006eef60 -0045cd60 EXTERNAL:00000220 -0045cd60 006d6ba0 -0045cd60 0040a5d0 -0045cd60 007e6650 -0045cd60 00435a50 -0045cd60 00a10030 +0045b830 00435c70 0045cd60 00aef15c -0045cd60 006bec40 +0045cd60 006eef60 +0045cd60 006d8240 +0045cd60 006ccdd0 +0045cd60 0040a1b0 0045cd60 0043ef30 +0045cd60 006be840 +0045cd60 007e6650 +0045cd60 00aef12b +0045cd60 EXTERNAL:00000220 +0045cd60 00435a50 +0045cd60 006c1330 +0045cd60 0040a5d0 +0045cd60 007e5340 +0045cd60 006d6ba0 +0045cd60 00a10030 +0045cd60 006cb2e0 +0045cd60 006bec40 0045d7d0 00812f50 -0045d7d0 0060b890 -0045d7d0 0041d540 -0045d7d0 0040a1b0 -0045d7d0 004238f0 -0045d7d0 006be840 -0045d7d0 0040a380 -0045d7d0 0041d520 -0045d7d0 006cb2e0 -0045d7d0 00aef12b -0045d7d0 00417430 -0045d7d0 0096f310 0045d7d0 006eef60 -0045d7d0 0040add0 -0045d7d0 006d6ba0 -0045d7d0 007e6650 -0045d7d0 0040a5d0 -0045d7d0 006ac710 +0045d7d0 0041d540 +0045d7d0 0096f310 +0045d7d0 0040a1b0 0045d7d0 0043ef30 +0045d7d0 0060b890 +0045d7d0 006be840 +0045d7d0 007e6650 +0045d7d0 00417430 +0045d7d0 0041d520 +0045d7d0 00aef12b +0045d7d0 0040add0 +0045d7d0 004238f0 +0045d7d0 0040a5d0 +0045d7d0 006d6ba0 0045d7d0 0040b030 -0045e050 0060b890 -0045e050 00af08b1 -0045e050 0041d540 -0045e050 0040a1b0 -0045e050 004238f0 -0045e050 00452bf0 -0045e050 006fe410 -0045e050 006be840 -0045e050 0041d520 -0045e050 0040b090 -0045e050 006ff2a0 -0045e050 006ac7e0 -0045e050 00456570 -0045e050 0096f310 -0045e050 006eef60 -0045e050 004567b0 -0045e050 0040add0 -0045e050 EXTERNAL:00000220 -0045e050 0040a5d0 -0045e050 006ac710 -0045e050 006bec40 -0045e050 0040b030 -0045e050 00703670 -0045e050 006d0c60 -0045e050 0040cae0 -0045e050 0040a380 -0045e050 00aef12b -0045e050 00417430 -0045e050 004cdcf0 +0045d7d0 006ac710 +0045d7d0 0040a380 +0045d7d0 006cb2e0 0045e050 006fd350 -0045e050 006d6ba0 -0045e050 007e6650 0045e050 00aef15c -0045e050 00944a40 +0045e050 006ff2a0 +0045e050 00452bf0 +0045e050 006ac7e0 +0045e050 0060b890 +0045e050 006be840 +0045e050 007e6650 0045e050 004175b0 0045e050 004cf210 -0045e050 0081df10 -0045e050 00813520 +0045e050 00417430 +0045e050 00aef12b +0045e050 EXTERNAL:00000220 +0045e050 00944a40 0045e050 00a0ffc0 -0045ef20 006ccdd0 -0045ef20 00af08b1 -0045ef20 00408e00 -0045ef20 0040a1b0 -0045ef20 006fe410 -0045ef20 0040a380 -0045ef20 006be840 -0045ef20 00aef12b -0045ef20 006ac7e0 -0045ef20 00417430 +0045e050 00703670 +0045e050 006fe410 +0045e050 004567b0 +0045e050 006d0c60 +0045e050 0040a380 +0045e050 0081df10 +0045e050 006bec40 +0045e050 00af08b1 +0045e050 0040b090 +0045e050 006eef60 +0045e050 0041d540 +0045e050 004cdcf0 +0045e050 0096f310 +0045e050 0040a1b0 +0045e050 00456570 +0045e050 0041d520 +0045e050 0040add0 +0045e050 00813520 +0045e050 004238f0 +0045e050 0040cae0 +0045e050 0040a5d0 +0045e050 006d6ba0 +0045e050 0040b030 +0045e050 006ac710 0045ef20 006eef60 -0045ef20 0040add0 -0045ef20 006d6ba0 -0045ef20 006c2750 -0045ef20 0040a5d0 -0045ef20 00435a50 -0045ef20 006ac710 -0045ef20 004071f0 +0045ef20 006ac7e0 +0045ef20 006ccdd0 0045ef20 0043ef30 -0045ef20 0040b030 +0045ef20 0040a1b0 +0045ef20 006be840 +0045ef20 00417430 +0045ef20 00aef12b +0045ef20 0040add0 +0045ef20 00435a50 0045ef20 00813520 -0045fc00 00af08b1 -0045fc00 0067f010 -0045fc00 00408e00 -0045fc00 0040a1b0 -0045fc00 006fe410 -0045fc00 0040a380 +0045ef20 00408e00 +0045ef20 006fe410 +0045ef20 0040a5d0 +0045ef20 006c2750 +0045ef20 006d6ba0 +0045ef20 0040b030 +0045ef20 004071f0 +0045ef20 006ac710 +0045ef20 0040a380 +0045ef20 00af08b1 0045fc00 0040b090 -0045fc00 006be840 -0045fc00 00aef12b -0045fc00 006ac7e0 -0045fc00 00417430 -0045fc00 0096f310 0045fc00 006eef60 -0045fc00 006d6ba0 -0045fc00 006c2750 -0045fc00 0040a5d0 -0045fc00 006ac710 -0045fc00 0040b030 +0045fc00 006ac7e0 +0045fc00 0096f310 0045fc00 0043ef30 +0045fc00 0040a1b0 +0045fc00 006be840 +0045fc00 0067f010 +0045fc00 00417430 +0045fc00 00aef12b 0045fc00 00813520 -00460780 00812c90 -00460780 006ccdd0 -00460780 00af08b1 -00460780 0041d540 -00460780 0040a1b0 -00460780 0067f070 -00460780 0081e520 -00460780 006fe410 -00460780 006be840 -00460780 0041d520 -00460780 00709c40 -00460780 0040b220 -00460780 007f0780 -00460780 006ac7e0 -00460780 00456570 -00460780 0040a780 -00460780 006eef60 -00460780 0040add0 -00460780 00a112c0 -00460780 0040a5d0 -00460780 006ac710 -00460780 006bec40 -00460780 007e90f0 -00460780 0043ef30 -00460780 0040b030 -00460780 00703670 -00460780 006fed60 +0045fc00 00408e00 +0045fc00 006fe410 +0045fc00 0040a5d0 +0045fc00 006c2750 +0045fc00 006d6ba0 +0045fc00 0040b030 +0045fc00 006ac710 +0045fc00 0040a380 +0045fc00 00af08b1 00460780 00709db0 -00460780 00a0f4c0 -00460780 0040a380 -00460780 006cb2e0 -00460780 00aef12b -00460780 00417430 -00460780 004cdcf0 -00460780 006d6ba0 -00460780 0040ae70 -00460780 00435a50 -00460780 0092dc30 -00460780 004cf210 -00460780 0081df10 -00460780 00813520 +00460780 00812c90 +00460780 0067f070 +00460780 006ac7e0 00460780 00956780 00460780 006b64d0 -00461fc0 00af08b1 -00461fc0 00428b20 -00461fc0 007e5340 -00461fc0 0067f170 +00460780 006be840 +00460780 004cf210 +00460780 00417430 +00460780 00709c40 +00460780 00aef12b +00460780 0081e520 +00460780 00703670 +00460780 006fe410 +00460780 007e90f0 +00460780 006cb2e0 +00460780 0081df10 +00460780 0040a380 +00460780 006bec40 +00460780 00af08b1 +00460780 006eef60 +00460780 004cdcf0 +00460780 0041d540 +00460780 006ccdd0 +00460780 0040a1b0 +00460780 0043ef30 +00460780 00456570 +00460780 0041d520 +00460780 0040b220 +00460780 0040add0 +00460780 00435a50 +00460780 00813520 +00460780 00a112c0 +00460780 00a0f4c0 +00460780 006fed60 +00460780 0040a5d0 +00460780 006d6ba0 +00460780 0040ae70 +00460780 0040b030 +00460780 0040a780 +00460780 0092dc30 +00460780 007f0780 +00460780 006ac710 +00461fc0 00aef15c +00461fc0 00956780 +00461fc0 004cf210 00461fc0 006be840 -00461fc0 006d85a0 -00461fc0 006eef60 -00461fc0 EXTERNAL:00000220 -00461fc0 00a648b0 -00461fc0 0040a5d0 -00461fc0 00435c70 -00461fc0 006ac710 -00461fc0 0040ccd0 00461fc0 00956110 -00461fc0 00408e00 00461fc0 006d82d0 -00461fc0 00aef12b 00461fc0 00417430 +00461fc0 00aef12b +00461fc0 EXTERNAL:00000220 +00461fc0 0067f170 +00461fc0 007e5340 +00461fc0 00af08b1 +00461fc0 00a648b0 +00461fc0 0040ccd0 +00461fc0 006eef60 00461fc0 004cdcf0 00461fc0 00812de0 +00461fc0 00428b20 +00461fc0 006d85a0 00461fc0 00435a50 -00461fc0 0092dc30 -00461fc0 00aef15c -00461fc0 0041af60 -00461fc0 004cf210 00461fc0 00813520 -00461fc0 00956780 -00463100 00812f50 -00463100 006ac2a0 -00463100 0041a790 -00463100 00af08b1 -00463100 00407170 -00463100 00428b20 -00463100 0041d540 -00463100 0040a1b0 -00463100 0067f070 -00463100 006be840 -00463100 0041d520 -00463100 008370b0 -00463100 006ac760 -00463100 006eef60 -00463100 009b92c0 -00463100 00a112c0 -00463100 00a648b0 -00463100 0040a5d0 -00463100 00a10630 -00463100 007e1e70 -00463100 007e90f0 -00463100 0043ef30 -00463100 00436090 -00463100 0067f0d0 -00463100 00456880 +00461fc0 00408e00 +00461fc0 0040a5d0 +00461fc0 0092dc30 +00461fc0 0041af60 +00461fc0 006ac710 +00461fc0 00435c70 00463100 007e4940 +00463100 0067f070 +00463100 00812f50 00463100 00456750 -00463100 0040a380 -00463100 006cb2e0 -00463100 00aef12b -00463100 00694fb0 -00463100 00813360 -00463100 004cdcf0 -00463100 00499d60 -00463100 006d6ba0 -00463100 00435a50 -00463100 00a10030 -00463100 00812d00 -00463100 0092dc30 -00463100 004cf210 -00463100 00813520 -00463100 007e6300 -00463100 0081e9d0 00463100 00956780 -00466600 007e6ff0 -00466600 00af08b1 -00466600 0041d540 -00466600 00428b20 -00466600 00428590 -00466600 006be840 -00466600 0041d520 -00466600 0040b220 -00466600 007f0780 -00466600 00417430 +00463100 00a10630 +00463100 004cf210 +00463100 006be840 +00463100 008370b0 +00463100 0067f0d0 +00463100 00aef12b +00463100 00813360 +00463100 007e90f0 +00463100 00436090 +00463100 00499d60 +00463100 00a10030 +00463100 006cb2e0 +00463100 0040a380 +00463100 00af08b1 +00463100 006ac2a0 +00463100 00a648b0 +00463100 0041a790 +00463100 006eef60 +00463100 004cdcf0 +00463100 0041d540 +00463100 0043ef30 +00463100 0040a1b0 +00463100 00428b20 +00463100 0081e9d0 +00463100 007e1e70 +00463100 00812d00 +00463100 0041d520 +00463100 009b92c0 +00463100 00456880 +00463100 006ac760 +00463100 00435a50 +00463100 00813520 +00463100 00a112c0 +00463100 0040a5d0 +00463100 006d6ba0 +00463100 00407170 +00463100 0092dc30 +00463100 007e6300 +00463100 00694fb0 +00466600 00aef15c 00466600 006eef60 -00466600 006d6ba0 +00466600 0041d540 +00466600 006be840 +00466600 00428b20 +00466600 0041d520 +00466600 00417430 00466600 EXTERNAL:00000220 00466600 00435a50 -00466600 00aef15c -00466600 007e6300 +00466600 0040b220 00466600 00813520 -00467670 006d7cf0 -00467670 00af08b1 -00467670 00407170 -00467670 00428b20 -00467670 0040a380 -00467670 006be840 -00467670 006cb2e0 -00467670 006ac7e0 -00467670 00aef12b -00467670 00417430 +00466600 007e6ff0 +00466600 00428590 +00466600 006d6ba0 +00466600 007f0780 +00466600 007e6300 +00466600 00af08b1 00467670 006eef60 -00467670 0040add0 -00467670 006d6ba0 -00467670 00a648b0 +00467670 006ac7e0 +00467670 00956780 00467670 00a10630 +00467670 0043ef30 +00467670 006be840 +00467670 0081e9d0 +00467670 00428b20 +00467670 00417430 +00467670 006d7cf0 +00467670 00aef12b +00467670 0040add0 +00467670 0040b030 +00467670 006d6ba0 +00467670 00407170 00467670 0092dc30 00467670 0041af60 +00467670 0040a380 +00467670 006cb2e0 00467670 007e6300 -00467670 0040b030 -00467670 0043ef30 -00467670 00956780 -00467670 0081e9d0 00467670 00703950 -00468180 0041d540 -00468180 009e24a0 -00468180 00734900 -00468180 0041d520 -00468180 006ff2a0 -00468180 00456570 -00468180 0040a780 -00468180 0040add0 -00468180 00a112c0 -00468180 007079c0 +00467670 00af08b1 +00467670 00a648b0 +00468180 006b5b90 +00468180 006ac7e0 +00468180 006b78d0 +00468180 006be840 00468180 006ad870 -00468180 0043ef30 -00468180 008646e0 -00468180 0067f010 -00468180 009e0680 -00468180 0040a380 -00468180 006cb2e0 +00468180 00417430 00468180 00aef12b -00468180 00865340 -00468180 00418500 -00468180 004cdcf0 -00468180 00734180 -00468180 00734a80 -00468180 006b5c10 -00468180 00a68490 -00468180 004cf210 00468180 006ac2a0 00468180 00af08b1 -00468180 006b6830 -00468180 0040a1b0 -00468180 006fe410 -00468180 006be840 -00468180 0040b090 -00468180 007078f0 -00468180 006b6550 -00468180 006ac7e0 00468180 006eef60 -00468180 006b5b90 -00468180 004288a0 -00468180 0040a5d0 -00468180 00435c70 -00468180 006b78d0 -00468180 0040b030 -00468180 00703670 -00468180 00408e00 -00468180 006f0090 -00468180 00417430 +00468180 004cdcf0 +00468180 0041d540 +00468180 0040a1b0 +00468180 0043ef30 +00468180 00456570 00468180 00733ca0 -00468180 006d6ba0 -00468180 004a5d10 +00468180 0041d520 00468180 00813520 -0046a0f0 0042f430 -0046a0f0 0067f170 +00468180 00a112c0 +00468180 00734a80 +00468180 007078f0 +00468180 0040a780 +00468180 006f0090 +00468180 004288a0 +00468180 006ff2a0 +00468180 006b6550 +00468180 004cf210 +00468180 009e24a0 +00468180 0067f010 +00468180 006b6830 +00468180 00734180 +00468180 00703670 +00468180 00a68490 +00468180 006fe410 +00468180 006b5c10 +00468180 0040a380 +00468180 006cb2e0 +00468180 00734900 +00468180 0040b090 +00468180 0040add0 +00468180 008646e0 +00468180 00408e00 +00468180 0040a5d0 +00468180 006d6ba0 +00468180 00418500 +00468180 009e0680 +00468180 0040b030 +00468180 00865340 +00468180 004a5d10 +00468180 00435c70 +00468180 007079c0 0046a0f0 006d88b0 -0046a0f0 0040b220 -0046a0f0 007f0780 -0046a0f0 00499190 -0046a0f0 0067f260 -0046a0f0 00a112c0 -0046a0f0 00a648b0 -0046a0f0 00a10630 -0046a0f0 0043ef30 -0046a0f0 006ac8d0 -0046a0f0 00709db0 -0046a0f0 00431310 -0046a0f0 00a10100 -0046a0f0 006d82d0 -0046a0f0 006d8260 -0046a0f0 0040a380 -0046a0f0 006cb2e0 -0046a0f0 00aef12b -0046a0f0 004cdcf0 -0046a0f0 007e6650 -0046a0f0 00447770 -0046a0f0 007f0800 -0046a0f0 004cf210 0046a0f0 00812c90 -0046a0f0 00af08b1 -0046a0f0 007f0df0 -0046a0f0 006d0dd0 -0046a0f0 00428b20 -0046a0f0 007e5340 -0046a0f0 0067f070 +0046a0f0 00a10100 +0046a0f0 006b64d0 0046a0f0 006be840 -0046a0f0 00709c40 -0046a0f0 006eef60 -0046a0f0 006d7df0 -0046a0f0 EXTERNAL:00000220 -0046a0f0 006a8990 -0046a0f0 00435c70 -0046a0f0 006ac710 -0046a0f0 007e90f0 -0046a0f0 0059a2d0 -0046a0f0 00a0f4c0 -0046a0f0 00a10600 0046a0f0 00417430 -0046a0f0 006d6ba0 +0046a0f0 00709c40 +0046a0f0 00aef12b +0046a0f0 007e90f0 +0046a0f0 007e5340 +0046a0f0 00a10600 +0046a0f0 00af08b1 +0046a0f0 006eef60 +0046a0f0 004cdcf0 +0046a0f0 0043ef30 +0046a0f0 007f0df0 +0046a0f0 0067f260 +0046a0f0 00499190 0046a0f0 006cae60 0046a0f0 00435a50 -0046a0f0 00a10030 -0046a0f0 00aef15c +0046a0f0 006a8990 +0046a0f0 00a112c0 +0046a0f0 00a0f4c0 +0046a0f0 00431310 +0046a0f0 007f0780 0046a0f0 0041af60 -0046a0f0 006b64d0 -0046c0a0 006ccdd0 -0046c0a0 0060b890 -0046c0a0 00407170 -0046c0a0 0041d540 -0046c0a0 0041d520 -0046c0a0 007f0780 -0046c0a0 00456570 -0046c0a0 0096f310 -0046c0a0 004566b0 -0046c0a0 0040add0 -0046c0a0 00a648b0 -0046c0a0 00a10630 -0046c0a0 006bec40 -0046c0a0 0043ef30 -0046c0a0 00956110 -0046c0a0 00431310 -0046c0a0 006d8260 -0046c0a0 009562d0 -0046c0a0 0040a380 -0046c0a0 006cb2e0 -0046c0a0 00aef12b -0046c0a0 004cdcf0 -0046c0a0 0040ae70 -0046c0a0 0092dc30 -0046c0a0 0081df10 -0046c0a0 004cf210 -0046c0a0 00812f50 -0046c0a0 0041a790 +0046a0f0 006ac710 +0046a0f0 00709db0 +0046a0f0 00aef15c +0046a0f0 0067f070 +0046a0f0 0059a2d0 +0046a0f0 00a10630 +0046a0f0 00447770 +0046a0f0 004cf210 +0046a0f0 007e6650 +0046a0f0 006d7df0 +0046a0f0 006d8260 +0046a0f0 006d82d0 +0046a0f0 EXTERNAL:00000220 +0046a0f0 007f0800 +0046a0f0 0067f170 +0046a0f0 00a10030 +0046a0f0 0040a380 +0046a0f0 006cb2e0 +0046a0f0 00a648b0 +0046a0f0 006d0dd0 +0046a0f0 00428b20 +0046a0f0 0040b220 +0046a0f0 006d6ba0 +0046a0f0 0042f430 +0046a0f0 006ac8d0 +0046a0f0 00435c70 0046c0a0 00812c90 -0046c0a0 00af08b1 -0046c0a0 006b66c0 -0046c0a0 00428b20 -0046c0a0 006b6830 -0046c0a0 0040a1b0 -0046c0a0 004238f0 -0046c0a0 006be840 -0046c0a0 0040b090 +0046c0a0 00812f50 0046c0a0 006ac7e0 -0046c0a0 006eef60 -0046c0a0 0040a5d0 -0046c0a0 0040b030 -0046c0a0 00408e00 -0046c0a0 004564b0 -0046c0a0 00738470 -0046c0a0 00a10600 -0046c0a0 00417430 -0046c0a0 00499d60 -0046c0a0 006d6ba0 -0046c0a0 00435a50 -0046c0a0 00a10030 0046c0a0 00956780 +0046c0a0 0060b890 +0046c0a0 006be840 +0046c0a0 00417430 +0046c0a0 00aef12b +0046c0a0 004564b0 +0046c0a0 00a10600 +0046c0a0 00738470 +0046c0a0 0081df10 +0046c0a0 006bec40 +0046c0a0 006b66c0 +0046c0a0 00af08b1 +0046c0a0 0041a790 +0046c0a0 006eef60 +0046c0a0 0041d540 +0046c0a0 004cdcf0 +0046c0a0 006ccdd0 +0046c0a0 0096f310 +0046c0a0 0040a1b0 +0046c0a0 0043ef30 +0046c0a0 00456570 +0046c0a0 0041d520 +0046c0a0 00435a50 +0046c0a0 004566b0 +0046c0a0 004238f0 +0046c0a0 00431310 +0046c0a0 00407170 +0046c0a0 0092dc30 +0046c0a0 007f0780 +0046c0a0 00a10630 +0046c0a0 004cf210 +0046c0a0 00956110 +0046c0a0 006d8260 +0046c0a0 006b6830 +0046c0a0 00499d60 +0046c0a0 00a10030 +0046c0a0 006cb2e0 +0046c0a0 0040a380 +0046c0a0 00a648b0 +0046c0a0 009562d0 +0046c0a0 0040b090 +0046c0a0 00428b20 +0046c0a0 0040add0 +0046c0a0 00408e00 +0046c0a0 0040a5d0 +0046c0a0 006d6ba0 +0046c0a0 0040b030 +0046c0a0 0040ae70 0046e290 00812f50 -0046e290 006ccdd0 -0046e290 00af08b1 -0046e290 006d0dd0 -0046e290 00428b20 -0046e290 0041d540 -0046e290 0040a1b0 -0046e290 006be840 -0046e290 0041d520 0046e290 006ac7e0 -0046e290 006eef60 +0046e290 006be840 +0046e290 004cf210 +0046e290 00417430 +0046e290 00aef12b +0046e290 006cb2e0 +0046e290 00af08b1 0046e290 00a648b0 +0046e290 006eef60 +0046e290 004cdcf0 +0046e290 0041d540 +0046e290 006ccdd0 +0046e290 006d0dd0 +0046e290 0040a1b0 +0046e290 0043ef30 +0046e290 00428b20 +0046e290 0041d520 +0046e290 00a0f4e0 +0046e290 00435a50 +0046e290 00813520 0046e290 00a112c0 0046e290 0040a5d0 -0046e290 00a0f4e0 -0046e290 0043ef30 -0046e290 EXTERNAL:00000262 -0046e290 00417630 -0046e290 006cb2e0 -0046e290 00aef12b -0046e290 00417430 -0046e290 004cdcf0 -0046e290 006d6ba0 0046e290 006c2750 -0046e290 00435a50 +0046e290 006d6ba0 +0046e290 00417630 +0046e290 EXTERNAL:00000262 0046e290 0041af60 -0046e290 004cf210 0046e290 007e6300 -0046e290 00813520 -0046fbe0 0041a790 -0046fbe0 00af08b1 -0046fbe0 00428b20 -0046fbe0 0041d540 -0046fbe0 006b6830 -0046fbe0 004238f0 -0046fbe0 0040a1b0 -0046fbe0 006be840 -0046fbe0 0040b090 -0046fbe0 0041d520 -0046fbe0 0042c920 +0046fbe0 00aef15c 0046fbe0 006ac7e0 -0046fbe0 006eef60 -0046fbe0 0040add0 -0046fbe0 006d0ca0 -0046fbe0 EXTERNAL:00000220 -0046fbe0 00a648b0 -0046fbe0 0040a5d0 -0046fbe0 006bec40 -0046fbe0 0043ef30 -0046fbe0 0040b030 +0046fbe0 00956780 +0046fbe0 006be840 +0046fbe0 004175b0 0046fbe0 0067f010 +0046fbe0 00417430 +0046fbe0 00aef12b +0046fbe0 006b6830 +0046fbe0 EXTERNAL:00000220 +0046fbe0 006d0ca0 0046fbe0 004564b0 -0046fbe0 00408e00 -0046fbe0 00431310 -0046fbe0 006d0c60 +0046fbe0 00a10030 0046fbe0 0040a380 0046fbe0 006cb2e0 -0046fbe0 00aef12b -0046fbe0 00417430 +0046fbe0 006d0c60 +0046fbe0 006bec40 +0046fbe0 00a648b0 +0046fbe0 00af08b1 +0046fbe0 0041a790 +0046fbe0 0040b090 +0046fbe0 006eef60 +0046fbe0 0041d540 +0046fbe0 0043ef30 +0046fbe0 0040a1b0 +0046fbe0 00428b20 +0046fbe0 0041d520 +0046fbe0 00435a50 +0046fbe0 0040add0 +0046fbe0 00813520 +0046fbe0 004238f0 +0046fbe0 00408e00 +0046fbe0 0042c920 +0046fbe0 0040a5d0 +0046fbe0 006c2750 0046fbe0 006d6ba0 0046fbe0 0040ae70 -0046fbe0 006c2750 -0046fbe0 00435a50 -0046fbe0 00a10030 -0046fbe0 00aef15c +0046fbe0 0040b030 +0046fbe0 00431310 0046fbe0 0092dc30 -0046fbe0 004175b0 -0046fbe0 00813520 -0046fbe0 00956780 -00471050 00af08b1 -00471050 00428b20 -00471050 0040a6e0 -00471050 0040b220 -00471050 006eef60 -00471050 EXTERNAL:00000220 -00471050 0040aaf0 -00471050 00a112c0 -00471050 00a648b0 -00471050 007e33c0 -00471050 0040a940 -00471050 006ac710 -00471050 006bec40 -00471050 00408e00 -00471050 EXTERNAL:00000262 -00471050 006d0300 -00471050 0040a380 -00471050 00aef12b -00471050 006c1330 -00471050 004cdcf0 -00471050 006d6ba0 -00471050 00408830 -00471050 00435a50 00471050 00aef15c -00471050 0041af60 +00471050 00408830 +00471050 0040a6e0 +00471050 007e33c0 00471050 004cf210 +00471050 00aef12b +00471050 EXTERNAL:00000220 +00471050 006c1330 +00471050 0040a940 +00471050 0040aaf0 +00471050 0040a380 +00471050 006bec40 +00471050 00af08b1 +00471050 00a648b0 +00471050 006eef60 +00471050 004cdcf0 +00471050 00428b20 +00471050 00435a50 +00471050 0040b220 +00471050 00408e00 +00471050 00a112c0 +00471050 006d6ba0 +00471050 EXTERNAL:00000262 00471050 004071f0 +00471050 006ac710 +00471050 0041af60 +00471050 006d0300 00471cc0 00812f50 -00471cc0 006d7cf0 +00471cc0 00447770 00471cc0 0060b890 -00471cc0 00407170 -00471cc0 0041d540 -00471cc0 0097fc10 -00471cc0 0040a1b0 -00471cc0 004238f0 -00471cc0 0067f170 +00471cc0 004cf210 00471cc0 006be840 -00471cc0 0041d520 -00471cc0 006d8240 -00471cc0 0096f310 -00471cc0 006eef60 -00471cc0 0040add0 -00471cc0 0040a5d0 -00471cc0 00435c70 -00471cc0 006bec40 -00471cc0 0040b030 -00471cc0 0043ef30 +00471cc0 0097fc10 +00471cc0 006d7cf0 +00471cc0 00aef12b +00471cc0 00944a40 +00471cc0 0067f170 +00471cc0 00499d60 +00471cc0 00a10030 00471cc0 0040a380 00471cc0 006cb2e0 -00471cc0 00aef12b -00471cc0 00499d60 +00471cc0 006bec40 +00471cc0 006eef60 +00471cc0 0041d540 +00471cc0 006d8240 +00471cc0 0096f310 +00471cc0 0040a1b0 +00471cc0 0043ef30 +00471cc0 0041d520 00471cc0 006cae60 -00471cc0 006d6ba0 -00471cc0 00447770 00471cc0 00435a50 -00471cc0 00a10030 -00471cc0 00944a40 -00471cc0 004cf210 +00471cc0 0040add0 +00471cc0 004238f0 +00471cc0 0040a5d0 +00471cc0 0040b030 +00471cc0 006d6ba0 +00471cc0 00407170 00471cc0 004071f0 -00472c40 006d7cf0 +00471cc0 00435c70 +00472c40 006eef60 +00472c40 00408d00 00472c40 0067f0d0 -00472c40 00407170 -00472c40 006b66c0 +00472c40 00417430 +00472c40 006d7cf0 +00472c40 00aef12b +00472c40 0040b220 00472c40 00408e00 00472c40 006fe410 -00472c40 0040a380 -00472c40 0040b220 -00472c40 00aef12b -00472c40 00408d00 -00472c40 00417430 -00472c40 006eef60 -00472c40 006b45c0 -00472c40 006bec40 00472c40 007e90f0 +00472c40 006b45c0 +00472c40 00407170 +00472c40 0040a380 +00472c40 006bec40 +00472c40 006b66c0 00472c40 007e6300 -004741f0 006ccdd0 -004741f0 00af08b1 -004741f0 007e5340 -004741f0 00428b20 -004741f0 0040a1b0 -004741f0 006be840 -004741f0 00aef12b -004741f0 00417430 -004741f0 006c1330 -004741f0 00813360 -004741f0 004cdcf0 -004741f0 006eef60 -004741f0 EXTERNAL:00000220 -004741f0 006d6ba0 -004741f0 006c2750 -004741f0 0040a5d0 -004741f0 00a10030 004741f0 00aef15c -004741f0 0092dc30 -004741f0 004cf210 -004741f0 0043ef30 -004741f0 00813520 +004741f0 006eef60 +004741f0 004cdcf0 +004741f0 006ccdd0 004741f0 00956780 -00474e00 00af08b1 -00474e00 007f0df0 -00474e00 00428b20 -00474e00 006be840 -00474e00 00aef12b -00474e00 006c1330 -00474e00 006eef60 -00474e00 EXTERNAL:00000220 -00474e00 007e33c0 -00474e00 00435a50 +004741f0 0040a1b0 +004741f0 0043ef30 +004741f0 006be840 +004741f0 004cf210 +004741f0 00428b20 +004741f0 00417430 +004741f0 00aef12b +004741f0 00813360 +004741f0 EXTERNAL:00000220 +004741f0 00813520 +004741f0 006c1330 +004741f0 0040a5d0 +004741f0 007e5340 +004741f0 006c2750 +004741f0 006d6ba0 +004741f0 00a10030 +004741f0 0092dc30 +004741f0 00af08b1 00474e00 00aef15c +00474e00 006eef60 +00474e00 007e33c0 +00474e00 007f0df0 +00474e00 006be840 +00474e00 00428b20 +00474e00 00aef12b +00474e00 EXTERNAL:00000220 +00474e00 00435a50 +00474e00 006c1330 00474e00 006ac710 00474e00 006bec40 +00474e00 00af08b1 00475110 00812c90 -00475110 007e6ff0 -00475110 007f0df0 -00475110 007e5340 -00475110 00428b20 -00475110 0040a1b0 -00475110 006be840 -00475110 00aef12b -00475110 006c1330 +00475110 00aef15c 00475110 006eef60 +00475110 0040a1b0 +00475110 007f0df0 +00475110 006be840 +00475110 00428b20 +00475110 00aef12b +00475110 00435a50 00475110 EXTERNAL:00000220 00475110 00a112c0 +00475110 007e6ff0 +00475110 006c1330 00475110 0040a5d0 -00475110 00435a50 -00475110 00aef15c +00475110 007e5340 00475110 006bec40 -00475a30 007e5340 -00475a30 00428b20 -00475a30 0040a1b0 -00475a30 0067f170 -00475a30 006be840 -00475a30 006cb2e0 -00475a30 00aef12b -00475a30 006c1330 -00475a30 006eef60 -00475a30 0067f260 -00475a30 EXTERNAL:00000220 -00475a30 006d6ba0 -00475a30 0040a5d0 00475a30 00aef15c +00475a30 006eef60 +00475a30 0040a1b0 00475a30 0043ef30 +00475a30 0067f260 +00475a30 006be840 +00475a30 00428b20 +00475a30 00aef12b +00475a30 EXTERNAL:00000220 00475a30 00813520 +00475a30 006c1330 +00475a30 0040a5d0 +00475a30 007e5340 +00475a30 0067f170 +00475a30 006d6ba0 +00475a30 006cb2e0 +004760a0 00435a50 004760a0 006eef60 004760a0 0041d540 -004760a0 00435a50 004760a0 006fe410 -004760a0 0040a380 -004760a0 0041d520 004760a0 007e90f0 004760a0 006be840 +004760a0 0040a380 +004760a0 0041d520 004760a0 007e6300 -00476860 006ccdd0 +00476860 00956780 00476860 0060b890 -00476860 0041d540 -00476860 00499230 -00476860 0041d520 -00476860 0040b220 -00476860 006828b0 -00476860 0096f310 -00476860 00499190 -00476860 0067f260 -00476860 0040add0 -00476860 00a112c0 -00476860 006bec40 -00476860 0043ef30 -00476860 0040b430 -00476860 004314b0 -00476860 00499580 -00476860 00499380 -00476860 00431310 -00476860 00499270 -00476860 0040a380 -00476860 006cb2e0 -00476860 00498fd0 -00476860 00aef12b -00476860 009568e0 -00476860 004cdcf0 -00476860 0040c000 -00476860 00812d00 -00476860 0092dc30 -00476860 0040bf30 -00476860 006c04b0 -00476860 0096ce90 -00476860 004cf210 -00476860 00479d50 -00476860 006ac2a0 -00476860 0044bcc0 -00476860 00af08b1 -00476860 00428b20 -00476860 0040a1b0 -00476860 004238f0 -00476860 00499d20 00476860 006be840 -00476860 006eef60 -00476860 EXTERNAL:00000220 -00476860 0040a5d0 -00476860 00682740 +00476860 00417430 +00476860 00499380 +00476860 00aef12b +00476860 006ba840 +00476860 0096ce90 +00476860 009568e0 +00476860 006bec40 +00476860 006828b0 +00476860 00af08b1 +00476860 006ac2a0 00476860 0040cf00 00476860 0040ccd0 -00476860 00682ed0 -00476860 0040d040 -00476860 006ba840 -00476860 00417430 -00476860 00499d60 -00476860 006d6ba0 +00476860 00498fd0 +00476860 006eef60 +00476860 004cdcf0 +00476860 0041d540 +00476860 006ccdd0 +00476860 0096f310 +00476860 0043ef30 +00476860 0040a1b0 +00476860 0067f260 +00476860 0040bf30 +00476860 00812d00 +00476860 00499190 +00476860 0041d520 00476860 00435a50 +00476860 00a112c0 +00476860 004238f0 +00476860 00682740 +00476860 0044bcc0 +00476860 00431310 +00476860 0092dc30 00476860 00aef15c +00476860 006c04b0 +00476860 00499230 +00476860 004cf210 +00476860 00499270 +00476860 EXTERNAL:00000220 +00476860 0040c000 +00476860 004314b0 +00476860 00499580 +00476860 00499d60 +00476860 0040a380 +00476860 006cb2e0 +00476860 0040d040 +00476860 00499d20 +00476860 00682ed0 +00476860 00479d50 00476860 005af800 -00476860 00956780 00476860 00409030 +00476860 00428b20 +00476860 0040b220 +00476860 0040add0 +00476860 0040a5d0 +00476860 0040b430 +00476860 006d6ba0 00479d80 00812c90 -00479d80 00408e00 -00479d80 007e5340 -00479d80 0040a1b0 -00479d80 00813460 -00479d80 006fe410 -00479d80 0040a380 -00479d80 006cb2e0 -00479d80 00aef12b -00479d80 0096f310 00479d80 006eef60 -00479d80 006d6ba0 -00479d80 0040a5d0 +00479d80 00813460 +00479d80 0096f310 +00479d80 00956780 +00479d80 0040a1b0 +00479d80 0043ef30 +00479d80 00aef12b 00479d80 00435a50 +00479d80 00408e00 +00479d80 006fe410 +00479d80 0040a5d0 +00479d80 007e5340 +00479d80 006d6ba0 00479d80 0092dc30 00479d80 004565e0 -00479d80 0043ef30 -00479d80 00956780 -0047a360 00499230 -0047a360 0040a6e0 -0047a360 006d6610 -0047a360 0067f170 -0047a360 00499550 -0047a360 004567e0 -0047a360 004566b0 -0047a360 00499190 -0047a360 006d0ca0 -0047a360 00a112c0 -0047a360 00499410 -0047a360 006bec40 -0047a360 004314b0 -0047a360 EXTERNAL:00000262 -0047a360 00709db0 -0047a360 00431310 -0047a360 00a10100 -0047a360 0040a380 -0047a360 00498fd0 -0047a360 00aef12b -0047a360 004cdcf0 -0047a360 00447770 -0047a360 0092dc30 -0047a360 00499a50 -0047a360 004cf210 +00479d80 0040a380 +00479d80 006cb2e0 0047a360 00812c90 0047a360 006d0c20 -0047a360 00af08b1 -0047a360 007f0df0 -0047a360 00428b20 -0047a360 007e5340 -0047a360 0040a1b0 -0047a360 006a92a0 -0047a360 00709c40 -0047a360 006be840 0047a360 006ac7e0 -0047a360 006eef60 -0047a360 0040a5d0 -0047a360 00435c70 -0047a360 007e90f0 -0047a360 0040b030 -0047a360 007e6fa0 -0047a360 006a2030 -0047a360 006d0300 -0047a360 00a0f4c0 -0047a360 00417430 -0047a360 00499d60 -0047a360 006d6ba0 -0047a360 00435a50 -0047a360 00a10030 -0047a360 00aef15c -0047a360 0041af60 -0047a360 EXTERNAL:000001d7 -0047a360 004175b0 -0047a360 004999d0 -0047a360 007e6300 0047a360 00956780 -0047c850 00af08b1 -0047c850 0041d540 -0047c850 00428b20 -0047c850 0040a1b0 -0047c850 006be840 -0047c850 0041d520 -0047c850 00417870 -0047c850 006ac7e0 +0047a360 00a10100 +0047a360 006be840 +0047a360 004175b0 +0047a360 00709c40 +0047a360 00417430 +0047a360 00499550 +0047a360 00aef12b +0047a360 006d0ca0 +0047a360 007e90f0 +0047a360 007e5340 +0047a360 00499a50 +0047a360 006bec40 +0047a360 00af08b1 +0047a360 00498fd0 +0047a360 004cdcf0 +0047a360 006eef60 +0047a360 0040a1b0 +0047a360 007f0df0 +0047a360 004567e0 +0047a360 00499190 +0047a360 006a2030 +0047a360 00435a50 +0047a360 004566b0 +0047a360 00a112c0 +0047a360 00a0f4c0 +0047a360 006a92a0 +0047a360 007e6fa0 +0047a360 004999d0 +0047a360 EXTERNAL:00000262 +0047a360 00431310 +0047a360 0092dc30 +0047a360 0041af60 +0047a360 007e6300 +0047a360 006d0300 +0047a360 00709db0 +0047a360 00aef15c +0047a360 00499230 +0047a360 0040a6e0 +0047a360 00447770 +0047a360 004cf210 +0047a360 00499410 +0047a360 004314b0 +0047a360 0067f170 +0047a360 00499d60 +0047a360 00a10030 +0047a360 0040a380 +0047a360 00428b20 +0047a360 EXTERNAL:000001d7 +0047a360 006d6610 +0047a360 0040a5d0 +0047a360 006d6ba0 +0047a360 0040b030 +0047a360 00435c70 0047c850 007cd950 -0047c850 006eef60 +0047c850 006ac7e0 +0047c850 00956780 +0047c850 006be840 +0047c850 00417430 +0047c850 00aef12b 0047c850 006d0ca0 -0047c850 0040add0 -0047c850 00a648b0 -0047c850 0040a5d0 -0047c850 0043ef30 -0047c850 0041e420 -0047c850 EXTERNAL:00000262 +0047c850 00417870 0047c850 006d0c60 0047c850 006cb2e0 -0047c850 00aef12b -0047c850 00417430 -0047c850 006d6ba0 +0047c850 00af08b1 +0047c850 00a648b0 +0047c850 006eef60 +0047c850 0041d540 +0047c850 0040a1b0 +0047c850 0043ef30 +0047c850 00428b20 +0047c850 0041d520 0047c850 00435a50 +0047c850 0040add0 +0047c850 0040a5d0 +0047c850 0041e420 +0047c850 006d6ba0 +0047c850 EXTERNAL:00000262 0047c850 0092dc30 -0047c850 00956780 -0047d8a0 006ccdd0 -0047d8a0 0060b890 -0047d8a0 00407170 -0047d8a0 0041d540 -0047d8a0 004562f0 -0047d8a0 0041d520 -0047d8a0 0040b220 -0047d8a0 006d8240 -0047d8a0 00456570 -0047d8a0 0096f310 -0047d8a0 0040add0 -0047d8a0 006bec40 -0047d8a0 0043ef30 -0047d8a0 00414520 -0047d8a0 00740bc0 -0047d8a0 0040a380 0047d8a0 004071c0 -0047d8a0 006cb2e0 -0047d8a0 00aef12b -0047d8a0 0040ace0 -0047d8a0 004cdcf0 -0047d8a0 007e6650 -0047d8a0 0040c000 -0047d8a0 0092dc30 -0047d8a0 0040bf30 -0047d8a0 0081df10 -0047d8a0 004cf210 -0047d8a0 00af08b1 -0047d8a0 006b66c0 -0047d8a0 00428b20 -0047d8a0 0067f070 -0047d8a0 004238f0 -0047d8a0 0040a1b0 -0047d8a0 006be840 -0047d8a0 0040b090 -0047d8a0 006eef60 -0047d8a0 004997f0 -0047d8a0 0040a5d0 -0047d8a0 00435c70 -0047d8a0 006d6c20 -0047d8a0 0040b030 -0047d8a0 006d0300 -0047d8a0 00682ed0 -0047d8a0 0040d040 -0047d8a0 006ba840 -0047d8a0 00417430 -0047d8a0 006d6ba0 -0047d8a0 00435a50 -0047d8a0 004a5d10 -0047d8a0 00813520 -0047d8a0 006b64d0 0047d8a0 00956780 +0047d8a0 006b64d0 +0047d8a0 0060b890 +0047d8a0 004562f0 +0047d8a0 006be840 +0047d8a0 00417430 +0047d8a0 00aef12b +0047d8a0 006ba840 +0047d8a0 0081df10 +0047d8a0 006bec40 +0047d8a0 006b66c0 +0047d8a0 00af08b1 +0047d8a0 006eef60 +0047d8a0 0041d540 +0047d8a0 004cdcf0 +0047d8a0 006d8240 +0047d8a0 006ccdd0 +0047d8a0 0096f310 +0047d8a0 0040a1b0 +0047d8a0 0043ef30 +0047d8a0 00456570 +0047d8a0 0040bf30 +0047d8a0 0041d520 +0047d8a0 00435a50 +0047d8a0 00813520 +0047d8a0 004238f0 +0047d8a0 00414520 +0047d8a0 00407170 +0047d8a0 0092dc30 +0047d8a0 006d0300 +0047d8a0 0067f070 +0047d8a0 007e6650 +0047d8a0 004cf210 +0047d8a0 0040c000 +0047d8a0 0040a380 +0047d8a0 006cb2e0 +0047d8a0 0040d040 +0047d8a0 00682ed0 +0047d8a0 004997f0 +0047d8a0 0040b090 +0047d8a0 00428b20 +0047d8a0 0040ace0 +0047d8a0 0040add0 +0047d8a0 0040b220 +0047d8a0 006d6c20 +0047d8a0 00740bc0 +0047d8a0 0040a5d0 +0047d8a0 006d6ba0 +0047d8a0 0040b030 +0047d8a0 004a5d10 +0047d8a0 00435c70 0047f640 006ae630 0047f640 0040a5d0 +0047f640 00956780 0047f640 0040a1b0 0047f640 0092dc30 0047f640 00aef12b -0047f640 00956780 -00481410 0060b890 -00481410 0041d540 -00481410 0041d520 -00481410 0040b220 -00481410 0096f310 -00481410 0040add0 -00481410 006d9050 -00481410 00a648b0 -00481410 006bec40 -00481410 0043ef30 +00481410 006fd350 +00481410 00812f50 +00481410 006ac7e0 00481410 00a10100 +00481410 00956780 +00481410 0060b890 +00481410 006be840 +00481410 00417430 +00481410 006d7cf0 +00481410 00aef12b +00481410 004564b0 +00481410 006bec40 +00481410 00af08b1 +00481410 006eef60 +00481410 0041d540 +00481410 004cdcf0 +00481410 0096f310 +00481410 006d8e40 +00481410 0040a1b0 +00481410 0043ef30 +00481410 0041d520 +00481410 006cae60 +00481410 00435a50 +00481410 00813520 +00481410 004238f0 +00481410 0092dc30 +00481410 006ac710 +00481410 006d9050 +00481410 0067f070 +00481410 00435a80 +00481410 00447770 +00481410 004cf210 +00481410 007e6650 00481410 006d82d0 +00481410 00a0ffc0 +00481410 006fe410 +00481410 00a10030 +00481410 006d0c60 00481410 0040a380 00481410 006cb2e0 -00481410 00aef12b -00481410 006d8e40 -00481410 004cdcf0 -00481410 006fd350 -00481410 0040ae70 -00481410 007e6650 -00481410 00447770 -00481410 0092dc30 -00481410 004cf210 -00481410 00a0ffc0 -00481410 00812f50 -00481410 006d7cf0 -00481410 00af08b1 -00481410 004238f0 -00481410 0040a1b0 -00481410 0067f070 -00481410 006fe410 -00481410 006be840 -00481410 0040a4d0 -00481410 006ac7e0 -00481410 00435a80 -00481410 006eef60 -00481410 0040a5d0 -00481410 00435c70 -00481410 006ac710 -00481410 0040b030 +00481410 00a648b0 00481410 0092e560 -00481410 004564b0 -00481410 006d0c60 -00481410 00417430 -00481410 006d6ba0 -00481410 006cae60 +00481410 0040a4d0 +00481410 0040b220 +00481410 0040add0 +00481410 0040a5d0 00481410 006c2750 -00481410 00435a50 -00481410 00a10030 -00481410 00813520 -00481410 00956780 -004830e0 00499d60 -004830e0 006eef60 +00481410 006d6ba0 +00481410 0040ae70 +00481410 0040b030 +00481410 00435c70 004830e0 00435a50 +004830e0 006eef60 +004830e0 00499d60 +004830e0 00956780 +004830e0 0043ef30 004830e0 0092dc30 004830e0 006be840 -004830e0 0041d520 004830e0 006cb2e0 -004830e0 0043ef30 +004830e0 0041d520 004830e0 00aef12b -004830e0 00956780 -00483710 006ccdd0 -00483710 00af08b1 -00483710 00428b20 -00483710 0041d540 -00483710 0040a1b0 -00483710 00452bf0 -00483710 0067f070 -00483710 006be840 -00483710 0041d520 -00483710 0040b090 -00483710 004830e0 -00483710 0096f310 -00483710 006eef60 -00483710 EXTERNAL:00000220 -00483710 00a648b0 -00483710 0040a5d0 -00483710 00a10630 -00483710 006bec40 -00483710 0043ef30 -00483710 0040b030 -00483710 007fec00 -00483710 0040cae0 -00483710 0040a380 -00483710 00a10600 -00483710 00aef12b -00483710 00417430 -00483710 00813360 -00483710 004cdcf0 -00483710 006ae630 -00483710 006d6ba0 -00483710 00435a50 -00483710 00a10030 00483710 00aef15c -00483710 0041af60 +00483710 0067f070 +00483710 006ae630 +00483710 00452bf0 +00483710 00a10630 00483710 004cf210 +00483710 006be840 +00483710 00417430 +00483710 00aef12b +00483710 00813360 +00483710 EXTERNAL:00000220 +00483710 00a10600 +00483710 00a10030 +00483710 0040a380 +00483710 006bec40 +00483710 00a648b0 +00483710 00af08b1 +00483710 0040b090 +00483710 006eef60 +00483710 004cdcf0 +00483710 0041d540 +00483710 007fec00 +00483710 006ccdd0 +00483710 0096f310 +00483710 004830e0 +00483710 0040a1b0 +00483710 0043ef30 +00483710 00428b20 +00483710 0041d520 +00483710 00435a50 +00483710 0040cae0 +00483710 0040a5d0 +00483710 006d6ba0 +00483710 0040b030 +00483710 0041af60 +004855b0 00709db0 004855b0 00812c90 +004855b0 006fd350 +004855b0 0067f070 004855b0 00812f50 +004855b0 006ac7e0 +004855b0 00a10100 +004855b0 006b64d0 +004855b0 006be840 +004855b0 00417430 +004855b0 00709c40 +004855b0 00aef12b +004855b0 006fe410 +004855b0 007e90f0 +004855b0 0067f170 +004855b0 00499d60 +004855b0 00a10030 +004855b0 006cb2e0 +004855b0 0040a380 +004855b0 006bec40 004855b0 00af08b1 -004855b0 00407170 +004855b0 006eef60 004855b0 0041d540 004855b0 0040a1b0 -004855b0 0067f070 -004855b0 0067f170 -004855b0 006fe410 -004855b0 006be840 -004855b0 00709c40 -004855b0 0041d520 -004855b0 006ac760 -004855b0 006ac7e0 -004855b0 00456620 -004855b0 007ebca0 -004855b0 006eef60 -004855b0 0040add0 -004855b0 00a112c0 -004855b0 0040a5d0 -004855b0 006ac710 -004855b0 007e90f0 -004855b0 006bec40 004855b0 0043ef30 -004855b0 00709db0 -004855b0 00a10100 +004855b0 0081e9d0 +004855b0 007ebca0 +004855b0 0041d520 +004855b0 0040add0 +004855b0 00435a50 +004855b0 006ac760 +004855b0 00813520 +004855b0 00a112c0 004855b0 00a0f4c0 -004855b0 00703be0 -004855b0 0040a380 -004855b0 006cb2e0 -004855b0 00aef12b -004855b0 00417430 -004855b0 00499d60 -004855b0 006fd350 +004855b0 0040a5d0 +004855b0 00456620 004855b0 006d6ba0 004855b0 0040ae70 -004855b0 00435a50 -004855b0 00a10030 -004855b0 00813520 -004855b0 006b64d0 -004855b0 0081e9d0 -00486db0 00af08b1 +004855b0 00407170 +004855b0 006ac710 +004855b0 00703be0 00486db0 EXTERNAL:00000262 00486db0 0041af60 +00486db0 00af08b1 00486db0 00aef12b -004878a0 0041d540 -004878a0 009e24a0 -004878a0 006d6610 -004878a0 00734900 -004878a0 0060d140 -004878a0 0041d520 -004878a0 007f0780 -004878a0 0096f310 -004878a0 0067f260 -004878a0 0040add0 -004878a0 00a112c0 -004878a0 007079c0 -004878a0 00a10630 +004878a0 006b5b90 +004878a0 006fd350 +004878a0 00812f50 +004878a0 006ac7e0 +004878a0 00956780 +004878a0 006b78d0 +004878a0 006b64d0 +004878a0 006be840 +004878a0 00417430 004878a0 006ad870 +004878a0 00aef12b +004878a0 0081e520 004878a0 006bec40 +004878a0 00af08b1 +004878a0 006eef60 +004878a0 0041d540 +004878a0 004cdcf0 +004878a0 0096f310 +004878a0 0040a1b0 004878a0 0043ef30 -004878a0 008646e0 -004878a0 0067f010 -004878a0 009e0680 +004878a0 0067f260 +004878a0 00733ca0 +004878a0 0041d520 +004878a0 00a112c0 +004878a0 00682740 +004878a0 00734a80 004878a0 00431310 +004878a0 007078f0 +004878a0 0092dc30 +004878a0 007f0780 +004878a0 006ac710 +004878a0 006f0090 +004878a0 004288a0 +004878a0 00a10630 +004878a0 004cf210 +004878a0 0067f010 +004878a0 009e24a0 +004878a0 00734180 +004878a0 00703670 +004878a0 00a68490 +004878a0 006fe410 +004878a0 006b5c10 +004878a0 00a10030 004878a0 0040a380 004878a0 006cb2e0 -004878a0 00aef12b -004878a0 00865340 -004878a0 00418500 -004878a0 004cdcf0 -004878a0 00734180 -004878a0 006fd350 -004878a0 0040ae70 -004878a0 00734a80 -004878a0 006b5c10 -004878a0 0092dc30 -004878a0 00a68490 -004878a0 004cf210 -004878a0 00812f50 -004878a0 00af08b1 -004878a0 0040a1b0 -004878a0 006fe410 -004878a0 0081e520 -004878a0 006be840 -004878a0 007078f0 -004878a0 006ac7e0 -004878a0 006eef60 -004878a0 006b5b90 +004878a0 0060d140 +004878a0 00734900 004878a0 009b92c0 -004878a0 004288a0 +004878a0 0040add0 +004878a0 008646e0 +004878a0 006d6610 004878a0 0040a5d0 -004878a0 00435c70 -004878a0 006ac710 -004878a0 00682740 -004878a0 006b78d0 -004878a0 00703670 -004878a0 006f0090 -004878a0 00417430 -004878a0 00733ca0 004878a0 006d6ba0 -004878a0 00a10030 +004878a0 0040ae70 +004878a0 00418500 +004878a0 009e0680 +004878a0 00865340 004878a0 004a5d10 -004878a0 00956780 -004878a0 006b64d0 -00489ca0 00812f50 -00489ca0 006ccdd0 +004878a0 00435c70 +004878a0 007079c0 00489ca0 0067f070 -00489ca0 006fe410 -00489ca0 0040a380 -00489ca0 006be840 00489ca0 0040b090 -00489ca0 006cb2e0 -00489ca0 00aef12b -00489ca0 006ac7e0 -00489ca0 0040a4d0 -00489ca0 00417430 00489ca0 006eef60 -00489ca0 006d6ba0 +00489ca0 00812f50 +00489ca0 006c04b0 +00489ca0 006ac7e0 +00489ca0 005983f0 +00489ca0 006ccdd0 00489ca0 007e33c0 +00489ca0 00956780 +00489ca0 0043ef30 +00489ca0 006be840 +00489ca0 00417430 +00489ca0 00aef12b +00489ca0 0040a4d0 +00489ca0 00813520 +00489ca0 006fe410 +00489ca0 006d6ba0 +00489ca0 0040b030 00489ca0 00a10030 00489ca0 0092dc30 -00489ca0 006c04b0 +00489ca0 0040a380 +00489ca0 006cb2e0 00489ca0 006bec40 -00489ca0 005983f0 -00489ca0 0040b030 -00489ca0 0043ef30 -00489ca0 00813520 -00489ca0 00956780 -0048ae30 006ccdd0 -0048ae30 00af08b1 -0048ae30 00428b20 -0048ae30 0041d540 -0048ae30 0040a1b0 0048ae30 006be840 -0048ae30 0041d520 -0048ae30 0040a780 -0048ae30 006eef60 -0048ae30 00a648b0 -0048ae30 0040a5d0 +0048ae30 00aef12b 0048ae30 0040a940 -0048ae30 0043ef30 -0048ae30 0040b030 0048ae30 00703670 -0048ae30 006fed60 +0048ae30 00a10030 0048ae30 0040a380 0048ae30 006cb2e0 -0048ae30 00aef12b -0048ae30 006d6ba0 +0048ae30 00a648b0 +0048ae30 00af08b1 +0048ae30 006eef60 +0048ae30 0041d540 +0048ae30 006ccdd0 +0048ae30 0040a1b0 +0048ae30 0043ef30 +0048ae30 00428b20 0048ae30 00812d00 -0048ae30 0040a9f0 -0048ae30 00a10030 +0048ae30 0041d520 0048ae30 00435a50 -0048ae30 0041af60 0048ae30 00813520 -0048c3b0 0041a790 -0048c3b0 00812f50 -0048c3b0 00af08b1 -0048c3b0 00428b20 -0048c3b0 0041d540 -0048c3b0 00704360 -0048c3b0 0040a1b0 -0048c3b0 00499d20 -0048c3b0 0067f170 -0048c3b0 0041d520 -0048c3b0 006be840 -0048c3b0 0042c920 -0048c3b0 006ac7e0 -0048c3b0 0040a780 -0048c3b0 006eef60 -0048c3b0 0040add0 -0048c3b0 00a112c0 -0048c3b0 00a648b0 -0048c3b0 0040a5d0 -0048c3b0 006ac710 +0048ae30 0040a9f0 +0048ae30 006fed60 +0048ae30 0040a5d0 +0048ae30 006d6ba0 +0048ae30 0040b030 +0048ae30 0040a780 +0048ae30 0041af60 0048c3b0 0040c740 -0048c3b0 0043ef30 -0048c3b0 0040b030 -0048c3b0 00703670 -0048c3b0 006c0f30 -0048c3b0 006fed60 -0048c3b0 006d0300 -0048c3b0 00431310 -0048c3b0 0040a380 -0048c3b0 006cb2e0 -0048c3b0 00aef12b +0048c3b0 00812f50 +0048c3b0 006ac7e0 +0048c3b0 00956780 +0048c3b0 006b64d0 +0048c3b0 006be840 0048c3b0 00417430 +0048c3b0 00aef12b +0048c3b0 00703670 +0048c3b0 0067f170 0048c3b0 00499d60 +0048c3b0 006cb2e0 +0048c3b0 0040a380 +0048c3b0 00a648b0 +0048c3b0 00af08b1 +0048c3b0 00499d20 +0048c3b0 0041a790 +0048c3b0 006eef60 +0048c3b0 0041d540 +0048c3b0 0040a1b0 +0048c3b0 0043ef30 +0048c3b0 00428b20 +0048c3b0 0081e9d0 +0048c3b0 0041d520 +0048c3b0 00435a50 +0048c3b0 0040add0 +0048c3b0 00704360 +0048c3b0 00813520 +0048c3b0 00a112c0 +0048c3b0 0042c920 +0048c3b0 006fed60 +0048c3b0 0040a5d0 +0048c3b0 006b45c0 +0048c3b0 0040b030 0048c3b0 0040ae70 0048c3b0 006d6ba0 -0048c3b0 00435a50 -0048c3b0 0092dc30 -0048c3b0 006b45c0 -0048c3b0 0041af60 +0048c3b0 00431310 0048c3b0 004a5d10 +0048c3b0 0040a780 +0048c3b0 0092dc30 0048c3b0 004071f0 -0048c3b0 00813520 -0048c3b0 00956780 -0048c3b0 0081e9d0 -0048c3b0 006b64d0 -0048ee30 00408e00 -0048ee30 00407170 -0048ee30 0040a5d0 +0048c3b0 0041af60 +0048c3b0 006ac710 +0048c3b0 006c0f30 +0048c3b0 006d0300 0048ee30 00435a50 -0048ee30 0040a1b0 -0048ee30 006bec40 -0048ee30 0040a380 -0048ee30 00703be0 +0048ee30 00408e00 0048ee30 006ff2a0 -0048ee30 006cb2e0 -0048ee30 00aef12b +0048ee30 0040a5d0 +0048ee30 0040a1b0 +0048ee30 00407170 0048ee30 0043ef30 -0048f110 0060b890 -0048f110 006d0dd0 -0048f110 0041d540 -0048f110 00428b20 -0048f110 0040a1b0 -0048f110 0041d520 -0048f110 006be840 +0048ee30 0040a380 +0048ee30 006cb2e0 +0048ee30 006bec40 +0048ee30 00aef12b +0048ee30 00703be0 0048f110 006ac7e0 -0048f110 0096f310 -0048f110 006eef60 -0048f110 0040add0 -0048f110 00a648b0 -0048f110 00a112c0 -0048f110 0040a5d0 -0048f110 EXTERNAL:00000262 +0048f110 00956780 +0048f110 0060b890 +0048f110 006be840 +0048f110 007e6650 0048f110 00aef12b 0048f110 00499d60 -0048f110 006d6ba0 -0048f110 007e6650 -0048f110 00435a50 +0048f110 00a648b0 +0048f110 006eef60 +0048f110 0041d540 +0048f110 0096f310 +0048f110 006d0dd0 +0048f110 0040a1b0 +0048f110 00428b20 0048f110 00812d00 +0048f110 0041d520 +0048f110 0040add0 +0048f110 00435a50 +0048f110 00813520 +0048f110 00a112c0 +0048f110 0040a5d0 +0048f110 006d6ba0 +0048f110 EXTERNAL:00000262 0048f110 0092dc30 0048f110 0041af60 -0048f110 00813520 -0048f110 00956780 0048f110 00703950 00490680 00812f50 -00490680 0041d540 -00490680 00428b20 -00490680 0041d520 +00490680 006c04b0 +00490680 00956780 00490680 006be840 -00490680 0040b090 -00490680 0040b220 -00490680 00417870 -00490680 006eef60 -00490680 0040add0 -00490680 009be990 -00490680 00a648b0 -00490680 006ac710 -00490680 006bec40 -00490680 0040b430 -00490680 0040b030 -00490680 EXTERNAL:00000262 -00490680 00408e00 -00490680 006d0300 -00490680 0040a380 00490680 00417430 +00490680 009be990 +00490680 0040c000 +00490680 00417870 00490680 009568e0 00490680 00499d60 -00490680 0040ae70 -00490680 0040c000 -00490680 00435a50 00490680 00a10030 +00490680 0040a380 +00490680 006bec40 +00490680 00a648b0 +00490680 0040b090 +00490680 006eef60 +00490680 0041d540 +00490680 00428b20 +00490680 0081e9d0 +00490680 0040bf30 +00490680 0041d520 +00490680 0040add0 +00490680 00435a50 +00490680 0040b220 +00490680 00813520 +00490680 00408e00 +00490680 0040b430 +00490680 0040b030 +00490680 0040ae70 +00490680 EXTERNAL:00000262 00490680 0092dc30 00490680 0041af60 -00490680 006c04b0 -00490680 0040bf30 -00490680 00813520 -00490680 00956780 -00490680 0081e9d0 -00492550 006ac2a0 +00490680 006ac710 +00490680 006d0300 +00492550 009305f0 00492550 00812f50 -00492550 00af08b1 -00492550 0040a1b0 -00492550 006fe410 -00492550 0040a380 -00492550 00417870 +00492550 006eef60 00492550 004cdcf0 00492550 007cd950 -00492550 006eef60 -00492550 0040a5d0 -00492550 00435a50 -00492550 009305f0 00492550 006c04b0 +00492550 0040a1b0 00492550 004cf210 -00492550 00813520 -00492550 00740bc0 00492550 0081e9d0 00492550 007abe20 -00493200 00812f50 -00493200 006ccdd0 -00493200 00428b20 -00493200 006baf40 -00493200 0040a1b0 -00493200 006a92a0 -00493200 006be840 -00493200 00703850 -00493200 006eef60 -00493200 0040add0 -00493200 00a648b0 -00493200 00a112c0 -00493200 0040a5d0 -00493200 007e33c0 -00493200 006ac710 -00493200 006bec40 -00493200 0043ef30 -00493200 006ac8d0 -00493200 00408e00 +00492550 00435a50 +00492550 00813520 +00492550 00740bc0 +00492550 006fe410 +00492550 0040a5d0 +00492550 00417870 +00492550 0040a380 +00492550 006ac2a0 +00492550 00af08b1 00493200 007e4940 -00493200 006d0300 -00493200 00431310 -00493200 00682ed0 -00493200 0040a380 -00493200 006cb2e0 +00493200 00703850 +00493200 00812f50 +00493200 007e33c0 +00493200 00956780 +00493200 006be840 +00493200 004cf210 00493200 00aef12b 00493200 009568e0 -00493200 004cdcf0 -00493200 006d6ba0 -00493200 00435a50 00493200 00a10030 +00493200 006cb2e0 +00493200 0040a380 +00493200 006bec40 +00493200 00a648b0 +00493200 00682ed0 +00493200 006baf40 +00493200 006eef60 +00493200 004cdcf0 +00493200 006ccdd0 +00493200 0040a1b0 +00493200 0043ef30 +00493200 00428b20 +00493200 00435a50 +00493200 0040add0 +00493200 00408e00 +00493200 00a112c0 +00493200 006a92a0 +00493200 0040a5d0 +00493200 006d6ba0 +00493200 00431310 00493200 0092dc30 -00493200 0041af60 -00493200 004cf210 00493200 004071f0 +00493200 0041af60 +00493200 006ac710 +00493200 006ac8d0 00493200 007e6300 -00493200 00956780 +00493200 006d0300 00495610 00812f50 -00495610 00af08b1 -00495610 00407170 -00495610 0041d540 -00495610 00428b20 -00495610 0040a1b0 -00495610 006be840 -00495610 0041d520 -00495610 0040b220 -00495610 0040a780 -00495610 006eef60 -00495610 00a648b0 -00495610 0040a5d0 -00495610 00435c70 -00495610 006bec40 -00495610 00a10100 00495610 006832e0 -00495610 0040a380 -00495610 00aef12b -00495610 004cdcf0 -00495610 006d6ba0 +00495610 00a10100 00495610 00447770 -00495610 00435a50 -00495610 00a10030 -00495610 0041af60 +00495610 006be840 00495610 004cf210 +00495610 00aef12b +00495610 00a10030 +00495610 0040a380 +00495610 006bec40 +00495610 00af08b1 +00495610 00a648b0 +00495610 006eef60 +00495610 0041d540 +00495610 004cdcf0 +00495610 0040a1b0 +00495610 00428b20 +00495610 0041d520 +00495610 00435a50 +00495610 0040b220 +00495610 0040a5d0 +00495610 006d6ba0 +00495610 0040a780 +00495610 00407170 00495610 004071f0 +00495610 0041af60 00495610 007e6300 -00496fb0 00812f50 -00496fb0 0044bcc0 -00496fb0 0060b890 -00496fb0 00af08b1 -00496fb0 0041d540 -00496fb0 0040a1b0 -00496fb0 004238f0 -00496fb0 006fe410 -00496fb0 0041d520 -00496fb0 006be840 -00496fb0 0040b090 -00496fb0 006ac7e0 +00495610 00435c70 00496fb0 00703850 -00496fb0 0096f310 -00496fb0 0040a780 -00496fb0 006eef60 -00496fb0 0067f260 -00496fb0 0040add0 -00496fb0 0040a5d0 +00496fb0 00812f50 +00496fb0 006ac7e0 +00496fb0 00956780 00496fb0 00a10630 -00496fb0 00682740 -00496fb0 006bec40 -00496fb0 0040b030 -00496fb0 0043ef30 +00496fb0 0060b890 +00496fb0 006b64d0 +00496fb0 004cf210 +00496fb0 006be840 +00496fb0 00417430 +00496fb0 00aef12b +00496fb0 00944a40 +00496fb0 006fe410 +00496fb0 0096ce90 +00496fb0 00a10030 00496fb0 0040a380 00496fb0 006cb2e0 -00496fb0 00aef12b -00496fb0 00417430 +00496fb0 006bec40 +00496fb0 00af08b1 +00496fb0 0040b090 +00496fb0 006eef60 +00496fb0 0041d540 00496fb0 004cdcf0 +00496fb0 0096f310 +00496fb0 0040a1b0 +00496fb0 0043ef30 +00496fb0 0067f260 +00496fb0 0041d520 +00496fb0 0040add0 +00496fb0 004238f0 +00496fb0 00682740 +00496fb0 0040a5d0 00496fb0 006d6ba0 -00496fb0 00a10030 +00496fb0 0040b030 +00496fb0 0044bcc0 +00496fb0 0040a780 00496fb0 0092dc30 -00496fb0 00944a40 -00496fb0 0096ce90 -00496fb0 004cf210 -00496fb0 006b64d0 -00496fb0 00956780 00498f80 00aef15c -00499190 00499410 00499190 00a0f4c0 +00499190 00499410 00499230 00499550 00499350 004997f0 00499380 EXTERNAL:00000220 00499380 00aef15c -00499410 00af05e5 -00499410 0040cad0 00499410 0040cf00 00499410 0040c740 -00499410 00af08bd 00499410 0040cee0 +00499410 00af05e5 +00499410 00af08bd +00499410 0040cad0 00499550 EXTERNAL:000001bc -00499580 0040ccc0 -00499580 EXTERNAL:00000220 -00499580 00499950 -00499580 00aef15c 00499580 0040cf00 -00499580 00af08bd +00499580 EXTERNAL:00000220 +00499580 0040ccc0 +00499580 00aef15c +00499580 00499950 00499580 00af05df -004997f0 0040ccc0 -004997f0 EXTERNAL:00000220 -004997f0 00aef15c +00499580 00af08bd 004997f0 0040cf00 -004997f0 00af08bd +004997f0 EXTERNAL:00000220 +004997f0 0040ccc0 +004997f0 00aef15c 004997f0 00af05df +004997f0 00af08bd 00499950 EXTERNAL:000001bc 004999b0 00aef15c -004999d0 00499a50 004999d0 004999d0 +004999d0 00499a50 00499a50 00435a50 00499d20 00af08c9 00499d60 00af08c3 -00499de0 006ccdd0 +00499de0 00682a50 +00499de0 00812c90 +00499de0 00956780 +00499de0 006be840 +00499de0 004175b0 +00499de0 00aef12b +00499de0 0040a550 00499de0 00684cb0 -00499de0 007c3100 -00499de0 00407170 -00499de0 0041d540 -00499de0 006b6af0 -00499de0 0067f170 -00499de0 0041d520 -00499de0 006ac760 +00499de0 007e90f0 00499de0 007e7070 -00499de0 0040add0 -00499de0 00a648b0 +00499de0 009568e0 +00499de0 00945470 +00499de0 007f0b40 +00499de0 006bec40 +00499de0 006b5f10 +00499de0 0041a790 +00499de0 0081e6e0 +00499de0 006eef60 +00499de0 004cdcf0 +00499de0 007c3100 +00499de0 0041d540 +00499de0 006ccdd0 +00499de0 0040a1b0 +00499de0 0043ef30 +00499de0 007f0df0 +00499de0 0081e9d0 +00499de0 00812d00 +00499de0 006b6c20 +00499de0 0041d520 +00499de0 00435a50 +00499de0 00813520 +00499de0 004238f0 00499de0 00a112c0 -00499de0 006b6470 +00499de0 00737380 +00499de0 00431310 +00499de0 00407170 +00499de0 0092dc30 +00499de0 006ac710 +00499de0 0041af60 +00499de0 006b6af0 +00499de0 00703be0 +00499de0 0067f070 +00499de0 006ae630 00499de0 007e33c0 00499de0 00a10630 -00499de0 006bec40 +00499de0 006b6550 +00499de0 004cf210 +00499de0 00759400 00499de0 0042eef0 -00499de0 0043ef30 +00499de0 00703670 +00499de0 007f0800 +00499de0 0040a720 00499de0 004314b0 -00499de0 007fec00 -00499de0 0081e6e0 -00499de0 00431310 -00499de0 0040a550 +00499de0 0067f170 +00499de0 00499d60 +00499de0 006eeaa0 +00499de0 00a10030 00499de0 0040a380 00499de0 006cb2e0 -00499de0 00aef12b -00499de0 009568e0 -00499de0 004cdcf0 -00499de0 006ae630 -00499de0 00812d00 -00499de0 0092dc30 -00499de0 006eeaa0 -00499de0 006b5f10 -00499de0 004cf210 -00499de0 007f0800 -00499de0 0081e9d0 -00499de0 00945470 -00499de0 0041a790 -00499de0 00812c90 -00499de0 007f0df0 -00499de0 007f0b40 +00499de0 00a648b0 +00499de0 00682ed0 +00499de0 007fec00 00499de0 00428b20 -00499de0 00737380 -00499de0 0040a1b0 -00499de0 0067f070 -00499de0 004238f0 -00499de0 006be840 -00499de0 006b6550 -00499de0 006eef60 +00499de0 0040add0 +00499de0 006ac760 00499de0 006a9ba0 00499de0 0040a5d0 -00499de0 006b6c20 -00499de0 006ac710 -00499de0 007e90f0 -00499de0 0040b030 -00499de0 00703670 -00499de0 0040a720 -00499de0 00682ed0 -00499de0 00703be0 -00499de0 00682a50 -00499de0 00499d60 00499de0 006d6ba0 -00499de0 00435a50 -00499de0 00a10030 -00499de0 00759400 -00499de0 0041af60 -00499de0 004175b0 -00499de0 00813520 -00499de0 00956780 +00499de0 0040b030 +00499de0 006b6470 0049cb60 004a11c0 0049cbf0 00a112c0 -0049cd90 004564b0 -0049cd90 00408e00 0049cd90 0041d540 -0049cd90 00428b20 -0049cd90 006be840 -0049cd90 0041d520 -0049cd90 0040b220 0049cd90 006eef60 -0049cd90 0040add0 -0049cd90 006d6ba0 0049cd90 004d8b50 +0049cd90 006be840 +0049cd90 00428b20 +0049cd90 0041d520 +0049cd90 0040add0 0049cd90 00435a50 +0049cd90 0040b220 0049cd90 0040a940 -0049d130 006d7cf0 -0049d130 004a11c0 -0049d130 006d0c20 -0049d130 00407170 -0049d130 00428b20 -0049d130 0041d540 -0049d130 006a92a0 -0049d130 0067f170 +0049cd90 00408e00 +0049cd90 006d6ba0 +0049cd90 004564b0 0049d130 006a92e0 -0049d130 006be840 -0049d130 0041d520 -0049d130 0040b090 -0049d130 0040b220 -0049d130 006ac760 -0049d130 0049cd90 -0049d130 0096f310 -0049d130 006eef60 -0049d130 EXTERNAL:00000220 +0049d130 004a11c0 +0049d130 00aef15c +0049d130 006d0c20 0049d130 007e33c0 0049d130 00a10630 -0049d130 0040a940 -0049d130 0040a220 -0049d130 0040b030 -0049d130 0043ef30 -0049d130 00703670 -0049d130 0049cbf0 -0049d130 004564b0 -0049d130 0040a550 -0049d130 00682ed0 -0049d130 0040a380 -0049d130 0049f870 -0049d130 006cb2e0 -0049d130 00aef12b -0049d130 004cdcf0 -0049d130 006d6ba0 -0049d130 00435a50 -0049d130 00a10030 -0049d130 00aef15c -0049d130 004e4690 -0049d130 004cf210 0049d130 006b64d0 +0049d130 006be840 +0049d130 004cf210 +0049d130 006d7cf0 +0049d130 00aef12b +0049d130 0049cbf0 +0049d130 EXTERNAL:00000220 +0049d130 0040a550 0049d130 00a0ffc0 -0049f870 0040a5d0 -0049f870 0040a1b0 +0049d130 0040a940 +0049d130 00703670 +0049d130 0040a220 +0049d130 0067f170 +0049d130 0049cd90 +0049d130 004564b0 +0049d130 00a10030 +0049d130 0040a380 +0049d130 006cb2e0 +0049d130 00682ed0 +0049d130 0049f870 +0049d130 0040b090 +0049d130 006eef60 +0049d130 0041d540 +0049d130 004cdcf0 +0049d130 0096f310 +0049d130 0043ef30 +0049d130 00428b20 +0049d130 004e4690 +0049d130 0041d520 +0049d130 0040b220 +0049d130 00435a50 +0049d130 006ac760 +0049d130 006a92a0 +0049d130 006d6ba0 +0049d130 0040b030 +0049d130 00407170 0049f870 00435a50 -0049f870 0092dc30 +0049f870 0040a5d0 0049f870 00956780 -0049fa10 00703670 -0049fa10 006ccdd0 -0049fa10 00407170 -0049fa10 00428b20 -0049fa10 006fe410 -0049fa10 00aef12b -0049fa10 004cdcf0 +0049f870 0040a1b0 +0049f870 0092dc30 0049fa10 006fd350 0049fa10 006eef60 -0049fa10 00435a50 -0049fa10 0092dc30 -0049fa10 004cf210 -0049fa10 0043ef30 +0049fa10 004cdcf0 +0049fa10 006ccdd0 0049fa10 00956780 -004a1000 0040a220 +0049fa10 0043ef30 +0049fa10 004cf210 +0049fa10 00428b20 +0049fa10 00aef12b +0049fa10 00435a50 +0049fa10 00703670 +0049fa10 006fe410 +0049fa10 00407170 +0049fa10 0092dc30 004a1000 0040b220 +004a1000 0040a220 +004a11c0 0040cf00 004a11c0 EXTERNAL:00000220 004a11c0 00aef15c -004a11c0 0040cf00 -004a11c0 00af08bd 004a11c0 0040cee0 004a11c0 00415bc0 +004a11c0 00af08bd 004a12f0 004a11c0 -004a12f0 004073d0 -004a12f0 0041d540 -004a12f0 00428b20 -004a12f0 006ac560 -004a12f0 0041d520 -004a12f0 0092e230 -004a12f0 006be760 -004a12f0 0040a780 -004a12f0 006eef60 -004a12f0 0040add0 -004a12f0 EXTERNAL:00000220 -004a12f0 00a648b0 -004a12f0 006ac710 -004a12f0 00682740 -004a12f0 0043ef30 +004a12f0 00aef15c +004a12f0 00956780 +004a12f0 004175b0 +004a12f0 00aef12b 004a12f0 0049cbf0 -004a12f0 006d0c60 +004a12f0 EXTERNAL:00000220 +004a12f0 006be760 +004a12f0 00a10030 004a12f0 0040a380 004a12f0 006cb2e0 -004a12f0 00aef12b -004a12f0 006d6ba0 +004a12f0 006d0c60 +004a12f0 00a648b0 +004a12f0 006ac560 +004a12f0 006eef60 +004a12f0 0041d540 +004a12f0 0092e230 +004a12f0 0043ef30 +004a12f0 00428b20 004a12f0 00812d00 +004a12f0 0041d520 +004a12f0 0040add0 004a12f0 00435a50 -004a12f0 00a10030 -004a12f0 00aef15c -004a12f0 0092dc30 -004a12f0 0041af60 -004a12f0 004175b0 +004a12f0 00682740 +004a12f0 006d6ba0 +004a12f0 0040a780 004a12f0 004071f0 -004a12f0 00956780 +004a12f0 0092dc30 +004a12f0 004073d0 +004a12f0 006ac710 +004a12f0 0041af60 004a2940 EXTERNAL:00000262 +004a2940 006be840 004a2940 00af05e5 004a2940 0041af60 -004a2940 006be840 004a2940 00aef12b +004a2ce0 00813360 +004a2ce0 00435a50 +004a2ce0 00813520 +004a2ce0 007f0800 004a2ce0 004cdcf0 004a2ce0 0040a5d0 -004a2ce0 00435a50 004a2ce0 0040a1b0 -004a2ce0 007f0800 004a2ce0 004cf210 -004a2ce0 00813520 004a2ce0 0081e9d0 004a2ce0 00703950 -004a2ce0 00813360 -004a3040 004a2940 -004a3040 0041d540 -004a3040 006b6af0 -004a3040 0041d520 -004a3040 006ac760 -004a3040 0049cb60 -004a3040 0067f260 -004a3040 0040add0 -004a3040 00a648b0 -004a3040 0043ef30 -004a3040 0040a380 -004a3040 004071c0 -004a3040 006cb2e0 -004a3040 00aef12b -004a3040 006ae630 -004a3040 004cdcf0 -004a3040 00aef253 -004a3040 0040ae70 -004a3040 004cf210 -004a3040 006d7cf0 -004a3040 00812f50 +004a3040 006a92e0 +004a3040 00682a50 004a3040 004a11c0 -004a3040 006b66c0 -004a3040 00428b20 -004a3040 006b6830 -004a3040 0040a1b0 -004a3040 0067f070 +004a3040 00812f50 004a3040 00452bf0 +004a3040 004071c0 +004a3040 0049cb60 +004a3040 006be840 +004a3040 004175b0 +004a3040 006d7cf0 +004a3040 00aef12b +004a3040 004a2940 +004a3040 006b66c0 +004a3040 0041d540 +004a3040 006eef60 +004a3040 004cdcf0 +004a3040 0040a1b0 +004a3040 0043ef30 +004a3040 0067f260 +004a3040 006b66a0 +004a3040 0041d520 +004a3040 00435a50 +004a3040 0040cae0 004a3040 004238f0 004a3040 006a92a0 -004a3040 006a92e0 -004a3040 006be840 -004a3040 0040b090 -004a3040 00aef29d -004a3040 006b6550 -004a3040 006b6810 -004a3040 006eef60 -004a3040 0040a5d0 -004a3040 0040b030 -004a3040 00703670 -004a3040 0049cbf0 -004a3040 006d0c60 -004a3040 0040cae0 -004a3040 00682a50 -004a3040 00426940 -004a3040 0040d040 -004a3040 00499d60 -004a3040 004a2ce0 -004a3040 006d6ba0 -004a3040 00435a50 -004a3040 006b66a0 004a3040 0041af60 -004a3040 004175b0 -004a5d10 00499580 -004a5d10 00408e00 +004a3040 006b6af0 +004a3040 006ae630 +004a3040 0067f070 +004a3040 006b6810 +004a3040 006b6550 +004a3040 004cf210 +004a3040 006b6830 +004a3040 00426940 +004a3040 0049cbf0 +004a3040 004a2ce0 +004a3040 00703670 +004a3040 00499d60 +004a3040 0040a380 +004a3040 006cb2e0 +004a3040 006d0c60 +004a3040 0040d040 +004a3040 00a648b0 +004a3040 0040b090 +004a3040 00428b20 +004a3040 00aef29d +004a3040 0040add0 +004a3040 006ac760 +004a3040 0040a5d0 +004a3040 00aef253 +004a3040 006d6ba0 +004a3040 0040ae70 +004a3040 0040b030 +004a5d10 0040cf00 +004a5d10 0040ccc0 +004a5d10 00aef15c 004a5d10 0040bd50 004a5d10 00a17180 -004a5d10 0040b220 -004a5d10 00aef12b -004a5d10 00694fb0 004a5d10 00af05df -004a5d10 0040ccc0 +004a5d10 EXTERNAL:00000231 +004a5d10 0040bf30 +004a5d10 00af08bd +004a5d10 00aef12b +004a5d10 0040b220 004a5d10 EXTERNAL:00000220 004a5d10 00499950 -004a5d10 00a648b0 004a5d10 0040c000 +004a5d10 00408e00 004a5d10 0040a5d0 -004a5d10 00aef15c -004a5d10 0040bf30 -004a5d10 0040cf00 -004a5d10 00af08bd -004a5d10 EXTERNAL:00000231 +004a5d10 00499580 +004a5d10 00694fb0 +004a5d10 00a648b0 004a6240 EXTERNAL:00000262 004a6240 0041af60 -004a6500 00812f50 +004a6500 004aab30 004a6500 0040cf50 +004a6500 00aef15c +004a6500 0067f070 +004a6500 00812f50 +004a6500 004a8b70 +004a6500 0040cee0 +004a6500 00956780 +004a6500 004175b0 +004a6500 006be840 +004a6500 00aef12b +004a6500 004a6240 +004a6500 007059f0 +004a6500 EXTERNAL:00000220 +004a6500 00944a40 +004a6500 004aaaf0 +004a6500 00aefca0 +004a6500 00a10030 +004a6500 0040a380 +004a6500 00a648b0 +004a6500 0040cf00 +004a6500 006eef60 004a6500 0041d540 004a6500 0040a1b0 -004a6500 004aab30 -004a6500 0067f070 -004a6500 006be840 +004a6500 00409030 004a6500 0041d520 -004a6500 004a8b70 -004a6500 006eef60 -004a6500 004aaaf0 -004a6500 EXTERNAL:00000220 004a6500 00a112c0 -004a6500 00a648b0 004a6500 0040a5d0 004a6500 004a9860 -004a6500 006ac710 -004a6500 0040cf00 -004a6500 00aefca0 -004a6500 00af0917 -004a6500 0040a380 -004a6500 00aef12b -004a6500 00694fb0 -004a6500 0040cee0 -004a6500 00a10030 +004a6500 004a5d10 004a6500 0092dc30 004a6500 00409100 -004a6500 00aef15c -004a6500 007059f0 004a6500 0041af60 -004a6500 00944a40 -004a6500 004a5d10 -004a6500 004175b0 -004a6500 00956780 -004a6500 004a6240 -004a6500 00409030 -004a84f0 004cdcf0 -004a84f0 006eef60 -004a84f0 00a112c0 -004a84f0 00428b20 -004a84f0 004a5d10 +004a6500 006ac710 +004a6500 00af0917 +004a6500 00694fb0 004a84f0 004a8680 +004a84f0 00a112c0 +004a84f0 006eef60 +004a84f0 004cdcf0 +004a84f0 004a5d10 004a84f0 004cf210 004a84f0 0081e9d0 -004a8680 0041d540 -004a8680 00428b20 -004a8680 0040a1b0 -004a8680 00a0f4c0 -004a8680 006be840 -004a8680 0041d520 -004a8680 004cdcf0 +004a84f0 00428b20 004a8680 006eef60 -004a8680 00499410 -004a8680 0040a5d0 -004a8680 00435a50 -004a8680 004a5d10 +004a8680 0041d540 +004a8680 004cdcf0 +004a8680 0040a1b0 +004a8680 006be840 004a8680 004cf210 +004a8680 00428b20 +004a8680 00499410 +004a8680 0041d520 +004a8680 00435a50 +004a8680 00a0f4c0 +004a8680 0040a5d0 +004a8680 004a5d10 +004a8b70 00435a50 004a8b70 006eef60 004a8b70 0040a5d0 -004a8b70 00435a50 004a8b70 0040a1b0 004a8b70 006be840 004a8b70 006cb2e0 004a8b70 00aef12b -004a9860 006eef60 -004a9860 006c2990 -004a9860 00a112c0 -004a9860 0067f010 -004a9860 0040a5d0 -004a9860 0040a1b0 -004a9860 0092dc30 004a9860 00af08ff +004a9860 00a112c0 +004a9860 006eef60 +004a9860 0040a5d0 004a9860 00aefca0 004a9860 00956780 004a9860 00409030 +004a9860 0040a1b0 +004a9860 0092dc30 +004a9860 006c2990 +004a9860 0067f010 004aaaa0 EXTERNAL:00000220 004aaaa0 00aef15c -004aab30 004aaaf0 004aab30 004aac80 004aab30 0040cf00 +004aab30 004aaaf0 004aab30 0040cee0 004aab30 004aaaa0 004aab30 00415bc0 -004aaef0 0040b220 004aaef0 0040ace0 -004aafa0 00684cb0 -004aafa0 0041d540 -004aafa0 006b6af0 -004aafa0 0041d520 -004aafa0 0040b220 -004aafa0 00703770 -004aafa0 0092e230 -004aafa0 00440e30 -004aafa0 006ac760 -004aafa0 0096f310 -004aafa0 0067f260 -004aafa0 00a112c0 -004aafa0 004b0f50 -004aafa0 0082f1c0 -004aafa0 0040a940 -004aafa0 006bec40 -004aafa0 0043ef30 -004aafa0 009561e0 -004aafa0 004314b0 -004aafa0 008167e0 -004aafa0 00499380 -004aafa0 00a10100 -004aafa0 0040a550 -004aafa0 00417510 -004aafa0 004aaef0 -004aafa0 0040a380 -004aafa0 007f1380 -004aafa0 006cb2e0 -004aafa0 00aef12b -004aafa0 004cdcf0 -004aafa0 007eb1b0 -004aafa0 004b0e40 -004aafa0 00812d00 -004aafa0 004cf210 -004aafa0 00812f50 -004aafa0 006d0c20 -004aafa0 0092b190 -004aafa0 0067f1d0 -004aafa0 00428b20 -004aafa0 006a92a0 +004aaef0 0040b220 004aafa0 006a92e0 -004aafa0 0040b090 -004aafa0 006be840 -004aafa0 007cd950 -004aafa0 006eef60 -004aafa0 00945130 -004aafa0 0082c720 -004aafa0 004e8fa0 -004aafa0 00944d40 -004aafa0 00682740 -004aafa0 007e90f0 -004aafa0 0040b030 -004aafa0 007067c0 -004aafa0 00703670 +004aafa0 006d0c20 +004aafa0 00812f50 +004aafa0 004aaef0 +004aafa0 00a10100 004aafa0 0093da00 -004aafa0 006c0f30 -004aafa0 0040a720 -004aafa0 009beba0 -004aafa0 004073b0 -004aafa0 00499d60 -004aafa0 006d6ba0 -004aafa0 00435a50 -004aafa0 00a10030 -004aafa0 00944d10 +004aafa0 006be840 004aafa0 004175b0 +004aafa0 0067f1d0 +004aafa0 00499380 +004aafa0 00aef12b +004aafa0 0040a550 +004aafa0 004b0f50 +004aafa0 007f1380 +004aafa0 00684cb0 +004aafa0 007e90f0 +004aafa0 004e8fa0 +004aafa0 009561e0 +004aafa0 0082f1c0 +004aafa0 006bec40 +004aafa0 006eef60 +004aafa0 004cdcf0 +004aafa0 0041d540 +004aafa0 007067c0 +004aafa0 0096f310 +004aafa0 0043ef30 +004aafa0 009beba0 +004aafa0 0067f260 +004aafa0 00812d00 +004aafa0 00944d40 +004aafa0 0041d520 +004aafa0 004b0e40 +004aafa0 00435a50 +004aafa0 006a92a0 +004aafa0 00a112c0 +004aafa0 00682740 +004aafa0 00440e30 +004aafa0 006b6af0 +004aafa0 007cd950 +004aafa0 004cf210 +004aafa0 00944d10 +004aafa0 00703770 +004aafa0 0092b190 +004aafa0 0040a940 +004aafa0 00703670 +004aafa0 00945130 +004aafa0 0040a720 +004aafa0 004314b0 +004aafa0 00499d60 +004aafa0 00a10030 +004aafa0 0040a380 +004aafa0 007eb1b0 +004aafa0 006cb2e0 +004aafa0 0082c720 +004aafa0 008167e0 +004aafa0 0040b090 +004aafa0 004073b0 +004aafa0 0092e230 +004aafa0 00428b20 +004aafa0 0040b220 +004aafa0 006ac760 +004aafa0 00417510 +004aafa0 0040b030 +004aafa0 006d6ba0 004aafa0 004071f0 -004ae4d0 0041a790 +004aafa0 006c0f30 +004ae4d0 00682a50 +004ae4d0 004214b0 +004ae4d0 004aaef0 +004ae4d0 00408830 +004ae4d0 00a10100 +004ae4d0 004cf210 +004ae4d0 006be840 +004ae4d0 004175b0 +004ae4d0 00944d10 +004ae4d0 00417430 +004ae4d0 00aef12b +004ae4d0 00813360 004ae4d0 006a8f20 004ae4d0 007e2280 -004ae4d0 0092e430 -004ae4d0 0041d540 -004ae4d0 00428b20 -004ae4d0 0040a1b0 -004ae4d0 0041d520 -004ae4d0 006be840 -004ae4d0 0040b220 -004ae4d0 006ac760 -004ae4d0 006eef60 -004ae4d0 0040add0 -004ae4d0 0040aaf0 -004ae4d0 00a112c0 -004ae4d0 0040a5d0 -004ae4d0 004214b0 -004ae4d0 007e1e70 -004ae4d0 006bec40 -004ae4d0 0040b030 -004ae4d0 0043ef30 -004ae4d0 00408e00 -004ae4d0 00a10100 -004ae4d0 00431310 -004ae4d0 004aaef0 -004ae4d0 0040a380 -004ae4d0 00682a50 -004ae4d0 006cb2e0 -004ae4d0 00aef12b -004ae4d0 00417430 -004ae4d0 00813360 -004ae4d0 004cdcf0 004ae4d0 00499d60 +004ae4d0 00a10030 +004ae4d0 0040aaf0 +004ae4d0 0040a380 +004ae4d0 006cb2e0 +004ae4d0 006bec40 +004ae4d0 0041a790 +004ae4d0 0041d540 +004ae4d0 006eef60 +004ae4d0 004cdcf0 +004ae4d0 0043ef30 +004ae4d0 0040a1b0 +004ae4d0 00428b20 +004ae4d0 007e1e70 +004ae4d0 00812d00 +004ae4d0 0041d520 +004ae4d0 00435a50 +004ae4d0 006ac760 +004ae4d0 0040b220 +004ae4d0 0040add0 +004ae4d0 00a112c0 +004ae4d0 00408e00 +004ae4d0 0040a5d0 +004ae4d0 0040b030 004ae4d0 006d6ba0 004ae4d0 0040ae70 -004ae4d0 00408830 -004ae4d0 00435a50 -004ae4d0 00812d00 -004ae4d0 00a10030 -004ae4d0 00944d10 -004ae4d0 004175b0 -004ae4d0 004cf210 -004b0200 00703670 -004b0200 007e9020 -004b0200 00428b20 -004b0200 006fed60 +004ae4d0 00431310 +004ae4d0 0092e430 +004b0200 006eef60 004b0200 0041d540 +004b0200 004aaef0 +004b0200 007e9080 004b0200 00a10100 004b0200 0040a1b0 -004b0200 004aaef0 004b0200 006be840 -004b0200 0040a380 +004b0200 00428b20 004b0200 0041d520 004b0200 00aef12b -004b0200 007e9080 -004b0200 009568e0 -004b0200 006eef60 +004b0200 00703670 +004b0200 007e9020 +004b0200 006fed60 004b0200 0040a5d0 +004b0200 009568e0 004b0200 00a10030 +004b0200 0040a380 004b0200 006bec40 +004b0a30 0040add0 004b0a30 006ae630 004b0a30 006eef60 -004b0a30 0040add0 -004b0a30 007fec00 -004b0a30 006d6ba0 -004b0a30 0040a5d0 -004b0a30 0040a1b0 004b0a30 006fe410 -004b0a30 0040a380 -004b0a30 00aef12b +004b0a30 007fec00 +004b0a30 0040a5d0 +004b0a30 006d6ba0 +004b0a30 0040a1b0 004b0a30 004567e0 +004b0a30 0040a380 004b0a30 00417430 +004b0a30 00aef12b 004b0e40 004b0f50 -004b0f50 00499410 004b0f50 00a0f4c0 -004b0fe0 00aef253 -004b0fe0 006eef60 -004b0fe0 00a112c0 +004b0f50 00499410 004b0fe0 00709db0 -004b0fe0 00428940 -004b0fe0 00a0f4c0 -004b0fe0 00709c40 -004b0fe0 00aef29d -004b0fe0 006ef590 +004b0fe0 00a112c0 004b0fe0 007f0800 +004b0fe0 00a0f4c0 +004b0fe0 006eef60 +004b0fe0 00428940 +004b0fe0 00aef253 +004b0fe0 006ef590 004b0fe0 0082c7d0 004b0fe0 00aef5af -004b1210 006eef60 +004b0fe0 00709c40 +004b0fe0 00aef29d 004b1210 004a11c0 004b1210 0049cbf0 004b1210 EXTERNAL:00000220 +004b1210 00aef15c +004b1210 006eef60 004b1210 0040a5d0 +004b1210 00956780 004b1210 0040a1b0 004b1210 0092dc30 -004b1210 00aef15c 004b1210 00aef12b -004b1210 00956780 -004b1910 004b39b0 +004b1910 0082d030 +004b1910 00aef15c 004b1910 0042a270 -004b1910 0074f690 -004b1910 0081e520 +004b1910 007ec100 +004b1910 00956780 +004b1910 0082d290 004b1910 006fec30 +004b1910 0082cdd0 004b1910 00aef12b 004b1910 EXTERNAL:00000220 004b1910 00a112c0 +004b1910 0081e520 +004b1910 0074f690 004b1910 0092dc30 -004b1910 00aef15c -004b1910 0082d290 -004b1910 0082cdd0 -004b1910 00956780 -004b1910 0082d030 -004b1910 007ec100 -004b1ee0 006ac2a0 +004b1910 004b39b0 004b1ee0 00812c90 -004b1ee0 006ccdd0 -004b1ee0 00407170 -004b1ee0 0041d540 -004b1ee0 00428b20 +004b1ee0 0096fd60 004b1ee0 0067f070 -004b1ee0 0040a1b0 -004b1ee0 006be840 -004b1ee0 0041d520 -004b1ee0 006eef60 -004b1ee0 00a648b0 -004b1ee0 0040a5d0 -004b1ee0 006ac710 -004b1ee0 0040b030 -004b1ee0 0043ef30 -004b1ee0 00703670 -004b1ee0 007fec00 -004b1ee0 004b1210 -004b1ee0 006d0c60 -004b1ee0 0040a380 -004b1ee0 006cb2e0 -004b1ee0 00aef12b -004b1ee0 004cdcf0 -004b1ee0 006d6ba0 -004b1ee0 00a10030 -004b1ee0 00435a50 -004b1ee0 0092dc30 004b1ee0 00703330 -004b1ee0 004b1910 -004b1ee0 004cf210 -004b1ee0 004071f0 004b1ee0 00956780 004b1ee0 00436220 -004b1ee0 0096fd60 -004b3610 0040cf50 -004b3610 00703670 -004b3610 00407170 -004b3610 0040cae0 -004b3610 006fe410 -004b3610 00aef12b -004b3610 006eef60 -004b3610 0040add0 -004b3610 EXTERNAL:00000220 +004b1ee0 004cf210 +004b1ee0 006be840 +004b1ee0 004b1910 +004b1ee0 00aef12b +004b1ee0 004b1210 +004b1ee0 00703670 +004b1ee0 00a10030 +004b1ee0 0040a380 +004b1ee0 006d0c60 +004b1ee0 006cb2e0 +004b1ee0 006ac2a0 +004b1ee0 00a648b0 +004b1ee0 004cdcf0 +004b1ee0 006eef60 +004b1ee0 0041d540 +004b1ee0 007fec00 +004b1ee0 006ccdd0 +004b1ee0 0043ef30 +004b1ee0 0040a1b0 +004b1ee0 00428b20 +004b1ee0 0041d520 +004b1ee0 00435a50 +004b1ee0 0040a5d0 +004b1ee0 006d6ba0 +004b1ee0 0040b030 +004b1ee0 00407170 +004b1ee0 004071f0 +004b1ee0 0092dc30 +004b1ee0 006ac710 004b3610 004b0fe0 +004b3610 0040cf50 004b3610 00aef15c -004b3610 0092dc30 +004b3610 006eef60 004b3610 00703330 -004b3610 007e2580 004b3610 00956780 +004b3610 00aef12b +004b3610 EXTERNAL:00000220 +004b3610 0040add0 +004b3610 0040cae0 +004b3610 00703670 +004b3610 006fe410 +004b3610 00407170 +004b3610 0092dc30 +004b3610 007e2580 004b3950 EXTERNAL:00000220 004b3950 00aef15c +004b39b0 0040cf00 004b39b0 EXTERNAL:00000220 004b39b0 00aef15c -004b39b0 0040cf00 004b39b0 0040cee0 004b39b0 00415bc0 -004b3af0 0040cf50 004b3af0 EXTERNAL:00000220 -004b3af0 00408e00 -004b3af0 00428b20 -004b3af0 0040a5d0 -004b3af0 0040a1b0 -004b3af0 00aef15c 004b3af0 0040b220 +004b3af0 0040cf50 +004b3af0 00aef15c +004b3af0 00408e00 +004b3af0 0040a5d0 004b3af0 004b6b20 +004b3af0 0040a1b0 +004b3af0 00428b20 004b3af0 00aef12b -004b3d50 006eef60 004b3d50 00435a50 +004b3d50 006eef60 004b3d50 006be840 -004b3f10 004cdcf0 -004b3f10 006eef60 -004b3f10 006d81c0 -004b3f10 00408830 004b3f10 0044be50 004b3f10 00a0f4c0 +004b3f10 006eef60 004b3f10 006fe410 +004b3f10 004cdcf0 +004b3f10 00408830 +004b3f10 006d81c0 004b3f10 004cf210 -004b40d0 004b3ec0 004b40d0 004a11c0 -004b40d0 006eef60 004b40d0 0049cbf0 -004b40d0 006d81c0 004b40d0 EXTERNAL:00000220 004b40d0 00aef15c +004b40d0 004b3ec0 +004b40d0 006eef60 +004b40d0 006d81c0 004b40d0 004cf210 004b40d0 00aef12b 004b43c0 0040cf50 +004b43c0 00aef15c +004b43c0 006eef60 +004b43c0 004cdcf0 +004b43c0 00956780 +004b43c0 004cf210 +004b43c0 00aef12b +004b43c0 EXTERNAL:00000220 +004b43c0 0040b220 +004b43c0 006ac760 004b43c0 0040cae0 004b43c0 006fe410 -004b43c0 0040b220 -004b43c0 00aef12b -004b43c0 006ac760 -004b43c0 004cdcf0 -004b43c0 006eef60 -004b43c0 EXTERNAL:00000220 -004b43c0 00aef15c 004b43c0 0092dc30 -004b43c0 004cf210 -004b43c0 00956780 004b6a90 0044be50 004b6a90 00a0f4c0 -004b6b20 004b6dc0 -004b6b20 004b6d70 -004b6b20 004b6e40 004b6b20 0040cf00 +004b6b20 0040cee0 004b6b20 004b6f40 004b6b20 004b6ce0 -004b6b20 0040cee0 +004b6b20 004b6d70 +004b6b20 004b6dc0 +004b6b20 004b6e40 004b6b20 00415bc0 004b6ce0 EXTERNAL:00000220 004b6ce0 00aef15c -004b70c0 004cdcf0 -004b70c0 006eef60 -004b70c0 00428b20 -004b70c0 0041d540 -004b70c0 009e3450 -004b70c0 0041d520 -004b70c0 0042c920 -004b70c0 004bb230 -004b70c0 004cf210 004b70c0 0040c740 +004b70c0 006eef60 +004b70c0 0041d540 +004b70c0 0042c920 +004b70c0 004cdcf0 004b70c0 009e3560 -004b78f0 006eef60 +004b70c0 004bb230 +004b70c0 009e3450 +004b70c0 004cf210 +004b70c0 00428b20 +004b70c0 0041d520 004b78f0 EXTERNAL:00000220 -004b78f0 00428b20 004b78f0 00aef15c 004b78f0 0042c920 +004b78f0 006eef60 +004b78f0 00428b20 004b78f0 00aef12b 004b7c30 0040bbf0 +004b7c30 0040b220 004b7c30 00a112c0 004b7c30 00409120 -004b7c30 0040b220 004b7c30 00aef12b 004b7e30 0040a380 -004b7ee0 004cdcf0 004b7ee0 004a11c0 -004b7ee0 006eef60 004b7ee0 0049cbf0 004b7ee0 EXTERNAL:00000220 -004b7ee0 00428b20 004b7ee0 00aef15c +004b7ee0 006eef60 +004b7ee0 004cdcf0 004b7ee0 004cf210 +004b7ee0 00428b20 004b7ee0 00aef12b -004b8190 004bb350 -004b8190 00428b20 -004b8190 0041d540 -004b8190 0040bd50 -004b8190 0041d520 -004b8190 00417870 -004b8190 00aef12b -004b8190 004cdcf0 +004b8190 0040cf00 +004b8190 00aef15c +004b8190 004cf0f0 004b8190 006eef60 +004b8190 0040bd50 +004b8190 004cdcf0 +004b8190 0041d540 +004b8190 004bb350 +004b8190 004cf030 +004b8190 004bb920 +004b8190 004cf210 +004b8190 00428b20 +004b8190 0041d520 +004b8190 00aef12b 004b8190 EXTERNAL:00000220 004b8190 00a112c0 004b8190 004bb550 -004b8190 004cf030 -004b8190 00aef15c -004b8190 004bb920 -004b8190 004cf210 -004b8190 0040cf00 -004b8190 004cf0f0 +004b8190 00417870 004b8190 006b7be0 -004b8a30 EXTERNAL:00000262 004b8a30 004bb550 004b8a30 004cf030 -004b8a30 0041af60 +004b8a30 EXTERNAL:00000262 004b8a30 004cf210 -004b8ca0 004cdcf0 +004b8a30 0041af60 004b8ca0 004a11c0 -004b8ca0 006eef60 004b8ca0 0049cbf0 +004b8ca0 00435a50 004b8ca0 EXTERNAL:00000220 004b8ca0 004b7ee0 -004b8ca0 00435a50 004b8ca0 00aef15c +004b8ca0 006eef60 +004b8ca0 004cdcf0 004b8ca0 006be840 -004b8ca0 0040a380 004b8ca0 004cf210 +004b8ca0 0040a380 004b8ca0 00aef12b -004b90e0 004cdcf0 004b90e0 00435a50 +004b90e0 004cdcf0 004b90e0 004cf210 -004b92e0 006ccdd0 -004b92e0 0042f430 -004b92e0 0041d540 -004b92e0 0040bd50 -004b92e0 0041d520 -004b92e0 0040b220 -004b92e0 006ff2a0 -004b92e0 006ac760 -004b92e0 007e7070 -004b92e0 004bb550 -004b92e0 004bb830 -004b92e0 007e33c0 -004b92e0 0043ef30 -004b92e0 004b7e30 -004b92e0 004b90e0 -004b92e0 007fec00 -004b92e0 0040a380 -004b92e0 00aef12b -004b92e0 004cdcf0 -004b92e0 004cf210 -004b92e0 006b7be0 -004b92e0 0081e9d0 004b92e0 00812c90 -004b92e0 00428b20 -004b92e0 0067f070 -004b92e0 0040a1b0 +004b92e0 00682a50 +004b92e0 004b7e30 +004b92e0 004175b0 004b92e0 006be840 -004b92e0 0040b090 +004b92e0 00aef12b +004b92e0 004b8ca0 +004b92e0 004bb550 +004b92e0 007e7070 +004b92e0 004cee90 +004b92e0 0040cf00 +004b92e0 004b8a30 004b92e0 006eef60 +004b92e0 004cdcf0 +004b92e0 0040bd50 +004b92e0 0041d540 +004b92e0 006ccdd0 +004b92e0 0043ef30 +004b92e0 0040a1b0 +004b92e0 0081e9d0 +004b92e0 0041d520 +004b92e0 00435a50 +004b92e0 00813520 +004b92e0 006b7be0 +004b92e0 006ac710 +004b92e0 004bb6b0 +004b92e0 00aef15c +004b92e0 0067f070 +004b92e0 006ff2a0 +004b92e0 007e33c0 +004b92e0 004cf210 +004b92e0 004bb830 +004b92e0 0044bd80 +004b92e0 00813360 004b92e0 EXTERNAL:00000220 +004b92e0 00499d60 +004b92e0 006d0c60 +004b92e0 0040a380 +004b92e0 00812f00 +004b92e0 0040b090 +004b92e0 007fec00 +004b92e0 00428b20 +004b92e0 0040b220 +004b92e0 006ac760 004b92e0 0040a5d0 004b92e0 004b8190 -004b92e0 004b8ca0 -004b92e0 006ac710 -004b92e0 0040cf00 004b92e0 0040b030 -004b92e0 0044bd80 -004b92e0 006d0c60 -004b92e0 00682a50 -004b92e0 00812f00 -004b92e0 004bb6b0 -004b92e0 00813360 -004b92e0 004cee90 -004b92e0 00499d60 -004b92e0 004b8a30 004b92e0 006d6ba0 -004b92e0 00435a50 -004b92e0 00aef15c -004b92e0 004175b0 004b92e0 004071f0 -004b92e0 00813520 +004b92e0 0042f430 +004b92e0 004b90e0 004bb0e0 004b8a30 -004bb0e0 004bb830 004bb0e0 004ce8a0 +004bb0e0 004bb830 004bb230 006eef60 -004bb230 00428b20 004bb230 0041d540 +004bb230 00428b20 004bb230 0041d520 004bb230 00aef12b -004bb350 006eef60 004bb350 EXTERNAL:00000220 004bb350 00aef15c 004bb350 0042c920 +004bb350 006eef60 004bb6b0 00812c90 004bb830 0040a5d0 +004bb830 00956780 004bb830 0040a1b0 004bb830 0092dc30 -004bb830 00956780 004bb920 004cdcf0 004bb920 004cf210 -004bb9b0 0040a5d0 -004bb9b0 004bb830 -004bb9b0 0040a1b0 004bb9b0 00435a50 +004bb9b0 0040a5d0 +004bb9b0 00956780 +004bb9b0 0040a1b0 004bb9b0 0092dc30 004bb9b0 009e3450 004bb9b0 0040a380 -004bb9b0 00956780 +004bb9b0 004bb830 004bbe30 00a112c0 -004bbe30 00409120 004bbe30 0040a220 +004bbe30 00409120 004bbe30 00af0917 004bbe30 0040a030 -004bc460 006eef60 -004bc460 004bb350 -004bc460 004bb550 -004bc460 004b70c0 -004bc460 006fe410 -004bc460 004bb920 004bc460 004b78f0 -004bc460 00aef12b +004bc460 006eef60 +004bc460 004bb550 +004bc460 006fe410 +004bc460 004bb350 004bc460 006b7be0 +004bc460 004bb920 +004bc460 004b70c0 +004bc460 00aef12b 004bc680 0081e9d0 004bc680 00703950 -004bc8c0 004cdcf0 004bc8c0 00435a50 +004bc8c0 004cdcf0 004bc8c0 004cf210 -004bcb30 004cdcf0 004bcb30 006eef60 004bcb30 006fe410 +004bcb30 004cdcf0 004bcb30 004cf210 -004bcc70 004cdcf0 004bcc70 004a11c0 -004bcc70 006eef60 004bcc70 0049cbf0 004bcc70 EXTERNAL:00000220 -004bcc70 00428b20 004bcc70 00aef15c +004bcc70 006eef60 +004bcc70 004cdcf0 004bcc70 004cf210 +004bcc70 00428b20 004bcc70 00aef12b 004bcfd0 006b10f0 004bcfd0 0040a220 004bcfd0 00af0917 004bcfd0 0040a030 +004bd2a0 004bc8c0 004bd2a0 006eef60 004bd2a0 0041d540 -004bd2a0 004bc8c0 004bd2a0 0041d520 004bd2a0 00aef12b -004be6f0 00408e00 -004be6f0 0067f010 +004be6f0 006eef60 004be6f0 0041d540 004be6f0 0040a1b0 -004be6f0 006be840 -004be6f0 0041d520 -004be6f0 006cb2e0 -004be6f0 00aef12b -004be6f0 006eef60 -004be6f0 0040add0 -004be6f0 006d6ba0 -004be6f0 0040a5d0 -004be6f0 00435a50 -004be6f0 00aefca0 004be6f0 0043ef30 -004bee40 00408e00 +004be6f0 006be840 +004be6f0 0067f010 +004be6f0 0041d520 +004be6f0 00aef12b +004be6f0 00435a50 +004be6f0 0040add0 +004be6f0 00408e00 +004be6f0 0040a5d0 +004be6f0 00aefca0 +004be6f0 006d6ba0 +004be6f0 006cb2e0 004bee40 007e4940 +004bee40 00aef15c +004bee40 006eef60 +004bee40 007e33c0 +004bee40 00956780 004bee40 0040a1b0 004bee40 006be840 004bee40 00aef12b -004bee40 006c1330 -004bee40 006eef60 -004bee40 0040aaf0 004bee40 EXTERNAL:00000220 +004bee40 00408e00 +004bee40 006c1330 004bee40 0040a5d0 -004bee40 007e33c0 -004bee40 00aef15c 004bee40 0092dc30 +004bee40 0040aaf0 004bee40 006bec40 -004bee40 00956780 -004bf310 004be670 -004bf310 00af08b1 -004bf310 006d0dd0 -004bf310 EXTERNAL:00000262 -004bf310 0041d540 -004bf310 0040a1b0 +004bf310 009bfd40 +004bf310 0040ccd0 +004bf310 00aef15c 004bf310 009bffb0 +004bf310 006eef60 +004bf310 0041d540 +004bf310 004b3950 +004bf310 006d0dd0 +004bf310 0040a1b0 004bf310 006be840 +004bf310 0040bf30 +004bf310 004be670 +004bf310 00812d00 004bf310 0041d520 004bf310 00aef12b 004bf310 00813360 -004bf310 006eef60 -004bf310 009bfd40 -004bf310 00499d60 004bf310 EXTERNAL:00000220 -004bf310 004b3950 +004bf310 00435a50 004bf310 0040c000 004bf310 0040a5d0 -004bf310 00812d00 -004bf310 00435a50 -004bf310 00aef15c -004bf310 0040bf30 -004bf310 0040ccd0 +004bf310 00499d60 +004bf310 EXTERNAL:00000262 +004bf310 00af08b1 004bfd20 004b3950 -004bfd30 006a8f20 -004bfd30 007e9020 -004bfd30 0041d540 -004bfd30 0041d520 -004bfd30 006ac760 -004bfd30 0040a780 -004bfd30 0067f260 -004bfd30 0040add0 -004bfd30 00a112c0 -004bfd30 00a648b0 -004bfd30 006bec40 -004bfd30 0043ef30 -004bfd30 00af0917 -004bfd30 0041b690 -004bfd30 EXTERNAL:00000262 -004bfd30 00431310 -004bfd30 0040a550 +004bfd30 004a11c0 +004bfd30 00812f50 +004bfd30 00956780 004bfd30 00a10100 +004bfd30 006be840 +004bfd30 00417430 +004bfd30 00aef12b +004bfd30 0040a550 +004bfd30 006a8f20 +004bfd30 009568e0 +004bfd30 0041b690 +004bfd30 006bec40 +004bfd30 00af08b1 +004bfd30 0041a790 +004bfd30 006eef60 +004bfd30 0041d540 +004bfd30 004cdcf0 +004bfd30 0040a1b0 +004bfd30 0043ef30 +004bfd30 0067f260 +004bfd30 0081e9d0 +004bfd30 00812d00 +004bfd30 0041d520 +004bfd30 00435a50 +004bfd30 00813520 +004bfd30 00a112c0 +004bfd30 00431310 +004bfd30 EXTERNAL:00000262 +004bfd30 0040a780 +004bfd30 0092dc30 +004bfd30 0041af60 +004bfd30 00af0917 +004bfd30 006ac710 +004bfd30 006ae630 +004bfd30 00435a80 +004bfd30 004cf210 +004bfd30 00426940 +004bfd30 00813360 +004bfd30 0049cbf0 +004bfd30 00945130 +004bfd30 00703670 +004bfd30 00499d60 +004bfd30 0040ac70 +004bfd30 00a10030 004bfd30 0040a380 004bfd30 006cb2e0 -004bfd30 00aef12b -004bfd30 009568e0 -004bfd30 006ae630 -004bfd30 004cdcf0 -004bfd30 0040ac70 -004bfd30 00812d00 -004bfd30 0092dc30 -004bfd30 004cf210 -004bfd30 0081e9d0 -004bfd30 00703950 -004bfd30 0041a790 -004bfd30 00812f50 -004bfd30 004a11c0 -004bfd30 00af08b1 -004bfd30 006d0dd0 -004bfd30 00407380 -004bfd30 00428b20 -004bfd30 0040a1b0 -004bfd30 006be840 -004bfd30 0040a4d0 -004bfd30 00435a80 -004bfd30 006eef60 -004bfd30 009b92c0 -004bfd30 00945130 -004bfd30 0040b1a0 -004bfd30 0040a5d0 -004bfd30 006ac710 -004bfd30 0040b030 -004bfd30 00703670 -004bfd30 0049cbf0 +004bfd30 00a648b0 004bfd30 00682ed0 -004bfd30 00426940 -004bfd30 00417430 -004bfd30 00813360 -004bfd30 00499d60 -004bfd30 006d6ba0 -004bfd30 00435a50 -004bfd30 00a10030 +004bfd30 006d0dd0 +004bfd30 00428b20 +004bfd30 009b92c0 +004bfd30 0040a4d0 +004bfd30 0040add0 +004bfd30 006ac760 +004bfd30 007e9020 004bfd30 00aeff60 -004bfd30 0041af60 +004bfd30 0040a5d0 +004bfd30 0040b1a0 +004bfd30 0040b030 +004bfd30 006d6ba0 004bfd30 004071f0 -004bfd30 00813520 -004bfd30 00956780 +004bfd30 00407380 +004bfd30 00703950 004c5980 006eef60 004c5980 00428b20 -004c59d0 00547040 +004c59d0 0040c740 +004c59d0 006eef60 004c59d0 0041d540 -004c59d0 00428b20 +004c59d0 004cdcf0 +004c59d0 00956780 004c59d0 0040a1b0 004c59d0 006be840 +004c59d0 004cf210 +004c59d0 00428b20 004c59d0 0041d520 -004c59d0 0042c920 004c59d0 00aef12b -004c59d0 004cdcf0 -004c59d0 006eef60 -004c59d0 0040ae70 -004c59d0 00a648b0 -004c59d0 0040a5d0 004c59d0 00435a50 +004c59d0 0042c920 +004c59d0 0040a5d0 +004c59d0 0040ae70 +004c59d0 00547040 004c59d0 0092dc30 004c59d0 006ac710 004c59d0 0041af60 -004c59d0 004cf210 -004c59d0 0040c740 -004c59d0 00956780 -004c8090 0041a790 -004c8090 006a8f20 -004c8090 006ccdd0 -004c8090 00af08b1 -004c8090 00428b20 -004c8090 0041d540 -004c8090 0040a1b0 +004c59d0 00a648b0 +004c8090 006ae630 +004c8090 00956780 004c8090 006be840 -004c8090 0041d520 -004c8090 0040b220 -004c8090 0096f310 -004c8090 006eef60 -004c8090 0040add0 +004c8090 00aef12b +004c8090 0092acb0 +004c8090 006a8f20 +004c8090 00703670 004c8090 00945130 +004c8090 006d5400 +004c8090 0040a380 +004c8090 006cb2e0 004c8090 00a648b0 +004c8090 00af08b1 +004c8090 0041a790 +004c8090 006eef60 +004c8090 0041d540 +004c8090 0096f310 +004c8090 006ccdd0 +004c8090 0040a1b0 +004c8090 0043ef30 +004c8090 00428b20 +004c8090 007e1e70 +004c8090 0041d520 +004c8090 00435a50 +004c8090 0040add0 +004c8090 0040b220 +004c8090 00813520 004c8090 00a112c0 004c8090 0040a5d0 -004c8090 0092acb0 -004c8090 007e1e70 -004c8090 0043ef30 -004c8090 00af0917 -004c8090 00703670 -004c8090 006c0f30 +004c8090 006d6ba0 004c8090 EXTERNAL:00000262 004c8090 00431310 -004c8090 0040a380 -004c8090 006d5400 -004c8090 006cb2e0 -004c8090 00aef12b -004c8090 00694fb0 -004c8090 006ae630 -004c8090 006d6ba0 -004c8090 00435a50 004c8090 0092dc30 004c8090 0041af60 -004c8090 00813520 -004c8090 00956780 +004c8090 00af0917 004c8090 00703950 -004cca10 00703670 -004cca10 00af08b1 -004cca10 00428b20 -004cca10 00431310 -004cca10 0040a1b0 -004cca10 0040a380 -004cca10 006be840 +004c8090 00694fb0 +004c8090 006c0f30 004cca10 006ff2a0 -004cca10 004cdcf0 004cca10 006eef60 +004cca10 004cdcf0 +004cca10 00956780 +004cca10 0040a1b0 +004cca10 006be840 +004cca10 004cf210 +004cca10 00428b20 004cca10 0040add0 -004cca10 0040ae70 -004cca10 006d6ba0 -004cca10 00a648b0 +004cca10 00435a50 +004cca10 00703670 004cca10 00a112c0 004cca10 0040a5d0 -004cca10 00435a50 +004cca10 0040ae70 +004cca10 006d6ba0 +004cca10 00431310 004cca10 0092dc30 004cca10 0041af60 -004cca10 004cf210 -004cca10 00956780 004cca10 00af0917 +004cca10 0040a380 +004cca10 00a648b0 +004cca10 00af08b1 004cdcf0 004cf3c0 -004cde30 006ae820 -004cde30 004ce6d0 004cde30 00a112c0 +004cde30 004ce6d0 +004cde30 006ae820 004cde30 004ce120 +004ce120 00710dd0 +004ce120 00435a50 004ce120 009e38a0 004ce120 0070fb60 -004ce120 00435a50 -004ce120 00710dd0 -004ce6d0 00499d60 004ce6d0 00408e00 004ce6d0 0040a5d0 +004ce6d0 00499d60 004ce6d0 0040a1b0 +004ce8a0 00813360 +004ce8a0 006ac760 004ce8a0 00812c90 -004ce8a0 006eef60 004ce8a0 0067f070 004ce8a0 004238f0 -004ce8a0 00a10030 +004ce8a0 006eef60 004ce8a0 006fe410 004ce8a0 004ce8a0 -004ce8a0 006ac760 -004ce8a0 00aef12b +004ce8a0 00a10030 004ce8a0 004cee90 -004ce8a0 00813360 +004ce8a0 00aef12b 004cee90 006eef60 -004cee90 0092dc30 004cee90 00703330 +004cee90 00956780 +004cee90 0092dc30 004cee90 004cf210 004cee90 00aef12b -004cee90 00956780 004cf0f0 004ce8a0 004cf120 004cdcf0 004cf120 004cf210 004cf1d0 004cdcf0 004cf1d0 004cf210 -004cf210 00414a80 004cf210 00aef15c -004cf210 00415d20 004cf210 00424540 +004cf210 00414a80 +004cf210 00415d20 004cf350 00424540 004cf380 004cdcf0 004cf380 004cf210 -004cf3c0 00415f80 -004cf3c0 00a0f4c0 004cf3c0 00415fe0 +004cf3c0 00a0f4c0 +004cf3c0 00415f80 004cf3c0 004170d0 004cf5b0 EXTERNAL:00000262 004cf5b0 0041af60 -004cf690 00812f50 -004cf690 006b66c0 -004cf690 0041d540 -004cf690 00428b20 004cf690 00557ce0 -004cf690 0040a1b0 -004cf690 00557f70 -004cf690 00428590 -004cf690 006be840 -004cf690 0041d520 -004cf690 004cf5b0 -004cf690 006eef60 -004cf690 0040add0 -004cf690 EXTERNAL:00000220 -004cf690 00a648b0 -004cf690 0040a5d0 +004cf690 00aef15c +004cf690 00812f50 004cf690 007e33c0 -004cf690 00682740 -004cf690 006ac710 -004cf690 006bec40 -004cf690 0040b030 -004cf690 00703670 +004cf690 00447770 +004cf690 00557f70 +004cf690 006be840 +004cf690 004cf210 +004cf690 004175b0 004cf690 0067f010 -004cf690 00408e00 -004cf690 00558fe0 +004cf690 00417430 +004cf690 00aef12b 004cf690 00558070 +004cf690 EXTERNAL:00000220 +004cf690 004cf5b0 +004cf690 00703670 +004cf690 00428590 +004cf690 00499d60 +004cf690 00a10030 004cf690 006d0c60 004cf690 0040a380 -004cf690 00aef12b -004cf690 00417430 +004cf690 006bec40 +004cf690 006b66c0 +004cf690 00a648b0 +004cf690 0041d540 004cf690 004cdcf0 -004cf690 00499d60 -004cf690 006d6ba0 -004cf690 00447770 -004cf690 00435a50 -004cf690 00a10030 -004cf690 00aef15c -004cf690 0041af60 -004cf690 004175b0 -004cf690 004cf210 -004cf690 004071f0 +004cf690 006eef60 +004cf690 0040a1b0 004cf690 0081e9d0 +004cf690 00428b20 +004cf690 0041d520 +004cf690 00435a50 +004cf690 0040add0 +004cf690 00408e00 +004cf690 00682740 +004cf690 0040a5d0 +004cf690 00558fe0 +004cf690 006d6ba0 +004cf690 0040b030 +004cf690 004071f0 +004cf690 0041af60 +004cf690 006ac710 004d1290 0040cf50 -004d1290 00407170 -004d1290 0041d540 -004d1290 0041d520 -004d1290 0040b220 -004d1290 00703770 -004d1290 006ff2a0 -004d1290 0096f310 -004d1290 0040a780 -004d1290 0040add0 -004d1290 00a648b0 -004d1290 00a112c0 -004d1290 0043ef30 -004d1290 0067f010 -004d1290 006fed60 -004d1290 0040a380 -004d1290 006cb2e0 -004d1290 00aef12b -004d1290 004cdcf0 -004d1290 0040ae70 -004d1290 0040c000 -004d1290 00447770 -004d1290 00812d00 -004d1290 0092dc30 -004d1290 0040bf30 -004d1290 004cf210 -004d1290 0060af00 -004d1290 006ac2a0 -004d1290 00af08b1 -004d1290 006b66c0 -004d1290 00428b20 -004d1290 00414870 -004d1290 0040a1b0 -004d1290 004238f0 -004d1290 006be840 -004d1290 0040b090 -004d1290 006b6550 -004d1290 007cd950 -004d1290 006eef60 -004d1290 004997f0 -004d1290 EXTERNAL:00000220 -004d1290 0040a5d0 -004d1290 00435c70 -004d1290 006a9320 -004d1290 006ac710 -004d1290 0040b030 -004d1290 006c0f30 -004d1290 00408e00 -004d1290 006d0c60 -004d1290 006d6ba0 -004d1290 00435a50 -004d1290 00aef15c -004d1290 0041af60 -004d1290 004175b0 004d1290 00956780 +004d1290 006be840 +004d1290 004175b0 +004d1290 00aef12b +004d1290 006b66c0 +004d1290 00af08b1 +004d1290 006ac2a0 +004d1290 006eef60 +004d1290 0041d540 +004d1290 004cdcf0 +004d1290 0096f310 +004d1290 0040a1b0 +004d1290 0043ef30 +004d1290 0040bf30 +004d1290 00812d00 +004d1290 0041d520 +004d1290 00435a50 +004d1290 00a112c0 +004d1290 004238f0 +004d1290 006fed60 +004d1290 00414870 +004d1290 0040a780 +004d1290 00407170 +004d1290 0092dc30 +004d1290 0041af60 +004d1290 006ac710 +004d1290 00aef15c +004d1290 006ff2a0 +004d1290 007cd950 +004d1290 00447770 +004d1290 006b6550 +004d1290 004cf210 +004d1290 0067f010 +004d1290 00703770 +004d1290 EXTERNAL:00000220 +004d1290 0040c000 +004d1290 006a9320 +004d1290 0040a380 +004d1290 006d0c60 +004d1290 006cb2e0 +004d1290 0060af00 +004d1290 00a648b0 +004d1290 004997f0 +004d1290 0040b090 +004d1290 00428b20 +004d1290 0040b220 +004d1290 0040add0 +004d1290 00408e00 +004d1290 0040a5d0 +004d1290 006d6ba0 +004d1290 0040ae70 +004d1290 0040b030 +004d1290 00435c70 +004d1290 006c0f30 004d3130 004d7250 004d3130 004d7190 004d3230 004d7250 004d3230 004d74a0 -004d3390 0042a030 004d3390 004d72b0 +004d3390 0042a030 004d33d0 0041d540 +004d33d0 006eef60 +004d33d0 0096f310 +004d33d0 0043ef30 +004d33d0 00af08e7 004d33d0 006be840 004d33d0 008370b0 -004d33d0 006cb2e0 004d33d0 00aef12b -004d33d0 0096f310 -004d33d0 00499d60 -004d33d0 006eef60 -004d33d0 0040add0 -004d33d0 00af08e7 004d33d0 00435a50 -004d33d0 0043ef30 -004d33d0 0040b030 +004d33d0 0040add0 004d33d0 00aefca0 +004d33d0 00499d60 +004d33d0 0040b030 +004d33d0 006cb2e0 004d4210 0041d540 004d42f0 0041d540 004d42f0 0041d520 004d43b0 0041d540 004d43b0 0041d520 -004d4480 0041d540 004d4480 00435a50 +004d4480 0041d540 004d4480 0041d520 004d4610 006eef60 -004d4610 0060b890 004d4610 0041d540 +004d4610 0060b890 004d4610 0041d520 004d4610 00aef12b -004d48b0 00812f50 -004d48b0 00703670 -004d48b0 00af08b1 -004d48b0 EXTERNAL:00000262 +004d48b0 004d64f0 +004d48b0 006eef60 004d48b0 0041d540 -004d48b0 004d4610 -004d48b0 006fe410 -004d48b0 0041d520 -004d48b0 00417870 004d48b0 007cd950 004d48b0 004cdcf0 -004d48b0 006eef60 -004d48b0 004d64f0 +004d48b0 00812f50 +004d48b0 00956780 +004d48b0 004d4610 +004d48b0 004cf210 +004d48b0 0041d520 004d48b0 0040add0 -004d48b0 006d6ba0 +004d48b0 00813520 +004d48b0 00703670 004d48b0 00a112c0 +004d48b0 006fe410 +004d48b0 00417870 +004d48b0 004d33d0 +004d48b0 006d6ba0 +004d48b0 EXTERNAL:00000262 004d48b0 0092dc30 004d48b0 0041af60 -004d48b0 004cf210 -004d48b0 00813520 004d48b0 0063b4a0 -004d48b0 00956780 -004d48b0 004d33d0 -004d64f0 004d6f80 +004d48b0 00af08b1 004d64f0 00703670 -004d64f0 004d7530 004d64f0 00a112c0 +004d64f0 004d6f80 004d64f0 0041d540 -004d64f0 0092dc30 -004d64f0 004d3130 -004d64f0 0041d520 -004d64f0 0073f940 +004d64f0 004d7530 004d64f0 00956780 +004d64f0 0073f940 +004d64f0 0092dc30 +004d64f0 0041d520 +004d64f0 004d3130 004d6f80 004d7250 004d6f80 004d6ee0 004d6f80 004d74a0 @@ -4851,1159 +4851,1159 @@ 004d7450 EXTERNAL:00000220 004d7450 00aef15c 004d74a0 004d7190 +004d7530 0040cf00 +004d7530 004d73e0 +004d7530 0040cee0 004d7530 004d76f0 004d7530 004d7340 -004d7530 004d3130 -004d7530 004d73e0 -004d7530 0040cf00 -004d7530 0040cee0 004d7530 00415bc0 +004d7530 004d3130 +004d7683 00af05eb 004d7683 004d7310 004d7683 004d7450 -004d7683 00af05eb 004d76c0 004d6ee0 004d76f0 004d3130 -004d77b0 0041a790 -004d77b0 007f0df0 -004d77b0 00407170 -004d77b0 006ac560 -004d77b0 007c32c0 -004d77b0 0041d540 -004d77b0 00428b20 004d77b0 0067f070 -004d77b0 0040a1b0 +004d77b0 007c32c0 004d77b0 006be840 +004d77b0 00417430 +004d77b0 00aef12b +004d77b0 007f0800 +004d77b0 00499d60 +004d77b0 00a10030 +004d77b0 0040a380 +004d77b0 008279a0 +004d77b0 00a648b0 +004d77b0 006ac560 +004d77b0 0041a790 +004d77b0 006eef60 +004d77b0 0041d540 +004d77b0 0040a1b0 +004d77b0 007f0df0 +004d77b0 00428b20 004d77b0 0041d520 004d77b0 0040b220 -004d77b0 007f0780 -004d77b0 006eef60 -004d77b0 00a648b0 +004d77b0 00435a50 004d77b0 00a112c0 004d77b0 0040a5d0 -004d77b0 00435c70 +004d77b0 006d6ba0 +004d77b0 00407170 +004d77b0 004071f0 +004d77b0 007f0780 004d77b0 006ac710 004d77b0 00af0917 -004d77b0 008279a0 -004d77b0 0040a380 -004d77b0 00aef12b -004d77b0 00417430 -004d77b0 00499d60 -004d77b0 006d6ba0 -004d77b0 00435a50 -004d77b0 00a10030 -004d77b0 004071f0 -004d77b0 007f0800 -004d8910 006eef60 -004d8910 00a112c0 -004d8910 00428b20 +004d77b0 00435c70 004d8910 00435a50 -004d8b50 006eef60 -004d8b50 00a112c0 -004d8b50 00428b20 +004d8910 00a112c0 +004d8910 006eef60 +004d8910 00428b20 004d8b50 00435a50 -004d8d10 006eef60 -004d8d10 00a112c0 -004d8d10 00428b20 +004d8b50 00a112c0 +004d8b50 006eef60 +004d8b50 00428b20 004d8d10 00435a50 +004d8d10 00a112c0 +004d8d10 006eef60 +004d8d10 00428b20 004d8f20 006eef60 004d8f20 0041d540 004d8f20 0041d520 +004d9000 0040ace0 +004d9000 0040b220 004d9000 006eef60 004d9000 00428b20 -004d9000 0040b220 004d9000 00aef12b -004d9000 0040ace0 -004da590 0041a790 -004da590 006ccdd0 -004da590 007f0df0 -004da590 006d0dd0 -004da590 00428b20 -004da590 0041d540 +004da590 007e4940 +004da590 00aef15c +004da590 00a10100 +004da590 007e33c0 +004da590 004cf210 +004da590 004175b0 004da590 006be840 +004da590 00aef12b +004da590 EXTERNAL:00000220 +004da590 006d7d60 +004da590 006c1330 +004da590 00a10030 +004da590 0040aaf0 +004da590 009561e0 +004da590 006cb2e0 +004da590 006bec40 +004da590 00a648b0 +004da590 0041a790 +004da590 006eef60 +004da590 004cdcf0 +004da590 0041d540 +004da590 006ccdd0 +004da590 006d0dd0 +004da590 0043ef30 +004da590 007f0df0 +004da590 00428b20 +004da590 004e4690 004da590 0041d520 004da590 006ac760 -004da590 006eef60 -004da590 EXTERNAL:00000220 -004da590 0040aaf0 -004da590 00a648b0 +004da590 00435a50 +004da590 00408e00 004da590 00a112c0 004da590 0040a5d0 -004da590 007e33c0 -004da590 006bec40 -004da590 009561e0 -004da590 0043ef30 -004da590 006c0f30 -004da590 00408e00 -004da590 007e4940 -004da590 006d7d60 -004da590 00a10100 -004da590 006cb2e0 -004da590 00aef12b -004da590 006c1330 -004da590 004cdcf0 004da590 006d6ba0 -004da590 00435a50 -004da590 00a10030 -004da590 00aef15c -004da590 004175b0 -004da590 004e4690 -004da590 004cf210 -004db3c0 00812f50 +004da590 006c0f30 004db3c0 00435a50 -004db3c0 0081e520 -004db3c0 006bec40 -004db3c0 006be840 004db3c0 007f0800 +004db3c0 0081e520 +004db3c0 00812f50 +004db3c0 006be840 +004db3c0 006bec40 +004db6a0 007e4940 +004db6a0 00aef15c +004db6a0 00408830 +004db6a0 00956780 +004db6a0 007e33c0 +004db6a0 006b64d0 +004db6a0 006be840 +004db6a0 00417430 +004db6a0 00aef12b +004db6a0 EXTERNAL:00000220 +004db6a0 004db3c0 +004db6a0 006c1330 +004db6a0 0040a940 +004db6a0 007f0800 +004db6a0 0040aaf0 +004db6a0 006b9740 +004db6a0 0040a380 +004db6a0 006bec40 +004db6a0 00a648b0 004db6a0 0041a790 +004db6a0 006eef60 004db6a0 0041d540 004db6a0 0040a1b0 -004db6a0 006be840 004db6a0 0041d520 -004db6a0 004db3c0 -004db6a0 006eef60 004db6a0 0040add0 -004db6a0 EXTERNAL:00000220 -004db6a0 0040aaf0 -004db6a0 00a648b0 -004db6a0 0040a5d0 -004db6a0 007e33c0 -004db6a0 0040a940 -004db6a0 006b9740 -004db6a0 006bec40 -004db6a0 00af0917 -004db6a0 00408e00 -004db6a0 007e4940 -004db6a0 0040a380 -004db6a0 00aef12b -004db6a0 00417430 -004db6a0 006c1330 -004db6a0 0040ae70 -004db6a0 00408830 004db6a0 00435a50 +004db6a0 00408e00 +004db6a0 0040a5d0 +004db6a0 0040ae70 004db6a0 0092dc30 -004db6a0 00aef15c -004db6a0 007f0800 -004db6a0 00956780 -004db6a0 006b64d0 -004dc490 006eef60 -004dc490 0067f1d0 +004db6a0 00af0917 004dc490 0044bfb0 -004dc490 00435a50 004dc490 004e45c0 -004dc490 006fe410 -004dc490 0040a380 -004dc490 007f0780 +004dc490 00435a50 004dc490 006d6c20 004dc490 00740bc0 -004dca90 00408e00 -004dca90 EXTERNAL:00000262 -004dca90 0041d540 +004dc490 006eef60 +004dc490 006fe410 +004dc490 007f0780 +004dc490 0067f1d0 +004dc490 0040a380 004dca90 00499d20 +004dca90 006eef60 +004dca90 0041d540 +004dca90 00956780 004dca90 006be840 -004dca90 0040a380 004dca90 0041d520 004dca90 00813360 -004dca90 006eef60 -004dca90 0040add0 -004dca90 0040ae70 -004dca90 0040a5d0 004dca90 00435a50 -004dca90 00a10030 +004dca90 0040add0 +004dca90 00408e00 +004dca90 0040a5d0 +004dca90 0040ae70 +004dca90 EXTERNAL:00000262 004dca90 0092dc30 +004dca90 00a10030 +004dca90 00af0917 004dca90 006b9740 004dca90 0041af60 +004dca90 0040a380 004dca90 006bec40 -004dca90 00956780 -004dca90 00af0917 -004dd7f0 0041d540 -004dd7f0 0067f170 -004dd7f0 006fe410 -004dd7f0 0040a380 -004dd7f0 0041d520 -004dd7f0 004cdcf0 004dd7f0 006eef60 +004dd7f0 004cdcf0 +004dd7f0 0041d540 +004dd7f0 00956780 +004dd7f0 004cf210 +004dd7f0 0041d520 004dd7f0 0040add0 -004dd7f0 00a648b0 +004dd7f0 006fe410 +004dd7f0 0067f170 004dd7f0 0092dc30 004dd7f0 0041af60 +004dd7f0 0040a380 004dd7f0 006bec40 -004dd7f0 004cf210 -004dd7f0 00956780 +004dd7f0 00a648b0 004ddf00 0041a790 -004ddf00 00428b20 -004ddf00 0041d540 -004ddf00 0081e520 -004ddf00 0040a380 -004ddf00 006be840 -004ddf00 0041d520 -004ddf00 007f0780 004ddf00 006eef60 -004ddf00 0040add0 -004ddf00 006d6ba0 -004ddf00 00a648b0 +004ddf00 0041d540 004ddf00 007e33c0 -004ddf00 00435a50 -004ddf00 0041af60 -004ddf00 007f0800 004ddf00 004d8910 -004dea40 EXTERNAL:00000262 -004dea40 0041d540 -004dea40 00428b20 -004dea40 0040a1b0 -004dea40 006fe410 -004dea40 0081e520 -004dea40 0041d520 +004ddf00 006be840 +004ddf00 00428b20 +004ddf00 0041d520 +004ddf00 0040add0 +004ddf00 00435a50 +004ddf00 007f0800 +004ddf00 0081e520 +004ddf00 006d6ba0 +004ddf00 007f0780 +004ddf00 0041af60 +004ddf00 0040a380 +004ddf00 00a648b0 004dea40 006eef60 -004dea40 0040a5d0 -004dea40 00435c70 -004dea40 00435a50 -004dea40 0041af60 -004dea40 007f0800 +004dea40 0041d540 +004dea40 0040a1b0 004dea40 004d8910 -004df3f0 006d7cf0 -004df3f0 0041d540 -004df3f0 0040a6e0 -004df3f0 007e5340 -004df3f0 00428b20 -004df3f0 004cdd80 -004df3f0 006a92a0 -004df3f0 0067f170 +004dea40 00428b20 +004dea40 0041d520 +004dea40 00435a50 +004dea40 007f0800 +004dea40 0081e520 +004dea40 006fe410 +004dea40 0040a5d0 +004dea40 EXTERNAL:00000262 +004dea40 0041af60 +004dea40 00435c70 004df3f0 006a92e0 -004df3f0 0041d520 -004df3f0 006be840 -004df3f0 004567e0 -004df3f0 006eef60 -004df3f0 006a9ba0 -004df3f0 00a648b0 -004df3f0 004b0f50 -004df3f0 006b6470 -004df3f0 004e8fa0 -004df3f0 00435c70 -004df3f0 006ac710 -004df3f0 00682740 -004df3f0 0040c340 -004df3f0 0040b030 -004df3f0 00703670 -004df3f0 0040a550 -004df3f0 0040a380 -004df3f0 0041ab50 -004df3f0 0040d040 -004df3f0 00aef12b +004df3f0 0040a6e0 +004df3f0 00956780 004df3f0 006ac6c0 +004df3f0 004cf210 +004df3f0 006be840 +004df3f0 006d7cf0 +004df3f0 00aef12b +004df3f0 004b0f50 +004df3f0 0040a550 +004df3f0 0041ab50 +004df3f0 00703670 004df3f0 006c1330 -004df3f0 004cdcf0 +004df3f0 0040c340 +004df3f0 007e5340 +004df3f0 0067f170 +004df3f0 004e8fa0 +004df3f0 004cdd80 004df3f0 00499d60 +004df3f0 00a10030 +004df3f0 0040a380 +004df3f0 0040d040 +004df3f0 00a648b0 +004df3f0 0041d540 +004df3f0 006eef60 +004df3f0 004cdcf0 +004df3f0 004e4690 +004df3f0 00428b20 +004df3f0 004567e0 +004df3f0 0041d520 004df3f0 004b0e40 004df3f0 00435a50 -004df3f0 00a10030 -004df3f0 0092dc30 -004df3f0 004e4690 +004df3f0 006a92a0 +004df3f0 006a9ba0 +004df3f0 00682740 +004df3f0 0040b030 004df3f0 004071f0 -004df3f0 004cf210 -004df3f0 00956780 -004e07a0 0040a140 +004df3f0 0092dc30 +004df3f0 006b6470 +004df3f0 006ac710 +004df3f0 00435c70 004e07a0 006b10f0 004e07a0 004e9b10 +004e07a0 0040a140 004e07a0 00af0917 -004e0930 006cb010 004e0930 006eef60 004e0930 0041d540 004e0930 006fe410 +004e0930 006cb010 004e0930 0041d520 -004e0dd0 00407170 -004e0dd0 006b6af0 -004e0dd0 0041d540 -004e0dd0 0040a6e0 -004e0dd0 0041d520 -004e0dd0 0040b220 -004e0dd0 006ac760 -004e0dd0 007e9080 -004e0dd0 006d9050 -004e0dd0 007e33c0 -004e0dd0 006bec40 -004e0dd0 00af0917 -004e0dd0 007e3260 -004e0dd0 006d82d0 -004e0dd0 0040a380 -004e0dd0 00aef12b -004e0dd0 006d8e40 -004e0dd0 004cdcf0 -004e0dd0 0092dc30 -004e0dd0 004cf210 -004e0dd0 00a0ffc0 -004e0dd0 0060af00 -004e0dd0 006d7cf0 -004e0dd0 006b66c0 -004e0dd0 00428b20 -004e0dd0 007e5340 -004e0dd0 004238f0 -004e0dd0 006be840 -004e0dd0 006d85a0 -004e0dd0 006c1870 -004e0dd0 006eef60 -004e0dd0 EXTERNAL:00000220 -004e0dd0 00435c70 -004e0dd0 00682740 -004e0dd0 006ac710 -004e0dd0 0040b030 -004e0dd0 006d0c60 004e0dd0 00682a50 -004e0dd0 00417430 -004e0dd0 00499d60 -004e0dd0 006d6ba0 -004e0dd0 006cae60 -004e0dd0 00435a50 -004e0dd0 00a10030 -004e0dd0 00aef15c -004e0dd0 004175b0 -004e0dd0 004071f0 004e0dd0 00956780 004e0dd0 006b64d0 -004e2b40 006d7cf0 -004e2b40 0041d540 -004e2b40 00428b20 -004e2b40 0067f070 -004e2b40 006be840 -004e2b40 0041d520 -004e2b40 0040b220 -004e2b40 006ac760 -004e2b40 006eef60 -004e2b40 0040add0 +004e0dd0 004175b0 +004e0dd0 006be840 +004e0dd0 006d7cf0 +004e0dd0 00417430 +004e0dd0 00aef12b +004e0dd0 007e5340 +004e0dd0 006bec40 +004e0dd0 006b66c0 +004e0dd0 006eef60 +004e0dd0 004cdcf0 +004e0dd0 0041d540 +004e0dd0 006d8e40 +004e0dd0 0041d520 +004e0dd0 006cae60 +004e0dd0 006d85a0 +004e0dd0 00435a50 +004e0dd0 004238f0 +004e0dd0 00682740 +004e0dd0 00407170 +004e0dd0 0092dc30 +004e0dd0 006ac710 +004e0dd0 00af0917 +004e0dd0 006b6af0 +004e0dd0 006d9050 +004e0dd0 00aef15c +004e0dd0 0040a6e0 +004e0dd0 007e33c0 +004e0dd0 004cf210 +004e0dd0 007e3260 +004e0dd0 006d82d0 +004e0dd0 EXTERNAL:00000220 +004e0dd0 00a0ffc0 +004e0dd0 00499d60 +004e0dd0 006c1870 +004e0dd0 00a10030 +004e0dd0 0040a380 +004e0dd0 006d0c60 +004e0dd0 0060af00 +004e0dd0 007e9080 +004e0dd0 00428b20 +004e0dd0 0040b220 +004e0dd0 006ac760 +004e0dd0 0040b030 +004e0dd0 006d6ba0 +004e0dd0 004071f0 +004e0dd0 00435c70 004e2b40 006d9050 -004e2b40 EXTERNAL:00000220 -004e2b40 006d8290 -004e2b40 0040aaf0 -004e2b40 0040a5d0 +004e2b40 00682a50 +004e2b40 007e4940 +004e2b40 00aef15c +004e2b40 0067f070 +004e2b40 004d8b50 +004e2b40 00956780 004e2b40 007e33c0 004e2b40 00a10630 -004e2b40 0040a940 -004e2b40 006bec40 -004e2b40 006c0f30 -004e2b40 004564b0 -004e2b40 00408e00 -004e2b40 007e4940 -004e2b40 006d7d60 -004e2b40 006d82d0 -004e2b40 006d0c60 -004e2b40 0040a380 -004e2b40 00682a50 004e2b40 004d8d10 -004e2b40 00aef12b -004e2b40 00417430 -004e2b40 006c1330 -004e2b40 00499d60 -004e2b40 006d6ba0 -004e2b40 004d8b50 -004e2b40 00435a50 -004e2b40 00aef15c -004e2b40 0092dc30 -004e2b40 006d03e0 -004e2b40 004175b0 004e2b40 006b64d0 -004e2b40 00956780 +004e2b40 006be840 +004e2b40 004175b0 +004e2b40 006d7cf0 +004e2b40 006d82d0 +004e2b40 00417430 +004e2b40 00aef12b +004e2b40 EXTERNAL:00000220 +004e2b40 006d7d60 +004e2b40 006c1330 +004e2b40 0040a940 +004e2b40 004564b0 +004e2b40 00499d60 +004e2b40 0040aaf0 +004e2b40 0040a380 +004e2b40 006d0c60 +004e2b40 006bec40 +004e2b40 006d8290 +004e2b40 006eef60 +004e2b40 0041d540 +004e2b40 006d03e0 +004e2b40 00428b20 +004e2b40 0041d520 +004e2b40 0040add0 +004e2b40 00435a50 +004e2b40 006ac760 +004e2b40 0040b220 +004e2b40 00408e00 +004e2b40 0040a5d0 +004e2b40 006d6ba0 +004e2b40 0092dc30 +004e2b40 006c0f30 +004e38c0 00aef15c 004e38c0 00812f50 -004e38c0 007f0df0 -004e38c0 0067f1d0 -004e38c0 007e5340 -004e38c0 0041d540 +004e38c0 007e33c0 +004e38c0 00a10100 +004e38c0 00956780 004e38c0 006be840 +004e38c0 0067f1d0 +004e38c0 007e3260 +004e38c0 00417430 +004e38c0 006d82d0 +004e38c0 00aef12b +004e38c0 EXTERNAL:00000220 +004e38c0 007e5340 +004e38c0 00499d60 +004e38c0 0040a380 +004e38c0 006bec40 +004e38c0 006eef60 +004e38c0 0041d540 +004e38c0 0067f260 +004e38c0 007f0df0 004e38c0 0041d520 004e38c0 006ac760 -004e38c0 0067f260 -004e38c0 006eef60 -004e38c0 EXTERNAL:00000220 -004e38c0 007e33c0 -004e38c0 006bec40 -004e38c0 007e3260 -004e38c0 00a10100 -004e38c0 006d82d0 -004e38c0 0040a380 -004e38c0 00aef12b -004e38c0 00417430 -004e38c0 00499d60 004e38c0 00435a50 -004e38c0 00aef15c 004e38c0 0092dc30 004e38c0 006c15c0 -004e38c0 00956780 004e45c0 004288a0 -004e45c0 00415bd0 004e45c0 00a0f4c0 +004e45c0 00415bd0 004e45c0 004170d0 004e4690 00af08ff 004e47c0 EXTERNAL:00000220 004e47c0 00aef15c 004e4870 007f0800 -004e4970 00812f50 -004e4970 0041d540 -004e4970 00428b20 -004e4970 0040a1b0 -004e4970 006d0c60 -004e4970 0041d520 -004e4970 006be840 -004e4970 004e4870 -004e4970 00aef12b 004e4970 006eef60 +004e4970 0041d540 +004e4970 00812f50 +004e4970 0040a1b0 +004e4970 006be840 +004e4970 00428b20 +004e4970 0041d520 +004e4970 00aef12b 004e4970 0040add0 -004e4970 006d6ba0 -004e4970 00a648b0 -004e4970 0040a5d0 004e4970 00435a50 +004e4970 004e4870 +004e4970 0040a5d0 +004e4970 006d6ba0 +004e4970 006d0c60 004e4970 007e6300 +004e4970 00a648b0 004e50d0 006ac560 -004e5170 0041a790 -004e5170 007e6ff0 -004e5170 007f0df0 -004e5170 00407380 -004e5170 0067f1d0 -004e5170 007e5340 -004e5170 0040a1b0 -004e5170 0067f170 -004e5170 006be840 -004e5170 006eef60 -004e5170 0040add0 -004e5170 006a9ba0 -004e5170 0040aaf0 -004e5170 00a648b0 -004e5170 0040a5d0 -004e5170 006b6c20 004e5170 007e33c0 -004e5170 0040a940 -004e5170 006bec40 -004e5170 0042eef0 -004e5170 006b62b0 +004e5170 00956780 +004e5170 006b64d0 +004e5170 006be840 +004e5170 0067f1d0 +004e5170 0042eb10 +004e5170 00417430 004e5170 00945190 -004e5170 00408e00 +004e5170 0042eef0 +004e5170 0040a940 +004e5170 007e5340 +004e5170 0067f170 +004e5170 00945470 +004e5170 0040aaf0 +004e5170 0040a380 +004e5170 006bec40 004e5170 004e50d0 +004e5170 00a648b0 +004e5170 0041a790 +004e5170 006eef60 +004e5170 0040a1b0 +004e5170 007f0df0 +004e5170 006b6c20 +004e5170 0040add0 +004e5170 00435a50 +004e5170 00408e00 +004e5170 007e6ff0 +004e5170 006a9ba0 +004e5170 0040a5d0 +004e5170 006b62b0 +004e5170 006d6ba0 004e5170 EXTERNAL:0000022d 004e5170 00431310 -004e5170 00431570 -004e5170 0040a380 -004e5170 00417430 -004e5170 006d6ba0 -004e5170 0042eb10 -004e5170 00435a50 004e5170 0092dc30 -004e5170 006b64d0 -004e5170 00956780 -004e5170 00945470 -004e6570 00407170 -004e6570 0042c920 -004e6570 0040b220 -004e6570 006ac760 -004e6570 007f0780 -004e6570 00aef5af -004e6570 00a648b0 -004e6570 009be6b0 -004e6570 00740bc0 -004e6570 007cb6e0 -004e6570 00431310 -004e6570 0040a380 +004e5170 00407380 +004e5170 00431570 004e6570 004071c0 -004e6570 00aef12b -004e6570 00aef253 -004e6570 0040c000 -004e6570 004565e0 -004e6570 0092dc30 -004e6570 0040bf30 -004e6570 007f0800 -004e6570 00945470 -004e6570 0041a790 -004e6570 007e6ff0 -004e6570 007f0df0 -004e6570 00428b20 -004e6570 0067f070 -004e6570 004238f0 -004e6570 006be840 -004e6570 00aef29d -004e6570 00417870 -004e6570 00416440 -004e6570 006eef60 -004e6570 006a9ba0 -004e6570 EXTERNAL:00000220 -004e6570 0040a5d0 -004e6570 00435c70 -004e6570 0040b030 -004e6570 006d6c20 -004e6570 0040ccd0 -004e6570 00703670 -004e6570 00945190 -004e6570 00408e00 -004e6570 006b31b0 -004e6570 00499d60 -004e6570 006d6ba0 -004e6570 00aef15c -004e6570 004071f0 -004e6570 006b64d0 004e6570 00956780 +004e6570 006b64d0 +004e6570 006be840 +004e6570 00aef12b +004e6570 00945470 +004e6570 0040ccd0 +004e6570 0041a790 +004e6570 006eef60 +004e6570 00416440 +004e6570 007f0df0 +004e6570 0040bf30 +004e6570 00aef5af +004e6570 007e6ff0 +004e6570 004238f0 +004e6570 006b31b0 +004e6570 00407170 +004e6570 00431310 +004e6570 007f0780 +004e6570 0092dc30 +004e6570 009be6b0 +004e6570 00aef15c +004e6570 0067f070 +004e6570 00945190 +004e6570 EXTERNAL:00000220 +004e6570 00703670 +004e6570 007f0800 +004e6570 0040c000 +004e6570 00417870 +004e6570 00499d60 +004e6570 004565e0 +004e6570 0040a380 +004e6570 00a648b0 +004e6570 00428b20 +004e6570 00aef29d +004e6570 006ac760 +004e6570 0040b220 +004e6570 007cb6e0 +004e6570 006d6c20 +004e6570 00740bc0 +004e6570 00408e00 +004e6570 0042c920 +004e6570 006a9ba0 +004e6570 0040a5d0 +004e6570 00aef253 +004e6570 0040b030 +004e6570 006d6ba0 +004e6570 004071f0 +004e6570 00435c70 +004e7d10 00435a50 004e7d10 006eef60 004e7d10 EXTERNAL:00000262 -004e7d10 00435a50 004e7d10 0041af60 -004e7ea0 006eef60 004e7ea0 0040add0 -004e7ea0 006d6ba0 +004e7ea0 006eef60 004e7ea0 0040a5d0 +004e7ea0 006d6ba0 +004e7ea0 0043ef30 004e7ea0 0040a1b0 004e7ea0 004071f0 004e7ea0 006cb2e0 -004e7ea0 0043ef30 004e7ea0 00aef12b -004e8380 00812f50 -004e8380 0097fc10 -004e8380 0041d540 -004e8380 006be7e0 -004e8380 006d0c60 -004e8380 0067f170 -004e8380 006be840 004e8380 0040b090 -004e8380 0040a380 -004e8380 0041d520 -004e8380 0096f310 -004e8380 004cdcf0 -004e8380 00499d60 +004e8380 00812f50 004e8380 006eef60 +004e8380 0041d540 +004e8380 004cdcf0 +004e8380 0096f310 +004e8380 006be840 +004e8380 004cf210 +004e8380 006be7e0 +004e8380 0097fc10 +004e8380 0041d520 +004e8380 00435a50 004e8380 0040add0 +004e8380 0067f170 004e8380 0040ae70 004e8380 006d6ba0 -004e8380 00a648b0 -004e8380 00435a50 +004e8380 00499d60 004e8380 00a10030 +004e8380 0040a380 +004e8380 006d0c60 004e8380 006bec40 -004e8380 004cf210 +004e8380 00a648b0 004e8fa0 004b0e40 004e8fa0 00435a50 004e8fa0 004f83a0 -004e9b10 0042f430 -004e9b10 00407170 -004e9b10 00408e00 -004e9b10 0041e720 +004e9b10 0041e960 +004e9b10 00aef5af 004e9b10 00aef29d 004e9b10 00aef12b 004e9b10 0040ace0 -004e9b10 00aef5af -004e9b10 00aef253 -004e9b10 004f84e0 004e9b10 00435a50 -004e9b10 0041e960 +004e9b10 00408e00 +004e9b10 004f84e0 +004e9b10 00aef253 +004e9b10 00407170 +004e9b10 0041e720 004e9b10 00af0917 -004ea3d0 0096f4e0 -004ea3d0 006d7cf0 -004ea3d0 006d0c20 -004ea3d0 0060b890 -004ea3d0 00407170 -004ea3d0 00428b20 -004ea3d0 0041d540 -004ea3d0 00704360 -004ea3d0 006b6af0 -004ea3d0 004238f0 -004ea3d0 006a92a0 +004e9b10 0042f430 004ea3d0 006a92e0 -004ea3d0 006be840 -004ea3d0 0041d520 -004ea3d0 00a100b0 -004ea3d0 0040b220 -004ea3d0 004567e0 -004ea3d0 0096f310 -004ea3d0 006eef60 -004ea3d0 004b0f50 -004ea3d0 004e8fa0 +004ea3d0 007e4940 +004ea3d0 006d0c20 +004ea3d0 00431450 +004ea3d0 00a10100 004ea3d0 007e33c0 +004ea3d0 00447770 +004ea3d0 0060b890 +004ea3d0 006b64d0 +004ea3d0 006be840 +004ea3d0 00417430 +004ea3d0 00499380 +004ea3d0 006d7cf0 +004ea3d0 00aef12b +004ea3d0 004b0f50 +004ea3d0 0040a550 004ea3d0 0040a940 -004ea3d0 006ac710 -004ea3d0 006bec40 +004ea3d0 006c1330 +004ea3d0 0096ce90 004ea3d0 007e90f0 004ea3d0 0040c340 -004ea3d0 0040b030 -004ea3d0 00431450 -004ea3d0 007e4940 -004ea3d0 00499380 -004ea3d0 00a10100 -004ea3d0 0040a550 -004ea3d0 0040a380 -004ea3d0 0040d040 -004ea3d0 004073b0 -004ea3d0 00aef12b -004ea3d0 00417430 -004ea3d0 006c1330 004ea3d0 00499d60 -004ea3d0 006d6ba0 -004ea3d0 004b0e40 -004ea3d0 00447770 -004ea3d0 00435a50 +004ea3d0 004e8fa0 004ea3d0 00a10030 -004ea3d0 0096ce90 -004ea3d0 006b64d0 +004ea3d0 00a100b0 +004ea3d0 0040a380 +004ea3d0 006bec40 +004ea3d0 0040d040 +004ea3d0 006eef60 +004ea3d0 0041d540 +004ea3d0 004073b0 +004ea3d0 0096f310 +004ea3d0 00428b20 +004ea3d0 004567e0 +004ea3d0 0041d520 +004ea3d0 004b0e40 +004ea3d0 00435a50 +004ea3d0 0040b220 +004ea3d0 00704360 +004ea3d0 0096f4e0 +004ea3d0 004238f0 +004ea3d0 006a92a0 +004ea3d0 0040b030 +004ea3d0 006d6ba0 +004ea3d0 00407170 +004ea3d0 006ac710 +004ea3d0 006b6af0 004ec240 004faad0 004ec240 00aef12b -004ecc10 007e6ff0 -004ecc10 007f0df0 +004ecc10 00682a50 +004ecc10 00aef15c +004ecc10 004cf210 +004ecc10 006be840 004ecc10 0067f1d0 -004ecc10 0041d540 -004ecc10 00428b20 -004ecc10 007e5340 +004ecc10 00aef12b 004ecc10 006cb2a0 -004ecc10 0040a1b0 +004ecc10 EXTERNAL:00000220 004ecc10 0074f690 004ecc10 0067f170 -004ecc10 0041d520 -004ecc10 006be840 -004ecc10 0040b220 -004ecc10 006ac760 -004ecc10 006eef60 -004ecc10 0040add0 -004ecc10 EXTERNAL:00000220 -004ecc10 0040aaf0 -004ecc10 0040a5d0 -004ecc10 00af0917 -004ecc10 00408e00 -004ecc10 00682a50 -004ecc10 00aef12b -004ecc10 004cdcf0 +004ecc10 007e5340 004ecc10 00499d60 -004ecc10 006d6ba0 -004ecc10 00435a50 -004ecc10 00aef15c -004ecc10 006c15c0 -004ecc10 004cf210 +004ecc10 0040aaf0 004ecc10 0082d030 -004ed840 0041a790 -004ed840 006ad3c0 -004ed840 00812f50 -004ed840 006ccdd0 -004ed840 0041d540 -004ed840 00428b20 -004ed840 0040a1b0 +004ecc10 006eef60 +004ecc10 0041d540 +004ecc10 004cdcf0 +004ecc10 0040a1b0 +004ecc10 007f0df0 +004ecc10 00428b20 +004ecc10 0041d520 +004ecc10 0040add0 +004ecc10 00435a50 +004ecc10 006ac760 +004ecc10 0040b220 +004ecc10 007e6ff0 +004ecc10 00408e00 +004ecc10 0040a5d0 +004ecc10 006d6ba0 +004ecc10 00af0917 +004ecc10 006c15c0 +004ed840 00682a50 +004ed840 00aef15c 004ed840 0067f070 -004ed840 006a92a0 -004ed840 0041d520 -004ed840 006be840 -004ed840 0040b220 -004ed840 006eef60 -004ed840 0040add0 -004ed840 00a648b0 -004ed840 0040a5d0 +004ed840 00812f50 +004ed840 006c04b0 +004ed840 00a10100 +004ed840 00956780 004ed840 00a10630 +004ed840 004cf210 +004ed840 006be840 +004ed840 00417430 004ed840 006ad870 -004ed840 0043ef30 +004ed840 00aef12b +004ed840 00813360 +004ed840 00944a40 004ed840 006d7d60 +004ed840 009568e0 +004ed840 006ad3c0 +004ed840 00499d60 +004ed840 0040a380 +004ed840 00a648b0 +004ed840 00429f90 +004ed840 0042c7c0 +004ed840 0041a790 +004ed840 004cdcf0 +004ed840 006eef60 +004ed840 0041d540 +004ed840 006ccdd0 +004ed840 0040a1b0 +004ed840 0043ef30 +004ed840 00428b20 +004ed840 0041d520 +004ed840 0040add0 +004ed840 0040b220 +004ed840 00435a50 +004ed840 00813520 +004ed840 006a92a0 +004ed840 0040a5d0 +004ed840 006d6ba0 004ed840 0042c780 004ed840 00431310 -004ed840 00a10100 -004ed840 00682a50 -004ed840 0040a380 -004ed840 00aef12b -004ed840 00417430 -004ed840 00813360 -004ed840 009568e0 -004ed840 004cdcf0 -004ed840 00499d60 -004ed840 006d6ba0 -004ed840 00435a50 -004ed840 00aef15c -004ed840 0092dc30 -004ed840 006c04b0 -004ed840 00944a40 -004ed840 004cf210 004ed840 004071f0 +004ed840 0092dc30 004ed840 007e6300 -004ed840 00813520 -004ed840 00429f90 -004ed840 00956780 -004ed840 0042c7c0 004ed840 00703950 -004efb90 00407170 -004efb90 0040a6e0 -004efb90 0041d520 -004efb90 0040b220 -004efb90 006ac760 -004efb90 0067f260 -004efb90 004567b0 -004efb90 0040add0 -004efb90 0040aaf0 -004efb90 006b6470 -004efb90 007e33c0 -004efb90 0040a940 -004efb90 006bec40 -004efb90 0043ef30 -004efb90 00a10100 -004efb90 0040a380 -004efb90 006cb2e0 -004efb90 00aef12b -004efb90 0040ace0 -004efb90 009568e0 -004efb90 004cdcf0 -004efb90 006ae630 -004efb90 00447770 004efb90 00408830 -004efb90 0092dc30 -004efb90 00a115c0 -004efb90 004cf210 -004efb90 0041a790 -004efb90 006d7cf0 -004efb90 007f0b40 -004efb90 007f0df0 +004efb90 00956780 +004efb90 00a10100 +004efb90 006be840 +004efb90 004175b0 004efb90 0067f1d0 -004efb90 00428b20 -004efb90 004cdd80 +004efb90 00417430 +004efb90 006d7cf0 +004efb90 00aef12b +004efb90 009568e0 +004efb90 004567b0 +004efb90 0040aaf0 +004efb90 007f0b40 +004efb90 006bec40 +004efb90 0041a790 +004efb90 004cdcf0 +004efb90 006eef60 +004efb90 00a115c0 +004efb90 0043ef30 +004efb90 0067f260 +004efb90 007f0df0 +004efb90 006b66a0 +004efb90 0041d520 +004efb90 00435a50 004efb90 004238f0 004efb90 006a92a0 -004efb90 00a114d0 -004efb90 006ac530 -004efb90 006be840 -004efb90 0040a4d0 -004efb90 006eef60 -004efb90 00435c70 -004efb90 0040b030 +004efb90 00407170 +004efb90 0092dc30 004efb90 007e4940 -004efb90 00408e00 -004efb90 0040a720 -004efb90 006d0c60 -004efb90 004073b0 -004efb90 00417430 -004efb90 006d6ba0 -004efb90 00a10030 -004efb90 00435a50 -004efb90 006b66a0 -004efb90 004175b0 -004efb90 004071f0 +004efb90 00a114d0 +004efb90 006ae630 004efb90 007f0870 -004efb90 00956780 +004efb90 0040a6e0 +004efb90 007e33c0 +004efb90 00447770 +004efb90 004cf210 +004efb90 0040a940 +004efb90 0040a720 +004efb90 004cdd80 +004efb90 00a10030 +004efb90 0040a380 +004efb90 006d0c60 +004efb90 006cb2e0 +004efb90 004073b0 +004efb90 006ac530 +004efb90 00428b20 +004efb90 0040a4d0 +004efb90 0040ace0 +004efb90 0040b220 +004efb90 0040add0 +004efb90 006ac760 +004efb90 00408e00 +004efb90 0040b030 +004efb90 006d6ba0 +004efb90 004071f0 +004efb90 006b6470 +004efb90 00435c70 004f1ec0 00aef12b -004f2c20 0060b890 -004f2c20 007f0df0 -004f2c20 0097fc10 -004f2c20 004f86d0 -004f2c20 004cdd80 -004f2c20 0040a1b0 -004f2c20 006be840 -004f2c20 0042c920 -004f2c20 007f0780 -004f2c20 0096f310 -004f2c20 004567b0 -004f2c20 006eef60 -004f2c20 0040add0 -004f2c20 EXTERNAL:00000220 -004f2c20 0040a5d0 -004f2c20 007e33c0 -004f2c20 006bec40 -004f2c20 0043ef30 -004f2c20 EXTERNAL:00000262 004f2c20 007e4940 -004f2c20 00a0f4c0 -004f2c20 0040a380 -004f2c20 0042c8e0 -004f2c20 006cb2e0 -004f2c20 00aef12b -004f2c20 006c1330 -004f2c20 004cdcf0 -004f2c20 006d6ba0 -004f2c20 006cae60 -004f2c20 0040ae70 -004f2c20 00435a50 004f2c20 00aef15c -004f2c20 0092dc30 -004f2c20 0041af60 -004f2c20 00944a40 -004f2c20 004cf210 +004f2c20 007e33c0 004f2c20 00956780 +004f2c20 0060b890 +004f2c20 004cf210 +004f2c20 006be840 +004f2c20 0097fc10 +004f2c20 00aef12b +004f2c20 EXTERNAL:00000220 +004f2c20 00944a40 +004f2c20 006c1330 +004f2c20 004cdd80 +004f2c20 004567b0 +004f2c20 0040a380 +004f2c20 006cb2e0 +004f2c20 004f86d0 +004f2c20 006bec40 +004f2c20 004cdcf0 +004f2c20 006eef60 +004f2c20 0096f310 +004f2c20 0040a1b0 +004f2c20 0043ef30 +004f2c20 007f0df0 +004f2c20 006cae60 +004f2c20 00435a50 +004f2c20 0042c8e0 +004f2c20 0040add0 +004f2c20 00a0f4c0 +004f2c20 0042c920 +004f2c20 0040a5d0 +004f2c20 006d6ba0 +004f2c20 0040ae70 +004f2c20 EXTERNAL:00000262 +004f2c20 0092dc30 +004f2c20 007f0780 +004f2c20 0041af60 004f4730 0040cf50 -004f4730 0041d540 -004f4730 00428b20 -004f4730 00499d20 -004f4730 0041d520 -004f4730 0040b220 -004f4730 006ac760 -004f4730 006eef60 -004f4730 0040aaf0 -004f4730 EXTERNAL:00000220 -004f4730 0040a5d0 -004f4730 009be6b0 -004f4730 0040ccd0 -004f4730 00af0917 -004f4730 00408e00 -004f4730 007cb6e0 -004f4730 0040cae0 -004f4730 00431310 +004f4730 00aef15c +004f4730 00956780 004f4730 00aef12b 004f4730 00813360 -004f4730 00499d60 -004f4730 0040c000 -004f4730 00435a50 -004f4730 0092dc30 -004f4730 00aef15c +004f4730 EXTERNAL:00000220 004f4730 007f0800 -004f4730 00956780 -004f5f20 00407170 +004f4730 0040c000 +004f4730 00499d60 +004f4730 0040aaf0 +004f4730 00499d20 +004f4730 0040ccd0 +004f4730 0041d540 +004f4730 006eef60 +004f4730 00428b20 +004f4730 0041d520 +004f4730 0040b220 +004f4730 00435a50 +004f4730 006ac760 +004f4730 007cb6e0 +004f4730 00408e00 +004f4730 0040cae0 +004f4730 0040a5d0 +004f4730 00431310 +004f4730 0092dc30 +004f4730 00af0917 +004f4730 009be6b0 004f5f20 00435a50 -004f5f20 0040a140 -004f5f20 0041e720 004f5f20 0040b220 004f5f20 0041e960 -004f5f20 00aef12b +004f5f20 00407170 +004f5f20 0041e720 +004f5f20 0040a140 004f5f20 00af0917 -004f64e0 006ac2a0 +004f5f20 00aef12b 004f64e0 00812f50 +004f64e0 007e33c0 +004f64e0 00956780 +004f64e0 00700060 +004f64e0 006be840 +004f64e0 006b6830 +004f64e0 00aef12b +004f64e0 00703670 +004f64e0 004567b0 +004f64e0 006cb2e0 +004f64e0 006bec40 +004f64e0 006b66c0 +004f64e0 006ac2a0 004f64e0 0041a790 004f64e0 00758a70 -004f64e0 00407170 -004f64e0 006b66c0 -004f64e0 00704360 -004f64e0 00428b20 -004f64e0 0041d540 -004f64e0 006b6af0 -004f64e0 006b6830 -004f64e0 0040a1b0 -004f64e0 006be840 -004f64e0 0041d520 -004f64e0 00700060 004f64e0 006eef60 -004f64e0 004567b0 -004f64e0 0040add0 -004f64e0 0040a5d0 -004f64e0 007e33c0 -004f64e0 006bec40 +004f64e0 0041d540 +004f64e0 0040a1b0 004f64e0 0043ef30 -004f64e0 00703670 -004f64e0 EXTERNAL:00000262 -004f64e0 006cb2e0 -004f64e0 00aef12b +004f64e0 00428b20 +004f64e0 0041d520 +004f64e0 0040add0 +004f64e0 00704360 +004f64e0 0040a5d0 004f64e0 006d6ba0 +004f64e0 00407170 +004f64e0 EXTERNAL:00000262 004f64e0 0092dc30 -004f64e0 00956780 -004f76f0 006eef60 -004f76f0 00a112c0 -004f76f0 0040a5d0 -004f76f0 0040a1b0 +004f64e0 006b6af0 004f76f0 00435a50 004f76f0 0040b220 004f76f0 006d6c20 004f76f0 00740bc0 +004f76f0 00a112c0 +004f76f0 006eef60 +004f76f0 0040a5d0 +004f76f0 0040a1b0 004f76f0 006b64d0 -004f7e60 006c0f30 -004f7e60 006d7d60 +004f7e60 006eef60 +004f7e60 007e33c0 +004f7e60 00956780 004f7e60 0040a1b0 004f7e60 006be840 -004f7e60 006eef60 -004f7e60 0040ae70 +004f7e60 006d7d60 004f7e60 00a112c0 004f7e60 0040a5d0 -004f7e60 007e33c0 +004f7e60 0040ae70 004f7e60 0092dc30 -004f7e60 006bec40 004f7e60 009561e0 -004f7e60 00956780 -004f83a0 00499410 +004f7e60 006bec40 +004f7e60 006c0f30 004f83a0 00a0f4c0 +004f83a0 00499410 004f8460 00aef15c 004f84a0 0040cae0 +004f84e0 0040cf00 004f84e0 EXTERNAL:00000220 004f84e0 00aef15c -004f84e0 0040cf00 004f84e0 0040cee0 004f84e0 00415bc0 -004f86d0 00415f80 -004f86d0 00a0f4c0 004f86d0 00415fe0 +004f86d0 00a0f4c0 +004f86d0 00415f80 004f86d0 004170d0 004f8940 009be080 004f8960 00812c90 +004f8960 006eef60 +004f8960 004cdcf0 +004f8960 00408d00 +004f8960 00956780 +004f8960 004cf210 +004f8960 0040add0 +004f8960 00740bc0 004f8960 00703670 004f8960 007e6ff0 004f8960 006fe410 -004f8960 0040a380 -004f8960 00408d00 -004f8960 004cdcf0 -004f8960 006eef60 -004f8960 0040add0 -004f8960 004565e0 004f8960 0092dc30 -004f8960 004cf210 -004f8960 00740bc0 -004f8960 00956780 +004f8960 004565e0 +004f8960 0040a380 004f8cc0 006eef60 004f8cc0 0041d540 004f8cc0 006fe410 004f8cc0 0041d520 -004f8df0 00812c90 -004f8df0 007e6ff0 -004f8df0 00407170 -004f8df0 009e24a0 -004f8df0 00734900 -004f8df0 006fe410 -004f8df0 007078f0 -004f8df0 006eef60 -004f8df0 0040add0 004f8df0 004288a0 -004f8df0 00a112c0 -004f8df0 007079c0 -004f8df0 004e45c0 -004f8df0 0074efd0 -004f8df0 008646e0 -004f8df0 00740bc0 -004f8df0 009e0680 -004f8df0 006f0090 -004f8df0 0040a380 -004f8df0 00aef12b -004f8df0 00865340 +004f8df0 00812c90 004f8df0 00408d00 -004f8df0 00418500 -004f8df0 004cdcf0 -004f8df0 00734180 -004f8df0 00733ca0 -004f8df0 006d6ba0 -004f8df0 00734a80 -004f8df0 004565e0 -004f8df0 00a68490 004f8df0 004cf210 +004f8df0 009e24a0 +004f8df0 00aef12b +004f8df0 00734180 +004f8df0 00a68490 +004f8df0 006fe410 +004f8df0 004565e0 +004f8df0 0040a380 +004f8df0 004e45c0 +004f8df0 00734900 +004f8df0 006eef60 +004f8df0 004cdcf0 +004f8df0 00733ca0 +004f8df0 0040add0 +004f8df0 008646e0 +004f8df0 00a112c0 +004f8df0 00740bc0 +004f8df0 007e6ff0 +004f8df0 00734a80 +004f8df0 006d6ba0 +004f8df0 00418500 +004f8df0 009e0680 +004f8df0 00865340 +004f8df0 007078f0 +004f8df0 00407170 +004f8df0 007079c0 +004f8df0 0074efd0 +004f8df0 006f0090 004f9920 006eef60 -004f9920 006ad870 004f9920 006fe410 -004f9ad0 00417220 -004f9ad0 007f0df0 -004f9ad0 00407170 -004f9ad0 00428b20 -004f9ad0 0041d540 -004f9ad0 0041d520 -004f9ad0 0040b220 -004f9ad0 007f0780 -004f9ad0 009be080 -004f9ad0 006eef60 +004f9920 006ad870 +004f9ad0 00956780 004f9ad0 007e33c0 -004f9ad0 00435c70 -004f9ad0 006ac710 -004f9ad0 006bec40 -004f9ad0 006d6c20 -004f9ad0 006d4e00 -004f9ad0 006c0f30 004f9ad0 007e3260 004f9ad0 006d82d0 -004f9ad0 0040a380 004f9ad0 00aef12b -004f9ad0 00435a50 -004f9ad0 0092dc30 -004f9ad0 004071f0 +004f9ad0 00417220 +004f9ad0 009be080 004f9ad0 007f0800 +004f9ad0 006d4e00 +004f9ad0 0040a380 +004f9ad0 006bec40 +004f9ad0 006eef60 +004f9ad0 0041d540 +004f9ad0 007f0df0 +004f9ad0 00428b20 +004f9ad0 0041d520 +004f9ad0 00435a50 +004f9ad0 0040b220 004f9ad0 00813520 -004f9ad0 00956780 -004faad0 007f0df0 -004faad0 00428b20 -004faad0 006ac560 -004faad0 007c32c0 -004faad0 0041d540 -004faad0 0040a6e0 -004faad0 006be840 -004faad0 0041d520 -004faad0 0040b220 -004faad0 007e9080 -004faad0 006ac760 -004faad0 00435a80 -004faad0 0040a780 -004faad0 006eef60 -004faad0 0040add0 -004faad0 0040aaf0 -004faad0 EXTERNAL:00000220 +004f9ad0 006d6c20 +004f9ad0 00407170 +004f9ad0 004071f0 +004f9ad0 007f0780 +004f9ad0 0092dc30 +004f9ad0 006ac710 +004f9ad0 00435c70 +004f9ad0 006c0f30 004faad0 006d9050 -004faad0 0040a5d0 +004faad0 007e4940 +004faad0 00aef15c +004faad0 007c32c0 +004faad0 0040a6e0 +004faad0 00435a80 004faad0 007e33c0 004faad0 00a10630 -004faad0 0040a940 -004faad0 006ac710 -004faad0 006bec40 -004faad0 0043ef30 -004faad0 004314b0 -004faad0 006c0f30 -004faad0 00408e00 -004faad0 007e4940 -004faad0 006cb2e0 -004faad0 004073b0 -004faad0 00aef12b -004faad0 006c1330 -004faad0 009568e0 -004faad0 006d6ba0 -004faad0 006cae60 -004faad0 00a10030 -004faad0 00435a50 -004faad0 00aef15c -004faad0 004071f0 -004faad0 007e6300 004faad0 006b64d0 -004fbd10 006ccdd0 -004fbd10 004f9920 -004fbd10 006d0dd0 -004fbd10 0041d540 -004fbd10 00428b20 -004fbd10 0040a1b0 -004fbd10 006be840 -004fbd10 0041d520 -004fbd10 006eef60 -004fbd10 0040add0 +004faad0 006be840 +004faad0 00aef12b +004faad0 EXTERNAL:00000220 +004faad0 006c1330 +004faad0 0040a940 +004faad0 004314b0 +004faad0 009568e0 +004faad0 00a10030 +004faad0 0040aaf0 +004faad0 006cb2e0 +004faad0 006bec40 +004faad0 006ac560 +004faad0 006eef60 +004faad0 0041d540 +004faad0 004073b0 +004faad0 007e9080 +004faad0 0043ef30 +004faad0 007f0df0 +004faad0 00428b20 +004faad0 0041d520 +004faad0 006cae60 +004faad0 0040add0 +004faad0 00435a50 +004faad0 006ac760 +004faad0 0040b220 +004faad0 00408e00 +004faad0 0040a5d0 +004faad0 006d6ba0 +004faad0 0040a780 +004faad0 004071f0 +004faad0 006ac710 +004faad0 007e6300 +004faad0 006c0f30 004fbd10 006d9050 -004fbd10 EXTERNAL:00000220 -004fbd10 0040a5d0 -004fbd10 007e33c0 -004fbd10 006bec40 -004fbd10 0043ef30 004fbd10 007e4940 -004fbd10 0040a380 -004fbd10 00aef12b -004fbd10 00417430 -004fbd10 006c1330 -004fbd10 006d8e40 -004fbd10 006d6ba0 -004fbd10 006cae60 -004fbd10 00a10030 -004fbd10 00435a50 004fbd10 00aef15c +004fbd10 007e33c0 +004fbd10 006be840 004fbd10 004175b0 -004fcc20 00428b20 -004fcc20 00431310 -004fcc20 006d0c60 -004fcc20 006d8260 -004fcc20 0040a380 -004fcc20 006be840 -004fcc20 00aef12b -004fcc20 00417430 -004fcc20 006c1330 -004fcc20 006eef60 -004fcc20 0040add0 -004fcc20 006d6ba0 -004fcc20 EXTERNAL:00000220 -004fcc20 00435a50 -004fcc20 006d8d30 -004fcc20 00a10630 -004fcc20 006ad870 +004fbd10 00417430 +004fbd10 00aef12b +004fbd10 EXTERNAL:00000220 +004fbd10 006c1330 +004fbd10 00a10030 +004fbd10 0040a380 +004fbd10 006bec40 +004fbd10 004f9920 +004fbd10 006eef60 +004fbd10 0041d540 +004fbd10 006ccdd0 +004fbd10 006d8e40 +004fbd10 006d0dd0 +004fbd10 0043ef30 +004fbd10 0040a1b0 +004fbd10 00428b20 +004fbd10 0041d520 +004fbd10 006cae60 +004fbd10 0040add0 +004fbd10 00435a50 +004fbd10 0040a5d0 +004fbd10 006d6ba0 004fcc20 00aef15c +004fcc20 006eef60 +004fcc20 00a10630 +004fcc20 006be840 004fcc20 004175b0 004fcc20 006d8b20 -004fcc20 007e6300 +004fcc20 006d8d30 +004fcc20 00428b20 +004fcc20 00417430 +004fcc20 006ad870 +004fcc20 006d8260 +004fcc20 00aef12b +004fcc20 0040add0 +004fcc20 00435a50 +004fcc20 EXTERNAL:00000220 004fcc20 00a0ffc0 +004fcc20 006c1330 +004fcc20 006d6ba0 +004fcc20 00431310 +004fcc20 0040a380 +004fcc20 006d0c60 +004fcc20 007e6300 004fd280 00812f50 -004fd280 006cb010 004fd280 006eef60 004fd280 0041d540 004fd280 006fe410 +004fd280 006cb010 004fd280 0041d520 -004fd540 0040a1b0 -004fd540 006be840 -004fd540 00703770 -004fd540 006d85a0 -004fd540 00417870 -004fd540 006eef60 -004fd540 0040add0 -004fd540 EXTERNAL:00000220 -004fd540 0040a5d0 -004fd540 007e33c0 -004fd540 006bec40 -004fd540 0043ef30 -004fd540 00703670 004fd540 007e4940 -004fd540 00431310 -004fd540 006d82d0 +004fd540 00aef15c +004fd540 00956780 +004fd540 007e33c0 +004fd540 006be840 +004fd540 004cf210 004fd540 006d8260 -004fd540 0040a380 -004fd540 006cb2e0 -004fd540 00a10600 +004fd540 006d82d0 004fd540 00aef12b -004fd540 006d8e40 +004fd540 00703770 +004fd540 EXTERNAL:00000220 +004fd540 00703670 004fd540 006c1330 +004fd540 00417870 +004fd540 00a10030 +004fd540 00a10600 +004fd540 006cb2e0 +004fd540 0040a380 +004fd540 0060af00 +004fd540 006bec40 004fd540 004cdcf0 +004fd540 006eef60 +004fd540 006d8e40 +004fd540 0043ef30 +004fd540 0040a1b0 +004fd540 006cae60 +004fd540 006d85a0 +004fd540 0040add0 +004fd540 00435a50 +004fd540 0040a5d0 004fd540 006d6ba0 004fd540 0040ae70 -004fd540 006cae60 -004fd540 00435a50 -004fd540 00a10030 +004fd540 00431310 004fd540 0092dc30 -004fd540 00aef15c -004fd540 004cf210 -004fd540 00956780 -004fd540 0060af00 -004fdf80 00407170 -004fdf80 0041d540 -004fdf80 0041d520 -004fdf80 006f9400 -004fdf80 006ff2a0 -004fdf80 007e9080 -004fdf80 007f0780 -004fdf80 0040add0 -004fdf80 007e7070 -004fdf80 00a648b0 -004fdf80 007e33c0 -004fdf80 006d8d30 -004fdf80 00a10630 -004fdf80 006bec40 -004fdf80 0043ef30 -004fdf80 00af0917 -004fdf80 006f95a0 -004fdf80 006d82d0 -004fdf80 006d8260 -004fdf80 0040a380 -004fdf80 006cb2e0 -004fdf80 00aef12b -004fdf80 006d8e40 -004fdf80 004cdcf0 -004fdf80 0040ae70 -004fdf80 0092dc30 -004fdf80 00703330 -004fdf80 006c04b0 -004fdf80 004cf210 -004fdf80 006d7cf0 004fdf80 00812c90 -004fdf80 007f0df0 -004fdf80 00428b20 -004fdf80 007ebd50 -004fdf80 004238f0 -004fdf80 0040a1b0 -004fdf80 0081e520 -004fdf80 006be840 -004fdf80 006b6550 -004fdf80 006eef60 -004fdf80 0040a5d0 004fdf80 00822820 -004fdf80 00435c70 -004fdf80 006ac710 -004fdf80 00703670 -004fdf80 00408e00 -004fdf80 006d6ba0 +004fdf80 00956780 +004fdf80 006be840 +004fdf80 006d8b20 +004fdf80 006f95a0 +004fdf80 006d7cf0 +004fdf80 00aef12b +004fdf80 0081e520 +004fdf80 007e7070 +004fdf80 006bec40 +004fdf80 007ebd50 +004fdf80 006eef60 +004fdf80 004cdcf0 +004fdf80 0041d540 +004fdf80 006d8e40 +004fdf80 0043ef30 +004fdf80 0040a1b0 +004fdf80 007f0df0 +004fdf80 0041d520 004fdf80 006cae60 004fdf80 00435a50 -004fdf80 00a10030 +004fdf80 004238f0 +004fdf80 00407170 +004fdf80 0092dc30 +004fdf80 007f0780 +004fdf80 00af0917 +004fdf80 006ac710 004fdf80 0041af60 -004fdf80 006d8b20 +004fdf80 006f9400 +004fdf80 006ff2a0 +004fdf80 00703330 +004fdf80 006c04b0 +004fdf80 007e33c0 +004fdf80 00a10630 +004fdf80 006b6550 +004fdf80 004cf210 +004fdf80 006d82d0 +004fdf80 006d8260 +004fdf80 00703670 +004fdf80 00a10030 +004fdf80 0040a380 +004fdf80 006cb2e0 004fdf80 004f88a0 -004fdf80 00956780 -004ff620 00417220 +004fdf80 00a648b0 +004fdf80 007e9080 +004fdf80 00428b20 +004fdf80 006d8d30 +004fdf80 0040add0 +004fdf80 00408e00 +004fdf80 0040a5d0 +004fdf80 006d6ba0 +004fdf80 0040ae70 +004fdf80 00435c70 +004ff620 00682a50 004ff620 0040cf50 -004ff620 007f0df0 -004ff620 0041d540 -004ff620 00499d20 +004ff620 00aef15c 004ff620 00452bf0 -004ff620 006fe410 -004ff620 0041d520 -004ff620 006be840 -004ff620 006eef60 -004ff620 EXTERNAL:00000220 004ff620 007e33c0 -004ff620 006ac710 +004ff620 006b64d0 +004ff620 006be840 +004ff620 007e3260 +004ff620 006d82d0 +004ff620 00417430 +004ff620 006d8260 +004ff620 00420a80 +004ff620 00aef12b +004ff620 EXTERNAL:00000220 +004ff620 00417220 +004ff620 006fe410 +004ff620 00499d60 +004ff620 0040a380 +004ff620 00499d20 +004ff620 0041d540 +004ff620 006eef60 +004ff620 006d8e40 +004ff620 007f0df0 +004ff620 0041d520 +004ff620 00435a50 +004ff620 00408e00 004ff620 00682740 +004ff620 006d6ba0 +004ff620 EXTERNAL:0000022d +004ff620 006ac710 004ff620 00af0917 004ff620 006c0f30 -004ff620 007e3260 -004ff620 00408e00 -004ff620 006d82d0 -004ff620 EXTERNAL:0000022d -004ff620 006d8260 -004ff620 00682a50 -004ff620 0040a380 -004ff620 00aef12b -004ff620 00417430 -004ff620 006d8e40 -004ff620 00499d60 -004ff620 006d6ba0 -004ff620 00435a50 -004ff620 00aef15c -004ff620 006b64d0 -004ff620 00420a80 00500f70 006eef60 00500f70 006fe410 00500f70 00aef12b @@ -6011,4516 +6011,4516 @@ 00501e10 0041d540 00501e10 006fe410 00501e10 0041d520 -00501f30 006ccdd0 -00501f30 00704360 -00501f30 0041d540 -00501f30 00428b20 -00501f30 006cb2a0 -00501f30 0041d520 -00501f30 0040b220 -00501f30 006eef60 -00501f30 0040add0 -00501f30 EXTERNAL:00000220 -00501f30 0040aaf0 -00501f30 0040a5d0 -00501f30 007e33c0 -00501f30 0040abf0 -00501f30 0040a940 -00501f30 006bec40 -00501f30 0043ef30 -00501f30 00703670 -00501f30 00408e00 00501f30 007e4940 -00501f30 006cb2e0 -00501f30 00aef12b -00501f30 006c1330 -00501f30 006d6ba0 00501f30 00aef15c -00501f30 0092dc30 +00501f30 007e33c0 00501f30 00956780 +00501f30 00aef12b +00501f30 006cb2a0 +00501f30 EXTERNAL:00000220 +00501f30 0040a940 +00501f30 006c1330 +00501f30 00703670 +00501f30 0040aaf0 +00501f30 006cb2e0 +00501f30 006bec40 00501f30 0060af00 -00502980 00408e00 +00501f30 006eef60 +00501f30 0041d540 +00501f30 0040abf0 +00501f30 006ccdd0 +00501f30 0043ef30 +00501f30 00428b20 +00501f30 0041d520 +00501f30 0040add0 +00501f30 0040b220 +00501f30 00704360 +00501f30 00408e00 +00501f30 0040a5d0 +00501f30 006d6ba0 +00501f30 0092dc30 00502980 0041d540 +00502980 006eef60 +00502980 0040a5d0 +00502980 0040b220 +00502980 006be840 +00502980 0041d520 +00502980 00435a50 +00502980 0040ace0 +00502980 00408e00 +00502980 00499d60 +00502980 0040a780 00502980 EXTERNAL:0000022d 00502980 0040a1b0 -00502980 0041d520 -00502980 006be840 -00502980 0040b220 -00502980 0040ace0 -00502980 0040a780 -00502980 00499d60 -00502980 006eef60 00502980 0040aaf0 -00502980 0040a5d0 -00502980 00435a50 00502980 006827a0 00502980 006bec40 -00503300 007f0df0 -00503300 0067f1d0 +00503300 007e6300 +00503300 00aef15c +00503300 006d6ba0 +00503300 0040a380 00503300 00428b20 -00503300 0041d540 -00503300 0040a1b0 00503300 006ac530 -00503300 0041d520 00503300 006be840 +00503300 004cf210 +00503300 007e4940 +00503300 0040a1b0 +00503300 0067f1d0 +00503300 EXTERNAL:00000220 +00503300 006bec40 +00503300 0040add0 00503300 0067f260 00503300 006eef60 -00503300 0040add0 -00503300 EXTERNAL:00000220 -00503300 0040a5d0 -00503300 006bec40 -00503300 007e4940 -00503300 0040a380 +00503300 0041d540 00503300 00aef12b -00503300 00417430 -00503300 0040ace0 -00503300 006c1330 00503300 004cdcf0 -00503300 006d6ba0 +00503300 0040a5d0 +00503300 0041d520 00503300 00435a50 -00503300 00aef15c -00503300 004cf210 -00503300 007e6300 -00503af0 004238f0 -00503af0 0067f170 -00503af0 0040a380 -00503af0 006be840 -00503af0 004071c0 -00503af0 00703ab0 -00503af0 0040b220 +00503300 0040ace0 +00503300 00417430 +00503300 006c1330 +00503300 007f0df0 +00503af0 00703950 00503af0 004072e0 -00503af0 00aef12b -00503af0 006ac760 00503af0 0040add0 +00503af0 004071c0 00503af0 006d6ba0 -00503af0 007e33c0 -00503af0 00435a50 -00503af0 006bec40 -00503af0 004071f0 +00503af0 00aef12b +00503af0 0040a380 00503af0 00813520 +00503af0 0040b220 +00503af0 006be840 +00503af0 007e33c0 +00503af0 004238f0 +00503af0 00703ab0 +00503af0 00435a50 +00503af0 004071f0 +00503af0 0067f170 00503af0 006b64d0 00503af0 0081e9d0 -00503af0 00703950 -005041d0 00408e00 -005041d0 007e4940 -005041d0 00428b20 -005041d0 0067f070 -005041d0 00452bf0 -005041d0 0040cae0 -005041d0 0040a380 -005041d0 006be840 -005041d0 00aef12b -005041d0 006c1330 -005041d0 006eef60 +00503af0 006bec40 +00503af0 006ac760 +005041d0 00956780 +005041d0 00aef15c 005041d0 0040add0 +005041d0 006eef60 005041d0 006d6ba0 -005041d0 EXTERNAL:00000220 +005041d0 00aef12b +005041d0 0040a380 +005041d0 00428b20 +005041d0 0040cae0 +005041d0 006be840 005041d0 007e33c0 +005041d0 0067f070 005041d0 00435c70 005041d0 00435a50 -005041d0 00a10030 005041d0 0092dc30 -005041d0 00aef15c +005041d0 00408e00 +005041d0 006c1330 +005041d0 007e4940 +005041d0 00a10030 +005041d0 00452bf0 +005041d0 EXTERNAL:00000220 005041d0 006bec40 -005041d0 00956780 -00504a40 006eef60 -00504a40 006d6ba0 00504a40 00a112c0 -00504a40 00428b20 +00504a40 007e90f0 +00504a40 006d6ba0 +00504a40 006eef60 00504a40 0041d540 +00504a40 00aef12b +00504a40 00428b20 +00504a40 006d6c20 +00504a40 00813360 00504a40 0040a5d0 00504a40 0040a1b0 00504a40 0041d520 -00504a40 007e90f0 -00504a40 006d6c20 -00504a40 00aef12b -00504a40 00813360 -005052a0 006d7cf0 -005052a0 00812f50 -005052a0 007f0df0 -005052a0 00407170 -005052a0 0041d540 -005052a0 006cb2a0 -005052a0 00a10100 -005052a0 006fe410 -005052a0 006be840 -005052a0 0040a380 -005052a0 0041d520 -005052a0 0040b220 -005052a0 00aef12b -005052a0 004cdcf0 -005052a0 006eef60 +005052a0 00956780 005052a0 0040add0 +005052a0 007f0800 +005052a0 006eef60 005052a0 006d6ba0 +005052a0 0041d540 +005052a0 00aef12b +005052a0 0040a380 +005052a0 00812f50 +005052a0 004cdcf0 +005052a0 00813520 +005052a0 0040b220 +005052a0 006be840 +005052a0 006cb2a0 +005052a0 0041d520 +005052a0 006b9740 +005052a0 006d7cf0 005052a0 00435a50 005052a0 0092dc30 -005052a0 006b9740 +005052a0 00407170 005052a0 004cf210 -005052a0 007f0800 -005052a0 00813520 -005052a0 00956780 +005052a0 007f0df0 +005052a0 00a10100 +005052a0 006fe410 00505b40 004e4690 -00505b80 004476a0 00505b80 006831c0 00505b80 00aef12b +00505b80 004476a0 00505d00 00812c90 -00505d00 00af08b1 -00505d00 00407170 -00505d00 00408e00 00505d00 0041d540 -00505d00 0040a1b0 -00505d00 00682a50 -00505d00 0041d520 -00505d00 006d85a0 -00505d00 00af08c3 -00505d00 0096f310 -00505d00 004cdcf0 -00505d00 0040a780 -00505d00 00499d60 00505d00 006eef60 00505d00 006d6ba0 +00505d00 00af08b1 +00505d00 004cdcf0 00505d00 0040a5d0 +00505d00 00af0917 +00505d00 006d85a0 +00505d00 0041d520 +00505d00 0096f310 +00505d00 00408e00 +00505d00 00407170 +00505d00 00499d60 00505d00 004cf210 00505d00 006d6c20 -00505d00 00af0917 -00506320 007e6ff0 -00506320 00407170 -00506320 0040a1b0 -00506320 0040a380 -00506320 006cb2e0 -00506320 00aef12b -00506320 0040b1d0 +00505d00 0040a780 +00505d00 00682a50 +00505d00 0040a1b0 +00505d00 00af08c3 +00506320 004565e0 +00506320 0043ef30 00506320 0040add0 00506320 006d6ba0 +00506320 00aef12b +00506320 007e6ff0 +00506320 0040a380 00506320 0040a5d0 -00506320 00740db0 -00506320 004e45c0 -00506320 004565e0 -00506320 006d6c20 -00506320 0043ef30 00506320 0040b030 00506320 00740bc0 -00506bd0 006ccdd0 -00506bd0 0041d540 -00506bd0 0041d520 -00506bd0 006ac760 -00506bd0 007f0780 -00506bd0 006d8240 -00506bd0 009be080 -00506bd0 0040add0 -00506bd0 006d9050 -00506bd0 006ad870 -00506bd0 006bec40 -00506bd0 0043ef30 -00506bd0 004314b0 -00506bd0 00956110 -00506bd0 00561580 -00506bd0 007599d0 -00506bd0 0067f010 -00506bd0 00431310 -00506bd0 00a10100 -00506bd0 006d82d0 -00506bd0 0040a380 -00506bd0 006cb2e0 -00506bd0 00aef12b -00506bd0 004cdcf0 -00506bd0 0092dc30 -00506bd0 004cf210 -00506bd0 0060b9d0 +00506320 00740db0 +00506320 0040b1d0 +00506320 00407170 +00506320 006d6c20 +00506320 006cb2e0 +00506320 004e45c0 +00506320 0040a1b0 00506bd0 00812c90 -00506bd0 004ddf00 -00506bd0 00428b20 -00506bd0 004238f0 -00506bd0 0067f070 -00506bd0 0040a1b0 -00506bd0 006a92a0 -00506bd0 009e5c00 +00506bd0 0040a380 +00506bd0 006d82d0 00506bd0 006be840 -00506bd0 00435a80 -00506bd0 006eef60 -00506bd0 0040a5d0 -00506bd0 00435c70 -00506bd0 00682740 -00506bd0 006ac710 -00506bd0 0054bca0 +00506bd0 00956110 +00506bd0 0067f070 +00506bd0 004238f0 00506bd0 006c0f30 -00506bd0 00408e00 +00506bd0 0092dc30 +00506bd0 004314b0 00506bd0 0040a720 -00506bd0 00812f00 00506bd0 00a10600 -00506bd0 00417430 -00506bd0 00813360 +00506bd0 006bec40 +00506bd0 0067f010 00506bd0 009be530 -00506bd0 006cae60 -00506bd0 006d6ba0 -00506bd0 00435a50 -00506bd0 00a10030 -00506bd0 004568d0 +00506bd0 0043ef30 +00506bd0 006d8240 +00506bd0 006ccdd0 +00506bd0 006a92a0 +00506bd0 006eef60 +00506bd0 0041d540 00506bd0 0041af60 +00506bd0 00aef12b +00506bd0 0060b9d0 +00506bd0 0041d520 +00506bd0 00435a50 +00506bd0 00417430 +00506bd0 006cae60 00506bd0 004175b0 +00506bd0 00813360 +00506bd0 00a10030 +00506bd0 00561580 +00506bd0 006ac760 +00506bd0 006d6ba0 +00506bd0 006ad870 +00506bd0 00428b20 +00506bd0 006ac710 +00506bd0 00431310 +00506bd0 00682740 +00506bd0 00435c70 +00506bd0 0054bca0 00506bd0 004071f0 +00506bd0 009e5c00 +00506bd0 004cf210 +00506bd0 0040a1b0 +00506bd0 007f0780 +00506bd0 009be080 00506bd0 00956780 -00508f40 00407170 -00508f40 0040b220 -00508f40 006ac760 -00508f40 0040add0 -00508f40 0040aaf0 -00508f40 006d9050 -00508f40 006d8290 -00508f40 007e33c0 -00508f40 0040abf0 -00508f40 00a10630 +00506bd0 006d9050 +00506bd0 0040add0 +00506bd0 004ddf00 +00506bd0 004cdcf0 +00506bd0 004568d0 +00506bd0 0040a5d0 +00506bd0 00435a80 +00506bd0 00408e00 +00506bd0 00812f00 +00506bd0 006cb2e0 +00506bd0 007599d0 +00506bd0 00a10100 00508f40 0040a940 -00508f40 006bec40 -00508f40 0040b430 -00508f40 0043ef30 -00508f40 0040ac50 -00508f40 00a10100 +00508f40 00a10630 +00508f40 006d7d60 +00508f40 00aef15c +00508f40 006d8290 00508f40 006d8260 00508f40 0040a380 -00508f40 006cb2e0 -00508f40 00aef12b -00508f40 0040ace0 -00508f40 006c1330 00508f40 0040ac70 -00508f40 00408830 -00508f40 0092dc30 -00508f40 006d7cf0 -00508f40 004da590 -00508f40 00af08b1 -00508f40 00428b20 -00508f40 00704360 +00508f40 0040b220 00508f40 006be840 -00508f40 0040b090 -00508f40 006d85a0 -00508f40 006eef60 +00508f40 007e33c0 +00508f40 006c0f30 +00508f40 0040b430 +00508f40 0092dc30 +00508f40 00407170 +00508f40 007e4940 00508f40 EXTERNAL:00000220 +00508f40 006bec40 +00508f40 0043ef30 +00508f40 006eef60 +00508f40 0040ac50 +00508f40 00aef12b +00508f40 00af08b1 +00508f40 00a10030 +00508f40 00813360 00508f40 0040b1a0 -00508f40 0040a5d0 +00508f40 006ac760 +00508f40 0040b090 +00508f40 006d6ba0 +00508f40 00428b20 00508f40 0040ccd0 00508f40 0040b030 00508f40 006d6c20 -00508f40 006c0f30 -00508f40 00408e00 -00508f40 007e4940 -00508f40 006d7d60 -00508f40 00813360 -00508f40 006d6ba0 -00508f40 00a10030 -00508f40 00aef15c +00508f40 0040aaf0 +00508f40 004da590 00508f40 00956780 -0050a6b0 006eef60 +00508f40 006d9050 +00508f40 0040add0 +00508f40 0040a5d0 +00508f40 006d85a0 +00508f40 006d7cf0 +00508f40 0040ace0 +00508f40 00408e00 +00508f40 006c1330 +00508f40 006cb2e0 +00508f40 0040abf0 +00508f40 00a10100 +00508f40 00704360 +00508f40 00408830 +0050a6b0 007e6300 0050a6b0 0040add0 -0050a6b0 0040ae70 +0050a6b0 006eef60 0050a6b0 006d6ba0 0050a6b0 007e4940 0050a6b0 0040a5d0 -0050a6b0 0040a1b0 0050a6b0 006be840 -0050a6b0 007e6300 -0050a8a0 006eef60 +0050a6b0 0040a1b0 +0050a6b0 0040ae70 0050a8a0 006c0f30 -0050a8a0 00af08b1 +0050a8a0 0040ace0 +0050a8a0 006eef60 0050a8a0 00a112c0 0050a8a0 0041d540 -0050a8a0 006b5c10 +0050a8a0 00af08b1 0050a8a0 0040a380 -0050a8a0 0041d520 0050a8a0 004cf210 -0050a8a0 0040ace0 0050a8a0 00813360 -0050af90 006d7cf0 -0050af90 006ccdd0 -0050af90 00407170 -0050af90 00428b20 -0050af90 0040a1b0 -0050af90 006be840 -0050af90 006d85a0 -0050af90 006ac760 -0050af90 006eef60 -0050af90 EXTERNAL:00000220 -0050af90 0040aaf0 +0050a8a0 006b5c10 +0050a8a0 0041d520 0050af90 0040a940 -0050af90 0043ef30 -0050af90 006d6c20 -0050af90 006c0f30 -0050af90 007e4940 -0050af90 004564b0 -0050af90 006d8260 -0050af90 006cb2e0 -0050af90 00aef12b -0050af90 006c1330 -0050af90 006cae60 -0050af90 006b9bb0 -0050af90 006d6ba0 -0050af90 006c2750 -0050af90 00435a50 -0050af90 00aef15c 0050af90 007e6300 +0050af90 00aef15c +0050af90 004564b0 +0050af90 006d6ba0 +0050af90 006d8260 +0050af90 00428b20 +0050af90 006be840 +0050af90 006c0f30 +0050af90 00407170 +0050af90 007e4940 +0050af90 006d6c20 +0050af90 0040aaf0 +0050af90 0040a1b0 +0050af90 EXTERNAL:00000220 +0050af90 0043ef30 +0050af90 006ccdd0 +0050af90 006eef60 +0050af90 00aef12b +0050af90 006d85a0 +0050af90 006c2750 +0050af90 006d7cf0 +0050af90 00435a50 0050af90 006b64d0 -0050bbe0 00428b20 -0050bbe0 0041d540 -0050bbe0 006be840 -0050bbe0 0041d520 -0050bbe0 006ff2a0 -0050bbe0 006ac760 -0050bbe0 006d8240 -0050bbe0 006eef60 -0050bbe0 006d8290 -0050bbe0 EXTERNAL:00000220 -0050bbe0 0040aaf0 -0050bbe0 007e33c0 -0050bbe0 00435c70 +0050af90 006cae60 +0050af90 006c1330 +0050af90 006cb2e0 +0050af90 006b9bb0 +0050af90 006ac760 +0050bbe0 006d7d60 +0050bbe0 007e6300 0050bbe0 0040a940 +0050bbe0 006d8290 +0050bbe0 00aef15c +0050bbe0 006d6ba0 +0050bbe0 006d8260 +0050bbe0 006ff2a0 +0050bbe0 00428b20 +0050bbe0 007e33c0 +0050bbe0 006be840 +0050bbe0 00956110 +0050bbe0 00435c70 +0050bbe0 007e4940 +0050bbe0 0040aaf0 +0050bbe0 EXTERNAL:00000220 0050bbe0 006bec40 0050bbe0 0043ef30 -0050bbe0 00956110 -0050bbe0 007e4940 -0050bbe0 00408e00 -0050bbe0 006d7d60 -0050bbe0 006d8260 -0050bbe0 006cb2e0 +0050bbe0 006d8240 +0050bbe0 006eef60 +0050bbe0 0041d540 0050bbe0 00aef12b +0050bbe0 0041d520 +0050bbe0 00408e00 0050bbe0 006c1330 -0050bbe0 006d6ba0 -0050bbe0 00aef15c -0050bbe0 007e6300 -0050c370 006d7cf0 -0050c370 00af08b1 -0050c370 007f0df0 -0050c370 00407170 -0050c370 00428b20 -0050c370 0041d540 -0050c370 0040a1b0 -0050c370 0055c4c0 -0050c370 006be840 -0050c370 0041d520 -0050c370 006d85a0 -0050c370 006eef60 -0050c370 0040add0 -0050c370 006d8290 -0050c370 EXTERNAL:00000220 -0050c370 0040aaf0 -0050c370 00a648b0 +0050bbe0 006cb2e0 +0050bbe0 006ac760 0050c370 0040a940 -0050c370 006bec40 -0050c370 006d6c20 -0050c370 007e4940 -0050c370 00408e00 0050c370 006d7d60 -0050c370 0040a380 -0050c370 00aef12b -0050c370 006c1330 -0050c370 004cdcf0 -0050c370 00af0911 -0050c370 006d6ba0 -0050c370 00435a50 -0050c370 00aef15c -0050c370 0041af60 -0050c370 004cf210 0050c370 007e6300 +0050c370 006d8290 +0050c370 00aef15c +0050c370 006d6ba0 +0050c370 0040a380 +0050c370 00428b20 +0050c370 006be840 +0050c370 00af0911 +0050c370 00407170 +0050c370 004cf210 +0050c370 007e4940 +0050c370 006d6c20 +0050c370 0040aaf0 +0050c370 0040a1b0 +0050c370 EXTERNAL:00000220 +0050c370 006bec40 +0050c370 0040add0 +0050c370 006eef60 +0050c370 0041d540 +0050c370 0041af60 +0050c370 00aef12b +0050c370 00af08b1 +0050c370 004cdcf0 0050c370 00813520 -0050d370 006d7cf0 -0050d370 00af08b1 -0050d370 0041d540 -0050d370 00428b20 -0050d370 0040a1b0 -0050d370 0041d520 -0050d370 006be840 -0050d370 006d85a0 -0050d370 006ac760 -0050d370 006d8240 -0050d370 006eef60 -0050d370 0067f260 -0050d370 0040add0 -0050d370 EXTERNAL:00000220 -0050d370 00a112c0 -0050d370 0040a5d0 -0050d370 006d6c20 -0050d370 0043ef30 -0050d370 006c0f30 -0050d370 007e4940 -0050d370 006d82d0 -0050d370 006d8260 -0050d370 0040a380 -0050d370 006cb2e0 -0050d370 00aef12b -0050d370 006c1330 -0050d370 006d6ba0 -0050d370 006cae60 -0050d370 00435a50 -0050d370 0092dc30 -0050d370 00aef15c -0050d370 004071f0 -0050d370 00813520 +0050c370 006d85a0 +0050c370 0041d520 +0050c370 006d7cf0 +0050c370 00435a50 +0050c370 00408e00 +0050c370 006c1330 +0050c370 007f0df0 +0050c370 0055c4c0 +0050c370 00a648b0 0050d370 007e6300 -0050d370 006b64d0 +0050d370 00aef15c +0050d370 006d6ba0 +0050d370 00428b20 +0050d370 0040a380 +0050d370 006d8260 +0050d370 006d82d0 +0050d370 006be840 +0050d370 006c0f30 +0050d370 004071f0 +0050d370 0092dc30 +0050d370 006d6c20 +0050d370 007e4940 +0050d370 0040a1b0 +0050d370 EXTERNAL:00000220 0050d370 00956780 -0050e4d0 007e9020 -0050e4d0 00af08b1 -0050e4d0 00407170 -0050e4d0 00428b20 -0050e4d0 0041d540 -0050e4d0 0067f070 -0050e4d0 0040a1b0 -0050e4d0 006be840 -0050e4d0 0041d520 -0050e4d0 007e9080 -0050e4d0 00435a80 -0050e4d0 006eef60 -0050e4d0 0040add0 -0050e4d0 EXTERNAL:00000220 -0050e4d0 006d8290 -0050e4d0 0040a5d0 -0050e4d0 007e33c0 -0050e4d0 006bec40 -0050e4d0 007e90f0 -0050e4d0 006d6c20 -0050e4d0 00505b80 -0050e4d0 007e4940 -0050e4d0 00408e00 +0050d370 0043ef30 +0050d370 0040add0 +0050d370 0067f260 +0050d370 006d8240 +0050d370 00a112c0 +0050d370 006eef60 +0050d370 0041d540 +0050d370 00aef12b +0050d370 00af08b1 +0050d370 00813520 +0050d370 0040a5d0 +0050d370 0041d520 +0050d370 006d85a0 +0050d370 006d7cf0 +0050d370 00435a50 +0050d370 006b64d0 +0050d370 006cae60 +0050d370 006c1330 +0050d370 006cb2e0 +0050d370 006ac760 0050e4d0 006d7d60 -0050e4d0 006d82d0 0050e4d0 00738470 -0050e4d0 0040a380 -0050e4d0 00aef12b -0050e4d0 00417430 -0050e4d0 006c1330 -0050e4d0 004cdcf0 +0050e4d0 00aef15c +0050e4d0 006d8290 +0050e4d0 007e9080 0050e4d0 006d6ba0 +0050e4d0 00428b20 +0050e4d0 0040a380 +0050e4d0 006d82d0 +0050e4d0 006be840 +0050e4d0 007e33c0 +0050e4d0 0067f070 +0050e4d0 007e9020 +0050e4d0 004071f0 +0050e4d0 007e90f0 +0050e4d0 00407170 +0050e4d0 004cf210 +0050e4d0 007e4940 +0050e4d0 006d6c20 +0050e4d0 0040a1b0 +0050e4d0 EXTERNAL:00000220 +0050e4d0 006bec40 +0050e4d0 0040add0 +0050e4d0 006eef60 +0050e4d0 0041d540 +0050e4d0 00aef12b +0050e4d0 00af08b1 +0050e4d0 00813520 +0050e4d0 004cdcf0 +0050e4d0 0040a5d0 +0050e4d0 0041d520 0050e4d0 006c2750 0050e4d0 00435a50 -0050e4d0 00a10030 -0050e4d0 00aef15c -0050e4d0 004071f0 -0050e4d0 004cf210 -0050e4d0 00813520 +0050e4d0 00435a80 0050e4d0 006b64d0 -0050f280 00812f50 -0050f280 007f0df0 -0050f280 00407170 -0050f280 0067f1d0 -0050f280 0041d540 -0050f280 0040a1b0 -0050f280 006fe410 -0050f280 0041d520 -0050f280 006be840 -0050f280 006b6550 -0050f280 007f0780 -0050f280 00700060 -0050f280 006d8240 -0050f280 009be080 -0050f280 006eef60 -0050f280 0067f260 -0050f280 0040add0 -0050f280 006d9050 -0050f280 0040a5d0 -0050f280 00435c70 -0050f280 006ad870 -0050f280 006ac710 -0050f280 0043ef30 -0050f280 009561e0 -0050f280 00703670 -0050f280 006d82d0 -0050f280 0040a380 -0050f280 006cb2e0 -0050f280 00aef12b -0050f280 00417430 -0050f280 006ae630 -0050f280 004cdcf0 -0050f280 006fd350 -0050f280 009be530 -0050f280 006d6ba0 -0050f280 006cae60 -0050f280 00a10030 -0050f280 00435a50 -0050f280 004071f0 -0050f280 004cf210 +0050e4d0 00417430 +0050e4d0 00408e00 +0050e4d0 006c1330 +0050e4d0 00a10030 +0050e4d0 00505b80 0050f280 007e6300 -00510ae0 00812f50 -00510ae0 006d7cf0 -00510ae0 00af08b1 -00510ae0 00407170 -00510ae0 0040a1b0 -00510ae0 006fe410 +0050f280 009561e0 +0050f280 006d6ba0 +0050f280 006ae630 +0050f280 006ad870 +0050f280 0040a380 +0050f280 006d82d0 +0050f280 006be840 +0050f280 006ac710 +0050f280 00435c70 +0050f280 004071f0 +0050f280 00407170 +0050f280 004cf210 +0050f280 007f0780 +0050f280 0040a1b0 +0050f280 006b6550 +0050f280 0067f1d0 +0050f280 006fd350 +0050f280 009be080 +0050f280 009be530 +0050f280 00700060 +0050f280 0043ef30 +0050f280 006d9050 +0050f280 0040add0 +0050f280 0067f260 +0050f280 006d8240 +0050f280 006eef60 +0050f280 0041d540 +0050f280 00aef12b +0050f280 00812f50 +0050f280 004cdcf0 +0050f280 0040a5d0 +0050f280 0041d520 +0050f280 00435a50 +0050f280 00417430 +0050f280 006cae60 +0050f280 006cb2e0 +0050f280 00a10030 +0050f280 007f0df0 +0050f280 00703670 +0050f280 006fe410 +00510ae0 00a10630 +00510ae0 004564b0 +00510ae0 006d6ba0 +00510ae0 0040a380 +00510ae0 006d82d0 00510ae0 006be840 +00510ae0 00407170 +00510ae0 004cf210 +00510ae0 0040a1b0 +00510ae0 006bec40 +00510ae0 006d9050 +00510ae0 0043ef30 +00510ae0 0040add0 00510ae0 006d8240 00510ae0 006eef60 -00510ae0 0040add0 -00510ae0 006d9050 -00510ae0 0040a5d0 -00510ae0 00a10630 -00510ae0 006bec40 -00510ae0 0043ef30 -00510ae0 004564b0 -00510ae0 006d82d0 -00510ae0 0040a380 -00510ae0 006cb2e0 00510ae0 00aef12b +00510ae0 00af08b1 +00510ae0 00812f50 00510ae0 004cdcf0 -00510ae0 006cae60 -00510ae0 006d6ba0 +00510ae0 0040a5d0 +00510ae0 006d7cf0 00510ae0 00435a50 -00510ae0 004cf210 00510ae0 006b64d0 -005111b0 006d7cf0 -005111b0 007f0df0 -005111b0 00407170 +00510ae0 006cae60 +00510ae0 006cb2e0 +00510ae0 006fe410 +005111b0 007e6300 +005111b0 004567b0 +005111b0 006d6ba0 +005111b0 00417870 +005111b0 0040a380 +005111b0 006d82d0 +005111b0 006be840 005111b0 0067f070 005111b0 004238f0 -005111b0 006fe410 -005111b0 0040b090 -005111b0 006be840 -005111b0 00417870 -005111b0 006eef60 -005111b0 004567b0 -005111b0 0040add0 -005111b0 0040a5d0 -005111b0 006d8d30 005111b0 006ac710 -005111b0 0043ef30 -005111b0 00703670 -005111b0 00408e00 -005111b0 006d82d0 -005111b0 0040a380 -005111b0 00a10600 -005111b0 006cb2e0 -005111b0 00aef12b -005111b0 00417430 -005111b0 006d8e40 -005111b0 004cdcf0 +005111b0 0092dc30 +005111b0 00407170 +005111b0 006d8d30 +005111b0 004cf210 005111b0 00499d60 +005111b0 00a10600 005111b0 006fd350 005111b0 0040ae70 -005111b0 006d6ba0 -005111b0 006cae60 -005111b0 00435a50 -005111b0 00a10030 -005111b0 0092dc30 -005111b0 00703330 -005111b0 004cf210 -005111b0 007e6300 -005111b0 006d8b20 005111b0 00956780 -00512110 00812f50 -00512110 007e6ff0 -00512110 007f0df0 -00512110 00af08b1 -00512110 0067f1d0 -00512110 00407170 -00512110 0041d540 -00512110 007e5340 -00512110 0040a1b0 -00512110 0067f170 -00512110 006fe410 -00512110 0041d520 -00512110 006be840 -00512110 006ac760 -00512110 00700060 -00512110 006eef60 -00512110 0040a5d0 -00512110 007e33c0 +005111b0 006d8e40 +005111b0 0043ef30 +005111b0 0040add0 +005111b0 006eef60 +005111b0 00aef12b +005111b0 004cdcf0 +005111b0 0040a5d0 +005111b0 006d7cf0 +005111b0 00435a50 +005111b0 00417430 +005111b0 00408e00 +005111b0 006cae60 +005111b0 00703330 +005111b0 006cb2e0 +005111b0 00a10030 +005111b0 007f0df0 +005111b0 006d8b20 +005111b0 00703670 +005111b0 0040b090 +005111b0 006fe410 00512110 00a10630 -00512110 006ac710 -00512110 006bec40 -00512110 006d6c20 +00512110 007e6ff0 00512110 006d82d0 -00512110 00a10100 -00512110 00aef12b -00512110 00417430 -00512110 006fd350 -00512110 00435a50 +00512110 007e33c0 +00512110 006be840 +00512110 006ac710 00512110 0092dc30 -00512110 006b64d0 +00512110 00407170 +00512110 006d6c20 +00512110 0040a1b0 +00512110 006fd350 +00512110 0067f1d0 +00512110 006bec40 00512110 00956780 -00513080 00407170 -00513080 00428b20 -00513080 0040a1b0 +00512110 00700060 +00512110 007e5340 +00512110 006eef60 +00512110 0041d540 +00512110 00aef12b +00512110 00812f50 +00512110 00af08b1 +00512110 0040a5d0 +00512110 0041d520 +00512110 00435a50 +00512110 006b64d0 +00512110 0067f170 +00512110 00417430 +00512110 007f0df0 +00512110 006ac760 +00512110 00a10100 +00512110 006fe410 +00513080 00956780 +00513080 0043ef30 +00513080 0040add0 +00513080 006eef60 +00513080 00aef12b 00513080 0040a380 +00513080 00428b20 +00513080 004cdcf0 +00513080 0040a5d0 00513080 006be840 00513080 006d85a0 -00513080 006cb2e0 -00513080 00aef12b -00513080 004cdcf0 -00513080 006eef60 -00513080 0040add0 -00513080 006cae60 -00513080 0040a5d0 00513080 00435a50 00513080 0092dc30 +00513080 006cae60 +00513080 00407170 00513080 004cf210 -00513080 0043ef30 -00513080 00956780 +00513080 006cb2e0 +00513080 0040a1b0 +005135d0 007e6300 005135d0 00812c90 -005135d0 006d7cf0 -005135d0 00812f50 -005135d0 007f0df0 -005135d0 00af08b1 -005135d0 00407170 -005135d0 0067f1d0 005135d0 00428b20 -005135d0 007e5340 -005135d0 00452bf0 -005135d0 0067f070 -005135d0 0067f170 -005135d0 006be840 -005135d0 004f84a0 -005135d0 006ac760 -005135d0 006eef60 -005135d0 00a648b0 -005135d0 007e33c0 -005135d0 006ac710 -005135d0 004314b0 -005135d0 00703670 -005135d0 00956110 -005135d0 006c0f30 -005135d0 00408e00 -005135d0 00a10100 -005135d0 006d82d0 005135d0 006d8260 005135d0 0040a380 -005135d0 00812f00 -005135d0 0040d040 -005135d0 00aef12b -005135d0 00417430 -005135d0 004cdcf0 -005135d0 00499d60 -005135d0 00435a50 -005135d0 00a10030 +005135d0 006d82d0 +005135d0 006be840 +005135d0 007e33c0 +005135d0 00956110 +005135d0 0067f070 +005135d0 006ac710 +005135d0 006c0f30 005135d0 0092dc30 -005135d0 0041af60 +005135d0 004314b0 +005135d0 00407170 005135d0 004cf210 -005135d0 007e6300 +005135d0 00499d60 +005135d0 00452bf0 +005135d0 0067f1d0 005135d0 00956780 +005135d0 004f84a0 +005135d0 007e5340 +005135d0 006eef60 +005135d0 0041af60 +005135d0 00aef12b +005135d0 00812f50 +005135d0 00af08b1 +005135d0 004cdcf0 +005135d0 006d7cf0 +005135d0 00435a50 +005135d0 00417430 +005135d0 0067f170 +005135d0 00408e00 +005135d0 00812f00 +005135d0 00a10030 +005135d0 007f0df0 +005135d0 00703670 +005135d0 00a10100 +005135d0 006ac760 +005135d0 0040d040 +005135d0 00a648b0 00515010 007f0800 005150b0 007f0800 005150b0 00813360 -00515290 007f0df0 00515290 005150b0 -005153b0 00812c90 -005153b0 004073d0 -005153b0 007f0df0 -005153b0 00af08b1 -005153b0 0041d540 -005153b0 0040a1b0 -005153b0 004238f0 -005153b0 0067f170 -005153b0 00812c10 -005153b0 006fe410 -005153b0 006be840 -005153b0 0041d520 -005153b0 0040b220 -005153b0 006d85a0 -005153b0 007f0780 -005153b0 006ac760 -005153b0 005150b0 -005153b0 006eef60 -005153b0 00515010 -005153b0 0040aaf0 -005153b0 0044bfb0 -005153b0 0040a5d0 -005153b0 004e45c0 +00515290 007f0df0 005153b0 0040a940 -005153b0 0043ef30 -005153b0 00740bc0 -005153b0 00707370 -005153b0 006d82d0 -005153b0 006cb2e0 -005153b0 00aef12b -005153b0 0040ace0 -005153b0 004cdcf0 -005153b0 006fd350 -005153b0 007069a0 -005153b0 006d6ba0 -005153b0 006cae60 -005153b0 00435a50 -005153b0 0092dc30 -005153b0 004cf210 005153b0 007f0800 +005153b0 00812c90 +005153b0 006d6ba0 +005153b0 006d82d0 +005153b0 0040b220 +005153b0 006be840 +005153b0 004073d0 +005153b0 00740bc0 +005153b0 004238f0 +005153b0 0092dc30 +005153b0 007069a0 +005153b0 00707370 +005153b0 004cf210 +005153b0 005150b0 +005153b0 0040a1b0 +005153b0 007f0780 +005153b0 0040aaf0 +005153b0 006fd350 005153b0 00956780 +005153b0 0043ef30 +005153b0 006eef60 +005153b0 0041d540 +005153b0 00aef12b +005153b0 00af08b1 +005153b0 004cdcf0 +005153b0 0040a5d0 +005153b0 0041d520 +005153b0 006d85a0 +005153b0 00812c10 +005153b0 0040ace0 +005153b0 00435a50 +005153b0 0067f170 005153b0 006b64d0 -00517150 00812c90 -00517150 006ccdd0 -00517150 00956110 -00517150 00af08b1 -00517150 0067f010 -00517150 00408e00 -00517150 0040a1b0 -00517150 006fe410 -00517150 006be840 -00517150 006d85a0 -00517150 00aef12b -00517150 00435a80 -00517150 006eef60 -00517150 0040add0 -00517150 006cae60 -00517150 006d9050 -00517150 006d6ba0 -00517150 0040a5d0 -00517150 00435a50 +005153b0 006cae60 +005153b0 0044bfb0 +005153b0 004e45c0 +005153b0 006cb2e0 +005153b0 007f0df0 +005153b0 006ac760 +005153b0 00515010 +005153b0 006fe410 00517150 004565e0 -00517150 006d6c20 +00517150 006d9050 00517150 0043ef30 +00517150 0040add0 +00517150 006ccdd0 +00517150 00812c90 +00517150 006eef60 +00517150 006d6ba0 +00517150 00aef12b +00517150 00af08b1 00517150 00813520 +00517150 0040a5d0 +00517150 006be840 +00517150 00956110 +00517150 006d85a0 +00517150 00435a50 +00517150 00435a80 +00517150 006cae60 +00517150 00408e00 +00517150 006d6c20 00517150 00aefca0 -00517de0 00af08b1 -00517de0 007f0df0 -00517de0 00428b20 -00517de0 00452bf0 -00517de0 006be840 -00517de0 0040b220 -00517de0 004567e0 -00517de0 006eef60 -00517de0 EXTERNAL:00000220 -00517de0 006d8290 -00517de0 006d9050 -00517de0 007e33c0 -00517de0 00a10630 -00517de0 006ac710 -00517de0 006bec40 -00517de0 0043ef30 -00517de0 006c0f30 -00517de0 007e4940 +00517150 0040a1b0 +00517150 0067f010 +00517150 006fe410 00517de0 006d7d60 -00517de0 00a10100 -00517de0 006cb2e0 -00517de0 00aef12b -00517de0 00417430 -00517de0 006c1330 -00517de0 004cdcf0 -00517de0 006d6ba0 -00517de0 00447770 -00517de0 00435a50 +00517de0 00a10630 00517de0 00aef15c -00517de0 0040a690 +00517de0 006d8290 +00517de0 006d6ba0 +00517de0 00428b20 +00517de0 0040b220 +00517de0 006be840 +00517de0 007e33c0 +00517de0 004567e0 +00517de0 006ac710 +00517de0 006c0f30 +00517de0 00447770 00517de0 004cf210 +00517de0 007e4940 +00517de0 00452bf0 +00517de0 EXTERNAL:00000220 +00517de0 006bec40 +00517de0 006d9050 +00517de0 0043ef30 +00517de0 006eef60 +00517de0 00aef12b +00517de0 00af08b1 +00517de0 0040a690 +00517de0 004cdcf0 +00517de0 00435a50 +00517de0 00417430 00517de0 006b64d0 -00518e20 006d7cf0 -00518e20 00407170 -00518e20 0041d540 -00518e20 00428b20 -00518e20 00704360 -00518e20 00452bf0 -00518e20 0041d520 -00518e20 006be840 -00518e20 006d85a0 -00518e20 0040b220 -00518e20 006ac760 -00518e20 0040a4d0 -00518e20 00435a80 -00518e20 0096f310 -00518e20 009be080 -00518e20 006eef60 -00518e20 0040add0 -00518e20 0040b1d0 -00518e20 006d9050 -00518e20 EXTERNAL:00000220 +00517de0 006c1330 +00517de0 006cb2e0 +00517de0 007f0df0 +00517de0 00a10100 00518e20 00a10630 -00518e20 006ac710 -00518e20 006d6c20 -00518e20 0043ef30 -00518e20 0040b030 -00518e20 006d81c0 +00518e20 007e6300 +00518e20 00aef15c 00518e20 004564b0 -00518e20 0040cae0 -00518e20 006d82d0 -00518e20 00a10100 +00518e20 006d6ba0 00518e20 006d8260 00518e20 0040a380 -00518e20 006cb2e0 -00518e20 00aef12b -00518e20 00417430 -00518e20 004cdcf0 -00518e20 00499d60 -00518e20 006d6ba0 -00518e20 00435a50 -00518e20 00aef15c -00518e20 00944a40 +00518e20 00428b20 +00518e20 006d82d0 +00518e20 0040b220 +00518e20 006be840 +00518e20 0040b030 +00518e20 006ac710 00518e20 004071f0 +00518e20 0040b1d0 +00518e20 00407170 00518e20 004cf210 -00518e20 007e6300 +00518e20 00499d60 +00518e20 006d6c20 +00518e20 0040a4d0 +00518e20 00452bf0 +00518e20 00944a40 +00518e20 EXTERNAL:00000220 +00518e20 009be080 +00518e20 006d9050 +00518e20 0043ef30 +00518e20 0040add0 +00518e20 006d81c0 +00518e20 006eef60 +00518e20 0041d540 +00518e20 00aef12b +00518e20 004cdcf0 +00518e20 0040cae0 +00518e20 0041d520 +00518e20 006d85a0 +00518e20 006d7cf0 +00518e20 0096f310 +00518e20 00435a50 +00518e20 00435a80 +00518e20 00417430 +00518e20 006cb2e0 00518e20 004b6a90 -0051aaa0 006d7cf0 -0051aaa0 006ccdd0 -0051aaa0 00af08b1 -0051aaa0 00428b20 -0051aaa0 0040a1b0 -0051aaa0 006be840 -0051aaa0 006d85a0 -0051aaa0 00435a80 -0051aaa0 006eef60 -0051aaa0 0040add0 -0051aaa0 EXTERNAL:00000220 -0051aaa0 006d9050 -0051aaa0 0040a5d0 -0051aaa0 007e33c0 -0051aaa0 006bec40 +00518e20 006ac760 +00518e20 00704360 +00518e20 00a10100 +0051aaa0 006d7d60 +0051aaa0 00aef15c 0051aaa0 009561e0 -0051aaa0 0043ef30 +0051aaa0 006d6ba0 +0051aaa0 00428b20 +0051aaa0 006be840 +0051aaa0 007e33c0 0051aaa0 006c0f30 0051aaa0 007e4940 -0051aaa0 006d7d60 +0051aaa0 0040a1b0 +0051aaa0 EXTERNAL:00000220 +0051aaa0 006bec40 +0051aaa0 006d9050 +0051aaa0 0043ef30 +0051aaa0 0040add0 +0051aaa0 006ccdd0 +0051aaa0 006eef60 0051aaa0 00aef12b -0051aaa0 006c1330 -0051aaa0 006d6ba0 +0051aaa0 00af08b1 +0051aaa0 0040a5d0 +0051aaa0 006d85a0 +0051aaa0 006d7cf0 +0051aaa0 00435a80 0051aaa0 006cae60 -0051aaa0 00aef15c -0051b570 00812c90 -0051b570 006ccdd0 -0051b570 00af08b1 -0051b570 00428b20 -0051b570 0040a1b0 -0051b570 006be840 -0051b570 006d85a0 -0051b570 00435a80 -0051b570 006eef60 -0051b570 0040add0 -0051b570 EXTERNAL:00000220 -0051b570 0040a5d0 -0051b570 006d6c20 -0051b570 0043ef30 -0051b570 007e4940 -0051b570 0067f010 -0051b570 00aef12b -0051b570 006c1330 -0051b570 006cae60 -0051b570 006d6ba0 -0051b570 00435a50 -0051b570 00aef15c -0051b570 004565e0 +0051aaa0 006c1330 0051b570 007e6300 +0051b570 00aef15c +0051b570 00812c90 +0051b570 006d6ba0 +0051b570 00428b20 +0051b570 006be840 +0051b570 007e4940 +0051b570 006d6c20 +0051b570 0040a1b0 +0051b570 EXTERNAL:00000220 +0051b570 0067f010 +0051b570 004565e0 +0051b570 0043ef30 +0051b570 0040add0 +0051b570 006ccdd0 +0051b570 006eef60 +0051b570 00aef12b +0051b570 00af08b1 0051b570 00813520 -0051c040 007e4940 +0051b570 0040a5d0 +0051b570 006d85a0 +0051b570 00435a50 +0051b570 00435a80 +0051b570 006cae60 +0051b570 006c1330 +0051c040 007e6300 +0051c040 0043ef30 +0051c040 0040add0 +0051c040 006eef60 +0051c040 006d6ba0 0051c040 0041d540 -0051c040 0067f070 +0051c040 0041af60 +0051c040 00aef12b 0051c040 006d8260 -0051c040 006fe410 -0051c040 006be840 0051c040 0040a380 -0051c040 0041d520 +0051c040 006be840 +0051c040 0067f070 0051c040 006d85a0 +0051c040 0041d520 +0051c040 00435a50 +0051c040 006b64d0 +0051c040 006cae60 +0051c040 007e4940 +0051c040 006d6c20 0051c040 006cb2e0 0051c040 00a10600 -0051c040 00aef12b -0051c040 006eef60 -0051c040 0040add0 -0051c040 006cae60 -0051c040 006d6ba0 +0051c040 006fe410 0051c040 00a648b0 -0051c040 00435a50 -0051c040 0041af60 -0051c040 007e6300 -0051c040 006d6c20 -0051c040 0043ef30 -0051c040 006b64d0 -0051cb30 00812f50 -0051cb30 00af08b1 +0051cb30 00956780 +0051cb30 0043ef30 +0051cb30 0040add0 +0051cb30 006eef60 +0051cb30 00a112c0 +0051cb30 00aef12b 0051cb30 00428b20 -0051cb30 0040a1b0 +0051cb30 00af08b1 +0051cb30 00812f50 +0051cb30 004cdcf0 0051cb30 006d82d0 +0051cb30 0040a5d0 0051cb30 006be840 0051cb30 006d85a0 -0051cb30 006cb2e0 -0051cb30 00aef12b -0051cb30 004cdcf0 -0051cb30 006eef60 -0051cb30 0040add0 -0051cb30 006cae60 -0051cb30 00a112c0 -0051cb30 0040a5d0 0051cb30 00435a50 -0051cb30 0092dc30 -0051cb30 006bec40 -0051cb30 004cf210 -0051cb30 0043ef30 0051cb30 006b64d0 -0051cb30 00956780 +0051cb30 0092dc30 +0051cb30 006cae60 +0051cb30 004cf210 +0051cb30 006cb2e0 +0051cb30 0040a1b0 +0051cb30 006bec40 +0051d300 00956780 +0051d300 0092dc30 0051d300 006eef60 +0051d300 00aef12b 0051d300 00428b20 0051d300 006d82d0 -0051d300 0092dc30 0051d300 006ac760 -0051d300 00aef12b -0051d300 00956780 -0051e0f0 0040cf50 -0051e0f0 0060b890 -0051e0f0 00af08b1 -0051e0f0 0041d540 -0051e0f0 00428b20 -0051e0f0 00414870 -0051e0f0 004238f0 -0051e0f0 006be840 -0051e0f0 0041d520 -0051e0f0 0040b220 -0051e0f0 006d85a0 -0051e0f0 0096f310 -0051e0f0 006eef60 -0051e0f0 0040add0 -0051e0f0 004997f0 -0051e0f0 EXTERNAL:00000220 -0051e0f0 006d9050 -0051e0f0 00af05f1 0051e0f0 00a10630 -0051e0f0 006d6c20 -0051e0f0 0043ef30 -0051e0f0 006d82d0 -0051e0f0 006d8260 -0051e0f0 0040a380 -0051e0f0 006cb2e0 -0051e0f0 00aef12b -0051e0f0 006d6ba0 -0051e0f0 0040c000 -0051e0f0 00435a50 +0051e0f0 00414870 0051e0f0 00aef15c +0051e0f0 006d6ba0 +0051e0f0 0040cf50 +0051e0f0 00af05f1 +0051e0f0 0040a380 +0051e0f0 006d8260 +0051e0f0 00428b20 +0051e0f0 006d82d0 +0051e0f0 0040b220 +0051e0f0 006be840 +0051e0f0 0040c000 +0051e0f0 004238f0 +0051e0f0 004997f0 0051e0f0 0092dc30 0051e0f0 0040bf30 -0051e0f0 00956780 +0051e0f0 006d6c20 +0051e0f0 EXTERNAL:00000220 0051e0f0 00a0ffc0 -0051f2f0 006d7cf0 -0051f2f0 007f0df0 -0051f2f0 0041d540 +0051e0f0 00956780 +0051e0f0 006d9050 +0051e0f0 0043ef30 +0051e0f0 0040add0 +0051e0f0 006eef60 +0051e0f0 0041d540 +0051e0f0 00aef12b +0051e0f0 00af08b1 +0051e0f0 0060b890 +0051e0f0 006d85a0 +0051e0f0 0041d520 +0051e0f0 0096f310 +0051e0f0 00435a50 +0051e0f0 006cb2e0 +0051f2f0 00a10630 +0051f2f0 007e6300 +0051f2f0 007f0800 +0051f2f0 006d6ba0 +0051f2f0 0040a380 +0051f2f0 006d8260 +0051f2f0 006d0c60 0051f2f0 006ac530 0051f2f0 006be840 -0051f2f0 0041d520 -0051f2f0 006ac760 -0051f2f0 006eef60 -0051f2f0 004288a0 -0051f2f0 0040add0 -0051f2f0 00a648b0 0051f2f0 007e33c0 -0051f2f0 00a10630 -0051f2f0 004e45c0 -0051f2f0 006ac710 -0051f2f0 0043ef30 0051f2f0 00956110 -0051f2f0 007e4940 -0051f2f0 006d0c60 +0051f2f0 006ac710 0051f2f0 00431310 -0051f2f0 006d8260 -0051f2f0 0040a380 -0051f2f0 004cf350 -0051f2f0 00a10600 -0051f2f0 006cb2e0 -0051f2f0 00aef12b -0051f2f0 00417430 -0051f2f0 004cdcf0 -0051f2f0 006d6ba0 -0051f2f0 00435a50 -0051f2f0 00a10030 -0051f2f0 004e4690 0051f2f0 004cf210 -0051f2f0 007f0800 -0051f2f0 007e6300 +0051f2f0 007e4940 +0051f2f0 00a10600 +0051f2f0 004e4690 +0051f2f0 0043ef30 +0051f2f0 004cf350 +0051f2f0 0040add0 +0051f2f0 006eef60 +0051f2f0 0041d540 +0051f2f0 00aef12b +0051f2f0 004cdcf0 +0051f2f0 0041d520 +0051f2f0 006d7cf0 +0051f2f0 00435a50 +0051f2f0 00417430 0051f2f0 006b64d0 -00520c60 007e6ff0 -00520c60 0060b890 -00520c60 00407170 -00520c60 0041d540 -00520c60 004238f0 -00520c60 0040a1b0 -00520c60 0041d520 -00520c60 006be840 -00520c60 006d8240 -00520c60 0096f310 -00520c60 0040b1d0 -00520c60 0040add0 -00520c60 00a112c0 -00520c60 0040a5d0 -00520c60 004e45c0 -00520c60 006d8d30 -00520c60 00a10630 +0051f2f0 004e45c0 +0051f2f0 006cb2e0 +0051f2f0 00a10030 +0051f2f0 007f0df0 +0051f2f0 004288a0 +0051f2f0 006ac760 +0051f2f0 00a648b0 00520c60 0040a940 -00520c60 006d6c20 -00520c60 0040b030 -00520c60 0043ef30 -00520c60 00740bc0 -00520c60 0040a760 -00520c60 006d8260 -00520c60 0040a380 -00520c60 006cb2e0 -00520c60 00aef12b -00520c60 004cdcf0 -00520c60 006cae60 +00520c60 00a10630 00520c60 006d6ba0 -00520c60 00408830 -00520c60 00435a50 +00520c60 007e6ff0 +00520c60 0040a380 +00520c60 006d8260 +00520c60 0040a760 +00520c60 006be840 +00520c60 0040b030 +00520c60 00740bc0 +00520c60 004238f0 +00520c60 0040b1d0 +00520c60 00407170 +00520c60 006d8d30 +00520c60 004cf210 +00520c60 006d6c20 +00520c60 0040a1b0 00520c60 004565e0 00520c60 004e4690 -00520c60 004cf210 +00520c60 0043ef30 +00520c60 0040add0 +00520c60 006d8240 +00520c60 00a112c0 +00520c60 0041d540 +00520c60 00aef12b +00520c60 004cdcf0 +00520c60 0040a5d0 +00520c60 0060b890 +00520c60 0041d520 +00520c60 0096f310 +00520c60 00435a50 +00520c60 006cae60 +00520c60 004e45c0 +00520c60 006cb2e0 00520c60 006d8b20 -00521ab0 00812f50 -00521ab0 007e6ff0 -00521ab0 007f0df0 -00521ab0 00407170 +00520c60 00408830 00521ab0 007e5340 -00521ab0 006d82d0 -00521ab0 0067f170 -00521ab0 006fe410 -00521ab0 006be840 -00521ab0 0040a380 -00521ab0 00417430 00521ab0 006eef60 -00521ab0 0044bfb0 -00521ab0 00435a50 -00521ab0 004e45c0 -00521ab0 006ac710 -00521ab0 006d6c20 +00521ab0 007e6ff0 +00521ab0 00812f50 +00521ab0 0040a380 +00521ab0 006d82d0 +00521ab0 006be840 00521ab0 00740bc0 -00522430 007e6ff0 -00522430 00407170 -00522430 006b6af0 -00522430 00812c10 -00522430 006be840 -00522430 006d85a0 -00522430 007f0780 -00522430 006eef60 -00522430 0040add0 -00522430 006d9050 -00522430 007e33c0 +00521ab0 006ac710 +00521ab0 00435a50 +00521ab0 00417430 +00521ab0 0067f170 +00521ab0 00407170 +00521ab0 0044bfb0 +00521ab0 006d6c20 +00521ab0 004e45c0 +00521ab0 007f0df0 +00521ab0 006fe410 00522430 00a10630 -00522430 00435c70 -00522430 006b9740 -00522430 0043ef30 -00522430 00956110 -00522430 006d82d0 -00522430 006d8260 -00522430 0040a380 -00522430 006cb2e0 -00522430 00aef12b -00522430 006b31b0 -00522430 00408d00 -00522430 006d8e40 -00522430 006cae60 -00522430 00812de0 -00522430 006d6ba0 -00522430 0040ae70 -00522430 00435a50 -00522430 0092dc30 -00522430 006c04b0 -00522430 006d8b20 -00522430 0081e9d0 -00522430 00956780 00522430 00703950 -00522ef0 00812f50 -00522ef0 00812c90 -00522ef0 006ac2a0 -00522ef0 0060b890 -00522ef0 0041d540 -00522ef0 0067f070 -00522ef0 0040a1b0 -00522ef0 004238f0 -00522ef0 006fe410 -00522ef0 006be840 -00522ef0 0041d520 -00522ef0 0040b220 -00522ef0 006d85a0 -00522ef0 0096f310 -00522ef0 006eef60 -00522ef0 0040add0 -00522ef0 0040b1d0 -00522ef0 0040a5d0 -00522ef0 006d8d30 +00522430 006c04b0 +00522430 006d6ba0 +00522430 0040a380 +00522430 006d8260 +00522430 007e6ff0 +00522430 006d82d0 +00522430 006be840 +00522430 007e33c0 +00522430 00956110 +00522430 00435c70 +00522430 0092dc30 +00522430 006b31b0 +00522430 00407170 +00522430 007f0780 +00522430 0040ae70 +00522430 00956780 +00522430 006d8e40 +00522430 006d9050 +00522430 0043ef30 +00522430 0040add0 +00522430 006eef60 +00522430 00aef12b +00522430 006d85a0 +00522430 006b9740 +00522430 00812de0 +00522430 00812c10 +00522430 00435a50 +00522430 006b6af0 +00522430 006cae60 +00522430 00408d00 +00522430 006cb2e0 +00522430 0081e9d0 +00522430 006d8b20 00522ef0 00a10630 00522ef0 0040a940 -00522ef0 00682740 -00522ef0 006bec40 -00522ef0 0040b030 -00522ef0 00408e00 -00522ef0 006d8260 -00522ef0 0040a380 -00522ef0 00682a50 -00522ef0 00aef12b -00522ef0 00417430 -00522ef0 0040ace0 -00522ef0 00499d60 +00522ef0 00812c90 00522ef0 006d6ba0 -00522ef0 00408830 -00522ef0 00435a50 -00522ef0 004565e0 -00522ef0 00944a40 +00522ef0 0040a380 +00522ef0 006d8260 +00522ef0 0040b220 +00522ef0 006be840 +00522ef0 0067f070 +00522ef0 0040b030 +00522ef0 004238f0 +00522ef0 00682740 00522ef0 004071f0 +00522ef0 0040b1d0 +00522ef0 006d8d30 +00522ef0 00499d60 +00522ef0 00682a50 +00522ef0 00944a40 +00522ef0 0040a1b0 +00522ef0 006bec40 +00522ef0 004565e0 +00522ef0 0040add0 +00522ef0 006eef60 +00522ef0 0041d540 +00522ef0 00aef12b +00522ef0 00812f50 +00522ef0 0040a5d0 +00522ef0 0060b890 +00522ef0 006d85a0 +00522ef0 0041d520 +00522ef0 0096f310 +00522ef0 00435a50 +00522ef0 0040ace0 +00522ef0 00417430 +00522ef0 00408e00 +00522ef0 006ac2a0 00522ef0 006d8b20 +00522ef0 00408830 +00522ef0 006fe410 +005240a0 007e6300 +005240a0 00703950 005240a0 00812c90 +005240a0 006c04b0 +005240a0 006d6ba0 +005240a0 0040a380 005240a0 006be840 -005240a0 007f0780 -005240a0 006eef60 -005240a0 00a112c0 005240a0 007e33c0 +005240a0 00956110 +005240a0 0092dc30 005240a0 006d8d30 -005240a0 006b9740 +005240a0 007e4940 +005240a0 007f0780 +005240a0 00956780 005240a0 0043ef30 +005240a0 00a112c0 +005240a0 006eef60 +005240a0 00aef12b 005240a0 006d8cf0 005240a0 00af0917 -005240a0 00956110 -005240a0 007e4940 -005240a0 0040a380 -005240a0 006cb2e0 -005240a0 00aef12b -005240a0 006d6ba0 +005240a0 006b9740 005240a0 00435a50 -005240a0 0092dc30 -005240a0 006c04b0 -005240a0 006d8b20 -005240a0 007e6300 -005240a0 0081e9d0 -005240a0 00956780 005240a0 006b64d0 -005240a0 00703950 -00524a10 00812c90 -00524a10 006ccdd0 -00524a10 0040a1b0 -00524a10 006be840 -00524a10 007f0780 -00524a10 006eef60 -00524a10 0040add0 -00524a10 006d9050 -00524a10 0040a5d0 -00524a10 007e33c0 -00524a10 006d8d30 +005240a0 006cb2e0 +005240a0 0081e9d0 +005240a0 006d8b20 00524a10 00a10630 -00524a10 006b9740 -00524a10 006bec40 -00524a10 0043ef30 -00524a10 006d82d0 +00524a10 00703950 +00524a10 00812c90 +00524a10 006c04b0 +00524a10 006d6ba0 00524a10 0040a380 -00524a10 006cb2e0 +00524a10 006d82d0 +00524a10 007e33c0 +00524a10 006be840 +00524a10 006d8d30 +00524a10 0040a1b0 +00524a10 007f0780 +00524a10 006bec40 +00524a10 0040ae70 +00524a10 006d9050 +00524a10 0043ef30 +00524a10 0040add0 +00524a10 006ccdd0 +00524a10 006eef60 00524a10 00aef12b +00524a10 00813520 +00524a10 0040a5d0 +00524a10 006b9740 +00524a10 00435a50 00524a10 00417430 00524a10 006cae60 -00524a10 0040ae70 -00524a10 006d6ba0 -00524a10 00435a50 -00524a10 006c04b0 -00524a10 00813520 -00524a10 006d8b20 +00524a10 006cb2e0 00524a10 0081e9d0 -00524a10 00703950 -00525650 0067f1d0 -00525650 00408e00 +00524a10 006d8b20 00525650 0040a6e0 -00525650 006d82d0 -00525650 0067f170 -00525650 006be840 -00525650 0040a380 -00525650 006d85a0 -00525650 0040b220 -00525650 006cb2e0 -00525650 00aef12b +00525650 0043ef30 00525650 006eef60 -00525650 006cae60 -00525650 0040aaf0 +00525650 00aef12b +00525650 0040a380 +00525650 006d82d0 +00525650 0040b220 00525650 0040a5d0 +00525650 006be840 +00525650 006d85a0 00525650 00435a50 00525650 00812d00 -00525650 0043ef30 -00526470 006ccdd0 -00526470 00407170 -00526470 0041d540 -00526470 0041d520 -00526470 007f0780 -00526470 006d8d80 -00526470 0040add0 -00526470 006d9050 -00526470 007e33c0 -00526470 006d8d30 -00526470 006bec40 -00526470 0043ef30 -00526470 00436090 -00526470 00956110 -00526470 006d82d0 -00526470 00431310 -00526470 0040a380 -00526470 006cb2e0 -00526470 00aef12b -00526470 006ae630 -00526470 0040ae70 -00526470 006b5c10 -00526470 0092dc30 -00526470 004565e0 -00526470 006d7cf0 -00526470 00812f50 +00525650 0067f170 +00525650 006cae60 +00525650 00408e00 +00525650 006cb2e0 +00525650 0040aaf0 +00525650 0067f1d0 00526470 00812c90 -00526470 004a11c0 -00526470 007f0df0 -00526470 00428b20 -00526470 0040a1b0 -00526470 0067f070 -00526470 00812c10 +00526470 006ae630 +00526470 0040a380 +00526470 006d82d0 +00526470 007e33c0 00526470 006be840 -00526470 006d85a0 -00526470 00435a80 -00526470 006eef60 -00526470 0040a5d0 -00526470 00435c70 -00526470 007e90f0 -00526470 0040b030 +00526470 00956110 +00526470 0067f070 00526470 006c0f30 -00526470 0049cbf0 +00526470 0092dc30 +00526470 00407170 +00526470 006d8d30 00526470 0040a720 +00526470 006bec40 +00526470 004565e0 +00526470 0043ef30 +00526470 006ccdd0 +00526470 006eef60 +00526470 0041d540 +00526470 00aef12b +00526470 004a11c0 +00526470 00813520 +00526470 0041d520 +00526470 00435a50 +00526470 00417430 +00526470 0049cbf0 +00526470 006cae60 +00526470 00a10030 +00526470 006d6ba0 +00526470 00428b20 +00526470 00426940 +00526470 00436090 +00526470 0040b030 +00526470 006d8d80 +00526470 006d9320 +00526470 00431310 +00526470 00435c70 +00526470 004071f0 +00526470 007e90f0 +00526470 0040a1b0 +00526470 007f0780 +00526470 0040ae70 +00526470 00956780 +00526470 006d9050 +00526470 0040add0 +00526470 00812f50 +00526470 0040a5d0 +00526470 006b5c10 +00526470 006d85a0 +00526470 006d7cf0 +00526470 00812c10 +00526470 00435a80 +00526470 006b64d0 00526470 00408e00 00526470 00812f00 -00526470 00426940 -00526470 00417430 -00526470 006cae60 -00526470 006d6ba0 -00526470 00435a50 -00526470 00a10030 -00526470 004071f0 +00526470 006cb2e0 +00526470 007f0df0 00526470 006d8b20 -00526470 00813520 -00526470 00956780 -00526470 006d9320 -00526470 006b64d0 +00528ec0 00734180 +00528ec0 007079c0 +00528ec0 006eef60 00528ec0 0041d540 -00528ec0 00428b20 -00528ec0 009e24a0 -00528ec0 009e0680 -00528ec0 00734900 -00528ec0 006f0090 -00528ec0 0041d520 -00528ec0 007078f0 +00528ec0 00a112c0 +00528ec0 00a68490 00528ec0 00aef12b +00528ec0 006f0090 +00528ec0 009e0680 +00528ec0 00428b20 00528ec0 00865340 00528ec0 00418500 -00528ec0 00734180 -00528ec0 006eef60 -00528ec0 004288a0 +00528ec0 0041d520 +00528ec0 008646e0 +00528ec0 007078f0 +00528ec0 009e24a0 +00528ec0 004cf210 +00528ec0 00734900 00528ec0 00733ca0 00528ec0 00734a80 -00528ec0 00a112c0 -00528ec0 007079c0 -00528ec0 00a68490 -00528ec0 004cf210 -00528ec0 008646e0 -00529da0 00812f50 -00529da0 007f0df0 -00529da0 00428b20 -00529da0 0067f070 -00529da0 0040a1b0 -00529da0 006be840 -00529da0 006ff2a0 -00529da0 007f0780 -00529da0 009be080 -00529da0 006d8d80 -00529da0 006eef60 -00529da0 0040add0 -00529da0 EXTERNAL:00000220 -00529da0 0040a5d0 -00529da0 007e33c0 -00529da0 00435c70 -00529da0 006d8d30 +00528ec0 004288a0 00529da0 00a10630 -00529da0 00703190 -00529da0 006bec40 -00529da0 00956110 -00529da0 006d82d0 -00529da0 0040a380 -00529da0 00a10600 -00529da0 00aef12b -00529da0 006baa70 -00529da0 0040ae70 -00529da0 00435a50 -00529da0 00a10030 00529da0 00aef15c -00529da0 006d8b20 +00529da0 0040a380 +00529da0 00428b20 +00529da0 006ff2a0 +00529da0 006d82d0 +00529da0 006be840 +00529da0 007e33c0 +00529da0 00956110 +00529da0 0067f070 +00529da0 006d8d80 +00529da0 00435c70 +00529da0 006baa70 +00529da0 006d8d30 +00529da0 007f0780 +00529da0 0040a1b0 00529da0 0060af00 +00529da0 EXTERNAL:00000220 +00529da0 00a10600 +00529da0 006bec40 +00529da0 009be080 +00529da0 0040ae70 +00529da0 0040add0 +00529da0 006eef60 +00529da0 00aef12b +00529da0 00812f50 +00529da0 0040a5d0 +00529da0 00435a50 +00529da0 00703190 +00529da0 00a10030 +00529da0 007f0df0 +00529da0 006d8b20 +0052ae30 006d7d60 +0052ae30 00a10630 0052ae30 0041a790 -0052ae30 0041d540 -0052ae30 0040a1b0 +0052ae30 007f0800 +0052ae30 006d6ba0 +0052ae30 0040a380 +0052ae30 006d8260 +0052ae30 006d82d0 0052ae30 006be840 -0052ae30 0041d520 +0052ae30 007e33c0 +0052ae30 0092dc30 +0052ae30 0040a1b0 +0052ae30 00a10600 +0052ae30 006bec40 +0052ae30 00a0ffc0 +0052ae30 00956780 +0052ae30 0054fa80 +0052ae30 006d9050 +0052ae30 0043ef30 +0052ae30 0040add0 0052ae30 006d8240 0052ae30 006eef60 -0052ae30 0040add0 -0052ae30 006d9050 -0052ae30 00a648b0 -0052ae30 0040a5d0 -0052ae30 007e33c0 -0052ae30 00a10630 -0052ae30 006bec40 -0052ae30 0043ef30 -0052ae30 006d8cf0 -0052ae30 006d7d60 -0052ae30 006d82d0 -0052ae30 006d8260 -0052ae30 0040a380 -0052ae30 006cb2e0 -0052ae30 00a10600 +0052ae30 0041d540 0052ae30 00aef12b -0052ae30 006cae60 -0052ae30 006d6ba0 +0052ae30 006d8cf0 +0052ae30 0040a5d0 +0052ae30 0041d520 0052ae30 00435a50 -0052ae30 00a10030 -0052ae30 0054fa80 -0052ae30 0092dc30 -0052ae30 007f0800 -0052ae30 006d8b20 -0052ae30 00956780 0052ae30 006b64d0 -0052ae30 00a0ffc0 -0052c2f0 00499d60 +0052ae30 006cae60 +0052ae30 006cb2e0 +0052ae30 00a10030 +0052ae30 006d8b20 +0052ae30 00a648b0 +0052c2f0 00682740 0052c2f0 00435a50 0052c2f0 00435c70 -0052c2f0 00682740 0052c2f0 0040a380 -0052c2f0 0040b220 +0052c2f0 00499d60 0052c2f0 00813360 -0052c720 006ccdd0 -0052c720 0060b890 -0052c720 0067f170 -0052c720 0040b220 -0052c720 00456240 -0052c720 006d8240 -0052c720 0096f310 -0052c720 0040add0 -0052c720 007e33c0 -0052c720 006d8d30 +0052c2f0 0040b220 0052c720 00a10630 -0052c720 0043ef30 -0052c720 00a10100 +0052c720 00aef15c +0052c720 00812c90 0052c720 006d8260 0052c720 0040a380 -0052c720 006cb2e0 -0052c720 00aef12b -0052c720 006c1330 -0052c720 004cdcf0 -0052c720 0040c000 -0052c720 0040bf30 -0052c720 004cf210 -0052c720 00812c90 -0052c720 00af08b1 -0052c720 007e5340 -0052c720 00428b20 -0052c720 004238f0 -0052c720 006a92a0 +0052c720 0040b220 0052c720 006be840 -0052c720 006d85a0 -0052c720 00416440 -0052c720 006eef60 +0052c720 007e33c0 +0052c720 004238f0 +0052c720 0052c2f0 +0052c720 0040cf00 +0052c720 0040bf30 +0052c720 006d8d30 +0052c720 00944a40 0052c720 EXTERNAL:00000220 +0052c720 00a10600 +0052c720 0043ef30 +0052c720 007e5340 +0052c720 006d8240 +0052c720 006ccdd0 +0052c720 006a92a0 +0052c720 006eef60 +0052c720 00aef12b +0052c720 00af08b1 +0052c720 0060b890 +0052c720 00435a50 +0052c720 00456240 +0052c720 00417430 +0052c720 0067f170 +0052c720 006cae60 +0052c720 00416440 +0052c720 00a10030 +0052c720 00738470 +0052c720 00428b20 +0052c720 0040b030 +0052c720 0040c000 0052c720 006a9320 0052c720 006ac710 -0052c720 0040cf00 -0052c720 0040b030 -0052c720 0041e420 -0052c720 0040ea10 -0052c720 00408e00 -0052c720 0052c2f0 -0052c720 00738470 -0052c720 00a10600 0052c720 00694fb0 -0052c720 00417430 -0052c720 00499d60 -0052c720 006cae60 -0052c720 0069ba90 -0052c720 00435a50 -0052c720 00a10030 -0052c720 00aef15c -0052c720 00944a40 0052c720 004071f0 +0052c720 004cf210 +0052c720 00499d60 +0052c720 0040add0 +0052c720 0041e420 +0052c720 004cdcf0 +0052c720 006d85a0 +0052c720 0096f310 +0052c720 0069ba90 +0052c720 00408e00 +0052c720 006c1330 +0052c720 006cb2e0 +0052c720 0040ea10 0052c720 006d8b20 -0052db50 006ccdd0 -0052db50 00684cb0 -0052db50 0041d540 -0052db50 0067f170 -0052db50 0041d520 -0052db50 006ff2a0 -0052db50 006ac760 -0052db50 007e9080 -0052db50 006d8240 -0052db50 0067f260 -0052db50 0040add0 -0052db50 006d9050 -0052db50 00a112c0 -0052db50 00a648b0 -0052db50 007e33c0 -0052db50 006bec40 -0052db50 0043ef30 -0052db50 00436090 -0052db50 004314b0 -0052db50 00956110 -0052db50 006d82d0 -0052db50 0040a550 -0052db50 006d8260 -0052db50 0040a380 -0052db50 004071c0 -0052db50 006cb2e0 -0052db50 00aef12b -0052db50 0040ace0 -0052db50 004cdcf0 -0052db50 004565e0 -0052db50 004cf210 +0052c720 00a10100 0052db50 00812c90 -0052db50 00af08b1 -0052db50 007f0df0 -0052db50 0067f1d0 -0052db50 00428b20 -0052db50 00704360 -0052db50 007e5340 -0052db50 004cdd80 -0052db50 006a92a0 -0052db50 006a92e0 +0052db50 007e9080 +0052db50 006ff2a0 +0052db50 0040a380 +0052db50 006d8260 +0052db50 006d82d0 0052db50 006be840 -0052db50 006ac7e0 -0052db50 0040a4d0 -0052db50 006eef60 -0052db50 0040a5d0 -0052db50 00435c70 -0052db50 006ac710 -0052db50 007e90f0 -0052db50 006d6c20 -0052db50 0040b030 +0052db50 007e33c0 0052db50 007e6fa0 -0052db50 004be670 -0052db50 00812f00 -0052db50 004073b0 -0052db50 00417430 -0052db50 006d6ba0 -0052db50 006cae60 -0052db50 00435a50 -0052db50 00a10030 +0052db50 00956110 +0052db50 006ac7e0 +0052db50 004314b0 +0052db50 0067f1d0 +0052db50 006bec40 +0052db50 004565e0 +0052db50 0043ef30 +0052db50 006d8240 +0052db50 007e5340 +0052db50 006ccdd0 +0052db50 006a92a0 +0052db50 0067f260 +0052db50 006eef60 +0052db50 00a112c0 +0052db50 0041d540 0052db50 0041af60 +0052db50 00aef12b +0052db50 00af08b1 0052db50 00813520 +0052db50 0041d520 +0052db50 00435a50 +0052db50 00417430 +0052db50 0067f170 +0052db50 006cae60 +0052db50 004073b0 +0052db50 00a10030 +0052db50 006ac760 +0052db50 006a92e0 +0052db50 006d6ba0 +0052db50 004071c0 +0052db50 0040a550 +0052db50 00428b20 +0052db50 00436090 +0052db50 0040b030 +0052db50 006ac710 +0052db50 00435c70 +0052db50 00684cb0 +0052db50 007e90f0 +0052db50 004cf210 +0052db50 006d6c20 +0052db50 0040a4d0 +0052db50 004be670 +0052db50 006d9050 +0052db50 0040add0 +0052db50 004cdcf0 +0052db50 0040a5d0 +0052db50 0040ace0 0052db50 006b64d0 -00530a80 00af08b1 -00530a80 0041d540 -00530a80 00428b20 -00530a80 006be840 -00530a80 0040b090 -00530a80 0041d520 -00530a80 007f0780 -00530a80 006eef60 -00530a80 0040add0 -00530a80 EXTERNAL:00000220 -00530a80 007e33c0 -00530a80 006bec40 -00530a80 0040b030 -00530a80 0043ef30 -00530a80 006c0f30 -00530a80 007e4940 -00530a80 006d82d0 +0052db50 004cdd80 +0052db50 00812f00 +0052db50 006cb2e0 +0052db50 007f0df0 +0052db50 00704360 +0052db50 00a648b0 +00530a80 00aef15c +00530a80 006d6ba0 00530a80 006d8260 00530a80 0040a380 -00530a80 006cb2e0 +00530a80 00428b20 +00530a80 006d82d0 +00530a80 006be840 +00530a80 007e33c0 +00530a80 0040b030 +00530a80 006d9320 +00530a80 006c0f30 +00530a80 007e4940 +00530a80 007f0780 +00530a80 EXTERNAL:00000220 +00530a80 006bec40 +00530a80 0043ef30 +00530a80 0040add0 +00530a80 006eef60 +00530a80 0041d540 00530a80 00aef12b +00530a80 00af08b1 +00530a80 00813520 +00530a80 0041d520 00530a80 00417430 00530a80 006c1330 -00530a80 006d6ba0 -00530a80 00aef15c -00530a80 00813520 -00530a80 006d9320 +00530a80 006cb2e0 +00530a80 0040b090 +00531350 00956780 +00531350 006d8e40 +00531350 006d9050 +00531350 0043ef30 +00531350 0040add0 00531350 006ccdd0 -00531350 007f0df0 -00531350 006d8260 +00531350 006eef60 +00531350 006d6ba0 +00531350 00aef12b 00531350 0040a380 +00531350 006d8260 00531350 006be840 00531350 006d85a0 -00531350 00aef12b -00531350 006d8e40 -00531350 006eef60 -00531350 0040add0 -00531350 006d9050 -00531350 006d6ba0 -00531350 006cae60 00531350 006b9740 00531350 0092dc30 -00531350 0043ef30 -00531350 00956780 -00531ab0 007e4940 -00531ab0 0067f010 -00531ab0 00428b20 -00531ab0 0067f070 -00531ab0 006d8260 -00531ab0 006be840 -00531ab0 0040a380 -00531ab0 006cb2e0 -00531ab0 00aef12b -00531ab0 00417430 -00531ab0 009be080 -00531ab0 006c1330 -00531ab0 006eef60 -00531ab0 0040add0 -00531ab0 006cae60 -00531ab0 EXTERNAL:00000220 -00531ab0 006d6ba0 -00531ab0 007e33c0 -00531ab0 00aef15c -00531ab0 006d6c20 +00531350 006cae60 +00531350 007f0df0 00531ab0 007e6300 +00531ab0 00aef15c 00531ab0 0043ef30 -005321d0 006d7cf0 -005321d0 00407170 -005321d0 006be840 -005321d0 006ac760 -005321d0 006eef60 -005321d0 0040add0 -005321d0 EXTERNAL:00000220 -005321d0 007e33c0 -005321d0 006d8d30 -005321d0 00a10630 +00531ab0 0040add0 +00531ab0 006eef60 +00531ab0 006d6ba0 +00531ab0 00aef12b +00531ab0 006d8260 +00531ab0 0040a380 +00531ab0 00428b20 +00531ab0 006be840 +00531ab0 007e33c0 +00531ab0 0067f070 +00531ab0 00417430 +00531ab0 006cae60 +00531ab0 006c1330 +00531ab0 007e4940 +00531ab0 006d6c20 +00531ab0 006cb2e0 +00531ab0 EXTERNAL:00000220 +00531ab0 009be080 +00531ab0 0067f010 005321d0 0040a940 -005321d0 0043ef30 -005321d0 007e4940 -005321d0 006cb2e0 -005321d0 00aef12b -005321d0 00417430 -005321d0 0040ace0 -005321d0 006c1330 -005321d0 006d8e40 -005321d0 0040ae70 -005321d0 006cae60 -005321d0 006d6ba0 -005321d0 00435a50 +005321d0 00a10630 005321d0 00aef15c +005321d0 006d6ba0 +005321d0 006be840 +005321d0 007e33c0 +005321d0 00407170 +005321d0 006d8d30 +005321d0 007e4940 +005321d0 EXTERNAL:00000220 +005321d0 0040ae70 +005321d0 006d8e40 +005321d0 0043ef30 +005321d0 0040add0 +005321d0 006eef60 +005321d0 00aef12b +005321d0 006d7cf0 +005321d0 00435a50 +005321d0 0040ace0 +005321d0 00417430 +005321d0 006cae60 +005321d0 006c1330 +005321d0 006cb2e0 005321d0 006d8b20 -00532cf0 006ae0a0 -00532cf0 004073d0 -00532cf0 0067f1d0 -00532cf0 0041d540 -00532cf0 006b6af0 -00532cf0 0040a1b0 -00532cf0 006fe410 -00532cf0 0041d520 -00532cf0 006be840 -00532cf0 006d85a0 +005321d0 006ac760 +00532cf0 007e6300 +00532cf0 004564b0 00532cf0 00417870 -00532cf0 0096f310 -00532cf0 006eef60 +00532cf0 006d6ba0 +00532cf0 0040a380 +00532cf0 006d8260 +00532cf0 006d82d0 +00532cf0 004073d0 +00532cf0 006be840 +00532cf0 0040b030 +00532cf0 00956110 +00532cf0 006ac710 +00532cf0 004cf210 +00532cf0 006d6c20 +00532cf0 00944a40 +00532cf0 0040a1b0 +00532cf0 0067f1d0 +00532cf0 006ae0a0 +00532cf0 0043ef30 00532cf0 0067f260 00532cf0 0040add0 -00532cf0 0040a5d0 -00532cf0 006ac710 -00532cf0 0040b030 -00532cf0 006d6c20 -00532cf0 0043ef30 -00532cf0 00956110 -00532cf0 004564b0 -00532cf0 006d82d0 -00532cf0 006d8260 -00532cf0 0040a380 -00532cf0 006cb2e0 +00532cf0 006eef60 +00532cf0 0041d540 00532cf0 00aef12b -00532cf0 00417430 -00532cf0 00813360 00532cf0 004cdcf0 -00532cf0 006cae60 -00532cf0 006d6ba0 +00532cf0 0040a5d0 +00532cf0 0041d520 +00532cf0 006d85a0 +00532cf0 0096f310 00532cf0 00435a50 -00532cf0 00944a40 -00532cf0 004cf210 -00532cf0 007e6300 -00533b80 006ae0a0 -00533b80 006fd7c0 -00533b80 00af08b1 -00533b80 0040a6e0 -00533b80 0040a1b0 -00533b80 006fe410 -00533b80 006be840 -00533b80 00417870 -00533b80 006eef60 -00533b80 0040add0 -00533b80 0040a5d0 -00533b80 007e33c0 -00533b80 006ad870 -00533b80 006bec40 -00533b80 00703670 -00533b80 00956110 -00533b80 00408e00 -00533b80 006add70 -00533b80 004cdcf0 +00532cf0 00417430 +00532cf0 006b6af0 +00532cf0 006cae60 +00532cf0 006cb2e0 +00532cf0 00813360 +00532cf0 006fe410 00533b80 006d6ba0 -00533b80 0040ae70 -00533b80 006c2750 -00533b80 006b5c10 -00533b80 00435a50 +00533b80 00417870 +00533b80 006ad870 +00533b80 006add70 +00533b80 007e33c0 +00533b80 006be840 +00533b80 00956110 00533b80 0092dc30 00533b80 004cf210 -00533b80 00813520 +00533b80 0040a1b0 +00533b80 006bec40 +00533b80 0040ae70 00533b80 00956780 -00534860 009be3e0 -00534860 00956110 -00534860 006d82d0 -00534860 0067f070 -00534860 00639000 -00534860 0040a380 -00534860 006be840 -00534860 006cb2e0 -00534860 00aef12b -00534860 009be080 -00534860 009be140 -00534860 0040a780 +00533b80 006ae0a0 +00533b80 0040a6e0 +00533b80 0040add0 +00533b80 006eef60 +00533b80 00af08b1 +00533b80 004cdcf0 +00533b80 00813520 +00533b80 0040a5d0 +00533b80 006b5c10 +00533b80 006fd7c0 +00533b80 006c2750 +00533b80 00435a50 +00533b80 00408e00 +00533b80 00703670 +00533b80 006fe410 +00534860 0043ef30 00534860 006eef60 00534860 006d6ba0 -00534860 0044bfb0 -00534860 00a10030 +00534860 00aef12b +00534860 0040a380 +00534860 00639000 +00534860 006d82d0 +00534860 009be140 +00534860 006be840 +00534860 0067f070 +00534860 00956110 00534860 00435c70 00534860 00435a50 -00534860 0043ef30 00534860 006b64d0 -00535280 00af08b1 -00535280 0041d540 -00535280 009e24a0 -00535280 0067f070 -00535280 00734900 -00535280 006fe410 -00535280 0041d520 -00535280 006be840 -00535280 0040b090 -00535280 007078f0 -00535280 006eef60 -00535280 006b5b90 -00535280 004288a0 -00535280 00a112c0 -00535280 007079c0 -00535280 006d8d30 +00534860 009be3e0 +00534860 0044bfb0 +00534860 0040a780 +00534860 006cb2e0 +00534860 00a10030 +00534860 009be080 00535280 00a10630 -00535280 00435c70 -00535280 006ad870 -00535280 006ac710 -00535280 006bec40 -00535280 0040b030 00535280 006b78d0 -00535280 008646e0 -00535280 009e0680 -00535280 006d82d0 -00535280 00a10100 -00535280 006f0090 -00535280 0040a380 -00535280 00aef12b -00535280 00865340 -00535280 00417430 -00535280 00418500 -00535280 00734180 -00535280 004cdcf0 -00535280 006fd350 -00535280 00733ca0 -00535280 006d6ba0 -00535280 00734a80 -00535280 006b5c10 -00535280 00a10030 -00535280 00a68490 00535280 004a5d10 +00535280 006d6ba0 +00535280 00a68490 +00535280 006ad870 +00535280 0040a380 +00535280 006d82d0 +00535280 006be840 +00535280 0067f070 +00535280 0040b030 +00535280 006ac710 +00535280 00435c70 +00535280 008646e0 +00535280 007078f0 +00535280 006d8d30 00535280 004cf210 -00535280 006d8b20 +00535280 00734900 +00535280 00733ca0 +00535280 006fd350 +00535280 006bec40 +00535280 00734180 +00535280 007079c0 +00535280 006eef60 +00535280 0041d540 +00535280 00a112c0 +00535280 00aef12b +00535280 006f0090 +00535280 00af08b1 +00535280 009e0680 +00535280 00865340 +00535280 004cdcf0 +00535280 006b5c10 +00535280 00418500 +00535280 0041d520 00535280 006b64d0 -00536d00 006c0f30 -00536d00 00af08b1 -00536d00 007e4940 -00536d00 00af0905 -00536d00 006fe410 -00536d00 0040a380 -00536d00 006be840 -00536d00 006d88b0 -00536d00 006d85a0 -00536d00 00417430 -00536d00 004cdcf0 +00535280 00417430 +00535280 006b5b90 +00535280 009e24a0 +00535280 00a10030 +00535280 00734a80 +00535280 006d8b20 +00535280 00a10100 +00535280 004288a0 +00535280 006fe410 +00535280 0040b090 +00536d00 007e6300 00536d00 006eef60 00536d00 00af08e7 +00536d00 0040a380 +00536d00 00af08b1 +00536d00 004cdcf0 +00536d00 00af0905 +00536d00 006be840 00536d00 007e33c0 -00536d00 00447770 +00536d00 006d85a0 +00536d00 006c0f30 00536d00 00435c70 -00536d00 004cf210 -00536d00 007e6300 00536d00 006b64d0 -005374a0 006ccdd0 -005374a0 0060b890 -005374a0 0041d540 -005374a0 0040a1b0 +00536d00 00417430 +00536d00 00447770 +00536d00 004cf210 +00536d00 007e4940 +00536d00 006d88b0 +00536d00 006fe410 +005374a0 006d6ba0 +005374a0 0040a380 +005374a0 007e33c0 +005374a0 006be840 005374a0 0067f070 005374a0 004238f0 -005374a0 006be840 -005374a0 0041d520 -005374a0 006d85a0 -005374a0 0096f310 -005374a0 006eef60 -005374a0 0040add0 -005374a0 0040b1d0 -005374a0 0040a5d0 -005374a0 007e33c0 005374a0 00682740 -005374a0 0043ef30 -005374a0 0040a380 -005374a0 00aef12b -005374a0 00417430 +005374a0 0040b1d0 +005374a0 0040a1b0 005374a0 006d8e40 -005374a0 006cae60 -005374a0 006d6ba0 -005374a0 006d8b20 +005374a0 0043ef30 +005374a0 0040add0 +005374a0 006ccdd0 +005374a0 006eef60 +005374a0 0041d540 +005374a0 00aef12b 005374a0 00813520 -00537e20 0040add0 -00537e20 0092dc30 -00537e20 006fefd0 -00537e20 006be840 -00537e20 0040a380 -00537e20 006d85a0 -00537e20 0040a4d0 +005374a0 0040a5d0 +005374a0 0060b890 +005374a0 006d85a0 +005374a0 0041d520 +005374a0 0096f310 +005374a0 00417430 +005374a0 006cae60 +005374a0 006d8b20 00537e20 00956780 -005381c0 00812f50 -005381c0 00956110 -005381c0 0041d540 -005381c0 006d82d0 -005381c0 0041d520 -005381c0 0040a380 -005381c0 006be840 +00537e20 0092dc30 +00537e20 0040add0 +00537e20 0040a380 +00537e20 0040a4d0 +00537e20 006be840 +00537e20 006fefd0 +00537e20 006d85a0 +005381c0 00956780 005381c0 006d8e40 005381c0 006eef60 +005381c0 0041d540 +005381c0 00812f50 +005381c0 0040a380 +005381c0 006d82d0 +005381c0 006be840 +005381c0 00956110 +005381c0 0041d520 005381c0 00435a50 005381c0 0092dc30 005381c0 006bec40 -005381c0 00956780 -00538b70 00812c90 -00538b70 00812f50 -00538b70 007e6ff0 -00538b70 00af08b1 -00538b70 007f0df0 -00538b70 0054a350 -00538b70 00428b20 -00538b70 007e5340 -00538b70 0040a6e0 -00538b70 0040a1b0 -00538b70 00452bf0 -00538b70 0067f070 -00538b70 006be840 -00538b70 006ff2a0 -00538b70 006eef60 -00538b70 0040add0 -00538b70 0040aaf0 -00538b70 EXTERNAL:00000220 -00538b70 006d9050 -00538b70 0040a5d0 -00538b70 007e33c0 -00538b70 006d8d30 -00538b70 00a10630 00538b70 0040a940 -00538b70 006ac710 -00538b70 00703190 -00538b70 006bec40 -00538b70 0043ef30 -00538b70 006c0f30 -00538b70 007e4940 00538b70 006d7d60 -00538b70 00a10100 -00538b70 006d8260 -00538b70 0040a380 -00538b70 006cb2e0 -00538b70 00aef12b -00538b70 00417430 -00538b70 006c1330 -00538b70 006d6ba0 -00538b70 006cae60 -00538b70 00435a50 -00538b70 00a10030 +00538b70 00a10630 00538b70 00aef15c -00538b70 004565e0 -00538b70 004e4690 +00538b70 00812c90 +00538b70 006d6ba0 +00538b70 00428b20 +00538b70 007e6ff0 +00538b70 0040a380 +00538b70 006d8260 +00538b70 006ff2a0 +00538b70 006be840 +00538b70 007e33c0 +00538b70 0067f070 +00538b70 006ac710 +00538b70 006c0f30 00538b70 004071f0 +00538b70 006d8d30 +00538b70 007e4940 +00538b70 00452bf0 +00538b70 0040aaf0 +00538b70 0040a1b0 +00538b70 EXTERNAL:00000220 +00538b70 006bec40 +00538b70 004565e0 +00538b70 0040a6e0 +00538b70 004e4690 +00538b70 006d9050 +00538b70 0043ef30 +00538b70 007e5340 +00538b70 0040add0 +00538b70 006eef60 +00538b70 00aef12b +00538b70 00af08b1 +00538b70 00812f50 +00538b70 0040a5d0 +00538b70 00435a50 +00538b70 00417430 +00538b70 006cae60 +00538b70 006c1330 +00538b70 00703190 +00538b70 006cb2e0 +00538b70 00a10030 +00538b70 007f0df0 00538b70 006d8b20 -00539b90 00812f50 -00539b90 004073d0 -00539b90 00af08b1 -00539b90 00428b20 -00539b90 0040a1b0 -00539b90 0067f070 -00539b90 006be840 -00539b90 006eef60 -00539b90 0040aaf0 +00538b70 00a10100 +00538b70 0054a350 00539b90 006d8290 -00539b90 EXTERNAL:00000220 +00539b90 00aef15c +00539b90 004071c0 +00539b90 00428b20 +00539b90 0040a380 +00539b90 006be840 00539b90 007e33c0 +00539b90 004073d0 +00539b90 0067f070 00539b90 006ac710 +00539b90 004cf210 +00539b90 007e4940 +00539b90 0040aaf0 +00539b90 0040a1b0 +00539b90 EXTERNAL:00000220 00539b90 006bec40 00539b90 0043ef30 -00539b90 00408e00 -00539b90 007e4940 -00539b90 00a10100 -00539b90 0040a380 -00539b90 004071c0 -00539b90 006cb2e0 +00539b90 006eef60 00539b90 00aef12b -00539b90 00417430 -00539b90 006c1330 +00539b90 00af08b1 +00539b90 00812f50 00539b90 004cdcf0 00539b90 00435a50 +00539b90 00417430 +00539b90 00408e00 +00539b90 006c1330 +00539b90 006cb2e0 00539b90 00a10030 -00539b90 00aef15c -00539b90 004cf210 -0053ab40 006d82d0 -0053ab40 0040a1b0 -0053ab40 006d8260 -0053ab40 006fe410 -0053ab40 0040a380 -0053ab40 007f0780 +00539b90 00a10100 0053ab40 006eef60 0053ab40 006d6ba0 -0053ab40 0040ae70 +0053ab40 0040a380 +0053ab40 006d8260 +0053ab40 006d82d0 0053ab40 0040a5d0 -0053ab40 00435a50 -0053ab40 006ac710 -0053ab40 006bec40 0053ab40 0040b030 -0053b2f0 006d82d0 -0053b2f0 0040a1b0 -0053b2f0 0067f070 -0053b2f0 006d8260 -0053b2f0 006fe410 -0053b2f0 0040a380 -0053b2f0 006ff2a0 +0053ab40 006ac710 +0053ab40 00435a50 +0053ab40 0040a1b0 +0053ab40 007f0780 +0053ab40 006bec40 +0053ab40 0040ae70 +0053ab40 006fe410 0053b2f0 006eef60 0053b2f0 006d6ba0 +0053b2f0 0040a380 +0053b2f0 006d8260 +0053b2f0 006ff2a0 +0053b2f0 006d82d0 0053b2f0 0040a5d0 -0053b2f0 00435a50 -0053b2f0 006ac710 -0053b2f0 00703190 -0053b2f0 006bec40 -0053b2f0 006d6c20 0053b2f0 0040b030 -0053bae0 006c0f30 -0053bae0 007599d0 -0053bae0 0041d540 -0053bae0 006d82d0 -0053bae0 009e5c00 -0053bae0 0040a380 -0053bae0 0041d520 -0053bae0 009be080 -0053bae0 004cdcf0 +0053b2f0 0067f070 +0053b2f0 006ac710 +0053b2f0 00435a50 +0053b2f0 00703190 +0053b2f0 006d6c20 +0053b2f0 0040a1b0 +0053b2f0 006bec40 +0053b2f0 006fe410 0053bae0 009be530 -0053bae0 00a648b0 -0053bae0 00447770 -0053bae0 00435a50 +0053bae0 0041d540 0053bae0 0041af60 +0053bae0 0040a380 +0053bae0 004cdcf0 +0053bae0 006d82d0 +0053bae0 0041d520 +0053bae0 006c0f30 +0053bae0 00435a50 +0053bae0 00447770 +0053bae0 009e5c00 +0053bae0 007599d0 0053bae0 006bec40 -0053c0d0 00812f50 +0053bae0 009be080 +0053bae0 00a648b0 0053c0d0 0041a790 -0053c0d0 0060b890 -0053c0d0 0041d540 -0053c0d0 00428b20 -0053c0d0 0040a1b0 -0053c0d0 004238f0 -0053c0d0 0041d520 -0053c0d0 006be840 -0053c0d0 006ac760 -0053c0d0 0096f310 -0053c0d0 006eef60 -0053c0d0 0040add0 -0053c0d0 00a648b0 -0053c0d0 0040a5d0 -0053c0d0 006bec40 -0053c0d0 0040b030 -0053c0d0 0043ef30 -0053c0d0 00436090 -0053c0d0 00408e00 0053c0d0 006d7d60 -0053c0d0 006d82d0 -0053c0d0 00431310 -0053c0d0 0040a380 -0053c0d0 006cb2e0 -0053c0d0 00aef12b -0053c0d0 00417430 0053c0d0 006d6ba0 -0053c0d0 006cae60 -0053c0d0 00435a50 +0053c0d0 0040a380 +0053c0d0 00428b20 +0053c0d0 006d82d0 +0053c0d0 00436090 +0053c0d0 006be840 +0053c0d0 0040b030 +0053c0d0 004238f0 +0053c0d0 00431310 0053c0d0 0092dc30 0053c0d0 00944a40 +0053c0d0 0040a1b0 +0053c0d0 006bec40 0053c0d0 00956780 -0053e4a0 00812f50 -0053e4a0 006d7cf0 -0053e4a0 006ccdd0 -0053e4a0 007f0b40 -0053e4a0 007f0df0 -0053e4a0 00407170 -0053e4a0 0041d540 -0053e4a0 004cdd80 -0053e4a0 0067f070 -0053e4a0 006fe410 -0053e4a0 0041d520 -0053e4a0 006be840 -0053e4a0 007f0780 -0053e4a0 004567e0 -0053e4a0 00435a80 -0053e4a0 006eef60 -0053e4a0 007e33c0 -0053e4a0 00435c70 +0053c0d0 0043ef30 +0053c0d0 0040add0 +0053c0d0 006eef60 +0053c0d0 0041d540 +0053c0d0 00aef12b +0053c0d0 00812f50 +0053c0d0 0040a5d0 +0053c0d0 0060b890 +0053c0d0 0041d520 +0053c0d0 0096f310 +0053c0d0 00435a50 +0053c0d0 00417430 +0053c0d0 006cae60 +0053c0d0 00408e00 +0053c0d0 006cb2e0 +0053c0d0 006ac760 +0053c0d0 00a648b0 0053e4a0 00a10630 -0053e4a0 006d8d30 -0053e4a0 006b9740 -0053e4a0 0040b030 -0053e4a0 0043ef30 -0053e4a0 006d6c20 -0053e4a0 0040a380 -0053e4a0 006cb2e0 -0053e4a0 00aef12b -0053e4a0 00417430 -0053e4a0 006d8e40 -0053e4a0 004cdcf0 -0053e4a0 006cae60 -0053e4a0 006d6ba0 -0053e4a0 00435a50 -0053e4a0 00a10030 -0053e4a0 006c04b0 -0053e4a0 00944a40 -0053e4a0 004cf210 -0053e4a0 00813520 -0053e4a0 006d8b20 0053e4a0 00703950 -005400d0 006c0f30 -005400d0 007599d0 -005400d0 00af0905 -005400d0 006d82d0 -005400d0 009e5c00 -005400d0 006be840 -005400d0 0040a380 -005400d0 009be080 -005400d0 006eef60 +0053e4a0 006c04b0 +0053e4a0 006d6ba0 +0053e4a0 0040a380 +0053e4a0 007e33c0 +0053e4a0 006be840 +0053e4a0 0067f070 +0053e4a0 0040b030 +0053e4a0 004567e0 +0053e4a0 00435c70 +0053e4a0 00407170 +0053e4a0 006d8d30 +0053e4a0 004cf210 +0053e4a0 006d6c20 +0053e4a0 00944a40 +0053e4a0 007f0780 +0053e4a0 006d8e40 +0053e4a0 0043ef30 +0053e4a0 006ccdd0 +0053e4a0 006eef60 +0053e4a0 0041d540 +0053e4a0 00aef12b +0053e4a0 00812f50 +0053e4a0 00813520 +0053e4a0 004cdcf0 +0053e4a0 0041d520 +0053e4a0 006b9740 +0053e4a0 006d7cf0 +0053e4a0 00435a50 +0053e4a0 00417430 +0053e4a0 00435a80 +0053e4a0 006cae60 +0053e4a0 004cdd80 +0053e4a0 007f0b40 +0053e4a0 006cb2e0 +0053e4a0 00a10030 +0053e4a0 007f0df0 +0053e4a0 006d8b20 +0053e4a0 006fe410 005400d0 009be530 +005400d0 006eef60 005400d0 00af08e7 +005400d0 0040a380 +005400d0 006d82d0 +005400d0 00af0905 +005400d0 006be840 +005400d0 006c0f30 005400d0 00435a50 +005400d0 009e5c00 005400d0 00a10030 +005400d0 007599d0 005400d0 006bec40 +005400d0 009be080 00540510 0041a790 -00540510 006d82d0 -00540510 0040a380 -00540510 006cb2e0 -00540510 00aef12b -00540510 006eef60 -00540510 0040add0 -00540510 006cae60 00540510 006d9050 -00540510 006d6ba0 -00540510 00a648b0 -00540510 00435a50 -00540510 006bec40 00540510 0043ef30 +00540510 0040add0 +00540510 006eef60 +00540510 006d6ba0 +00540510 00aef12b +00540510 0040a380 +00540510 006d82d0 +00540510 00435a50 +00540510 006cae60 +00540510 006cb2e0 +00540510 006bec40 +00540510 00a648b0 +00540df0 009be530 00540df0 0041a790 -00540df0 006c0f30 +00540df0 00a112c0 +00540df0 006eef60 +00540df0 0041d540 +00540df0 0041af60 +00540df0 00428b20 00540df0 00af08b1 +00540df0 004cdcf0 +00540df0 006d82d0 +00540df0 0040a5d0 +00540df0 0041d520 +00540df0 006c0f30 +00540df0 00435a50 +00540df0 009e5c00 +00540df0 004cf210 +00540df0 0040a1b0 +00540df0 006d88b0 00540df0 007599d0 00540df0 EXTERNAL:00000262 -00540df0 0041d540 -00540df0 00428b20 -00540df0 006d82d0 -00540df0 0040a1b0 -00540df0 009e5c00 -00540df0 0041d520 -00540df0 006d88b0 -00540df0 009be080 -00540df0 004cdcf0 -00540df0 006eef60 -00540df0 009be530 -00540df0 00a112c0 -00540df0 00a648b0 -00540df0 0040a5d0 -00540df0 00435a50 -00540df0 0041af60 00540df0 006bec40 -00540df0 004cf210 -00541810 0041d540 -00541810 0067f070 -00541810 006d82d0 -00541810 006d8260 -00541810 006fe410 -00541810 0041d520 -00541810 0040a380 -00541810 00417430 -00541810 006d8e40 -00541810 006eef60 -00541810 0040add0 -00541810 006cae60 -00541810 006d6ba0 -00541810 00435a50 -00541810 006d6c20 +00540df0 009be080 +00540df0 00a648b0 00541810 007e6300 -00541ce0 00812f50 -00541ce0 006ccdd0 -00541ce0 007f0df0 -00541ce0 00428b20 -00541ce0 009e24a0 -00541ce0 00734900 -00541ce0 006c07e0 -00541ce0 006fe410 -00541ce0 006be840 -00541ce0 0040b090 -00541ce0 006d85a0 -00541ce0 007078f0 -00541ce0 006ac760 -00541ce0 006eef60 -00541ce0 004288a0 -00541ce0 00a112c0 -00541ce0 007079c0 -00541ce0 006d8d30 -00541ce0 006bec40 -00541ce0 0043ef30 -00541ce0 008646e0 -00541ce0 006c0f30 -00541ce0 009e0680 -00541ce0 006d82d0 -00541ce0 006f0090 -00541ce0 006d8260 -00541ce0 0040a380 -00541ce0 00aef12b -00541ce0 00865340 -00541ce0 006d8e40 -00541ce0 00418500 -00541ce0 00734180 -00541ce0 006fd350 -00541ce0 00733ca0 -00541ce0 006cae60 -00541ce0 006d6ba0 -00541ce0 00734a80 -00541ce0 00a10030 -00541ce0 00a68490 -00541ce0 004cf210 +00541810 006d8e40 +00541810 0040add0 +00541810 006eef60 +00541810 0041d540 +00541810 006d6ba0 +00541810 0040a380 +00541810 006d8260 +00541810 006d82d0 +00541810 0067f070 +00541810 0041d520 +00541810 00435a50 +00541810 00417430 +00541810 006cae60 +00541810 006d6c20 +00541810 006fe410 00541ce0 007e6300 -00541ce0 006d8b20 +00541ce0 006d6ba0 +00541ce0 00a68490 +00541ce0 0040a380 +00541ce0 006d8260 +00541ce0 00428b20 +00541ce0 006d82d0 +00541ce0 006be840 +00541ce0 006c0f30 +00541ce0 008646e0 +00541ce0 007078f0 +00541ce0 006d8d30 +00541ce0 004cf210 +00541ce0 00734900 +00541ce0 00733ca0 +00541ce0 006fd350 +00541ce0 006bec40 +00541ce0 00734180 +00541ce0 006d8e40 +00541ce0 007079c0 +00541ce0 0043ef30 +00541ce0 006ccdd0 +00541ce0 006eef60 +00541ce0 00a112c0 +00541ce0 00aef12b +00541ce0 00812f50 +00541ce0 006f0090 +00541ce0 009e0680 +00541ce0 00865340 +00541ce0 00418500 +00541ce0 006d85a0 00541ce0 006b64d0 +00541ce0 006cae60 +00541ce0 009e24a0 +00541ce0 00a10030 +00541ce0 00734a80 +00541ce0 007f0df0 +00541ce0 006d8b20 +00541ce0 006ac760 +00541ce0 004288a0 +00541ce0 0040b090 +00541ce0 006fe410 +00541ce0 006c07e0 00542be0 006eef60 00542be0 00aef12b -005430d0 006d82d0 -005430d0 00a10100 -005430d0 006d8260 -005430d0 006fe410 -005430d0 0040a380 -005430d0 006be840 -005430d0 006d88b0 -005430d0 006d85a0 -005430d0 007f0780 -005430d0 0040a780 -005430d0 004cdcf0 -005430d0 006eef60 005430d0 0040add0 -005430d0 006cae60 +005430d0 006eef60 005430d0 006d6ba0 +005430d0 0040a380 +005430d0 006d8260 +005430d0 004cdcf0 +005430d0 006d82d0 +005430d0 006be840 +005430d0 006d85a0 +005430d0 006cae60 005430d0 007e90f0 005430d0 004cf210 -00543720 007e9020 +005430d0 0040a780 +005430d0 007f0780 +005430d0 006d88b0 +005430d0 00a10100 +005430d0 006fe410 00543720 007eece0 +00543720 0040add0 +00543720 00a112c0 +00543720 006f8120 +00543720 006eef60 00543720 0041d540 -00543720 0040a1b0 -00543720 006fe410 -00543720 0041d520 +00543720 006d6ba0 +00543720 00aef12b +00543720 006ad870 00543720 0040a380 00543720 0040b220 -00543720 006f8120 -00543720 00aef12b -00543720 00417430 +00543720 00af0917 +00543720 0041d520 +00543720 007e9020 00543720 00694fb0 -00543720 00456570 -00543720 006eef60 -00543720 0040add0 -00543720 006d6ba0 -00543720 0040aaf0 -00543720 00a112c0 00543720 00435a50 00543720 00435c70 -00543720 006ad870 +00543720 00417430 00543720 007e90f0 +00543720 00456570 +00543720 0040aaf0 +00543720 0040a1b0 +00543720 006fe410 00543720 0081df10 -00543720 00af0917 -005442a0 006ccdd0 -005442a0 0040a6e0 -005442a0 009e24a0 -005442a0 00734900 -005442a0 0060d140 -005442a0 007f0780 -005442a0 006ac760 -005442a0 0040a780 -005442a0 0040add0 -005442a0 00a112c0 -005442a0 007079c0 -005442a0 007e33c0 005442a0 00a10630 -005442a0 006d8d30 -005442a0 006ad870 -005442a0 006bec40 -005442a0 0043ef30 -005442a0 008646e0 -005442a0 006fed60 -005442a0 009e0680 -005442a0 006d82d0 -005442a0 00431310 -005442a0 006d8260 -005442a0 0040a380 -005442a0 00aef12b -005442a0 00865340 -005442a0 006d8e40 -005442a0 00418500 -005442a0 004cdcf0 -005442a0 00734180 -005442a0 006fd350 -005442a0 00734a80 -005442a0 00456380 -005442a0 006b5c10 -005442a0 004565e0 -005442a0 00a68490 -005442a0 005441e0 -005442a0 004cf210 -005442a0 007f0800 -005442a0 0081e9d0 -005442a0 00812c90 -005442a0 00af08b1 -005442a0 006fe410 -005442a0 006be840 -005442a0 0040b090 -005442a0 007078f0 -005442a0 006eef60 -005442a0 006b5b90 -005442a0 009b92c0 -005442a0 004288a0 -005442a0 00435c70 -005442a0 007e90f0 -005442a0 0040b030 005442a0 006b78d0 -005442a0 00408e00 -005442a0 006f0090 -005442a0 00a10600 -005442a0 006b31b0 -005442a0 00417430 -005442a0 00733ca0 -005442a0 006d6ba0 -005442a0 00435a50 +005442a0 00812c90 005442a0 004a5d10 +005442a0 0040a380 +005442a0 006d8260 +005442a0 006d82d0 +005442a0 006be840 +005442a0 007e33c0 +005442a0 008646e0 +005442a0 006d8d30 +005442a0 00733ca0 +005442a0 00a10600 +005442a0 006bec40 +005442a0 004565e0 +005442a0 00734180 +005442a0 007079c0 +005442a0 0043ef30 +005442a0 006ccdd0 +005442a0 006eef60 +005442a0 00a112c0 +005442a0 00aef12b +005442a0 00af08b1 +005442a0 00865340 +005442a0 00418500 +005442a0 00435a50 +005442a0 00417430 +005442a0 006fed60 +005442a0 0060d140 +005442a0 0040a780 +005442a0 0081e9d0 +005442a0 006ac760 +005442a0 004288a0 +005442a0 0040b090 +005442a0 007f0800 +005442a0 006d6ba0 +005442a0 00a68490 +005442a0 006ad870 +005442a0 0040b030 +005442a0 00431310 +005442a0 00435c70 005442a0 004071f0 +005442a0 006b31b0 +005442a0 007078f0 +005442a0 007e90f0 +005442a0 004cf210 +005442a0 00734900 +005442a0 007f0780 +005442a0 006fd350 +005442a0 00456380 +005442a0 0040a6e0 +005442a0 006d8e40 +005442a0 009b92c0 +005442a0 0040add0 +005442a0 005441e0 +005442a0 006f0090 +005442a0 009e0680 +005442a0 004cdcf0 +005442a0 006b5c10 +005442a0 00408e00 +005442a0 006b5b90 +005442a0 009e24a0 +005442a0 00734a80 005442a0 006d8b20 +005442a0 006fe410 +00545f70 00a10630 00545f70 0041a790 -00545f70 00af08b1 -00545f70 0041d540 +00545f70 006d6ba0 +00545f70 006ae630 +00545f70 0040a380 00545f70 00428b20 +00545f70 006d0c60 +00545f70 006d82d0 00545f70 006be840 +00545f70 00956110 +00545f70 006ac710 +00545f70 00431310 +00545f70 00435c70 +00545f70 006bec40 +00545f70 0040ae70 +00545f70 006d9050 +00545f70 0043ef30 +00545f70 0040add0 +00545f70 00a112c0 +00545f70 0041d540 +00545f70 006eef60 +00545f70 00aef12b +00545f70 00af08b1 00545f70 0041d520 00545f70 006d85a0 -00545f70 006eef60 -00545f70 0040add0 -00545f70 006d9050 -00545f70 00a112c0 -00545f70 00a648b0 -00545f70 00a10630 -00545f70 00435c70 -00545f70 006ac710 -00545f70 006bec40 -00545f70 0043ef30 -00545f70 00547040 -00545f70 00956110 -00545f70 006d82d0 -00545f70 006d0c60 -00545f70 00431310 -00545f70 0040a380 -00545f70 006cb2e0 -00545f70 00aef12b -00545f70 00417430 -00545f70 006ae630 -00545f70 006cae60 -00545f70 006d6ba0 -00545f70 0040ae70 00545f70 00435a50 +00545f70 00547040 +00545f70 00417430 +00545f70 006cae60 +00545f70 006cb2e0 00545f70 00a10030 -00547040 EXTERNAL:00000220 -00547040 EXTERNAL:00000262 +00545f70 00a648b0 00547040 00aef15c 00547040 0041af60 00547040 0042c920 -00547330 00af08b1 -00547330 EXTERNAL:00000262 -00547330 00428b20 -00547330 0041d540 -00547330 0040a380 -00547330 0041d520 -00547330 00aef12b -00547330 00813360 -00547330 004cdcf0 -00547330 006eef60 -00547330 00a648b0 -00547330 0041af60 -00547330 004cf210 +00547040 EXTERNAL:00000262 +00547040 EXTERNAL:00000220 00547330 007f0800 -00547b60 00428b20 -00547b60 0041d540 -00547b60 006be840 -00547b60 0041d520 -00547b60 006eef60 -00547b60 EXTERNAL:00000220 -00547b60 0040aaf0 -00547b60 007e33c0 +00547330 006eef60 +00547330 0041d540 +00547330 0041af60 +00547330 00aef12b +00547330 00428b20 +00547330 00af08b1 +00547330 0040a380 +00547330 004cdcf0 +00547330 0041d520 +00547330 004cf210 +00547330 00813360 +00547330 EXTERNAL:00000262 +00547330 00a648b0 00547b60 0040a940 +00547b60 00aef15c +00547b60 006d6ba0 +00547b60 00428b20 +00547b60 007e33c0 +00547b60 006be840 +00547b60 00af0911 +00547b60 0040c000 00547b60 006ac710 -00547b60 006bec40 00547b60 0040cf00 00547b60 006c0f30 -00547b60 007e4940 -00547b60 00408e00 -00547b60 006ba840 -00547b60 00aef12b -00547b60 006c1330 -00547b60 00af0911 -00547b60 006d6ba0 -00547b60 0040c000 -00547b60 00435a50 -00547b60 00aef15c -00547b60 006b45c0 00547b60 0040bf30 +00547b60 007e4940 +00547b60 0040aaf0 +00547b60 EXTERNAL:00000220 +00547b60 006bec40 +00547b60 006ba840 +00547b60 006eef60 +00547b60 0041d540 +00547b60 00aef12b 00547b60 00548720 +00547b60 0041d520 +00547b60 006b45c0 +00547b60 00435a50 00547b60 006b64d0 -00548720 00956110 +00547b60 00408e00 +00547b60 006c1330 +00548720 0043ef30 +00548720 006eef60 00548720 0041d540 +00548720 00a112c0 +00548720 00aef12b 00548720 00428b20 00548720 006d82d0 -00548720 0040a1b0 -00548720 0041d520 -00548720 006be840 -00548720 006cb2e0 -00548720 00aef12b -00548720 006eef60 -00548720 00a112c0 00548720 0040a5d0 -00548720 00435a50 +00548720 006be840 +00548720 00956110 +00548720 0041d520 00548720 006ac710 -00548720 006bec40 -00548720 0043ef30 +00548720 00435a50 00548720 006b64d0 -00548f30 006eef60 +00548720 006cb2e0 +00548720 0040a1b0 +00548720 006bec40 00548f30 00435a50 00548f30 007f0800 -005492c0 00af08b1 -005492c0 007f0df0 -005492c0 0041d540 -005492c0 0040a1b0 -005492c0 006fe410 -005492c0 0041d520 -005492c0 006be840 +00548f30 006eef60 +005492c0 006d6ba0 +005492c0 0040a380 +005492c0 0040a760 005492c0 0040b220 -005492c0 007f0780 -005492c0 006eef60 -005492c0 0040b1a0 -005492c0 0040a5d0 -005492c0 00435c70 +005492c0 006be840 +005492c0 0040b030 005492c0 006ac710 -005492c0 00af0770 +005492c0 00548f30 +005492c0 00435c70 +005492c0 00447770 +005492c0 004cf210 +005492c0 0040a1b0 +005492c0 007f0780 005492c0 006bec40 005492c0 0043ef30 -005492c0 0040b030 -005492c0 00af0917 -005492c0 0040a760 -005492c0 0040a380 -005492c0 006cb2e0 +005492c0 006eef60 +005492c0 0041d540 005492c0 00aef12b -005492c0 00408d00 -005492c0 00417430 +005492c0 00af08b1 005492c0 004cdcf0 -005492c0 006d6ba0 -005492c0 00447770 +005492c0 0040a5d0 +005492c0 00af0917 +005492c0 0041d520 005492c0 00435a50 -005492c0 004cf210 -005492c0 00548f30 -0054a350 007f0df0 -0054a350 00428b20 -0054a350 0040a1b0 -0054a350 006d82d0 -0054a350 006be840 -0054a350 0040b220 -0054a350 00aef12b -0054a350 006c1330 -0054a350 006eef60 -0054a350 0040aaf0 -0054a350 006d6ba0 -0054a350 EXTERNAL:00000220 -0054a350 00a112c0 -0054a350 007e33c0 -0054a350 00a10030 -0054a350 00435a50 +005492c0 00417430 +005492c0 00408d00 +005492c0 006cb2e0 +005492c0 0040b1a0 +005492c0 007f0df0 +005492c0 00af0770 +005492c0 006fe410 0054a350 00aef15c +0054a350 00a112c0 +0054a350 006eef60 +0054a350 006d6ba0 +0054a350 00aef12b +0054a350 00428b20 +0054a350 006d82d0 +0054a350 0040b220 +0054a350 006be840 +0054a350 007e33c0 0054a350 006ac710 -0054a350 006bec40 +0054a350 00435a50 0054a350 006b64d0 +0054a350 006c1330 +0054a350 00a10030 +0054a350 0040aaf0 +0054a350 0040a1b0 +0054a350 007f0df0 +0054a350 EXTERNAL:00000220 +0054a350 006bec40 0054ad80 0041a790 -0054ad80 00af08b1 -0054ad80 0067f1d0 -0054ad80 007e5340 -0054ad80 0041d540 -0054ad80 009e5c00 -0054ad80 006d88b0 -0054ad80 006be840 -0054ad80 0041d520 -0054ad80 00aef29d -0054ad80 007f0780 -0054ad80 004567e0 -0054ad80 009be080 -0054ad80 006eef60 -0054ad80 0067f260 -0054ad80 00499190 0054ad80 006d7df0 -0054ad80 00a112c0 -0054ad80 00a648b0 -0054ad80 006a8990 +0054ad80 007f0800 +0054ad80 0040a380 +0054ad80 006be840 +0054ad80 004567e0 0054ad80 006ac710 0054ad80 006c0f30 -0054ad80 007e3260 -0054ad80 007599d0 -0054ad80 00499380 -0054ad80 0040a380 -0054ad80 00417430 -0054ad80 004cdcf0 -0054ad80 00aef253 -0054ad80 009be530 -0054ad80 00435a50 -0054ad80 0041af60 +0054ad80 00aef29d +0054ad80 009e5c00 0054ad80 004cf210 -0054ad80 007f0800 -0054bca0 00791320 -0054bca0 00812f50 -0054bca0 00791530 -0054bca0 0041d540 -0054bca0 00431310 -0054bca0 0067f070 -0054bca0 006be840 -0054bca0 0040a380 -0054bca0 0041d520 -0054bca0 006cb2e0 -0054bca0 006ac760 -0054bca0 00aef12b -0054bca0 00417430 -0054bca0 009be080 -0054bca0 006eef60 +0054ad80 00499190 +0054ad80 007f0780 +0054ad80 006d88b0 +0054ad80 0067f1d0 +0054ad80 00aef253 +0054ad80 00499380 +0054ad80 007e3260 +0054ad80 009be080 +0054ad80 009be530 +0054ad80 0067f260 +0054ad80 007e5340 +0054ad80 00a112c0 +0054ad80 006eef60 +0054ad80 0041d540 +0054ad80 0041af60 +0054ad80 00af08b1 +0054ad80 004cdcf0 +0054ad80 0041d520 +0054ad80 00435a50 +0054ad80 00417430 +0054ad80 006a8990 +0054ad80 007599d0 +0054ad80 00a648b0 0054bca0 009be530 -0054bca0 00435a50 -0054bca0 00a10030 -0054bca0 006ad870 -0054bca0 006bec40 -0054bca0 004071f0 0054bca0 0043ef30 +0054bca0 006eef60 +0054bca0 0041d540 +0054bca0 006ad870 +0054bca0 00aef12b +0054bca0 0040a380 +0054bca0 00812f50 +0054bca0 006be840 +0054bca0 0067f070 +0054bca0 0041d520 +0054bca0 00431310 +0054bca0 00791320 +0054bca0 00435a50 +0054bca0 004071f0 +0054bca0 00417430 +0054bca0 00791530 +0054bca0 006cb2e0 +0054bca0 00a10030 +0054bca0 006ac760 +0054bca0 006bec40 +0054bca0 009be080 0054bca0 00a0ffc0 -0054ccc0 006eef60 -0054ccc0 00791530 -0054ccc0 007915a0 +0054ccc0 00956780 0054ccc0 00435c70 0054ccc0 0092dc30 -0054ccc0 006fe410 0054ccc0 007c36b0 -0054ccc0 00956780 0054ccc0 007abe20 -0054ccc0 007911f0 +0054ccc0 006eef60 0054ccc0 009a2bc0 +0054ccc0 00791530 +0054ccc0 007911f0 +0054ccc0 007915a0 +0054ccc0 006fe410 0054d250 0041a790 -0054d250 0044bcc0 -0054d250 00af08b1 -0054d250 007f0df0 +0054d250 00557a60 +0054d250 006d6ba0 0054d250 00428b20 -0054d250 007e5340 -0054d250 0040a1b0 -0054d250 0067f170 -0054d250 0044be50 -0054d250 006be840 -0054d250 006eef60 -0054d250 00499410 -0054d250 00a648b0 -0054d250 00a112c0 -0054d250 0040a5d0 0054d250 007e33c0 +0054d250 006be840 0054d250 006ac710 +0054d250 00431310 +0054d250 0044be50 +0054d250 00447770 +0054d250 004cf210 +0054d250 0040a1b0 0054d250 006bec40 0054d250 0043ef30 -0054d250 0054d1b0 -0054d250 00431310 -0054d250 00a0f4c0 -0054d250 006cb2e0 +0054d250 007e5340 +0054d250 006eef60 +0054d250 00a112c0 0054d250 00aef12b +0054d250 00a0f4c0 +0054d250 00af08b1 +0054d250 0054d1b0 0054d250 004cdcf0 -0054d250 006d6ba0 -0054d250 00447770 -0054d250 00557a60 +0054d250 0040a5d0 0054d250 00435a50 -0054d250 004cf210 0054d250 006b64d0 -0054eb80 00812f50 -0054eb80 00407170 -0054eb80 00499230 -0054eb80 00499380 -0054eb80 00a10100 -0054eb80 0067f070 -0054eb80 006fe410 -0054eb80 0040a380 -0054eb80 0040b220 -0054eb80 006cb2e0 -0054eb80 00aef12b -0054eb80 006eef60 -0054eb80 00499190 -0054eb80 006d6ba0 -0054eb80 00435a50 -0054eb80 00703330 -0054eb80 006c04b0 -0054eb80 006bec40 -0054eb80 0043ef30 -0054eb80 00813520 +0054d250 0067f170 +0054d250 006cb2e0 +0054d250 00499410 +0054d250 007f0df0 +0054d250 0044bcc0 +0054d250 00a648b0 0054eb80 00703950 +0054eb80 0043ef30 +0054eb80 006eef60 +0054eb80 006d6ba0 +0054eb80 006c04b0 +0054eb80 00aef12b +0054eb80 0040a380 +0054eb80 00812f50 +0054eb80 00813520 +0054eb80 0040b220 +0054eb80 0067f070 +0054eb80 00499230 +0054eb80 00435a50 +0054eb80 00407170 +0054eb80 00703330 +0054eb80 006cb2e0 +0054eb80 00499190 +0054eb80 00a10100 +0054eb80 006bec40 +0054eb80 00499380 +0054eb80 006fe410 0054f670 00435a50 0054f670 0040b220 -0054fa80 00956110 -0054fa80 006d82d0 -0054fa80 006d8b20 0054fa80 00aef12b -005505c0 004a11c0 -005505c0 0049cbf0 -005505c0 0041d540 -005505c0 00428b20 -005505c0 0040a1b0 -005505c0 0041d520 -005505c0 00aef12b -005505c0 009be080 -005505c0 006eef60 -005505c0 006baa70 -005505c0 0040add0 -005505c0 006d6ba0 -005505c0 0040ae70 -005505c0 EXTERNAL:00000220 -005505c0 00a648b0 -005505c0 00a112c0 -005505c0 0040a5d0 -005505c0 00435a50 +0054fa80 006d82d0 +0054fa80 00956110 +0054fa80 006d8b20 005505c0 00aef15c +005505c0 0040add0 +005505c0 006eef60 +005505c0 006d6ba0 +005505c0 0041d540 +005505c0 00a112c0 005505c0 0041af60 -005505c0 006bec40 +005505c0 00aef12b +005505c0 004a11c0 +005505c0 00428b20 +005505c0 0040a5d0 +005505c0 0041d520 +005505c0 00435a50 +005505c0 006baa70 +005505c0 0049cbf0 005505c0 0081e9d0 -005513a0 006ccdd0 +005505c0 0040a1b0 +005505c0 EXTERNAL:00000220 +005505c0 006bec40 +005505c0 009be080 +005505c0 0040ae70 +005505c0 00a648b0 005513a0 0043ef30 +005513a0 006ccdd0 005513a0 00aef12b -00551d30 0070ee40 -00551d30 0040a5d0 -00551d30 00428b20 -00551d30 0040a1b0 -00551d30 007e1e70 -00551d30 007e90f0 00551d30 009bea10 +00551d30 0070ee40 00551d30 00417870 -00551d30 0040ccd0 +00551d30 007e90f0 00551d30 00aef12b +00551d30 00428b20 +00551d30 007e1e70 +00551d30 0040a5d0 +00551d30 0040ccd0 +00551d30 0040a1b0 005522d0 00aef12b 00552d30 0041a790 -00552d30 007f0df0 -00552d30 0067f1d0 -00552d30 0067f070 -00552d30 0040a1b0 -00552d30 006ac530 -00552d30 006fe410 -00552d30 006be840 -00552d30 006eef60 -00552d30 0067f260 -00552d30 00a648b0 -00552d30 0040a5d0 -00552d30 006b6470 -00552d30 007e33c0 -00552d30 00435c70 -00552d30 006bec40 -00552d30 007e90f0 -00552d30 0040b030 -00552d30 0081e6e0 -00552d30 00945190 -00552d30 00a10100 -00552d30 0040a380 -00552d30 00417430 -00552d30 004cdcf0 -00552d30 00505cc0 -00552d30 00435a50 -00552d30 0092dc30 -00552d30 004cf210 00552d30 007f0800 -00552d30 006b64d0 +00552d30 0040a380 +00552d30 006ac530 +00552d30 0081e6e0 +00552d30 006be840 +00552d30 007e33c0 +00552d30 00945190 +00552d30 0067f070 +00552d30 0040b030 +00552d30 00435c70 +00552d30 0092dc30 +00552d30 007e90f0 +00552d30 004cf210 +00552d30 0040a1b0 +00552d30 0067f1d0 +00552d30 006bec40 00552d30 00956780 +00552d30 0067f260 +00552d30 006eef60 +00552d30 004cdcf0 +00552d30 006b6470 +00552d30 00505cc0 +00552d30 0040a5d0 +00552d30 00435a50 +00552d30 006b64d0 +00552d30 00417430 00552d30 00945470 -005542e0 007cf8c0 -005542e0 006ac560 -005542e0 006b6af0 -005542e0 0040b220 -005542e0 006ac760 -005542e0 0040a780 -005542e0 006ae280 -005542e0 0040add0 -005542e0 00a648b0 -005542e0 006b6470 +00552d30 007f0df0 +00552d30 00a10100 +00552d30 006fe410 +00552d30 00a648b0 005542e0 00a10630 -005542e0 006bec40 -005542e0 00813ce0 -005542e0 006b62b0 -005542e0 0043ef30 -005542e0 00436090 -005542e0 004314b0 -005542e0 00431310 -005542e0 00a10100 -005542e0 0040a550 -005542e0 0040a380 -005542e0 006cb2e0 -005542e0 00aef12b -005542e0 004cdcf0 -005542e0 00505cc0 -005542e0 0092dc30 -005542e0 0041b4f0 005542e0 00a115c0 -005542e0 004360f0 -005542e0 004cf210 -005542e0 0041a790 -005542e0 006d0c20 -005542e0 00af08b1 -005542e0 00428b20 -005542e0 004238f0 -005542e0 006a92a0 +005542e0 006b62b0 +005542e0 0040a380 005542e0 00a114d0 005542e0 006ac530 -005542e0 006a92e0 -005542e0 006be840 -005542e0 0040b090 -005542e0 0040a4d0 -005542e0 006eef60 -005542e0 006a9320 -005542e0 0040b030 -005542e0 00925df0 -005542e0 007706e0 -005542e0 00703670 -005542e0 00431640 -005542e0 00408e00 005542e0 0040a760 -005542e0 00431570 +005542e0 0040b220 +005542e0 006be840 +005542e0 004238f0 +005542e0 00813ce0 +005542e0 0092dc30 +005542e0 004314b0 005542e0 00a10600 -005542e0 004073b0 -005542e0 00417430 -005542e0 00813360 -005542e0 006d6ba0 +005542e0 006bec40 +005542e0 0043ef30 +005542e0 006a92a0 +005542e0 006eef60 +005542e0 00aef12b +005542e0 00af08b1 +005542e0 006b6470 +005542e0 006d0c20 005542e0 00435a50 +005542e0 00417430 +005542e0 006b6af0 +005542e0 004073b0 +005542e0 0040a780 +005542e0 00813360 005542e0 00a10030 -005542e0 006b66a0 +005542e0 006ac560 +005542e0 006ac760 +005542e0 0040b090 +005542e0 0041a790 +005542e0 006a92e0 +005542e0 006d6ba0 +005542e0 0040a550 +005542e0 00428b20 +005542e0 00431640 +005542e0 004360f0 +005542e0 00436090 +005542e0 0040b030 +005542e0 006a9320 +005542e0 00431310 005542e0 004071f0 +005542e0 006ae280 +005542e0 004cf210 +005542e0 00431570 +005542e0 0040a4d0 +005542e0 007706e0 005542e0 00956780 -005562b0 006d0c20 -005562b0 0044bcc0 -005562b0 0041d540 -005562b0 006b6af0 -005562b0 00704360 -005562b0 0040a6e0 +005542e0 0040add0 +005542e0 007cf8c0 +005542e0 004cdcf0 +005542e0 00505cc0 +005542e0 0041b4f0 +005542e0 00925df0 +005542e0 006b66a0 +005542e0 00408e00 +005542e0 006cb2e0 +005542e0 00703670 +005542e0 00a10100 +005542e0 00a648b0 +005562b0 0040a940 +005562b0 004b0f50 +005562b0 0040c340 +005562b0 006d6ba0 +005562b0 0040a550 +005562b0 0040a380 005562b0 00428b20 005562b0 006ac530 -005562b0 006be840 -005562b0 0041d520 -005562b0 0040b220 -005562b0 006ac760 -005562b0 006c1870 -005562b0 006eef60 -005562b0 007e6b90 -005562b0 004b0f50 -005562b0 004e8fa0 -005562b0 007e33c0 -005562b0 00435c70 -005562b0 0040a940 -005562b0 00682740 -005562b0 006bec40 -005562b0 0040c340 -005562b0 007e90f0 -005562b0 0040b030 -005562b0 0043ef30 -005562b0 00431450 -005562b0 00af0917 -005562b0 0041e420 -005562b0 00a10100 -005562b0 0040a550 005562b0 006d82d0 -005562b0 0040a380 -005562b0 006cb2e0 -005562b0 0040d040 -005562b0 00aef12b -005562b0 00813360 -005562b0 006d8e40 -005562b0 004cdcf0 -005562b0 00499d60 -005562b0 006d6ba0 -005562b0 006cae60 -005562b0 004b0e40 +005562b0 0040b220 +005562b0 006be840 +005562b0 007e33c0 +005562b0 0040b030 +005562b0 00682740 +005562b0 007e6b90 +005562b0 00435c70 005562b0 00447770 -005562b0 00a10030 -005562b0 00435a50 +005562b0 007e90f0 +005562b0 00431450 +005562b0 00499d60 005562b0 004cf210 +005562b0 004b0e40 +005562b0 006bec40 +005562b0 0040a6e0 +005562b0 006d8e40 +005562b0 0043ef30 +005562b0 006c1870 +005562b0 0041d540 +005562b0 006eef60 +005562b0 00aef12b +005562b0 0041e420 +005562b0 004cdcf0 +005562b0 004e8fa0 +005562b0 00af0917 +005562b0 0041d520 +005562b0 006d0c20 +005562b0 00435a50 +005562b0 006b6af0 +005562b0 006cae60 +005562b0 006cb2e0 +005562b0 00a10030 +005562b0 00813360 +005562b0 006ac760 +005562b0 00a10100 +005562b0 00704360 +005562b0 0040d040 +005562b0 0044bcc0 005579b0 006b10f0 005579b0 004e9b10 -00557a60 EXTERNAL:00000220 00557a60 00aef15c +00557a60 EXTERNAL:00000220 00557b00 004288a0 00557b70 00557bd0 00557bd0 00af05f1 -00557ce0 EXTERNAL:00000220 -00557ce0 EXTERNAL:00000262 -00557ce0 00499d20 00557ce0 00aef15c 00557ce0 0041af60 00557ce0 0042c920 -00557f70 00558070 +00557ce0 EXTERNAL:00000262 +00557ce0 EXTERNAL:00000220 +00557ce0 00499d20 00557f70 0041d540 +00557f70 00558070 00557f70 0041d520 00558070 00435a50 -005581b0 00557f70 005581b0 00435a50 -005583d0 0040add0 +005581b0 00557f70 +005583d0 00956780 005583d0 00435a50 005583d0 0092dc30 -005583d0 006be840 -005583d0 006cb2e0 005583d0 0043ef30 +005583d0 0040add0 005583d0 00aef12b -005583d0 00956780 -005586b0 00557ce0 +005583d0 006cb2e0 +005583d0 006be840 005586b0 00aef12b -00558fe0 004cdcf0 +005586b0 00557ce0 00558fe0 006eef60 +00558fe0 004cf210 +00558fe0 004cdcf0 00558fe0 0040a5d0 00558fe0 0040a1b0 00558fe0 006fe410 -00558fe0 004cf210 -005591c0 004cdcf0 005591c0 004cf210 +005591c0 004cdcf0 005593c0 0041a790 +005593c0 00956780 +005593c0 0043ef30 +005593c0 0040add0 005593c0 0041d540 +005593c0 006eef60 +005593c0 00aef12b 005593c0 0040a380 +005593c0 004cdcf0 +005593c0 0040b220 005593c0 006be840 005593c0 0041d520 -005593c0 005591c0 -005593c0 0040b220 -005593c0 006cb2e0 -005593c0 00aef12b -005593c0 004cdcf0 -005593c0 006eef60 -005593c0 0040add0 -005593c0 00a648b0 005593c0 00435a50 005593c0 0092dc30 -005593c0 006bec40 005593c0 004cf210 -005593c0 0043ef30 -005593c0 00956780 -0055a010 006eef60 -0055a010 006ccdd0 -0055a010 006c0f30 -0055a010 006b9bb0 +005593c0 006cb2e0 +005593c0 005591c0 +005593c0 006bec40 +005593c0 00a648b0 0055a010 006d7d60 -0055a010 00428b20 +0055a010 00956780 +0055a010 006c0f30 0055a010 00435a50 0055a010 0092dc30 -0055a010 006be840 0055a010 0043ef30 +0055a010 006ccdd0 +0055a010 006eef60 0055a010 00aef12b -0055a010 00956780 -0055a850 006cb010 +0055a010 00428b20 +0055a010 006be840 +0055a010 006b9bb0 0055a850 006eef60 -0055a850 006b9bb0 0055a850 0041d540 -0055a850 006fe410 +0055a850 006cb010 +0055a850 006b9bb0 0055a850 0041d520 -0055ad20 006ccdd0 -0055ad20 00704360 -0055ad20 00428b20 -0055ad20 0041d540 -0055ad20 0067f070 -0055ad20 006be840 -0055ad20 0041d520 -0055ad20 006eef60 -0055ad20 0040add0 -0055ad20 EXTERNAL:00000220 -0055ad20 0040a5d0 -0055ad20 007e33c0 -0055ad20 006bec40 -0055ad20 0043ef30 -0055ad20 007e4940 -0055ad20 00408e00 +0055a850 006fe410 0055ad20 006d7d60 +0055ad20 00aef15c +0055ad20 006d6ba0 0055ad20 006d8260 0055ad20 0040a380 -0055ad20 00aef12b -0055ad20 006c1330 -0055ad20 006d8e40 -0055ad20 006cae60 -0055ad20 006d6ba0 -0055ad20 006b9bb0 -0055ad20 00435a50 -0055ad20 00aef15c +0055ad20 00428b20 +0055ad20 006be840 +0055ad20 007e33c0 +0055ad20 0067f070 0055ad20 0092dc30 -0055ad20 00956780 +0055ad20 007e4940 0055ad20 0060af00 -0055b740 0041d540 -0055b740 006d82d0 -0055b740 0067f070 -0055b740 0040a1b0 -0055b740 00738470 -0055b740 0040a380 -0055b740 0041d520 -0055b740 006be840 -0055b740 0040b220 -0055b740 007e9080 -0055b740 00417430 -0055b740 006eef60 -0055b740 00499d60 -0055b740 006d6ba0 -0055b740 0040ae70 -0055b740 0040a5d0 -0055b740 00435a50 -0055b740 00a10030 +0055ad20 EXTERNAL:00000220 +0055ad20 006bec40 +0055ad20 00956780 +0055ad20 006d8e40 +0055ad20 0043ef30 +0055ad20 0040add0 +0055ad20 006ccdd0 +0055ad20 006eef60 +0055ad20 0041d540 +0055ad20 00aef12b +0055ad20 0040a5d0 +0055ad20 0041d520 +0055ad20 00435a50 +0055ad20 006cae60 +0055ad20 00408e00 +0055ad20 006c1330 +0055ad20 006b9bb0 +0055ad20 00704360 0055b740 00a10630 +0055b740 00738470 +0055b740 007e9080 +0055b740 006eef60 +0055b740 006d6ba0 +0055b740 0041d540 +0055b740 0040a380 +0055b740 006d82d0 +0055b740 0040b220 +0055b740 0040a5d0 +0055b740 006be840 +0055b740 0067f070 +0055b740 0041d520 0055b740 00682740 +0055b740 00435a50 +0055b740 00417430 0055b740 007e90f0 -0055b740 006bec40 0055b740 004cf210 +0055b740 00499d60 +0055b740 00a10030 +0055b740 0040a1b0 +0055b740 006bec40 0055b740 00a0ffc0 +0055b740 0040ae70 0055c4c0 006eef60 0055c4c0 006fe410 0055c6a0 00499d20 -0055c810 007f0df0 -0055c810 006d82d0 -0055c810 0067f070 -0055c810 00452bf0 -0055c810 00499d20 -0055c810 0055c6a0 -0055c810 0040a380 -0055c810 006be840 -0055c810 004561b0 -0055c810 00aef12b -0055c810 00417430 -0055c810 006eef60 -0055c810 00499d60 -0055c810 0040add0 -0055c810 EXTERNAL:00000220 -0055c810 0040a5d0 -0055c810 00a10030 0055c810 00aef15c +0055c810 004561b0 +0055c810 0040add0 +0055c810 006eef60 +0055c810 00aef12b +0055c810 0040a380 +0055c810 006d82d0 +0055c810 0040a5d0 +0055c810 006be840 +0055c810 0067f070 +0055c810 00417430 +0055c810 0055c6a0 +0055c810 00499d60 +0055c810 00452bf0 +0055c810 00a10030 +0055c810 007f0df0 +0055c810 EXTERNAL:00000220 +0055c810 00499d20 0055cef0 006eef60 0055cef0 006fe410 0055d0b0 00825730 0055d180 0055d070 -0055d230 0044bcc0 -0055d230 006a92a0 -0055d230 006d82d0 -0055d230 00a10100 -0055d230 00431310 -0055d230 006d9550 -0055d230 006be840 -0055d230 0040a380 -0055d230 00812f00 -0055d230 00aef12b -0055d230 00813360 -0055d230 004cdcf0 -0055d230 006eef60 -0055d230 0040add0 -0055d230 006cae60 0055d230 006d9050 -0055d230 00825c50 +0055d230 0040add0 +0055d230 006a92a0 +0055d230 006eef60 0055d230 00a112c0 +0055d230 00aef12b +0055d230 0040a380 +0055d230 006d9550 0055d230 0055d0b0 -0055d230 00435a50 -0055d230 006bec40 -0055d230 004cf210 +0055d230 004cdcf0 +0055d230 006d82d0 +0055d230 006be840 0055d230 00436090 +0055d230 00431310 +0055d230 00435a50 +0055d230 006cae60 +0055d230 00812f00 +0055d230 004cf210 +0055d230 00813360 +0055d230 0044bcc0 +0055d230 006bec40 +0055d230 00a10100 +0055d230 00825c50 0055d230 00a0ffc0 -0055fb60 0041d540 -0055fb60 00499d20 -0055fb60 006d82d0 -0055fb60 0041d520 -0055fb60 0040a380 -0055fb60 006cb2e0 -0055fb60 00aef12b -0055fb60 006eef60 -0055fb60 00499d60 -0055fb60 006b9bb0 -0055fb60 006d6ba0 -0055fb60 00435a50 -0055fb60 006ac710 -0055fb60 006bec40 0055fb60 0043ef30 -0055fb60 006b64d0 +0055fb60 0041d540 +0055fb60 006eef60 +0055fb60 006d6ba0 +0055fb60 00aef12b +0055fb60 0040a380 +0055fb60 006d82d0 0055fb60 00af0917 +0055fb60 0041d520 +0055fb60 006ac710 +0055fb60 00435a50 +0055fb60 006b64d0 +0055fb60 00499d60 +0055fb60 006cb2e0 +0055fb60 006b9bb0 +0055fb60 006bec40 +0055fb60 00499d20 0055fb60 00a0ffc0 -00560570 0055c4c0 -00560570 00813520 00560570 00aef12b -00560ca0 00956110 -00560ca0 EXTERNAL:00000262 -00560ca0 0041d540 -00560ca0 00428b20 -00560ca0 00704360 -00560ca0 0040a1b0 -00560ca0 0041d520 -00560ca0 00aef12b -00560ca0 004cdcf0 -00560ca0 006eef60 -00560ca0 006d0ca0 +00560570 00813520 +00560570 0055c4c0 +00560ca0 00956780 00560ca0 0040add0 -00560ca0 006cae60 +00560ca0 006eef60 +00560ca0 0041d540 +00560ca0 00aef12b +00560ca0 00428b20 +00560ca0 004cdcf0 00560ca0 0040a5d0 00560ca0 007e33c0 +00560ca0 00956110 +00560ca0 0041d520 +00560ca0 006d0ca0 00560ca0 00435a50 00560ca0 0092dc30 -00560ca0 006bec40 +00560ca0 006cae60 00560ca0 004cf210 -00560ca0 00956780 -00561580 006d0ca0 -00561580 00a648b0 -00561580 00447770 +00560ca0 0040a1b0 +00560ca0 EXTERNAL:00000262 +00560ca0 006bec40 +00560ca0 00704360 00561580 00435a50 -00561a20 004073d0 -00561a20 00408e00 -00561a20 0041d540 -00561a20 00428b20 -00561a20 006be840 -00561a20 0041d520 -00561a20 0040a380 -00561a20 006cb2e0 -00561a20 00aef12b +00561580 006d0ca0 +00561580 00447770 +00561580 00a648b0 +00561a20 0040a940 +00561a20 00aef15c 00561a20 00700060 -00561a20 006c1330 +00561a20 0043ef30 00561a20 006eef60 -00561a20 EXTERNAL:00000220 -00561a20 0040aaf0 -00561a20 006cae60 00561a20 006d6ba0 +00561a20 0041d540 +00561a20 00aef12b +00561a20 00428b20 +00561a20 0040a380 00561a20 007e33c0 +00561a20 006be840 +00561a20 004073d0 +00561a20 0041d520 +00561a20 006ac710 00561a20 00435c70 00561a20 00435a50 -00561a20 00aef15c -00561a20 0040a940 -00561a20 006ac710 +00561a20 00408e00 +00561a20 006cae60 +00561a20 006c1330 +00561a20 006cb2e0 +00561a20 0040aaf0 +00561a20 EXTERNAL:00000220 00561a20 006bec40 -00561a20 0043ef30 00562290 0041a790 -00562290 00956110 -00562290 00408e00 +00562290 00700060 +00562290 0040add0 +00562290 006eef60 00562290 0041d540 +00562290 006d6ba0 +00562290 00aef12b 00562290 00428b20 00562290 006d82d0 -00562290 0040a1b0 -00562290 0041d520 -00562290 0040b220 -00562290 00aef12b -00562290 00700060 -00562290 006eef60 -00562290 0040add0 -00562290 0040ac70 -00562290 006d6ba0 -00562290 0040ae70 -00562290 0040aaf0 -00562290 00a648b0 00562290 0040a5d0 +00562290 0040ac70 +00562290 0040b220 +00562290 00956110 +00562290 0041d520 00562290 00435c70 00562290 00435a50 +00562290 00408e00 00562290 00a10030 00562290 00aefca0 -00562f00 006c0f30 -00562f00 00408e00 -00562f00 006fe410 -00562f00 006d88b0 -00562f00 0040b220 -00562f00 00aef12b -00562f00 006fd350 -00562f00 006eef60 -00562f00 0040ac70 -00562f00 0040a5d0 -00562f00 00435a50 +00562290 0040aaf0 +00562290 0040a1b0 +00562290 00a648b0 +00562290 0040ae70 00562f00 0040a940 +00562f00 006eef60 +00562f00 00aef12b +00562f00 0040a5d0 +00562f00 0040ac70 +00562f00 0040b220 +00562f00 00435a50 +00562f00 006c0f30 +00562f00 006b64d0 +00562f00 00408e00 00562f00 007e90f0 00562f00 00aefca0 -00562f00 006b64d0 -00563da0 006ccdd0 -00563da0 0041d540 -00563da0 00428b20 -00563da0 00499d20 -00563da0 0040a1b0 -00563da0 0041d520 -00563da0 006be840 -00563da0 006d85a0 -00563da0 006eef60 -00563da0 0040add0 -00563da0 006d9050 -00563da0 EXTERNAL:00000220 -00563da0 0040a5d0 -00563da0 007e33c0 +00562f00 006fd350 +00562f00 006d88b0 +00562f00 006fe410 00563da0 00a10630 -00563da0 00682740 -00563da0 006ac710 -00563da0 0043ef30 -00563da0 007e3260 -00563da0 00408e00 -00563da0 006d82d0 -00563da0 00682ed0 -00563da0 00682a50 -00563da0 00aef12b -00563da0 00417430 -00563da0 006d8e40 -00563da0 00813360 -00563da0 006c1330 -00563da0 00499d60 -00563da0 006d6ba0 -00563da0 0040ae70 -00563da0 006cae60 00563da0 00aef15c -00564f30 0041d540 -00564f30 006d82d0 -00564f30 0040a1b0 -00564f30 00a0f4c0 -00564f30 0041d520 -00564f30 006be840 -00564f30 007f0780 -00564f30 006b68c0 +00563da0 006d6ba0 +00563da0 00428b20 +00563da0 00682ed0 +00563da0 006d82d0 +00563da0 006be840 +00563da0 007e33c0 +00563da0 006ac710 +00563da0 00682740 +00563da0 00499d60 +00563da0 00682a50 +00563da0 0040a1b0 +00563da0 EXTERNAL:00000220 +00563da0 007e3260 +00563da0 0040ae70 +00563da0 00499d20 +00563da0 006d8e40 +00563da0 006d9050 +00563da0 0043ef30 +00563da0 0040add0 +00563da0 006ccdd0 +00563da0 006eef60 +00563da0 0041d540 +00563da0 00aef12b +00563da0 0040a5d0 +00563da0 0041d520 +00563da0 006d85a0 +00563da0 00417430 +00563da0 006cae60 +00563da0 00408e00 +00563da0 006c1330 +00563da0 00813360 00564f30 006eef60 -00564f30 00499190 +00564f30 0041d540 00564f30 006d6ba0 -00564f30 00499410 +00564f30 00a0f4c0 +00564f30 006d82d0 00564f30 0040a5d0 +00564f30 006be840 +00564f30 0041d520 00564f30 00435a50 00564f30 00435c70 +00564f30 006b68c0 +00564f30 00499410 +00564f30 007f0780 +00564f30 0040a1b0 +00564f30 00499190 00565680 00a112c0 -00565680 00408b90 00565680 0040b220 -00565bc0 006eef60 -00565bc0 0092dc30 -00565bc0 006fe410 -00565bc0 0040a380 -00565bc0 006ac760 +00565680 00408b90 00565bc0 00956780 00565bc0 00548f30 -00565e00 004cdcf0 +00565bc0 0092dc30 +00565bc0 006eef60 +00565bc0 0040a380 +00565bc0 006ac760 +00565bc0 006fe410 +00565e00 00435a50 +00565e00 006d81c0 00565e00 006eef60 +00565e00 0041d540 +00565e00 004cf210 +00565e00 004cdcf0 +00565e00 00813360 00565e00 00499190 00565e00 0044bcc0 -00565e00 006d81c0 -00565e00 0041d540 -00565e00 00435a50 +00565e00 0041d520 00565e00 00a10100 00565e00 006fe410 -00565e00 0041d520 -00565e00 004cf210 -00565e00 00813360 -00566810 00703670 -00566810 006ac560 +00566810 00956780 +00566810 00567d50 +00566810 0043ef30 +00566810 006eef60 +00566810 00aef12b +00566810 0040a380 +00566810 0040b220 +00566810 006be840 00566810 0067f070 +00566810 0041d520 00566810 004238f0 +00566810 00682740 +00566810 00435a50 +00566810 00435c70 +00566810 004071f0 +00566810 0092dc30 +00566810 006cb2e0 +00566810 00a10030 +00566810 006ac560 +00566810 00703670 +00566810 006ac760 00566810 00a10100 00566810 006fe410 -00566810 0040a380 -00566810 0041d520 -00566810 006be840 -00566810 0040b220 -00566810 006cb2e0 -00566810 00aef12b -00566810 006ac760 -00566810 00567d50 -00566810 006eef60 -00566810 00435a50 -00566810 00a10030 -00566810 00435c70 -00566810 0092dc30 -00566810 00682740 -00566810 004071f0 -00566810 0043ef30 -00566810 00956780 00566810 00a0ffc0 -00567d50 006d7cf0 -00567d50 00703670 -00567d50 0041d540 -00567d50 00428b20 -00567d50 0041d520 -00567d50 006b31b0 -00567d50 004cdcf0 -00567d50 006eef60 -00567d50 004d8b50 -00567d50 00435c70 -00567d50 0092dc30 -00567d50 004cf210 -00567d50 007f0800 00567d50 00956780 +00567d50 007f0800 +00567d50 0041d540 +00567d50 006eef60 +00567d50 00428b20 +00567d50 004cdcf0 +00567d50 0041d520 +00567d50 006d7cf0 +00567d50 00435c70 +00567d50 004d8b50 +00567d50 0092dc30 +00567d50 006b31b0 +00567d50 004cf210 +00567d50 00703670 00568980 00431310 +00568a90 00956780 +00568a90 0092dc30 +00568a90 00568980 00568a90 006ae630 00568a90 0040a5d0 00568a90 0040a1b0 -00568a90 0092dc30 -00568a90 00568980 -00568a90 00956780 +00568cc0 005688c0 +00568cc0 00428b20 +00568cc0 004cf210 00568cc0 004cdcf0 00568cc0 006ac2a0 -00568cc0 0044bcc0 -00568cc0 00428b20 -00568cc0 005688c0 -00568cc0 004cf210 00568cc0 00436220 -00569170 00568cc0 -00569170 00407170 -00569170 006b6af0 -00569170 0041d540 -00569170 00568a90 -00569170 0040bd50 -00569170 0041d520 -00569170 0040b220 -00569170 00703770 -00569170 006ac760 -00569170 0096f310 -00569170 0040a780 -00569170 0040add0 -00569170 00a112c0 -00569170 006b6470 -00569170 0043ef30 -00569170 0042eef0 -00569170 00812e60 -00569170 008167e0 -00569170 0067f010 -00569170 0040a550 -00569170 00a10100 -00569170 00431310 -00569170 0040a380 -00569170 00956940 -00569170 006cb2e0 -00569170 0044bc90 -00569170 00aef12b -00569170 009568e0 -00569170 00567d50 -00569170 004cdcf0 -00569170 004d8b50 -00569170 00431760 -00569170 00812d00 -00569170 0092dc30 -00569170 00703330 -00569170 006b5f10 -00569170 004cf210 -00569170 00945470 -00569170 00a0ffc0 -00569170 006d7cf0 -00569170 0041a790 -00569170 006d0c20 -00569170 0040a360 -00569170 006b66c0 -00569170 007f2390 -00569170 00428b20 -00569170 006b6830 -00569170 004cdd80 -00569170 006a92a0 -00569170 00452bf0 -00569170 006be840 -00569170 0040b090 -00569170 0040a4d0 -00569170 007cd950 -00569170 006eef60 -00569170 006a9ba0 -00569170 00945130 -00569170 EXTERNAL:00000220 -00569170 0040a5d0 -00569170 006b6c20 -00569170 00435c70 -00569170 006a9320 -00569170 006b5b50 -00569170 006ac710 -00569170 0040cf00 -00569170 0040ccd0 -00569170 006d6c20 -00569170 0040b030 -00569170 00703670 -00569170 006c0f30 -00569170 00408e00 -00569170 0040a720 -00569170 005688c0 -00569170 006d0c60 -00569170 00812f00 -00569170 0040d040 -00569170 004073b0 -00569170 00568980 -00569170 006b31b0 -00569170 009bc690 -00569170 00435a50 -00569170 00a10030 +00568cc0 0044bcc0 00569170 00aef15c -00569170 00944d10 +00569170 005688c0 +00569170 00568980 +00569170 0040a380 +00569170 0040b220 +00569170 006be840 +00569170 0040cf00 +00569170 004d8b50 +00569170 006c0f30 +00569170 0092dc30 +00569170 008167e0 +00569170 00407170 +00569170 0040a720 +00569170 00812e60 +00569170 EXTERNAL:00000220 +00569170 0067f010 +00569170 0044bc90 +00569170 0043ef30 +00569170 00568a90 +00569170 006a92a0 +00569170 00a112c0 +00569170 006eef60 +00569170 0041d540 00569170 0041af60 -00569170 004175b0 +00569170 00aef12b +00569170 006b6470 +00569170 006b6830 +00569170 0040a360 +00569170 0041d520 +00569170 006d0c20 +00569170 00435a50 +00569170 00812d00 +00569170 006b6af0 +00569170 006b6c20 00569170 0063b4a0 +00569170 004073b0 +00569170 00703330 +00569170 004175b0 +00569170 00945470 +00569170 0040a780 +00569170 00a10030 +00569170 0040bd50 +00569170 006a9ba0 +00569170 006ac760 +00569170 0040d040 +00569170 0040b090 +00569170 00567d50 +00569170 0041a790 +00569170 006b5b50 +00569170 00568cc0 +00569170 0040a550 +00569170 00428b20 +00569170 006d0c60 +00569170 0040ccd0 +00569170 0040b030 +00569170 006a9320 +00569170 006ac710 +00569170 00431310 +00569170 00435c70 +00569170 006b31b0 +00569170 004cf210 +00569170 0040a4d0 +00569170 006d6c20 +00569170 00452bf0 +00569170 007cd950 +00569170 00431760 +00569170 00a0ffc0 00569170 00956780 -0056c800 00812f50 -0056c800 00703670 -0056c800 006eef60 -0056c800 00428b20 -0056c800 0041d540 +00569170 00944d10 +00569170 0040add0 +00569170 00703770 +00569170 004cdcf0 +00569170 0040a5d0 +00569170 0042eef0 +00569170 009bc690 +00569170 006d7cf0 +00569170 0096f310 +00569170 006b66c0 +00569170 00408e00 +00569170 00956940 +00569170 004cdd80 +00569170 009568e0 +00569170 006b5f10 +00569170 00812f00 +00569170 007f2390 +00569170 006cb2e0 +00569170 00703670 +00569170 00a10100 +00569170 00945130 +0056c800 00956780 0056c800 00435a50 0056c800 0092dc30 +0056c800 006eef60 +0056c800 0041d540 +0056c800 00812f50 +0056c800 00428b20 +0056c800 00703670 0056c800 0041d520 -0056c800 00956780 -0056cd60 006ccdd0 -0056cd60 00407170 -0056cd60 0041d540 -0056cd60 0041d520 -0056cd60 0040b220 -0056cd60 0092e230 -0056cd60 0040add0 -0056cd60 00a648b0 -0056cd60 006b6470 -0056cd60 007e33c0 -0056cd60 006bec40 -0056cd60 0043ef30 -0056cd60 0056c7c0 -0056cd60 0040a550 -0056cd60 00431310 0056cd60 0040a380 -0056cd60 006cb2e0 -0056cd60 00aef12b -0056cd60 004cdcf0 -0056cd60 0040ae70 -0056cd60 0092e620 -0056cd60 00812d00 -0056cd60 0092dc30 -0056cd60 00703330 -0056cd60 004cf210 -0056cd60 0056ff00 -0056cd60 00823590 -0056cd60 00a0ffc0 -0056cd60 006d7cf0 -0056cd60 006ac2a0 -0056cd60 0067f1d0 -0056cd60 00428b20 -0056cd60 006b6830 -0056cd60 00499d20 -0056cd60 00452bf0 -0056cd60 006be840 -0056cd60 0040b090 -0056cd60 006eef60 -0056cd60 006b5b90 -0056cd60 0056c800 -0056cd60 004997f0 -0056cd60 006ac710 -0056cd60 0040b030 -0056cd60 0092e560 -0056cd60 00703670 -0056cd60 00682ed0 -0056cd60 00682a50 -0056cd60 0040d040 -0056cd60 00a10600 -0056cd60 004073b0 -0056cd60 006b31b0 -0056cd60 00813360 -0056cd60 00499d60 0056cd60 004c5850 -0056cd60 00435a50 -0056cd60 0092e6e0 +0056cd60 00682ed0 +0056cd60 0040b220 +0056cd60 007e33c0 +0056cd60 006be840 +0056cd60 0092e560 +0056cd60 0092dc30 +0056cd60 0092e620 +0056cd60 00407170 +0056cd60 0067f1d0 +0056cd60 00a10600 +0056cd60 006bec40 +0056cd60 00499d20 +0056cd60 0043ef30 +0056cd60 006ccdd0 +0056cd60 006eef60 +0056cd60 0041d540 +0056cd60 0056c800 0056cd60 0041af60 -0056cd60 00944d10 +0056cd60 00aef12b +0056cd60 006b6470 +0056cd60 006b6830 +0056cd60 0092e6e0 +0056cd60 0041d520 +0056cd60 00435a50 +0056cd60 00812d00 +0056cd60 004073b0 +0056cd60 00703330 +0056cd60 006ac2a0 +0056cd60 00813360 +0056cd60 0040d040 +0056cd60 0040b090 +0056cd60 0040a550 +0056cd60 00428b20 +0056cd60 0056ff00 +0056cd60 0040b030 +0056cd60 006ac710 +0056cd60 00431310 0056cd60 004071f0 +0056cd60 004997f0 +0056cd60 006b31b0 +0056cd60 00499d60 +0056cd60 004cf210 +0056cd60 00682a50 +0056cd60 00452bf0 +0056cd60 0040ae70 +0056cd60 00a0ffc0 0056cd60 00956780 +0056cd60 0040add0 +0056cd60 00944d10 +0056cd60 0056c7c0 +0056cd60 004cdcf0 +0056cd60 006d7cf0 +0056cd60 006b5b90 +0056cd60 0092e230 +0056cd60 00823590 +0056cd60 006cb2e0 +0056cd60 00703670 +0056cd60 00a648b0 0056fcf0 0040a140 -0056fcf0 006b10f0 0056fcf0 00af0917 -0056ff00 00499950 +0056fcf0 006b10f0 0056ff00 0040ccd0 -0056ffa0 00428b20 -0056ffa0 0040a6e0 -0056ffa0 006b6af0 -0056ffa0 0040a1b0 -0056ffa0 004238f0 -0056ffa0 006be840 -0056ffa0 0040b090 -0056ffa0 0040b220 +0056ff00 00499950 0056ffa0 00417870 -0056ffa0 006ac760 -0056ffa0 00424540 -0056ffa0 006eef60 -0056ffa0 0082c720 -0056ffa0 0040a5d0 -0056ffa0 007e1e70 -0056ffa0 00710d90 -0056ffa0 006bec40 -0056ffa0 0074efd0 -0056ffa0 0040b030 -0056ffa0 00703670 -0056ffa0 006c0f30 -0056ffa0 006d0c60 -0056ffa0 00a10100 +0056ffa0 00428b20 0056ffa0 0040a380 +0056ffa0 00424540 +0056ffa0 0074efd0 +0056ffa0 006d0c60 +0056ffa0 0040b220 +0056ffa0 006be840 +0056ffa0 0040b030 +0056ffa0 004238f0 +0056ffa0 004d6ee0 +0056ffa0 006c0f30 +0056ffa0 004071f0 +0056ffa0 0092dc30 +0056ffa0 004cf210 +0056ffa0 0040a1b0 0056ffa0 00a10600 +0056ffa0 006bec40 +0056ffa0 00956780 +0056ffa0 00710d90 +0056ffa0 0040a6e0 +0056ffa0 006eef60 0056ffa0 00aef12b 0056ffa0 004cdcf0 -0056ffa0 00435a50 -0056ffa0 00a10030 -0056ffa0 0092dc30 +0056ffa0 007e1e70 +0056ffa0 0040a5d0 +0056ffa0 0082c720 0056ffa0 0041b4f0 -0056ffa0 004d6ee0 +0056ffa0 00435a50 +0056ffa0 006b6af0 0056ffa0 004175b0 -0056ffa0 004cf210 -0056ffa0 004071f0 +0056ffa0 00a10030 0056ffa0 0081e9d0 -0056ffa0 00956780 +0056ffa0 00703670 +0056ffa0 00a10100 +0056ffa0 006ac760 +0056ffa0 0040b090 00571170 004d6ee0 -005711a0 00571230 005711a0 0040cf00 005711a0 0040cee0 +005711a0 00571230 005711a0 00415bc0 -00571230 EXTERNAL:00000220 00571230 00aef15c -00571280 007e9020 -00571280 0044bcc0 -00571280 00428b20 -00571280 0041d540 -00571280 004cdd80 -00571280 0040a1b0 -00571280 0067f070 -00571280 0041d520 -00571280 006ac760 -00571280 00417870 -00571280 009be140 -00571280 006b5b90 -00571280 006eef60 -00571280 EXTERNAL:00000220 -00571280 00716db0 -00571280 0044bfb0 -00571280 0040a5d0 -00571280 00435c70 -00571280 006ac710 -00571280 0040cf00 -00571280 0040ccd0 -00571280 007178c0 -00571280 006393a0 -00571280 00763570 -00571280 004564b0 -00571280 007599d0 -00571280 00431310 -00571280 006d82d0 -00571280 00aef12b -00571280 00417430 -00571280 004cdcf0 -00571280 006d6ba0 -00571280 0040c000 -00571280 006127b0 -00571280 00716b10 -00571280 00435a50 +00571230 EXTERNAL:00000220 00571280 00aef15c -00571280 0040bf30 -00571280 004cf210 -00571280 00420a80 +00571280 004564b0 +00571280 00417870 +00571280 006d6ba0 +00571280 00428b20 +00571280 006d82d0 +00571280 0040ccd0 +00571280 009be140 +00571280 00716b10 +00571280 0067f070 +00571280 0040c000 +00571280 007e9020 +00571280 006ac710 +00571280 00431310 +00571280 0040cf00 +00571280 00435c70 00571280 00716760 +00571280 0040bf30 +00571280 00763570 +00571280 004cf210 +00571280 006393a0 +00571280 006127b0 +00571280 0040a1b0 +00571280 EXTERNAL:00000220 +00571280 006eef60 +00571280 0041d540 +00571280 00aef12b +00571280 00716db0 +00571280 004cdcf0 +00571280 007178c0 +00571280 0040a5d0 +00571280 0041d520 +00571280 00435a50 +00571280 00417430 +00571280 006b5b90 +00571280 004cdd80 +00571280 0044bfb0 +00571280 00420a80 +00571280 007599d0 +00571280 0044bcc0 +00571280 006ac760 005729a0 004cf210 00572a70 004567b0 -00572a70 EXTERNAL:00000262 00572a70 00435a50 00572a70 0041af60 +00572a70 EXTERNAL:00000262 00572c10 00408e00 00572c10 0040a5d0 00572c10 0040a1b0 -00572cc0 00428b20 -00572cc0 0041d540 -00572cc0 00431310 -00572cc0 0040bd50 -00572cc0 0040a1b0 -00572cc0 0041d520 -00572cc0 0040b220 -00572cc0 00aef12b -00572cc0 004cdcf0 -00572cc0 006eef60 -00572cc0 EXTERNAL:00000220 -00572cc0 0040a5d0 00572cc0 00aef15c +00572cc0 006eef60 +00572cc0 0041d540 +00572cc0 00aef12b +00572cc0 00428b20 +00572cc0 004cdcf0 +00572cc0 0040a5d0 +00572cc0 0040b220 +00572cc0 0041d520 +00572cc0 00431310 00572cc0 0040cf00 00572cc0 004cf210 -00573030 00684cb0 -00573030 004149d0 -00573030 006b6af0 -00573030 0041d540 -00573030 0040bd50 -00573030 00a100b0 -00573030 0041d520 -00573030 0040b220 -00573030 00703770 -00573030 0042c920 -00573030 006ac760 -00573030 004567e0 -00573030 004567b0 -00573030 00499190 -00573030 00a648b0 -00573030 00a10630 +00572cc0 0040a1b0 +00572cc0 0040bd50 +00572cc0 EXTERNAL:00000220 00573030 0040a940 -00573030 00572cc0 -00573030 0043ef30 -00573030 004f83a0 -00573030 0067f010 -00573030 0040a550 -00573030 00431310 -00573030 0040a380 -00573030 005729a0 -00573030 006cb2e0 -00573030 00498fd0 -00573030 00aef12b -00573030 0040ace0 -00573030 004cdcf0 -00573030 0040ae70 -00573030 007e6650 -00573030 00447770 -00573030 0092dc30 -00573030 00572c10 -00573030 004cf210 -00573030 00428b20 -00573030 004238f0 -00573030 0040a1b0 -00573030 006a92a0 -00573030 006a92e0 -00573030 0040b090 -00573030 006be840 -00573030 006eef60 -00573030 EXTERNAL:00000220 -00573030 0040a5d0 -00573030 0040b030 -00573030 0040ccd0 -00573030 00703670 -00573030 00408e00 -00573030 00572a70 -00573030 006d0c60 -00573030 004073b0 -00573030 00417430 -00573030 00408d00 -00573030 006d6ba0 -00573030 00435a50 -00573030 00a10030 -00573030 00575fe0 +00573030 00a10630 00573030 00aef15c +00573030 004f83a0 +00573030 00572cc0 +00573030 0040a380 +00573030 00a100b0 +00573030 0040b220 +00573030 006be840 +00573030 004238f0 +00573030 0092dc30 +00573030 00447770 +00573030 00498fd0 +00573030 00499190 +00573030 EXTERNAL:00000220 +00573030 0067f010 +00573030 0043ef30 +00573030 006a92a0 +00573030 006eef60 +00573030 0041d540 00573030 0041af60 +00573030 00aef12b +00573030 007e6650 +00573030 0041d520 +00573030 00572a70 +00573030 00435a50 +00573030 00417430 +00573030 006b6af0 +00573030 004073b0 +00573030 00408d00 00573030 004175b0 +00573030 00a10030 +00573030 0040bd50 +00573030 006ac760 +00573030 0040b090 +00573030 005729a0 +00573030 006a92e0 +00573030 004567b0 +00573030 004149d0 +00573030 006d6ba0 +00573030 0040a550 +00573030 00428b20 +00573030 006d0c60 +00573030 0040ccd0 +00573030 0040b030 +00573030 004567e0 +00573030 00431310 00573030 004071f0 +00573030 00684cb0 +00573030 004cf210 +00573030 0040a1b0 +00573030 00572c10 +00573030 0040ae70 00573030 00956780 -00575a10 00499d60 -00575a10 00408e00 +00573030 00703770 +00573030 004cdcf0 +00573030 0040a5d0 +00573030 0040ace0 +00573030 00408e00 +00573030 0042c920 +00573030 006cb2e0 +00573030 00575fe0 +00573030 00703670 +00573030 00a648b0 00575a10 00435a50 +00575a10 00408e00 00575a10 00409120 -00575a10 006b10f0 +00575a10 00499d60 00575a10 0040b220 00575a10 00af0917 -00576090 00812f50 +00575a10 006b10f0 00576090 00812c90 -00576090 0067f1d0 +00576090 00812f50 00576090 00813360 -00576450 00703670 -00576450 006b6af0 -00576450 00709db0 -00576450 0040a1b0 -00576450 00a0f4c0 -00576450 00709c40 -00576450 006ff2a0 -00576450 00aef12b -00576450 006eef60 +00576090 0067f1d0 00576450 006d6ba0 +00576450 006eef60 00576450 00a112c0 +00576450 00aef12b +00576450 006ff2a0 +00576450 00a0f4c0 00576450 0040a5d0 +00576450 006b6af0 +00576450 00709c40 +00576450 00709db0 00576450 00703330 -005769b0 00812c90 -005769b0 00684cb0 -005769b0 0067f1d0 -005769b0 00428b20 -005769b0 0041d540 -005769b0 00576450 -005769b0 0040a1b0 -005769b0 006be840 -005769b0 0041d520 -005769b0 0040b090 -005769b0 006ac760 -005769b0 0096f310 -005769b0 0040a780 +00576450 0040a1b0 +00576450 00703670 005769b0 004567b0 -005769b0 006eef60 -005769b0 0040add0 -005769b0 0040aaf0 -005769b0 00a648b0 -005769b0 0040a5d0 -005769b0 0040b030 -005769b0 0043ef30 -005769b0 00703670 -005769b0 00576090 -005769b0 00408e00 -005769b0 0040a720 -005769b0 006d0c60 -005769b0 00812ea0 -005769b0 0040a380 -005769b0 00812f00 -005769b0 00956940 -005769b0 006cb2e0 -005769b0 00aef12b -005769b0 00813360 -005769b0 004cdcf0 -005769b0 0040ae70 +005769b0 00812c90 005769b0 006d6ba0 +005769b0 00428b20 +005769b0 0040a380 +005769b0 006d0c60 +005769b0 006be840 +005769b0 0040b030 +005769b0 004071f0 +005769b0 0092dc30 +005769b0 00684cb0 +005769b0 004cf210 +005769b0 0040a720 +005769b0 0040a1b0 +005769b0 0040aaf0 +005769b0 0067f1d0 +005769b0 0040ae70 +005769b0 00956780 +005769b0 0043ef30 +005769b0 00576450 +005769b0 0040add0 +005769b0 006eef60 +005769b0 0041d540 +005769b0 00aef12b +005769b0 004cdcf0 +005769b0 0040a5d0 +005769b0 0041d520 +005769b0 0096f310 +005769b0 006b45c0 005769b0 00435a50 005769b0 00812d00 -005769b0 0092dc30 -005769b0 006b45c0 -005769b0 0096ce90 +005769b0 00408e00 +005769b0 00956940 005769b0 004175b0 -005769b0 004071f0 -005769b0 004cf210 -005769b0 00956780 +005769b0 00812f00 +005769b0 0096ce90 +005769b0 0040a780 +005769b0 006cb2e0 +005769b0 00813360 005769b0 0081e9d0 +005769b0 00812ea0 +005769b0 00703670 +005769b0 006ac760 +005769b0 00576090 +005769b0 00a648b0 +005769b0 0040b090 005784e0 00435a50 005784e0 006bec40 +005785a0 00435a50 005785a0 006eef60 005785a0 0041d540 -005785a0 00435a50 005785a0 0041d520 -00578820 004cdcf0 +00578820 00956780 +00578820 0092dc30 00578820 006eef60 00578820 00428b20 -00578820 0092dc30 -00578820 006be840 00578820 004cf210 -00578820 00956780 +00578820 004cdcf0 +00578820 006be840 00578820 0060af00 -00578a70 006ccdd0 -00578a70 0041d540 -00578a70 00428b20 -00578a70 00578820 -00578a70 0067f070 -00578a70 0040a1b0 -00578a70 006be840 -00578a70 0041d520 -00578a70 006eef60 -00578a70 0040add0 -00578a70 00a648b0 -00578a70 0040a5d0 -00578a70 0040b030 -00578a70 0043ef30 -00578a70 0040a380 -00578a70 006cb2e0 -00578a70 00aef12b -00578a70 005784e0 -00578a70 00813360 -00578a70 004cdcf0 00578a70 006d6ba0 -00578a70 0040ae70 -00578a70 00a10030 -00578a70 00435a50 +00578a70 0040a380 +00578a70 00428b20 +00578a70 006be840 +00578a70 0040b030 +00578a70 0067f070 00578a70 0092dc30 -00578a70 0041af60 +00578a70 00578820 00578a70 004cf210 +00578a70 0040a1b0 +00578a70 0040ae70 00578a70 00956780 +00578a70 0043ef30 +00578a70 0040add0 +00578a70 006ccdd0 +00578a70 006eef60 +00578a70 0041d540 +00578a70 0041af60 +00578a70 00aef12b +00578a70 004cdcf0 +00578a70 0040a5d0 +00578a70 005784e0 +00578a70 0041d520 +00578a70 00435a50 +00578a70 006cb2e0 +00578a70 00a10030 +00578a70 00813360 +00578a70 00a648b0 00579700 004cf210 005797b0 0096f310 -00579890 0041d540 -00579890 009e24a0 -00579890 0040a1b0 -00579890 00734900 -00579890 006fe410 -00579890 0041d520 -00579890 006be840 -00579890 007078f0 -00579890 006eef60 -00579890 004288a0 -00579890 0040add0 -00579890 00a112c0 -00579890 007079c0 -00579890 0040a5d0 00579890 0040a940 -00579890 008646e0 -00579890 009e0680 -00579890 006f0090 -00579890 00aef12b -00579890 00865340 -00579890 00418500 -00579890 00734180 -00579890 00733ca0 00579890 006d6ba0 -00579890 00734a80 -00579890 0092dc30 00579890 00a68490 +00579890 006be840 +00579890 0092dc30 +00579890 008646e0 +00579890 007078f0 00579890 004cf210 +00579890 00734900 +00579890 00733ca0 +00579890 0040a1b0 00579890 00956780 -0057bec0 006d7cf0 -0057bec0 006fd7c0 -0057bec0 004a11c0 -0057bec0 0041d540 +00579890 00734180 +00579890 007079c0 +00579890 0040add0 +00579890 006eef60 +00579890 0041d540 +00579890 00a112c0 +00579890 00aef12b +00579890 006f0090 +00579890 009e0680 +00579890 00865340 +00579890 0040a5d0 +00579890 00418500 +00579890 0041d520 +00579890 009e24a0 +00579890 00734a80 +00579890 004288a0 +00579890 006fe410 +0057bec0 00aef15c +0057bec0 006d6ba0 +0057bec0 0040a380 0057bec0 00428b20 +0057bec0 00426940 +0057bec0 0040b030 +0057bec0 00431310 +0057bec0 00435c70 +0057bec0 004d8b50 +0057bec0 004071f0 +0057bec0 007abe20 +0057bec0 0040a720 0057bec0 0040a1b0 -0057bec0 0057be90 -0057bec0 0041d520 -0057bec0 0040a780 -0057bec0 006eef60 -0057bec0 006b5b90 -0057bec0 0040add0 0057bec0 EXTERNAL:00000220 0057bec0 0074beb0 -0057bec0 0040a5d0 -0057bec0 00435c70 0057bec0 0043ef30 -0057bec0 0040b030 -0057bec0 00703670 -0057bec0 0049cbf0 -0057bec0 0040a720 -0057bec0 00431310 -0057bec0 0040a380 -0057bec0 006cb2e0 -0057bec0 00426940 +0057bec0 0040add0 +0057bec0 006eef60 +0057bec0 0041d540 0057bec0 00aef12b -0057bec0 006d6ba0 -0057bec0 004d8b50 -0057bec0 00435a50 -0057bec0 00aef15c +0057bec0 004a11c0 +0057bec0 0040a5d0 +0057bec0 0057be90 +0057bec0 0041d520 +0057bec0 006fd7c0 +0057bec0 006d7cf0 0057bec0 006b45c0 -0057bec0 004071f0 +0057bec0 00435a50 +0057bec0 0049cbf0 +0057bec0 006b5b90 +0057bec0 006cb2e0 +0057bec0 0040a780 0057bec0 0081e9d0 -0057bec0 007abe20 +0057bec0 00703670 0057e3b0 006b6af0 0057e430 006ccdd0 -0057e4a0 006d7cf0 -0057e4a0 006ccdd0 -0057e4a0 00407170 -0057e4a0 00428b20 -0057e4a0 0041d540 -0057e4a0 006b6af0 -0057e4a0 00704360 -0057e4a0 0040bd50 -0057e4a0 006be840 -0057e4a0 0041d520 -0057e4a0 0096f310 -0057e4a0 006eef60 -0057e4a0 0040add0 -0057e4a0 EXTERNAL:00000220 -0057e4a0 0040cf00 -0057e4a0 0043ef30 -0057e4a0 0057e3b0 -0057e4a0 00703670 -0057e4a0 006fed60 +0057e4a0 00aef15c +0057e4a0 006d6ba0 0057e4a0 0040a380 -0057e4a0 00703be0 -0057e4a0 0057e430 +0057e4a0 00428b20 +0057e4a0 006be840 +0057e4a0 0040cf00 +0057e4a0 004d8b50 +0057e4a0 004071f0 +0057e4a0 00407170 +0057e4a0 004cf210 +0057e4a0 EXTERNAL:00000220 +0057e4a0 0043ef30 +0057e4a0 0040add0 +0057e4a0 006ccdd0 +0057e4a0 006eef60 +0057e4a0 0041d540 0057e4a0 00aef12b 0057e4a0 004cdcf0 -0057e4a0 006d6ba0 -0057e4a0 004d8b50 +0057e4a0 0057e430 +0057e4a0 0041d520 +0057e4a0 006d7cf0 +0057e4a0 0096f310 +0057e4a0 0057e3b0 0057e4a0 00435a50 -0057e4a0 00aef15c -0057e4a0 004071f0 -0057e4a0 004cf210 +0057e4a0 006b6af0 +0057e4a0 00703be0 +0057e4a0 006fed60 +0057e4a0 0040bd50 +0057e4a0 00703670 +0057e4a0 00704360 00581200 006eef60 00581200 006fe410 -00581430 00499d60 -00581430 006eef60 +00581430 0043ef30 00581430 006ccdd0 +00581430 006eef60 00581430 0041d540 -00581430 00499d20 +00581430 00aef12b +00581430 00499d60 00581430 006be840 00581430 0041d520 -00581430 0043ef30 -00581430 00aef12b -00581730 006d7cf0 -00581730 006ccdd0 -00581730 00581430 -00581730 004a11c0 -00581730 00407170 -00581730 00428b20 -00581730 0040a1b0 -00581730 006be840 -00581730 0040a780 -00581730 006eef60 -00581730 0040add0 -00581730 EXTERNAL:00000220 -00581730 0040a5d0 -00581730 0043ef30 -00581730 00703670 -00581730 0049cbf0 -00581730 0040a380 -00581730 0057e430 -00581730 00aef12b -00581730 006d6ba0 +00581430 00499d20 00581730 00aef15c -00581730 0092dc30 +00581730 00581430 +00581730 006d6ba0 +00581730 0040a380 +00581730 00428b20 +00581730 006be840 00581730 004071f0 -00581730 00956780 +00581730 0092dc30 +00581730 00407170 +00581730 0040a1b0 00581730 0060af00 +00581730 EXTERNAL:00000220 +00581730 00956780 +00581730 0043ef30 +00581730 0040add0 +00581730 006ccdd0 +00581730 006eef60 +00581730 00aef12b +00581730 004a11c0 +00581730 0057e430 +00581730 0040a5d0 +00581730 006d7cf0 +00581730 0049cbf0 +00581730 0040a780 +00581730 00703670 +005828b0 00956780 +005828b0 0092dc30 005828b0 006eef60 005828b0 00428b20 -005828b0 0092dc30 005828b0 0081e9d0 -005828b0 00956780 -00582b60 004cdcf0 -00582b60 006eef60 -00582b60 EXTERNAL:00000220 -00582b60 00428b20 -00582b60 0040a5d0 00582b60 00435a50 -00582b60 00428590 -00582b60 0040a1b0 00582b60 00aef15c +00582b60 006eef60 +00582b60 00428590 +00582b60 00428b20 00582b60 004cf210 +00582b60 004cdcf0 +00582b60 0040a5d0 +00582b60 0040a1b0 +00582b60 EXTERNAL:00000220 +00582f60 00956780 +00582f60 0092dc30 00582f60 0040a5d0 00582f60 0040a1b0 -00582f60 0092dc30 -00582f60 00956780 -005832c0 0042f430 -005832c0 00683060 -005832c0 00408590 -005832c0 0040b220 -005832c0 00aef12b -005832c0 00416440 -005832c0 00589e40 -005832c0 00a14270 -005832c0 EXTERNAL:00000220 +005832c0 00aef15c 005832c0 00a112c0 +005832c0 00aef12b +005832c0 0042f430 +005832c0 00a10c00 +005832c0 0040b220 +005832c0 00af0917 +005832c0 00683060 +005832c0 00a14270 +005832c0 00589e40 +005832c0 00435a50 +005832c0 00408590 005832c0 0041fba0 005832c0 00a10fa0 -005832c0 00435a50 -005832c0 00aef15c -005832c0 00a10c00 -005832c0 00af0917 -00584140 006ccdd0 -00584140 004073d0 -00584140 00407170 -00584140 0041d540 -00584140 009e24a0 -00584140 00734900 -00584140 0041d520 -00584140 007f0780 -00584140 00582a80 -00584140 00a112c0 -00584140 007079c0 -00584140 006ad870 -00584140 004d8910 -00584140 0043ef30 -00584140 008646e0 -00584140 0067f010 -00584140 009e0680 -00584140 0040a380 -00584140 00aef12b -00584140 00865340 -00584140 00418500 -00584140 00734180 -00584140 004cdcf0 -00584140 00aef253 -00584140 00734a80 -00584140 006b5c10 -00584140 00a68490 -00584140 004cf210 -00584140 00582a60 -00584140 006d7cf0 -00584140 00812f50 -00584140 00af08b1 -00584140 0067f1d0 -00584140 0040a1b0 -00584140 006fe410 -00584140 00aef29d -00584140 007078f0 -00584140 006eef60 -00584140 006b5b90 -00584140 004288a0 -00584140 0040a5d0 -00584140 00435c70 -00584140 00af08ff +005832c0 00416440 +005832c0 EXTERNAL:00000220 00584140 006b78d0 -00584140 00703670 -00584140 006f0090 -00584140 00a10600 -00584140 00583170 -00584140 00417430 -00584140 00733ca0 -00584140 006d6ba0 -00584140 00435a50 -00584140 00a10030 00584140 004a5d10 -00584140 004071f0 +00584140 0040a380 +00584140 00aef29d +00584140 008646e0 +00584140 00407170 +00584140 00733ca0 +00584140 0067f1d0 +00584140 00a10600 +00584140 0067f010 +00584140 00734180 +00584140 007079c0 +00584140 0043ef30 +00584140 006ccdd0 +00584140 006eef60 +00584140 0041d540 +00584140 00a112c0 +00584140 00aef12b +00584140 00af08b1 00584140 00813520 +00584140 00865340 +00584140 00582a80 +00584140 00418500 +00584140 0041d520 +00584140 004d8910 +00584140 00435a50 +00584140 00417430 +00584140 00a10030 +00584140 00af08ff +00584140 004288a0 +00584140 00583170 +00584140 00a68490 +00584140 006d6ba0 +00584140 006ad870 +00584140 004073d0 +00584140 00582a60 +00584140 00435c70 +00584140 004071f0 +00584140 007078f0 +00584140 004cf210 +00584140 00734900 +00584140 0040a1b0 +00584140 007f0780 +00584140 00aef253 +00584140 00812f50 +00584140 006f0090 +00584140 009e0680 +00584140 004cdcf0 +00584140 0040a5d0 +00584140 006b5c10 +00584140 006d7cf0 00584140 006b64d0 -005864b0 004a11c0 -005864b0 006eef60 -005864b0 0049cbf0 -005864b0 EXTERNAL:00000220 +00584140 006b5b90 +00584140 009e24a0 +00584140 00734a80 +00584140 00703670 +00584140 006fe410 005864b0 00435a50 005864b0 00aef15c -005864b0 006be840 -005864b0 0040a380 +005864b0 0049cbf0 +005864b0 006eef60 005864b0 00aef12b +005864b0 004a11c0 +005864b0 0040a380 +005864b0 006be840 +005864b0 EXTERNAL:00000220 00586b50 00435a50 -00586c40 00499d60 -00586c40 006eef60 -00586c40 00428b20 -00586c40 00435a50 -00586c40 00499d20 -00586c40 0092dc30 -00586c40 006be840 -00586c40 006cb2e0 -00586c40 0043ef30 -00586c40 00aef12b 00586c40 00956780 -00587480 006eef60 -00587480 00428b20 +00586c40 00435a50 +00586c40 0043ef30 +00586c40 0092dc30 +00586c40 006eef60 +00586c40 00aef12b +00586c40 00428b20 +00586c40 00499d60 +00586c40 006cb2e0 +00586c40 006be840 +00586c40 00499d20 +00587480 00956780 00587480 00435a50 00587480 0092dc30 -00587480 006be840 -00587480 006cb2e0 +00587480 006eef60 00587480 00aef12b -00587480 00956780 -00587aa0 00812f50 -00587aa0 006d7cf0 -00587aa0 006ccdd0 -00587aa0 00582aa0 -00587aa0 00582b40 -00587aa0 00582ad0 -00587aa0 00428b20 -00587aa0 0041d540 -00587aa0 0040a1b0 -00587aa0 00499d20 -00587aa0 006fe410 -00587aa0 006be840 -00587aa0 0041d520 -00587aa0 006ac760 +00587480 00428b20 +00587480 006cb2e0 +00587480 006be840 00587aa0 00582b60 -00587aa0 006eef60 -00587aa0 0040add0 -00587aa0 00a648b0 -00587aa0 0040a5d0 -00587aa0 00583110 -00587aa0 00582f60 -00587aa0 0040b030 -00587aa0 0043ef30 +00587aa0 00582aa0 00587aa0 004f83a0 -00587aa0 00703670 -00587aa0 00582b00 -00587aa0 00408e00 -00587aa0 EXTERNAL:0000022d -00587aa0 00682ed0 -00587aa0 0040a380 -00587aa0 00587480 -00587aa0 00682a50 -00587aa0 00586b50 -00587aa0 006cb2e0 -00587aa0 00aef12b -00587aa0 004cdcf0 00587aa0 006d6ba0 -00587aa0 00435a50 -00587aa0 005864b0 -00587aa0 0092dc30 -00587aa0 0041af60 +00587aa0 00428b20 +00587aa0 0040a380 +00587aa0 00682ed0 +00587aa0 00583110 +00587aa0 006be840 +00587aa0 0040b030 00587aa0 004071f0 +00587aa0 0092dc30 +00587aa0 00582f60 00587aa0 004cf210 -00587aa0 00956780 +00587aa0 005830e0 +00587aa0 00682a50 +00587aa0 EXTERNAL:0000022d +00587aa0 0040a1b0 +00587aa0 00582b00 00587aa0 00586c40 00587aa0 00a0ffc0 -00587aa0 005830e0 -00589de0 006b10f0 +00587aa0 00499d20 +00587aa0 00956780 +00587aa0 00586b50 +00587aa0 0043ef30 +00587aa0 0040add0 +00587aa0 006ccdd0 +00587aa0 006eef60 +00587aa0 0041d540 +00587aa0 00582ad0 +00587aa0 0041af60 +00587aa0 00aef12b +00587aa0 00812f50 +00587aa0 005864b0 +00587aa0 004cdcf0 +00587aa0 0040a5d0 +00587aa0 00582b40 +00587aa0 0041d520 +00587aa0 006d7cf0 +00587aa0 00435a50 +00587aa0 00408e00 +00587aa0 006cb2e0 +00587aa0 00703670 +00587aa0 006ac760 +00587aa0 00587480 +00587aa0 006fe410 +00587aa0 00a648b0 00589de0 005832c0 -00589e40 00a10fa0 +00589de0 006b10f0 00589e40 0040cf00 -00589e40 0041fe10 +00589e40 00a10fa0 00589e40 0040cee0 00589e40 00415bc0 +00589e40 0041fe10 00589f90 00822820 -0058a010 0041d540 -0058a010 00734900 -0058a010 006fe410 -0058a010 00709c40 -0058a010 0041d520 -0058a010 007078f0 -0058a010 006eef60 -0058a010 004288a0 -0058a010 00a112c0 -0058a010 007079c0 -0058a010 00822820 +0058a010 00a68490 0058a010 008646e0 -0058a010 009e0680 +0058a010 0092dc30 +0058a010 007078f0 +0058a010 004cf210 +0058a010 00734900 +0058a010 00733ca0 +0058a010 009e2760 +0058a010 00713760 +0058a010 00734180 +0058a010 00956780 +0058a010 007079c0 +0058a010 006eef60 +0058a010 00a112c0 +0058a010 0041d540 +0058a010 00aef12b 0058a010 00a0f4c0 0058a010 006f0090 -0058a010 00aef12b +0058a010 009e0680 0058a010 00865340 0058a010 00418500 -0058a010 00734180 -0058a010 00733ca0 -0058a010 00734a80 -0058a010 00713760 +0058a010 0041d520 0058a010 00435a50 -0058a010 00a68490 -0058a010 009e2760 -0058a010 0092dc30 -0058a010 004cf210 -0058a010 00956780 +0058a010 00822820 +0058a010 00709c40 +0058a010 00734a80 +0058a010 004288a0 +0058a010 006fe410 0058ab60 0070bf10 -0058ab60 0070bec0 0058ab60 00822820 +0058ab60 0070bec0 0058ac10 0041a790 -0058ac10 00703670 +0058ac10 00700060 0058ac10 006eef60 +0058ac10 0041d540 +0058ac10 0041af60 +0058ac10 00aef12b +0058ac10 00428b20 +0058ac10 00703670 0058ac10 EXTERNAL:00000262 0058ac10 00704360 -0058ac10 0041d540 -0058ac10 00428b20 -0058ac10 0041af60 0058ac10 0041d520 -0058ac10 00aef12b -0058ac10 00700060 -0058aed0 004073d0 -0058aed0 00407170 -0058aed0 0041d540 -0058aed0 0041d520 -0058aed0 007f0780 -0058aed0 00700060 -0058aed0 007ebca0 -0058aed0 007e7070 -0058aed0 0058ac10 -0058aed0 00a648b0 -0058aed0 007e33c0 -0058aed0 006bec40 -0058aed0 0043ef30 -0058aed0 0067f010 -0058aed0 0040a550 -0058aed0 0040a380 -0058aed0 006cb2e0 -0058aed0 00aef12b -0058aed0 009568e0 -0058aed0 004cdcf0 -0058aed0 0040ae70 -0058aed0 004cf210 -0058aed0 007f0800 -0058aed0 0060af00 -0058aed0 0041a790 0058aed0 00812c90 -0058aed0 007f0df0 -0058aed0 00428b20 -0058aed0 00704360 -0058aed0 004238f0 -0058aed0 006a92a0 -0058aed0 0067f070 +0058aed0 0040a380 +0058aed0 007e33c0 0058aed0 006be840 -0058aed0 0040b090 -0058aed0 0058e210 +0058aed0 0067f070 +0058aed0 004238f0 +0058aed0 00407170 +0058aed0 0060af00 +0058aed0 006bec40 +0058aed0 0067f010 +0058aed0 0043ef30 +0058aed0 006a92a0 0058aed0 006eef60 -0058aed0 0040b1a0 -0058aed0 006ac710 -0058aed0 0040b030 -0058aed0 00703670 -0058aed0 00589f90 -0058aed0 0058ab60 -0058aed0 006d0c60 -0058aed0 00682a50 -0058aed0 00499d60 -0058aed0 006d6ba0 +0058aed0 007e7070 +0058aed0 0041d540 +0058aed0 00aef12b +0058aed0 00813520 +0058aed0 0041d520 0058aed0 00435a50 0058aed0 004175b0 -0058aed0 00813520 -0058d8b0 00408e00 -0058d8b0 007cb6e0 -0058d8b0 00428b20 -0058d8b0 00aef12b -0058d8b0 006eef60 -0058d8b0 EXTERNAL:00000220 +0058aed0 007ebca0 +0058aed0 0040b1a0 +0058aed0 0040b090 +0058aed0 0041a790 +0058aed0 007f0800 +0058aed0 006d6ba0 +0058aed0 0040a550 +0058aed0 00428b20 +0058aed0 006d0c60 +0058aed0 004073d0 +0058aed0 0040b030 +0058aed0 006ac710 +0058aed0 0058ab60 +0058aed0 004cf210 +0058aed0 00499d60 +0058aed0 00682a50 +0058aed0 007f0780 +0058aed0 0040ae70 +0058aed0 00700060 +0058aed0 004cdcf0 +0058aed0 0058ac10 +0058aed0 00589f90 +0058aed0 009568e0 +0058aed0 006cb2e0 +0058aed0 007f0df0 +0058aed0 00703670 +0058aed0 0058e210 +0058aed0 00704360 +0058aed0 00a648b0 +0058d8b0 00956780 +0058d8b0 00aef15c +0058d8b0 007f0800 0058d8b0 00a112c0 +0058d8b0 006eef60 +0058d8b0 00aef12b +0058d8b0 00428b20 0058d8b0 0040a5d0 +0058d8b0 0040ccd0 +0058d8b0 007cb6e0 +0058d8b0 00af0917 0058d8b0 0040c000 +0058d8b0 009be6b0 0058d8b0 00435c70 0058d8b0 00435a50 -0058d8b0 00aef15c 0058d8b0 0092dc30 -0058d8b0 009be6b0 +0058d8b0 00408e00 0058d8b0 0040bf30 -0058d8b0 007f0800 -0058d8b0 0040ccd0 0058d8b0 006d6c20 -0058d8b0 00956780 -0058d8b0 00af0917 +0058d8b0 EXTERNAL:00000220 0058e240 006ee440 -0058e260 004cdcf0 0058e260 006eef60 0058e260 00428b20 0058e260 004cf210 -0058e490 EXTERNAL:00000262 +0058e260 004cdcf0 0058e490 0041af60 0058e490 0060dae0 -0058e590 EXTERNAL:00000262 +0058e490 EXTERNAL:00000262 0058e590 0041af60 +0058e590 EXTERNAL:00000262 0058e590 00612890 -0058e680 004a11c0 -0058e680 006eef60 -0058e680 0049cbf0 -0058e680 EXTERNAL:00000220 -0058e680 0058e490 -0058e680 EXTERNAL:00000262 -0058e680 00a112c0 -0058e680 0058e590 0058e680 00aef15c +0058e680 0049cbf0 +0058e680 00a112c0 +0058e680 006eef60 0058e680 0041af60 0058e680 00aef12b -0058ec70 0041d540 -0058ec70 0064b920 -0058ec70 00428590 -0058ec70 0041d520 -0058ec70 00703770 -0058ec70 0060dae0 -0058ec70 006ac760 -0058ec70 0060af70 -0058ec70 00a648b0 -0058ec70 006b6470 -0058ec70 007e33c0 -0058ec70 006bec40 -0058ec70 0043ef30 -0058ec70 00753da0 -0058ec70 0067f010 -0058ec70 0058e490 -0058ec70 00930390 -0058ec70 0040a380 -0058ec70 006cb2e0 -0058ec70 00aef12b -0058ec70 004cdcf0 -0058ec70 00af0911 -0058ec70 0064bab0 -0058ec70 007e6650 -0058ec70 0058e260 -0058ec70 0092dc30 -0058ec70 004cf210 -0058ec70 00a0ffc0 -0058ec70 00812f50 -0058ec70 00428b20 -0058ec70 0058e590 -0058ec70 00499d20 -0058ec70 006a92a0 -0058ec70 005911b0 -0058ec70 0058e680 -0058ec70 006a92e0 -0058ec70 006be840 -0058ec70 0040b090 -0058ec70 0040a4d0 -0058ec70 00417870 -0058ec70 00435a80 -0058ec70 006eef60 -0058ec70 EXTERNAL:00000220 -0058ec70 0040b030 -0058ec70 00770640 -0058ec70 00a0f4c0 -0058ec70 00682a50 -0058ec70 00499d60 -0058ec70 006d6ba0 -0058ec70 00435a50 -0058ec70 00a10030 +0058e680 004a11c0 +0058e680 0058e590 +0058e680 0058e490 +0058e680 EXTERNAL:00000262 +0058e680 EXTERNAL:00000220 0058ec70 00aef15c +0058ec70 00930390 +0058ec70 00417870 +0058ec70 0040a380 +0058ec70 0058e590 +0058ec70 006be840 +0058ec70 007e33c0 +0058ec70 00af0911 +0058ec70 0092dc30 +0058ec70 EXTERNAL:00000220 +0058ec70 006bec40 +0058ec70 0067f010 +0058ec70 00499d20 +0058ec70 0043ef30 +0058ec70 006a92a0 +0058ec70 006eef60 +0058ec70 0041d540 0058ec70 0041af60 +0058ec70 00aef12b +0058ec70 006b6470 +0058ec70 007e6650 +0058ec70 0060dae0 +0058ec70 0041d520 +0058ec70 00435a50 +0058ec70 0058e260 +0058ec70 00428590 0058ec70 004175b0 +0058ec70 00a10030 +0058ec70 006ac760 +0058ec70 0040b090 +0058ec70 006a92e0 +0058ec70 006d6ba0 +0058ec70 00428b20 +0058ec70 0058e490 +0058ec70 0040b030 0058ec70 004071f0 +0058ec70 0058e680 +0058ec70 004cf210 +0058ec70 00499d60 +0058ec70 0040a4d0 +0058ec70 00682a50 +0058ec70 00753da0 +0058ec70 005911b0 +0058ec70 00a0ffc0 0058ec70 00956780 -005911b0 00428b20 -005911b0 007ab380 -005911b0 00770ca0 +0058ec70 0064b920 +0058ec70 0064bab0 +0058ec70 00a0f4c0 +0058ec70 00812f50 +0058ec70 00703770 +0058ec70 004cdcf0 +0058ec70 0060af70 +0058ec70 00770640 +0058ec70 00435a80 +0058ec70 006cb2e0 +0058ec70 00a648b0 005911b0 007f0800 +005911b0 00428b20 005911b0 00813520 005911b0 0078f840 -00591460 00812f50 -00591460 0041d540 +005911b0 007ab380 +005911b0 00770ca0 +00591460 00aef15c +00591460 006d6ba0 +00591460 0040a380 00591460 00428b20 +00591460 006d0c60 +00591460 00612890 +00591460 EXTERNAL:00000220 +00591460 0058ec70 +00591460 0071b410 +00591460 00929a20 +00591460 0043ef30 +00591460 0040add0 +00591460 006eef60 +00591460 0041d540 +00591460 00a112c0 +00591460 00aef12b +00591460 00812f50 +00591460 006ee440 00591460 0041d520 00591460 0042c920 -00591460 006ac760 -00591460 006eef60 -00591460 0040add0 -00591460 EXTERNAL:00000220 -00591460 00a112c0 -00591460 00a648b0 -00591460 0071b410 -00591460 00612890 -00591460 0043ef30 -00591460 00703670 -00591460 0058ec70 -00591460 006d0c60 -00591460 0040a380 -00591460 006ee440 00591460 006cb2e0 -00591460 00aef12b 00591460 00813360 -00591460 006d6ba0 -00591460 00aef15c -00591460 00929a20 +00591460 00703670 +00591460 006ac760 +00591460 00a648b0 +00591cc0 00408e00 +00591cc0 00aef12b +00591cc0 004cf210 00591cc0 004cdcf0 00591cc0 006ac2a0 -00591cc0 00408e00 00591cc0 0040a5d0 00591cc0 0040b220 -00591cc0 004cf210 -00591cc0 00aef12b -00592050 0041d540 00592050 00435a50 +00592050 0041d540 00592050 0041d520 00592050 00612890 -00592280 004cdcf0 -00592280 006eef60 -00592280 0044bcc0 00592280 006d81c0 +00592280 006eef60 +00592280 00aef12b 00592280 00428b20 00592280 004cf210 -00592280 00aef12b -00592460 00407170 -00592460 0041d540 -00592460 009bb840 -00592460 0041d520 -00592460 0040b220 -00592460 0092e230 -00592460 004566b0 -00592460 0096f310 -00592460 0040add0 -00592460 00a112c0 -00592460 00a648b0 -00592460 006b6470 +00592280 004cdcf0 +00592280 0044bcc0 00592460 0040a940 -00592460 0043ef30 -00592460 00431310 -00592460 0040a550 -00592460 00417170 -00592460 0040a380 -00592460 0044bc90 -00592460 006cb2e0 -00592460 00aef12b -00592460 00592280 -00592460 00af0911 -00592460 0040ae70 -00592460 0092e620 -00592460 0092dc30 -00592460 004cf210 -00592460 006d7cf0 -00592460 007e2280 -00592460 00676150 -00592460 00428b20 -00592460 004cdd80 -00592460 00a114d0 -00592460 006a92e0 -00592460 00812c10 -00592460 0040b090 -00592460 0040a4d0 -00592460 006eef60 -00592460 00945130 -00592460 00435c70 -00592460 004214b0 -00592460 00592200 -00592460 0040b030 -00592460 00703670 -00592460 006d0c60 -00592460 00682ed0 -00592460 00812f00 -00592460 004073b0 -00592460 006b31b0 00592460 006ee340 -00592460 00435a50 -00592460 0092e6e0 +00592460 0040a380 +00592460 00a114d0 +00592460 00682ed0 +00592460 0040b220 +00592460 00af0911 +00592460 00417170 +00592460 0092dc30 +00592460 0092e620 +00592460 00407170 +00592460 0044bc90 +00592460 0043ef30 +00592460 00a112c0 +00592460 006eef60 +00592460 0041d540 00592460 0041af60 +00592460 00aef12b +00592460 006b6470 +00592460 0092e6e0 +00592460 0041d520 +00592460 00435a50 +00592460 004073b0 00592460 004175b0 +00592460 0040b090 +00592460 006a92e0 +00592460 00592200 +00592460 0040a550 +00592460 00428b20 +00592460 006d0c60 +00592460 0040b030 +00592460 00431310 +00592460 00435c70 +00592460 006b31b0 +00592460 004cf210 +00592460 0040a4d0 +00592460 004566b0 +00592460 0040ae70 00592460 00956780 +00592460 0040add0 +00592460 00676150 +00592460 007e2280 +00592460 004214b0 +00592460 00592280 +00592460 0096f310 +00592460 006d7cf0 +00592460 00812c10 +00592460 009bb840 +00592460 0092e230 +00592460 004cdd80 +00592460 00812f00 +00592460 006cb2e0 +00592460 00703670 +00592460 00945130 +00592460 00a648b0 +00596120 00435c70 +00596120 006b6c20 +00596120 006d6ba0 +00596120 006eef60 +00596120 00a112c0 +00596120 0041d540 +00596120 0040a380 00596120 006ac2a0 00596120 00af0911 -00596120 006eef60 00596120 00703670 -00596120 006d6ba0 -00596120 00a112c0 -00596120 006b6c20 -00596120 0041d540 -00596120 00435c70 -00596120 006fe410 -00596120 0040a380 00596120 0041d520 -00596c60 00812f50 -00596c60 0041e420 -00596c60 00407170 -00596c60 0041d540 -00596c60 006fe410 -00596c60 0041d520 -00596c60 0040a380 -00596c60 00aef12b -00596c60 00813360 -00596c60 006eef60 -00596c60 0092dc30 -00596c60 006831c0 +00596120 006fe410 00596c60 00956780 -005971e0 007e9020 -005971e0 00684cb0 -005971e0 0041d540 +00596c60 006831c0 +00596c60 006eef60 +00596c60 0041d540 +00596c60 00aef12b +00596c60 00812f50 +00596c60 0040a380 +00596c60 0041e420 +00596c60 0041d520 +00596c60 0092dc30 +00596c60 00407170 +00596c60 00813360 +00596c60 006fe410 005971e0 0040a6e0 -005971e0 00428b20 -005971e0 006fed60 -005971e0 00a10100 -005971e0 0041d520 -005971e0 006be840 -005971e0 00aef12b -005971e0 009568e0 -005971e0 004cdcf0 -005971e0 006eef60 -005971e0 00499190 -005971e0 00499d60 -005971e0 004b0e40 -005971e0 00435a50 -005971e0 00a10030 -005971e0 0092dc30 -005971e0 004cf210 005971e0 00956780 -005971e0 00a0ffc0 005971e0 004f83a0 -00597d00 00aef253 -00597d00 00598290 -00597d00 0042f430 +005971e0 006eef60 +005971e0 0041d540 +005971e0 00aef12b +005971e0 00428b20 +005971e0 004cdcf0 +005971e0 006be840 +005971e0 0041d520 +005971e0 007e9020 +005971e0 00435a50 +005971e0 0092dc30 +005971e0 006fed60 +005971e0 00684cb0 +005971e0 009568e0 +005971e0 004cf210 +005971e0 00499d60 +005971e0 00a10030 +005971e0 00499190 +005971e0 004b0e40 +005971e0 00a10100 +005971e0 00a0ffc0 00597d00 00435a50 00597d00 0041e720 00597d00 00aef29d -00597d00 0041e960 -00597d00 00aef12b 00597d00 00aef5af +00597d00 00aef12b +00597d00 0042f430 +00597d00 00598290 00597d00 00af0917 +00597d00 0041e960 +00597d00 00aef253 00598260 00597d00 00598260 006b10f0 -00598290 EXTERNAL:00000220 -00598290 00aef15c 00598290 0040cf00 +00598290 00aef15c 00598290 0040cee0 +00598290 EXTERNAL:00000220 00598290 00415bc0 +005983f0 00aef15c +005983f0 007f0800 005983f0 00812c90 -005983f0 004a11c0 -005983f0 006ccdd0 -005983f0 00407170 -005983f0 0067f1d0 -005983f0 007e5340 -005983f0 0041d540 -005983f0 00428b20 -005983f0 0067f070 -005983f0 0041d520 -005983f0 006be840 -005983f0 007f0780 -005983f0 0040a780 -005983f0 006eef60 -005983f0 EXTERNAL:00000220 -005983f0 007e33c0 -005983f0 006bec40 -005983f0 0040b030 -005983f0 0043ef30 -005983f0 004314b0 -005983f0 00703670 -005983f0 0049cbf0 +005983f0 006c04b0 +005983f0 006d6ba0 005983f0 0040a550 005983f0 0040a380 -005983f0 00a10600 -005983f0 006cb2e0 -005983f0 00aef12b -005983f0 00813360 -005983f0 009568e0 -005983f0 004cdcf0 -005983f0 006d6ba0 -005983f0 007069a0 -005983f0 00435a50 -005983f0 00a10030 +005983f0 00428b20 +005983f0 007e33c0 +005983f0 006be840 +005983f0 0040b030 +005983f0 0067f070 005983f0 0092dc30 -005983f0 00aef15c -005983f0 00703330 -005983f0 006c04b0 -005983f0 007f0800 +005983f0 004314b0 +005983f0 007069a0 +005983f0 00407170 005983f0 004cf210 -005983f0 00813520 -005983f0 00956780 +005983f0 007f0780 +005983f0 EXTERNAL:00000220 +005983f0 00a10600 +005983f0 0067f1d0 +005983f0 006bec40 005983f0 00a0ffc0 -005999b0 0040ccc0 -005999b0 EXTERNAL:00000220 -005999b0 00aef15c -005999b0 0040a380 +005983f0 00956780 +005983f0 0043ef30 +005983f0 007e5340 +005983f0 006ccdd0 +005983f0 006eef60 +005983f0 0041d540 +005983f0 00aef12b +005983f0 004a11c0 +005983f0 00813520 +005983f0 004cdcf0 +005983f0 0041d520 +005983f0 00435a50 +005983f0 0049cbf0 +005983f0 009568e0 +005983f0 00703330 +005983f0 0040a780 +005983f0 006cb2e0 +005983f0 00813360 +005983f0 00a10030 +005983f0 00703670 005999b0 0040cf00 -005999b0 0040ccd0 +005999b0 00aef15c +005999b0 0040ccc0 005999b0 00aef12b +005999b0 0040a380 +005999b0 0040ccd0 005999b0 00af05df -00599b80 0040aaf0 -00599b80 00408e00 -00599b80 005999b0 -00599b80 0040a5d0 -00599b80 00499d20 -00599b80 0040a1b0 -00599b80 00aef12b +005999b0 EXTERNAL:00000220 00599b80 0040ace0 -00599d70 00499d60 -00599d70 00408e00 +00599b80 005999b0 +00599b80 00408e00 +00599b80 00aef12b +00599b80 0040a5d0 +00599b80 0040aaf0 +00599b80 0040a1b0 +00599b80 00499d20 +00599d70 0040a940 00599d70 005999b0 +00599d70 00408e00 +00599d70 00aef12b +00599d70 0040a380 +00599d70 00499d60 00599d70 0040a5d0 00599d70 00408830 -00599d70 0040a940 -00599d70 0040a380 -00599d70 00aef12b -00599f80 0040cf50 -00599f80 EXTERNAL:00000220 +00599f80 00aef15c 00599f80 005999b0 00599f80 00408e00 +00599f80 0040cf50 +00599f80 00aef12b 00599f80 0040cae0 00599f80 EXTERNAL:0000022d -00599f80 00aef15c -00599f80 00aef12b 00599f80 00af0917 +00599f80 EXTERNAL:00000220 0059a200 005999b0 0059a200 00aef12b -0059a2d0 006ccdd0 -0059a2d0 00407170 -0059a2d0 0067f1d0 -0059a2d0 0041d540 -0059a2d0 007e5340 -0059a2d0 00428b20 -0059a2d0 00499d20 -0059a2d0 0067f070 -0059a2d0 0041d520 -0059a2d0 006be840 -0059a2d0 0040b220 -0059a2d0 007f0780 -0059a2d0 006eef60 -0059a2d0 00499190 0059a2d0 006d7df0 -0059a2d0 0040add0 -0059a2d0 00a112c0 -0059a2d0 007e33c0 -0059a2d0 006ac710 -0059a2d0 006bec40 -0059a2d0 0043ef30 -0059a2d0 00af0917 -0059a2d0 007e3260 -0059a2d0 005999b0 -0059a2d0 EXTERNAL:00000262 -0059a2d0 00682a50 -0059a2d0 0040a380 -0059a2d0 006cb2e0 -0059a2d0 00599f80 -0059a2d0 00aef12b -0059a2d0 0040ace0 -0059a2d0 004cdcf0 -0059a2d0 00499d60 0059a2d0 006d6ba0 +0059a2d0 00428b20 0059a2d0 00599b80 +0059a2d0 0040a380 +0059a2d0 0040b220 +0059a2d0 007e33c0 +0059a2d0 006be840 +0059a2d0 0067f070 +0059a2d0 006ac710 +0059a2d0 00599950 +0059a2d0 0092dc30 +0059a2d0 00407170 +0059a2d0 004cf210 +0059a2d0 00499d60 +0059a2d0 00682a50 +0059a2d0 007f0780 +0059a2d0 00499190 +0059a2d0 0067f1d0 +0059a2d0 EXTERNAL:00000262 +0059a2d0 006bec40 +0059a2d0 007e3260 +0059a2d0 00499d20 +0059a2d0 00956780 +0059a2d0 0043ef30 +0059a2d0 005999b0 +0059a2d0 007e5340 +0059a2d0 0040add0 +0059a2d0 006ccdd0 +0059a2d0 006eef60 +0059a2d0 0041d540 +0059a2d0 00a112c0 +0059a2d0 0041af60 +0059a2d0 00aef12b +0059a2d0 004cdcf0 +0059a2d0 00af0917 +0059a2d0 00599f80 +0059a2d0 0041d520 0059a2d0 00599d70 0059a2d0 00435a50 -0059a2d0 00a10030 -0059a2d0 0092dc30 +0059a2d0 0040ace0 0059a2d0 0059a200 -0059a2d0 00703330 -0059a2d0 0041af60 -0059a2d0 00499290 -0059a2d0 006a89b0 -0059a2d0 004cf210 -0059a2d0 00956780 0059a2d0 006b64d0 -0059a2d0 00599950 -0059bed0 00407170 +0059a2d0 00703330 +0059a2d0 006cb2e0 +0059a2d0 00a10030 +0059a2d0 006a89b0 +0059a2d0 00499290 0059bed0 00435a50 0059bed0 0041e720 -0059bed0 0041e960 +0059bed0 00407170 0059bed0 00aef12b 0059bed0 00af0917 -0059c4c0 0040ccc0 -0059c4c0 EXTERNAL:00000220 -0059c4c0 00aef15c +0059bed0 0041e960 0059c4c0 0040cf00 +0059c4c0 00aef15c +0059c4c0 0040ccc0 0059c4c0 00af05df +0059c4c0 EXTERNAL:00000220 +0059c5d0 0040ace0 0059c5d0 00408e00 0059c5d0 0040a5d0 -0059c5d0 00499d20 0059c5d0 0040b220 -0059c5d0 0040ace0 -0059c830 0041d540 -0059c830 0040a1b0 -0059c830 006fe410 -0059c830 0041d520 -0059c830 00456240 -0059c830 006eef60 -0059c830 00499190 -0059c830 006d7df0 -0059c830 0040aaf0 -0059c830 00499410 -0059c830 00435c70 -0059c830 006a8990 +0059c5d0 00499d20 0059c830 0040a940 -0059c830 006bec40 -0059c830 EXTERNAL:00000262 -0059c830 00499380 -0059c830 00a10100 -0059c830 00a0f4c0 -0059c830 00682a50 -0059c830 0040a380 -0059c830 00aef12b -0059c830 0059c5d0 -0059c830 004cdcf0 -0059c830 00499d60 -0059c830 006fd350 +0059c830 006d7df0 0059c830 006d6ba0 -0059c830 00408830 -0059c830 00435a50 -0059c830 006b45c0 -0059c830 0041af60 -0059c830 006827a0 -0059c830 004cf210 +0059c830 0040a380 +0059c830 00435c70 0059c830 004071f0 -0059c830 00420a80 +0059c830 00499d60 +0059c830 004cf210 +0059c830 00682a50 +0059c830 0040aaf0 +0059c830 0040a1b0 +0059c830 0059c5d0 +0059c830 00499190 +0059c830 006fd350 +0059c830 EXTERNAL:00000262 +0059c830 006bec40 +0059c830 006827a0 +0059c830 00499380 +0059c830 0041d540 +0059c830 006eef60 +0059c830 0041af60 +0059c830 00aef12b +0059c830 00a0f4c0 +0059c830 004cdcf0 +0059c830 0041d520 +0059c830 006b45c0 +0059c830 00435a50 +0059c830 00456240 0059c830 006b64d0 +0059c830 006a8990 +0059c830 00499410 +0059c830 00420a80 +0059c830 00a10100 +0059c830 00408830 +0059c830 006fe410 0059e2a0 00aef12b 0059e390 006eef60 -0059e390 00af08b1 -0059e390 00428b20 0059e390 0040b590 +0059e390 00428b20 +0059e390 00af08b1 0059e4c0 006eef60 0059e4c0 00703330 -0059e4c0 0040b590 0059e4c0 00aef12b +0059e4c0 0040b590 +0059e630 00aef12b 0059e630 00af08b1 0059e630 EXTERNAL:00000262 -0059e630 00aef12b -0059e730 004a11c0 -0059e730 00703670 -0059e730 0049cbf0 -0059e730 00af08b1 -0059e730 EXTERNAL:00000262 -0059e730 00aef12b -0059e730 00700060 -0059e730 006eef60 -0059e730 EXTERNAL:00000220 -0059e730 00a112c0 -0059e730 0059e4c0 -0059e730 0092dc30 -0059e730 00aef15c -0059e730 00703330 -0059e730 0041af60 0059e730 00956780 +0059e730 00700060 +0059e730 00aef15c +0059e730 0059e4c0 +0059e730 006eef60 +0059e730 00a112c0 +0059e730 0041af60 +0059e730 00aef12b +0059e730 004a11c0 +0059e730 00af08b1 0059e730 0059e630 -0059edb0 006a8f20 -0059edb0 006ccdd0 -0059edb0 00407170 -0059edb0 0040a6e0 -0059edb0 0041d540 -0059edb0 0067f170 -0059edb0 0041d520 +0059e730 0092dc30 +0059e730 0049cbf0 +0059e730 00703330 +0059e730 00703670 +0059e730 EXTERNAL:00000220 +0059e730 EXTERNAL:00000262 +0059edb0 006ae630 +0059edb0 0040a380 +0059edb0 006d8260 0059edb0 00a100b0 -0059edb0 0092e230 -0059edb0 00456570 -0059edb0 0040a780 -0059edb0 0049cb60 -0059edb0 0067f260 -0059edb0 0040add0 -0059edb0 00a112c0 -0059edb0 00a648b0 +0059edb0 00682ed0 +0059edb0 006be840 0059edb0 007e33c0 +0059edb0 0067f070 +0059edb0 00956110 +0059edb0 0092e560 +0059edb0 0049cb60 +0059edb0 006c0f30 +0059edb0 0092dc30 +0059edb0 0092e620 +0059edb0 004314b0 +0059edb0 00407170 +0059edb0 00456570 0059edb0 006bec40 0059edb0 0043ef30 -0059edb0 00af0917 -0059edb0 004314b0 -0059edb0 00956110 -0059edb0 0081e6e0 -0059edb0 00431310 -0059edb0 0040a550 -0059edb0 00a10100 -0059edb0 006d8260 -0059edb0 00820ac0 -0059edb0 005a6fb0 -0059edb0 009562d0 -0059edb0 0040a380 -0059edb0 006cb2e0 -0059edb0 00aef12b -0059edb0 0040ace0 -0059edb0 009568e0 -0059edb0 004cdcf0 -0059edb0 006ae630 -0059edb0 0081e220 -0059edb0 0092e620 -0059edb0 0059e730 -0059edb0 0092dc30 -0059edb0 00703330 -0059edb0 0081df10 -0059edb0 004cf210 -0059edb0 007f0800 -0059edb0 0081e9d0 -0059edb0 00a0ffc0 -0059edb0 006ac2a0 -0059edb0 0041a790 -0059edb0 00812f50 -0059edb0 004a11c0 -0059edb0 0092b190 -0059edb0 00af08b1 -0059edb0 00428b20 -0059edb0 0040a1b0 -0059edb0 0067f070 -0059edb0 0040b090 -0059edb0 006be840 +0059edb0 0067f260 +0059edb0 006ccdd0 0059edb0 006eef60 +0059edb0 00a112c0 +0059edb0 0041d540 +0059edb0 0041af60 +0059edb0 0059e730 +0059edb0 00aef12b +0059edb0 00af08b1 +0059edb0 004a11c0 +0059edb0 00813520 +0059edb0 0092e6e0 +0059edb0 00af0917 +0059edb0 0041d520 +0059edb0 00435a50 +0059edb0 0049cbf0 +0059edb0 00820ac0 +0059edb0 0067f170 +0059edb0 007e8f90 +0059edb0 00703330 +0059edb0 004175b0 +0059edb0 006ac2a0 +0059edb0 0040a780 +0059edb0 0081e9d0 +0059edb0 0092b190 +0059edb0 0081e220 +0059edb0 0040b090 +0059edb0 0041a790 +0059edb0 005a6fb0 +0059edb0 007f0800 +0059edb0 006d6ba0 +0059edb0 0040a550 +0059edb0 00428b20 +0059edb0 00426940 +0059edb0 0081e6e0 +0059edb0 0040b030 +0059edb0 006ac710 +0059edb0 00431310 +0059edb0 00694fb0 +0059edb0 00431450 +0059edb0 004cf210 +0059edb0 00aefca0 +0059edb0 0040a1b0 +0059edb0 009562d0 +0059edb0 006a8f20 +0059edb0 0081df10 +0059edb0 00a0ffc0 +0059edb0 00956780 +0059edb0 0040a6e0 +0059edb0 0040add0 +0059edb0 0059e4c0 +0059edb0 0059e390 +0059edb0 00812f50 +0059edb0 004cdcf0 0059edb0 0040a5d0 0059edb0 0092acb0 -0059edb0 006ac710 -0059edb0 00aefca0 -0059edb0 0040b030 -0059edb0 007e8f90 -0059edb0 00431450 -0059edb0 0092e560 -0059edb0 00703670 -0059edb0 006c0f30 -0059edb0 0049cbf0 +0059edb0 0040ace0 +0059edb0 0092e230 0059edb0 00408e00 -0059edb0 0059e390 -0059edb0 00682ed0 -0059edb0 00426940 -0059edb0 00694fb0 -0059edb0 006d6ba0 -0059edb0 0059e4c0 -0059edb0 00435a50 -0059edb0 0092e6e0 -0059edb0 0041af60 0059edb0 006ef1f0 -0059edb0 004175b0 -0059edb0 00813520 -0059edb0 00956780 -005a4820 00af08b1 -005a4820 00407170 -005a4820 0041d540 +0059edb0 009568e0 +0059edb0 006cb2e0 +0059edb0 00703670 +0059edb0 00a10100 +0059edb0 00a648b0 +005a4820 006ae630 +005a4820 0040a380 005a4820 00428b20 005a4820 0067f070 -005a4820 0040a1b0 -005a4820 0059e2a0 -005a4820 0041d520 -005a4820 0040a4d0 -005a4820 00700060 -005a4820 006eef60 -005a4820 00a112c0 -005a4820 0040a5d0 005a4820 006ac710 -005a4820 004be670 -005a4820 EXTERNAL:00000262 -005a4820 0040a380 -005a4820 00aef12b -005a4820 006ae630 -005a4820 00435a50 +005a4820 0059e2a0 005a4820 0092dc30 +005a4820 00407170 +005a4820 0040a4d0 +005a4820 0040a1b0 +005a4820 EXTERNAL:00000262 +005a4820 00956780 +005a4820 00700060 +005a4820 004be670 +005a4820 00a112c0 +005a4820 0041d540 +005a4820 006eef60 005a4820 0041af60 +005a4820 00aef12b +005a4820 00af08b1 +005a4820 0040a5d0 +005a4820 0041d520 +005a4820 00435a50 005a4820 00703330 005a4820 004175b0 -005a4820 00956780 -005a5b60 00812f50 -005a5b60 004073d0 -005a5b60 00af08b1 -005a5b60 EXTERNAL:00000262 +005a5b60 00956780 005a5b60 0041d540 -005a5b60 00428b20 -005a5b60 0041d520 -005a5b60 0040a380 -005a5b60 006be840 -005a5b60 00aef12b -005a5b60 0096f310 -005a5b60 004cdcf0 005a5b60 006eef60 +005a5b60 0041af60 +005a5b60 00aef12b +005a5b60 0040a380 +005a5b60 00428b20 +005a5b60 00af08b1 +005a5b60 00812f50 +005a5b60 00813520 +005a5b60 004cdcf0 +005a5b60 0059e630 +005a5b60 004073d0 +005a5b60 006be840 +005a5b60 0041d520 +005a5b60 0096f310 005a5b60 00435a50 005a5b60 0092dc30 -005a5b60 0041af60 005a5b60 004cf210 -005a5b60 00813520 -005a5b60 00956780 005a5b60 0081e9d0 -005a5b60 0059e630 -005a6b80 00408e00 -005a6b80 007e4940 -005a6b80 0040a1b0 -005a6b80 006be840 -005a6b80 00aef12b -005a6b80 006c1330 -005a6b80 006eef60 -005a6b80 0040aaf0 -005a6b80 EXTERNAL:00000220 -005a6b80 0040a5d0 -005a6b80 007e33c0 -005a6b80 00aef15c -005a6b80 0092dc30 -005a6b80 006bec40 +005a5b60 EXTERNAL:00000262 005a6b80 00956780 +005a6b80 00aef15c +005a6b80 006eef60 +005a6b80 00aef12b +005a6b80 0040a5d0 +005a6b80 006be840 +005a6b80 007e33c0 +005a6b80 0092dc30 +005a6b80 00408e00 +005a6b80 006c1330 +005a6b80 007e4940 +005a6b80 0040aaf0 +005a6b80 0040a1b0 +005a6b80 EXTERNAL:00000220 +005a6b80 006bec40 005a6fb0 00af0911 005a7010 006eef60 005a7010 0041d540 -005a7010 006fe410 005a7010 0041d520 -005a7310 004cdcf0 -005a7310 006eef60 -005a7310 EXTERNAL:00000220 -005a7310 00428b20 -005a7310 00428590 +005a7010 006fe410 005a7310 00aef15c +005a7310 006eef60 +005a7310 00428590 +005a7310 00428b20 005a7310 004cf210 +005a7310 004cdcf0 +005a7310 EXTERNAL:00000220 005a7590 00435a50 005a7590 006be840 -005a7920 00812f50 -005a7920 006eef60 005a7920 005a7590 +005a7920 006eef60 005a7920 0041d540 +005a7920 00812f50 005a7920 0041d520 005a7b20 0092e230 005a7b20 00aef12b @@ -10529,377 +10529,377 @@ 005aafd0 00435a50 005ab0b0 00435a50 005ab0b0 0040a380 -005ab180 00499d60 -005ab180 0067f1d0 -005ab180 0040a5d0 -005ab180 0040a1b0 -005ab180 0092dc30 005ab180 00956780 +005ab180 0092dc30 +005ab180 00499d60 +005ab180 0040a5d0 005ab180 00420a80 +005ab180 0040a1b0 +005ab180 0067f1d0 005ab180 0096f310 -005ab3e0 005ab0b0 -005ab3e0 0092dc30 005ab3e0 00956780 -005ab4d0 006b6af0 +005ab3e0 0092dc30 +005ab3e0 005ab0b0 005ab4d0 00435a50 -005ab4d0 005ab3e0 +005ab4d0 006b6af0 005ab4d0 00aef12b +005ab4d0 005ab3e0 +005acd30 00435a50 005acd30 00499d60 005acd30 00a10030 -005acd30 00435a50 005ad1c0 0092e230 005ad1c0 004cf210 -005ad250 006eef60 -005ad250 005acd30 -005ad250 00408e00 -005ad250 005acc70 +005ad250 005accb0 005ad250 005accf0 005ad250 00435c70 -005ad250 005accb0 +005ad250 00408e00 +005ad250 006eef60 +005ad250 005acc70 +005ad250 005acd30 005ad8a0 00435a50 005ad8a0 0040a380 -005ad8a0 0040b220 005ad8a0 004cf210 -005add40 004cdcf0 -005add40 006d6ba0 -005add40 005acc70 +005ad8a0 0040b220 005add40 005aafd0 -005add40 005ab180 -005add40 004cf210 +005add40 006d6ba0 005add40 00aef12b +005add40 005acc70 +005add40 004cf210 +005add40 004cdcf0 +005add40 005ab180 +005ae140 00956780 +005ae140 0092dc30 005ae140 006eef60 005ae140 00428b20 -005ae140 0092dc30 -005ae140 00956780 005ae1d0 0074f690 005ae1d0 0082d030 -005ae230 006eef60 005ae230 00435a50 +005ae230 006eef60 005ae490 00aef12b -005ae840 00499190 005ae840 00435a50 -005ae840 005ae140 005ae840 005ae0b0 +005ae840 005ae140 005ae840 0040b220 +005ae840 00499190 +005aef20 00435a50 005aef20 00812c90 005aef20 006eef60 005aef20 0041d540 -005aef20 00435a50 005aef20 00a10030 +005aef20 006be840 005aef20 006bec40 005aef20 0041d520 -005aef20 006be840 -005af800 00812c90 -005af800 006ccdd0 -005af800 00af08b1 -005af800 00407170 -005af800 00428b20 -005af800 0041d540 -005af800 006ac560 -005af800 0055c4c0 -005af800 006be840 -005af800 0041d520 -005af800 0040b090 -005af800 0040b220 -005af800 00456620 -005af800 0040a780 -005af800 006eef60 -005af800 005ae840 -005af800 00a112c0 -005af800 00812e60 -005af800 0040b030 -005af800 0043ef30 -005af800 00af0917 -005af800 005ae230 -005af800 00703670 -005af800 005ae1d0 -005af800 00589f90 -005af800 00499380 -005af800 00709db0 -005af800 00431310 -005af800 005ae140 005af800 00738470 -005af800 0040a380 -005af800 00aef12b -005af800 00813420 -005af800 004cdcf0 -005af800 00af0911 -005af800 0070b2e0 +005af800 00812c90 005af800 006d6ba0 -005af800 00812d00 -005af800 00a10030 -005af800 00435a50 -005af800 0092dc30 -005af800 00703330 +005af800 00428b20 +005af800 0040a380 005af800 005ae0b0 +005af800 0040b220 +005af800 006be840 +005af800 0040b030 +005af800 00af0911 +005af800 005ae230 +005af800 005ae840 +005af800 00431310 +005af800 0092dc30 +005af800 005ae1d0 +005af800 00407170 +005af800 00456620 005af800 004cf210 +005af800 00812e60 +005af800 00499380 +005af800 00956780 +005af800 0043ef30 +005af800 006ccdd0 +005af800 006eef60 +005af800 0041d540 +005af800 00a112c0 +005af800 00aef12b +005af800 00af08b1 +005af800 004cdcf0 005af800 005aef20 005af800 00813520 -005af800 00956780 +005af800 005ae140 +005af800 00af0917 +005af800 00813420 +005af800 0041d520 +005af800 00435a50 +005af800 00589f90 +005af800 00812d00 +005af800 00709db0 +005af800 00703330 +005af800 0040a780 +005af800 0070b2e0 +005af800 00a10030 +005af800 006ac560 005af800 005ae490 +005af800 00703670 +005af800 0055c4c0 +005af800 0040b090 005b17c0 00a112c0 005b1870 009807a0 005b19b0 006ee440 005b1a20 0041a790 -005b1a20 0067f1d0 -005b1a20 0040a6e0 +005b1a20 00aef15c +005b1a20 00407e90 005b1a20 00428b20 -005b1a20 0040bd50 -005b1a20 00407f10 -005b1a20 00407ae0 -005b1a20 004087a0 -005b1a20 006eef60 -005b1a20 00825c50 -005b1a20 EXTERNAL:00000220 -005b1a20 00a648b0 +005b1a20 0040a380 +005b1a20 0040c000 005b1a20 0040cf00 005b1a20 00407690 -005b1a20 0075e1d0 -005b1a20 00825730 005b1a20 007abe90 -005b1a20 00407e90 -005b1a20 EXTERNAL:00000262 -005b1a20 0040a380 -005b1a20 0040d040 -005b1a20 00aef12b -005b1a20 004cdcf0 -005b1a20 007d2170 -005b1a20 0040c000 -005b1a20 00aef15c 005b1a20 0040bf30 005b1a20 004cf210 +005b1a20 0067f1d0 +005b1a20 EXTERNAL:00000220 +005b1a20 EXTERNAL:00000262 +005b1a20 00825c50 +005b1a20 00407f10 +005b1a20 0040a6e0 +005b1a20 0075e1d0 +005b1a20 006eef60 +005b1a20 007d2170 +005b1a20 00aef12b +005b1a20 00825730 +005b1a20 004cdcf0 +005b1a20 004087a0 +005b1a20 00407ae0 +005b1a20 0040bd50 +005b1a20 0040d040 +005b1a20 00a648b0 005b2360 0074d010 -005b23f0 006eef60 -005b23f0 006c0f30 -005b23f0 00af08b1 -005b23f0 00a112c0 -005b23f0 0041d540 -005b23f0 00428b20 005b23f0 00431310 -005b23f0 0092dc30 -005b23f0 0041d520 -005b23f0 00aef12b 005b23f0 00956780 +005b23f0 006c0f30 +005b23f0 0092dc30 005b23f0 009ad210 -005b30b0 0040a1b0 -005b30b0 006fe410 -005b30b0 00407f10 +005b23f0 00a112c0 +005b23f0 006eef60 +005b23f0 0041d540 +005b23f0 00aef12b +005b23f0 00af08b1 +005b23f0 00428b20 +005b23f0 0041d520 +005b30b0 00956780 +005b30b0 00a112c0 005b30b0 006eef60 005b30b0 00733610 -005b30b0 00a112c0 +005b30b0 00813520 005b30b0 0040a5d0 -005b30b0 00408830 005b30b0 0092dc30 005b30b0 005c93b0 -005b30b0 00813520 -005b30b0 00956780 005b30b0 007706e0 -005b35c0 006eef60 -005b35c0 EXTERNAL:00000220 -005b35c0 0041d540 -005b35c0 00428b20 -005b35c0 00428590 -005b35c0 00aef15c -005b35c0 0041d520 +005b30b0 0040a1b0 +005b30b0 00408830 +005b30b0 006fe410 +005b30b0 00407f10 005b35c0 0060ddd0 -005b35c0 0072fd10 +005b35c0 00aef15c +005b35c0 00428590 +005b35c0 006eef60 +005b35c0 0041d540 005b35c0 00aef12b +005b35c0 0072fd10 +005b35c0 00428b20 +005b35c0 EXTERNAL:00000220 +005b35c0 0041d520 +005b39d0 00a0fed0 +005b39d0 007eb870 +005b39d0 0042ca00 +005b39d0 007dd3b0 +005b39d0 00428a50 +005b39d0 00417870 005b39d0 00a10480 005b39d0 006ac530 -005b39d0 00a10420 -005b39d0 0042ca00 -005b39d0 0075d1d0 -005b39d0 00417870 -005b39d0 007f0780 -005b39d0 00417340 -005b39d0 004074a0 -005b39d0 00a112c0 -005b39d0 00435f80 -005b39d0 007ab380 -005b39d0 00863760 -005b39d0 004176f0 005b39d0 00436090 -005b39d0 00a10540 -005b39d0 00763570 -005b39d0 007dd3b0 -005b39d0 005cb480 -005b39d0 00a104e0 -005b39d0 00930220 +005b39d0 00417340 005b39d0 009e01b0 -005b39d0 00407480 -005b39d0 005b17c0 -005b39d0 00417270 -005b39d0 00428a50 -005b39d0 00aef12b -005b39d0 009568e0 -005b39d0 00a10450 -005b39d0 00a0fed0 -005b39d0 00417620 -005b39d0 008638d0 -005b39d0 00aeff60 005b39d0 00417840 -005b39d0 00424530 -005b39d0 005b39d0 -005b39d0 0072fd10 -005b39d0 00417290 -005b39d0 007eb870 -005b39d0 004178d0 -005b39d0 0078f840 -005b39d0 00a0ffc0 +005b39d0 00417620 005b39d0 007abe20 -005c7ad0 00a112c0 -005c7ad0 0092dc30 -005c7ad0 006fdc10 +005b39d0 00763570 +005b39d0 00407480 +005b39d0 00930220 +005b39d0 0078f840 +005b39d0 007ab380 +005b39d0 007f0780 +005b39d0 004074a0 +005b39d0 00a0ffc0 +005b39d0 00435f80 +005b39d0 005b39d0 +005b39d0 005b17c0 +005b39d0 004176f0 +005b39d0 00a112c0 +005b39d0 00aef12b +005b39d0 0072fd10 +005b39d0 00a10540 +005b39d0 00a10450 +005b39d0 00a104e0 +005b39d0 00417270 +005b39d0 005cb480 +005b39d0 00424530 +005b39d0 008638d0 +005b39d0 0075d1d0 +005b39d0 00aeff60 +005b39d0 009568e0 +005b39d0 00a10420 +005b39d0 00863760 +005b39d0 004178d0 +005b39d0 00417290 005c7ad0 00956780 +005c7ad0 0092dc30 005c7ad0 007abe20 +005c7ad0 00a112c0 +005c7ad0 006fdc10 005c7d30 00a112c0 -005c7d30 006fe410 005c7d30 007e90f0 005c7d30 00813520 +005c7d30 006fe410 005c7e30 005c93b0 005c7ef0 007ab380 -005c7f20 006393a0 005c7f20 00638e30 005c7f20 00a112c0 +005c7f20 006393a0 005c7f20 007599d0 -005c8020 006ac2a0 -005c8020 004cdcf0 -005c8020 006eef60 005c8020 00a112c0 -005c8020 006fe410 -005c8020 0040b220 +005c8020 006eef60 +005c8020 006ac2a0 005c8020 004cf210 +005c8020 004cdcf0 +005c8020 0040b220 005c8020 0081e9d0 005c8020 00684b90 -005c83f0 006eef60 -005c83f0 004a11c0 -005c83f0 0049cbf0 -005c83f0 EXTERNAL:00000220 -005c83f0 00a112c0 -005c83f0 0041d540 -005c83f0 00428b20 +005c8020 006fe410 005c83f0 00aef15c -005c83f0 0041d520 +005c83f0 0049cbf0 +005c83f0 006eef60 +005c83f0 0041d540 +005c83f0 00a112c0 +005c83f0 004a11c0 +005c83f0 00428b20 005c83f0 00813520 005c83f0 0081e9d0 -005c88a0 0072fe80 -005c88a0 00758a70 -005c88a0 004b39b0 -005c88a0 009a8970 -005c88a0 00930980 -005c88a0 0042c920 -005c88a0 0075d1d0 +005c83f0 EXTERNAL:00000220 +005c83f0 0041d520 +005c88a0 00aef15c 005c88a0 0075dfe0 -005c88a0 006eef60 -005c88a0 EXTERNAL:00000220 -005c88a0 00a112c0 -005c88a0 00758d00 -005c88a0 007c36b0 -005c88a0 0040cf00 -005c88a0 007706e0 -005c88a0 00763570 -005c88a0 00930220 -005c88a0 007ce2a0 -005c88a0 009306c0 +005c88a0 007cafe0 005c88a0 0075e320 +005c88a0 009306c0 005c88a0 007bebb0 +005c88a0 00af0911 +005c88a0 00930980 +005c88a0 009a8970 +005c88a0 0040cf00 +005c88a0 007c36b0 +005c88a0 00763570 +005c88a0 00af05e5 +005c88a0 00930220 +005c88a0 007706e0 +005c88a0 EXTERNAL:00000220 +005c88a0 007340b0 005c88a0 0075f0e0 +005c88a0 004b39b0 +005c88a0 006eef60 +005c88a0 00a112c0 +005c88a0 00733610 +005c88a0 00758d00 +005c88a0 00758a70 +005c88a0 0078ff90 +005c88a0 0072fe80 +005c88a0 0075d1d0 +005c88a0 0042c920 +005c88a0 007ce2a0 005c88a0 007588a0 005c88a0 00415bc0 -005c88a0 0078ff90 -005c88a0 00af0911 -005c88a0 00733610 -005c88a0 00af05e5 -005c88a0 00aef15c -005c88a0 007cafe0 -005c88a0 007340b0 -005c92f0 EXTERNAL:00000262 005c92f0 0041af60 +005c92f0 EXTERNAL:00000262 005c93b0 004362a0 -005c93b0 00a648b0 -005c93b0 EXTERNAL:00000262 005c93b0 00a112c0 -005c93b0 00428b20 -005c93b0 006127b0 005c93b0 0041af60 005c93b0 00aef12b +005c93b0 00428b20 +005c93b0 006127b0 +005c93b0 EXTERNAL:00000262 +005c93b0 00a648b0 005c96f0 004362a0 005c96f0 00a112c0 +005c96f0 00aef12b 005c96f0 00428b20 005c96f0 006127b0 -005c96f0 00aef12b 005c96f0 007706e0 -005c9930 00703670 -005c9930 007e9020 -005c9930 00930220 -005c9930 00428b20 -005c9930 0041d540 -005c9930 006adf40 -005c9930 00930390 -005c9930 0041d520 -005c9930 0040b220 -005c9930 00930680 -005c9930 006b6550 -005c9930 00aef12b -005c9930 00417430 -005c9930 006eef60 -005c9930 0092dc30 -005c9930 009305f0 +005c9930 00956780 005c9930 005b39d0 005c9930 009302e0 +005c9930 00930390 +005c9930 006eef60 +005c9930 0041d540 +005c9930 00aef12b 005c9930 0072fd10 -005c9930 00956780 +005c9930 00428b20 +005c9930 006adf40 +005c9930 0040b220 +005c9930 009305f0 +005c9930 0041d520 +005c9930 007e9020 +005c9930 00930680 +005c9930 0092dc30 +005c9930 00417430 +005c9930 00930220 005c9930 007706e0 +005c9930 00703670 +005c9930 006b6550 +005ca470 00956780 005ca470 004362a0 005ca470 00a112c0 005ca470 005c93b0 -005ca470 00956780 005ca470 007706e0 005ca566 0092dc30 -005ca5a0 007910f0 +005ca5a0 00417430 005ca5a0 007cb060 +005ca5a0 00791380 +005ca5a0 007910f0 +005ca5a0 007f0780 005ca5a0 00827180 005ca5a0 005c92f0 -005ca5a0 007f0780 -005ca5a0 00791380 -005ca5a0 00417430 -005ca880 004cdcf0 005ca880 006eef60 -005ca880 00af08b1 -005ca880 EXTERNAL:00000262 -005ca880 00428b20 -005ca880 00499d20 005ca880 0041af60 +005ca880 00428b20 +005ca880 00af08b1 005ca880 004cf210 -005caa70 00af08b1 -005caa70 0041d540 -005caa70 00428b20 -005caa70 00431310 -005caa70 0041d520 -005caa70 0042c920 +005ca880 004cdcf0 +005ca880 EXTERNAL:00000262 +005ca880 00499d20 +005caa70 00aef15c +005caa70 004a5d10 005caa70 006eef60 -005caa70 005cc140 -005caa70 EXTERNAL:00000220 +005caa70 0041d540 005caa70 00a112c0 005caa70 006ad870 -005caa70 00aef15c -005caa70 0041b4f0 005caa70 007059f0 -005caa70 005c93b0 -005caa70 004a5d10 +005caa70 00428b20 +005caa70 00af08b1 005caa70 00813520 +005caa70 0041b4f0 +005caa70 0041d520 005caa70 00436220 +005caa70 00431310 +005caa70 0042c920 +005caa70 005c93b0 +005caa70 005cc140 005caa70 007706e0 -005cb480 0075bf00 -005cb480 EXTERNAL:00000262 +005caa70 EXTERNAL:00000220 +005cb480 0075d1d0 005cb480 00a112c0 005cb480 005cc2d0 +005cb480 0075bf00 005cb480 00930980 -005cb480 00407f10 +005cb480 EXTERNAL:00000262 005cb480 0040d040 -005cb480 0075d1d0 -005cb9b0 EXTERNAL:00000220 +005cb480 00407f10 005cb9b0 00aef15c +005cb9b0 EXTERNAL:00000220 005cba40 00a0f4c0 005cba80 00416440 005cbb00 00a0f4c0 @@ -10907,190 +10907,190 @@ 005cbbd0 00a0f4c0 005cbd20 004087a0 005cbd20 005cc2d0 -005cbd20 00407f10 005cbd20 0040d040 +005cbd20 00407f10 005cbdd0 005cc510 005cbe20 00a0f4c0 005cbea0 00af08bd -005cbed0 0041d150 005cbed0 0040cf00 +005cbed0 0041d150 005cbed0 00af08bd -005cbf10 0041d150 005cbf10 0040cf00 +005cbf10 0041d150 005cbf10 00af08bd -005cbf50 EXTERNAL:00000220 005cbf50 00aef15c +005cbf50 EXTERNAL:00000220 005cbfc0 005cc710 005cbfe0 00a112c0 005cc070 00a112c0 005cc100 005cc7e0 005cc120 005cc810 -005cc140 EXTERNAL:00000220 -005cc140 005cc6e0 -005cc140 00aef15c 005cc140 0040cf00 +005cc140 00aef15c +005cc140 005cc6e0 005cc140 0040cee0 +005cc140 EXTERNAL:00000220 005cc140 00415bc0 -005cc2d0 EXTERNAL:00000262 -005cc2d0 00407f10 -005cc2d0 00407ae0 -005cc2d0 0040d040 005cc2d0 00407690 +005cc2d0 00407ae0 +005cc2d0 EXTERNAL:00000262 +005cc2d0 0040d040 +005cc2d0 00407f10 005cc510 0040cf00 -005cc510 004268e0 005cc510 0040cee0 +005cc510 004268e0 005cc510 00415bc0 005cc630 004087a0 -005cc630 00407f10 005cc630 0040d040 +005cc630 00407f10 005cc6a0 00aef15c -005cc710 004288a0 -005cc710 00415bd0 005cc710 00a0f4c0 +005cc710 00415bd0 005cc710 004170d0 +005cc710 004288a0 005cc7e0 005cc840 005cc810 005cca10 005cc840 00415f80 -005cc840 004288a0 005cc840 00a0f4c0 -005cc840 00415fe0 005cc840 004170d0 -005cca10 00416440 +005cc840 004288a0 +005cc840 00415fe0 005cca10 00415f80 005cca10 00a0f4c0 -005cca10 00415fe0 +005cca10 00416440 005cca10 004170d0 -005ccc30 006a8290 +005cca10 00415fe0 005ccc30 00a0f550 -005ccc60 006a8850 +005ccc30 006a8290 005ccc60 00aef15c +005ccc60 006a8850 005ccca0 006a93a0 005ccca0 00a0f550 005ccd80 0041e420 005ccd80 0041d520 -005ccfc0 006fd350 005ccfc0 00a1af90 +005ccfc0 00a1b140 005ccfc0 00a1b8e0 005ccfc0 00af0917 -005ccfc0 00a1b140 +005ccfc0 006fd350 005cd2e0 006b0eb0 005cd2e0 0041d520 005cd530 00aef15c 005cd5b0 00431570 005cd7e0 00779620 -005cd850 00407f10 005cd850 004074c0 -005cd8c0 004087a0 +005cd850 00407f10 005cd8c0 00aef15c -005cd8c0 00407f10 +005cd8c0 004087a0 005cd8c0 0040d040 +005cd8c0 00407f10 005cd960 006a8290 +005cd9f0 00aef15c 005cd9f0 004149d0 005cd9f0 006a8850 -005cd9f0 00aef15c 005cda90 004149d0 005cda90 006a8850 -005cdb20 0040a6e0 -005cdb20 00a11590 -005cdb20 007e9080 -005cdb20 00740db0 -005cdb20 004aae90 -005cdb20 00417850 -005cdb20 007ea190 -005cdb20 009be6b0 -005cdb20 00813ce0 -005cdb20 004e47c0 -005cdb20 0040b200 -005cdb20 0060c800 -005cdb20 006a93a0 -005cdb20 00407480 -005cdb20 0040bf20 -005cdb20 0040bcd0 -005cdb20 00407410 -005cdb20 00aef253 -005cdb20 00407280 -005cdb20 0067efe0 -005cdb20 0040c000 -005cdb20 0043ee80 -005cdb20 0092dc30 -005cdb20 0040bf30 -005cdb20 009bea80 005cdb20 00a115c0 -005cdb20 00424530 -005cdb20 0040d0e0 -005cdb20 00429550 -005cdb20 00428b20 -005cdb20 006a92a0 -005cdb20 004238f0 -005cdb20 00a114d0 -005cdb20 0040a2b0 -005cdb20 005cd620 -005cdb20 00aef29d -005cdb20 00436120 -005cdb20 006eef60 -005cdb20 00682740 -005cdb20 0040c340 -005cdb20 007e90f0 -005cdb20 004cdd20 -005cdb20 0063c060 -005cdb20 004176f0 -005cdb20 0041e460 -005cdb20 00408e00 -005cdb20 00a104e0 -005cdb20 00682ed0 -005cdb20 00a0f4c0 -005cdb20 00738470 -005cdb20 00740da0 -005cdb20 004071f0 -005cdb20 004073d0 -005cdb20 00421770 -005cdb20 00682f20 -005cdb20 00435e90 -005cdb20 00420170 -005cdb20 0040bd50 -005cdb20 0040d0c0 005cdb20 00452be0 -005cdb20 006a9140 -005cdb20 0040b220 -005cdb20 00440e30 -005cdb20 00861330 -005cdb20 00456240 -005cdb20 005c93b0 -005cdb20 00440ec0 -005cdb20 0040b430 -005cdb20 007dd3b0 -005cdb20 007cb6e0 -005cdb20 0067f010 -005cdb20 0040cdd0 -005cdb20 005cd460 005cdb20 0040a380 +005cdb20 00a114d0 +005cdb20 007ea190 +005cdb20 00682ed0 +005cdb20 00740da0 +005cdb20 0040b220 +005cdb20 00813ce0 +005cdb20 00435c60 +005cdb20 00740db0 +005cdb20 0040b430 +005cdb20 004aae90 +005cdb20 0040bf30 +005cdb20 00420170 +005cdb20 0040a720 +005cdb20 0067f010 +005cdb20 00aef12b +005cdb20 0040bf20 +005cdb20 007cb6e0 +005cdb20 00a104e0 +005cdb20 00417400 +005cdb20 004aae70 +005cdb20 00a11590 +005cdb20 0060c800 +005cdb20 0040bd50 +005cdb20 0040d040 +005cdb20 00738470 +005cdb20 0082d030 +005cdb20 00428b20 +005cdb20 0040d0e0 +005cdb20 004073d0 +005cdb20 004e47c0 +005cdb20 0040c000 +005cdb20 009be6b0 +005cdb20 004071f0 +005cdb20 004cdd20 +005cdb20 00429550 +005cdb20 00407480 +005cdb20 0040bcd0 +005cdb20 0040a6e0 +005cdb20 00407280 +005cdb20 0063c060 +005cdb20 0040a2b0 +005cdb20 0040cdd0 +005cdb20 00435a80 +005cdb20 00407410 +005cdb20 00408e00 +005cdb20 00424530 +005cdb20 009568e0 +005cdb20 0067efe0 +005cdb20 007dd3b0 +005cdb20 007e9080 +005cdb20 00417870 +005cdb20 004173e0 +005cdb20 0043ee80 +005cdb20 004238f0 +005cdb20 0040b200 +005cdb20 006a9140 +005cdb20 00421770 +005cdb20 00aef29d +005cdb20 0092dc30 +005cdb20 0040bff0 +005cdb20 006a93a0 +005cdb20 005c93b0 +005cdb20 0060c620 +005cdb20 006a92a0 +005cdb20 006eef60 +005cdb20 006a9360 +005cdb20 00682f20 +005cdb20 005cd620 +005cdb20 00456240 +005cdb20 009bea80 +005cdb20 00435e90 +005cdb20 0043eec0 +005cdb20 006a92e0 +005cdb20 0040c340 +005cdb20 00436120 +005cdb20 00440ec0 +005cdb20 005cd460 +005cdb20 00682740 +005cdb20 0040d0c0 +005cdb20 005cd850 +005cdb20 0041e460 +005cdb20 007e90f0 +005cdb20 00861330 +005cdb20 00aef253 +005cdb20 00956780 +005cdb20 004176f0 +005cdb20 00a0f4c0 005cdb20 00956940 005cdb20 00435e60 -005cdb20 00aef12b -005cdb20 009568e0 005cdb20 00823590 -005cdb20 00417400 -005cdb20 006a92e0 -005cdb20 00417870 -005cdb20 006a9360 -005cdb20 00435a80 -005cdb20 0043eec0 -005cdb20 004aae70 005cdb20 005cd470 -005cdb20 004173e0 -005cdb20 0040a720 -005cdb20 0040d040 -005cdb20 005cd850 +005cdb20 00440e30 005cdb20 00435dd0 -005cdb20 0040bff0 -005cdb20 00435c60 -005cdb20 00956780 -005cdb20 0060c620 -005cdb20 0082d030 +005cdb20 00417850 005d2270 00a0f4c0 005d2300 00aef5c4 -005d2370 0060c580 005d2370 00aef15c +005d2370 0060c580 005d23a0 00aef638 005d23a0 00aef15c 005d2420 00866060 @@ -11099,2406 +11099,2406 @@ 005d2420 EXTERNAL:00000080 005d2520 006b0eb0 005d29b0 00812f50 -005d2a70 00709df0 -005d2a70 007e9020 -005d2a70 00af08b1 -005d2a70 0067f1d0 -005d2a70 00407170 -005d2a70 006a8fa0 -005d2a70 00710370 -005d2a70 006fe410 -005d2a70 00700060 -005d2a70 009be080 -005d2a70 00435a80 -005d2a70 00710480 -005d2a70 006eef60 -005d2a70 007ab380 005d2a70 00a10630 -005d2a70 00710dd0 -005d2a70 006ac710 -005d2a70 00407690 -005d2a70 0070d360 -005d2a70 00407e90 -005d2a70 00a10100 -005d2a70 0040a380 -005d2a70 006e2570 -005d2a70 00aef12b -005d2a70 00417430 005d2a70 006ee340 -005d2a70 004cdcf0 -005d2a70 006e6e40 -005d2a70 00408830 -005d2a70 00435a50 +005d2a70 00407e90 +005d2a70 0040a380 +005d2a70 007e9020 +005d2a70 006ac710 +005d2a70 006e2570 +005d2a70 00407690 005d2a70 0092dc30 +005d2a70 006e6e40 +005d2a70 00407170 +005d2a70 00710dd0 005d2a70 004cf210 -005d2a70 0072fd10 -005d2a70 00813520 -005d2a70 00956780 005d2a70 00409030 -005d4010 0041d540 +005d2a70 007ab380 +005d2a70 0067f1d0 +005d2a70 009be080 +005d2a70 00956780 +005d2a70 0070d360 +005d2a70 00700060 +005d2a70 006eef60 +005d2a70 00aef12b +005d2a70 00af08b1 +005d2a70 0072fd10 +005d2a70 004cdcf0 +005d2a70 00813520 +005d2a70 00709df0 +005d2a70 00435a50 +005d2a70 00710370 +005d2a70 00417430 +005d2a70 00435a80 +005d2a70 006a8fa0 +005d2a70 00710480 +005d2a70 00a10100 +005d2a70 00408830 +005d2a70 006fe410 005d4010 00435a50 +005d4010 0041d540 005d4010 006395e0 005d4010 0041d520 -005d4210 006fe410 005d4210 00694fb0 -005d4380 006ae820 -005d4380 007ea3e0 -005d4380 007dd3b0 -005d4380 00407480 +005d4210 006fe410 005d4380 005d4010 -005d4380 004360d0 -005d4380 00930980 -005d4380 00a10420 -005d4380 00a10600 -005d4380 00a15640 +005d4380 007dd3b0 005d4380 00aef12b -005d4380 00417310 -005d4380 00435db0 -005d4380 00861410 -005d4380 004172d0 -005d4380 00aeff60 005d4380 007ea190 -005d4380 00417420 -005d4380 00417290 005d4380 00a10540 +005d4380 00435db0 +005d4380 007ea3e0 +005d4380 00417310 +005d4380 00930980 +005d4380 00a15640 +005d4380 00417420 +005d4380 00aeff60 +005d4380 004172d0 +005d4380 00a10420 +005d4380 004360d0 +005d4380 006ae820 +005d4380 00407480 +005d4380 00861410 +005d4380 00a10600 +005d4380 00417290 +006073f0 00956780 +006073f0 0092dc30 006073f0 00758d00 +006073f0 00aef12b 006073f0 00930220 006073f0 007ab380 -006073f0 0092dc30 -006073f0 00aef12b -006073f0 00956780 -00607620 007cf8c0 -00607620 004073d0 00607620 0040a0d0 -00607620 00af08b1 +00607620 00a10630 +00607620 00738470 +00607620 006831c0 +00607620 004072e0 +00607620 0040c1e0 +00607620 0067f310 +00607620 004071c0 00607620 0041e480 -00607620 00407170 -00607620 0041d540 -00607620 00409120 -00607620 004238f0 00607620 006ac530 -00607620 0041e720 -00607620 0041d520 -00607620 006b7250 +00607620 006d8e10 +00607620 00682ed0 00607620 00435290 00607620 0040b220 -00607620 004072e0 +00607620 004073d0 +00607620 004238f0 +00607620 004071f0 00607620 0040b1d0 -00607620 00a112c0 -00607620 00a10630 -00607620 0040c1e0 +00607620 00409120 +00607620 00407170 00607620 0040a220 00607620 0041e960 -00607620 008614f0 -00607620 00925df0 -00607620 00af0917 -00607620 00408e00 -00607620 0040a140 -00607620 00a10100 -00607620 00682ed0 -00607620 006832e0 -00607620 00738470 -00607620 004071c0 -00607620 0067f310 -00607620 00aef12b -00607620 0040bbf0 -00607620 00435a50 -00607620 006d8e10 00607620 004e4690 -00607620 004071f0 -00607620 006831c0 -0060abb0 006acb60 +00607620 0040a140 +00607620 00a112c0 +00607620 0041d540 +00607620 007cf8c0 +00607620 00aef12b +00607620 00af08b1 +00607620 00af0917 +00607620 0040bbf0 +00607620 00925df0 +00607620 0041d520 +00607620 006b7250 +00607620 00435a50 +00607620 0041e720 +00607620 006832e0 +00607620 008614f0 +00607620 00408e00 +00607620 00a10100 0060abb0 007d3480 0060abb0 0092e230 0060abb0 0060c620 +0060abb0 006acb60 0060ac70 00499d20 0060af00 006eef60 0060af00 006fe410 -0060af70 004cdcf0 0060af70 006eef60 -0060af70 006fe410 -0060af70 004cf210 0060af70 00aef12b -0060b0d0 00407380 -0060b0d0 0041d540 -0060b0d0 00499d20 -0060b0d0 EXTERNAL:0000022d -0060b0d0 0040a1b0 -0060b0d0 00682a50 -0060b0d0 0041d520 -0060b0d0 0060c790 -0060b0d0 00aef12b -0060b0d0 0040add0 -0060b0d0 EXTERNAL:00000220 -0060b0d0 0040a5d0 +0060af70 004cf210 +0060af70 004cdcf0 +0060af70 006fe410 0060b0d0 00aef15c 0060b0d0 0040c340 -0060b7a0 004cdcf0 +0060b0d0 0040add0 +0060b0d0 0041d540 +0060b0d0 00aef12b +0060b0d0 0060c790 +0060b0d0 0040a5d0 +0060b0d0 0041d520 +0060b0d0 00407380 +0060b0d0 00682a50 +0060b0d0 EXTERNAL:0000022d +0060b0d0 0040a1b0 +0060b0d0 EXTERNAL:00000220 +0060b0d0 00499d20 0060b7a0 006eef60 -0060b7a0 006fe410 -0060b7a0 004cf210 0060b7a0 0060bae0 -0060b890 006eef60 -0060b890 004073d0 +0060b7a0 004cf210 +0060b7a0 004cdcf0 +0060b7a0 006fe410 0060b890 004564b0 +0060b890 006eef60 0060b890 00428b20 +0060b890 004073d0 0060b9d0 006eef60 -0060b9d0 004073d0 0060b9d0 00428b20 +0060b9d0 004073d0 +0060bae0 006f95a0 +0060bae0 00aef15c 0060bae0 0040cf50 -0060bae0 00af08b1 -0060bae0 0040bd50 -0060bae0 00407f10 0060bae0 0040b220 -0060bae0 006f9400 +0060bae0 0040ccd0 +0060bae0 0040c000 +0060bae0 00694fb0 +0060bae0 0040cf00 +0060bae0 006ddcd0 +0060bae0 0040b430 +0060bae0 0040bf30 +0060bae0 0060c9e0 0060bae0 00af05df 0060bae0 EXTERNAL:00000220 +0060bae0 00407f10 0060bae0 00a112c0 +0060bae0 00aef12b +0060bae0 00af08b1 +0060bae0 00a0f4c0 +0060bae0 0072fd10 +0060bae0 0060c700 +0060bae0 0040cae0 0060bae0 0040a5d0 0060bae0 0060ca20 -0060bae0 0040cf00 -0060bae0 0040ccd0 -0060bae0 0040b430 -0060bae0 006f95a0 0060bae0 00408e00 -0060bae0 0060c9e0 -0060bae0 006ddcd0 -0060bae0 0040cae0 -0060bae0 00a0f4c0 -0060bae0 00aef12b -0060bae0 00694fb0 -0060bae0 0060c700 -0060bae0 0040c000 -0060bae0 00aef15c -0060bae0 0040bf30 -0060bae0 0072fd10 -0060c350 0060c9e0 +0060bae0 006f9400 +0060bae0 0040bd50 0060c350 00aef15c +0060c350 0060c9e0 0060c370 0040a5d0 0060c370 0040a1b0 0060c470 00a0f4c0 0060c470 0060c8a0 -0060c580 EXTERNAL:00000220 0060c580 00aef15c +0060c580 EXTERNAL:00000220 0060c620 0040cc10 0060c620 00a0f4c0 0060c790 004997f0 0060c800 0040cc10 0060c800 00a0f4c0 -0060c8a0 00af05e5 -0060c8a0 0040cad0 0060c8a0 0040cf00 -0060c8a0 0040c740 -0060c8a0 00af08bd 0060c8a0 0040cee0 -0060c9e0 0060c9e0 +0060c8a0 00af08bd +0060c8a0 0040cad0 +0060c8a0 00af05e5 +0060c8a0 0040c740 0060c9e0 00aef15c +0060c9e0 0060c9e0 0060ca20 00415f80 0060ca20 00a0f4c0 -0060ca20 00415fe0 0060ca20 004170d0 +0060ca20 00415fe0 0060cc00 00aef15c 0060cc20 00652a70 0060cf20 00499d20 -0060d140 004cdcf0 0060d140 004cf210 +0060d140 004cdcf0 0060d180 009b9570 0060d1c0 009be630 -0060d200 006a8290 0060d200 00a0f4c0 0060d200 007e31a0 0060d200 004074c0 +0060d200 006a8290 0060d3d0 0060d400 0060d3d0 00aef15c +0060d400 00aef15c 0060d400 004087a0 0060d400 004149d0 0060d400 006a8850 -0060d400 00aef15c -0060d400 0042c8e0 -0060d400 00407f10 -0060d400 004cf210 -0060d400 0040d040 0060d400 00424540 -0060d530 004087a0 +0060d400 004cf210 +0060d400 0042c8e0 +0060d400 0040d040 +0060d400 00407f10 0060d530 00aef638 0060d530 00aef15c -0060d530 00407f10 +0060d530 004087a0 0060d530 0040d040 +0060d530 00407f10 +0060d5e0 00aef15c 0060d5e0 004149d0 0060d5e0 00651910 -0060d5e0 00aef15c -0060d5e0 0042c8e0 0060d5e0 004cf210 -0060d6a0 006470f0 +0060d5e0 0042c8e0 0060d6a0 00417430 -0060d8e0 006470c0 +0060d6a0 006470f0 0060d8e0 004171b0 +0060d8e0 006470c0 +0060dc40 007706e0 0060dc40 007cb6e0 0060dc40 009305f0 -0060dc40 007706e0 -0060ddd0 00a112c0 0060ddd0 0064aab0 +0060ddd0 00a112c0 0060ddd0 006470f0 -0060de70 007e9020 -0060de70 0040cf50 -0060de70 00634260 -0060de70 0040bd50 -0060de70 0060d180 -0060de70 00407f10 -0060de70 0040b220 -0060de70 00407ae0 -0060de70 007e9080 -0060de70 00930680 -0060de70 004087a0 -0060de70 00613fe0 -0060de70 00a112c0 -0060de70 004357e0 -0060de70 00407690 -0060de70 0064a830 -0060de70 008279a0 -0060de70 EXTERNAL:00000262 -0060de70 006a93a0 -0060de70 004174c0 -0060de70 0040a380 -0060de70 00aef12b -0060de70 0060d780 -0060de70 004cdcf0 -0060de70 0040c000 -0060de70 0092dc30 -0060de70 0040bf30 0060de70 00aef5c4 -0060de70 004cf210 -0060de70 00af08b1 -0060de70 0040a1b0 -0060de70 006322f0 -0060de70 00417870 -0060de70 004074c0 -0060de70 00612330 -0060de70 006eef60 -0060de70 EXTERNAL:00000220 -0060de70 00651810 -0060de70 004997f0 -0060de70 0040a5d0 -0060de70 0042cfd0 -0060de70 0063b340 -0060de70 0040cf00 -0060de70 0040ccd0 -0060de70 007706e0 -0060de70 0041e420 -0060de70 006470f0 -0060de70 00a0f4c0 -0060de70 0040d040 -0060de70 008635a0 0060de70 00aef15c +0060de70 007e9080 +0060de70 00417870 +0060de70 0040a380 +0060de70 00612330 +0060de70 0040b220 +0060de70 007e9020 +0060de70 0040cf00 +0060de70 0092dc30 +0060de70 0060d780 +0060de70 0040bf30 +0060de70 006a93a0 +0060de70 EXTERNAL:00000220 +0060de70 00407f10 +0060de70 006322f0 +0060de70 006eef60 +0060de70 00a112c0 0060de70 0041af60 +0060de70 00aef12b +0060de70 00af08b1 +0060de70 0042cfd0 +0060de70 0064a830 +0060de70 004357e0 +0060de70 004074c0 +0060de70 008279a0 +0060de70 00930680 +0060de70 008635a0 +0060de70 00651810 +0060de70 0040bd50 +0060de70 0040d040 +0060de70 0040cf50 +0060de70 0040ccd0 +0060de70 0040c000 +0060de70 006470f0 +0060de70 00407690 +0060de70 00634260 +0060de70 0060d180 +0060de70 004997f0 +0060de70 004cf210 +0060de70 0063b340 +0060de70 007706e0 +0060de70 0040a1b0 +0060de70 EXTERNAL:00000262 0060de70 00956780 0060de70 0062db20 -00610470 00634a40 -00610470 006acb00 -00610470 006141e0 +0060de70 004174c0 +0060de70 00613fe0 +0060de70 00a0f4c0 +0060de70 0041e420 +0060de70 004cdcf0 +0060de70 0040a5d0 +0060de70 004087a0 +0060de70 00407ae0 00610470 00612440 +00610470 006141e0 +00610470 006acb00 +00610470 00634a40 00610470 0062d7e0 -00610540 004073d0 -00610540 00407170 -00610540 0041d540 -00610540 009e24a0 -00610540 00734900 -00610540 0041d520 -00610540 0040b220 -00610540 00a112c0 -00610540 007079c0 -00610540 007c9ea0 -00610540 004cf1d0 -00610540 008646e0 -00610540 EXTERNAL:00000262 -00610540 007599d0 -00610540 009e0680 -00610540 004174c0 -00610540 00612440 -00610540 00aef12b -00610540 00865340 -00610540 009568e0 -00610540 00418500 -00610540 00734180 -00610540 004cdcf0 -00610540 00734a80 -00610540 0092dc30 -00610540 006b45c0 -00610540 00a68490 -00610540 00703330 -00610540 004cf210 -00610540 00af08b1 -00610540 00428b20 -00610540 004238f0 -00610540 0067f070 -00610540 006fe410 -00610540 007078f0 00610540 007d7740 -00610540 00436fd0 -00610540 00612330 -00610540 006eef60 -00610540 004288a0 -00610540 00435c70 -00610540 007e90f0 -00610540 007706e0 -00610540 006f0090 00610540 006ac920 +00610540 00612330 +00610540 0040b220 +00610540 0067f070 +00610540 004238f0 +00610540 0092dc30 +00610540 008646e0 +00610540 00407170 00610540 00733ca0 +00610540 00734180 00610540 00638e30 -00610540 006c2750 +00610540 007079c0 +00610540 006eef60 +00610540 00a112c0 +00610540 0041d540 00610540 0041af60 +00610540 00aef12b +00610540 00af08b1 +00610540 00865340 00610540 00813520 +00610540 00418500 +00610540 0041d520 +00610540 00703330 +00610540 004288a0 +00610540 00436fd0 +00610540 00a68490 +00610540 00428b20 +00610540 004073d0 +00610540 00612440 +00610540 00435c70 +00610540 004cf1d0 +00610540 007078f0 +00610540 007e90f0 +00610540 004cf210 +00610540 00734900 +00610540 007706e0 +00610540 EXTERNAL:00000262 00610540 00956780 -006121d0 EXTERNAL:00000220 -006121d0 006acb60 +00610540 004174c0 +00610540 006f0090 +00610540 009e0680 +00610540 004cdcf0 +00610540 006c2750 +00610540 006b45c0 +00610540 009e24a0 +00610540 007c9ea0 +00610540 009568e0 +00610540 00734a80 +00610540 007599d0 +00610540 006fe410 006121d0 00aef15c -006121d0 004357e0 006121d0 004cf210 -00612330 00a648b0 +006121d0 004357e0 +006121d0 006acb60 +006121d0 EXTERNAL:00000220 00612330 0041af60 00612330 007706e0 -00612440 00612330 -00612440 00af08b1 -00612440 00a112c0 -00612440 EXTERNAL:00000262 +00612330 00a648b0 00612440 004174c0 +00612440 00a112c0 00612440 0041af60 +00612440 00af08b1 +00612440 00612330 00612440 007706e0 +00612440 EXTERNAL:00000262 006127b0 00612440 00612820 00612440 00612ad0 00612970 00612af0 007706e0 00612b50 00612af0 00612b50 00af08b1 -00612bb0 00af08b1 -00612bb0 0067f1d0 -00612bb0 007cb6e0 -00612bb0 0041d540 -00612bb0 0041d520 -00612bb0 00612ad0 -00612bb0 00417430 -00612bb0 004cdcf0 -00612bb0 00612af0 -00612bb0 00612b50 -00612bb0 00a112c0 -00612bb0 00592050 00612bb0 00612970 -00612bb0 00771550 -00612bb0 00631850 -00612bb0 00435a50 +00612bb0 00612af0 +00612bb0 00a112c0 +00612bb0 0041d540 00612bb0 0041af60 -00612bb0 00650220 +00612bb0 00af08b1 00612bb0 006348d0 -00612bb0 004175b0 +00612bb0 004cdcf0 +00612bb0 00650220 +00612bb0 00612b50 +00612bb0 00771550 +00612bb0 007cb6e0 +00612bb0 00612ad0 +00612bb0 0041d520 00612bb0 00612890 +00612bb0 00435a50 +00612bb0 00417430 +00612bb0 00631850 +00612bb0 00592050 +00612bb0 004175b0 00612bb0 004cf210 00612bb0 007706e0 +00612bb0 0067f1d0 006139b0 00634260 006139b0 00408e00 -006139b0 0040a5d0 006139b0 0041d540 -006139b0 00771550 -006139b0 00499d20 006139b0 006348d0 -006139b0 0041d520 +006139b0 0040a5d0 006139b0 0040b220 -00613c20 007db700 -00613c20 00499d60 -00613c20 00407170 -00613c20 0060dc40 +006139b0 00771550 +006139b0 0041d520 +006139b0 00499d20 00613c20 0064bb70 00613c20 00aef12b +00613c20 00407170 00613c20 006341a0 +00613c20 00499d60 +00613c20 007db700 +00613c20 0060dc40 00613c20 0096f310 -00613df0 0040a5d0 00613df0 00408590 00613df0 0040a380 00613df0 0040b220 -00613fe0 004cdcf0 -00613fe0 00af08b1 +00613df0 0040a5d0 00613fe0 00a112c0 -00613fe0 EXTERNAL:00000262 00613fe0 0041af60 +00613fe0 00af08b1 00613fe0 004cf210 -006141e0 004cdcf0 +00613fe0 004cdcf0 +00613fe0 EXTERNAL:00000262 006141e0 004cf210 -006142e0 0040cf50 -006142e0 006fd350 -006142e0 EXTERNAL:00000220 -006142e0 00408e00 -006142e0 00557bd0 -006142e0 0040a5d0 +006141e0 004cdcf0 006142e0 00aef15c +006142e0 00557bd0 +006142e0 00408e00 +006142e0 0040cf50 006142e0 00aef12b -00614500 0040a5d0 -00614500 0040a1b0 +006142e0 0040a5d0 +006142e0 EXTERNAL:00000220 +006142e0 006fd350 00614500 00408590 00614500 0040a380 00614500 0040b220 +00614500 0040a5d0 +00614500 0040a1b0 +006146e0 00435a50 006146e0 0067f260 006146e0 00612af0 006146e0 00612b50 -006146e0 00435a50 006146e0 007706e0 -00614b10 0067f1d0 -00614b10 007599d0 -00614b10 0041d540 -00614b10 00613df0 -00614b10 00408590 -00614b10 0041d520 -00614b10 0040a380 00614b10 0064bb70 -00614b10 0040b220 -00614b10 00615030 -00614b10 00613c20 -00614b10 006146e0 +00614b10 0041d540 +00614b10 0040a380 00614b10 004cdcf0 +00614b10 00639750 +00614b10 00613c20 00614b10 0062d290 +00614b10 0040b220 00614b10 0040a5d0 00614b10 00771550 -00614b10 00a10030 -00614b10 00639750 -00614b10 00614500 +00614b10 0041d520 +00614b10 00613df0 +00614b10 00408590 00614b10 004cf210 +00614b10 00a10030 +00614b10 0067f1d0 +00614b10 007599d0 +00614b10 006146e0 +00614b10 00615030 +00614b10 00614500 00615030 007c3100 -00615030 0041d540 -00615030 006ac560 -00615030 007c32c0 -00615030 006a8fa0 -00615030 006ac530 -00615030 006be840 -00615030 00417430 -00615030 00416440 -00615030 004cdcf0 -00615030 00435a50 00615030 00652210 +00615030 0041d540 +00615030 006ac530 +00615030 004cdcf0 +00615030 006be840 00615030 006ac710 +00615030 00435a50 +00615030 00417430 +00615030 006a8fa0 00615030 004cf210 +00615030 00416440 +00615030 006ac560 00615030 007706e0 -00615870 004cdcf0 -00615870 006a8fa0 +00615030 007c32c0 00615870 00435a50 +00615870 006a8fa0 00615870 004cf210 -00615d80 00612330 -00615d80 006eef60 -00615d80 006139b0 -00615d80 00435a50 +00615870 004cdcf0 00615d80 00612440 +00615d80 00435a50 +00615d80 006139b0 +00615d80 006eef60 00615d80 004cf210 +00615d80 00612330 00615d80 00615030 -00616050 00812f50 -00616050 006eef60 -00616050 007f0df0 00616050 00435a50 -00616050 0067f070 -00616050 00a10030 -00616050 0040a380 -00616050 00615030 -00616050 007f0780 00616050 00703950 +00616050 006eef60 +00616050 0040a380 +00616050 00812f50 +00616050 00a10030 +00616050 007f0df0 +00616050 0067f070 +00616050 007f0780 +00616050 00615030 +00616770 00435a50 +00616770 00408e00 +00616770 00a112c0 00616770 006eef60 00616770 00af08b1 -00616770 00a112c0 -00616770 00408e00 +00616770 0040a380 00616770 0040a5d0 +00616770 00409030 00616770 007e33c0 00616770 0040a1b0 -00616770 00435a50 -00616770 006fe410 -00616770 0040a380 00616770 00615030 -00616770 00409030 -00616db0 00af08b1 -00616db0 00408e00 -00616db0 00428b20 -00616db0 0040a1b0 -00616db0 00615030 -00616db0 004cdcf0 +00616770 006fe410 +00616db0 00651990 00616db0 006eef60 -00616db0 00a648b0 +00616db0 0041af60 +00616db0 00428b20 +00616db0 00af08b1 +00616db0 004cdcf0 00616db0 0040a5d0 00616db0 007e33c0 00616db0 00435a50 -00616db0 0041af60 -00616db0 00651990 +00616db0 00408e00 00616db0 004cf210 +00616db0 0040a1b0 +00616db0 00a648b0 +00616db0 00615030 006174c0 0041a790 -006174c0 00812c90 -006174c0 00af08b1 -006174c0 0067f1d0 -006174c0 0070fb60 -006174c0 00428b20 -006174c0 0040a1b0 -006174c0 00aef29d -006174c0 0058e210 -006174c0 00417870 -006174c0 0040a4d0 -006174c0 00aef5af -006174c0 006146e0 -006174c0 009be080 -006174c0 00612af0 -006174c0 006eef60 -006174c0 00612b50 -006174c0 00a648b0 -006174c0 0040a5d0 006174c0 00a10630 -006174c0 007e90f0 -006174c0 00813b30 -006174c0 006ac8d0 -006174c0 0040b030 -006174c0 007706e0 -006174c0 0070d360 -006174c0 00431310 -006174c0 005b17c0 +006174c0 00612af0 +006174c0 00812c90 +006174c0 00417870 006174c0 0040a380 -006174c0 00a10600 -006174c0 00813360 -006174c0 004cdcf0 -006174c0 00aef253 -006174c0 00612bb0 -006174c0 00435a50 -006174c0 00a10030 +006174c0 00428b20 +006174c0 0040b030 +006174c0 00431310 +006174c0 00aef29d 006174c0 0092dc30 -006174c0 0041af60 -006174c0 006ef590 +006174c0 007e90f0 +006174c0 0070fb60 006174c0 004cf210 -006174c0 00813520 +006174c0 0040a4d0 006174c0 0078f840 +006174c0 007706e0 +006174c0 0040a1b0 +006174c0 0067f1d0 +006174c0 00a10600 +006174c0 00aef253 +006174c0 009be080 006174c0 00956780 +006174c0 0070d360 +006174c0 005b17c0 +006174c0 00aef5af +006174c0 006eef60 +006174c0 0041af60 +006174c0 00af08b1 +006174c0 004cdcf0 +006174c0 00813520 +006174c0 0040a5d0 +006174c0 006ac8d0 +006174c0 00612b50 +006174c0 006ef590 +006174c0 00435a50 +006174c0 00612bb0 +006174c0 00813360 +006174c0 00a10030 +006174c0 006146e0 +006174c0 00813b30 +006174c0 0058e210 +006174c0 00a648b0 00618b00 0041a790 -00618b00 00428b20 -00618b00 00431310 -00618b00 006e30a0 -00618b00 0040a380 +00618b00 00956780 00618b00 006ee340 -00618b00 00813360 00618b00 00612af0 00618b00 006eef60 -00618b00 00612bb0 00618b00 00a112c0 -00618b00 00a648b0 -00618b00 00a10030 +00618b00 00428b20 +00618b00 0040a380 +00618b00 00431310 +00618b00 00612bb0 00618b00 0092dc30 -00618b00 00956780 +00618b00 00813360 +00618b00 00a10030 +00618b00 006e30a0 +00618b00 00a648b0 00619270 0041a790 -00619270 007f0df0 -00619270 00af08b1 -00619270 EXTERNAL:00000262 -00619270 006ac560 -00619270 00428b20 -00619270 006a8fa0 -00619270 0060dc40 -00619270 00408590 -00619270 0040a380 00619270 0064bb70 -00619270 0040b220 -00619270 00677780 00619270 006eef60 -00619270 00612bb0 -00619270 00634000 -00619270 00651810 +00619270 00428b20 +00619270 00af08b1 +00619270 0040a380 00619270 0062d290 +00619270 0040b220 00619270 0040a5d0 -00619270 00435a50 +00619270 0060dc40 00619270 006ac710 +00619270 00612bb0 +00619270 00435a50 +00619270 00408590 +00619270 00634000 +00619270 006a8fa0 +00619270 00651810 +00619270 006ac560 +00619270 007f0df0 +00619270 00677780 +00619270 EXTERNAL:00000262 00619270 00614500 006196e0 00812f50 -006196e0 007f0df0 -006196e0 0067f1d0 -006196e0 006a8fa0 -006196e0 00408590 006196e0 0040a380 -006196e0 0040b220 006196e0 00613c20 -006196e0 006fd350 -006196e0 00651810 +006196e0 0040b220 006196e0 0040a5d0 -006196e0 00435a50 006196e0 00779620 +006196e0 00435a50 +006196e0 00408590 +006196e0 006a8fa0 +006196e0 00651810 +006196e0 007f0df0 +006196e0 006fd350 +006196e0 0067f1d0 006196e0 00614500 -0061a240 00812f50 -0061a240 00435a50 0061a240 00779620 +0061a240 00435a50 +0061a240 00812f50 0061a4e0 0041a790 -0061a4e0 007e9020 -0061a4e0 00af08b1 +0061a4e0 0064bb70 +0061a4e0 006b62b0 +0061a4e0 00431640 0061a4e0 00428b20 -0061a4e0 0040a1b0 -0061a4e0 006eef60 -0061a4e0 00a112c0 -0061a4e0 0040a5d0 0061a4e0 00771550 0061a4e0 006ac710 +0061a4e0 007e9020 +0061a4e0 0092dc30 0061a4e0 007e90f0 -0061a4e0 006b62b0 -0061a4e0 007706e0 -0061a4e0 00431640 -0061a4e0 EXTERNAL:00000262 +0061a4e0 004cf210 0061a4e0 00431570 -0061a4e0 0064bb70 -0061a4e0 006b2ee0 -0061a4e0 004cdcf0 -0061a4e0 00733610 +0061a4e0 007706e0 +0061a4e0 0040a1b0 +0061a4e0 EXTERNAL:00000262 +0061a4e0 00956780 0061a4e0 00638e30 +0061a4e0 00a112c0 +0061a4e0 006eef60 +0061a4e0 0041af60 +0061a4e0 00733610 +0061a4e0 00af08b1 +0061a4e0 004cdcf0 +0061a4e0 00813520 +0061a4e0 006b2ee0 +0061a4e0 0040a5d0 0061a4e0 006c2750 0061a4e0 00435a50 -0061a4e0 0092dc30 -0061a4e0 0041af60 -0061a4e0 004cf210 -0061a4e0 00813520 -0061a4e0 00956780 -0061b8c0 004073d0 -0061b8c0 0040a5d0 +0061b8c0 00956780 0061b8c0 00435a50 -0061b8c0 0040a1b0 0061b8c0 0092dc30 0061b8c0 00652210 -0061b8c0 0040a380 0061b8c0 004071c0 +0061b8c0 0040a380 +0061b8c0 0040a5d0 +0061b8c0 004073d0 +0061b8c0 0040a1b0 0061b8c0 00615030 -0061b8c0 00956780 -0061bd50 0040a780 -0061bd50 006eef60 -0061bd50 0040a5d0 0061bd50 00435a50 -0061bd50 0040a1b0 +0061bd50 006eef60 0061bd50 0040a380 -0061bd50 00615030 +0061bd50 0040a780 +0061bd50 0040a5d0 +0061bd50 0040a1b0 0061bd50 00af0917 -0061c150 006139b0 -0061c150 00435a50 -0061c150 00652210 +0061bd50 00615030 0061c150 00612440 +0061c150 00435a50 +0061c150 006139b0 +0061c150 00652210 0061c150 00615030 -0061c3f0 006eef60 +0061c3f0 0064bb70 0061c3f0 0040add0 -0061c3f0 007e3260 +0061c3f0 006eef60 0061c3f0 0040a5d0 0061c3f0 007e33c0 +0061c3f0 007706e0 0061c3f0 0040a1b0 0061c3f0 0060dc40 +0061c3f0 007e3260 0061c3f0 006fe410 -0061c3f0 0064bb70 -0061c3f0 007706e0 +0061c910 00956780 0061c910 0041a790 -0061c910 007e3260 -0061c910 007e4940 -0061c910 EXTERNAL:00000262 -0061c910 00428b20 -0061c910 006ac560 -0061c910 0041d540 -0061c910 0040a1b0 -0061c910 00a0f4c0 -0061c910 0041d520 -0061c910 00424540 -0061c910 00414a80 +0061c910 00aef15c 0061c910 006eef60 +0061c910 0041d540 +0061c910 00428b20 +0061c910 00a0f4c0 +0061c910 00424540 0061c910 0040a5d0 0061c910 007e33c0 -0061c910 004e45c0 +0061c910 0041d520 0061c910 0092dc30 -0061c910 00aef15c -0061c910 00956780 +0061c910 004e45c0 +0061c910 007e4940 +0061c910 006ac560 +0061c910 0040a1b0 +0061c910 EXTERNAL:00000262 +0061c910 007e3260 +0061c910 00414a80 0061d030 0041a790 -0061d030 00612bb0 -0061d030 EXTERNAL:00000262 0061d030 00435a50 +0061d030 00612bb0 0061d030 0040a380 0061d030 0040b220 -0061d030 00615030 0061d030 007706e0 -0061d6b0 00613910 -0061d6b0 0040a1b0 +0061d030 EXTERNAL:00000262 +0061d030 00615030 +0061d6b0 00956780 +0061d6b0 0062db20 0061d6b0 0040b220 +0061d6b0 0040a5d0 +0061d6b0 00612bb0 +0061d6b0 00613910 +0061d6b0 0092dc30 +0061d6b0 0070ee40 +0061d6b0 00710dd0 +0061d6b0 0078f840 +0061d6b0 0040a1b0 0061d6b0 0062d7e0 0061d6b0 009be080 -0061d6b0 0070ee40 -0061d6b0 00612bb0 -0061d6b0 0040a5d0 -0061d6b0 0092dc30 -0061d6b0 00710dd0 -0061d6b0 00956780 -0061d6b0 0078f840 -0061d6b0 0062db20 -0061da10 00407170 -0061da10 0040a6e0 -0061da10 00a104b0 -0061da10 00616050 -0061da10 0060cd20 -0061da10 006828b0 -0061da10 00417340 -0061da10 0060cc90 -0061da10 0060ccb0 -0061da10 00436170 -0061da10 00682f50 -0061da10 00417160 -0061da10 004d7760 -0061da10 00417850 -0061da10 007bf6c0 -0061da10 00a0fea0 -0061da10 007ea190 -0061da10 00639750 -0061da10 00452c40 -0061da10 0060d120 -0061da10 00813ce0 -0061da10 0060cde0 -0061da10 004e47c0 -0061da10 0061c910 -0061da10 0060cf00 -0061da10 004561a0 -0061da10 004316d0 -0061da10 00407480 -0061da10 00a102e0 -0061da10 0040a550 -0061da10 00682fb0 -0061da10 00420af0 -0061da10 00417170 -0061da10 0067a080 -0061da10 00407410 -0061da10 00615030 -0061da10 0060cd50 -0061da10 0044bfa0 -0061da10 00632d90 -0061da10 0043ee80 -0061da10 006b45c0 -0061da10 00409100 -0061da10 006414c0 -0061da10 00644e80 -0061da10 009302e0 -0061da10 004174a0 -0061da10 00435f70 -0061da10 00417290 -0061da10 0061d030 -0061da10 00a10480 -0061da10 005cd560 -0061da10 007e6ff0 -0061da10 00af08b1 -0061da10 006196e0 -0061da10 006139b0 -0061da10 00676bd0 -0061da10 00704360 -0061da10 0064f860 -0061da10 00456820 -0061da10 00aef29d -0061da10 00a0ff30 -0061da10 00592230 -0061da10 00a105d0 -0061da10 0040a4d0 -0061da10 006518f0 -0061da10 004074b0 -0061da10 00456830 -0061da10 006384a0 -0061da10 0063c1c0 -0061da10 006eef60 -0061da10 00436080 -0061da10 00a10160 -0061da10 0064fd40 -0061da10 00651810 -0061da10 0061c3f0 -0061da10 00632820 -0061da10 006a9320 -0061da10 00435ad0 -0061da10 00a0ff70 -0061da10 00417210 -0061da10 007e90f0 -0061da10 004176f0 -0061da10 00616770 -0061da10 00a10540 -0061da10 0060cd90 -0061da10 0063f9f0 -0061da10 0041e460 -0061da10 004171b0 -0061da10 0041cb60 -0061da10 007aab70 -0061da10 00435bc0 -0061da10 00417430 -0061da10 006ac6c0 -0061da10 0060cd80 -0061da10 00456490 -0061da10 00a10180 -0061da10 00417830 -0061da10 006312f0 -0061da10 005b15a0 -0061da10 0092df40 -0061da10 00428910 -0061da10 00613910 -0061da10 00676120 -0061da10 0061b8c0 -0061da10 00435e90 -0061da10 006ac560 -0061da10 0062f7f0 -0061da10 006a8fa0 -0061da10 0092e230 -0061da10 0042c710 -0061da10 006468a0 -0061da10 0062d300 -0061da10 00a10660 -0061da10 006b6470 +0061da10 00a0fed0 +0061da10 00417820 0061da10 00a10630 -0061da10 00651990 -0061da10 00436090 -0061da10 006ac8d0 -0061da10 0060ce00 -0061da10 005cd580 -0061da10 00440eb0 -0061da10 0043eed0 -0061da10 00431520 -0061da10 00456860 -0061da10 00a0fe80 +0061da10 00631b20 +0061da10 006401d0 0061da10 0062e620 -0061da10 00435e60 -0061da10 00435d60 -0061da10 0060cdf0 -0061da10 007cb580 -0061da10 0060cd00 -0061da10 0060ccc0 +0061da10 00682f50 +0061da10 0061c3f0 +0061da10 00a10390 +0061da10 007ea190 +0061da10 00679e80 +0061da10 00435e40 +0061da10 0064fd40 +0061da10 00456860 +0061da10 0060cd80 +0061da10 0067f070 +0061da10 00417310 +0061da10 007915a0 +0061da10 00632820 +0061da10 00813ce0 +0061da10 00435c60 +0061da10 00417170 +0061da10 0060cee0 0061da10 00417620 -0061da10 0060ceb0 -0061da10 00431750 -0061da10 0041a790 -0061da10 00a10350 -0061da10 005a6ff0 -0061da10 00676150 +0061da10 00407170 +0061da10 00444c90 +0061da10 0067f0d0 +0061da10 004172f0 +0061da10 0063f9f0 +0061da10 00a105a0 +0061da10 00615030 +0061da10 007792f0 +0061da10 0060cca0 +0061da10 0041af60 +0061da10 0060ccc0 +0061da10 00af08b1 +0061da10 0040c200 +0061da10 00652fa0 +0061da10 00a104e0 +0061da10 009305f0 +0061da10 00a15640 0061da10 00417400 0061da10 00613df0 -0061da10 0060ccd0 -0061da10 0060cca0 -0061da10 0060cc20 -0061da10 006a9360 -0061da10 0042d9b0 -0061da10 0042f2a0 -0061da10 0060d0c0 -0061da10 00431530 -0061da10 0060cd10 -0061da10 00431430 -0061da10 0060ce50 -0061da10 00435c70 -0061da10 00614b10 -0061da10 0040c200 -0061da10 0063b340 -0061da10 006ac710 -0061da10 0060cd70 -0061da10 00431450 -0061da10 007706e0 -0061da10 009615e0 -0061da10 0067f0d0 -0061da10 0041e420 -0061da10 004173e0 -0061da10 006401d0 -0061da10 004173b0 -0061da10 004361c0 -0061da10 0060ce80 -0061da10 006a9c10 -0061da10 00428a50 -0061da10 0064bb70 -0061da10 00a10600 -0061da10 0063e180 +0061da10 00417430 +0061da10 00417830 0061da10 004073b0 -0061da10 0060ce10 -0061da10 00417480 -0061da10 0061c150 -0061da10 00579760 -0061da10 0060ccf0 -0061da10 0060d6a0 0061da10 0062ee30 -0061da10 00435b50 -0061da10 004178d0 -0061da10 006ad3c0 -0061da10 0060cef0 -0061da10 007e9020 -0061da10 00631050 -0061da10 0060cee0 -0061da10 0062a8f0 -0061da10 00417280 -0061da10 0060cdd0 -0061da10 00647320 -0061da10 00435c20 -0061da10 00633500 -0061da10 007e9080 -0061da10 004177c0 -0061da10 004566b0 -0061da10 007ebca0 -0061da10 0060cf10 -0061da10 00435e40 -0061da10 004316b0 -0061da10 00634b10 -0061da10 007ab380 -0061da10 004508a0 -0061da10 006ad870 -0061da10 0060ce30 -0061da10 00635390 -0061da10 00813b30 -0061da10 00435cf0 -0061da10 004172b0 -0061da10 006ae820 -0061da10 00651db0 -0061da10 0040b200 -0061da10 006437a0 -0061da10 0060cdc0 -0061da10 00a10100 -0061da10 00417270 -0061da10 00645bc0 -0061da10 005cba30 -0061da10 00961870 -0061da10 006403f0 -0061da10 0060ce40 -0061da10 00aef253 -0061da10 00644780 -0061da10 0042c770 -0061da10 0067efe0 -0061da10 00679e80 -0061da10 00631b20 -0061da10 004565e0 -0061da10 009305f0 -0061da10 0040d0e0 -0061da10 004253b0 -0061da10 00630c90 -0061da10 0060cd60 -0061da10 00812c90 -0061da10 00444c70 -0061da10 0060cd40 -0061da10 00429550 -0061da10 007f0df0 -0061da10 0067f1d0 -0061da10 00428b20 -0061da10 00435d10 -0061da10 00652fa0 -0061da10 004316a0 -0061da10 00456370 -0061da10 006a92a0 -0061da10 00618b00 -0061da10 00431260 +0061da10 004175b0 +0061da10 004561a0 +0061da10 00a10350 0061da10 00436060 -0061da10 00771550 -0061da10 0061d6b0 -0061da10 00435f30 -0061da10 00682740 -0061da10 00592200 -0061da10 0064d5f0 -0061da10 004316e0 -0061da10 0042a250 -0061da10 007e8f90 -0061da10 00435e50 -0061da10 00431270 -0061da10 00a104e0 -0061da10 007915a0 -0061da10 0067a400 -0061da10 006424d0 -0061da10 00703be0 -0061da10 00675fc0 -0061da10 0040c780 -0061da10 00612bb0 -0061da10 006470c0 -0061da10 0060cea0 -0061da10 005cd750 -0061da10 00a0fed0 -0061da10 00860f00 -0061da10 0041af60 -0061da10 009304a0 -0061da10 00440e50 -0061da10 006b64d0 -0061da10 004073c0 -0061da10 00619270 -0061da10 004aad30 -0061da10 00428a60 -0061da10 00421770 -0061da10 0044bf90 -0061da10 006378c0 -0061da10 00650610 -0061da10 0061bd50 -0061da10 0060dc40 -0061da10 0060cdb0 -0061da10 00431be0 -0061da10 00a100b0 -0061da10 0041cb80 -0061da10 006431d0 -0061da10 00440e30 -0061da10 00a10390 -0061da10 006ad750 -0061da10 00a15640 -0061da10 006ac760 -0061da10 007f0780 -0061da10 00456620 -0061da10 0060ce60 -0061da10 00444c60 -0061da10 00a648b0 -0061da10 00615d80 -0061da10 00a105a0 -0061da10 0043aa90 -0061da10 0041cb70 -0061da10 004aadb0 -0061da10 004314b0 -0061da10 007dd3b0 -0061da10 004172f0 -0061da10 00417460 -0061da10 0067f010 -0061da10 00417320 -0061da10 00431310 -0061da10 00435e70 -0061da10 0060cfd0 -0061da10 0040a380 -0061da10 00456440 -0061da10 00aef12b -0061da10 0062e120 -0061da10 00435f20 -0061da10 009568e0 -0061da10 00417310 -0061da10 00417470 -0061da10 0092e050 -0061da10 00634000 -0061da10 00a10450 -0061da10 005cd5a0 -0061da10 007792f0 -0061da10 004172d0 +0061da10 0064e0c0 +0061da10 00651810 +0061da10 0060cef0 +0061da10 00642cb0 +0061da10 004288f0 +0061da10 00813b30 +0061da10 00456830 +0061da10 0041a790 0061da10 0042a260 0061da10 004361f0 -0061da10 009ad210 -0061da10 00616db0 -0061da10 004aade0 -0061da10 0060ce70 -0061da10 0060cda0 -0061da10 00703f90 -0061da10 0067f070 -0061da10 00a10420 -0061da10 0064e0c0 -0061da10 00417820 -0061da10 00417870 -0061da10 006146e0 -0061da10 00444c90 -0061da10 00638170 -0061da10 0064bfa0 0061da10 00612af0 -0061da10 005cd590 -0061da10 006a6910 -0061da10 00640ca0 -0061da10 00505b70 -0061da10 0061a240 -0061da10 00431540 -0061da10 004288f0 -0061da10 004171d0 -0061da10 0040b030 -0061da10 0092e560 -0061da10 00456850 -0061da10 0040a720 -0061da10 0062e9c0 -0061da10 00642cb0 -0061da10 00417260 -0061da10 005b1570 +0061da10 006ad870 +0061da10 0064f860 +0061da10 0040d0e0 +0061da10 00a10660 +0061da10 00431530 +0061da10 0060cd90 +0061da10 004e47c0 0061da10 0067a190 -0061da10 0061a4e0 -0061da10 00634a40 -0061da10 00a0fe90 -0061da10 00447720 -0061da10 006b7a80 -0061da10 00a10030 -0061da10 006174c0 -0061da10 004175b0 -0061da10 00a0ff90 +0061da10 0060cde0 +0061da10 0042c770 +0061da10 00675fc0 +0061da10 006ac710 +0061da10 007aab70 +0061da10 0062a8f0 +0061da10 0042a250 +0061da10 005b1570 +0061da10 0060ceb0 +0061da10 00407480 +0061da10 007bf6c0 +0061da10 00436080 +0061da10 00a0fea0 +0061da10 005cd590 +0061da10 0043eed0 +0061da10 0060cdc0 +0061da10 0041e420 +0061da10 0041cb70 +0061da10 00431be0 +0061da10 00456370 +0061da10 00619270 +0061da10 005cd580 +0061da10 006b45c0 +0061da10 00435b50 +0061da10 0092e230 +0061da10 0040c780 +0061da10 0061b8c0 +0061da10 006424d0 +0061da10 00632d90 +0061da10 006470c0 +0061da10 00a10100 +0061da10 006146e0 +0061da10 00a648b0 +0061da10 00452c40 +0061da10 0067efe0 +0061da10 0060ce40 +0061da10 004508a0 +0061da10 007e9080 +0061da10 004316e0 +0061da10 00417870 +0061da10 0060ce80 +0061da10 00a100b0 +0061da10 00444c70 +0061da10 00a10180 +0061da10 00771550 +0061da10 0043ee80 +0061da10 00417340 +0061da10 00435f20 +0061da10 0040b200 +0061da10 004172b0 +0061da10 00aef29d +0061da10 00634000 +0061da10 006431d0 +0061da10 004314b0 +0061da10 006ad3c0 +0061da10 0060ccf0 +0061da10 0061bd50 +0061da10 00647320 +0061da10 00a10160 +0061da10 0064bfa0 +0061da10 006ad750 0061da10 005b39d0 -0061da10 00813520 -0061da10 00435c60 -0061da10 0060ced0 -0061da10 00407140 +0061da10 00a0ff30 +0061da10 0060cdd0 +0061da10 005cba30 +0061da10 0061d6b0 +0061da10 0042f2a0 +0061da10 0060cda0 +0061da10 004aadb0 +0061da10 00435e70 +0061da10 00417280 +0061da10 007e8f90 +0061da10 006ac6c0 +0061da10 007ebca0 +0061da10 00447720 +0061da10 00676120 +0061da10 0060ce30 +0061da10 0041cb60 +0061da10 006414c0 +0061da10 00961870 +0061da10 00436090 +0061da10 00431520 +0061da10 00409100 +0061da10 00616db0 0061da10 00436220 +0061da10 004173b0 +0061da10 00682740 +0061da10 0043aa90 +0061da10 00435c70 +0061da10 006828b0 +0061da10 00431450 +0061da10 00444c60 +0061da10 007706e0 +0061da10 007f0780 +0061da10 005cd560 +0061da10 00aef253 +0061da10 00a105d0 +0061da10 0060cf00 +0061da10 00630c90 +0061da10 0060cd60 +0061da10 004171d0 +0061da10 00579760 +0061da10 00651db0 +0061da10 005cd750 +0061da10 0061c910 +0061da10 006518f0 +0061da10 0060dc40 +0061da10 00417460 +0061da10 00505b70 +0061da10 006403f0 +0061da10 00435f70 +0061da10 00644e80 +0061da10 00a102e0 +0061da10 006ae820 +0061da10 0060ce70 +0061da10 004316d0 +0061da10 00417290 +0061da10 00417850 +0061da10 00631050 +0061da10 006378c0 +0061da10 0060ced0 +0061da10 004074b0 +0061da10 0060cdb0 +0061da10 0092e050 +0061da10 00634b10 +0061da10 00651990 +0061da10 0040a380 +0061da10 007e6ff0 +0061da10 0044bfa0 +0061da10 004361c0 +0061da10 007e9020 +0061da10 00431260 +0061da10 0060cf10 +0061da10 00435d60 +0061da10 0060d0c0 +0061da10 0040a720 +0061da10 00420af0 +0061da10 0060cd10 +0061da10 0067f1d0 +0061da10 0067f010 +0061da10 00428a60 +0061da10 004565e0 +0061da10 004073c0 +0061da10 00618b00 +0061da10 00456850 +0061da10 00aef12b +0061da10 00a10540 +0061da10 004177c0 +0061da10 00431750 +0061da10 00435c20 +0061da10 00703f90 +0061da10 005b15a0 +0061da10 0042d9b0 +0061da10 00703be0 +0061da10 00417270 +0061da10 006468a0 +0061da10 0060d120 +0061da10 00417160 +0061da10 006196e0 +0061da10 0060cd20 +0061da10 0060cea0 +0061da10 00435ad0 +0061da10 00592200 +0061da10 00428b20 +0061da10 00a10480 +0061da10 0040b030 +0061da10 00615d80 +0061da10 00616050 +0061da10 006a9320 +0061da10 006a6910 +0061da10 00431310 +0061da10 00440e50 +0061da10 00645bc0 +0061da10 0060cdf0 +0061da10 009ad210 +0061da10 00431540 +0061da10 004d7760 +0061da10 00429550 +0061da10 00456620 +0061da10 00634a40 +0061da10 004aad30 +0061da10 00a0fe80 +0061da10 0063b340 +0061da10 0060cd70 +0061da10 00431270 +0061da10 004566b0 +0061da10 0040a6e0 +0061da10 004316a0 +0061da10 0061d030 +0061da10 0060cfd0 +0061da10 00860f00 +0061da10 00417480 +0061da10 00a10450 +0061da10 0041cb80 +0061da10 0063e180 +0061da10 004316b0 +0061da10 00435e50 +0061da10 00407410 +0061da10 009568e0 +0061da10 0060cd40 +0061da10 00435f30 +0061da10 0067a080 +0061da10 0062d300 +0061da10 0060d6a0 +0061da10 00417470 +0061da10 0064bb70 +0061da10 009302e0 +0061da10 007dd3b0 +0061da10 006139b0 +0061da10 0061c150 +0061da10 00428910 +0061da10 006384a0 +0061da10 00812c90 +0061da10 006b7a80 +0061da10 004173e0 +0061da10 00456820 +0061da10 00639750 +0061da10 00614b10 +0061da10 00638170 +0061da10 007cb580 +0061da10 0092e560 +0061da10 00633500 +0061da10 00421770 +0061da10 00a0ff70 +0061da10 00436170 +0061da10 0064d5f0 +0061da10 00440eb0 +0061da10 004172d0 +0061da10 006437a0 +0061da10 0062e120 +0061da10 007ab380 +0061da10 00a10600 +0061da10 004253b0 +0061da10 00592230 +0061da10 00635390 +0061da10 0060cd00 +0061da10 00431430 +0061da10 006a92a0 +0061da10 006eef60 +0061da10 006a9360 +0061da10 00813520 +0061da10 006b6470 +0061da10 00417320 +0061da10 004aade0 +0061da10 00644780 +0061da10 0060ce50 +0061da10 00435bc0 +0061da10 004171b0 +0061da10 00a104b0 +0061da10 00417210 +0061da10 0044bf90 +0061da10 00417260 +0061da10 00a0fe90 +0061da10 0060cc20 +0061da10 00a10420 +0061da10 009304a0 +0061da10 00407140 +0061da10 006a9c10 +0061da10 00a10030 +0061da10 006ac560 +0061da10 00640ca0 +0061da10 00456490 +0061da10 00435e90 +0061da10 004178d0 +0061da10 006ac760 +0061da10 0062f7f0 +0061da10 00616770 +0061da10 004174a0 +0061da10 0092df40 +0061da10 00428a50 +0061da10 0040a550 +0061da10 005cd5a0 +0061da10 0060ccd0 +0061da10 0042c710 +0061da10 0060cd50 +0061da10 0061a4e0 +0061da10 00613910 +0061da10 0041e460 +0061da10 00a0ff90 +0061da10 007e90f0 +0061da10 0063c1c0 +0061da10 0040a4d0 +0061da10 006174c0 +0061da10 00682fb0 +0061da10 006312f0 +0061da10 005a6ff0 +0061da10 00676150 +0061da10 00435cf0 +0061da10 004176f0 +0061da10 00676bd0 +0061da10 0060ce60 +0061da10 006ac8d0 +0061da10 00650610 +0061da10 0062e9c0 +0061da10 0067a400 +0061da10 00612bb0 +0061da10 00456440 +0061da10 0060ccb0 +0061da10 006b64d0 +0061da10 0060ce10 +0061da10 006a8fa0 +0061da10 00435e60 +0061da10 0061a240 +0061da10 00440e30 +0061da10 0060cc90 +0061da10 009615e0 +0061da10 007f0df0 +0061da10 00704360 +0061da10 0060ce00 +0061da10 00435d10 00624a80 006b0eb0 -00624a80 00499d20 00624a80 009305f0 +00624a80 00499d20 00624dd0 00612af0 00624dd0 006b2000 00624dd0 00612b50 -00624e10 00860fe0 -00624e10 0090b100 -00624e10 006b10f0 -00624e10 00aef29d -00624e10 0040b220 -00624e10 00aef12b -00624e10 00aef5af -00624e10 007db700 -00624e10 00aef253 00624e10 00612af0 +00624e10 00aef5af +00624e10 0090b100 +00624e10 00a112c0 +00624e10 00aef12b 00624e10 0040c890 00624e10 006324d0 +00624e10 007db700 +00624e10 0040b220 00624e10 00612b50 -00624e10 00a112c0 00624e10 00af0917 -006261f0 006444d0 -006261f0 00676120 -006261f0 007c3100 -006261f0 00758a70 -006261f0 006ac560 -006261f0 0041d540 -006261f0 006ad500 -006261f0 006a8fa0 -006261f0 0060dc40 -006261f0 006b9910 -006261f0 006d4a00 -006261f0 0041d520 -006261f0 00a100b0 -006261f0 0040b220 -006261f0 00435c20 -006261f0 007f0780 -006261f0 006ad750 -006261f0 00700060 -006261f0 006b6470 +00624e10 00aef29d +00624e10 00aef253 +00624e10 006b10f0 +00624e10 00860fe0 006261f0 00a10630 -006261f0 007bf6c0 -006261f0 006ad870 -006261f0 00813ce0 006261f0 006b62b0 -006261f0 00780560 -006261f0 004314b0 -006261f0 0067d1f0 -006261f0 004e47c0 -006261f0 007599d0 -006261f0 00649290 -006261f0 007cb6e0 -006261f0 0067f010 -006261f0 00a10100 -006261f0 00431310 -006261f0 00417170 -006261f0 008610d0 -006261f0 0067af60 006261f0 0040a380 -006261f0 0067a080 -006261f0 00aef12b -006261f0 00615030 -006261f0 009568e0 -006261f0 007aa7c0 -006261f0 005cba80 -006261f0 00431620 -006261f0 0092dc30 -006261f0 004170d0 -006261f0 006ae0a0 -006261f0 006b2210 -006261f0 006ae420 -006261f0 00af08b1 -006261f0 00676150 -006261f0 00428b20 -006261f0 00652fa0 +006261f0 00a100b0 +006261f0 006ac530 +006261f0 0040b220 006261f0 0067f070 006261f0 004238f0 -006261f0 006ac530 -006261f0 006fe410 -006261f0 0060d8e0 +006261f0 00813ce0 +006261f0 00417170 +006261f0 0092dc30 +006261f0 004314b0 +006261f0 00780ec0 +006261f0 00a10600 +006261f0 0060cc30 +006261f0 00615030 +006261f0 0067f010 +006261f0 006ae0a0 006261f0 00592230 -006261f0 006b79d0 -006261f0 009569a0 -006261f0 007050c0 -006261f0 00416440 +006261f0 006ad750 +006261f0 005b17c0 006261f0 006eef60 -006261f0 006b5b90 -006261f0 00435c70 +006261f0 0041d540 +006261f0 0041af60 +006261f0 00aef12b +006261f0 00758a70 +006261f0 00af08b1 006261f0 0042cfd0 +006261f0 006b2210 +006261f0 006b6470 +006261f0 0060d8e0 +006261f0 00813520 +006261f0 00652fa0 +006261f0 00431620 +006261f0 00435c20 +006261f0 004170d0 +006261f0 007cb6e0 +006261f0 0041d520 +006261f0 00435a50 +006261f0 008610d0 +006261f0 00417430 +006261f0 006ae420 +006261f0 00780560 +006261f0 004175b0 +006261f0 009569a0 +006261f0 005cba80 +006261f0 00416440 +006261f0 00649290 +006261f0 00a10030 +006261f0 0067d1f0 +006261f0 006ac560 +006261f0 006d4a00 +006261f0 00676120 +006261f0 007c3100 +006261f0 00435ad0 +006261f0 006ad870 +006261f0 006b9910 +006261f0 00431640 +006261f0 00428b20 +006261f0 006b79d0 +006261f0 00415bd0 +006261f0 004e47c0 006261f0 006a9320 006261f0 006ac710 -006261f0 00435ad0 +006261f0 00431310 +006261f0 00435c70 006261f0 007e90f0 -006261f0 00780ec0 006261f0 00431450 -006261f0 007706e0 -006261f0 00431640 -006261f0 0060cc30 -006261f0 00415bd0 -006261f0 00a0f4c0 006261f0 00431570 -006261f0 005b17c0 -006261f0 007cf8f0 -006261f0 00a10600 -006261f0 00417430 -006261f0 006470c0 -006261f0 00435a50 -006261f0 00a10030 -006261f0 0041af60 -006261f0 004175b0 -006261f0 00813520 +006261f0 007bf6c0 +006261f0 007706e0 +006261f0 007f0780 +006261f0 0067af60 006261f0 00956780 -0062a930 007599d0 +006261f0 00700060 +006261f0 00676150 +006261f0 007cf8f0 +006261f0 00a0f4c0 +006261f0 007050c0 +006261f0 006ad500 +006261f0 0060dc40 +006261f0 006b5b90 +006261f0 006a8fa0 +006261f0 009568e0 +006261f0 007599d0 +006261f0 00a10100 +006261f0 006470c0 +006261f0 0067a080 +006261f0 006fe410 +006261f0 006444d0 +006261f0 007aa7c0 0062a930 00a112c0 0062a930 007706e0 -0062aab0 007e9020 +0062a930 007599d0 +0062aab0 00638e30 +0062aab0 0064bb70 +0062aab0 00734180 +0062aab0 00956780 +0062aab0 007e9080 +0062aab0 006eef60 +0062aab0 0043eb10 0062aab0 00428b20 0062aab0 006402f0 -0062aab0 0040a1b0 -0062aab0 0064bb70 -0062aab0 007e9080 -0062aab0 00734180 -0062aab0 006eef60 -0062aab0 00638e30 +0062aab0 00813520 0062aab0 0040a5d0 -0062aab0 0043eb10 0062aab0 00771550 +0062aab0 0043d7f0 +0062aab0 007e9020 0062aab0 0092dc30 0062aab0 007e90f0 -0062aab0 00813520 -0062aab0 00956780 -0062aab0 0043d7f0 0062aab0 007706e0 -0062b360 0040a5d0 -0062b360 006402f0 -0062b360 0040a1b0 -0062b360 007cafe0 -0062b360 00640050 -0062b360 0063b4a0 +0062aab0 0040a1b0 0062b360 009303f0 -0062b750 004cdcf0 -0062b750 006eef60 -0062b750 006402f0 -0062b750 0092dc30 -0062b750 006fe410 -0062b750 0040a380 -0062b750 004cf210 -0062b750 00813520 -0062b750 00417430 +0062b360 007cafe0 +0062b360 0063b4a0 +0062b360 006402f0 +0062b360 0040a5d0 +0062b360 00640050 +0062b360 0040a1b0 0062b750 00956780 -0062bb70 004362a0 -0062bb70 00af08b1 +0062b750 00417430 +0062b750 0092dc30 +0062b750 006eef60 +0062b750 0040a380 +0062b750 006402f0 +0062b750 00813520 +0062b750 004cf210 +0062b750 004cdcf0 +0062b750 006fe410 +0062bb70 0040a940 0062bb70 006139b0 -0062bb70 0067f1d0 -0062bb70 0041d540 -0062bb70 0074d010 -0062bb70 0067f070 -0062bb70 0040a380 -0062bb70 0041d520 -0062bb70 0064d1d0 0062bb70 006eef60 0062bb70 00a112c0 +0062bb70 0041d540 +0062bb70 0040a380 +0062bb70 0074d010 +0062bb70 00af08b1 +0062bb70 0067f070 +0062bb70 0041d520 +0062bb70 004362a0 +0062bb70 0064d1d0 0062bb70 006127b0 -0062bb70 0040a940 -0062bb70 0074cd70 0062bb70 0081e9d0 0062bb70 007706e0 +0062bb70 0067f1d0 +0062bb70 0074cd70 0062c8a0 006402f0 0062c8a0 00640050 -0062c8d0 009960b0 -0062c8d0 006ad500 -0062c8d0 006a8fa0 -0062c8d0 0040a1b0 -0062c8d0 006fe410 -0062c8d0 006b6550 -0062c8d0 00aef12b -0062c8d0 006eef60 +0062c8d0 00956780 0062c8d0 00a112c0 +0062c8d0 006eef60 +0062c8d0 009960b0 +0062c8d0 00aef12b +0062c8d0 006ad500 0062c8d0 0040a5d0 0062c8d0 0063b240 0062c8d0 0092dc30 -0062c8d0 00956780 -0062cdc0 006eef60 -0062cdc0 004564b0 -0062cdc0 006acd10 -0062cdc0 00408830 -0062cdc0 00a10030 +0062c8d0 006a8fa0 +0062c8d0 0040a1b0 +0062c8d0 006b6550 +0062c8d0 006fe410 +0062cdc0 00956780 0062cdc0 0092dc30 -0062cdc0 006fe410 -0062cdc0 006ace60 +0062cdc0 004564b0 +0062cdc0 006eef60 0062cdc0 0040a380 0062cdc0 0043a5e0 -0062cdc0 00956780 +0062cdc0 00a10030 +0062cdc0 006ace60 +0062cdc0 006acd10 +0062cdc0 00408830 +0062cdc0 006fe410 0062d290 007706e0 -0062d300 0067f1d0 -0062d300 0097fc10 -0062d300 0060dc40 -0062d300 006fe410 -0062d300 00613df0 -0062d300 00638c10 +0062d300 00956780 0062d300 0064bb70 -0062d300 006146e0 -0062d300 004cdcf0 -0062d300 00499d60 -0062d300 006eef60 0062d300 0067f260 0062d300 00612af0 -0062d300 00651810 +0062d300 006eef60 +0062d300 004cdcf0 +0062d300 00639750 0062d300 00612b50 +0062d300 0060dc40 +0062d300 00613df0 0062d300 00435a50 +0062d300 00638c10 0062d300 0092dc30 0062d300 0096f470 -0062d300 00639750 -0062d300 00614500 -0062d300 004cf210 +0062d300 0097fc10 0062d300 006341a0 -0062d300 00956780 +0062d300 00499d60 +0062d300 004cf210 0062d300 006142e0 -0062d7e0 004cdcf0 +0062d300 00651810 +0062d300 0067f1d0 +0062d300 006146e0 +0062d300 00614500 +0062d300 006fe410 0062d7e0 00a112c0 0062d7e0 004cf210 -0062db20 004cdcf0 -0062db20 00af08b1 -0062db20 00a112c0 -0062db20 00a648b0 -0062db20 0040a5d0 -0062db20 00612970 -0062db20 0040bd50 -0062db20 0040a1b0 -0062db20 0041af60 -0062db20 004cf210 +0062d7e0 004cdcf0 0062db20 00694fb0 -0062e020 00613fe0 -0062e020 006141e0 +0062db20 00612970 +0062db20 00a112c0 +0062db20 0041af60 +0062db20 00af08b1 +0062db20 004cdcf0 +0062db20 004cf210 +0062db20 0040a5d0 +0062db20 0040a1b0 +0062db20 0040bd50 +0062db20 00a648b0 0062e020 00612440 -0062e020 0062d7e0 0062e020 0062db20 -0062e0e0 004cdcf0 +0062e020 006141e0 +0062e020 00613fe0 +0062e020 0062d7e0 0062e0e0 004cf210 -0062e120 EXTERNAL:00000262 +0062e0e0 004cdcf0 0062e120 00435a50 -0062e120 0041af60 0062e120 007f0800 -0062e620 006eef60 +0062e120 0041af60 +0062e120 EXTERNAL:00000262 0062e620 0067f260 -0062e620 009f9050 +0062e620 006eef60 0062e620 0041d540 +0062e620 009f9050 +0062e620 009f9020 0062e620 00771550 -0062e620 00613df0 +0062e620 006146e0 0062e620 0041d520 0062e620 00614500 -0062e620 009f9020 -0062e620 006146e0 +0062e620 00613df0 0062e9c0 0041a790 +0062e9c0 007f0800 +0062e9c0 006b9910 0062e9c0 00af08b1 +0062e9c0 006ac560 +0062e9c0 007f0780 0062e9c0 007f0df0 0062e9c0 0067f1d0 -0062e9c0 00a648b0 -0062e9c0 006ac560 -0062e9c0 006b9910 -0062e9c0 007f0800 -0062e9c0 007f0780 0062e9c0 006ac760 -0062ee30 00812c90 -0062ee30 0067f1d0 -0062ee30 0040a380 -0062ee30 00615030 -0062ee30 006ac760 -0062ee30 00417430 -0062ee30 006146e0 -0062ee30 009568e0 -0062ee30 006eef60 -0062ee30 00435a50 -0062ee30 00a10030 -0062ee30 0092dc30 -0062ee30 00813b30 +0062e9c0 00a648b0 0062ee30 00956780 +0062ee30 00812c90 +0062ee30 006eef60 +0062ee30 0040a380 +0062ee30 00435a50 +0062ee30 00417430 +0062ee30 0092dc30 0062ee30 006b64d0 +0062ee30 009568e0 +0062ee30 00a10030 +0062ee30 0067f1d0 +0062ee30 006146e0 +0062ee30 00813b30 +0062ee30 006ac760 +0062ee30 00615030 0062f7f0 0041a790 -0062f7f0 00af08b1 0062f7f0 00428b20 -0062f7f0 0040a1b0 -0062f7f0 006eef60 -0062f7f0 0040add0 -0062f7f0 007e7070 -0062f7f0 00a112c0 -0062f7f0 0040a5d0 +0062f7f0 0040a380 0062f7f0 007e33c0 0062f7f0 00614b10 0062f7f0 006ac710 +0062f7f0 0092dc30 +0062f7f0 004cf210 +0062f7f0 0040a1b0 0062f7f0 EXTERNAL:00000262 -0062f7f0 00a10100 -0062f7f0 0040a380 -0062f7f0 006b2ee0 0062f7f0 00615030 +0062f7f0 00956780 +0062f7f0 0040add0 +0062f7f0 006eef60 +0062f7f0 00a112c0 +0062f7f0 007e7070 +0062f7f0 0041af60 +0062f7f0 00af08b1 +0062f7f0 00813520 0062f7f0 004cdcf0 +0062f7f0 006b2ee0 +0062f7f0 0040a5d0 0062f7f0 00435a50 0062f7f0 00a10030 -0062f7f0 0092dc30 -0062f7f0 0041af60 -0062f7f0 004cf210 -0062f7f0 00813520 -0062f7f0 00956780 +0062f7f0 00a10100 00630450 00af08b1 -00630560 00af08b1 -00630560 EXTERNAL:00000262 -00630560 004174c0 -00630560 00612440 -00630560 006fe410 -00630560 0040a380 -00630560 0040b220 -00630560 00aef12b -00630560 00408d00 -00630560 00612330 -00630560 004cdcf0 -00630560 006eef60 -00630560 00a112c0 -00630560 006127b0 00630560 0040a940 -00630560 0041af60 -00630560 0041b4f0 -00630560 004cf210 00630560 0060ddd0 +00630560 004174c0 +00630560 00a112c0 +00630560 006eef60 +00630560 0041af60 +00630560 00aef12b +00630560 0040a380 +00630560 00af08b1 00630560 0072fd10 -00630560 007706e0 +00630560 004cdcf0 +00630560 0040b220 +00630560 00612330 00630560 0064a830 +00630560 0041b4f0 +00630560 00612440 +00630560 00408d00 +00630560 004cf210 +00630560 006127b0 +00630560 007706e0 +00630560 EXTERNAL:00000262 +00630560 006fe410 +00630c90 00417430 00630c90 006eef60 -00630c90 007e3260 00630c90 0040a5d0 +00630c90 0081e9d0 00630c90 007e33c0 00630c90 0040a1b0 -00630c90 00417430 -00630c90 0081e9d0 -00631050 00771550 +00630c90 007e3260 00631050 00631850 00631050 006348d0 -006312f0 00812f50 -006312f0 00aef253 -006312f0 006eef60 -006312f0 006fd350 -006312f0 00af08b1 -006312f0 0041d540 -006312f0 00435a50 -006312f0 006fe410 -006312f0 0041d520 +00631050 00771550 006312f0 00aef29d -00631850 00634260 +006312f0 00435a50 +006312f0 006eef60 +006312f0 0041d540 +006312f0 00812f50 +006312f0 00af08b1 +006312f0 006fd350 +006312f0 00aef253 +006312f0 0041d520 +006312f0 006fe410 00631850 00435a50 -00631b20 0040cf50 -00631b20 008f5ad0 -00631b20 EXTERNAL:00000262 -00631b20 00428b20 -00631b20 00612440 -00631b20 00a17180 -00631b20 0062d7e0 -00631b20 0040b220 -00631b20 00aef12b -00631b20 00af05df -00631b20 004cdcf0 -00631b20 006eef60 -00631b20 0040ccc0 -00631b20 EXTERNAL:00000220 -00631b20 00499950 -00631b20 00a112c0 -00631b20 0040c000 -00631b20 006141e0 +00631850 00634260 00631b20 00aef15c +00631b20 008f5ad0 +00631b20 00a112c0 +00631b20 006eef60 +00631b20 0040cf50 +00631b20 00aef12b +00631b20 00428b20 +00631b20 004cdcf0 +00631b20 0040b220 +00631b20 00499950 +00631b20 0040c000 +00631b20 00612440 +00631b20 0040cf00 +00631b20 0040ccc0 +00631b20 006141e0 00631b20 0040bf30 00631b20 004cf210 -00631b20 0040cf00 00631b20 00af08bd -006322f0 EXTERNAL:00000220 -006322f0 00a112c0 -006322f0 0040c000 -006322f0 0040a5d0 -006322f0 0040a1b0 +00631b20 00a17180 +00631b20 00af05df +00631b20 EXTERNAL:00000262 +00631b20 EXTERNAL:00000220 +00631b20 0062d7e0 006322f0 00aef15c +006322f0 00a112c0 006322f0 0040bf30 -006322f0 0040ccd0 006322f0 00aef12b -006324d0 00651810 -006324d0 00af08b1 +006322f0 0040a5d0 +006322f0 0040ccd0 +006322f0 0040a1b0 +006322f0 EXTERNAL:00000220 +006322f0 0040c000 006324d0 0040a0d0 006324d0 00408e00 -006324d0 0040a5d0 006324d0 0090b100 006324d0 0040a380 +006324d0 00af08b1 +006324d0 0040a5d0 +006324d0 00651810 00632820 0041a790 -00632820 007f0df0 -00632820 00af08b1 -00632820 EXTERNAL:00000262 -00632820 006ac560 -00632820 00428b20 -00632820 006a8fa0 -00632820 0040a1b0 -00632820 0060dc40 00632820 0064bb70 -00632820 00aef12b -00632820 004cdcf0 -00632820 00677780 -00632820 006eef60 00632820 0040add0 -00632820 00634000 -00632820 00651810 +00632820 006eef60 +00632820 00aef12b +00632820 00428b20 +00632820 00af08b1 +00632820 004cdcf0 00632820 0040a5d0 -00632820 00435a50 -00632820 007bf6c0 +00632820 0060dc40 00632820 006ac710 +00632820 00435a50 +00632820 00634000 +00632820 006a8fa0 00632820 004cf210 -00632d90 0042f430 -00632d90 0041d540 -00632d90 0070b2a0 -00632d90 0041d520 -00632d90 006828b0 +00632820 007bf6c0 +00632820 00651810 +00632820 006ac560 +00632820 007f0df0 +00632820 0040a1b0 +00632820 EXTERNAL:00000262 +00632820 00677780 +00632d90 00956780 +00632d90 00aef15c 00632d90 006eef60 -00632d90 00499d60 -00632d90 EXTERNAL:00000220 +00632d90 0041d540 +00632d90 0042f430 +00632d90 00740bc0 +00632d90 0041d520 00632d90 00435a50 00632d90 0092dc30 -00632d90 00aef15c -00632d90 00740bc0 -00632d90 00956780 +00632d90 006828b0 +00632d90 00499d60 00632d90 0081e9d0 -00633500 EXTERNAL:00000262 -00633500 006ac560 -00633500 0041d540 -00633500 00499d20 -00633500 0041d520 -00633500 0042c920 -00633500 004cdcf0 -00633500 006eef60 +00632d90 0070b2a0 +00632d90 EXTERNAL:00000220 00633500 0042c880 -00633500 EXTERNAL:00000220 -00633500 00a112c0 -00633500 00435a50 00633500 00aef15c -00633500 006ac710 +00633500 006eef60 +00633500 00a112c0 +00633500 0041d540 00633500 0041af60 +00633500 004cdcf0 +00633500 0041d520 +00633500 006ac710 +00633500 00435a50 00633500 004cf210 -00633990 00aef253 -00633990 006eef60 -00633990 00a112c0 +00633500 0042c920 +00633500 006ac560 +00633500 EXTERNAL:00000220 +00633500 EXTERNAL:00000262 +00633500 00499d20 00633990 00aef29d -00633ea0 007cb6e0 -00633ea0 00771550 +00633990 00a112c0 +00633990 006eef60 +00633990 00aef253 00633ea0 00417170 -00634000 007cb6e0 +00633ea0 00771550 +00633ea0 007cb6e0 00634000 00676150 -00634000 00633ea0 00634000 00676020 00634000 00aef12b -006341a0 00771550 -006341a0 00633ea0 +00634000 00633ea0 +00634000 007cb6e0 006341a0 00aef12b -00634260 EXTERNAL:00000262 -00634260 0041d540 -00634260 00499d20 -00634260 00a0f4c0 -00634260 0041d520 -00634260 0042c8e0 -00634260 00414a80 -00634260 00499d60 -00634260 00652690 +006341a0 00633ea0 +006341a0 00771550 00634260 00612970 00634260 00aef15c -00634260 0041af60 00634260 00634920 -00634a40 00a648b0 -00634a40 0041af60 +00634260 0041d540 +00634260 0041af60 +00634260 00a0f4c0 +00634260 0042c8e0 +00634260 0041d520 +00634260 00499d60 +00634260 00652690 +00634260 EXTERNAL:00000262 +00634260 00414a80 +00634260 00499d20 00634a40 00634920 -00634b10 00af08b1 -00634b10 0067f1d0 -00634b10 00676150 -00634b10 00408e00 -00634b10 00428b20 -00634b10 0060dc40 +00634a40 0041af60 +00634a40 00a648b0 00634b10 0064bb70 -00634b10 00aef12b -00634b10 006146e0 -00634b10 00677780 -00634b10 004cdcf0 -00634b10 006eef60 -00634b10 00634000 -00634b10 00612bb0 -00634b10 00651810 -00634b10 00a112c0 -00634b10 0040c000 -00634b10 0040a5d0 -00634b10 0040bf30 00634b10 00633990 +00634b10 00676150 +00634b10 00a112c0 +00634b10 006eef60 +00634b10 00aef12b +00634b10 00428b20 +00634b10 00af08b1 +00634b10 004cdcf0 +00634b10 0040a5d0 +00634b10 0060dc40 +00634b10 0040c000 +00634b10 00612bb0 +00634b10 00634000 +00634b10 00408e00 +00634b10 0040bf30 00634b10 004cf210 -00635390 00af08b1 -00635390 009f6e60 -00635390 007a0970 -00635390 0041d540 +00634b10 00651810 +00634b10 0067f1d0 +00634b10 00677780 +00634b10 006146e0 +00635390 00aef15c +00635390 0040a380 00635390 00428b20 -00635390 00499d20 +00635390 00af0911 +00635390 00634000 +00635390 00781b90 +00635390 004cf210 +00635390 00499d60 +00635390 007706e0 00635390 0040a1b0 -00635390 0041d520 +00635390 009f6e60 +00635390 00677780 +00635390 EXTERNAL:00000220 +00635390 00499d20 +00635390 006eef60 +00635390 0041d540 +00635390 00a112c0 +00635390 007cb230 +00635390 0063acf0 +00635390 00aef12b +00635390 00af08b1 +00635390 00782160 +00635390 004cdcf0 00635390 00790af0 00635390 0060c790 -00635390 006ac760 -00635390 00781b90 -00635390 00677780 -00635390 006eef60 -00635390 EXTERNAL:00000220 -00635390 00a112c0 00635390 0040a5d0 -00635390 007706e0 -00635390 00782160 -00635390 007cb230 -00635390 0040a380 -00635390 00aef12b -00635390 004cdcf0 -00635390 00af0911 -00635390 00499d60 -00635390 00634000 +00635390 007a0970 +00635390 0041d520 00635390 0063b070 -00635390 0063acf0 -00635390 0063aef0 -00635390 00aef15c -00635390 004cf210 00635390 009f4230 -006378c0 00af08b1 -006378c0 006322f0 -006378c0 0040a1b0 -006378c0 006fe410 +00635390 0063aef0 +00635390 006ac760 006378c0 0064bb70 -006378c0 00aef12b -006378c0 00417430 -006378c0 004cdcf0 -006378c0 006eef60 -006378c0 006fd350 +006378c0 006322f0 006378c0 00a112c0 +006378c0 006eef60 +006378c0 00aef12b +006378c0 00af08b1 +006378c0 004cdcf0 006378c0 0040a5d0 -006378c0 00435a50 006378c0 006ac710 +006378c0 00435a50 +006378c0 00417430 006378c0 004cf210 006378c0 0081e9d0 -00638170 007e9020 -00638170 00af08b1 -00638170 006fe410 -00638170 00aef12b -00638170 006eef60 -00638170 0040add0 -00638170 00612bb0 -00638170 006ad870 -00638170 0092dc30 -00638170 006b45c0 -00638170 006d03e0 +006378c0 0040a1b0 +006378c0 006fd350 +006378c0 006fe410 00638170 00956780 +00638170 0040add0 +00638170 006eef60 +00638170 006ad870 +00638170 00aef12b +00638170 00af08b1 +00638170 007e9020 +00638170 006b45c0 +00638170 00612bb0 +00638170 0092dc30 00638170 007706e0 -006384a0 0067f1d0 -006384a0 007cb6e0 -006384a0 00408e00 +00638170 006d03e0 +00638170 006fe410 +006384a0 00956780 006384a0 0041d540 006384a0 0040a380 -006384a0 0041d520 -006384a0 0040bcd0 -006384a0 006146e0 -006384a0 00612bb0 -006384a0 00651810 -006384a0 0063b240 006384a0 0040a5d0 006384a0 00771550 +006384a0 007cb6e0 +006384a0 006395e0 +006384a0 0041d520 +006384a0 006ac710 +006384a0 00612bb0 +006384a0 0063b240 006384a0 00435a50 006384a0 0092dc30 -006384a0 006395e0 -006384a0 006ac710 -006384a0 00956780 +006384a0 00408e00 +006384a0 00651810 006384a0 007706e0 -00638c10 004cdcf0 -00638c10 00499d60 -00638c10 0097fc10 -00638c10 0060dc40 -00638c10 00614500 +006384a0 0067f1d0 +006384a0 0040bcd0 +006384a0 006146e0 00638c10 0064bb70 -00638c10 004cf210 +00638c10 0097fc10 00638c10 006341a0 00638c10 00aef12b +00638c10 00499d60 +00638c10 004cf210 +00638c10 004cdcf0 +00638c10 0060dc40 00638c10 0096f310 +00638c10 00614500 00638e20 00631b20 00638e30 006eef60 00638e30 0041d540 -00638e30 006fe410 -00638e30 0041d520 00638e30 00813520 -00639000 006eef60 -00639000 EXTERNAL:00000262 +00638e30 0041d520 +00638e30 006fe410 00639000 00a112c0 -00639000 00428b20 +00639000 006eef60 00639000 0041af60 00639000 00aef12b +00639000 00428b20 00639000 009b9570 +00639000 EXTERNAL:00000262 006393a0 006eef60 006393a0 0041d540 +006393a0 00813520 006393a0 00639000 006393a0 0041d520 -006393a0 00813520 -006395e0 004cdcf0 006395e0 006eef60 006395e0 00af08b1 -006395e0 006fe410 +006395e0 004cdcf0 006395e0 00813360 -00639750 00407170 -00639750 00676150 -00639750 0041d540 -00639750 0060dc40 -00639750 0067f070 -00639750 006fe410 -00639750 0041d520 -00639750 00435a80 -00639750 00677780 -00639750 006eef60 -00639750 007bf6c0 -00639750 00925df0 -00639750 007706e0 -00639750 007cb6e0 -00639750 004386f0 -00639750 0067af30 -00639750 0090b100 +006395e0 006fe410 00639750 0064bb70 -00639750 00aef12b +00639750 0090b100 +00639750 0067af30 00639750 007db700 -00639750 004cdcf0 -00639750 00634000 -00639750 00435a50 -00639750 00a10030 +00639750 0067f070 00639750 004071f0 +00639750 00634000 +00639750 00407170 00639750 004cf210 -0063acf0 006eef60 +00639750 007bf6c0 +00639750 007706e0 +00639750 00677780 +00639750 00676150 +00639750 006eef60 +00639750 0041d540 +00639750 00aef12b +00639750 004cdcf0 +00639750 0060dc40 +00639750 007cb6e0 +00639750 00925df0 +00639750 0041d520 +00639750 00435a50 +00639750 00435a80 +00639750 00a10030 +00639750 004386f0 +00639750 006fe410 0063acf0 0041d540 -0063acf0 007bf6c0 -0063acf0 0041d520 -0063acf0 00930640 +0063acf0 006eef60 0063acf0 00aef12b +0063acf0 007bf6c0 0063acf0 007706e0 +0063acf0 0041d520 0063acf0 0096f310 -0063aef0 006eef60 +0063acf0 00930640 0063aef0 0041d540 +0063aef0 006eef60 +0063aef0 00aef12b 0063aef0 007bf6c0 0063aef0 0041d520 -0063aef0 00aef12b 0063aef0 0096f310 -0063b070 004cdcf0 0063b070 006eef60 -0063b070 00af08b1 -0063b070 00961320 0063b070 0041d540 -0063b070 007bf6c0 -0063b070 006fe410 -0063b070 0041d520 -0063b070 004cf210 0063b070 00aef12b -0063b240 EXTERNAL:00000220 -0063b240 0040c000 +0063b070 00af08b1 +0063b070 004cf210 +0063b070 004cdcf0 +0063b070 007bf6c0 +0063b070 0041d520 +0063b070 006fe410 +0063b070 00961320 0063b240 00aef15c 0063b240 0040bf30 -0063b240 0040ccd0 0063b240 00aef12b +0063b240 0040ccd0 +0063b240 EXTERNAL:00000220 +0063b240 0040c000 +0063b340 00aef12b +0063b340 00652a30 0063b340 0040a5d0 0063b340 0040a1b0 -0063b340 00652a30 -0063b340 00aef12b -0063b4a0 00812f50 -0063b4a0 006eef60 0063b4a0 006139b0 +0063b4a0 00703950 +0063b4a0 00812d00 +0063b4a0 006eef60 0063b4a0 0041d540 +0063b4a0 00812f50 +0063b4a0 00813520 0063b4a0 00771550 0063b4a0 0067f070 -0063b4a0 00812d00 0063b4a0 0041d520 0063b4a0 00612890 -0063b4a0 00813520 -0063b4a0 00703950 -0063b8b0 00763570 -0063b8b0 00771550 -0063b8b0 00771f60 +0063b8b0 009303f0 0063b8b0 00aef12b +0063b8b0 00763570 0063b8b0 00af08bd 0063b8b0 0078f840 +0063b8b0 00771550 0063b8b0 007706e0 -0063b8b0 009303f0 -0063c060 006127b0 +0063b8b0 00771f60 0063c060 00612440 -0063c1c0 0040a6e0 -0063c1c0 0041d540 -0063c1c0 009e24a0 -0063c1c0 00734900 -0063c1c0 006fe410 -0063c1c0 0041d520 -0063c1c0 007078f0 -0063c1c0 006eef60 -0063c1c0 0040add0 -0063c1c0 004288a0 -0063c1c0 0040aaf0 -0063c1c0 00a112c0 -0063c1c0 007079c0 -0063c1c0 0063dd60 -0063c1c0 008646e0 -0063c1c0 00408e00 +0063c060 006127b0 0063c1c0 0063ce20 -0063c1c0 009e0680 -0063c1c0 006f0090 -0063c1c0 0040a380 -0063c1c0 00aef12b -0063c1c0 00865340 -0063c1c0 00418500 -0063c1c0 00734180 -0063c1c0 006fd350 -0063c1c0 00733ca0 -0063c1c0 0040ae70 -0063c1c0 00734a80 -0063c1c0 00435a50 -0063c1c0 0092dc30 0063c1c0 00a68490 +0063c1c0 0040a380 +0063c1c0 0092dc30 +0063c1c0 008646e0 +0063c1c0 007078f0 0063c1c0 004cf210 -0063c1c0 0063d570 +0063c1c0 00734900 +0063c1c0 00733ca0 +0063c1c0 0040aaf0 +0063c1c0 006fd350 +0063c1c0 0040ae70 +0063c1c0 0040a6e0 0063c1c0 00956780 -0063ce20 00af08b1 -0063ce20 0067f1d0 -0063ce20 0060dc40 -0063ce20 0067f170 -0063ce20 006fe410 -0063ce20 00675fc0 -0063ce20 0064bb70 -0063ce20 004cdcf0 -0063ce20 00677780 -0063ce20 006eef60 -0063ce20 00499d60 -0063ce20 00634000 -0063ce20 00435a50 -0063ce20 00a10030 -0063ce20 0092dc30 -0063ce20 004360f0 -0063ce20 004cf210 -0063ce20 009680d0 +0063c1c0 00734180 +0063c1c0 007079c0 +0063c1c0 0040add0 +0063c1c0 006eef60 +0063c1c0 0041d540 +0063c1c0 00a112c0 +0063c1c0 00aef12b +0063c1c0 006f0090 +0063c1c0 009e0680 +0063c1c0 00865340 +0063c1c0 0063d570 +0063c1c0 00418500 +0063c1c0 0041d520 +0063c1c0 00435a50 +0063c1c0 0063dd60 +0063c1c0 00408e00 +0063c1c0 009e24a0 +0063c1c0 00734a80 +0063c1c0 004288a0 +0063c1c0 006fe410 0063ce20 00956780 -0063d2e0 007f0b40 +0063ce20 0064bb70 +0063ce20 006eef60 +0063ce20 00af08b1 +0063ce20 004360f0 +0063ce20 004cdcf0 +0063ce20 0060dc40 +0063ce20 00675fc0 +0063ce20 00435a50 +0063ce20 0067f170 +0063ce20 00634000 +0063ce20 0092dc30 +0063ce20 004cf210 +0063ce20 00499d60 +0063ce20 00a10030 +0063ce20 0067f1d0 +0063ce20 00677780 +0063ce20 009680d0 +0063ce20 006fe410 0063d2e0 00435a50 +0063d2e0 007f0b40 0063d2e0 0041d520 -0063d570 007f0df0 -0063d570 0067f1d0 -0063d570 00a112c0 -0063d570 EXTERNAL:00000262 -0063d570 007e33c0 +0063d570 0063d2e0 0063d570 00435a50 +0063d570 00a112c0 0063d570 0041af60 0063d570 004cf210 -0063d570 0063d2e0 -0063dd60 004cdcf0 -0063dd60 006fd350 -0063dd60 007c3100 -0063dd60 007f0df0 -0063dd60 006ac560 +0063d570 007e33c0 +0063d570 007f0df0 +0063d570 0067f1d0 +0063d570 EXTERNAL:00000262 0063dd60 00435a50 -0063dd60 006a8fa0 -0063dd60 006ac530 -0063dd60 006be840 -0063dd60 004cf210 -0063dd60 00417430 +0063dd60 007c3100 0063dd60 0063d2e0 -0063e180 004cdcf0 +0063dd60 00417430 +0063dd60 006a8fa0 +0063dd60 004cf210 +0063dd60 006ac530 +0063dd60 004cdcf0 +0063dd60 006ac560 +0063dd60 006be840 +0063dd60 007f0df0 +0063dd60 006fd350 0063e180 00aef12b +0063e180 004cdcf0 0063f9f0 00aef12b -00640050 00763570 00640050 004b39b0 00640050 0075d1d0 +00640050 00763570 00640050 00930550 006401d0 00612bb0 +006401d0 00aef12b 006401d0 006402f0 006401d0 0040a5d0 006401d0 0040a1b0 -006401d0 00aef12b +006402f0 009303f0 006402f0 00763570 006402f0 00930220 -006402f0 009303f0 006403f0 00435a50 -00640ca0 006eef60 +00640ca0 00435a50 00640ca0 0040add0 -00640ca0 0040ae70 +00640ca0 006eef60 +00640ca0 0040a380 +00640ca0 00813520 +00640ca0 00639750 +00640ca0 00a10030 +00640ca0 006ac560 00640ca0 007f0df0 00640ca0 0067f1d0 -00640ca0 006ac560 -00640ca0 00435a50 -00640ca0 00a10030 -00640ca0 00639750 -00640ca0 0040a380 +00640ca0 0040ae70 00640ca0 00615030 -00640ca0 00813520 -006414c0 007f0df0 -006414c0 007e3260 -006414c0 0041d540 -006414c0 0040a1b0 -006414c0 0067f070 -006414c0 006fe410 -006414c0 0041d520 -006414c0 00615030 -006414c0 007f0780 +006414c0 00956780 006414c0 006eef60 -006414c0 006fd350 +006414c0 0041d540 006414c0 0040a5d0 006414c0 007e33c0 +006414c0 0067f070 +006414c0 0041d520 006414c0 00435a50 006414c0 0092dc30 -006414c0 004cf210 -006414c0 00956780 006414c0 006b64d0 +006414c0 004cf210 006414c0 007706e0 -006424d0 00703670 -006424d0 0061b8c0 -006424d0 0041d540 -006424d0 0040a1b0 -006424d0 0067f070 -006424d0 006fe410 -006424d0 0041d520 -006424d0 0040a380 -006424d0 006ff2a0 -006424d0 00615030 -006424d0 00417430 -006424d0 004cdcf0 -006424d0 006eef60 -006424d0 00499d60 +006414c0 0040a1b0 +006414c0 007f0780 +006414c0 007f0df0 +006414c0 006fd350 +006414c0 007e3260 +006414c0 00615030 +006414c0 006fe410 +006424d0 00956780 006424d0 0040add0 +006424d0 006eef60 +006424d0 0041d540 +006424d0 006ff2a0 +006424d0 0040a380 +006424d0 004cdcf0 006424d0 0040a5d0 +006424d0 0067f070 +006424d0 0041d520 006424d0 00435a50 006424d0 0092dc30 +006424d0 00417430 +006424d0 0061b8c0 006424d0 004cf210 -006424d0 00956780 +006424d0 00499d60 006424d0 007706e0 -00642cb0 00416440 -00642cb0 004cdcf0 -00642cb0 006139b0 -00642cb0 00652750 -00642cb0 006127b0 +006424d0 0040a1b0 +006424d0 00703670 +006424d0 00615030 +006424d0 006fe410 00642cb0 00435a50 -00642cb0 00a0f4c0 +00642cb0 006139b0 00642cb0 00aef15c -00642cb0 0040b220 +00642cb0 00652750 +00642cb0 00a0f4c0 +00642cb0 00416440 00642cb0 004cf210 +00642cb0 004cdcf0 +00642cb0 0040b220 +00642cb0 006127b0 00642cb0 006527d0 006431b0 00aef15c 006431b0 006527d0 -006431d0 00677780 -006431d0 004cdcf0 -006431d0 006eef60 +006431d0 0064bb70 +006431d0 00435a50 006431d0 0040add0 006431d0 00676150 -006431d0 0040a5d0 -006431d0 00435a50 -006431d0 0040a1b0 -006431d0 006fe410 -006431d0 00615870 -006431d0 0064bb70 +006431d0 006eef60 006431d0 004cf210 -006437a0 00812f50 -006437a0 00435a50 +006431d0 004cdcf0 +006431d0 00615870 +006431d0 0040a5d0 +006431d0 0040a1b0 +006431d0 00677780 +006431d0 006fe410 006437a0 00779620 +006437a0 00435a50 006437a0 00aef12b -006444d0 006eef60 +006437a0 00812f50 006444d0 00435a50 +006444d0 006eef60 006444d0 006be840 -00644780 004cdcf0 -00644780 006eef60 -00644780 006139b0 00644780 00435a50 -00644780 006fe410 -00644780 00615870 -00644780 004cf210 -00644780 00aef12b +00644780 006139b0 00644780 00417430 +00644780 006eef60 +00644780 00aef12b +00644780 004cf210 +00644780 004cdcf0 +00644780 00615870 +00644780 006fe410 00644e80 007c3100 -00644e80 0041d540 -00644e80 009e24a0 -00644e80 0040a1b0 -00644e80 00734900 -00644e80 006fe410 -00644e80 0041d520 -00644e80 007078f0 -00644e80 00407ae0 -00644e80 006eef60 -00644e80 0040add0 -00644e80 004288a0 -00644e80 00a112c0 -00644e80 007079c0 -00644e80 0040a5d0 -00644e80 00435c70 -00644e80 008646e0 -00644e80 009e0680 -00644e80 006f0090 -00644e80 0040a380 -00644e80 00aef12b -00644e80 00865340 -00644e80 00418500 -00644e80 00734180 -00644e80 006fd350 -00644e80 00733ca0 -00644e80 00734a80 -00644e80 0092dc30 00644e80 00a68490 +00644e80 0040a380 +00644e80 00435c70 +00644e80 0092dc30 +00644e80 008646e0 +00644e80 007078f0 00644e80 004cf210 -00644e80 00956780 +00644e80 00734900 +00644e80 00733ca0 00644e80 0078f840 +00644e80 0040a1b0 +00644e80 006fd350 +00644e80 00956780 +00644e80 00734180 +00644e80 007079c0 +00644e80 0040add0 +00644e80 006eef60 +00644e80 0041d540 +00644e80 00a112c0 +00644e80 00aef12b +00644e80 006f0090 +00644e80 009e0680 +00644e80 00865340 +00644e80 0040a5d0 +00644e80 00418500 +00644e80 0041d520 +00644e80 009e24a0 +00644e80 00407ae0 +00644e80 00734a80 +00644e80 004288a0 +00644e80 006fe410 006468a0 0041a790 006468a0 007c3100 -006468a0 00704360 -006468a0 00428b20 -006468a0 006a8fa0 -006468a0 00a10100 -006468a0 0060dc40 -006468a0 0040a380 -006468a0 006a9140 -006468a0 00aef12b -006468a0 00435a80 006468a0 006eef60 -006468a0 006a9ba0 -006468a0 00a648b0 +006468a0 00aef12b +006468a0 0040a380 +006468a0 00428b20 006468a0 00771550 +006468a0 0060dc40 006468a0 00435a50 -006468a0 007706e0 +006468a0 006a9140 +006468a0 00435a80 +006468a0 006a8fa0 006468a0 00945470 +006468a0 007706e0 +006468a0 006a9ba0 +006468a0 00704360 +006468a0 00a10100 +006468a0 00a648b0 006470c0 006470f0 006470f0 0072fd10 -00647170 0040cf50 -00647170 00af08b1 00647170 004997f0 -00647170 EXTERNAL:00000220 -00647170 00a112c0 -00647170 0040c000 00647170 00aef15c +00647170 00a112c0 00647170 0040bf30 +00647170 0040cf50 00647170 00aef12b +00647170 00af08b1 00647170 00420a80 -00647320 00812f50 +00647170 EXTERNAL:00000220 +00647170 0040c000 00647320 0041a790 -00647320 00af08b1 -00647320 007f0df0 -00647320 0067f1d0 -00647320 0041d540 -00647320 006ac560 -00647320 00428590 -00647320 0067f070 -00647320 006a8fa0 -00647320 0060d8e0 -00647320 0041d520 -00647320 00aef29d -00647320 00aef5af -00647320 006146e0 -00647320 006eef60 -00647320 006489a0 -00647320 00a648b0 -00647320 00435c70 -00647320 006ac710 -00647320 00aefca0 -00647320 0064a830 00647320 00431640 +00647320 0067f070 +00647320 006489a0 00647320 006470f0 -00647320 00a10100 +00647320 006ac710 00647320 00431310 00647320 00417170 -00647320 004cdcf0 -00647320 00aef253 -00647320 006470c0 -00647320 00435a50 -00647320 00a10030 -00647320 004175b0 +00647320 00435c70 +00647320 00aef29d 00647320 004cf210 +00647320 00aefca0 +00647320 0067f1d0 +00647320 00aef253 00647320 0064a2d0 -006489a0 00af08b1 -006489a0 00428b20 -006489a0 006470f0 -006489a0 00499d20 -006489a0 00417170 -006489a0 00407f10 -006489a0 00435c20 -006489a0 0040d040 -006489a0 00aef12b -006489a0 004074c0 -006489a0 004087a0 -006489a0 004cdcf0 -006489a0 006eef60 -006489a0 EXTERNAL:00000220 +00647320 00aef5af +00647320 006eef60 +00647320 0041d540 +00647320 00af08b1 +00647320 00812f50 +00647320 0060d8e0 +00647320 004cdcf0 +00647320 0064a830 +00647320 0041d520 +00647320 00435a50 +00647320 00428590 +00647320 006a8fa0 +00647320 004175b0 +00647320 00a10030 +00647320 006ac560 +00647320 007f0df0 +00647320 006146e0 +00647320 006470c0 +00647320 00a10100 +00647320 00a648b0 006489a0 0064aab0 -006489a0 00651ff0 006489a0 00aef15c 006489a0 00592200 -006489a0 004cf210 +006489a0 006eef60 +006489a0 00aef12b +006489a0 00af08b1 +006489a0 00428b20 +006489a0 004cdcf0 +006489a0 00435c20 +006489a0 004074c0 +006489a0 006470f0 006489a0 00407690 -00649290 00812f50 -00649290 00af08b1 -00649290 00676150 -00649290 0041d540 +006489a0 00417170 +006489a0 004087a0 +006489a0 00651ff0 +006489a0 004cf210 +006489a0 EXTERNAL:00000220 +006489a0 0040d040 +006489a0 00407f10 +006489a0 00499d20 +00649290 00aef15c +00649290 00592200 00649290 00428b20 -00649290 006ac560 -00649290 0097fc10 -00649290 00704360 +00649290 00431640 +00649290 006b62b0 +00649290 0040ccd0 +00649290 0040c000 +00649290 0040cf00 +00649290 00707840 +00649290 00417170 +00649290 006a8f80 +00649290 0092dc30 +00649290 007078f0 +00649290 004cf210 +00649290 00431570 +00649290 007c8dc0 +00649290 EXTERNAL:00000220 +00649290 00956780 +00649290 00700060 +00649290 005b39d0 +00649290 007079c0 +00649290 00676150 +00649290 006eef60 +00649290 0041d540 +00649290 00aef12b +00649290 00af08b1 +00649290 00707e10 +00649290 00812f50 +00649290 004cdcf0 +00649290 0040cae0 +00649290 00435c20 +00649290 009f5f40 00649290 0041d520 00649290 00705480 -00649290 007078f0 -00649290 00435c20 -00649290 00700060 -00649290 006eef60 -00649290 EXTERNAL:00000220 -00649290 007079c0 -00649290 00592200 -00649290 007c8dc0 -00649290 0040cf00 -00649290 0040ccd0 -00649290 006b62b0 -00649290 00703670 -00649290 00431640 -00649290 009f5f40 -00649290 0040cae0 -00649290 00417170 -00649290 00431570 00649290 00703be0 -00649290 00aef12b +00649290 0097fc10 00649290 00813360 -00649290 004cdcf0 -00649290 006a8f80 -00649290 00707e10 -00649290 0040c000 -00649290 00aef15c -00649290 0092dc30 -00649290 004cf210 -00649290 005b39d0 -00649290 00956780 -00649290 00707840 +00649290 006ac560 +00649290 00703670 +00649290 00704360 +0064a2d0 0067f170 0064a2d0 00812c90 0064a2d0 006eef60 -0064a2d0 00709df0 0064a2d0 00af08b1 -0064a2d0 006470c0 +0064a2d0 00709df0 0064a2d0 0081e6e0 -0064a2d0 0067f170 -0064a830 0040cf50 -0064a830 00af08b1 -0064a830 006470f0 -0064a830 0040bd50 -0064a830 0040a1b0 -0064a830 00aef12b -0064a830 004997f0 -0064a830 EXTERNAL:00000220 -0064a830 0040a5d0 -0064a830 0040c000 +0064a2d0 006470c0 0064a830 0064aab0 0064a830 00aef15c +0064a830 0040cf50 +0064a830 00aef12b +0064a830 00af08b1 +0064a830 0040a5d0 +0064a830 0040c000 +0064a830 006470f0 +0064a830 004997f0 0064a830 0040bf30 0064a830 00420a80 -0064aab0 EXTERNAL:000001f3 -0064aab0 0040cf50 -0064aab0 008f5ad0 -0064aab0 00724790 -0064aab0 006518d0 -0064aab0 0040bd50 -0064aab0 0040a1b0 -0064aab0 00a0f4c0 -0064aab0 0040b220 -0064aab0 0040d040 -0064aab0 00aef12b +0064a830 0040a1b0 +0064a830 0040bd50 +0064a830 EXTERNAL:00000220 0064aab0 EXTERNAL:0000023f -0064aab0 0067f420 -0064aab0 004997f0 -0064aab0 EXTERNAL:00000220 -0064aab0 00414b10 -0064aab0 0040c000 -0064aab0 0040a5d0 0064aab0 00aef15c -0064aab0 EXTERNAL:000001f4 -0064aab0 0040bf30 +0064aab0 EXTERNAL:000001f3 +0064aab0 00414b10 +0064aab0 008f5ad0 +0064aab0 0040cf50 +0064aab0 00724790 +0064aab0 00aef12b +0064aab0 00a0f4c0 +0064aab0 006518d0 0064aab0 00652780 +0064aab0 0067f420 +0064aab0 0040a5d0 +0064aab0 0040b220 0064aab0 0040ccd0 +0064aab0 0040c000 +0064aab0 004997f0 +0064aab0 0040bf30 +0064aab0 0040a1b0 0064aab0 0067f580 +0064aab0 0040bd50 +0064aab0 EXTERNAL:00000220 +0064aab0 EXTERNAL:000001f4 +0064aab0 0040d040 0064b6a0 00aef15c 0064b6a0 00652780 0064b6c0 0040a0d0 -0064b6c0 006470f0 -0064b6c0 00407f10 0064b6c0 00409030 0064b6c0 00af0917 -0064b920 004cdcf0 +0064b6c0 00407f10 +0064b6c0 006470f0 0064b920 006eef60 -0064b920 006fe410 0064b920 004cf210 +0064b920 004cdcf0 0064b920 0062e020 +0064b920 006fe410 0064bab0 004cf210 0064bab0 0062e020 -0064bb70 004cdcf0 0064bb70 006eef60 -0064bb70 006c2750 -0064bb70 006fe410 0064bb70 004cf210 -0064bfa0 00408e00 -0064bfa0 0040a1b0 -0064bfa0 0060dc40 -0064bfa0 006fe410 -0064bfa0 00615030 +0064bb70 004cdcf0 +0064bb70 006fe410 +0064bb70 006c2750 +0064bfa0 00956780 0064bfa0 006ad750 -0064bfa0 004cdcf0 -0064bfa0 006eef60 0064bfa0 0040add0 +0064bfa0 006eef60 +0064bfa0 004cdcf0 0064bfa0 0040a5d0 +0064bfa0 0060dc40 +0064bfa0 0064ca30 0064bfa0 00435a50 0064bfa0 0092dc30 +0064bfa0 00408e00 0064bfa0 004cf210 -0064bfa0 00956780 -0064bfa0 0064ca30 -0064ca30 0040cf50 -0064ca30 EXTERNAL:00000220 -0064ca30 0040cae0 +0064bfa0 0040a1b0 +0064bfa0 00615030 +0064bfa0 006fe410 0064ca30 00aef15c 0064ca30 006832e0 -0064ca30 0040b220 -0064ca30 00aef12b 0064ca30 00823590 +0064ca30 0040cf50 +0064ca30 00aef12b +0064ca30 0040b220 +0064ca30 0040cae0 +0064ca30 EXTERNAL:00000220 0064cd30 006f95a0 0064cd30 006f9400 0064cd30 0064ccf0 -0064cf20 EXTERNAL:00000220 -0064cf20 00af05e5 -0064cf20 00a0f4c0 0064cf20 00aef15c -0064cf20 0064cd30 0064cf20 00aef12b +0064cf20 00a0f4c0 +0064cf20 00af05e5 0064cf20 004b6a90 +0064cf20 0064cd30 +0064cf20 EXTERNAL:00000220 +0064d1d0 00aef12b 0064d1d0 0064d370 0064d1d0 0064cf20 -0064d1d0 00aef12b -0064d370 006f95a0 0064d370 00740db0 +0064d370 006f95a0 0064d370 006f9400 0064d370 00740bc0 -0064d5f0 00812f50 -0064d5f0 00763570 -0064d5f0 0064d370 -0064d5f0 0064cf20 -0064d5f0 006fe410 -0064d5f0 00aef12b -0064d5f0 0064d1d0 -0064d5f0 00813360 -0064d5f0 004cdcf0 -0064d5f0 006eef60 0064d5f0 00a112c0 -0064d5f0 00435a50 -0064d5f0 0064d570 -0064d5f0 004cf210 +0064d5f0 006eef60 +0064d5f0 00aef12b +0064d5f0 00812f50 +0064d5f0 004cdcf0 0064d5f0 00740bc0 +0064d5f0 00435a50 +0064d5f0 0064d1d0 +0064d5f0 00763570 +0064d5f0 004cf210 +0064d5f0 0064d370 +0064d5f0 00813360 +0064d5f0 0064cf20 +0064d5f0 0064d570 +0064d5f0 006fe410 0064e0c0 0041a790 -0064e0c0 007c9e30 -0064e0c0 00758a70 -0064e0c0 0062a8f0 -0064e0c0 00428b20 -0064e0c0 006ac560 -0064e0c0 00779360 -0064e0c0 0041d540 -0064e0c0 007c3460 -0064e0c0 0041d520 -0064e0c0 0040b220 0064e0c0 007caa00 -0064e0c0 006eef60 -0064e0c0 007d2fc0 -0064e0c0 0067f260 -0064e0c0 00758d00 -0064e0c0 00a648b0 -0064e0c0 006b6470 -0064e0c0 007c3410 -0064e0c0 006ac710 -0064e0c0 006b62b0 -0064e0c0 00956110 -0064e0c0 00431640 -0064e0c0 007c9d10 -0064e0c0 00431310 -0064e0c0 00a10100 -0064e0c0 00431570 -0064e0c0 0040a380 0064e0c0 0062e620 -0064e0c0 00758f90 -0064e0c0 00aef12b -0064e0c0 004cdcf0 -0064e0c0 00758c20 -0064e0c0 007d3180 -0064e0c0 00435a50 +0064e0c0 00428b20 +0064e0c0 00431640 +0064e0c0 006b62b0 +0064e0c0 0040a380 +0064e0c0 0040b220 +0064e0c0 00956110 +0064e0c0 006ac710 +0064e0c0 00431310 0064e0c0 0092dc30 -0064e0c0 0041af60 -0064e0c0 009305f0 -0064e0c0 004175b0 +0064e0c0 0062a8f0 +0064e0c0 007c3410 +0064e0c0 00758f90 +0064e0c0 007d2fc0 0064e0c0 004cf210 -0064e0c0 00956780 +0064e0c0 00431570 0064e0c0 00759220 -0064e0c0 007c3550 +0064e0c0 00779360 +0064e0c0 00956780 +0064e0c0 00758c20 0064e0c0 007ca840 -0064f860 006eef60 -0064f860 00408e00 +0064e0c0 0067f260 +0064e0c0 006eef60 +0064e0c0 0041d540 +0064e0c0 00758a70 +0064e0c0 0041af60 +0064e0c0 00758d00 +0064e0c0 00aef12b +0064e0c0 007c9d10 +0064e0c0 007c3550 +0064e0c0 004cdcf0 +0064e0c0 006b6470 +0064e0c0 007d3180 +0064e0c0 009305f0 +0064e0c0 0041d520 +0064e0c0 00435a50 +0064e0c0 007c3460 +0064e0c0 004175b0 +0064e0c0 006ac560 +0064e0c0 007c9e30 +0064e0c0 00a10100 +0064e0c0 00a648b0 0064f860 00435a50 -0064f860 006fe410 -0064f860 0040b220 +0064f860 00408e00 +0064f860 006eef60 0064f860 00aef12b +0064f860 0040b220 0064f860 00af0917 -0064fd40 004cdcf0 +0064f860 006fe410 +0064fd40 00435a50 +0064fd40 006b64d0 +0064fd40 00651990 0064fd40 006eef60 0064fd40 00428b20 -0064fd40 007e33c0 -0064fd40 00435a50 -0064fd40 0041b4f0 -0064fd40 00651990 0064fd40 0040a380 0064fd40 004cf210 +0064fd40 004cdcf0 +0064fd40 007e33c0 +0064fd40 0041b4f0 0064fd40 00615030 -0064fd40 006b64d0 -00650220 00812f50 -00650220 007e8010 -00650220 00956110 -00650220 00779360 00650220 00435a50 -00650610 0041d540 +00650220 00812f50 +00650220 00779360 +00650220 00956110 +00650220 007e8010 00650610 00428b20 -00650610 0040a1b0 +00650610 006eed30 00650610 0067f070 -00650610 0041d520 -00650610 00733ff0 +00650610 0092dc30 +00650610 007e90f0 +00650610 004cf210 +00650610 009be630 +00650610 00930220 +00650610 006eea30 +00650610 0040a1b0 00650610 0062d7e0 00650610 009be080 +00650610 00956780 00650610 006eef60 -00650610 00a648b0 +00650610 0041d540 00650610 00a112c0 -00650610 0040a5d0 -00650610 007ec0a0 -00650610 007e90f0 -00650610 00930220 -00650610 006eed30 +00650610 0041af60 +00650610 00813520 00650610 004cdcf0 +00650610 0040a5d0 +00650610 0041d520 +00650610 00733ff0 +00650610 00435a50 00650610 00612bb0 00650610 00812d00 -00650610 00435a50 -00650610 0092dc30 -00650610 0041af60 -00650610 009be630 -00650610 006eea30 -00650610 004cf210 -00650610 00813520 -00650610 00956780 -00651810 007cb6e0 +00650610 007ec0a0 +00650610 00a648b0 00651810 00771550 +00651810 007cb6e0 006518d0 00651df0 006518f0 00414a80 -00651910 EXTERNAL:00000220 00651910 00aef15c +00651910 EXTERNAL:00000220 00651910 006524a0 00651990 00652210 -00651a10 004cdcf0 00651a10 004cf210 +00651a10 004cdcf0 00651a50 004147f0 -00651a90 00499950 00651a90 0040ccd0 +00651a90 00499950 00651af0 004997f0 -00651b10 0040ccc0 -00651b10 EXTERNAL:00000220 -00651b10 00499950 -00651b10 00aef15c 00651b10 0040cf00 +00651b10 00aef15c +00651b10 0040ccc0 00651b10 00af08bd +00651b10 00499950 00651b10 00af05df +00651b10 EXTERNAL:00000220 00651cf0 006524a0 -00651d10 EXTERNAL:00000220 00651d10 00aef15c +00651d10 EXTERNAL:00000220 00651d50 004997f0 -00651db0 00414a80 00651db0 00aef15c 00651db0 00415d20 +00651db0 00414a80 00651df0 00415f80 00651df0 00a0f4c0 -00651df0 00415fe0 00651df0 004170d0 -00651ff0 EXTERNAL:00000220 -00651ff0 00652600 -00651ff0 00aef15c +00651df0 00415fe0 00651ff0 0040cf00 -00651ff0 006524a0 00651ff0 00407690 +00651ff0 00aef15c +00651ff0 00652600 00651ff0 0040cee0 +00651ff0 EXTERNAL:00000220 00651ff0 00415bc0 -006521e4 00651cf0 +00651ff0 006524a0 006521e4 00651d10 006521e4 00af05eb -00652210 00416440 +006521e4 00651cf0 00652210 00415f80 00652210 00a0f4c0 -00652210 00415fe0 +00652210 00416440 00652210 004170d0 -006523e0 00af05e5 +00652210 00415fe0 006523e0 00aef12b +006523e0 00af05e5 006524a0 EXTERNAL:00000262 -006524a0 00407f10 006524a0 0040d040 -00652600 006524a0 +006524a0 00407f10 00652600 00407690 -00652690 0043edf0 +00652600 006524a0 00652690 00415bd0 00652690 004170d0 +00652690 0043edf0 00652750 00652820 00652780 00aef15c 00652780 00652780 @@ -13506,11 +13506,11 @@ 006527d0 00aef15c 006527d0 006527d0 00652810 006524a0 -00652820 00416440 00652820 00415f80 00652820 00a0f4c0 -00652820 00415fe0 +00652820 00416440 00652820 004170d0 +00652820 00415fe0 00652a00 0041d4c0 00652a00 EXTERNAL:0000024b 00652a30 0041d4c0 @@ -13518,1284 +13518,1284 @@ 00652a70 00af08d5 00652ab0 008131e0 00652b00 006a8290 -00652b50 006a8850 00652b50 00aef15c -00652b90 006eef60 +00652b50 006a8850 00652b90 008624b0 +00652b90 006eef60 00652b90 006a93a0 -00652b90 0040bd50 00652b90 0040b220 +00652b90 0040bd50 00652df0 007ea3e0 00652df0 009305f0 00652df0 00930980 00652fa0 004cf210 -00653070 00456230 -00653070 00684cb0 -00653070 00417860 -00653070 00407170 -00653070 00a104b0 -00653070 00440e90 -00653070 0060af70 -00653070 00682f50 -00653070 00417160 -00653070 007bf6c0 -00653070 007ea190 -00653070 00450880 -00653070 00a0fea0 -00653070 0042cc70 -00653070 00407480 -00653070 00a102e0 -00653070 00682fb0 -00653070 00407410 -00653070 0044bfa0 -00653070 0040c000 -00653070 0043ee80 -00653070 006b5c10 -00653070 008279c0 -00653070 0040bf30 -00653070 004174a0 -00653070 00417290 -00653070 0042f160 -00653070 00812f50 -00653070 00a10480 -00653070 00af08b1 -00653070 00a114d0 -00653070 00a105d0 -00653070 004074b0 -00653070 006eef60 -00653070 00505b60 -00653070 006a9320 -00653070 00435ad0 -00653070 00417210 -00653070 004176f0 -00653070 00a10540 -00653070 0041e460 -00653070 0041cb60 -00653070 004b7070 -00653070 00417430 -00653070 00a10180 -00653070 00417830 -00653070 0081edd0 -00653070 00428910 -00653070 00676120 -00653070 009bea40 -00653070 00435e90 -00653070 004f8940 -00653070 006ff2a0 -00653070 00682fe0 -00653070 0042f150 -00653070 00a10660 -00653070 006b6470 +00653070 00a0fed0 00653070 00a10630 -00653070 008279a0 -00653070 00a0fe80 -00653070 00707370 -00653070 004071c0 -00653070 00435e60 -00653070 00435d60 -00653070 00417620 -00653070 00703330 -00653070 00a10350 -00653070 00676150 -00653070 004312b0 -00653070 00417400 -00653070 004360d0 -00653070 006a92e0 -00653070 00424510 -00653070 006a9360 -00653070 0042d9b0 -00653070 0042f2a0 -00653070 0043eea0 -00653070 00435c70 -00653070 0040c200 -00653070 006ac710 -00653070 00565de0 -00653070 00431450 -00653070 007706e0 -00653070 0041e420 -00653070 004173e0 -00653070 004173b0 -00653070 006a9c10 -00653070 0040d040 -00653070 00a10600 -00653070 0065b490 -00653070 00813360 -00653070 0040c3a0 -00653070 00435b50 -00653070 006831c0 -00653070 004178d0 -00653070 005cd690 -00653070 007e9020 -00653070 00435d20 -00653070 005cd3a0 -00653070 0065b500 -00653070 00417280 -00653070 007e9080 -00653070 004316b0 -00653070 00417150 -00653070 004508a0 -00653070 00435ed0 -00653070 00435cf0 -00653070 004d8910 -00653070 004172b0 -00653070 006ae820 -00653070 0070c000 -00653070 0040b200 -00653070 00407270 -00653070 00a10100 -00653070 00407280 -00653070 0067efe0 -00653070 00a155c0 -00653070 004aadd0 -00653070 00456710 -00653070 009305f0 00653070 00a115c0 -00653070 0060af00 -00653070 00444c70 -00653070 00428b20 -00653070 004238f0 -00653070 006a92a0 -00653070 005cd380 -00653070 00703ab0 00653070 004072e0 -00653070 00652df0 -00653070 004aad90 +00653070 00682f50 +00653070 00a114d0 +00653070 00a10390 +00653070 007ea190 +00653070 004b7070 +00653070 00435d20 +00653070 0067f070 +00653070 00435c60 +00653070 0040bf30 +00653070 00417620 +00653070 00407170 +00653070 00444c90 +00653070 00420170 +00653070 004172f0 +00653070 00682fe0 +00653070 00a105a0 +00653070 0041af60 +00653070 00af08b1 00653070 0042cfd0 -00653070 00435cd0 -00653070 00682740 -00653070 0040c340 -00653070 00862590 -00653070 007e8f90 -00653070 00408e00 +00653070 0040c200 00653070 00a104e0 -00653070 00435eb0 +00653070 00a15640 +00653070 009305f0 +00653070 0042f150 +00653070 00703ab0 +00653070 00417400 +00653070 0042f160 +00653070 00417830 +00653070 00417430 +00653070 004175b0 +00653070 00a10350 +00653070 004288f0 +00653070 004aad70 +00653070 005cd380 +00653070 00a10660 00653070 00675fc0 -00653070 0040c780 -00653070 006b31b0 +00653070 006ac710 +00653070 00a0f690 +00653070 00407480 +00653070 007bf6c0 +00653070 00a0fea0 00653070 00417370 00653070 00421800 -00653070 00a0f690 -00653070 00652ab0 -00653070 005cd370 -00653070 0060cea0 -00653070 00a0fed0 -00653070 00435db0 -00653070 0041af60 -00653070 00417840 00653070 00407430 -00653070 00440e50 -00653070 004f88a0 -00653070 006b64d0 -00653070 004aad30 -00653070 004073d0 -00653070 00428a60 -00653070 004149d0 -00653070 0042c810 -00653070 00420170 -00653070 00a100b0 -00653070 0041cb80 -00653070 0042c850 -00653070 00440e30 -00653070 00a10390 -00653070 006ac760 -00653070 007f0780 -00653070 00a15640 -00653070 00444c60 -00653070 004aad70 -00653070 00447740 -00653070 00a105a0 +00653070 00407280 +00653070 0041e420 +00653070 0060af70 00653070 0041cb70 -00653070 007dd3b0 -00653070 0041d510 -00653070 004172f0 -00653070 0067f010 -00653070 005cd460 -00653070 00431310 -00653070 0040a380 -00653070 004aad40 -00653070 00956940 -00653070 00aef12b -00653070 009568e0 -00653070 00a10450 -00653070 007069a0 -00653070 004172d0 -00653070 00431290 -00653070 00440ed0 -00653070 00a0ffc0 -00653070 00a101c0 -00653070 0067f070 -00653070 0081e520 -00653070 00a10420 -00653070 00505b50 -00653070 00417870 -00653070 00444c90 -00653070 00407240 -00653070 004288f0 -00653070 00431540 -00653070 004171d0 -00653070 00703670 -00653070 0040a720 -00653070 004b7080 -00653070 00444cb0 -00653070 00435dd0 -00653070 00652a90 -00653070 00a0fe90 -00653070 00a10030 -00653070 00435a50 -00653070 00557b50 -00653070 004175b0 -00653070 00a0ff90 -00653070 00435c60 +00653070 00435b50 +00653070 0040c780 00653070 00435ef0 -0065ad30 009e24a0 -0065ad30 009e0680 -0065ad30 00734900 -0065ad30 006f0090 -0065ad30 007078f0 -0065ad30 00aef12b -0065ad30 00865340 -0065ad30 00418500 +00653070 00440ed0 +00653070 00a10100 +00653070 00456710 +00653070 004aad90 +00653070 0067efe0 +00653070 009bea40 +00653070 004508a0 +00653070 007e9080 +00653070 00417870 +00653070 00407270 +00653070 00a100b0 +00653070 00444c70 +00653070 006ff2a0 +00653070 00435ed0 +00653070 00a10180 +00653070 0043ee80 +00653070 0040b200 +00653070 0065b500 +00653070 004172b0 +00653070 00707370 +00653070 00417860 +00653070 0060af00 +00653070 0042f2a0 +00653070 004d8910 +00653070 00435a50 +00653070 00417280 +00653070 0040c3a0 +00653070 007e8f90 +00653070 00703330 +00653070 0081e520 +00653070 0042c810 +00653070 00813360 +00653070 00676120 +00653070 006a92e0 +00653070 00565de0 +00653070 006831c0 +00653070 0041cb60 +00653070 004149d0 +00653070 0065b490 +00653070 005cd460 +00653070 005cd370 +00653070 00450880 +00653070 00652a90 +00653070 004173b0 +00653070 0042cc70 +00653070 00682740 +00653070 00435c70 +00653070 00456230 +00653070 00431450 +00653070 004360d0 +00653070 00444c60 +00653070 007706e0 +00653070 007f0780 +00653070 00a105d0 +00653070 00a0ffc0 +00653070 004171d0 +00653070 00812f50 +00653070 004f8940 +00653070 00a102e0 +00653070 00956940 +00653070 006ae820 +00653070 00435dd0 +00653070 00703670 +00653070 00417290 +00653070 004074b0 +00653070 0040a380 +00653070 00652df0 +00653070 0044bfa0 +00653070 007e9020 +00653070 00407240 +00653070 00557b50 +00653070 00435d60 +00653070 0042c850 +00653070 00417840 +00653070 0081edd0 +00653070 0040a720 +00653070 00505b60 +00653070 0067f010 +00653070 00428a60 +00653070 00aef12b +00653070 00a10540 +00653070 00440e90 +00653070 004312b0 +00653070 008279a0 +00653070 0042d9b0 +00653070 00417160 +00653070 00a155c0 +00653070 00862590 +00653070 0040d040 +00653070 00424510 +00653070 0060cea0 +00653070 00435ad0 +00653070 004071c0 +00653070 00428b20 +00653070 00a10480 +00653070 00435db0 +00653070 004073d0 +00653070 0040c000 +00653070 006a9320 +00653070 00431310 +00653070 00440e50 +00653070 006b31b0 +00653070 00431540 +00653070 007069a0 +00653070 004aad30 +00653070 00a0fe80 +00653070 00431290 +00653070 004f88a0 +00653070 00a10450 +00653070 006b5c10 +00653070 0041cb80 +00653070 004316b0 +00653070 00407410 +00653070 00408e00 +00653070 009568e0 +00653070 007dd3b0 +00653070 00428910 +00653070 00505b50 +00653070 0041d510 +00653070 004173e0 +00653070 004238f0 +00653070 005cd690 +00653070 004172d0 +00653070 00a101c0 +00653070 00a10600 +00653070 006a92a0 +00653070 006eef60 +00653070 006a9360 +00653070 006b6470 +00653070 00447740 +00653070 004b7080 +00653070 00a104b0 +00653070 00417210 +00653070 00444cb0 +00653070 00a0fe90 +00653070 00a10420 +00653070 008279c0 +00653070 006a9c10 +00653070 00a10030 +00653070 00435e90 +00653070 006ac760 +00653070 004178d0 +00653070 004174a0 +00653070 0040c340 +00653070 00417150 +00653070 004aad40 +00653070 0041e460 +00653070 00a0ff90 +00653070 00435eb0 +00653070 00684cb0 +00653070 00652ab0 +00653070 00682fb0 +00653070 00435cd0 +00653070 00435cf0 +00653070 00676150 +00653070 005cd3a0 +00653070 004176f0 +00653070 0070c000 +00653070 006b64d0 +00653070 00435e60 +00653070 00440e30 +00653070 0043eea0 +00653070 004aadd0 0065ad30 00734180 -0065ad30 004cdcf0 +0065ad30 007079c0 0065ad30 006eef60 -0065ad30 004288a0 +0065ad30 00a112c0 +0065ad30 00a68490 +0065ad30 00aef12b +0065ad30 006f0090 +0065ad30 009e0680 +0065ad30 00865340 +0065ad30 004cdcf0 +0065ad30 00418500 +0065ad30 008646e0 +0065ad30 007078f0 +0065ad30 009e24a0 +0065ad30 004cf210 +0065ad30 00734900 0065ad30 00733ca0 0065ad30 00734a80 -0065ad30 00a112c0 -0065ad30 007079c0 -0065ad30 00a68490 -0065ad30 004cf210 -0065ad30 008646e0 -0065b670 006ad3c0 -0065b670 00af08b1 -0065b670 0067f010 +0065ad30 004288a0 +0065b670 00956780 +0065b670 00759400 +0065b670 006eef60 0065b670 0041d540 +0065b670 00aef12b +0065b670 00af08b1 +0065b670 006b62b0 +0065b670 00862760 +0065b670 006ac530 +0065b670 0041d520 +0065b670 00435c70 +0065b670 00417430 +0065b670 0092dc30 +0065b670 006ad3c0 +0065b670 006a8fa0 +0065b670 00a10030 +0065b670 007706e0 0065b670 006ac560 0065b670 006acd10 -0065b670 006a8fa0 -0065b670 006ac530 +0065b670 0067f010 0065b670 006fe410 -0065b670 0041d520 -0065b670 00aef12b -0065b670 00417430 -0065b670 006eef60 -0065b670 00435c70 -0065b670 00a10030 -0065b670 00862760 -0065b670 0092dc30 -0065b670 00759400 -0065b670 006b62b0 -0065b670 00956780 -0065b670 007706e0 -0065c510 0041d540 0065c510 00435a50 -0065c510 0041d520 0065c510 006a9c90 +0065c510 0041d540 +0065c510 0041d520 0065cb60 0040a0d0 -0065cb60 00862670 0065cb60 00a112c0 -0065cb60 006b10f0 +0065cb60 00862670 0065cb60 00af0917 +0065cb60 006b10f0 0065cf80 00a112c0 0065cfe0 009bf930 0065d070 009807a0 -0065d0c0 006a8290 0065d0c0 004074c0 +0065d0c0 006a8290 0065d130 00aef15c 0065d130 0065d160 0065d160 004087a0 0065d160 006a8850 -0065d160 00407f10 0065d160 0040d040 +0065d160 00407f10 0065d1f0 006eef60 -0065d200 00407e90 0065d200 0040a6e0 -0065d200 0040a7e0 -0065d200 0090b070 -0065d200 006a93a0 -0065d200 0069bd10 -0065d200 0040bd50 -0065d200 0040a1b0 -0065d200 004217a0 -0065d200 0090c360 -0065d200 0040a380 -0065d200 009bf990 -0065d200 00407f10 -0065d200 00417870 +0065d200 00407e90 0065d200 006eef60 -0065d200 004253d0 +0065d200 00417870 +0065d200 009bf990 +0065d200 0040a380 +0065d200 0069bd10 0065d200 0040a5d0 +0065d200 004253d0 +0065d200 004217a0 0065d200 0040c000 -0065d200 0040bf30 -0065d200 00407690 0065d200 00705080 +0065d200 00407690 +0065d200 0040a7e0 +0065d200 0040bf30 0065d200 006655e0 -0065d950 007e9020 -0065d950 004563c0 -0065d950 00665500 -0065d950 005b1990 -0065d950 00417860 -0065d950 00758a70 -0065d950 00929b40 -0065d950 00407170 -0065d950 0040a6e0 -0065d950 0040a7e0 -0065d950 0065cf80 -0065d950 00733ff0 -0065d950 007e9080 -0065d950 00423970 -0065d950 00423950 -0065d950 00815ae0 -0065d950 00a112c0 -0065d950 00417850 -0065d950 00a10510 -0065d950 00435cf0 -0065d950 006ae820 -0065d950 0059e290 -0065d950 00428a80 -0065d950 0040bf20 -0065d950 00407480 -0065d950 0040a550 -0065d950 00733610 -0065d950 00758c20 -0065d950 00417920 -0065d950 0067efe0 -0065d950 0041e470 -0065d950 0065d070 -0065d950 0092dc30 -0065d950 00409100 -0065d950 006e1a80 -0065d950 00424530 -0065d950 007cafe0 -0065d950 00929a20 -0065d950 00417290 -0065d950 004253b0 -0065d950 0060af00 -0065d950 00812c90 -0065d950 007f0df0 -0065d950 00af08b1 -0065d950 00429550 -0065d950 00428b20 -0065d950 00704360 -0065d950 00452bf0 -0065d950 00732d00 -0065d950 006a92a0 -0065d950 0065d1f0 -0065d950 00665630 -0065d950 004178e0 -0065d950 00425ac0 -0065d950 0065d060 -0065d950 0040a4d0 -0065d950 006f8100 -0065d950 006eef60 -0065d950 004d3390 -0065d950 0090ac70 -0065d950 00758d00 -0065d950 00771550 -0065d950 007e90f0 -0065d950 0040c340 -0065d950 006657a0 -0065d950 004176f0 -0065d950 00663aa0 -0065d950 00704b30 -0065d950 007e8f90 -0065d950 00732dc0 -0065d950 007b2200 -0065d950 0041e460 -0065d950 007abd90 +0065d200 0090c360 +0065d200 006a93a0 +0065d200 0040a1b0 +0065d200 0040bd50 +0065d200 0090b070 +0065d200 00407f10 0065d950 004564b0 -0065d950 00a104e0 -0065d950 0041cb60 -0065d950 00734130 -0065d950 00682ed0 -0065d950 005b17c0 -0065d950 009a36d0 -0065d950 0065cfe0 -0065d950 0065d010 -0065d950 00703be0 -0065d950 007bf640 -0065d950 00435eb0 -0065d950 0065d000 -0065d950 00424e60 -0065d950 00704b50 -0065d950 006c2750 -0065d950 00759400 -0065d950 0040cdc0 -0065d950 00682f20 -0065d950 00435e90 -0065d950 0040d0c0 -0065d950 0041cb80 -0065d950 0065cf20 -0065d950 0095a7b0 -0065d950 0040add0 -0065d950 00423960 -0065d950 006b6470 -0065d950 007abdf0 -0065d950 005b1870 -0065d950 0065cf00 -0065d950 007dd3b0 -0065d950 004172f0 -0065d950 007cb6e0 -0065d950 007599d0 -0065d950 00417320 -0065d950 00a0fe80 -0065d950 0040cdd0 -0065d950 00813460 -0065d950 007d2a40 -0065d950 0065d020 0065d950 0040a380 -0065d950 00929b20 -0065d950 00aef12b -0065d950 009568e0 -0065d950 009586f0 -0065d950 007abd30 -0065d950 004253c0 -0065d950 00703330 -0065d950 0042a330 -0065d950 009bfae0 -0065d950 00748bc0 -0065d950 005b1850 +0065d950 00682ed0 +0065d950 0059e290 0065d950 0067f070 -0065d950 00417200 -0065d950 0065d090 -0065d950 00a10420 -0065d950 0065d040 -0065d950 0042d9b0 -0065d950 009b92c0 -0065d950 0060d1c0 -0065d950 0040c200 -0065d950 0040b030 -0065d950 007706e0 -0065d950 0067f0d0 -0065d950 004173e0 -0065d950 00791530 -0065d950 00929aa0 -0065d950 007cbb90 -0065d950 0065d0a0 +0065d950 00732d00 0065d950 006653c0 -0065d950 0040c790 -0065d950 00408ef0 -0065d950 004073b0 -0065d950 0040c3a0 -0065d950 00a0fe90 -0065d950 00704b40 -0065d950 008ef840 -0065d950 005b39d0 -0065d950 00813520 -0065d950 009bfa70 -0065d950 00956780 +0065d950 00929aa0 +0065d950 007e9020 +0065d950 0040cdc0 +0065d950 00704b30 +0065d950 00407170 0065d950 00409030 -006627e0 007e9020 -006627e0 00759660 -006627e0 00665500 -006627e0 00af08b1 -006627e0 00929b40 -006627e0 0040a1b0 -006627e0 00732d00 -006627e0 00425ac0 -006627e0 0042c920 -006627e0 0040b220 -006627e0 EXTERNAL:00000220 -006627e0 0040aaf0 -006627e0 00a112c0 -006627e0 0040a5d0 -006627e0 00771550 -006627e0 005c93b0 -006627e0 007e90f0 -006627e0 006653e0 -006627e0 007706e0 -006627e0 007cb6e0 -006627e0 0040a380 -006627e0 004cdcf0 -006627e0 00733610 +0065d950 0067f0d0 +0065d950 004172f0 +0065d950 0065d020 +0065d950 008ef840 +0065d950 005b17c0 +0065d950 00704b40 +0065d950 00758d00 +0065d950 00aef12b +0065d950 0065cf80 +0065d950 00af08b1 +0065d950 0040c200 +0065d950 005b1870 +0065d950 0040bf20 +0065d950 007cb6e0 +0065d950 00a104e0 +0065d950 0042d9b0 +0065d950 00703be0 +0065d950 004073b0 +0065d950 0060d1c0 +0065d950 00428a80 +0065d950 00428b20 +0065d950 00665500 +0065d950 0040b030 +0065d950 0040c790 +0065d950 00429550 +0065d950 00407480 +0065d950 00452bf0 +0065d950 00a0fe80 +0065d950 00424e60 +0065d950 0090ac70 +0065d950 0040a6e0 +0065d950 009b92c0 +0065d950 004d3390 +0065d950 00733610 +0065d950 00929b20 +0065d950 006c2750 +0065d950 0041cb80 +0065d950 005b1990 +0065d950 0040cdd0 +0065d950 00424530 +0065d950 009568e0 +0065d950 0065d010 +0065d950 007599d0 +0065d950 00423950 +0065d950 00663aa0 +0065d950 0067efe0 +0065d950 007dd3b0 +0065d950 00408ef0 +0065d950 004563c0 +0065d950 009bfa70 +0065d950 00812c90 +0065d950 0042a330 +0065d950 007e9080 +0065d950 007cafe0 +0065d950 00734130 +0065d950 004173e0 +0065d950 0065d000 +0065d950 00425ac0 +0065d950 00771550 +0065d950 0065d040 +0065d950 0040a7e0 +0065d950 0065d1f0 +0065d950 0065d090 +0065d950 0092dc30 +0065d950 00748bc0 +0065d950 009586f0 +0065d950 00417860 +0065d950 007bf640 +0065d950 0060af00 +0065d950 00423970 +0065d950 00a10510 +0065d950 004253b0 +0065d950 0065d070 +0065d950 00758c20 +0065d950 00929a20 +0065d950 005b39d0 +0065d950 006a92a0 +0065d950 006eef60 +0065d950 00a112c0 +0065d950 00758a70 +0065d950 006b6470 +0065d950 00813520 +0065d950 007cbb90 +0065d950 00417320 +0065d950 00682f20 +0065d950 0095a7b0 +0065d950 00665630 +0065d950 007b2200 +0065d950 00929b40 +0065d950 0040c3a0 +0065d950 007e8f90 +0065d950 00703330 +0065d950 00a0fe90 +0065d950 00a10420 +0065d950 006e1a80 +0065d950 004253c0 +0065d950 00435e90 +0065d950 00417200 +0065d950 0065d060 +0065d950 0041cb60 +0065d950 0065d0a0 +0065d950 0065cf20 +0065d950 007d2a40 +0065d950 0040c340 +0065d950 007abd30 +0065d950 0040a550 +0065d950 00417920 +0065d950 00409100 +0065d950 0065cf00 +0065d950 0040d0c0 +0065d950 00423960 +0065d950 0041e460 +0065d950 007abdf0 +0065d950 007e90f0 +0065d950 00435eb0 +0065d950 0041e470 +0065d950 0040a4d0 +0065d950 00704b50 +0065d950 007706e0 +0065d950 00956780 +0065d950 007abd90 +0065d950 0040add0 +0065d950 004178e0 +0065d950 00435cf0 +0065d950 004176f0 +0065d950 00759400 +0065d950 00733ff0 +0065d950 006657a0 +0065d950 005b1850 +0065d950 00815ae0 +0065d950 00732dc0 +0065d950 006ae820 +0065d950 00791530 +0065d950 00813460 +0065d950 0065cfe0 +0065d950 007f0df0 +0065d950 009a36d0 +0065d950 006f8100 +0065d950 00704360 +0065d950 009bfae0 +0065d950 00417850 +0065d950 00417290 006627e0 00aef15c -006627e0 0092dc30 006627e0 0072fe30 +006627e0 0040a380 +006627e0 00759660 +006627e0 00425ac0 +006627e0 0040b220 +006627e0 00771550 +006627e0 006653e0 +006627e0 00665500 +006627e0 00732d00 +006627e0 007e9020 +006627e0 0092dc30 006627e0 007c8fc0 +006627e0 007e90f0 006627e0 004cf210 -006627e0 0072fd10 +006627e0 005c93b0 +006627e0 007706e0 +006627e0 0040a1b0 +006627e0 0040aaf0 +006627e0 EXTERNAL:00000220 006627e0 00956780 -00663aa0 009be3e0 -00663aa0 007e9020 -00663aa0 00af08b1 -00663aa0 00407170 -00663aa0 00428b20 +006627e0 00a112c0 +006627e0 00733610 +006627e0 0072fd10 +006627e0 00af08b1 +006627e0 004cdcf0 +006627e0 0040a5d0 +006627e0 007cb6e0 +006627e0 00929b40 +006627e0 0042c920 00663aa0 00737380 +00663aa0 007e9080 +00663aa0 006eef60 +00663aa0 00aef12b +00663aa0 00428b20 +00663aa0 00af08b1 00663aa0 0065cf80 00663aa0 006ee440 -00663aa0 00aef12b -00663aa0 007e9080 -00663aa0 006b31b0 -00663aa0 006eef60 -00663aa0 004d8b50 -00663aa0 0044bfb0 -00663aa0 006c2750 00663aa0 00771550 -00663aa0 006e1a80 +00663aa0 007e9020 +00663aa0 006c2750 +00663aa0 004d8b50 +00663aa0 006b31b0 00663aa0 007e90f0 -00663aa0 009bea80 00663aa0 007e8f90 -00664560 007e9020 -00664560 009b9480 -00664560 007f0df0 -00664560 00af08b1 -00664560 00929b40 -00664560 0041d540 -00664560 009e24a0 -00664560 0040a1b0 -00664560 00734900 -00664560 006fe410 -00664560 0041d520 -00664560 007078f0 -00664560 006eef60 -00664560 00815ae0 -00664560 004288a0 -00664560 00a112c0 -00664560 007079c0 -00664560 0040a5d0 -00664560 00663aa0 -00664560 008646e0 -00664560 009e0680 -00664560 006f0090 -00664560 0040a380 +00663aa0 009be3e0 +00663aa0 00407170 +00663aa0 0044bfb0 +00663aa0 006e1a80 +00663aa0 009bea80 00664560 009bf990 -00664560 00aef12b -00664560 00865340 -00664560 00418500 -00664560 00734180 -00664560 00733ca0 -00664560 00734a80 00664560 00a68490 -00664560 006b45c0 +00664560 0040a380 +00664560 007e9020 +00664560 008646e0 +00664560 007078f0 00664560 004cf210 +00664560 00734900 +00664560 00733ca0 +00664560 0040a1b0 +00664560 00734180 +00664560 007079c0 +00664560 00a112c0 +00664560 0041d540 +00664560 006eef60 +00664560 00aef12b +00664560 009b9480 +00664560 006f0090 +00664560 009e0680 +00664560 00af08b1 +00664560 00865340 +00664560 0040a5d0 +00664560 00418500 +00664560 0041d520 +00664560 006b45c0 +00664560 00929b40 +00664560 009e24a0 +00664560 00815ae0 +00664560 00734a80 +00664560 007f0df0 +00664560 00663aa0 +00664560 004288a0 +00664560 006fe410 00665370 0040a0d0 00665370 006b10f0 006653c0 006eeaa0 +006653e0 00956780 +006653e0 0075d9f0 +006653e0 0092dc30 006653e0 006eef60 006653e0 00a112c0 006653e0 0040a5d0 -006653e0 0075d9f0 006653e0 0040a1b0 -006653e0 0092dc30 006653e0 006fe410 -006653e0 00956780 -00665500 006e1e90 00665500 006f95a0 -00665500 0040c000 +00665500 006e1e90 00665500 006f9400 +00665500 0040c000 006655e0 00665630 00665630 00408e00 00665630 00a112c0 00665630 0040a5d0 00665630 00408b90 -006657a0 007f0df0 006657a0 00a112c0 006657a0 0041d540 -006657a0 006fe410 +006657a0 007f0df0 006657a0 0041d520 +006657a0 006fe410 00665a90 006b62b0 00665a90 00af08bd 00665c60 004288a0 -00665cf0 006a8290 00665cf0 004074c0 -00665ea0 00665ed0 +00665cf0 006a8290 00665ea0 00aef15c +00665ea0 00665ed0 00665ed0 004087a0 00665ed0 004149d0 00665ed0 006a8850 -00665ed0 00407f10 -00665ed0 0040d040 00665ed0 004cf210 -006660a0 006eef60 -006660a0 004288a0 -006660a0 008629c0 -006660a0 EXTERNAL:00000220 -006660a0 006a93a0 -006660a0 0040bd50 -006660a0 00aef15c -006660a0 0040b220 -006660a0 00676020 -006660a0 004cf210 +00665ed0 0040d040 +00665ed0 00407f10 006660a0 0040cf00 +006660a0 00aef15c +006660a0 006eef60 +006660a0 00676020 006660a0 00aef12b -006666c0 006acb60 -006666c0 00407f10 +006660a0 004cf210 +006660a0 006a93a0 +006660a0 008629c0 +006660a0 0040b220 +006660a0 0040bd50 +006660a0 EXTERNAL:00000220 +006660a0 004288a0 006666c0 004cf210 +006666c0 006acb60 006666c0 0067dac0 -006668c0 0041d540 +006666c0 00407f10 006668c0 00435a50 -00666a00 0041d540 +006668c0 0041d540 00666a00 00435a50 +00666a00 0041d540 00666a00 0041d520 -00666ba0 0041d540 00666ba0 00435a50 +00666ba0 0041d540 00666ba0 0041d520 -00666d40 00456750 +00666d40 00956780 00666d40 00435a50 00666d40 0092dc30 -00666d40 00956780 -006670f0 007cf8c0 -006670f0 00684cb0 -006670f0 00417860 -006670f0 00407170 -006670f0 00a104b0 -006670f0 006828b0 -006670f0 00423950 -006670f0 00440e90 -006670f0 00417340 -006670f0 00710480 -006670f0 00a112c0 -006670f0 00417160 -006670f0 00417850 -006670f0 00431550 -006670f0 007bf6c0 +00666d40 00456750 +006670f0 00a0fed0 +006670f0 00a10630 +006670f0 0060cea0 006670f0 007ea190 +006670f0 00a10390 +006670f0 00665be0 +006670f0 00417310 +006670f0 0067f070 +006670f0 00665a80 +006670f0 00665bf0 +006670f0 0067a770 +006670f0 00417170 +006670f0 00417620 +006670f0 00968430 +006670f0 00444c90 +006670f0 0060d060 +006670f0 00420170 +006670f0 0060cd90 +006670f0 004172f0 +006670f0 00a105a0 +006670f0 0040bd50 +006670f0 00424510 +006670f0 00af08b1 +006670f0 00435ce0 +006670f0 00665b70 +006670f0 0044bfa0 +006670f0 00666d40 +006670f0 00431640 +006670f0 00a104e0 +006670f0 009305f0 +006670f0 00a15640 +006670f0 006b2f50 +006670f0 0040a360 +006670f0 00435eb0 +006670f0 0041af60 +006670f0 00666ba0 +006670f0 0040d0e0 +006670f0 0060d070 +006670f0 00417430 +006670f0 006b6af0 +006670f0 004175b0 +006670f0 0040bf20 +006670f0 00435bc0 +006670f0 00a10350 +006670f0 0042cfd0 +006670f0 004288f0 +006670f0 00456830 +006670f0 00651a10 +006670f0 0041a790 +006670f0 004361f0 +006670f0 00431260 +006670f0 004173e0 +006670f0 00678080 +006670f0 00505b50 +006670f0 00a10660 +006670f0 0065b490 +006670f0 00652ab0 +006670f0 00675fc0 +006670f0 006ac710 +006670f0 0042a250 +006670f0 007cf8f0 +006670f0 004cf1d0 +006670f0 0081e6e0 +006670f0 00407480 +006670f0 007bf6c0 006670f0 00a0fea0 +006670f0 00812f50 +006670f0 00456710 +006670f0 005cd590 +006670f0 00440e90 +006670f0 00407280 +006670f0 0060cd70 +006670f0 0040c200 +006670f0 0041cb70 +006670f0 00499da0 +006670f0 00929aa0 +006670f0 004073c0 +006670f0 00417340 +006670f0 00812c10 +006670f0 005cd5f0 +006670f0 00435fd0 +006670f0 00aef12b +006670f0 0042c850 +006670f0 00705b90 +006670f0 00780eb0 +006670f0 004072e0 +006670f0 0067efe0 +006670f0 004316e0 +006670f0 00417870 +006670f0 00407270 +006670f0 0060ce80 +006670f0 006ff2a0 +006670f0 00444c70 +006670f0 00a100b0 +006670f0 00423950 +006670f0 005b1780 +006670f0 00a10180 +006670f0 005cd690 +006670f0 004f8940 +006670f0 00435f20 +006670f0 008279a0 +006670f0 006e6e40 +006670f0 004172b0 +006670f0 0067aaf0 +006670f0 004314b0 +006670f0 004aadb0 +006670f0 0060ccf0 +006670f0 00435c70 +006670f0 00499db0 +006670f0 00862aa0 +006670f0 EXTERNAL:0000022d +006670f0 004e4690 +006670f0 00665c60 +006670f0 00a0ff30 +006670f0 00a10100 +006670f0 00421800 +006670f0 00456750 +006670f0 0042f2a0 +006670f0 00a112c0 +006670f0 0070b2a0 +006670f0 0040a7c0 +006670f0 00676be0 +006670f0 005b1570 +006670f0 006a9320 +006670f0 005cd430 +006670f0 0040c3a0 +006670f0 006ac760 +006670f0 00447720 +006670f0 005cd770 +006670f0 00420160 +006670f0 0060cf20 +006670f0 00676120 +006670f0 005b15d0 +006670f0 007f0780 +006670f0 006b5b50 +006670f0 0067adc0 +006670f0 00431530 +006670f0 0097fe50 +006670f0 0060d040 006670f0 0042cc70 006670f0 00435de0 -006670f0 004e47c0 -006670f0 00678060 -006670f0 00436000 -006670f0 0081e6e0 -006670f0 004316d0 -006670f0 00407480 -006670f0 00a102e0 -006670f0 00505b40 -006670f0 00813bf0 -006670f0 007cb4f0 -006670f0 00417170 -006670f0 00711af0 -006670f0 00407410 -006670f0 00665a80 -006670f0 006e6e40 -006670f0 0044bfa0 -006670f0 0043ee80 -006670f0 00665b70 -006670f0 0067aaf0 -006670f0 008279c0 -006670f0 0096ce90 -006670f0 00435f70 -006670f0 004174a0 -006670f0 00417290 -006670f0 00812f50 -006670f0 00a10480 -006670f0 00af08b1 -006670f0 00452bf0 -006670f0 00665c00 -006670f0 006fe410 -006670f0 00a0ff30 -006670f0 00790af0 -006670f0 00592230 -006670f0 0040a4d0 -006670f0 00456830 -006670f0 006eef60 -006670f0 00505b60 -006670f0 00665a50 -006670f0 006a9320 -006670f0 00435ad0 -006670f0 007e90f0 -006670f0 00665cc0 -006670f0 004176f0 -006670f0 009680d0 -006670f0 00a10540 -006670f0 006b2f50 -006670f0 005cd770 -006670f0 0060cd90 -006670f0 004171b0 -006670f0 0041e460 -006670f0 00431640 -006670f0 00968430 -006670f0 0041cb60 -006670f0 0070b2a0 -006670f0 00435bc0 -006670f0 00417430 -006670f0 00a10180 -006670f0 00aeff60 -006670f0 00499db0 -006670f0 00428910 -006670f0 00676120 -006670f0 00435e90 -006670f0 004f8940 -006670f0 006b6af0 -006670f0 006ac560 -006670f0 006a8fa0 -006670f0 0067f170 -006670f0 00557cd0 -006670f0 006ff2a0 -006670f0 00420160 -006670f0 00862aa0 -006670f0 00a10660 -006670f0 00a10630 -006670f0 00431560 -006670f0 00436090 -006670f0 005cd580 -006670f0 008279a0 -006670f0 004360c0 -006670f0 00a0fe80 -006670f0 007b9f60 -006670f0 00665bc0 -006670f0 004071c0 -006670f0 00435d60 -006670f0 00665b00 -006670f0 00417620 -006670f0 00431620 -006670f0 005b15d0 -006670f0 0097fe50 -006670f0 00414580 -006670f0 006a98b0 -006670f0 004e4690 -006670f0 0042a290 -006670f0 00665c60 -006670f0 0041a790 -006670f0 00a10350 -006670f0 00435fd0 -006670f0 00676150 -006670f0 00417400 -006670f0 0040a740 -006670f0 00812c10 -006670f0 00424510 -006670f0 006a9360 -006670f0 0042d9b0 -006670f0 0043eea0 -006670f0 0042f2a0 -006670f0 00431530 -006670f0 00435c70 -006670f0 006b5b50 -006670f0 00710dd0 -006670f0 0040c200 -006670f0 006ac710 -006670f0 007009a0 -006670f0 0060cd70 -006670f0 007706e0 -006670f0 004a5cf0 -006670f0 004173e0 -006670f0 00456750 -006670f0 00666ba0 -006670f0 004173b0 -006670f0 00435ce0 -006670f0 004361c0 -006670f0 0060ce80 -006670f0 006a9c10 -006670f0 00a10600 -006670f0 0065b490 -006670f0 00417380 006670f0 00813360 -006670f0 0040c3a0 -006670f0 00665bb0 -006670f0 00417480 -006670f0 00780eb0 -006670f0 00579760 -006670f0 0060ccf0 -006670f0 00436190 -006670f0 00499da0 -006670f0 00435b50 -006670f0 00665c20 -006670f0 005cd690 -006670f0 00a155f0 -006670f0 005cd7e0 -006670f0 007ea3e0 -006670f0 00665bf0 -006670f0 006668c0 -006670f0 007e9020 -006670f0 0040a910 -006670f0 005cd430 -006670f0 00435c20 -006670f0 004177c0 -006670f0 0067d430 -006670f0 007ebca0 -006670f0 0060cf10 -006670f0 00435e40 -006670f0 0067a8f0 -006670f0 004cf1d0 -006670f0 00435bf0 -006670f0 00435cf0 -006670f0 004172b0 -006670f0 0060d040 -006670f0 006ae820 -006670f0 0070c000 -006670f0 0040b200 -006670f0 00407270 -006670f0 0040bf20 -006670f0 EXTERNAL:0000022d -006670f0 00a10100 -006670f0 00417270 -006670f0 00678080 -006670f0 00407280 -006670f0 0067efe0 -006670f0 00a155c0 -006670f0 009305f0 -006670f0 00456710 -006670f0 00665c10 -006670f0 0040d0e0 -006670f0 00812c90 -006670f0 00444c70 -006670f0 00429550 -006670f0 007f0df0 +006670f0 00436090 +006670f0 006a8fa0 +006670f0 007cb4f0 +006670f0 00436000 006670f0 00407380 -006670f0 00428b20 -006670f0 00456370 -006670f0 006a92a0 -006670f0 004238f0 -006670f0 004072e0 +006670f0 004173b0 +006670f0 0042a290 +006670f0 00682740 +006670f0 006828b0 +006670f0 00665bb0 +006670f0 00444c60 +006670f0 007706e0 +006670f0 005cd580 +006670f0 00666a00 +006670f0 00665bc0 006670f0 0042a340 006670f0 0067a720 -006670f0 00431260 -006670f0 00436060 -006670f0 00771550 -006670f0 0071aaf0 -006670f0 0042cfd0 -006670f0 00435f30 -006670f0 00592200 -006670f0 00435cd0 -006670f0 00682740 -006670f0 004316e0 -006670f0 007c78e0 -006670f0 0042a250 -006670f0 00417900 -006670f0 00665ba0 -006670f0 007e8f90 -006670f0 005b1780 -006670f0 00a104e0 -006670f0 00665a90 -006670f0 0040a7c0 -006670f0 00435eb0 -006670f0 00703be0 -006670f0 00675fc0 -006670f0 0040c780 -006670f0 00421800 -006670f0 00652ab0 -006670f0 0060cea0 -006670f0 005cd750 -006670f0 00a0fed0 -006670f0 0041af60 -006670f0 0067ae30 -006670f0 00417840 -006670f0 004071f0 -006670f0 004f88a0 -006670f0 00440e50 -006670f0 007c2d50 -006670f0 004073c0 -006670f0 0067adc0 -006670f0 00709df0 -006670f0 00428a60 -006670f0 007826c0 -006670f0 004073d0 -006670f0 005cd5f0 -006670f0 004149d0 -006670f0 0042c810 -006670f0 007c32c0 -006670f0 00420170 -006670f0 0040bd50 -006670f0 0041cb80 -006670f0 00a100b0 -006670f0 0042c850 -006670f0 00a10390 -006670f0 00440e30 -006670f0 00a15640 -006670f0 006ac760 -006670f0 007f0780 -006670f0 00456620 -006670f0 0096f310 -006670f0 00444c60 -006670f0 0060d070 -006670f0 00651a10 -006670f0 00a105a0 -006670f0 005c93b0 -006670f0 00435da0 -006670f0 0067a770 -006670f0 0060cf20 -006670f0 0041cb70 -006670f0 004314b0 -006670f0 00705b90 -006670f0 004aadb0 -006670f0 007dd3b0 -006670f0 0041d510 -006670f0 004172f0 -006670f0 00417460 -006670f0 0067f010 -006670f0 00417320 -006670f0 0085e360 -006670f0 00431310 -006670f0 00456440 -006670f0 0040a380 -006670f0 00956940 -006670f0 00aef12b -006670f0 00435f20 -006670f0 00417310 -006670f0 00676be0 -006670f0 009568e0 -006670f0 00417470 -006670f0 00a10450 -006670f0 005cd5a0 -006670f0 005cd5c0 -006670f0 004172d0 -006670f0 004361f0 -006670f0 0060d060 -006670f0 00a0ffc0 -006670f0 00a101c0 -006670f0 0040a360 -006670f0 0067f070 -006670f0 00440e40 -006670f0 00a10420 -006670f0 00417870 -006670f0 00505b50 -006670f0 00444c90 -006670f0 00435a80 -006670f0 00677780 -006670f0 005cd590 -006670f0 004288f0 -006670f0 00780ec0 +006670f0 00417270 +006670f0 00414580 +006670f0 00579760 006670f0 004171d0 -006670f0 00666a00 +006670f0 005cd750 +006670f0 00452bf0 +006670f0 00431620 +006670f0 007ea3e0 +006670f0 00665a50 006670f0 00925df0 -006670f0 00929aa0 -006670f0 00417260 +006670f0 00417460 +006670f0 00435f70 +006670f0 00a102e0 +006670f0 00a101c0 +006670f0 00956940 +006670f0 00417400 +006670f0 00665c00 +006670f0 00505b40 +006670f0 006ae820 006670f0 006b6e40 -006670f0 005b1570 -006670f0 00682a50 -006670f0 007cf8f0 -006670f0 00666d40 -006670f0 0067d560 006670f0 00435dd0 +006670f0 004316d0 +006670f0 00417290 +006670f0 00417850 +006670f0 006fe410 +006670f0 00771550 +006670f0 004149d0 +006670f0 004e47c0 +006670f0 00435bf0 006670f0 00652a90 -006670f0 00a0fe90 -006670f0 00447720 -006670f0 00a10030 -006670f0 00a0ff90 -006670f0 004175b0 -006670f0 00665be0 -006670f0 00435c60 +006670f0 00431550 +006670f0 004361c0 +006670f0 0060cf10 +006670f0 00435d60 +006670f0 00440e50 +006670f0 00a155f0 +006670f0 00557cd0 +006670f0 005cd7e0 +006670f0 00505b60 +006670f0 00428a60 +006670f0 0067f010 +006670f0 00417900 +006670f0 004a5cf0 +006670f0 00682a50 +006670f0 00436060 +006670f0 005cd5c0 +006670f0 00703be0 +006670f0 004177c0 +006670f0 00a10540 +006670f0 007e8f90 +006670f0 007e90f0 +006670f0 00435c20 +006670f0 0042d9b0 +006670f0 00417160 +006670f0 0096ce90 +006670f0 009680d0 +006670f0 00592200 +006670f0 00435ad0 +006670f0 004071c0 +006670f0 00428b20 +006670f0 00a10480 +006670f0 008279c0 +006670f0 0040a910 +006670f0 00665a90 +006670f0 00407170 +006670f0 004071f0 +006670f0 0067ae30 +006670f0 00813bf0 +006670f0 00429550 +006670f0 00436190 +006670f0 00a0fe80 +006670f0 0040a4d0 006670f0 004aaed0 -00673660 007e9020 -00673660 00676120 -00673660 006ac560 -00673660 006acd10 -00673660 006a8fa0 -00673660 006d4a00 -00673660 006a9140 -00673660 0065cf80 -00673660 00930980 -00673660 00435c20 -00673660 0075d1d0 -00673660 004567b0 -00673660 007079c0 -00673660 007bf6c0 -00673660 006b62b0 -00673660 0067d1f0 -00673660 00678060 -00673660 0067f010 -00673660 007cb6e0 -00673660 00431310 -00673660 00a10100 -00673660 00417170 -00673660 007d3350 -00673660 004071c0 -00673660 0067af60 -00673660 00930640 -00673660 007c78b0 -00673660 00956940 -00673660 00aef12b -00673660 00665b00 -00673660 009568e0 -00673660 00676be0 -00673660 00679e80 -00673660 006b5320 -00673660 00703330 -00673660 00862d70 -00673660 0041a790 -00673660 006ac2a0 -00673660 006b2210 -00673660 00af08b1 -00673660 00676150 -00673660 00428b20 -00673660 0067f070 -00673660 006ac530 -00673660 0060d8e0 +006670f0 0040a380 +006670f0 004f88a0 +006670f0 0040c780 +006670f0 006668c0 +006670f0 007cf8c0 +006670f0 00a10450 +006670f0 0096f310 +006670f0 0041cb80 +006670f0 0041cb60 +006670f0 0042c810 +006670f0 00407410 +006670f0 00435a80 +006670f0 009568e0 +006670f0 00440e40 +006670f0 00417840 +006670f0 00456440 +006670f0 00435f30 +006670f0 0043ee80 +006670f0 00417470 +006670f0 0040a740 +006670f0 007dd3b0 +006670f0 0067d430 +006670f0 00428910 +006670f0 0041d510 +006670f0 004360c0 +006670f0 00812c90 +006670f0 004172d0 +006670f0 00665c10 +006670f0 0067d560 +006670f0 005c93b0 +006670f0 00a10600 +006670f0 00592230 +006670f0 00790af0 +006670f0 00665c20 +006670f0 00435c60 +006670f0 00a0ffc0 +006670f0 00431310 +006670f0 006a92a0 +006670f0 006eef60 +006670f0 006a9360 +006670f0 00417320 +006670f0 00711af0 +006670f0 00678060 +006670f0 00456370 +006670f0 007009a0 +006670f0 0040b200 +006670f0 00435da0 +006670f0 004171b0 +006670f0 00665b00 +006670f0 00a104b0 +006670f0 0067a8f0 +006670f0 00417380 +006670f0 0085e360 +006670f0 00aeff60 +006670f0 00417260 +006670f0 00a0fe90 +006670f0 00a10420 +006670f0 006a9c10 +006670f0 00a10030 +006670f0 0067f170 +006670f0 006ac560 +006670f0 007c32c0 +006670f0 004174a0 +006670f0 00a155c0 +006670f0 005cd5a0 +006670f0 007b9f60 +006670f0 00431560 +006670f0 00710dd0 +006670f0 00709df0 +006670f0 007c78e0 +006670f0 00a0ff90 +006670f0 0041e460 +006670f0 007ebca0 +006670f0 00677780 +006670f0 00665cc0 +006670f0 006a98b0 +006670f0 00417860 +006670f0 00780ec0 +006670f0 0071aaf0 +006670f0 007c2d50 +006670f0 00665ba0 +006670f0 00435b50 +006670f0 00435cd0 +006670f0 004238f0 +006670f0 00435cf0 +006670f0 00676150 +006670f0 004176f0 +006670f0 004073d0 +006670f0 00710480 +006670f0 007826c0 +006670f0 00435e90 +006670f0 00435e40 +006670f0 00456620 +006670f0 0070c000 +006670f0 00417480 +006670f0 00684cb0 +006670f0 00440e30 +006670f0 0043eea0 +006670f0 007e9020 +006670f0 007f0df0 00673660 004072e0 -00673660 007078f0 -00673660 00592230 -00673660 00435a80 -00673660 00677780 -00673660 006b5b90 -00673660 006eef60 -00673660 00771550 -00673660 00435c70 -00673660 006b5b50 -00673660 00592200 -00673660 007706e0 -00673660 004171b0 +00673660 006d4a00 +00673660 00679e80 00673660 006a2030 -00673660 00431640 -00673660 00930220 -00673660 0067a400 -00673660 00431570 -00673660 007dc2d0 -00673660 00417430 00673660 00930330 +00673660 0060d8e0 +00673660 00930220 +00673660 0067f070 +00673660 007cb6e0 +00673660 00703330 +00673660 00417170 +00673660 00431570 +00673660 006b5b90 +00673660 007c78b0 +00673660 00435c70 +00673660 0067f010 +00673660 0067d1f0 +00673660 00592230 +00673660 00a10100 +00673660 00431310 +00673660 004567b0 +00673660 00930980 +00673660 006eef60 +00673660 00af08b1 +00673660 007dc2d0 +00673660 00676be0 +00673660 006acd10 +00673660 00678060 +00673660 00431640 +00673660 00435c20 00673660 00435a50 -00673660 00a10030 +00673660 004171b0 +00673660 00665b00 +00673660 00862d70 +00673660 00417430 +00673660 007078f0 00673660 004175b0 +00673660 00a10030 +00673660 0065cf80 +00673660 006b5320 +00673660 006ac560 +00673660 00676120 +00673660 0041a790 +00673660 006b5b50 +00673660 00930640 +00673660 0067a400 +00673660 00592200 +00673660 004071c0 +00673660 00428b20 +00673660 006a8fa0 +00673660 007079c0 00673660 004071f0 +00673660 0067af60 +00673660 00677780 +00673660 007bf6c0 +00673660 007706e0 +00673660 006b62b0 00673660 00707840 +00673660 006a9140 +00673660 00676150 +00673660 0075d1d0 +00673660 006ac530 +00673660 006b2210 +00673660 006ac2a0 +00673660 00435a80 +00673660 00956940 +00673660 009568e0 +00673660 00aef12b +00673660 007e9020 +00673660 007d3350 +00673660 00771550 00675fc0 00676020 00676020 00456750 00676120 00677780 -00676150 004171b0 +00676150 0040cf00 00676150 0040bd50 -00676150 0040a1b0 -00676150 00417170 00676150 0040a380 00676150 0040b220 +00676150 0040c340 00676150 0040d040 -00676150 00aef12b 00676150 EXTERNAL:00000220 00676150 0040a5d0 +00676150 0040a1b0 +00676150 00417170 +00676150 004171b0 00676150 00aef15c -00676150 0040c340 -00676150 0040cf00 -00676be0 00812f50 -00676be0 00af08b1 -00676be0 00676150 -00676be0 00428b20 -00676be0 0041d540 -00676be0 0041d520 -00676be0 00677780 -00676be0 006eef60 -00676be0 EXTERNAL:00000220 -00676be0 00592200 -00676be0 00676020 +00676150 00aef12b 00676be0 0040cf00 -00676be0 00417170 -00676be0 0090b100 -00676be0 00aef12b +00676be0 0092dc30 +00676be0 00592200 +00676be0 00428b20 00676be0 00813360 -00676be0 004cdcf0 -00676be0 00707e10 +00676be0 004cf210 +00676be0 0040bf30 +00676be0 00417170 +00676be0 00677780 +00676be0 0090b100 +00676be0 00812f50 00676be0 0040c000 +00676be0 00676150 +00676be0 006eef60 +00676be0 0041d540 +00676be0 00af08b1 +00676be0 0041d520 +00676be0 EXTERNAL:00000220 00676be0 00435a50 00676be0 00aef15c -00676be0 0092dc30 -00676be0 0040bf30 -00676be0 004cf210 00676be0 00956780 -00677780 006ac2a0 -00677780 0041e420 -00677780 00408e00 -00677780 0067f010 +00676be0 00aef12b +00676be0 00707e10 +00676be0 00676020 +00676be0 004cdcf0 00677780 0040a380 -00677780 0040b220 -00677780 00aef12b -00677780 0040a780 -00677780 00499d60 00677780 006eef60 -00677780 004288a0 +00677780 0040b220 +00677780 0041e420 00677780 0040a5d0 00677780 00420a80 00677780 00409030 -00678080 006ac2a0 -00678080 007cb230 -00678080 00af08b1 -00678080 007a0970 -00678080 00676150 -00678080 0041d540 +00677780 006ac2a0 +00677780 00408e00 +00677780 00499d60 +00677780 0040a780 +00677780 00aef12b +00677780 004288a0 +00677780 0067f010 00678080 007aab70 -00678080 006fe410 -00678080 0041d520 -00678080 00aef29d -00678080 00677780 -00678080 00aef253 +00678080 00676150 00678080 006eef60 -00678080 007bf1a0 +00678080 0041d540 00678080 00a112c0 -00678080 00676020 +00678080 00af08b1 +00678080 007cb230 +00678080 0041d520 +00678080 007bf1a0 +00678080 006ac2a0 +00678080 00aef29d +00678080 007a0970 +00678080 00677780 00678080 007706e0 +00678080 00aef253 +00678080 006fe410 +00678080 00676020 +006790c0 006b10f0 006790c0 004073d0 006790c0 0040a0d0 006790c0 00af08b1 -006790c0 00862b80 -006790c0 0090b100 -006790c0 006b10f0 -006790c0 00925df0 006790c0 00af0917 -00679400 00812f50 +006790c0 0090b100 +006790c0 00925df0 +006790c0 00862b80 +00679400 007c2d50 +00679400 00a10100 +00679400 0067a720 +00679400 0041d540 00679400 006668c0 00679400 00af08b1 -00679400 004171b0 00679400 007cb6e0 00679400 006b0eb0 -00679400 0041d540 -00679400 00666ba0 -00679400 00a10100 00679400 0041d520 -00679400 00499d60 -00679400 0067a720 +00679400 00666ba0 +00679400 004171b0 00679400 00435a50 +00679400 00499d60 00679400 00666a00 +00679400 00812f50 00679400 00676020 -00679400 007c2d50 -00679e80 EXTERNAL:00000220 -00679e80 0040bd50 -00679e80 00aef15c -00679e80 0040a380 -00679e80 0040b220 00679e80 0040cf00 +00679e80 0040bd50 +00679e80 0040a380 +00679e80 00aef15c +00679e80 0040b220 00679e80 00aef12b -0067a080 004cdcf0 +00679e80 EXTERNAL:00000220 0067a080 00676150 0067a080 004cf210 -0067a190 00677780 -0067a190 004cdcf0 -0067a190 00af08b1 +0067a080 004cdcf0 0067a190 00676150 0067a190 00679e80 +0067a190 00af08b1 +0067a190 00677780 +0067a190 004cf210 0067a190 006fe410 0067a190 00676020 -0067a190 004cf210 -0067a400 00677780 -0067a400 EXTERNAL:00000220 -0067a400 00456750 +0067a190 004cdcf0 +0067a400 0040cf00 0067a400 0040bd50 0067a400 00aef15c +0067a400 00456750 0067a400 0040b220 -0067a400 0040cf00 +0067a400 00677780 0067a400 00aef12b -0067a770 EXTERNAL:00000262 -0067a770 00435a50 +0067a400 EXTERNAL:00000220 0067a770 0041af60 -0067a8f0 EXTERNAL:00000262 -0067a8f0 00435a50 +0067a770 00435a50 +0067a770 EXTERNAL:00000262 0067a8f0 0041af60 +0067a8f0 00435a50 +0067a8f0 EXTERNAL:00000262 0067aaf0 00435a50 -0067ae30 004cdcf0 0067ae30 004cf210 -0067af60 006ad3c0 -0067af60 006a89d0 -0067af60 0041d540 -0067af60 006ac560 -0067af60 006ad500 -0067af60 006acd10 -0067af60 0041d520 -0067af60 00705480 -0067af60 006ad750 -0067af60 007f0780 -0067af60 00456620 -0067af60 006ae280 -0067af60 006b7280 -0067af60 006ad870 -0067af60 007bf6c0 -0067af60 005c93b0 -0067af60 004314b0 -0067af60 007599d0 -0067af60 00435f50 -0067af60 00431310 -0067af60 006b5e20 -0067af60 00417170 -0067af60 006add70 -0067af60 00aef12b -0067af60 006b7560 -0067af60 004cdcf0 -0067af60 00456380 -0067af60 0043eb10 -0067af60 006b5c10 +0067ae30 004cdcf0 0067af60 0092dc30 -0067af60 006075a0 -0067af60 004cf210 -0067af60 006ae0a0 -0067af60 00812f50 -0067af60 006ac2a0 -0067af60 006ae420 -0067af60 00af08b1 -0067af60 00676150 -0067af60 00428b20 0067af60 006d4db0 -0067af60 006adf40 -0067af60 0067f070 -0067af60 006b79d0 +0067af60 006ae0a0 0067af60 00417870 -0067af60 00435a80 -0067af60 00677780 -0067af60 006eef60 +0067af60 006a89d0 +0067af60 005cd690 +0067af60 0067f070 +0067af60 006b7a80 +0067af60 004cf210 +0067af60 00417170 +0067af60 006ae420 +0067af60 006b7560 +0067af60 006ad3c0 +0067af60 006b5c10 +0067af60 004314b0 0067af60 006b5b90 +0067af60 00435f50 +0067af60 006adf40 +0067af60 00456380 +0067af60 006ad500 +0067af60 005c93b0 +0067af60 00705480 +0067af60 00a10600 +0067af60 00431310 +0067af60 0041d540 +0067af60 006eef60 +0067af60 006ae280 +0067af60 00af08b1 +0067af60 006acd10 0067af60 006a9320 +0067af60 004cf120 +0067af60 00813520 +0067af60 0041d520 +0067af60 0041af60 +0067af60 00435a50 +0067af60 004171b0 +0067af60 00694fb0 +0067af60 004175b0 +0067af60 00a10030 +0067af60 006ac560 +0067af60 007f0780 0067af60 00966650 0067af60 00592200 0067af60 00435ad0 -0067af60 004171b0 -0067af60 00a10600 -0067af60 00694fb0 -0067af60 00638e30 -0067af60 006b7a80 -0067af60 004cf120 -0067af60 00435a50 -0067af60 00a10030 -0067af60 0041af60 -0067af60 004175b0 -0067af60 00813520 +0067af60 00428b20 +0067af60 006b5e20 +0067af60 006b79d0 +0067af60 006075a0 +0067af60 007bf6c0 +0067af60 00677780 +0067af60 00812f50 +0067af60 0043eb10 +0067af60 006add70 +0067af60 00676150 +0067af60 007599d0 +0067af60 00456620 +0067af60 006ac2a0 +0067af60 00435a80 +0067af60 006ad750 +0067af60 006b7280 0067af60 00956780 -0067af60 005cd690 +0067af60 00638e30 +0067af60 00aef12b +0067af60 006ad870 +0067af60 004cdcf0 0067d1f0 006eef60 0067d1f0 007706e0 0067d430 0041a790 -0067d430 EXTERNAL:00000262 -0067d430 006ac560 0067d430 00431310 0067d430 0067af60 +0067d430 EXTERNAL:00000262 +0067d430 006ac560 +0067d560 00417170 +0067d560 0081e6e0 +0067d560 00431310 +0067d560 00aef15c 0067d560 00414a80 0067d560 006eef60 -0067d560 0081e6e0 -0067d560 004e45c0 -0067d560 00431310 0067d560 00a0f4c0 -0067d560 00aef15c -0067d560 00417170 0067d560 00424540 +0067d560 004e45c0 0067da40 004e4690 -0067dac0 004cdcf0 0067dac0 004cf210 +0067dac0 004cdcf0 +0067db00 0040cf00 +0067db00 0040a1b0 +0067db00 0040bd50 0067db00 00416440 +0067db00 00aef15c +0067db00 00694fb0 0067db00 006eef60 +0067db00 00aef12b 0067db00 EXTERNAL:00000220 0067db00 0040a5d0 0067db00 0069ba90 -0067db00 0040bd50 -0067db00 0040a1b0 -0067db00 00aef15c -0067db00 0040cf00 -0067db00 00aef12b -0067db00 00694fb0 -0067e0f0 006eef60 -0067e0f0 0067ed90 -0067e0f0 007f0df0 -0067e0f0 00af08b1 -0067e0f0 0040a5d0 -0067e0f0 0070b170 0067e0f0 0040a1b0 -0067e0f0 00a10030 -0067e0f0 00435a50 -0067e0f0 006fe410 0067e0f0 00409030 +0067e0f0 00435a50 0067e0f0 00703950 -0067e880 00408e00 +0067e0f0 006eef60 +0067e0f0 00af08b1 +0067e0f0 00a10030 +0067e0f0 0070b170 +0067e0f0 007f0df0 +0067e0f0 0067ed90 +0067e0f0 0040a5d0 +0067e0f0 006fe410 0067e880 00709e50 +0067e880 00408e00 0067e880 0040a030 -0067ea60 006eef60 -0067ea60 00709df0 -0067ea60 00407170 -0067ea60 0044bfb0 0067ea60 0092dc30 +0067ea60 00407170 +0067ea60 00425ac0 +0067ea60 0044bfb0 +0067ea60 006eef60 +0067ea60 00956780 +0067ea60 00aef12b +0067ea60 007706e0 +0067ea60 00709df0 0067ea60 006fe410 0067ea60 006a9140 -0067ea60 00425ac0 -0067ea60 00aef12b -0067ea60 00956780 0067ea60 00700060 -0067ea60 007706e0 -0067ed90 EXTERNAL:00000220 -0067ed90 0067ef50 -0067ed90 00aef15c 0067ed90 0040cf00 +0067ed90 0067ef50 0067ed90 0040cee0 +0067ed90 00aef15c 0067ed90 00415bc0 +0067ed90 EXTERNAL:00000220 0067efe0 006eef60 0067f010 006eef60 0067f030 006eef60 @@ -14806,76 +14806,76 @@ 0067f0d0 00a112c0 0067f0d0 0041d540 0067f0d0 0041d520 -0067f1d0 00aef253 0067f1d0 00aef29d +0067f1d0 00aef253 0067f310 00af0917 -0067f420 0040cf50 0067f420 00684ce0 +0067f420 006858b0 +0067f420 00aef15c +0067f420 004141a0 +0067f420 EXTERNAL:000001c0 +0067f420 0040cf50 +0067f420 006851f0 +0067f420 00aef12b 0067f420 EXTERNAL:000001bd 0067f420 EXTERNAL:00000220 -0067f420 006851f0 -0067f420 004141a0 -0067f420 00aef15c -0067f420 EXTERNAL:000001c0 -0067f420 006858b0 -0067f420 00aef12b 0067f580 0067f420 0067f600 0040cae0 0067f600 EXTERNAL:0000023f -0067f670 0040cf50 -0067f670 00685000 -0067f670 006851f0 -0067f670 004141a0 -0067f670 0040cae0 -0067f670 00414330 -0067f670 EXTERNAL:000001c0 -0067f670 00aef12b -0067f670 00685a20 0067f670 EXTERNAL:0000022f -0067f670 EXTERNAL:000001bd -0067f670 EXTERNAL:00000220 +0067f670 004141a0 +0067f670 EXTERNAL:000001c0 0067f670 00414250 -0067f670 00aef15c +0067f670 0040cf50 +0067f670 00414330 +0067f670 EXTERNAL:000001bd 0067f670 0040ccd0 -0067f670 0067f580 +0067f670 EXTERNAL:00000220 +0067f670 00aef15c 0067f670 0042f2f0 -0067fdf0 0040ccc0 -0067fdf0 EXTERNAL:00000220 -0067fdf0 00a112c0 -0067fdf0 00aef15c +0067f670 00685a20 +0067f670 0040cae0 +0067f670 006851f0 +0067f670 0067f580 +0067f670 00685000 +0067f670 00aef12b 0067fdf0 0040cf00 +0067fdf0 0040ccc0 +0067fdf0 00aef15c +0067fdf0 00a112c0 0067fdf0 00af05df +0067fdf0 EXTERNAL:00000220 00680060 EXTERNAL:00000231 00680080 00a112c0 00682280 0044be50 00682280 00a0f4c0 00682350 00684fc0 -00682390 EXTERNAL:000001f3 -00682390 EXTERNAL:0000022f -00682390 0042f0f0 -00682390 EXTERNAL:00000220 -00682390 00aef15c -00682390 EXTERNAL:000001f4 -00682390 00a1b8e0 -00682390 0040d040 -00682390 0040ccd0 -00682390 00aef12b 00682390 0042f2f0 +00682390 00aef15c +00682390 EXTERNAL:0000022f +00682390 00a1b8e0 +00682390 0042f0f0 +00682390 00aef12b +00682390 EXTERNAL:000001f4 +00682390 0040d040 +00682390 EXTERNAL:000001f3 +00682390 0040ccd0 +00682390 EXTERNAL:00000220 00682740 00499d20 006827a0 00499d20 006828b0 00499d20 00682a50 00499d20 00682b90 00651b10 -00682b90 EXTERNAL:00000220 -00682b90 00a112c0 -00682b90 00aef15c -00682b90 00aef12b 00682b90 00af08bd -00683060 00a14c00 +00682b90 00aef15c +00682b90 00a112c0 +00682b90 00aef12b +00682b90 EXTERNAL:00000220 00683060 00aef12b +00683060 00a14c00 00683580 00a648b0 -00683580 00af05e5 00683580 00683410 +00683580 00af05e5 00683680 00684f30 00683680 006856c0 006836c0 00a18300 @@ -14885,107 +14885,107 @@ 00683710 00aef15c 00683710 EXTERNAL:00000009 00683820 00a648b0 -00683820 00a5a7a0 00683820 EXTERNAL:00000009 +00683820 00a5a7a0 00683930 00a648b0 -00683930 00a5a7a0 00683930 EXTERNAL:00000009 +00683930 00a5a7a0 006839b0 00a648b0 006839b0 EXTERNAL:00000009 00683b60 00af05df 00683c10 00a112c0 00683c10 00af05df -00683d00 00684e10 -00683d00 0067f420 -00683d00 EXTERNAL:00000220 -00683d00 00a0f4c0 00683d00 00aef15c -00683d00 0040ccd0 -00683d00 00aef12b 00683d00 006844a0 +00683d00 00684e10 00683d00 0067f580 -00684130 00684590 -00684130 EXTERNAL:00000220 +00683d00 0067f420 +00683d00 00a0f4c0 +00683d00 00aef12b +00683d00 0040ccd0 +00683d00 EXTERNAL:00000220 00684130 00aef15c +00684130 00684590 00684130 00aef12b 00684130 EXTERNAL:0000023f -006841d0 00684590 -006841d0 EXTERNAL:00000220 +00684130 EXTERNAL:00000220 006841d0 00aef15c -006841d0 0040ccd0 +006841d0 00684590 006841d0 00aef12b 006841d0 EXTERNAL:0000023f -006843a0 00684590 -006843a0 EXTERNAL:00000220 +006841d0 0040ccd0 +006841d0 EXTERNAL:00000220 006843a0 EXTERNAL:0000023e 006843a0 00aef15c +006843a0 00684590 006843a0 00aef12b -006844a0 00499950 -006844a0 00685620 -006844a0 00685570 +006843a0 EXTERNAL:00000220 006844a0 00684ee0 +006844a0 00499950 006844a0 00aef12b -00684590 0040cf50 -00684590 EXTERNAL:00000220 +006844a0 00685570 +006844a0 00685620 00684590 00aef15c -00684590 00685bc0 -00684590 0040ccd0 +00684590 0040cf50 00684590 00aef12b 00684590 00423480 +00684590 00685bc0 +00684590 0040ccd0 +00684590 EXTERNAL:00000220 006846c0 00aef12b -00684920 00a112c0 00684920 006846c0 +00684920 00a112c0 00684920 00aef12b 00684b90 00499d20 -00684ce0 EXTERNAL:000001cc -00684ce0 EXTERNAL:000001bb -00684ce0 EXTERNAL:000001d1 -00684ce0 EXTERNAL:000001cb 00684ce0 0040cf00 +00684ce0 EXTERNAL:000001cc +00684ce0 EXTERNAL:000001d1 +00684ce0 EXTERNAL:000001bb +00684ce0 EXTERNAL:000001cb 00684ce0 00af05df 00684e10 00685360 00684e70 00af08bd -00684ee0 00499950 00684ee0 00af08bd +00684ee0 00499950 00684f70 00af08bd -00685000 EXTERNAL:000001d2 +00685000 EXTERNAL:000001cd 00685000 EXTERNAL:000001d6 00685000 EXTERNAL:000001d0 +00685000 EXTERNAL:000001d2 00685000 00414690 -00685000 EXTERNAL:000001cd 00685126 EXTERNAL:000001cd -006851f0 0040cf50 -006851f0 0042f660 -006851f0 0042f7a0 006851f0 0040cf00 006851f0 0040cee0 006851f0 00415bc0 +006851f0 0040cf50 +006851f0 0042f660 +006851f0 0042f7a0 0068532b 00414ae0 -0068532b 00414b10 0068532b 00af05eb -00685360 0040cf50 -00685360 00415f80 -00685360 00a0f4c0 -00685360 00685bc0 +0068532b 00414b10 00685360 00415fe0 +00685360 00415f80 +00685360 0040cf50 00685360 004170d0 +00685360 00a0f4c0 00685360 00423480 +00685360 00685bc0 00685570 00af05e5 00685570 00aef12b 00685620 00af05e5 00685620 00aef12b -006856c0 00af05e5 -006856c0 0040cad0 -006856c0 00a0f4c0 006856c0 0040cf00 -006856c0 0040c740 006856c0 00af08bd 006856c0 0040cee0 +006856c0 00af05e5 +006856c0 0040c740 +006856c0 00a0f4c0 +006856c0 0040cad0 +006858b0 EXTERNAL:000001ba 006858b0 EXTERNAL:000001b7 +006858b0 EXTERNAL:000001b9 006858b0 006859cd 006858b0 0059c4c0 -006858b0 EXTERNAL:000001b9 -006858b0 EXTERNAL:000001ba 006858b0 EXTERNAL:000001b8 006859aa EXTERNAL:000001cd 006859cd EXTERNAL:000001cd @@ -14994,9 +14994,9 @@ 00685a20 00685b61 00685a20 00414690 00685b41 EXTERNAL:000001cd +00685b61 EXTERNAL:000001cd 00685b61 EXTERNAL:000001d6 00685b61 EXTERNAL:000001d0 -00685b61 EXTERNAL:000001cd 00685bc0 00423480 00685ca0 EXTERNAL:0000000a 00685ca0 EXTERNAL:00000001 @@ -15005,8 +15005,8 @@ 00685d60 006eef60 00685d60 007ed310 00685d60 00aef12b -00685dc0 00a112c0 00685dc0 009eb5b0 +00685dc0 00a112c0 00685e00 0040cf50 00685e00 004288a0 00685e00 009e9db0 @@ -15014,482 +15014,482 @@ 00685ea0 0040cf50 00685ea0 009e9db0 00685f10 0042a030 +00685fc0 00aef15c +00685fc0 00aef638 +00685fc0 00693ac0 00685fc0 006936f0 00685fc0 0042f240 -00685fc0 00aef638 -00685fc0 00aef15c -00685fc0 00693ac0 00685fc0 0040d040 +00686060 00686220 00686060 00686110 00686060 006936f0 -00686060 00686220 -00686110 EXTERNAL:00000220 +00686110 0040cf00 00686110 006929e0 00686110 00aef15c 00686110 00693ac0 -00686110 0040cf00 00686110 00aef12b -00686220 0041e420 -00686220 00a24fd0 -00686220 006937a0 -00686220 00a0f4c0 -00686220 00aef86f +00686110 EXTERNAL:00000220 00686220 EXTERNAL:0000026c -00686220 0040ccd0 -00686220 00aef12b +00686220 00aef86f 00686220 EXTERNAL:00000235 -006864a0 0040cf50 -006864a0 00693180 -006864a0 EXTERNAL:00000220 -006864a0 EXTERNAL:00000262 -006864a0 0040cae0 -006864a0 006937a0 -006864a0 00a0f4c0 +00686220 00a24fd0 +00686220 00a0f4c0 +00686220 00aef12b +00686220 0041e420 +00686220 0040ccd0 +00686220 006937a0 006864a0 00aef15c -006864a0 006935c0 -006864a0 0040d040 +006864a0 0040cae0 +006864a0 0040cf50 +006864a0 EXTERNAL:00000262 +006864a0 00693180 +006864a0 00a0f4c0 006864a0 00aef12b +006864a0 006935c0 006864a0 006938e0 -00686730 00693d20 +006864a0 0040d040 +006864a0 006937a0 +006864a0 EXTERNAL:00000220 00686730 006924d0 -00686950 0041e420 +00686730 00693d20 00686950 EXTERNAL:0000026c 00686950 00aef12b +00686950 0041e420 00686950 00a25090 00686ad0 00a20fb0 -00686b70 0040cf50 00686b70 006864a0 -00686b70 EXTERNAL:00000220 00686b70 0068cdc0 -00686b70 006851f0 00686b70 00aef15c +00686b70 0040cf50 +00686b70 006851f0 00686b70 00aef12b -00686da0 00414410 -00686da0 0040cf50 -00686da0 004149d0 +00686b70 EXTERNAL:00000220 +00686da0 00421620 +00686da0 00694d20 +00686da0 00414550 +00686da0 0040c340 00686da0 00499330 -00686da0 0040d0c0 -00686da0 0072fdd0 -00686da0 00684e50 -00686da0 0042a020 -00686da0 00499350 -00686da0 0082ce40 -00686da0 00693470 -00686da0 00724af0 -00686da0 00aef5af -00686da0 0067f580 -00686da0 004215a0 -00686da0 004143f0 +00686da0 00414410 +00686da0 004561b0 +00686da0 00694040 00686da0 0072fd70 +00686da0 0067f580 +00686da0 00685fa0 +00686da0 00693420 +00686da0 00684e30 +00686da0 0040c790 +00686da0 00738470 +00686da0 0072fe00 +00686da0 00499350 +00686da0 004215a0 +00686da0 0040d040 +00686da0 EXTERNAL:000001d7 +00686da0 00694fb0 +00686da0 00aef29d +00686da0 0082d000 +00686da0 00694120 00686da0 005cbea0 +00686da0 00aef5af +00686da0 004170e0 +00686da0 00414a80 +00686da0 0040cf50 +00686da0 0041e420 +00686da0 00684e50 +00686da0 0082d100 +00686da0 00651d50 +00686da0 00693eb0 +00686da0 0040d000 +00686da0 00a0f4c0 00686da0 00417100 00686da0 005cbb80 -00686da0 006851c0 -00686da0 004561b0 -00686da0 00aef12b -00686da0 00414a80 00686da0 00aef253 -00686da0 0040c310 -00686da0 00693280 -00686da0 0072ff10 -00686da0 00693420 -00686da0 0072fd10 -00686da0 00651d50 -00686da0 004170e0 -00686da0 00aef29d -00686da0 00694120 -00686da0 EXTERNAL:0000023f -00686da0 00651af0 -00686da0 EXTERNAL:00000220 -00686da0 00684e30 00686da0 004147f0 -00686da0 00693650 -00686da0 0040c340 -00686da0 0082d000 -00686da0 0040ccd0 -00686da0 00414550 -00686da0 00694040 -00686da0 0041e420 -00686da0 00694d20 -00686da0 00693eb0 -00686da0 00693f00 -00686da0 00a0f4c0 -00686da0 00738470 -00686da0 0040c790 -00686da0 006f8120 -00686da0 0040d040 -00686da0 00421620 -00686da0 00694fb0 -00686da0 0040d000 -00686da0 0082d100 -00686da0 00a1ae80 -00686da0 00aef15c -00686da0 EXTERNAL:000001d7 -00686da0 0040c2f0 -00686da0 00685fa0 -00686da0 006867b0 -00686da0 0072fe00 +00686da0 0082ce40 00686da0 0082d030 -0068b260 00686950 -0068b260 004242b0 -0068b260 00a26670 -0068b260 00a20fb0 -0068b260 00686ad0 -0068b260 00686b70 -0068b260 00a69f60 -0068b260 00686da0 -0068b260 EXTERNAL:0000017b -0068b260 00a20390 -0068b260 0060c420 -0068b260 EXTERNAL:0000021c -0068b260 00686910 -0068b260 0040c310 -0068b260 00651b10 -0068b260 00692960 -0068b260 00684e70 -0068b260 0040c2f0 -0068b260 00864c30 +00686da0 006851c0 +00686da0 0072ff10 +00686da0 006f8120 +00686da0 004143f0 +00686da0 00693470 +00686da0 00693650 +00686da0 0072fdd0 +00686da0 00651af0 +00686da0 0042a020 +00686da0 EXTERNAL:0000023f +00686da0 006867b0 +00686da0 00693f00 +00686da0 0040ccd0 +00686da0 EXTERNAL:00000220 +00686da0 0072fd10 +00686da0 00aef15c +00686da0 00693280 +00686da0 00aef12b +00686da0 0040d0c0 +00686da0 00724af0 +00686da0 0040c2f0 +00686da0 0040c310 +00686da0 00a1ae80 +00686da0 004149d0 0068b260 006924d0 +0068b260 00651b10 +0068b260 00864c30 +0068b260 EXTERNAL:0000017b +0068b260 00686ad0 +0068b260 00686950 +0068b260 00a20390 +0068b260 00686b70 +0068b260 00684e70 0068b260 006867e0 +0068b260 00a20fb0 +0068b260 00a69f60 +0068b260 00686910 +0068b260 004242b0 +0068b260 00686da0 +0068b260 00a26670 +0068b260 EXTERNAL:0000021c +0068b260 0040c310 +0068b260 0040c2f0 +0068b260 00692960 +0068b260 0060c420 0068bba0 006edfa0 0068bba0 009be080 -0068bd70 0069dac0 -0068bd70 EXTERNAL:00000220 +0068bd70 00aef15c 0068bd70 00a1af90 0068bd70 00a1bd80 -0068bd70 00aef15c +0068bd70 0069dac0 +0068bd70 00aef12b 0068bd70 00a1bb10 0068bd70 0040ccd0 -0068bd70 00aef12b 0068bd70 00a55d60 -0068c2e0 00a1dfd0 -0068c2e0 00a10d00 -0068c2e0 00a1bd80 -0068c2e0 00a13750 +0068bd70 EXTERNAL:00000220 0068c2e0 0068bd70 -0068c2e0 00a1bb10 -0068c2e0 00a140c0 -0068c2e0 00aef12b -0068c2e0 0069dac0 -0068c2e0 EXTERNAL:00000220 -0068c2e0 00a112c0 -0068c2e0 00aef15c -0068c2e0 00684fc0 -0068c2e0 00a1b8e0 -0068c2e0 0040ccd0 -0068c2e0 00a55d60 0068c2e0 00a671b0 -0068cdc0 0040cf50 -0068cdc0 00417860 -0068cdc0 0042ca00 -0068cdc0 009eb980 -0068cdc0 00423950 -0068cdc0 00a20390 -0068cdc0 0040c2d0 -0068cdc0 00685ef0 -0068cdc0 0040cca0 -0068cdc0 005caa70 -0068cdc0 009eb7f0 -0068cdc0 00a19440 -0068cdc0 004561a0 -0068cdc0 00407480 -0068cdc0 009a8620 -0068cdc0 0072ba80 -0068cdc0 008295c0 -0068cdc0 00693560 -0068cdc0 0081ecc0 -0068cdc0 00424530 -0068cdc0 004360f0 -0068cdc0 00417290 -0068cdc0 00651d50 -0068cdc0 00af08b1 -0068cdc0 00693680 -0068cdc0 004170e0 -0068cdc0 00651af0 -0068cdc0 006eef60 -0068cdc0 0082c720 -0068cdc0 005cba40 -0068cdc0 00557b70 -0068cdc0 004176f0 -0068cdc0 00763570 -0068cdc0 009e9d10 -0068cdc0 00693eb0 -0068cdc0 0041e460 -0068cdc0 0092b230 -0068cdc0 0041cb60 -0068cdc0 00738470 -0068cdc0 00421620 -0068cdc0 009eba00 -0068cdc0 007717c0 -0068cdc0 00414410 -0068cdc0 00685f00 -0068cdc0 0040d0c0 -0068cdc0 0081e930 -0068cdc0 00436160 -0068cdc0 00684e50 -0068cdc0 0060c420 -0068cdc0 0042c710 -0068cdc0 007a6450 -0068cdc0 008f73f0 -0068cdc0 00685db0 -0068cdc0 00736ba0 -0068cdc0 00422830 -0068cdc0 0072a1b0 -0068cdc0 006936e0 -0068cdc0 00865660 -0068cdc0 00414430 -0068cdc0 00436fb0 -0068cdc0 009e9320 -0068cdc0 00417620 -0068cdc0 00685d50 -0068cdc0 0042a330 -0068cdc0 00771d30 -0068cdc0 0078f840 -0068cdc0 008f70f0 -0068cdc0 0040d210 -0068cdc0 0040e470 -0068cdc0 00424510 -0068cdc0 00421790 -0068cdc0 005cbfc0 -0068cdc0 009b9cd0 -0068cdc0 EXTERNAL:0000023f -0068cdc0 0042a2f0 -0068cdc0 009b92c0 -0068cdc0 004147f0 -0068cdc0 00557bb0 -0068cdc0 00693650 -0068cdc0 0082d000 -0068cdc0 0040c720 -0068cdc0 007706e0 -0068cdc0 0041e420 -0068cdc0 006c0f30 -0068cdc0 EXTERNAL:0000023e -0068cdc0 0040e910 -0068cdc0 0060c530 -0068cdc0 0060c560 -0068cdc0 0075f0e0 -0068cdc0 00428a50 -0068cdc0 0040d040 -0068cdc0 0040c3a0 -0068cdc0 0069d200 -0068cdc0 0082d100 -0068cdc0 006fe2f0 -0068cdc0 00685d40 -0068cdc0 00685cc0 -0068cdc0 004178d0 -0068cdc0 00417910 -0068cdc0 006fd7c0 -0068cdc0 007a3c10 -0068cdc0 00417280 -0068cdc0 0075d1d0 -0068cdc0 00685f50 -0068cdc0 00685f70 -0068cdc0 009eb590 -0068cdc0 00815ae0 -0068cdc0 006929e0 -0068cdc0 007cb090 -0068cdc0 006ad870 -0068cdc0 00738610 -0068cdc0 004215a0 -0068cdc0 0073fa20 -0068cdc0 007f2070 -0068cdc0 0040bf20 -0068cdc0 EXTERNAL:0000022d -0068cdc0 005cbfa0 -0068cdc0 005cba30 -0068cdc0 00417270 -0068cdc0 006851c0 -0068cdc0 004561b0 -0068cdc0 00414a80 -0068cdc0 00733610 -0068cdc0 0042c770 -0068cdc0 00431760 -0068cdc0 0072fd10 -0068cdc0 00812c90 -0068cdc0 00428b20 -0068cdc0 00770ca0 -0068cdc0 004178e0 -0068cdc0 0042a340 -0068cdc0 009569a0 -0068cdc0 0075dfe0 -0068cdc0 00684e30 -0068cdc0 00692ed0 -0068cdc0 00436060 -0068cdc0 00771f60 -0068cdc0 00685e70 -0068cdc0 007c2e80 -0068cdc0 0040c340 -0068cdc0 00a20020 -0068cdc0 004215e0 -0068cdc0 004242b0 -0068cdc0 00740da0 -0068cdc0 006941b0 -0068cdc0 00421800 -0068cdc0 007a3c30 -0068cdc0 00417840 -0068cdc0 00a26620 -0068cdc0 007a6430 -0068cdc0 004073c0 -0068cdc0 0040cfe0 -0068cdc0 00421770 -0068cdc0 00685f10 -0068cdc0 00685d30 -0068cdc0 009036b0 +0068c2e0 00a112c0 +0068c2e0 00a1bd80 +0068c2e0 0069dac0 +0068c2e0 00a13750 +0068c2e0 00a1bb10 +0068c2e0 00684fc0 +0068c2e0 00a55d60 +0068c2e0 0040ccd0 +0068c2e0 EXTERNAL:00000220 +0068c2e0 00a10d00 +0068c2e0 00aef15c +0068c2e0 00a140c0 +0068c2e0 00a1b8e0 +0068c2e0 00aef12b +0068c2e0 00a1dfd0 0068cdc0 00557b00 -0068cdc0 007bc740 -0068cdc0 00685e00 -0068cdc0 004218e0 -0068cdc0 007d8240 -0068cdc0 0067f580 -0068cdc0 004143f0 -0068cdc0 0072fd70 -0068cdc0 00744940 -0068cdc0 00958e60 -0068cdc0 0067f010 -0068cdc0 00431310 -0068cdc0 009b98e0 -0068cdc0 00693270 -0068cdc0 00684ee0 -0068cdc0 00aef12b -0068cdc0 004561f0 -0068cdc0 00693540 -0068cdc0 009568e0 -0068cdc0 00686110 -0068cdc0 0067f420 -0068cdc0 00651a90 -0068cdc0 EXTERNAL:0000007d -0068cdc0 00812d00 -0068cdc0 0072ff10 -0068cdc0 00693090 -0068cdc0 00417220 -0068cdc0 00685d60 -0068cdc0 0067f070 -0068cdc0 009bc000 -0068cdc0 00a10420 -0068cdc0 00417820 -0068cdc0 00417870 -0068cdc0 00a20240 -0068cdc0 00685ea0 -0068cdc0 0068cdc0 -0068cdc0 00505b70 -0068cdc0 004288f0 -0068cdc0 004171d0 -0068cdc0 00706020 -0068cdc0 EXTERNAL:00000232 -0068cdc0 00694d20 -0068cdc0 00685ed0 -0068cdc0 008f5ad0 -0068cdc0 00958cb0 -0068cdc0 00685dc0 -0068cdc0 009eba40 -0068cdc0 007466d0 -0068cdc0 00417260 -0068cdc0 00694170 0068cdc0 0086e6c0 -0068cdc0 00694fb0 -0068cdc0 00685ee0 -0068cdc0 0040c2e0 -0068cdc0 0072fe30 -0068cdc0 009e9430 +0068cdc0 00417820 +0068cdc0 0069d200 +0068cdc0 0040c720 +0068cdc0 00693680 +0068cdc0 00694d20 +0068cdc0 00685db0 +0068cdc0 009eba00 +0068cdc0 0067f070 +0068cdc0 0040c340 +0068cdc0 00417620 +0068cdc0 00422830 +0068cdc0 00736ba0 +0068cdc0 00a26620 +0068cdc0 00436160 +0068cdc0 009569a0 +0068cdc0 0072a1b0 +0068cdc0 009eb590 +0068cdc0 008f5ad0 +0068cdc0 00424510 +0068cdc0 00af08b1 +0068cdc0 00763570 0068cdc0 00813520 +0068cdc0 0040d040 +0068cdc0 00812d00 +0068cdc0 0072ba80 +0068cdc0 0082d000 +0068cdc0 009eb7f0 +0068cdc0 0040bf20 +0068cdc0 0042ca00 +0068cdc0 005caa70 +0068cdc0 004288f0 +0068cdc0 0060c420 +0068cdc0 0075f0e0 +0068cdc0 0092b230 +0068cdc0 00744940 +0068cdc0 0075dfe0 +0068cdc0 0082d100 +0068cdc0 00685f10 +0068cdc0 00407480 +0068cdc0 00685dc0 +0068cdc0 007a6430 +0068cdc0 009b9cd0 +0068cdc0 0060c530 +0068cdc0 00706020 +0068cdc0 009e9430 +0068cdc0 008f73f0 +0068cdc0 0040c2e0 +0068cdc0 0040e470 +0068cdc0 004178e0 +0068cdc0 00a19440 +0068cdc0 EXTERNAL:0000023f +0068cdc0 0075d1d0 +0068cdc0 004073c0 +0068cdc0 005cba40 +0068cdc0 0072fd10 +0068cdc0 00421790 +0068cdc0 007c2e80 +0068cdc0 0040d210 +0068cdc0 009b92c0 +0068cdc0 00aef12b +0068cdc0 00424530 +0068cdc0 007a3c30 +0068cdc0 0042c770 +0068cdc0 00417870 +0068cdc0 00423950 +0068cdc0 00684ee0 +0068cdc0 00414410 +0068cdc0 004561b0 +0068cdc0 00685f70 +0068cdc0 0067f580 +0068cdc0 00693270 +0068cdc0 EXTERNAL:0000022d +0068cdc0 007cb090 +0068cdc0 006929e0 +0068cdc0 006fe2f0 +0068cdc0 00421800 +0068cdc0 0081ecc0 +0068cdc0 00692ed0 +0068cdc0 009e9320 +0068cdc0 00740da0 +0068cdc0 0040c3a0 +0068cdc0 0068cdc0 +0068cdc0 004170e0 +0068cdc0 0040cf50 +0068cdc0 0060c560 +0068cdc0 009e9d10 +0068cdc0 0041e420 +0068cdc0 0042c710 +0068cdc0 00693eb0 +0068cdc0 005cbfc0 +0068cdc0 007706e0 +0068cdc0 00815ae0 +0068cdc0 0078f840 +0068cdc0 0042a340 +0068cdc0 007466d0 +0068cdc0 00417270 +0068cdc0 004171d0 +0068cdc0 00685ee0 +0068cdc0 0067f420 +0068cdc0 00a20390 +0068cdc0 00436fb0 +0068cdc0 00958e60 +0068cdc0 00771d30 +0068cdc0 EXTERNAL:0000023e +0068cdc0 00a20240 +0068cdc0 00685f50 +0068cdc0 00417280 +0068cdc0 0040d0c0 +0068cdc0 00651a90 +0068cdc0 00685d30 +0068cdc0 00685d50 +0068cdc0 008f70f0 +0068cdc0 00417290 +0068cdc0 00421620 +0068cdc0 00557bb0 +0068cdc0 00865660 +0068cdc0 009bc000 +0068cdc0 0042a2f0 +0068cdc0 00685e00 +0068cdc0 00685ea0 +0068cdc0 00505b70 +0068cdc0 007a3c10 +0068cdc0 0067f010 +0068cdc0 00436060 +0068cdc0 004215a0 +0068cdc0 007bc740 +0068cdc0 0082c720 +0068cdc0 0040c2d0 +0068cdc0 009a8620 +0068cdc0 00a20020 +0068cdc0 007717c0 +0068cdc0 00557b70 +0068cdc0 005cba30 +0068cdc0 00693540 +0068cdc0 00428b20 +0068cdc0 00684e50 +0068cdc0 00770ca0 +0068cdc0 0072fe30 +0068cdc0 00685d40 +0068cdc0 00693090 +0068cdc0 006fd7c0 +0068cdc0 004178d0 +0068cdc0 004360f0 +0068cdc0 00693560 +0068cdc0 0072ff10 +0068cdc0 00685ed0 +0068cdc0 004143f0 +0068cdc0 00685cc0 +0068cdc0 00693650 +0068cdc0 00651af0 +0068cdc0 0041cb60 +0068cdc0 008295c0 +0068cdc0 0040e910 +0068cdc0 007d8240 +0068cdc0 009568e0 +0068cdc0 EXTERNAL:00000232 +0068cdc0 00417840 +0068cdc0 004218e0 +0068cdc0 0042a330 +0068cdc0 00414430 +0068cdc0 004215e0 +0068cdc0 00685f00 +0068cdc0 009036b0 +0068cdc0 006c0f30 +0068cdc0 00733610 +0068cdc0 00958cb0 +0068cdc0 00685ef0 +0068cdc0 00771f60 +0068cdc0 00812c90 +0068cdc0 006936e0 +0068cdc0 004242b0 +0068cdc0 0072fd70 +0068cdc0 EXTERNAL:0000007d +0068cdc0 004561a0 +0068cdc0 00686110 +0068cdc0 00684e30 +0068cdc0 00431310 +0068cdc0 00738470 +0068cdc0 00431760 +0068cdc0 006eef60 +0068cdc0 00421770 +0068cdc0 0081e930 +0068cdc0 006941b0 +0068cdc0 00694fb0 +0068cdc0 009eba40 +0068cdc0 00417260 +0068cdc0 00a10420 +0068cdc0 00685d60 +0068cdc0 00417910 +0068cdc0 004561f0 +0068cdc0 005cbfa0 +0068cdc0 00414a80 +0068cdc0 007f2070 +0068cdc0 00428a50 +0068cdc0 0040cca0 +0068cdc0 00685e70 +0068cdc0 00651d50 +0068cdc0 0041e460 +0068cdc0 0040cfe0 +0068cdc0 009eb980 +0068cdc0 00417860 +0068cdc0 007a6450 +0068cdc0 004147f0 +0068cdc0 006851c0 +0068cdc0 004176f0 +0068cdc0 009b98e0 +0068cdc0 00738610 +0068cdc0 00694170 +0068cdc0 006ad870 +0068cdc0 0073fa20 +0068cdc0 00417220 006924d0 EXTERNAL:00000236 +006924d0 EXTERNAL:00000235 006924d0 00a1b8e0 006924d0 0042f580 -006924d0 EXTERNAL:00000235 -00692630 EXTERNAL:00000220 -00692630 00a648b0 00692630 EXTERNAL:00000236 +00692630 00a648b0 +00692630 00aef15c +00692630 EXTERNAL:00000235 +00692630 00a1b8e0 00692630 EXTERNAL:00000262 00692630 00a0f4e0 -00692630 00aef15c -00692630 00a1b8e0 00692630 0042f580 -00692630 EXTERNAL:00000235 00692630 00af05df +00692630 EXTERNAL:00000220 00692960 006924d0 00692960 00692630 -006929e0 0040cf50 -006929e0 004997f0 -006929e0 EXTERNAL:00000220 -006929e0 EXTERNAL:00000262 -006929e0 00aef15c -006929e0 00a0f4c0 -006929e0 006935c0 006929e0 00693be0 -006929e0 0040d040 +006929e0 00aef15c +006929e0 0040cf50 +006929e0 EXTERNAL:00000262 +006929e0 00a0f4c0 006929e0 00aef12b -006929e0 006867e0 +006929e0 004997f0 006929e0 00692630 -00692ed0 0040cf50 -00692ed0 EXTERNAL:00000220 -00692ed0 EXTERNAL:00000262 -00692ed0 006929e0 +006929e0 006867e0 +006929e0 006935c0 +006929e0 0040d040 +006929e0 EXTERNAL:00000220 00692ed0 00aef15c +00692ed0 006929e0 +00692ed0 0040cf50 +00692ed0 EXTERNAL:00000262 +00692ed0 00aef12b 00692ed0 006935c0 00692ed0 0040d040 -00692ed0 00aef12b -00693090 EXTERNAL:00000220 +00692ed0 EXTERNAL:00000220 00693090 006929e0 -00693090 0041d4d0 00693090 00aef15c -00693090 0040ccd0 +00693090 0041d4d0 00693090 00aef12b -00693180 EXTERNAL:00000220 +00693090 0040ccd0 +00693090 EXTERNAL:00000220 00693180 006929e0 -00693180 0041d4d0 00693180 00aef15c -00693180 0040ccd0 +00693180 0041d4d0 00693180 00aef12b +00693180 0040ccd0 +00693180 EXTERNAL:00000220 00693270 00414a80 -00693280 EXTERNAL:00000220 -00693280 00a0f4c0 00693280 00aef15c +00693280 00a0f4c0 +00693280 EXTERNAL:00000220 00693420 00aef15c 00693420 0040d040 -00693470 00a0f4c0 00693470 EXTERNAL:000001d7 -00693580 006936f0 +00693470 00a0f4c0 00693580 00aef15c +00693580 006936f0 006935a0 00aef15c 006935a0 00693ac0 +006935c0 00693be0 006935c0 0040cf50 006935c0 00a0f4c0 -006935c0 00693be0 00693650 00557bd0 006936a0 00aef15c 006936a0 0040d040 -006936f0 EXTERNAL:00000220 006936f0 00aef15c 006936f0 0040d040 -006937a0 00af05e5 -006937a0 0040cad0 +006936f0 EXTERNAL:00000220 006937a0 0040cf00 -006937a0 0040c740 006937a0 00af08bd 006937a0 0040cee0 +006937a0 00af05e5 +006937a0 0040c740 +006937a0 0040cad0 006938e0 0040d040 -00693ac0 EXTERNAL:00000220 -00693ac0 EXTERNAL:00000262 00693ac0 00aef15c +00693ac0 EXTERNAL:00000262 00693ac0 0040d040 -00693be0 00af05e5 -00693be0 0040cad0 +00693ac0 EXTERNAL:00000220 00693be0 0040cf00 -00693be0 0040c740 00693be0 00af08bd 00693be0 0040cee0 -00693d20 0040ccc0 -00693d20 EXTERNAL:00000220 -00693d20 00499950 -00693d20 00aef15c +00693be0 00af05e5 +00693be0 0040c740 +00693be0 0040cad0 00693d20 0040cf00 00693d20 00af08bd +00693d20 0040ccc0 +00693d20 00aef15c +00693d20 00499950 00693d20 00af05df +00693d20 EXTERNAL:00000220 00693f00 0040cf50 00693f00 00a0f4c0 -00694040 0040cf50 00694040 0040cf00 00694040 00415bc0 +00694040 0040cf50 00694120 0040ccc0 00694120 00421680 00694170 0040ccc0 @@ -15497,1027 +15497,1027 @@ 006941b0 0040ccc0 006941b0 00421680 00694210 00aef15c -00694680 0069d630 -00694680 00a0f4c0 -00694680 00aef29d -00694680 00685bc0 -00694680 00aef12b 00694680 00aef5af -00694680 00aef253 -00694680 EXTERNAL:00000220 -00694680 006a0100 -00694680 00a112c0 00694680 004147f0 -00694680 00aef15c +00694680 00a112c0 +00694680 006a0100 +00694680 00685bc0 +00694680 EXTERNAL:00000220 00694680 0040ccd0 +00694680 0069d630 +00694680 00aef15c +00694680 00aef29d 00694680 0067f580 +00694680 00aef12b +00694680 00a0f4c0 +00694680 00aef253 00694d20 00a26af0 00694d20 0040ccd0 00694de0 00a26af0 00694de0 0040ccd0 00694ea0 004147f0 -00694ea0 0069d7c0 -00694ea0 0069ec00 -00694ea0 00423020 00694ea0 0069d860 00694ea0 00aef15c +00694ea0 00423020 00694ea0 0069d700 +00694ea0 0069ec00 +00694ea0 0069d7c0 00694f00 00414a80 00694f00 0069deb0 00694f00 0069f560 00694fb0 00416440 00695030 00416440 00695030 00694fb0 -006950c0 00414410 -006950c0 0040cf50 -006950c0 004149d0 -006950c0 0069d630 -006950c0 0069db30 -006950c0 00aef29d 006950c0 00aef5af -006950c0 00a178d0 -006950c0 EXTERNAL:0000023f -006950c0 008f9e50 -006950c0 00416440 -006950c0 0040ccc0 -006950c0 EXTERNAL:00000220 -006950c0 00a112c0 -006950c0 004147f0 -006950c0 00a648b0 -006950c0 00a0f4e0 -006950c0 0069d8f0 -006950c0 0040c340 -006950c0 0069d690 -006950c0 0069d9d0 -006950c0 0040ccd0 -006950c0 0067f580 -006950c0 00694230 -006950c0 0069efc0 -006950c0 0069f110 -006950c0 00698b40 006950c0 00694680 -006950c0 EXTERNAL:0000023e -006950c0 0069e2f0 -006950c0 0040cae0 -006950c0 0069d650 006950c0 00413bf0 -006950c0 0040d040 -006950c0 004155d0 -006950c0 00aef12b +006950c0 0040cf50 +006950c0 00a178d0 +006950c0 00a0f4e0 006950c0 0069ee50 -006950c0 00413b90 +006950c0 008f9e50 +006950c0 0040c340 +006950c0 00414410 +006950c0 00416440 +006950c0 0069e2f0 +006950c0 0040ccc0 +006950c0 0040cae0 +006950c0 0067f580 +006950c0 00414730 006950c0 00421680 +006950c0 0069f110 +006950c0 0069d690 +006950c0 0069efc0 006950c0 00aef253 -006950c0 0069de80 +006950c0 00413c70 +006950c0 0069d9d0 +006950c0 00a648b0 +006950c0 004147f0 +006950c0 00698b40 +006950c0 00a112c0 +006950c0 0069db30 +006950c0 004155d0 +006950c0 00694230 006950c0 0067f420 006950c0 0069dac0 -006950c0 00aef15c -006950c0 00aeff60 -006950c0 00414730 006950c0 0069dbc0 -006950c0 00413c70 -00698ab0 0069dac0 -00698ab0 004149d0 +006950c0 00413b90 +006950c0 0069d650 +006950c0 0069d8f0 +006950c0 EXTERNAL:0000023f +006950c0 0040d040 +006950c0 0040ccd0 +006950c0 EXTERNAL:00000220 +006950c0 0069de80 +006950c0 EXTERNAL:0000023e +006950c0 00aef15c +006950c0 0069d630 +006950c0 00aef29d +006950c0 00aeff60 +006950c0 00aef12b +006950c0 004149d0 00698ab0 0069db30 +00698ab0 0069dac0 00698ab0 0069dbc0 00698ab0 0040d040 +00698ab0 004149d0 00698b30 0040d040 -00698b40 006a0dc0 +00698b40 00af08bd 00698b40 006a0d30 +00698b40 006a0dc0 00698b40 006a0850 00698b40 0040ccd0 00698b40 006a06b0 -00698b40 00af08bd 00698e80 0069f4e0 -00698e80 EXTERNAL:00000262 -00698e80 EXTERNAL:0000023e -00698e80 0069f990 00698e80 00413bf0 +00698e80 00a112c0 00698e80 0069f300 -00698e80 004155d0 -00698e80 00aef12b -00698e80 00694fb0 +00698e80 0069f990 00698e80 00a178d0 +00698e80 004155d0 +00698e80 00a0f4e0 00698e80 00413b90 00698e80 EXTERNAL:0000023f -00698e80 00421680 -00698e80 0040ccc0 +00698e80 0040ccd0 00698e80 EXTERNAL:00000220 -00698e80 00a112c0 -00698e80 00a0f4e0 +00698e80 EXTERNAL:0000023e +00698e80 0040ccc0 +00698e80 00694fb0 00698e80 00aef15c 00698e80 00aeff60 +00698e80 EXTERNAL:00000262 00698e80 00414730 -00698e80 0040ccd0 +00698e80 00421680 +00698e80 00aef12b 00698e80 00413c70 006998a0 0040d040 -006998d0 0069fbd0 -006998d0 0069b7b0 -006998d0 004149d0 -006998d0 00694490 006998d0 0042c920 -006998d0 00694de0 -006998d0 0069da00 -006998d0 00a178d0 -006998d0 EXTERNAL:0000023f -006998d0 0040ccc0 -006998d0 EXTERNAL:00000220 -006998d0 00a112c0 -006998d0 00a648b0 -006998d0 0040a5d0 -006998d0 00a0f4e0 -006998d0 0040a220 -006998d0 0040ccd0 -006998d0 0040b430 -006998d0 0069b810 -006998d0 0042f2f0 -006998d0 00408e00 -006998d0 0042f2b0 006998d0 00413bf0 -006998d0 0040d040 -006998d0 004155d0 -006998d0 0040bcd0 -006998d0 00aef12b -006998d0 00413b90 -006998d0 00421680 -006998d0 0067f420 -006998d0 0069e8c0 -006998d0 0069e6c0 -006998d0 00aef15c -006998d0 00aeff60 +006998d0 0069fbd0 +006998d0 00a178d0 +006998d0 0040b430 +006998d0 0069da00 +006998d0 00a0f4e0 +006998d0 0069b7b0 +006998d0 0040ccc0 +006998d0 0042f2f0 +006998d0 0040a220 006998d0 00414730 006998d0 006a03a0 +006998d0 00421680 +006998d0 0040bcd0 006998d0 00413c70 -0069b7b0 004149d0 +006998d0 0042f2b0 +006998d0 00a648b0 +006998d0 00a112c0 +006998d0 004155d0 +006998d0 0067f420 +006998d0 00413b90 +006998d0 0069e8c0 +006998d0 EXTERNAL:0000023f +006998d0 00694de0 +006998d0 0040d040 +006998d0 0040ccd0 +006998d0 0040a5d0 +006998d0 EXTERNAL:00000220 +006998d0 0069e6c0 +006998d0 00aef15c +006998d0 00408e00 +006998d0 00aeff60 +006998d0 00694490 +006998d0 00aef12b +006998d0 0069b810 +006998d0 004149d0 0069b7b0 0040d040 +0069b7b0 004149d0 +0069b810 00af08bd 0069b810 006a0d30 0069b810 0040ccd0 -0069b810 00af08bd +0069ba90 009588a0 0069ba90 006fd350 +0069ba90 00694fb0 0069ba90 00a112c0 -0069ba90 0069ba90 +0069ba90 0040e520 0069ba90 0040ea50 0069ba90 0040e5d0 -0069ba90 0040e520 -0069ba90 00694fb0 -0069ba90 009588a0 +0069ba90 0069ba90 0069bbf0 0069b7b0 -0069bbf0 EXTERNAL:00000220 +0069bbf0 00aef15c 0069bbf0 0069ec00 0069bbf0 0069d780 -0069bbf0 00aef15c 0069bbf0 0040d040 -0069bd50 0040cf50 -0069bd50 EXTERNAL:00000262 -0069bd50 0069d780 +0069bbf0 EXTERNAL:00000220 0069bd50 00413bf0 -0069bd50 004155d0 -0069bd50 00aef12b +0069bd50 00a112c0 +0069bd50 0040cf50 0069bd50 00a178d0 +0069bd50 004155d0 +0069bd50 00a0f4e0 0069bd50 00413b90 0069bd50 EXTERNAL:0000023f -0069bd50 00421680 -0069bd50 0040ccc0 +0069bd50 0069d780 +0069bd50 0040ccd0 0069bd50 EXTERNAL:00000220 -0069bd50 00a112c0 -0069bd50 00a0f4e0 +0069bd50 0040ccc0 0069bd50 00aef15c 0069bd50 00aeff60 -0069bd50 0069e4a0 +0069bd50 EXTERNAL:00000262 0069bd50 00414730 -0069bd50 0040ccd0 +0069bd50 00421680 +0069bd50 00aef12b 0069bd50 00413c70 -0069c420 0040cf50 -0069c420 EXTERNAL:0000023e -0069c420 0069f520 -0069c420 006a0490 -0069c420 00413bf0 -0069c420 0069ec50 -0069c420 0069fa70 -0069c420 004155d0 -0069c420 00aef12b -0069c420 00a178d0 -0069c420 00413b90 -0069c420 006a0150 -0069c420 EXTERNAL:0000023f -0069c420 00421680 -0069c420 0040ccc0 -0069c420 EXTERNAL:00000220 -0069c420 00a112c0 +0069bd50 0069e4a0 0069c420 00a648b0 +0069c420 0069f520 +0069c420 0069ec50 +0069c420 00413bf0 +0069c420 00a112c0 +0069c420 0040cf50 +0069c420 00a178d0 +0069c420 004155d0 0069c420 00a0f4e0 +0069c420 00413b90 +0069c420 006a0490 +0069c420 EXTERNAL:0000023f +0069c420 006a0150 +0069c420 0040ccd0 +0069c420 EXTERNAL:00000220 +0069c420 EXTERNAL:0000023e +0069c420 0040ccc0 0069c420 00aef15c 0069c420 00aeff60 0069c420 00414730 -0069c420 0040ccd0 +0069c420 00421680 +0069c420 00aef12b 0069c420 00413c70 +0069c420 0069fa70 0069d1c0 0069d910 0069d1c0 0040d040 0069d1f0 0040d040 0069d200 00a112c0 0069d250 00738470 -0069d290 004235c0 -0069d290 EXTERNAL:00000220 -0069d290 00a0f4c0 0069d290 00aef15c -0069d290 00685bc0 -0069d290 00694de0 +0069d290 004235c0 +0069d290 00a0f4c0 0069d290 00aef12b 0069d290 00423480 0069d290 006a00d0 -0069d580 004235c0 +0069d290 00694de0 +0069d290 00685bc0 +0069d290 EXTERNAL:00000220 0069d580 00aef15c +0069d580 004235c0 +0069d5a0 00aef15c 0069d5a0 00698ab0 0069d5a0 EXTERNAL:00000220 -0069d5a0 00aef15c 0069d630 0069e0c0 0069d650 00a0f4c0 -0069d690 00685bc0 0069d690 00423480 -0069d700 EXTERNAL:00000220 +0069d690 00685bc0 0069d700 0069f520 0069d700 00aef15c +0069d700 EXTERNAL:00000220 0069d780 0040d040 -0069d7c0 EXTERNAL:00000220 0069d7c0 00aef15c 0069d7c0 0040d040 +0069d7c0 EXTERNAL:00000220 0069d860 0069b7b0 -0069d860 EXTERNAL:00000220 0069d860 00aef15c +0069d860 EXTERNAL:00000220 0069d8f0 0069ea30 -0069d910 EXTERNAL:00000220 0069d910 00aef15c 0069d910 0040d040 +0069d910 EXTERNAL:00000220 0069d9d0 0042a030 +0069da00 0040cf00 0069da00 0042f660 0069da00 0042f7a0 -0069da00 0040cf00 0069da50 0040d040 0069da90 0069b7b0 -0069dac0 EXTERNAL:00000220 0069dac0 00aef15c -0069db30 EXTERNAL:00000220 +0069dac0 EXTERNAL:00000220 0069db30 00aef15c 0069db30 0040d040 +0069db30 EXTERNAL:00000220 0069dbc0 0069f4e0 -0069dbc0 EXTERNAL:00000220 0069dbc0 00aef15c +0069dbc0 EXTERNAL:00000220 0069dc40 0069f4e0 0069dc60 00698ab0 -0069dc90 EXTERNAL:00000220 0069dc90 00aef15c -0069dcd0 EXTERNAL:00000220 +0069dc90 EXTERNAL:00000220 0069dcd0 00aef15c +0069dcd0 EXTERNAL:00000220 0069dd10 0040d040 -0069dd40 EXTERNAL:00000220 0069dd40 00aef15c -0069dd90 EXTERNAL:00000220 +0069dd40 EXTERNAL:00000220 0069dd90 00aef15c +0069dd90 EXTERNAL:00000220 0069ddd0 0040d040 -0069de00 EXTERNAL:00000220 0069de00 00aef15c -0069de40 EXTERNAL:00000220 +0069de00 EXTERNAL:00000220 0069de40 00aef15c +0069de40 EXTERNAL:00000220 0069de80 0069fd80 -0069deb0 00698ab0 -0069deb0 EXTERNAL:00000220 -0069deb0 0069fa30 -0069deb0 00aef15c -0069deb0 0069f560 0069deb0 0040cf00 -0069deb0 006a15c0 +0069deb0 0069fa30 0069deb0 0040cee0 +0069deb0 00aef15c 0069deb0 00415bc0 -0069e08b 0069dc90 -0069e08b 0069dc60 +0069deb0 00698ab0 +0069deb0 006a15c0 +0069deb0 0069f560 +0069deb0 EXTERNAL:00000220 0069e08b 00af05eb -0069e0c0 00415f80 -0069e0c0 00a0f4c0 -0069e0c0 00685bc0 +0069e08b 0069dc60 +0069e08b 0069dc90 0069e0c0 00415fe0 +0069e0c0 00415f80 0069e0c0 004170d0 +0069e0c0 00a0f4c0 0069e0c0 00423480 -0069e2f0 EXTERNAL:00000220 -0069e2f0 00aef15c +0069e0c0 00685bc0 0069e2f0 0040cf00 0069e2f0 0040cee0 +0069e2f0 00aef15c 0069e2f0 00415bc0 -0069e4a0 0040cf50 -0069e4a0 EXTERNAL:00000220 -0069e4a0 006a09f0 -0069e4a0 00aef15c +0069e2f0 EXTERNAL:00000220 0069e4a0 0040cf00 -0069e4a0 0040d040 0069e4a0 0040cee0 +0069e4a0 00aef15c 0069e4a0 00415bc0 -0069e697 0069da50 +0069e4a0 0040cf50 +0069e4a0 006a09f0 +0069e4a0 0040d040 +0069e4a0 EXTERNAL:00000220 0069e697 00af05eb +0069e697 0069da50 0069e697 004aaaa0 0069e6c0 0040cf50 0069e6c0 0043eca0 -0069e8c0 0069e6c0 -0069e8c0 0069fb90 -0069e8c0 0069fac0 -0069e8c0 0069fb60 0069e8c0 0040cf00 +0069e8c0 0069e6c0 0069e8c0 0040cee0 0069e8c0 00415bc0 +0069e8c0 0069fac0 +0069e8c0 0069fb90 +0069e8c0 0069fb60 +0069e9fc 00af05eb 0069e9fc 0069da90 0069e9fc 0069dcd0 -0069e9fc 00af05eb +0069ea30 00415fe0 0069ea30 00416440 0069ea30 00415f80 -0069ea30 00a0f4c0 -0069ea30 00415fe0 -0069ea30 004170d0 0069ea30 00694230 +0069ea30 004170d0 +0069ea30 00a0f4c0 +0069ec00 00aef15c 0069ec00 00698ab0 0069ec00 0069ec00 -0069ec00 00aef15c -0069ec50 0040cf50 -0069ec50 EXTERNAL:00000220 -0069ec50 006a0ab0 -0069ec50 00aef15c 0069ec50 0040cf00 -0069ec50 0040d040 0069ec50 0040cee0 +0069ec50 00aef15c 0069ec50 00415bc0 +0069ec50 0040cf50 +0069ec50 006a0ab0 +0069ec50 0040d040 +0069ec50 EXTERNAL:00000220 +0069ee1d 00af05eb 0069ee1d 0069dd10 0069ee1d 0069dd40 -0069ee1d 00af05eb -0069ee50 EXTERNAL:00000220 -0069ee50 00aef15c 0069ee50 0040cf00 0069ee50 00af08bd 0069ee50 0040cee0 +0069ee50 00aef15c 0069ee50 00415bc0 -0069efc0 EXTERNAL:00000220 -0069efc0 00aef15c +0069ee50 EXTERNAL:00000220 0069efc0 0040cf00 0069efc0 0040cee0 +0069efc0 00aef15c 0069efc0 00415bc0 -0069f110 006a0b30 -0069f110 0040cf50 -0069f110 EXTERNAL:00000220 -0069f110 00aef15c +0069efc0 EXTERNAL:00000220 0069f110 0040cf00 -0069f110 0040d040 0069f110 0040cee0 +0069f110 00aef15c 0069f110 00415bc0 +0069f110 0040cf50 +0069f110 006a0b30 +0069f110 0040d040 +0069f110 EXTERNAL:00000220 +0069f2cf 00af05eb 0069f2cf 0069ddd0 0069f2cf 0069de00 -0069f2cf 00af05eb -0069f300 0069f4e0 -0069f300 006a0c40 -0069f300 EXTERNAL:00000220 -0069f300 00aef15c -0069f300 0069fc00 -0069f300 0069f990 0069f300 0040cf00 +0069f300 006a0c40 0069f300 0040cee0 +0069f300 0069f4e0 +0069f300 00aef15c 0069f300 00415bc0 -0069f4a2 0069de40 +0069f300 0069f990 +0069f300 0069fc00 +0069f300 EXTERNAL:00000220 0069f4a2 00af05eb +0069f4a2 0069de40 0069f4a2 0069dc40 0069f4e0 0040d040 0069f520 0069d910 0069f520 0040d040 -0069f560 0040cf50 -0069f560 006a0c40 0069f560 0040cf00 +0069f560 006a0c40 0069f560 00af08bd -0069f560 006a0bb0 0069f560 0040cee0 +0069f560 0040cf50 +0069f560 006a0bb0 0069f990 0040cf50 0069fa30 006a15c0 -0069fa70 0069d150 -0069fa70 00af05e5 0069fa70 0069f520 +0069fa70 00af05e5 +0069fa70 0069d150 0069fac0 0069b7b0 -0069fac0 EXTERNAL:00000220 0069fac0 00aef15c +0069fac0 EXTERNAL:00000220 0069fb60 006a1a40 0069fb90 006a1a40 0069fbd0 00694490 0069fc00 0069f4e0 0069fd60 00aef15c -0069fd80 0069fd80 -0069fd80 006a0e60 0069fd80 00af08bd +0069fd80 006a0e60 0069fd80 006a14f0 +0069fd80 0069fd80 006a00d0 006a1110 006a0100 00423480 -006a0150 EXTERNAL:00000220 -006a0150 0069f520 -006a0150 00aef15c 006a0150 0040cf00 -006a0150 0069fa70 +006a0150 0069f520 006a0150 0040cee0 -006a03a0 0069fac0 -006a03a0 00694490 +006a0150 00aef15c +006a0150 0069fa70 +006a0150 EXTERNAL:00000220 006a03a0 0040cf00 006a03a0 0040cee0 +006a03a0 00694490 +006a03a0 0069fac0 006a03a0 006a1a40 -006a0490 0040cf50 -006a0490 006a1350 -006a0490 0040d040 -006a0490 0069dd40 006a0490 0040cf00 006a0490 0040cee0 006a0490 00415bc0 -006a06b0 0069de00 -006a06b0 0040d040 +006a0490 0040cf50 +006a0490 0040d040 +006a0490 0069dd40 +006a0490 006a1350 006a06b0 0040cf00 006a06b0 006a13b0 -006a06b0 006a0bb0 006a06b0 0040cee0 006a06b0 00415bc0 -006a0850 0069f4e0 -006a0850 EXTERNAL:00000220 -006a0850 006a0c40 -006a0850 006a1420 -006a0850 00aef15c +006a06b0 006a0bb0 +006a06b0 0069de00 +006a06b0 0040d040 006a0850 0040cf00 +006a0850 006a0c40 006a0850 0040cee0 +006a0850 0069f4e0 +006a0850 00aef15c 006a0850 00415bc0 +006a0850 006a1420 +006a0850 EXTERNAL:00000220 006a0bb0 0040cf50 006a0c40 0069f4e0 006a0c40 0069f990 006a0cc0 0069f4e0 006a0cd0 0040d040 006a0d00 0040d040 -006a0d30 0040c740 006a0d30 0040cf00 006a0d30 0040cee0 006a0d30 00415bc0 -006a0dc0 0069dd90 +006a0d30 0040c740 006a0dc0 0040cf00 006a0dc0 0040cee0 006a0dc0 00415bc0 +006a0dc0 0069dd90 006a0e60 006a1e00 -006a1110 00415f80 -006a1110 00a0f4c0 -006a1110 00685bc0 006a1110 00415fe0 +006a1110 00415f80 006a1110 004170d0 +006a1110 00a0f4c0 006a1110 00423480 +006a1110 00685bc0 006a1350 0040ccd0 006a13b0 0040ccd0 006a1420 0040ccd0 006a1e80 006a8290 006a1e80 00aef5c4 -006a1f30 004149d0 +006a1f30 00aef15c 006a1f30 00aef638 006a1f30 006a8850 -006a1f30 00aef15c -006a1fc0 004149d0 +006a1f30 004149d0 006a1fc0 00aef638 006a1fc0 006a8850 -006a2050 0040cf50 +006a1fc0 004149d0 006a2050 00861ea0 -006a2050 006a93a0 006a2050 0040bd50 -006a2050 0040a1b0 -006a2050 0040cae0 -006a2050 0040b220 -006a2050 00aef12b -006a2050 EXTERNAL:00000220 006a2050 00a112c0 +006a2050 0040cf50 +006a2050 0040b220 006a2050 0040a5d0 -006a2050 00aef15c +006a2050 EXTERNAL:00000220 +006a2050 0040a1b0 +006a2050 006a93a0 006a2050 00823590 -006a24d0 007e9020 -006a24d0 0040a6e0 -006a24d0 0041d540 -006a24d0 006ac560 -006a24d0 006a8fa0 -006a24d0 0041d520 -006a24d0 0065cf80 -006a24d0 00440e30 -006a24d0 007e9080 -006a24d0 006ac760 -006a24d0 00700060 -006a24d0 0067d430 -006a24d0 0040a780 -006a24d0 0040add0 -006a24d0 00a112c0 -006a24d0 00a648b0 -006a24d0 005c93b0 -006a24d0 004314b0 -006a24d0 00705b90 -006a24d0 006ae820 -006a24d0 007cb6e0 -006a24d0 007b9f60 -006a24d0 00431310 -006a24d0 00417170 -006a24d0 0040a380 -006a24d0 00aef12b -006a24d0 009568e0 -006a24d0 004cdcf0 +006a2050 00aef15c +006a2050 0040cae0 +006a2050 00aef12b +006a24d0 006a6f10 +006a24d0 0040a720 006a24d0 0092dc30 -006a24d0 009305f0 -006a24d0 004cf210 -006a24d0 00a0ffc0 -006a24d0 00703950 -006a24d0 0041a790 -006a24d0 006ac2a0 -006a24d0 00af08b1 -006a24d0 007f0df0 -006a24d0 00428b20 -006a24d0 0040a1b0 -006a24d0 00499d20 -006a24d0 004238f0 -006a24d0 0040a4d0 +006a24d0 0067d430 +006a24d0 006a2030 006a24d0 00417870 -006a24d0 006eef60 +006a24d0 0040a6e0 +006a24d0 007cb6e0 +006a24d0 004cf210 +006a24d0 00700060 +006a24d0 00417170 +006a24d0 004314b0 +006a24d0 004073b0 +006a24d0 005c93b0 +006a24d0 00408d00 +006a24d0 00a0ffc0 +006a24d0 00431310 006a24d0 0044bfb0 +006a24d0 006eef60 +006a24d0 0041d540 +006a24d0 00a112c0 +006a24d0 00af08b1 +006a24d0 007e8f90 +006a24d0 007e90f0 +006a24d0 009305f0 +006a24d0 0067f0d0 +006a24d0 0041d520 006a24d0 0040a5d0 -006a24d0 00771550 +006a24d0 00861f80 +006a24d0 00409030 +006a24d0 004171b0 +006a24d0 00435a50 +006a24d0 00417430 006a24d0 00779620 -006a24d0 00682740 -006a24d0 006ac710 +006a24d0 006ac760 +006a24d0 004175b0 +006a24d0 0040a780 +006a24d0 00a10030 +006a24d0 0065cf80 +006a24d0 006ac560 +006a24d0 0041a790 006a24d0 00435ad0 006a24d0 00592200 -006a24d0 007e90f0 -006a24d0 006a6f10 -006a24d0 007e8f90 -006a24d0 007706e0 -006a24d0 0067f0d0 -006a24d0 00703670 -006a24d0 006a2030 -006a24d0 004171b0 -006a24d0 0040a720 -006a24d0 00408e00 -006a24d0 00861f80 -006a24d0 004073b0 -006a24d0 00417430 -006a24d0 00408d00 +006a24d0 00428b20 +006a24d0 007b9f60 +006a24d0 006a8fa0 +006a24d0 006ac710 +006a24d0 00682740 +006a24d0 0040add0 006a24d0 00499d60 -006a24d0 00435a50 -006a24d0 00a10030 -006a24d0 004175b0 +006a24d0 007706e0 +006a24d0 0040a4d0 +006a24d0 00703670 +006a24d0 0040a380 +006a24d0 00a648b0 +006a24d0 00703950 +006a24d0 004238f0 +006a24d0 007e9080 +006a24d0 0040a1b0 +006a24d0 006ac2a0 +006a24d0 00408e00 006a24d0 00956780 -006a24d0 00409030 -006a5a60 0040a0d0 -006a5a60 0041d540 -006a5a60 00862060 -006a5a60 0040a220 -006a5a60 0041d520 +006a24d0 009568e0 +006a24d0 006ae820 +006a24d0 00440e30 +006a24d0 00aef12b +006a24d0 007e9020 +006a24d0 00499d20 +006a24d0 007f0df0 +006a24d0 00705b90 +006a24d0 004cdcf0 +006a24d0 00771550 006a5a60 006a6f10 +006a5a60 0041d540 006a5a60 006831c0 -006a5a60 00af0917 +006a5a60 0040a0d0 +006a5a60 0040a220 006a5a60 0040a030 -006a5f00 006b2210 +006a5a60 00862060 +006a5a60 00af0917 +006a5a60 0041d520 +006a5f00 00592230 006a5f00 006a2030 -006a5f00 004171b0 006a5f00 00431640 -006a5f00 006ac560 006a5f00 006a8fa0 +006a5f00 004171b0 006a5f00 00431570 006a5f00 006ac530 -006a5f00 00592230 -006a5f00 00417430 -006a5f00 004cdcf0 006a5f00 00435a50 -006a5f00 00a10030 -006a5f00 006b62b0 +006a5f00 006b2210 +006a5f00 00417430 006a5f00 00862250 -006a6940 0040a5d0 +006a5f00 00a10030 +006a5f00 006ac560 +006a5f00 006b62b0 +006a5f00 004cdcf0 006a6940 0040a1b0 -006a69e0 0040cf50 +006a6940 0040a5d0 006a69e0 008f5ad0 -006a69e0 EXTERNAL:00000262 -006a69e0 00a17180 +006a69e0 0040cf50 006a69e0 0040d040 -006a69e0 00aef12b -006a69e0 00421680 -006a69e0 0040ccc0 -006a69e0 004997f0 -006a69e0 EXTERNAL:00000220 -006a69e0 00499950 -006a69e0 00aef15c 006a69e0 0040ccd0 -006a6f10 0040cf50 -006a6f10 006851f0 -006a6f10 0040bd50 -006a6f10 0040a1b0 -006a6f10 00407f10 -006a6f10 0040b220 +006a69e0 EXTERNAL:00000220 +006a69e0 0040ccc0 +006a69e0 00aef15c +006a69e0 EXTERNAL:00000262 +006a69e0 00499950 +006a69e0 00421680 +006a69e0 00aef12b +006a69e0 004997f0 +006a69e0 00a17180 +006a6f10 0040cf00 006a6f10 00694120 -006a6f10 00af05df +006a6f10 0040cf50 +006a6f10 0040b430 +006a6f10 0040bf30 +006a6f10 00417170 +006a6f10 00af08bd 006a6f10 00431070 +006a6f10 0042f2f0 +006a6f10 006851f0 +006a6f10 00499950 +006a6f10 00417100 +006a6f10 00407f10 +006a6f10 0040bd50 +006a6f10 004147f0 +006a6f10 0040c000 +006a6f10 0040b220 +006a6f10 00aef5c4 +006a6f10 0040d040 +006a6f10 00af05df +006a6f10 0040ccd0 +006a6f10 0040a5d0 +006a6f10 EXTERNAL:00000220 +006a6f10 0040a1b0 +006a6f10 00aef15c +006a6f10 00408e00 +006a6f10 00aef638 +006a6f10 00aef12b 006a6f10 004288a0 006a6f10 004997f0 -006a6f10 EXTERNAL:00000220 -006a6f10 004147f0 -006a6f10 0040a5d0 -006a6f10 0040cf00 -006a6f10 00af08bd -006a6f10 0040ccd0 -006a6f10 0040b430 -006a6f10 0042f2f0 -006a6f10 00408e00 -006a6f10 00417100 -006a6f10 00aef638 -006a6f10 00417170 -006a6f10 0040d040 006a6f10 006a69e0 -006a6f10 00aef12b -006a6f10 00499950 -006a6f10 0040c000 -006a6f10 00aef15c -006a6f10 00aef5c4 -006a6f10 0040bf30 006a7ec0 006a8290 -006a7ee0 006a8850 006a7ee0 00aef15c +006a7ee0 006a8850 006a7f20 006a93a0 006a7f30 006ae820 -006a7f80 0041e420 -006a7f80 00a1af90 006a7f80 006b10f0 +006a7f80 00a1af90 006a7f80 00a1b8e0 006a7f80 00aef12b +006a7f80 0041e420 006a80d0 EXTERNAL:00000080 006a80f0 EXTERNAL:0000007f 006a8120 00aefca0 006a8120 00af0917 -006a8290 00a0f4c0 006a8290 004074c0 -006a8820 006a8850 +006a8290 00a0f4c0 006a8820 00aef15c -006a8850 004087a0 -006a8850 0041c7d0 +006a8820 006a8850 006a8850 006acb00 -006a8850 006b7d40 +006a8850 004087a0 006a8850 00aef15c +006a8850 006b7d40 006a8850 00407f10 -006a8850 004cf210 -006a8850 0040d040 -006a8850 EXTERNAL:00000080 -006a8850 00426980 +006a8850 0041c7d0 006a8850 00424540 +006a8850 EXTERNAL:00000080 +006a8850 004cf210 +006a8850 00426980 +006a8850 0040d040 006a89f0 006a8db0 006a8a20 006a8db0 006a8ee0 006a8c60 -006a8fa0 00416440 -006a8fa0 00a0f4c0 -006a8fa0 00aef15c -006a8fa0 006b7d20 006a8fa0 0042c8e0 -006a9140 00416440 -006a9140 00a0f4c0 -006a9140 00aef15c -006a9140 006b7d20 +006a8fa0 00416440 +006a8fa0 006b7d20 +006a8fa0 00aef15c +006a8fa0 00a0f4c0 006a9140 0042c8e0 -006a92a0 004cdcf0 +006a9140 00416440 +006a9140 006b7d20 +006a9140 00aef15c +006a9140 00a0f4c0 006a92a0 004cf210 -006a92e0 004cdcf0 +006a92a0 004cdcf0 006a92e0 004cf210 -006a9320 004cdcf0 +006a92e0 004cdcf0 006a9320 004cf210 -006a9360 004cdcf0 +006a9320 004cdcf0 006a9360 004cf210 +006a9360 004cdcf0 006a93a0 00aef15c 006a93a0 004cf210 006a93a0 EXTERNAL:00000080 006a98b0 006ac2a0 -006a98b0 00a112c0 -006a98b0 0069ba90 -006a98b0 0040cae0 006a98b0 00694fb0 +006a98b0 00a112c0 +006a98b0 0040cae0 +006a98b0 0069ba90 006a9ba0 00945190 -006a9c90 00812f50 -006a9c90 00812c90 -006a9c90 0081e6e0 -006a9c90 006ac530 -006a9c90 0081e520 -006a9c90 007f0780 -006a9c90 00456620 -006a9c90 006eef60 -006a9c90 006b6470 006a9c90 00a10630 -006a9c90 00435a50 006a9c90 007f0800 006a9c90 00a0ffc0 +006a9c90 006b6470 +006a9c90 006eef60 +006a9c90 0081e520 +006a9c90 00456620 +006a9c90 006ac530 +006a9c90 00435a50 +006a9c90 0081e6e0 +006a9c90 00812c90 +006a9c90 00812f50 +006a9c90 007f0780 006ab240 007f0800 -006ab440 00812f50 -006ab440 00812c90 -006ab440 00af08b1 -006ab440 0081e6e0 -006ab440 0070fb60 -006ab440 00709db0 -006ab440 00a0f4c0 -006ab440 00709c40 006ab440 00a112c0 -006ab440 006b5fd0 -006ab440 00435a50 +006ab440 00af08b1 +006ab440 00709c40 006ab440 009305f0 006ab440 007c3380 -006ac2a0 00af08e7 -006ac2a0 0042f430 +006ab440 00435a50 +006ab440 00709db0 +006ab440 0081e6e0 +006ab440 00812c90 +006ab440 00a0f4c0 +006ab440 006b5fd0 +006ab440 00812f50 +006ab440 0070fb60 006ac2a0 00af0905 +006ac2a0 0042f430 +006ac2a0 00af08e7 +006ac560 00417430 006ac560 006a89d0 006ac560 006a8fa0 -006ac560 00417430 006ac710 006fd350 006ac760 006fd350 -006ac7e0 EXTERNAL:00000262 -006ac7e0 006a8fa0 006ac7e0 0041af60 006ac7e0 0042c920 +006ac7e0 EXTERNAL:00000262 +006ac7e0 006a8fa0 006ac920 00407170 +006ac920 00425ac0 006ac920 00866140 +006ac920 00aef12b +006ac920 007706e0 006ac920 006b45c0 006ac920 006a9140 -006ac920 00425ac0 -006ac920 00aef12b 006ac920 00700060 -006ac920 007706e0 -006acb00 00866060 006acb00 00aef15c +006acb00 00866060 006acb00 EXTERNAL:00000080 006acb60 00414a80 006acb60 00407f10 -006acb60 004cf210 006acb60 00424540 +006acb60 004cf210 006acd10 0060ac20 006acd10 006a8fa0 -006ace60 006ac560 -006ace60 006acd10 -006ace60 006a8190 -006ace60 006b7db0 -006ace60 006fe410 -006ace60 006a9140 -006ace60 00864560 -006ace60 00425ac0 -006ace60 00417870 006ace60 0040ace0 -006ace60 004e7d10 -006ace60 004cdcf0 -006ace60 006eef60 -006ace60 00499960 -006ace60 00a112c0 006ace60 0092dc30 +006ace60 00425ac0 +006ace60 00a112c0 +006ace60 006eef60 +006ace60 00417870 +006ace60 006acd10 +006ace60 00499960 006ace60 004cf210 -006ace60 00aefca0 006ace60 00956780 +006ace60 006a8190 +006ace60 00864560 +006ace60 006b7db0 +006ace60 00aefca0 +006ace60 006ac560 +006ace60 004e7d10 +006ace60 006fe410 +006ace60 004cdcf0 +006ace60 006a9140 006ad350 007cb6e0 006ad350 00771550 -006ad3c0 006acd10 -006ad3c0 006a8a20 -006ad3c0 006ad350 -006ad3c0 006a8db0 006ad3c0 006ae7a0 +006ad3c0 006acd10 006ad3c0 00aef12b -006ad500 006acd10 -006ad500 006a8a20 -006ad500 006ad350 -006ad500 009305f0 -006ad500 006a8db0 +006ad3c0 006a8db0 +006ad3c0 006ad350 +006ad3c0 006a8a20 006ad500 006ae7a0 +006ad500 006acd10 006ad500 00aef12b +006ad500 006a8db0 006ad500 007706e0 -006ad750 006acd10 -006ad750 006a8a20 -006ad750 006ad350 -006ad750 006a8db0 +006ad500 009305f0 +006ad500 006ad350 +006ad500 006a8a20 006ad750 006ae7a0 -006ad870 00af08b1 -006ad870 009e5c00 -006ad870 006a8db0 -006ad870 00aef12b -006ad870 00417430 -006ad870 009595e0 -006ad870 006b5b90 -006ad870 009e9b50 -006ad870 006a8240 -006ad870 006a8a20 -006ad870 006ad350 +006ad750 006acd10 +006ad750 006a8db0 +006ad750 006ad350 +006ad750 006a8a20 006ad870 0041b4f0 -006ad870 00929a20 +006ad870 006a8240 +006ad870 009e5c00 +006ad870 00af08b1 +006ad870 009e9b50 +006ad870 006a8a20 +006ad870 009595e0 +006ad870 00417430 +006ad870 006b5b90 006ad870 006ae7a0 -006add70 00af08b1 -006add70 006a8240 -006add70 006acd10 -006add70 006a8a20 -006add70 006ad350 -006add70 009305f0 -006add70 006a8db0 +006ad870 00aef12b +006ad870 006a8db0 +006ad870 00929a20 +006ad870 006ad350 006add70 006ac530 +006add70 006a8240 006add70 006ae7a0 +006add70 00af08b1 +006add70 006acd10 006add70 00aef12b +006add70 006a8db0 006add70 007706e0 -006adf40 006acd10 -006adf40 006a8a20 -006adf40 006ad350 -006adf40 006a8db0 -006adf40 006ae7a0 -006adf40 00aef12b +006add70 009305f0 +006add70 006ad350 +006add70 006a8a20 006adf40 00417430 +006adf40 006ae7a0 +006adf40 006acd10 +006adf40 00aef12b +006adf40 006a8db0 +006adf40 006ad350 +006adf40 006a8a20 +006ae0a0 006a8240 006ae0a0 00af08b1 006ae0a0 006acd10 -006ae0a0 006a8db0 +006ae0a0 009305f0 +006ae0a0 006a8a20 006ae0a0 006ac530 -006ae0a0 00aef12b 006ae0a0 00417430 006ae0a0 00435a80 -006ae0a0 006a8240 -006ae0a0 006a8a20 -006ae0a0 006ad350 -006ae0a0 009305f0 006ae0a0 006ae7a0 +006ae0a0 00aef12b +006ae0a0 006a8db0 006ae0a0 007706e0 -006ae280 006acd10 -006ae280 006a8a20 -006ae280 006ad350 -006ae280 009305f0 -006ae280 006a8db0 +006ae0a0 006ad350 006ae280 006ae7a0 +006ae280 006acd10 +006ae280 006a8db0 006ae280 007706e0 -006ae420 00499960 -006ae420 006acd10 -006ae420 006a8a20 -006ae420 006ad350 -006ae420 006a8db0 +006ae280 009305f0 +006ae280 006ad350 +006ae280 006a8a20 006ae420 006ae7a0 +006ae420 006acd10 +006ae420 006a8db0 +006ae420 00499960 +006ae420 006ad350 +006ae420 006a8a20 006ae630 006ac2a0 006ae630 006a8a20 -006ae820 004073d0 -006ae820 00407170 -006ae820 006ac560 -006ae820 0041d540 -006ae820 009e24a0 -006ae820 006a8fa0 -006ae820 00734900 -006ae820 006a8db0 -006ae820 0041d520 -006ae820 006ac760 -006ae820 00a112c0 -006ae820 007079c0 -006ae820 006b62b0 -006ae820 008646e0 -006ae820 00af0917 -006ae820 009e0680 -006ae820 006a89f0 -006ae820 00aef12b -006ae820 00865340 -006ae820 00418500 -006ae820 00734180 -006ae820 00aef253 -006ae820 00734a80 -006ae820 0092dc30 -006ae820 00a68490 -006ae820 004360f0 -006ae820 004cf210 -006ae820 00665c60 -006ae820 00676150 -006ae820 006fe410 -006ae820 00aef29d -006ae820 007078f0 -006ae820 006eef60 -006ae820 004288a0 -006ae820 00435c70 -006ae820 006b5f40 -006ae820 00703580 -006ae820 006f0090 006ae820 006832e0 +006ae820 0092dc30 +006ae820 006b5f40 +006ae820 00af0917 +006ae820 004cf210 +006ae820 009e24a0 006ae820 00431570 -006ae820 00a0f550 -006ae820 006ee340 -006ae820 004b6ec0 -006ae820 00733ca0 -006ae820 00435a50 -006ae820 00a10030 -006ae820 004071f0 -006ae820 006b6ed0 -006ae820 00956780 +006ae820 00734a80 +006ae820 00435c70 +006ae820 00665c60 +006ae820 006eef60 +006ae820 00a112c0 +006ae820 0041d540 +006ae820 00418500 +006ae820 0041d520 006ae820 00409030 -006b0eb0 00812f50 +006ae820 00435a50 +006ae820 006ee340 +006ae820 00aef29d +006ae820 00a68490 +006ae820 007078f0 +006ae820 006ac760 +006ae820 006b6ed0 +006ae820 00a10030 +006ae820 006ac560 +006ae820 00734180 +006ae820 00733ca0 +006ae820 008646e0 +006ae820 00865340 +006ae820 006a8fa0 +006ae820 007079c0 +006ae820 00407170 +006ae820 004071f0 +006ae820 009e0680 +006ae820 004b6ec0 +006ae820 00aef253 +006ae820 00a0f550 +006ae820 006b62b0 +006ae820 004360f0 +006ae820 006a89f0 +006ae820 00676150 +006ae820 004073d0 +006ae820 006f0090 +006ae820 00734900 +006ae820 00703580 +006ae820 00956780 +006ae820 00aef12b +006ae820 006a8db0 +006ae820 004288a0 +006ae820 006fe410 006b0eb0 006ab440 -006b0eb0 0041d520 006b0eb0 006a9c90 +006b0eb0 0041d520 +006b0eb0 00812f50 006b1000 006a8120 006b10f0 0040a0d0 006b10f0 00af0917 -006b1260 00a10e70 006b1260 00a14200 +006b1260 00a671b0 006b1260 0041d540 006b1260 00a13750 -006b1260 00a0f550 +006b1260 00af0917 006b1260 0041d520 +006b1260 00a1d710 006b1260 00aef29d 006b1260 00a140c0 -006b1260 00a11080 +006b1260 00a10e70 006b1260 00aef253 -006b1260 00a1d710 -006b1260 00af0917 -006b1260 00a671b0 -006b2000 00407170 +006b1260 00a0f550 +006b1260 00a11080 006b2000 0040a140 +006b2000 00407170 006b2000 0040b220 006b2000 00af0917 -006b2210 009305f0 006b2210 00930680 006b2210 007706e0 +006b2210 009305f0 006b2390 006ac530 006b2390 00417430 006b2410 006b2390 -006b25b0 008279a0 006b25b0 006b2210 -006b25b0 00945190 -006b25b0 006b2410 006b25b0 00435a50 006b25b0 00945470 -006b2940 008279a0 -006b2940 006b2210 -006b2940 006eef60 -006b2940 006ab240 -006b2940 006b2410 +006b25b0 00945190 +006b25b0 006b2410 +006b25b0 008279a0 006b2940 00435a50 -006b2940 00a10030 +006b2940 006b2210 +006b2940 006ab240 006b2940 00956940 +006b2940 006eef60 +006b2940 00a10030 +006b2940 006b2410 +006b2940 008279a0 006b2ee0 006b2940 006b2ee0 006b25b0 006b2f50 006b2410 006b2fa0 006b8160 -006b2fa0 004b6fc0 -006b2fa0 006a8db0 006b2fa0 004b6e40 006b2fa0 004b7020 006b2fa0 00aef12b +006b2fa0 006a8db0 +006b2fa0 004b6fc0 006b31b0 006eef60 -006b31b0 004288a0 -006b31b0 00af08b1 006b31b0 0041d540 -006b31b0 00af05e5 -006b31b0 006fe410 -006b31b0 0041d520 006b31b0 006831c0 +006b31b0 00af08b1 +006b31b0 00af05e5 006b31b0 00aef12b -006b45c0 00703670 -006b45c0 00408e00 -006b45c0 0041d540 -006b45c0 006ac530 -006b45c0 006fe410 -006b45c0 0041d520 -006b45c0 0040b220 -006b45c0 00aef12b -006b45c0 00417430 -006b45c0 006b31b0 -006b45c0 006eef60 -006b45c0 004e46d0 -006b45c0 006b6470 -006b45c0 00435a50 +006b31b0 004288a0 +006b31b0 0041d520 +006b31b0 006fe410 006b45c0 0092dc30 -006b45c0 00703330 -006b45c0 00956780 006b45c0 00665c60 -006b5320 009e24a0 -006b5320 009e0680 -006b5320 00734900 -006b5320 006f0090 -006b5320 0081e520 -006b5320 006fe410 -006b5320 007078f0 -006b5320 00aef12b -006b5320 00865340 -006b5320 00418500 -006b5320 00734180 -006b5320 006eef60 -006b5320 004288a0 +006b45c0 006eef60 +006b45c0 006b6470 +006b45c0 0041d540 +006b45c0 0040b220 +006b45c0 00703330 +006b45c0 0041d520 +006b45c0 006ac530 +006b45c0 00435a50 +006b45c0 00417430 +006b45c0 00408e00 +006b45c0 00956780 +006b45c0 006b31b0 +006b45c0 00aef12b +006b45c0 004e46d0 +006b45c0 00703670 +006b45c0 006fe410 006b5320 00733ca0 -006b5320 007069a0 -006b5320 00734a80 +006b5320 006eef60 006b5320 00a112c0 -006b5320 007079c0 -006b5320 00a68490 -006b5320 004cf210 -006b5320 0081e9d0 006b5320 008646e0 -006b5b50 004cdcf0 +006b5320 00418500 +006b5320 00865340 +006b5320 0081e9d0 +006b5320 006f0090 +006b5320 00734900 +006b5320 004cf210 +006b5320 009e24a0 +006b5320 0081e520 +006b5320 007079c0 +006b5320 00734a80 +006b5320 007069a0 +006b5320 00a68490 +006b5320 007078f0 +006b5320 009e0680 +006b5320 00aef12b +006b5320 004288a0 +006b5320 00734180 +006b5320 006fe410 006b5b50 004cf210 -006b5c10 006ac2a0 -006b5c10 00af08b1 -006b5c10 006a8240 -006b5c10 006acd10 -006b5c10 006a8a20 -006b5c10 006ad350 -006b5c10 006a8db0 +006b5b50 004cdcf0 006b5c10 006ac530 +006b5c10 006ac2a0 +006b5c10 006a8240 006b5c10 006ae7a0 -006b5e60 006a80f0 -006b5e60 00a0f4c0 -006b5e60 EXTERNAL:0000007e +006b5c10 00af08b1 +006b5c10 006acd10 +006b5c10 006a8db0 +006b5c10 006ad350 +006b5c10 006a8a20 006b5e60 EXTERNAL:00000081 +006b5e60 EXTERNAL:0000007e +006b5e60 00a0f4c0 +006b5e60 006a80f0 006b5f10 0042eb10 006b5f40 006ac2a0 -006b5fd0 007db700 -006b5fd0 007db6b0 -006b5fd0 007cafe0 006b5fd0 007f0800 006b5fd0 007103a0 006b5fd0 00718d20 +006b5fd0 007cafe0 +006b5fd0 007db6b0 +006b5fd0 007db700 006b62b0 006a89f0 006b63b0 00435a50 006b6470 0092dc30 @@ -16525,96 +16525,96 @@ 006b64d0 006eef60 006b64d0 00af08b1 006b64d0 006fe410 -006b6550 004cdcf0 006b6550 006eef60 -006b6550 006fe410 006b6550 004cf210 +006b6550 006fe410 +006b6550 004cdcf0 006b66a0 006b6550 -006b66c0 004cdcf0 006b66c0 006eef60 -006b66c0 006fe410 006b66c0 004cf210 +006b66c0 006fe410 +006b66c0 004cdcf0 006b6810 006b66c0 006b6830 006eef60 006b6830 00428b20 006b68c0 006eef60 006b68c0 0041d540 -006b68c0 006fe410 006b68c0 0041d520 +006b68c0 006fe410 +006b6af0 0040ace0 006b6af0 0041d540 006b6af0 0041d520 -006b6af0 0040ace0 +006b6c20 0040ace0 006b6c20 00945190 006b6c20 0041d540 006b6c20 0041d520 -006b6c20 0040ace0 006b6e40 00435a50 006b6ed0 00827b70 006b6ed0 006ac6c0 006b6ed0 007706e0 -006b7280 004cdcf0 006b7280 006eef60 -006b7280 00499960 -006b7280 006acd10 -006b7280 006a8a20 -006b7280 006ad350 -006b7280 006a8db0 -006b7280 006fe410 006b7280 006ae7a0 -006b7280 004cf210 +006b7280 006acd10 006b7280 00aef12b -006b7560 00499960 -006b7560 006acd10 -006b7560 006a8a20 -006b7560 006ad350 -006b7560 006a8db0 +006b7280 006a8db0 +006b7280 00499960 +006b7280 004cf210 +006b7280 006ad350 +006b7280 006a8a20 +006b7280 006fe410 +006b7280 004cdcf0 006b7560 006ae7a0 +006b7560 006acd10 006b7560 00aef12b +006b7560 006a8db0 +006b7560 00499960 +006b7560 006ad350 +006b7560 006a8a20 006b77d0 006acd10 -006b77d0 006a8a20 -006b77d0 006ad350 -006b77d0 006a8db0 006b77d0 00aef12b +006b77d0 006a8db0 +006b77d0 006ad350 +006b77d0 006a8a20 006b78d0 006acd10 -006b78d0 006a8a20 -006b78d0 006ad350 -006b78d0 006a8db0 006b78d0 00aef12b +006b78d0 006a8db0 +006b78d0 006ad350 +006b78d0 006a8a20 006b79d0 006acd10 -006b79d0 006a8a20 -006b79d0 006ad350 006b79d0 006a8db0 -006b7a80 00af08f3 +006b79d0 006ad350 +006b79d0 006a8a20 006b7a80 006acd10 -006b7a80 006a8a20 006b7a80 006a8db0 -006b7be0 004cdcf0 +006b7a80 00af08f3 +006b7a80 006a8a20 +006b7be0 004cf030 006b7be0 006eef60 006b7be0 00428b20 -006b7be0 004cf030 006b7be0 004cf210 +006b7be0 004cdcf0 006b7cc0 0040ac70 006b7d20 006b7e00 -006b7d40 EXTERNAL:00000220 006b7d40 00aef15c +006b7d40 EXTERNAL:00000220 006b7db0 006b7fd0 +006b7e00 00415fe0 006b7e00 00416440 006b7e00 00415f80 -006b7e00 00a0f4c0 -006b7e00 00415fe0 006b7e00 004170d0 -006b7fd0 EXTERNAL:00000220 -006b7fd0 00aef15c +006b7e00 00a0f4c0 006b7fd0 0040cf00 -006b7fd0 0041d0e0 006b7fd0 0040cee0 +006b7fd0 00aef15c 006b7fd0 00415bc0 -006b8160 004b6dc0 +006b7fd0 0041d0e0 +006b7fd0 EXTERNAL:00000220 006b8160 0040cf00 -006b8160 004b6f40 -006b8160 004b6ce0 +006b8160 004b6dc0 006b8160 0040cee0 006b8160 00415bc0 +006b8160 004b6f40 +006b8160 004b6ce0 006b8320 00a112c0 006b8320 00417540 006b8320 00af05df @@ -16623,2015 +16623,2015 @@ 006b84e0 00a0f4c0 006b84e0 006daac0 006b84e0 00435590 +006b8590 004074c0 006b8590 006a8290 006b8590 00a0f4c0 006b8590 007e31a0 -006b8590 004074c0 -006b88e0 00aef15c 006b88e0 006b8910 +006b88e0 00aef15c 006b8910 004087a0 -006b8910 0041c7d0 -006b8910 004149d0 -006b8910 00499380 -006b8910 006a8850 006b8910 00aef15c +006b8910 00499380 006b8910 00407f10 -006b8910 004cf210 -006b8910 0040d040 +006b8910 0041c7d0 006b8910 00424540 -006b8b20 007e3260 -006b8b20 006a93a0 +006b8910 004cf210 +006b8910 006a8850 +006b8910 0040d040 +006b8910 004149d0 006b8b20 00860880 +006b8b20 006a93a0 006b8b20 004cf210 +006b8b20 007e3260 006b8f00 006acb00 -006b8f30 006d81c0 -006b8f30 EXTERNAL:00000262 -006b8f30 00499380 -006b8f30 0092e230 -006b8f30 00407f10 -006b8f30 004567e0 -006b8f30 004cdcf0 -006b8f30 EXTERNAL:00000220 006b8f30 0064bab0 +006b8f30 0092e230 +006b8f30 006d81c0 +006b8f30 00499380 +006b8f30 004567e0 006b8f30 006acb60 -006b8f30 00aef15c -006b8f30 0041af60 006b8f30 004cf210 +006b8f30 EXTERNAL:00000220 +006b8f30 0041af60 +006b8f30 00aef15c +006b8f30 EXTERNAL:00000262 +006b8f30 00407f10 006b8f30 00436220 -006b9450 006eef60 -006b9450 00703670 -006b9450 EXTERNAL:00000220 -006b9450 00428b20 -006b9450 0040a5d0 -006b9450 0040bd50 +006b8f30 004cdcf0 006b9450 0040a1b0 -006b9450 00aef15c +006b9450 0040bd50 006b9450 0092dc30 -006b9450 0040ccd0 -006b9450 00aef12b +006b9450 00aef15c +006b9450 006eef60 006b9450 00956780 +006b9450 00428b20 +006b9450 00aef12b +006b9450 00703670 +006b9450 0040ccd0 +006b9450 EXTERNAL:00000220 +006b9450 0040a5d0 006b9740 0041a790 -006b9740 00a112c0 006b9740 00a648b0 +006b9740 00a112c0 006b9740 EXTERNAL:00000262 -006b9910 004cdcf0 006b9910 004cf210 +006b9910 004cdcf0 +006b99e0 00930980 006b99e0 007ea3e0 006b99e0 009305f0 -006b99e0 00930980 006b9bb0 00738470 -006b9c10 004215a0 -006b9c10 0040cf50 -006b9c10 00a17860 006b9c10 008f5ad0 -006b9c10 00417100 +006b9c10 00a17860 +006b9c10 0040cf50 +006b9c10 004215a0 006b9c10 0040d040 -006b9c10 00aef12b -006b9c10 00421680 -006b9c10 0040ccc0 -006b9c10 004997f0 -006b9c10 EXTERNAL:00000220 -006b9c10 00499950 -006b9c10 00aef15c 006b9c10 0040ccd0 +006b9c10 EXTERNAL:00000220 +006b9c10 0040ccc0 006b9c10 00651d50 -006ba840 0040cf50 -006ba840 006b9c10 +006b9c10 00aef15c +006b9c10 00499950 +006b9c10 00421680 +006b9c10 00417100 +006b9c10 00aef12b +006b9c10 004997f0 006ba840 006b9bb0 -006ba840 EXTERNAL:00000220 006ba840 00aef15c -006ba840 0040ccd0 +006ba840 0040cf50 006ba840 00aef12b -006baa70 008f5ad0 -006baa70 006baf40 -006baa70 00452bf0 -006baa70 0040bd50 -006baa70 0040a1b0 -006baa70 00a17180 -006baa70 0040d040 -006baa70 00aef12b -006baa70 00421680 -006baa70 006523e0 -006baa70 00651a90 -006baa70 0040ccc0 -006baa70 EXTERNAL:00000220 +006ba840 006b9c10 +006ba840 0040ccd0 +006ba840 EXTERNAL:00000220 006baa70 00a648b0 +006baa70 0040bd50 +006baa70 008f5ad0 +006baa70 00452bf0 +006baa70 0040d040 +006baa70 EXTERNAL:00000220 006baa70 0040a5d0 -006baa70 00aef15c +006baa70 0040a1b0 +006baa70 006baf40 +006baa70 006523e0 +006baa70 0040ccc0 006baa70 00651d50 -006baf40 0040cf50 +006baa70 00aef15c +006baa70 00421680 +006baa70 00aef12b +006baa70 00a17180 +006baa70 00651a90 +006baf40 0040cf00 006baf40 0040bd50 -006baf40 0040cae0 +006baf40 0040c000 +006baf40 0040cf50 006baf40 0040b220 +006baf40 006b9c10 +006baf40 006c04b0 +006baf40 EXTERNAL:00000220 +006baf40 0040ccd0 +006baf40 0040bf30 +006baf40 00aef15c +006baf40 006b9bb0 006baf40 004476a0 +006baf40 0040cae0 006baf40 00aef12b 006baf40 004288a0 -006baf40 006b9c10 -006baf40 EXTERNAL:00000220 -006baf40 006b9bb0 -006baf40 0040c000 -006baf40 00aef15c -006baf40 0040bf30 -006baf40 006c04b0 -006baf40 0040cf00 -006baf40 0040ccd0 -006bb790 007e9020 -006bb790 00408e00 -006bb790 006baf40 -006bb790 0069f990 -006bb790 0040d040 -006bb790 007e9080 -006bb790 00aef12b -006bb790 009be080 -006bb790 004288a0 +006bb790 006b8410 006bb790 0044bfb0 006bb790 00a112c0 -006bb790 006b8410 -006bb790 0040a5d0 -006bb790 006d03e0 -006bb790 006a98b0 -006bb790 007e90f0 -006bb790 009bea80 +006bb790 0069f990 006bb790 0040a690 -006bbdc0 007e9020 -006bbdc0 00758a70 -006bbdc0 00af08b1 -006bbdc0 00676150 -006bbdc0 00428b20 -006bbdc0 0041d540 -006bbdc0 006a8db0 -006bbdc0 0041d520 -006bbdc0 00770ca0 -006bbdc0 0042c920 -006bbdc0 009be080 -006bbdc0 009be140 -006bbdc0 006eef60 -006bbdc0 EXTERNAL:00000220 -006bbdc0 0044bfb0 -006bbdc0 00a112c0 -006bbdc0 0062a930 -006bbdc0 009be7f0 -006bbdc0 007e90f0 -006bbdc0 007706e0 +006bb790 007e90f0 +006bb790 007e9080 +006bb790 0040d040 +006bb790 006d03e0 +006bb790 0040a5d0 +006bb790 006baf40 +006bb790 009bea80 +006bb790 00408e00 +006bb790 00aef12b +006bb790 004288a0 +006bb790 007e9020 +006bb790 006a98b0 +006bb790 009be080 006bbdc0 009be3e0 -006bbdc0 007cb6e0 -006bbdc0 007dc2d0 -006bbdc0 00aef12b -006bbdc0 006ee340 -006bbdc0 00813360 -006bbdc0 00734180 -006bbdc0 006e6e40 -006bbdc0 00af0911 -006bbdc0 004cdcf0 -006bbdc0 00638e30 -006bbdc0 00435a50 006bbdc0 0092dc30 -006bbdc0 00aef15c +006bbdc0 0042c920 +006bbdc0 009be7f0 +006bbdc0 00428b20 +006bbdc0 00813360 006bbdc0 00703330 +006bbdc0 007cb6e0 006bbdc0 004cf210 +006bbdc0 006e6e40 +006bbdc0 00770ca0 +006bbdc0 007706e0 +006bbdc0 00758a70 +006bbdc0 009be080 +006bbdc0 0044bfb0 +006bbdc0 00676150 +006bbdc0 006eef60 +006bbdc0 00a112c0 +006bbdc0 0041d540 +006bbdc0 00af08b1 +006bbdc0 007dc2d0 +006bbdc0 009be140 +006bbdc0 007e90f0 +006bbdc0 00af0911 +006bbdc0 0041d520 +006bbdc0 EXTERNAL:00000220 +006bbdc0 00435a50 +006bbdc0 006ee340 +006bbdc0 00aef15c 006bbdc0 00956780 +006bbdc0 00638e30 +006bbdc0 0062a930 +006bbdc0 00aef12b +006bbdc0 006a8db0 +006bbdc0 007e9020 +006bbdc0 00734180 +006bbdc0 004cdcf0 006be6f0 006ac920 006be6f0 004aab30 -006be7e0 006ac560 006be7e0 007c32c0 -006be840 007e9020 -006be840 00707370 -006be840 006ac530 +006be7e0 006ac560 006be840 0042c920 -006be840 00417870 -006be840 00417430 -006be840 004cdcf0 -006be840 EXTERNAL:00000220 -006be840 007069a0 -006be840 00a112c0 006be840 00a648b0 -006be840 00aef15c -006be840 0041af60 -006be840 006ac710 +006be840 00a112c0 +006be840 00417870 +006be840 00707370 006be840 004cf210 -006bec40 00812f50 +006be840 EXTERNAL:00000220 +006be840 006ac710 +006be840 0041af60 +006be840 006ac530 +006be840 00aef15c +006be840 00417430 +006be840 007069a0 +006be840 007e9020 +006be840 004cdcf0 +006bec40 00435a50 006bec40 006fd350 006bec40 006eef60 006bec40 0041d540 -006bec40 00435a50 -006bec40 0067f070 -006bec40 006ac710 -006bec40 0041d520 006bec40 006be840 +006bec40 0067f070 006bec40 00a10600 -006bf120 007e9020 -006bf120 0041d540 -006bf120 006fe410 -006bf120 0081e520 -006bf120 006e30a0 -006bf120 0041d520 -006bf120 00703ab0 -006bf120 006ff2a0 -006bf120 00417870 -006bf120 009be140 -006bf120 006eef60 -006bf120 0044bfb0 -006bf120 00a112c0 -006bf120 00703190 -006bf120 007e90f0 -006bf120 0043ef30 -006bf120 00736ba0 -006bf120 007d12c0 -006bf120 007599d0 -006bf120 006cb2e0 -006bf120 00aef12b -006bf120 00417430 -006bf120 00865340 -006bf120 00734180 -006bf120 006b5c10 -006bf120 009bea80 +006bec40 0041d520 +006bec40 00812f50 +006bec40 006ac710 006bf120 007f0800 -006bf120 005b39d0 -006bf120 00813520 -006bf120 00703950 +006bf120 006cb2e0 +006bf120 00417870 +006bf120 006ff2a0 +006bf120 00865340 +006bf120 00703190 +006bf120 007d12c0 +006bf120 0081e520 +006bf120 006b5c10 006bf120 009ad210 -006c04b0 0040cf50 -006c04b0 EXTERNAL:00000220 -006c04b0 0040cae0 -006c04b0 00aef15c -006c04b0 006ac710 +006bf120 00736ba0 +006bf120 0043ef30 +006bf120 006e30a0 +006bf120 00703950 +006bf120 0044bfb0 +006bf120 00703ab0 +006bf120 00a112c0 +006bf120 006eef60 +006bf120 0041d540 +006bf120 007599d0 +006bf120 009be140 +006bf120 007e90f0 +006bf120 00813520 +006bf120 0041d520 +006bf120 009bea80 +006bf120 00417430 +006bf120 00aef12b +006bf120 007e9020 +006bf120 005b39d0 +006bf120 00734180 +006bf120 006fe410 006c04b0 006832e0 +006c04b0 00823590 +006c04b0 00aef15c +006c04b0 0040cf50 +006c04b0 0040cae0 006c04b0 0040b220 006c04b0 00aef12b -006c04b0 00823590 -006c07e0 004288a0 -006c07e0 007eece0 +006c04b0 006ac710 +006c04b0 EXTERNAL:00000220 006c07e0 006f8120 -006c0f30 0092aea0 -006c0f30 007e3260 +006c07e0 007eece0 +006c07e0 004288a0 006c0f30 00407170 -006c0f30 007079c0 +006c0f30 00694fb0 +006c0f30 0092aea0 006c0f30 007078f0 006c0f30 00aef12b -006c0f30 00694fb0 +006c0f30 007e3260 +006c0f30 007079c0 006c1100 004073d0 -006c1100 00505b80 006c1100 0069f990 006c1100 0040b220 -006c1100 0040d040 006c1100 00aef12b +006c1100 00505b80 +006c1100 0040d040 +006c1330 0040a1b0 006c1330 00408e00 006c1330 0067f1d0 006c1330 0040a5d0 -006c1330 0040a1b0 +006c15c0 0040a1b0 006c15c0 00408e00 006c15c0 0067f1d0 006c15c0 0040a5d0 -006c15c0 0040a1b0 +006c1870 0040a1b0 006c1870 00408e00 006c1870 0067f1d0 006c1870 0040a5d0 -006c1870 0040a1b0 -006c1ac0 006c20e0 -006c1ac0 007e9020 -006c1ac0 EXTERNAL:00000220 +006c1ac0 00733ff0 +006c1ac0 00734130 +006c1ac0 00aef15c 006c1ac0 00a112c0 006c1ac0 006b84e0 -006c1ac0 00734130 006c1ac0 00a0f4c0 -006c1ac0 00aef15c -006c1ac0 00733ff0 -006c1ac0 007e90f0 006c1ac0 00aef12b +006c1ac0 007e90f0 +006c1ac0 007e9020 +006c1ac0 006c20e0 +006c1ac0 EXTERNAL:00000220 006c20e0 00a0f4c0 006c20e0 006daac0 -006c2220 0041e420 -006c2220 0085bed0 -006c2220 00929b40 -006c2220 006c1ac0 -006c2220 0040a1b0 -006c2220 006ee440 -006c2220 006da850 -006c2220 0070ee40 -006c2220 006c2750 -006c2220 0040a5d0 006c2220 006da530 -006c2220 00aef15c 006c2220 007ebc40 006c2220 00813520 +006c2220 0041e420 +006c2220 0040a5d0 006c2220 0040ccd0 +006c2220 0040a1b0 +006c2220 00929b40 +006c2220 0070ee40 +006c2220 00aef15c +006c2220 006c2750 +006c2220 0085bed0 +006c2220 006c1ac0 +006c2220 006da850 +006c2220 006ee440 +006c2750 0074f690 +006c2750 0082d030 006c2750 006eef60 006c2750 00af08b1 -006c2750 0074f690 -006c2750 006fe410 006c2750 00813520 006c2750 0055cef0 -006c2750 0082d030 -006c2990 004ed840 -006c2990 004efb90 -006c2990 00541810 -006c2990 00476860 -006c2990 0041d540 -006c2990 0043f0c0 -006c2990 00457840 -006c2990 0045ef20 -006c2990 004bf310 -006c2990 004dc490 -006c2990 00530a80 -006c2990 00440f00 -006c2990 00569170 -006c2990 00552d30 -006c2990 00526470 -006c2990 00517de0 -006c2990 004ec240 -006c2990 005513a0 -006c2990 004b92e0 -006c2990 00443e50 -006c2990 00475a30 -006c2990 00444cc0 -006c2990 0044b6f0 -006c2990 004db6a0 -006c2990 004f8960 -006c2990 00581730 -006c2990 00587aa0 -006c2990 00466600 -006c2990 0047c850 -006c2990 0054ad80 -006c2990 0048ae30 -006c2990 00506bd0 -006c2990 004d48b0 -006c2990 0053ab40 -006c2990 0050a6b0 -006c2990 00531350 -006c2990 005a6b80 -006c2990 0054d250 -006c2990 00522ef0 -006c2990 0053e4a0 -006c2990 0050c370 -006c2990 00499de0 -006c2990 0092dc30 -006c2990 005ad8a0 -006c2990 005593c0 -006c2990 00541ce0 -006c2990 00525650 -006c2990 00506320 -006c2990 00af08b1 -006c2990 0048f110 -006c2990 004b1ee0 -006c2990 00521ab0 -006c2990 005374a0 -006c2990 00475110 -006c2990 006eef60 -006c2990 00453140 -006c2990 00579890 -006c2990 00456c40 -006c2990 0045cd60 -006c2990 0049d130 -006c2990 004dd7f0 -006c2990 004f2c20 -006c2990 004a3040 -006c2990 004760a0 -006c2990 004fbd10 -006c2990 004a12f0 -006c2990 00495610 -006c2990 00566810 -006c2990 004dea40 -006c2990 005442a0 -006c2990 0054eb80 -006c2990 00458870 -006c2990 00538b70 -006c2990 00537e20 -006c2990 0050f280 -006c2990 005971e0 -006c2990 00517150 -006c2990 004d77b0 -006c2990 005492c0 -006c2990 0056ffa0 -006c2990 00468180 -006c2990 0055b740 -006c2990 0055d230 -006c2990 0050af90 -006c2990 004fdf80 -006c2990 006d6690 -006c2990 004f7e60 -006c2990 00596120 -006c2990 0041d520 -006c2990 00571280 -006c2990 00490680 -006c2990 004b0200 -006c2990 00486db0 -006c2990 0047f640 -006c2990 004e7ea0 -006c2990 0057e4a0 -006c2990 00500f70 -006c2990 0051c040 -006c2990 0044f2b0 -006c2990 005240a0 -006c2990 004855b0 -006c2990 004aafa0 -006c2990 0051aaa0 -006c2990 00860960 -006c2990 004cca10 -006c2990 0055fb60 -006c2990 0051b570 -006c2990 006c2220 -006c2990 00545f70 -006c2990 0051e0f0 -006c2990 00536d00 -006c2990 00493200 -006c2990 0046e290 -006c2990 004e6570 -006c2990 00540df0 -006c2990 00463100 -006c2990 00573030 -006c2990 00533b80 -006c2990 00500990 -006c2990 004fd540 -006c2990 004bd2a0 -006c2990 004da590 -006c2990 004477b0 -006c2990 00563da0 -006c2990 0051d300 -006c2990 00561a20 -006c2990 005153b0 -006c2990 00435c70 -006c2990 00560570 -006c2990 0050d370 -006c2990 00565e00 -006c2990 00578a70 -006c2990 005562b0 -006c2990 005522d0 -006c2990 00474e00 -006c2990 00489ca0 -006c2990 0053c0d0 -006c2990 004dca90 -006c2990 0049fa10 -006c2990 0052db50 -006c2990 00520c60 -006c2990 0058d8b0 -006c2990 004e8380 -006c2990 00591460 -006c2990 00479d80 -006c2990 00503300 -006c2990 004f8df0 -006c2990 0059c830 -006c2990 00483710 -006c2990 004c59d0 -006c2990 0046a0f0 -006c2990 0045fc00 -006c2990 00539b90 -006c2990 00860ac0 -006c2990 004e0dd0 -006c2990 0058aed0 -006c2990 004ae4d0 -006c2990 00562290 -006c2990 0044a040 -006c2990 005542e0 -006c2990 0055ad20 -006c2990 004e38c0 -006c2990 004f76f0 -006c2990 005052a0 -006c2990 005430d0 -006c2990 006ad870 -006c2990 004ce8a0 -006c2990 0043ef30 -006c2990 004d1290 -006c2990 00440630 -006c2990 004f1ec0 -006c2990 0051f2f0 -006c2990 00460780 -006c2990 004e4970 -006c2990 0047a360 -006c2990 00510ae0 -006c2990 0050a8a0 -006c2990 004cdcf0 -006c2990 005a5b60 -006c2990 00547330 -006c2990 00562f00 -006c2990 0057bec0 -006c2990 005ab4d0 -006c2990 00428b20 -006c2990 0048c3b0 -006c2990 0053bae0 -006c2990 0055c810 -006c2990 00535280 -006c2990 00565bc0 -006c2990 004ecc10 -006c2990 005769b0 -006c2990 004e2b40 -006c2990 00505d00 -006c2990 0052c720 -006c2990 00529da0 -006c2990 0050bbe0 -006c2990 0047d8a0 -006c2990 005400d0 -006c2990 00502980 -006c2990 00682740 -006c2990 00584140 -006c2990 00547b60 -006c2990 0048ee30 -006c2990 00534860 -006c2990 004f4730 -006c2990 0045b830 -006c2990 005135d0 -006c2990 004fcc20 -006c2990 0046c0a0 -006c2990 0044aad0 -006c2990 004bfd30 -006c2990 0056cd60 -006c2990 004f64e0 -006c2990 0045d7d0 -006c2990 004e5170 -006c2990 0059edb0 -006c2990 0041af60 -006c2990 0055a010 -006c2990 005111b0 -006c2990 00447180 -006c2990 00472c40 -006c2990 004bb9b0 -006c2990 00471cc0 -006c2990 004cf690 -006c2990 004be6f0 -006c2990 00596c60 -006c2990 004df3f0 +006c2750 006fe410 006c2990 004f9ad0 -006c2990 004b0a30 -006c2990 00508f40 -006c2990 00467670 -006c2990 00531ab0 -006c2990 00504a40 -006c2990 00471050 -006c2990 0046fbe0 -006c2990 004a6500 -006c2990 00a648b0 -006c2990 00481410 -006c2990 0053b2f0 -006c2990 004d9000 -006c2990 00551d30 -006c2990 00524a10 -006c2990 004ff620 -006c2990 005381c0 -006c2990 00591cc0 -006c2990 00459d20 -006c2990 00560ca0 -006c2990 00512110 -006c2990 0040a380 -006c2990 006cb2e0 -006c2990 00461fc0 -006c2990 005a4820 -006c2990 00aef12b -006c2990 00513080 -006c2990 0050e4d0 -006c2990 004cf210 -006c2990 00543720 -006c2990 00444900 -006c2990 004ea3d0 -006c2990 004b43c0 -006c2990 0044c070 006c2990 004c8090 -006c2990 00532cf0 -006c2990 00492550 -006c2990 00564f30 -006c2990 0045e050 -006c2990 00540510 -006c2990 005ad250 -006c2990 00542be0 -006c2990 006d18d0 -006c2990 00522430 -006c2990 005321d0 -006c2990 00518e20 -006c2990 005041d0 -006c2990 00592460 -006c2990 005a7b20 +006c2990 0045cd60 +006c2990 00456c40 +006c2990 00460780 +006c2990 005a5b60 +006c2990 004e4970 +006c2990 004855b0 +006c2990 004bb9b0 +006c2990 00510ae0 +006c2990 00508f40 006c2990 004bee40 -006c2990 0051cb30 -006c2990 005586b0 -006c2990 00501f30 -006c2990 004878a0 -006c2990 00503af0 -006c2990 004741f0 -006c2990 00496fb0 -006c2990 00435a50 -006c2990 005505c0 -006c2990 00450da0 -006c2990 004faad0 -006c2990 0052ae30 +006c2990 00564f30 +006c2990 0049fa10 +006c2990 0058aed0 +006c2990 0043ef30 +006c2990 00537e20 +006c2990 005240a0 +006c2990 0050e4d0 +006c2990 004bd2a0 +006c2990 00af08b1 +006c2990 00490680 +006c2990 005562b0 006c2990 00813520 +006c2990 00467670 +006c2990 0054ad80 +006c2990 004e5170 +006c2990 00521ab0 +006c2990 0041d520 +006c2990 0041af60 +006c2990 004ea3d0 +006c2990 00472c40 +006c2990 00591cc0 +006c2990 005586b0 +006c2990 00512110 +006c2990 005542e0 +006c2990 005ad250 +006c2990 00475a30 +006c2990 00525650 +006c2990 005971e0 +006c2990 00571280 +006c2990 005505c0 +006c2990 00496fb0 +006c2990 005381c0 +006c2990 00517150 +006c2990 004fdf80 +006c2990 0051aaa0 +006c2990 0045b830 +006c2990 004dca90 +006c2990 005111b0 +006c2990 004e38c0 +006c2990 00489ca0 +006c2990 0055ad20 +006c2990 00506bd0 +006c2990 004d1290 +006c2990 00578a70 +006c2990 004b43c0 +006c2990 00587aa0 +006c2990 004760a0 +006c2990 0057e4a0 +006c2990 00518e20 +006c2990 00459d20 +006c2990 0053b2f0 +006c2990 00522ef0 +006c2990 00471cc0 +006c2990 006c2220 +006c2990 004efb90 +006c2990 005374a0 +006c2990 004bf310 +006c2990 0044c070 +006c2990 005513a0 +006c2990 00536d00 006c2990 00956780 -006c4b30 004563c0 -006c4b30 00684cb0 -006c4b30 00417860 -006c4b30 00407170 -006c4b30 00708250 -006c4b30 006b82b0 -006c4b30 0042a020 -006c4b30 00a104b0 -006c4b30 0060af70 -006c4b30 006ae280 -006c4b30 00682f50 -006c4b30 00456870 -006c4b30 00417160 -006c4b30 007ea190 -006c4b30 00a0fea0 -006c4b30 00a10510 -006c4b30 00813ce0 -006c4b30 004e47c0 -006c4b30 004561a0 -006c4b30 00505b80 -006c4b30 006d7520 -006c4b30 00407480 -006c4b30 0040a550 -006c4b30 00420af0 -006c4b30 00456170 -006c4b30 006a89f0 -006c4b30 006ca930 -006c4b30 0040bcd0 -006c4b30 00407410 -006c4b30 006b8490 -006c4b30 0043ee80 -006c4b30 006b45c0 -006c4b30 006c04b0 -006c4b30 009bea80 -006c4b30 007cafe0 -006c4b30 00417290 -006c4b30 00a10480 -006c4b30 00af08b1 -006c4b30 00452bf0 +006c2990 00486db0 +006c2990 004ce8a0 +006c2990 00aef12b +006c2990 00543720 +006c2990 00520c60 +006c2990 00530a80 +006c2990 004f64e0 +006c2990 0051b570 +006c2990 005593c0 +006c2990 004f1ec0 +006c2990 004b0200 +006c2990 004dd7f0 +006c2990 00450da0 +006c2990 0053e4a0 +006c2990 00481410 +006c2990 00500990 +006c2990 00476860 +006c2990 00435c70 +006c2990 0045fc00 +006c2990 00596120 +006c2990 0056ffa0 +006c2990 00522430 +006c2990 0045ef20 +006c2990 004fd540 +006c2990 004a12f0 +006c2990 0044b6f0 +006c2990 00504a40 +006c2990 005400d0 +006c2990 004fcc20 +006c2990 0041d540 +006c2990 00505d00 +006c2990 004f76f0 +006c2990 0048c3b0 +006c2990 00435a50 +006c2990 00444cc0 +006c2990 00495610 +006c2990 00513080 +006c2990 00463100 +006c2990 00539b90 +006c2990 004b0a30 +006c2990 004faad0 +006c2990 00503af0 +006c2990 0046e290 +006c2990 0055fb60 +006c2990 005a7b20 +006c2990 004e0dd0 +006c2990 00501f30 +006c2990 0053ab40 +006c2990 005442a0 +006c2990 00682740 +006c2990 00581730 +006c2990 0045d7d0 +006c2990 004a6500 +006c2990 00471050 +006c2990 0050a6b0 +006c2990 00492550 +006c2990 004cca10 +006c2990 005153b0 +006c2990 004dc490 +006c2990 00534860 +006c2990 0050c370 +006c2990 0058d8b0 +006c2990 006d18d0 +006c2990 0046fbe0 +006c2990 00535280 +006c2990 0047a360 +006c2990 00542be0 +006c2990 004e7ea0 +006c2990 0054eb80 +006c2990 004e6570 +006c2990 00565bc0 +006c2990 0055b740 +006c2990 00468180 +006c2990 004e2b40 +006c2990 00552d30 +006c2990 004cdcf0 +006c2990 004ec240 +006c2990 00860960 +006c2990 00440f00 +006c2990 0092dc30 +006c2990 0050d370 +006c2990 0052ae30 +006c2990 00541810 +006c2990 00466600 +006c2990 006d6690 +006c2990 00475110 +006c2990 00531ab0 +006c2990 0051e0f0 +006c2990 00447180 +006c2990 004cf210 +006c2990 00573030 +006c2990 0047d8a0 +006c2990 00458870 +006c2990 00545f70 +006c2990 00531350 +006c2990 0051d300 +006c2990 0055d230 +006c2990 00526470 +006c2990 005a4820 +006c2990 004c59d0 +006c2990 0050f280 +006c2990 0053bae0 +006c2990 004878a0 +006c2990 00502980 +006c2990 0050af90 +006c2990 004aafa0 +006c2990 00457840 +006c2990 0059c830 +006c2990 00529da0 +006c2990 005ad8a0 +006c2990 00444900 +006c2990 00461fc0 +006c2990 00562f00 +006c2990 004477b0 +006c2990 006cb2e0 +006c2990 00493200 +006c2990 004a3040 +006c2990 00428b20 +006c2990 004be6f0 +006c2990 00560ca0 +006c2990 005a6b80 +006c2990 004ff620 +006c2990 004dea40 +006c2990 0044f2b0 +006c2990 0043f0c0 +006c2990 004d48b0 +006c2990 00563da0 +006c2990 0044aad0 +006c2990 00517de0 +006c2990 0040a380 +006c2990 004e8380 +006c2990 00562290 +006c2990 004ed840 +006c2990 004ecc10 +006c2990 00533b80 +006c2990 0050bbe0 +006c2990 00540510 +006c2990 005041d0 +006c2990 004f7e60 +006c2990 00443e50 +006c2990 0051cb30 +006c2990 00500f70 +006c2990 00592460 +006c2990 0049d130 +006c2990 004f8df0 +006c2990 004f4730 +006c2990 004da590 +006c2990 005492c0 +006c2990 0052c720 +006c2990 00551d30 +006c2990 00479d80 +006c2990 0046c0a0 +006c2990 0051c040 +006c2990 00860ac0 +006c2990 004d9000 +006c2990 00483710 +006c2990 0045e050 +006c2990 004b92e0 +006c2990 0050a8a0 +006c2990 005ab4d0 +006c2990 0054d250 +006c2990 00561a20 +006c2990 00540df0 +006c2990 0044a040 +006c2990 004f8960 +006c2990 00584140 +006c2990 00591460 +006c2990 005522d0 +006c2990 004bfd30 +006c2990 0046a0f0 +006c2990 006eef60 +006c2990 00532cf0 +006c2990 004db6a0 +006c2990 0048ee30 +006c2990 004fbd10 +006c2990 0055c810 +006c2990 00538b70 +006c2990 0059edb0 +006c2990 004b1ee0 +006c2990 00524a10 +006c2990 004ae4d0 +006c2990 004d77b0 +006c2990 00474e00 +006c2990 0053c0d0 +006c2990 004df3f0 +006c2990 00569170 +006c2990 00503300 +006c2990 00596c60 +006c2990 00566810 +006c2990 005769b0 +006c2990 0057bec0 +006c2990 005321d0 +006c2990 00560570 +006c2990 004cf690 +006c2990 00579890 +006c2990 0048ae30 +006c2990 005430d0 +006c2990 00541ce0 +006c2990 00a648b0 +006c2990 00499de0 +006c2990 00506320 +006c2990 004f2c20 +006c2990 0056cd60 +006c2990 0052db50 +006c2990 00547b60 +006c2990 0047c850 +006c2990 0055a010 +006c2990 005052a0 +006c2990 005135d0 +006c2990 00453140 +006c2990 0047f640 +006c2990 0051f2f0 +006c2990 004741f0 +006c2990 006ad870 +006c2990 0048f110 +006c2990 00440630 +006c2990 00547330 +006c2990 00565e00 +006c4b30 00a0fed0 +006c4b30 00a10630 006c4b30 00a114d0 -006c4b30 00665c00 -006c4b30 00aef29d -006c4b30 0040a4d0 -006c4b30 006518f0 -006c4b30 004074b0 -006c4b30 006eef60 -006c4b30 00436080 -006c4b30 00499960 -006c4b30 006a9320 -006c4b30 00435ad0 -006c4b30 004176f0 -006c4b30 00aefca0 -006c4b30 00a10540 -006c4b30 0041e460 -006c4b30 0041cb60 -006c4b30 00435bc0 -006c4b30 004cf350 -006c4b30 004476a0 -006c4b30 0067f310 -006c4b30 00417430 -006c4b30 00417360 -006c4b30 006ac6c0 -006c4b30 00703470 -006c4b30 006b83e0 006c4b30 006d6ba0 -006c4b30 00a10180 -006c4b30 00944d10 -006c4b30 007d4340 -006c4b30 0081edd0 -006c4b30 00428910 -006c4b30 009bea40 -006c4b30 00435e90 -006c4b30 00682f20 -006c4b30 006ac560 -006c4b30 006da770 -006c4b30 006d6610 -006c4b30 00452be0 -006c4b30 0092e230 -006c4b30 004f84a0 -006c4b30 0067f030 -006c4b30 00930680 -006c4b30 00407320 -006c4b30 006da750 -006c4b30 0042c710 -006c4b30 00682fe0 -006c4b30 0040a780 +006c4b30 00703470 +006c4b30 0040b430 +006c4b30 006d5400 +006c4b30 007ea190 006c4b30 004072b0 006c4b30 004bc450 -006c4b30 006c4a90 -006c4b30 00a10660 -006c4b30 006b6470 -006c4b30 00a10630 -006c4b30 0040af10 -006c4b30 0040b430 -006c4b30 00436090 -006c4b30 007a0080 -006c4b30 00a0fe80 -006c4b30 006da6f0 -006c4b30 004071c0 -006c4b30 00435e60 -006c4b30 00456400 -006c4b30 006ae630 -006c4b30 00417620 006c4b30 00703330 -006c4b30 00665c60 -006c4b30 0041a790 -006c4b30 006ae0a0 -006c4b30 00417400 -006c4b30 004360d0 -006c4b30 006a92e0 -006c4b30 006be840 -006c4b30 006a9360 -006c4b30 006b68c0 -006c4b30 0042d9b0 -006c4b30 004073a0 -006c4b30 0042f2a0 -006c4b30 0040b1d0 -006c4b30 0044bfb0 -006c4b30 0067f2e0 -006c4b30 0043eec0 -006c4b30 00435c70 -006c4b30 006b8310 -006c4b30 0040c200 -006c4b30 006b5b50 -006c4b30 006ac710 -006c4b30 007706e0 -006c4b30 004a5cf0 -006c4b30 004173e0 -006c4b30 004361c0 -006c4b30 00428a50 -006c4b30 006a9c10 -006c4b30 0040d040 -006c4b30 0040c7c0 -006c4b30 00a10600 -006c4b30 004073b0 -006c4b30 0040c3a0 -006c4b30 0041c710 -006c4b30 006daa90 -006c4b30 0040a9c0 -006c4b30 006d5350 -006c4b30 00499da0 -006c4b30 00435b50 -006c4b30 004178d0 -006c4b30 00409030 -006c4b30 004177e0 -006c4b30 006ad3c0 -006c4b30 006b77d0 -006c4b30 00435d20 -006c4b30 006ad500 -006c4b30 0040a910 -006c4b30 00407f10 -006c4b30 007e9080 -006c4b30 00700060 -006c4b30 009be080 -006c4b30 007ebca0 -006c4b30 004567b0 -006c4b30 004cf1d0 -006c4b30 009be6b0 -006c4b30 00407260 -006c4b30 00435cf0 -006c4b30 0043ef30 -006c4b30 006b8580 -006c4b30 006ae820 -006c4b30 006b99e0 -006c4b30 0040b200 -006c4b30 007e3260 -006c4b30 00407270 -006c4b30 0040bf20 -006c4b30 00a10100 -006c4b30 0043ef20 -006c4b30 006add70 -006c4b30 00417270 -006c4b30 005cba30 -006c4b30 009be9c0 -006c4b30 004561b0 -006c4b30 00aef253 -006c4b30 00407280 -006c4b30 0042c770 -006c4b30 0067efe0 -006c4b30 00456190 -006c4b30 0041e470 -006c4b30 00a155c0 -006c4b30 00431760 -006c4b30 009305f0 -006c4b30 00a115c0 -006c4b30 0040d0e0 -006c4b30 004cde30 -006c4b30 00812c90 -006c4b30 00444c70 -006c4b30 00428b20 -006c4b30 006a92a0 -006c4b30 004238f0 -006c4b30 006ac530 -006c4b30 00703ab0 -006c4b30 00428a70 -006c4b30 006b79d0 -006c4b30 006b6810 -006c4b30 008208c0 -006c4b30 006b5b90 -006c4b30 00431260 -006c4b30 00436060 -006c4b30 00771550 -006c4b30 004567a0 -006c4b30 0040c340 -006c4b30 0042a250 -006c4b30 006d4e00 -006c4b30 007e8f90 -006c4b30 00a104e0 -006c4b30 004a2920 -006c4b30 0062e0e0 -006c4b30 0040a7c0 -006c4b30 00435eb0 -006c4b30 0040c780 -006c4b30 00417370 -006c4b30 00421800 -006c4b30 00a0f690 -006c4b30 00a0fed0 -006c4b30 006b9450 -006c4b30 00435db0 -006c4b30 00417840 -006c4b30 006b64d0 -006c4b30 004073c0 -006c4b30 004073d0 -006c4b30 00428a60 -006c4b30 0044bf90 -006c4b30 00420170 -006c4b30 006baf40 -006c4b30 007c32c0 -006c4b30 0040bd50 -006c4b30 00a100b0 -006c4b30 0041cb80 -006c4b30 00440e30 -006c4b30 004566d0 -006c4b30 00a15640 -006c4b30 007f0780 -006c4b30 00456620 -006c4b30 007e7070 -006c4b30 0092aea0 -006c4b30 0070bf80 -006c4b30 00a105a0 -006c4b30 00407250 -006c4b30 0040a220 -006c4b30 0041cb70 -006c4b30 004314b0 -006c4b30 006d6650 -006c4b30 007dd3b0 -006c4b30 004172f0 -006c4b30 0067f010 +006c4b30 0067f070 006c4b30 007cb6e0 -006c4b30 00417320 -006c4b30 00431310 -006c4b30 0040a380 -006c4b30 006d5400 -006c4b30 006cb2e0 -006c4b30 00aef12b -006c4b30 009568e0 -006c4b30 006bbdc0 -006c4b30 006c2990 -006c4b30 00a10450 -006c4b30 00456360 +006c4b30 0040c340 +006c4b30 0040b030 +006c4b30 004563c0 +006c4b30 004567a0 +006c4b30 0092aea0 +006c4b30 00417620 +006c4b30 00444c90 +006c4b30 00420170 +006c4b30 006ad500 +006c4b30 004172f0 +006c4b30 0040a550 +006c4b30 00a105a0 +006c4b30 0043ef30 +006c4b30 004073a0 +006c4b30 0040bd50 +006c4b30 006d4e00 006c4b30 0042a260 -006c4b30 004cf210 +006c4b30 00af08b1 +006c4b30 00a104e0 +006c4b30 009305f0 +006c4b30 00a15640 +006c4b30 0040d040 +006c4b30 0040a360 +006c4b30 00435eb0 +006c4b30 006d5350 +006c4b30 00409030 +006c4b30 0040d0e0 +006c4b30 00417430 +006c4b30 0040ac60 +006c4b30 00708250 +006c4b30 007a0080 +006c4b30 0040bf20 +006c4b30 00435bc0 +006c4b30 004175b0 006c4b30 007f0800 +006c4b30 0041a790 +006c4b30 00431260 +006c4b30 0041c710 +006c4b30 00682fe0 +006c4b30 004173e0 +006c4b30 00a10660 +006c4b30 006ac710 +006c4b30 007e7070 +006c4b30 006da6f0 +006c4b30 0042a250 +006c4b30 004cf1d0 +006c4b30 0040c7c0 +006c4b30 00407480 +006c4b30 00a0fea0 +006c4b30 004cde30 +006c4b30 006a89f0 +006c4b30 00407280 +006c4b30 009bea40 +006c4b30 0040c200 +006c4b30 0041cb70 +006c4b30 00813ce0 +006c4b30 00499da0 +006c4b30 0062e0e0 +006c4b30 0042a020 +006c4b30 004073c0 006c4b30 004072d0 -006c4b30 00a0ffc0 -006c4b30 00417220 +006c4b30 0060af70 +006c4b30 00aef12b +006c4b30 0070bf80 +006c4b30 006a92e0 +006c4b30 00a0f690 +006c4b30 006b64d0 +006c4b30 007e3260 +006c4b30 00435e60 +006c4b30 0067efe0 +006c4b30 0040a9c0 +006c4b30 0042c770 +006c4b30 00417870 +006c4b30 00684b90 +006c4b30 00407270 +006c4b30 00a100b0 +006c4b30 00444c70 +006c4b30 00a10180 +006c4b30 0067f310 +006c4b30 006b83e0 +006c4b30 006be840 +006c4b30 00700060 +006c4b30 00435db0 +006c4b30 00407260 +006c4b30 004561b0 +006c4b30 006ad3c0 +006c4b30 004314b0 +006c4b30 006b5b90 +006c4b30 00435c70 +006c4b30 0067f2e0 +006c4b30 00a10510 +006c4b30 004073b0 +006c4b30 009be6b0 +006c4b30 00665c60 +006c4b30 004b3940 +006c4b30 00a10100 +006c4b30 0044bfb0 +006c4b30 00421800 +006c4b30 0042f2a0 +006c4b30 0040a7c0 +006c4b30 00407140 +006c4b30 006a9320 +006c4b30 006d90e0 +006c4b30 00435a50 +006c4b30 00aef29d +006c4b30 0040c3a0 +006c4b30 00407320 +006c4b30 004072c0 +006c4b30 0041e470 +006c4b30 006b45c0 +006c4b30 007f0780 +006c4b30 006b5b50 +006c4b30 0040af10 +006c4b30 006b8440 +006c4b30 00436090 +006c4b30 0042c710 +006c4b30 00435880 +006c4b30 007d4340 +006c4b30 0040a220 +006c4b30 0043eec0 +006c4b30 006b8310 +006c4b30 00456170 +006c4b30 00407f10 +006c4b30 007706e0 +006c4b30 0081edd0 +006c4b30 00703670 +006c4b30 00417270 +006c4b30 006d6610 +006c4b30 004171d0 +006c4b30 00452bf0 +006c4b30 004360d0 +006c4b30 006ac530 +006c4b30 00417200 006c4b30 006ac2a0 006c4b30 00a101c0 -006c4b30 0040a360 -006c4b30 006da710 -006c4b30 0067f070 -006c4b30 00417200 -006c4b30 00440e40 -006c4b30 00a10420 -006c4b30 00417870 -006c4b30 00407470 -006c4b30 00435a80 -006c4b30 00444c90 -006c4b30 004b3940 -006c4b30 006d7230 -006c4b30 00407240 -006c4b30 006a8a20 -006c4b30 006b8440 -006c4b30 004171d0 -006c4b30 0040b030 -006c4b30 006d7010 -006c4b30 00703670 -006c4b30 0040a720 -006c4b30 00417260 -006c4b30 0040ac60 -006c4b30 006832e0 +006c4b30 00417400 +006c4b30 00456870 +006c4b30 00665c00 +006c4b30 006ae820 006c4b30 00435dd0 -006c4b30 00a0fe90 -006c4b30 00435a50 -006c4b30 00435880 -006c4b30 004175b0 -006c4b30 00a0ff90 -006c4b30 006d90e0 +006c4b30 007cafe0 +006c4b30 00407240 +006c4b30 006518f0 +006c4b30 00417290 +006c4b30 00771550 +006c4b30 0067f030 +006c4b30 004e47c0 +006c4b30 004f84a0 +006c4b30 0040a720 +006c4b30 00944d10 +006c4b30 00456190 +006c4b30 00499960 +006c4b30 004cf210 +006c4b30 006c04b0 +006c4b30 004361c0 +006c4b30 004074b0 +006c4b30 0067f010 +006c4b30 00428a60 +006c4b30 004a5cf0 +006c4b30 00436060 +006c4b30 004567b0 +006c4b30 006ae280 +006c4b30 00a10540 +006c4b30 007e8f90 +006c4b30 006c2990 +006c4b30 0042d9b0 +006c4b30 00417160 +006c4b30 006ca930 +006c4b30 006daa90 +006c4b30 00aefca0 +006c4b30 006bbdc0 +006c4b30 004a2920 +006c4b30 00a115c0 +006c4b30 005cba30 +006c4b30 009be9c0 +006c4b30 006cb2e0 +006c4b30 006b82b0 +006c4b30 006ac6c0 +006c4b30 00435ad0 +006c4b30 004071c0 +006c4b30 00428b20 +006c4b30 006b68c0 +006c4b30 00456400 +006c4b30 00a10480 +006c4b30 00435d20 +006c4b30 0040a910 +006c4b30 00407170 +006c4b30 006b79d0 +006c4b30 00a0fe80 +006c4b30 0040a4d0 +006c4b30 0040a380 +006c4b30 004178d0 +006c4b30 00436080 +006c4b30 006b6470 +006c4b30 0040c780 +006c4b30 008208c0 +006c4b30 00a10450 +006c4b30 007e9080 +006c4b30 0041cb80 +006c4b30 0041cb60 +006c4b30 00407410 +006c4b30 00435a80 +006c4b30 004cf350 +006c4b30 009568e0 +006c4b30 00440e40 +006c4b30 00417840 +006c4b30 0043ee80 +006c4b30 004177e0 +006c4b30 006832e0 +006c4b30 0040b1d0 +006c4b30 007dd3b0 +006c4b30 006ae0a0 +006c4b30 00428910 +006c4b30 006b8490 +006c4b30 00407470 +006c4b30 006b99e0 +006c4b30 004566d0 +006c4b30 00452be0 +006c4b30 006b8580 +006c4b30 00428a70 +006c4b30 006baf40 +006c4b30 00812c90 +006c4b30 004476a0 +006c4b30 004561a0 +006c4b30 0040bcd0 +006c4b30 00a10600 +006c4b30 006d7520 +006c4b30 009be080 +006c4b30 006ae630 +006c4b30 006da750 +006c4b30 0092e230 006c4b30 00435c60 -006c4b30 004072c0 -006c4b30 00407140 -006c4b30 00684b90 -006ca930 006ae820 -006ca930 00812f50 -006ca930 006eef60 +006c4b30 00431310 +006c4b30 00a0ffc0 +006c4b30 00431760 +006c4b30 006a92a0 +006c4b30 00703ab0 +006c4b30 006b77d0 +006c4b30 006eef60 +006c4b30 006da710 +006c4b30 006a9360 +006c4b30 00417320 +006c4b30 006d7230 +006c4b30 006b6810 +006c4b30 00505b80 +006c4b30 0040b200 +006c4b30 006a8a20 +006c4b30 00682f20 +006c4b30 00a104b0 +006c4b30 009bea80 +006c4b30 00a0fe90 +006c4b30 00417260 +006c4b30 00a10420 +006c4b30 0040a780 +006c4b30 006a9c10 +006c4b30 006ac560 +006c4b30 00456360 +006c4b30 007c32c0 +006c4b30 0043ef20 +006c4b30 00930680 +006c4b30 00a155c0 +006c4b30 00428a50 +006c4b30 00407250 +006c4b30 0041e460 +006c4b30 00a0ff90 +006c4b30 007ebca0 +006c4b30 00682f50 +006c4b30 00417360 +006c4b30 00417860 +006c4b30 00aef253 +006c4b30 006d7010 +006c4b30 00435b50 +006c4b30 006da770 +006c4b30 004238f0 +006c4b30 006add70 +006c4b30 00435cf0 +006c4b30 006c4a90 +006c4b30 004176f0 +006c4b30 004073d0 +006c4b30 00435e90 +006c4b30 006b9450 +006c4b30 00456620 +006c4b30 00684cb0 +006c4b30 00440e30 +006c4b30 00417220 +006c4b30 00417370 +006c4b30 00420af0 +006c4b30 0044bf90 +006c4b30 006d6650 006ca930 00676150 +006ca930 006eef60 006ca930 0041d540 -006ca930 006fe410 -006ca930 0041d520 -006ca930 0040b220 006ca930 006d5400 +006ca930 006ae820 +006ca930 0040b220 006ca930 00aef12b +006ca930 0041d520 +006ca930 006fe410 +006ca930 00812f50 +006cae60 006d85a0 +006cae60 006be840 006cae60 007f0df0 006cae60 006d7d60 006cae60 006ac710 -006cae60 006be840 -006cae60 006d85a0 -006cb010 004cdcf0 -006cb010 00505b80 -006cb010 004cf210 006cb010 006831c0 006cb010 00aef12b +006cb010 00505b80 +006cb010 004cf210 006cb010 009be080 +006cb010 004cdcf0 006cb2a0 006cb010 +006cb2e0 0042c920 +006cb2e0 00435a50 +006cb2e0 00aef15c 006cb2e0 006eef60 -006cb2e0 00af08b1 -006cb2e0 EXTERNAL:00000220 +006cb2e0 0041d540 006cb2e0 00a112c0 006cb2e0 00428b20 -006cb2e0 0041d540 -006cb2e0 00435a50 +006cb2e0 00af08b1 006cb2e0 006cb2a0 -006cb2e0 00aef15c 006cb2e0 0041d520 -006cb2e0 0042c920 -006ccdd0 004cdcf0 -006ccdd0 006cb010 -006ccdd0 006eef60 -006ccdd0 00af08b1 -006ccdd0 0041d540 -006ccdd0 006b5c10 +006cb2e0 EXTERNAL:00000220 006ccdd0 00435a50 -006ccdd0 006fe410 -006ccdd0 0041d520 -006ccdd0 004cf210 +006ccdd0 006b5c10 006ccdd0 00417430 -006cd410 00435ad0 -006cd410 0060d8c0 -006cd410 007706e0 +006ccdd0 006eef60 +006ccdd0 0041d540 +006ccdd0 00af08b1 +006ccdd0 004cf210 +006ccdd0 006cb010 +006ccdd0 0041d520 +006ccdd0 006fe410 +006ccdd0 004cdcf0 006cd410 00a10630 -006cd410 006c0f30 -006cd410 0040a4d0 -006cd410 00813ce0 -006cd410 0040cae0 +006cd410 006d4a00 +006cd410 006d4db0 +006cd410 006d6ba0 006cd410 006ff2a0 +006cd410 006c0f30 006cd410 0067f070 -006cd410 007db6b0 +006cd410 004cf210 +006cd410 004f8940 +006cd410 006b7a80 +006cd410 00740bc0 +006cd410 00417170 +006cd410 00812c90 +006cd410 007e6fa0 +006cd410 004314b0 +006cd410 006b5b90 +006cd410 00435c70 +006cd410 0054ccc0 +006cd410 0040cae0 +006cd410 00456380 +006cd410 006dac30 +006cd410 006ae630 +006cd410 0043ef30 +006cd410 006d0c20 +006cd410 004567b0 +006cd410 00431310 +006cd410 00a0ffc0 +006cd410 006a92a0 +006cd410 006eef60 +006cd410 00af08b1 +006cd410 006acd10 +006cd410 0060d8c0 006cd410 0040b220 006cd410 004cf120 -006cd410 0054ccc0 -006cd410 007c3100 -006cd410 006d6ba0 -006cd410 006a89f0 -006cd410 00a0ffc0 -006cd410 00557f70 -006cd410 0043ef30 -006cd410 007b9a60 -006cd410 006b7a80 -006cd410 00a10030 -006cd410 0070f680 -006cd410 00428b20 -006cd410 006cb2e0 -006cd410 006a92a0 -006cd410 004cdcf0 -006cd410 006c2990 -006cd410 006fd7c0 -006cd410 007e6fa0 -006cd410 004567b0 -006cd410 005add40 -006cd410 004cf210 -006cd410 006acd10 -006cd410 EXTERNAL:00000220 -006cd410 00af08b1 -006cd410 006b6470 -006cd410 006ac530 -006cd410 006d0c20 -006cd410 007cafe0 -006cd410 004071f0 -006cd410 006eef60 -006cd410 006f8120 -006cd410 00aef15c -006cd410 006d4db0 -006cd410 004360f0 -006cd410 00812c90 -006cd410 006b5b90 -006cd410 00431640 -006cd410 00860d70 -006cd410 007c3380 -006cd410 006ac560 -006cd410 00417170 -006cd410 006dac30 -006cd410 004f8940 -006cd410 00759400 -006cd410 006ae630 -006cd410 00435c70 -006cd410 00452bf0 -006cd410 00407170 -006cd410 00417430 -006cd410 009e3560 -006cd410 00740bc0 006cd410 00435c20 -006cd410 00aef12b -006cd410 00456380 -006cd410 006a8c60 -006cd410 004314b0 -006cd410 006d4a00 -006cd410 007abe20 +006cd410 00431640 +006cd410 005add40 +006cd410 006c2990 006cd410 00435a50 +006cd410 00417430 +006cd410 007abe20 +006cd410 00a10030 +006cd410 006ac560 +006cd410 00860d70 +006cd410 006cb2e0 +006cd410 0070f680 +006cd410 007b9a60 +006cd410 00435ad0 +006cd410 00428b20 +006cd410 006a8c60 +006cd410 00407170 +006cd410 004071f0 +006cd410 007706e0 +006cd410 006fd7c0 +006cd410 0040a4d0 +006cd410 004360f0 +006cd410 006a89f0 +006cd410 006b6470 +006cd410 006f8120 +006cd410 00452bf0 006cd410 00431620 -006cd410 00431310 +006cd410 00813ce0 +006cd410 007db6b0 +006cd410 00557f70 +006cd410 EXTERNAL:00000220 +006cd410 007c3380 +006cd410 006ac530 +006cd410 00759400 +006cd410 00aef15c +006cd410 007c3100 +006cd410 009e3560 +006cd410 00aef12b +006cd410 007cafe0 +006cd410 004cdcf0 +006d0300 006baf40 006d0300 00408e00 006d0300 0040a5d0 -006d0300 006baf40 -006d03e0 00a112c0 006d03e0 006b82b0 +006d03e0 004238f0 +006d03e0 00431310 006d03e0 006b5de0 +006d03e0 00a112c0 +006d03e0 006eef60 +006d03e0 00684b90 006d03e0 00428b20 +006d03e0 004cf210 +006d03e0 006baf40 006d03e0 006ac2a0 +006d03e0 006b5c10 +006d03e0 00aef12b 006d03e0 007e9020 006d03e0 004cdcf0 -006d03e0 006eef60 -006d03e0 004238f0 -006d03e0 00aef12b -006d03e0 006b5c10 -006d03e0 004cf210 -006d03e0 00684b90 -006d03e0 006baf40 -006d03e0 00431310 -006d0c20 004cdcf0 006d0c20 004cf210 +006d0c20 004cdcf0 006d0c60 0041af60 006d0ca0 00a112c0 006d0ca0 006b8320 006d0dd0 00a112c0 -006d0dd0 00af08b1 006d0dd0 006b8320 -006d0ec0 0040a380 -006d0ec0 006eef60 +006d0dd0 00af08b1 006d0ec0 0040a1b0 -006d0ec0 00956780 -006d0ec0 0040b220 +006d0ec0 0040a380 +006d0ec0 0092dc30 006d0ec0 00435c70 006d0ec0 006ac760 +006d0ec0 006eef60 +006d0ec0 00956780 +006d0ec0 0040b220 006d0ec0 006ac710 -006d0ec0 0092dc30 006d0ec0 0040a5d0 -006d1580 EXTERNAL:00000220 -006d1580 006c20e0 -006d1580 00a0f4c0 -006d1580 006f8100 -006d1580 007e90f0 -006d1580 007e9080 006d1580 0044bfb0 -006d1580 007e9020 006d1580 006b84e0 +006d1580 007e90f0 +006d1580 006c20e0 +006d1580 007e9080 +006d1580 EXTERNAL:00000220 +006d1580 006f8100 006d1580 009bea80 006d1580 00aef15c +006d1580 00a0f4c0 006d1580 00aef12b +006d1580 007e9020 006d1580 006b84c0 -006d18d0 00435a80 -006d18d0 00af08b1 -006d18d0 007706e0 -006d18d0 00408e00 -006d18d0 006da530 -006d18d0 006da850 -006d18d0 006c0f30 -006d18d0 006eef60 -006d18d0 006d1580 -006d18d0 0040add0 006d18d0 004f9ad0 -006d18d0 004565e0 -006d18d0 00aef15c -006d18d0 0040b220 -006d18d0 00812c90 -006d18d0 006ac710 -006d18d0 0040ac70 006d18d0 006d6ba0 -006d18d0 007f0780 -006d18d0 007f0df0 -006d18d0 0040a940 -006d18d0 00700060 -006d18d0 00a10030 -006d18d0 00425ac0 -006d18d0 00435c70 -006d18d0 0074e9b0 006d18d0 00428b20 -006d18d0 006d0ec0 -006d18d0 00703950 +006d18d0 0040a940 +006d18d0 006c0f30 +006d18d0 006ac710 +006d18d0 00700060 +006d18d0 0040add0 006d18d0 00407170 -006d18d0 007e9020 -006d18d0 0040a380 +006d18d0 00812c90 +006d18d0 00435c70 006d18d0 0085bed0 -006d18d0 00aef12b +006d18d0 006da850 +006d18d0 006d1580 +006d18d0 007706e0 006d18d0 006a9140 +006d18d0 0040a380 +006d18d0 00425ac0 +006d18d0 00703950 +006d18d0 006eef60 +006d18d0 006da530 +006d18d0 00af08b1 +006d18d0 004565e0 +006d18d0 0040b220 +006d18d0 0074e9b0 006d18d0 00435a50 -006d2b50 00a112c0 -006d2b50 006c2990 -006d2b50 004ce6d0 -006d2b50 006d90e0 -006d2b50 004ce120 +006d18d0 00aef15c +006d18d0 00435a80 +006d18d0 00408e00 +006d18d0 0040ac70 +006d18d0 006d0ec0 +006d18d0 00aef12b +006d18d0 007e9020 +006d18d0 00a10030 +006d18d0 007f0df0 +006d18d0 007f0780 006d2b50 006ac530 -006d2b50 006a9c90 +006d2b50 00a112c0 +006d2b50 006d90e0 +006d2b50 004ce6d0 006d2b50 006b0eb0 -006d2e50 00565680 -006d2e50 004071c0 -006d2e50 0040ace0 -006d2e50 00a1aec0 -006d2e50 00694d20 -006d2e50 00420a80 -006d2e50 004a1000 -006d2e50 0041d520 -006d2e50 00925df0 -006d2e50 0040b220 -006d2e50 009a8b90 -006d2e50 00af0917 -006d2e50 0040a0d0 -006d2e50 0040ac70 -006d2e50 006b5b90 -006d2e50 004f5f20 +006d2b50 006a9c90 +006d2b50 006c2990 +006d2b50 004ce120 +006d2e50 0040b1d0 006d2e50 006b10f0 -006d2e50 006a89f0 -006d2e50 0054f670 -006d2e50 00a112c0 -006d2e50 0040a140 -006d2e50 0040b520 -006d2e50 0090b100 +006d2e50 004071c0 +006d2e50 006a8c60 +006d2e50 00694d20 +006d2e50 004e9b10 +006d2e50 00af0917 006d2e50 004b7c30 +006d2e50 00a1aec0 +006d2e50 0040b520 +006d2e50 0040a140 +006d2e50 009a8b90 +006d2e50 006b5b90 +006d2e50 00748490 +006d2e50 0040a0d0 +006d2e50 0059bed0 +006d2e50 0040b1a0 +006d2e50 0090b100 +006d2e50 009be080 +006d2e50 0040ace0 +006d2e50 006a89f0 +006d2e50 004073d0 +006d2e50 00a112c0 +006d2e50 0040a030 +006d2e50 0040b220 +006d2e50 00925df0 +006d2e50 0041d520 +006d2e50 004f5f20 006d2e50 00860ba0 +006d2e50 00420a80 +006d2e50 0054f670 006d2e50 00417430 006d2e50 00a1af90 -006d2e50 004073d0 -006d2e50 009be080 -006d2e50 0040b1a0 -006d2e50 006a8c60 +006d2e50 0040ac70 +006d2e50 004a1000 006d2e50 00aef12b -006d2e50 0040a030 -006d2e50 0059bed0 -006d2e50 00748490 -006d2e50 004e9b10 -006d2e50 0040b1d0 +006d2e50 00565680 006d4840 006b2000 006d4840 0059bed0 006d4840 004e9b10 006d48a0 00435a50 -006d4a00 EXTERNAL:00000220 -006d4a00 0067f260 006d4a00 00aef15c -006d4a00 0040cf50 -006d4a00 00aef12b 006d4a00 006da7d0 -006d4a00 00423480 -006d4a00 006ac8d0 +006d4a00 0040cf50 006d4a00 00452bf0 +006d4a00 00aef12b +006d4a00 006ac8d0 +006d4a00 00423480 006d4a00 0067f1d0 -006d4e00 006eef60 -006d4e00 00af08b1 -006d4e00 0040a220 -006d4e00 00956780 -006d4e00 00708250 -006d4e00 006b9450 -006d4e00 006fe410 +006d4a00 0067f260 +006d4a00 EXTERNAL:00000220 006d4e00 0092dc30 006d4e00 006d6ba0 +006d4e00 00708250 +006d4e00 00956780 +006d4e00 006eef60 +006d4e00 0040a220 +006d4e00 00af08b1 +006d4e00 006b9450 +006d4e00 006fe410 006d5350 006eef60 -006d5350 009be080 006d5350 00af08b1 +006d5350 009be080 006d5350 006fe410 -006d5400 00703be0 -006d5400 006ae280 -006d5400 00860c90 -006d5400 006add70 -006d5400 006ad750 -006d5400 00a648b0 +006d5400 0041a790 +006d5400 00820d30 +006d5400 006ae0a0 +006d5400 007c38c0 +006d5400 00428b20 006d5400 006b78d0 -006d5400 006eef60 +006d5400 00930220 +006d5400 004cf210 +006d5400 0081e520 +006d5400 00682ed0 +006d5400 006b7560 +006d5400 00407170 +006d5400 006ad3c0 +006d5400 006b5c10 006d5400 006b66c0 006d5400 006b79d0 -006d5400 007c38c0 -006d5400 00581200 -006d5400 006b7560 -006d5400 00a112c0 -006d5400 006ae0a0 -006d5400 00820d30 006d5400 006adf40 -006d5400 0041a790 -006d5400 006ac560 006d5400 006ad500 -006d5400 00930550 006d5400 005c93b0 -006d5400 00428b20 -006d5400 006ad870 +006d5400 009be080 +006d5400 00a648b0 006d5400 00703950 +006d5400 00581200 +006d5400 00431310 +006d5400 006add70 +006d5400 006eef60 +006d5400 00a112c0 +006d5400 00703be0 +006d5400 007c8dc0 +006d5400 006ae280 006d5400 009be140 -006d5400 00682ed0 -006d5400 00407170 +006d5400 00860c90 +006d5400 006bf120 006d5400 00694fb0 006d5400 00417430 -006d5400 0081e520 -006d5400 009be080 -006d5400 006ad3c0 -006d5400 006bf120 -006d5400 007c8dc0 -006d5400 00aef12b -006d5400 006b5c10 -006d5400 00930220 +006d5400 006ad750 006d5400 006b7280 -006d5400 EXTERNAL:00000262 006d5400 007fec00 006d5400 00638e30 -006d5400 004cf210 -006d5400 00431310 -006d60a0 006ac560 -006d60a0 00af08b1 -006d60a0 006fe410 +006d5400 EXTERNAL:00000262 +006d5400 00aef12b +006d5400 006ac560 +006d5400 006ad870 +006d5400 00930550 +006d60a0 006a89f0 006d60a0 00703950 -006d60a0 006b9910 -006d60a0 0067f070 -006d60a0 004cdcf0 006d60a0 006eef60 +006d60a0 00af08b1 006d60a0 007599d0 -006d60a0 009be080 -006d60a0 006ace60 +006d60a0 0067f070 006d60a0 004cf210 006d60a0 00435a50 -006d60a0 006a89f0 +006d60a0 006b9910 006d60a0 009e0680 -006d6690 006ff2a0 -006d6690 00a112c0 -006d6690 006eef60 -006d6690 00703330 -006d6690 0040a380 -006d6690 00aef12b -006d6690 00703190 -006d6690 006fe410 -006d6690 006ee440 +006d60a0 006ac560 +006d60a0 006ace60 +006d60a0 009be080 +006d60a0 006fe410 +006d60a0 004cdcf0 006d6690 00407170 +006d6690 0040a380 +006d6690 006eef60 +006d6690 00a112c0 +006d6690 006ff2a0 +006d6690 00aef12b 006d6690 007e9020 -006d6ba0 00956780 +006d6690 00703190 +006d6690 00703330 +006d6690 006ee440 +006d6690 006fe410 006d6ba0 0092dc30 +006d6ba0 00956780 006d6d20 006eef60 006d6d80 00740bc0 +006d6d80 00435a80 006d6d80 00a112c0 006d6d80 006eef60 -006d6d80 00435a80 +006d6d80 00428b20 006d6d80 00aef12b 006d6d80 007706e0 -006d6d80 00428b20 -006d7010 004cdcf0 -006d7010 006eef60 -006d7010 009be080 -006d7010 00af0917 -006d7010 006fe410 -006d7010 006b5b90 -006d7010 004cf210 006d7010 006a89f0 -006d7230 006a8db0 -006d7230 00a0f4c0 +006d7010 006b5b90 +006d7010 006eef60 +006d7010 00af0917 +006d7010 004cf210 +006d7010 009be080 +006d7010 006fe410 +006d7010 004cdcf0 006d7230 006da8e0 006d7230 0044be50 -006d7520 00703670 -006d7520 00af08b1 -006d7520 0041d540 +006d7230 00a0f4c0 +006d7230 006a8db0 006d7520 0040ace0 -006d7520 006b9450 -006d7520 00428b20 -006d7520 006b31b0 -006d7520 0041d520 -006d7520 0040ae70 -006d7520 006d7cf0 -006d7520 0067f070 -006d7520 006eef60 -006d7520 0040add0 -006d7520 00708250 -006d7520 006ac760 006d7520 006d6ba0 +006d7520 006eef60 +006d7520 0041d540 +006d7520 006d7cf0 +006d7520 00428b20 +006d7520 00af08b1 +006d7520 0067f070 +006d7520 0040ae70 +006d7520 0041d520 +006d7520 006b9450 006d7520 004564b0 +006d7520 0040add0 +006d7520 006ac760 +006d7520 00708250 +006d7520 006b31b0 +006d7520 00703670 006d7cf0 006eef60 006d7cf0 00428b20 -006d7df0 00447770 -006d7df0 00499190 006d7df0 00435a50 +006d7df0 00499190 +006d7df0 00447770 006d81c0 00499380 006d81c0 004cf210 006d8260 00956110 006d8290 009561e0 -006d82d0 004288a0 006d82d0 00435a50 006d82d0 00748490 -006d82d0 009562d0 +006d82d0 004288a0 006d82d0 0067f170 +006d82d0 009562d0 006d85a0 00665c60 -006d85a0 004288a0 -006d85a0 006d82d0 006d85a0 00435a50 +006d85a0 006d82d0 006d85a0 00748490 -006d85a0 009562d0 +006d85a0 004288a0 006d85a0 0067f170 -006d88b0 004cdcf0 +006d85a0 009562d0 006d88b0 004cf210 -006d8990 00447770 -006d8990 006a8db0 +006d88b0 004cdcf0 006d8990 00417430 -006d8b20 004cdcf0 +006d8990 006a8db0 +006d8990 00447770 006d8b20 006eef60 -006d8b20 00aef12b -006d8b20 006d85a0 006d8b20 006d82d0 006d8b20 00428b20 +006d8b20 00aef12b +006d8b20 006d85a0 006d8b20 004cf210 +006d8b20 004cdcf0 006d8cf0 004cf210 -006d8d80 006d85a0 006d8d80 006d82d0 +006d8d80 006d85a0 006d8e10 0090b100 -006d8e40 EXTERNAL:00000220 -006d8e40 00a112c0 +006d8e40 0040cf00 006d8e40 0040bd50 006d8e40 00aef15c +006d8e40 00408e00 +006d8e40 00a112c0 006d8e40 0040b220 006d8e40 00aef12b -006d8e40 00408e00 +006d8e40 EXTERNAL:00000220 006d8e40 0040a5d0 -006d8e40 0040cf00 006d9050 006d85a0 -006d90e0 006d85a0 -006d90e0 006d82d0 006d90e0 00435a50 -006d9320 006d82d0 +006d90e0 006d82d0 +006d90e0 006d85a0 006d9320 00435a50 -006d9440 00956780 +006d9320 006d82d0 006d9440 0092dc30 -006d9550 004cdcf0 -006d9550 00407ae0 -006d9550 0040d040 -006d9550 0040b220 -006d9550 006fe410 -006d9550 00407690 -006d9550 00407f10 +006d9440 00956780 006d9550 006ac2a0 -006d9550 004cf210 +006d9550 00407690 006d9550 004087a0 -006d97e0 00a112c0 -006d97e0 00703670 -006d97e0 0040c000 -006d97e0 0041d540 +006d9550 0040b220 +006d9550 00407f10 +006d9550 00407ae0 +006d9550 004cf210 +006d9550 0040d040 +006d9550 006fe410 +006d9550 004cdcf0 006d97e0 0041b4f0 -006d97e0 0040bf30 -006d97e0 00435c70 -006d97e0 00428b20 -006d97e0 0041d520 -006d97e0 0041af60 -006d97e0 00a648b0 -006d97e0 006c0f30 -006d97e0 0040a5d0 -006d97e0 004cdcf0 -006d97e0 0040a1b0 -006d97e0 00956780 -006d97e0 006b45c0 -006d97e0 006a8c60 -006d97e0 0040b220 006d97e0 0092dc30 +006d97e0 00a648b0 +006d97e0 0040c000 +006d97e0 00a112c0 +006d97e0 0041d540 +006d97e0 006a8c60 +006d97e0 00428b20 +006d97e0 0040b220 +006d97e0 006c0f30 006d97e0 004cf210 -006da530 004cdcf0 -006da530 006d1580 -006da530 009be080 -006da530 00aef15c +006d97e0 0041d520 +006d97e0 0040a5d0 +006d97e0 0041af60 +006d97e0 0040a1b0 +006d97e0 0040bf30 +006d97e0 00956780 +006d97e0 00435c70 +006d97e0 00703670 +006d97e0 006b45c0 +006d97e0 004cdcf0 006da530 0060b7a0 -006da530 006da850 +006da530 00aef15c 006da530 006c1ac0 +006da530 006da850 +006da530 006d1580 006da530 004cf210 +006da530 009be080 +006da530 004cdcf0 006da7b0 00aef15c 006da7b0 00499380 -006da7d0 00423480 006da7d0 00499950 +006da7d0 00423480 006da830 00aef15c -006da850 EXTERNAL:00000220 006da850 00aef15c +006da850 EXTERNAL:00000220 006daa90 00af08ff -006daac0 0040c740 -006daac0 0040cee0 -006daac0 0040cad0 -006daac0 00af08bd -006daac0 00af05e5 006daac0 0040cf00 +006daac0 00af08bd +006daac0 0040cee0 +006daac0 00af05e5 +006daac0 0040c740 +006daac0 0040cad0 006dac00 004f86d0 006dac30 00af08f9 006dac60 0072fd10 006dacd0 007cafe0 -006dae40 00a112c0 -006dae40 EXTERNAL:00000220 -006dae40 006c20e0 -006dae40 00a0f4c0 -006dae40 00733610 -006dae40 00771550 -006dae40 0049cbf0 -006dae40 004a11c0 -006dae40 007e90f0 -006dae40 006da850 006dae40 0044bfb0 -006dae40 007cb6e0 -006dae40 007e9020 +006dae40 00a112c0 006dae40 006b84e0 -006dae40 009bea80 -006dae40 009be080 -006dae40 00aef15c -006dae40 00aef12b -006dae40 00734180 -006dae40 00426940 006dae40 00865340 +006dae40 007e90f0 +006dae40 00733610 +006dae40 006c20e0 +006dae40 007cb6e0 +006dae40 EXTERNAL:00000220 +006dae40 00426940 +006dae40 00aef15c +006dae40 009bea80 +006dae40 0049cbf0 006dae40 006ee640 +006dae40 00a0f4c0 +006dae40 006da850 +006dae40 00aef12b +006dae40 007e9020 006dae40 0049cb60 -006ddcd0 EXTERNAL:00000220 -006ddcd0 006ddcd0 -006ddcd0 007cb6e0 -006ddcd0 009bea80 -006ddcd0 006f8120 -006ddcd0 0042a270 -006ddcd0 00aef15c +006dae40 004a11c0 +006dae40 009be080 +006dae40 00734180 +006dae40 00771550 006ddcd0 00733ca0 -006ddcd0 00734180 -006ddcd0 00865340 -006ddcd0 00426940 -006ddcd0 00a112c0 -006ddcd0 00740db0 -006ddcd0 00734900 -006ddcd0 0049cbf0 -006ddcd0 006f8100 006ddcd0 007ec0a0 -006ddcd0 004a11c0 -006ddcd0 007e90f0 -006ddcd0 007e8f90 -006ddcd0 009be630 -006ddcd0 0044bfb0 -006ddcd0 007e9020 006ddcd0 009be670 -006ddcd0 009be080 +006ddcd0 0042a270 006ddcd0 006dac60 -006ddcd0 00aef12b +006ddcd0 00865340 +006ddcd0 007cb6e0 +006ddcd0 00426940 +006ddcd0 0049cbf0 006ddcd0 009be6b0 -006e0010 006a8290 +006ddcd0 009be080 +006ddcd0 0044bfb0 +006ddcd0 00a112c0 +006ddcd0 009be630 +006ddcd0 006f8120 +006ddcd0 007e8f90 +006ddcd0 007e90f0 +006ddcd0 00734900 +006ddcd0 EXTERNAL:00000220 +006ddcd0 006f8100 +006ddcd0 00aef15c +006ddcd0 009bea80 +006ddcd0 00740db0 +006ddcd0 00aef12b +006ddcd0 007e9020 +006ddcd0 006ddcd0 +006ddcd0 004a11c0 +006ddcd0 00734180 006e0010 004074c0 +006e0010 006a8290 006e0130 00aef15c 006e0130 006e0160 -006e0160 0040d040 -006e0160 006a8850 +006e0160 004087a0 006e0160 00407f10 006e0160 004cf210 -006e0160 004087a0 -006e02f0 EXTERNAL:00000220 -006e02f0 006a93a0 -006e02f0 0040bd50 -006e02f0 006eee10 -006e02f0 00816250 -006e02f0 007376c0 -006e02f0 00456750 -006e02f0 0042c920 -006e02f0 006ddcd0 -006e02f0 0072fd10 -006e02f0 006eef60 -006e02f0 00436140 -006e02f0 00aef15c -006e02f0 00956780 -006e02f0 00708250 -006e02f0 006e1a80 -006e02f0 00863340 -006e02f0 006e21f0 -006e02f0 008279a0 -006e02f0 0040a760 -006e02f0 00a112c0 -006e02f0 00703670 -006e02f0 006e2570 -006e02f0 00814980 -006e02f0 007ec0a0 -006e02f0 007e90f0 -006e02f0 00428b20 -006e02f0 009be630 -006e02f0 009bf930 -006e02f0 0040a5d0 -006e02f0 007e9020 -006e02f0 00738470 -006e02f0 009be670 -006e02f0 006ee200 -006e02f0 006e17c0 -006e02f0 0040a380 -006e02f0 009be080 -006e02f0 0040a1b0 -006e02f0 006dac60 -006e02f0 00aef12b -006e02f0 008151e0 -006e02f0 004288a0 -006e02f0 0092dc30 -006e02f0 004cf210 -006e02f0 00730b80 +006e0160 006a8850 +006e0160 0040d040 006e02f0 0040cf00 -006e1640 00a0f4c0 +006e02f0 0042c920 +006e02f0 0092dc30 +006e02f0 007ec0a0 +006e02f0 009be670 +006e02f0 006e2570 +006e02f0 006dac60 +006e02f0 006ee200 +006e02f0 00428b20 +006e02f0 00814980 +006e02f0 004cf210 +006e02f0 006e1a80 +006e02f0 008279a0 +006e02f0 006a93a0 +006e02f0 007376c0 +006e02f0 006eee10 +006e02f0 009be080 +006e02f0 00703670 +006e02f0 0040bd50 +006e02f0 0040a380 +006e02f0 00436140 +006e02f0 00738470 +006e02f0 006e21f0 +006e02f0 00456750 +006e02f0 00a112c0 +006e02f0 009be630 +006e02f0 00730b80 +006e02f0 006eef60 +006e02f0 0040a760 +006e02f0 008151e0 +006e02f0 007e90f0 +006e02f0 009bf930 +006e02f0 00816250 +006e02f0 EXTERNAL:00000220 +006e02f0 0040a5d0 +006e02f0 0040a1b0 +006e02f0 006e17c0 +006e02f0 0072fd10 +006e02f0 00863340 +006e02f0 00aef15c +006e02f0 00708250 +006e02f0 00956780 +006e02f0 00aef12b +006e02f0 007e9020 +006e02f0 004288a0 +006e02f0 006ddcd0 006e1640 006e30a0 -006e1640 006eee10 006e1640 004d3130 006e1640 004d3080 -006e1640 00407f10 -006e1640 004d6ee0 006e1640 007eeeb0 -006e17c0 004cdcf0 -006e17c0 009be080 -006e17c0 00aef15c -006e17c0 0060b7a0 -006e17c0 006ee340 -006e17c0 006da850 -006e17c0 00703950 -006e17c0 004cf210 +006e1640 00a0f4c0 +006e1640 00407f10 +006e1640 006eee10 +006e1640 004d6ee0 006e17c0 006dae40 -006e1910 00a112c0 +006e17c0 006ee340 +006e17c0 00703950 +006e17c0 0060b7a0 +006e17c0 00aef15c +006e17c0 006da850 +006e17c0 004cf210 +006e17c0 009be080 +006e17c0 004cdcf0 006e1910 006ee340 006e1910 007ec0a0 +006e1910 00a112c0 006e1910 006ee240 -006e1a80 004cdcf0 -006e1a80 006e1d70 -006e1a80 0040b220 -006e1a80 00408e00 -006e1a80 0040ac70 006e1a80 00416440 006e1a80 006ac2a0 -006e1a80 004cf210 -006e1a80 0040aaf0 006e1a80 00694fb0 -006e1d70 0040cae0 -006e1d70 EXTERNAL:00000220 -006e1d70 0040cf50 +006e1a80 00408e00 +006e1a80 0040ac70 +006e1a80 0040aaf0 +006e1a80 0040b220 +006e1a80 006e1d70 +006e1a80 004cf210 +006e1a80 004cdcf0 006e1d70 00aef15c +006e1d70 0040cf50 +006e1d70 0040cae0 006e1d70 00aef12b +006e1d70 EXTERNAL:00000220 006e1e60 006e21f0 -006e1e90 00a112c0 -006e1e90 EXTERNAL:00000220 -006e1e90 0040c550 +006e1e90 0040cf00 +006e1e90 0040bf30 +006e1e90 0072fd10 006e1e90 00aef15c +006e1e90 00a112c0 006e1e90 0040cf50 006e1e90 0040b220 -006e1e90 0040bf30 006e1e90 00aef12b -006e1e90 0072fd10 +006e1e90 0040c550 006e1e90 0040ccd0 006e1e90 00408640 -006e1e90 0040cf00 -006e21f0 EXTERNAL:00000220 -006e21f0 0040c000 -006e21f0 0040cf50 -006e21f0 00aef15c +006e1e90 EXTERNAL:00000220 006e21f0 0040bf30 -006e21f0 00aef12b -006e21f0 00748490 -006e21f0 006e1e90 006e21f0 0040cf00 -006e2570 0040bd50 -006e2570 00af08b1 -006e2570 00a0f4c0 -006e2570 00408e00 -006e2570 006fe410 -006e2570 0072fd10 -006e2570 00408b90 -006e2570 006eef60 -006e2570 00709db0 -006e2570 004e45c0 -006e2570 00956780 -006e2570 0040b220 -006e2570 006e1a80 -006e2570 00812c90 -006e2570 00407f10 -006e2570 0040a7e0 -006e2570 00a112c0 -006e2570 00416440 -006e2570 00709c40 -006e2570 0040a5d0 -006e2570 00694fb0 -006e2570 00408830 -006e2570 004cdcf0 -006e2570 0040a380 -006e2570 008151e0 -006e2570 0071eb30 +006e21f0 00aef15c +006e21f0 0040c000 +006e21f0 006e1e90 +006e21f0 0040cf50 +006e21f0 00748490 +006e21f0 00aef12b +006e21f0 EXTERNAL:00000220 006e2570 0092dc30 +006e2570 00408b90 006e2570 004cf210 -006e3020 0040a780 +006e2570 006e1a80 +006e2570 0071eb30 +006e2570 00416440 +006e2570 00709db0 +006e2570 00812c90 +006e2570 0040a7e0 +006e2570 00a0f4c0 +006e2570 00407f10 +006e2570 0040bd50 +006e2570 0040a380 +006e2570 006eef60 +006e2570 00a112c0 +006e2570 00af08b1 +006e2570 008151e0 +006e2570 0040b220 +006e2570 00709c40 +006e2570 004e45c0 +006e2570 0040a5d0 +006e2570 0072fd10 +006e2570 00694fb0 +006e2570 00408e00 +006e2570 00956780 +006e2570 00408830 +006e2570 006fe410 +006e2570 004cdcf0 006e3020 0040a380 -006e30a0 00a112c0 -006e30a0 006e1d70 +006e3020 0040a780 006e30a0 006e2570 +006e30a0 00814a50 006e30a0 00414a80 -006e30a0 0042b560 -006e30a0 00816250 +006e30a0 00a112c0 +006e30a0 00730b80 +006e30a0 006e21f0 +006e30a0 005b1500 +006e30a0 008151e0 006e30a0 007e90f0 +006e30a0 0043eca0 +006e30a0 00424540 +006e30a0 006e1a80 +006e30a0 004cf210 +006e30a0 00816250 006e30a0 004d7190 006e30a0 0072fd10 -006e30a0 00424540 -006e30a0 004cdcf0 -006e30a0 008151e0 -006e30a0 006e1a80 -006e30a0 005b1500 -006e30a0 006e21f0 -006e30a0 0043eca0 -006e30a0 00730b80 -006e30a0 004cf210 +006e30a0 0042b560 +006e30a0 006e1d70 006e30a0 004149d0 -006e30a0 00814a50 +006e30a0 004cdcf0 006e3800 006ee340 006e38d0 006ee340 006e38d0 006b0eb0 -006e3940 0040a780 -006e3940 00409030 -006e3940 0040bd50 -006e3940 00704f20 -006e3940 006f9770 -006e3940 0042c920 -006e3940 00408e00 -006e3940 0041d520 -006e3940 00a648b0 -006e3940 0040a4d0 -006e3940 006e1e90 -006e3940 0067f070 -006e3940 0040cae0 -006e3940 007599d0 -006e3940 00956780 -006e3940 006e6e40 -006e3940 006a92e0 -006e3940 00417870 -006e3940 006e21f0 -006e3940 009dcc70 -006e3940 00703670 -006e3940 007f0780 -006e3940 0040c000 -006e3940 007bf490 -006e3940 006e30a0 -006e3940 00428b20 -006e3940 007e90f0 -006e3940 0040a380 -006e3940 009be080 -006e3940 00833420 -006e3940 009568e0 -006e3940 00407690 006e3940 0040cf00 -006e3940 EXTERNAL:00000220 -006e3940 00435a80 -006e3940 007ab130 +006e3940 006832e0 +006e3940 0092dc30 +006e3940 0042c920 006e3940 0040a720 -006e3940 006ee340 -006e3940 00816250 -006e3940 00407380 -006e3940 006f9d20 +006e3940 006e1e90 +006e3940 00417870 006e3940 006edfa0 -006e3940 006eef60 -006e3940 0040add0 -006e3940 004238f0 -006e3940 00aef15c -006e3940 006ae820 -006e3940 00708250 +006e3940 0067f070 006e3940 00af0917 +006e3940 006e6e40 +006e3940 00862fe0 006e3940 00812c90 -006e3940 00407e90 -006e3940 00407f10 -006e3940 00813520 -006e3940 006fdc10 +006e3940 00435c70 +006e3940 00748490 +006e3940 0040cae0 +006e3940 009dcc70 +006e3940 006e7be0 +006e3940 009be080 +006e3940 006ee750 +006e3940 0040bd50 006e3940 00665c60 +006e3940 00703ab0 +006e3940 0044bfb0 +006e3940 006eef60 +006e3940 0041d540 +006e3940 006e21f0 +006e3940 008151e0 +006e3940 007e8f90 +006e3940 007e90f0 +006e3940 00813520 +006e3940 007ab130 +006e3940 0041d520 +006e3940 0040d040 +006e3940 0040a5d0 +006e3940 00409030 +006e3940 00435a50 +006e3940 006ee340 +006e3940 00708250 +006e3940 007abe20 006e3940 00aefca0 +006e3940 0040a780 +006e3940 007f0780 006e3940 0041a790 006e3940 006e2570 -006e3940 0041d540 -006e3940 0040d040 -006e3940 006ee750 -006e3940 00435c70 -006e3940 00862fe0 -006e3940 007e8f90 -006e3940 006ed690 -006e3940 0044bfb0 -006e3940 00452bf0 -006e3940 00703950 +006e3940 00428b20 +006e3940 006f9d20 +006e3940 00833420 +006e3940 00407380 +006e3940 0040add0 006e3940 00682ed0 -006e3940 0040a5d0 -006e3940 007e9020 -006e3940 006e17c0 -006e3940 004073d0 -006e3940 0040a1b0 -006e3940 00aef12b -006e3940 008151e0 006e3940 0041c770 -006e3940 0092dc30 -006e3940 00435a50 -006e3940 006e7be0 -006e3940 006832e0 -006e3940 007abe20 +006e3940 00407690 +006e3940 00704f20 +006e3940 00407f10 +006e3940 006ed690 +006e3940 00703670 +006e3940 0040a4d0 +006e3940 006fdc10 +006e3940 006e30a0 +006e3940 0040a380 +006e3940 00a648b0 +006e3940 00703950 +006e3940 0040c000 +006e3940 004238f0 +006e3940 004073d0 +006e3940 007599d0 +006e3940 00452bf0 +006e3940 007bf490 +006e3940 EXTERNAL:00000220 +006e3940 00816250 +006e3940 0040a1b0 +006e3940 006e17c0 +006e3940 00407e90 +006e3940 006f9770 +006e3940 00aef15c +006e3940 00435a80 +006e3940 00408e00 +006e3940 00956780 +006e3940 009568e0 +006e3940 006ae820 006e3940 009b92c0 -006e3940 00748490 -006e3940 00703ab0 +006e3940 00aef12b +006e3940 007e9020 +006e3940 006a92e0 +006e69b0 0040a140 +006e69b0 00aef5af +006e69b0 006b10f0 +006e69b0 00aef29d 006e69b0 00a112c0 006e69b0 008630c0 -006e69b0 00aef5af -006e69b0 0040a140 -006e69b0 0040b220 -006e69b0 00af0917 006e69b0 0040a0d0 006e69b0 0040a030 -006e69b0 00aef29d -006e69b0 006b10f0 +006e69b0 0040b220 006e69b0 00aef253 -006e6e40 006ee340 -006e6e40 00929b40 -006e6e40 006da850 -006e6e40 0041d520 -006e6e40 006ee440 -006e6e40 006eef60 -006e6e40 007599d0 -006e6e40 00aef15c -006e6e40 00956780 -006e6e40 006e1a80 +006e69b0 00af0917 +006e6e40 0092dc30 +006e6e40 006dae40 006e6e40 00417870 -006e6e40 007499a0 -006e6e40 00813520 +006e6e40 00428b20 +006e6e40 006e1a80 +006e6e40 0085bed0 +006e6e40 006da850 +006e6e40 006eea30 +006e6e40 006fd7c0 +006e6e40 006ee440 +006e6e40 006e30a0 +006e6e40 006a8990 +006e6e40 00703ab0 +006e6e40 006eef60 006e6e40 00a112c0 006e6e40 0041d540 -006e6e40 006e30a0 -006e6e40 00428b20 -006e6e40 006a8990 -006e6e40 006c2750 +006e6e40 007599d0 +006e6e40 00813520 +006e6e40 007499a0 +006e6e40 0041d520 006e6e40 0040a5d0 -006e6e40 00929a20 006e6e40 0040a1b0 -006e6e40 006fd7c0 -006e6e40 0085bed0 -006e6e40 00aef12b -006e6e40 006eea30 -006e6e40 0092dc30 -006e6e40 00638e30 +006e6e40 00929b40 006e6e40 00435a50 -006e6e40 00703ab0 -006e6e40 006dae40 -006e7be0 00956780 -006e7be0 006ee340 +006e6e40 006ee340 +006e6e40 00aef15c +006e6e40 00956780 +006e6e40 006c2750 +006e6e40 00638e30 +006e6e40 00aef12b +006e6e40 00929a20 006e7be0 0092dc30 -006e7dc0 006eef60 -006e7dc0 00414550 -006e7dc0 00956780 -006e7dc0 00708250 -006e7dc0 009568e0 -006e7dc0 00456750 -006e7dc0 0072fe00 -006e7dc0 007e9080 +006e7be0 006ee340 +006e7be0 00956780 006e7dc0 0092dc30 006e7dc0 00417430 006e7dc0 009e0180 -006e83a0 007cafe0 +006e7dc0 00956780 +006e7dc0 0072fe00 +006e7dc0 00456750 +006e7dc0 00708250 +006e7dc0 006eef60 +006e7dc0 009568e0 +006e7dc0 00414550 +006e7dc0 007e9080 006e83a0 0041b770 -006e83a0 007db6b0 006e83a0 007cb060 006e83a0 00435c70 -006e84d0 00a112c0 -006e84d0 007588a0 -006e84d0 007bf3d0 -006e84d0 00af08b1 -006e84d0 007bf490 -006e84d0 00759400 -006e84d0 00425ac0 -006e84d0 00428b20 -006e84d0 0041af60 +006e83a0 007cafe0 +006e83a0 007db6b0 006e84d0 00a648b0 -006e84d0 007e9080 -006e84d0 007cb6e0 -006e84d0 00771f60 -006e84d0 007cafe0 006e84d0 007afc20 -006e84d0 007db6b0 +006e84d0 00425ac0 +006e84d0 00a112c0 006e84d0 006eef60 -006e84d0 009be080 -006e84d0 00758d00 -006e84d0 007d8630 -006e84d0 00407f10 +006e84d0 00af08b1 +006e84d0 00428b20 +006e84d0 007bf490 +006e84d0 007db6b0 +006e84d0 007bf3d0 +006e84d0 007cb6e0 +006e84d0 007e9080 +006e84d0 007588a0 006e84d0 00815800 +006e84d0 0041af60 +006e84d0 00759400 +006e84d0 00771f60 +006e84d0 00407f10 +006e84d0 007cafe0 006e84d0 006dad80 -006e8ae0 00791320 -006e8ae0 0078f840 -006e8ae0 004d3080 -006e8ae0 00665a30 -006e8ae0 007da7a0 -006e8ae0 007599d0 -006e8ae0 007c8f80 -006e8ae0 009302e0 -006e8ae0 007c8050 -006e8ae0 007cae60 -006e8ae0 006a92e0 -006e8ae0 007d8240 -006e8ae0 00772530 -006e8ae0 00705ee0 -006e8ae0 007d65e0 -006e8ae0 006e1d70 -006e8ae0 006e30a0 -006e8ae0 00428b20 -006e8ae0 007e90f0 -006e8ae0 00763570 -006e8ae0 00758c20 -006e8ae0 0040a380 -006e8ae0 0059e2a0 -006e8ae0 0085bed0 -006e8ae0 007abd30 -006e8ae0 00704360 -006e8ae0 007e2100 -006e8ae0 00791530 -006e8ae0 008631b0 -006e8ae0 004d6ee0 -006e8ae0 007bf640 -006e8ae0 007d4170 -006e8ae0 004215a0 -006e8ae0 00af08b1 -006e8ae0 004175b0 -006e8ae0 006b6470 -006e8ae0 007c3460 -006e8ae0 006ac530 -006e8ae0 009a2d20 -006e8ae0 0072fd70 -006e8ae0 0072fd10 -006e8ae0 007cb6e0 -006e8ae0 007c9d10 -006e8ae0 00930980 -006e8ae0 007cafe0 -006e8ae0 007911c0 -006e8ae0 006eef60 -006e8ae0 00414550 -006e8ae0 0065cf80 -006e8ae0 00758a70 -006e8ae0 00812c90 -006e8ae0 009bfa00 -006e8ae0 00813520 -006e8ae0 007ab6b0 -006e8ae0 00665c60 -006e8ae0 009587e0 -006e8ae0 00759e20 -006e8ae0 0041d540 -006e8ae0 00733ff0 -006e8ae0 0040d040 -006e8ae0 007d4150 -006e8ae0 004f8940 -006e8ae0 009bfae0 -006e8ae0 00435c70 -006e8ae0 007e9080 -006e8ae0 0072fe00 -006e8ae0 00771f60 -006e8ae0 00407170 -006e8ae0 00417430 -006e8ae0 007eeeb0 -006e8ae0 00724af0 -006e8ae0 00929a20 -006e8ae0 006dac60 -006e8ae0 00aef12b -006e8ae0 0040c740 -006e8ae0 00758f90 -006e8ae0 006a9320 -006e8ae0 006b84c0 -006e8ae0 009b92c0 -006e8ae0 00505c80 -006e8ae0 00748490 -006e8ae0 00703ab0 -006e8ae0 007c3550 -006e8ae0 009e0680 -006e8ae0 00647170 -006e8ae0 006e2ff0 -006e8ae0 009bf990 -006e8ae0 00703be0 -006e8ae0 007d2a20 -006e8ae0 009586f0 -006e8ae0 00733610 -006e8ae0 00612890 -006e8ae0 007706e0 -006e8ae0 006e84d0 -006e8ae0 006da790 -006e8ae0 0041af60 -006e8ae0 0041d520 -006e8ae0 00724bd0 -006e8ae0 00499270 -006e8ae0 0075e1d0 -006e8ae0 007906f0 -006e8ae0 0040cf50 -006e8ae0 00771800 -006e8ae0 00956780 -006e8ae0 006e6e40 -006e8ae0 007c3410 -006e8ae0 007d2170 -006e8ae0 00417870 -006e8ae0 006e21f0 -006e8ae0 004d7100 -006e8ae0 007caa00 -006e8ae0 007d34f0 -006e8ae0 00771620 -006e8ae0 00435e00 -006e8ae0 009a3410 -006e8ae0 007bf3d0 -006e8ae0 00740db0 -006e8ae0 00428590 -006e8ae0 007bf490 -006e8ae0 007d58f0 -006e8ae0 007ab380 -006e8ae0 00759390 -006e8ae0 007aa800 -006e8ae0 006ee200 -006e8ae0 007716c0 -006e8ae0 00682b90 -006e8ae0 00758d00 -006e8ae0 00833420 -006e8ae0 007595b0 -006e8ae0 007abb00 -006e8ae0 0062a930 -006e8ae0 00930680 -006e8ae0 007717c0 -006e8ae0 00709df0 -006e8ae0 007ab130 -006e8ae0 0075e050 -006e8ae0 00771550 -006e8ae0 006ed580 -006e8ae0 00929b40 -006e8ae0 009ad210 -006e8ae0 007d2fc0 -006e8ae0 006e7dc0 -006e8ae0 006f8120 -006e8ae0 007a3af0 -006e8ae0 00759620 -006e8ae0 006e8380 -006e8ae0 0092a2d0 -006e8ae0 006e1a80 -006e8ae0 009be2a0 -006e8ae0 005b1500 -006e8ae0 007c9e30 -006e8ae0 004e4690 -006e8ae0 0081e9d0 -006e8ae0 0040ccd0 -006e8ae0 006dad40 -006e8ae0 00815800 -006e8ae0 00a112c0 -006e8ae0 006e83a0 -006e8ae0 007915a0 -006e8ae0 00759400 -006e8ae0 00425ac0 -006e8ae0 006ee750 -006e8ae0 007e8f90 -006e8ae0 007ca840 -006e8ae0 007d3180 -006e8ae0 006dacd0 -006e8ae0 007e9020 -006e8ae0 00408830 -006e8ae0 006e17c0 -006e8ae0 007b2200 -006e8ae0 007716f0 -006e8ae0 0072fe30 -006e8ae0 00759500 +006e84d0 007d8630 +006e84d0 00758d00 +006e84d0 009be080 006e8ae0 0092dc30 -006e8ae0 0067f0d0 -006e8ae0 009e5ab0 -006e8ae0 00638e30 -006e8ae0 00435a50 -006e8ae0 00431310 006e8ae0 006dae40 -006ed580 006e2570 -006ed580 0040b430 +006e8ae0 007c3550 +006e8ae0 006dac60 +006e8ae0 00759390 +006e8ae0 00705ee0 +006e8ae0 00414550 +006e8ae0 007cae60 +006e8ae0 00759e20 +006e8ae0 007cb6e0 +006e8ae0 007d3180 +006e8ae0 00815800 +006e8ae0 007d34f0 +006e8ae0 00748490 +006e8ae0 00435e00 +006e8ae0 00791530 +006e8ae0 007911c0 +006e8ae0 009bfa00 +006e8ae0 007716f0 +006e8ae0 009302e0 +006e8ae0 006ee750 +006e8ae0 007c3410 +006e8ae0 00682b90 +006e8ae0 007abb00 +006e8ae0 00724bd0 +006e8ae0 00930980 +006e8ae0 006dacd0 +006e8ae0 00af08b1 +006e8ae0 00703be0 +006e8ae0 007aa800 +006e8ae0 007e8f90 +006e8ae0 006e2ff0 +006e8ae0 00763570 +006e8ae0 004215a0 +006e8ae0 007c8f80 +006e8ae0 007e90f0 +006e8ae0 0059e2a0 +006e8ae0 00813520 +006e8ae0 007ab130 +006e8ae0 0041d520 +006e8ae0 0040d040 +006e8ae0 0041af60 +006e8ae0 007d4170 +006e8ae0 007906f0 +006e8ae0 00417430 +006e8ae0 00791320 +006e8ae0 007c9e30 +006e8ae0 00740db0 +006e8ae0 004175b0 +006e8ae0 007717c0 +006e8ae0 007716c0 +006e8ae0 00771800 +006e8ae0 006ee200 +006e8ae0 007caa00 +006e8ae0 00428b20 +006e8ae0 00833420 +006e8ae0 009bfae0 +006e8ae0 008631b0 +006e8ae0 00407170 +006e8ae0 007ca840 +006e8ae0 0072fe30 +006e8ae0 006b84c0 +006e8ae0 00758f90 +006e8ae0 0040a380 +006e8ae0 006b6470 +006e8ae0 007599d0 +006e8ae0 007d2a20 +006e8ae0 007bf490 +006e8ae0 007c3460 +006e8ae0 007e9080 +006e8ae0 009a2d20 +006e8ae0 00428590 +006e8ae0 0040ccd0 +006e8ae0 00733ff0 +006e8ae0 0072fd10 +006e8ae0 00759400 +006e8ae0 00956780 +006e8ae0 006e7dc0 +006e8ae0 007d8240 +006e8ae0 00638e30 +006e8ae0 00aef12b +006e8ae0 009b92c0 +006e8ae0 00724af0 +006e8ae0 009587e0 +006e8ae0 00758d00 +006e8ae0 006a92e0 +006e8ae0 00759620 +006e8ae0 00417870 +006e8ae0 0081e9d0 +006e8ae0 007e2100 +006e8ae0 00733610 +006e8ae0 009e5ab0 +006e8ae0 006e1a80 +006e8ae0 004f8940 +006e8ae0 006e6e40 +006e8ae0 0075e050 +006e8ae0 006da790 +006e8ae0 00771f60 +006e8ae0 00812c90 +006e8ae0 009ad210 +006e8ae0 00435c70 +006e8ae0 0072fd70 +006e8ae0 007da7a0 +006e8ae0 00758a70 +006e8ae0 00759500 +006e8ae0 004e4690 +006e8ae0 00665c60 +006e8ae0 00499270 +006e8ae0 00431310 +006e8ae0 00703ab0 +006e8ae0 00505c80 +006e8ae0 00a112c0 +006e8ae0 006eef60 +006e8ae0 0041d540 +006e8ae0 006e21f0 +006e8ae0 0072fe00 +006e8ae0 00647170 +006e8ae0 009586f0 +006e8ae0 005b1500 +006e8ae0 0040c740 +006e8ae0 006a9320 +006e8ae0 007d2170 +006e8ae0 009bf990 +006e8ae0 004d6ee0 +006e8ae0 0067f0d0 +006e8ae0 00612890 +006e8ae0 00929b40 +006e8ae0 00435a50 +006e8ae0 00665a30 +006e8ae0 007d65e0 +006e8ae0 007abd30 +006e8ae0 00408830 +006e8ae0 0062a930 +006e8ae0 0065cf80 +006e8ae0 0075e1d0 +006e8ae0 004d7100 +006e8ae0 00772530 +006e8ae0 00930680 +006e8ae0 0040cf50 +006e8ae0 007b2200 +006e8ae0 007c9d10 +006e8ae0 007d2fc0 +006e8ae0 009be2a0 +006e8ae0 007bf3d0 +006e8ae0 00709df0 +006e8ae0 00758c20 +006e8ae0 006dad40 +006e8ae0 007a3af0 +006e8ae0 00704360 +006e8ae0 006e83a0 +006e8ae0 0085bed0 +006e8ae0 006e84d0 +006e8ae0 009e0680 +006e8ae0 007706e0 +006e8ae0 007ab380 +006e8ae0 0078f840 +006e8ae0 007bf640 +006e8ae0 006e8380 +006e8ae0 006e30a0 +006e8ae0 00425ac0 +006e8ae0 00771620 +006e8ae0 009a3410 +006e8ae0 007eeeb0 +006e8ae0 006f8120 +006e8ae0 007ab6b0 +006e8ae0 007c8050 +006e8ae0 007d4150 +006e8ae0 006e17c0 +006e8ae0 007d58f0 +006e8ae0 006ac530 +006e8ae0 007595b0 +006e8ae0 007915a0 +006e8ae0 006ed580 +006e8ae0 004d3080 +006e8ae0 007e9020 +006e8ae0 007cafe0 +006e8ae0 00929a20 +006e8ae0 0092a2d0 +006e8ae0 006e1d70 +006e8ae0 00771550 006ed580 0040a1b0 +006ed580 006e2570 +006ed580 00408e00 +006ed580 0040b430 006ed580 0040a6e0 006ed580 006e1a80 -006ed580 00408e00 006ed580 0040a5d0 -006ed690 00a112c0 -006ed690 009be080 -006ed690 009bea80 -006ed690 006e6e40 -006ed690 007706e0 -006ed690 006ee340 -006ed690 0044bfb0 -006ed690 007cb6e0 006ed690 00435a50 -006edda0 006eef60 -006edda0 0040a380 -006edda0 006a89d0 -006edda0 00956780 -006edda0 00833420 -006edda0 006e6e40 -006edda0 00771550 -006edda0 006fe410 -006edda0 006a9140 -006edda0 0044bfb0 +006ed690 006ee340 +006ed690 009bea80 +006ed690 0044bfb0 +006ed690 00a112c0 +006ed690 007706e0 +006ed690 007cb6e0 +006ed690 009be080 +006ed690 006e6e40 006edda0 0092dc30 -006edfa0 00aef12b +006edda0 0040a380 +006edda0 0044bfb0 +006edda0 006eef60 +006edda0 00956780 +006edda0 006a89d0 +006edda0 00833420 +006edda0 006a9140 +006edda0 00771550 +006edda0 006e6e40 +006edda0 006fe410 006edfa0 006e30a0 -006edfa0 00af0917 -006edfa0 00408e00 -006edfa0 006ac710 006edfa0 006fd350 +006edfa0 00408e00 +006edfa0 00aef12b +006edfa0 00af0917 +006edfa0 006ac710 006edfa0 00af05df 006ee110 006acb00 006ee130 006acb60 006ee130 004cf210 006ee200 006ee340 006ee200 006ee240 -006ee240 00706940 -006ee240 00456750 006ee240 006dae20 +006ee240 00456750 +006ee240 00706940 006ee330 006ee340 -006ee3f0 006ee200 006ee3f0 006ee340 +006ee3f0 006ee200 006ee440 00a112c0 006ee440 006eef60 006ee440 0041d540 006ee440 007f0df0 006ee440 0041d520 +006ee640 0072fd10 006ee640 00a112c0 006ee640 00733610 -006ee640 0072fd10 +006ee750 0041af60 006ee750 006eef60 006ee750 00428b20 -006ee750 0041af60 006ee750 EXTERNAL:00000262 006eea30 006e2570 006eea30 008151e0 @@ -18639,89 +18639,89 @@ 006eeaa0 00813520 006eed30 0041af60 006eed30 EXTERNAL:00000262 -006eee10 00a0f4c0 006eee10 0040cc10 +006eee10 00a0f4c0 006eeeb0 00aef15c 006eeeb0 004d6ee0 006eef60 EXTERNAL:000001d7 006eef60 00aef15c +006eef60 EXTERNAL:00000268 +006eef60 00af05e5 006eef60 00a0f4c0 006eef60 EXTERNAL:00000118 006eef60 006eef20 -006eef60 00af05e5 -006eef60 EXTERNAL:00000268 006ef3c0 007300d0 006ef3e0 0040d040 006ef570 00708c10 -006ef590 EXTERNAL:00000220 -006ef590 00a0f4c0 006ef590 00708eb0 -006ef590 004d6ee0 +006ef590 00a0f4c0 006ef590 00424540 +006ef590 004d6ee0 +006ef590 EXTERNAL:00000220 006ef890 00a112c0 006ef8f0 004e45c0 006ef920 00aef5c4 006ef9c0 00aef15c -006ef9c0 00708f90 006ef9c0 00708e20 006ef9c0 00424540 -006efac0 00a0f4c0 +006ef9c0 00708f90 006efac0 0040cc10 +006efac0 00a0f4c0 006efb90 0040c7f0 -006efc00 00407f10 006efc00 004074c0 +006efc00 00407f10 006efc70 00aef5c4 006efde0 00aef638 006efde0 00841cf0 006efde0 00708a60 -006effa0 0040d040 -006effa0 00407f10 006effa0 004087a0 +006effa0 00407f10 +006effa0 0040d040 006f0090 00a112c0 006f0090 EXTERNAL:000001f2 -006f1020 00a0f550 -006f1020 00424310 -006f1020 00a0f4c0 -006f1020 007384d0 -006f1020 00424c40 -006f1020 00424440 -006f1020 0040d170 -006f1020 00aef5c4 -006f1020 0040c4a0 -006f1020 0082ed00 -006f1020 008f7c40 -006f1020 00af05e5 -006f1020 00429be0 -006f1020 009e9290 006f1020 006eef60 -006f1020 00425b70 -006f1020 006f2a10 -006f1020 006f2060 -006f1020 0042fa30 +006f1020 00424c40 +006f1020 0040c4a0 006f1020 006f37e0 -006f1020 009e5300 -006f1020 009b5320 -006f1020 004074c0 +006f1020 008f7c40 +006f1020 00aef5c4 +006f1020 00425b70 +006f1020 007384d0 006f1020 00856f70 -006f2040 00aef15c +006f1020 00424440 +006f1020 004074c0 +006f1020 00429be0 +006f1020 009e5300 +006f1020 0082ed00 +006f1020 006f2a10 +006f1020 009b5320 +006f1020 0042fa30 +006f1020 0040d170 +006f1020 00424310 +006f1020 009e9290 +006f1020 006f2060 +006f1020 00a0f4c0 +006f1020 00af05e5 +006f1020 00a0f550 006f2040 00709420 -006f2060 008405b0 -006f2060 00424c40 -006f2060 00aef5c4 -006f2060 00407440 -006f2060 00a1a640 -006f2060 0083abb0 +006f2040 00aef15c 006f2060 004074c0 +006f2060 00424c40 +006f2060 00a1a640 +006f2060 00407440 +006f2060 00aef5c4 +006f2060 0083abb0 +006f2060 008405b0 006f23d0 0042c8e0 -006f23d0 00aef638 -006f23d0 00aef15c -006f23d0 0040d040 +006f23d0 004087a0 006f23d0 00840670 +006f23d0 00aef15c +006f23d0 00aef638 +006f23d0 00a1ad90 006f23d0 004b3950 006f23d0 0083c4c0 006f23d0 00407f10 -006f23d0 004087a0 -006f23d0 00a1ad90 +006f23d0 0040d040 006f2960 004269f0 006f2970 009c73c0 006f29a0 00aef638 @@ -18738,564 +18738,564 @@ 006f2f60 00aef638 006f2fb0 00aef638 006f3000 00aef638 -006f3060 00857050 +006f3060 004087a0 +006f3060 00425430 +006f3060 00685fc0 +006f3060 008d2790 +006f3060 009dc750 +006f3060 0040c7f0 +006f3060 008ef4b0 006f3060 00708e20 +006f3060 00829670 006f3060 0098b1d0 -006f3060 0069dac0 +006f3060 008ca220 +006f3060 00709420 +006f3060 0042fac0 +006f3060 00407f10 +006f3060 008cb2e0 006f3060 00426980 006f3060 009b5600 -006f3060 00424540 -006f3060 0042fac0 -006f3060 00aef15c -006f3060 0042f060 -006f3060 008ef4b0 -006f3060 006f23d0 -006f3060 00407f10 -006f3060 0082ebd0 -006f3060 004149d0 -006f3060 004087a0 -006f3060 00709150 -006f3060 007e9ba0 -006f3060 00685fc0 -006f3060 00424cd0 -006f3060 00aef638 -006f3060 0040d040 -006f3060 008ca220 +006f3060 00857050 006f3060 004269f0 -006f3060 009abd80 -006f3060 00425430 -006f3060 008f7dd0 -006f3060 008d2790 -006f3060 008cb2e0 -006f3060 009dc750 -006f3060 00709420 -006f3060 00829670 -006f3060 00708c10 006f3060 009b8ea0 -006f3060 0040c7f0 +006f3060 007e9ba0 +006f3060 0069dac0 +006f3060 0082ebd0 +006f3060 00424540 +006f3060 0040d040 +006f3060 00424cd0 +006f3060 009abd80 +006f3060 00aef15c +006f3060 00aef638 +006f3060 006f23d0 +006f3060 00709150 +006f3060 00708c10 +006f3060 008f7dd0 +006f3060 0042f060 +006f3060 004149d0 +006f37e0 00a11f30 006f37e0 00a0f550 006f37e0 007090c0 -006f37e0 00a11f30 -006f3c00 EXTERNAL:00000220 -006f3c00 008ef560 -006f3c00 008378e0 +006f3c00 00838380 +006f3c00 0040cf00 006f3c00 0040bd50 -006f3c00 008f5ad0 006f3c00 0082bf00 -006f3c00 00408e00 +006f3c00 008f5ad0 +006f3c00 008378e0 006f3c00 006998d0 006f3c00 00857220 -006f3c00 009b5840 -006f3c00 00838380 +006f3c00 EXTERNAL:00000220 +006f3c00 0082c310 006f3c00 0040a5d0 006f3c00 009a1a30 -006f3c00 0082c310 006f3c00 00aef15c -006f3c00 00aef12b +006f3c00 00408e00 006f3c00 0082b2f0 -006f3c00 0040cf00 +006f3c00 009b5840 +006f3c00 00aef12b +006f3c00 008ef560 +006f4170 EXTERNAL:000001bf +006f4170 00414b50 +006f4170 00414250 006f4170 00a112c0 006f4170 EXTERNAL:000001be 006f4170 00414330 -006f4170 EXTERNAL:000001bf -006f4170 00414250 -006f4170 00414b50 -006f43b0 006f4520 006f43b0 00424440 +006f43b0 006f4520 006f43b0 009e53a0 -006f4740 EXTERNAL:00000220 -006f4740 008378e0 -006f4740 009a1970 -006f4740 0040bd50 -006f4740 008f5ad0 -006f4740 00408e00 +006f4740 0040cf00 006f4740 008d1d60 +006f4740 008ca2c0 +006f4740 00834680 +006f4740 008378e0 +006f4740 00686060 +006f4740 00857220 +006f4740 006f43b0 +006f4740 009c6860 +006f4740 0040c3b0 +006f4740 0082b2f0 006f4740 009b5840 006f4740 00838380 -006f4740 00aef15c -006f4740 006f43b0 -006f4740 008f86c0 -006f4740 009dc830 006f4740 009abe70 006f4740 00420ba0 -006f4740 0040ccd0 -006f4740 0082b2f0 -006f4740 00686060 -006f4740 008ef560 +006f4740 0040bd50 006f4740 0082bf00 -006f4740 00834680 -006f4740 009588a0 -006f4740 00857220 -006f4740 0098d560 -006f4740 0040a5d0 -006f4740 008ca2c0 -006f4740 009c6860 -006f4740 0082c310 -006f4740 0040c3b0 -006f4740 00aef12b +006f4740 008f5ad0 +006f4740 008f86c0 006f4740 009c6c90 -006f4740 0040cf00 +006f4740 EXTERNAL:00000220 +006f4740 0082c310 +006f4740 0040ccd0 +006f4740 0040a5d0 +006f4740 009588a0 +006f4740 009a1970 +006f4740 00aef15c +006f4740 00408e00 +006f4740 009dc830 +006f4740 00aef12b +006f4740 008ef560 +006f4740 0098d560 006f5290 00a112c0 -006f5320 00a112c0 +006f5320 009a1a30 006f5320 009e9320 006f5320 009595e0 006f5320 00aef15c -006f5320 006ef890 +006f5320 00a112c0 006f5320 00706940 -006f5320 009e9430 -006f5320 006ef8f0 -006f5320 009e9b50 -006f5320 009a1a30 006f5320 00424540 +006f5320 006ef8f0 +006f5320 006ef890 +006f5320 009e9430 +006f5320 009e9b50 006f5850 00a112c0 -006f6260 00709280 -006f6260 006a0d30 -006f6260 0040ccd0 -006f6260 00424540 006f6260 00af08bd -006f6500 00a112c0 -006f6500 EXTERNAL:00000220 -006f6500 009b9310 -006f6500 00428590 -006f6500 00a5f260 -006f6500 00af08b1 -006f6500 00a0f4c0 -006f6500 00959500 -006f6500 007bc740 +006f6260 006a0d30 +006f6260 00424540 +006f6260 00709280 +006f6260 0040ccd0 006f6500 0042c920 -006f6500 009b8f40 006f6500 00a288a0 -006f6500 009015b0 -006f6500 00aef15c -006f6500 0090c7e0 -006f6500 0090abf0 +006f6500 00a112c0 +006f6500 00af08b1 +006f6500 009b9310 006f6500 00a20390 +006f6500 007bc740 +006f6500 00a5f260 +006f6500 00428590 +006f6500 0090abf0 +006f6500 EXTERNAL:00000220 +006f6500 00959500 +006f6500 00aef15c +006f6500 00a0f4c0 006f6500 00905f60 +006f6500 009b8f40 +006f6500 0090c7e0 006f6500 009b9cd0 +006f6500 009015b0 006f6500 007a6450 -006f6dd0 00a112c0 +006f6dd0 009a1a30 006f6dd0 009eb5b0 006f6dd0 006f6260 -006f6dd0 006ef8f0 006f6dd0 009eb7f0 -006f6dd0 009a1a30 +006f6dd0 00a112c0 006f6dd0 00424540 +006f6dd0 006ef8f0 +006f72f0 009a1a30 006f72f0 009e9320 -006f72f0 00a112c0 006f72f0 009595e0 006f72f0 00aef15c +006f72f0 00a112c0 +006f72f0 009eb880 +006f72f0 00424540 006f72f0 006ef890 006f72f0 009e9430 006f72f0 009e9b50 -006f72f0 009eb880 -006f72f0 009a1a30 -006f72f0 00424540 -006f7750 00a112c0 006f7750 009595e0 006f7750 009eb7f0 +006f7750 00a112c0 006f7750 009e9b50 -006f7ac0 00a112c0 006f7ac0 00a288a0 -006f8140 009e9320 -006f8140 EXTERNAL:00000220 -006f8140 004218e0 -006f8140 005cb480 -006f8140 008f5ad0 -006f8140 009eb5b0 -006f8140 0069dac0 +006f7ac0 00a112c0 +006f8140 007099a0 +006f8140 007e1d50 006f8140 00734f30 006f8140 00736530 -006f8140 009b8f40 -006f8140 00424540 -006f8140 00aef15c -006f8140 009dc830 -006f8140 009e0340 -006f8140 00708b70 -006f8140 007e1d50 -006f8140 00a112c0 +006f8140 00833420 006f8140 009bd010 -006f8140 007099a0 -006f8140 008332e0 006f8140 00af08bd 006f8140 00429be0 -006f8140 00833420 -006f8140 00422ea0 -006f8140 00aef12b -006f8140 009bcaa0 -006f8140 009e9430 -006f8140 009e5710 -006f8140 007475b0 +006f8140 009e0340 006f8140 006f8a40 -006f8a40 006f8d60 -006f8a40 00709280 +006f8140 009b8f40 +006f8140 009e9430 +006f8140 009eb5b0 +006f8140 009bcaa0 +006f8140 00a112c0 +006f8140 008f5ad0 +006f8140 007475b0 +006f8140 0069dac0 +006f8140 00422ea0 +006f8140 005cb480 +006f8140 00424540 +006f8140 00708b70 +006f8140 EXTERNAL:00000220 +006f8140 009e9320 +006f8140 00aef15c +006f8140 009dc830 +006f8140 009e5710 +006f8140 00aef12b +006f8140 004218e0 +006f8140 008332e0 006f8a40 005711a0 -006f8a40 007095c0 006f8a40 00af08bd +006f8a40 006f8d60 006f8a40 00424540 -006f8d60 00709280 +006f8a40 007095c0 +006f8a40 00709280 006f8d60 005711a0 -006f8d60 007095c0 006f8d60 00af08bd 006f8d60 00424540 -006f9000 009e9320 -006f9000 00422f80 -006f9000 009bd150 -006f9000 00747e10 -006f9000 007367d0 +006f8d60 007095c0 +006f8d60 00709280 006f9000 007099a0 006f9000 007efa50 +006f9000 007367d0 +006f9000 00422f80 006f9000 00424540 -006f9000 00af08bd -006f9000 009c79a0 -006f9000 00aef15c -006f9000 00aef12b -006f9000 007310e0 -006f9000 009e9430 006f9000 00708b70 -006f9000 009e54d0 +006f9000 00747e10 +006f9000 009e9320 +006f9000 00af08bd +006f9000 00aef15c +006f9000 009bd150 +006f9000 009c79a0 006f9000 006f8a40 +006f9000 00aef12b +006f9000 009e9430 +006f9000 007310e0 +006f9000 009e54d0 006f9400 004288a0 006f95a0 004288a0 -006f9770 00958e60 -006f9770 00a112c0 -006f9770 009997c0 -006f9770 0095a680 -006f9770 00864fc0 -006f9770 00959180 +006f9770 009b9480 006f9770 008ca600 -006f9770 00428d30 -006f9770 006f9f20 +006f9770 00864fc0 006f9770 0095a4a0 006f9770 00959130 -006f9770 009b9480 +006f9770 009997c0 +006f9770 0095a680 +006f9770 00a112c0 +006f9770 00959180 +006f9770 00958e60 +006f9770 00428d30 +006f9770 006f9f20 006f9d20 0082d030 -006f9d20 009be080 006f9d20 00706940 +006f9d20 009be080 006f9f20 00a112c0 -006fa0c0 00a112c0 -006fa0c0 009294f0 -006fa0c0 008d26c0 -006fa0c0 008650a0 -006fa0c0 0040d040 -006fa0c0 009292c0 006fa0c0 0092e230 -006fa0c0 0092e300 -006fa0c0 009aca90 +006fa0c0 00959130 +006fa0c0 00a112c0 +006fa0c0 008650a0 006fa0c0 EXTERNAL:00000009 006fa0c0 006f43b0 +006fa0c0 009294f0 +006fa0c0 0040d040 +006fa0c0 009292c0 +006fa0c0 00958ed0 +006fa0c0 00407f10 +006fa0c0 009aca90 006fa0c0 00928ee0 006fa0c0 007df690 -006fa0c0 00407f10 -006fa0c0 00958ed0 -006fa0c0 00959130 -006fa540 00409030 +006fa0c0 008d26c0 +006fa0c0 0092e300 +006fa540 008576c0 +006fa540 009b7650 006fa540 00954b40 006fa540 009561e0 -006fa540 006f9f20 006fa540 0068b260 -006fa540 009c3990 -006fa540 0091cb10 006fa540 00837fe0 -006fa540 008576c0 -006fa540 00a112c0 006fa540 00a0f550 -006fa540 004253d0 -006fa540 0040d040 +006fa540 0091c870 +006fa540 0040a380 006fa540 00425ac0 -006fa540 009bac40 +006fa540 00af05d3 +006fa540 00a112c0 006fa540 008d1f20 006fa540 0090b070 -006fa540 00af05d3 +006fa540 009c3990 006fa540 00a20fb0 -006fa540 009b5d20 -006fa540 009b7650 -006fa540 0040a380 -006fa540 009563b0 +006fa540 0040d040 +006fa540 006f9f20 +006fa540 00409030 006fa540 00a207b0 -006fa540 0091c870 +006fa540 009563b0 +006fa540 0091cb10 +006fa540 004253d0 +006fa540 009b5d20 006fa540 008ef990 -006fadc0 0042f240 +006fa540 009bac40 +006fadc0 009a2b30 +006fadc0 0041d030 +006fadc0 009b7650 006fadc0 00414a80 -006fadc0 00837ab0 006fadc0 004212c0 -006fadc0 006f0070 -006fadc0 009a2990 -006fadc0 004291c0 -006fadc0 008318a0 -006fadc0 0092e300 -006fadc0 00426980 -006fadc0 009aca90 -006fadc0 00802980 +006fadc0 009b6840 006fadc0 0092f1c0 -006fadc0 00aef15c -006fadc0 00857450 -006fadc0 009bea10 +006fadc0 00838210 006fadc0 009bb5d0 006fadc0 00746560 -006fadc0 006fdc10 -006fadc0 0098dba0 -006fadc0 00a0f550 -006fadc0 008607a0 -006fadc0 00708630 -006fadc0 004147f0 -006fadc0 009a2b30 -006fadc0 009b6840 -006fadc0 00423020 -006fadc0 009b7650 -006fadc0 009b7680 -006fadc0 00a68490 -006fadc0 006fd7c0 -006fadc0 0068bba0 -006fadc0 00838210 -006fadc0 006ef410 -006fadc0 0041d030 -006fadc0 008ef990 006fadc0 0040c7f0 +006fadc0 004291c0 006fadc0 004257b0 -006fbc10 009b7190 -006fbc10 00832fd0 -006fbc10 009301d0 -006fbc10 00a10d00 -006fbc10 00420a80 -006fbc10 0041d520 -006fbc10 0080ea80 -006fbc10 008efe10 -006fbc10 00a13510 -006fbc10 0092ffc0 -006fbc10 00837c10 -006fbc10 00417870 -006fbc10 0042dbb0 -006fbc10 00683680 -006fbc10 00832850 -006fbc10 0068c2e0 -006fbc10 0080f200 -006fbc10 009522b0 -006fbc10 00a14050 -006fbc10 00863680 -006fbc10 008f7420 -006fbc10 007084c0 -006fbc10 00858050 -006fbc10 00684f30 -006fbc10 0040c550 -006fbc10 00a1aec0 -006fbc10 00683060 -006fbc10 00a1b140 -006fbc10 007cfba0 -006fbc10 009acfe0 -006fbc10 008d2450 -006fbc10 009c3890 -006fbc10 006836c0 -006fbc10 00a1dfd0 -006fbc10 0040a0d0 -006fbc10 00421400 +006fadc0 00802980 +006fadc0 0098dba0 +006fadc0 00423020 +006fadc0 009a2990 +006fadc0 00a0f550 +006fadc0 0068bba0 +006fadc0 00857450 +006fadc0 006fd7c0 +006fadc0 00426980 +006fadc0 006fdc10 +006fadc0 004147f0 +006fadc0 008318a0 +006fadc0 006f0070 +006fadc0 009b7680 +006fadc0 0042f240 +006fadc0 00837ab0 +006fadc0 00aef15c +006fadc0 00a68490 +006fadc0 008607a0 +006fadc0 009aca90 +006fadc0 00708630 +006fadc0 008ef990 +006fadc0 0092e300 +006fadc0 006ef410 +006fadc0 009bea10 006fbc10 00a1a580 -006fbc10 00a112c0 -006fbc10 00a0f550 -006fbc10 009a3eb0 -006fbc10 00665c60 +006fbc10 00863680 +006fbc10 006836c0 +006fbc10 00417870 +006fbc10 00684f30 +006fbc10 00a1aec0 006fbc10 00998880 -006fbc10 0091cac0 -006fbc10 00407170 -006fbc10 00872090 -006fbc10 006856c0 -006fbc10 00a19180 006fbc10 00a18300 +006fbc10 00683060 +006fbc10 009acfe0 +006fbc10 00421400 +006fbc10 008f74c0 +006fbc10 009b7190 +006fbc10 0040c550 +006fbc10 0080f200 +006fbc10 00665c60 +006fbc10 00a14050 +006fbc10 00683680 +006fbc10 00a112c0 +006fbc10 00858050 +006fbc10 00872090 +006fbc10 0041d520 +006fbc10 0091cac0 +006fbc10 0092ffc0 +006fbc10 008d2450 +006fbc10 00a10d00 +006fbc10 008efe10 +006fbc10 00832850 +006fbc10 007084c0 +006fbc10 00a1dfd0 +006fbc10 00930160 +006fbc10 0068c2e0 +006fbc10 006856c0 +006fbc10 008f7420 +006fbc10 0080ea80 +006fbc10 00407170 +006fbc10 0040a0d0 +006fbc10 0042dbb0 +006fbc10 00a0f550 +006fbc10 00a19180 006fbc10 008caa30 +006fbc10 00a13510 +006fbc10 009c3890 +006fbc10 009301d0 +006fbc10 007cfba0 006fbc10 00a14c00 +006fbc10 00a18230 +006fbc10 00837c10 +006fbc10 00420a80 +006fbc10 00a1b140 +006fbc10 009a3eb0 006fbc10 00aef12b 006fbc10 004288a0 -006fbc10 008f74c0 -006fbc10 00930160 -006fbc10 00a18230 +006fbc10 009522b0 +006fbc10 00832fd0 006fd350 009b7650 006fd350 00838210 -006fd3f0 0068bba0 +006fd3f0 006fd350 006fd3f0 0092f050 006fd3f0 006ab440 -006fd3f0 006fd350 -006fd7c0 00945190 +006fd3f0 0068bba0 +006fd7c0 006fdc10 +006fd7c0 0092dc30 +006fd7c0 00a648b0 +006fd7c0 00425ac0 006fd7c0 00705ee0 006fd7c0 00a112c0 -006fd7c0 0074d4a0 -006fd7c0 0082ee40 -006fd7c0 004175b0 -006fd7c0 00425ac0 006fd7c0 006f0070 -006fd7c0 0074bac0 -006fd7c0 00a648b0 -006fd7c0 007cd950 -006fd7c0 0041ab50 006fd7c0 006f8120 -006fd7c0 00956780 006fd7c0 0081e9d0 -006fd7c0 0092dc30 -006fd7c0 007abe20 -006fd7c0 006fdc10 006fd7c0 008279a0 +006fd7c0 00945190 +006fd7c0 0082ee40 +006fd7c0 0041ab50 +006fd7c0 00956780 +006fd7c0 007abe20 +006fd7c0 004175b0 +006fd7c0 0074d4a0 +006fd7c0 007cd950 +006fd7c0 0074bac0 006fdc10 0085afb0 -006fdc10 EXTERNAL:00000220 +006fdc10 00aef15c +006fdc10 00a51790 006fdc10 00705ee0 006fdc10 00a112c0 -006fdc10 00aef15c 006fdc10 00a519a0 006fdc10 0085ae10 -006fdc10 00a51790 -006fe2f0 00a112c0 -006fe2f0 0073fc80 +006fdc10 EXTERNAL:00000220 006fe2f0 00802980 +006fe2f0 00a112c0 006fe2f0 006eef60 -006fe2f0 007a6680 006fe2f0 007ebe20 -006fe3d0 00740860 +006fe2f0 007a6680 +006fe2f0 0073fc80 006fe3d0 006fd7c0 -006fe410 008646e0 +006fe3d0 00740860 006fe410 00a112c0 -006fe410 0042b560 -006fe410 00af08b1 +006fe410 008646e0 006fe410 00418500 -006fe410 00435c70 -006fe410 006ad870 -006fe410 007078f0 -006fe410 009e24a0 -006fe410 00417430 +006fe410 00af08b1 006fe410 006b78d0 -006fe410 004cdcf0 -006fe410 00a68490 006fe410 006f0090 -006fe410 006b5c10 -006fe410 006b5b90 -006fe410 004cf210 006fe410 004a5d10 +006fe410 004cf210 +006fe410 009e24a0 006fe410 007079c0 +006fe410 006b5c10 +006fe410 00417430 +006fe410 006b5b90 +006fe410 00a68490 +006fe410 00435c70 +006fe410 007078f0 +006fe410 0042b560 006fe410 009e0680 +006fe410 006ad870 +006fe410 004cdcf0 006fec30 006eef60 006fec30 00428b20 006fece0 006eef60 -006fece0 00af08b1 006fece0 00428b20 +006fece0 00af08b1 006fece0 006c0f30 006fed60 0041a790 006fed60 00417170 +006fed60 00431310 +006fed60 0067af60 006fed60 EXTERNAL:00000262 006fed60 007c3320 -006fed60 0067af60 -006fed60 00431310 006fefd0 0041a790 -006fefd0 EXTERNAL:00000262 006fefd0 00435a50 -006fefd0 0067af60 006fefd0 00431310 -006ff2a0 00414a80 -006ff2a0 00af08b1 -006ff2a0 00a0f4c0 -006ff2a0 004175b0 -006ff2a0 0074b5d0 -006ff2a0 0041d520 -006ff2a0 007dba30 -006ff2a0 00a10480 -006ff2a0 0081e6e0 -006ff2a0 0067af60 -006ff2a0 005cbe20 -006ff2a0 006eef60 -006ff2a0 00812d00 -006ff2a0 00709db0 -006ff2a0 009bea80 -006ff2a0 004e45c0 -006ff2a0 00711fd0 -006ff2a0 00a104e0 -006ff2a0 00af0911 -006ff2a0 00812c90 -006ff2a0 007f0800 -006ff2a0 00813bf0 -006ff2a0 00456620 -006ff2a0 00a112c0 -006ff2a0 00703670 -006ff2a0 00812f00 +006fefd0 0067af60 +006fefd0 EXTERNAL:00000262 006ff2a0 0041a790 +006ff2a0 007f0800 006ff2a0 00592200 -006ff2a0 00a10420 -006ff2a0 007f0df0 -006ff2a0 006ac560 -006ff2a0 0041d540 +006ff2a0 00414a80 +006ff2a0 00424420 +006ff2a0 00a10480 006ff2a0 00417170 -006ff2a0 00709c40 +006ff2a0 00709db0 +006ff2a0 0081e6e0 +006ff2a0 00812c90 +006ff2a0 00813bf0 +006ff2a0 0067af60 +006ff2a0 007dba30 +006ff2a0 005cbe20 +006ff2a0 00812f00 +006ff2a0 00a0f4c0 +006ff2a0 00703670 +006ff2a0 00711fd0 006ff2a0 006a9140 006ff2a0 0067d1f0 -006ff2a0 00424420 -006ff2a0 00435a50 -006ff2a0 0067f170 006ff2a0 00431310 -00700061 00a0f550 +006ff2a0 006eef60 +006ff2a0 00a112c0 +006ff2a0 0041d540 +006ff2a0 00af08b1 +006ff2a0 00709c40 +006ff2a0 00af0911 +006ff2a0 0074b5d0 +006ff2a0 00a104e0 +006ff2a0 004e45c0 +006ff2a0 0041d520 +006ff2a0 00456620 +006ff2a0 00435a50 +006ff2a0 009bea80 +006ff2a0 00812d00 +006ff2a0 00a10420 +006ff2a0 004175b0 +006ff2a0 0067f170 +006ff2a0 006ac560 +006ff2a0 007f0df0 +00700061 006eef60 +00700061 006ff2a0 +00700061 008207a0 +00700061 00703190 +00700061 004cf210 00700061 007009a0 00700061 00700060 -00700061 00703190 +00700061 009bea80 +00700061 00aef12b +00700061 00a0f550 00700061 006fe410 00700061 004cdcf0 -00700061 006ff2a0 -00700061 006eef60 -00700061 009bea80 -00700061 008207a0 -00700061 00aef12b -00700061 00812f50 00700061 006a9140 -00700061 004cf210 +00700061 00812f50 007008b0 006ff2a0 -007009a0 00af08b1 -007009a0 007706e0 -007009a0 006add70 -007009a0 00677780 -007009a0 0041d520 -007009a0 006a8fa0 -007009a0 006eef60 -007009a0 0070b2e0 -007009a0 00790af0 007009a0 0067a400 -007009a0 00961320 -007009a0 009960b0 -007009a0 009f5f40 -007009a0 007aded0 -007009a0 0067d9b0 -007009a0 00a112c0 -007009a0 00703670 -007009a0 0041d540 -007009a0 00435c70 007009a0 00428b20 -007009a0 006ad870 -007009a0 0097fc10 -007009a0 00682ed0 -007009a0 00417430 -007009a0 004cdcf0 -007009a0 007aab70 -007009a0 00aef12b -007009a0 00812f50 -007009a0 00704360 -007009a0 00499d20 +007009a0 006a8fa0 007009a0 004cf210 -007009a0 00435a50 +007009a0 00682ed0 +007009a0 009960b0 +007009a0 00704360 +007009a0 00435c70 +007009a0 00677780 +007009a0 007706e0 +007009a0 00961320 +007009a0 00703670 +007009a0 00812f50 +007009a0 00790af0 +007009a0 0070b2e0 +007009a0 006add70 +007009a0 007aab70 +007009a0 006eef60 +007009a0 0041d540 +007009a0 00a112c0 +007009a0 00af08b1 +007009a0 0067d9b0 +007009a0 0041d520 007009a0 0096f310 +007009a0 00435a50 +007009a0 009f5f40 +007009a0 00417430 +007009a0 007aded0 +007009a0 00aef12b +007009a0 00499d20 007009a0 00822820 -00703140 00956780 +007009a0 006ad870 +007009a0 004cdcf0 +007009a0 0097fc10 00703140 0092dc30 -00703190 006eef60 -00703190 004d6f80 +00703140 00956780 00703190 004d3130 -00703190 00428b20 -00703190 004d3080 00703190 004d7530 +00703190 006eef60 +00703190 004d3080 +00703190 00428b20 00703190 004d6ee0 +00703190 004d6f80 00703330 006eef60 00703330 0041d540 00703330 00af08b1 -00703330 006fe410 00703330 0041d520 +00703330 006fe410 00703470 004267f0 -00703580 0041e420 +00703580 00709bc0 00703580 006eef60 -00703580 EXTERNAL:00000226 +00703580 00428b20 00703580 00af08b1 00703580 00aef12b -00703580 00428b20 -00703580 00709bc0 +00703580 0041e420 +00703580 EXTERNAL:00000226 00703670 00a112c0 00703670 00a20fb0 00703770 00a112c0 @@ -19305,170 +19305,170 @@ 00703950 00a112c0 00703ab0 00a112c0 00703ab0 007db700 -00703be0 00703670 00703be0 0041a790 -00703be0 006ac560 -00703be0 006ad500 -00703be0 006b7a80 -00703be0 00771550 -00703be0 006add70 -00703be0 00428b20 +00703be0 0092dc30 00703be0 0092e230 +00703be0 00431310 +00703be0 006add70 +00703be0 006eef60 +00703be0 00428b20 00703be0 007cb6e0 00703be0 006a8fa0 -00703be0 006eef60 -00703be0 006a9140 -00703be0 0092dc30 -00703be0 EXTERNAL:00000262 +00703be0 006b7a80 00703be0 00435a50 00703be0 007a6300 -00703be0 00431310 -00703f90 00703670 +00703be0 EXTERNAL:00000262 +00703be0 006ad500 +00703be0 006ac560 +00703be0 00703670 +00703be0 006a9140 +00703be0 00771550 00703f90 0041a790 -00703f90 006ac560 -00703f90 006b7a80 -00703f90 00771550 -00703f90 006add70 -00703f90 006ad870 -00703f90 00428b20 +00703f90 0092dc30 00703f90 0092e230 +00703f90 00431310 +00703f90 006add70 +00703f90 006eef60 +00703f90 00428b20 00703f90 007cb6e0 00703f90 006a8fa0 -00703f90 006eef60 -00703f90 00aef12b -00703f90 006a9140 -00703f90 0092dc30 -00703f90 EXTERNAL:00000262 +00703f90 006b7a80 00703f90 00435a50 00703f90 007a6300 -00703f90 00431310 -00704360 00af08b1 -00704360 004175b0 -00704360 00771550 -00704360 0067a080 -00704360 006add70 -00704360 0092e230 -00704360 007cb6e0 -00704360 00a10480 -00704360 006a8fa0 -00704360 006eef60 -00704360 00af0917 -00704360 00a104e0 -00704360 00703670 +00703f90 EXTERNAL:00000262 +00703f90 00aef12b +00703f90 006ac560 +00703f90 006ad870 +00703f90 00703670 +00703f90 006a9140 +00703f90 00771550 00704360 0041a790 -00704360 00a15640 -00704360 006ac560 -00704360 00a0fea0 -00704360 006b7a80 -00704360 00435c70 -00704360 00428b20 -00704360 00a105d0 -00704360 00417430 -00704360 00aef12b -00704360 00652fa0 -00704360 006a9140 00704360 0092dc30 -00704360 00435a50 +00704360 00428b20 +00704360 00a10480 +00704360 00a105d0 +00704360 007cb6e0 +00704360 006a8fa0 +00704360 00af0917 +00704360 006b7a80 +00704360 0067a080 00704360 007a6300 +00704360 00435c70 +00704360 00a0fea0 +00704360 00703670 +00704360 006a9140 +00704360 0092e230 00704360 00431310 +00704360 006add70 +00704360 006eef60 +00704360 00af08b1 +00704360 00a104e0 +00704360 00a15640 +00704360 00435a50 +00704360 00417430 +00704360 00652fa0 +00704360 004175b0 +00704360 00aef12b +00704360 006ac560 +00704360 00771550 00704b10 00929a20 00704b70 006ee240 -00704c50 00a112c0 00704c50 006eef60 -00704c50 00771550 +00704c50 00a112c0 00704c50 006ee240 -00704f20 00a112c0 -00704f20 00a0f550 +00704c50 00771550 00704f20 009595e0 -00704f20 0090cd10 +00704f20 00a112c0 00704f20 00959130 00704f20 00907690 +00704f20 00a0f550 +00704f20 0090cd10 00705080 009595e0 00705080 009e9b50 -007050c0 EXTERNAL:00000220 -007050c0 006eef60 007050c0 006d4db0 -007050c0 00aef15c -007050c0 006c07e0 -007050c0 00428b20 007050c0 0069e2f0 +007050c0 00aef15c +007050c0 006eef60 +007050c0 00428b20 +007050c0 006c07e0 007050c0 006c0f30 +007050c0 EXTERNAL:00000220 00705480 00a112c0 -00705480 007ed2a0 +00705480 006eef60 +00705480 00428b20 +00705480 006c07e0 +00705480 006c0f30 00705480 00823d10 +00705480 004e45c0 00705480 006ac530 00705480 00823be0 -00705480 008667d0 -00705480 00428b20 -00705480 006c0f30 00705480 00694fb0 -00705480 0040cae0 -00705480 006eef60 -00705480 004e45c0 -00705480 00aef12b -00705480 006c07e0 00705480 007ed310 -007059f0 0093da00 -007059f0 006eef60 -007059f0 00956780 +00705480 007ed2a0 +00705480 0040cae0 +00705480 00aef12b +00705480 008667d0 007059f0 0092dc30 -00705b90 00af08b1 -00705b90 006ee340 +007059f0 0093da00 +007059f0 00956780 +007059f0 006eef60 00705b90 00435a50 +00705b90 006ee340 +00705b90 00af08b1 00705ee0 006f9000 -00706020 00a112c0 -00706020 EXTERNAL:00000220 -00706020 006f8140 -00706020 009ba8f0 -00706020 00a0f4c0 -00706020 005c93b0 -00706020 00929b40 -00706020 0044be50 -00706020 007cb6e0 -00706020 00417670 -00706020 00740bc0 -00706020 00802980 -00706020 009be080 -00706020 00aef15c -00706020 009bc000 00706020 009ba000 -00706020 009be6b0 -00706020 0041b570 +00706020 00a112c0 00706020 007b9e10 +00706020 006f8140 +00706020 009bc000 +00706020 007cb6e0 00706020 009bba30 -007069a0 00a112c0 -007069a0 00791320 -007069a0 0041a790 -007069a0 006ac560 -007069a0 006ac530 -007069a0 0041af60 -007069a0 0072fd10 -007069a0 006a8990 -007069a0 00417430 +00706020 00417670 +00706020 EXTERNAL:00000220 +00706020 00740bc0 +00706020 00929b40 +00706020 0041b570 +00706020 00aef15c +00706020 00802980 +00706020 00a0f4c0 +00706020 0044be50 +00706020 005c93b0 +00706020 009be6b0 +00706020 009ba8f0 +00706020 009be080 007069a0 007c32c0 -007069a0 007c3100 -007069a0 00791530 -007069a0 EXTERNAL:00000262 -007069a0 006acd10 +007069a0 0041a790 007069a0 00431310 -00707370 006a8fa0 +007069a0 006a8990 +007069a0 00a112c0 +007069a0 006acd10 +007069a0 0041af60 +007069a0 006ac530 +007069a0 0072fd10 +007069a0 00791320 +007069a0 00417430 +007069a0 007c3100 +007069a0 EXTERNAL:00000262 +007069a0 00791530 +007069a0 006ac560 00707370 00417430 00707370 006acd10 +00707370 006a8fa0 00707840 007076d0 00707840 00708ae0 007078f0 007076d0 007079c0 006eef60 +007079c0 007fec00 007079c0 00aef12b 007079c0 006fe410 -007079c0 007fec00 00707ad0 00a112c0 00707ad0 00708050 -00707ad0 006fd7c0 -00707ad0 007bf490 -00707ad0 006f4520 -00707ad0 00744940 00707ad0 007467c0 +00707ad0 006f4520 +00707ad0 007bf490 00707ad0 00407f10 +00707ad0 006fd7c0 +00707ad0 00744940 00707e10 006eef60 00707e10 007706e0 00707e10 00771550 @@ -19477,1273 +19477,1273 @@ 00708050 006f8d60 00708050 00747360 00708250 00a112c0 -00708250 007db860 00708250 004288a0 +00708250 007db860 00708380 00a112c0 00708430 00a0f550 -007084c0 00709150 -007084c0 006f37e0 -007084c0 00692960 007084c0 0082ed00 -007084c0 008f7c40 +007084c0 00709150 007084c0 007ea630 +007084c0 006f37e0 +007084c0 008f7c40 007084c0 008f7dd0 +007084c0 00692960 00708630 00740bc0 +00708630 009b9380 +00708630 00435a50 +00708630 0092dc30 +00708630 0092e230 +00708630 00956780 00708630 0092e120 00708630 0092e560 -00708630 00709df0 -00708630 009b9380 -00708630 00956780 00708630 0092df40 -00708630 0092e230 -00708630 0092dc30 -00708630 00435a50 -007089f0 EXTERNAL:00000220 -007089f0 007091f0 +00708630 00709df0 007089f0 00aef15c -00708a60 EXTERNAL:00000220 +007089f0 007091f0 +007089f0 EXTERNAL:00000220 00708a60 00aef15c 00708a60 00709380 +00708a60 EXTERNAL:00000220 00708ae0 00709480 00708ae0 00af05e5 -00708b70 006a0dc0 00708b70 00af08bd -00708c10 EXTERNAL:00000220 +00708b70 006a0dc0 00708c10 00aef15c 00708c10 0069dac0 -00708c90 00a0f4c0 +00708c10 EXTERNAL:00000220 00708c90 0040cc10 -00708e20 EXTERNAL:00000220 +00708c90 00a0f4c0 00708e20 00aef15c 00708e20 004d6ee0 -00708eb0 004d7340 +00708e20 EXTERNAL:00000220 +00708eb0 0040cf00 00708eb0 004d3130 00708eb0 0040cee0 -00708eb0 0040cf00 +00708eb0 004d7340 00708f78 00af05eb 00708f78 004d7450 -00708f90 EXTERNAL:00000220 00708f90 00aef15c +00708f90 EXTERNAL:00000220 00708ff0 007091f0 00709010 00709300 -00709030 EXTERNAL:00000220 00709030 00aef15c +00709030 EXTERNAL:00000220 00709070 00709380 00709090 0069dac0 007090c0 0041c770 -00709150 00a0f4c0 00709150 0040cc10 +00709150 00a0f4c0 007091f0 0040d040 00709280 00709770 +00709420 00709420 00709420 007089f0 00709420 00aef15c 00709420 0040d040 -00709420 00709420 -00709480 EXTERNAL:00000220 +00709480 0040cf00 +00709480 00af08bd +00709480 0040cee0 00709480 00aef15c 00709480 00415bc0 -00709480 0040cee0 00709480 00af05e5 -00709480 00af08bd -00709480 0040cf00 -007095c0 004d7450 -007095c0 00415bc0 -007095c0 0040cee0 -007095c0 004d76f0 -007095c0 004d6ee0 -007095c0 00709a30 +00709480 EXTERNAL:00000220 007095c0 0040cf00 -00709770 00709770 +007095c0 004d76f0 +007095c0 0040cee0 +007095c0 00415bc0 +007095c0 00709a30 +007095c0 004d6ee0 +007095c0 004d7450 00709770 00a0f4c0 +00709770 00709770 00709832 00af05eb -00709832 00424530 00709832 00424540 +00709832 00424530 00709850 0040d040 -007099a0 00415bc0 -007099a0 0040cee0 -007099a0 00426940 007099a0 0040cf00 +007099a0 00426940 +007099a0 0040cee0 +007099a0 00415bc0 00709a30 004d74a0 00709a30 004d7250 00709bc0 EXTERNAL:00000253 00709bc0 0041d4c0 00709c40 004074c0 -00709cb0 00aef15c -00709cb0 0040d040 -00709cb0 00407f10 00709cb0 004087a0 -00709d40 0040d040 -00709d40 00407f10 +00709cb0 00aef15c +00709cb0 00407f10 +00709cb0 0040d040 00709d40 004087a0 +00709d40 00407f10 +00709d40 0040d040 00709e50 00af0917 -00709fb0 00709df0 -00709fb0 00af08b1 -00709fb0 009586f0 -00709fb0 00733610 -00709fb0 007706e0 -00709fb0 00771550 -00709fb0 0041af60 -00709fb0 007cb6e0 -00709fb0 007b98c0 -00709fb0 009302e0 -00709fb0 009bea80 -00709fb0 006a89d0 -00709fb0 00956780 +00709fb0 0092dc30 +00709fb0 006e2570 +00709fb0 00732d00 00709fb0 00417870 -00709fb0 007499a0 -00709fb0 00813520 +00709fb0 00428b20 +00709fb0 0075e320 +00709fb0 006a89d0 +00709fb0 00733610 +00709fb0 007cb6e0 +00709fb0 00709df0 +00709fb0 0071eb30 +00709fb0 007b98c0 +00709fb0 00435c70 +00709fb0 00706940 +00709fb0 007706e0 +00709fb0 009302e0 +00709fb0 006fd7c0 +00709fb0 006a9140 00709fb0 006fdc10 00709fb0 00a112c0 -00709fb0 006e2570 -00709fb0 00a10030 -00709fb0 00706940 -00709fb0 00435c70 +00709fb0 009586f0 +00709fb0 00af08b1 00709fb0 007e90f0 -00709fb0 00428b20 +00709fb0 00813520 00709fb0 007e9080 -00709fb0 00732d00 -00709fb0 009a36d0 -00709fb0 007e9020 -00709fb0 006fd7c0 -00709fb0 0075e320 -00709fb0 009568e0 00709fb0 009305f0 -00709fb0 0071eb30 -00709fb0 006a9140 -00709fb0 0092dc30 -00709fb0 EXTERNAL:00000262 +00709fb0 007499a0 +00709fb0 009a36d0 +00709fb0 0041af60 +00709fb0 009bea80 +00709fb0 00956780 +00709fb0 009568e0 00709fb0 007abe20 -0070b170 00709fb0 +00709fb0 EXTERNAL:00000262 +00709fb0 00a10030 +00709fb0 007e9020 +00709fb0 00771550 0070b170 00435a50 +0070b170 00709fb0 +0070b2e0 004074c0 0070b2e0 00a0f4c0 0070b2e0 00709c40 -0070b2e0 004074c0 +0070b950 004087a0 0070b950 00aef15c -0070b950 0040d040 0070b950 00407f10 0070b950 00426980 -0070b950 004087a0 -0070ba00 005cb9b0 -0070ba00 00aef15c -0070ba00 0040d040 -0070ba00 00407f10 +0070b950 0040d040 0070ba00 004087a0 -0070bb20 00aef15c -0070bb20 0040d040 -0070bb20 00407f10 +0070ba00 00aef15c +0070ba00 00407f10 +0070ba00 005cb9b0 +0070ba00 0040d040 0070bb20 004087a0 -0070bc60 00aef15c -0070bc60 0040d040 -0070bc60 00407f10 +0070bb20 00aef15c +0070bb20 00407f10 +0070bb20 0040d040 0070bc60 004087a0 -0070bd00 00aef15c -0070bd00 0040d040 -0070bd00 00407f10 +0070bc60 00aef15c +0070bc60 00407f10 +0070bc60 0040d040 0070bd00 004087a0 -0070bdd0 00aef15c -0070bdd0 0040d040 -0070bdd0 00407f10 +0070bd00 00aef15c +0070bd00 00407f10 +0070bd00 0040d040 0070bdd0 004087a0 -0070bf60 0070bec0 +0070bdd0 00aef15c +0070bdd0 00407f10 +0070bdd0 0040d040 0070bf60 0070bf10 -0070bfa0 00956780 +0070bf60 0070bec0 0070bfa0 0092dc30 -0070c000 00408e00 -0070c000 00716db0 -0070c000 006fe410 -0070c000 0041d520 -0070c000 006eef60 -0070c000 0071af10 -0070c000 00407f10 +0070bfa0 00956780 0070c000 004087a0 -0070c000 0071b100 -0070c000 0041d540 -0070c000 0040d040 +0070c000 0071af10 +0070c000 00716db0 0070c000 00700060 -0070c000 0071f4b0 -0070c000 00435c70 -0070c000 0071f3f0 0070c000 00407170 -0070c000 00716b10 -0070c000 0040a5d0 -0070c000 00716760 -0070c000 0040bcd0 -0070c000 00407ae0 -0070c000 00aef12b 0070c000 00407690 -0070c000 007178c0 +0070c000 00435c70 0070c000 0071b410 -0070c5c0 0040a780 -0070c5c0 00409030 -0070c5c0 00748760 -0070c5c0 0040ae70 -0070c5c0 0074f030 -0070c5c0 0040a4d0 -0070c5c0 0040a550 -0070c5c0 0070ee40 -0070c5c0 006f95a0 -0070c5c0 004071f0 -0070c5c0 0040add0 -0070c5c0 006eef60 -0070c5c0 009bea80 -0070c5c0 0070d360 -0070c5c0 00956780 -0070c5c0 0040b220 -0070c5c0 00af0917 -0070c5c0 006f9400 -0070c5c0 00417870 -0070c5c0 00710dd0 -0070c5c0 0070bfa0 -0070c5c0 00705ee0 -0070c5c0 00703670 -0070c5c0 00710d30 -0070c5c0 0040a5d0 -0070c5c0 00740bc0 -0070c5c0 0040a380 -0070c5c0 0040b430 -0070c5c0 0040a1b0 -0070c5c0 00aef12b -0070c5c0 0070f810 +0070c000 0040bcd0 +0070c000 00407f10 +0070c000 0071f4b0 +0070c000 00407ae0 +0070c000 007178c0 +0070c000 006eef60 +0070c000 0041d540 +0070c000 0071f3f0 +0070c000 00716760 +0070c000 0041d520 +0070c000 0040d040 +0070c000 0040a5d0 +0070c000 00716b10 +0070c000 0071b100 +0070c000 00408e00 +0070c000 00aef12b +0070c000 006fe410 0070c5c0 0092dc30 +0070c5c0 0074f030 +0070c5c0 00417870 +0070c5c0 00705ee0 +0070c5c0 0040b430 +0070c5c0 00710d30 +0070c5c0 00710dd0 +0070c5c0 00af0917 +0070c5c0 00740bc0 +0070c5c0 006f95a0 +0070c5c0 0040add0 +0070c5c0 004071f0 +0070c5c0 0040a550 +0070c5c0 0070f810 +0070c5c0 0040a4d0 +0070c5c0 00703670 +0070c5c0 0040a380 +0070c5c0 006eef60 +0070c5c0 0070bfa0 +0070c5c0 0040b220 +0070c5c0 006f9400 +0070c5c0 0040ae70 +0070c5c0 0040a5d0 +0070c5c0 0040a1b0 +0070c5c0 00409030 +0070c5c0 0070ee40 +0070c5c0 009bea80 +0070c5c0 00956780 +0070c5c0 0070d360 +0070c5c0 00748760 +0070c5c0 0040a780 +0070c5c0 00aef12b +0070d1e0 00709e50 0070d1e0 009bea80 -0070d1e0 005cd5f0 0070d1e0 0040a0d0 0070d1e0 0040a030 -0070d1e0 00709e50 +0070d1e0 005cd5f0 0070d360 00740bc0 -0070d3f0 EXTERNAL:00000220 -0070d3f0 00435a80 -0070d3f0 0040bd50 -0070d3f0 006831c0 -0070d3f0 0040c340 -0070d3f0 0041d520 -0070d3f0 0074f030 -0070d3f0 004071f0 -0070d3f0 0040cae0 -0070d3f0 006f8120 -0070d3f0 004238f0 -0070d3f0 00aef15c -0070d3f0 0070d360 -0070d3f0 0040b220 -0070d3f0 00407f10 -0070d3f0 0040ccd0 -0070d3f0 0040c000 -0070d3f0 00740db0 -0070d3f0 005cd5f0 -0070d3f0 0041d540 -0070d3f0 0040d040 -0070d3f0 0040bf30 -0070d3f0 0044bfb0 -0070d3f0 00740bc0 -0070d3f0 0040b430 -0070d3f0 009be080 -0070d3f0 0040bcd0 -0070d3f0 00aef12b -0070d3f0 00748490 -0070d3f0 0040d0c0 0070d3f0 0040cf00 -0070ee40 005cd5f0 -0070ee40 00af08b1 -0070ee40 004175b0 -0070ee40 0041af60 -0070ee40 00408d00 -0070ee40 0040a5d0 +0070d3f0 0074f030 +0070d3f0 006831c0 +0070d3f0 0040b430 +0070d3f0 0040c340 +0070d3f0 00740bc0 +0070d3f0 0040bf30 +0070d3f0 004071f0 +0070d3f0 00748490 +0070d3f0 0040cae0 +0070d3f0 0040bcd0 +0070d3f0 00407f10 +0070d3f0 009be080 +0070d3f0 0040bd50 +0070d3f0 0040c000 +0070d3f0 004238f0 +0070d3f0 0044bfb0 +0070d3f0 0041d540 +0070d3f0 006f8120 +0070d3f0 0040b220 +0070d3f0 0040d040 +0070d3f0 0041d520 +0070d3f0 0040ccd0 +0070d3f0 EXTERNAL:00000220 +0070d3f0 00aef15c +0070d3f0 00435a80 +0070d3f0 00740db0 +0070d3f0 0070d360 +0070d3f0 005cd5f0 +0070d3f0 00aef12b +0070d3f0 0040d0c0 0070ee40 0040a380 -0070ee40 009be080 -0070ee40 0040a1b0 -0070ee40 0070d360 -0070ee40 0040b220 +0070ee40 00408d00 0070ee40 00417870 +0070ee40 00af08b1 0070ee40 0040a760 +0070ee40 0040b220 +0070ee40 0040a5d0 +0070ee40 0040a1b0 +0070ee40 0041af60 +0070ee40 005cd5f0 +0070ee40 004175b0 +0070ee40 0070d360 +0070ee40 009be080 0070f5e0 00740bc0 0070f5e0 00425ac0 -0070f5e0 006a9140 0070f5e0 0070fb60 +0070f5e0 006a9140 +0070f680 0044bfb0 0070f680 005cd5f0 0070f680 009be6b0 -0070f680 0044bfb0 0070f680 007cb6e0 0070f810 006eef60 0070f810 0041d540 0070f810 00af08b1 -0070f810 006fe410 -0070f810 0041d520 0070f810 0067f1d0 -0070fb60 00709df0 -0070fb60 00929b40 -0070fb60 006fe410 -0070fb60 007cb6e0 -0070fb60 00711740 -0070fb60 0070ee40 -0070fb60 006eef60 -0070fb60 0070d360 -0070fb60 00956780 -0070fb60 0070bfa0 -0070fb60 0040ccd0 -0070fb60 005cd5f0 -0070fb60 00706940 -0070fb60 0074a1b0 -0070fb60 0044bfb0 -0070fb60 00407170 +0070f810 0041d520 +0070f810 006fe410 +0070fb60 0092dc30 0070fb60 007e2580 -0070fb60 00740bc0 -0070fb60 00703330 -0070fb60 0040a380 0070fb60 007b2200 -0070fb60 00aef12b +0070fb60 00711740 +0070fb60 00703330 +0070fb60 007cb6e0 +0070fb60 00709df0 +0070fb60 0074a1b0 +0070fb60 00740bc0 +0070fb60 00407170 +0070fb60 00706940 +0070fb60 0073f940 0070fb60 0070f810 0070fb60 009be6b0 -0070fb60 0073f940 0070fb60 006a9140 -0070fb60 0092dc30 +0070fb60 0040a380 +0070fb60 0044bfb0 +0070fb60 006eef60 +0070fb60 0070bfa0 +0070fb60 0040ccd0 +0070fb60 00929b40 +0070fb60 0070ee40 +0070fb60 00956780 +0070fb60 0070d360 +0070fb60 005cd5f0 +0070fb60 00aef12b +0070fb60 006fe410 00710370 0070d360 007103c0 00417800 007103c0 007706e0 007103c0 00771550 -00710480 00709df0 -00710480 0078f840 -00710480 00771550 -00710480 00456750 -00710480 006fe410 -00710480 0041d520 +00710480 0092dc30 +00710480 007e2580 +00710480 007103c0 +00710480 0040b430 +00710480 00759e20 00710480 007cb6e0 -00710480 0040a4d0 -00710480 0070ee40 -00710480 007cafe0 +00710480 0067f1d0 +00710480 00709df0 +00710480 00740bc0 +00710480 00771f60 00710480 004071f0 -00710480 007db6b0 +00710480 00435c70 +00710480 0078f840 +00710480 0040a4d0 +00710480 0040a380 +00710480 00456750 00710480 006eef60 -00710480 0070d360 -00710480 00956780 +00710480 0041d540 00710480 0040b220 00710480 0070bfa0 -00710480 0067f1d0 -00710480 00759e20 -00710480 0041d540 +00710480 007db6b0 +00710480 0041d520 00710480 00759400 -00710480 00435c70 -00710480 007103c0 -00710480 00771f60 -00710480 007e2580 -00710480 00740bc0 -00710480 0040a380 -00710480 0040b430 -00710480 0092dc30 -00710d30 0040ccd0 +00710480 0070ee40 +00710480 00956780 +00710480 0070d360 +00710480 007cafe0 +00710480 00771550 +00710480 006fe410 00710d30 0070ee40 -00710d90 0070d3f0 +00710d30 0040ccd0 00710d90 0070ee40 +00710d90 0070d3f0 00710dd0 00740bc0 -00710dd0 00748760 -00710dd0 005cd5f0 -00710dd0 00710f70 00710dd0 0070ee40 +00710dd0 00710f70 +00710dd0 005cd5f0 +00710dd0 00748760 00710dd0 00711740 00710fa0 00740bc0 -00710fa0 006f8120 -00710fa0 0070d3f0 -00710fa0 0074ef70 -00710fa0 0074bac0 -00710fa0 009be630 00710fa0 00408d00 -00710fa0 0070fb60 00710fa0 0070ee40 +00710fa0 0070d3f0 +00710fa0 009be630 +00710fa0 0074ef70 +00710fa0 006f8120 +00710fa0 0070fb60 +00710fa0 0074bac0 00711530 00aef12b 00711630 0070ee40 -00711690 009be080 00711690 0070d360 -00711780 EXTERNAL:00000220 -00711780 0040bd50 -00711780 009be080 -00711780 00aef15c -00711780 00aef12b -00711780 00408e00 -00711780 0040a5d0 +00711690 009be080 00711780 0040cf00 -00711950 00a112c0 +00711780 0040bd50 +00711780 00aef15c +00711780 00408e00 +00711780 00aef12b +00711780 009be080 +00711780 EXTERNAL:00000220 +00711780 0040a5d0 00711950 0040add0 00711950 00409030 +00711950 00a112c0 00711950 00711af0 -00711af0 00759e20 -00711af0 00956780 00711af0 00759400 00711af0 0092dc30 +00711af0 00956780 +00711af0 00759e20 00711af0 007cb6e0 00711af0 00711bb0 -00711bb0 00a112c0 00711bb0 0040a1b0 -00711bb0 00956780 -00711bb0 00771550 -00711bb0 007e90f0 -00711bb0 00428b20 00711bb0 0092dc30 +00711bb0 00956780 +00711bb0 00a112c0 +00711bb0 00428b20 +00711bb0 007e90f0 00711bb0 0040a5d0 -00711f30 0040a030 +00711bb0 00771550 00711f30 00709e50 -00711fd0 00408e00 +00711f30 0040a030 00711fd0 0044bfb0 +00711fd0 00408e00 00711fd0 00711bb0 -007120d0 00aef15c -007120d0 0040d040 -007120d0 00407f10 007120d0 004087a0 -00712180 008646e0 -00712180 00409030 -00712180 00709df0 -00712180 00418500 -00712180 006fe410 -00712180 00408b90 -00712180 009e24a0 -00712180 004071f0 -00712180 006eef60 -00712180 00714610 -00712180 004238f0 -00712180 00a114d0 -00712180 00956780 -00712180 0040b220 -00712180 00733ca0 -00712180 00734180 -00712180 00865340 -00712180 0071dee0 -00712180 007079c0 -00712180 00a112c0 -00712180 00734900 -00712180 0044bfb0 -00712180 007078f0 -00712180 00740bc0 -00712180 0070b170 -00712180 00734a80 -00712180 00a68490 -00712180 00aef12b -00712180 006f0090 -00712180 004288a0 +007120d0 00aef15c +007120d0 00407f10 +007120d0 0040d040 00712180 0092dc30 +00712180 00733ca0 +00712180 00a114d0 +00712180 00408b90 +00712180 008646e0 +00712180 00865340 00712180 004cf210 +00712180 00709df0 +00712180 009e24a0 +00712180 007079c0 +00712180 00740bc0 +00712180 004071f0 +00712180 00734a80 00712180 009e0680 +00712180 0070b170 +00712180 0071dee0 +00712180 004238f0 +00712180 0044bfb0 +00712180 00a112c0 +00712180 006eef60 +00712180 00418500 +00712180 00714610 +00712180 0040b220 +00712180 006f0090 +00712180 00734900 +00712180 00409030 +00712180 00956780 +00712180 00a68490 +00712180 007078f0 +00712180 00aef12b +00712180 004288a0 +00712180 00734180 +00712180 006fe410 00713440 0040a140 -00713440 0040b220 -00713440 0040a030 00713440 00709e50 -007135d0 0040c550 -007135d0 0040b220 -007135d0 00408590 -007135d0 00408640 +00713440 0040a030 +00713440 0040b220 007135d0 00409120 -00713760 00a112c0 -00713760 EXTERNAL:00000220 +007135d0 00408590 +007135d0 0040b220 +007135d0 0040c550 +007135d0 00408640 +00713760 0040cf00 00713760 0040bd50 -00713760 0082d030 00713760 0040c000 -00713760 0040bf30 00713760 0074f690 -00713760 00408e00 -00713760 0040a5d0 +00713760 00a112c0 00713760 006eef60 -00713760 0040bcd0 -00713760 00aef15c +00713760 0082d030 +00713760 EXTERNAL:00000220 +00713760 0040ccd0 +00713760 0040a5d0 00713760 0040a1b0 +00713760 0040bf30 +00713760 00aef15c +00713760 00408e00 +00713760 0040aaf0 +00713760 0040bcd0 00713760 00aef12b 00713760 004288a0 -00713760 0040ccd0 -00713760 0040aaf0 -00713760 0040cf00 -00713ee0 00a112c0 -00713ee0 006eef60 -00713ee0 0040b220 00713ee0 00408e00 +00713ee0 006eef60 +00713ee0 00a112c0 00713ee0 00408b90 +00713ee0 0040b220 00713ee0 00813420 00713ee0 0040a5d0 -00714320 00a112c0 00714320 00713ee0 +00714320 00a112c0 +00714320 007abe20 00714320 00714610 00714320 009305f0 -00714320 007abe20 007146e0 00714610 00714700 00714610 -00714770 0041e420 -00714770 00a112c0 -00714770 00409030 00714770 0041a790 -00714770 00718ac0 -00714770 00408e00 -00714770 006fe410 -00714770 0041d520 -00714770 00763570 00714770 00408d00 -00714770 007b9940 +00714770 006eef60 +00714770 00a112c0 +00714770 00763570 +00714770 00718ac0 +00714770 0041e420 +00714770 0041d520 00714770 0040a5d0 00714770 00740bc0 -00714770 006eef60 -00714770 0070b170 -00714770 0040bcd0 00714770 0040a1b0 -00714770 00aef12b -00714770 EXTERNAL:00000262 +00714770 00409030 00714770 00435a50 +00714770 00408e00 +00714770 007b9940 +00714770 EXTERNAL:00000262 +00714770 0040bcd0 +00714770 00aef12b +00714770 0070b170 +00714770 006fe410 +007151e0 00709e50 007151e0 0040a0d0 007151e0 0040a030 -007151e0 00709e50 -00715330 0041e420 -00715330 EXTERNAL:00000220 -00715330 00499960 00715330 00425ac0 -00715330 00718ac0 -00715330 00408e00 +00715330 006eef60 00715330 00716db0 00715330 00452bf0 -00715330 0040a5d0 -00715330 00716b10 +00715330 00718ac0 00715330 00716760 -00715330 0040cae0 -00715330 006eef60 -00715330 00aef15c +00715330 0041e420 +00715330 00499960 +00715330 EXTERNAL:00000220 +00715330 0040a5d0 00715330 0040a1b0 -00715330 00aef12b -00715330 006a9140 +00715330 00aef15c +00715330 00716b10 +00715330 00408e00 +00715330 0040cae0 00715330 00718d20 +00715330 00aef12b 00715330 007178c0 -00715940 00a112c0 -00715940 EXTERNAL:00000220 -00715940 0041e420 -00715940 0040bd50 -00715940 00af08b1 -00715940 00408e00 -00715940 00428b20 -00715940 0069ba90 -00715940 00416440 -00715940 0040a5d0 -00715940 00694fb0 -00715940 006eef60 -00715940 0040bcd0 -00715940 0040b430 -00715940 00aef15c -00715940 0040a1b0 -00715940 00aef12b +00715330 006a9140 00715940 0040cf00 -007166f0 0040bcd0 +00715940 0040bd50 +00715940 00a112c0 +00715940 006eef60 +00715940 00428b20 +00715940 00af08b1 +00715940 0040b430 +00715940 0041e420 +00715940 0069ba90 +00715940 EXTERNAL:00000220 +00715940 0040a5d0 +00715940 0040a1b0 +00715940 00416440 +00715940 00694fb0 +00715940 00aef15c +00715940 00408e00 +00715940 0040bcd0 +00715940 00aef12b 007166f0 00408e00 +007166f0 0040bcd0 007166f0 0040a5d0 -00716760 006eef60 +00716760 00407170 00716760 00435a80 -00716760 00703330 +00716760 006eef60 00716760 0041d540 +00716760 00428b20 00716760 00aef12b 00716760 004288a0 -00716760 00428b20 +00716760 00703330 00716760 0041d520 -00716760 00407170 -00716b10 00703330 -00716b10 006eef60 -00716b10 00956780 -00716b10 00aef12b 00716b10 00929b40 -00716b10 00428b20 00716b10 0092dc30 00716b10 00407170 +00716b10 00956780 +00716b10 006eef60 +00716b10 00428b20 +00716b10 00aef12b +00716b10 00703330 +00716db0 009be3e0 +00716db0 006393a0 +00716db0 009bea80 +00716db0 00703ab0 00716db0 00a112c0 00716db0 006eef60 -00716db0 009bea80 -00716db0 009be3e0 -00716db0 00771550 00716db0 00428b20 -00716db0 006a9140 -00716db0 006ee440 00716db0 009be140 -00716db0 006393a0 -00716db0 00703ab0 -007178c0 007706e0 -007178c0 00703190 -007178c0 006add70 -007178c0 00771550 -007178c0 00929b40 -007178c0 009ad210 -007178c0 0041d520 -007178c0 007cb6e0 -007178c0 006a8fa0 -007178c0 006ff2a0 -007178c0 006eef60 -007178c0 007599d0 -007178c0 009bea80 +00716db0 006ee440 +00716db0 00771550 +00716db0 006a9140 007178c0 009be3e0 -007178c0 007791f0 -007178c0 00956780 -007178c0 00758a70 -007178c0 00417870 -007178c0 009960b0 -007178c0 00a112c0 -007178c0 0041d540 -007178c0 007f0df0 -007178c0 006ac560 -007178c0 005c93b0 -007178c0 00428b20 -007178c0 0044bfb0 -007178c0 009be140 -007178c0 00703950 -007178c0 009be6b0 -007178c0 006a9140 007178c0 0092dc30 -00718ac0 00a112c0 -00718ac0 006eef60 +007178c0 00417870 +007178c0 00428b20 +007178c0 006ff2a0 +007178c0 006a8fa0 +007178c0 007cb6e0 +007178c0 00703190 +007178c0 009960b0 +007178c0 009ad210 +007178c0 007791f0 +007178c0 005c93b0 +007178c0 007706e0 +007178c0 009be6b0 +007178c0 00758a70 +007178c0 006a9140 +007178c0 00703950 +007178c0 006add70 +007178c0 0044bfb0 +007178c0 00a112c0 +007178c0 006eef60 +007178c0 0041d540 +007178c0 007599d0 +007178c0 009be140 +007178c0 0041d520 +007178c0 00929b40 +007178c0 009bea80 +007178c0 00956780 +007178c0 006ac560 +007178c0 007f0df0 +007178c0 00771550 00718ac0 00709db0 00718ac0 00812e60 +00718ac0 006eef60 +00718ac0 00a112c0 +00718ac0 0081e930 00718ac0 00a0f4c0 00718ac0 00709c40 -00718ac0 0081e930 00718dd0 00aef12b 00718dd0 00718ac0 -00718fe0 00409030 -00718fe0 00709df0 -00718fe0 007bf5f0 -00718fe0 00709fb0 -00718fe0 00718f80 -00718fe0 00771550 -00718fe0 00a648b0 -00718fe0 00930980 -00718fe0 006eef60 -00718fe0 009bea80 -00718fe0 00956780 00718fe0 007f0800 -00718fe0 0040ccd0 -00718fe0 0071aa90 00718fe0 0041a790 -00718fe0 00435c70 -00718fe0 00428b20 -00718fe0 0044bfb0 -00718fe0 009be140 -00718fe0 00407170 -00718fe0 00740bc0 -00718fe0 004073d0 -00718fe0 0090b0e0 -00718fe0 00aef12b 00718fe0 0092dc30 -007197d0 0071b100 -007197d0 00703190 +00718fe0 00428b20 +00718fe0 00709fb0 +00718fe0 0071aa90 +00718fe0 00709df0 +00718fe0 00740bc0 +00718fe0 00407170 +00718fe0 00435c70 +00718fe0 00718f80 +00718fe0 00a648b0 +00718fe0 0044bfb0 +00718fe0 00930980 +00718fe0 004073d0 +00718fe0 006eef60 +00718fe0 009be140 +00718fe0 0040ccd0 +00718fe0 00409030 +00718fe0 009bea80 +00718fe0 0090b0e0 +00718fe0 00956780 +00718fe0 007bf5f0 +00718fe0 00aef12b +00718fe0 00771550 007197d0 0071b1c0 -007197d0 00428b20 -007197d0 0071aaf0 -007197d0 00407170 -007197d0 006ff2a0 -007197d0 006eef60 -007197d0 00703330 -007197d0 00aef12b -007197d0 0071af10 -007197d0 0040ccd0 -007197d0 0071af60 -007197d0 0071aa90 -007197d0 0071b410 007197d0 0071dee0 -00719ad0 00a112c0 +007197d0 0071af10 +007197d0 006eef60 +007197d0 006ff2a0 +007197d0 00428b20 +007197d0 0071aa90 +007197d0 0071af60 +007197d0 00703190 +007197d0 00703330 +007197d0 0040ccd0 +007197d0 00407170 +007197d0 0071b100 +007197d0 0071b410 +007197d0 00aef12b +007197d0 0071aaf0 00719ad0 00409030 +00719ad0 00709e50 +00719ad0 00408e00 00719ad0 006831c0 +00719ad0 00a112c0 +00719ad0 0040a030 00719ad0 0040bcd0 00719ad0 0040b220 -00719ad0 00408e00 -00719ad0 0040a030 -00719ad0 00709e50 00719ad0 0040a5d0 +00719dd0 00409120 +00719dd0 00709e50 00719dd0 006831c0 00719dd0 0040b220 -00719dd0 00709e50 -00719dd0 00409120 -00719f80 EXTERNAL:00000220 -00719f80 00a112c0 +00719f80 0040cf00 00719f80 0040bd50 00719f80 0040c000 -00719f80 0040bf30 -00719f80 00408e00 -00719f80 0040a5d0 -00719f80 0040bcd0 -00719f80 00aef15c -00719f80 00aef12b +00719f80 00a112c0 00719f80 00af0917 -00719f80 0042f430 00719f80 0040ccd0 -00719f80 0040cf00 +00719f80 EXTERNAL:00000220 +00719f80 0040a5d0 +00719f80 0040bf30 +00719f80 0042f430 +00719f80 00aef15c +00719f80 00408e00 +00719f80 0040bcd0 +00719f80 00aef12b 0071a760 00812e60 0071a760 00af08b1 0071a760 00aef12b 0071a760 007e9020 +0071a940 00408e00 0071a940 00a112c0 0071a940 0040bcd0 -0071a940 00408e00 +0071a940 007e9020 0071a940 0040ccd0 0071a940 0040a5d0 -0071a940 007e9020 0071aa90 00408e00 0071aa90 0040a5d0 -0071aaf0 00af08b1 0071aaf0 0071a940 +0071aaf0 00af08b1 0071af10 00929b40 0071af60 00a112c0 0071af60 006eef60 0071af60 0041d540 0071af60 00428b20 -0071af60 0041d520 0071af60 007e9020 +0071af60 0041d520 +0071b100 0092dc30 0071b100 00718ee0 0071b100 00956780 -0071b100 0092dc30 -0071b1c0 00a112c0 -0071b1c0 006eef60 +0071b1c0 007f0800 0071b1c0 00709db0 0071b1c0 009bea80 +0071b1c0 00a112c0 +0071b1c0 006eef60 0071b1c0 00a0f4c0 -0071b1c0 00771550 -0071b1c0 007f0800 0071b1c0 00709c40 0071b1c0 007e9020 +0071b1c0 00771550 +0071b410 009be3e0 +0071b410 0055c4c0 +0071b410 00718ee0 +0071b410 00417870 +0071b410 00428b20 +0071b410 007cb6e0 +0071b410 00703330 +0071b410 006a8fa0 +0071b410 00407170 +0071b410 00704360 +0071b410 00435c70 +0071b410 007dba30 +0071b410 004f9920 +0071b410 005c93b0 +0071b410 007706e0 +0071b410 00736ba0 +0071b410 006ee440 +0071b410 009be080 +0071b410 0074f690 +0071b410 0082d030 +0071b410 00a112c0 +0071b410 006eef60 +0071b410 0041d540 0071b410 00703be0 0071b410 00af08b1 -0071b410 004f9920 -0071b410 00718ee0 -0071b410 007706e0 -0071b410 0074f690 -0071b410 00771550 -0071b410 0041d520 -0071b410 006ee440 -0071b410 007dba30 -0071b410 007cb6e0 -0071b410 007c3320 -0071b410 006a8fa0 -0071b410 006eef60 -0071b410 009bea80 -0071b410 009be3e0 -0071b410 00417870 -0071b410 00813520 -0071b410 00a112c0 -0071b410 0082d030 -0071b410 0041d540 -0071b410 00733ff0 -0071b410 0055c4c0 -0071b410 005c93b0 -0071b410 0055cef0 -0071b410 00435c70 -0071b410 00428b20 +0071b410 009be140 0071b410 007e90f0 +0071b410 00813520 +0071b410 0041d520 +0071b410 0055cef0 +0071b410 00733ff0 +0071b410 009bea80 0071b410 004d8b50 0071b410 006c2750 -0071b410 009be140 -0071b410 00407170 -0071b410 007e9020 -0071b410 00736ba0 -0071b410 00703330 -0071b410 009be080 -0071b410 00aef12b -0071b410 00704360 -0071b410 009b92c0 0071b410 00638e30 -0071dfc0 EXTERNAL:00000220 -0071dfc0 00a112c0 -0071dfc0 0041e420 -0071dfc0 0040bd50 -0071dfc0 0040c000 -0071dfc0 0040bf30 -0071dfc0 00408e00 -0071dfc0 00428b20 -0071dfc0 00408d00 -0071dfc0 0071e920 -0071dfc0 0040a5d0 -0071dfc0 00aef15c -0071dfc0 0040a1b0 -0071dfc0 0040cf50 -0071dfc0 00aef12b -0071dfc0 0071eb30 +0071b410 009b92c0 +0071b410 00aef12b +0071b410 007e9020 +0071b410 007c3320 +0071b410 00771550 0071dfc0 0040cf00 +0071dfc0 0071e920 +0071dfc0 0040bd50 +0071dfc0 00408d00 +0071dfc0 0040c000 +0071dfc0 00a112c0 +0071dfc0 0040cf50 +0071dfc0 00428b20 +0071dfc0 0041e420 +0071dfc0 EXTERNAL:00000220 +0071dfc0 0040a5d0 +0071dfc0 0071eb30 +0071dfc0 0040bf30 +0071dfc0 0040a1b0 +0071dfc0 00aef15c +0071dfc0 00408e00 +0071dfc0 00aef12b 0071e920 00740bc0 -0071e920 009be080 0071e920 0044bfb0 -0071e9b0 0070b170 -0071e9b0 0040a380 -0071e9b0 00409030 -0071e9b0 0071df80 -0071e9b0 0071eb30 +0071e920 009be080 0071e9b0 0071e920 -0071eb30 EXTERNAL:00000220 +0071e9b0 00409030 +0071e9b0 0040a380 +0071e9b0 0071df80 +0071e9b0 0070b170 +0071e9b0 0071eb30 0071eb30 0040a1b0 -0071eb30 0040cf50 -0071eb30 00aef15c -0071eb30 0071df80 -0071eb30 00aef12b -0071eb30 00408e00 0071eb30 00408d00 +0071eb30 0071df80 +0071eb30 00aef15c +0071eb30 00408e00 +0071eb30 0040cf50 +0071eb30 00aef12b 0071eb30 0040a5d0 -0071edb0 0040a030 +0071eb30 EXTERNAL:00000220 0071edb0 00709e50 -0071ee90 EXTERNAL:00000220 -0071ee90 0040bd50 -0071ee90 00aef15c -0071ee90 0040a1b0 -0071ee90 00aef12b -0071ee90 0069ba90 -0071ee90 00416440 -0071ee90 0040a5d0 -0071ee90 00694fb0 +0071edb0 0040a030 0071ee90 0040cf00 +0071ee90 0040a1b0 +0071ee90 0040bd50 +0071ee90 00416440 +0071ee90 00aef15c +0071ee90 00694fb0 +0071ee90 00aef12b +0071ee90 EXTERNAL:00000220 +0071ee90 0069ba90 +0071ee90 0040a5d0 0071f250 006eef60 0071f2b0 0040a380 0071f2b0 0071f3f0 0071f3f0 006eef60 -0071f3f0 00703330 0071f3f0 00aef12b +0071f3f0 00703330 0071f4b0 00a112c0 0071f4b0 006eef60 0071f4b0 00428b20 0071f4b0 006ee440 -0071f600 006f9400 0071f600 006f95a0 -0071f630 EXTERNAL:00000220 -0071f630 0040bd50 -0071f630 00709df0 -0071f630 0040c000 -0071f630 0040bf30 -0071f630 00706940 -0071f630 0074bac0 -0071f630 00428b20 -0071f630 0074e9b0 -0071f630 006f95a0 -0071f630 0040a380 -0071f630 006eef60 -0071f630 00aef15c -0071f630 0040b220 -0071f630 00aef12b -0071f630 006f9400 -0071f630 0040ccd0 -0071f630 0071f600 +0071f600 006f9400 0071f630 0040cf00 -0071fef0 EXTERNAL:00000220 -0071fef0 00409030 -0071fef0 009eb980 -0071fef0 00408e00 -0071fef0 0074bac0 -0071fef0 006ef590 -0071fef0 0074f030 -0071fef0 006f95a0 -0071fef0 0040cf50 -0071fef0 00aef15c -0071fef0 00956780 -0071fef0 004360f0 -0071fef0 00af0917 -0071fef0 006f9400 -0071fef0 EXTERNAL:00000231 -0071fef0 00417870 -0071fef0 006fdc10 -0071fef0 00aef29d -0071fef0 0071f600 -0071fef0 00aef253 -0071fef0 00a112c0 -0071fef0 00665c60 +0071f630 0040bd50 +0071f630 0040a380 +0071f630 0040c000 +0071f630 006eef60 +0071f630 00428b20 +0071f630 0040b220 +0071f630 006f9400 +0071f630 0071f600 +0071f630 0074e9b0 +0071f630 00709df0 +0071f630 EXTERNAL:00000220 +0071f630 0040ccd0 +0071f630 006f95a0 +0071f630 0040bf30 +0071f630 00aef15c +0071f630 00706940 +0071f630 00aef12b +0071f630 0074bac0 0071fef0 0041a790 +0071fef0 0092dc30 0071fef0 00aef5af +0071fef0 0074f030 +0071fef0 00417870 +0071fef0 0040cf50 +0071fef0 00af0917 +0071fef0 006f95a0 +0071fef0 009eb980 0071fef0 00706940 +0071fef0 006ef590 +0071fef0 EXTERNAL:00000231 +0071fef0 00aef253 +0071fef0 009be080 +0071fef0 006fd7c0 +0071fef0 0074bac0 +0071fef0 006fdc10 +0071fef0 00665c60 +0071fef0 004360f0 +0071fef0 00703ab0 +0071fef0 00a112c0 +0071fef0 006f9400 +0071fef0 0071f600 0071fef0 0074e9b0 0071fef0 0040a5d0 -0071fef0 009be080 +0071fef0 EXTERNAL:00000220 0071fef0 0040a1b0 -0071fef0 006fd7c0 -0071fef0 00aef12b -0071fef0 0092dc30 -0071fef0 EXTERNAL:00000262 +0071fef0 00409030 0071fef0 00435a50 +0071fef0 00aef15c +0071fef0 00408e00 +0071fef0 00aef29d +0071fef0 00956780 0071fef0 007abe20 -0071fef0 00703ab0 -00720fe0 0040a030 +0071fef0 EXTERNAL:00000262 +0071fef0 00aef12b 00720fe0 00709e50 -007210d0 EXTERNAL:00000220 +00720fe0 0040a030 +007210d0 0040cf00 007210d0 0040bd50 007210d0 00aef15c 007210d0 00aef12b -007210d0 0040cf00 -00721310 0041e420 -00721310 006eef60 +007210d0 EXTERNAL:00000220 +00721310 00456620 00721310 0040a380 +00721310 00408e00 +00721310 006eef60 00721310 0040bcd0 00721310 00aef12b -00721310 00408e00 +00721310 0041e420 00721310 0040a5d0 -00721310 00456620 -00721540 EXTERNAL:00000220 -00721540 006eef60 +00721540 0040cf00 +00721540 0040a1b0 00721540 0040bd50 00721540 00aef15c -00721540 0040a1b0 -00721540 00aef12b 00721540 00408e00 +00721540 006eef60 +00721540 00aef12b +00721540 EXTERNAL:00000220 00721540 0040a5d0 -00721540 0040cf00 -00721780 00a112c0 00721780 00409030 +00721780 006ad750 +00721780 00a112c0 00721780 007706e0 00721780 009305f0 -00721780 006ad750 00721a10 00408e00 00721a10 0040a5d0 00721a70 009a8970 -00721a70 00722250 00721a70 00722330 00721a70 00722020 -00721b70 009a8970 +00721a70 00722250 00721b70 00722140 00721b70 007220a0 -00721c00 009a8970 +00721b70 009a8970 00721c00 00722140 00721c00 007220a0 -00721c80 EXTERNAL:00000220 -00721c80 009a8970 +00721c00 009a8970 00721c80 00aef15c +00721c80 009a8970 00721c80 00722330 +00721c80 EXTERNAL:00000220 00721eb0 007706e0 00722020 007d4170 007221a0 00722330 -007221e0 EXTERNAL:00000220 007221e0 00aef15c +007221e0 EXTERNAL:00000220 00722250 00722330 -00722330 007224f0 -00722330 00415bc0 +00722330 0040cf00 00722330 0040cee0 00722330 00722530 -00722330 0040cf00 +00722330 00415bc0 +00722330 007224f0 00722330 00722460 -00722460 EXTERNAL:00000220 00722460 00aef15c -00722570 0069dd40 -00722570 00415bc0 -00722570 0040cee0 +00722460 EXTERNAL:00000220 00722570 0040cf00 -00722c10 00731160 +00722570 0040cee0 +00722570 00415bc0 +00722570 0069dd40 00722c10 00aef15c +00722c10 00731160 00722c10 0040d040 00722c90 0040d040 -00722cb0 EXTERNAL:00000220 -00722cb0 00a112c0 00722cb0 00aef5af -00722cb0 00a0f4c0 00722cb0 004147f0 -00722cb0 00731e00 -00722cb0 00aef15c -00722cb0 00aef12b -00722cb0 00730eb0 -00722cb0 0040ccd0 -00722cb0 0067f580 +00722cb0 00a112c0 00722cb0 006a0100 +00722cb0 EXTERNAL:00000220 +00722cb0 0040ccd0 +00722cb0 00aef15c 00722cb0 00aef29d +00722cb0 0067f580 +00722cb0 00730eb0 +00722cb0 00731e00 +00722cb0 00aef12b +00722cb0 00a0f4c0 00722cb0 00aef253 -00723f20 EXTERNAL:00000220 -00723f20 0069d630 00723f20 00aef5af -00723f20 00a0f4c0 00723f20 004147f0 -00723f20 00685bc0 -00723f20 00aef15c -00723f20 00aef12b 00723f20 00423480 -00723f20 0040ccd0 -00723f20 0067f580 00723f20 006a0100 +00723f20 00685bc0 +00723f20 EXTERNAL:00000220 +00723f20 0040ccd0 +00723f20 0069d630 +00723f20 00aef15c 00723f20 00aef29d +00723f20 0067f580 +00723f20 00aef12b +00723f20 00a0f4c0 00723f20 00aef253 -00724790 EXTERNAL:00000220 00724790 EXTERNAL:0000023e 00724790 00aef15c -00724790 00423480 00724790 0067f580 +00724790 00423480 00724790 00685bc0 +00724790 EXTERNAL:00000220 00724af0 00a26af0 00724af0 0040ccd0 00724bd0 00a26af0 00724bd0 0040ccd0 -00724cb0 00a0f4c0 00724cb0 00724f00 +00724cb0 00a0f4c0 00724ea0 00aef15c 00724ea0 00731820 00724ec0 00aef15c 00724ec0 007317d0 00724ee0 00aef15c 00724ee0 00731790 -00724f00 00730f90 -00724f00 00731070 -00724f00 004235c0 -00724f00 007310e0 -00724f00 00722a80 00724f00 00731000 -00724f00 00731f40 +00724f00 004235c0 +00724f00 00730f90 00724f00 EXTERNAL:00000263 00724f00 00af05e5 +00724f00 007310e0 +00724f00 00731f40 +00724f00 00722a80 +00724f00 00731070 00725190 00aef15c -00725190 0040d040 00725190 004235c0 -00725190 007252a0 00725190 00731790 -00725190 007317d0 -00725190 004149d0 00725190 00731820 -007252a0 00730f90 -007252a0 00731070 -007252a0 00722c10 +00725190 007252a0 +00725190 007317d0 +00725190 0040d040 +00725190 004149d0 007252a0 00aef15c -007252a0 0040d040 -007252a0 007310e0 007252a0 00731000 +007252a0 00722c10 +007252a0 00730f90 +007252a0 007310e0 +007252a0 0040d040 +007252a0 00731070 007252a0 004149d0 -00725570 EXTERNAL:00000220 -00725570 00a0f4c0 -00725570 004235c0 -00725570 0040c340 -00725570 00413b90 -00725570 00730ed0 -00725570 00a648b0 +00725570 00413bf0 +00725570 00a178d0 00725570 00723f20 +00725570 00a0f4e0 00725570 008f9e50 -00725570 00aeff60 -00725570 00aef15c -00725570 007310e0 +00725570 0040c340 +00725570 0040ccc0 +00725570 004235c0 +00725570 00722c10 +00725570 00731790 +00725570 00414730 +00725570 00a0f4c0 00725570 00421680 -00725570 0040ccd0 -00725570 004149d0 -00725570 00a112c0 -00725570 0069d630 -00725570 0040d040 00725570 00722cb0 00725570 00413c70 -00725570 004155d0 -00725570 00a0f4e0 -00725570 00732240 -00725570 00731790 -00725570 004997f0 -00725570 00af05e5 +00725570 00a648b0 +00725570 00730ed0 +00725570 00a112c0 00725570 0072ff10 -00725570 00a178d0 -00725570 00722c10 +00725570 004155d0 +00725570 00413b90 00725570 EXTERNAL:0000023f -00725570 00414730 -00725570 00aef12b +00725570 0040d040 00725570 00722a80 -00725570 00413bf0 -00725570 0040ccc0 +00725570 0040ccd0 +00725570 EXTERNAL:00000220 +00725570 00732240 +00725570 00aef15c +00725570 0069d630 00725570 0040ca70 -00727430 00a112c0 -00727430 EXTERNAL:00000220 -00727430 00a0f4c0 -00727430 00413c70 -00727430 004155d0 -00727430 00413b90 +00725570 00aeff60 +00725570 00af05e5 +00725570 00aef12b +00725570 004997f0 +00725570 007310e0 +00725570 004149d0 00727430 0042c920 -00727430 00a0f4e0 -00727430 00728710 -00727430 00730ed0 00727430 00a648b0 -00727430 00aeff60 -00727430 00a178d0 -00727430 EXTERNAL:0000023f -00727430 00aef15c -00727430 00414730 -00727430 00aef12b -00727430 00722a80 +00727430 00730ed0 00727430 00413bf0 -00727430 00421680 +00727430 00a112c0 +00727430 00a178d0 +00727430 004155d0 +00727430 00a0f4e0 +00727430 00413b90 +00727430 EXTERNAL:0000023f +00727430 00722a80 00727430 0040ccd0 +00727430 EXTERNAL:00000220 +00727430 00728710 00727430 0040ccc0 +00727430 00aef15c +00727430 00aeff60 +00727430 00414730 +00727430 00421680 +00727430 00a0f4c0 +00727430 00aef12b +00727430 00413c70 00728710 0040ccd0 -00728780 00a112c0 -00728780 EXTERNAL:00000220 -00728780 00722cb0 -00728780 00413c70 -00728780 004155d0 -00728780 00413b90 -00728780 00a0f4e0 00728780 00730ed0 -00728780 00aeff60 +00728780 00a112c0 00728780 00a178d0 -00728780 00aef15c +00728780 004155d0 +00728780 00a0f4e0 +00728780 00413b90 00728780 EXTERNAL:0000023f +00728780 0040ccd0 +00728780 EXTERNAL:00000220 +00728780 00aef15c +00728780 00aeff60 +00728780 EXTERNAL:00000262 00728780 00414730 00728780 00aef12b -00728780 0040ccd0 -00728780 EXTERNAL:00000262 +00728780 00722cb0 +00728780 00413c70 00728780 004149d0 -00728cc0 EXTERNAL:00000220 00728cc0 EXTERNAL:0000023e -00728cc0 EXTERNAL:0000023f -00728cc0 00aef15c -00728cc0 0040d040 -00728cc0 00aef12b -00728cc0 00421680 -00728cc0 0040ccd0 -00728cc0 0067f420 -00728cc0 00724790 00728cc0 0040ccc0 -0072a1b0 00a112c0 -0072a1b0 EXTERNAL:00000220 -0072a1b0 00a0f4c0 -0072a1b0 0040d040 +00728cc0 00aef15c +00728cc0 00724790 +00728cc0 0067f420 +00728cc0 00421680 +00728cc0 00aef12b +00728cc0 EXTERNAL:0000023f +00728cc0 0040d040 +00728cc0 0040ccd0 +00728cc0 EXTERNAL:00000220 0072a1b0 00728cc0 -0072a1b0 00413c70 -0072a1b0 004155d0 -0072a1b0 00413b90 -0072a1b0 00a0f4e0 0072a1b0 00730ed0 -0072a1b0 007227d0 -0072a1b0 00731820 -0072a1b0 EXTERNAL:0000023e -0072a1b0 00aeff60 -0072a1b0 00a178d0 -0072a1b0 0040cf50 -0072a1b0 00aef15c -0072a1b0 EXTERNAL:0000023f -0072a1b0 00414730 -0072a1b0 00aef12b 0072a1b0 00413bf0 -0072a1b0 0040ccd0 0072a1b0 00731d70 +0072a1b0 007227d0 +0072a1b0 00a112c0 +0072a1b0 0040cf50 +0072a1b0 00a178d0 +0072a1b0 004155d0 +0072a1b0 00a0f4e0 +0072a1b0 00413b90 +0072a1b0 EXTERNAL:0000023f +0072a1b0 0040d040 +0072a1b0 0040ccd0 +0072a1b0 EXTERNAL:00000220 +0072a1b0 EXTERNAL:0000023e +0072a1b0 00aef15c +0072a1b0 00aeff60 +0072a1b0 00731820 0072a1b0 EXTERNAL:00000262 -0072aca0 EXTERNAL:000001f4 -0072aca0 00731bf0 -0072aca0 007322f0 -0072aca0 EXTERNAL:0000023f +0072a1b0 00414730 +0072a1b0 00a0f4c0 +0072a1b0 00aef12b +0072a1b0 00413c70 0072aca0 00731d10 -0072add0 EXTERNAL:00000220 -0072add0 0072aca0 +0072aca0 007322f0 +0072aca0 EXTERNAL:000001f4 +0072aca0 EXTERNAL:0000023f +0072aca0 00731bf0 0072add0 00aef15c -0072add0 EXTERNAL:0000023f -0072add0 00aef12b -0072add0 0040ccd0 0072add0 0067f580 -0072b020 EXTERNAL:00000220 -0072b020 0072aca0 +0072add0 0072aca0 +0072add0 00aef12b +0072add0 EXTERNAL:0000023f +0072add0 0040ccd0 +0072add0 EXTERNAL:00000220 0072b020 00aef15c -0072b020 EXTERNAL:0000023f -0072b020 00aef12b -0072b020 0040ccd0 0072b020 0067f580 -0072b230 EXTERNAL:000001f4 +0072b020 0072aca0 +0072b020 00aef12b +0072b020 EXTERNAL:0000023f +0072b020 0040ccd0 +0072b020 EXTERNAL:00000220 0072b230 EXTERNAL:0000023e 0072b230 0072aca0 -0072b230 0072add0 +0072b230 EXTERNAL:000001f4 +0072b230 004997f0 0072b230 EXTERNAL:0000023f 0072b230 0072b020 0072b230 EXTERNAL:000001f3 +0072b230 0072add0 0072b230 0040ccd0 -0072b230 004997f0 -0072ba80 EXTERNAL:00000220 -0072ba80 00413b90 -0072ba80 00730ed0 -0072ba80 00731820 -0072ba80 EXTERNAL:0000023e -0072ba80 00aeff60 +0072ba80 0072b230 +0072ba80 00413bf0 0072ba80 0040cf50 -0072ba80 00aef15c -0072ba80 0040ccd0 -0072ba80 00731d70 +0072ba80 00a178d0 +0072ba80 00a0f4e0 0072ba80 00731870 0072ba80 00722740 -0072ba80 00a112c0 -0072ba80 0040d040 -0072ba80 0072b230 -0072ba80 00413c70 -0072ba80 004155d0 -0072ba80 00a0f4e0 -0072ba80 00a178d0 -0072ba80 EXTERNAL:0000023f +0072ba80 00731820 0072ba80 00414730 -0072ba80 00aef12b -0072ba80 00413bf0 -0072ba80 EXTERNAL:00000262 +0072ba80 00413c70 +0072ba80 00730ed0 +0072ba80 00731d70 +0072ba80 00a112c0 +0072ba80 004155d0 +0072ba80 00413b90 +0072ba80 EXTERNAL:0000023f +0072ba80 0040d040 +0072ba80 0040ccd0 +0072ba80 EXTERNAL:00000220 +0072ba80 EXTERNAL:0000023e +0072ba80 00aef15c 0072ba80 00731980 +0072ba80 00aeff60 +0072ba80 EXTERNAL:00000262 +0072ba80 00aef12b 0072c8f0 0040d040 0072c8f0 007311e0 -0072c930 00aef12b 0072c930 00aefc50 -0072ca50 00a112c0 -0072ca50 EXTERNAL:00000220 -0072ca50 0072c930 -0072ca50 00413c70 -0072ca50 004155d0 -0072ca50 00413b90 -0072ca50 00a0f4e0 +0072c930 00aef12b 0072ca50 00731da0 -0072ca50 00685bc0 -0072ca50 00aeff60 +0072ca50 00a112c0 0072ca50 00a178d0 -0072ca50 00aef15c +0072ca50 004155d0 +0072ca50 00a0f4e0 +0072ca50 00413b90 +0072ca50 00423480 +0072ca50 0072c930 0072ca50 EXTERNAL:0000023f +0072ca50 00685bc0 +0072ca50 0040ccd0 +0072ca50 EXTERNAL:00000220 +0072ca50 00aef15c +0072ca50 00aeff60 +0072ca50 EXTERNAL:00000262 0072ca50 00414730 0072ca50 00aef12b -0072ca50 00423480 -0072ca50 0040ccd0 -0072ca50 EXTERNAL:00000262 -0072cff0 EXTERNAL:00000220 -0072cff0 00731070 -0072cff0 00a0f4c0 -0072cff0 00413b90 +0072ca50 00413c70 +0072cff0 0040cf00 0072cff0 0042c920 -0072cff0 00731000 -0072cff0 0084f380 -0072cff0 00a648b0 -0072cff0 00aeff60 -0072cff0 00aef15c -0072cff0 0040ccd0 -0072cff0 00a112c0 -0072cff0 0040d040 -0072cff0 0084f4e0 -0072cff0 00413c70 -0072cff0 004155d0 +0072cff0 00a178d0 0072cff0 00a0f4e0 0072cff0 00af08bd -0072cff0 00a178d0 -0072cff0 0040bcd0 -0072cff0 EXTERNAL:0000023f -0072cff0 00414730 -0072cff0 00aef12b 0072cff0 0040ccc0 +0072cff0 00414730 +0072cff0 00a0f4c0 +0072cff0 0040bcd0 +0072cff0 00413c70 +0072cff0 00a648b0 +0072cff0 00a112c0 +0072cff0 004155d0 +0072cff0 00413b90 +0072cff0 EXTERNAL:0000023f +0072cff0 0040d040 +0072cff0 0040ccd0 0072cff0 00af05df -0072cff0 0040cf00 -0072e640 00a112c0 -0072e640 EXTERNAL:00000220 -0072e640 00722cb0 -0072e640 00a0f4c0 -0072e640 00413c70 -0072e640 004155d0 -0072e640 00413b90 -0072e640 00a0f4e0 -0072e640 00723f20 -0072e640 00af08bd -0072e640 00aeff60 -0072e640 00a178d0 -0072e640 EXTERNAL:0000023f -0072e640 00aef15c -0072e640 00414730 -0072e640 00aef12b -0072e640 0040ccd0 -0072e640 EXTERNAL:00000262 -0072e640 0040ccc0 -0072e640 00af05df +0072cff0 0084f380 +0072cff0 EXTERNAL:00000220 +0072cff0 00aef15c +0072cff0 00731000 +0072cff0 00aeff60 +0072cff0 0084f4e0 +0072cff0 00aef12b +0072cff0 00731070 0072e640 0040cf00 -0072ece0 EXTERNAL:00000220 -0072ece0 00413b90 -0072ece0 00aef5c4 -0072ece0 00a648b0 +0072e640 00a112c0 +0072e640 00a178d0 +0072e640 004155d0 +0072e640 00723f20 +0072e640 00a0f4e0 +0072e640 00413b90 +0072e640 EXTERNAL:0000023f +0072e640 0040ccd0 +0072e640 00af05df +0072e640 EXTERNAL:00000220 +0072e640 00af08bd +0072e640 0040ccc0 +0072e640 00aef15c +0072e640 00aeff60 +0072e640 EXTERNAL:00000262 +0072e640 00414730 +0072e640 00a0f4c0 +0072e640 00aef12b +0072e640 00722cb0 +0072e640 00413c70 0072ece0 007312c0 -0072ece0 00aeff60 -0072ece0 00aef15c -0072ece0 00731360 +0072ece0 00413bf0 +0072ece0 00a178d0 +0072ece0 00a0f4e0 +0072ece0 0040ccc0 +0072ece0 00414730 0072ece0 00421680 -0072ece0 0040ccd0 0072ece0 007317d0 +0072ece0 00413c70 +0072ece0 00731360 +0072ece0 00a648b0 0072ece0 00730e30 0072ece0 00a112c0 -0072ece0 00aef638 -0072ece0 0040d040 -0072ece0 00413c70 -0072ece0 00731dd0 0072ece0 004155d0 -0072ece0 00a0f4e0 -0072ece0 00a178d0 -0072ece0 EXTERNAL:0000023f -0072ece0 00414730 -0072ece0 00aef12b -0072ece0 00413bf0 0072ece0 0067f420 -0072ece0 0040ccc0 +0072ece0 00413b90 +0072ece0 EXTERNAL:0000023f +0072ece0 00aef5c4 +0072ece0 0040d040 +0072ece0 0040ccd0 +0072ece0 EXTERNAL:00000220 +0072ece0 00731dd0 +0072ece0 00aef15c +0072ece0 00aef638 +0072ece0 00aeff60 +0072ece0 00aef12b 0072fc90 00730e30 0072fca0 00aef638 0072fca0 0040d040 @@ -20753,334 +20753,334 @@ 0072ff10 0040ccd0 0072fff0 00a26af0 0072fff0 0040ccd0 -007300d0 005b14e0 -007300d0 00aef5af -007300d0 00929aa0 -007300d0 00456750 007300d0 00423090 +007300d0 00aef5af +007300d0 00436140 +007300d0 00456750 007300d0 009be630 007300d0 009bf930 -007300d0 007e9020 -007300d0 00436140 -007300d0 009be080 +007300d0 00929aa0 007300d0 009bea80 -007300d0 00aef12b 007300d0 00aef29d +007300d0 00aef12b +007300d0 007e9020 007300d0 00aef253 +007300d0 005b14e0 +007300d0 009be080 00730910 0072fd10 -00730aa0 00929aa0 00730aa0 009be630 +00730aa0 00929aa0 00730b20 00929aa0 -00730b80 00aef5af -00730b80 00a23200 00730b80 0042c920 -00730b80 EXTERNAL:00000263 +00730b80 00aef5af 00730b80 00aef29d +00730b80 EXTERNAL:00000263 +00730b80 00a23200 00730b80 00aef253 00730de0 00428590 -00730e30 EXTERNAL:00000220 00730e30 00aef15c 00730e30 00731b00 +00730e30 EXTERNAL:00000220 00730eb0 00731540 +00730ed0 004170d0 00730ed0 00a0f4c0 00730ed0 004288a0 00730ed0 00415bd0 -00730ed0 004170d0 00730f90 00af05e5 00730f90 00732020 00731000 00af05e5 00731000 00732100 -00731070 007321a0 00731070 00af05e5 +00731070 007321a0 007310e0 00732240 007310e0 00af05e5 -00731160 EXTERNAL:00000220 -00731160 00aef15c 00731160 00731b90 -007311e0 EXTERNAL:00000220 -007311e0 00731bf0 +00731160 00aef15c +00731160 EXTERNAL:00000220 007311e0 00aef15c +007311e0 00731bf0 +007311e0 EXTERNAL:00000220 00731260 00731b00 -00731280 EXTERNAL:00000220 00731280 00aef15c -007312c0 0040cf50 +00731280 EXTERNAL:00000220 007312c0 00aef956 -00731360 EXTERNAL:00000220 -00731360 00aef15c -00731360 00415bc0 -00731360 0040cee0 -00731360 00732450 -00731360 007312c0 -00731360 00731b00 +007312c0 0040cf50 00731360 0040cf00 +00731360 007312c0 +00731360 0040cee0 +00731360 00aef15c +00731360 00731b00 +00731360 00415bc0 +00731360 00732450 +00731360 EXTERNAL:00000220 00731506 00af05eb -00731506 00731280 00731506 00731260 -00731540 00a0f4c0 +00731506 00731280 00731540 00415fe0 -00731540 004170d0 -00731540 00423480 00731540 00415f80 00731540 00731e00 +00731540 004170d0 +00731540 00a0f4c0 +00731540 00423480 00731790 00aef15c 00731790 00731790 +007317d0 00730e30 007317d0 00aef15c 007317d0 007317d0 -007317d0 00730e30 00731820 00aef15c -00731820 0040d040 00731820 00731820 +00731820 0040d040 00731870 00731c30 -00731980 EXTERNAL:00000220 -00731980 00aef15c -00731980 00415bc0 +00731980 0040cf00 00731980 00731b90 00731980 0040cee0 +00731980 00aef15c +00731980 00415bc0 00731980 00732580 00731980 00731870 -00731980 0040cf00 +00731980 EXTERNAL:00000220 00731b00 00aef638 00731b00 0040d040 00731b90 0040d040 00731b90 007311e0 00731bf0 0040d040 -00731d10 00731bf0 00731d10 00722740 +00731d10 00731bf0 00731d50 00aef15c 00731d70 007325e0 00731da0 00732830 00731dd0 00732a20 00731e00 00423480 00731e90 00aef15c -00731e90 0040d040 00731e90 00731e90 -00731f40 EXTERNAL:00000220 -00731f40 00aef15c -00731f40 0040cee0 -00731f40 00af05e5 -00731f40 00af08bd +00731e90 0040d040 00731f40 0040cf00 -00732020 EXTERNAL:00000220 -00732020 00aef15c -00732020 0040cee0 -00732020 00af05e5 -00732020 00af08bd +00731f40 00af08bd +00731f40 0040cee0 +00731f40 00aef15c +00731f40 00af05e5 +00731f40 EXTERNAL:00000220 00732020 0040cf00 -00732100 0041d150 +00732020 00af08bd +00732020 0040cee0 +00732020 00aef15c +00732020 00af05e5 +00732020 EXTERNAL:00000220 +00732100 0040cf00 +00732100 00af08bd 00732100 0040cee0 00732100 00af05e5 -00732100 00af08bd -00732100 0040cf00 -007321a0 0041d150 +00732100 0041d150 +007321a0 0040cf00 +007321a0 00af08bd 007321a0 0040cee0 007321a0 00af05e5 -007321a0 00af08bd -007321a0 0040cf00 -00732240 0041d150 -00732240 00415bc0 -00732240 0040cee0 -00732240 00af05e5 -00732240 00af08bd +007321a0 0041d150 00732240 0040cf00 -007322f0 EXTERNAL:00000220 -007322f0 00731bf0 -007322f0 00aef15c -007322f0 00415bc0 +00732240 00af08bd +00732240 0040cee0 +00732240 00415bc0 +00732240 00af05e5 +00732240 0041d150 +007322f0 0040cf00 007322f0 0040cee0 007322f0 00731c30 +007322f0 00aef15c +007322f0 00415bc0 007322f0 00722740 -007322f0 0040cf00 +007322f0 00731bf0 +007322f0 EXTERNAL:00000220 00732450 00aef956 00732450 00731b00 00732580 00731b90 00732580 00731870 007325c0 00731bf0 007325d0 00731b90 -007325e0 00a0f4c0 007325e0 00415fe0 -007325e0 004170d0 -007325e0 00423480 007325e0 00415f80 +007325e0 004170d0 +007325e0 00a0f4c0 +007325e0 00423480 007325e0 00685bc0 -00732830 00731ee0 -00732830 00a0f4c0 00732830 00415fe0 -00732830 004170d0 00732830 00415f80 -00732a20 00a0f4c0 +00732830 00731ee0 +00732830 004170d0 +00732830 00a0f4c0 00732a20 00415fe0 -00732a20 004288a0 -00732a20 004170d0 00732a20 00415f80 +00732a20 004170d0 +00732a20 00a0f4c0 +00732a20 004288a0 00732c90 00aef638 00732c90 00426980 00732c90 004149d0 00732d00 0072fd10 -00732d00 0044bfb0 00732d00 007300d0 +00732d00 0044bfb0 00732dc0 00a112c0 00732e90 00428590 -00732ef0 EXTERNAL:00000220 00732ef0 00aef15c 00732ef0 00732e90 -00732fa0 00a112c0 +00732ef0 EXTERNAL:00000220 00732fa0 00733ff0 00732fa0 007300d0 +00732fa0 00a112c0 007333f0 00a112c0 007333f0 009be080 -00733610 00a112c0 -00733610 00aefca0 -00733610 00733610 -00733610 00732fa0 -00733610 007e90f0 -00733610 007e9080 -00733610 0044bfb0 -00733610 007e9020 00733610 007300d0 +00733610 0044bfb0 +00733610 00a112c0 00733610 00865dc0 -00733610 009be080 -00733610 009bea80 -00733610 00865f10 -00733610 00aef12b -00733610 00737380 +00733610 007e90f0 +00733610 00733610 +00733610 007e9080 00733610 009305f0 +00733610 00865f10 +00733610 007333f0 +00733610 00732fa0 +00733610 009bea80 00733610 00737010 00733610 009dcc70 -00733610 007333f0 +00733610 00aefca0 +00733610 00aef12b +00733610 007e9020 +00733610 00737380 +00733610 009be080 +00733ca0 007300d0 00733ca0 00a112c0 00733ca0 00aef12b -00733ca0 00736a90 00733ca0 007e9020 +00733ca0 00736a90 00733ca0 008658c0 -00733ca0 007300d0 00733ff0 00733ff0 00733ff0 0072fd10 00733ff0 007300d0 +00734180 00aef5af +00734180 00aef29d 00734180 00730aa0 00734180 00a112c0 -00734180 00aef5af -00734180 00428590 00734180 00aef12b -00734180 00aef29d 00734180 007e9020 00734180 00aef253 +00734180 00428590 +00734870 00865340 00734870 00aef12b 00734870 00734180 -00734870 00865340 -00734900 00a112c0 00734900 00865c80 -00734a80 00865ad0 +00734900 00a112c0 00734a80 007706e0 +00734a80 00865ad0 00734a80 007c7960 00734a80 007c40e0 -00734cc0 00a112c0 -00734cc0 EXTERNAL:00000220 -00734cc0 00428590 -00734cc0 00aef15c 00734cc0 00af08bd +00734cc0 00aef15c +00734cc0 00a112c0 +00734cc0 00428590 00734cc0 00730b20 -00734f30 00a112c0 -00734f30 EXTERNAL:00000220 -00734f30 00733ff0 -00734f30 00428590 +00734cc0 EXTERNAL:00000220 00734f30 00423090 00734f30 00735910 -00734f30 00af05e5 -00734f30 00af08bd -00734f30 00737f40 +00734f30 00a112c0 +00734f30 00428590 00734f30 00735a30 +00734f30 EXTERNAL:00000220 +00734f30 00733ff0 +00734f30 00af08bd 00734f30 00aef15c +00734f30 00737f40 +00734f30 00af05e5 00734f30 008f46f0 00734f30 00aef12b 00734f30 00736a90 +00735910 008fd3c0 00735910 00aef12b 00735910 008fd410 -00735910 008fd3c0 +00735a30 00a648b0 00735a30 00a112c0 -00735a30 EXTERNAL:00000220 -00735a30 0069d630 -00735a30 00a0f4c0 -00735a30 00413c70 -00735a30 004235c0 -00735a30 00929aa0 +00735a30 00a178d0 00735a30 004155d0 +00735a30 00a0f4e0 00735a30 00413b90 00735a30 00737cc0 -00735a30 00a0f4e0 -00735a30 00a648b0 -00735a30 00685bc0 -00735a30 EXTERNAL:0000023e -00735a30 00738040 -00735a30 00aeff60 -00735a30 00a178d0 -00735a30 00aef15c -00735a30 EXTERNAL:0000023f -00735a30 00414730 -00735a30 00aef12b 00735a30 00423480 +00735a30 00929aa0 +00735a30 EXTERNAL:0000023f +00735a30 00685bc0 00735a30 0040ccd0 +00735a30 EXTERNAL:00000220 +00735a30 EXTERNAL:0000023e +00735a30 0069d630 +00735a30 00aef15c +00735a30 004235c0 +00735a30 00aeff60 +00735a30 00414730 +00735a30 00a0f4c0 +00735a30 00aef12b +00735a30 00413c70 +00735a30 00738040 007367d0 00732240 007367d0 00423090 007367d0 00af05e5 -00736a90 00a112c0 00736a90 007300d0 +00736a90 00a112c0 00736ba0 00a112c0 -00736c30 00a112c0 -00736c30 EXTERNAL:00000220 -00736c30 00428590 -00736c30 00aef15c -00736c30 0041d1b0 -00736c30 00423290 00736c30 0040cf00 -00737010 00a112c0 -00737010 EXTERNAL:00000220 -00737010 00aef15c +00736c30 0041d1b0 +00736c30 00aef15c +00736c30 00a112c0 +00736c30 00423290 +00736c30 00428590 +00736c30 EXTERNAL:00000220 00737010 0049cbf0 +00737010 00aef15c +00737010 00a112c0 00737010 004a11c0 +00737010 EXTERNAL:00000220 +00737380 0041d1b0 +00737380 0042c920 +00737380 00aef5af +00737380 007300d0 +00737380 00aef29d 00737380 00a112c0 00737380 00737e80 -00737380 00aef5af -00737380 0042c920 -00737380 0041d1b0 -00737380 00aef29d 00737380 00aef253 -00737380 007300d0 -007376c0 00a112c0 -007376c0 EXTERNAL:00000220 -007376c0 00428590 -007376c0 00aef15c -007376c0 00733610 007376c0 0049cbf0 +007376c0 00aef15c +007376c0 00a112c0 +007376c0 00733610 007376c0 004a11c0 -00737b30 00738040 +007376c0 00428590 +007376c0 EXTERNAL:00000220 00737b30 00a0f4c0 +00737b30 00738040 +00737c10 0040cf00 00737c10 0041d1b0 00737c10 00423290 -00737c10 0040cf00 -00737cc0 EXTERNAL:00000220 -00737cc0 005cc6e0 -00737cc0 00aef15c -00737cc0 00415bc0 -00737cc0 0040cee0 00737cc0 0040cf00 +00737cc0 0040cee0 +00737cc0 00aef15c +00737cc0 005cc6e0 +00737cc0 00415bc0 +00737cc0 EXTERNAL:00000220 00737e50 00aef15c 00737e50 004235c0 -00737e80 0041d150 -00737e80 00415bc0 -00737e80 0041d1b0 -00737e80 0040cee0 -00737e80 00af08bd 00737e80 0040cf00 -00737f40 EXTERNAL:00000220 +00737e80 0041d1b0 +00737e80 00af08bd +00737e80 0040cee0 +00737e80 00415bc0 +00737e80 0041d150 +00737f40 0040cf00 +00737f40 00af08bd +00737f40 0040cee0 00737f40 00aef15c 00737f40 00415bc0 -00737f40 0040cee0 00737f40 00af05e5 -00737f40 00af08bd -00737f40 0040cf00 -00738040 00738040 +00737f40 EXTERNAL:00000220 00738040 0040cf50 00738040 00a0f4c0 +00738040 00738040 0073811e 00af05eb 0073811e 004235c0 0073811e 00424530 @@ -21091,327 +21091,327 @@ 007382c0 0041c910 007382c0 0041cb90 00738340 00a112c0 -007383b0 007e9ba0 007383b0 00aef15c 007383b0 00aef638 +007383b0 007e9ba0 007383b0 00708e20 -00738470 0082d030 00738470 0074f690 -007384d0 007e9ba0 +00738470 0082d030 007384d0 00aef15c +007384d0 007e9ba0 007384d0 00a0f4c0 007384d0 00af05e5 007384d0 007e9400 00738610 00802980 00738650 00aef5af 00738650 00aef15c -00738650 00708f90 -00738650 00708e20 -00738650 00aef12b -00738650 006ef590 00738650 00aef29d +00738650 006ef590 +00738650 007387d0 +00738650 00aef12b +00738650 00708e20 00738650 00424540 00738650 00aef253 -00738650 007387d0 -007387d0 00708f90 +00738650 00708f90 007387d0 00708e20 007387d0 00424540 -00738ab0 00a112c0 +007387d0 00708f90 00738ab0 0074d8d0 +00738ab0 0044bfb0 +00738ab0 0074f690 +00738ab0 00a112c0 00738ab0 0082d030 00738ab0 009afdb0 -00738ab0 0060d010 00738ab0 00aef12b -00738ab0 0074f690 00738ab0 00428940 -00738ab0 0044bfb0 +00738ab0 0060d010 00738d70 00a0f4c0 -00738d70 004e45c0 00738d70 00aef12b -00739080 00a112c0 +00738d70 004e45c0 00739080 0082c7d0 -00739080 007e90f0 00739080 00738470 00739080 0082cdd0 -00739370 004d72b0 -00739370 0082c7d0 -00739370 00415bc0 -00739370 0042c920 -00739370 0074b5d0 -00739370 006ef590 -00739370 00739080 -00739370 009b1860 -00739370 0074f030 -00739370 0082cdd0 -00739370 00424540 -00739370 006f95a0 -00739370 005cbe20 -00739370 009bea80 -00739370 004e45c0 -00739370 00422830 -00739370 0074dbd0 -00739370 00417870 -00739370 009af0e0 -00739370 00426940 -00739370 00aef29d -00739370 00aef253 -00739370 00738ab0 -00739370 00752c30 -00739370 009aef10 -00739370 00706940 -00739370 007e90f0 -00739370 009bf930 -00739370 00752980 -00739370 009be080 -00739370 009beb30 -00739370 EXTERNAL:00000220 +00739080 00a112c0 +00739080 007e90f0 00739370 009addf0 -00739370 0082c720 -00739370 00423250 -00739370 00771550 +00739370 0042c920 +00739370 00417870 +00739370 0074f030 00739370 0074ef70 00739370 007cb6e0 -00739370 004217a0 -00739370 009af620 -00739370 007cafe0 -00739370 00aef15c -00739370 006f9400 -00739370 00428940 -00739370 004149d0 -00739370 00a112c0 -00739370 00752a80 -00739370 00752460 -00739370 0082d030 -00739370 00aef5af -00739370 005cc510 -00739370 009be630 -00739370 00738d70 -00739370 009ae640 -00739370 0044bfb0 -00739370 007e9020 -00739370 009ae0e0 +00739370 009b1860 +00739370 00738ab0 00739370 00740bc0 -00739370 0074efd0 -00739370 00aef12b +00739370 00426940 +00739370 006ef590 +00739370 004d72b0 +00739370 00422830 +00739370 0074dbd0 00739370 009be6b0 -00739370 004288a0 -00739370 009ae170 +00739370 005cc510 +00739370 009ae0e0 +00739370 009be080 +00739370 00423250 +00739370 00738d70 +00739370 009af0e0 +00739370 0044bfb0 +00739370 00a112c0 +00739370 009be630 00739370 0040c740 -00739370 009b92c0 +00739370 007e90f0 +00739370 009bf930 +00739370 009ae170 +00739370 00424540 +00739370 0082c720 +00739370 004e45c0 +00739370 009bea80 +00739370 00aef29d +00739370 00415bc0 00739370 00752900 +00739370 00752c30 +00739370 004217a0 +00739370 009beb30 +00739370 00428940 +00739370 0082c7d0 +00739370 00aef5af +00739370 0074efd0 +00739370 009af620 +00739370 00752460 +00739370 00739080 +00739370 006f95a0 +00739370 00706940 +00739370 005cbe20 +00739370 00aef253 +00739370 0082cdd0 +00739370 0082d030 +00739370 009ae640 +00739370 00752a80 +00739370 006f9400 +00739370 0074b5d0 +00739370 00752980 +00739370 EXTERNAL:00000220 +00739370 00aef15c +00739370 009aef10 +00739370 009b92c0 +00739370 00aef12b +00739370 007e9020 +00739370 004288a0 +00739370 007cafe0 +00739370 00771550 +00739370 004149d0 0073d9b0 00740bc0 0073da40 00740bc0 0073da40 00a112c0 0073da40 0073d9b0 0073dae0 00740bc0 -0073dae0 00aef12b 0073dae0 0042a030 +0073dae0 00aef12b 0073e040 0073dae0 -0073e0a0 00993a70 -0073e0a0 0082c7d0 -0073e0a0 0074f690 -0073e0a0 0042c920 -0073e0a0 0041d520 -0073e0a0 0082cdd0 -0073e0a0 006f95a0 0073e0a0 0042a030 -0073e0a0 009bea80 -0073e0a0 007dad80 -0073e0a0 00802670 -0073e0a0 009bba30 -0073e0a0 0067f1d0 -0073e0a0 00428b20 -0073e0a0 00748bc0 -0073e0a0 0074d010 -0073e0a0 007f7a40 -0073e0a0 009be080 -0073e0a0 00820170 -0073e0a0 007f83b0 -0073e0a0 008167e0 -0073e0a0 EXTERNAL:00000220 -0073e0a0 007f9960 -0073e0a0 0074c540 -0073e0a0 008271e0 -0073e0a0 007cb6e0 -0073e0a0 0070ee40 -0073e0a0 006eef60 -0073e0a0 007db3b0 -0073e0a0 00865180 -0073e0a0 00714610 -0073e0a0 007f2800 -0073e0a0 00aef15c -0073e0a0 006f9400 -0073e0a0 00710fa0 -0073e0a0 0040ccd0 -0073e0a0 0070fb60 -0073e0a0 008204b0 -0073e0a0 00a112c0 -0073e0a0 0082d030 -0073e0a0 0041d540 -0073e0a0 0044bfb0 -0073e0a0 007e9020 -0073e0a0 00738470 -0073e0a0 007f20e0 -0073e0a0 00740bc0 +0073e0a0 0042c920 0073e0a0 009a8970 -0073e0a0 00aef12b +0073e0a0 00802670 +0073e0a0 007cb6e0 +0073e0a0 0067f1d0 +0073e0a0 007f7a40 +0073e0a0 008271e0 +0073e0a0 00740bc0 +0073e0a0 007f20e0 0073e0a0 009be6b0 +0073e0a0 008167e0 +0073e0a0 009be080 +0073e0a0 00738470 +0073e0a0 0044bfb0 +0073e0a0 0074f690 +0073e0a0 00a112c0 +0073e0a0 006eef60 +0073e0a0 0041d540 +0073e0a0 00714610 +0073e0a0 0074c540 +0073e0a0 0041d520 +0073e0a0 007dad80 0073e0a0 007f8190 +0073e0a0 0074d010 +0073e0a0 007f83b0 +0073e0a0 00865180 +0073e0a0 009bea80 +0073e0a0 00748bc0 +0073e0a0 0082c7d0 +0073e0a0 00428b20 +0073e0a0 006f95a0 +0073e0a0 00820170 +0073e0a0 00993a70 +0073e0a0 0070fb60 +0073e0a0 007db3b0 +0073e0a0 0082cdd0 +0073e0a0 0082d030 +0073e0a0 006f9400 +0073e0a0 008204b0 +0073e0a0 009bba30 +0073e0a0 0040ccd0 +0073e0a0 EXTERNAL:00000220 +0073e0a0 0070ee40 +0073e0a0 00aef15c +0073e0a0 00710fa0 +0073e0a0 007f2800 +0073e0a0 00aef12b +0073e0a0 007e9020 +0073e0a0 007f9960 0073f620 00740bc0 -0073f620 006eef60 -0073f620 009be080 -0073f620 00709df0 -0073f620 00af08b1 -0073f620 00956780 -0073f620 0073f620 -0073f620 0074ef70 -0073f620 006fe410 0073f620 0092dc30 +0073f620 006eef60 +0073f620 00956780 +0073f620 00af08b1 +0073f620 0074ef70 +0073f620 00709df0 +0073f620 009be080 0073f620 0074c540 +0073f620 0073f620 +0073f620 006fe410 0073f940 00740bc0 -0073f940 0073f620 -0073f940 0098b5e0 0073f940 0074ef70 -0073fa20 006eef60 +0073f940 0098b5e0 +0073f940 0073f620 0073fa20 00aef5af -0073fa20 006fd7c0 -0073fa20 006ef590 -0073fa20 004d6ee0 0073fa20 00aef29d +0073fa20 006eef60 +0073fa20 006ef590 0073fa20 00424540 0073fa20 00aef253 -0073fc80 EXTERNAL:00000220 -0073fc80 0042c820 -0073fc80 009294f0 -0073fc80 00749270 -0073fc80 00415bc0 -0073fc80 00752de0 +0073fa20 004d6ee0 +0073fa20 006fd7c0 +0073fc80 0040cf00 +0073fc80 0092dc30 0073fc80 0042c920 -0073fc80 009292c0 +0073fc80 00749270 0073fc80 0074ef70 -0073fc80 007496a0 -0073fc80 00424540 -0073fc80 0070ee40 -0073fc80 006f95a0 -0073fc80 006eef60 -0073fc80 00aef15c -0073fc80 00956780 -0073fc80 006f9400 -0073fc80 00928ee0 -0073fc80 0040ccd0 -0073fc80 0070fb60 -0073fc80 00a112c0 -0073fc80 00748d40 -0073fc80 007efa50 -0073fc80 EXTERNAL:00000009 -0073fc80 00740bc0 0073fc80 0074efd0 0073fc80 009bc000 +0073fc80 009294f0 +0073fc80 00740bc0 +0073fc80 006f95a0 0073fc80 0073e0a0 0073fc80 0073f940 -0073fc80 0092dc30 -0073fc80 0040cf00 +0073fc80 0070fb60 +0073fc80 007efa50 +0073fc80 007496a0 +0073fc80 00a112c0 +0073fc80 006eef60 +0073fc80 EXTERNAL:00000009 +0073fc80 006f9400 +0073fc80 00424540 +0073fc80 0042c820 +0073fc80 EXTERNAL:00000220 +0073fc80 0040ccd0 +0073fc80 009292c0 +0073fc80 00aef15c +0073fc80 0070ee40 +0073fc80 00748d40 +0073fc80 00956780 +0073fc80 00415bc0 +0073fc80 00752de0 0073fc80 0073da40 -00740860 00a112c0 -00740860 EXTERNAL:00000220 -00740860 0060d010 -00740860 00aef15c -00740860 0074b710 +0073fc80 00928ee0 00740860 0042c920 -00740a60 EXTERNAL:00000220 -00740a60 00aef15c +00740860 0074b710 +00740860 00aef15c +00740860 00a112c0 +00740860 0060d010 +00740860 EXTERNAL:00000220 00740a60 0042c920 00740a60 0074b710 +00740a60 00aef15c +00740a60 EXTERNAL:00000220 00740bc0 00740bc0 00740bc0 00aef5af -00740bc0 006ef590 00740bc0 00aef29d +00740bc0 006ef590 00740bc0 00aef253 00740da0 00740bc0 00740db0 00740bc0 00740dd0 00740bc0 -00740e10 00a112c0 -00740e10 EXTERNAL:00000220 -00740e10 0082d030 -00740e10 00753390 -00740e10 006a0d30 -00740e10 0074ef70 -00740e10 00af08bd -00740e10 006f95a0 00740e10 0042a030 00740e10 009adaf0 -00740e10 009be080 -00740e10 00aef15c -00740e10 0074efd0 -00740e10 006f9400 -00740e10 007525e0 00740e10 007382c0 00740e10 0082ce40 +00740e10 00a112c0 +00740e10 0082d030 +00740e10 0074ef70 +00740e10 0074efd0 +00740e10 006f9400 +00740e10 00753390 +00740e10 EXTERNAL:00000220 +00740e10 006f95a0 +00740e10 00af08bd +00740e10 00aef15c +00740e10 006a0d30 +00740e10 007525e0 +00740e10 009be080 00740e10 004149d0 00741cc0 007527b0 00741cc0 004149d0 00741e60 0082c7d0 -00741e60 006ef590 -00741e60 00739080 -00741e60 00424540 -00741e60 008295c0 -00741e60 00422830 -00741e60 00709280 -00741e60 00428940 -00741e60 009af0e0 -00741e60 007095c0 -00741e60 00741cf0 -00741e60 004149d0 -00741e60 00aef29d -00741e60 00aef253 -00741e60 00829500 -00741e60 00a112c0 -00741e60 00738ab0 -00741e60 007527b0 -00741e60 009aef10 00741e60 00aef5af -00741e60 009b0330 -00741e60 009b0180 -00741e60 007e90f0 -00741e60 009b0440 -00741e60 005711a0 -00741e60 00af08bd -00741e60 009b1a00 -00741e60 009ae0e0 -00741e60 007474a0 -00741e60 00aef12b -00741e60 009b0b00 +00741e60 007527b0 00741e60 009af980 -00742ef0 00a112c0 -00742ef0 009adaf0 -00742ef0 006a0d30 -00742ef0 007525e0 -00742ef0 0082ce40 -00742ef0 004149d0 -00742ef0 00af08bd +00741e60 00739080 +00741e60 00738ab0 +00741e60 00af08bd +00741e60 009b0440 +00741e60 009b0b00 +00741e60 006ef590 +00741e60 00422830 +00741e60 00aef253 +00741e60 007095c0 +00741e60 009ae0e0 +00741e60 00709280 +00741e60 00829500 +00741e60 005711a0 +00741e60 009af0e0 +00741e60 00a112c0 +00741e60 007e90f0 +00741e60 00424540 +00741e60 007474a0 +00741e60 009b0330 +00741e60 00741cf0 +00741e60 009b1a00 +00741e60 008295c0 +00741e60 00aef29d +00741e60 009aef10 +00741e60 00aef12b +00741e60 00428940 +00741e60 009b0180 +00741e60 004149d0 00742ef0 0042a030 -00743550 00a112c0 +00742ef0 009adaf0 +00742ef0 00af08bd +00742ef0 006a0d30 +00742ef0 0082ce40 +00742ef0 00a112c0 +00742ef0 007525e0 +00742ef0 004149d0 00743550 0082d030 -007435c8 009adaf0 +00743550 00a112c0 007435c8 009addf0 +007435c8 009adaf0 007435c8 00a112c0 007435c8 009add30 007435c8 007529c0 -0074371e 00a112c0 0074371e 0082c7d0 -0074378b 00a112c0 -0074378b 009bea80 +0074371e 00a112c0 0074378b 0082c7d0 -0074378b 007e90f0 -0074378b 0044bfb0 -0074378b 007e9020 +0074378b 009bea80 0074378b 0082cdd0 -0074399a 00a112c0 +0074378b 0044bfb0 +0074378b 00a112c0 +0074378b 007e9020 +0074378b 007e90f0 0074399a 0082c7d0 -00743a03 00a112c0 +0074399a 00a112c0 00743a03 0082c7d0 -00743a6c 00a112c0 +00743a03 00a112c0 00743a6c 0082c7d0 +00743a6c 00a112c0 00743af9 00738ab0 00743af9 00a112c0 00743b49 00738ab0 @@ -21427,549 +21427,549 @@ 00743ced 00738ab0 00743ced 00a112c0 00743d94 009adaf0 -00743d94 00a112c0 -00743d94 0082c720 00743d94 00aef5af -00743d94 009add30 -00743d94 007529c0 -00743d94 006ef590 00743d94 00aef29d +00743d94 00a112c0 +00743d94 009add30 +00743d94 006ef590 00743d94 00aef253 +00743d94 0082c720 +00743d94 007529c0 +00743e72 0082c7d0 00743e72 00a112c0 00743e72 0082c720 -00743e72 0082c7d0 00743f23 00738ab0 00743f23 00a112c0 00743f73 00738ab0 00743f73 00a112c0 00743fc3 00738ab0 -00743fc3 00a112c0 -00743fc3 007527b0 00743fc3 00aef5af +00743fc3 00aef29d +00743fc3 007527b0 +00743fc3 00a112c0 00743fc3 006ef590 +00743fc3 00aef253 00743fc3 00428940 00743fc3 004149d0 -00743fc3 00aef29d -00743fc3 00aef253 -0074406b 00a112c0 0074406b 0082c7d0 +0074406b 00a112c0 0074406b 00428940 -0074413a 00a112c0 0074413a 0082c7d0 +0074413a 00a112c0 0074413a 00428940 -00744209 00a112c0 00744209 0082c7d0 +00744209 00a112c0 00744348 00a112c0 00744348 00428940 -00744466 00a112c0 00744466 0082c7d0 -00744500 00a112c0 +00744466 00a112c0 00744500 00aef5af -00744500 006ef590 -00744500 00428940 00744500 00aef29d +00744500 00a112c0 +00744500 006ef590 00744500 00aef253 -00744570 00aef5af +00744500 00428940 00744570 0082c7d0 -00744570 00aef12b -00744570 006ef590 +00744570 00aef5af 00744570 00aef29d +00744570 006ef590 +00744570 00aef12b 00744570 00aef253 -00744940 00a112c0 -00744940 006ee340 00744940 004d3130 00744940 00745b70 -00744940 0044bfb0 -00744940 00738650 -00744940 0074f820 -00744940 004d6ee0 +00744940 006ee340 00744940 004d7530 -00745ad0 0092e230 +00744940 0044bfb0 +00744940 00a112c0 +00744940 0074f820 +00744940 00738650 +00744940 004d6ee0 00745ad0 0092dc30 -00745b70 00a112c0 -00745b70 0082c720 +00745ad0 0092e230 00745b70 00aef5af -00745b70 006ef590 -00745b70 00428940 00745b70 00aef29d +00745b70 00a112c0 +00745b70 006ef590 00745b70 00aef253 -00745ca0 EXTERNAL:00000220 +00745b70 0082c720 +00745b70 00428940 +00745ca0 00829500 00745ca0 00682b90 -00745ca0 0082d030 00745ca0 00aef15c +00745ca0 0082d030 00745ca0 0040cf50 -00745ca0 0040d040 00745ca0 00aef12b 00745ca0 004997f0 -00745ca0 00829500 +00745ca0 0040d040 +00745ca0 EXTERNAL:00000220 +007460b0 006f95a0 007460b0 00745ca0 -007460b0 006f9400 007460b0 0074f690 007460b0 004288a0 -007460b0 006f95a0 -00746260 EXTERNAL:00000220 +007460b0 006f9400 +00746260 006f95a0 00746260 00682b90 00746260 00aef15c +00746260 0082c600 00746260 0040cf50 00746260 00aef12b 00746260 006f9400 00746260 004288a0 -00746260 0082c600 -00746260 006f95a0 -00746560 EXTERNAL:00000220 -00746560 007460b0 -00746560 00840b00 +00746260 EXTERNAL:00000220 +00746560 00746260 00746560 00aef15c 00746560 009586f0 +00746560 00840b00 00746560 00aef12b -00746560 00746260 +00746560 007460b0 00746560 0040ccd0 +00746560 EXTERNAL:00000220 007466d0 00708050 007466d0 00923320 -007467c0 00a112c0 -007467c0 00738340 -007467c0 00706940 -007467c0 00738280 -007467c0 00456750 -007467c0 0074bac0 -007467c0 0074e9b0 -007467c0 004217a0 -007467c0 006f95a0 -007467c0 009be080 -007467c0 0074f090 -007467c0 006f9400 007467c0 007466d0 +007467c0 00738340 +007467c0 00a112c0 +007467c0 00456750 +007467c0 006f9400 007467c0 0071f600 -00747360 00747360 -00747360 00a0f4c0 +007467c0 0074f090 +007467c0 0074e9b0 +007467c0 00738280 +007467c0 006f95a0 +007467c0 00706940 +007467c0 004217a0 +007467c0 009be080 +007467c0 0074bac0 00747360 007530f0 -007474a0 0082c720 +00747360 00a0f4c0 +00747360 00747360 007474a0 007474a0 -007474a0 0082d4a0 007474a0 0082dac0 -007475b0 00a112c0 -007475b0 0082d320 -007475b0 0082ee40 -007475b0 009446e0 -007475b0 0098b5e0 +007474a0 0082c720 +007474a0 0082d4a0 007475b0 007eb1b0 -007475b0 0074a090 -007475b0 006fe410 -007475b0 007ea2d0 007475b0 008318a0 -007475b0 00738650 -007475b0 006f95a0 -007475b0 006f8d60 -007475b0 00740bc0 +007475b0 00a112c0 007475b0 006eef60 -007475b0 0040e910 -007475b0 007474a0 007475b0 009439d0 -007475b0 0073e0a0 -007475b0 006f9400 -007475b0 0073f940 007475b0 0074f820 +007475b0 0082d320 +007475b0 006f9400 +007475b0 006f95a0 +007475b0 00740bc0 +007475b0 007474a0 +007475b0 0073e0a0 +007475b0 0082ee40 +007475b0 0074a090 +007475b0 0040e910 +007475b0 007ea2d0 +007475b0 0073f940 007475b0 009bb960 -00747e10 EXTERNAL:00000220 +007475b0 00738650 +007475b0 0098b5e0 +007475b0 006f8d60 +007475b0 009446e0 +007475b0 006fe410 +00747e10 00aef15c +00747e10 007526b0 +00747e10 00a0f4c0 00747e10 006f8d60 00747e10 00747360 -00747e10 00aef15c -00747e10 00a0f4c0 -00747e10 007526b0 -007481d0 00a112c0 +00747e10 EXTERNAL:00000220 007481d0 0082c7d0 -00748490 006f9400 +007481d0 00a112c0 00748490 006f95a0 -007484c0 EXTERNAL:00000220 -007484c0 005cc070 -007484c0 00aef15c +00748490 006f9400 007484c0 0042c920 +007484c0 00aef15c +007484c0 005cc070 007484c0 007499a0 +007484c0 EXTERNAL:00000220 00748760 00740bc0 00748760 00417870 00748760 009beb30 -00748860 00a112c0 00748860 0098db50 -007488d0 00a112c0 +00748860 00a112c0 007488d0 0098db50 -00748940 00a112c0 +007488d0 00a112c0 00748940 0098db50 -007489c0 00a112c0 +00748940 00a112c0 007489c0 0098db50 +007489c0 00a112c0 00748a30 0098db50 -00748a70 00a112c0 00748a70 0098db50 +00748a70 00a112c0 +00748ae0 00748940 00748ae0 0098db50 +00748ae0 00748a70 00748ae0 00748860 00748ae0 007489c0 00748ae0 007488d0 -00748ae0 00748a70 -00748ae0 00748940 -00748bc0 009a2c70 -00748bc0 006e21f0 00748bc0 0041af60 +00748bc0 006e21f0 +00748bc0 009a2c70 00748bc0 EXTERNAL:00000262 00748d40 00740bc0 -00748d40 0042c880 -00748d40 EXTERNAL:00000220 -00748d40 00aef15c -00748d40 00708f90 -00748d40 00708e20 -00748d40 00aef12b -00748d40 00415bc0 00748d40 0042c920 -00748d40 00752de0 -00748d40 00424540 +00748d40 00aef15c 00748d40 00749040 +00748d40 00415bc0 +00748d40 00752de0 +00748d40 00aef12b +00748d40 0042c880 +00748d40 00708e20 +00748d40 00424540 +00748d40 00708f90 +00748d40 EXTERNAL:00000220 +00749040 0040cf00 +00749040 0040cee0 +00749040 00752830 00749040 00a0f4c0 00749040 00709280 -00749040 0040cee0 -00749040 0040cf00 -00749040 00752830 00749270 00740bc0 00749270 00aef15c -00749270 00708f90 -00749270 00708e20 +00749270 007387d0 00749270 00aef12b 00749270 00752e80 +00749270 00708e20 00749270 00424540 -00749270 007387d0 +00749270 00708f90 007496a0 00740bc0 007496a0 00a0f4c0 007496a0 004e45c0 -00749830 006f9400 00749830 006f95a0 00749830 0074ea50 -007499a0 00a112c0 -007499a0 007f96f0 -007499a0 00aef5af +00749830 006f9400 007499a0 0082c7d0 -007499a0 00749830 -007499a0 006ef590 +007499a0 00aef5af 007499a0 0044bfb0 -007499a0 006f95a0 +007499a0 00a112c0 +007499a0 00749830 007499a0 006eef60 007499a0 006f9400 -007499a0 0074b830 -007499a0 00428940 +007499a0 007f96f0 +007499a0 006f95a0 007499a0 00aef29d +007499a0 0074b830 +007499a0 006ef590 007499a0 00aef253 +007499a0 00428940 0074a090 00740bc0 0074a1b0 00740bc0 -0074a1b0 0073da40 0074a1b0 007f20e0 +0074a1b0 0073da40 0074a280 00a112c0 -0074a2d0 EXTERNAL:00000220 0074a2d0 009a3590 0074a2d0 00aef15c +0074a2d0 0082c600 0074a2d0 009a2c70 0074a2d0 00aef12b -0074a2d0 0082c600 -0074a500 00a112c0 -0074a500 00738ab0 -0074a500 0082c720 -0074a500 007527b0 -0074a500 00aef5af +0074a2d0 EXTERNAL:00000220 0074a500 0082c7d0 -0074a500 009add30 -0074a500 007529c0 -0074a500 006ef590 -0074a500 009be630 0074a500 009adaf0 +0074a500 00aef5af +0074a500 00a112c0 +0074a500 009be630 +0074a500 007527b0 +0074a500 0082c720 +0074a500 00738ab0 +0074a500 00aef29d +0074a500 009add30 +0074a500 006ef590 0074a500 00aef12b +0074a500 00aef253 +0074a500 007529c0 0074a500 00428940 0074a500 004149d0 -0074a500 00aef29d -0074a500 00aef253 -0074b5d0 00706940 -0074b5d0 006f9400 -0074b5d0 0074b710 -0074b5d0 0074ef70 -0074b5d0 0074b830 0074b5d0 006f95a0 +0074b5d0 0074b710 0074b5d0 0074ea50 -0074b710 0082d030 -0074b710 006f8120 -0074b710 00706940 -0074b710 0074f690 -0074b710 0074bac0 +0074b5d0 00706940 +0074b5d0 0074b830 +0074b5d0 0074ef70 +0074b5d0 006f9400 0074b710 006dae20 -0074b710 004217a0 -0074b710 0071f600 +0074b710 0074f690 0074b710 0074ea50 -0074b830 009be080 +0074b710 0082d030 +0074b710 00706940 +0074b710 006f8120 +0074b710 0071f600 +0074b710 004217a0 +0074b710 0074bac0 0074b830 00706940 +0074b830 009be080 0074ba00 00740bc0 -0074ba00 0067f0d0 0074ba00 00820910 -0074bba0 00aef5af +0074ba00 0067f0d0 0074bba0 0082c7d0 -0074bba0 007e90f0 -0074bba0 006ef590 -0074bba0 00428940 +0074bba0 00aef5af 0074bba0 00aef29d +0074bba0 006ef590 +0074bba0 007e90f0 0074bba0 00aef253 -0074bce0 00a112c0 -0074bce0 00aef5af -0074bce0 00708f90 +0074bba0 00428940 0074bce0 0082c7d0 +0074bce0 00aef5af +0074bce0 00a112c0 0074bce0 00708e20 -0074bce0 006ef590 0074bce0 00424540 0074bce0 00aef15c -0074bce0 00aef12b -0074bce0 00428940 0074bce0 00aef29d -0074bce0 00aef253 +0074bce0 006ef590 0074bce0 007387d0 -0074beb0 00a112c0 -0074beb0 00aef5af +0074bce0 00aef12b +0074bce0 00aef253 +0074bce0 00708f90 +0074bce0 00428940 0074beb0 0082c7d0 -0074beb0 006ef590 -0074beb0 00428940 +0074beb0 00aef5af 0074beb0 00aef29d +0074beb0 00a112c0 +0074beb0 006ef590 0074beb0 00aef253 +0074beb0 00428940 0074c160 00aef12b 0074c160 00752640 0074c540 00740bc0 0074c540 00aef12b 0074c540 00752640 0074c9e0 00740bc0 -0074c9e0 0074c540 0074c9e0 0074f030 +0074c9e0 0074c540 0074cb50 00740bc0 0074cb50 0074b710 +0074cb50 0074f030 0074cb50 007381b0 0074cb50 0074c540 -0074cb50 0074f030 0074cd70 00740bc0 0074cd70 0074cb50 0074cd70 00aef12b 0074cd70 00738260 0074cea0 00a112c0 0074cea0 00aef12b -0074d010 00a112c0 -0074d010 00738ab0 -0074d010 0082d030 -0074d010 0074cb50 0074d010 0082c7d0 -0074d010 0074f690 -0074d010 00827550 -0074d010 0074b710 -0074d010 007e90f0 -0074d010 0044bfb0 -0074d010 0074c540 -0074d010 00738470 -0074d010 00424540 0074d010 0042a030 +0074d010 0074b710 +0074d010 00738470 +0074d010 0074f690 +0074d010 0044bfb0 +0074d010 0082d030 +0074d010 00a112c0 +0074d010 0074cb50 +0074d010 007e90f0 +0074d010 00424540 +0074d010 00827550 +0074d010 0074c540 0074d010 00740bc0 -0074d010 00aef15c -0074d010 00aef12b -0074d010 0073f940 +0074d010 00738ab0 0074d010 0074cea0 +0074d010 00aef15c 0074d010 0074c9e0 -0074d4a0 00a112c0 -0074d4a0 00aef5af +0074d010 0073f940 +0074d010 00aef12b 0074d4a0 0082c7d0 -0074d4a0 006ef590 +0074d4a0 00aef5af +0074d4a0 00a112c0 0074d4a0 007e90f0 -0074d4a0 007e9020 0074d4a0 00740bc0 0074d4a0 006ef9c0 -0074d4a0 00aef12b -0074d4a0 00428940 0074d4a0 00aef29d -0074d4a0 00aef253 +0074d4a0 006ef590 0074d4a0 007387d0 -0074d780 00aef5af -0074d780 00422830 -0074d780 007e90f0 -0074d780 006ef590 -0074d780 007523e0 -0074d780 00428940 +0074d4a0 00aef12b +0074d4a0 007e9020 +0074d4a0 00aef253 +0074d4a0 00428940 0074d780 00739080 +0074d780 007523e0 +0074d780 00aef5af 0074d780 00aef29d +0074d780 006ef590 +0074d780 007e90f0 +0074d780 00422830 0074d780 00aef253 -0074d920 006eef60 +0074d780 00428940 +0074d920 0070ee40 0074d920 00aef15c -0074d920 00a0f4c0 -0074d920 004e45c0 +0074d920 0044bfb0 +0074d920 006eef60 0074d920 0070d3f0 -0074d920 004288a0 0074d920 00428b20 0074d920 0073f940 -0074d920 0044bfb0 -0074d920 0070ee40 +0074d920 00a0f4c0 +0074d920 004288a0 0074d920 00424540 -0074dbd0 009be080 -0074dbd0 007706e0 -0074dbd0 00706940 -0074dbd0 009be6b0 -0074dbd0 00771550 -0074dbd0 004288a0 +0074d920 004e45c0 0074dbd0 00771620 -0074de30 00a112c0 -0074de30 00738ab0 -0074de30 0082c720 -0074de30 007527b0 -0074de30 00aef5af +0074dbd0 00706940 +0074dbd0 004288a0 +0074dbd0 007706e0 +0074dbd0 009be6b0 +0074dbd0 009be080 +0074dbd0 00771550 0074de30 0082c7d0 -0074de30 009add30 -0074de30 007529c0 -0074de30 006ef590 0074de30 009adaf0 +0074de30 00aef5af +0074de30 00a112c0 +0074de30 007527b0 +0074de30 0082c720 +0074de30 00738ab0 +0074de30 00aef29d +0074de30 009add30 +0074de30 006ef590 0074de30 00aef12b +0074de30 00aef253 +0074de30 007529c0 0074de30 00428940 0074de30 004149d0 -0074de30 00aef29d -0074de30 00aef253 +0074e9b0 006f95a0 0074e9b0 006f9400 0074e9b0 004217a0 -0074e9b0 006f95a0 +0074ea50 006f95a0 0074ea50 006f9400 0074ea50 004217a0 -0074ea50 006f95a0 0074eaf0 00740bc0 -0074eaf0 EXTERNAL:00000220 -0074eaf0 00703670 -0074eaf0 00714610 +0074eaf0 0042c920 +0074eaf0 0092dc30 +0074eaf0 00a0ffc0 0074eaf0 00aef15c 0074eaf0 00956780 -0074eaf0 0074efd0 -0074eaf0 0042c920 -0074eaf0 007e90f0 -0074eaf0 0092dc30 0074eaf0 007e2580 -0074eaf0 00a0ffc0 +0074eaf0 00714610 +0074eaf0 0074efd0 +0074eaf0 007e90f0 +0074eaf0 00703670 +0074eaf0 EXTERNAL:00000220 0074ef70 00748490 0074efd0 00748490 0074f030 00748490 -0074f0c0 00a112c0 0074f0c0 00738ab0 -0074f0c0 0082d030 +0074f0c0 0082cdd0 0074f0c0 00aef15c +0074f0c0 0074f690 +0074f0c0 0082d030 +0074f0c0 00a112c0 0074f0c0 00a0f4c0 0074f0c0 00aef12b -0074f0c0 0074f690 -0074f0c0 0082cdd0 0074f0c0 00424540 -0074f360 00a112c0 -0074f360 009adaf0 0074f360 00738ab0 -0074f360 007527b0 -0074f360 0082d030 -0074f360 009add30 -0074f360 007529c0 -0074f360 00aef12b -0074f360 004149d0 +0074f360 009adaf0 0074f360 0082cdd0 +0074f360 0082d030 +0074f360 00a112c0 +0074f360 007527b0 +0074f360 009add30 +0074f360 00aef12b +0074f360 007529c0 +0074f360 004149d0 0074f690 00740bc0 0074f820 00a112c0 0074f820 00aef12b -0074fbe0 EXTERNAL:00000220 0074fbe0 0082c7d0 -0074fbe0 00a0f4c0 -0074fbe0 00771550 -0074fbe0 0074f690 -0074fbe0 00739080 -0074fbe0 0082cdd0 -0074fbe0 00424540 0074fbe0 0042a030 -0074fbe0 009adaf0 -0074fbe0 009b1910 -0074fbe0 00aef15c +0074fbe0 007527b0 +0074fbe0 00739080 +0074fbe0 00738ab0 0074fbe0 009afc70 +0074fbe0 007381b0 +0074fbe0 0074c160 +0074fbe0 009b1910 +0074fbe0 00a0f4c0 +0074fbe0 009adbb0 0074fbe0 00422830 0074fbe0 00709280 +0074fbe0 009adaf0 +0074fbe0 0082cdd0 0074fbe0 009af0e0 -0074fbe0 004149d0 -0074fbe0 0074c160 +0074fbe0 0074f690 0074fbe0 00a112c0 -0074fbe0 00738ab0 -0074fbe0 007527b0 0074fbe0 0082d030 +0074fbe0 00424540 +0074fbe0 EXTERNAL:00000220 +0074fbe0 00aef15c 0074fbe0 009b0330 -0074fbe0 009b0180 0074fbe0 00af05e5 -0074fbe0 009b1950 0074fbe0 00aef12b -0074fbe0 009adbb0 -0074fbe0 007381b0 +0074fbe0 009b1950 +0074fbe0 00771550 +0074fbe0 009b0180 +0074fbe0 004149d0 007507d0 00a0f4c0 007507d0 00709280 -007508c0 00a112c0 -007508c0 00738ab0 -007508c0 0082c720 -007508c0 007527b0 -007508c0 00aef5af 007508c0 0082c7d0 -007508c0 009b0180 -007508c0 009add30 -007508c0 006ef590 007508c0 009adaf0 -007508c0 00aef12b -007508c0 0074fbe0 -007508c0 00428940 -007508c0 004149d0 +007508c0 00aef5af +007508c0 00a112c0 +007508c0 007527b0 +007508c0 0082c720 +007508c0 00738ab0 007508c0 00aef29d +007508c0 009add30 +007508c0 0074fbe0 +007508c0 006ef590 +007508c0 00aef12b 007508c0 00aef253 +007508c0 00428940 +007508c0 009b0180 +007508c0 004149d0 007515c0 00740bc0 -007515c0 006fd7c0 007515c0 00751650 -00751650 00a112c0 -00751650 009adaf0 -00751650 0042c880 -00751650 006a0d30 -00751650 00415bc0 -00751650 0042c920 -00751650 0082ce40 -00751650 004149d0 -00751650 00af08bd -00751650 0082aa40 -00751650 007300d0 +007515c0 006fd7c0 00751650 0042a030 +00751650 009adaf0 +00751650 0042c920 +00751650 00af08bd +00751650 007300d0 +00751650 006a0d30 +00751650 0082ce40 +00751650 00a112c0 +00751650 00415bc0 +00751650 0042c880 +00751650 0082aa40 +00751650 004149d0 +00752460 009af620 00752460 00a0f4c0 00752460 004e45c0 -00752460 009af620 -007525e0 006a0d30 007525e0 00af08bd -00752710 EXTERNAL:00000220 +007525e0 006a0d30 00752710 00aef15c -007527b0 EXTERNAL:00000220 +00752710 EXTERNAL:00000220 007527b0 00aef15c 007527b0 00752e40 -00752830 0040cee0 -00752830 004d76f0 +007527b0 EXTERNAL:00000220 00752830 0040cf00 -00752900 004268e0 -00752900 0040cee0 +00752830 004d76f0 +00752830 0040cee0 00752900 0040cf00 -00752980 0041d150 -00752980 00af08bd +00752900 0040cee0 +00752900 004268e0 00752980 0040cf00 -007529c0 00752b70 -007529c0 0040cee0 -007529c0 00752ac0 +00752980 00af08bd +00752980 0041d150 007529c0 0040cf00 +007529c0 0040cee0 +007529c0 00752b70 +007529c0 00752ac0 00752a55 00af05eb 00752a55 00752bf0 -00752a80 0041d150 -00752a80 00af08bd 00752a80 0040cf00 -00752ac0 EXTERNAL:00000220 +00752a80 00af08bd +00752a80 0041d150 00752ac0 00aef15c 00752ac0 00752e40 +00752ac0 EXTERNAL:00000220 00752b50 00752e40 00752b70 00752e40 00752b70 007507d0 -00752bf0 EXTERNAL:00000220 00752bf0 00aef15c -00752c30 EXTERNAL:00000220 +00752bf0 EXTERNAL:00000220 +00752c30 0040cf00 +00752c30 0040ccc0 00752c30 00aef15c 00752c30 00753230 -00752c30 0040ccc0 00752c30 00af05df -00752c30 0040cf00 +00752c30 EXTERNAL:00000220 00752de0 006eef60 00752e40 00aef15c 00752e40 00424540 @@ -21977,3091 +21977,3091 @@ 007530b0 00752e40 007530c0 00aef15c 007530c0 00424540 -007530f0 0040c740 -007530f0 0040cee0 -007530f0 0040cad0 -007530f0 00af08bd -007530f0 00af05e5 007530f0 0040cf00 -00753230 EXTERNAL:00000220 -00753230 00aef15c -00753230 0040ccc0 -00753230 00af05df +007530f0 00af08bd +007530f0 0040cee0 +007530f0 00af05e5 +007530f0 0040c740 +007530f0 0040cad0 00753230 0040cf00 -00753390 0041d150 -00753390 00415bc0 -00753390 0040cee0 -00753390 00af08bd +00753230 0040ccc0 +00753230 00aef15c +00753230 00af05df +00753230 EXTERNAL:00000220 00753390 0040cf00 +00753390 00af08bd +00753390 0040cee0 +00753390 00415bc0 +00753390 0041d150 00753550 00af08db -00753660 0072c930 00753660 00731ee0 +00753660 0072c930 007539c0 0040ccd0 00753a00 00a112c0 00753a60 00a112c0 00753d00 009807a0 00753d20 0060d780 -00753da0 00a0f4c0 +00753da0 004074c0 +00753da0 008391a0 +00753da0 00754980 00753da0 0042fa30 00753da0 006a8290 +00753da0 00a0f4c0 00753da0 00aef5c4 -00753da0 00754980 -00753da0 008391a0 -00753da0 004074c0 00754980 00a0f4c0 00754d60 00aef15c 00754d60 00754ed0 00754d90 0042c8e0 -00754d90 007dcd30 00754d90 00aef15c -00754d90 00708e20 00754d90 007dc8d0 00754d90 00499380 +00754d90 007dcd30 00754d90 004b3950 +00754d90 00708e20 00754d90 007221e0 -00754d90 004149d0 00754d90 00426980 +00754d90 004149d0 00754ed0 00754d90 -00754ed0 0042c8e0 -00754ed0 00839960 -00754ed0 00aef638 -00754ed0 00708e20 -00754ed0 0040d040 -00754ed0 00499380 -00754ed0 007dc7c0 -00754ed0 007221e0 -00754ed0 00426980 -00754ed0 0042fac0 -00754ed0 007dcd30 -00754ed0 00aef15c -00754ed0 006a8850 -00754ed0 007dc8d0 -00754ed0 007dce00 -00754ed0 004b3950 -00754ed0 00407f10 -00754ed0 004cf210 -00754ed0 004149d0 00754ed0 004087a0 -00755470 00a112c0 +00754ed0 007dc7c0 +00754ed0 007dc8d0 +00754ed0 00499380 +00754ed0 00839960 +00754ed0 004b3950 +00754ed0 00708e20 +00754ed0 007221e0 +00754ed0 004cf210 +00754ed0 007dce00 +00754ed0 006a8850 +00754ed0 0040d040 +00754ed0 0042c8e0 +00754ed0 00aef15c +00754ed0 00aef638 +00754ed0 007dcd30 +00754ed0 0042fac0 +00754ed0 00407f10 +00754ed0 00426980 +00754ed0 004149d0 00755470 006a93a0 +00755470 00a112c0 +00755470 004b39b0 00755470 007c2e90 00755470 0040ccd0 -00755470 004b39b0 00757a10 007ea3e0 00757a40 006acb60 00757a40 00757ac0 00757a60 006a8c60 -00757ac0 00a112c0 -00757ac0 009ba000 00757ac0 007d2470 +00757ac0 009ba000 +00757ac0 00a112c0 00757ac0 004cf210 007584b0 00a112c0 -007585b0 004cdcf0 -007585b0 009561e0 -007585b0 00956780 -007585b0 00aef12b -007585b0 0090b100 -007585b0 006d8990 007585b0 0092dc30 -007585b0 004cf210 +007585b0 00956780 007585b0 00956110 -007588a0 007cb060 -007588a0 007706e0 +007585b0 009561e0 +007585b0 00aef12b +007585b0 006d8990 +007585b0 004cf210 +007585b0 0090b100 +007585b0 004cdcf0 +007588a0 007cacb0 007588a0 007dd380 -007588a0 007ce420 +007588a0 007cb060 007588a0 007cabc0 +007588a0 007ca7c0 +007588a0 007cae60 +007588a0 007c9ea0 +007588a0 007ce420 +007588a0 00758850 007588a0 007ca840 007588a0 007cafe0 +007588a0 007706e0 007588a0 00929a20 -007588a0 007592a0 -007588a0 007ca7c0 -007588a0 007c9ea0 007588a0 00758d00 -007588a0 007cae60 -007588a0 00758850 007588a0 00758f90 -007588a0 007cacb0 -00758a70 007cafe0 +007588a0 007592a0 +00758a70 007cabc0 00758a70 007ca7c0 -00758a70 007c9ea0 00758a70 009a90b0 00758a70 007d2d40 -00758a70 007cabc0 -00758bd0 007cafe0 +00758a70 007cafe0 +00758a70 007c9ea0 00758bd0 009ad210 +00758bd0 007cafe0 +00758c20 00758bd0 00758c20 007d93b0 00758c20 007cafe0 -00758c20 007588a0 -00758c20 00758bd0 00758c20 00758a70 -00758d00 00791320 -00758d00 00930550 -00758d00 007d2ad0 +00758c20 007588a0 +00758d00 007cacb0 +00758d00 00930680 00758d00 007cabc0 -00758d00 007cafe0 -00758d00 00929a20 -00758d00 007592a0 00758d00 007ca7c0 00758d00 007599d0 00758d00 007cae60 -00758d00 00930680 +00758d00 00791320 +00758d00 007d2ad0 00758d00 00758850 00758d00 00791420 -00758d00 007cacb0 -00758f90 007cafe0 -00758f90 007599d0 -00758f90 00758d00 -00758f90 007cae60 -00758f90 007ca2d0 -00758f90 007cabc0 +00758d00 007cafe0 +00758d00 00929a20 +00758d00 00930550 +00758d00 007592a0 00758f90 007cacb0 -007591e0 007ca7c0 +00758f90 007cabc0 +00758f90 007599d0 +00758f90 007cae60 +00758f90 007cafe0 +00758f90 00758d00 +00758f90 007ca2d0 007591e0 007cabc0 +007591e0 007ca7c0 00759400 007cafe0 00759400 007597e0 -00759400 009be080 -00759400 007c8050 00759400 00758a70 +00759400 007c8050 +00759400 009be080 00759500 007599d0 00759500 007597e0 007595b0 007597e0 00759620 007597e0 00759660 007597e0 -007596a0 007d2b70 -007596a0 007706e0 -007596a0 007d2df0 007596a0 007ce420 007596a0 00763570 +007596a0 007706e0 +007596a0 007d2df0 +007596a0 007d2b70 +007597e0 007596a0 007597e0 00a112c0 007597e0 00929a20 -007597e0 007596a0 00759950 007597e0 -007599d0 004cdcf0 -007599d0 006eef60 -007599d0 0092a350 +007599d0 00929790 007599d0 009595e0 +007599d0 006eef60 007599d0 009589d0 -007599d0 006fe410 007599d0 009296c0 +007599d0 0092a350 007599d0 007cb6e0 007599d0 004cf210 -007599d0 00929790 +007599d0 006fe410 +007599d0 004cdcf0 00759b90 00763570 00759bc0 006eef60 00759bc0 00428b20 -00759bf0 00a112c0 -00759bf0 EXTERNAL:00000220 -00759bf0 004b6a90 00759bf0 00aef15c -00759bf0 00a0f4c0 +00759bf0 00a112c0 00759bf0 00428b20 -00759e20 007597e0 +00759bf0 00a0f4c0 +00759bf0 004b6a90 +00759bf0 EXTERNAL:00000220 +00759e20 0092dc30 +00759e20 00956780 00759e20 006eef60 00759e20 00af08b1 -00759e20 00956780 -00759e20 00771550 -00759e20 00758a70 -00759e20 006fe410 -00759e20 0092dc30 +00759e20 007597e0 00759e20 007cb6e0 -00759f50 EXTERNAL:00000220 +00759e20 00758a70 +00759e20 00771550 +00759e20 006fe410 00759f50 0040a1b0 -00759f50 00aef15c -00759f50 00aef12b -00759f50 00408e00 -00759f50 00421680 00759f50 0072fd10 -00759f50 0040a5d0 00759f50 0040ccc0 +00759f50 00aef15c +00759f50 00408e00 00759f50 0040aaf0 -0075a2b0 005b14e0 +00759f50 00421680 +00759f50 00aef12b +00759f50 0040a5d0 +00759f50 EXTERNAL:00000220 0075a2b0 0040bcd0 -0075a3e0 EXTERNAL:00000220 +0075a2b0 005b14e0 0075a3e0 0040a1b0 -0075a3e0 00aef15c -0075a3e0 00aef12b -0075a3e0 00421680 -0075a3e0 0040a5d0 0075a3e0 0040ccc0 +0075a3e0 00aef15c 0075a3e0 0040aaf0 -0075a700 EXTERNAL:00000220 -0075a700 0040a1b0 -0075a700 00aef15c -0075a700 00aef12b -0075a700 00408e00 +0075a3e0 00421680 +0075a3e0 00aef12b +0075a3e0 0040a5d0 +0075a3e0 EXTERNAL:00000220 0075a700 0075a2b0 -0075a700 00421680 -0075a700 0040a5d0 +0075a700 0040a1b0 0075a700 0040ccc0 +0075a700 00aef15c +0075a700 00408e00 0075a700 0040aaf0 -0075abe0 EXTERNAL:00000220 +0075a700 00421680 +0075a700 00aef12b +0075a700 0040a5d0 +0075a700 EXTERNAL:00000220 +0075abe0 0075a2b0 0075abe0 00aef15c 0075abe0 00aef12b 0075abe0 00af0917 -0075abe0 0075a2b0 -0075ad50 EXTERNAL:00000220 -0075ad50 00aef15c -0075ad50 00aef12b -0075ad50 00408e00 +0075abe0 EXTERNAL:00000220 0075ad50 0075a2b0 -0075ad50 00421680 -0075ad50 0040a4d0 0075ad50 0040ccc0 +0075ad50 00aef15c +0075ad50 00408e00 0075ad50 0040a9f0 -0075af10 EXTERNAL:00000220 -0075af10 0040cf50 -0075af10 00aef15c -0075af10 0040b0c0 +0075ad50 00421680 +0075ad50 00aef12b +0075ad50 0040a4d0 +0075ad50 EXTERNAL:00000220 0075af10 0040ace0 +0075af10 0040ccc0 +0075af10 00aef15c +0075af10 0040cf50 +0075af10 00421680 0075af10 0040b220 0075af10 00aef12b -0075af10 00421680 -0075af10 0040ccc0 -0075b540 EXTERNAL:00000220 +0075af10 0040b0c0 +0075af10 EXTERNAL:00000220 +0075b540 00694120 +0075b540 008f5ad0 +0075b540 00a17860 +0075b540 0040cf50 0075b540 004215a0 0075b540 0040d040 -0075b540 008f5ad0 -0075b540 00694120 -0075b540 004997f0 -0075b540 00af08bd -0075b540 0040cf50 -0075b540 00aef15c -0075b540 00aef12b -0075b540 EXTERNAL:0000022d -0075b540 00a17860 -0075b540 006523e0 -0075b540 00651a90 -0075b540 00651d50 +0075b540 EXTERNAL:00000220 0075b540 0040ccd0 +0075b540 006523e0 0075b540 00431070 +0075b540 00af08bd +0075b540 00aef15c +0075b540 00651d50 +0075b540 00aef12b +0075b540 004997f0 +0075b540 EXTERNAL:0000022d +0075b540 00651a90 +0075bf00 0040cf00 +0075bf00 0040c000 0075bf00 0075d850 0075bf00 00a112c0 -0075bf00 EXTERNAL:00000220 -0075bf00 0040c000 -0075bf00 0040d040 -0075bf00 0040a940 -0075bf00 0040bf30 -0075bf00 005cbd20 -0075bf00 00408e00 -0075bf00 0040a5d0 -0075bf00 0040b430 -0075bf00 0040bcd0 0075bf00 0040cf50 -0075bf00 00aef15c -0075bf00 0040a1b0 -0075bf00 0040b220 +0075bf00 0040b430 0075bf00 007d9b70 -0075bf00 00aef12b -0075bf00 0075b540 +0075bf00 0040b220 +0075bf00 0040a940 0075bf00 0075d1d0 -0075bf00 0040cf00 -0075d1d0 005b14e0 -0075d1d0 00a112c0 -0075d1d0 0040bd50 -0075d1d0 0040c000 -0075d1d0 0040d040 -0075d1d0 0040bf30 -0075d1d0 007706e0 +0075bf00 0040d040 +0075bf00 0040a5d0 +0075bf00 EXTERNAL:00000220 +0075bf00 0075b540 +0075bf00 0040bf30 +0075bf00 0040a1b0 +0075bf00 00aef15c +0075bf00 00408e00 +0075bf00 0040bcd0 +0075bf00 00aef12b +0075bf00 005cbd20 0075d1d0 007de0e0 -0075d1d0 005cbd20 -0075d1d0 00770ca0 -0075d1d0 007dd8a0 0075d1d0 007ddac0 +0075d1d0 00930390 +0075d1d0 0040bd50 +0075d1d0 004087a0 +0075d1d0 0040c000 +0075d1d0 00a112c0 +0075d1d0 005b1500 0075d1d0 0072ff10 0075d1d0 0040b430 0075d1d0 0040b220 -0075d1d0 00aef12b -0075d1d0 007dd940 -0075d1d0 0075bf00 -0075d1d0 00930390 -0075d1d0 005b1500 0075d1d0 0075d1d0 -0075d1d0 00407f10 -0075d1d0 004087a0 +0075d1d0 0075bf00 +0075d1d0 0040d040 +0075d1d0 007dd8a0 +0075d1d0 0040bf30 0075d1d0 004074c0 +0075d1d0 00770ca0 +0075d1d0 00aef12b +0075d1d0 00407f10 +0075d1d0 007706e0 +0075d1d0 005cbd20 +0075d1d0 005b14e0 +0075d1d0 007dd940 0075d800 0075d1d0 0075d850 0075d850 +0075d850 005b1500 0075d850 005cbd20 0075d850 0075bf00 -0075d850 005b1500 0075d980 0075d900 -0075d9c0 0075d900 0075d9c0 0072fd10 +0075d9c0 0075d900 0075d9f0 00a112c0 0075dfe0 007ddf80 0075e050 007cb5d0 -0075e050 00708250 0075e050 00456750 +0075e050 00708250 0075e050 0075e1d0 0075e160 0075e050 0075e190 007bf490 0075e190 00407f10 -0075e1d0 00a112c0 0075e1d0 007afc20 -0075e320 0075d850 +0075e1d0 00a112c0 +0075e320 0092dc30 +0075e320 0075e9a0 0075e320 007588a0 -0075e320 00791320 -0075e320 00840b00 -0075e320 009586f0 -0075e320 007706e0 -0075e320 00771550 -0075e320 006fe410 +0075e320 0072fda0 0075e320 009ad210 0075e320 007911c0 -0075e320 006eef60 -0075e320 009a2c00 -0075e320 00956780 +0075e320 007706e0 0075e320 00758a70 -0075e320 0072fda0 +0075e320 00758f90 +0075e320 009a2c00 +0075e320 00425ac0 +0075e320 00505c80 +0075e320 006eef60 +0075e320 0075d850 +0075e320 009586f0 +0075e320 00840b00 +0075e320 007e90f0 0075e320 00813520 0075e320 007915a0 -0075e320 00425ac0 -0075e320 007e90f0 +0075e320 00791320 +0075e320 00956780 0075e320 00929a20 -0075e320 0075e9a0 0075e320 00758d00 -0075e320 00758f90 -0075e320 0092dc30 -0075e320 00505c80 +0075e320 00771550 +0075e320 006fe410 0075e9a0 0075d1d0 0075ea20 0075e1d0 +0075ea40 00930980 0075ea40 00a112c0 -0075ea40 007706e0 -0075ea40 0090b100 0075ea40 0040a030 0075ea40 0075ef20 -0075ea40 00930980 +0075ea40 007706e0 +0075ea40 0090b100 0075ef20 0040a380 0075ef20 00408e00 0075ef20 0040a5d0 0075f020 00730b80 -0075f0e0 00a112c0 +0075f0e0 0072fd10 +0075f0e0 007911f0 0075f0e0 0075f0e0 +0075f0e0 00a112c0 0075f0e0 0072ff10 0075f0e0 00aef12b -0075f0e0 007911f0 -0075f0e0 0072fd10 -00763290 0092a350 +00763290 00929790 00763290 009595e0 +00763290 00730b80 00763290 009589d0 00763290 009296c0 -00763290 00730b80 -00763290 00929790 +00763290 0092a350 +00763370 0041af60 00763370 00a112c0 -00763370 0063b4a0 00763370 00af08b1 00763370 00428b20 -00763370 0041af60 00763370 EXTERNAL:00000262 -00763570 00791320 -00763570 009b98e0 -00763570 007bc740 -00763570 007e8f70 -00763570 0040d0e0 -00763570 00417280 -00763570 00417390 -00763570 0041cb60 -00763570 009302e0 -00763570 00682fe0 -00763570 00682f20 -00763570 0072fda0 -00763570 00435fb0 -00763570 00753890 -00763570 009309c0 -00763570 007e90f0 -00763570 00428b20 -00763570 00930ae0 -00763570 00763570 -00763570 004361f0 -00763570 006a92a0 -00763570 007538c0 -00763570 00417800 -00763570 00708a50 -00763570 0042d040 -00763570 00738330 -00763570 00505b40 -00763570 005b1910 -00763570 009b9cd0 +00763370 0063b4a0 00763570 007538a0 -00763570 006dae00 -00763570 00435a80 -00763570 007dd3a0 -00763570 0041cb80 -00763570 00af08b1 -00763570 005b1780 -00763570 00682fb0 -00763570 004175b0 -00763570 006ac530 -00763570 0040c780 -00763570 0072fd70 -00763570 00770ca0 -00763570 009bfc00 -00763570 0072fd10 -00763570 009bfd00 -00763570 007cb6e0 -00763570 007539f0 -00763570 00930980 -00763570 0060d180 -00763570 007aa7c0 -00763570 0042ca00 -00763570 009bfcd0 -00763570 007db8d0 -00763570 007a6450 -00763570 0060d130 -00763570 00665c60 -00763570 007cb090 -00763570 00417270 -00763570 009f9050 -00763570 00407170 -00763570 00929a20 -00763570 00435c20 -00763570 007db700 -00763570 00683010 -00763570 0042a260 -00763570 00aef12b -00763570 009ba000 -00763570 004173b0 -00763570 005b16c0 -00763570 00417840 -00763570 007dc650 -00763570 007538b0 -00763570 005b18e0 -00763570 00930a70 -00763570 00407280 -00763570 004288f0 -00763570 006831c0 -00763570 00930640 -00763570 007ce270 -00763570 004072e0 -00763570 007706e0 -00763570 00aef5c4 -00763570 00753560 -00763570 00431760 -00763570 0041af60 -00763570 00a155c0 -00763570 00417860 -00763570 0067f070 -00763570 00863e90 -00763570 00930aa0 -00763570 00428a60 -00763570 007d1810 -00763570 00417870 -00763570 0042f2a0 -00763570 0060d1e0 -00763570 004361c0 -00763570 00638e20 -00763570 00aef638 -00763570 0040c3a0 -00763570 009569a0 -00763570 00407410 -00763570 007d2470 -00763570 00763370 -00763570 00435b50 -00763570 00930a30 -00763570 009bfc80 -00763570 007910f0 -00763570 007539a0 -00763570 009f9020 -00763570 0075bf00 -00763570 00930680 -00763570 00417470 -00763570 0042cfd0 -00763570 00417850 -00763570 004071c0 -00763570 00436090 -00763570 00456860 -00763570 0040c200 -00763570 00771550 -00763570 00753880 -00763570 009ad210 -00763570 004217a0 -00763570 004071f0 -00763570 007db860 -00763570 004238f0 -00763570 009bfd20 -00763570 00a104e0 00763570 0067da40 -00763570 00421770 -00763570 00431430 -00763570 004e4690 -00763570 00a0fe90 -00763570 00753980 -00763570 00431260 -00763570 0042c810 -00763570 00429550 -00763570 00421780 -00763570 004178d0 -00763570 00a10420 -00763570 004176f0 -00763570 009bfc20 -00763570 005cbd00 -00763570 007c7960 -00763570 007e8f90 -00763570 00417620 00763570 00435bf0 -00763570 0042c850 -00763570 00407480 -00763570 00421800 -00763570 009305c0 -00763570 004d3390 +00763570 00708a50 00763570 00417820 -00763570 00753870 -00763570 007dd3b0 -00763570 0041cb70 +00763570 00682fb0 +00763570 007dc650 +00763570 005cbd00 +00763570 007539a0 +00763570 00417390 +00763570 00753560 +00763570 007cb6e0 +00763570 0067f070 +00763570 007db700 +00763570 004361c0 +00763570 007539f0 +00763570 00417620 +00763570 009302e0 +00763570 005b16c0 +00763570 00428a60 +00763570 009569a0 +00763570 0042a260 +00763570 00930980 +00763570 00753890 +00763570 00af08b1 +00763570 007e8f90 +00763570 00763570 +00763570 007e90f0 +00763570 007bc740 +00763570 00435c20 +00763570 00a104e0 00763570 009305f0 +00763570 007ce270 +00763570 00930a30 +00763570 0041af60 +00763570 0040d0e0 +00763570 00791320 +00763570 0060d1e0 +00763570 007e8f70 +00763570 00aef638 +00763570 00930aa0 +00763570 004175b0 +00763570 00435fb0 +00763570 0042ca00 +00763570 004217a0 +00763570 0042cfd0 +00763570 004288f0 +00763570 00753870 +00763570 00930640 +00763570 004361f0 +00763570 00431260 +00763570 006831c0 +00763570 004071c0 +00763570 00682fe0 +00763570 00431430 +00763570 00428b20 +00763570 00753980 +00763570 00930ae0 +00763570 00407170 +00763570 004071f0 +00763570 00763370 +00763570 00770ca0 +00763570 009f9050 +00763570 00429550 +00763570 00407480 +00763570 009b9cd0 +00763570 009f9020 +00763570 00683010 +00763570 004178d0 +00763570 00738330 +00763570 00407280 +00763570 009bfc00 +00763570 0040c780 +00763570 007aa7c0 +00763570 005b18e0 +00763570 0040c200 +00763570 0041cb70 +00763570 0041cb80 +00763570 0041cb60 +00763570 0042c810 +00763570 0072fd10 +00763570 00435a80 +00763570 00407410 +00763570 00863e90 +00763570 007db8d0 +00763570 00417840 +00763570 00aef12b +00763570 0042c850 +00763570 0060d130 +00763570 005b1910 +00763570 00417470 +00763570 004072e0 00763570 006832e0 +00763570 007dd3b0 +00763570 009bfc20 +00763570 00417870 +00763570 004d3390 +00763570 005b1780 +00763570 009bfd20 +00763570 009309c0 +00763570 007c7960 +00763570 009ad210 +00763570 0072fd70 +00763570 00456860 +00763570 007db860 +00763570 00638e20 +00763570 007cb090 +00763570 004e4690 +00763570 00665c60 +00763570 00431760 +00763570 00421800 +00763570 006a92a0 +00763570 0042f2a0 +00763570 00421770 +00763570 009ba000 +00763570 007538b0 +00763570 0060d180 +00763570 007dd3a0 +00763570 00682f20 +00763570 009bfd00 +00763570 0040c3a0 +00763570 00a0fe90 +00763570 00a10420 +00763570 006dae00 +00763570 00930680 +00763570 007d2470 +00763570 00a155c0 +00763570 009bfcd0 +00763570 00436090 +00763570 00753880 +00763570 0075bf00 +00763570 004173b0 +00763570 0072fda0 +00763570 00421780 +00763570 007706e0 +00763570 00930a70 +00763570 00417860 +00763570 007a6450 +00763570 0042d040 +00763570 00435b50 +00763570 004238f0 +00763570 004176f0 +00763570 00417270 +00763570 009bfc80 +00763570 009b98e0 +00763570 00aef5c4 +00763570 009305c0 +00763570 007d1810 +00763570 007538c0 +00763570 006ac530 +00763570 00417280 +00763570 00505b40 +00763570 00417800 +00763570 00929a20 +00763570 007910f0 +00763570 00771550 +00763570 00417850 00770600 00763570 00770610 006a8990 -007706e0 00a23920 -007706e0 007da770 007706e0 00557b00 -007706e0 007706e0 -007706e0 00771550 -007706e0 009e04b0 -007706e0 0072fd10 +007706e0 00930680 +007706e0 00436140 +007706e0 009e0650 +007706e0 00417870 +007706e0 005b1500 +007706e0 007da770 007706e0 007cb6e0 +007706e0 009305f0 +007706e0 0072fd10 +007706e0 007db8d0 +007706e0 00a23920 +007706e0 007307b0 +007706e0 00aef12b 007706e0 007e9020 007706e0 007911c0 007706e0 007db860 -007706e0 00436140 -007706e0 00aef12b +007706e0 007706e0 +007706e0 009e04b0 007706e0 0090c300 -007706e0 007db8d0 -007706e0 009e0650 -007706e0 00417870 -007706e0 00930680 -007706e0 009305f0 -007706e0 005b1500 +007706e0 00771550 007706e0 00771200 -007706e0 007307b0 -00770ca0 00930a70 -00770ca0 007ce270 -00770ca0 00557b00 -00770ca0 007706e0 -00770ca0 007c7960 -00770ca0 007db8d0 -00770ca0 009305f0 -00770ca0 00770ca0 00770ca0 0072fd10 -00770ca0 00771200 -00770ca0 007307b0 +00770ca0 00557b00 00770ca0 00930980 -00771200 00731ee0 +00770ca0 00770ca0 +00770ca0 007db8d0 +00770ca0 007307b0 +00770ca0 007706e0 +00770ca0 00930a70 +00770ca0 007c7960 +00770ca0 009305f0 +00770ca0 007ce270 +00770ca0 00771200 00771200 00914150 -00771410 0075d850 +00771200 00731ee0 00771410 00733ff0 +00771410 0072fd10 +00771410 0075d850 00771410 007706e0 +00771410 0075d1d0 00771410 009305f0 00771410 00771200 -00771410 0075d1d0 -00771410 0072fd10 00771550 007706e0 00771550 007cb6e0 00771620 007706e0 -007716f0 007716c0 007716f0 007706e0 +007716f0 007716c0 007717c0 007706e0 -00771800 0075d850 -00771800 006eef60 -00771800 00af08b1 -00771800 00956780 -00771800 007adb30 -00771800 006fe410 -00771800 00763570 00771800 0092dc30 +00771800 00956780 +00771800 006eef60 +00771800 0075d850 +00771800 00af08b1 +00771800 007adb30 +00771800 00763570 00771800 007cb6e0 00771800 0075e1d0 +00771800 006fe410 00771d30 00a112c0 00771d30 0072ff10 00771d30 00aef12b 00771d30 007706e0 00771d30 0075d1d0 +00771f60 00772260 +00771f60 00414a80 00771f60 00a112c0 00771f60 0072ff10 -00771f60 00414a80 -00771f60 0075e190 -00771f60 0078f840 -00771f60 00aef12b 00771f60 007584b0 +00771f60 00aef12b +00771f60 0075e190 00771f60 007706e0 -00771f60 00772260 +00771f60 0078f840 00772260 00a112c0 00772260 0072ff10 -00772260 00aef12b 00772260 007584b0 +00772260 00aef12b +00772530 007ad3a0 00772530 00a112c0 00772530 0072ff10 -00772530 00aef12b 00772530 007584b0 -00772530 007706e0 00772530 007adb30 -00772530 007ad3a0 +00772530 00aef12b +00772530 007706e0 00772530 0075d1d0 00772530 007ad860 -007729d0 0042c820 -007729d0 007cb060 -007729d0 0078f840 -007729d0 0040c340 -007729d0 00435f80 -007729d0 006ff2a0 -007729d0 007cae60 -007729d0 00734870 -007729d0 004172f0 -007729d0 00aef29d -007729d0 004174a0 -007729d0 00675fc0 -007729d0 00a10660 -007729d0 007c7b10 -007729d0 006b7a80 -007729d0 00a10030 -007729d0 0040bf30 -007729d0 00428b20 -007729d0 007e90f0 -007729d0 004361f0 -007729d0 004563c0 -007729d0 004e7d10 -007729d0 0040a380 -007729d0 007ca7c0 -007729d0 0092abd0 -007729d0 00753640 -007729d0 0040bff0 -007729d0 007bf640 -007729d0 00af08b1 -007729d0 005b1780 -007729d0 004171b0 -007729d0 006b6470 -007729d0 00759b90 -007729d0 004175b0 -007729d0 006ac530 -007729d0 004316a0 -007729d0 0072fd70 -007729d0 0040c780 -007729d0 007c7d70 -007729d0 0072fd10 -007729d0 007cb6e0 -007729d0 007c3320 -007729d0 00a15b10 -007729d0 00424510 -007729d0 007911c0 -007729d0 006eef60 -007729d0 00417290 -007729d0 0065cf80 -007729d0 00414580 -007729d0 00758a70 -007729d0 007c36b0 -007729d0 00812c90 -007729d0 007c9080 -007729d0 00417360 -007729d0 0042a2f0 -007729d0 0060d1f0 -007729d0 00407f10 -007729d0 007ea260 -007729d0 00813520 -007729d0 005b19d0 -007729d0 005b17c0 -007729d0 00665c60 -007729d0 004aadf0 -007729d0 007d7c30 -007729d0 00a10540 -007729d0 00703950 -007729d0 00a20fb0 -007729d0 00407170 -007729d0 00753c50 -007729d0 00417430 -007729d0 007ebca0 -007729d0 00703770 -007729d0 00929a20 -007729d0 006a8190 007729d0 00a0fed0 -007729d0 0092aaf0 -007729d0 00aef12b -007729d0 004173b0 -007729d0 00676150 -007729d0 00930390 -007729d0 0060cc80 -007729d0 00930a70 -007729d0 00435ad0 -007729d0 00823370 -007729d0 0075f0e0 -007729d0 0040bd50 -007729d0 00929aa0 -007729d0 00431760 -007729d0 00428a60 -007729d0 00759220 -007729d0 007591e0 -007729d0 0074b5b0 -007729d0 00753650 -007729d0 0067f030 -007729d0 0067f1d0 -007729d0 007db330 -007729d0 0044bfa0 -007729d0 0040c3a0 -007729d0 004269e0 -007729d0 00435ef0 -007729d0 007ca2d0 -007729d0 00435b50 -007729d0 006fe3d0 -007729d0 00694fb0 -007729d0 00703330 -007729d0 00758d00 -007729d0 00417850 -007729d0 00417200 -007729d0 007dc620 -007729d0 007717c0 -007729d0 006b84b0 -007729d0 007caad0 -007729d0 00428a80 -007729d0 0040c200 -007729d0 009ad210 -007729d0 006d6d20 -007729d0 007a4850 -007729d0 00a10480 -007729d0 0042d9b0 -007729d0 00790af0 -007729d0 007cf8f0 -007729d0 00435cf0 -007729d0 00733ca0 -007729d0 00431530 -007729d0 00421770 -007729d0 00a0fe90 -007729d0 00435d20 -007729d0 004564b0 -007729d0 0049cb60 -007729d0 007d1c10 -007729d0 007d4320 -007729d0 00a0f550 -007729d0 00aefca0 -007729d0 00a10420 -007729d0 006b7db0 -007729d0 0040bf20 -007729d0 004176f0 -007729d0 007c7960 -007729d0 00425ac0 -007729d0 00759400 -007729d0 00759f50 -007729d0 00a15550 -007729d0 007ad440 -007729d0 00417620 -007729d0 007ca840 -007729d0 007e9020 -007729d0 00676120 -007729d0 007a3c10 -007729d0 007c9ea0 -007729d0 00421800 -007729d0 0041cb70 -007729d0 007d35b0 -007729d0 009305f0 -007729d0 006a9140 -007729d0 0092dc30 -007729d0 00a102e0 -007729d0 00417910 -007729d0 007d9ca0 -007729d0 007ce6e0 -007729d0 00431310 -007729d0 007d1860 -007729d0 0067f010 -007729d0 007c9ad0 -007729d0 007ad330 -007729d0 0040a4d0 -007729d0 0040d0e0 -007729d0 00665a30 -007729d0 006a8fa0 -007729d0 00771d30 -007729d0 00417280 -007729d0 007599d0 -007729d0 0041cb60 -007729d0 009304a0 -007729d0 009302e0 -007729d0 0074f090 -007729d0 00821940 -007729d0 0072fda0 -007729d0 00435fb0 -007729d0 00417610 -007729d0 00aef253 -007729d0 007db2d0 -007729d0 007dd380 -007729d0 00763570 -007729d0 00a10100 -007729d0 00a20b50 -007729d0 006a92a0 -007729d0 007537c0 -007729d0 007ea190 -007729d0 00704360 -007729d0 00499960 -007729d0 00703580 -007729d0 005a6fb0 -007729d0 007ad7e0 -007729d0 00435a80 -007729d0 007d9200 -007729d0 0041cb80 -007729d0 0042a330 -007729d0 00436060 -007729d0 004172d0 -007729d0 0060d090 -007729d0 00435e90 -007729d0 007cafe0 -007729d0 0042ca00 -007729d0 007aa7c0 -007729d0 00703830 -007729d0 007f0800 -007729d0 0062b750 -007729d0 007ce2a0 -007729d0 004149d0 -007729d0 004cdce0 -007729d0 004f8940 -007729d0 006f8100 -007729d0 00435c70 -007729d0 007ad3a0 -007729d0 007e9080 -007729d0 004360d0 -007729d0 00771f60 -007729d0 00417270 -007729d0 004177c0 -007729d0 0042a250 -007729d0 00435c20 -007729d0 005b1580 -007729d0 007db700 -007729d0 004178f0 -007729d0 00930220 -007729d0 00652fa0 -007729d0 007c90b0 -007729d0 006a9320 -007729d0 004405e0 -007729d0 00417840 -007729d0 009e0680 -007729d0 00703be0 -007729d0 007706e0 -007729d0 0067a080 -007729d0 00431540 -007729d0 007caaa0 -007729d0 004cf380 -007729d0 0041af60 -007729d0 004171d0 -007729d0 007dba30 -007729d0 004253b0 -007729d0 006f0010 -007729d0 004073c0 -007729d0 00424530 -007729d0 0075e1d0 -007729d0 0067f070 -007729d0 00417860 -007729d0 007db6b0 -007729d0 00436080 -007729d0 00956780 -007729d0 007c3100 -007729d0 004173e0 -007729d0 00864560 -007729d0 00930550 -007729d0 005c93b0 -007729d0 007adb30 -007729d0 007ce420 -007729d0 007d2a40 -007729d0 00417900 -007729d0 007bf6c0 -007729d0 007c9590 -007729d0 007d87a0 -007729d0 00790530 -007729d0 009568e0 -007729d0 00930680 -007729d0 006acd10 -007729d0 007067c0 -007729d0 004361d0 -007729d0 00417340 -007729d0 0075d850 -007729d0 005c88a0 -007729d0 00456860 -007729d0 00771550 -007729d0 007a3c30 -007729d0 00a0ff30 -007729d0 00429560 -007729d0 00417350 -007729d0 007afc20 -007729d0 006f8120 -007729d0 004238f0 -007729d0 00435dd0 -007729d0 005b39d0 -007729d0 009be850 -007729d0 00a104e0 -007729d0 00429550 -007729d0 0042c810 -007729d0 007915a0 -007729d0 005cbd00 -007729d0 00417170 -007729d0 00428a50 -007729d0 007cdf30 -007729d0 00734900 -007729d0 0049cbf0 -007729d0 007e8f90 -007729d0 006a8210 -007729d0 007cabc0 -007729d0 0042c850 -007729d0 00a10350 -007729d0 0065d090 -007729d0 00407480 -007729d0 00435de0 -007729d0 0067efe0 -007729d0 009305c0 007729d0 00417820 -007729d0 0070bf80 +007729d0 004316a0 +007729d0 004cdce0 +007729d0 007ea190 +007729d0 0074f090 +007729d0 00930220 +007729d0 007cb6e0 +007729d0 0067f070 +007729d0 00703330 +007729d0 0040c340 +007729d0 004563c0 +007729d0 00417170 +007729d0 007ad3a0 +007729d0 00417620 +007729d0 004172f0 +007729d0 007911c0 +007729d0 007ce2a0 +007729d0 00753640 +007729d0 00435f80 +007729d0 0040bd50 +007729d0 005b17c0 +007729d0 00424510 +007729d0 00af08b1 +007729d0 0044bfa0 +007729d0 00763570 +007729d0 00813520 +007729d0 00a104e0 +007729d0 00a20fb0 +007729d0 009305f0 +007729d0 0040d0e0 +007729d0 0041af60 +007729d0 007db2d0 +007729d0 00417430 007729d0 007a0080 007729d0 007abe20 +007729d0 0040bf20 +007729d0 004175b0 +007729d0 0042ca00 +007729d0 00a10350 +007729d0 00759f50 +007729d0 007f0800 +007729d0 004361f0 +007729d0 005a6fb0 +007729d0 0075f0e0 +007729d0 004173e0 +007729d0 00753c50 +007729d0 00a10660 +007729d0 007d1c10 +007729d0 007c9ea0 +007729d0 00675fc0 +007729d0 004cf380 +007729d0 004aadf0 +007729d0 0042a250 +007729d0 0067a080 +007729d0 007cf8f0 +007729d0 006a8190 +007729d0 00407480 +007729d0 007bf6c0 +007729d0 00a0f550 +007729d0 0049cb60 +007729d0 006f0010 +007729d0 00703950 +007729d0 005b1580 +007729d0 0060cc80 +007729d0 007aa7c0 +007729d0 0040c200 +007729d0 0041cb70 +007729d0 007ad330 +007729d0 00929aa0 +007729d0 007d1860 +007729d0 0042c820 +007729d0 004073c0 +007729d0 0072fd10 +007729d0 00759400 +007729d0 00759b90 +007729d0 00417340 +007729d0 007591e0 +007729d0 00956780 +007729d0 00aef12b +007729d0 0042c850 +007729d0 00424530 +007729d0 0070bf80 +007729d0 00758d00 +007729d0 007a3c30 +007729d0 0067efe0 +007729d0 005b1780 +007729d0 006ff2a0 +007729d0 0067f1d0 +007729d0 004f8940 +007729d0 009be850 +007729d0 00435c70 +007729d0 0062b750 +007729d0 00864560 +007729d0 007d4320 +007729d0 007c7b10 +007729d0 006fe3d0 +007729d0 00665c60 +007729d0 007afc20 +007729d0 00a0ff30 +007729d0 00a10100 +007729d0 00421800 +007729d0 006acd10 +007729d0 006a9320 +007729d0 00a15550 +007729d0 00a20b50 +007729d0 00665a30 +007729d0 007dc620 +007729d0 00aef29d +007729d0 0040c3a0 +007729d0 0065cf80 +007729d0 007c3320 +007729d0 0075e1d0 +007729d0 004269e0 +007729d0 007ca2d0 +007729d0 00676120 +007729d0 007ad440 +007729d0 00733ca0 +007729d0 00431530 +007729d0 00435de0 +007729d0 007ad7e0 +007729d0 006a8fa0 +007729d0 004173b0 +007729d0 007d9200 +007729d0 0072fda0 +007729d0 007dba30 +007729d0 00407f10 +007729d0 006a8210 +007729d0 007706e0 +007729d0 007caad0 +007729d0 0065d090 +007729d0 0078f840 +007729d0 006a9140 +007729d0 007bf640 +007729d0 00417350 +007729d0 00425ac0 +007729d0 007cb060 +007729d0 00417270 +007729d0 00414580 +007729d0 006f8120 +007729d0 004171d0 +007729d0 005c88a0 +007729d0 004253b0 +007729d0 007db6b0 +007729d0 009305c0 +007729d0 004360d0 +007729d0 00771d30 +007729d0 006ac530 +007729d0 00417200 +007729d0 007915a0 +007729d0 00a102e0 +007729d0 004178f0 +007729d0 00652fa0 +007729d0 00417280 +007729d0 00435dd0 +007729d0 007cafe0 +007729d0 00771550 +007729d0 00417850 +007729d0 00417290 +007729d0 004149d0 +007729d0 0067f030 +007729d0 0092dc30 +007729d0 005cbd00 +007729d0 0042a2f0 +007729d0 007cae60 +007729d0 0060d090 +007729d0 00499960 +007729d0 007db700 +007729d0 0040bf30 +007729d0 007a3c10 +007729d0 007537c0 +007729d0 00431540 +007729d0 009302e0 +007729d0 0067f010 +007729d0 00428a60 +007729d0 00417900 +007729d0 00753650 +007729d0 00436060 +007729d0 00703be0 +007729d0 004177c0 +007729d0 00a10540 +007729d0 007e8f90 +007729d0 007e90f0 +007729d0 00435c20 +007729d0 0042d9b0 +007729d0 007ce420 +007729d0 007d87a0 +007729d0 00823370 +007729d0 007c9080 +007729d0 00435fb0 +007729d0 00aefca0 +007729d0 00428a80 +007729d0 007717c0 +007729d0 00435ad0 +007729d0 007c7d70 +007729d0 00734870 +007729d0 00428b20 +007729d0 0092aaf0 +007729d0 00a10480 +007729d0 007db330 +007729d0 007adb30 +007729d0 007d7c30 +007729d0 00821940 +007729d0 00435d20 +007729d0 00407170 +007729d0 0092abd0 +007729d0 00429550 +007729d0 007ca840 +007729d0 00759220 +007729d0 007d2a40 +007729d0 007ea260 +007729d0 0040a4d0 +007729d0 0040a380 +007729d0 00436080 +007729d0 006b6470 +007729d0 0075d850 +007729d0 0040c780 +007729d0 007599d0 +007729d0 007e9080 +007729d0 00734900 +007729d0 0041cb80 +007729d0 004564b0 +007729d0 0041cb60 +007729d0 006f8100 +007729d0 0042c810 +007729d0 007caaa0 +007729d0 00435a80 +007729d0 00703580 +007729d0 009568e0 +007729d0 007c3100 +007729d0 00790530 +007729d0 00417840 +007729d0 005b39d0 +007729d0 007c9ad0 +007729d0 0042a330 +007729d0 007c9590 +007729d0 007dd380 +007729d0 00429560 +007729d0 006b7a80 +007729d0 007c7960 +007729d0 007c90b0 +007729d0 00435ef0 +007729d0 00771f60 +007729d0 009ad210 +007729d0 00812c90 +007729d0 0072fd70 +007729d0 004172d0 +007729d0 007ce6e0 +007729d0 00456860 +007729d0 005c93b0 +007729d0 00758a70 +007729d0 00790af0 +007729d0 006b84b0 +007729d0 00930390 +007729d0 00431310 +007729d0 00431760 +007729d0 006a92a0 +007729d0 006eef60 +007729d0 00421770 +007729d0 007cabc0 +007729d0 007d35b0 +007729d0 0074b5b0 +007729d0 00a15b10 +007729d0 004171b0 +007729d0 00694fb0 +007729d0 00a0fe90 +007729d0 00a10420 +007729d0 00a10030 +007729d0 00930550 +007729d0 007cdf30 +007729d0 00417910 +007729d0 004405e0 +007729d0 004174a0 +007729d0 00930680 +007729d0 009304a0 +007729d0 00428a50 +007729d0 004361d0 +007729d0 007d9ca0 +007729d0 00704360 +007729d0 0040bff0 +007729d0 0060d1f0 +007729d0 0049cbf0 +007729d0 007ebca0 +007729d0 006b7db0 +007729d0 009e0680 +007729d0 007a4850 +007729d0 00417360 +007729d0 00930a70 +007729d0 00417860 +007729d0 00aef253 +007729d0 00703830 +007729d0 00435b50 +007729d0 004238f0 +007729d0 00676150 +007729d0 00435cf0 +007729d0 004176f0 +007729d0 007ca7c0 +007729d0 00435e90 +007729d0 00703770 +007729d0 007c36b0 +007729d0 005b19d0 +007729d0 007e9020 +007729d0 007067c0 +007729d0 004e7d10 +007729d0 006d6d20 +007729d0 00929a20 +007729d0 00417610 +007791f0 007cabc0 007791f0 007cafe0 007791f0 007c9ea0 007791f0 007ca2d0 -007791f0 007cabc0 -00779360 004288a0 00779360 00435a50 -00779360 00748490 00779360 00956110 +00779360 00748490 +00779360 004288a0 00779360 009562d0 -00779620 00779360 00779620 00665c60 -00779620 004288a0 00779620 00435a50 00779620 00748490 +00779620 004288a0 +00779620 00779360 00779620 009562d0 00779900 0041d540 00779900 007706e0 00779900 0041d520 00779a20 007706e0 -00779b40 EXTERNAL:00000220 +00779b40 00930680 +00779b40 00428b20 00779b40 009561e0 -00779b40 0040c340 -00779b40 007706e0 -00779b40 006b6470 -00779b40 00771550 00779b40 006ac8d0 -00779b40 0041d520 +00779b40 00930220 +00779b40 00779360 +00779b40 0067f1d0 00779b40 007cb6e0 +00779b40 0040c340 +00779b40 006828b0 +00779b40 00499d60 +00779b40 007706e0 +00779b40 00a0ffc0 +00779b40 004238f0 00779b40 00930980 00779b40 006eef60 -00779b40 004238f0 -00779b40 00aef15c -00779b40 006828b0 -00779b40 006ac760 -00779b40 00a0ffc0 -00779b40 0067f1d0 +00779b40 006b6470 00779b40 0041d540 -00779b40 00a10030 -00779b40 00759f50 -00779b40 00428b20 -00779b40 00417430 -00779b40 00779360 00779b40 004073d0 -00779b40 00aef12b -00779b40 00930220 -00779b40 00930680 00779b40 009305f0 -00779b40 00499d60 +00779b40 0041d520 +00779b40 EXTERNAL:00000220 00779b40 00435a50 +00779b40 00417430 +00779b40 00aef15c +00779b40 006ac760 +00779b40 00aef12b +00779b40 00a10030 00779b40 0067f170 -0077b020 0040c340 -0077b020 00456750 -0077b020 00779320 +00779b40 00759f50 +00779b40 00771550 0077b020 00a10630 -0077b020 00a10390 -0077b020 00753940 -0077b020 004172f0 -0077b020 00682f20 -0077b020 00407270 -0077b020 00421620 -0077b020 00956110 -0077b020 00675fc0 -0077b020 0040a760 -0077b020 00a10660 -0077b020 00a10030 -0077b020 00428b20 -0077b020 004361f0 -0077b020 00557cd0 -0077b020 0067f260 -0077b020 007aab70 -0077b020 0042d040 -0077b020 005b1570 -0077b020 004316c0 -0077b020 00780560 -0077b020 0041d510 -0077b020 00af08b1 -0077b020 005b1780 -0077b020 004175b0 -0077b020 006b6470 -0077b020 0040c780 -0077b020 00505b60 -0077b020 007cb6e0 -0077b020 00930980 -0077b020 004172b0 -0077b020 007ac7e0 -0077b020 007911c0 -0077b020 006eef60 -0077b020 00414550 -0077b020 00417290 -0077b020 006c07e0 -0077b020 007c36b0 -0077b020 0075d1d0 -0077b020 00407f10 -0077b020 00505ca0 -0077b020 00a10540 -0077b020 00456230 -0077b020 007aa850 -0077b020 0082eb90 -0077b020 00407170 -0077b020 00417430 0077b020 00a0fed0 -0077b020 00aef12b -0077b020 0082ee30 -0077b020 00676150 -0077b020 00930390 -0077b020 007826d0 -0077b020 00417400 -0077b020 0040a550 -0077b020 00456440 -0077b020 00428a60 -0077b020 00498fc0 -0077b020 00435d60 -0077b020 00423960 -0077b020 007dac30 -0077b020 0067f1d0 -0077b020 0040a360 -0077b020 00592200 -0077b020 00435b50 -0077b020 00779a20 -0077b020 00694fb0 +0077b020 00417820 +0077b020 00753d40 +0077b020 00a10390 +0077b020 0067f070 +0077b020 007cb6e0 0077b020 00703330 +0077b020 0040c340 +0077b020 00417170 +0077b020 0082ee30 +0077b020 00417620 +0077b020 00417330 +0077b020 00444c90 +0077b020 0040a550 +0077b020 004172f0 +0077b020 007911c0 +0077b020 00435e50 +0077b020 007aab70 +0077b020 007abe90 +0077b020 00af08b1 +0077b020 00763570 +0077b020 005cbd10 +0077b020 00a104e0 +0077b020 009305f0 +0077b020 0040a360 +0077b020 00435eb0 +0077b020 0041af60 +0077b020 00417430 +0077b020 00779320 +0077b020 0040bf20 +0077b020 004175b0 +0077b020 0042ca00 +0077b020 004316c0 +0077b020 00a10350 +0077b020 00759f50 +0077b020 00779a20 +0077b020 004288f0 +0077b020 00456830 +0077b020 00456230 +0077b020 007da810 +0077b020 004361f0 +0077b020 00431260 +0077b020 00956110 +0077b020 004173e0 +0077b020 00a10660 +0077b020 0082eb90 +0077b020 00779900 +0077b020 00675fc0 +0077b020 006ac710 +0077b020 00a10270 +0077b020 00407480 +0077b020 007bf6c0 +0077b020 0040c2e0 +0077b020 00407280 +0077b020 00813ce0 +0077b020 007ad330 +0077b020 0075d1d0 +0077b020 00780560 +0077b020 00956780 +0077b020 0040ac50 +0077b020 00aef12b +0077b020 007dac30 +0077b020 0067efe0 +0077b020 00407270 +0077b020 00444c70 +0077b020 005b1780 +0077b020 005cd690 +0077b020 0067f1d0 +0077b020 004172b0 +0077b020 004316b0 +0077b020 004314b0 +0077b020 007ab110 +0077b020 007d7290 +0077b020 00456750 +0077b020 00a112c0 +0077b020 005b1570 +0077b020 006a9320 +0077b020 00423960 +0077b020 00435a50 +0077b020 00779620 +0077b020 00a02890 +0077b020 007ac7e0 +0077b020 00753d30 +0077b020 00676120 0077b020 005b15d0 -0077b020 00a68490 -0077b020 009f9020 -0077b020 007cf8c0 +0077b020 006b5b50 +0077b020 007d2470 +0077b020 0067a400 +0077b020 004e46b0 +0077b020 0097fe50 +0077b020 00435de0 +0077b020 00498fc0 +0077b020 007ad7e0 +0077b020 00682ed0 +0077b020 0072fda0 +0077b020 00682740 +0077b020 007dac80 +0077b020 007a6300 +0077b020 006828b0 +0077b020 00407f10 +0077b020 007706e0 +0077b020 00665bc0 +0077b020 0040abb0 +0077b020 0040a760 +0077b020 004171d0 +0077b020 00428b50 +0077b020 0040bcb0 +0077b020 00925df0 +0077b020 00a102e0 +0077b020 00417400 +0077b020 00417280 +0077b020 006ef3f0 +0077b020 004cdcf0 +0077b020 00417290 +0077b020 00771550 0077b020 00417850 0077b020 00499560 -0077b020 004071c0 -0077b020 0043eea0 -0077b020 006ef3f0 -0077b020 00a10480 -0077b020 0042d9b0 -0077b020 00790af0 -0077b020 00435cf0 -0077b020 00421770 -0077b020 00a0fe90 -0077b020 00431260 -0077b020 00a10420 -0077b020 007ab110 -0077b020 0040bf20 -0077b020 004176f0 -0077b020 00759f50 -0077b020 00417620 -0077b020 007e9020 -0077b020 00676120 -0077b020 007dd3b0 -0077b020 00a10450 -0077b020 009305f0 0077b020 0092dc30 -0077b020 00a102e0 -0077b020 00417910 -0077b020 00435a50 -0077b020 0067f170 -0077b020 00827b70 -0077b020 009561e0 -0077b020 00428b50 -0077b020 0067f010 -0077b020 005cd690 -0077b020 007ad330 -0077b020 00813ce0 -0077b020 005cd4b0 -0077b020 00417280 -0077b020 009304a0 -0077b020 009302e0 -0077b020 0040abb0 -0077b020 007abe90 -0077b020 0040c2e0 -0077b020 0072fda0 -0077b020 005cbfa0 -0077b020 00435f30 -0077b020 0075a3e0 -0077b020 007dac80 -0077b020 005784c0 -0077b020 00763570 -0077b020 00435eb0 -0077b020 006a92a0 -0077b020 007aaea0 -0077b020 005cd4e0 -0077b020 0040b200 -0077b020 004cdcf0 -0077b020 00435e50 -0077b020 00704360 -0077b020 00417330 -0077b020 007a6300 -0077b020 007ad7e0 -0077b020 0041cb80 -0077b020 0040a920 -0077b020 004316b0 -0077b020 00753d40 -0077b020 00435e90 -0077b020 00444c70 -0077b020 0042ca00 -0077b020 00a0fe80 -0077b020 00753d30 -0077b020 009680d0 -0077b020 00753770 -0077b020 0060c6e0 -0077b020 00665bc0 -0077b020 00682740 -0077b020 007da810 -0077b020 009f9050 -0077b020 007cb580 -0077b020 004177c0 -0077b020 00435c20 -0077b020 007db700 -0077b020 007c8dc0 -0077b020 00420ae0 -0077b020 00428910 -0077b020 004314b0 -0077b020 006a9320 -0077b020 0096f310 -0077b020 004288f0 -0077b020 00407280 -0077b020 0040a690 -0077b020 007706e0 -0077b020 0041af60 -0077b020 004171d0 -0077b020 007b9f60 -0077b020 0067f070 -0077b020 00730910 -0077b020 00925df0 -0077b020 00956780 -0077b020 00779900 -0077b020 0040ac50 -0077b020 004173e0 -0077b020 00456830 -0077b020 00a0ffc0 -0077b020 005b18f0 -0077b020 007d7290 -0077b020 007d2470 -0077b020 00417900 -0077b020 005cbd10 -0077b020 007bf6c0 -0077b020 00779620 -0077b020 0097fe50 -0077b020 00a10270 -0077b020 004e46b0 -0077b020 007595b0 -0077b020 00a02890 -0077b020 009568e0 -0077b020 004cf210 -0077b020 006b5b50 -0077b020 0075d850 -0077b020 00771550 -0077b020 00677780 -0077b020 0067a400 -0077b020 00a104e0 -0077b020 006828b0 -0077b020 0060c6c0 -0077b020 006ac710 -0077b020 00417320 -0077b020 00429550 -0077b020 00a112c0 +0077b020 00421620 0077b020 005cbd00 -0077b020 00417170 -0077b020 00444c90 -0077b020 00682ed0 -0077b020 00a10350 -0077b020 00407480 -0077b020 00435de0 +0077b020 00414550 +0077b020 00753770 +0077b020 007db700 +0077b020 004cf210 +0077b020 007aaea0 +0077b020 00435d60 +0077b020 005cd4e0 +0077b020 00557cd0 +0077b020 005b18f0 +0077b020 00505b60 +0077b020 009302e0 +0077b020 00417900 +0077b020 00428a60 +0077b020 0067f010 +0077b020 00930980 +0077b020 007c8dc0 +0077b020 004177c0 +0077b020 00a10540 +0077b020 00435c20 +0077b020 0042d9b0 +0077b020 00a68490 +0077b020 007826d0 +0077b020 009680d0 +0077b020 00592200 +0077b020 004071c0 +0077b020 00428b20 +0077b020 009561e0 +0077b020 00a10480 +0077b020 00407170 +0077b020 009f9050 +0077b020 00420ae0 +0077b020 00429550 +0077b020 00a0fe80 +0077b020 009f9020 +0077b020 0040c780 +0077b020 0075d850 +0077b020 006b6470 +0077b020 007cf8c0 +0077b020 00a10450 +0077b020 0041cb80 +0077b020 0096f310 +0077b020 009568e0 +0077b020 00456440 +0077b020 00435f30 +0077b020 007aa850 +0077b020 00827b70 +0077b020 007dd3b0 +0077b020 00428910 +0077b020 0060c6c0 +0077b020 0041d510 +0077b020 006c07e0 +0077b020 005cd4b0 +0077b020 00790af0 +0077b020 00930390 +0077b020 00a0ffc0 +0077b020 006a92a0 +0077b020 006eef60 +0077b020 00421770 +0077b020 0060c6e0 +0077b020 00417320 +0077b020 005784c0 +0077b020 0040b200 +0077b020 00682f20 +0077b020 00694fb0 0077b020 007dc7b0 -0077b020 0067efe0 -0077b020 00417820 -0077b020 0040bcb0 +0077b020 00a0fe90 +0077b020 00a10420 +0077b020 0067f170 +0077b020 007cb580 +0077b020 00a10030 +0077b020 0040a920 +0077b020 0067f260 +0077b020 00417910 +0077b020 005cbfa0 +0077b020 009304a0 +0077b020 007b9f60 +0077b020 00753940 +0077b020 00704360 +0077b020 00677780 +0077b020 00435b50 +0077b020 0042d040 +0077b020 00676150 +0077b020 00435cf0 +0077b020 004176f0 +0077b020 0075a3e0 +0077b020 0040a690 +0077b020 00435e90 +0077b020 007c36b0 +0077b020 00730910 +0077b020 007595b0 +0077b020 007e9020 +0077b020 0043eea0 +0077b020 00505ca0 00780560 006eef60 00780560 00aef12b 00780560 007706e0 00780560 007cb6e0 00780ec0 007706e0 +00780f40 0092dc30 00780f40 009561e0 +00780f40 007cb6e0 +00780f40 007db700 +00780f40 00505cc0 +00780f40 007aaea0 +00780f40 00435c70 +00780f40 00499d60 00780f40 007706e0 +00780f40 00780ec0 +00780f40 007597e0 +00780f40 007d7290 +00780f40 00408d00 +00780f40 006eef60 +00780f40 00a112c0 +00780f40 0041d540 +00780f40 0041d520 +00780f40 007d6670 +00780f40 00435a50 +00780f40 00417430 +00780f40 007d65e0 +00780f40 00780560 +00780f40 00956780 +00780f40 007d2d40 00780f40 00771550 00780f40 006fe410 -00780f40 007d2d40 -00780f40 0041d520 -00780f40 007cb6e0 -00780f40 006eef60 -00780f40 007597e0 -00780f40 00956780 -00780f40 00505cc0 -00780f40 007d6670 -00780f40 007d65e0 -00780f40 00a112c0 -00780f40 007d7290 -00780f40 0041d540 -00780f40 00435c70 -00780f40 00408d00 -00780f40 00417430 -00780f40 007aaea0 -00780f40 007db700 -00780f40 00780ec0 -00780f40 00499d60 -00780f40 0092dc30 -00780f40 00435a50 -00780f40 00780560 +00781b90 00770ca0 00781b90 006eef60 00781b90 007706e0 00781b90 009305f0 -00781b90 00770ca0 -00782160 00a112c0 -00782160 0041d540 -00782160 0041d520 -00782160 00499d60 00782160 00435a50 -007826d0 004cdcf0 +00782160 0041d540 +00782160 00a112c0 +00782160 00499d60 +00782160 0041d520 +007826d0 007c9590 +007826d0 006fd350 007826d0 006eef60 007826d0 007706e0 -007826d0 006fe410 007826d0 004cf210 -007826d0 006fd350 -007826d0 007c9590 -007828f0 00930a70 +007826d0 006fe410 +007826d0 004cdcf0 007828f0 00930680 +007828f0 00930a70 007828f0 00930ae0 007829a0 00417870 007829a0 00763570 -00782af0 006ae280 -00782af0 00428cd0 -00782af0 0042a020 -00782af0 00a10390 -00782af0 007538d0 -00782af0 0042a2c0 -00782af0 00839830 -00782af0 004172f0 -00782af0 00452be0 -00782af0 00aef29d -00782af0 0040a760 -00782af0 007ad680 -00782af0 00753790 -00782af0 00a10030 -00782af0 004361f0 -00782af0 0040a380 -00782af0 005b19f0 -00782af0 006fd7c0 -00782af0 00780ec0 -00782af0 00420af0 -00782af0 0042d040 -00782af0 00505b40 -00782af0 0040b030 -00782af0 00424420 -00782af0 007bf640 -00782af0 00959130 -00782af0 00780560 -00782af0 0040b1d0 -00782af0 0041d510 -00782af0 00af08b1 -00782af0 004171b0 -00782af0 00417920 -00782af0 006b6470 -00782af0 0072fd10 -00782af0 007cb6e0 -00782af0 00505b60 -00782af0 00780eb0 -00782af0 00499dd0 -00782af0 004360f0 -00782af0 0075d9c0 -00782af0 00417290 -00782af0 00758a70 -00782af0 006ac760 -00782af0 00407f10 -00782af0 00813520 -00782af0 005b17c0 -00782af0 0041a790 -00782af0 00a15640 -00782af0 007d8980 -00782af0 00417430 -00782af0 007cbb60 -00782af0 007596a0 -00782af0 00447740 -00782af0 0069d9d0 -00782af0 007ebca0 -00782af0 00929a20 -00782af0 00a10570 -00782af0 005b1760 -00782af0 004b7070 00782af0 00a0fed0 -00782af0 0040b1a0 -00782af0 0082ee30 -00782af0 004173b0 -00782af0 00676150 -00782af0 009b92c0 -00782af0 00753830 -00782af0 007ad610 -00782af0 00431760 -00782af0 0040a550 -00782af0 00499270 -00782af0 00423960 -00782af0 007c7c60 -00782af0 0090ac70 -00782af0 0067f1d0 -00782af0 00557bb0 -00782af0 00753750 -00782af0 009a8500 -00782af0 0040c3a0 -00782af0 00a101c0 -00782af0 0040b430 -00782af0 00a10180 -00782af0 00417200 -00782af0 007dc620 -00782af0 0040aa70 -00782af0 004071c0 -00782af0 0040a720 -00782af0 00a10480 -00782af0 006a9c10 -00782af0 0042d9b0 -00782af0 004071f0 -00782af0 00a105a0 -00782af0 006518f0 -00782af0 00722c80 -00782af0 00a205a0 -00782af0 007a3d30 -00782af0 00839840 -00782af0 0041e470 -00782af0 00435e40 -00782af0 004564b0 -00782af0 007bf5c0 -00782af0 007ae4b0 -00782af0 00421780 -00782af0 0040bf20 -00782af0 00421800 -00782af0 007dd3b0 -00782af0 0041cb70 -00782af0 009305f0 -00782af0 0067f2e0 -00782af0 00a102e0 -00782af0 00431310 -00782af0 004303e0 -00782af0 0060c410 -00782af0 00791320 -00782af0 00428b50 -00782af0 00435db0 -00782af0 0040d0e0 -00782af0 0040a4d0 -00782af0 009302e0 -00782af0 004a5d00 -00782af0 00821940 -00782af0 0072fda0 -00782af0 00417610 -00782af0 0078b330 -00782af0 0067efb0 -00782af0 0065cf30 -00782af0 007538f0 -00782af0 007d3200 -00782af0 0042c710 -00782af0 005b1920 -00782af0 00a0ff00 -00782af0 006dae00 -00782af0 00499960 -00782af0 00435a80 -00782af0 0040a920 -00782af0 00436060 -00782af0 00435e90 -00782af0 00444c70 -00782af0 0042ca00 -00782af0 00435bc0 -00782af0 007b0070 -00782af0 00a0fe80 -00782af0 00417150 -00782af0 004073a0 -00782af0 007bf040 -00782af0 00682740 -00782af0 004360d0 -00782af0 005cd460 -00782af0 00409100 -00782af0 00452bf0 -00782af0 004173a0 -00782af0 009f9050 -00782af0 004177c0 -00782af0 00435c20 -00782af0 007db700 -00782af0 00420ae0 -00782af0 006a9320 -00782af0 006d8990 -00782af0 00456190 -00782af0 00407280 -00782af0 006831c0 -00782af0 0040a910 -00782af0 0040ace0 -00782af0 007706e0 -00782af0 00431540 -00782af0 0092e230 -00782af0 0060c420 -00782af0 004171d0 -00782af0 0041af60 -00782af0 006b31b0 -00782af0 007b9aa0 -00782af0 007dc6c0 -00782af0 0067f070 -00782af0 007db6b0 -00782af0 00779900 -00782af0 0077b020 -00782af0 00440e40 -00782af0 0040ac50 -00782af0 00753d50 -00782af0 00435e00 -00782af0 00428ae0 -00782af0 00930550 -00782af0 007d2470 -00782af0 00930a30 -00782af0 00431450 -00782af0 007b9b50 -00782af0 007828f0 -00782af0 00842230 -00782af0 009568e0 -00782af0 00930680 -00782af0 00a10600 -00782af0 009304f0 -00782af0 00753780 -00782af0 0075d850 -00782af0 0042c770 -00782af0 007dc6d0 -00782af0 00a155f0 -00782af0 004238f0 -00782af0 0042a320 -00782af0 00813b30 -00782af0 00a104e0 -00782af0 007826c0 -00782af0 007537e0 -00782af0 007ad720 -00782af0 0042c810 -00782af0 00a112c0 -00782af0 00812f00 -00782af0 007dc660 -00782af0 006ac560 -00782af0 005cbd00 -00782af0 00444c90 -00782af0 0042c850 -00782af0 004f8930 -00782af0 00a10350 -00782af0 00407480 -00782af0 0067efe0 00782af0 00417820 -00782af0 0040bcb0 -00782af0 0040c2d0 -00782af0 00753cb0 -00782af0 007abe20 -00782af0 005cba30 -00782af0 00a100b0 -00782af0 0078f840 -00782af0 007bc740 -00782af0 0040c340 -00782af0 006add70 -00782af0 004b7080 -00782af0 00a10630 -00782af0 00827bb0 -00782af0 005cbe20 -00782af0 00791a40 -00782af0 006b66a0 -00782af0 0041e460 -00782af0 00407270 -00782af0 00675fc0 -00782af0 007d65e0 -00782af0 00703670 -00782af0 00a20920 -00782af0 007484c0 -00782af0 00428b20 -00782af0 007e90f0 -00782af0 004563c0 -00782af0 007a4ba0 -00782af0 00440e50 -00782af0 0043ef20 -00782af0 004175b0 -00782af0 0040c780 -00782af0 00a15b10 -00782af0 00424510 -00782af0 00930980 -00782af0 006eef60 -00782af0 0079f3c0 -00782af0 007829a0 -00782af0 006ae820 -00782af0 00414580 -00782af0 007c8240 -00782af0 007499a0 -00782af0 00812c90 -00782af0 00a115c0 -00782af0 00420160 -00782af0 0075d1d0 -00782af0 007a6450 -00782af0 007538e0 -00782af0 005b19d0 -00782af0 00665c60 -00782af0 00409cb0 -00782af0 00436160 -00782af0 007b8cb0 -00782af0 00a10540 -00782af0 0040c2f0 -00782af0 007aa850 -00782af0 00407170 -00782af0 00780f40 -00782af0 0095a680 -00782af0 00aef12b -00782af0 009ba000 -00782af0 007d4390 -00782af0 00930390 -00782af0 00930a70 -00782af0 007da770 -00782af0 0040bd50 -00782af0 004072e0 -00782af0 007a6680 -00782af0 00417400 -00782af0 009b9fc0 -00782af0 00499290 -00782af0 007a42b0 00782af0 00753720 -00782af0 00a155c0 -00782af0 0085e360 -00782af0 00428a60 -00782af0 00417160 -00782af0 004e45c0 -00782af0 00417870 -00782af0 007e24c0 -00782af0 0040a360 -00782af0 007bf490 -00782af0 00a10510 -00782af0 00435ef0 -00782af0 00435b50 -00782af0 00757a10 -00782af0 00758d00 -00782af0 00652f80 -00782af0 007cf8c0 -00782af0 0042cfd0 -00782af0 00417850 -00782af0 007059f0 -00782af0 00782630 -00782af0 00435cf0 -00782af0 00421770 -00782af0 00a0fe90 -00782af0 00431260 -00782af0 007d4320 -00782af0 004178d0 -00782af0 00a10420 -00782af0 007ab110 -00782af0 004176f0 -00782af0 0040a940 -00782af0 00700060 -00782af0 00417620 -00782af0 007dd3d0 -00782af0 004074b0 -00782af0 007e9020 -00782af0 00676120 -00782af0 0092e560 -00782af0 00a10450 -00782af0 0092dc30 -00782af0 00440e90 -00782af0 006832e0 -00782af0 009561e0 -00782af0 009b9f60 -00782af0 00753c80 -00782af0 0067f010 -00782af0 007c9ad0 -00782af0 00665a30 -00782af0 00813ce0 -00782af0 00417390 -00782af0 0041cb60 -00782af0 009304a0 -00782af0 00a114d0 -00782af0 00435fb0 -00782af0 00435df0 -00782af0 00aef253 -00782af0 007ad5a0 -00782af0 007dd380 -00782af0 004242b0 -00782af0 0096ce90 -00782af0 00763570 -00782af0 00435eb0 -00782af0 006a92a0 -00782af0 0040b200 +00782af0 00a10390 +00782af0 0040b430 00782af0 007ea190 -00782af0 00a209c0 -00782af0 00a20390 -00782af0 00704360 -00782af0 00479d50 -00782af0 0041cb80 -00782af0 00682fb0 -00782af0 0040ac60 -00782af0 004316b0 -00782af0 007cafe0 -00782af0 007ba2b0 -00782af0 0060c560 -00782af0 004149d0 -00782af0 00779b40 -00782af0 0043ee80 -00782af0 00435c70 -00782af0 00417270 -00782af0 004073d0 -00782af0 004178f0 -00782af0 0042a260 -00782af0 0040a6e0 -00782af0 004cf1d0 -00782af0 00428910 -00782af0 00417840 -00782af0 005b1990 -00782af0 0040a780 -00782af0 004288f0 -00782af0 009bf990 -00782af0 00930640 -00782af0 0040a220 -00782af0 0060c790 -00782af0 0040a690 -00782af0 004073c0 -00782af0 00424530 -00782af0 0075e1d0 -00782af0 00417860 -00782af0 007b9f60 -00782af0 00925df0 -00782af0 004173e0 -00782af0 004361c0 -00782af0 00a0ffc0 -00782af0 004561a0 -00782af0 00407410 -00782af0 00864130 -00782af0 00417900 -00782af0 005cbd10 -00782af0 00930330 -00782af0 00930820 -00782af0 00417470 -00782af0 00499da0 -00782af0 006b5b50 -00782af0 0040d0c0 -00782af0 004a11b0 -00782af0 006f0040 -00782af0 00771550 -00782af0 006fed60 -00782af0 00407380 -00782af0 0060c450 -00782af0 00420170 -00782af0 006f8120 -00782af0 00435dd0 -00782af0 00794e50 -00782af0 007d4340 -00782af0 005b39d0 -00782af0 006ac710 -00782af0 00417320 -00782af0 00429550 -00782af0 004566b0 -00782af0 007d8d20 -00782af0 0056ff80 -00782af0 00a0fea0 +00782af0 00435df0 +00782af0 007cb6e0 +00782af0 0075d9c0 +00782af0 0040c340 00782af0 00417170 -00782af0 00557b00 +00782af0 00417620 +00782af0 0079f3c0 +00782af0 0040a550 +00782af0 00a105a0 +00782af0 005cbd10 +00782af0 009305f0 +00782af0 00a15640 +00782af0 00435eb0 +00782af0 0041af60 +00782af0 0067efb0 +00782af0 00417430 +00782af0 0042ca00 +00782af0 00753d50 +00782af0 00930640 +00782af0 0041a790 +00782af0 00431260 +00782af0 00479d50 +00782af0 004173e0 +00782af0 00417920 +00782af0 00a10570 +00782af0 007ad610 +00782af0 00440e90 +00782af0 00813ce0 +00782af0 00499da0 +00782af0 007bf490 +00782af0 007b9b50 +00782af0 0075d1d0 +00782af0 009b92c0 +00782af0 00aef12b +00782af0 0042c850 +00782af0 00424530 +00782af0 00758d00 +00782af0 00780eb0 +00782af0 0067efe0 +00782af0 00417870 +00782af0 00930330 +00782af0 00a10180 +00782af0 00435db0 +00782af0 007596a0 +00782af0 00a10510 +00782af0 007ab110 +00782af0 00665c60 +00782af0 009ba000 +00782af0 006a9320 +00782af0 00423960 +00782af0 00431450 +00782af0 007dc6c0 +00782af0 00665a30 +00782af0 00aef29d +00782af0 0040c3a0 +00782af0 004b7080 +00782af0 00676120 +00782af0 006b5b50 +00782af0 0060c560 +00782af0 006d8990 +00782af0 0042c710 +00782af0 00407380 +00782af0 004173b0 +00782af0 005b1920 +00782af0 00682740 +00782af0 0072fda0 +00782af0 0040a220 +00782af0 007484c0 +00782af0 00407f10 +00782af0 00753780 +00782af0 00703670 +00782af0 007bf640 +00782af0 0040aa70 +00782af0 00414580 +00782af0 00417270 +00782af0 006f8120 +00782af0 00a20390 +00782af0 00a0ff00 +00782af0 004360d0 +00782af0 00a101c0 +00782af0 00a102e0 +00782af0 004178f0 +00782af0 006ae820 +00782af0 00435dd0 +00782af0 0040d0c0 +00782af0 006518f0 +00782af0 00417850 +00782af0 00757a10 +00782af0 004f8930 +00782af0 0092dc30 +00782af0 00557bb0 +00782af0 00682fb0 +00782af0 00417390 +00782af0 007db700 +00782af0 00839840 +00782af0 007538e0 +00782af0 00440e50 +00782af0 00842230 +00782af0 00435e00 +00782af0 00a155f0 +00782af0 00812f00 +00782af0 00791a40 +00782af0 00505b60 +00782af0 00431540 +00782af0 00428a60 +00782af0 00417900 +00782af0 00436060 +00782af0 007d8980 +00782af0 00930980 +00782af0 006ae280 +00782af0 004177c0 +00782af0 007e90f0 +00782af0 00435c20 +00782af0 0042d9b0 +00782af0 00791320 +00782af0 00417160 +00782af0 007dc6d0 +00782af0 0096ce90 +00782af0 0040c2d0 +00782af0 004173a0 +00782af0 004566b0 +00782af0 007538d0 +00782af0 00753750 +00782af0 005cba30 +00782af0 006831c0 +00782af0 004071c0 +00782af0 00428b20 +00782af0 00a10480 +00782af0 009561e0 +00782af0 007b0070 +00782af0 0040a910 +00782af0 007d3200 +00782af0 009f9050 +00782af0 00420ae0 +00782af0 00429550 +00782af0 0065cf30 +00782af0 0040b1a0 +00782af0 006fd7c0 00782af0 00417830 +00782af0 004178d0 +00782af0 007b9aa0 +00782af0 0040c780 +00782af0 007cf8c0 +00782af0 007a42b0 +00782af0 00a10450 +00782af0 0041cb80 +00782af0 0041cb60 +00782af0 0042c810 +00782af0 00435a80 +00782af0 00407410 +00782af0 009568e0 +00782af0 00440e40 +00782af0 0042a320 +00782af0 007c9ad0 +00782af0 007ba2b0 +00782af0 0056ff80 +00782af0 006f0040 +00782af0 004b7070 +00782af0 0040b1d0 +00782af0 007dd3b0 +00782af0 00428910 +00782af0 007dd380 +00782af0 00452be0 +00782af0 00753830 +00782af0 007537e0 +00782af0 00779b40 +00782af0 007ad720 +00782af0 00758a70 +00782af0 00a10600 +00782af0 005b1760 +00782af0 00930390 +00782af0 0092e230 +00782af0 00431310 +00782af0 007ad5a0 +00782af0 00421770 +00782af0 00794e50 +00782af0 009bf990 +00782af0 00780f40 +00782af0 00a0fe90 +00782af0 00a10420 +00782af0 007dd3d0 +00782af0 0040a780 +00782af0 006a9c10 +00782af0 0040a920 +00782af0 00a10030 +00782af0 0060c790 +00782af0 0077b020 +00782af0 007cbb60 +00782af0 00930680 +00782af0 00a155c0 00782af0 00428a50 +00782af0 0041e460 +00782af0 007ebca0 +00782af0 00421780 +00782af0 00417860 +00782af0 00aef253 +00782af0 0042d040 +00782af0 006add70 +00782af0 004238f0 +00782af0 00417150 +00782af0 00435cf0 +00782af0 00676150 +00782af0 007826c0 +00782af0 0040a690 +00782af0 007c8240 +00782af0 00435e40 +00782af0 00722c80 +00782af0 007e9020 +00782af0 00929a20 00782af0 0044bf90 -00782af0 006da7d0 -00782af0 00436010 +00782af0 007a4ba0 +00782af0 00a10630 +00782af0 00557b00 +00782af0 00a114d0 +00782af0 007ad680 00782af0 0040bc90 +00782af0 0042a2c0 +00782af0 0067f070 +00782af0 00409100 +00782af0 0040b030 +00782af0 004563c0 +00782af0 0082ee30 +00782af0 005b19f0 +00782af0 00444c90 +00782af0 00420170 +00782af0 004172f0 +00782af0 007a3d30 +00782af0 00436160 +00782af0 004073a0 +00782af0 0040ace0 +00782af0 0040bd50 +00782af0 00499290 +00782af0 0042a260 +00782af0 005b17c0 +00782af0 00424510 +00782af0 00af08b1 +00782af0 00763570 +00782af0 00813520 +00782af0 00a104e0 +00782af0 004e45c0 +00782af0 0040a360 +00782af0 00428cd0 +00782af0 0040d0e0 +00782af0 00930a30 +00782af0 005cd460 +00782af0 0040ac60 +00782af0 007abe20 +00782af0 004175b0 +00782af0 00435bc0 +00782af0 0040bf20 +00782af0 00a10350 +00782af0 00409cb0 +00782af0 0042cfd0 +00782af0 005b1990 +00782af0 004288f0 +00782af0 0060c420 +00782af0 004361f0 +00782af0 00779900 +00782af0 00675fc0 +00782af0 006ac710 +00782af0 004cf1d0 +00782af0 005cbe20 +00782af0 00407480 +00782af0 00a0fea0 +00782af0 00407280 +00782af0 009b9f60 +00782af0 0041cb70 +00782af0 0042a020 +00782af0 004073c0 +00782af0 0072fd10 +00782af0 00780560 +00782af0 0040ac50 +00782af0 004072e0 +00782af0 0042c770 +00782af0 00407270 +00782af0 00444c70 +00782af0 00a100b0 +00782af0 0040a6e0 +00782af0 007059f0 +00782af0 0067f1d0 +00782af0 00700060 +00782af0 004316b0 +00782af0 007538f0 +00782af0 00435c70 +00782af0 00428ae0 +00782af0 0067f2e0 +00782af0 007d4320 +00782af0 007829a0 +00782af0 00421800 +00782af0 00a112c0 +00782af0 007499a0 +00782af0 007dc620 +00782af0 006ac760 +00782af0 007d65e0 +00782af0 006dae00 +00782af0 00420160 +00782af0 0041e470 +00782af0 0075e1d0 +00782af0 00864130 +00782af0 007d2470 +00782af0 00753cb0 +00782af0 007d4340 +00782af0 006fed60 +00782af0 007706e0 +00782af0 0069d9d0 +00782af0 0078f840 +00782af0 004171d0 +00782af0 0040a760 +00782af0 00452bf0 +00782af0 00428b50 +00782af0 00813b30 +00782af0 0040bcb0 +00782af0 007db6b0 +00782af0 00925df0 +00782af0 007828f0 +00782af0 00417200 +00782af0 00417400 +00782af0 00652f80 +00782af0 0095a680 +00782af0 00505b40 +00782af0 006b31b0 +00782af0 0040c2f0 +00782af0 007cafe0 +00782af0 00417290 +00782af0 00771550 +00782af0 004149d0 +00782af0 0040a720 +00782af0 00424420 +00782af0 005cbd00 +00782af0 0040a940 +00782af0 00456190 +00782af0 00447740 +00782af0 00499960 +00782af0 004361c0 +00782af0 004074b0 +00782af0 009302e0 +00782af0 007a6680 +00782af0 0067f010 +00782af0 007bf5c0 +00782af0 00a10540 +00782af0 00499dd0 +00782af0 007da770 +00782af0 007bc740 +00782af0 00782630 +00782af0 00753c80 +00782af0 00436010 +00782af0 00435fb0 +00782af0 00827bb0 +00782af0 00a115c0 +00782af0 0090ac70 +00782af0 00821940 +00782af0 00930820 +00782af0 00407170 +00782af0 007bf040 +00782af0 004071f0 +00782af0 00a205a0 +00782af0 00a0fe80 +00782af0 00a20920 +00782af0 0040a4d0 +00782af0 004360f0 +00782af0 0040a380 +00782af0 004a5d00 +00782af0 006b6470 +00782af0 0075d850 +00782af0 0060c410 +00782af0 00839830 +00782af0 004564b0 +00782af0 00417840 +00782af0 005b39d0 +00782af0 007aa850 +00782af0 0043ee80 +00782af0 00417470 +00782af0 006832e0 +00782af0 007ae4b0 +00782af0 0060c450 +00782af0 004a11b0 +00782af0 0041d510 +00782af0 00a209c0 +00782af0 006b66a0 +00782af0 00435ef0 +00782af0 004242b0 +00782af0 00812c90 +00782af0 004561a0 +00782af0 00499270 +00782af0 00a0ffc0 +00782af0 00431760 +00782af0 006a92a0 +00782af0 006eef60 +00782af0 00959130 +00782af0 00417320 +00782af0 007d4390 +00782af0 009b9fc0 +00782af0 0040b200 +00782af0 00a15b10 +00782af0 004171b0 +00782af0 0085e360 +00782af0 007c7c60 +00782af0 006ac560 +00782af0 00930550 +00782af0 0043ef20 +00782af0 009304a0 +00782af0 007b9f60 +00782af0 007b8cb0 +00782af0 0078b330 +00782af0 00704360 +00782af0 007d8d20 +00782af0 007dc660 +00782af0 00930a70 +00782af0 00780ec0 +00782af0 007a6450 +00782af0 00435b50 +00782af0 004303e0 +00782af0 004176f0 +00782af0 004073d0 +00782af0 00435e90 +00782af0 00753790 +00782af0 005b19d0 +00782af0 006da7d0 +00782af0 009304f0 +00782af0 0092e560 +00782af0 00417610 +00782af0 009a8500 +00782af0 00420af0 +00782af0 007e24c0 +0078b350 00930680 0078b350 007706e0 0078b350 009305f0 -0078b350 00930680 -0078b3b0 EXTERNAL:00000220 -0078b3b0 0040a780 -0078b3b0 0040abb0 0078b3b0 0040a1b0 0078b3b0 00aef15c +0078b3b0 00408e00 +0078b3b0 0040aaf0 +0078b3b0 00452bf0 +0078b3b0 00408830 +0078b3b0 0040a780 0078b3b0 0040a690 0078b3b0 00aef12b -0078b3b0 00408e00 -0078b3b0 00452bf0 0078b3b0 0040a5d0 -0078b3b0 0040aaf0 -0078b3b0 00408830 -0078b640 0040a780 -0078b640 004305c0 -0078b640 00408e00 -0078b640 0078dff0 -0078b640 0090b010 -0078b640 0078b640 -0078b640 00925df0 -0078b640 0040c890 -0078b640 0040b220 -0078b640 00421680 -0078b640 00aef29d -0078b640 0040aaf0 +0078b3b0 EXTERNAL:00000220 +0078b3b0 0040abb0 +0078b640 00a1a580 0078b640 006b10f0 -0078b640 00aef253 +0078b640 0078b640 +0078b640 0078dff0 +0078b640 00af0917 0078b640 0067f1d0 +0078b640 007db700 +0078b640 0090b010 0078b640 0040a140 -0078b640 004253d0 -0078b640 007bf490 0078b640 0040bcd0 +0078b640 0078b350 +0078b640 0078e130 +0078b640 00a112c0 +0078b640 0090b070 +0078b640 0040b220 +0078b640 0040a5d0 +0078b640 0040c890 +0078b640 00aef29d +0078b640 0090f5f0 +0078b640 0040aaf0 +0078b640 00408830 +0078b640 00a23920 +0078b640 0040a780 +0078b640 007cb580 +0078b640 0078b3b0 +0078b640 007c32c0 +0078b640 0078e190 +0078b640 00aef5af 0078b640 0042d060 0078b640 00407690 -0078b640 007cf8c0 -0078b640 0078b3b0 0078b640 0040ccc0 -0078b640 EXTERNAL:00000220 -0078b640 00a23920 -0078b640 0078dde0 -0078b640 0090f5f0 -0078b640 0078e130 -0078b640 00aef15c -0078b640 00af0917 0078b640 0040a0d0 -0078b640 0040ac70 -0078b640 00407e90 -0078b640 00407f10 0078b640 00a1b050 -0078b640 00a1a580 -0078b640 00a112c0 -0078b640 00a0f550 -0078b640 00aef5af -0078b640 0078e190 -0078b640 0090b100 -0078b640 0090b070 -0078b640 00452bf0 -0078b640 0040a5d0 -0078b640 007cb580 -0078b640 00408830 -0078b640 0078b350 -0078b640 007db700 -0078b640 007c32c0 -0078b640 00aef12b 0078b640 0078dc60 -0078ca00 0040c550 -0078ca00 00683060 -0078ca00 0040a220 -0078ca00 00864210 -0078ca00 0078b640 -0078ca00 009baaa0 -0078ca00 00925df0 -0078ca00 0040c890 +0078b640 00421680 +0078b640 00407f10 +0078b640 00aef253 +0078b640 00a0f550 +0078b640 004305c0 +0078b640 0090b100 +0078b640 007cf8c0 +0078b640 00452bf0 +0078b640 007bf490 +0078b640 00925df0 +0078b640 EXTERNAL:00000220 +0078b640 00407e90 +0078b640 00aef15c +0078b640 00408e00 +0078b640 0040ac70 +0078b640 00aef12b +0078b640 004253d0 +0078b640 0078dde0 +0078ca00 007c32c0 0078ca00 0075ea40 -0078ca00 0040b220 +0078ca00 0078b640 +0078ca00 0084a870 0078ca00 00af0917 +0078ca00 0042d060 +0078ca00 00683060 0078ca00 0040a0d0 -0078ca00 0040ac70 +0078ca00 0040a220 +0078ca00 00839550 +0078ca00 0040b1a0 0078ca00 00a10e70 0078ca00 00a0f550 -0078ca00 00409cb0 -0078ca00 007ab110 -0078ca00 00af08cf 0078ca00 0090b100 -0078ca00 0084a870 -0078ca00 00417430 -0078ca00 00a1af90 -0078ca00 0042d060 -0078ca00 00839550 -0078ca00 0090b0e0 -0078ca00 007c32c0 -0078ca00 0040b1a0 -0078ca00 00aef12b +0078ca00 0040c550 +0078ca00 007ab110 0078ca00 007cf8c0 -0078ca00 009a6660 -0078ca00 00435a50 -0078ca00 00682260 +0078ca00 0040b220 +0078ca00 00864210 0078ca00 00782630 +0078ca00 009baaa0 +0078ca00 00925df0 +0078ca00 00af08cf +0078ca00 0040c890 +0078ca00 00435a50 +0078ca00 00417430 +0078ca00 0090b0e0 +0078ca00 00a1af90 +0078ca00 00682260 +0078ca00 0040ac70 +0078ca00 009a6660 +0078ca00 00aef12b +0078ca00 00409cb0 0078dc20 006b2000 0078dc20 007706e0 -0078dc60 00925df0 0078dc60 0040a140 0078dc60 0040b220 -0078dc60 0090b100 0078dc60 007cb580 +0078dc60 0090b100 +0078dc60 00925df0 0078dde0 0040a140 0078dde0 0040a220 0078dde0 007cb580 0078dde0 0078b350 0078dff0 0040a140 -0078dff0 007706e0 0078dff0 0040a030 0078dff0 007cb580 +0078dff0 007706e0 0078e130 0040a140 0078e130 007cb580 0078e190 0040a140 0078e190 007cb580 -0078e1f0 00864300 +0078e1f0 004cdcf0 +0078e1f0 006b62b0 +0078e1f0 00417430 +0078e1f0 00aef12b +0078e1f0 007c8240 +0078e1f0 00a10100 +0078e1f0 006ac2a0 +0078e1f0 004360f0 +0078e1f0 00a10030 +0078e1f0 00499d60 0078e1f0 00431570 -0078e1f0 006b6470 +0078e1f0 007c7960 0078e1f0 007706e0 +0078e1f0 006adf40 +0078e1f0 00956780 +0078e1f0 006ac560 +0078e1f0 00431640 +0078e1f0 006b6470 +0078e1f0 009304a0 +0078e1f0 006eef60 +0078e1f0 007d2170 +0078e1f0 00930680 +0078e1f0 0092dc30 +0078e1f0 006b5b90 +0078e1f0 0067f170 +0078e1f0 009305f0 +0078e1f0 00435a50 +0078e1f0 004cf210 0078e1f0 006ac530 0078e1f0 006fe410 -0078e1f0 006ac2a0 -0078e1f0 00930980 -0078e1f0 006eef60 -0078e1f0 009304a0 -0078e1f0 00956780 -0078e1f0 004360f0 -0078e1f0 007c8240 -0078e1f0 007d2170 -0078e1f0 009680d0 -0078e1f0 006b5b90 -0078e1f0 00431640 -0078e1f0 00a0ffc0 -0078e1f0 006ae0a0 -0078e1f0 006adf40 -0078e1f0 006ac560 -0078e1f0 006ad500 -0078e1f0 006b7a80 -0078e1f0 00a10030 -0078e1f0 007c7960 -0078e1f0 00a10100 -0078e1f0 007bf6c0 -0078e1f0 00417430 -0078e1f0 004cdcf0 -0078e1f0 00aef12b -0078e1f0 006b62b0 0078e1f0 006a8a20 -0078e1f0 009305f0 -0078e1f0 00930680 -0078e1f0 00499d60 -0078e1f0 0092dc30 -0078e1f0 004cf210 -0078e1f0 00435a50 -0078e1f0 0067f170 -0078f840 00a112c0 -0078f840 0072ff10 -0078f840 0078f840 -0078f840 00aef12b -0078f840 007584b0 -0078f840 007706e0 +0078e1f0 006ad500 +0078e1f0 009680d0 +0078e1f0 006ae0a0 +0078e1f0 00930980 +0078e1f0 00864300 +0078e1f0 00a0ffc0 +0078e1f0 006b7a80 +0078e1f0 007bf6c0 0078f840 0042a2f0 -0078f840 00763570 +0078f840 007584b0 +0078f840 0072ff10 +0078f840 00aef12b 0078f840 0072fd10 +0078f840 00a112c0 +0078f840 007706e0 +0078f840 00763570 +0078f840 0078f840 0078fec0 00721c00 +0078fec0 009e04b0 0078fec0 009a8970 0078fec0 0078f840 -0078fec0 009e04b0 -0078ff90 005b17c0 -0078ff90 0075d850 -0078ff90 007db160 -0078ff90 00425a70 -0078ff90 007d3e00 -0078ff90 00771550 -0078ff90 006fe410 -0078ff90 007ad440 -0078ff90 007ce420 -0078ff90 00770ca0 0078ff90 007d2a40 -0078ff90 0072fd10 -0078ff90 008271e0 -0078ff90 00426560 -0078ff90 007e9020 -0078ff90 006eef60 0078ff90 009304a0 -0078ff90 004264c0 -0078ff90 005b39d0 +0078ff90 00771550 0078ff90 0075e320 -0078ff90 009305f0 -0078ff90 004259b0 +0078ff90 006eef60 +0078ff90 005b17c0 +0078ff90 005b39d0 +0078ff90 0075d850 +0078ff90 004264c0 +0078ff90 008271e0 +0078ff90 00425a70 0078ff90 00813520 +0078ff90 009305f0 +0078ff90 007db160 +0078ff90 007ad440 +0078ff90 00770ca0 +0078ff90 00426560 +0078ff90 006fe410 +0078ff90 0072fd10 +0078ff90 007e9020 +0078ff90 007ce420 +0078ff90 007d3e00 +0078ff90 004259b0 +00790530 00813520 00790530 005b17c0 -00790530 00a112c0 -00790530 0078f840 -00790530 006e30a0 00790530 006fe410 00790530 006e21f0 -00790530 00813520 +00790530 00a112c0 +00790530 006e30a0 +00790530 0078f840 007906f0 00721c00 007906f0 00790530 -007907a0 007588a0 007907a0 0042c8e0 +007907a0 007588a0 +007907a0 009303f0 007907a0 00414a80 +007907a0 009306c0 +007907a0 0074ef70 007907a0 007d41d0 007907a0 0078f840 007907a0 00930550 -007907a0 009303f0 -007907a0 0074ef70 -007907a0 009306c0 -00790af0 00af08b1 -00790af0 007706e0 -00790af0 006fe410 -00790af0 00677780 +00790af0 004cdcf0 00790af0 00679e80 00790af0 00863f70 -00790af0 007bf6c0 -00790af0 004cdcf0 +00790af0 00af08b1 00790af0 006eef60 -00790af0 007aab70 00790af0 00aef12b -00790af0 00676020 -00790af0 00676150 -00790af0 004cf210 00790af0 0067f170 +00790af0 00676020 +00790af0 004cf210 +00790af0 00676150 +00790af0 006fe410 +00790af0 00677780 +00790af0 007706e0 +00790af0 007bf6c0 +00790af0 007aab70 007910f0 0072fd10 007911f0 007aa7c0 -007911f0 007706e0 007911f0 0072fd10 +007911f0 007706e0 00791320 007911f0 00791380 007aa7c0 00791380 007911f0 -00791420 00791320 -00791420 007910f0 -00791420 00771550 -00791420 00763570 00791420 00791420 +00791420 00771550 +00791420 00791320 +00791420 00763570 +00791420 007910f0 00791530 0072fd10 -007915a0 009a2bc0 007915a0 0075f0e0 -007915a0 007915a0 -007915a0 00791320 007915a0 00af08b1 -007915a0 0078f840 -007915a0 007706e0 007915a0 00771550 -007915a0 006fe410 -007915a0 007ab380 -007915a0 00763570 +007915a0 00791320 007915a0 006eef60 -007915a0 00956780 -007915a0 007910f0 -007915a0 00791530 +007915a0 009a2bc0 007915a0 0092dc30 +007915a0 00763570 +007915a0 007910f0 +007915a0 0078f840 +007915a0 00791530 +007915a0 006fe410 +007915a0 007915a0 +007915a0 007706e0 +007915a0 00956780 +007915a0 007ab380 007919c0 007915a0 -00791a40 009a2bc0 -00791a40 0042c820 -00791a40 00791320 -00791a40 009561e0 -00791a40 0078f840 -00791a40 007706e0 -00791a40 0042c920 -00791a40 006a9ba0 -00791a40 0067f010 -00791a40 0041af60 -00791a40 007ad330 -00791a40 0075e1d0 -00791a40 009302e0 -00791a40 009304a0 -00791a40 00956780 -00791a40 007c3100 -00791a40 0090ac70 -00791a40 00956110 -00791a40 00930550 -00791a40 005c93b0 -00791a40 00428b20 -00791a40 007ab380 -00791a40 007e90f0 -00791a40 007d58f0 -00791a40 00763570 -00791a40 004cdcf0 -00791a40 0040a380 -00791a40 007910f0 -00791a40 009568e0 -00791a40 00930680 -00791a40 00791530 -00791a40 004cf210 -00791a40 006f0040 -00791a40 EXTERNAL:00000220 -00791a40 0075e050 -00791a40 0043eb10 -00791a40 00af08b1 -00791a40 004175b0 -00791a40 006b6470 -00791a40 00771550 -00791a40 009a2d20 -00791a40 009ad210 -00791a40 0072fd10 -00791a40 007cb6e0 -00791a40 00930980 -00791a40 007ac7e0 -00791a40 007cafe0 -00791a40 006eef60 -00791a40 006f8120 00791a40 007aa7c0 -00791a40 00aef15c -00791a40 005b39d0 -00791a40 007cf8f0 -00791a40 007c36b0 -00791a40 006ac710 -00791a40 0043eca0 -00791a40 0075d1d0 -00791a40 004149d0 -00791a40 007c38c0 -00791a40 00505cc0 -00791a40 00945470 -00791a40 0041a790 -00791a40 007915a0 -00791a40 009a2c70 -00791a40 00791380 -00791a40 00417430 -00791a40 007e9020 -00791a40 00753bf0 -00791a40 007db700 -00791a40 007308d0 -00791a40 00aef12b -00791a40 00930220 -00791a40 0072fe30 -00791a40 009305f0 -00791a40 0092dc30 -00791a40 00708350 -00791a40 00732ef0 00791a40 005ca5a0 +00791a40 007d58f0 +00791a40 00417430 +00791a40 00aef12b +00791a40 007c3100 +00791a40 007ad330 +00791a40 009a2c70 +00791a40 0075e1d0 +00791a40 0042c820 +00791a40 007c38c0 +00791a40 0043eb10 +00791a40 007cb6e0 +00791a40 00930550 +00791a40 006b6470 +00791a40 0042c920 +00791a40 00791320 +00791a40 006eef60 +00791a40 0075e050 +00791a40 00930680 +00791a40 009a2bc0 +00791a40 00763570 +00791a40 005b39d0 +00791a40 009ad210 +00791a40 0078f840 +00791a40 007db700 +00791a40 009305f0 +00791a40 009a2d20 +00791a40 007c36b0 +00791a40 009568e0 +00791a40 007e9020 +00791a40 007915a0 +00791a40 0067f010 +00791a40 007ab380 +00791a40 004cdcf0 +00791a40 006a9ba0 +00791a40 007cf8f0 +00791a40 00771550 +00791a40 00956110 +00791a40 006ac710 +00791a40 00930220 +00791a40 EXTERNAL:00000220 +00791a40 00aef15c +00791a40 007910f0 +00791a40 00791380 +00791a40 0041a790 00791a40 00431310 +00791a40 00732ef0 +00791a40 009302e0 +00791a40 004175b0 +00791a40 00428b20 +00791a40 006f0040 +00791a40 0072fd10 +00791a40 007e90f0 +00791a40 007706e0 +00791a40 00708350 +00791a40 00956780 +00791a40 007cafe0 +00791a40 006f8120 +00791a40 009304a0 +00791a40 00af08b1 +00791a40 00505cc0 +00791a40 009561e0 +00791a40 004149d0 +00791a40 0092dc30 +00791a40 0041af60 +00791a40 0043eca0 +00791a40 005c93b0 +00791a40 0075d1d0 +00791a40 004cf210 +00791a40 00945470 +00791a40 00791530 +00791a40 0072fe30 +00791a40 0090ac70 +00791a40 0040a380 +00791a40 00930980 +00791a40 00753bf0 +00791a40 007ac7e0 +00791a40 007308d0 00793940 0072fd10 -00793970 007588a0 -00793970 007eb870 -00793970 004072e0 -00793970 005cb480 -00793970 007706e0 -00793970 0041af60 -00793970 00a648b0 -00793970 006b31b0 -00793970 0041d520 -00793970 007ad330 -00793970 0040a4d0 -00793970 009302e0 -00793970 00956780 -00793970 0040b220 -00793970 00703670 -00793970 007ec0a0 -00793970 00428b20 -00793970 007e90f0 -00793970 00763570 -00793970 00930680 00793970 00407690 -00793970 0075d850 -00793970 004071c0 -00793970 009ad210 -00793970 007ea2d0 +00793970 00aef12b +00793970 005cb480 +00793970 007ad330 +00793970 0040b220 00793970 00770ca0 -00793970 007cafe0 -00793970 007afc20 +00793970 004072e0 +00793970 006a8990 +00793970 00a648b0 +00793970 007588a0 +00793970 007ea2d0 00793970 006eef60 +00793970 0041d540 +00793970 00930680 +00793970 004071c0 +00793970 00763570 +00793970 009ad210 +00793970 0041d520 +00793970 009305f0 +00793970 00435a50 00793970 00af0917 -00793970 00407f10 +00793970 006b31b0 +00793970 007cd950 00793970 00407e90 +00793970 00a112c0 +00793970 007c9ea0 +00793970 009302e0 +00793970 00703670 +00793970 00428b20 +00793970 007ad3a0 +00793970 007e90f0 +00793970 007afc20 +00793970 00407170 +00793970 007706e0 +00793970 00956780 +00793970 007cafe0 +00793970 007eb870 +00793970 0040a1b0 +00793970 007ad4e0 +00793970 0040a5d0 +00793970 0092dc30 +00793970 0075d850 +00793970 007ec0a0 +00793970 0041af60 00793970 0075d1d0 00793970 00813520 -00793970 00a112c0 -00793970 0041d540 -00793970 007ad3a0 -00793970 006a8990 -00793970 00407170 -00793970 0040a5d0 -00793970 007cd950 -00793970 007c9ea0 -00793970 0040a1b0 -00793970 0040b1a0 -00793970 00aef12b -00793970 007ad4e0 +00793970 00407f10 +00793970 0040a4d0 00793970 006b6550 -00793970 009305f0 -00793970 0092dc30 -00793970 00435a50 -00794e50 0042c820 -00794e50 00428cd0 -00794e50 004178e0 -00794e50 0062c8d0 -00794e50 00a10390 -00794e50 00682fe0 -00794e50 004172f0 -00794e50 00417370 -00794e50 00682f20 -00794e50 00aef29d -00794e50 004174a0 -00794e50 00a10030 -00794e50 004361f0 -00794e50 0060d110 -00794e50 00557cd0 -00794e50 0040a380 -00794e50 0042d040 -00794e50 00420af0 -00794e50 005b1570 -00794e50 007c4180 -00794e50 00417380 -00794e50 00730de0 -00794e50 007bf640 -00794e50 00780560 -00794e50 0041d510 -00794e50 00af08b1 -00794e50 004171b0 -00794e50 006b6470 -00794e50 00417920 -00794e50 006ac530 -00794e50 0072fd70 -00794e50 009a2d20 -00794e50 0072fd10 -00794e50 007cb6e0 -00794e50 00505b60 -00794e50 00665b30 -00794e50 00753930 -00794e50 00456340 -00794e50 004360f0 -00794e50 00417290 -00794e50 00758a70 -00794e50 006ac760 -00794e50 00813520 -00794e50 005b17c0 -00794e50 0041a790 -00794e50 00a15640 -00794e50 004aadb0 -00794e50 00707e10 -00794e50 00417430 -00794e50 007ebca0 -00794e50 00447740 -00794e50 004d3050 -00794e50 00a0fed0 -00794e50 0082ee30 -00794e50 004173b0 -00794e50 00676150 -00794e50 009b92c0 -00794e50 00a0ff70 -00794e50 00435ad0 -00794e50 005c96f0 -00794e50 00733610 -00794e50 00929aa0 -00794e50 006ac2a0 -00794e50 00456440 -00794e50 006a9360 -00794e50 007d2170 -00794e50 00665b80 -00794e50 00456490 -00794e50 0067f1d0 -00794e50 007bf3d0 -00794e50 0044bfa0 -00794e50 0040c3a0 -00794e50 00759bf0 -00794e50 00694fb0 -00794e50 006b2f50 -00794e50 00a0ff90 -00794e50 006b62b0 -00794e50 00a10180 -00794e50 004071c0 -00794e50 00436090 -00794e50 0040c200 -00794e50 006a9c10 -00794e50 00a10480 -00794e50 0042d9b0 -00794e50 004071f0 -00794e50 00a105a0 -00794e50 00431530 -00794e50 0040bf20 -00794e50 00421800 -00794e50 007dd3b0 -00794e50 0041cb70 -00794e50 00417260 -00794e50 007d3560 -00794e50 007e2510 -00794e50 009305f0 -00794e50 004361a0 -00794e50 0043eec0 -00794e50 00a102e0 -00794e50 00431620 -00794e50 006dad80 -00794e50 00431310 -00794e50 00791320 -00794e50 00428b50 -00794e50 00435db0 -00794e50 00a648b0 -00794e50 0040a4d0 -00794e50 0040d0e0 -00794e50 009302e0 -00794e50 006a92e0 -00794e50 00417510 -00794e50 0072fda0 -00794e50 00417220 -00794e50 00945190 -00794e50 00505b70 -00794e50 004e47c0 -00794e50 00a10100 -00794e50 00435e50 -00794e50 006a6910 -00794e50 0075abe0 -00794e50 007d3200 -00794e50 007a6300 -00794e50 004aade0 -00794e50 00435a80 -00794e50 00436060 -00794e50 0074ef70 -00794e50 0060d090 -00794e50 004172d0 -00794e50 00435e90 -00794e50 00444c70 -00794e50 00435e60 -00794e50 0042ca00 -00794e50 00435bc0 -00794e50 00a0fe80 -00794e50 0081edf0 -00794e50 00431640 -00794e50 00435e30 -00794e50 007e9080 -00794e50 0075ad50 -00794e50 004177c0 -00794e50 00435c20 -00794e50 0058e240 -00794e50 00757980 -00794e50 007db700 -00794e50 00930220 -00794e50 00420ae0 -00794e50 006a9320 -00794e50 00440ee0 -00794e50 00407280 -00794e50 005b1860 -00794e50 00417480 -00794e50 005b1940 -00794e50 007706e0 -00794e50 00431540 -00794e50 0092e230 -00794e50 006a9ba0 -00794e50 0041af60 -00794e50 004171d0 -00794e50 0067f070 -00794e50 00436080 -00794e50 00440e40 -00794e50 0042f2a0 -00794e50 00435e00 -00794e50 007dd490 -00794e50 007f0780 -00794e50 004e47a0 -00794e50 005cd560 -00794e50 00930550 -00794e50 006b64d0 -00794e50 00930a30 -00794e50 007bf6c0 -00794e50 00431450 -00794e50 00753730 -00794e50 007abb00 -00794e50 009568e0 -00794e50 00930680 -00794e50 00a10600 -00794e50 00813460 -00794e50 00417340 -00794e50 0075d850 -00794e50 0067af30 -00794e50 004238f0 -00794e50 0092a2d0 -00794e50 0042a320 -00794e50 00a104e0 -00794e50 006828b0 -00794e50 00435ed0 -00794e50 0042c810 -00794e50 00a112c0 -00794e50 006ac560 -00794e50 005cbd00 -00794e50 00431750 -00794e50 00930a00 -00794e50 00444c90 -00794e50 007e8f90 -00794e50 0042c850 -00794e50 00435bf0 -00794e50 004f8930 -00794e50 00a10350 -00794e50 00407480 -00794e50 0067efe0 -00794e50 00417820 -00794e50 00753700 -00794e50 00431560 -00794e50 00a100b0 -00794e50 00435cd0 -00794e50 0040c340 -00794e50 00682f50 -00794e50 006add70 -00794e50 00a10630 -00794e50 00435f80 -00794e50 006b66a0 -00794e50 00407270 -00794e50 00675fc0 -00794e50 006a89f0 -00794e50 006ae0a0 -00794e50 00a10660 -00794e50 00703670 -00794e50 00753710 -00794e50 00428b20 -00794e50 007e90f0 -00794e50 006ad870 -00794e50 004563c0 -00794e50 007ca7c0 -00794e50 007537b0 -00794e50 00791530 -00794e50 00440e50 -00794e50 004175b0 -00794e50 006daa90 -00794e50 0040c780 -00794e50 0070c560 -00794e50 0060d040 -00794e50 004173d0 -00794e50 00930980 -00794e50 00424510 -00794e50 007911c0 -00794e50 006eef60 -00794e50 00447720 -00794e50 007c8240 -00794e50 00812c90 -00794e50 00a115c0 -00794e50 006b5b90 -00794e50 0075d1d0 -00794e50 00665c60 -00794e50 00436160 -00794e50 00a10540 -00794e50 007aa850 -00794e50 00407170 -00794e50 00417210 -00794e50 006ad3c0 -00794e50 00436050 -00794e50 00863be0 -00794e50 00aef12b -00794e50 00592230 -00794e50 00930390 -00794e50 005b1720 -00794e50 00930a70 -00794e50 004072e0 -00794e50 00417400 -00794e50 00753a00 -00794e50 00a155c0 -00794e50 0085e360 -00794e50 00417160 -00794e50 00428a60 -00794e50 00417870 -00794e50 00435d60 -00794e50 007db360 -00794e50 007e24c0 -00794e50 00771620 -00794e50 00592200 -00794e50 007bf490 -00794e50 00a10510 -00794e50 004269e0 -00794e50 00428930 -00794e50 00435ef0 -00794e50 007ab380 -00794e50 00435b50 -00794e50 005cd630 -00794e50 00417850 -00794e50 005cd5c0 -00794e50 006a6930 +00793970 0040b1a0 00794e50 007d9360 -00794e50 007c9000 -00794e50 004565e0 -00794e50 00435cf0 -00794e50 00421770 -00794e50 00a0fe90 -00794e50 00435d20 -00794e50 0049cb60 -00794e50 00431260 -00794e50 004178d0 -00794e50 00a10420 +00794e50 00a0ff70 00794e50 007ab110 -00794e50 004176f0 -00794e50 007c7960 -00794e50 00417620 -00794e50 00a105d0 -00794e50 004074b0 -00794e50 007e9020 -00794e50 00676120 -00794e50 0041ab50 -00794e50 0092e560 -00794e50 00734a80 -00794e50 00a10450 -00794e50 007584b0 -00794e50 0075d980 -00794e50 0092dc30 -00794e50 00417910 -00794e50 006832e0 -00794e50 00827b70 -00794e50 007dc740 -00794e50 00652ae0 -00794e50 00753550 -00794e50 0067f010 -00794e50 006ad750 -00794e50 006a8fa0 -00794e50 00813ce0 -00794e50 00417280 -00794e50 0041cb60 -00794e50 009304a0 -00794e50 00a114d0 -00794e50 00435fb0 -00794e50 00435f30 -00794e50 00435df0 -00794e50 0075a3e0 -00794e50 00aef253 -00794e50 009309c0 -00794e50 004f88f0 -00794e50 0096ce90 -00794e50 00763570 -00794e50 00930ae0 -00794e50 00435eb0 -00794e50 006a92a0 -00794e50 0040b200 -00794e50 00753d20 -00794e50 007ea190 -00794e50 004cdcf0 -00794e50 00704360 -00794e50 00730e20 -00794e50 007ad7e0 -00794e50 007d9200 -00794e50 0041cb80 -00794e50 0042a330 -00794e50 007aa7c0 -00794e50 00753740 -00794e50 004aad90 -00794e50 007c38c0 -00794e50 004149d0 -00794e50 007c9c00 -00794e50 0043ee80 -00794e50 00435ce0 -00794e50 00435c70 -00794e50 00417270 -00794e50 004073d0 -00794e50 00683010 -00794e50 007cf940 -00794e50 00428910 -00794e50 004314b0 -00794e50 004cf1d0 -00794e50 00417840 -00794e50 0096f310 -00794e50 004288f0 -00794e50 004aad40 -00794e50 00436200 -00794e50 00703be0 -00794e50 00930640 -00794e50 004073c0 -00794e50 00424530 -00794e50 0075e1d0 -00794e50 00417860 -00794e50 00758590 -00794e50 00444c60 -00794e50 00956780 -00794e50 004173e0 -00794e50 00456830 -00794e50 004361c0 -00794e50 00a0ffc0 -00794e50 00407410 -00794e50 005c93b0 -00794e50 0090b0e0 -00794e50 004aaed0 -00794e50 00417470 -00794e50 006b5b50 -00794e50 004361d0 -00794e50 00771550 -00794e50 006fed60 -00794e50 00929b40 -00794e50 00440e80 -00794e50 00a0ff30 +00794e50 0040c340 +00794e50 00930a30 00794e50 00417350 -00794e50 00420170 -00794e50 00aeff60 -00794e50 006f8120 -00794e50 00435dd0 -00794e50 005b39d0 -00794e50 007d4340 -00794e50 006ac710 -00794e50 0081e9d0 -00794e50 004aadd0 -00794e50 00417320 -00794e50 00429550 -00794e50 00505cc0 -00794e50 004566b0 -00794e50 007915a0 -00794e50 00a0fea0 -00794e50 00417830 +00794e50 006a89f0 +00794e50 00444c90 +00794e50 007ea190 +00794e50 007d3200 +00794e50 0085e360 00794e50 00417170 -00794e50 00428a50 -00794e50 00734900 -00794e50 0049cbf0 +00794e50 007537b0 +00794e50 004563c0 +00794e50 0040b200 +00794e50 00863be0 +00794e50 00444c60 +00794e50 009305f0 +00794e50 004aaed0 +00794e50 007ad7e0 +00794e50 00407280 +00794e50 00592230 +00794e50 007e2510 +00794e50 00428930 +00794e50 009568e0 +00794e50 006ad750 +00794e50 00417260 +00794e50 00436200 +00794e50 005b1940 +00794e50 00771620 +00794e50 00435d20 +00794e50 00a10630 +00794e50 00431310 +00794e50 00431450 +00794e50 0072fda0 +00794e50 0040c3a0 +00794e50 00a0fe90 +00794e50 006fed60 +00794e50 00812c90 +00794e50 007d4340 +00794e50 0043ee80 +00794e50 006daa90 +00794e50 00a10660 +00794e50 00813520 +00794e50 0040a4d0 +00794e50 004073d0 +00794e50 0040a380 +00794e50 007e8f90 +00794e50 0060d090 +00794e50 00417430 +00794e50 00417830 +00794e50 004361f0 +00794e50 00aef12b +00794e50 0041d510 +00794e50 00456490 +00794e50 00435ce0 +00794e50 00505b60 +00794e50 00557cd0 +00794e50 004aadd0 +00794e50 009b92c0 +00794e50 0082ee30 +00794e50 00447740 +00794e50 0040d0e0 +00794e50 00a10180 +00794e50 00aef29d +00794e50 006ac530 +00794e50 00753d20 +00794e50 0041cb60 +00794e50 004aad90 +00794e50 007bf6c0 +00794e50 007e24c0 +00794e50 00435bc0 +00794e50 0042d040 +00794e50 00435e00 +00794e50 0041ab50 +00794e50 007d9200 +00794e50 0072fd10 +00794e50 007c7960 +00794e50 006f8120 +00794e50 0058e240 +00794e50 00a100b0 +00794e50 00456830 +00794e50 006b64d0 +00794e50 006b2f50 +00794e50 00929aa0 +00794e50 0042f2a0 +00794e50 00435e50 +00794e50 00930980 +00794e50 00592200 +00794e50 00733610 +00794e50 00417820 +00794e50 00417290 +00794e50 005cd630 +00794e50 00417920 +00794e50 00734a80 +00794e50 00a10480 +00794e50 00417480 +00794e50 006a9c10 +00794e50 004171d0 +00794e50 006a6930 +00794e50 00431260 +00794e50 00435c20 +00794e50 005b1720 +00794e50 00a0fea0 +00794e50 00652ae0 +00794e50 00431530 +00794e50 00435b50 +00794e50 004e47c0 +00794e50 00a15640 +00794e50 00813ce0 +00794e50 00440e50 +00794e50 007c9000 +00794e50 00780560 +00794e50 006b5b50 +00794e50 00930680 +00794e50 006a92e0 +00794e50 00763570 +00794e50 00753550 +00794e50 0081e9d0 +00794e50 007db700 +00794e50 0040c200 +00794e50 004aadb0 +00794e50 006ae0a0 +00794e50 00435ad0 +00794e50 00417220 +00794e50 00407480 +00794e50 007c8240 +00794e50 00a10100 +00794e50 00431560 +00794e50 005cbd00 +00794e50 0075a3e0 +00794e50 004071f0 +00794e50 00417510 +00794e50 00a10600 +00794e50 00407170 +00794e50 00436090 +00794e50 00417910 +00794e50 00435c70 +00794e50 0044bfa0 +00794e50 00753730 +00794e50 00aef253 +00794e50 00429550 +00794e50 0075d850 +00794e50 006b5b90 +00794e50 004173e0 +00794e50 004074b0 +00794e50 004171b0 +00794e50 007aa7c0 +00794e50 00682f50 +00794e50 00417860 +00794e50 007ca7c0 +00794e50 00435f80 +00794e50 005cd5c0 +00794e50 0040c780 +00794e50 00435eb0 +00794e50 0062c8d0 +00794e50 0042c820 +00794e50 007dd3b0 +00794e50 0067af30 +00794e50 004288f0 +00794e50 0042c850 +00794e50 00791320 +00794e50 007bf490 +00794e50 005b17c0 +00794e50 007a6300 +00794e50 00456340 +00794e50 00665b30 +00794e50 00447720 +00794e50 00730e20 +00794e50 006a92a0 00794e50 006dacd0 -00794e50 0078b350 -00794e50 00435d90 +00794e50 006b66a0 +00794e50 00753930 +00794e50 00a112c0 +00794e50 00444c70 +00794e50 004f88f0 +00794e50 00703670 +00794e50 004175b0 +00794e50 004174a0 +00794e50 004178e0 +00794e50 00431750 +00794e50 00956780 +00794e50 0042a330 +00794e50 00505cc0 +00794e50 004149d0 +00794e50 0041af60 +00794e50 0042ca00 +00794e50 004565e0 +00794e50 00a0ffc0 +00794e50 00431540 +00794e50 0075d980 +00794e50 0042c810 +00794e50 004177c0 +00794e50 00440e40 +00794e50 004360f0 +00794e50 00417870 +00794e50 0075e1d0 +00794e50 004176f0 +00794e50 00435ef0 +00794e50 007cb6e0 +00794e50 00a10450 +00794e50 00930550 +00794e50 0067f070 +00794e50 006832e0 +00794e50 00431640 +00794e50 006b6470 +00794e50 00435a80 +00794e50 00435e30 +00794e50 007d2170 +00794e50 0075ad50 +00794e50 00417400 +00794e50 005c96f0 +00794e50 004361a0 +00794e50 009a2d20 +00794e50 00417470 +00794e50 0067efe0 +00794e50 0041cb80 +00794e50 0075abe0 +00794e50 00435dd0 +00794e50 0090b0e0 +00794e50 007ab380 +00794e50 00753700 +00794e50 00734900 +00794e50 00930220 +00794e50 00929b40 +00794e50 007c4180 +00794e50 007db360 +00794e50 00421800 +00794e50 00676120 +00794e50 0072fd70 +00794e50 00a10390 +00794e50 00435bf0 +00794e50 004566b0 +00794e50 006a8fa0 +00794e50 007abb00 +00794e50 00420af0 +00794e50 00665b80 +00794e50 00a0fed0 +00794e50 00791530 +00794e50 005cd560 +00794e50 00a155c0 +00794e50 00683010 +00794e50 00930a70 +00794e50 00428cd0 +00794e50 006ac2a0 +00794e50 006ad870 +00794e50 00a648b0 +00794e50 004d3050 +00794e50 0049cb60 00794e50 00435de0 -0079f3c0 008646e0 -0079f3c0 00af08b1 -0079f3c0 007706e0 -0079f3c0 00418500 -0079f3c0 009e24a0 -0079f3c0 006eef60 -0079f3c0 00714610 -0079f3c0 00956780 -0079f3c0 00733ca0 -0079f3c0 00734180 -0079f3c0 00865340 -0079f3c0 007079c0 -0079f3c0 00a112c0 -0079f3c0 00734900 -0079f3c0 007078f0 +00794e50 007c38c0 +00794e50 0081edf0 +00794e50 006ac560 +00794e50 00a0ff30 +00794e50 00424510 +00794e50 0070c560 +00794e50 00aeff60 +00794e50 00435e90 +00794e50 004aade0 +00794e50 00420170 +00794e50 00424530 +00794e50 00753710 +00794e50 004172f0 +00794e50 007e9020 +00794e50 00930ae0 +00794e50 00435f30 +00794e50 004172d0 +00794e50 006a9ba0 +00794e50 00771550 +00794e50 00435d90 +00794e50 00431620 +00794e50 006ac710 +00794e50 0096ce90 +00794e50 00428a50 +00794e50 004361c0 +00794e50 00757980 +00794e50 00417620 +00794e50 00a115c0 +00794e50 00675fc0 +00794e50 00428b20 +00794e50 0092a2d0 +00794e50 005b1570 +00794e50 007706e0 +00794e50 004173d0 +00794e50 00a114d0 +00794e50 007bf3d0 +00794e50 00af08b1 +00794e50 007bf640 +00794e50 00a104e0 +00794e50 0075d1d0 +00794e50 005c93b0 +00794e50 006828b0 +00794e50 00758a70 +00794e50 00436060 +00794e50 00407270 +00794e50 00435cd0 +00794e50 00407410 +00794e50 009309c0 +00794e50 004073c0 +00794e50 00a102e0 +00794e50 00417370 +00794e50 0092e560 +00794e50 00417840 +00794e50 007dc740 +00794e50 00a105d0 +00794e50 004072e0 +00794e50 007584b0 +00794e50 004f8930 +00794e50 0078b350 +00794e50 00505b70 +00794e50 004e47a0 +00794e50 004071c0 +00794e50 005b39d0 +00794e50 00759bf0 +00794e50 004cf1d0 +00794e50 00428b50 +00794e50 00a105a0 +00794e50 00a10540 +00794e50 00435db0 +00794e50 007915a0 +00794e50 00930640 +00794e50 006a6910 +00794e50 007aa850 +00794e50 00753740 +00794e50 00417270 +00794e50 00827b70 +00794e50 00417160 +00794e50 007cf940 +00794e50 004269e0 +00794e50 00421770 +00794e50 0092e230 +00794e50 00a10030 +00794e50 00930390 +00794e50 00436160 +00794e50 0074ef70 +00794e50 007dd490 +00794e50 00758590 +00794e50 00704360 +00794e50 009304a0 +00794e50 007c9c00 +00794e50 00945190 +00794e50 00428a60 +00794e50 00435df0 +00794e50 00417850 +00794e50 006add70 +00794e50 0096f310 +00794e50 006ad3c0 +00794e50 0041cb70 +00794e50 0049cbf0 +00794e50 00456440 +00794e50 0042d9b0 +00794e50 007e9080 +00794e50 00440ee0 +00794e50 00694fb0 +00794e50 00682fe0 +00794e50 00a10350 +00794e50 00435fb0 +00794e50 00a0ff90 +00794e50 00753a00 +00794e50 00813460 +00794e50 0042a320 +00794e50 006eef60 +00794e50 0067f1d0 +00794e50 00436080 +00794e50 00440e80 +00794e50 00665c60 +00794e50 007ebca0 +00794e50 004178d0 +00794e50 0060d040 +00794e50 00436050 +00794e50 0067f010 +00794e50 0040bf20 +00794e50 004cdcf0 +00794e50 00417280 +00794e50 0060d110 +00794e50 006b62b0 +00794e50 005b1860 +00794e50 00417320 +00794e50 004238f0 +00794e50 0043eec0 +00794e50 0041a790 +00794e50 007911c0 +00794e50 007f0780 +00794e50 00a10510 +00794e50 007d3560 +00794e50 009302e0 +00794e50 00435ed0 +00794e50 004173b0 +00794e50 00682f20 +00794e50 00435e60 +00794e50 006ac760 +00794e50 004314b0 +00794e50 00435cf0 +00794e50 00417380 +00794e50 007e90f0 +00794e50 006a9360 +00794e50 00417340 +00794e50 004361d0 +00794e50 00417210 +00794e50 00435d60 +00794e50 0092dc30 +00794e50 00420ae0 +00794e50 004aad40 +00794e50 00730de0 +00794e50 00930a00 +00794e50 00428910 +00794e50 006dad80 +00794e50 00a10420 +00794e50 00676150 +00794e50 00703be0 +00794e50 00a0fe80 +00794e50 00707e10 +00794e50 006a9320 +0079f3c0 009e0680 0079f3c0 00734a80 +0079f3c0 00734900 +0079f3c0 00aef12b +0079f3c0 008646e0 +0079f3c0 00a112c0 +0079f3c0 004288a0 +0079f3c0 00714610 +0079f3c0 006f0090 +0079f3c0 007079c0 +0079f3c0 007706e0 +0079f3c0 00956780 0079f3c0 00a68490 0079f3c0 004cf3c0 -0079f3c0 00aef12b -0079f3c0 006f0090 -0079f3c0 004288a0 +0079f3c0 007078f0 +0079f3c0 00af08b1 +0079f3c0 006eef60 +0079f3c0 00733ca0 0079f3c0 0092dc30 -0079f3c0 004cf210 +0079f3c0 009e24a0 +0079f3c0 00418500 0079f3c0 00435a50 -0079f3c0 009e0680 -007a0080 00af08b1 -007a0080 00930640 -007a0080 007706e0 +0079f3c0 004cf210 +0079f3c0 00734180 +0079f3c0 00865340 +007a0080 009e0680 007a0080 0092acb0 -007a0080 006fe410 -007a0080 00a648b0 -007a0080 007cb6e0 -007a0080 00930980 -007a0080 006eef60 -007a0080 00956780 -007a0080 00758a70 -007a0080 00417870 -007a0080 0075d1d0 -007a0080 00aefca0 -007a0080 009e5c00 -007a0080 007915a0 +007a0080 00930220 007a0080 0041a790 007a0080 006fd350 -007a0080 007e9020 +007a0080 00aefca0 +007a0080 00a648b0 +007a0080 009e5c00 +007a0080 00417870 007a0080 007d3350 +007a0080 007706e0 007a0080 00930330 -007a0080 00930220 -007a0080 009305f0 +007a0080 007cb6e0 +007a0080 00956780 +007a0080 00af08b1 +007a0080 006eef60 007a0080 0092dc30 -007a0080 004cf210 +007a0080 0075d1d0 +007a0080 009305f0 007a0080 00435a50 -007a0080 009e0680 +007a0080 004cf210 +007a0080 006fe410 +007a0080 007e9020 +007a0080 00930980 +007a0080 00758a70 +007a0080 007915a0 +007a0080 00930640 007a0970 004cdcf0 -007a0970 006eef60 -007a0970 00af08b1 -007a0970 00780ec0 -007a0970 00aef12b -007a0970 007706e0 -007a0970 006fe410 -007a0970 00499d60 -007a0970 007cb6e0 007a0970 004cf210 +007a0970 00af08b1 +007a0970 006eef60 +007a0970 00780ec0 +007a0970 006fe410 +007a0970 00aef12b +007a0970 00499d60 +007a0970 007706e0 +007a0970 007cb6e0 007a0970 007bf6c0 -007a0f50 00aef12b 007a0f50 009f5f40 +007a0f50 00aef12b 007a0fe0 007706e0 007a1020 007cb6e0 -007a1090 007caad0 -007a1090 009bf990 -007a1090 0078f840 -007a1090 007a2220 -007a1090 007706e0 -007a1090 0042c920 -007a1090 00771550 -007a1090 007a23a0 007a1090 009bc120 -007a1090 006fe410 -007a1090 006b31b0 -007a1090 007cb6e0 -007a1090 007cafe0 -007a1090 006eef60 -007a1090 00956780 -007a1090 007a1020 -007a1090 007a3430 -007a1090 009bfa00 -007a1090 007cba30 -007a1090 00aef29d -007a1090 00aef253 -007a1090 005b17c0 -007a1090 00a112c0 -007a1090 00aef5af -007a1090 00930550 -007a1090 009303f0 -007a1090 007bebb0 -007a1090 007ad440 -007a1090 007d96f0 +007a1090 00771550 007a1090 007ca2d0 -007a1090 00763570 -007a1090 007ca840 +007a1090 007cbcd0 +007a1090 00aef12b +007a1090 009303f0 +007a1090 00a112c0 007a1090 00771f60 007a1090 007a0fe0 -007a1090 00407170 -007a1090 007e9020 -007a1090 007bb5e0 -007a1090 00929a20 -007a1090 007c9ea0 -007a1090 00aef12b -007a1090 009ba000 -007a1090 009305f0 -007a1090 00930680 -007a1090 0092dc30 007a1090 00638e30 -007a1090 007cf610 +007a1090 007c9ea0 +007a1090 007bebb0 +007a1090 00aef5af +007a1090 007ad440 +007a1090 007ca840 +007a1090 007bb5e0 +007a1090 00407170 +007a1090 007706e0 007a1090 009304f0 -007a1090 007cbcd0 -007a2220 009bc280 -007a2220 007cae60 +007a1090 007cb6e0 +007a1090 00956780 +007a1090 00930550 +007a1090 007cafe0 +007a1090 007cf610 +007a1090 0042c920 +007a1090 006eef60 +007a1090 005b17c0 +007a1090 00930680 +007a1090 007caad0 +007a1090 009ba000 +007a1090 0092dc30 +007a1090 00763570 +007a1090 00aef253 +007a1090 009bf990 +007a1090 007a23a0 +007a1090 007a3430 +007a1090 0078f840 +007a1090 009305f0 +007a1090 007a2220 +007a1090 00aef29d +007a1090 009bfa00 +007a1090 007d96f0 +007a1090 006fe410 +007a1090 007cba30 +007a1090 007a1020 +007a1090 007e9020 +007a1090 00929a20 +007a1090 006b31b0 007a2220 0040b220 -007a2220 00763570 -007a2220 007abe20 007a2220 004cf210 -007a23a0 00af08b1 -007a23a0 007a2220 -007a23a0 007c3620 -007a23a0 007706e0 -007a23a0 007a23a0 -007a23a0 006fed60 -007a23a0 006b31b0 -007a23a0 0072fd10 -007a23a0 007cafe0 -007a23a0 006eef60 -007a23a0 006b66c0 -007a23a0 009302e0 -007a23a0 007791f0 -007a23a0 00956780 -007a23a0 0075d1d0 -007a23a0 00a112c0 -007a23a0 00703670 -007a23a0 007bebb0 -007a23a0 007ab380 -007a23a0 00428b20 +007a2220 007abe20 +007a2220 007cae60 +007a2220 009bc280 +007a2220 00763570 007a23a0 007ca2d0 -007a23a0 00763570 -007a23a0 007ca840 -007a23a0 00407170 -007a23a0 007592a0 007a23a0 0072ff10 +007a23a0 00930220 +007a23a0 00aef12b +007a23a0 00a112c0 +007a23a0 007c3620 +007a23a0 007bebb0 007a23a0 007c9ea0 007a23a0 006fd7c0 -007a23a0 0069bd10 -007a23a0 00aef12b -007a23a0 00930220 -007a23a0 006b6550 +007a23a0 009302e0 007a23a0 00758f90 +007a23a0 007ca840 +007a23a0 00703670 +007a23a0 00428b20 +007a23a0 0072fd10 +007a23a0 00407170 +007a23a0 007706e0 +007a23a0 00956780 +007a23a0 007cafe0 +007a23a0 007791f0 +007a23a0 006fed60 +007a23a0 00af08b1 +007a23a0 006eef60 +007a23a0 00763570 007a23a0 0092dc30 -007a3430 00a112c0 -007a3430 0072ff10 -007a3430 007c9ea0 -007a3430 007ab550 +007a23a0 007a23a0 +007a23a0 0075d1d0 +007a23a0 0069bd10 +007a23a0 007a2220 +007a23a0 006b6550 +007a23a0 007592a0 +007a23a0 007ab380 +007a23a0 006b66c0 +007a23a0 006b31b0 007a3430 006fd7c0 007a3430 007a2220 -007a3430 00aef12b -007a3430 007c3620 -007a3430 007bebb0 007a3430 007ca2d0 -007a3430 007ab380 +007a3430 007ab550 +007a3430 0072ff10 +007a3430 00aef12b +007a3430 00a112c0 +007a3430 007c3620 007a3430 00763570 -007a37c0 007de4e0 -007a37c0 00721c80 +007a3430 007c9ea0 +007a3430 007bebb0 +007a3430 007ab380 007a37c0 00753390 -007a37c0 009ba000 -007a37c0 0075d1d0 007a37c0 004cf210 +007a37c0 00721c80 007a37c0 009306c0 -007a3af0 007a48f0 +007a37c0 009ba000 +007a37c0 007de4e0 +007a37c0 0075d1d0 007a3af0 007ad440 +007a3af0 007a48f0 007a3af0 008271e0 007a3c10 007a3af0 007a3c30 007a3af0 007a3cb0 008271e0 007a3cf0 008271e0 -007a3d30 006f0040 -007a3d30 00791a40 -007a3d30 00705ee0 -007a3d30 00a112c0 -007a3d30 00753bf0 -007a3d30 007db700 -007a3d30 009561e0 007a3d30 0040a4d0 007a3d30 0090ac70 007a3d30 00956110 -007a42b0 00703670 -007a42b0 007a48f0 -007a42b0 009561e0 -007a42b0 007706e0 -007a42b0 007ad440 -007a42b0 009a8970 -007a42b0 007db860 +007a3d30 009561e0 +007a3d30 006f0040 +007a3d30 00a112c0 +007a3d30 00791a40 +007a3d30 00753bf0 +007a3d30 00705ee0 +007a3d30 007db700 007a42b0 00771800 -007a42b0 007db700 -007a42b0 00956780 -007a42b0 007584b0 -007a42b0 007a4760 -007a42b0 0092dc30 -007a42b0 00813520 -007a42b0 007cc200 +007a42b0 007db860 007a42b0 00956110 -007a4760 007c36b0 +007a42b0 009561e0 +007a42b0 0092dc30 +007a42b0 007a4760 +007a42b0 007db700 +007a42b0 00813520 +007a42b0 007ad440 +007a42b0 00703670 +007a42b0 007584b0 +007a42b0 007cc200 +007a42b0 007a48f0 +007a42b0 007706e0 +007a42b0 009a8970 +007a42b0 00956780 007a4760 00771550 +007a4760 007c36b0 007a4760 00763570 007a4850 008271e0 007a48f0 006eef60 007a48f0 00428b20 007a48f0 008271e0 007a49e0 006eef60 -007a49e0 00456240 +007a49e0 006fe410 007a49e0 00aef12b 007a49e0 007706e0 -007a49e0 006fe410 -007a4ba0 007588a0 -007a4ba0 0078f840 -007a4ba0 007706e0 -007a4ba0 0074bac0 -007a4ba0 007488d0 -007a4ba0 0041af60 -007a4ba0 006f95a0 -007a4ba0 00956780 -007a4ba0 007cae60 -007a4ba0 0074f090 -007a4ba0 007daff0 -007a4ba0 007a49e0 -007a4ba0 00930550 -007a4ba0 005c93b0 -007a4ba0 009303f0 -007a4ba0 00428b20 -007a4ba0 0062b360 -007a4ba0 00763570 +007a49e0 00456240 007a4ba0 00758c20 007a4ba0 00758d00 -007a4ba0 007e7820 -007a4ba0 009bc690 -007a4ba0 00748a70 -007a4ba0 00813460 -007a4ba0 0075d850 -007a4ba0 EXTERNAL:00000220 -007a4ba0 00af08b1 -007a4ba0 00771550 -007a4ba0 00748860 -007a4ba0 009ad210 -007a4ba0 007cb6e0 -007a4ba0 00748940 -007a4ba0 007cafe0 -007a4ba0 006eef60 -007a4ba0 0098db50 -007a4ba0 009a2c00 -007a4ba0 00aef15c -007a4ba0 004360f0 -007a4ba0 005b39d0 -007a4ba0 006f9400 -007a4ba0 00758a70 -007a4ba0 007bf040 -007a4ba0 00407f10 -007a4ba0 00813520 -007a4ba0 00a112c0 -007a4ba0 00aefca0 -007a4ba0 007915a0 -007a4ba0 007911f0 -007a4ba0 007c2e90 -007a4ba0 007ca840 -007a4ba0 0040a5d0 007a4ba0 00408830 -007a4ba0 0040a1b0 007a4ba0 00aef12b -007a4ba0 00930220 -007a4ba0 EXTERNAL:00000262 -007a4ba0 0092dc30 +007a4ba0 007c2e90 +007a4ba0 00aefca0 +007a4ba0 007ca840 +007a4ba0 0074bac0 +007a4ba0 004360f0 +007a4ba0 00813460 +007a4ba0 007588a0 +007a4ba0 007cb6e0 +007a4ba0 00930550 +007a4ba0 007911f0 +007a4ba0 0098db50 +007a4ba0 006eef60 +007a4ba0 00748860 +007a4ba0 00748a70 +007a4ba0 00763570 +007a4ba0 005b39d0 +007a4ba0 009ad210 +007a4ba0 007bf040 +007a4ba0 009a2c00 +007a4ba0 0078f840 +007a4ba0 009bc690 +007a4ba0 007daff0 +007a4ba0 007915a0 007a4ba0 007abe20 +007a4ba0 00771550 +007a4ba0 007e7820 +007a4ba0 00930220 +007a4ba0 009303f0 +007a4ba0 00a112c0 +007a4ba0 00aef15c +007a4ba0 EXTERNAL:00000220 +007a4ba0 00428b20 +007a4ba0 007706e0 +007a4ba0 00956780 +007a4ba0 007cafe0 +007a4ba0 0074f090 007a4ba0 00791420 +007a4ba0 00af08b1 +007a4ba0 0040a1b0 +007a4ba0 007cae60 +007a4ba0 0040a5d0 +007a4ba0 007488d0 +007a4ba0 0092dc30 +007a4ba0 0062b360 +007a4ba0 0075d850 +007a4ba0 006f9400 +007a4ba0 0041af60 +007a4ba0 005c93b0 +007a4ba0 00813520 +007a4ba0 00407f10 +007a4ba0 00748940 +007a4ba0 006f95a0 007a4ba0 007ce6e0 -007a6300 006eef60 -007a6300 007c9350 -007a6300 007706e0 +007a4ba0 007a49e0 +007a4ba0 EXTERNAL:00000262 +007a4ba0 00758a70 007a6300 007c9130 +007a6300 007c9350 +007a6300 006eef60 +007a6300 007706e0 007a6450 00a112c0 -007a6680 0075d850 007a6680 00839380 -007a6680 00930550 -007a6680 007706e0 +007a6680 004b39b0 007a6680 009303f0 +007a6680 009ba000 +007a6680 0075d850 +007a6680 007907a0 +007a6680 00407f10 +007a6680 009305f0 +007a6680 007c36b0 +007a6680 00748ae0 007a6680 0072fd10 007a6680 0075e1d0 007a6680 00930980 -007a6680 00748ae0 -007a6680 007907a0 +007a6680 007706e0 007a6680 007dce00 -007a6680 009ba000 -007a6680 007c36b0 -007a6680 009305f0 -007a6680 00407f10 -007a6680 004b39b0 +007a6680 00930550 +007a6c50 007c3a60 +007a6c50 0081e930 +007a6c50 00aef12b +007a6c50 00710480 +007a6c50 007d3e40 +007a6c50 006ad870 +007a6c50 00a648b0 +007a6c50 007ea2d0 +007a6c50 007cb6e0 +007a6c50 007599d0 +007a6c50 00694d20 007a6c50 0075f0e0 007a6c50 009586f0 -007a6c50 007706e0 007a6c50 0042c920 -007a6c50 00408e00 -007a6c50 00420a80 -007a6c50 0041af60 -007a6c50 0041d520 -007a6c50 00a648b0 -007a6c50 00436220 -007a6c50 007599d0 -007a6c50 007c3a60 -007a6c50 007d3e40 -007a6c50 00956780 -007a6c50 009960b0 -007a6c50 007d83f0 -007a6c50 007a49e0 -007a6c50 005c93b0 -007a6c50 00428b20 -007a6c50 006ad870 -007a6c50 00763570 -007a6c50 009a3590 -007a6c50 004cdcf0 -007a6c50 007d1620 -007a6c50 0040bcd0 -007a6c50 007cbef0 -007a6c50 004cf210 -007a6c50 EXTERNAL:00000220 -007a6c50 007f9960 -007a6c50 00af08b1 -007a6c50 00694d20 -007a6c50 00771550 -007a6c50 007dbeb0 -007a6c50 007ea2d0 -007a6c50 0072fd10 -007a6c50 007cb6e0 007a6c50 006eef60 -007a6c50 00aef15c -007a6c50 007c8830 -007a6c50 00758a70 -007a6c50 00710480 -007a6c50 00710dd0 -007a6c50 0081e930 -007a6c50 00a112c0 007a6c50 0041d540 -007a6c50 007d8980 -007a6c50 00416440 -007a6c50 0040a5d0 -007a6c50 007e9020 -007a6c50 00740bc0 -007a6c50 009a8970 -007a6c50 00aef12b -007a6c50 00930220 +007a6c50 00763570 +007a6c50 0041d520 007a6c50 009305f0 -007a6c50 0092dc30 +007a6c50 007e9020 +007a6c50 00416440 +007a6c50 00710dd0 +007a6c50 007dbeb0 +007a6c50 004cdcf0 +007a6c50 007d83f0 +007a6c50 007cbef0 +007a6c50 0040bcd0 +007a6c50 00771550 +007a6c50 007c8830 +007a6c50 00930220 +007a6c50 00a112c0 +007a6c50 00aef15c +007a6c50 EXTERNAL:00000220 +007a6c50 009a3590 007a6c50 00431310 -007a8350 0075d850 -007a8350 007d41d0 -007a8350 007dbc80 -007a8350 007dbd70 -007a8350 007706e0 +007a6c50 009960b0 +007a6c50 00428b20 +007a6c50 0072fd10 +007a6c50 007706e0 +007a6c50 007d8980 +007a6c50 009a8970 +007a6c50 00956780 +007a6c50 007d1620 +007a6c50 00af08b1 +007a6c50 0040a5d0 +007a6c50 0092dc30 +007a6c50 0041af60 +007a6c50 005c93b0 +007a6c50 007f9960 +007a6c50 004cf210 +007a6c50 00740bc0 +007a6c50 00408e00 +007a6c50 00436220 +007a6c50 007a49e0 +007a6c50 00420a80 +007a6c50 00758a70 007a8350 00771550 -007a8350 007ad330 -007a8350 0072fd10 -007a8350 007cb6e0 -007a8350 007dbba0 -007a8350 00930980 -007a8350 006eef60 -007a8350 009302e0 -007a8350 00956780 -007a8350 0075d1d0 -007a8350 007db360 -007a8350 007c7c60 -007a8350 00a112c0 -007a8350 007c7960 -007a8350 009303f0 -007a8350 007ab380 -007a8350 006dacd0 -007a8350 007e9020 -007a8350 00740bc0 -007a8350 0040a380 -007a8350 00aef12b 007a8350 00930220 -007a8350 009305f0 +007a8350 00aef12b +007a8350 009303f0 +007a8350 00a112c0 +007a8350 007d41d0 +007a8350 007ad330 +007a8350 007db360 +007a8350 009302e0 +007a8350 0072fd10 +007a8350 007c7960 +007a8350 007706e0 +007a8350 007cb6e0 +007a8350 007c7c60 +007a8350 00956780 +007a8350 007dbba0 +007a8350 006eef60 007a8350 0092dc30 -007a8fd0 0075d850 +007a8350 0075d850 +007a8350 0075d1d0 +007a8350 009305f0 +007a8350 00740bc0 +007a8350 007dbd70 +007a8350 007dbc80 +007a8350 0040a380 +007a8350 007e9020 +007a8350 00930980 +007a8350 006dacd0 +007a8350 007ab380 +007a8fd0 009e0680 +007a8fd0 0049cbf0 +007a8fd0 00771550 +007a8fd0 00930220 +007a8fd0 004a11c0 +007a8fd0 004b39b0 +007a8fd0 00aef12b +007a8fd0 009303f0 +007a8fd0 00a112c0 +007a8fd0 00aef15c 007a8fd0 EXTERNAL:00000220 007a8fd0 007bf5f0 -007a8fd0 00af08b1 -007a8fd0 0043eb10 -007a8fd0 007706e0 -007a8fd0 00771550 -007a8fd0 0062aab0 -007a8fd0 0041af60 -007a8fd0 0041d520 -007a8fd0 007cb6e0 -007a8fd0 00436220 -007a8fd0 006eef60 -007a8fd0 007599d0 -007a8fd0 00aef15c -007a8fd0 00956780 -007a8fd0 005b39d0 -007a8fd0 00758a70 -007a8fd0 0075d1d0 -007a8fd0 007c38c0 -007a8fd0 004b39b0 -007a8fd0 00a112c0 -007a8fd0 007915a0 007a8fd0 007a8fd0 +007a8fd0 00639000 +007a8fd0 006ad870 +007a8fd0 00428b20 +007a8fd0 007d35b0 +007a8fd0 007706e0 +007a8fd0 007c38c0 +007a8fd0 007cb6e0 +007a8fd0 0043eb10 +007a8fd0 00956780 +007a8fd0 007599d0 +007a8fd0 00930550 +007a8fd0 0062aab0 +007a8fd0 007911f0 +007a8fd0 0074d010 +007a8fd0 00af08b1 +007a8fd0 006eef60 007a8fd0 0041d540 007a8fd0 00428590 -007a8fd0 00930550 -007a8fd0 00759bf0 -007a8fd0 005c93b0 -007a8fd0 0049cbf0 -007a8fd0 009303f0 -007a8fd0 007911f0 -007a8fd0 00428b20 -007a8fd0 004a11c0 -007a8fd0 006ad870 -007a8fd0 0074d010 -007a8fd0 00639000 -007a8fd0 00703330 -007a8fd0 00aef12b -007a8fd0 00930220 -007a8fd0 007d35b0 -007a8fd0 00791530 007a8fd0 0092dc30 -007a8fd0 EXTERNAL:00000262 +007a8fd0 0075d850 +007a8fd0 005b39d0 +007a8fd0 0041af60 +007a8fd0 00759bf0 +007a8fd0 0041d520 +007a8fd0 00703330 +007a8fd0 0075d1d0 007a8fd0 0074cd70 -007a8fd0 009e0680 +007a8fd0 005c93b0 +007a8fd0 00791530 +007a8fd0 00436220 +007a8fd0 EXTERNAL:00000262 +007a8fd0 007915a0 +007a8fd0 00758a70 007aa800 0072fd10 +007aa850 00aef12b +007aa850 0075af10 007aa850 EXTERNAL:00000220 007aa850 00aef15c -007aa850 0075af10 -007aa850 00aef12b 007aa850 007706e0 007aa850 00782630 -007aab70 006eef60 -007aab70 00aef12b -007aab70 0097fc10 -007aab70 00499d60 007aab70 007aa850 +007aab70 0097fc10 +007aab70 006eef60 007aab70 0096f310 +007aab70 00aef12b +007aab70 00499d60 007aab70 007bf6c0 -007aaea0 007706e0 007aaea0 009305f0 007aaea0 00435a50 -007ab130 EXTERNAL:00000220 -007ab130 0040b430 -007ab130 0040cf50 -007ab130 00aef15c +007aaea0 007706e0 +007ab130 00557bd0 007ab130 007abe90 -007ab130 00407ae0 -007ab130 0040d040 -007ab130 00aef12b 007ab130 00407690 007ab130 00407f10 -007ab130 00557bd0 +007ab130 0040d040 007ab130 004087a0 -007ab380 0040c550 -007ab380 0040bd50 -007ab380 0040c000 -007ab380 0040bf30 -007ab380 00416440 -007ab380 0072fd10 -007ab380 0040a5d0 -007ab380 00694fb0 -007ab380 0040a1b0 +007ab130 0040cf50 +007ab130 00aef12b +007ab130 EXTERNAL:00000220 +007ab130 00aef15c +007ab130 00407ae0 +007ab130 0040b430 007ab380 007abe90 -007ab380 0040b220 -007ab380 00407f10 +007ab380 0040a1b0 +007ab380 00694fb0 +007ab380 0040a5d0 007ab380 00408640 -007ab550 0040bd50 -007ab550 0040c000 -007ab550 0040a1b0 -007ab550 007abe90 -007ab550 0040bf30 -007ab550 00416440 +007ab380 00407f10 +007ab380 0040bd50 +007ab380 0040b220 +007ab380 0040c000 +007ab380 0072fd10 +007ab380 00416440 +007ab380 0040bf30 +007ab380 0040c550 007ab550 00407f10 -007ab550 0040a5d0 +007ab550 007abe90 +007ab550 0040bd50 +007ab550 0040a1b0 +007ab550 0040c000 007ab550 00694fb0 -007ab6b0 EXTERNAL:00000220 -007ab6b0 0040bd50 -007ab6b0 0040a220 -007ab6b0 00408e00 -007ab6b0 0040a5d0 -007ab6b0 00694fb0 -007ab6b0 0040a380 -007ab6b0 0040cf50 -007ab6b0 00aef15c -007ab6b0 0040a1b0 +007ab550 00416440 +007ab550 0040a5d0 +007ab550 0040bf30 007ab6b0 007abe90 +007ab6b0 0040a1b0 007ab6b0 00aef12b +007ab6b0 00694fb0 +007ab6b0 EXTERNAL:00000220 +007ab6b0 00aef15c +007ab6b0 0040a5d0 007ab6b0 00407f10 -007ab6b0 0040aaf0 +007ab6b0 0040bd50 007ab6b0 0040cf00 -007abb00 0040bd50 -007abb00 0040a1b0 -007abb00 007abe90 -007abb00 00408e00 +007ab6b0 00408e00 +007ab6b0 0040cf50 +007ab6b0 0040a220 +007ab6b0 0040a380 +007ab6b0 0040aaf0 007abb00 00407f10 -007abb00 0040a5d0 +007abb00 007abe90 +007abb00 0040bd50 +007abb00 00408e00 +007abb00 0040a1b0 007abb00 00694fb0 007abb00 0040aaf0 +007abb00 0040a5d0 007abc00 007abe20 007abc10 007abe20 007abc20 009305f0 007abc20 007abe20 007abc90 007abe20 007abcb0 007abe20 -007abcc0 00956780 -007abcc0 0092dc30 007abcc0 007abe20 -007abd30 00956780 -007abd30 0092dc30 +007abcc0 0092dc30 +007abcc0 00956780 007abd30 007abe20 -007abd90 00956780 -007abd90 0092dc30 +007abd30 0092dc30 +007abd30 00956780 007abd90 007abe20 -007abdf0 007abd30 +007abd90 0092dc30 +007abd90 00956780 007abdf0 00763570 -007abe20 0040a1b0 +007abdf0 007abd30 007abe20 00407f10 -007abe20 0040a5d0 007abe20 00408830 -007abe90 00407ae0 -007abe90 0040a1b0 -007abe90 0040d040 +007abe20 0040a1b0 +007abe20 0040a5d0 007abe90 00407690 007abe90 00407f10 -007abe90 0040a5d0 +007abe90 0040d040 007abe90 004087a0 -007abf80 0075f0e0 -007abf80 EXTERNAL:00000220 -007abf80 00930640 -007abf80 0078f840 -007abf80 007706e0 +007abe90 0040a1b0 +007abe90 0040a5d0 +007abe90 00407ae0 +007abf80 0049cbf0 +007abf80 005c9930 +007abf80 007cf8f0 007abf80 00771550 +007abf80 004a11c0 +007abf80 00790530 +007abf80 00a112c0 +007abf80 00aef15c +007abf80 EXTERNAL:00000220 +007abf80 009dcc70 +007abf80 007e90f0 007abf80 0072fd10 +007abf80 007706e0 +007abf80 00930330 007abf80 007cb6e0 007abf80 007300d0 -007abf80 00aef15c -007abf80 005b39d0 -007abf80 007cf8f0 -007abf80 009dcc70 -007abf80 00a112c0 -007abf80 007915a0 -007abf80 005ca470 -007abf80 0049cbf0 -007abf80 007ab380 -007abf80 007e90f0 -007abf80 004a11c0 +007abf80 0075f0e0 007abf80 007911f0 -007abf80 007e9020 -007abf80 00790530 -007abf80 00930330 +007abf80 005b39d0 +007abf80 0078f840 +007abf80 00791530 007abf80 0072fe30 007abf80 009568e0 -007abf80 00791530 -007abf80 005c9930 -007ac7e0 0075f0e0 -007ac7e0 00791320 -007ac7e0 00af08b1 -007ac7e0 007d41d0 +007abf80 005ca470 +007abf80 007e9020 +007abf80 007915a0 +007abf80 007ab380 +007abf80 00930640 +007ac7e0 004cdcf0 007ac7e0 00a0f4c0 -007ac7e0 0078f840 -007ac7e0 00733610 -007ac7e0 007706e0 -007ac7e0 007abf80 -007ac7e0 007d2d40 +007ac7e0 00722330 +007ac7e0 00930220 +007ac7e0 00aef12b +007ac7e0 007d2ad0 +007ac7e0 00a112c0 +007ac7e0 00791380 +007ac7e0 00722140 +007ac7e0 007d41d0 +007ac7e0 00930a30 +007ac7e0 00428b20 007ac7e0 0072fd10 -007ac7e0 007a8350 +007ac7e0 007d2d40 +007ac7e0 00407170 +007ac7e0 007706e0 +007ac7e0 00930390 +007ac7e0 00956780 +007ac7e0 007596a0 +007ac7e0 00930550 +007ac7e0 0075f0e0 +007ac7e0 00791420 +007ac7e0 00af08b1 +007ac7e0 00791320 007ac7e0 006eef60 007ac7e0 00721a70 -007ac7e0 00956780 -007ac7e0 00722140 -007ac7e0 007ce2a0 -007ac7e0 00a112c0 -007ac7e0 007d2b50 -007ac7e0 00930550 -007ac7e0 005c93b0 -007ac7e0 007d2ad0 -007ac7e0 00428b20 -007ac7e0 007ab380 -007ac7e0 00791380 -007ac7e0 00763570 -007ac7e0 00722330 -007ac7e0 00930a30 -007ac7e0 009bee80 -007ac7e0 00407170 -007ac7e0 007e9020 -007ac7e0 007596a0 -007ac7e0 007d2dd0 -007ac7e0 004cdcf0 -007ac7e0 00703330 -007ac7e0 007592a0 -007ac7e0 007308d0 -007ac7e0 00aef12b -007ac7e0 00930220 -007ac7e0 00753da0 -007ac7e0 00930390 -007ac7e0 00791530 007ac7e0 0092dc30 +007ac7e0 00763570 +007ac7e0 009bee80 +007ac7e0 00753da0 +007ac7e0 00703330 +007ac7e0 0078f840 +007ac7e0 007d2b50 +007ac7e0 005c93b0 +007ac7e0 007a8350 +007ac7e0 007d2dd0 007ac7e0 004cf210 -007ac7e0 00791420 +007ac7e0 00791530 007ac7e0 007ce6e0 -007ad330 0075d850 -007ad330 007706e0 +007ac7e0 007592a0 +007ac7e0 007abf80 +007ac7e0 007e9020 +007ac7e0 007ce2a0 +007ac7e0 007308d0 +007ac7e0 00733610 +007ac7e0 007ab380 007ad330 009305f0 007ad330 0072fd10 +007ad330 007706e0 +007ad330 0075d850 007ad3a0 0075d850 007ad3a0 00930640 007ad400 0075d850 @@ -25071,586 +25071,586 @@ 007ad680 0040a550 007ad720 0040a550 007ad7e0 0040cf50 -007ad860 007db0a0 -007ad860 007dbc80 -007ad860 007dbd70 -007ad860 007706e0 -007ad860 007ce420 -007ad860 007dbeb0 -007ad860 007dbba0 -007ad860 007cb6e0 -007ad860 0074d920 -007ad860 007595b0 -007ad860 0075e320 -007ad860 00758a70 007ad860 007d83f0 +007ad860 007dbba0 +007ad860 007db0a0 +007ad860 0075e320 +007ad860 007595b0 +007ad860 007dbd70 +007ad860 0074d920 +007ad860 007dbc80 +007ad860 007ce420 +007ad860 007706e0 +007ad860 00758a70 +007ad860 007dbeb0 +007ad860 007cb6e0 007adb30 007db160 -007adb30 009304a0 -007adb30 0074d920 -007adb30 007706e0 -007adb30 0075e320 007adb30 00771550 +007adb30 0074d920 +007adb30 009304a0 +007adb30 0075e320 +007adb30 0072fd10 007adb30 009303f0 007adb30 007ce420 +007adb30 007706e0 007adb30 007ad330 -007adb30 0072fd10 007aded0 004cdcf0 -007aded0 006eef60 +007aded0 004cf210 007aded0 00af08b1 +007aded0 006eef60 007aded0 006fe410 007aded0 00499d20 -007aded0 004cf210 007ae030 004cdcf0 -007ae030 006eef60 +007ae030 004cf210 007ae030 00af08b1 +007ae030 006eef60 007ae030 006fe410 007ae030 00499d20 -007ae030 004cf210 007ae030 00782630 007ae1d0 004cdcf0 -007ae1d0 006eef60 +007ae1d0 004cf210 007ae1d0 00af08b1 +007ae1d0 006eef60 +007ae1d0 006fe410 007ae1d0 00aef12b 007ae1d0 007706e0 -007ae1d0 006fe410 -007ae1d0 004cf210 007ae1d0 007bf6c0 -007ae4b0 EXTERNAL:00000220 -007ae4b0 004d74a0 -007ae4b0 007588a0 -007ae4b0 007dd090 -007ae4b0 007c3620 -007ae4b0 009b98e0 -007ae4b0 00415bc0 -007ae4b0 0042c920 -007ae4b0 007dee40 -007ae4b0 007dc9b0 -007ae4b0 0042c880 -007ae4b0 007afc20 -007ae4b0 00aef15c -007ae4b0 00758a70 -007ae4b0 007a6450 -007ae4b0 00a112c0 -007ae4b0 0040d040 -007ae4b0 007ae430 007ae4b0 006a0d30 +007ae4b0 00758d00 +007ae4b0 007dd090 +007ae4b0 00aef12b +007ae4b0 00a112c0 +007ae4b0 007c3620 +007ae4b0 EXTERNAL:00000220 +007ae4b0 00aef15c 007ae4b0 005cc510 007ae4b0 007bebb0 -007ae4b0 00af08bd -007ae4b0 007d93b0 -007ae4b0 00722570 -007ae4b0 009a8970 -007ae4b0 004d7250 007ae4b0 0075dfe0 -007ae4b0 00758d00 -007ae4b0 009e0500 007ae4b0 00694de0 -007ae4b0 00aef12b -007ae4b0 009ba000 +007ae4b0 007d93b0 +007ae4b0 007dee40 +007ae4b0 004d7250 +007ae4b0 007588a0 +007ae4b0 007afc20 +007ae4b0 009b98e0 +007ae4b0 009a8970 +007ae4b0 0042c880 +007ae4b0 0040d040 +007ae4b0 00722570 +007ae4b0 0042c920 007ae4b0 007ad4e0 -007ae4b0 00752900 +007ae4b0 009ba000 007ae4b0 0092cb30 -007afc20 00499960 -007afc20 007706e0 -007afc20 00425ac0 -007afc20 00435c70 -007afc20 006fe410 -007afc20 00930ae0 -007afc20 007ca840 -007afc20 00930980 -007afc20 00408830 -007afc20 007cafe0 -007afc20 004cdcf0 -007afc20 006eef60 -007afc20 0040a380 -007afc20 0040b430 -007afc20 009305f0 -007afc20 00930390 +007ae4b0 007ae430 +007ae4b0 00415bc0 +007ae4b0 00af08bd +007ae4b0 004d74a0 +007ae4b0 00752900 +007ae4b0 007dc9b0 +007ae4b0 00758a70 +007ae4b0 007a6450 +007ae4b0 009e0500 007afc20 00407690 +007afc20 004cdcf0 +007afc20 00435c70 +007afc20 00408830 +007afc20 006eef60 007afc20 00407e90 +007afc20 00499960 +007afc20 009305f0 +007afc20 007ca840 007afc20 004cf210 -007b0070 00af08b1 -007b0070 006fe410 -007b0070 0041d520 -007b0070 006c0f30 -007b0070 006eef60 -007b0070 00748ae0 -007b0070 007defc0 -007b0070 007d9b70 -007b0070 0081e9d0 -007b0070 00407f10 -007b0070 00813520 -007b0070 007cba30 +007afc20 006fe410 +007afc20 0040a380 +007afc20 00930ae0 +007afc20 00930980 +007afc20 007706e0 +007afc20 00930390 +007afc20 00425ac0 +007afc20 0040b430 +007afc20 007cafe0 +007b0070 006a0d30 +007b0070 004cdcf0 +007b0070 007cbef0 +007b0070 00408830 +007b0070 00630560 007b0070 004b39b0 007b0070 00a112c0 -007b0070 0041d540 -007b0070 006a0d30 -007b0070 00428b20 -007b0070 006ad870 -007b0070 00763570 -007b0070 0040a5d0 -007b0070 00af08bd -007b0070 00408830 -007b0070 004cdcf0 -007b0070 0040a1b0 -007b0070 007cbef0 +007b0070 007defc0 007b0070 00812f50 +007b0070 007d9b70 +007b0070 006c0f30 +007b0070 006ad870 +007b0070 00428b20 +007b0070 00748ae0 +007b0070 00af08b1 +007b0070 006eef60 +007b0070 0041d540 +007b0070 0040a1b0 +007b0070 0040a5d0 +007b0070 00763570 +007b0070 0041d520 +007b0070 0081e9d0 +007b0070 00813520 +007b0070 00af08bd +007b0070 00407f10 007b0070 004cf210 -007b0070 00630560 -007b0be0 007b0b40 -007b0be0 004d74a0 -007b0be0 00af08b1 -007b0be0 007dd090 -007b0be0 006d0370 -007b0be0 0042c920 -007b0be0 007dee40 -007b0be0 007dca70 -007b0be0 007dc9b0 -007b0be0 007310e0 -007b0be0 00630450 -007b0be0 007dccd0 -007b0be0 00a112c0 +007b0070 006fe410 +007b0070 007cba30 007b0be0 006a0d30 -007b0be0 007099a0 -007b0be0 00af08bd -007b0be0 00722570 -007b0be0 007ddc40 -007b0be0 004d7250 -007b0be0 00aef12b -007b0be0 007dc840 -007b0be0 007dc940 +007b0be0 007dd090 007b0be0 007525e0 -007b0be0 0040c740 +007b0be0 00aef12b +007b0be0 00a112c0 +007b0be0 007dccd0 +007b0be0 007dca70 +007b0be0 007dee40 +007b0be0 004d7250 +007b0be0 007310e0 +007b0be0 007ddc40 007b0be0 007ddd20 +007b0be0 007dc940 +007b0be0 006d0370 +007b0be0 00722570 +007b0be0 0042c920 +007b0be0 00af08b1 +007b0be0 007dc840 +007b0be0 00630450 007b0be0 0092cb30 +007b0be0 00af08bd +007b0be0 004d74a0 +007b0be0 007b0b40 +007b0be0 007dc9b0 +007b0be0 007099a0 +007b0be0 0040c740 007b2200 00763570 +007b2230 006eef60 +007b2230 00863cc0 +007b2230 00aef12b 007b2230 00a112c0 007b2230 007b2230 +007b2230 007ab6b0 +007b2230 00753a60 007b2230 007cb5d0 +007b2230 00417840 +007b2230 004217a0 +007b2230 0042ca00 +007b2230 00685d40 +007b2230 007e90f0 007b2230 007706e0 007b2230 00425ac0 -007b2230 007e90f0 -007b2230 004217a0 -007b2230 006eef60 -007b2230 0042ca00 -007b2230 00753a60 -007b2230 00aef12b -007b2230 00417840 -007b2230 00863cc0 -007b2230 00685d40 -007b2230 007ab6b0 007b8c00 004cdcf0 -007b8c00 006eef60 -007b8c00 00af08b1 -007b8c00 006fe410 007b8c00 004cf210 -007b8cb0 0040c550 -007b8cb0 00af08b1 -007b8cb0 00683060 -007b8cb0 0041d520 +007b8c00 00af08b1 +007b8c00 006eef60 +007b8c00 006fe410 +007b8cb0 007b9940 +007b8cb0 00a18300 +007b8cb0 00aef12b +007b8cb0 00682260 007b8cb0 004071f0 -007b8cb0 0067f070 -007b8cb0 006eef60 -007b8cb0 00956780 -007b8cb0 006836c0 -007b8cb0 00af0917 -007b8cb0 0041c710 -007b8cb0 00683680 -007b8cb0 00a10e70 -007b8cb0 00a0f550 007b8cb0 00aefca0 007b8cb0 00703670 -007b8cb0 0041d540 -007b8cb0 00a10030 -007b8cb0 00428b20 -007b8cb0 007b9940 -007b8cb0 00407170 -007b8cb0 00a19180 -007b8cb0 00a18300 -007b8cb0 00a14050 -007b8cb0 007db700 -007b8cb0 00aef12b +007b8cb0 00683680 007b8cb0 0041c770 -007b8cb0 009305f0 +007b8cb0 00428b20 +007b8cb0 00a10030 +007b8cb0 006836c0 +007b8cb0 00407170 +007b8cb0 0041c710 +007b8cb0 00956780 +007b8cb0 0040c550 +007b8cb0 0067f070 +007b8cb0 00af08b1 +007b8cb0 00a10e70 +007b8cb0 006eef60 +007b8cb0 0041d540 007b8cb0 0092dc30 -007b8cb0 00682260 +007b8cb0 00a14050 +007b8cb0 0041d520 +007b8cb0 00683060 +007b8cb0 007db700 +007b8cb0 009305f0 +007b8cb0 00a19180 +007b8cb0 00a0f550 +007b8cb0 00af0917 007b98c0 007b9940 007b9940 0040b030 007b9940 006fd350 007b9a60 009ba000 -007b9aa0 00956780 -007b9aa0 0092dc30 007b9aa0 007abe20 +007b9aa0 0092dc30 +007b9aa0 00956780 007b9b50 007f0780 -007b9b50 00709df0 +007b9b50 00813520 +007b9b50 007cd950 007b9b50 00435c70 007b9b50 007abe20 -007b9b50 00813520 007b9b50 00956110 +007b9b50 00709df0 007b9b50 0040a760 -007b9b50 007cd950 -007b9e10 007706e0 007b9e10 00791420 007b9e10 007711a0 -007b9f60 00827b70 -007b9f60 00af08b1 +007b9e10 007706e0 007b9f60 00a264f0 007b9f60 00a20390 +007b9f60 00a19530 +007b9f60 00af08b1 +007b9f60 EXTERNAL:0000021c +007b9f60 00827b70 007b9f60 00779320 007b9f60 00a69f60 -007b9f60 EXTERNAL:0000021c -007b9f60 00a19530 -007ba2b0 00af08b1 -007ba2b0 007ce270 -007ba2b0 004175b0 -007ba2b0 0041d520 -007ba2b0 006eef60 -007ba2b0 007599d0 -007ba2b0 00417870 -007ba2b0 006ac710 -007ba2b0 00813520 -007ba2b0 0041a790 -007ba2b0 007ab110 -007ba2b0 006ac560 -007ba2b0 0040a940 -007ba2b0 00428b20 -007ba2b0 00763570 -007ba2b0 007bf6c0 -007ba2b0 00417430 007ba2b0 004cdcf0 007ba2b0 0040bcd0 -007ba2b0 0062e020 -007ba2b0 00aef12b +007ba2b0 006ac710 +007ba2b0 00417430 +007ba2b0 007ab110 007ba2b0 00930220 -007ba2b0 009305f0 +007ba2b0 00aef12b 007ba2b0 00638e30 -007ba2b0 00435a50 -007ba2b0 004cf210 -007ba2b0 00780560 +007ba2b0 0041a790 007ba2b0 00431310 -007bb5e0 00435a80 -007bb5e0 007b2230 -007bb5e0 0041d540 +007ba2b0 004175b0 +007ba2b0 00428b20 +007ba2b0 00417870 +007ba2b0 007599d0 +007ba2b0 006ac560 +007ba2b0 00af08b1 +007ba2b0 006eef60 +007ba2b0 00780560 +007ba2b0 00763570 +007ba2b0 0041d520 +007ba2b0 00813520 +007ba2b0 00435a50 +007ba2b0 009305f0 +007ba2b0 004cf210 +007ba2b0 0040a940 +007ba2b0 0062e020 +007ba2b0 007ce270 +007ba2b0 007bf6c0 007bb5e0 00af08b1 -007bb5e0 006fe410 -007bb5e0 0041d520 -007bb5e0 006c2750 +007bb5e0 00435a80 007bb5e0 006eef60 -007bb5e0 007599d0 -007bb5e0 0081e520 -007bb5e0 00790af0 +007bb5e0 0041d540 007bb5e0 00aef12b -007bb5e0 00638e30 -007bb5e0 00813520 007bb5e0 00780560 -007bbbd0 EXTERNAL:00000220 -007bbbd0 007588a0 -007bbbd0 00a0f4c0 -007bbbd0 007706e0 -007bbbd0 007d2d40 -007bbbd0 007597e0 -007bbbd0 00aef15c -007bbbd0 00758a70 -007bbbd0 00417870 -007bbbd0 0075d1d0 -007bbbd0 00aef29d -007bbbd0 00aef253 -007bbbd0 00a112c0 -007bbbd0 007d65e0 -007bbbd0 007d6670 -007bbbd0 00731ee0 -007bbbd0 00aef5af -007bbbd0 0040d040 -007bbbd0 00759400 -007bbbd0 007d2ad0 -007bbbd0 00925f80 +007bb5e0 006c2750 +007bb5e0 00638e30 +007bb5e0 0041d520 +007bb5e0 007b2230 +007bb5e0 00813520 +007bb5e0 006fe410 +007bb5e0 00790af0 +007bb5e0 0081e520 +007bb5e0 007599d0 007bbbd0 007d2a40 -007bbbd0 007ca840 -007bbbd0 007e9020 -007bbbd0 007592a0 -007bbbd0 00914150 +007bbbd0 007597e0 +007bbbd0 00a0f4c0 007bbbd0 00758d00 -007bbbd0 00694de0 -007bbbd0 007595b0 -007bbbd0 00aef12b -007bbbd0 0075e320 -007bbbd0 00753da0 -007bbbd0 004288a0 -007bbbd0 00758f90 -007bbbd0 00759500 007bbbd0 007cbcd0 -007bc740 0075f0e0 -007bc740 007d41d0 -007bc740 00af08b1 -007bc740 0078f840 -007bc740 007bc740 -007bc740 00415bc0 -007bc740 0042c920 -007bc740 0072fd10 -007bc740 00771d30 -007bc740 007300d0 -007bc740 004071f0 -007bc740 0042c880 +007bbbd0 0075e320 +007bbbd0 007d6670 +007bbbd0 00aef12b +007bbbd0 00a112c0 +007bbbd0 00914150 +007bbbd0 007d2ad0 +007bbbd0 EXTERNAL:00000220 +007bbbd0 00aef15c +007bbbd0 004288a0 +007bbbd0 00759400 +007bbbd0 00aef5af +007bbbd0 00694de0 +007bbbd0 007ca840 +007bbbd0 00758f90 +007bbbd0 00417870 +007bbbd0 007588a0 +007bbbd0 00731ee0 +007bbbd0 007d2d40 +007bbbd0 007706e0 +007bbbd0 0040d040 +007bbbd0 00925f80 +007bbbd0 00aef253 +007bbbd0 00753da0 +007bbbd0 007595b0 +007bbbd0 0075d1d0 +007bbbd0 00759500 +007bbbd0 007d65e0 +007bbbd0 00aef29d +007bbbd0 007592a0 +007bbbd0 007e9020 +007bbbd0 00758a70 007bc740 007597e0 -007bc740 006eef60 -007bc740 007a3af0 -007bc740 00417870 -007bc740 00733ca0 -007bc740 00734180 -007bc740 007d8240 -007bc740 00865340 -007bc740 0043eca0 -007bc740 0075d1d0 -007bc740 004149d0 -007bc740 0090ac70 -007bc740 00a112c0 -007bc740 00731ee0 -007bc740 00733ff0 -007bc740 00930550 -007bc740 00706940 +007bc740 00771d30 007bc740 00734900 -007bc740 009303f0 -007bc740 007e90f0 -007bc740 00428b20 -007bc740 00763570 -007bc740 0042c850 -007bc740 00407170 -007bc740 007d2000 -007bc740 00736ba0 -007bc740 00914150 -007bc740 007595b0 007bc740 00771410 -007bc740 00aef12b 007bc740 00930220 +007bc740 00aef12b +007bc740 00736ba0 +007bc740 009303f0 +007bc740 00a112c0 +007bc740 00914150 +007bc740 004071f0 +007bc740 007d41d0 +007bc740 00706940 007bc740 00a20390 +007bc740 00428b20 +007bc740 00417870 +007bc740 007e90f0 +007bc740 0072fd10 +007bc740 00731ee0 +007bc740 00407170 +007bc740 007a3af0 +007bc740 00733ff0 +007bc740 007300d0 +007bc740 0042c880 +007bc740 00930550 +007bc740 0075f0e0 +007bc740 007d8240 +007bc740 0042c850 +007bc740 0042c920 +007bc740 00af08b1 +007bc740 006eef60 +007bc740 007d2000 +007bc740 004149d0 +007bc740 00733ca0 +007bc740 00763570 +007bc740 0043eca0 +007bc740 007595b0 +007bc740 0078f840 +007bc740 0075d1d0 +007bc740 00415bc0 +007bc740 007bc740 007bc740 009305f0 -007bc740 0040c740 007bc740 00759500 -007bebb0 EXTERNAL:00000220 -007bebb0 0040c000 +007bc740 0090ac70 +007bc740 00734180 +007bc740 00865340 +007bc740 0040c740 007bebb0 0040d040 -007bebb0 0040bf30 -007bebb0 00706940 -007bebb0 004562f0 -007bebb0 0040b430 -007bebb0 00aef15c -007bebb0 007d9b70 -007bebb0 00694de0 007bebb0 00aef12b 007bebb0 0075b540 -007bebb0 0075bf00 +007bebb0 00aef15c +007bebb0 EXTERNAL:00000220 +007bebb0 007d9b70 007bebb0 004288a0 007bebb0 0075d1d0 +007bebb0 00706940 +007bebb0 00694de0 007bebb0 0040cf00 -007bf040 00a112c0 +007bebb0 0075bf00 +007bebb0 0040c000 +007bebb0 0040bf30 +007bebb0 0040b430 +007bebb0 004562f0 007bf040 0040c000 +007bf040 00a112c0 007bf040 0040bf30 007bf1a0 004cdcf0 +007bf1a0 00770ca0 +007bf1a0 004cf210 007bf1a0 006eef60 -007bf1a0 00930640 +007bf1a0 0096f310 007bf1a0 00aef12b 007bf1a0 007706e0 -007bf1a0 00770ca0 -007bf1a0 0041d520 -007bf1a0 004cf210 -007bf1a0 0096f310 007bf1a0 007bf6c0 +007bf1a0 0041d520 +007bf1a0 00930640 007bf3d0 007bf490 007bf5c0 007bf490 007bf5c0 0040ac70 007bf5f0 006eef60 007bf5f0 006fe410 007bf640 00638e30 -007bf6c0 004e46d0 -007bf6c0 00930640 -007bf6c0 007706e0 -007bf6c0 00771550 -007bf6c0 005cd690 -007bf6c0 007cb6e0 007bf6c0 00633ea0 -007bf6c0 00930980 -007bf6c0 006eef60 -007bf6c0 00956780 -007bf6c0 007db8d0 -007bf6c0 004e4690 -007bf6c0 00a112c0 -007bf6c0 00aefca0 -007bf6c0 006dac30 -007bf6c0 007c7960 -007bf6c0 007e90f0 -007bf6c0 0090b100 +007bf6c0 00771550 007bf6c0 00682ed0 -007bf6c0 007db700 -007bf6c0 009305f0 +007bf6c0 00a112c0 +007bf6c0 0090b100 +007bf6c0 00aefca0 +007bf6c0 007e90f0 +007bf6c0 007c7960 +007bf6c0 007706e0 +007bf6c0 004e46d0 +007bf6c0 007cb6e0 +007bf6c0 00956780 +007bf6c0 006eef60 +007bf6c0 005cd690 +007bf6c0 00780560 007bf6c0 00930680 007bf6c0 0092dc30 +007bf6c0 004e4690 +007bf6c0 007db700 +007bf6c0 007db8d0 +007bf6c0 009305f0 007bf6c0 00435a50 -007bf6c0 00780560 +007bf6c0 006dac30 +007bf6c0 00930980 +007bf6c0 00930640 007c2d50 007cb6e0 007c2e80 00763570 -007c2e90 0042c880 -007c2e90 00a112c0 -007c2e90 EXTERNAL:00000220 -007c2e90 00aef15c -007c2e90 00929aa0 -007c2e90 00415bc0 007c2e90 0042c920 -007c3100 007706e0 +007c2e90 00929aa0 +007c2e90 00a112c0 +007c2e90 00aef15c +007c2e90 EXTERNAL:00000220 +007c2e90 0042c880 +007c2e90 00415bc0 007c3100 009305f0 007c3100 00930680 007c3100 00930980 +007c3100 007706e0 007c32c0 009305f0 007c3320 007706e0 007c3380 007aa7c0 -007c3380 007706e0 -007c3380 007c7960 007c3380 009305f0 -007c3410 007cafe0 +007c3380 007c7960 +007c3380 007706e0 007c3410 006dacd0 +007c3410 007cafe0 007c3460 00791320 007c3460 007cae60 007c3550 007c3460 007c3620 0075d850 -007c36b0 0075d850 007c36b0 007abe90 -007c36b0 005cbd20 007c36b0 0075bf00 +007c36b0 005cbd20 +007c36b0 0075d850 007c36b0 007ad330 -007c3810 00791320 -007c3810 007706e0 007c3810 00791530 +007c3810 00791320 007c3810 0072fd10 +007c3810 007706e0 007c3810 007c3810 007c38c0 00791320 -007c38c0 007915a0 007c38c0 0072fd10 +007c38c0 007915a0 007c38c0 007c38c0 -007c3980 00a112c0 007c3980 00aef12b -007c3980 007abd30 +007c3980 00a112c0 007c3980 00763570 +007c3980 007abd30 +007c3a60 00771550 007c3a60 00a112c0 007c3a60 007706e0 -007c3a60 00771550 -007c40e0 007cafe0 007c40e0 007db6b0 -007c4180 007588a0 -007c4180 007cb060 -007c4180 00791320 -007c4180 00420a80 -007c4180 00a26af0 -007c4180 0074f030 -007c4180 00435f80 -007c4180 0040a4d0 -007c4180 007599d0 -007c4180 009302e0 -007c4180 0071f600 -007c4180 007d65e0 -007c4180 00703670 -007c4180 007dd380 -007c4180 007e90f0 -007c4180 00428b20 -007c4180 006ad870 -007c4180 00763570 -007c4180 0075e320 -007c4180 007abd30 -007c4180 00704360 -007c4180 007a6300 -007c4180 00435a80 -007c4180 00af08b1 -007c4180 006b6470 -007c4180 007cafe0 -007c4180 006eef60 -007c4180 00aef15c -007c4180 007791f0 -007c4180 0081edf0 -007c4180 00758a70 -007c4180 0075d1d0 -007c4180 004149d0 -007c4180 007c38c0 -007c4180 00813520 -007c4180 0041d540 -007c4180 007cb5d0 -007c4180 004f8940 -007c4180 00407170 -007c4180 00724af0 -007c4180 00929a20 -007c4180 00435c20 -007c4180 EXTERNAL:0000023a -007c4180 0074a2d0 -007c4180 00aef12b -007c4180 00930220 -007c4180 004288a0 -007c4180 00930390 -007c4180 0040c740 -007c4180 00676150 -007c4180 00748490 -007c4180 00703be0 -007c4180 009586f0 -007c4180 007706e0 -007c4180 007c40e0 -007c4180 0042c920 -007c4180 007488d0 -007c4180 0092e230 -007c4180 0041d520 -007c4180 007597e0 -007c4180 0040cf50 -007c4180 009960b0 -007c4180 0090ac70 -007c4180 0067f1d0 -007c4180 00863da0 -007c4180 009a3410 -007c4180 00456720 -007c4180 006ad500 -007c4180 00428590 -007c4180 00930550 -007c4180 007d2a40 -007c4180 006fe3d0 -007c4180 00736c30 -007c4180 00682b90 +007c40e0 007cafe0 007c4180 00758d00 -007c4180 0090b0e0 -007c4180 007abb00 -007c4180 007595b0 -007c4180 0073f940 -007c4180 0042cfd0 -007c4180 004cf210 -007c4180 00763290 -007c4180 00456540 -007c4180 EXTERNAL:00000220 -007c4180 0075d850 -007c4180 007caad0 -007c4180 005cc070 -007c4180 00428a80 -007c4180 00748860 -007c4180 00677780 -007c4180 004217a0 -007c4180 00748940 -007c4180 004071f0 -007c4180 0042c880 -007c4180 0092df00 -007c4180 006f8120 -007c4180 004238f0 -007c4180 005b39d0 -007c4180 0040ccd0 -007c4180 007abd90 -007c4180 00a112c0 -007c4180 004566b0 -007c4180 007915a0 -007c4180 006ac560 -007c4180 00753cc0 -007c4180 007cdf30 -007c4180 007c7960 -007c4180 00425ac0 -007c4180 00682ed0 -007c4180 007e9020 007c4180 00408830 -007c4180 007c9ea0 -007c4180 009305c0 +007c4180 00435c20 +007c4180 004217a0 +007c4180 00736c30 +007c4180 00753cc0 +007c4180 007599d0 +007c4180 00930550 +007c4180 006b6470 +007c4180 0042c920 +007c4180 00435a80 +007c4180 0074a2d0 +007c4180 00748860 +007c4180 00763570 +007c4180 005b39d0 +007c4180 007595b0 +007c4180 0042cfd0 +007c4180 0041d520 007c4180 00759500 -007c4180 0092dc30 +007c4180 00456720 +007c4180 007915a0 +007c4180 0090b0e0 +007c4180 00929a20 +007c4180 00682ed0 +007c4180 00863da0 +007c4180 00930220 +007c4180 00aef15c +007c4180 004071f0 +007c4180 0074f030 +007c4180 007c9ea0 007c4180 00638e30 007c4180 00431310 +007c4180 007dd380 +007c4180 0092df00 +007c4180 007abd90 +007c4180 0092e230 +007c4180 00677780 +007c4180 00407170 +007c4180 00930390 +007c4180 007c40e0 +007c4180 007791f0 +007c4180 007cdf30 +007c4180 00704360 +007c4180 00763290 +007c4180 004566b0 +007c4180 00428590 +007c4180 007caad0 +007c4180 007abb00 +007c4180 0075d850 +007c4180 00813520 +007c4180 0071f600 +007c4180 007cb5d0 +007c4180 0040a4d0 +007c4180 004cf210 +007c4180 007d65e0 +007c4180 0040cf50 +007c4180 00428a80 +007c4180 00748490 +007c4180 007d2a40 +007c4180 007597e0 +007c4180 00aef12b +007c4180 004288a0 +007c4180 00435f80 +007c4180 009a3410 +007c4180 006ad870 +007c4180 009305c0 +007c4180 004f8940 +007c4180 007588a0 +007c4180 007c38c0 +007c4180 007abd30 +007c4180 0081edf0 +007c4180 009586f0 +007c4180 006ac560 +007c4180 006eef60 +007c4180 00791320 +007c4180 0041d540 +007c4180 007a6300 +007c4180 0067f1d0 +007c4180 00456540 +007c4180 006ad500 +007c4180 007e9020 +007c4180 006fe3d0 +007c4180 0040c740 +007c4180 00724af0 +007c4180 00682b90 +007c4180 0075e320 +007c4180 004238f0 +007c4180 00a112c0 +007c4180 EXTERNAL:00000220 +007c4180 007cb060 +007c4180 009960b0 +007c4180 009302e0 +007c4180 00703670 +007c4180 00428b20 +007c4180 005cc070 +007c4180 007e90f0 +007c4180 007c7960 +007c4180 007706e0 +007c4180 00425ac0 +007c4180 00a26af0 +007c4180 0042c880 +007c4180 007cafe0 +007c4180 0040ccd0 +007c4180 006f8120 +007c4180 00af08b1 +007c4180 004149d0 +007c4180 007488d0 +007c4180 0092dc30 +007c4180 0075d1d0 +007c4180 00748940 +007c4180 00676150 +007c4180 0090ac70 +007c4180 00703be0 +007c4180 00420a80 +007c4180 EXTERNAL:0000023a +007c4180 00758a70 +007c4180 0073f940 007c78b0 00763570 007c78e0 006eef60 007c78e0 00763570 @@ -25658,1100 +25658,1100 @@ 007c7960 007706e0 007c7a20 0040c000 007c7a20 0040bf30 -007c7b10 006eef60 007c7b10 00435c70 -007c7b10 0041af60 +007c7b10 006eef60 007c7b10 EXTERNAL:00000262 +007c7b10 0041af60 +007c7c60 0040ccd0 +007c7c60 007c7a20 +007c7c60 00aef12b 007c7c60 00a112c0 007c7c60 EXTERNAL:00000220 007c7c60 00aef15c -007c7c60 00aef12b -007c7c60 0040ccd0 -007c7c60 007c7a20 -007c7d70 EXTERNAL:00000220 -007c7d70 00a112c0 -007c7d70 00aef15c +007c7d70 0040ccd0 +007c7d70 007c7a20 007c7d70 00aef12b 007c7d70 007c90b0 007c7d70 0075b540 -007c7d70 0040ccd0 -007c7d70 007c7a20 -007c8050 00a112c0 -007c8050 006eef60 -007c8050 00956780 -007c8050 00aef12b -007c8050 007706e0 -007c8050 006fe410 -007c8050 00763570 -007c8050 007c7d70 -007c8050 0092dc30 +007c7d70 00a112c0 +007c7d70 EXTERNAL:00000220 +007c7d70 00aef15c 007c8050 00813520 -007c8240 0041a790 -007c8240 00a15640 -007c8240 00af0770 -007c8240 0041d540 -007c8240 006ae280 +007c8050 006eef60 +007c8050 006fe410 +007c8050 00aef12b +007c8050 00a112c0 +007c8050 007706e0 +007c8050 0092dc30 +007c8050 00763570 +007c8050 00956780 +007c8050 007c7d70 007c8240 006ac560 007c8240 00af08b1 -007c8240 00a0fea0 -007c8240 006b7a80 -007c8240 004175b0 -007c8240 0067a080 -007c8240 00428b20 -007c8240 0041d520 -007c8240 00a105d0 -007c8240 00a10480 -007c8240 00417430 +007c8240 0041d540 007c8240 006eef60 -007c8240 00af0917 +007c8240 00417430 +007c8240 00a10480 +007c8240 0067a080 +007c8240 00af0770 +007c8240 0041a790 007c8240 00a104e0 -007c8240 00652fa0 -007c8240 00435a50 -007c8240 00813360 +007c8240 0041d520 007c8240 00431310 -007c8830 00a112c0 -007c8830 006eef60 +007c8240 006ae280 +007c8240 00435a50 +007c8240 00a105d0 +007c8240 00652fa0 +007c8240 004175b0 +007c8240 00813360 +007c8240 00428b20 +007c8240 00a0fea0 +007c8240 00a15640 +007c8240 00af0917 +007c8240 006b7a80 007c8830 00771550 +007c8830 006eef60 007c8830 006fe410 +007c8830 00a112c0 007c8830 007cb6e0 007c8dc0 004cdcf0 -007c8dc0 006eef60 +007c8dc0 004cf210 007c8dc0 00af08b1 -007c8dc0 00956780 +007c8dc0 006eef60 007c8dc0 006fe410 007c8dc0 0092dc30 -007c8dc0 004cf210 +007c8dc0 00956780 007c8f80 007597e0 007c8fc0 007597e0 007c9000 006eef60 -007c9000 00763570 007c9000 0072fd10 +007c9000 00763570 +007c9130 007aaea0 007c9130 006eef60 -007c9130 00aef12b 007c9130 006fe410 +007c9130 00aef12b 007c9130 0090b100 007c9130 007bf6c0 -007c9130 007aaea0 +007c9350 007aaea0 007c9350 006eef60 -007c9350 00aef12b 007c9350 006fe410 +007c9350 00aef12b 007c9350 0090b100 007c9350 007bf6c0 -007c9350 007aaea0 -007c9590 006eef60 -007c9590 00af08b1 -007c9590 00aef12b -007c9590 006fe410 -007c9590 00676150 -007c9590 00677780 007c9590 00435a50 007c9590 007aaea0 -007c97f0 00a112c0 -007c97f0 EXTERNAL:00000220 -007c97f0 007588a0 -007c97f0 00aefca0 -007c97f0 0078f840 -007c97f0 007c3620 -007c97f0 007bebb0 +007c9590 00af08b1 +007c9590 006eef60 +007c9590 00676150 +007c9590 006fe410 +007c9590 00aef12b +007c9590 00677780 007c97f0 0042c920 -007c97f0 00763570 -007c97f0 00aef15c 007c97f0 00aef12b -007c97f0 00af0917 +007c97f0 00a112c0 +007c97f0 007c3620 +007c97f0 EXTERNAL:00000220 +007c97f0 00aef15c +007c97f0 00763570 +007c97f0 007bebb0 +007c97f0 0078f840 +007c97f0 00aefca0 007c97f0 007cba30 -007c9ad0 007706e0 +007c97f0 007588a0 +007c97f0 00af0917 007c9ad0 009305f0 -007c9c00 0041d540 -007c9c00 00652a70 -007c9c00 0041d520 +007c9ad0 007706e0 007c9c00 00435a50 -007c9d10 007ca7c0 +007c9c00 0041d540 +007c9c00 0041d520 +007c9c00 00652a70 007c9d10 007ca2d0 +007c9d10 007ca7c0 007c9d10 007cacb0 -007c9ea0 0040a380 +007c9ea0 009305f0 007c9ea0 009302e0 007c9ea0 009304a0 007c9ea0 00930220 -007c9ea0 007706e0 -007c9ea0 007ce420 007c9ea0 00930680 -007c9ea0 009ad210 -007c9ea0 009305f0 -007c9ea0 00763570 +007c9ea0 0040a380 +007c9ea0 007ce420 +007c9ea0 007706e0 007c9ea0 006dacd0 -007ca2d0 EXTERNAL:00000220 -007ca2d0 006adf40 -007ca2d0 0040bd50 -007ca2d0 0041a790 -007ca2d0 00428b20 -007ca2d0 006ee440 -007ca2d0 0040a5d0 +007c9ea0 00763570 +007c9ea0 009ad210 007ca2d0 006eef60 -007ca2d0 00703330 -007ca2d0 00aef15c 007ca2d0 0040a1b0 -007ca2d0 00956780 007ca2d0 00aef12b -007ca2d0 006a8a20 +007ca2d0 EXTERNAL:00000220 +007ca2d0 00aef15c +007ca2d0 0040a5d0 007ca2d0 0092dc30 -007ca2d0 EXTERNAL:00000262 -007ca2d0 0040cf00 +007ca2d0 0041a790 +007ca2d0 00703330 007ca2d0 00431310 +007ca2d0 006ee440 +007ca2d0 0040bd50 +007ca2d0 0040cf00 +007ca2d0 00428b20 +007ca2d0 006a8a20 +007ca2d0 EXTERNAL:00000262 +007ca2d0 006adf40 +007ca2d0 00956780 007ca7c0 007ca2d0 -007ca840 007cafe0 -007ca840 007cb060 -007ca840 007599d0 -007ca840 007c9ea0 +007ca840 007cabc0 +007ca840 00758850 007ca840 00758d00 007ca840 007cae60 -007ca840 00758850 -007ca840 007cabc0 +007ca840 007cb060 007ca840 007cacb0 -007caa00 007cafe0 +007ca840 007c9ea0 +007ca840 007599d0 +007ca840 007cafe0 007caa00 007cae60 -007caad0 007cafe0 -007caad0 007588a0 -007caad0 00758a70 +007caa00 007cafe0 007caad0 007dd380 007caad0 007ca840 +007caad0 007588a0 +007caad0 00758a70 +007caad0 007cafe0 007cabc0 007cae60 007cacb0 007cae60 -007cae60 007706e0 007cae60 00930680 +007cae60 007706e0 007cae60 007ce390 007cb060 007cafe0 007cb090 004cdcf0 -007cb090 007588a0 -007cb090 006eef60 -007cb090 007ce270 -007cb090 007791f0 -007cb090 00758d00 -007cb090 00758a70 -007cb090 00428b20 007cb090 00758f90 007cb090 00758c20 007cb090 004cf210 +007cb090 00758d00 +007cb090 006eef60 +007cb090 00428b20 +007cb090 007ce270 +007cb090 007588a0 +007cb090 00758a70 +007cb090 007791f0 007cb230 004cdcf0 -007cb230 006eef60 +007cb230 00435a50 +007cb230 0097fc10 +007cb230 00770ca0 +007cb230 004cf210 007cb230 00af08b1 +007cb230 006eef60 +007cb230 006fe410 007cb230 00aef12b 007cb230 007706e0 -007cb230 006fe410 -007cb230 00770ca0 -007cb230 0097fc10 -007cb230 00435a50 -007cb230 004cf210 007cb230 007bf6c0 -007cb580 007bf490 007cb580 009305f0 +007cb580 007bf490 007cb580 007bf5c0 -007cb5d0 00956780 007cb5d0 0092dc30 +007cb5d0 00956780 007cb6e0 00740bc0 007cb6e0 00930aa0 007cb6e0 00aef12b -007cb6e0 007706e0 007cb6e0 00417870 -007cb6e0 007cb6e0 007cb6e0 007e9020 -007cba30 00a112c0 +007cb6e0 007706e0 +007cb6e0 007cb6e0 007cba30 00706940 +007cba30 00a112c0 007cbb60 007a1090 007cbb70 007cbb90 -007cbb90 00af0917 007cbb90 007df1e0 +007cbb90 00af0917 007cbc60 00763570 -007cbcd0 006eef60 -007cbcd0 00435a80 007cbcd0 00a0f4c0 -007cbcd0 00aef12b -007cbcd0 00753da0 +007cbcd0 00435a80 +007cbcd0 006eef60 007cbcd0 00428b20 +007cbcd0 00aef12b 007cbcd0 00930680 -007cbef0 00740bc0 +007cbcd0 00753da0 007cbef0 004cdcf0 -007cbef0 006eef60 -007cbef0 007706e0 -007cbef0 006fe410 007cbef0 006ac2a0 007cbef0 004cf210 -007cc200 0075d850 -007cc200 006831c0 -007cc200 007c3620 -007cc200 007706e0 -007cc200 006fe410 -007cc200 0041d520 -007cc200 00a648b0 -007cc200 007cafe0 -007cc200 006eef60 -007cc200 00af0917 -007cc200 0075d1d0 -007cc200 007c7c60 -007cc200 004b39b0 -007cc200 0041a790 -007cc200 0041d540 -007cc200 009303f0 -007cc200 007bebb0 -007cc200 00763570 -007cc200 0040a5d0 +007cbef0 00740bc0 +007cbef0 006eef60 +007cbef0 006fe410 +007cbef0 007706e0 007cc200 007cd950 -007cc200 00740bc0 -007cc200 0040a1b0 007cc200 007cbef0 -007cc200 006fd7c0 007cc200 00aef12b 007cc200 00930220 +007cc200 004b39b0 +007cc200 009303f0 +007cc200 007c3620 +007cc200 0041a790 +007cc200 007bebb0 +007cc200 006fd7c0 +007cc200 00a648b0 +007cc200 007706e0 +007cc200 006831c0 +007cc200 007c7c60 +007cc200 007cafe0 +007cc200 006eef60 +007cc200 0041d540 +007cc200 0040a1b0 007cc200 007ad4e0 +007cc200 0040a5d0 +007cc200 00763570 +007cc200 0075d850 +007cc200 0041d520 +007cc200 0075d1d0 007cc200 00435a50 -007cd950 0063b4a0 -007cd950 0040d040 -007cd950 0060af00 -007cd950 00612890 -007cd950 00408e00 -007cd950 00428b20 -007cd950 0041af60 -007cd950 0040a5d0 +007cc200 00740bc0 +007cc200 006fe410 +007cc200 00af0917 007cd950 007cd950 +007cd950 00407690 +007cd950 0040d040 007cd950 00408830 007cd950 006eef60 -007cd950 00407ae0 007cd950 0040a1b0 -007cd950 00956780 -007cd950 0040b220 -007cd950 00407690 -007cd950 007f0800 -007cd950 00407f10 +007cd950 0063b4a0 +007cd950 0040a5d0 +007cd950 00407ae0 007cd950 0092dc30 -007cd950 EXTERNAL:00000262 -007cd950 00435a50 +007cd950 0060af00 +007cd950 0041af60 +007cd950 00612890 +007cd950 00407f10 007cd950 00813520 +007cd950 00435a50 +007cd950 0040b220 007cd950 004087a0 -007cdee0 00956780 +007cd950 00408e00 +007cd950 00428b20 +007cd950 EXTERNAL:00000262 +007cd950 007f0800 +007cd950 00956780 007cdee0 0092dc30 -007cdf30 00a112c0 -007cdf30 EXTERNAL:00000220 -007cdf30 00aef15c -007cdf30 00a0f4c0 -007cdf30 004e45c0 +007cdee0 00956780 007cdf30 006fd7c0 +007cdf30 00a0f4c0 007cdf30 0042c920 -007cdf30 004288a0 007cdf30 00424540 +007cdf30 00a112c0 +007cdf30 00aef15c +007cdf30 EXTERNAL:00000220 +007cdf30 004288a0 +007cdf30 004e45c0 007ce270 00417870 -007ce2a0 006dac60 007ce2a0 009569a0 +007ce2a0 006dac60 007ce390 007706e0 007ce390 007cb6e0 -007ce420 007cafe0 -007ce420 007588a0 +007ce420 007dd380 +007ce420 007ca840 007ce420 00758d00 007ce420 00771550 -007ce420 00759400 -007ce420 007dd380 -007ce420 007ce390 +007ce420 007588a0 007ce420 00771f60 -007ce420 007ca840 -007ce6e0 007588a0 -007ce6e0 007cb060 -007ce6e0 0040bd50 -007ce6e0 007a48f0 -007ce6e0 0078f840 -007ce6e0 007c3620 -007ce6e0 007bc740 -007ce6e0 00408e00 -007ce6e0 00721a70 -007ce6e0 0040cf50 -007ce6e0 00722140 -007ce6e0 00417870 -007ce6e0 007220a0 -007ce6e0 0072fda0 -007ce6e0 007cba30 -007ce6e0 007cc200 -007ce6e0 007d6670 -007ce6e0 007ca2d0 -007ce6e0 00763570 +007ce420 00759400 +007ce420 007ce390 +007ce420 007cafe0 007ce6e0 00758c20 -007ce6e0 007592a0 -007ce6e0 007ca7c0 007ce6e0 00758d00 -007ce6e0 00771410 -007ce6e0 0075bf00 -007ce6e0 0075d850 -007ce6e0 EXTERNAL:00000220 -007ce6e0 007caad0 007ce6e0 00a0f4c0 -007ce6e0 00772260 -007ce6e0 0072fd10 +007ce6e0 007cbcd0 +007ce6e0 007ca7c0 +007ce6e0 00aef12b 007ce6e0 007c9d10 -007ce6e0 007cafe0 -007ce6e0 00aef15c -007ce6e0 00758a70 -007ce6e0 0075d1d0 -007ce6e0 007ce2a0 -007ce6e0 00813520 -007ce6e0 00a112c0 -007ce6e0 007d2ad0 -007ce6e0 007bebb0 -007ce6e0 007ad440 -007ce6e0 007cabc0 007ce6e0 007ca840 -007ce6e0 0040a5d0 +007ce6e0 00417870 +007ce6e0 007cc200 +007ce6e0 007588a0 +007ce6e0 007220a0 +007ce6e0 007d2000 +007ce6e0 00763570 +007ce6e0 0078f840 +007ce6e0 00753da0 +007ce6e0 00772260 +007ce6e0 007592a0 +007ce6e0 007cba30 007ce6e0 007e9020 007ce6e0 007cd950 -007ce6e0 007d2000 -007ce6e0 009a8970 +007ce6e0 007cabc0 +007ce6e0 007ca2d0 +007ce6e0 00771410 +007ce6e0 007d6670 +007ce6e0 007d2ad0 +007ce6e0 00a112c0 +007ce6e0 007c3620 +007ce6e0 007cb060 +007ce6e0 EXTERNAL:00000220 +007ce6e0 00aef15c +007ce6e0 00722140 007ce6e0 007c9ea0 -007ce6e0 0040a1b0 -007ce6e0 00aef12b -007ce6e0 00753da0 +007ce6e0 007bebb0 +007ce6e0 007ad440 +007ce6e0 0075bf00 +007ce6e0 0072fd10 +007ce6e0 007a48f0 +007ce6e0 009a8970 +007ce6e0 0072fda0 +007ce6e0 007cafe0 007ce6e0 007cf610 -007ce6e0 007cbcd0 -007cf610 007d4170 -007cf610 00a112c0 +007ce6e0 0040a1b0 +007ce6e0 00721a70 +007ce6e0 007caad0 +007ce6e0 0040a5d0 +007ce6e0 0075d850 +007ce6e0 0075d1d0 +007ce6e0 007bc740 +007ce6e0 00813520 +007ce6e0 0040bd50 +007ce6e0 00408e00 +007ce6e0 0040cf50 +007ce6e0 007ce2a0 +007ce6e0 00758a70 007cf610 007a37c0 +007cf610 00721eb0 +007cf610 00930220 +007cf610 00aef12b +007cf610 00930680 +007cf610 00a112c0 +007cf610 00763570 +007cf610 00722140 007cf610 007d41d0 007cf610 0078f840 +007cf610 007d4170 007cf610 007706e0 -007cf610 00763570 007cf610 009a8970 -007cf610 00721eb0 -007cf610 00aef12b -007cf610 00930220 -007cf610 00722140 -007cf610 00930680 007cf8c0 0090b100 007cf8f0 0090b100 007cf940 0090b100 -007cf9a0 0041d4d0 007cf9a0 00a1b8e0 +007cf9a0 0041d4d0 007cf9a0 00a1af90 007cfa90 0041e420 -007cfa90 EXTERNAL:00000220 007cfa90 0072ff10 -007cfa90 00aef15c 007cfa90 00aef12b +007cfa90 EXTERNAL:00000220 +007cfa90 00aef15c 007cfa90 EXTERNAL:0000022f -007cfba0 00a0f550 -007cfba0 00a112c0 -007cfba0 EXTERNAL:00000220 -007cfba0 007de660 -007cfba0 0040d040 -007cfba0 007cf9a0 -007cfba0 00770ca0 +007cfba0 007cfa90 +007cfba0 00a671b0 007cfba0 00a14200 -007cfba0 00684fc0 -007cfba0 00a26af0 -007cfba0 00aef15c +007cfba0 008327e0 +007cfba0 0040d040 007cfba0 00a1dfd0 +007cfba0 00a10e70 007cfba0 007cae60 007cfba0 00aef12b -007cfba0 007cfa90 +007cfba0 00684fc0 +007cfba0 00a112c0 +007cfba0 EXTERNAL:00000220 +007cfba0 00aef15c +007cfba0 007cf9a0 007cfba0 00a13750 -007cfba0 008327e0 -007cfba0 007dd4b0 +007cfba0 00770ca0 +007cfba0 007de660 007cfba0 00a140c0 -007cfba0 00a10e70 -007cfba0 00a671b0 -007d12c0 007cafe0 -007d12c0 007cb060 -007d12c0 007cae60 +007cfba0 00a0f550 +007cfba0 00a26af0 +007cfba0 007dd4b0 007d12c0 004175b0 +007d12c0 007cae60 +007d12c0 007cb060 007d12c0 0041af60 +007d12c0 007cafe0 007d1620 006eef60 007d1620 0074a090 007d1810 00823be0 +007d1860 00408830 007d1860 006eef60 007d1860 0041d540 -007d1860 0040a1b0 -007d1860 00956780 007d1860 006fe410 -007d1860 0041d520 -007d1860 0092dc30 +007d1860 0040a1b0 007d1860 0040a5d0 -007d1860 00408830 +007d1860 0092dc30 +007d1860 0041d520 +007d1860 00956780 007d1c10 009304a0 -007d1c10 005b39d0 -007d1c10 00956780 -007d1c10 00aef12b -007d1c10 007706e0 -007d1c10 00930220 -007d1c10 005c93b0 -007d1c10 0041af60 -007d1c10 0092dc30 -007d1c10 EXTERNAL:00000262 007d1c10 0096f310 +007d1c10 00930220 +007d1c10 00aef12b +007d1c10 EXTERNAL:00000262 007d1c10 00930980 +007d1c10 007706e0 +007d1c10 0092dc30 +007d1c10 005b39d0 +007d1c10 0041af60 +007d1c10 00956780 +007d1c10 005c93b0 007d2000 004cdcf0 -007d2000 009bc280 +007d2000 004cf210 007d2000 009a8620 007d2000 009b9cd0 -007d2000 004cf210 +007d2000 009bc280 007d2000 007a6450 -007d2170 006a2030 -007d2170 006ac530 -007d2170 00417430 -007d2170 0075e1d0 007d2170 004cdcf0 -007d2170 0040a380 -007d2170 009304a0 007d2170 007abe90 -007d2170 00956780 -007d2170 009305f0 +007d2170 009304a0 +007d2170 00417430 007d2170 0092dc30 007d2170 00407f10 +007d2170 009305f0 007d2170 004cf210 -007d2470 00956780 -007d2470 0040b220 -007d2470 006fe410 -007d2470 00677780 +007d2170 006ac530 +007d2170 006a2030 +007d2170 0040a380 +007d2170 0075e1d0 +007d2170 00956780 007d2470 00407690 -007d2470 0092dc30 -007d2470 00499d60 -007d2470 00407e90 +007d2470 0040b220 007d2470 004cf210 007d2470 00675fc0 +007d2470 006fe410 +007d2470 00407e90 +007d2470 00499d60 +007d2470 00677780 +007d2470 0092dc30 +007d2470 00956780 007d2a00 00639000 007d2a20 006393a0 -007d2a40 007588a0 007d2a40 007cae60 +007d2a40 007588a0 007d2a40 007706e0 007d2a40 00763570 -007d2ad0 007597e0 007d2ad0 007d2b70 -007d2b70 009a2bc0 -007d2b70 00956780 -007d2b70 007910f0 -007d2b70 00771550 +007d2ad0 007597e0 007d2b70 007911f0 007d2b70 00791530 -007d2b70 00763570 +007d2b70 00771550 +007d2b70 009a2bc0 007d2b70 0092dc30 -007d2d40 007597e0 +007d2b70 00763570 +007d2b70 007910f0 +007d2b70 00956780 007d2d40 007d2df0 -007d2df0 009a2bc0 -007d2df0 00956780 -007d2df0 007910f0 -007d2df0 00771550 +007d2d40 007597e0 007d2df0 007911f0 007d2df0 00791530 -007d2df0 00763570 +007d2df0 00771550 +007d2df0 009a2bc0 007d2df0 0092dc30 -007d2fc0 007cafe0 -007d2fc0 007599d0 -007d2fc0 007ca7c0 -007d2fc0 007c9ea0 -007d2fc0 009a90b0 +007d2df0 00763570 +007d2df0 007910f0 +007d2df0 00956780 007d2fc0 007cabc0 +007d2fc0 009a90b0 +007d2fc0 007ca7c0 007d2fc0 007cacb0 -007d3180 007cafe0 +007d2fc0 007c9ea0 +007d2fc0 007599d0 +007d2fc0 007cafe0 007d3180 007cb060 007d3180 006dacd0 -007d3200 007706e0 +007d3180 007cafe0 007d3200 007911f0 +007d3200 007706e0 007d3330 00763570 -007d3350 006eef60 007d3350 00af08b1 -007d3350 00956780 -007d3350 007706e0 -007d3350 00758a70 +007d3350 006eef60 007d3350 006fe410 +007d3350 007706e0 007d3350 0092dc30 +007d3350 00758a70 +007d3350 00956780 007d34f0 007597e0 -007d35b0 0075d850 +007d35b0 007cd950 007d35b0 00823370 -007d35b0 006831c0 +007d35b0 007abe20 +007d35b0 006eef60 007d35b0 0041d540 +007d35b0 007828f0 +007d35b0 00930220 +007d35b0 00aef12b +007d35b0 0092dc30 +007d35b0 0075d850 +007d35b0 0041d520 +007d35b0 00435a50 007d35b0 00408e00 007d35b0 006fe410 -007d35b0 0041d520 007d35b0 007c9ad0 -007d35b0 00930980 -007d35b0 007cd950 007d35b0 007afc20 -007d35b0 006eef60 -007d35b0 00956780 -007d35b0 00aef12b -007d35b0 00930220 +007d35b0 00930980 +007d35b0 006831c0 007d35b0 00af0917 -007d35b0 007828f0 -007d35b0 0092dc30 -007d35b0 00435a50 -007d35b0 007abe20 +007d35b0 00956780 +007d3e40 00676020 007d3e40 006eef60 -007d3e40 00790af0 007d3e40 0041d540 007d3e40 00676150 -007d3e40 00676020 +007d3e40 00790af0 007d3e40 0041d520 007d4150 007706e0 007d4170 005b1500 007d4170 0072fd10 007d41d0 0075f0e0 +007d41d0 0072fd10 007d41d0 007a3af0 007d41d0 00733ff0 007d41d0 0078f840 -007d41d0 0072fd10 007d4320 007706e0 007d4340 00930980 -007d4390 EXTERNAL:00000220 -007d4390 007706e0 -007d4390 007e31a0 -007d4390 0041af60 -007d4390 00a648b0 -007d4390 0041d520 -007d4390 0040ae70 -007d4390 00424540 -007d4390 0040cae0 -007d4390 006ff2a0 -007d4390 0040add0 -007d4390 006eef60 007d4390 007abe90 -007d4390 00aef15c -007d4390 00956780 -007d4390 007f0800 -007d4390 00703670 -007d4390 0041d540 -007d4390 005c93b0 -007d4390 007d2470 -007d4390 007e7070 -007d4390 00428b20 -007d4390 00763570 -007d4390 00452bf0 -007d4390 007cd950 -007d4390 00703770 007d4390 004cdcf0 -007d4390 00aef12b -007d4390 0092dc30 +007d4390 007cd950 +007d4390 007e7070 007d4390 007abe20 -007d4390 004cf210 +007d4390 007e31a0 +007d4390 00aef12b +007d4390 0040cae0 +007d4390 EXTERNAL:00000220 +007d4390 00aef15c 007d4390 00431310 -007d5170 006e83a0 -007d5170 007706e0 +007d4390 00703670 +007d4390 00a648b0 +007d4390 00428b20 +007d4390 0040ae70 +007d4390 007706e0 +007d4390 00956780 +007d4390 006eef60 +007d4390 0041d540 +007d4390 00452bf0 +007d4390 00763570 +007d4390 0092dc30 +007d4390 0040add0 +007d4390 0041af60 +007d4390 0041d520 +007d4390 005c93b0 +007d4390 004cf210 +007d4390 007d2470 +007d4390 00424540 +007d4390 00703770 +007d4390 006ff2a0 +007d4390 007f0800 007d5170 006ee750 -007d5170 006e84d0 -007d5170 00428b20 +007d5170 006eef60 +007d5170 007d9d00 +007d5170 0040a1b0 +007d5170 00aef12b 007d5170 0072fe00 007d5170 0040a5d0 -007d5170 007e9020 -007d5170 007d9d00 -007d5170 006eef60 -007d5170 0040a1b0 -007d5170 00956780 -007d5170 00aef12b 007d5170 0092dc30 -007d58f0 00a112c0 -007d58f0 EXTERNAL:00000220 -007d58f0 007706e0 -007d58f0 00771550 +007d5170 00428b20 +007d5170 007e9020 +007d5170 006e83a0 +007d5170 007706e0 +007d5170 00956780 +007d5170 006e84d0 007d58f0 0049cbf0 -007d58f0 00428b20 +007d58f0 00771550 007d58f0 004a11c0 -007d58f0 006ee440 -007d58f0 009bea80 -007d58f0 00aef15c 007d58f0 00aef12b -007d58f0 00734180 +007d58f0 00a112c0 +007d58f0 00aef15c +007d58f0 EXTERNAL:00000220 007d58f0 00732dc0 +007d58f0 006ee440 +007d58f0 00428b20 +007d58f0 009bea80 +007d58f0 007706e0 +007d58f0 00734180 007d65c0 009bf930 007d65e0 007597e0 007d65e0 009bf930 -007d6670 00a112c0 -007d6670 EXTERNAL:00000220 -007d6670 00aef15c 007d6670 004a11c0 -007d7290 00a112c0 -007d7290 00af08b1 -007d7290 00703be0 -007d7290 00930550 -007d7290 006fe410 -007d7290 00408d00 -007d7290 00407170 +007d6670 00a112c0 +007d6670 00aef15c +007d6670 EXTERNAL:00000220 007d7290 004cdcf0 -007d7290 006eef60 -007d7290 00956780 -007d7290 00aef12b -007d7290 00930220 -007d7290 007d2170 +007d7290 00af08b1 007d7290 00704360 -007d7290 0092dc30 -007d7290 007a6300 -007d7290 004cf210 +007d7290 006eef60 +007d7290 007d2170 +007d7290 00aef12b 007d7290 00780560 +007d7290 00930220 +007d7290 007a6300 +007d7290 00408d00 +007d7290 00a112c0 +007d7290 0092dc30 +007d7290 004cf210 007d7290 007abd90 -007d7740 005cc7e0 -007d7740 0075d850 -007d7740 0042c8e0 -007d7740 00414a80 +007d7290 006fe410 +007d7290 00703be0 +007d7290 00407170 +007d7290 00956780 +007d7290 00930550 007d7740 00a0f4c0 -007d7740 007dd660 -007d7740 007706e0 -007d7740 00763570 -007d7740 00424540 +007d7740 00414a80 007d7740 00aef15c -007d7740 0078ff90 007d7740 004288a0 +007d7740 00763570 +007d7740 0075d850 +007d7740 005cc7e0 007d7740 0075d1d0 +007d7740 0078ff90 +007d7740 0042c8e0 +007d7740 00424540 +007d7740 007706e0 +007d7740 007dd660 +007d7c30 0042c920 +007d7c30 0098db50 +007d7c30 006eef60 007d7c30 00a112c0 007d7c30 EXTERNAL:00000220 -007d7c30 0042c920 -007d7c30 00428b20 -007d7c30 00740bc0 -007d7c30 006eef60 -007d7c30 0098db50 007d7c30 00aef15c -007d7c30 00956780 -007d7c30 00710480 007d7c30 0092dc30 -007d7c30 004564b0 -007d7c30 0070fb60 -007d7c30 00782630 007d7c30 00431310 -007d8240 006eef60 -007d8240 009a8970 -007d8240 007376c0 -007d8240 0042c920 -007d8240 006fe410 -007d8240 007e90f0 -007d8240 00770ca0 +007d7c30 00710480 +007d7c30 00740bc0 +007d7c30 00428b20 +007d7c30 0070fb60 +007d7c30 004564b0 +007d7c30 00956780 +007d7c30 00782630 007d8240 00813520 007d8240 00af08bd +007d8240 00770ca0 +007d8240 0042c920 +007d8240 006eef60 +007d8240 006fe410 +007d8240 007e90f0 +007d8240 007376c0 +007d8240 009a8970 007d83f0 006eef60 007d83f0 0041d540 -007d83f0 00956780 007d83f0 006fe410 -007d83f0 0041d520 007d83f0 0092dc30 007d83f0 007cb6e0 -007d8630 00929a20 -007d8630 007706e0 +007d83f0 0041d520 +007d83f0 00956780 007d8630 00930220 007d8630 009303f0 +007d8630 007706e0 +007d8630 00929a20 007d8740 00763570 -007d87a0 0040d040 -007d87a0 00408e00 -007d87a0 006fe410 -007d87a0 0040a5d0 -007d87a0 00408830 -007d87a0 004cdcf0 -007d87a0 006eef60 -007d87a0 0040b430 -007d87a0 00407ae0 -007d87a0 0040a1b0 007d87a0 00407690 +007d87a0 004cdcf0 +007d87a0 0040d040 +007d87a0 00408830 +007d87a0 006eef60 +007d87a0 0040a1b0 +007d87a0 0040a5d0 +007d87a0 00407ae0 007d87a0 00407f10 007d87a0 004cf210 007d87a0 004087a0 -007d8980 007588a0 -007d8980 00af08b1 -007d8980 007d8980 -007d8980 00630450 +007d87a0 00408e00 +007d87a0 006fe410 +007d87a0 0040b430 007d8980 0075bf00 +007d8980 00af08b1 +007d8980 00a648b0 +007d8980 007588a0 +007d8980 00630450 +007d8980 00759950 +007d8980 00763570 +007d8980 007d8980 007d8980 0041af60 007d8980 007ddd20 -007d8980 00a648b0 -007d8980 00763570 -007d8980 00759950 -007d8d20 007588a0 -007d8d20 0042c8e0 -007d8d20 007d8d20 -007d8d20 00af08b1 -007d8d20 00a0f4c0 -007d8d20 00428b20 -007d8d20 009bf930 -007d8d20 00763570 -007d8d20 00416440 -007d8d20 0041af60 -007d8d20 00759950 007d8d20 007597e0 -007d8d20 006eef60 +007d8d20 00a0f4c0 007d8d20 009be080 -007d8d20 00651990 -007d8d20 00aef15c -007d8d20 007cae60 -007d8d20 0075bf00 -007d8d20 EXTERNAL:00000262 +007d8d20 00af08b1 +007d8d20 006eef60 007d8d20 00630560 +007d8d20 007cae60 +007d8d20 007d8d20 +007d8d20 00759950 +007d8d20 00aef15c +007d8d20 00763570 +007d8d20 0041af60 +007d8d20 009bf930 +007d8d20 0075bf00 +007d8d20 00428b20 +007d8d20 0042c8e0 +007d8d20 EXTERNAL:00000262 +007d8d20 007588a0 +007d8d20 00416440 +007d8d20 00651990 007d9180 004cdcf0 007d9180 004cf210 007d9200 007eb870 -007d9200 00956780 007d9200 00930220 007d9200 0092dc30 -007d93b0 0040bd50 -007d93b0 007bc740 -007d93b0 007bebb0 -007d93b0 006fe410 -007d93b0 00416440 -007d93b0 00763570 -007d93b0 007ca840 -007d93b0 0040a5d0 +007d9200 00956780 007d93b0 00408830 -007d93b0 007d2000 -007d93b0 007cafe0 +007d93b0 007abe20 007d93b0 006eef60 007d93b0 0040a1b0 -007d93b0 00956780 -007d93b0 0075bf00 +007d93b0 007d2000 +007d93b0 0040a5d0 +007d93b0 00763570 007d93b0 0092dc30 +007d93b0 007bebb0 +007d93b0 007bc740 007d93b0 00407f10 -007d93b0 007abe20 -007d96f0 007a2220 -007d96f0 00930550 -007d96f0 007d96f0 -007d96f0 00763570 -007d96f0 0041af60 -007d96f0 0040a5d0 +007d93b0 0040bd50 +007d93b0 007ca840 +007d93b0 0075bf00 +007d93b0 006fe410 +007d93b0 00416440 +007d93b0 00956780 +007d93b0 007cafe0 007d96f0 00408830 007d96f0 0040a1b0 -007d96f0 007d9b70 +007d96f0 0040a5d0 007d96f0 009ba000 -007d96f0 0075bf00 +007d96f0 007d9b70 +007d96f0 00763570 +007d96f0 0041af60 007d96f0 00407f10 -007d96f0 EXTERNAL:00000262 007d96f0 004cf210 +007d96f0 007a2220 +007d96f0 0075bf00 +007d96f0 007d96f0 007d96f0 007cc200 +007d96f0 EXTERNAL:00000262 +007d96f0 00930550 007d9b70 0040bd50 007d9b70 0040c000 -007d9b70 0040bf30 -007d9b70 00416440 007d9b70 00694fb0 +007d9b70 00416440 +007d9b70 0040bf30 007d9ca0 00a112c0 +007d9d00 00732ef0 +007d9d00 007dd690 +007d9d00 0040cf00 +007d9d00 00aef12b +007d9d00 0072fd10 007d9d00 00a112c0 +007d9d00 007de420 +007d9d00 00aef15c 007d9d00 EXTERNAL:00000220 007d9d00 00753660 -007d9d00 00aef15c -007d9d00 00aef12b -007d9d00 00415bc0 -007d9d00 007dd690 -007d9d00 007de420 -007d9d00 0072fd10 -007d9d00 00732ef0 007d9d00 007300d0 -007d9d00 0040cf00 +007d9d00 00415bc0 007da770 007706e0 007da7a0 0072fd10 -007da810 0041d540 -007da810 007dd380 -007da810 007ca2d0 -007da810 007caaa0 -007da810 006fe410 007da810 007cabc0 -007da810 0041d520 -007da810 007ca840 -007da810 007cafe0 -007da810 007afc20 -007da810 007ca7c0 -007da810 006eef60 -007da810 007c9ea0 007da810 00758d00 -007da810 00956780 +007da810 007ca2d0 +007da810 006eef60 +007da810 0041d540 +007da810 007ca7c0 007da810 0092dc30 -007dac80 007abe90 -007dac80 00a10030 -007dac80 007d2470 +007da810 007c9ea0 +007da810 0041d520 +007da810 007dd380 +007da810 007ca840 +007da810 006fe410 +007da810 007caaa0 +007da810 007afc20 +007da810 00956780 +007da810 007cafe0 007dac80 00407f10 +007dac80 007abe90 007dac80 007aaea0 -007dad80 007340b0 -007dad80 007706e0 +007dac80 007d2470 +007dac80 00a10030 007dad80 0042c920 007dad80 0072fd10 -007daed0 0075f0e0 -007daed0 EXTERNAL:00000220 -007daed0 00aef15c +007dad80 007706e0 +007dad80 007340b0 007daed0 007bc740 +007daed0 0075f0e0 007daed0 007d7740 +007daed0 00aef15c +007daed0 EXTERNAL:00000220 007daed0 00763570 007dafb0 007cb6e0 007daff0 00930220 007daff0 007cb6e0 007db0a0 00930220 007db0a0 007cb6e0 -007db160 0075d850 007db160 009303f0 +007db160 0075d850 007db160 007cb6e0 007db2d0 007cb6e0 -007db3b0 EXTERNAL:00000220 -007db3b0 00aef15c 007db3b0 007daed0 007db3b0 00757ac0 -007db3b0 0041af60 007db3b0 00a648b0 +007db3b0 00aef15c +007db3b0 EXTERNAL:00000220 007db3b0 007a6450 +007db3b0 0041af60 007db740 00499190 -007db740 007b2230 007db740 00734a80 007db740 007706e0 007db740 007c4180 +007db740 007b2230 007db860 004288a0 -007db8d0 00a112c0 007db8d0 007db860 007db8d0 00aef12b -007dba30 007706e0 +007db8d0 00a112c0 007dba30 009305f0 -007dbba0 00a112c0 -007dbba0 00aef12b +007dba30 007706e0 007dbba0 00930220 +007dbba0 00aef12b 007dbba0 0072fd10 -007dbc80 00a112c0 -007dbc80 00aef12b +007dbba0 00a112c0 007dbc80 00930220 +007dbc80 00aef12b 007dbc80 0072fd10 -007dbd70 00a112c0 -007dbd70 009a8970 +007dbc80 00a112c0 007dbd70 00428590 -007dbd70 007ec0a0 007dbd70 0072fd10 +007dbd70 00a112c0 +007dbd70 007ec0a0 +007dbd70 009a8970 007dbd70 0075d1d0 +007dbeb0 00770ca0 +007dbeb0 0042c920 +007dbeb0 00930220 +007dbeb0 0072fd10 007dbeb0 00a112c0 007dbeb0 EXTERNAL:00000220 007dbeb0 00aef15c -007dbeb0 00930220 -007dbeb0 0042c920 -007dbeb0 00770ca0 -007dbeb0 0072fd10 -007dc2d0 00a112c0 +007dc2d0 00435a50 007dc2d0 006eef60 007dc2d0 0041d540 -007dc2d0 00aef12b 007dc2d0 006fe410 +007dc2d0 00aef12b +007dc2d0 00a112c0 007dc2d0 0041d520 -007dc2d0 00435a50 007dc620 00428590 007dc6d0 007dce90 007dc720 00aef15c 007dc720 007dce00 -007dc740 00a0f4c0 007dc740 007530f0 +007dc740 00a0f4c0 007dc7b0 004b0f50 -007dc7c0 EXTERNAL:00000220 -007dc7c0 00aef15c 007dc7c0 007ddf80 -007dc840 007de2f0 +007dc7c0 00aef15c +007dc7c0 EXTERNAL:00000220 007dc840 007deaf0 -007dc8d0 EXTERNAL:00000220 +007dc840 007de2f0 007dc8d0 00aef15c +007dc8d0 EXTERNAL:00000220 007dc940 00737f40 007dc940 00af05e5 -007dc9b0 007dec60 007dc9b0 007de4b0 007dc9b0 004d6ee0 -007dca70 007defc0 +007dc9b0 007dec60 007dca70 00af08bd +007dca70 007defc0 +007dcad0 007df140 +007dcad0 0040cf00 007dcad0 00731bf0 007dcad0 0040cf50 007dcad0 0040cee0 -007dcad0 007df140 -007dcad0 0040cf00 007dccd0 007dedb0 007dccd0 00af05e5 -007dcd30 EXTERNAL:00000220 007dcd30 00aef15c +007dcd30 EXTERNAL:00000220 007dcd90 00aef15c 007dcd90 006efde0 -007dce00 EXTERNAL:00000220 007dce00 00aef15c -007dce90 007dde40 +007dce00 EXTERNAL:00000220 007dce90 007ddee0 +007dce90 007dde40 007dcfd0 007ddf80 -007dcff0 007dd240 -007dcff0 007dd1b0 007dcff0 0040cf00 -007dd075 00af05eb +007dcff0 007dd1b0 +007dcff0 007dd240 007dd075 007dd2d0 +007dd075 00af05eb 007dd090 004b0f50 -007dd1b0 EXTERNAL:00000220 -007dd1b0 00aef15c 007dd1b0 007ddf80 +007dd1b0 00aef15c +007dd1b0 EXTERNAL:00000220 007dd240 007de0e0 007dd240 007ddf80 -007dd2d0 EXTERNAL:00000220 007dd2d0 00aef15c +007dd2d0 EXTERNAL:00000220 007dd310 006eef60 007dd3d0 007de1a0 007dd460 00af08cf -007dd4b0 EXTERNAL:00000220 -007dd4b0 00aef15c 007dd4b0 00753230 -007dd4b0 0040ccc0 -007dd4b0 00af05df 007dd4b0 0040cf00 +007dd4b0 0040ccc0 +007dd4b0 00aef15c +007dd4b0 EXTERNAL:00000220 +007dd4b0 00af05df 007dd660 007de7f0 -007dd690 EXTERNAL:00000220 -007dd690 00aef15c -007dd690 00415bc0 -007dd690 0040cee0 007dd690 0040cf00 +007dd690 00aef15c +007dd690 EXTERNAL:00000220 +007dd690 0040cee0 +007dd690 00415bc0 007dd800 00a0f4c0 007dd800 0040cc10 007dd8a0 00407690 -007dd940 007de200 -007dd940 00415bc0 -007dd940 0040cee0 -007dd940 007dd240 -007dd940 007dd8a0 -007dd940 007dd1b0 007dd940 0040cf00 +007dd940 007dd1b0 +007dd940 007dd8a0 +007dd940 0040cee0 +007dd940 007de200 +007dd940 007dd240 +007dd940 00415bc0 007dda8e 007dcfd0 -007dda8e 00af05eb 007dda8e 007dd2d0 -007ddac0 007de200 +007dda8e 00af05eb 007ddac0 007de0e0 -007ddac0 00415bc0 -007ddac0 0040cee0 -007ddac0 007dd240 -007ddac0 007dd1b0 007ddac0 0040cf00 +007ddac0 007dd1b0 +007ddac0 0040cee0 +007ddac0 007de200 +007ddac0 007dd240 +007ddac0 00415bc0 007ddc0b 007dcfd0 -007ddc0b 00af05eb 007ddc0b 007dd2d0 -007ddc40 00415bc0 -007ddc40 0040cee0 -007ddc40 007de290 +007ddc0b 00af05eb 007ddc40 00af08bd 007ddc40 0040cf00 -007ddd20 00415bc0 +007ddc40 007de290 +007ddc40 0040cee0 +007ddc40 00415bc0 +007ddd20 007de3e0 +007ddd20 0040cf00 007ddd20 007de330 007ddd20 0040cee0 007ddd20 007de3a0 -007ddd20 007de3e0 -007ddd20 0040cf00 -007ddf80 0040d040 +007ddd20 00415bc0 007ddf80 00407f10 +007ddf80 0040d040 007ddf80 EXTERNAL:00000262 007de0e0 00407690 007de190 007ddf80 007de200 007ddf80 007de200 007dd8a0 -007de290 EXTERNAL:00000220 007de290 00aef15c -007de330 EXTERNAL:00000220 +007de290 EXTERNAL:00000220 007de330 00aef15c +007de330 EXTERNAL:00000220 007de420 00af05e5 007de4b0 004d3080 -007de4e0 004268e0 -007de4e0 00415bc0 -007de4e0 0042f6f0 -007de4e0 0040cee0 -007de4e0 0042f550 007de4e0 00af08bd 007de4e0 0040cf00 -007de660 EXTERNAL:00000220 -007de660 00aef15c +007de4e0 0042f6f0 +007de4e0 0042f550 +007de4e0 0040cee0 +007de4e0 004268e0 +007de4e0 00415bc0 007de660 00753230 -007de660 0040ccc0 -007de660 00af05df 007de660 0040cf00 +007de660 0040ccc0 +007de660 00aef15c +007de660 EXTERNAL:00000220 +007de660 00af05df 007de7f0 00a0f4c0 -007de7f0 00415fe0 007de7f0 004170d0 007de7f0 00415f80 -007de9f0 EXTERNAL:00000220 -007de9f0 00aef15c -007de9f0 00415bc0 -007de9f0 0040cee0 +007de7f0 00415fe0 007de9f0 0040cf00 -007deaf0 EXTERNAL:00000220 +007de9f0 00aef15c +007de9f0 EXTERNAL:00000220 +007de9f0 0040cee0 +007de9f0 00415bc0 +007deaf0 0040cf00 007deaf0 00aef15c +007deaf0 EXTERNAL:00000220 +007deaf0 0040cee0 007deaf0 007de2f0 007deaf0 00415bc0 -007deaf0 0040cee0 -007deaf0 0040cf00 -007dec60 004d7340 -007dec60 00415bc0 007dec60 004d3080 -007dec60 0040cee0 -007dec60 004d73e0 007dec60 0040cf00 +007dec60 0040cee0 +007dec60 004d7340 +007dec60 004d73e0 +007dec60 00415bc0 007ded73 00af05eb 007ded73 004d7310 007ded73 004d7450 -007dedb0 007df050 -007dedb0 00415bc0 -007dedb0 00af05e5 007dedb0 00af08bd 007dedb0 0040cf00 -007dee40 EXTERNAL:00000220 +007dedb0 007df050 +007dedb0 00af05e5 +007dedb0 00415bc0 +007dee40 0040cf00 007dee40 007df0b0 007dee40 00aef15c -007dee40 00415bc0 +007dee40 EXTERNAL:00000220 007dee40 0040cee0 -007dee40 0040cf00 -007defc0 00415bc0 -007defc0 0040cee0 -007defc0 005cbf50 +007dee40 00415bc0 007defc0 0040cf00 -007df050 EXTERNAL:00000220 +007defc0 005cbf50 +007defc0 0040cee0 +007defc0 00415bc0 007df050 00aef15c +007df050 EXTERNAL:00000220 007df140 0040cf50 007df1e0 00af08ed 007df2b0 00a2a990 007df300 00aef5c4 007df300 00a2a990 -007df3f0 00aef638 007df3f0 00a2ab40 +007df3f0 00aef638 007df450 00aef638 007df450 00a2ae60 007df450 007e26c0 -007df600 007e1730 007df600 00a2ae60 -007df710 00a2ae60 +007df600 007e1730 007df710 007e1450 -007df8e0 007df600 -007df8e0 00a2ae60 +007df710 00a2ae60 007df8e0 007e15a0 +007df8e0 00a2ae60 +007df8e0 007df600 +007dfaf0 007e2e00 +007dfaf0 00aef5c4 +007dfaf0 007e2870 +007dfaf0 00aef12b +007dfaf0 00a112c0 +007dfaf0 00aef15c 007dfaf0 EXTERNAL:00000220 -007dfaf0 007e2c90 -007dfaf0 007e2fa0 +007dfaf0 004155d0 007dfaf0 008f5ad0 007dfaf0 007e2a30 -007dfaf0 00413b90 -007dfaf0 00aef5c4 007dfaf0 00a648b0 -007dfaf0 007e2f60 -007dfaf0 EXTERNAL:0000023e -007dfaf0 00aeff60 -007dfaf0 00aef15c -007dfaf0 00421680 -007dfaf0 0040ccd0 -007dfaf0 00a112c0 -007dfaf0 007e2e00 -007dfaf0 00aef638 -007dfaf0 007e2870 -007dfaf0 0040d040 -007dfaf0 00413c70 -007dfaf0 004155d0 -007dfaf0 00a0f4e0 -007dfaf0 007e28f0 -007dfaf0 007e2bf0 007dfaf0 00a178d0 +007dfaf0 007e2f60 +007dfaf0 007e28f0 007dfaf0 EXTERNAL:0000023f -007dfaf0 00414730 -007dfaf0 00aef12b +007dfaf0 0040ccd0 +007dfaf0 00421680 +007dfaf0 007e2bf0 +007dfaf0 00413c70 +007dfaf0 0040d040 +007dfaf0 00413b90 007dfaf0 00413bf0 +007dfaf0 007e2fa0 +007dfaf0 00aeff60 +007dfaf0 EXTERNAL:0000023e +007dfaf0 00aef638 007dfaf0 0040ccc0 +007dfaf0 007e2c90 +007dfaf0 00414730 +007dfaf0 00a0f4e0 007e1410 0040d040 007e1430 0040d040 -007e1450 00a2b1e0 007e1450 00a2ae60 007e1450 00a2add0 +007e1450 00a2b1e0 007e15a0 007e1730 007e15a0 00a112c0 007e1730 00a2ae60 -007e17b0 00665c60 +007e17b0 007e15a0 +007e17b0 007df690 +007e17b0 007e1d50 007e17b0 006dac30 007e17b0 00af0905 007e17b0 004288a0 -007e17b0 007df690 007e17b0 004e4690 -007e17b0 007e15a0 007e17b0 007df8e0 -007e17b0 007e1d50 -007e1d50 00a112c0 -007e1d50 007df600 +007e17b0 00665c60 007e1d50 007df5b0 +007e1d50 007df600 +007e1d50 00a112c0 007e1d50 007df710 -007e1e70 00a112c0 007e1e70 007df5b0 +007e1e70 00a112c0 007e1e70 007df710 007e2080 007e1d50 007e2280 006da750 @@ -26759,1266 +26759,1266 @@ 007e24e0 007df690 007e2580 007e1450 007e2580 00a2ac00 -007e2630 EXTERNAL:00000220 -007e2630 00aef15c 007e2630 0040d040 -007e26c0 EXTERNAL:00000220 +007e2630 00aef15c +007e2630 EXTERNAL:00000220 007e26c0 007e2e00 007e26c0 00aef15c +007e26c0 EXTERNAL:00000220 007e27a0 0040d040 -007e27d0 EXTERNAL:00000220 007e27d0 00aef15c +007e27d0 EXTERNAL:00000220 007e2810 007e2e00 -007e2830 EXTERNAL:00000220 007e2830 00aef15c +007e2830 EXTERNAL:00000220 +007e28f0 0040cf00 007e28f0 007e2870 -007e28f0 00415bc0 007e28f0 007e2e40 007e28f0 0040cee0 -007e28f0 0040cf00 -007e2a30 0040cf50 +007e28f0 00415bc0 +007e2a30 0040cf00 007e2a30 007e2870 -007e2a30 00415bc0 +007e2a30 0040cf50 007e2a30 007e2e40 007e2a30 0040cee0 -007e2a30 0040cf00 +007e2a30 00415bc0 007e2bc7 00af05eb -007e2bc7 007e27d0 007e2bc7 007e27a0 +007e2bc7 007e27d0 007e2bf0 0040cf50 -007e2c90 00415bc0 +007e2c90 007e2bf0 +007e2c90 0040cf00 007e2c90 007e3060 007e2c90 0040cee0 007e2c90 007e2ed0 -007e2c90 007e2bf0 -007e2c90 0040cf00 +007e2c90 00415bc0 007e2dd0 00af05eb 007e2dd0 007e2830 007e2dd0 007e2810 007e2e00 0040d040 -007e2e40 EXTERNAL:00000220 -007e2e40 00aef15c 007e2e40 0040d040 -007e2ed0 EXTERNAL:00000220 +007e2e40 00aef15c +007e2e40 EXTERNAL:00000220 007e2ed0 007e2e00 007e2ed0 00aef15c +007e2ed0 EXTERNAL:00000220 007e2f60 007e2e00 007e2f60 007df200 007e2fa0 007e2e00 -007e2fa0 007df200 +007e2fa0 0040cf00 007e2fa0 007e3060 007e2fa0 0040cee0 007e2fa0 007e2ed0 -007e2fa0 0040cf00 +007e2fa0 007df200 007e3060 007e2e00 007e3190 004149d0 007e31a0 00a0f4c0 007e31a0 007e3260 -007e3230 00aef15c 007e3230 00424540 +007e3230 00aef15c 007e3260 00424540 007e3340 00417430 -007e33c0 0070bec0 -007e33c0 004cdd30 -007e33c0 EXTERNAL:00000220 -007e33c0 007e8950 -007e33c0 006eef60 -007e33c0 00aef15c -007e33c0 00812c90 -007e33c0 007e8750 007e33c0 006ac710 -007e33c0 0042f430 -007e33c0 0040cee0 -007e33c0 004149d0 -007e33c0 007f0df0 -007e33c0 007e8d60 -007e33c0 007e8620 -007e33c0 0070bf10 -007e33c0 00af05e5 -007e33c0 00af08bd -007e33c0 007e4860 -007e33c0 007e85a0 -007e33c0 007e7fb0 -007e33c0 007e48b0 -007e33c0 00aef12b -007e33c0 007e6300 -007e33c0 006d82d0 -007e33c0 00499d20 -007e33c0 007e86b0 -007e33c0 00435a50 007e33c0 007e8010 -007e33c0 007e3340 +007e33c0 00aef12b +007e33c0 007e7fb0 +007e33c0 00aef15c +007e33c0 007e85a0 +007e33c0 EXTERNAL:00000220 +007e33c0 0042f430 +007e33c0 0070bec0 +007e33c0 006d82d0 +007e33c0 007e6300 +007e33c0 007e8d60 +007e33c0 007f0df0 +007e33c0 007e48b0 +007e33c0 00812c90 +007e33c0 006eef60 +007e33c0 004149d0 +007e33c0 0040cee0 +007e33c0 00499d20 +007e33c0 007e4860 +007e33c0 00af05e5 +007e33c0 0070bf10 +007e33c0 00af08bd +007e33c0 00435a50 007e33c0 0040cf00 -007e4890 007e8620 +007e33c0 007e8750 +007e33c0 007e86b0 +007e33c0 007e3340 +007e33c0 007e8950 +007e33c0 004cdd30 +007e33c0 007e8620 007e4890 004149d0 -007e48b0 0040cee0 +007e4890 007e8620 007e48b0 00af08bd 007e48b0 0040cf00 +007e48b0 0040cee0 007e4940 007e33c0 -007e4940 00af08b1 007e4940 007f0df0 +007e4940 00a0f4c0 +007e4940 00af08b1 +007e4940 006eef60 007e4940 0041d540 007e4940 006be840 -007e4940 00a0f4c0 -007e4940 0041d520 -007e4940 006fd350 -007e4940 00424540 -007e4940 006eef60 -007e4940 007e6300 007e4940 004288a0 -007e4940 00415bd0 -007e4940 004170d0 -007e4940 007f0800 +007e4940 0041d520 007e4940 00435a50 +007e4940 006fd350 +007e4940 004170d0 007e4940 007e3340 -007e5340 006eef60 -007e5340 007e33c0 -007e5340 007e7fb0 -007e5340 00af08b1 -007e5340 006be840 -007e5340 00aef12b -007e5340 007f0800 -007e5340 006bec40 -007e5340 00435a50 -007e5340 007e3340 +007e4940 00424540 +007e4940 007e6300 +007e4940 00415bd0 +007e4940 007f0800 007e5340 0067f170 +007e5340 007e33c0 +007e5340 00435a50 +007e5340 00af08b1 +007e5340 006eef60 +007e5340 00aef12b +007e5340 007e3340 007e5340 0067f1d0 -007e6300 006eef60 +007e5340 007e7fb0 +007e5340 006be840 +007e5340 006bec40 +007e5340 007f0800 007e6300 007f0780 007e6300 007e33c0 +007e6300 00435a50 007e6300 00af08b1 +007e6300 006eef60 007e6300 0041d540 +007e6300 007e3340 +007e6300 007e4940 007e6300 006be840 007e6300 006bec40 007e6300 0041d520 -007e6300 007e4940 -007e6300 00435a50 -007e6300 007e3340 -007e6650 007f0780 +007e6650 0067f070 007e6650 007e33c0 007e6650 00af08b1 +007e6650 006eef60 007e6650 0041d540 +007e6650 006ac710 +007e6650 007e4940 007e6650 006be840 007e6650 0041d520 -007e6650 007e4940 -007e6650 0067f070 -007e6650 006eef60 -007e6650 006ac710 -007e6650 007f0800 -007e6650 006bec40 -007e6650 00435a50 +007e6650 007f0780 007e6650 00813520 +007e6650 00435a50 007e6650 007e3340 -007e6b90 006eef60 +007e6650 006bec40 +007e6650 007f0800 007e6b90 007e33c0 +007e6b90 007e3260 +007e6b90 006eef60 007e6b90 0041d540 +007e6b90 006ac710 +007e6b90 006d82d0 +007e6b90 00499d60 +007e6b90 00682a50 007e6b90 006be840 007e6b90 00682740 -007e6b90 006d82d0 -007e6b90 00682a50 -007e6b90 006ac710 -007e6b90 00499d20 007e6b90 0041d520 -007e6b90 00499d60 -007e6b90 007e3260 -007e7070 EXTERNAL:00000220 -007e7070 007e8950 -007e7070 007e84c0 -007e7070 00aef15c -007e7070 00aef12b -007e7070 007e8810 -007e7070 007e8750 -007e7070 0040cee0 -007e7070 004149d0 +007e6b90 00499d20 007e7070 00af08bd 007e7070 0040cf00 -007e7820 EXTERNAL:00000220 -007e7820 007e8950 -007e7820 007e84c0 -007e7820 00aef15c -007e7820 00aef12b -007e7820 007e8810 -007e7820 007e8750 -007e7820 0040cee0 -007e7820 004149d0 +007e7070 007e8750 +007e7070 007e8810 +007e7070 00aef12b +007e7070 007e84c0 +007e7070 004149d0 +007e7070 00aef15c +007e7070 EXTERNAL:00000220 +007e7070 0040cee0 +007e7070 007e8950 007e7820 00af08bd 007e7820 0040cf00 -007e8010 00a155c0 +007e7820 007e8750 +007e7820 007e8810 +007e7820 00aef12b +007e7820 007e84c0 +007e7820 004149d0 +007e7820 00aef15c +007e7820 EXTERNAL:00000220 +007e7820 0040cee0 +007e7820 007e8950 007e8010 00435a50 +007e8010 00a155c0 007e84c0 007e8d60 007e84c0 007e48b0 007e84c0 004149d0 007e85a0 007e48b0 -007e85a0 007e8810 007e85a0 007e8750 -007e8620 EXTERNAL:00000220 -007e8620 00aef15c +007e85a0 007e8810 007e8620 004149d0 -007e86b0 00415bc0 +007e8620 00aef15c +007e8620 EXTERNAL:00000220 007e86b0 00752900 +007e86b0 00415bc0 007e86e0 004149d0 -007e8710 EXTERNAL:00000220 007e8710 00aef15c -007e8750 007e8b50 +007e8710 EXTERNAL:00000220 007e8750 004149d0 +007e8750 007e8b50 +007e8810 0040cf00 007e8810 007e8c90 -007e8810 00415bc0 007e8810 007e8ac0 007e8810 0040cee0 -007e8810 0040cf00 -007e8950 007e8c90 +007e8810 00415bc0 +007e8950 0040cf00 007e8950 007e48b0 -007e8950 00415bc0 +007e8950 007e8c90 007e8950 007e8ac0 007e8950 0040cee0 -007e8950 0040cf00 +007e8950 00415bc0 007e8a8b 00af05eb -007e8a8b 007e8710 007e8a8b 007e86e0 -007e8ac0 EXTERNAL:00000220 -007e8ac0 00aef15c +007e8a8b 007e8710 007e8ac0 004149d0 +007e8ac0 00aef15c +007e8ac0 EXTERNAL:00000220 007e8b50 007e48b0 007e8b50 004149d0 007e8d00 004149d0 -007e8d60 EXTERNAL:00000220 -007e8d60 00aef15c 007e8d60 007e48b0 +007e8d60 004149d0 +007e8d60 00aef15c +007e8d60 EXTERNAL:00000220 007e8d60 007e8d00 007e8d60 007e8b50 -007e8d60 004149d0 007e8f90 00a112c0 007e9020 00a112c0 007e9080 00a112c0 007e90f0 00a112c0 -007e9400 00a0f550 -007e9400 EXTERNAL:00000220 -007e9400 00a0f4c0 -007e9400 008f5ad0 -007e9400 00aef5c4 -007e9400 00af05e5 -007e9400 007ea630 -007e9400 0098f720 -007e9400 00aef15c -007e9400 00aef12b -007e9400 00417930 007e9400 00932810 -007e9400 009321c0 +007e9400 00a0f4c0 007e9400 0098f960 +007e9400 00aef5c4 +007e9400 00aef12b +007e9400 00aef15c +007e9400 EXTERNAL:00000220 +007e9400 0098f720 +007e9400 00af05e5 +007e9400 008f5ad0 +007e9400 007ea630 007e9400 004074c0 -007e9ba0 00aef638 +007e9400 00a0f550 +007e9400 00417930 +007e9400 009321c0 +007e9ba0 004b3950 007e9ba0 0040d040 007e9ba0 00499380 007e9ba0 00932570 -007e9ba0 0098f8c0 -007e9ba0 00a648b0 -007e9ba0 00424540 007e9ba0 00aef15c -007e9ba0 00417e50 -007e9ba0 004b3950 007e9ba0 00407f10 -007e9ba0 EXTERNAL:00000262 +007e9ba0 00aef638 007e9ba0 004cf210 -007e9ba0 007ea0c0 007e9ba0 004087a0 +007e9ba0 00a648b0 +007e9ba0 00417e50 +007e9ba0 007ea0c0 +007e9ba0 EXTERNAL:00000262 +007e9ba0 00424540 +007e9ba0 0098f8c0 007e9ba0 00827f30 -007ea0c0 00aef15c 007ea0c0 00a648b0 +007ea0c0 00aef15c 007ea1a0 007ea2d0 -007ea2d0 009be080 -007ea2d0 00708250 007ea2d0 009305f0 +007ea2d0 009be080 007ea2d0 00930980 -007ea3e0 009be080 -007ea3e0 00708250 -007ea3e0 007706e0 -007ea3e0 004288a0 -007ea3e0 00417870 +007ea2d0 00708250 007ea3e0 00435a50 +007ea3e0 009be080 +007ea3e0 00417870 007ea3e0 00930980 +007ea3e0 004288a0 +007ea3e0 007706e0 +007ea3e0 00708250 007ea5d0 0092e560 007ea5d0 0092e230 -007ea630 00a0f550 -007ea630 007090c0 -007ea630 0040c3b0 -007ea630 009588a0 007ea630 00a11f30 +007ea630 0040c3b0 +007ea630 007090c0 +007ea630 00a0f550 +007ea630 009588a0 007eb010 00418230 007eb010 00af05e5 -007eb1b0 00a112c0 -007eb1b0 006eef60 -007eb1b0 0082d030 -007eb1b0 008206e0 -007eb1b0 0074efd0 +007eb1b0 007e1e70 +007eb1b0 007e1d50 007eb1b0 0074f690 -007eb1b0 0074ef70 +007eb1b0 006eef60 +007eb1b0 0074efd0 +007eb1b0 00a112c0 +007eb1b0 007e2580 +007eb1b0 0082d030 007eb1b0 0074e9b0 007eb1b0 007ea2d0 -007eb1b0 007e2580 -007eb1b0 007e1d50 -007eb1b0 007e1e70 -007eb870 00a112c0 -007eb870 0082d030 +007eb1b0 008206e0 +007eb1b0 0074ef70 +007eb870 009305f0 007eb870 0074f690 007eb870 00417870 -007eb870 009305f0 +007eb870 00a112c0 +007eb870 0082d030 007ebc40 007e1e70 -007ebca0 00a112c0 -007ebca0 0070b2e0 007ebca0 00709db0 +007ebca0 0070b2e0 +007ebca0 00a112c0 007ebca0 007f0800 -007ebd50 00a112c0 007ebd50 0070b2e0 +007ebd50 00a112c0 007ebd50 007f0800 -007ebe20 00732dc0 007ebe20 00694fb0 +007ebe20 00732dc0 007ec080 007ec0a0 -007ec0a0 00733610 007ec0a0 007ebe20 -007ec100 00a112c0 -007ec100 00929aa0 -007ec100 00706940 -007ec100 0074b710 -007ec100 007e90f0 -007ec100 00866490 -007ec100 007e9020 -007ec100 006f95a0 -007ec100 00929b00 +007ec0a0 00733610 007ec100 00aef12b +007ec100 00a112c0 007ec100 006c07e0 007ec100 006f9400 -007ec100 00417870 -007ec100 00734180 +007ec100 0074b710 +007ec100 00706940 007ec100 0074b830 +007ec100 006f95a0 +007ec100 00929aa0 +007ec100 007e90f0 +007ec100 00417870 +007ec100 00929b00 +007ec100 007e9020 +007ec100 00734180 007ec100 00865340 +007ec100 00866490 +007ed240 006f95a0 007ed240 00740bc0 007ed240 006f9400 -007ed240 006f95a0 -007ed310 00822d20 -007ed310 007ed2a0 -007ed310 007ec100 -007ed310 00af08b1 007ed310 00a0f4c0 -007ed310 006eee10 -007ed310 0074b710 -007ed310 006ee340 -007ed310 0074ef70 -007ed310 0074bac0 -007ed310 004d3080 -007ed310 0041d520 -007ed310 006b8410 -007ed310 007cb6e0 -007ed310 0070b2e0 -007ed310 00709db0 -007ed310 004e45c0 -007ed310 00407f10 -007ed310 00a112c0 -007ed310 00665c60 -007ed310 0041d540 -007ed310 007eed10 -007ed310 00435c70 -007ed310 007ec0a0 -007ed310 0074e9b0 -007ed310 007e90f0 -007ed310 00428b20 -007ed310 007e9080 -007ed310 009be140 -007ed310 006ee240 -007ed310 007e9020 -007ed310 00738470 007ed310 009be080 007ed310 00aef12b +007ed310 007e9080 +007ed310 00a112c0 +007ed310 0074e9b0 +007ed310 007ed2a0 +007ed310 0074bac0 +007ed310 009be140 +007ed310 00709db0 +007ed310 00428b20 007ed310 009be6b0 -007ee7e0 00a112c0 -007ee7e0 006eef60 -007ee7e0 00709db0 -007ee7e0 00a0f4c0 +007ed310 007e90f0 +007ed310 0074ef70 +007ed310 006eee10 +007ed310 004e45c0 +007ed310 007cb6e0 +007ed310 007ec100 +007ed310 004d3080 +007ed310 00435c70 +007ed310 00af08b1 +007ed310 0041d540 +007ed310 007eed10 +007ed310 0070b2e0 +007ed310 006b8410 +007ed310 007ec0a0 +007ed310 00665c60 +007ed310 0074b710 +007ed310 0041d520 +007ed310 00407f10 +007ed310 00738470 +007ed310 006ee240 +007ed310 007e9020 +007ed310 00822d20 +007ed310 006ee340 007ee7e0 00709c40 -007eea90 00a112c0 -007eea90 006eef60 -007eea90 00af08b1 -007eea90 00a0f4c0 -007eea90 00aef12b +007ee7e0 00a0f4c0 +007ee7e0 00709db0 +007ee7e0 006eef60 +007ee7e0 00a112c0 007eea90 00709c40 +007eea90 00a0f4c0 +007eea90 00af08b1 +007eea90 006eef60 007eea90 004074c0 +007eea90 00aef12b +007eea90 00a112c0 007eece0 00a112c0 -007eeeb0 00aefca0 -007eeeb0 006e1d70 -007eeeb0 00592200 007eeeb0 00a0f4c0 -007eeeb0 007eed10 007eeeb0 00417170 -007eeeb0 006eee10 -007eeeb0 006ee340 -007eeeb0 004d7190 -007eeeb0 004d7130 +007eeeb0 007eed10 007eeeb0 00417430 -007eeeb0 006a89d0 -007eeeb0 004d3130 +007eeeb0 006e1d70 007eeeb0 00827f70 +007eeeb0 00aefca0 +007eeeb0 004d7190 +007eeeb0 004d3130 +007eeeb0 006a89d0 007eeeb0 00499d60 -007ef420 004d74a0 -007ef420 006e2570 -007ef420 006ac530 -007ef420 006d03e0 -007ef420 006e17c0 +007eeeb0 00592200 +007eeeb0 006eee10 +007eeeb0 004d7130 +007eeeb0 006ee340 007ef420 004cdcf0 007ef420 0067f070 -007ef420 006eef60 -007ef420 00812d00 -007ef420 006e1a80 -007ef420 00417870 -007ef420 006e21f0 -007ef420 0081e9d0 -007ef420 00407f10 -007ef420 00a10600 -007ef420 004cf210 -007ef420 00813520 +007ef420 006e2570 007ef420 00665500 -007efa50 006f8120 +007ef420 006eef60 +007ef420 006d03e0 +007ef420 006e17c0 +007ef420 0081e9d0 +007ef420 00813520 +007ef420 00407f10 +007ef420 004cf210 +007ef420 004d74a0 +007ef420 006ac530 +007ef420 006e21f0 +007ef420 00a10600 +007ef420 00417870 +007ef420 006e1a80 +007ef420 00812d00 007efa50 008158a0 -007efa50 00571170 007efa50 007fb250 +007efa50 004d7530 +007efa50 006f8120 +007efa50 007eeeb0 +007efa50 00571170 007efa50 004d3130 007efa50 009e5960 -007efa50 004d7530 -007efa50 007eeeb0 007efa50 009bb840 +007eff50 006b7be0 +007eff50 008167e0 007eff50 007ef420 +007eff50 004d6ee0 007eff50 0041d540 007eff50 006fe410 007eff50 0041d520 -007eff50 004d6ee0 -007eff50 008167e0 -007eff50 006b7be0 -007f01c0 00705ee0 -007f01c0 00740bc0 -007f01c0 00aef5af -007f01c0 006fd7c0 -007f01c0 00aef12b -007f01c0 00710480 -007f01c0 00417870 -007f01c0 007499a0 -007f01c0 006ef590 007f01c0 00435a50 +007f01c0 007499a0 +007f01c0 006fd7c0 +007f01c0 00740bc0 007f01c0 00aef29d +007f01c0 00aef12b +007f01c0 00417870 +007f01c0 006ef590 007f01c0 00aef253 +007f01c0 00705ee0 +007f01c0 00aef5af +007f01c0 00710480 007f0780 007f0800 007f0870 007f0800 007f0b40 007f0800 -007f0df0 0070bec0 -007f0df0 00aef12b -007f0df0 007f0800 -007f0df0 0044bfb0 007f0df0 0070bf10 007f0df0 00435a50 -007f1380 EXTERNAL:00000220 -007f1380 00684f30 -007f1380 0040bd50 +007f0df0 0070bec0 +007f0df0 00aef12b +007f0df0 0044bfb0 +007f0df0 007f0800 007f1380 00990a40 -007f1380 008f5ad0 -007f1380 0074f690 -007f1380 0093d960 +007f1380 00a18300 +007f1380 00aef12b 007f1380 00aef15c -007f1380 008283d0 -007f1380 006836c0 -007f1380 00a0f550 -007f1380 0082d030 -007f1380 0040c000 -007f1380 00709150 -007f1380 0040bf30 -007f1380 0040c440 -007f1380 009588a0 +007f1380 EXTERNAL:00000220 007f1380 0074e9b0 007f1380 007523e0 -007f1380 007e9020 007f1380 006856c0 -007f1380 00a19180 -007f1380 00a18300 -007f1380 00993840 -007f1380 0074efd0 -007f1380 00aef12b +007f1380 00709150 007f1380 00a18230 +007f1380 008f5ad0 +007f1380 006836c0 +007f1380 00993840 +007f1380 0040c440 +007f1380 00684f30 +007f1380 0093d960 +007f1380 008283d0 +007f1380 0082d030 +007f1380 009588a0 +007f1380 0040bd50 007f1380 0040cf00 +007f1380 0074f690 +007f1380 0074efd0 +007f1380 0040c000 +007f1380 007e9020 +007f1380 00a19180 +007f1380 00a0f550 +007f1380 0040bf30 007f2070 007f1380 007f2390 00a648b0 007f2390 EXTERNAL:00000262 -007f2800 00a112c0 -007f2800 00414a80 -007f2800 00aef15c -007f2800 00429f50 007f2800 004cf210 -007f2800 009306c0 007f2800 00424540 -007f7a40 007eea90 -007f7a40 00a112c0 +007f2800 00414a80 +007f2800 00a112c0 +007f2800 00aef15c +007f2800 009306c0 +007f2800 00429f50 +007f7a40 0074ea50 007f7a40 0041d540 -007f7a40 00706940 +007f7a40 006eef60 +007f7a40 0067f1d0 +007f7a40 00a112c0 +007f7a40 0070d360 007f7a40 0074e9b0 -007f7a40 00428b20 +007f7a40 006f9400 007f7a40 0041d520 +007f7a40 00710480 +007f7a40 00706940 +007f7a40 0074bba0 +007f7a40 0074bae0 007f7a40 006f95a0 007f7a40 00740bc0 -007f7a40 0074bae0 -007f7a40 006eef60 -007f7a40 0070d360 -007f7a40 0074bba0 -007f7a40 006f9400 -007f7a40 00710480 +007f7a40 00428b20 +007f7a40 0070fb60 007f7a40 00710fa0 007f7a40 00417870 007f7a40 00710dd0 -007f7a40 0070fb60 -007f7a40 0074ea50 -007f7a40 0067f1d0 -007f8190 00a112c0 -007f8190 006eef60 -007f8190 00709db0 -007f8190 009be080 -007f8190 00956780 -007f8190 00a0f4c0 -007f8190 006fe410 -007f8190 007f0800 +007f7a40 007eea90 007f8190 00709c40 +007f8190 00a0f4c0 +007f8190 009be080 +007f8190 00709db0 +007f8190 006eef60 +007f8190 006fe410 +007f8190 00a112c0 007f8190 0092dc30 -007f83b0 007eea90 -007f83b0 EXTERNAL:00000220 -007f83b0 005cc070 -007f83b0 00af08b1 -007f83b0 00749830 -007f83b0 0042c920 -007f83b0 006ef590 -007f83b0 0041d520 -007f83b0 0042c880 -007f83b0 006eef60 -007f83b0 00aef15c -007f83b0 00956780 -007f83b0 00710fa0 -007f83b0 007499a0 -007f83b0 00710dd0 -007f83b0 00aef29d -007f83b0 00aef253 -007f83b0 0067f1d0 -007f83b0 00a112c0 -007f83b0 00aef5af -007f83b0 0041d540 -007f83b0 00428b20 -007f83b0 0044bfb0 -007f83b0 007e9020 -007f83b0 00740bc0 +007f8190 00956780 +007f8190 007f0800 007f83b0 009be080 -007f83b0 007f92b0 007f83b0 00aef12b +007f83b0 00a112c0 +007f83b0 00aef15c +007f83b0 EXTERNAL:00000220 +007f83b0 006ef590 +007f83b0 0044bfb0 +007f83b0 00aef5af +007f83b0 00428b20 +007f83b0 005cc070 +007f83b0 0042c880 +007f83b0 00956780 +007f83b0 007499a0 +007f83b0 0042c920 +007f83b0 00af08b1 +007f83b0 006eef60 +007f83b0 0041d540 +007f83b0 0067f1d0 007f83b0 0092dc30 +007f83b0 00aef253 +007f83b0 007f92b0 +007f83b0 0041d520 +007f83b0 00749830 +007f83b0 00740bc0 +007f83b0 00aef29d +007f83b0 00710fa0 +007f83b0 007e9020 +007f83b0 00710dd0 +007f83b0 007eea90 +007f92b0 009305f0 007f92b0 00740bc0 -007f92b0 0041b770 007f92b0 009be080 007f92b0 009be6b0 007f92b0 009be750 -007f92b0 009305f0 +007f92b0 0041b770 007f92b0 007cb6e0 007f96f0 009be080 -007f9960 00740bc0 -007f9960 00a112c0 -007f9960 009be080 -007f9960 006f9400 -007f9960 0074e9b0 007f9960 0074ea50 007f9960 006f95a0 -007f9df0 00a112c0 +007f9960 00740bc0 +007f9960 009be080 +007f9960 00a112c0 +007f9960 0074e9b0 +007f9960 006f9400 007f9df0 00706940 007f9df0 006dae20 +007f9df0 00a112c0 +007f9ee0 00813520 +007f9ee0 0081e6e0 007f9ee0 004e45c0 007f9ee0 007f0800 -007f9ee0 0081e6e0 -007f9ee0 00813520 +007fa0e0 00813520 007fa0e0 004e45c0 007fa0e0 007f0800 -007fa0e0 00813520 007fa2a0 007fa360 -007fa360 00714610 -007fa360 007f0800 -007fa360 0041af60 -007fa360 00a648b0 007fa360 00813520 -007fa7d0 00aefca0 +007fa360 00714610 +007fa360 00a648b0 +007fa360 0041af60 +007fa360 007f0800 007fa7d0 00714610 +007fa7d0 00aefca0 007fa7d0 00af08b1 007fa7d0 007f0800 -007fa920 00a112c0 007fa920 009be080 -007fa920 009bea80 -007fa920 00aef12b -007fa920 009be6b0 007fa920 00771550 +007fa920 009be6b0 +007fa920 00aef12b +007fa920 00a112c0 +007fa920 007e9020 +007fa920 009bea80 007fa920 0044bfb0 007fa920 007cb6e0 -007fa920 007e9020 -007fb250 009bf990 -007fb250 007fa2a0 -007fb250 00705080 -007fb250 00733610 -007fb250 006f9770 -007fb250 0074bac0 -007fb250 0041af60 -007fb250 0041d520 -007fb250 00a648b0 007fb250 0090b010 -007fb250 007c3980 -007fb250 009bea80 -007fb250 0095a7b0 -007fb250 00417870 -007fb250 009be750 -007fb250 008380f0 -007fb250 00866220 -007fb250 0071f600 -007fb250 007e1d50 -007fb250 007ed240 -007fb250 007ec080 -007fb250 0091c7e0 -007fb250 006e30a0 -007fb250 00706940 -007fb250 007fa920 -007fb250 007ec0a0 -007fb250 007e90f0 -007fb250 00428b20 -007fb250 007523e0 -007fb250 009be140 -007fb250 0092a5e0 -007fb250 007e1e70 -007fb250 009be080 -007fb250 007fa360 -007fb250 00812f50 +007fb250 00732d00 007fb250 006eea30 -007fb250 0080e320 -007fb250 009b9310 -007fb250 00af08b1 -007fb250 008276e0 -007fb250 006ee340 -007fb250 008208e0 -007fb250 00929b40 -007fb250 007cb6e0 +007fb250 009be080 007fb250 006eed30 +007fb250 007e9080 +007fb250 00aef12b +007fb250 00812f50 +007fb250 007523e0 +007fb250 0044bfb0 +007fb250 00822820 +007fb250 008208e0 +007fb250 0095a7b0 +007fb250 00706940 +007fb250 009b9570 007fb250 004217a0 -007fb250 007fa7d0 +007fb250 0074bac0 +007fb250 007e1d50 +007fb250 009be6b0 +007fb250 00a648b0 +007fb250 004f8940 +007fb250 009299e0 +007fb250 00417870 007fb250 00812d00 +007fb250 00733ff0 +007fb250 007cb6e0 +007fb250 007fa2a0 007fb250 006eef60 +007fb250 0041d540 +007fb250 009b92c0 +007fb250 006f9770 +007fb250 009bf990 +007fb250 0041d520 +007fb250 007ebca0 +007fb250 007ec080 +007fb250 0080e320 +007fb250 007c3980 +007fb250 00705080 +007fb250 007e9020 +007fb250 008276e0 +007fb250 00929a20 +007fb250 009be750 +007fb250 004d3390 +007fb250 0091c7e0 +007fb250 00a112c0 +007fb250 00823ec0 +007fb250 007ed240 +007fb250 00929b40 +007fb250 007fa7d0 +007fb250 0092a5e0 +007fb250 0074b830 +007fb250 009be140 +007fb250 00428b20 +007fb250 008380f0 +007fb250 007f9ee0 +007fb250 007e90f0 +007fb250 009bea80 +007fb250 007fa360 +007fb250 00866220 +007fb250 006e30a0 +007fb250 009b9310 +007fb250 007fa920 +007fb250 007d12c0 007fb250 006f8120 +007fb250 00af08b1 007fb250 00812c90 007fb250 007fa0e0 -007fb250 0074b830 -007fb250 004e4690 -007fb250 00813520 -007fb250 00a112c0 -007fb250 00812f00 -007fb250 007f9ee0 -007fb250 00733ff0 -007fb250 0041d540 -007fb250 004f8940 -007fb250 009bfae0 -007fb250 007e8f90 007fb250 009be630 -007fb250 007e9080 -007fb250 0044bfb0 -007fb250 00732d00 -007fb250 009bea40 -007fb250 007e9020 -007fb250 009299e0 -007fb250 00823ec0 -007fb250 007ebca0 -007fb250 009b9570 -007fb250 00740bc0 -007fb250 00929a20 -007fb250 004d3390 -007fb250 0074efd0 -007fb250 00aef12b -007fb250 009be6b0 -007fb250 009b92c0 +007fb250 004e4690 +007fb250 007ec0a0 +007fb250 0041af60 +007fb250 00813520 +007fb250 0071f600 +007fb250 007e1e70 007fb250 009b9480 -007fb250 007d12c0 -007fb250 00822820 -007fe220 00a112c0 -007fe220 00703850 -007fe220 EXTERNAL:00000220 +007fb250 00740bc0 +007fb250 009bfae0 +007fb250 009bea40 +007fb250 0074efd0 +007fb250 007e8f90 +007fb250 00733610 +007fb250 006ee340 +007fb250 00812f00 +007fe220 00709c40 007fe220 00a0f4c0 -007fe220 00415bc0 +007fe220 009be080 007fe220 0042c920 007fe220 00771550 -007fe220 00428b20 -007fe220 009be7f0 -007fe220 00709c40 -007fe220 00af08bd -007fe220 00424540 -007fe220 0042c880 007fe220 006eef60 -007fe220 009be080 +007fe220 00a112c0 +007fe220 EXTERNAL:00000220 007fe220 00aef15c -007fe220 004e45c0 -007fe220 00715940 007fe220 004288a0 -007fec00 00a112c0 +007fe220 00703850 +007fe220 00415bc0 +007fe220 00af08bd +007fe220 009be7f0 +007fe220 00428b20 +007fe220 00424540 +007fe220 004e45c0 +007fe220 0042c880 +007fe220 00715940 007fec00 00aef12b -00800500 00a112c0 -00800500 0092e120 -00800500 0092e560 -00800500 0040b220 -00800500 0090b100 -00800500 0041d520 -00800500 0092dc30 -00800500 00435a50 -00800500 009beba0 -00800500 006fd350 +007fec00 00a112c0 00800500 0092e620 -00801ee0 006eef60 -00801ee0 00823080 -00801ee0 00956780 -00801ee0 00417870 -00801ee0 006fe410 -00801ee0 0092dc30 -00801ee0 00816910 +00800500 0092e560 +00800500 006fd350 +00800500 00435a50 +00800500 0040b220 +00800500 0092e120 +00800500 00a112c0 +00800500 0090b100 +00800500 009beba0 +00800500 0092dc30 +00800500 0041d520 00801ee0 007e1d50 -008020d0 00a112c0 -008020d0 007c3980 +00801ee0 006eef60 +00801ee0 006fe410 +00801ee0 00417870 +00801ee0 00823080 +00801ee0 0092dc30 +00801ee0 00956780 +00801ee0 00816910 008020d0 004cdcf0 -008020d0 006eef60 -008020d0 009be080 +008020d0 00813520 +008020d0 004cf210 +008020d0 007c3980 008020d0 006ac560 008020d0 006a8db0 -008020d0 007706e0 +008020d0 009be080 +008020d0 006eef60 008020d0 00428b20 -008020d0 004cf210 -008020d0 00813520 +008020d0 00a112c0 +008020d0 007706e0 008024f0 00af08b1 008024f0 006c0f30 -00802670 007eea90 00802670 00740bc0 00802670 00710fa0 +00802670 007eea90 00802670 0073f940 -00802740 00a112c0 00802740 006eef60 00802740 0041d540 -00802740 007f0800 +00802740 00a112c0 00802740 0041d520 +00802740 007f0800 +00802980 0049cbf0 +00802980 008158a0 +00802980 00823540 +00802980 00a0f4c0 +00802980 004d6ee0 +00802980 009be080 +00802980 00801ee0 +00802980 0083a080 +00802980 006eed30 +00802980 00aef12b +00802980 00414a80 +00802980 00930820 +00802980 008020d0 +00802980 004288a0 +00802980 00aef5af +00802980 00752830 +00802980 00802740 +00802980 00834350 +00802980 007df690 +00802980 009be6b0 +00802980 00a648b0 +00802980 00813460 +00802980 0042c8e0 +00802980 00417870 +00802980 00812d00 +00802980 007ea2d0 +00802980 007cb6e0 +00802980 0072fe80 +00802980 007ef420 +00802980 0042c920 +00802980 006eef60 +00802980 0041d540 +00802980 007fe220 +00802980 0082d030 +00802980 00824800 +00802980 006e1d70 +00802980 0041d520 +00802980 00af05e5 +00802980 009305f0 +00802980 00aef29d +00802980 007f01c0 +00802980 00833420 +00802980 004d3130 +00802980 004186c0 +00802980 007e9020 +00802980 00710dd0 00802980 00993a70 +00802980 006ad750 +00802980 0040c740 +00802980 00682ed0 +00802980 004a11c0 +00802980 00a112c0 +00802980 00aef15c +00802980 EXTERNAL:00000220 +00802980 0074e9b0 +00802980 00708250 +00802980 009960b0 +00802980 006fd7c0 +00802980 00714610 +00802980 006fd350 +00802980 008068f0 +00802980 00428b20 +00802980 00800500 +00802980 007e90f0 +00802980 006da530 +00802980 00aef86f +00802980 00956780 +00802980 005cc710 00802980 00409030 00802980 007eb870 -00802980 00733610 -00802980 0042c920 -00802980 0074f690 -00802980 006ad750 -00802980 006da530 -00802980 0041af60 -00802980 00a648b0 -00802980 0041d520 -00802980 00424540 -00802980 00802740 -00802980 00956780 -00802980 0083a080 -00802980 00417870 -00802980 009960b0 -00802980 008024f0 -00802980 00aef29d -00802980 00820910 -00802980 00aef253 -00802980 00752830 -00802980 007ef420 -00802980 0042c8e0 -00802980 006e1d70 -00802980 00428b20 -00802980 007e90f0 -00802980 004a11c0 -00802980 0074e9b0 -00802980 009be080 -00802980 008158a0 -00802980 004d3230 -00802980 00833420 -00802980 006fd7c0 -00802980 008020d0 -00802980 00930820 -00802980 004d6ee0 -00802980 00824800 -00802980 00813460 -00802980 EXTERNAL:00000220 -00802980 00414a80 -00802980 00823080 -00802980 00af08b1 00802980 00708e20 -00802980 00a0f4c0 -00802980 007ea2d0 -00802980 007fe220 -00802980 007cb6e0 -00802980 006eed30 -00802980 00824a70 -00802980 006eef60 -00802980 00812d00 -00802980 00714610 -00802980 00823540 -00802980 00aef15c -00802980 00708250 -00802980 004186c0 -00802980 006e1a80 -00802980 007f0800 -00802980 00710dd0 -00802980 008068f0 -00802980 00813520 -00802980 00a112c0 -00802980 0082d030 -00802980 00aef5af -00802980 0041d540 -00802980 0049cbf0 -00802980 007f01c0 -00802980 00800500 -00802980 0072fe80 -00802980 00682ed0 -00802980 005cc710 -00802980 0040a5d0 -00802980 006fd350 -00802980 007e9020 -00802980 00af05e5 -00802980 006e17c0 -00802980 00aef86f -00802980 0040a1b0 +00802980 004d3230 +00802980 00af08b1 +00802980 008024f0 00802980 00824ee0 -00802980 00aef12b -00802980 009be6b0 -00802980 00834350 -00802980 004d3130 -00802980 004288a0 -00802980 009305f0 -00802980 007df690 -00802980 0040c740 +00802980 0040a1b0 +00802980 0040a5d0 +00802980 00823080 00802980 0092dc30 +00802980 00aef253 +00802980 0041af60 +00802980 006e17c0 +00802980 00820910 +00802980 00813520 +00802980 0074f690 +00802980 00424540 00802980 EXTERNAL:00000262 -00802980 00801ee0 -008068f0 00705ee0 -008068f0 007f9960 -008068f0 009595e0 -008068f0 009bf990 -008068f0 00706940 -008068f0 009bfae0 -008068f0 009e9b50 -008068f0 006f95a0 -008068f0 009bb840 -008068f0 00740bc0 -008068f0 007f7a40 -008068f0 00956780 -008068f0 00820170 -008068f0 006f9400 +00802980 006e1a80 +00802980 00733610 +00802980 007f0800 +00802980 00824a70 008068f0 007fb250 -008068f0 00802670 -008068f0 009e5960 -008068f0 007f83b0 008068f0 0092dc30 +008068f0 009e5960 +008068f0 009bf990 +008068f0 006f9400 +008068f0 00802670 +008068f0 00705ee0 +008068f0 00706940 +008068f0 006f95a0 +008068f0 007f9960 +008068f0 00740bc0 +008068f0 009bfae0 +008068f0 007f7a40 +008068f0 00820170 008068f0 008204b0 -00806c20 00456750 -00806c20 00408e00 -00806c20 00652a90 -00806c20 004b7080 -00806c20 00417280 -00806c20 004f88e0 -00806c20 00a114d0 +008068f0 009e9b50 +008068f0 007f83b0 +008068f0 009bb840 +008068f0 009595e0 +008068f0 00956780 00806c20 004567d0 -00806c20 0067f2b0 -00806c20 00417370 -00806c20 00682f20 -00806c20 00452be0 -00806c20 0041e460 -00806c20 00417220 -00806c20 005cd370 -00806c20 00407270 -00806c20 00407420 -00806c20 00440e30 -00806c20 00417420 -00806c20 00408f70 -00806c20 0074e9b0 -00806c20 007e90f0 -00806c20 0040b200 -00806c20 0040b1d0 -00806c20 0040b4d0 -00806c20 004e46d0 -00806c20 0043ef20 -00806c20 0041cb80 -00806c20 00407430 -00806c20 004171b0 -00806c20 0042a340 -00806c20 006ac530 -00806c20 00407320 -00806c20 0072fd10 -00806c20 00505b60 -00806c20 004073b0 -00806c20 00a0fe80 -00806c20 00417290 -00806c20 0040a0d0 -00806c20 00812c90 -00806c20 0040ac70 -00806c20 00417360 -00806c20 00a0f690 -00806c20 00407260 -00806c20 00665c60 -00806c20 0042f160 -00806c20 00409cb0 -00806c20 004d7770 -00806c20 00407240 -00806c20 0060cd50 -00806c20 007e9080 -00806c20 00417270 -00806c20 00738470 -00806c20 004177c0 -00806c20 00417210 -00806c20 004073d0 -00806c20 00a10570 -00806c20 00a0fed0 -00806c20 007db700 -00806c20 00aef12b -00806c20 007e9240 -00806c20 0042a260 -00806c20 00407370 -00806c20 00748490 -00806c20 00435ad0 -00806c20 00a0f750 -00806c20 0040a780 -00806c20 00407280 -00806c20 006831c0 -00806c20 00417480 -00806c20 004072e0 -00806c20 0040a220 -00806c20 007706e0 00806c20 0075d900 -00806c20 0041d520 -00806c20 004171d0 -00806c20 004073c0 -00806c20 004e45c0 -00806c20 0040b220 -00806c20 004561b0 -00806c20 004e47a0 -00806c20 00557bb0 -00806c20 004561a0 -00806c20 0040c3a0 00806c20 00407410 -00806c20 00a10510 -00806c20 00930a30 -00806c20 00a101c0 -00806c20 0081e250 -00806c20 0040b430 -00806c20 00930680 -00806c20 00417470 -00806c20 0040d0c0 -00806c20 00417200 -00806c20 0067f310 -00806c20 00409120 -00806c20 00417340 -00806c20 004071c0 -00806c20 006d8e10 -00806c20 0040c200 -00806c20 0040a720 +00806c20 0075d980 +00806c20 00417480 00806c20 00a10480 +00806c20 00417420 +00806c20 004f88e0 00806c20 006a9c10 -00806c20 004071f0 -00806c20 00420170 -00806c20 004238f0 -00806c20 00a105a0 -00806c20 00435dd0 -00806c20 00a104e0 +00806c20 00a102e0 +00806c20 0043ef20 +00806c20 004073c0 +00806c20 004177c0 +00806c20 004171d0 +00806c20 00417370 +00806c20 0067f310 +00806c20 00407320 +00806c20 00930a30 +00806c20 0040b220 +00806c20 004072e0 +00806c20 00407370 +00806c20 005cd370 +00806c20 00557b00 +00806c20 0040ac70 +00806c20 004e46d0 00806c20 0097e6e0 +00806c20 006831c0 +00806c20 0040b4d0 +00806c20 00417170 +00806c20 00930680 +00806c20 004e47a0 +00806c20 004071c0 +00806c20 0040b200 +00806c20 00a0f690 +00806c20 00417310 +00806c20 00417200 +00806c20 0041d520 +00806c20 007db700 +00806c20 0040c200 +00806c20 00407280 +00806c20 006b7cc0 +00806c20 00a105a0 +00806c20 00417470 +00806c20 0041cb80 +00806c20 00435ad0 +00806c20 00435dd0 +00806c20 00a10570 +00806c20 0040b430 +00806c20 006d8e10 +00806c20 00417220 +00806c20 00682ed0 +00806c20 00417270 +00806c20 0040a7c0 +00806c20 0074e9b0 +00806c20 004071f0 +00806c20 00447760 +00806c20 004561b0 +00806c20 004b7080 +00806c20 00452be0 +00806c20 00407430 +00806c20 004e45c0 +00806c20 0040d0c0 +00806c20 0040c3a0 00806c20 00a0fe90 +00806c20 00812c90 +00806c20 0042f160 +00806c20 00557bb0 +00806c20 00a0f750 +00806c20 00652a90 +00806c20 00a0fed0 +00806c20 004073d0 +00806c20 00408e00 +00806c20 0081e250 +00806c20 00440e30 +00806c20 004171b0 +00806c20 00407260 +00806c20 00748490 +00806c20 0041cb70 +00806c20 004561a0 +00806c20 00417360 +00806c20 00407250 +00806c20 0067f0d0 +00806c20 00aef12b +00806c20 007e9080 +00806c20 00a101c0 +00806c20 0041e460 +00806c20 0040a720 +00806c20 0060cd50 +00806c20 00505b60 +00806c20 007dd3b0 +00806c20 0042a260 +00806c20 004d7770 +00806c20 0042a340 00806c20 007e9230 -00806c20 00417320 +00806c20 00665c60 +00806c20 00738470 +00806c20 00420170 +00806c20 006ac530 +00806c20 00456750 +00806c20 0040a780 +00806c20 004073b0 00806c20 00a0f550 +00806c20 0042f150 +00806c20 0040bf20 +00806c20 00417280 +00806c20 007e9240 +00806c20 00407240 +00806c20 00409120 +00806c20 00417320 +00806c20 004238f0 +00806c20 0040b1d0 +00806c20 00a10510 +00806c20 00682f20 +00806c20 0040a220 +00806c20 0072fd10 +00806c20 007e90f0 +00806c20 00417340 +00806c20 007706e0 +00806c20 00a114d0 +00806c20 00417210 +00806c20 0067f2b0 +00806c20 00409cb0 +00806c20 00a104e0 +00806c20 0040a0d0 00806c20 00a10420 00806c20 004072b0 -00806c20 0040bf20 -00806c20 00417170 -00806c20 00557b00 -00806c20 00417310 -00806c20 00682ed0 -00806c20 0040a7c0 -00806c20 007dd3b0 -00806c20 00447760 -00806c20 0041cb70 -00806c20 0075d980 -00806c20 0042f150 -00806c20 00a102e0 -00806c20 0067f0d0 -00806c20 006b7cc0 -00806c20 00407250 -0080bd20 00a112c0 -0080bd20 007706e0 -0080bd20 007e90f0 -0080bd20 0041d520 -0080bd20 00930ae0 -0080bd20 007e9080 -0080bd20 004073d0 -0080bd20 0040b220 -0080bd20 00af0917 -0080bd20 0040a0d0 -0080bd20 0040ac70 -0080bd20 00930680 +00806c20 00a0fe80 +00806c20 00407420 +00806c20 00408f70 +00806c20 00417290 +00806c20 00407270 0080bd20 0067f0d0 -0080c810 0040a780 +0080bd20 007e9080 +0080bd20 00930680 +0080bd20 00a112c0 +0080bd20 0041d520 +0080bd20 0040b220 +0080bd20 0040a0d0 +0080bd20 004073d0 +0080bd20 0040ac70 +0080bd20 007e90f0 +0080bd20 00930ae0 +0080bd20 007706e0 +0080bd20 00af0917 +0080c810 0067f0d0 0080c810 00709df0 -0080c810 00456750 -0080c810 008208e0 -0080c810 007e90f0 +0080c810 004238f0 +0080c810 007e9080 0080c810 0074e9b0 0080c810 0041d520 -0080c810 007e9080 -0080c810 0040a4d0 -0080c810 00738470 -0080c810 00740bc0 +0080c810 008208e0 0080c810 0074bae0 -0080c810 004073d0 -0080c810 004238f0 +0080c810 00738470 0080c810 0040b220 +0080c810 0040a0d0 +0080c810 0040a4d0 +0080c810 004073d0 +0080c810 00740bc0 +0080c810 00456750 +0080c810 007e90f0 +0080c810 0040ac70 +0080c810 0040a780 0080c810 0040b1a0 0080c810 00af0917 -0080c810 0040a0d0 -0080c810 0040ac70 -0080c810 0067f0d0 -0080e320 00a112c0 -0080e320 00aef12b 0080e320 00732d00 +0080e320 00aef12b +0080e320 00a112c0 0080e320 007e9020 -0080ea80 00684f30 +0080ea80 0074ea50 +0080ea80 00826ae0 +0080ea80 00a18300 +0080ea80 00a1dfd0 +0080ea80 00a112c0 +0080ea80 006856c0 +0080ea80 00a18230 +0080ea80 00827bc0 +0080ea80 006836c0 +0080ea80 00812d00 0080ea80 00a10d00 -0080ea80 00820fd0 +0080ea80 00684f30 0080ea80 00419b50 -0080ea80 00424540 -0080ea80 006f95a0 +0080ea80 00806c20 0080ea80 009956e0 0080ea80 00817830 -0080ea80 00812d00 -0080ea80 00826ae0 -0080ea80 006836c0 -0080ea80 00a1dfd0 -0080ea80 00af0917 +0080ea80 0040a030 0080ea80 006f9400 -0080ea80 00827bc0 -0080ea80 0074ea50 -0080ea80 00a112c0 -0080ea80 00825de0 0080ea80 0083a1b0 0080ea80 0080c810 -0080ea80 006856c0 -0080ea80 00806c20 -0080ea80 00a19180 -0080ea80 00a18300 +0080ea80 006f95a0 0080ea80 0074efd0 -0080ea80 0040a030 -0080ea80 00a18230 -0080f200 00a10d00 -0080f200 007706e0 -0080f200 00408e00 -0080f200 008242f0 +0080ea80 00820fd0 +0080ea80 00424540 +0080ea80 00a19180 +0080ea80 00825de0 +0080ea80 00af0917 0080f200 0081f130 +0080f200 00a1dfd0 +0080f200 0093ea00 0080f200 008128f0 -0080f200 00424540 -0080f200 006f95a0 +0080f200 00aef12b +0080f200 004288a0 +0080f200 0040b220 +0080f200 00aefca0 +0080f200 00a1b8e0 +0080f200 006836c0 +0080f200 004e46d0 +0080f200 00682280 +0080f200 0040c550 +0080f200 00684f30 +0080f200 00817830 +0080f200 009956e0 +0080f200 008242f0 +0080f200 0093f000 +0080f200 00683060 +0080f200 009305f0 +0080f200 00994670 +0080f200 004199d0 +0080f200 009947b0 +0080f200 00821950 +0080f200 00996580 +0080f200 00a0f550 +0080f200 00af0917 +0080f200 00719dd0 +0080f200 0040bcd0 +0080f200 00a18300 +0080f200 009948f0 +0080f200 00682ed0 +0080f200 00a1af90 +0080f200 00a14c00 +0080f200 00a112c0 +0080f200 0081df80 +0080f200 006856c0 +0080f200 006fd350 +0080f200 00a18230 +0080f200 00826f80 0080f200 00a13510 +0080f200 0080bd20 +0080f200 009e2f20 +0080f200 00407170 +0080f200 007706e0 0080f200 00995e00 0080f200 00a114d0 -0080f200 0040b220 -0080f200 00a1b8e0 -0080f200 0083a3d0 -0080f200 0081df80 -0080f200 00829500 -0080f200 0081e250 -0080f200 009e31b0 -0080f200 0040bcd0 -0080f200 00a14050 -0080f200 0093ea00 -0080f200 0093f000 -0080f200 0080bd20 -0080f200 00684f30 -0080f200 004e46d0 -0080f200 0040c550 -0080f200 00683060 -0080f200 009956e0 -0080f200 00817830 -0080f200 00a1dfd0 -0080f200 006836c0 -0080f200 00af0917 -0080f200 004199d0 -0080f200 006f9400 -0080f200 0040a0d0 -0080f200 004e4690 -0080f200 00a10e70 -0080f200 00682280 -0080f200 00a0f550 -0080f200 00a112c0 -0080f200 0041e420 -0080f200 00aefca0 -0080f200 00719dd0 -0080f200 00826f80 -0080f200 0040d040 -0080f200 00994670 -0080f200 00684fc0 -0080f200 00682ed0 -0080f200 0040a5d0 -0080f200 00407170 -0080f200 006fd350 -0080f200 00a1af90 -0080f200 006856c0 -0080f200 00a19180 -0080f200 004073d0 -0080f200 00a18300 -0080f200 00996580 +0080f200 00a10d00 0080f200 0093f1d0 -0080f200 009947b0 -0080f200 00a14c00 -0080f200 00aef12b -0080f200 009e2f20 -0080f200 004288a0 -0080f200 009305f0 +0080f200 0041e420 +0080f200 0040d040 +0080f200 00a10e70 0080f200 0040a030 -0080f200 00a18230 -0080f200 009948f0 +0080f200 00684fc0 +0080f200 0040a5d0 +0080f200 0083a3d0 +0080f200 004e4690 +0080f200 006f9400 +0080f200 00a14050 +0080f200 009e31b0 +0080f200 0040a0d0 +0080f200 006f95a0 +0080f200 004073d0 +0080f200 00408e00 +0080f200 00424540 +0080f200 00a19180 +0080f200 0081e250 +0080f200 00829500 0080f200 00748490 -0080f200 00821950 008128f0 0041e420 -008128f0 00a1bd80 -008128f0 00a10d00 -008128f0 00aef12b -008128f0 00af0917 008128f0 0069dac0 -008128f0 00a55d60 +008128f0 00aef12b 008128f0 00a1bb10 +008128f0 00a1bd80 008128f0 00a1d8f0 +008128f0 00af0917 +008128f0 00a55d60 +008128f0 00a10d00 00812f50 0081f8b0 008131e0 00812f50 00813360 00812f50 -00813460 006eef60 00813460 00813520 -00813520 00a112c0 +00813460 006eef60 +00813520 00813520 +00813520 00435a50 00813520 0041d540 +00813520 00a112c0 00813520 00812f50 00813520 007f0800 00813520 0041d520 -00813520 00435a50 -00813520 00813520 -00813d90 00a112c0 -00813d90 EXTERNAL:00000220 -00813d90 006f8120 -00813d90 005cc070 -00813d90 00aef15c -00813d90 00aef12b -00813d90 0042c920 -00813d90 007e90f0 00813d90 00813d00 +00813d90 006f8120 +00813d90 0042c920 +00813d90 005cc070 +00813d90 00aef12b +00813d90 007e90f0 +00813d90 00a112c0 00813d90 007e9020 +00813d90 00aef15c +00813d90 EXTERNAL:00000220 00814980 008151e0 00814980 00816250 -00814980 00813d90 00814980 00814a50 -00814a50 00733610 -00814a50 00aef12b -00814a50 00734900 +00814980 00813d90 00814a50 009be6b0 -00814a50 007ec0a0 +00814a50 00734900 +00814a50 00aef12b 00814a50 00733ca0 +00814a50 007e9020 00814a50 00734180 00814a50 00865340 +00814a50 007ec0a0 +00814a50 00733610 00814a50 007cb6e0 -00814a50 007e9020 -008151e0 00a112c0 -008151e0 007706e0 -008151e0 00771550 -008151e0 009be630 -008151e0 0072fd10 -008151e0 0044bfb0 -008151e0 007cb6e0 -008151e0 007e9020 -008151e0 007cafe0 008151e0 009be080 +008151e0 00771550 008151e0 00aef12b -008151e0 009be6b0 008151e0 00930680 +008151e0 00a112c0 +008151e0 009be630 +008151e0 0044bfb0 +008151e0 009be6b0 008151e0 005b1500 +008151e0 0072fd10 +008151e0 007e9020 +008151e0 007706e0 +008151e0 007cb6e0 +008151e0 007cafe0 00815800 00a0f4c0 00815800 00499410 -008158a0 00a112c0 -008158a0 006eef60 008158a0 00428b20 +008158a0 006eef60 +008158a0 00a112c0 +00815ae0 00499380 +00815ae0 00aef12b +00815ae0 00417870 00815ae0 00a112c0 00815ae0 005b39d0 -00815ae0 00aef12b -00815ae0 00499380 -00815ae0 00417870 00815ae0 00813d90 +00816000 0040cf00 +00816000 005cc070 +00816000 00aef12b 00816000 00a112c0 00816000 EXTERNAL:00000220 -00816000 005cc070 00816000 00aef15c -00816000 00aef12b -00816000 0040cf00 -00816250 007cb060 00816250 00771550 -00816250 007e8f90 +00816250 009be750 +00816250 00aef12b +00816250 00930680 +00816250 00af0911 +00816250 007cb060 00816250 009be630 00816250 0044bfb0 -00816250 007cb6e0 -00816250 007e9020 -00816250 007cafe0 00816250 007db6b0 -00816250 009bea80 -00816250 00aef12b -00816250 009be6b0 -00816250 00af0911 -00816250 00417870 -00816250 009be750 00816250 009305f0 -00816250 00930680 -008167e0 00a112c0 -008167e0 006eef60 -008167e0 00709db0 -008167e0 00af08b1 -008167e0 00a0f4c0 +00816250 009be6b0 +00816250 00417870 +00816250 007e9020 +00816250 007e8f90 +00816250 009bea80 +00816250 007cb6e0 +00816250 007cafe0 008167e0 00709c40 +008167e0 00a0f4c0 +008167e0 00af08b1 +008167e0 00709db0 +008167e0 006eef60 +008167e0 00a112c0 +00816910 0040ccd0 +00816910 007e1e70 +00816910 0070ee40 00816910 00a112c0 00816910 00710d90 00816910 0082d030 +00816910 007e2280 +00816910 0092dc30 00816910 0082c7d0 00816910 00956780 -00816910 0040ccd0 -00816910 0092dc30 -00816910 0070ee40 -00816910 007e2280 -00816910 007e1e70 -00817830 0040c550 -00817830 00683060 -00817830 00407220 -00817830 00a106e0 -00817830 00a10dd0 -00817830 0042a270 -00817830 00af0917 -00817830 00682f20 -00817830 00a0fe90 -00817830 00a10c00 00817830 00a11060 -00817830 00a0f550 -00817830 00a10420 -00817830 00a11130 -00817830 0040c3a0 00817830 00682ed0 -00817830 00738470 -00817830 00a14050 -00817830 00a10690 -00817830 0081f8b0 +00817830 00407220 00817830 00aef12b -00817830 00a110e0 -00817830 00a102e0 -00817830 00a112a0 00817830 00682260 +00817830 0081f8b0 +00817830 00a102e0 00817830 0067f310 +00817830 00a10dd0 +00817830 00682f20 +00817830 00a110e0 +00817830 00a106e0 +00817830 0040c550 +00817830 0040c3a0 +00817830 00a0fe90 +00817830 00a112a0 +00817830 00a10c00 +00817830 00a14050 +00817830 00683060 +00817830 00738470 +00817830 00a10420 +00817830 0042a270 +00817830 00a11130 +00817830 00a10690 +00817830 00a0f550 +00817830 00af0917 0081df10 00a112c0 0081df80 00a112c0 0081df80 00af0917 -0081e250 00812d00 -0081e250 009be080 -0081e250 0074efd0 -0081e250 006f9400 0081e250 00703950 0081e250 00435a50 0081e250 006f95a0 +0081e250 009be080 +0081e250 0074efd0 +0081e250 00812d00 +0081e250 006f9400 0081e520 007f0800 0081e6e0 00714610 0081e6e0 00af08b1 @@ -28026,1500 +28026,1500 @@ 0081e9d0 006eef60 0081e9d0 0081f8b0 0081e9d0 00812f50 -0081ecc0 0081fb70 0081ecc0 007e9020 +0081ecc0 0081fb70 0081edf0 007ea2d0 0081ee20 007ee7e0 0081ee20 0081fb20 -0081f130 0041e420 -0081f130 00a1bd80 -0081f130 00aef12b -0081f130 00af0917 -0081f130 0069dac0 -0081f130 00a55d60 0081f130 00a1d710 +0081f130 0041e420 +0081f130 0069dac0 +0081f130 00aef12b 0081f130 00a1bb10 +0081f130 00a1bd80 +0081f130 00af0917 +0081f130 00a55d60 0081fb70 00a112c0 0081fd60 00a112c0 00820170 00a112c0 -00820170 007eea90 +00820170 006ef590 +00820170 00aef253 +00820170 0044bfb0 +00820170 006f9400 00820170 00aef5af 00820170 00706940 -00820170 006ef590 -00820170 0044bfb0 00820170 006f95a0 00820170 00740bc0 +00820170 00aef29d 00820170 0070f810 -00820170 006f9400 00820170 00710fa0 00820170 00710dd0 -00820170 00aef29d -00820170 00aef253 -008204b0 007eea90 -008204b0 00aef5af +00820170 007eea90 008204b0 00706940 -008204b0 006f9400 -008204b0 00710fa0 -008204b0 006ef590 -008204b0 00710dd0 -008204b0 00aef29d -008204b0 00aef253 008204b0 006f95a0 +008204b0 00aef29d +008204b0 00710fa0 +008204b0 00710dd0 +008204b0 006ef590 +008204b0 00aef253 +008204b0 007eea90 +008204b0 006f9400 +008204b0 00aef5af 00820720 0074bae0 -008207a0 00812d00 008207a0 00703670 -008207a0 006fe410 -008207a0 0041af60 008207a0 00a648b0 +008207a0 006fe410 +008207a0 00812d00 +008207a0 0041af60 008208e0 00740bc0 -00820910 006eef60 -00820910 00417870 -00820910 006fe410 00820910 00435a50 +00820910 006eef60 +00820910 006fe410 +00820910 00417870 00820ac0 007ebd50 00820c00 00af0917 00820d30 007f0780 -00820d30 EXTERNAL:000001d7 +00820d30 00a0f4c0 00820d30 0081e520 00820d30 00aef15c -00820d30 00a0f4c0 -00820fd0 00a112c0 -00820fd0 00aefca0 -00820fd0 00684f30 -00820fd0 004071c0 -00820fd0 00826f80 -00820fd0 00995af0 -00820fd0 00416440 -00820fd0 00a14270 -00820fd0 009e31b0 -00820fd0 00a19180 -00820fd0 00a18300 +00820d30 EXTERNAL:000001d7 00820fd0 0093f1d0 +00820fd0 00a14270 +00820fd0 00684f30 +00820fd0 00a18300 00820fd0 0093ea00 +00820fd0 004071c0 +00820fd0 00a112c0 00820fd0 0040b220 +00820fd0 009e31b0 +00820fd0 00a18230 +00820fd0 00aefca0 +00820fd0 00683680 +00820fd0 00826f80 00820fd0 004199d0 00820fd0 009e2f20 +00820fd0 00995af0 +00820fd0 00416440 +00820fd0 00a19180 00820fd0 00af0917 -00820fd0 00683680 -00820fd0 00a18230 -00821950 00a14050 +00821950 00a10e70 00821950 00a14c00 00821950 004288a0 -00821950 00a10e70 -00821fc0 00aefca0 -00821fc0 00414a80 +00821950 00a14050 00821fc0 00a0f4c0 00821fc0 00825c50 -00821fc0 00af05e5 -00821fc0 00424540 -00821fc0 00aeff60 -00821fc0 00714610 -00821fc0 00aef15c -00821fc0 004e45c0 00821fc0 00aef12b -00821fc0 00828180 +00821fc0 00414a80 +00821fc0 00aef15c 00821fc0 004288a0 +00821fc0 00af05e5 +00821fc0 00aeff60 +00821fc0 00828180 00821fc0 00435a50 -00822820 00aef12b -00822820 0070bf60 +00821fc0 00714610 +00821fc0 00aefca0 +00821fc0 00424540 +00821fc0 004e45c0 +00822820 00813360 00822820 0070bf80 +00822820 00aef12b 00822820 00417870 00822820 00821fc0 -00822820 00813360 +00822820 0070bf60 00822cf0 004e45c0 00822d20 00812e60 00822d20 00822cf0 -00822d60 00414a80 00822d60 00a0f4c0 -00822d60 00aef12b -00822d60 004288a0 -00822d60 00415bd0 00822d60 004170d0 00822d60 00822fd0 +00822d60 00aef12b +00822d60 00414a80 +00822d60 004288a0 +00822d60 00415bd0 00822d60 00af05e5 00822fd0 006fe410 00823080 00414a80 00823080 00823150 -00823150 0040a380 -00823150 006eef60 00823150 00714610 -00823150 00956780 00823150 00435c70 +00823150 006eef60 00823150 006fe410 +00823150 0040a380 00823150 0092dc30 +00823150 00956780 00823370 0074efd0 00823540 00823370 00823540 007067c0 -00823590 00a0f550 00823590 00aefca0 -00823590 00aef15c 00823590 00a0f4c0 -00823590 00828860 -00823590 00af0917 00823590 0041c770 00823590 0060c9e0 +00823590 00aef15c +00823590 00a0f550 +00823590 00828860 +00823590 00af0917 00823be0 007d1620 00823be0 00417870 -00823be0 007f0800 00823be0 00821fc0 +00823be0 007f0800 00823d10 00823be0 00823ec0 00812d00 -00823f50 004ce6d0 -00823f50 00aef12b 00823f50 006b7be0 -008242f0 0082d030 +00823f50 00aef12b +00823f50 004ce6d0 008242f0 0074f690 -00824350 00a112c0 +008242f0 0082d030 +00824350 00738470 00824350 00995f40 00824350 0041d540 -00824350 0041d520 -00824350 00738470 +00824350 00a112c0 00824350 00824800 +00824350 0041d520 00824800 006eef60 00824800 0041d540 -00824800 007ea3e0 -00824800 00812f50 00824800 006fe410 +00824800 00812f50 00824800 0041d520 -00824a70 006eef60 -00824a70 0082d030 -00824a70 0040bcd0 -00824a70 0074efd0 +00824800 007ea3e0 00824a70 0040b220 -00824a70 0074f690 +00824a70 0040bcd0 00824a70 00408e00 +00824a70 0074f690 +00824a70 0074efd0 +00824a70 006eef60 00824a70 006fe410 +00824a70 0082d030 00824a70 0040a5d0 +00824ee0 006fd350 00824ee0 006eef60 00824ee0 0041d540 -00824ee0 00812f50 00824ee0 006fe410 -00824ee0 007f0800 +00824ee0 00812f50 00824ee0 0041d520 -00824ee0 006fd350 -008257a0 00a112c0 -008257a0 00a0f4c0 -008257a0 004175b0 -008257a0 00718ac0 -008257a0 0071b1c0 -008257a0 00709c40 -008257a0 0041af60 -008257a0 0071aaf0 -008257a0 0071a940 -008257a0 00709db0 -008257a0 00812c90 +00824ee0 007f0800 008257a0 00407690 -008257a0 00407e90 +008257a0 00709c40 008257a0 0071af60 +008257a0 00a0f4c0 +008257a0 00812c90 +008257a0 00407e90 +008257a0 00a112c0 +008257a0 00718ac0 +008257a0 0071aaf0 +008257a0 0041af60 008257a0 0071dee0 +008257a0 004175b0 +008257a0 00709db0 +008257a0 0071a940 +008257a0 0071b1c0 +00825c50 00407f10 +00825c50 0040d040 +00825c50 004087a0 00825c50 006eef60 +00825c50 00428b20 +00825c50 004074c0 +00825c50 00aef12b 00825c50 008257a0 00825c50 00407ae0 -00825c50 0040d040 -00825c50 00aef12b -00825c50 00428b20 -00825c50 00407f10 -00825c50 004087a0 -00825c50 004074c0 -00825de0 00a0f550 -00825de0 00a112c0 00825de0 00684f30 -00825de0 0040c550 -00825de0 00683060 -00825de0 00a10d00 -00825de0 008242f0 +00825de0 00a671b0 00825de0 00a14200 -00825de0 006fd350 -00825de0 006f95a0 -00825de0 006856c0 -00825de0 00a19180 00825de0 00a18300 -00825de0 00a14050 -00825de0 00a11160 00825de0 00a1dfd0 +00825de0 00a11160 00825de0 00aef12b -00825de0 00af0917 +00825de0 008242f0 +00825de0 00a112c0 +00825de0 00a14050 00825de0 00a13750 00825de0 006f9400 -00825de0 00a10760 +00825de0 00683060 +00825de0 006856c0 +00825de0 006fd350 00825de0 00a18230 +00825de0 006f95a0 00825de0 00a140c0 -00825de0 00a671b0 +00825de0 00a10760 +00825de0 00a19180 +00825de0 00a0f550 +00825de0 0040c550 +00825de0 00af0917 +00825de0 00a10d00 00826ae0 006856c0 -00826ae0 00a112c0 00826ae0 00684f30 -00826ae0 00a19180 -00826ae0 00a18300 -00826ae0 00a14050 00826ae0 00a18230 -00826ae0 007135d0 +00826ae0 00a18300 00826ae0 00a10e70 -00826f80 00a0f550 -00826f80 0040c550 -00826f80 00a14050 -00826f80 00683060 -00826f80 00aef12b +00826ae0 007135d0 +00826ae0 00a112c0 +00826ae0 00a19180 +00826ae0 00a14050 00826f80 00a10e70 -008271e0 00a112c0 +00826f80 00aef12b +00826f80 00a0f550 +00826f80 00a14050 +00826f80 0040c550 +00826f80 00683060 008271e0 004cdcf0 -008271e0 006eef60 +008271e0 004cf210 008271e0 009be080 +008271e0 006eef60 008271e0 0041d540 -008271e0 00aef12b 008271e0 006fe410 +008271e0 00aef12b +008271e0 00a112c0 008271e0 0041d520 008271e0 0074cd70 -008271e0 004cf210 -00827550 007eea90 -00827550 00956780 -00827550 0070d3f0 -00827550 00710fa0 00827550 00407f10 -00827550 0092dc30 00827550 004cf210 00827550 0070ee40 -008276e0 00a112c0 -008276e0 0041d540 -008276e0 006e30a0 +00827550 00710fa0 +00827550 0070d3f0 +00827550 0092dc30 +00827550 007eea90 +00827550 00956780 008276e0 007fa920 +008276e0 0041d540 008276e0 00428b20 -008276e0 0041d520 008276e0 006eed30 +008276e0 00a112c0 +008276e0 0041d520 008276e0 00822820 +008276e0 006e30a0 +008279d0 006f95a0 +008279d0 00710fa0 008279d0 007eea90 008279d0 006f9400 -008279d0 00710fa0 -008279d0 006f95a0 00827b70 00748490 00827bc0 0074ea50 -00827bf0 00a112c0 +00827bf0 00709c40 +00827bf0 00a0f4c0 +00827bf0 009be080 00827bf0 00709db0 00827bf0 006eef60 -00827bf0 009be080 -00827bf0 00a0f4c0 -00827bf0 0071eb30 00827bf0 00428b20 -00827bf0 00709c40 +00827bf0 00a112c0 +00827bf0 0071eb30 00827f30 00aef15c 00827f70 00a0f4c0 00827f70 0040cc10 00828010 00828ab0 -00828050 0040cee0 -00828050 0040ccc0 00828050 00af08bd -00828050 00af05df 00828050 0040cf00 +00828050 0040ccc0 +00828050 0040cee0 +00828050 00af05df 00828120 00aef15c 00828180 00709400 +00828180 00415f80 00828180 00414a80 00828180 00415fe0 -00828180 00415f80 008284a0 00828690 -008284d0 0040cee0 -008284d0 0040ccc0 -008284d0 00af05df 008284d0 00af08bd 008284d0 0040cf00 +008284d0 0040ccc0 +008284d0 0040cee0 +008284d0 00af05df 00828690 00a0f4c0 -00828690 00415fe0 00828690 004170d0 -00828690 00416440 00828690 00415f80 +00828690 00415fe0 +00828690 00416440 00828860 00828890 00828890 00a0f4c0 -00828890 00415fe0 00828890 004170d0 00828890 00415f80 -00828a70 EXTERNAL:00000220 +00828890 00415fe0 00828a70 00aef15c -00828ab0 EXTERNAL:00000220 +00828a70 EXTERNAL:00000220 00828ab0 00aef15c +00828ab0 EXTERNAL:00000220 00828b60 00a0f4c0 -00828c00 00a112c0 00828c00 0042c8e0 +00828c00 00a112c0 00828c00 00aef15c -00828e50 00a23200 00828e50 00416440 +00828e50 00a23200 00828e50 EXTERNAL:00000263 00828e50 005cca10 00828f00 00aef5c4 -00828fe0 00a112c0 00828fe0 0042c8e0 +00828fe0 00a112c0 00828fe0 00aef15c +00829260 0040d040 00829260 0042c8e0 00829260 00aef15c -00829260 0040d040 -00829290 00aef15c 00829290 00a23200 00829290 EXTERNAL:00000263 -00829500 00a26af0 +00829290 00aef15c 00829500 0040ccd0 +00829500 00a26af0 008295e0 00aef638 008295e0 0040d040 -00829670 00828fe0 00829670 00aef638 +00829670 00828fe0 00829670 0082e050 00829670 0069d910 -00829710 00a112c0 -00829710 EXTERNAL:00000220 -00829710 0040d040 00829710 00413c70 -00829710 004155d0 +00829710 0040d040 00829710 00413b90 -00829710 00a0f4e0 -00829710 00a648b0 00829710 00829920 +00829710 00aef12b +00829710 00a112c0 +00829710 00aef15c +00829710 EXTERNAL:00000220 00829710 00829af0 00829710 00aeff60 +00829710 004155d0 +00829710 00a648b0 00829710 00a178d0 -00829710 00aef15c 00829710 00414730 -00829710 00aef12b -00829af0 EXTERNAL:00000220 -00829af0 0082a920 +00829710 00a0f4e0 +00829af0 0040ccd0 00829af0 00413c70 00829af0 0069ee50 -00829af0 00a0f4e0 -00829af0 0042a030 -00829af0 EXTERNAL:0000023e -00829af0 EXTERNAL:0000023f -00829af0 00aef15c -00829af0 00aef12b -00829af0 00829a10 -00829af0 0082e3a0 -00829af0 0040ccd0 -00829af0 00af05df +00829af0 0082a920 00829af0 004b39b0 +00829af0 00aef12b +00829af0 00aef15c +00829af0 EXTERNAL:00000220 +00829af0 0082e3a0 +00829af0 00af05df +00829af0 EXTERNAL:0000023e +00829af0 0042a030 +00829af0 00829a10 +00829af0 EXTERNAL:0000023f +00829af0 00a0f4e0 0082a920 0040cf50 0082a9c0 0082aa40 -0082aa40 00a112c0 0082aa40 00aef12b +0082aa40 00a112c0 0082aa40 00829500 0082aea0 00414870 +0082aea0 0042a030 0082aea0 00829a10 0082aea0 00a0f4e0 -0082aea0 0042a030 -0082b2f0 EXTERNAL:00000220 -0082b2f0 00aef638 -0082b2f0 0040d040 -0082b2f0 00413c70 -0082b2f0 004155d0 -0082b2f0 00413b90 -0082b2f0 00a0f4e0 -0082b2f0 00aef5c4 -0082b2f0 00aeff60 -0082b2f0 00a178d0 -0082b2f0 EXTERNAL:0000023f -0082b2f0 00aef15c -0082b2f0 00414730 -0082b2f0 00aef12b -0082b2f0 0082bd60 -0082b2f0 00413bf0 -0082b2f0 00421680 0082b2f0 0040ccd0 -0082b2f0 EXTERNAL:00000262 +0082b2f0 00421680 +0082b2f0 00413c70 +0082b2f0 0040d040 +0082b2f0 00413b90 +0082b2f0 00aef5c4 +0082b2f0 00413bf0 +0082b2f0 00aef12b +0082b2f0 00aef15c +0082b2f0 EXTERNAL:00000220 +0082b2f0 00aeff60 +0082b2f0 00aef638 +0082b2f0 004155d0 0082b2f0 0040ccc0 +0082b2f0 00a178d0 +0082b2f0 EXTERNAL:00000262 +0082b2f0 00414730 +0082b2f0 EXTERNAL:0000023f +0082b2f0 0082bd60 +0082b2f0 00a0f4e0 +0082bd60 0040ccd0 0082bd60 0042c8e0 0082bd60 0082e720 -0082bd60 0040ccd0 -0082bf00 EXTERNAL:00000220 -0082bf00 0040d040 -0082bf00 00413c70 -0082bf00 004155d0 -0082bf00 00413b90 -0082bf00 00a0f4e0 -0082bf00 0082e340 -0082bf00 0082e0e0 -0082bf00 00aeff60 -0082bf00 00a178d0 -0082bf00 EXTERNAL:0000023f -0082bf00 0040cf50 -0082bf00 00aef15c -0082bf00 00414730 -0082bf00 0082e650 -0082bf00 00aef12b 0082bf00 0040ccd0 +0082bf00 00413c70 +0082bf00 0040d040 +0082bf00 00413b90 +0082bf00 00aef12b +0082bf00 0082e650 +0082bf00 0082e0e0 +0082bf00 00aef15c +0082bf00 EXTERNAL:00000220 +0082bf00 00aeff60 +0082bf00 004155d0 +0082bf00 0040cf50 +0082bf00 00a178d0 0082bf00 EXTERNAL:00000262 -0082c310 EXTERNAL:00000220 -0082c310 00413c70 -0082c310 004155d0 -0082c310 00413b90 -0082c310 00a0f4e0 -0082c310 00aeff60 -0082c310 00a178d0 -0082c310 EXTERNAL:0000023f -0082c310 00aef15c -0082c310 00414730 -0082c310 00aef12b +0082bf00 00414730 +0082bf00 0082e340 +0082bf00 EXTERNAL:0000023f +0082bf00 00a0f4e0 0082c310 0040ccd0 +0082c310 00413c70 +0082c310 00413b90 +0082c310 00aef12b +0082c310 00aef15c +0082c310 EXTERNAL:00000220 +0082c310 00aeff60 +0082c310 004155d0 +0082c310 00a178d0 0082c310 EXTERNAL:00000262 -0082c600 00a26af0 +0082c310 00414730 +0082c310 EXTERNAL:0000023f +0082c310 00a0f4e0 0082c600 0040ccd0 +0082c600 00a26af0 0082c720 00a112c0 0082c720 0082aa40 -0082c7d0 00a112c0 -0082c7d0 EXTERNAL:00000220 -0082c7d0 00752c30 -0082c7d0 00753390 0082c7d0 006a0d30 +0082c7d0 00753390 0082c7d0 0082d880 0082c7d0 0042c920 -0082c7d0 00af08bd -0082c7d0 006f95a0 -0082c7d0 00aef15c 0082c7d0 00aef12b -0082c7d0 006f9400 -0082c7d0 006da750 -0082c7d0 0082ce40 0082c7d0 004149d0 +0082c7d0 00a112c0 +0082c7d0 00aef15c +0082c7d0 EXTERNAL:00000220 +0082c7d0 006f9400 +0082c7d0 0082ce40 +0082c7d0 00af08bd +0082c7d0 00752c30 +0082c7d0 006f95a0 +0082c7d0 006da750 0082cdd0 0082c7d0 0082ce40 0042c920 -0082ce40 004288a0 0082ce40 0082aa40 +0082ce40 004288a0 0082d000 00829500 -0082d100 EXTERNAL:00000220 -0082d100 0069d630 -0082d100 00aef15c -0082d100 00a0f4c0 -0082d100 004235c0 -0082d100 00aef12b -0082d100 00423480 0082d100 0040ccd0 +0082d100 004235c0 +0082d100 00a0f4c0 +0082d100 0069d630 +0082d100 00423480 +0082d100 00aef12b 0082d100 00685bc0 +0082d100 00aef15c +0082d100 EXTERNAL:00000220 0082d290 00a112c0 0082d320 00a112c0 -0082d4a0 00a0f4e0 -0082d4a0 0082de80 0082d4a0 0040ccd0 0082d4a0 0042a030 +0082d4a0 0082de80 +0082d4a0 00a0f4e0 +0082d880 0082d4a0 +0082d880 0042a030 +0082d880 007e9020 0082d880 00a112c0 0082d880 0082c7d0 -0082d880 0082d4a0 -0082d880 007e9020 -0082d880 0042a030 -0082dac0 0082dd80 -0082dac0 00aef12b -0082dac0 00a0f4e0 -0082dac0 0082de80 0082dac0 0040ccd0 -0082de80 EXTERNAL:00000220 -0082de80 00aef15c +0082dac0 00aef12b +0082dac0 0082de80 +0082dac0 0082dd80 +0082dac0 00a0f4e0 0082de80 00a0f4c0 -0082e050 00aef15c +0082de80 00aef15c +0082de80 EXTERNAL:00000220 0082e050 0040d040 -0082e0a0 00aef15c +0082e050 00aef15c 0082e0a0 0040d040 -0082e0e0 0082e290 -0082e0e0 0040cf50 -0082e0e0 00415bc0 -0082e0e0 0040cee0 -0082e0e0 006a0ab0 +0082e0a0 00aef15c 0082e0e0 0040cf00 +0082e0e0 006a0ab0 +0082e0e0 0040cf50 +0082e0e0 0040cee0 +0082e0e0 0082e290 +0082e0e0 00415bc0 0082e234 00af05eb 0082e234 0069dd10 0082e234 0069dd40 0082e270 00aef15c -0082e290 EXTERNAL:00000220 -0082e290 00aef15c 0082e290 0040d040 +0082e290 00aef15c +0082e290 EXTERNAL:00000220 +0082e3a0 0082e810 +0082e3a0 00af08bd 0082e3a0 0082ea50 0082e3a0 0082e3a0 -0082e3a0 00af08bd -0082e3a0 0082e810 -0082e650 0082e290 +0082e650 0040cf00 +0082e650 006a0ab0 0082e650 0082e340 0082e650 0040cee0 -0082e650 006a0ab0 -0082e650 0040cf00 -0082e720 0082e720 +0082e650 0082e290 0082e720 00a0f4c0 +0082e720 0082e720 0082e7ec 00af05eb -0082e7ec 0042c8e0 0082e7ec 00424530 +0082e7ec 0042c8e0 0082e810 0082eb20 -0082ebb0 00aef15c 0082ebb0 008330e0 -0082ebd0 00709150 -0082ebd0 00aef15c -0082ebd0 008330e0 -0082ebd0 0040d040 +0082ebb0 00aef15c 0082ebd0 00407f10 +0082ebd0 00709150 0082ebd0 004cf210 +0082ebd0 0040d040 0082ebd0 004087a0 -0082ed00 00a0f550 -0082ed00 007090c0 +0082ebd0 008330e0 +0082ebd0 00aef15c 0082ed00 00709150 0082ed00 00a11f30 +0082ed00 007090c0 +0082ed00 00a0f550 0082ee40 00a112c0 -0082f1c0 EXTERNAL:00000220 -0082f1c0 0040bd50 -0082f1c0 009b9310 -0082f1c0 008330e0 -0082f1c0 0074f690 -0082f1c0 0040cae0 -0082f1c0 00aef15c -0082f1c0 0040cf50 -0082f1c0 0040b220 +0082f1c0 00408590 0082f1c0 0069d250 0082f1c0 007ea5d0 -0082f1c0 00417870 -0082f1c0 0040ccd0 -0082f1c0 007e1d50 -0082f1c0 00a112c0 -0082f1c0 0082d030 -0082f1c0 0040c000 -0082f1c0 0040d040 -0082f1c0 0040bf30 -0082f1c0 00408590 -0082f1c0 007523e0 -0082f1c0 0040a5d0 -0082f1c0 00af08bd -0082f1c0 00738470 -0082f1c0 00740bc0 -0082f1c0 0040a380 -0082f1c0 00831780 -0082f1c0 0040a1b0 0082f1c0 00aef12b +0082f1c0 00a112c0 +0082f1c0 00aef15c +0082f1c0 0040cae0 +0082f1c0 EXTERNAL:00000220 0082f1c0 004288a0 +0082f1c0 007523e0 +0082f1c0 0040b220 +0082f1c0 007e1d50 +0082f1c0 00417870 +0082f1c0 009b9310 +0082f1c0 0040ccd0 +0082f1c0 0040d040 +0082f1c0 0040a1b0 +0082f1c0 0082d030 +0082f1c0 0040a5d0 +0082f1c0 00831780 +0082f1c0 00af08bd +0082f1c0 0040bd50 +0082f1c0 00738470 0082f1c0 009b9480 +0082f1c0 00740bc0 0082f1c0 0040cf00 -00830950 00684f30 -00830950 00709df0 -00830950 00408e00 -00830950 007eb1b0 -00830950 0041d520 -00830950 0041af60 -00830950 00a648b0 -00830950 0080ea80 -00830950 006eef60 -00830950 00417870 -00830950 00407f10 -00830950 0082f1c0 -00830950 00a112c0 -00830950 0041d540 +0082f1c0 0074f690 +0082f1c0 008330e0 +0082f1c0 0040cf50 +0082f1c0 0040c000 +0082f1c0 0040a380 +0082f1c0 0040bf30 +00830950 007cd950 +00830950 00a18300 +00830950 00408830 +00830950 007abe20 00830950 006fe2f0 +00830950 00709df0 +00830950 00706020 +00830950 00a112c0 +00830950 006856c0 +00830950 00a18230 +00830950 00a648b0 +00830950 0082f1c0 +00830950 0080ea80 +00830950 00417870 +00830950 00684f30 +00830950 006eef60 +00830950 0041d540 +00830950 0040a1b0 00830950 0080f200 00830950 0040a5d0 -00830950 00408830 -00830950 007cd950 +00830950 0041af60 +00830950 0041d520 +00830950 00407f10 00830950 00740bc0 -00830950 006856c0 -00830950 00a19180 -00830950 00a18300 -00830950 0040a1b0 +00830950 00408e00 00830950 EXTERNAL:00000262 -00830950 007abe20 -00830950 00a18230 +00830950 00a19180 +00830950 007eb1b0 00830950 00748490 -00830950 00706020 -00831780 0040bd50 -00831780 00833010 -00831780 0040a1b0 00831780 0040b220 -00831780 0040bf30 +00831780 0040bd50 +00831780 0040a1b0 +00831780 00833010 00831780 0040a5d0 -008318a0 EXTERNAL:00000220 -008318a0 00684f30 -008318a0 00409030 -008318a0 00830950 -008318a0 007eb1b0 -008318a0 0080ea80 -008318a0 0067f070 -008318a0 0040cae0 -008318a0 0040add0 -008318a0 006eef60 -008318a0 00aef15c -008318a0 00421260 -008318a0 0040cf50 -008318a0 00956780 -008318a0 004186c0 -008318a0 00af0917 -008318a0 007c36b0 -008318a0 00812c90 -008318a0 00499950 -008318a0 0067f1d0 -008318a0 004ce0f0 -008318a0 00a112c0 -008318a0 00800500 -008318a0 007ab380 -008318a0 0080f200 -008318a0 00452bf0 -008318a0 00409100 -008318a0 0082eb90 -008318a0 00af08bd -008318a0 006856c0 -008318a0 00a19180 +00831780 0040bf30 008318a0 00a18300 +008318a0 007abe20 +008318a0 00830950 008318a0 007ab550 008318a0 00aef12b -008318a0 0092dc30 -008318a0 007abe20 +008318a0 00a112c0 +008318a0 EXTERNAL:00000220 +008318a0 00aef15c +008318a0 0040cae0 +008318a0 006856c0 008318a0 00a18230 -008318a0 0040ccc0 +008318a0 00800500 +008318a0 0080ea80 +008318a0 004ce0f0 +008318a0 0082eb90 +008318a0 00499950 +008318a0 00956780 +008318a0 00409030 +008318a0 0067f070 +008318a0 00684f30 008318a0 007d9180 +008318a0 006eef60 +008318a0 00812c90 +008318a0 00452bf0 +008318a0 0080f200 +008318a0 0067f1d0 +008318a0 00421260 +008318a0 0040add0 +008318a0 0092dc30 008318a0 00af05df +008318a0 00409100 +008318a0 00af08bd 008318a0 0040cf00 -00832850 00a112c0 -00832850 00a0f550 -00832850 00833010 -00832850 0041d540 -00832850 0040a220 -00832850 00a10d00 -00832850 00416440 -00832850 0041d520 -00832850 00a13510 -00832850 0040b220 -00832850 00a1dfd0 +008318a0 0040ccc0 +008318a0 007c36b0 +008318a0 0040cf50 +008318a0 004186c0 +008318a0 00a19180 +008318a0 007eb1b0 +008318a0 00af0917 +008318a0 007ab380 00832850 008327e0 -00832850 0040a030 -00832850 00a10e70 00832850 00409120 +00832850 00a1dfd0 +00832850 00a10e70 +00832850 0041d540 +00832850 0040a030 +00832850 00a112c0 +00832850 0041d520 +00832850 0040b220 +00832850 00a13510 +00832850 0040a220 +00832850 00833010 +00832850 00416440 +00832850 00a0f550 +00832850 00a10d00 00833010 00a0f4c0 -00833010 00415bd0 00833010 004170d0 -00833010 00416440 00833010 004074c0 -008330e0 00aef15c -008330e0 008330e0 -008330e0 0040d040 +00833010 00416440 +00833010 00415bd0 008330e0 00407f10 +008330e0 0040d040 +008330e0 008330e0 008330e0 EXTERNAL:00000262 +008330e0 00aef15c 00833270 00aef15c -008332e0 00a112c0 008332e0 00aef12b +008332e0 00a112c0 008332e0 00835300 -00833420 009be6b0 00833420 0040ccd0 -00833420 007cb6e0 -00833420 008332e0 -00833420 0070ee40 00833420 007e1d50 -00833600 00a112c0 -00833600 EXTERNAL:00000220 -00833600 0082d030 -00833600 0082c7d0 +00833420 009be6b0 +00833420 0070ee40 +00833420 008332e0 +00833420 007cb6e0 00833600 007ec100 -00833600 0074f690 +00833600 0082d290 +00833600 007c8830 +00833600 004b39b0 +00833600 00aef12b +00833600 00a112c0 +00833600 0082d030 +00833600 EXTERNAL:00000220 +00833600 00aef15c +00833600 0092dc30 00833600 006fec30 +00833600 0074f690 00833600 00428b20 00833600 0042a270 00833600 0081e520 -00833600 00aef15c +00833600 0082c7d0 00833600 00956780 -00833600 007c8830 -00833600 0082d290 -00833600 00aef12b -00833600 0092dc30 -00833600 004b39b0 +00833c40 00835160 +00833c40 00703950 +00833c40 0041d540 +00833c40 006eef60 +00833c40 007c8830 +00833c40 0069dac0 00833c40 00a112c0 00833c40 EXTERNAL:00000220 -00833c40 0041d540 -00833c40 0069dac0 -00833c40 006fec30 -00833c40 0041d520 -00833c40 00703950 -00833c40 006eef60 00833c40 00aef15c -00833c40 00956780 -00833c40 007c8830 -00833c40 00835160 00833c40 0092dc30 +00833c40 0041d520 +00833c40 006fec30 00833c40 00813520 -00834350 00956780 -00834350 009303f0 -00834350 007fb250 -00834350 00417870 -00834350 007e90f0 -00834350 009e5960 -00834350 0092dc30 +00833c40 00956780 00834350 007e1e70 -00834350 009bb840 +00834350 007fb250 00834350 00833c40 +00834350 00417870 +00834350 009303f0 +00834350 007e90f0 00834350 00833600 -00834680 EXTERNAL:00000220 +00834350 0092dc30 +00834350 009e5960 +00834350 009bb840 +00834350 00956780 00834680 00413c70 -00834680 008350d0 -00834680 0069dac0 -00834680 004155d0 00834680 00413b90 -00834680 00a0f4e0 -00834680 00aeff60 -00834680 00a178d0 -00834680 EXTERNAL:0000023f -00834680 00aef15c -00834680 00414730 -00834680 00aef12b -00834680 EXTERNAL:00000262 +00834680 0069dac0 00834680 00834dc0 +00834680 00aef12b +00834680 00aef15c +00834680 EXTERNAL:00000220 +00834680 00aeff60 +00834680 004155d0 +00834680 00a178d0 00834680 00834c60 -00834c60 00415bc0 -00834c60 0040cee0 -00834c60 00834fa0 +00834680 008350d0 +00834680 EXTERNAL:00000262 +00834680 00414730 +00834680 EXTERNAL:0000023f +00834680 00a0f4e0 00834c60 0040cf00 -00834dc0 EXTERNAL:00000220 +00834c60 00834fa0 +00834c60 0040cee0 +00834c60 00415bc0 00834dc0 008354f0 -00834dc0 00aef15c -00834dc0 008350d0 -00834dc0 0069dac0 -00834dc0 00415bc0 -00834dc0 0040cee0 00834dc0 0040cf00 -00834f6f 0069dd90 +00834dc0 0069dac0 +00834dc0 008350d0 +00834dc0 00aef15c +00834dc0 EXTERNAL:00000220 +00834dc0 0040cee0 +00834dc0 00415bc0 00834f6f 00af05eb 00834f6f 00709090 -00834fa0 EXTERNAL:00000220 +00834f6f 0069dd90 00834fa0 00aef15c -008350d0 0040cee0 +00834fa0 EXTERNAL:00000220 008350d0 0040cf00 -00835160 008350a0 -00835160 00835070 -00835160 00415bc0 +008350d0 0040cee0 00835160 00835020 -00835160 0040cee0 -00835160 00834fa0 00835160 00af08bd 00835160 0040cf00 -00835300 0069dd90 -00835300 008350d0 -00835300 0069dac0 -00835300 00415bc0 -00835300 00835580 -00835300 0040cee0 +00835160 00835070 +00835160 008350a0 +00835160 00834fa0 +00835160 0040cee0 +00835160 00415bc0 00835300 0040cf00 +00835300 00835580 +00835300 0069dac0 +00835300 008350d0 +00835300 0040cee0 +00835300 0069dd90 +00835300 00415bc0 00835550 0069dac0 -00835580 006a0dc0 00835580 00af08bd -00835620 00416510 +00835580 006a0dc0 00835620 0042c920 -00835620 00a0f4e0 00835620 00420a80 +00835620 00416510 00835620 0084d740 -00835820 00a112c0 -00835820 EXTERNAL:0000023f -00835820 00aef12b +00835620 00a0f4e0 00835820 00a648b0 -00835820 EXTERNAL:0000022f -00835820 0084d740 -00835820 EXTERNAL:00000262 00835820 EXTERNAL:000001f3 -00835ba0 00a112c0 +00835820 00aef12b +00835820 EXTERNAL:00000262 +00835820 00a112c0 +00835820 EXTERNAL:0000022f +00835820 EXTERNAL:0000023f +00835820 0084d740 00835ba0 00a20390 +00835ba0 00a112c0 00835c90 00835ba0 -00835c90 00a112c0 +00835c90 00a20390 00835c90 00af08b1 00835c90 00aef12b -00835c90 008367e0 -00835c90 00a20390 -00835c90 00a0f4e0 +00835c90 00a112c0 00835c90 EXTERNAL:0000022f -00835f70 EXTERNAL:00000220 -00835f70 00835820 -00835f70 00413c70 -00835f70 004155d0 -00835f70 008367e0 -00835f70 00413b90 -00835f70 00420a80 -00835f70 00a0f4e0 -00835f70 00499580 -00835f70 00aeff60 -00835f70 00aef15c -00835f70 00414730 -00835f70 00aef12b +00835c90 008367e0 +00835c90 00a0f4e0 00835f70 0040ccd0 -00835f70 EXTERNAL:00000262 +00835f70 00413c70 +00835f70 00413b90 00835f70 00a24fd0 +00835f70 00aef12b +00835f70 00aef15c +00835f70 EXTERNAL:00000220 +00835f70 00aeff60 +00835f70 004155d0 00835f70 0040cf00 +00835f70 00499580 +00835f70 00420a80 +00835f70 EXTERNAL:00000262 +00835f70 00835820 +00835f70 00414730 +00835f70 008367e0 +00835f70 00a0f4e0 +00836370 00835620 +00836370 00413b90 +00836370 00836a90 +00836370 00aef12b +00836370 00aef15c 00836370 EXTERNAL:00000220 00836370 00416510 -00836370 00413b90 -00836370 00420a80 -00836370 00a0f4e0 00836370 00aeff60 00836370 00a25090 -00836370 00aef15c -00836370 00835620 -00836370 00414730 -00836370 00aef12b +00836370 00420a80 00836370 EXTERNAL:00000262 -00836370 00836a90 -00836690 00836770 +00836370 00414730 +00836370 00a0f4e0 00836690 EXTERNAL:00000262 -00836770 EXTERNAL:00000220 +00836690 00836770 00836770 00aef15c -008367e0 EXTERNAL:00000220 -008367e0 00aef15c -008367e0 00415bc0 -008367e0 00836a50 -008367e0 0040cee0 +00836770 EXTERNAL:00000220 008367e0 0040cf00 +008367e0 00aef15c +008367e0 EXTERNAL:00000220 +008367e0 0040cee0 +008367e0 00836a50 +008367e0 00415bc0 00836a90 00836f40 -00836a90 00836e70 -00836a90 00836d00 -00836a90 00af05e5 00836a90 00836d30 +00836a90 00836e70 +00836a90 00af05e5 +00836a90 00836d00 00836d00 00836a90 00836d30 00836f40 00836d30 00836e70 -00836d30 00836d00 00836d30 00af05e5 +00836d30 00836d00 00836e70 00836f40 00837010 EXTERNAL:00000263 00837030 EXTERNAL:00000262 -00837060 EXTERNAL:00000243 00837060 00837050 +00837060 EXTERNAL:00000243 00837090 00837060 008370b0 00af0917 -008370f0 EXTERNAL:00000220 -008370f0 00a0f550 008370f0 0040bd50 -008370f0 00aef15c -008370f0 00aef12b 008370f0 0040cf00 -00837210 00409030 +008370f0 00aef12b +008370f0 EXTERNAL:00000220 +008370f0 00aef15c +008370f0 00a0f550 00837210 0040a1b0 00837210 0040a5d0 +00837210 00409030 008372e0 00a1b210 -008372e0 00aef12b -008372e0 0040a030 008372e0 00a1ba10 +008372e0 0040a030 +008372e0 00aef12b 00837510 0040a1b0 00837510 0040a5d0 00837590 0040a1b0 00837590 0040a5d0 -00837660 00a2c370 00837660 0040b220 00837660 00aef12b 00837660 EXTERNAL:00000262 -00837740 0040cae0 -00837740 EXTERNAL:00000220 -00837740 0040c000 -00837740 00aef15c +00837660 00a2c370 +00837740 0040ccd0 00837740 0040b220 +00837740 0040c000 00837740 00aef12b 00837740 EXTERNAL:00000262 -00837740 0040ccd0 -008378e0 EXTERNAL:00000220 +00837740 0040cae0 +00837740 EXTERNAL:00000220 +00837740 00aef15c 008378e0 0040bd50 -008378e0 00aef15c -008378e0 00aef12b 008378e0 0040cf00 -00837ab0 00a112c0 -00837ab0 00409030 +008378e0 00aef12b +008378e0 EXTERNAL:00000220 +008378e0 00aef15c 00837ab0 0040a1b0 -00837ab0 00837fe0 00837ab0 00408b90 +00837ab0 00a112c0 00837ab0 0040a5d0 -00837c10 00a0f550 -00837c10 00a1c7d0 -00837c10 00a1b2d0 -00837c10 0040ace0 +00837ab0 00837fe0 +00837ab0 00409030 00837c10 00a1c480 -00837c10 0069dac0 -00837c10 00a55d60 -00837c10 0040a030 +00837c10 00a1c7d0 +00837c10 0040ace0 00837c10 00a1ba10 +00837c10 0040a030 +00837c10 0069dac0 +00837c10 00a1b2d0 +00837c10 00a0f550 +00837c10 00a55d60 +00837fe0 0090b070 00837fe0 009561e0 00837fe0 0091c870 -00837fe0 0090b070 00837fe0 00838190 008380f0 0040a1b0 008380f0 0040a5d0 00838190 0040a1b0 00838190 0040a5d0 -00838230 00a2c370 00838230 0040b220 00838230 00aef12b 00838230 EXTERNAL:00000262 -00838380 0040cae0 -00838380 EXTERNAL:00000220 -00838380 0040c000 -00838380 00aef15c +00838230 00a2c370 +00838380 0040ccd0 00838380 0040b220 +00838380 0040c000 00838380 00aef12b 00838380 EXTERNAL:00000262 -00838380 0040ccd0 +00838380 0040cae0 +00838380 EXTERNAL:00000220 +00838380 00aef15c 00838520 00409030 -00838560 00a112c0 +00838560 007e1e70 +00838560 0040ccd0 00838560 009be080 00838560 00428b20 -00838560 0040ccd0 00838560 0070ee40 -00838560 007e1e70 +00838560 00a112c0 00838ae0 006eef60 00838ae0 006fe410 -00838c30 0040a380 -00838c30 00409030 -00838c30 00709df0 +00838c30 007cd950 00838c30 006fd7c0 -00838c30 00839070 00838c30 006fed60 00838c30 007484c0 -00838c30 007cd950 -00838eb0 EXTERNAL:00000220 -00838eb0 0082d030 +00838c30 00709df0 +00838c30 0040a380 +00838c30 00839070 +00838c30 00409030 +00838eb0 0040ccd0 00838eb0 0040bd50 -00838eb0 00aef15c +00838eb0 0074f690 00838eb0 0040a1b0 00838eb0 00aef12b -00838eb0 0074f690 -00838eb0 0040ccd0 +00838eb0 0082d030 +00838eb0 EXTERNAL:00000220 +00838eb0 00aef15c 00838eb0 0040a5d0 -00839070 00a112c0 00839070 00435a50 +00839070 00a112c0 008391a0 0040bd50 008391a0 00a0f4c0 -008391a0 00416440 008391a0 004074c0 -00839300 00839960 -00839300 0040d040 +008391a0 00416440 00839300 00407f10 +00839300 0040d040 00839300 004087a0 -00839380 008399a0 -00839380 00407ae0 -00839380 0040d040 +00839300 00839960 00839380 00407690 00839380 00407f10 +00839380 0040d040 00839380 EXTERNAL:00000262 -00839550 00af0917 -00839550 00408e00 +00839380 00407ae0 +00839380 008399a0 00839550 0040a0d0 +00839550 00408e00 +00839550 00af0917 00839550 0040a400 -00839840 EXTERNAL:000001d7 -00839840 00aef15c -00839840 00a0f4c0 00839840 00435a50 +00839840 00a0f4c0 +00839840 00aef15c +00839840 EXTERNAL:000001d7 00839960 00aef15c -008399a0 00aef15c 008399a0 00a0f4c0 +008399a0 00aef15c 00839b40 00aef15c 00839b80 0040bd50 -00839b80 0040c000 -00839b80 00aef15c -00839b80 0040a1b0 00839b80 0040b220 -00839b80 00aef12b -00839b80 0040a5d0 00839b80 0040cf00 -0083a080 00409030 +00839b80 0040a1b0 +00839b80 0040c000 +00839b80 00aef12b +00839b80 00aef15c +00839b80 0040a5d0 0083a080 006ab440 -0083a1b0 00a0f550 -0083a1b0 00a11160 +0083a080 00409030 0083a1b0 0040b220 0083a1b0 00408590 0083a1b0 00a10e70 -0083a3d0 00a0f550 -0083a3d0 00a112c0 -0083a3d0 006831c0 -0083a3d0 0040a220 -0083a3d0 00a10d00 +0083a1b0 00a11160 +0083a1b0 00a0f550 0083a3d0 00408590 -0083a3d0 00684fc0 -0083a3d0 00a13510 0083a3d0 00a1dfd0 -0083a3d0 0040b220 -0083a3d0 00aef12b -0083a3d0 00a140c0 0083a3d0 00a10e70 +0083a3d0 00aef12b +0083a3d0 00684fc0 +0083a3d0 00a112c0 +0083a3d0 0040b220 +0083a3d0 00a13510 +0083a3d0 00a140c0 +0083a3d0 0040a220 +0083a3d0 00a0f550 +0083a3d0 006831c0 +0083a3d0 00a10d00 0083aae0 0040c550 -0083abb0 00709300 0083abb0 0040c7f0 -0083ac20 0040c550 -0083ac20 00a14050 -0083ac20 00683060 +0083abb0 00709300 +0083ac20 009e0240 0083ac20 00a1dfd0 +0083ac20 00a10e70 +0083ac20 00a10c00 0083ac20 00aef12b 0083ac20 00af0911 -0083ac20 00a10c00 -0083ac20 00a10e70 -0083ac20 009e0240 -0083b280 0040c550 -0083b280 00414a80 -0083b280 0083c320 -0083b280 009588a0 -0083b280 0083bf50 -0083b280 0040c4a0 -0083b280 00709300 -0083b280 0072fd10 -0083b280 0083aae0 -0083b280 00414d60 -0083b280 00740bc0 -0083b280 00aef15c -0083b280 00415800 -0083b280 004288a0 +0083ac20 00a14050 +0083ac20 00683060 +0083ac20 0040c550 0083b280 0083bf90 +0083b280 0083bf50 0083b280 0040c7f0 +0083b280 00414a80 +0083b280 00aef15c +0083b280 004288a0 +0083b280 009588a0 +0083b280 0040c4a0 +0083b280 00740bc0 +0083b280 0083aae0 +0083b280 0083c320 +0083b280 0072fd10 +0083b280 00709300 +0083b280 00414d60 +0083b280 0040c550 +0083b280 00415800 0083b830 00aef15c 0083b830 00415800 -0083b850 00a112c0 -0083b850 EXTERNAL:00000220 -0083b850 00aef15c 0083b850 0083bbc0 0083b850 0083b280 +0083b850 00a112c0 +0083b850 00aef15c +0083b850 EXTERNAL:00000220 0083bbc0 0090b100 -0083bc50 EXTERNAL:00000220 0083bc50 00aef15c +0083bc50 EXTERNAL:00000220 0083bf50 00a0f4c0 0083bf90 0083bff0 0083bf90 0040c550 -0083bff0 EXTERNAL:00000220 -0083bff0 0040c550 -0083bff0 00aef15c -0083bff0 00415bc0 -0083bff0 0040cee0 0083bff0 0083c270 -0083bff0 00709300 0083bff0 0040cf00 +0083bff0 00709300 +0083bff0 00aef15c +0083bff0 EXTERNAL:00000220 +0083bff0 0040cee0 +0083bff0 0040c550 +0083bff0 00415bc0 0083c241 00af05eb -0083c241 00709010 0083c241 00709030 -0083c270 0040c550 +0083c241 00709010 0083c270 00709300 -0083c320 0040c550 +0083c270 0040c550 0083c320 00a0f4c0 +0083c320 004170d0 0083c320 004288a0 0083c320 00415bd0 -0083c320 004170d0 +0083c320 0040c550 0083c400 00aef15c 0083c480 00709300 -0083c4c0 00424cd0 -0083c4c0 0040d040 -0083c4c0 009efa10 0083c4c0 00407f10 +0083c4c0 0040d040 0083c4c0 004087a0 -0083c5f0 EXTERNAL:00000220 +0083c4c0 00424cd0 +0083c4c0 009efa10 +0083c5f0 00407f10 0083c5f0 0040bd50 -0083c5f0 00aef15c +0083c5f0 0040cf00 0083c5f0 0040a1b0 0083c5f0 00aef12b -0083c5f0 00407f10 -0083c5f0 0040a5d0 0083c5f0 009efb60 -0083c5f0 0040cf00 -0083c8d0 0040bd50 -0083c8d0 0060c790 -0083c8d0 007706e0 -0083c8d0 0040c340 -0083c8d0 00420710 -0083c8d0 007300d0 -0083c8d0 0040cae0 -0083c8d0 009c25e0 -0083c8d0 0040b220 -0083c8d0 009c3940 -0083c8d0 009c39e0 -0083c8d0 00856840 -0083c8d0 00431070 -0083c8d0 00840540 -0083c8d0 00694fb0 -0083c8d0 0083d6e0 -0083c8d0 006ee200 -0083c8d0 009c2700 -0083c8d0 0040a380 -0083c8d0 009c1260 -0083c8d0 009c0760 -0083c8d0 0040c7f0 -0083c8d0 009c07f0 -0083c8d0 0084dea0 -0083c8d0 0040cf00 -0083c8d0 00856650 -0083c8d0 EXTERNAL:00000220 -0083c8d0 00840250 +0083c5f0 EXTERNAL:00000220 +0083c5f0 00aef15c +0083c5f0 0040a5d0 0083c8d0 0084da20 -0083c8d0 0084f680 -0083c8d0 0072fd70 -0083c8d0 0072fd10 -0083c8d0 0084f640 -0083c8d0 0083d7c0 -0083c8d0 00aef15c -0083c8d0 0084f740 -0083c8d0 0083d760 -0083c8d0 00af0917 -0083c8d0 0040ccd0 -0083c8d0 00407f10 -0083c8d0 004149d0 -0083c8d0 00a0f550 -0083c8d0 009b9380 -0083c8d0 0040d040 -0083c8d0 0040c440 -0083c8d0 009588a0 -0083c8d0 008568a0 -0083c8d0 0072fe00 -0083c8d0 009c3ab0 0083c8d0 00734a80 -0083c8d0 0040c3b0 +0083c8d0 0084f740 0083c8d0 00aef12b +0083c8d0 00694fb0 +0083c8d0 0072fe00 +0083c8d0 009c25e0 +0083c8d0 008568a0 +0083c8d0 0040c340 +0083c8d0 0040b220 +0083c8d0 009c39e0 +0083c8d0 00431070 +0083c8d0 009b9380 +0083c8d0 00840250 +0083c8d0 0084f680 +0083c8d0 0040c440 +0083c8d0 00840540 +0083c8d0 00420710 +0083c8d0 009c0760 +0083c8d0 009c2700 +0083c8d0 009588a0 +0083c8d0 0040c3b0 +0083c8d0 0040cf00 +0083c8d0 0083d760 +0083c8d0 009c07f0 +0083c8d0 00a0f550 +0083c8d0 00af0917 +0083c8d0 0060c790 +0083c8d0 0040cae0 +0083c8d0 00856650 +0083c8d0 00aef15c +0083c8d0 EXTERNAL:00000220 +0083c8d0 009c3940 0083c8d0 0084f6e0 -0083d6e0 00415800 -0083d6e0 0040c7f0 +0083c8d0 0072fd10 +0083c8d0 00856840 +0083c8d0 007706e0 +0083c8d0 0083d6e0 +0083c8d0 009c1260 +0083c8d0 007300d0 +0083c8d0 0040ccd0 +0083c8d0 0072fd70 +0083c8d0 009c3ab0 +0083c8d0 0040d040 +0083c8d0 0040c7f0 +0083c8d0 0083d7c0 +0083c8d0 004149d0 +0083c8d0 00407f10 +0083c8d0 0040bd50 +0083c8d0 006ee200 +0083c8d0 0084f640 +0083c8d0 0040a380 +0083c8d0 0084dea0 0083d6e0 009c3ab0 +0083d6e0 0040c7f0 +0083d6e0 00415800 0083d7c0 006ac6c0 -0083d7c0 009b9380 0083d7c0 00823be0 -0083d8c0 EXTERNAL:00000220 -0083d8c0 0040a1b0 -0083d8c0 00aef15c -0083d8c0 00732e90 -0083d8c0 00408e00 -0083d8c0 0040a030 -0083d8c0 0040a5d0 +0083d7c0 009b9380 0083d8c0 00af08bd -0083eae0 00840030 -0083eae0 EXTERNAL:00000220 -0083eae0 0040c550 -0083eae0 00683060 -0083eae0 009586f0 -0083eae0 004476a0 -0083eae0 0072fd10 +0083d8c0 00408e00 +0083d8c0 0040a1b0 +0083d8c0 0040a030 +0083d8c0 00732e90 +0083d8c0 0040a5d0 +0083d8c0 EXTERNAL:00000220 +0083d8c0 00aef15c 0083eae0 009f0140 -0083eae0 00aef15c -0083eae0 0083d760 -0083eae0 0040a0d0 -0083eae0 0040ccd0 -0083eae0 00a10e70 -0083eae0 00431070 -0083eae0 00a0f550 -0083eae0 00aefca0 -0083eae0 009b9380 -0083eae0 00428590 -0083eae0 0083d8c0 -0083eae0 0072fec0 -0083eae0 0072fe80 -0083eae0 0084e5b0 -0083eae0 00407170 -0083eae0 009efdb0 -0083eae0 004997f0 -0083eae0 00af08bd -0083eae0 004073d0 0083eae0 00aef12b -0083eae0 00840510 0083eae0 00682260 +0083eae0 00aef15c +0083eae0 EXTERNAL:00000220 +0083eae0 00aefca0 +0083eae0 00431070 +0083eae0 0072fd10 +0083eae0 004476a0 +0083eae0 00840030 +0083eae0 00407170 +0083eae0 00840510 +0083eae0 009b9380 +0083eae0 0040c550 +0083eae0 0072fe80 +0083eae0 0040ccd0 +0083eae0 009586f0 +0083eae0 009efdb0 +0083eae0 00a10e70 +0083eae0 0084e5b0 +0083eae0 00428590 +0083eae0 004997f0 +0083eae0 00683060 +0083eae0 00af08bd +0083eae0 0040a0d0 +0083eae0 004073d0 +0083eae0 0083d760 +0083eae0 0083d8c0 +0083eae0 00a0f550 +0083eae0 0072fec0 00840030 00408e00 00840030 0072fd10 -00840250 00a0f550 00840250 0083eae0 +00840250 00a0f550 008402f0 00aefca0 008402f0 009f0140 -00840370 00a0f550 +00840370 008370b0 00840370 00aefca0 00840370 009c06a0 -00840370 008370b0 00840370 0083eae0 +00840370 00a0f550 008404a0 00aefca0 008404a0 009efdb0 +00840540 0040ccd0 00840540 00aef12b 00840540 00840510 -00840540 0040ccd0 -008405b0 00a0f550 008405b0 00a1a640 008405b0 004074c0 -00840670 0042c8e0 -00840670 00709150 -00840670 00aef15c -00840670 0040d040 -00840670 004b3950 +008405b0 00a0f550 00840670 00407f10 -00840670 00840f70 00840670 00a1ad90 +00840670 004b3950 +00840670 00840f70 +00840670 00709150 +00840670 0040d040 00840670 004087a0 -008407a0 EXTERNAL:00000220 -008407a0 00a0f550 -008407a0 007090c0 +00840670 0042c8e0 +00840670 00aef15c 008407a0 0040bd50 -008407a0 00a1a730 -008407a0 00aef15c -008407a0 008f5ad0 -008407a0 00aef12b -008407a0 00a11f30 008407a0 00840f70 +008407a0 00a11f30 +008407a0 007090c0 +008407a0 008f5ad0 008407a0 0040cf00 -00840b00 00841000 -00840b00 00a112c0 -00840b00 00a2c370 -00840b00 0040a1b0 +008407a0 00aef12b +008407a0 EXTERNAL:00000220 +008407a0 00aef15c +008407a0 00a0f550 +008407a0 00a1a730 00840b00 0040b220 +00840b00 00841000 00840b00 00a648b0 -00840b00 00840c60 +00840b00 0040a1b0 00840b00 008410c0 +00840b00 00840c60 +00840b00 00a112c0 00840b00 0040a5d0 +00840b00 00a2c370 00840c60 0040a1b0 00840c60 0040a5d0 -00840ce0 00409030 -00840ce0 0040a380 00840ce0 00840f70 -00840e10 00a0f550 +00840ce0 0040a380 +00840ce0 00409030 00840e10 0040a0d0 -00840e10 0040ac70 00840e10 00a10e70 +00840e10 0040ac70 +00840e10 00a0f550 00840f70 EXTERNAL:00000262 00841000 00a648b0 00841000 00af05df 008410c0 006856c0 -008410c0 00a0f550 008410c0 00684f30 -008410c0 00a1b210 -008410c0 00a19180 -008410c0 00a18300 -008410c0 006836c0 -008410c0 008413a0 008410c0 00a18230 +008410c0 00a18300 +008410c0 00a1b210 008410c0 00a1ba10 -008413a0 00a1c7d0 -008413a0 0040c550 +008410c0 006836c0 +008410c0 00a19180 +008410c0 00a0f550 +008410c0 008413a0 008413a0 00a1c480 -008413a0 00683060 -008413a0 0069dac0 -008413a0 00a55d60 -008413a0 00408590 -008413a0 00416440 +008413a0 00a671b0 008413a0 00a14200 -008413a0 0040c3b0 -008413a0 0040b220 -008413a0 00a14c00 +008413a0 00408590 +008413a0 00a10e70 +008413a0 0069dac0 008413a0 00aef12b +008413a0 00a14c00 008413a0 00a13750 +008413a0 00a55d60 +008413a0 00683060 +008413a0 00a1c7d0 +008413a0 0040b220 +008413a0 0040c3b0 008413a0 0041c770 008413a0 00a11080 008413a0 00a140c0 -008413a0 00a10e70 -008413a0 00a671b0 -00841cf0 0040c7f0 +008413a0 00416440 +008413a0 0040c550 00841cf0 00709380 -00841e20 007cafe0 +00841cf0 0040c7f0 00841e20 007706e0 -00842230 0040c550 -00842230 0040bd50 -00842230 00414a80 -00842230 0083b830 -00842230 00a0f4c0 -00842230 0084bef0 -00842230 007098c0 -00842230 007706e0 -00842230 0083c320 -00842230 0083c400 -00842230 0072fd10 -00842230 0084bba0 -00842230 0084bbc0 -00842230 00aeff60 -00842230 00aef15c -00842230 00415800 -00842230 00407f10 -00842230 0084bc30 -00842230 00956110 -00842230 0084bc00 -00842230 009a6110 -00842230 0040c440 -00842230 009588a0 -00842230 0040c4a0 -00842230 00841e20 -00842230 00415d20 -00842230 00694fb0 +00841e20 007cafe0 00842230 00709380 -00842230 00740bc0 -00842230 009a8970 -00842230 0040c3b0 +00842230 00a0f4c0 +00842230 0083c400 +00842230 00956110 +00842230 0084bba0 00842230 00aef12b +00842230 00694fb0 +00842230 00414a80 +00842230 00aef15c 00842230 004288a0 -00842230 0040c7f0 -00842230 00748490 +00842230 00841e20 +00842230 0040c4a0 +00842230 0083b830 +00842230 0084bbc0 +00842230 0072fd10 +00842230 007706e0 +00842230 0084bc30 +00842230 009a8970 +00842230 00415d20 +00842230 0040c550 +00842230 00415800 00842230 0040d0c0 -00843df0 EXTERNAL:00000220 -00843df0 006831c0 -00843df0 004071c0 -00843df0 007706e0 -00843df0 00a1b140 -00843df0 00408e00 -00843df0 0041d520 -00843df0 004476a0 -00843df0 006f95a0 -00843df0 00930980 -00843df0 007cafe0 -00843df0 007db6b0 +00842230 0040c440 +00842230 0040c7f0 +00842230 009a6110 +00842230 007098c0 +00842230 009588a0 +00842230 0084bc00 +00842230 00aeff60 +00842230 00407f10 +00842230 0040bd50 +00842230 0040c3b0 +00842230 00740bc0 +00842230 0084bef0 +00842230 0083c320 +00842230 00748490 +00843df0 00682ed0 +00843df0 00a1af90 +00843df0 00aef12b +00843df0 0084ad40 00843df0 00aef15c -00843df0 007cae60 +00843df0 EXTERNAL:00000220 +00843df0 00a1d710 00843df0 00a1b8e0 -00843df0 006f9400 -00843df0 0040a0d0 -00843df0 007bf670 -00843df0 00aef29d -00843df0 00aef253 -00843df0 00a0f550 +00843df0 0040a6e0 +00843df0 004476a0 +00843df0 007706e0 +00843df0 006831c0 +00843df0 00a1b140 +00843df0 007cafe0 00843df0 0041e420 +00843df0 0040a030 +00843df0 007cae60 +00843df0 00930680 +00843df0 004071c0 +00843df0 0040a5d0 +00843df0 00aef253 +00843df0 006f9400 +00843df0 0041d520 +00843df0 007db6b0 +00843df0 0040a0d0 +00843df0 009305f0 +00843df0 006f95a0 +00843df0 004073d0 +00843df0 007bf670 +00843df0 00a1a540 +00843df0 00aef29d +00843df0 0040cf00 +00843df0 00408e00 00843df0 0040c000 00843df0 007dafb0 -00843df0 00456240 +00843df0 00930980 +00843df0 00a0f550 00843df0 0040bf30 -00843df0 00a1d710 -00843df0 00a1a540 -00843df0 00682ed0 -00843df0 0040a5d0 -00843df0 00a1af90 -00843df0 004073d0 -00843df0 0084ad40 -00843df0 0040a6e0 -00843df0 00aef12b -00843df0 009305f0 -00843df0 00930680 -00843df0 0040a030 -00843df0 0040cf00 +00843df0 00456240 +008452f0 009e0240 008452f0 0040c550 008452f0 00683060 -008452f0 009e0240 -008453c0 0040c550 -008453c0 00791320 -008453c0 00683060 -008453c0 00408e00 -008453c0 009a84c0 -008453c0 0072fd10 -008453c0 00930980 008453c0 007aa7c0 -008453c0 00af0911 -008453c0 0040a0d0 -008453c0 00a10c00 -008453c0 00a10e70 -008453c0 00a0f550 -008453c0 0040a140 -008453c0 00930ae0 -008453c0 00791380 -008453c0 0040a5d0 -008453c0 00407170 -008453c0 004073d0 -008453c0 00a14050 008453c0 00a11160 -008453c0 007308d0 -008453c0 007910f0 -008453c0 0040a6e0 -008453c0 00aef12b -008453c0 00a11080 008453c0 008452f0 +008453c0 00aef12b +008453c0 00af0911 +008453c0 00791380 +008453c0 007910f0 +008453c0 0040a140 +008453c0 0072fd10 +008453c0 0040a6e0 +008453c0 00407170 +008453c0 0040c550 +008453c0 00a10e70 +008453c0 00791320 +008453c0 00a10c00 +008453c0 0040a5d0 +008453c0 00a14050 +008453c0 00683060 +008453c0 0040a0d0 +008453c0 004073d0 +008453c0 00408e00 +008453c0 00a11080 008453c0 00a11210 -00846ff0 00a14050 +008453c0 00930ae0 +008453c0 009a84c0 +008453c0 00930980 +008453c0 00a0f550 +008453c0 007308d0 00846ff0 00aef12b -00846ff0 0084bab0 00846ff0 00407170 -008471c0 EXTERNAL:00000220 -008471c0 0040a220 -008471c0 007706e0 -008471c0 00408e00 -008471c0 008453c0 -008471c0 00a26af0 -008471c0 0041d520 -008471c0 00724bd0 -008471c0 00a1b2d0 -008471c0 00aef15c -008471c0 0040cf50 -008471c0 0072fff0 -008471c0 0040a0d0 -008471c0 0040ccd0 -008471c0 00956110 -008471c0 00849510 -008471c0 00665c60 -008471c0 0040d040 -008471c0 00682ed0 -008471c0 0040a5d0 -008471c0 00407170 -008471c0 00a1ba10 +00846ff0 00a14050 +00846ff0 0084bab0 008471c0 00724af0 -008471c0 0072ff10 -008471c0 0040a380 008471c0 00682b90 -008471c0 00a2c250 008471c0 00734a80 +008471c0 0072ff10 +008471c0 00682ed0 +008471c0 00956110 008471c0 00aef12b +008471c0 00aef15c +008471c0 EXTERNAL:00000220 008471c0 004288a0 +008471c0 00849510 +008471c0 0040a220 +008471c0 00407170 +008471c0 007706e0 +008471c0 00a26af0 +008471c0 0040ccd0 +008471c0 0040d040 008471c0 0040a030 +008471c0 0040a5d0 +008471c0 00665c60 +008471c0 0041d520 +008471c0 0040a0d0 +008471c0 00724bd0 +008471c0 0072fff0 +008471c0 00408e00 +008471c0 00a1ba10 +008471c0 0040cf50 +008471c0 0040a380 +008471c0 008453c0 +008471c0 00a1b2d0 +008471c0 00a2c250 +00848c20 009e0240 00848c20 0040c550 00848c20 00683060 -00848c20 009e0240 -00848d20 00a14050 -00848d20 00848c20 00848d20 0040b220 +00848d20 00409120 +00848d20 00a10e70 00848d20 00aef12b 00848d20 007706e0 -00848d20 00a10e70 -00848d20 00409120 -00849510 00a0f550 -00849510 0040c550 -00849510 00848c20 -00849510 00683060 -00849510 00408e00 -00849510 00770ca0 -00849510 0040a5d0 -00849510 00407170 -00849510 00a14050 -00849510 00a11160 -00849510 00aef12b -00849510 0040a0d0 -00849510 0040a030 +00848d20 00848c20 +00848d20 00a14050 00849510 00a10e70 +00849510 00a11160 +00849510 0040a030 +00849510 00aef12b +00849510 0040a5d0 +00849510 00a14050 +00849510 00683060 +00849510 0040a0d0 +00849510 00770ca0 +00849510 00408e00 +00849510 00407170 +00849510 00a0f550 +00849510 00848c20 +00849510 0040c550 +0084a3e0 00409120 0084a3e0 00408e00 0084a3e0 0040a5d0 -0084a3e0 00409120 0084a870 00843df0 0084a920 00a0f550 0084a920 00a10d00 -0084abc0 00a112c0 0084abc0 00aefca0 -0084ad40 0084a920 +0084abc0 00a112c0 +0084ad40 00aef15c 0084ad40 EXTERNAL:00000220 -0084ad40 0040c550 -0084ad40 00aefca0 -0084ad40 0084abc0 -0084ad40 00a10d00 0084ad40 009588a0 +0084ad40 00aef253 +0084ad40 0042f430 0084ad40 009b9570 0084ad40 0040c3b0 -0084ad40 00aef15c -0084ad40 00af0917 -0084ad40 00a11080 -0084ad40 0042f430 -0084ad40 00752900 +0084ad40 00aefca0 0084ad40 00aef29d -0084ad40 00aef253 +0084ad40 0084a920 +0084ad40 00a11080 +0084ad40 00752900 +0084ad40 0084abc0 +0084ad40 00af0917 +0084ad40 0040c550 +0084ad40 00a10d00 +0084bab0 00a10e70 0084bab0 00a0f550 0084bab0 0040c550 0084bab0 00683060 -0084bab0 00a10e70 0084bba0 00709380 -0084bbc0 0040c550 0084bbc0 0084bc30 +0084bbc0 0040c550 0084bc00 0040c550 -0084bc30 EXTERNAL:00000220 -0084bc30 0040c550 +0084bc30 00709380 +0084bc30 0040cf00 0084bc30 0084be60 0084bc30 00aef15c -0084bc30 00415bc0 +0084bc30 EXTERNAL:00000220 0084bc30 0040cee0 -0084bc30 0040cf00 -0084bc30 00709380 -0084be32 0069dd90 +0084bc30 0040c550 +0084bc30 00415bc0 0084be32 00af05eb 0084be32 00709070 -0084be60 0040c550 +0084be32 0069dd90 0084be60 00709380 +0084be60 0040c550 0084bef0 0040c550 0084bf20 00709380 -0084bf30 007db700 0084bf30 0090b100 -0084c170 00a112c0 +0084bf30 007db700 0084c170 009be080 +0084c170 00a112c0 0084c170 0084bf30 0084c170 0084ca00 0084c2c0 0041e420 -0084c2c0 00a1bd80 -0084c2c0 00aef12b -0084c2c0 0069dac0 -0084c2c0 00771550 -0084c2c0 00a55d60 0084c2c0 00408e00 +0084c2c0 00771550 +0084c2c0 00a1af90 0084c2c0 0040a030 +0084c2c0 0069dac0 +0084c2c0 00aef12b 0084c2c0 00408d00 0084c2c0 00a1bb10 -0084c2c0 00a1af90 -0084ca00 007f96f0 +0084c2c0 00a1bd80 +0084c2c0 00a55d60 0084ca00 00749830 -0084ca00 007f92b0 +0084ca00 007f96f0 0084ca00 0084d6b0 -0084cc40 007f96f0 +0084ca00 007f92b0 0084cc40 00749830 +0084cc40 007f96f0 0084cc40 007f92b0 0084cc40 0084ca00 0084d740 00a112c0 @@ -29528,235 +29528,235 @@ 0084db90 008562b0 0084dbc0 0040d040 0084dbc0 004149d0 -0084dc00 0041e420 -0084dc00 EXTERNAL:00000220 -0084dc00 00856650 0084dc00 0084da20 -0084dc00 00aef15c +0084dc00 0040ccd0 +0084dc00 0041e420 0084dc00 0040d040 0084dc00 00aef12b -0084dc00 008568a0 -0084dc00 0040ccd0 -0084dc00 00651d50 0084dc00 004149d0 -0084dea0 0084ea90 -0084dea0 EXTERNAL:00000220 -0084dea0 00aef15c +0084dc00 00aef15c +0084dc00 EXTERNAL:00000220 +0084dc00 00856650 +0084dc00 008568a0 +0084dc00 00651d50 0084dea0 00aef12b -0084dea0 0084dc00 +0084dea0 0084ea90 +0084dea0 00aef15c +0084dea0 EXTERNAL:00000220 0084dea0 00856840 +0084dea0 0084dc00 0084dea0 0084eb10 -0084e200 0084ea90 -0084e200 EXTERNAL:00000220 -0084e200 00aef15c 0084e200 00aef12b -0084e200 0084dc00 +0084e200 0084ea90 +0084e200 00aef15c +0084e200 EXTERNAL:00000220 0084e200 00856840 +0084e200 0084dc00 0084e200 0084eb10 -0084e5b0 007706e0 0084e5b0 00771550 +0084e5b0 007706e0 +0084e820 0084e5b0 0084e820 0072fec0 0084e820 0072fe80 -0084e820 0084e5b0 0084e9d0 0084d6b0 0084ea90 0084e9d0 0084ea90 00763570 0084eb10 0084e9d0 0084eb10 00763570 -0084eba0 0040d040 -0084eba0 00850480 -0084eba0 00413c70 -0084eba0 0084dad0 -0084eba0 004155d0 -0084eba0 00413b90 -0084eba0 00a0f4e0 -0084eba0 00853180 -0084eba0 008565e0 -0084eba0 0084f0a0 -0084eba0 00851b20 -0084eba0 00aeff60 -0084eba0 0084f2e0 -0084eba0 00a178d0 -0084eba0 00856100 -0084eba0 00414730 -0084eba0 00aef12b -0084eba0 008562b0 0084eba0 0040ccd0 -0084eba0 EXTERNAL:00000262 +0084eba0 00413c70 +0084eba0 0040d040 +0084eba0 00413b90 +0084eba0 00aef12b +0084eba0 008565e0 +0084eba0 00aeff60 +0084eba0 004155d0 0084eba0 00854940 -0084f0a0 00856650 -0084f0a0 0084dbc0 +0084eba0 00853180 +0084eba0 00856100 +0084eba0 0084f0a0 +0084eba0 0084f2e0 +0084eba0 008562b0 +0084eba0 00a178d0 +0084eba0 00850480 +0084eba0 EXTERNAL:00000262 +0084eba0 00414730 +0084eba0 0084dad0 +0084eba0 00851b20 +0084eba0 00a0f4e0 0084f0a0 0084da20 -0084f0a0 0084f2e0 -0084f0a0 00856100 +0084f0a0 0040ccd0 0084f0a0 0040d040 +0084f0a0 00856100 +0084f0a0 0084f2e0 0084f0a0 00aef12b +0084f0a0 0084f780 +0084f0a0 0084dbc0 +0084f0a0 008562b0 +0084f0a0 00856650 0084f0a0 0084dad0 0084f0a0 008568a0 -0084f0a0 008562b0 -0084f0a0 0040ccd0 -0084f0a0 0084f780 -0084f2e0 008569a0 0084f2e0 0040ccd0 -0084f380 00856650 -0084f380 0084dbc0 +0084f2e0 008569a0 +0084f380 0040ccd0 0084f380 0084da20 -0084f380 0084f2e0 -0084f380 00856100 0084f380 0040d040 +0084f380 00856100 +0084f380 0084f2e0 0084f380 00aef12b +0084f380 0084dbc0 +0084f380 008562b0 +0084f380 00856650 0084f380 0084dad0 0084f380 008568a0 -0084f380 008562b0 -0084f380 0040ccd0 -0084f4e0 00856650 -0084f4e0 0084dbc0 +0084f4e0 0040ccd0 0084f4e0 0084da20 -0084f4e0 0084f2e0 -0084f4e0 00856100 0084f4e0 0040d040 +0084f4e0 00856100 +0084f4e0 0084f2e0 0084f4e0 00aef12b +0084f4e0 0084dbc0 +0084f4e0 008562b0 +0084f4e0 00856650 0084f4e0 0084dad0 0084f4e0 008568a0 -0084f4e0 008562b0 -0084f4e0 0040ccd0 0084f640 004288a0 0084f680 004288a0 0084f6e0 004288a0 0084f740 004288a0 -0084f780 EXTERNAL:00000220 -0084f780 00856650 -0084f780 00651b10 -0084f780 0084dbc0 0084f780 0084da20 -0084f780 004215a0 -0084f780 0040d040 -0084f780 00840540 -0084f780 00856390 -0084f780 0060c790 -0084f780 008568a0 -0084f780 004997f0 -0084f780 0072ff10 -0084f780 00aef15c -0084f780 00aef12b -0084f780 00856280 0084f780 0040ccd0 +0084f780 00840540 +0084f780 0040d040 +0084f780 0060c790 +0084f780 0072ff10 +0084f780 004215a0 +0084f780 00aef12b +0084f780 004997f0 +0084f780 EXTERNAL:00000220 +0084f780 00aef15c +0084f780 00856650 +0084f780 008568a0 +0084f780 00856280 +0084f780 0084dbc0 +0084f780 00651b10 0084f780 00856840 +0084f780 00856390 +00850480 0040ccd0 +00850480 00413c70 +00850480 0040d040 +00850480 00414b10 +00850480 0042c920 +00850480 00aef12b +00850480 00aef15c 00850480 00856650 00850480 EXTERNAL:00000220 -00850480 0040d040 -00850480 00413c70 -00850480 0084dad0 -00850480 0042c920 -00850480 00856120 -00850480 008568a0 -00850480 0084f780 -00850480 00414b10 -00850480 0084f2e0 -00850480 EXTERNAL:0000023f -00850480 00856100 -00850480 00aef15c -00850480 00aef12b 00850480 004288a0 -00850480 008562b0 -00850480 0040c740 -00850480 0040ccd0 +00850480 008568a0 +00850480 00856100 00850480 0067f420 +00850480 0084f2e0 +00850480 00856120 +00850480 008562b0 +00850480 0084f780 +00850480 0084dad0 +00850480 EXTERNAL:0000023f +00850480 0040c740 +00851b20 0040ccd0 +00851b20 00413c70 +00851b20 0040d040 +00851b20 00414b10 +00851b20 0042c920 +00851b20 00aef12b +00851b20 00aef15c 00851b20 00856650 00851b20 EXTERNAL:00000220 -00851b20 0040d040 -00851b20 00413c70 -00851b20 0084dad0 -00851b20 0042c920 -00851b20 00856120 -00851b20 008568a0 -00851b20 0084f780 -00851b20 00414b10 -00851b20 0084f2e0 -00851b20 EXTERNAL:0000023f -00851b20 00856100 -00851b20 00aef15c -00851b20 00aef12b 00851b20 004288a0 -00851b20 008562b0 -00851b20 0040c740 -00851b20 0040ccd0 +00851b20 008568a0 +00851b20 00856100 00851b20 0067f420 +00851b20 0084f2e0 +00851b20 00856120 +00851b20 008562b0 +00851b20 0084f780 +00851b20 0084dad0 +00851b20 EXTERNAL:0000023f +00851b20 0040c740 +00853180 00724af0 +00853180 0040ccd0 +00853180 00413c70 +00853180 0040d040 +00853180 00414b10 +00853180 0042c920 +00853180 00aef12b +00853180 00aef15c 00853180 00856650 00853180 EXTERNAL:00000220 -00853180 0040d040 -00853180 00413c70 -00853180 0084dad0 -00853180 0042c920 -00853180 00856120 00853180 008568a0 -00853180 00414b10 -00853180 00724af0 -00853180 0084f2e0 -00853180 EXTERNAL:0000023f 00853180 00856100 -00853180 00aef15c -00853180 00aef12b -00853180 008562b0 -00853180 0040c740 -00853180 0040ccd0 00853180 0067f420 +00853180 0084f2e0 +00853180 00856120 +00853180 008562b0 +00853180 0084dad0 +00853180 EXTERNAL:0000023f +00853180 0040c740 +00854940 00724af0 +00854940 0040ccd0 +00854940 00413c70 +00854940 0040d040 +00854940 00414b10 +00854940 0042c920 +00854940 00aef12b +00854940 00aef15c 00854940 00856650 00854940 EXTERNAL:00000220 -00854940 0040d040 -00854940 00413c70 -00854940 0084dad0 -00854940 0042c920 -00854940 00856120 00854940 008568a0 -00854940 00414b10 -00854940 00724af0 -00854940 0084f2e0 -00854940 EXTERNAL:0000023f 00854940 00856100 -00854940 00aef15c -00854940 00aef12b -00854940 008562b0 -00854940 0040c740 -00854940 0040ccd0 00854940 0067f420 +00854940 0084f2e0 +00854940 00856120 +00854940 008562b0 +00854940 0084dad0 +00854940 EXTERNAL:0000023f +00854940 0040c740 00856100 00856400 -00856120 00414a80 -00856120 00aef15c 00856120 0040d040 +00856120 00414a80 00856120 008562b0 +00856120 00aef15c 00856120 008565e0 00856120 00415d20 00856280 00856650 00856280 008568a0 -008562b0 EXTERNAL:00000220 008562b0 00aef15c +008562b0 EXTERNAL:00000220 008562b0 00856840 00856330 00856840 -00856350 EXTERNAL:00000220 00856350 00aef15c +00856350 EXTERNAL:00000220 00856390 00651b10 00856400 00a0f4c0 -00856400 00415fe0 -00856400 0084dad0 -00856400 004288a0 00856400 004170d0 00856400 00415f80 -008565e0 00aef15c +00856400 00415fe0 +00856400 004288a0 +00856400 0084dad0 008565e0 0040d040 008565e0 008562b0 +008565e0 00aef15c 008565e0 008565e0 -00856650 EXTERNAL:00000220 00856650 00856e10 -00856650 00aef15c -00856650 00415bc0 -00856650 008568a0 -00856650 0040cee0 -00856650 00856840 00856650 0040cf00 00856650 00856960 -0085680b 00856350 +00856650 00aef15c +00856650 EXTERNAL:00000220 +00856650 0040cee0 +00856650 00856840 +00856650 008568a0 +00856650 00415bc0 0085680b 00af05eb +0085680b 00856350 0085680b 00856330 00856840 0040d040 00856840 004149d0 @@ -29764,382 +29764,382 @@ 008568a0 0043eca0 00856960 00856e10 00856960 00856840 -008569a0 EXTERNAL:00000220 -008569a0 00aef15c +008569a0 0040cf00 008569a0 00856ba0 -008569a0 00415bc0 -008569a0 008568a0 +008569a0 00aef15c +008569a0 EXTERNAL:00000220 008569a0 0040cee0 008569a0 00856840 -008569a0 0040cf00 +008569a0 008568a0 +008569a0 00415bc0 00856b90 00856840 -00856ba0 006a0d30 00856ba0 0040ccd0 +00856ba0 006a0d30 00856ba0 00af08bd 00856f70 00424310 +00856f70 004074c0 00856f70 00424440 00856f70 009e5300 -00856f70 004074c0 -00857050 00aef638 -00857050 00aef15c -00857050 00a51840 -00857050 0040d040 -00857050 004269f0 -00857050 0069dac0 00857050 00407f10 +00857050 00aef638 +00857050 0040d040 00857050 004087a0 +00857050 00a51840 +00857050 0069dac0 +00857050 004269f0 +00857050 00aef15c 008571b0 00aef638 008571b0 00aef15c -00857220 EXTERNAL:00000220 00857220 0040bd50 -00857220 00aef15c -00857220 00aef12b 00857220 0040cf00 +00857220 00aef12b +00857220 EXTERNAL:00000220 +00857220 00aef15c 00857400 00a112c0 -00857450 00409030 -00857450 0040a380 00857450 0040a4d0 -008576c0 00a0f550 -008576c0 00857400 -008576c0 00858610 -008576c0 00a20fb0 -008576c0 00426a50 -008576c0 0040a380 -008576c0 00aef12b -008576c0 0085a8b0 -008576c0 0085af30 -008576c0 0085aeb0 -008576c0 00857c90 -008576c0 00857e40 +00857450 0040a380 +00857450 00409030 008576c0 008583e0 +008576c0 0085a8b0 008576c0 00a51790 +008576c0 00857c90 +008576c0 00aef12b +008576c0 00858610 +008576c0 00857400 +008576c0 0085aeb0 +008576c0 00426a50 +008576c0 0085af30 +008576c0 00a20fb0 +008576c0 0040a380 +008576c0 00a0f550 +008576c0 00857e40 +00857c90 0085af30 +00857c90 00aef12b 00857c90 EXTERNAL:0000025d 00857c90 EXTERNAL:0000025f -00857c90 00aef12b -00857c90 0085af30 +00857e40 0085af30 +00857e40 00aef12b 00857e40 EXTERNAL:0000025d 00857e40 EXTERNAL:0000025f -00857e40 00aef12b -00857e40 0085af30 -00857ff0 00857400 00857ff0 00a51790 -00858050 00a10d00 +00857ff0 00857400 00858050 00a1dfd0 00858050 008588f0 00858050 00859290 -008580e0 00426a50 -008580e0 0040a1b0 -008580e0 00a51840 -008580e0 0040a5d0 -008580e0 00708b70 +00858050 00a10d00 008580e0 008583e0 -00858370 00417870 +008580e0 00426a50 +008580e0 00a51840 +008580e0 00708b70 +008580e0 0040a1b0 +008580e0 0040a5d0 00858370 0090b070 -008583e0 0085afb0 -008583e0 EXTERNAL:00000220 -008583e0 0040a380 +00858370 00417870 008583e0 00aef638 -008583e0 00aef15c -008583e0 00a519a0 -008583e0 00aef12b +008583e0 0085afb0 008583e0 00858610 -00858610 00a112c0 -00858610 0040a380 -00858610 00857400 -00858610 00aef638 -00858610 00aef15c -00858610 00a52100 +008583e0 00aef12b +008583e0 0040a380 +008583e0 00a519a0 +008583e0 00aef15c +008583e0 EXTERNAL:00000220 00858610 00a51570 -00858610 00a51bb0 +00858610 00aef638 00858610 00a51d10 +00858610 00a52100 +00858610 00857400 +00858610 0040a380 +00858610 00a112c0 00858610 00a23200 +00858610 00aef15c 00858610 EXTERNAL:00000263 -008588f0 0041e420 -008588f0 00a0f550 -008588f0 0040ace0 +00858610 00a51bb0 008588f0 009586f0 008588f0 00859100 -008588f0 00aef12b -008588f0 00a1b8e0 -008588f0 0040a030 -008588f0 00a1a540 008588f0 00858870 +008588f0 0041e420 +008588f0 0040ace0 +008588f0 00a1b8e0 +008588f0 00a1a540 008588f0 00a1af90 +008588f0 0040a030 +008588f0 00aef12b +008588f0 00a0f550 00859100 0041e420 -00859100 00a0f550 -00859100 00aef12b 00859100 00a1b8e0 00859100 00a1af90 -00859290 EXTERNAL:00000220 -00859290 0040c550 -00859290 00a1c7d0 -00859290 00a1b210 -00859290 00857ff0 -00859290 0040ace0 -00859290 00683060 -00859290 00a1c480 -00859290 009586f0 -00859290 EXTERNAL:0000025f -00859290 00a10d00 -00859290 0069dac0 -00859290 0040cae0 -00859290 EXTERNAL:0000025d -00859290 0040cf50 -00859290 00aef15c -00859290 00a1b8e0 -00859290 00af0917 -00859290 0085af30 -00859290 009e5300 -00859290 0040a7e0 -00859290 00857c90 -00859290 00a112c0 -00859290 00a0f550 -00859290 0041e420 +00859100 00aef12b +00859100 00a0f550 00859290 0095adf0 +00859290 00a1c480 +00859290 00857c90 +00859290 00a1af90 +00859290 00aef12b +00859290 00a112c0 +00859290 00857ff0 +00859290 0040cae0 +00859290 EXTERNAL:00000220 +00859290 00aef15c +00859290 00a1c7d0 +00859290 00a1b8e0 +00859290 0085af30 +00859290 EXTERNAL:0000025d +00859290 009e5300 +00859290 0040c550 +00859290 0040a7e0 +00859290 00a10d00 +00859290 009586f0 +00859290 0041e420 +00859290 0040ace0 +00859290 00856f50 +00859290 0040a030 +00859290 0069dac0 +00859290 00a14050 +00859290 00683060 00859290 00a55d60 00859290 00a1a540 -00859290 00858370 +00859290 00a1b210 00859290 00a1ba10 -00859290 00a1af90 +00859290 0040cf50 +00859290 EXTERNAL:0000025e +00859290 00a0f550 00859290 00a2c250 00859290 0040b430 -00859290 00a14050 -00859290 EXTERNAL:0000025e -00859290 00aef12b -00859290 0040a030 00859290 00857e40 -00859290 00856f50 +00859290 00858370 +00859290 00af0917 +00859290 EXTERNAL:0000025f 0085a8b0 00a51840 0085a8f0 00a112c0 0085a9d0 00a112c0 0085aad0 00a112c0 0085ab50 00a112c0 0085ab90 00a112c0 +0085ae10 00aef12b 0085ae10 00a112c0 0085ae10 00a51aa0 -0085ae10 00aef12b 0085aeb0 EXTERNAL:0000025d 0085aeb0 EXTERNAL:0000025f -0085afb0 0041e420 0085afb0 0040ccd0 +0085afb0 0041e420 0085b050 008e9ac0 -0085b160 0085b300 0085b160 00a288a0 -0085b260 0040d040 +0085b160 0085b300 0085b260 00426980 +0085b260 0040d040 0085b280 008e9ac0 -0085b300 004267f0 +0085b300 0040ccd0 +0085b300 EXTERNAL:000001b6 +0085b300 EXTERNAL:000001bc 0085b300 0041e420 +0085b300 0067f420 +0085b300 004267f0 +0085b300 00aef12b +0085b300 EXTERNAL:0000023c +0085b300 00aef15c 0085b300 EXTERNAL:00000220 0085b300 EXTERNAL:00000221 -0085b300 00aef15c -0085b300 EXTERNAL:000001b6 -0085b300 EXTERNAL:0000023c -0085b300 00aef12b -0085b300 EXTERNAL:000001bc -0085b300 0040ccd0 -0085b300 0067f420 0085b790 006eef60 0085b790 004997f0 -0085b7f0 00a0f550 0085b7f0 00a1aec0 0085b7f0 00a1b050 -0085be70 EXTERNAL:00000221 +0085b7f0 00a0f550 0085be70 EXTERNAL:000001b6 -0085be70 EXTERNAL:0000023c 0085be70 EXTERNAL:000001bc -0085bed0 00a112c0 +0085be70 EXTERNAL:0000023c +0085be70 EXTERNAL:00000221 0085bed0 00428b20 +0085bed0 00a112c0 0085bf50 EXTERNAL:000001f7 -0085bf90 EXTERNAL:000000bb -0085bf90 EXTERNAL:000000bc -0085bf90 EXTERNAL:000000be 0085bf90 EXTERNAL:000000bf +0085bf90 EXTERNAL:000000bb +0085bf90 EXTERNAL:000000be +0085bf90 EXTERNAL:000000bc 0085bfd0 EXTERNAL:000000b7 0085bff0 EXTERNAL:000000b7 0085c010 EXTERNAL:000000b7 0085c030 EXTERNAL:000000b7 0085c050 EXTERNAL:000000b5 -0085c080 EXTERNAL:000000ad 0085c080 0040ccd0 0085c080 00af08bd 0085c080 EXTERNAL:000000ae 0085c080 0040cf00 +0085c080 EXTERNAL:000000ad 0085c1d0 0040d040 0085c1d0 EXTERNAL:000001f6 -0085c210 00aef15c 0085c210 0040d040 0085c210 EXTERNAL:000001f6 +0085c210 00aef15c 0085c250 EXTERNAL:00000083 -0085c270 EXTERNAL:000000ac 0085c270 EXTERNAL:0000007f 0085c270 EXTERNAL:00000083 0085c270 EXTERNAL:000000bc -0085c2d0 EXTERNAL:00000083 +0085c270 EXTERNAL:000000ac 0085c2d0 0085c270 0085c2d0 EXTERNAL:000000b9 +0085c2d0 EXTERNAL:00000083 0085c300 006a80f0 -0085c300 EXTERNAL:00000083 0085c300 EXTERNAL:000000b9 +0085c300 EXTERNAL:00000083 0085c340 006a80f0 -0085c340 EXTERNAL:00000083 0085c340 EXTERNAL:000000b9 +0085c340 EXTERNAL:00000083 0085c390 00aef29d 0085c390 00aef253 -0085c3e0 EXTERNAL:000000bc -0085c3e0 EXTERNAL:000000a4 -0085c3e0 EXTERNAL:000000a5 -0085c3e0 EXTERNAL:000000a2 -0085c3e0 EXTERNAL:000000a6 -0085c3e0 EXTERNAL:000000ad 0085c3e0 EXTERNAL:000000ba +0085c3e0 EXTERNAL:000000a4 +0085c3e0 EXTERNAL:000000a7 +0085c3e0 EXTERNAL:000000a6 +0085c3e0 EXTERNAL:00000083 0085c3e0 EXTERNAL:000000a3 0085c3e0 EXTERNAL:000000a8 -0085c3e0 EXTERNAL:00000083 -0085c3e0 EXTERNAL:000000bd 0085c3e0 EXTERNAL:000000be +0085c3e0 EXTERNAL:000000a5 +0085c3e0 EXTERNAL:000000bc 0085c3e0 EXTERNAL:000000bf -0085c3e0 EXTERNAL:000000a7 +0085c3e0 EXTERNAL:000000a2 +0085c3e0 EXTERNAL:000000bd 0085c3e0 EXTERNAL:000000b9 -0085c590 EXTERNAL:000000a1 -0085c590 EXTERNAL:000000bc -0085c590 EXTERNAL:000000a4 -0085c590 EXTERNAL:000000a5 -0085c590 EXTERNAL:000000a2 -0085c590 EXTERNAL:000000a6 -0085c590 EXTERNAL:000000ad +0085c3e0 EXTERNAL:000000ad 0085c590 EXTERNAL:000000ba +0085c590 EXTERNAL:000000a4 +0085c590 EXTERNAL:000000a7 +0085c590 EXTERNAL:000000a6 +0085c590 EXTERNAL:00000083 0085c590 EXTERNAL:000000a3 0085c590 EXTERNAL:000000a8 -0085c590 EXTERNAL:00000083 -0085c590 EXTERNAL:000000bd 0085c590 EXTERNAL:000000be +0085c590 EXTERNAL:000000a5 +0085c590 EXTERNAL:000000bc 0085c590 EXTERNAL:000000bf -0085c590 EXTERNAL:000000a7 +0085c590 EXTERNAL:000000a2 +0085c590 EXTERNAL:000000a1 +0085c590 EXTERNAL:000000bd 0085c590 EXTERNAL:000000b9 +0085c590 EXTERNAL:000000ad 0085c7e0 00aef15c -0085c810 EXTERNAL:000000bd -0085c810 EXTERNAL:00000083 -0085c810 EXTERNAL:000000ab -0085c810 EXTERNAL:000000bc -0085c810 EXTERNAL:000000be -0085c810 EXTERNAL:0000009e 0085c810 EXTERNAL:000000bf +0085c810 EXTERNAL:000000ab +0085c810 EXTERNAL:000000bd 0085c810 EXTERNAL:000000a7 0085c810 EXTERNAL:000000b9 +0085c810 EXTERNAL:00000083 +0085c810 EXTERNAL:0000009e +0085c810 EXTERNAL:000000be 0085c810 EXTERNAL:000000a9 -0085c970 EXTERNAL:000000ad -0085c970 EXTERNAL:0000009d -0085c970 EXTERNAL:000000bd -0085c970 EXTERNAL:00000083 -0085c970 EXTERNAL:000000ab -0085c970 EXTERNAL:000000bc -0085c970 EXTERNAL:000000be -0085c970 EXTERNAL:0000009e +0085c810 EXTERNAL:000000bc 0085c970 EXTERNAL:000000bf +0085c970 EXTERNAL:0000009d +0085c970 EXTERNAL:000000ab +0085c970 EXTERNAL:000000bd 0085c970 EXTERNAL:000000a7 0085c970 EXTERNAL:000000b9 +0085c970 EXTERNAL:00000083 +0085c970 EXTERNAL:0000009e +0085c970 EXTERNAL:000000be 0085c970 EXTERNAL:000000a9 -0085cad0 EXTERNAL:00000220 -0085cad0 EXTERNAL:000000ad -0085cad0 00aef15c +0085c970 EXTERNAL:000000bc +0085c970 EXTERNAL:000000ad +0085cad0 00421680 0085cad0 EXTERNAL:0000009d 0085cad0 0060c790 -0085cad0 00aef12b -0085cad0 00421680 0085cad0 0040ccc0 +0085cad0 00aef12b 0085cad0 004997f0 +0085cad0 00aef15c +0085cad0 EXTERNAL:00000220 +0085cad0 EXTERNAL:000000ad 0085cce0 00af05eb -0085cce0 0085bf50 -0085cce0 EXTERNAL:00000083 0085cce0 EXTERNAL:000000ae -0085cd40 00af05eb -0085cd40 0085bf50 -0085cd40 EXTERNAL:000000bd -0085cd40 EXTERNAL:00000083 -0085cd40 EXTERNAL:000000ab -0085cd40 EXTERNAL:000000bc -0085cd40 EXTERNAL:0000009e -0085cd40 EXTERNAL:000000be +0085cce0 EXTERNAL:00000083 +0085cce0 0085bf50 0085cd40 EXTERNAL:000000bf +0085cd40 00af05eb +0085cd40 EXTERNAL:000000ab +0085cd40 EXTERNAL:000000bd 0085cd40 EXTERNAL:000000a7 0085cd40 EXTERNAL:000000b9 +0085cd40 EXTERNAL:0000009e +0085cd40 EXTERNAL:00000083 +0085cd40 EXTERNAL:000000be 0085cd40 EXTERNAL:000000a9 -0085cf30 EXTERNAL:000000ad -0085cf30 EXTERNAL:0000009d -0085cf30 EXTERNAL:000000bd -0085cf30 EXTERNAL:00000083 -0085cf30 EXTERNAL:000000ab -0085cf30 EXTERNAL:000000bc -0085cf30 EXTERNAL:000000be +0085cd40 EXTERNAL:000000bc +0085cd40 0085bf50 0085cf30 EXTERNAL:000000bf +0085cf30 EXTERNAL:0000009d +0085cf30 EXTERNAL:000000ab +0085cf30 EXTERNAL:000000bd 0085cf30 EXTERNAL:000000a7 0085cf30 EXTERNAL:000000b9 +0085cf30 EXTERNAL:00000083 +0085cf30 EXTERNAL:000000be 0085cf30 EXTERNAL:000000a9 -0085d040 EXTERNAL:00000220 -0085d040 EXTERNAL:000000b4 -0085d040 0060c790 -0085d040 EXTERNAL:000000bb -0085d040 EXTERNAL:000000bc -0085d040 EXTERNAL:00000081 -0085d040 0085c390 -0085d040 EXTERNAL:000000b8 -0085d040 EXTERNAL:0000009f -0085d040 00aef15c -0085d040 00aef12b -0085d040 EXTERNAL:000000ab -0085d040 EXTERNAL:000000be -0085d040 EXTERNAL:000000bf +0085cf30 EXTERNAL:000000ad +0085cf30 EXTERNAL:000000bc 0085d040 EXTERNAL:0000009c +0085d040 EXTERNAL:000000ab +0085d040 0060c790 +0085d040 00aef12b +0085d040 00aef15c +0085d040 EXTERNAL:00000220 0085d040 EXTERNAL:000000b1 -0085d2c0 0085c390 -0085d2c0 EXTERNAL:000000b8 -0085d2c0 EXTERNAL:000000b4 -0085d2c0 EXTERNAL:0000009f -0085d2c0 EXTERNAL:000000bb -0085d2c0 EXTERNAL:000000ab -0085d2c0 EXTERNAL:000000bc -0085d2c0 EXTERNAL:000000be -0085d2c0 EXTERNAL:00000081 +0085d040 EXTERNAL:000000be +0085d040 EXTERNAL:000000bc +0085d040 EXTERNAL:000000bf +0085d040 EXTERNAL:000000bb +0085d040 EXTERNAL:000000b8 +0085d040 EXTERNAL:000000b4 +0085d040 EXTERNAL:0000009f +0085d040 0085c390 +0085d040 EXTERNAL:00000081 0085d2c0 EXTERNAL:000000bf +0085d2c0 EXTERNAL:000000bb +0085d2c0 EXTERNAL:000000b8 0085d2c0 EXTERNAL:0000009c +0085d2c0 EXTERNAL:000000ab +0085d2c0 EXTERNAL:000000b4 0085d2c0 EXTERNAL:000000b1 -0085d500 0085c390 -0085d500 EXTERNAL:000000b8 -0085d500 EXTERNAL:0000009f -0085d500 EXTERNAL:000000bb -0085d500 EXTERNAL:000000ab -0085d500 EXTERNAL:000000bc -0085d500 EXTERNAL:000000be -0085d500 EXTERNAL:00000081 +0085d2c0 EXTERNAL:000000be +0085d2c0 EXTERNAL:0000009f +0085d2c0 0085c390 +0085d2c0 EXTERNAL:000000bc +0085d2c0 EXTERNAL:00000081 0085d500 EXTERNAL:000000bf +0085d500 EXTERNAL:000000bb +0085d500 EXTERNAL:000000b8 +0085d500 EXTERNAL:000000ab 0085d500 EXTERNAL:000000b1 +0085d500 EXTERNAL:000000be +0085d500 EXTERNAL:0000009f +0085d500 0085c390 +0085d500 EXTERNAL:000000bc +0085d500 EXTERNAL:00000081 0085d6f0 0085cce0 -0085d730 EXTERNAL:000000b8 -0085d730 EXTERNAL:0000009f -0085d730 EXTERNAL:000000bb -0085d730 EXTERNAL:000000bd -0085d730 EXTERNAL:00000083 -0085d730 EXTERNAL:000000ab -0085d730 EXTERNAL:000000bc -0085d730 EXTERNAL:000000be 0085d730 EXTERNAL:000000bf -0085d730 EXTERNAL:00000081 +0085d730 EXTERNAL:000000b8 +0085d730 EXTERNAL:000000bb +0085d730 EXTERNAL:000000ab +0085d730 EXTERNAL:000000bd 0085d730 EXTERNAL:000000b9 +0085d730 EXTERNAL:00000083 +0085d730 EXTERNAL:000000be +0085d730 EXTERNAL:0000009f +0085d730 EXTERNAL:000000bc +0085d730 EXTERNAL:00000081 0085d910 00af05eb -0085d910 0085bf50 -0085d910 EXTERNAL:00000083 0085d910 EXTERNAL:000000ae +0085d910 EXTERNAL:00000083 +0085d910 0085bf50 0085d980 00af05eb -0085d980 0085bf50 -0085d980 EXTERNAL:00000083 0085d980 EXTERNAL:000000ae +0085d980 EXTERNAL:00000083 +0085d980 0085bf50 0085da00 0085d730 0085da20 EXTERNAL:000000b8 -0085da20 EXTERNAL:000000bb -0085da20 EXTERNAL:000000bc -0085da20 EXTERNAL:000000be 0085da20 EXTERNAL:000000bf +0085da20 EXTERNAL:000000bb +0085da20 EXTERNAL:000000be +0085da20 EXTERNAL:000000bc 0085da70 EXTERNAL:000001f7 0085dab0 EXTERNAL:000000aa 0085db20 0040cf50 @@ -30149,10 +30149,10 @@ 0085dd00 00408e00 0085dd00 0040aaf0 0085ded0 0042f1a0 -0085ded0 0040cee0 0085ded0 0040cf00 -0085e000 008c2a70 +0085ded0 0040cee0 0085e000 008c2910 +0085e000 008c2a70 0085e190 008725f0 0085e390 00705b90 0085e470 00a1a730 @@ -30163,111 +30163,111 @@ 0085e5c0 0060cc30 0085e630 0041e420 0085e680 EXTERNAL:0000007e +0085e680 006ac560 +0085e680 EXTERNAL:000000ab 0085e680 006a80f0 0085e680 EXTERNAL:000000b4 -0085e680 006ac560 +0085e680 EXTERNAL:000000b9 0085e680 EXTERNAL:00000080 0085e680 EXTERNAL:00000083 -0085e680 EXTERNAL:000000ab -0085e680 EXTERNAL:000000b9 0085e680 00872910 -0085e750 EXTERNAL:000000b3 -0085e750 EXTERNAL:00000220 0085e750 0085c300 +0085e750 EXTERNAL:000000ab 0085e750 006a80f0 -0085e750 00872860 -0085e750 00840b00 -0085e750 009a2d20 0085e750 EXTERNAL:000000ae -0085e750 0085c590 -0085e750 EXTERNAL:0000007e -0085e750 009a3560 -0085e750 00aef15c -0085e750 EXTERNAL:00000080 0085e750 00aef12b 0085e750 EXTERNAL:00000083 -0085e750 EXTERNAL:000000ab +0085e750 EXTERNAL:000000b3 +0085e750 00aef15c +0085e750 EXTERNAL:00000220 0085e750 00872820 +0085e750 00872860 +0085e750 009a3560 +0085e750 EXTERNAL:0000007e +0085e750 009a2d20 +0085e750 0085c590 0085e750 EXTERNAL:000000b9 -0085eca0 006a80f0 -0085eca0 EXTERNAL:000001d7 -0085eca0 00a0f4c0 +0085e750 EXTERNAL:00000080 +0085e750 00840b00 +0085eca0 0040ccd0 0085eca0 0040d040 -0085eca0 EXTERNAL:000000b2 -0085eca0 009a3ac0 +0085eca0 00a0f4c0 +0085eca0 EXTERNAL:000000ab +0085eca0 006a80f0 0085eca0 EXTERNAL:000000ae -0085eca0 EXTERNAL:0000007e -0085eca0 00aef15c -0085eca0 EXTERNAL:00000080 0085eca0 00aef12b 0085eca0 EXTERNAL:00000083 -0085eca0 EXTERNAL:000000ab -0085eca0 0040ccd0 +0085eca0 00aef15c +0085eca0 EXTERNAL:0000007e +0085eca0 EXTERNAL:000000b2 0085eca0 EXTERNAL:000000b9 +0085eca0 EXTERNAL:00000080 +0085eca0 009a3ac0 +0085eca0 EXTERNAL:000001d7 0085eee0 009547f0 -0085ef00 EXTERNAL:00000220 -0085ef00 EXTERNAL:000000aa -0085ef00 EXTERNAL:00000093 -0085ef00 00a0f4e0 -0085ef00 EXTERNAL:0000022f -0085ef00 004997f0 -0085ef00 EXTERNAL:00000092 -0085ef00 EXTERNAL:000000ad -0085ef00 00aef15c -0085ef00 00aef12b -0085ef00 EXTERNAL:00000083 -0085ef00 EXTERNAL:000000be 0085ef00 0040ccd0 +0085ef00 EXTERNAL:00000093 +0085ef00 00aef12b +0085ef00 004997f0 +0085ef00 EXTERNAL:00000083 +0085ef00 EXTERNAL:00000220 +0085ef00 00aef15c +0085ef00 EXTERNAL:0000022f +0085ef00 EXTERNAL:000000be +0085ef00 EXTERNAL:000000aa +0085ef00 EXTERNAL:000000ad +0085ef00 EXTERNAL:00000092 +0085ef00 00a0f4e0 0085f080 006523e0 0085f080 0040ccd0 -0085f0f0 EXTERNAL:00000220 -0085f0f0 EXTERNAL:00000255 -0085f0f0 004997f0 -0085f0f0 EXTERNAL:00000251 -0085f0f0 0085f080 -0085f0f0 00aef15c -0085f0f0 00aef12b -0085f0f0 EXTERNAL:000000be -0085f0f0 00417100 -0085f0f0 00421680 0085f0f0 0040ccd0 -0085f0f0 0040ccc0 +0085f0f0 00421680 +0085f0f0 EXTERNAL:00000251 +0085f0f0 EXTERNAL:00000255 +0085f0f0 00aef12b +0085f0f0 004997f0 +0085f0f0 00aef15c +0085f0f0 EXTERNAL:00000220 +0085f0f0 EXTERNAL:000000be +0085f0f0 0085f080 0085f0f0 0040cf00 -0085fcc0 EXTERNAL:00000220 -0085fcc0 EXTERNAL:000000ad -0085fcc0 00aef15c +0085f0f0 0040ccc0 +0085f0f0 00417100 0085fcc0 EXTERNAL:0000009d -0085fcc0 00aef12b 0085fcc0 EXTERNAL:000000b2 +0085fcc0 00aef12b +0085fcc0 00aef15c +0085fcc0 EXTERNAL:00000220 0085fcc0 EXTERNAL:000000be -0085fcc0 EXTERNAL:00000091 0085fcc0 0085f0f0 -0085fec0 EXTERNAL:000000b3 -0085fec0 EXTERNAL:000000b4 -0085fec0 EXTERNAL:0000009d +0085fcc0 EXTERNAL:000000ad +0085fcc0 EXTERNAL:00000091 0085fec0 EXTERNAL:00000093 -0085fec0 EXTERNAL:000000bc -0085fec0 EXTERNAL:000000b2 -0085fec0 EXTERNAL:00000092 -0085fec0 EXTERNAL:000000ad -0085fec0 EXTERNAL:00000090 -0085fec0 EXTERNAL:00000083 -0085fec0 0085fcc0 +0085fec0 EXTERNAL:0000009d 0085fec0 EXTERNAL:000000ab +0085fec0 EXTERNAL:00000083 +0085fec0 EXTERNAL:000000b3 +0085fec0 0085fcc0 0085fec0 EXTERNAL:000000be +0085fec0 EXTERNAL:00000090 +0085fec0 EXTERNAL:000000bc +0085fec0 EXTERNAL:000000b4 +0085fec0 EXTERNAL:000000b2 0085fec0 EXTERNAL:000000b9 0085fec0 EXTERNAL:000000a9 -008601f0 EXTERNAL:00000220 -008601f0 EXTERNAL:000000aa -008601f0 EXTERNAL:000000ad -008601f0 00aef15c +0085fec0 EXTERNAL:000000ad +0085fec0 EXTERNAL:00000092 +008601f0 EXTERNAL:000000ab +008601f0 EXTERNAL:000000ae 008601f0 006929e0 008601f0 00aef12b -008601f0 EXTERNAL:00000083 -008601f0 EXTERNAL:000000ab 008601f0 004997f0 -008601f0 EXTERNAL:000000ae +008601f0 EXTERNAL:00000083 +008601f0 EXTERNAL:00000220 +008601f0 00aef15c 008601f0 EXTERNAL:000000a9 +008601f0 EXTERNAL:000000ad +008601f0 EXTERNAL:000000aa 008603d0 EXTERNAL:000000ba 008603d0 EXTERNAL:0000009d 008603d0 EXTERNAL:000000b7 @@ -30275,38 +30275,38 @@ 008603d0 EXTERNAL:000000a5 00860440 00ae7470 00860440 00ae74f0 -00860470 EXTERNAL:000000ad +00860470 EXTERNAL:00000259 00860470 008c5d50 00860470 EXTERNAL:00000252 -00860470 EXTERNAL:00000259 +00860470 EXTERNAL:000000ad +008604c0 EXTERNAL:0000008f +008604c0 EXTERNAL:00000089 008604c0 00a112c0 -008604c0 EXTERNAL:00000094 +008604c0 EXTERNAL:00000083 +008604c0 EXTERNAL:000000b1 008604c0 EXTERNAL:000000aa 008604c0 0086e5e0 -008604c0 EXTERNAL:0000008d -008604c0 EXTERNAL:00000263 008604c0 EXTERNAL:0000007e -008604c0 EXTERNAL:00000089 -008604c0 00866960 -008604c0 00a68490 -008604c0 EXTERNAL:0000008f -008604c0 EXTERNAL:00000083 -008604c0 00a23200 008604c0 EXTERNAL:0000008e -008604c0 EXTERNAL:000000b1 +008604c0 EXTERNAL:0000008d +008604c0 00866960 +008604c0 00a23200 +008604c0 EXTERNAL:00000263 +008604c0 EXTERNAL:00000094 +008604c0 00a68490 008607a0 EXTERNAL:00000080 008607a0 00872980 00860826 00a112c0 00860880 00872a20 00860880 EXTERNAL:00000080 0086090e 00a112c0 -00860960 00872a20 -00860960 EXTERNAL:000000b3 00860960 006a80f0 +00860960 EXTERNAL:000000ae +00860960 00872a20 +00860960 EXTERNAL:000000b9 00860960 EXTERNAL:00000080 00860960 EXTERNAL:00000083 -00860960 EXTERNAL:000000b9 -00860960 EXTERNAL:000000ae +00860960 EXTERNAL:000000b3 00860a70 00a112c0 00860ac0 00872a20 00860ac0 EXTERNAL:00000080 @@ -30317,96 +30317,96 @@ 00860c90 00872a20 00860c90 EXTERNAL:00000080 00860d1e 00a112c0 -00860d70 EXTERNAL:000000b3 00860d70 006a80f0 -00860d70 00872c60 -00860d70 EXTERNAL:00000080 -00860d70 EXTERNAL:00000083 -00860d70 EXTERNAL:000000b9 00860d70 EXTERNAL:000000ae +00860d70 EXTERNAL:000000b9 +00860d70 EXTERNAL:00000080 +00860d70 00872c60 +00860d70 EXTERNAL:00000083 +00860d70 EXTERNAL:000000b3 00860ea3 00a112c0 -00860f00 EXTERNAL:00000080 00860f00 00872da0 +00860f00 EXTERNAL:00000080 00860f8b 00a112c0 00860fe0 EXTERNAL:00000080 00860fe0 00872e90 00861076 00a112c0 +008610d0 0085bfd0 008610d0 006a80f0 008610d0 EXTERNAL:000000b4 +008610d0 00861225 +008610d0 EXTERNAL:000000af +008610d0 EXTERNAL:000000a8 +008610d0 EXTERNAL:000000b1 008610d0 EXTERNAL:0000009f 008610d0 EXTERNAL:000000a0 -008610d0 EXTERNAL:000000a8 -008610d0 00861225 -008610d0 0085bfd0 -008610d0 EXTERNAL:000000b1 -008610d0 EXTERNAL:000000af 008611da 00a112c0 -00861225 EXTERNAL:000000b3 00861225 EXTERNAL:0000007e +00861225 EXTERNAL:000000ab 00861225 006a80f0 +00861225 EXTERNAL:000000ae +00861225 EXTERNAL:000000b9 00861225 EXTERNAL:00000080 00861225 EXTERNAL:00000083 -00861225 EXTERNAL:000000ab -00861225 EXTERNAL:000000b9 -00861225 EXTERNAL:000000ae +00861225 EXTERNAL:000000b3 0086130e 008727d0 0086130e 0085c080 -00861330 EXTERNAL:00000080 00861330 00872ff0 +00861330 EXTERNAL:00000080 008613bf 00a112c0 -00861410 EXTERNAL:00000080 00861410 00872ff0 +00861410 EXTERNAL:00000080 0086149f 00a112c0 -008614f0 008730e0 008614f0 EXTERNAL:00000080 +008614f0 008730e0 00861587 00a112c0 -008615e0 EXTERNAL:00000080 008615e0 00873230 +008615e0 EXTERNAL:00000080 0086166f 00a112c0 -008616c0 EXTERNAL:00000080 008616c0 00873230 +008616c0 EXTERNAL:00000080 0086174f 00a112c0 008617a0 00873320 008617a0 EXTERNAL:00000080 00861837 00a112c0 -00861890 00873470 00861890 EXTERNAL:00000080 +00861890 00873470 0086191f 00a112c0 -00861970 00873470 00861970 EXTERNAL:00000080 +00861970 00873470 008619ff 00a112c0 +00861a50 00861bda +00861a50 0085bfd0 00861a50 006a80f0 +00861a50 EXTERNAL:000000af +00861a50 EXTERNAL:000000a8 00861a50 EXTERNAL:0000009f 00861a50 EXTERNAL:000000a0 -00861a50 EXTERNAL:000000a8 -00861a50 0085bfd0 -00861a50 EXTERNAL:000000af -00861a50 00861bda 00861b88 00a112c0 00861bda EXTERNAL:0000007e +00861bda EXTERNAL:000000ab 00861bda EXTERNAL:00000080 00861bda EXTERNAL:00000083 -00861bda EXTERNAL:000000ab 00861c23 008727d0 00861c23 0085c080 +00861c40 0085bfd0 00861c40 006a80f0 00861c40 EXTERNAL:000000b4 +00861c40 EXTERNAL:000000af +00861c40 00861d96 +00861c40 EXTERNAL:000000a8 +00861c40 EXTERNAL:000000b1 00861c40 EXTERNAL:0000009f 00861c40 EXTERNAL:000000a0 -00861c40 EXTERNAL:000000a8 -00861c40 00861d96 -00861c40 0085bfd0 -00861c40 EXTERNAL:000000b1 -00861c40 EXTERNAL:000000af 00861d4b 00a112c0 -00861d96 EXTERNAL:000000b3 00861d96 EXTERNAL:0000007e +00861d96 EXTERNAL:000000ab 00861d96 006a80f0 +00861d96 EXTERNAL:000000ae +00861d96 EXTERNAL:000000b9 00861d96 EXTERNAL:00000080 00861d96 EXTERNAL:00000083 -00861d96 EXTERNAL:000000ab -00861d96 EXTERNAL:000000b9 -00861d96 EXTERNAL:000000ae +00861d96 EXTERNAL:000000b3 00861e7f 008727d0 00861e7f 0085c080 00861ea0 00873560 @@ -30415,38 +30415,38 @@ 00861f80 00873560 00861f80 EXTERNAL:00000080 0086200f 00a112c0 -00862060 006a80f0 -00862060 EXTERNAL:0000009f -00862060 008621ea -00862060 EXTERNAL:000000a0 -00862060 EXTERNAL:000000a8 00862060 0085bfd0 +00862060 006a80f0 00862060 EXTERNAL:000000af +00862060 008621ea +00862060 EXTERNAL:000000a8 +00862060 EXTERNAL:0000009f +00862060 EXTERNAL:000000a0 00862198 00a112c0 008621ea EXTERNAL:0000007e +008621ea EXTERNAL:000000ab 008621ea EXTERNAL:00000080 008621ea EXTERNAL:00000083 -008621ea EXTERNAL:000000ab 00862233 008727d0 00862233 0085c080 +00862250 0085bfd0 00862250 006a80f0 00862250 EXTERNAL:000000b4 +00862250 EXTERNAL:000000af +00862250 EXTERNAL:000000a8 +00862250 EXTERNAL:000000b1 00862250 EXTERNAL:0000009f 00862250 EXTERNAL:000000a0 -00862250 EXTERNAL:000000a8 00862250 008623a6 -00862250 0085bfd0 -00862250 EXTERNAL:000000b1 -00862250 EXTERNAL:000000af 0086235b 00a112c0 -008623a6 EXTERNAL:000000b3 008623a6 EXTERNAL:0000007e +008623a6 EXTERNAL:000000ab 008623a6 006a80f0 +008623a6 EXTERNAL:000000ae +008623a6 EXTERNAL:000000b9 008623a6 EXTERNAL:00000080 008623a6 EXTERNAL:00000083 -008623a6 EXTERNAL:000000ab -008623a6 EXTERNAL:000000b9 -008623a6 EXTERNAL:000000ae +008623a6 EXTERNAL:000000b3 0086248f 008727d0 0086248f 0085c080 008624b0 EXTERNAL:00000080 @@ -30455,27 +30455,27 @@ 00862590 EXTERNAL:00000080 00862590 00873650 0086261f 00a112c0 -00862670 EXTERNAL:00000080 00862670 00873740 +00862670 EXTERNAL:00000080 00862707 00a112c0 +00862760 0085bfd0 00862760 006a80f0 00862760 EXTERNAL:000000b4 +00862760 EXTERNAL:000000af +00862760 EXTERNAL:000000a8 +00862760 EXTERNAL:000000b1 +00862760 008628b6 00862760 EXTERNAL:0000009f 00862760 EXTERNAL:000000a0 -00862760 EXTERNAL:000000a8 -00862760 008628b6 -00862760 0085bfd0 -00862760 EXTERNAL:000000b1 -00862760 EXTERNAL:000000af 0086286b 00a112c0 -008628b6 EXTERNAL:000000b3 008628b6 EXTERNAL:0000007e +008628b6 EXTERNAL:000000ab 008628b6 006a80f0 +008628b6 EXTERNAL:000000ae +008628b6 EXTERNAL:000000b9 008628b6 EXTERNAL:00000080 008628b6 EXTERNAL:00000083 -008628b6 EXTERNAL:000000ab -008628b6 EXTERNAL:000000b9 -008628b6 EXTERNAL:000000ae +008628b6 EXTERNAL:000000b3 0086299f 008727d0 0086299f 0085c080 008629c0 EXTERNAL:00000080 @@ -30484,27 +30484,27 @@ 00862aa0 EXTERNAL:00000080 00862aa0 00873890 00862b2f 00a112c0 -00862b80 006a80f0 -00862b80 EXTERNAL:0000009f -00862b80 EXTERNAL:000000a0 -00862b80 EXTERNAL:000000a8 00862b80 0085bfd0 +00862b80 006a80f0 00862b80 00862d0a 00862b80 EXTERNAL:000000af +00862b80 EXTERNAL:000000a8 +00862b80 EXTERNAL:0000009f +00862b80 EXTERNAL:000000a0 00862cb8 00a112c0 00862d0a EXTERNAL:0000007e +00862d0a EXTERNAL:000000ab 00862d0a EXTERNAL:00000080 00862d0a EXTERNAL:00000083 -00862d0a EXTERNAL:000000ab 00862d53 008727d0 00862d53 0085c080 00862d70 00873980 -00862d70 EXTERNAL:000000b3 00862d70 006a80f0 +00862d70 EXTERNAL:000000ae +00862d70 EXTERNAL:000000b9 00862d70 EXTERNAL:00000080 00862d70 EXTERNAL:00000083 -00862d70 EXTERNAL:000000b9 -00862d70 EXTERNAL:000000ae +00862d70 EXTERNAL:000000b3 00862ea4 00a112c0 00862f00 00873ac0 00862f00 EXTERNAL:00000080 @@ -30515,61 +30515,61 @@ 008630c0 EXTERNAL:00000080 008630c0 00873bb0 00863154 00a112c0 -008631b0 EXTERNAL:000000b3 -008631b0 00873d00 008631b0 006a80f0 +008631b0 EXTERNAL:000000ae +008631b0 00873d00 +008631b0 EXTERNAL:000000b9 008631b0 EXTERNAL:00000080 008631b0 EXTERNAL:00000083 -008631b0 EXTERNAL:000000b9 -008631b0 EXTERNAL:000000ae +008631b0 EXTERNAL:000000b3 008632e1 00a112c0 -00863340 00873e40 -00863340 006a80f0 00863340 EXTERNAL:0000007e -00863340 EXTERNAL:00000080 -00863340 EXTERNAL:00000083 -00863340 00873f40 00863340 0085bfd0 +00863340 006a80f0 00863340 0085c270 00863340 EXTERNAL:000000b9 +00863340 EXTERNAL:00000080 +00863340 EXTERNAL:00000083 +00863340 00873e40 +00863340 00873f40 0086354b 00a112c0 -008635a0 EXTERNAL:00000080 008635a0 00872da0 +008635a0 EXTERNAL:00000080 0086362b 00a112c0 00863680 EXTERNAL:00000080 00863680 00872980 00863706 00a112c0 -00863760 EXTERNAL:000000b3 00863760 006a80f0 -00863760 EXTERNAL:00000080 -00863760 EXTERNAL:00000083 -00863760 00873fc0 -00863760 EXTERNAL:000000b9 00863760 EXTERNAL:000000ae +00863760 EXTERNAL:000000b9 +00863760 EXTERNAL:00000080 +00863760 00873fc0 +00863760 EXTERNAL:00000083 +00863760 EXTERNAL:000000b3 00863879 00a112c0 -008638d0 006a80f0 -008638d0 EXTERNAL:0000007e 008638d0 0085c340 -008638d0 0085c2d0 +008638d0 EXTERNAL:0000007e +008638d0 006a80f0 +008638d0 EXTERNAL:000000b9 008638d0 EXTERNAL:00000080 +008638d0 00873fc0 008638d0 EXTERNAL:00000083 +008638d0 00872820 008638d0 EXTERNAL:000000be 008638d0 008bb130 -008638d0 00872820 -008638d0 00873fc0 -008638d0 EXTERNAL:000000b9 +008638d0 0085c2d0 00863b6a 00a112c0 00863be0 EXTERNAL:00000080 00863be0 00874120 00863c6e 00a112c0 -00863cc0 EXTERNAL:00000080 00863cc0 00874210 +00863cc0 EXTERNAL:00000080 00863d4e 00a112c0 -00863da0 EXTERNAL:00000080 00863da0 00874210 +00863da0 EXTERNAL:00000080 00863e31 00a112c0 -00863e90 EXTERNAL:00000080 00863e90 00874310 +00863e90 EXTERNAL:00000080 00863f1e 00a112c0 00863f70 EXTERNAL:00000080 00863f70 00873890 @@ -30580,79 +30580,79 @@ 00864130 EXTERNAL:00000080 00864130 00874120 008641bb 00a112c0 -00864210 EXTERNAL:00000080 00864210 00874400 +00864210 EXTERNAL:00000080 008642a4 00a112c0 +00864300 0085bfd0 00864300 00864453 00864300 006a80f0 00864300 EXTERNAL:000000b4 +00864300 EXTERNAL:000000af +00864300 EXTERNAL:000000a8 +00864300 EXTERNAL:000000b1 00864300 EXTERNAL:0000009f 00864300 EXTERNAL:000000a0 -00864300 EXTERNAL:000000a8 -00864300 0085bfd0 -00864300 EXTERNAL:000000b1 -00864300 EXTERNAL:000000af 00864408 00a112c0 -00864453 EXTERNAL:000000b3 00864453 EXTERNAL:0000007e +00864453 EXTERNAL:000000ab 00864453 006a80f0 +00864453 EXTERNAL:000000ae +00864453 EXTERNAL:000000b9 00864453 EXTERNAL:00000080 00864453 EXTERNAL:00000083 -00864453 EXTERNAL:000000ab -00864453 EXTERNAL:000000b9 -00864453 EXTERNAL:000000ae +00864453 EXTERNAL:000000b3 0086453c 008727d0 0086453c 0085c080 -00864560 EXTERNAL:000000b3 +00864560 00874550 00864560 006a80f0 +00864560 EXTERNAL:000000ae +00864560 EXTERNAL:000000b9 00864560 EXTERNAL:00000080 00864560 EXTERNAL:00000083 -00864560 00874550 -00864560 EXTERNAL:000000b9 -00864560 EXTERNAL:000000ae +00864560 EXTERNAL:000000b3 00864682 00a112c0 -008646e0 006a80f0 008646e0 EXTERNAL:0000007e -008646e0 008746b0 -008646e0 EXTERNAL:00000080 -008646e0 EXTERNAL:00000083 -008646e0 00873f40 008646e0 0085bfd0 +008646e0 006a80f0 008646e0 0085c270 008646e0 EXTERNAL:000000b9 +008646e0 EXTERNAL:00000080 +008646e0 EXTERNAL:00000083 +008646e0 008746b0 +008646e0 00873f40 00864a6a 00a112c0 -00864ae0 00874860 -00864ae0 006a80f0 00864ae0 EXTERNAL:000000b6 +00864ae0 006a80f0 +00864ae0 EXTERNAL:000000ae +00864ae0 EXTERNAL:000000b9 00864ae0 EXTERNAL:00000080 00864ae0 EXTERNAL:00000083 -00864ae0 EXTERNAL:000000b9 -00864ae0 EXTERNAL:000000ae +00864ae0 00874860 00864bb8 00a112c0 -00864c30 EXTERNAL:000000b3 00864c30 006a80f0 -00864c30 00874910 -00864c30 EXTERNAL:00000080 -00864c30 EXTERNAL:00000083 -00864c30 EXTERNAL:000000b9 00864c30 EXTERNAL:000000ae +00864c30 EXTERNAL:000000b9 +00864c30 EXTERNAL:00000080 +00864c30 00874910 +00864c30 EXTERNAL:00000083 +00864c30 EXTERNAL:000000b3 00864d16 00a112c0 00864d80 EXTERNAL:00000082 00864d80 006a80f0 -00864d80 00874910 -00864d80 EXTERNAL:00000080 -00864d80 EXTERNAL:00000083 -00864d80 EXTERNAL:000000b9 00864d80 EXTERNAL:000000ae +00864d80 EXTERNAL:000000b9 +00864d80 EXTERNAL:00000080 +00864d80 00874910 +00864d80 EXTERNAL:00000083 00864e6d 00a112c0 -00864ee0 EXTERNAL:00000080 00864ee0 00874a10 +00864ee0 EXTERNAL:00000080 00864f6e 00a112c0 -00864fc0 EXTERNAL:00000080 00864fc0 00874a10 +00864fc0 EXTERNAL:00000080 0086504e 00a112c0 -008650a0 EXTERNAL:00000080 008650a0 00874a10 +008650a0 EXTERNAL:00000080 0086512e 00a112c0 00865180 EXTERNAL:00000080 00865180 00872980 @@ -30660,86 +30660,86 @@ 00865260 EXTERNAL:00000080 00865260 00872980 008652e9 00a112c0 -00865340 006a80f0 00865340 EXTERNAL:000000b6 -00865340 EXTERNAL:00000080 -00865340 EXTERNAL:00000083 -00865340 00874ac0 -00865340 EXTERNAL:000000b9 +00865340 006a80f0 00865340 EXTERNAL:000000ae +00865340 EXTERNAL:000000b9 +00865340 EXTERNAL:00000080 +00865340 00874ac0 +00865340 EXTERNAL:00000083 00865424 00a112c0 -00865490 00874bd0 -00865490 006a80f0 00865490 EXTERNAL:0000007e -00865490 0040cf50 +00865490 006a80f0 +00865490 00874bd0 00865490 EXTERNAL:00000080 -00865490 EXTERNAL:00000083 00865490 EXTERNAL:000000b9 +00865490 0040cf50 +00865490 EXTERNAL:00000083 008655b7 00a112c0 -00865660 EXTERNAL:000000ad -00865660 EXTERNAL:0000008a -00865660 EXTERNAL:00000083 -00865660 EXTERNAL:0000008b 00865660 0040ccd0 -00865660 EXTERNAL:000000b9 00865660 EXTERNAL:000000af +00865660 EXTERNAL:000000b9 +00865660 EXTERNAL:0000008b +00865660 EXTERNAL:00000083 +00865660 EXTERNAL:0000008a +00865660 EXTERNAL:000000ad 008657c0 EXTERNAL:0000007d -008658c0 00865a04 -008658c0 006a80f0 -008658c0 EXTERNAL:0000009f -008658c0 EXTERNAL:000000a0 -008658c0 EXTERNAL:000000a8 008658c0 0085bfd0 +008658c0 006a80f0 008658c0 EXTERNAL:000000af +008658c0 EXTERNAL:000000a8 +008658c0 EXTERNAL:0000009f +008658c0 00865a04 +008658c0 EXTERNAL:000000a0 008659a7 00a112c0 00865a04 EXTERNAL:0000007e -00865a04 006a80f0 00865a04 EXTERNAL:000000b6 +00865a04 EXTERNAL:000000ab +00865a04 006a80f0 +00865a04 EXTERNAL:000000ae +00865a04 EXTERNAL:000000b9 00865a04 EXTERNAL:00000080 00865a04 EXTERNAL:00000083 -00865a04 EXTERNAL:000000ab -00865a04 EXTERNAL:000000b9 -00865a04 EXTERNAL:000000ae 00865aad 008727d0 00865aad 0085c080 -00865ad0 006a80f0 -00865ad0 00865bbc 00865ad0 0085bfd0 +00865ad0 006a80f0 00865ad0 EXTERNAL:000000af +00865ad0 00865bbc 00865b69 00a112c0 00865bbc EXTERNAL:0000007e -00865bbc 006a80f0 00865bbc EXTERNAL:000000b6 +00865bbc EXTERNAL:000000ab +00865bbc 006a80f0 +00865bbc EXTERNAL:000000ae +00865bbc EXTERNAL:000000b9 00865bbc EXTERNAL:00000080 00865bbc EXTERNAL:00000083 -00865bbc EXTERNAL:000000ab -00865bbc EXTERNAL:000000b9 -00865bbc EXTERNAL:000000ae 00865c61 008727d0 00865c61 0085c080 -00865c80 006a80f0 +00865c80 00874d20 00865c80 EXTERNAL:000000b6 +00865c80 006a80f0 +00865c80 EXTERNAL:000000ae +00865c80 EXTERNAL:000000b9 00865c80 EXTERNAL:00000080 00865c80 EXTERNAL:00000083 -00865c80 00874d20 -00865c80 EXTERNAL:000000b9 -00865c80 EXTERNAL:000000ae 00865d53 00a112c0 -00865dc0 006a80f0 +00865dc0 00874dd0 00865dc0 EXTERNAL:000000b6 +00865dc0 006a80f0 +00865dc0 EXTERNAL:000000ae +00865dc0 EXTERNAL:000000b9 00865dc0 EXTERNAL:00000080 00865dc0 EXTERNAL:00000083 -00865dc0 00874dd0 -00865dc0 EXTERNAL:000000b9 -00865dc0 EXTERNAL:000000ae 00865e99 00a112c0 -00865f10 006a80f0 +00865f10 00874e90 00865f10 EXTERNAL:000000b6 +00865f10 006a80f0 +00865f10 EXTERNAL:000000ae +00865f10 EXTERNAL:000000b9 00865f10 EXTERNAL:00000080 00865f10 EXTERNAL:00000083 -00865f10 00874e90 -00865f10 EXTERNAL:000000b9 -00865f10 EXTERNAL:000000ae 00865fe8 00a112c0 00866060 EXTERNAL:00000080 00866060 00874f60 @@ -30747,890 +30747,890 @@ 00866140 EXTERNAL:00000080 00866140 00874f60 008661cc 00a112c0 -00866220 006a80f0 -00866220 EXTERNAL:0000009f -00866220 008663b6 -00866220 EXTERNAL:000000a0 -00866220 EXTERNAL:000000a8 00866220 0085bfd0 +00866220 006a80f0 00866220 EXTERNAL:000000af +00866220 EXTERNAL:000000a8 +00866220 008663b6 +00866220 EXTERNAL:0000009f +00866220 EXTERNAL:000000a0 00866364 00a112c0 -008663b6 EXTERNAL:000000b3 008663b6 EXTERNAL:0000007e +008663b6 EXTERNAL:000000ab 008663b6 006a80f0 +008663b6 EXTERNAL:000000ae +008663b6 EXTERNAL:000000b9 008663b6 EXTERNAL:00000080 008663b6 EXTERNAL:00000083 -008663b6 EXTERNAL:000000ab -008663b6 EXTERNAL:000000b9 -008663b6 EXTERNAL:000000ae +008663b6 EXTERNAL:000000b3 00866474 008727d0 00866474 0085c080 -00866490 006a80f0 00866490 EXTERNAL:0000007e -00866490 EXTERNAL:00000080 -00866490 EXTERNAL:00000083 -00866490 00873f40 -00866490 00875050 00866490 0085bfd0 +00866490 006a80f0 00866490 0085c270 00866490 EXTERNAL:000000b9 +00866490 EXTERNAL:00000080 +00866490 EXTERNAL:00000083 +00866490 00875050 +00866490 00873f40 0086675e 00a112c0 -008667d0 EXTERNAL:000000b3 008667d0 006a80f0 +008667d0 EXTERNAL:000000ae +008667d0 EXTERNAL:000000b9 008667d0 EXTERNAL:00000080 008667d0 EXTERNAL:00000083 +008667d0 EXTERNAL:000000b3 008667d0 00874f60 -008667d0 EXTERNAL:000000b9 -008667d0 EXTERNAL:000000ae 008668e0 00a112c0 -00866960 008834e0 -00866960 00889eb0 -00866960 00887570 -00866960 0088ce40 -00866960 00890e70 -00866960 0087ce80 -00866960 008868b0 -00866960 0087d920 -00866960 00892970 -00866960 00890790 -00866960 00878490 -00866960 008843b0 -00866960 00893fe0 -00866960 00878620 -00866960 0088bb60 -00866960 0087fd10 -00866960 00885020 -00866960 0085dab0 -00866960 00885610 -00866960 00881330 -00866960 00883940 -00866960 00893530 -00866960 00893800 -00866960 00887170 -00866960 0088ba50 -00866960 00894840 -00866960 0088ccd0 -00866960 0087b440 -00866960 008767d0 -00866960 0088d7f0 -00866960 00878cb0 -00866960 00878920 -00866960 0087b8d0 -00866960 00896270 -00866960 00889f70 -00866960 008952b0 -00866960 0089f440 -00866960 00883590 -00866960 008850a0 -00866960 0088fe90 -00866960 008866e0 -00866960 0089f090 -00866960 008765a0 -00866960 0088d350 -00866960 0088b950 -00866960 008800c0 -00866960 00888690 -00866960 0089ef10 -00866960 00880d00 -00866960 0088e9c0 -00866960 00893330 -00866960 008956f0 -00866960 00893040 -00866960 00885ec0 -00866960 0088c640 -00866960 00885270 -00866960 00881270 -00866960 00881bd0 -00866960 008a0360 -00866960 008891c0 -00866960 0087f8b0 -00866960 00881800 -00866960 0088b4a0 -00866960 00875230 -00866960 00887950 -00866960 0089f840 -00866960 008a0160 -00866960 00892dc0 -00866960 0087daa0 -00866960 00895570 -00866960 008934d0 -00866960 00881cd0 -00866960 00885f80 -00866960 0088cfb0 -00866960 008a0020 -00866960 0087bbd0 -00866960 00892b60 -00866960 0089eb50 -00866960 00883760 -00866960 00884c70 -00866960 0088b830 -00866960 0088ff60 -00866960 00877490 -00866960 0088d970 -00866960 00896690 -00866960 0088d650 -00866960 0088a920 -00866960 00887ad0 -00866960 00894c80 -00866960 00886b00 -00866960 0088e380 -00866960 0089edd0 -00866960 00880220 -00866960 008783f0 -00866960 0088be50 -00866960 008780f0 -00866960 0087e120 -00866960 0089ff80 -00866960 00877800 -00866960 0088b5e0 -00866960 00896450 -00866960 00888950 -00866960 00887510 -00866960 00884950 -00866960 00880710 -00866960 00896030 -00866960 00879730 -00866960 0087ce60 -00866960 008959b0 -00866960 008947a0 -00866960 00887f70 -00866960 00872530 -00866960 0089fe80 -00866960 00895630 -00866960 0089ef70 -00866960 00884e40 -00866960 0088eeb0 -00866960 00891750 -00866960 00886910 -00866960 0087cfb0 -00866960 00890ff0 -00866960 00895450 -00866960 0088edc0 -00866960 00895430 -00866960 008a0460 -00866960 00883320 -00866960 00882290 -00866960 0087f710 -00866960 00885d40 -00866960 00880f90 -00866960 008967b0 -00866960 0088d2f0 -00866960 00877100 -00866960 0088b180 -00866960 00888ed0 -00866960 008836b0 -00866960 008844d0 -00866960 00877c70 -00866960 0088a100 -00866960 00884880 -00866960 00888a70 -00866960 00895070 -00866960 0087c8d0 -00866960 00894bc0 -00866960 008873b0 -00866960 0087e1e0 -00866960 008a73c0 -00866960 00882ab0 -00866960 00885210 -00866960 00877b00 -00866960 00878cd0 -00866960 00881c30 -00866960 0088a8c0 -00866960 00890cf0 -00866960 0087f770 -00866960 0088ac20 -00866960 00884470 -00866960 00886550 -00866960 00885f20 -00866960 00892a80 -00866960 00892230 -00866960 0087d2c0 -00866960 0088f890 -00866960 0087fdd0 -00866960 00891af0 -00866960 00887290 -00866960 00882a00 -00866960 008942e0 -00866960 008968b0 -00866960 008757f0 -00866960 0087f950 -00866960 00895830 -00866960 008957d0 -00866960 00895950 -00866960 0087e8d0 -00866960 0088a3e0 -00866960 00882cf0 -00866960 008954b0 -00866960 0088d130 -00866960 008966f0 -00866960 0087ee90 -00866960 00882f90 -00866960 00890210 -00866960 00886d80 -00866960 0088fe70 -00866960 008a77e0 -00866960 00881ad0 -00866960 00876240 -00866960 008a7e10 -00866960 008823b0 -00866960 00882c90 -00866960 00893f10 -00866960 0085d910 -00866960 00895f10 -00866960 008936f0 -00866960 0089ed10 -00866960 00884650 -00866960 008926d0 -00866960 00896510 -00866960 00882830 -00866960 00882c30 -00866960 008907f0 -00866960 008902b0 -00866960 00895d90 -00866960 0088b120 -00866960 00889f10 -00866960 00894680 -00866960 0088dc30 -00866960 0087ccf0 -00866960 0088b890 -00866960 00890d50 -00866960 00889640 -00866960 00883da0 -00866960 00885040 -00866960 0089f4a0 -00866960 008955d0 -00866960 00884410 -00866960 00891cb0 -00866960 008777a0 -00866960 00877a30 -00866960 0087e410 -00866960 008774f0 -00866960 00878270 -00866960 0087ca30 -00866960 00884bc0 -00866960 008958f0 -00866960 008948f0 -00866960 008845f0 -00866960 00875ae0 -00866960 00883430 -00866960 00895130 -00866960 00877860 -00866960 00889050 -00866960 0087add0 -00866960 00882d50 -00866960 00889c50 -00866960 00890110 -00866960 0087e6f0 -00866960 0088cc20 -00866960 00891fb0 -00866960 008771d0 -00866960 00886aa0 -00866960 008863e0 -00866960 0088f2c0 -00866960 00894f10 -00866960 0087ddd0 -00866960 0087f540 -00866960 0087cc40 -00866960 00893e50 -00866960 00895c10 -00866960 00895510 -00866960 0088def0 -00866960 0088b770 -00866960 00890430 -00866960 0088f2a0 -00866960 0089f030 -00866960 00891bb0 -00866960 008860f0 -00866960 00890b50 -00866960 00894100 -00866960 00886ff0 -00866960 0087af30 -00866960 008a6fa0 -00866960 00877660 -00866960 008924c0 -00866960 008849b0 -00866960 0087c6b0 -00866960 0087bf10 -00866960 008846b0 -00866960 008906f0 -00866960 0088c960 -00866960 00884240 -00866960 00895eb0 -00866960 00890bf0 -00866960 00896210 -00866960 0087ce00 -00866960 00894c20 -00866960 00890f90 -00866960 00893c70 -00866960 00892fe0 -00866960 00893470 -00866960 0088ab00 -00866960 00882410 -00866960 008840c0 -00866960 0088c150 -00866960 00893270 -00866960 0087b2c0 -00866960 00886ea0 -00866960 00881fb0 -00866960 0088c460 00866960 008882c0 -00866960 0089f250 -00866960 0087ad70 -00866960 00891c10 -00866960 00892b40 -00866960 0088f5a0 -00866960 EXTERNAL:000000b8 -00866960 00889d00 -00866960 00872510 -00866960 0087e290 -00866960 0087d5d0 -00866960 00884ea0 -00866960 008908a0 -00866960 008816f0 -00866960 0085bf90 -00866960 00894740 -00866960 00887460 -00866960 00878c00 -00866960 00892520 -00866960 00878a90 -00866960 008939c0 -00866960 0087f600 -00866960 00881ed0 -00866960 00882230 -00866960 00889960 -00866960 00888340 -00866960 008872f0 -00866960 00886a80 -00866960 0087a630 -00866960 00895cd0 -00866960 0087d2a0 -00866960 00885c80 -00866960 0089fa40 -00866960 00875c50 -00866960 00878ee0 -00866960 00884770 -00866960 0087ac50 -00866960 00882f30 -00866960 00882470 -00866960 0087c5f0 -00866960 00890f30 -00866960 00892460 -00866960 0085da20 -00866960 0088af40 -00866960 0088c2d0 -00866960 00881650 -00866960 00891f20 -00866960 00882950 -00866960 0085cce0 -00866960 0088b0c0 -00866960 00891050 -00866960 008766b0 -00866960 008814f0 -00866960 0087c820 -00866960 00895fd0 -00866960 0087f200 -00866960 0088f720 -00866960 0088bcd0 -00866960 0089f660 -00866960 008929d0 -00866960 00895890 -00866960 008962d0 -00866960 00879a30 -00866960 00895690 -00866960 00892c20 -00866960 00881550 -00866960 00896090 -00866960 00884b20 -00866960 008943a0 -00866960 0088abc0 -00866960 00893c90 -00866960 008965d0 -00866960 0089ec10 -00866960 00892620 -00866960 0088a0e0 -00866960 00894620 -00866960 0087ac70 -00866960 0088a580 -00866960 008798b0 -00866960 00880ed0 -00866960 008935e0 -00866960 0089f700 -00866960 0089fc40 -00866960 00883380 -00866960 00881090 -00866960 00895b70 -00866960 0088b8f0 -00866960 008776e0 -00866960 00892060 -00866960 0088c940 -00866960 00879340 -00866960 0088e5c0 -00866960 00893750 -00866960 008852d0 -00866960 008a71b0 -00866960 0088cde0 -00866960 008945c0 -00866960 00896150 -00866960 00879d20 -00866960 008835f0 -00866960 00888630 -00866960 0087f9f0 -00866960 0088fe10 -00866960 0087b130 -00866960 00892f80 -00866960 0087dbc0 -00866960 00891d70 -00866960 0088fd10 -00866960 00897120 -00866960 0087f320 -00866960 0088d150 -00866960 00894eb0 -00866960 008889b0 -00866960 00882b10 -00866960 008769c0 -00866960 0087f5a0 -00866960 0089f7a0 -00866960 00888a10 -00866960 00881150 -00866960 008886f0 -00866960 0088bfd0 -00866960 0087e580 -00866960 00877ae0 -00866960 0087cda0 -00866960 00894f70 -00866960 008925c0 -00866960 0088aa40 -00866960 008827d0 -00866960 00891110 -00866960 00889ae0 -00866960 0087bee0 -00866960 0089fbe0 -00866960 00892e70 -00866960 00896630 -00866960 EXTERNAL:00000089 -00866960 00876b30 -00866960 00880c80 -00866960 00889340 -00866960 00876770 -00866960 0089f150 -00866960 0087dc20 -00866960 0088ffc0 -00866960 008801c0 -00866960 00880b80 -00866960 0088e9e0 -00866960 00891a30 -00866960 00887dc0 -00866960 008940a0 -00866960 00890170 -00866960 00879e90 -00866960 00885ce0 -00866960 00890940 -00866960 00894220 -00866960 0088feb0 -00866960 00894160 -00866960 00895a60 -00866960 00887660 -00866960 008927f0 -00866960 008794b0 -00866960 0088ca80 -00866960 0088b360 -00866960 0088efb0 -00866960 00886f40 -00866960 00890ed0 -00866960 0087a010 -00866960 0088b2c0 -00866960 008951f0 -00866960 00881490 -00866960 00877910 -00866960 0087d430 -00866960 00881d70 -00866960 00896330 -00866960 008784b0 -00866960 0087ec20 -00866960 0089ed70 -00866960 00893a20 -00866960 00883220 -00866960 008888f0 -00866960 008837c0 -00866960 00882890 -00866960 00893aa0 -00866960 0087ef30 -00866960 0087fc70 -00866960 008894c0 -00866960 008a0500 -00866960 00876f90 -00866960 00872590 -00866960 0087c770 -00866960 00891340 -00866960 008960f0 -00866960 00890310 -00866960 00882ed0 -00866960 0087ea40 -00866960 00880ca0 -00866960 0089f1b0 -00866960 0087e180 -00866960 008753a0 -00866960 0087a320 -00866960 00894560 -00866960 008871d0 -00866960 0087c650 -00866960 00880340 -00866960 0087c530 -00866960 0088ebc0 -00866960 0085da00 -00866960 008a75d0 -00866960 00883650 -00866960 00894040 -00866960 0087f3d0 -00866960 0088b220 -00866960 0087fa90 -00866960 00879960 -00866960 00892ae0 -00866960 0088fdb0 -00866960 0087b150 -00866960 0087fbd0 -00866960 0088d7d0 -00866960 00881430 -00866960 00896390 -00866960 0088f430 -00866960 008795b0 -00866960 0089ebb0 -00866960 008815f0 -00866960 00882170 -00866960 008884c0 -00866960 0088cd30 -00866960 008903d0 -00866960 0089fde0 -00866960 008961b0 -00866960 00893df0 -00866960 00883f40 -00866960 008773e0 -00866960 0088c7c0 -00866960 00890db0 -00866960 00877280 -00866960 00888be0 -00866960 008804b0 -00866960 0088aaa0 -00866960 00893eb0 -00866960 008931b0 -00866960 008964b0 -00866960 0087db60 -00866960 008767f0 -00866960 008791d0 -00866960 00876e20 -00866960 0087e870 -00866960 00882060 -00866960 0088b540 -00866960 0087b730 -00866960 0087ebc0 -00866960 008880f0 -00866960 008828f0 -00866960 008913e0 -00866960 00877330 -00866960 00888d50 -00866960 0088b400 -00866960 0087fb30 -00866960 00880280 -00866960 0088a270 -00866960 0088f0b0 -00866960 00894340 -00866960 00894440 -00866960 0089efd0 -00866960 0087f6b0 -00866960 00892bc0 -00866960 00881950 -00866960 00877170 -00866960 00882bd0 -00866960 0087b080 -00866960 008a01c0 -00866960 00880ff0 -00866960 00886260 -00866960 00891b50 -00866960 0089f8e0 -00866960 0087a940 -00866960 0087d750 -00866960 00893100 -00866960 008802e0 -00866960 0088a680 -00866960 0088df10 -00866960 00875680 -00866960 0086e4d0 -00866960 0088ecc0 -00866960 0087d060 -00866960 00883ab0 -00866960 0088d2d0 -00866960 00890590 -00866960 008a0400 -00866960 00887350 -00866960 00891a10 -00866960 0087f2c0 -00866960 00893210 -00866960 00884590 -00866960 008932d0 -00866960 008904e0 -00866960 00894ac0 -00866960 0088a9e0 -00866960 00881e20 -00866960 00876650 -00866960 00887c50 -00866960 0087f810 -00866960 00875dd0 -00866960 0087c510 -00866960 00890e10 -00866960 0089f980 -00866960 0087b5c0 -00866960 00892790 -00866960 00886ce0 00866960 0089fee0 -00866960 00893350 -00866960 00895b10 -00866960 0087c090 -00866960 00876cb0 -00866960 008811b0 -00866960 0088a560 -00866960 00896750 -00866960 00887de0 -00866960 00893860 -00866960 0088b600 -00866960 0087cae0 -00866960 00881210 -00866960 00893b00 -00866960 00879050 -00866960 0087b750 -00866960 00890640 -00866960 0087f0f0 -00866960 0088a740 -00866960 00891230 -00866960 008922e0 -00866960 00886e40 -00866960 0085d980 -00866960 00877970 -00866960 008882e0 -00866960 00889940 -00866960 00875960 -00866960 00880e70 -00866960 0088ead0 -00866960 00880e10 -00866960 00885330 -00866960 00886b60 -00866960 0088b9b0 -00866960 0087d110 -00866960 008933b0 -00866960 0089fd80 -00866960 00893a40 -00866960 008944a0 -00866960 0088bb00 -00866960 00884710 -00866960 0089ea10 -00866960 00892ed0 -00866960 0087db00 -00866960 00888850 -00866960 0087c980 -00866960 008963f0 -00866960 0088ada0 -00866960 00894e00 -00866960 008763b0 -00866960 00890370 -00866960 00894b60 -00866960 00888260 -00866960 00877120 -00866960 00895770 -00866960 0087ba50 -00866960 0088b7d0 -00866960 00895d30 -00866960 0087efe0 -00866960 008830a0 -00866960 00895190 -00866960 0088d4d0 -00866960 0088e3a0 -00866960 00896ae0 -00866960 0089f600 -00866960 00885910 -00866960 00891170 -00866960 00891a90 -00866960 0087fdb0 -00866960 00882b70 -00866960 00886740 -00866960 008930a0 -00866960 00875130 -00866960 008887a0 -00866960 0087afd0 -00866960 00875f40 -00866960 00880f30 -00866960 00879ba0 -00866960 0087cb90 -00866960 0087f260 -00866960 0088cc00 -00866960 0089e610 -00866960 008779d0 -00866960 0087ed10 -00866960 00881f30 -00866960 00879a10 -00866960 00893d90 -00866960 008946e0 -00866960 00891490 -00866960 00891d10 -00866960 00890060 -00866960 00893690 -00866960 008973e0 -00866960 00895f70 -00866960 00889e10 -00866960 00893c10 -00866960 0089fce0 -00866960 008a05a0 -00866960 00881750 -00866960 00893f70 -00866960 0088fb80 -00866960 0087df50 -00866960 00882350 -00866960 00884820 -00866960 00880a00 -00866960 0088c440 -00866960 008910b0 +00866960 0088d2d0 +00866960 00884770 +00866960 00884c70 +00866960 00889050 00866960 00893910 -00866960 008a00c0 00866960 0087ae80 -00866960 00876550 -00866960 0087acd0 -00866960 00876710 -00866960 008805a0 -00866960 00886570 -00866960 0088fcf0 -00866960 0087c710 -00866960 00877f70 -00866960 00890aa0 -00866960 00882650 -00866960 00893cf0 -00866960 00886de0 -00866960 00884930 -00866960 008941c0 -00866960 008920c0 -00866960 0087c200 -00866960 0088a6e0 -00866960 008812d0 -00866960 008810f0 -00866960 00876840 -00866960 0087d5b0 -00866960 0088e090 -00866960 00877740 -00866960 0088e840 -00866960 00878d70 -00866960 008854a0 -00866960 0089f9e0 +00866960 0088d4d0 +00866960 0089f980 +00866960 0088f720 +00866960 0088b0c0 00866960 0087ff40 -00866960 00895c70 -00866960 00892cc0 -00866960 00895710 -00866960 00895e50 -00866960 008909f0 -00866960 00880db0 -00866960 00881b30 -00866960 008787a0 -00866960 0087d130 -00866960 0088e200 -00866960 00881390 -00866960 00885930 -00866960 008820c0 -00866960 00890c90 -00866960 00885e00 -00866960 0088c4c0 -00866960 00885da0 -00866960 00894500 -00866960 008897c0 -00866960 008a79f0 -00866960 00885b10 -00866960 008911d0 -00866960 0088e450 -00866960 0088a980 -00866960 008818a0 -00866960 00896570 -00866960 0089fae0 -00866960 00885990 -00866960 00896cf0 -00866960 00882ff0 -00866960 0088c9c0 -00866960 00876530 -00866960 00895250 -00866960 0089fb40 -00866960 00884530 -00866960 00877680 -00866960 00891290 -00866960 00885790 -00866960 00894950 -00866960 0088ab60 -00866960 00875510 -00866960 00893bb0 -00866960 008822f0 -00866960 0087f1a0 -00866960 0089f0f0 -00866960 0088f1b0 -00866960 0087f040 -00866960 00892730 -00866960 0087c590 -00866960 0089ec70 -00866960 0087dce0 -00866960 008824d0 -00866960 00883c30 -00866960 00894280 -00866960 008950d0 -00866960 00877de0 -00866960 008760c0 -00866960 00884de0 -00866960 0088ca20 -00866960 0089ee70 -00866960 008a06a0 -00866960 0087e0c0 -00866960 008a0220 -00866960 00885e60 -00866960 008821d0 +00866960 008814f0 +00866960 0088b890 +00866960 008941c0 +00866960 00890430 +00866960 008943a0 +00866960 00890590 +00866960 00882230 +00866960 00875dd0 +00866960 00894680 +00866960 0088d7f0 +00866960 00895070 00866960 00895df0 -00866960 00887230 -00866960 0087d7b0 -00866960 00891e10 -00866960 0088e6c0 -00866960 0088fa00 -00866960 00892d20 -00866960 0087dc80 -00866960 00880880 -00866960 0089f3e0 -00866960 008877e0 -00866960 0089eab0 -00866960 008a7c00 -00866960 EXTERNAL:000000a0 -00866960 00891ec0 +00866960 00877860 +00866960 00887de0 +00866960 0087b2c0 +00866960 008957d0 +00866960 0088e5c0 +00866960 008a0020 +00866960 00884b20 +00866960 00891f20 00866960 00893410 +00866960 0087db00 +00866960 0088ab00 +00866960 0088e200 +00866960 0088fe10 +00866960 0087cae0 +00866960 00883380 +00866960 00883f40 +00866960 00880b80 +00866960 00884650 +00866960 00893270 +00866960 0087c8d0 +00866960 00885990 +00866960 0087fb30 +00866960 00882ff0 +00866960 00879ba0 +00866960 00891ec0 +00866960 008784b0 +00866960 0087acd0 +00866960 008880f0 +00866960 00891050 +00866960 008964b0 +00866960 00895b10 +00866960 008965d0 +00866960 00876840 +00866960 00891340 +00866960 00894220 +00866960 0089ed10 +00866960 0088ead0 +00866960 0085da00 +00866960 00883220 +00866960 0087d5b0 +00866960 00895710 +00866960 0088f0b0 +00866960 00881430 +00866960 0088d350 +00866960 00885ce0 +00866960 00894840 +00866960 008840c0 +00866960 0087ba50 +00866960 00875510 +00866960 0088ccd0 +00866960 00893040 +00866960 008939c0 +00866960 0087c090 +00866960 00896450 +00866960 00878ee0 +00866960 0087c530 +00866960 00880280 +00866960 008954b0 +00866960 008776e0 +00866960 00886a80 +00866960 00896390 +00866960 00876650 +00866960 00880f30 +00866960 008a0460 +00866960 00895570 +00866960 008967b0 +00866960 00890940 +00866960 00885270 +00866960 00888260 +00866960 00893c70 +00866960 0089fae0 +00866960 0089f600 +00866960 00887c50 +00866960 008902b0 +00866960 00876710 +00866960 00887950 +00866960 0087cfb0 +00866960 00878c00 +00866960 0087ebc0 +00866960 008860f0 +00866960 0088cde0 +00866960 00879730 +00866960 00887570 +00866960 0088aaa0 +00866960 0088a560 +00866960 00890f30 +00866960 0087fbd0 +00866960 00893860 +00866960 0087f260 +00866960 00882ed0 +00866960 0088cfb0 +00866960 008942e0 +00866960 00894bc0 +00866960 00882410 +00866960 00882470 +00866960 00892790 +00866960 00891e10 +00866960 00886ff0 +00866960 00893100 +00866960 00894e00 +00866960 0089ebb0 +00866960 0087f540 +00866960 008940a0 +00866960 00882830 +00866960 00884240 +00866960 0089fde0 +00866960 00891cb0 +00866960 0089fd80 +00866960 00894340 +00866960 008846b0 +00866960 00894740 +00866960 00895830 +00866960 0088bfd0 +00866960 008a6fa0 +00866960 00890790 +00866960 0089ef70 +00866960 00879960 +00866960 008950d0 +00866960 008948f0 +00866960 00891a90 +00866960 0087add0 +00866960 00881d70 +00866960 0087b5c0 +00866960 008834e0 +00866960 00892b60 +00866960 008810f0 +00866960 0087f770 +00866960 00894b60 +00866960 00888be0 +00866960 0087d7b0 +00866960 00887dc0 +00866960 00882650 +00866960 0087c200 +00866960 0087fa90 +00866960 0088b770 +00866960 0088a0e0 +00866960 00880710 +00866960 00877740 +00866960 00892520 +00866960 0088fcf0 +00866960 0088a3e0 +00866960 008811b0 +00866960 00895510 +00866960 0087ca30 +00866960 00881210 +00866960 008955d0 +00866960 0087f9f0 +00866960 008773e0 +00866960 0087dc80 +00866960 008780f0 +00866960 00892060 +00866960 0088c960 +00866960 0088def0 +00866960 00886b00 +00866960 00882d50 +00866960 008889b0 +00866960 0087f040 +00866960 00886260 +00866960 008910b0 +00866960 0088aa40 +00866960 0088b2c0 +00866960 00895190 +00866960 00892d20 +00866960 0089ef10 +00866960 0087cb90 +00866960 00892f80 +00866960 00891d10 +00866960 00882bd0 +00866960 0087c650 +00866960 0087c820 +00866960 0087cda0 +00866960 0088ecc0 +00866960 00884bc0 +00866960 00889f10 +00866960 0088fdb0 +00866960 00883590 +00866960 0088c2d0 +00866960 0087f810 +00866960 00886d80 +00866960 0087d060 +00866960 008a73c0 +00866960 00881650 +00866960 00883da0 +00866960 0088a270 +00866960 0088f2c0 +00866960 0088cc00 +00866960 008827d0 +00866960 00878cb0 +00866960 00894040 +00866960 00894c20 +00866960 008779d0 +00866960 00883650 +00866960 008913e0 +00866960 0087f200 +00866960 008866e0 +00866960 00895d90 +00866960 00893210 +00866960 00889c50 +00866960 008873b0 +00866960 008753a0 +00866960 00895890 +00866960 0087ef30 +00866960 008932d0 +00866960 008787a0 +00866960 0088d2f0 +00866960 0087bee0 +00866960 00890c90 +00866960 00894620 +00866960 00879a10 +00866960 0087f8b0 +00866960 0089f250 +00866960 0089ff80 +00866960 0089f1b0 +00866960 0087c5f0 +00866960 00889e10 +00866960 00893c90 +00866960 00888340 +00866960 008952b0 +00866960 00885210 +00866960 008766b0 +00866960 0087e290 +00866960 0088a680 +00866960 00890d50 +00866960 00895a60 +00866960 0088abc0 +00866960 00884470 +00866960 008835f0 +00866960 00880d00 +00866960 008812d0 +00866960 0088e3a0 +00866960 00892e70 +00866960 008769c0 +00866960 00891d70 +00866960 0087afd0 +00866960 00895690 +00866960 00892dc0 +00866960 00889f70 +00866960 00879e90 +00866960 00888a10 +00866960 0088b180 +00866960 00876530 +00866960 00881270 +00866960 0088eeb0 +00866960 008872f0 +00866960 00886b60 +00866960 00881e20 +00866960 00887460 +00866960 EXTERNAL:000000a0 +00866960 00889eb0 +00866960 0087b730 +00866960 00880ff0 +00866960 00890aa0 +00866960 00892970 +00866960 00880db0 +00866960 0089eab0 +00866960 0089ed70 +00866960 008765a0 +00866960 0088b950 +00866960 00890e70 +00866960 0088d150 +00866960 008929d0 +00866960 00875f40 +00866960 00877ae0 +00866960 00896ae0 +00866960 008a0220 +00866960 00891fb0 +00866960 00895d30 +00866960 0087db60 +00866960 00877120 +00866960 0087ac50 +00866960 00883940 +00866960 00887170 +00866960 00896510 +00866960 00893aa0 +00866960 0089f3e0 +00866960 00877660 +00866960 00883320 +00866960 00895b70 +00866960 008a77e0 +00866960 00890b50 +00866960 00881800 +00866960 00889340 +00866960 008894c0 +00866960 0088a980 +00866960 00882cf0 +00866960 008871d0 +00866960 0087af30 +00866960 0087a320 +00866960 00892ae0 +00866960 008882e0 +00866960 00884950 +00866960 008798b0 +00866960 00886f40 +00866960 00892730 +00866960 0089ea10 +00866960 00882b70 +00866960 00893bb0 +00866960 00890170 +00866960 00879340 +00866960 0088e840 +00866960 00896570 +00866960 00887ad0 +00866960 0088b4a0 +00866960 008944a0 +00866960 008897c0 +00866960 00881750 +00866960 0087c770 +00866960 00896690 +00866960 00884530 +00866960 0089eb50 +00866960 0088d650 +00866960 0089f4a0 +00866960 0087e180 +00866960 00880ca0 +00866960 00894950 +00866960 00885020 +00866960 00872530 +00866960 00895950 +00866960 00878920 +00866960 00893470 +00866960 00891bb0 +00866960 008a0500 +00866960 00882c30 +00866960 00883760 +00866960 00885c80 +00866960 008824d0 +00866960 00888950 +00866960 00896150 +00866960 00893330 +00866960 008801c0 +00866960 00881c30 +00866960 0088b600 +00866960 00891230 +00866960 00893530 +00866960 008a7e10 +00866960 00885e00 +00866960 00891110 +00866960 00892bc0 +00866960 00877f70 +00866960 00882950 +00866960 00881330 +00866960 00882060 +00866960 00875ae0 +00866960 0087b750 +00866960 00878d70 +00866960 0087d110 +00866960 00885930 +00866960 0087f950 +00866960 0087ec20 +00866960 00882290 +00866960 0089f9e0 +00866960 008783f0 +00866960 008852d0 +00866960 008922e0 +00866960 008a06a0 +00866960 0087d2a0 +00866960 00893c10 +00866960 00896270 +00866960 00881550 +00866960 008863e0 +00866960 00882b10 +00866960 0089fc40 +00866960 00890310 00866960 00889d60 +00866960 00896330 +00866960 00896750 +00866960 0088d130 +00866960 008a0360 +00866960 00878cd0 +00866960 00891b50 +00866960 0089f0f0 +00866960 008a79f0 +00866960 00877970 +00866960 00885f20 +00866960 00875960 +00866960 00882350 +00866960 008816f0 +00866960 0087fd10 +00866960 00887510 +00866960 0087ce80 +00866960 0089ec70 +00866960 00892a80 +00866960 0089f7a0 +00866960 0088ebc0 +00866960 0088fe70 +00866960 00883ab0 +00866960 008973e0 +00866960 008760c0 +00866960 0088ff60 +00866960 00886740 +00866960 008924c0 +00866960 008830a0 +00866960 0088c4c0 +00866960 008903d0 +00866960 008a75d0 +00866960 008a0160 +00866960 0088c150 +00866960 00889640 +00866960 008820c0 +00866960 008849b0 +00866960 00890110 +00866960 008962d0 +00866960 0089ee70 +00866960 00885da0 +00866960 00881f30 +00866960 00886570 +00866960 008802e0 +00866960 0088b7d0 +00866960 00895450 +00866960 00885330 +00866960 008925c0 +00866960 00877800 +00866960 008a0400 +00866960 00891af0 +00866960 0087c710 +00866960 008805a0 +00866960 00886de0 +00866960 008777a0 +00866960 0087bf10 +00866960 0087d750 +00866960 00875130 +00866960 0087dc20 +00866960 0089fe80 +00866960 00894c80 +00866960 00884820 +00866960 008877e0 +00866960 00894f10 +00866960 0089f030 +00866960 00880c80 +00866960 008795b0 +00866960 008891c0 +00866960 00875230 +00866960 0087c590 +00866960 00881cd0 +00866960 0088a9e0 +00866960 008818a0 +00866960 00891490 +00866960 00884710 +00866960 008a00c0 +00866960 00877de0 +00866960 008844d0 +00866960 00882c90 +00866960 00889d00 +00866960 008963f0 +00866960 0087a630 +00866960 008836b0 +00866960 00885790 +00866960 008968b0 +00866960 0087f320 +00866960 0087e120 +00866960 0087f1a0 +00866960 00886ea0 +00866960 00880e10 +00866960 0088af40 +00866960 0088e090 +00866960 0087daa0 +00866960 0089edd0 +00866960 0088a6e0 +00866960 0088b540 +00866960 00894500 +00866960 00881b30 +00866960 00894100 +00866960 008926d0 +00866960 0087b130 +00866960 0087d130 +00866960 00893800 +00866960 0088edc0 +00866960 0087e410 +00866960 00876240 +00866960 00884ea0 +00866960 008904e0 +00866960 00895eb0 +00866960 0088f430 +00866960 00893750 +00866960 0087f6b0 +00866960 00890060 +00866960 00877a30 +00866960 0088bb60 +00866960 008946e0 +00866960 00882a00 +00866960 008815f0 +00866960 00893f10 +00866960 00894160 +00866960 00894ac0 +00866960 008a01c0 +00866960 00882170 +00866960 00891c10 +00866960 008935e0 +00866960 008956f0 +00866960 00888850 +00866960 008933b0 +00866960 00896630 +00866960 00880a00 +00866960 00885b10 +00866960 00886e40 +00866960 0088fb80 +00866960 008800c0 +00866960 008771d0 +00866960 0087e580 +00866960 00891a30 +00866960 0088b8f0 +00866960 EXTERNAL:000000b8 +00866960 00880e70 +00866960 00876550 +00866960 008763b0 +00866960 00896210 +00866960 0087ddd0 +00866960 00880220 +00866960 0088d7d0 +00866960 00895130 +00866960 00882ab0 +00866960 00895430 +00866960 0087ac70 +00866960 00895c70 +00866960 0089fa40 +00866960 0087e870 +00866960 00881490 +00866960 00893df0 +00866960 0087e0c0 +00866960 00880880 +00866960 0087ad70 +00866960 00894560 +00866960 0088c7c0 +00866960 0087f710 +00866960 0088ca20 +00866960 00893eb0 +00866960 008a71b0 +00866960 00895770 +00866960 00893f70 +00866960 008934d0 +00866960 0087ccf0 +00866960 0087fdd0 +00866960 00897120 +00866960 00879a30 +00866960 008823b0 +00866960 00890cf0 +00866960 0087ed10 +00866960 0087e1e0 +00866960 0087ce00 +00866960 0085bf90 +00866960 00891170 +00866960 00878490 +00866960 00876cb0 +00866960 0088cd30 +00866960 008791d0 +00866960 EXTERNAL:00000089 +00866960 0085d910 +00866960 00877100 +00866960 00884e40 +00866960 00887660 +00866960 008920c0 +00866960 00890ff0 +00866960 0086e4d0 +00866960 00893cf0 +00866960 00892c20 +00866960 008958f0 +00866960 00890f90 +00866960 00876b30 +00866960 00885f80 +00866960 00881150 +00866960 00892fe0 +00866960 00895c10 +00866960 0088b5e0 +00866960 0088df10 +00866960 00877280 +00866960 00881390 +00866960 008961b0 +00866960 0087a940 +00866960 00884930 +00866960 0087b8d0 +00866960 0088b220 +00866960 00887290 +00866960 0087d430 +00866960 00886ce0 +00866960 0088ca80 +00866960 00891750 +00866960 0088d970 +00866960 008959b0 +00866960 00885d40 +00866960 0088f890 +00866960 00886550 +00866960 00882890 +00866960 00885ec0 +00866960 0088b9b0 +00866960 0088e450 +00866960 00875c50 +00866960 00894440 +00866960 008936f0 +00866960 00881ad0 +00866960 008850a0 +00866960 0089efd0 +00866960 008794b0 +00866960 0088ada0 +00866960 008a7c00 +00866960 00877b00 +00866960 0089f8e0 +00866960 00888630 +00866960 0087dbc0 +00866960 00892b40 +00866960 00895f70 +00866960 0088c440 +00866960 00876f90 +00866960 0088fd10 +00866960 008843b0 +00866960 00877330 +00866960 00885610 +00866960 00891290 +00866960 00893b00 +00866960 00887350 +00866960 008951f0 +00866960 0087f0f0 +00866960 00885910 +00866960 0088c940 +00866960 008927f0 +00866960 0088b830 +00866960 00889940 +00866960 0085da20 +00866960 0088fa00 +00866960 0087f5a0 +00866960 0087d5d0 +00866960 008886f0 +00866960 0087c980 +00866960 00877c70 +00866960 008767d0 +00866960 00895fd0 +00866960 00893690 +00866960 00892cc0 +00866960 0088ba50 +00866960 008888f0 +00866960 0088b360 +00866960 00880f90 +00866960 0087fc70 +00866960 0088a580 +00866960 008a05a0 +00866960 008960f0 +00866960 00893350 +00866960 0088c640 +00866960 0087b080 +00866960 00884590 +00866960 00891a10 +00866960 00881950 +00866960 0087df50 +00866960 00889ae0 +00866960 00893a40 +00866960 00890db0 +00866960 00877680 +00866960 0089ec10 +00866960 00877170 +00866960 0089f700 +00866960 00890640 +00866960 00885e60 +00866960 0089f660 +00866960 0087d920 +00866960 00892460 +00866960 00876770 +00866960 0087c510 +00866960 00882f90 +00866960 0087bbd0 +00866960 0088efb0 +00866960 008757f0 +00866960 00875680 +00866960 00883c30 +00866960 008908a0 +00866960 0088c9c0 +00866960 0089e610 +00866960 00896030 +00866960 00890bf0 +00866960 0088b120 +00866960 0087c6b0 +00866960 00881bd0 +00866960 00894280 +00866960 00877910 +00866960 00879050 +00866960 00881090 +00866960 0088e9e0 +00866960 00896cf0 +00866960 00884410 +00866960 0087fdb0 +00866960 00892620 +00866960 0087ce60 +00866960 008821d0 +00866960 0087f600 +00866960 00880340 +00866960 00896090 +00866960 008945c0 +00866960 0089f840 +00866960 0087cc40 +00866960 0088e9c0 +00866960 00894f70 +00866960 008887a0 +00866960 00880ed0 +00866960 0088ab60 +00866960 008907f0 +00866960 00892230 +00866960 008930a0 +00866960 0088feb0 +00866960 00889960 +00866960 0088fe90 +00866960 00887230 +00866960 0088a8c0 +00866960 0087efe0 +00866960 0087e6f0 +00866960 0089fb40 +00866960 00872510 +00866960 00893d90 +00866960 0089fbe0 +00866960 00888a70 +00866960 0088dc30 +00866960 00895f10 +00866960 00886aa0 +00866960 0088ac20 +00866960 008854a0 +00866960 00895250 +00866960 008909f0 +00866960 00893fe0 +00866960 0088be50 +00866960 00885040 +00866960 00893e50 +00866960 0088bcd0 +00866960 008931b0 +00866960 0087b440 +00866960 00893a20 +00866960 008837c0 +00866960 00879d20 +00866960 00895e50 +00866960 00878620 +00866960 0087d2c0 +00866960 008845f0 +00866960 008906f0 +00866960 00892ed0 +00866960 00886910 +00866960 0088f5a0 +00866960 0087f3d0 +00866960 0087a010 +00866960 0087dce0 +00866960 0088e380 +00866960 0088bb00 +00866960 0088cc20 +00866960 0088a100 +00866960 008868b0 +00866960 008822f0 +00866960 0089fce0 +00866960 008774f0 +00866960 0088a740 +00866960 0088b400 +00866960 0088c460 +00866960 00884de0 +00866960 008804b0 +00866960 00883430 +00866960 00878a90 +00866960 00882f30 +00866960 00890210 +00866960 00895630 +00866960 0088f2a0 +00866960 00895cd0 +00866960 0087f2c0 +00866960 0088e6c0 +00866960 0085dab0 +00866960 00878270 +00866960 0087ee90 +00866960 00881fb0 +00866960 008828f0 +00866960 00884880 +00866960 0087e8d0 +00866960 008884c0 +00866960 0087ea40 +00866960 00881ed0 +00866960 0089f150 +00866960 008966f0 +00866960 00872590 +00866960 00890ed0 +00866960 008767f0 +00866960 00894eb0 +00866960 0089f440 +00866960 0087b150 +00866960 00890e10 +00866960 00888690 +00866960 00888d50 +00866960 0088ce40 +00866960 0088ffc0 +00866960 0085d980 +00866960 0088a920 +00866960 0089f090 +00866960 00888ed0 +00866960 008947a0 +00866960 0085cce0 +00866960 008911d0 +00866960 00876e20 +00866960 00890370 +00866960 00887f70 +00866960 0088f1b0 +00866960 00877490 0086e4d0 0085cce0 -0086e520 00870e00 -0086e520 00aef15c -0086e520 EXTERNAL:00000080 0086e520 EXTERNAL:00000088 0086e520 008975d0 +0086e520 00870e00 +0086e520 EXTERNAL:00000080 +0086e520 00aef15c +0086e5e0 EXTERNAL:00000251 +0086e5e0 00a648b0 0086e5e0 EXTERNAL:00000255 0086e5e0 00a23200 0086e5e0 EXTERNAL:00000263 0086e5e0 EXTERNAL:0000022f -0086e5e0 00a648b0 0086e5e0 0086e6c0 -0086e5e0 EXTERNAL:00000251 0086e6c0 00a112c0 0086ef30 00a112c0 0086ef50 EXTERNAL:0000007e -0086ef50 006a80f0 -0086ef50 EXTERNAL:0000009f -0086ef50 EXTERNAL:00000080 -0086ef50 EXTERNAL:000000a0 -0086ef50 EXTERNAL:000000a8 -0086ef50 EXTERNAL:00000083 -0086ef50 EXTERNAL:000000ab -0086ef50 00417870 0086ef50 00897500 +0086ef50 EXTERNAL:000000ab +0086ef50 006a80f0 0086ef50 EXTERNAL:000000b9 +0086ef50 EXTERNAL:00000080 +0086ef50 00417870 +0086ef50 EXTERNAL:00000083 +0086ef50 EXTERNAL:000000a8 0086ef50 EXTERNAL:000000b1 +0086ef50 EXTERNAL:0000009f +0086ef50 EXTERNAL:000000a0 0086f0a0 006eef60 0086f0a0 00428b20 -0086f0d0 006eef60 0086f0d0 007ebca0 +0086f0d0 006eef60 0086f1b0 00a1af90 0086f280 00a1b140 0086f370 00a1b8e0 @@ -31642,11 +31642,11 @@ 0086f520 0060c700 0086f5b0 0040cae0 0086f5b0 0060c700 -0086f640 00aef15c 0086f640 004235c0 -0086f640 00737b30 0086f640 00423480 0086f640 00685bc0 +0086f640 00aef15c +0086f640 00737b30 0086f6e0 0040cae0 0086f760 0040cae0 0086f800 0040cae0 @@ -31658,12 +31658,12 @@ 0086fab0 0040cae0 0086fb20 EXTERNAL:0000007e 0086fb20 006a80f0 +0086fb20 EXTERNAL:00000083 +0086fb20 EXTERNAL:000000a8 +0086fb20 EXTERNAL:000000b1 0086fb20 EXTERNAL:0000009f 0086fb20 EXTERNAL:000000a0 -0086fb20 EXTERNAL:000000a8 -0086fb20 EXTERNAL:00000083 0086fb20 EXTERNAL:00000081 -0086fb20 EXTERNAL:000000b1 0086fc40 00736ba0 0086fc70 00a20fb0 0086fca0 00a20fb0 @@ -31671,10 +31671,10 @@ 0086fd10 00a20fb0 0086fd40 00a20fb0 0086fd70 00a20fb0 -0086fdb0 00a69f60 0086fdb0 EXTERNAL:0000021c -0086fe50 00a69f60 +0086fdb0 00a69f60 0086fe50 EXTERNAL:0000021c +0086fe50 00a69f60 0086ffa0 00a68490 00870020 0068cdc0 00870020 00499950 @@ -31682,5640 +31682,5640 @@ 00870220 00af0917 008703c0 00af0917 008704f0 0085c300 -008704f0 EXTERNAL:00000082 -008704f0 006a80f0 -008704f0 0041a790 -008704f0 00a648b0 -008704f0 EXTERNAL:00000081 -008704f0 EXTERNAL:000000ae -008704f0 0085c590 -008704f0 EXTERNAL:0000007e -008704f0 EXTERNAL:0000009f -008704f0 EXTERNAL:00000080 -008704f0 EXTERNAL:000000a0 -008704f0 EXTERNAL:000000a8 -008704f0 EXTERNAL:00000083 -008704f0 EXTERNAL:000000ab 008704f0 00897500 -008704f0 EXTERNAL:000000b9 +008704f0 EXTERNAL:000000ab +008704f0 006a80f0 +008704f0 EXTERNAL:000000ae +008704f0 EXTERNAL:00000083 +008704f0 EXTERNAL:000000a8 008704f0 EXTERNAL:000000b1 -008707b0 EXTERNAL:000000b3 -008707b0 006a80f0 +008704f0 0041a790 +008704f0 EXTERNAL:0000007e +008704f0 EXTERNAL:00000082 +008704f0 0085c590 +008704f0 00a648b0 +008704f0 EXTERNAL:000000b9 +008704f0 EXTERNAL:00000080 +008704f0 EXTERNAL:0000009f +008704f0 EXTERNAL:000000a0 +008704f0 EXTERNAL:00000081 008707b0 EXTERNAL:000000b6 -008707b0 0041af60 -008707b0 EXTERNAL:00000081 -008707b0 EXTERNAL:000000ae -008707b0 EXTERNAL:0000007e -008707b0 EXTERNAL:0000009f -008707b0 EXTERNAL:00000080 -008707b0 EXTERNAL:000000a0 -008707b0 EXTERNAL:000000a8 -008707b0 EXTERNAL:00000083 008707b0 EXTERNAL:000000ab -008707b0 EXTERNAL:00000262 -008707b0 EXTERNAL:000000b9 +008707b0 006a80f0 +008707b0 EXTERNAL:000000ae +008707b0 EXTERNAL:000000b3 +008707b0 EXTERNAL:00000083 +008707b0 EXTERNAL:000000a8 008707b0 EXTERNAL:000000b1 +008707b0 0041af60 +008707b0 EXTERNAL:0000007e +008707b0 EXTERNAL:000000b9 +008707b0 EXTERNAL:00000080 +008707b0 EXTERNAL:00000262 +008707b0 EXTERNAL:0000009f +008707b0 EXTERNAL:000000a0 +008707b0 EXTERNAL:00000081 00870b40 EXTERNAL:0000007e -00870b40 006a80f0 00870b40 EXTERNAL:000000b6 +00870b40 EXTERNAL:000000ab +00870b40 006a80f0 00870b40 EXTERNAL:000000b7 +00870b40 EXTERNAL:000000ae +00870b40 EXTERNAL:000000b9 00870b40 EXTERNAL:00000080 00870b40 EXTERNAL:00000083 -00870b40 EXTERNAL:000000ab -00870b40 0041b7b0 -00870b40 EXTERNAL:000000b9 00870b40 00872910 -00870b40 EXTERNAL:000000ae -00870e00 006a80f0 -00870e00 EXTERNAL:0000007e -00870e00 00aef15c -00870e00 EXTERNAL:00000080 +00870b40 0041b7b0 00870e00 0040ccd0 +00870e00 EXTERNAL:0000007e +00870e00 006a80f0 00870e00 EXTERNAL:000000af +00870e00 EXTERNAL:00000080 +00870e00 00aef15c 00870f21 008727d0 00870f21 0085c080 -00870f40 EXTERNAL:00000220 -00870f40 006a80f0 -00870f40 EXTERNAL:0000007e -00870f40 EXTERNAL:000001d7 -00870f40 0040cf50 -00870f40 00aef15c -00870f40 00a0f4c0 -00870f40 EXTERNAL:00000080 -00870f40 00aef12b 00870f40 0040ccd0 +00870f40 EXTERNAL:0000007e +00870f40 00a0f4c0 +00870f40 006a80f0 +00870f40 EXTERNAL:00000080 +00870f40 0040cf50 +00870f40 00aef12b +00870f40 00aef15c +00870f40 EXTERNAL:00000220 +00870f40 EXTERNAL:000001d7 +008711f0 0040ccd0 008711f0 0041e420 -008711f0 EXTERNAL:00000220 -008711f0 00a112c0 008711f0 006a80f0 -008711f0 00a52890 008711f0 00a0f4c0 +008711f0 00aef12b 008711f0 004997f0 -008711f0 EXTERNAL:0000007e -008711f0 00897540 +008711f0 00a112c0 +008711f0 EXTERNAL:00000220 008711f0 00aef15c +008711f0 EXTERNAL:0000025a +008711f0 00897540 +008711f0 00a52890 +008711f0 006523e0 +008711f0 EXTERNAL:0000007e 008711f0 00a25090 008711f0 EXTERNAL:00000080 -008711f0 00aef12b -008711f0 006523e0 -008711f0 EXTERNAL:0000025a -008711f0 0040ccd0 -00871550 0041e420 -00871550 EXTERNAL:00000220 -00871550 00a112c0 -00871550 006a80f0 -00871550 00a52890 -00871550 00a0f4e0 -00871550 004997f0 -00871550 EXTERNAL:0000007e -00871550 00897540 -00871550 00aef15c -00871550 EXTERNAL:00000080 -00871550 00aef12b -00871550 006523e0 -00871550 EXTERNAL:0000025a 00871550 0040ccd0 -00871550 EXTERNAL:00000262 +00871550 0041e420 +00871550 006a80f0 00871550 00a24fd0 -00871980 0041e420 -00871980 EXTERNAL:00000220 -00871980 006a80f0 -00871980 00a17180 -00871980 004997f0 -00871980 EXTERNAL:0000007e -00871980 00897540 -00871980 00aef15c -00871980 EXTERNAL:00000080 -00871980 00aef12b -00871980 006523e0 +00871550 00aef12b +00871550 004997f0 +00871550 00a112c0 +00871550 EXTERNAL:00000220 +00871550 00aef15c +00871550 EXTERNAL:0000025a +00871550 00897540 +00871550 00a52890 +00871550 006523e0 +00871550 EXTERNAL:0000007e +00871550 EXTERNAL:00000080 +00871550 EXTERNAL:00000262 +00871550 00a0f4e0 00871980 0040ccd0 +00871980 0041e420 +00871980 006a80f0 +00871980 00aef12b +00871980 004997f0 +00871980 EXTERNAL:00000220 +00871980 00aef15c +00871980 00897540 +00871980 006523e0 +00871980 EXTERNAL:0000007e +00871980 EXTERNAL:00000080 00871980 EXTERNAL:00000262 -00871c10 0041e420 -00871c10 EXTERNAL:00000220 -00871c10 006a80f0 -00871c10 00a17180 -00871c10 EXTERNAL:0000026c -00871c10 004997f0 -00871c10 EXTERNAL:0000007e -00871c10 00897540 -00871c10 00aef15c -00871c10 EXTERNAL:00000080 -00871c10 00aef12b -00871c10 006523e0 +00871980 00a17180 00871c10 0040ccd0 +00871c10 0041e420 +00871c10 006a80f0 +00871c10 00aef12b +00871c10 004997f0 +00871c10 EXTERNAL:00000220 +00871c10 00aef15c +00871c10 00897540 +00871c10 006523e0 +00871c10 EXTERNAL:0000007e +00871c10 EXTERNAL:0000026c +00871c10 EXTERNAL:00000080 00871c10 EXTERNAL:00000262 +00871c10 00a17180 00871eb0 0040d040 00871ed0 00aef12b 00871fa0 006ac2a0 00872050 004cdcf0 00872050 004cf210 -00872090 00a0f550 -00872090 00a1bd80 -00872090 00aef12b +00872090 00a1d710 00872090 00a1b8e0 00872090 0069dac0 -00872090 00a55d60 -00872090 EXTERNAL:0000007d +00872090 00aef12b 00872090 00af0911 -00872090 00a1d710 -00872090 008975b0 00872090 00a1bb10 +00872090 00a0f550 +00872090 EXTERNAL:0000007d +00872090 00a1bd80 +00872090 00a55d60 +00872090 008975b0 00872510 0085d910 00872530 EXTERNAL:000000b8 +00872530 EXTERNAL:000000bf 00872530 EXTERNAL:000000bb +00872530 EXTERNAL:000000be 00872530 EXTERNAL:000000a0 00872530 EXTERNAL:000000bc -00872530 EXTERNAL:000000be -00872530 EXTERNAL:000000bf 00872590 EXTERNAL:000000b8 +00872590 EXTERNAL:000000bf 00872590 EXTERNAL:000000bb +00872590 EXTERNAL:000000be 00872590 EXTERNAL:000000a0 00872590 EXTERNAL:000000bc -00872590 EXTERNAL:000000be -00872590 EXTERNAL:000000bf -008725f0 00414a80 -008725f0 00aef15c 008725f0 00828180 008725f0 00424540 -00872730 EXTERNAL:000000a5 -00872730 EXTERNAL:000000b9 +008725f0 00414a80 +008725f0 00aef15c 00872730 0085c590 -00872780 EXTERNAL:000000a5 -00872780 EXTERNAL:000000b9 +00872730 EXTERNAL:000000b9 +00872730 EXTERNAL:000000a5 00872780 0085c590 +00872780 EXTERNAL:000000b9 +00872780 EXTERNAL:000000a5 008727d0 00af05eb 008727d0 00897620 -00872820 EXTERNAL:000000b3 00872820 006a80f0 -00872820 EXTERNAL:00000083 00872820 EXTERNAL:000000ae -00872860 006a80f0 -00872860 EXTERNAL:00000083 -00872860 EXTERNAL:000000b2 +00872820 EXTERNAL:000000b3 +00872820 EXTERNAL:00000083 00872860 0040ccd0 +00872860 006a80f0 00872860 EXTERNAL:000000ae +00872860 EXTERNAL:000000b2 +00872860 EXTERNAL:00000083 00872910 006a80f0 -00872910 EXTERNAL:00000083 -00872910 EXTERNAL:000000b9 00872910 EXTERNAL:000000ae 00872910 0085c590 +00872910 EXTERNAL:000000b9 +00872910 EXTERNAL:00000083 00872980 EXTERNAL:0000007e -00872980 EXTERNAL:000000b7 -00872980 EXTERNAL:0000007f -00872980 EXTERNAL:00000083 00872980 EXTERNAL:000000ab +00872980 EXTERNAL:0000007f +00872980 EXTERNAL:000000b7 00872980 EXTERNAL:000000af +00872980 EXTERNAL:00000083 00872a0c 008727d0 00872a0c 0085c080 00872a20 EXTERNAL:0000007e -00872a20 EXTERNAL:000000b7 -00872a20 EXTERNAL:0000009f -00872a20 EXTERNAL:0000007f -00872a20 EXTERNAL:000000a0 -00872a20 EXTERNAL:000000a8 -00872a20 EXTERNAL:00000083 00872a20 EXTERNAL:000000ab -00872a20 EXTERNAL:000000b1 +00872a20 EXTERNAL:0000007f +00872a20 EXTERNAL:000000b7 00872a20 EXTERNAL:000000af +00872a20 EXTERNAL:00000083 +00872a20 EXTERNAL:000000a8 +00872a20 EXTERNAL:000000b1 +00872a20 EXTERNAL:0000009f +00872a20 EXTERNAL:000000a0 00872af1 008727d0 00872af1 0085c080 00872b10 EXTERNAL:0000007e -00872b10 EXTERNAL:000000b7 -00872b10 EXTERNAL:0000009f -00872b10 EXTERNAL:0000007f -00872b10 EXTERNAL:000000a0 -00872b10 EXTERNAL:000000a8 -00872b10 EXTERNAL:00000083 00872b10 EXTERNAL:000000ab -00872b10 EXTERNAL:000000b1 +00872b10 EXTERNAL:0000007f +00872b10 EXTERNAL:000000b7 00872b10 EXTERNAL:000000af +00872b10 EXTERNAL:00000083 +00872b10 EXTERNAL:000000a8 +00872b10 EXTERNAL:000000b1 +00872b10 EXTERNAL:0000009f +00872b10 EXTERNAL:000000a0 00872c43 008727d0 00872c43 0085c080 00872c60 EXTERNAL:0000007e 00872c60 EXTERNAL:000000b4 -00872c60 EXTERNAL:000000b7 -00872c60 EXTERNAL:0000009f -00872c60 EXTERNAL:0000007f -00872c60 EXTERNAL:000000a0 -00872c60 EXTERNAL:000000a8 -00872c60 EXTERNAL:00000083 00872c60 EXTERNAL:000000ab -00872c60 EXTERNAL:000000b1 +00872c60 EXTERNAL:0000007f +00872c60 EXTERNAL:000000b7 00872c60 EXTERNAL:000000af +00872c60 EXTERNAL:00000083 +00872c60 EXTERNAL:000000a8 +00872c60 EXTERNAL:000000b1 +00872c60 EXTERNAL:0000009f +00872c60 EXTERNAL:000000a0 00872d80 008727d0 00872d80 0085c080 00872da0 EXTERNAL:0000007e -00872da0 EXTERNAL:000000b7 -00872da0 EXTERNAL:0000009f -00872da0 EXTERNAL:0000007f -00872da0 EXTERNAL:000000a0 -00872da0 EXTERNAL:000000a8 -00872da0 EXTERNAL:00000083 00872da0 EXTERNAL:000000ab -00872da0 EXTERNAL:000000b1 +00872da0 EXTERNAL:0000007f +00872da0 EXTERNAL:000000b7 00872da0 EXTERNAL:000000af +00872da0 EXTERNAL:00000083 +00872da0 EXTERNAL:000000a8 +00872da0 EXTERNAL:000000b1 +00872da0 EXTERNAL:0000009f +00872da0 EXTERNAL:000000a0 00872e71 008727d0 00872e71 0085c080 00872e90 EXTERNAL:0000007e -00872e90 EXTERNAL:000000b7 -00872e90 EXTERNAL:0000009f -00872e90 EXTERNAL:0000007f -00872e90 EXTERNAL:000000a0 -00872e90 EXTERNAL:000000a8 -00872e90 EXTERNAL:00000083 00872e90 EXTERNAL:000000ab -00872e90 EXTERNAL:000000b1 +00872e90 EXTERNAL:0000007f +00872e90 EXTERNAL:000000b7 00872e90 EXTERNAL:000000af +00872e90 EXTERNAL:00000083 +00872e90 EXTERNAL:000000a8 +00872e90 EXTERNAL:000000b1 +00872e90 EXTERNAL:0000009f +00872e90 EXTERNAL:000000a0 00872fc3 008727d0 00872fc3 0085c080 00872ff0 EXTERNAL:0000007e -00872ff0 EXTERNAL:000000b7 -00872ff0 EXTERNAL:0000009f -00872ff0 EXTERNAL:0000007f -00872ff0 EXTERNAL:000000a0 -00872ff0 EXTERNAL:000000a8 -00872ff0 EXTERNAL:00000083 00872ff0 EXTERNAL:000000ab -00872ff0 EXTERNAL:000000b1 +00872ff0 EXTERNAL:0000007f +00872ff0 EXTERNAL:000000b7 00872ff0 EXTERNAL:000000af +00872ff0 EXTERNAL:00000083 +00872ff0 EXTERNAL:000000a8 +00872ff0 EXTERNAL:000000b1 +00872ff0 EXTERNAL:0000009f +00872ff0 EXTERNAL:000000a0 008730c1 008727d0 008730c1 0085c080 008730e0 EXTERNAL:0000007e -008730e0 EXTERNAL:000000b7 -008730e0 EXTERNAL:0000009f -008730e0 EXTERNAL:0000007f -008730e0 EXTERNAL:000000a0 -008730e0 EXTERNAL:000000a8 -008730e0 EXTERNAL:00000083 008730e0 EXTERNAL:000000ab -008730e0 EXTERNAL:000000b1 +008730e0 EXTERNAL:0000007f +008730e0 EXTERNAL:000000b7 008730e0 EXTERNAL:000000af +008730e0 EXTERNAL:00000083 +008730e0 EXTERNAL:000000a8 +008730e0 EXTERNAL:000000b1 +008730e0 EXTERNAL:0000009f +008730e0 EXTERNAL:000000a0 00873213 008727d0 00873213 0085c080 00873230 EXTERNAL:0000007e -00873230 EXTERNAL:000000b7 -00873230 EXTERNAL:0000009f -00873230 EXTERNAL:0000007f -00873230 EXTERNAL:000000a0 -00873230 EXTERNAL:000000a8 -00873230 EXTERNAL:00000083 00873230 EXTERNAL:000000ab -00873230 EXTERNAL:000000b1 +00873230 EXTERNAL:0000007f +00873230 EXTERNAL:000000b7 00873230 EXTERNAL:000000af +00873230 EXTERNAL:00000083 +00873230 EXTERNAL:000000a8 +00873230 EXTERNAL:000000b1 +00873230 EXTERNAL:0000009f +00873230 EXTERNAL:000000a0 00873301 008727d0 00873301 0085c080 00873320 EXTERNAL:0000007e -00873320 EXTERNAL:000000b7 -00873320 EXTERNAL:0000009f -00873320 EXTERNAL:0000007f -00873320 EXTERNAL:000000a0 -00873320 EXTERNAL:000000a8 -00873320 EXTERNAL:00000083 00873320 EXTERNAL:000000ab -00873320 EXTERNAL:000000b1 +00873320 EXTERNAL:0000007f +00873320 EXTERNAL:000000b7 00873320 EXTERNAL:000000af +00873320 EXTERNAL:00000083 +00873320 EXTERNAL:000000a8 +00873320 EXTERNAL:000000b1 +00873320 EXTERNAL:0000009f +00873320 EXTERNAL:000000a0 00873453 008727d0 00873453 0085c080 00873470 EXTERNAL:0000007e -00873470 EXTERNAL:000000b7 -00873470 EXTERNAL:0000009f -00873470 EXTERNAL:0000007f -00873470 EXTERNAL:000000a0 -00873470 EXTERNAL:000000a8 -00873470 EXTERNAL:00000083 00873470 EXTERNAL:000000ab -00873470 EXTERNAL:000000b1 +00873470 EXTERNAL:0000007f +00873470 EXTERNAL:000000b7 00873470 EXTERNAL:000000af +00873470 EXTERNAL:00000083 +00873470 EXTERNAL:000000a8 +00873470 EXTERNAL:000000b1 +00873470 EXTERNAL:0000009f +00873470 EXTERNAL:000000a0 00873541 008727d0 00873541 0085c080 00873560 EXTERNAL:0000007e -00873560 EXTERNAL:000000b7 -00873560 EXTERNAL:0000009f -00873560 EXTERNAL:0000007f -00873560 EXTERNAL:000000a0 -00873560 EXTERNAL:000000a8 -00873560 EXTERNAL:00000083 00873560 EXTERNAL:000000ab -00873560 EXTERNAL:000000b1 +00873560 EXTERNAL:0000007f +00873560 EXTERNAL:000000b7 00873560 EXTERNAL:000000af +00873560 EXTERNAL:00000083 +00873560 EXTERNAL:000000a8 +00873560 EXTERNAL:000000b1 +00873560 EXTERNAL:0000009f +00873560 EXTERNAL:000000a0 00873631 008727d0 00873631 0085c080 00873650 EXTERNAL:0000007e -00873650 EXTERNAL:000000b7 -00873650 EXTERNAL:0000009f -00873650 EXTERNAL:0000007f -00873650 EXTERNAL:000000a0 -00873650 EXTERNAL:000000a8 -00873650 EXTERNAL:00000083 00873650 EXTERNAL:000000ab -00873650 EXTERNAL:000000b1 +00873650 EXTERNAL:0000007f +00873650 EXTERNAL:000000b7 00873650 EXTERNAL:000000af +00873650 EXTERNAL:00000083 +00873650 EXTERNAL:000000a8 +00873650 EXTERNAL:000000b1 +00873650 EXTERNAL:0000009f +00873650 EXTERNAL:000000a0 00873721 008727d0 00873721 0085c080 00873740 EXTERNAL:0000007e -00873740 EXTERNAL:000000b7 -00873740 EXTERNAL:0000009f -00873740 EXTERNAL:0000007f -00873740 EXTERNAL:000000a0 -00873740 EXTERNAL:000000a8 -00873740 EXTERNAL:00000083 00873740 EXTERNAL:000000ab -00873740 EXTERNAL:000000b1 +00873740 EXTERNAL:0000007f +00873740 EXTERNAL:000000b7 00873740 EXTERNAL:000000af +00873740 EXTERNAL:00000083 +00873740 EXTERNAL:000000a8 +00873740 EXTERNAL:000000b1 +00873740 EXTERNAL:0000009f +00873740 EXTERNAL:000000a0 00873873 008727d0 00873873 0085c080 00873890 EXTERNAL:0000007e -00873890 EXTERNAL:000000b7 -00873890 EXTERNAL:0000009f -00873890 EXTERNAL:0000007f -00873890 EXTERNAL:000000a0 -00873890 EXTERNAL:000000a8 -00873890 EXTERNAL:00000083 00873890 EXTERNAL:000000ab -00873890 EXTERNAL:000000b1 +00873890 EXTERNAL:0000007f +00873890 EXTERNAL:000000b7 00873890 EXTERNAL:000000af +00873890 EXTERNAL:00000083 +00873890 EXTERNAL:000000a8 +00873890 EXTERNAL:000000b1 +00873890 EXTERNAL:0000009f +00873890 EXTERNAL:000000a0 00873961 008727d0 00873961 0085c080 00873980 EXTERNAL:0000007e 00873980 EXTERNAL:000000b4 -00873980 EXTERNAL:000000b7 -00873980 EXTERNAL:0000009f -00873980 EXTERNAL:0000007f -00873980 EXTERNAL:000000a0 -00873980 EXTERNAL:000000a8 -00873980 EXTERNAL:00000083 00873980 EXTERNAL:000000ab -00873980 EXTERNAL:000000b1 +00873980 EXTERNAL:0000007f +00873980 EXTERNAL:000000b7 00873980 EXTERNAL:000000af +00873980 EXTERNAL:00000083 +00873980 EXTERNAL:000000a8 +00873980 EXTERNAL:000000b1 +00873980 EXTERNAL:0000009f +00873980 EXTERNAL:000000a0 00873aa0 008727d0 00873aa0 0085c080 00873ac0 EXTERNAL:0000007e -00873ac0 EXTERNAL:000000b7 -00873ac0 EXTERNAL:0000009f -00873ac0 EXTERNAL:0000007f -00873ac0 EXTERNAL:000000a0 -00873ac0 EXTERNAL:000000a8 -00873ac0 EXTERNAL:00000083 00873ac0 EXTERNAL:000000ab -00873ac0 EXTERNAL:000000b1 +00873ac0 EXTERNAL:0000007f +00873ac0 EXTERNAL:000000b7 00873ac0 EXTERNAL:000000af +00873ac0 EXTERNAL:00000083 +00873ac0 EXTERNAL:000000a8 +00873ac0 EXTERNAL:000000b1 +00873ac0 EXTERNAL:0000009f +00873ac0 EXTERNAL:000000a0 00873b91 008727d0 00873b91 0085c080 00873bb0 EXTERNAL:0000007e -00873bb0 EXTERNAL:000000b7 -00873bb0 EXTERNAL:0000009f -00873bb0 EXTERNAL:0000007f -00873bb0 EXTERNAL:000000a0 -00873bb0 EXTERNAL:000000a8 -00873bb0 EXTERNAL:00000083 00873bb0 EXTERNAL:000000ab -00873bb0 EXTERNAL:000000b1 +00873bb0 EXTERNAL:0000007f +00873bb0 EXTERNAL:000000b7 00873bb0 EXTERNAL:000000af +00873bb0 EXTERNAL:00000083 +00873bb0 EXTERNAL:000000a8 +00873bb0 EXTERNAL:000000b1 +00873bb0 EXTERNAL:0000009f +00873bb0 EXTERNAL:000000a0 00873ce3 008727d0 00873ce3 0085c080 00873d00 EXTERNAL:0000007e 00873d00 EXTERNAL:000000b4 -00873d00 EXTERNAL:000000b7 -00873d00 EXTERNAL:0000009f -00873d00 EXTERNAL:0000007f -00873d00 EXTERNAL:000000a0 -00873d00 EXTERNAL:000000a8 -00873d00 EXTERNAL:00000083 00873d00 EXTERNAL:000000ab -00873d00 EXTERNAL:000000b1 +00873d00 EXTERNAL:0000007f +00873d00 EXTERNAL:000000b7 00873d00 EXTERNAL:000000af +00873d00 EXTERNAL:00000083 +00873d00 EXTERNAL:000000a8 +00873d00 EXTERNAL:000000b1 +00873d00 EXTERNAL:0000009f +00873d00 EXTERNAL:000000a0 00873e20 008727d0 00873e20 0085c080 00873e40 EXTERNAL:0000007e -00873e40 EXTERNAL:000000b7 -00873e40 EXTERNAL:0000009f -00873e40 EXTERNAL:0000007f -00873e40 EXTERNAL:000000a0 -00873e40 EXTERNAL:000000a8 -00873e40 EXTERNAL:00000083 00873e40 EXTERNAL:000000ab -00873e40 0085bff0 -00873e40 EXTERNAL:000000b1 +00873e40 EXTERNAL:0000007f +00873e40 EXTERNAL:000000b7 00873e40 EXTERNAL:000000af +00873e40 0085bff0 +00873e40 EXTERNAL:00000083 +00873e40 EXTERNAL:000000a8 +00873e40 EXTERNAL:000000b1 +00873e40 EXTERNAL:0000009f +00873e40 EXTERNAL:000000a0 00873f26 008727d0 00873f26 0085c080 00873f40 EXTERNAL:000000b6 -00873f40 EXTERNAL:000000ac 00873f40 EXTERNAL:0000007f +00873f40 EXTERNAL:000000ae 00873f40 EXTERNAL:00000083 00873f40 EXTERNAL:000000bc -00873f40 EXTERNAL:000000ae +00873f40 EXTERNAL:000000ac 00873fc0 EXTERNAL:0000007e -00873fc0 EXTERNAL:000000b7 -00873fc0 EXTERNAL:0000009f -00873fc0 EXTERNAL:0000007f -00873fc0 EXTERNAL:000000a0 -00873fc0 EXTERNAL:000000a8 -00873fc0 EXTERNAL:00000083 -00873fc0 EXTERNAL:000000ab 00873fc0 0085bfd0 -00873fc0 EXTERNAL:000000b1 +00873fc0 EXTERNAL:000000ab +00873fc0 EXTERNAL:0000007f +00873fc0 EXTERNAL:000000b7 00873fc0 EXTERNAL:000000af +00873fc0 EXTERNAL:00000083 +00873fc0 EXTERNAL:000000a8 +00873fc0 EXTERNAL:000000b1 +00873fc0 EXTERNAL:0000009f +00873fc0 EXTERNAL:000000a0 00874103 008727d0 00874103 0085c080 00874120 EXTERNAL:0000007e -00874120 EXTERNAL:000000b7 -00874120 EXTERNAL:0000009f -00874120 EXTERNAL:0000007f -00874120 EXTERNAL:000000a0 -00874120 EXTERNAL:000000a8 -00874120 EXTERNAL:00000083 00874120 EXTERNAL:000000ab -00874120 EXTERNAL:000000b1 +00874120 EXTERNAL:0000007f +00874120 EXTERNAL:000000b7 00874120 EXTERNAL:000000af +00874120 EXTERNAL:00000083 +00874120 EXTERNAL:000000a8 +00874120 EXTERNAL:000000b1 +00874120 EXTERNAL:0000009f +00874120 EXTERNAL:000000a0 008741f1 008727d0 008741f1 0085c080 00874210 EXTERNAL:0000007e -00874210 EXTERNAL:000000b7 -00874210 EXTERNAL:0000009f -00874210 EXTERNAL:0000007f -00874210 EXTERNAL:000000a0 -00874210 EXTERNAL:000000a8 -00874210 EXTERNAL:00000083 00874210 EXTERNAL:000000ab -00874210 0085bff0 -00874210 EXTERNAL:000000b1 +00874210 EXTERNAL:0000007f +00874210 EXTERNAL:000000b7 00874210 EXTERNAL:000000af +00874210 0085bff0 +00874210 EXTERNAL:00000083 +00874210 EXTERNAL:000000a8 +00874210 EXTERNAL:000000b1 +00874210 EXTERNAL:0000009f +00874210 EXTERNAL:000000a0 008742f7 008727d0 008742f7 0085c080 00874310 EXTERNAL:0000007e -00874310 EXTERNAL:000000b7 -00874310 EXTERNAL:0000009f -00874310 EXTERNAL:0000007f -00874310 EXTERNAL:000000a0 -00874310 EXTERNAL:000000a8 -00874310 EXTERNAL:00000083 -00874310 EXTERNAL:000000ab 00874310 0085bfd0 -00874310 EXTERNAL:000000b1 +00874310 EXTERNAL:000000ab +00874310 EXTERNAL:0000007f +00874310 EXTERNAL:000000b7 00874310 EXTERNAL:000000af +00874310 EXTERNAL:00000083 +00874310 EXTERNAL:000000a8 +00874310 EXTERNAL:000000b1 +00874310 EXTERNAL:0000009f +00874310 EXTERNAL:000000a0 008743eb 008727d0 008743eb 0085c080 00874400 EXTERNAL:0000007e -00874400 EXTERNAL:000000b7 -00874400 EXTERNAL:0000009f -00874400 EXTERNAL:0000007f -00874400 EXTERNAL:000000a0 -00874400 EXTERNAL:000000a8 -00874400 EXTERNAL:00000083 00874400 EXTERNAL:000000ab -00874400 EXTERNAL:000000b1 +00874400 EXTERNAL:0000007f +00874400 EXTERNAL:000000b7 00874400 EXTERNAL:000000af +00874400 EXTERNAL:00000083 +00874400 EXTERNAL:000000a8 +00874400 EXTERNAL:000000b1 +00874400 EXTERNAL:0000009f +00874400 EXTERNAL:000000a0 00874533 008727d0 00874533 0085c080 00874550 EXTERNAL:000000b5 00874550 EXTERNAL:0000007e -00874550 EXTERNAL:000000b7 -00874550 EXTERNAL:0000009f -00874550 EXTERNAL:0000007f -00874550 EXTERNAL:000000a0 -00874550 EXTERNAL:000000a8 -00874550 EXTERNAL:00000083 -00874550 EXTERNAL:000000ab 00874550 0085bfd0 -00874550 EXTERNAL:000000b1 +00874550 EXTERNAL:000000ab +00874550 EXTERNAL:0000007f +00874550 EXTERNAL:000000b7 00874550 EXTERNAL:000000af +00874550 EXTERNAL:00000083 +00874550 EXTERNAL:000000a8 +00874550 EXTERNAL:000000b1 +00874550 EXTERNAL:0000009f +00874550 EXTERNAL:000000a0 0087469a 008727d0 0087469a 0085c080 -008746b0 006a80f0 008746b0 EXTERNAL:0000007e +008746b0 0085bfd0 +008746b0 006a80f0 +008746b0 EXTERNAL:000000ab +008746b0 EXTERNAL:000000af +008746b0 0085bff0 +008746b0 EXTERNAL:00000083 +008746b0 EXTERNAL:000000a8 +008746b0 EXTERNAL:000000b1 008746b0 EXTERNAL:0000009f 008746b0 EXTERNAL:000000a0 -008746b0 EXTERNAL:000000a8 -008746b0 EXTERNAL:00000083 -008746b0 EXTERNAL:000000ab -008746b0 0085bfd0 -008746b0 0085bff0 -008746b0 EXTERNAL:000000b1 -008746b0 EXTERNAL:000000af 00874846 008727d0 00874846 0085c080 00874860 EXTERNAL:0000007e -00874860 EXTERNAL:000000b7 -00874860 EXTERNAL:0000007f -00874860 EXTERNAL:00000083 -00874860 EXTERNAL:000000ab 00874860 0085bfd0 +00874860 EXTERNAL:000000ab +00874860 EXTERNAL:0000007f +00874860 EXTERNAL:000000b7 00874860 EXTERNAL:000000af +00874860 EXTERNAL:00000083 008748f6 008727d0 008748f6 0085c080 00874910 EXTERNAL:0000007e -00874910 EXTERNAL:000000b7 -00874910 EXTERNAL:0000009f -00874910 EXTERNAL:0000007f -00874910 EXTERNAL:000000a0 -00874910 EXTERNAL:000000a8 -00874910 EXTERNAL:00000083 00874910 EXTERNAL:000000ab -00874910 0085bff0 -00874910 EXTERNAL:000000b1 +00874910 EXTERNAL:0000007f +00874910 EXTERNAL:000000b7 00874910 EXTERNAL:000000af +00874910 0085bff0 +00874910 EXTERNAL:00000083 +00874910 EXTERNAL:000000a8 +00874910 EXTERNAL:000000b1 +00874910 EXTERNAL:0000009f +00874910 EXTERNAL:000000a0 008749f7 008727d0 008749f7 0085c080 00874a10 EXTERNAL:0000007e 00874a10 EXTERNAL:000000b4 -00874a10 EXTERNAL:000000b7 -00874a10 EXTERNAL:0000007f -00874a10 EXTERNAL:00000083 00874a10 EXTERNAL:000000ab +00874a10 EXTERNAL:0000007f +00874a10 EXTERNAL:000000b7 00874a10 EXTERNAL:000000af +00874a10 EXTERNAL:00000083 00874aa8 008727d0 00874aa8 0085c080 00874ac0 EXTERNAL:0000007e 00874ac0 EXTERNAL:000000b4 -00874ac0 EXTERNAL:000000b7 -00874ac0 EXTERNAL:0000009f -00874ac0 EXTERNAL:0000007f -00874ac0 EXTERNAL:000000a0 -00874ac0 EXTERNAL:000000a8 -00874ac0 EXTERNAL:00000083 00874ac0 EXTERNAL:000000ab -00874ac0 EXTERNAL:000000b1 +00874ac0 EXTERNAL:0000007f +00874ac0 EXTERNAL:000000b7 00874ac0 EXTERNAL:000000af +00874ac0 EXTERNAL:00000083 +00874ac0 EXTERNAL:000000a8 +00874ac0 EXTERNAL:000000b1 +00874ac0 EXTERNAL:0000009f +00874ac0 EXTERNAL:000000a0 00874bbb 008727d0 00874bbb 0085c080 -00874bd0 EXTERNAL:00000220 -00874bd0 006a80f0 00874bd0 EXTERNAL:0000007e +00874bd0 0085bfd0 +00874bd0 006a80f0 +00874bd0 EXTERNAL:000000ab +00874bd0 EXTERNAL:000000af 00874bd0 0040cf50 -00874bd0 00aef15c 00874bd0 EXTERNAL:000000b0 00874bd0 EXTERNAL:00000083 -00874bd0 EXTERNAL:000000ab -00874bd0 0085bfd0 -00874bd0 EXTERNAL:000000af +00874bd0 EXTERNAL:00000220 +00874bd0 00aef15c 00874d0a 008727d0 00874d0a 0085c080 00874d20 EXTERNAL:0000007e -00874d20 EXTERNAL:000000b7 -00874d20 EXTERNAL:0000007f -00874d20 EXTERNAL:00000083 00874d20 EXTERNAL:000000ab -00874d20 0085bff0 +00874d20 EXTERNAL:0000007f +00874d20 EXTERNAL:000000b7 00874d20 EXTERNAL:000000af +00874d20 0085bff0 +00874d20 EXTERNAL:00000083 00874db6 008727d0 00874db6 0085c080 00874dd0 EXTERNAL:0000007e 00874dd0 EXTERNAL:000000b4 -00874dd0 EXTERNAL:000000b7 -00874dd0 EXTERNAL:0000007f -00874dd0 EXTERNAL:00000083 00874dd0 EXTERNAL:000000ab -00874dd0 0085bff0 +00874dd0 EXTERNAL:0000007f +00874dd0 EXTERNAL:000000b7 00874dd0 EXTERNAL:000000af +00874dd0 0085bff0 +00874dd0 EXTERNAL:00000083 00874e7e 008727d0 00874e7e 0085c080 00874e90 EXTERNAL:0000007e 00874e90 EXTERNAL:000000b4 -00874e90 EXTERNAL:000000b7 -00874e90 EXTERNAL:0000007f -00874e90 EXTERNAL:00000083 00874e90 EXTERNAL:000000ab -00874e90 0085bff0 +00874e90 EXTERNAL:0000007f +00874e90 EXTERNAL:000000b7 00874e90 EXTERNAL:000000af +00874e90 0085bff0 +00874e90 EXTERNAL:00000083 00874f4a 008727d0 00874f4a 0085c080 00874f60 008727d0 00874f60 EXTERNAL:0000007e -00874f60 EXTERNAL:000000b7 -00874f60 EXTERNAL:0000009f -00874f60 EXTERNAL:0000007f -00874f60 EXTERNAL:000000a0 -00874f60 EXTERNAL:000000a8 -00874f60 EXTERNAL:00000083 00874f60 EXTERNAL:000000ab -00874f60 0085c080 -00874f60 EXTERNAL:000000b1 +00874f60 EXTERNAL:0000007f +00874f60 EXTERNAL:000000b7 00874f60 EXTERNAL:000000af +00874f60 0085c080 +00874f60 EXTERNAL:00000083 +00874f60 EXTERNAL:000000a8 +00874f60 EXTERNAL:000000b1 +00874f60 EXTERNAL:0000009f +00874f60 EXTERNAL:000000a0 00875050 EXTERNAL:0000007e -00875050 EXTERNAL:000000b7 -00875050 EXTERNAL:0000007f -00875050 EXTERNAL:00000083 00875050 EXTERNAL:000000ab -00875050 0085bff0 +00875050 EXTERNAL:0000007f +00875050 EXTERNAL:000000b7 00875050 EXTERNAL:000000af +00875050 0085bff0 +00875050 EXTERNAL:00000083 00875116 008727d0 00875116 0085c080 +00875130 EXTERNAL:000000bf 00875130 EXTERNAL:000000b8 00875130 EXTERNAL:000000bb -00875130 EXTERNAL:000000a0 +00875130 EXTERNAL:000000ab 00875130 EXTERNAL:000000bd 00875130 EXTERNAL:00000083 -00875130 EXTERNAL:000000ab -00875130 EXTERNAL:000000bc 00875130 EXTERNAL:000000be -00875130 EXTERNAL:000000bf +00875130 EXTERNAL:000000a0 +00875130 EXTERNAL:000000bc +00875230 EXTERNAL:000000bf 00875230 EXTERNAL:000000b8 00875230 EXTERNAL:000000bb -00875230 EXTERNAL:000000a0 +00875230 EXTERNAL:000000ab 00875230 EXTERNAL:000000bd 00875230 EXTERNAL:00000083 -00875230 EXTERNAL:000000ab -00875230 EXTERNAL:000000bc 00875230 EXTERNAL:000000be -00875230 EXTERNAL:000000bf +00875230 EXTERNAL:000000a0 +00875230 EXTERNAL:000000bc +008753a0 EXTERNAL:000000bf 008753a0 EXTERNAL:000000b8 008753a0 EXTERNAL:000000bb -008753a0 EXTERNAL:000000a0 +008753a0 EXTERNAL:000000ab 008753a0 EXTERNAL:000000bd 008753a0 EXTERNAL:00000083 -008753a0 EXTERNAL:000000ab -008753a0 EXTERNAL:000000bc 008753a0 EXTERNAL:000000be -008753a0 EXTERNAL:000000bf +008753a0 EXTERNAL:000000a0 +008753a0 EXTERNAL:000000bc +00875510 EXTERNAL:000000bf 00875510 EXTERNAL:000000b8 00875510 EXTERNAL:000000bb -00875510 EXTERNAL:000000a0 +00875510 EXTERNAL:000000ab 00875510 EXTERNAL:000000bd 00875510 EXTERNAL:00000083 -00875510 EXTERNAL:000000ab -00875510 EXTERNAL:000000bc 00875510 EXTERNAL:000000be -00875510 EXTERNAL:000000bf +00875510 EXTERNAL:000000a0 +00875510 EXTERNAL:000000bc +00875680 EXTERNAL:000000bf 00875680 EXTERNAL:000000b8 00875680 EXTERNAL:000000bb -00875680 EXTERNAL:000000a0 +00875680 EXTERNAL:000000ab 00875680 EXTERNAL:000000bd 00875680 EXTERNAL:00000083 -00875680 EXTERNAL:000000ab -00875680 EXTERNAL:000000bc 00875680 EXTERNAL:000000be -00875680 EXTERNAL:000000bf +00875680 EXTERNAL:000000a0 +00875680 EXTERNAL:000000bc +008757f0 EXTERNAL:000000bf 008757f0 EXTERNAL:000000b8 008757f0 EXTERNAL:000000bb -008757f0 EXTERNAL:000000a0 +008757f0 EXTERNAL:000000ab 008757f0 EXTERNAL:000000bd 008757f0 EXTERNAL:00000083 -008757f0 EXTERNAL:000000ab -008757f0 EXTERNAL:000000bc 008757f0 EXTERNAL:000000be -008757f0 EXTERNAL:000000bf +008757f0 EXTERNAL:000000a0 +008757f0 EXTERNAL:000000bc +00875960 EXTERNAL:000000bf 00875960 EXTERNAL:000000b8 00875960 EXTERNAL:000000bb -00875960 EXTERNAL:000000a0 +00875960 EXTERNAL:000000ab 00875960 EXTERNAL:000000bd 00875960 EXTERNAL:00000083 -00875960 EXTERNAL:000000ab -00875960 EXTERNAL:000000bc 00875960 EXTERNAL:000000be -00875960 EXTERNAL:000000bf +00875960 EXTERNAL:000000a0 +00875960 EXTERNAL:000000bc +00875ae0 EXTERNAL:000000bf 00875ae0 EXTERNAL:000000b8 00875ae0 EXTERNAL:000000bb -00875ae0 EXTERNAL:000000a0 +00875ae0 EXTERNAL:000000ab 00875ae0 EXTERNAL:000000bd 00875ae0 EXTERNAL:00000083 -00875ae0 EXTERNAL:000000ab -00875ae0 EXTERNAL:000000bc 00875ae0 EXTERNAL:000000be -00875ae0 EXTERNAL:000000bf +00875ae0 EXTERNAL:000000a0 +00875ae0 EXTERNAL:000000bc +00875c50 EXTERNAL:000000bf 00875c50 EXTERNAL:000000b8 00875c50 EXTERNAL:000000bb -00875c50 EXTERNAL:000000a0 +00875c50 EXTERNAL:000000ab 00875c50 EXTERNAL:000000bd 00875c50 EXTERNAL:00000083 -00875c50 EXTERNAL:000000ab -00875c50 EXTERNAL:000000bc 00875c50 EXTERNAL:000000be -00875c50 EXTERNAL:000000bf +00875c50 EXTERNAL:000000a0 +00875c50 EXTERNAL:000000bc +00875dd0 EXTERNAL:000000bf 00875dd0 EXTERNAL:000000b8 00875dd0 EXTERNAL:000000bb -00875dd0 EXTERNAL:000000a0 +00875dd0 EXTERNAL:000000ab 00875dd0 EXTERNAL:000000bd 00875dd0 EXTERNAL:00000083 -00875dd0 EXTERNAL:000000ab -00875dd0 EXTERNAL:000000bc 00875dd0 EXTERNAL:000000be -00875dd0 EXTERNAL:000000bf +00875dd0 EXTERNAL:000000a0 +00875dd0 EXTERNAL:000000bc +00875f40 EXTERNAL:000000bf 00875f40 EXTERNAL:000000b8 00875f40 EXTERNAL:000000bb -00875f40 EXTERNAL:000000a0 +00875f40 EXTERNAL:000000ab 00875f40 EXTERNAL:000000bd 00875f40 EXTERNAL:00000083 -00875f40 EXTERNAL:000000ab -00875f40 EXTERNAL:000000bc 00875f40 EXTERNAL:000000be -00875f40 EXTERNAL:000000bf +00875f40 EXTERNAL:000000a0 +00875f40 EXTERNAL:000000bc +008760c0 EXTERNAL:000000bf 008760c0 EXTERNAL:000000b8 008760c0 EXTERNAL:000000bb -008760c0 EXTERNAL:000000a0 +008760c0 EXTERNAL:000000ab 008760c0 EXTERNAL:000000bd 008760c0 EXTERNAL:00000083 -008760c0 EXTERNAL:000000ab -008760c0 EXTERNAL:000000bc 008760c0 EXTERNAL:000000be -008760c0 EXTERNAL:000000bf +008760c0 EXTERNAL:000000a0 +008760c0 EXTERNAL:000000bc +00876240 EXTERNAL:000000bf 00876240 EXTERNAL:000000b8 00876240 EXTERNAL:000000bb -00876240 EXTERNAL:000000a0 +00876240 EXTERNAL:000000ab 00876240 EXTERNAL:000000bd 00876240 EXTERNAL:00000083 -00876240 EXTERNAL:000000ab -00876240 EXTERNAL:000000bc 00876240 EXTERNAL:000000be -00876240 EXTERNAL:000000bf +00876240 EXTERNAL:000000a0 +00876240 EXTERNAL:000000bc +008763b0 EXTERNAL:000000bf 008763b0 EXTERNAL:000000b8 008763b0 EXTERNAL:000000bb -008763b0 EXTERNAL:000000a0 +008763b0 EXTERNAL:000000ab 008763b0 EXTERNAL:000000bd 008763b0 EXTERNAL:00000083 -008763b0 EXTERNAL:000000ab -008763b0 EXTERNAL:000000bc 008763b0 EXTERNAL:000000be -008763b0 EXTERNAL:000000bf +008763b0 EXTERNAL:000000a0 +008763b0 EXTERNAL:000000bc 00876530 008a6d90 00876550 EXTERNAL:000000b8 -00876550 EXTERNAL:000000bb -00876550 EXTERNAL:000000bc -00876550 EXTERNAL:000000be 00876550 EXTERNAL:000000bf +00876550 EXTERNAL:000000bb +00876550 EXTERNAL:000000be +00876550 EXTERNAL:000000bc 008765a0 EXTERNAL:000000b8 -008765a0 EXTERNAL:000000bb -008765a0 EXTERNAL:000000a0 -008765a0 EXTERNAL:000000ab -008765a0 EXTERNAL:000000bc -008765a0 EXTERNAL:000000be 008765a0 EXTERNAL:000000bf +008765a0 EXTERNAL:000000bb +008765a0 EXTERNAL:000000ab +008765a0 EXTERNAL:000000be +008765a0 EXTERNAL:000000a0 +008765a0 EXTERNAL:000000bc 00876650 EXTERNAL:000000b8 +00876650 EXTERNAL:000000bf 00876650 EXTERNAL:000000bb +00876650 EXTERNAL:000000be 00876650 EXTERNAL:000000a0 00876650 EXTERNAL:000000bc -00876650 EXTERNAL:000000be -00876650 EXTERNAL:000000bf 008766b0 EXTERNAL:000000b8 +008766b0 EXTERNAL:000000bf 008766b0 EXTERNAL:000000bb +008766b0 EXTERNAL:000000be 008766b0 EXTERNAL:000000a0 008766b0 EXTERNAL:000000bc -008766b0 EXTERNAL:000000be -008766b0 EXTERNAL:000000bf 00876710 EXTERNAL:000000b8 +00876710 EXTERNAL:000000bf 00876710 EXTERNAL:000000bb +00876710 EXTERNAL:000000be 00876710 EXTERNAL:000000a0 00876710 EXTERNAL:000000bc -00876710 EXTERNAL:000000be -00876710 EXTERNAL:000000bf 00876770 EXTERNAL:000000b8 +00876770 EXTERNAL:000000bf 00876770 EXTERNAL:000000bb +00876770 EXTERNAL:000000be 00876770 EXTERNAL:000000a0 00876770 EXTERNAL:000000bc -00876770 EXTERNAL:000000be -00876770 EXTERNAL:000000bf 008767d0 008a6b80 008767f0 EXTERNAL:000000b8 -008767f0 EXTERNAL:000000bb -008767f0 EXTERNAL:000000bc -008767f0 EXTERNAL:000000be 008767f0 EXTERNAL:000000bf +008767f0 EXTERNAL:000000bb +008767f0 EXTERNAL:000000be +008767f0 EXTERNAL:000000bc +00876840 EXTERNAL:000000bf 00876840 EXTERNAL:000000b8 00876840 EXTERNAL:000000bb -00876840 EXTERNAL:000000a0 +00876840 EXTERNAL:000000ab 00876840 EXTERNAL:000000bd 00876840 EXTERNAL:00000083 -00876840 EXTERNAL:000000ab -00876840 EXTERNAL:000000bc 00876840 EXTERNAL:000000be -00876840 EXTERNAL:000000bf +00876840 EXTERNAL:000000a0 +00876840 EXTERNAL:000000bc +008769c0 EXTERNAL:000000bf 008769c0 EXTERNAL:000000b8 008769c0 EXTERNAL:000000bb -008769c0 EXTERNAL:000000a0 +008769c0 EXTERNAL:000000ab 008769c0 EXTERNAL:000000bd 008769c0 EXTERNAL:00000083 -008769c0 EXTERNAL:000000ab -008769c0 EXTERNAL:000000bc 008769c0 EXTERNAL:000000be -008769c0 EXTERNAL:000000bf +008769c0 EXTERNAL:000000a0 +008769c0 EXTERNAL:000000bc +00876b30 EXTERNAL:000000bf 00876b30 EXTERNAL:000000b8 00876b30 EXTERNAL:000000bb -00876b30 EXTERNAL:000000a0 +00876b30 EXTERNAL:000000ab 00876b30 EXTERNAL:000000bd 00876b30 EXTERNAL:00000083 -00876b30 EXTERNAL:000000ab -00876b30 EXTERNAL:000000bc 00876b30 EXTERNAL:000000be -00876b30 EXTERNAL:000000bf +00876b30 EXTERNAL:000000a0 +00876b30 EXTERNAL:000000bc +00876cb0 EXTERNAL:000000bf 00876cb0 EXTERNAL:000000b8 00876cb0 EXTERNAL:000000bb -00876cb0 EXTERNAL:000000a0 +00876cb0 EXTERNAL:000000ab 00876cb0 EXTERNAL:000000bd 00876cb0 EXTERNAL:00000083 -00876cb0 EXTERNAL:000000ab -00876cb0 EXTERNAL:000000bc 00876cb0 EXTERNAL:000000be -00876cb0 EXTERNAL:000000bf +00876cb0 EXTERNAL:000000a0 +00876cb0 EXTERNAL:000000bc +00876e20 EXTERNAL:000000bf 00876e20 EXTERNAL:000000b8 00876e20 EXTERNAL:000000bb -00876e20 EXTERNAL:000000a0 +00876e20 EXTERNAL:000000ab 00876e20 EXTERNAL:000000bd 00876e20 EXTERNAL:00000083 -00876e20 EXTERNAL:000000ab -00876e20 EXTERNAL:000000bc 00876e20 EXTERNAL:000000be -00876e20 EXTERNAL:000000bf +00876e20 EXTERNAL:000000a0 +00876e20 EXTERNAL:000000bc +00876f90 EXTERNAL:000000bf 00876f90 EXTERNAL:000000b8 00876f90 EXTERNAL:000000bb -00876f90 EXTERNAL:000000a0 +00876f90 EXTERNAL:000000ab 00876f90 EXTERNAL:000000bd 00876f90 EXTERNAL:00000083 -00876f90 EXTERNAL:000000ab -00876f90 EXTERNAL:000000bc 00876f90 EXTERNAL:000000be -00876f90 EXTERNAL:000000bf +00876f90 EXTERNAL:000000a0 +00876f90 EXTERNAL:000000bc 00877100 008a6970 00877120 EXTERNAL:000000b8 -00877120 EXTERNAL:000000bb -00877120 EXTERNAL:000000bc -00877120 EXTERNAL:000000be 00877120 EXTERNAL:000000bf +00877120 EXTERNAL:000000bb +00877120 EXTERNAL:000000be +00877120 EXTERNAL:000000bc 00877170 EXTERNAL:000000b8 +00877170 EXTERNAL:000000bf 00877170 EXTERNAL:000000bb +00877170 EXTERNAL:000000be 00877170 EXTERNAL:000000a0 00877170 EXTERNAL:000000bc -00877170 EXTERNAL:000000be -00877170 EXTERNAL:000000bf 008771d0 EXTERNAL:000000b8 -008771d0 EXTERNAL:000000bb -008771d0 EXTERNAL:000000a0 -008771d0 EXTERNAL:000000ab -008771d0 EXTERNAL:000000bc -008771d0 EXTERNAL:000000be 008771d0 EXTERNAL:000000bf +008771d0 EXTERNAL:000000bb +008771d0 EXTERNAL:000000ab +008771d0 EXTERNAL:000000be +008771d0 EXTERNAL:000000a0 +008771d0 EXTERNAL:000000bc 00877280 EXTERNAL:000000b8 -00877280 EXTERNAL:000000bb -00877280 EXTERNAL:000000a0 -00877280 EXTERNAL:000000ab -00877280 EXTERNAL:000000bc -00877280 EXTERNAL:000000be 00877280 EXTERNAL:000000bf +00877280 EXTERNAL:000000bb +00877280 EXTERNAL:000000ab +00877280 EXTERNAL:000000be +00877280 EXTERNAL:000000a0 +00877280 EXTERNAL:000000bc 00877330 EXTERNAL:000000b8 -00877330 EXTERNAL:000000bb -00877330 EXTERNAL:000000a0 -00877330 EXTERNAL:000000ab -00877330 EXTERNAL:000000bc -00877330 EXTERNAL:000000be 00877330 EXTERNAL:000000bf +00877330 EXTERNAL:000000bb +00877330 EXTERNAL:000000ab +00877330 EXTERNAL:000000be +00877330 EXTERNAL:000000a0 +00877330 EXTERNAL:000000bc 008773e0 EXTERNAL:000000b8 -008773e0 EXTERNAL:000000bb -008773e0 EXTERNAL:000000a0 -008773e0 EXTERNAL:000000ab -008773e0 EXTERNAL:000000bc -008773e0 EXTERNAL:000000be 008773e0 EXTERNAL:000000bf +008773e0 EXTERNAL:000000bb +008773e0 EXTERNAL:000000ab +008773e0 EXTERNAL:000000be +008773e0 EXTERNAL:000000a0 +008773e0 EXTERNAL:000000bc 00877490 EXTERNAL:000000b8 +00877490 EXTERNAL:000000bf 00877490 EXTERNAL:000000bb +00877490 EXTERNAL:000000be 00877490 EXTERNAL:000000a0 00877490 EXTERNAL:000000bc -00877490 EXTERNAL:000000be -00877490 EXTERNAL:000000bf +008774f0 EXTERNAL:000000bf 008774f0 EXTERNAL:000000b8 008774f0 EXTERNAL:000000bb -008774f0 EXTERNAL:000000a0 +008774f0 EXTERNAL:000000ab 008774f0 EXTERNAL:000000bd 008774f0 EXTERNAL:00000083 -008774f0 EXTERNAL:000000ab -008774f0 EXTERNAL:000000bc 008774f0 EXTERNAL:000000be -008774f0 EXTERNAL:000000bf +008774f0 EXTERNAL:000000a0 +008774f0 EXTERNAL:000000bc 00877660 008a6760 00877680 EXTERNAL:000000b8 +00877680 EXTERNAL:000000bf 00877680 EXTERNAL:000000bb +00877680 EXTERNAL:000000be 00877680 EXTERNAL:000000a0 00877680 EXTERNAL:000000bc -00877680 EXTERNAL:000000be -00877680 EXTERNAL:000000bf 008776e0 EXTERNAL:000000b8 +008776e0 EXTERNAL:000000bf 008776e0 EXTERNAL:000000bb +008776e0 EXTERNAL:000000be 008776e0 EXTERNAL:000000a0 008776e0 EXTERNAL:000000bc -008776e0 EXTERNAL:000000be -008776e0 EXTERNAL:000000bf 00877740 EXTERNAL:000000b8 +00877740 EXTERNAL:000000bf 00877740 EXTERNAL:000000bb +00877740 EXTERNAL:000000be 00877740 EXTERNAL:000000a0 00877740 EXTERNAL:000000bc -00877740 EXTERNAL:000000be -00877740 EXTERNAL:000000bf 008777a0 EXTERNAL:000000b8 +008777a0 EXTERNAL:000000bf 008777a0 EXTERNAL:000000bb +008777a0 EXTERNAL:000000be 008777a0 EXTERNAL:000000a0 008777a0 EXTERNAL:000000bc -008777a0 EXTERNAL:000000be -008777a0 EXTERNAL:000000bf 00877800 EXTERNAL:000000b8 +00877800 EXTERNAL:000000bf 00877800 EXTERNAL:000000bb +00877800 EXTERNAL:000000be 00877800 EXTERNAL:000000a0 00877800 EXTERNAL:000000bc -00877800 EXTERNAL:000000be -00877800 EXTERNAL:000000bf 00877860 EXTERNAL:000000b8 -00877860 EXTERNAL:000000bb -00877860 EXTERNAL:000000a0 -00877860 EXTERNAL:000000ab -00877860 EXTERNAL:000000bc -00877860 EXTERNAL:000000be 00877860 EXTERNAL:000000bf +00877860 EXTERNAL:000000bb +00877860 EXTERNAL:000000ab +00877860 EXTERNAL:000000be +00877860 EXTERNAL:000000a0 +00877860 EXTERNAL:000000bc 00877910 EXTERNAL:000000b8 +00877910 EXTERNAL:000000bf 00877910 EXTERNAL:000000bb +00877910 EXTERNAL:000000be 00877910 EXTERNAL:000000a0 00877910 EXTERNAL:000000bc -00877910 EXTERNAL:000000be -00877910 EXTERNAL:000000bf 00877970 EXTERNAL:000000b8 +00877970 EXTERNAL:000000bf 00877970 EXTERNAL:000000bb +00877970 EXTERNAL:000000be 00877970 EXTERNAL:000000a0 00877970 EXTERNAL:000000bc -00877970 EXTERNAL:000000be -00877970 EXTERNAL:000000bf 008779d0 EXTERNAL:000000b8 +008779d0 EXTERNAL:000000bf 008779d0 EXTERNAL:000000bb +008779d0 EXTERNAL:000000be 008779d0 EXTERNAL:000000a0 008779d0 EXTERNAL:000000bc -008779d0 EXTERNAL:000000be -008779d0 EXTERNAL:000000bf 00877a30 EXTERNAL:000000b8 -00877a30 EXTERNAL:000000bb -00877a30 EXTERNAL:000000a0 -00877a30 EXTERNAL:000000ab -00877a30 EXTERNAL:000000bc -00877a30 EXTERNAL:000000be 00877a30 EXTERNAL:000000bf +00877a30 EXTERNAL:000000bb +00877a30 EXTERNAL:000000ab +00877a30 EXTERNAL:000000be +00877a30 EXTERNAL:000000a0 +00877a30 EXTERNAL:000000bc 00877ae0 008a6550 +00877b00 EXTERNAL:000000bf 00877b00 EXTERNAL:000000b8 00877b00 EXTERNAL:000000bb -00877b00 EXTERNAL:000000a0 +00877b00 EXTERNAL:000000ab 00877b00 EXTERNAL:000000bd 00877b00 EXTERNAL:00000083 -00877b00 EXTERNAL:000000ab -00877b00 EXTERNAL:000000bc 00877b00 EXTERNAL:000000be -00877b00 EXTERNAL:000000bf +00877b00 EXTERNAL:000000a0 +00877b00 EXTERNAL:000000bc +00877c70 EXTERNAL:000000bf 00877c70 EXTERNAL:000000b8 00877c70 EXTERNAL:000000bb -00877c70 EXTERNAL:000000a0 +00877c70 EXTERNAL:000000ab 00877c70 EXTERNAL:000000bd 00877c70 EXTERNAL:00000083 -00877c70 EXTERNAL:000000ab -00877c70 EXTERNAL:000000bc 00877c70 EXTERNAL:000000be -00877c70 EXTERNAL:000000bf +00877c70 EXTERNAL:000000a0 +00877c70 EXTERNAL:000000bc +00877de0 EXTERNAL:000000bf 00877de0 EXTERNAL:000000b8 00877de0 EXTERNAL:000000bb -00877de0 EXTERNAL:000000a0 +00877de0 EXTERNAL:000000ab 00877de0 EXTERNAL:000000bd 00877de0 EXTERNAL:00000083 -00877de0 EXTERNAL:000000ab -00877de0 EXTERNAL:000000bc 00877de0 EXTERNAL:000000be -00877de0 EXTERNAL:000000bf +00877de0 EXTERNAL:000000a0 +00877de0 EXTERNAL:000000bc +00877f70 EXTERNAL:000000bf 00877f70 EXTERNAL:000000b8 00877f70 EXTERNAL:000000bb -00877f70 EXTERNAL:000000a0 +00877f70 EXTERNAL:000000ab 00877f70 EXTERNAL:000000bd 00877f70 EXTERNAL:00000083 -00877f70 EXTERNAL:000000ab -00877f70 EXTERNAL:000000bc 00877f70 EXTERNAL:000000be -00877f70 EXTERNAL:000000bf +00877f70 EXTERNAL:000000a0 +00877f70 EXTERNAL:000000bc +008780f0 EXTERNAL:000000bf 008780f0 EXTERNAL:000000b8 008780f0 EXTERNAL:000000bb -008780f0 EXTERNAL:000000a0 +008780f0 EXTERNAL:000000ab 008780f0 EXTERNAL:000000bd 008780f0 EXTERNAL:00000083 -008780f0 EXTERNAL:000000ab -008780f0 EXTERNAL:000000bc 008780f0 EXTERNAL:000000be -008780f0 EXTERNAL:000000bf +008780f0 EXTERNAL:000000a0 +008780f0 EXTERNAL:000000bc +00878270 EXTERNAL:000000bf 00878270 EXTERNAL:000000b8 00878270 EXTERNAL:000000bb -00878270 EXTERNAL:000000a0 +00878270 EXTERNAL:000000ab 00878270 EXTERNAL:000000bd 00878270 EXTERNAL:00000083 -00878270 EXTERNAL:000000ab -00878270 EXTERNAL:000000bc 00878270 EXTERNAL:000000be -00878270 EXTERNAL:000000bf +00878270 EXTERNAL:000000a0 +00878270 EXTERNAL:000000bc 008783f0 EXTERNAL:000000b8 -008783f0 EXTERNAL:000000bb -008783f0 EXTERNAL:000000a0 -008783f0 EXTERNAL:000000ab -008783f0 EXTERNAL:000000bc -008783f0 EXTERNAL:000000be 008783f0 EXTERNAL:000000bf +008783f0 EXTERNAL:000000bb +008783f0 EXTERNAL:000000ab +008783f0 EXTERNAL:000000be +008783f0 EXTERNAL:000000a0 +008783f0 EXTERNAL:000000bc 00878490 008a6340 +008784b0 EXTERNAL:000000bf 008784b0 EXTERNAL:000000b8 008784b0 EXTERNAL:000000bb -008784b0 EXTERNAL:000000a0 +008784b0 EXTERNAL:000000ab 008784b0 EXTERNAL:000000bd 008784b0 EXTERNAL:00000083 -008784b0 EXTERNAL:000000ab -008784b0 EXTERNAL:000000bc 008784b0 EXTERNAL:000000be -008784b0 EXTERNAL:000000bf +008784b0 EXTERNAL:000000a0 +008784b0 EXTERNAL:000000bc +00878620 EXTERNAL:000000bf 00878620 EXTERNAL:000000b8 00878620 EXTERNAL:000000bb -00878620 EXTERNAL:000000a0 +00878620 EXTERNAL:000000ab 00878620 EXTERNAL:000000bd 00878620 EXTERNAL:00000083 -00878620 EXTERNAL:000000ab -00878620 EXTERNAL:000000bc 00878620 EXTERNAL:000000be -00878620 EXTERNAL:000000bf +00878620 EXTERNAL:000000a0 +00878620 EXTERNAL:000000bc +008787a0 EXTERNAL:000000bf 008787a0 EXTERNAL:000000b8 008787a0 EXTERNAL:000000bb -008787a0 EXTERNAL:000000a0 +008787a0 EXTERNAL:000000ab 008787a0 EXTERNAL:000000bd 008787a0 EXTERNAL:00000083 -008787a0 EXTERNAL:000000ab -008787a0 EXTERNAL:000000bc 008787a0 EXTERNAL:000000be -008787a0 EXTERNAL:000000bf +008787a0 EXTERNAL:000000a0 +008787a0 EXTERNAL:000000bc +00878920 EXTERNAL:000000bf 00878920 EXTERNAL:000000b8 00878920 EXTERNAL:000000bb -00878920 EXTERNAL:000000a0 +00878920 EXTERNAL:000000ab 00878920 EXTERNAL:000000bd 00878920 EXTERNAL:00000083 -00878920 EXTERNAL:000000ab -00878920 EXTERNAL:000000bc 00878920 EXTERNAL:000000be -00878920 EXTERNAL:000000bf +00878920 EXTERNAL:000000a0 +00878920 EXTERNAL:000000bc +00878a90 EXTERNAL:000000bf 00878a90 EXTERNAL:000000b8 00878a90 EXTERNAL:000000bb -00878a90 EXTERNAL:000000a0 +00878a90 EXTERNAL:000000ab 00878a90 EXTERNAL:000000bd 00878a90 EXTERNAL:00000083 -00878a90 EXTERNAL:000000ab -00878a90 EXTERNAL:000000bc 00878a90 EXTERNAL:000000be -00878a90 EXTERNAL:000000bf +00878a90 EXTERNAL:000000a0 +00878a90 EXTERNAL:000000bc 00878c00 EXTERNAL:000000b8 -00878c00 EXTERNAL:000000bb -00878c00 EXTERNAL:000000a0 -00878c00 EXTERNAL:000000ab -00878c00 EXTERNAL:000000bc -00878c00 EXTERNAL:000000be 00878c00 EXTERNAL:000000bf +00878c00 EXTERNAL:000000bb +00878c00 EXTERNAL:000000ab +00878c00 EXTERNAL:000000be +00878c00 EXTERNAL:000000a0 +00878c00 EXTERNAL:000000bc 00878cb0 008a6130 00878cd0 EXTERNAL:000000b8 -00878cd0 EXTERNAL:000000bb -00878cd0 EXTERNAL:000000a0 -00878cd0 EXTERNAL:000000ab -00878cd0 EXTERNAL:000000bc -00878cd0 EXTERNAL:000000be 00878cd0 EXTERNAL:000000bf +00878cd0 EXTERNAL:000000bb +00878cd0 EXTERNAL:000000ab +00878cd0 EXTERNAL:000000be +00878cd0 EXTERNAL:000000a0 +00878cd0 EXTERNAL:000000bc +00878d70 EXTERNAL:000000bf 00878d70 EXTERNAL:000000b8 00878d70 EXTERNAL:000000bb -00878d70 EXTERNAL:000000a0 +00878d70 EXTERNAL:000000ab 00878d70 EXTERNAL:000000bd 00878d70 EXTERNAL:00000083 -00878d70 EXTERNAL:000000ab -00878d70 EXTERNAL:000000bc 00878d70 EXTERNAL:000000be -00878d70 EXTERNAL:000000bf +00878d70 EXTERNAL:000000a0 +00878d70 EXTERNAL:000000bc +00878ee0 EXTERNAL:000000bf 00878ee0 EXTERNAL:000000b8 00878ee0 EXTERNAL:000000bb -00878ee0 EXTERNAL:000000a0 +00878ee0 EXTERNAL:000000ab 00878ee0 EXTERNAL:000000bd 00878ee0 EXTERNAL:00000083 -00878ee0 EXTERNAL:000000ab -00878ee0 EXTERNAL:000000bc 00878ee0 EXTERNAL:000000be -00878ee0 EXTERNAL:000000bf +00878ee0 EXTERNAL:000000a0 +00878ee0 EXTERNAL:000000bc +00879050 EXTERNAL:000000bf 00879050 EXTERNAL:000000b8 00879050 EXTERNAL:000000bb -00879050 EXTERNAL:000000a0 +00879050 EXTERNAL:000000ab 00879050 EXTERNAL:000000bd 00879050 EXTERNAL:00000083 -00879050 EXTERNAL:000000ab -00879050 EXTERNAL:000000bc 00879050 EXTERNAL:000000be -00879050 EXTERNAL:000000bf +00879050 EXTERNAL:000000a0 +00879050 EXTERNAL:000000bc +008791d0 EXTERNAL:000000bf 008791d0 EXTERNAL:000000b8 008791d0 EXTERNAL:000000bb -008791d0 EXTERNAL:000000a0 +008791d0 EXTERNAL:000000ab 008791d0 EXTERNAL:000000bd 008791d0 EXTERNAL:00000083 -008791d0 EXTERNAL:000000ab -008791d0 EXTERNAL:000000bc 008791d0 EXTERNAL:000000be -008791d0 EXTERNAL:000000bf +008791d0 EXTERNAL:000000a0 +008791d0 EXTERNAL:000000bc +00879340 EXTERNAL:000000bf 00879340 EXTERNAL:000000b8 00879340 EXTERNAL:000000bb -00879340 EXTERNAL:000000a0 +00879340 EXTERNAL:000000ab 00879340 EXTERNAL:000000bd 00879340 EXTERNAL:00000083 -00879340 EXTERNAL:000000ab -00879340 EXTERNAL:000000bc 00879340 EXTERNAL:000000be -00879340 EXTERNAL:000000bf +00879340 EXTERNAL:000000a0 +00879340 EXTERNAL:000000bc +008794b0 EXTERNAL:000000bf 008794b0 EXTERNAL:000000b8 008794b0 EXTERNAL:000000bb -008794b0 EXTERNAL:000000a0 +008794b0 EXTERNAL:000000ab 008794b0 EXTERNAL:000000bd 008794b0 EXTERNAL:00000083 -008794b0 EXTERNAL:000000ab -008794b0 EXTERNAL:000000bc 008794b0 EXTERNAL:000000be -008794b0 EXTERNAL:000000bf +008794b0 EXTERNAL:000000a0 +008794b0 EXTERNAL:000000bc +008795b0 EXTERNAL:000000bf 008795b0 EXTERNAL:000000b8 008795b0 EXTERNAL:000000bb -008795b0 EXTERNAL:000000a0 +008795b0 EXTERNAL:000000ab 008795b0 EXTERNAL:000000bd 008795b0 EXTERNAL:00000083 -008795b0 EXTERNAL:000000ab -008795b0 EXTERNAL:000000bc 008795b0 EXTERNAL:000000be -008795b0 EXTERNAL:000000bf +008795b0 EXTERNAL:000000a0 +008795b0 EXTERNAL:000000bc +00879730 EXTERNAL:000000bf 00879730 EXTERNAL:000000b8 00879730 EXTERNAL:000000bb -00879730 EXTERNAL:000000a0 +00879730 EXTERNAL:000000ab 00879730 EXTERNAL:000000bd 00879730 EXTERNAL:00000083 -00879730 EXTERNAL:000000ab -00879730 EXTERNAL:000000bc 00879730 EXTERNAL:000000be -00879730 EXTERNAL:000000bf +00879730 EXTERNAL:000000a0 +00879730 EXTERNAL:000000bc 008798b0 EXTERNAL:000000b8 -008798b0 EXTERNAL:000000bb -008798b0 EXTERNAL:000000a0 -008798b0 EXTERNAL:000000ab -008798b0 EXTERNAL:000000bc -008798b0 EXTERNAL:000000be 008798b0 EXTERNAL:000000bf +008798b0 EXTERNAL:000000bb +008798b0 EXTERNAL:000000ab +008798b0 EXTERNAL:000000be +008798b0 EXTERNAL:000000a0 +008798b0 EXTERNAL:000000bc 00879960 EXTERNAL:000000b8 -00879960 EXTERNAL:000000bb -00879960 EXTERNAL:000000a0 -00879960 EXTERNAL:000000ab -00879960 EXTERNAL:000000bc -00879960 EXTERNAL:000000be 00879960 EXTERNAL:000000bf +00879960 EXTERNAL:000000bb +00879960 EXTERNAL:000000ab +00879960 EXTERNAL:000000be +00879960 EXTERNAL:000000a0 +00879960 EXTERNAL:000000bc 00879a10 008a5f20 +00879a30 EXTERNAL:000000bf 00879a30 EXTERNAL:000000b8 00879a30 EXTERNAL:000000bb -00879a30 EXTERNAL:000000a0 +00879a30 EXTERNAL:000000ab 00879a30 EXTERNAL:000000bd 00879a30 EXTERNAL:00000083 -00879a30 EXTERNAL:000000ab -00879a30 EXTERNAL:000000bc 00879a30 EXTERNAL:000000be -00879a30 EXTERNAL:000000bf +00879a30 EXTERNAL:000000a0 +00879a30 EXTERNAL:000000bc +00879ba0 EXTERNAL:000000bf 00879ba0 EXTERNAL:000000b8 00879ba0 EXTERNAL:000000bb -00879ba0 EXTERNAL:000000a0 +00879ba0 EXTERNAL:000000ab 00879ba0 EXTERNAL:000000bd 00879ba0 EXTERNAL:00000083 -00879ba0 EXTERNAL:000000ab -00879ba0 EXTERNAL:000000bc 00879ba0 EXTERNAL:000000be -00879ba0 EXTERNAL:000000bf +00879ba0 EXTERNAL:000000a0 +00879ba0 EXTERNAL:000000bc +00879d20 EXTERNAL:000000bf 00879d20 EXTERNAL:000000b8 00879d20 EXTERNAL:000000bb -00879d20 EXTERNAL:000000a0 +00879d20 EXTERNAL:000000ab 00879d20 EXTERNAL:000000bd 00879d20 EXTERNAL:00000083 -00879d20 EXTERNAL:000000ab -00879d20 EXTERNAL:000000bc 00879d20 EXTERNAL:000000be -00879d20 EXTERNAL:000000bf +00879d20 EXTERNAL:000000a0 +00879d20 EXTERNAL:000000bc +00879e90 EXTERNAL:000000bf 00879e90 EXTERNAL:000000b8 00879e90 EXTERNAL:000000bb -00879e90 EXTERNAL:000000a0 +00879e90 EXTERNAL:000000ab 00879e90 EXTERNAL:000000bd 00879e90 EXTERNAL:00000083 -00879e90 EXTERNAL:000000ab -00879e90 EXTERNAL:000000bc 00879e90 EXTERNAL:000000be -00879e90 EXTERNAL:000000bf -0087a010 EXTERNAL:000000aa -0087a010 EXTERNAL:000000bb -0087a010 EXTERNAL:000000bc -0087a010 0085d730 +00879e90 EXTERNAL:000000a0 +00879e90 EXTERNAL:000000bc 0087a010 008c4920 -0087a010 EXTERNAL:000000b8 -0087a010 0085d980 -0087a010 EXTERNAL:000000a0 -0087a010 EXTERNAL:000000bd -0087a010 EXTERNAL:00000083 0087a010 EXTERNAL:000000ab -0087a010 EXTERNAL:000000be +0087a010 0085d730 +0087a010 0085d980 +0087a010 EXTERNAL:00000083 0087a010 0085d910 -0087a010 0085cce0 +0087a010 EXTERNAL:000000be +0087a010 EXTERNAL:000000bc +0087a010 EXTERNAL:000000aa 0087a010 EXTERNAL:000000bf -0087a320 EXTERNAL:000000aa -0087a320 EXTERNAL:000000bb -0087a320 EXTERNAL:000000bc -0087a320 008c4710 -0087a320 0085d730 -0087a320 EXTERNAL:000000b8 -0087a320 0085d980 -0087a320 EXTERNAL:000000a0 -0087a320 EXTERNAL:000000bd -0087a320 EXTERNAL:00000083 +0087a010 EXTERNAL:000000b8 +0087a010 EXTERNAL:000000bb +0087a010 0085cce0 +0087a010 EXTERNAL:000000bd +0087a010 EXTERNAL:000000a0 0087a320 EXTERNAL:000000ab -0087a320 EXTERNAL:000000be +0087a320 0085d730 +0087a320 0085d980 +0087a320 EXTERNAL:00000083 0087a320 0085d910 -0087a320 0085cce0 +0087a320 EXTERNAL:000000be +0087a320 EXTERNAL:000000bc +0087a320 EXTERNAL:000000aa 0087a320 EXTERNAL:000000bf -0087a630 EXTERNAL:000000aa -0087a630 EXTERNAL:000000bb -0087a630 EXTERNAL:000000bc -0087a630 008c4500 -0087a630 0085d730 -0087a630 EXTERNAL:000000b8 -0087a630 0085d980 -0087a630 EXTERNAL:000000a0 -0087a630 EXTERNAL:000000bd -0087a630 EXTERNAL:00000083 +0087a320 EXTERNAL:000000b8 +0087a320 EXTERNAL:000000bb +0087a320 0085cce0 +0087a320 EXTERNAL:000000bd +0087a320 008c4710 +0087a320 EXTERNAL:000000a0 0087a630 EXTERNAL:000000ab -0087a630 EXTERNAL:000000be +0087a630 0085d730 +0087a630 0085d980 +0087a630 EXTERNAL:00000083 0087a630 0085d910 -0087a630 0085cce0 +0087a630 EXTERNAL:000000be +0087a630 EXTERNAL:000000bc +0087a630 EXTERNAL:000000aa 0087a630 EXTERNAL:000000bf -0087a940 EXTERNAL:000000aa -0087a940 EXTERNAL:000000bb -0087a940 EXTERNAL:000000bc -0087a940 0085d730 -0087a940 EXTERNAL:000000b8 -0087a940 0085d980 -0087a940 EXTERNAL:000000a0 -0087a940 EXTERNAL:000000bd -0087a940 EXTERNAL:00000083 -0087a940 008c42f0 +0087a630 EXTERNAL:000000b8 +0087a630 EXTERNAL:000000bb +0087a630 0085cce0 +0087a630 EXTERNAL:000000bd +0087a630 008c4500 +0087a630 EXTERNAL:000000a0 0087a940 EXTERNAL:000000ab -0087a940 EXTERNAL:000000be +0087a940 0085d730 +0087a940 0085d980 +0087a940 EXTERNAL:00000083 0087a940 0085d910 -0087a940 0085cce0 +0087a940 EXTERNAL:000000be +0087a940 EXTERNAL:000000bc +0087a940 EXTERNAL:000000aa 0087a940 EXTERNAL:000000bf +0087a940 EXTERNAL:000000b8 +0087a940 EXTERNAL:000000bb +0087a940 0085cce0 +0087a940 EXTERNAL:000000bd +0087a940 008c42f0 +0087a940 EXTERNAL:000000a0 0087ac50 008a5d10 0087ac70 EXTERNAL:000000b8 +0087ac70 EXTERNAL:000000bf 0087ac70 EXTERNAL:000000bb +0087ac70 EXTERNAL:000000be 0087ac70 EXTERNAL:000000a0 0087ac70 EXTERNAL:000000bc -0087ac70 EXTERNAL:000000be -0087ac70 EXTERNAL:000000bf 0087acd0 EXTERNAL:000000b8 -0087acd0 EXTERNAL:000000bb -0087acd0 EXTERNAL:000000a0 -0087acd0 EXTERNAL:000000ab -0087acd0 EXTERNAL:000000bc -0087acd0 EXTERNAL:000000be 0087acd0 EXTERNAL:000000bf +0087acd0 EXTERNAL:000000bb +0087acd0 EXTERNAL:000000ab +0087acd0 EXTERNAL:000000be +0087acd0 EXTERNAL:000000a0 +0087acd0 EXTERNAL:000000bc 0087ad70 EXTERNAL:000000b8 +0087ad70 EXTERNAL:000000bf 0087ad70 EXTERNAL:000000bb +0087ad70 EXTERNAL:000000be 0087ad70 EXTERNAL:000000a0 0087ad70 EXTERNAL:000000bc -0087ad70 EXTERNAL:000000be -0087ad70 EXTERNAL:000000bf 0087add0 EXTERNAL:000000b8 -0087add0 EXTERNAL:000000bb -0087add0 EXTERNAL:000000a0 -0087add0 EXTERNAL:000000ab -0087add0 EXTERNAL:000000bc -0087add0 EXTERNAL:000000be 0087add0 EXTERNAL:000000bf +0087add0 EXTERNAL:000000bb +0087add0 EXTERNAL:000000ab +0087add0 EXTERNAL:000000be +0087add0 EXTERNAL:000000a0 +0087add0 EXTERNAL:000000bc 0087ae80 EXTERNAL:000000b8 -0087ae80 EXTERNAL:000000bb -0087ae80 EXTERNAL:000000a0 -0087ae80 EXTERNAL:000000ab -0087ae80 EXTERNAL:000000bc -0087ae80 EXTERNAL:000000be 0087ae80 EXTERNAL:000000bf +0087ae80 EXTERNAL:000000bb +0087ae80 EXTERNAL:000000ab +0087ae80 EXTERNAL:000000be +0087ae80 EXTERNAL:000000a0 +0087ae80 EXTERNAL:000000bc 0087af30 EXTERNAL:000000b8 -0087af30 EXTERNAL:000000bb -0087af30 EXTERNAL:000000a0 -0087af30 EXTERNAL:000000ab -0087af30 EXTERNAL:000000bc -0087af30 EXTERNAL:000000be 0087af30 EXTERNAL:000000bf +0087af30 EXTERNAL:000000bb +0087af30 EXTERNAL:000000ab +0087af30 EXTERNAL:000000be +0087af30 EXTERNAL:000000a0 +0087af30 EXTERNAL:000000bc 0087afd0 EXTERNAL:000000b8 -0087afd0 EXTERNAL:000000bb -0087afd0 EXTERNAL:000000a0 -0087afd0 EXTERNAL:000000ab -0087afd0 EXTERNAL:000000bc -0087afd0 EXTERNAL:000000be 0087afd0 EXTERNAL:000000bf +0087afd0 EXTERNAL:000000bb +0087afd0 EXTERNAL:000000ab +0087afd0 EXTERNAL:000000be +0087afd0 EXTERNAL:000000a0 +0087afd0 EXTERNAL:000000bc 0087b080 EXTERNAL:000000b8 -0087b080 EXTERNAL:000000bb -0087b080 EXTERNAL:000000a0 -0087b080 EXTERNAL:000000ab -0087b080 EXTERNAL:000000bc -0087b080 EXTERNAL:000000be 0087b080 EXTERNAL:000000bf +0087b080 EXTERNAL:000000bb +0087b080 EXTERNAL:000000ab +0087b080 EXTERNAL:000000be +0087b080 EXTERNAL:000000a0 +0087b080 EXTERNAL:000000bc 0087b130 008a5b00 +0087b150 EXTERNAL:000000bf 0087b150 EXTERNAL:000000b8 0087b150 EXTERNAL:000000bb -0087b150 EXTERNAL:000000a0 +0087b150 EXTERNAL:000000ab 0087b150 EXTERNAL:000000bd 0087b150 EXTERNAL:00000083 -0087b150 EXTERNAL:000000ab -0087b150 EXTERNAL:000000bc 0087b150 EXTERNAL:000000be -0087b150 EXTERNAL:000000bf +0087b150 EXTERNAL:000000a0 +0087b150 EXTERNAL:000000bc +0087b2c0 EXTERNAL:000000bf 0087b2c0 EXTERNAL:000000b8 0087b2c0 EXTERNAL:000000bb -0087b2c0 EXTERNAL:000000a0 +0087b2c0 EXTERNAL:000000ab 0087b2c0 EXTERNAL:000000bd 0087b2c0 EXTERNAL:00000083 -0087b2c0 EXTERNAL:000000ab -0087b2c0 EXTERNAL:000000bc 0087b2c0 EXTERNAL:000000be -0087b2c0 EXTERNAL:000000bf +0087b2c0 EXTERNAL:000000a0 +0087b2c0 EXTERNAL:000000bc +0087b440 EXTERNAL:000000bf 0087b440 EXTERNAL:000000b8 0087b440 EXTERNAL:000000bb -0087b440 EXTERNAL:000000a0 +0087b440 EXTERNAL:000000ab 0087b440 EXTERNAL:000000bd 0087b440 EXTERNAL:00000083 -0087b440 EXTERNAL:000000ab -0087b440 EXTERNAL:000000bc 0087b440 EXTERNAL:000000be -0087b440 EXTERNAL:000000bf +0087b440 EXTERNAL:000000a0 +0087b440 EXTERNAL:000000bc +0087b5c0 EXTERNAL:000000bf 0087b5c0 EXTERNAL:000000b8 0087b5c0 EXTERNAL:000000bb -0087b5c0 EXTERNAL:000000a0 +0087b5c0 EXTERNAL:000000ab 0087b5c0 EXTERNAL:000000bd 0087b5c0 EXTERNAL:00000083 -0087b5c0 EXTERNAL:000000ab -0087b5c0 EXTERNAL:000000bc 0087b5c0 EXTERNAL:000000be -0087b5c0 EXTERNAL:000000bf +0087b5c0 EXTERNAL:000000a0 +0087b5c0 EXTERNAL:000000bc 0087b730 008a58f0 +0087b750 EXTERNAL:000000bf 0087b750 EXTERNAL:000000b8 0087b750 EXTERNAL:000000bb -0087b750 EXTERNAL:000000a0 +0087b750 EXTERNAL:000000ab 0087b750 EXTERNAL:000000bd 0087b750 EXTERNAL:00000083 -0087b750 EXTERNAL:000000ab -0087b750 EXTERNAL:000000bc 0087b750 EXTERNAL:000000be -0087b750 EXTERNAL:000000bf +0087b750 EXTERNAL:000000a0 +0087b750 EXTERNAL:000000bc +0087b8d0 EXTERNAL:000000bf 0087b8d0 EXTERNAL:000000b8 0087b8d0 EXTERNAL:000000bb -0087b8d0 EXTERNAL:000000a0 +0087b8d0 EXTERNAL:000000ab 0087b8d0 EXTERNAL:000000bd 0087b8d0 EXTERNAL:00000083 -0087b8d0 EXTERNAL:000000ab -0087b8d0 EXTERNAL:000000bc 0087b8d0 EXTERNAL:000000be -0087b8d0 EXTERNAL:000000bf +0087b8d0 EXTERNAL:000000a0 +0087b8d0 EXTERNAL:000000bc +0087ba50 EXTERNAL:000000bf 0087ba50 EXTERNAL:000000b8 0087ba50 EXTERNAL:000000bb -0087ba50 EXTERNAL:000000a0 +0087ba50 EXTERNAL:000000ab 0087ba50 EXTERNAL:000000bd 0087ba50 EXTERNAL:00000083 -0087ba50 EXTERNAL:000000ab -0087ba50 EXTERNAL:000000bc 0087ba50 EXTERNAL:000000be -0087ba50 EXTERNAL:000000bf -0087bbd0 EXTERNAL:000000aa -0087bbd0 EXTERNAL:000000bb -0087bbd0 EXTERNAL:000000bc -0087bbd0 0085d730 -0087bbd0 EXTERNAL:000000b8 -0087bbd0 0085d980 -0087bbd0 EXTERNAL:000000a0 -0087bbd0 EXTERNAL:000000bd -0087bbd0 EXTERNAL:00000083 +0087ba50 EXTERNAL:000000a0 +0087ba50 EXTERNAL:000000bc 0087bbd0 EXTERNAL:000000ab -0087bbd0 EXTERNAL:000000be +0087bbd0 0085d730 +0087bbd0 0085d980 +0087bbd0 EXTERNAL:00000083 0087bbd0 0085d910 -0087bbd0 0085cce0 +0087bbd0 EXTERNAL:000000be 0087bbd0 008c40e0 +0087bbd0 EXTERNAL:000000bc +0087bbd0 EXTERNAL:000000aa 0087bbd0 EXTERNAL:000000bf +0087bbd0 EXTERNAL:000000b8 +0087bbd0 EXTERNAL:000000bb +0087bbd0 0085cce0 +0087bbd0 EXTERNAL:000000bd +0087bbd0 EXTERNAL:000000a0 0087bee0 008a56e0 +0087bf10 EXTERNAL:000000bf 0087bf10 EXTERNAL:000000b8 0087bf10 EXTERNAL:000000bb -0087bf10 EXTERNAL:000000a0 +0087bf10 EXTERNAL:000000ab 0087bf10 EXTERNAL:000000bd 0087bf10 EXTERNAL:00000083 -0087bf10 EXTERNAL:000000ab -0087bf10 EXTERNAL:000000bc 0087bf10 EXTERNAL:000000be -0087bf10 EXTERNAL:000000bf +0087bf10 EXTERNAL:000000a0 +0087bf10 EXTERNAL:000000bc +0087c090 EXTERNAL:000000bf 0087c090 EXTERNAL:000000b8 0087c090 EXTERNAL:000000bb -0087c090 EXTERNAL:000000a0 +0087c090 EXTERNAL:000000ab 0087c090 EXTERNAL:000000bd 0087c090 EXTERNAL:00000083 -0087c090 EXTERNAL:000000ab -0087c090 EXTERNAL:000000bc 0087c090 EXTERNAL:000000be -0087c090 EXTERNAL:000000bf -0087c200 EXTERNAL:000000aa -0087c200 EXTERNAL:000000bb -0087c200 EXTERNAL:000000bc -0087c200 0085d730 -0087c200 EXTERNAL:000000b8 -0087c200 0085d980 -0087c200 EXTERNAL:000000a0 -0087c200 EXTERNAL:000000bd -0087c200 EXTERNAL:00000083 +0087c090 EXTERNAL:000000a0 +0087c090 EXTERNAL:000000bc 0087c200 EXTERNAL:000000ab -0087c200 EXTERNAL:000000be +0087c200 0085d730 +0087c200 0085d980 +0087c200 EXTERNAL:00000083 0087c200 0085d910 -0087c200 0085cce0 -0087c200 EXTERNAL:000000bf +0087c200 EXTERNAL:000000be 0087c200 008c3ed0 +0087c200 EXTERNAL:000000bc +0087c200 EXTERNAL:000000aa +0087c200 EXTERNAL:000000bf +0087c200 EXTERNAL:000000b8 +0087c200 EXTERNAL:000000bb +0087c200 0085cce0 +0087c200 EXTERNAL:000000bd +0087c200 EXTERNAL:000000a0 0087c510 008a54d0 0087c530 EXTERNAL:000000b8 +0087c530 EXTERNAL:000000bf 0087c530 EXTERNAL:000000bb +0087c530 EXTERNAL:000000be 0087c530 EXTERNAL:000000a0 0087c530 EXTERNAL:000000bc -0087c530 EXTERNAL:000000be -0087c530 EXTERNAL:000000bf 0087c590 EXTERNAL:000000b8 +0087c590 EXTERNAL:000000bf 0087c590 EXTERNAL:000000bb +0087c590 EXTERNAL:000000be 0087c590 EXTERNAL:000000a0 0087c590 EXTERNAL:000000bc -0087c590 EXTERNAL:000000be -0087c590 EXTERNAL:000000bf 0087c5f0 EXTERNAL:000000b8 +0087c5f0 EXTERNAL:000000bf 0087c5f0 EXTERNAL:000000bb +0087c5f0 EXTERNAL:000000be 0087c5f0 EXTERNAL:000000a0 0087c5f0 EXTERNAL:000000bc -0087c5f0 EXTERNAL:000000be -0087c5f0 EXTERNAL:000000bf 0087c650 EXTERNAL:000000b8 +0087c650 EXTERNAL:000000bf 0087c650 EXTERNAL:000000bb +0087c650 EXTERNAL:000000be 0087c650 EXTERNAL:000000a0 0087c650 EXTERNAL:000000bc -0087c650 EXTERNAL:000000be -0087c650 EXTERNAL:000000bf 0087c6b0 EXTERNAL:000000b8 +0087c6b0 EXTERNAL:000000bf 0087c6b0 EXTERNAL:000000bb +0087c6b0 EXTERNAL:000000be 0087c6b0 EXTERNAL:000000a0 0087c6b0 EXTERNAL:000000bc -0087c6b0 EXTERNAL:000000be -0087c6b0 EXTERNAL:000000bf 0087c710 EXTERNAL:000000b8 +0087c710 EXTERNAL:000000bf 0087c710 EXTERNAL:000000bb +0087c710 EXTERNAL:000000be 0087c710 EXTERNAL:000000a0 0087c710 EXTERNAL:000000bc -0087c710 EXTERNAL:000000be -0087c710 EXTERNAL:000000bf 0087c770 EXTERNAL:000000b8 -0087c770 EXTERNAL:000000bb -0087c770 EXTERNAL:000000a0 -0087c770 EXTERNAL:000000ab -0087c770 EXTERNAL:000000bc -0087c770 EXTERNAL:000000be 0087c770 EXTERNAL:000000bf +0087c770 EXTERNAL:000000bb +0087c770 EXTERNAL:000000ab +0087c770 EXTERNAL:000000be +0087c770 EXTERNAL:000000a0 +0087c770 EXTERNAL:000000bc 0087c820 EXTERNAL:000000b8 -0087c820 EXTERNAL:000000bb -0087c820 EXTERNAL:000000a0 -0087c820 EXTERNAL:000000ab -0087c820 EXTERNAL:000000bc -0087c820 EXTERNAL:000000be 0087c820 EXTERNAL:000000bf +0087c820 EXTERNAL:000000bb +0087c820 EXTERNAL:000000ab +0087c820 EXTERNAL:000000be +0087c820 EXTERNAL:000000a0 +0087c820 EXTERNAL:000000bc 0087c8d0 EXTERNAL:000000b8 -0087c8d0 EXTERNAL:000000bb -0087c8d0 EXTERNAL:000000a0 -0087c8d0 EXTERNAL:000000ab -0087c8d0 EXTERNAL:000000bc -0087c8d0 EXTERNAL:000000be 0087c8d0 EXTERNAL:000000bf +0087c8d0 EXTERNAL:000000bb +0087c8d0 EXTERNAL:000000ab +0087c8d0 EXTERNAL:000000be +0087c8d0 EXTERNAL:000000a0 +0087c8d0 EXTERNAL:000000bc 0087c980 EXTERNAL:000000b8 -0087c980 EXTERNAL:000000bb -0087c980 EXTERNAL:000000a0 -0087c980 EXTERNAL:000000ab -0087c980 EXTERNAL:000000bc -0087c980 EXTERNAL:000000be 0087c980 EXTERNAL:000000bf +0087c980 EXTERNAL:000000bb +0087c980 EXTERNAL:000000ab +0087c980 EXTERNAL:000000be +0087c980 EXTERNAL:000000a0 +0087c980 EXTERNAL:000000bc 0087ca30 EXTERNAL:000000b8 -0087ca30 EXTERNAL:000000bb -0087ca30 EXTERNAL:000000a0 -0087ca30 EXTERNAL:000000ab -0087ca30 EXTERNAL:000000bc -0087ca30 EXTERNAL:000000be 0087ca30 EXTERNAL:000000bf +0087ca30 EXTERNAL:000000bb +0087ca30 EXTERNAL:000000ab +0087ca30 EXTERNAL:000000be +0087ca30 EXTERNAL:000000a0 +0087ca30 EXTERNAL:000000bc 0087cae0 EXTERNAL:000000b8 -0087cae0 EXTERNAL:000000bb -0087cae0 EXTERNAL:000000a0 -0087cae0 EXTERNAL:000000ab -0087cae0 EXTERNAL:000000bc -0087cae0 EXTERNAL:000000be 0087cae0 EXTERNAL:000000bf +0087cae0 EXTERNAL:000000bb +0087cae0 EXTERNAL:000000ab +0087cae0 EXTERNAL:000000be +0087cae0 EXTERNAL:000000a0 +0087cae0 EXTERNAL:000000bc 0087cb90 EXTERNAL:000000b8 -0087cb90 EXTERNAL:000000bb -0087cb90 EXTERNAL:000000a0 -0087cb90 EXTERNAL:000000ab -0087cb90 EXTERNAL:000000bc -0087cb90 EXTERNAL:000000be 0087cb90 EXTERNAL:000000bf +0087cb90 EXTERNAL:000000bb +0087cb90 EXTERNAL:000000ab +0087cb90 EXTERNAL:000000be +0087cb90 EXTERNAL:000000a0 +0087cb90 EXTERNAL:000000bc 0087cc40 EXTERNAL:000000b8 -0087cc40 EXTERNAL:000000bb -0087cc40 EXTERNAL:000000a0 -0087cc40 EXTERNAL:000000ab -0087cc40 EXTERNAL:000000bc -0087cc40 EXTERNAL:000000be 0087cc40 EXTERNAL:000000bf +0087cc40 EXTERNAL:000000bb +0087cc40 EXTERNAL:000000ab +0087cc40 EXTERNAL:000000be +0087cc40 EXTERNAL:000000a0 +0087cc40 EXTERNAL:000000bc 0087ccf0 EXTERNAL:000000b8 -0087ccf0 EXTERNAL:000000bb -0087ccf0 EXTERNAL:000000a0 -0087ccf0 EXTERNAL:000000ab -0087ccf0 EXTERNAL:000000bc -0087ccf0 EXTERNAL:000000be 0087ccf0 EXTERNAL:000000bf +0087ccf0 EXTERNAL:000000bb +0087ccf0 EXTERNAL:000000ab +0087ccf0 EXTERNAL:000000be +0087ccf0 EXTERNAL:000000a0 +0087ccf0 EXTERNAL:000000bc 0087cda0 EXTERNAL:000000b8 +0087cda0 EXTERNAL:000000bf 0087cda0 EXTERNAL:000000bb +0087cda0 EXTERNAL:000000be 0087cda0 EXTERNAL:000000a0 0087cda0 EXTERNAL:000000bc -0087cda0 EXTERNAL:000000be -0087cda0 EXTERNAL:000000bf 0087ce00 EXTERNAL:000000b8 +0087ce00 EXTERNAL:000000bf 0087ce00 EXTERNAL:000000bb +0087ce00 EXTERNAL:000000be 0087ce00 EXTERNAL:000000a0 0087ce00 EXTERNAL:000000bc -0087ce00 EXTERNAL:000000be -0087ce00 EXTERNAL:000000bf 0087ce60 008a52c0 +0087ce80 EXTERNAL:000000bf 0087ce80 EXTERNAL:000000b8 0087ce80 EXTERNAL:000000bb -0087ce80 EXTERNAL:000000a0 +0087ce80 EXTERNAL:000000ab 0087ce80 EXTERNAL:000000bd 0087ce80 EXTERNAL:00000083 -0087ce80 EXTERNAL:000000ab -0087ce80 EXTERNAL:000000bc 0087ce80 EXTERNAL:000000be -0087ce80 EXTERNAL:000000bf +0087ce80 EXTERNAL:000000a0 +0087ce80 EXTERNAL:000000bc 0087cfb0 EXTERNAL:000000b8 -0087cfb0 EXTERNAL:000000bb -0087cfb0 EXTERNAL:000000a0 -0087cfb0 EXTERNAL:000000ab -0087cfb0 EXTERNAL:000000bc -0087cfb0 EXTERNAL:000000be 0087cfb0 EXTERNAL:000000bf +0087cfb0 EXTERNAL:000000bb +0087cfb0 EXTERNAL:000000ab +0087cfb0 EXTERNAL:000000be +0087cfb0 EXTERNAL:000000a0 +0087cfb0 EXTERNAL:000000bc 0087d060 EXTERNAL:000000b8 -0087d060 EXTERNAL:000000bb -0087d060 EXTERNAL:000000a0 -0087d060 EXTERNAL:000000ab -0087d060 EXTERNAL:000000bc -0087d060 EXTERNAL:000000be 0087d060 EXTERNAL:000000bf +0087d060 EXTERNAL:000000bb +0087d060 EXTERNAL:000000ab +0087d060 EXTERNAL:000000be +0087d060 EXTERNAL:000000a0 +0087d060 EXTERNAL:000000bc 0087d110 008a50b0 +0087d130 EXTERNAL:000000bf 0087d130 EXTERNAL:000000b8 0087d130 EXTERNAL:000000bb -0087d130 EXTERNAL:000000a0 +0087d130 EXTERNAL:000000ab 0087d130 EXTERNAL:000000bd 0087d130 EXTERNAL:00000083 -0087d130 EXTERNAL:000000ab -0087d130 EXTERNAL:000000bc 0087d130 EXTERNAL:000000be -0087d130 EXTERNAL:000000bf +0087d130 EXTERNAL:000000a0 +0087d130 EXTERNAL:000000bc 0087d2a0 008a4ea0 +0087d2c0 EXTERNAL:000000bf 0087d2c0 EXTERNAL:000000b8 0087d2c0 EXTERNAL:000000bb -0087d2c0 EXTERNAL:000000a0 +0087d2c0 EXTERNAL:000000ab 0087d2c0 EXTERNAL:000000bd 0087d2c0 EXTERNAL:00000083 -0087d2c0 EXTERNAL:000000ab -0087d2c0 EXTERNAL:000000bc 0087d2c0 EXTERNAL:000000be -0087d2c0 EXTERNAL:000000bf +0087d2c0 EXTERNAL:000000a0 +0087d2c0 EXTERNAL:000000bc +0087d430 EXTERNAL:000000bf 0087d430 EXTERNAL:000000b8 0087d430 EXTERNAL:000000bb -0087d430 EXTERNAL:000000a0 +0087d430 EXTERNAL:000000ab 0087d430 EXTERNAL:000000bd 0087d430 EXTERNAL:00000083 -0087d430 EXTERNAL:000000ab -0087d430 EXTERNAL:000000bc 0087d430 EXTERNAL:000000be -0087d430 EXTERNAL:000000bf +0087d430 EXTERNAL:000000a0 +0087d430 EXTERNAL:000000bc 0087d5b0 008a4c80 +0087d5d0 EXTERNAL:000000bf 0087d5d0 EXTERNAL:000000b8 0087d5d0 EXTERNAL:000000bb -0087d5d0 EXTERNAL:000000a0 +0087d5d0 EXTERNAL:000000ab 0087d5d0 EXTERNAL:000000bd 0087d5d0 EXTERNAL:00000083 -0087d5d0 EXTERNAL:000000ab -0087d5d0 EXTERNAL:000000bc 0087d5d0 EXTERNAL:000000be -0087d5d0 EXTERNAL:000000bf +0087d5d0 EXTERNAL:000000a0 +0087d5d0 EXTERNAL:000000bc 0087d750 EXTERNAL:000000b8 +0087d750 EXTERNAL:000000bf 0087d750 EXTERNAL:000000bb +0087d750 EXTERNAL:000000be 0087d750 EXTERNAL:000000a0 0087d750 EXTERNAL:000000bc -0087d750 EXTERNAL:000000be -0087d750 EXTERNAL:000000bf +0087d7b0 EXTERNAL:000000bf 0087d7b0 EXTERNAL:000000b8 0087d7b0 EXTERNAL:000000bb -0087d7b0 EXTERNAL:000000a0 +0087d7b0 EXTERNAL:000000ab 0087d7b0 EXTERNAL:000000bd 0087d7b0 EXTERNAL:00000083 -0087d7b0 EXTERNAL:000000ab -0087d7b0 EXTERNAL:000000bc 0087d7b0 EXTERNAL:000000be -0087d7b0 EXTERNAL:000000bf +0087d7b0 EXTERNAL:000000a0 +0087d7b0 EXTERNAL:000000bc +0087d920 EXTERNAL:000000bf 0087d920 EXTERNAL:000000b8 0087d920 EXTERNAL:000000bb -0087d920 EXTERNAL:000000a0 +0087d920 EXTERNAL:000000ab 0087d920 EXTERNAL:000000bd 0087d920 EXTERNAL:00000083 -0087d920 EXTERNAL:000000ab -0087d920 EXTERNAL:000000bc 0087d920 EXTERNAL:000000be -0087d920 EXTERNAL:000000bf +0087d920 EXTERNAL:000000a0 +0087d920 EXTERNAL:000000bc 0087daa0 EXTERNAL:000000b8 +0087daa0 EXTERNAL:000000bf 0087daa0 EXTERNAL:000000bb +0087daa0 EXTERNAL:000000be 0087daa0 EXTERNAL:000000a0 0087daa0 EXTERNAL:000000bc -0087daa0 EXTERNAL:000000be -0087daa0 EXTERNAL:000000bf 0087db00 EXTERNAL:000000b8 +0087db00 EXTERNAL:000000bf 0087db00 EXTERNAL:000000bb +0087db00 EXTERNAL:000000be 0087db00 EXTERNAL:000000a0 0087db00 EXTERNAL:000000bc -0087db00 EXTERNAL:000000be -0087db00 EXTERNAL:000000bf 0087db60 EXTERNAL:000000b8 +0087db60 EXTERNAL:000000bf 0087db60 EXTERNAL:000000bb +0087db60 EXTERNAL:000000be 0087db60 EXTERNAL:000000a0 0087db60 EXTERNAL:000000bc -0087db60 EXTERNAL:000000be -0087db60 EXTERNAL:000000bf 0087dbc0 EXTERNAL:000000b8 +0087dbc0 EXTERNAL:000000bf 0087dbc0 EXTERNAL:000000bb +0087dbc0 EXTERNAL:000000be 0087dbc0 EXTERNAL:000000a0 0087dbc0 EXTERNAL:000000bc -0087dbc0 EXTERNAL:000000be -0087dbc0 EXTERNAL:000000bf 0087dc20 EXTERNAL:000000b8 +0087dc20 EXTERNAL:000000bf 0087dc20 EXTERNAL:000000bb +0087dc20 EXTERNAL:000000be 0087dc20 EXTERNAL:000000a0 0087dc20 EXTERNAL:000000bc -0087dc20 EXTERNAL:000000be -0087dc20 EXTERNAL:000000bf 0087dc80 EXTERNAL:000000b8 +0087dc80 EXTERNAL:000000bf 0087dc80 EXTERNAL:000000bb +0087dc80 EXTERNAL:000000be 0087dc80 EXTERNAL:000000a0 0087dc80 EXTERNAL:000000bc -0087dc80 EXTERNAL:000000be -0087dc80 EXTERNAL:000000bf +0087dce0 EXTERNAL:000000bf 0087dce0 EXTERNAL:000000b8 0087dce0 EXTERNAL:000000bb -0087dce0 EXTERNAL:000000a0 +0087dce0 EXTERNAL:000000ab 0087dce0 EXTERNAL:000000bd 0087dce0 EXTERNAL:00000083 -0087dce0 EXTERNAL:000000ab -0087dce0 EXTERNAL:000000bc 0087dce0 EXTERNAL:000000be -0087dce0 EXTERNAL:000000bf +0087dce0 EXTERNAL:000000a0 +0087dce0 EXTERNAL:000000bc +0087ddd0 EXTERNAL:000000bf 0087ddd0 EXTERNAL:000000b8 0087ddd0 EXTERNAL:000000bb -0087ddd0 EXTERNAL:000000a0 +0087ddd0 EXTERNAL:000000ab 0087ddd0 EXTERNAL:000000bd 0087ddd0 EXTERNAL:00000083 -0087ddd0 EXTERNAL:000000ab -0087ddd0 EXTERNAL:000000bc 0087ddd0 EXTERNAL:000000be -0087ddd0 EXTERNAL:000000bf +0087ddd0 EXTERNAL:000000a0 +0087ddd0 EXTERNAL:000000bc +0087df50 EXTERNAL:000000bf 0087df50 EXTERNAL:000000b8 0087df50 EXTERNAL:000000bb -0087df50 EXTERNAL:000000a0 +0087df50 EXTERNAL:000000ab 0087df50 EXTERNAL:000000bd 0087df50 EXTERNAL:00000083 -0087df50 EXTERNAL:000000ab -0087df50 EXTERNAL:000000bc 0087df50 EXTERNAL:000000be -0087df50 EXTERNAL:000000bf +0087df50 EXTERNAL:000000a0 +0087df50 EXTERNAL:000000bc 0087e0c0 EXTERNAL:000000b8 +0087e0c0 EXTERNAL:000000bf 0087e0c0 EXTERNAL:000000bb +0087e0c0 EXTERNAL:000000be 0087e0c0 EXTERNAL:000000a0 0087e0c0 EXTERNAL:000000bc -0087e0c0 EXTERNAL:000000be -0087e0c0 EXTERNAL:000000bf 0087e120 EXTERNAL:000000b8 +0087e120 EXTERNAL:000000bf 0087e120 EXTERNAL:000000bb +0087e120 EXTERNAL:000000be 0087e120 EXTERNAL:000000a0 0087e120 EXTERNAL:000000bc -0087e120 EXTERNAL:000000be -0087e120 EXTERNAL:000000bf 0087e180 EXTERNAL:000000b8 +0087e180 EXTERNAL:000000bf 0087e180 EXTERNAL:000000bb +0087e180 EXTERNAL:000000be 0087e180 EXTERNAL:000000a0 0087e180 EXTERNAL:000000bc -0087e180 EXTERNAL:000000be -0087e180 EXTERNAL:000000bf 0087e1e0 EXTERNAL:000000b8 -0087e1e0 EXTERNAL:000000bb -0087e1e0 EXTERNAL:000000a0 -0087e1e0 EXTERNAL:000000ab -0087e1e0 EXTERNAL:000000bc -0087e1e0 EXTERNAL:000000be 0087e1e0 EXTERNAL:000000bf +0087e1e0 EXTERNAL:000000bb +0087e1e0 EXTERNAL:000000ab +0087e1e0 EXTERNAL:000000be +0087e1e0 EXTERNAL:000000a0 +0087e1e0 EXTERNAL:000000bc +0087e290 EXTERNAL:000000bf 0087e290 EXTERNAL:000000b8 0087e290 EXTERNAL:000000bb -0087e290 EXTERNAL:000000a0 +0087e290 EXTERNAL:000000ab 0087e290 EXTERNAL:000000bd 0087e290 EXTERNAL:00000083 -0087e290 EXTERNAL:000000ab -0087e290 EXTERNAL:000000bc 0087e290 EXTERNAL:000000be -0087e290 EXTERNAL:000000bf +0087e290 EXTERNAL:000000a0 +0087e290 EXTERNAL:000000bc +0087e410 EXTERNAL:000000bf 0087e410 EXTERNAL:000000b8 0087e410 EXTERNAL:000000bb -0087e410 EXTERNAL:000000a0 +0087e410 EXTERNAL:000000ab 0087e410 EXTERNAL:000000bd 0087e410 EXTERNAL:00000083 -0087e410 EXTERNAL:000000ab -0087e410 EXTERNAL:000000bc 0087e410 EXTERNAL:000000be -0087e410 EXTERNAL:000000bf +0087e410 EXTERNAL:000000a0 +0087e410 EXTERNAL:000000bc +0087e580 EXTERNAL:000000bf 0087e580 EXTERNAL:000000b8 0087e580 EXTERNAL:000000bb -0087e580 EXTERNAL:000000a0 +0087e580 EXTERNAL:000000ab 0087e580 EXTERNAL:000000bd 0087e580 EXTERNAL:00000083 -0087e580 EXTERNAL:000000ab -0087e580 EXTERNAL:000000bc 0087e580 EXTERNAL:000000be -0087e580 EXTERNAL:000000bf +0087e580 EXTERNAL:000000a0 +0087e580 EXTERNAL:000000bc +0087e6f0 EXTERNAL:000000bf 0087e6f0 EXTERNAL:000000b8 0087e6f0 EXTERNAL:000000bb -0087e6f0 EXTERNAL:000000a0 +0087e6f0 EXTERNAL:000000ab 0087e6f0 EXTERNAL:000000bd 0087e6f0 EXTERNAL:00000083 -0087e6f0 EXTERNAL:000000ab -0087e6f0 EXTERNAL:000000bc 0087e6f0 EXTERNAL:000000be -0087e6f0 EXTERNAL:000000bf +0087e6f0 EXTERNAL:000000a0 +0087e6f0 EXTERNAL:000000bc 0087e870 EXTERNAL:000000b8 +0087e870 EXTERNAL:000000bf 0087e870 EXTERNAL:000000bb +0087e870 EXTERNAL:000000be 0087e870 EXTERNAL:000000a0 0087e870 EXTERNAL:000000bc -0087e870 EXTERNAL:000000be -0087e870 EXTERNAL:000000bf +0087e8d0 EXTERNAL:000000bf 0087e8d0 EXTERNAL:000000b8 0087e8d0 EXTERNAL:000000bb -0087e8d0 EXTERNAL:000000a0 +0087e8d0 EXTERNAL:000000ab 0087e8d0 EXTERNAL:000000bd 0087e8d0 EXTERNAL:00000083 -0087e8d0 EXTERNAL:000000ab -0087e8d0 EXTERNAL:000000bc 0087e8d0 EXTERNAL:000000be -0087e8d0 EXTERNAL:000000bf +0087e8d0 EXTERNAL:000000a0 +0087e8d0 EXTERNAL:000000bc +0087ea40 EXTERNAL:000000bf 0087ea40 EXTERNAL:000000b8 0087ea40 EXTERNAL:000000bb -0087ea40 EXTERNAL:000000a0 +0087ea40 EXTERNAL:000000ab 0087ea40 EXTERNAL:000000bd 0087ea40 EXTERNAL:00000083 -0087ea40 EXTERNAL:000000ab -0087ea40 EXTERNAL:000000bc 0087ea40 EXTERNAL:000000be -0087ea40 EXTERNAL:000000bf +0087ea40 EXTERNAL:000000a0 +0087ea40 EXTERNAL:000000bc 0087ebc0 EXTERNAL:000000b8 +0087ebc0 EXTERNAL:000000bf 0087ebc0 EXTERNAL:000000bb +0087ebc0 EXTERNAL:000000be 0087ebc0 EXTERNAL:000000a0 0087ebc0 EXTERNAL:000000bc -0087ebc0 EXTERNAL:000000be -0087ebc0 EXTERNAL:000000bf +0087ec20 EXTERNAL:000000bf 0087ec20 EXTERNAL:000000b8 0087ec20 EXTERNAL:000000bb -0087ec20 EXTERNAL:000000a0 +0087ec20 EXTERNAL:000000ab 0087ec20 EXTERNAL:000000bd 0087ec20 EXTERNAL:00000083 -0087ec20 EXTERNAL:000000ab -0087ec20 EXTERNAL:000000bc 0087ec20 EXTERNAL:000000be -0087ec20 EXTERNAL:000000bf +0087ec20 EXTERNAL:000000a0 +0087ec20 EXTERNAL:000000bc +0087ed10 EXTERNAL:000000bf 0087ed10 EXTERNAL:000000b8 0087ed10 EXTERNAL:000000bb -0087ed10 EXTERNAL:000000a0 +0087ed10 EXTERNAL:000000ab 0087ed10 EXTERNAL:000000bd 0087ed10 EXTERNAL:00000083 -0087ed10 EXTERNAL:000000ab -0087ed10 EXTERNAL:000000bc 0087ed10 EXTERNAL:000000be -0087ed10 EXTERNAL:000000bf +0087ed10 EXTERNAL:000000a0 +0087ed10 EXTERNAL:000000bc 0087ee90 EXTERNAL:000000b8 -0087ee90 EXTERNAL:000000bb -0087ee90 EXTERNAL:000000a0 -0087ee90 EXTERNAL:000000ab -0087ee90 EXTERNAL:000000bc -0087ee90 EXTERNAL:000000be 0087ee90 EXTERNAL:000000bf +0087ee90 EXTERNAL:000000bb +0087ee90 EXTERNAL:000000ab +0087ee90 EXTERNAL:000000be +0087ee90 EXTERNAL:000000a0 +0087ee90 EXTERNAL:000000bc 0087ef30 EXTERNAL:000000b8 -0087ef30 EXTERNAL:000000bb -0087ef30 EXTERNAL:000000a0 -0087ef30 EXTERNAL:000000ab -0087ef30 EXTERNAL:000000bc -0087ef30 EXTERNAL:000000be 0087ef30 EXTERNAL:000000bf +0087ef30 EXTERNAL:000000bb +0087ef30 EXTERNAL:000000ab +0087ef30 EXTERNAL:000000be +0087ef30 EXTERNAL:000000a0 +0087ef30 EXTERNAL:000000bc 0087efe0 EXTERNAL:000000b8 +0087efe0 EXTERNAL:000000bf 0087efe0 EXTERNAL:000000bb +0087efe0 EXTERNAL:000000be 0087efe0 EXTERNAL:000000a0 0087efe0 EXTERNAL:000000bc -0087efe0 EXTERNAL:000000be -0087efe0 EXTERNAL:000000bf 0087f040 EXTERNAL:000000b8 -0087f040 EXTERNAL:000000bb -0087f040 EXTERNAL:000000a0 -0087f040 EXTERNAL:000000ab -0087f040 EXTERNAL:000000bc -0087f040 EXTERNAL:000000be 0087f040 EXTERNAL:000000bf +0087f040 EXTERNAL:000000bb +0087f040 EXTERNAL:000000ab +0087f040 EXTERNAL:000000be +0087f040 EXTERNAL:000000a0 +0087f040 EXTERNAL:000000bc 0087f0f0 EXTERNAL:000000b8 -0087f0f0 EXTERNAL:000000bb -0087f0f0 EXTERNAL:000000a0 -0087f0f0 EXTERNAL:000000ab -0087f0f0 EXTERNAL:000000bc -0087f0f0 EXTERNAL:000000be 0087f0f0 EXTERNAL:000000bf +0087f0f0 EXTERNAL:000000bb +0087f0f0 EXTERNAL:000000ab +0087f0f0 EXTERNAL:000000be +0087f0f0 EXTERNAL:000000a0 +0087f0f0 EXTERNAL:000000bc 0087f1a0 EXTERNAL:000000b8 +0087f1a0 EXTERNAL:000000bf 0087f1a0 EXTERNAL:000000bb +0087f1a0 EXTERNAL:000000be 0087f1a0 EXTERNAL:000000a0 0087f1a0 EXTERNAL:000000bc -0087f1a0 EXTERNAL:000000be -0087f1a0 EXTERNAL:000000bf 0087f200 EXTERNAL:000000b8 +0087f200 EXTERNAL:000000bf 0087f200 EXTERNAL:000000bb +0087f200 EXTERNAL:000000be 0087f200 EXTERNAL:000000a0 0087f200 EXTERNAL:000000bc -0087f200 EXTERNAL:000000be -0087f200 EXTERNAL:000000bf 0087f260 EXTERNAL:000000b8 +0087f260 EXTERNAL:000000bf 0087f260 EXTERNAL:000000bb +0087f260 EXTERNAL:000000be 0087f260 EXTERNAL:000000a0 0087f260 EXTERNAL:000000bc -0087f260 EXTERNAL:000000be -0087f260 EXTERNAL:000000bf 0087f2c0 EXTERNAL:000000b8 +0087f2c0 EXTERNAL:000000bf 0087f2c0 EXTERNAL:000000bb +0087f2c0 EXTERNAL:000000be 0087f2c0 EXTERNAL:000000a0 0087f2c0 EXTERNAL:000000bc -0087f2c0 EXTERNAL:000000be -0087f2c0 EXTERNAL:000000bf 0087f320 EXTERNAL:000000b8 -0087f320 EXTERNAL:000000bb -0087f320 EXTERNAL:000000a0 -0087f320 EXTERNAL:000000ab -0087f320 EXTERNAL:000000bc -0087f320 EXTERNAL:000000be 0087f320 EXTERNAL:000000bf +0087f320 EXTERNAL:000000bb +0087f320 EXTERNAL:000000ab +0087f320 EXTERNAL:000000be +0087f320 EXTERNAL:000000a0 +0087f320 EXTERNAL:000000bc +0087f3d0 EXTERNAL:000000bf 0087f3d0 EXTERNAL:000000b8 0087f3d0 EXTERNAL:000000bb -0087f3d0 EXTERNAL:000000a0 +0087f3d0 EXTERNAL:000000ab 0087f3d0 EXTERNAL:000000bd 0087f3d0 EXTERNAL:00000083 -0087f3d0 EXTERNAL:000000ab -0087f3d0 EXTERNAL:000000bc 0087f3d0 EXTERNAL:000000be -0087f3d0 EXTERNAL:000000bf +0087f3d0 EXTERNAL:000000a0 +0087f3d0 EXTERNAL:000000bc 0087f540 EXTERNAL:000000b8 +0087f540 EXTERNAL:000000bf 0087f540 EXTERNAL:000000bb +0087f540 EXTERNAL:000000be 0087f540 EXTERNAL:000000a0 0087f540 EXTERNAL:000000bc -0087f540 EXTERNAL:000000be -0087f540 EXTERNAL:000000bf 0087f5a0 EXTERNAL:000000b8 +0087f5a0 EXTERNAL:000000bf 0087f5a0 EXTERNAL:000000bb +0087f5a0 EXTERNAL:000000be 0087f5a0 EXTERNAL:000000a0 0087f5a0 EXTERNAL:000000bc -0087f5a0 EXTERNAL:000000be -0087f5a0 EXTERNAL:000000bf 0087f600 EXTERNAL:000000b8 -0087f600 EXTERNAL:000000bb -0087f600 EXTERNAL:000000a0 -0087f600 EXTERNAL:000000ab -0087f600 EXTERNAL:000000bc -0087f600 EXTERNAL:000000be 0087f600 EXTERNAL:000000bf +0087f600 EXTERNAL:000000bb +0087f600 EXTERNAL:000000ab +0087f600 EXTERNAL:000000be +0087f600 EXTERNAL:000000a0 +0087f600 EXTERNAL:000000bc 0087f6b0 EXTERNAL:000000b8 +0087f6b0 EXTERNAL:000000bf 0087f6b0 EXTERNAL:000000bb +0087f6b0 EXTERNAL:000000be 0087f6b0 EXTERNAL:000000a0 0087f6b0 EXTERNAL:000000bc -0087f6b0 EXTERNAL:000000be -0087f6b0 EXTERNAL:000000bf 0087f710 EXTERNAL:000000b8 +0087f710 EXTERNAL:000000bf 0087f710 EXTERNAL:000000bb +0087f710 EXTERNAL:000000be 0087f710 EXTERNAL:000000a0 0087f710 EXTERNAL:000000bc -0087f710 EXTERNAL:000000be -0087f710 EXTERNAL:000000bf 0087f770 EXTERNAL:000000b8 -0087f770 EXTERNAL:000000bb -0087f770 EXTERNAL:000000bc -0087f770 EXTERNAL:000000be 0087f770 EXTERNAL:000000bf +0087f770 EXTERNAL:000000bb +0087f770 EXTERNAL:000000be +0087f770 EXTERNAL:000000bc 0087f810 EXTERNAL:000000b8 -0087f810 EXTERNAL:000000bb -0087f810 EXTERNAL:000000bc -0087f810 EXTERNAL:000000be 0087f810 EXTERNAL:000000bf +0087f810 EXTERNAL:000000bb +0087f810 EXTERNAL:000000be +0087f810 EXTERNAL:000000bc 0087f8b0 EXTERNAL:000000b8 -0087f8b0 EXTERNAL:000000bb -0087f8b0 EXTERNAL:000000bc -0087f8b0 EXTERNAL:000000be 0087f8b0 EXTERNAL:000000bf +0087f8b0 EXTERNAL:000000bb +0087f8b0 EXTERNAL:000000be +0087f8b0 EXTERNAL:000000bc 0087f950 EXTERNAL:000000b8 -0087f950 EXTERNAL:000000bb -0087f950 EXTERNAL:000000bc -0087f950 EXTERNAL:000000be 0087f950 EXTERNAL:000000bf +0087f950 EXTERNAL:000000bb +0087f950 EXTERNAL:000000be +0087f950 EXTERNAL:000000bc 0087f9f0 EXTERNAL:000000b8 -0087f9f0 EXTERNAL:000000bb -0087f9f0 EXTERNAL:000000bc -0087f9f0 EXTERNAL:000000be 0087f9f0 EXTERNAL:000000bf +0087f9f0 EXTERNAL:000000bb +0087f9f0 EXTERNAL:000000be +0087f9f0 EXTERNAL:000000bc 0087fa90 EXTERNAL:000000b8 -0087fa90 EXTERNAL:000000bb -0087fa90 EXTERNAL:000000bc -0087fa90 EXTERNAL:000000be 0087fa90 EXTERNAL:000000bf +0087fa90 EXTERNAL:000000bb +0087fa90 EXTERNAL:000000be +0087fa90 EXTERNAL:000000bc 0087fb30 EXTERNAL:000000b8 -0087fb30 EXTERNAL:000000bb -0087fb30 EXTERNAL:000000bc -0087fb30 EXTERNAL:000000be 0087fb30 EXTERNAL:000000bf +0087fb30 EXTERNAL:000000bb +0087fb30 EXTERNAL:000000be +0087fb30 EXTERNAL:000000bc 0087fbd0 EXTERNAL:000000b8 -0087fbd0 EXTERNAL:000000bb -0087fbd0 EXTERNAL:000000bc -0087fbd0 EXTERNAL:000000be 0087fbd0 EXTERNAL:000000bf +0087fbd0 EXTERNAL:000000bb +0087fbd0 EXTERNAL:000000be +0087fbd0 EXTERNAL:000000bc 0087fc70 EXTERNAL:000000b8 -0087fc70 EXTERNAL:000000bb -0087fc70 EXTERNAL:000000bc -0087fc70 EXTERNAL:000000be 0087fc70 EXTERNAL:000000bf +0087fc70 EXTERNAL:000000bb +0087fc70 EXTERNAL:000000be +0087fc70 EXTERNAL:000000bc 0087fd10 EXTERNAL:000000b8 -0087fd10 EXTERNAL:000000bb -0087fd10 EXTERNAL:000000bc -0087fd10 EXTERNAL:000000be 0087fd10 EXTERNAL:000000bf +0087fd10 EXTERNAL:000000bb +0087fd10 EXTERNAL:000000be +0087fd10 EXTERNAL:000000bc 0087fdb0 008a4a20 +0087fdd0 EXTERNAL:000000bf 0087fdd0 EXTERNAL:000000b8 0087fdd0 EXTERNAL:000000bb -0087fdd0 EXTERNAL:000000a0 +0087fdd0 EXTERNAL:000000ab 0087fdd0 EXTERNAL:000000bd 0087fdd0 EXTERNAL:00000083 -0087fdd0 EXTERNAL:000000ab -0087fdd0 EXTERNAL:000000bc 0087fdd0 EXTERNAL:000000be -0087fdd0 EXTERNAL:000000bf +0087fdd0 EXTERNAL:000000a0 +0087fdd0 EXTERNAL:000000bc +0087ff40 EXTERNAL:000000bf 0087ff40 EXTERNAL:000000b8 0087ff40 EXTERNAL:000000bb -0087ff40 EXTERNAL:000000a0 +0087ff40 EXTERNAL:000000ab 0087ff40 EXTERNAL:000000bd 0087ff40 EXTERNAL:00000083 -0087ff40 EXTERNAL:000000ab -0087ff40 EXTERNAL:000000bc 0087ff40 EXTERNAL:000000be -0087ff40 EXTERNAL:000000bf +0087ff40 EXTERNAL:000000a0 +0087ff40 EXTERNAL:000000bc +008800c0 EXTERNAL:000000bf 008800c0 EXTERNAL:000000b8 008800c0 EXTERNAL:000000bb -008800c0 EXTERNAL:000000a0 +008800c0 EXTERNAL:000000ab 008800c0 EXTERNAL:000000bd 008800c0 EXTERNAL:00000083 -008800c0 EXTERNAL:000000ab -008800c0 EXTERNAL:000000bc 008800c0 EXTERNAL:000000be -008800c0 EXTERNAL:000000bf +008800c0 EXTERNAL:000000a0 +008800c0 EXTERNAL:000000bc 008801c0 EXTERNAL:000000b8 +008801c0 EXTERNAL:000000bf 008801c0 EXTERNAL:000000bb +008801c0 EXTERNAL:000000be 008801c0 EXTERNAL:000000a0 008801c0 EXTERNAL:000000bc -008801c0 EXTERNAL:000000be -008801c0 EXTERNAL:000000bf 00880220 EXTERNAL:000000b8 +00880220 EXTERNAL:000000bf 00880220 EXTERNAL:000000bb +00880220 EXTERNAL:000000be 00880220 EXTERNAL:000000a0 00880220 EXTERNAL:000000bc -00880220 EXTERNAL:000000be -00880220 EXTERNAL:000000bf 00880280 EXTERNAL:000000b8 +00880280 EXTERNAL:000000bf 00880280 EXTERNAL:000000bb +00880280 EXTERNAL:000000be 00880280 EXTERNAL:000000a0 00880280 EXTERNAL:000000bc -00880280 EXTERNAL:000000be -00880280 EXTERNAL:000000bf 008802e0 EXTERNAL:000000b8 +008802e0 EXTERNAL:000000bf 008802e0 EXTERNAL:000000bb +008802e0 EXTERNAL:000000be 008802e0 EXTERNAL:000000a0 008802e0 EXTERNAL:000000bc -008802e0 EXTERNAL:000000be -008802e0 EXTERNAL:000000bf +00880340 EXTERNAL:000000bf 00880340 EXTERNAL:000000b8 00880340 EXTERNAL:000000bb -00880340 EXTERNAL:000000a0 +00880340 EXTERNAL:000000ab 00880340 EXTERNAL:000000bd 00880340 EXTERNAL:00000083 -00880340 EXTERNAL:000000ab -00880340 EXTERNAL:000000bc 00880340 EXTERNAL:000000be -00880340 EXTERNAL:000000bf +00880340 EXTERNAL:000000a0 +00880340 EXTERNAL:000000bc +008804b0 EXTERNAL:000000bf 008804b0 EXTERNAL:000000b8 008804b0 EXTERNAL:000000bb -008804b0 EXTERNAL:000000a0 +008804b0 EXTERNAL:000000ab 008804b0 EXTERNAL:000000bd 008804b0 EXTERNAL:00000083 -008804b0 EXTERNAL:000000ab -008804b0 EXTERNAL:000000bc 008804b0 EXTERNAL:000000be -008804b0 EXTERNAL:000000bf +008804b0 EXTERNAL:000000a0 +008804b0 EXTERNAL:000000bc +008805a0 EXTERNAL:000000bf 008805a0 EXTERNAL:000000b8 008805a0 EXTERNAL:000000bb -008805a0 EXTERNAL:000000a0 +008805a0 EXTERNAL:000000ab 008805a0 EXTERNAL:000000bd 008805a0 EXTERNAL:00000083 -008805a0 EXTERNAL:000000ab -008805a0 EXTERNAL:000000bc 008805a0 EXTERNAL:000000be -008805a0 EXTERNAL:000000bf +008805a0 EXTERNAL:000000a0 +008805a0 EXTERNAL:000000bc +00880710 EXTERNAL:000000bf 00880710 EXTERNAL:000000b8 00880710 EXTERNAL:000000bb -00880710 EXTERNAL:000000a0 +00880710 EXTERNAL:000000ab 00880710 EXTERNAL:000000bd 00880710 EXTERNAL:00000083 -00880710 EXTERNAL:000000ab -00880710 EXTERNAL:000000bc 00880710 EXTERNAL:000000be -00880710 EXTERNAL:000000bf +00880710 EXTERNAL:000000a0 +00880710 EXTERNAL:000000bc +00880880 EXTERNAL:000000bf 00880880 EXTERNAL:000000b8 00880880 EXTERNAL:000000bb -00880880 EXTERNAL:000000a0 +00880880 EXTERNAL:000000ab 00880880 EXTERNAL:000000bd 00880880 EXTERNAL:00000083 -00880880 EXTERNAL:000000ab -00880880 EXTERNAL:000000bc 00880880 EXTERNAL:000000be -00880880 EXTERNAL:000000bf +00880880 EXTERNAL:000000a0 +00880880 EXTERNAL:000000bc +00880a00 EXTERNAL:000000bf 00880a00 EXTERNAL:000000b8 00880a00 EXTERNAL:000000bb -00880a00 EXTERNAL:000000a0 +00880a00 EXTERNAL:000000ab 00880a00 EXTERNAL:000000bd 00880a00 EXTERNAL:00000083 -00880a00 EXTERNAL:000000ab -00880a00 EXTERNAL:000000bc 00880a00 EXTERNAL:000000be -00880a00 EXTERNAL:000000bf +00880a00 EXTERNAL:000000a0 +00880a00 EXTERNAL:000000bc +00880b80 EXTERNAL:000000bf 00880b80 EXTERNAL:000000b8 00880b80 EXTERNAL:000000bb -00880b80 EXTERNAL:000000a0 +00880b80 EXTERNAL:000000ab 00880b80 EXTERNAL:000000bd 00880b80 EXTERNAL:00000083 -00880b80 EXTERNAL:000000ab -00880b80 EXTERNAL:000000bc 00880b80 EXTERNAL:000000be -00880b80 EXTERNAL:000000bf +00880b80 EXTERNAL:000000a0 +00880b80 EXTERNAL:000000bc 00880c80 008a47c0 00880ca0 EXTERNAL:000000b8 +00880ca0 EXTERNAL:000000bf 00880ca0 EXTERNAL:000000bb +00880ca0 EXTERNAL:000000be 00880ca0 EXTERNAL:000000a0 00880ca0 EXTERNAL:000000bc -00880ca0 EXTERNAL:000000be -00880ca0 EXTERNAL:000000bf 00880d00 EXTERNAL:000000b8 -00880d00 EXTERNAL:000000bb -00880d00 EXTERNAL:000000a0 -00880d00 EXTERNAL:000000ab -00880d00 EXTERNAL:000000bc -00880d00 EXTERNAL:000000be 00880d00 EXTERNAL:000000bf +00880d00 EXTERNAL:000000bb +00880d00 EXTERNAL:000000ab +00880d00 EXTERNAL:000000be +00880d00 EXTERNAL:000000a0 +00880d00 EXTERNAL:000000bc 00880db0 EXTERNAL:000000b8 +00880db0 EXTERNAL:000000bf 00880db0 EXTERNAL:000000bb +00880db0 EXTERNAL:000000be 00880db0 EXTERNAL:000000a0 00880db0 EXTERNAL:000000bc -00880db0 EXTERNAL:000000be -00880db0 EXTERNAL:000000bf 00880e10 EXTERNAL:000000b8 +00880e10 EXTERNAL:000000bf 00880e10 EXTERNAL:000000bb +00880e10 EXTERNAL:000000be 00880e10 EXTERNAL:000000a0 00880e10 EXTERNAL:000000bc -00880e10 EXTERNAL:000000be -00880e10 EXTERNAL:000000bf 00880e70 EXTERNAL:000000b8 +00880e70 EXTERNAL:000000bf 00880e70 EXTERNAL:000000bb +00880e70 EXTERNAL:000000be 00880e70 EXTERNAL:000000a0 00880e70 EXTERNAL:000000bc -00880e70 EXTERNAL:000000be -00880e70 EXTERNAL:000000bf 00880ed0 EXTERNAL:000000b8 +00880ed0 EXTERNAL:000000bf 00880ed0 EXTERNAL:000000bb +00880ed0 EXTERNAL:000000be 00880ed0 EXTERNAL:000000a0 00880ed0 EXTERNAL:000000bc -00880ed0 EXTERNAL:000000be -00880ed0 EXTERNAL:000000bf 00880f30 EXTERNAL:000000b8 +00880f30 EXTERNAL:000000bf 00880f30 EXTERNAL:000000bb +00880f30 EXTERNAL:000000be 00880f30 EXTERNAL:000000a0 00880f30 EXTERNAL:000000bc -00880f30 EXTERNAL:000000be -00880f30 EXTERNAL:000000bf 00880f90 EXTERNAL:000000b8 +00880f90 EXTERNAL:000000bf 00880f90 EXTERNAL:000000bb +00880f90 EXTERNAL:000000be 00880f90 EXTERNAL:000000a0 00880f90 EXTERNAL:000000bc -00880f90 EXTERNAL:000000be -00880f90 EXTERNAL:000000bf 00880ff0 EXTERNAL:000000b8 -00880ff0 EXTERNAL:000000bb -00880ff0 EXTERNAL:000000a0 -00880ff0 EXTERNAL:000000ab -00880ff0 EXTERNAL:000000bc -00880ff0 EXTERNAL:000000be 00880ff0 EXTERNAL:000000bf +00880ff0 EXTERNAL:000000bb +00880ff0 EXTERNAL:000000ab +00880ff0 EXTERNAL:000000be +00880ff0 EXTERNAL:000000a0 +00880ff0 EXTERNAL:000000bc 00881090 EXTERNAL:000000b8 +00881090 EXTERNAL:000000bf 00881090 EXTERNAL:000000bb +00881090 EXTERNAL:000000be 00881090 EXTERNAL:000000a0 00881090 EXTERNAL:000000bc -00881090 EXTERNAL:000000be -00881090 EXTERNAL:000000bf 008810f0 EXTERNAL:000000b8 +008810f0 EXTERNAL:000000bf 008810f0 EXTERNAL:000000bb +008810f0 EXTERNAL:000000be 008810f0 EXTERNAL:000000a0 008810f0 EXTERNAL:000000bc -008810f0 EXTERNAL:000000be -008810f0 EXTERNAL:000000bf 00881150 EXTERNAL:000000b8 +00881150 EXTERNAL:000000bf 00881150 EXTERNAL:000000bb +00881150 EXTERNAL:000000be 00881150 EXTERNAL:000000a0 00881150 EXTERNAL:000000bc -00881150 EXTERNAL:000000be -00881150 EXTERNAL:000000bf 008811b0 EXTERNAL:000000b8 +008811b0 EXTERNAL:000000bf 008811b0 EXTERNAL:000000bb +008811b0 EXTERNAL:000000be 008811b0 EXTERNAL:000000a0 008811b0 EXTERNAL:000000bc -008811b0 EXTERNAL:000000be -008811b0 EXTERNAL:000000bf 00881210 EXTERNAL:000000b8 +00881210 EXTERNAL:000000bf 00881210 EXTERNAL:000000bb +00881210 EXTERNAL:000000be 00881210 EXTERNAL:000000a0 00881210 EXTERNAL:000000bc -00881210 EXTERNAL:000000be -00881210 EXTERNAL:000000bf 00881270 EXTERNAL:000000b8 +00881270 EXTERNAL:000000bf 00881270 EXTERNAL:000000bb +00881270 EXTERNAL:000000be 00881270 EXTERNAL:000000a0 00881270 EXTERNAL:000000bc -00881270 EXTERNAL:000000be -00881270 EXTERNAL:000000bf 008812d0 EXTERNAL:000000b8 +008812d0 EXTERNAL:000000bf 008812d0 EXTERNAL:000000bb +008812d0 EXTERNAL:000000be 008812d0 EXTERNAL:000000a0 008812d0 EXTERNAL:000000bc -008812d0 EXTERNAL:000000be -008812d0 EXTERNAL:000000bf 00881330 EXTERNAL:000000b8 +00881330 EXTERNAL:000000bf 00881330 EXTERNAL:000000bb +00881330 EXTERNAL:000000be 00881330 EXTERNAL:000000a0 00881330 EXTERNAL:000000bc -00881330 EXTERNAL:000000be -00881330 EXTERNAL:000000bf 00881390 EXTERNAL:000000b8 -00881390 EXTERNAL:000000bb -00881390 EXTERNAL:000000a0 -00881390 EXTERNAL:000000ab -00881390 EXTERNAL:000000bc -00881390 EXTERNAL:000000be 00881390 EXTERNAL:000000bf +00881390 EXTERNAL:000000bb +00881390 EXTERNAL:000000ab +00881390 EXTERNAL:000000be +00881390 EXTERNAL:000000a0 +00881390 EXTERNAL:000000bc 00881430 EXTERNAL:000000b8 +00881430 EXTERNAL:000000bf 00881430 EXTERNAL:000000bb +00881430 EXTERNAL:000000be 00881430 EXTERNAL:000000a0 00881430 EXTERNAL:000000bc -00881430 EXTERNAL:000000be -00881430 EXTERNAL:000000bf 00881490 EXTERNAL:000000b8 +00881490 EXTERNAL:000000bf 00881490 EXTERNAL:000000bb +00881490 EXTERNAL:000000be 00881490 EXTERNAL:000000a0 00881490 EXTERNAL:000000bc -00881490 EXTERNAL:000000be -00881490 EXTERNAL:000000bf 008814f0 EXTERNAL:000000b8 +008814f0 EXTERNAL:000000bf 008814f0 EXTERNAL:000000bb +008814f0 EXTERNAL:000000be 008814f0 EXTERNAL:000000a0 008814f0 EXTERNAL:000000bc -008814f0 EXTERNAL:000000be -008814f0 EXTERNAL:000000bf 00881550 EXTERNAL:000000b8 -00881550 EXTERNAL:000000bb -00881550 EXTERNAL:000000a0 -00881550 EXTERNAL:000000ab -00881550 EXTERNAL:000000bc -00881550 EXTERNAL:000000be 00881550 EXTERNAL:000000bf +00881550 EXTERNAL:000000bb +00881550 EXTERNAL:000000ab +00881550 EXTERNAL:000000be +00881550 EXTERNAL:000000a0 +00881550 EXTERNAL:000000bc 008815f0 EXTERNAL:000000b8 +008815f0 EXTERNAL:000000bf 008815f0 EXTERNAL:000000bb +008815f0 EXTERNAL:000000be 008815f0 EXTERNAL:000000a0 008815f0 EXTERNAL:000000bc -008815f0 EXTERNAL:000000be -008815f0 EXTERNAL:000000bf 00881650 EXTERNAL:000000b8 -00881650 EXTERNAL:000000bb -00881650 EXTERNAL:000000a0 -00881650 EXTERNAL:000000ab -00881650 EXTERNAL:000000bc -00881650 EXTERNAL:000000be 00881650 EXTERNAL:000000bf +00881650 EXTERNAL:000000bb +00881650 EXTERNAL:000000ab +00881650 EXTERNAL:000000be +00881650 EXTERNAL:000000a0 +00881650 EXTERNAL:000000bc 008816f0 EXTERNAL:000000b8 +008816f0 EXTERNAL:000000bf 008816f0 EXTERNAL:000000bb +008816f0 EXTERNAL:000000be 008816f0 EXTERNAL:000000a0 008816f0 EXTERNAL:000000bc -008816f0 EXTERNAL:000000be -008816f0 EXTERNAL:000000bf 00881750 EXTERNAL:000000b8 -00881750 EXTERNAL:000000bb -00881750 EXTERNAL:000000a0 -00881750 EXTERNAL:000000ab -00881750 EXTERNAL:000000bc -00881750 EXTERNAL:000000be 00881750 EXTERNAL:000000bf +00881750 EXTERNAL:000000bb +00881750 EXTERNAL:000000ab +00881750 EXTERNAL:000000be +00881750 EXTERNAL:000000a0 +00881750 EXTERNAL:000000bc 00881800 EXTERNAL:000000b8 -00881800 EXTERNAL:000000bb -00881800 EXTERNAL:000000a0 -00881800 EXTERNAL:000000ab -00881800 EXTERNAL:000000bc -00881800 EXTERNAL:000000be 00881800 EXTERNAL:000000bf +00881800 EXTERNAL:000000bb +00881800 EXTERNAL:000000ab +00881800 EXTERNAL:000000be +00881800 EXTERNAL:000000a0 +00881800 EXTERNAL:000000bc 008818a0 EXTERNAL:000000b8 -008818a0 EXTERNAL:000000bb -008818a0 EXTERNAL:000000a0 -008818a0 EXTERNAL:000000ab -008818a0 EXTERNAL:000000bc -008818a0 EXTERNAL:000000be 008818a0 EXTERNAL:000000bf +008818a0 EXTERNAL:000000bb +008818a0 EXTERNAL:000000ab +008818a0 EXTERNAL:000000be +008818a0 EXTERNAL:000000a0 +008818a0 EXTERNAL:000000bc +00881950 EXTERNAL:000000bf 00881950 EXTERNAL:000000b8 00881950 EXTERNAL:000000bb -00881950 EXTERNAL:000000a0 +00881950 EXTERNAL:000000ab 00881950 EXTERNAL:000000bd 00881950 EXTERNAL:00000083 -00881950 EXTERNAL:000000ab -00881950 EXTERNAL:000000bc 00881950 EXTERNAL:000000be -00881950 EXTERNAL:000000bf +00881950 EXTERNAL:000000a0 +00881950 EXTERNAL:000000bc 00881ad0 EXTERNAL:000000b8 +00881ad0 EXTERNAL:000000bf 00881ad0 EXTERNAL:000000bb +00881ad0 EXTERNAL:000000be 00881ad0 EXTERNAL:000000a0 00881ad0 EXTERNAL:000000bc -00881ad0 EXTERNAL:000000be -00881ad0 EXTERNAL:000000bf 00881b30 EXTERNAL:000000b8 -00881b30 EXTERNAL:000000bb -00881b30 EXTERNAL:000000a0 -00881b30 EXTERNAL:000000ab -00881b30 EXTERNAL:000000bc -00881b30 EXTERNAL:000000be 00881b30 EXTERNAL:000000bf +00881b30 EXTERNAL:000000bb +00881b30 EXTERNAL:000000ab +00881b30 EXTERNAL:000000be +00881b30 EXTERNAL:000000a0 +00881b30 EXTERNAL:000000bc 00881bd0 EXTERNAL:000000b8 +00881bd0 EXTERNAL:000000bf 00881bd0 EXTERNAL:000000bb +00881bd0 EXTERNAL:000000be 00881bd0 EXTERNAL:000000a0 00881bd0 EXTERNAL:000000bc -00881bd0 EXTERNAL:000000be -00881bd0 EXTERNAL:000000bf 00881c30 EXTERNAL:000000b8 -00881c30 EXTERNAL:000000bb -00881c30 EXTERNAL:000000a0 -00881c30 EXTERNAL:000000ab -00881c30 EXTERNAL:000000bc -00881c30 EXTERNAL:000000be 00881c30 EXTERNAL:000000bf +00881c30 EXTERNAL:000000bb +00881c30 EXTERNAL:000000ab +00881c30 EXTERNAL:000000be +00881c30 EXTERNAL:000000a0 +00881c30 EXTERNAL:000000bc 00881cd0 EXTERNAL:000000b8 -00881cd0 EXTERNAL:000000bb -00881cd0 EXTERNAL:000000a0 -00881cd0 EXTERNAL:000000ab -00881cd0 EXTERNAL:000000bc -00881cd0 EXTERNAL:000000be 00881cd0 EXTERNAL:000000bf +00881cd0 EXTERNAL:000000bb +00881cd0 EXTERNAL:000000ab +00881cd0 EXTERNAL:000000be +00881cd0 EXTERNAL:000000a0 +00881cd0 EXTERNAL:000000bc 00881d70 EXTERNAL:000000b8 -00881d70 EXTERNAL:000000bb -00881d70 EXTERNAL:000000a0 -00881d70 EXTERNAL:000000ab -00881d70 EXTERNAL:000000bc -00881d70 EXTERNAL:000000be 00881d70 EXTERNAL:000000bf +00881d70 EXTERNAL:000000bb +00881d70 EXTERNAL:000000ab +00881d70 EXTERNAL:000000be +00881d70 EXTERNAL:000000a0 +00881d70 EXTERNAL:000000bc 00881e20 EXTERNAL:000000b8 -00881e20 EXTERNAL:000000bb -00881e20 EXTERNAL:000000a0 -00881e20 EXTERNAL:000000ab -00881e20 EXTERNAL:000000bc -00881e20 EXTERNAL:000000be 00881e20 EXTERNAL:000000bf +00881e20 EXTERNAL:000000bb +00881e20 EXTERNAL:000000ab +00881e20 EXTERNAL:000000be +00881e20 EXTERNAL:000000a0 +00881e20 EXTERNAL:000000bc 00881ed0 EXTERNAL:000000b8 +00881ed0 EXTERNAL:000000bf 00881ed0 EXTERNAL:000000bb +00881ed0 EXTERNAL:000000be 00881ed0 EXTERNAL:000000a0 00881ed0 EXTERNAL:000000bc -00881ed0 EXTERNAL:000000be -00881ed0 EXTERNAL:000000bf 00881f30 EXTERNAL:000000b8 +00881f30 EXTERNAL:000000bf 00881f30 EXTERNAL:000000bb +00881f30 EXTERNAL:000000be 00881f30 EXTERNAL:000000a0 00881f30 EXTERNAL:000000bc -00881f30 EXTERNAL:000000be -00881f30 EXTERNAL:000000bf 00881fb0 EXTERNAL:000000b8 -00881fb0 EXTERNAL:000000bb -00881fb0 EXTERNAL:000000a0 -00881fb0 EXTERNAL:000000ab -00881fb0 EXTERNAL:000000bc -00881fb0 EXTERNAL:000000be 00881fb0 EXTERNAL:000000bf +00881fb0 EXTERNAL:000000bb +00881fb0 EXTERNAL:000000ab +00881fb0 EXTERNAL:000000be +00881fb0 EXTERNAL:000000a0 +00881fb0 EXTERNAL:000000bc 00882060 EXTERNAL:000000b8 +00882060 EXTERNAL:000000bf 00882060 EXTERNAL:000000bb +00882060 EXTERNAL:000000be 00882060 EXTERNAL:000000a0 00882060 EXTERNAL:000000bc -00882060 EXTERNAL:000000be -00882060 EXTERNAL:000000bf 008820c0 EXTERNAL:000000b8 -008820c0 EXTERNAL:000000bb -008820c0 EXTERNAL:000000a0 -008820c0 EXTERNAL:000000ab -008820c0 EXTERNAL:000000bc -008820c0 EXTERNAL:000000be 008820c0 EXTERNAL:000000bf +008820c0 EXTERNAL:000000bb +008820c0 EXTERNAL:000000ab +008820c0 EXTERNAL:000000be +008820c0 EXTERNAL:000000a0 +008820c0 EXTERNAL:000000bc 00882170 EXTERNAL:000000b8 +00882170 EXTERNAL:000000bf 00882170 EXTERNAL:000000bb +00882170 EXTERNAL:000000be 00882170 EXTERNAL:000000a0 00882170 EXTERNAL:000000bc -00882170 EXTERNAL:000000be -00882170 EXTERNAL:000000bf 008821d0 EXTERNAL:000000b8 +008821d0 EXTERNAL:000000bf 008821d0 EXTERNAL:000000bb +008821d0 EXTERNAL:000000be 008821d0 EXTERNAL:000000a0 008821d0 EXTERNAL:000000bc -008821d0 EXTERNAL:000000be -008821d0 EXTERNAL:000000bf 00882230 EXTERNAL:000000b8 +00882230 EXTERNAL:000000bf 00882230 EXTERNAL:000000bb +00882230 EXTERNAL:000000be 00882230 EXTERNAL:000000a0 00882230 EXTERNAL:000000bc -00882230 EXTERNAL:000000be -00882230 EXTERNAL:000000bf 00882290 EXTERNAL:000000b8 +00882290 EXTERNAL:000000bf 00882290 EXTERNAL:000000bb +00882290 EXTERNAL:000000be 00882290 EXTERNAL:000000a0 00882290 EXTERNAL:000000bc -00882290 EXTERNAL:000000be -00882290 EXTERNAL:000000bf 008822f0 EXTERNAL:000000b8 +008822f0 EXTERNAL:000000bf 008822f0 EXTERNAL:000000bb +008822f0 EXTERNAL:000000be 008822f0 EXTERNAL:000000a0 008822f0 EXTERNAL:000000bc -008822f0 EXTERNAL:000000be -008822f0 EXTERNAL:000000bf 00882350 EXTERNAL:000000b8 +00882350 EXTERNAL:000000bf 00882350 EXTERNAL:000000bb +00882350 EXTERNAL:000000be 00882350 EXTERNAL:000000a0 00882350 EXTERNAL:000000bc -00882350 EXTERNAL:000000be -00882350 EXTERNAL:000000bf 008823b0 EXTERNAL:000000b8 +008823b0 EXTERNAL:000000bf 008823b0 EXTERNAL:000000bb +008823b0 EXTERNAL:000000be 008823b0 EXTERNAL:000000a0 008823b0 EXTERNAL:000000bc -008823b0 EXTERNAL:000000be -008823b0 EXTERNAL:000000bf 00882410 EXTERNAL:000000b8 +00882410 EXTERNAL:000000bf 00882410 EXTERNAL:000000bb +00882410 EXTERNAL:000000be 00882410 EXTERNAL:000000a0 00882410 EXTERNAL:000000bc -00882410 EXTERNAL:000000be -00882410 EXTERNAL:000000bf 00882470 EXTERNAL:000000b8 +00882470 EXTERNAL:000000bf 00882470 EXTERNAL:000000bb +00882470 EXTERNAL:000000be 00882470 EXTERNAL:000000a0 00882470 EXTERNAL:000000bc -00882470 EXTERNAL:000000be -00882470 EXTERNAL:000000bf +008824d0 EXTERNAL:000000bf 008824d0 EXTERNAL:000000b8 008824d0 EXTERNAL:000000bb -008824d0 EXTERNAL:000000a0 +008824d0 EXTERNAL:000000ab 008824d0 EXTERNAL:000000bd 008824d0 EXTERNAL:00000083 -008824d0 EXTERNAL:000000ab -008824d0 EXTERNAL:000000bc 008824d0 EXTERNAL:000000be -008824d0 EXTERNAL:000000bf +008824d0 EXTERNAL:000000a0 +008824d0 EXTERNAL:000000bc +00882650 EXTERNAL:000000bf 00882650 EXTERNAL:000000b8 00882650 EXTERNAL:000000bb -00882650 EXTERNAL:000000a0 +00882650 EXTERNAL:000000ab 00882650 EXTERNAL:000000bd 00882650 EXTERNAL:00000083 -00882650 EXTERNAL:000000ab -00882650 EXTERNAL:000000bc 00882650 EXTERNAL:000000be -00882650 EXTERNAL:000000bf +00882650 EXTERNAL:000000a0 +00882650 EXTERNAL:000000bc 008827d0 EXTERNAL:000000b8 +008827d0 EXTERNAL:000000bf 008827d0 EXTERNAL:000000bb +008827d0 EXTERNAL:000000be 008827d0 EXTERNAL:000000a0 008827d0 EXTERNAL:000000bc -008827d0 EXTERNAL:000000be -008827d0 EXTERNAL:000000bf 00882830 EXTERNAL:000000b8 +00882830 EXTERNAL:000000bf 00882830 EXTERNAL:000000bb +00882830 EXTERNAL:000000be 00882830 EXTERNAL:000000a0 00882830 EXTERNAL:000000bc -00882830 EXTERNAL:000000be -00882830 EXTERNAL:000000bf 00882890 EXTERNAL:000000b8 +00882890 EXTERNAL:000000bf 00882890 EXTERNAL:000000bb +00882890 EXTERNAL:000000be 00882890 EXTERNAL:000000a0 00882890 EXTERNAL:000000bc -00882890 EXTERNAL:000000be -00882890 EXTERNAL:000000bf 008828f0 EXTERNAL:000000b8 +008828f0 EXTERNAL:000000bf 008828f0 EXTERNAL:000000bb +008828f0 EXTERNAL:000000be 008828f0 EXTERNAL:000000a0 008828f0 EXTERNAL:000000bc -008828f0 EXTERNAL:000000be -008828f0 EXTERNAL:000000bf 00882950 EXTERNAL:000000b8 -00882950 EXTERNAL:000000bb -00882950 EXTERNAL:000000a0 -00882950 EXTERNAL:000000ab -00882950 EXTERNAL:000000bc -00882950 EXTERNAL:000000be 00882950 EXTERNAL:000000bf +00882950 EXTERNAL:000000bb +00882950 EXTERNAL:000000ab +00882950 EXTERNAL:000000be +00882950 EXTERNAL:000000a0 +00882950 EXTERNAL:000000bc 00882a00 EXTERNAL:000000b8 -00882a00 EXTERNAL:000000bb -00882a00 EXTERNAL:000000a0 -00882a00 EXTERNAL:000000ab -00882a00 EXTERNAL:000000bc -00882a00 EXTERNAL:000000be 00882a00 EXTERNAL:000000bf +00882a00 EXTERNAL:000000bb +00882a00 EXTERNAL:000000ab +00882a00 EXTERNAL:000000be +00882a00 EXTERNAL:000000a0 +00882a00 EXTERNAL:000000bc 00882ab0 EXTERNAL:000000b8 +00882ab0 EXTERNAL:000000bf 00882ab0 EXTERNAL:000000bb +00882ab0 EXTERNAL:000000be 00882ab0 EXTERNAL:000000a0 00882ab0 EXTERNAL:000000bc -00882ab0 EXTERNAL:000000be -00882ab0 EXTERNAL:000000bf 00882b10 EXTERNAL:000000b8 +00882b10 EXTERNAL:000000bf 00882b10 EXTERNAL:000000bb +00882b10 EXTERNAL:000000be 00882b10 EXTERNAL:000000a0 00882b10 EXTERNAL:000000bc -00882b10 EXTERNAL:000000be -00882b10 EXTERNAL:000000bf 00882b70 EXTERNAL:000000b8 +00882b70 EXTERNAL:000000bf 00882b70 EXTERNAL:000000bb +00882b70 EXTERNAL:000000be 00882b70 EXTERNAL:000000a0 00882b70 EXTERNAL:000000bc -00882b70 EXTERNAL:000000be -00882b70 EXTERNAL:000000bf 00882bd0 EXTERNAL:000000b8 +00882bd0 EXTERNAL:000000bf 00882bd0 EXTERNAL:000000bb +00882bd0 EXTERNAL:000000be 00882bd0 EXTERNAL:000000a0 00882bd0 EXTERNAL:000000bc -00882bd0 EXTERNAL:000000be -00882bd0 EXTERNAL:000000bf 00882c30 EXTERNAL:000000b8 +00882c30 EXTERNAL:000000bf 00882c30 EXTERNAL:000000bb +00882c30 EXTERNAL:000000be 00882c30 EXTERNAL:000000a0 00882c30 EXTERNAL:000000bc -00882c30 EXTERNAL:000000be -00882c30 EXTERNAL:000000bf 00882c90 EXTERNAL:000000b8 +00882c90 EXTERNAL:000000bf 00882c90 EXTERNAL:000000bb +00882c90 EXTERNAL:000000be 00882c90 EXTERNAL:000000a0 00882c90 EXTERNAL:000000bc -00882c90 EXTERNAL:000000be -00882c90 EXTERNAL:000000bf 00882cf0 EXTERNAL:000000b8 +00882cf0 EXTERNAL:000000bf 00882cf0 EXTERNAL:000000bb +00882cf0 EXTERNAL:000000be 00882cf0 EXTERNAL:000000a0 00882cf0 EXTERNAL:000000bc -00882cf0 EXTERNAL:000000be -00882cf0 EXTERNAL:000000bf +00882d50 EXTERNAL:000000bf 00882d50 EXTERNAL:000000b8 00882d50 EXTERNAL:000000bb -00882d50 EXTERNAL:000000a0 +00882d50 EXTERNAL:000000ab 00882d50 EXTERNAL:000000bd 00882d50 EXTERNAL:00000083 -00882d50 EXTERNAL:000000ab -00882d50 EXTERNAL:000000bc 00882d50 EXTERNAL:000000be -00882d50 EXTERNAL:000000bf +00882d50 EXTERNAL:000000a0 +00882d50 EXTERNAL:000000bc 00882ed0 EXTERNAL:000000b8 +00882ed0 EXTERNAL:000000bf 00882ed0 EXTERNAL:000000bb +00882ed0 EXTERNAL:000000be 00882ed0 EXTERNAL:000000a0 00882ed0 EXTERNAL:000000bc -00882ed0 EXTERNAL:000000be -00882ed0 EXTERNAL:000000bf 00882f30 EXTERNAL:000000b8 +00882f30 EXTERNAL:000000bf 00882f30 EXTERNAL:000000bb +00882f30 EXTERNAL:000000be 00882f30 EXTERNAL:000000a0 00882f30 EXTERNAL:000000bc -00882f30 EXTERNAL:000000be -00882f30 EXTERNAL:000000bf 00882f90 EXTERNAL:000000b8 +00882f90 EXTERNAL:000000bf 00882f90 EXTERNAL:000000bb +00882f90 EXTERNAL:000000be 00882f90 EXTERNAL:000000a0 00882f90 EXTERNAL:000000bc -00882f90 EXTERNAL:000000be -00882f90 EXTERNAL:000000bf 00882ff0 EXTERNAL:000000b8 -00882ff0 EXTERNAL:000000bb -00882ff0 EXTERNAL:000000a0 -00882ff0 EXTERNAL:000000ab -00882ff0 EXTERNAL:000000bc -00882ff0 EXTERNAL:000000be 00882ff0 EXTERNAL:000000bf +00882ff0 EXTERNAL:000000bb +00882ff0 EXTERNAL:000000ab +00882ff0 EXTERNAL:000000be +00882ff0 EXTERNAL:000000a0 +00882ff0 EXTERNAL:000000bc +008830a0 EXTERNAL:000000bf 008830a0 EXTERNAL:000000b8 008830a0 EXTERNAL:000000bb -008830a0 EXTERNAL:000000a0 +008830a0 EXTERNAL:000000ab 008830a0 EXTERNAL:000000bd 008830a0 EXTERNAL:00000083 -008830a0 EXTERNAL:000000ab -008830a0 EXTERNAL:000000bc 008830a0 EXTERNAL:000000be -008830a0 EXTERNAL:000000bf +008830a0 EXTERNAL:000000a0 +008830a0 EXTERNAL:000000bc +00883220 EXTERNAL:000000bf 00883220 EXTERNAL:000000b8 00883220 EXTERNAL:000000bb -00883220 EXTERNAL:000000a0 +00883220 EXTERNAL:000000ab 00883220 EXTERNAL:000000bd 00883220 EXTERNAL:00000083 -00883220 EXTERNAL:000000ab -00883220 EXTERNAL:000000bc 00883220 EXTERNAL:000000be -00883220 EXTERNAL:000000bf +00883220 EXTERNAL:000000a0 +00883220 EXTERNAL:000000bc 00883320 EXTERNAL:000000b8 +00883320 EXTERNAL:000000bf 00883320 EXTERNAL:000000bb +00883320 EXTERNAL:000000be 00883320 EXTERNAL:000000a0 00883320 EXTERNAL:000000bc -00883320 EXTERNAL:000000be -00883320 EXTERNAL:000000bf 00883380 EXTERNAL:000000b8 -00883380 EXTERNAL:000000bb -00883380 EXTERNAL:000000a0 -00883380 EXTERNAL:000000ab -00883380 EXTERNAL:000000bc -00883380 EXTERNAL:000000be 00883380 EXTERNAL:000000bf +00883380 EXTERNAL:000000bb +00883380 EXTERNAL:000000ab +00883380 EXTERNAL:000000be +00883380 EXTERNAL:000000a0 +00883380 EXTERNAL:000000bc 00883430 EXTERNAL:000000b8 -00883430 EXTERNAL:000000bb -00883430 EXTERNAL:000000a0 -00883430 EXTERNAL:000000ab -00883430 EXTERNAL:000000bc -00883430 EXTERNAL:000000be 00883430 EXTERNAL:000000bf +00883430 EXTERNAL:000000bb +00883430 EXTERNAL:000000ab +00883430 EXTERNAL:000000be +00883430 EXTERNAL:000000a0 +00883430 EXTERNAL:000000bc 008834e0 EXTERNAL:000000b8 -008834e0 EXTERNAL:000000bb -008834e0 EXTERNAL:000000a0 -008834e0 EXTERNAL:000000ab -008834e0 EXTERNAL:000000bc -008834e0 EXTERNAL:000000be 008834e0 EXTERNAL:000000bf +008834e0 EXTERNAL:000000bb +008834e0 EXTERNAL:000000ab +008834e0 EXTERNAL:000000be +008834e0 EXTERNAL:000000a0 +008834e0 EXTERNAL:000000bc 00883590 EXTERNAL:000000b8 +00883590 EXTERNAL:000000bf 00883590 EXTERNAL:000000bb +00883590 EXTERNAL:000000be 00883590 EXTERNAL:000000a0 00883590 EXTERNAL:000000bc -00883590 EXTERNAL:000000be -00883590 EXTERNAL:000000bf 008835f0 EXTERNAL:000000b8 +008835f0 EXTERNAL:000000bf 008835f0 EXTERNAL:000000bb +008835f0 EXTERNAL:000000be 008835f0 EXTERNAL:000000a0 008835f0 EXTERNAL:000000bc -008835f0 EXTERNAL:000000be -008835f0 EXTERNAL:000000bf 00883650 EXTERNAL:000000b8 +00883650 EXTERNAL:000000bf 00883650 EXTERNAL:000000bb +00883650 EXTERNAL:000000be 00883650 EXTERNAL:000000a0 00883650 EXTERNAL:000000bc -00883650 EXTERNAL:000000be -00883650 EXTERNAL:000000bf 008836b0 EXTERNAL:000000b8 -008836b0 EXTERNAL:000000bb -008836b0 EXTERNAL:000000a0 -008836b0 EXTERNAL:000000ab -008836b0 EXTERNAL:000000bc -008836b0 EXTERNAL:000000be 008836b0 EXTERNAL:000000bf +008836b0 EXTERNAL:000000bb +008836b0 EXTERNAL:000000ab +008836b0 EXTERNAL:000000be +008836b0 EXTERNAL:000000a0 +008836b0 EXTERNAL:000000bc 00883760 EXTERNAL:000000b8 +00883760 EXTERNAL:000000bf 00883760 EXTERNAL:000000bb +00883760 EXTERNAL:000000be 00883760 EXTERNAL:000000a0 00883760 EXTERNAL:000000bc -00883760 EXTERNAL:000000be -00883760 EXTERNAL:000000bf +008837c0 EXTERNAL:000000bf 008837c0 EXTERNAL:000000b8 008837c0 EXTERNAL:000000bb -008837c0 EXTERNAL:000000a0 +008837c0 EXTERNAL:000000ab 008837c0 EXTERNAL:000000bd 008837c0 EXTERNAL:00000083 -008837c0 EXTERNAL:000000ab -008837c0 EXTERNAL:000000bc 008837c0 EXTERNAL:000000be -008837c0 EXTERNAL:000000bf +008837c0 EXTERNAL:000000a0 +008837c0 EXTERNAL:000000bc +00883940 EXTERNAL:000000bf 00883940 EXTERNAL:000000b8 00883940 EXTERNAL:000000bb -00883940 EXTERNAL:000000a0 +00883940 EXTERNAL:000000ab 00883940 EXTERNAL:000000bd 00883940 EXTERNAL:00000083 -00883940 EXTERNAL:000000ab -00883940 EXTERNAL:000000bc 00883940 EXTERNAL:000000be -00883940 EXTERNAL:000000bf +00883940 EXTERNAL:000000a0 +00883940 EXTERNAL:000000bc +00883ab0 EXTERNAL:000000bf 00883ab0 EXTERNAL:000000b8 00883ab0 EXTERNAL:000000bb -00883ab0 EXTERNAL:000000a0 +00883ab0 EXTERNAL:000000ab 00883ab0 EXTERNAL:000000bd 00883ab0 EXTERNAL:00000083 -00883ab0 EXTERNAL:000000ab -00883ab0 EXTERNAL:000000bc 00883ab0 EXTERNAL:000000be -00883ab0 EXTERNAL:000000bf +00883ab0 EXTERNAL:000000a0 +00883ab0 EXTERNAL:000000bc +00883c30 EXTERNAL:000000bf 00883c30 EXTERNAL:000000b8 00883c30 EXTERNAL:000000bb -00883c30 EXTERNAL:000000a0 +00883c30 EXTERNAL:000000ab 00883c30 EXTERNAL:000000bd 00883c30 EXTERNAL:00000083 -00883c30 EXTERNAL:000000ab -00883c30 EXTERNAL:000000bc 00883c30 EXTERNAL:000000be -00883c30 EXTERNAL:000000bf +00883c30 EXTERNAL:000000a0 +00883c30 EXTERNAL:000000bc +00883da0 EXTERNAL:000000bf 00883da0 EXTERNAL:000000b8 00883da0 EXTERNAL:000000bb -00883da0 EXTERNAL:000000a0 +00883da0 EXTERNAL:000000ab 00883da0 EXTERNAL:000000bd 00883da0 EXTERNAL:00000083 -00883da0 EXTERNAL:000000ab -00883da0 EXTERNAL:000000bc 00883da0 EXTERNAL:000000be -00883da0 EXTERNAL:000000bf +00883da0 EXTERNAL:000000a0 +00883da0 EXTERNAL:000000bc +00883f40 EXTERNAL:000000bf 00883f40 EXTERNAL:000000b8 00883f40 EXTERNAL:000000bb -00883f40 EXTERNAL:000000a0 +00883f40 EXTERNAL:000000ab 00883f40 EXTERNAL:000000bd 00883f40 EXTERNAL:00000083 -00883f40 EXTERNAL:000000ab -00883f40 EXTERNAL:000000bc 00883f40 EXTERNAL:000000be -00883f40 EXTERNAL:000000bf +00883f40 EXTERNAL:000000a0 +00883f40 EXTERNAL:000000bc +008840c0 EXTERNAL:000000bf 008840c0 EXTERNAL:000000b8 008840c0 EXTERNAL:000000bb -008840c0 EXTERNAL:000000a0 +008840c0 EXTERNAL:000000ab 008840c0 EXTERNAL:000000bd 008840c0 EXTERNAL:00000083 -008840c0 EXTERNAL:000000ab -008840c0 EXTERNAL:000000bc 008840c0 EXTERNAL:000000be -008840c0 EXTERNAL:000000bf +008840c0 EXTERNAL:000000a0 +008840c0 EXTERNAL:000000bc +00884240 EXTERNAL:000000bf 00884240 EXTERNAL:000000b8 00884240 EXTERNAL:000000bb -00884240 EXTERNAL:000000a0 +00884240 EXTERNAL:000000ab 00884240 EXTERNAL:000000bd 00884240 EXTERNAL:00000083 -00884240 EXTERNAL:000000ab -00884240 EXTERNAL:000000bc 00884240 EXTERNAL:000000be -00884240 EXTERNAL:000000bf +00884240 EXTERNAL:000000a0 +00884240 EXTERNAL:000000bc 008843b0 EXTERNAL:000000b8 +008843b0 EXTERNAL:000000bf 008843b0 EXTERNAL:000000bb +008843b0 EXTERNAL:000000be 008843b0 EXTERNAL:000000a0 008843b0 EXTERNAL:000000bc -008843b0 EXTERNAL:000000be -008843b0 EXTERNAL:000000bf 00884410 EXTERNAL:000000b8 +00884410 EXTERNAL:000000bf 00884410 EXTERNAL:000000bb +00884410 EXTERNAL:000000be 00884410 EXTERNAL:000000a0 00884410 EXTERNAL:000000bc -00884410 EXTERNAL:000000be -00884410 EXTERNAL:000000bf 00884470 EXTERNAL:000000b8 +00884470 EXTERNAL:000000bf 00884470 EXTERNAL:000000bb +00884470 EXTERNAL:000000be 00884470 EXTERNAL:000000a0 00884470 EXTERNAL:000000bc -00884470 EXTERNAL:000000be -00884470 EXTERNAL:000000bf 008844d0 EXTERNAL:000000b8 +008844d0 EXTERNAL:000000bf 008844d0 EXTERNAL:000000bb +008844d0 EXTERNAL:000000be 008844d0 EXTERNAL:000000a0 008844d0 EXTERNAL:000000bc -008844d0 EXTERNAL:000000be -008844d0 EXTERNAL:000000bf 00884530 EXTERNAL:000000b8 +00884530 EXTERNAL:000000bf 00884530 EXTERNAL:000000bb +00884530 EXTERNAL:000000be 00884530 EXTERNAL:000000a0 00884530 EXTERNAL:000000bc -00884530 EXTERNAL:000000be -00884530 EXTERNAL:000000bf 00884590 EXTERNAL:000000b8 +00884590 EXTERNAL:000000bf 00884590 EXTERNAL:000000bb +00884590 EXTERNAL:000000be 00884590 EXTERNAL:000000a0 00884590 EXTERNAL:000000bc -00884590 EXTERNAL:000000be -00884590 EXTERNAL:000000bf 008845f0 EXTERNAL:000000b8 +008845f0 EXTERNAL:000000bf 008845f0 EXTERNAL:000000bb +008845f0 EXTERNAL:000000be 008845f0 EXTERNAL:000000a0 008845f0 EXTERNAL:000000bc -008845f0 EXTERNAL:000000be -008845f0 EXTERNAL:000000bf 00884650 EXTERNAL:000000b8 +00884650 EXTERNAL:000000bf 00884650 EXTERNAL:000000bb +00884650 EXTERNAL:000000be 00884650 EXTERNAL:000000a0 00884650 EXTERNAL:000000bc -00884650 EXTERNAL:000000be -00884650 EXTERNAL:000000bf 008846b0 EXTERNAL:000000b8 +008846b0 EXTERNAL:000000bf 008846b0 EXTERNAL:000000bb +008846b0 EXTERNAL:000000be 008846b0 EXTERNAL:000000a0 008846b0 EXTERNAL:000000bc -008846b0 EXTERNAL:000000be -008846b0 EXTERNAL:000000bf 00884710 EXTERNAL:000000b8 +00884710 EXTERNAL:000000bf 00884710 EXTERNAL:000000bb +00884710 EXTERNAL:000000be 00884710 EXTERNAL:000000a0 00884710 EXTERNAL:000000bc -00884710 EXTERNAL:000000be -00884710 EXTERNAL:000000bf 00884770 EXTERNAL:000000b8 -00884770 EXTERNAL:000000bb -00884770 EXTERNAL:000000a0 -00884770 EXTERNAL:000000ab -00884770 EXTERNAL:000000bc -00884770 EXTERNAL:000000be 00884770 EXTERNAL:000000bf +00884770 EXTERNAL:000000bb +00884770 EXTERNAL:000000ab +00884770 EXTERNAL:000000be +00884770 EXTERNAL:000000a0 +00884770 EXTERNAL:000000bc 00884820 EXTERNAL:000000b8 +00884820 EXTERNAL:000000bf 00884820 EXTERNAL:000000bb +00884820 EXTERNAL:000000be 00884820 EXTERNAL:000000a0 00884820 EXTERNAL:000000bc -00884820 EXTERNAL:000000be -00884820 EXTERNAL:000000bf 00884880 EXTERNAL:000000b8 -00884880 EXTERNAL:000000bb -00884880 EXTERNAL:000000a0 -00884880 EXTERNAL:000000ab -00884880 EXTERNAL:000000bc -00884880 EXTERNAL:000000be 00884880 EXTERNAL:000000bf +00884880 EXTERNAL:000000bb +00884880 EXTERNAL:000000ab +00884880 EXTERNAL:000000be +00884880 EXTERNAL:000000a0 +00884880 EXTERNAL:000000bc 00884930 008a4560 00884950 EXTERNAL:000000b8 +00884950 EXTERNAL:000000bf 00884950 EXTERNAL:000000bb +00884950 EXTERNAL:000000be 00884950 EXTERNAL:000000a0 00884950 EXTERNAL:000000bc -00884950 EXTERNAL:000000be -00884950 EXTERNAL:000000bf +008849b0 EXTERNAL:000000bf 008849b0 EXTERNAL:000000b8 008849b0 EXTERNAL:000000bb -008849b0 EXTERNAL:000000a0 +008849b0 EXTERNAL:000000ab 008849b0 EXTERNAL:000000bd 008849b0 EXTERNAL:00000083 -008849b0 EXTERNAL:000000ab -008849b0 EXTERNAL:000000bc 008849b0 EXTERNAL:000000be -008849b0 EXTERNAL:000000bf +008849b0 EXTERNAL:000000a0 +008849b0 EXTERNAL:000000bc 00884b20 EXTERNAL:000000b8 -00884b20 EXTERNAL:000000bb -00884b20 EXTERNAL:000000a0 -00884b20 EXTERNAL:000000ab -00884b20 EXTERNAL:000000bc -00884b20 EXTERNAL:000000be 00884b20 EXTERNAL:000000bf +00884b20 EXTERNAL:000000bb +00884b20 EXTERNAL:000000ab +00884b20 EXTERNAL:000000be +00884b20 EXTERNAL:000000a0 +00884b20 EXTERNAL:000000bc 00884bc0 EXTERNAL:000000b8 -00884bc0 EXTERNAL:000000bb -00884bc0 EXTERNAL:000000a0 -00884bc0 EXTERNAL:000000ab -00884bc0 EXTERNAL:000000bc -00884bc0 EXTERNAL:000000be 00884bc0 EXTERNAL:000000bf +00884bc0 EXTERNAL:000000bb +00884bc0 EXTERNAL:000000ab +00884bc0 EXTERNAL:000000be +00884bc0 EXTERNAL:000000a0 +00884bc0 EXTERNAL:000000bc +00884c70 EXTERNAL:000000bf 00884c70 EXTERNAL:000000b8 00884c70 EXTERNAL:000000bb -00884c70 EXTERNAL:000000a0 +00884c70 EXTERNAL:000000ab 00884c70 EXTERNAL:000000bd 00884c70 EXTERNAL:00000083 -00884c70 EXTERNAL:000000ab -00884c70 EXTERNAL:000000bc 00884c70 EXTERNAL:000000be -00884c70 EXTERNAL:000000bf +00884c70 EXTERNAL:000000a0 +00884c70 EXTERNAL:000000bc 00884de0 EXTERNAL:000000b8 +00884de0 EXTERNAL:000000bf 00884de0 EXTERNAL:000000bb +00884de0 EXTERNAL:000000be 00884de0 EXTERNAL:000000a0 00884de0 EXTERNAL:000000bc -00884de0 EXTERNAL:000000be -00884de0 EXTERNAL:000000bf 00884e40 EXTERNAL:000000b8 +00884e40 EXTERNAL:000000bf 00884e40 EXTERNAL:000000bb +00884e40 EXTERNAL:000000be 00884e40 EXTERNAL:000000a0 00884e40 EXTERNAL:000000bc -00884e40 EXTERNAL:000000be -00884e40 EXTERNAL:000000bf +00884ea0 EXTERNAL:000000bf 00884ea0 EXTERNAL:000000b8 00884ea0 EXTERNAL:000000bb -00884ea0 EXTERNAL:000000a0 +00884ea0 EXTERNAL:000000ab 00884ea0 EXTERNAL:000000bd 00884ea0 EXTERNAL:00000083 -00884ea0 EXTERNAL:000000ab -00884ea0 EXTERNAL:000000bc 00884ea0 EXTERNAL:000000be -00884ea0 EXTERNAL:000000bf +00884ea0 EXTERNAL:000000a0 +00884ea0 EXTERNAL:000000bc 00885020 008a4300 00885040 EXTERNAL:000000b8 +00885040 EXTERNAL:000000bf 00885040 EXTERNAL:000000bb +00885040 EXTERNAL:000000be 00885040 EXTERNAL:000000a0 00885040 EXTERNAL:000000bc -00885040 EXTERNAL:000000be -00885040 EXTERNAL:000000bf +008850a0 EXTERNAL:000000bf 008850a0 EXTERNAL:000000b8 008850a0 EXTERNAL:000000bb -008850a0 EXTERNAL:000000a0 +008850a0 EXTERNAL:000000ab 008850a0 EXTERNAL:000000bd 008850a0 EXTERNAL:00000083 -008850a0 EXTERNAL:000000ab -008850a0 EXTERNAL:000000bc 008850a0 EXTERNAL:000000be -008850a0 EXTERNAL:000000bf +008850a0 EXTERNAL:000000a0 +008850a0 EXTERNAL:000000bc 00885210 EXTERNAL:000000b8 +00885210 EXTERNAL:000000bf 00885210 EXTERNAL:000000bb +00885210 EXTERNAL:000000be 00885210 EXTERNAL:000000a0 00885210 EXTERNAL:000000bc -00885210 EXTERNAL:000000be -00885210 EXTERNAL:000000bf 00885270 EXTERNAL:000000b8 +00885270 EXTERNAL:000000bf 00885270 EXTERNAL:000000bb +00885270 EXTERNAL:000000be 00885270 EXTERNAL:000000a0 00885270 EXTERNAL:000000bc -00885270 EXTERNAL:000000be -00885270 EXTERNAL:000000bf 008852d0 EXTERNAL:000000b8 +008852d0 EXTERNAL:000000bf 008852d0 EXTERNAL:000000bb +008852d0 EXTERNAL:000000be 008852d0 EXTERNAL:000000a0 008852d0 EXTERNAL:000000bc -008852d0 EXTERNAL:000000be -008852d0 EXTERNAL:000000bf +00885330 EXTERNAL:000000bf 00885330 EXTERNAL:000000b8 00885330 EXTERNAL:000000bb -00885330 EXTERNAL:000000a0 +00885330 EXTERNAL:000000ab 00885330 EXTERNAL:000000bd 00885330 EXTERNAL:00000083 -00885330 EXTERNAL:000000ab -00885330 EXTERNAL:000000bc 00885330 EXTERNAL:000000be -00885330 EXTERNAL:000000bf +00885330 EXTERNAL:000000a0 +00885330 EXTERNAL:000000bc +008854a0 EXTERNAL:000000bf 008854a0 EXTERNAL:000000b8 008854a0 EXTERNAL:000000bb -008854a0 EXTERNAL:000000a0 +008854a0 EXTERNAL:000000ab 008854a0 EXTERNAL:000000bd 008854a0 EXTERNAL:00000083 -008854a0 EXTERNAL:000000ab -008854a0 EXTERNAL:000000bc 008854a0 EXTERNAL:000000be -008854a0 EXTERNAL:000000bf +008854a0 EXTERNAL:000000a0 +008854a0 EXTERNAL:000000bc +00885610 EXTERNAL:000000bf 00885610 EXTERNAL:000000b8 00885610 EXTERNAL:000000bb -00885610 EXTERNAL:000000a0 +00885610 EXTERNAL:000000ab 00885610 EXTERNAL:000000bd 00885610 EXTERNAL:00000083 -00885610 EXTERNAL:000000ab -00885610 EXTERNAL:000000bc 00885610 EXTERNAL:000000be -00885610 EXTERNAL:000000bf +00885610 EXTERNAL:000000a0 +00885610 EXTERNAL:000000bc +00885790 EXTERNAL:000000bf 00885790 EXTERNAL:000000b8 00885790 EXTERNAL:000000bb -00885790 EXTERNAL:000000a0 +00885790 EXTERNAL:000000ab 00885790 EXTERNAL:000000bd 00885790 EXTERNAL:00000083 -00885790 EXTERNAL:000000ab -00885790 EXTERNAL:000000bc 00885790 EXTERNAL:000000be -00885790 EXTERNAL:000000bf +00885790 EXTERNAL:000000a0 +00885790 EXTERNAL:000000bc 00885910 008a40a0 00885930 EXTERNAL:000000b8 +00885930 EXTERNAL:000000bf 00885930 EXTERNAL:000000bb +00885930 EXTERNAL:000000be 00885930 EXTERNAL:000000a0 00885930 EXTERNAL:000000bc -00885930 EXTERNAL:000000be -00885930 EXTERNAL:000000bf +00885990 EXTERNAL:000000bf 00885990 EXTERNAL:000000b8 00885990 EXTERNAL:000000bb -00885990 EXTERNAL:000000a0 +00885990 EXTERNAL:000000ab 00885990 EXTERNAL:000000bd 00885990 EXTERNAL:00000083 -00885990 EXTERNAL:000000ab -00885990 EXTERNAL:000000bc 00885990 EXTERNAL:000000be -00885990 EXTERNAL:000000bf +00885990 EXTERNAL:000000a0 +00885990 EXTERNAL:000000bc +00885b10 EXTERNAL:000000bf 00885b10 EXTERNAL:000000b8 00885b10 EXTERNAL:000000bb -00885b10 EXTERNAL:000000a0 +00885b10 EXTERNAL:000000ab 00885b10 EXTERNAL:000000bd 00885b10 EXTERNAL:00000083 -00885b10 EXTERNAL:000000ab -00885b10 EXTERNAL:000000bc 00885b10 EXTERNAL:000000be -00885b10 EXTERNAL:000000bf +00885b10 EXTERNAL:000000a0 +00885b10 EXTERNAL:000000bc 00885c80 EXTERNAL:000000b8 +00885c80 EXTERNAL:000000bf 00885c80 EXTERNAL:000000bb +00885c80 EXTERNAL:000000be 00885c80 EXTERNAL:000000a0 00885c80 EXTERNAL:000000bc -00885c80 EXTERNAL:000000be -00885c80 EXTERNAL:000000bf 00885ce0 EXTERNAL:000000b8 +00885ce0 EXTERNAL:000000bf 00885ce0 EXTERNAL:000000bb +00885ce0 EXTERNAL:000000be 00885ce0 EXTERNAL:000000a0 00885ce0 EXTERNAL:000000bc -00885ce0 EXTERNAL:000000be -00885ce0 EXTERNAL:000000bf 00885d40 EXTERNAL:000000b8 +00885d40 EXTERNAL:000000bf 00885d40 EXTERNAL:000000bb +00885d40 EXTERNAL:000000be 00885d40 EXTERNAL:000000a0 00885d40 EXTERNAL:000000bc -00885d40 EXTERNAL:000000be -00885d40 EXTERNAL:000000bf 00885da0 EXTERNAL:000000b8 +00885da0 EXTERNAL:000000bf 00885da0 EXTERNAL:000000bb +00885da0 EXTERNAL:000000be 00885da0 EXTERNAL:000000a0 00885da0 EXTERNAL:000000bc -00885da0 EXTERNAL:000000be -00885da0 EXTERNAL:000000bf 00885e00 EXTERNAL:000000b8 +00885e00 EXTERNAL:000000bf 00885e00 EXTERNAL:000000bb +00885e00 EXTERNAL:000000be 00885e00 EXTERNAL:000000a0 00885e00 EXTERNAL:000000bc -00885e00 EXTERNAL:000000be -00885e00 EXTERNAL:000000bf 00885e60 EXTERNAL:000000b8 +00885e60 EXTERNAL:000000bf 00885e60 EXTERNAL:000000bb +00885e60 EXTERNAL:000000be 00885e60 EXTERNAL:000000a0 00885e60 EXTERNAL:000000bc -00885e60 EXTERNAL:000000be -00885e60 EXTERNAL:000000bf 00885ec0 EXTERNAL:000000b8 +00885ec0 EXTERNAL:000000bf 00885ec0 EXTERNAL:000000bb +00885ec0 EXTERNAL:000000be 00885ec0 EXTERNAL:000000a0 00885ec0 EXTERNAL:000000bc -00885ec0 EXTERNAL:000000be -00885ec0 EXTERNAL:000000bf 00885f20 EXTERNAL:000000b8 +00885f20 EXTERNAL:000000bf 00885f20 EXTERNAL:000000bb +00885f20 EXTERNAL:000000be 00885f20 EXTERNAL:000000a0 00885f20 EXTERNAL:000000bc -00885f20 EXTERNAL:000000be -00885f20 EXTERNAL:000000bf +00885f80 EXTERNAL:000000bf 00885f80 EXTERNAL:000000b8 00885f80 EXTERNAL:000000bb -00885f80 EXTERNAL:000000a0 +00885f80 EXTERNAL:000000ab 00885f80 EXTERNAL:000000bd 00885f80 EXTERNAL:00000083 -00885f80 EXTERNAL:000000ab -00885f80 EXTERNAL:000000bc 00885f80 EXTERNAL:000000be -00885f80 EXTERNAL:000000bf +00885f80 EXTERNAL:000000a0 +00885f80 EXTERNAL:000000bc +008860f0 EXTERNAL:000000bf 008860f0 EXTERNAL:000000b8 008860f0 EXTERNAL:000000bb -008860f0 EXTERNAL:000000a0 +008860f0 EXTERNAL:000000ab 008860f0 EXTERNAL:000000bd 008860f0 EXTERNAL:00000083 -008860f0 EXTERNAL:000000ab -008860f0 EXTERNAL:000000bc 008860f0 EXTERNAL:000000be -008860f0 EXTERNAL:000000bf +008860f0 EXTERNAL:000000a0 +008860f0 EXTERNAL:000000bc +00886260 EXTERNAL:000000bf 00886260 EXTERNAL:000000b8 00886260 EXTERNAL:000000bb -00886260 EXTERNAL:000000a0 +00886260 EXTERNAL:000000ab 00886260 EXTERNAL:000000bd 00886260 EXTERNAL:00000083 -00886260 EXTERNAL:000000ab -00886260 EXTERNAL:000000bc 00886260 EXTERNAL:000000be -00886260 EXTERNAL:000000bf +00886260 EXTERNAL:000000a0 +00886260 EXTERNAL:000000bc +008863e0 EXTERNAL:000000bf 008863e0 EXTERNAL:000000b8 008863e0 EXTERNAL:000000bb -008863e0 EXTERNAL:000000a0 +008863e0 EXTERNAL:000000ab 008863e0 EXTERNAL:000000bd 008863e0 EXTERNAL:00000083 -008863e0 EXTERNAL:000000ab -008863e0 EXTERNAL:000000bc 008863e0 EXTERNAL:000000be -008863e0 EXTERNAL:000000bf +008863e0 EXTERNAL:000000a0 +008863e0 EXTERNAL:000000bc 00886550 008a3e40 +00886570 EXTERNAL:000000bf 00886570 EXTERNAL:000000b8 00886570 EXTERNAL:000000bb -00886570 EXTERNAL:000000a0 +00886570 EXTERNAL:000000ab 00886570 EXTERNAL:000000bd 00886570 EXTERNAL:00000083 -00886570 EXTERNAL:000000ab -00886570 EXTERNAL:000000bc 00886570 EXTERNAL:000000be -00886570 EXTERNAL:000000bf +00886570 EXTERNAL:000000a0 +00886570 EXTERNAL:000000bc 008866e0 EXTERNAL:000000b8 +008866e0 EXTERNAL:000000bf 008866e0 EXTERNAL:000000bb +008866e0 EXTERNAL:000000be 008866e0 EXTERNAL:000000a0 008866e0 EXTERNAL:000000bc -008866e0 EXTERNAL:000000be -008866e0 EXTERNAL:000000bf +00886740 EXTERNAL:000000bf 00886740 EXTERNAL:000000b8 00886740 EXTERNAL:000000bb -00886740 EXTERNAL:000000a0 +00886740 EXTERNAL:000000ab 00886740 EXTERNAL:000000bd 00886740 EXTERNAL:00000083 -00886740 EXTERNAL:000000ab -00886740 EXTERNAL:000000bc 00886740 EXTERNAL:000000be -00886740 EXTERNAL:000000bf +00886740 EXTERNAL:000000a0 +00886740 EXTERNAL:000000bc 008868b0 EXTERNAL:000000b8 +008868b0 EXTERNAL:000000bf 008868b0 EXTERNAL:000000bb +008868b0 EXTERNAL:000000be 008868b0 EXTERNAL:000000a0 008868b0 EXTERNAL:000000bc -008868b0 EXTERNAL:000000be -008868b0 EXTERNAL:000000bf +00886910 EXTERNAL:000000bf 00886910 EXTERNAL:000000b8 00886910 EXTERNAL:000000bb -00886910 EXTERNAL:000000a0 +00886910 EXTERNAL:000000ab 00886910 EXTERNAL:000000bd 00886910 EXTERNAL:00000083 -00886910 EXTERNAL:000000ab -00886910 EXTERNAL:000000bc 00886910 EXTERNAL:000000be -00886910 EXTERNAL:000000bf +00886910 EXTERNAL:000000a0 +00886910 EXTERNAL:000000bc 00886a80 008a3be0 00886aa0 EXTERNAL:000000b8 +00886aa0 EXTERNAL:000000bf 00886aa0 EXTERNAL:000000bb +00886aa0 EXTERNAL:000000be 00886aa0 EXTERNAL:000000a0 00886aa0 EXTERNAL:000000bc -00886aa0 EXTERNAL:000000be -00886aa0 EXTERNAL:000000bf 00886b00 EXTERNAL:000000b8 +00886b00 EXTERNAL:000000bf 00886b00 EXTERNAL:000000bb +00886b00 EXTERNAL:000000be 00886b00 EXTERNAL:000000a0 00886b00 EXTERNAL:000000bc -00886b00 EXTERNAL:000000be -00886b00 EXTERNAL:000000bf +00886b60 EXTERNAL:000000bf 00886b60 EXTERNAL:000000b8 00886b60 EXTERNAL:000000bb -00886b60 EXTERNAL:000000a0 +00886b60 EXTERNAL:000000ab 00886b60 EXTERNAL:000000bd 00886b60 EXTERNAL:00000083 -00886b60 EXTERNAL:000000ab -00886b60 EXTERNAL:000000bc 00886b60 EXTERNAL:000000be -00886b60 EXTERNAL:000000bf +00886b60 EXTERNAL:000000a0 +00886b60 EXTERNAL:000000bc 00886ce0 EXTERNAL:000000b8 -00886ce0 EXTERNAL:000000bb -00886ce0 EXTERNAL:000000a0 -00886ce0 EXTERNAL:000000ab -00886ce0 EXTERNAL:000000bc -00886ce0 EXTERNAL:000000be 00886ce0 EXTERNAL:000000bf +00886ce0 EXTERNAL:000000bb +00886ce0 EXTERNAL:000000ab +00886ce0 EXTERNAL:000000be +00886ce0 EXTERNAL:000000a0 +00886ce0 EXTERNAL:000000bc 00886d80 EXTERNAL:000000b8 +00886d80 EXTERNAL:000000bf 00886d80 EXTERNAL:000000bb +00886d80 EXTERNAL:000000be 00886d80 EXTERNAL:000000a0 00886d80 EXTERNAL:000000bc -00886d80 EXTERNAL:000000be -00886d80 EXTERNAL:000000bf 00886de0 EXTERNAL:000000b8 +00886de0 EXTERNAL:000000bf 00886de0 EXTERNAL:000000bb +00886de0 EXTERNAL:000000be 00886de0 EXTERNAL:000000a0 00886de0 EXTERNAL:000000bc -00886de0 EXTERNAL:000000be -00886de0 EXTERNAL:000000bf 00886e40 EXTERNAL:000000b8 +00886e40 EXTERNAL:000000bf 00886e40 EXTERNAL:000000bb +00886e40 EXTERNAL:000000be 00886e40 EXTERNAL:000000a0 00886e40 EXTERNAL:000000bc -00886e40 EXTERNAL:000000be -00886e40 EXTERNAL:000000bf 00886ea0 EXTERNAL:000000b8 -00886ea0 EXTERNAL:000000bb -00886ea0 EXTERNAL:000000a0 -00886ea0 EXTERNAL:000000ab -00886ea0 EXTERNAL:000000bc -00886ea0 EXTERNAL:000000be 00886ea0 EXTERNAL:000000bf +00886ea0 EXTERNAL:000000bb +00886ea0 EXTERNAL:000000ab +00886ea0 EXTERNAL:000000be +00886ea0 EXTERNAL:000000a0 +00886ea0 EXTERNAL:000000bc 00886f40 EXTERNAL:000000b8 -00886f40 EXTERNAL:000000bb -00886f40 EXTERNAL:000000a0 -00886f40 EXTERNAL:000000ab -00886f40 EXTERNAL:000000bc -00886f40 EXTERNAL:000000be 00886f40 EXTERNAL:000000bf +00886f40 EXTERNAL:000000bb +00886f40 EXTERNAL:000000ab +00886f40 EXTERNAL:000000be +00886f40 EXTERNAL:000000a0 +00886f40 EXTERNAL:000000bc +00886ff0 EXTERNAL:000000bf 00886ff0 EXTERNAL:000000b8 00886ff0 EXTERNAL:000000bb -00886ff0 EXTERNAL:000000a0 +00886ff0 EXTERNAL:000000ab 00886ff0 EXTERNAL:000000bd 00886ff0 EXTERNAL:00000083 -00886ff0 EXTERNAL:000000ab -00886ff0 EXTERNAL:000000bc 00886ff0 EXTERNAL:000000be -00886ff0 EXTERNAL:000000bf +00886ff0 EXTERNAL:000000a0 +00886ff0 EXTERNAL:000000bc 00887170 EXTERNAL:000000b8 +00887170 EXTERNAL:000000bf 00887170 EXTERNAL:000000bb +00887170 EXTERNAL:000000be 00887170 EXTERNAL:000000a0 00887170 EXTERNAL:000000bc -00887170 EXTERNAL:000000be -00887170 EXTERNAL:000000bf 008871d0 EXTERNAL:000000b8 +008871d0 EXTERNAL:000000bf 008871d0 EXTERNAL:000000bb +008871d0 EXTERNAL:000000be 008871d0 EXTERNAL:000000a0 008871d0 EXTERNAL:000000bc -008871d0 EXTERNAL:000000be -008871d0 EXTERNAL:000000bf 00887230 EXTERNAL:000000b8 +00887230 EXTERNAL:000000bf 00887230 EXTERNAL:000000bb +00887230 EXTERNAL:000000be 00887230 EXTERNAL:000000a0 00887230 EXTERNAL:000000bc -00887230 EXTERNAL:000000be -00887230 EXTERNAL:000000bf 00887290 EXTERNAL:000000b8 +00887290 EXTERNAL:000000bf 00887290 EXTERNAL:000000bb +00887290 EXTERNAL:000000be 00887290 EXTERNAL:000000a0 00887290 EXTERNAL:000000bc -00887290 EXTERNAL:000000be -00887290 EXTERNAL:000000bf 008872f0 EXTERNAL:000000b8 +008872f0 EXTERNAL:000000bf 008872f0 EXTERNAL:000000bb +008872f0 EXTERNAL:000000be 008872f0 EXTERNAL:000000a0 008872f0 EXTERNAL:000000bc -008872f0 EXTERNAL:000000be -008872f0 EXTERNAL:000000bf 00887350 EXTERNAL:000000b8 +00887350 EXTERNAL:000000bf 00887350 EXTERNAL:000000bb +00887350 EXTERNAL:000000be 00887350 EXTERNAL:000000a0 00887350 EXTERNAL:000000bc -00887350 EXTERNAL:000000be -00887350 EXTERNAL:000000bf 008873b0 EXTERNAL:000000b8 -008873b0 EXTERNAL:000000bb -008873b0 EXTERNAL:000000a0 -008873b0 EXTERNAL:000000ab -008873b0 EXTERNAL:000000bc -008873b0 EXTERNAL:000000be 008873b0 EXTERNAL:000000bf +008873b0 EXTERNAL:000000bb +008873b0 EXTERNAL:000000ab +008873b0 EXTERNAL:000000be +008873b0 EXTERNAL:000000a0 +008873b0 EXTERNAL:000000bc 00887460 EXTERNAL:000000b8 -00887460 EXTERNAL:000000bb -00887460 EXTERNAL:000000a0 -00887460 EXTERNAL:000000ab -00887460 EXTERNAL:000000bc -00887460 EXTERNAL:000000be 00887460 EXTERNAL:000000bf +00887460 EXTERNAL:000000bb +00887460 EXTERNAL:000000ab +00887460 EXTERNAL:000000be +00887460 EXTERNAL:000000a0 +00887460 EXTERNAL:000000bc 00887510 EXTERNAL:000000b8 +00887510 EXTERNAL:000000bf 00887510 EXTERNAL:000000bb +00887510 EXTERNAL:000000be 00887510 EXTERNAL:000000a0 00887510 EXTERNAL:000000bc -00887510 EXTERNAL:000000be -00887510 EXTERNAL:000000bf +00887570 EXTERNAL:000000bf 00887570 EXTERNAL:000000b8 00887570 EXTERNAL:000000bb -00887570 EXTERNAL:000000a0 +00887570 EXTERNAL:000000ab 00887570 EXTERNAL:000000bd 00887570 EXTERNAL:00000083 -00887570 EXTERNAL:000000ab -00887570 EXTERNAL:000000bc 00887570 EXTERNAL:000000be -00887570 EXTERNAL:000000bf +00887570 EXTERNAL:000000a0 +00887570 EXTERNAL:000000bc +00887660 EXTERNAL:000000bf 00887660 EXTERNAL:000000b8 00887660 EXTERNAL:000000bb -00887660 EXTERNAL:000000a0 +00887660 EXTERNAL:000000ab 00887660 EXTERNAL:000000bd 00887660 EXTERNAL:00000083 -00887660 EXTERNAL:000000ab -00887660 EXTERNAL:000000bc 00887660 EXTERNAL:000000be -00887660 EXTERNAL:000000bf +00887660 EXTERNAL:000000a0 +00887660 EXTERNAL:000000bc +008877e0 EXTERNAL:000000bf 008877e0 EXTERNAL:000000b8 008877e0 EXTERNAL:000000bb -008877e0 EXTERNAL:000000a0 +008877e0 EXTERNAL:000000ab 008877e0 EXTERNAL:000000bd 008877e0 EXTERNAL:00000083 -008877e0 EXTERNAL:000000ab -008877e0 EXTERNAL:000000bc 008877e0 EXTERNAL:000000be -008877e0 EXTERNAL:000000bf +008877e0 EXTERNAL:000000a0 +008877e0 EXTERNAL:000000bc +00887950 EXTERNAL:000000bf 00887950 EXTERNAL:000000b8 00887950 EXTERNAL:000000bb -00887950 EXTERNAL:000000a0 +00887950 EXTERNAL:000000ab 00887950 EXTERNAL:000000bd 00887950 EXTERNAL:00000083 -00887950 EXTERNAL:000000ab -00887950 EXTERNAL:000000bc 00887950 EXTERNAL:000000be -00887950 EXTERNAL:000000bf +00887950 EXTERNAL:000000a0 +00887950 EXTERNAL:000000bc +00887ad0 EXTERNAL:000000bf 00887ad0 EXTERNAL:000000b8 00887ad0 EXTERNAL:000000bb -00887ad0 EXTERNAL:000000a0 +00887ad0 EXTERNAL:000000ab 00887ad0 EXTERNAL:000000bd 00887ad0 EXTERNAL:00000083 -00887ad0 EXTERNAL:000000ab -00887ad0 EXTERNAL:000000bc 00887ad0 EXTERNAL:000000be -00887ad0 EXTERNAL:000000bf +00887ad0 EXTERNAL:000000a0 +00887ad0 EXTERNAL:000000bc +00887c50 EXTERNAL:000000bf 00887c50 EXTERNAL:000000b8 00887c50 EXTERNAL:000000bb -00887c50 EXTERNAL:000000a0 +00887c50 EXTERNAL:000000ab 00887c50 EXTERNAL:000000bd 00887c50 EXTERNAL:00000083 -00887c50 EXTERNAL:000000ab -00887c50 EXTERNAL:000000bc 00887c50 EXTERNAL:000000be -00887c50 EXTERNAL:000000bf +00887c50 EXTERNAL:000000a0 +00887c50 EXTERNAL:000000bc 00887dc0 008a3980 +00887de0 EXTERNAL:000000bf 00887de0 EXTERNAL:000000b8 00887de0 EXTERNAL:000000bb -00887de0 EXTERNAL:000000a0 +00887de0 EXTERNAL:000000ab 00887de0 EXTERNAL:000000bd 00887de0 EXTERNAL:00000083 -00887de0 EXTERNAL:000000ab -00887de0 EXTERNAL:000000bc 00887de0 EXTERNAL:000000be -00887de0 EXTERNAL:000000bf +00887de0 EXTERNAL:000000a0 +00887de0 EXTERNAL:000000bc +00887f70 EXTERNAL:000000bf 00887f70 EXTERNAL:000000b8 00887f70 EXTERNAL:000000bb -00887f70 EXTERNAL:000000a0 +00887f70 EXTERNAL:000000ab 00887f70 EXTERNAL:000000bd 00887f70 EXTERNAL:00000083 -00887f70 EXTERNAL:000000ab -00887f70 EXTERNAL:000000bc 00887f70 EXTERNAL:000000be -00887f70 EXTERNAL:000000bf +00887f70 EXTERNAL:000000a0 +00887f70 EXTERNAL:000000bc +008880f0 EXTERNAL:000000bf 008880f0 EXTERNAL:000000b8 008880f0 EXTERNAL:000000bb -008880f0 EXTERNAL:000000a0 +008880f0 EXTERNAL:000000ab 008880f0 EXTERNAL:000000bd 008880f0 EXTERNAL:00000083 -008880f0 EXTERNAL:000000ab -008880f0 EXTERNAL:000000bc 008880f0 EXTERNAL:000000be -008880f0 EXTERNAL:000000bf +008880f0 EXTERNAL:000000a0 +008880f0 EXTERNAL:000000bc 00888260 EXTERNAL:000000b8 +00888260 EXTERNAL:000000bf 00888260 EXTERNAL:000000bb +00888260 EXTERNAL:000000be 00888260 EXTERNAL:000000a0 00888260 EXTERNAL:000000bc -00888260 EXTERNAL:000000be -00888260 EXTERNAL:000000bf 008882c0 008a3720 008882e0 EXTERNAL:000000b8 +008882e0 EXTERNAL:000000bf 008882e0 EXTERNAL:000000bb +008882e0 EXTERNAL:000000be 008882e0 EXTERNAL:000000a0 008882e0 EXTERNAL:000000bc -008882e0 EXTERNAL:000000be -008882e0 EXTERNAL:000000bf +00888340 EXTERNAL:000000bf 00888340 EXTERNAL:000000b8 00888340 EXTERNAL:000000bb -00888340 EXTERNAL:000000a0 +00888340 EXTERNAL:000000ab 00888340 EXTERNAL:000000bd 00888340 EXTERNAL:00000083 -00888340 EXTERNAL:000000ab -00888340 EXTERNAL:000000bc 00888340 EXTERNAL:000000be -00888340 EXTERNAL:000000bf +00888340 EXTERNAL:000000a0 +00888340 EXTERNAL:000000bc +008884c0 EXTERNAL:000000bf 008884c0 EXTERNAL:000000b8 008884c0 EXTERNAL:000000bb -008884c0 EXTERNAL:000000a0 +008884c0 EXTERNAL:000000ab 008884c0 EXTERNAL:000000bd 008884c0 EXTERNAL:00000083 -008884c0 EXTERNAL:000000ab -008884c0 EXTERNAL:000000bc 008884c0 EXTERNAL:000000be -008884c0 EXTERNAL:000000bf +008884c0 EXTERNAL:000000a0 +008884c0 EXTERNAL:000000bc 00888630 EXTERNAL:000000b8 +00888630 EXTERNAL:000000bf 00888630 EXTERNAL:000000bb +00888630 EXTERNAL:000000be 00888630 EXTERNAL:000000a0 00888630 EXTERNAL:000000bc -00888630 EXTERNAL:000000be -00888630 EXTERNAL:000000bf 00888690 EXTERNAL:000000b8 +00888690 EXTERNAL:000000bf 00888690 EXTERNAL:000000bb +00888690 EXTERNAL:000000be 00888690 EXTERNAL:000000a0 00888690 EXTERNAL:000000bc -00888690 EXTERNAL:000000be -00888690 EXTERNAL:000000bf 008886f0 EXTERNAL:000000b8 -008886f0 EXTERNAL:000000bb -008886f0 EXTERNAL:000000a0 -008886f0 EXTERNAL:000000ab -008886f0 EXTERNAL:000000bc -008886f0 EXTERNAL:000000be 008886f0 EXTERNAL:000000bf +008886f0 EXTERNAL:000000bb +008886f0 EXTERNAL:000000ab +008886f0 EXTERNAL:000000be +008886f0 EXTERNAL:000000a0 +008886f0 EXTERNAL:000000bc 008887a0 EXTERNAL:000000b8 -008887a0 EXTERNAL:000000bb -008887a0 EXTERNAL:000000a0 -008887a0 EXTERNAL:000000ab -008887a0 EXTERNAL:000000bc -008887a0 EXTERNAL:000000be 008887a0 EXTERNAL:000000bf +008887a0 EXTERNAL:000000bb +008887a0 EXTERNAL:000000ab +008887a0 EXTERNAL:000000be +008887a0 EXTERNAL:000000a0 +008887a0 EXTERNAL:000000bc 00888850 EXTERNAL:000000b8 -00888850 EXTERNAL:000000bb -00888850 EXTERNAL:000000a0 -00888850 EXTERNAL:000000ab -00888850 EXTERNAL:000000bc -00888850 EXTERNAL:000000be 00888850 EXTERNAL:000000bf +00888850 EXTERNAL:000000bb +00888850 EXTERNAL:000000ab +00888850 EXTERNAL:000000be +00888850 EXTERNAL:000000a0 +00888850 EXTERNAL:000000bc 008888f0 EXTERNAL:000000b8 +008888f0 EXTERNAL:000000bf 008888f0 EXTERNAL:000000bb +008888f0 EXTERNAL:000000be 008888f0 EXTERNAL:000000a0 008888f0 EXTERNAL:000000bc -008888f0 EXTERNAL:000000be -008888f0 EXTERNAL:000000bf 00888950 EXTERNAL:000000b8 +00888950 EXTERNAL:000000bf 00888950 EXTERNAL:000000bb +00888950 EXTERNAL:000000be 00888950 EXTERNAL:000000a0 00888950 EXTERNAL:000000bc -00888950 EXTERNAL:000000be -00888950 EXTERNAL:000000bf 008889b0 EXTERNAL:000000b8 +008889b0 EXTERNAL:000000bf 008889b0 EXTERNAL:000000bb +008889b0 EXTERNAL:000000be 008889b0 EXTERNAL:000000a0 008889b0 EXTERNAL:000000bc -008889b0 EXTERNAL:000000be -008889b0 EXTERNAL:000000bf 00888a10 EXTERNAL:000000b8 +00888a10 EXTERNAL:000000bf 00888a10 EXTERNAL:000000bb +00888a10 EXTERNAL:000000be 00888a10 EXTERNAL:000000a0 00888a10 EXTERNAL:000000bc -00888a10 EXTERNAL:000000be -00888a10 EXTERNAL:000000bf +00888a70 EXTERNAL:000000bf 00888a70 EXTERNAL:000000b8 00888a70 EXTERNAL:000000bb -00888a70 EXTERNAL:000000a0 +00888a70 EXTERNAL:000000ab 00888a70 EXTERNAL:000000bd 00888a70 EXTERNAL:00000083 -00888a70 EXTERNAL:000000ab -00888a70 EXTERNAL:000000bc 00888a70 EXTERNAL:000000be -00888a70 EXTERNAL:000000bf +00888a70 EXTERNAL:000000a0 +00888a70 EXTERNAL:000000bc +00888be0 EXTERNAL:000000bf 00888be0 EXTERNAL:000000b8 00888be0 EXTERNAL:000000bb -00888be0 EXTERNAL:000000a0 +00888be0 EXTERNAL:000000ab 00888be0 EXTERNAL:000000bd 00888be0 EXTERNAL:00000083 -00888be0 EXTERNAL:000000ab -00888be0 EXTERNAL:000000bc 00888be0 EXTERNAL:000000be -00888be0 EXTERNAL:000000bf +00888be0 EXTERNAL:000000a0 +00888be0 EXTERNAL:000000bc +00888d50 EXTERNAL:000000bf 00888d50 EXTERNAL:000000b8 00888d50 EXTERNAL:000000bb -00888d50 EXTERNAL:000000a0 +00888d50 EXTERNAL:000000ab 00888d50 EXTERNAL:000000bd 00888d50 EXTERNAL:00000083 -00888d50 EXTERNAL:000000ab -00888d50 EXTERNAL:000000bc 00888d50 EXTERNAL:000000be -00888d50 EXTERNAL:000000bf +00888d50 EXTERNAL:000000a0 +00888d50 EXTERNAL:000000bc +00888ed0 EXTERNAL:000000bf 00888ed0 EXTERNAL:000000b8 00888ed0 EXTERNAL:000000bb -00888ed0 EXTERNAL:000000a0 +00888ed0 EXTERNAL:000000ab 00888ed0 EXTERNAL:000000bd 00888ed0 EXTERNAL:00000083 -00888ed0 EXTERNAL:000000ab -00888ed0 EXTERNAL:000000bc 00888ed0 EXTERNAL:000000be -00888ed0 EXTERNAL:000000bf +00888ed0 EXTERNAL:000000a0 +00888ed0 EXTERNAL:000000bc +00889050 EXTERNAL:000000bf 00889050 EXTERNAL:000000b8 00889050 EXTERNAL:000000bb -00889050 EXTERNAL:000000a0 +00889050 EXTERNAL:000000ab 00889050 EXTERNAL:000000bd 00889050 EXTERNAL:00000083 -00889050 EXTERNAL:000000ab -00889050 EXTERNAL:000000bc 00889050 EXTERNAL:000000be -00889050 EXTERNAL:000000bf +00889050 EXTERNAL:000000a0 +00889050 EXTERNAL:000000bc +008891c0 EXTERNAL:000000bf 008891c0 EXTERNAL:000000b8 008891c0 EXTERNAL:000000bb -008891c0 EXTERNAL:000000a0 +008891c0 EXTERNAL:000000ab 008891c0 EXTERNAL:000000bd 008891c0 EXTERNAL:00000083 -008891c0 EXTERNAL:000000ab -008891c0 EXTERNAL:000000bc 008891c0 EXTERNAL:000000be -008891c0 EXTERNAL:000000bf +008891c0 EXTERNAL:000000a0 +008891c0 EXTERNAL:000000bc +00889340 EXTERNAL:000000bf 00889340 EXTERNAL:000000b8 00889340 EXTERNAL:000000bb -00889340 EXTERNAL:000000a0 +00889340 EXTERNAL:000000ab 00889340 EXTERNAL:000000bd 00889340 EXTERNAL:00000083 -00889340 EXTERNAL:000000ab -00889340 EXTERNAL:000000bc 00889340 EXTERNAL:000000be -00889340 EXTERNAL:000000bf +00889340 EXTERNAL:000000a0 +00889340 EXTERNAL:000000bc +008894c0 EXTERNAL:000000bf 008894c0 EXTERNAL:000000b8 008894c0 EXTERNAL:000000bb -008894c0 EXTERNAL:000000a0 +008894c0 EXTERNAL:000000ab 008894c0 EXTERNAL:000000bd 008894c0 EXTERNAL:00000083 -008894c0 EXTERNAL:000000ab -008894c0 EXTERNAL:000000bc 008894c0 EXTERNAL:000000be -008894c0 EXTERNAL:000000bf +008894c0 EXTERNAL:000000a0 +008894c0 EXTERNAL:000000bc +00889640 EXTERNAL:000000bf 00889640 EXTERNAL:000000b8 00889640 EXTERNAL:000000bb -00889640 EXTERNAL:000000a0 +00889640 EXTERNAL:000000ab 00889640 EXTERNAL:000000bd 00889640 EXTERNAL:00000083 -00889640 EXTERNAL:000000ab -00889640 EXTERNAL:000000bc 00889640 EXTERNAL:000000be -00889640 EXTERNAL:000000bf +00889640 EXTERNAL:000000a0 +00889640 EXTERNAL:000000bc +008897c0 EXTERNAL:000000bf 008897c0 EXTERNAL:000000b8 008897c0 EXTERNAL:000000bb -008897c0 EXTERNAL:000000a0 +008897c0 EXTERNAL:000000ab 008897c0 EXTERNAL:000000bd 008897c0 EXTERNAL:00000083 -008897c0 EXTERNAL:000000ab -008897c0 EXTERNAL:000000bc 008897c0 EXTERNAL:000000be -008897c0 EXTERNAL:000000bf +008897c0 EXTERNAL:000000a0 +008897c0 EXTERNAL:000000bc 00889940 008a34c0 +00889960 EXTERNAL:000000bf 00889960 EXTERNAL:000000b8 00889960 EXTERNAL:000000bb -00889960 EXTERNAL:000000a0 +00889960 EXTERNAL:000000ab 00889960 EXTERNAL:000000bd 00889960 EXTERNAL:00000083 -00889960 EXTERNAL:000000ab -00889960 EXTERNAL:000000bc 00889960 EXTERNAL:000000be -00889960 EXTERNAL:000000bf +00889960 EXTERNAL:000000a0 +00889960 EXTERNAL:000000bc +00889ae0 EXTERNAL:000000bf 00889ae0 EXTERNAL:000000b8 00889ae0 EXTERNAL:000000bb -00889ae0 EXTERNAL:000000a0 +00889ae0 EXTERNAL:000000ab 00889ae0 EXTERNAL:000000bd 00889ae0 EXTERNAL:00000083 -00889ae0 EXTERNAL:000000ab -00889ae0 EXTERNAL:000000bc 00889ae0 EXTERNAL:000000be -00889ae0 EXTERNAL:000000bf +00889ae0 EXTERNAL:000000a0 +00889ae0 EXTERNAL:000000bc 00889c50 EXTERNAL:000000b8 -00889c50 EXTERNAL:000000bb -00889c50 EXTERNAL:000000a0 -00889c50 EXTERNAL:000000ab -00889c50 EXTERNAL:000000bc -00889c50 EXTERNAL:000000be 00889c50 EXTERNAL:000000bf +00889c50 EXTERNAL:000000bb +00889c50 EXTERNAL:000000ab +00889c50 EXTERNAL:000000be +00889c50 EXTERNAL:000000a0 +00889c50 EXTERNAL:000000bc 00889d00 EXTERNAL:000000b8 +00889d00 EXTERNAL:000000bf 00889d00 EXTERNAL:000000bb +00889d00 EXTERNAL:000000be 00889d00 EXTERNAL:000000a0 00889d00 EXTERNAL:000000bc -00889d00 EXTERNAL:000000be -00889d00 EXTERNAL:000000bf 00889d60 EXTERNAL:000000b8 -00889d60 EXTERNAL:000000bb -00889d60 EXTERNAL:000000a0 -00889d60 EXTERNAL:000000ab -00889d60 EXTERNAL:000000bc -00889d60 EXTERNAL:000000be 00889d60 EXTERNAL:000000bf +00889d60 EXTERNAL:000000bb +00889d60 EXTERNAL:000000ab +00889d60 EXTERNAL:000000be +00889d60 EXTERNAL:000000a0 +00889d60 EXTERNAL:000000bc 00889e10 EXTERNAL:000000b8 -00889e10 EXTERNAL:000000bb -00889e10 EXTERNAL:000000a0 -00889e10 EXTERNAL:000000ab -00889e10 EXTERNAL:000000bc -00889e10 EXTERNAL:000000be 00889e10 EXTERNAL:000000bf +00889e10 EXTERNAL:000000bb +00889e10 EXTERNAL:000000ab +00889e10 EXTERNAL:000000be +00889e10 EXTERNAL:000000a0 +00889e10 EXTERNAL:000000bc 00889eb0 EXTERNAL:000000b8 +00889eb0 EXTERNAL:000000bf 00889eb0 EXTERNAL:000000bb +00889eb0 EXTERNAL:000000be 00889eb0 EXTERNAL:000000a0 00889eb0 EXTERNAL:000000bc -00889eb0 EXTERNAL:000000be -00889eb0 EXTERNAL:000000bf 00889f10 EXTERNAL:000000b8 +00889f10 EXTERNAL:000000bf 00889f10 EXTERNAL:000000bb +00889f10 EXTERNAL:000000be 00889f10 EXTERNAL:000000a0 00889f10 EXTERNAL:000000bc -00889f10 EXTERNAL:000000be -00889f10 EXTERNAL:000000bf +00889f70 EXTERNAL:000000bf 00889f70 EXTERNAL:000000b8 00889f70 EXTERNAL:000000bb -00889f70 EXTERNAL:000000a0 +00889f70 EXTERNAL:000000ab 00889f70 EXTERNAL:000000bd 00889f70 EXTERNAL:00000083 -00889f70 EXTERNAL:000000ab -00889f70 EXTERNAL:000000bc 00889f70 EXTERNAL:000000be -00889f70 EXTERNAL:000000bf +00889f70 EXTERNAL:000000a0 +00889f70 EXTERNAL:000000bc 0088a0e0 008a32b0 +0088a100 EXTERNAL:000000bf 0088a100 EXTERNAL:000000b8 0088a100 EXTERNAL:000000bb -0088a100 EXTERNAL:000000a0 +0088a100 EXTERNAL:000000ab 0088a100 EXTERNAL:000000bd 0088a100 EXTERNAL:00000083 -0088a100 EXTERNAL:000000ab -0088a100 EXTERNAL:000000bc 0088a100 EXTERNAL:000000be -0088a100 EXTERNAL:000000bf +0088a100 EXTERNAL:000000a0 +0088a100 EXTERNAL:000000bc +0088a270 EXTERNAL:000000bf 0088a270 EXTERNAL:000000b8 0088a270 EXTERNAL:000000bb -0088a270 EXTERNAL:000000a0 +0088a270 EXTERNAL:000000ab 0088a270 EXTERNAL:000000bd 0088a270 EXTERNAL:00000083 -0088a270 EXTERNAL:000000ab -0088a270 EXTERNAL:000000bc 0088a270 EXTERNAL:000000be -0088a270 EXTERNAL:000000bf +0088a270 EXTERNAL:000000a0 +0088a270 EXTERNAL:000000bc +0088a3e0 EXTERNAL:000000bf 0088a3e0 EXTERNAL:000000b8 0088a3e0 EXTERNAL:000000bb -0088a3e0 EXTERNAL:000000a0 +0088a3e0 EXTERNAL:000000ab 0088a3e0 EXTERNAL:000000bd 0088a3e0 EXTERNAL:00000083 -0088a3e0 EXTERNAL:000000ab -0088a3e0 EXTERNAL:000000bc 0088a3e0 EXTERNAL:000000be -0088a3e0 EXTERNAL:000000bf +0088a3e0 EXTERNAL:000000a0 +0088a3e0 EXTERNAL:000000bc 0088a560 008a30a0 +0088a580 EXTERNAL:000000bf 0088a580 EXTERNAL:000000b8 0088a580 EXTERNAL:000000bb -0088a580 EXTERNAL:000000a0 +0088a580 EXTERNAL:000000ab 0088a580 EXTERNAL:000000bd 0088a580 EXTERNAL:00000083 -0088a580 EXTERNAL:000000ab -0088a580 EXTERNAL:000000bc 0088a580 EXTERNAL:000000be -0088a580 EXTERNAL:000000bf +0088a580 EXTERNAL:000000a0 +0088a580 EXTERNAL:000000bc 0088a680 EXTERNAL:000000b8 +0088a680 EXTERNAL:000000bf 0088a680 EXTERNAL:000000bb +0088a680 EXTERNAL:000000be 0088a680 EXTERNAL:000000a0 0088a680 EXTERNAL:000000bc -0088a680 EXTERNAL:000000be -0088a680 EXTERNAL:000000bf 0088a6e0 EXTERNAL:000000b8 +0088a6e0 EXTERNAL:000000bf 0088a6e0 EXTERNAL:000000bb +0088a6e0 EXTERNAL:000000be 0088a6e0 EXTERNAL:000000a0 0088a6e0 EXTERNAL:000000bc -0088a6e0 EXTERNAL:000000be -0088a6e0 EXTERNAL:000000bf +0088a740 EXTERNAL:000000bf 0088a740 EXTERNAL:000000b8 0088a740 EXTERNAL:000000bb -0088a740 EXTERNAL:000000a0 +0088a740 EXTERNAL:000000ab 0088a740 EXTERNAL:000000bd 0088a740 EXTERNAL:00000083 -0088a740 EXTERNAL:000000ab -0088a740 EXTERNAL:000000bc 0088a740 EXTERNAL:000000be -0088a740 EXTERNAL:000000bf +0088a740 EXTERNAL:000000a0 +0088a740 EXTERNAL:000000bc 0088a8c0 EXTERNAL:000000b8 +0088a8c0 EXTERNAL:000000bf 0088a8c0 EXTERNAL:000000bb +0088a8c0 EXTERNAL:000000be 0088a8c0 EXTERNAL:000000a0 0088a8c0 EXTERNAL:000000bc -0088a8c0 EXTERNAL:000000be -0088a8c0 EXTERNAL:000000bf 0088a920 EXTERNAL:000000b8 +0088a920 EXTERNAL:000000bf 0088a920 EXTERNAL:000000bb +0088a920 EXTERNAL:000000be 0088a920 EXTERNAL:000000a0 0088a920 EXTERNAL:000000bc -0088a920 EXTERNAL:000000be -0088a920 EXTERNAL:000000bf 0088a980 EXTERNAL:000000b8 +0088a980 EXTERNAL:000000bf 0088a980 EXTERNAL:000000bb +0088a980 EXTERNAL:000000be 0088a980 EXTERNAL:000000a0 0088a980 EXTERNAL:000000bc -0088a980 EXTERNAL:000000be -0088a980 EXTERNAL:000000bf 0088a9e0 EXTERNAL:000000b8 +0088a9e0 EXTERNAL:000000bf 0088a9e0 EXTERNAL:000000bb +0088a9e0 EXTERNAL:000000be 0088a9e0 EXTERNAL:000000a0 0088a9e0 EXTERNAL:000000bc -0088a9e0 EXTERNAL:000000be -0088a9e0 EXTERNAL:000000bf 0088aa40 EXTERNAL:000000b8 +0088aa40 EXTERNAL:000000bf 0088aa40 EXTERNAL:000000bb +0088aa40 EXTERNAL:000000be 0088aa40 EXTERNAL:000000a0 0088aa40 EXTERNAL:000000bc -0088aa40 EXTERNAL:000000be -0088aa40 EXTERNAL:000000bf 0088aaa0 EXTERNAL:000000b8 +0088aaa0 EXTERNAL:000000bf 0088aaa0 EXTERNAL:000000bb +0088aaa0 EXTERNAL:000000be 0088aaa0 EXTERNAL:000000a0 0088aaa0 EXTERNAL:000000bc -0088aaa0 EXTERNAL:000000be -0088aaa0 EXTERNAL:000000bf 0088ab00 EXTERNAL:000000b8 +0088ab00 EXTERNAL:000000bf 0088ab00 EXTERNAL:000000bb +0088ab00 EXTERNAL:000000be 0088ab00 EXTERNAL:000000a0 0088ab00 EXTERNAL:000000bc -0088ab00 EXTERNAL:000000be -0088ab00 EXTERNAL:000000bf 0088ab60 EXTERNAL:000000b8 +0088ab60 EXTERNAL:000000bf 0088ab60 EXTERNAL:000000bb +0088ab60 EXTERNAL:000000be 0088ab60 EXTERNAL:000000a0 0088ab60 EXTERNAL:000000bc -0088ab60 EXTERNAL:000000be -0088ab60 EXTERNAL:000000bf 0088abc0 EXTERNAL:000000b8 +0088abc0 EXTERNAL:000000bf 0088abc0 EXTERNAL:000000bb +0088abc0 EXTERNAL:000000be 0088abc0 EXTERNAL:000000a0 0088abc0 EXTERNAL:000000bc -0088abc0 EXTERNAL:000000be -0088abc0 EXTERNAL:000000bf +0088ac20 EXTERNAL:000000bf 0088ac20 EXTERNAL:000000b8 0088ac20 EXTERNAL:000000bb -0088ac20 EXTERNAL:000000a0 +0088ac20 EXTERNAL:000000ab 0088ac20 EXTERNAL:000000bd 0088ac20 EXTERNAL:00000083 -0088ac20 EXTERNAL:000000ab -0088ac20 EXTERNAL:000000bc 0088ac20 EXTERNAL:000000be -0088ac20 EXTERNAL:000000bf +0088ac20 EXTERNAL:000000a0 +0088ac20 EXTERNAL:000000bc +0088ada0 EXTERNAL:000000bf 0088ada0 EXTERNAL:000000b8 0088ada0 EXTERNAL:000000bb -0088ada0 EXTERNAL:000000a0 +0088ada0 EXTERNAL:000000ab 0088ada0 EXTERNAL:000000bd 0088ada0 EXTERNAL:00000083 -0088ada0 EXTERNAL:000000ab -0088ada0 EXTERNAL:000000bc 0088ada0 EXTERNAL:000000be -0088ada0 EXTERNAL:000000bf +0088ada0 EXTERNAL:000000a0 +0088ada0 EXTERNAL:000000bc +0088af40 EXTERNAL:000000bf 0088af40 EXTERNAL:000000b8 0088af40 EXTERNAL:000000bb -0088af40 EXTERNAL:000000a0 +0088af40 EXTERNAL:000000ab 0088af40 EXTERNAL:000000bd 0088af40 EXTERNAL:00000083 -0088af40 EXTERNAL:000000ab -0088af40 EXTERNAL:000000bc 0088af40 EXTERNAL:000000be -0088af40 EXTERNAL:000000bf +0088af40 EXTERNAL:000000a0 +0088af40 EXTERNAL:000000bc 0088b0c0 EXTERNAL:000000b8 +0088b0c0 EXTERNAL:000000bf 0088b0c0 EXTERNAL:000000bb +0088b0c0 EXTERNAL:000000be 0088b0c0 EXTERNAL:000000a0 0088b0c0 EXTERNAL:000000bc -0088b0c0 EXTERNAL:000000be -0088b0c0 EXTERNAL:000000bf 0088b120 EXTERNAL:000000b8 +0088b120 EXTERNAL:000000bf 0088b120 EXTERNAL:000000bb +0088b120 EXTERNAL:000000be 0088b120 EXTERNAL:000000a0 0088b120 EXTERNAL:000000bc -0088b120 EXTERNAL:000000be -0088b120 EXTERNAL:000000bf 0088b180 EXTERNAL:000000b8 -0088b180 EXTERNAL:000000bb -0088b180 EXTERNAL:000000bc -0088b180 EXTERNAL:000000be 0088b180 EXTERNAL:000000bf +0088b180 EXTERNAL:000000bb +0088b180 EXTERNAL:000000be +0088b180 EXTERNAL:000000bc 0088b220 EXTERNAL:000000b8 -0088b220 EXTERNAL:000000bb -0088b220 EXTERNAL:000000bc -0088b220 EXTERNAL:000000be 0088b220 EXTERNAL:000000bf +0088b220 EXTERNAL:000000bb +0088b220 EXTERNAL:000000be +0088b220 EXTERNAL:000000bc 0088b2c0 EXTERNAL:000000b8 -0088b2c0 EXTERNAL:000000bb -0088b2c0 EXTERNAL:000000bc -0088b2c0 EXTERNAL:000000be 0088b2c0 EXTERNAL:000000bf +0088b2c0 EXTERNAL:000000bb +0088b2c0 EXTERNAL:000000be +0088b2c0 EXTERNAL:000000bc 0088b360 EXTERNAL:000000b8 -0088b360 EXTERNAL:000000bb -0088b360 EXTERNAL:000000bc -0088b360 EXTERNAL:000000be 0088b360 EXTERNAL:000000bf +0088b360 EXTERNAL:000000bb +0088b360 EXTERNAL:000000be +0088b360 EXTERNAL:000000bc 0088b400 EXTERNAL:000000b8 -0088b400 EXTERNAL:000000bb -0088b400 EXTERNAL:000000bc -0088b400 EXTERNAL:000000be 0088b400 EXTERNAL:000000bf +0088b400 EXTERNAL:000000bb +0088b400 EXTERNAL:000000be +0088b400 EXTERNAL:000000bc 0088b4a0 EXTERNAL:000000b8 -0088b4a0 EXTERNAL:000000bb -0088b4a0 EXTERNAL:000000bc -0088b4a0 EXTERNAL:000000be 0088b4a0 EXTERNAL:000000bf +0088b4a0 EXTERNAL:000000bb +0088b4a0 EXTERNAL:000000be +0088b4a0 EXTERNAL:000000bc 0088b540 EXTERNAL:000000b8 -0088b540 EXTERNAL:000000bb -0088b540 EXTERNAL:000000bc -0088b540 EXTERNAL:000000be 0088b540 EXTERNAL:000000bf +0088b540 EXTERNAL:000000bb +0088b540 EXTERNAL:000000be +0088b540 EXTERNAL:000000bc 0088b5e0 008a2e40 +0088b600 EXTERNAL:000000bf 0088b600 EXTERNAL:000000b8 0088b600 EXTERNAL:000000bb -0088b600 EXTERNAL:000000a0 +0088b600 EXTERNAL:000000ab 0088b600 EXTERNAL:000000bd 0088b600 EXTERNAL:00000083 -0088b600 EXTERNAL:000000ab -0088b600 EXTERNAL:000000bc 0088b600 EXTERNAL:000000be -0088b600 EXTERNAL:000000bf +0088b600 EXTERNAL:000000a0 +0088b600 EXTERNAL:000000bc 0088b770 EXTERNAL:000000b8 +0088b770 EXTERNAL:000000bf 0088b770 EXTERNAL:000000bb +0088b770 EXTERNAL:000000be 0088b770 EXTERNAL:000000a0 0088b770 EXTERNAL:000000bc -0088b770 EXTERNAL:000000be -0088b770 EXTERNAL:000000bf 0088b7d0 EXTERNAL:000000b8 +0088b7d0 EXTERNAL:000000bf 0088b7d0 EXTERNAL:000000bb +0088b7d0 EXTERNAL:000000be 0088b7d0 EXTERNAL:000000a0 0088b7d0 EXTERNAL:000000bc -0088b7d0 EXTERNAL:000000be -0088b7d0 EXTERNAL:000000bf 0088b830 EXTERNAL:000000b8 +0088b830 EXTERNAL:000000bf 0088b830 EXTERNAL:000000bb +0088b830 EXTERNAL:000000be 0088b830 EXTERNAL:000000a0 0088b830 EXTERNAL:000000bc -0088b830 EXTERNAL:000000be -0088b830 EXTERNAL:000000bf 0088b890 EXTERNAL:000000b8 +0088b890 EXTERNAL:000000bf 0088b890 EXTERNAL:000000bb +0088b890 EXTERNAL:000000be 0088b890 EXTERNAL:000000a0 0088b890 EXTERNAL:000000bc -0088b890 EXTERNAL:000000be -0088b890 EXTERNAL:000000bf 0088b8f0 EXTERNAL:000000b8 +0088b8f0 EXTERNAL:000000bf 0088b8f0 EXTERNAL:000000bb +0088b8f0 EXTERNAL:000000be 0088b8f0 EXTERNAL:000000a0 0088b8f0 EXTERNAL:000000bc -0088b8f0 EXTERNAL:000000be -0088b8f0 EXTERNAL:000000bf 0088b950 EXTERNAL:000000b8 +0088b950 EXTERNAL:000000bf 0088b950 EXTERNAL:000000bb +0088b950 EXTERNAL:000000be 0088b950 EXTERNAL:000000a0 0088b950 EXTERNAL:000000bc -0088b950 EXTERNAL:000000be -0088b950 EXTERNAL:000000bf 0088b9b0 EXTERNAL:000000b8 -0088b9b0 EXTERNAL:000000bb -0088b9b0 EXTERNAL:000000a0 -0088b9b0 EXTERNAL:000000ab -0088b9b0 EXTERNAL:000000bc -0088b9b0 EXTERNAL:000000be 0088b9b0 EXTERNAL:000000bf +0088b9b0 EXTERNAL:000000bb +0088b9b0 EXTERNAL:000000ab +0088b9b0 EXTERNAL:000000be +0088b9b0 EXTERNAL:000000a0 +0088b9b0 EXTERNAL:000000bc 0088ba50 EXTERNAL:000000b8 -0088ba50 EXTERNAL:000000bb -0088ba50 EXTERNAL:000000a0 -0088ba50 EXTERNAL:000000ab -0088ba50 EXTERNAL:000000bc -0088ba50 EXTERNAL:000000be 0088ba50 EXTERNAL:000000bf +0088ba50 EXTERNAL:000000bb +0088ba50 EXTERNAL:000000ab +0088ba50 EXTERNAL:000000be +0088ba50 EXTERNAL:000000a0 +0088ba50 EXTERNAL:000000bc 0088bb00 EXTERNAL:000000b8 +0088bb00 EXTERNAL:000000bf 0088bb00 EXTERNAL:000000bb +0088bb00 EXTERNAL:000000be 0088bb00 EXTERNAL:000000a0 0088bb00 EXTERNAL:000000bc -0088bb00 EXTERNAL:000000be -0088bb00 EXTERNAL:000000bf +0088bb60 EXTERNAL:000000bf 0088bb60 EXTERNAL:000000b8 0088bb60 EXTERNAL:000000bb -0088bb60 EXTERNAL:000000a0 +0088bb60 EXTERNAL:000000ab 0088bb60 EXTERNAL:000000bd 0088bb60 EXTERNAL:00000083 -0088bb60 EXTERNAL:000000ab -0088bb60 EXTERNAL:000000bc 0088bb60 EXTERNAL:000000be -0088bb60 EXTERNAL:000000bf +0088bb60 EXTERNAL:000000a0 +0088bb60 EXTERNAL:000000bc +0088bcd0 EXTERNAL:000000bf 0088bcd0 EXTERNAL:000000b8 0088bcd0 EXTERNAL:000000bb -0088bcd0 EXTERNAL:000000a0 +0088bcd0 EXTERNAL:000000ab 0088bcd0 EXTERNAL:000000bd 0088bcd0 EXTERNAL:00000083 -0088bcd0 EXTERNAL:000000ab -0088bcd0 EXTERNAL:000000bc 0088bcd0 EXTERNAL:000000be -0088bcd0 EXTERNAL:000000bf +0088bcd0 EXTERNAL:000000a0 +0088bcd0 EXTERNAL:000000bc +0088be50 EXTERNAL:000000bf 0088be50 EXTERNAL:000000b8 0088be50 EXTERNAL:000000bb -0088be50 EXTERNAL:000000a0 +0088be50 EXTERNAL:000000ab 0088be50 EXTERNAL:000000bd 0088be50 EXTERNAL:00000083 -0088be50 EXTERNAL:000000ab -0088be50 EXTERNAL:000000bc 0088be50 EXTERNAL:000000be -0088be50 EXTERNAL:000000bf +0088be50 EXTERNAL:000000a0 +0088be50 EXTERNAL:000000bc +0088bfd0 EXTERNAL:000000bf 0088bfd0 EXTERNAL:000000b8 0088bfd0 EXTERNAL:000000bb -0088bfd0 EXTERNAL:000000a0 +0088bfd0 EXTERNAL:000000ab 0088bfd0 EXTERNAL:000000bd 0088bfd0 EXTERNAL:00000083 -0088bfd0 EXTERNAL:000000ab -0088bfd0 EXTERNAL:000000bc 0088bfd0 EXTERNAL:000000be -0088bfd0 EXTERNAL:000000bf +0088bfd0 EXTERNAL:000000a0 +0088bfd0 EXTERNAL:000000bc +0088c150 EXTERNAL:000000bf 0088c150 EXTERNAL:000000b8 0088c150 EXTERNAL:000000bb -0088c150 EXTERNAL:000000a0 +0088c150 EXTERNAL:000000ab 0088c150 EXTERNAL:000000bd 0088c150 EXTERNAL:00000083 -0088c150 EXTERNAL:000000ab -0088c150 EXTERNAL:000000bc 0088c150 EXTERNAL:000000be -0088c150 EXTERNAL:000000bf +0088c150 EXTERNAL:000000a0 +0088c150 EXTERNAL:000000bc +0088c2d0 EXTERNAL:000000bf 0088c2d0 EXTERNAL:000000b8 0088c2d0 EXTERNAL:000000bb -0088c2d0 EXTERNAL:000000a0 +0088c2d0 EXTERNAL:000000ab 0088c2d0 EXTERNAL:000000bd 0088c2d0 EXTERNAL:00000083 -0088c2d0 EXTERNAL:000000ab -0088c2d0 EXTERNAL:000000bc 0088c2d0 EXTERNAL:000000be -0088c2d0 EXTERNAL:000000bf +0088c2d0 EXTERNAL:000000a0 +0088c2d0 EXTERNAL:000000bc 0088c440 008a2be0 0088c460 EXTERNAL:000000b8 +0088c460 EXTERNAL:000000bf 0088c460 EXTERNAL:000000bb +0088c460 EXTERNAL:000000be 0088c460 EXTERNAL:000000a0 0088c460 EXTERNAL:000000bc -0088c460 EXTERNAL:000000be -0088c460 EXTERNAL:000000bf +0088c4c0 EXTERNAL:000000bf 0088c4c0 EXTERNAL:000000b8 0088c4c0 EXTERNAL:000000bb -0088c4c0 EXTERNAL:000000a0 +0088c4c0 EXTERNAL:000000ab 0088c4c0 EXTERNAL:000000bd 0088c4c0 EXTERNAL:00000083 -0088c4c0 EXTERNAL:000000ab -0088c4c0 EXTERNAL:000000bc 0088c4c0 EXTERNAL:000000be -0088c4c0 EXTERNAL:000000bf +0088c4c0 EXTERNAL:000000a0 +0088c4c0 EXTERNAL:000000bc +0088c640 EXTERNAL:000000bf 0088c640 EXTERNAL:000000b8 0088c640 EXTERNAL:000000bb -0088c640 EXTERNAL:000000a0 +0088c640 EXTERNAL:000000ab 0088c640 EXTERNAL:000000bd 0088c640 EXTERNAL:00000083 -0088c640 EXTERNAL:000000ab -0088c640 EXTERNAL:000000bc 0088c640 EXTERNAL:000000be -0088c640 EXTERNAL:000000bf +0088c640 EXTERNAL:000000a0 +0088c640 EXTERNAL:000000bc +0088c7c0 EXTERNAL:000000bf 0088c7c0 EXTERNAL:000000b8 0088c7c0 EXTERNAL:000000bb -0088c7c0 EXTERNAL:000000a0 +0088c7c0 EXTERNAL:000000ab 0088c7c0 EXTERNAL:000000bd 0088c7c0 EXTERNAL:00000083 -0088c7c0 EXTERNAL:000000ab -0088c7c0 EXTERNAL:000000bc 0088c7c0 EXTERNAL:000000be -0088c7c0 EXTERNAL:000000bf +0088c7c0 EXTERNAL:000000a0 +0088c7c0 EXTERNAL:000000bc 0088c940 008a2980 0088c960 EXTERNAL:000000b8 +0088c960 EXTERNAL:000000bf 0088c960 EXTERNAL:000000bb +0088c960 EXTERNAL:000000be 0088c960 EXTERNAL:000000a0 0088c960 EXTERNAL:000000bc -0088c960 EXTERNAL:000000be -0088c960 EXTERNAL:000000bf 0088c9c0 EXTERNAL:000000b8 +0088c9c0 EXTERNAL:000000bf 0088c9c0 EXTERNAL:000000bb +0088c9c0 EXTERNAL:000000be 0088c9c0 EXTERNAL:000000a0 0088c9c0 EXTERNAL:000000bc -0088c9c0 EXTERNAL:000000be -0088c9c0 EXTERNAL:000000bf 0088ca20 EXTERNAL:000000b8 +0088ca20 EXTERNAL:000000bf 0088ca20 EXTERNAL:000000bb +0088ca20 EXTERNAL:000000be 0088ca20 EXTERNAL:000000a0 0088ca20 EXTERNAL:000000bc -0088ca20 EXTERNAL:000000be -0088ca20 EXTERNAL:000000bf +0088ca80 EXTERNAL:000000bf 0088ca80 EXTERNAL:000000b8 0088ca80 EXTERNAL:000000bb -0088ca80 EXTERNAL:000000a0 +0088ca80 EXTERNAL:000000ab 0088ca80 EXTERNAL:000000bd 0088ca80 EXTERNAL:00000083 -0088ca80 EXTERNAL:000000ab -0088ca80 EXTERNAL:000000bc 0088ca80 EXTERNAL:000000be -0088ca80 EXTERNAL:000000bf +0088ca80 EXTERNAL:000000a0 +0088ca80 EXTERNAL:000000bc 0088cc00 008a2720 0088cc20 EXTERNAL:000000b8 -0088cc20 EXTERNAL:000000bb -0088cc20 EXTERNAL:000000a0 -0088cc20 EXTERNAL:000000ab -0088cc20 EXTERNAL:000000bc -0088cc20 EXTERNAL:000000be 0088cc20 EXTERNAL:000000bf +0088cc20 EXTERNAL:000000bb +0088cc20 EXTERNAL:000000ab +0088cc20 EXTERNAL:000000be +0088cc20 EXTERNAL:000000a0 +0088cc20 EXTERNAL:000000bc 0088ccd0 EXTERNAL:000000b8 +0088ccd0 EXTERNAL:000000bf 0088ccd0 EXTERNAL:000000bb +0088ccd0 EXTERNAL:000000be 0088ccd0 EXTERNAL:000000a0 0088ccd0 EXTERNAL:000000bc -0088ccd0 EXTERNAL:000000be -0088ccd0 EXTERNAL:000000bf 0088cd30 EXTERNAL:000000b8 -0088cd30 EXTERNAL:000000bb -0088cd30 EXTERNAL:000000a0 -0088cd30 EXTERNAL:000000ab -0088cd30 EXTERNAL:000000bc -0088cd30 EXTERNAL:000000be 0088cd30 EXTERNAL:000000bf +0088cd30 EXTERNAL:000000bb +0088cd30 EXTERNAL:000000ab +0088cd30 EXTERNAL:000000be +0088cd30 EXTERNAL:000000a0 +0088cd30 EXTERNAL:000000bc 0088cde0 EXTERNAL:000000b8 +0088cde0 EXTERNAL:000000bf 0088cde0 EXTERNAL:000000bb +0088cde0 EXTERNAL:000000be 0088cde0 EXTERNAL:000000a0 0088cde0 EXTERNAL:000000bc -0088cde0 EXTERNAL:000000be -0088cde0 EXTERNAL:000000bf +0088ce40 EXTERNAL:000000bf 0088ce40 EXTERNAL:000000b8 0088ce40 EXTERNAL:000000bb -0088ce40 EXTERNAL:000000a0 +0088ce40 EXTERNAL:000000ab 0088ce40 EXTERNAL:000000bd 0088ce40 EXTERNAL:00000083 -0088ce40 EXTERNAL:000000ab -0088ce40 EXTERNAL:000000bc 0088ce40 EXTERNAL:000000be -0088ce40 EXTERNAL:000000bf +0088ce40 EXTERNAL:000000a0 +0088ce40 EXTERNAL:000000bc +0088cfb0 EXTERNAL:000000bf 0088cfb0 EXTERNAL:000000b8 0088cfb0 EXTERNAL:000000bb -0088cfb0 EXTERNAL:000000a0 +0088cfb0 EXTERNAL:000000ab 0088cfb0 EXTERNAL:000000bd 0088cfb0 EXTERNAL:00000083 -0088cfb0 EXTERNAL:000000ab -0088cfb0 EXTERNAL:000000bc 0088cfb0 EXTERNAL:000000be -0088cfb0 EXTERNAL:000000bf +0088cfb0 EXTERNAL:000000a0 +0088cfb0 EXTERNAL:000000bc 0088d130 008a24c0 +0088d150 EXTERNAL:000000bf 0088d150 EXTERNAL:000000b8 0088d150 EXTERNAL:000000bb -0088d150 EXTERNAL:000000a0 +0088d150 EXTERNAL:000000ab 0088d150 EXTERNAL:000000bd 0088d150 EXTERNAL:00000083 -0088d150 EXTERNAL:000000ab -0088d150 EXTERNAL:000000bc 0088d150 EXTERNAL:000000be -0088d150 EXTERNAL:000000bf +0088d150 EXTERNAL:000000a0 +0088d150 EXTERNAL:000000bc 0088d2d0 008a2260 0088d2f0 EXTERNAL:000000b8 +0088d2f0 EXTERNAL:000000bf 0088d2f0 EXTERNAL:000000bb +0088d2f0 EXTERNAL:000000be 0088d2f0 EXTERNAL:000000a0 0088d2f0 EXTERNAL:000000bc -0088d2f0 EXTERNAL:000000be -0088d2f0 EXTERNAL:000000bf +0088d350 EXTERNAL:000000bf 0088d350 EXTERNAL:000000b8 0088d350 EXTERNAL:000000bb -0088d350 EXTERNAL:000000a0 +0088d350 EXTERNAL:000000ab 0088d350 EXTERNAL:000000bd 0088d350 EXTERNAL:00000083 -0088d350 EXTERNAL:000000ab -0088d350 EXTERNAL:000000bc 0088d350 EXTERNAL:000000be -0088d350 EXTERNAL:000000bf +0088d350 EXTERNAL:000000a0 +0088d350 EXTERNAL:000000bc +0088d4d0 EXTERNAL:000000bf 0088d4d0 EXTERNAL:000000b8 0088d4d0 EXTERNAL:000000bb -0088d4d0 EXTERNAL:000000a0 +0088d4d0 EXTERNAL:000000ab 0088d4d0 EXTERNAL:000000bd 0088d4d0 EXTERNAL:00000083 -0088d4d0 EXTERNAL:000000ab -0088d4d0 EXTERNAL:000000bc 0088d4d0 EXTERNAL:000000be -0088d4d0 EXTERNAL:000000bf +0088d4d0 EXTERNAL:000000a0 +0088d4d0 EXTERNAL:000000bc +0088d650 EXTERNAL:000000bf 0088d650 EXTERNAL:000000b8 0088d650 EXTERNAL:000000bb -0088d650 EXTERNAL:000000a0 +0088d650 EXTERNAL:000000ab 0088d650 EXTERNAL:000000bd 0088d650 EXTERNAL:00000083 -0088d650 EXTERNAL:000000ab -0088d650 EXTERNAL:000000bc 0088d650 EXTERNAL:000000be -0088d650 EXTERNAL:000000bf +0088d650 EXTERNAL:000000a0 +0088d650 EXTERNAL:000000bc 0088d7d0 008a2000 +0088d7f0 EXTERNAL:000000bf 0088d7f0 EXTERNAL:000000b8 0088d7f0 EXTERNAL:000000bb -0088d7f0 EXTERNAL:000000a0 +0088d7f0 EXTERNAL:000000ab 0088d7f0 EXTERNAL:000000bd 0088d7f0 EXTERNAL:00000083 -0088d7f0 EXTERNAL:000000ab -0088d7f0 EXTERNAL:000000bc 0088d7f0 EXTERNAL:000000be -0088d7f0 EXTERNAL:000000bf -0088d970 EXTERNAL:000000aa -0088d970 EXTERNAL:000000bb -0088d970 EXTERNAL:000000bc -0088d970 0085d730 -0088d970 EXTERNAL:000000b8 -0088d970 0085d980 -0088d970 EXTERNAL:000000a0 -0088d970 008c3cc0 -0088d970 EXTERNAL:000000bd -0088d970 EXTERNAL:00000083 +0088d7f0 EXTERNAL:000000a0 +0088d7f0 EXTERNAL:000000bc 0088d970 EXTERNAL:000000ab -0088d970 EXTERNAL:000000be +0088d970 0085d730 +0088d970 0085d980 +0088d970 EXTERNAL:00000083 0088d970 0085d910 -0088d970 0085cce0 +0088d970 EXTERNAL:000000be +0088d970 008c3cc0 +0088d970 EXTERNAL:000000bc +0088d970 EXTERNAL:000000aa 0088d970 EXTERNAL:000000bf -0088dc30 EXTERNAL:000000aa -0088dc30 EXTERNAL:000000bb -0088dc30 EXTERNAL:000000bc -0088dc30 0085d730 -0088dc30 EXTERNAL:000000b8 -0088dc30 0085d980 -0088dc30 EXTERNAL:000000a0 -0088dc30 EXTERNAL:000000bd -0088dc30 EXTERNAL:00000083 +0088d970 EXTERNAL:000000b8 +0088d970 EXTERNAL:000000bb +0088d970 0085cce0 +0088d970 EXTERNAL:000000bd +0088d970 EXTERNAL:000000a0 0088dc30 EXTERNAL:000000ab -0088dc30 EXTERNAL:000000be +0088dc30 0085d730 +0088dc30 0085d980 +0088dc30 EXTERNAL:00000083 0088dc30 0085d910 -0088dc30 0085cce0 -0088dc30 EXTERNAL:000000bf +0088dc30 EXTERNAL:000000be 0088dc30 008c3ab0 +0088dc30 EXTERNAL:000000bc +0088dc30 EXTERNAL:000000aa +0088dc30 EXTERNAL:000000bf +0088dc30 EXTERNAL:000000b8 +0088dc30 EXTERNAL:000000bb +0088dc30 0085cce0 +0088dc30 EXTERNAL:000000bd +0088dc30 EXTERNAL:000000a0 0088def0 008a1df0 +0088df10 EXTERNAL:000000bf 0088df10 EXTERNAL:000000b8 0088df10 EXTERNAL:000000bb -0088df10 EXTERNAL:000000a0 +0088df10 EXTERNAL:000000ab 0088df10 EXTERNAL:000000bd 0088df10 EXTERNAL:00000083 -0088df10 EXTERNAL:000000ab -0088df10 EXTERNAL:000000bc 0088df10 EXTERNAL:000000be -0088df10 EXTERNAL:000000bf +0088df10 EXTERNAL:000000a0 +0088df10 EXTERNAL:000000bc +0088e090 EXTERNAL:000000bf 0088e090 EXTERNAL:000000b8 0088e090 EXTERNAL:000000bb -0088e090 EXTERNAL:000000a0 +0088e090 EXTERNAL:000000ab 0088e090 EXTERNAL:000000bd 0088e090 EXTERNAL:00000083 -0088e090 EXTERNAL:000000ab -0088e090 EXTERNAL:000000bc 0088e090 EXTERNAL:000000be -0088e090 EXTERNAL:000000bf +0088e090 EXTERNAL:000000a0 +0088e090 EXTERNAL:000000bc +0088e200 EXTERNAL:000000bf 0088e200 EXTERNAL:000000b8 0088e200 EXTERNAL:000000bb -0088e200 EXTERNAL:000000a0 +0088e200 EXTERNAL:000000ab 0088e200 EXTERNAL:000000bd 0088e200 EXTERNAL:00000083 -0088e200 EXTERNAL:000000ab -0088e200 EXTERNAL:000000bc 0088e200 EXTERNAL:000000be -0088e200 EXTERNAL:000000bf +0088e200 EXTERNAL:000000a0 +0088e200 EXTERNAL:000000bc 0088e380 008a1be0 0088e3a0 EXTERNAL:000000b8 -0088e3a0 EXTERNAL:000000bb -0088e3a0 EXTERNAL:000000a0 -0088e3a0 EXTERNAL:000000ab -0088e3a0 EXTERNAL:000000bc -0088e3a0 EXTERNAL:000000be 0088e3a0 EXTERNAL:000000bf +0088e3a0 EXTERNAL:000000bb +0088e3a0 EXTERNAL:000000ab +0088e3a0 EXTERNAL:000000be +0088e3a0 EXTERNAL:000000a0 +0088e3a0 EXTERNAL:000000bc +0088e450 EXTERNAL:000000bf 0088e450 EXTERNAL:000000b8 0088e450 EXTERNAL:000000bb -0088e450 EXTERNAL:000000a0 +0088e450 EXTERNAL:000000ab 0088e450 EXTERNAL:000000bd 0088e450 EXTERNAL:00000083 -0088e450 EXTERNAL:000000ab -0088e450 EXTERNAL:000000bc 0088e450 EXTERNAL:000000be -0088e450 EXTERNAL:000000bf +0088e450 EXTERNAL:000000a0 +0088e450 EXTERNAL:000000bc +0088e5c0 EXTERNAL:000000bf 0088e5c0 EXTERNAL:000000b8 0088e5c0 EXTERNAL:000000bb -0088e5c0 EXTERNAL:000000a0 +0088e5c0 EXTERNAL:000000ab 0088e5c0 EXTERNAL:000000bd 0088e5c0 EXTERNAL:00000083 -0088e5c0 EXTERNAL:000000ab -0088e5c0 EXTERNAL:000000bc 0088e5c0 EXTERNAL:000000be -0088e5c0 EXTERNAL:000000bf +0088e5c0 EXTERNAL:000000a0 +0088e5c0 EXTERNAL:000000bc +0088e6c0 EXTERNAL:000000bf 0088e6c0 EXTERNAL:000000b8 0088e6c0 EXTERNAL:000000bb -0088e6c0 EXTERNAL:000000a0 +0088e6c0 EXTERNAL:000000ab 0088e6c0 EXTERNAL:000000bd 0088e6c0 EXTERNAL:00000083 -0088e6c0 EXTERNAL:000000ab -0088e6c0 EXTERNAL:000000bc 0088e6c0 EXTERNAL:000000be -0088e6c0 EXTERNAL:000000bf +0088e6c0 EXTERNAL:000000a0 +0088e6c0 EXTERNAL:000000bc +0088e840 EXTERNAL:000000bf 0088e840 EXTERNAL:000000b8 0088e840 EXTERNAL:000000bb -0088e840 EXTERNAL:000000a0 +0088e840 EXTERNAL:000000ab 0088e840 EXTERNAL:000000bd 0088e840 EXTERNAL:00000083 -0088e840 EXTERNAL:000000ab -0088e840 EXTERNAL:000000bc 0088e840 EXTERNAL:000000be -0088e840 EXTERNAL:000000bf +0088e840 EXTERNAL:000000a0 +0088e840 EXTERNAL:000000bc 0088e9c0 008a19d0 +0088e9e0 EXTERNAL:000000bf 0088e9e0 EXTERNAL:000000b8 0088e9e0 EXTERNAL:000000bb -0088e9e0 EXTERNAL:000000a0 +0088e9e0 EXTERNAL:000000ab 0088e9e0 EXTERNAL:000000bd 0088e9e0 EXTERNAL:00000083 -0088e9e0 EXTERNAL:000000ab -0088e9e0 EXTERNAL:000000bc 0088e9e0 EXTERNAL:000000be -0088e9e0 EXTERNAL:000000bf +0088e9e0 EXTERNAL:000000a0 +0088e9e0 EXTERNAL:000000bc +0088ead0 EXTERNAL:000000bf 0088ead0 EXTERNAL:000000b8 0088ead0 EXTERNAL:000000bb -0088ead0 EXTERNAL:000000a0 +0088ead0 EXTERNAL:000000ab 0088ead0 EXTERNAL:000000bd 0088ead0 EXTERNAL:00000083 -0088ead0 EXTERNAL:000000ab -0088ead0 EXTERNAL:000000bc 0088ead0 EXTERNAL:000000be -0088ead0 EXTERNAL:000000bf +0088ead0 EXTERNAL:000000a0 +0088ead0 EXTERNAL:000000bc +0088ebc0 EXTERNAL:000000bf 0088ebc0 EXTERNAL:000000b8 0088ebc0 EXTERNAL:000000bb -0088ebc0 EXTERNAL:000000a0 +0088ebc0 EXTERNAL:000000ab 0088ebc0 EXTERNAL:000000bd 0088ebc0 EXTERNAL:00000083 -0088ebc0 EXTERNAL:000000ab -0088ebc0 EXTERNAL:000000bc 0088ebc0 EXTERNAL:000000be -0088ebc0 EXTERNAL:000000bf +0088ebc0 EXTERNAL:000000a0 +0088ebc0 EXTERNAL:000000bc +0088ecc0 EXTERNAL:000000bf 0088ecc0 EXTERNAL:000000b8 0088ecc0 EXTERNAL:000000bb -0088ecc0 EXTERNAL:000000a0 +0088ecc0 EXTERNAL:000000ab 0088ecc0 EXTERNAL:000000bd 0088ecc0 EXTERNAL:00000083 -0088ecc0 EXTERNAL:000000ab -0088ecc0 EXTERNAL:000000bc 0088ecc0 EXTERNAL:000000be -0088ecc0 EXTERNAL:000000bf +0088ecc0 EXTERNAL:000000a0 +0088ecc0 EXTERNAL:000000bc +0088edc0 EXTERNAL:000000bf 0088edc0 EXTERNAL:000000b8 0088edc0 EXTERNAL:000000bb -0088edc0 EXTERNAL:000000a0 +0088edc0 EXTERNAL:000000ab 0088edc0 EXTERNAL:000000bd 0088edc0 EXTERNAL:00000083 -0088edc0 EXTERNAL:000000ab -0088edc0 EXTERNAL:000000bc 0088edc0 EXTERNAL:000000be -0088edc0 EXTERNAL:000000bf +0088edc0 EXTERNAL:000000a0 +0088edc0 EXTERNAL:000000bc +0088eeb0 EXTERNAL:000000bf 0088eeb0 EXTERNAL:000000b8 0088eeb0 EXTERNAL:000000bb -0088eeb0 EXTERNAL:000000a0 +0088eeb0 EXTERNAL:000000ab 0088eeb0 EXTERNAL:000000bd 0088eeb0 EXTERNAL:00000083 -0088eeb0 EXTERNAL:000000ab -0088eeb0 EXTERNAL:000000bc 0088eeb0 EXTERNAL:000000be -0088eeb0 EXTERNAL:000000bf +0088eeb0 EXTERNAL:000000a0 +0088eeb0 EXTERNAL:000000bc +0088efb0 EXTERNAL:000000bf 0088efb0 EXTERNAL:000000b8 0088efb0 EXTERNAL:000000bb -0088efb0 EXTERNAL:000000a0 +0088efb0 EXTERNAL:000000ab 0088efb0 EXTERNAL:000000bd 0088efb0 EXTERNAL:00000083 -0088efb0 EXTERNAL:000000ab -0088efb0 EXTERNAL:000000bc 0088efb0 EXTERNAL:000000be -0088efb0 EXTERNAL:000000bf +0088efb0 EXTERNAL:000000a0 +0088efb0 EXTERNAL:000000bc +0088f0b0 EXTERNAL:000000bf 0088f0b0 EXTERNAL:000000b8 0088f0b0 EXTERNAL:000000bb -0088f0b0 EXTERNAL:000000a0 +0088f0b0 EXTERNAL:000000ab 0088f0b0 EXTERNAL:000000bd 0088f0b0 EXTERNAL:00000083 -0088f0b0 EXTERNAL:000000ab -0088f0b0 EXTERNAL:000000bc 0088f0b0 EXTERNAL:000000be -0088f0b0 EXTERNAL:000000bf +0088f0b0 EXTERNAL:000000a0 +0088f0b0 EXTERNAL:000000bc +0088f1b0 EXTERNAL:000000bf 0088f1b0 EXTERNAL:000000b8 0088f1b0 EXTERNAL:000000bb -0088f1b0 EXTERNAL:000000a0 +0088f1b0 EXTERNAL:000000ab 0088f1b0 EXTERNAL:000000bd 0088f1b0 EXTERNAL:00000083 -0088f1b0 EXTERNAL:000000ab -0088f1b0 EXTERNAL:000000bc 0088f1b0 EXTERNAL:000000be -0088f1b0 EXTERNAL:000000bf +0088f1b0 EXTERNAL:000000a0 +0088f1b0 EXTERNAL:000000bc 0088f2a0 008a17c0 +0088f2c0 EXTERNAL:000000bf 0088f2c0 EXTERNAL:000000b8 0088f2c0 EXTERNAL:000000bb -0088f2c0 EXTERNAL:000000a0 +0088f2c0 EXTERNAL:000000ab 0088f2c0 EXTERNAL:000000bd 0088f2c0 EXTERNAL:00000083 -0088f2c0 EXTERNAL:000000ab -0088f2c0 EXTERNAL:000000bc 0088f2c0 EXTERNAL:000000be -0088f2c0 EXTERNAL:000000bf +0088f2c0 EXTERNAL:000000a0 +0088f2c0 EXTERNAL:000000bc +0088f430 EXTERNAL:000000bf 0088f430 EXTERNAL:000000b8 0088f430 EXTERNAL:000000bb -0088f430 EXTERNAL:000000a0 +0088f430 EXTERNAL:000000ab 0088f430 EXTERNAL:000000bd 0088f430 EXTERNAL:00000083 -0088f430 EXTERNAL:000000ab -0088f430 EXTERNAL:000000bc 0088f430 EXTERNAL:000000be -0088f430 EXTERNAL:000000bf +0088f430 EXTERNAL:000000a0 +0088f430 EXTERNAL:000000bc +0088f5a0 EXTERNAL:000000bf 0088f5a0 EXTERNAL:000000b8 0088f5a0 EXTERNAL:000000bb -0088f5a0 EXTERNAL:000000a0 +0088f5a0 EXTERNAL:000000ab 0088f5a0 EXTERNAL:000000bd 0088f5a0 EXTERNAL:00000083 -0088f5a0 EXTERNAL:000000ab -0088f5a0 EXTERNAL:000000bc 0088f5a0 EXTERNAL:000000be -0088f5a0 EXTERNAL:000000bf +0088f5a0 EXTERNAL:000000a0 +0088f5a0 EXTERNAL:000000bc +0088f720 EXTERNAL:000000bf 0088f720 EXTERNAL:000000b8 0088f720 EXTERNAL:000000bb -0088f720 EXTERNAL:000000a0 +0088f720 EXTERNAL:000000ab 0088f720 EXTERNAL:000000bd 0088f720 EXTERNAL:00000083 -0088f720 EXTERNAL:000000ab -0088f720 EXTERNAL:000000bc 0088f720 EXTERNAL:000000be -0088f720 EXTERNAL:000000bf +0088f720 EXTERNAL:000000a0 +0088f720 EXTERNAL:000000bc +0088f890 EXTERNAL:000000bf 0088f890 EXTERNAL:000000b8 0088f890 EXTERNAL:000000bb -0088f890 EXTERNAL:000000a0 +0088f890 EXTERNAL:000000ab 0088f890 EXTERNAL:000000bd 0088f890 EXTERNAL:00000083 -0088f890 EXTERNAL:000000ab -0088f890 EXTERNAL:000000bc 0088f890 EXTERNAL:000000be -0088f890 EXTERNAL:000000bf +0088f890 EXTERNAL:000000a0 +0088f890 EXTERNAL:000000bc +0088fa00 EXTERNAL:000000bf 0088fa00 EXTERNAL:000000b8 0088fa00 EXTERNAL:000000bb -0088fa00 EXTERNAL:000000a0 +0088fa00 EXTERNAL:000000ab 0088fa00 EXTERNAL:000000bd 0088fa00 EXTERNAL:00000083 -0088fa00 EXTERNAL:000000ab -0088fa00 EXTERNAL:000000bc 0088fa00 EXTERNAL:000000be -0088fa00 EXTERNAL:000000bf +0088fa00 EXTERNAL:000000a0 +0088fa00 EXTERNAL:000000bc +0088fb80 EXTERNAL:000000bf 0088fb80 EXTERNAL:000000b8 0088fb80 EXTERNAL:000000bb -0088fb80 EXTERNAL:000000a0 +0088fb80 EXTERNAL:000000ab 0088fb80 EXTERNAL:000000bd 0088fb80 EXTERNAL:00000083 -0088fb80 EXTERNAL:000000ab -0088fb80 EXTERNAL:000000bc 0088fb80 EXTERNAL:000000be -0088fb80 EXTERNAL:000000bf +0088fb80 EXTERNAL:000000a0 +0088fb80 EXTERNAL:000000bc 0088fcf0 008a15b0 0088fd10 EXTERNAL:000000b8 -0088fd10 EXTERNAL:000000bb -0088fd10 EXTERNAL:000000a0 -0088fd10 EXTERNAL:000000ab -0088fd10 EXTERNAL:000000bc -0088fd10 EXTERNAL:000000be 0088fd10 EXTERNAL:000000bf +0088fd10 EXTERNAL:000000bb +0088fd10 EXTERNAL:000000ab +0088fd10 EXTERNAL:000000be +0088fd10 EXTERNAL:000000a0 +0088fd10 EXTERNAL:000000bc 0088fdb0 EXTERNAL:000000b8 +0088fdb0 EXTERNAL:000000bf 0088fdb0 EXTERNAL:000000bb +0088fdb0 EXTERNAL:000000be 0088fdb0 EXTERNAL:000000a0 0088fdb0 EXTERNAL:000000bc -0088fdb0 EXTERNAL:000000be -0088fdb0 EXTERNAL:000000bf 0088fe10 EXTERNAL:000000b8 +0088fe10 EXTERNAL:000000bf 0088fe10 EXTERNAL:000000bb +0088fe10 EXTERNAL:000000be 0088fe10 EXTERNAL:000000a0 0088fe10 EXTERNAL:000000bc -0088fe10 EXTERNAL:000000be -0088fe10 EXTERNAL:000000bf 0088fe70 008997b0 0088fe90 008997b0 0088feb0 EXTERNAL:000000b8 -0088feb0 EXTERNAL:000000bb -0088feb0 EXTERNAL:000000a0 -0088feb0 EXTERNAL:000000ab -0088feb0 EXTERNAL:000000bc -0088feb0 EXTERNAL:000000be 0088feb0 EXTERNAL:000000bf +0088feb0 EXTERNAL:000000bb +0088feb0 EXTERNAL:000000ab +0088feb0 EXTERNAL:000000be +0088feb0 EXTERNAL:000000a0 +0088feb0 EXTERNAL:000000bc 0088ff60 EXTERNAL:000000b8 +0088ff60 EXTERNAL:000000bf 0088ff60 EXTERNAL:000000bb +0088ff60 EXTERNAL:000000be 0088ff60 EXTERNAL:000000a0 0088ff60 EXTERNAL:000000bc -0088ff60 EXTERNAL:000000be -0088ff60 EXTERNAL:000000bf 0088ffc0 EXTERNAL:000000b8 -0088ffc0 EXTERNAL:000000bb -0088ffc0 EXTERNAL:000000a0 -0088ffc0 EXTERNAL:000000ab -0088ffc0 EXTERNAL:000000bc -0088ffc0 EXTERNAL:000000be 0088ffc0 EXTERNAL:000000bf +0088ffc0 EXTERNAL:000000bb +0088ffc0 EXTERNAL:000000ab +0088ffc0 EXTERNAL:000000be +0088ffc0 EXTERNAL:000000a0 +0088ffc0 EXTERNAL:000000bc 00890060 EXTERNAL:000000b8 -00890060 EXTERNAL:000000bb -00890060 EXTERNAL:000000a0 -00890060 EXTERNAL:000000ab -00890060 EXTERNAL:000000bc -00890060 EXTERNAL:000000be 00890060 EXTERNAL:000000bf +00890060 EXTERNAL:000000bb +00890060 EXTERNAL:000000ab +00890060 EXTERNAL:000000be +00890060 EXTERNAL:000000a0 +00890060 EXTERNAL:000000bc 00890110 EXTERNAL:000000b8 +00890110 EXTERNAL:000000bf 00890110 EXTERNAL:000000bb +00890110 EXTERNAL:000000be 00890110 EXTERNAL:000000a0 00890110 EXTERNAL:000000bc -00890110 EXTERNAL:000000be -00890110 EXTERNAL:000000bf 00890170 EXTERNAL:000000b8 -00890170 EXTERNAL:000000bb -00890170 EXTERNAL:000000a0 -00890170 EXTERNAL:000000ab -00890170 EXTERNAL:000000bc -00890170 EXTERNAL:000000be 00890170 EXTERNAL:000000bf +00890170 EXTERNAL:000000bb +00890170 EXTERNAL:000000ab +00890170 EXTERNAL:000000be +00890170 EXTERNAL:000000a0 +00890170 EXTERNAL:000000bc 00890210 EXTERNAL:000000b8 -00890210 EXTERNAL:000000bb -00890210 EXTERNAL:000000a0 -00890210 EXTERNAL:000000ab -00890210 EXTERNAL:000000bc -00890210 EXTERNAL:000000be 00890210 EXTERNAL:000000bf +00890210 EXTERNAL:000000bb +00890210 EXTERNAL:000000ab +00890210 EXTERNAL:000000be +00890210 EXTERNAL:000000a0 +00890210 EXTERNAL:000000bc 008902b0 EXTERNAL:000000b8 +008902b0 EXTERNAL:000000bf 008902b0 EXTERNAL:000000bb +008902b0 EXTERNAL:000000be 008902b0 EXTERNAL:000000a0 008902b0 EXTERNAL:000000bc -008902b0 EXTERNAL:000000be -008902b0 EXTERNAL:000000bf 00890310 EXTERNAL:000000b8 +00890310 EXTERNAL:000000bf 00890310 EXTERNAL:000000bb +00890310 EXTERNAL:000000be 00890310 EXTERNAL:000000a0 00890310 EXTERNAL:000000bc -00890310 EXTERNAL:000000be -00890310 EXTERNAL:000000bf 00890370 EXTERNAL:000000b8 +00890370 EXTERNAL:000000bf 00890370 EXTERNAL:000000bb +00890370 EXTERNAL:000000be 00890370 EXTERNAL:000000a0 00890370 EXTERNAL:000000bc -00890370 EXTERNAL:000000be -00890370 EXTERNAL:000000bf 008903d0 EXTERNAL:000000b8 +008903d0 EXTERNAL:000000bf 008903d0 EXTERNAL:000000bb +008903d0 EXTERNAL:000000be 008903d0 EXTERNAL:000000a0 008903d0 EXTERNAL:000000bc -008903d0 EXTERNAL:000000be -008903d0 EXTERNAL:000000bf 00890430 EXTERNAL:000000b8 -00890430 EXTERNAL:000000bb -00890430 EXTERNAL:000000a0 -00890430 EXTERNAL:000000ab -00890430 EXTERNAL:000000bc -00890430 EXTERNAL:000000be 00890430 EXTERNAL:000000bf +00890430 EXTERNAL:000000bb +00890430 EXTERNAL:000000ab +00890430 EXTERNAL:000000be +00890430 EXTERNAL:000000a0 +00890430 EXTERNAL:000000bc 008904e0 EXTERNAL:000000b8 -008904e0 EXTERNAL:000000bb -008904e0 EXTERNAL:000000a0 -008904e0 EXTERNAL:000000ab -008904e0 EXTERNAL:000000bc -008904e0 EXTERNAL:000000be 008904e0 EXTERNAL:000000bf +008904e0 EXTERNAL:000000bb +008904e0 EXTERNAL:000000ab +008904e0 EXTERNAL:000000be +008904e0 EXTERNAL:000000a0 +008904e0 EXTERNAL:000000bc 00890590 EXTERNAL:000000b8 -00890590 EXTERNAL:000000bb -00890590 EXTERNAL:000000a0 -00890590 EXTERNAL:000000ab -00890590 EXTERNAL:000000bc -00890590 EXTERNAL:000000be 00890590 EXTERNAL:000000bf +00890590 EXTERNAL:000000bb +00890590 EXTERNAL:000000ab +00890590 EXTERNAL:000000be +00890590 EXTERNAL:000000a0 +00890590 EXTERNAL:000000bc 00890640 EXTERNAL:000000b8 -00890640 EXTERNAL:000000bb -00890640 EXTERNAL:000000a0 -00890640 EXTERNAL:000000ab -00890640 EXTERNAL:000000bc -00890640 EXTERNAL:000000be 00890640 EXTERNAL:000000bf +00890640 EXTERNAL:000000bb +00890640 EXTERNAL:000000ab +00890640 EXTERNAL:000000be +00890640 EXTERNAL:000000a0 +00890640 EXTERNAL:000000bc 008906f0 EXTERNAL:000000b8 -008906f0 EXTERNAL:000000bb -008906f0 EXTERNAL:000000a0 -008906f0 EXTERNAL:000000ab -008906f0 EXTERNAL:000000bc -008906f0 EXTERNAL:000000be 008906f0 EXTERNAL:000000bf +008906f0 EXTERNAL:000000bb +008906f0 EXTERNAL:000000ab +008906f0 EXTERNAL:000000be +008906f0 EXTERNAL:000000a0 +008906f0 EXTERNAL:000000bc 00890790 EXTERNAL:000000b8 +00890790 EXTERNAL:000000bf 00890790 EXTERNAL:000000bb +00890790 EXTERNAL:000000be 00890790 EXTERNAL:000000a0 00890790 EXTERNAL:000000bc -00890790 EXTERNAL:000000be -00890790 EXTERNAL:000000bf 008907f0 EXTERNAL:000000b8 -008907f0 EXTERNAL:000000bb -008907f0 EXTERNAL:000000a0 -008907f0 EXTERNAL:000000ab -008907f0 EXTERNAL:000000bc -008907f0 EXTERNAL:000000be 008907f0 EXTERNAL:000000bf +008907f0 EXTERNAL:000000bb +008907f0 EXTERNAL:000000ab +008907f0 EXTERNAL:000000be +008907f0 EXTERNAL:000000a0 +008907f0 EXTERNAL:000000bc 008908a0 EXTERNAL:000000b8 -008908a0 EXTERNAL:000000bb -008908a0 EXTERNAL:000000a0 -008908a0 EXTERNAL:000000ab -008908a0 EXTERNAL:000000bc -008908a0 EXTERNAL:000000be 008908a0 EXTERNAL:000000bf +008908a0 EXTERNAL:000000bb +008908a0 EXTERNAL:000000ab +008908a0 EXTERNAL:000000be +008908a0 EXTERNAL:000000a0 +008908a0 EXTERNAL:000000bc 00890940 EXTERNAL:000000b8 -00890940 EXTERNAL:000000bb -00890940 EXTERNAL:000000a0 -00890940 EXTERNAL:000000ab -00890940 EXTERNAL:000000bc -00890940 EXTERNAL:000000be 00890940 EXTERNAL:000000bf +00890940 EXTERNAL:000000bb +00890940 EXTERNAL:000000ab +00890940 EXTERNAL:000000be +00890940 EXTERNAL:000000a0 +00890940 EXTERNAL:000000bc 008909f0 EXTERNAL:000000b8 -008909f0 EXTERNAL:000000bb -008909f0 EXTERNAL:000000a0 -008909f0 EXTERNAL:000000ab -008909f0 EXTERNAL:000000bc -008909f0 EXTERNAL:000000be 008909f0 EXTERNAL:000000bf +008909f0 EXTERNAL:000000bb +008909f0 EXTERNAL:000000ab +008909f0 EXTERNAL:000000be +008909f0 EXTERNAL:000000a0 +008909f0 EXTERNAL:000000bc 00890aa0 EXTERNAL:000000b8 -00890aa0 EXTERNAL:000000bb -00890aa0 EXTERNAL:000000a0 -00890aa0 EXTERNAL:000000ab -00890aa0 EXTERNAL:000000bc -00890aa0 EXTERNAL:000000be 00890aa0 EXTERNAL:000000bf +00890aa0 EXTERNAL:000000bb +00890aa0 EXTERNAL:000000ab +00890aa0 EXTERNAL:000000be +00890aa0 EXTERNAL:000000a0 +00890aa0 EXTERNAL:000000bc 00890b50 EXTERNAL:000000b8 -00890b50 EXTERNAL:000000bb -00890b50 EXTERNAL:000000a0 -00890b50 EXTERNAL:000000ab -00890b50 EXTERNAL:000000bc -00890b50 EXTERNAL:000000be 00890b50 EXTERNAL:000000bf +00890b50 EXTERNAL:000000bb +00890b50 EXTERNAL:000000ab +00890b50 EXTERNAL:000000be +00890b50 EXTERNAL:000000a0 +00890b50 EXTERNAL:000000bc 00890bf0 EXTERNAL:000000b8 -00890bf0 EXTERNAL:000000bb -00890bf0 EXTERNAL:000000a0 -00890bf0 EXTERNAL:000000ab -00890bf0 EXTERNAL:000000bc -00890bf0 EXTERNAL:000000be 00890bf0 EXTERNAL:000000bf +00890bf0 EXTERNAL:000000bb +00890bf0 EXTERNAL:000000ab +00890bf0 EXTERNAL:000000be +00890bf0 EXTERNAL:000000a0 +00890bf0 EXTERNAL:000000bc 00890c90 EXTERNAL:000000b8 +00890c90 EXTERNAL:000000bf 00890c90 EXTERNAL:000000bb +00890c90 EXTERNAL:000000be 00890c90 EXTERNAL:000000a0 00890c90 EXTERNAL:000000bc -00890c90 EXTERNAL:000000be -00890c90 EXTERNAL:000000bf 00890cf0 EXTERNAL:000000b8 +00890cf0 EXTERNAL:000000bf 00890cf0 EXTERNAL:000000bb +00890cf0 EXTERNAL:000000be 00890cf0 EXTERNAL:000000a0 00890cf0 EXTERNAL:000000bc -00890cf0 EXTERNAL:000000be -00890cf0 EXTERNAL:000000bf 00890d50 EXTERNAL:000000b8 +00890d50 EXTERNAL:000000bf 00890d50 EXTERNAL:000000bb +00890d50 EXTERNAL:000000be 00890d50 EXTERNAL:000000a0 00890d50 EXTERNAL:000000bc -00890d50 EXTERNAL:000000be -00890d50 EXTERNAL:000000bf 00890db0 EXTERNAL:000000b8 +00890db0 EXTERNAL:000000bf 00890db0 EXTERNAL:000000bb +00890db0 EXTERNAL:000000be 00890db0 EXTERNAL:000000a0 00890db0 EXTERNAL:000000bc -00890db0 EXTERNAL:000000be -00890db0 EXTERNAL:000000bf 00890e10 EXTERNAL:000000b8 +00890e10 EXTERNAL:000000bf 00890e10 EXTERNAL:000000bb +00890e10 EXTERNAL:000000be 00890e10 EXTERNAL:000000a0 00890e10 EXTERNAL:000000bc -00890e10 EXTERNAL:000000be -00890e10 EXTERNAL:000000bf 00890e70 EXTERNAL:000000b8 +00890e70 EXTERNAL:000000bf 00890e70 EXTERNAL:000000bb +00890e70 EXTERNAL:000000be 00890e70 EXTERNAL:000000a0 00890e70 EXTERNAL:000000bc -00890e70 EXTERNAL:000000be -00890e70 EXTERNAL:000000bf 00890ed0 EXTERNAL:000000b8 +00890ed0 EXTERNAL:000000bf 00890ed0 EXTERNAL:000000bb +00890ed0 EXTERNAL:000000be 00890ed0 EXTERNAL:000000a0 00890ed0 EXTERNAL:000000bc -00890ed0 EXTERNAL:000000be -00890ed0 EXTERNAL:000000bf 00890f30 EXTERNAL:000000b8 +00890f30 EXTERNAL:000000bf 00890f30 EXTERNAL:000000bb +00890f30 EXTERNAL:000000be 00890f30 EXTERNAL:000000a0 00890f30 EXTERNAL:000000bc -00890f30 EXTERNAL:000000be -00890f30 EXTERNAL:000000bf 00890f90 EXTERNAL:000000b8 +00890f90 EXTERNAL:000000bf 00890f90 EXTERNAL:000000bb +00890f90 EXTERNAL:000000be 00890f90 EXTERNAL:000000a0 00890f90 EXTERNAL:000000bc -00890f90 EXTERNAL:000000be -00890f90 EXTERNAL:000000bf 00890ff0 EXTERNAL:000000b8 +00890ff0 EXTERNAL:000000bf 00890ff0 EXTERNAL:000000bb +00890ff0 EXTERNAL:000000be 00890ff0 EXTERNAL:000000a0 00890ff0 EXTERNAL:000000bc -00890ff0 EXTERNAL:000000be -00890ff0 EXTERNAL:000000bf 00891050 EXTERNAL:000000b8 +00891050 EXTERNAL:000000bf 00891050 EXTERNAL:000000bb +00891050 EXTERNAL:000000be 00891050 EXTERNAL:000000a0 00891050 EXTERNAL:000000bc -00891050 EXTERNAL:000000be -00891050 EXTERNAL:000000bf 008910b0 EXTERNAL:000000b8 +008910b0 EXTERNAL:000000bf 008910b0 EXTERNAL:000000bb +008910b0 EXTERNAL:000000be 008910b0 EXTERNAL:000000a0 008910b0 EXTERNAL:000000bc -008910b0 EXTERNAL:000000be -008910b0 EXTERNAL:000000bf 00891110 EXTERNAL:000000b8 +00891110 EXTERNAL:000000bf 00891110 EXTERNAL:000000bb +00891110 EXTERNAL:000000be 00891110 EXTERNAL:000000a0 00891110 EXTERNAL:000000bc -00891110 EXTERNAL:000000be -00891110 EXTERNAL:000000bf 00891170 EXTERNAL:000000b8 +00891170 EXTERNAL:000000bf 00891170 EXTERNAL:000000bb +00891170 EXTERNAL:000000be 00891170 EXTERNAL:000000a0 00891170 EXTERNAL:000000bc -00891170 EXTERNAL:000000be -00891170 EXTERNAL:000000bf 008911d0 EXTERNAL:000000b8 +008911d0 EXTERNAL:000000bf 008911d0 EXTERNAL:000000bb +008911d0 EXTERNAL:000000be 008911d0 EXTERNAL:000000a0 008911d0 EXTERNAL:000000bc -008911d0 EXTERNAL:000000be -008911d0 EXTERNAL:000000bf 00891230 EXTERNAL:000000b8 +00891230 EXTERNAL:000000bf 00891230 EXTERNAL:000000bb +00891230 EXTERNAL:000000be 00891230 EXTERNAL:000000a0 00891230 EXTERNAL:000000bc -00891230 EXTERNAL:000000be -00891230 EXTERNAL:000000bf 00891290 EXTERNAL:000000b8 -00891290 EXTERNAL:000000bb -00891290 EXTERNAL:000000a0 -00891290 EXTERNAL:000000ab -00891290 EXTERNAL:000000bc -00891290 EXTERNAL:000000be 00891290 EXTERNAL:000000bf +00891290 EXTERNAL:000000bb +00891290 EXTERNAL:000000ab +00891290 EXTERNAL:000000be +00891290 EXTERNAL:000000a0 +00891290 EXTERNAL:000000bc 00891340 EXTERNAL:000000b8 -00891340 EXTERNAL:000000bb -00891340 EXTERNAL:000000a0 -00891340 EXTERNAL:000000ab -00891340 EXTERNAL:000000bc -00891340 EXTERNAL:000000be 00891340 EXTERNAL:000000bf +00891340 EXTERNAL:000000bb +00891340 EXTERNAL:000000ab +00891340 EXTERNAL:000000be +00891340 EXTERNAL:000000a0 +00891340 EXTERNAL:000000bc 008913e0 EXTERNAL:000000b8 -008913e0 EXTERNAL:000000bb -008913e0 EXTERNAL:000000a0 -008913e0 EXTERNAL:000000ab -008913e0 EXTERNAL:000000bc -008913e0 EXTERNAL:000000be 008913e0 EXTERNAL:000000bf -00891490 EXTERNAL:000000aa -00891490 EXTERNAL:000000bb -00891490 EXTERNAL:000000bc -00891490 0085d730 -00891490 EXTERNAL:000000b8 -00891490 0085d980 -00891490 EXTERNAL:000000a0 -00891490 EXTERNAL:000000bd -00891490 EXTERNAL:00000083 +008913e0 EXTERNAL:000000bb +008913e0 EXTERNAL:000000ab +008913e0 EXTERNAL:000000be +008913e0 EXTERNAL:000000a0 +008913e0 EXTERNAL:000000bc 00891490 EXTERNAL:000000ab -00891490 EXTERNAL:000000be +00891490 0085d730 +00891490 0085d980 +00891490 EXTERNAL:00000083 00891490 0085d910 +00891490 EXTERNAL:000000be +00891490 EXTERNAL:000000bc +00891490 EXTERNAL:000000aa +00891490 EXTERNAL:000000bf +00891490 EXTERNAL:000000b8 +00891490 EXTERNAL:000000bb 00891490 0085cce0 00891490 008c38a0 -00891490 EXTERNAL:000000bf -00891750 EXTERNAL:000000aa -00891750 EXTERNAL:000000bb -00891750 EXTERNAL:000000bc -00891750 0085d730 -00891750 EXTERNAL:000000b8 -00891750 0085d980 -00891750 EXTERNAL:000000a0 -00891750 EXTERNAL:000000bd -00891750 EXTERNAL:00000083 -00891750 EXTERNAL:000000ab +00891490 EXTERNAL:000000bd +00891490 EXTERNAL:000000a0 00891750 008c3690 -00891750 EXTERNAL:000000be +00891750 EXTERNAL:000000ab +00891750 0085d730 +00891750 0085d980 +00891750 EXTERNAL:00000083 00891750 0085d910 -00891750 0085cce0 +00891750 EXTERNAL:000000be +00891750 EXTERNAL:000000bc +00891750 EXTERNAL:000000aa 00891750 EXTERNAL:000000bf +00891750 EXTERNAL:000000b8 +00891750 EXTERNAL:000000bb +00891750 0085cce0 +00891750 EXTERNAL:000000bd +00891750 EXTERNAL:000000a0 00891a10 008a13a0 00891a30 EXTERNAL:000000b8 +00891a30 EXTERNAL:000000bf 00891a30 EXTERNAL:000000bb +00891a30 EXTERNAL:000000be 00891a30 EXTERNAL:000000a0 00891a30 EXTERNAL:000000bc -00891a30 EXTERNAL:000000be -00891a30 EXTERNAL:000000bf 00891a90 EXTERNAL:000000b8 +00891a90 EXTERNAL:000000bf 00891a90 EXTERNAL:000000bb +00891a90 EXTERNAL:000000be 00891a90 EXTERNAL:000000a0 00891a90 EXTERNAL:000000bc -00891a90 EXTERNAL:000000be -00891a90 EXTERNAL:000000bf 00891af0 EXTERNAL:000000b8 +00891af0 EXTERNAL:000000bf 00891af0 EXTERNAL:000000bb +00891af0 EXTERNAL:000000be 00891af0 EXTERNAL:000000a0 00891af0 EXTERNAL:000000bc -00891af0 EXTERNAL:000000be -00891af0 EXTERNAL:000000bf 00891b50 EXTERNAL:000000b8 +00891b50 EXTERNAL:000000bf 00891b50 EXTERNAL:000000bb +00891b50 EXTERNAL:000000be 00891b50 EXTERNAL:000000a0 00891b50 EXTERNAL:000000bc -00891b50 EXTERNAL:000000be -00891b50 EXTERNAL:000000bf 00891bb0 EXTERNAL:000000b8 +00891bb0 EXTERNAL:000000bf 00891bb0 EXTERNAL:000000bb +00891bb0 EXTERNAL:000000be 00891bb0 EXTERNAL:000000a0 00891bb0 EXTERNAL:000000bc -00891bb0 EXTERNAL:000000be -00891bb0 EXTERNAL:000000bf 00891c10 EXTERNAL:000000b8 -00891c10 EXTERNAL:000000bb -00891c10 EXTERNAL:000000a0 -00891c10 EXTERNAL:000000ab -00891c10 EXTERNAL:000000bc -00891c10 EXTERNAL:000000be 00891c10 EXTERNAL:000000bf +00891c10 EXTERNAL:000000bb +00891c10 EXTERNAL:000000ab +00891c10 EXTERNAL:000000be +00891c10 EXTERNAL:000000a0 +00891c10 EXTERNAL:000000bc 00891cb0 EXTERNAL:000000b8 +00891cb0 EXTERNAL:000000bf 00891cb0 EXTERNAL:000000bb +00891cb0 EXTERNAL:000000be 00891cb0 EXTERNAL:000000a0 00891cb0 EXTERNAL:000000bc -00891cb0 EXTERNAL:000000be -00891cb0 EXTERNAL:000000bf 00891d10 EXTERNAL:000000b8 +00891d10 EXTERNAL:000000bf 00891d10 EXTERNAL:000000bb +00891d10 EXTERNAL:000000be 00891d10 EXTERNAL:000000a0 00891d10 EXTERNAL:000000bc -00891d10 EXTERNAL:000000be -00891d10 EXTERNAL:000000bf 00891d70 EXTERNAL:000000b8 -00891d70 EXTERNAL:000000bb -00891d70 EXTERNAL:000000a0 -00891d70 EXTERNAL:000000ab -00891d70 EXTERNAL:000000bc -00891d70 EXTERNAL:000000be 00891d70 EXTERNAL:000000bf +00891d70 EXTERNAL:000000bb +00891d70 EXTERNAL:000000ab +00891d70 EXTERNAL:000000be +00891d70 EXTERNAL:000000a0 +00891d70 EXTERNAL:000000bc 00891e10 EXTERNAL:000000b8 -00891e10 EXTERNAL:000000bb -00891e10 EXTERNAL:000000a0 -00891e10 EXTERNAL:000000ab -00891e10 EXTERNAL:000000bc -00891e10 EXTERNAL:000000be 00891e10 EXTERNAL:000000bf +00891e10 EXTERNAL:000000bb +00891e10 EXTERNAL:000000ab +00891e10 EXTERNAL:000000be +00891e10 EXTERNAL:000000a0 +00891e10 EXTERNAL:000000bc 00891ec0 EXTERNAL:000000b8 +00891ec0 EXTERNAL:000000bf 00891ec0 EXTERNAL:000000bb +00891ec0 EXTERNAL:000000be 00891ec0 EXTERNAL:000000a0 00891ec0 EXTERNAL:000000bc -00891ec0 EXTERNAL:000000be -00891ec0 EXTERNAL:000000bf 00891f20 EXTERNAL:000000b8 +00891f20 EXTERNAL:000000bf 00891f20 EXTERNAL:000000bb +00891f20 EXTERNAL:000000be 00891f20 EXTERNAL:000000a0 00891f20 EXTERNAL:000000bc -00891f20 EXTERNAL:000000be -00891f20 EXTERNAL:000000bf 00891fb0 EXTERNAL:000000b8 -00891fb0 EXTERNAL:000000bb -00891fb0 EXTERNAL:000000a0 -00891fb0 EXTERNAL:000000ab -00891fb0 EXTERNAL:000000bc -00891fb0 EXTERNAL:000000be 00891fb0 EXTERNAL:000000bf +00891fb0 EXTERNAL:000000bb +00891fb0 EXTERNAL:000000ab +00891fb0 EXTERNAL:000000be +00891fb0 EXTERNAL:000000a0 +00891fb0 EXTERNAL:000000bc 00892060 EXTERNAL:000000b8 +00892060 EXTERNAL:000000bf 00892060 EXTERNAL:000000bb +00892060 EXTERNAL:000000be 00892060 EXTERNAL:000000a0 00892060 EXTERNAL:000000bc -00892060 EXTERNAL:000000be -00892060 EXTERNAL:000000bf +008920c0 EXTERNAL:000000bf 008920c0 EXTERNAL:000000b8 008920c0 EXTERNAL:000000bb -008920c0 EXTERNAL:000000a0 +008920c0 EXTERNAL:000000ab 008920c0 EXTERNAL:000000bd 008920c0 EXTERNAL:00000083 -008920c0 EXTERNAL:000000ab -008920c0 EXTERNAL:000000bc 008920c0 EXTERNAL:000000be -008920c0 EXTERNAL:000000bf +008920c0 EXTERNAL:000000a0 +008920c0 EXTERNAL:000000bc 00892230 EXTERNAL:000000b8 -00892230 EXTERNAL:000000bb -00892230 EXTERNAL:000000a0 -00892230 EXTERNAL:000000ab -00892230 EXTERNAL:000000bc -00892230 EXTERNAL:000000be 00892230 EXTERNAL:000000bf +00892230 EXTERNAL:000000bb +00892230 EXTERNAL:000000ab +00892230 EXTERNAL:000000be +00892230 EXTERNAL:000000a0 +00892230 EXTERNAL:000000bc +008922e0 EXTERNAL:000000bf 008922e0 EXTERNAL:000000b8 008922e0 EXTERNAL:000000bb -008922e0 EXTERNAL:000000a0 +008922e0 EXTERNAL:000000ab 008922e0 EXTERNAL:000000bd 008922e0 EXTERNAL:00000083 -008922e0 EXTERNAL:000000ab -008922e0 EXTERNAL:000000bc 008922e0 EXTERNAL:000000be -008922e0 EXTERNAL:000000bf +008922e0 EXTERNAL:000000a0 +008922e0 EXTERNAL:000000bc 00892460 EXTERNAL:000000b8 +00892460 EXTERNAL:000000bf 00892460 EXTERNAL:000000bb +00892460 EXTERNAL:000000be 00892460 EXTERNAL:000000a0 00892460 EXTERNAL:000000bc -00892460 EXTERNAL:000000be -00892460 EXTERNAL:000000bf 008924c0 EXTERNAL:000000b8 +008924c0 EXTERNAL:000000bf 008924c0 EXTERNAL:000000bb +008924c0 EXTERNAL:000000be 008924c0 EXTERNAL:000000a0 008924c0 EXTERNAL:000000bc -008924c0 EXTERNAL:000000be -008924c0 EXTERNAL:000000bf 00892520 EXTERNAL:000000b8 -00892520 EXTERNAL:000000bb -00892520 EXTERNAL:000000a0 -00892520 EXTERNAL:000000ab -00892520 EXTERNAL:000000bc -00892520 EXTERNAL:000000be 00892520 EXTERNAL:000000bf +00892520 EXTERNAL:000000bb +00892520 EXTERNAL:000000ab +00892520 EXTERNAL:000000be +00892520 EXTERNAL:000000a0 +00892520 EXTERNAL:000000bc 008925c0 EXTERNAL:000000b8 +008925c0 EXTERNAL:000000bf 008925c0 EXTERNAL:000000bb +008925c0 EXTERNAL:000000be 008925c0 EXTERNAL:000000a0 008925c0 EXTERNAL:000000bc -008925c0 EXTERNAL:000000be -008925c0 EXTERNAL:000000bf 00892620 EXTERNAL:000000b8 -00892620 EXTERNAL:000000bb -00892620 EXTERNAL:000000a0 -00892620 EXTERNAL:000000ab -00892620 EXTERNAL:000000bc -00892620 EXTERNAL:000000be 00892620 EXTERNAL:000000bf +00892620 EXTERNAL:000000bb +00892620 EXTERNAL:000000ab +00892620 EXTERNAL:000000be +00892620 EXTERNAL:000000a0 +00892620 EXTERNAL:000000bc 008926d0 EXTERNAL:000000b8 +008926d0 EXTERNAL:000000bf 008926d0 EXTERNAL:000000bb +008926d0 EXTERNAL:000000be 008926d0 EXTERNAL:000000a0 008926d0 EXTERNAL:000000bc -008926d0 EXTERNAL:000000be -008926d0 EXTERNAL:000000bf 00892730 EXTERNAL:000000b8 +00892730 EXTERNAL:000000bf 00892730 EXTERNAL:000000bb +00892730 EXTERNAL:000000be 00892730 EXTERNAL:000000a0 00892730 EXTERNAL:000000bc -00892730 EXTERNAL:000000be -00892730 EXTERNAL:000000bf 00892790 EXTERNAL:000000b8 +00892790 EXTERNAL:000000bf 00892790 EXTERNAL:000000bb +00892790 EXTERNAL:000000be 00892790 EXTERNAL:000000a0 00892790 EXTERNAL:000000bc -00892790 EXTERNAL:000000be -00892790 EXTERNAL:000000bf +008927f0 EXTERNAL:000000bf 008927f0 EXTERNAL:000000b8 008927f0 EXTERNAL:000000bb -008927f0 EXTERNAL:000000a0 +008927f0 EXTERNAL:000000ab 008927f0 EXTERNAL:000000bd 008927f0 EXTERNAL:00000083 -008927f0 EXTERNAL:000000ab -008927f0 EXTERNAL:000000bc 008927f0 EXTERNAL:000000be -008927f0 EXTERNAL:000000bf +008927f0 EXTERNAL:000000a0 +008927f0 EXTERNAL:000000bc 00892970 EXTERNAL:000000b8 +00892970 EXTERNAL:000000bf 00892970 EXTERNAL:000000bb +00892970 EXTERNAL:000000be 00892970 EXTERNAL:000000a0 00892970 EXTERNAL:000000bc -00892970 EXTERNAL:000000be -00892970 EXTERNAL:000000bf 008929d0 EXTERNAL:000000b8 -008929d0 EXTERNAL:000000bb -008929d0 EXTERNAL:000000a0 -008929d0 EXTERNAL:000000ab -008929d0 EXTERNAL:000000bc -008929d0 EXTERNAL:000000be 008929d0 EXTERNAL:000000bf +008929d0 EXTERNAL:000000bb +008929d0 EXTERNAL:000000ab +008929d0 EXTERNAL:000000be +008929d0 EXTERNAL:000000a0 +008929d0 EXTERNAL:000000bc 00892a80 EXTERNAL:000000b8 +00892a80 EXTERNAL:000000bf 00892a80 EXTERNAL:000000bb +00892a80 EXTERNAL:000000be 00892a80 EXTERNAL:000000a0 00892a80 EXTERNAL:000000bc -00892a80 EXTERNAL:000000be -00892a80 EXTERNAL:000000bf 00892ae0 EXTERNAL:000000b8 +00892ae0 EXTERNAL:000000bf 00892ae0 EXTERNAL:000000bb +00892ae0 EXTERNAL:000000be 00892ae0 EXTERNAL:000000a0 00892ae0 EXTERNAL:000000bc -00892ae0 EXTERNAL:000000be -00892ae0 EXTERNAL:000000bf 00892b40 008a1190 00892b60 EXTERNAL:000000b8 +00892b60 EXTERNAL:000000bf 00892b60 EXTERNAL:000000bb +00892b60 EXTERNAL:000000be 00892b60 EXTERNAL:000000a0 00892b60 EXTERNAL:000000bc -00892b60 EXTERNAL:000000be -00892b60 EXTERNAL:000000bf 00892bc0 EXTERNAL:000000b8 +00892bc0 EXTERNAL:000000bf 00892bc0 EXTERNAL:000000bb +00892bc0 EXTERNAL:000000be 00892bc0 EXTERNAL:000000a0 00892bc0 EXTERNAL:000000bc -00892bc0 EXTERNAL:000000be -00892bc0 EXTERNAL:000000bf 00892c20 EXTERNAL:000000b8 -00892c20 EXTERNAL:000000bb -00892c20 EXTERNAL:000000a0 -00892c20 EXTERNAL:000000ab -00892c20 EXTERNAL:000000bc -00892c20 EXTERNAL:000000be 00892c20 EXTERNAL:000000bf +00892c20 EXTERNAL:000000bb +00892c20 EXTERNAL:000000ab +00892c20 EXTERNAL:000000be +00892c20 EXTERNAL:000000a0 +00892c20 EXTERNAL:000000bc 00892cc0 EXTERNAL:000000b8 +00892cc0 EXTERNAL:000000bf 00892cc0 EXTERNAL:000000bb +00892cc0 EXTERNAL:000000be 00892cc0 EXTERNAL:000000a0 00892cc0 EXTERNAL:000000bc -00892cc0 EXTERNAL:000000be -00892cc0 EXTERNAL:000000bf 00892d20 EXTERNAL:000000b8 -00892d20 EXTERNAL:000000bb -00892d20 EXTERNAL:000000a0 -00892d20 EXTERNAL:000000ab -00892d20 EXTERNAL:000000bc -00892d20 EXTERNAL:000000be 00892d20 EXTERNAL:000000bf +00892d20 EXTERNAL:000000bb +00892d20 EXTERNAL:000000ab +00892d20 EXTERNAL:000000be +00892d20 EXTERNAL:000000a0 +00892d20 EXTERNAL:000000bc 00892dc0 EXTERNAL:000000b8 -00892dc0 EXTERNAL:000000bb -00892dc0 EXTERNAL:000000a0 -00892dc0 EXTERNAL:000000ab -00892dc0 EXTERNAL:000000bc -00892dc0 EXTERNAL:000000be 00892dc0 EXTERNAL:000000bf +00892dc0 EXTERNAL:000000bb +00892dc0 EXTERNAL:000000ab +00892dc0 EXTERNAL:000000be +00892dc0 EXTERNAL:000000a0 +00892dc0 EXTERNAL:000000bc 00892e70 EXTERNAL:000000b8 +00892e70 EXTERNAL:000000bf 00892e70 EXTERNAL:000000bb +00892e70 EXTERNAL:000000be 00892e70 EXTERNAL:000000a0 00892e70 EXTERNAL:000000bc -00892e70 EXTERNAL:000000be -00892e70 EXTERNAL:000000bf 00892ed0 EXTERNAL:000000b8 -00892ed0 EXTERNAL:000000bb -00892ed0 EXTERNAL:000000a0 -00892ed0 EXTERNAL:000000ab -00892ed0 EXTERNAL:000000bc -00892ed0 EXTERNAL:000000be 00892ed0 EXTERNAL:000000bf +00892ed0 EXTERNAL:000000bb +00892ed0 EXTERNAL:000000ab +00892ed0 EXTERNAL:000000be +00892ed0 EXTERNAL:000000a0 +00892ed0 EXTERNAL:000000bc 00892f80 EXTERNAL:000000b8 +00892f80 EXTERNAL:000000bf 00892f80 EXTERNAL:000000bb +00892f80 EXTERNAL:000000be 00892f80 EXTERNAL:000000a0 00892f80 EXTERNAL:000000bc -00892f80 EXTERNAL:000000be -00892f80 EXTERNAL:000000bf 00892fe0 EXTERNAL:000000b8 +00892fe0 EXTERNAL:000000bf 00892fe0 EXTERNAL:000000bb +00892fe0 EXTERNAL:000000be 00892fe0 EXTERNAL:000000a0 00892fe0 EXTERNAL:000000bc -00892fe0 EXTERNAL:000000be -00892fe0 EXTERNAL:000000bf 00893040 EXTERNAL:000000b8 +00893040 EXTERNAL:000000bf 00893040 EXTERNAL:000000bb +00893040 EXTERNAL:000000be 00893040 EXTERNAL:000000a0 00893040 EXTERNAL:000000bc -00893040 EXTERNAL:000000be -00893040 EXTERNAL:000000bf 008930a0 EXTERNAL:000000b8 +008930a0 EXTERNAL:000000bf 008930a0 EXTERNAL:000000bb +008930a0 EXTERNAL:000000be 008930a0 EXTERNAL:000000a0 008930a0 EXTERNAL:000000bc -008930a0 EXTERNAL:000000be -008930a0 EXTERNAL:000000bf 00893100 EXTERNAL:000000b8 -00893100 EXTERNAL:000000bb -00893100 EXTERNAL:000000a0 -00893100 EXTERNAL:000000ab -00893100 EXTERNAL:000000bc -00893100 EXTERNAL:000000be 00893100 EXTERNAL:000000bf +00893100 EXTERNAL:000000bb +00893100 EXTERNAL:000000ab +00893100 EXTERNAL:000000be +00893100 EXTERNAL:000000a0 +00893100 EXTERNAL:000000bc 008931b0 EXTERNAL:000000b8 +008931b0 EXTERNAL:000000bf 008931b0 EXTERNAL:000000bb +008931b0 EXTERNAL:000000be 008931b0 EXTERNAL:000000a0 008931b0 EXTERNAL:000000bc -008931b0 EXTERNAL:000000be -008931b0 EXTERNAL:000000bf 00893210 EXTERNAL:000000b8 +00893210 EXTERNAL:000000bf 00893210 EXTERNAL:000000bb +00893210 EXTERNAL:000000be 00893210 EXTERNAL:000000a0 00893210 EXTERNAL:000000bc -00893210 EXTERNAL:000000be -00893210 EXTERNAL:000000bf 00893270 EXTERNAL:000000b8 +00893270 EXTERNAL:000000bf 00893270 EXTERNAL:000000bb +00893270 EXTERNAL:000000be 00893270 EXTERNAL:000000a0 00893270 EXTERNAL:000000bc -00893270 EXTERNAL:000000be -00893270 EXTERNAL:000000bf 008932d0 EXTERNAL:000000b8 +008932d0 EXTERNAL:000000bf 008932d0 EXTERNAL:000000bb +008932d0 EXTERNAL:000000be 008932d0 EXTERNAL:000000a0 008932d0 EXTERNAL:000000bc -008932d0 EXTERNAL:000000be -008932d0 EXTERNAL:000000bf 00893330 008a0f80 00893350 EXTERNAL:000000b8 +00893350 EXTERNAL:000000bf 00893350 EXTERNAL:000000bb +00893350 EXTERNAL:000000be 00893350 EXTERNAL:000000a0 00893350 EXTERNAL:000000bc -00893350 EXTERNAL:000000be -00893350 EXTERNAL:000000bf 008933b0 EXTERNAL:000000b8 +008933b0 EXTERNAL:000000bf 008933b0 EXTERNAL:000000bb +008933b0 EXTERNAL:000000be 008933b0 EXTERNAL:000000a0 008933b0 EXTERNAL:000000bc -008933b0 EXTERNAL:000000be -008933b0 EXTERNAL:000000bf 00893410 EXTERNAL:000000b8 +00893410 EXTERNAL:000000bf 00893410 EXTERNAL:000000bb +00893410 EXTERNAL:000000be 00893410 EXTERNAL:000000a0 00893410 EXTERNAL:000000bc -00893410 EXTERNAL:000000be -00893410 EXTERNAL:000000bf 00893470 EXTERNAL:000000b8 +00893470 EXTERNAL:000000bf 00893470 EXTERNAL:000000bb +00893470 EXTERNAL:000000be 00893470 EXTERNAL:000000a0 00893470 EXTERNAL:000000bc -00893470 EXTERNAL:000000be -00893470 EXTERNAL:000000bf 008934d0 EXTERNAL:000000b8 +008934d0 EXTERNAL:000000bf 008934d0 EXTERNAL:000000bb +008934d0 EXTERNAL:000000be 008934d0 EXTERNAL:000000a0 008934d0 EXTERNAL:000000bc -008934d0 EXTERNAL:000000be -008934d0 EXTERNAL:000000bf 00893530 EXTERNAL:000000b8 -00893530 EXTERNAL:000000bb -00893530 EXTERNAL:000000a0 -00893530 EXTERNAL:000000ab -00893530 EXTERNAL:000000bc -00893530 EXTERNAL:000000be 00893530 EXTERNAL:000000bf +00893530 EXTERNAL:000000bb +00893530 EXTERNAL:000000ab +00893530 EXTERNAL:000000be +00893530 EXTERNAL:000000a0 +00893530 EXTERNAL:000000bc 008935e0 EXTERNAL:000000b8 -008935e0 EXTERNAL:000000bb -008935e0 EXTERNAL:000000a0 -008935e0 EXTERNAL:000000ab -008935e0 EXTERNAL:000000bc -008935e0 EXTERNAL:000000be 008935e0 EXTERNAL:000000bf +008935e0 EXTERNAL:000000bb +008935e0 EXTERNAL:000000ab +008935e0 EXTERNAL:000000be +008935e0 EXTERNAL:000000a0 +008935e0 EXTERNAL:000000bc 00893690 EXTERNAL:000000b8 +00893690 EXTERNAL:000000bf 00893690 EXTERNAL:000000bb +00893690 EXTERNAL:000000be 00893690 EXTERNAL:000000a0 00893690 EXTERNAL:000000bc -00893690 EXTERNAL:000000be -00893690 EXTERNAL:000000bf 008936f0 EXTERNAL:000000b8 +008936f0 EXTERNAL:000000bf 008936f0 EXTERNAL:000000bb +008936f0 EXTERNAL:000000be 008936f0 EXTERNAL:000000a0 008936f0 EXTERNAL:000000bc -008936f0 EXTERNAL:000000be -008936f0 EXTERNAL:000000bf 00893750 EXTERNAL:000000b8 -00893750 EXTERNAL:000000bb -00893750 EXTERNAL:000000a0 -00893750 EXTERNAL:000000ab -00893750 EXTERNAL:000000bc -00893750 EXTERNAL:000000be 00893750 EXTERNAL:000000bf +00893750 EXTERNAL:000000bb +00893750 EXTERNAL:000000ab +00893750 EXTERNAL:000000be +00893750 EXTERNAL:000000a0 +00893750 EXTERNAL:000000bc 00893800 EXTERNAL:000000b8 +00893800 EXTERNAL:000000bf 00893800 EXTERNAL:000000bb +00893800 EXTERNAL:000000be 00893800 EXTERNAL:000000a0 00893800 EXTERNAL:000000bc -00893800 EXTERNAL:000000be -00893800 EXTERNAL:000000bf 00893860 EXTERNAL:000000b8 -00893860 EXTERNAL:000000bb -00893860 EXTERNAL:000000a0 -00893860 EXTERNAL:000000ab -00893860 EXTERNAL:000000bc -00893860 EXTERNAL:000000be 00893860 EXTERNAL:000000bf +00893860 EXTERNAL:000000bb +00893860 EXTERNAL:000000ab +00893860 EXTERNAL:000000be +00893860 EXTERNAL:000000a0 +00893860 EXTERNAL:000000bc 00893910 EXTERNAL:000000b8 -00893910 EXTERNAL:000000bb -00893910 EXTERNAL:000000a0 -00893910 EXTERNAL:000000ab -00893910 EXTERNAL:000000bc -00893910 EXTERNAL:000000be 00893910 EXTERNAL:000000bf +00893910 EXTERNAL:000000bb +00893910 EXTERNAL:000000ab +00893910 EXTERNAL:000000be +00893910 EXTERNAL:000000a0 +00893910 EXTERNAL:000000bc 008939c0 EXTERNAL:000000b8 +008939c0 EXTERNAL:000000bf 008939c0 EXTERNAL:000000bb +008939c0 EXTERNAL:000000be 008939c0 EXTERNAL:000000a0 008939c0 EXTERNAL:000000bc -008939c0 EXTERNAL:000000be -008939c0 EXTERNAL:000000bf 00893a20 008a0d70 00893a40 EXTERNAL:000000b8 +00893a40 EXTERNAL:000000bf 00893a40 EXTERNAL:000000bb +00893a40 EXTERNAL:000000be 00893a40 EXTERNAL:000000a0 00893a40 EXTERNAL:000000bc -00893a40 EXTERNAL:000000be -00893a40 EXTERNAL:000000bf 00893aa0 EXTERNAL:000000b8 +00893aa0 EXTERNAL:000000bf 00893aa0 EXTERNAL:000000bb +00893aa0 EXTERNAL:000000be 00893aa0 EXTERNAL:000000a0 00893aa0 EXTERNAL:000000bc -00893aa0 EXTERNAL:000000be -00893aa0 EXTERNAL:000000bf 00893b00 EXTERNAL:000000b8 -00893b00 EXTERNAL:000000bb -00893b00 EXTERNAL:000000a0 -00893b00 EXTERNAL:000000ab -00893b00 EXTERNAL:000000bc -00893b00 EXTERNAL:000000be 00893b00 EXTERNAL:000000bf +00893b00 EXTERNAL:000000bb +00893b00 EXTERNAL:000000ab +00893b00 EXTERNAL:000000be +00893b00 EXTERNAL:000000a0 +00893b00 EXTERNAL:000000bc 00893bb0 EXTERNAL:000000b8 +00893bb0 EXTERNAL:000000bf 00893bb0 EXTERNAL:000000bb +00893bb0 EXTERNAL:000000be 00893bb0 EXTERNAL:000000a0 00893bb0 EXTERNAL:000000bc -00893bb0 EXTERNAL:000000be -00893bb0 EXTERNAL:000000bf 00893c10 EXTERNAL:000000b8 +00893c10 EXTERNAL:000000bf 00893c10 EXTERNAL:000000bb +00893c10 EXTERNAL:000000be 00893c10 EXTERNAL:000000a0 00893c10 EXTERNAL:000000bc -00893c10 EXTERNAL:000000be -00893c10 EXTERNAL:000000bf 00893c70 008a0b60 00893c90 EXTERNAL:000000b8 +00893c90 EXTERNAL:000000bf 00893c90 EXTERNAL:000000bb +00893c90 EXTERNAL:000000be 00893c90 EXTERNAL:000000a0 00893c90 EXTERNAL:000000bc -00893c90 EXTERNAL:000000be -00893c90 EXTERNAL:000000bf 00893cf0 EXTERNAL:000000b8 -00893cf0 EXTERNAL:000000bb -00893cf0 EXTERNAL:000000a0 -00893cf0 EXTERNAL:000000ab -00893cf0 EXTERNAL:000000bc -00893cf0 EXTERNAL:000000be 00893cf0 EXTERNAL:000000bf +00893cf0 EXTERNAL:000000bb +00893cf0 EXTERNAL:000000ab +00893cf0 EXTERNAL:000000be +00893cf0 EXTERNAL:000000a0 +00893cf0 EXTERNAL:000000bc 00893d90 EXTERNAL:000000b8 +00893d90 EXTERNAL:000000bf 00893d90 EXTERNAL:000000bb +00893d90 EXTERNAL:000000be 00893d90 EXTERNAL:000000a0 00893d90 EXTERNAL:000000bc -00893d90 EXTERNAL:000000be -00893d90 EXTERNAL:000000bf 00893df0 EXTERNAL:000000b8 +00893df0 EXTERNAL:000000bf 00893df0 EXTERNAL:000000bb +00893df0 EXTERNAL:000000be 00893df0 EXTERNAL:000000a0 00893df0 EXTERNAL:000000bc -00893df0 EXTERNAL:000000be -00893df0 EXTERNAL:000000bf 00893e50 EXTERNAL:000000b8 +00893e50 EXTERNAL:000000bf 00893e50 EXTERNAL:000000bb +00893e50 EXTERNAL:000000be 00893e50 EXTERNAL:000000a0 00893e50 EXTERNAL:000000bc -00893e50 EXTERNAL:000000be -00893e50 EXTERNAL:000000bf 00893eb0 EXTERNAL:000000b8 +00893eb0 EXTERNAL:000000bf 00893eb0 EXTERNAL:000000bb +00893eb0 EXTERNAL:000000be 00893eb0 EXTERNAL:000000a0 00893eb0 EXTERNAL:000000bc -00893eb0 EXTERNAL:000000be -00893eb0 EXTERNAL:000000bf 00893f10 EXTERNAL:000000b8 +00893f10 EXTERNAL:000000bf 00893f10 EXTERNAL:000000bb +00893f10 EXTERNAL:000000be 00893f10 EXTERNAL:000000a0 00893f10 EXTERNAL:000000bc -00893f10 EXTERNAL:000000be -00893f10 EXTERNAL:000000bf 00893f70 EXTERNAL:000000b8 +00893f70 EXTERNAL:000000bf 00893f70 EXTERNAL:000000bb +00893f70 EXTERNAL:000000be 00893f70 EXTERNAL:000000a0 00893f70 EXTERNAL:000000bc -00893f70 EXTERNAL:000000be -00893f70 EXTERNAL:000000bf 00893fe0 EXTERNAL:000000b8 +00893fe0 EXTERNAL:000000bf 00893fe0 EXTERNAL:000000bb +00893fe0 EXTERNAL:000000be 00893fe0 EXTERNAL:000000a0 00893fe0 EXTERNAL:000000bc -00893fe0 EXTERNAL:000000be -00893fe0 EXTERNAL:000000bf 00894040 EXTERNAL:000000b8 +00894040 EXTERNAL:000000bf 00894040 EXTERNAL:000000bb +00894040 EXTERNAL:000000be 00894040 EXTERNAL:000000a0 00894040 EXTERNAL:000000bc -00894040 EXTERNAL:000000be -00894040 EXTERNAL:000000bf 008940a0 EXTERNAL:000000b8 +008940a0 EXTERNAL:000000bf 008940a0 EXTERNAL:000000bb +008940a0 EXTERNAL:000000be 008940a0 EXTERNAL:000000a0 008940a0 EXTERNAL:000000bc -008940a0 EXTERNAL:000000be -008940a0 EXTERNAL:000000bf 00894100 EXTERNAL:000000b8 +00894100 EXTERNAL:000000bf 00894100 EXTERNAL:000000bb +00894100 EXTERNAL:000000be 00894100 EXTERNAL:000000a0 00894100 EXTERNAL:000000bc -00894100 EXTERNAL:000000be -00894100 EXTERNAL:000000bf 00894160 EXTERNAL:000000b8 +00894160 EXTERNAL:000000bf 00894160 EXTERNAL:000000bb +00894160 EXTERNAL:000000be 00894160 EXTERNAL:000000a0 00894160 EXTERNAL:000000bc -00894160 EXTERNAL:000000be -00894160 EXTERNAL:000000bf 008941c0 EXTERNAL:000000b8 +008941c0 EXTERNAL:000000bf 008941c0 EXTERNAL:000000bb +008941c0 EXTERNAL:000000be 008941c0 EXTERNAL:000000a0 008941c0 EXTERNAL:000000bc -008941c0 EXTERNAL:000000be -008941c0 EXTERNAL:000000bf 00894220 EXTERNAL:000000b8 +00894220 EXTERNAL:000000bf 00894220 EXTERNAL:000000bb +00894220 EXTERNAL:000000be 00894220 EXTERNAL:000000a0 00894220 EXTERNAL:000000bc -00894220 EXTERNAL:000000be -00894220 EXTERNAL:000000bf 00894280 EXTERNAL:000000b8 +00894280 EXTERNAL:000000bf 00894280 EXTERNAL:000000bb +00894280 EXTERNAL:000000be 00894280 EXTERNAL:000000a0 00894280 EXTERNAL:000000bc -00894280 EXTERNAL:000000be -00894280 EXTERNAL:000000bf 008942e0 EXTERNAL:000000b8 +008942e0 EXTERNAL:000000bf 008942e0 EXTERNAL:000000bb +008942e0 EXTERNAL:000000be 008942e0 EXTERNAL:000000a0 008942e0 EXTERNAL:000000bc -008942e0 EXTERNAL:000000be -008942e0 EXTERNAL:000000bf 00894340 EXTERNAL:000000b8 +00894340 EXTERNAL:000000bf 00894340 EXTERNAL:000000bb +00894340 EXTERNAL:000000be 00894340 EXTERNAL:000000a0 00894340 EXTERNAL:000000bc -00894340 EXTERNAL:000000be -00894340 EXTERNAL:000000bf 008943a0 EXTERNAL:000000b8 -008943a0 EXTERNAL:000000bb -008943a0 EXTERNAL:000000a0 -008943a0 EXTERNAL:000000ab -008943a0 EXTERNAL:000000bc -008943a0 EXTERNAL:000000be 008943a0 EXTERNAL:000000bf +008943a0 EXTERNAL:000000bb +008943a0 EXTERNAL:000000ab +008943a0 EXTERNAL:000000be +008943a0 EXTERNAL:000000a0 +008943a0 EXTERNAL:000000bc 00894440 EXTERNAL:000000b8 +00894440 EXTERNAL:000000bf 00894440 EXTERNAL:000000bb +00894440 EXTERNAL:000000be 00894440 EXTERNAL:000000a0 00894440 EXTERNAL:000000bc -00894440 EXTERNAL:000000be -00894440 EXTERNAL:000000bf 008944a0 EXTERNAL:000000b8 +008944a0 EXTERNAL:000000bf 008944a0 EXTERNAL:000000bb +008944a0 EXTERNAL:000000be 008944a0 EXTERNAL:000000a0 008944a0 EXTERNAL:000000bc -008944a0 EXTERNAL:000000be -008944a0 EXTERNAL:000000bf 00894500 EXTERNAL:000000b8 +00894500 EXTERNAL:000000bf 00894500 EXTERNAL:000000bb +00894500 EXTERNAL:000000be 00894500 EXTERNAL:000000a0 00894500 EXTERNAL:000000bc -00894500 EXTERNAL:000000be -00894500 EXTERNAL:000000bf 00894560 EXTERNAL:000000b8 +00894560 EXTERNAL:000000bf 00894560 EXTERNAL:000000bb +00894560 EXTERNAL:000000be 00894560 EXTERNAL:000000a0 00894560 EXTERNAL:000000bc -00894560 EXTERNAL:000000be -00894560 EXTERNAL:000000bf 008945c0 EXTERNAL:000000b8 +008945c0 EXTERNAL:000000bf 008945c0 EXTERNAL:000000bb +008945c0 EXTERNAL:000000be 008945c0 EXTERNAL:000000a0 008945c0 EXTERNAL:000000bc -008945c0 EXTERNAL:000000be -008945c0 EXTERNAL:000000bf 00894620 EXTERNAL:000000b8 +00894620 EXTERNAL:000000bf 00894620 EXTERNAL:000000bb +00894620 EXTERNAL:000000be 00894620 EXTERNAL:000000a0 00894620 EXTERNAL:000000bc -00894620 EXTERNAL:000000be -00894620 EXTERNAL:000000bf 00894680 EXTERNAL:000000b8 +00894680 EXTERNAL:000000bf 00894680 EXTERNAL:000000bb +00894680 EXTERNAL:000000be 00894680 EXTERNAL:000000a0 00894680 EXTERNAL:000000bc -00894680 EXTERNAL:000000be -00894680 EXTERNAL:000000bf 008946e0 EXTERNAL:000000b8 +008946e0 EXTERNAL:000000bf 008946e0 EXTERNAL:000000bb +008946e0 EXTERNAL:000000be 008946e0 EXTERNAL:000000a0 008946e0 EXTERNAL:000000bc -008946e0 EXTERNAL:000000be -008946e0 EXTERNAL:000000bf 00894740 EXTERNAL:000000b8 +00894740 EXTERNAL:000000bf 00894740 EXTERNAL:000000bb +00894740 EXTERNAL:000000be 00894740 EXTERNAL:000000a0 00894740 EXTERNAL:000000bc -00894740 EXTERNAL:000000be -00894740 EXTERNAL:000000bf 008947a0 EXTERNAL:000000b8 -008947a0 EXTERNAL:000000bb -008947a0 EXTERNAL:000000a0 -008947a0 EXTERNAL:000000ab -008947a0 EXTERNAL:000000bc -008947a0 EXTERNAL:000000be 008947a0 EXTERNAL:000000bf +008947a0 EXTERNAL:000000bb +008947a0 EXTERNAL:000000ab +008947a0 EXTERNAL:000000be +008947a0 EXTERNAL:000000a0 +008947a0 EXTERNAL:000000bc 00894840 EXTERNAL:000000b8 -00894840 EXTERNAL:000000bb -00894840 EXTERNAL:000000a0 -00894840 EXTERNAL:000000ab -00894840 EXTERNAL:000000bc -00894840 EXTERNAL:000000be 00894840 EXTERNAL:000000bf +00894840 EXTERNAL:000000bb +00894840 EXTERNAL:000000ab +00894840 EXTERNAL:000000be +00894840 EXTERNAL:000000a0 +00894840 EXTERNAL:000000bc 008948f0 EXTERNAL:000000b8 +008948f0 EXTERNAL:000000bf 008948f0 EXTERNAL:000000bb +008948f0 EXTERNAL:000000be 008948f0 EXTERNAL:000000a0 008948f0 EXTERNAL:000000bc -008948f0 EXTERNAL:000000be -008948f0 EXTERNAL:000000bf +00894950 EXTERNAL:000000bf 00894950 EXTERNAL:000000b8 00894950 EXTERNAL:000000bb -00894950 EXTERNAL:000000a0 +00894950 EXTERNAL:000000ab 00894950 EXTERNAL:000000bd 00894950 EXTERNAL:00000083 -00894950 EXTERNAL:000000ab -00894950 EXTERNAL:000000bc 00894950 EXTERNAL:000000be -00894950 EXTERNAL:000000bf +00894950 EXTERNAL:000000a0 +00894950 EXTERNAL:000000bc 00894ac0 EXTERNAL:000000b8 -00894ac0 EXTERNAL:000000bb -00894ac0 EXTERNAL:000000a0 -00894ac0 EXTERNAL:000000ab -00894ac0 EXTERNAL:000000bc -00894ac0 EXTERNAL:000000be 00894ac0 EXTERNAL:000000bf +00894ac0 EXTERNAL:000000bb +00894ac0 EXTERNAL:000000ab +00894ac0 EXTERNAL:000000be +00894ac0 EXTERNAL:000000a0 +00894ac0 EXTERNAL:000000bc 00894b60 EXTERNAL:000000b8 +00894b60 EXTERNAL:000000bf 00894b60 EXTERNAL:000000bb +00894b60 EXTERNAL:000000be 00894b60 EXTERNAL:000000a0 00894b60 EXTERNAL:000000bc -00894b60 EXTERNAL:000000be -00894b60 EXTERNAL:000000bf 00894bc0 EXTERNAL:000000b8 +00894bc0 EXTERNAL:000000bf 00894bc0 EXTERNAL:000000bb +00894bc0 EXTERNAL:000000be 00894bc0 EXTERNAL:000000a0 00894bc0 EXTERNAL:000000bc -00894bc0 EXTERNAL:000000be -00894bc0 EXTERNAL:000000bf 00894c20 EXTERNAL:000000b8 +00894c20 EXTERNAL:000000bf 00894c20 EXTERNAL:000000bb +00894c20 EXTERNAL:000000be 00894c20 EXTERNAL:000000a0 00894c20 EXTERNAL:000000bc -00894c20 EXTERNAL:000000be -00894c20 EXTERNAL:000000bf +00894c80 EXTERNAL:000000bf 00894c80 EXTERNAL:000000b8 00894c80 EXTERNAL:000000bb -00894c80 EXTERNAL:000000a0 +00894c80 EXTERNAL:000000ab 00894c80 EXTERNAL:000000bd 00894c80 EXTERNAL:00000083 -00894c80 EXTERNAL:000000ab -00894c80 EXTERNAL:000000bc 00894c80 EXTERNAL:000000be -00894c80 EXTERNAL:000000bf +00894c80 EXTERNAL:000000a0 +00894c80 EXTERNAL:000000bc 00894e00 EXTERNAL:000000b8 -00894e00 EXTERNAL:000000bb -00894e00 EXTERNAL:000000a0 -00894e00 EXTERNAL:000000ab -00894e00 EXTERNAL:000000bc -00894e00 EXTERNAL:000000be 00894e00 EXTERNAL:000000bf +00894e00 EXTERNAL:000000bb +00894e00 EXTERNAL:000000ab +00894e00 EXTERNAL:000000be +00894e00 EXTERNAL:000000a0 +00894e00 EXTERNAL:000000bc 00894eb0 EXTERNAL:000000b8 +00894eb0 EXTERNAL:000000bf 00894eb0 EXTERNAL:000000bb +00894eb0 EXTERNAL:000000be 00894eb0 EXTERNAL:000000a0 00894eb0 EXTERNAL:000000bc -00894eb0 EXTERNAL:000000be -00894eb0 EXTERNAL:000000bf 00894f10 EXTERNAL:000000b8 +00894f10 EXTERNAL:000000bf 00894f10 EXTERNAL:000000bb +00894f10 EXTERNAL:000000be 00894f10 EXTERNAL:000000a0 00894f10 EXTERNAL:000000bc -00894f10 EXTERNAL:000000be -00894f10 EXTERNAL:000000bf +00894f70 EXTERNAL:000000bf 00894f70 EXTERNAL:000000b8 00894f70 EXTERNAL:000000bb -00894f70 EXTERNAL:000000a0 +00894f70 EXTERNAL:000000ab 00894f70 EXTERNAL:000000bd 00894f70 EXTERNAL:00000083 -00894f70 EXTERNAL:000000ab -00894f70 EXTERNAL:000000bc 00894f70 EXTERNAL:000000be -00894f70 EXTERNAL:000000bf +00894f70 EXTERNAL:000000a0 +00894f70 EXTERNAL:000000bc 00895070 EXTERNAL:000000b8 +00895070 EXTERNAL:000000bf 00895070 EXTERNAL:000000bb +00895070 EXTERNAL:000000be 00895070 EXTERNAL:000000a0 00895070 EXTERNAL:000000bc -00895070 EXTERNAL:000000be -00895070 EXTERNAL:000000bf 008950d0 EXTERNAL:000000b8 +008950d0 EXTERNAL:000000bf 008950d0 EXTERNAL:000000bb +008950d0 EXTERNAL:000000be 008950d0 EXTERNAL:000000a0 008950d0 EXTERNAL:000000bc -008950d0 EXTERNAL:000000be -008950d0 EXTERNAL:000000bf 00895130 EXTERNAL:000000b8 +00895130 EXTERNAL:000000bf 00895130 EXTERNAL:000000bb +00895130 EXTERNAL:000000be 00895130 EXTERNAL:000000a0 00895130 EXTERNAL:000000bc -00895130 EXTERNAL:000000be -00895130 EXTERNAL:000000bf 00895190 EXTERNAL:000000b8 +00895190 EXTERNAL:000000bf 00895190 EXTERNAL:000000bb +00895190 EXTERNAL:000000be 00895190 EXTERNAL:000000a0 00895190 EXTERNAL:000000bc -00895190 EXTERNAL:000000be -00895190 EXTERNAL:000000bf 008951f0 EXTERNAL:000000b8 +008951f0 EXTERNAL:000000bf 008951f0 EXTERNAL:000000bb +008951f0 EXTERNAL:000000be 008951f0 EXTERNAL:000000a0 008951f0 EXTERNAL:000000bc -008951f0 EXTERNAL:000000be -008951f0 EXTERNAL:000000bf 00895250 EXTERNAL:000000b8 +00895250 EXTERNAL:000000bf 00895250 EXTERNAL:000000bb +00895250 EXTERNAL:000000be 00895250 EXTERNAL:000000a0 00895250 EXTERNAL:000000bc -00895250 EXTERNAL:000000be -00895250 EXTERNAL:000000bf +008952b0 EXTERNAL:000000bf 008952b0 EXTERNAL:000000b8 008952b0 EXTERNAL:000000bb -008952b0 EXTERNAL:000000a0 +008952b0 EXTERNAL:000000ab 008952b0 EXTERNAL:000000bd 008952b0 EXTERNAL:00000083 -008952b0 EXTERNAL:000000ab -008952b0 EXTERNAL:000000bc 008952b0 EXTERNAL:000000be -008952b0 EXTERNAL:000000bf +008952b0 EXTERNAL:000000a0 +008952b0 EXTERNAL:000000bc 00895430 008a0950 00895450 EXTERNAL:000000b8 +00895450 EXTERNAL:000000bf 00895450 EXTERNAL:000000bb +00895450 EXTERNAL:000000be 00895450 EXTERNAL:000000a0 00895450 EXTERNAL:000000bc -00895450 EXTERNAL:000000be -00895450 EXTERNAL:000000bf 008954b0 EXTERNAL:000000b8 +008954b0 EXTERNAL:000000bf 008954b0 EXTERNAL:000000bb +008954b0 EXTERNAL:000000be 008954b0 EXTERNAL:000000a0 008954b0 EXTERNAL:000000bc -008954b0 EXTERNAL:000000be -008954b0 EXTERNAL:000000bf 00895510 EXTERNAL:000000b8 +00895510 EXTERNAL:000000bf 00895510 EXTERNAL:000000bb +00895510 EXTERNAL:000000be 00895510 EXTERNAL:000000a0 00895510 EXTERNAL:000000bc -00895510 EXTERNAL:000000be -00895510 EXTERNAL:000000bf 00895570 EXTERNAL:000000b8 +00895570 EXTERNAL:000000bf 00895570 EXTERNAL:000000bb +00895570 EXTERNAL:000000be 00895570 EXTERNAL:000000a0 00895570 EXTERNAL:000000bc -00895570 EXTERNAL:000000be -00895570 EXTERNAL:000000bf 008955d0 EXTERNAL:000000b8 +008955d0 EXTERNAL:000000bf 008955d0 EXTERNAL:000000bb +008955d0 EXTERNAL:000000be 008955d0 EXTERNAL:000000a0 008955d0 EXTERNAL:000000bc -008955d0 EXTERNAL:000000be -008955d0 EXTERNAL:000000bf 00895630 EXTERNAL:000000b8 +00895630 EXTERNAL:000000bf 00895630 EXTERNAL:000000bb +00895630 EXTERNAL:000000be 00895630 EXTERNAL:000000a0 00895630 EXTERNAL:000000bc -00895630 EXTERNAL:000000be -00895630 EXTERNAL:000000bf 00895690 EXTERNAL:000000b8 +00895690 EXTERNAL:000000bf 00895690 EXTERNAL:000000bb +00895690 EXTERNAL:000000be 00895690 EXTERNAL:000000a0 00895690 EXTERNAL:000000bc -00895690 EXTERNAL:000000be -00895690 EXTERNAL:000000bf 008956f0 008a0740 00895710 EXTERNAL:000000b8 +00895710 EXTERNAL:000000bf 00895710 EXTERNAL:000000bb +00895710 EXTERNAL:000000be 00895710 EXTERNAL:000000a0 00895710 EXTERNAL:000000bc -00895710 EXTERNAL:000000be -00895710 EXTERNAL:000000bf 00895770 EXTERNAL:000000b8 +00895770 EXTERNAL:000000bf 00895770 EXTERNAL:000000bb +00895770 EXTERNAL:000000be 00895770 EXTERNAL:000000a0 00895770 EXTERNAL:000000bc -00895770 EXTERNAL:000000be -00895770 EXTERNAL:000000bf 008957d0 EXTERNAL:000000b8 +008957d0 EXTERNAL:000000bf 008957d0 EXTERNAL:000000bb +008957d0 EXTERNAL:000000be 008957d0 EXTERNAL:000000a0 008957d0 EXTERNAL:000000bc -008957d0 EXTERNAL:000000be -008957d0 EXTERNAL:000000bf 00895830 EXTERNAL:000000b8 +00895830 EXTERNAL:000000bf 00895830 EXTERNAL:000000bb +00895830 EXTERNAL:000000be 00895830 EXTERNAL:000000a0 00895830 EXTERNAL:000000bc -00895830 EXTERNAL:000000be -00895830 EXTERNAL:000000bf 00895890 EXTERNAL:000000b8 +00895890 EXTERNAL:000000bf 00895890 EXTERNAL:000000bb +00895890 EXTERNAL:000000be 00895890 EXTERNAL:000000a0 00895890 EXTERNAL:000000bc -00895890 EXTERNAL:000000be -00895890 EXTERNAL:000000bf 008958f0 EXTERNAL:000000b8 +008958f0 EXTERNAL:000000bf 008958f0 EXTERNAL:000000bb +008958f0 EXTERNAL:000000be 008958f0 EXTERNAL:000000a0 008958f0 EXTERNAL:000000bc -008958f0 EXTERNAL:000000be -008958f0 EXTERNAL:000000bf 00895950 EXTERNAL:000000b8 +00895950 EXTERNAL:000000bf 00895950 EXTERNAL:000000bb +00895950 EXTERNAL:000000be 00895950 EXTERNAL:000000a0 00895950 EXTERNAL:000000bc -00895950 EXTERNAL:000000be -00895950 EXTERNAL:000000bf 008959b0 EXTERNAL:000000b8 -008959b0 EXTERNAL:000000bb -008959b0 EXTERNAL:000000a0 -008959b0 EXTERNAL:000000ab -008959b0 EXTERNAL:000000bc -008959b0 EXTERNAL:000000be 008959b0 EXTERNAL:000000bf +008959b0 EXTERNAL:000000bb +008959b0 EXTERNAL:000000ab +008959b0 EXTERNAL:000000be +008959b0 EXTERNAL:000000a0 +008959b0 EXTERNAL:000000bc 00895a60 EXTERNAL:000000b8 -00895a60 EXTERNAL:000000bb -00895a60 EXTERNAL:000000a0 -00895a60 EXTERNAL:000000ab -00895a60 EXTERNAL:000000bc -00895a60 EXTERNAL:000000be 00895a60 EXTERNAL:000000bf +00895a60 EXTERNAL:000000bb +00895a60 EXTERNAL:000000ab +00895a60 EXTERNAL:000000be +00895a60 EXTERNAL:000000a0 +00895a60 EXTERNAL:000000bc 00895b10 EXTERNAL:000000b8 +00895b10 EXTERNAL:000000bf 00895b10 EXTERNAL:000000bb +00895b10 EXTERNAL:000000be 00895b10 EXTERNAL:000000a0 00895b10 EXTERNAL:000000bc -00895b10 EXTERNAL:000000be -00895b10 EXTERNAL:000000bf 00895b70 EXTERNAL:000000b8 -00895b70 EXTERNAL:000000bb -00895b70 EXTERNAL:000000a0 -00895b70 EXTERNAL:000000ab -00895b70 EXTERNAL:000000bc -00895b70 EXTERNAL:000000be 00895b70 EXTERNAL:000000bf +00895b70 EXTERNAL:000000bb +00895b70 EXTERNAL:000000ab +00895b70 EXTERNAL:000000be +00895b70 EXTERNAL:000000a0 +00895b70 EXTERNAL:000000bc 00895c10 EXTERNAL:000000b8 +00895c10 EXTERNAL:000000bf 00895c10 EXTERNAL:000000bb +00895c10 EXTERNAL:000000be 00895c10 EXTERNAL:000000a0 00895c10 EXTERNAL:000000bc -00895c10 EXTERNAL:000000be -00895c10 EXTERNAL:000000bf 00895c70 EXTERNAL:000000b8 +00895c70 EXTERNAL:000000bf 00895c70 EXTERNAL:000000bb +00895c70 EXTERNAL:000000be 00895c70 EXTERNAL:000000a0 00895c70 EXTERNAL:000000bc -00895c70 EXTERNAL:000000be -00895c70 EXTERNAL:000000bf 00895cd0 EXTERNAL:000000b8 +00895cd0 EXTERNAL:000000bf 00895cd0 EXTERNAL:000000bb +00895cd0 EXTERNAL:000000be 00895cd0 EXTERNAL:000000a0 00895cd0 EXTERNAL:000000bc -00895cd0 EXTERNAL:000000be -00895cd0 EXTERNAL:000000bf 00895d30 EXTERNAL:000000b8 +00895d30 EXTERNAL:000000bf 00895d30 EXTERNAL:000000bb +00895d30 EXTERNAL:000000be 00895d30 EXTERNAL:000000a0 00895d30 EXTERNAL:000000bc -00895d30 EXTERNAL:000000be -00895d30 EXTERNAL:000000bf 00895d90 EXTERNAL:000000b8 +00895d90 EXTERNAL:000000bf 00895d90 EXTERNAL:000000bb +00895d90 EXTERNAL:000000be 00895d90 EXTERNAL:000000a0 00895d90 EXTERNAL:000000bc -00895d90 EXTERNAL:000000be -00895d90 EXTERNAL:000000bf 00895df0 EXTERNAL:000000b8 +00895df0 EXTERNAL:000000bf 00895df0 EXTERNAL:000000bb +00895df0 EXTERNAL:000000be 00895df0 EXTERNAL:000000a0 00895df0 EXTERNAL:000000bc -00895df0 EXTERNAL:000000be -00895df0 EXTERNAL:000000bf 00895e50 EXTERNAL:000000b8 +00895e50 EXTERNAL:000000bf 00895e50 EXTERNAL:000000bb +00895e50 EXTERNAL:000000be 00895e50 EXTERNAL:000000a0 00895e50 EXTERNAL:000000bc -00895e50 EXTERNAL:000000be -00895e50 EXTERNAL:000000bf 00895eb0 EXTERNAL:000000b8 +00895eb0 EXTERNAL:000000bf 00895eb0 EXTERNAL:000000bb +00895eb0 EXTERNAL:000000be 00895eb0 EXTERNAL:000000a0 00895eb0 EXTERNAL:000000bc -00895eb0 EXTERNAL:000000be -00895eb0 EXTERNAL:000000bf 00895f10 EXTERNAL:000000b8 +00895f10 EXTERNAL:000000bf 00895f10 EXTERNAL:000000bb +00895f10 EXTERNAL:000000be 00895f10 EXTERNAL:000000a0 00895f10 EXTERNAL:000000bc -00895f10 EXTERNAL:000000be -00895f10 EXTERNAL:000000bf 00895f70 EXTERNAL:000000b8 +00895f70 EXTERNAL:000000bf 00895f70 EXTERNAL:000000bb +00895f70 EXTERNAL:000000be 00895f70 EXTERNAL:000000a0 00895f70 EXTERNAL:000000bc -00895f70 EXTERNAL:000000be -00895f70 EXTERNAL:000000bf 00895fd0 EXTERNAL:000000b8 +00895fd0 EXTERNAL:000000bf 00895fd0 EXTERNAL:000000bb +00895fd0 EXTERNAL:000000be 00895fd0 EXTERNAL:000000a0 00895fd0 EXTERNAL:000000bc -00895fd0 EXTERNAL:000000be -00895fd0 EXTERNAL:000000bf 00896030 EXTERNAL:000000b8 +00896030 EXTERNAL:000000bf 00896030 EXTERNAL:000000bb +00896030 EXTERNAL:000000be 00896030 EXTERNAL:000000a0 00896030 EXTERNAL:000000bc -00896030 EXTERNAL:000000be -00896030 EXTERNAL:000000bf 00896090 EXTERNAL:000000b8 +00896090 EXTERNAL:000000bf 00896090 EXTERNAL:000000bb +00896090 EXTERNAL:000000be 00896090 EXTERNAL:000000a0 00896090 EXTERNAL:000000bc -00896090 EXTERNAL:000000be -00896090 EXTERNAL:000000bf 008960f0 EXTERNAL:000000b8 +008960f0 EXTERNAL:000000bf 008960f0 EXTERNAL:000000bb +008960f0 EXTERNAL:000000be 008960f0 EXTERNAL:000000a0 008960f0 EXTERNAL:000000bc -008960f0 EXTERNAL:000000be -008960f0 EXTERNAL:000000bf 00896150 EXTERNAL:000000b8 +00896150 EXTERNAL:000000bf 00896150 EXTERNAL:000000bb +00896150 EXTERNAL:000000be 00896150 EXTERNAL:000000a0 00896150 EXTERNAL:000000bc -00896150 EXTERNAL:000000be -00896150 EXTERNAL:000000bf 008961b0 EXTERNAL:000000b8 +008961b0 EXTERNAL:000000bf 008961b0 EXTERNAL:000000bb +008961b0 EXTERNAL:000000be 008961b0 EXTERNAL:000000a0 008961b0 EXTERNAL:000000bc -008961b0 EXTERNAL:000000be -008961b0 EXTERNAL:000000bf 00896210 EXTERNAL:000000b8 +00896210 EXTERNAL:000000bf 00896210 EXTERNAL:000000bb +00896210 EXTERNAL:000000be 00896210 EXTERNAL:000000a0 00896210 EXTERNAL:000000bc -00896210 EXTERNAL:000000be -00896210 EXTERNAL:000000bf 00896270 EXTERNAL:000000b8 +00896270 EXTERNAL:000000bf 00896270 EXTERNAL:000000bb +00896270 EXTERNAL:000000be 00896270 EXTERNAL:000000a0 00896270 EXTERNAL:000000bc -00896270 EXTERNAL:000000be -00896270 EXTERNAL:000000bf 008962d0 EXTERNAL:000000b8 +008962d0 EXTERNAL:000000bf 008962d0 EXTERNAL:000000bb +008962d0 EXTERNAL:000000be 008962d0 EXTERNAL:000000a0 008962d0 EXTERNAL:000000bc -008962d0 EXTERNAL:000000be -008962d0 EXTERNAL:000000bf 00896330 EXTERNAL:000000b8 +00896330 EXTERNAL:000000bf 00896330 EXTERNAL:000000bb +00896330 EXTERNAL:000000be 00896330 EXTERNAL:000000a0 00896330 EXTERNAL:000000bc -00896330 EXTERNAL:000000be -00896330 EXTERNAL:000000bf 00896390 EXTERNAL:000000b8 +00896390 EXTERNAL:000000bf 00896390 EXTERNAL:000000bb +00896390 EXTERNAL:000000be 00896390 EXTERNAL:000000a0 00896390 EXTERNAL:000000bc -00896390 EXTERNAL:000000be -00896390 EXTERNAL:000000bf 008963f0 EXTERNAL:000000b8 +008963f0 EXTERNAL:000000bf 008963f0 EXTERNAL:000000bb +008963f0 EXTERNAL:000000be 008963f0 EXTERNAL:000000a0 008963f0 EXTERNAL:000000bc -008963f0 EXTERNAL:000000be -008963f0 EXTERNAL:000000bf 00896450 EXTERNAL:000000b8 +00896450 EXTERNAL:000000bf 00896450 EXTERNAL:000000bb +00896450 EXTERNAL:000000be 00896450 EXTERNAL:000000a0 00896450 EXTERNAL:000000bc -00896450 EXTERNAL:000000be -00896450 EXTERNAL:000000bf 008964b0 EXTERNAL:000000b8 +008964b0 EXTERNAL:000000bf 008964b0 EXTERNAL:000000bb +008964b0 EXTERNAL:000000be 008964b0 EXTERNAL:000000a0 008964b0 EXTERNAL:000000bc -008964b0 EXTERNAL:000000be -008964b0 EXTERNAL:000000bf 00896510 EXTERNAL:000000b8 +00896510 EXTERNAL:000000bf 00896510 EXTERNAL:000000bb +00896510 EXTERNAL:000000be 00896510 EXTERNAL:000000a0 00896510 EXTERNAL:000000bc -00896510 EXTERNAL:000000be -00896510 EXTERNAL:000000bf 00896570 EXTERNAL:000000b8 +00896570 EXTERNAL:000000bf 00896570 EXTERNAL:000000bb +00896570 EXTERNAL:000000be 00896570 EXTERNAL:000000a0 00896570 EXTERNAL:000000bc -00896570 EXTERNAL:000000be -00896570 EXTERNAL:000000bf 008965d0 EXTERNAL:000000b8 +008965d0 EXTERNAL:000000bf 008965d0 EXTERNAL:000000bb +008965d0 EXTERNAL:000000be 008965d0 EXTERNAL:000000a0 008965d0 EXTERNAL:000000bc -008965d0 EXTERNAL:000000be -008965d0 EXTERNAL:000000bf 00896630 EXTERNAL:000000b8 +00896630 EXTERNAL:000000bf 00896630 EXTERNAL:000000bb +00896630 EXTERNAL:000000be 00896630 EXTERNAL:000000a0 00896630 EXTERNAL:000000bc -00896630 EXTERNAL:000000be -00896630 EXTERNAL:000000bf 00896690 EXTERNAL:000000b8 +00896690 EXTERNAL:000000bf 00896690 EXTERNAL:000000bb +00896690 EXTERNAL:000000be 00896690 EXTERNAL:000000a0 00896690 EXTERNAL:000000bc -00896690 EXTERNAL:000000be -00896690 EXTERNAL:000000bf 008966f0 EXTERNAL:000000b8 +008966f0 EXTERNAL:000000bf 008966f0 EXTERNAL:000000bb +008966f0 EXTERNAL:000000be 008966f0 EXTERNAL:000000a0 008966f0 EXTERNAL:000000bc -008966f0 EXTERNAL:000000be -008966f0 EXTERNAL:000000bf 00896750 EXTERNAL:000000b8 +00896750 EXTERNAL:000000bf 00896750 EXTERNAL:000000bb +00896750 EXTERNAL:000000be 00896750 EXTERNAL:000000a0 00896750 EXTERNAL:000000bc -00896750 EXTERNAL:000000be -00896750 EXTERNAL:000000bf 008967b0 EXTERNAL:000000b8 +008967b0 EXTERNAL:000000bf 008967b0 EXTERNAL:000000bb +008967b0 EXTERNAL:000000be 008967b0 EXTERNAL:000000a0 008967b0 EXTERNAL:000000bc -008967b0 EXTERNAL:000000be -008967b0 EXTERNAL:000000bf +008968b0 EXTERNAL:000000bf 008968b0 EXTERNAL:000000b8 008968b0 EXTERNAL:000000bb -008968b0 EXTERNAL:000000a0 008968b0 EXTERNAL:000000bd 008968b0 EXTERNAL:00000083 -008968b0 EXTERNAL:000000bc 008968b0 EXTERNAL:000000be -008968b0 EXTERNAL:000000bf +008968b0 EXTERNAL:000000a0 +008968b0 EXTERNAL:000000bc 008969f0 0092e430 00896ac0 00925c60 +00896ae0 EXTERNAL:000000bf 00896ae0 EXTERNAL:000000b8 00896ae0 EXTERNAL:000000bb -00896ae0 EXTERNAL:000000a0 00896ae0 EXTERNAL:000000bd 00896ae0 EXTERNAL:00000083 -00896ae0 EXTERNAL:000000bc 00896ae0 EXTERNAL:000000be -00896ae0 EXTERNAL:000000bf +00896ae0 EXTERNAL:000000a0 +00896ae0 EXTERNAL:000000bc +00896cf0 EXTERNAL:000000bf 00896cf0 EXTERNAL:000000b8 00896cf0 EXTERNAL:000000bb -00896cf0 EXTERNAL:000000a0 00896cf0 EXTERNAL:000000bd 00896cf0 EXTERNAL:00000083 -00896cf0 EXTERNAL:000000bc 00896cf0 EXTERNAL:000000be -00896cf0 EXTERNAL:000000bf +00896cf0 EXTERNAL:000000a0 +00896cf0 EXTERNAL:000000bc 00896ff0 00925ce0 00897050 00a26440 +00897120 EXTERNAL:000000bf 00897120 EXTERNAL:000000b8 00897120 EXTERNAL:000000bb -00897120 EXTERNAL:000000a0 00897120 EXTERNAL:000000bd 00897120 EXTERNAL:00000083 -00897120 EXTERNAL:000000bc 00897120 EXTERNAL:000000be -00897120 EXTERNAL:000000bf +00897120 EXTERNAL:000000a0 +00897120 EXTERNAL:000000bc +008973e0 EXTERNAL:000000bf 008973e0 EXTERNAL:000000b8 008973e0 EXTERNAL:000000bb -008973e0 EXTERNAL:000000a0 008973e0 EXTERNAL:000000bd 008973e0 EXTERNAL:00000083 -008973e0 EXTERNAL:000000bc 008973e0 EXTERNAL:000000be -008973e0 EXTERNAL:000000bf -00897500 006a80f0 +008973e0 EXTERNAL:000000a0 +008973e0 EXTERNAL:000000bc 00897500 EXTERNAL:000000b6 -00897500 EXTERNAL:00000083 +00897500 006a80f0 00897500 EXTERNAL:000000ae +00897500 EXTERNAL:00000083 00897540 006a80f0 -00897540 EXTERNAL:00000080 00897540 EXTERNAL:0000007f -00897540 EXTERNAL:00000083 +00897540 EXTERNAL:00000080 00897540 EXTERNAL:00000085 +00897540 EXTERNAL:00000083 008975b0 00652a00 -008975d0 00aef15c 008975d0 0040d040 +008975d0 00aef15c 00897620 EXTERNAL:000001f7 00897620 0040cf50 +008976a0 EXTERNAL:000000b1 008976a0 EXTERNAL:000000be 008976a0 EXTERNAL:000000a5 -008976a0 EXTERNAL:000000b1 008976f0 EXTERNAL:000000b6 008976f0 EXTERNAL:000000a5 00897730 EXTERNAL:000000b3 @@ -37325,10 +37325,10 @@ 008977a0 EXTERNAL:00000082 008977a0 EXTERNAL:000000a5 008977f0 EXTERNAL:000000b3 -008977f0 EXTERNAL:0000009f -008977f0 EXTERNAL:000000a0 008977f0 EXTERNAL:000000a8 008977f0 EXTERNAL:000000a5 +008977f0 EXTERNAL:0000009f +008977f0 EXTERNAL:000000a0 00897870 EXTERNAL:000000b6 00897870 0085c050 00897870 EXTERNAL:000000a5 @@ -37338,146 +37338,146 @@ 00897930 0085c050 00897930 EXTERNAL:000000a5 00897970 008baa50 -00897970 EXTERNAL:0000009f -00897970 EXTERNAL:000000a0 00897970 EXTERNAL:000000a8 00897970 EXTERNAL:000000a5 +00897970 EXTERNAL:0000009f +00897970 EXTERNAL:000000a0 +00897a10 EXTERNAL:0000007e 00897a10 008ba0c0 +00897a10 006a80f0 00897a10 EXTERNAL:00000080 00897a10 EXTERNAL:000000a5 -00897a10 006a80f0 -00897a10 EXTERNAL:0000007e +00897b00 EXTERNAL:0000007e 00897b00 008ba0c0 +00897b00 006a80f0 00897b00 EXTERNAL:000000b4 00897b00 EXTERNAL:00000080 00897b00 EXTERNAL:000000a5 -00897b00 006a80f0 -00897b00 EXTERNAL:0000007e -00897c00 EXTERNAL:00000220 -00897c00 008ba0c0 -00897c00 00aef15c -00897c00 EXTERNAL:000000b0 -00897c00 EXTERNAL:00000080 -00897c00 EXTERNAL:000000a5 -00897c00 006a80f0 -00897c00 00aef12b 00897c00 EXTERNAL:0000007e -00897d50 0040cf50 -00897d50 EXTERNAL:000000ab -00897d50 0040d040 -00897d50 008ba7c0 -00897d50 EXTERNAL:00000080 -00897d50 EXTERNAL:000000a5 -00897d50 006a80f0 -00897d50 00aef12b +00897c00 008ba0c0 +00897c00 006a80f0 +00897c00 EXTERNAL:00000080 +00897c00 00aef12b +00897c00 EXTERNAL:000000b0 +00897c00 EXTERNAL:00000220 +00897c00 00aef15c +00897c00 EXTERNAL:000000a5 00897d50 EXTERNAL:0000007e -00897f00 EXTERNAL:000000b3 +00897d50 0040d040 +00897d50 EXTERNAL:000000ab +00897d50 006a80f0 +00897d50 EXTERNAL:00000080 +00897d50 0040cf50 +00897d50 00aef12b +00897d50 EXTERNAL:000000a5 +00897d50 008ba7c0 00897f00 EXTERNAL:000000b6 +00897f00 EXTERNAL:000000b3 00897f00 EXTERNAL:000000a5 -00897f50 0040cf50 00897f50 008ba5e0 -00897f50 EXTERNAL:000000ab -00897f50 0040d040 -00897f50 EXTERNAL:00000080 -00897f50 EXTERNAL:000000a5 -00897f50 006a80f0 -00897f50 00aef12b 00897f50 EXTERNAL:0000007e +00897f50 0040d040 +00897f50 EXTERNAL:000000ab +00897f50 006a80f0 +00897f50 EXTERNAL:00000080 +00897f50 0040cf50 +00897f50 00aef12b +00897f50 EXTERNAL:000000a5 +00898140 EXTERNAL:000000a8 00898140 EXTERNAL:000000b1 +00898140 EXTERNAL:000000a5 00898140 EXTERNAL:0000009f 00898140 EXTERNAL:000000a0 -00898140 EXTERNAL:000000a8 -00898140 EXTERNAL:000000a5 -008981b0 0040cf50 -008981b0 EXTERNAL:00000220 -008981b0 008b9ff0 -008981b0 00aef15c 008981b0 0040d040 -008981b0 EXTERNAL:000000b0 -008981b0 EXTERNAL:000000a5 +008981b0 0040cf50 008981b0 00aef12b -008982a0 EXTERNAL:000000b3 +008981b0 EXTERNAL:000000b0 +008981b0 008b9ff0 +008981b0 EXTERNAL:00000220 +008981b0 00aef15c +008981b0 EXTERNAL:000000a5 008982a0 0040ccd0 -008982a0 0040cf50 -008982a0 EXTERNAL:00000220 -008982a0 0085bfd0 -008982a0 00aef15c -008982a0 EXTERNAL:000000b2 008982a0 0040d040 -008982a0 EXTERNAL:000000a5 +008982a0 0085bfd0 +008982a0 EXTERNAL:000000b2 +008982a0 0040cf50 008982a0 00aef12b -008983e0 0040cf50 -008983e0 0085bfd0 -008983e0 008b9ff0 +008982a0 EXTERNAL:000000b3 +008982a0 EXTERNAL:00000220 +008982a0 00aef15c +008982a0 EXTERNAL:000000a5 008983e0 0040d040 -008983e0 EXTERNAL:000000a5 +008983e0 0085bfd0 +008983e0 0040cf50 008983e0 00aef12b +008983e0 008b9ff0 +008983e0 EXTERNAL:000000a5 +00898490 006a80f0 00898490 EXTERNAL:00000080 00898490 EXTERNAL:000000a5 -00898490 006a80f0 008984e0 EXTERNAL:000000b6 008984e0 EXTERNAL:000000b7 008984e0 EXTERNAL:000000a5 00898600 008baa50 +00898600 EXTERNAL:00000082 +00898600 EXTERNAL:000000a8 +00898600 EXTERNAL:000000a5 00898600 EXTERNAL:0000009f 00898600 EXTERNAL:000000a0 -00898600 EXTERNAL:000000a8 -00898600 EXTERNAL:00000082 -00898600 EXTERNAL:000000a5 008986d0 0040ccd0 +008986d0 0040d040 +008986d0 EXTERNAL:000000b2 +008986d0 008ba1e0 008986d0 0040cf50 +008986d0 00aef12b 008986d0 EXTERNAL:00000220 008986d0 00aef15c -008986d0 EXTERNAL:000000b2 -008986d0 0040d040 008986d0 EXTERNAL:000000a5 -008986d0 008ba1e0 -008986d0 00aef12b 00898890 0040ccd0 +00898890 EXTERNAL:00000082 +00898890 0040d040 +00898890 EXTERNAL:000000b2 00898890 0040cf50 +00898890 00aef12b 00898890 EXTERNAL:00000220 00898890 00aef15c -00898890 EXTERNAL:000000b2 -00898890 0040d040 -00898890 EXTERNAL:00000082 00898890 EXTERNAL:000000a5 -00898890 00aef12b -00898cf0 0040cf50 -00898cf0 008b9ff0 00898cf0 0040d040 -00898cf0 EXTERNAL:000000a5 +00898cf0 0040cf50 00898cf0 00aef12b +00898cf0 008b9ff0 +00898cf0 EXTERNAL:000000a5 +00898d90 EXTERNAL:000000a8 00898d90 EXTERNAL:000000b1 +00898d90 EXTERNAL:000000a5 00898d90 EXTERNAL:0000009f 00898d90 EXTERNAL:000000a0 -00898d90 EXTERNAL:000000a8 -00898d90 EXTERNAL:000000a5 +00898e00 EXTERNAL:000000a8 00898e00 EXTERNAL:000000b1 +00898e00 EXTERNAL:000000a5 00898e00 EXTERNAL:0000009f 00898e00 EXTERNAL:000000a0 -00898e00 EXTERNAL:000000a8 -00898e00 EXTERNAL:000000a5 +00898e70 EXTERNAL:000000a8 00898e70 EXTERNAL:000000b1 +00898e70 EXTERNAL:000000a5 00898e70 EXTERNAL:0000009f 00898e70 EXTERNAL:000000a0 -00898e70 EXTERNAL:000000a8 -00898e70 EXTERNAL:000000a5 -00898ee0 EXTERNAL:0000009f -00898ee0 EXTERNAL:000000a0 00898ee0 EXTERNAL:000000a8 00898ee0 EXTERNAL:000000a5 +00898ee0 EXTERNAL:0000009f +00898ee0 EXTERNAL:000000a0 00898f50 0085bff0 00898f50 EXTERNAL:000000a5 00898f80 0085c590 00898f80 EXTERNAL:000000b9 00898f80 EXTERNAL:000000a5 -00899030 EXTERNAL:000000b1 -00899030 EXTERNAL:0000009f 00899030 0085c590 -00899030 EXTERNAL:000000a0 -00899030 EXTERNAL:000000a8 00899030 EXTERNAL:000000b9 +00899030 EXTERNAL:000000a8 +00899030 EXTERNAL:000000b1 00899030 EXTERNAL:000000a5 +00899030 EXTERNAL:0000009f +00899030 EXTERNAL:000000a0 008990d0 EXTERNAL:000000b6 008990d0 0085c590 008990d0 EXTERNAL:000000b9 @@ -37490,31 +37490,31 @@ 008991a0 EXTERNAL:000000a5 008991d0 EXTERNAL:000000a5 008991f0 0040ccd0 -008991f0 008ba9c0 -008991f0 0040cf50 -008991f0 0085bfd0 -008991f0 EXTERNAL:000000b2 008991f0 0040d040 -008991f0 EXTERNAL:000000a5 +008991f0 0085bfd0 +008991f0 008ba9c0 +008991f0 EXTERNAL:000000b2 +008991f0 0040cf50 008991f0 00aef12b -008992e0 0040cf50 -008992e0 008b9ff0 -008992e0 EXTERNAL:000000b4 +008991f0 EXTERNAL:000000a5 008992e0 0040d040 -008992e0 EXTERNAL:000000a5 +008992e0 EXTERNAL:000000b4 +008992e0 0040cf50 008992e0 00aef12b +008992e0 008b9ff0 +008992e0 EXTERNAL:000000a5 00899390 EXTERNAL:000000b6 +00899390 00aef12b +00899390 EXTERNAL:000000b0 00899390 EXTERNAL:00000220 00899390 00aef15c -00899390 EXTERNAL:000000b0 00899390 EXTERNAL:000000a5 -00899390 00aef12b -00899440 0040cf50 -00899440 008b9ff0 00899440 0040d040 -00899440 0085bff0 -00899440 EXTERNAL:000000a5 +00899440 0040cf50 00899440 00aef12b +00899440 0085bff0 +00899440 008b9ff0 +00899440 EXTERNAL:000000a5 008994f0 EXTERNAL:000000b6 008994f0 0085c590 008994f0 EXTERNAL:000000b9 @@ -37526,47 +37526,47 @@ 008995c0 0085c590 008995c0 EXTERNAL:000000b9 008995c0 EXTERNAL:000000a5 -00899670 EXTERNAL:0000009f 00899670 0085c590 -00899670 EXTERNAL:000000a0 -00899670 EXTERNAL:000000a8 00899670 EXTERNAL:000000b9 +00899670 EXTERNAL:000000a8 00899670 EXTERNAL:000000a5 +00899670 EXTERNAL:0000009f +00899670 EXTERNAL:000000a0 00899710 0085bfd0 00899710 0085c590 00899710 EXTERNAL:000000b9 00899710 EXTERNAL:000000a5 -008997b0 EXTERNAL:000000ab -008997b0 EXTERNAL:000000bc 008997b0 EXTERNAL:000000b8 -008997b0 EXTERNAL:000000a0 -008997b0 EXTERNAL:000000be 008997b0 EXTERNAL:000000bf 008997b0 EXTERNAL:000000bb -00899850 EXTERNAL:000000b3 +008997b0 EXTERNAL:000000ab +008997b0 EXTERNAL:000000be +008997b0 EXTERNAL:000000a0 +008997b0 EXTERNAL:000000bc 00899850 0085c590 00899850 EXTERNAL:000000b9 +00899850 EXTERNAL:000000b3 00899850 EXTERNAL:000000a5 -008998c0 0085c590 008998c0 EXTERNAL:000000b4 +008998c0 0085c590 008998c0 EXTERNAL:000000b9 008998c0 EXTERNAL:000000a5 -00899930 EXTERNAL:0000009f 00899930 0085c590 -00899930 EXTERNAL:000000a0 -00899930 EXTERNAL:000000a8 00899930 EXTERNAL:000000b9 +00899930 EXTERNAL:000000a8 00899930 EXTERNAL:000000a5 +00899930 EXTERNAL:0000009f +00899930 EXTERNAL:000000a0 +008999e0 EXTERNAL:000000b7 008999e0 0085c590 008999e0 EXTERNAL:000000b9 -008999e0 EXTERNAL:000000b7 008999e0 EXTERNAL:000000a5 -00899a50 EXTERNAL:0000009f 00899a50 0085c590 -00899a50 EXTERNAL:000000a0 -00899a50 EXTERNAL:000000a8 00899a50 EXTERNAL:000000b9 +00899a50 EXTERNAL:000000a8 00899a50 EXTERNAL:000000a5 +00899a50 EXTERNAL:0000009f +00899a50 EXTERNAL:000000a0 00899b00 EXTERNAL:000000b6 00899b00 0085c590 00899b00 EXTERNAL:000000b9 @@ -37576,103 +37576,103 @@ 00899b70 EXTERNAL:000000b9 00899b70 EXTERNAL:000000a5 00899bd0 00af08b1 +00899bd0 0085c590 +00899bd0 EXTERNAL:000000b9 +00899bd0 EXTERNAL:000000a8 00899bd0 EXTERNAL:000000b1 00899bd0 EXTERNAL:0000009f -00899bd0 0085c590 00899bd0 EXTERNAL:000000a0 -00899bd0 EXTERNAL:000000a8 -00899bd0 EXTERNAL:000000b9 00899c70 00af08b1 +00899c70 0085c590 +00899c70 EXTERNAL:000000b9 +00899c70 EXTERNAL:000000a8 00899c70 EXTERNAL:000000b1 00899c70 EXTERNAL:0000009f -00899c70 0085c590 00899c70 EXTERNAL:000000a0 -00899c70 EXTERNAL:000000a8 -00899c70 EXTERNAL:000000b9 00899d10 00af08b1 +00899d10 0085c590 +00899d10 EXTERNAL:000000b9 +00899d10 EXTERNAL:000000a8 00899d10 EXTERNAL:000000b1 00899d10 EXTERNAL:0000009f -00899d10 0085c590 00899d10 EXTERNAL:000000a0 -00899d10 EXTERNAL:000000a8 -00899d10 EXTERNAL:000000b9 00899db0 00af08b1 +00899db0 0085c590 +00899db0 EXTERNAL:000000b9 +00899db0 EXTERNAL:000000a8 00899db0 EXTERNAL:000000b1 00899db0 EXTERNAL:0000009f -00899db0 0085c590 00899db0 EXTERNAL:000000a0 -00899db0 EXTERNAL:000000a8 -00899db0 EXTERNAL:000000b9 00899e50 00af08b1 +00899e50 0085c590 +00899e50 EXTERNAL:000000b9 +00899e50 EXTERNAL:000000a8 00899e50 EXTERNAL:000000b1 00899e50 EXTERNAL:0000009f -00899e50 0085c590 00899e50 EXTERNAL:000000a0 -00899e50 EXTERNAL:000000a8 -00899e50 EXTERNAL:000000b9 00899ef0 00af08b1 +00899ef0 0085c590 +00899ef0 EXTERNAL:000000b9 +00899ef0 EXTERNAL:000000a8 00899ef0 EXTERNAL:000000b1 00899ef0 EXTERNAL:0000009f -00899ef0 0085c590 00899ef0 EXTERNAL:000000a0 -00899ef0 EXTERNAL:000000a8 -00899ef0 EXTERNAL:000000b9 00899fa0 00af08b1 +00899fa0 0085c590 +00899fa0 EXTERNAL:000000b9 +00899fa0 EXTERNAL:000000a8 00899fa0 EXTERNAL:000000b1 00899fa0 EXTERNAL:0000009f -00899fa0 0085c590 00899fa0 EXTERNAL:000000a0 -00899fa0 EXTERNAL:000000a8 -00899fa0 EXTERNAL:000000b9 0089a040 00af08b1 +0089a040 0085c590 +0089a040 EXTERNAL:000000b9 +0089a040 EXTERNAL:000000a8 0089a040 EXTERNAL:000000b1 0089a040 EXTERNAL:0000009f -0089a040 0085c590 0089a040 EXTERNAL:000000a0 -0089a040 EXTERNAL:000000a8 -0089a040 EXTERNAL:000000b9 0089a0e0 00af08b1 +0089a0e0 0085c590 +0089a0e0 EXTERNAL:000000b9 +0089a0e0 EXTERNAL:000000a8 0089a0e0 EXTERNAL:000000b1 0089a0e0 EXTERNAL:0000009f -0089a0e0 0085c590 0089a0e0 EXTERNAL:000000a0 -0089a0e0 EXTERNAL:000000a8 -0089a0e0 EXTERNAL:000000b9 0089a180 00af08b1 +0089a180 0085c590 +0089a180 EXTERNAL:000000b9 +0089a180 EXTERNAL:000000a8 0089a180 EXTERNAL:000000b1 0089a180 EXTERNAL:0000009f -0089a180 0085c590 0089a180 EXTERNAL:000000a0 -0089a180 EXTERNAL:000000a8 -0089a180 EXTERNAL:000000b9 0089a220 00af08b1 +0089a220 0085c590 +0089a220 EXTERNAL:000000b9 +0089a220 EXTERNAL:000000a8 0089a220 EXTERNAL:000000b1 0089a220 EXTERNAL:0000009f -0089a220 0085c590 0089a220 EXTERNAL:000000a0 -0089a220 EXTERNAL:000000a8 -0089a220 EXTERNAL:000000b9 0089a2c0 00af08b1 +0089a2c0 0085c590 +0089a2c0 EXTERNAL:000000b9 +0089a2c0 EXTERNAL:000000a8 0089a2c0 EXTERNAL:000000b1 0089a2c0 EXTERNAL:0000009f -0089a2c0 0085c590 0089a2c0 EXTERNAL:000000a0 -0089a2c0 EXTERNAL:000000a8 -0089a2c0 EXTERNAL:000000b9 0089a360 00af08b1 +0089a360 0085c590 +0089a360 EXTERNAL:000000b9 +0089a360 EXTERNAL:000000a8 0089a360 EXTERNAL:000000b1 0089a360 EXTERNAL:0000009f -0089a360 0085c590 0089a360 EXTERNAL:000000a0 -0089a360 EXTERNAL:000000a8 -0089a360 EXTERNAL:000000b9 0089a400 00af08b1 +0089a400 0085c590 +0089a400 EXTERNAL:000000b9 +0089a400 EXTERNAL:000000a8 0089a400 EXTERNAL:000000b1 0089a400 EXTERNAL:0000009f -0089a400 0085c590 0089a400 EXTERNAL:000000a0 -0089a400 EXTERNAL:000000a8 -0089a400 EXTERNAL:000000b9 0089a4a0 EXTERNAL:000000b6 0089a4a0 0085c590 0089a4a0 EXTERNAL:000000b9 @@ -37685,112 +37685,112 @@ 0089a570 EXTERNAL:000000b9 0089a570 0085bff0 0089a570 EXTERNAL:000000a5 -0089a5d0 EXTERNAL:0000009f 0089a5d0 0085c590 -0089a5d0 EXTERNAL:000000a0 -0089a5d0 EXTERNAL:000000a8 0089a5d0 EXTERNAL:000000b9 +0089a5d0 EXTERNAL:000000a8 0089a5d0 EXTERNAL:000000a5 +0089a5d0 EXTERNAL:0000009f +0089a5d0 EXTERNAL:000000a0 +0089a670 EXTERNAL:00000082 0089a670 0085c590 0089a670 EXTERNAL:000000b9 -0089a670 EXTERNAL:00000082 0089a670 EXTERNAL:000000a5 -0089a700 0085c050 0089a700 0085c590 0089a700 EXTERNAL:000000b9 +0089a700 0085c050 0089a700 EXTERNAL:000000a5 0089a770 0085c590 0089a770 EXTERNAL:000000b9 0089a770 EXTERNAL:000000a5 -0089a810 EXTERNAL:0000009f 0089a810 0085c590 -0089a810 EXTERNAL:000000a0 -0089a810 EXTERNAL:000000a8 0089a810 EXTERNAL:000000b9 +0089a810 EXTERNAL:000000a8 0089a810 EXTERNAL:000000a5 +0089a810 EXTERNAL:0000009f +0089a810 EXTERNAL:000000a0 +0089aa50 EXTERNAL:00000082 0089aa50 0085c590 0089aa50 EXTERNAL:000000b9 -0089aa50 EXTERNAL:00000082 0089aa50 EXTERNAL:000000a5 -0089aae0 0085c050 0089aae0 0085c590 0089aae0 EXTERNAL:000000b9 +0089aae0 0085c050 0089aae0 EXTERNAL:000000a5 0089ab50 0085c590 0089ab50 EXTERNAL:000000b9 0089ab50 EXTERNAL:000000a5 -0089abf0 EXTERNAL:0000009f 0089abf0 0085c590 -0089abf0 EXTERNAL:000000a0 -0089abf0 EXTERNAL:000000a8 0089abf0 EXTERNAL:000000b9 +0089abf0 EXTERNAL:000000a8 0089abf0 EXTERNAL:000000a5 +0089abf0 EXTERNAL:0000009f +0089abf0 EXTERNAL:000000a0 +0089ad70 EXTERNAL:00000082 0089ad70 0085c590 0089ad70 EXTERNAL:000000b9 -0089ad70 EXTERNAL:00000082 0089ad70 EXTERNAL:000000a5 -0089ae00 0085c050 0089ae00 0085c590 0089ae00 EXTERNAL:000000b9 +0089ae00 0085c050 0089ae00 EXTERNAL:000000a5 -0089ae70 EXTERNAL:000000b3 0089ae70 0085c590 0089ae70 EXTERNAL:000000b9 +0089ae70 EXTERNAL:000000b3 0089ae70 EXTERNAL:000000a5 -0089aee0 0085c590 0089aee0 EXTERNAL:000000b4 +0089aee0 0085c590 0089aee0 EXTERNAL:000000b9 0089aee0 EXTERNAL:000000a5 0089af50 0085c590 0089af50 EXTERNAL:000000b9 0089af50 EXTERNAL:000000a5 -0089aff0 EXTERNAL:0000009f 0089aff0 0085c590 -0089aff0 EXTERNAL:000000a0 -0089aff0 EXTERNAL:000000a8 0089aff0 EXTERNAL:000000b9 +0089aff0 EXTERNAL:000000a8 0089aff0 EXTERNAL:000000a5 +0089aff0 EXTERNAL:0000009f +0089aff0 EXTERNAL:000000a0 0089b090 0085c590 0089b090 EXTERNAL:000000b9 0089b090 EXTERNAL:000000a5 -0089b140 EXTERNAL:000000b1 -0089b140 EXTERNAL:0000009f 0089b140 0085c590 -0089b140 EXTERNAL:000000a0 -0089b140 EXTERNAL:000000a8 0089b140 EXTERNAL:000000b9 +0089b140 EXTERNAL:000000a8 +0089b140 EXTERNAL:000000b1 0089b140 EXTERNAL:000000a5 -0089b1e0 EXTERNAL:000000b1 -0089b1e0 EXTERNAL:0000009f +0089b140 EXTERNAL:0000009f +0089b140 EXTERNAL:000000a0 0089b1e0 0085c590 -0089b1e0 EXTERNAL:000000a0 -0089b1e0 EXTERNAL:000000a8 0089b1e0 EXTERNAL:000000b9 +0089b1e0 EXTERNAL:000000a8 +0089b1e0 EXTERNAL:000000b1 0089b1e0 EXTERNAL:000000a5 +0089b1e0 EXTERNAL:0000009f +0089b1e0 EXTERNAL:000000a0 +0089b280 EXTERNAL:00000082 0089b280 0085c590 0089b280 EXTERNAL:000000b9 -0089b280 EXTERNAL:00000082 0089b280 EXTERNAL:000000a5 -0089b310 0085c050 0089b310 0085c590 0089b310 EXTERNAL:000000b9 +0089b310 0085c050 0089b310 EXTERNAL:000000a5 -0089b380 EXTERNAL:000000b3 -0089b380 EXTERNAL:000000b1 0089b380 008baa50 -0089b380 EXTERNAL:0000009f -0089b380 0085c590 -0089b380 EXTERNAL:000000a0 -0089b380 EXTERNAL:000000a8 -0089b380 EXTERNAL:000000b9 0089b380 EXTERNAL:00000082 +0089b380 0085c590 +0089b380 EXTERNAL:000000b9 +0089b380 EXTERNAL:000000b3 +0089b380 EXTERNAL:000000a8 +0089b380 EXTERNAL:000000b1 0089b380 EXTERNAL:000000a5 -0089b540 EXTERNAL:000000b3 +0089b380 EXTERNAL:0000009f +0089b380 EXTERNAL:000000a0 0089b540 0085c590 0089b540 EXTERNAL:000000b9 +0089b540 EXTERNAL:000000b3 0089b540 EXTERNAL:000000a5 -0089b5b0 0085c590 0089b5b0 EXTERNAL:000000b4 +0089b5b0 0085c590 0089b5b0 EXTERNAL:000000b9 0089b5b0 EXTERNAL:000000a5 0089b620 EXTERNAL:000000b6 @@ -37799,8 +37799,8 @@ 0089b620 EXTERNAL:000000a5 0089b690 0085c590 0089b690 EXTERNAL:000000b9 -0089b690 0085c030 0089b690 EXTERNAL:000000a5 +0089b690 0085c030 0089b6f0 EXTERNAL:000000b6 0089b6f0 0085c590 0089b6f0 EXTERNAL:000000b9 @@ -37809,19 +37809,19 @@ 0089b760 0085c590 0089b760 EXTERNAL:000000b9 0089b760 EXTERNAL:000000a5 +0089b7c0 EXTERNAL:00000082 0089b7c0 0085c590 0089b7c0 EXTERNAL:000000b9 -0089b7c0 EXTERNAL:00000082 0089b7c0 EXTERNAL:000000a5 -0089b850 0085c050 0089b850 0085c590 0089b850 EXTERNAL:000000b9 +0089b850 0085c050 0089b850 EXTERNAL:000000a5 0089b8c0 EXTERNAL:000000b6 -0089b8c0 EXTERNAL:0000009f -0089b8c0 EXTERNAL:000000a0 0089b8c0 EXTERNAL:000000a8 0089b8c0 EXTERNAL:000000a5 +0089b8c0 EXTERNAL:0000009f +0089b8c0 EXTERNAL:000000a0 0089b940 EXTERNAL:000000b6 0089b940 0085c590 0089b940 EXTERNAL:000000b9 @@ -37833,27 +37833,27 @@ 0089ba10 0085c590 0089ba10 EXTERNAL:000000b9 0089ba10 EXTERNAL:000000a5 -0089bac0 EXTERNAL:000000b1 -0089bac0 EXTERNAL:0000009f 0089bac0 0085c590 -0089bac0 EXTERNAL:000000a0 -0089bac0 EXTERNAL:000000a8 0089bac0 EXTERNAL:000000b9 +0089bac0 EXTERNAL:000000a8 +0089bac0 EXTERNAL:000000b1 0089bac0 EXTERNAL:000000a5 +0089bac0 EXTERNAL:0000009f +0089bac0 EXTERNAL:000000a0 +0089bb60 EXTERNAL:00000082 0089bb60 0085c590 0089bb60 EXTERNAL:000000b9 -0089bb60 EXTERNAL:00000082 0089bb60 EXTERNAL:000000a5 -0089bbf0 0085c050 0089bbf0 0085c590 0089bbf0 EXTERNAL:000000b9 +0089bbf0 0085c050 0089bbf0 EXTERNAL:000000a5 -0089bc60 EXTERNAL:000000b3 0089bc60 0085c590 0089bc60 EXTERNAL:000000b9 +0089bc60 EXTERNAL:000000b3 0089bc60 EXTERNAL:000000a5 -0089bcd0 0085c590 0089bcd0 EXTERNAL:000000b4 +0089bcd0 0085c590 0089bcd0 EXTERNAL:000000b9 0089bcd0 EXTERNAL:000000a5 0089bd40 EXTERNAL:000000b6 @@ -37864,13 +37864,13 @@ 0089bdb0 0085c590 0089bdb0 EXTERNAL:000000b9 0089bdb0 EXTERNAL:000000a5 +0089be10 EXTERNAL:00000082 0089be10 0085c590 0089be10 EXTERNAL:000000b9 -0089be10 EXTERNAL:00000082 0089be10 EXTERNAL:000000a5 -0089bea0 0085c050 0089bea0 0085c590 0089bea0 EXTERNAL:000000b9 +0089bea0 0085c050 0089bea0 EXTERNAL:000000a5 0089bf10 0085c590 0089bf10 EXTERNAL:000000b9 @@ -37880,27 +37880,27 @@ 0089bf70 0085c590 0089bf70 EXTERNAL:000000b9 0089bf70 EXTERNAL:000000a5 -0089c000 EXTERNAL:0000009f 0089c000 0085c590 -0089c000 EXTERNAL:000000a0 -0089c000 EXTERNAL:000000a8 0089c000 EXTERNAL:000000b9 +0089c000 EXTERNAL:000000a8 0089c000 EXTERNAL:000000a5 +0089c000 EXTERNAL:0000009f +0089c000 EXTERNAL:000000a0 0089c0a0 EXTERNAL:000000b6 -0089c0a0 EXTERNAL:0000009f -0089c0a0 0085c590 -0089c0a0 EXTERNAL:000000a0 -0089c0a0 EXTERNAL:000000a8 -0089c0a0 EXTERNAL:000000b9 0089c0a0 EXTERNAL:00000082 +0089c0a0 0085c590 +0089c0a0 EXTERNAL:000000b9 +0089c0a0 EXTERNAL:000000a8 0089c0a0 EXTERNAL:000000a5 -0089c350 EXTERNAL:000000b1 -0089c350 EXTERNAL:0000009f +0089c0a0 EXTERNAL:0000009f +0089c0a0 EXTERNAL:000000a0 0089c350 0085c590 -0089c350 EXTERNAL:000000a0 -0089c350 EXTERNAL:000000a8 0089c350 EXTERNAL:000000b9 +0089c350 EXTERNAL:000000a8 +0089c350 EXTERNAL:000000b1 0089c350 EXTERNAL:000000a5 +0089c350 EXTERNAL:0000009f +0089c350 EXTERNAL:000000a0 0089c3f0 EXTERNAL:000000b6 0089c3f0 0085c590 0089c3f0 EXTERNAL:000000b9 @@ -37909,31 +37909,31 @@ 0089c460 0085c590 0089c460 EXTERNAL:000000b9 0089c460 EXTERNAL:000000a5 -0089c4c0 EXTERNAL:000000b3 0089c4c0 0085c590 0089c4c0 EXTERNAL:000000b9 +0089c4c0 EXTERNAL:000000b3 0089c4c0 EXTERNAL:000000a5 -0089c530 0085c590 0089c530 EXTERNAL:000000b4 +0089c530 0085c590 0089c530 EXTERNAL:000000b9 0089c530 EXTERNAL:000000a5 0089c5a0 0085c590 0089c5a0 EXTERNAL:000000b9 0089c5a0 EXTERNAL:000000a5 -0089c650 EXTERNAL:000000b1 -0089c650 EXTERNAL:0000009f 0089c650 0085c590 -0089c650 EXTERNAL:000000a0 -0089c650 EXTERNAL:000000a8 0089c650 EXTERNAL:000000b9 +0089c650 EXTERNAL:000000a8 +0089c650 EXTERNAL:000000b1 0089c650 EXTERNAL:000000a5 -0089c6f0 EXTERNAL:000000b1 -0089c6f0 EXTERNAL:0000009f +0089c650 EXTERNAL:0000009f +0089c650 EXTERNAL:000000a0 0089c6f0 0085c590 -0089c6f0 EXTERNAL:000000a0 -0089c6f0 EXTERNAL:000000a8 0089c6f0 EXTERNAL:000000b9 +0089c6f0 EXTERNAL:000000a8 +0089c6f0 EXTERNAL:000000b1 0089c6f0 EXTERNAL:000000a5 +0089c6f0 EXTERNAL:0000009f +0089c6f0 EXTERNAL:000000a0 0089c790 0085c590 0089c790 EXTERNAL:000000b9 0089c790 0085bff0 @@ -37941,223 +37941,223 @@ 0089c7f0 0085c590 0089c7f0 EXTERNAL:000000b9 0089c7f0 EXTERNAL:000000a5 -0089c890 EXTERNAL:0000009f 0089c890 0085c590 -0089c890 EXTERNAL:000000a0 -0089c890 EXTERNAL:000000a8 0089c890 EXTERNAL:000000b9 +0089c890 EXTERNAL:000000a8 0089c890 EXTERNAL:000000a5 +0089c890 EXTERNAL:0000009f +0089c890 EXTERNAL:000000a0 +0089c930 EXTERNAL:00000082 0089c930 0085c590 0089c930 EXTERNAL:000000b9 -0089c930 EXTERNAL:00000082 0089c930 EXTERNAL:000000a5 -0089c9c0 0085c050 0089c9c0 0085c590 0089c9c0 EXTERNAL:000000b9 +0089c9c0 0085c050 0089c9c0 EXTERNAL:000000a5 0089ca30 00af08b1 +0089ca30 0085c590 +0089ca30 EXTERNAL:000000b9 +0089ca30 EXTERNAL:000000a8 0089ca30 EXTERNAL:000000b1 0089ca30 EXTERNAL:0000009f -0089ca30 0085c590 0089ca30 EXTERNAL:000000a0 -0089ca30 EXTERNAL:000000a8 -0089ca30 EXTERNAL:000000b9 0089cad0 00af08b1 +0089cad0 0085c590 +0089cad0 EXTERNAL:000000b9 +0089cad0 EXTERNAL:000000a8 0089cad0 EXTERNAL:000000b1 0089cad0 EXTERNAL:0000009f -0089cad0 0085c590 0089cad0 EXTERNAL:000000a0 -0089cad0 EXTERNAL:000000a8 -0089cad0 EXTERNAL:000000b9 0089cb70 00af08b1 +0089cb70 0085c590 +0089cb70 EXTERNAL:000000b9 +0089cb70 EXTERNAL:000000a8 0089cb70 EXTERNAL:000000b1 0089cb70 EXTERNAL:0000009f -0089cb70 0085c590 0089cb70 EXTERNAL:000000a0 -0089cb70 EXTERNAL:000000a8 -0089cb70 EXTERNAL:000000b9 0089cc10 00af08b1 +0089cc10 0085c590 +0089cc10 EXTERNAL:000000b9 +0089cc10 EXTERNAL:000000a8 0089cc10 EXTERNAL:000000b1 0089cc10 EXTERNAL:0000009f -0089cc10 0085c590 0089cc10 EXTERNAL:000000a0 -0089cc10 EXTERNAL:000000a8 -0089cc10 EXTERNAL:000000b9 0089ccb0 00af08b1 +0089ccb0 0085c590 +0089ccb0 EXTERNAL:000000b9 +0089ccb0 EXTERNAL:000000a8 0089ccb0 EXTERNAL:000000b1 0089ccb0 EXTERNAL:0000009f -0089ccb0 0085c590 0089ccb0 EXTERNAL:000000a0 -0089ccb0 EXTERNAL:000000a8 -0089ccb0 EXTERNAL:000000b9 0089cd50 00af08b1 +0089cd50 0085c590 +0089cd50 EXTERNAL:000000b9 +0089cd50 EXTERNAL:000000a8 0089cd50 EXTERNAL:000000b1 0089cd50 EXTERNAL:0000009f -0089cd50 0085c590 0089cd50 EXTERNAL:000000a0 -0089cd50 EXTERNAL:000000a8 -0089cd50 EXTERNAL:000000b9 0089cdf0 00af08b1 +0089cdf0 0085c590 +0089cdf0 EXTERNAL:000000b9 +0089cdf0 EXTERNAL:000000a8 0089cdf0 EXTERNAL:000000b1 0089cdf0 EXTERNAL:0000009f -0089cdf0 0085c590 0089cdf0 EXTERNAL:000000a0 -0089cdf0 EXTERNAL:000000a8 -0089cdf0 EXTERNAL:000000b9 0089ce90 00af08b1 +0089ce90 0085c590 +0089ce90 EXTERNAL:000000b9 +0089ce90 EXTERNAL:000000a8 0089ce90 EXTERNAL:000000b1 0089ce90 EXTERNAL:0000009f -0089ce90 0085c590 0089ce90 EXTERNAL:000000a0 -0089ce90 EXTERNAL:000000a8 -0089ce90 EXTERNAL:000000b9 0089cf30 00af08b1 +0089cf30 0085c590 +0089cf30 EXTERNAL:000000b9 +0089cf30 EXTERNAL:000000a8 0089cf30 EXTERNAL:000000b1 0089cf30 EXTERNAL:0000009f -0089cf30 0085c590 0089cf30 EXTERNAL:000000a0 -0089cf30 EXTERNAL:000000a8 -0089cf30 EXTERNAL:000000b9 0089cfd0 00af08b1 +0089cfd0 0085c590 +0089cfd0 EXTERNAL:000000b9 +0089cfd0 EXTERNAL:000000a8 0089cfd0 EXTERNAL:000000b1 0089cfd0 EXTERNAL:0000009f -0089cfd0 0085c590 0089cfd0 EXTERNAL:000000a0 -0089cfd0 EXTERNAL:000000a8 -0089cfd0 EXTERNAL:000000b9 0089d070 00af08b1 +0089d070 0085c590 +0089d070 EXTERNAL:000000b9 +0089d070 EXTERNAL:000000a8 0089d070 EXTERNAL:000000b1 0089d070 EXTERNAL:0000009f -0089d070 0085c590 0089d070 EXTERNAL:000000a0 -0089d070 EXTERNAL:000000a8 -0089d070 EXTERNAL:000000b9 0089d110 00af08b1 +0089d110 0085c590 +0089d110 EXTERNAL:000000b9 +0089d110 EXTERNAL:000000a8 0089d110 EXTERNAL:000000b1 0089d110 EXTERNAL:0000009f -0089d110 0085c590 0089d110 EXTERNAL:000000a0 -0089d110 EXTERNAL:000000a8 -0089d110 EXTERNAL:000000b9 0089d1b0 00af08b1 +0089d1b0 0085c590 +0089d1b0 EXTERNAL:000000b9 +0089d1b0 EXTERNAL:000000a8 0089d1b0 EXTERNAL:000000b1 0089d1b0 EXTERNAL:0000009f -0089d1b0 0085c590 0089d1b0 EXTERNAL:000000a0 -0089d1b0 EXTERNAL:000000a8 -0089d1b0 EXTERNAL:000000b9 0089d250 00af08b1 +0089d250 0085c590 +0089d250 EXTERNAL:000000b9 +0089d250 EXTERNAL:000000a8 0089d250 EXTERNAL:000000b1 0089d250 EXTERNAL:0000009f -0089d250 0085c590 0089d250 EXTERNAL:000000a0 -0089d250 EXTERNAL:000000a8 -0089d250 EXTERNAL:000000b9 0089d2f0 00af08b1 +0089d2f0 0085c590 +0089d2f0 EXTERNAL:000000b9 +0089d2f0 EXTERNAL:000000a8 0089d2f0 EXTERNAL:000000b1 0089d2f0 EXTERNAL:0000009f -0089d2f0 0085c590 0089d2f0 EXTERNAL:000000a0 -0089d2f0 EXTERNAL:000000a8 -0089d2f0 EXTERNAL:000000b9 0089d390 00af08b1 +0089d390 0085c590 +0089d390 EXTERNAL:000000b9 +0089d390 EXTERNAL:000000a8 0089d390 EXTERNAL:000000b1 0089d390 EXTERNAL:0000009f -0089d390 0085c590 0089d390 EXTERNAL:000000a0 -0089d390 EXTERNAL:000000a8 -0089d390 EXTERNAL:000000b9 0089d430 00af08b1 +0089d430 0085c590 +0089d430 EXTERNAL:000000b9 +0089d430 EXTERNAL:000000a8 0089d430 EXTERNAL:000000b1 0089d430 EXTERNAL:0000009f -0089d430 0085c590 0089d430 EXTERNAL:000000a0 -0089d430 EXTERNAL:000000a8 -0089d430 EXTERNAL:000000b9 0089d4d0 00af08b1 +0089d4d0 0085c590 +0089d4d0 EXTERNAL:000000b9 +0089d4d0 EXTERNAL:000000a8 0089d4d0 EXTERNAL:000000b1 0089d4d0 EXTERNAL:0000009f -0089d4d0 0085c590 0089d4d0 EXTERNAL:000000a0 -0089d4d0 EXTERNAL:000000a8 -0089d4d0 EXTERNAL:000000b9 0089d570 00af08b1 +0089d570 0085c590 +0089d570 EXTERNAL:000000b9 +0089d570 EXTERNAL:000000a8 0089d570 EXTERNAL:000000b1 0089d570 EXTERNAL:0000009f -0089d570 0085c590 0089d570 EXTERNAL:000000a0 -0089d570 EXTERNAL:000000a8 -0089d570 EXTERNAL:000000b9 0089d610 00af08b1 +0089d610 0085c590 +0089d610 EXTERNAL:000000b9 +0089d610 EXTERNAL:000000a8 0089d610 EXTERNAL:000000b1 0089d610 EXTERNAL:0000009f -0089d610 0085c590 0089d610 EXTERNAL:000000a0 -0089d610 EXTERNAL:000000a8 -0089d610 EXTERNAL:000000b9 0089d6b0 0085c590 0089d6b0 EXTERNAL:000000b9 0089d6b0 EXTERNAL:000000a5 -0089d760 EXTERNAL:000000b1 -0089d760 EXTERNAL:0000009f 0089d760 0085c590 -0089d760 EXTERNAL:000000a0 -0089d760 EXTERNAL:000000a8 0089d760 EXTERNAL:000000b9 +0089d760 EXTERNAL:000000a8 +0089d760 EXTERNAL:000000b1 0089d760 EXTERNAL:000000a5 +0089d760 EXTERNAL:0000009f +0089d760 EXTERNAL:000000a0 0089d800 0085c590 0089d800 EXTERNAL:000000b9 0089d800 EXTERNAL:000000a5 +0089d8b0 EXTERNAL:00000082 0089d8b0 0085c590 0089d8b0 EXTERNAL:000000b9 -0089d8b0 EXTERNAL:00000082 0089d8b0 EXTERNAL:000000a5 +0089d930 EXTERNAL:000000b5 0089d930 0085c590 0089d930 EXTERNAL:000000b9 -0089d930 EXTERNAL:000000b5 0089d930 EXTERNAL:000000a5 +0089d9b0 EXTERNAL:00000082 0089d9b0 0085c590 0089d9b0 EXTERNAL:000000b9 -0089d9b0 EXTERNAL:00000082 0089d9b0 EXTERNAL:000000a5 -0089da40 0085c050 0089da40 0085c590 0089da40 EXTERNAL:000000b9 +0089da40 0085c050 0089da40 EXTERNAL:000000a5 0089dab0 EXTERNAL:000000b6 0089dab0 0085c590 0089dab0 EXTERNAL:000000b9 0089dab0 EXTERNAL:000000a5 +0089db20 EXTERNAL:000000b7 0089db20 0085c590 0089db20 EXTERNAL:000000b9 -0089db20 EXTERNAL:000000b7 0089db20 EXTERNAL:000000a5 -0089db80 EXTERNAL:000000b1 -0089db80 EXTERNAL:0000009f 0089db80 0085c590 -0089db80 EXTERNAL:000000a0 -0089db80 EXTERNAL:000000a8 0089db80 EXTERNAL:000000b9 +0089db80 EXTERNAL:000000a8 +0089db80 EXTERNAL:000000b1 0089db80 EXTERNAL:000000a5 -0089dc20 EXTERNAL:000000b3 +0089db80 EXTERNAL:0000009f +0089db80 EXTERNAL:000000a0 0089dc20 0085c590 0089dc20 EXTERNAL:000000b9 +0089dc20 EXTERNAL:000000b3 0089dc20 EXTERNAL:000000a5 -0089dc90 0085c590 0089dc90 EXTERNAL:000000b4 +0089dc90 0085c590 0089dc90 EXTERNAL:000000b9 0089dc90 EXTERNAL:000000a5 0089dd00 0085c590 0089dd00 EXTERNAL:000000b9 0089dd00 EXTERNAL:000000a5 0089dd00 008ba900 -0089dd90 EXTERNAL:000000b1 -0089dd90 EXTERNAL:0000009f 0089dd90 0085c590 -0089dd90 EXTERNAL:000000a0 -0089dd90 EXTERNAL:000000a8 0089dd90 EXTERNAL:000000b9 +0089dd90 EXTERNAL:000000a8 +0089dd90 EXTERNAL:000000b1 0089dd90 EXTERNAL:000000a5 +0089dd90 EXTERNAL:0000009f +0089dd90 EXTERNAL:000000a0 0089de30 0085c590 0089de30 EXTERNAL:000000b9 0089de30 0085bff0 @@ -38172,3157 +38172,3157 @@ 0089def0 008ba900 0089df90 0085c590 0089df90 EXTERNAL:000000b9 -0089df90 EXTERNAL:000000a5 -0089df90 008ab7d0 0089df90 00aef12b +0089df90 008ab7d0 +0089df90 EXTERNAL:000000a5 0089e020 008baa50 0089e020 0085c590 0089e020 EXTERNAL:000000b9 0089e020 EXTERNAL:000000a5 -0089e0b0 EXTERNAL:0000009f 0089e0b0 0085c590 -0089e0b0 EXTERNAL:000000a0 -0089e0b0 EXTERNAL:000000a8 0089e0b0 EXTERNAL:000000b9 +0089e0b0 EXTERNAL:000000a8 0089e0b0 EXTERNAL:000000a5 +0089e0b0 EXTERNAL:0000009f +0089e0b0 EXTERNAL:000000a0 0089e150 0085c590 0089e150 EXTERNAL:000000b9 0089e150 0085bff0 0089e150 EXTERNAL:000000a5 -0089e1b0 EXTERNAL:000000b3 0089e1b0 0085c590 0089e1b0 EXTERNAL:000000b9 +0089e1b0 EXTERNAL:000000b3 0089e1b0 EXTERNAL:000000a5 -0089e220 0085c590 0089e220 EXTERNAL:000000b4 +0089e220 0085c590 0089e220 EXTERNAL:000000b9 0089e220 EXTERNAL:000000a5 -0089e290 0085c590 0089e290 EXTERNAL:000000b4 +0089e290 0085c590 0089e290 EXTERNAL:000000b9 0089e290 EXTERNAL:000000a5 0089e300 EXTERNAL:000000b6 0089e300 EXTERNAL:000000b4 0089e300 EXTERNAL:000000a5 0089e350 008ba150 -0089e3b0 EXTERNAL:000000b1 -0089e3b0 EXTERNAL:0000009f 0089e3b0 0085c590 -0089e3b0 EXTERNAL:000000a0 -0089e3b0 EXTERNAL:000000a8 0089e3b0 EXTERNAL:000000b9 +0089e3b0 EXTERNAL:000000a8 +0089e3b0 EXTERNAL:000000b1 0089e3b0 EXTERNAL:000000a5 -0089e450 EXTERNAL:000000b3 +0089e3b0 EXTERNAL:0000009f +0089e3b0 EXTERNAL:000000a0 0089e450 0085c590 0089e450 EXTERNAL:000000b9 +0089e450 EXTERNAL:000000b3 0089e450 EXTERNAL:000000a5 -0089e4c0 0085c590 0089e4c0 EXTERNAL:000000b4 +0089e4c0 0085c590 0089e4c0 EXTERNAL:000000b9 0089e4c0 EXTERNAL:000000a5 -0089e530 EXTERNAL:000000b3 0089e530 0085c590 0089e530 EXTERNAL:000000b9 +0089e530 EXTERNAL:000000b3 0089e530 EXTERNAL:000000a5 -0089e5a0 0085c590 0089e5a0 EXTERNAL:000000b4 +0089e5a0 0085c590 0089e5a0 EXTERNAL:000000b9 0089e5a0 EXTERNAL:000000a5 -0089e610 EXTERNAL:000000ab -0089e610 EXTERNAL:000000bc 0089e610 EXTERNAL:000000b8 -0089e610 EXTERNAL:000000a0 -0089e610 EXTERNAL:000000be 0089e610 EXTERNAL:000000bf 0089e610 EXTERNAL:000000bb +0089e610 EXTERNAL:000000ab +0089e610 EXTERNAL:000000be +0089e610 EXTERNAL:000000a0 +0089e610 EXTERNAL:000000bc 0089e6b0 0085c590 0089e6b0 EXTERNAL:000000b9 0089e6b0 EXTERNAL:000000a5 0089e6b0 008ba900 -0089e740 EXTERNAL:000000b1 -0089e740 EXTERNAL:0000009f 0089e740 0085c590 -0089e740 EXTERNAL:000000a0 -0089e740 EXTERNAL:000000a8 0089e740 EXTERNAL:000000b9 +0089e740 EXTERNAL:000000a8 +0089e740 EXTERNAL:000000b1 0089e740 EXTERNAL:000000a5 +0089e740 EXTERNAL:0000009f +0089e740 EXTERNAL:000000a0 +0089e7e0 EXTERNAL:00000082 0089e7e0 0085c590 0089e7e0 EXTERNAL:000000b9 -0089e7e0 EXTERNAL:00000082 0089e7e0 EXTERNAL:000000a5 -0089e870 0085c050 0089e870 0085c590 0089e870 EXTERNAL:000000b9 +0089e870 0085c050 0089e870 EXTERNAL:000000a5 0089e8e0 008baa50 0089e8e0 0085c590 0089e8e0 EXTERNAL:000000b9 0089e8e0 EXTERNAL:000000a5 -0089e970 EXTERNAL:000000b1 -0089e970 EXTERNAL:0000009f 0089e970 0085c590 -0089e970 EXTERNAL:000000a0 -0089e970 EXTERNAL:000000a8 0089e970 EXTERNAL:000000b9 +0089e970 EXTERNAL:000000a8 +0089e970 EXTERNAL:000000b1 0089e970 EXTERNAL:000000a5 -0089ea10 EXTERNAL:000000ab -0089ea10 EXTERNAL:000000bc +0089e970 EXTERNAL:0000009f +0089e970 EXTERNAL:000000a0 0089ea10 EXTERNAL:000000b8 -0089ea10 EXTERNAL:000000a0 -0089ea10 EXTERNAL:000000be 0089ea10 EXTERNAL:000000bf 0089ea10 EXTERNAL:000000bb -0089eab0 EXTERNAL:000000ab -0089eab0 EXTERNAL:000000bc +0089ea10 EXTERNAL:000000ab +0089ea10 EXTERNAL:000000be +0089ea10 EXTERNAL:000000a0 +0089ea10 EXTERNAL:000000bc 0089eab0 EXTERNAL:000000b8 -0089eab0 EXTERNAL:000000a0 -0089eab0 EXTERNAL:000000be 0089eab0 EXTERNAL:000000bf 0089eab0 EXTERNAL:000000bb -0089eb50 EXTERNAL:000000bc +0089eab0 EXTERNAL:000000ab +0089eab0 EXTERNAL:000000be +0089eab0 EXTERNAL:000000a0 +0089eab0 EXTERNAL:000000bc 0089eb50 EXTERNAL:000000b8 -0089eb50 EXTERNAL:000000a0 -0089eb50 EXTERNAL:000000be 0089eb50 EXTERNAL:000000bf 0089eb50 EXTERNAL:000000bb -0089ebb0 EXTERNAL:000000bc +0089eb50 EXTERNAL:000000be +0089eb50 EXTERNAL:000000a0 +0089eb50 EXTERNAL:000000bc 0089ebb0 EXTERNAL:000000b8 -0089ebb0 EXTERNAL:000000a0 -0089ebb0 EXTERNAL:000000be 0089ebb0 EXTERNAL:000000bf 0089ebb0 EXTERNAL:000000bb -0089ec10 EXTERNAL:000000bc +0089ebb0 EXTERNAL:000000be +0089ebb0 EXTERNAL:000000a0 +0089ebb0 EXTERNAL:000000bc 0089ec10 EXTERNAL:000000b8 -0089ec10 EXTERNAL:000000a0 -0089ec10 EXTERNAL:000000be 0089ec10 EXTERNAL:000000bf 0089ec10 EXTERNAL:000000bb -0089ec70 EXTERNAL:000000ab -0089ec70 EXTERNAL:000000bc +0089ec10 EXTERNAL:000000be +0089ec10 EXTERNAL:000000a0 +0089ec10 EXTERNAL:000000bc 0089ec70 EXTERNAL:000000b8 -0089ec70 EXTERNAL:000000a0 -0089ec70 EXTERNAL:000000be 0089ec70 EXTERNAL:000000bf 0089ec70 EXTERNAL:000000bb -0089ed10 EXTERNAL:000000bc +0089ec70 EXTERNAL:000000ab +0089ec70 EXTERNAL:000000be +0089ec70 EXTERNAL:000000a0 +0089ec70 EXTERNAL:000000bc 0089ed10 EXTERNAL:000000b8 -0089ed10 EXTERNAL:000000a0 -0089ed10 EXTERNAL:000000be 0089ed10 EXTERNAL:000000bf 0089ed10 EXTERNAL:000000bb -0089ed70 EXTERNAL:000000bc +0089ed10 EXTERNAL:000000be +0089ed10 EXTERNAL:000000a0 +0089ed10 EXTERNAL:000000bc 0089ed70 EXTERNAL:000000b8 -0089ed70 EXTERNAL:000000a0 -0089ed70 EXTERNAL:000000be 0089ed70 EXTERNAL:000000bf 0089ed70 EXTERNAL:000000bb -0089edd0 EXTERNAL:000000ab -0089edd0 EXTERNAL:000000bc +0089ed70 EXTERNAL:000000be +0089ed70 EXTERNAL:000000a0 +0089ed70 EXTERNAL:000000bc 0089edd0 EXTERNAL:000000b8 -0089edd0 EXTERNAL:000000a0 -0089edd0 EXTERNAL:000000be 0089edd0 EXTERNAL:000000bf 0089edd0 EXTERNAL:000000bb -0089ee70 EXTERNAL:000000ab -0089ee70 EXTERNAL:000000bc +0089edd0 EXTERNAL:000000ab +0089edd0 EXTERNAL:000000be +0089edd0 EXTERNAL:000000a0 +0089edd0 EXTERNAL:000000bc 0089ee70 EXTERNAL:000000b8 -0089ee70 EXTERNAL:000000a0 -0089ee70 EXTERNAL:000000be 0089ee70 EXTERNAL:000000bf 0089ee70 EXTERNAL:000000bb -0089ef10 EXTERNAL:000000bc +0089ee70 EXTERNAL:000000ab +0089ee70 EXTERNAL:000000be +0089ee70 EXTERNAL:000000a0 +0089ee70 EXTERNAL:000000bc 0089ef10 EXTERNAL:000000b8 -0089ef10 EXTERNAL:000000a0 -0089ef10 EXTERNAL:000000be 0089ef10 EXTERNAL:000000bf 0089ef10 EXTERNAL:000000bb -0089ef70 EXTERNAL:000000bc +0089ef10 EXTERNAL:000000be +0089ef10 EXTERNAL:000000a0 +0089ef10 EXTERNAL:000000bc 0089ef70 EXTERNAL:000000b8 -0089ef70 EXTERNAL:000000a0 -0089ef70 EXTERNAL:000000be 0089ef70 EXTERNAL:000000bf 0089ef70 EXTERNAL:000000bb -0089efd0 EXTERNAL:000000bc +0089ef70 EXTERNAL:000000be +0089ef70 EXTERNAL:000000a0 +0089ef70 EXTERNAL:000000bc 0089efd0 EXTERNAL:000000b8 -0089efd0 EXTERNAL:000000a0 -0089efd0 EXTERNAL:000000be 0089efd0 EXTERNAL:000000bf 0089efd0 EXTERNAL:000000bb -0089f030 EXTERNAL:000000bc +0089efd0 EXTERNAL:000000be +0089efd0 EXTERNAL:000000a0 +0089efd0 EXTERNAL:000000bc 0089f030 EXTERNAL:000000b8 -0089f030 EXTERNAL:000000a0 -0089f030 EXTERNAL:000000be 0089f030 EXTERNAL:000000bf 0089f030 EXTERNAL:000000bb -0089f090 EXTERNAL:000000bc +0089f030 EXTERNAL:000000be +0089f030 EXTERNAL:000000a0 +0089f030 EXTERNAL:000000bc 0089f090 EXTERNAL:000000b8 -0089f090 EXTERNAL:000000a0 -0089f090 EXTERNAL:000000be 0089f090 EXTERNAL:000000bf 0089f090 EXTERNAL:000000bb -0089f0f0 EXTERNAL:000000bc +0089f090 EXTERNAL:000000be +0089f090 EXTERNAL:000000a0 +0089f090 EXTERNAL:000000bc 0089f0f0 EXTERNAL:000000b8 -0089f0f0 EXTERNAL:000000a0 -0089f0f0 EXTERNAL:000000be 0089f0f0 EXTERNAL:000000bf 0089f0f0 EXTERNAL:000000bb -0089f150 EXTERNAL:000000bc +0089f0f0 EXTERNAL:000000be +0089f0f0 EXTERNAL:000000a0 +0089f0f0 EXTERNAL:000000bc 0089f150 EXTERNAL:000000b8 -0089f150 EXTERNAL:000000a0 -0089f150 EXTERNAL:000000be 0089f150 EXTERNAL:000000bf 0089f150 EXTERNAL:000000bb -0089f1b0 EXTERNAL:000000ab -0089f1b0 EXTERNAL:000000bc +0089f150 EXTERNAL:000000be +0089f150 EXTERNAL:000000a0 +0089f150 EXTERNAL:000000bc 0089f1b0 EXTERNAL:000000b8 -0089f1b0 EXTERNAL:000000a0 -0089f1b0 EXTERNAL:000000be 0089f1b0 EXTERNAL:000000bf 0089f1b0 EXTERNAL:000000bb -0089f250 EXTERNAL:000000bc +0089f1b0 EXTERNAL:000000ab +0089f1b0 EXTERNAL:000000be +0089f1b0 EXTERNAL:000000a0 +0089f1b0 EXTERNAL:000000bc 0089f250 EXTERNAL:000000b8 -0089f250 EXTERNAL:000000a0 -0089f250 EXTERNAL:000000be 0089f250 EXTERNAL:000000bf 0089f250 EXTERNAL:000000bb -0089f2b0 EXTERNAL:00000082 -0089f2b0 EXTERNAL:000000a5 +0089f250 EXTERNAL:000000be +0089f250 EXTERNAL:000000a0 +0089f250 EXTERNAL:000000bc 0089f2b0 008ba900 -0089f2b0 008ab7d0 0089f2b0 00aef12b -0089f3e0 EXTERNAL:000000bc +0089f2b0 EXTERNAL:000000a5 +0089f2b0 EXTERNAL:00000082 +0089f2b0 008ab7d0 0089f3e0 EXTERNAL:000000b8 -0089f3e0 EXTERNAL:000000a0 -0089f3e0 EXTERNAL:000000be 0089f3e0 EXTERNAL:000000bf 0089f3e0 EXTERNAL:000000bb -0089f440 EXTERNAL:000000bc +0089f3e0 EXTERNAL:000000be +0089f3e0 EXTERNAL:000000a0 +0089f3e0 EXTERNAL:000000bc 0089f440 EXTERNAL:000000b8 -0089f440 EXTERNAL:000000a0 -0089f440 EXTERNAL:000000be 0089f440 EXTERNAL:000000bf 0089f440 EXTERNAL:000000bb -0089f4a0 EXTERNAL:000000bc +0089f440 EXTERNAL:000000be +0089f440 EXTERNAL:000000a0 +0089f440 EXTERNAL:000000bc 0089f4a0 EXTERNAL:000000b8 -0089f4a0 EXTERNAL:000000a0 -0089f4a0 EXTERNAL:000000be 0089f4a0 EXTERNAL:000000bf 0089f4a0 EXTERNAL:000000bb +0089f4a0 EXTERNAL:000000be +0089f4a0 EXTERNAL:000000a0 +0089f4a0 EXTERNAL:000000bc 0089f500 0085c590 -0089f500 EXTERNAL:000000b9 -0089f500 EXTERNAL:00000082 0089f500 EXTERNAL:000000a5 -0089f590 0085c050 +0089f500 EXTERNAL:00000082 +0089f500 EXTERNAL:000000b9 0089f590 0085c590 -0089f590 EXTERNAL:000000b9 0089f590 EXTERNAL:000000a5 -0089f600 EXTERNAL:000000bc +0089f590 EXTERNAL:000000b9 +0089f590 0085c050 0089f600 EXTERNAL:000000b8 -0089f600 EXTERNAL:000000a0 -0089f600 EXTERNAL:000000be 0089f600 EXTERNAL:000000bf 0089f600 EXTERNAL:000000bb -0089f660 EXTERNAL:000000ab -0089f660 EXTERNAL:000000bc +0089f600 EXTERNAL:000000be +0089f600 EXTERNAL:000000a0 +0089f600 EXTERNAL:000000bc 0089f660 EXTERNAL:000000b8 -0089f660 EXTERNAL:000000a0 -0089f660 EXTERNAL:000000be 0089f660 EXTERNAL:000000bf 0089f660 EXTERNAL:000000bb -0089f700 EXTERNAL:000000ab -0089f700 EXTERNAL:000000bc +0089f660 EXTERNAL:000000ab +0089f660 EXTERNAL:000000be +0089f660 EXTERNAL:000000a0 +0089f660 EXTERNAL:000000bc 0089f700 EXTERNAL:000000b8 -0089f700 EXTERNAL:000000a0 -0089f700 EXTERNAL:000000be 0089f700 EXTERNAL:000000bf 0089f700 EXTERNAL:000000bb -0089f7a0 EXTERNAL:000000ab -0089f7a0 EXTERNAL:000000bc +0089f700 EXTERNAL:000000ab +0089f700 EXTERNAL:000000be +0089f700 EXTERNAL:000000a0 +0089f700 EXTERNAL:000000bc 0089f7a0 EXTERNAL:000000b8 -0089f7a0 EXTERNAL:000000a0 -0089f7a0 EXTERNAL:000000be 0089f7a0 EXTERNAL:000000bf 0089f7a0 EXTERNAL:000000bb -0089f840 EXTERNAL:000000ab -0089f840 EXTERNAL:000000bc +0089f7a0 EXTERNAL:000000ab +0089f7a0 EXTERNAL:000000be +0089f7a0 EXTERNAL:000000a0 +0089f7a0 EXTERNAL:000000bc 0089f840 EXTERNAL:000000b8 -0089f840 EXTERNAL:000000a0 -0089f840 EXTERNAL:000000be 0089f840 EXTERNAL:000000bf 0089f840 EXTERNAL:000000bb -0089f8e0 EXTERNAL:000000ab -0089f8e0 EXTERNAL:000000bc +0089f840 EXTERNAL:000000ab +0089f840 EXTERNAL:000000be +0089f840 EXTERNAL:000000a0 +0089f840 EXTERNAL:000000bc 0089f8e0 EXTERNAL:000000b8 -0089f8e0 EXTERNAL:000000a0 -0089f8e0 EXTERNAL:000000be 0089f8e0 EXTERNAL:000000bf 0089f8e0 EXTERNAL:000000bb -0089f980 EXTERNAL:000000bc +0089f8e0 EXTERNAL:000000ab +0089f8e0 EXTERNAL:000000be +0089f8e0 EXTERNAL:000000a0 +0089f8e0 EXTERNAL:000000bc 0089f980 EXTERNAL:000000b8 -0089f980 EXTERNAL:000000a0 -0089f980 EXTERNAL:000000be 0089f980 EXTERNAL:000000bf 0089f980 EXTERNAL:000000bb -0089f9e0 EXTERNAL:000000bc +0089f980 EXTERNAL:000000be +0089f980 EXTERNAL:000000a0 +0089f980 EXTERNAL:000000bc 0089f9e0 EXTERNAL:000000b8 -0089f9e0 EXTERNAL:000000a0 -0089f9e0 EXTERNAL:000000be 0089f9e0 EXTERNAL:000000bf 0089f9e0 EXTERNAL:000000bb -0089fa40 EXTERNAL:000000ab -0089fa40 EXTERNAL:000000bc +0089f9e0 EXTERNAL:000000be +0089f9e0 EXTERNAL:000000a0 +0089f9e0 EXTERNAL:000000bc 0089fa40 EXTERNAL:000000b8 -0089fa40 EXTERNAL:000000a0 -0089fa40 EXTERNAL:000000be 0089fa40 EXTERNAL:000000bf 0089fa40 EXTERNAL:000000bb -0089fae0 EXTERNAL:000000bc +0089fa40 EXTERNAL:000000ab +0089fa40 EXTERNAL:000000be +0089fa40 EXTERNAL:000000a0 +0089fa40 EXTERNAL:000000bc 0089fae0 EXTERNAL:000000b8 -0089fae0 EXTERNAL:000000a0 -0089fae0 EXTERNAL:000000be 0089fae0 EXTERNAL:000000bf 0089fae0 EXTERNAL:000000bb -0089fb40 EXTERNAL:000000ab -0089fb40 EXTERNAL:000000bc +0089fae0 EXTERNAL:000000be +0089fae0 EXTERNAL:000000a0 +0089fae0 EXTERNAL:000000bc 0089fb40 EXTERNAL:000000b8 -0089fb40 EXTERNAL:000000a0 -0089fb40 EXTERNAL:000000be 0089fb40 EXTERNAL:000000bf 0089fb40 EXTERNAL:000000bb -0089fbe0 EXTERNAL:000000bc +0089fb40 EXTERNAL:000000ab +0089fb40 EXTERNAL:000000be +0089fb40 EXTERNAL:000000a0 +0089fb40 EXTERNAL:000000bc 0089fbe0 EXTERNAL:000000b8 -0089fbe0 EXTERNAL:000000a0 -0089fbe0 EXTERNAL:000000be 0089fbe0 EXTERNAL:000000bf 0089fbe0 EXTERNAL:000000bb -0089fc40 EXTERNAL:000000ab -0089fc40 EXTERNAL:000000bc +0089fbe0 EXTERNAL:000000be +0089fbe0 EXTERNAL:000000a0 +0089fbe0 EXTERNAL:000000bc 0089fc40 EXTERNAL:000000b8 -0089fc40 EXTERNAL:000000a0 -0089fc40 EXTERNAL:000000be 0089fc40 EXTERNAL:000000bf 0089fc40 EXTERNAL:000000bb -0089fce0 EXTERNAL:000000ab -0089fce0 EXTERNAL:000000bc +0089fc40 EXTERNAL:000000ab +0089fc40 EXTERNAL:000000be +0089fc40 EXTERNAL:000000a0 +0089fc40 EXTERNAL:000000bc 0089fce0 EXTERNAL:000000b8 -0089fce0 EXTERNAL:000000a0 -0089fce0 EXTERNAL:000000be 0089fce0 EXTERNAL:000000bf 0089fce0 EXTERNAL:000000bb -0089fd80 EXTERNAL:000000bc +0089fce0 EXTERNAL:000000ab +0089fce0 EXTERNAL:000000be +0089fce0 EXTERNAL:000000a0 +0089fce0 EXTERNAL:000000bc 0089fd80 EXTERNAL:000000b8 -0089fd80 EXTERNAL:000000a0 -0089fd80 EXTERNAL:000000be 0089fd80 EXTERNAL:000000bf 0089fd80 EXTERNAL:000000bb -0089fde0 EXTERNAL:000000ab -0089fde0 EXTERNAL:000000bc +0089fd80 EXTERNAL:000000be +0089fd80 EXTERNAL:000000a0 +0089fd80 EXTERNAL:000000bc 0089fde0 EXTERNAL:000000b8 -0089fde0 EXTERNAL:000000a0 -0089fde0 EXTERNAL:000000be 0089fde0 EXTERNAL:000000bf 0089fde0 EXTERNAL:000000bb -0089fe80 EXTERNAL:000000bc +0089fde0 EXTERNAL:000000ab +0089fde0 EXTERNAL:000000be +0089fde0 EXTERNAL:000000a0 +0089fde0 EXTERNAL:000000bc 0089fe80 EXTERNAL:000000b8 -0089fe80 EXTERNAL:000000a0 -0089fe80 EXTERNAL:000000be 0089fe80 EXTERNAL:000000bf 0089fe80 EXTERNAL:000000bb -0089fee0 EXTERNAL:000000ab -0089fee0 EXTERNAL:000000bc +0089fe80 EXTERNAL:000000be +0089fe80 EXTERNAL:000000a0 +0089fe80 EXTERNAL:000000bc 0089fee0 EXTERNAL:000000b8 -0089fee0 EXTERNAL:000000a0 -0089fee0 EXTERNAL:000000be 0089fee0 EXTERNAL:000000bf 0089fee0 EXTERNAL:000000bb -0089ff80 EXTERNAL:000000ab -0089ff80 EXTERNAL:000000bc +0089fee0 EXTERNAL:000000ab +0089fee0 EXTERNAL:000000be +0089fee0 EXTERNAL:000000a0 +0089fee0 EXTERNAL:000000bc 0089ff80 EXTERNAL:000000b8 -0089ff80 EXTERNAL:000000a0 -0089ff80 EXTERNAL:000000be 0089ff80 EXTERNAL:000000bf 0089ff80 EXTERNAL:000000bb -008a0020 EXTERNAL:000000ab -008a0020 EXTERNAL:000000bc +0089ff80 EXTERNAL:000000ab +0089ff80 EXTERNAL:000000be +0089ff80 EXTERNAL:000000a0 +0089ff80 EXTERNAL:000000bc 008a0020 EXTERNAL:000000b8 -008a0020 EXTERNAL:000000a0 -008a0020 EXTERNAL:000000be 008a0020 EXTERNAL:000000bf 008a0020 EXTERNAL:000000bb -008a00c0 EXTERNAL:000000ab -008a00c0 EXTERNAL:000000bc +008a0020 EXTERNAL:000000ab +008a0020 EXTERNAL:000000be +008a0020 EXTERNAL:000000a0 +008a0020 EXTERNAL:000000bc 008a00c0 EXTERNAL:000000b8 -008a00c0 EXTERNAL:000000a0 -008a00c0 EXTERNAL:000000be 008a00c0 EXTERNAL:000000bf 008a00c0 EXTERNAL:000000bb -008a0160 EXTERNAL:000000bc +008a00c0 EXTERNAL:000000ab +008a00c0 EXTERNAL:000000be +008a00c0 EXTERNAL:000000a0 +008a00c0 EXTERNAL:000000bc 008a0160 EXTERNAL:000000b8 -008a0160 EXTERNAL:000000a0 -008a0160 EXTERNAL:000000be 008a0160 EXTERNAL:000000bf 008a0160 EXTERNAL:000000bb -008a01c0 EXTERNAL:000000bc +008a0160 EXTERNAL:000000be +008a0160 EXTERNAL:000000a0 +008a0160 EXTERNAL:000000bc 008a01c0 EXTERNAL:000000b8 -008a01c0 EXTERNAL:000000a0 -008a01c0 EXTERNAL:000000be 008a01c0 EXTERNAL:000000bf 008a01c0 EXTERNAL:000000bb -008a0220 EXTERNAL:000000ab -008a0220 EXTERNAL:000000bc +008a01c0 EXTERNAL:000000be +008a01c0 EXTERNAL:000000a0 +008a01c0 EXTERNAL:000000bc 008a0220 EXTERNAL:000000b8 -008a0220 EXTERNAL:000000a0 -008a0220 EXTERNAL:000000be 008a0220 EXTERNAL:000000bf 008a0220 EXTERNAL:000000bb +008a0220 EXTERNAL:000000ab +008a0220 EXTERNAL:000000be +008a0220 EXTERNAL:000000a0 +008a0220 EXTERNAL:000000bc +008a02c0 EXTERNAL:000000a5 +008a02c0 EXTERNAL:00000082 008a02c0 EXTERNAL:0000009f 008a02c0 EXTERNAL:000000a0 008a02c0 EXTERNAL:000000a8 -008a02c0 EXTERNAL:00000082 -008a02c0 EXTERNAL:000000a5 -008a0360 EXTERNAL:000000ab -008a0360 EXTERNAL:000000bc 008a0360 EXTERNAL:000000b8 -008a0360 EXTERNAL:000000a0 -008a0360 EXTERNAL:000000be 008a0360 EXTERNAL:000000bf 008a0360 EXTERNAL:000000bb -008a0400 EXTERNAL:000000bc +008a0360 EXTERNAL:000000ab +008a0360 EXTERNAL:000000be +008a0360 EXTERNAL:000000a0 +008a0360 EXTERNAL:000000bc 008a0400 EXTERNAL:000000b8 -008a0400 EXTERNAL:000000a0 -008a0400 EXTERNAL:000000be 008a0400 EXTERNAL:000000bf 008a0400 EXTERNAL:000000bb -008a0460 EXTERNAL:000000ab -008a0460 EXTERNAL:000000bc +008a0400 EXTERNAL:000000be +008a0400 EXTERNAL:000000a0 +008a0400 EXTERNAL:000000bc 008a0460 EXTERNAL:000000b8 -008a0460 EXTERNAL:000000a0 -008a0460 EXTERNAL:000000be 008a0460 EXTERNAL:000000bf 008a0460 EXTERNAL:000000bb -008a0500 EXTERNAL:000000ab -008a0500 EXTERNAL:000000bc +008a0460 EXTERNAL:000000ab +008a0460 EXTERNAL:000000be +008a0460 EXTERNAL:000000a0 +008a0460 EXTERNAL:000000bc 008a0500 EXTERNAL:000000b8 -008a0500 EXTERNAL:000000a0 -008a0500 EXTERNAL:000000be 008a0500 EXTERNAL:000000bf 008a0500 EXTERNAL:000000bb -008a05a0 EXTERNAL:000000bc +008a0500 EXTERNAL:000000ab +008a0500 EXTERNAL:000000be +008a0500 EXTERNAL:000000a0 +008a0500 EXTERNAL:000000bc 008a05a0 EXTERNAL:000000b8 -008a05a0 EXTERNAL:000000a0 -008a05a0 EXTERNAL:000000be 008a05a0 EXTERNAL:000000bf 008a05a0 EXTERNAL:000000bb -008a0600 EXTERNAL:000000b1 -008a0600 EXTERNAL:0000009f +008a05a0 EXTERNAL:000000be +008a05a0 EXTERNAL:000000a0 +008a05a0 EXTERNAL:000000bc 008a0600 0085c590 +008a0600 EXTERNAL:000000b1 +008a0600 EXTERNAL:000000a5 +008a0600 EXTERNAL:0000009f +008a0600 EXTERNAL:000000b9 008a0600 EXTERNAL:000000a0 008a0600 EXTERNAL:000000a8 -008a0600 EXTERNAL:000000b9 -008a0600 EXTERNAL:000000a5 -008a06a0 EXTERNAL:000000bc 008a06a0 EXTERNAL:000000b8 -008a06a0 EXTERNAL:000000a0 -008a06a0 EXTERNAL:000000be 008a06a0 EXTERNAL:000000bf 008a06a0 EXTERNAL:000000bb -008a0740 EXTERNAL:000000bc -008a0740 EXTERNAL:000000b8 -008a0740 EXTERNAL:0000009c -008a0740 EXTERNAL:000000b9 -008a0740 0085d500 +008a06a0 EXTERNAL:000000be +008a06a0 EXTERNAL:000000a0 +008a06a0 EXTERNAL:000000bc 008a0740 EXTERNAL:000000ab -008a0740 EXTERNAL:000000bd -008a0740 0085d2c0 -008a0740 0085d040 +008a0740 0085d500 +008a0740 EXTERNAL:0000009c 008a0740 EXTERNAL:000000be +008a0740 0085d2c0 +008a0740 EXTERNAL:000000bc 008a0740 EXTERNAL:000000bf -008a0740 EXTERNAL:00000083 +008a0740 EXTERNAL:000000b8 008a0740 EXTERNAL:000000bb -008a0950 EXTERNAL:000000bc -008a0950 EXTERNAL:000000b8 -008a0950 EXTERNAL:0000009c -008a0950 EXTERNAL:000000b9 -008a0950 0085d500 +008a0740 EXTERNAL:000000bd +008a0740 EXTERNAL:000000b9 +008a0740 EXTERNAL:00000083 +008a0740 0085d040 008a0950 EXTERNAL:000000ab -008a0950 EXTERNAL:000000bd -008a0950 0085d2c0 -008a0950 0085d040 +008a0950 0085d500 +008a0950 EXTERNAL:0000009c 008a0950 EXTERNAL:000000be +008a0950 0085d2c0 +008a0950 EXTERNAL:000000bc 008a0950 EXTERNAL:000000bf -008a0950 EXTERNAL:00000083 +008a0950 EXTERNAL:000000b8 008a0950 EXTERNAL:000000bb -008a0b60 EXTERNAL:000000bc -008a0b60 EXTERNAL:000000b8 -008a0b60 EXTERNAL:0000009c -008a0b60 EXTERNAL:000000b9 -008a0b60 0085d500 +008a0950 EXTERNAL:000000bd +008a0950 EXTERNAL:000000b9 +008a0950 EXTERNAL:00000083 +008a0950 0085d040 008a0b60 EXTERNAL:000000ab -008a0b60 EXTERNAL:000000bd -008a0b60 0085d2c0 -008a0b60 0085d040 +008a0b60 0085d500 +008a0b60 EXTERNAL:0000009c 008a0b60 EXTERNAL:000000be +008a0b60 0085d2c0 +008a0b60 EXTERNAL:000000bc 008a0b60 EXTERNAL:000000bf -008a0b60 EXTERNAL:00000083 +008a0b60 EXTERNAL:000000b8 008a0b60 EXTERNAL:000000bb -008a0d70 EXTERNAL:000000bc -008a0d70 EXTERNAL:000000b8 -008a0d70 EXTERNAL:0000009c -008a0d70 EXTERNAL:000000b9 -008a0d70 0085d500 +008a0b60 EXTERNAL:000000bd +008a0b60 EXTERNAL:000000b9 +008a0b60 EXTERNAL:00000083 +008a0b60 0085d040 008a0d70 EXTERNAL:000000ab -008a0d70 EXTERNAL:000000bd -008a0d70 0085d2c0 -008a0d70 0085d040 +008a0d70 0085d500 +008a0d70 EXTERNAL:0000009c 008a0d70 EXTERNAL:000000be +008a0d70 0085d2c0 +008a0d70 EXTERNAL:000000bc 008a0d70 EXTERNAL:000000bf -008a0d70 EXTERNAL:00000083 +008a0d70 EXTERNAL:000000b8 008a0d70 EXTERNAL:000000bb -008a0f80 EXTERNAL:000000bc -008a0f80 EXTERNAL:000000b8 -008a0f80 EXTERNAL:0000009c -008a0f80 EXTERNAL:000000b9 -008a0f80 0085d500 +008a0d70 EXTERNAL:000000bd +008a0d70 EXTERNAL:000000b9 +008a0d70 EXTERNAL:00000083 +008a0d70 0085d040 008a0f80 EXTERNAL:000000ab -008a0f80 EXTERNAL:000000bd -008a0f80 0085d2c0 -008a0f80 0085d040 +008a0f80 0085d500 +008a0f80 EXTERNAL:0000009c 008a0f80 EXTERNAL:000000be +008a0f80 0085d2c0 +008a0f80 EXTERNAL:000000bc 008a0f80 EXTERNAL:000000bf -008a0f80 EXTERNAL:00000083 +008a0f80 EXTERNAL:000000b8 008a0f80 EXTERNAL:000000bb -008a1190 EXTERNAL:000000bc -008a1190 EXTERNAL:000000b8 -008a1190 EXTERNAL:0000009c -008a1190 EXTERNAL:000000b9 -008a1190 0085d500 +008a0f80 EXTERNAL:000000bd +008a0f80 EXTERNAL:000000b9 +008a0f80 EXTERNAL:00000083 +008a0f80 0085d040 008a1190 EXTERNAL:000000ab -008a1190 EXTERNAL:000000bd -008a1190 0085d2c0 -008a1190 0085d040 +008a1190 0085d500 +008a1190 EXTERNAL:0000009c 008a1190 EXTERNAL:000000be +008a1190 0085d2c0 +008a1190 EXTERNAL:000000bc 008a1190 EXTERNAL:000000bf -008a1190 EXTERNAL:00000083 +008a1190 EXTERNAL:000000b8 008a1190 EXTERNAL:000000bb -008a13a0 EXTERNAL:000000bc -008a13a0 EXTERNAL:000000b8 -008a13a0 EXTERNAL:0000009c -008a13a0 EXTERNAL:000000b9 -008a13a0 0085d500 +008a1190 EXTERNAL:000000bd +008a1190 EXTERNAL:000000b9 +008a1190 EXTERNAL:00000083 +008a1190 0085d040 008a13a0 EXTERNAL:000000ab -008a13a0 EXTERNAL:000000bd -008a13a0 0085d2c0 -008a13a0 0085d040 +008a13a0 0085d500 +008a13a0 EXTERNAL:0000009c 008a13a0 EXTERNAL:000000be +008a13a0 0085d2c0 +008a13a0 EXTERNAL:000000bc 008a13a0 EXTERNAL:000000bf -008a13a0 EXTERNAL:00000083 +008a13a0 EXTERNAL:000000b8 008a13a0 EXTERNAL:000000bb -008a15b0 EXTERNAL:000000bc -008a15b0 EXTERNAL:000000b8 -008a15b0 EXTERNAL:0000009c -008a15b0 EXTERNAL:000000b9 -008a15b0 0085d500 +008a13a0 EXTERNAL:000000bd +008a13a0 EXTERNAL:000000b9 +008a13a0 EXTERNAL:00000083 +008a13a0 0085d040 008a15b0 EXTERNAL:000000ab -008a15b0 EXTERNAL:000000bd -008a15b0 0085d2c0 -008a15b0 0085d040 +008a15b0 0085d500 +008a15b0 EXTERNAL:0000009c 008a15b0 EXTERNAL:000000be +008a15b0 0085d2c0 +008a15b0 EXTERNAL:000000bc 008a15b0 EXTERNAL:000000bf -008a15b0 EXTERNAL:00000083 +008a15b0 EXTERNAL:000000b8 008a15b0 EXTERNAL:000000bb -008a17c0 EXTERNAL:000000bc -008a17c0 EXTERNAL:000000b8 -008a17c0 EXTERNAL:0000009c -008a17c0 EXTERNAL:000000b9 -008a17c0 0085d500 +008a15b0 EXTERNAL:000000bd +008a15b0 EXTERNAL:000000b9 +008a15b0 EXTERNAL:00000083 +008a15b0 0085d040 008a17c0 EXTERNAL:000000ab -008a17c0 EXTERNAL:000000bd -008a17c0 0085d2c0 -008a17c0 0085d040 +008a17c0 0085d500 +008a17c0 EXTERNAL:0000009c 008a17c0 EXTERNAL:000000be +008a17c0 0085d2c0 +008a17c0 EXTERNAL:000000bc 008a17c0 EXTERNAL:000000bf -008a17c0 EXTERNAL:00000083 +008a17c0 EXTERNAL:000000b8 008a17c0 EXTERNAL:000000bb -008a19d0 EXTERNAL:000000bc -008a19d0 EXTERNAL:000000b8 -008a19d0 EXTERNAL:0000009c -008a19d0 EXTERNAL:000000b9 -008a19d0 0085d500 +008a17c0 EXTERNAL:000000bd +008a17c0 EXTERNAL:000000b9 +008a17c0 EXTERNAL:00000083 +008a17c0 0085d040 008a19d0 EXTERNAL:000000ab -008a19d0 EXTERNAL:000000bd -008a19d0 0085d2c0 -008a19d0 0085d040 +008a19d0 0085d500 +008a19d0 EXTERNAL:0000009c 008a19d0 EXTERNAL:000000be +008a19d0 0085d2c0 +008a19d0 EXTERNAL:000000bc 008a19d0 EXTERNAL:000000bf -008a19d0 EXTERNAL:00000083 +008a19d0 EXTERNAL:000000b8 008a19d0 EXTERNAL:000000bb -008a1be0 EXTERNAL:000000bc -008a1be0 EXTERNAL:000000b8 -008a1be0 EXTERNAL:0000009c -008a1be0 EXTERNAL:000000b9 -008a1be0 0085d500 +008a19d0 EXTERNAL:000000bd +008a19d0 EXTERNAL:000000b9 +008a19d0 EXTERNAL:00000083 +008a19d0 0085d040 008a1be0 EXTERNAL:000000ab -008a1be0 EXTERNAL:000000bd -008a1be0 0085d2c0 -008a1be0 0085d040 +008a1be0 0085d500 +008a1be0 EXTERNAL:0000009c 008a1be0 EXTERNAL:000000be +008a1be0 0085d2c0 +008a1be0 EXTERNAL:000000bc 008a1be0 EXTERNAL:000000bf -008a1be0 EXTERNAL:00000083 +008a1be0 EXTERNAL:000000b8 008a1be0 EXTERNAL:000000bb -008a1df0 EXTERNAL:000000bc -008a1df0 EXTERNAL:000000b8 -008a1df0 EXTERNAL:0000009c -008a1df0 EXTERNAL:000000b9 -008a1df0 0085d500 +008a1be0 EXTERNAL:000000bd +008a1be0 EXTERNAL:000000b9 +008a1be0 EXTERNAL:00000083 +008a1be0 0085d040 008a1df0 EXTERNAL:000000ab -008a1df0 EXTERNAL:000000bd -008a1df0 0085d2c0 -008a1df0 0085d040 +008a1df0 0085d500 +008a1df0 EXTERNAL:0000009c 008a1df0 EXTERNAL:000000be +008a1df0 0085d2c0 +008a1df0 EXTERNAL:000000bc 008a1df0 EXTERNAL:000000bf -008a1df0 EXTERNAL:00000083 +008a1df0 EXTERNAL:000000b8 008a1df0 EXTERNAL:000000bb -008a2000 EXTERNAL:000000bc -008a2000 EXTERNAL:000000ab -008a2000 EXTERNAL:000000bd +008a1df0 EXTERNAL:000000bd +008a1df0 EXTERNAL:000000b9 +008a1df0 EXTERNAL:00000083 +008a1df0 0085d040 008a2000 EXTERNAL:000000b8 -008a2000 0085d2c0 -008a2000 EXTERNAL:000000a8 -008a2000 0085d040 -008a2000 EXTERNAL:0000009c -008a2000 EXTERNAL:000000be -008a2000 0085d500 008a2000 EXTERNAL:000000bf 008a2000 EXTERNAL:000000bb -008a2260 EXTERNAL:000000bc -008a2260 EXTERNAL:000000ab -008a2260 EXTERNAL:000000bd +008a2000 EXTERNAL:000000ab +008a2000 EXTERNAL:000000bd +008a2000 0085d500 +008a2000 EXTERNAL:0000009c +008a2000 EXTERNAL:000000be +008a2000 0085d2c0 +008a2000 EXTERNAL:000000bc +008a2000 0085d040 +008a2000 EXTERNAL:000000a8 008a2260 EXTERNAL:000000b8 -008a2260 0085d2c0 -008a2260 EXTERNAL:000000a8 -008a2260 0085d040 -008a2260 EXTERNAL:0000009c -008a2260 EXTERNAL:000000be -008a2260 0085d500 008a2260 EXTERNAL:000000bf 008a2260 EXTERNAL:000000bb -008a24c0 EXTERNAL:000000bc -008a24c0 EXTERNAL:000000ab -008a24c0 EXTERNAL:000000bd +008a2260 EXTERNAL:000000ab +008a2260 EXTERNAL:000000bd +008a2260 0085d500 +008a2260 EXTERNAL:0000009c +008a2260 EXTERNAL:000000be +008a2260 0085d2c0 +008a2260 EXTERNAL:000000bc +008a2260 0085d040 +008a2260 EXTERNAL:000000a8 008a24c0 EXTERNAL:000000b8 -008a24c0 0085d2c0 -008a24c0 EXTERNAL:000000a8 -008a24c0 0085d040 -008a24c0 EXTERNAL:0000009c -008a24c0 EXTERNAL:000000be -008a24c0 0085d500 008a24c0 EXTERNAL:000000bf 008a24c0 EXTERNAL:000000bb -008a2720 EXTERNAL:000000bc -008a2720 EXTERNAL:000000ab -008a2720 EXTERNAL:000000bd +008a24c0 EXTERNAL:000000ab +008a24c0 EXTERNAL:000000bd +008a24c0 0085d500 +008a24c0 EXTERNAL:0000009c +008a24c0 EXTERNAL:000000be +008a24c0 0085d2c0 +008a24c0 EXTERNAL:000000bc +008a24c0 0085d040 +008a24c0 EXTERNAL:000000a8 008a2720 EXTERNAL:000000b8 -008a2720 0085d2c0 -008a2720 EXTERNAL:000000a8 -008a2720 0085d040 -008a2720 EXTERNAL:0000009c -008a2720 EXTERNAL:000000be -008a2720 0085d500 008a2720 EXTERNAL:000000bf 008a2720 EXTERNAL:000000bb -008a2980 EXTERNAL:000000bc -008a2980 EXTERNAL:000000ab -008a2980 EXTERNAL:000000bd +008a2720 EXTERNAL:000000ab +008a2720 EXTERNAL:000000bd +008a2720 0085d500 +008a2720 EXTERNAL:0000009c +008a2720 EXTERNAL:000000be +008a2720 0085d2c0 +008a2720 EXTERNAL:000000bc +008a2720 0085d040 +008a2720 EXTERNAL:000000a8 008a2980 EXTERNAL:000000b8 -008a2980 0085d2c0 -008a2980 EXTERNAL:000000a8 -008a2980 0085d040 -008a2980 EXTERNAL:0000009c -008a2980 EXTERNAL:000000be -008a2980 0085d500 008a2980 EXTERNAL:000000bf 008a2980 EXTERNAL:000000bb -008a2be0 EXTERNAL:000000bc -008a2be0 EXTERNAL:000000ab -008a2be0 EXTERNAL:000000bd +008a2980 EXTERNAL:000000ab +008a2980 EXTERNAL:000000bd +008a2980 0085d500 +008a2980 EXTERNAL:0000009c +008a2980 EXTERNAL:000000be +008a2980 0085d2c0 +008a2980 EXTERNAL:000000bc +008a2980 0085d040 +008a2980 EXTERNAL:000000a8 008a2be0 EXTERNAL:000000b8 -008a2be0 0085d2c0 -008a2be0 EXTERNAL:000000a8 -008a2be0 0085d040 -008a2be0 EXTERNAL:0000009c -008a2be0 EXTERNAL:000000be -008a2be0 0085d500 008a2be0 EXTERNAL:000000bf 008a2be0 EXTERNAL:000000bb -008a2e40 EXTERNAL:000000bc -008a2e40 EXTERNAL:000000ab -008a2e40 EXTERNAL:000000bd +008a2be0 EXTERNAL:000000ab +008a2be0 EXTERNAL:000000bd +008a2be0 0085d500 +008a2be0 EXTERNAL:0000009c +008a2be0 EXTERNAL:000000be +008a2be0 0085d2c0 +008a2be0 EXTERNAL:000000bc +008a2be0 0085d040 +008a2be0 EXTERNAL:000000a8 008a2e40 EXTERNAL:000000b8 -008a2e40 0085d2c0 -008a2e40 EXTERNAL:000000a8 -008a2e40 0085d040 -008a2e40 EXTERNAL:0000009c -008a2e40 EXTERNAL:000000be -008a2e40 0085d500 008a2e40 EXTERNAL:000000bf 008a2e40 EXTERNAL:000000bb -008a30a0 EXTERNAL:000000bc -008a30a0 EXTERNAL:000000b8 -008a30a0 EXTERNAL:0000009c -008a30a0 EXTERNAL:000000b9 -008a30a0 0085d500 +008a2e40 EXTERNAL:000000ab +008a2e40 EXTERNAL:000000bd +008a2e40 0085d500 +008a2e40 EXTERNAL:0000009c +008a2e40 EXTERNAL:000000be +008a2e40 0085d2c0 +008a2e40 EXTERNAL:000000bc +008a2e40 0085d040 +008a2e40 EXTERNAL:000000a8 008a30a0 EXTERNAL:000000ab -008a30a0 EXTERNAL:000000bd -008a30a0 0085d2c0 -008a30a0 0085d040 +008a30a0 0085d500 +008a30a0 EXTERNAL:0000009c 008a30a0 EXTERNAL:000000be +008a30a0 0085d2c0 +008a30a0 EXTERNAL:000000bc 008a30a0 EXTERNAL:000000bf -008a30a0 EXTERNAL:00000083 +008a30a0 EXTERNAL:000000b8 008a30a0 EXTERNAL:000000bb -008a32b0 EXTERNAL:000000bc -008a32b0 EXTERNAL:000000b8 -008a32b0 EXTERNAL:0000009c -008a32b0 EXTERNAL:000000b9 -008a32b0 0085d500 +008a30a0 EXTERNAL:000000bd +008a30a0 EXTERNAL:000000b9 +008a30a0 EXTERNAL:00000083 +008a30a0 0085d040 008a32b0 EXTERNAL:000000ab -008a32b0 EXTERNAL:000000bd -008a32b0 0085d2c0 -008a32b0 0085d040 +008a32b0 0085d500 +008a32b0 EXTERNAL:0000009c 008a32b0 EXTERNAL:000000be +008a32b0 0085d2c0 +008a32b0 EXTERNAL:000000bc 008a32b0 EXTERNAL:000000bf -008a32b0 EXTERNAL:00000083 +008a32b0 EXTERNAL:000000b8 008a32b0 EXTERNAL:000000bb -008a34c0 EXTERNAL:000000bc -008a34c0 EXTERNAL:000000ab -008a34c0 EXTERNAL:000000bd +008a32b0 EXTERNAL:000000bd +008a32b0 EXTERNAL:000000b9 +008a32b0 EXTERNAL:00000083 +008a32b0 0085d040 008a34c0 EXTERNAL:000000b8 -008a34c0 0085d2c0 -008a34c0 EXTERNAL:000000a8 -008a34c0 0085d040 -008a34c0 EXTERNAL:0000009c -008a34c0 EXTERNAL:000000be -008a34c0 0085d500 008a34c0 EXTERNAL:000000bf 008a34c0 EXTERNAL:000000bb -008a3720 EXTERNAL:000000bc -008a3720 EXTERNAL:000000ab -008a3720 EXTERNAL:000000bd +008a34c0 EXTERNAL:000000ab +008a34c0 EXTERNAL:000000bd +008a34c0 0085d500 +008a34c0 EXTERNAL:0000009c +008a34c0 EXTERNAL:000000be +008a34c0 0085d2c0 +008a34c0 EXTERNAL:000000bc +008a34c0 0085d040 +008a34c0 EXTERNAL:000000a8 008a3720 EXTERNAL:000000b8 -008a3720 0085d2c0 -008a3720 EXTERNAL:000000a8 -008a3720 0085d040 -008a3720 EXTERNAL:0000009c -008a3720 EXTERNAL:000000be -008a3720 0085d500 008a3720 EXTERNAL:000000bf 008a3720 EXTERNAL:000000bb -008a3980 EXTERNAL:000000bc -008a3980 EXTERNAL:000000ab -008a3980 EXTERNAL:000000bd +008a3720 EXTERNAL:000000ab +008a3720 EXTERNAL:000000bd +008a3720 0085d500 +008a3720 EXTERNAL:0000009c +008a3720 EXTERNAL:000000be +008a3720 0085d2c0 +008a3720 EXTERNAL:000000bc +008a3720 0085d040 +008a3720 EXTERNAL:000000a8 008a3980 EXTERNAL:000000b8 -008a3980 0085d2c0 -008a3980 EXTERNAL:000000a8 -008a3980 0085d040 -008a3980 EXTERNAL:0000009c -008a3980 EXTERNAL:000000be -008a3980 0085d500 008a3980 EXTERNAL:000000bf 008a3980 EXTERNAL:000000bb -008a3be0 EXTERNAL:000000bc -008a3be0 EXTERNAL:000000ab -008a3be0 EXTERNAL:000000bd +008a3980 EXTERNAL:000000ab +008a3980 EXTERNAL:000000bd +008a3980 0085d500 +008a3980 EXTERNAL:0000009c +008a3980 EXTERNAL:000000be +008a3980 0085d2c0 +008a3980 EXTERNAL:000000bc +008a3980 0085d040 +008a3980 EXTERNAL:000000a8 008a3be0 EXTERNAL:000000b8 -008a3be0 0085d2c0 -008a3be0 EXTERNAL:000000a8 -008a3be0 0085d040 -008a3be0 EXTERNAL:0000009c -008a3be0 EXTERNAL:000000be -008a3be0 0085d500 008a3be0 EXTERNAL:000000bf 008a3be0 EXTERNAL:000000bb -008a3e40 EXTERNAL:000000bc -008a3e40 EXTERNAL:000000ab -008a3e40 EXTERNAL:000000bd +008a3be0 EXTERNAL:000000ab +008a3be0 EXTERNAL:000000bd +008a3be0 0085d500 +008a3be0 EXTERNAL:0000009c +008a3be0 EXTERNAL:000000be +008a3be0 0085d2c0 +008a3be0 EXTERNAL:000000bc +008a3be0 0085d040 +008a3be0 EXTERNAL:000000a8 008a3e40 EXTERNAL:000000b8 -008a3e40 0085d2c0 -008a3e40 EXTERNAL:000000a8 -008a3e40 0085d040 -008a3e40 EXTERNAL:0000009c -008a3e40 EXTERNAL:000000be -008a3e40 0085d500 008a3e40 EXTERNAL:000000bf 008a3e40 EXTERNAL:000000bb -008a40a0 EXTERNAL:000000bc -008a40a0 EXTERNAL:000000ab -008a40a0 EXTERNAL:000000bd +008a3e40 EXTERNAL:000000ab +008a3e40 EXTERNAL:000000bd +008a3e40 0085d500 +008a3e40 EXTERNAL:0000009c +008a3e40 EXTERNAL:000000be +008a3e40 0085d2c0 +008a3e40 EXTERNAL:000000bc +008a3e40 0085d040 +008a3e40 EXTERNAL:000000a8 008a40a0 EXTERNAL:000000b8 -008a40a0 0085d2c0 -008a40a0 EXTERNAL:000000a8 -008a40a0 0085d040 -008a40a0 EXTERNAL:0000009c -008a40a0 EXTERNAL:000000be -008a40a0 0085d500 008a40a0 EXTERNAL:000000bf 008a40a0 EXTERNAL:000000bb -008a4300 EXTERNAL:000000bc -008a4300 EXTERNAL:000000ab -008a4300 EXTERNAL:000000bd +008a40a0 EXTERNAL:000000ab +008a40a0 EXTERNAL:000000bd +008a40a0 0085d500 +008a40a0 EXTERNAL:0000009c +008a40a0 EXTERNAL:000000be +008a40a0 0085d2c0 +008a40a0 EXTERNAL:000000bc +008a40a0 0085d040 +008a40a0 EXTERNAL:000000a8 008a4300 EXTERNAL:000000b8 -008a4300 0085d2c0 -008a4300 EXTERNAL:000000a8 -008a4300 0085d040 -008a4300 EXTERNAL:0000009c -008a4300 EXTERNAL:000000be -008a4300 0085d500 008a4300 EXTERNAL:000000bf 008a4300 EXTERNAL:000000bb -008a4560 EXTERNAL:000000bc -008a4560 EXTERNAL:000000ab -008a4560 EXTERNAL:000000bd +008a4300 EXTERNAL:000000ab +008a4300 EXTERNAL:000000bd +008a4300 0085d500 +008a4300 EXTERNAL:0000009c +008a4300 EXTERNAL:000000be +008a4300 0085d2c0 +008a4300 EXTERNAL:000000bc +008a4300 0085d040 +008a4300 EXTERNAL:000000a8 008a4560 EXTERNAL:000000b8 -008a4560 0085d2c0 -008a4560 EXTERNAL:000000a8 -008a4560 0085d040 -008a4560 EXTERNAL:0000009c -008a4560 EXTERNAL:000000be -008a4560 0085d500 008a4560 EXTERNAL:000000bf 008a4560 EXTERNAL:000000bb -008a47c0 EXTERNAL:000000bc -008a47c0 EXTERNAL:000000ab -008a47c0 EXTERNAL:000000bd +008a4560 EXTERNAL:000000ab +008a4560 EXTERNAL:000000bd +008a4560 0085d500 +008a4560 EXTERNAL:0000009c +008a4560 EXTERNAL:000000be +008a4560 0085d2c0 +008a4560 EXTERNAL:000000bc +008a4560 0085d040 +008a4560 EXTERNAL:000000a8 008a47c0 EXTERNAL:000000b8 -008a47c0 0085d2c0 -008a47c0 EXTERNAL:000000a8 -008a47c0 0085d040 -008a47c0 EXTERNAL:0000009c -008a47c0 EXTERNAL:000000be -008a47c0 0085d500 008a47c0 EXTERNAL:000000bf 008a47c0 EXTERNAL:000000bb -008a4a20 EXTERNAL:000000bc -008a4a20 EXTERNAL:000000ab -008a4a20 EXTERNAL:000000bd +008a47c0 EXTERNAL:000000ab +008a47c0 EXTERNAL:000000bd +008a47c0 0085d500 +008a47c0 EXTERNAL:0000009c +008a47c0 EXTERNAL:000000be +008a47c0 0085d2c0 +008a47c0 EXTERNAL:000000bc +008a47c0 0085d040 +008a47c0 EXTERNAL:000000a8 008a4a20 EXTERNAL:000000b8 -008a4a20 0085d2c0 -008a4a20 EXTERNAL:000000a8 -008a4a20 0085d040 -008a4a20 EXTERNAL:0000009c -008a4a20 EXTERNAL:000000be -008a4a20 0085d500 008a4a20 EXTERNAL:000000bf 008a4a20 EXTERNAL:000000bb -008a4c80 EXTERNAL:000000bc -008a4c80 EXTERNAL:000000b8 -008a4c80 EXTERNAL:0000009c -008a4c80 EXTERNAL:000000b9 -008a4c80 0085d500 +008a4a20 EXTERNAL:000000ab +008a4a20 EXTERNAL:000000bd +008a4a20 0085d500 +008a4a20 EXTERNAL:0000009c +008a4a20 EXTERNAL:000000be +008a4a20 0085d2c0 +008a4a20 EXTERNAL:000000bc +008a4a20 0085d040 +008a4a20 EXTERNAL:000000a8 008a4c80 EXTERNAL:000000ab -008a4c80 EXTERNAL:000000bd -008a4c80 0085d2c0 -008a4c80 0085d040 +008a4c80 0085d500 +008a4c80 EXTERNAL:0000009c 008a4c80 EXTERNAL:000000be +008a4c80 0085d2c0 +008a4c80 EXTERNAL:000000bc 008a4c80 EXTERNAL:000000bf -008a4c80 EXTERNAL:00000083 +008a4c80 EXTERNAL:000000b8 008a4c80 EXTERNAL:000000bb -008a4ea0 EXTERNAL:000000bc -008a4ea0 EXTERNAL:000000b8 -008a4ea0 EXTERNAL:0000009c -008a4ea0 EXTERNAL:000000b9 -008a4ea0 0085d500 +008a4c80 EXTERNAL:000000bd +008a4c80 EXTERNAL:000000b9 +008a4c80 EXTERNAL:00000083 +008a4c80 0085d040 008a4ea0 EXTERNAL:000000ab -008a4ea0 EXTERNAL:000000bd -008a4ea0 0085d2c0 -008a4ea0 0085d040 +008a4ea0 0085d500 +008a4ea0 EXTERNAL:0000009c 008a4ea0 EXTERNAL:000000be +008a4ea0 0085d2c0 +008a4ea0 EXTERNAL:000000bc 008a4ea0 EXTERNAL:000000bf -008a4ea0 EXTERNAL:00000083 +008a4ea0 EXTERNAL:000000b8 008a4ea0 EXTERNAL:000000bb -008a50b0 EXTERNAL:000000bc -008a50b0 EXTERNAL:000000b8 -008a50b0 EXTERNAL:0000009c -008a50b0 EXTERNAL:000000b9 -008a50b0 0085d500 +008a4ea0 EXTERNAL:000000bd +008a4ea0 EXTERNAL:000000b9 +008a4ea0 EXTERNAL:00000083 +008a4ea0 0085d040 008a50b0 EXTERNAL:000000ab -008a50b0 EXTERNAL:000000bd -008a50b0 0085d2c0 -008a50b0 0085d040 +008a50b0 0085d500 +008a50b0 EXTERNAL:0000009c 008a50b0 EXTERNAL:000000be +008a50b0 0085d2c0 +008a50b0 EXTERNAL:000000bc 008a50b0 EXTERNAL:000000bf -008a50b0 EXTERNAL:00000083 +008a50b0 EXTERNAL:000000b8 008a50b0 EXTERNAL:000000bb -008a52c0 EXTERNAL:000000bc -008a52c0 EXTERNAL:000000b8 -008a52c0 EXTERNAL:0000009c -008a52c0 EXTERNAL:000000b9 -008a52c0 0085d500 +008a50b0 EXTERNAL:000000bd +008a50b0 EXTERNAL:000000b9 +008a50b0 EXTERNAL:00000083 +008a50b0 0085d040 008a52c0 EXTERNAL:000000ab -008a52c0 EXTERNAL:000000bd -008a52c0 0085d2c0 -008a52c0 0085d040 +008a52c0 0085d500 +008a52c0 EXTERNAL:0000009c 008a52c0 EXTERNAL:000000be +008a52c0 0085d2c0 +008a52c0 EXTERNAL:000000bc 008a52c0 EXTERNAL:000000bf -008a52c0 EXTERNAL:00000083 +008a52c0 EXTERNAL:000000b8 008a52c0 EXTERNAL:000000bb -008a54d0 EXTERNAL:000000bc -008a54d0 EXTERNAL:000000b8 -008a54d0 EXTERNAL:0000009c -008a54d0 EXTERNAL:000000b9 -008a54d0 0085d500 +008a52c0 EXTERNAL:000000bd +008a52c0 EXTERNAL:000000b9 +008a52c0 EXTERNAL:00000083 +008a52c0 0085d040 008a54d0 EXTERNAL:000000ab -008a54d0 EXTERNAL:000000bd -008a54d0 0085d2c0 -008a54d0 0085d040 +008a54d0 0085d500 +008a54d0 EXTERNAL:0000009c 008a54d0 EXTERNAL:000000be +008a54d0 0085d2c0 +008a54d0 EXTERNAL:000000bc 008a54d0 EXTERNAL:000000bf -008a54d0 EXTERNAL:00000083 +008a54d0 EXTERNAL:000000b8 008a54d0 EXTERNAL:000000bb -008a56e0 EXTERNAL:000000bc -008a56e0 EXTERNAL:000000b8 -008a56e0 EXTERNAL:0000009c -008a56e0 EXTERNAL:000000b9 -008a56e0 0085d500 +008a54d0 EXTERNAL:000000bd +008a54d0 EXTERNAL:000000b9 +008a54d0 EXTERNAL:00000083 +008a54d0 0085d040 008a56e0 EXTERNAL:000000ab -008a56e0 EXTERNAL:000000bd -008a56e0 0085d2c0 -008a56e0 0085d040 +008a56e0 0085d500 +008a56e0 EXTERNAL:0000009c 008a56e0 EXTERNAL:000000be +008a56e0 0085d2c0 +008a56e0 EXTERNAL:000000bc 008a56e0 EXTERNAL:000000bf -008a56e0 EXTERNAL:00000083 +008a56e0 EXTERNAL:000000b8 008a56e0 EXTERNAL:000000bb -008a58f0 EXTERNAL:000000bc -008a58f0 EXTERNAL:000000b8 -008a58f0 EXTERNAL:0000009c -008a58f0 EXTERNAL:000000b9 -008a58f0 0085d500 +008a56e0 EXTERNAL:000000bd +008a56e0 EXTERNAL:000000b9 +008a56e0 EXTERNAL:00000083 +008a56e0 0085d040 008a58f0 EXTERNAL:000000ab -008a58f0 EXTERNAL:000000bd -008a58f0 0085d2c0 -008a58f0 0085d040 +008a58f0 0085d500 +008a58f0 EXTERNAL:0000009c 008a58f0 EXTERNAL:000000be +008a58f0 0085d2c0 +008a58f0 EXTERNAL:000000bc 008a58f0 EXTERNAL:000000bf -008a58f0 EXTERNAL:00000083 +008a58f0 EXTERNAL:000000b8 008a58f0 EXTERNAL:000000bb -008a5b00 EXTERNAL:000000bc -008a5b00 EXTERNAL:000000b8 -008a5b00 EXTERNAL:0000009c -008a5b00 EXTERNAL:000000b9 -008a5b00 0085d500 +008a58f0 EXTERNAL:000000bd +008a58f0 EXTERNAL:000000b9 +008a58f0 EXTERNAL:00000083 +008a58f0 0085d040 008a5b00 EXTERNAL:000000ab -008a5b00 EXTERNAL:000000bd -008a5b00 0085d2c0 -008a5b00 0085d040 +008a5b00 0085d500 +008a5b00 EXTERNAL:0000009c 008a5b00 EXTERNAL:000000be +008a5b00 0085d2c0 +008a5b00 EXTERNAL:000000bc 008a5b00 EXTERNAL:000000bf -008a5b00 EXTERNAL:00000083 +008a5b00 EXTERNAL:000000b8 008a5b00 EXTERNAL:000000bb -008a5d10 EXTERNAL:000000bc -008a5d10 EXTERNAL:000000b8 -008a5d10 EXTERNAL:0000009c -008a5d10 EXTERNAL:000000b9 -008a5d10 0085d500 +008a5b00 EXTERNAL:000000bd +008a5b00 EXTERNAL:000000b9 +008a5b00 EXTERNAL:00000083 +008a5b00 0085d040 008a5d10 EXTERNAL:000000ab -008a5d10 EXTERNAL:000000bd -008a5d10 0085d2c0 -008a5d10 0085d040 +008a5d10 0085d500 +008a5d10 EXTERNAL:0000009c 008a5d10 EXTERNAL:000000be +008a5d10 0085d2c0 +008a5d10 EXTERNAL:000000bc 008a5d10 EXTERNAL:000000bf -008a5d10 EXTERNAL:00000083 +008a5d10 EXTERNAL:000000b8 008a5d10 EXTERNAL:000000bb -008a5f20 EXTERNAL:000000bc -008a5f20 EXTERNAL:000000b8 -008a5f20 EXTERNAL:0000009c -008a5f20 EXTERNAL:000000b9 -008a5f20 0085d500 +008a5d10 EXTERNAL:000000bd +008a5d10 EXTERNAL:000000b9 +008a5d10 EXTERNAL:00000083 +008a5d10 0085d040 008a5f20 EXTERNAL:000000ab -008a5f20 EXTERNAL:000000bd -008a5f20 0085d2c0 -008a5f20 0085d040 +008a5f20 0085d500 +008a5f20 EXTERNAL:0000009c 008a5f20 EXTERNAL:000000be +008a5f20 0085d2c0 +008a5f20 EXTERNAL:000000bc 008a5f20 EXTERNAL:000000bf -008a5f20 EXTERNAL:00000083 +008a5f20 EXTERNAL:000000b8 008a5f20 EXTERNAL:000000bb -008a6130 EXTERNAL:000000bc -008a6130 EXTERNAL:000000b8 -008a6130 EXTERNAL:0000009c -008a6130 EXTERNAL:000000b9 -008a6130 0085d500 +008a5f20 EXTERNAL:000000bd +008a5f20 EXTERNAL:000000b9 +008a5f20 EXTERNAL:00000083 +008a5f20 0085d040 008a6130 EXTERNAL:000000ab -008a6130 EXTERNAL:000000bd -008a6130 0085d2c0 -008a6130 0085d040 +008a6130 0085d500 +008a6130 EXTERNAL:0000009c 008a6130 EXTERNAL:000000be +008a6130 0085d2c0 +008a6130 EXTERNAL:000000bc 008a6130 EXTERNAL:000000bf -008a6130 EXTERNAL:00000083 +008a6130 EXTERNAL:000000b8 008a6130 EXTERNAL:000000bb -008a6340 EXTERNAL:000000bc -008a6340 EXTERNAL:000000b8 -008a6340 EXTERNAL:0000009c -008a6340 EXTERNAL:000000b9 -008a6340 0085d500 +008a6130 EXTERNAL:000000bd +008a6130 EXTERNAL:000000b9 +008a6130 EXTERNAL:00000083 +008a6130 0085d040 008a6340 EXTERNAL:000000ab -008a6340 EXTERNAL:000000bd -008a6340 0085d2c0 -008a6340 0085d040 +008a6340 0085d500 +008a6340 EXTERNAL:0000009c 008a6340 EXTERNAL:000000be +008a6340 0085d2c0 +008a6340 EXTERNAL:000000bc 008a6340 EXTERNAL:000000bf -008a6340 EXTERNAL:00000083 +008a6340 EXTERNAL:000000b8 008a6340 EXTERNAL:000000bb -008a6550 EXTERNAL:000000bc -008a6550 EXTERNAL:000000b8 -008a6550 EXTERNAL:0000009c -008a6550 EXTERNAL:000000b9 -008a6550 0085d500 +008a6340 EXTERNAL:000000bd +008a6340 EXTERNAL:000000b9 +008a6340 EXTERNAL:00000083 +008a6340 0085d040 008a6550 EXTERNAL:000000ab -008a6550 EXTERNAL:000000bd -008a6550 0085d2c0 -008a6550 0085d040 +008a6550 0085d500 +008a6550 EXTERNAL:0000009c 008a6550 EXTERNAL:000000be +008a6550 0085d2c0 +008a6550 EXTERNAL:000000bc 008a6550 EXTERNAL:000000bf -008a6550 EXTERNAL:00000083 +008a6550 EXTERNAL:000000b8 008a6550 EXTERNAL:000000bb -008a6760 EXTERNAL:000000bc -008a6760 EXTERNAL:000000b8 -008a6760 EXTERNAL:0000009c -008a6760 EXTERNAL:000000b9 -008a6760 0085d500 +008a6550 EXTERNAL:000000bd +008a6550 EXTERNAL:000000b9 +008a6550 EXTERNAL:00000083 +008a6550 0085d040 008a6760 EXTERNAL:000000ab -008a6760 EXTERNAL:000000bd -008a6760 0085d2c0 -008a6760 0085d040 +008a6760 0085d500 +008a6760 EXTERNAL:0000009c 008a6760 EXTERNAL:000000be +008a6760 0085d2c0 +008a6760 EXTERNAL:000000bc 008a6760 EXTERNAL:000000bf -008a6760 EXTERNAL:00000083 +008a6760 EXTERNAL:000000b8 008a6760 EXTERNAL:000000bb -008a6970 EXTERNAL:000000bc -008a6970 EXTERNAL:000000b8 -008a6970 EXTERNAL:0000009c -008a6970 EXTERNAL:000000b9 -008a6970 0085d500 +008a6760 EXTERNAL:000000bd +008a6760 EXTERNAL:000000b9 +008a6760 EXTERNAL:00000083 +008a6760 0085d040 008a6970 EXTERNAL:000000ab -008a6970 EXTERNAL:000000bd -008a6970 0085d2c0 -008a6970 0085d040 +008a6970 0085d500 +008a6970 EXTERNAL:0000009c 008a6970 EXTERNAL:000000be +008a6970 0085d2c0 +008a6970 EXTERNAL:000000bc 008a6970 EXTERNAL:000000bf -008a6970 EXTERNAL:00000083 +008a6970 EXTERNAL:000000b8 008a6970 EXTERNAL:000000bb -008a6b80 EXTERNAL:000000bc -008a6b80 EXTERNAL:000000b8 -008a6b80 EXTERNAL:0000009c -008a6b80 EXTERNAL:000000b9 -008a6b80 0085d500 +008a6970 EXTERNAL:000000bd +008a6970 EXTERNAL:000000b9 +008a6970 EXTERNAL:00000083 +008a6970 0085d040 008a6b80 EXTERNAL:000000ab -008a6b80 EXTERNAL:000000bd -008a6b80 0085d2c0 -008a6b80 0085d040 +008a6b80 0085d500 +008a6b80 EXTERNAL:0000009c 008a6b80 EXTERNAL:000000be +008a6b80 0085d2c0 +008a6b80 EXTERNAL:000000bc 008a6b80 EXTERNAL:000000bf -008a6b80 EXTERNAL:00000083 +008a6b80 EXTERNAL:000000b8 008a6b80 EXTERNAL:000000bb -008a6d90 EXTERNAL:000000bc -008a6d90 EXTERNAL:000000b8 -008a6d90 EXTERNAL:0000009c -008a6d90 EXTERNAL:000000b9 -008a6d90 0085d500 +008a6b80 EXTERNAL:000000bd +008a6b80 EXTERNAL:000000b9 +008a6b80 EXTERNAL:00000083 +008a6b80 0085d040 008a6d90 EXTERNAL:000000ab -008a6d90 EXTERNAL:000000bd -008a6d90 0085d2c0 -008a6d90 0085d040 +008a6d90 0085d500 +008a6d90 EXTERNAL:0000009c 008a6d90 EXTERNAL:000000be +008a6d90 0085d2c0 +008a6d90 EXTERNAL:000000bc 008a6d90 EXTERNAL:000000bf -008a6d90 EXTERNAL:00000083 +008a6d90 EXTERNAL:000000b8 008a6d90 EXTERNAL:000000bb -008a6fa0 EXTERNAL:000000bc -008a6fa0 EXTERNAL:000000b8 -008a6fa0 EXTERNAL:0000009c -008a6fa0 EXTERNAL:000000b9 -008a6fa0 0085d500 +008a6d90 EXTERNAL:000000bd +008a6d90 EXTERNAL:000000b9 +008a6d90 EXTERNAL:00000083 +008a6d90 0085d040 008a6fa0 EXTERNAL:000000ab -008a6fa0 EXTERNAL:000000bd -008a6fa0 0085d2c0 -008a6fa0 0085d040 +008a6fa0 0085d500 +008a6fa0 EXTERNAL:0000009c 008a6fa0 EXTERNAL:000000be +008a6fa0 0085d2c0 +008a6fa0 EXTERNAL:000000bc 008a6fa0 EXTERNAL:000000bf -008a6fa0 EXTERNAL:00000083 +008a6fa0 EXTERNAL:000000b8 008a6fa0 EXTERNAL:000000bb -008a71b0 EXTERNAL:000000bc -008a71b0 EXTERNAL:000000b8 -008a71b0 EXTERNAL:0000009c -008a71b0 EXTERNAL:000000b9 -008a71b0 0085d500 +008a6fa0 EXTERNAL:000000bd +008a6fa0 EXTERNAL:000000b9 +008a6fa0 EXTERNAL:00000083 +008a6fa0 0085d040 008a71b0 EXTERNAL:000000ab -008a71b0 EXTERNAL:000000bd -008a71b0 0085d2c0 -008a71b0 0085d040 +008a71b0 0085d500 +008a71b0 EXTERNAL:0000009c 008a71b0 EXTERNAL:000000be +008a71b0 0085d2c0 +008a71b0 EXTERNAL:000000bc 008a71b0 EXTERNAL:000000bf -008a71b0 EXTERNAL:00000083 +008a71b0 EXTERNAL:000000b8 008a71b0 EXTERNAL:000000bb -008a73c0 EXTERNAL:000000bc -008a73c0 EXTERNAL:000000b8 -008a73c0 EXTERNAL:0000009c -008a73c0 EXTERNAL:000000b9 -008a73c0 0085d500 +008a71b0 EXTERNAL:000000bd +008a71b0 EXTERNAL:000000b9 +008a71b0 EXTERNAL:00000083 +008a71b0 0085d040 008a73c0 EXTERNAL:000000ab -008a73c0 EXTERNAL:000000bd -008a73c0 0085d2c0 -008a73c0 0085d040 +008a73c0 0085d500 +008a73c0 EXTERNAL:0000009c 008a73c0 EXTERNAL:000000be +008a73c0 0085d2c0 +008a73c0 EXTERNAL:000000bc 008a73c0 EXTERNAL:000000bf -008a73c0 EXTERNAL:00000083 +008a73c0 EXTERNAL:000000b8 008a73c0 EXTERNAL:000000bb -008a75d0 EXTERNAL:000000bc -008a75d0 EXTERNAL:000000b8 -008a75d0 EXTERNAL:0000009c -008a75d0 EXTERNAL:000000b9 -008a75d0 0085d500 +008a73c0 EXTERNAL:000000bd +008a73c0 EXTERNAL:000000b9 +008a73c0 EXTERNAL:00000083 +008a73c0 0085d040 008a75d0 EXTERNAL:000000ab -008a75d0 EXTERNAL:000000bd -008a75d0 0085d2c0 -008a75d0 0085d040 +008a75d0 0085d500 +008a75d0 EXTERNAL:0000009c 008a75d0 EXTERNAL:000000be +008a75d0 0085d2c0 +008a75d0 EXTERNAL:000000bc 008a75d0 EXTERNAL:000000bf -008a75d0 EXTERNAL:00000083 +008a75d0 EXTERNAL:000000b8 008a75d0 EXTERNAL:000000bb -008a77e0 EXTERNAL:000000bc -008a77e0 EXTERNAL:000000b8 -008a77e0 EXTERNAL:0000009c -008a77e0 EXTERNAL:000000b9 -008a77e0 0085d500 +008a75d0 EXTERNAL:000000bd +008a75d0 EXTERNAL:000000b9 +008a75d0 EXTERNAL:00000083 +008a75d0 0085d040 008a77e0 EXTERNAL:000000ab -008a77e0 EXTERNAL:000000bd -008a77e0 0085d2c0 -008a77e0 0085d040 +008a77e0 0085d500 +008a77e0 EXTERNAL:0000009c 008a77e0 EXTERNAL:000000be +008a77e0 0085d2c0 +008a77e0 EXTERNAL:000000bc 008a77e0 EXTERNAL:000000bf -008a77e0 EXTERNAL:00000083 +008a77e0 EXTERNAL:000000b8 008a77e0 EXTERNAL:000000bb -008a79f0 EXTERNAL:000000bc -008a79f0 EXTERNAL:000000b8 -008a79f0 EXTERNAL:0000009c -008a79f0 EXTERNAL:000000b9 -008a79f0 0085d500 +008a77e0 EXTERNAL:000000bd +008a77e0 EXTERNAL:000000b9 +008a77e0 EXTERNAL:00000083 +008a77e0 0085d040 008a79f0 EXTERNAL:000000ab -008a79f0 EXTERNAL:000000bd -008a79f0 0085d2c0 -008a79f0 0085d040 +008a79f0 0085d500 +008a79f0 EXTERNAL:0000009c 008a79f0 EXTERNAL:000000be +008a79f0 0085d2c0 +008a79f0 EXTERNAL:000000bc 008a79f0 EXTERNAL:000000bf -008a79f0 EXTERNAL:00000083 +008a79f0 EXTERNAL:000000b8 008a79f0 EXTERNAL:000000bb -008a7c00 EXTERNAL:000000bc -008a7c00 EXTERNAL:000000b8 -008a7c00 EXTERNAL:0000009c -008a7c00 EXTERNAL:000000b9 -008a7c00 0085d500 +008a79f0 EXTERNAL:000000bd +008a79f0 EXTERNAL:000000b9 +008a79f0 EXTERNAL:00000083 +008a79f0 0085d040 008a7c00 EXTERNAL:000000ab -008a7c00 EXTERNAL:000000bd -008a7c00 0085d2c0 -008a7c00 0085d040 +008a7c00 0085d500 +008a7c00 EXTERNAL:0000009c 008a7c00 EXTERNAL:000000be +008a7c00 0085d2c0 +008a7c00 EXTERNAL:000000bc 008a7c00 EXTERNAL:000000bf -008a7c00 EXTERNAL:00000083 +008a7c00 EXTERNAL:000000b8 008a7c00 EXTERNAL:000000bb -008a7e10 EXTERNAL:000000bc -008a7e10 EXTERNAL:000000b8 -008a7e10 EXTERNAL:0000009c -008a7e10 EXTERNAL:000000b9 -008a7e10 0085d500 +008a7c00 EXTERNAL:000000bd +008a7c00 EXTERNAL:000000b9 +008a7c00 EXTERNAL:00000083 +008a7c00 0085d040 008a7e10 EXTERNAL:000000ab -008a7e10 EXTERNAL:000000bd -008a7e10 0085d2c0 -008a7e10 0085d040 +008a7e10 0085d500 +008a7e10 EXTERNAL:0000009c 008a7e10 EXTERNAL:000000be +008a7e10 0085d2c0 +008a7e10 EXTERNAL:000000bc 008a7e10 EXTERNAL:000000bf -008a7e10 EXTERNAL:00000083 +008a7e10 EXTERNAL:000000b8 008a7e10 EXTERNAL:000000bb +008a7e10 EXTERNAL:000000bd +008a7e10 EXTERNAL:000000b9 +008a7e10 EXTERNAL:00000083 +008a7e10 0085d040 008a8020 008ba150 008a8050 008ba150 008a8080 008ba150 008a80b0 0040d040 008a80b0 EXTERNAL:00000080 008a80d0 0085c590 -008a80d0 EXTERNAL:000000b9 008a80d0 EXTERNAL:000000a5 +008a80d0 EXTERNAL:000000b9 008a8180 0085c590 -008a8180 EXTERNAL:000000b9 008a8180 EXTERNAL:000000a5 -008a81d0 EXTERNAL:0000009f +008a8180 EXTERNAL:000000b9 008a81d0 0085c590 +008a81d0 EXTERNAL:000000a5 +008a81d0 EXTERNAL:0000009f +008a81d0 EXTERNAL:000000b9 008a81d0 EXTERNAL:000000a0 008a81d0 EXTERNAL:000000a8 -008a81d0 EXTERNAL:000000b9 -008a81d0 EXTERNAL:000000a5 -008a8270 008baa50 -008a8270 0085c050 008a8270 0085c590 -008a8270 EXTERNAL:000000b9 +008a8270 008baa50 008a8270 EXTERNAL:000000a5 -008a8310 EXTERNAL:000000b3 -008a8310 EXTERNAL:000000b1 -008a8310 008baa50 -008a8310 EXTERNAL:0000009f +008a8270 EXTERNAL:000000b9 +008a8270 0085c050 008a8310 0085c590 +008a8310 EXTERNAL:000000b1 +008a8310 EXTERNAL:000000b3 +008a8310 008baa50 +008a8310 EXTERNAL:000000a5 +008a8310 EXTERNAL:00000082 +008a8310 EXTERNAL:0000009f +008a8310 EXTERNAL:000000b9 008a8310 EXTERNAL:000000a0 008a8310 EXTERNAL:000000a8 -008a8310 EXTERNAL:000000b9 -008a8310 EXTERNAL:00000082 -008a8310 EXTERNAL:000000a5 -008a8430 EXTERNAL:0000009f 008a8430 0085c590 +008a8430 EXTERNAL:000000a5 +008a8430 EXTERNAL:00000082 +008a8430 EXTERNAL:0000009f +008a8430 EXTERNAL:000000b9 008a8430 EXTERNAL:000000a0 008a8430 EXTERNAL:000000a8 -008a8430 EXTERNAL:000000b9 -008a8430 EXTERNAL:00000082 -008a8430 EXTERNAL:000000a5 -008a8510 0085c050 008a8510 0085c590 -008a8510 EXTERNAL:000000b9 008a8510 EXTERNAL:000000a5 +008a8510 EXTERNAL:000000b9 +008a8510 0085c050 008a8580 0085c590 -008a8580 EXTERNAL:000000b9 -008a8580 EXTERNAL:00000082 008a8580 EXTERNAL:000000a5 -008a8610 008ba890 +008a8580 EXTERNAL:00000082 +008a8580 EXTERNAL:000000b9 008a8610 0085c590 -008a8610 EXTERNAL:000000b9 +008a8610 008ba890 008a8610 EXTERNAL:000000a5 -008a8680 EXTERNAL:0000009f -008a8680 008ba890 +008a8610 EXTERNAL:000000b9 008a8680 0085c590 +008a8680 008ba890 +008a8680 EXTERNAL:000000a5 +008a8680 EXTERNAL:0000009f +008a8680 EXTERNAL:000000b9 008a8680 EXTERNAL:000000a0 008a8680 EXTERNAL:000000a8 -008a8680 EXTERNAL:000000b9 -008a8680 EXTERNAL:000000a5 -008a8740 008baa50 -008a8740 EXTERNAL:0000009f 008a8740 0085c590 +008a8740 008baa50 +008a8740 EXTERNAL:000000a5 +008a8740 EXTERNAL:0000009f +008a8740 EXTERNAL:000000b9 008a8740 EXTERNAL:000000a0 008a8740 EXTERNAL:000000a8 -008a8740 EXTERNAL:000000b9 -008a8740 EXTERNAL:000000a5 -008a8810 EXTERNAL:0000009f 008a8810 0085c590 +008a8810 EXTERNAL:000000a5 +008a8810 EXTERNAL:00000082 +008a8810 EXTERNAL:0000009f +008a8810 EXTERNAL:000000b9 008a8810 EXTERNAL:000000a0 008a8810 EXTERNAL:000000a8 -008a8810 EXTERNAL:000000b9 -008a8810 EXTERNAL:00000082 -008a8810 EXTERNAL:000000a5 -008a88f0 EXTERNAL:000000b1 008a88f0 0085c590 -008a88f0 EXTERNAL:000000b9 -008a88f0 EXTERNAL:000000be +008a88f0 EXTERNAL:000000b1 008a88f0 EXTERNAL:000000a5 -008a8970 EXTERNAL:000000b6 +008a88f0 EXTERNAL:000000be +008a88f0 EXTERNAL:000000b9 008a8970 0085c590 -008a8970 EXTERNAL:000000b9 +008a8970 EXTERNAL:000000b6 008a8970 EXTERNAL:000000a5 -008a89e0 0085c590 -008a89e0 EXTERNAL:000000b9 +008a8970 EXTERNAL:000000b9 008a89e0 EXTERNAL:000000b7 +008a89e0 0085c590 008a89e0 EXTERNAL:000000a5 -008a8a40 EXTERNAL:000000b6 +008a89e0 EXTERNAL:000000b9 008a8a40 0085c590 -008a8a40 EXTERNAL:000000b9 +008a8a40 EXTERNAL:000000b6 008a8a40 EXTERNAL:000000a5 +008a8a40 EXTERNAL:000000b9 008a8ab0 0085c590 -008a8ab0 EXTERNAL:000000b9 008a8ab0 EXTERNAL:000000a5 +008a8ab0 EXTERNAL:000000b9 008a8ab0 0085c010 008a8b10 0085c590 +008a8b10 EXTERNAL:000000a5 008a8b10 EXTERNAL:000000b4 008a8b10 EXTERNAL:000000b9 -008a8b10 EXTERNAL:000000a5 008a8b80 0085c590 -008a8b80 EXTERNAL:000000b9 -008a8b80 EXTERNAL:00000082 008a8b80 EXTERNAL:000000a5 -008a8c10 0085c050 +008a8b80 EXTERNAL:00000082 +008a8b80 EXTERNAL:000000b9 008a8c10 0085c590 -008a8c10 EXTERNAL:000000b9 008a8c10 EXTERNAL:000000a5 +008a8c10 EXTERNAL:000000b9 +008a8c10 0085c050 008a8c80 0085c590 -008a8c80 EXTERNAL:000000b9 008a8c80 0085bff0 008a8c80 EXTERNAL:000000a5 +008a8c80 EXTERNAL:000000b9 008a8ce0 0085c590 008a8ce0 EXTERNAL:000000b2 -008a8ce0 EXTERNAL:000000b9 008a8ce0 EXTERNAL:000000a5 +008a8ce0 EXTERNAL:000000b9 008a8d80 0085c590 -008a8d80 EXTERNAL:000000b9 008a8d80 EXTERNAL:000000a5 +008a8d80 EXTERNAL:000000b9 008a8dd0 0085c590 +008a8dd0 EXTERNAL:000000a5 008a8dd0 EXTERNAL:000000b4 008a8dd0 EXTERNAL:000000b9 -008a8dd0 EXTERNAL:000000a5 008a8e40 0085c590 -008a8e40 EXTERNAL:000000b2 -008a8e40 EXTERNAL:000000b9 008a8e40 0085bff0 +008a8e40 EXTERNAL:000000b2 008a8e40 EXTERNAL:000000a5 +008a8e40 EXTERNAL:000000b9 +008a8ec0 EXTERNAL:000000b7 008a8ec0 0085c590 008a8ec0 EXTERNAL:000000b2 -008a8ec0 EXTERNAL:000000b9 -008a8ec0 EXTERNAL:000000b7 008a8ec0 EXTERNAL:000000a5 +008a8ec0 EXTERNAL:000000b9 008a8f60 0085c590 -008a8f60 EXTERNAL:000000b9 008a8f60 0085bff0 008a8f60 EXTERNAL:000000a5 -008a8fc0 008baab0 +008a8f60 EXTERNAL:000000b9 008a8fc0 0085c590 008a8fc0 EXTERNAL:000000b2 -008a8fc0 EXTERNAL:000000b9 +008a8fc0 008baab0 008a8fc0 EXTERNAL:000000a5 -008a9180 EXTERNAL:000000b6 +008a8fc0 EXTERNAL:000000b9 008a9180 0085c590 -008a9180 EXTERNAL:000000b9 +008a9180 EXTERNAL:000000b6 008a9180 EXTERNAL:000000a5 +008a9180 EXTERNAL:000000b9 008a91f0 0085c590 -008a91f0 EXTERNAL:000000b9 008a91f0 EXTERNAL:000000a5 -008a9240 008ba890 +008a91f0 EXTERNAL:000000b9 008a9240 0085c590 -008a9240 EXTERNAL:000000b9 +008a9240 008ba890 008a9240 EXTERNAL:000000a5 +008a9240 EXTERNAL:000000b9 008a92b0 0085c590 -008a92b0 EXTERNAL:000000b9 -008a92b0 EXTERNAL:00000082 008a92b0 EXTERNAL:000000a5 -008a9360 EXTERNAL:000000b1 -008a9360 EXTERNAL:0000009f +008a92b0 EXTERNAL:00000082 +008a92b0 EXTERNAL:000000b9 +008a9360 008ba900 008a9360 0085c590 +008a9360 EXTERNAL:000000b1 +008a9360 EXTERNAL:000000a5 +008a9360 EXTERNAL:0000009f +008a9360 EXTERNAL:000000b9 008a9360 EXTERNAL:000000a0 008a9360 EXTERNAL:000000a8 -008a9360 EXTERNAL:000000b9 -008a9360 EXTERNAL:000000a5 -008a9360 008ba900 +008a9440 008ba7c0 008a9440 0040cf50 008a9440 0085c590 -008a9440 EXTERNAL:000000b4 008a9440 0040d040 -008a9440 EXTERNAL:000000b9 -008a9440 008ba7c0 -008a9440 EXTERNAL:000000a5 008a9440 00aef12b +008a9440 EXTERNAL:000000a5 +008a9440 EXTERNAL:000000b4 +008a9440 EXTERNAL:000000b9 008a9520 0040cf50 008a9520 0085c590 008a9520 0040d040 -008a9520 EXTERNAL:000000b9 -008a9520 EXTERNAL:000000a5 008a9520 008ba6d0 008a9520 00aef12b +008a9520 EXTERNAL:000000a5 +008a9520 EXTERNAL:000000b9 008a95f0 0040cf50 -008a95f0 008ba5e0 008a95f0 0085c590 008a95f0 0040d040 -008a95f0 EXTERNAL:000000b9 -008a95f0 EXTERNAL:000000a5 008a95f0 00aef12b -008a96d0 EXTERNAL:000000b6 +008a95f0 EXTERNAL:000000a5 +008a95f0 008ba5e0 +008a95f0 EXTERNAL:000000b9 008a96d0 0085c590 -008a96d0 EXTERNAL:000000b9 +008a96d0 EXTERNAL:000000b6 008a96d0 EXTERNAL:000000a5 +008a96d0 EXTERNAL:000000b9 008a9740 0085c590 -008a9740 EXTERNAL:000000b9 008a9740 EXTERNAL:000000a5 -008a99d0 0040ccd0 +008a9740 EXTERNAL:000000b9 008a99d0 0040cf50 008a99d0 EXTERNAL:00000220 -008a99d0 EXTERNAL:000000b6 008a99d0 0085c590 -008a99d0 00aef15c -008a99d0 EXTERNAL:000000b4 -008a99d0 EXTERNAL:000000b2 +008a99d0 0040ccd0 008a99d0 0040d040 -008a99d0 EXTERNAL:000000b9 -008a99d0 EXTERNAL:000000a5 +008a99d0 00aef15c +008a99d0 EXTERNAL:000000b6 +008a99d0 EXTERNAL:000000b2 008a99d0 00aef12b +008a99d0 EXTERNAL:000000a5 +008a99d0 EXTERNAL:000000b4 +008a99d0 EXTERNAL:000000b9 008a9b60 EXTERNAL:00000220 008a9b60 0085c590 008a9b60 00aef15c -008a9b60 EXTERNAL:000000b9 008a9b60 EXTERNAL:000000b0 -008a9b60 EXTERNAL:000000a5 008a9b60 00aef12b +008a9b60 EXTERNAL:000000a5 +008a9b60 EXTERNAL:000000b9 008a9c20 0040cf50 008a9c20 0085c590 -008a9c20 EXTERNAL:000000b4 008a9c20 0040d040 -008a9c20 EXTERNAL:000000b9 -008a9c20 EXTERNAL:000000a5 008a9c20 008ba6d0 008a9c20 00aef12b -008a9d10 0085bfd0 +008a9c20 EXTERNAL:000000a5 +008a9c20 EXTERNAL:000000b4 +008a9c20 EXTERNAL:000000b9 008a9d10 0085c590 -008a9d10 EXTERNAL:000000b9 008a9d10 EXTERNAL:000000a5 -008a9d70 EXTERNAL:000000b6 +008a9d10 0085bfd0 +008a9d10 EXTERNAL:000000b9 008a9d70 0085c590 -008a9d70 EXTERNAL:000000b9 +008a9d70 EXTERNAL:000000b6 008a9d70 EXTERNAL:000000a5 -008a9df0 0085bfd0 +008a9d70 EXTERNAL:000000b9 008a9df0 0085c590 -008a9df0 EXTERNAL:000000b9 008a9df0 EXTERNAL:000000a5 +008a9df0 0085bfd0 +008a9df0 EXTERNAL:000000b9 008a9e50 0085c590 -008a9e50 EXTERNAL:000000b9 008a9e50 0085bff0 008a9e50 EXTERNAL:000000a5 +008a9e50 EXTERNAL:000000b9 008a9eb0 0085c590 -008a9eb0 EXTERNAL:000000b9 008a9eb0 EXTERNAL:000000b0 008a9eb0 EXTERNAL:000000a5 -008a9f20 EXTERNAL:000000b6 -008a9f20 EXTERNAL:0000009f +008a9eb0 EXTERNAL:000000b9 008a9f20 0085c590 +008a9f20 EXTERNAL:000000b6 +008a9f20 EXTERNAL:000000a5 +008a9f20 EXTERNAL:00000082 +008a9f20 EXTERNAL:0000009f +008a9f20 EXTERNAL:000000b9 008a9f20 EXTERNAL:000000a0 008a9f20 EXTERNAL:000000a8 -008a9f20 EXTERNAL:000000b9 -008a9f20 EXTERNAL:00000082 -008a9f20 EXTERNAL:000000a5 008aa0d0 0085c590 -008aa0d0 EXTERNAL:000000b9 008aa0d0 0085bff0 008aa0d0 EXTERNAL:000000a5 -008aa130 EXTERNAL:000000b6 +008aa0d0 EXTERNAL:000000b9 008aa130 0085c590 -008aa130 EXTERNAL:000000b9 +008aa130 EXTERNAL:000000b6 008aa130 EXTERNAL:000000a5 -008aa1b0 EXTERNAL:000000b6 -008aa1b0 0085c590 -008aa1b0 EXTERNAL:000000b9 +008aa130 EXTERNAL:000000b9 008aa1b0 EXTERNAL:000000b7 +008aa1b0 0085c590 +008aa1b0 EXTERNAL:000000b6 008aa1b0 EXTERNAL:000000a5 -008aa230 0085c050 +008aa1b0 EXTERNAL:000000b9 008aa230 0085c590 -008aa230 EXTERNAL:000000b9 008aa230 EXTERNAL:000000a5 +008aa230 EXTERNAL:000000b9 +008aa230 0085c050 008aa2a0 0085c590 -008aa2a0 EXTERNAL:000000b9 008aa2a0 0085bff0 008aa2a0 EXTERNAL:000000a5 -008aa3e0 EXTERNAL:0000009f +008aa2a0 EXTERNAL:000000b9 008aa3e0 0085c590 +008aa3e0 EXTERNAL:000000a5 +008aa3e0 EXTERNAL:0000009f +008aa3e0 EXTERNAL:000000b9 008aa3e0 EXTERNAL:000000a0 008aa3e0 EXTERNAL:000000a8 -008aa3e0 EXTERNAL:000000b9 -008aa3e0 EXTERNAL:000000a5 -008aa530 EXTERNAL:000000b1 008aa530 0085c590 -008aa530 EXTERNAL:000000b9 -008aa530 EXTERNAL:000000be +008aa530 EXTERNAL:000000b1 008aa530 EXTERNAL:000000a5 -008aa5b0 EXTERNAL:000000b6 +008aa530 EXTERNAL:000000be +008aa530 EXTERNAL:000000b9 008aa5b0 0085c590 +008aa5b0 EXTERNAL:000000b6 +008aa5b0 EXTERNAL:000000a5 008aa5b0 EXTERNAL:000000b4 008aa5b0 EXTERNAL:000000b9 -008aa5b0 EXTERNAL:000000a5 +008aa640 0085c590 008aa640 EXTERNAL:000000b3 008aa640 EXTERNAL:000000b6 -008aa640 0085c590 -008aa640 EXTERNAL:000000b9 008aa640 EXTERNAL:000000a5 +008aa640 EXTERNAL:000000b9 008aa6c0 0085c590 -008aa6c0 EXTERNAL:000000b9 008aa6c0 EXTERNAL:000000a5 -008aa710 EXTERNAL:000000b3 +008aa6c0 EXTERNAL:000000b9 008aa710 0085c590 +008aa710 EXTERNAL:000000b3 +008aa710 EXTERNAL:000000a5 008aa710 EXTERNAL:000000b4 008aa710 EXTERNAL:000000b9 -008aa710 EXTERNAL:000000a5 -008aa790 EXTERNAL:000000b3 008aa790 0085c590 -008aa790 EXTERNAL:000000b9 +008aa790 EXTERNAL:000000b3 008aa790 EXTERNAL:000000a5 -008aa800 EXTERNAL:000000b3 +008aa790 EXTERNAL:000000b9 008aa800 0085c590 -008aa800 EXTERNAL:000000b9 -008aa800 EXTERNAL:00000082 +008aa800 EXTERNAL:000000b3 008aa800 EXTERNAL:000000a5 +008aa800 EXTERNAL:00000082 +008aa800 EXTERNAL:000000b9 +008aa990 0085c590 008aa990 EXTERNAL:000000b3 008aa990 008baa50 -008aa990 0085c590 +008aa990 EXTERNAL:000000a5 008aa990 EXTERNAL:000000b4 008aa990 EXTERNAL:000000b9 -008aa990 EXTERNAL:000000a5 008aaa50 0085c590 +008aaa50 EXTERNAL:000000a5 008aaa50 EXTERNAL:000000b4 008aaa50 EXTERNAL:000000b9 -008aaa50 EXTERNAL:000000a5 +008aaac0 0085c590 008aaac0 EXTERNAL:000000b3 008aaac0 008baa50 -008aaac0 0085c590 -008aaac0 EXTERNAL:000000b9 008aaac0 EXTERNAL:000000a5 -008aab60 0085bfd0 +008aaac0 EXTERNAL:000000b9 008aab60 0085c590 -008aab60 EXTERNAL:000000b9 008aab60 EXTERNAL:000000a5 -008aabc0 0085bfd0 +008aab60 0085bfd0 +008aab60 EXTERNAL:000000b9 008aabc0 0085c590 -008aabc0 EXTERNAL:000000b9 008aabc0 EXTERNAL:000000a5 +008aabc0 0085bfd0 +008aabc0 EXTERNAL:000000b9 008aac20 0085c590 +008aac20 EXTERNAL:000000a5 008aac20 EXTERNAL:000000b4 008aac20 EXTERNAL:000000b9 -008aac20 EXTERNAL:000000a5 008aac90 0085c590 +008aac90 EXTERNAL:000000a5 008aac90 EXTERNAL:000000b4 008aac90 EXTERNAL:000000b9 -008aac90 EXTERNAL:000000a5 008aad00 0085c590 +008aad00 EXTERNAL:000000a5 008aad00 EXTERNAL:000000b4 008aad00 EXTERNAL:000000b9 -008aad00 EXTERNAL:000000a5 -008aad70 EXTERNAL:000000b6 008aad70 0085c590 +008aad70 EXTERNAL:000000b6 +008aad70 EXTERNAL:000000a5 008aad70 EXTERNAL:000000b4 008aad70 EXTERNAL:000000b9 -008aad70 EXTERNAL:000000a5 -008aae00 EXTERNAL:000000b3 008aae00 0085c590 +008aae00 EXTERNAL:000000b3 +008aae00 EXTERNAL:000000a5 008aae00 EXTERNAL:000000b4 008aae00 EXTERNAL:000000b9 -008aae00 EXTERNAL:000000a5 +008aae80 0085c590 008aae80 EXTERNAL:000000b1 008aae80 EXTERNAL:000000b6 +008aae80 EXTERNAL:000000a5 008aae80 EXTERNAL:0000009f -008aae80 0085c590 +008aae80 EXTERNAL:000000b9 008aae80 EXTERNAL:000000a0 008aae80 EXTERNAL:000000a8 -008aae80 EXTERNAL:000000b9 -008aae80 EXTERNAL:000000a5 +008aaf40 0085c590 008aaf40 EXTERNAL:000000b1 008aaf40 EXTERNAL:000000b6 +008aaf40 EXTERNAL:000000a5 008aaf40 EXTERNAL:0000009f -008aaf40 0085c590 +008aaf40 EXTERNAL:000000b9 008aaf40 EXTERNAL:000000a0 008aaf40 EXTERNAL:000000a8 -008aaf40 EXTERNAL:000000b9 -008aaf40 EXTERNAL:000000a5 +008ab000 0085c590 008ab000 EXTERNAL:000000b1 008ab000 EXTERNAL:000000b6 +008ab000 EXTERNAL:000000a5 008ab000 EXTERNAL:0000009f -008ab000 0085c590 +008ab000 EXTERNAL:000000b9 008ab000 EXTERNAL:000000a0 008ab000 EXTERNAL:000000a8 -008ab000 EXTERNAL:000000b9 -008ab000 EXTERNAL:000000a5 -008ab0c0 EXTERNAL:000000b1 -008ab0c0 EXTERNAL:0000009f 008ab0c0 0085c590 +008ab0c0 EXTERNAL:000000b1 +008ab0c0 EXTERNAL:000000a5 +008ab0c0 EXTERNAL:0000009f +008ab0c0 EXTERNAL:000000b9 008ab0c0 EXTERNAL:000000a0 008ab0c0 EXTERNAL:000000a8 -008ab0c0 EXTERNAL:000000b9 -008ab0c0 EXTERNAL:000000a5 -008ab160 EXTERNAL:000000b1 -008ab160 EXTERNAL:0000009f 008ab160 0085c590 +008ab160 EXTERNAL:000000b1 +008ab160 EXTERNAL:000000a5 +008ab160 EXTERNAL:0000009f +008ab160 EXTERNAL:000000b9 008ab160 EXTERNAL:000000a0 008ab160 EXTERNAL:000000a8 -008ab160 EXTERNAL:000000b9 -008ab160 EXTERNAL:000000a5 -008ab200 EXTERNAL:000000b1 -008ab200 EXTERNAL:0000009f 008ab200 0085c590 +008ab200 EXTERNAL:000000b1 +008ab200 EXTERNAL:000000a5 +008ab200 EXTERNAL:0000009f +008ab200 EXTERNAL:000000b9 008ab200 EXTERNAL:000000a0 008ab200 EXTERNAL:000000a8 -008ab200 EXTERNAL:000000b9 -008ab200 EXTERNAL:000000a5 +008ab2a0 0085c590 008ab2a0 EXTERNAL:000000b3 008ab2a0 EXTERNAL:000000b6 -008ab2a0 0085c590 -008ab2a0 EXTERNAL:000000b9 008ab2a0 EXTERNAL:000000a5 -008ab330 EXTERNAL:000000b6 +008ab2a0 EXTERNAL:000000b9 008ab330 0085c590 -008ab330 EXTERNAL:000000b9 +008ab330 EXTERNAL:000000b6 008ab330 EXTERNAL:000000a5 -008ab3b0 EXTERNAL:000000b6 +008ab330 EXTERNAL:000000b9 008ab3b0 0085c590 +008ab3b0 EXTERNAL:000000b6 +008ab3b0 EXTERNAL:000000a5 008ab3b0 EXTERNAL:000000b4 008ab3b0 EXTERNAL:000000b9 -008ab3b0 EXTERNAL:000000a5 +008ab440 0085c590 008ab440 EXTERNAL:000000b1 008ab440 EXTERNAL:000000b6 +008ab440 EXTERNAL:000000a5 008ab440 EXTERNAL:0000009f -008ab440 0085c590 +008ab440 EXTERNAL:000000b9 008ab440 EXTERNAL:000000a0 008ab440 EXTERNAL:000000a8 -008ab440 EXTERNAL:000000b9 -008ab440 EXTERNAL:000000a5 -008ab500 EXTERNAL:000000b6 -008ab500 0085c590 -008ab500 EXTERNAL:000000b9 008ab500 EXTERNAL:000000b7 +008ab500 0085c590 +008ab500 EXTERNAL:000000b6 008ab500 EXTERNAL:000000a5 -008ab580 EXTERNAL:000000b3 +008ab500 EXTERNAL:000000b9 008ab580 0085c590 -008ab580 EXTERNAL:000000b9 +008ab580 EXTERNAL:000000b3 008ab580 EXTERNAL:000000a5 -008ab5f0 EXTERNAL:000000b1 -008ab5f0 EXTERNAL:0000009f +008ab580 EXTERNAL:000000b9 008ab5f0 0085c590 +008ab5f0 EXTERNAL:000000b1 +008ab5f0 EXTERNAL:000000a5 +008ab5f0 EXTERNAL:0000009f +008ab5f0 EXTERNAL:000000b9 008ab5f0 EXTERNAL:000000a0 008ab5f0 EXTERNAL:000000a8 -008ab5f0 EXTERNAL:000000b9 -008ab5f0 EXTERNAL:000000a5 +008ab690 0085c590 008ab690 EXTERNAL:000000b1 008ab690 EXTERNAL:000000b6 +008ab690 EXTERNAL:000000a5 008ab690 EXTERNAL:0000009f -008ab690 0085c590 +008ab690 EXTERNAL:000000b9 008ab690 EXTERNAL:000000a0 008ab690 EXTERNAL:000000a8 -008ab690 EXTERNAL:000000b9 -008ab690 EXTERNAL:000000a5 008ab750 0085c590 -008ab750 EXTERNAL:000000b9 008ab750 EXTERNAL:00000080 -008ab750 EXTERNAL:000000a5 008ab750 006a80f0 +008ab750 EXTERNAL:000000a5 +008ab750 EXTERNAL:000000b9 008ab7d0 EXTERNAL:0000009f 008ab7d0 EXTERNAL:000000a0 008ab7d0 EXTERNAL:000000a8 008ab830 0085c590 -008ab830 EXTERNAL:000000b9 008ab830 EXTERNAL:000000a5 -008ab880 008baa50 +008ab830 EXTERNAL:000000b9 008ab880 0085c590 +008ab880 008baa50 +008ab880 EXTERNAL:000000a5 008ab880 EXTERNAL:000000b4 008ab880 EXTERNAL:000000b9 -008ab880 EXTERNAL:000000a5 -008ab920 EXTERNAL:000000b6 008ab920 0085c590 +008ab920 008badb0 +008ab920 EXTERNAL:000000b6 +008ab920 EXTERNAL:000000a5 +008ab920 EXTERNAL:00000082 008ab920 EXTERNAL:000000b4 008ab920 EXTERNAL:000000b9 -008ab920 EXTERNAL:00000082 -008ab920 EXTERNAL:000000a5 -008ab920 008badb0 008abac0 0085c590 +008abac0 EXTERNAL:000000a5 008abac0 EXTERNAL:000000b4 008abac0 EXTERNAL:000000b9 -008abac0 EXTERNAL:000000a5 +008abbe0 0085c590 008abbe0 EXTERNAL:000000b3 008abbe0 008baa50 -008abbe0 0085c590 -008abbe0 EXTERNAL:000000b9 008abbe0 EXTERNAL:000000a5 +008abbe0 EXTERNAL:000000b9 +008abc80 008ba900 +008abc80 0085c590 008abc80 EXTERNAL:000000b3 008abc80 EXTERNAL:000000b6 -008abc80 0085c590 -008abc80 EXTERNAL:000000b9 008abc80 EXTERNAL:000000a5 -008abc80 008ba900 +008abc80 EXTERNAL:000000b9 008abda0 0040cf50 -008abda0 008ba5e0 008abda0 0085c590 008abda0 0040d040 -008abda0 EXTERNAL:000000b9 -008abda0 EXTERNAL:000000a5 008abda0 00aef12b -008abe80 EXTERNAL:000000b6 +008abda0 EXTERNAL:000000a5 +008abda0 008ba5e0 +008abda0 EXTERNAL:000000b9 008abe80 0085c590 -008abe80 EXTERNAL:000000b9 -008abe80 EXTERNAL:00000082 +008abe80 EXTERNAL:000000b6 008abe80 EXTERNAL:000000a5 -008abf60 EXTERNAL:000000b3 +008abe80 EXTERNAL:00000082 +008abe80 EXTERNAL:000000b9 008abf60 0085c590 +008abf60 EXTERNAL:000000b3 +008abf60 EXTERNAL:000000a5 008abf60 EXTERNAL:000000b4 008abf60 EXTERNAL:000000b9 -008abf60 EXTERNAL:000000a5 -008abfe0 EXTERNAL:000000b6 008abfe0 0085c590 -008abfe0 EXTERNAL:000000b9 +008abfe0 EXTERNAL:000000b6 008abfe0 EXTERNAL:000000a5 -008ac050 0085c590 -008ac050 EXTERNAL:000000b9 +008abfe0 EXTERNAL:000000b9 008ac050 EXTERNAL:000000b7 +008ac050 0085c590 008ac050 EXTERNAL:000000a5 -008ac0b0 EXTERNAL:000000b6 +008ac050 EXTERNAL:000000b9 008ac0b0 0085c590 +008ac0b0 EXTERNAL:000000b6 +008ac0b0 EXTERNAL:000000a5 008ac0b0 EXTERNAL:000000b4 008ac0b0 EXTERNAL:000000b9 -008ac0b0 EXTERNAL:000000a5 +008ac240 0085c590 +008ac240 008badb0 008ac240 EXTERNAL:000000b3 008ac240 EXTERNAL:000000b6 -008ac240 0085c590 -008ac240 EXTERNAL:000000b9 008ac240 EXTERNAL:000000a5 -008ac240 008badb0 +008ac240 EXTERNAL:000000b9 +008ac310 0085c590 +008ac310 008badb0 008ac310 EXTERNAL:000000b3 008ac310 EXTERNAL:000000b6 -008ac310 0085c590 -008ac310 EXTERNAL:000000b9 -008ac310 EXTERNAL:00000082 008ac310 EXTERNAL:000000a5 -008ac310 008badb0 +008ac310 EXTERNAL:00000082 +008ac310 EXTERNAL:000000b9 +008ac4d0 0085c590 +008ac4d0 008badb0 008ac4d0 EXTERNAL:000000b3 008ac4d0 EXTERNAL:000000b6 -008ac4d0 0085c590 -008ac4d0 EXTERNAL:000000b9 008ac4d0 EXTERNAL:000000a5 -008ac4d0 008badb0 -008ac5d0 EXTERNAL:000000b1 -008ac5d0 EXTERNAL:0000009f +008ac4d0 EXTERNAL:000000b9 008ac5d0 0085c590 +008ac5d0 EXTERNAL:000000b1 +008ac5d0 EXTERNAL:000000a5 +008ac5d0 EXTERNAL:0000009f +008ac5d0 EXTERNAL:000000b9 008ac5d0 EXTERNAL:000000a0 008ac5d0 EXTERNAL:000000a8 -008ac5d0 EXTERNAL:000000b9 -008ac5d0 EXTERNAL:000000a5 008ac670 0085c590 +008ac670 EXTERNAL:000000a5 008ac670 EXTERNAL:000000b4 008ac670 EXTERNAL:000000b9 -008ac670 EXTERNAL:000000a5 -008ac720 EXTERNAL:000000b6 008ac720 0085c590 +008ac720 EXTERNAL:000000b6 +008ac720 EXTERNAL:000000a5 008ac720 EXTERNAL:000000b4 008ac720 EXTERNAL:000000b9 -008ac720 EXTERNAL:000000a5 -008ac7b0 EXTERNAL:000000b1 -008ac7b0 EXTERNAL:0000009f 008ac7b0 0085c590 +008ac7b0 EXTERNAL:000000b1 +008ac7b0 EXTERNAL:000000a5 +008ac7b0 EXTERNAL:0000009f +008ac7b0 EXTERNAL:000000b9 008ac7b0 EXTERNAL:000000a0 008ac7b0 EXTERNAL:000000a8 -008ac7b0 EXTERNAL:000000b9 -008ac7b0 EXTERNAL:000000a5 -008ac850 EXTERNAL:000000b1 -008ac850 EXTERNAL:0000009f 008ac850 0085c590 +008ac850 EXTERNAL:000000b1 +008ac850 EXTERNAL:000000a5 +008ac850 EXTERNAL:0000009f +008ac850 EXTERNAL:000000b9 008ac850 EXTERNAL:000000a0 008ac850 EXTERNAL:000000a8 -008ac850 EXTERNAL:000000b9 -008ac850 EXTERNAL:000000a5 -008ac8f0 EXTERNAL:000000b6 008ac8f0 0085c590 -008ac8f0 EXTERNAL:000000b9 +008ac8f0 EXTERNAL:000000b6 008ac8f0 EXTERNAL:000000a5 -008ac960 008baa50 +008ac8f0 EXTERNAL:000000b9 008ac960 0085c590 -008ac960 EXTERNAL:000000b9 +008ac960 008baa50 008ac960 EXTERNAL:000000a5 +008ac960 EXTERNAL:000000b9 008ac9f0 0085c590 -008ac9f0 EXTERNAL:000000b9 008ac9f0 EXTERNAL:000000a5 -008aca40 EXTERNAL:000000b1 +008ac9f0 EXTERNAL:000000b9 008aca40 0085c590 -008aca40 EXTERNAL:000000b9 -008aca40 EXTERNAL:000000be +008aca40 EXTERNAL:000000b1 008aca40 EXTERNAL:000000a5 +008aca40 EXTERNAL:000000be +008aca40 EXTERNAL:000000b9 +008acac0 0085c590 008acac0 EXTERNAL:000000b3 008acac0 EXTERNAL:000000b6 -008acac0 0085c590 -008acac0 EXTERNAL:000000b9 008acac0 EXTERNAL:000000a5 +008acac0 EXTERNAL:000000b9 008acb40 0085c590 +008acb40 EXTERNAL:000000a5 008acb40 EXTERNAL:000000b4 008acb40 EXTERNAL:000000b9 -008acb40 EXTERNAL:000000a5 +008acbb0 0085c590 008acbb0 EXTERNAL:000000b3 008acbb0 EXTERNAL:000000b6 -008acbb0 0085c590 -008acbb0 EXTERNAL:000000b9 008acbb0 EXTERNAL:000000a5 -008acc70 EXTERNAL:000000b6 +008acbb0 EXTERNAL:000000b9 008acc70 0085c590 +008acc70 EXTERNAL:000000b6 +008acc70 EXTERNAL:000000a5 008acc70 EXTERNAL:000000b4 008acc70 EXTERNAL:000000b9 -008acc70 EXTERNAL:000000a5 -008acd00 0085bfd0 008acd00 0085c590 -008acd00 EXTERNAL:000000b9 008acd00 EXTERNAL:000000a5 +008acd00 0085bfd0 +008acd00 EXTERNAL:000000b9 008acd60 0085c590 -008acd60 EXTERNAL:000000b9 008acd60 EXTERNAL:000000a5 +008acd60 EXTERNAL:000000b9 +008acdb0 0085c590 008acdb0 EXTERNAL:000000b1 008acdb0 008baa50 +008acdb0 EXTERNAL:000000a5 008acdb0 EXTERNAL:0000009f -008acdb0 0085c590 +008acdb0 EXTERNAL:000000b9 008acdb0 EXTERNAL:000000a0 008acdb0 EXTERNAL:000000a8 -008acdb0 EXTERNAL:000000b9 -008acdb0 EXTERNAL:000000a5 -008ad0c0 EXTERNAL:000000b3 008ad0c0 0085c590 -008ad0c0 EXTERNAL:000000b9 +008ad0c0 EXTERNAL:000000b3 008ad0c0 EXTERNAL:000000a5 +008ad0c0 EXTERNAL:000000b9 008ad170 0085c590 -008ad170 EXTERNAL:000000b9 008ad170 EXTERNAL:000000a5 -008ad220 EXTERNAL:000000b6 +008ad170 EXTERNAL:000000b9 008ad220 0085c590 -008ad220 EXTERNAL:000000b9 +008ad220 EXTERNAL:000000b6 008ad220 EXTERNAL:000000a5 -008ad400 EXTERNAL:000000b3 -008ad400 EXTERNAL:000000b1 -008ad400 008baa50 -008ad400 EXTERNAL:0000009f +008ad220 EXTERNAL:000000b9 008ad400 0085c590 +008ad400 EXTERNAL:000000b1 +008ad400 EXTERNAL:000000b3 +008ad400 008baa50 +008ad400 EXTERNAL:000000a5 +008ad400 EXTERNAL:0000009f +008ad400 EXTERNAL:000000b9 008ad400 EXTERNAL:000000a0 008ad400 EXTERNAL:000000a8 -008ad400 EXTERNAL:000000b9 -008ad400 EXTERNAL:000000a5 +008ad5b0 0085c590 008ad5b0 EXTERNAL:000000b3 008ad5b0 EXTERNAL:000000b6 -008ad5b0 0085c590 -008ad5b0 EXTERNAL:000000b9 008ad5b0 EXTERNAL:000000a5 -008ad660 EXTERNAL:000000b6 -008ad660 0085c590 -008ad660 EXTERNAL:000000b9 +008ad5b0 EXTERNAL:000000b9 008ad660 EXTERNAL:000000b7 +008ad660 0085c590 +008ad660 EXTERNAL:000000b6 008ad660 EXTERNAL:000000a5 -008ad6e0 EXTERNAL:000000b6 +008ad660 EXTERNAL:000000b9 008ad6e0 0085c590 -008ad6e0 EXTERNAL:000000b9 +008ad6e0 EXTERNAL:000000b6 008ad6e0 EXTERNAL:000000a5 -008ad760 EXTERNAL:000000b6 +008ad6e0 EXTERNAL:000000b9 008ad760 0085c590 +008ad760 EXTERNAL:000000b6 +008ad760 EXTERNAL:000000a5 008ad760 EXTERNAL:000000b4 008ad760 EXTERNAL:000000b9 -008ad760 EXTERNAL:000000a5 +008ad7f0 EXTERNAL:000000b7 +008ad7f0 0085c590 008ad7f0 EXTERNAL:000000b3 008ad7f0 EXTERNAL:000000b6 -008ad7f0 0085c590 -008ad7f0 EXTERNAL:000000b9 -008ad7f0 EXTERNAL:000000b7 008ad7f0 EXTERNAL:000000a5 +008ad7f0 EXTERNAL:000000b9 +008ad8c0 0085c590 008ad8c0 EXTERNAL:000000b1 008ad8c0 EXTERNAL:000000b6 +008ad8c0 EXTERNAL:000000a5 008ad8c0 EXTERNAL:0000009f -008ad8c0 0085c590 +008ad8c0 EXTERNAL:000000b9 008ad8c0 EXTERNAL:000000a0 008ad8c0 EXTERNAL:000000a8 -008ad8c0 EXTERNAL:000000b9 -008ad8c0 EXTERNAL:000000a5 +008ad980 0085c590 008ad980 EXTERNAL:000000b3 008ad980 EXTERNAL:000000b6 -008ad980 0085c590 +008ad980 EXTERNAL:000000a5 008ad980 EXTERNAL:000000b4 008ad980 EXTERNAL:000000b9 -008ad980 EXTERNAL:000000a5 +008ada20 EXTERNAL:000000b7 +008ada20 0085c590 008ada20 EXTERNAL:000000b3 008ada20 EXTERNAL:000000b6 -008ada20 0085c590 -008ada20 EXTERNAL:000000b9 -008ada20 EXTERNAL:000000b7 008ada20 EXTERNAL:000000a5 -008adab0 EXTERNAL:000000b1 -008adab0 EXTERNAL:0000009f +008ada20 EXTERNAL:000000b9 008adab0 0085c590 +008adab0 EXTERNAL:000000b1 +008adab0 EXTERNAL:000000a5 +008adab0 EXTERNAL:0000009f +008adab0 EXTERNAL:000000b9 008adab0 EXTERNAL:000000a0 008adab0 EXTERNAL:000000a8 -008adab0 EXTERNAL:000000b9 -008adab0 EXTERNAL:000000a5 -008adb50 EXTERNAL:0000009f 008adb50 0085c590 +008adb50 EXTERNAL:000000a5 +008adb50 EXTERNAL:0000009f +008adb50 EXTERNAL:000000b9 008adb50 EXTERNAL:000000a0 008adb50 EXTERNAL:000000a8 -008adb50 EXTERNAL:000000b9 -008adb50 EXTERNAL:000000a5 -008adbf0 EXTERNAL:000000b3 -008adbf0 EXTERNAL:0000009f 008adbf0 0085c590 +008adbf0 EXTERNAL:000000b3 +008adbf0 EXTERNAL:000000a5 +008adbf0 EXTERNAL:0000009f +008adbf0 EXTERNAL:000000b9 008adbf0 EXTERNAL:000000a0 008adbf0 EXTERNAL:000000a8 -008adbf0 EXTERNAL:000000b9 -008adbf0 EXTERNAL:000000a5 -008add60 EXTERNAL:000000b6 -008add60 EXTERNAL:0000009f 008add60 0085c590 +008add60 EXTERNAL:000000b6 +008add60 00aef12b +008add60 EXTERNAL:000000a5 +008add60 EXTERNAL:00000082 +008add60 EXTERNAL:0000009f +008add60 EXTERNAL:000000b9 008add60 EXTERNAL:000000a0 008add60 EXTERNAL:000000a8 -008add60 EXTERNAL:000000b9 -008add60 EXTERNAL:00000082 -008add60 EXTERNAL:000000a5 -008add60 00aef12b -008adf50 EXTERNAL:000000b6 -008adf50 EXTERNAL:0000009f 008adf50 0085c590 +008adf50 EXTERNAL:000000b6 +008adf50 EXTERNAL:000000a5 +008adf50 EXTERNAL:0000009f +008adf50 EXTERNAL:000000b9 008adf50 EXTERNAL:000000a0 008adf50 EXTERNAL:000000a8 -008adf50 EXTERNAL:000000b9 -008adf50 EXTERNAL:000000a5 -008ae040 EXTERNAL:000000b1 -008ae040 EXTERNAL:0000009f 008ae040 0085c590 +008ae040 EXTERNAL:000000b1 +008ae040 EXTERNAL:000000a5 +008ae040 EXTERNAL:0000009f +008ae040 EXTERNAL:000000b9 008ae040 EXTERNAL:000000a0 008ae040 EXTERNAL:000000a8 -008ae040 EXTERNAL:000000b9 -008ae040 EXTERNAL:000000a5 -008ae0e0 EXTERNAL:000000b1 -008ae0e0 EXTERNAL:0000009f 008ae0e0 0085c590 +008ae0e0 EXTERNAL:000000b1 +008ae0e0 EXTERNAL:000000a5 +008ae0e0 EXTERNAL:0000009f +008ae0e0 EXTERNAL:000000b9 008ae0e0 EXTERNAL:000000a0 008ae0e0 EXTERNAL:000000a8 -008ae0e0 EXTERNAL:000000b9 -008ae0e0 EXTERNAL:000000a5 -008ae180 EXTERNAL:000000b6 008ae180 0085c590 +008ae180 EXTERNAL:000000b6 008ae180 EXTERNAL:000000b2 -008ae180 EXTERNAL:000000b9 008ae180 EXTERNAL:000000a5 -008ae240 EXTERNAL:000000b6 +008ae180 EXTERNAL:000000b9 008ae240 0085c590 +008ae240 EXTERNAL:000000b6 008ae240 EXTERNAL:000000b2 -008ae240 EXTERNAL:000000b9 008ae240 EXTERNAL:000000a5 -008ae2d0 EXTERNAL:000000b3 -008ae2d0 00407f10 +008ae240 EXTERNAL:000000b9 008ae2d0 00407690 008ae2d0 0085c590 -008ae2d0 EXTERNAL:000000b2 008ae2d0 0040d040 -008ae2d0 EXTERNAL:000000b9 -008ae2d0 004087a0 -008ae2d0 EXTERNAL:000000a5 +008ae2d0 00407f10 +008ae2d0 EXTERNAL:000000b3 +008ae2d0 EXTERNAL:000000b2 008ae2d0 00aef12b +008ae2d0 EXTERNAL:000000a5 +008ae2d0 004087a0 +008ae2d0 EXTERNAL:000000b9 008ae2d0 EXTERNAL:0000009d 008ae4d0 0085c590 008ae4d0 EXTERNAL:000000b2 -008ae4d0 EXTERNAL:000000b9 008ae4d0 EXTERNAL:000000a5 -008ae570 EXTERNAL:000000b6 +008ae4d0 EXTERNAL:000000b9 008ae570 0085c590 -008ae570 EXTERNAL:000000b9 +008ae570 EXTERNAL:000000b6 008ae570 EXTERNAL:000000a5 -008ae600 EXTERNAL:000000b6 +008ae570 EXTERNAL:000000b9 008ae600 0085c590 +008ae600 EXTERNAL:000000b6 +008ae600 EXTERNAL:000000a5 008ae600 EXTERNAL:000000b4 008ae600 EXTERNAL:000000b9 -008ae600 EXTERNAL:000000a5 -008ae6c0 EXTERNAL:000000b1 -008ae6c0 EXTERNAL:0000009f 008ae6c0 0085c590 +008ae6c0 EXTERNAL:000000b1 +008ae6c0 EXTERNAL:000000a5 +008ae6c0 EXTERNAL:00000082 +008ae6c0 EXTERNAL:0000009f +008ae6c0 EXTERNAL:000000b9 008ae6c0 EXTERNAL:000000a0 008ae6c0 EXTERNAL:000000a8 -008ae6c0 EXTERNAL:000000b9 -008ae6c0 EXTERNAL:00000082 -008ae6c0 EXTERNAL:000000a5 -008ae7b0 EXTERNAL:000000b1 -008ae7b0 EXTERNAL:0000009f 008ae7b0 0085c590 +008ae7b0 EXTERNAL:000000b1 +008ae7b0 EXTERNAL:000000a5 +008ae7b0 EXTERNAL:0000009f +008ae7b0 EXTERNAL:000000b9 008ae7b0 EXTERNAL:000000a0 008ae7b0 EXTERNAL:000000a8 -008ae7b0 EXTERNAL:000000b9 -008ae7b0 EXTERNAL:000000a5 008ae850 0085c590 -008ae850 EXTERNAL:000000b9 008ae850 0085c030 008ae850 EXTERNAL:000000a5 +008ae850 EXTERNAL:000000b9 +008ae8b0 0085c590 008ae8b0 EXTERNAL:000000b1 008ae8b0 EXTERNAL:000000b6 008ae8b0 008baa50 +008ae8b0 EXTERNAL:000000a5 +008ae8b0 EXTERNAL:00000082 008ae8b0 EXTERNAL:0000009f -008ae8b0 0085c590 +008ae8b0 EXTERNAL:000000b9 008ae8b0 EXTERNAL:000000a0 008ae8b0 EXTERNAL:000000a8 -008ae8b0 EXTERNAL:000000b9 -008ae8b0 EXTERNAL:00000082 -008ae8b0 EXTERNAL:000000a5 -008aed10 EXTERNAL:000000b3 -008aed10 EXTERNAL:000000b1 -008aed10 008baa50 -008aed10 EXTERNAL:000000b6 -008aed10 EXTERNAL:0000009f 008aed10 0085c590 +008aed10 EXTERNAL:000000b1 +008aed10 EXTERNAL:000000b3 +008aed10 EXTERNAL:000000b6 +008aed10 008baa50 +008aed10 EXTERNAL:000000a5 +008aed10 EXTERNAL:00000082 +008aed10 EXTERNAL:0000009f +008aed10 EXTERNAL:000000b9 008aed10 EXTERNAL:000000a0 008aed10 EXTERNAL:000000a8 -008aed10 EXTERNAL:000000b9 -008aed10 EXTERNAL:00000082 -008aed10 EXTERNAL:000000a5 +008aef50 0085c590 008aef50 EXTERNAL:000000b1 008aef50 008baa50 +008aef50 EXTERNAL:000000a5 +008aef50 EXTERNAL:00000082 008aef50 EXTERNAL:0000009f -008aef50 0085c590 +008aef50 EXTERNAL:000000b9 008aef50 EXTERNAL:000000a0 008aef50 EXTERNAL:000000a8 -008aef50 EXTERNAL:000000b9 -008aef50 EXTERNAL:00000082 -008aef50 EXTERNAL:000000a5 +008af270 0085c590 008af270 EXTERNAL:000000b1 008af270 EXTERNAL:000000b6 +008af270 EXTERNAL:000000a5 008af270 EXTERNAL:0000009f -008af270 0085c590 +008af270 EXTERNAL:000000b9 008af270 EXTERNAL:000000a0 008af270 EXTERNAL:000000a8 -008af270 EXTERNAL:000000b9 -008af270 EXTERNAL:000000a5 -008af330 008baa50 008af330 0085c590 +008af330 008baa50 +008af330 EXTERNAL:000000a5 008af330 EXTERNAL:000000b4 008af330 EXTERNAL:000000b9 -008af330 EXTERNAL:000000a5 -008af3d0 EXTERNAL:000000b6 -008af3d0 EXTERNAL:0000009f 008af3d0 0085c590 +008af3d0 EXTERNAL:000000b6 +008af3d0 EXTERNAL:000000a5 +008af3d0 EXTERNAL:0000009f +008af3d0 EXTERNAL:000000b9 008af3d0 EXTERNAL:000000a0 008af3d0 EXTERNAL:000000a8 -008af3d0 EXTERNAL:000000b9 -008af3d0 EXTERNAL:000000a5 008af4a0 0085c590 -008af4a0 EXTERNAL:000000b9 -008af4a0 EXTERNAL:000000a5 -008af4a0 00aef12b 008af4a0 008ba500 +008af4a0 00aef12b +008af4a0 EXTERNAL:000000a5 +008af4a0 EXTERNAL:000000b9 +008af670 0085c590 008af670 EXTERNAL:000000b3 008af670 008baa50 +008af670 EXTERNAL:000000a5 008af670 EXTERNAL:0000009f -008af670 0085c590 +008af670 EXTERNAL:000000b9 008af670 EXTERNAL:000000a0 008af670 EXTERNAL:000000a8 -008af670 EXTERNAL:000000b9 -008af670 EXTERNAL:000000a5 -008af990 0040ccd0 008af990 0040cf50 -008af990 EXTERNAL:000000b6 008af990 EXTERNAL:00000220 008af990 0085c590 -008af990 00aef15c -008af990 EXTERNAL:000000b2 +008af990 0040ccd0 008af990 0040d040 -008af990 EXTERNAL:000000b9 -008af990 EXTERNAL:000000a5 +008af990 00aef15c +008af990 EXTERNAL:000000b6 +008af990 EXTERNAL:000000b2 008af990 00aef12b +008af990 EXTERNAL:000000a5 +008af990 EXTERNAL:000000b9 +008afb60 0085c590 008afb60 EXTERNAL:000000b1 008afb60 EXTERNAL:000000b6 +008afb60 EXTERNAL:000000a5 008afb60 EXTERNAL:0000009f -008afb60 0085c590 +008afb60 EXTERNAL:000000b9 008afb60 EXTERNAL:000000a0 008afb60 EXTERNAL:000000a8 -008afb60 EXTERNAL:000000b9 -008afb60 EXTERNAL:000000a5 +008afc20 0085c590 008afc20 EXTERNAL:000000b1 008afc20 008baa50 +008afc20 EXTERNAL:000000a5 008afc20 EXTERNAL:0000009f -008afc20 0085c590 +008afc20 EXTERNAL:000000b9 008afc20 EXTERNAL:000000a0 008afc20 EXTERNAL:000000a8 -008afc20 EXTERNAL:000000b9 -008afc20 EXTERNAL:000000a5 -008afcf0 EXTERNAL:000000b3 -008afcf0 0085bfd0 008afcf0 0085c590 -008afcf0 EXTERNAL:000000b9 +008afcf0 EXTERNAL:000000b3 008afcf0 EXTERNAL:000000a5 -008afd70 EXTERNAL:000000b1 -008afd70 EXTERNAL:0000009f +008afcf0 0085bfd0 +008afcf0 EXTERNAL:000000b9 008afd70 0085c590 +008afd70 EXTERNAL:000000b1 +008afd70 EXTERNAL:000000a5 +008afd70 EXTERNAL:0000009f +008afd70 EXTERNAL:000000b9 008afd70 EXTERNAL:000000a0 008afd70 EXTERNAL:000000a8 -008afd70 EXTERNAL:000000b9 -008afd70 EXTERNAL:000000a5 008afe10 0085c590 +008afe10 EXTERNAL:000000a5 008afe10 EXTERNAL:000000b4 008afe10 EXTERNAL:000000b9 -008afe10 EXTERNAL:000000a5 -008afec0 EXTERNAL:000000b3 -008afec0 EXTERNAL:000000b1 -008afec0 008baa50 -008afec0 EXTERNAL:0000009f 008afec0 0085c590 +008afec0 EXTERNAL:000000b1 +008afec0 EXTERNAL:000000b3 +008afec0 008baa50 +008afec0 EXTERNAL:000000a5 +008afec0 EXTERNAL:0000009f +008afec0 EXTERNAL:000000b9 008afec0 EXTERNAL:000000a0 008afec0 EXTERNAL:000000a8 -008afec0 EXTERNAL:000000b9 -008afec0 EXTERNAL:000000a5 +008b04b0 0085c590 008b04b0 EXTERNAL:000000b1 008b04b0 008baa50 +008b04b0 EXTERNAL:000000a5 008b04b0 EXTERNAL:0000009f -008b04b0 0085c590 +008b04b0 EXTERNAL:000000b9 008b04b0 EXTERNAL:000000a0 008b04b0 EXTERNAL:000000a8 -008b04b0 EXTERNAL:000000b9 -008b04b0 EXTERNAL:000000a5 +008b0580 0085c590 008b0580 EXTERNAL:000000b3 008b0580 EXTERNAL:000000b6 -008b0580 0085c590 -008b0580 EXTERNAL:000000b9 008b0580 EXTERNAL:000000a5 +008b0580 EXTERNAL:000000b9 +008b0610 0085c590 008b0610 EXTERNAL:000000b3 008b0610 EXTERNAL:000000b6 -008b0610 0085c590 -008b0610 EXTERNAL:000000b9 008b0610 EXTERNAL:000000a5 +008b0610 EXTERNAL:000000b9 008b06e0 0085c590 -008b06e0 EXTERNAL:000000b9 008b06e0 EXTERNAL:000000a5 +008b06e0 EXTERNAL:000000b9 008b0730 0085c590 +008b0730 EXTERNAL:000000a5 008b0730 EXTERNAL:000000b4 008b0730 EXTERNAL:000000b9 -008b0730 EXTERNAL:000000a5 -008b07e0 EXTERNAL:000000b6 008b07e0 0085c590 -008b07e0 EXTERNAL:000000b9 +008b07e0 EXTERNAL:000000b6 008b07e0 EXTERNAL:000000a5 +008b07e0 EXTERNAL:000000b9 008b0850 0085c590 -008b0850 EXTERNAL:000000b9 008b0850 EXTERNAL:000000a5 +008b0850 EXTERNAL:000000b9 008b0900 0085c590 -008b0900 EXTERNAL:000000b9 -008b0900 EXTERNAL:00000082 008b0900 EXTERNAL:000000a5 +008b0900 EXTERNAL:00000082 +008b0900 EXTERNAL:000000b9 008b0ad0 0085c590 -008b0ad0 EXTERNAL:000000b9 008b0ad0 EXTERNAL:000000a5 -008b0b20 008baa50 +008b0ad0 EXTERNAL:000000b9 008b0b20 0085c590 -008b0b20 EXTERNAL:000000b9 +008b0b20 008baa50 008b0b20 EXTERNAL:000000a5 -008b0bb0 008baa50 -008b0bb0 EXTERNAL:0000009f +008b0b20 EXTERNAL:000000b9 008b0bb0 0085c590 +008b0bb0 008baa50 +008b0bb0 EXTERNAL:000000a5 +008b0bb0 EXTERNAL:0000009f +008b0bb0 EXTERNAL:000000b9 008b0bb0 EXTERNAL:000000a0 008b0bb0 EXTERNAL:000000a8 -008b0bb0 EXTERNAL:000000b9 -008b0bb0 EXTERNAL:000000a5 -008b0c80 EXTERNAL:000000b3 -008b0c80 EXTERNAL:000000b1 -008b0c80 008baa50 -008b0c80 EXTERNAL:0000009f 008b0c80 0085c590 +008b0c80 EXTERNAL:000000b1 +008b0c80 EXTERNAL:000000b3 +008b0c80 008baa50 +008b0c80 EXTERNAL:000000a5 +008b0c80 EXTERNAL:0000009f +008b0c80 EXTERNAL:000000b9 008b0c80 EXTERNAL:000000a0 008b0c80 EXTERNAL:000000a8 -008b0c80 EXTERNAL:000000b9 -008b0c80 EXTERNAL:000000a5 008b0d70 0085c590 -008b0d70 EXTERNAL:000000b9 -008b0d70 EXTERNAL:00000082 008b0d70 EXTERNAL:000000a5 +008b0d70 EXTERNAL:00000082 +008b0d70 EXTERNAL:000000b9 +008b0e00 EXTERNAL:000000b7 +008b0e00 0085c590 008b0e00 EXTERNAL:000000b3 008b0e00 EXTERNAL:000000b6 -008b0e00 0085c590 -008b0e00 EXTERNAL:000000b9 -008b0e00 EXTERNAL:000000b7 008b0e00 EXTERNAL:000000a5 -008b0e90 EXTERNAL:000000b6 +008b0e00 EXTERNAL:000000b9 008b0e90 0085c590 -008b0e90 EXTERNAL:000000b9 +008b0e90 EXTERNAL:000000b6 008b0e90 EXTERNAL:000000a5 +008b0e90 EXTERNAL:000000b9 008b0f30 0085c590 -008b0f30 EXTERNAL:000000b9 008b0f30 EXTERNAL:000000a5 -008b0f80 EXTERNAL:000000b1 -008b0f80 EXTERNAL:0000009f +008b0f30 EXTERNAL:000000b9 008b0f80 0085c590 +008b0f80 EXTERNAL:000000b1 +008b0f80 EXTERNAL:000000a5 +008b0f80 EXTERNAL:0000009f +008b0f80 EXTERNAL:000000b9 008b0f80 EXTERNAL:000000a0 008b0f80 EXTERNAL:000000a8 -008b0f80 EXTERNAL:000000b9 -008b0f80 EXTERNAL:000000a5 -008b1020 EXTERNAL:0000009f 008b1020 0085c590 +008b1020 EXTERNAL:000000a5 +008b1020 EXTERNAL:00000082 +008b1020 EXTERNAL:0000009f +008b1020 EXTERNAL:000000b9 008b1020 EXTERNAL:000000a0 008b1020 EXTERNAL:000000a8 -008b1020 EXTERNAL:000000b9 -008b1020 EXTERNAL:00000082 -008b1020 EXTERNAL:000000a5 -008b1100 0085bfd0 008b1100 0085c590 -008b1100 EXTERNAL:000000b9 008b1100 EXTERNAL:000000a5 +008b1100 0085bfd0 +008b1100 EXTERNAL:000000b9 008b1160 0085c590 +008b1160 EXTERNAL:000000a5 008b1160 EXTERNAL:000000b4 008b1160 EXTERNAL:000000b9 -008b1160 EXTERNAL:000000a5 +008b1220 0085c590 008b1220 EXTERNAL:000000b3 008b1220 EXTERNAL:000000b6 -008b1220 0085c590 -008b1220 EXTERNAL:000000b9 008b1220 EXTERNAL:000000a5 -008b13b0 EXTERNAL:000000b1 -008b13b0 EXTERNAL:0000009f +008b1220 EXTERNAL:000000b9 008b13b0 0085c590 +008b13b0 EXTERNAL:000000b1 +008b13b0 EXTERNAL:000000a5 +008b13b0 EXTERNAL:00000082 +008b13b0 EXTERNAL:0000009f +008b13b0 EXTERNAL:000000b9 008b13b0 EXTERNAL:000000a0 008b13b0 EXTERNAL:000000a8 -008b13b0 EXTERNAL:000000b9 -008b13b0 EXTERNAL:00000082 -008b13b0 EXTERNAL:000000a5 +008b1480 0085c590 008b1480 008bb010 008b1480 EXTERNAL:000000b6 008b1480 008baa50 -008b1480 0085c590 -008b1480 004c5850 -008b1480 EXTERNAL:000000b9 -008b1480 EXTERNAL:000000a5 008b1480 00aef12b +008b1480 EXTERNAL:000000a5 +008b1480 EXTERNAL:000000b9 +008b1480 004c5850 +008b1630 008bb010 +008b1630 EXTERNAL:000000b6 +008b1630 00aef12b +008b1630 EXTERNAL:000000a5 +008b1630 EXTERNAL:00000082 +008b1630 EXTERNAL:0000009f +008b1630 0085c590 008b1630 EXTERNAL:000000b1 008b1630 008baa50 -008b1630 EXTERNAL:000000b6 -008b1630 0085c590 008b1630 EXTERNAL:000000b9 -008b1630 EXTERNAL:000000a5 -008b1630 008bb010 -008b1630 EXTERNAL:0000009f -008b1630 004c5850 008b1630 EXTERNAL:000000a0 +008b1630 004c5850 008b1630 EXTERNAL:000000a8 -008b1630 EXTERNAL:00000082 -008b1630 00aef12b 008b1810 0040cf50 +008b1810 008ba360 008b1810 0085c590 008b1810 0040d040 -008b1810 EXTERNAL:000000b9 -008b1810 008ba360 -008b1810 EXTERNAL:000000a5 008b1810 00aef12b -008b1c10 EXTERNAL:000000b6 +008b1810 EXTERNAL:000000a5 +008b1810 EXTERNAL:000000b9 008b1c10 0085c590 -008b1c10 EXTERNAL:000000b9 +008b1c10 EXTERNAL:000000b6 008b1c10 EXTERNAL:000000a5 -008b1c80 EXTERNAL:000000b3 -008b1c80 008baa50 -008b1c80 EXTERNAL:000000b6 +008b1c10 EXTERNAL:000000b9 008b1c80 0085c590 -008b1c80 EXTERNAL:000000b9 +008b1c80 EXTERNAL:000000b3 +008b1c80 EXTERNAL:000000b6 +008b1c80 008baa50 008b1c80 EXTERNAL:00000082 -008b1db0 EXTERNAL:000000b6 +008b1c80 EXTERNAL:000000b9 008b1db0 0085c590 -008b1db0 EXTERNAL:000000b9 +008b1db0 EXTERNAL:000000b6 008b1db0 EXTERNAL:000000a5 +008b1db0 EXTERNAL:000000b9 +008b1e20 0085c590 008b1e20 EXTERNAL:000000b3 008b1e20 EXTERNAL:000000b6 -008b1e20 0085c590 -008b1e20 EXTERNAL:000000b9 -008b1e20 EXTERNAL:00000082 008b1e20 EXTERNAL:000000a5 +008b1e20 EXTERNAL:00000082 +008b1e20 EXTERNAL:000000b9 008b1ef0 0085c590 -008b1ef0 EXTERNAL:000000b9 008b1ef0 0085bff0 008b1ef0 EXTERNAL:000000a5 -008b1f50 EXTERNAL:000000b1 -008b1f50 EXTERNAL:0000009f +008b1ef0 EXTERNAL:000000b9 008b1f50 0085c590 +008b1f50 EXTERNAL:000000b1 +008b1f50 EXTERNAL:000000a5 +008b1f50 EXTERNAL:0000009f +008b1f50 EXTERNAL:000000b9 008b1f50 EXTERNAL:000000a0 008b1f50 EXTERNAL:000000a8 -008b1f50 EXTERNAL:000000b9 -008b1f50 EXTERNAL:000000a5 008b2000 0085c590 +008b2000 EXTERNAL:000000a5 008b2000 EXTERNAL:000000b4 008b2000 EXTERNAL:000000b9 -008b2000 EXTERNAL:000000a5 -008b2070 EXTERNAL:000000b1 -008b2070 EXTERNAL:0000009f 008b2070 0085c590 +008b2070 EXTERNAL:000000b1 +008b2070 EXTERNAL:000000a5 +008b2070 EXTERNAL:0000009f +008b2070 EXTERNAL:000000b9 008b2070 EXTERNAL:000000a0 008b2070 EXTERNAL:000000a8 -008b2070 EXTERNAL:000000b9 -008b2070 EXTERNAL:000000a5 -008b2110 EXTERNAL:000000b3 008b2110 0085c590 -008b2110 EXTERNAL:000000b9 +008b2110 EXTERNAL:000000b3 008b2110 EXTERNAL:000000a5 +008b2110 EXTERNAL:000000b9 008b2180 0085c590 -008b2180 EXTERNAL:000000b9 008b2180 0085bff0 008b2180 EXTERNAL:000000a5 +008b2180 EXTERNAL:000000b9 008b21e0 0085c590 -008b21e0 EXTERNAL:000000b9 -008b21e0 EXTERNAL:00000082 008b21e0 EXTERNAL:000000a5 +008b21e0 EXTERNAL:00000082 +008b21e0 EXTERNAL:000000b9 008b2270 0085c590 +008b2270 EXTERNAL:000000a5 008b2270 EXTERNAL:000000b4 008b2270 EXTERNAL:000000b9 -008b2270 EXTERNAL:000000a5 008b22e0 0085c590 -008b22e0 EXTERNAL:000000b9 008b22e0 EXTERNAL:000000a5 +008b22e0 EXTERNAL:000000b9 008b2330 0085c590 -008b2330 EXTERNAL:000000b9 008b2330 EXTERNAL:000000a5 -008b2380 008baa50 +008b2330 EXTERNAL:000000b9 008b2380 0085c590 -008b2380 EXTERNAL:000000b9 +008b2380 008baa50 008b2380 EXTERNAL:000000a5 -008b2410 EXTERNAL:000000b6 +008b2380 EXTERNAL:000000b9 008b2410 0085c590 +008b2410 EXTERNAL:000000b6 +008b2410 EXTERNAL:000000a5 008b2410 EXTERNAL:000000b4 008b2410 EXTERNAL:000000b9 -008b2410 EXTERNAL:000000a5 -008b25b0 EXTERNAL:000000b3 008b25b0 0085c590 +008b25b0 EXTERNAL:000000b3 +008b25b0 EXTERNAL:000000a5 008b25b0 EXTERNAL:000000b4 008b25b0 EXTERNAL:000000b9 -008b25b0 EXTERNAL:000000a5 -008b2740 0085bfd0 008b2740 0085c590 -008b2740 EXTERNAL:000000b9 008b2740 EXTERNAL:000000a5 +008b2740 0085bfd0 +008b2740 EXTERNAL:000000b9 008b27a0 0085c590 -008b27a0 EXTERNAL:000000b9 008b27a0 0085bff0 008b27a0 EXTERNAL:000000a5 -008b2800 EXTERNAL:000000b1 -008b2800 EXTERNAL:0000009f +008b27a0 EXTERNAL:000000b9 008b2800 0085c590 +008b2800 EXTERNAL:000000b1 +008b2800 EXTERNAL:000000a5 +008b2800 EXTERNAL:0000009f +008b2800 EXTERNAL:000000b9 008b2800 EXTERNAL:000000a0 008b2800 EXTERNAL:000000a8 -008b2800 EXTERNAL:000000b9 -008b2800 EXTERNAL:000000a5 -008b28a0 EXTERNAL:000000b1 -008b28a0 EXTERNAL:0000009f 008b28a0 0085c590 +008b28a0 EXTERNAL:000000b1 +008b28a0 EXTERNAL:000000a5 +008b28a0 EXTERNAL:0000009f +008b28a0 EXTERNAL:000000b9 008b28a0 EXTERNAL:000000a0 008b28a0 EXTERNAL:000000a8 -008b28a0 EXTERNAL:000000b9 -008b28a0 EXTERNAL:000000a5 -008b2940 EXTERNAL:000000b1 -008b2940 EXTERNAL:0000009f 008b2940 0085c590 +008b2940 EXTERNAL:000000b1 +008b2940 EXTERNAL:000000a5 +008b2940 EXTERNAL:0000009f +008b2940 EXTERNAL:000000b9 008b2940 EXTERNAL:000000a0 008b2940 EXTERNAL:000000a8 -008b2940 EXTERNAL:000000b9 -008b2940 EXTERNAL:000000a5 -008b29e0 EXTERNAL:000000b6 008b29e0 0085c590 -008b29e0 EXTERNAL:000000b9 +008b29e0 EXTERNAL:000000b6 008b29e0 EXTERNAL:000000a5 +008b29e0 EXTERNAL:000000b9 008b2a60 0085c590 -008b2a60 EXTERNAL:000000b9 008b2a60 EXTERNAL:000000a5 -008b2ab0 EXTERNAL:000000b3 +008b2a60 EXTERNAL:000000b9 008b2ab0 0085c590 -008b2ab0 EXTERNAL:000000b9 +008b2ab0 EXTERNAL:000000b3 008b2ab0 EXTERNAL:000000a5 +008b2ab0 EXTERNAL:000000b9 008b2b20 0085c590 +008b2b20 EXTERNAL:000000a5 008b2b20 EXTERNAL:000000b4 008b2b20 EXTERNAL:000000b9 -008b2b20 EXTERNAL:000000a5 -008b2b90 EXTERNAL:000000b3 008b2b90 0085c590 +008b2b90 EXTERNAL:000000b3 +008b2b90 EXTERNAL:000000a5 008b2b90 EXTERNAL:000000b4 008b2b90 EXTERNAL:000000b9 -008b2b90 EXTERNAL:000000a5 -008b2c50 EXTERNAL:000000b3 008b2c50 0085c590 +008b2c50 EXTERNAL:000000b3 +008b2c50 EXTERNAL:000000a5 008b2c50 EXTERNAL:000000b4 008b2c50 EXTERNAL:000000b9 -008b2c50 EXTERNAL:000000a5 008b2d10 0085c590 +008b2d10 EXTERNAL:000000a5 008b2d10 EXTERNAL:000000b4 008b2d10 EXTERNAL:000000b9 -008b2d10 EXTERNAL:000000a5 -008b2d80 EXTERNAL:000000b6 008b2d80 0085c590 +008b2d80 EXTERNAL:000000b6 +008b2d80 EXTERNAL:000000a5 008b2d80 EXTERNAL:000000b4 008b2d80 EXTERNAL:000000b9 -008b2d80 EXTERNAL:000000a5 -008b2e10 EXTERNAL:000000b1 -008b2e10 EXTERNAL:0000009f 008b2e10 0085c590 +008b2e10 EXTERNAL:000000b1 +008b2e10 EXTERNAL:000000a5 +008b2e10 EXTERNAL:0000009f +008b2e10 EXTERNAL:000000b9 008b2e10 EXTERNAL:000000a0 008b2e10 EXTERNAL:000000a8 -008b2e10 EXTERNAL:000000b9 -008b2e10 EXTERNAL:000000a5 008b2eb0 0085c590 -008b2eb0 EXTERNAL:000000b9 008b2eb0 EXTERNAL:000000a5 -008b2f00 EXTERNAL:000000b6 +008b2eb0 EXTERNAL:000000b9 008b2f00 0085c590 -008b2f00 EXTERNAL:000000b9 +008b2f00 EXTERNAL:000000b6 008b2f00 EXTERNAL:000000a5 -008b2fa0 EXTERNAL:000000b3 +008b2f00 EXTERNAL:000000b9 008b2fa0 0085c590 -008b2fa0 EXTERNAL:000000b9 +008b2fa0 EXTERNAL:000000b3 008b2fa0 EXTERNAL:000000a5 +008b2fa0 EXTERNAL:000000b9 008b3010 0085c590 -008b3010 EXTERNAL:000000b9 008b3010 EXTERNAL:000000a5 -008b3060 EXTERNAL:000000b1 +008b3010 EXTERNAL:000000b9 008b3060 0085c590 -008b3060 EXTERNAL:000000b9 -008b3060 EXTERNAL:000000be +008b3060 EXTERNAL:000000b1 008b3060 EXTERNAL:000000a5 -008b30e0 EXTERNAL:000000b6 +008b3060 EXTERNAL:000000be +008b3060 EXTERNAL:000000b9 008b30e0 0085c590 -008b30e0 EXTERNAL:000000b9 +008b30e0 EXTERNAL:000000b6 008b30e0 EXTERNAL:000000a5 -008b3150 0085bfd0 +008b30e0 EXTERNAL:000000b9 008b3150 0085c590 -008b3150 EXTERNAL:000000b9 008b3150 EXTERNAL:000000a5 +008b3150 0085bfd0 +008b3150 EXTERNAL:000000b9 008b31b0 0085c590 -008b31b0 EXTERNAL:000000b9 008b31b0 EXTERNAL:000000a5 +008b31b0 EXTERNAL:000000b9 008b3200 0085c590 -008b3200 EXTERNAL:000000b9 008b3200 EXTERNAL:000000a5 -008b3250 EXTERNAL:000000b1 -008b3250 EXTERNAL:0000009f +008b3200 EXTERNAL:000000b9 008b3250 0085c590 +008b3250 EXTERNAL:000000b1 +008b3250 EXTERNAL:000000a5 +008b3250 EXTERNAL:00000082 +008b3250 EXTERNAL:0000009f +008b3250 EXTERNAL:000000b9 008b3250 EXTERNAL:000000a0 008b3250 EXTERNAL:000000a8 -008b3250 EXTERNAL:000000b9 -008b3250 EXTERNAL:00000082 -008b3250 EXTERNAL:000000a5 -008b3320 0085bfd0 008b3320 0085c590 -008b3320 EXTERNAL:000000b9 008b3320 EXTERNAL:000000a5 +008b3320 0085bfd0 +008b3320 EXTERNAL:000000b9 008b3380 0085c590 -008b3380 EXTERNAL:000000b9 008b3380 EXTERNAL:000000a5 +008b3380 EXTERNAL:000000b9 008b33d0 0085c590 +008b33d0 EXTERNAL:000000a5 008b33d0 EXTERNAL:000000b4 008b33d0 EXTERNAL:000000b9 -008b33d0 EXTERNAL:000000a5 -008b3440 EXTERNAL:000000b6 -008b3440 0085c590 -008b3440 EXTERNAL:000000b9 008b3440 EXTERNAL:000000b7 +008b3440 0085c590 +008b3440 EXTERNAL:000000b6 008b3440 EXTERNAL:000000a5 -008b34c0 0085c590 -008b34c0 EXTERNAL:000000b9 +008b3440 EXTERNAL:000000b9 008b34c0 EXTERNAL:000000b7 +008b34c0 0085c590 008b34c0 EXTERNAL:000000a5 +008b34c0 EXTERNAL:000000b9 +008b3580 0085c590 008b3580 EXTERNAL:000000b1 008b3580 EXTERNAL:000000b6 +008b3580 EXTERNAL:000000a5 008b3580 EXTERNAL:0000009f -008b3580 0085c590 +008b3580 EXTERNAL:000000b9 008b3580 EXTERNAL:000000a0 008b3580 EXTERNAL:000000a8 -008b3580 EXTERNAL:000000b9 -008b3580 EXTERNAL:000000a5 -008b3640 EXTERNAL:000000b6 -008b3640 EXTERNAL:0000009f 008b3640 0085c590 +008b3640 EXTERNAL:000000b6 +008b3640 EXTERNAL:000000a5 +008b3640 EXTERNAL:0000009f +008b3640 EXTERNAL:000000b9 008b3640 EXTERNAL:000000a0 008b3640 EXTERNAL:000000a8 -008b3640 EXTERNAL:000000b9 -008b3640 EXTERNAL:000000a5 -008b3700 EXTERNAL:000000b6 008b3700 0085c590 +008b3700 EXTERNAL:000000b6 +008b3700 EXTERNAL:000000a5 008b3700 EXTERNAL:000000b4 008b3700 EXTERNAL:000000b9 -008b3700 EXTERNAL:000000a5 -008b3790 EXTERNAL:000000b6 008b3790 0085c590 -008b3790 EXTERNAL:000000b9 +008b3790 EXTERNAL:000000b6 008b3790 EXTERNAL:000000a5 +008b3790 EXTERNAL:000000b9 008b3800 0085c590 -008b3800 EXTERNAL:000000b9 008b3800 0085bff0 008b3800 EXTERNAL:000000a5 -008b3860 008baa50 -008b3860 0085bfd0 +008b3800 EXTERNAL:000000b9 008b3860 0085c590 -008b3860 EXTERNAL:000000b9 +008b3860 008baa50 008b3860 EXTERNAL:000000a5 -008b38f0 EXTERNAL:000000b6 +008b3860 0085bfd0 +008b3860 EXTERNAL:000000b9 008b38f0 0085c590 +008b38f0 EXTERNAL:000000b6 +008b38f0 EXTERNAL:000000a5 008b38f0 EXTERNAL:000000b4 008b38f0 EXTERNAL:000000b9 -008b38f0 EXTERNAL:000000a5 +008b3ad0 0085c590 008b3ad0 EXTERNAL:000000b3 008b3ad0 EXTERNAL:000000b6 -008b3ad0 0085c590 +008b3ad0 EXTERNAL:000000a5 008b3ad0 EXTERNAL:000000b4 008b3ad0 EXTERNAL:000000b9 -008b3ad0 EXTERNAL:000000a5 +008b3ba0 0085c590 +008b3ba0 008badb0 008b3ba0 EXTERNAL:000000b3 008b3ba0 EXTERNAL:000000b6 -008b3ba0 0085c590 +008b3ba0 EXTERNAL:000000a5 008b3ba0 EXTERNAL:000000b4 008b3ba0 EXTERNAL:000000b9 -008b3ba0 EXTERNAL:000000a5 -008b3ba0 008badb0 +008b3d60 0085c590 008b3d60 EXTERNAL:000000b3 008b3d60 EXTERNAL:000000b6 008b3d60 008baa50 -008b3d60 0085c590 +008b3d60 EXTERNAL:000000a5 008b3d60 EXTERNAL:000000b4 008b3d60 EXTERNAL:000000b9 -008b3d60 EXTERNAL:000000a5 +008b40a0 0085c590 008b40a0 EXTERNAL:000000b1 008b40a0 EXTERNAL:000000b6 +008b40a0 EXTERNAL:000000a5 008b40a0 EXTERNAL:0000009f -008b40a0 0085c590 +008b40a0 EXTERNAL:000000b9 008b40a0 EXTERNAL:000000a0 008b40a0 EXTERNAL:000000a8 -008b40a0 EXTERNAL:000000b9 -008b40a0 EXTERNAL:000000a5 +008b4160 0085c590 008b4160 EXTERNAL:000000b1 008b4160 008baa50 +008b4160 EXTERNAL:000000a5 008b4160 EXTERNAL:0000009f -008b4160 0085c590 +008b4160 EXTERNAL:000000b9 008b4160 EXTERNAL:000000a0 008b4160 EXTERNAL:000000a8 -008b4160 EXTERNAL:000000b9 -008b4160 EXTERNAL:000000a5 008b4230 0085c590 +008b4230 EXTERNAL:000000a5 008b4230 EXTERNAL:000000b4 008b4230 EXTERNAL:000000b9 -008b4230 EXTERNAL:000000a5 -008b42a0 EXTERNAL:000000b3 008b42a0 0085c590 -008b42a0 EXTERNAL:000000b9 +008b42a0 EXTERNAL:000000b3 008b42a0 EXTERNAL:000000a5 +008b42a0 EXTERNAL:000000b9 +008b4310 0085c590 008b4310 EXTERNAL:000000b3 008b4310 008baa50 +008b4310 EXTERNAL:000000a5 +008b4310 EXTERNAL:00000082 008b4310 EXTERNAL:0000009f -008b4310 0085c590 +008b4310 EXTERNAL:000000b9 008b4310 EXTERNAL:000000a0 008b4310 EXTERNAL:000000a8 -008b4310 EXTERNAL:000000b9 -008b4310 EXTERNAL:00000082 -008b4310 EXTERNAL:000000a5 -008b4470 008baa50 -008b4470 EXTERNAL:0000009f 008b4470 0085c590 +008b4470 008baa50 +008b4470 EXTERNAL:000000a5 +008b4470 EXTERNAL:00000082 +008b4470 EXTERNAL:0000009f +008b4470 EXTERNAL:000000b9 008b4470 EXTERNAL:000000a0 008b4470 EXTERNAL:000000a8 -008b4470 EXTERNAL:000000b9 -008b4470 EXTERNAL:00000082 -008b4470 EXTERNAL:000000a5 -008b4570 008baa50 008b4570 0085c590 +008b4570 008baa50 +008b4570 EXTERNAL:000000a5 +008b4570 EXTERNAL:00000082 008b4570 EXTERNAL:000000b4 008b4570 EXTERNAL:000000b9 -008b4570 EXTERNAL:00000082 -008b4570 EXTERNAL:000000a5 -008b4640 EXTERNAL:0000009f 008b4640 0085c590 +008b4640 EXTERNAL:000000a5 +008b4640 EXTERNAL:0000009f +008b4640 EXTERNAL:000000b9 008b4640 EXTERNAL:000000a0 008b4640 EXTERNAL:000000a8 -008b4640 EXTERNAL:000000b9 -008b4640 EXTERNAL:000000a5 -008b46f0 EXTERNAL:0000009f 008b46f0 0085c590 +008b46f0 EXTERNAL:000000a5 +008b46f0 EXTERNAL:0000009f +008b46f0 EXTERNAL:000000b9 008b46f0 EXTERNAL:000000a0 008b46f0 EXTERNAL:000000a8 -008b46f0 EXTERNAL:000000b9 -008b46f0 EXTERNAL:000000a5 -008b47c0 EXTERNAL:000000b1 -008b47c0 EXTERNAL:0000009f 008b47c0 0085c590 +008b47c0 EXTERNAL:000000b1 +008b47c0 EXTERNAL:000000a5 +008b47c0 EXTERNAL:0000009f +008b47c0 EXTERNAL:000000b9 008b47c0 EXTERNAL:000000a0 008b47c0 EXTERNAL:000000a8 -008b47c0 EXTERNAL:000000b9 -008b47c0 EXTERNAL:000000a5 -008b4860 EXTERNAL:0000009f 008b4860 0085c590 +008b4860 EXTERNAL:000000a5 +008b4860 EXTERNAL:0000009f +008b4860 EXTERNAL:000000b9 008b4860 EXTERNAL:000000a0 008b4860 EXTERNAL:000000a8 -008b4860 EXTERNAL:000000b9 -008b4860 EXTERNAL:000000a5 +008b4a00 0085c590 008b4a00 EXTERNAL:000000b3 008b4a00 EXTERNAL:000000b6 -008b4a00 0085c590 -008b4a00 EXTERNAL:000000b9 008b4a00 EXTERNAL:000000a5 -008b4a90 0085bfd0 +008b4a00 EXTERNAL:000000b9 008b4a90 0085c590 -008b4a90 EXTERNAL:000000b9 008b4a90 EXTERNAL:000000a5 -008b4af0 EXTERNAL:000000b1 -008b4af0 EXTERNAL:0000009f +008b4a90 0085bfd0 +008b4a90 EXTERNAL:000000b9 008b4af0 0085c590 +008b4af0 EXTERNAL:000000b1 +008b4af0 EXTERNAL:000000a5 +008b4af0 EXTERNAL:0000009f +008b4af0 EXTERNAL:000000b9 008b4af0 EXTERNAL:000000a0 008b4af0 EXTERNAL:000000a8 -008b4af0 EXTERNAL:000000b9 -008b4af0 EXTERNAL:000000a5 -008b4b90 EXTERNAL:000000b3 008b4b90 0085c590 -008b4b90 EXTERNAL:000000b9 +008b4b90 EXTERNAL:000000b3 008b4b90 EXTERNAL:000000a5 -008b4c10 EXTERNAL:000000b3 +008b4b90 EXTERNAL:000000b9 008b4c10 0085c590 +008b4c10 EXTERNAL:000000b3 +008b4c10 EXTERNAL:000000a5 008b4c10 EXTERNAL:000000b4 008b4c10 EXTERNAL:000000b9 -008b4c10 EXTERNAL:000000a5 -008b4cb0 0085c050 008b4cb0 0085c590 -008b4cb0 EXTERNAL:000000b9 008b4cb0 EXTERNAL:000000a5 -008b4d20 EXTERNAL:000000b3 +008b4cb0 EXTERNAL:000000b9 +008b4cb0 0085c050 008b4d20 0085c590 +008b4d20 EXTERNAL:000000b3 +008b4d20 EXTERNAL:000000a5 008b4d20 EXTERNAL:000000b4 008b4d20 EXTERNAL:000000b9 -008b4d20 EXTERNAL:000000a5 -008b4da0 EXTERNAL:000000b3 008b4da0 0085c590 +008b4da0 EXTERNAL:000000b3 +008b4da0 EXTERNAL:000000a5 008b4da0 EXTERNAL:000000b4 008b4da0 EXTERNAL:000000b9 -008b4da0 EXTERNAL:000000a5 +008b4e60 EXTERNAL:000000b7 +008b4e60 0085c590 008b4e60 EXTERNAL:000000b3 008b4e60 EXTERNAL:000000b6 -008b4e60 0085c590 -008b4e60 EXTERNAL:000000b9 -008b4e60 EXTERNAL:000000b7 008b4e60 EXTERNAL:000000a5 -008b4ef0 EXTERNAL:000000b6 +008b4e60 EXTERNAL:000000b9 008b4ef0 0085c590 -008b4ef0 EXTERNAL:000000b9 +008b4ef0 EXTERNAL:000000b6 008b4ef0 EXTERNAL:000000a5 +008b4ef0 EXTERNAL:000000b9 008b4f70 0085c590 +008b4f70 EXTERNAL:000000a5 008b4f70 EXTERNAL:000000b4 008b4f70 EXTERNAL:000000b9 -008b4f70 EXTERNAL:000000a5 -008b5040 EXTERNAL:0000009f 008b5040 0085c590 +008b5040 EXTERNAL:000000a5 +008b5040 EXTERNAL:00000082 +008b5040 EXTERNAL:0000009f +008b5040 EXTERNAL:000000b9 008b5040 EXTERNAL:000000a0 008b5040 EXTERNAL:000000a8 -008b5040 EXTERNAL:000000b9 -008b5040 EXTERNAL:00000082 -008b5040 EXTERNAL:000000a5 -008b5120 EXTERNAL:000000b6 -008b5120 0085c590 -008b5120 EXTERNAL:000000b9 008b5120 EXTERNAL:000000b7 +008b5120 0085c590 +008b5120 EXTERNAL:000000b6 008b5120 EXTERNAL:000000a5 +008b5120 EXTERNAL:000000b9 008b5280 0085c590 -008b5280 EXTERNAL:000000b9 008b5280 EXTERNAL:000000a5 -008b5330 EXTERNAL:0000009f +008b5280 EXTERNAL:000000b9 008b5330 0085c590 +008b5330 EXTERNAL:000000a5 +008b5330 EXTERNAL:0000009f +008b5330 EXTERNAL:000000b9 008b5330 EXTERNAL:000000a0 008b5330 EXTERNAL:000000a8 -008b5330 EXTERNAL:000000b9 -008b5330 EXTERNAL:000000a5 -008b5430 0085c050 008b5430 0085c590 -008b5430 EXTERNAL:000000b9 008b5430 EXTERNAL:000000a5 -008b54a0 0085c590 -008b54a0 EXTERNAL:000000b9 +008b5430 EXTERNAL:000000b9 +008b5430 0085c050 008b54a0 EXTERNAL:000000b7 +008b54a0 0085c590 008b54a0 EXTERNAL:000000a5 +008b54a0 EXTERNAL:000000b9 008b5500 0085c590 -008b5500 EXTERNAL:000000b9 008b5500 EXTERNAL:000000a5 -008b5550 EXTERNAL:000000b6 +008b5500 EXTERNAL:000000b9 008b5550 0085c590 -008b5550 EXTERNAL:000000b9 +008b5550 EXTERNAL:000000b6 008b5550 EXTERNAL:000000a5 +008b5550 EXTERNAL:000000b9 008b55d0 EXTERNAL:00000220 008b55d0 0085c590 008b55d0 00aef15c -008b55d0 EXTERNAL:000000b9 008b55d0 EXTERNAL:000000b0 -008b55d0 EXTERNAL:000000a5 008b55d0 00aef12b -008b5690 EXTERNAL:000000b6 +008b55d0 EXTERNAL:000000a5 +008b55d0 EXTERNAL:000000b9 008b5690 0085c590 +008b5690 EXTERNAL:000000b6 +008b5690 EXTERNAL:000000a5 008b5690 EXTERNAL:000000b4 008b5690 EXTERNAL:000000b9 -008b5690 EXTERNAL:000000a5 -008b5720 EXTERNAL:000000b3 008b5720 0085c590 -008b5720 EXTERNAL:000000b9 +008b5720 EXTERNAL:000000b3 008b5720 EXTERNAL:000000a5 -008b5790 EXTERNAL:000000b6 +008b5720 EXTERNAL:000000b9 008b5790 0085c590 +008b5790 EXTERNAL:000000b6 +008b5790 EXTERNAL:000000a5 008b5790 EXTERNAL:000000b4 008b5790 EXTERNAL:000000b9 -008b5790 EXTERNAL:000000a5 +008b5820 0085c590 008b5820 EXTERNAL:000000b3 008b5820 EXTERNAL:000000b6 -008b5820 0085c590 -008b5820 EXTERNAL:000000b9 008b5820 EXTERNAL:000000a5 -008b58a0 EXTERNAL:000000b1 -008b58a0 EXTERNAL:0000009f +008b5820 EXTERNAL:000000b9 008b58a0 0085c590 +008b58a0 EXTERNAL:000000b1 +008b58a0 EXTERNAL:000000a5 +008b58a0 EXTERNAL:0000009f +008b58a0 EXTERNAL:000000b9 008b58a0 EXTERNAL:000000a0 008b58a0 EXTERNAL:000000a8 -008b58a0 EXTERNAL:000000b9 -008b58a0 EXTERNAL:000000a5 +008b5940 0085c590 008b5940 EXTERNAL:000000b3 008b5940 EXTERNAL:000000b6 -008b5940 0085bfd0 -008b5940 0085c590 -008b5940 EXTERNAL:000000b9 008b5940 EXTERNAL:000000a5 +008b5940 0085bfd0 +008b5940 EXTERNAL:000000b9 +008b59d0 0085c590 008b59d0 EXTERNAL:000000b1 008b59d0 EXTERNAL:000000b6 +008b59d0 EXTERNAL:000000a5 008b59d0 EXTERNAL:0000009f -008b59d0 0085c590 +008b59d0 EXTERNAL:000000b9 008b59d0 EXTERNAL:000000a0 008b59d0 EXTERNAL:000000a8 -008b59d0 EXTERNAL:000000b9 -008b59d0 EXTERNAL:000000a5 -008b5aa0 EXTERNAL:000000b1 -008b5aa0 EXTERNAL:0000009f 008b5aa0 0085c590 +008b5aa0 EXTERNAL:000000b1 +008b5aa0 EXTERNAL:000000a5 +008b5aa0 EXTERNAL:0000009f +008b5aa0 EXTERNAL:000000b9 008b5aa0 EXTERNAL:000000a0 008b5aa0 EXTERNAL:000000a8 -008b5aa0 EXTERNAL:000000b9 -008b5aa0 EXTERNAL:000000a5 -008b5b40 EXTERNAL:0000009f 008b5b40 0085c590 +008b5b40 EXTERNAL:000000a5 +008b5b40 EXTERNAL:0000009f +008b5b40 EXTERNAL:000000b9 008b5b40 EXTERNAL:000000a0 008b5b40 EXTERNAL:000000a8 -008b5b40 EXTERNAL:000000b9 -008b5b40 EXTERNAL:000000a5 +008b5be0 0085c590 008b5be0 EXTERNAL:000000b3 008b5be0 EXTERNAL:000000b6 -008b5be0 0085bfd0 -008b5be0 0085c590 -008b5be0 EXTERNAL:000000b9 -008b5be0 EXTERNAL:000000a5 008b5be0 00aef12b +008b5be0 EXTERNAL:000000a5 008b5be0 008bb0d0 -008b5cf0 0085bfd0 +008b5be0 0085bfd0 +008b5be0 EXTERNAL:000000b9 008b5cf0 0085c590 -008b5cf0 EXTERNAL:000000b9 008b5cf0 EXTERNAL:000000a5 +008b5cf0 0085bfd0 +008b5cf0 EXTERNAL:000000b9 008b5d50 0085c590 +008b5d50 EXTERNAL:000000a5 008b5d50 EXTERNAL:000000b4 008b5d50 EXTERNAL:000000b9 -008b5d50 EXTERNAL:000000a5 -008b5dc0 EXTERNAL:000000b1 -008b5dc0 EXTERNAL:0000009f 008b5dc0 0085c590 +008b5dc0 EXTERNAL:000000b1 +008b5dc0 EXTERNAL:000000a5 +008b5dc0 EXTERNAL:0000009f +008b5dc0 EXTERNAL:000000b9 008b5dc0 EXTERNAL:000000a0 008b5dc0 EXTERNAL:000000a8 -008b5dc0 EXTERNAL:000000b9 -008b5dc0 EXTERNAL:000000a5 008b5e60 0085c590 +008b5e60 EXTERNAL:000000a5 008b5e60 EXTERNAL:000000b4 008b5e60 EXTERNAL:000000b9 -008b5e60 EXTERNAL:000000a5 -008b5ed0 EXTERNAL:000000b3 008b5ed0 0085c590 -008b5ed0 EXTERNAL:000000b9 +008b5ed0 EXTERNAL:000000b3 008b5ed0 EXTERNAL:000000a5 +008b5ed0 EXTERNAL:000000b9 008b5f50 0085c590 -008b5f50 EXTERNAL:000000b9 -008b5f50 EXTERNAL:00000082 008b5f50 EXTERNAL:000000a5 -008b5fe0 0085c050 +008b5f50 EXTERNAL:00000082 +008b5f50 EXTERNAL:000000b9 008b5fe0 0085c590 -008b5fe0 EXTERNAL:000000b9 008b5fe0 EXTERNAL:000000a5 -008b6050 EXTERNAL:000000b6 +008b5fe0 EXTERNAL:000000b9 +008b5fe0 0085c050 008b6050 0085c590 +008b6050 EXTERNAL:000000b6 +008b6050 EXTERNAL:000000a5 008b6050 EXTERNAL:000000b4 008b6050 EXTERNAL:000000b9 -008b6050 EXTERNAL:000000a5 -008b60e0 0085c050 008b60e0 0085c590 -008b60e0 EXTERNAL:000000b9 008b60e0 EXTERNAL:000000a5 -008b6150 0040ccd0 -008b6150 008ba9c0 +008b60e0 EXTERNAL:000000b9 +008b60e0 0085c050 008b6150 0040cf50 008b6150 0085c590 -008b6150 EXTERNAL:000000b2 +008b6150 0040ccd0 008b6150 0040d040 -008b6150 EXTERNAL:000000b9 -008b6150 EXTERNAL:000000a5 +008b6150 EXTERNAL:000000b2 008b6150 00aef12b +008b6150 EXTERNAL:000000a5 +008b6150 EXTERNAL:000000b9 +008b6150 008ba9c0 008b6260 0085c590 -008b6260 EXTERNAL:000000b9 008b6260 EXTERNAL:000000a5 +008b6260 EXTERNAL:000000b9 008b62b0 0085c590 +008b62b0 EXTERNAL:000000a5 008b62b0 EXTERNAL:000000b4 008b62b0 EXTERNAL:000000b9 -008b62b0 EXTERNAL:000000a5 -008b6320 EXTERNAL:000000b6 008b6320 0085c590 -008b6320 EXTERNAL:000000b9 +008b6320 EXTERNAL:000000b6 008b6320 EXTERNAL:000000a5 +008b6320 EXTERNAL:000000b9 008b6390 0085c590 -008b6390 EXTERNAL:000000b9 008b6390 0085bff0 008b6390 EXTERNAL:000000a5 +008b6390 EXTERNAL:000000b9 008b63f0 EXTERNAL:00000220 008b63f0 0085c590 008b63f0 00aef15c -008b63f0 EXTERNAL:000000b9 008b63f0 EXTERNAL:000000b0 -008b63f0 EXTERNAL:000000a5 008b63f0 00aef12b +008b63f0 EXTERNAL:000000a5 +008b63f0 EXTERNAL:000000b9 008b64b0 0085c590 -008b64b0 EXTERNAL:000000b9 008b64b0 0085bff0 008b64b0 EXTERNAL:000000a5 -008b6510 EXTERNAL:000000b6 -008b6510 0085c590 -008b6510 EXTERNAL:000000b9 +008b64b0 EXTERNAL:000000b9 008b6510 EXTERNAL:000000b7 +008b6510 0085c590 +008b6510 EXTERNAL:000000b6 008b6510 EXTERNAL:000000a5 -008b6590 EXTERNAL:000000b6 +008b6510 EXTERNAL:000000b9 008b6590 0085c590 +008b6590 EXTERNAL:000000b6 +008b6590 EXTERNAL:000000a5 008b6590 EXTERNAL:000000b4 008b6590 EXTERNAL:000000b9 -008b6590 EXTERNAL:000000a5 -008b6620 EXTERNAL:000000b6 008b6620 0085c590 +008b6620 EXTERNAL:000000b6 +008b6620 EXTERNAL:000000a5 008b6620 EXTERNAL:000000b4 008b6620 EXTERNAL:000000b9 -008b6620 EXTERNAL:000000a5 -008b66b0 EXTERNAL:000000b6 008b66b0 0085c590 +008b66b0 EXTERNAL:000000b6 +008b66b0 EXTERNAL:000000a5 008b66b0 EXTERNAL:000000b4 008b66b0 EXTERNAL:000000b9 -008b66b0 EXTERNAL:000000a5 -008b6740 EXTERNAL:000000b6 -008b6740 0085c590 -008b6740 EXTERNAL:000000b9 008b6740 EXTERNAL:000000b7 +008b6740 0085c590 +008b6740 EXTERNAL:000000b6 008b6740 EXTERNAL:000000a5 +008b6740 EXTERNAL:000000b9 +008b6840 0085c590 008b6840 EXTERNAL:000000b3 008b6840 EXTERNAL:000000b6 -008b6840 0085c590 +008b6840 EXTERNAL:000000a5 008b6840 EXTERNAL:000000b4 008b6840 EXTERNAL:000000b9 -008b6840 EXTERNAL:000000a5 -008b6910 EXTERNAL:000000b6 008b6910 0085c590 +008b6910 EXTERNAL:000000b6 +008b6910 EXTERNAL:000000a5 008b6910 EXTERNAL:000000b4 008b6910 EXTERNAL:000000b9 -008b6910 EXTERNAL:000000a5 008b69a0 0085c590 -008b69a0 EXTERNAL:000000b9 008b69a0 EXTERNAL:000000a5 -008b69f0 EXTERNAL:000000b3 -008b69f0 0085bfd0 +008b69a0 EXTERNAL:000000b9 008b69f0 0085c590 -008b69f0 EXTERNAL:000000b9 +008b69f0 EXTERNAL:000000b3 008b69f0 EXTERNAL:000000a5 +008b69f0 0085bfd0 +008b69f0 EXTERNAL:000000b9 +008b6a70 EXTERNAL:000000b7 +008b6a70 0085c590 008b6a70 EXTERNAL:000000b3 008b6a70 EXTERNAL:000000b6 -008b6a70 0085c590 -008b6a70 EXTERNAL:000000b9 -008b6a70 EXTERNAL:000000b7 008b6a70 EXTERNAL:000000a5 -008b6b50 EXTERNAL:000000b6 -008b6b50 0085c590 -008b6b50 EXTERNAL:000000b9 +008b6a70 EXTERNAL:000000b9 008b6b50 EXTERNAL:000000b7 +008b6b50 0085c590 +008b6b50 EXTERNAL:000000b6 008b6b50 EXTERNAL:000000a5 -008b6bd0 EXTERNAL:000000b6 -008b6bd0 0085bfd0 +008b6b50 EXTERNAL:000000b9 008b6bd0 0085c590 -008b6bd0 EXTERNAL:000000b9 +008b6bd0 EXTERNAL:000000b6 008b6bd0 EXTERNAL:000000a5 -008b6c80 EXTERNAL:000000b6 +008b6bd0 0085bfd0 +008b6bd0 EXTERNAL:000000b9 008b6c80 0085c590 -008b6c80 EXTERNAL:000000b9 +008b6c80 EXTERNAL:000000b6 008b6c80 EXTERNAL:000000a5 -008b6cf0 EXTERNAL:000000b6 +008b6c80 EXTERNAL:000000b9 008b6cf0 0085c590 +008b6cf0 EXTERNAL:000000b6 +008b6cf0 EXTERNAL:000000a5 008b6cf0 EXTERNAL:000000b4 008b6cf0 EXTERNAL:000000b9 -008b6cf0 EXTERNAL:000000a5 -008b6d80 EXTERNAL:000000b6 -008b6d80 0085c590 -008b6d80 EXTERNAL:000000b9 008b6d80 EXTERNAL:000000b7 +008b6d80 0085c590 +008b6d80 EXTERNAL:000000b6 008b6d80 EXTERNAL:000000a5 -008b6e00 0085bfd0 +008b6d80 EXTERNAL:000000b9 008b6e00 0085c590 -008b6e00 EXTERNAL:000000b9 008b6e00 EXTERNAL:000000a5 -008b6e60 EXTERNAL:000000b6 -008b6e60 0085bfd0 +008b6e00 0085bfd0 +008b6e00 EXTERNAL:000000b9 008b6e60 0085c590 -008b6e60 EXTERNAL:000000b9 +008b6e60 EXTERNAL:000000b6 008b6e60 EXTERNAL:000000a5 -008b6ef0 EXTERNAL:000000b6 +008b6e60 0085bfd0 +008b6e60 EXTERNAL:000000b9 008b6ef0 0085c590 -008b6ef0 EXTERNAL:000000b9 +008b6ef0 EXTERNAL:000000b6 008b6ef0 EXTERNAL:000000a5 -008b6f70 EXTERNAL:000000b6 +008b6ef0 EXTERNAL:000000b9 008b6f70 0085c590 -008b6f70 EXTERNAL:000000b9 +008b6f70 EXTERNAL:000000b6 008b6f70 EXTERNAL:000000a5 +008b6f70 EXTERNAL:000000b9 008b7010 0085c590 -008b7010 EXTERNAL:000000b9 008b7010 EXTERNAL:000000a5 +008b7010 EXTERNAL:000000b9 008b70c0 0085c590 +008b70c0 EXTERNAL:000000a5 008b70c0 EXTERNAL:000000b4 008b70c0 EXTERNAL:000000b9 -008b70c0 EXTERNAL:000000a5 -008b7130 EXTERNAL:000000b3 008b7130 0085c590 -008b7130 EXTERNAL:000000b9 +008b7130 EXTERNAL:000000b3 008b7130 EXTERNAL:000000a5 +008b7130 EXTERNAL:000000b9 008b71a0 0085c590 -008b71a0 EXTERNAL:000000b9 008b71a0 EXTERNAL:000000a5 +008b71a0 EXTERNAL:000000b9 008b71f0 0085c590 -008b71f0 EXTERNAL:000000b9 008b71f0 EXTERNAL:000000a5 +008b71f0 EXTERNAL:000000b9 008b7240 0085c590 +008b7240 EXTERNAL:000000a5 008b7240 EXTERNAL:000000b4 008b7240 EXTERNAL:000000b9 -008b7240 EXTERNAL:000000a5 +008b72b0 0085c590 008b72b0 EXTERNAL:000000b1 008b72b0 EXTERNAL:000000b6 008b72b0 008baa50 +008b72b0 EXTERNAL:000000a5 008b72b0 EXTERNAL:0000009f -008b72b0 0085c590 +008b72b0 EXTERNAL:000000b9 008b72b0 EXTERNAL:000000a0 008b72b0 EXTERNAL:000000a8 -008b72b0 EXTERNAL:000000b9 -008b72b0 EXTERNAL:000000a5 +008b7630 0085c590 008b7630 EXTERNAL:000000b3 008b7630 EXTERNAL:000000b6 008b7630 008baa50 -008b7630 0085c590 -008b7630 EXTERNAL:000000b9 -008b7630 EXTERNAL:00000082 008b7630 EXTERNAL:000000a5 +008b7630 EXTERNAL:00000082 +008b7630 EXTERNAL:000000b9 +008b78f0 008ba900 +008b78f0 0085c590 008b78f0 EXTERNAL:000000b3 008b78f0 EXTERNAL:000000b6 008b78f0 008baa50 -008b78f0 0085c590 -008b78f0 EXTERNAL:000000b9 -008b78f0 EXTERNAL:00000082 008b78f0 EXTERNAL:000000a5 -008b78f0 008ba900 -008b7b70 008baa50 +008b78f0 EXTERNAL:00000082 +008b78f0 EXTERNAL:000000b9 008b7b70 0085c590 -008b7b70 EXTERNAL:000000b9 -008b7b70 EXTERNAL:00000082 +008b7b70 008baa50 008b7b70 EXTERNAL:000000a5 +008b7b70 EXTERNAL:00000082 +008b7b70 EXTERNAL:000000b9 +008b7d30 008ba900 +008b7d30 0085c590 008b7d30 EXTERNAL:000000b6 008b7d30 008baa50 -008b7d30 0085c590 -008b7d30 EXTERNAL:000000b9 -008b7d30 EXTERNAL:00000082 008b7d30 EXTERNAL:000000a5 -008b7d30 008ba900 -008b80f0 EXTERNAL:000000b3 +008b7d30 EXTERNAL:00000082 +008b7d30 EXTERNAL:000000b9 008b80f0 0085c590 +008b80f0 EXTERNAL:000000b3 +008b80f0 EXTERNAL:000000a5 008b80f0 EXTERNAL:000000b4 008b80f0 EXTERNAL:000000b9 -008b80f0 EXTERNAL:000000a5 -008b81b0 008baa50 008b81b0 0085c590 -008b81b0 EXTERNAL:000000b9 -008b81b0 EXTERNAL:000000a5 -008b81b0 00aef12b 008b81b0 008bacd0 -008b82d0 EXTERNAL:000000b1 -008b82d0 EXTERNAL:0000009f +008b81b0 008baa50 +008b81b0 00aef12b +008b81b0 EXTERNAL:000000a5 +008b81b0 EXTERNAL:000000b9 008b82d0 0085c590 +008b82d0 EXTERNAL:000000b1 +008b82d0 EXTERNAL:000000a5 +008b82d0 EXTERNAL:0000009f +008b82d0 EXTERNAL:000000b9 008b82d0 EXTERNAL:000000a0 008b82d0 EXTERNAL:000000a8 -008b82d0 EXTERNAL:000000b9 -008b82d0 EXTERNAL:000000a5 -008b8370 EXTERNAL:000000b1 -008b8370 EXTERNAL:0000009f 008b8370 0085c590 +008b8370 EXTERNAL:000000b1 +008b8370 EXTERNAL:000000a5 +008b8370 EXTERNAL:0000009f +008b8370 EXTERNAL:000000b9 008b8370 EXTERNAL:000000a0 008b8370 EXTERNAL:000000a8 -008b8370 EXTERNAL:000000b9 -008b8370 EXTERNAL:000000a5 -008b8410 EXTERNAL:000000b1 -008b8410 EXTERNAL:0000009f 008b8410 0085c590 +008b8410 EXTERNAL:000000b1 +008b8410 EXTERNAL:000000a5 +008b8410 EXTERNAL:0000009f +008b8410 EXTERNAL:000000b9 008b8410 EXTERNAL:000000a0 008b8410 EXTERNAL:000000a8 -008b8410 EXTERNAL:000000b9 -008b8410 EXTERNAL:000000a5 +008b84b0 0085c590 008b84b0 EXTERNAL:000000b1 008b84b0 EXTERNAL:000000b6 +008b84b0 EXTERNAL:000000a5 008b84b0 EXTERNAL:0000009f -008b84b0 0085c590 +008b84b0 EXTERNAL:000000b9 008b84b0 EXTERNAL:000000a0 008b84b0 EXTERNAL:000000a8 -008b84b0 EXTERNAL:000000b9 -008b84b0 EXTERNAL:000000a5 +008b8570 0085c590 008b8570 EXTERNAL:000000b1 008b8570 008baa50 +008b8570 EXTERNAL:000000a5 008b8570 EXTERNAL:0000009f -008b8570 0085c590 +008b8570 EXTERNAL:000000b9 008b8570 EXTERNAL:000000a0 008b8570 EXTERNAL:000000a8 -008b8570 EXTERNAL:000000b9 -008b8570 EXTERNAL:000000a5 +008b8640 0085c590 008b8640 EXTERNAL:000000b1 008b8640 008baa50 +008b8640 EXTERNAL:000000a5 +008b8640 EXTERNAL:00000082 008b8640 EXTERNAL:0000009f -008b8640 0085c590 +008b8640 EXTERNAL:000000b9 008b8640 EXTERNAL:000000a0 008b8640 EXTERNAL:000000a8 -008b8640 EXTERNAL:000000b9 -008b8640 EXTERNAL:00000082 -008b8640 EXTERNAL:000000a5 008b8740 0085c590 -008b8740 EXTERNAL:000000b9 008b8740 0085bff0 008b8740 EXTERNAL:000000a5 -008b87a0 EXTERNAL:000000b1 -008b87a0 EXTERNAL:0000009f +008b8740 EXTERNAL:000000b9 008b87a0 0085c590 +008b87a0 EXTERNAL:000000b1 +008b87a0 EXTERNAL:000000a5 +008b87a0 EXTERNAL:0000009f +008b87a0 EXTERNAL:000000b9 008b87a0 EXTERNAL:000000a0 008b87a0 EXTERNAL:000000a8 -008b87a0 EXTERNAL:000000b9 -008b87a0 EXTERNAL:000000a5 -008b8840 EXTERNAL:000000b1 -008b8840 EXTERNAL:0000009f 008b8840 0085c590 +008b8840 EXTERNAL:000000b1 +008b8840 EXTERNAL:000000a5 +008b8840 EXTERNAL:0000009f +008b8840 EXTERNAL:000000b9 008b8840 EXTERNAL:000000a0 008b8840 EXTERNAL:000000a8 -008b8840 EXTERNAL:000000b9 -008b8840 EXTERNAL:000000a5 -008b88e0 EXTERNAL:000000b1 -008b88e0 EXTERNAL:0000009f 008b88e0 0085c590 +008b88e0 EXTERNAL:000000b1 +008b88e0 EXTERNAL:000000a5 +008b88e0 EXTERNAL:0000009f +008b88e0 EXTERNAL:000000b9 008b88e0 EXTERNAL:000000a0 008b88e0 EXTERNAL:000000a8 -008b88e0 EXTERNAL:000000b9 -008b88e0 EXTERNAL:000000a5 -008b8980 EXTERNAL:000000b1 -008b8980 EXTERNAL:0000009f 008b8980 0085c590 +008b8980 EXTERNAL:000000b1 +008b8980 EXTERNAL:000000a5 +008b8980 EXTERNAL:0000009f +008b8980 EXTERNAL:000000b9 008b8980 EXTERNAL:000000a0 008b8980 EXTERNAL:000000a8 -008b8980 EXTERNAL:000000b9 -008b8980 EXTERNAL:000000a5 -008b8b30 EXTERNAL:000000b6 008b8b30 0085c590 -008b8b30 EXTERNAL:000000b9 +008b8b30 EXTERNAL:000000b6 008b8b30 EXTERNAL:000000a5 +008b8b30 EXTERNAL:000000b9 +008b8bb0 0085c590 008b8bb0 EXTERNAL:000000b3 008b8bb0 EXTERNAL:000000b6 -008b8bb0 0085c590 -008b8bb0 EXTERNAL:000000b9 008b8bb0 EXTERNAL:000000a5 +008b8bb0 EXTERNAL:000000b9 +008b8c30 0085c590 008b8c30 EXTERNAL:000000b3 008b8c30 EXTERNAL:000000b6 -008b8c30 0085c590 -008b8c30 EXTERNAL:000000b9 008b8c30 EXTERNAL:000000a5 -008b8ce0 EXTERNAL:000000b6 +008b8c30 EXTERNAL:000000b9 008b8ce0 0085c590 +008b8ce0 EXTERNAL:000000b6 +008b8ce0 EXTERNAL:000000a5 008b8ce0 EXTERNAL:000000b4 008b8ce0 EXTERNAL:000000b9 -008b8ce0 EXTERNAL:000000a5 +008b8d70 0085c590 008b8d70 EXTERNAL:000000b3 008b8d70 EXTERNAL:000000b6 -008b8d70 0085c590 -008b8d70 EXTERNAL:000000b9 008b8d70 EXTERNAL:000000a5 -008b8df0 EXTERNAL:0000009f +008b8d70 EXTERNAL:000000b9 008b8df0 0085c590 +008b8df0 EXTERNAL:000000a5 +008b8df0 EXTERNAL:0000009f +008b8df0 EXTERNAL:000000b9 008b8df0 EXTERNAL:000000a0 008b8df0 EXTERNAL:000000a8 -008b8df0 EXTERNAL:000000b9 -008b8df0 EXTERNAL:000000a5 -008b8e80 0085bfd0 008b8e80 0085c590 -008b8e80 EXTERNAL:000000b9 008b8e80 EXTERNAL:000000a5 -008b8ee0 EXTERNAL:000000b6 +008b8e80 0085bfd0 +008b8e80 EXTERNAL:000000b9 008b8ee0 0085c590 +008b8ee0 EXTERNAL:000000b6 +008b8ee0 EXTERNAL:000000a5 008b8ee0 EXTERNAL:000000b4 008b8ee0 EXTERNAL:000000b9 -008b8ee0 EXTERNAL:000000a5 008b8f70 0085c590 -008b8f70 EXTERNAL:000000b9 008b8f70 EXTERNAL:000000b5 008b8f70 EXTERNAL:000000a5 -008b8fe0 EXTERNAL:000000b6 +008b8f70 EXTERNAL:000000b9 008b8fe0 0085c590 -008b8fe0 EXTERNAL:000000b9 -008b8fe0 EXTERNAL:00000082 +008b8fe0 EXTERNAL:000000b6 008b8fe0 EXTERNAL:000000a5 -008b9070 0085c050 +008b8fe0 EXTERNAL:00000082 +008b8fe0 EXTERNAL:000000b9 008b9070 0085c590 -008b9070 EXTERNAL:000000b9 008b9070 EXTERNAL:000000a5 -008b91d0 EXTERNAL:000000b1 -008b91d0 EXTERNAL:0000009f +008b9070 EXTERNAL:000000b9 +008b9070 0085c050 008b91d0 0085c590 +008b91d0 EXTERNAL:000000b1 +008b91d0 EXTERNAL:000000a5 +008b91d0 EXTERNAL:0000009f +008b91d0 EXTERNAL:000000b9 008b91d0 EXTERNAL:000000a0 008b91d0 EXTERNAL:000000a8 -008b91d0 EXTERNAL:000000b9 -008b91d0 EXTERNAL:000000a5 +008b9270 0085c590 008b9270 EXTERNAL:000000b3 008b9270 008bb070 -008b9270 0085c590 -008b9270 EXTERNAL:000000b9 -008b9270 EXTERNAL:00000082 008b9270 EXTERNAL:000000a5 +008b9270 EXTERNAL:00000082 +008b9270 EXTERNAL:000000b9 +008b9380 0085c590 008b9380 EXTERNAL:000000b6 008b9380 008bb070 -008b9380 0085c590 -008b9380 EXTERNAL:000000b9 -008b9380 EXTERNAL:00000082 008b9380 EXTERNAL:000000a5 -008b96d0 EXTERNAL:000000b6 +008b9380 EXTERNAL:00000082 +008b9380 EXTERNAL:000000b9 008b96d0 0085c590 -008b96d0 EXTERNAL:000000b9 -008b96d0 EXTERNAL:00000082 +008b96d0 EXTERNAL:000000b6 008b96d0 EXTERNAL:000000a5 -008b9760 EXTERNAL:000000b6 +008b96d0 EXTERNAL:00000082 +008b96d0 EXTERNAL:000000b9 008b9760 0085c590 -008b9760 EXTERNAL:000000b9 +008b9760 EXTERNAL:000000b6 008b9760 EXTERNAL:000000a5 +008b9760 EXTERNAL:000000b9 008b97d0 0085c590 -008b97d0 EXTERNAL:000000b9 008b97d0 EXTERNAL:000000a5 -008b9820 EXTERNAL:000000b6 +008b97d0 EXTERNAL:000000b9 008b9820 0085c590 +008b9820 EXTERNAL:000000b6 +008b9820 EXTERNAL:000000a5 008b9820 EXTERNAL:000000b4 008b9820 EXTERNAL:000000b9 -008b9820 EXTERNAL:000000a5 -008b98b0 EXTERNAL:000000b6 008b98b0 0085c590 -008b98b0 EXTERNAL:000000b9 -008b98b0 EXTERNAL:00000082 +008b98b0 EXTERNAL:000000b6 008b98b0 EXTERNAL:000000a5 -008b9950 EXTERNAL:000000b6 +008b98b0 EXTERNAL:00000082 +008b98b0 EXTERNAL:000000b9 008b9950 0085c590 -008b9950 EXTERNAL:000000b9 +008b9950 EXTERNAL:000000b6 008b9950 EXTERNAL:000000b5 008b9950 EXTERNAL:000000a5 -008b99f0 EXTERNAL:000000b6 +008b9950 EXTERNAL:000000b9 008b99f0 0085c590 -008b99f0 EXTERNAL:000000b9 -008b99f0 EXTERNAL:00000082 +008b99f0 EXTERNAL:000000b6 008b99f0 EXTERNAL:000000a5 -008b9a80 EXTERNAL:000000b6 +008b99f0 EXTERNAL:00000082 +008b99f0 EXTERNAL:000000b9 008b9a80 0085c590 -008b9a80 EXTERNAL:000000b9 -008b9a80 EXTERNAL:00000082 +008b9a80 EXTERNAL:000000b6 008b9a80 EXTERNAL:000000a5 -008b9b20 EXTERNAL:000000b6 +008b9a80 EXTERNAL:00000082 +008b9a80 EXTERNAL:000000b9 008b9b20 0085c590 -008b9b20 EXTERNAL:000000b9 +008b9b20 EXTERNAL:000000b6 008b9b20 EXTERNAL:000000a5 +008b9b20 EXTERNAL:000000b9 008b9b90 0085c590 -008b9b90 EXTERNAL:000000b9 -008b9b90 EXTERNAL:00000082 008b9b90 EXTERNAL:000000a5 +008b9b90 EXTERNAL:00000082 +008b9b90 EXTERNAL:000000b9 008b9c20 0085c590 -008b9c20 EXTERNAL:000000b9 008b9c20 EXTERNAL:000000a5 +008b9c20 EXTERNAL:000000b9 +008b9c70 0085c590 008b9c70 EXTERNAL:000000b3 008b9c70 EXTERNAL:000000b6 -008b9c70 0085c590 -008b9c70 EXTERNAL:000000b9 008b9c70 EXTERNAL:000000a5 -008b9cf0 EXTERNAL:000000b6 +008b9c70 EXTERNAL:000000b9 008b9cf0 0085c590 +008b9cf0 EXTERNAL:000000b6 +008b9cf0 EXTERNAL:000000a5 008b9cf0 EXTERNAL:000000b4 008b9cf0 EXTERNAL:000000b9 -008b9cf0 EXTERNAL:000000a5 008b9d80 0085c590 +008b9d80 EXTERNAL:000000a5 008b9d80 EXTERNAL:000000b4 008b9d80 EXTERNAL:000000b9 -008b9d80 EXTERNAL:000000a5 008b9df0 0085c590 -008b9df0 EXTERNAL:000000b9 -008b9df0 EXTERNAL:00000082 008b9df0 EXTERNAL:000000a5 -008b9e80 0085bfd0 +008b9df0 EXTERNAL:00000082 +008b9df0 EXTERNAL:000000b9 008b9e80 0085c590 -008b9e80 EXTERNAL:000000b9 008b9e80 EXTERNAL:000000a5 -008b9ee0 008baa50 -008b9ee0 EXTERNAL:000000b6 +008b9e80 0085bfd0 +008b9e80 EXTERNAL:000000b9 008b9ee0 0085c590 +008b9ee0 EXTERNAL:000000b6 +008b9ee0 008baa50 008b9ee0 EXTERNAL:000000b9 -008b9ff0 0040ccd0 008b9ff0 0040cf50 008b9ff0 EXTERNAL:00000220 +008b9ff0 0040ccd0 008b9ff0 00aef15c 008b9ff0 EXTERNAL:000000b2 008b9ff0 00aef12b @@ -41332,43 +41332,43 @@ 008ba0c0 EXTERNAL:0000007e 008ba130 00aef15c 008ba150 EXTERNAL:000001bc -008ba170 00407f10 008ba170 0040d040 +008ba170 00407f10 008ba170 004087a0 008ba1e0 EXTERNAL:00000082 008ba300 EXTERNAL:0000009f 008ba300 EXTERNAL:000000a0 008ba300 EXTERNAL:000000a8 -008ba360 0040ccd0 008ba360 0040cf50 008ba360 EXTERNAL:00000220 +008ba360 0040ccd0 +008ba360 0040d040 008ba360 00aef15c 008ba360 EXTERNAL:000000b2 -008ba360 0040d040 -008ba360 EXTERNAL:00000082 008ba360 00aef12b -008ba500 EXTERNAL:000000b6 +008ba360 EXTERNAL:00000082 008ba500 0085c590 -008ba500 EXTERNAL:000000b9 +008ba500 EXTERNAL:000000b6 008ba500 00aef12b 008ba500 008bb0d0 -008ba5e0 0040ccd0 +008ba500 EXTERNAL:000000b9 008ba5e0 0040cf50 -008ba5e0 EXTERNAL:000000b6 008ba5e0 EXTERNAL:00000220 +008ba5e0 0040ccd0 008ba5e0 00aef15c +008ba5e0 EXTERNAL:000000b6 008ba5e0 EXTERNAL:000000b2 008ba5e0 00aef12b -008ba6d0 EXTERNAL:000000b3 -008ba6d0 0040ccd0 008ba6d0 0040cf50 008ba6d0 EXTERNAL:00000220 +008ba6d0 0040ccd0 008ba6d0 00aef15c +008ba6d0 EXTERNAL:000000b3 008ba6d0 EXTERNAL:000000b2 008ba6d0 00aef12b -008ba7c0 0040ccd0 008ba7c0 0040cf50 008ba7c0 EXTERNAL:00000220 +008ba7c0 0040ccd0 008ba7c0 00aef15c 008ba7c0 EXTERNAL:000000b2 008ba7c0 00aef12b @@ -41385,20 +41385,20 @@ 008baa50 0085c590 008baa50 EXTERNAL:000000b9 008baa50 EXTERNAL:0000009d -008baab0 008bb070 008baab0 0085c590 -008baab0 EXTERNAL:000000b9 +008baab0 008bb070 008baab0 EXTERNAL:00000082 +008baab0 EXTERNAL:000000b9 008baab0 EXTERNAL:0000009d 008bac00 0085c590 008bac00 EXTERNAL:000000b9 008bac00 EXTERNAL:0000009d -008bac60 008baa50 008bac60 0085c590 +008bac60 008baa50 008bac60 EXTERNAL:000000b9 +008bacd0 008ba900 008bacd0 EXTERNAL:000000b6 008bacd0 EXTERNAL:00000082 -008bacd0 008ba900 008badb0 0085c590 008badb0 EXTERNAL:000000b9 008badb0 EXTERNAL:0000009d @@ -41407,57 +41407,57 @@ 008bae70 00aef15c 008baea0 00aef15c 008baed0 00aef15c -008baf00 00aef15c 008baf00 00a648b0 +008baf00 00aef15c 008baf80 00aef15c 008bafb0 00aef15c 008bafe0 00aef15c 008bb010 0085c590 -008bb010 004c5850 008bb010 EXTERNAL:000000b9 008bb010 EXTERNAL:0000009d +008bb010 004c5850 008bb070 0085c590 008bb070 EXTERNAL:000000b9 008bb070 EXTERNAL:0000009d 008bb0d0 0085c590 008bb0d0 EXTERNAL:000000b9 008bb0d0 EXTERNAL:0000009d -008bb130 EXTERNAL:0000007f -008bb130 EXTERNAL:000000ac 008bb130 EXTERNAL:000000b3 +008bb130 EXTERNAL:0000007f +008bb130 EXTERNAL:000000ae 008bb130 EXTERNAL:000000bc 008bb130 EXTERNAL:00000083 -008bb130 EXTERNAL:000000ae -008bb1c0 EXTERNAL:0000009f -008bb1c0 004cdcf0 +008bb130 EXTERNAL:000000ac 008bb1c0 0085c590 +008bb1c0 004cdcf0 +008bb1c0 EXTERNAL:0000009f +008bb1c0 EXTERNAL:000000b9 008bb1c0 EXTERNAL:000000a0 008bb1c0 EXTERNAL:000000a8 -008bb1c0 EXTERNAL:000000b9 +008bb260 EXTERNAL:00000082 008bb260 EXTERNAL:0000009f 008bb260 EXTERNAL:000000a0 008bb260 EXTERNAL:000000a8 -008bb260 EXTERNAL:00000082 -008bb2e0 0085c050 008bb2e0 0085c590 -008bb2e0 EXTERNAL:000000b9 008bb2e0 EXTERNAL:000000a5 +008bb2e0 EXTERNAL:000000b9 +008bb2e0 0085c050 008bb340 0085c590 -008bb340 EXTERNAL:000000b9 -008bb340 EXTERNAL:00000082 008bb340 EXTERNAL:000000a5 -008bb3b0 EXTERNAL:0000009f +008bb340 EXTERNAL:00000082 +008bb340 EXTERNAL:000000b9 008bb3b0 008ba890 +008bb3b0 EXTERNAL:0000009f 008bb3b0 EXTERNAL:000000a0 008bb3b0 EXTERNAL:000000a8 -008bb420 0085c050 008bb420 0085c590 -008bb420 EXTERNAL:000000b9 008bb420 EXTERNAL:000000a5 +008bb420 EXTERNAL:000000b9 +008bb420 0085c050 008bb480 0085c590 -008bb480 EXTERNAL:000000b9 -008bb480 EXTERNAL:00000082 008bb480 EXTERNAL:000000a5 +008bb480 EXTERNAL:00000082 +008bb480 EXTERNAL:000000b9 008bb4f0 EXTERNAL:0000009f 008bb4f0 EXTERNAL:000000a0 008bb4f0 EXTERNAL:000000a8 @@ -41465,1045 +41465,1045 @@ 008bb570 EXTERNAL:0000009f 008bb570 EXTERNAL:000000a0 008bb570 EXTERNAL:000000a8 +008bb5c0 EXTERNAL:00000082 008bb5c0 EXTERNAL:0000009f 008bb5c0 EXTERNAL:000000a0 008bb5c0 EXTERNAL:000000a8 -008bb5c0 EXTERNAL:00000082 008bb720 EXTERNAL:0000009f -008bb720 004074c0 008bb720 EXTERNAL:000000a0 008bb720 EXTERNAL:000000a8 -008bb770 EXTERNAL:0000009f +008bb720 004074c0 008bb770 0085c590 +008bb770 EXTERNAL:0000009f +008bb770 EXTERNAL:000000b9 008bb770 EXTERNAL:000000a0 008bb770 EXTERNAL:000000a8 -008bb770 EXTERNAL:000000b9 -008bb900 0085bfd0 008bb900 0085c590 -008bb900 EXTERNAL:000000b9 008bb900 EXTERNAL:000000a5 -008bb960 EXTERNAL:000000b6 +008bb900 0085bfd0 +008bb900 EXTERNAL:000000b9 008bb960 0085c590 -008bb960 EXTERNAL:000000b9 +008bb960 EXTERNAL:000000b6 008bb960 EXTERNAL:000000a5 +008bb960 EXTERNAL:000000b9 008bb9c0 0085c590 -008bb9c0 EXTERNAL:000000b9 008bb9c0 0085bff0 008bb9c0 EXTERNAL:000000a5 -008bba20 0085c590 -008bba20 EXTERNAL:000000b9 +008bb9c0 EXTERNAL:000000b9 008bba20 EXTERNAL:000000b7 +008bba20 0085c590 008bba20 EXTERNAL:000000a5 -008bba80 EXTERNAL:0000009f +008bba20 EXTERNAL:000000b9 008bba80 0085c590 +008bba80 EXTERNAL:000000a5 +008bba80 EXTERNAL:0000009f +008bba80 EXTERNAL:000000b9 008bba80 EXTERNAL:000000a0 008bba80 EXTERNAL:000000a8 -008bba80 EXTERNAL:000000b9 -008bba80 EXTERNAL:000000a5 008bbb20 0085c590 -008bbb20 EXTERNAL:000000b9 008bbb20 EXTERNAL:000000a5 -008bbbc0 EXTERNAL:000000b1 -008bbbc0 EXTERNAL:0000009f +008bbb20 EXTERNAL:000000b9 008bbbc0 0085c590 +008bbbc0 EXTERNAL:000000b1 +008bbbc0 EXTERNAL:000000a5 +008bbbc0 EXTERNAL:0000009f +008bbbc0 EXTERNAL:000000b9 008bbbc0 EXTERNAL:000000a0 008bbbc0 EXTERNAL:000000a8 -008bbbc0 EXTERNAL:000000b9 -008bbbc0 EXTERNAL:000000a5 008bbc60 0085c590 -008bbc60 EXTERNAL:000000b9 008bbc60 EXTERNAL:000000a5 +008bbc60 EXTERNAL:000000b9 008bbcf0 EXTERNAL:0000009f 008bbcf0 EXTERNAL:000000a0 008bbcf0 EXTERNAL:000000a8 +008bbd60 0043ef30 008bbd60 EXTERNAL:0000009f 008bbd60 EXTERNAL:000000a0 008bbd60 EXTERNAL:000000a8 -008bbd60 0043ef30 008bbdb0 0085c590 +008bbdb0 EXTERNAL:000000a5 008bbdb0 EXTERNAL:000000b4 008bbdb0 EXTERNAL:000000b9 -008bbdb0 EXTERNAL:000000a5 -008bbe10 EXTERNAL:000000b3 008bbe10 0085c590 -008bbe10 EXTERNAL:000000b9 +008bbe10 EXTERNAL:000000b3 008bbe10 EXTERNAL:000000a5 -008bbe80 0085c050 +008bbe10 EXTERNAL:000000b9 008bbe80 0085c590 -008bbe80 EXTERNAL:000000b9 008bbe80 EXTERNAL:000000a5 +008bbe80 EXTERNAL:000000b9 +008bbe80 0085c050 008bbee0 0085c590 -008bbee0 EXTERNAL:000000b9 -008bbee0 EXTERNAL:00000082 008bbee0 EXTERNAL:000000a5 +008bbee0 EXTERNAL:00000082 +008bbee0 EXTERNAL:000000b9 008bbf50 0085c590 -008bbf50 EXTERNAL:000000b9 008bbf50 EXTERNAL:000000a5 008bbf50 008ab7d0 +008bbf50 EXTERNAL:000000b9 008bbfb0 0085c590 -008bbfb0 EXTERNAL:000000b9 -008bbfb0 EXTERNAL:000000a5 008bbfb0 00aef12b +008bbfb0 EXTERNAL:000000a5 +008bbfb0 EXTERNAL:000000b9 008bc070 0085c590 -008bc070 EXTERNAL:000000b9 008bc070 0085c030 008bc070 EXTERNAL:000000a5 -008bc0d0 EXTERNAL:000000b6 +008bc070 EXTERNAL:000000b9 008bc0d0 0085c590 -008bc0d0 EXTERNAL:000000b9 +008bc0d0 EXTERNAL:000000b6 008bc0d0 EXTERNAL:000000a5 -008bc130 EXTERNAL:0000009f +008bc0d0 EXTERNAL:000000b9 008bc130 0085c590 +008bc130 EXTERNAL:000000a5 +008bc130 EXTERNAL:0000009f +008bc130 EXTERNAL:000000b9 008bc130 EXTERNAL:000000a0 008bc130 EXTERNAL:000000a8 -008bc130 EXTERNAL:000000b9 -008bc130 EXTERNAL:000000a5 008bc1d0 0085c590 -008bc1d0 EXTERNAL:000000b9 008bc1d0 EXTERNAL:000000a5 -008bc270 0085bfd0 +008bc1d0 EXTERNAL:000000b9 008bc270 0085c590 -008bc270 EXTERNAL:000000b9 008bc270 EXTERNAL:000000a5 -008bc2d0 EXTERNAL:000000b6 +008bc270 0085bfd0 +008bc270 EXTERNAL:000000b9 008bc2d0 0085c590 -008bc2d0 EXTERNAL:000000b9 +008bc2d0 EXTERNAL:000000b6 008bc2d0 EXTERNAL:000000a5 +008bc2d0 EXTERNAL:000000b9 008bc330 EXTERNAL:000000b6 008bc330 EXTERNAL:0000009f 008bc330 EXTERNAL:000000a0 008bc330 EXTERNAL:000000a8 008bc3c0 0085c590 -008bc3c0 EXTERNAL:000000b9 008bc3c0 0085c030 008bc3c0 EXTERNAL:000000a5 -008bc420 EXTERNAL:000000b6 +008bc3c0 EXTERNAL:000000b9 008bc420 0085c590 -008bc420 EXTERNAL:000000b9 +008bc420 EXTERNAL:000000b6 008bc420 EXTERNAL:000000a5 -008bc480 0085bfd0 +008bc420 EXTERNAL:000000b9 008bc480 0085c590 -008bc480 EXTERNAL:000000b9 008bc480 EXTERNAL:000000a5 -008bc4e0 EXTERNAL:000000b6 +008bc480 0085bfd0 +008bc480 EXTERNAL:000000b9 008bc4e0 0085c590 -008bc4e0 EXTERNAL:000000b9 +008bc4e0 EXTERNAL:000000b6 008bc4e0 EXTERNAL:000000a5 +008bc4e0 EXTERNAL:000000b9 008bc540 0085c590 -008bc540 EXTERNAL:000000b9 008bc540 EXTERNAL:000000b0 008bc540 EXTERNAL:000000a5 -008bc5b0 0040ccd0 +008bc540 EXTERNAL:000000b9 008bc5b0 EXTERNAL:00000220 008bc5b0 0085c590 +008bc5b0 0040ccd0 +008bc5b0 0040d040 008bc5b0 00aef15c 008bc5b0 EXTERNAL:000000b2 -008bc5b0 0040d040 -008bc5b0 EXTERNAL:000000b9 -008bc5b0 EXTERNAL:000000a5 008bc5b0 00aef12b +008bc5b0 EXTERNAL:000000a5 +008bc5b0 EXTERNAL:000000b9 008bc6c0 0085c590 +008bc6c0 EXTERNAL:000000a5 008bc6c0 EXTERNAL:000000b4 008bc6c0 EXTERNAL:000000b9 -008bc6c0 EXTERNAL:000000a5 -008bc720 EXTERNAL:000000b3 008bc720 0085c590 -008bc720 EXTERNAL:000000b9 +008bc720 EXTERNAL:000000b3 008bc720 EXTERNAL:000000a5 +008bc720 EXTERNAL:000000b9 008bc790 0085c590 -008bc790 EXTERNAL:000000b9 008bc790 0085bff0 008bc790 EXTERNAL:000000a5 -008bc7f0 0085c590 -008bc7f0 EXTERNAL:000000b9 +008bc790 EXTERNAL:000000b9 008bc7f0 EXTERNAL:000000b7 +008bc7f0 0085c590 008bc7f0 EXTERNAL:000000a5 -008bc850 0085bfd0 +008bc7f0 EXTERNAL:000000b9 008bc850 0085c590 -008bc850 EXTERNAL:000000b9 008bc850 EXTERNAL:000000a5 -008bc8b0 EXTERNAL:000000b6 +008bc850 0085bfd0 +008bc850 EXTERNAL:000000b9 008bc8b0 0085c590 -008bc8b0 EXTERNAL:000000b9 +008bc8b0 EXTERNAL:000000b6 008bc8b0 EXTERNAL:000000a5 +008bc8b0 EXTERNAL:000000b9 008bc910 0085c590 -008bc910 EXTERNAL:000000b9 008bc910 EXTERNAL:000000b0 008bc910 EXTERNAL:000000a5 -008bc980 0040ccd0 +008bc910 EXTERNAL:000000b9 008bc980 EXTERNAL:00000220 008bc980 0085c590 +008bc980 0040ccd0 +008bc980 0040d040 008bc980 00aef15c 008bc980 EXTERNAL:000000b2 -008bc980 0040d040 -008bc980 EXTERNAL:000000b9 -008bc980 EXTERNAL:000000a5 008bc980 00aef12b +008bc980 EXTERNAL:000000a5 +008bc980 EXTERNAL:000000b9 008bca90 0085c590 +008bca90 EXTERNAL:000000a5 008bca90 EXTERNAL:000000b4 008bca90 EXTERNAL:000000b9 -008bca90 EXTERNAL:000000a5 -008bcaf0 EXTERNAL:000000b3 008bcaf0 0085c590 -008bcaf0 EXTERNAL:000000b9 +008bcaf0 EXTERNAL:000000b3 008bcaf0 EXTERNAL:000000a5 -008bcb60 0085c590 -008bcb60 EXTERNAL:000000b9 +008bcaf0 EXTERNAL:000000b9 008bcb60 EXTERNAL:000000b7 +008bcb60 0085c590 008bcb60 EXTERNAL:000000a5 -008bcbc0 EXTERNAL:0000009f +008bcb60 EXTERNAL:000000b9 008bcbc0 0085c590 +008bcbc0 EXTERNAL:000000a5 +008bcbc0 EXTERNAL:0000009f +008bcbc0 EXTERNAL:000000b9 008bcbc0 EXTERNAL:000000a0 008bcbc0 EXTERNAL:000000a8 -008bcbc0 EXTERNAL:000000b9 -008bcbc0 EXTERNAL:000000a5 008bcc50 0085c590 -008bcc50 EXTERNAL:000000b9 008bcc50 EXTERNAL:000000a5 -008bccf0 0085bfd0 +008bcc50 EXTERNAL:000000b9 008bccf0 0085c590 -008bccf0 EXTERNAL:000000b9 008bccf0 EXTERNAL:000000a5 -008bcd50 EXTERNAL:000000b6 +008bccf0 0085bfd0 +008bccf0 EXTERNAL:000000b9 008bcd50 0085c590 -008bcd50 EXTERNAL:000000b9 +008bcd50 EXTERNAL:000000b6 008bcd50 EXTERNAL:000000a5 +008bcd50 EXTERNAL:000000b9 008bcdb0 0085c590 -008bcdb0 EXTERNAL:000000b9 008bcdb0 EXTERNAL:000000b0 008bcdb0 EXTERNAL:000000a5 -008bce20 0040ccd0 +008bcdb0 EXTERNAL:000000b9 008bce20 EXTERNAL:00000220 008bce20 0085c590 +008bce20 0040ccd0 +008bce20 0040d040 008bce20 00aef15c 008bce20 EXTERNAL:000000b2 -008bce20 0040d040 -008bce20 EXTERNAL:000000b9 -008bce20 EXTERNAL:000000a5 008bce20 00aef12b +008bce20 EXTERNAL:000000a5 +008bce20 EXTERNAL:000000b9 008bcf30 0085c590 -008bcf30 EXTERNAL:000000b9 008bcf30 0085bff0 008bcf30 EXTERNAL:000000a5 +008bcf30 EXTERNAL:000000b9 008bcf90 0085c590 +008bcf90 EXTERNAL:000000a5 008bcf90 EXTERNAL:000000b4 008bcf90 EXTERNAL:000000b9 -008bcf90 EXTERNAL:000000a5 -008bd000 EXTERNAL:000000b3 008bd000 0085c590 -008bd000 EXTERNAL:000000b9 +008bd000 EXTERNAL:000000b3 008bd000 EXTERNAL:000000a5 -008bd070 0085c590 -008bd070 EXTERNAL:000000b9 +008bd000 EXTERNAL:000000b9 008bd070 EXTERNAL:000000b7 +008bd070 0085c590 008bd070 EXTERNAL:000000a5 -008bd0d0 EXTERNAL:000000b6 +008bd070 EXTERNAL:000000b9 008bd0d0 0085c590 -008bd0d0 EXTERNAL:000000b9 +008bd0d0 EXTERNAL:000000b6 008bd0d0 EXTERNAL:000000a5 -008bd130 0085c590 -008bd130 EXTERNAL:000000b9 +008bd0d0 EXTERNAL:000000b9 008bd130 EXTERNAL:000000b7 +008bd130 0085c590 008bd130 EXTERNAL:000000a5 +008bd130 EXTERNAL:000000b9 008bd190 0085c590 -008bd190 EXTERNAL:000000b9 008bd190 0085c030 008bd190 EXTERNAL:000000a5 -008bd1f0 EXTERNAL:000000b6 +008bd190 EXTERNAL:000000b9 008bd1f0 0085c590 -008bd1f0 EXTERNAL:000000b9 +008bd1f0 EXTERNAL:000000b6 008bd1f0 EXTERNAL:000000a5 -008bd250 0085bfd0 +008bd1f0 EXTERNAL:000000b9 008bd250 0085c590 -008bd250 EXTERNAL:000000b9 008bd250 EXTERNAL:000000a5 -008bd2b0 EXTERNAL:000000b6 +008bd250 0085bfd0 +008bd250 EXTERNAL:000000b9 008bd2b0 0085c590 -008bd2b0 EXTERNAL:000000b9 +008bd2b0 EXTERNAL:000000b6 008bd2b0 EXTERNAL:000000a5 +008bd2b0 EXTERNAL:000000b9 008bd310 0085c590 -008bd310 EXTERNAL:000000b9 008bd310 EXTERNAL:000000b0 008bd310 EXTERNAL:000000a5 -008bd380 0040ccd0 +008bd310 EXTERNAL:000000b9 008bd380 EXTERNAL:00000220 008bd380 0085c590 +008bd380 0040ccd0 +008bd380 0040d040 008bd380 00aef15c 008bd380 EXTERNAL:000000b2 -008bd380 0040d040 -008bd380 EXTERNAL:000000b9 -008bd380 EXTERNAL:000000a5 008bd380 00aef12b +008bd380 EXTERNAL:000000a5 +008bd380 EXTERNAL:000000b9 008bd490 0085c590 +008bd490 EXTERNAL:000000a5 008bd490 EXTERNAL:000000b4 008bd490 EXTERNAL:000000b9 -008bd490 EXTERNAL:000000a5 -008bd4f0 EXTERNAL:000000b3 008bd4f0 0085c590 -008bd4f0 EXTERNAL:000000b9 +008bd4f0 EXTERNAL:000000b3 008bd4f0 EXTERNAL:000000a5 -008bd560 EXTERNAL:0000009f +008bd4f0 EXTERNAL:000000b9 008bd560 0085c590 +008bd560 EXTERNAL:000000a5 +008bd560 EXTERNAL:0000009f +008bd560 EXTERNAL:000000b9 008bd560 EXTERNAL:000000a0 008bd560 EXTERNAL:000000a8 -008bd560 EXTERNAL:000000b9 -008bd560 EXTERNAL:000000a5 008bd5f0 0085c590 -008bd5f0 EXTERNAL:000000b9 008bd5f0 EXTERNAL:000000a5 -008bd690 0085bfd0 +008bd5f0 EXTERNAL:000000b9 008bd690 0085c590 -008bd690 EXTERNAL:000000b9 008bd690 EXTERNAL:000000a5 -008bd6f0 EXTERNAL:000000b6 +008bd690 0085bfd0 +008bd690 EXTERNAL:000000b9 008bd6f0 0085c590 -008bd6f0 EXTERNAL:000000b9 +008bd6f0 EXTERNAL:000000b6 008bd6f0 EXTERNAL:000000a5 +008bd6f0 EXTERNAL:000000b9 008bd750 0085c590 -008bd750 EXTERNAL:000000b9 008bd750 EXTERNAL:000000a5 008bd750 008ab7d0 +008bd750 EXTERNAL:000000b9 008bd7b0 0085c590 -008bd7b0 EXTERNAL:000000b9 -008bd7b0 EXTERNAL:000000a5 008bd7b0 00aef12b -008bd870 EXTERNAL:0000009f +008bd7b0 EXTERNAL:000000a5 +008bd7b0 EXTERNAL:000000b9 008bd870 0085c590 +008bd870 EXTERNAL:000000a5 +008bd870 EXTERNAL:0000009f +008bd870 EXTERNAL:000000b9 008bd870 EXTERNAL:000000a0 008bd870 EXTERNAL:000000a8 -008bd870 EXTERNAL:000000b9 -008bd870 EXTERNAL:000000a5 008bd900 0085c590 -008bd900 EXTERNAL:000000b9 008bd900 EXTERNAL:000000a5 -008bd990 0085c050 +008bd900 EXTERNAL:000000b9 008bd990 0085c590 -008bd990 EXTERNAL:000000b9 008bd990 EXTERNAL:000000a5 +008bd990 EXTERNAL:000000b9 +008bd990 0085c050 008bd9f0 0085c590 -008bd9f0 EXTERNAL:000000b9 -008bd9f0 EXTERNAL:00000082 008bd9f0 EXTERNAL:000000a5 -008bda60 EXTERNAL:000000b1 -008bda60 EXTERNAL:0000009f +008bd9f0 EXTERNAL:00000082 +008bd9f0 EXTERNAL:000000b9 008bda60 0085c590 +008bda60 EXTERNAL:000000b1 +008bda60 EXTERNAL:000000a5 +008bda60 EXTERNAL:0000009f +008bda60 EXTERNAL:000000b9 008bda60 EXTERNAL:000000a0 008bda60 EXTERNAL:000000a8 -008bda60 EXTERNAL:000000b9 -008bda60 EXTERNAL:000000a5 008bdb00 0085c590 -008bdb00 EXTERNAL:000000b9 008bdb00 EXTERNAL:000000a5 -008bdb90 0085bfd0 +008bdb00 EXTERNAL:000000b9 008bdb90 0085c590 -008bdb90 EXTERNAL:000000b9 008bdb90 EXTERNAL:000000a5 -008bdbf0 EXTERNAL:000000b6 +008bdb90 0085bfd0 +008bdb90 EXTERNAL:000000b9 008bdbf0 0085c590 -008bdbf0 EXTERNAL:000000b9 +008bdbf0 EXTERNAL:000000b6 008bdbf0 EXTERNAL:000000a5 -008bdc50 EXTERNAL:000000b1 -008bdc50 EXTERNAL:0000009f +008bdbf0 EXTERNAL:000000b9 008bdc50 0085c590 +008bdc50 EXTERNAL:000000b1 +008bdc50 EXTERNAL:000000a5 +008bdc50 EXTERNAL:0000009f +008bdc50 EXTERNAL:000000b9 008bdc50 EXTERNAL:000000a0 008bdc50 EXTERNAL:000000a8 -008bdc50 EXTERNAL:000000b9 -008bdc50 EXTERNAL:000000a5 008bdcf0 0085c590 -008bdcf0 EXTERNAL:000000b9 008bdcf0 EXTERNAL:000000a5 -008bdd80 0085bfd0 +008bdcf0 EXTERNAL:000000b9 008bdd80 0085c590 -008bdd80 EXTERNAL:000000b9 008bdd80 EXTERNAL:000000a5 -008bdde0 EXTERNAL:000000b6 +008bdd80 0085bfd0 +008bdd80 EXTERNAL:000000b9 008bdde0 0085c590 -008bdde0 EXTERNAL:000000b9 +008bdde0 EXTERNAL:000000b6 008bdde0 EXTERNAL:000000a5 -008bde40 EXTERNAL:0000009f +008bdde0 EXTERNAL:000000b9 008bde40 0085c590 +008bde40 EXTERNAL:000000a5 +008bde40 EXTERNAL:0000009f +008bde40 EXTERNAL:000000b9 008bde40 EXTERNAL:000000a0 008bde40 EXTERNAL:000000a8 -008bde40 EXTERNAL:000000b9 -008bde40 EXTERNAL:000000a5 008bdee0 0085c590 -008bdee0 EXTERNAL:000000b9 008bdee0 EXTERNAL:000000a5 -008bdf80 0085bfd0 +008bdee0 EXTERNAL:000000b9 008bdf80 0085c590 -008bdf80 EXTERNAL:000000b9 008bdf80 EXTERNAL:000000a5 -008bdfe0 EXTERNAL:000000b6 +008bdf80 0085bfd0 +008bdf80 EXTERNAL:000000b9 008bdfe0 0085c590 -008bdfe0 EXTERNAL:000000b9 +008bdfe0 EXTERNAL:000000b6 008bdfe0 EXTERNAL:000000a5 -008be040 0085c050 +008bdfe0 EXTERNAL:000000b9 008be040 0085c590 -008be040 EXTERNAL:000000b9 008be040 EXTERNAL:000000a5 +008be040 EXTERNAL:000000b9 +008be040 0085c050 008be0a0 0085c590 -008be0a0 EXTERNAL:000000b9 -008be0a0 EXTERNAL:00000082 008be0a0 EXTERNAL:000000a5 -008be110 0085c050 +008be0a0 EXTERNAL:00000082 +008be0a0 EXTERNAL:000000b9 008be110 0085c590 -008be110 EXTERNAL:000000b9 008be110 EXTERNAL:000000a5 +008be110 EXTERNAL:000000b9 +008be110 0085c050 008be170 0085c590 -008be170 EXTERNAL:000000b9 -008be170 EXTERNAL:00000082 008be170 EXTERNAL:000000a5 -008be1e0 0085c050 +008be170 EXTERNAL:00000082 +008be170 EXTERNAL:000000b9 008be1e0 0085c590 -008be1e0 EXTERNAL:000000b9 008be1e0 EXTERNAL:000000a5 +008be1e0 EXTERNAL:000000b9 +008be1e0 0085c050 008be240 0085c590 -008be240 EXTERNAL:000000b9 -008be240 EXTERNAL:00000082 008be240 EXTERNAL:000000a5 -008be2b0 0085bfd0 +008be240 EXTERNAL:00000082 +008be240 EXTERNAL:000000b9 008be2b0 0085c590 -008be2b0 EXTERNAL:000000b9 008be2b0 EXTERNAL:000000a5 -008be310 EXTERNAL:000000b6 +008be2b0 0085bfd0 +008be2b0 EXTERNAL:000000b9 008be310 0085c590 -008be310 EXTERNAL:000000b9 +008be310 EXTERNAL:000000b6 008be310 EXTERNAL:000000a5 -008be370 EXTERNAL:0000009f +008be310 EXTERNAL:000000b9 008be370 0085c590 +008be370 EXTERNAL:000000a5 +008be370 EXTERNAL:0000009f +008be370 EXTERNAL:000000b9 008be370 EXTERNAL:000000a0 008be370 EXTERNAL:000000a8 -008be370 EXTERNAL:000000b9 -008be370 EXTERNAL:000000a5 008be410 0085c590 -008be410 EXTERNAL:000000b9 008be410 EXTERNAL:000000a5 -008be4b0 EXTERNAL:000000b1 -008be4b0 EXTERNAL:0000009f +008be410 EXTERNAL:000000b9 008be4b0 0085c590 +008be4b0 EXTERNAL:000000b1 +008be4b0 EXTERNAL:000000a5 +008be4b0 EXTERNAL:0000009f +008be4b0 EXTERNAL:000000b9 008be4b0 EXTERNAL:000000a0 008be4b0 EXTERNAL:000000a8 -008be4b0 EXTERNAL:000000b9 -008be4b0 EXTERNAL:000000a5 008be550 0085c590 -008be550 EXTERNAL:000000b9 008be550 EXTERNAL:000000a5 +008be550 EXTERNAL:000000b9 008be5e0 0085c590 +008be5e0 EXTERNAL:000000a5 008be5e0 EXTERNAL:000000b4 008be5e0 EXTERNAL:000000b9 -008be5e0 EXTERNAL:000000a5 -008be640 EXTERNAL:000000b3 008be640 0085c590 -008be640 EXTERNAL:000000b9 +008be640 EXTERNAL:000000b3 008be640 EXTERNAL:000000a5 -008be6b0 0085c050 +008be640 EXTERNAL:000000b9 008be6b0 0085c590 -008be6b0 EXTERNAL:000000b9 008be6b0 EXTERNAL:000000a5 +008be6b0 EXTERNAL:000000b9 +008be6b0 0085c050 008be710 0085c590 -008be710 EXTERNAL:000000b9 -008be710 EXTERNAL:00000082 008be710 EXTERNAL:000000a5 -008be780 EXTERNAL:0000009f +008be710 EXTERNAL:00000082 +008be710 EXTERNAL:000000b9 008be780 0085c590 +008be780 EXTERNAL:000000a5 +008be780 EXTERNAL:0000009f +008be780 EXTERNAL:000000b9 008be780 EXTERNAL:000000a0 008be780 EXTERNAL:000000a8 -008be780 EXTERNAL:000000b9 -008be780 EXTERNAL:000000a5 008be810 0085c590 -008be810 EXTERNAL:000000b9 008be810 EXTERNAL:000000a5 +008be810 EXTERNAL:000000b9 008be8a0 0085c590 -008be8a0 EXTERNAL:000000b9 008be8a0 EXTERNAL:000000a5 008be8a0 008ab7d0 +008be8a0 EXTERNAL:000000b9 008be900 0085c590 -008be900 EXTERNAL:000000b9 -008be900 EXTERNAL:000000a5 008be900 00aef12b +008be900 EXTERNAL:000000a5 +008be900 EXTERNAL:000000b9 008be9c0 0085c590 +008be9c0 EXTERNAL:000000a5 008be9c0 EXTERNAL:000000b4 008be9c0 EXTERNAL:000000b9 -008be9c0 EXTERNAL:000000a5 -008bea20 EXTERNAL:000000b3 008bea20 0085c590 -008bea20 EXTERNAL:000000b9 +008bea20 EXTERNAL:000000b3 008bea20 EXTERNAL:000000a5 -008bea90 EXTERNAL:0000009f +008bea20 EXTERNAL:000000b9 008bea90 0085c590 +008bea90 EXTERNAL:000000a5 +008bea90 EXTERNAL:0000009f +008bea90 EXTERNAL:000000b9 008bea90 EXTERNAL:000000a0 008bea90 EXTERNAL:000000a8 -008bea90 EXTERNAL:000000b9 -008bea90 EXTERNAL:000000a5 008beb20 0085c590 -008beb20 EXTERNAL:000000b9 008beb20 EXTERNAL:000000a5 -008bebc0 EXTERNAL:0000009f +008beb20 EXTERNAL:000000b9 008bebc0 0085c590 +008bebc0 EXTERNAL:000000a5 +008bebc0 EXTERNAL:0000009f +008bebc0 EXTERNAL:000000b9 008bebc0 EXTERNAL:000000a0 008bebc0 EXTERNAL:000000a8 -008bebc0 EXTERNAL:000000b9 -008bebc0 EXTERNAL:000000a5 008bec60 0085c590 -008bec60 EXTERNAL:000000b9 008bec60 EXTERNAL:000000a5 -008becf0 0085bfd0 +008bec60 EXTERNAL:000000b9 008becf0 0085c590 -008becf0 EXTERNAL:000000b9 008becf0 EXTERNAL:000000a5 -008bed50 EXTERNAL:000000b6 +008becf0 0085bfd0 +008becf0 EXTERNAL:000000b9 008bed50 0085c590 -008bed50 EXTERNAL:000000b9 +008bed50 EXTERNAL:000000b6 008bed50 EXTERNAL:000000a5 +008bed50 EXTERNAL:000000b9 008bedb0 0085c590 -008bedb0 EXTERNAL:000000b9 008bedb0 0085bff0 008bedb0 EXTERNAL:000000a5 -008bee10 EXTERNAL:000000b6 +008bedb0 EXTERNAL:000000b9 008bee10 0085c590 -008bee10 EXTERNAL:000000b9 +008bee10 EXTERNAL:000000b6 008bee10 EXTERNAL:000000a5 -008bee70 0085c050 +008bee10 EXTERNAL:000000b9 008bee70 0085c590 -008bee70 EXTERNAL:000000b9 008bee70 EXTERNAL:000000a5 +008bee70 EXTERNAL:000000b9 +008bee70 0085c050 008beed0 0085c590 -008beed0 EXTERNAL:000000b9 -008beed0 EXTERNAL:00000082 008beed0 EXTERNAL:000000a5 -008bef40 0085bfd0 +008beed0 EXTERNAL:00000082 +008beed0 EXTERNAL:000000b9 008bef40 0085c590 -008bef40 EXTERNAL:000000b9 008bef40 EXTERNAL:000000a5 -008befa0 EXTERNAL:000000b6 +008bef40 0085bfd0 +008bef40 EXTERNAL:000000b9 008befa0 0085c590 -008befa0 EXTERNAL:000000b9 +008befa0 EXTERNAL:000000b6 008befa0 EXTERNAL:000000a5 +008befa0 EXTERNAL:000000b9 008bf000 0085c590 +008bf000 EXTERNAL:000000a5 008bf000 EXTERNAL:000000b4 008bf000 EXTERNAL:000000b9 -008bf000 EXTERNAL:000000a5 -008bf060 EXTERNAL:000000b3 008bf060 0085c590 -008bf060 EXTERNAL:000000b9 +008bf060 EXTERNAL:000000b3 008bf060 EXTERNAL:000000a5 -008bf0d0 EXTERNAL:0000009f +008bf060 EXTERNAL:000000b9 008bf0d0 0085c590 +008bf0d0 EXTERNAL:000000a5 +008bf0d0 EXTERNAL:0000009f +008bf0d0 EXTERNAL:000000b9 008bf0d0 EXTERNAL:000000a0 008bf0d0 EXTERNAL:000000a8 -008bf0d0 EXTERNAL:000000b9 -008bf0d0 EXTERNAL:000000a5 008bf170 0085c590 -008bf170 EXTERNAL:000000b9 008bf170 EXTERNAL:000000a5 -008bf210 0085bfd0 +008bf170 EXTERNAL:000000b9 008bf210 0085c590 -008bf210 EXTERNAL:000000b9 008bf210 EXTERNAL:000000a5 -008bf270 EXTERNAL:000000b6 +008bf210 0085bfd0 +008bf210 EXTERNAL:000000b9 008bf270 0085c590 -008bf270 EXTERNAL:000000b9 +008bf270 EXTERNAL:000000b6 008bf270 EXTERNAL:000000a5 -008bf2d0 0085c050 +008bf270 EXTERNAL:000000b9 008bf2d0 0085c590 -008bf2d0 EXTERNAL:000000b9 008bf2d0 EXTERNAL:000000a5 +008bf2d0 EXTERNAL:000000b9 +008bf2d0 0085c050 008bf330 0085c590 -008bf330 EXTERNAL:000000b9 -008bf330 EXTERNAL:00000082 008bf330 EXTERNAL:000000a5 -008bf3a0 EXTERNAL:0000009f +008bf330 EXTERNAL:00000082 +008bf330 EXTERNAL:000000b9 008bf3a0 0085c590 +008bf3a0 EXTERNAL:000000a5 +008bf3a0 EXTERNAL:0000009f +008bf3a0 EXTERNAL:000000b9 008bf3a0 EXTERNAL:000000a0 008bf3a0 EXTERNAL:000000a8 -008bf3a0 EXTERNAL:000000b9 -008bf3a0 EXTERNAL:000000a5 008bf440 0085c590 -008bf440 EXTERNAL:000000b9 008bf440 EXTERNAL:000000a5 +008bf440 EXTERNAL:000000b9 008bf4e0 0085c590 +008bf4e0 EXTERNAL:000000a5 008bf4e0 EXTERNAL:000000b4 008bf4e0 EXTERNAL:000000b9 -008bf4e0 EXTERNAL:000000a5 -008bf540 EXTERNAL:000000b3 008bf540 0085c590 -008bf540 EXTERNAL:000000b9 +008bf540 EXTERNAL:000000b3 008bf540 EXTERNAL:000000a5 -008bf5b0 0085bfd0 +008bf540 EXTERNAL:000000b9 008bf5b0 0085c590 -008bf5b0 EXTERNAL:000000b9 008bf5b0 EXTERNAL:000000a5 -008bf610 EXTERNAL:000000b6 +008bf5b0 0085bfd0 +008bf5b0 EXTERNAL:000000b9 008bf610 0085c590 -008bf610 EXTERNAL:000000b9 +008bf610 EXTERNAL:000000b6 008bf610 EXTERNAL:000000a5 -008bf670 EXTERNAL:0000009f +008bf610 EXTERNAL:000000b9 008bf670 0085c590 +008bf670 EXTERNAL:000000a5 +008bf670 EXTERNAL:0000009f +008bf670 008c4b30 +008bf670 EXTERNAL:000000b9 008bf670 EXTERNAL:000000a0 008bf670 EXTERNAL:000000a8 -008bf670 EXTERNAL:000000b9 -008bf670 EXTERNAL:000000a5 -008bf670 008c4b30 -008bf700 00709280 008bf700 00424540 008bf700 0085c590 008bf700 00aef15c -008bf700 EXTERNAL:000000b9 +008bf700 00709280 +008bf700 00aef12b 008bf700 EXTERNAL:000000a5 008bf700 008c4b30 -008bf700 00aef12b +008bf700 EXTERNAL:000000b9 008bf920 0085c590 -008bf920 EXTERNAL:000000b9 008bf920 0085bff0 008bf920 EXTERNAL:000000a5 -008bf980 EXTERNAL:0000009f +008bf920 EXTERNAL:000000b9 008bf980 0085c590 +008bf980 EXTERNAL:000000a5 +008bf980 EXTERNAL:0000009f +008bf980 EXTERNAL:000000b9 008bf980 EXTERNAL:000000a0 008bf980 EXTERNAL:000000a8 -008bf980 EXTERNAL:000000b9 -008bf980 EXTERNAL:000000a5 008bfa20 0085c590 -008bfa20 EXTERNAL:000000b9 008bfa20 EXTERNAL:000000a5 -008bfac0 EXTERNAL:0000009f +008bfa20 EXTERNAL:000000b9 008bfac0 0085c590 +008bfac0 EXTERNAL:000000a5 +008bfac0 EXTERNAL:0000009f +008bfac0 EXTERNAL:000000b9 008bfac0 EXTERNAL:000000a0 008bfac0 EXTERNAL:000000a8 -008bfac0 EXTERNAL:000000b9 -008bfac0 EXTERNAL:000000a5 008bfb60 0085c590 -008bfb60 EXTERNAL:000000b9 008bfb60 EXTERNAL:000000a5 -008bfc00 0085c050 +008bfb60 EXTERNAL:000000b9 008bfc00 0085c590 -008bfc00 EXTERNAL:000000b9 008bfc00 EXTERNAL:000000a5 +008bfc00 EXTERNAL:000000b9 +008bfc00 0085c050 008bfc60 0085c590 -008bfc60 EXTERNAL:000000b9 -008bfc60 EXTERNAL:00000082 008bfc60 EXTERNAL:000000a5 -008bfcd0 EXTERNAL:0000009f +008bfc60 EXTERNAL:00000082 +008bfc60 EXTERNAL:000000b9 008bfcd0 0085c590 +008bfcd0 EXTERNAL:000000a5 +008bfcd0 EXTERNAL:0000009f +008bfcd0 EXTERNAL:000000b9 008bfcd0 EXTERNAL:000000a0 008bfcd0 EXTERNAL:000000a8 -008bfcd0 EXTERNAL:000000b9 -008bfcd0 EXTERNAL:000000a5 008bfd60 0085c590 -008bfd60 EXTERNAL:000000b9 008bfd60 EXTERNAL:000000a5 -008bfdf0 0085bfd0 +008bfd60 EXTERNAL:000000b9 008bfdf0 0085c590 -008bfdf0 EXTERNAL:000000b9 008bfdf0 EXTERNAL:000000a5 -008bfe50 EXTERNAL:000000b6 +008bfdf0 0085bfd0 +008bfdf0 EXTERNAL:000000b9 008bfe50 0085c590 -008bfe50 EXTERNAL:000000b9 +008bfe50 EXTERNAL:000000b6 008bfe50 EXTERNAL:000000a5 +008bfe50 EXTERNAL:000000b9 008bfeb0 0085c590 +008bfeb0 EXTERNAL:000000a5 008bfeb0 EXTERNAL:000000b4 008bfeb0 EXTERNAL:000000b9 -008bfeb0 EXTERNAL:000000a5 -008bff10 EXTERNAL:000000b3 008bff10 0085c590 -008bff10 EXTERNAL:000000b9 +008bff10 EXTERNAL:000000b3 008bff10 EXTERNAL:000000a5 -008bff80 EXTERNAL:0000009f +008bff10 EXTERNAL:000000b9 008bff80 0085c590 +008bff80 EXTERNAL:000000a5 +008bff80 EXTERNAL:0000009f +008bff80 EXTERNAL:000000b9 008bff80 EXTERNAL:000000a0 008bff80 EXTERNAL:000000a8 -008bff80 EXTERNAL:000000b9 -008bff80 EXTERNAL:000000a5 008c0010 0085c590 -008c0010 EXTERNAL:000000b9 008c0010 EXTERNAL:000000a5 -008c00b0 EXTERNAL:0000009f +008c0010 EXTERNAL:000000b9 008c00b0 0085c590 +008c00b0 EXTERNAL:000000a5 +008c00b0 EXTERNAL:0000009f +008c00b0 0085ded0 +008c00b0 EXTERNAL:000000b9 008c00b0 EXTERNAL:000000a0 008c00b0 EXTERNAL:000000a8 -008c00b0 EXTERNAL:000000b9 -008c00b0 EXTERNAL:000000a5 -008c00b0 0085ded0 -008c0140 005cb9b0 008c0140 0085c590 008c0140 00426980 -008c0140 EXTERNAL:000000b9 +008c0140 0085e000 +008c0140 005cb9b0 008c0140 EXTERNAL:000000a5 008c0140 0085ded0 -008c0140 0085e000 +008c0140 EXTERNAL:000000b9 008c0230 0085c590 -008c0230 EXTERNAL:000000b9 008c0230 0085bff0 008c0230 EXTERNAL:000000a5 -008c0290 EXTERNAL:0000009f +008c0230 EXTERNAL:000000b9 008c0290 0085c590 +008c0290 EXTERNAL:000000a5 +008c0290 EXTERNAL:0000009f +008c0290 EXTERNAL:000000b9 008c0290 EXTERNAL:000000a0 008c0290 EXTERNAL:000000a8 -008c0290 EXTERNAL:000000b9 -008c0290 EXTERNAL:000000a5 008c0320 0085c590 -008c0320 EXTERNAL:000000b9 008c0320 EXTERNAL:000000a5 -008c03c0 EXTERNAL:000000b1 -008c03c0 EXTERNAL:0000009f +008c0320 EXTERNAL:000000b9 008c03c0 0085c590 +008c03c0 EXTERNAL:000000b1 +008c03c0 EXTERNAL:000000a5 +008c03c0 EXTERNAL:0000009f +008c03c0 EXTERNAL:000000b9 008c03c0 EXTERNAL:000000a0 008c03c0 EXTERNAL:000000a8 -008c03c0 EXTERNAL:000000b9 -008c03c0 EXTERNAL:000000a5 008c0460 0085c590 -008c0460 EXTERNAL:000000b9 008c0460 EXTERNAL:000000a5 -008c04f0 0085c050 +008c0460 EXTERNAL:000000b9 008c04f0 0085c590 -008c04f0 EXTERNAL:000000b9 008c04f0 EXTERNAL:000000a5 +008c04f0 EXTERNAL:000000b9 +008c04f0 0085c050 008c0550 0085c590 -008c0550 EXTERNAL:000000b9 -008c0550 EXTERNAL:00000082 008c0550 EXTERNAL:000000a5 -008c05c0 0085bfd0 +008c0550 EXTERNAL:00000082 +008c0550 EXTERNAL:000000b9 008c05c0 0085c590 -008c05c0 EXTERNAL:000000b9 008c05c0 EXTERNAL:000000a5 -008c0620 EXTERNAL:000000b6 +008c05c0 0085bfd0 +008c05c0 EXTERNAL:000000b9 008c0620 0085c590 -008c0620 EXTERNAL:000000b9 +008c0620 EXTERNAL:000000b6 008c0620 EXTERNAL:000000a5 +008c0620 EXTERNAL:000000b9 008c0680 0085c590 -008c0680 EXTERNAL:000000b9 008c0680 0085bff0 008c0680 EXTERNAL:000000a5 +008c0680 EXTERNAL:000000b9 008c06e0 0085c590 +008c06e0 EXTERNAL:000000a5 008c06e0 EXTERNAL:000000b4 008c06e0 EXTERNAL:000000b9 -008c06e0 EXTERNAL:000000a5 -008c0740 EXTERNAL:000000b3 008c0740 0085c590 -008c0740 EXTERNAL:000000b9 +008c0740 EXTERNAL:000000b3 008c0740 EXTERNAL:000000a5 -008c07b0 EXTERNAL:0000009f +008c0740 EXTERNAL:000000b9 008c07b0 0085c590 +008c07b0 EXTERNAL:000000a5 +008c07b0 EXTERNAL:0000009f +008c07b0 EXTERNAL:000000b9 008c07b0 EXTERNAL:000000a0 008c07b0 EXTERNAL:000000a8 -008c07b0 EXTERNAL:000000b9 -008c07b0 EXTERNAL:000000a5 008c0850 0085c590 -008c0850 EXTERNAL:000000b9 008c0850 EXTERNAL:000000a5 -008c08f0 0085bfd0 +008c0850 EXTERNAL:000000b9 008c08f0 0085c590 -008c08f0 EXTERNAL:000000b9 008c08f0 EXTERNAL:000000a5 -008c0950 EXTERNAL:000000b6 +008c08f0 0085bfd0 +008c08f0 EXTERNAL:000000b9 008c0950 0085c590 -008c0950 EXTERNAL:000000b9 +008c0950 EXTERNAL:000000b6 008c0950 EXTERNAL:000000a5 -008c09b0 0085bfd0 +008c0950 EXTERNAL:000000b9 008c09b0 0085c590 -008c09b0 EXTERNAL:000000b9 008c09b0 EXTERNAL:000000a5 -008c0a10 EXTERNAL:000000b6 +008c09b0 0085bfd0 +008c09b0 EXTERNAL:000000b9 008c0a10 0085c590 -008c0a10 EXTERNAL:000000b9 +008c0a10 EXTERNAL:000000b6 008c0a10 EXTERNAL:000000a5 +008c0a10 EXTERNAL:000000b9 008c0a70 00407690 -008c0a70 EXTERNAL:0000009f 008c0a70 0085c590 +008c0a70 EXTERNAL:000000a5 +008c0a70 EXTERNAL:0000009f +008c0a70 EXTERNAL:000000b9 008c0a70 EXTERNAL:000000a0 008c0a70 EXTERNAL:000000a8 -008c0a70 EXTERNAL:000000b9 -008c0a70 EXTERNAL:000000a5 -008c0b00 00407f10 008c0b00 00407690 008c0b00 0085c590 008c0b00 0040d040 -008c0b00 EXTERNAL:000000b9 -008c0b00 004087a0 -008c0b00 EXTERNAL:000000a5 +008c0b00 00407f10 008c0b00 00407ae0 +008c0b00 EXTERNAL:000000a5 +008c0b00 004087a0 +008c0b00 EXTERNAL:000000b9 008c0c10 0085c590 +008c0c10 EXTERNAL:000000a5 008c0c10 EXTERNAL:000000b4 008c0c10 EXTERNAL:000000b9 -008c0c10 EXTERNAL:000000a5 -008c0c70 EXTERNAL:000000b3 008c0c70 0085c590 -008c0c70 EXTERNAL:000000b9 +008c0c70 EXTERNAL:000000b3 008c0c70 EXTERNAL:000000a5 -008c0ce0 EXTERNAL:0000009f +008c0c70 EXTERNAL:000000b9 008c0ce0 0085c590 +008c0ce0 EXTERNAL:000000a5 +008c0ce0 EXTERNAL:0000009f +008c0ce0 EXTERNAL:000000b9 008c0ce0 EXTERNAL:000000a0 008c0ce0 EXTERNAL:000000a8 -008c0ce0 EXTERNAL:000000b9 -008c0ce0 EXTERNAL:000000a5 008c0d70 0085c590 -008c0d70 EXTERNAL:000000b9 008c0d70 EXTERNAL:000000a5 -008c0e10 EXTERNAL:0000009f +008c0d70 EXTERNAL:000000b9 008c0e10 0085c590 +008c0e10 EXTERNAL:000000a5 +008c0e10 EXTERNAL:0000009f +008c0e10 EXTERNAL:000000b9 008c0e10 EXTERNAL:000000a0 008c0e10 EXTERNAL:000000a8 -008c0e10 EXTERNAL:000000b9 -008c0e10 EXTERNAL:000000a5 008c0ea0 0085c590 -008c0ea0 EXTERNAL:000000b9 008c0ea0 EXTERNAL:000000a5 +008c0ea0 EXTERNAL:000000b9 008c0f40 0085c590 -008c0f40 EXTERNAL:000000b9 008c0f40 EXTERNAL:000000b0 008c0f40 EXTERNAL:000000a5 -008c0fb0 0040ccd0 +008c0f40 EXTERNAL:000000b9 008c0fb0 EXTERNAL:00000220 008c0fb0 0085c590 +008c0fb0 0040ccd0 +008c0fb0 0040d040 008c0fb0 00aef15c 008c0fb0 EXTERNAL:000000b2 -008c0fb0 0040d040 -008c0fb0 EXTERNAL:000000b9 -008c0fb0 EXTERNAL:000000a5 008c0fb0 00aef12b -008c10c0 0085bfd0 +008c0fb0 EXTERNAL:000000a5 +008c0fb0 EXTERNAL:000000b9 008c10c0 0085c590 -008c10c0 EXTERNAL:000000b9 008c10c0 EXTERNAL:000000a5 -008c1120 EXTERNAL:000000b6 +008c10c0 0085bfd0 +008c10c0 EXTERNAL:000000b9 008c1120 0085c590 -008c1120 EXTERNAL:000000b9 +008c1120 EXTERNAL:000000b6 008c1120 EXTERNAL:000000a5 +008c1120 EXTERNAL:000000b9 008c1180 0085c590 -008c1180 EXTERNAL:000000b9 008c1180 EXTERNAL:000000b0 008c1180 EXTERNAL:000000a5 -008c11f0 0040ccd0 +008c1180 EXTERNAL:000000b9 008c11f0 EXTERNAL:00000220 008c11f0 0085c590 +008c11f0 0040ccd0 +008c11f0 0040d040 008c11f0 00aef15c 008c11f0 EXTERNAL:000000b2 -008c11f0 0040d040 -008c11f0 EXTERNAL:000000b9 -008c11f0 EXTERNAL:000000a5 008c11f0 00aef12b +008c11f0 EXTERNAL:000000a5 +008c11f0 EXTERNAL:000000b9 008c1300 0085c590 +008c1300 EXTERNAL:000000a5 008c1300 EXTERNAL:000000b4 008c1300 EXTERNAL:000000b9 -008c1300 EXTERNAL:000000a5 -008c1360 EXTERNAL:000000b3 008c1360 0085c590 -008c1360 EXTERNAL:000000b9 +008c1360 EXTERNAL:000000b3 008c1360 EXTERNAL:000000a5 +008c1360 EXTERNAL:000000b9 008c13d0 0085c590 +008c13d0 EXTERNAL:000000a5 008c13d0 EXTERNAL:000000b4 008c13d0 EXTERNAL:000000b9 -008c13d0 EXTERNAL:000000a5 -008c1430 EXTERNAL:000000b3 008c1430 0085c590 -008c1430 EXTERNAL:000000b9 +008c1430 EXTERNAL:000000b3 008c1430 EXTERNAL:000000a5 +008c1430 EXTERNAL:000000b9 008c14a0 0085c590 -008c14a0 EXTERNAL:000000b9 008c14a0 EXTERNAL:000000b0 008c14a0 EXTERNAL:000000a5 -008c1510 0040ccd0 +008c14a0 EXTERNAL:000000b9 008c1510 EXTERNAL:00000220 008c1510 0085c590 +008c1510 0040ccd0 +008c1510 0040d040 008c1510 00aef15c 008c1510 EXTERNAL:000000b2 -008c1510 0040d040 -008c1510 EXTERNAL:000000b9 -008c1510 EXTERNAL:000000a5 008c1510 00aef12b -008c1620 0085bfd0 +008c1510 EXTERNAL:000000a5 +008c1510 EXTERNAL:000000b9 008c1620 0085c590 -008c1620 EXTERNAL:000000b9 008c1620 EXTERNAL:000000a5 -008c1680 EXTERNAL:000000b6 +008c1620 0085bfd0 +008c1620 EXTERNAL:000000b9 008c1680 0085c590 -008c1680 EXTERNAL:000000b9 +008c1680 EXTERNAL:000000b6 008c1680 EXTERNAL:000000a5 -008c16e0 0085bfd0 +008c1680 EXTERNAL:000000b9 008c16e0 0085c590 -008c16e0 EXTERNAL:000000b9 008c16e0 EXTERNAL:000000a5 -008c1740 EXTERNAL:000000b6 +008c16e0 0085bfd0 +008c16e0 EXTERNAL:000000b9 008c1740 0085c590 -008c1740 EXTERNAL:000000b9 +008c1740 EXTERNAL:000000b6 008c1740 EXTERNAL:000000a5 +008c1740 EXTERNAL:000000b9 008c17a0 00407690 -008c17a0 EXTERNAL:0000009f 008c17a0 0085c590 +008c17a0 EXTERNAL:000000a5 +008c17a0 EXTERNAL:0000009f +008c17a0 EXTERNAL:000000b9 008c17a0 EXTERNAL:000000a0 008c17a0 EXTERNAL:000000a8 -008c17a0 EXTERNAL:000000b9 -008c17a0 EXTERNAL:000000a5 -008c1830 00407f10 008c1830 00407690 008c1830 0085c590 008c1830 0040d040 -008c1830 EXTERNAL:000000b9 -008c1830 004087a0 -008c1830 EXTERNAL:000000a5 +008c1830 00407f10 008c1830 00407ae0 -008c1940 EXTERNAL:000000b1 +008c1830 EXTERNAL:000000a5 +008c1830 004087a0 +008c1830 EXTERNAL:000000b9 008c1940 0085c590 -008c1940 EXTERNAL:000000b9 -008c1940 EXTERNAL:000000be +008c1940 EXTERNAL:000000b1 008c1940 EXTERNAL:000000a5 +008c1940 EXTERNAL:000000be +008c1940 EXTERNAL:000000b9 008c19c0 0085c590 008c19c0 EXTERNAL:000000b2 -008c19c0 EXTERNAL:000000b9 008c19c0 EXTERNAL:000000a5 -008c1a50 EXTERNAL:0000009f +008c19c0 EXTERNAL:000000b9 008c1a50 0085c590 +008c1a50 EXTERNAL:000000a5 +008c1a50 EXTERNAL:0000009f +008c1a50 EXTERNAL:000000b9 008c1a50 EXTERNAL:000000a0 008c1a50 EXTERNAL:000000a8 -008c1a50 EXTERNAL:000000b9 -008c1a50 EXTERNAL:000000a5 008c1ae0 0085c590 -008c1ae0 EXTERNAL:000000b9 008c1ae0 EXTERNAL:000000a5 -008c1b70 0085bfd0 +008c1ae0 EXTERNAL:000000b9 008c1b70 0085c590 -008c1b70 EXTERNAL:000000b9 008c1b70 EXTERNAL:000000a5 -008c1bd0 EXTERNAL:000000b6 +008c1b70 0085bfd0 +008c1b70 EXTERNAL:000000b9 008c1bd0 0085c590 -008c1bd0 EXTERNAL:000000b9 +008c1bd0 EXTERNAL:000000b6 008c1bd0 EXTERNAL:000000a5 -008c1c30 0085bfd0 +008c1bd0 EXTERNAL:000000b9 008c1c30 0085c590 -008c1c30 EXTERNAL:000000b9 008c1c30 EXTERNAL:000000a5 -008c1c90 EXTERNAL:000000b6 +008c1c30 0085bfd0 +008c1c30 EXTERNAL:000000b9 008c1c90 0085c590 -008c1c90 EXTERNAL:000000b9 +008c1c90 EXTERNAL:000000b6 008c1c90 EXTERNAL:000000a5 +008c1c90 EXTERNAL:000000b9 008c1cf0 0085c590 -008c1cf0 EXTERNAL:000000b9 008c1cf0 EXTERNAL:000000a5 +008c1cf0 EXTERNAL:000000b9 008c1cf0 0085c010 -008c1d50 EXTERNAL:000000b6 008c1d50 0085c590 -008c1d50 EXTERNAL:000000b9 +008c1d50 EXTERNAL:000000b6 008c1d50 EXTERNAL:000000a5 -008c1db0 0085c050 +008c1d50 EXTERNAL:000000b9 008c1db0 0085c590 -008c1db0 EXTERNAL:000000b9 008c1db0 EXTERNAL:000000a5 +008c1db0 EXTERNAL:000000b9 +008c1db0 0085c050 008c1e10 0085c590 -008c1e10 EXTERNAL:000000b9 -008c1e10 EXTERNAL:00000082 008c1e10 EXTERNAL:000000a5 -008c1e80 0085c590 -008c1e80 EXTERNAL:000000b9 +008c1e10 EXTERNAL:00000082 +008c1e10 EXTERNAL:000000b9 008c1e80 EXTERNAL:000000b7 +008c1e80 0085c590 008c1e80 EXTERNAL:000000a5 -008c1ee0 EXTERNAL:000000b6 +008c1e80 EXTERNAL:000000b9 008c1ee0 0085c590 -008c1ee0 EXTERNAL:000000b9 +008c1ee0 EXTERNAL:000000b6 008c1ee0 EXTERNAL:000000a5 -008c1f40 0085c590 -008c1f40 EXTERNAL:000000b9 +008c1ee0 EXTERNAL:000000b9 008c1f40 EXTERNAL:000000b7 +008c1f40 0085c590 008c1f40 EXTERNAL:000000a5 -008c1fa0 EXTERNAL:000000b6 +008c1f40 EXTERNAL:000000b9 008c1fa0 0085c590 -008c1fa0 EXTERNAL:000000b9 +008c1fa0 EXTERNAL:000000b6 008c1fa0 EXTERNAL:000000a5 -008c2000 0085c050 +008c1fa0 EXTERNAL:000000b9 008c2000 0085c590 -008c2000 EXTERNAL:000000b9 008c2000 EXTERNAL:000000a5 +008c2000 EXTERNAL:000000b9 +008c2000 0085c050 008c2060 0085c590 -008c2060 EXTERNAL:000000b9 -008c2060 EXTERNAL:00000082 008c2060 EXTERNAL:000000a5 -008c20d0 0085bfd0 +008c2060 EXTERNAL:00000082 +008c2060 EXTERNAL:000000b9 008c20d0 0085c590 -008c20d0 EXTERNAL:000000b9 008c20d0 EXTERNAL:000000a5 +008c20d0 0085bfd0 +008c20d0 EXTERNAL:000000b9 008c2130 0085c590 -008c2130 EXTERNAL:000000b9 008c2130 0085bff0 008c2130 EXTERNAL:000000a5 -008c2190 EXTERNAL:0000009f +008c2130 EXTERNAL:000000b9 008c2190 0085c590 +008c2190 EXTERNAL:000000a5 +008c2190 EXTERNAL:0000009f +008c2190 EXTERNAL:000000b9 008c2190 EXTERNAL:000000a0 008c2190 EXTERNAL:000000a8 -008c2190 EXTERNAL:000000b9 -008c2190 EXTERNAL:000000a5 008c2220 0085c590 -008c2220 EXTERNAL:000000b9 008c2220 EXTERNAL:000000b0 008c2220 EXTERNAL:000000a5 -008c2290 0085c050 +008c2220 EXTERNAL:000000b9 008c2290 0085c590 -008c2290 EXTERNAL:000000b9 008c2290 EXTERNAL:000000a5 +008c2290 EXTERNAL:000000b9 +008c2290 0085c050 008c22f0 0085c590 -008c22f0 EXTERNAL:000000b9 008c22f0 EXTERNAL:000000a5 +008c22f0 EXTERNAL:000000b9 008c22f0 0085c010 -008c2350 0085c590 -008c2350 EXTERNAL:000000b9 008c2350 EXTERNAL:000000b7 +008c2350 0085c590 008c2350 EXTERNAL:000000a5 -008c23b0 0085bfd0 +008c2350 EXTERNAL:000000b9 008c23b0 0085c590 -008c23b0 EXTERNAL:000000b9 008c23b0 EXTERNAL:000000a5 -008c2410 EXTERNAL:000000b6 +008c23b0 0085bfd0 +008c23b0 EXTERNAL:000000b9 008c2410 0085c590 -008c2410 EXTERNAL:000000b9 +008c2410 EXTERNAL:000000b6 008c2410 EXTERNAL:000000a5 -008c2470 EXTERNAL:000000b1 -008c2470 EXTERNAL:0000009f +008c2410 EXTERNAL:000000b9 008c2470 0085c590 +008c2470 EXTERNAL:000000b1 +008c2470 EXTERNAL:000000a5 +008c2470 EXTERNAL:0000009f +008c2470 EXTERNAL:000000b9 008c2470 EXTERNAL:000000a0 008c2470 EXTERNAL:000000a8 -008c2470 EXTERNAL:000000b9 -008c2470 EXTERNAL:000000a5 008c2510 0085c590 -008c2510 EXTERNAL:000000b9 008c2510 EXTERNAL:000000a5 -008c25a0 EXTERNAL:0000009f +008c2510 EXTERNAL:000000b9 008c25a0 0085c590 +008c25a0 EXTERNAL:000000a5 +008c25a0 EXTERNAL:0000009f +008c25a0 EXTERNAL:000000b9 008c25a0 EXTERNAL:000000a0 008c25a0 EXTERNAL:000000a8 -008c25a0 EXTERNAL:000000b9 -008c25a0 EXTERNAL:000000a5 008c2630 0085c590 -008c2630 EXTERNAL:000000b9 008c2630 EXTERNAL:000000a5 +008c2630 EXTERNAL:000000b9 008c26d0 0085c590 -008c26d0 EXTERNAL:000000b9 008c26d0 0085bff0 008c26d0 EXTERNAL:000000a5 +008c26d0 EXTERNAL:000000b9 008c2730 0085c590 -008c2730 EXTERNAL:000000b9 008c2730 EXTERNAL:000000a5 +008c2730 EXTERNAL:000000b9 008c2730 0085c010 -008c2790 EXTERNAL:000000b6 008c2790 0085c590 -008c2790 EXTERNAL:000000b9 +008c2790 EXTERNAL:000000b6 008c2790 EXTERNAL:000000a5 -008c27f0 0085c590 -008c27f0 EXTERNAL:000000b9 +008c2790 EXTERNAL:000000b9 008c27f0 EXTERNAL:000000b7 +008c27f0 0085c590 008c27f0 EXTERNAL:000000a5 -008c2850 0085bfd0 +008c27f0 EXTERNAL:000000b9 008c2850 0085c590 -008c2850 EXTERNAL:000000b9 008c2850 EXTERNAL:000000a5 -008c28b0 EXTERNAL:000000b6 +008c2850 0085bfd0 +008c2850 EXTERNAL:000000b9 008c28b0 0085c590 -008c28b0 EXTERNAL:000000b9 +008c28b0 EXTERNAL:000000b6 008c28b0 EXTERNAL:000000a5 -008c2910 0040cf00 -008c2910 008c5b30 +008c28b0 EXTERNAL:000000b9 008c2910 0040cee0 -008c2910 00415bc0 008c2910 00414b10 -008c2a70 0040cf00 -008c2a70 00426940 +008c2910 008c5b30 +008c2910 0040cf00 +008c2910 00415bc0 008c2a70 0040cee0 +008c2a70 00426940 +008c2a70 0040cf00 008c2a70 00415bc0 008c2bd0 0085c3e0 008c2bf0 0085c3e0 @@ -42562,321 +42562,321 @@ 008c3290 0085c3e0 008c32b0 0085c3e0 008c32d0 0085c590 -008c32d0 EXTERNAL:000000b9 008c32d0 0085bff0 008c32d0 EXTERNAL:000000a5 +008c32d0 EXTERNAL:000000b9 008c3330 0085c590 -008c3330 EXTERNAL:000000b9 008c3330 0085bff0 008c3330 EXTERNAL:000000a5 +008c3330 EXTERNAL:000000b9 008c3390 0085c590 -008c3390 EXTERNAL:000000b9 008c3390 0085bff0 008c3390 EXTERNAL:000000a5 +008c3390 EXTERNAL:000000b9 008c33f0 0085c590 -008c33f0 EXTERNAL:000000b9 008c33f0 0085bff0 008c33f0 EXTERNAL:000000a5 +008c33f0 EXTERNAL:000000b9 008c3450 0085c590 -008c3450 EXTERNAL:000000b9 008c3450 0085bff0 008c3450 EXTERNAL:000000a5 +008c3450 EXTERNAL:000000b9 008c34b0 0085c590 -008c34b0 EXTERNAL:000000b9 008c34b0 0085bff0 008c34b0 EXTERNAL:000000a5 +008c34b0 EXTERNAL:000000b9 008c3510 0085c590 -008c3510 EXTERNAL:000000b9 008c3510 0085bff0 008c3510 EXTERNAL:000000a5 +008c3510 EXTERNAL:000000b9 008c3570 0085c590 -008c3570 EXTERNAL:000000b9 008c3570 0085bff0 008c3570 EXTERNAL:000000a5 +008c3570 EXTERNAL:000000b9 008c35d0 0085c590 -008c35d0 EXTERNAL:000000b9 008c35d0 0085bff0 008c35d0 EXTERNAL:000000a5 +008c35d0 EXTERNAL:000000b9 008c3630 0085c590 -008c3630 EXTERNAL:000000b9 008c3630 0085bff0 008c3630 EXTERNAL:000000a5 -008c3690 EXTERNAL:000000bc -008c3690 EXTERNAL:000000b8 -008c3690 EXTERNAL:0000009c -008c3690 EXTERNAL:000000b9 -008c3690 0085d500 +008c3630 EXTERNAL:000000b9 008c3690 EXTERNAL:000000ab -008c3690 EXTERNAL:000000bd -008c3690 0085d2c0 -008c3690 0085d040 +008c3690 0085d500 +008c3690 EXTERNAL:0000009c 008c3690 EXTERNAL:000000be +008c3690 0085d2c0 +008c3690 EXTERNAL:000000bc 008c3690 EXTERNAL:000000bf -008c3690 EXTERNAL:00000083 +008c3690 EXTERNAL:000000b8 008c3690 EXTERNAL:000000bb -008c38a0 EXTERNAL:000000bc -008c38a0 EXTERNAL:000000b8 -008c38a0 EXTERNAL:0000009c -008c38a0 EXTERNAL:000000b9 -008c38a0 0085d500 +008c3690 EXTERNAL:000000bd +008c3690 EXTERNAL:000000b9 +008c3690 EXTERNAL:00000083 +008c3690 0085d040 008c38a0 EXTERNAL:000000ab -008c38a0 EXTERNAL:000000bd -008c38a0 0085d2c0 -008c38a0 0085d040 +008c38a0 0085d500 +008c38a0 EXTERNAL:0000009c 008c38a0 EXTERNAL:000000be +008c38a0 0085d2c0 +008c38a0 EXTERNAL:000000bc 008c38a0 EXTERNAL:000000bf -008c38a0 EXTERNAL:00000083 +008c38a0 EXTERNAL:000000b8 008c38a0 EXTERNAL:000000bb -008c3ab0 EXTERNAL:000000bc -008c3ab0 EXTERNAL:000000b8 -008c3ab0 EXTERNAL:0000009c -008c3ab0 EXTERNAL:000000b9 -008c3ab0 0085d500 +008c38a0 EXTERNAL:000000bd +008c38a0 EXTERNAL:000000b9 +008c38a0 EXTERNAL:00000083 +008c38a0 0085d040 008c3ab0 EXTERNAL:000000ab -008c3ab0 EXTERNAL:000000bd -008c3ab0 0085d2c0 -008c3ab0 0085d040 +008c3ab0 0085d500 +008c3ab0 EXTERNAL:0000009c 008c3ab0 EXTERNAL:000000be +008c3ab0 0085d2c0 +008c3ab0 EXTERNAL:000000bc 008c3ab0 EXTERNAL:000000bf -008c3ab0 EXTERNAL:00000083 +008c3ab0 EXTERNAL:000000b8 008c3ab0 EXTERNAL:000000bb -008c3cc0 EXTERNAL:000000bc -008c3cc0 EXTERNAL:000000b8 -008c3cc0 EXTERNAL:0000009c -008c3cc0 EXTERNAL:000000b9 -008c3cc0 0085d500 +008c3ab0 EXTERNAL:000000bd +008c3ab0 EXTERNAL:000000b9 +008c3ab0 EXTERNAL:00000083 +008c3ab0 0085d040 008c3cc0 EXTERNAL:000000ab -008c3cc0 EXTERNAL:000000bd -008c3cc0 0085d2c0 -008c3cc0 0085d040 +008c3cc0 0085d500 +008c3cc0 EXTERNAL:0000009c 008c3cc0 EXTERNAL:000000be +008c3cc0 0085d2c0 +008c3cc0 EXTERNAL:000000bc 008c3cc0 EXTERNAL:000000bf -008c3cc0 EXTERNAL:00000083 +008c3cc0 EXTERNAL:000000b8 008c3cc0 EXTERNAL:000000bb -008c3ed0 EXTERNAL:000000bc -008c3ed0 EXTERNAL:000000b8 -008c3ed0 EXTERNAL:0000009c -008c3ed0 EXTERNAL:000000b9 -008c3ed0 0085d500 +008c3cc0 EXTERNAL:000000bd +008c3cc0 EXTERNAL:000000b9 +008c3cc0 EXTERNAL:00000083 +008c3cc0 0085d040 008c3ed0 EXTERNAL:000000ab -008c3ed0 EXTERNAL:000000bd -008c3ed0 0085d2c0 -008c3ed0 0085d040 +008c3ed0 0085d500 +008c3ed0 EXTERNAL:0000009c 008c3ed0 EXTERNAL:000000be +008c3ed0 0085d2c0 +008c3ed0 EXTERNAL:000000bc 008c3ed0 EXTERNAL:000000bf -008c3ed0 EXTERNAL:00000083 +008c3ed0 EXTERNAL:000000b8 008c3ed0 EXTERNAL:000000bb -008c40e0 EXTERNAL:000000bc -008c40e0 EXTERNAL:000000b8 -008c40e0 EXTERNAL:0000009c -008c40e0 EXTERNAL:000000b9 -008c40e0 0085d500 +008c3ed0 EXTERNAL:000000bd +008c3ed0 EXTERNAL:000000b9 +008c3ed0 EXTERNAL:00000083 +008c3ed0 0085d040 008c40e0 EXTERNAL:000000ab -008c40e0 EXTERNAL:000000bd -008c40e0 0085d2c0 -008c40e0 0085d040 +008c40e0 0085d500 +008c40e0 EXTERNAL:0000009c 008c40e0 EXTERNAL:000000be +008c40e0 0085d2c0 +008c40e0 EXTERNAL:000000bc 008c40e0 EXTERNAL:000000bf -008c40e0 EXTERNAL:00000083 +008c40e0 EXTERNAL:000000b8 008c40e0 EXTERNAL:000000bb -008c42f0 EXTERNAL:000000bc -008c42f0 EXTERNAL:000000b8 -008c42f0 EXTERNAL:0000009c -008c42f0 EXTERNAL:000000b9 -008c42f0 0085d500 +008c40e0 EXTERNAL:000000bd +008c40e0 EXTERNAL:000000b9 +008c40e0 EXTERNAL:00000083 +008c40e0 0085d040 008c42f0 EXTERNAL:000000ab -008c42f0 EXTERNAL:000000bd -008c42f0 0085d2c0 -008c42f0 0085d040 +008c42f0 0085d500 +008c42f0 EXTERNAL:0000009c 008c42f0 EXTERNAL:000000be +008c42f0 0085d2c0 +008c42f0 EXTERNAL:000000bc 008c42f0 EXTERNAL:000000bf -008c42f0 EXTERNAL:00000083 +008c42f0 EXTERNAL:000000b8 008c42f0 EXTERNAL:000000bb -008c4500 EXTERNAL:000000bc -008c4500 EXTERNAL:000000b8 -008c4500 EXTERNAL:0000009c -008c4500 EXTERNAL:000000b9 -008c4500 0085d500 +008c42f0 EXTERNAL:000000bd +008c42f0 EXTERNAL:000000b9 +008c42f0 EXTERNAL:00000083 +008c42f0 0085d040 008c4500 EXTERNAL:000000ab -008c4500 EXTERNAL:000000bd -008c4500 0085d2c0 -008c4500 0085d040 +008c4500 0085d500 +008c4500 EXTERNAL:0000009c 008c4500 EXTERNAL:000000be +008c4500 0085d2c0 +008c4500 EXTERNAL:000000bc 008c4500 EXTERNAL:000000bf -008c4500 EXTERNAL:00000083 +008c4500 EXTERNAL:000000b8 008c4500 EXTERNAL:000000bb -008c4710 EXTERNAL:000000bc -008c4710 EXTERNAL:000000b8 -008c4710 EXTERNAL:0000009c -008c4710 EXTERNAL:000000b9 -008c4710 0085d500 +008c4500 EXTERNAL:000000bd +008c4500 EXTERNAL:000000b9 +008c4500 EXTERNAL:00000083 +008c4500 0085d040 008c4710 EXTERNAL:000000ab -008c4710 EXTERNAL:000000bd -008c4710 0085d2c0 -008c4710 0085d040 +008c4710 0085d500 +008c4710 EXTERNAL:0000009c 008c4710 EXTERNAL:000000be +008c4710 0085d2c0 +008c4710 EXTERNAL:000000bc 008c4710 EXTERNAL:000000bf -008c4710 EXTERNAL:00000083 +008c4710 EXTERNAL:000000b8 008c4710 EXTERNAL:000000bb -008c4920 EXTERNAL:000000bc -008c4920 EXTERNAL:000000b8 -008c4920 EXTERNAL:0000009c -008c4920 EXTERNAL:000000b9 -008c4920 0085d500 +008c4710 EXTERNAL:000000bd +008c4710 EXTERNAL:000000b9 +008c4710 EXTERNAL:00000083 +008c4710 0085d040 008c4920 EXTERNAL:000000ab -008c4920 EXTERNAL:000000bd -008c4920 0085d2c0 -008c4920 0085d040 +008c4920 0085d500 +008c4920 EXTERNAL:0000009c 008c4920 EXTERNAL:000000be +008c4920 0085d2c0 +008c4920 EXTERNAL:000000bc 008c4920 EXTERNAL:000000bf -008c4920 EXTERNAL:00000083 +008c4920 EXTERNAL:000000b8 008c4920 EXTERNAL:000000bb -008c4b30 00709280 +008c4920 EXTERNAL:000000bd +008c4920 EXTERNAL:000000b9 +008c4920 EXTERNAL:00000083 +008c4920 0085d040 008c4b30 00a0f4c0 +008c4b30 00709280 008c4c80 00aef15c 008c4cb0 00aef15c +008c4ce0 0040d040 008c4ce0 00407f10 008c4ce0 00aef15c -008c4ce0 0040d040 008c4ce0 004087a0 -008c4d70 0042c8e0 -008c4d70 004b3950 -008c4d70 00aef15c 008c4d70 00a1ad90 +008c4d70 00aef15c +008c4d70 004b3950 +008c4d70 0042c8e0 008c4dd0 00aef15c -008c4e10 00aef15c 008c4e10 004cf210 +008c4e10 00aef15c +008c4e90 0085c590 008c4e90 EXTERNAL:000000b1 008c4e90 EXTERNAL:000000b6 +008c4e90 EXTERNAL:000000a5 008c4e90 EXTERNAL:0000009f -008c4e90 0085c590 +008c4e90 EXTERNAL:000000b9 008c4e90 EXTERNAL:000000a0 008c4e90 EXTERNAL:000000a8 -008c4e90 EXTERNAL:000000b9 -008c4e90 EXTERNAL:000000a5 +008c4f50 0085c590 008c4f50 EXTERNAL:000000b1 008c4f50 EXTERNAL:000000b6 +008c4f50 EXTERNAL:000000a5 008c4f50 EXTERNAL:0000009f -008c4f50 0085c590 +008c4f50 EXTERNAL:000000b9 008c4f50 EXTERNAL:000000a0 008c4f50 EXTERNAL:000000a8 -008c4f50 EXTERNAL:000000b9 -008c4f50 EXTERNAL:000000a5 +008c5010 0085c590 008c5010 EXTERNAL:000000b1 008c5010 EXTERNAL:000000b6 +008c5010 EXTERNAL:000000a5 008c5010 EXTERNAL:0000009f -008c5010 0085c590 +008c5010 EXTERNAL:000000b9 008c5010 EXTERNAL:000000a0 008c5010 EXTERNAL:000000a8 -008c5010 EXTERNAL:000000b9 -008c5010 EXTERNAL:000000a5 +008c50d0 0085c590 008c50d0 EXTERNAL:000000b1 008c50d0 EXTERNAL:000000b6 +008c50d0 EXTERNAL:000000a5 008c50d0 EXTERNAL:0000009f -008c50d0 0085c590 +008c50d0 EXTERNAL:000000b9 008c50d0 EXTERNAL:000000a0 008c50d0 EXTERNAL:000000a8 -008c50d0 EXTERNAL:000000b9 -008c50d0 EXTERNAL:000000a5 +008c5190 0085c590 008c5190 EXTERNAL:000000b1 008c5190 EXTERNAL:000000b6 +008c5190 EXTERNAL:000000a5 008c5190 EXTERNAL:0000009f -008c5190 0085c590 +008c5190 EXTERNAL:000000b9 008c5190 EXTERNAL:000000a0 008c5190 EXTERNAL:000000a8 -008c5190 EXTERNAL:000000b9 -008c5190 EXTERNAL:000000a5 +008c5250 0085c590 008c5250 EXTERNAL:000000b1 008c5250 EXTERNAL:000000b6 +008c5250 EXTERNAL:000000a5 008c5250 EXTERNAL:0000009f -008c5250 0085c590 +008c5250 EXTERNAL:000000b9 008c5250 EXTERNAL:000000a0 008c5250 EXTERNAL:000000a8 -008c5250 EXTERNAL:000000b9 -008c5250 EXTERNAL:000000a5 +008c5310 0085c590 008c5310 EXTERNAL:000000b1 008c5310 EXTERNAL:000000b6 +008c5310 EXTERNAL:000000a5 008c5310 EXTERNAL:0000009f -008c5310 0085c590 +008c5310 EXTERNAL:000000b9 008c5310 EXTERNAL:000000a0 008c5310 EXTERNAL:000000a8 -008c5310 EXTERNAL:000000b9 -008c5310 EXTERNAL:000000a5 +008c53d0 0085c590 008c53d0 EXTERNAL:000000b1 008c53d0 EXTERNAL:000000b6 +008c53d0 EXTERNAL:000000a5 008c53d0 EXTERNAL:0000009f -008c53d0 0085c590 +008c53d0 EXTERNAL:000000b9 008c53d0 EXTERNAL:000000a0 008c53d0 EXTERNAL:000000a8 -008c53d0 EXTERNAL:000000b9 -008c53d0 EXTERNAL:000000a5 +008c5490 0085c590 008c5490 EXTERNAL:000000b1 008c5490 EXTERNAL:000000b6 +008c5490 EXTERNAL:000000a5 008c5490 EXTERNAL:0000009f -008c5490 0085c590 +008c5490 EXTERNAL:000000b9 008c5490 EXTERNAL:000000a0 008c5490 EXTERNAL:000000a8 -008c5490 EXTERNAL:000000b9 -008c5490 EXTERNAL:000000a5 +008c5550 0085c590 008c5550 EXTERNAL:000000b1 008c5550 EXTERNAL:000000b6 +008c5550 EXTERNAL:000000a5 008c5550 EXTERNAL:0000009f -008c5550 0085c590 +008c5550 EXTERNAL:000000b9 008c5550 EXTERNAL:000000a0 008c5550 EXTERNAL:000000a8 -008c5550 EXTERNAL:000000b9 -008c5550 EXTERNAL:000000a5 +008c5610 0085c590 008c5610 EXTERNAL:000000b1 008c5610 EXTERNAL:000000b6 +008c5610 EXTERNAL:000000a5 008c5610 EXTERNAL:0000009f -008c5610 0085c590 +008c5610 EXTERNAL:000000b9 008c5610 EXTERNAL:000000a0 008c5610 EXTERNAL:000000a8 -008c5610 EXTERNAL:000000b9 -008c5610 EXTERNAL:000000a5 +008c56d0 0085c590 008c56d0 EXTERNAL:000000b1 008c56d0 EXTERNAL:000000b6 +008c56d0 EXTERNAL:000000a5 008c56d0 EXTERNAL:0000009f -008c56d0 0085c590 +008c56d0 EXTERNAL:000000b9 008c56d0 EXTERNAL:000000a0 008c56d0 EXTERNAL:000000a8 -008c56d0 EXTERNAL:000000b9 -008c56d0 EXTERNAL:000000a5 +008c5790 0085c590 008c5790 EXTERNAL:000000b1 008c5790 EXTERNAL:000000b6 +008c5790 EXTERNAL:000000a5 008c5790 EXTERNAL:0000009f -008c5790 0085c590 +008c5790 EXTERNAL:000000b9 008c5790 EXTERNAL:000000a0 008c5790 EXTERNAL:000000a8 -008c5790 EXTERNAL:000000b9 -008c5790 EXTERNAL:000000a5 +008c5850 0085c590 008c5850 EXTERNAL:000000b1 008c5850 EXTERNAL:000000b6 +008c5850 EXTERNAL:000000a5 008c5850 EXTERNAL:0000009f -008c5850 0085c590 +008c5850 EXTERNAL:000000b9 008c5850 EXTERNAL:000000a0 008c5850 EXTERNAL:000000a8 -008c5850 EXTERNAL:000000b9 -008c5850 EXTERNAL:000000a5 +008c5910 0085c590 008c5910 EXTERNAL:000000b1 008c5910 EXTERNAL:000000b6 +008c5910 EXTERNAL:000000a5 008c5910 EXTERNAL:0000009f -008c5910 0085c590 +008c5910 EXTERNAL:000000b9 008c5910 EXTERNAL:000000a0 008c5910 EXTERNAL:000000a8 -008c5910 EXTERNAL:000000b9 -008c5910 EXTERNAL:000000a5 +008c59d0 0085c590 008c59d0 EXTERNAL:000000b1 008c59d0 EXTERNAL:000000b6 +008c59d0 EXTERNAL:000000a5 008c59d0 EXTERNAL:0000009f -008c59d0 0085c590 +008c59d0 EXTERNAL:000000b9 008c59d0 EXTERNAL:000000a0 008c59d0 EXTERNAL:000000a8 -008c59d0 EXTERNAL:000000b9 -008c59d0 EXTERNAL:000000a5 -008c5a90 005cb9b0 008c5a90 00426980 008c5a90 00aef15c +008c5a90 005cb9b0 008c5ae0 00424540 008c5ae0 00aef15c 008c5b90 0085c3e0 @@ -42889,487 +42889,487 @@ 008c5c70 0085c3e0 008c5c90 0085c3e0 008c5cb0 0085c3e0 -008c5d20 EXTERNAL:00000257 008c5d20 0041d4c0 +008c5d20 EXTERNAL:00000257 008c5d50 008c5d20 +008c5d70 0040d040 008c5d70 00407f10 008c5d70 004149d0 -008c5d70 0040d040 008c5d70 004087a0 008c6240 EXTERNAL:00000220 -008c6240 0040cf00 -008c6240 0040a1b0 +008c6240 0040a5d0 008c6240 00aef15c 008c6240 0040bd50 -008c6240 0040a5d0 008c6240 00aef12b +008c6240 0040a1b0 +008c6240 0040cf00 008c64e0 EXTERNAL:00000220 -008c64e0 00452bf0 -008c64e0 0040a1b0 +008c64e0 0040a5d0 +008c64e0 0040b220 008c64e0 00aef15c 008c64e0 00409030 +008c64e0 00452bf0 +008c64e0 00aef12b +008c64e0 0040a1b0 008c64e0 008c87b0 008c64e0 008c8c70 -008c64e0 0040b220 -008c64e0 0040a5d0 -008c64e0 00aef12b -008c66a0 00a55d60 -008c66a0 0040a140 -008c66a0 0092b100 -008c66a0 00409120 -008c66a0 00a1b140 -008c66a0 00a1bd80 -008c66a0 00694d20 -008c66a0 004073d0 -008c66a0 00a1b8e0 -008c66a0 004288a0 -008c66a0 0040a690 -008c66a0 00a1bb10 -008c66a0 00a1af90 008c66a0 0040a030 -008c66a0 0069dac0 -008c66a0 0041e420 +008c66a0 0040a0d0 008c66a0 0092b070 +008c66a0 0069dac0 +008c66a0 0040d040 +008c66a0 0040a690 008c66a0 00a112c0 +008c66a0 004073d0 +008c66a0 00a1b140 +008c66a0 00a55d60 +008c66a0 00694d20 +008c66a0 0040a140 +008c66a0 00a1b8e0 +008c66a0 00409120 +008c66a0 00aef12b 008c66a0 0092b1e0 +008c66a0 0092b100 +008c66a0 00a1af90 +008c66a0 00695030 +008c66a0 00a1bd80 +008c66a0 00a1bb10 +008c66a0 0041e420 +008c66a0 004288a0 +008c66a0 00408b90 008c66a0 00416440 008c66a0 009586f0 -008c66a0 00695030 -008c66a0 0040d040 -008c66a0 0040a0d0 -008c66a0 00408b90 -008c66a0 00aef12b 008c8760 008c8c70 -008c87b0 00a20fb0 008c87b0 0098aec0 +008c87b0 00a20fb0 +008c8c70 00af05f1 008c8c70 EXTERNAL:00000220 -008c8c70 00aef15c -008c8c70 0040bd50 -008c8c70 0040aaf0 -008c8c70 0040cae0 008c8c70 0040b220 -008c8c70 006b9c10 -008c8c70 00414870 -008c8c70 0040a5d0 +008c8c70 00407f10 +008c8c70 00aef15c +008c8c70 0040b430 +008c8c70 0040c000 +008c8c70 0040aaf0 +008c8c70 00aef12b 008c8c70 0040bf30 008c8c70 0040cf50 -008c8c70 00407f10 -008c8c70 00af05f1 -008c8c70 00416440 -008c8c70 0040c000 -008c8c70 0040a1b0 -008c8c70 0040b430 008c8c70 004997f0 -008c8c70 00aef12b +008c8c70 00414870 +008c8c70 0040a5d0 +008c8c70 0040cae0 +008c8c70 006b9c10 +008c8c70 0040bd50 +008c8c70 0040a1b0 +008c8c70 00416440 008c9460 00a648b0 +008c94b0 0040d040 008c94b0 00407f10 008c94b0 008c9e10 -008c94b0 0040d040 008c94b0 004087a0 -008c9530 00a159a0 008c9530 0098ae20 -008c9530 008c9e90 -008c9530 0098aa30 -008c9530 00409030 -008c9530 EXTERNAL:00000262 -008c9530 00a20240 -008c9530 0041e420 -008c9530 008ca0a0 008c9530 00a157f0 +008c9530 00409030 008c9530 00a20fb0 +008c9530 0041e420 +008c9530 008c9e90 +008c9530 00a20240 +008c9530 00a159a0 008c9530 00a0f4e0 +008c9530 0098aa30 +008c9530 008ca0a0 +008c9530 EXTERNAL:00000262 008c99b0 0040a030 -008c99b0 00a55d60 008c99b0 0069dac0 -008c99b0 00409120 -008c99b0 00a2c250 -008c99b0 00a1c7d0 008c99b0 0040b220 -008c99b0 00a1c480 +008c99b0 00a2c250 +008c99b0 00409120 008c99b0 00aef12b +008c99b0 00a55d60 +008c99b0 00a1c7d0 +008c99b0 00a1c480 008c9dd0 008ca0a0 008c9e10 EXTERNAL:00000220 008c9e10 00aef15c 008c9e10 008ca0a0 008c9e70 008ca0a0 008c9e90 EXTERNAL:00000220 -008c9e90 0040cf00 008c9e90 00aef15c -008c9e90 0041e420 -008c9e90 008ca0a0 -008c9e90 008ca120 008c9e90 0040cee0 +008c9e90 0041e420 008c9e90 00a0f4e0 +008c9e90 008ca120 +008c9e90 0040cf00 +008c9e90 008ca0a0 008c9e90 00415bc0 008ca06f 00af05eb 008ca06f 008c9e70 008ca06f 00426940 008ca0a0 EXTERNAL:00000262 008ca120 0041e420 -008ca120 008ca0a0 008ca120 00a0f4e0 +008ca120 008ca0a0 008ca1c0 008ca0a0 +008ca220 0040d040 008ca220 008cb2e0 008ca220 00407f10 -008ca220 0040d040 -008ca220 004087a0 008ca220 00aef638 +008ca220 004087a0 008ca220 008ca5b0 008ca2c0 EXTERNAL:00000220 -008ca2c0 0040cf00 -008ca2c0 0040a1b0 +008ca2c0 0040a5d0 008ca2c0 00aef15c 008ca2c0 00409030 008ca2c0 0040bd50 -008ca2c0 0040a5d0 008ca2c0 00aef12b -008ca5b0 00407f10 +008ca2c0 0040a1b0 +008ca2c0 0040cf00 008ca5b0 0040d040 -008ca600 0040ccd0 +008ca5b0 00407f10 008ca600 EXTERNAL:00000220 +008ca600 009baaa0 008ca600 004239b0 +008ca600 0040ccd0 008ca600 00aef15c +008ca600 008cb420 +008ca600 00907690 +008ca600 00aef12b +008ca600 0040d040 +008ca600 0090f5f0 +008ca600 00a112c0 +008ca600 0091c770 008ca600 0041e420 008ca600 008cb3a0 -008ca600 00907690 -008ca600 00a112c0 -008ca600 008cb420 -008ca600 0090f5f0 008ca600 004254b0 -008ca600 009baaa0 -008ca600 0040d040 008ca600 00731790 -008ca600 0091c770 -008ca600 00aef12b 008caa20 0040d040 -008caa30 0040ccd0 -008caa30 0040a030 -008caa30 0040a7e0 008caa30 EXTERNAL:00000220 -008caa30 00a5f260 -008caa30 008ca1d0 -008caa30 00aef15c -008caa30 00a1aec0 -008caa30 0041e420 -008caa30 00a112c0 -008caa30 009586f0 -008caa30 00a23610 -008caa30 0040b430 -008caa30 00a23ae0 +008caa30 0040a030 008caa30 0040ace0 +008caa30 0040ccd0 +008caa30 0040b430 +008caa30 00a1aec0 +008caa30 00aef15c 008caa30 00aef12b -008cb0f0 006f9770 +008caa30 008ca1d0 +008caa30 00a23ae0 +008caa30 0040a7e0 +008caa30 00a112c0 +008caa30 0041e420 +008caa30 00a23610 +008caa30 00a5f260 +008caa30 009586f0 008cb0f0 006eef60 +008cb0f0 006f9770 008cb0f0 00429be0 008cb190 004240b0 -008cb190 00414a80 -008cb190 00af060f 008cb190 00a0f550 -008cb190 00aefca0 008cb190 00a1aec0 +008cb190 00af060f 008cb190 0041e420 008cb190 00aef12b +008cb190 00414a80 +008cb190 00aefca0 008cb2e0 EXTERNAL:00000220 -008cb2e0 00aef15c 008cb2e0 0040d040 +008cb2e0 00aef15c 008cb370 0040d040 008cb420 0040cf50 008cb420 EXTERNAL:00000220 -008cb420 0040cf00 -008cb420 00aef15c 008cb420 0040d040 -008cb420 008cb3a0 +008cb420 00aef15c 008cb420 0040cee0 +008cb420 008cb3a0 +008cb420 0040cf00 008cb420 00415bc0 -008cb691 00af05eb -008cb691 008cb370 008cb691 004aaaa0 +008cb691 008cb370 +008cb691 00af05eb 008cb6c0 0040d040 008cb6f0 0040a030 008cb780 004074c0 -008cb7a0 00407f10 008cb7a0 0040d040 -008cb7a0 004087a0 +008cb7a0 00407f10 008cb7a0 00aef638 +008cb7a0 004087a0 008cbaf0 00407f10 008cbaf0 00aef15c -008cbaf0 00408830 008cbaf0 00aef638 008cbaf0 0040e2b0 +008cbaf0 00408830 008cbd60 EXTERNAL:00000220 008cbd60 008cd670 -008cbd60 0040cf00 -008cbd60 0040a1b0 -008cbd60 00aef15c -008cbd60 0040bd50 008cbd60 0040a5d0 -008cbd60 00aef12b +008cbd60 00aef15c 008cbd60 008cc5e0 -008cbfe0 008ccc70 +008cbd60 0040bd50 +008cbd60 00aef12b +008cbd60 0040a1b0 +008cbd60 0040cf00 +008cbfe0 0098ae20 008cbfe0 008cd3f0 008cbfe0 008cd670 -008cbfe0 0098ae20 008cbfe0 008cca10 008cbfe0 00409030 008cbfe0 008cc5e0 +008cbfe0 008ccc70 008cc1a0 0040a030 -008cc1a0 0040b430 -008cc1a0 008cd7b0 -008cc1a0 008cb6f0 -008cc1a0 0095af30 008cc1a0 0040ace0 +008cc1a0 0040b430 +008cc1a0 0095af30 +008cc1a0 008cb6f0 008cc1a0 00aef12b +008cc1a0 008cd7b0 008cc530 008cd670 008cc530 008cca10 -008cc5e0 00a112c0 -008cc5e0 0040a7e0 -008cc5e0 0040b430 008cc5e0 0040b220 -008cca10 00a112c0 -008cca10 0040a7e0 -008cca10 0040cf00 -008cca10 0040a1b0 -008cca10 0040b430 -008cca10 00aef638 +008cc5e0 0040b430 +008cc5e0 0040a7e0 +008cc5e0 00a112c0 008cca10 0040a5d0 +008cca10 0040b430 +008cca10 0040a7e0 +008cca10 00a112c0 +008cca10 00aef638 008cca10 00aef12b -008ccc70 0098ae20 -008ccc70 0092dc30 -008ccc70 00907460 -008ccc70 0085b790 +008cca10 0040a1b0 +008cca10 0040cf00 008ccc70 00956780 -008ccc70 00a20fb0 -008ccc70 0040c2f0 -008ccc70 0085b280 -008ccc70 00907230 -008ccc70 0098aec0 008ccc70 0091e730 +008ccc70 0098ae20 +008ccc70 0085b280 +008ccc70 0098aec0 +008ccc70 00a20fb0 +008ccc70 0092dc30 +008ccc70 0040c2f0 +008ccc70 0085b790 +008ccc70 00907230 +008ccc70 00907460 008cd3f0 004997f0 +008cd3f0 00414870 008cd3f0 00a20fb0 008cd3f0 008cddf0 -008cd3f0 00414870 -008cd670 EXTERNAL:00000220 -008cd670 0040a1b0 -008cd670 00aef15c 008cd670 004997f0 +008cd670 EXTERNAL:00000220 008cd670 0040a5d0 +008cd670 00aef15c 008cd670 00aef12b +008cd670 0040a1b0 008cd7b0 0040cf50 -008cd7b0 0040ccc0 -008cd7b0 00af05df 008cd7b0 EXTERNAL:00000220 -008cd7b0 0040cf00 +008cd7b0 0040ace0 +008cd7b0 00af05df 008cd7b0 00aef15c -008cd7b0 00651a90 -008cd7b0 0042f2f0 008cd7b0 00a0f550 008cd7b0 00a1aec0 -008cd7b0 0040ace0 +008cd7b0 0042f2f0 008cd7b0 00aef12b +008cd7b0 0040ccc0 +008cd7b0 00651a90 +008cd7b0 0040cf00 008cddf0 0040cf50 +008cddf0 00956780 +008cddf0 009eb7f0 +008cddf0 009e9d50 +008cddf0 006ef8f0 008cddf0 00a112c0 008cddf0 008f19f0 008cddf0 0092dc30 -008cddf0 009eb7f0 -008cddf0 00956780 -008cddf0 009e9db0 -008cddf0 009e9d50 -008cddf0 006ef8f0 008cddf0 009eb6b0 +008cddf0 009e9db0 008cddf0 009294f0 -008ce010 00407f10 008ce010 0040d040 +008ce010 00407f10 008ce010 004087a0 +008ce080 00956780 008ce080 EXTERNAL:00000220 008ce080 00aef15c -008ce080 00409030 -008ce080 00989750 -008ce080 00956780 -008ce080 0098aec0 -008ce080 0040cf50 -008ce080 0092dc30 -008ce080 009eb7f0 -008ce080 00a0f550 008ce080 00958aa0 -008ce080 009e9320 -008ce080 00a20fb0 008ce080 00aef12b -008ce430 00a112c0 +008ce080 009e9320 +008ce080 0040cf50 +008ce080 0098aec0 +008ce080 00a0f550 +008ce080 00409030 +008ce080 009eb7f0 +008ce080 00a20fb0 +008ce080 0092dc30 +008ce080 00989750 008ce430 0040a030 -008ce430 00a55d60 -008ce430 0040a1b0 008ce430 0069dac0 -008ce430 0041e420 -008ce430 00a1bb10 008ce430 0040a5d0 008ce430 00a1bd80 +008ce430 00a112c0 +008ce430 00a1bb10 +008ce430 0041e420 008ce430 00aef12b -008ceb90 0040a1b0 +008ce430 00a55d60 +008ce430 0040a1b0 008ceb90 0040a5d0 -008ced40 00a112c0 -008ced40 008cec30 -008ced40 0092dc30 -008ced40 0098aa30 -008ced40 00958e60 -008ced40 00409030 +008ceb90 0040a1b0 008ced40 00956780 +008ced40 00409030 008ced40 00a20fb0 +008ced40 00958e60 +008ced40 00a112c0 +008ced40 0092dc30 008ced40 00408b90 +008ced40 0098aa30 +008ced40 008cec30 008cf0e0 0040a030 -008cf0e0 008cec30 -008cf0e0 00409120 008cf0e0 0040b220 -008cf480 0040a1b0 +008cf0e0 00409120 +008cf0e0 008cec30 008cf480 0040a5d0 -008cf510 00407f10 +008cf480 0040a1b0 +008cf510 008d0730 008cf510 0040d040 008cf510 00857050 +008cf510 00407f10 008cf510 004087a0 -008cf510 008d0730 -008cf610 EXTERNAL:0000025d -008cf610 00837590 -008cf610 00409030 -008cf610 00958c40 -008cf610 00958bc0 -008cf610 008d0840 -008cf610 0098aec0 -008cf610 008576c0 -008cf610 00857450 -008cf610 EXTERNAL:0000025f 008cf610 00929b40 -008cf610 00837210 -008cf610 008d0940 -008cf610 00a20fb0 -008cf610 00837ab0 +008cf610 00958bc0 +008cf610 EXTERNAL:0000025f +008cf610 EXTERNAL:0000025d 008cf610 00aef12b +008cf610 00837210 +008cf610 00857450 +008cf610 00958c40 +008cf610 008576c0 +008cf610 00837590 +008cf610 008d0940 +008cf610 0098aec0 +008cf610 00837ab0 +008cf610 008d0840 +008cf610 00409030 +008cf610 00a20fb0 008cf610 0090e6d0 -008cfd40 00a1af90 +008cfd40 00a1ba10 008cfd40 0040a030 -008cfd40 00aefca0 -008cfd40 0041e420 -008cfd40 00a1b140 -008cfd40 00a1b2d0 -008cfd40 00a112c0 +008cfd40 0040ace0 008cfd40 00a1b8e0 008cfd40 0040b430 -008cfd40 0040a8a0 -008cfd40 00a0f550 -008cfd40 00837c10 -008cfd40 00a1ba10 -008cfd40 008372e0 -008cfd40 00a2c250 -008cfd40 00a1a540 -008cfd40 0040ace0 -008cfd40 00a5f1c0 008cfd40 00aef12b +008cfd40 008372e0 +008cfd40 00a5f1c0 +008cfd40 00a1af90 +008cfd40 00a2c250 +008cfd40 00a1b2d0 +008cfd40 00a0f550 +008cfd40 0040a8a0 +008cfd40 00a112c0 +008cfd40 00a1a540 +008cfd40 0041e420 +008cfd40 00837c10 +008cfd40 00a1b140 +008cfd40 00aefca0 008d0470 EXTERNAL:00000220 -008d0470 00407f10 -008d0470 0040cf00 -008d0470 008370f0 +008d0470 00837740 008d0470 00aef15c +008d0470 00407f10 008d0470 0040bd50 008d0470 008378e0 -008d0470 00837740 008d0470 00aef12b -008d0730 0040a1b0 -008d0730 0040b220 +008d0470 008370f0 +008d0470 0040cf00 008d0730 0040a5d0 +008d0730 0040b220 +008d0730 0040a1b0 008d0730 00a51840 008d0840 00a112c0 008d0840 00408b90 -008d0940 0085afb0 008d0940 EXTERNAL:00000220 -008d0940 00a519a0 -008d0940 0040a1b0 +008d0940 0040a5d0 008d0940 00aef15c 008d0940 00837510 -008d0940 0040a5d0 008d0940 00aef12b -008d0aa0 00a51c60 +008d0940 0040a1b0 +008d0940 0085afb0 +008d0940 00a519a0 +008d0aa0 00a648b0 008d0aa0 00aef15c 008d0aa0 00837510 -008d0aa0 00a648b0 +008d0aa0 00a51c60 008d0aa0 00a51840 -008d0bc0 00aef15c 008d0bc0 00a648b0 +008d0bc0 00aef15c 008d0c30 00a112c0 008d0c30 00a51840 008d0ea0 00a0f550 -008d0ea0 00958c40 008d0ea0 00989750 +008d0ea0 00958c40 008d0ed0 0098ae20 008d0ed0 0085b280 -008d0f10 00407f10 -008d0f10 00426980 008d0f10 0040d040 +008d0f10 00426980 +008d0f10 00407f10 008d0f10 004087a0 008d0fd0 EXTERNAL:00000220 -008d0fd0 0040cf00 -008d0fd0 0040a1b0 +008d0fd0 0040a5d0 008d0fd0 00aef15c 008d0fd0 0040bd50 -008d0fd0 0040a5d0 008d0fd0 00aef12b -008d12b0 009b7500 +008d0fd0 0040a1b0 +008d0fd0 0040cf00 +008d12b0 00956780 +008d12b0 0040a5d0 008d12b0 00907b60 +008d12b0 00409030 +008d12b0 00a20fb0 008d12b0 00909c40 -008d12b0 0040a1b0 +008d12b0 008d19a0 +008d12b0 00417870 008d12b0 0092dc30 008d12b0 0090aeb0 -008d12b0 00409030 -008d12b0 00956780 -008d12b0 00a20fb0 -008d12b0 008d19a0 -008d12b0 0040a5d0 -008d12b0 00417870 -008d1600 009a6140 -008d1600 00a1b050 -008d1600 009b9310 -008d1600 00a1aec0 -008d1600 0041e420 -008d1600 00a1b8e0 -008d1600 00a0f550 -008d1600 0040a0d0 -008d1600 00909fe0 -008d1600 009060c0 +008d12b0 0040a1b0 +008d12b0 009b7500 008d1600 009a6570 008d1600 0040ace0 +008d1600 00a1b8e0 +008d1600 00a1aec0 +008d1600 009b9310 +008d1600 0040a0d0 008d1600 00aef12b +008d1600 00a1b050 +008d1600 009a6140 +008d1600 00a0f550 +008d1600 00909fe0 +008d1600 009060c0 +008d1600 0041e420 +008d19a0 00a23ae0 +008d19a0 00907c10 +008d19a0 004267f0 008d19a0 00a112c0 008d19a0 00a23610 -008d19a0 009b9480 008d19a0 00a288a0 -008d19a0 00a23ae0 -008d19a0 004267f0 -008d19a0 00907c10 +008d19a0 009b9480 008d19a0 0090b010 008d1d20 00424cd0 008d1d20 008d2790 008d1d20 0042fac0 +008d1d60 00428590 +008d1d60 008d2810 +008d1d60 008d2880 008d1d60 00a112c0 008d1d60 008d28c0 008d1d60 0042fba0 -008d1d60 008d2810 -008d1d60 00428590 -008d1d60 008d2880 +008d1f20 00435a50 008d1f20 00423970 +008d1f20 00a20fb0 008d1f20 008d26c0 +008d1f20 00a1eed0 008d1f20 00499d60 008d1f20 004242b0 -008d1f20 00a20390 -008d1f20 00a1eed0 -008d1f20 0090b070 -008d1f20 00435a50 008d1f20 006f0070 +008d1f20 00a20390 +008d1f20 0090b070 008d1f20 EXTERNAL:00000268 -008d1f20 00a20fb0 +008d2450 00424d70 008d2450 0041d540 -008d2450 00430750 008d2450 004303e0 -008d2450 004305c0 +008d2450 00430750 008d2450 00a0f610 008d2450 0041d520 -008d2450 00424d70 +008d2450 004305c0 008d26c0 00a112c0 008d2790 EXTERNAL:00000220 008d2790 00aef15c @@ -43378,509 +43378,509 @@ 008d2810 00aef15c 008d2880 008d2810 008d28c0 EXTERNAL:00000220 -008d28c0 0040cf00 008d28c0 00aef15c 008d28c0 008d2810 -008d28c0 0040cee0 008d28c0 008d2880 +008d28c0 0040cee0 +008d28c0 0040cf00 +008d2a30 0040d040 008d2a30 00407f10 +008d2a30 00415800 008d2a30 0040c7f0 008d2a30 004149d0 -008d2a30 0040d040 -008d2a30 00415800 008d2a30 004087a0 008d2a30 009efa10 008d2ca0 EXTERNAL:00000220 008d2ca0 008d3250 -008d2ca0 00aef15c -008d2ca0 0040bd50 008d2ca0 0040b220 -008d2ca0 0040a5d0 -008d2ca0 0040cf00 -008d2ca0 0040a1b0 +008d2ca0 00aef15c 008d2ca0 0040b430 008d2ca0 009efb60 -008d2ca0 009588a0 -008d2ca0 0040c3b0 008d2ca0 00aef12b +008d2ca0 0040c3b0 +008d2ca0 009588a0 +008d2ca0 0040a5d0 +008d2ca0 0040bd50 +008d2ca0 0040a1b0 +008d2ca0 0040cf00 008d3250 00407f10 -008d3250 0040c7f0 008d3250 0040b430 008d3250 00415800 +008d3250 0040c7f0 008d3360 008d3890 -008d3360 0084e820 008d3360 008d3250 008d3360 0040b430 -008d3360 008d42a0 -008d3360 0090aeb0 008d3360 00a20fb0 008d3360 008d4040 -008d3360 008d47c0 -008d3360 008d84f0 008d3360 00417870 -008d3640 00a112c0 +008d3360 008d47c0 +008d3360 0090aeb0 +008d3360 008d84f0 +008d3360 0084e820 +008d3360 008d42a0 008d3640 0040a030 -008d3640 008d4940 -008d3640 008d5640 -008d3640 008d5440 -008d3640 0090aeb0 -008d3640 008d57f0 -008d3640 0095af30 008d3640 0040ace0 +008d3640 0095af30 +008d3640 00a112c0 008d3640 00417870 -008d3890 EXTERNAL:00000220 -008d3890 0040c7f0 -008d3890 00aef15c -008d3890 007706e0 +008d3640 008d5640 +008d3640 008d4940 +008d3640 0090aeb0 +008d3640 008d5440 +008d3640 008d57f0 008d3890 00956780 +008d3890 EXTERNAL:00000220 +008d3890 0040b430 +008d3890 00aef15c +008d3890 0040c3b0 +008d3890 009588a0 +008d3890 00722330 +008d3890 00a20fb0 +008d3890 0040c7f0 +008d3890 0092dc30 008d3890 004288a0 008d3890 0084e200 -008d3890 00771550 -008d3890 0040b430 -008d3890 00722330 -008d3890 0092dc30 008d3890 0090aeb0 -008d3890 009588a0 -008d3890 00a20fb0 -008d3890 0040c3b0 -008d4040 0084e820 -008d4040 004288a0 -008d4040 0040c7f0 -008d4040 0084e200 +008d3890 00771550 +008d3890 007706e0 008d4040 0040b430 -008d4040 009588a0 -008d4040 0040c3b0 +008d4040 0040c7f0 +008d4040 004288a0 +008d4040 0084e200 008d4040 008d47c0 +008d4040 0084e820 +008d4040 0040c3b0 +008d4040 009588a0 008d42a0 EXTERNAL:00000220 -008d42a0 00aef15c -008d42a0 0040bd50 -008d42a0 0084f6e0 -008d42a0 008d47c0 -008d42a0 0084e820 008d42a0 00407f10 -008d42a0 0040cf00 -008d42a0 00694fb0 008d42a0 0040b430 +008d42a0 00aef15c 008d42a0 0040a220 -008d42a0 0084f740 -008d42a0 0040c340 -008d42a0 0040a380 -008d42a0 0040a6e0 +008d42a0 0084f6e0 008d42a0 00aef12b 008d42a0 00734a80 -008d47c0 0084e820 -008d47c0 0090aeb0 +008d42a0 0040c340 +008d42a0 0040a380 +008d42a0 00694fb0 +008d42a0 0040a6e0 +008d42a0 0040bd50 +008d42a0 008d47c0 +008d42a0 0084e820 +008d42a0 0084f740 +008d42a0 0040cf00 008d47c0 008d8460 008d47c0 00a20fb0 008d47c0 008d7cb0 -008d4940 EXTERNAL:00000220 -008d4940 0040a7e0 -008d4940 009a6660 -008d4940 00aef15c -008d4940 007706e0 -008d4940 00409120 -008d4940 008f90e0 +008d47c0 0084e820 +008d47c0 0090aeb0 008d4940 00683060 -008d4940 00a112c0 -008d4940 0040c550 -008d4940 00771550 +008d4940 EXTERNAL:00000220 008d4940 0040b430 -008d4940 00722330 -008d4940 00a0f550 -008d4940 004476a0 -008d4940 00408b90 +008d4940 00aef15c +008d4940 00409120 008d4940 00aef12b +008d4940 0040c550 +008d4940 008f90e0 +008d4940 004476a0 +008d4940 00a0f550 +008d4940 0040a7e0 +008d4940 00722330 +008d4940 009a6660 +008d4940 00a112c0 +008d4940 00408b90 +008d4940 00771550 +008d4940 007706e0 008d5440 00683060 -008d5440 0040c550 -008d5440 00407170 -008d5440 008d6b30 -008d5440 00a0f550 -008d5440 008d5f70 008d5440 008d5990 008d5440 0040ace0 +008d5440 008d6b30 +008d5440 00a0f550 008d5440 00aef12b +008d5440 00407170 +008d5440 0040c550 +008d5440 008d5f70 008d5640 00683060 -008d5640 0040c550 -008d5640 00407170 -008d5640 00a0f550 -008d5640 008d5f70 008d5640 008d5990 008d5640 0040ace0 -008d5640 00aef12b +008d5640 00a0f550 008d5640 00417870 +008d5640 00aef12b +008d5640 00407170 +008d5640 0040c550 +008d5640 008d5f70 008d57f0 00683060 008d57f0 008d5da0 -008d57f0 0040c550 -008d57f0 00407170 -008d57f0 00a0f550 -008d57f0 008d5f70 008d57f0 0040ace0 -008d57f0 00aef12b +008d57f0 00a0f550 008d57f0 00417870 +008d57f0 00aef12b +008d57f0 00407170 +008d57f0 0040c550 +008d57f0 008d5f70 008d5990 00683060 +008d5990 00a0f550 008d5990 008d8870 +008d5990 00417870 +008d5990 0072fd10 +008d5990 0040a0d0 +008d5990 009efdb0 +008d5990 00aef12b +008d5990 00407170 +008d5990 00a10e70 008d5990 0040c550 008d5990 009586f0 -008d5990 00407170 -008d5990 0072fd10 -008d5990 00a0f550 -008d5990 0040a0d0 -008d5990 00a10e70 -008d5990 00aef12b -008d5990 00417870 -008d5990 009efdb0 -008d5da0 008d8870 -008d5da0 009586f0 -008d5da0 0072fd10 008d5da0 00a0f550 +008d5da0 008d8870 +008d5da0 0072fd10 +008d5da0 00417870 008d5da0 0040a0d0 008d5da0 009efdb0 -008d5da0 00417870 -008d5f70 0040ccd0 -008d5f70 EXTERNAL:00000220 -008d5f70 00aef15c -008d5f70 00840510 +008d5da0 009586f0 008d5f70 00431070 -008d5f70 008d8460 -008d5f70 0072fec0 +008d5f70 EXTERNAL:00000220 +008d5f70 0040ccd0 +008d5f70 00aef15c 008d5f70 0084e5b0 -008d5f70 009586f0 -008d5f70 00a0f550 -008d5f70 0072fe80 -008d5f70 004997f0 -008d5f70 00aef12b 008d5f70 00417870 008d5f70 009efdb0 +008d5f70 00aef12b +008d5f70 0072fe80 +008d5f70 004997f0 +008d5f70 0072fec0 +008d5f70 00840510 +008d5f70 00a0f550 +008d5f70 008d8460 +008d5f70 009586f0 008d69d0 EXTERNAL:00000220 008d69d0 00aef15c 008d69d0 00732e90 -008d6b30 0040a030 008d6b30 EXTERNAL:00000220 -008d6b30 0040a1b0 -008d6b30 00aef15c -008d6b30 00732e90 +008d6b30 0040a030 008d6b30 0040a5d0 008d6b30 00408e00 +008d6b30 00aef15c +008d6b30 00732e90 008d6b30 008d69d0 -008d7cb0 0040ccd0 -008d7cb0 0084e5b0 -008d7cb0 EXTERNAL:00000220 -008d7cb0 009586f0 -008d7cb0 00aef15c -008d7cb0 009f0140 -008d7cb0 0072fe80 -008d7cb0 00840510 +008d6b30 0040a1b0 008d7cb0 004997f0 008d7cb0 00431070 -008d7cb0 00aef12b +008d7cb0 EXTERNAL:00000220 +008d7cb0 00840510 +008d7cb0 0040ccd0 +008d7cb0 0084e5b0 +008d7cb0 00aef15c 008d7cb0 00417870 +008d7cb0 00aef12b +008d7cb0 0072fe80 +008d7cb0 009f0140 +008d7cb0 009586f0 008d84f0 EXTERNAL:00000220 +008d84f0 006a0d30 008d84f0 00aef15c +008d84f0 00a20fb0 +008d84f0 00af08bd +008d84f0 00417870 008d84f0 0042c920 008d84f0 0090aeb0 -008d84f0 006a0d30 -008d84f0 00af08bd -008d84f0 00a20fb0 -008d84f0 00417870 -008d8870 0072fd10 008d8870 00408e00 -008d8a90 00407f10 +008d8870 0072fd10 008d8a90 0040d040 +008d8a90 00407f10 008d8a90 004087a0 008d8b00 00af08b1 -008d8b00 00a20390 -008d8b00 00409030 008d8b00 00956780 +008d8b00 0095b180 +008d8b00 00a24330 008d8b00 0098aec0 +008d8b00 00409030 +008d8b00 008da030 +008d8b00 00a20fb0 008d8b00 00a112c0 008d8b00 0092dc30 -008d8b00 0098aa30 -008d8b00 0095b180 -008d8b00 00a20fb0 -008d8b00 00a24330 +008d8b00 00a20390 008d8b00 00408b90 -008d8b00 008da030 +008d8b00 0098aa30 008d9340 00af08b1 -008d9340 00a1af90 008d9340 0040a030 -008d9340 00a20390 -008d9340 00409120 -008d9340 0040b220 -008d9340 00a112c0 008d9340 00a1b8e0 -008d9340 009586f0 -008d9340 00a0f550 -008d9340 0040a380 +008d9340 0040b220 008d9340 0095af30 +008d9340 00409120 008d9340 008da510 008d9340 00aef12b +008d9340 0040a380 +008d9340 00a1af90 +008d9340 00a0f550 +008d9340 00a112c0 +008d9340 00a20390 +008d9340 009586f0 +008da030 0095b180 +008da030 0098aec0 +008da030 00a24330 +008da030 00a20fb0 008da030 00a112c0 008da030 00a20390 -008da030 0095b180 -008da030 00a20fb0 -008da030 00a24330 008da030 00408b90 -008da030 0098aec0 -008da510 00a112c0 008da510 00a1af90 +008da510 0040a5d0 008da510 00a1b8e0 -008da510 009586f0 +008da510 0040b220 +008da510 00a0f550 +008da510 00a112c0 +008da510 00409120 +008da510 00aef12b 008da510 0040a1b0 008da510 00a20390 -008da510 00a0f550 -008da510 00409120 -008da510 0040b220 -008da510 0040a5d0 -008da510 00aef12b -008db070 00a112c0 -008db070 0040a7e0 -008db070 0040b430 -008db070 0092dc30 -008db070 00409030 +008da510 009586f0 008db070 00956780 +008db070 0040b430 +008db070 0040a7e0 +008db070 00409030 008db070 00a20fb0 -008db8f0 00a112c0 -008db8f0 0040a7e0 +008db070 00a112c0 +008db070 0092dc30 008db8f0 0040a030 -008db8f0 0040a1b0 -008db8f0 0040b430 -008db8f0 0095af30 -008db8f0 0040a5d0 008db8f0 0040ace0 +008db8f0 0040a5d0 +008db8f0 0040b430 +008db8f0 0040a7e0 +008db8f0 0095af30 +008db8f0 00a112c0 +008db8f0 0040a1b0 008dc0a0 EXTERNAL:00000230 008dc1a0 004074c0 008dc3c0 008e2b00 -008dc3c0 00407f10 008dc3c0 0040d040 -008dc3c0 004087a0 +008dc3c0 00407f10 008dc3c0 008e2b80 -008dca50 0040ccd0 +008dc3c0 004087a0 008dca50 EXTERNAL:00000220 -008dca50 0040cf00 -008dca50 0040a1b0 +008dca50 0040a5d0 +008dca50 0040ccd0 008dca50 00aef15c 008dca50 0040bd50 -008dca50 0040a5d0 008dca50 00aef12b +008dca50 0040a1b0 +008dca50 0040cf00 +008dce10 00956780 008dce10 00af08b1 008dce10 0098ae20 +008dce10 008de690 +008dce10 008de3a0 +008dce10 00a28440 +008dce10 00a68490 +008dce10 008e11b0 +008dce10 0091e730 +008dce10 0085b280 008dce10 00af0911 008dce10 00409030 -008dce10 00956780 -008dce10 0085b280 -008dce10 008db070 -008dce10 008de3a0 -008dce10 0091e730 -008dce10 00a112c0 -008dce10 008de690 -008dce10 00a68490 -008dce10 0092dc30 -008dce10 0098aa30 -008dce10 00a28440 -008dce10 00a52940 008dce10 00a20fb0 +008dce10 00a112c0 +008dce10 0092dc30 008dce10 0040c2f0 +008dce10 0098aa30 +008dce10 008db070 +008dce10 00a52940 008dce10 0090e6d0 -008dce10 008e11b0 008ddae0 0040a030 -008ddae0 00af0911 -008ddae0 008db8f0 -008ddae0 00a1b050 +008ddae0 0040ace0 008ddae0 0095adf0 -008ddae0 0085b7f0 -008ddae0 008df9b0 -008ddae0 00a112c0 -008ddae0 009586f0 008ddae0 0040b430 +008ddae0 0095af30 +008ddae0 008df9b0 008ddae0 00a68490 +008ddae0 00a1b050 +008ddae0 0085b7f0 +008ddae0 00af0911 008ddae0 008df1d0 +008ddae0 00a112c0 008ddae0 008deac0 008ddae0 00408b90 -008ddae0 0095af30 -008ddae0 0040ace0 -008de3a0 008e3100 -008de3a0 00a112c0 -008de3a0 008e3070 +008ddae0 008db8f0 +008ddae0 009586f0 008de3a0 008e18b0 -008de3a0 0040a1b0 -008de3a0 00a68490 -008de3a0 0040b430 -008de3a0 008e1400 +008de3a0 008e3100 008de3a0 0040a5d0 -008de690 00a53b70 +008de3a0 0040b430 +008de3a0 008e3070 +008de3a0 008e1400 +008de3a0 00a68490 +008de3a0 00a112c0 +008de3a0 0040a1b0 +008de690 004997f0 +008de690 00a542c0 +008de690 00956780 +008de690 EXTERNAL:0000022f 008de690 00a29370 +008de690 00a20fb0 +008de690 00a53b70 008de690 005cb9b0 008de690 0092dc30 -008de690 EXTERNAL:0000022f -008de690 00a542c0 -008de690 00a539f0 -008de690 00956780 -008de690 004997f0 008de690 00a53e50 -008de690 00a20fb0 008de690 00a0f4e0 -008deac0 0040a030 -008deac0 00a1b050 -008deac0 00a1aec0 -008deac0 008e0660 -008deac0 0090f5f0 -008deac0 00a10d00 -008deac0 0040c550 -008deac0 009586f0 -008deac0 0095ae60 -008deac0 00a288a0 -008deac0 00420a80 +008de690 00a539f0 008deac0 0040ace0 +008deac0 0040a030 +008deac0 00a1aec0 +008deac0 00a10d00 008deac0 00aef12b -008df1d0 0040a030 +008deac0 00420a80 +008deac0 0040c550 +008deac0 00a1b050 +008deac0 008e0660 +008deac0 0095ae60 +008deac0 0090f5f0 +008deac0 00a288a0 +008deac0 009586f0 008df1d0 EXTERNAL:00000220 -008df1d0 00a1b050 -008df1d0 00aef15c -008df1d0 00a1aec0 -008df1d0 008e0660 -008df1d0 00408e00 -008df1d0 009586f0 -008df1d0 0095ae60 -008df1d0 00a288a0 -008df1d0 00420a80 008df1d0 0040ace0 -008df1d0 00aef12b +008df1d0 0040a030 008df1d0 00745ca0 -008df9b0 0040a030 +008df1d0 00a1aec0 +008df1d0 00aef15c +008df1d0 00aef12b +008df1d0 00420a80 +008df1d0 00a1b050 +008df1d0 008e0660 +008df1d0 0095ae60 +008df1d0 00408e00 +008df1d0 00a288a0 +008df1d0 009586f0 008df9b0 EXTERNAL:00000220 -008df9b0 00a1b050 -008df9b0 00aef15c +008df9b0 0040ace0 +008df9b0 0040a030 +008df9b0 00745ca0 008df9b0 00a1aec0 -008df9b0 008e0660 -008df9b0 00408e00 -008df9b0 0090f5f0 +008df9b0 00aef15c 008df9b0 00a10d00 +008df9b0 00aef12b +008df9b0 00420a80 008df9b0 0040c550 -008df9b0 009586f0 +008df9b0 00a1b050 +008df9b0 008e0660 008df9b0 0095ae60 008df9b0 00a0f550 +008df9b0 00408e00 +008df9b0 0090f5f0 008df9b0 00a288a0 -008df9b0 00420a80 -008df9b0 0040ace0 -008df9b0 00aef12b -008df9b0 00745ca0 -008e0660 0040ccd0 -008e0660 0040a030 -008e0660 00a55d60 +008df9b0 009586f0 008e0660 EXTERNAL:00000220 -008e0660 00aef15c +008e0660 0040ace0 +008e0660 0040a030 +008e0660 0040ccd0 +008e0660 00a1b8e0 +008e0660 00745ca0 008e0660 00a1aec0 -008e0660 00a55c40 +008e0660 00aef15c +008e0660 00aef638 +008e0660 00aef12b +008e0660 00420a80 +008e0660 0040cf50 008e0660 00aef5c4 008e0660 00408e00 008e0660 00a1bd80 -008e0660 00a1b8e0 -008e0660 0040cf50 +008e0660 00a55d60 008e0660 009586f0 -008e0660 00420a80 -008e0660 00aef638 -008e0660 0040ace0 -008e0660 00745ca0 -008e0660 00aef12b -008e11b0 009c3c30 -008e11b0 EXTERNAL:00000220 -008e11b0 00907960 +008e0660 00a55c40 008e11b0 0090e8e0 +008e11b0 EXTERNAL:00000220 +008e11b0 009c3c30 008e11b0 00aef15c -008e11b0 009c61e0 -008e11b0 0090bbf0 -008e11b0 004209d0 -008e11b0 00a288a0 -008e11b0 0040c340 -008e11b0 009c39e0 -008e11b0 009c25e0 008e11b0 00aef12b -008e1400 00a29370 -008e1400 EXTERNAL:00000220 -008e1400 00aef15c -008e1400 EXTERNAL:0000022f +008e11b0 009c61e0 +008e11b0 0040c340 +008e11b0 0090bbf0 +008e11b0 00907960 +008e11b0 009c25e0 +008e11b0 004209d0 +008e11b0 009c39e0 +008e11b0 00a288a0 008e1400 00a542c0 -008e1400 00a539f0 +008e1400 EXTERNAL:00000220 +008e1400 EXTERNAL:0000022f +008e1400 00aef15c 008e1400 00a53f00 +008e1400 00a29370 008e1400 00a0f4e0 +008e1400 00a539f0 008e18b0 00a57060 -008e1a70 00a28790 -008e1a70 0085bd40 -008e1a70 00aef15c -008e1a70 EXTERNAL:00000230 008e1a70 00a0f4c0 -008e1a70 008e3100 -008e1a70 008e2ea0 -008e1a70 EXTERNAL:000001d7 -008e1a70 008e3190 -008e1a70 00a288a0 -008e1a70 008e33c0 008e1a70 008e18f0 +008e1a70 00aef15c +008e1a70 008e2ea0 +008e1a70 008e3190 +008e1a70 00a28790 +008e1a70 008e33c0 008e1a70 00a5f1c0 -008e1fb0 00a28790 -008e1fb0 008e2c20 -008e1fb0 0085bd40 -008e1fb0 008e3070 -008e1fb0 00aef15c -008e1fb0 00a0f4c0 +008e1a70 EXTERNAL:00000230 +008e1a70 008e3100 +008e1a70 EXTERNAL:000001d7 +008e1a70 00a288a0 +008e1a70 0085bd40 +008e1fb0 00929aa0 008e1fb0 00a57060 +008e1fb0 00a0f4c0 +008e1fb0 008e18f0 +008e1fb0 00426980 +008e1fb0 00aef15c +008e1fb0 008e34e0 +008e1fb0 008e3070 +008e1fb0 008e2c20 +008e1fb0 00aef12b +008e1fb0 0085b300 +008e1fb0 00a28790 +008e1fb0 0040d040 008e1fb0 EXTERNAL:000001d7 008e1fb0 0085b050 -008e1fb0 00426980 -008e1fb0 0040d040 -008e1fb0 008e34e0 008e1fb0 00a288a0 -008e1fb0 00929aa0 -008e1fb0 008e18f0 -008e1fb0 0085b300 -008e1fb0 00aef12b -008e2530 0040ccd0 -008e2530 EXTERNAL:00000220 -008e2530 00aef15c -008e2530 00a0f4c0 -008e2530 0090bbf0 +008e1fb0 0085bd40 008e2530 00956780 -008e2530 0040cae0 -008e2530 0040cf50 -008e2530 0085b050 +008e2530 EXTERNAL:00000220 +008e2530 00a0f4c0 +008e2530 0040ccd0 008e2530 00426980 -008e2530 0092dc30 -008e2530 0040d040 -008e2530 00a288a0 -008e2530 0085b300 +008e2530 00aef15c 008e2530 00aef12b +008e2530 0085b300 +008e2530 0090bbf0 +008e2530 0040cf50 +008e2530 0040d040 +008e2530 0040cae0 +008e2530 0092dc30 +008e2530 0085b050 +008e2530 00a288a0 008e29b0 00aef15c 008e2a40 00aef15c 008e2b00 EXTERNAL:00000220 -008e2b00 008e3070 008e2b00 00aef15c -008e2b80 008e3100 +008e2b00 008e3070 008e2b80 EXTERNAL:00000220 +008e2b80 008e3100 008e2b80 00aef15c 008e2be0 008e3070 008e2c00 008e3100 008e2c20 EXTERNAL:00000220 -008e2c20 0040cf00 -008e2c20 008e3070 008e2c20 00aef15c -008e2c20 00a288a0 -008e2c20 008e3230 +008e2c20 008e3070 008e2c20 0040cee0 +008e2c20 008e3230 +008e2c20 00a288a0 +008e2c20 0040cf00 008e2c20 00415bc0 +008e2e75 00414b10 008e2e75 00af05eb 008e2e75 008e2be0 -008e2e75 00414b10 -008e2ea0 008e3100 008e2ea0 EXTERNAL:00000220 -008e2ea0 0040cf00 -008e2ea0 008e3190 +008e2ea0 008e3100 008e2ea0 00aef15c 008e2ea0 008e32f0 008e2ea0 0040cee0 +008e2ea0 008e3190 +008e2ea0 0040cf00 008e2ea0 00415bc0 +008e3044 008e2c00 008e3044 00571230 008e3044 00af05eb -008e3044 008e2c00 008e3190 00a288a0 008e3230 008e3070 008e3230 00a288a0 @@ -43892,414 +43892,414 @@ 008e3560 008e3100 008e3570 008e3070 008e3580 00a288a0 -008e3830 0040ccd0 -008e3830 00a17860 008e3830 EXTERNAL:00000220 +008e3830 0040ccd0 008e3830 00aef15c -008e3830 0098aec0 -008e3830 00a112c0 008e3830 0040b430 -008e3830 00a25090 -008e3830 00651d50 -008e3830 004997f0 -008e3830 00a20fb0 -008e3830 00408b90 008e3830 00aef12b 008e3830 EXTERNAL:0000026c +008e3830 004997f0 +008e3830 0098aec0 +008e3830 00a20fb0 +008e3830 00a112c0 +008e3830 00a17860 +008e3830 00a25090 +008e3830 00651d50 +008e3830 00408b90 008e3db0 0040a030 -008e3db0 00a55d60 -008e3db0 0069dac0 -008e3db0 EXTERNAL:0000022f +008e3db0 0040ace0 008e3db0 0095adf0 -008e3db0 0041e420 +008e3db0 EXTERNAL:0000022f +008e3db0 00aef12b +008e3db0 0069dac0 008e3db0 0040a5d0 008e3db0 00a1bd80 008e3db0 00a112c0 -008e3db0 0040a1b0 008e3db0 00a1bb10 -008e3db0 0040ace0 -008e3db0 00aef12b -008e4970 0040a1b0 +008e3db0 0041e420 +008e3db0 00a55d60 +008e3db0 0040a1b0 008e4970 0040a5d0 -008e4a20 00407f10 +008e4970 0040a1b0 008e4a20 0040d040 +008e4a20 00407f10 008e4a20 004087a0 -008e4b10 00a112c0 -008e4b10 0040a7e0 +008e4b10 00956780 +008e4b10 0098aec0 008e4b10 0040b430 +008e4b10 0040a7e0 +008e4b10 00409030 +008e4b10 00a20fb0 +008e4b10 00a112c0 008e4b10 0092dc30 008e4b10 0040a380 -008e4b10 00409030 -008e4b10 00956780 -008e4b10 00a20fb0 -008e4b10 0098aec0 008e4b10 0090e6d0 -008e4e30 0040ccd0 -008e4e30 0040a030 008e4e30 EXTERNAL:00000220 -008e4e30 009586f0 -008e4e30 0040b430 -008e4e30 008e5790 -008e4e30 00aef15c -008e4e30 0040c340 -008e4e30 0095af30 +008e4e30 0040a030 008e4e30 0040ace0 +008e4e30 0040ccd0 +008e4e30 0040b430 +008e4e30 00aef15c +008e4e30 0095af30 +008e4e30 008e5790 008e4e30 00aef12b -008e5260 0040a1b0 -008e5260 00a288a0 -008e5260 0090bbf0 +008e4e30 0040c340 +008e4e30 009586f0 008e5260 0040a5d0 -008e5420 00a29370 +008e5260 0040a1b0 +008e5260 0090bbf0 +008e5260 00a288a0 +008e5420 00a542c0 +008e5420 0085b280 008e5420 EXTERNAL:00000220 +008e5420 009c25e0 008e5420 00aef15c 008e5420 004209d0 +008e5420 00a29370 008e5420 009c39e0 -008e5420 00a542c0 -008e5420 00a539f0 -008e5420 0085b280 -008e5420 009c2db0 008e5420 00424440 -008e5420 009c25e0 +008e5420 00a539f0 +008e5420 009c2db0 008e56b0 0098ae20 008e56b0 0085b280 008e56b0 00424440 008e5720 0098ae20 008e5720 0085b280 008e5720 00424440 -008e5790 00af05df -008e5790 00a55d60 008e5790 EXTERNAL:00000220 -008e5790 00aef15c -008e5790 0069dac0 -008e5790 0042f2f0 -008e5790 00a1bd80 -008e5790 00a1b8e0 -008e5790 0040cf50 -008e5790 0040ccc0 -008e5790 006851f0 -008e5790 0040cf00 -008e5790 00693680 -008e5790 00a1bb10 008e5790 0040ace0 +008e5790 00a1b8e0 +008e5790 00aef15c +008e5790 0042f2f0 +008e5790 00693680 008e5790 00aef12b -008e5f40 00a28790 -008e5f40 00a71f00 -008e5f40 00aef15c +008e5790 006851f0 +008e5790 0040cf50 +008e5790 0069dac0 +008e5790 00af05df +008e5790 00a1bd80 +008e5790 00a1bb10 +008e5790 00a55d60 +008e5790 0040ccc0 +008e5790 0040cf00 008e5f40 00a0f4c0 -008e5f40 EXTERNAL:000001d7 -008e5f40 0085b050 008e5f40 00426980 -008e5f40 0040d040 +008e5f40 00aef15c 008e5f40 008e69a0 -008e5f40 00a288a0 -008e5f40 009c3ab0 -008e5f40 00731ee0 -008e5f40 0085b300 008e5f40 00aef12b +008e5f40 0085b300 +008e5f40 00731ee0 +008e5f40 00a28790 +008e5f40 0040d040 +008e5f40 EXTERNAL:000001d7 +008e5f40 009c3ab0 008e5f40 009c38e0 -008e64f0 009c2700 +008e5f40 00a71f00 +008e5f40 0085b050 +008e5f40 00a288a0 008e64f0 0098ae20 008e64f0 008e24c0 -008e64f0 009c2760 008e64f0 009c3d10 -008e64f0 00a288a0 -008e64f0 00420710 -008e64f0 009c39e0 -008e64f0 0090bbf0 +008e64f0 009c2700 008e64f0 00a282c0 008e64f0 009c25e0 +008e64f0 009c39e0 +008e64f0 00420710 +008e64f0 0090bbf0 +008e64f0 00a288a0 +008e64f0 009c2760 008e6880 0098ae20 -008e68a0 008e56b0 -008e68a0 008e5720 008e68a0 008e5420 +008e68a0 008e5720 +008e68a0 008e56b0 008e68e0 00aef15c 008e69a0 008e69a0 -008e6a80 0040ccd0 -008e6a80 0040ccc0 -008e6a80 0040a030 008e6a80 EXTERNAL:00000220 -008e6a80 009586f0 -008e6a80 00aef15c -008e6a80 00a1aec0 -008e6a80 0041e420 +008e6a80 0040a030 008e6a80 0040ace0 -008e6a80 00421680 +008e6a80 0040ccd0 +008e6a80 00a1aec0 +008e6a80 00aef15c +008e6a80 0041e420 008e6a80 00aef12b -008e71c0 0040a1b0 +008e6a80 0040ccc0 +008e6a80 009586f0 +008e6a80 00421680 008e71c0 0040a5d0 -008e7250 0098aa30 +008e71c0 0040a1b0 008e7250 00a20fb0 -008e74d0 00a23610 +008e7250 0098aa30 008e74d0 00a23ae0 +008e74d0 00a23610 008e7560 00a28590 008e7560 00a288a0 -008e7610 008ef400 008e7610 00aef15c -008e7630 00a1d6b0 -008e7630 009c4020 -008e7630 00407f10 -008e7630 008ef400 -008e7630 00aef15c +008e7610 008ef400 008e7630 0040d040 -008e7630 004087a0 +008e7630 00aef15c +008e7630 00407f10 +008e7630 009c4020 008e7630 00aef638 +008e7630 00a1d6b0 +008e7630 004087a0 +008e7630 008ef400 008e7ce0 00407f10 008e7ce0 00aef15c -008e7ce0 00408830 008e7ce0 00aef638 008e7ce0 0040e2b0 -008e7f60 00a112c0 +008e7ce0 00408830 008e7f60 EXTERNAL:00000220 -008e7f60 0040cf00 -008e7f60 0040a1b0 -008e7f60 00aef15c -008e7f60 008ed090 -008e7f60 0040bd50 -008e7f60 00408b90 008e7f60 0040a5d0 +008e7f60 00aef15c +008e7f60 00a112c0 +008e7f60 0040bd50 008e7f60 00aef12b -008e8240 0091e7a0 -008e8240 0091dc10 -008e8240 009c4a50 -008e8240 00420710 -008e8240 00409030 +008e7f60 0040a1b0 +008e7f60 00408b90 +008e7f60 0040cf00 +008e7f60 008ed090 +008e8240 008e24c0 008e8240 008ea8f0 008e8240 00958bc0 -008e8240 00a29f60 -008e8240 008e9ac0 008e8240 00a29bb0 -008e8240 00a68490 -008e8240 008eeed0 -008e8240 009c3990 -008e8240 00a288a0 -008e8240 008eb750 -008e8240 009c25e0 -008e8240 008edd00 -008e8240 00409100 -008e8240 00a29fd0 -008e8240 009c3c30 -008e8240 008e24c0 -008e8240 00958c40 -008e8240 00954b40 -008e8240 008e7560 -008e8240 009569a0 -008e8240 008ed350 -008e8240 0098aec0 -008e8240 00907690 -008e8240 00949b70 -008e8240 00949bc0 -008e8240 00414a80 008e8240 0085aeb0 +008e8240 00a68490 +008e8240 00907690 +008e8240 00a29f60 +008e8240 0091e7a0 +008e8240 00958c40 +008e8240 0098aec0 008e8240 008ed150 +008e8240 00409100 008e8240 0090a8a0 -008e8240 009c39e0 +008e8240 0091dc10 +008e8240 00949bc0 +008e8240 00a288a0 008e8240 008ead10 -008e8240 008ee3b0 -008e8240 006eef60 -008e8240 00a286f0 -008e8240 00aef12b 008e8240 0090e6d0 -008e8af0 0040a7e0 -008e8af0 0040a030 -008e8af0 0091e650 +008e8240 009c3c30 +008e8240 009569a0 +008e8240 008edd00 +008e8240 006eef60 +008e8240 008eb750 +008e8240 00a29fd0 +008e8240 00aef12b +008e8240 00954b40 +008e8240 00a286f0 +008e8240 009c25e0 +008e8240 009c3990 +008e8240 008ed350 +008e8240 00409030 +008e8240 009c39e0 +008e8240 00420710 +008e8240 00949b70 +008e8240 009c4a50 +008e8240 008e9ac0 +008e8240 008eeed0 +008e8240 00414a80 +008e8240 008e7560 +008e8240 008ee3b0 +008e8af0 009c51e0 008e8af0 EXTERNAL:00000220 -008e8af0 00aef15c -008e8af0 0085b7f0 +008e8af0 00408fc0 +008e8af0 0040a030 +008e8af0 0040ace0 +008e8af0 0091e650 +008e8af0 00745ca0 +008e8af0 0040b430 +008e8af0 0095af30 008e8af0 00a1aec0 +008e8af0 00aef15c +008e8af0 0069d200 +008e8af0 00aef12b +008e8af0 00420a80 008e8af0 008eded0 +008e8af0 0085b7f0 +008e8af0 0040a7e0 +008e8af0 008ebfb0 008e8af0 00a112c0 008e8af0 0040b520 -008e8af0 0069d200 -008e8af0 00408fc0 -008e8af0 009586f0 -008e8af0 0040b430 -008e8af0 008eba50 -008e8af0 008ebfb0 008e8af0 008eeed0 -008e8af0 00420a80 -008e8af0 0095af30 -008e8af0 009c51e0 -008e8af0 0040ace0 -008e8af0 00745ca0 -008e8af0 00aef12b -008e9ac0 00a5f260 -008e9ac0 008ed090 +008e8af0 008eba50 +008e8af0 009586f0 +008e9ac0 008e24c0 +008e9ac0 008ef1d0 008e9ac0 0090eca0 008e9ac0 00a29f60 -008e9ac0 0040a5d0 -008e9ac0 008eeed0 -008e9ac0 00a288a0 -008e9ac0 00a15b10 008e9ac0 00731ee0 +008e9ac0 008ef400 +008e9ac0 0040a5d0 +008e9ac0 00a112c0 +008e9ac0 00949bc0 +008e9ac0 00a288a0 +008e9ac0 008ef120 +008e9ac0 00a72740 +008e9ac0 008ed910 +008e9ac0 00a78160 +008e9ac0 0090c0e0 +008e9ac0 008ed090 +008e9ac0 00a23ae0 +008e9ac0 00a0f550 008e9ac0 00a285f0 008e9ac0 00a2a970 -008e9ac0 00a72740 -008e9ac0 008e24c0 -008e9ac0 00a112c0 -008e9ac0 008ef120 -008e9ac0 00a78160 -008e9ac0 008ed320 -008e9ac0 008ef400 -008e9ac0 00949bc0 -008e9ac0 008ef1d0 -008e9ac0 0040a1b0 +008e9ac0 008eeed0 008e9ac0 00a23610 -008e9ac0 00a0f550 -008e9ac0 00a23ae0 +008e9ac0 00a15b10 +008e9ac0 0040a1b0 +008e9ac0 008ed320 008e9ac0 008ee3b0 -008e9ac0 0090c0e0 -008e9ac0 008ed910 +008e9ac0 00a5f260 008ea3a0 009c3c30 -008ea3a0 008e9ac0 -008ea3a0 009586f0 -008ea3a0 008fd7a0 -008ea3a0 0098aa30 -008ea3a0 00a288a0 -008ea3a0 0090a8a0 -008ea3a0 004209d0 -008ea3a0 009c39e0 008ea3a0 009c25e0 +008ea3a0 004209d0 +008ea3a0 0090a8a0 +008ea3a0 009c39e0 008ea3a0 00907690 +008ea3a0 008fd7a0 +008ea3a0 008e9ac0 +008ea3a0 00a288a0 +008ea3a0 0098aa30 +008ea3a0 009586f0 008ea6e0 00a112c0 008ea6e0 008eeed0 008ea6e0 00731ee0 -008ea8f0 0040ccd0 -008ea8f0 EXTERNAL:00000220 -008ea8f0 00a5f260 008ea8f0 008e24c0 +008ea8f0 EXTERNAL:00000220 +008ea8f0 0040ccd0 008ea8f0 00aef15c -008ea8f0 008eded0 -008ea8f0 0041e420 008ea8f0 00a29f60 -008ea8f0 00a112c0 -008ea8f0 00a519a0 -008ea8f0 00a288a0 -008ea8f0 008ee080 008ea8f0 00aef12b -008ead10 009495f0 -008ead10 00a5f260 +008ea8f0 008eded0 +008ea8f0 00a112c0 +008ea8f0 0041e420 +008ea8f0 008ee080 +008ea8f0 00a288a0 +008ea8f0 00a5f260 +008ea8f0 00a519a0 008ead10 008e24c0 -008ead10 0090eca0 -008ead10 008eded0 -008ead10 009c4100 -008ead10 0090a150 -008ead10 00a29f60 -008ead10 00a112c0 -008ead10 00a78160 -008ead10 008ed2e0 008ead10 008ef1d0 -008ead10 008eeed0 -008ead10 009c3d10 -008ead10 008ed150 -008ead10 00a288a0 -008ead10 004209d0 -008ead10 009c39e0 +008ead10 008edd00 008ead10 00948fc0 008ead10 00a23920 -008ead10 00a20fb0 -008ead10 008edde0 +008ead10 0090eca0 +008ead10 00a29f60 +008ead10 00a78160 +008ead10 008eded0 +008ead10 009c4100 +008ead10 008ed2e0 +008ead10 009c3d10 +008ead10 008ed150 008ead10 009c25e0 -008ead10 008edd00 -008eb750 0085b050 -008eb750 00426980 -008eb750 00a0f550 -008eb750 0040d040 -008eb750 00a288a0 -008eb750 00958c40 +008ead10 004209d0 +008ead10 009495f0 +008ead10 00a20fb0 +008ead10 009c39e0 +008ead10 008edde0 +008ead10 00a112c0 +008ead10 008eeed0 +008ead10 0090a150 +008ead10 00a288a0 +008ead10 00a5f260 008eb750 00929b40 -008eb750 0085b300 +008eb750 0040d040 +008eb750 00a0f550 +008eb750 00426980 008eb750 00424440 008eb750 00aef12b -008eba50 00a112c0 -008eba50 008ebde0 -008eba50 0040a7e0 -008eba50 0040a030 -008eba50 0040a1b0 -008eba50 0040b430 -008eba50 00409030 +008eb750 0085b300 +008eb750 0085b050 +008eb750 00a288a0 +008eb750 00958c40 008eba50 0040ace0 +008eba50 0040a030 008eba50 0040a5d0 +008eba50 0040b430 +008eba50 0040a7e0 +008eba50 008ebde0 +008eba50 00409030 +008eba50 00a112c0 +008eba50 0040a1b0 008ebde0 0040a030 -008ebde0 0040a1b0 -008ebde0 00a0f550 -008ebde0 00409030 -008ebde0 00a1aec0 -008ebde0 0040a5d0 008ebde0 0040ace0 -008ebfb0 EXTERNAL:00000220 -008ebfb0 0040a7e0 -008ebfb0 00949b90 -008ebfb0 00a5f260 +008ebde0 0040a5d0 +008ebde0 00a0f550 +008ebde0 00a1aec0 +008ebde0 00409030 +008ebde0 0040a1b0 +008ebfb0 0040ace0 +008ebfb0 0095adf0 008ebfb0 00aef15c -008ebfb0 00a1aec0 -008ebfb0 0040bf30 +008ebfb0 0040a0d0 +008ebfb0 0040c000 +008ebfb0 008eded0 +008ebfb0 008ed2e0 +008ebfb0 008eee70 +008ebfb0 0095ae60 +008ebfb0 0040a7e0 008ebfb0 0090f5f0 -008ebfb0 00a1b8e0 -008ebfb0 0040b430 +008ebfb0 008edde0 +008ebfb0 00a112c0 +008ebfb0 0095ad30 008ebfb0 008ede40 008ebfb0 00a288a0 -008ebfb0 0040b1d0 -008ebfb0 008edde0 -008ebfb0 00840540 -008ebfb0 00a1a540 -008ebfb0 00a29fd0 -008ebfb0 004238f0 -008ebfb0 0095adf0 -008ebfb0 0069bd10 -008ebfb0 008eded0 -008ebfb0 008e7560 -008ebfb0 0041e420 008ebfb0 00431070 -008ebfb0 0040a860 -008ebfb0 00a112c0 -008ebfb0 00a1a580 -008ebfb0 008ed2e0 -008ebfb0 0040c000 -008ebfb0 0095ae60 -008ebfb0 00a0f550 -008ebfb0 0040a0d0 -008ebfb0 0095ad30 -008ebfb0 0040ace0 +008ebfb0 EXTERNAL:00000220 +008ebfb0 00a1b8e0 +008ebfb0 0040b430 +008ebfb0 00a1aec0 +008ebfb0 00a29fd0 008ebfb0 00aef12b -008ebfb0 008eee70 -008ed090 008ed320 -008ed090 0040a1b0 -008ed090 0040a4d0 +008ebfb0 0040b1d0 +008ebfb0 0040bf30 +008ebfb0 00a1a580 +008ebfb0 00949b90 +008ebfb0 00840540 +008ebfb0 00a0f550 +008ebfb0 0040a860 +008ebfb0 00a1a540 +008ebfb0 0041e420 +008ebfb0 0069bd10 +008ebfb0 008e7560 +008ebfb0 004238f0 +008ebfb0 00a5f260 008ed090 0040a5d0 -008ed150 00946cd0 -008ed150 008eeed0 -008ed150 0092dc30 -008ed150 008ee3b0 -008ed150 008e7560 +008ed090 0040a4d0 +008ed090 0040a1b0 +008ed090 008ed320 008ed150 00956780 008ed150 008ed350 +008ed150 008eeed0 +008ed150 00946cd0 +008ed150 0092dc30 +008ed150 008e7560 +008ed150 008ee3b0 008ed2e0 00946cd0 008ed320 008ed350 -008ed350 0040ccd0 -008ed350 EXTERNAL:00000220 -008ed350 0040a7e0 -008ed350 00aef15c -008ed350 008eded0 -008ed350 0090c300 008ed350 00431070 +008ed350 EXTERNAL:00000220 +008ed350 0040ace0 +008ed350 0040ccd0 008ed350 0040b220 +008ed350 00aef15c +008ed350 00aef12b +008ed350 00731ee0 +008ed350 008eded0 +008ed350 0040a7e0 008ed350 00a112c0 +008ed350 0090c300 008ed350 008ede40 008ed350 00408b90 -008ed350 00731ee0 -008ed350 0040ace0 -008ed350 00aef12b 008ed910 00a790b0 008ed910 00414a80 008ed910 00a288a0 008ed910 00a2a460 -008edd00 008eeed0 -008edd00 0092dc30 -008edd00 008ee3b0 -008edd00 008e7560 008edd00 00956780 008edd00 008ed350 008edd00 008ed910 +008edd00 008eeed0 +008edd00 0092dc30 +008edd00 008e7560 +008edd00 008ee3b0 008edde0 008eded0 008ede40 008eded0 008eded0 00414a80 @@ -44307,549 +44307,549 @@ 008eded0 00a284d0 008ee080 00a112c0 008ee3b0 00a112c0 -008ee700 008ed320 -008ee700 EXTERNAL:00000220 -008ee700 00414a80 -008ee700 008eeed0 -008ee700 00aef15c -008ee700 00a288a0 -008ee700 00a23920 008ee700 00415d20 +008ee700 EXTERNAL:00000220 +008ee700 00a23920 +008ee700 00aef15c 008ee700 008ed910 008ee700 00a285f0 -008ee940 008e9ac0 -008ee940 008fd7a0 -008ee940 0098aa30 -008ee940 00a288a0 -008ee940 0090a8a0 +008ee700 008eeed0 +008ee700 00414a80 +008ee700 008ed320 +008ee700 00a288a0 008ee940 EXTERNAL:00000009 008ee940 00928ee0 +008ee940 0090a8a0 008ee940 00907690 +008ee940 008fd7a0 +008ee940 008e9ac0 008ee940 009292c0 +008ee940 0098aa30 +008ee940 00a288a0 008ee940 009294f0 -008eec40 00a112c0 -008eec40 00a51d10 -008eec40 00a51570 -008eec40 00a52100 008eec40 00a0f4c0 -008eeed0 004170d0 -008eeed0 00415bd0 +008eec40 00a51d10 +008eec40 00a112c0 +008eec40 00a52100 +008eec40 00a51570 008eeed0 00a0f4c0 +008eeed0 00415bd0 008eeed0 00731ee0 -008eefb0 008ef400 -008eefb0 00414a80 -008eefb0 00aef15c +008eeed0 004170d0 008eefb0 00415d20 +008eefb0 00aef15c +008eefb0 00414a80 +008eefb0 008ef400 008ef120 EXTERNAL:00000220 008ef120 00aef15c 008ef230 EXTERNAL:00000220 -008ef230 0040cf00 008ef230 00aef15c -008ef230 008ef450 008ef230 0040cee0 +008ef230 008ef450 +008ef230 0040cf00 008ef230 00415bc0 -008ef400 008ef400 008ef400 00aef15c -008ef4b0 00407f10 +008ef400 008ef400 008ef4b0 0040d040 +008ef4b0 00407f10 008ef4b0 004087a0 008ef560 EXTERNAL:00000220 -008ef560 0040cf00 -008ef560 0040a1b0 +008ef560 0040a5d0 008ef560 00aef15c 008ef560 0040bd50 -008ef560 0040a5d0 008ef560 00aef12b -008ef840 0040a1b0 -008ef840 009b9310 -008ef840 009b9480 +008ef560 0040a1b0 +008ef560 0040cf00 008ef840 0040a5d0 -008ef990 009b9310 -008ef990 0090b0e0 +008ef840 009b9310 +008ef840 0040a1b0 +008ef840 009b9480 008ef990 00956780 -008ef990 009bfa70 008ef990 00a205a0 -008ef990 009bfb20 -008ef990 009b9480 -008ef990 0092dc30 -008ef990 009bac00 -008ef990 00425ac0 008ef990 0090a670 -008ef990 00a20fb0 -008ef990 00409100 +008ef990 009b9310 +008ef990 00425ac0 008ef990 009b9450 -008efe10 00a1b8e0 -008efe10 009b9310 -008efe10 00a0f550 -008efe10 0040a380 -008efe10 0040a0d0 -008efe10 00a1aec0 +008ef990 009b9480 +008ef990 009bfb20 +008ef990 00409100 +008ef990 009bac00 +008ef990 00a20fb0 +008ef990 0092dc30 +008ef990 0090b0e0 +008ef990 009bfa70 008efe10 009a6570 -008efe10 00a1a540 008efe10 009a6320 -008efe10 009bfa70 008efe10 0040ace0 +008efe10 00a1b8e0 +008efe10 00a0f550 +008efe10 00a1aec0 +008efe10 009b9310 +008efe10 00a1a540 +008efe10 0040a0d0 +008efe10 009bfa70 +008efe10 0040a380 008f0040 0040ccd0 008f0040 00a26af0 -008f0120 00407f10 -008f0120 0040d040 -008f0120 004087a0 008f0120 008f2690 +008f0120 0040d040 +008f0120 00407f10 +008f0120 004087a0 008f01b0 00424540 -008f01b0 008f19f0 -008f01b0 008725f0 -008f01b0 004288a0 -008f01b0 0098aa30 +008f01b0 0098aec0 008f01b0 00409030 -008f01b0 00456750 008f01b0 00a20fb0 008f01b0 009e9d50 008f01b0 006ef8f0 -008f01b0 0098aec0 -008f06e0 0040ccd0 -008f06e0 00af05df -008f06e0 00a55d60 -008f06e0 EXTERNAL:00000220 -008f06e0 00aef15c -008f06e0 00a1c7d0 -008f06e0 0040a5d0 -008f06e0 0040cf50 -008f06e0 004288a0 -008f06e0 00557b00 +008f01b0 008f19f0 +008f01b0 004288a0 +008f01b0 00456750 +008f01b0 008725f0 +008f01b0 0098aa30 008f06e0 00a1ba10 -008f06e0 00a2c250 -008f06e0 0040b0c0 -008f06e0 008f2b70 008f06e0 0040a030 -008f06e0 009e9b50 -008f06e0 0069dac0 -008f06e0 00499580 -008f06e0 00408e00 -008f06e0 00a112c0 -008f06e0 0040cf00 -008f06e0 009e9c40 -008f06e0 00682b90 -008f06e0 00557bd0 -008f06e0 0040d040 +008f06e0 0040b0c0 +008f06e0 00aef15c 008f06e0 0040bcd0 -008f06e0 008f0040 -008f06e0 00a1c480 +008f06e0 008f2b70 +008f06e0 0069dac0 +008f06e0 0040a5d0 +008f06e0 0040d040 +008f06e0 00a2c250 +008f06e0 00a112c0 +008f06e0 00a55d60 +008f06e0 00a1c7d0 +008f06e0 0040cf00 +008f06e0 EXTERNAL:00000220 +008f06e0 0040ccd0 +008f06e0 00557bd0 +008f06e0 009e9c40 008f06e0 00aef12b -008f19f0 0040ccd0 -008f19f0 00413b90 -008f19f0 004155d0 +008f06e0 00682b90 +008f06e0 00a1c480 +008f06e0 009e9b50 +008f06e0 0040cf50 +008f06e0 00af05df +008f06e0 00408e00 +008f06e0 00557b00 +008f06e0 008f0040 +008f06e0 004288a0 +008f06e0 00499580 008f19f0 EXTERNAL:00000220 -008f19f0 EXTERNAL:0000023f -008f19f0 00aeff60 +008f19f0 004155d0 +008f19f0 0040ccd0 +008f19f0 00a178d0 008f19f0 00aef15c +008f19f0 00413b90 +008f19f0 00aef12b 008f19f0 00414730 -008f19f0 00413c70 +008f19f0 00aeff60 +008f19f0 EXTERNAL:00000262 +008f19f0 0040cf50 +008f19f0 EXTERNAL:0000023f +008f19f0 0040d040 008f19f0 008f28c0 008f19f0 008f27b0 -008f19f0 00a0f4e0 008f19f0 00a112c0 -008f19f0 0040cf50 -008f19f0 0040d040 -008f19f0 EXTERNAL:00000262 -008f19f0 00a178d0 -008f19f0 00aef12b +008f19f0 00a0f4e0 +008f19f0 00413c70 008f2680 0040d040 008f2690 EXTERNAL:00000220 -008f2690 00aef15c 008f2690 0040d040 +008f2690 00aef15c 008f2720 0040d040 -008f27b0 0040cf00 -008f27b0 008f2750 008f27b0 008f2ae0 -008f27b0 0040cee0 008f27b0 008f2a50 +008f27b0 008f2750 +008f27b0 0040cee0 +008f27b0 0040cf00 008f27b0 00415bc0 008f28c0 0040cf50 -008f28c0 0040cf00 008f28c0 008f2ae0 -008f28c0 0040cee0 008f28c0 008f2a50 +008f28c0 0040cee0 +008f28c0 0040cf00 008f28c0 00415bc0 008f2a1d 00af05eb 008f2a1d 008f2720 008f2a1d 00709030 008f2a50 EXTERNAL:00000220 -008f2a50 00aef15c 008f2a50 0040d040 +008f2a50 00aef15c 008f2c90 008f2d20 -008f2d80 00a0f4c0 008f2d80 00aef5c4 -008f2fb0 0042c8e0 +008f2d80 00a0f4c0 008f2fb0 00aef15c -008f2ff0 00a5a4c0 +008f2fb0 0042c8e0 +008f2ff0 0040d040 008f2ff0 00407f10 008f2ff0 004149d0 -008f2ff0 008fc570 -008f2ff0 0040d040 +008f2ff0 00a5a4c0 008f2ff0 004087a0 -008f30d0 0040ccd0 -008f30d0 EXTERNAL:00000220 -008f30d0 008f99c0 -008f30d0 00aef15c -008f30d0 0091fe80 -008f30d0 0040d0c0 -008f30d0 0040bd50 -008f30d0 006998d0 -008f30d0 0072ca50 -008f30d0 00a648b0 -008f30d0 00728780 -008f30d0 EXTERNAL:00000262 -008f30d0 00727430 -008f30d0 00a17180 -008f30d0 0072cff0 -008f30d0 004997f0 -008f30d0 00417100 -008f30d0 00a17860 -008f30d0 0092d140 -008f30d0 0069d290 +008f2ff0 008fc570 008f30d0 007dfaf0 -008f30d0 008f9cb0 +008f30d0 0072ca50 +008f30d0 00aef15c +008f30d0 0072a1b0 +008f30d0 0069d290 +008f30d0 008f99c0 +008f30d0 EXTERNAL:00000262 008f30d0 006950c0 +008f30d0 0040d040 +008f30d0 00a648b0 +008f30d0 0091fe80 +008f30d0 00a17860 +008f30d0 0040bd50 +008f30d0 0040cf00 008f30d0 00725570 +008f30d0 EXTERNAL:00000220 +008f30d0 0040ccd0 +008f30d0 009569f0 +008f30d0 00a17180 +008f30d0 00aef12b 008f30d0 0084eba0 +008f30d0 006998d0 +008f30d0 0040c340 +008f30d0 0072ba80 +008f30d0 004997f0 +008f30d0 008f9cb0 +008f30d0 00727430 +008f30d0 00417100 +008f30d0 0072cff0 +008f30d0 00728780 008f30d0 0072ece0 008f30d0 0086e6c0 -008f30d0 0072ba80 -008f30d0 0040cf00 -008f30d0 0040d040 -008f30d0 0072a1b0 -008f30d0 0040c340 -008f30d0 009569f0 -008f30d0 00aef12b +008f30d0 0040d0c0 +008f30d0 0092d140 008f46f0 EXTERNAL:00000220 -008f46f0 008f99c0 +008f46f0 00a648b0 008f46f0 00aef15c 008f46f0 00a17180 -008f46f0 00735a30 -008f46f0 00a648b0 008f46f0 00aef12b +008f46f0 00735a30 +008f46f0 008f99c0 008f4890 EXTERNAL:00000220 -008f4890 008f99c0 +008f4890 00a648b0 008f4890 00aef15c 008f4890 00a17180 -008f4890 00a648b0 -008f4890 00aef12b 008f4890 00421bf0 -008f4a30 0040ccd0 -008f4a30 EXTERNAL:00000220 -008f4a30 008f99c0 -008f4a30 00aeff60 -008f4a30 00aef15c -008f4a30 00af05e5 -008f4a30 00a0f4e0 -008f4a30 00a648b0 -008f4a30 008fc6e0 -008f4a30 00709150 -008f4a30 EXTERNAL:00000262 -008f4a30 00a178d0 -008f4a30 00a17180 -008f4a30 004997f0 -008f4a30 00a14620 -008f4a30 00417100 -008f4a30 00413b90 -008f4a30 004155d0 -008f4a30 00414730 -008f4a30 00413c70 +008f4890 00aef12b +008f4890 008f99c0 008f4a30 00a0f4c0 -008f4a30 00a112c0 +008f4a30 00aef15c +008f4a30 00413b90 008f4a30 00a245b0 -008f4a30 0040cf00 -008f4a30 EXTERNAL:000001d7 +008f4a30 00aeff60 +008f4a30 008f99c0 +008f4a30 EXTERNAL:00000262 008f4a30 0040d040 +008f4a30 00a648b0 +008f4a30 00a112c0 +008f4a30 008fc6e0 +008f4a30 EXTERNAL:000001d7 +008f4a30 00a14620 +008f4a30 00a0f4e0 +008f4a30 00709150 +008f4a30 0040cf00 +008f4a30 EXTERNAL:00000220 +008f4a30 004155d0 +008f4a30 0040ccd0 +008f4a30 00a178d0 +008f4a30 00af05e5 +008f4a30 00a17180 008f4a30 00aef12b -008f5960 0042c8e0 -008f5960 00407f10 -008f5960 008fc570 -008f5960 00aef15c +008f4a30 00414730 +008f4a30 004997f0 +008f4a30 00417100 +008f4a30 00413c70 008f5960 00498f80 008f5960 0040d040 -008f5960 004147f0 -008f5960 008f7e20 +008f5960 00407f10 +008f5960 00aef15c +008f5960 0042c8e0 008f5960 00aef638 008f5960 008f7dd0 -008f5ad0 0040ccd0 -008f5ad0 00af05df +008f5960 004147f0 +008f5960 008f7e20 +008f5960 008fc570 008f5ad0 EXTERNAL:00000220 -008f5ad0 00aef15c 008f5ad0 00a0f4c0 -008f5ad0 00a648b0 -008f5ad0 00421680 +008f5ad0 0040ccd0 +008f5ad0 00aef15c +008f5ad0 00a15ab0 +008f5ad0 00a17180 +008f5ad0 00aef12b +008f5ad0 004997f0 008f5ad0 0040cf50 +008f5ad0 0040d040 +008f5ad0 00af05df +008f5ad0 00a648b0 008f5ad0 0040ccc0 008f5ad0 00a159d0 008f5ad0 0040cf00 -008f5ad0 0040d040 -008f5ad0 00a15ab0 -008f5ad0 004997f0 -008f5ad0 00a17180 -008f5ad0 00aef12b +008f5ad0 00421680 008f6190 00423480 +008f61d0 00a16610 008f61d0 00a112c0 008f61d0 00aeff60 -008f61d0 00a16610 -008f70f0 0040ccd0 -008f70f0 0086e6c0 -008f70f0 EXTERNAL:00000220 -008f70f0 00aef15c 008f70f0 004997f0 -008f70f0 00a17180 -008f70f0 0040cae0 +008f70f0 EXTERNAL:00000220 +008f70f0 0040ccd0 008f70f0 00a648b0 +008f70f0 00aef15c +008f70f0 0040cae0 +008f70f0 00a17180 008f70f0 00aef12b +008f70f0 0086e6c0 +008f73f0 008f7dd0 +008f73f0 008f7e20 008f73f0 008f7c40 008f73f0 008f4a30 -008f73f0 008f7e20 -008f73f0 008f7dd0 -008f7420 00684f30 008f7420 00a18300 +008f7420 00684f30 008f7420 006856c0 -008f74c0 00684f30 -008f74c0 008fc760 -008f74c0 00af05df 008f74c0 EXTERNAL:00000220 -008f74c0 EXTERNAL:00000084 -008f74c0 00aef15c -008f74c0 EXTERNAL:000000b9 008f74c0 EXTERNAL:00000080 -008f74c0 EXTERNAL:000000ae -008f74c0 00a112c0 -008f74c0 0085bfd0 -008f74c0 00a10d00 -008f74c0 0040cf00 -008f74c0 0085c270 +008f74c0 00aef15c 008f74c0 00865490 -008f74c0 00a19180 +008f74c0 00684f30 +008f74c0 00a10d00 008f74c0 EXTERNAL:000000b0 -008f74c0 EXTERNAL:00000082 -008f74c0 00a18300 -008f74c0 00a18230 -008f74c0 EXTERNAL:00000083 008f74c0 006a80f0 +008f74c0 EXTERNAL:000000ae +008f74c0 EXTERNAL:00000082 +008f74c0 008fc760 +008f74c0 00a19180 008f74c0 EXTERNAL:0000007e -008f7c40 00a11f30 +008f74c0 00a18300 +008f74c0 00af05df +008f74c0 00a112c0 +008f74c0 0085c270 +008f74c0 EXTERNAL:00000084 +008f74c0 0085bfd0 +008f74c0 EXTERNAL:000000b9 +008f74c0 EXTERNAL:00000083 +008f74c0 00a18230 +008f74c0 0040cf00 008f7c40 0041c770 +008f7c40 00a11f30 008f7dd0 00709150 008f7e20 00a149a0 +008f7e20 0040d040 +008f7e20 00aef15c +008f7e20 00a15310 008f7e20 004149d0 008f7e20 00709150 -008f7e20 00aef15c 008f7e20 004235c0 -008f7e20 0040d040 008f7e20 EXTERNAL:00000262 -008f7e20 00a15310 -008f8040 00a112c0 008f8040 00829500 +008f8040 00a112c0 008f8040 00aef12b -008f86c0 0082bf00 008f86c0 EXTERNAL:00000220 -008f86c0 008f99c0 +008f86c0 00a648b0 008f86c0 00aef15c 008f86c0 00a17180 -008f86c0 00a648b0 008f86c0 00aef12b +008f86c0 008f99c0 +008f86c0 0082bf00 008f8860 EXTERNAL:00000220 -008f8860 0040a1b0 +008f8860 0040a5d0 008f8860 00694de0 008f8860 00aef15c 008f8860 0040a0d0 -008f8860 0040a5d0 008f8860 00aef12b +008f8860 0040a1b0 008f8a60 EXTERNAL:00000220 -008f8a60 0040a1b0 +008f8a60 0040a5d0 008f8a60 00694de0 008f8a60 00aef15c 008f8a60 0040a0d0 -008f8a60 0040a5d0 008f8a60 00aef12b +008f8a60 0040a1b0 008f8c00 00a112c0 008f8d00 EXTERNAL:00000220 008f8d00 0040a140 -008f8d00 0040a1b0 +008f8d00 0040a5d0 008f8d00 00694de0 008f8d00 00aef15c 008f8d00 0040a0d0 -008f8d00 0040a5d0 008f8d00 00aef12b +008f8d00 0040a1b0 008f8ee0 EXTERNAL:00000220 -008f8ee0 0040a1b0 +008f8ee0 0040a5d0 008f8ee0 00694de0 008f8ee0 00aef15c 008f8ee0 0040a0d0 -008f8ee0 0040a5d0 008f8ee0 00aef12b -008f90e0 004073d0 +008f8ee0 0040a1b0 008f90e0 0040a030 -008f90e0 0040a140 -008f90e0 0072fd10 -008f90e0 0040a690 008f90e0 0040b220 008f90e0 0040a5d0 +008f90e0 0040a140 008f90e0 00408e00 -008f92b0 0040ccd0 -008f92b0 00413b90 +008f90e0 0040a690 +008f90e0 0072fd10 +008f90e0 004073d0 008f92b0 EXTERNAL:00000220 -008f92b0 00aeff60 -008f92b0 00aef15c -008f92b0 00414730 -008f92b0 00416510 -008f92b0 00a0f4e0 008f92b0 00836a90 -008f92b0 00a5a7a0 -008f92b0 00a25090 +008f92b0 0040ccd0 +008f92b0 00aef15c +008f92b0 00413b90 +008f92b0 00aef12b +008f92b0 00414730 +008f92b0 00aeff60 008f92b0 EXTERNAL:00000262 008f92b0 004997f0 -008f92b0 00aef12b -008f99c0 0040ccd0 -008f99c0 0040ccc0 -008f99c0 EXTERNAL:00000220 -008f99c0 00aef15c +008f92b0 00416510 +008f92b0 00a5a7a0 +008f92b0 00a25090 +008f92b0 00a0f4e0 008f99c0 004997f0 -008f99c0 00a17180 -008f99c0 00421680 +008f99c0 EXTERNAL:00000220 +008f99c0 0040ccd0 008f99c0 00a648b0 +008f99c0 00aef15c +008f99c0 00a17180 008f99c0 00aef12b -008f9cb0 0040ccd0 +008f99c0 0040ccc0 +008f99c0 00421680 008f9cb0 EXTERNAL:00000220 -008f9cb0 008f99c0 +008f9cb0 0040ccd0 008f9cb0 00aef15c -008f9cb0 EXTERNAL:00000262 008f9cb0 0040bd50 008f9cb0 00a17180 008f9cb0 00aef12b +008f9cb0 008f99c0 +008f9cb0 EXTERNAL:00000262 008f9e50 EXTERNAL:00000220 -008f9e50 008f99c0 +008f9e50 00a648b0 008f9e50 00aef15c 008f9e50 0040bd50 008f9e50 00a17180 -008f9e50 00a648b0 008f9e50 00aef12b +008f9e50 008f99c0 008f9f40 0040cf50 -008f9f40 0040ccd0 -008f9f40 0040ccc0 008f9f40 EXTERNAL:00000220 -008f9f40 00a25090 -008f9f40 00aef15c -008f9f40 008fc5b0 -008f9f40 00a17180 -008f9f40 00421680 +008f9f40 0040ccd0 008f9f40 00a648b0 +008f9f40 00aef15c +008f9f40 00a17180 +008f9f40 00a25090 008f9f40 00aef12b -008fa390 0040ccd0 -008fa390 00af05df +008f9f40 008fc5b0 +008f9f40 0040ccc0 +008f9f40 00421680 008fa390 EXTERNAL:00000220 +008fa390 0040ccd0 008fa390 00aef15c -008fa390 00a69f60 -008fa390 0041e420 -008fa390 00421680 -008fa390 0040ccc0 -008fa390 0040cf00 -008fa390 009586f0 -008fa390 EXTERNAL:000001a2 -008fa390 00a25090 -008fa390 EXTERNAL:00000262 008fa390 EXTERNAL:0000011d -008fa390 004997f0 008fa390 00a17180 008fa390 00aef12b +008fa390 EXTERNAL:000001a2 +008fa390 EXTERNAL:00000262 008fa390 EXTERNAL:0000026c +008fa390 004997f0 +008fa390 00af05df +008fa390 00a69f60 +008fa390 0041e420 +008fa390 00a25090 +008fa390 0040ccc0 +008fa390 009586f0 +008fa390 0040cf00 +008fa390 00421680 +008fb120 00aefe20 008fb120 00aef15c -008fb120 EXTERNAL:000001cc -008fb120 EXTERNAL:00000003 -008fb120 00409030 +008fb120 00413b90 +008fb120 00a714e0 +008fb120 004141a0 +008fb120 EXTERNAL:000001c0 +008fb120 EXTERNAL:000001bb +008fb120 EXTERNAL:000000f4 +008fb120 0040cae0 008fb120 0040bd50 -008fb120 009555c0 -008fb120 00af05e5 +008fb120 00a0f4e0 +008fb120 EXTERNAL:000001f3 +008fb120 0040cf00 +008fb120 004155d0 +008fb120 0040ccd0 +008fb120 00a178d0 +008fb120 006eef60 +008fb120 EXTERNAL:000001b5 +008fb120 00a5a7a0 +008fb120 00409030 +008fb120 00421680 +008fb120 00aeff60 +008fb120 008fc720 +008fb120 00af0917 +008fb120 EXTERNAL:0000023f 008fb120 00a648b0 008fb120 0040a5d0 -008fb120 EXTERNAL:000001c0 -008fb120 0040cf50 -008fb120 0040ccc0 -008fb120 EXTERNAL:000001b5 -008fb120 EXTERNAL:0000011c -008fb120 00a17180 -008fb120 004155d0 -008fb120 EXTERNAL:0000023f -008fb120 00af0917 -008fb120 EXTERNAL:000001f3 -008fb120 00413c70 -008fb120 0041e420 -008fb120 EXTERNAL:000001bd -008fb120 0040cf00 -008fb120 0040a1b0 -008fb120 00a5a7a0 -008fb120 EXTERNAL:000001d1 -008fb120 006eef60 -008fb120 EXTERNAL:000001bb -008fb120 008fc720 -008fb120 00aef12b -008fb120 0040ccd0 -008fb120 00af05df -008fb120 EXTERNAL:00000220 -008fb120 00aeff60 -008fb120 00a69f60 +008fb120 0040d040 008fb120 00af0770 -008fb120 00a0f4e0 -008fb120 00a714e0 +008fb120 00a112c0 +008fb120 EXTERNAL:000001d1 +008fb120 0040ccc0 008fb120 EXTERNAL:000001cb 008fb120 008fc7e0 -008fb120 00aefe20 +008fb120 EXTERNAL:00000220 008fb120 EXTERNAL:00000009 -008fb120 00a178d0 -008fb120 004997f0 -008fb120 004141a0 -008fb120 EXTERNAL:000000f4 -008fb120 00413b90 -008fb120 00414730 -008fb120 008f8c00 -008fb120 0040cae0 -008fb120 00421680 -008fb120 00a112c0 +008fb120 EXTERNAL:000001cc 008fb120 00557bd0 -008fb120 0040d040 -008fc570 00aef15c +008fb120 EXTERNAL:000001bd +008fb120 00af05e5 +008fb120 EXTERNAL:0000011c +008fb120 008f8c00 +008fb120 00a17180 +008fb120 00aef12b +008fb120 00414730 +008fb120 004997f0 +008fb120 0040cf50 +008fb120 00af05df +008fb120 00a69f60 +008fb120 009555c0 +008fb120 0041e420 +008fb120 0040a1b0 +008fb120 EXTERNAL:00000003 +008fb120 00413c70 008fc570 0040d040 +008fc570 00aef15c 008fc5b0 0040cf50 008fc5b0 008fc7e0 +008fc660 008fcc50 008fc660 EXTERNAL:00000220 008fc660 00aef15c -008fc660 008fcc50 008fc6e0 008fc9f0 008fc700 008fcc50 008fc720 EXTERNAL:00000220 008fc720 00aef15c 008fc760 EXTERNAL:0000007f -008fc760 EXTERNAL:000000ac -008fc760 EXTERNAL:000000bc -008fc760 EXTERNAL:00000082 -008fc760 EXTERNAL:00000083 008fc760 EXTERNAL:000000ae +008fc760 EXTERNAL:00000082 +008fc760 EXTERNAL:000000bc +008fc760 EXTERNAL:00000083 +008fc760 EXTERNAL:000000ac 008fc7e0 0040cf50 -008fc7e0 EXTERNAL:00000220 -008fc7e0 0040cf00 -008fc7e0 00aef15c 008fc7e0 008fcc50 -008fc7e0 008fcf20 +008fc7e0 EXTERNAL:00000220 +008fc7e0 00aef15c 008fc7e0 0040cee0 +008fc7e0 008fcf20 +008fc7e0 0040cf00 008fc7e0 00415bc0 -008fc9bd 00af05eb 008fc9bd 008fc700 +008fc9bd 00af05eb 008fc9bd 008fc720 008fc9f0 0040cf50 -008fc9f0 004170d0 -008fc9f0 00415fe0 008fc9f0 00415f80 008fc9f0 00a0f4c0 +008fc9f0 00415fe0 008fc9f0 00423480 +008fc9f0 004170d0 008fcc50 0040d040 -008fcc90 008fd290 -008fcc90 008fcc90 -008fcc90 008fd030 008fcc90 00af08bd +008fcc90 008fcc90 +008fcc90 008fd290 +008fcc90 008fd030 008fcf20 008fcc50 008fd030 008fd340 008fd3a0 EXTERNAL:0000000a @@ -44857,304 +44857,304 @@ 008fd410 008fd3c0 008fd510 00aef15c 008fd510 00731790 -008fd530 00a112c0 -008fd530 009145f0 -008fd530 008fd7a0 -008fd530 00731790 -008fd530 00731ee0 008fd530 00a78770 +008fd530 009145f0 +008fd530 00a112c0 +008fd530 008fd7a0 +008fd530 00731ee0 +008fd530 00731790 008fd750 00a112c0 008fd750 00731790 -008fd7a0 004170d0 -008fd7a0 00415bd0 008fd7a0 00a0f4c0 +008fd7a0 00415bd0 008fd7a0 00731ee0 +008fd7a0 004170d0 008fd870 00731ee0 -008fd8c0 00426980 008fd8c0 00900940 -008fd900 00a112c0 -008fd900 00913a10 -008fd900 008fed20 -008fd900 0090b070 -008fd900 008fed60 +008fd8c0 00426980 008fd900 0090abf0 -008fd900 009091a0 +008fd900 00a112c0 008fd900 009032d0 +008fd900 0090b070 +008fd900 008fed20 +008fd900 008fed60 +008fd900 00913a10 +008fd900 009091a0 008fd900 008ffc70 008fe3a0 00a112c0 008fe3a0 00aef12b +008feaf0 00a23ae0 008feaf0 00a112c0 008feaf0 00a23610 -008feaf0 00a23ae0 008fed20 00900b90 -008fed60 00a112c0 -008fed60 00909120 -008fed60 009145f0 -008fed60 0090abf0 008fed60 00a78770 -008ffaf0 00a112c0 +008fed60 009145f0 +008fed60 00909120 +008fed60 0090abf0 +008fed60 00a112c0 008ffaf0 008ef1d0 -008ffaf0 009009c0 008ffaf0 004267f0 -008ffc70 00a112c0 +008ffaf0 00a112c0 +008ffaf0 009009c0 008ffc70 EXTERNAL:00000220 +008ffc70 009047f0 008ffc70 00aef15c +008ffc70 00a112c0 008ffc70 00a25090 008ffc70 0041e420 -008ffc70 009047f0 008ffc70 00aef12b -00900940 00900b90 00900940 EXTERNAL:00000220 +00900940 00900b90 00900940 00aef15c 009009a0 00900b90 -009009c0 00900b90 -009009c0 EXTERNAL:00000220 -009009c0 0040cf00 009009c0 008ef1d0 +009009c0 EXTERNAL:00000220 +009009c0 00900b90 009009c0 00aef15c 009009c0 00900c10 009009c0 0040cee0 +009009c0 0040cf00 009009c0 00415bc0 +00900b5e 009009a0 00900b5e 00af05eb 00900b5e 00426940 -00900b5e 009009a0 -00900c10 00900b90 00900c10 008ef1d0 +00900c10 00900b90 00900c90 00900b90 00900ca0 009563b0 00900ca0 00900f50 00900ca0 007b9f60 00901030 00aef15c 00901030 00828180 -00901070 004170d0 -00901070 00416440 -00901070 00415bd0 -00901070 00aef15c -00901070 00828180 00901070 00a0f4c0 -00901190 004170d0 -00901190 00416440 -00901190 00415bd0 +00901070 00aef15c +00901070 00415bd0 +00901070 00828180 +00901070 00416440 +00901070 004170d0 00901190 00a0f4c0 -00901310 0040cf00 +00901190 00415bd0 +00901190 00416440 +00901190 004170d0 00901310 007de290 00901310 0040cee0 +00901310 0040cf00 00901310 00415bc0 00901410 00901410 00901410 00aef15c 00901450 00aef15c -009015b0 00901b70 -009015b0 00aef15c -009015b0 00828180 -009015b0 00a0f4c0 -009015b0 00902cb0 009015b0 00a1e050 -009017c0 00901410 -009017c0 004b3950 -009017c0 00902dc0 -009017c0 00aef15c -009017c0 004147f0 +009015b0 00a0f4c0 +009015b0 00aef15c +009015b0 00902cb0 +009015b0 00901b70 +009015b0 00828180 009017c0 00a1e2c0 +009017c0 00902dc0 +009017c0 00901410 +009017c0 00aef15c +009017c0 004b3950 009017c0 0041c7d0 +009017c0 004147f0 009017c0 0042c780 00901910 00901410 00901910 00aef15c -00901930 00901b70 -00901930 00a20390 +00901930 00a1e050 +00901930 00a0f4c0 00901930 00aef15c +00901930 00902cb0 +00901930 00a20390 +00901930 00901b70 00901930 00902e80 00901930 00828180 -00901930 00a0f4c0 -00901930 00902cb0 -00901930 00a1e050 -00901b70 00901410 00901b70 00902dc0 -00901b70 00aef15c +00901b70 00901410 00901b70 0040d040 +00901b70 00aef15c 00901b70 0041c7d0 -00901cb0 00a29fd0 -00901cb0 00902950 -00901cb0 00901070 -00901cb0 00900ca0 -00901cb0 00aef15c -00901cb0 00901030 -00901cb0 00a0f4c0 -00901cb0 00902d60 -00901cb0 004253d0 -00901cb0 EXTERNAL:000001d7 -00901cb0 009012b0 00901cb0 00a58670 +00901cb0 00901070 +00901cb0 00902950 +00901cb0 00a0f4c0 00901cb0 00901190 -00902010 00a112c0 -00902010 0090d4a0 +00901cb0 00aef15c +00901cb0 004253d0 +00901cb0 00902d60 +00901cb0 00a29fd0 +00901cb0 009012b0 +00901cb0 00900ca0 +00901cb0 EXTERNAL:000001d7 +00901cb0 00901030 00902010 EXTERNAL:00000220 -00902010 00901070 -00902010 00683410 -00902010 00aef15c -00902010 00a582e0 -00902010 00a57db0 -00902010 00af05e5 00902010 00901190 +00902010 00901070 +00902010 00aef15c +00902010 00683410 +00902010 00af05e5 +00902010 00a112c0 +00902010 00a582e0 +00902010 0090d4a0 +00902010 00a57db0 +00902530 00a58670 00902530 00a790b0 00902530 00a29fd0 -00902530 00a58670 00902530 00a2a460 00902930 00a1f010 -00902950 00a112c0 -00902950 00a58040 -00902950 00a78160 00902950 008ef1d0 -00902950 00683410 -00902950 0090eca0 -00902950 00af05e5 00902950 00901190 +00902950 00a58040 00902950 00a58200 +00902950 00683410 +00902950 00af05e5 +00902950 0090eca0 +00902950 00a112c0 +00902950 00a78160 00902c90 00902dc0 00902c90 00aef15c -00902cb0 0040cc10 00902cb0 00a0f4c0 +00902cb0 0040cc10 00902dc0 EXTERNAL:00000220 00902dc0 00aef15c 00902dc0 004147f0 00902e80 00902d60 -00902f10 0040cc10 00902f10 00a0f4c0 -00902fd0 00903d60 -00902fd0 00420a80 +00902f10 0040cc10 00902fd0 00aef12b +00902fd0 00420a80 +00902fd0 00903d60 00903040 00a112c0 +00903040 009293d0 00903040 00a25090 00903040 00420a80 -00903040 009293d0 -009032d0 00a112c0 009032d0 EXTERNAL:00000220 -009032d0 0040cf00 -009032d0 00416440 -009032d0 00915790 -009032d0 00aef15c -009032d0 00a25090 009032d0 009047f0 +009032d0 00aef15c +009032d0 00a112c0 +009032d0 00915790 +009032d0 00a25090 009032d0 00a25130 -009036b0 00904a60 -009036b0 EXTERNAL:000001cc -009036b0 EXTERNAL:000001b4 -009036b0 00af05e5 -009036b0 00a0f4e0 -009036b0 0040d480 -009036b0 00a648b0 -009036b0 EXTERNAL:000001c0 -009036b0 00a58260 -009036b0 00a58250 -009036b0 EXTERNAL:000001cb -009036b0 00414b50 -009036b0 00a178d0 -009036b0 00a57db0 -009036b0 EXTERNAL:000001b5 -009036b0 004141a0 -009036b0 00904a00 -009036b0 00414330 -009036b0 00a58200 -009036b0 00a58270 -009036b0 EXTERNAL:000001f4 -009036b0 EXTERNAL:000001f3 +009032d0 00416440 +009032d0 0040cf00 +009036b0 00a582e0 009036b0 00a57d30 -009036b0 EXTERNAL:000001bd +009036b0 004141a0 +009036b0 EXTERNAL:000001f4 +009036b0 EXTERNAL:000001c0 +009036b0 0040d480 +009036b0 00a58250 +009036b0 00a648b0 009036b0 00a25090 009036b0 EXTERNAL:000001d1 -009036b0 00a582e0 -009036b0 00420a80 +009036b0 00a0f4e0 +009036b0 00904a00 +009036b0 EXTERNAL:000001f3 +009036b0 EXTERNAL:000001cb +009036b0 EXTERNAL:000001cc +009036b0 EXTERNAL:000001b4 +009036b0 EXTERNAL:000001bd +009036b0 00904a60 +009036b0 00a178d0 +009036b0 00a58200 +009036b0 00af05e5 009036b0 00aef12b +009036b0 00420a80 +009036b0 00a57db0 +009036b0 EXTERNAL:000001b5 +009036b0 00414330 +009036b0 00a58260 +009036b0 00a58270 +009036b0 00414b50 00903d60 EXTERNAL:00000239 -00903d60 EXTERNAL:0000025d -00903d60 EXTERNAL:0000023f -00903d60 00aef15c -00903d60 EXTERNAL:0000025c -00903d60 00a16610 -00903d60 00a648b0 -00903d60 0067efc0 -00903d60 00a5a7a0 +00903d60 00a24270 00903d60 EXTERNAL:0000025f -00903d60 00a25560 -00903d60 00420a80 +00903d60 00aef15c +00903d60 00a16610 +00903d60 EXTERNAL:0000025d 00903d60 00aef638 00903d60 00aef12b -00903d60 00a24270 -00904050 0040ccd0 -00904050 00af05df +00903d60 00420a80 +00903d60 EXTERNAL:0000025c +00903d60 0067efc0 +00903d60 00a5a7a0 +00903d60 00a25560 +00903d60 EXTERNAL:0000023f +00903d60 00a648b0 00904050 EXTERNAL:00000220 -00904050 00aef15c -00904050 0041e420 -00904050 00af0750 -00904050 0040ccc0 -00904050 0040cf00 -00904050 00a288a0 +00904050 0040ccd0 00904050 EXTERNAL:0000025f +00904050 00aef15c +00904050 00aef12b +00904050 00af0750 00904050 004997f0 00904050 00a5f1c0 -00904050 00aef12b +00904050 00af05df 00904050 00a285f0 -009047f0 0040ccd0 -009047f0 0040ccc0 -009047f0 EXTERNAL:00000220 -009047f0 00af05df -009047f0 0040cf00 -009047f0 00aef15c +00904050 0041e420 +00904050 0040ccc0 +00904050 00a288a0 +00904050 0040cf00 009047f0 004997f0 -009047f0 00aef12b 009047f0 00904050 +009047f0 EXTERNAL:00000220 +009047f0 0040ccd0 +009047f0 00af05df +009047f0 00aef15c +009047f0 00aef12b +009047f0 0040ccc0 +009047f0 0040cf00 +00904a00 EXTERNAL:00000119 00904a00 EXTERNAL:0000011b 00904a00 EXTERNAL:0000011a -00904a00 EXTERNAL:00000119 -00904a60 0040ccd0 00904a60 EXTERNAL:00000220 -00904a60 EXTERNAL:000001e4 +00904a60 0040ccd0 00904a60 00aef15c -00904a60 EXTERNAL:000001f4 -00904a60 EXTERNAL:000001e1 -00904a60 EXTERNAL:000001e0 -00904a60 EXTERNAL:00000262 -00904a60 EXTERNAL:000001e3 -00904a60 004997f0 +00904a60 00aef12b 00904a60 00420a80 00904a60 EXTERNAL:000001e2 -00904a60 EXTERNAL:00000265 +00904a60 EXTERNAL:000001f4 +00904a60 EXTERNAL:00000262 +00904a60 004997f0 00904a60 EXTERNAL:00000119 -00904a60 00aef12b -00905c80 00a112c0 -00905c80 EXTERNAL:000000c1 -00905c80 EXTERNAL:000000c4 -00905c80 EXTERNAL:000000c3 -00905c80 EXTERNAL:000000c9 -00905c80 EXTERNAL:000000ca -00905c80 EXTERNAL:000000c2 -00905c80 EXTERNAL:000000c8 +00904a60 EXTERNAL:00000265 +00904a60 EXTERNAL:000001e1 +00904a60 EXTERNAL:000001e3 +00904a60 EXTERNAL:000001e0 +00904a60 EXTERNAL:000001e4 00905c80 EXTERNAL:000000c0 +00905c80 EXTERNAL:000000c1 +00905c80 EXTERNAL:000000c2 +00905c80 EXTERNAL:000000c3 +00905c80 EXTERNAL:000000c8 +00905c80 00a112c0 +00905c80 EXTERNAL:000000ca +00905c80 EXTERNAL:000000c9 +00905c80 EXTERNAL:000000c4 00905e30 00aef15c 00905ea0 00907c10 -00905ef0 00a23610 00905ef0 00a23ae0 -00905f60 00a20df0 -00905f60 0040cc10 +00905ef0 00a23610 00905f60 00a0f4c0 +00905f60 0040cc10 +00905f60 00a20df0 +00906020 00902d60 00906020 00a20390 00906020 00a20eb0 -00906020 00902d60 009060c0 00907c10 -00906100 009cf050 -00906100 007b0be0 -00906100 009d45c0 00906100 00754980 -00906100 00aef12b +00906100 009d45c0 00906100 00754d90 -00906260 00a28790 -00906260 00925f80 +00906100 009cf050 +00906100 00aef12b +00906100 007b0be0 +00906260 00a0f4c0 00906260 00a58040 -00906260 00a1d610 -00906260 004074c0 00906260 00a0f550 00906260 0090a8a0 -00906260 00a0f4c0 00906260 00af05e5 +00906260 00925f80 +00906260 00a1d610 +00906260 00a28790 +00906260 004074c0 00906260 0091cec0 00906a10 00a58200 00906a20 00aef15c @@ -45163,187 +45163,187 @@ 00906a40 00aef15c 00906a70 00aef15c 00906a70 00914d90 -00906a90 00aef15c -00906a90 00926120 -00906a90 00407f10 -00906a90 004b3950 -00906a90 009c5b00 -00906a90 00426980 -00906a90 00915330 -00906a90 00923880 -00906a90 00900940 -00906a90 00a58200 -00906a90 00752710 -00906a90 004149d0 -00906a90 00557a60 -00906a90 009156e0 -00906a90 00913df0 -00906a90 00923d90 -00906a90 00a1d6b0 -00906a90 007dce00 -00906a90 009139a0 -00906a90 0040d040 -00906a90 00731790 -00906a90 00913b10 -00906a90 009c6130 -00906a90 004087a0 00906a90 006527d0 +00906a90 00aef15c +00906a90 00407f10 +00906a90 00923880 +00906a90 009c5b00 +00906a90 004149d0 +00906a90 00a1d6b0 +00906a90 009c6130 +00906a90 00900940 +00906a90 00923d90 +00906a90 0040d040 +00906a90 00752710 +00906a90 007dce00 +00906a90 004b3950 +00906a90 009139a0 00906a90 00914d90 +00906a90 00913df0 00906a90 0091db20 -00906d60 0091f780 -00906d60 009c5bf0 +00906a90 004087a0 +00906a90 009156e0 +00906a90 00926120 +00906a90 00915330 +00906a90 00426980 +00906a90 00a58200 +00906a90 00913b10 +00906a90 00557a60 +00906a90 00731790 00906d60 EXTERNAL:00000220 -00906d60 00a1d610 -00906d60 00a55d60 00906d60 00aef15c -00906d60 0069dac0 +00906d60 0040b430 00906d60 EXTERNAL:0000022f +00906d60 00a282c0 +00906d60 00aef12b +00906d60 00a53e50 +00906d60 00a53dd0 +00906d60 00a23ae0 +00906d60 0069dac0 +00906d60 009c5bf0 00906d60 00a55e20 +00906d60 0090a8a0 00906d60 0091cf80 00906d60 0040bd50 -00906d60 00a282c0 -00906d60 00a0f4e0 -00906d60 0040cf00 -00906d60 00a53dd0 -00906d60 0040b430 +00906d60 0091f780 00906d60 00a23610 -00906d60 008370f0 -00906d60 0090a8a0 +00906d60 00a55d60 +00906d60 00a1d610 +00906d60 00a0f4e0 00906d60 00a288a0 -00906d60 00a23ae0 -00906d60 00a53e50 -00906d60 00aef12b +00906d60 008370f0 +00906d60 0040cf00 00907200 00a29370 00907230 00a112c0 00907460 00a112c0 00907690 00a112c0 00907690 00a288a0 00907830 00907460 +00907830 00907230 00907830 00a288a0 00907830 009091a0 -00907830 00907230 00907960 009c3c30 -00907960 00a26a30 -00907960 00420710 -00907960 009c39e0 -00907960 0041e420 00907960 009c25e0 +00907960 009c39e0 +00907960 00420710 +00907960 00a26a30 +00907960 0041e420 00907960 00aef12b 00907b60 00a288a0 00907c80 00a112c0 -00908070 0040ccd0 -00908070 008f19f0 00908070 00956780 -00908070 008f8c00 -00908070 008d0730 -00908070 00907690 -00908070 00a112c0 -00908070 00946b80 00908070 00424540 -00908070 0092dc30 -00908070 00a0f550 -00908070 0042c920 -00908070 0090a8a0 -00908070 00959fa0 +00908070 008d0730 00908070 00948fc0 +00908070 0040ccd0 +00908070 008f8c00 +00908070 00907690 +00908070 008f19f0 00908070 007a6450 -00908070 0090cd10 00908070 00982060 -009083b0 009586f0 +00908070 00a0f550 +00908070 0090a8a0 +00908070 00a112c0 +00908070 0090cd10 +00908070 0092dc30 +00908070 0042c920 +00908070 00946b80 +00908070 00959fa0 009083b0 0090ea90 -009083b0 00a288a0 009083b0 00907690 +009083b0 00a288a0 009083b0 009084f0 -009084f0 009586f0 -009084f0 00986450 -009084f0 0090ea90 -009084f0 00a0f550 -009084f0 0098aa30 +009083b0 009586f0 009084f0 00a0f4c0 -009084f0 00907690 +009084f0 00a0f550 +009084f0 00986450 009084f0 00987450 +009084f0 0090ea90 +009084f0 00907690 +009084f0 0098aa30 +009084f0 009586f0 00908660 00a112c0 -00908660 008e9ac0 -00908660 00a288a0 00908660 009c3ab0 -00908660 0085b300 +00908660 008e9ac0 00908660 009c38e0 +00908660 0085b300 +00908660 00a288a0 00908830 009091a0 -009088e0 00a28790 -009088e0 00907960 -009088e0 00420190 009088e0 0090e8e0 -009088e0 00912b60 -009088e0 00420710 +009088e0 00aef253 009088e0 00a0f4c0 -009088e0 009c2db0 +009088e0 00420190 009088e0 00aef29d -009088e0 00a288a0 +009088e0 00907960 +009088e0 00a28790 +009088e0 009c25e0 009088e0 009c39e0 +009088e0 00420710 009088e0 009c3ab0 009088e0 00a28230 -009088e0 00aef253 -009088e0 009c25e0 009088e0 009c38e0 -00908be0 009586f0 -00908be0 00912b60 +009088e0 00a288a0 +009088e0 009c2db0 +009088e0 00912b60 00908be0 0090ea90 -00908be0 00a288a0 00908be0 009c3ab0 00908be0 009c38e0 -00908ce0 009586f0 +00908be0 00a288a0 +00908be0 00912b60 +00908be0 009586f0 +00908ce0 0091e730 00908ce0 00a0f550 +00908ce0 00a282c0 +00908ce0 00908830 00908ce0 0090ea90 00908ce0 00a288a0 -00908ce0 00908830 -00908ce0 00a282c0 -00908ce0 0091e730 +00908ce0 009586f0 00908e70 00a112c0 00909110 00426980 -009091a0 00a112c0 -009091a0 00a78160 009091a0 008ef1d0 009091a0 00907c10 009091a0 00a23920 009091a0 00912450 -009091a0 00914480 009091a0 00a29740 +009091a0 00914480 +009091a0 00a112c0 +009091a0 00a78160 +00909c40 00a5f1c0 +00909c40 00a23ae0 +00909c40 00909fe0 00909c40 00a112c0 00909c40 00a23610 -00909c40 00909fe0 -00909c40 00a23ae0 -00909c40 00a5f1c0 -00909fe0 00914e40 -00909fe0 00aef15c -00909fe0 00731790 00909fe0 00a0f4c0 +00909fe0 00aef15c +00909fe0 00914e40 +00909fe0 00731790 0090a130 00aef15c 0090a130 00731790 0090a150 00a112c0 -0090a150 00a288a0 0090a150 00aef12b -0090a4b0 00a112c0 -0090a4b0 00a78160 +0090a150 00a288a0 0090a4b0 008ef1d0 0090a4b0 009148c0 0090a4b0 0090eca0 +0090a4b0 00a112c0 0090a4b0 00aef12b +0090a4b0 00a78160 0090a670 00a112c0 0090a890 00426980 -0090a8a0 00901b70 -0090a8a0 00a20390 -0090a8a0 00902d60 -0090a8a0 00900b90 -0090a8a0 00915be0 -0090a8a0 007dce00 -0090a8a0 00414a80 +0090a8a0 006527d0 0090a8a0 00915330 0090a8a0 00426980 +0090a8a0 00902d60 0090a8a0 00a20eb0 0090a8a0 EXTERNAL:00000262 -0090a8a0 00731790 -0090a8a0 006527d0 +0090a8a0 00900b90 +0090a8a0 007dce00 0090a8a0 00914d90 +0090a8a0 00414a80 +0090a8a0 00731790 +0090a8a0 00a20390 +0090a8a0 00915be0 +0090a8a0 00901b70 0090ac70 00a112c0 0090ac70 00417800 0090aeb0 00a112c0 @@ -45352,292 +45352,292 @@ 0090b070 00a112c0 0090b0e0 004253d0 0090b0e0 0090b070 -0090b150 009e5000 -0090b150 0091dc10 +0090b150 009128e0 +0090b150 00837210 0090b150 0090f760 -0090b150 00409030 +0090b150 00910650 +0090b150 00902010 +0090b150 009c63a0 0090b150 00a78770 -0090b150 008fd530 -0090b150 0091c320 -0090b150 0091e980 +0090b150 009145f0 +0090b150 00912560 +0090b150 0091dc10 +0090b150 00a112c0 +0090b150 00911120 0090b150 00a288a0 -0090b150 00a20fb0 -0090b150 00911c70 -0090b150 00916770 -0090b150 008fd900 +0090b150 0090e6d0 +0090b150 0091c320 0090b150 00923920 +0090b150 008fd900 +0090b150 008fd530 +0090b150 00916770 +0090b150 00911c70 0090b150 009c5df0 0090b150 0090abf0 -0090b150 00902010 -0090b150 00910980 -0090b150 00911120 -0090b150 009128e0 -0090b150 00910650 -0090b150 00a112c0 -0090b150 009c5eb0 -0090b150 009586f0 +0090b150 00409030 0090b150 0090bf10 -0090b150 009145f0 -0090b150 009c63a0 -0090b150 00912560 -0090b150 00837210 -0090b150 0090e6d0 -0090b900 0040a030 -0090b900 0091e650 +0090b150 00a20fb0 +0090b150 0091e980 +0090b150 009c5eb0 +0090b150 009e5000 +0090b150 00910980 +0090b150 009586f0 0090b900 00a1b050 -0090b900 00a0f550 0090b900 0085b7f0 -0090b900 008372e0 -0090b900 0040a0d0 +0090b900 0040a030 0090b900 0040ace0 +0090b900 0091e650 +0090b900 00a0f550 +0090b900 0040a0d0 +0090b900 008372e0 0090b900 00837610 -0090bbf0 009c2700 -0090bbf0 009c3c30 0090bbf0 0090e8e0 -0090bbf0 00420710 -0090bbf0 00a282c0 -0090bbf0 00a112c0 -0090bbf0 00a29370 -0090bbf0 0085b050 -0090bbf0 00426980 -0090bbf0 0090e7d0 -0090bbf0 0040d040 -0090bbf0 00a288a0 0090bbf0 00929aa0 +0090bbf0 009c3c30 +0090bbf0 00426980 +0090bbf0 00a282c0 +0090bbf0 00a29370 +0090bbf0 0090e7d0 +0090bbf0 00aef12b +0090bbf0 0085b300 +0090bbf0 009c2700 +0090bbf0 00a72a20 +0090bbf0 0040d040 +0090bbf0 009c25e0 0090bbf0 004209d0 0090bbf0 009c39e0 -0090bbf0 0085b300 -0090bbf0 009c25e0 -0090bbf0 00aef12b -0090bbf0 00a72a20 -0090bf10 00954320 -0090bf10 00a19530 -0090bf10 00986450 +0090bbf0 00420710 +0090bbf0 00a112c0 +0090bbf0 0085b050 +0090bbf0 00a288a0 0090bf10 008e24c0 0090bf10 00a29d00 +0090bf10 00a19530 0090bf10 00a0f4c0 -0090bf10 0090bbf0 -0090bf10 00a282c0 -0090bf10 00908ce0 0090bf10 009db250 +0090bf10 00a282c0 +0090bf10 00954320 +0090bf10 00908ce0 +0090bf10 0090bbf0 0090bf10 00a0f550 +0090bf10 00986450 +0090bf10 00987450 0090bf10 0098aa30 0090bf10 00a288a0 -0090bf10 00987450 -0090c0e0 00a58040 0090c0e0 00929010 +0090c0e0 00a58040 0090c0e0 0091b0f0 -0090c0e0 0090c2d0 0090c0e0 00a648b0 -0090c0e0 00aef12b -0090c0e0 0091acc0 0090c0e0 00a58200 -0090c2d0 009154f0 +0090c0e0 0091acc0 +0090c0e0 0090c2d0 +0090c0e0 00aef12b 0090c2d0 0091adf0 +0090c2d0 009154f0 0090c300 00914150 0090c300 00731ee0 -0090c360 0090ac70 0090c360 00914150 +0090c360 0090ac70 0090c360 00731ee0 0090c400 00414a80 0090c400 00731ee0 -0090c560 00a58040 0090c560 EXTERNAL:00000220 -0090c560 0040cf00 -0090c560 00414a80 -0090c560 0091a450 +0090c560 00a58040 +0090c560 0091b0f0 0090c560 00915c20 0090c560 00aef15c -0090c560 0091b0f0 +0090c560 00414a80 +0090c560 0091a450 +0090c560 0040cf00 0090c560 00415bc0 -0090c740 00906100 0090c740 009150d0 -0090c7e0 009cf050 -0090c7e0 0090c7e0 -0090c7e0 009d05d0 +0090c740 00906100 0090c7e0 00913e70 -0090c7e0 00731ee0 -0090c7e0 007ae4b0 0090c7e0 00754980 -0090c7e0 00aef12b 0090c7e0 00913e50 +0090c7e0 007ae4b0 +0090c7e0 0090c7e0 0090c7e0 00754d90 +0090c7e0 009cf050 +0090c7e0 009d05d0 +0090c7e0 00aef12b +0090c7e0 00731ee0 0090ca40 00a112c0 0090cd10 00a112c0 -0090d360 00af08bd 0090d360 00915f50 -0090d4a0 00a112c0 -0090d4a0 00693090 +0090d360 00af08bd 0090d4a0 008fe3a0 +0090d4a0 00693090 +0090d4a0 00a112c0 0090d640 007dcd30 -0090d640 007530f0 -0090d640 0091b130 -0090d640 00418230 -0090d640 00a0f4c0 -0090d640 0091acc0 0090d640 00a58040 -0090d640 00683580 -0090d640 00416440 +0090d640 00a0f4c0 0090d640 00915790 -0090d640 EXTERNAL:00000262 -0090d640 004186c0 -0090d640 00914340 0090d640 00aef12b +0090d640 007530f0 +0090d640 00914340 +0090d640 00418230 +0090d640 004186c0 +0090d640 EXTERNAL:00000262 +0090d640 00683580 +0090d640 0091acc0 +0090d640 0091b130 +0090d640 00416440 0090d9b0 00a112c0 0090df40 00a112c0 0090df40 00aef12b -0090e2a0 00a112c0 -0090e2a0 00923450 0090e2a0 009b9150 +0090e2a0 00923450 0090e2a0 007384d0 +0090e2a0 00a112c0 0090e6d0 009c3c30 -0090e6d0 00420710 -0090e6d0 009c39e0 0090e6d0 009c25e0 +0090e6d0 009c39e0 +0090e6d0 00420710 0090e7d0 009c3c30 +0090e7d0 009c25e0 0090e7d0 004209d0 0090e7d0 009c39e0 -0090e7d0 009c25e0 -0090e8e0 009c3c30 -0090e8e0 0085b050 -0090e8e0 00426980 0090e8e0 0040d040 -0090e8e0 00a288a0 +0090e8e0 009c3c30 +0090e8e0 00426980 +0090e8e0 009c25e0 0090e8e0 004209d0 0090e8e0 009c39e0 -0090e8e0 0085b300 -0090e8e0 009c25e0 0090e8e0 00aef12b -0090ea90 00a112c0 +0090e8e0 0085b300 +0090e8e0 0085b050 +0090e8e0 00a288a0 0090ea90 009c3c30 -0090ea90 009586f0 +0090ea90 009c25e0 0090ea90 004209d0 0090ea90 009c39e0 +0090ea90 00a112c0 0090ea90 0041e420 -0090ea90 009c25e0 0090ea90 00aef12b -0090eca0 00a29a40 -0090eca0 00a5f260 -0090eca0 00aef15c -0090eca0 00a0f4c0 -0090eca0 00a284d0 -0090eca0 00a2a460 -0090eca0 00a29740 -0090eca0 00a790b0 +0090ea90 009586f0 0090eca0 008ef1d0 -0090eca0 00414a80 -0090eca0 008fd7a0 -0090eca0 00a288a0 -0090eca0 00731790 +0090eca0 00a0f4c0 0090eca0 00a23920 +0090eca0 00aef15c 0090eca0 00731ee0 +0090eca0 00a29a40 +0090eca0 00a284d0 +0090eca0 00a29740 +0090eca0 008fd7a0 +0090eca0 00a790b0 +0090eca0 00414a80 +0090eca0 00731790 +0090eca0 00a288a0 +0090eca0 00a2a460 +0090eca0 00a5f260 +0090f4c0 009145f0 0090f4c0 004253d0 0090f4c0 00a112c0 0090f4c0 00a78160 -0090f4c0 00949bc0 -0090f4c0 009145f0 0090f4c0 0090b070 -0090f5f0 00a1b8e0 -0090f5f0 00a23610 -0090f5f0 EXTERNAL:0000022f -0090f5f0 00a23ae0 -0090f5f0 0041e420 -0090f5f0 00420a80 +0090f4c0 00949bc0 0090f5f0 00a5f1c0 -0090f760 00a112c0 -0090f760 009145f0 -0090f760 00a23610 -0090f760 00909fe0 -0090f760 00a23ae0 +0090f5f0 00a23ae0 +0090f5f0 00a1b8e0 +0090f5f0 EXTERNAL:0000022f +0090f5f0 0041e420 +0090f5f0 00a23610 +0090f5f0 00420a80 0090f760 00a5f1c0 -0090f760 00aef12b 0090f760 00a78770 -00910650 00a112c0 -00910650 00a78160 +0090f760 009145f0 +0090f760 00a23ae0 +0090f760 00909fe0 +0090f760 00a112c0 +0090f760 00aef12b +0090f760 00a23610 00910650 008ef1d0 -00910650 009145f0 -00910650 00a68490 -00910650 0090eca0 -00910650 0090abf0 00910650 00a78770 -00910980 00900f50 -00910980 006f9770 -00910980 00409030 -00910980 00a2a460 -00910980 0040a5d0 -00910980 00a790b0 -00910980 0090d640 -00910980 00416440 -00910980 0040a1b0 -00910980 00915790 -00910980 EXTERNAL:00000262 -00910980 00425ac0 +00910650 009145f0 +00910650 0090abf0 +00910650 0090eca0 +00910650 00a112c0 +00910650 00a68490 +00910650 00a78160 00910980 00901190 +00910980 0090d640 +00910980 00425ac0 +00910980 00915790 +00910980 006f9770 00910980 00914340 00910980 00901cb0 +00910980 EXTERNAL:00000262 +00910980 0040a5d0 +00910980 00409030 +00910980 00900f50 +00910980 00a790b0 +00910980 0040a1b0 +00910980 00a2a460 +00910980 00416440 00911120 EXTERNAL:00000220 -00911120 00a5f260 -00911120 00428b60 -00911120 00aef15c 00911120 00907c10 -00911120 0090abf0 -00911120 00912450 -00911120 0090a150 -00911120 00a78770 -00911120 00909120 -00911120 00a112c0 -00911120 00907830 -00911120 00a23610 -00911120 009145f0 +00911120 00aef15c 00911120 00426980 -00911120 0090b070 -00911120 00a23ae0 -00911120 00908e70 00911120 004267f0 00911120 00916110 -00911120 009091a0 00911120 00aef12b +00911120 00428b60 +00911120 00908e70 +00911120 00a23ae0 +00911120 00a78770 +00911120 009145f0 +00911120 00909120 +00911120 0090abf0 +00911120 00912450 +00911120 00907830 +00911120 00a112c0 +00911120 0090a150 +00911120 00a23610 00911120 009163b0 +00911120 0090b070 +00911120 00a5f260 +00911120 009091a0 00911c60 004b3950 +00911c70 008ef1d0 +00911c70 00a78770 +00911c70 009145f0 +00911c70 0090abf0 +00911c70 00426980 +00911c70 004267f0 +00911c70 0090eca0 00911c70 00a112c0 00911c70 00a78160 -00911c70 008ef1d0 -00911c70 009145f0 -00911c70 009bfb20 -00911c70 00426980 00911c70 0090b070 -00911c70 0090eca0 -00911c70 004267f0 -00911c70 0090abf0 -00911c70 00a78770 +00911c70 009bfb20 00912450 00aef15c 00912450 00731790 -00912560 00a112c0 -00912560 009145f0 00912560 00a78770 -009128e0 00a112c0 +00912560 009145f0 +00912560 00a112c0 009128e0 009187f0 -009128e0 00a78160 -009128e0 00a5f260 -009128e0 00a288a0 009128e0 0090eca0 -00912b60 009586f0 -00912b60 0090bf10 +009128e0 00a112c0 +009128e0 00a78160 +009128e0 00a288a0 +009128e0 00a5f260 00912b60 0085b160 -00912b60 009c5f90 -00912b60 00426980 00912b60 0040d040 -00912b60 00a288a0 -00912b60 009c61e0 -00912b60 00958c40 +00912b60 00426980 +00912b60 0090bf10 +00912b60 009c5f90 00912b60 00837510 -00912b60 00837660 00912b60 00aef12b -00912d80 00aef12b +00912b60 009c61e0 +00912b60 00a288a0 +00912b60 00958c40 +00912b60 00837660 +00912b60 009586f0 00912d80 00914170 +00912d80 00aef12b 00913760 00a112c0 -00913870 00912b60 00913870 00a282c0 +00913870 00912b60 009138d0 EXTERNAL:00000220 009138d0 00aef15c 00913950 009149f0 @@ -45646,49 +45646,49 @@ 009139a0 00426980 009139a0 00aef15c 00913a10 00426980 -00913ac0 00914ba0 00913ac0 00915d70 +00913ac0 00914ba0 00913b10 EXTERNAL:00000220 00913b10 00426980 00913b10 00aef15c -00913ba0 004170d0 -00913ba0 00415bd0 00913ba0 00a0f4c0 +00913ba0 00415bd0 00913ba0 00731ee0 -00913c80 00414a80 -00913c80 00aef15c +00913ba0 004170d0 00913c80 00415d20 +00913c80 00aef15c 00913c80 00914d90 -00913df0 00915be0 +00913c80 00414a80 00913df0 EXTERNAL:00000220 00913df0 00aef15c +00913df0 00915be0 00913e50 009150d0 -00913e70 007dcd30 -00913e70 00414a80 -00913e70 00915330 -00913e70 00aef15c 00913e70 00415d20 +00913e70 00915330 +00913e70 007dcd30 +00913e70 00aef15c +00913e70 00414a80 00914150 009154f0 -00914170 00926120 -00914170 00414a80 -00914170 00aef15c -00914170 0040d040 -00914170 009156e0 00914170 00415d20 -00914340 00414a80 -00914340 00aef15c +00914170 0040d040 +00914170 00aef15c +00914170 00414a80 +00914170 009156e0 +00914170 00926120 00914340 006527d0 00914340 00415d20 -00914480 00414a80 +00914340 00aef15c +00914340 00414a80 00914480 00aef15c -00914480 00828180 +00914480 00414a80 00914480 00731790 -009145f0 0040cc10 +00914480 00828180 009145f0 00a0f4c0 -009146a0 00aef15c -009146a0 00731790 +009145f0 0040cc10 009146a0 006527d0 009146a0 00a5a210 +009146a0 00aef15c +009146a0 00731790 00914760 EXTERNAL:00000220 00914760 00915c20 00914760 00aef15c @@ -45696,795 +45696,795 @@ 00914810 00426980 00914840 00915be0 009148c0 EXTERNAL:00000220 -009148c0 0040cf00 009148c0 00aef15c 009148c0 00af08bd 009148c0 0040cee0 +009148c0 0040cf00 009148c0 00415bc0 009149f0 EXTERNAL:00000220 -009149f0 0040cf00 009149f0 00426980 009149f0 00aef15c -009149f0 00915d70 009149f0 0040cee0 +009149f0 00915d70 009149f0 00915e30 +009149f0 0040cf00 009149f0 00415bc0 +00914b68 009147e0 00914b68 00571230 00914b68 00af05eb -00914b68 009147e0 00914ba0 00915eb0 00914ba0 EXTERNAL:00000220 -00914ba0 0040cf00 00914ba0 00426980 00914ba0 00aef15c -00914ba0 00915d70 00914ba0 0040cee0 +00914ba0 00915d70 +00914ba0 0040cf00 00914ba0 00415bc0 00914d5f 00914810 -00914d5f 00af05eb 00914d5f 00414b10 +00914d5f 00af05eb 00914d90 00aef15c 00914d90 00914d90 00914de0 00a0f4c0 -00914e40 00915be0 00914e40 EXTERNAL:00000220 -00914e40 0040cf00 +00914e40 00a0f4c0 00914e40 00916020 00914e40 00aef15c -00914e40 00a0f4c0 -00914e40 00914de0 00914e40 00915ca0 00914e40 0040cee0 +00914e40 00914de0 +00914e40 00915be0 +00914e40 0040cf00 00914e40 00415bc0 +009150a0 005cbf50 009150a0 00af05eb 009150a0 00914840 -009150a0 005cbf50 -009150d0 00a58040 -009150d0 004170d0 -009150d0 00415fe0 009150d0 00415f80 009150d0 00a0f4c0 +009150d0 00a58040 +009150d0 00415fe0 009150d0 00af05e5 009150d0 00731ee0 -00915330 007dcd30 +009150d0 004170d0 00915330 00915330 +00915330 007dcd30 00915330 00aef15c -009154f0 00925f80 -009154f0 004170d0 -009154f0 00415fe0 009154f0 00415f80 009154f0 00a0f4c0 +009154f0 00415fe0 +009154f0 00925f80 009154f0 00731ee0 -009156e0 00926120 -009156e0 00aef15c +009154f0 004170d0 009156e0 0040d040 +009156e0 00aef15c 009156e0 009156e0 -00915790 004170d0 -00915790 00416440 -00915790 00415fe0 +009156e0 00926120 00915790 00415f80 00915790 00a0f4c0 -00915960 004170d0 -00915960 00415fe0 +00915790 00415fe0 +00915790 00416440 +00915790 004170d0 00915960 00415f80 00915960 00a0f4c0 +00915960 00415fe0 00915960 00731ee0 -00915b40 0040cc10 +00915960 004170d0 00915b40 00a0f4c0 +00915b40 0040cc10 00915be0 00aef15c 00915be0 00731790 00915c20 007dcd30 -00915ca0 00915be0 00915ca0 00a0f4c0 -00915d70 0040cf00 +00915ca0 00915be0 00915d70 00af08bd 00915d70 0040cee0 +00915d70 0040cf00 00915df0 00aef15c 00915e10 00aef15c 00915f20 00a58200 00915f30 00915be0 00915f40 00915c20 00915f50 EXTERNAL:00000220 -00915f50 0040cf00 00915f50 00aef15c +00915f50 0040cf00 00915f50 00415bc0 00915ff0 00aef15c 00915ff0 00731790 -00916020 00916020 00916020 00a0f4c0 -009160ee 00af05eb +00916020 00916020 009160ee 00424530 +009160ee 00af05eb 009160ee 00731790 -00916110 00a112c0 +00916110 00a583e0 +00916110 008ef1d0 +00916110 EXTERNAL:00000220 00916110 007dcd30 00916110 00a58040 -00916110 00a78160 -00916110 EXTERNAL:00000220 -00916110 008ef1d0 -00916110 00414a80 -00916110 00901310 -00916110 00aef15c -00916110 0090eca0 00916110 0090abf0 -00916110 00a583e0 -009163b0 00a112c0 -009163b0 009166b0 -009163b0 00916670 +00916110 00aef15c +00916110 00901310 +00916110 0090eca0 +00916110 00a112c0 +00916110 00414a80 +00916110 00a78160 009163b0 EXTERNAL:00000220 009163b0 00aef15c +009163b0 00a112c0 009163b0 00a582e0 -009166b0 00916670 -009166b0 0040cf00 +009163b0 009166b0 +009163b0 00916670 009166b0 007de290 009166b0 0040cee0 +009166b0 00916670 +009166b0 0040cf00 009166b0 00415bc0 -00916770 00a112c0 -00916770 00a29b10 -00916770 009145f0 -00916770 00a23610 -00916770 00a23ae0 00916770 00a5f1c0 -00916770 00aef12b +00916770 009145f0 00916770 00a78770 -00916f70 00917030 -00916f70 009172f0 +00916770 00a23ae0 +00916770 00a112c0 +00916770 00aef12b +00916770 00a23610 +00916770 00a29b10 00916f70 00a648b0 00916f70 0091acc0 +00916f70 00917030 +00916f70 009172f0 00917030 0040cf50 00917030 EXTERNAL:00000009 00917030 006eef60 -00917030 009e9db0 00917030 009eb6b0 +00917030 009e9db0 009172f0 007dcd30 -009172f0 009c9340 -009172f0 00aeff60 -009172f0 009c7800 -009172f0 00a0f4c0 -009172f0 00a0f4e0 -009172f0 00a112c0 009172f0 00a58040 -009172f0 00a85140 -009172f0 004288a0 +009172f0 00a0f4c0 009172f0 006f9000 -009172f0 EXTERNAL:00000262 -009172f0 00a850f0 -009172f0 009c73c0 +009172f0 009c9340 009172f0 00aef12b -00917a50 00aef15c -00917a50 009eb880 -00917a50 00989750 -00917a50 00a0f4c0 -00917a50 0091ad50 -00917a50 006ef8f0 +009172f0 00aeff60 +009172f0 EXTERNAL:00000262 +009172f0 009c7800 +009172f0 00a850f0 +009172f0 00a112c0 +009172f0 00a85140 +009172f0 009c73c0 +009172f0 004288a0 +009172f0 00a0f4e0 00917a50 00424540 -00917a50 00a23610 -00917a50 0090a8a0 -00917a50 00a23ae0 -00917a50 004267f0 00917a50 009e9430 -00917a50 008ef230 +00917a50 00a0f4c0 +00917a50 00aef15c +00917a50 004267f0 +00917a50 006ef8f0 00917a50 00aef12b +00917a50 009eb880 +00917a50 00a23ae0 +00917a50 008ef230 +00917a50 0090a8a0 +00917a50 0091ad50 +00917a50 00a23610 +00917a50 00989750 00917fd0 00a112c0 +00918870 00a583e0 +00918870 00a89de0 00918870 007dcd30 00918870 00a58040 +00918870 00a0f4c0 00918870 00a2c860 00918870 00414a80 -00918870 00a89de0 -00918870 EXTERNAL:00000262 -00918870 00a583e0 -00918870 00a0f4c0 00918870 00a0f4e0 -00918870 00415bc0 00918870 00a89ba0 -00918d00 00a112c0 -00918d00 EXTERNAL:00000220 +00918870 EXTERNAL:00000262 +00918870 00415bc0 00918d00 00915330 +00918d00 EXTERNAL:00000220 00918d00 00aef15c -00918d00 00a582e0 -00918d00 EXTERNAL:00000262 -00918d00 00a0f4e0 -00918d00 00a614d0 00918d00 00913e50 +00918d00 00a112c0 +00918d00 00a614d0 +00918d00 00a582e0 +00918d00 00a0f4e0 +00918d00 EXTERNAL:00000262 009193b0 00a58040 -00919440 00925f80 -00919440 00af05df -00919440 0091b130 -00919440 00aeff60 -00919440 009261a0 -00919440 0041e420 -00919440 00af05e5 -00919440 00914150 -00919440 004253d0 -00919440 00926120 -00919440 00a58040 -00919440 00a25090 -00919440 0090b070 -00919440 0040d040 00919440 0091b510 -00919440 0091adf0 +00919440 00914150 +00919440 00a58040 00919440 EXTERNAL:0000025f -00919440 0091b720 +00919440 00a58200 +00919440 004253d0 +00919440 00af05e5 +00919440 00925f80 +00919440 0091adf0 +00919440 00aef12b 00919440 00420a80 00919440 00731ee0 -00919440 00aef12b -00919440 00a58200 -00919980 00925f80 -00919980 00a61490 -00919980 0090d360 -00919980 00a57fc0 -00919980 00aeff60 -00919980 009261a0 -00919980 00959e70 -00919980 0041e420 -00919980 00a0f4e0 -00919980 00a648b0 -00919980 00a24fd0 -00919980 00a112c0 +00919440 00aeff60 +00919440 009261a0 +00919440 00af05df +00919440 0040d040 +00919440 0091b720 +00919440 0091b130 +00919440 00a25090 +00919440 0041e420 +00919440 0090b070 +00919440 00926120 00919980 00a58040 -00919980 00414a80 -00919980 00a582e0 00919980 EXTERNAL:0000025f -00919980 0091adf0 -00919980 00420a80 -00919980 00a28210 -00919980 00aef12b 00919980 00a58200 +00919980 00a24fd0 +00919980 00a582e0 +00919980 00959e70 +00919980 00a57fc0 +00919980 00925f80 +00919980 0091adf0 +00919980 00aef12b +00919980 00420a80 +00919980 00aeff60 +00919980 0090d360 +00919980 009261a0 +00919980 00a648b0 +00919980 00a28210 00919980 00730ed0 -0091a450 00925f80 -0091a450 0091b560 -0091a450 00aeff60 -0091a450 00436fb0 -0091a450 00a57da0 -0091a450 00a0f4c0 -0091a450 00af05e5 -0091a450 00a112c0 +00919980 00a112c0 +00919980 0041e420 +00919980 00a61490 +00919980 00414a80 +00919980 00a0f4e0 +0091a450 0091b9c0 0091a450 0091b9e0 +0091a450 0091b0f0 +0091a450 00a0f4c0 +0091a450 00a57da0 +0091a450 00af05e5 +0091a450 00925f80 +0091a450 00aef12b +0091a450 0091b960 +0091a450 00aeff60 +0091a450 00730ed0 +0091a450 00a112c0 +0091a450 00926240 +0091a450 0091b560 0091a450 004288a0 0091a450 00414a80 -0091a450 0091b0f0 -0091a450 0091b960 -0091a450 0091b9c0 -0091a450 00926240 -0091a450 00aef12b -0091a450 00730ed0 +0091a450 00436fb0 0091acc0 00a89de0 0091acc0 00a0f4c0 0091acc0 00a0f4e0 0091acc0 00a89ba0 -0091ad50 00a112c0 0091ad50 00a614d0 +0091ad50 00a112c0 +0091adf0 00a0f4c0 0091adf0 0042c8e0 0091adf0 0091b650 +0091adf0 00415bd0 0091adf0 004288a0 0091adf0 004170d0 -0091adf0 00415bd0 -0091adf0 00a0f4c0 0091b0f0 0091b130 -0091b130 00752900 0091b130 EXTERNAL:00000220 -0091b130 00414a80 -0091b130 0091b580 0091b130 00aef15c -0091b130 00415bc0 0091b130 005cc510 -0091b580 EXTERNAL:00000262 +0091b130 00414a80 +0091b130 00752900 +0091b130 0091b580 +0091b130 00415bc0 0091b580 00af05e5 0091b580 00a0f4e0 -0091b650 EXTERNAL:00000262 -0091b650 00af05e5 +0091b580 EXTERNAL:00000262 0091b650 00a648b0 +0091b650 00af05e5 +0091b650 EXTERNAL:00000262 0091b720 00aef12b 0091b9c0 0091bb20 +0091b9e0 00aef15c 0091b9e0 0042c8e0 0091b9e0 00414a80 -0091b9e0 00aef15c 0091b9e0 00828180 -0091bb20 004170d0 -0091bb20 00415fe0 0091bb20 00415f80 0091bb20 00a0f4c0 +0091bb20 00415fe0 +0091bb20 004170d0 0091bd10 EXTERNAL:00000232 -0091be00 EXTERNAL:000001f3 -0091be00 EXTERNAL:0000022f -0091be00 EXTERNAL:00000114 -0091be00 0091c1f0 -0091be00 0041e420 -0091be00 EXTERNAL:00000116 -0091be00 00a0f4c0 -0091be00 00a0f4e0 -0091be00 00a648b0 -0091be00 00a24fd0 -0091be00 00a112c0 -0091be00 EXTERNAL:00000115 -0091be00 EXTERNAL:000001d7 -0091be00 00a25090 -0091be00 0091c240 -0091be00 00a178d0 0091be00 EXTERNAL:00000117 +0091be00 00a0f4c0 +0091be00 00a178d0 +0091be00 EXTERNAL:00000115 +0091be00 EXTERNAL:0000022f +0091be00 00a24fd0 0091be00 00aef12b +0091be00 EXTERNAL:00000116 +0091be00 0091c240 +0091be00 00a648b0 +0091be00 00a112c0 +0091be00 EXTERNAL:000001d7 +0091be00 0041e420 +0091be00 00a25090 +0091be00 00a0f4e0 +0091be00 0091c1f0 +0091be00 EXTERNAL:00000114 +0091be00 EXTERNAL:000001f3 0091c1f0 00aef15c 0091c240 0091c240 -0091c320 00a5f260 -0091c320 00af060f -0091c320 00aefca0 -0091c320 0090eca0 -0091c320 00af05e5 -0091c320 00a112c0 -0091c320 00a78160 0091c320 008ef1d0 -0091c320 0091cd90 -0091c320 00414a80 -0091c320 0091cb70 -0091c320 00a288a0 0091c320 0091ce60 +0091c320 00af05e5 +0091c320 0090eca0 0091c320 00aef12b +0091c320 00a78160 +0091c320 0091cd90 +0091c320 00af060f +0091c320 00a112c0 +0091c320 0091cb70 +0091c320 00414a80 +0091c320 00a288a0 +0091c320 00aefca0 +0091c320 00a5f260 0091c770 00731790 -0091c7e0 00731790 0091c7e0 0091c770 -0091c870 00a112c0 -0091c870 00a78160 +0091c7e0 00731790 0091c870 008ef1d0 0091c870 0091cd90 0091c870 0090eca0 +0091c870 00a112c0 0091c870 0091c770 -0091ca00 0091cd90 +0091c870 00a78160 0091ca00 0091ce60 +0091ca00 0091cd90 0091cac0 00af060f 0091cac0 00aefca0 0091cb10 00414a80 -0091cb70 00a112c0 -0091cb70 0091cd90 -0091cb70 009145f0 -0091cb70 0091c770 0091cb70 00a78770 -0091cd90 004170d0 -0091cd90 00415bd0 -0091cd90 00a0f4c0 +0091cb70 009145f0 +0091cb70 0091cd90 +0091cb70 00a112c0 +0091cb70 0091c770 0091cd90 0091ce60 -0091cec0 00a23610 +0091cd90 00a0f4c0 +0091cd90 00415bd0 +0091cd90 004170d0 0091cec0 00a23ae0 -0091cf80 00a23610 +0091cec0 00a23610 0091cf80 00a23ae0 +0091cf80 00a23610 0091cf80 0091d080 -0091d080 0090f5f0 0091d080 00a1b8e0 +0091d080 00a648b0 +0091d080 0090f5f0 +0091d080 00420a80 0091d080 00aefca0 0091d080 00a55c40 -0091d080 00420a80 -0091d080 00a648b0 -0091d2b0 00a55d60 -0091d2b0 00a14200 +0091d2b0 00a1b8e0 +0091d2b0 004253d0 +0091d2b0 00a10d00 +0091d2b0 00420a80 +0091d2b0 00a140c0 +0091d2b0 00a13750 0091d2b0 00a1b050 0091d2b0 0069dac0 -0091d2b0 00aefca0 0091d2b0 0090abf0 -0091d2b0 00a55b70 -0091d2b0 00a1bd80 -0091d2b0 0090f5f0 -0091d2b0 004253d0 -0091d2b0 00a1b8e0 -0091d2b0 00a10d00 -0091d2b0 00a13750 -0091d2b0 00a140c0 -0091d2b0 00a671b0 0091d2b0 0060d180 -0091d2b0 00420a80 +0091d2b0 0090f5f0 +0091d2b0 00a1bd80 +0091d2b0 00a55b70 +0091d2b0 00a14200 +0091d2b0 00a55d60 +0091d2b0 00aefca0 +0091d2b0 00a671b0 0091dae0 00aef15c 0091dae0 0091fb10 -0091db00 00a55d60 0091db00 0069dac0 -0091db20 00a55d60 -0091db20 00aef15c +0091db00 00a55d60 +0091db20 0091e730 0091db20 0069dac0 0091db20 0040d040 +0091db20 00aef15c 0091db20 0091fb10 +0091db20 00a55d60 0091db20 00731790 -0091db20 0091e730 0091dbc0 00a55e20 -0091dc10 0040ccd0 -0091dc10 00a55d60 -0091dc10 EXTERNAL:00000220 -0091dc10 0091e7c0 -0091dc10 00aef15c -0091dc10 00a55e20 -0091dc10 00828180 -0091dc10 0091ee90 -0091dc10 00a29f60 -0091dc10 0091f9a0 -0091dc10 0091dbc0 -0091dc10 00a68490 0091dc10 0091db00 -0091dc10 008fd870 -0091dc10 0060c700 -0091dc10 00a20fb0 -0091dc10 00a285f0 -0091dc10 EXTERNAL:00000231 0091dc10 008e24c0 -0091dc10 0069dac0 -0091dc10 0091cf80 -0091dc10 0041e420 0091dc10 00956780 +0091dc10 00a23920 +0091dc10 00aef15c +0091dc10 00a68490 +0091dc10 00a29f60 +0091dc10 00828180 +0091dc10 0069dac0 +0091dc10 008fd870 0091dc10 00a112c0 -0091dc10 00414a80 -0091dc10 00a23610 0091dc10 008fd7a0 0091dc10 00a25090 0091dc10 0092dc30 -0091dc10 00a23ae0 -0091dc10 00a23920 -0091dc10 00420a80 +0091dc10 00a55d60 +0091dc10 EXTERNAL:00000220 +0091dc10 0040ccd0 +0091dc10 0091dbc0 +0091dc10 0091e7c0 0091dc10 00aef12b -0091e650 0091d2b0 +0091dc10 00420a80 +0091dc10 0091ee90 +0091dc10 0091f9a0 +0091dc10 0060c700 +0091dc10 EXTERNAL:00000231 +0091dc10 00a23ae0 +0091dc10 00a55e20 +0091dc10 00a285f0 +0091dc10 00a20fb0 +0091dc10 0091cf80 +0091dc10 0041e420 +0091dc10 00414a80 +0091dc10 00a23610 0091e650 0060c700 +0091e650 0091d2b0 0091e730 0040ccd0 +0091e730 0091fb10 0091e730 00a55d60 0091e730 00414a80 -0091e730 0091fb10 -0091e7c0 00a112c0 -0091e7c0 007dcd30 -0091e7c0 00a58040 -0091e7c0 00a78160 -0091e7c0 008ef1d0 -0091e7c0 EXTERNAL:00000009 -0091e7c0 0090eca0 -0091e7c0 00a583e0 0091e7c0 0091f5d0 -0091e980 00a112c0 -0091e980 00414a80 -0091e980 00a582e0 -0091e980 EXTERNAL:0000022f -0091e980 0091bd10 -0091e980 00aef86f +0091e7c0 00a583e0 +0091e7c0 008ef1d0 +0091e7c0 007dcd30 +0091e7c0 EXTERNAL:00000009 +0091e7c0 00a58040 +0091e7c0 0090eca0 +0091e7c0 00a112c0 +0091e7c0 00a78160 0091e980 0091be00 +0091e980 EXTERNAL:0000022f 0091e980 0091ec60 -0091e980 00731ee0 0091e980 00a58200 -0091ec60 00a55d60 -0091ec60 00a23610 -0091ec60 00a68490 -0091ec60 0069dac0 +0091e980 00a112c0 +0091e980 00a582e0 +0091e980 00aef86f +0091e980 00414a80 +0091e980 00731ee0 +0091e980 0091bd10 0091ec60 0091fb80 +0091ec60 0069dac0 0091ec60 00a23ae0 0091ec60 0091fc30 -0091ec60 0091cec0 +0091ec60 00a68490 +0091ec60 00a55d60 +0091ec60 00a23610 0091ec60 0091d080 -0091ede0 00a55d60 +0091ec60 0091cec0 0091ede0 0069dac0 +0091ede0 00a55d60 0091ee00 00a20fb0 -0091ee90 0040ccd0 -0091ee90 00af05df -0091ee90 00a55d60 -0091ee90 EXTERNAL:00000220 -0091ee90 EXTERNAL:00000178 -0091ee90 00a20390 -0091ee90 00aef15c -0091ee90 00a55e20 -0091ee90 00a2bfe0 -0091ee90 0040cf50 0091ee90 EXTERNAL:00000179 -0091ee90 EXTERNAL:00000121 -0091ee90 0059c4c0 -0091ee90 004997f0 -0091ee90 00a20fb0 0091ee90 0091ee00 -0091ee90 0069dac0 +0091ee90 00aef15c 0091ee90 EXTERNAL:00000123 -0091ee90 0091cf80 +0091ee90 00a2bfe0 0091ee90 00414870 -0091ee90 00a23610 -0091ee90 00a23ae0 0091ee90 EXTERNAL:00000175 -0091ee90 EXTERNAL:0000017a +0091ee90 0069dac0 +0091ee90 EXTERNAL:00000121 +0091ee90 EXTERNAL:00000178 +0091ee90 00a55d60 +0091ee90 00a20390 +0091ee90 EXTERNAL:00000220 +0091ee90 0040ccd0 0091ee90 00aef12b +0091ee90 0040cf50 +0091ee90 004997f0 +0091ee90 0059c4c0 +0091ee90 00a23ae0 +0091ee90 EXTERNAL:0000017a +0091ee90 00af05df +0091ee90 00a55e20 +0091ee90 00a20fb0 +0091ee90 0091cf80 +0091ee90 00a23610 0091f5d0 0040cf50 -0091f5d0 0040ccd0 -0091f5d0 EXTERNAL:00000220 -0091f5d0 00aef15c 0091f5d0 0059c4c0 -0091f5d0 EXTERNAL:00000268 +0091f5d0 EXTERNAL:00000220 0091f5d0 EXTERNAL:00000232 +0091f5d0 0040ccd0 +0091f5d0 00aef15c 0091f5d0 0040cae0 0091f5d0 00aef12b -0091f780 0040ccd0 -0091f780 EXTERNAL:0000023c +0091f5d0 EXTERNAL:00000268 0091f780 EXTERNAL:00000220 -0091f780 00aef15c -0091f780 EXTERNAL:000001f3 -0091f780 0041e420 0091f780 EXTERNAL:000001b6 -0091f780 EXTERNAL:000001bc +0091f780 0040ccd0 +0091f780 00aef15c 0091f780 00a24fd0 -0091f780 008fd7a0 -0091f780 00731790 +0091f780 EXTERNAL:0000023c 0091f780 00aef12b 0091f780 EXTERNAL:00000221 -0091f9a0 00414a80 -0091f9a0 00aef15c -0091f9a0 00731790 +0091f780 008fd7a0 +0091f780 EXTERNAL:000001bc +0091f780 0041e420 +0091f780 00731790 +0091f780 EXTERNAL:000001f3 0091f9a0 00415d20 -0091fb10 00a55d60 +0091f9a0 00aef15c +0091f9a0 00414a80 +0091f9a0 00731790 0091fb10 0069dac0 0091fb10 00aef15c 0091fb10 0091fb10 +0091fb10 00a55d60 0091fb80 00a55e20 -0091fc30 004170d0 -0091fc30 00415fe0 0091fc30 00415f80 0091fc30 0091fb80 0091fc30 00a0f4c0 -0091fe20 00a55d60 +0091fc30 00415fe0 +0091fc30 004170d0 0091fe20 0069dac0 0091fe20 00aef15c +0091fe20 00a55d60 0091fe60 00aef15c -0091fe80 0040ccd0 -0091fe80 00413b90 -0091fe80 004155d0 0091fe80 EXTERNAL:00000220 -0091fe80 00aeff60 +0091fe80 004155d0 +0091fe80 0040ccd0 +0091fe80 0040b220 +0091fe80 00a178d0 0091fe80 00aef15c +0091fe80 00413b90 +0091fe80 00aef12b 0091fe80 0042f2f0 -0091fe80 00413bf0 0091fe80 00414730 -0091fe80 00413c70 +0091fe80 00aeff60 +0091fe80 EXTERNAL:00000262 +0091fe80 00920440 +0091fe80 00413bf0 0091fe80 0040bd50 0091fe80 00a0f4e0 -0091fe80 0040b220 -0091fe80 00421680 -0091fe80 00920440 0091fe80 0040ccc0 -0091fe80 EXTERNAL:00000262 -0091fe80 00a178d0 -0091fe80 00aef12b -00920440 0042c920 +0091fe80 00413c70 +0091fe80 00421680 00920440 006eef60 00920440 00aef12b +00920440 0042c920 00920510 009be080 +00920510 0040e910 +00920510 0040b220 +00920510 00407f10 +00920510 0040aaf0 +00920510 0040a380 +00920510 009561e0 +00920510 0040a5d0 +00920510 0040d040 +00920510 00409030 +00920510 0040add0 00920510 0040a780 00920510 00738470 -00920510 00409030 -00920510 0040aaf0 -00920510 009561e0 -00920510 0040b220 -00920510 0040a5d0 -00920510 00407f10 00920510 0040a1b0 -00920510 0040add0 -00920510 0040d040 -00920510 0040e910 -00920510 0040a380 -00920940 0041d540 +00920940 00684fc0 00920940 0040a030 -00920940 0040a7e0 -00920940 00409120 -00920940 008f90e0 +00920940 0040ace0 00920940 0040b220 +00920940 0040a220 +00920940 0041d540 +00920940 00409120 +00920940 0040a0d0 +00920940 00a10d00 +00920940 00aef12b +00920940 00a140c0 +00920940 00a13750 +00920940 0041d520 +00920940 008f90e0 00920940 0040a5d0 +00920940 0040a7e0 00920940 00408e00 +00920940 0040a690 00920940 00a112c0 00920940 004073d0 -00920940 00a10d00 -00920940 0040a220 -00920940 0040a1b0 -00920940 00a13750 00920940 00706940 -00920940 00684fc0 -00920940 0040a690 -00920940 0040a0d0 -00920940 00a140c0 +00920940 0040a1b0 00920940 00a671b0 00920940 00a18230 -00920940 0041d520 -00920940 0040ace0 -00920940 00aef12b -00921ce0 0040ccd0 -00921ce0 EXTERNAL:00000220 +00921ce0 009be080 +00921ce0 00a0f4c0 +00921ce0 0040b220 00921ce0 00aef15c -00921ce0 0040bd50 -00921ce0 00923550 -00921ce0 007e1d50 -00921ce0 007ec100 +00921ce0 00407f10 +00921ce0 0040c000 +00921ce0 007ec0a0 +00921ce0 009012b0 +00921ce0 0040d040 00921ce0 0040a5d0 +00921ce0 0082c7d0 +00921ce0 007e1d50 +00921ce0 00a112c0 +00921ce0 0040bd50 +00921ce0 004073d0 +00921ce0 004087a0 +00921ce0 0040cf00 +00921ce0 EXTERNAL:00000220 +00921ce0 0082d290 +00921ce0 0040ccd0 +00921ce0 00902950 +00921ce0 009236c0 +00921ce0 EXTERNAL:0000022d +00921ce0 0072fd10 +00921ce0 00aef12b +00921ce0 0040a380 00921ce0 0040bf30 00921ce0 0040cf50 -00921ce0 004073d0 -00921ce0 00407f10 -00921ce0 004288a0 -00921ce0 004074c0 -00921ce0 0072fd10 +00921ce0 007ec100 00921ce0 00694fb0 -00921ce0 EXTERNAL:0000022d -00921ce0 009012b0 00921ce0 00923600 -00921ce0 0060c790 -00921ce0 00902950 -00921ce0 009be080 -00921ce0 00738470 -00921ce0 00a0f4c0 -00921ce0 007ec0a0 -00921ce0 0040b220 00921ce0 00408e00 -00921ce0 00a112c0 -00921ce0 0082d290 -00921ce0 0040cf00 -00921ce0 00416440 -00921ce0 0040c000 -00921ce0 0040a1b0 -00921ce0 009236c0 -00921ce0 0040d040 -00921ce0 0090b070 -00921ce0 0040a380 00921ce0 00af08bd -00921ce0 004087a0 -00921ce0 0082c7d0 -00921ce0 00aef12b -00923450 0042c920 +00921ce0 0060c790 +00921ce0 00923550 +00921ce0 004288a0 +00921ce0 00738470 +00921ce0 0040a1b0 +00921ce0 0090b070 +00921ce0 004074c0 +00921ce0 00416440 00923450 006eef60 -00923550 009236c0 +00923450 0042c920 00923550 00a0f4c0 +00923550 009236c0 00923600 EXTERNAL:00000220 -00923600 00aef15c 00923600 0040d040 -009236c0 0040cad0 -009236c0 0040cf00 -009236c0 0040c740 +00923600 00aef15c 009236c0 00af08bd 009236c0 00af05e5 009236c0 0040cee0 -00923800 00407f10 +009236c0 0040c740 +009236c0 0040cad0 +009236c0 0040cf00 +00923800 00923d90 00923800 0040d040 +00923800 00407f10 00923800 00923880 00923800 004087a0 -00923800 00923d90 -00923880 00407f10 00923880 0040d040 +00923880 00407f10 00923920 0040cf50 00923920 EXTERNAL:00000220 -00923920 00452bf0 -00923920 0040a1b0 +00923920 0040a5d0 00923920 00aef15c -00923920 00923d30 00923920 00409030 00923920 0040cae0 -00923920 0040a5d0 +00923920 00923d30 +00923920 00452bf0 00923920 00aef12b +00923920 0040a1b0 00923c90 0040d040 00923cb0 0040cae0 00923d30 0040d040 00923d90 EXTERNAL:00000220 -00923d90 00aef15c 00923d90 0040d040 -00923e60 0040cad0 -00923e60 0040cf00 -00923e60 0040c740 +00923d90 00aef15c 00923e60 00af08bd 00923e60 00af05e5 00923e60 0040cee0 +00923e60 0040c740 +00923e60 0040cad0 +00923e60 0040cf00 00924000 00a19530 00924180 EXTERNAL:00000220 -00924180 00431200 -00924180 008f5ad0 -00924180 00aef15c -00924180 006841d0 -00924180 00a178d0 -00924180 00a0f4e0 -00924180 00683d00 00924180 00a648b0 +00924180 008f5ad0 +00924180 00a178d0 +00924180 00aef15c +00924180 00431200 +00924180 00683d00 00924180 00aef12b -00924440 0040ccd0 -00924440 00925ce0 +00924180 006841d0 +00924180 00a0f4e0 +00924440 006843a0 00924440 EXTERNAL:00000220 00924440 00a19530 -00924440 00431200 +00924440 0040ccd0 00924440 00aef15c -00924440 006843a0 -00924440 00499580 -00924440 00684130 -00924440 006841d0 -00924440 00924000 -00924440 00a0f4e0 -00924440 00683d00 -00924440 00a648b0 00924440 00a24fd0 -00924440 00a26440 -00924440 0040cf00 -00924440 00a19600 00924440 00925c60 -00924440 00420a80 -00924440 00954760 -00924440 00924d10 -00924440 0092e430 +00924440 00431200 +00924440 00683d00 00924440 00aef12b +00924440 00420a80 +00924440 006841d0 +00924440 00a19600 +00924440 00a648b0 +00924440 00924000 +00924440 0092e430 +00924440 00684130 +00924440 00924d10 +00924440 00499580 +00924440 00a0f4e0 +00924440 00a26440 +00924440 00954760 +00924440 0040cf00 +00924440 00925ce0 00924d10 00a112c0 00924d10 00a25090 00924d10 0041e420 00924d10 00aef12b 00925c60 00a19450 +00925c60 00a196b0 00925c60 00a26440 00925c60 00a19600 -00925c60 00a196b0 -00925ce0 00a112c0 -00925ce0 EXTERNAL:0000021c -00925ce0 00a69f60 -00925ce0 00925f30 -00925ce0 00a1a2e0 00925ce0 00a1a470 -00925e30 00a25090 -00925e30 00a178d0 -00925e30 00a0f4e0 +00925ce0 00925f30 +00925ce0 00a112c0 +00925ce0 00a69f60 +00925ce0 00a1a2e0 +00925ce0 EXTERNAL:0000021c 00925e30 00a648b0 +00925e30 00a178d0 +00925e30 00a25090 +00925e30 00a0f4e0 00925f30 EXTERNAL:0000020e -00925f80 00926020 00925f80 009262b0 +00925f80 00926020 00926020 00a0f4c0 -00926120 0042c8e0 00926120 00aef15c -009261a0 00926020 +00926120 0042c8e0 009261a0 00929010 -00926240 00926120 +009261a0 00926020 00926240 0040d040 -009262b0 0042c8e0 +00926240 00926120 009262b0 00af05e5 -00926460 009262b0 +009262b0 0042c8e0 00926460 EXTERNAL:00000009 00926460 00928ee0 +00926460 009262b0 00926460 009294f0 00926510 EXTERNAL:00000220 -00926510 009262b0 -00926510 00aeff60 +00926510 00929240 00926510 00aef15c +00926510 00aef638 +00926510 00aef12b +00926510 00420a80 +00926510 00aeff60 +00926510 00a163f0 +00926510 0092cbe0 +00926510 00926a50 +00926510 EXTERNAL:00000262 +00926510 009262b0 00926510 0041e420 00926510 00a0f4e0 -00926510 00929240 -00926510 00926120 00926510 00926020 -00926510 0092cbe0 -00926510 EXTERNAL:00000262 -00926510 00420a80 -00926510 00926a50 -00926510 00aef638 -00926510 00a163f0 -00926510 00aef12b +00926510 00926120 00926a50 0040ccd0 00926a50 00a112c0 00926cf0 00a112c0 00926cf0 EXTERNAL:00000263 00926cf0 00a23200 -00926f10 00a112c0 00926f10 00683580 +00926f10 00a112c0 00926f10 00aef12b 009282e0 00683410 -009282e0 00414a80 009282e0 00af05e5 +009282e0 00414a80 00928ee0 00a112c0 +00928ee0 00919440 00928ee0 EXTERNAL:00000263 00928ee0 00a23200 -00928ee0 00919440 00929010 0040ccd0 00929010 0092cb30 00929240 00a0f4e0 -009292c0 00929240 009292c0 EXTERNAL:0000025c -009292c0 0041e420 -009292c0 00420a80 -009292c0 EXTERNAL:00000260 -009292c0 009293d0 009292c0 00a648b0 +009292c0 00929240 +009292c0 0041e420 +009292c0 009293d0 009292c0 00aef12b +009292c0 EXTERNAL:00000260 +009292c0 00420a80 +009293d0 00a52890 +009293d0 EXTERNAL:0000025a 009293d0 00a112c0 009293d0 EXTERNAL:00000263 -009293d0 00a23200 -009293d0 EXTERNAL:0000025a -009293d0 00a52890 009293d0 00a25090 009293d0 009282e0 -009294f0 00a112c0 -009294f0 EXTERNAL:00000263 -009294f0 00a23200 -009294f0 EXTERNAL:0000025a +009293d0 00a23200 009294f0 00a52890 +009294f0 EXTERNAL:0000025a +009294f0 00a112c0 +009294f0 00919440 +009294f0 EXTERNAL:00000263 009294f0 00a25090 009294f0 009282e0 -009294f0 00919440 +009294f0 00a23200 00929660 EXTERNAL:00000009 00929660 00928ee0 00929660 009292c0 @@ -46495,125 +46495,125 @@ 00929790 00aef12b 009299e0 00a112c0 00929a20 0092a350 -00929a20 009595e0 00929a20 009296c0 +00929a20 009595e0 00929a20 00929790 00929a20 009589d0 00929b40 00929a20 00929b40 00aef12b 0092a2d0 0092a350 0092a2d0 00929a20 -0092a350 0072fd10 0092a350 00929a20 +0092a350 0072fd10 0092a520 00a112c0 0092a5e0 00a112c0 0092aaf0 0092ab40 0092aaf0 00695030 -0092ab40 004288a0 0092ab40 0092ca70 +0092ab40 004288a0 0092abd0 00695030 0092abd0 0092ac20 -0092ac20 004288a0 0092ac20 0092ca70 -0092acb0 004288a0 -0092acb0 00929a20 -0092acb0 00695030 +0092ac20 004288a0 0092acb0 0092b100 0092acb0 0092ca70 +0092acb0 00695030 +0092acb0 00929a20 +0092acb0 004288a0 +0092aea0 0092a350 +0092aea0 0092ca70 +0092aea0 009296c0 +0092aea0 00695030 +0092aea0 0092b190 0092aea0 004288a0 0092aea0 00414a80 -0092aea0 0092a350 -0092aea0 009595e0 -0092aea0 0092b190 -0092aea0 00695030 -0092aea0 009296c0 -0092aea0 0092ca70 -0092aea0 00929790 0092aea0 0092aea0 +0092aea0 009595e0 0092aea0 0092acb0 +0092aea0 00929790 0092aea0 009589d0 -0092b070 004288a0 0092b070 00695030 -0092b100 004288a0 +0092b070 004288a0 0092b100 00695030 -0092b190 0092b1e0 +0092b100 004288a0 0092b190 00695030 +0092b190 0092b1e0 0092b1e0 004288a0 0092b230 00a112c0 0092b270 00929a20 0092b2e0 0040ccd0 0092b2e0 00a112c0 -0092b2e0 0040cf00 -0092b2e0 00499580 0092b2e0 009e3dc0 +0092b2e0 00499580 +0092b2e0 0040cf00 +0092b930 00929b40 0092b930 EXTERNAL:00000220 -0092b930 009262b0 +0092b930 EXTERNAL:00000009 0092b930 00aef15c +0092b930 00aef12b +0092b930 009292c0 +0092b930 0041d670 +0092b930 0041ddb0 0092b930 0041d560 0092b930 009296c0 -0092b930 009294f0 -0092b930 0041d670 -0092b930 EXTERNAL:00000009 -0092b930 0041ddb0 -0092b930 00929b40 0092b930 00928ee0 -0092b930 009292c0 -0092b930 00aef12b +0092b930 009262b0 +0092b930 009294f0 0092bd20 0040cf50 -0092bd20 00a112c0 -0092bd20 00683820 0092bd20 EXTERNAL:00000220 +0092bd20 00a0f4c0 0092bd20 0092b930 0092bd20 00aef15c -0092bd20 00836980 -0092bd20 00499580 -0092bd20 00a25440 -0092bd20 00a0f4c0 +0092bd20 00a112c0 0092bd20 006839b0 0092bd20 00aef12b +0092bd20 00499580 +0092bd20 00683820 +0092bd20 00836980 +0092bd20 00a25440 0092bf00 0040cf50 -0092bf00 00a112c0 -0092bf00 00683820 -0092bf00 00926f10 0092bf00 EXTERNAL:00000220 -0092bf00 00aef15c -0092bf00 00836980 -0092bf00 00499580 -0092bf00 00a25440 0092bf00 00a0f4c0 +0092bf00 00aef15c +0092bf00 00a112c0 0092bf00 006839b0 0092bf00 00aef12b +0092bf00 00499580 +0092bf00 00683820 +0092bf00 00836980 +0092bf00 00a25440 +0092bf00 00926f10 0092c0e0 0040cf50 -0092c0e0 00a112c0 -0092c0e0 00683820 -0092c0e0 00926f10 0092c0e0 EXTERNAL:00000220 -0092c0e0 00aef15c -0092c0e0 00836980 -0092c0e0 00499580 -0092c0e0 00a25440 0092c0e0 00a0f4c0 +0092c0e0 00aef15c +0092c0e0 00a112c0 0092c0e0 006839b0 0092c0e0 00aef12b -0092c2c0 0040ccd0 -0092c2c0 00a24fd0 -0092c2c0 00a112c0 -0092c2c0 0040cf00 +0092c0e0 00499580 +0092c0e0 00683820 +0092c0e0 00836980 +0092c0e0 00a25440 +0092c0e0 00926f10 0092c2c0 00a52890 +0092c2c0 0040ccd0 0092c2c0 0092b930 0092c2c0 00aef15c -0092c2c0 00499580 +0092c2c0 00a24fd0 +0092c2c0 00a112c0 0092c2c0 00aef12b +0092c2c0 00499580 +0092c2c0 0040cf00 +0092ca70 00a0f4c0 +0092ca70 00415bd0 0092ca70 004288a0 0092ca70 004170d0 -0092ca70 00415bd0 -0092ca70 00a0f4c0 -0092cb30 0042c8e0 0092cb30 0082e720 +0092cb30 0042c8e0 +0092cbe0 00af08bd 0092cbe0 008fd290 0092cbe0 008fd030 0092cbe0 0092cbe0 -0092cbe0 00af08bd 0092ce30 00a2a990 0092cea0 00aef5c4 0092cf10 0040d040 @@ -46621,152 +46621,152 @@ 0092cf40 00a112c0 0092cfb0 EXTERNAL:00000220 0092cfb0 00499950 -0092cfb0 00a2b1e0 0092cfb0 008f5ad0 -0092cfb0 00a2add0 0092cfb0 00aef15c -0092cfb0 00aef12b 0092cfb0 00423480 -0092d140 0092edc0 -0092d140 0040ccd0 -0092d140 EXTERNAL:00000220 -0092d140 00aeff60 -0092d140 00aef15c +0092cfb0 00a2b1e0 +0092cfb0 00a2add0 +0092cfb0 00aef12b 0092d140 0092e830 +0092d140 00aef15c +0092d140 00413b90 +0092d140 00aeff60 +0092d140 EXTERNAL:00000262 0092d140 00413bf0 -0092d140 0092ea80 +0092d140 EXTERNAL:0000023f +0092d140 0040d040 +0092d140 0092ee40 +0092d140 00a112c0 0092d140 00a0f4e0 0092d140 0040ccc0 -0092d140 0092ee40 -0092d140 00a2ac90 -0092d140 EXTERNAL:00000262 -0092d140 00a178d0 -0092d140 00413b90 +0092d140 EXTERNAL:00000220 0092d140 004155d0 -0092d140 EXTERNAL:0000023f -0092d140 0092cfb0 -0092d140 00414730 -0092d140 00413c70 -0092d140 00aef5c4 -0092d140 00421680 -0092d140 00a112c0 -0092d140 0040d040 0092d140 0092e900 +0092d140 0040ccd0 +0092d140 00a178d0 0092d140 00aef638 0092d140 00aef12b +0092d140 00414730 +0092d140 00aef5c4 +0092d140 0092ea80 +0092d140 00a2ac90 +0092d140 0092edc0 +0092d140 0092cfb0 +0092d140 00413c70 +0092d140 00421680 0092dbd0 0040d040 0092dbd0 00aef638 -0092dc30 00a112c0 -0092dc30 00a2ac20 -0092dc30 00aef29d -0092dc30 0092cfb0 +0092dc30 00aef253 0092dc30 00a2b1e0 +0092dc30 007e2740 +0092dc30 00a2ac20 +0092dc30 00a112c0 +0092dc30 00a2abd0 0092dc30 00aef5af 0092dc30 00a2add0 -0092dc30 00a2abd0 -0092dc30 007e2740 -0092dc30 00aef253 +0092dc30 00aef29d +0092dc30 0092cfb0 0092df00 0092dc30 0092df40 00a112c0 0092e050 00a112c0 0092e120 00a112c0 0092e230 00a112c0 -0092e620 0092df40 -0092e620 0092e560 -0092e620 0092e230 -0092e620 0092dc30 0092e620 0092e050 0092e620 00956780 +0092e620 0092e230 +0092e620 0092dc30 +0092e620 0092e560 +0092e620 0092df40 0092e6e0 00a112c0 0092e6e0 0092e560 0092e750 EXTERNAL:00000220 -0092e750 00aef15c 0092e750 0092ea80 +0092e750 00aef15c 0092e7d0 0092ea80 0092e7f0 EXTERNAL:00000220 0092e7f0 00aef15c 0092e830 00aef956 -0092e900 0040cf00 -0092e900 0092ed30 -0092e900 0092ec30 0092e900 0092e830 -0092e900 0092eba0 +0092e900 0092ec30 0092e900 0040cee0 +0092e900 0092ed30 +0092e900 0092eba0 +0092e900 0040cf00 0092e900 00415bc0 +0092ea4e 0092e7f0 0092ea4e 0092e7d0 0092ea4e 00af05eb -0092ea4e 0092e7f0 0092ea80 0040d040 0092ea80 00aef638 0092eb00 00a2aa60 0092eba0 EXTERNAL:00000220 -0092eba0 00aef15c 0092eba0 0092ea80 +0092eba0 00aef15c 0092ec30 0040cf50 -0092ec30 00aef956 0092ec30 0092ea80 +0092ec30 00aef956 0092ed30 0092e830 0092ed30 0092ea80 -0092edc0 0092cea0 0092edc0 0092ea80 -0092ee40 0092edc0 -0092ee40 0040cf00 +0092edc0 0092cea0 0092ee40 0092ec30 -0092ee40 0092eba0 0092ee40 0040cee0 +0092ee40 0092edc0 +0092ee40 0092eba0 +0092ee40 0040cf00 +0092ef49 0092e7f0 0092ef49 0092e7d0 0092ef49 00af05eb -0092ef49 0092e7f0 0092ef80 0092ea80 0092ef90 0040cf50 0092ef90 00a2aa60 0092f050 00782630 -0092f1c0 0041d540 -0092f1c0 EXTERNAL:00000220 -0092f1c0 00428b20 -0092f1c0 00aef15c -0092f1c0 00740bc0 -0092f1c0 00709df0 -0092f1c0 009eb980 -0092f1c0 009bc000 -0092f1c0 0073f940 -0092f1c0 0092f050 -0092f1c0 0040a5d0 -0092f1c0 0040add0 -0092f1c0 00452bf0 -0092f1c0 00929a20 -0092f1c0 007abe20 -0092f1c0 00665c60 -0092f1c0 008318a0 -0092f1c0 00802980 -0092f1c0 007467c0 -0092f1c0 00409100 -0092f1c0 006f8120 -0092f1c0 00744940 -0092f1c0 00af0917 -0092f1c0 007eb1b0 -0092f1c0 006f9770 -0092f1c0 007466d0 0092f1c0 00956780 +0092f1c0 008318a0 +0092f1c0 00aef15c +0092f1c0 00709df0 +0092f1c0 00452bf0 0092f1c0 007ab380 -0092f1c0 00a112c0 -0092f1c0 0040a1b0 -0092f1c0 0092dc30 -0092f1c0 00958ed0 +0092f1c0 007abe20 +0092f1c0 006f9770 +0092f1c0 006f9d20 +0092f1c0 006f8120 +0092f1c0 00af0917 0092f1c0 0082ee40 0092f1c0 00746560 -0092f1c0 006eef60 -0092f1c0 004186c0 -0092f1c0 0074f090 -0092f1c0 006f9d20 -0092f1c0 0041d520 -0092f1c0 0092e300 -0092f1c0 0090df40 +0092f1c0 00409100 +0092f1c0 0040a5d0 +0092f1c0 009eb980 0092f1c0 009aca90 -0092f1c0 00aef12b 0092f1c0 007ea5d0 -0092ffc0 00a10d00 +0092f1c0 0040add0 +0092f1c0 00a112c0 +0092f1c0 0092dc30 +0092f1c0 0073f940 +0092f1c0 0092e300 +0092f1c0 007eb1b0 +0092f1c0 EXTERNAL:00000220 +0092f1c0 006eef60 +0092f1c0 0041d540 +0092f1c0 00929a20 +0092f1c0 00802980 +0092f1c0 0090df40 +0092f1c0 00aef12b +0092f1c0 007467c0 +0092f1c0 00740bc0 +0092f1c0 0041d520 +0092f1c0 00665c60 +0092f1c0 004186c0 +0092f1c0 00744940 +0092f1c0 009bc000 +0092f1c0 0074f090 +0092f1c0 00958ed0 +0092f1c0 0040a1b0 +0092f1c0 007466d0 +0092f1c0 00428b20 +0092f1c0 0092f050 0092ffc0 00a1dfd0 +0092ffc0 00a10d00 009301d0 004360f0 00930220 004b39b0 00930220 0075d1d0 @@ -46774,346 +46774,346 @@ 009302e0 00930220 00930330 00930220 00930390 00930220 +009303f0 007ea1a0 009303f0 00af08bd 009303f0 00793970 -009303f0 007ea1a0 -009304a0 0072fd10 009304a0 009303f0 +009304a0 0072fd10 009304f0 009303f0 00930550 009303f0 +009306c0 007ea1a0 009306c0 00af08bd 009306c0 00793970 -009306c0 007ea1a0 -00930820 0092dc30 -00930820 00af08bd -00930820 00793970 00930820 00956780 00930820 007ea1a0 +00930820 00af08bd +00930820 0092dc30 +00930820 00793970 00930a70 00930980 00930b20 00a112c0 00930ec0 00a112c0 -00930ee0 00a112c0 00930ee0 009be080 +00930ee0 00a112c0 00930ee0 006edfa0 -00931050 00a112c0 -00931050 00a1d610 00931050 EXTERNAL:0000025c 00931050 004307c0 -00931050 0041e420 -00931050 00a5f3a0 00931050 EXTERNAL:000001a9 -00931050 009a9510 00931050 00a5f0e0 -009314c0 00407f10 -009314c0 0040d040 +00931050 00a112c0 +00931050 0041e420 +00931050 009a9510 +00931050 00a1d610 +00931050 00a5f3a0 009314c0 00557a60 -009314c0 004087a0 +009314c0 0040d040 +009314c0 00407f10 009314c0 00aef638 +009314c0 004087a0 00931550 EXTERNAL:00000220 -00931550 0040cf00 00931550 00aef15c 00931550 0040bd50 00931550 00aef12b -00931670 0040ccd0 -00931670 00413b90 -00931670 004155d0 +00931550 0040cf00 00931670 EXTERNAL:00000220 -00931670 EXTERNAL:0000023f -00931670 00aeff60 -00931670 00aef15c -00931670 00413bf0 -00931670 00414730 -00931670 00413c70 -00931670 00a0f4e0 -00931670 00421680 -00931670 0040ccc0 -00931670 EXTERNAL:00000262 +00931670 004155d0 +00931670 0040ccd0 00931670 00a178d0 +00931670 00aef15c +00931670 00413b90 00931670 00aef12b +00931670 00414730 +00931670 00aeff60 +00931670 EXTERNAL:00000262 +00931670 00413bf0 +00931670 EXTERNAL:0000023f +00931670 00a0f4e0 +00931670 0040ccc0 +00931670 00413c70 +00931670 00421680 +00931ba0 00956780 +00931ba0 0040b220 +00931ba0 00956110 +00931ba0 00409030 00931ba0 00a112c0 00931ba0 0040c000 00931ba0 0092dc30 00931ba0 0040a380 -00931ba0 00409030 -00931ba0 00956780 -00931ba0 00956110 -00931ba0 0040b220 00931ba0 0040bf30 -00932120 00a10d00 00932120 00a0f550 -009321c0 004074c0 -009321c0 0040c4a0 -009321c0 00a0f550 -009321c0 00a11f30 -009321c0 007090c0 +00932120 00a10d00 009321c0 00aef5c4 +009321c0 00a0f550 +009321c0 007090c0 +009321c0 0040c4a0 +009321c0 00a11f30 009321c0 00708c90 +009321c0 004074c0 009324f0 0040d040 +00932570 0040d040 00932570 00407f10 00932570 0040c7f0 -00932570 00709150 -00932570 0040d040 -00932570 004087a0 00932570 00aef638 -00932810 0040ccd0 -00932810 EXTERNAL:00000220 -00932810 00aeff60 +00932570 00709150 +00932570 004087a0 00932810 00aef15c -00932810 00413bf0 -00932810 00a0f4e0 -00932810 009324f0 -00932810 00a648b0 -00932810 00931de0 -00932810 0040cf50 -00932810 0040ccc0 -00932810 00a178d0 -00932810 00934430 00932810 00413b90 -00932810 004155d0 +00932810 00aeff60 +00932810 00421620 +00932810 00413bf0 +00932810 009324f0 00932810 EXTERNAL:0000023f +00932810 0040d040 +00932810 00a648b0 +00932810 00a112c0 +00932810 0067f600 +00932810 00934430 +00932810 00a0f4e0 +00932810 0040ccc0 +00932810 004215a0 +00932810 EXTERNAL:00000220 +00932810 004155d0 +00932810 0040ccd0 +00932810 00a178d0 +00932810 00aef12b +00932810 0040c340 00932810 00414730 +00932810 0040cf50 +00932810 00931de0 00932810 00413c70 00932810 00421680 -00932810 00a112c0 -00932810 0040d040 -00932810 004215a0 -00932810 00421620 -00932810 0040c340 -00932810 0067f600 -00932810 00aef12b 00934430 0040ccd0 00934600 0040cf50 00934770 00af08b1 00934770 EXTERNAL:00000220 00934770 0040a030 -00934770 0040ac70 00934770 00aef15c -00934770 00a20390 -00934770 0040a5d0 -00934770 00408e00 00934770 004253d0 -00934770 00a112c0 -00934770 00694de0 -00934770 0090b070 00934770 00935010 00934770 00aef12b -00935010 00a112c0 -00935010 00a20390 -00935010 0042c920 -00935010 0095aba0 +00934770 0040a5d0 +00934770 00694de0 +00934770 00408e00 +00934770 00a112c0 +00934770 0040ac70 +00934770 00a20390 +00934770 0090b070 00935010 00408e00 +00935010 0095aba0 +00935010 00a112c0 +00935010 0042c920 +00935010 00a20390 00935270 007e9020 00935270 00aef12b -009353b0 0040c550 -009353b0 0040c7f0 -009353b0 0040a140 -009353b0 00935270 -009353b0 0040c4a0 -009353b0 00a19180 -009353b0 009588a0 -009353b0 009356a0 -009353b0 00a18300 -009353b0 00a18230 -009353b0 0040c3b0 009353b0 0041c770 -009356a0 00942710 +009353b0 00a18300 +009353b0 0040a140 +009353b0 0040c7f0 +009353b0 0040c4a0 +009353b0 009356a0 +009353b0 00935270 +009353b0 0040c3b0 +009353b0 0040c550 +009353b0 009588a0 +009353b0 00a18230 +009353b0 00a19180 009356a0 EXTERNAL:00000220 -009356a0 00931fc0 -009356a0 00a11210 -009356a0 00aef15c -009356a0 00931f50 -009356a0 00a112c0 -009356a0 00a10d00 -009356a0 00a0f550 -009356a0 00932020 -009356a0 0041fba0 -009356a0 00932090 -009356a0 00a19180 -009356a0 00934770 -009356a0 007e9020 -009356a0 00a18300 -009356a0 00a18230 -009356a0 00aef12b 009356a0 00932120 +009356a0 00aef15c +009356a0 00a10d00 +009356a0 00aef12b +009356a0 00931fc0 +009356a0 00931f50 +009356a0 00a19180 +009356a0 00a18300 +009356a0 00932090 +009356a0 00a0f550 +009356a0 0041fba0 +009356a0 007e9020 +009356a0 00a112c0 +009356a0 00932020 +009356a0 00934770 +009356a0 00a11210 +009356a0 00942710 +009356a0 00a18230 00937420 00af08b1 -00937420 0042a270 -00937420 00428b20 -00937420 00435a50 -00937420 00934600 -00937420 00a10c00 -00937420 009324f0 -00937420 00827bc0 -00937420 00a112c0 -00937420 00a19180 00937420 006eef60 -00937420 007e9020 -00937420 0074f090 -00937420 00a18300 -00937420 00a18230 -00937420 00812d00 +00937420 00a10c00 00937420 00aef12b 00937420 006f8120 +00937420 00812d00 +00937420 00a19180 +00937420 00435a50 +00937420 009324f0 +00937420 00a18300 +00937420 007e9020 +00937420 00a112c0 +00937420 0074f090 +00937420 00827bc0 +00937420 0042a270 +00937420 00934600 +00937420 00a18230 +00937420 00428b20 0093b530 0093b480 -0093b620 0040ac70 0093b620 006eef60 +0093b620 0040ac70 0093b620 006fe410 -0093b760 0040ccd0 -0093b760 0041d540 -0093b760 EXTERNAL:00000220 -0093b760 00428b20 -0093b760 0093b530 -0093b760 00aef15c -0093b760 0040bd50 -0093b760 0040a5d0 -0093b760 004073d0 -0093b760 00aef29d -0093b760 0040a690 +0093b760 007e9080 0093b760 0093b580 -0093b760 0070c570 -0093b760 007e90f0 -0093b760 004238f0 -0093b760 00456620 0093b760 0040b220 -0093b760 0093b480 -0093b760 00a112c0 -0093b760 0040cf00 -0093b760 0093b620 -0093b760 0040a1b0 +0093b760 00aef15c +0093b760 00aef29d +0093b760 0070c570 +0093b760 0040a5d0 0093b760 0040d040 +0093b760 0040a690 +0093b760 00a112c0 +0093b760 0040bd50 +0093b760 004073d0 +0093b760 0040cf00 +0093b760 EXTERNAL:00000220 +0093b760 00aef253 +0093b760 0040ccd0 +0093b760 0093b620 +0093b760 006eef60 +0093b760 0041d540 +0093b760 0093b530 +0093b760 00aef12b 0093b760 0040c340 0093b760 0040a380 -0093b760 006eef60 -0093b760 007e9020 -0093b760 00aef253 -0093b760 007e9080 0093b760 0041d520 -0093b760 00aef12b -0093d510 00a112c0 +0093b760 0093b480 +0093b760 007e9020 +0093b760 0040a1b0 +0093b760 007e90f0 +0093b760 004238f0 +0093b760 00428b20 +0093b760 00456620 0093d510 0040a030 -0093d510 0040a7e0 0093d510 EXTERNAL:0000023f -0093d510 006eef60 -0093d510 006fe410 -0093d510 007e9020 0093d510 0040b220 +0093d510 0040a7e0 0093d510 0093b480 +0093d510 006eef60 +0093d510 007e9020 +0093d510 00a112c0 +0093d510 006fe410 0093d960 0093da00 -0093da00 0042a270 -0093da00 0040ccd0 -0093da00 EXTERNAL:00000220 -0093da00 0040c7f0 -0093da00 00aef15c -0093da00 0040bd50 -0093da00 0040a5d0 -0093da00 0040cf50 -0093da00 00407f10 -0093da00 009353b0 -0093da00 00a19180 -0093da00 009588a0 0093da00 006836c0 -0093da00 0040c3b0 -0093da00 0040a360 -0093da00 006856c0 -0093da00 00684f30 -0093da00 00a123f0 0093da00 0040b220 -0093da00 00408e00 -0093da00 0040cf00 -0093da00 0040a1b0 -0093da00 0040d040 -0093da00 0040c340 0093da00 00937420 +0093da00 00407f10 +0093da00 00aef15c +0093da00 00684f30 0093da00 0040a0d0 -0093da00 00a18300 -0093da00 00a18230 +0093da00 009353b0 +0093da00 0040c3b0 +0093da00 0040a5d0 +0093da00 0040d040 0093da00 0040a6e0 +0093da00 0040bd50 +0093da00 0042a270 +0093da00 0040cf00 +0093da00 00a18230 +0093da00 EXTERNAL:00000220 +0093da00 0040ccd0 0093da00 00aef12b +0093da00 006856c0 +0093da00 0040c340 +0093da00 009588a0 +0093da00 0040a360 +0093da00 00a19180 +0093da00 0040cf50 0093da00 0040c440 -0093e770 00a10d00 +0093da00 00a18300 +0093da00 00408e00 +0093da00 0040c7f0 +0093da00 00a123f0 +0093da00 0040a1b0 0093e770 00a1dfd0 +0093e770 00a10d00 0093e770 00a10e70 0093ea00 00683060 0093ea00 0040a030 -0093ea00 0040c550 -0093ea00 00407170 0093ea00 00a0f550 0093ea00 0040a0d0 -0093ea00 00a14050 -0093ea00 00a10e70 -0093ea00 00a11160 0093ea00 00aef12b +0093ea00 00407170 +0093ea00 00a11160 +0093ea00 00a10e70 +0093ea00 0040c550 +0093ea00 00a14050 0093f000 00683060 -0093f000 0040c550 0093f000 00a0f550 -0093f000 00a14050 0093f000 00a10e70 -0093f1d0 0042a270 +0093f000 0040c550 +0093f000 00a14050 0093f1d0 00683060 -0093f1d0 00940d30 -0093f1d0 0040c550 -0093f1d0 00a0f550 -0093f1d0 0040a0d0 -0093f1d0 00a14050 -0093f1d0 00a13510 -0093f1d0 00409120 -0093f1d0 00a10e70 -0093f1d0 0093e770 0093f1d0 00682260 -00940d30 00a10d00 +0093f1d0 0093e770 +0093f1d0 00a0f550 +0093f1d0 00a13510 +0093f1d0 0040a0d0 +0093f1d0 00409120 +0093f1d0 00940d30 +0093f1d0 0042a270 +0093f1d0 00a10e70 +0093f1d0 0040c550 +0093f1d0 00a14050 00940d30 00a106e0 00940d30 00a0f550 +00940d30 00a10d00 00940d30 009426b0 00942710 0041fe80 -00942710 0040cf00 -00942710 004200a0 -00942710 0041ff50 00942710 0041ff00 00942710 0040cee0 +00942710 0041ff50 +00942710 004200a0 +00942710 0040cf00 00942710 00415bc0 -009428d0 00a112c0 -009428d0 00812f50 -009428d0 00943490 -009428d0 00945080 009428d0 00943610 +009428d0 00945080 +009428d0 00812f50 +009428d0 00a112c0 009428d0 0074a090 -00942f20 006ac560 +009428d0 00943490 00942f20 00435a50 +00942f20 006ac560 00942f20 009beba0 00943190 00a112c0 00943490 009432f0 -00943610 00a112c0 00943610 009432f0 -009437e0 009439d0 +00943610 00a112c0 009437e0 009446e0 +009437e0 009439d0 00943830 009beba0 009439d0 00af08b1 -009439d0 00af05df +009439d0 006eef60 009439d0 0041d540 009439d0 009b9380 -009439d0 00435a50 -009439d0 007706e0 -009439d0 00943610 -009439d0 00a0f4e0 -009439d0 00a648b0 -009439d0 00a112c0 -009439d0 00942f20 -009439d0 00945130 -009439d0 0041af60 -009439d0 00943490 -009439d0 00779320 -009439d0 EXTERNAL:00000262 -009439d0 006eef60 009439d0 009beba0 -009439d0 00943190 +009439d0 0041af60 +009439d0 00942f20 009439d0 0041d520 -009446e0 00a112c0 +009439d0 00943490 +009439d0 EXTERNAL:00000262 +009439d0 00435a50 +009439d0 00943610 +009439d0 00a648b0 +009439d0 00af05df +009439d0 00779320 +009439d0 00945130 +009439d0 00a112c0 +009439d0 00a0f4e0 +009439d0 00943190 +009439d0 007706e0 +009446e0 006eef60 009446e0 0041d540 009446e0 00945130 -009446e0 00943490 -009446e0 006eef60 +009446e0 00a112c0 009446e0 009beba0 -009446e0 00943190 009446e0 0041d520 +009446e0 00943190 +009446e0 00943490 00944a40 00a112c0 00944d10 00945130 00944d40 00a112c0 @@ -47126,806 +47126,806 @@ 009452e0 00435a50 00945470 00435a50 00945470 00af090b -00945db0 00407f10 00945db0 0040d040 +00945db0 00407f10 00945db0 004087a0 -00945e50 EXTERNAL:00000220 00945e50 0098ae20 -00945e50 00aef15c -00945e50 00409030 -00945e50 00989750 -00945e50 0098aec0 -00945e50 0040cf50 -00945e50 0098aef0 -00945e50 009eb7f0 -00945e50 00a0f550 +00945e50 EXTERNAL:00000220 00945e50 00929aa0 +00945e50 00aef15c 00945e50 00958aa0 -00945e50 009e9320 -00945e50 00a20fb0 00945e50 00aef12b -009462c0 00a112c0 +00945e50 009e9320 +00945e50 0040cf50 +00945e50 0098aec0 +00945e50 00a0f550 +00945e50 00409030 +00945e50 009eb7f0 +00945e50 00a20fb0 +00945e50 0098aef0 +00945e50 00989750 009462c0 0040a030 +009462c0 0040ace0 +009462c0 0040b220 009462c0 0040b430 +009462c0 0095af30 +009462c0 00a112c0 009462c0 00409120 009462c0 00408b90 -009462c0 0040b220 -009462c0 0095af30 -009462c0 0040ace0 -00946b80 0040a1b0 00946b80 0040a5d0 +00946b80 0040a1b0 00946cd0 00929aa0 00946d50 00946d50 00946e70 004074c0 -00947070 00407f10 -00947070 004149d0 -00947070 00426980 00947070 0040d040 +00947070 00407f10 +00947070 00426980 +00947070 004149d0 00947070 004087a0 -00948200 0040ccd0 00948200 EXTERNAL:00000220 +00948200 0040b220 +00948200 0040ccd0 00948200 00aef15c 00948200 0094d500 -00948200 0040bd50 -00948200 0040b220 00948200 00408640 -00948200 0040a5d0 -00948200 0040cf50 -00948200 0040cf00 +00948200 00aef12b 00948200 0040c550 -00948200 0040a1b0 00948200 00408d00 00948200 0040a380 +00948200 0040cf50 +00948200 0040a5d0 +00948200 0040bd50 +00948200 0040a1b0 00948200 0040e740 -00948200 00aef12b -00948fc0 0040ccd0 -00948fc0 0094e3d0 -00948fc0 0094e3b0 +00948200 0040cf00 00948fc0 EXTERNAL:00000220 -00948fc0 009495f0 -00948fc0 007de420 -00948fc0 0094e210 +00948fc0 0040ccd0 00948fc0 00aef15c -00948fc0 00435a50 -00948fc0 009eb880 -00948fc0 0094e720 -00948fc0 0094e670 -00948fc0 0040a5d0 -00948fc0 0040cf50 +00948fc0 0094e3d0 +00948fc0 0094e210 00948fc0 00946cd0 -00948fc0 0040a1b0 -00948fc0 00408d00 -00948fc0 009eb6b0 00948fc0 00aef12b -009495f0 0040ccd0 +00948fc0 009eb6b0 +00948fc0 009eb880 +00948fc0 00408d00 +00948fc0 007de420 +00948fc0 0094e720 +00948fc0 0040cf50 +00948fc0 00435a50 +00948fc0 0040a5d0 +00948fc0 009495f0 +00948fc0 0094e670 +00948fc0 0040a1b0 +00948fc0 0094e3b0 009495f0 EXTERNAL:00000220 -009495f0 00aef15c -009495f0 EXTERNAL:00000174 -009495f0 00a69f60 -009495f0 0094d500 -009495f0 0040bd50 -009495f0 EXTERNAL:00000173 +009495f0 0040ccd0 009495f0 0040b220 -009495f0 0040a5d0 -009495f0 007e2280 +009495f0 00aef15c +009495f0 0094d500 009495f0 0098afa0 -009495f0 0040a1b0 -009495f0 0040a380 +009495f0 00aef12b 009495f0 EXTERNAL:00000172 009495f0 EXTERNAL:0000011a -009495f0 00aef12b +009495f0 0040a380 +009495f0 EXTERNAL:00000173 +009495f0 EXTERNAL:00000174 +009495f0 0040a5d0 +009495f0 0040bd50 +009495f0 00a69f60 +009495f0 0040a1b0 +009495f0 007e2280 00949b70 00946cd0 -00949c20 EXTERNAL:00000220 -00949c20 009495f0 -00949c20 00aef15c -00949c20 0094e170 -00949c20 00409030 -00949c20 0094d500 00949c20 00956780 -00949c20 0094c580 -00949c20 0040cae0 -00949c20 0040a5d0 -00949c20 009294f0 -00949c20 0040add0 -00949c20 00452bf0 -00949c20 0040a1b0 -00949c20 0092dc30 -00949c20 EXTERNAL:00000009 -00949c20 0040a380 00949c20 00929b40 -00949c20 00928ee0 +00949c20 EXTERNAL:00000220 +00949c20 EXTERNAL:00000009 +00949c20 00aef15c 00949c20 00958aa0 -00949c20 009e9320 -00949c20 009292c0 +00949c20 00452bf0 +00949c20 0094d500 00949c20 00aef12b -0094a500 0040ccd0 -0094a500 00af05df -0094a500 EXTERNAL:00000220 -0094a500 0040a140 -0094a500 0040ac70 -0094a500 00aef15c -0094a500 00409120 -0094a500 009e9ab0 -0094a500 00a1b8e0 -0094a500 0040cf50 +00949c20 009292c0 +00949c20 009e9320 +00949c20 0040a380 +00949c20 0094c580 +00949c20 0040a5d0 +00949c20 00928ee0 +00949c20 009495f0 +00949c20 00409030 +00949c20 0040cae0 +00949c20 0040add0 +00949c20 0094e170 +00949c20 0092dc30 +00949c20 0040a1b0 +00949c20 009294f0 0094a500 004252f0 -0094a500 00a1a540 -0094a500 00a1af90 0094a500 0040a030 -0094a500 009e9b50 +0094a500 0040ace0 0094a500 0095adf0 0094a500 0040b220 -0094a500 00a112c0 -0094a500 0094bbd0 -0094a500 0094bee0 -0094a500 00a0f550 -0094a500 0040a0d0 -0094a500 00420a80 -0094a500 EXTERNAL:0000023a 0094a500 0095af30 -0094a500 0040ace0 +0094a500 00aef15c +0094a500 0094bbd0 +0094a500 0040a0d0 +0094a500 009e9ab0 +0094a500 00a112c0 +0094a500 EXTERNAL:00000220 +0094a500 0040a140 +0094a500 00a1b8e0 +0094a500 0040ccd0 +0094a500 0094bee0 +0094a500 EXTERNAL:0000023a +0094a500 00409120 0094a500 00aef12b -0094bbd0 00a1b8e0 +0094a500 00420a80 +0094a500 009e9b50 +0094a500 00a1af90 +0094a500 0040cf50 +0094a500 00af05df +0094a500 00a0f550 +0094a500 00a1a540 +0094a500 0040ac70 0094bbd0 00a1af90 0094bbd0 0040a030 -0094bbd0 009586f0 -0094bbd0 0094bee0 +0094bbd0 00a1b8e0 0094bbd0 00a0f550 +0094bbd0 0094bee0 0094bbd0 0040a0d0 -0094bbd0 008f8d00 -0094bbd0 00420a80 0094bbd0 00aef12b +0094bbd0 00420a80 +0094bbd0 008f8d00 +0094bbd0 009586f0 +0094bee0 00aef253 0094bee0 0040a030 -0094bee0 0094e520 0094bee0 008f8860 -0094bee0 0040a5d0 -0094bee0 00408e00 -0094bee0 00aef29d -0094bee0 0094e550 0094bee0 00aef5af 0094bee0 00946cd0 -0094bee0 0040a1b0 -0094bee0 00946d50 -0094bee0 00aef253 0094bee0 00aef12b +0094bee0 00aef29d +0094bee0 0094e550 +0094bee0 0094e520 +0094bee0 0040a5d0 +0094bee0 00408e00 +0094bee0 00946d50 +0094bee0 0040a1b0 0094c4e0 0059c4c0 -0094c580 EXTERNAL:00000220 -0094c580 0098ae20 -0094c580 0094e210 -0094c580 0094d040 -0094c580 00aef15c -0094c580 00a69f60 -0094c580 00929660 -0094c580 00989750 -0094c580 00954b40 0094c580 00956780 +0094c580 0098ae20 +0094c580 EXTERNAL:00000220 +0094c580 00aef15c +0094c580 0094e210 +0094c580 00929660 +0094c580 00946cd0 +0094c580 00aef12b +0094c580 00954b40 +0094c580 0040a380 +0094c580 009e9ab0 +0094c580 00684ee0 +0094c580 0040cf50 0094c580 0098aec0 0094c580 0094de50 -0094c580 009e9ab0 -0094c580 0040cf50 -0094c580 00684ee0 -0094c580 00946cd0 -0094c580 0092dc30 0094c580 00a0f550 0094c580 009eb7f0 -0094c580 0040a380 -0094c580 0094c4e0 0094c580 00a20fb0 +0094c580 0094c4e0 +0094c580 0094d040 +0094c580 00a69f60 +0094c580 0092dc30 0094c580 0040c2f0 -0094c580 00aef12b -0094d040 0040ccd0 -0094d040 008f19f0 -0094d040 EXTERNAL:00000220 -0094d040 00aef15c +0094c580 00989750 0094d040 00956780 -0094d040 009e9db0 +0094d040 EXTERNAL:00000220 +0094d040 0040ccd0 +0094d040 00aef15c 0094d040 006ef8f0 -0094d040 009294f0 -0094d040 0040cf50 -0094d040 00a112c0 -0094d040 0092dc30 -0094d040 0040d040 -0094d040 009eb7f0 -0094d040 008f0040 -0094d040 009e9d50 +0094d040 008f19f0 0094d040 00aef12b 0094d040 009eb6b0 +0094d040 009e9db0 +0094d040 0040cf50 +0094d040 0040d040 +0094d040 009eb7f0 +0094d040 009e9d50 +0094d040 00a112c0 +0094d040 008f0040 +0094d040 0092dc30 +0094d040 009294f0 0094d040 00a26af0 -0094d500 00a112c0 -0094d500 0041d540 -0094d500 00946cd0 -0094d500 0040a1b0 -0094d500 0092dc30 -0094d500 00425130 -0094d500 00989750 0094d500 00956780 -0094d500 00408b90 0094d500 0040b220 -0094d500 0041d520 0094d500 0040a5d0 -0094de50 00a112c0 -0094de50 00946cd0 +0094d500 0041d540 +0094d500 00a112c0 +0094d500 00946cd0 +0094d500 0092dc30 +0094d500 0040a1b0 +0094d500 00408b90 +0094d500 00989750 +0094d500 0041d520 +0094d500 00425130 0094de50 00694de0 0094de50 006eef60 +0094de50 00a112c0 +0094de50 00946cd0 0094de50 00a0f4e0 +0094e170 00a18300 +0094e170 006836c0 0094e170 00684f30 0094e170 0094bbd0 -0094e170 00a19180 -0094e170 00a18300 -0094e170 00a18230 -0094e170 006836c0 0094e170 006856c0 -0094e210 0040a1b0 -0094e210 0092dc30 -0094e210 0094e170 +0094e170 00a18230 +0094e170 00a19180 0094e210 00956780 -0094e210 0040aaf0 0094e210 0040a5d0 +0094e210 0094e170 +0094e210 0040aaf0 +0094e210 0092dc30 +0094e210 0040a1b0 0094e3b0 00af08ff 0094e3d0 EXTERNAL:00000220 -0094e3d0 0040cf00 0094e3d0 00aef15c 0094e3d0 00af08bd 0094e3d0 0040cee0 +0094e3d0 0040cf00 0094e3d0 00415bc0 -0094e550 EXTERNAL:00000220 -0094e550 0040cf00 0094e550 0094e520 +0094e550 EXTERNAL:00000220 0094e550 00aef15c 0094e550 0040cee0 +0094e550 0040cf00 0094e550 00415bc0 +0094e670 00af08bd +0094e670 0040cee0 0094e670 0041d150 0094e670 0040cf00 0094e670 007de420 -0094e670 00af08bd -0094e670 0040cee0 0094e670 00415bc0 +0094e720 0040cee0 0094e720 004268e0 0094e720 0040cf00 -0094e720 0040cee0 0094e720 00415bc0 +0094e800 0042c880 +0094e800 0040d040 0094e800 00407f10 0094e800 004149d0 -0094e800 0040d040 0094e800 004087a0 -0094e800 0042c880 +0094e910 0040b220 +0094e910 00409030 +0094e910 00a20fb0 0094e910 0040c7f0 0094e910 0072fd10 0094e910 0098aa30 -0094e910 00409030 -0094e910 009588a0 -0094e910 00a20fb0 0094e910 0040c3b0 -0094e910 0040b220 -0094ef10 EXTERNAL:00000220 -0094ef10 00a55d60 -0094ef10 0040ac70 +0094e910 009588a0 +0094ef10 00683060 +0094ef10 0040a030 +0094ef10 0040b220 0094ef10 00aef15c +0094ef10 0040bcd0 +0094ef10 00408590 +0094ef10 00a10d00 +0094ef10 008f90e0 +0094ef10 0069dac0 +0094ef10 0040d040 +0094ef10 00a2c250 +0094ef10 00a112c0 +0094ef10 00a55d60 +0094ef10 00a1c7d0 +0094ef10 0072fff0 +0094ef10 EXTERNAL:00000220 +0094ef10 00aef638 0094ef10 00a14270 0094ef10 00409120 -0094ef10 00a1c7d0 -0094ef10 008f90e0 -0094ef10 00a1d8f0 -0094ef10 00683060 -0094ef10 00a10d00 -0094ef10 0072fff0 -0094ef10 00408590 -0094ef10 00a2c250 -0094ef10 00a10e70 -0094ef10 0040a030 -0094ef10 0069dac0 -0094ef10 0040b220 -0094ef10 00aef5c4 -0094ef10 00a112c0 -0094ef10 0072ff10 -0094ef10 0040c550 -0094ef10 00416440 -0094ef10 0040d040 -0094ef10 00a0f550 -0094ef10 0040bcd0 -0094ef10 00408b90 -0094ef10 00aef638 -0094ef10 00a1c480 0094ef10 00aef12b -009502c0 0040a1b0 -009502c0 0042c920 -009502c0 0040b220 +0094ef10 00a1d8f0 +0094ef10 0040c550 +0094ef10 00a1c480 +0094ef10 0072ff10 +0094ef10 00aef5c4 +0094ef10 00a0f550 +0094ef10 0040ac70 +0094ef10 00a10e70 +0094ef10 00408b90 +0094ef10 00416440 009502c0 0040a5d0 +009502c0 0040b220 +009502c0 0042c920 +009502c0 0040a1b0 +00950510 008562b0 +00950510 0040d040 00950510 008565e0 00950510 00aef15c -00950510 0040d040 -00950510 008562b0 009505c0 008565e0 009505c0 00aef15c -00950610 00925f80 -00950610 00a15770 -00950610 00906260 00950610 009e9290 00950610 00a0f4c0 -00950610 00af05e5 -00950610 00424310 -00950610 00aef5c4 -00950610 00924000 00950610 00a1a640 -00950610 004074c0 +00950610 00af05e5 00950610 00724cb0 +00950610 00925f80 00950610 00a26710 -00950610 0085b050 +00950610 00aef5c4 00950610 00a2a990 +00950610 00924000 00950610 0084dad0 -00950610 00424440 +00950610 00424310 00950610 009c73c0 -00950eb0 00a62880 +00950610 00424440 +00950610 0085b050 +00950610 00906260 +00950610 004074c0 +00950610 00a15770 00950eb0 00aef638 +00950eb0 00a62880 +00950f10 0040d040 +00950f10 00923600 00950f10 00407f10 00950f10 004149d0 -00950f10 0040d040 00950f10 004147f0 -00950f10 00923600 00950f10 004087a0 00951090 00aef638 -009510f0 009138d0 009510f0 00424540 +009510f0 009138d0 +009510f0 0040d040 009510f0 00aef15c 009510f0 004269f0 -009510f0 0040d040 00951130 004074c0 -00951160 00906a90 -00951160 0042c8e0 -00951160 00a62880 -00951160 00aef15c -00951160 00694ea0 -00951160 00950510 -00951160 00926120 -00951160 00407f10 -00951160 004b3950 -00951160 00709150 -00951160 00426980 -00951160 004269f0 -00951160 00a26920 -00951160 009138d0 -00951160 009314c0 -00951160 00836690 -00951160 009c7800 -00951160 0092e750 -00951160 0095bdd0 -00951160 007df450 00951160 00424540 +00951160 00725190 +00951160 00407f10 +00951160 00aef15c 00951160 008f2ff0 +00951160 004269f0 +00951160 0092e750 +00951160 00906a90 +00951160 009138d0 00951160 0040d040 00951160 0090a8a0 -00951160 00a1ad90 +00951160 004b3950 +00951160 00709150 00951160 004087a0 -00951160 00a27c80 -00951160 009c3290 -00951160 00aef638 00951160 008f5960 -00951160 00725190 +00951160 009c3290 +00951160 00926120 +00951160 00a1ad90 +00951160 007df450 +00951160 00426980 +00951160 00694ea0 +00951160 00aef638 00951160 00950f10 -00951730 00a112c0 +00951160 00a62880 +00951160 009c7800 +00951160 00836690 +00951160 0042c8e0 +00951160 009314c0 +00951160 0095bdd0 +00951160 00a26920 +00951160 00950510 +00951160 00a27c80 00951730 00a0f550 -00951730 00a11f30 +00951730 00a112c0 00951730 007090c0 -00951920 0040ccd0 -00951920 EXTERNAL:00000220 -00951920 0040cf00 -00951920 008f5ad0 -00951920 00a1a730 -00951920 00416440 -00951920 00aef15c +00951730 00a11f30 00951920 00a1ad90 +00951920 EXTERNAL:00000220 +00951920 0040ccd0 +00951920 00a1a730 +00951920 008f5ad0 +00951920 00aef15c 00951920 00aef12b +00951920 0040cf00 +00951920 00416440 00951f60 0040c7f0 00951f60 00a68490 00951f60 0041e420 -00951f60 009588a0 -00951f60 0040c3b0 00951f60 00aef12b +00951f60 0040c3b0 +00951f60 009588a0 009522b0 0040c550 -00952410 00906d60 -00952410 EXTERNAL:00000220 -00952410 00a1d610 +00952410 00a26810 +00952410 008f61d0 +00952410 00951730 +00952410 00a0f4c0 +00952410 EXTERNAL:0000022f 00952410 00aef15c -00952410 0040bd50 -00952410 00af05e5 00952410 00a157f0 +00952410 00a20240 +00952410 00924180 +00952410 008f30d0 +00952410 008f4a30 +00952410 006f1020 +00952410 006f4740 +00952410 00423990 00952410 00a648b0 00952410 0040a5d0 -00952410 00925e30 -00952410 006f4740 -00952410 009e94e0 -00952410 EXTERNAL:00000009 -00952410 00a19180 -00952410 00423990 -00952410 00a20240 -00952410 00a17180 -00952410 00954760 -00952410 008f30d0 -00952410 00951730 -00952410 EXTERNAL:0000022f -00952410 0041e420 -00952410 00a0f4c0 -00952410 00835c90 00952410 00a112c0 -00952410 008f61d0 +00952410 0040bd50 +00952410 00a1d610 00952410 00924440 -00952410 0040cf00 -00952410 00a159a0 -00952410 008f4a30 -00952410 0040a1b0 -00952410 00a26810 -00952410 006f1020 -00952410 00835f70 -00952410 00924180 -00952410 00a18300 -00952410 00a18230 00952410 00952df0 +00952410 00a18230 +00952410 0040cf00 +00952410 EXTERNAL:00000220 +00952410 EXTERNAL:00000009 +00952410 00af05e5 +00952410 00835f70 +00952410 00a17180 00952410 00aef12b -00952df0 0095cc00 +00952410 00a159a0 +00952410 00a19180 +00952410 009e94e0 +00952410 00a18300 +00952410 00906d60 +00952410 0041e420 +00952410 00925e30 +00952410 00835c90 +00952410 0040a1b0 +00952410 00954760 +00952df0 007dfaf0 00952df0 00931550 -00952df0 0040ccd0 -00952df0 EXTERNAL:00000220 -00952df0 00aef15c -00952df0 0069bd50 -00952df0 00931670 -00952df0 0091fe80 -00952df0 0069c420 -00952df0 006998d0 00952df0 0072ca50 +00952df0 00aef15c +00952df0 00931670 +00952df0 0072a1b0 +00952df0 0069c420 +00952df0 006950c0 +00952df0 0069bd50 +00952df0 0095cc00 +00952df0 0040d040 +00952df0 0091fe80 +00952df0 00698e80 +00952df0 00951920 +00952df0 0040cf00 +00952df0 EXTERNAL:00000220 +00952df0 00725570 +00952df0 0040ccd0 00952df0 0042f0c0 00952df0 008f5ad0 -00952df0 00728780 -00952df0 00698e80 -00952df0 00727430 -00952df0 0072cff0 -00952df0 0092d140 -00952df0 00951920 -00952df0 00a1a730 -00952df0 007dfaf0 -00952df0 006950c0 -00952df0 00725570 -00952df0 0084eba0 -00952df0 0072ece0 -00952df0 0072e640 -00952df0 0072ba80 -00952df0 0040cf00 -00952df0 0040d040 -00952df0 0072a1b0 00952df0 009569f0 00952df0 00aef12b -00953f10 00407f10 +00952df0 0084eba0 +00952df0 006998d0 +00952df0 0072ba80 +00952df0 00a1a730 +00952df0 00727430 +00952df0 00728780 +00952df0 0072cff0 +00952df0 0072e640 +00952df0 0072ece0 +00952df0 0092d140 00953f10 EXTERNAL:00000220 -00953f10 00709150 -00953f10 0069bbf0 -00953f10 00aef15c -00953f10 0040d040 -00953f10 007252a0 -00953f10 004269f0 -00953f10 00a8b190 00953f10 00a1ad90 +00953f10 00a8b190 +00953f10 0040d040 +00953f10 00aef15c +00953f10 00407f10 +00953f10 0069bbf0 00953f10 00724f00 +00953f10 004269f0 +00953f10 007252a0 +00953f10 00709150 00953f10 00952df0 -00954150 00a19340 -00954150 00709150 -00954150 00987360 -00954150 008370b0 -00954150 00a193c0 00954150 00a18750 +00954150 00987360 +00954150 00a193c0 +00954150 00709150 +00954150 00a19340 +00954150 008370b0 00954320 00a112c0 +00954320 00a193c0 +00954320 00aefca0 00954320 00af0917 00954320 00a19340 -00954320 00aefca0 00954320 008370b0 -00954320 00a193c0 00954690 00407f10 00954690 0040c7f0 -00954710 00931550 -00954710 00951920 00954710 00423aa0 +00954710 00931550 00954710 009b7a20 -00954760 004288a0 +00954710 00951920 00954760 009abbd0 -009548d0 00a5f090 -009548d0 00925c60 -009548d0 EXTERNAL:00000009 -009548d0 0041e420 -009548d0 00928ee0 -009548d0 00a20fb0 +00954760 004288a0 009548d0 009561e0 -009548d0 00956750 -009548d0 EXTERNAL:00000171 -009548d0 009292c0 +009548d0 EXTERNAL:00000009 +009548d0 00928ee0 +009548d0 00925c60 +009548d0 00a20fb0 +009548d0 0041e420 009548d0 00aef12b +009548d0 009292c0 +009548d0 00956750 +009548d0 00a5f090 +009548d0 EXTERNAL:00000171 009548d0 009294f0 -00954b40 00a112c0 -00954b40 00a159a0 -00954b40 00a20240 00954b40 00a157f0 +00954b40 00a112c0 +00954b40 00a20240 +00954b40 00a159a0 00954b40 007a6450 -00954cd0 009b5d20 -00954cd0 009897d0 -00954cd0 00424130 -00954cd0 00a69f60 -00954cd0 009b6840 00954cd0 009c34f0 -00954cd0 00921ce0 -00954cd0 006fd3f0 -00954cd0 009505e0 00954cd0 006f9730 -00954cd0 00920510 -00954cd0 009c3990 -00954cd0 006fd350 -00954cd0 EXTERNAL:0000011d -00954cd0 0068b260 -00954cd0 009548d0 -00954cd0 009e6eb0 -00954cd0 00a20fb0 -00954cd0 00a6de60 -00954cd0 0092e430 -00954cd0 0068bba0 -00954cd0 00931ba0 -00954cd0 0095b310 -00954cd0 00959720 -00954cd0 00954b40 -00954cd0 00959670 -00954cd0 00a112c0 -00954cd0 0095e7c0 -00954cd0 0095df20 -00954cd0 EXTERNAL:0000021c -00954cd0 00959d00 -00954cd0 00a1fc00 -00954cd0 009439d0 -00954cd0 00424220 -00954cd0 0090b150 -00954cd0 00a0f550 -00954cd0 009446e0 -00954cd0 0040a380 -00954cd0 006fa540 -00954cd0 007e17b0 -00954cd0 00420a80 00954cd0 006fadc0 -00954cd0 00aef12b +00954cd0 0090b150 +00954cd0 0068b260 +00954cd0 009505e0 +00954cd0 00920510 +00954cd0 00959720 +00954cd0 0095e7c0 +00954cd0 00959670 +00954cd0 00a1fc00 +00954cd0 0095b310 +00954cd0 007e17b0 +00954cd0 009446e0 +00954cd0 00a112c0 +00954cd0 00959d00 +00954cd0 009b5d20 +00954cd0 009548d0 +00954cd0 009439d0 +00954cd0 EXTERNAL:0000011d 00954cd0 00a264f0 -009555c0 00423cc0 -009555c0 00a19530 -009555c0 00a19340 -009555c0 00920940 -009555c0 0098a040 -009555c0 009c3890 -009555c0 00a10d00 -009555c0 00709150 -009555c0 00aaa450 -009555c0 00a19180 -009555c0 006836c0 -009555c0 006856c0 -009555c0 00684f30 -009555c0 00a1af90 -009555c0 0040a030 +00954cd0 00aef12b +00954cd0 00a6de60 +00954cd0 006fa540 +00954cd0 00954b40 +00954cd0 00420a80 +00954cd0 009e6eb0 +00954cd0 006fd3f0 +00954cd0 006fd350 +00954cd0 0040a380 +00954cd0 EXTERNAL:0000021c +00954cd0 00921ce0 +00954cd0 00424130 +00954cd0 0068bba0 +00954cd0 009b6840 +00954cd0 00931ba0 +00954cd0 00a0f550 +00954cd0 009c3990 +00954cd0 0092e430 +00954cd0 009897d0 +00954cd0 00a20fb0 +00954cd0 00424220 +00954cd0 00a69f60 +00954cd0 0095df20 009555c0 00951730 -009555c0 00a5f090 -009555c0 00683680 +009555c0 00a19530 +009555c0 0040a030 +009555c0 006836c0 +009555c0 0040b220 +009555c0 00684f30 +009555c0 00a10d00 +009555c0 0040a0d0 +009555c0 00aaa450 +009555c0 00a19340 +009555c0 00a14c00 +009555c0 00709150 +009555c0 00a18230 +009555c0 0098a040 009555c0 00a1dfd0 009555c0 006fbc10 +009555c0 00aef12b +009555c0 006856c0 +009555c0 009c3890 +009555c0 00a19180 +009555c0 00a1af90 +009555c0 00a18300 +009555c0 00a0f550 +009555c0 00920940 +009555c0 00683680 +009555c0 00423cc0 +009555c0 00a5f090 +009555c0 EXTERNAL:00000171 009555c0 00a14050 009555c0 0090b900 -009555c0 0040b220 -009555c0 00a0f550 -009555c0 0040a0d0 -009555c0 00a14c00 -009555c0 00a18300 -009555c0 00a18230 -009555c0 EXTERNAL:00000171 -009555c0 00aef12b -00956110 00864c30 00956110 00a20fb0 -009561e0 00864c30 +00956110 00864c30 009561e0 00a20fb0 +009561e0 00864c30 009562d0 00864d80 009562d0 00a20fb0 009563b0 00af08b1 -009563b0 009b9480 009563b0 009b9310 -009563b0 00a20390 -009563b0 00a20fb0 009563b0 00902d60 +009563b0 00a20fb0 +009563b0 00a20390 +009563b0 009b9480 00956750 EXTERNAL:00000009 -00956780 00a112c0 -00956780 00aef29d -00956780 004288a0 -00956780 00aef5af 00956780 00aef253 -009568e0 0092dc30 +00956780 00a112c0 +00956780 00aef5af +00956780 004288a0 +00956780 00aef29d 009568e0 00956780 -00956940 0092dc30 +009568e0 0092dc30 00956940 00956780 -009569f0 0040ccd0 -009569f0 EXTERNAL:00000220 +00956940 0092dc30 +009569f0 00424540 +009569f0 0095c4b0 +009569f0 00aef15c +009569f0 00413b90 +009569f0 004269f0 +009569f0 004149d0 +009569f0 0067f580 009569f0 0095c520 009569f0 00aeff60 -009569f0 00aef15c +009569f0 00428560 009569f0 00413bf0 -009569f0 006f6260 -009569f0 00424310 -009569f0 00a0f4e0 -009569f0 0095bed0 +009569f0 EXTERNAL:0000023f +009569f0 0040d040 009569f0 00a648b0 -009569f0 004269f0 +009569f0 00428590 +009569f0 0095bed0 +009569f0 00424310 +009569f0 006f6260 +009569f0 00a112c0 +009569f0 0067f600 +009569f0 00a0f4e0 +009569f0 0095c050 +009569f0 EXTERNAL:00000220 +009569f0 004155d0 +009569f0 0040ccd0 +009569f0 00a178d0 +009569f0 EXTERNAL:0000023e +009569f0 00aef12b +009569f0 0040c340 +009569f0 00414730 +009569f0 0040ca70 009569f0 009584b0 009569f0 0042c920 -009569f0 0067f580 -009569f0 00a178d0 -009569f0 00413b90 -009569f0 004155d0 -009569f0 EXTERNAL:0000023f -009569f0 004149d0 -009569f0 0095c050 -009569f0 00428590 -009569f0 00414730 009569f0 00413c70 -009569f0 00a112c0 -009569f0 0040ca70 -009569f0 0095c4b0 -009569f0 00424540 -009569f0 0040d040 -009569f0 0040c340 -009569f0 EXTERNAL:0000023e -009569f0 0067f600 -009569f0 00aef12b -009569f0 00428560 009584b0 00424540 -009584b0 004149d0 009584b0 0040d040 -009586f0 00a26a30 +009584b0 004149d0 009586f0 00a5a7a0 -009586f0 EXTERNAL:000001f3 009586f0 00a648b0 +009586f0 00a26a30 +009586f0 EXTERNAL:000001f3 009586f0 00a26af0 009587e0 00a26af0 00958840 00a26af0 -009588a0 0040ccd0 -009588a0 EXTERNAL:00000220 -009588a0 008f5ad0 009588a0 00a118d0 +009588a0 EXTERNAL:00000220 +009588a0 0040ccd0 +009588a0 008f5ad0 009588a0 00aef15c 009588a0 00aef12b -009589d0 0044be50 -009589d0 00931ba0 009589d0 0091b510 009589d0 00a0f4c0 +009589d0 00931ba0 +009589d0 0044be50 00958aa0 00424540 -00958aa0 00aef15c 00958aa0 009e9430 -00958aa0 009e9320 +00958aa0 00aef15c 00958aa0 00424440 00958aa0 00aef12b +00958aa0 009e9320 00958bc0 EXTERNAL:00000009 00958bc0 EXTERNAL:0000025f -00958c40 00426a50 -00958c40 0085aeb0 00958c40 00958bc0 +00958c40 0085aeb0 +00958c40 00426a50 00958c40 00aef12b -00958cb0 00a112c0 00958cb0 00424540 -00958cb0 00929a20 -00958cb0 00aef15c -00958cb0 009eb880 00958cb0 009e9430 -00958cb0 009e9320 +00958cb0 00aef15c +00958cb0 00929a20 +00958cb0 00a112c0 00958cb0 0090df40 00958cb0 00aef12b +00958cb0 009e9320 +00958cb0 009eb880 00958cb0 0092b270 00958e60 00a112c0 -00958ed0 EXTERNAL:0000025a -00958ed0 00a52890 -00958ed0 009c9340 -00958ed0 009c8410 -00958ed0 009294f0 -00958ed0 00a112c0 -00958ed0 008f8cd0 -00958ed0 006f9000 -00958ed0 00a25090 00958ed0 EXTERNAL:00000009 00958ed0 007bf670 -00958ed0 00928ee0 -00958ed0 009292c0 +00958ed0 006f9000 +00958ed0 EXTERNAL:0000025a +00958ed0 009c9340 00958ed0 00417870 +00958ed0 009292c0 +00958ed0 009c8410 +00958ed0 00a52890 +00958ed0 00928ee0 +00958ed0 008f8cd0 +00958ed0 00a112c0 +00958ed0 00a25090 00958ed0 009cad40 +00958ed0 009294f0 00959130 009c8350 -00959180 EXTERNAL:00000263 -00959180 EXTERNAL:0000025a -00959180 00a52890 -00959180 00a112c0 -00959180 00683930 -00959180 008f8cd0 -00959180 00a23200 -00959180 006f9000 -00959180 00a25090 00959180 EXTERNAL:00000009 +00959180 00683930 00959180 007bf670 -00959180 009d8190 +00959180 006f9000 +00959180 EXTERNAL:0000025a 00959180 00417870 +00959180 009d8190 +00959180 00a52890 +00959180 008f8cd0 +00959180 00a112c0 +00959180 EXTERNAL:00000263 +00959180 00a25090 +00959180 00a23200 00959500 0090abf0 -009595e0 008f8cd0 009595e0 0091b510 +009595e0 008f8cd0 00959670 00986f30 -00959670 00aef15c 00959670 0040e910 00959670 006fa0c0 -00959670 00429170 00959670 0092e430 -00959720 00a55d60 +00959670 00aef15c +00959670 00429170 +00959720 00424540 +00959720 009a1a30 +00959720 009e9430 +00959720 00a0f4c0 00959720 00aef15c -00959720 006f72f0 -00959720 00828180 -00959720 006f6dd0 -00959720 006f8140 -00959720 009bc000 -00959720 0090c400 -00959720 00914150 -00959720 006f7750 -00959720 009bba30 -00959720 0040cf50 -00959720 006f4740 -00959720 00802980 -00959720 00731ee0 00959720 009e9320 00959720 009bf530 -00959720 009a1a30 +00959720 00731ee0 +00959720 00828180 +00959720 006f1020 +00959720 00959670 +00959720 006f4740 00959720 0069dac0 00959720 00923450 -00959720 00a0f4c0 -00959720 00959670 -00959720 00424540 -00959720 00414a80 -00959720 006f5850 -00959720 006f5320 -00959720 006f1020 -00959720 00a0f550 -00959720 00864ee0 -00959720 0090a8a0 -00959720 006eef20 -00959720 009e9430 -00959720 00429170 00959720 00959500 -00959720 0091c770 -00959720 00aef12b +00959720 0090a8a0 +00959720 006f6dd0 +00959720 006f72f0 00959720 006f5210 -00959d00 00986450 -00959d00 0098aa30 -00959d00 0090a8a0 -00959d00 00a0f4c0 -00959d00 0090cd10 +00959720 00a55d60 +00959720 00864ee0 +00959720 00429170 +00959720 009bba30 +00959720 00914150 +00959720 0090c400 +00959720 00802980 +00959720 00aef12b +00959720 006f5320 +00959720 0040cf50 +00959720 00a0f550 +00959720 009bc000 +00959720 006f5850 +00959720 006eef20 +00959720 0091c770 +00959720 006f7750 +00959720 00414a80 +00959720 006f8140 00959d00 00959670 -00959d00 0091c770 -00959d00 00907690 +00959d00 00a0f4c0 +00959d00 0090a8a0 +00959d00 00986450 00959d00 00987450 -00959e70 00a112c0 -00959e70 009262b0 +00959d00 00907690 +00959d00 0090cd10 +00959d00 0091c770 +00959d00 0098aa30 00959e70 EXTERNAL:00000009 +00959e70 009262b0 +00959e70 00a112c0 00959e70 00aef12b -00959fa0 00a112c0 00959fa0 EXTERNAL:00000009 +00959fa0 00a112c0 00959fa0 009c79a0 -0095a4a0 00a112c0 -0095a4a0 009e9b50 -0095a4a0 009595e0 -0095a4a0 0090cd10 0095a4a0 009128e0 +0095a4a0 00a112c0 +0095a4a0 0090cd10 +0095a4a0 009595e0 +0095a4a0 009e9b50 0095a680 00a112c0 -0095a680 009e9b50 -0095a680 009595e0 0095a680 0090cd10 +0095a680 009595e0 +0095a680 009e9b50 +0095a7b0 00929aa0 +0095a7b0 00a0f4c0 +0095a7b0 0090b100 +0095a7b0 00929a20 0095a7b0 00a112c0 0095a7b0 007530f0 0095a7b0 009595e0 -0095a7b0 00929a20 -0095a7b0 00929aa0 -0095a7b0 00a0f4c0 -0095a7b0 0095aa30 -0095a7b0 0090b100 0095a7b0 009589d0 -0095aa30 00929a20 +0095a7b0 0095aa30 0095aa30 00929b40 +0095aa30 00929a20 0095ad30 0040a030 0095ad30 00408e00 0095adf0 0095af30 @@ -47933,1676 +47933,1676 @@ 0095ae60 0040a5d0 0095ae60 00408e00 0095af30 00af08b1 -0095af30 004073d0 -0095af30 00a20390 -0095af30 0040a380 0095af30 00a243c0 -0095af30 0040a0d0 -0095af30 0095aba0 0095af30 00a24370 0095af30 00408e00 +0095af30 0095aba0 +0095af30 0040a0d0 +0095af30 004073d0 0095af30 00aef12b +0095af30 00a20390 +0095af30 0040a380 +0095b180 00835ba0 0095b180 00a20390 0095b180 00836370 -0095b180 00835ba0 0095b290 00835c90 0095b310 00af08b1 -0095b310 EXTERNAL:00000220 -0095b310 0090af30 -0095b310 00a20390 -0095b310 00aef15c -0095b310 00420710 -0095b310 009c1260 0095b310 00a157f0 -0095b310 009c2db0 -0095b310 004242b0 +0095b310 00aef15c 0095b310 00a68490 -0095b310 0042c920 -0095b310 004209d0 -0095b310 009c3ab0 +0095b310 009c1260 0095b310 00a20240 0095b310 007a6450 -0095b310 009c25e0 -0095b310 00a21cb0 -0095b310 009c3b70 0095b310 00a112c0 -0095b310 00a159a0 -0095b310 0098aa30 -0095b310 0090aeb0 -0095b310 009c39e0 +0095b310 00a20390 +0095b310 009c3b70 +0095b310 EXTERNAL:00000220 +0095b310 0090af30 0095b310 00417870 +0095b310 00a159a0 +0095b310 00a21cb0 +0095b310 009c25e0 +0095b310 004209d0 +0095b310 009c39e0 +0095b310 00420710 +0095b310 009c3ab0 +0095b310 004242b0 +0095b310 0042c920 +0095b310 0090aeb0 +0095b310 0098aa30 +0095b310 009c2db0 0095bdd0 EXTERNAL:00000220 0095bdd0 00aef15c 0095bdd0 004269f0 0095be60 004269f0 0095be90 EXTERNAL:00000220 0095be90 00aef15c -0095bed0 0040cf00 0095bed0 0095c050 +0095bed0 0040cee0 +0095bed0 0095c430 0095bed0 0095c3b0 0095bed0 0095c310 -0095bed0 0040cee0 +0095bed0 0040cf00 0095bed0 00415bc0 -0095bed0 0095c430 -0095c01b 00af05eb 0095c01b 0095be60 0095c01b 0095be90 +0095c01b 00af05eb 0095c050 0040cf50 -0095c050 00709280 -0095c050 0040cf00 -0095c050 00af08bd 0095c050 00a0f4c0 -0095c050 0040cee0 +0095c050 00709280 0095c050 0043eca0 +0095c050 00af08bd +0095c050 0040cee0 +0095c050 0040cf00 0095c310 EXTERNAL:00000220 0095c310 00aef15c 0095c310 004269f0 0095c3b0 0095c050 0095c430 0095c6a0 0095c4b0 00424310 -0095c520 0040cf00 -0095c520 0095c3b0 -0095c520 0095c310 0095c520 00424310 0095c520 0040cee0 -0095c63e 00af05eb +0095c520 0095c3b0 +0095c520 0095c310 +0095c520 0040cf00 0095c63e 0095be60 0095c63e 0095be90 +0095c63e 00af05eb 0095c670 004269f0 0095c6a0 00a0f4c0 0095c8f0 0040d040 -0095c9a0 00aef15c 0095c9a0 0040d040 +0095c9a0 00aef15c +0095c9d0 0040d040 0095c9d0 00407f10 0095c9d0 00aef15c -0095c9d0 0040d040 0095c9d0 004087a0 -0095ca80 00aef15c 0095ca80 0040d040 -0095cac0 0042c8e0 -0095cac0 004b3950 -0095cac0 00aef15c -0095cac0 0040d040 +0095ca80 00aef15c 0095cac0 00a1ad90 +0095cac0 0040d040 +0095cac0 00aef15c +0095cac0 004b3950 +0095cac0 0042c8e0 0095cb80 00aefca0 -0095cc00 0040ccd0 -0095cc00 EXTERNAL:00000220 -0095cc00 00aeff60 -0095cc00 00aef15c -0095cc00 00413bf0 -0095cc00 00a0f4e0 -0095cc00 00a648b0 -0095cc00 0040cf50 -0095cc00 0040ccc0 -0095cc00 00a1a640 -0095cc00 004074c0 -0095cc00 006a0d30 -0095cc00 00a178d0 -0095cc00 00413b90 -0095cc00 004155d0 -0095cc00 EXTERNAL:0000023f -0095cc00 00428590 -0095cc00 00414730 -0095cc00 00413c70 0095cc00 00a0f4c0 -0095cc00 00421680 -0095cc00 0040ca70 -0095cc00 00a112c0 -0095cc00 00a0f550 -0095cc00 0040d040 -0095cc00 00af08bd +0095cc00 00aef15c +0095cc00 00413b90 +0095cc00 00a1a640 0095cc00 009607b0 +0095cc00 00aeff60 +0095cc00 00413bf0 +0095cc00 EXTERNAL:0000023f +0095cc00 0040d040 +0095cc00 00a648b0 +0095cc00 006a0d30 +0095cc00 00428590 +0095cc00 00a112c0 +0095cc00 00a0f4e0 +0095cc00 0040ccc0 +0095cc00 EXTERNAL:00000220 +0095cc00 004155d0 +0095cc00 0040ccd0 +0095cc00 00a178d0 0095cc00 00aef12b -0095df20 009c2700 -0095df20 00954320 +0095cc00 00414730 +0095cc00 0040cf50 +0095cc00 00a0f550 +0095cc00 0040ca70 +0095cc00 00af08bd +0095cc00 00413c70 +0095cc00 004074c0 +0095cc00 00421680 +0095df20 008ef1d0 0095df20 00a19530 +0095df20 0090eca0 +0095df20 00a68490 +0095df20 00864c30 +0095df20 00960840 +0095df20 00954320 0095df20 00a19340 0095df20 0091c870 -0095df20 00420710 -0095df20 0090eca0 -0095df20 00960840 -0095df20 00a68490 -0095df20 00709150 -0095df20 00864c30 -0095df20 009c3ab0 -0095df20 0091ca00 0095df20 00a8b190 -0095df20 00a20fb0 -0095df20 009c25e0 -0095df20 00a193c0 0095df20 00a112c0 -0095df20 00a78160 -0095df20 008ef1d0 -0095df20 0090b070 -0095df20 0040e910 -0095df20 009c39e0 0095df20 008fd750 -0095df20 00956110 -0095df20 0091c770 +0095df20 00a193c0 +0095df20 00709150 +0095df20 0040e910 +0095df20 00a78160 0095df20 00954150 -0095e7c0 00a112c0 +0095df20 009c2700 +0095df20 009c25e0 +0095df20 00956110 +0095df20 009c39e0 +0095df20 00420710 +0095df20 00a20fb0 +0095df20 009c3ab0 +0095df20 0091c770 +0095df20 0091ca00 +0095df20 0090b070 0095e7c0 0040e910 +0095e7c0 00a112c0 0095e7c0 00960840 -0095eb60 004240b0 -0095eb60 009586f0 0095eb60 00a1b050 +0095eb60 004240b0 0095eb60 00a0f550 -0095eb60 00420a80 0095eb60 00aef12b -0095ed70 00af05df -0095ed70 EXTERNAL:00000220 -0095ed70 00aef15c -0095ed70 00af05e5 +0095eb60 00420a80 +0095eb60 009586f0 0095ed70 0095cb80 -0095ed70 00a0f4e0 -0095ed70 00a648b0 -0095ed70 EXTERNAL:00000262 -0095ed70 00a178d0 +0095ed70 EXTERNAL:00000220 0095ed70 00684450 +0095ed70 00a178d0 0095ed70 00960880 -0095ed70 00aef12b +0095ed70 00aef15c 0095ed70 00a2c370 -0095f1f0 00af0917 -0095f1f0 00af060f -0095f1f0 00a0f550 +0095ed70 00af05e5 +0095ed70 00aef12b +0095ed70 EXTERNAL:00000262 +0095ed70 00a648b0 +0095ed70 00af05df +0095ed70 00a0f4e0 0095f1f0 00a1ba10 -0095f1f0 00a13510 0095f1f0 00a1b2d0 +0095f1f0 00a0f550 +0095f1f0 00a13510 +0095f1f0 00af060f +0095f1f0 00af0917 0095f4b0 00407f10 0095f4b0 0095ed70 0095f4b0 0040bd50 0095f4e0 00407f10 -0095f4f0 0040a1b0 -0095f4f0 00a68490 -0095f4f0 007e1d50 0095f4f0 0040a5d0 -0095f6f0 00a112c0 -0095f6f0 00af0917 -0095f6f0 00a68490 -0095f6f0 0040a780 +0095f4f0 007e1d50 +0095f4f0 00a68490 +0095f4f0 0040a1b0 0095f6f0 00409030 -0095f6f0 0095f1a0 0095f6f0 007e1d50 +0095f6f0 00a68490 +0095f6f0 00a112c0 +0095f6f0 0095f1a0 +0095f6f0 0040a780 +0095f6f0 00af0917 0095f900 0040a030 0095f900 0095f1f0 0095f990 00a68490 0095fa20 00a68490 -0095fac0 009f2ee0 0095fac0 00a68490 -0095fbd0 00a68490 +0095fac0 009f2ee0 0095fbd0 00aaa4a0 +0095fbd0 00a68490 0095fbd0 0095f1a0 -0095fcd0 0095f1f0 0095fcd0 00a62b10 +0095fcd0 0095f1f0 0095fd40 00aaa450 0095fd70 EXTERNAL:00000220 -0095fd70 0040cf00 -0095fd70 008f5ad0 0095fd70 00a1a730 +0095fd70 008f5ad0 0095fd70 00aef15c 0095fd70 00aef12b -0095ffb0 00af05df +0095fd70 0040cf00 0095ffb0 EXTERNAL:00000220 -0095ffb0 00a55d60 -0095ffb0 00aef15c -0095ffb0 0069dac0 -0095ffb0 00a1dfd0 -0095ffb0 00a1bd80 0095ffb0 00a1b8e0 -0095ffb0 0040cf50 -0095ffb0 006851f0 -0095ffb0 0040cf00 +0095ffb0 00aef15c +0095ffb0 00a1dfd0 0095ffb0 0067f580 -0095ffb0 00a10e70 -0095ffb0 00a1bb10 -0095ffb0 004997f0 0095ffb0 00aef12b +0095ffb0 006851f0 +0095ffb0 004997f0 +0095ffb0 0040cf50 +0095ffb0 0069dac0 +0095ffb0 00af05df +0095ffb0 00a1bd80 +0095ffb0 00a1bb10 +0095ffb0 00a55d60 +0095ffb0 00a10e70 +0095ffb0 0040cf00 00960750 00a0f550 009607b0 EXTERNAL:00000220 -009607b0 00aef15c 009607b0 0040d040 +009607b0 00aef15c 00960880 EXTERNAL:00000220 -00960880 0040cf00 00960880 00aef15c 00960880 00af08bd 00960880 0040cee0 +00960880 0040cf00 00960880 00415bc0 00960a70 006a8290 00960a70 0099c290 +00960b50 00426980 +00960b50 00aef15c 00960b50 004149d0 00960b50 005cb9b0 -00960b50 00426980 00960b50 006a8850 -00960b50 00aef15c +00960bc0 00426980 00960bc0 004149d0 00960bc0 005cb9b0 -00960bc0 00426980 00960bc0 006a8850 00960c10 EXTERNAL:00000220 -00960c10 00aef15c -00960c10 004156c0 00960c10 00a0f4c0 -00960c10 0040bd50 -00960c10 00861890 00960c10 0040b220 -00960c10 0040a5d0 -00960c10 0040cf00 -00960c10 004074c0 -00960c10 0040a1b0 -00960c10 006a93a0 +00960c10 004156c0 +00960c10 00aef15c 00960c10 006eef60 +00960c10 00861890 00960c10 00aef12b -009611d0 006acb60 +00960c10 006a93a0 +00960c10 0040a5d0 +00960c10 0040bd50 +00960c10 0040a1b0 +00960c10 004074c0 +00960c10 0040cf00 009611d0 004cf210 +009611d0 006acb60 00961320 0099fa60 -00961320 0096fd60 00961320 0099c790 +00961320 0096fd60 009614d0 00499d20 -009615e0 0041d540 -009615e0 009666c0 -009615e0 004cdcf0 -009615e0 006eef60 -009615e0 006fe410 009615e0 00961320 +009615e0 009666c0 +009615e0 004cf210 +009615e0 006eef60 +009615e0 0041d540 +009615e0 004cdcf0 009615e0 009614d0 009615e0 0041d520 -009615e0 004cf210 -00961870 0041d540 -00961870 009666c0 -00961870 004cdcf0 -00961870 006eef60 -00961870 006fe410 +009615e0 006fe410 00961870 00961320 +00961870 009666c0 +00961870 004cf210 +00961870 006eef60 +00961870 0041d540 +00961870 004cdcf0 00961870 009614d0 00961870 0041d520 -00961870 004cf210 +00961870 006fe410 00961ad0 00966650 00961ad0 007706e0 -00961b00 00af08b1 -00961b00 004072e0 -00961b00 0041d540 -00961b00 00aef15c -00961b00 00431310 -00961b00 00a10030 00961b00 00417170 +00961b00 007e9080 +00961b00 0040b220 +00961b00 00aef15c +00961b00 00709df0 +00961b00 00436090 +00961b00 009568e0 +00961b00 00aef29d +00961b00 006fe410 +00961b00 007aaea0 +00961b00 00812c90 +00961b00 00435c20 +00961b00 0040add0 +00961b00 006828b0 +00961b00 004071c0 +00961b00 00440e30 +00961b00 004e47c0 +00961b00 006ac710 +00961b00 00a0ffc0 +00961b00 00aef253 +00961b00 004171b0 +00961b00 0040b1a0 +00961b00 004314b0 +00961b00 004cf210 +00961b00 0041d540 +00961b00 006eef60 +00961b00 0040a720 +00961b00 00705b90 +00961b00 0067d430 +00961b00 00a10100 +00961b00 0096f310 +00961b00 0041d520 +00961b00 00a10630 +00961b00 00431310 +00961b00 00a10600 +00961b00 00435a50 +00961b00 00967180 +00961b00 00676150 +00961b00 006ac560 +00961b00 00813b30 +00961b00 004cdcf0 +00961b00 0085e000 +00961b00 007525e0 +00961b00 004072e0 +00961b00 0040a780 +00961b00 0099c430 +00961b00 00861970 +00961b00 00499d20 +00961b00 00af08b1 +00961b00 00665c20 +00961b00 007bf6c0 +00961b00 00592230 +00961b00 00452bf0 +00961b00 0096ce90 +00961b00 0042cfd0 00961b00 006a9320 00961b00 0040a5d0 -00961b00 0085e000 -00961b00 00812f50 -00961b00 00aef29d -00961b00 00a10630 -00961b00 0040c740 -00961b00 0040add0 -00961b00 004cdcf0 +00961b00 00499d60 00961b00 0081e6e0 -00961b00 006fe410 -00961b00 0067f010 -00961b00 00665c20 -00961b00 0041a790 -00961b00 004171b0 -00961b00 00968430 -00961b00 0096ce90 -00961b00 006ac2a0 -00961b00 004071c0 -00961b00 00967a70 -00961b00 0096f310 -00961b00 00652ab0 -00961b00 004e47c0 -00961b00 007525e0 -00961b00 006ae820 -00961b00 0040a1b0 -00961b00 00436090 -00961b00 006ac560 -00961b00 004314b0 -00961b00 0040a380 -00961b00 006eef60 -00961b00 007aaea0 -00961b00 00861970 -00961b00 00961320 -00961b00 00aef12b -00961b00 EXTERNAL:00000220 -00961b00 00812c90 -00961b00 00428b20 -00961b00 00a0ffc0 -00961b00 00435a50 -00961b00 00709df0 -00961b00 00417430 -00961b00 00967d20 -00961b00 00592230 00961b00 004073d0 -00961b00 00a10100 -00961b00 009568e0 -00961b00 00452bf0 -00961b00 0099c430 +00961b00 00417430 00961b00 00675fc0 -00961b00 0042c920 -00961b00 006b5b50 -00961b00 00a10600 +00961b00 00652ab0 00961b00 00682740 -00961b00 007e8f90 -00961b00 00967650 -00961b00 009688d0 -00961b00 0040a720 -00961b00 00440e30 -00961b00 006828b0 -00961b00 00966650 -00961b00 0040a780 -00961b00 006ac710 -00961b00 0067f170 -00961b00 007706e0 -00961b00 00813b30 -00961b00 0040b220 -00961b00 00435c20 +00961b00 EXTERNAL:00000220 +00961b00 00967d20 +00961b00 006ac2a0 +00961b00 00812f50 00961b00 0067f260 00961b00 005b1780 -00961b00 004cf210 -00961b00 00592200 -00961b00 009666c0 -00961b00 0067d430 -00961b00 0042cfd0 -00961b00 00499d60 -00961b00 00705b90 -00961b00 00967180 -00961b00 00677780 -00961b00 004175b0 -00961b00 00aef253 -00961b00 00676150 -00961b00 007bf6c0 -00961b00 00499d20 -00961b00 0041d520 -00961b00 007e9080 +00961b00 0067f170 +00961b00 00aef12b +00961b00 00968430 +00961b00 009688d0 +00961b00 0040a380 00961b00 006a92a0 -00961b00 0040b1a0 -00965d30 0041d540 -00965d30 0040a030 -00965d30 00af0917 +00961b00 004175b0 +00961b00 007e8f90 +00961b00 00967650 +00961b00 00961320 +00961b00 006ae820 +00961b00 009666c0 +00961b00 006b5b50 +00961b00 00967a70 +00961b00 00966650 +00961b00 00592200 +00961b00 0067f010 +00961b00 00677780 +00961b00 0042c920 +00961b00 0040a1b0 +00961b00 0040c740 +00961b00 0041a790 +00961b00 00a10030 +00961b00 007706e0 +00961b00 00428b20 00965d30 00861a50 -00965d30 00966650 -00965d30 004073d0 -00965d30 009666c0 -00965d30 00499d60 -00965d30 00960a20 -00965d30 0040a0d0 -00965d30 00499d20 -00965d30 0041d520 -00965d30 00aef12b +00965d30 0040a030 00965d30 0040b1a0 -009665e0 00af0917 +00965d30 0041d540 +00965d30 0040a0d0 +00965d30 00aef12b +00965d30 0041d520 +00965d30 00af0917 +00965d30 00960a20 +00965d30 009666c0 +00965d30 00966650 +00965d30 00499d60 +00965d30 004073d0 +00965d30 00499d20 009665e0 00aefca0 -009666f0 0067d1f0 -009666f0 0096ae70 -009666f0 0041d540 -009666f0 004171b0 -009666f0 006b62b0 -009666f0 009612e0 -009666f0 00966650 -009666f0 00435a50 -009666f0 006ac710 -009666f0 00417430 +009665e0 00af0917 009666f0 00861c40 +009666f0 007bf6c0 +009666f0 004171b0 +009666f0 0067d1f0 009666f0 00592230 -009666f0 00431570 +009666f0 0041d540 +009666f0 006eef60 +009666f0 00aef12b +009666f0 0067af60 +009666f0 0041d520 +009666f0 00435a50 +009666f0 006ac560 009666f0 00960a20 009666f0 006a8fa0 -009666f0 006ac560 -009666f0 0067af60 +009666f0 009612e0 +009666f0 0096ae70 009666f0 00431640 -009666f0 006eef60 +009666f0 00966650 009666f0 006ac530 -009666f0 007bf6c0 +009666f0 00431570 009666f0 0067f010 -009666f0 0041d520 -009666f0 00aef12b -00966ef0 0040a1b0 +009666f0 00417430 +009666f0 006ac710 +009666f0 006b62b0 00966ef0 00967180 -00966ef0 006eef60 -00966ef0 00af090b 00966ef0 0040a5d0 00966ef0 00408e00 +00966ef0 006eef60 +00966ef0 0040a1b0 +00966ef0 00af090b 00967180 00af08b1 -00967180 0041d540 -00967180 00966650 -00967180 007706e0 -00967180 0085e000 00967180 004cf210 -00967180 00960a20 -00967180 004cdcf0 00967180 006eef60 +00967180 0041d540 +00967180 00aef12b +00967180 0041d520 00967180 006fe410 00967180 00961320 -00967180 0041d520 -00967180 00aef12b -00967650 00499d60 -00967650 006a8fa0 -00967650 004cdcf0 -00967650 006ac560 +00967180 00960a20 +00967180 00966650 +00967180 004cdcf0 +00967180 0085e000 +00967180 007706e0 00967650 00435a50 +00967650 006ac560 +00967650 006a8fa0 00967650 004cf210 -00967a70 00a112c0 -00967a70 0041d540 -00967a70 00435a50 -00967a70 00a10030 -00967a70 00af08e1 +00967650 004cdcf0 +00967650 00499d60 00967a70 00417170 +00967a70 00af08e1 +00967a70 00435a50 +00967a70 0041d540 +00967a70 00a112c0 +00967a70 00a10030 00967a70 0041d520 00967d20 008131e0 +00967db0 0040b220 00967db0 00a10100 00967db0 00499d60 00967db0 00682740 -00967db0 0040b220 -00967fc0 0040a380 00967fc0 004cf210 +00967fc0 0040a380 009680d0 0040cf50 -009680d0 0041d540 009680d0 EXTERNAL:00000220 -009680d0 00499d60 -009680d0 0040a1b0 +009680d0 0040a5d0 009680d0 00aef15c +009680d0 0041d540 009680d0 0040cae0 +009680d0 00499d60 +009680d0 00aef12b +009680d0 0040a1b0 009680d0 00499d20 009680d0 0041d520 -009680d0 0040a5d0 -009680d0 00aef12b -00968430 00a112c0 -00968430 0041d540 -00968430 0040a1b0 -00968430 0092dc30 -00968430 006eef60 00968430 00956780 -00968430 0041d520 00968430 0040a5d0 00968430 00408e00 +00968430 0041d540 +00968430 006eef60 +00968430 00a112c0 +00968430 0092dc30 +00968430 0040a1b0 00968430 009688d0 -00968660 00703330 -00968660 00966650 -00968660 009304a0 -00968660 00505c80 +00968430 0041d520 00968660 00956780 +00968660 007915a0 +00968660 009304a0 +00968660 006eef60 00968660 007ac7e0 00968660 007911c0 -00968660 00407170 -00968660 0092dc30 -00968660 006eef60 -00968660 00961ad0 -00968660 007915a0 00968660 00aef12b -009688d0 00af08b1 +00968660 00505c80 +00968660 00966650 +00968660 0092dc30 +00968660 00961ad0 +00968660 00407170 +00968660 00703330 +009688d0 00417170 +009688d0 00956780 +009688d0 009568e0 +009688d0 006b6c20 +009688d0 00812c90 +009688d0 00af0911 +009688d0 00960a20 +009688d0 0096ae70 +009688d0 0040cae0 +009688d0 007d5170 +009688d0 00431570 +009688d0 006a9ba0 +009688d0 0092dc30 +009688d0 006ae280 +009688d0 0042ede0 +009688d0 006b62b0 +009688d0 00499960 009688d0 0041d540 +009688d0 006eef60 +009688d0 0041d520 009688d0 0042eef0 009688d0 00431310 -009688d0 00417170 -009688d0 00a648b0 -009688d0 0042ede0 -009688d0 00960a20 -009688d0 0081e6e0 -009688d0 0067f010 -009688d0 00665c20 -009688d0 0041a790 -009688d0 00af0917 -009688d0 00af0911 -009688d0 006b62b0 -009688d0 00968430 -009688d0 00956780 -009688d0 0040ae70 -009688d0 006ac560 -009688d0 0067af60 -009688d0 00431640 -009688d0 0040a380 -009688d0 006eef60 -009688d0 00aef12b -009688d0 00812c90 -009688d0 006ee340 -009688d0 00945190 -009688d0 00428b20 -009688d0 009612e0 009688d0 00435a50 -009688d0 006b7a80 -009688d0 006a9ba0 -009688d0 006ee390 -009688d0 007d5170 -009688d0 009568e0 -009688d0 00452bf0 -009688d0 006b5b50 -009688d0 007c78b0 -009688d0 006b6c20 -009688d0 00945470 -009688d0 00682740 -009688d0 0096ae70 -009688d0 00499960 -009688d0 006a9360 -009688d0 00966650 +009688d0 006ac560 +009688d0 009612e0 +009688d0 00431640 009688d0 0040a780 -009688d0 007706e0 -009688d0 006ae280 -009688d0 0040cae0 -009688d0 00408e00 -009688d0 00431570 -009688d0 00968660 +009688d0 006b7a80 +009688d0 00af08b1 +009688d0 00665c20 +009688d0 006a9360 +009688d0 00452bf0 009688d0 007c78e0 -009688d0 0092dc30 -009688d0 009680d0 +009688d0 0067af60 +009688d0 00af0917 +009688d0 00a648b0 009688d0 0040d040 -009688d0 004175b0 -009688d0 0041d520 -009688d0 006a92a0 +009688d0 00945470 +009688d0 006ee340 +009688d0 0040ae70 +009688d0 0081e6e0 +009688d0 00968660 +009688d0 00682740 009688d0 00652fa0 +009688d0 007c78b0 +009688d0 00945190 +009688d0 009680d0 +009688d0 00aef12b +009688d0 004175b0 +009688d0 006a92a0 +009688d0 0040a380 +009688d0 00968430 +009688d0 006ee390 +009688d0 00408e00 +009688d0 006b5b50 +009688d0 00966650 009688d0 0042eb10 -0096ae70 00af08b1 -0096ae70 0040ccd0 -0096ae70 00813360 -0096ae70 0041d540 -0096ae70 EXTERNAL:00000220 -0096ae70 00428b20 -0096ae70 00676020 -0096ae70 007009a0 -0096ae70 00aef15c -0096ae70 00707e10 -0096ae70 00435a50 +009688d0 0067f010 +009688d0 0041a790 +009688d0 007706e0 +009688d0 00428b20 0096ae70 00417170 -0096ae70 0040bf30 -0096ae70 00812f50 -0096ae70 00960a20 -0096ae70 004cdcf0 -0096ae70 00675fc0 -0096ae70 0067f070 -0096ae70 006fe410 -0096ae70 006ff2a0 -0096ae70 00966650 -0096ae70 007706e0 +0096ae70 00af08b1 0096ae70 00956780 -0096ae70 007aa7c0 -0096ae70 00435c20 -0096ae70 00592200 -0096ae70 004cf210 -0096ae70 007525e0 +0096ae70 00aef15c 0096ae70 0040c000 +0096ae70 006fe410 +0096ae70 00960a20 +0096ae70 00435c20 +0096ae70 00676020 0096ae70 0092dc30 -0096ae70 00682ed0 -0096ae70 00677780 -0096ae70 006eef60 -0096ae70 00676150 +0096ae70 00675fc0 0096ae70 009614d0 -0096ae70 006b5b90 -0096ae70 0041d520 +0096ae70 EXTERNAL:00000220 +0096ae70 007aa7c0 +0096ae70 007009a0 +0096ae70 0040ccd0 +0096ae70 004cf210 +0096ae70 00812f50 +0096ae70 006ff2a0 +0096ae70 006eef60 +0096ae70 00682ed0 +0096ae70 0041d540 +0096ae70 00707e10 0096ae70 00aef12b +0096ae70 006b5b90 +0096ae70 0040bf30 +0096ae70 0041d520 +0096ae70 0067f070 +0096ae70 00435a50 +0096ae70 00676150 +0096ae70 00966650 +0096ae70 004cdcf0 +0096ae70 00592200 +0096ae70 007525e0 +0096ae70 00677780 +0096ae70 00813360 +0096ae70 00428b20 +0096ae70 007706e0 0096cb60 006a8290 -0096cb60 00aef5c4 0096cb60 0099c290 +0096cb60 00aef5c4 0096ccf0 00aef15c 0096ccf0 0096cd20 +0096cd20 004cf210 +0096cd20 00426980 +0096cd20 00aef638 0096cd20 004149d0 0096cd20 005cb9b0 -0096cd20 00426980 0096cd20 006a8850 -0096cd20 00aef638 -0096cd20 004cf210 -0096ced0 00af0917 0096ced0 00aefca0 +0096ced0 00af0917 0096cf80 0096ce70 +0096cf80 0096cf40 0096cf80 00431640 0096cf80 006ac530 0096cf80 00417430 -0096cf80 0096cf40 -0096d120 004cdcf0 0096d120 004cf210 -0096d160 0041d540 -0096d160 00af08cf +0096d120 004cdcf0 0096d160 00435a50 +0096d160 00af08cf +0096d160 0041d540 0096d160 0041d520 0096d3f0 00af08b1 -0096d3f0 00813360 -0096d3f0 0041d540 -0096d3f0 00865340 -0096d3f0 00733ca0 -0096d3f0 00676020 -0096d3f0 007009a0 -0096d3f0 00707e10 -0096d3f0 00734900 -0096d3f0 00812f50 -0096d3f0 004288a0 -0096d3f0 00a68490 -0096d3f0 007079c0 -0096d3f0 006fe410 -0096d3f0 0090b100 -0096d3f0 006ac760 -0096d3f0 006ff2a0 -0096d3f0 00734180 -0096d3f0 006f0090 -0096d3f0 0096ee00 -0096d3f0 009e0680 -0096d3f0 008646e0 0096d3f0 00956780 -0096d3f0 009e24a0 -0096d3f0 004cf210 -0096d3f0 007525e0 -0096d3f0 00a112c0 -0096d3f0 007078f0 -0096d3f0 0092dc30 -0096d3f0 00682ed0 -0096d3f0 00677780 -0096d3f0 006eef60 -0096d3f0 00676150 -0096d3f0 00418500 -0096d3f0 0041d520 -0096d3f0 00aef12b +0096d3f0 007079c0 +0096d3f0 00a68490 0096d3f0 00734a80 -0096ee00 006831c0 -0096ee00 004e46d0 +0096d3f0 007078f0 +0096d3f0 0096ee00 +0096d3f0 006fe410 +0096d3f0 009e24a0 +0096d3f0 0090b100 +0096d3f0 00734180 +0096d3f0 006ac760 +0096d3f0 00a112c0 +0096d3f0 00676020 +0096d3f0 008646e0 +0096d3f0 0092dc30 +0096d3f0 00733ca0 +0096d3f0 007009a0 +0096d3f0 00734900 +0096d3f0 004cf210 +0096d3f0 00812f50 +0096d3f0 006ff2a0 +0096d3f0 006eef60 +0096d3f0 00682ed0 +0096d3f0 0041d540 +0096d3f0 00707e10 +0096d3f0 00aef12b +0096d3f0 0041d520 +0096d3f0 009e0680 +0096d3f0 00676150 +0096d3f0 006f0090 +0096d3f0 00418500 +0096d3f0 00865340 +0096d3f0 007525e0 +0096d3f0 00677780 +0096d3f0 00813360 +0096d3f0 004288a0 0096ee00 00aef12b -0096f070 00aef29d -0096f070 004cdcf0 -0096f070 0097fc10 +0096ee00 004e46d0 +0096ee00 006831c0 0096f070 00aef253 +0096f070 0097fc10 0096f070 004cf210 -0096f310 004cdcf0 -0096f310 006eef60 -0096f310 006fe410 +0096f070 004cdcf0 +0096f070 00aef29d 0096f310 004cf210 +0096f310 006eef60 +0096f310 004cdcf0 +0096f310 006fe410 0096f420 00aefca0 0096f470 006827a0 -0096f590 0040a1b0 -0096f590 006a93a0 +0096f590 0040a5d0 0096f590 0040bd50 0096f590 008615e0 -0096f590 0040a5d0 +0096f590 0040a1b0 +0096f590 006a93a0 +0096f880 00956780 +0096f880 006eef60 0096f880 009568e0 0096f880 0092dc30 -0096f880 006eef60 -0096f880 00956780 0096fc70 0096fd60 -0096fd60 00a112c0 -0096fd60 0081f8b0 0096fd60 00af08cf -009704a0 0096f4e0 -009704a0 0041d540 -009704a0 004171b0 -009704a0 00435f50 -009704a0 00435a50 +0096fd60 0081f8b0 +0096fd60 00a112c0 009704a0 0097fc10 -009704a0 0097baa0 +009704a0 004171b0 +009704a0 0041d540 +009704a0 00435f50 009704a0 00973c60 -009704a0 0096f880 009704a0 00a10100 -009704a0 0097f820 -009704a0 007f0800 -009704a0 0096fc70 009704a0 0041d520 -00970cb0 00813360 -00970cb0 0041d540 +009704a0 0096fc70 +009704a0 0097f820 +009704a0 00435a50 +009704a0 0096f4e0 +009704a0 0097baa0 +009704a0 0096f880 +009704a0 007f0800 00970cb0 009805b0 -00970cb0 00aef15c -00970cb0 00435a50 -00970cb0 007f0800 -00970cb0 00971590 -00970cb0 00a0f4c0 -00970cb0 006527d0 00970cb0 00417170 +00970cb0 006527d0 +00970cb0 00435a50 +00970cb0 00a0f4c0 +00970cb0 00aef15c +00970cb0 0041d540 +00970cb0 00813360 +00970cb0 00971590 00970cb0 0041d520 -00971590 00812c90 -00971590 004171b0 -00971590 0081e6e0 -00971590 0067f170 -00971590 00709df0 -00971590 006eef60 -00971590 00431310 +00970cb0 007f0800 00971590 007bf6c0 00971590 00417170 +00971590 00431310 +00971590 004171b0 +00971590 00812c90 00971590 00435c20 +00971590 006eef60 +00971590 00709df0 +00971590 0081e6e0 +00971590 0067f170 00971590 00aef12b -00971810 00af08b1 -00971810 0041d540 -00971810 006ee340 -00971810 00428b20 -00971810 00435a50 -00971810 00435f50 -00971810 00417170 -00971810 00812f50 -00971810 006831c0 -00971810 0096ce30 -00971810 0040c740 -00971810 0042c920 -00971810 0099c340 -00971810 006b2210 00971810 0042c880 -00971810 006ac760 -00971810 00435c20 +00971810 00417170 +00971810 00af08b1 00971810 0040b220 -00971810 00592200 +00971810 0096ce30 +00971810 006831c0 00971810 0097e3c0 -00971810 0096cf80 -00971810 0040a220 -00971810 006ac560 -00971810 00677780 -00971810 00682ed0 +00971810 00435c20 +00971810 006ee340 +00971810 0099c340 +00971810 006ac760 +00971810 006b2210 +00971810 00812f50 00971810 006eef60 -00971810 00676150 -00971810 0041d520 +00971810 00435f50 +00971810 0041d540 +00971810 0040a220 +00971810 00682ed0 00971810 00aef12b +00971810 0096cf80 +00971810 0041d520 +00971810 00435a50 +00971810 006ac560 +00971810 00676150 +00971810 00592200 +00971810 00677780 +00971810 0042c920 +00971810 0040c740 +00971810 00428b20 009737b0 00435a50 -009737b0 00971810 009737b0 00970cb0 -00973a50 006ac760 -00973a50 006eef60 +009737b0 00971810 00973a50 007bf6c0 +00973a50 006eef60 +00973a50 006ac760 00973a50 00aef12b -00973c60 0041d540 -00973c60 007c2d50 -00973c60 00a0ff30 -00973c60 009737b0 -00973c60 00a155c0 -00973c60 0097fc10 -00973c60 00a10030 -00973c60 00812f50 -00973c60 004cdcf0 -00973c60 0067f070 -00973c60 009a12b0 -00973c60 0067f010 -00973c60 009a1520 -00973c60 0040a360 -00973c60 004171b0 -00973c60 0096d120 -00973c60 0096ce90 -00973c60 009a0fa0 -00973c60 0096f310 -00973c60 00a10420 -00973c60 00436090 -00973c60 006ac560 -00973c60 00703670 -00973c60 0040a380 -00973c60 006eef60 -00973c60 0096fc70 -00973c60 0097fe60 -00973c60 00428b20 -00973c60 00435a50 -00973c60 00a104b0 -00973c60 00a0ffc0 -00973c60 007dd460 -00973c60 00a0fea0 -00973c60 004071f0 -00973c60 00417430 -00973c60 0099fed0 -00973c60 00a10100 -00973c60 009568e0 -00973c60 0099fa60 -00973c60 0097f820 -00973c60 00407170 -00973c60 00452bf0 -00973c60 006b5b50 -00973c60 00682740 -00973c60 006ac760 -00973c60 0040a720 -00973c60 0084d8b0 -00973c60 006ac710 -00973c60 006827a0 -00973c60 0099f2c0 -00973c60 009a0740 -00973c60 00435c20 -00973c60 00592200 -00973c60 004cf210 -00973c60 00431570 -00973c60 00682a50 -00973c60 00499d60 -00973c60 00682ed0 -00973c60 0040d040 -00973c60 0041af60 -00973c60 004175b0 -00973c60 00676150 -00973c60 004a2920 -00973c60 0041d520 -00973c60 006a92a0 -00973c60 0040a6e0 -00973c60 00af08b1 -00973c60 00499350 -00973c60 00a102e0 -00973c60 00417170 -00973c60 0099c790 -00973c60 00a10630 -00973c60 0096ce30 -00973c60 009a0520 -00973c60 00a10390 -00973c60 0096f070 -00973c60 0096ce70 -00973c60 00652a90 -00973c60 00a10540 -00973c60 009a0de0 -00973c60 0040a220 -00973c60 0040a550 -00973c60 00a10450 -00973c60 00a0ff90 -00973c60 00aef12b -00973c60 00407e90 00973c60 00a10480 -00973c60 00499da0 -00973c60 004073b0 -00973c60 00676120 -00973c60 009a0c50 -00973c60 008131e0 -00973c60 0096d3f0 +00973c60 0040a550 00973c60 00435b50 -00973c60 00973a50 -00973c60 0070be60 -00973c60 0099e360 -00973c60 0099ec00 +00973c60 009568e0 +00973c60 0096ee00 +00973c60 00682a50 +00973c60 009a0fa0 +00973c60 0084d8b0 +00973c60 00431570 +00973c60 00a10350 +00973c60 00407e90 +00973c60 00a10420 +00973c60 00a0ffc0 +00973c60 009a0740 +00973c60 0040a220 +00973c60 00a0fea0 +00973c60 009a0520 +00973c60 0096f310 +00973c60 00a0ff90 +00973c60 00652a90 +00973c60 0041d520 +00973c60 0041af60 00973c60 00a10600 00973c60 004cf1d0 -00973c60 0042f2a0 -00973c60 00407690 -00973c60 00a10350 -00973c60 0096ee00 -00973c60 004171d0 -00973c60 0096d160 -00973c60 00a104e0 -00973c60 007f0b40 -00973c60 007f0780 +00973c60 006ac560 +00973c60 00a155c0 +00973c60 00499350 +00973c60 00407170 00973c60 0099efc0 -00977cc0 EXTERNAL:00000220 -00977cc0 00428b20 -00977cc0 00aef15c -00977cc0 009704a0 -00977cc0 0040bd50 -00977cc0 00956780 -00977cc0 0097baa0 +00973c60 00af08b1 +00973c60 00452bf0 +00973c60 0096ce30 +00973c60 0097f820 +00973c60 0040d040 +00973c60 00a10450 +00973c60 006ac760 +00973c60 0040a6e0 +00973c60 0099c790 +00973c60 00417430 +00973c60 00682740 +00973c60 00a10540 +00973c60 009737b0 +00973c60 00499da0 +00973c60 006a92a0 +00973c60 004175b0 +00973c60 0040a380 +00973c60 00676120 +00973c60 009a12b0 +00973c60 00a10390 +00973c60 009a0c50 +00973c60 00a10030 +00973c60 00428b20 +00973c60 00417170 +00973c60 008131e0 +00973c60 00436090 +00973c60 0097fe60 +00973c60 0096fc70 +00973c60 00703670 +00973c60 0096ce70 +00973c60 00435c20 +00973c60 0042f2a0 +00973c60 006827a0 +00973c60 006ac710 +00973c60 004171b0 +00973c60 0097fc10 +00973c60 004cf210 +00973c60 007f0780 +00973c60 0041d540 +00973c60 006eef60 +00973c60 0040a720 +00973c60 00a10100 +00973c60 0099e360 +00973c60 00973a50 +00973c60 0040a360 +00973c60 00a10630 +00973c60 0096d120 +00973c60 00435a50 +00973c60 00676150 +00973c60 00a104b0 +00973c60 0099fed0 +00973c60 004cdcf0 +00973c60 00a0ff30 +00973c60 004171d0 +00973c60 007c2d50 +00973c60 00407690 +00973c60 0099f2c0 +00973c60 0070be60 +00973c60 0096ce90 +00973c60 0096d3f0 +00973c60 0096d160 +00973c60 004a2920 +00973c60 00a104e0 +00973c60 009a0de0 +00973c60 007f0b40 +00973c60 00499d60 +00973c60 0099fa60 +00973c60 0099ec00 +00973c60 004071f0 +00973c60 00812f50 +00973c60 00682ed0 +00973c60 009a1520 +00973c60 007dd460 +00973c60 004073b0 +00973c60 00aef12b +00973c60 0067f070 +00973c60 0096f070 +00973c60 006b5b50 +00973c60 00592200 +00973c60 0067f010 +00973c60 00a102e0 00977cc0 00417170 -00977cc0 00973c60 -00977cc0 0040a5d0 -00977cc0 00592200 -00977cc0 004cf210 -00977cc0 006ae820 -00977cc0 0040cf00 -00977cc0 0092e560 -00977cc0 0096ce30 +00977cc0 00956780 +00977cc0 EXTERNAL:00000220 00977cc0 0092e230 +00977cc0 004cf210 +00977cc0 00aef15c +00977cc0 00973c60 +00977cc0 00aef12b +00977cc0 009704a0 +00977cc0 0096ce30 +00977cc0 0092e560 +00977cc0 008616c0 +00977cc0 006ae820 +00977cc0 0040a5d0 00977cc0 004cdcf0 +00977cc0 00592200 +00977cc0 00684b90 +00977cc0 0097baa0 +00977cc0 0040bd50 +00977cc0 0092dc30 00977cc0 00407170 00977cc0 0040a1b0 -00977cc0 00684b90 -00977cc0 0092dc30 -00977cc0 008616c0 -00977cc0 00aef12b +00977cc0 00428b20 +00977cc0 0040cf00 009785d0 00af08b1 -009785d0 004072e0 -009785d0 EXTERNAL:00000220 -009785d0 0041d540 -009785d0 0040a140 -009785d0 00925df0 -009785d0 00aef15c -009785d0 00435a50 -009785d0 00a0ffc0 -009785d0 007cf8c0 -009785d0 00a10030 -009785d0 00682260 009785d0 00417170 009785d0 00683060 -009785d0 004073d0 -009785d0 008617a0 -009785d0 0040bbf0 -009785d0 006831c0 -009785d0 0096ce30 -009785d0 006b7250 -009785d0 00408590 -009785d0 00a10dd0 -009785d0 009803e0 -009785d0 00af0917 -009785d0 00980430 -009785d0 00a1d710 -009785d0 004071c0 -009785d0 00a14050 -009785d0 0042f430 +009785d0 007cf8c0 009785d0 0040b220 -009785d0 00a112c0 -009785d0 0040c550 -009785d0 0040a220 -009785d0 0067f310 -009785d0 00a0f550 -009785d0 0040a0d0 009785d0 007e86b0 +009785d0 00980430 +009785d0 00aef15c +009785d0 008617a0 +009785d0 00408590 +009785d0 0040a0d0 +009785d0 0042f430 +009785d0 00a1d710 +009785d0 0096ce30 +009785d0 00af0917 +009785d0 006831c0 +009785d0 00a112c0 +009785d0 004073d0 +009785d0 004071c0 +009785d0 00682260 +009785d0 EXTERNAL:00000220 +009785d0 00a0ffc0 +009785d0 0040a140 +009785d0 0040a220 +009785d0 0041d540 +009785d0 006b7250 +009785d0 00aef12b +009785d0 0067f310 +009785d0 00925df0 +009785d0 0040c550 009785d0 0041d520 009785d0 00a13560 -009785d0 00aef12b +009785d0 00435a50 009785d0 0040c440 -0097baa0 EXTERNAL:00000220 -0097baa0 00aef15c -0097baa0 007c2d50 -0097baa0 00435a50 -0097baa0 009737b0 -0097baa0 008131e0 -0097baa0 00431310 +009785d0 00a0f550 +009785d0 0040bbf0 +009785d0 009803e0 +009785d0 004072e0 +009785d0 00a10030 +009785d0 00a14050 +009785d0 00a10dd0 0097baa0 00417170 -0097baa0 0040a5d0 -0097baa0 0096d3f0 -0097baa0 00973a50 -0097baa0 00812f50 -0097baa0 004073d0 +0097baa0 00aef15c +0097baa0 008131e0 0097baa0 00452bf0 -0097baa0 006a8fa0 -0097baa0 0099e360 +0097baa0 0096d3f0 0097baa0 EXTERNAL:00000262 -0097baa0 0099ec00 -0097baa0 009a0520 -0097baa0 004997f0 -0097baa0 0041a790 -0097baa0 006ac760 -0097baa0 00592200 +0097baa0 0040a5d0 +0097baa0 006a8fa0 0097baa0 009a0de0 -0097baa0 0040a1b0 -0097baa0 00af08cf -0097baa0 006ac560 +0097baa0 006ac760 +0097baa0 004073d0 0097baa0 009a0850 -0097baa0 0041d520 +0097baa0 0099ec00 +0097baa0 EXTERNAL:00000220 +0097baa0 00af08cf +0097baa0 00812f50 +0097baa0 009a0520 0097baa0 00aef12b +0097baa0 0099e360 +0097baa0 009737b0 +0097baa0 00973a50 +0097baa0 0041d520 +0097baa0 004997f0 +0097baa0 00431310 +0097baa0 00435a50 +0097baa0 006ac560 +0097baa0 00592200 +0097baa0 0040a1b0 +0097baa0 007c2d50 +0097baa0 0041a790 0097ca90 00af08b1 -0097ca90 EXTERNAL:00000220 -0097ca90 00af0917 -0097ca90 00980430 -0097ca90 00925df0 -0097ca90 00aef15c -0097ca90 00435a50 -0097ca90 0042f430 0097ca90 00417170 -0097ca90 0040b220 -0097ca90 00a112c0 0097ca90 00683060 -0097ca90 0040bbf0 -0097ca90 0040c550 -0097ca90 0096ce30 -0097ca90 0040a220 -0097ca90 00a0f550 -0097ca90 00408590 +0097ca90 EXTERNAL:00000220 +0097ca90 0040b220 0097ca90 007e86b0 -0097ca90 00a10dd0 -0097ca90 009803e0 +0097ca90 00980430 +0097ca90 00aef15c +0097ca90 0040a220 +0097ca90 00408590 +0097ca90 0042f430 0097ca90 00aef12b +0097ca90 0096ce30 +0097ca90 00925df0 +0097ca90 0040c550 +0097ca90 00af0917 +0097ca90 00435a50 0097ca90 0090b100 +0097ca90 00a0f550 +0097ca90 0040bbf0 +0097ca90 00a112c0 +0097ca90 009803e0 +0097ca90 00a10dd0 0097e3c0 00af08b1 -0097e3c0 0067d1f0 -0097e3c0 0096ce70 -0097e3c0 006b62b0 -0097e3c0 00431310 0097e3c0 00956780 0097e3c0 00417170 -0097e3c0 00431570 -0097e3c0 0096ce30 -0097e3c0 006a8fa0 -0097e3c0 0067af60 -0097e3c0 0092dc30 -0097e3c0 006b5b90 0097e3c0 007e9080 +0097e3c0 0067d1f0 0097e3c0 00aef12b -0097e6f0 0097baa0 +0097e3c0 0067af60 +0097e3c0 0096ce30 +0097e3c0 006b5b90 +0097e3c0 0096ce70 +0097e3c0 00431310 +0097e3c0 006a8fa0 +0097e3c0 00431570 +0097e3c0 0092dc30 +0097e3c0 006b62b0 0097e6f0 00973c60 +0097e6f0 0097baa0 0097e7c0 006ac760 -0097e800 006acb60 0097e800 004cf210 +0097e800 006acb60 0097ea30 0092e230 0097ea30 006acb00 -0097eb50 00aef29d -0097eb50 0041d540 -0097eb50 00af0917 -0097eb50 00a1d710 0097eb50 00435a50 -0097eb50 00a0f550 0097eb50 00aef253 +0097eb50 00a0f550 +0097eb50 0041d540 +0097eb50 00a1d710 +0097eb50 00aef29d 0097eb50 0041d520 +0097eb50 00af0917 0097f820 00af08b1 0097f820 EXTERNAL:00000220 -0097f820 0040cf00 -0097f820 00428b20 -0097f820 004cdcf0 -0097f820 0040a1b0 +0097f820 0040a5d0 +0097f820 004cf210 0097f820 00aef15c 0097f820 006eef60 +0097f820 004cdcf0 0097f820 0040bd50 -0097f820 0040a5d0 0097f820 00aef12b -0097f820 004cf210 -0097fc10 00a112c0 -0097fc10 0040a1b0 -0097fc10 00420a80 +0097f820 0040a1b0 +0097f820 00428b20 +0097f820 0040cf00 0097fc10 0040a5d0 0097fc10 00408e00 +0097fc10 00a112c0 0097fc10 00aef12b +0097fc10 00420a80 +0097fc10 0040a1b0 0097fe50 0097fc10 0097fe60 00af08b1 +0097fe60 00435a50 0097fe60 0041d540 0097fe60 00499d60 -0097fe60 00435a50 0097fe60 00a10030 0097fe60 00682740 0097fe60 00499d20 0097fe60 0041d520 +00980430 0040cee0 00980430 0042f550 +00980430 0042f6f0 00980430 004268e0 00980430 0040cf00 -00980430 0042f6f0 -00980430 0040cee0 00980430 00415bc0 -009805b0 004170d0 -009805b0 00415fe0 009805b0 00415f80 009805b0 00a0f4c0 -009807a0 00a27980 -009807a0 00af05df +009805b0 00415fe0 +009805b0 004170d0 009807a0 EXTERNAL:00000220 -009807a0 00aef15c -009807a0 00a26d30 009807a0 00a0f4c0 -009807a0 00a62e10 -009807a0 00a648b0 -009807a0 0040cf50 -009807a0 0040ccc0 -009807a0 0040cf00 -009807a0 EXTERNAL:000001d7 -009807a0 0040d040 -009807a0 007e9020 +009807a0 00aef15c 009807a0 009a3ac0 009807a0 00aef12b -00980b40 00407f10 +009807a0 00a27980 +009807a0 00a26d30 +009807a0 0040cf50 +009807a0 00a648b0 +009807a0 00af05df +009807a0 0040d040 +009807a0 00a62e10 +009807a0 007e9020 +009807a0 EXTERNAL:000001d7 +009807a0 0040ccc0 +009807a0 0040cf00 00980b40 0040d040 +00980b40 00407f10 00980b40 004087a0 00980eb0 EXTERNAL:00000220 -00980eb0 0040cf00 -00980eb0 0040a1b0 -00980eb0 00aef15c -00980eb0 00408d00 -00980eb0 0040bd50 00980eb0 0040a5d0 +00980eb0 00aef15c +00980eb0 0040bd50 00980eb0 00aef12b +00980eb0 0040a1b0 +00980eb0 00408d00 +00980eb0 0040cf00 00981140 0098ae20 -00981140 00420190 -00981140 00aef15c -00981140 00420710 -00981140 00409030 -00981140 009c2db0 -00981140 0040a5d0 -00981140 00982100 -00981140 0040b430 -00981140 00408d00 -00981140 0090e7d0 -00981140 00a20fb0 -00981140 009e9320 -00981140 009c25e0 -00981140 009c3410 -00981140 00989750 -00981140 00956780 -00981140 0098aec0 -00981140 00a112c0 00981140 00424540 -00981140 0092dc30 -00981140 00a0f550 -00981140 0040a380 -00981140 009c39e0 +00981140 00956780 00981140 009e9430 +00981140 00aef15c +00981140 0090e7d0 +00981140 009e9320 00981140 00983190 -00981140 00408b90 +00981140 0098aec0 +00981140 0040a5d0 +00981140 00a112c0 00981140 00424440 -00981140 00aef12b +00981140 0092dc30 +00981140 00989750 00981140 00907200 +00981140 009c3410 +00981140 0040b430 +00981140 00420190 +00981140 00aef12b +00981140 00408d00 +00981140 0040a380 +00981140 00982100 +00981140 00a0f550 +00981140 009c25e0 +00981140 00409030 +00981140 00a20fb0 +00981140 009c39e0 +00981140 00420710 +00981140 00408b90 +00981140 009c2db0 00981c80 00683060 00981c80 0040a030 -00981c80 0040c550 -00981c80 00a0f550 -00981c80 00a14050 -00981c80 00a10e70 -00981c80 0095af30 00981c80 0040ace0 -00981c80 00a11160 +00981c80 0095af30 +00981c80 00a0f550 00981c80 00aef12b +00981c80 00a11160 +00981c80 00a10e70 +00981c80 0040c550 +00981c80 00a14050 00982060 00982100 -00982060 0040a1b0 00982060 0040a5d0 -00982100 EXTERNAL:00000220 -00982100 00aef15c -00982100 004147f0 -00982100 00a1b140 -00982100 0040a5d0 -00982100 00a1b2d0 -00982100 00a1b8e0 -00982100 0040ccc0 -00982100 006851f0 -00982100 00407170 -00982100 00a19180 -00982100 0067f580 -00982100 009832b0 +00982060 0040a1b0 00982100 00a1ba10 -00982100 00a2c250 -00982100 004997f0 -00982100 006856c0 -00982100 00684f30 00982100 0040a030 -00982100 008f8860 -00982100 0041e420 -00982100 0040b220 -00982100 00421680 -00982100 00a112c0 -00982100 0040a1b0 -00982100 00a0f550 -00982100 0040d040 -00982100 00456750 -00982100 00a18300 -00982100 00a18230 -00982100 00408b90 -00982100 00651a50 00982100 0040ace0 +00982100 0040b220 +00982100 008f8860 +00982100 00aef15c +00982100 00684f30 +00982100 0067f580 +00982100 0040a5d0 +00982100 0040d040 +00982100 00a2c250 +00982100 00a1b2d0 +00982100 00a112c0 +00982100 00a1b140 +00982100 0040ccc0 +00982100 009832b0 +00982100 00651a50 +00982100 00a18230 +00982100 EXTERNAL:00000220 +00982100 00a1b8e0 00982100 00745ca0 00982100 00aef12b -00983190 009c3c30 +00982100 006856c0 +00982100 006851f0 +00982100 00a19180 +00982100 004997f0 +00982100 00a18300 +00982100 00a0f550 +00982100 0041e420 +00982100 00407170 +00982100 004147f0 +00982100 0040a1b0 +00982100 00456750 +00982100 00408b90 +00982100 00421680 00983190 0098ae20 -00983190 004209d0 -00983190 009c3ab0 -00983190 009c39e0 +00983190 009c3c30 00983190 009c25e0 +00983190 004209d0 +00983190 009c39e0 +00983190 009c3ab0 009832b0 0040d040 -00983330 00409030 00983330 009833c0 +00983330 00409030 00983330 009839f0 -009833c0 0040a1b0 -009833c0 00984550 -009833c0 0092dc30 -009833c0 EXTERNAL:00000262 009833c0 00956780 -009833c0 0041a790 009833c0 0040a5d0 +009833c0 0092dc30 +009833c0 00984550 +009833c0 0040a1b0 +009833c0 0041a790 009833c0 007db700 +009833c0 EXTERNAL:00000262 009837b0 00983970 -009837b0 0040a380 009837b0 009839b0 +009837b0 0040a380 009838c0 0040a380 +009839f0 00956780 +009839f0 00930220 +009839f0 00aef12b +009839f0 00816910 +009839f0 007db6b0 +009839f0 007c7960 009839f0 009305f0 009839f0 009837b0 -009839f0 007706e0 -009839f0 00956780 +009839f0 009838c0 009839f0 00a112c0 009839f0 007cafe0 -009839f0 00816910 009839f0 0092dc30 -009839f0 007c7960 -009839f0 00930220 -009839f0 009838c0 -009839f0 007db6b0 -009839f0 00aef12b +009839f0 007706e0 00983f30 006eef60 -00983f30 006fe410 00983f30 00aef12b -00984550 0040ccd0 -00984550 00812c90 -00984550 0041d540 -00984550 00428b20 -00984550 0070ee40 -00984550 00740bc0 -00984550 00709df0 -00984550 00709c40 -00984550 009568e0 -00984550 00703ab0 -00984550 00812d00 -00984550 007e90f0 -00984550 00823080 +00983f30 006fe410 00984550 00956780 00984550 00a0f4c0 -00984550 00709db0 +00984550 00823080 +00984550 00709df0 00984550 0042f430 -00984550 007ebca0 -00984550 00a112c0 -00984550 00813520 -00984550 0092dc30 -00984550 00703670 -00984550 00426940 -00984550 006eef60 -00984550 0074eaf0 -00984550 007e9020 -00984550 0074b5d0 -00984550 007f0780 -00984550 00703950 -00984550 0041d520 +00984550 009568e0 00984550 0060af00 -00984550 006a92a0 +00984550 00812d00 +00984550 00426940 +00984550 00703670 +00984550 00812c90 +00984550 00a112c0 +00984550 0092dc30 +00984550 007ebca0 +00984550 0070ee40 +00984550 0074eaf0 +00984550 0040ccd0 +00984550 007f0780 +00984550 006eef60 +00984550 0041d540 +00984550 00709db0 00984550 00417870 -00985c10 00a1b8e0 +00984550 00709c40 +00984550 00740bc0 +00984550 006a92a0 +00984550 0041d520 +00984550 0074b5d0 +00984550 00813520 +00984550 007e9020 +00984550 00703ab0 +00984550 00703950 +00984550 007e90f0 +00984550 00428b20 00985c10 00a1af90 00985c10 0040a030 -00985c10 00709e50 +00985c10 00a1b8e0 00985c10 00a0f550 +00985c10 00709e50 00985c10 0041e420 00985c10 00aef12b -00985f00 EXTERNAL:00000220 -00985f00 0040cf00 00985f00 009837b0 -00985f00 0040c000 -00985f00 0040a1b0 +00985f00 EXTERNAL:00000220 +00985f00 0040a5d0 00985f00 00aef15c -00985f00 0040a380 00985f00 009838c0 00985f00 0040bd50 -00985f00 0040a5d0 +00985f00 0040c000 00985f00 00aef12b -00986450 00a28790 -00986450 00a1d610 -00986450 009c3f30 -00986450 00946e70 +00985f00 0040a1b0 +00985f00 0040a380 +00985f00 0040cf00 00986450 009e9290 -00986450 008dc1a0 -00986450 009b1fc0 00986450 00a0f4c0 +00986450 009c3f30 +00986450 00a28790 +00986450 00856f70 00986450 00aef5c4 -00986450 004074c0 00986450 00a0f550 00986450 00987360 -00986450 00856f70 -00986f30 00945db0 -00986f30 0040c7f0 -00986f30 008c5d70 -00986f30 008f0120 -00986f30 004149d0 -00986f30 0094e800 -00986f30 00980b40 -00986f30 009d8d50 -00986f30 00aef15c -00986f30 008c9e10 -00986f30 00947070 -00986f30 008e7630 -00986f30 00407f10 -00986f30 008dc3c0 +00986450 00946e70 +00986450 009b1fc0 +00986450 00a1d610 +00986450 008dc1a0 +00986450 004074c0 00986f30 00424540 00986f30 009ec1d0 -00986f30 008e4a20 -00986f30 00709150 -00986f30 009b2090 -00986f30 0040d040 -00986f30 004087a0 +00986f30 008e7630 +00986f30 00407f10 +00986f30 00aef15c +00986f30 00945db0 00986f30 00aef638 +00986f30 004149d0 +00986f30 008dc3c0 +00986f30 008c5d70 +00986f30 00947070 +00986f30 0040d040 +00986f30 00980b40 +00986f30 009d8d50 +00986f30 0040c7f0 +00986f30 008e4a20 +00986f30 008f0120 +00986f30 009b2090 +00986f30 008c9e10 +00986f30 0094e800 +00986f30 00709150 +00986f30 004087a0 00986f30 008cf510 00987360 00a0f550 -00987360 00a11f30 00987360 007090c0 +00987360 00a11f30 00987450 00a112c0 -00988ba0 00407f10 -00988ba0 009ec600 -00988ba0 009d92c0 00988ba0 008cbaf0 +00988ba0 009ec600 +00988ba0 00407f10 +00988ba0 009d92c0 00988ba0 008e7ce0 -00988d80 0040ccd0 00988d80 EXTERNAL:00000220 -00988d80 00980eb0 +00988d80 009d9560 +00988d80 0040ccd0 00988d80 00aef15c -00988d80 008e4970 00988d80 00948200 -00988d80 009502c0 -00988d80 0040bd50 -00988d80 009ec880 00988d80 008cbd60 -00988d80 0040a5d0 -00988d80 00946b80 +00988d80 00aef12b +00988d80 0040a380 00988d80 008d0470 00988d80 008c6240 -00988d80 0040cf00 +00988d80 008e4970 +00988d80 0040a5d0 00988d80 009ef740 00988d80 008e7f60 -00988d80 009b22a0 +00988d80 0040bd50 +00988d80 009ec880 00988d80 0040a1b0 -00988d80 009d9560 +00988d80 00946b80 +00988d80 009b22a0 00988d80 008ceb90 -00988d80 0040a380 +00988d80 0040cf00 +00988d80 00980eb0 +00988d80 009502c0 00988d80 008dca50 -00988d80 00aef12b 00989750 00a112c0 -00989750 007e1e70 00989750 00954b40 00989750 00951f60 -009897d0 008e4b10 -009897d0 0040a7e0 +00989750 007e1e70 009897d0 0098ae20 -009897d0 006ef410 -009897d0 008ced40 -009897d0 00a20390 -009897d0 00435a50 -009897d0 008cbfe0 -009897d0 00409030 -009897d0 008e3830 -009897d0 00a157f0 -009897d0 008cf610 -009897d0 008f01b0 -009897d0 008d8b00 -009897d0 008ce080 -009897d0 004242b0 -009897d0 009d9c60 -009897d0 0040b430 -009897d0 008e8240 -009897d0 004209d0 -009897d0 008c64e0 -009897d0 00a20240 -009897d0 00a20fb0 -009897d0 009b23a0 -009897d0 009c25e0 -009897d0 008c9530 -009897d0 008dce10 -009897d0 0040b220 -009897d0 009ecbc0 -009897d0 008e7250 -009897d0 00a112c0 009897d0 00a205a0 -009897d0 00a159a0 -009897d0 009c3d10 -009897d0 00981140 -009897d0 00945e50 009897d0 0094e910 -009897d0 009c39e0 +009897d0 0040b220 +009897d0 00a157f0 +009897d0 008c9530 +009897d0 008cf610 +009897d0 008e8240 +009897d0 00a20240 +009897d0 008e4b10 +009897d0 00981140 +009897d0 009d9c60 +009897d0 009c3d10 +009897d0 008c64e0 +009897d0 0040a7e0 +009897d0 00945e50 +009897d0 00a112c0 +009897d0 006ef410 +009897d0 008dce10 +009897d0 00a20390 +009897d0 008ce080 +009897d0 0040b430 +009897d0 009b23a0 +009897d0 009ecbc0 +009897d0 00a159a0 009897d0 0041d520 +009897d0 008d8b00 +009897d0 00435a50 +009897d0 008f01b0 +009897d0 008cbfe0 +009897d0 009c25e0 +009897d0 004209d0 +009897d0 00409030 +009897d0 00a20fb0 +009897d0 009c39e0 +009897d0 008ced40 +009897d0 004242b0 +009897d0 008e3830 +009897d0 008e7250 009897d0 00949c20 -0098a040 009da6d0 -0098a040 008c66a0 -0098a040 008c99b0 -0098a040 008cfd40 -0098a040 008cc1a0 0098a040 00683060 -0098a040 00a10d00 -0098a040 00407170 -0098a040 0094ef10 -0098a040 00a19180 -0098a040 006836c0 -0098a040 006856c0 -0098a040 008e8af0 -0098a040 00684f30 0098a040 0040a030 -0098a040 0094a500 -0098a040 009ecdd0 -0098a040 00981c80 -0098a040 00a1dfd0 -0098a040 008ce430 -0098a040 00a14050 -0098a040 00858050 +0098a040 006836c0 0098a040 009462c0 -0098a040 0040c550 +0098a040 00684f30 +0098a040 008cfd40 0098a040 008e3db0 -0098a040 008cf0e0 -0098a040 00a0f550 -0098a040 008d9340 -0098a040 008e6a80 -0098a040 008e4e30 -0098a040 009522b0 -0098a040 00a14c00 -0098a040 008f06e0 -0098a040 009b31c0 -0098a040 00a18300 -0098a040 00a18230 +0098a040 00a10d00 +0098a040 009ecdd0 +0098a040 0094a500 0098a040 008ddae0 +0098a040 00a14c00 +0098a040 008d9340 +0098a040 00a18230 +0098a040 008cf0e0 +0098a040 008e6a80 +0098a040 0094ef10 +0098a040 008e8af0 +0098a040 00a1dfd0 +0098a040 008c66a0 +0098a040 008ce430 +0098a040 008c99b0 0098a040 00aef12b -0098aa30 0040ccd0 -0098aa30 009495f0 -0098aa30 008f19f0 -0098aa30 008c8760 -0098aa30 008e4970 -0098aa30 008de3a0 -0098aa30 008e71c0 -0098aa30 009db2d0 -0098aa30 008ceb90 -0098aa30 0042c920 -0098aa30 008e5260 -0098aa30 00959fa0 -0098aa30 00948fc0 -0098aa30 00982060 -0098aa30 009d8ca0 -0098aa30 009dbdd0 -0098aa30 008cc530 -0098aa30 009d8be0 +0098a040 00981c80 +0098a040 006856c0 +0098a040 008e4e30 +0098a040 0040c550 +0098a040 00a19180 +0098a040 00a18300 +0098a040 00858050 +0098a040 00a0f550 +0098a040 009b31c0 +0098a040 009da6d0 +0098a040 008cc1a0 +0098a040 00407170 +0098a040 008f06e0 +0098a040 009522b0 +0098a040 00a14050 0098aa30 00956780 -0098aa30 008f8c00 -0098aa30 008d0730 -0098aa30 00a112c0 -0098aa30 00946b80 0098aa30 00424540 +0098aa30 008de3a0 +0098aa30 009dbdd0 +0098aa30 008e5260 0098aa30 0040c000 +0098aa30 008f19f0 +0098aa30 008e4970 +0098aa30 009495f0 +0098aa30 00a112c0 0098aa30 0092dc30 +0098aa30 00946b80 +0098aa30 00959fa0 +0098aa30 009db2d0 +0098aa30 009d8ca0 0098aa30 009b52a0 -0098ae20 0098aa30 +0098aa30 008d0730 +0098aa30 00948fc0 +0098aa30 0040ccd0 +0098aa30 008f8c00 +0098aa30 009d8be0 +0098aa30 008cc530 +0098aa30 008e71c0 +0098aa30 00982060 +0098aa30 0042c920 +0098aa30 008ceb90 +0098aa30 008c8760 0098ae20 0042c920 0098ae20 009b2150 +0098ae20 0098aa30 0098aec0 0098aa30 0098af10 00a112c0 0098b0a0 004074c0 -0098b130 00407f10 0098b130 0040d040 +0098b130 00407f10 0098b130 004087a0 +0098b1d0 0040d040 0098b1d0 00407f10 0098b1d0 0040c7f0 -0098b1d0 00709150 -0098b1d0 0040d040 -0098b1d0 EXTERNAL:00000262 0098b1d0 00aef638 +0098b1d0 00709150 +0098b1d0 EXTERNAL:00000262 0098b570 008327e0 -0098b5e0 00684f30 +0098b5e0 006836c0 0098b5e0 0040a030 -0098b5e0 006ee340 -0098b5e0 00af0917 -0098b5e0 00740bc0 +0098b5e0 00684f30 0098b5e0 0074ef70 -0098b5e0 0040a5d0 -0098b5e0 00408e00 -0098b5e0 00a112c0 +0098b5e0 00aef12b +0098b5e0 006856c0 +0098b5e0 00740bc0 +0098b5e0 00af0917 0098b5e0 00a19180 0098b5e0 0074efd0 -0098b5e0 007e9020 0098b5e0 00a18300 +0098b5e0 0040a5d0 +0098b5e0 00408e00 +0098b5e0 006ee340 +0098b5e0 007e9020 +0098b5e0 00a112c0 0098b5e0 00a18230 -0098b5e0 006836c0 -0098b5e0 006856c0 -0098b5e0 00aef12b 0098d560 EXTERNAL:00000220 -0098d560 0040cf00 0098d560 00aef15c -0098d560 00aefca0 -0098d560 00a11f30 0098d560 007090c0 0098d560 0040bd50 -0098d560 009588a0 -0098d560 0040c3b0 0098d560 00aef12b +0098d560 00a11f30 +0098d560 00aefca0 +0098d560 0040c3b0 +0098d560 009588a0 +0098d560 0040cf00 0098db50 0098b5e0 -0098dba0 00a112c0 0098dba0 00af08b1 -0098dba0 0041d540 -0098dba0 00a20390 0098dba0 00746560 -0098dba0 006eef60 0098dba0 00956110 -0098dba0 00840c60 -0098dba0 0041d520 0098dba0 0090b100 -0098e170 0040a030 -0098e170 009be080 +0098dba0 00840c60 +0098dba0 006eef60 +0098dba0 0041d540 +0098dba0 00a112c0 +0098dba0 00a20390 +0098dba0 0041d520 0098e170 006f95a0 +0098e170 009be080 0098e170 006f9400 +0098e170 0040a030 0098e170 0040a5d0 0098e170 00408e00 0098e170 00aef12b +0098e4d0 006f95a0 +0098e4d0 0040a0d0 +0098e4d0 00a10d00 0098e4d0 00827b70 0098e4d0 00af0917 -0098e4d0 00af0911 -0098e4d0 0098ef30 -0098e4d0 006f95a0 -0098e4d0 0098e170 0098e4d0 006f9400 +0098e4d0 00af0911 +0098e4d0 00a0f550 +0098e4d0 0098e170 +0098e4d0 0040a6e0 +0098e4d0 0098ef30 0098e4d0 004073d0 0098e4d0 004288a0 -0098e4d0 00a10d00 -0098e4d0 00407170 -0098e4d0 00a0f550 -0098e4d0 0040a0d0 0098e4d0 008327e0 -0098e4d0 0040a6e0 -0098ef30 00a1af90 -0098ef30 0041e420 +0098e4d0 00407170 0098ef30 006f95a0 -0098ef30 006f9400 0098ef30 00a1b8e0 -0098ef30 004288a0 -0098ef30 009e5d90 -0098ef30 009586f0 -0098ef30 00748490 0098ef30 007bf670 -0098ef30 008327e0 -0098ef30 00a1a540 -0098ef30 00aef12b +0098ef30 00748490 0098ef30 00417870 +0098ef30 00aef12b 0098ef30 007cb060 +0098ef30 00a1af90 +0098ef30 006f9400 +0098ef30 00a1a540 +0098ef30 009e5d90 +0098ef30 0041e420 +0098ef30 004288a0 +0098ef30 008327e0 +0098ef30 009586f0 0098f850 00423020 +0098f8c0 00aef638 0098f8c0 00997410 0098f8c0 00997490 0098f8c0 00423020 -0098f8c0 00aef638 -0098fa60 0040ccd0 0098fa60 EXTERNAL:00000220 0098fa60 EXTERNAL:0000023f +0098fa60 0040ccd0 0098fa60 00aef15c 0098fa60 EXTERNAL:0000023e -0098fa60 00413c70 0098fa60 0098f9d0 0098fa60 00aef12b -00990a40 00996e40 -00990a40 0074e9b0 +0098fa60 00413c70 +00990a40 00997ef0 +00990a40 00997700 +00990a40 0040b220 00990a40 00aef15c -00990a40 004147f0 -00990a40 0040bd50 -00990a40 00997be0 -00990a40 00998270 -00990a40 00a648b0 -00990a40 0040cf50 -00990a40 00aef29d -00990a40 0040ccc0 -00990a40 009981d0 +00990a40 00413b90 00990a40 0067f580 -00990a40 009588a0 +00990a40 00aef29d +00990a40 0082d030 +00990a40 00413bf0 +00990a40 00414b10 +00990a40 0040bd50 +00990a40 00a0f4e0 +00990a40 009981d0 +00990a40 009937b0 +00990a40 00aef253 00990a40 004155d0 +00990a40 0040ccd0 +00990a40 00a178d0 +00990a40 006eef60 00990a40 009973e0 -00990a40 EXTERNAL:0000023f -00990a40 00af0917 -00990a40 00413c70 +00990a40 0040c550 +00990a40 009588a0 +00990a40 0074bae0 +00990a40 00684f70 +00990a40 009975c0 +00990a40 007e9020 +00990a40 00997800 +00990a40 00998300 +00990a40 007e90f0 +00990a40 00996e40 +00990a40 00421680 00990a40 00a0f4c0 00990a40 0098f9d0 -00990a40 009937b0 -00990a40 00998240 -00990a40 0040c550 -00990a40 00997700 -00990a40 0074bae0 -00990a40 0040a380 -00990a40 006eef60 -00990a40 EXTERNAL:0000023e -00990a40 00997800 -00990a40 0098f960 -00990a40 00414b10 -00990a40 00aef12b -00990a40 0040ccd0 -00990a40 EXTERNAL:00000220 +00990a40 0074e9b0 00990a40 00aeff60 -00990a40 009975c0 -00990a40 00413bf0 -00990a40 00a0f4e0 -00990a40 0082d030 -00990a40 006851f0 +00990a40 00af0917 00990a40 00993840 -00990a40 00a178d0 -00990a40 004997f0 -00990a40 00417100 -00990a40 00413b90 -00990a40 00499950 -00990a40 007e90f0 -00990a40 00998300 -00990a40 00414730 -00990a40 00684f70 +00990a40 EXTERNAL:0000023f 00990a40 0098f720 -00990a40 0040b220 -00990a40 00421680 +00990a40 0040d040 +00990a40 00a648b0 +00990a40 00996b30 00990a40 00423480 00990a40 00a112c0 -00990a40 00997ef0 -00990a40 00aef5af -00990a40 0098fa60 -00990a40 0040d040 +00990a40 0040ccc0 +00990a40 EXTERNAL:00000220 +00990a40 00499950 +00990a40 EXTERNAL:0000023e 00990a40 00682ed0 -00990a40 007e9020 +00990a40 00aef5af +00990a40 00aef12b +00990a40 006851f0 +00990a40 00414730 00990a40 00423020 -00990a40 00aef253 +00990a40 0098fa60 +00990a40 0040a380 +00990a40 0098f960 +00990a40 0040cf50 +00990a40 004997f0 +00990a40 00997be0 +00990a40 00998240 +00990a40 00417100 00990a40 009979e0 -00990a40 00996b30 +00990a40 00998270 +00990a40 004147f0 +00990a40 00413c70 00993730 009975c0 -00993840 0040c7f0 -00993840 00996e40 +00993840 009937b0 +00993840 0098f720 00993840 00aef15c 00993840 009975c0 -00993840 0098f720 -00993840 009937b0 -00993840 00aef12b +00993840 0040c7f0 00993840 00997de0 -00993a70 00af0917 -00993a70 00499d60 -00993a70 006828b0 -00993a70 00996e90 +00993840 00aef12b +00993840 00996e40 00993a70 00435a50 +00993a70 00996e90 00993a70 00409030 +00993a70 00499d60 00993a70 009beba0 +00993a70 006828b0 00993a70 00499d20 -00994120 00af0917 -00994120 00a10e70 -00994120 00a14c00 +00993a70 00af0917 00994120 0081e250 -00994670 00994120 +00994120 00a14c00 +00994120 00a10e70 +00994120 00af0917 00994670 00a114d0 -009947b0 00994120 +00994670 00994120 009947b0 00a114d0 -009948f0 00af0917 -009948f0 00a14270 -009948f0 00a114d0 -009948f0 006f95a0 -009948f0 006f9400 +009947b0 00994120 009948f0 00683060 -009948f0 00416440 +009948f0 006f95a0 +009948f0 00a114d0 009948f0 00994120 +009948f0 00a14270 +009948f0 00aef12b +009948f0 00af0917 +009948f0 0041d520 +009948f0 006f9400 +009948f0 00af08ff 009948f0 00a10e70 009948f0 00a10dd0 -009948f0 00af08ff -009948f0 0041d520 -009948f0 00aef12b -009956e0 00af0917 -009956e0 00a14200 -009956e0 00a13750 -009956e0 00a140c0 +009948f0 00416440 009956e0 00a11080 -009956e0 00a671b0 +009956e0 00a14200 009956e0 00a10e70 +009956e0 00a140c0 +009956e0 00a13750 +009956e0 00a671b0 +009956e0 00af0917 00995af0 00a10e70 -00995e00 00994120 00995e00 00a114d0 +00995e00 00994120 00995f40 00aefca0 -009960b0 00a112c0 009960b0 00997510 -009960b0 009588a0 +009960b0 00a112c0 009960b0 0040c3b0 +009960b0 009588a0 00996580 0040a030 -00996580 00af0917 -00996580 009968b0 00996580 00aef12b -009968b0 00af0917 +00996580 009968b0 +00996580 00af0917 009968b0 0040a0d0 -009968b0 009968b0 009968b0 00aef12b -00996b30 00a112c0 +009968b0 009968b0 +009968b0 00af0917 00996b30 0041d540 -00996b30 EXTERNAL:00000263 -00996b30 0040ac70 -00996b30 00a23200 -00996b30 0098f6c0 00996b30 00996b30 +00996b30 00a112c0 +00996b30 EXTERNAL:00000263 +00996b30 0098f6c0 +00996b30 0040ac70 00996b30 00499d20 +00996b30 00a23200 00996b30 0041d520 -00996e40 00996e40 00996e40 00aef15c -00996e90 00a112c0 +00996e40 00996e40 +00996e90 00996e90 +00996e90 00aef15c 00996e90 0041d540 +00996e90 00a112c0 00996e90 EXTERNAL:00000263 00996e90 0040ac70 -00996e90 00996e40 -00996e90 00aef15c -00996e90 00996e90 00996e90 00499d20 00996e90 0041d520 +00996e90 00996e40 009973e0 009975c0 00997410 EXTERNAL:00000220 00997410 00aef15c @@ -49610,8 +49610,8 @@ 00997490 EXTERNAL:00000220 00997490 00aef15c 00997490 00997de0 -00997510 009981d0 00997510 00998300 +00997510 009981d0 00997590 009975c0 009975c0 EXTERNAL:00000220 009975c0 00aef15c @@ -49622,47 +49622,47 @@ 009976a0 00997e70 009976c0 EXTERNAL:00000220 009976c0 00aef15c -00997700 0040cf00 00997700 00998490 00997700 0040cee0 +00997700 0040cf00 00997800 EXTERNAL:00000220 -00997800 0040cf00 00997800 00997700 00997800 009983f0 00997800 00aef15c 00997800 009975c0 00997800 0040cee0 +00997800 0040cf00 00997800 00415bc0 -009979a9 00af05eb 009979a9 00997590 +009979a9 00af05eb 009979a9 00997660 -009979e0 00998030 -009979e0 EXTERNAL:00000220 -009979e0 0040cf00 -009979e0 0040c550 -009979e0 00aef15c 009979e0 00998490 -009979e0 00997e70 +009979e0 EXTERNAL:00000220 +009979e0 00aef15c 009979e0 0040cee0 +009979e0 0040c550 +009979e0 0040cf00 +009979e0 00998030 +009979e0 00997e70 009979e0 00415bc0 00997ba4 00af05eb -00997ba4 009976a0 00997ba4 007e8710 -00997be0 EXTERNAL:00000220 -00997be0 0040cf00 +00997ba4 009976a0 00997be0 00997ef0 +00997be0 EXTERNAL:00000220 00997be0 00aef15c 00997be0 0040cee0 +00997be0 00997de0 +00997be0 0040cf00 00997be0 009980d0 00997be0 00415bc0 -00997be0 00997de0 -00997db6 00af05eb 00997db6 00997640 +00997db6 00af05eb 00997db6 009976c0 00997de0 00423020 +00997ef0 0040cee0 00997ef0 0040c550 00997ef0 0040cf00 -00997ef0 0040cee0 00998030 0040c550 00998030 00997e70 009980d0 00997ef0 @@ -49671,1247 +49671,1247 @@ 00998150 00aef15c 00998240 00998550 00998270 00423480 -00998300 009981d0 -00998300 0040cf00 -00998300 00998150 00998300 0040cee0 +00998300 00998150 +00998300 0040cf00 +00998300 009981d0 00998300 00415bc0 00998490 0040c550 00998490 00997e70 00998530 00997de0 00998540 00997e70 -00998550 0040ccd0 00998550 EXTERNAL:00000220 -00998550 004170d0 -00998550 00415fe0 00998550 00415f80 -00998550 00aef15c 00998550 00a0f4c0 -00998550 00998270 +00998550 0040ccd0 +00998550 00aef15c +00998550 00415fe0 00998550 00423480 +00998550 00998270 +00998550 004170d0 +00998800 0040d040 00998800 008cb2e0 00998800 00407f10 -00998800 0040d040 00998800 004087a0 -00998880 008f8a60 -00998880 0040ccd0 -00998880 0040a7e0 -00998880 00af05df -00998880 EXTERNAL:00000220 -00998880 00a5f260 -00998880 008ca1d0 -00998880 00aef15c -00998880 00a1aec0 -00998880 00409120 -00998880 008f90e0 -00998880 004253d0 -00998880 004073d0 -00998880 00a10d00 -00998880 0040b430 -00998880 0040a690 -00998880 00a1af90 -00998880 009eb5b0 -00998880 00a1dfd0 -00998880 0041e420 +00998880 0040ace0 00998880 0040b220 +00998880 00aef15c +00998880 009eb5b0 +00998880 00a10d00 +00998880 0040a0d0 +00998880 008f90e0 +00998880 0040a7e0 +00998880 0040a690 00998880 00a112c0 -00998880 009586f0 +00998880 004073d0 +00998880 EXTERNAL:00000220 +00998880 0040ccd0 +00998880 0040b430 +00998880 00a1aec0 +00998880 004253d0 +00998880 00a1dfd0 +00998880 00417870 +00998880 008f8a60 +00998880 00409120 +00998880 00aef12b +00998880 008ca1d0 +00998880 00a1af90 +00998880 00a23ae0 +00998880 00af05df +00998880 00a0f550 +00998880 0041e420 00998880 00a23610 00998880 0090b070 -00998880 00a0f550 -00998880 0040a0d0 -00998880 00a23ae0 00998880 00408b90 -00998880 0040ace0 -00998880 00aef12b -00998880 00417870 -009997c0 0040ccd0 -009997c0 00a112c0 +00998880 00a5f260 +00998880 009586f0 009997c0 EXTERNAL:00000220 -009997c0 009b7500 009997c0 004239b0 -009997c0 00aef15c -009997c0 0040bd50 +009997c0 0040ccd0 009997c0 0040a5d0 +009997c0 00aef15c 009997c0 00408e00 009997c0 00417870 +009997c0 00a112c0 +009997c0 0040bd50 +009997c0 009b7500 0099a300 EXTERNAL:00000220 +0099a300 0040b220 0099a300 0040a140 0099a300 00aef15c -0099a300 0040bd50 +0099a300 00408590 +0099a300 00408640 +0099a300 00aef12b +0099a300 0040c550 0099a300 008f90e0 -0099a300 0040b220 0099a300 0040a5d0 0099a300 00408e00 -0099a300 00408640 0099a300 00a112c0 -0099a300 0040cf00 -0099a300 0040c550 -0099a300 00408590 +0099a300 0040bd50 0099a300 00408b90 -0099a300 00aef12b +0099a300 0040cf00 0099a830 00a0f550 -0099a8e0 0040b590 0099a8e0 EXTERNAL:00000220 -0099a8e0 00709e50 -0099a8e0 00af0917 -0099a8e0 00452bf0 0099a8e0 00557bd0 0099a8e0 00aef15c 0099a8e0 00409030 -0099a8e0 007b9940 -0099a8e0 00aef12b +0099a8e0 00452bf0 0099a8e0 00417870 +0099a8e0 00709e50 +0099a8e0 0040b590 +0099a8e0 00aef12b +0099a8e0 00af0917 +0099a8e0 007b9940 0099ac00 00709e50 0099ac00 0040a0d0 -0099acc0 0040ccd0 -0099acc0 EXTERNAL:00000220 -0099acc0 007e90f0 -0099acc0 00aef15c -0099acc0 0040bd50 -0099acc0 0040a2b0 -0099acc0 0040cf50 -0099acc0 00a112c0 0099acc0 00af05f1 -0099acc0 0040cf00 -0099acc0 00452bf0 +0099acc0 EXTERNAL:00000220 +0099acc0 0040ccd0 0099acc0 00557bd0 -0099acc0 0040a380 -0099acc0 00456750 -0099acc0 0040a6e0 +0099acc0 00aef15c +0099acc0 00452bf0 0099acc0 00aef12b -0099b520 00a112c0 +0099acc0 0040a380 +0099acc0 0040cf50 +0099acc0 0040a6e0 +0099acc0 00a112c0 +0099acc0 0040bd50 +0099acc0 00456750 +0099acc0 007e90f0 +0099acc0 0040a2b0 +0099acc0 0040cf00 0099b520 EXTERNAL:00000220 -0099b520 0040cf00 -0099b520 00aef15c -0099b520 0040a380 -0099b520 0040bd50 -0099b520 007e9020 -0099b520 0041e420 0099b520 0040a5d0 +0099b520 00aef15c 0099b520 00408e00 +0099b520 007e9020 +0099b520 00a112c0 +0099b520 0040bd50 +0099b520 0041e420 0099b520 00aef12b -0099b980 00a112c0 +0099b520 0040a380 +0099b520 0040cf00 0099b980 00409030 +0099b980 00a112c0 0099bad0 EXTERNAL:00000220 -0099bad0 0040cf00 -0099bad0 0040c000 -0099bad0 0040a1b0 +0099bad0 0040a5d0 0099bad0 00aef15c 0099bad0 0040bd50 -0099bad0 0040a5d0 +0099bad0 0040c000 0099bad0 00aef12b +0099bad0 0040a1b0 0099bad0 0040bf30 -0099bd50 00af0917 -0099bd50 0040a1b0 +0099bad0 0040cf00 0099bd50 00435a50 -0099bd50 00409030 -0099bd50 EXTERNAL:00000262 -0099bd50 00703ab0 -0099bd50 0041a790 0099bd50 0040a5d0 -0099c310 005cb9b0 +0099bd50 00409030 +0099bd50 00703ab0 +0099bd50 0040a1b0 +0099bd50 0041a790 +0099bd50 00af0917 +0099bd50 EXTERNAL:00000262 0099c310 00426980 -0099c790 00813360 -0099c790 0041d540 -0099c790 00435a50 -0099c790 009a17b0 +0099c310 005cb9b0 0099c790 00417170 -0099c790 009a1610 -0099c790 009a1680 -0099c790 0099e160 -0099c790 0040c740 -0099c790 006a8fa0 -0099c790 0099c430 -0099c790 006ac560 -0099c790 009a1770 -0099c790 0096fd60 -0099c790 0042c920 -0099c790 00af08bd -0099c790 0041d520 +0099c790 0041d540 0099c790 0099dca0 +0099c790 009a1680 +0099c790 0041d520 +0099c790 009a17b0 +0099c790 00435a50 +0099c790 006ac560 +0099c790 009a1610 +0099c790 006a8fa0 +0099c790 00af08bd +0099c790 009a1770 +0099c790 00813360 +0099c790 0042c920 +0099c790 0099c430 +0099c790 0040c740 +0099c790 0096fd60 +0099c790 0099e160 0099dca0 00435a50 -0099e360 00a112c0 -0099e360 00752900 +0099e360 0042c880 +0099e360 00435a50 0099e360 EXTERNAL:00000220 0099e360 00aef15c -0099e360 00435a50 -0099e360 0042c920 -0099e360 008c2a70 +0099e360 00a112c0 0099e360 0042f430 +0099e360 008c2a70 +0099e360 0042c920 +0099e360 00752900 0099e360 00415bc0 -0099e360 0042c880 0099ec00 00435a50 0099ec00 0041d520 -0099efc0 0041d540 0099efc0 00435a50 0099efc0 00af08ff +0099efc0 0041d540 0099efc0 0041d520 +0099f2c0 009a17b0 +0099f2c0 00435a50 +0099f2c0 006a8fa0 0099f2c0 0041d540 0099f2c0 007f0df0 -0099f2c0 006a8fa0 -0099f2c0 00435a50 -0099f2c0 009a17b0 -0099f2c0 0096fc70 0099f2c0 0041d520 +0099f2c0 0096fc70 +0099fa60 009a17b0 +0099fa60 00435a50 +0099fa60 00af0905 0099fa60 00af08c3 0099fa60 00af08e7 -0099fa60 00435a50 -0099fa60 009a17b0 -0099fa60 00af0905 -0099fed0 0041d540 -0099fed0 00435a50 0099fed0 009a17b0 -0099fed0 0096fc70 -0099fed0 0041d520 +0099fed0 00435a50 0099fed0 009a1610 +0099fed0 0041d540 +0099fed0 0041d520 +0099fed0 0096fc70 009a0520 0070be60 -009a0520 007f0800 -009a0520 007f0870 009a0520 009803e0 +009a0520 007f0870 +009a0520 007f0800 009a0740 00a112c0 -009a0850 0041d540 -009a0850 0099e160 -009a0850 EXTERNAL:00000220 -009a0850 006a8fa0 -009a0850 0099c430 -009a0850 006ac560 -009a0850 00aef15c 009a0850 009a17b0 -009a0850 0042c920 +009a0850 EXTERNAL:00000220 +009a0850 006ac560 +009a0850 006a8fa0 +009a0850 00aef15c +009a0850 0041d540 009a0850 00af08bd +009a0850 0042c920 +009a0850 0099c430 009a0850 0041d520 +009a0850 0099e160 009a0c50 00435a50 009a0c50 0096fd60 009a0de0 00435a50 009a0de0 008c2a70 009a0fa0 00435a50 009a0fa0 0041d520 -009a12b0 006a8fa0 009a12b0 00435a50 -009a12b0 0041af60 -009a12b0 0099c340 -009a12b0 EXTERNAL:00000262 009a12b0 006a9140 +009a12b0 006a8fa0 +009a12b0 0099c340 +009a12b0 0041af60 +009a12b0 EXTERNAL:00000262 009a1520 00435a50 009a1680 009a17b0 009a1770 009a17b0 -009a17b0 0040cf00 -009a17b0 009a1940 -009a17b0 009a18c0 009a17b0 005cc6e0 009a17b0 0040cee0 +009a17b0 009a1940 +009a17b0 0040cf00 +009a17b0 009a18c0 009a17b0 00415bc0 009a18c0 EXTERNAL:00000220 009a18c0 00aef15c -009a1970 0083c5f0 009a1970 009a1a30 009a1970 009a19a0 +009a1970 0083c5f0 009a19a0 00841cf0 -009a19a0 0083abb0 009a19a0 0084bfd0 -009a1a30 0040ccd0 +009a19a0 0083abb0 009a1a30 EXTERNAL:00000220 -009a1a30 0040a940 -009a1a30 00a1a730 +009a1a30 0040ccd0 +009a1a30 008f5ad0 009a1a30 00aef15c +009a1a30 0040a940 +009a1a30 00aef12b +009a1a30 00a11f30 +009a1a30 0040c3b0 +009a1a30 0040a380 +009a1a30 009588a0 +009a1a30 00a1a730 +009a1a30 0040a5d0 +009a1a30 00a0f550 +009a1a30 00408e00 +009a1a30 007090c0 009a1a30 0040bd50 009a1a30 008407a0 -009a1a30 0040a5d0 -009a1a30 00408e00 009a1a30 0040cf00 -009a1a30 008f5ad0 -009a1a30 00a0f550 -009a1a30 0040a380 -009a1a30 00a11f30 -009a1a30 007090c0 -009a1a30 009588a0 -009a1a30 0040c3b0 -009a1a30 00aef12b +009a27d0 00a1ad90 009a27d0 00841cf0 +009a27d0 00840f70 009a27d0 00407f10 009a27d0 0040c7f0 -009a27d0 00709150 -009a27d0 00a1ad90 -009a27d0 0083abb0 -009a27d0 00840f70 009a27d0 0084bfd0 -009a2990 0083c8d0 +009a27d0 00709150 +009a27d0 0083abb0 +009a2990 00956780 +009a2990 00409030 009a2990 00840ce0 +009a2990 0083c8d0 009a2990 0040add0 009a2990 0092dc30 -009a2990 00409030 -009a2990 00956780 -009a2b30 00842230 +009a2b30 0083b850 009a2b30 0083b280 009a2b30 0084c170 -009a2b30 0083b850 -009a2d20 0040ccd0 -009a2d20 EXTERNAL:00000220 -009a2d20 00aef15c -009a2d20 0040a5d0 -009a2d20 0040cf50 -009a2d20 004288a0 -009a2d20 0072fff0 -009a2d20 EXTERNAL:00000262 -009a2d20 00a2c250 -009a2d20 00a26af0 -009a2d20 00a2c370 -009a2d20 009a34a0 -009a2d20 00841000 -009a2d20 0069bd10 -009a2d20 0040cae0 +009a2b30 00842230 009a2d20 0040b220 -009a2d20 0072ff10 -009a2d20 00a112c0 -009a2d20 009a64f0 -009a2d20 009586f0 -009a2d20 00682b90 -009a2d20 0040a1b0 -009a2d20 004215a0 +009a2d20 00aef15c +009a2d20 EXTERNAL:00000262 009a2d20 0040d040 -009a2d20 006eef60 +009a2d20 00a2c250 +009a2d20 0040a5d0 009a2d20 00840c60 +009a2d20 0040cae0 +009a2d20 00a112c0 +009a2d20 009a34a0 +009a2d20 0072fff0 +009a2d20 004215a0 +009a2d20 EXTERNAL:00000220 +009a2d20 0040ccd0 +009a2d20 00841000 +009a2d20 006eef60 +009a2d20 00a2c370 009a2d20 008410c0 009a2d20 00aef12b -009a3410 009a64f0 +009a2d20 00682b90 +009a2d20 009a64f0 +009a2d20 0040cf50 +009a2d20 0072ff10 +009a2d20 004288a0 +009a2d20 0069bd10 +009a2d20 0040a1b0 +009a2d20 00a26af0 +009a2d20 009586f0 009a3410 00840b00 -009a34a0 00a112c0 +009a3410 009a64f0 009a34a0 00841000 -009a34a0 0040a1b0 -009a34a0 00840c60 -009a34a0 0040b220 -009a34a0 008410c0 009a34a0 0040a5d0 +009a34a0 0040b220 +009a34a0 00840c60 +009a34a0 008410c0 +009a34a0 00a112c0 +009a34a0 0040a1b0 009a3560 00840f70 -009a3590 0040ccd0 009a3590 EXTERNAL:00000220 -009a3590 00aef15c -009a3590 0040d040 -009a3590 00693470 009a3590 00a0f4c0 +009a3590 0040ccd0 +009a3590 0040d040 +009a3590 00aef15c 009a3590 009a3ac0 +009a3590 00693470 009a3590 00aef12b -009a36d0 0040ccd0 +009a36d0 00a1ba10 009a36d0 EXTERNAL:00000220 -009a36d0 00aef15c -009a36d0 00693470 009a36d0 00a0f4c0 009a36d0 EXTERNAL:0000023b -009a36d0 EXTERNAL:000001d7 -009a36d0 0040d040 -009a36d0 00a1ba10 -009a36d0 EXTERNAL:00000262 -009a36d0 00a2c250 +009a36d0 0040ccd0 +009a36d0 00aef15c +009a36d0 00a2c370 009a36d0 009a3ac0 009a36d0 00aef12b -009a36d0 00a2c370 +009a36d0 EXTERNAL:00000262 +009a36d0 00a2c250 +009a36d0 0040d040 +009a36d0 00693470 +009a36d0 EXTERNAL:000001d7 +009a3ac0 006836c0 +009a3ac0 00a1b8e0 009a3ac0 00684f30 -009a3ac0 00a55d60 +009a3ac0 006856c0 +009a3ac0 00a19180 +009a3ac0 00a18300 009a3ac0 0069dac0 009a3ac0 0040a5d0 009a3ac0 00a1bd80 -009a3ac0 00a1b8e0 -009a3ac0 00a112c0 -009a3ac0 0040a1b0 -009a3ac0 00a19180 009a3ac0 00a1bb10 -009a3ac0 00a18300 +009a3ac0 00a112c0 +009a3ac0 00a55d60 +009a3ac0 0040a1b0 009a3ac0 00a18230 -009a3ac0 006836c0 -009a3ac0 006856c0 -009a3eb0 00aef15c -009a3eb0 00740bc0 -009a3eb0 0098b570 -009a3eb0 0040a5d0 -009a3eb0 007cbb90 -009a3eb0 00a1b8e0 -009a3eb0 004253d0 -009a3eb0 009a7c90 -009a3eb0 004288a0 009a3eb0 009a8230 -009a3eb0 009a84c0 -009a3eb0 009a79b0 -009a3eb0 00706940 -009a3eb0 009be630 -009a3eb0 009a6fe0 -009a3eb0 00a10e70 +009a3eb0 00aef15c +009a3eb0 009a6a70 +009a3eb0 009a7c90 +009a3eb0 00a288a0 009a3eb0 009a6570 -009a3eb0 00731ee0 -009a3eb0 0042c880 -009a3eb0 00a1af90 +009a3eb0 00a1b8e0 +009a3eb0 00417870 +009a3eb0 00409120 +009a3eb0 009be670 +009a3eb0 00740bc0 +009a3eb0 009a84c0 009a3eb0 009e9b50 +009a3eb0 00a23ae0 +009a3eb0 009a6140 +009a3eb0 00af08bd 009a3eb0 0098e4d0 +009a3eb0 004288a0 +009a3eb0 00a23610 009a3eb0 009595e0 009a3eb0 0083ac20 -009a3eb0 0084c2c0 -009a3eb0 0041e420 -009a3eb0 008f8ee0 -009a3eb0 0040a1b0 -009a3eb0 00a0f550 -009a3eb0 00a23ae0 -009a3eb0 00aef12b -009a3eb0 EXTERNAL:00000220 -009a3eb0 00409120 -009a3eb0 0090c300 -009a3eb0 00a1b140 -009a3eb0 009bf930 -009a3eb0 009a6a70 -009a3eb0 0042c920 -009a3eb0 00a288a0 -009a3eb0 004997f0 -009a3eb0 00a1a540 +009a3eb0 0042c880 009a3eb0 0040a030 -009a3eb0 009a6140 009a3eb0 009be080 -009a3eb0 0090abf0 -009a3eb0 00408e00 -009a3eb0 00a112c0 -009a3eb0 009be670 -009a3eb0 00a23610 -009a3eb0 0090b070 -009a3eb0 00682ed0 +009a3eb0 009a6fe0 009a3eb0 0040a0d0 -009a3eb0 00af08bd +009a3eb0 0084c2c0 +009a3eb0 00731ee0 +009a3eb0 0040a5d0 +009a3eb0 009bf930 +009a3eb0 0098b570 +009a3eb0 00a112c0 +009a3eb0 00a1b140 +009a3eb0 0090c300 +009a3eb0 00706940 +009a3eb0 009a79b0 +009a3eb0 EXTERNAL:00000220 +009a3eb0 004253d0 +009a3eb0 00682ed0 +009a3eb0 00aef12b +009a3eb0 007cbb90 +009a3eb0 008f8ee0 +009a3eb0 00a1af90 +009a3eb0 004997f0 +009a3eb0 0090abf0 +009a3eb0 00a0f550 +009a3eb0 00408e00 +009a3eb0 00a1a540 +009a3eb0 0041e420 +009a3eb0 009be630 +009a3eb0 0042c920 +009a3eb0 00a10e70 +009a3eb0 0040a1b0 +009a3eb0 0090b070 009a3eb0 00408b90 -009a3eb0 00417870 009a64f0 00a112c0 009a6570 009a8430 009a6660 00683060 -009a6660 0040c550 009a6660 00a0f550 -009a6660 00a10e70 009a6660 00aef12b -009a6a70 0040a030 +009a6660 00a10e70 +009a6660 0040c550 009a6a70 009a6140 -009a6a70 0040ac70 -009a6a70 00aefca0 -009a6a70 00a10e70 -009a6a70 00840e10 009a6a70 00840f70 +009a6a70 0040a030 009a6a70 009b9570 -009a6fe0 009a6140 -009a6fe0 009a84c0 +009a6a70 0040ac70 +009a6a70 00840e10 +009a6a70 00a10e70 +009a6a70 00aefca0 009a6fe0 00753bf0 -009a6fe0 009a79b0 -009a6fe0 0084a3e0 -009a6fe0 00843df0 -009a6fe0 008471c0 +009a6fe0 009a6140 009a6fe0 00848d20 -009a6fe0 008453c0 009a6fe0 00846ff0 +009a6fe0 00843df0 +009a6fe0 0084a3e0 +009a6fe0 009a79b0 +009a6fe0 009a84c0 +009a6fe0 008453c0 009a6fe0 0090b010 -009a79b0 00902530 -009a79b0 0090f5f0 +009a6fe0 008471c0 009a79b0 00a1b050 +009a79b0 0040c440 009a79b0 00a0f550 -009a79b0 009588a0 +009a79b0 0090f5f0 +009a79b0 00902530 009a79b0 0040c3b0 009a79b0 0090b010 -009a79b0 0040c440 -009a7c90 00a1af90 -009a7c90 00738470 -009a7c90 0041e420 -009a7c90 00a11160 -009a7c90 00a1b8e0 +009a79b0 009588a0 009a7c90 00683060 -009a7c90 0040c550 -009a7c90 00682350 -009a7c90 00407170 -009a7c90 00a0f550 -009a7c90 00a10e70 -009a7c90 00682280 -009a7c90 0040c3b0 +009a7c90 00a1b8e0 009a7c90 00aef12b +009a7c90 00a11160 +009a7c90 00682280 +009a7c90 0040c550 +009a7c90 0040c3b0 +009a7c90 00a1af90 +009a7c90 00a0f550 +009a7c90 0041e420 +009a7c90 00407170 +009a7c90 00738470 +009a7c90 00682350 +009a7c90 00a10e70 009a8500 00841cf0 -009a8500 006efc70 -009a8500 0040cc10 009a8500 00a0f4c0 +009a8500 0040cc10 +009a8500 006efc70 009a8620 00841cf0 -009a8620 00a112c0 009a8620 009baaa0 -009a8970 0083abb0 +009a8620 00a112c0 009a8970 0083b850 -009a8a40 00a112c0 +009a8970 0083abb0 009a8a40 0084bf30 009a8a40 0084ca00 -009a8b90 00af08f3 -009a8b90 00af0917 +009a8a40 00a112c0 009a8b90 00af0911 -009a8b90 00684b90 +009a8b90 00af08f3 009a8b90 00a0f550 +009a8b90 00684b90 009a8b90 00a10e70 -009a90e0 EXTERNAL:0000010a +009a8b90 00af0917 009a90e0 EXTERNAL:00000115 -009a90e0 EXTERNAL:0000010d -009a90e0 00420a80 -009a90e0 EXTERNAL:0000010b -009a90e0 00aef12b +009a90e0 EXTERNAL:0000010a 009a90e0 EXTERNAL:0000010c -009a9250 EXTERNAL:00000263 -009a9250 00a23200 +009a90e0 00aef12b +009a90e0 00420a80 +009a90e0 EXTERNAL:0000010d +009a90e0 EXTERNAL:0000010b +009a9250 EXTERNAL:00000108 +009a9250 00a648b0 +009a9250 00aef15c 009a9250 009a9250 009a9250 EXTERNAL:0000010a -009a9250 00aef15c -009a9250 EXTERNAL:00000108 -009a9250 EXTERNAL:0000010d +009a9250 EXTERNAL:00000263 009a9250 EXTERNAL:00000109 -009a9250 00a648b0 +009a9250 EXTERNAL:0000010d +009a9250 00a23200 009a9250 EXTERNAL:0000010b -009a9510 EXTERNAL:00000113 -009a9510 0040ccd0 -009a9510 EXTERNAL:00000220 +009a9510 EXTERNAL:00000107 +009a9510 00aef15c +009a9510 008c5d50 +009a9510 0042f2f0 +009a9510 00aeff60 +009a9510 EXTERNAL:00000262 +009a9510 00a648b0 009a9510 EXTERNAL:0000016f 009a9510 009a9250 -009a9510 00aeff60 -009a9510 00aef15c -009a9510 0042f2f0 -009a9510 EXTERNAL:00000114 -009a9510 00af05e5 -009a9510 EXTERNAL:00000269 009a9510 00a0f4e0 -009a9510 EXTERNAL:00000109 -009a9510 00a648b0 -009a9510 EXTERNAL:0000019e -009a9510 EXTERNAL:00000262 -009a9510 EXTERNAL:0000011d -009a9510 EXTERNAL:00000170 -009a9510 00aef86f -009a9510 0041e420 -009a9510 EXTERNAL:00000107 -009a9510 EXTERNAL:00000251 -009a9510 EXTERNAL:00000112 +009a9510 EXTERNAL:00000114 +009a9510 EXTERNAL:00000269 +009a9510 EXTERNAL:00000220 009a9510 EXTERNAL:00000106 -009a9510 009a90e0 +009a9510 0040ccd0 009a9510 EXTERNAL:00000255 -009a9510 008c5d50 -009a9510 00420a80 -009a9510 EXTERNAL:00000119 -009a9510 EXTERNAL:0000010e +009a9510 00af05e5 +009a9510 EXTERNAL:0000011d +009a9510 00aef86f 009a9510 00aef12b +009a9510 00420a80 +009a9510 009a90e0 +009a9510 EXTERNAL:0000010e +009a9510 EXTERNAL:00000119 +009a9510 EXTERNAL:0000019e +009a9510 EXTERNAL:00000251 +009a9510 EXTERNAL:00000113 +009a9510 EXTERNAL:00000112 +009a9510 EXTERNAL:00000109 +009a9510 0041e420 +009a9510 EXTERNAL:00000170 +009a9ef0 00954150 +009a9ef0 00a193c0 009a9ef0 00954320 009a9ef0 00a19340 -009a9ef0 00a193c0 -009a9ef0 00954150 -009a9fc0 009a9ef0 009a9fc0 00a19530 -009aa040 0040ccd0 -009aa040 00a167d0 -009aa040 00ae6400 +009a9fc0 009a9ef0 009aa040 EXTERNAL:00000220 -009aa040 EXTERNAL:0000023f -009aa040 0067f420 +009aa040 0040ccd0 +009aa040 00a0f4c0 +009aa040 009abbd0 009aa040 00aef15c 009aa040 00423090 -009aa040 00a0f4c0 -009aa040 00a112c0 -009aa040 009abbd0 -009aa040 EXTERNAL:0000022d 009aa040 EXTERNAL:0000023a +009aa040 EXTERNAL:0000022d +009aa040 00a167d0 +009aa040 0067f420 +009aa040 EXTERNAL:0000023f 009aa040 008604c0 +009aa040 00a112c0 +009aa040 00ae6400 009ab700 00a112c0 -009ab970 EXTERNAL:00000220 009ab970 00a5a7a0 -009ab970 00aef15c -009ab970 0040c340 009ab970 00431070 +009ab970 EXTERNAL:00000220 +009ab970 00a648b0 +009ab970 00aef15c 009ab970 0060c790 009ab970 00a15f10 -009ab970 00a648b0 -009ab970 009547f0 009ab970 00aef12b +009ab970 009547f0 +009ab970 0040c340 009ab970 00a15c00 -009abbd0 004149d0 009abbd0 00a5a7a0 -009abbd0 00a16e00 -009abbd0 00a16060 -009abbd0 00428590 009abbd0 00a648b0 +009abbd0 00428590 009abbd0 009ab970 -009abd50 009ad470 +009abbd0 00a16060 +009abbd0 004149d0 +009abbd0 00a16e00 009abd50 0040d040 -009abd80 00407f10 +009abd50 009ad470 009abd80 0040d040 -009abd80 004087a0 -009abd80 00aef638 +009abd80 00407f10 009abd80 004cf210 -009abe70 0040ccd0 -009abe70 00413b90 -009abe70 004155d0 -009abe70 EXTERNAL:00000220 -009abe70 EXTERNAL:0000023f -009abe70 00aeff60 -009abe70 00aef15c -009abe70 00413bf0 -009abe70 009ad580 -009abe70 00414730 -009abe70 00413c70 -009abe70 00a0f4e0 -009abe70 00421680 -009abe70 0040cf50 -009abe70 0040ccc0 +009abd80 00aef638 +009abd80 004087a0 009abe70 009ad800 -009abe70 0040d040 -009abe70 EXTERNAL:00000262 +009abe70 EXTERNAL:00000220 +009abe70 004155d0 +009abe70 0040ccd0 009abe70 00a178d0 -009abe70 009ad5e0 +009abe70 00aef15c +009abe70 00413b90 +009abe70 009ad580 009abe70 00aef12b -009aca90 007eb1b0 -009aca90 0040a780 -009aca90 007466d0 +009abe70 00414730 +009abe70 00aeff60 +009abe70 EXTERNAL:00000262 +009abe70 0040cf50 +009abe70 00413bf0 +009abe70 EXTERNAL:0000023f +009abe70 0040d040 +009abe70 009ad5e0 +009abe70 00a0f4e0 +009abe70 0040ccc0 +009abe70 00413c70 +009abe70 00421680 009aca90 00956780 -009aca90 00758d00 -009aca90 007791f0 -009aca90 0040a4d0 -009aca90 007e2280 -009aca90 00a112c0 -009aca90 0040add0 -009aca90 007cafe0 -009aca90 00408d00 -009aca90 0092dc30 009aca90 00929b40 +009aca90 0040a4d0 009aca90 007f2070 +009aca90 007791f0 +009aca90 00408d00 009aca90 00409100 -009acfe0 00af0917 +009aca90 00758d00 +009aca90 0040add0 +009aca90 00a112c0 +009aca90 007cafe0 +009aca90 0040a780 +009aca90 0092dc30 +009aca90 007466d0 +009aca90 007e2280 +009aca90 007eb1b0 +009acfe0 00682260 +009acfe0 00a13510 009acfe0 00a1dfd0 009acfe0 0040a0d0 -009acfe0 00a14050 -009acfe0 00a13510 009acfe0 00a10e70 -009acfe0 00682260 -009ad210 00407f10 -009ad210 0040c000 -009ad210 004cdcf0 -009ad210 0040a1b0 -009ad210 0040bd50 +009acfe0 00a14050 +009acfe0 00af0917 009ad210 0040b220 009ad210 0040a5d0 -009ad210 0040bf30 +009ad210 00407f10 009ad210 004cf210 +009ad210 004cdcf0 +009ad210 0040bd50 +009ad210 0040c000 +009ad210 0040a1b0 +009ad210 0040bf30 009ad470 EXTERNAL:00000220 -009ad470 00aef15c 009ad470 0040d040 +009ad470 00aef15c 009ad500 0040d040 009ad530 EXTERNAL:00000220 009ad530 00aef15c 009ad5e0 EXTERNAL:00000220 -009ad5e0 0040cf00 -009ad5e0 00aef15c 009ad5e0 0040d040 +009ad5e0 00aef15c +009ad5e0 0040cee0 009ad5e0 009ad580 009ad5e0 009ad9a0 -009ad5e0 0040cee0 +009ad5e0 0040cf00 009ad5e0 00415bc0 -009ad7da 00af05eb -009ad7da 009ad500 009ad7da 009ad530 -009ad800 0040cf00 -009ad800 009ad530 +009ad7da 009ad500 +009ad7da 00af05eb 009ad800 0040d040 -009ad800 009ad9a0 +009ad800 009ad530 009ad800 009ada70 009ad800 0040cee0 +009ad800 009ad9a0 +009ad800 0040cf00 009ad800 00415bc0 009ad9a0 0040cf50 009ada40 0040d040 009ada70 0040ccd0 009adaf0 00af05e5 -009adbb0 00a112c0 -009adbb0 00752e40 -009adbb0 009b04d0 009adbb0 009afc70 +009adbb0 00a112c0 +009adbb0 009b04d0 +009adbb0 00752e40 009add30 00424540 -009add30 007381b0 -009add30 00aef15c 009add30 009b0330 +009add30 00aef15c 009add30 009afc70 009add30 00aef12b +009add30 007381b0 009addf0 EXTERNAL:00000220 -009addf0 00752e40 -009addf0 007527b0 -009addf0 00aef15c -009addf0 009b0b00 -009addf0 00af05e5 -009addf0 009b0440 -009addf0 0040cf00 -009addf0 004288a0 -009addf0 005cc070 -009addf0 009b0180 -009addf0 00415bc0 009addf0 009b0330 +009addf0 009b0b00 +009addf0 00aef15c +009addf0 00af05e5 +009addf0 009b0180 +009addf0 007527b0 +009addf0 00415bc0 +009addf0 005cc070 009addf0 009afc70 +009addf0 009b0440 +009addf0 004288a0 +009addf0 00752e40 +009addf0 0040cf00 009ae0e0 00af08bd 009ae0e0 009b1220 -009ae170 00a112c0 -009ae170 009af980 009ae170 00424540 009ae170 EXTERNAL:00000220 +009ae170 009b0330 +009ae170 00aef15c +009ae170 00a112c0 +009ae170 00aef12b 009ae170 004288a0 009ae170 009af620 -009ae170 007381b0 -009ae170 00aef15c 009ae170 0042c920 -009ae170 009b0330 -009ae170 00aef12b -009ae640 00a112c0 -009ae640 009af980 -009ae640 0042a030 +009ae170 007381b0 +009ae170 009af980 009ae640 00424540 009ae640 EXTERNAL:00000220 +009ae640 0042a030 +009ae640 009b0330 +009ae640 00aef15c +009ae640 00a112c0 +009ae640 00aef12b 009ae640 004288a0 009ae640 009af620 -009ae640 007381b0 -009ae640 00aef15c 009ae640 0042c920 -009ae640 009b0330 -009ae640 00aef12b +009ae640 007381b0 +009ae640 009af980 009aed50 00af08bd 009aed50 009b1220 -009aef10 009aed50 -009aef10 009b1b20 -009aef10 009af980 009aef10 0042a030 -009aef10 007527b0 -009aef10 009b0180 -009aef10 009b0b00 -009aef10 009b1220 -009aef10 009b0440 009aef10 009b0330 +009aef10 009b0b00 +009aef10 009b1b20 +009aef10 009b0180 +009aef10 009aed50 +009aef10 007527b0 +009aef10 009b0440 +009aef10 009af980 +009aef10 009b1220 009af0e0 00428590 009af1e0 EXTERNAL:00000220 -009af1e0 00752e40 -009af1e0 007527b0 +009af1e0 009b0330 +009af1e0 009b0b00 009af1e0 00aef15c 009af1e0 009b0180 -009af1e0 009b0b00 +009af1e0 007527b0 009af1e0 009b0440 -009af1e0 009b0330 +009af1e0 00752e40 009af3f0 009af370 -009af620 009af370 009af620 00aef12b -009af980 0042a030 +009af620 009af370 009af980 00424540 +009af980 0042a030 +009af980 00a0f4c0 +009af980 00415bd0 +009af980 009af620 009af980 004288a0 009af980 004170d0 -009af980 009af620 -009af980 00415bd0 -009af980 00a0f4c0 009afb10 00a112c0 009afb10 009b0440 -009afc70 009af980 -009afc70 0042c920 009afc70 009afb10 -009afdb0 00aef29d +009afc70 0042c920 +009afc70 009af980 009afdb0 00aef253 +009afdb0 00aef29d 009b0180 009afdb0 009b0240 009af620 009b0240 009af3f0 -009b0330 00a112c0 009b0330 009afdb0 -009b0330 007507d0 +009b0330 00a112c0 009b0330 009b1c40 +009b0330 007507d0 009b0440 009afd70 009b04d0 EXTERNAL:00000220 -009b04d0 00752e40 -009b04d0 007527b0 -009b04d0 00aef15c -009b04d0 009b0b00 +009b04d0 009b0330 009b04d0 00a0f4c0 009b04d0 009b1a90 -009b04d0 009b0440 +009b04d0 009b0b00 +009b04d0 00aef15c +009b04d0 009b0180 +009b04d0 007527b0 +009b04d0 009b0240 009b04d0 009b1b20 009b04d0 00a112c0 +009b04d0 009b0440 009b04d0 0044be50 -009b04d0 009b0180 -009b04d0 009b0240 -009b04d0 009b0330 -009b0b00 00a112c0 +009b04d0 00752e40 009b0b00 00424540 +009b0b00 00aef15c +009b0b00 009b0180 +009b0b00 00a112c0 +009b0b00 009b1c40 +009b0b00 00aef12b 009b0b00 009af620 009b0b00 007381b0 009b0b00 007507d0 -009b0b00 00aef15c -009b0b00 009b0180 -009b0b00 009b1c40 -009b0b00 00aef12b +009b1220 009afdb0 009b1220 00a112c0 -009b1220 009af980 +009b1220 00aef12b 009b1220 009af620 009b1220 00414a80 -009b1220 009afdb0 +009b1220 009af980 009b1220 009afd70 -009b1220 00aef12b 009b1860 009afdb0 009b1a00 009af620 -009b1a90 0044be50 009b1a90 00a0f4c0 -009b1b20 00a112c0 +009b1a90 0044be50 009b1b20 00424540 009b1b20 00aef15c -009b1b20 009b1f00 +009b1b20 00a112c0 009b1b20 00aef12b 009b1b20 009b1e40 -009b1c40 0040cf00 -009b1c40 007507d0 -009b1c40 009b1dc0 -009b1c40 00752ac0 +009b1b20 009b1f00 009b1c40 0040cee0 009b1c40 00752b70 +009b1c40 00752ac0 +009b1c40 007507d0 +009b1c40 0040cf00 +009b1c40 009b1dc0 009b1c40 00415bc0 -009b1d88 00af05eb -009b1d88 00752b50 009b1d88 00752bf0 +009b1d88 00752b50 +009b1d88 00af05eb 009b1dc0 00752e40 009b1dc0 009b1e40 009b1e40 00a0f4c0 009b1f00 00424540 009b1fc0 004074c0 +009b2090 0040d040 009b2090 00407f10 009b2090 004149d0 -009b2090 0040d040 009b2090 004087a0 009b2150 EXTERNAL:00000220 -009b2150 0040cf00 009b2150 00aef15c 009b2150 009b4810 009b2150 0040bd50 009b2150 00aef12b +009b2150 0040cf00 009b22a0 EXTERNAL:00000220 -009b22a0 0040cf00 009b22a0 00aef15c 009b22a0 0040bd50 009b22a0 00aef12b -009b23a0 00954710 +009b22a0 0040cf00 009b23a0 0098ae20 +009b23a0 00956780 +009b23a0 00407f10 +009b23a0 00954710 +009b23a0 006f3c00 +009b23a0 007a6450 +009b23a0 008f30d0 +009b23a0 00988d80 +009b23a0 008f4a30 +009b23a0 0098af10 +009b23a0 0098aec0 +009b23a0 009a8970 +009b23a0 00954690 +009b23a0 009b5250 +009b23a0 00a112c0 +009b23a0 0092dc30 +009b23a0 0040e470 +009b23a0 00a20390 +009b23a0 009a27d0 +009b23a0 00988ba0 +009b23a0 0040e910 +009b23a0 00948fc0 +009b23a0 00925c00 009b23a0 008f86c0 009b23a0 0090af30 -009b23a0 00a20390 -009b23a0 00435a50 -009b23a0 00923fd0 -009b23a0 00409030 -009b23a0 00954690 -009b23a0 00407f10 -009b23a0 006f3c00 -009b23a0 0098aef0 -009b23a0 00923fa0 -009b23a0 00948fc0 -009b23a0 00a20fb0 -009b23a0 007a6450 -009b23a0 00954760 -009b23a0 008f30d0 -009b23a0 00924d10 -009b23a0 0092e430 -009b23a0 009a8970 -009b23a0 009a27d0 -009b23a0 00953f10 -009b23a0 00956780 -009b23a0 009b5250 -009b23a0 0098aec0 -009b23a0 00988d80 -009b23a0 00a112c0 -009b23a0 00925bc0 -009b23a0 008f4a30 009b23a0 00925c60 -009b23a0 0092dc30 -009b23a0 0040e910 -009b23a0 0098aa30 -009b23a0 0090aeb0 -009b23a0 0098af10 -009b23a0 00925c00 -009b23a0 00988ba0 -009b23a0 0040e470 +009b23a0 00923fa0 009b23a0 00417870 -009b31c0 0040a7e0 -009b31c0 00a55d60 -009b31c0 00af060f -009b31c0 0040a5d0 -009b31c0 00a1bd80 -009b31c0 00a1b8e0 -009b31c0 00a10d00 -009b31c0 0040b430 -009b31c0 00a13750 -009b31c0 00a1bb10 -009b31c0 0040b0c0 -009b31c0 0040a030 -009b31c0 00af0911 -009b31c0 00af0917 -009b31c0 0069dac0 -009b31c0 00a1dfd0 -009b31c0 00aefca0 -009b31c0 0040b220 -009b31c0 00408e00 -009b31c0 00a112c0 -009b31c0 009586f0 +009b23a0 00923fd0 +009b23a0 00435a50 +009b23a0 00953f10 +009b23a0 0092e430 +009b23a0 00409030 +009b23a0 00a20fb0 +009b23a0 00924d10 +009b23a0 0090aeb0 +009b23a0 0098aef0 +009b23a0 0098aa30 +009b23a0 00954760 +009b23a0 00925bc0 009b31c0 00684fc0 -009b31c0 00a140c0 -009b31c0 00a671b0 -009b31c0 00408b90 +009b31c0 0040a030 +009b31c0 0040b220 +009b31c0 0040b0c0 +009b31c0 00a10d00 +009b31c0 00af0917 +009b31c0 00af0911 +009b31c0 0069dac0 +009b31c0 0040a5d0 +009b31c0 0040a7e0 +009b31c0 00af060f +009b31c0 00a112c0 009b31c0 009b5020 +009b31c0 00a55d60 +009b31c0 00a671b0 +009b31c0 00a1b8e0 +009b31c0 0040b430 +009b31c0 00a1dfd0 +009b31c0 00a140c0 +009b31c0 00a13750 +009b31c0 00408e00 +009b31c0 00a1bd80 +009b31c0 00a1bb10 +009b31c0 00408b90 +009b31c0 00aefca0 +009b31c0 009586f0 009b4810 EXTERNAL:00000220 +009b4810 0040b220 +009b4810 00557bd0 009b4810 00aef15c +009b4810 0040c000 +009b4810 00aef12b 009b4810 EXTERNAL:000001f4 +009b4810 0040bf30 +009b4810 0040a5d0 009b4810 00428590 009b4810 0040bd50 -009b4810 0040b220 -009b4810 0040a5d0 -009b4810 0040bf30 -009b4810 0040cf00 -009b4810 0040c000 009b4810 0040a1b0 -009b4810 00557bd0 -009b4810 00aef12b +009b4810 0040cf00 009b5020 0040a030 009b5020 00408e00 009b52a0 009b4810 009b5320 00a1a640 -009b5320 009c3f30 -009b5320 004074c0 009b5320 0040c4a0 +009b5320 009c3f30 009b5320 009b1fc0 -009b5600 009c4020 -009b5600 00407f10 -009b5600 009b2090 -009b5600 0040d040 +009b5320 004074c0 009b5600 008d0f10 -009b5600 004087a0 +009b5600 0040d040 +009b5600 00407f10 +009b5600 009c4020 +009b5600 009b2090 009b5600 008d2a30 -009b5800 0090aeb0 +009b5600 004087a0 009b5800 00417870 +009b5800 0090aeb0 009b5840 EXTERNAL:00000220 -009b5840 00aef15c -009b5840 0040bd50 -009b5840 008378e0 009b5840 0040b220 -009b5840 0040a5d0 -009b5840 008d2ca0 -009b5840 0040cf00 -009b5840 008d0fd0 -009b5840 0040a1b0 +009b5840 00aef15c 009b5840 00424ef0 -009b5840 009588a0 -009b5840 0040c3b0 +009b5840 008378e0 009b5840 00aef12b 009b5840 009b2150 +009b5840 0040c3b0 +009b5840 008d2ca0 +009b5840 009588a0 +009b5840 0040a5d0 +009b5840 0040bd50 +009b5840 0040a1b0 +009b5840 008d0fd0 +009b5840 0040cf00 009b5cb0 008d3250 -009b5cb0 00408830 009b5cb0 009b4810 009b5cb0 008378e0 -009b5d20 009b7500 -009b5d20 009c4a50 -009b5d20 009b7680 -009b5d20 007cf8c0 -009b5d20 009c4100 -009b5d20 00a29f60 -009b5d20 008d12b0 -009b5d20 0072fd10 -009b5d20 0040b430 -009b5d20 009c3990 -009b5d20 00838230 -009b5d20 009b23a0 -009b5d20 00a20fb0 -009b5d20 00837ab0 -009b5d20 008d3250 +009b5cb0 00408830 009b5d20 008e24c0 -009b5d20 006f9770 -009b5d20 00408830 -009b5d20 007706e0 -009b5d20 00959130 -009b5d20 009561e0 -009b5d20 00408e00 -009b5d20 00a284b0 -009b5d20 008380f0 -009b5d20 00907b60 -009b5d20 009586f0 -009b5d20 008fd7a0 -009b5d20 00a0f550 -009b5d20 0090aeb0 -009b5d20 009b52a0 +009b5d20 007cf8c0 009b5d20 007bf670 009b5d20 00a23920 +009b5d20 00a29f60 +009b5d20 006f9770 +009b5d20 00408830 +009b5d20 009c4100 +009b5d20 008380f0 +009b5d20 009b7680 +009b5d20 008fd7a0 +009b5d20 009b52a0 +009b5d20 00959130 +009b5d20 008d3250 009b5d20 008d3360 +009b5d20 00907b60 +009b5d20 0040b430 +009b5d20 009b23a0 009b5d20 00417870 -009b6840 009b7f90 +009b5d20 0072fd10 +009b5d20 00a284b0 +009b5d20 009b7500 +009b5d20 009561e0 +009b5d20 008d12b0 +009b5d20 00837ab0 +009b5d20 009c3990 +009b5d20 00408e00 +009b5d20 00a0f550 +009b5d20 00a20fb0 +009b5d20 009c4a50 +009b5d20 0090aeb0 +009b5d20 00838230 +009b5d20 007706e0 +009b5d20 009586f0 009b6840 009be080 -009b6840 006edfa0 -009b6840 00409030 +009b6840 0040b430 +009b6840 00907b60 +009b6840 00417870 009b6840 0040aaf0 +009b6840 009b7f90 +009b6840 0040a380 009b6840 0040a5d0 009b6840 00408e00 -009b6840 00a112c0 -009b6840 00907b60 -009b6840 0040b430 -009b6840 00425130 -009b6840 0040a380 -009b6840 0090aeb0 -009b6840 00a288a0 -009b6840 00408b90 -009b6840 00417870 009b6840 0090b100 +009b6840 00409030 +009b6840 00a112c0 +009b6840 006edfa0 +009b6840 0090aeb0 +009b6840 00408b90 +009b6840 00a288a0 +009b6840 00425130 009b7190 0040b430 009b7190 00837c10 -009b7500 0092dc30 -009b7500 00408830 -009b7500 0040a380 009b7500 00956780 +009b7500 0092dc30 +009b7500 0040a380 +009b7500 00408830 +009b7680 00956780 +009b7680 0040a5d0 +009b7680 0040b430 009b7680 004253d0 +009b7680 00417870 +009b7680 0092dc30 +009b7680 0092e300 009b7680 006f4170 009b7680 0040a1b0 -009b7680 0040b430 -009b7680 0092dc30 009b7680 0090b070 -009b7680 004e4690 -009b7680 00956780 -009b7680 0092e300 -009b7680 0040a5d0 009b7680 009b2150 -009b7680 00417870 +009b7680 004e4690 009b7a20 EXTERNAL:00000220 -009b7a20 00aef15c -009b7a20 0040bd50 -009b7a20 008378e0 009b7a20 0040b220 -009b7a20 0040a5d0 -009b7a20 0040cf00 -009b7a20 009b22a0 -009b7a20 0040a1b0 +009b7a20 00aef15c 009b7a20 0040b430 -009b7a20 009588a0 -009b7a20 0040c3b0 +009b7a20 008378e0 009b7a20 00aef12b -009b7f90 0072fd10 +009b7a20 0040c3b0 +009b7a20 009588a0 +009b7a20 0040a5d0 +009b7a20 0040bd50 +009b7a20 0040a1b0 +009b7a20 009b22a0 +009b7a20 0040cf00 009b7f90 0040b430 -009b7f90 007706e0 009b7f90 00417870 -009b8130 00a112c0 -009b8130 00af05df +009b7f90 0072fd10 +009b7f90 007706e0 009b8130 EXTERNAL:00000220 +009b8130 0040ace0 +009b8130 00af05df 009b8130 0040b430 -009b8130 009eb5b0 -009b8130 00aef15c 009b8130 00a0f550 009b8130 00a1aec0 +009b8130 00aef15c +009b8130 00a112c0 +009b8130 009eb5b0 009b8130 00a1a540 -009b8130 0040ace0 009b8130 00aef12b -009b83a0 00a112c0 009b83a0 0040a140 +009b83a0 0040b220 009b83a0 0040b430 009b83a0 0040a220 -009b83a0 0072fd10 -009b83a0 007706e0 -009b83a0 00409120 -009b83a0 008f90e0 -009b83a0 00408b90 -009b83a0 0040b220 -009b83a0 00aef12b 009b83a0 00417870 -009b8990 0040b430 -009b8990 00a0f550 -009b8990 004238f0 -009b8990 0090aeb0 -009b8990 0095adf0 -009b8990 0085b7f0 +009b83a0 0072fd10 +009b83a0 00a112c0 +009b83a0 00409120 +009b83a0 00aef12b +009b83a0 00408b90 +009b83a0 008f90e0 +009b83a0 007706e0 009b8990 009b5800 -009b8990 00a1b140 +009b8990 0085b7f0 009b8990 0040ace0 -009b8990 00417870 +009b8990 0095adf0 009b8990 0090b100 +009b8990 00a0f550 +009b8990 0040b430 +009b8990 00417870 +009b8990 00a1b140 +009b8990 0090aeb0 +009b8990 004238f0 009b8ea0 004149d0 009b8f40 009bdc60 -009b8f40 00753da0 -009b8f40 0042c920 009b8f40 00a0f4c0 009b8f40 00418500 +009b8f40 00753da0 +009b8f40 0042c920 009b8f40 009a8620 -009b9150 00a112c0 -009b9150 00af08bd -009b9150 00417670 009b9150 0041b570 +009b9150 00af08bd +009b9150 00a112c0 +009b9150 00417670 009b92c0 00a112c0 009b94e0 00a112c0 009b9570 00a112c0 009b98e0 00a112c0 009b9cd0 00a112c0 -009b9f60 0042c920 009b9f60 00418500 +009b9f60 0042c920 009b9fc0 00af08bd 009ba000 00af08b1 -009ba000 00771800 -009ba000 EXTERNAL:00000220 -009ba000 00aef15c -009ba000 007a48f0 -009ba000 009a8620 -009ba000 007ca7c0 -009ba000 00a648b0 -009ba000 00757ac0 -009ba000 0042c920 -009ba000 00758c20 -009ba000 EXTERNAL:00000262 -009ba000 00758f90 -009ba000 0041b570 -009ba000 0083bc50 -009ba000 0062e020 -009ba000 00758d00 -009ba000 00417670 -009ba000 00a112c0 -009ba000 00758a70 -009ba000 00813520 -009ba000 007ce270 009ba000 007588a0 +009ba000 00aef15c 009ba000 007ca840 -009ba000 007cabc0 -009ba000 0041af60 -009ba000 00af08bd +009ba000 00758a70 +009ba000 00771800 +009ba000 009a8620 009ba000 007ad440 +009ba000 EXTERNAL:00000262 +009ba000 007cabc0 +009ba000 0083bc50 +009ba000 0041b570 +009ba000 00a648b0 +009ba000 00a112c0 +009ba000 007ca7c0 +009ba000 00758c20 +009ba000 EXTERNAL:00000220 +009ba000 00757ac0 +009ba000 007ce270 +009ba000 00758f90 +009ba000 0041af60 +009ba000 00417670 +009ba000 00813520 +009ba000 007a48f0 +009ba000 00758d00 +009ba000 00af08bd +009ba000 0042c920 009ba000 00456750 +009ba000 0062e020 009ba8f0 0090ac70 009ba8f0 009ba000 +009ba9a0 0043eca0 009ba9a0 004149d0 009ba9a0 007bc740 -009ba9a0 0043eca0 009baa10 009a8620 009baaa0 00a112c0 009baaa0 0090b010 -009bac40 0041d540 -009bac40 00428b20 -009bac40 007bc740 009bac40 00956780 -009bac40 00a157f0 -009bac40 009a8620 -009bac40 007585b0 -009bac40 00a112c0 -009bac40 00a159a0 -009bac40 009b9cd0 009bac40 009baaa0 -009bac40 009ba000 -009bac40 0092dc30 -009bac40 009bd3b0 -009bac40 00706940 -009bac40 00693090 +009bac40 00a157f0 009bac40 006eef60 +009bac40 0041d540 +009bac40 009bd3b0 +009bac40 009ba000 +009bac40 00693090 +009bac40 009a8620 009bac40 00a20240 +009bac40 00a159a0 009bac40 009ba980 -009bac40 00a20fb0 009bac40 007a6450 009bac40 0041d520 -009bb5d0 00a112c0 -009bb5d0 0092df40 -009bb5d0 0092e560 -009bb5d0 0092e230 -009bb5d0 0092dc30 +009bac40 009b9cd0 +009bac40 007bc740 +009bac40 00a20fb0 +009bac40 00a112c0 +009bac40 007585b0 +009bac40 0092dc30 +009bac40 00706940 +009bac40 00428b20 009bb5d0 0092e050 009bb5d0 00956780 +009bb5d0 0092e230 +009bb5d0 00a112c0 009bb5d0 007a1090 +009bb5d0 0092dc30 +009bb5d0 0092e560 +009bb5d0 0092df40 +009bb840 007a8fd0 009bb840 00a112c0 +009bb840 0062aab0 009bb840 0041af60 009bb840 EXTERNAL:00000262 -009bb840 0062aab0 -009bb840 007a8fd0 +009bb960 0062b360 009bb960 00a112c0 009bb960 007a4ba0 -009bb960 0062b360 -009bba30 0041d540 -009bba30 0040c7f0 -009bba30 00435a50 -009bba30 0042f430 -009bba30 007a6c50 -009bba30 00423480 -009bba30 00a112c0 -009bba30 00aef29d -009bba30 009c6c90 -009bba30 00aef5af -009bba30 0063b4a0 -009bba30 0062bb70 -009bba30 006d6d80 -009bba30 0040e910 -009bba30 00705ee0 -009bba30 006eef60 -009bba30 00685bc0 009bba30 00aef253 -009bba30 0041d520 -009bba30 00aef12b +009bba30 0040e910 +009bba30 006eef60 +009bba30 0041d540 009bba30 00417870 +009bba30 009c6c90 +009bba30 006d6d80 +009bba30 00aef5af +009bba30 0042f430 +009bba30 00aef12b +009bba30 00aef29d +009bba30 0063b4a0 +009bba30 0041d520 +009bba30 00705ee0 +009bba30 00435a50 +009bba30 007a6c50 +009bba30 00685bc0 +009bba30 00423480 +009bba30 0040c7f0 +009bba30 00a112c0 +009bba30 0062bb70 +009bc000 007a8350 +009bc000 0062c8a0 009bc000 00a112c0 009bc000 0041af60 -009bc000 0062c8a0 009bc000 EXTERNAL:00000262 -009bc000 007a8350 +009bc120 00929b40 +009bc120 006eef60 +009bc120 007e1d50 009bc120 009ba000 009bc120 006f9770 -009bc120 006eef60 009bc120 006fe410 -009bc120 007e1d50 -009bc120 00929b40 -009bc280 00812f50 -009bc280 0041d540 -009bc280 EXTERNAL:00000220 009bc280 00813520 +009bc280 EXTERNAL:00000220 +009bc280 00812f50 009bc280 00aef15c 009bc280 006eef60 +009bc280 0041d540 009bc280 0042f430 009bc280 0041d520 009bc690 00812d00 -009bc790 0040cf00 -009bc790 009ba000 -009bc790 009b9cd0 -009bc790 EXTERNAL:000001d7 -009bc790 00aef15c 009bc790 00a0f4c0 +009bc790 00aef15c 009bc790 00af05e5 +009bc790 009ba000 +009bc790 EXTERNAL:000001d7 +009bc790 0040cf00 +009bc790 009b9cd0 009bc790 00415bc0 -009bcaa0 009cf050 -009bcaa0 004149d0 -009bcaa0 007b0be0 -009bcaa0 004cdcf0 -009bcaa0 007dee40 -009bcaa0 009bc790 -009bcaa0 00753da0 -009bcaa0 006eef60 009bcaa0 00a0f4c0 -009bcaa0 007ae4b0 -009bcaa0 009a8620 009bcaa0 004cf210 +009bcaa0 006eef60 +009bcaa0 007ae4b0 +009bcaa0 004cdcf0 +009bcaa0 009bc790 +009bcaa0 004149d0 +009bcaa0 009cf050 +009bcaa0 00753da0 +009bcaa0 007b0be0 +009bcaa0 009a8620 +009bcaa0 007dee40 009bd010 009a8970 -009bd010 004149d0 -009bd010 009bc790 -009bd010 007b0070 009bd010 009a2c70 +009bd010 009bc790 +009bd010 004149d0 +009bd010 007b0070 009bd010 009a8620 +009bd150 007a6680 009bd150 00a112c0 009bd150 007b0be0 -009bd150 007a6680 009bd3b0 00af08b1 -009bd3b0 0062e020 -009bd3b0 009bc280 -009bd3b0 00771d30 -009bd3b0 00763570 -009bd3b0 009a8620 -009bd3b0 00a112c0 -009bd3b0 004288a0 -009bd3b0 009b98e0 -009bd3b0 00758a70 -009bd3b0 0075f0e0 009bd3b0 007588a0 +009bd3b0 009bc280 009bd3b0 007abe20 -009bd3b0 007cb090 +009bd3b0 00771d30 +009bd3b0 00758a70 +009bd3b0 009a8620 +009bd3b0 007a6450 009bd3b0 0041af60 +009bd3b0 EXTERNAL:00000262 +009bd3b0 0075f0e0 009bd3b0 006a0d30 009bd3b0 00af08bd -009bd3b0 EXTERNAL:00000262 -009bd3b0 007a6450 -009bdc60 00a112c0 +009bd3b0 00a112c0 +009bd3b0 007cb090 +009bd3b0 00763570 +009bd3b0 004288a0 +009bd3b0 009b98e0 +009bd3b0 0062e020 +009bdc60 0042c880 009bdc60 EXTERNAL:00000220 009bdc60 00aef15c -009bdc60 0042c920 +009bdc60 00a112c0 009bdc60 00aef12b -009bdc60 0042c880 +009bdc60 0042c920 009be080 0072fd10 009be080 007706e0 009be140 00a112c0 009be140 007706e0 +009be2a0 0065cf80 009be2a0 00a112c0 009be2a0 00771550 -009be2a0 0065cf80 009be3e0 00a112c0 009be3e0 00771550 009be530 00a112c0 @@ -50923,102 +50923,102 @@ 009bea80 007cb6e0 009beb30 007db6b0 009beba0 00a112c0 -009bee80 009cf050 -009bee80 00af08b1 -009bee80 0084cc40 -009bee80 007b0be0 -009bee80 007bc740 -009bee80 007b0070 -009bee80 007a8350 -009bee80 009a8620 -009bee80 00a648b0 -009bee80 00757ac0 -009bee80 006ae630 -009bee80 004cdcf0 -009bee80 0083bed0 -009bee80 007a6450 -009bee80 007ae4b0 -009bee80 0062e020 -009bee80 009a8970 -009bee80 00763570 -009bee80 004cf210 009bee80 00424540 -009bee80 00414a80 -009bee80 0041af60 +009bee80 00af08b1 +009bee80 007a8350 +009bee80 009cf050 +009bee80 009a8620 +009bee80 007a6450 +009bee80 0083bed0 +009bee80 00a648b0 +009bee80 009a8970 +009bee80 007ae4b0 +009bee80 00763570 009bee80 0062c8a0 +009bee80 004cf210 +009bee80 00757ac0 +009bee80 007b0070 +009bee80 0041af60 +009bee80 007bc740 009bee80 007a6680 009bee80 00418500 -009bf530 00a112c0 -009bf530 EXTERNAL:00000220 -009bf530 00a159a0 -009bf530 0044be50 -009bf530 00aef15c +009bee80 004cdcf0 +009bee80 0084cc40 +009bee80 007b0be0 +009bee80 00414a80 +009bee80 0062e020 +009bee80 006ae630 009bf530 004b6a90 +009bf530 EXTERNAL:00000220 009bf530 00a0f4c0 -009bf530 00a20240 009bf530 00a157f0 -009bf530 007a6450 +009bf530 00aef15c +009bf530 00a112c0 +009bf530 0044be50 009bf530 009a8620 +009bf530 00a20240 +009bf530 00a159a0 +009bf530 007a6450 009bf930 007706e0 009bfae0 007d93b0 +009bfb20 007d93b0 009bfb20 00417800 009bfb20 00a112c0 -009bfb20 007d93b0 009bfc40 004e4690 009bfc80 004e4690 009bfcd0 004e4690 +009bfd40 00435a50 009bfd40 0041d540 009bfd40 00901310 -009bfd40 00435a50 009bfd40 009c00c0 009bfd40 0041d520 009bfd40 00415bc0 009bffb0 00a112c0 009bffb0 00499d20 -009c00c0 0040cf00 009c00c0 007de290 009c00c0 0040cee0 -009c01d0 009c2210 +009c00c0 0040cf00 +009c01d0 00a0f550 009c01d0 00a68490 009c01d0 009c3070 -009c01d0 00a0f550 -009c01d0 009c27c0 009c01d0 009c1260 -009c01d0 009588a0 009c01d0 0040c3b0 +009c01d0 009c2210 +009c01d0 009588a0 +009c01d0 009c27c0 009c0760 008370b0 009c07f0 00a68490 009c0870 009c2210 -009c0960 009c1200 -009c0960 009c12d0 009c0960 00aefe20 -009c0960 009c2210 -009c0960 00a68490 -009c0960 009c1260 -009c0960 009c07f0 009c0960 009c14c0 009c0960 00a20fb0 -009c0c30 00a55d60 -009c0c30 00a10d00 +009c0960 009c1200 +009c0960 00a68490 +009c0960 009c1260 +009c0960 009c2210 +009c0960 009c12d0 +009c0960 009c07f0 009c0c30 0069dac0 -009c0c30 00a1dfd0 009c0c30 009c16b0 -009c0c30 00a1bb10 -009c0c30 008370b0 009c0c30 00a1bd80 +009c0c30 00a1dfd0 +009c0c30 00a1bb10 +009c0c30 00a10d00 +009c0c30 00a55d60 +009c0c30 008370b0 009c1200 009c1260 009c1200 009c07f0 -009c1260 009c12d0 009c1260 009c14c0 -009c12d0 00aefca0 +009c1260 009c12d0 009c12d0 009c1260 +009c12d0 00aefca0 009c14c0 00a68490 009c14c0 00aefca0 -009c16b0 00a10d00 009c16b0 00a0f550 +009c16b0 00a10d00 009c16b0 00a10c00 -009c16b0 008370b0 009c16b0 00a10760 +009c16b0 008370b0 009c22d0 00a68490 009c23a0 00aefe20 009c23a0 00a68490 @@ -51028,229 +51028,229 @@ 009c25e0 00a0f550 009c2700 009c2db0 009c2760 009c2db0 -009c27c0 0040ccd0 009c27c0 EXTERNAL:00000220 -009c27c0 009c2e30 -009c27c0 00aef15c -009c27c0 0042f2f0 -009c27c0 EXTERNAL:0000022f -009c27c0 00a0f4e0 +009c27c0 0040ccd0 009c27c0 00a1b8e0 -009c27c0 009586f0 -009c27c0 00682390 +009c27c0 00aef15c +009c27c0 EXTERNAL:0000022f 009c27c0 EXTERNAL:0000022d -009c27c0 009c2d00 +009c27c0 00682390 +009c27c0 0042f2f0 009c27c0 00aef12b +009c27c0 009c2e30 +009c27c0 009c2d00 +009c27c0 00a0f4e0 +009c27c0 009586f0 009c2d00 EXTERNAL:00000262 009c2db0 009c2e30 009c2e30 EXTERNAL:00000220 -009c2e30 0040cf00 -009c2e30 009c31a0 009c2e30 00aef15c 009c2e30 0040cee0 +009c2e30 009c31a0 009c2e30 009c2fe0 +009c2e30 0040cf00 009c2e30 00415bc0 -009c3070 0040cf00 -009c3070 009c31a0 -009c3070 009c3230 -009c3070 00420a40 009c3070 0040cee0 +009c3070 009c3230 +009c3070 009c31a0 +009c3070 00420a40 +009c3070 0040cf00 009c3070 00415bc0 -009c3290 EXTERNAL:00000103 -009c3290 00aef15c 009c3290 00498f80 -009c3290 004209d0 009c3290 009c2d00 -009c3410 00aef15c -009c3410 004209d0 +009c3290 004209d0 +009c3290 00aef15c +009c3290 EXTERNAL:00000103 009c3410 009c2d00 -009c34f0 0042c8e0 -009c34f0 004170d0 -009c34f0 009c0960 -009c34f0 00416440 -009c34f0 00415bd0 -009c34f0 00aef15c -009c34f0 004209d0 +009c3410 004209d0 +009c3410 00aef15c 009c34f0 00a0f4c0 009c34f0 009c2d00 +009c34f0 004209d0 +009c34f0 00aef15c +009c34f0 0042c8e0 +009c34f0 00415bd0 +009c34f0 009c0960 +009c34f0 00416440 +009c34f0 004170d0 009c3890 009c0c30 009c39e0 00a0f4c0 -009c39e0 009c3e60 009c39e0 009c01d0 +009c39e0 009c3e60 009c3ab0 009c1260 009c3ab0 009c07f0 009c3b70 009c2db0 009c3c30 009c2db0 009c3d10 009c2db0 -009c3e60 EXTERNAL:000001d7 009c3e60 00a0f4c0 +009c3e60 EXTERNAL:000001d7 009c3ef0 00aef15c -009c3f30 004074c0 009c3f30 00a0f4c0 -009c4020 008ef120 +009c3f30 004074c0 +009c4020 0040d040 009c4020 00407f10 009c4020 00aef15c -009c4020 0040d040 009c4020 00731790 009c4020 004087a0 +009c4020 008ef120 009c4100 EXTERNAL:00000220 -009c4100 00af0911 -009c4100 00aef15c -009c4100 EXTERNAL:00000230 -009c4100 009c5810 -009c4100 0040bd50 009c4100 00a0f4c0 -009c4100 0040a5d0 -009c4100 008ef120 009c4100 00407f10 -009c4100 00a56ea0 -009c4100 0040cf00 -009c4100 0040a1b0 -009c4100 EXTERNAL:000001d7 +009c4100 00aef15c 009c4100 0040b430 -009c4100 00731790 -009c4100 008e33c0 -009c4100 009c59a0 -009c4100 00415bc0 -009c4100 00a5f1c0 +009c4100 009c5810 009c4100 00aef12b -009c4a50 009b7500 -009c4a50 00af0911 -009c4a50 008e24c0 -009c4a50 00409030 +009c4100 00415bc0 +009c4100 008e33c0 +009c4100 00a5f1c0 +009c4100 EXTERNAL:00000230 +009c4100 00af0911 +009c4100 0040a5d0 +009c4100 009c59a0 +009c4100 00a56ea0 +009c4100 0040bd50 +009c4100 EXTERNAL:000001d7 +009c4100 0040a1b0 +009c4100 00731790 +009c4100 0040cf00 +009c4100 008ef120 009c4a50 00956780 +009c4a50 008e24c0 +009c4a50 00a23920 009c4a50 00a29f60 -009c4a50 0040a5d0 -009c4a50 0040a1b0 -009c4a50 008fd7a0 -009c4a50 0092dc30 -009c4a50 00a54890 +009c4a50 009b7500 009c4a50 0040a380 009c4a50 009b5800 -009c4a50 00a23920 +009c4a50 00af0911 +009c4a50 0040a5d0 +009c4a50 00409030 009c4a50 00a20fb0 -009c51e0 00a1a580 -009c51e0 0090f5f0 -009c51e0 0040a030 -009c51e0 00a10d00 -009c51e0 0040c550 -009c51e0 009586f0 +009c4a50 008fd7a0 +009c4a50 0092dc30 +009c4a50 0040a1b0 +009c4a50 00a54890 009c51e0 00a1b050 -009c51e0 00a1dfd0 +009c51e0 0040a030 +009c51e0 0040ace0 009c51e0 00a0f550 009c51e0 00a1aec0 +009c51e0 0090f5f0 +009c51e0 00a1dfd0 +009c51e0 00a10d00 009c51e0 00731ee0 -009c51e0 0040ace0 +009c51e0 00a1a580 +009c51e0 0040c550 +009c51e0 009586f0 009c5780 00aef15c -009c5810 0040cf00 009c5810 009c5860 -009c5810 009c5920 009c5810 0040cee0 +009c5810 009c5920 +009c5810 0040cf00 009c5860 EXTERNAL:00000220 009c5860 00aef15c -009c59a0 009c5a80 -009c59a0 0040cf00 009c59a0 009c5860 -009c59a0 009c5920 009c59a0 0040cee0 +009c59a0 009c5a80 +009c59a0 009c5920 +009c59a0 0040cf00 009c59a0 00415bc0 -009c5b00 00407f10 009c5b00 0040d040 +009c5b00 00407f10 009c5b00 004087a0 009c5bf0 EXTERNAL:00000220 -009c5bf0 0040cf00 -009c5bf0 008370f0 -009c5bf0 0040a1b0 -009c5bf0 00aef15c -009c5bf0 00a288a0 -009c5bf0 0040bd50 -009c5bf0 00a282c0 009c5bf0 0040a5d0 +009c5bf0 00a282c0 +009c5bf0 00aef15c +009c5bf0 0040bd50 009c5bf0 00aef12b +009c5bf0 0040a1b0 +009c5bf0 00a288a0 +009c5bf0 008370f0 +009c5bf0 0040cf00 +009c5df0 00a282c0 009c5df0 00a288a0 009c5df0 00837590 -009c5df0 00a282c0 -009c5eb0 009c3c30 -009c5eb0 004209d0 009c5eb0 009c5df0 -009c5eb0 009c39e0 +009c5eb0 009c3c30 009c5eb0 009c25e0 -009c5f90 0085afb0 +009c5eb0 004209d0 +009c5eb0 009c39e0 009c5f90 EXTERNAL:00000220 -009c5f90 00a519a0 009c5f90 00aef15c 009c5f90 00aef12b +009c5f90 0085afb0 +009c5f90 00a519a0 009c6070 00a51c60 009c60a0 00a51c60 009c60e0 009c5f90 -009c6130 00407f10 009c6130 0040d040 +009c6130 00407f10 009c6130 004087a0 -009c61e0 009586f0 -009c61e0 00a288a0 009c61e0 00837510 +009c61e0 00a288a0 009c61e0 00837660 +009c61e0 009586f0 +009c62c0 00a282c0 009c62c0 00a288a0 009c62c0 00837590 -009c62c0 00a282c0 -009c63a0 009c3c30 -009c63a0 0085b160 009c63a0 00956780 -009c63a0 00837610 -009c63a0 009c6650 009c63a0 009c62c0 -009c63a0 0090bf10 -009c63a0 009586f0 -009c63a0 0092dc30 +009c63a0 0085b160 +009c63a0 009c3c30 009c63a0 00426980 -009c63a0 0040d040 -009c63a0 004209d0 -009c63a0 009c39e0 009c63a0 00a28440 -009c63a0 0040c790 -009c63a0 00837210 -009c63a0 00a20fb0 -009c63a0 009c25e0 009c63a0 00aef12b +009c63a0 00837210 +009c63a0 009c6650 +009c63a0 0040d040 +009c63a0 009c25e0 +009c63a0 004209d0 +009c63a0 0040c790 +009c63a0 0090bf10 +009c63a0 00a20fb0 +009c63a0 009c39e0 +009c63a0 0092dc30 +009c63a0 00837610 +009c63a0 009586f0 009c6650 004997f0 009c6650 00a20fb0 -009c6860 0040ccd0 -009c6860 00413b90 -009c6860 004155d0 -009c6860 009c6e10 009c6860 EXTERNAL:00000220 -009c6860 00aeff60 -009c6860 00aef15c -009c6860 0040c4a0 -009c6860 00414730 -009c6860 00413c70 -009c6860 00a0f4e0 -009c6860 00a112c0 -009c6860 0040cf50 -009c6860 0040c550 -009c6860 EXTERNAL:00000262 +009c6860 004155d0 +009c6860 0040ccd0 009c6860 00a178d0 +009c6860 00aef15c +009c6860 00413b90 +009c6860 0040c4a0 009c6860 009c7080 009c6860 00aef12b -009c6c90 0040c550 +009c6860 00414730 +009c6860 00aeff60 +009c6860 009c6e10 +009c6860 0040c550 +009c6860 EXTERNAL:00000262 +009c6860 0040cf50 +009c6860 00a112c0 +009c6860 00a0f4e0 +009c6860 00413c70 009c6c90 0040e520 -009c6c90 009588a0 009c6c90 0069d690 +009c6c90 0040c550 +009c6c90 009588a0 009c6e10 009c6e30 -009c6e30 004170d0 -009c6e30 00415fe0 009c6e30 00415f80 -009c6e30 00685bc0 009c6e30 00a0f4c0 +009c6e30 00685bc0 +009c6e30 00415fe0 009c6e30 00423480 +009c6e30 004170d0 009c7080 0040cf50 009c7080 EXTERNAL:00000220 -009c7080 0040cf00 -009c7080 0040c550 -009c7080 009c7280 009c7080 00aef15c -009c7080 007091f0 009c7080 0040cee0 +009c7080 0040c550 +009c7080 007091f0 +009c7080 009c7280 +009c7080 0040cf00 009c7080 00415bc0 009c7256 00571230 009c7256 00af05eb @@ -51261,203 +51261,203 @@ 009c7320 00aef15c 009c7340 007091f0 009c7350 0072fd10 -009c73c0 009e9290 -009c73c0 009c79a0 -009c73c0 00a0f4c0 009c73c0 00aef5c4 +009c73c0 009e9290 +009c73c0 00a0f4c0 +009c73c0 009c79a0 009c7750 0069dac0 009c7780 004149d0 009c7780 00aef638 009c77f0 004149d0 009c7800 00424540 -009c7800 00752710 -009c7800 004149d0 -009c7800 00426980 009c7800 0069dac0 -009c7800 00aef15c 009c7800 0040d040 +009c7800 00752710 +009c7800 00426980 +009c7800 00aef15c +009c7800 004149d0 009c7800 00aef638 -009c79a0 00708f90 -009c79a0 009cf050 +009c79a0 00424540 +009c79a0 009e9430 009c79a0 EXTERNAL:00000220 -009c79a0 007387d0 -009c79a0 00aef15c 009c79a0 009cf000 009c79a0 00a0f4c0 -009c79a0 00af05e5 -009c79a0 007526b0 -009c79a0 00424540 -009c79a0 00708e20 -009c79a0 009e9430 009c79a0 006ef590 +009c79a0 00aef15c +009c79a0 00af05e5 +009c79a0 009cf050 +009c79a0 00708e20 009c79a0 00aef12b -009c8350 00a112c0 +009c79a0 007526b0 +009c79a0 00708f90 +009c79a0 007387d0 009c8350 EXTERNAL:00000009 +009c8350 00a112c0 009c8350 009c79a0 009c8350 EXTERNAL:0000026c -009c8410 00a112c0 009c8410 EXTERNAL:00000009 +009c8410 00a112c0 009c8410 EXTERNAL:0000026c -009c84c0 00683410 009c84c0 00423090 +009c84c0 00683410 009c85d0 00683410 009c86e0 00683410 009c87e0 00683410 009c88e0 00683410 009c88e0 009c88e0 009c8d20 00683410 -009c8d20 00414a80 009c8d20 009c88e0 009c8d20 009c87e0 +009c8d20 00414a80 009c9340 EXTERNAL:00000220 -009c9340 009d77e0 -009c9340 009c8d20 -009c9340 009eb5b0 +009c9340 009c85d0 009c9340 00aef15c -009c9340 00af05e5 009c9340 009d84d0 +009c9340 00708ae0 +009c9340 00af05e5 +009c9340 009eb5b0 +009c9340 009c8d20 +009c9340 00aef12b +009c9340 00420a80 +009c9340 009c87e0 +009c9340 009d77e0 +009c9340 00683410 +009c9340 009d45c0 +009c9340 009cec80 009c9340 00a112c0 009c9340 004288a0 -009c9340 00683410 -009c9340 009cec80 -009c9340 009c85d0 -009c9340 00708ae0 -009c9340 009c87e0 -009c9340 00420a80 -009c9340 009d45c0 -009c9340 00aef12b 009cad40 00683930 +009cad40 009c9340 009cad40 00a112c0 009cad40 EXTERNAL:00000263 009cad40 00a23200 -009cad40 009c9340 009cad40 009c8410 009caea0 00a112c0 009caea0 EXTERNAL:00000263 -009caea0 00683820 009caea0 00a23200 -009caea0 009c8410 +009caea0 00683820 009caea0 009d7d50 -009cb020 EXTERNAL:00000263 +009caea0 009c8410 009cb020 00827f70 -009cb020 00a23200 009cb020 00683410 +009cb020 EXTERNAL:00000263 009cb020 004d3080 -009cb020 006eee10 +009cb020 00a23200 009cb020 009cb020 +009cb020 006eee10 009cb620 00424540 009cb620 004e45c0 -009cb620 007e90f0 +009cb620 007dc9b0 009cb620 00683410 009cb620 009c86e0 +009cb620 007e90f0 009cb620 009cb020 -009cb620 007dc9b0 009cc1a0 00a112c0 009cc1a0 00837090 009ce5a0 009c8350 009ce5a0 00a112c0 009ce5a0 EXTERNAL:00000263 -009ce5a0 00683820 -009ce5a0 00a23200 009ce5a0 009cc1a0 +009ce5a0 00a23200 +009ce5a0 00683820 009ce720 EXTERNAL:00000220 -009ce720 00683410 009ce720 00aef15c 009ce720 00423090 +009ce720 00683410 009ce720 007310e0 009cec80 00683410 009cf000 00423090 -009cf050 0042c8e0 009cf050 EXTERNAL:00000220 -009cf050 00aef15c 009cf050 00a0f4c0 -009cf050 00af05e5 -009cf050 004d6ee0 +009cf050 00aef15c 009cf050 005cbf50 +009cf050 00af05e5 +009cf050 0042c8e0 +009cf050 004d6ee0 009cff40 00683410 009d0100 00683410 009d02c0 00683410 009d0440 00683410 -009d05d0 00a112c0 009d05d0 EXTERNAL:00000220 -009d05d0 009d8af0 -009d05d0 007dc940 +009d05d0 00aef15c 009d05d0 00683410 009d05d0 0072fd10 -009d05d0 00aef15c -009d05d0 009d8580 +009d05d0 00a112c0 009d05d0 009d84a0 +009d05d0 009d8580 +009d05d0 009d8af0 009d05d0 009d16ee +009d05d0 007dc940 009d16b0 00a112c0 -009d16ee 00a112c0 -009d16ee 00683410 -009d16ee 009c7350 -009d16ee 009d8580 009d16ee 009d83f0 -009d16ee 004d7530 -009d16ee 00708eb0 -009d16ee 009d2656 +009d16ee 00683410 009d16ee 004d3130 +009d16ee 00708eb0 +009d16ee 00a112c0 009d16ee 007dc840 +009d16ee 009d2656 +009d16ee 004d7530 +009d16ee 009d8580 +009d16ee 009c7350 009d16ee 009cb020 009d16ee 00415bc0 009d25f5 00a112c0 009d261d 00a112c0 +009d2656 009cff40 +009d2656 009c84c0 +009d2656 00a0f4c0 +009d2656 004b0f50 +009d2656 00af05e5 009d2656 00499410 -009d2656 009d8960 +009d2656 0072fd10 +009d2656 00499380 009d2656 007dccd0 009d2656 005cc710 -009d2656 009cff40 -009d2656 00a0f4c0 -009d2656 00af05e5 -009d2656 007310e0 009d2656 0042c820 -009d2656 00a112c0 -009d2656 00683410 -009d2656 0040c740 -009d2656 0072fd10 -009d2656 00722330 -009d2656 009c7350 009d2656 009d83f0 -009d2656 0042c920 -009d2656 009d02c0 -009d2656 009c84c0 -009d2656 004b0f50 -009d2656 00499380 009d2656 009d459a +009d2656 00683410 +009d2656 00722330 +009d2656 00a112c0 +009d2656 007310e0 +009d2656 0042c920 +009d2656 009c7350 +009d2656 009d02c0 +009d2656 0040c740 +009d2656 009d8960 009d2bd4 00a112c0 009d396e 00a112c0 -009d45c0 00683410 -009d45c0 00414a80 -009d45c0 009d0100 -009d45c0 009d0440 -009d45c0 009c88e0 009d45c0 009d84d0 -009d71b0 009d8660 -009d71b0 00683410 +009d45c0 00683410 +009d45c0 009d0440 +009d45c0 009d0100 +009d45c0 009c88e0 +009d45c0 00414a80 009d71b0 0069ee50 +009d71b0 00683410 009d71b0 00aef12b +009d71b0 009d8660 009d77e0 00683410 -009d7d50 00a112c0 -009d7d50 0040ccd0 -009d7d50 00683580 009d7d50 009d8550 +009d7d50 00683580 +009d7d50 0040ccd0 009d7d50 00683410 009d7d50 00722330 -009d7d50 009d05d0 009d7d50 009eb7f0 +009d7d50 00a112c0 +009d7d50 009d05d0 +009d7d50 00aef12b 009d7d50 009d84a0 009d7d50 00837090 -009d7d50 00aef12b -009d8190 00a112c0 009d8190 EXTERNAL:00000220 -009d8190 00683410 -009d8190 009eb5b0 009d8190 00aef15c -009d8190 00420a80 -009d8190 00af05e5 +009d8190 00683410 009d8190 009d45c0 +009d8190 00af05e5 +009d8190 00a112c0 +009d8190 009eb5b0 009d8190 00aef12b +009d8190 00420a80 009d83f0 009d8a20 009d83f0 009d8820 009d8470 00683410 @@ -51465,581 +51465,581 @@ 009d84d0 00683410 009d8550 00683410 009d8580 EXTERNAL:00000220 -009d8580 00683410 009d8580 00aef15c +009d8580 00683410 009d8580 007310e0 009d8660 EXTERNAL:00000220 -009d8660 0040cf00 009d8660 00aef15c 009d8660 0040cee0 +009d8660 0040cf00 009d8660 00415bc0 +009d88a0 00af05e5 +009d88a0 00af08bd +009d88a0 0040cee0 009d88a0 004268e0 009d88a0 0040cf00 -009d88a0 00af08bd -009d88a0 00af05e5 -009d88a0 0040cee0 009d88a0 00415bc0 -009d8960 0040cf00 009d8960 007de290 -009d8960 00af08bd 009d8960 00af05e5 +009d8960 00af08bd 009d8960 0040cee0 +009d8960 0040cf00 009d8960 00415bc0 -009d8a20 0040cf00 -009d8a20 007de330 009d8a20 007de3a0 009d8a20 0040cee0 -009d8a20 00415bc0 +009d8a20 007de330 009d8a20 009d8820 +009d8a20 0040cf00 +009d8a20 00415bc0 +009d8af0 0040cee0 009d8af0 004268e0 009d8af0 0040cf00 -009d8af0 0040cee0 009d8af0 00415bc0 009d8ca0 00aef12b -009d8d50 00407f10 -009d8d50 0040d040 009d8d50 009daaa0 -009d8d50 004087a0 +009d8d50 0040d040 +009d8d50 00407f10 009d8d50 00aef638 +009d8d50 004087a0 009d92c0 00407f10 009d92c0 00aef15c -009d92c0 00408830 009d92c0 00aef638 009d92c0 0040e2b0 +009d92c0 00408830 009d9560 EXTERNAL:00000220 -009d9560 0040cf00 -009d9560 00aef15c -009d9560 0040bd50 -009d9560 008378e0 -009d9560 009dad30 009d9560 0040a5d0 +009d9560 00aef15c 009d9560 00408e00 +009d9560 0040bd50 +009d9560 009dad30 +009d9560 008378e0 009d9560 00aef12b -009d98f0 00a28790 -009d98f0 00907960 -009d98f0 00420190 -009d98f0 0098ae20 +009d9560 0040cf00 009d98f0 008e24c0 -009d98f0 00926510 -009d98f0 00959e70 -009d98f0 0041e420 -009d98f0 0090bbf0 -009d98f0 00a282c0 -009d98f0 008380f0 -009d98f0 009586f0 -009d98f0 00a288a0 +009d98f0 0098ae20 009d98f0 00948fc0 -009d98f0 00838230 +009d98f0 00a282c0 +009d98f0 00420190 +009d98f0 00959e70 009d98f0 00aef12b -009d9c60 009c8350 -009d9c60 0040ccd0 -009d9c60 EXTERNAL:00000220 -009d9c60 009262b0 +009d98f0 0090bbf0 +009d98f0 00907960 +009d98f0 00a28790 +009d98f0 008380f0 +009d98f0 0041e420 +009d98f0 00a288a0 +009d98f0 00926510 +009d98f0 00838230 +009d98f0 009586f0 009d9c60 00aef15c +009d9c60 009dbdd0 +009d9c60 0040c000 +009d9c60 009db850 +009d9c60 00926a50 +009d9c60 0098aec0 009d9c60 0040a5d0 009d9c60 00a648b0 -009d9c60 0040cf50 -009d9c60 009db2d0 -009d9c60 EXTERNAL:00000009 -009d9c60 009db850 -009d9c60 00948fc0 -009d9c60 00a20fb0 -009d9c60 00926a50 -009d9c60 00838190 -009d9c60 00837ab0 -009d9c60 009d8ca0 -009d9c60 009dbdd0 -009d9c60 009d8be0 -009d9c60 00959e70 -009d9c60 0041e420 -009d9c60 0098aec0 -009d9c60 009294f0 -009d9c60 00926460 -009d9c60 00929240 -009d9c60 0040c000 -009d9c60 0040a1b0 -009d9c60 0040a380 009d9c60 00928ee0 -009d9c60 00420a80 +009d9c60 009262b0 +009d9c60 009db2d0 +009d9c60 009d8ca0 +009d9c60 EXTERNAL:00000220 +009d9c60 EXTERNAL:00000009 +009d9c60 00948fc0 +009d9c60 0040ccd0 +009d9c60 00929240 +009d9c60 00926460 +009d9c60 00959e70 +009d9c60 00838190 +009d9c60 009d8be0 009d9c60 00aef12b +009d9c60 00420a80 +009d9c60 0040a380 +009d9c60 0040cf50 +009d9c60 00837ab0 +009d9c60 00a20fb0 +009d9c60 009c8350 +009d9c60 0041e420 +009d9c60 0040a1b0 +009d9c60 009294f0 009da6d0 0040a030 -009da6d0 00837c10 -009da6d0 0040b220 009da6d0 0040ace0 +009da6d0 0040b220 +009da6d0 00837c10 009daaa0 00407f10 009daaa0 00aef15c -009daaa0 00408830 009daaa0 00aef638 009daaa0 0040e2b0 -009dad30 009d8ca0 -009dad30 009dbdd0 -009dad30 00919980 -009dad30 009db2d0 -009dad30 0040a1b0 -009dad30 0040c000 -009dad30 009d8be0 -009dad30 00959e70 -009dad30 0040b220 +009daaa0 00408830 009dad30 0040a5d0 +009dad30 0040b220 +009dad30 009dbdd0 +009dad30 00959e70 +009dad30 009d8be0 +009dad30 0040c000 +009dad30 0040a1b0 +009dad30 009db2d0 +009dad30 00919980 +009dad30 009d8ca0 009db250 00a288a0 -009db2d0 0040ccd0 009db2d0 EXTERNAL:00000220 -009db2d0 00aef15c +009db2d0 0040ccd0 009db2d0 0040b220 +009db2d0 00aef15c 009db2d0 00aef12b 009db2d0 0040bf30 -009db850 00a112c0 009db850 EXTERNAL:00000220 -009db850 00452bf0 -009db850 0040a1b0 +009db850 0040a5d0 009db850 00aef15c -009db850 0040a380 009db850 00409030 009db850 0040cae0 -009db850 00408b90 -009db850 0040a5d0 +009db850 00452bf0 +009db850 00a112c0 009db850 00aef12b -009dbdd0 0040ccd0 +009db850 0040a1b0 +009db850 00408b90 +009db850 0040a380 009dbdd0 EXTERNAL:00000220 +009dbdd0 0040ccd0 +009dbdd0 0040b220 009dbdd0 009ef740 -009dbdd0 0040cf00 009dbdd0 00aef15c 009dbdd0 0040cae0 -009dbdd0 0040b220 009dbdd0 00aef12b +009dbdd0 0040cf00 009dc5a0 0098ae20 -009dc5a0 00a288a0 009dc5a0 00948fc0 -009dc5a0 0090bbf0 009dc5a0 00a282c0 +009dc5a0 0090bbf0 +009dc5a0 00a288a0 +009dc750 00aef15c 009dc750 0042c8e0 009dc750 004149d0 009dc750 00709150 -009dc750 00aef15c -009dc830 0042c8e0 -009dc830 00684f30 -009dc830 004149d0 009dc830 00aef15c -009dc830 00428590 +009dc830 004149d0 +009dc830 00684f30 009dc830 00722c10 +009dc830 00a11f30 +009dc830 006856c0 +009dc830 00a18300 +009dc830 00a0f550 +009dc830 00428590 +009dc830 0042c8e0 +009dc830 007090c0 009dc830 00a112c0 009dc830 004288a0 009dc830 009dcc70 -009dc830 00a0f550 -009dc830 00a11f30 -009dc830 007090c0 -009dc830 00a18300 009dc830 00a18230 -009dc830 006856c0 009dcbb0 0059c4c0 +009dcc70 00722a80 +009dcc70 EXTERNAL:00000220 +009dcc70 00a0f4c0 009dcc70 0040ccd0 009dcc70 009dfc90 -009dcc70 EXTERNAL:00000220 -009dcc70 007e90f0 -009dcc70 009e0f60 -009dcc70 009dc6e0 009dcc70 00aef15c -009dcc70 009dcbb0 -009dcc70 009e24f0 -009dcc70 00428590 -009dcc70 00a0f4c0 -009dcc70 00728710 009dcc70 00af05e5 -009dcc70 00722a80 -009dcc70 00a112c0 -009dcc70 0072ff10 -009dcc70 004288a0 009dcc70 0072fd10 -009dcc70 00407170 -009dcc70 0072fff0 -009dcc70 0040d040 -009dcc70 0059c4c0 -009dcc70 007e9020 009dcc70 00aef12b -009dfc90 00684f30 -009dfc90 0040ccd0 -009dfc90 009dc6e0 -009dfc90 00a14050 -009dfc90 00428590 -009dfc90 00a0f4c0 -009dfc90 00a11160 +009dcc70 009e24f0 +009dcc70 009e0f60 +009dcc70 00728710 +009dcc70 0072ff10 +009dcc70 0059c4c0 +009dcc70 009dcbb0 +009dcc70 009dc6e0 +009dcc70 0040d040 +009dcc70 00428590 +009dcc70 007e9020 +009dcc70 00a112c0 +009dcc70 004288a0 +009dcc70 00407170 +009dcc70 007e90f0 +009dcc70 0072fff0 009dfc90 00683060 -009dfc90 0040c550 -009dfc90 0084f0a0 -009dfc90 00407170 -009dfc90 00a0f550 -009dfc90 00a19180 -009dfc90 00a10e70 -009dfc90 009588a0 -009dfc90 00a18300 009dfc90 006836c0 -009dfc90 0040c3b0 -009dfc90 006856c0 +009dfc90 00a0f4c0 +009dfc90 0040ccd0 +009dfc90 00684f30 009dfc90 00aef12b +009dfc90 006856c0 +009dfc90 00a11160 +009dfc90 0040c550 +009dfc90 0040c3b0 +009dfc90 009588a0 +009dfc90 00a19180 +009dfc90 0084f0a0 +009dfc90 00a18300 +009dfc90 009dc6e0 +009dfc90 00428590 +009dfc90 00a0f550 +009dfc90 00407170 +009dfc90 00a10e70 +009dfc90 00a14050 009e01b0 009e14b0 009e0240 00a11210 -009e0340 009dcc70 009e0340 009dc830 +009e0340 009dcc70 009e0390 007dcd30 -009e0390 0042c8e0 009e0390 00aef15c +009e0390 0042c8e0 009e03d0 004288a0 -009e03d0 005cc710 009e03d0 009e0500 -009e0450 004288a0 +009e03d0 005cc710 009e0450 00aef15c -009e0450 00828180 +009e0450 004288a0 009e0450 009e0500 +009e0450 00828180 009e04b0 004288a0 009e0500 00414a80 009e0680 009e01b0 009e0680 00414a80 -009e0700 00a112c0 -009e0700 0069d5a0 009e0700 00694f00 -009e0700 00416440 +009e0700 0069d5a0 009e0700 007e9020 +009e0700 00a112c0 +009e0700 00416440 009e0ad0 00a112c0 009e0ad0 00414a80 +009e0f60 007e9080 +009e0f60 004071f0 +009e0f60 007e9020 009e0f60 00a112c0 009e0f60 0072fd10 -009e0f60 009e0700 -009e0f60 007e9020 -009e0f60 004071f0 -009e0f60 007e9080 -009e0f60 009e0ad0 009e0f60 00592200 +009e0f60 009e0ad0 +009e0f60 009e0700 +009e14b0 007e9080 009e14b0 0067d1f0 -009e14b0 009302e0 -009e14b0 007e90f0 -009e14b0 00428b20 +009e14b0 00aef12b +009e14b0 0067af60 009e14b0 00431310 +009e14b0 005b39d0 009e14b0 00a648b0 009e14b0 00a112c0 -009e14b0 00703be0 -009e14b0 005b39d0 -009e14b0 0067af60 009e14b0 006ac530 -009e14b0 007e9080 +009e14b0 00703be0 +009e14b0 007e90f0 009e14b0 0041a790 -009e14b0 00aef12b +009e14b0 009302e0 +009e14b0 00428b20 009e24a0 009e2760 009e24f0 009e2580 009e2520 00651b10 -009e2580 004170d0 -009e2580 00415fe0 009e2580 00415f80 009e2580 00a0f4c0 +009e2580 00415fe0 009e2580 009e2760 -009e27c0 00407f10 +009e2580 004170d0 009e27c0 0040d040 +009e27c0 00407f10 009e27c0 004087a0 009e2f20 0040a030 -009e2f20 00af0917 009e2f20 0040a5d0 009e2f20 00408e00 +009e2f20 00af0917 009e31b0 0040a030 -009e31b0 00af0917 009e31b0 0040a5d0 009e31b0 00408e00 -009e3560 0042a030 -009e3560 EXTERNAL:00000220 -009e3560 00aef15c -009e3560 00a0f4c0 +009e31b0 00af0917 009e3560 009e3450 -009e3560 00af05e5 +009e3560 EXTERNAL:00000220 +009e3560 0042a030 +009e3560 00a0f4c0 +009e3560 00aef15c 009e3560 004b0f50 -009e3560 009e3d30 +009e3560 00af05e5 009e3560 00aef12b +009e3560 009e3d30 009e38a0 00435a50 009e3d60 0040d040 009e3dc0 00af05e5 009e5000 006f8120 009e5300 009e53a0 009e5370 0069dac0 -009e53a0 EXTERNAL:0000023f 009e53a0 EXTERNAL:00000238 -009e54d0 009d8660 +009e53a0 EXTERNAL:0000023f 009e54d0 0069ee50 -009e5710 009d8660 +009e54d0 009d8660 009e5710 0069ee50 -009e5960 0069ee50 +009e5710 009d8660 009e5960 009e6940 009e5960 009e6740 +009e5960 0069ee50 009e5960 00aef12b 009e5a30 009d8660 -009e5ab0 004288a0 009e5ab0 006eef60 -009e5ab0 006fe410 +009e5ab0 004288a0 009e5ab0 00456750 +009e5ab0 006fe410 +009e5c00 009e6940 009e5c00 00af0911 +009e5c00 006eef60 009e5c00 00708250 009e5c00 004e4690 -009e5c00 006eef60 009e5c00 006fe410 -009e5c00 009e6940 009e5d90 EXTERNAL:00000220 -009e5d90 00af0911 -009e5d90 007df1e0 -009e5d90 00aef15c -009e5d90 009e6780 -009e5d90 00af0770 -009e5d90 004253d0 009e5d90 006dac30 +009e5d90 00aef15c +009e5d90 004253d0 +009e5d90 00417870 +009e5d90 00aef12b +009e5d90 009e6780 +009e5d90 00af0911 +009e5d90 00af0770 +009e5d90 0042c920 009e5d90 00706940 009e5d90 0090b070 -009e5d90 0042c920 -009e5d90 00aef12b -009e5d90 00417870 +009e5d90 007df1e0 009e6780 009e69c0 009e6ac0 EXTERNAL:000001f7 009e6b20 00af05eb 009e6b20 009e6b00 009e6b40 EXTERNAL:000001f7 009e6bd0 EXTERNAL:000001f7 -009e6c20 0040ccc0 +009e6c20 EXTERNAL:00000218 009e6c20 EXTERNAL:00000220 009e6c20 EXTERNAL:000001f7 009e6c20 00aef15c -009e6c20 EXTERNAL:00000218 009e6c20 0060c790 -009e6c20 00421680 009e6c20 00aef12b +009e6c20 0040ccc0 +009e6c20 00421680 009e6df0 007dcd30 009e6df0 009e7390 009e6e10 EXTERNAL:000001f7 009e6e50 0040ccd0 009e6e80 EXTERNAL:000001f1 +009e6e90 009e6e80 009e6e90 009f3160 009e6e90 009e6e50 -009e6e90 009e6e80 -009e6eb0 007dcd30 009e6eb0 EXTERNAL:00000220 -009e6eb0 00af05eb +009e6eb0 007dcd30 009e6eb0 00a19530 +009e6eb0 EXTERNAL:000001db +009e6eb0 00aef15c +009e6eb0 00a17180 +009e6eb0 00aef12b +009e6eb0 00af05eb +009e6eb0 00420a80 +009e6eb0 0040c340 +009e6eb0 EXTERNAL:000001c0 +009e6eb0 EXTERNAL:00000262 +009e6eb0 009e86e0 +009e6eb0 009e6d90 009e6eb0 009e8380 009e6eb0 009e7f30 -009e6eb0 00aef15c -009e6eb0 00a46150 -009e6eb0 009e8010 -009e6eb0 00a0f4e0 -009e6eb0 EXTERNAL:000001db -009e6eb0 EXTERNAL:000001dd -009e6eb0 EXTERNAL:000001c0 -009e6eb0 009e7390 -009e6eb0 009e86e0 -009e6eb0 0040c340 -009e6eb0 EXTERNAL:00000262 -009e6eb0 009e6c20 -009e6eb0 00420a80 -009e6eb0 00a17180 -009e6eb0 009e6d90 -009e6eb0 00aef12b 009e6eb0 EXTERNAL:00000221 +009e6eb0 EXTERNAL:000001dd +009e6eb0 009e7390 +009e6eb0 009e8010 +009e6eb0 009e6c20 +009e6eb0 00a46150 +009e6eb0 00a0f4e0 009e72e0 007dcd30 009e72e0 009e7390 009e72e0 009e7310 009e7300 009e7310 +009e7310 009e85d0 009e7310 EXTERNAL:00000220 009e7310 00aef15c -009e7310 009e85d0 009e7390 EXTERNAL:00000220 009e7390 00aef15c 009e7400 009e7f30 009e7400 EXTERNAL:000001dd 009e7440 EXTERNAL:000001f7 -009e7480 EXTERNAL:000001ae 009e7480 009e84e0 009e7480 EXTERNAL:000001da +009e7480 EXTERNAL:000001ae 009e74c0 EXTERNAL:00000259 -009e74f0 EXTERNAL:000001ae 009e74f0 EXTERNAL:00000249 +009e74f0 EXTERNAL:000001ae 009e74f0 EXTERNAL:00000256 -009e75c0 009e82b0 009e75c0 EXTERNAL:00000248 -009e7690 EXTERNAL:00000246 +009e75c0 009e82b0 009e7690 EXTERNAL:00000247 -009e7690 009e8280 +009e7690 EXTERNAL:00000246 009e7690 009e82b0 +009e7690 009e8280 +009e7780 EXTERNAL:00000245 009e7780 00af05df 009e7780 EXTERNAL:000001c4 -009e7780 EXTERNAL:00000245 009e7870 00af05df -009e7870 EXTERNAL:000001c5 009e7870 EXTERNAL:00000244 -009e79b0 0040ccc0 -009e79b0 00af05df +009e7870 EXTERNAL:000001c5 009e79b0 EXTERNAL:00000220 -009e79b0 0040cf00 -009e79b0 00aef15c -009e79b0 EXTERNAL:00000250 -009e79b0 00af08bd -009e79b0 EXTERNAL:0000024a -009e79b0 00aef12b 009e79b0 EXTERNAL:000001ac +009e79b0 00af05df +009e79b0 00aef15c +009e79b0 00af08bd +009e79b0 00aef12b +009e79b0 EXTERNAL:0000024a +009e79b0 EXTERNAL:00000250 +009e79b0 0040ccc0 +009e79b0 0040cf00 009e7d10 EXTERNAL:0000024a -009e7dc0 EXTERNAL:0000024f +009e7dc0 EXTERNAL:00000245 009e7dc0 EXTERNAL:000001ab 009e7dc0 00aef12b -009e7dc0 EXTERNAL:00000245 +009e7dc0 EXTERNAL:0000024f 009e7dc0 EXTERNAL:000001ce 009e7f10 EXTERNAL:0000026b 009e7f20 EXTERNAL:0000026d -009e7f30 EXTERNAL:000001ae -009e7f30 EXTERNAL:00000255 009e7f30 EXTERNAL:000001ca +009e7f30 EXTERNAL:00000255 009e7f30 009e82b0 -009e8010 EXTERNAL:000001ae -009e8010 EXTERNAL:000001d1 -009e8010 EXTERNAL:000001cc +009e7f30 EXTERNAL:000001ae 009e8010 EXTERNAL:000001ad -009e8010 EXTERNAL:000001aa -009e8010 EXTERNAL:000001cd -009e8010 EXTERNAL:000001b0 009e8010 009e84e0 -009e8010 EXTERNAL:00000256 +009e8010 EXTERNAL:000001cc 009e8010 EXTERNAL:000001da +009e8010 EXTERNAL:000001cd +009e8010 EXTERNAL:000001d1 +009e8010 EXTERNAL:000001ae +009e8010 EXTERNAL:00000256 +009e8010 EXTERNAL:000001b0 +009e8010 EXTERNAL:000001aa 009e81f0 009e7f30 009e81f0 00aef15c 009e8220 009e7f30 009e8220 00aef15c 009e8220 EXTERNAL:000001dd 009e8220 EXTERNAL:000001c0 +009e82b0 EXTERNAL:00000245 009e82b0 EXTERNAL:000001dc 009e82b0 00aef12b -009e82b0 EXTERNAL:00000245 -009e8380 009e8bc0 009e8380 009e85d0 009e8380 009e86a0 009e8380 009e8a80 +009e8380 009e8bc0 009e84a0 EXTERNAL:00000220 009e84a0 00aef15c -009e84e0 EXTERNAL:000001b2 009e84e0 EXTERNAL:000001b1 +009e84e0 EXTERNAL:000001b2 009e84e0 00aef0f9 009e84e0 EXTERNAL:000001df -009e84e0 009e6b20 -009e84e0 EXTERNAL:000001d9 009e84e0 EXTERNAL:000001b3 +009e84e0 EXTERNAL:000001d9 +009e84e0 009e6b20 009e85d0 EXTERNAL:00000220 009e85d0 00aef15c 009e86a0 009e85d0 -009e86e0 007dcd30 -009e86e0 EXTERNAL:00000263 -009e86e0 EXTERNAL:00000220 -009e86e0 00aef15c -009e86e0 00a63f30 -009e86e0 EXTERNAL:00000252 -009e86e0 009e8e90 -009e86e0 00af05e5 -009e86e0 008ba150 -009e86e0 00a63a10 -009e86e0 009e7390 -009e86e0 008c5d50 -009e86e0 009e8ee0 -009e86e0 00af08bd -009e86e0 EXTERNAL:00000262 -009e86e0 00915f50 009e86e0 009e8d40 +009e86e0 EXTERNAL:00000220 +009e86e0 007dcd30 +009e86e0 00915f50 +009e86e0 00aef15c +009e86e0 00af05e5 009e86e0 00a63000 -009e86e0 009e6d90 +009e86e0 008c5d50 009e86e0 00aef12b +009e86e0 00a63f30 +009e86e0 00a63a10 009e86e0 009e9020 +009e86e0 EXTERNAL:00000262 +009e86e0 008ba150 +009e86e0 EXTERNAL:00000252 +009e86e0 009e6d90 +009e86e0 00af08bd +009e86e0 009e7390 +009e86e0 EXTERNAL:00000263 +009e86e0 009e8ee0 +009e86e0 009e8e90 009e8a80 EXTERNAL:00000220 -009e8a80 0040cf00 009e8a80 00aef15c 009e8a80 0040cee0 +009e8a80 0040cf00 009e8a80 00415bc0 -009e8bc0 EXTERNAL:00000220 -009e8bc0 0040cf00 -009e8bc0 00aef15c 009e8bc0 009e85d0 -009e8bc0 0040cee0 -009e8bc0 00415bc0 +009e8bc0 EXTERNAL:00000220 009e8bc0 009e86a0 -009e8d40 00a64610 -009e8d40 00af05eb -009e8d40 00a931f0 +009e8bc0 00aef15c +009e8bc0 0040cee0 +009e8bc0 0040cf00 +009e8bc0 00415bc0 009e8d40 00a92640 -009e8d40 00a92520 +009e8d40 00a64610 009e8d40 00a910c0 -009e8d40 00af08b7 009e8d40 009e6bd0 -009e8e90 00af05eb +009e8d40 00a931f0 +009e8d40 00af05eb +009e8d40 00af08b7 +009e8d40 00a92520 009e8e90 00a63ba0 -009e8e90 00af08b7 009e8e90 009e6bd0 +009e8e90 00af05eb +009e8e90 00af08b7 +009e8ee0 00a63490 +009e8ee0 009e6bd0 009e8ee0 00af05eb 009e8ee0 00a63100 -009e8ee0 00a63490 009e8ee0 00af08b7 -009e8ee0 009e6bd0 009e8fc0 007dcd30 -009e8fc0 009e7390 -009e8fc0 00a63f30 009e8fc0 0040d040 -009e8fc0 EXTERNAL:00000262 +009e8fc0 009e7390 009e8fc0 00a63000 -009e9020 0040cf00 +009e8fc0 00a63f30 +009e8fc0 EXTERNAL:00000262 009e9020 0040cee0 009e9020 009e84a0 +009e9020 0040cf00 009e9020 00415bc0 -009e90c0 0040ccd0 -009e90c0 EXTERNAL:000001cf 009e90c0 009e917a 009e90c0 009e6e80 +009e90c0 0040ccd0 +009e90c0 EXTERNAL:000001cf 009e9139 009e6e50 009e9162 0040ccd0 -009e91a0 0040ccd0 -009e91a0 009e9262 -009e91a0 EXTERNAL:000001de 009e91a0 009e6e80 +009e91a0 0040ccd0 +009e91a0 EXTERNAL:000001de +009e91a0 009e9262 009e9221 009e6e50 009e924a 0040ccd0 009e9281 009e8220 009e9290 00424540 009e9290 00a0f4c0 -009e9320 00709280 009e9320 00424540 009e9320 00a0f4c0 -009e9430 00709280 +009e9320 00709280 009e9430 00424540 +009e9430 00709280 009e94c0 00424540 009e94c0 00aef15c -009e94e0 00709280 -009e94e0 00aef15c -009e94e0 00a0f4c0 -009e94e0 009ebbf0 -009e94e0 009ebc30 -009e94e0 004e45c0 009e94e0 00424540 -009e94e0 00414a80 +009e94e0 00a0f4c0 009e94e0 009e9bf0 -009e94e0 009ebdc0 -009e94e0 009ebb20 +009e94e0 00aef15c +009e94e0 00709280 009e94e0 009ebce0 009e94e0 00aef12b +009e94e0 009ebb20 +009e94e0 004e45c0 +009e94e0 009ebc30 +009e94e0 009ebbf0 +009e94e0 00414a80 +009e94e0 009ebdc0 009e9b10 00557b00 009e9b50 004288a0 009e9b50 00414a80 009e9bc0 00424540 009e9bf0 004e45c0 009e9c40 00424540 +009e9c40 00aef15c 009e9c40 004288a0 009e9c40 00414a80 -009e9c40 00aef15c 009e9c40 00456750 009e9c40 009eba80 009e9d10 0040cf50 009e9d10 009e9c40 009e9d10 009e9db0 -009e9d50 008725f0 009e9d50 00414a80 +009e9d50 008725f0 +009e9db0 00414870 009e9db0 EXTERNAL:00000220 009e9db0 00aef15c -009e9db0 00684920 -009e9db0 00414870 009e9db0 00aef12b +009e9db0 00684920 009eb590 009eb6b0 009eb5b0 00af08bd 009eb5b0 00aef12b @@ -52047,1168 +52047,1168 @@ 009eb6b0 00aef12b 009eb7f0 EXTERNAL:00000220 009eb7f0 00aef15c -009eb7f0 009eb880 009eb7f0 009eb6b0 -009eb880 00a112c0 +009eb7f0 009eb880 009eb880 006eef60 +009eb880 00a112c0 009eb950 009eb880 009eb980 00a112c0 009eba00 0040cf50 -009eba00 009e9db0 009eba00 006ef8f0 +009eba00 009e9db0 009eba40 0040cf50 009eba40 008725f0 009eba40 009e9db0 -009eba80 00709280 009eba80 00a0f4c0 +009eba80 00709280 009ebb00 009ebbf0 +009ebb20 00a0f4c0 +009ebb20 00415bd0 009ebb20 004288a0 009ebb20 004170d0 -009ebb20 00415bd0 -009ebb20 00a0f4c0 009ebbf0 00424540 009ebbf0 00aef15c 009ebc30 00a0f4c0 009ebc30 009ebbf0 -009ebce0 004170d0 -009ebce0 00415bd0 009ebce0 009ebfd0 009ebce0 00a0f4c0 -009ebdc0 00709280 -009ebdc0 009ebc30 +009ebce0 00415bd0 +009ebce0 004170d0 009ebdc0 EXTERNAL:00000220 -009ebdc0 0040cf00 -009ebdc0 00aef15c 009ebdc0 00a0f4c0 +009ebdc0 00aef15c +009ebdc0 009ebc30 +009ebdc0 00709280 009ebdc0 0040cee0 009ebdc0 009ebbf0 +009ebdc0 0040cf00 +009ebf8f 009ebb00 009ebf8f 00af05eb 009ebf8f 00426940 -009ebf8f 009ebb00 009ebfc0 009ebbf0 -009ebfd0 004288a0 009ebfd0 00414a80 -009ec1d0 00407f10 +009ebfd0 004288a0 009ec1d0 0040d040 -009ec1d0 004087a0 +009ec1d0 00407f10 009ec1d0 00aef638 +009ec1d0 004087a0 009ec600 00407f10 009ec600 00aef15c -009ec600 00408830 009ec600 00aef638 009ec600 0040e2b0 +009ec600 00408830 009ec880 EXTERNAL:00000220 -009ec880 0040cf00 -009ec880 0040a1b0 +009ec880 0040a5d0 009ec880 00aef15c 009ec880 009ed3c0 009ec880 0040bd50 -009ec880 0040a5d0 009ec880 00aef12b -009ecbc0 00a112c0 +009ec880 0040a1b0 +009ec880 0040cf00 009ecbc0 009ee2a0 009ecbc0 00409030 -009ecbc0 009ede60 +009ecbc0 00a112c0 009ecbc0 00408b90 -009ecdd0 00a1b8e0 +009ecbc0 009ede60 009ecdd0 00a1af90 009ecdd0 0040a030 -009ecdd0 00a10d00 -009ecdd0 00a1dfd0 -009ecdd0 009ed5a0 -009ecdd0 0041e420 009ecdd0 0040b220 +009ecdd0 00a1b8e0 +009ecdd0 00a1dfd0 +009ecdd0 00a10d00 +009ecdd0 0041e420 009ecdd0 00aef12b -009ed3c0 009ed780 -009ed3c0 0040a1b0 -009ed3c0 006eef60 -009ed3c0 0040b220 +009ecdd0 009ed5a0 009ed3c0 0040a5d0 +009ed3c0 0040b220 +009ed3c0 006eef60 +009ed3c0 0040a1b0 +009ed3c0 009ed780 +009ed5a0 0040b220 009ed5a0 00a112c0 009ed5a0 00409120 009ed5a0 00408b90 -009ed5a0 0040b220 -009ed780 0040ccd0 009ed780 EXTERNAL:00000220 -009ed780 00413b90 009ed780 004155d0 -009ed780 EXTERNAL:0000023f -009ed780 00aeff60 +009ed780 0040ccd0 +009ed780 008f5ad0 +009ed780 00a178d0 009ed780 00aef15c -009ed780 00413bf0 +009ed780 00413b90 +009ed780 00aef12b 009ed780 00414730 -009ed780 00413c70 +009ed780 00aeff60 +009ed780 EXTERNAL:00000262 +009ed780 00413bf0 +009ed780 EXTERNAL:0000023f 009ed780 00a0f4e0 -009ed780 00421680 009ed780 0040ccc0 009ed780 0040cf00 -009ed780 008f5ad0 -009ed780 EXTERNAL:00000262 -009ed780 00a178d0 -009ed780 00aef12b -009ede60 EXTERNAL:00000220 +009ed780 00413c70 +009ed780 00421680 009ede60 0098ae20 -009ede60 00aef15c -009ede60 0098aec0 -009ede60 0040bf30 -009ede60 004073d0 -009ede60 0040cf00 -009ede60 0040c000 009ede60 00929aa0 -009ede60 0040a380 -009ede60 00a20fb0 -009ede60 00929790 +009ede60 EXTERNAL:00000220 +009ede60 00aef15c +009ede60 0040c000 009ede60 00aef12b -009ee2a0 0040ccd0 +009ede60 0040a380 +009ede60 0040bf30 +009ede60 0098aec0 +009ede60 00a20fb0 +009ede60 004073d0 +009ede60 00929790 +009ede60 0040cf00 009ee2a0 EXTERNAL:00000220 +009ee2a0 0040ccd0 009ee2a0 00aef15c +009ee2a0 0040c000 +009ee2a0 00aef12b +009ee2a0 00420a80 +009ee2a0 0040bf30 +009ee2a0 0040a5d0 009ee2a0 00409030 009ee2a0 0040cae0 -009ee2a0 0040a5d0 -009ee2a0 0040bf30 -009ee2a0 0040cf00 -009ee2a0 0040a1b0 -009ee2a0 0040c000 -009ee2a0 00420a80 009ee2a0 00a20fb0 -009ee2a0 00aef12b +009ee2a0 0040a1b0 +009ee2a0 0040cf00 009ef550 009ef570 -009ef570 EXTERNAL:0000021c 009ef570 00a69f60 +009ef570 EXTERNAL:0000021c +009ef5c0 EXTERNAL:00000009 009ef5c0 009c3c30 009ef5c0 009ef740 -009ef5c0 00420190 -009ef5c0 EXTERNAL:00000009 -009ef5c0 004209d0 -009ef5c0 009c39e0 009ef5c0 009c25e0 -009ef740 0040ccd0 -009ef740 EXTERNAL:00000220 -009ef740 0040cf00 -009ef740 0040c000 -009ef740 00aef15c +009ef5c0 004209d0 +009ef5c0 00420190 +009ef5c0 009c39e0 009ef740 004997f0 +009ef740 EXTERNAL:00000220 +009ef740 0040ccd0 +009ef740 00aef15c +009ef740 0040c000 009ef740 00aef12b 009ef740 0040bf30 +009ef740 0040cf00 009ef960 009ef570 009ef980 EXTERNAL:0000000a 009ef980 EXTERNAL:00000001 009ef9a0 004997f0 -009efa10 0042c8e0 -009efa10 00407f10 -009efa10 004b3950 -009efa10 00aef15c -009efa10 0040d040 009efa10 00a1ad90 +009efa10 0040d040 +009efa10 00407f10 +009efa10 00aef15c 009efa10 00415800 +009efa10 004b3950 +009efa10 0042c8e0 009efa10 004087a0 -009efb60 0040ccd0 -009efb60 00a112c0 -009efb60 EXTERNAL:00000220 -009efb60 0040cf00 -009efb60 00a1a730 -009efb60 004074c0 -009efb60 00aef15c 009efb60 00a1ad90 -009efb60 0041e420 +009efb60 EXTERNAL:00000220 +009efb60 0040ccd0 +009efb60 00a1a730 009efb60 00a0f4c0 +009efb60 00aef15c +009efb60 00a112c0 009efb60 0040bd50 +009efb60 0041e420 009efb60 00aef12b -009efdb0 EXTERNAL:00000220 +009efb60 004074c0 +009efb60 0040cf00 +009efdb0 009f24b0 009efdb0 00a1b050 +009efdb0 EXTERNAL:00000220 009efdb0 00aef15c 009efdb0 009f0290 -009efdb0 009f24b0 009efdb0 009f1cb0 009f0140 EXTERNAL:00000220 -009f0140 00aef15c 009f0140 00a0f550 +009f0140 00aef15c 009f0140 009f0290 009f0140 009f1cb0 -009f0290 009f20f0 009f0290 EXTERNAL:00000220 -009f0290 00af0911 009f0290 00aef15c -009f0290 00af0800 -009f0290 00aefca0 -009f0290 009f1ef0 -009f0290 009ef9a0 -009f0290 009f1be0 -009f0290 009f1d90 -009f0290 0040cf50 -009f0290 009f1f70 -009f0290 00416440 -009f0290 009f2150 -009f0290 00a0f550 -009f0290 0040d040 -009f0290 004215a0 -009f0290 009f1d50 -009f0290 0059c4c0 -009f0290 004997f0 -009f0290 00aef12b 009f0290 009f1380 -009f1380 0040ccd0 -009f1380 009f2c10 +009f0290 009f20f0 +009f0290 009ef9a0 +009f0290 00aef12b +009f0290 004997f0 +009f0290 0040cf50 +009f0290 0059c4c0 +009f0290 009f2150 +009f0290 00af0911 +009f0290 0040d040 +009f0290 00a0f550 +009f0290 009f1d50 +009f0290 009f1ef0 +009f0290 00af0800 +009f0290 009f1f70 +009f0290 00aefca0 +009f0290 009f1d90 +009f0290 009f1be0 +009f0290 00416440 +009f0290 004215a0 009f1380 EXTERNAL:00000220 -009f1380 00499950 -009f1380 EXTERNAL:0000023f -009f1380 0067fdf0 -009f1380 00aef15c -009f1380 004170e0 +009f1380 0040ccd0 009f1380 EXTERNAL:00000232 -009f1380 0040cae0 -009f1380 00a0f550 -009f1380 009f28b0 -009f1380 0067f580 -009f1380 00af08bd +009f1380 00499950 +009f1380 00aef15c 009f1380 EXTERNAL:0000023e +009f1380 0067f580 009f1380 00aef12b +009f1380 004170e0 +009f1380 0067fdf0 +009f1380 009f28b0 +009f1380 EXTERNAL:0000023f 009f1380 EXTERNAL:00000240 +009f1380 00a0f550 +009f1380 0040cae0 +009f1380 00af08bd +009f1380 009f2c10 009f1be0 009f1d90 009f1c40 EXTERNAL:00000220 009f1c40 00aef15c 009f1c40 009f1cb0 009f1cb0 EXTERNAL:00000220 -009f1cb0 00aef15c 009f1cb0 0040d040 +009f1cb0 00aef15c 009f1d20 0040d040 009f1d50 EXTERNAL:00000220 009f1d50 00aef15c -009f1d90 009f2410 009f1d90 EXTERNAL:00000220 -009f1d90 0040cf00 +009f1d90 009f2410 009f1d90 00aef15c -009f1d90 009f1cb0 009f1d90 0040cee0 +009f1d90 0040cf00 +009f1d90 009f1cb0 009f1d90 00415bc0 -009f1f70 0040cf00 009f1f70 009f22d0 -009f1f70 009f2350 -009f1f70 009f1ef0 009f1f70 0040cee0 +009f1f70 009f1ef0 +009f1f70 009f2350 +009f1f70 0040cf00 009f1f70 00415bc0 -009f20c7 00af05eb -009f20c7 009f1d50 009f20c7 009f1d20 +009f20c7 009f1d50 +009f20c7 00af05eb 009f20f0 0040cf50 -009f2150 009f20f0 -009f2150 0040cf00 009f2150 009f22d0 -009f2150 009f2350 -009f2150 009f1ef0 009f2150 0040cee0 +009f2150 009f20f0 +009f2150 009f1ef0 +009f2150 009f2350 +009f2150 0040cf00 009f2150 00415bc0 -009f229d 00af05eb -009f229d 009f1d50 009f229d 009f1d20 +009f229d 009f1d50 +009f229d 00af05eb 009f22d0 EXTERNAL:00000220 -009f22d0 00aef15c 009f22d0 0040d040 +009f22d0 00aef15c 009f2350 0040cf50 009f2480 0040d040 -009f24b0 009f2c10 +009f24b0 00683060 009f24b0 EXTERNAL:00000220 009f24b0 00aef15c -009f24b0 009f2b10 -009f24b0 00683060 -009f24b0 00a10d00 -009f24b0 0040c550 -009f24b0 009f2e20 -009f24b0 00407170 009f24b0 0040a220 -009f24b0 00a0f550 +009f24b0 00a10d00 009f24b0 0040a0d0 -009f24b0 0040b310 -009f24b0 004476a0 009f24b0 00aef12b +009f24b0 0040c550 +009f24b0 0040b310 +009f24b0 009f2e20 +009f24b0 004476a0 +009f24b0 00a0f550 +009f24b0 00407170 +009f24b0 009f2c10 +009f24b0 009f2b10 +009f28b0 009f2e20 009f28b0 0040cf50 009f28b0 EXTERNAL:00000220 -009f28b0 009f2e20 -009f28b0 0040a220 009f28b0 00aef15c -009f28b0 0040b310 +009f28b0 0040a220 009f28b0 00aef12b -009f2b10 00a112c0 +009f28b0 0040b310 009f2b10 00af08bd -009f2c10 00a112c0 -009f2c10 EXTERNAL:00000220 -009f2c10 0040a1b0 -009f2c10 0072fd10 +009f2b10 00a112c0 009f2c10 009f2e20 -009f2c10 00aef15c -009f2c10 009588a0 -009f2c10 0040c3b0 -009f2c10 009f2b10 +009f2c10 EXTERNAL:00000220 009f2c10 0040a5d0 +009f2c10 00aef15c 009f2c10 00408e00 +009f2c10 00a112c0 +009f2c10 0072fd10 009f2c10 00aef12b +009f2c10 009f2b10 +009f2c10 0040a1b0 +009f2c10 0040c3b0 +009f2c10 009588a0 +009f2e20 00a0f4c0 +009f2e20 00415bd0 009f2e20 004288a0 009f2e20 004170d0 -009f2e20 00415bd0 -009f2e20 00a0f4c0 -009f2ee0 0040ccd0 009f2ee0 EXTERNAL:00000220 +009f2ee0 0040ccd0 009f2ee0 008f5ad0 -009f2ee0 00a62910 009f2ee0 00aef15c -009f2ee0 EXTERNAL:000001f4 +009f2ee0 00a62910 009f2ee0 00aaaa90 009f2ee0 00aef12b +009f2ee0 EXTERNAL:000001f4 009f3180 009f3320 009f3260 00aef15c 009f3260 009f3290 -009f3290 007ad4e0 009f3290 004cf210 +009f3290 007ad4e0 009f3320 004cf210 009f3360 007706e0 -009f33e0 007706e0 009f33e0 00753940 -009f3540 009f3360 -009f3540 009f56c0 -009f3540 009f3bd0 -009f3540 0096ce90 -009f3540 00435a50 -009f3540 0067f170 -009f3540 007706e0 +009f33e0 007706e0 009f3540 00956780 +009f3540 00665c20 +009f3540 009f3bd0 009f3540 004cf210 -009f3540 00499d60 +009f3540 0067f170 +009f3540 00aef12b +009f3540 0096ce90 +009f3540 009f3360 +009f3540 009f5a30 +009f3540 00435a50 +009f3540 0097e7c0 +009f3540 009f56c0 009f3540 004cdcf0 009f3540 009f6610 -009f3540 0092dc30 -009f3540 009f5a30 -009f3540 0097e7c0 009f3540 0067f010 -009f3540 00665c20 -009f3540 00aef12b +009f3540 00499d60 +009f3540 0092dc30 +009f3540 007706e0 009f3c80 007706e0 009f3d00 00771550 -009f3db0 00771550 009f3db0 0090b100 -009f3f60 00771550 +009f3db0 00771550 009f3f60 004071f0 009f3f60 0090b100 +009f3f60 00771550 009f41c0 00781b90 009f4230 00782160 -009f4280 0040ccd0 009f4280 EXTERNAL:00000220 +009f4280 0040ccd0 009f4280 00aef15c -009f4280 0040cf50 -009f4280 0040c310 -009f4280 0040cf00 -009f4280 007ad7e0 009f4280 0072fd10 -009f4280 0040d040 +009f4280 00aef12b +009f4280 0075a700 009f4280 0040c340 009f4280 0040a380 +009f4280 0040cf50 +009f4280 0040d040 +009f4280 0040c310 +009f4280 007ad7e0 009f4280 0040a6e0 -009f4280 0075a700 -009f4280 00aef12b -009f4da0 0040ccd0 -009f4da0 0040c310 +009f4280 0040cf00 009f4da0 EXTERNAL:00000220 -009f4da0 007ad7e0 -009f4da0 0072fd10 -009f4da0 00aef15c +009f4da0 0040ccd0 009f4da0 0040d040 +009f4da0 00aef15c +009f4da0 007ad7e0 +009f4da0 0040c310 +009f4da0 0072fd10 +009f4da0 00aef12b 009f4da0 0040c340 009f4da0 0075ad50 -009f4da0 00aef12b 009f4fc0 007ad4e0 -009f4ff0 0072fd10 009f4ff0 0075a2b0 +009f4ff0 0072fd10 009f4ff0 00aef12b +009f50f0 0075a2b0 009f50f0 EXTERNAL:00000220 -009f50f0 0072fd10 009f50f0 00aef15c 009f50f0 0040a550 -009f50f0 0075a2b0 +009f50f0 0072fd10 009f50f0 00aef12b -009f52c0 0040a940 009f52c0 EXTERNAL:00000220 -009f52c0 0072fd10 +009f52c0 00408e00 +009f52c0 0040a940 009f52c0 00aef15c 009f52c0 009f4280 +009f52c0 0072fd10 009f52c0 0040aaf0 -009f52c0 00408e00 009f52c0 00aef12b 009f5510 0040cf50 009f5510 EXTERNAL:00000220 -009f5510 0072fd10 009f5510 00aef15c +009f5510 00423480 +009f5510 0072fd10 009f5510 009f50f0 009f5510 00aef12b -009f5510 00423480 009f5780 0040ccd0 -009f5890 007706e0 009f5890 007aaea0 009f5890 00a10030 +009f5890 007706e0 009f5a30 007aa850 009f5a30 00631a00 +009f5ad0 004cf210 +009f5ad0 006eef60 009f5ad0 004cdcf0 009f5ad0 007db8d0 -009f5ad0 006eef60 -009f5ad0 006fe410 009f5ad0 00790af0 -009f5ad0 004cf210 +009f5ad0 006fe410 +009f5d60 00956780 +009f5d60 00435a50 009f5d60 007a0970 +009f5d60 004cf210 +009f5d60 006eef60 009f5d60 004cdcf0 009f5d60 0092dc30 -009f5d60 00435a50 -009f5d60 006eef60 009f5d60 006fe410 -009f5d60 00956780 -009f5d60 004cf210 +009f5f40 007bf6c0 009f5f40 EXTERNAL:00000220 -009f5f40 006075a0 -009f5f40 00770ca0 -009f5f40 005cd690 -009f5f40 00930640 -009f5f40 00aef15c -009f5f40 00435a50 -009f5f40 007706e0 +009f5f40 00782630 009f5f40 0097fc10 +009f5f40 00aef15c +009f5f40 00770ca0 +009f5f40 006eef60 009f5f40 0096f310 +009f5f40 00aef12b +009f5f40 00435a50 009f5f40 0075af10 009f5f40 00499d60 -009f5f40 00782630 -009f5f40 006eef60 -009f5f40 007bf6c0 -009f5f40 00aef12b -009f6570 009f5f40 -009f6570 009f3f60 +009f5f40 00930640 +009f5f40 005cd690 +009f5f40 006075a0 +009f5f40 007706e0 009f6570 00aef12b -009f6610 007aab70 -009f6610 00499d60 -009f6610 009f3c80 -009f6610 009f5a30 -009f6610 006eef60 -009f6610 0096f310 +009f6570 009f3f60 +009f6570 009f5f40 009f6610 007bf6c0 -009f6610 009f3d00 -009f6610 009f3f60 +009f6610 007aab70 +009f6610 006eef60 +009f6610 009f3c80 +009f6610 00499d60 +009f6610 0096f310 009f6610 00aef12b -009f6980 004cdcf0 -009f6980 006eef60 -009f6980 006fe410 +009f6610 009f3f60 +009f6610 009f3d00 +009f6610 009f5a30 009f6980 007cb230 009f6980 004cf210 -009f6a60 007aded0 -009f6a60 004cdcf0 +009f6980 006eef60 +009f6980 004cdcf0 +009f6980 006fe410 009f6a60 004cf210 -009f6af0 004cdcf0 +009f6a60 004cdcf0 +009f6a60 007aded0 009f6af0 007ae030 009f6af0 004cf210 +009f6af0 004cdcf0 +009f6b70 004cf210 +009f6b70 006eef60 009f6b70 007ae1d0 009f6b70 004cdcf0 -009f6b70 006eef60 009f6b70 006fe410 -009f6b70 004cf210 -009f6c50 004cdcf0 -009f6c50 006eef60 -009f6c50 006fe410 009f6c50 007bf6c0 -009f6c50 00499d20 -009f6c50 00aef12b 009f6c50 004cf210 -009f6e60 006075a0 -009f6e60 EXTERNAL:00000220 -009f6e60 0041d540 -009f6e60 00428b20 -009f6e60 00676020 -009f6e60 00aef15c +009f6c50 006eef60 +009f6c50 004cdcf0 +009f6c50 00aef12b +009f6c50 00499d20 +009f6c50 006fe410 +009f6e60 007bf6c0 009f6e60 00417170 -009f6e60 0040bf30 -009f6e60 004cdcf0 -009f6e60 00863f70 -009f6e60 005cd690 -009f6e60 007706e0 -009f6e60 00679e80 -009f6e60 0040cae0 -009f6e60 00435c20 009f6e60 0040b220 -009f6e60 00592200 -009f6e60 004cf210 +009f6e60 00aef15c 009f6e60 0040c000 009f6e60 0075b540 -009f6e60 00677780 +009f6e60 00435c20 +009f6e60 0040cae0 +009f6e60 00676020 +009f6e60 005cd690 +009f6e60 EXTERNAL:00000220 +009f6e60 004cf210 009f6e60 006eef60 -009f6e60 007bf6c0 -009f6e60 00676150 -009f6e60 004562f0 -009f6e60 0041d520 +009f6e60 0041d540 009f6e60 00aef12b -009f7930 009305f0 -009f7930 0041d540 -009f7930 007c9130 -009f7930 00676020 -009f7930 009f3c10 -009f7930 004e4690 -009f7930 006831c0 -009f7930 004cdcf0 -009f7930 006fe410 +009f6e60 0040bf30 +009f6e60 00863f70 +009f6e60 0041d520 +009f6e60 00679e80 +009f6e60 004562f0 +009f6e60 00676150 +009f6e60 004cdcf0 +009f6e60 00592200 +009f6e60 00677780 +009f6e60 006075a0 +009f6e60 007706e0 +009f6e60 00428b20 +009f7930 007bf6c0 +009f7930 00956780 009f7930 009f5ad0 009f7930 009f5890 -009f7930 0067f1d0 +009f7930 006831c0 +009f7930 006fe410 009f7930 007c9350 +009f7930 009f3c10 +009f7930 00676020 +009f7930 0092dc30 +009f7930 007c9130 +009f7930 007915a0 +009f7930 004cf210 +009f7930 006eef60 +009f7930 0041d540 009f7930 007cb6e0 +009f7930 00638e30 +009f7930 00aef12b +009f7930 004e4690 +009f7930 009305f0 +009f7930 0041d520 +009f7930 00813520 009f7930 009e0680 -009f7930 007706e0 -009f7930 00956780 +009f7930 00676150 +009f7930 0067f1d0 +009f7930 009f3c40 +009f7930 004cdcf0 +009f7930 00677780 009f7930 007599d0 009f7930 00759400 -009f7930 004cf210 -009f7930 00813520 -009f7930 009f3c40 -009f7930 00638e30 -009f7930 0092dc30 -009f7930 00677780 -009f7930 006eef60 -009f7930 00676150 -009f7930 007bf6c0 -009f7930 007915a0 -009f7930 0041d520 -009f7930 00aef12b -009f9080 009f3180 +009f7930 007706e0 009f9080 00a0f4c0 -009f90f0 009f3180 +009f9080 009f3180 009f90f0 00a0f4c0 -009f9170 009f3180 +009f90f0 009f3180 009f9170 00a0f4c0 -009f91f0 009f3180 +009f9170 009f3180 009f91f0 00a0f4c0 -009f9260 009f3180 +009f91f0 009f3180 009f9260 00a0f4c0 -009f92d0 009f3180 +009f9260 009f3180 009f92d0 00a0f4c0 -009f9350 009f3180 +009f92d0 009f3180 009f9350 00a0f4c0 -009f93d0 009f3180 +009f9350 009f3180 009f93d0 00a0f4c0 -009f9440 009f3180 +009f93d0 009f3180 009f9440 00a0f4c0 -009f94c0 009f3180 +009f9440 009f3180 009f94c0 00a0f4c0 -009f9540 009f3180 -009f9540 00a0f4c0 +009f94c0 009f3180 009f9540 00aef5c4 -009f95d0 009f3180 +009f9540 00a0f4c0 +009f9540 009f3180 009f95d0 00a0f4c0 -009f9640 009f3180 +009f95d0 009f3180 009f9640 00a0f4c0 -009f96c0 009f3180 +009f9640 009f3180 009f96c0 00a0f4c0 -009f9740 009f3180 -009f9740 00a0f4c0 +009f96c0 009f3180 009f9740 00aef5c4 +009f9740 00a0f4c0 +009f9740 009f3180 +009f97e0 004cf210 009f97e0 00aef15c 009f97e0 009f3290 -009f97e0 004cf210 +009f9880 004cf210 009f9880 00aef15c 009f9880 009f3290 -009f9880 004cf210 009f9900 00aef15c 009f9900 009f3290 +009f9930 004cf210 009f9930 00aef15c 009f9930 009f3290 -009f9930 004cf210 009f99b0 00aef15c 009f99b0 00aef638 009f99b0 009f3290 +009f9a20 004cf210 009f9a20 00aef15c 009f9a20 009f3290 -009f9a20 004cf210 +009f9aa0 004cf210 009f9aa0 00aef15c 009f9aa0 00aef638 009f9aa0 009f3290 -009f9aa0 004cf210 -009f9b60 009f3360 -009f9b60 0041d540 -009f9b60 009f56c0 -009f9b60 009f41c0 -009f9b60 009f3540 -009f9b60 00435a50 009f9b60 00a0ffc0 -009f9b60 0067f170 -009f9b60 009f5d60 -009f9b60 00782160 009f9b60 004cf210 -009f9b60 004cdcf0 009f9b60 006eef60 -009f9b60 009f7930 +009f9b60 0041d540 +009f9b60 0067f170 009f9b60 009f5890 +009f9b60 009f41c0 +009f9b60 009f3360 009f9b60 0041d520 +009f9b60 009f5d60 +009f9b60 00435a50 +009f9b60 009f7930 +009f9b60 00782160 +009f9b60 009f56c0 +009f9b60 004cdcf0 +009f9b60 009f3540 009fa1b0 007706e0 -009fa220 009305f0 009fa220 00782630 +009fa220 009305f0 009fa220 007706e0 -009fa450 009305f0 +009fa450 00417170 +009fa450 00956780 +009fa450 009f5ad0 +009fa450 00aef15c +009fa450 0040c000 +009fa450 009f41c0 +009fa450 009f3360 +009fa450 009f4230 +009fa450 006831c0 +009fa450 00703670 +009fa450 00af0911 +009fa450 00435c20 +009fa450 0092dc30 +009fa450 005cd690 +009fa450 009f6af0 +009fa450 00a0ffc0 +009fa450 0040ccd0 +009fa450 004cf210 +009fa450 006eef60 009fa450 0041d540 -009fa450 006075a0 +009fa450 009ff0c0 +009fa450 0040bf30 +009fa450 009305f0 +009fa450 0041d520 +009fa450 0041af60 +009fa450 00435a50 +009fa450 00676150 +009fa450 009f7930 +009fa450 004cdcf0 +009fa450 00407170 +009fa450 00499d20 +009fa450 007ad4e0 +009fa450 007bf6c0 +009fa450 00452bf0 +009fa450 009f6e60 +009fa450 009f6b70 +009fa450 009f50f0 +009fa450 009f5890 +009fa450 009f5d60 +009fa450 009f52c0 +009fa450 00a648b0 +009fa450 0040d040 +009fa450 009f4280 +009fa450 00a112c0 +009fa450 006ac760 +009fa450 00499d60 +009fa450 00675fc0 +009fa450 EXTERNAL:00000220 +009fa450 009f5510 +009fa450 00682ed0 +009fa450 009680d0 +009fa450 0067f170 +009fa450 00aef12b +009fa450 0040a380 +009fa450 009f5720 +009fa450 009f33e0 +009fa450 00408e00 009fa450 009f56c0 009fa450 00966ef0 -009fa450 009ff0c0 -009fa450 00aef15c -009fa450 009f33e0 -009fa450 00417170 -009fa450 00a648b0 -009fa450 004cdcf0 009fa450 007dac80 -009fa450 009f5720 009fa450 009f4ff0 -009fa450 009f5ad0 -009fa450 009f5890 -009fa450 009f3360 -009fa450 00af0911 -009fa450 009f5d60 -009fa450 00956780 -009fa450 007ad4e0 -009fa450 009f4230 -009fa450 009f6b70 -009fa450 00703670 -009fa450 0040a380 -009fa450 009f4280 -009fa450 006eef60 -009fa450 00aef12b -009fa450 0040ccd0 -009fa450 EXTERNAL:00000220 -009fa450 0040ac70 -009fa450 009f41c0 -009fa450 00428b20 -009fa450 009f3540 -009fa450 00a0ffc0 -009fa450 00435a50 -009fa450 009f5510 -009fa450 0040bf30 -009fa450 006831c0 -009fa450 009f6e60 -009fa450 00452bf0 -009fa450 00407170 -009fa450 00675fc0 -009fa450 009f50f0 -009fa450 009f7930 -009fa450 006ac760 -009fa450 005cd690 -009fa450 0067f170 -009fa450 007706e0 -009fa450 00435c20 -009fa450 00408e00 -009fa450 004cf210 -009fa450 00a112c0 -009fa450 009f6af0 -009fa450 00499d60 -009fa450 0040c000 -009fa450 0092dc30 -009fa450 009680d0 009fa450 00677780 -009fa450 0040d040 -009fa450 00682ed0 -009fa450 0041af60 -009fa450 009f52c0 -009fa450 007bf6c0 -009fa450 00676150 -009fa450 00499d20 -009fa450 0041d520 +009fa450 0040ac70 +009fa450 006075a0 +009fa450 009f3540 +009fa450 007706e0 +009fa450 00428b20 009fedf0 004cf210 -009fef20 0040a1b0 009fef20 0040a5d0 009fef20 004cf210 -009ff0c0 009f3c80 -009ff0c0 009f3d00 -009ff0c0 00aef12b +009fef20 0040a1b0 009ff0c0 009f3db0 +009ff0c0 009f3c80 +009ff0c0 00aef12b +009ff0c0 009f3d00 009ff230 007706e0 -009ff360 0041d540 -009ff360 009f56c0 009ff360 00aef15c -009ff360 00a00d10 -009ff360 009f33e0 -009ff360 0097fc10 -009ff360 00a10030 -009ff360 00a648b0 -009ff360 00a10630 -009ff360 004cdcf0 -009ff360 009f5720 -009ff360 009f4ff0 -009ff360 0067f070 -009ff360 009f4da0 -009ff360 00930680 -009ff360 00930550 -009ff360 009f3360 -009ff360 004561b0 -009ff360 00a01020 -009ff360 009f4230 -009ff360 00a00f90 -009ff360 004314b0 -009ff360 009f4280 -009ff360 006eef60 -009ff360 009f6570 -009ff360 0075a2b0 -009ff360 00aef12b -009ff360 0040ccd0 -009ff360 EXTERNAL:00000220 009ff360 009f41c0 -009ff360 00770ca0 -009ff360 00428b20 -009ff360 009f3540 -009ff360 00435a50 -009ff360 00a0ffc0 -009ff360 009f5510 -009ff360 00452bf0 -009ff360 009f4130 -009ff360 009f50f0 -009ff360 009f7930 -009ff360 004cf1d0 -009ff360 006ac760 -009ff360 009f3bd0 -009ff360 0067f170 -009ff360 007706e0 -009ff360 006827a0 -009ff360 0040a4d0 -009ff360 004cf210 -009ff360 00499d60 -009ff360 00651a90 -009ff360 0040d040 +009ff360 009f3360 +009ff360 009f4230 009ff360 009f5a30 -009ff360 0041af60 -009ff360 009f52c0 -009ff360 00499d20 -009ff360 0075abe0 +009ff360 00a00f90 +009ff360 004561b0 +009ff360 00651a90 +009ff360 006827a0 +009ff360 00a0ffc0 +009ff360 0097fc10 +009ff360 0040ccd0 +009ff360 004314b0 +009ff360 004cf210 +009ff360 006eef60 +009ff360 0041d540 +009ff360 00770ca0 009ff360 0041d520 +009ff360 0041af60 +009ff360 00a10630 +009ff360 00435a50 +009ff360 004cf1d0 +009ff360 00930680 +009ff360 009f7930 +009ff360 00930550 +009ff360 004cdcf0 +009ff360 00499d20 +009ff360 009f3bd0 +009ff360 0040a4d0 +009ff360 00452bf0 +009ff360 009f50f0 +009ff360 0075abe0 +009ff360 009f52c0 +009ff360 0040d040 +009ff360 00a648b0 +009ff360 009f4280 +009ff360 006ac760 +009ff360 00499d60 +009ff360 0075a2b0 +009ff360 EXTERNAL:00000220 +009ff360 009f6570 +009ff360 00a01020 +009ff360 009f5510 +009ff360 0067f170 +009ff360 00aef12b +009ff360 009f4da0 009ff360 006a92a0 +009ff360 009f5720 +009ff360 009f33e0 +009ff360 0067f070 +009ff360 00a00d10 +009ff360 009f4130 +009ff360 009f56c0 +009ff360 009f4ff0 +009ff360 00a10030 +009ff360 009f3540 +009ff360 007706e0 +009ff360 00428b20 00a00d10 0041d540 +00a00d10 006eef60 00a00d10 009f6e60 00a00d10 0041af60 -00a00d10 006eef60 -00a00d10 EXTERNAL:00000262 00a00d10 0041d520 +00a00d10 EXTERNAL:00000262 00a00f90 009f3c80 -00a00f90 009f3d00 -00a00f90 009f3f60 00a00f90 00aef12b +00a00f90 009f3f60 +00a00f90 009f3d00 +00a01020 007bf6c0 +00a01020 00417170 00a01020 00af08b1 -00a01020 006075a0 -00a01020 0042eef0 +00a01020 00956780 +00a01020 0067af60 +00a01020 009f5a30 +00a01020 006831c0 +00a01020 00af0911 +00a01020 006a8fa0 +00a01020 00a648b0 +00a01020 00945470 +00a01020 00499d60 +00a01020 006a9ba0 +00a01020 0092dc30 +00a01020 005cd690 +00a01020 006b78d0 +00a01020 007009a0 +00a01020 00652fa0 +00a01020 006eef60 +00a01020 006ff2a0 +00a01020 00682ed0 00a01020 0041d540 00a01020 00945190 -00a01020 00428b20 -00a01020 007009a0 -00a01020 00435a50 -00a01020 006b7a80 -00a01020 006a9ba0 -00a01020 00431310 -00a01020 00417170 -00a01020 00a648b0 -00a01020 006b78d0 -00a01020 006831c0 -00a01020 006a8fa0 -00a01020 00945470 -00a01020 0041a790 -00a01020 006ff2a0 -00a01020 00af0911 -00a01020 005cd690 -00a01020 007706e0 -00a01020 00956780 -00a01020 009f3f60 -00a01020 00499d60 -00a01020 0092dc30 -00a01020 006ac560 -00a01020 0067af60 -00a01020 00682ed0 -00a01020 009f5a30 -00a01020 006eef60 -00a01020 007bf6c0 -00a01020 0041d520 -00a01020 00652fa0 00a01020 00aef12b +00a01020 009f3f60 +00a01020 0042eef0 +00a01020 0041d520 +00a01020 00431310 +00a01020 00435a50 +00a01020 006ac560 00a01020 0042eb10 +00a01020 0041a790 +00a01020 006075a0 +00a01020 007706e0 +00a01020 00428b20 +00a01020 006b7a80 00a02790 004cf210 00a02800 007706e0 +00a02890 009f6570 +00a02890 00a01020 +00a02890 004cf210 +00a02890 006eef60 00a02890 0041d540 00a02890 009f41c0 -00a02890 009f56c0 -00a02890 009f5f40 -00a02890 00782160 -00a02890 00a01020 -00a02890 009f3f60 -00a02890 004cf210 -00a02890 004cdcf0 -00a02890 009f4280 -00a02890 006eef60 -00a02890 009f6570 -00a02890 0041d520 00a02890 00aef12b +00a02890 009f3f60 +00a02890 009f5f40 +00a02890 0041d520 00a02890 009303f0 -00a031b0 009f3360 -00a031b0 0041d540 -00a031b0 009f56c0 +00a02890 00782160 +00a02890 009f4280 +00a02890 009f56c0 +00a02890 004cdcf0 00a031b0 009f3bd0 -00a031b0 009f3540 -00a031b0 00435a50 +00a031b0 006eef60 +00a031b0 0041d540 00a031b0 0067f170 +00a031b0 009f5890 +00a031b0 009f50f0 +00a031b0 009f4fc0 +00a031b0 009f3360 +00a031b0 0041d520 00a031b0 009f5d60 00a031b0 009f33e0 +00a031b0 00435a50 00a031b0 009f3c40 00a031b0 009f4280 -00a031b0 006eef60 -00a031b0 009f50f0 -00a031b0 009f5890 -00a031b0 0041d520 -00a031b0 009f4fc0 -00a036e0 009f3360 -00a036e0 0041d540 -00a036e0 0040a940 +00a031b0 009f56c0 +00a031b0 009f3540 00a036e0 EXTERNAL:00000220 -00a036e0 009f56c0 -00a036e0 009f41c0 00a036e0 009f3bd0 -00a036e0 009f3540 +00a036e0 0040a940 00a036e0 00aef15c -00a036e0 00435a50 -00a036e0 009f5510 -00a036e0 007706e0 -00a036e0 00782160 -00a036e0 009f33e0 -00a036e0 009f6e60 -00a036e0 009f4280 00a036e0 006eef60 +00a036e0 0041d540 +00a036e0 009f5510 +00a036e0 009f6e60 +00a036e0 009f5890 +00a036e0 009f41c0 +00a036e0 00aef12b +00a036e0 009f3360 +00a036e0 0041d520 +00a036e0 009f33e0 +00a036e0 00435a50 00a036e0 009f52c0 00a036e0 009f7930 -00a036e0 009f5890 -00a036e0 0041d520 -00a036e0 00aef12b -00a03f90 EXTERNAL:00000220 -00a03f90 00966ef0 -00a03f90 009f41c0 -00a03f90 009f3540 -00a03f90 00aef15c -00a03f90 00435a50 -00a03f90 009f33e0 -00a03f90 00a10030 +00a036e0 00782160 +00a036e0 009f56c0 +00a036e0 009f4280 +00a036e0 009f3540 +00a036e0 007706e0 00a03f90 00417170 -00a03f90 00a05070 +00a03f90 009f3bd0 +00a03f90 00aef15c +00a03f90 009f41c0 +00a03f90 009f3360 +00a03f90 009f4230 +00a03f90 006ac760 +00a03f90 00499d60 +00a03f90 EXTERNAL:00000220 +00a03f90 004cf210 +00a03f90 006eef60 00a03f90 00a10630 00a03f90 009f6a60 -00a03f90 004cdcf0 -00a03f90 0042c920 +00a03f90 009f33e0 00a03f90 0067f070 -00a03f90 009f7930 +00a03f90 00435a50 +00a03f90 00a05070 00a03f90 00930680 -00a03f90 009f3360 -00a03f90 006ac760 -00a03f90 009f3bd0 -00a03f90 007706e0 +00a03f90 009f7930 +00a03f90 00966ef0 +00a03f90 004cdcf0 00a03f90 00781b90 -00a03f90 009f4230 -00a03f90 004cf210 -00a03f90 00499d60 -00a03f90 006eef60 +00a03f90 0042c920 00a03f90 00499d20 +00a03f90 00a10030 +00a03f90 009f3540 +00a03f90 007706e0 00a04f90 004cf210 -00a05070 009f3c80 00a05070 00782630 -00a05070 009f3d00 00a05070 009f3db0 +00a05070 009f3c80 00a05070 00aef12b -00a052b0 0041d540 -00a052b0 009f56c0 -00a052b0 009f41c0 -00a052b0 009f3540 -00a052b0 00435a50 -00a052b0 009f33e0 -00a052b0 00a10030 -00a052b0 00aef29d -00a052b0 00a06420 -00a052b0 00a10630 -00a052b0 004cdcf0 -00a052b0 006fe410 -00a052b0 0067f070 -00a052b0 009f7930 -00a052b0 009f50f0 -00a052b0 009f5890 -00a052b0 009f3360 -00a052b0 006ac760 -00a052b0 00af0911 +00a05070 009f3d00 00a052b0 009f3bd0 -00a052b0 0067f170 -00a052b0 007706e0 -00a052b0 007ad4e0 -00a052b0 004cf210 -00a052b0 00a06330 -00a052b0 00aef5af +00a052b0 009f5890 +00a052b0 009f41c0 +00a052b0 009f50f0 +00a052b0 00aef29d +00a052b0 009f3360 +00a052b0 006fe410 +00a052b0 00af0911 00a052b0 009f4280 -00a052b0 006eef60 +00a052b0 006ac760 00a052b0 00aef253 +00a052b0 004cf210 +00a052b0 006eef60 +00a052b0 0041d540 +00a052b0 00aef5af +00a052b0 0067f170 00a052b0 0041d520 +00a052b0 00a10630 +00a052b0 009f33e0 +00a052b0 0067f070 +00a052b0 00435a50 +00a052b0 00a06330 +00a052b0 009f7930 +00a052b0 00a06420 +00a052b0 009f56c0 +00a052b0 004cdcf0 +00a052b0 007ad4e0 +00a052b0 00a10030 +00a052b0 009f3540 +00a052b0 007706e0 00a06330 009f3c80 -00a06330 009f3d00 -00a06330 009f3f60 00a06330 00aef12b +00a06330 009f3f60 +00a06330 009f3d00 00a063b0 004cf210 -00a06420 0041d540 -00a06420 00a06940 -00a06420 009f6610 -00a06420 0092dc30 +00a06420 00956780 00a06420 00435a50 -00a06420 0042c920 +00a06420 0097fc10 00a06420 00782160 00a06420 006eef60 -00a06420 0097fc10 -00a06420 00956780 +00a06420 0041d540 +00a06420 009f6610 +00a06420 00a06940 +00a06420 0092dc30 +00a06420 0042c920 00a06420 0041d520 -00a06940 0041d150 -00a06940 0040cf00 00a06940 00af08bd 00a06940 0040cee0 +00a06940 0041d150 +00a06940 0040cf00 00a06940 00415bc0 -00a06a30 0041d540 -00a06a30 006075a0 -00a06a30 EXTERNAL:00000220 -00a06a30 009f41c0 -00a06a30 00428b20 -00a06a30 00676020 -00a06a30 009f3540 -00a06a30 00aef15c -00a06a30 00a0ffc0 -00a06a30 00435a50 -00a06a30 00a10030 -00a06a30 00417170 -00a06a30 00a10630 -00a06a30 004cdcf0 -00a06a30 0042c920 -00a06a30 0067f070 -00a06a30 EXTERNAL:00000262 -00a06a30 009f7930 -00a06a30 009f5ad0 -00a06a30 006ac760 -00a06a30 005cd690 -00a06a30 007706e0 -00a06a30 00aefca0 -00a06a30 00435c20 -00a06a30 004cf210 -00a06a30 00592200 -00a06a30 009f57f0 -00a06a30 00677780 -00a06a30 0041af60 -00a06a30 006eef60 00a06a30 007bf6c0 -00a06a30 00676150 -00a06a30 0041d520 +00a06a30 00417170 +00a06a30 009f5ad0 +00a06a30 00aef15c +00a06a30 009f41c0 +00a06a30 EXTERNAL:00000262 +00a06a30 00435c20 +00a06a30 006ac760 +00a06a30 00676020 +00a06a30 005cd690 +00a06a30 00a0ffc0 +00a06a30 EXTERNAL:00000220 +00a06a30 004cf210 +00a06a30 0041d540 +00a06a30 006eef60 00a06a30 00aef12b -00a07d50 009f3360 -00a07d50 0041d540 -00a07d50 009f56c0 -00a07d50 009f41c0 -00a07d50 00af0911 -00a07d50 009f3bd0 -00a07d50 009f3540 -00a07d50 00435a50 -00a07d50 0067f170 -00a07d50 007706e0 -00a07d50 009f33e0 +00a06a30 009f57f0 +00a06a30 0041d520 +00a06a30 0041af60 +00a06a30 00a10630 +00a06a30 0067f070 +00a06a30 00435a50 +00a06a30 00676150 +00a06a30 009f7930 +00a06a30 004cdcf0 +00a06a30 00592200 +00a06a30 00677780 +00a06a30 0042c920 +00a06a30 00a10030 +00a06a30 00aefca0 +00a06a30 006075a0 +00a06a30 009f3540 +00a06a30 007706e0 +00a06a30 00428b20 00a07d50 00956780 -00a07d50 007ad4e0 +00a07d50 00a08700 +00a07d50 009f3bd0 +00a07d50 006eef60 +00a07d50 0041d540 +00a07d50 0067f170 +00a07d50 009f5890 +00a07d50 009f41c0 +00a07d50 009f50f0 +00a07d50 009f3360 +00a07d50 0041d520 +00a07d50 009f33e0 +00a07d50 00435a50 +00a07d50 00af0911 +00a07d50 009f7930 +00a07d50 009f4280 +00a07d50 009f56c0 00a07d50 00a112c0 00a07d50 0092dc30 -00a07d50 009f4280 -00a07d50 006eef60 -00a07d50 009f7930 -00a07d50 009f50f0 -00a07d50 009f5890 -00a07d50 0041d520 -00a07d50 00a08700 -00a08700 0041d540 -00a08700 009f3c40 -00a08700 00677780 -00a08700 006eef60 -00a08700 007706e0 -00a08700 009f5d60 +00a07d50 007ad4e0 +00a07d50 009f3540 +00a07d50 007706e0 00a08700 009f5ad0 00a08700 00676150 +00a08700 009f3c40 +00a08700 006eef60 +00a08700 0041d540 +00a08700 00677780 00a08700 0041d520 +00a08700 007706e0 +00a08700 009f5d60 00a08cd0 007706e0 00a08d40 00af08b1 -00a08d40 0041d540 -00a08d40 006ac760 -00a08d40 007c36b0 -00a08d40 009f41c0 -00a08d40 009f56c0 -00a08d40 00428b20 -00a08d40 009f3540 -00a08d40 00435a50 -00a08d40 007706e0 00a08d40 00417170 00a08d40 004cf210 -00a08d40 00705b90 -00a08d40 004cdcf0 -00a08d40 0041af60 +00a08d40 0041d540 00a08d40 006eef60 -00a08d40 EXTERNAL:00000262 -00a08d40 009f7930 +00a08d40 00705b90 +00a08d40 009f41c0 00a08d40 0041d520 -00a08d40 009f3d00 +00a08d40 0041af60 +00a08d40 EXTERNAL:00000262 +00a08d40 00435a50 +00a08d40 007c36b0 +00a08d40 009f7930 +00a08d40 009f56c0 +00a08d40 004cdcf0 +00a08d40 006ac760 00a08d40 0041a790 +00a08d40 009f3d00 +00a08d40 009f3540 +00a08d40 007706e0 +00a08d40 00428b20 00a099a0 007706e0 -00a099e0 009305f0 -00a099e0 0041d540 -00a099e0 EXTERNAL:00000220 -00a099e0 009f41c0 -00a099e0 00966ef0 -00a099e0 009f3540 +00a099e0 00956780 +00a099e0 00417170 00a099e0 00aef15c +00a099e0 009f41c0 +00a099e0 009f3360 +00a099e0 00703670 +00a099e0 006b6af0 00a099e0 009f5780 00a099e0 009f5810 -00a099e0 00417170 -00a099e0 009f6c50 -00a099e0 004cdcf0 -00a099e0 EXTERNAL:0000022d -00a099e0 009f5720 -00a099e0 0042c920 -00a099e0 009f7930 -00a099e0 009f3360 -00a099e0 004171b0 -00a099e0 00968430 -00a099e0 0067f170 -00a099e0 007706e0 -00a099e0 00956780 -00a099e0 004cf210 -00a099e0 006b6af0 00a099e0 00499d60 -00a099e0 009680d0 00a099e0 0092dc30 -00a099e0 009f57f0 -00a099e0 00703670 +00a099e0 EXTERNAL:00000220 +00a099e0 004171b0 +00a099e0 004cf210 +00a099e0 0041d540 00a099e0 006eef60 +00a099e0 009680d0 +00a099e0 EXTERNAL:0000022d +00a099e0 0067f170 +00a099e0 009f57f0 +00a099e0 009f6c50 +00a099e0 00968430 +00a099e0 009305f0 00a099e0 0041d520 +00a099e0 009f5720 +00a099e0 009f7930 +00a099e0 00966ef0 +00a099e0 004cdcf0 +00a099e0 0042c920 +00a099e0 009f3540 +00a099e0 007706e0 +00a0a720 007bf6c0 +00a0a720 00956780 +00a0a720 009f5ad0 +00a0a720 009f3bd0 +00a0a720 0040b220 +00a0a720 00aef15c +00a0a720 009f5890 +00a0a720 00aef29d +00a0a720 009f3360 +00a0a720 009f4230 +00a0a720 00703670 +00a0a720 0040a5d0 +00a0a720 009f5870 +00a0a720 009f4280 +00a0a720 00a112c0 +00a0a720 0040bd50 +00a0a720 00499d60 +00a0a720 0092dc30 +00a0a720 007db8d0 +00a0a720 009f5830 +00a0a720 EXTERNAL:00000220 +00a0a720 00aef253 00a0a720 0040ccd0 00a0a720 0041d540 -00a0a720 EXTERNAL:00000220 -00a0a720 009f56c0 -00a0a720 00428b20 -00a0a720 009f3540 -00a0a720 00aef15c -00a0a720 00435a50 -00a0a720 004e4690 -00a0a720 009f33e0 -00a0a720 0040bd50 -00a0a720 009f5aa0 -00a0a720 0040a5d0 -00a0a720 00aef29d -00a0a720 009f5870 -00a0a720 009f6610 -00a0a720 0042c920 -00a0a720 009f4ff0 -00a0a720 009f5830 -00a0a720 009f7930 -00a0a720 009f5850 -00a0a720 009f5ad0 -00a0a720 009f5890 -00a0a720 009f4fc0 -00a0a720 009f3360 -00a0a720 0067f1d0 -00a0a720 009f3bd0 -00a0a720 007706e0 -00a0a720 00956780 -00a0a720 00781b90 -00a0a720 0040b220 -00a0a720 009f4230 -00a0a720 00a112c0 -00a0a720 00aef5af -00a0a720 00499d60 -00a0a720 007db8d0 -00a0a720 0040a1b0 -00a0a720 0092dc30 -00a0a720 009f57f0 -00a0a720 00682ed0 -00a0a720 00703670 -00a0a720 009f4280 00a0a720 006eef60 -00a0a720 00aef253 -00a0a720 007bf6c0 -00a0a720 0041d520 +00a0a720 00682ed0 +00a0a720 00aef5af 00a0a720 00aef12b -00a0d9c0 009f3360 -00a0d9c0 0041d540 -00a0d9c0 009f56c0 -00a0d9c0 009f41c0 +00a0a720 009f57f0 +00a0a720 009f4fc0 +00a0a720 004e4690 +00a0a720 0041d520 +00a0a720 009f33e0 +00a0a720 00435a50 +00a0a720 009f7930 +00a0a720 0067f1d0 +00a0a720 009f56c0 +00a0a720 009f4ff0 +00a0a720 009f6610 +00a0a720 009f5aa0 +00a0a720 00781b90 +00a0a720 0042c920 +00a0a720 0040a1b0 +00a0a720 009f3540 +00a0a720 007706e0 +00a0a720 009f5850 +00a0a720 00428b20 00a0d9c0 009f3bd0 -00a0d9c0 009f3540 -00a0d9c0 00435a50 -00a0d9c0 0067f170 -00a0d9c0 007706e0 -00a0d9c0 00782160 -00a0d9c0 009f33e0 -00a0d9c0 007ad4e0 -00a0d9c0 009f4280 00a0d9c0 006eef60 -00a0d9c0 009f7930 +00a0d9c0 0041d540 +00a0d9c0 0067f170 00a0d9c0 009f5890 -00a0d9c0 0041d520 +00a0d9c0 009f41c0 +00a0d9c0 009f3360 00a0d9c0 009f6980 -00a0e270 009f3360 -00a0e270 009f56c0 -00a0e270 009f3bd0 -00a0e270 009f3540 -00a0e270 00a0ffc0 -00a0e270 00435a50 -00a0e270 0067f170 -00a0e270 007706e0 +00a0d9c0 0041d520 +00a0d9c0 009f33e0 +00a0d9c0 00435a50 +00a0d9c0 009f7930 +00a0d9c0 00782160 +00a0d9c0 009f56c0 +00a0d9c0 009f4280 +00a0d9c0 007ad4e0 +00a0d9c0 009f3540 +00a0d9c0 007706e0 00a0e270 00956780 -00a0e270 00a10030 +00a0e270 00a0ffc0 +00a0e270 009f3bd0 00a0e270 004cf210 +00a0e270 006eef60 +00a0e270 0067f170 +00a0e270 009f5890 +00a0e270 009f3360 +00a0e270 006fe410 +00a0e270 00435a50 +00a0e270 009f7930 +00a0e270 009f56c0 00a0e270 004cdcf0 00a0e270 0092dc30 -00a0e270 006eef60 -00a0e270 006fe410 -00a0e270 009f7930 -00a0e270 009f5890 +00a0e270 00a10030 +00a0e270 009f3540 +00a0e270 007706e0 00a0e630 00af08b1 -00a0e630 0041d540 -00a0e630 009f56c0 -00a0e630 009f3540 -00a0e630 00925df0 -00a0e630 00435a50 -00a0e630 0092e230 -00a0e630 004cdcf0 -00a0e630 007d3480 -00a0e630 006fe410 -00a0e630 009f7930 -00a0e630 009f5890 -00a0e630 0090b100 -00a0e630 005c93b0 -00a0e630 009f3bd0 -00a0e630 006828b0 -00a0e630 0096ce90 -00a0e630 007706e0 00a0e630 00956780 -00a0e630 0096f310 -00a0e630 004cf210 -00a0e630 007d2ad0 -00a0e630 00499d60 -00a0e630 0092dc30 -00a0e630 00677780 +00a0e630 0092e230 +00a0e630 009f3bd0 +00a0e630 009f5890 +00a0e630 0096ce90 +00a0e630 006fe410 00a0e630 00703670 +00a0e630 0090b100 +00a0e630 00499d60 +00a0e630 006828b0 +00a0e630 0092dc30 +00a0e630 007d2ad0 +00a0e630 004cf210 00a0e630 004360f0 00a0e630 006eef60 -00a0e630 007e9020 -00a0e630 00676150 -00a0e630 0041d520 +00a0e630 0041d540 +00a0e630 0096f310 00a0e630 00aef12b +00a0e630 00925df0 +00a0e630 0041d520 +00a0e630 00435a50 +00a0e630 00676150 +00a0e630 009f7930 +00a0e630 009f56c0 +00a0e630 004cdcf0 +00a0e630 007e9020 +00a0e630 005c93b0 +00a0e630 00677780 +00a0e630 007d3480 +00a0e630 009f3540 +00a0e630 007706e0 00a0f420 0092e230 00a0f420 004cf210 00a0f4c0 00a648b0 00a0f4e0 00a648b0 00a0f500 00a648b0 -00a0f770 00a112c0 00a0f770 00af08ff +00a0f770 00a112c0 00a0f830 00a112c0 -00a0f9b0 00a112c0 00a0f9b0 00af08ff +00a0f9b0 00a112c0 00a0fa70 00a112c0 00a0fa70 00a0f830 00a0fb60 00a112c0 -00a0fdb0 00a112c0 00a0fdb0 00a0f770 +00a0fdb0 00a112c0 00a0fea0 00435a50 00a0ff00 00435a50 00a0ff30 00435a50 @@ -53228,236 +53228,236 @@ 00a10dd0 00a106e0 00a10fa0 00a0f550 00a11130 00a106e0 +00a112c0 00a157f0 +00a112c0 EXTERNAL:00000105 +00a112c0 00709bc0 +00a112c0 00420a80 00a112c0 00a159a0 00a112c0 00a15770 -00a112c0 EXTERNAL:00000105 -00a112c0 00a157f0 -00a112c0 00420a80 -00a112c0 00709bc0 00a115f0 00aef15c 00a115f0 00a11620 -00a11620 EXTERNAL:00000103 00a11620 00aef15c 00a11620 00415800 +00a11620 EXTERNAL:00000103 00a11730 00415800 -00a11780 00a159d0 -00a11780 0040c550 00a11780 00a5a7a0 -00a11780 0040c4a0 00a11780 00a12280 -00a11780 0040c3b0 00a11780 00a648b0 -00a118d0 00a120f0 -00a118d0 0040c7f0 -00a118d0 0040c4a0 -00a118d0 EXTERNAL:00000230 -00a118d0 00a69950 +00a11780 0040c4a0 +00a11780 00a159d0 +00a11780 0040c3b0 +00a11780 0040c550 00a118d0 00a0f4c0 -00a118d0 00a648b0 -00a118d0 0040c550 -00a118d0 00a11780 -00a118d0 00a5a7a0 -00a118d0 00a12c00 00a118d0 00a178d0 +00a118d0 0040c4a0 +00a118d0 00a12c00 +00a118d0 00a120f0 00a118d0 00a17180 +00a118d0 0040c550 00a118d0 0040c3b0 -00a11c70 00a120f0 -00a11c70 00a112c0 -00a11c70 0040c7f0 -00a11c70 0040c550 -00a11c70 0040c4a0 -00a11c70 EXTERNAL:0000022f -00a11c70 00a12c00 -00a11c70 00a69950 +00a118d0 EXTERNAL:00000230 +00a118d0 00a5a7a0 +00a118d0 00a648b0 +00a118d0 0040c7f0 +00a118d0 00a69950 +00a118d0 00a11780 00a11c70 00a0f4c0 -00a11c70 00a0f4e0 +00a11c70 EXTERNAL:0000022f 00a11c70 00a58200 -00a11f30 00a12b80 -00a11f30 0040cc10 +00a11c70 0040c7f0 +00a11c70 00a112c0 +00a11c70 0040c4a0 +00a11c70 00a69950 +00a11c70 00a12c00 +00a11c70 00a120f0 +00a11c70 00a0f4e0 +00a11c70 0040c550 00a11f30 00a0f4c0 -00a11f30 00a90ca0 -00a11f30 0040c630 -00a11f30 0040c6b0 +00a11f30 0040cc10 +00a11f30 00a12b80 00a11f30 00a122d0 -00a120f0 0040c550 +00a11f30 00a90ca0 +00a11f30 0040c6b0 +00a11f30 0040c630 00a120f0 00a122d0 -00a121b0 00414a80 +00a120f0 0040c550 00a121b0 00a12280 00a121b0 00414d60 +00a121b0 00414a80 00a12240 00a121b0 +00a122d0 00a0f4c0 +00a122d0 00415bd0 00a122d0 0040c550 00a122d0 004170d0 -00a122d0 00415bd0 -00a122d0 00a0f4c0 -00a12430 00a112c0 -00a12430 00a66c30 -00a12430 00a66cb0 00a12430 EXTERNAL:00000220 +00a12430 00a66cb0 +00a12430 00a0f4c0 00a12430 00aef15c +00a12430 00a112c0 00a12430 00a69a50 00a12430 00a69950 -00a12430 00a0f4c0 00a12430 00420a80 +00a12430 00a66c30 00a12650 00a10d00 00a12720 00a10fa0 00a12820 00a10d00 00a128f0 00a10fa0 00a129a0 00a14200 -00a129a0 00a13750 00a129a0 0042c920 00a129a0 00a140c0 +00a129a0 00a13750 00a129a0 00a671b0 00a12a60 00a189a0 00a12a80 00a112c0 -00a12aa0 004149d0 00a12aa0 00aef15c +00a12aa0 004149d0 00a12ad0 00a648b0 -00a12c00 00a159d0 -00a12c00 0040c550 -00a12c00 00414a80 00a12c00 00a12280 -00a12c00 00a122d0 +00a12c00 0040c440 00a12c00 007098c0 00a12c00 00414d60 -00a12c00 0040c440 -00a12d50 00a112c0 +00a12c00 00414a80 +00a12c00 00a122d0 +00a12c00 00a159d0 +00a12c00 0040c550 00a12d50 00a15590 +00a12d50 00a112c0 00a12ee0 00aef15c 00a12ee0 00a12f20 +00a12f20 00557a60 +00a12f20 00aef15c 00a12f20 0042c8e0 00a12f20 004149d0 -00a12f20 00aef15c -00a12f20 00557a60 00a12f20 00a13c00 -00a12f80 00a0f550 -00a12f80 00a0f4c0 00a12f80 00a67fe0 +00a12f80 00a0f4c0 +00a12f80 00a0f550 +00a13060 00415800 00a13060 0042c8e0 00a13060 00414a80 -00a13060 00415800 00a131f0 00a14050 00a13220 0042c8e0 -00a13220 00a14050 00a13220 00a139f0 -00a13390 00499410 +00a13220 00a14050 00a13390 00a0f4c0 +00a13390 00499410 00a13390 009e3d30 00a13460 00a112c0 00a13460 009e3d30 00a13510 00a114d0 00a13720 00a14250 -00a13750 00a670c0 -00a13750 00aef15c -00a13750 00a66e30 -00a13750 00828180 -00a13750 0042c920 -00a13750 00a0f4c0 00a13750 00a67fe0 -00a139f0 0042c8e0 -00a139f0 00a67bd0 -00a139f0 EXTERNAL:00000220 -00a139f0 00a13ca0 -00a139f0 00414a80 -00a139f0 00aef15c -00a139f0 0042c920 -00a139f0 00415bc0 +00a13750 00a0f4c0 +00a13750 00aef15c +00a13750 00a670c0 +00a13750 00a66e30 +00a13750 0042c920 +00a13750 00828180 00a139f0 0042c880 +00a139f0 EXTERNAL:00000220 +00a139f0 00a67bd0 +00a139f0 00aef15c +00a139f0 0042c8e0 +00a139f0 0042c920 +00a139f0 00414a80 +00a139f0 00a13ca0 +00a139f0 00415bc0 00a13c00 EXTERNAL:00000220 00a13c00 00aef15c 00a13ca0 00a13cd0 -00a13cd0 004170d0 -00a13cd0 00415fe0 00a13cd0 00415f80 00a13cd0 00a0f4c0 -00a13e90 00a13ec0 +00a13cd0 00415fe0 +00a13cd0 004170d0 00a13e90 00aef15c -00a13ec0 0042c8e0 -00a13ec0 00aef15c +00a13e90 00a13ec0 00a13ec0 00557a60 +00a13ec0 00aef15c +00a13ec0 0042c8e0 00a13f20 0042c8e0 00a13f20 00414a80 00a13fa0 EXTERNAL:00000263 -00a13fa0 00a23200 00a13fa0 00a245b0 -00a13fa0 00a159d0 -00a13fa0 00a14330 00a13fa0 00a14620 +00a13fa0 00a14330 +00a13fa0 00a23200 +00a13fa0 00a159d0 +00a14050 00a14270 00a14050 00a159d0 00a14050 00416440 -00a14050 00a14270 +00a140c0 00a0f4c0 +00a140c0 00a14270 +00a140c0 0044be50 00a140c0 00a159d0 00a140c0 00416440 -00a140c0 0044be50 -00a140c0 00a14270 -00a140c0 00a0f4c0 -00a14200 00a112c0 00a14200 00684fc0 +00a14200 00a112c0 00a14250 00a143f0 -00a14270 004170d0 -00a14270 00416440 -00a14270 00415bd0 00a14270 00a0f4c0 -00a14330 004170d0 -00a14330 00416440 -00a14330 00415bd0 +00a14270 00415bd0 +00a14270 00416440 +00a14270 004170d0 00a14330 00a0f4c0 -00a143f0 004170d0 -00a143f0 00415fe0 +00a14330 00415bd0 +00a14330 00416440 +00a14330 004170d0 00a143f0 00415f80 00a143f0 00a0f4c0 +00a143f0 00415fe0 +00a143f0 004170d0 00a145e0 00a149a0 -00a145e0 004149d0 00a145e0 00aef15c 00a145e0 00a15310 +00a145e0 004149d0 +00a14620 00a648b0 00a14620 EXTERNAL:0000022f 00a14620 00a0f4e0 -00a14620 00a648b0 -00a147e0 00a112c0 -00a147e0 00a178d0 -00a147e0 00a0f4e0 -00a147e0 00a14620 00a147e0 00a648b0 +00a147e0 00a178d0 +00a147e0 00a112c0 +00a147e0 00a14620 +00a147e0 00a0f4e0 00a149a0 004149d0 00a149a0 EXTERNAL:00000262 00a14bf0 004149d0 -00a14c00 00a112c0 00a14c00 EXTERNAL:00000220 00a14c00 00af05df 00a14c00 00aef15c 00a14c00 EXTERNAL:0000022f -00a14c00 0042c920 +00a14c00 00a112c0 00a14c00 00a152a0 +00a14c00 0042c920 00a14c00 00a0f4e0 00a14c00 00a15040 00a150d0 0042c920 00a150d0 EXTERNAL:00000262 00a152a0 00a153a0 00a15310 EXTERNAL:00000220 -00a15310 004149d0 00a15310 00aef15c +00a15310 004149d0 00a153a0 00915eb0 00a153a0 EXTERNAL:00000220 -00a153a0 0040cf00 -00a153a0 004149d0 00a153a0 00aef15c 00a153a0 0040cee0 +00a153a0 004149d0 +00a153a0 0040cf00 00a153a0 00415bc0 00a155f0 00a112c0 00a15640 00a112c0 00a156d0 EXTERNAL:00000103 -00a156e0 EXTERNAL:00000103 00a156e0 00aef15c -00a15730 EXTERNAL:00000103 +00a156e0 EXTERNAL:00000103 00a15730 00aef15c -00a15770 EXTERNAL:00000104 +00a15730 EXTERNAL:00000103 00a15770 00a0f4c0 -00a157c0 EXTERNAL:00000103 +00a15770 EXTERNAL:00000104 00a157c0 00aef15c -00a157f0 00a112c0 -00a157f0 00a68490 -00a157f0 EXTERNAL:00000102 -00a157f0 EXTERNAL:0000011c +00a157c0 EXTERNAL:00000103 00a157f0 EXTERNAL:00000101 +00a157f0 EXTERNAL:00000102 +00a157f0 00a112c0 +00a157f0 EXTERNAL:0000011c +00a157f0 00a68490 00a157f0 EXTERNAL:00000100 00a159a0 00a112c0 00a159a0 EXTERNAL:00000100 @@ -53465,405 +53465,405 @@ 00a15b90 EXTERNAL:0000022f 00a15b90 00a0f4e0 00a15c00 00a648b0 -00a15c70 00a68640 -00a15c70 0042c8e0 -00a15c70 00aef15c 00a15c70 00a648b0 -00a15d40 004149d0 +00a15c70 00aef15c +00a15c70 0042c8e0 +00a15c70 00a68640 00a15d40 00aef15c -00a15d90 00a167d0 +00a15d40 004149d0 00a15d90 00a5a7a0 -00a15d90 00a15f10 00a15d90 00a648b0 +00a15d90 00a15f10 +00a15d90 00a167d0 00a15e30 00aef15c 00a15e30 EXTERNAL:00000262 -00a15f10 00a15d20 -00a15f10 00a16e00 -00a15f10 00a15b90 -00a15f10 00428590 00a15f10 00a0f4c0 +00a15f10 00a15b90 +00a15f10 00a15d20 +00a15f10 00428590 +00a15f10 00a16e00 00a16060 EXTERNAL:0000022d 00a16060 0042c920 -00a16130 00a68790 -00a16130 00a16c60 00a16130 00a5a7a0 00a16130 00a648b0 -00a16220 00a159d0 -00a16220 00416440 -00a16220 00651990 +00a16130 00a68790 +00a16130 00a16c60 00a16220 00a5a7a0 +00a16220 00a648b0 +00a16220 00651990 +00a16220 00af05e5 00a16220 EXTERNAL:0000022d 00a16220 EXTERNAL:0000022e +00a16220 00a159d0 +00a16220 00416440 00a16220 EXTERNAL:00000262 -00a16220 00af05e5 -00a16220 00a648b0 -00a163f0 EXTERNAL:00000220 -00a163f0 00a172e0 00a163f0 00a5a7a0 -00a163f0 00aef15c -00a163f0 EXTERNAL:00000262 -00a163f0 00a0f4e0 +00a163f0 EXTERNAL:00000220 00a163f0 00aef5c4 -00a16610 EXTERNAL:00000220 -00a16610 00a172e0 +00a163f0 00aef15c +00a163f0 00a172e0 +00a163f0 00a0f4e0 +00a163f0 EXTERNAL:00000262 00a16610 00a5a7a0 -00a16610 00aef15c -00a16610 EXTERNAL:00000262 -00a16610 00a0f4e0 +00a16610 EXTERNAL:00000220 00a16610 00aef5c4 00a16610 00a648b0 -00a167d0 00a5a940 -00a167d0 00a15b90 -00a167d0 00428590 +00a16610 00aef15c +00a16610 00a172e0 +00a16610 00a0f4e0 +00a16610 EXTERNAL:00000262 00a167d0 00a0f4c0 -00a167d0 00a523e0 -00a167d0 00af05e5 -00a167d0 00a0f4e0 -00a167d0 00a648b0 -00a167d0 00a5a7a0 -00a167d0 EXTERNAL:00000262 +00a167d0 00a15b90 00a167d0 00a178d0 -00a167d0 00a68590 +00a167d0 00af05e5 +00a167d0 EXTERNAL:00000262 +00a167d0 00a5a7a0 00a167d0 00a52540 +00a167d0 00a648b0 +00a167d0 00a5a940 +00a167d0 00428590 +00a167d0 00a0f4e0 +00a167d0 00a523e0 +00a167d0 00a68590 +00a16c60 00a5a7a0 +00a16c60 00a648b0 +00a16c60 00aef15c +00a16c60 00651990 +00a16c60 00a17f40 00a16c60 00a159d0 00a16c60 00416440 -00a16c60 00651990 -00a16c60 00a5a7a0 -00a16c60 00aef15c 00a16c60 EXTERNAL:00000262 -00a16c60 00a17f40 -00a16c60 00a648b0 00a16e00 00a5a940 -00a16e60 00a16ec0 00a16e60 EXTERNAL:00000220 00a16e60 00aef15c +00a16e60 00a16ec0 00a16ec0 EXTERNAL:00000262 -00a16f50 EXTERNAL:00000263 -00a16f50 EXTERNAL:000000fe -00a16f50 EXTERNAL:000000ff -00a16f50 EXTERNAL:0000010a 00a16f50 EXTERNAL:00000227 -00a16f50 EXTERNAL:00000262 -00a16f50 EXTERNAL:00000242 +00a16f50 EXTERNAL:0000010a +00a16f50 EXTERNAL:00000263 +00a16f50 EXTERNAL:000000ff 00a16f50 00aef12b -00a17180 00a68790 -00a17180 00a524b0 +00a16f50 EXTERNAL:00000242 +00a16f50 EXTERNAL:000000fe +00a16f50 EXTERNAL:00000262 00a17180 00a5a7a0 -00a17180 00a16c60 +00a17180 00a524b0 00a17180 00a648b0 -00a172e0 00a16f50 -00a172e0 00a17630 -00a172e0 EXTERNAL:0000010a -00a172e0 EXTERNAL:00000241 +00a17180 00a68790 +00a17180 00a16c60 00a172e0 00a5a7a0 -00a172e0 EXTERNAL:0000022d -00a172e0 EXTERNAL:00000262 -00a172e0 EXTERNAL:00000227 -00a172e0 EXTERNAL:000000fd 00a172e0 00a648b0 -00a17630 00a16ec0 +00a172e0 EXTERNAL:0000010a +00a172e0 EXTERNAL:00000227 +00a172e0 00a17630 +00a172e0 EXTERNAL:0000022d +00a172e0 EXTERNAL:000000fd +00a172e0 00a16f50 +00a172e0 EXTERNAL:00000241 +00a172e0 EXTERNAL:00000262 00a17630 EXTERNAL:00000220 -00a17630 0040cf00 00a17630 00a17780 00a17630 00aef15c 00a17630 0040cee0 +00a17630 00a16ec0 +00a17630 0040cf00 00a17630 00415bc0 00a17780 00a16ec0 00a177c0 00aef15c 00a177c0 00a177f0 00a177f0 00aef15c -00a17860 00a17180 00a17860 00a648b0 -00a178d0 00a17f40 -00a178d0 00a17180 +00a17860 00a17180 00a178d0 00a648b0 00a178d0 00a17ea0 -00a179c0 00a112c0 -00a179c0 00a17f40 +00a178d0 00a17180 +00a178d0 00a17f40 00a179c0 00a0f4c0 -00a179c0 00a68b80 -00a179c0 00a17180 -00a179c0 00af05e5 -00a179c0 00aef12b 00a179c0 00a17ea0 +00a179c0 00af05e5 +00a179c0 00a112c0 +00a179c0 00a17180 +00a179c0 00a68b80 +00a179c0 00aef12b +00a179c0 00a17f40 00a179c0 00a68a50 00a17ea0 00a524b0 00a17ea0 00a0f4c0 -00a17ea0 00a523e0 00a17ea0 00a52540 -00a17f40 00a159d0 -00a17f40 00a15ab0 +00a17ea0 00a523e0 00a17f40 00a0f4c0 +00a17f40 00a15ab0 +00a17f40 00a159d0 00a17f40 00a68a50 00a18070 00aef15c 00a18070 00a12f20 00a180a0 00a12f20 +00a180b0 00a67fe0 +00a180b0 00a0f4c0 00a180b0 00a13fa0 00a180b0 00a0f550 -00a180b0 00a0f4c0 -00a180b0 00a67fe0 00a18230 00a325a0 -00a18230 00a14050 00a18230 00a32770 -00a182c0 00a35ca0 +00a18230 00a14050 00a182c0 00a36c60 -00a18300 00a112c0 -00a18300 00a32470 -00a18300 00a380b0 -00a18300 00a34e80 -00a18300 00a31300 +00a182c0 00a35ca0 00a18300 00a37f80 -00a18300 00a18750 00a18300 00a50530 +00a18300 00a18750 +00a18300 00a380b0 +00a18300 00a31300 00a18300 00a18530 +00a18300 00a32470 +00a18300 00a112c0 +00a18300 00a34e80 00a18460 00a32770 00a184e0 00a32840 -00a184e0 00a359a0 00a184e0 00a34e80 00a184e0 00a36c60 -00a18530 00a3c690 +00a184e0 00a359a0 00a18530 00a4c250 -00a18530 00aef12b 00a18530 00a4bef0 +00a18530 00aef12b +00a18530 00a3c690 00a186f0 00a50530 -00a18750 00a112c0 -00a18750 00a31530 00a18750 00a35660 -00a18750 00a31300 00a18750 00a388c0 +00a18750 00a31300 +00a18750 00a31530 +00a18750 00a112c0 00a18750 00a39f70 00a18750 00a3b900 00a188f0 00a112c0 00a189a0 00a112c0 00a189a0 00a363c0 00a18a20 00a112c0 -00a18aa0 00a0f550 00a18aa0 00a0f4c0 +00a18aa0 00a0f550 00a18dc0 00aef15c 00a18dc0 00a18e10 00a18df0 00aef15c 00a18df0 00a1a500 00a18e10 00aef15c -00a18e10 00a1a500 00a18e10 00a12f20 -00a18e90 00a13fa0 -00a18e90 00a5f090 -00a18e90 00a69f60 -00a18e90 00a0f4c0 -00a18e90 00a67fe0 -00a18e90 00a112c0 -00a18e90 00a19450 -00a18e90 EXTERNAL:0000021c -00a18e90 00a19df0 -00a18e90 00a0f550 -00a18e90 EXTERNAL:0000016e +00a18e10 00a1a500 00a18e90 00a6a420 +00a18e90 00a0f4c0 +00a18e90 00a19450 +00a18e90 00a19df0 +00a18e90 EXTERNAL:0000021c +00a18e90 EXTERNAL:0000016e +00a18e90 00a67fe0 +00a18e90 00a13fa0 +00a18e90 00a0f550 +00a18e90 00a112c0 +00a18e90 00a69f60 +00a18e90 00a5f090 00a18e90 EXTERNAL:00000171 -00a19130 00a35370 -00a19130 00a31300 -00a19130 00a35660 -00a19130 00a6af90 00a19130 00a13060 -00a19180 0042c8e0 -00a19180 EXTERNAL:0000021c -00a19180 00a69f60 +00a19130 00a35660 +00a19130 00a31300 +00a19130 00a35370 +00a19130 00a6af90 00a19180 00a325a0 -00a19180 00a14050 +00a19180 0042c8e0 +00a19180 00a69f60 00a19180 00a139f0 -00a19340 EXTERNAL:0000021c +00a19180 00a14050 +00a19180 EXTERNAL:0000021c 00a19340 00a69f60 -00a193c0 EXTERNAL:0000021c +00a19340 EXTERNAL:0000021c 00a193c0 00a69f60 +00a193c0 EXTERNAL:0000021c 00a19450 00a112c0 -00a19450 EXTERNAL:0000021c 00a19450 00a69f60 -00a19530 EXTERNAL:0000021c +00a19450 EXTERNAL:0000021c 00a19530 00a69f60 +00a19530 EXTERNAL:0000021c 00a19600 00a112c0 -00a19600 EXTERNAL:0000021c 00a19600 00a69f60 -00a196b0 EXTERNAL:0000016c +00a19600 EXTERNAL:0000021c +00a196b0 00a50530 +00a196b0 00a6b0a0 +00a196b0 00a18750 +00a196b0 00a18530 +00a196b0 00a69f60 +00a196b0 00a1a2e0 00a196b0 EXTERNAL:0000021c 00a196b0 00a5f090 -00a196b0 00a69f60 -00a196b0 00a6b0a0 -00a196b0 00a1a2e0 -00a196b0 00a18750 -00a196b0 00a50530 -00a196b0 00a18530 +00a196b0 EXTERNAL:0000016c 00a19b60 00a32840 -00a19b60 00a359a0 +00a19b60 00a1a470 00a19b60 00a34e80 00a19b60 00a36c60 -00a19b60 00a1a470 +00a19b60 00a359a0 00a19bc0 00a50530 -00a19bf0 00a18750 00a19bf0 00a50530 +00a19bf0 00a18750 00a19bf0 00a18530 00a19dd0 00a112c0 +00a19df0 00a3bc70 +00a19df0 00a6a9b0 +00a19df0 EXTERNAL:000000fc +00a19df0 00a6ac80 +00a19df0 00a6af90 +00a19df0 EXTERNAL:0000011a +00a19df0 EXTERNAL:0000021c +00a19df0 EXTERNAL:0000016e +00a19df0 00a112c0 +00a19df0 00a69f60 +00a19df0 EXTERNAL:0000016a 00a19df0 EXTERNAL:0000016b 00a19df0 00a5f090 -00a19df0 EXTERNAL:0000016a -00a19df0 00a69f60 -00a19df0 00a6af90 -00a19df0 00a6ac80 -00a19df0 00a6a9b0 -00a19df0 00a112c0 -00a19df0 EXTERNAL:0000021c -00a19df0 EXTERNAL:0000011a -00a19df0 EXTERNAL:000000fc -00a19df0 EXTERNAL:0000016e -00a19df0 00a3bc70 00a19df0 EXTERNAL:00000171 -00a1a2e0 EXTERNAL:0000021c 00a1a2e0 00a69f60 -00a1a470 EXTERNAL:0000021c -00a1a470 00a69f60 -00a1a470 EXTERNAL:000000fc +00a1a2e0 EXTERNAL:0000021c 00a1a470 EXTERNAL:0000000b +00a1a470 EXTERNAL:000000fc +00a1a470 00a69f60 +00a1a470 EXTERNAL:0000021c 00a1a500 00aef15c 00a1a640 00a0f4c0 -00a1a6f0 0042c8e0 -00a1a6f0 004b3950 -00a1a6f0 00aef15c 00a1a6f0 00a1ad90 -00a1a730 00651990 -00a1a730 00af05e5 -00a1a730 00a0f4e0 -00a1a730 00aef5c4 -00a1a730 00a648b0 -00a1a730 00a1cfa0 +00a1a6f0 00aef15c +00a1a6f0 004b3950 +00a1a6f0 0042c8e0 00a1a730 00a118d0 -00a1a730 00a1cea0 00a1a730 00a1ad90 00a1a730 00a178d0 +00a1a730 00af05e5 +00a1a730 00aef12b 00a1a730 00420a80 00a1a730 0040c3b0 -00a1a730 00aef12b -00a1ad90 0042c8e0 -00a1ad90 00aef15c -00a1ad90 00aef638 +00a1a730 00aef5c4 +00a1a730 00a648b0 +00a1a730 00651990 +00a1a730 00a1cea0 +00a1a730 00a1cfa0 +00a1a730 00a0f4e0 00a1ad90 00a648b0 +00a1ad90 00aef15c +00a1ad90 0042c8e0 +00a1ad90 00aef638 00a1ae70 00a1b510 00a1ae80 00a1b8e0 -00a1aec0 00a55d60 00a1aec0 0069dac0 -00a1aec0 00a1bb10 00a1aec0 00a1bd80 -00a1af90 00a55d60 +00a1aec0 00a1bb10 +00a1aec0 00a55d60 00a1af90 0069dac0 -00a1af90 00a1bb10 00a1af90 00a1bd80 -00a1b050 00a55d60 +00a1af90 00a1bb10 +00a1af90 00a55d60 00a1b050 0069dac0 -00a1b050 00a1bb10 00a1b050 00a1bd80 -00a1b140 00a55d60 +00a1b050 00a1bb10 +00a1b050 00a55d60 00a1b140 0069dac0 -00a1b140 00a1bb10 00a1b140 00a1bd80 -00a1b210 00a55d60 +00a1b140 00a1bb10 +00a1b140 00a55d60 00a1b210 0069dac0 +00a1b210 00a55d60 00a1b210 00a1c7d0 00a1b210 00a1c480 -00a1b2d0 00a55d60 00a1b2d0 0069dac0 +00a1b2d0 00a55d60 00a1b2d0 00a1c7d0 00a1b2d0 00a1c480 00a1b3b0 00416440 00a1b410 00416440 00a1b510 00416440 00a1b580 00a1b410 -00a1b580 00a0f550 00a1b580 00a1b4a0 00a1b580 00a11080 +00a1b580 00a0f550 00a1b580 00a10c00 -00a1b580 00a10e70 00a1b580 00a11160 +00a1b580 00a10e70 +00a1b8e0 00a1b4a0 +00a1b8e0 00a2bfe0 00a1b8e0 00a55a50 00a1b8e0 00416440 -00a1b8e0 00a2bfe0 -00a1b8e0 00a1b4a0 +00a1ba10 00a1b4a0 00a1ba10 00a55b00 00a1ba10 00416440 -00a1ba10 00a1b4a0 -00a1bb10 00a1b8e0 -00a1bb10 00a55d60 00a1bb10 EXTERNAL:00000220 -00a1bb10 00a55ef0 -00a1bb10 00aef15c +00a1bb10 00a1b8e0 00a1bb10 00a55e20 -00a1bb10 00a55c40 +00a1bb10 00aef15c +00a1bb10 00a55ef0 +00a1bb10 00a55d60 00a1bb10 00aefca0 +00a1bb10 00a55c40 +00a1bd80 00684fc0 +00a1bd80 00a1b580 00a1bd80 00a1b8e0 00a1bd80 00a112c0 00a1bd80 00a2bfe0 -00a1bd80 00684fc0 00a1bd80 00a140c0 -00a1bd80 00a1b580 00a1bd80 00a1b510 -00a1c480 00a1b8e0 -00a1c480 00a55d60 -00a1c480 00af05df -00a1c480 EXTERNAL:00000220 -00a1c480 00aef15c -00a1c480 00a1ba10 -00a1c480 00aefca0 00a1c480 00a56060 00a1c480 00a56790 -00a1c480 00a56c30 +00a1c480 00a1ba10 +00a1c480 EXTERNAL:00000220 +00a1c480 00a1b8e0 +00a1c480 00af05df +00a1c480 00aef15c +00a1c480 00a55d60 00a1c480 00a0f4e0 -00a1c7d0 00a112c0 -00a1c7d0 00684fc0 -00a1c7d0 00a140c0 +00a1c480 00aefca0 +00a1c480 00a56c30 00a1c7d0 00a1ba10 +00a1c7d0 00684fc0 00a1c7d0 00a1b580 +00a1c7d0 00a112c0 +00a1c7d0 00a140c0 00a1c7d0 00a1b510 00a1cea0 EXTERNAL:00000220 -00a1cea0 0040cf00 00a1cea0 00aef15c -00a1cea0 00af08bd 00a1cea0 00af05e5 +00a1cea0 00af08bd 00a1cea0 0040cee0 +00a1cea0 0040cf00 00a1cea0 00415bc0 00a1cfa0 00a1d4d0 -00a1cfa0 00a1d280 00a1cfa0 00af08bd -00a1cfa0 00aef12b 00a1cfa0 00a1cfa0 +00a1cfa0 00aef12b +00a1cfa0 00a1d280 00a1d280 00a1d5a0 -00a1d610 EXTERNAL:000001d7 00a1d610 00a0f4c0 +00a1d610 EXTERNAL:000001d7 00a1d6b0 00aef15c -00a1d710 00a14200 -00a1d710 00a13750 -00a1d710 00a0f550 00a1d710 00435a50 -00a1d710 00a140c0 00a1d710 00a11080 -00a1d710 00a671b0 +00a1d710 00a0f550 +00a1d710 00a14200 00a1d710 00a10c00 -00a1d8f0 00a14200 -00a1d8f0 00a13750 +00a1d710 00a140c0 +00a1d710 00a13750 +00a1d710 00a671b0 00a1d8f0 00435a50 -00a1d8f0 00a140c0 -00a1d8f0 00a671b0 -00a1d8f0 00a10c00 +00a1d8f0 00a14200 00a1d8f0 00aef12b -00a1dfd0 00a14200 -00a1dfd0 00a13750 -00a1dfd0 00a140c0 +00a1d8f0 00a10c00 +00a1d8f0 00a140c0 +00a1d8f0 00a13750 +00a1d8f0 00a671b0 00a1dfd0 00a11080 +00a1dfd0 00a14200 +00a1dfd0 00a140c0 +00a1dfd0 00a13750 00a1dfd0 00a671b0 -00a1e050 00a2c980 00a1e050 00af05e5 -00a1e1b0 004b3950 -00a1e1b0 00aef15c +00a1e050 00a2c980 00a1e1b0 00a1e2c0 -00a1e1f0 004b3950 +00a1e1b0 00aef15c +00a1e1b0 004b3950 00a1e1f0 00a1e2c0 -00a1e210 00af05e5 +00a1e1f0 004b3950 00a1e210 00a648b0 +00a1e210 00af05e5 00a1e2c0 00a648b0 00a1e430 007defc0 00a1e430 00af08bd @@ -53876,54 +53876,54 @@ 00a1ee10 00a112c0 00a1f010 00a68490 00a1f1f0 00af05e5 -00a1f280 00a112c0 -00a1f280 00af05df 00a1f280 00aefe20 -00a1f280 00a68490 -00a1f280 00a1eed0 +00a1f280 00af05df 00a1f280 00af05e5 -00a1f740 00aef29d -00a1f740 00a2c980 +00a1f280 00a1eed0 +00a1f280 00a112c0 +00a1f280 00a68490 00a1f740 00aef253 00a1f740 00af05e5 -00a1f950 00aef15c +00a1f740 00a2c980 +00a1f740 00aef29d 00a1f950 00a1f980 -00a1f980 EXTERNAL:00000103 +00a1f950 00aef15c 00a1f980 00aef15c -00a1f980 00a1a500 00a1f980 00a214f0 -00a1fa20 00a0f4e0 +00a1f980 EXTERNAL:00000103 +00a1f980 00a1a500 00a1fa20 00aef5c4 +00a1fa20 00a0f4e0 00a1fad0 00aef15c -00a1fad0 00a1a500 00a1fad0 00aef638 +00a1fad0 00a1a500 00a1fad0 00a21800 -00a1fc00 00a112c0 -00a1fc00 EXTERNAL:00000220 -00a1fc00 00aef15c -00a1fc00 00a21630 -00a1fc00 00902d60 00a1fc00 00a1f280 00a1fc00 00a21570 +00a1fc00 EXTERNAL:00000220 +00a1fc00 00aef15c +00a1fc00 00902d60 +00a1fc00 00a112c0 +00a1fc00 00a21630 00a20020 00a112c0 00a200a0 00a112c0 -00a20240 00a112c0 00a20240 00902d60 +00a20240 00a112c0 00a20240 00902cb0 +00a20390 00902d60 00a20390 00a112c0 00a20390 00902cb0 -00a20390 00902d60 00a20440 00a112c0 00a204e0 00a112c0 00a20b70 00a1f010 00a20c10 00a68490 00a20d70 00a1f010 -00a20df0 00a21630 00a20df0 00902d60 -00a20eb0 00902d60 +00a20df0 00a21630 00a20eb0 00a21570 -00a20fb0 00a112c0 +00a20eb0 00902d60 00a20fb0 00902d60 +00a20fb0 00a112c0 00a213b0 00902f10 00a214f0 EXTERNAL:00000220 00a214f0 00aef15c @@ -53931,187 +53931,187 @@ 00a21550 00a21800 00a21570 00902d60 00a21630 EXTERNAL:00000220 -00a21630 0040cf00 00a21630 00aef15c -00a21630 0040cee0 00a21630 00902d60 -00a21630 00415bc0 -00a21630 00a21800 +00a21630 0040cee0 00a21630 00a21880 -00a217ce 00a21550 +00a21630 00a21800 +00a21630 0040cf00 +00a21630 00415bc0 00a217ce 00af05eb +00a217ce 00a21550 00a217ce 00426940 00a21880 00902d60 00a21880 00a21800 00a21900 00a21800 -00a21910 00a5a4c0 +00a21910 00a1f980 00a21910 00aef15c 00a21910 00a21b70 -00a21910 00a1f980 -00a21980 00a6c3e0 -00a21980 00a6cf80 -00a21980 0040cc10 -00a21980 00a0f4c0 -00a21980 00a0f4e0 -00a21980 00aef5c4 +00a21910 00a5a4c0 00a21980 00a1e050 +00a21980 00aef5c4 +00a21980 00a0f4c0 +00a21980 0040cc10 +00a21980 00a6cf80 +00a21980 00a0f4e0 +00a21980 00a6c3e0 00a21b70 00aef15c -00a21b70 00a1a500 00a21b70 00aef638 +00a21b70 00a1a500 00a21b70 00a21800 00a21cb0 00a1fc00 00a21cb0 00a69f60 00a21cb0 00a6de60 00a21d40 00a112c0 00a21f40 00a112c0 -00a220c0 EXTERNAL:0000011c 00a220c0 00a6dab0 -00a220f0 004b3950 -00a220f0 00aef15c +00a220c0 EXTERNAL:0000011c 00a220f0 00a1e2c0 00a220f0 00a648b0 -00a22190 00a112c0 +00a220f0 00aef15c +00a220f0 004b3950 00a22190 EXTERNAL:0000022f +00a22190 00a112c0 00a22190 00a0f4e0 00a22430 00a1e2c0 00a22430 00a648b0 00a224b0 00a1e360 -00a22df0 0042c8e0 00a22df0 00aef15c +00a22df0 0042c8e0 00a22df0 00a1a500 -00a22e60 00a15770 00a22e60 00a0f4c0 00a22e60 00a23230 +00a22e60 00a15770 00a22fb0 0042c8e0 00a22fb0 00414a80 -00a23020 00414a80 00a23020 00aef15c +00a23020 00414a80 00a230b0 00a112c0 +00a230b0 00a23260 00a230b0 00a23200 00a230b0 00416440 -00a230b0 00a23260 00a23160 00a112c0 -00a23160 00416440 00a23160 00a23260 +00a23160 00416440 00a23230 005cca10 00a23290 00aef15c -00a232c0 00a23c50 -00a232c0 00416440 -00a232c0 00a23d40 00a232c0 00a23ae0 00a232c0 00a23df0 +00a232c0 00a23c50 +00a232c0 00a23d40 +00a232c0 00416440 00a233c0 00a112c0 00a23410 EXTERNAL:00000009 00a23410 00a6f680 00a23500 EXTERNAL:00000009 00a23580 EXTERNAL:00000009 -00a23610 00a11c70 00a23610 EXTERNAL:00000009 00a23610 00a23ae0 00a23610 00a23920 +00a23610 00a648b0 +00a23610 00aef12b 00a23610 00420a80 00a23610 0040c3b0 00a23610 00af0750 -00a23610 00a648b0 -00a23610 00aef12b +00a23610 00a11c70 00a238c0 EXTERNAL:00000001 00a23900 EXTERNAL:0000000a 00a23900 EXTERNAL:00000001 -00a239e0 00a23d40 00a239e0 00a23df0 -00a23ae0 00a112c0 +00a239e0 00a23d40 +00a23ae0 EXTERNAL:00000102 00a23ae0 00a23bb0 00a23ae0 00a23fd0 -00a23ae0 EXTERNAL:00000102 +00a23ae0 00a112c0 00a23ae0 EXTERNAL:0000011c 00a23ae0 EXTERNAL:00000100 -00a23bb0 00a159a0 -00a23bb0 00a24210 00a23bb0 00a157f0 +00a23bb0 00a24210 +00a23bb0 00a159a0 00a23c50 00a23df0 -00a23d40 0040cc10 00a23d40 00a0f4c0 +00a23d40 0040cc10 00a23e50 00aef15c -00a23ee0 00a23ee0 -00a23ee0 00a70fe0 00a23ee0 00aef15c -00a23f30 0040cc10 +00a23ee0 00a70fe0 +00a23ee0 00a23ee0 00a23f30 00a0f4c0 -00a23fd0 004170d0 -00a23fd0 00415fe0 -00a23fd0 00a24210 +00a23f30 0040cc10 00a23fd0 00415f80 00a23fd0 00a0f4c0 +00a23fd0 00415fe0 +00a23fd0 00a24210 00a23fd0 00a9e2d0 +00a23fd0 004170d0 00a24270 EXTERNAL:0000025c 00a24270 EXTERNAL:0000025f 00a24330 00a112c0 00a24370 00a112c0 00a243c0 00a112c0 00a24420 EXTERNAL:00000220 -00a24420 0040cf00 00a24420 00aef15c 00a24420 00af05e5 00a24420 0040cee0 +00a24420 0040cf00 00a24420 00415bc0 00a24530 00a112c0 00a24530 EXTERNAL:000001f3 00a24620 00a149a0 -00a24620 004149d0 00a24620 00aef15c 00a24620 00a15310 +00a24620 004149d0 00a24660 00a149a0 -00a24660 004149d0 00a24660 00a15310 -00a24680 00a149a0 +00a24660 004149d0 00a24680 00a354f0 +00a24680 00a149a0 00a246a0 00a3e920 -00a246a0 00a3b520 -00a246a0 00a3b150 -00a246a0 00a3bc00 -00a246a0 00a35710 -00a246a0 00a648b0 -00a246a0 00a112c0 -00a246a0 00a3bb40 00a246a0 00a33b60 00a246a0 00a30cd0 +00a246a0 00a648b0 +00a246a0 00a3bc00 +00a246a0 00a112c0 +00a246a0 00a3b520 +00a246a0 00a3b150 +00a246a0 00a3bb40 +00a246a0 00a34ce0 +00a246a0 00a35710 00a246a0 00a47dd0 00a246a0 00a34be0 -00a246a0 00a34ce0 00a24960 00a4c250 00a24960 00a18530 00a24a20 00420a80 -00a24a50 00a4ac60 -00a24a50 00a31630 -00a24a50 00a3c690 00a24a50 00a30a00 +00a24a50 00a31630 +00a24a50 00a4ac60 +00a24a50 00a3c690 00a24ab0 00a3c690 00a24ca0 00a112c0 -00a24ca0 00a38ed0 00a24ca0 00a36e00 -00a24dd0 00a35e40 +00a24ca0 00a38ed0 00a24dd0 00a38ed0 +00a24dd0 00a35e40 00a24e10 00a112c0 00a24ec0 00a68490 -00a24fd0 00a112c0 00a24fd0 00a5a7a0 -00a24fd0 00aef15c 00a24fd0 00a0f4c0 -00a24fd0 00a523e0 00a24fd0 00a52540 -00a25090 00a112c0 -00a25090 00a25200 -00a25090 00a52610 +00a24fd0 00aef15c +00a24fd0 00a112c0 +00a24fd0 00a523e0 00a25090 00a0f4c0 +00a25090 00a25200 +00a25090 00a112c0 +00a25090 00a52610 00a25090 00a523e0 -00a25130 00a0f4e0 00a25130 00a648b0 -00a25200 00af05df -00a25200 EXTERNAL:00000237 +00a25130 00a0f4e0 00a25200 00a5a7a0 +00a25200 EXTERNAL:00000237 00a25200 00a648b0 -00a25350 00aef15c +00a25200 00af05df 00a25350 00a648b0 +00a25350 00aef15c 00a253e0 00a5a7a0 00a25410 00a5a7a0 00a25450 00a648b0 @@ -54119,334 +54119,334 @@ 00a25510 EXTERNAL:0000026c 00a25530 EXTERNAL:00000115 00a25530 EXTERNAL:0000011d -00a25560 EXTERNAL:000001a2 -00a25560 00af05e5 00a25560 00a648b0 +00a25560 00af05e5 +00a25560 EXTERNAL:000001a2 00a256d0 00a25650 -00a25770 00af05df 00a25770 EXTERNAL:00000233 +00a25770 00af05df +00a25770 EXTERNAL:00000240 +00a25770 EXTERNAL:00000234 00a25770 EXTERNAL:0000022d 00a25770 00a69f60 -00a25770 EXTERNAL:00000234 00a25770 00aef12b -00a25770 EXTERNAL:00000240 00a25c50 EXTERNAL:0000021c 00a25d60 EXTERNAL:0000021c 00a25e20 EXTERNAL:0000021c 00a25f20 EXTERNAL:0000021c 00a26000 EXTERNAL:0000021c 00a26130 EXTERNAL:0000021c -00a26240 00a256d0 -00a26240 00a69f60 00a26240 EXTERNAL:0000022f 00a26240 00af05e5 -00a26440 EXTERNAL:0000021c +00a26240 00a69f60 +00a26240 00a256d0 00a26440 00a69f60 -00a264f0 EXTERNAL:0000021c +00a26440 EXTERNAL:0000021c 00a264f0 00a69f60 +00a264f0 EXTERNAL:0000021c 00a26570 00a69f60 -00a26620 EXTERNAL:0000021c 00a26620 00a69f60 +00a26620 EXTERNAL:0000021c 00a26670 00a69f60 00a266a0 00aefe20 -00a266a0 00a69f60 00a266a0 EXTERNAL:000000f4 -00a26710 00a26920 +00a266a0 00a69f60 00a26710 00a0f4c0 -00a267c0 0042c8e0 +00a26710 00a26920 00a267c0 00aef15c +00a267c0 0042c8e0 00a267c0 00a26920 00a267c0 00a27c80 00a26810 00a5a7a0 -00a26810 00a26920 00a26810 00a648b0 00a26810 00a26f20 +00a26810 00a26920 00a26920 0042c8e0 -00a26920 EXTERNAL:00000262 00a26920 00a27c80 +00a26920 EXTERNAL:00000262 00a26a30 00a5a7a0 -00a26a30 EXTERNAL:000001f3 00a26a30 00a648b0 +00a26a30 EXTERNAL:000001f3 00a26a30 00a26af0 -00a26af0 00a27980 -00a26af0 004288a0 -00a26af0 00a62e10 00a26af0 00a648b0 -00a26d30 00a27980 -00a26d30 004288a0 -00a26d30 00a62e10 +00a26af0 00a62e10 +00a26af0 004288a0 +00a26af0 00a27980 00a26d30 00a648b0 -00a26f20 00413b90 +00a26d30 00a62e10 +00a26d30 004288a0 +00a26d30 00a27980 00a26f20 004155d0 -00a26f20 00aeff60 -00a26f20 00a178d0 -00a26f20 00414730 -00a26f20 00a0f4e0 00a26f20 00a648b0 +00a26f20 00a178d0 +00a26f20 00413b90 00a26f20 00aef12b -00a27038 0042c8e0 +00a26f20 00414730 +00a26f20 00aeff60 +00a26f20 00a0f4e0 00a27038 EXTERNAL:00000220 -00a27038 EXTERNAL:0000023f -00a27038 004149d0 -00a27038 00a27960 -00a27038 00aef15c -00a27038 EXTERNAL:0000022f -00a27038 00414730 -00a27038 00413c70 -00a27038 00a279f0 00a27038 EXTERNAL:00000232 00a27038 00a0f4c0 -00a27038 00a27a10 +00a27038 00aef15c +00a27038 EXTERNAL:0000022f 00a27038 00af05e5 -00a27038 00a0f4e0 -00a27038 00a648b0 +00a27038 004149d0 00a27038 00a280b0 +00a27038 00a27a10 +00a27038 00a27960 +00a27038 00414730 +00a27038 EXTERNAL:0000023f +00a27038 00a648b0 +00a27038 0042c8e0 00a27038 0042c920 +00a27038 00a279f0 +00a27038 00a0f4e0 +00a27038 00413c70 +00a27930 00aef15c 00a27930 0042c8e0 00a27930 004149d0 -00a27930 00aef15c 00a27960 00a27a30 00a27980 00a280b0 00a279f0 00a27cf0 00a27a10 00a27ec0 -00a27a30 00a280b0 -00a27a30 004170d0 -00a27a30 00415fe0 00a27a30 00415f80 00a27a30 00a0f4c0 +00a27a30 00415fe0 +00a27a30 00a280b0 +00a27a30 004170d0 +00a27c80 00aef15c 00a27c80 0042c8e0 00a27c80 004149d0 -00a27c80 00aef15c 00a27c80 00a27c80 -00a27cf0 004288a0 -00a27cf0 004170d0 -00a27cf0 00415fe0 00a27cf0 00415f80 00a27cf0 00a0f4c0 -00a27ec0 00a280b0 -00a27ec0 004170d0 -00a27ec0 00415fe0 +00a27cf0 00415fe0 +00a27cf0 004288a0 +00a27cf0 004170d0 00a27ec0 00415f80 00a27ec0 00a0f4c0 +00a27ec0 00415fe0 +00a27ec0 00a280b0 +00a27ec0 004170d0 00a28130 00aef15c 00a28230 00aef15c -00a282c0 00a28790 00a282c0 00a71f00 00a282c0 00a288a0 +00a282c0 00a28790 00a28360 00a28840 00a28440 00a288a0 +00a284d0 00a23ae0 00a284d0 00a112c0 00a284d0 00a23610 -00a284d0 00a23ae0 00a28590 00a23920 -00a285f0 00a23610 -00a285f0 00a5f260 00a285f0 00a23ae0 00a285f0 009c59a0 -00a28790 0040cc10 +00a285f0 00a23610 +00a285f0 00a5f260 00a28790 00a0f4c0 +00a28790 0040cc10 00a288a0 00a28840 -00a28930 0040cc10 00a28930 00a0f4c0 -00a289d0 00a28790 -00a289d0 00a28c20 +00a28930 0040cc10 00a289d0 00a0f4c0 -00a28bf0 00a28d60 +00a289d0 00a28c20 +00a289d0 00a28790 00a28bf0 00aef15c +00a28bf0 00a28d60 00a28c20 00a0f4c0 -00a28ca0 EXTERNAL:00000103 00a28ca0 00aef15c -00a28ca0 00a2a7e0 00a28ca0 00a2a8d0 -00a28d30 00a28ca0 +00a28ca0 EXTERNAL:00000103 +00a28ca0 00a2a7e0 00a28d30 00aef15c -00a28d60 00a28ca0 +00a28d30 00a28ca0 +00a28d60 00aef15c 00a28d60 004b3950 00a28d60 005cb9b0 -00a28d60 00aef15c -00a28d60 00a1a500 -00a28d60 00a538a0 00a28d60 00a73020 +00a28d60 00a28ca0 +00a28d60 00a538a0 +00a28d60 00a1a500 00a28d60 00a539f0 -00a28e20 00a112c0 -00a28e20 EXTERNAL:00000104 -00a28e20 00a1d610 00a28e20 00a0f4c0 -00a28f10 00a1d6b0 +00a28e20 EXTERNAL:00000104 +00a28e20 00a112c0 +00a28e20 00a1d610 00a28f10 00a2a8d0 -00a28f60 00a112c0 +00a28f10 00a1d6b0 00a28f60 EXTERNAL:00000220 -00a28f60 00a23610 +00a28f60 00a23ae0 00a28f60 00426980 00a28f60 00aef15c -00a28f60 00a288a0 00a28f60 00af08bd -00a28f60 00a23ae0 -00a28f60 00a722c0 00a28f60 007099a0 -00a29370 00a28790 +00a28f60 00a112c0 +00a28f60 00a722c0 +00a28f60 00a23610 +00a28f60 00a288a0 +00a29370 00a0f4c0 +00a29370 00a77bf0 00a29370 EXTERNAL:0000004e 00a29370 00a112c0 -00a29370 EXTERNAL:00000019 00a29370 00a69f60 00a29370 EXTERNAL:00000005 00a29370 EXTERNAL:00000138 -00a29370 00a0f4c0 -00a29370 00a77bf0 +00a29370 00a28790 +00a29370 EXTERNAL:00000019 00a296e0 00a112c0 00a296e0 00a78160 -00a29740 00a112c0 -00a29740 00a78370 -00a29740 00a2a510 00a29740 008ef1d0 -00a29740 00a791d0 -00a29740 00a59fd0 -00a29740 00a2a690 +00a29740 00a78370 00a29740 00a0f4c0 -00a29a40 00a112c0 +00a29740 00a59fd0 +00a29740 00a112c0 +00a29740 00a2a510 +00a29740 00a791d0 +00a29740 00a2a690 00a29a40 008ef1d0 +00a29a40 00a112c0 00a29a40 00a785c0 00a29b10 00a78770 -00a29bb0 00414a80 00a29bb0 00aef15c +00a29bb0 00414a80 00a29d00 EXTERNAL:00000220 -00a29d00 00a73100 -00a29d00 00aef15c -00a29d00 00a288a0 -00a29d00 004267f0 00a29d00 00a282c0 -00a29ed0 00a159a0 -00a29ed0 00a721b0 +00a29d00 00aef15c +00a29d00 004267f0 +00a29d00 00a73100 +00a29d00 00a288a0 00a29ed0 00a157f0 +00a29ed0 00a721b0 +00a29ed0 00a159a0 00a29f60 00a288a0 00a29fd0 00a790b0 00a29fd0 00a2a460 -00a2a030 00a78160 00a2a030 00a29740 +00a2a030 00a78160 00a2a070 00a78160 00a2a070 00a29a40 -00a2a0b0 00a112c0 00a2a0b0 EXTERNAL:00000220 -00a2a0b0 00a791d0 00a2a0b0 00aef15c -00a2a0b0 00a288a0 -00a2a0b0 004267f0 -00a2a0b0 00a2a5a0 -00a2a0b0 00a79800 00a2a0b0 00a71c40 -00a2a460 0040cc10 +00a2a0b0 004267f0 +00a2a0b0 00a79800 +00a2a0b0 00a2a5a0 +00a2a0b0 00a112c0 +00a2a0b0 00a791d0 +00a2a0b0 00a288a0 00a2a460 00a0f4c0 +00a2a460 0040cc10 00a2a510 008ef1d0 -00a2a510 EXTERNAL:000001d7 00a2a510 00a0f4c0 +00a2a510 EXTERNAL:000001d7 +00a2a5a0 00a0f4c0 +00a2a5a0 006937a0 00a2a5a0 00a112c0 00a2a5a0 00915d70 -00a2a5a0 006937a0 -00a2a5a0 00a0f4c0 -00a2a690 0040cc10 00a2a690 00a0f4c0 -00a2a740 EXTERNAL:00000103 +00a2a690 0040cc10 00a2a740 00aef15c -00a2a740 00a2a7e0 00a2a740 00a2a8d0 +00a2a740 EXTERNAL:00000103 +00a2a740 00a2a7e0 00a2a7e0 EXTERNAL:00000220 00a2a7e0 00426980 00a2a7e0 00aef15c 00a2a8b0 00426980 00a2a8d0 00426980 00a2a940 00a28790 -00a2a990 0040cc10 00a2a990 00a0f4c0 -00a2aa60 00a2ac90 -00a2aa60 0040cc10 +00a2a990 0040cc10 00a2aa60 00a0f4c0 +00a2aa60 0040cc10 +00a2aa60 00a2ac90 00a2ab40 00a2ae60 00a2abd0 00a2ae60 00a2ac20 00a112c0 -00a2ac90 00a2ae60 00a2ac90 008f2d20 -00a2add0 00a2ae60 +00a2ac90 00a2ae60 00a2add0 008f2c90 -00a2ae60 0040cc10 +00a2add0 00a2ae60 00a2ae60 00a0f4c0 +00a2ae60 0040cc10 00a2af00 00aef15c 00a2af00 00a2af30 -00a2af30 EXTERNAL:00000103 -00a2af30 004149d0 -00a2af30 00aef15c 00a2af30 00a2bcb0 +00a2af30 00aef15c +00a2af30 004149d0 +00a2af30 EXTERNAL:00000103 00a2b000 00a2bcb0 00a2b050 EXTERNAL:00000220 -00a2b050 00aef15c 00a2b050 00428590 -00a2b1e0 00a15770 -00a2b1e0 EXTERNAL:000001f4 -00a2b1e0 EXTERNAL:0000022f -00a2b1e0 00a2bd60 +00a2b050 00aef15c 00a2b1e0 00a0f4c0 +00a2b1e0 EXTERNAL:0000022f 00a2b1e0 00af05e5 -00a2b1e0 00a0f4e0 -00a2b1e0 00a112c0 -00a2b1e0 00a2ae60 -00a2b1e0 00a159d0 -00a2b1e0 008f2d20 -00a2b1e0 00a9fa20 00a2b1e0 00aa0110 -00a2b7f0 00a159d0 +00a2b1e0 008f2d20 +00a2b1e0 00a2bd60 +00a2b1e0 EXTERNAL:000001f4 +00a2b1e0 00a9fa20 +00a2b1e0 00a2ae60 +00a2b1e0 00a112c0 +00a2b1e0 00a0f4e0 +00a2b1e0 00a159d0 +00a2b1e0 00a15770 00a2b7f0 00a12280 -00a2b7f0 008f2d20 -00a2b7f0 0040cc10 00a2b7f0 00a0f4c0 +00a2b7f0 0040cc10 +00a2b7f0 008f2d20 +00a2b7f0 00a159d0 +00a2b990 00415d20 +00a2b990 00a12280 +00a2b990 00aef15c 00a2b990 00a112c0 00a2b990 00414a80 -00a2b990 00aef15c -00a2b990 00a12280 -00a2b990 00415d20 00a2ba90 00af08bd -00a2bb10 00a112c0 -00a2bb10 EXTERNAL:00000073 -00a2bb10 00414a80 -00a2bb10 EXTERNAL:00000070 -00a2bb10 00aef15c -00a2bb10 00a12280 00a2bb10 00415d20 +00a2bb10 EXTERNAL:00000073 +00a2bb10 00a12280 +00a2bb10 00aef15c +00a2bb10 00a112c0 +00a2bb10 EXTERNAL:00000070 +00a2bb10 00414a80 00a2bcb0 00a2bcb0 00a2bcb0 00aef15c 00a2bd60 00a2bd90 -00a2bd90 004170d0 -00a2bd90 00415fe0 00a2bd90 00415f80 -00a2bd90 008f2d20 00a2bd90 00a0f4c0 +00a2bd90 00415fe0 +00a2bd90 008f2d20 +00a2bd90 004170d0 00a2bf60 00aef15c -00a2c250 00a112c0 -00a2c250 00af05df 00a2c250 EXTERNAL:00000220 +00a2c250 00af05df 00a2c250 00aef15c -00a2c250 00a2c6e0 00a2c250 00af05e5 -00a2c370 00af05df +00a2c250 00a112c0 +00a2c250 00a2c6e0 00a2c370 EXTERNAL:00000220 +00a2c370 00af05df 00a2c370 00aef15c -00a2c370 00a2c6e0 00a2c370 00a0f4e0 -00a2c470 00a2bfe0 +00a2c370 00a2c6e0 00a2c470 00a2c8b0 +00a2c470 00a2bfe0 00a2c570 007dedb0 00a2c570 00af05e5 -00a2c6e0 00a112c0 00a2c6e0 00af05df 00a2c6e0 00a2c860 +00a2c6e0 00a112c0 +00a2c6e0 00aef12b 00a2c6e0 007dccd0 00a2c6e0 00aefca0 00a2c6e0 00415bc0 -00a2c6e0 00aef12b -00a2c860 0040cf00 -00a2c860 00af08bd 00a2c860 007df050 -00a2c8bc 0040cf00 -00a2c8bc 00af08bd +00a2c860 00af08bd +00a2c860 0040cf00 00a2c8bc 007df050 +00a2c8bc 00af08bd +00a2c8bc 0040cf00 00a2c8bc 00415bc0 00a2c980 00af05e5 00a2ca10 EXTERNAL:0000021b @@ -57484,72 +57484,72 @@ 00a51500 00a648b0 00a51690 00a516c0 00a51690 00aef15c +00a516c0 00498f80 +00a516c0 00aef15c 00a516c0 0042c8e0 00a516c0 EXTERNAL:00000103 -00a516c0 00aef15c -00a516c0 00498f80 00a51790 00416440 -00a51840 0042c8e0 -00a51840 00414a80 -00a51840 00416440 -00a51840 008d0bc0 -00a51840 00aef15c 00a51840 00415d20 00a51840 00a648b0 -00a519a0 EXTERNAL:0000022f -00a519a0 00a51570 -00a519a0 00a52100 +00a51840 00aef15c +00a51840 0042c8e0 +00a51840 008d0bc0 +00a51840 00414a80 +00a51840 00416440 00a519a0 00a0f4c0 +00a519a0 EXTERNAL:0000022f +00a519a0 00a52100 00a519a0 00a0f4e0 -00a51aa0 00a112c0 +00a519a0 00a51570 +00a51aa0 00a0f4c0 00a51aa0 00af05df 00a51aa0 00a51d10 -00a51aa0 00a51570 +00a51aa0 00a112c0 00a51aa0 00a52100 -00a51aa0 00a0f4c0 00a51aa0 00a0f4e0 +00a51aa0 00a51570 +00a51bb0 00a51d10 00a51bb0 00a112c0 00a51bb0 EXTERNAL:00000263 -00a51bb0 00a51d10 00a51bb0 00a52100 00a51bb0 00a51570 00a51bb0 00a23200 +00a51c60 00a51d10 00a51c60 00a112c0 00a51c60 EXTERNAL:00000263 -00a51c60 00a51d10 00a51c60 00a52100 00a51c60 00a51570 00a51c60 00a23200 00a51d10 00a112c0 00a51d10 00416440 -00a51dc0 00a112c0 -00a51dc0 00aef15c -00a51dc0 00a648b0 -00a51dc0 00aef638 00a51dc0 00a521f0 -00a51dc0 00aef12b -00a51dc0 00a51d10 +00a51dc0 00a648b0 +00a51dc0 00aef15c 00a51dc0 005cc810 +00a51dc0 00a51d10 +00a51dc0 00a112c0 +00a51dc0 00aef638 +00a51dc0 00aef12b 00a52100 00a521f0 00a52100 00a0f4c0 00a52100 00af05d3 00a52100 EXTERNAL:000001d7 -00a521f0 00aef15c 00a521f0 00a52300 +00a521f0 00aef15c 00a52300 EXTERNAL:00000008 00a523e0 00aef15c 00a523e0 00a52410 00a52410 00a648b0 00a52410 EXTERNAL:00000255 -00a524b0 00a648b0 00a524b0 00a5a7a0 +00a524b0 00a648b0 00a524b0 EXTERNAL:0000026a -00a52540 EXTERNAL:00000251 -00a52540 00a648b0 00a52540 00a5a7a0 -00a52610 EXTERNAL:00000251 -00a52610 00a648b0 +00a52540 00a648b0 +00a52540 EXTERNAL:00000251 00a52610 00a5a7a0 +00a52610 00a648b0 +00a52610 EXTERNAL:00000251 00a526d0 EXTERNAL:00000255 00a526f0 00a648b0 00a52760 EXTERNAL:0000024d @@ -57559,36 +57559,36 @@ 00a52820 EXTERNAL:00000244 00a52850 EXTERNAL:00000245 00a52880 EXTERNAL:00000259 +00a52890 EXTERNAL:000000fa +00a52890 EXTERNAL:0000024e 00a52890 EXTERNAL:00000221 00a52890 EXTERNAL:000000fb -00a52890 EXTERNAL:0000024e -00a52890 EXTERNAL:000000fa -00a52940 EXTERNAL:00000009 -00a52940 00a533d0 00a52940 00a238e0 +00a52940 EXTERNAL:00000009 00a52940 00a71c40 -00a52a10 00aef15c +00a52940 00a533d0 00a52a10 00426980 +00a52a10 00aef15c 00a52a40 00426980 00a52a50 EXTERNAL:00000263 00a52a50 00a23200 00a52b10 00a535f0 -00a52b10 EXTERNAL:00000009 -00a52b10 00aef15c -00a52b10 EXTERNAL:0000023f 00a52b10 00a238e0 +00a52b10 EXTERNAL:00000009 +00a52b10 EXTERNAL:0000023f 00a52b10 00a0f4c0 +00a52b10 00aef15c +00a52b10 004267f0 00a52b10 00a53710 00a52b10 EXTERNAL:000001d7 -00a52b10 004267f0 00a52e20 EXTERNAL:00000009 00a52e80 EXTERNAL:00000009 00a52e80 00a23ae0 00a52e80 00a23610 00a52f40 EXTERNAL:00000009 -00a52fa0 00420a80 00a52fa0 EXTERNAL:00000009 00a52fa0 00aef12b +00a52fa0 00420a80 00a53030 EXTERNAL:00000009 00a530a0 EXTERNAL:00000009 00a530a0 EXTERNAL:0000023f @@ -57596,235 +57596,235 @@ 00a53170 EXTERNAL:00000009 00a53170 00a53350 00a53230 EXTERNAL:00000009 -00a53290 00aef15c 00a53290 EXTERNAL:00000220 +00a53290 00aef15c 00a53290 00a71e10 00a53390 00aef15c 00a533d0 00a533f0 -00a533f0 00415fe0 -00a533f0 00a53660 -00a533f0 004170d0 -00a533f0 00a0f4c0 00a533f0 00415f80 +00a533f0 00a0f4c0 +00a533f0 00a53660 +00a533f0 00415fe0 +00a533f0 004170d0 00a535f0 00a535f0 00a535f0 00a53710 00a536c0 00aef15c 00a536c0 00a536c0 -00a53860 EXTERNAL:00000001 00a53860 EXTERNAL:0000000a -00a53880 00a538a0 +00a53860 EXTERNAL:00000001 00a53880 004b3950 +00a53880 00a538a0 00a538a0 EXTERNAL:00000262 -00a539d0 00a539f0 00a539d0 005cb9b0 +00a539d0 00a539f0 00a539f0 EXTERNAL:00000262 -00a53bc0 00a539f0 00a53bc0 005cb9b0 +00a53bc0 00a539f0 00a53be0 EXTERNAL:0000022f 00a53be0 00a53e50 00a53be0 00a0f4e0 -00a53dd0 00af08bd 00a53dd0 009148c0 -00a53e50 00af08bd +00a53dd0 00af08bd 00a53e50 00a53f00 -00a53f00 00af08bd -00a53f00 0040cf00 -00a53f00 00aef15c -00a53f00 00415bc0 -00a53f00 0040cee0 +00a53e50 00af08bd 00a53f00 EXTERNAL:00000220 +00a53f00 00aef15c +00a53f00 00af08bd +00a53f00 0040cee0 +00a53f00 0040cf00 +00a53f00 00415bc0 00a54080 00aef15c 00a54080 00a540b0 -00a540b0 00a28d60 00a540b0 EXTERNAL:00000007 00a540b0 00a553c0 00a540b0 EXTERNAL:00000008 +00a540b0 00a28d60 +00a54150 EXTERNAL:000001b6 +00a54150 EXTERNAL:00000220 00a54150 0040ccd0 +00a54150 00a7e400 00a54150 EXTERNAL:00000221 00a54150 00aef15c -00a54150 00aef12b -00a54150 00a7e400 -00a54150 EXTERNAL:000001bc -00a54150 00a53290 -00a54150 EXTERNAL:00000220 00a54150 EXTERNAL:0000023c -00a54150 00a28790 +00a54150 EXTERNAL:000001bc +00a54150 00aef12b +00a54150 00a53290 00a54150 00a28360 -00a54150 EXTERNAL:000001b6 -00a542c0 00a5fba0 -00a542c0 00a74a40 -00a542c0 00a157f0 -00a542c0 00a53be0 +00a54150 00a28790 00a542c0 00af08b1 -00a542c0 00a112c0 -00a542c0 EXTERNAL:00000009 -00a542c0 00aef15c -00a542c0 00a539f0 00a542c0 EXTERNAL:00000220 +00a542c0 EXTERNAL:00000009 +00a542c0 00a53be0 +00a542c0 00a157f0 +00a542c0 00aef15c 00a542c0 00a721b0 00a542c0 00a159a0 00a542c0 00a55660 -00a54890 EXTERNAL:00000009 -00a54890 00a238e0 -00a54890 00a288a0 +00a542c0 00a112c0 +00a542c0 00a5fba0 +00a542c0 00a74a40 +00a542c0 00a539f0 00a54890 00af08b1 +00a54890 00a238e0 +00a54890 EXTERNAL:00000009 +00a54890 00a288a0 +00a54b20 00a556c0 +00a54b20 EXTERNAL:00000220 00a54b20 EXTERNAL:00000009 00a54b20 00aef15c -00a54b20 00a54d00 -00a54b20 00415bc0 -00a54b20 00a53290 -00a54b20 EXTERNAL:00000220 -00a54b20 00a556c0 00a54b20 00a55470 +00a54b20 00a53290 +00a54b20 00a54d00 00a54b20 00a28360 00a54b20 00a288a0 +00a54b20 00415bc0 00a54ce0 00a54d00 00a54d00 00a556c0 00a54d00 00a288a0 +00a54e50 00af08b1 00a54e50 00a53290 00a54e50 00a52940 -00a54e50 00af08b1 +00a54f00 00af08b1 00a54f00 00a53660 -00a54f00 00a533d0 -00a54f00 00a288a0 00a54f00 00a71c40 00a54f00 00a551c0 -00a54f00 00af08b1 +00a54f00 00a533d0 +00a54f00 00a288a0 00a55110 00a282c0 -00a551c0 00aef15c -00a551c0 00414a80 00a551c0 00415d20 +00a551c0 00aef15c 00a551c0 00a536c0 +00a551c0 00414a80 00a55330 00a556c0 00a55330 00a288a0 -00a553c0 00aef15c 00a553c0 EXTERNAL:00000220 -00a55470 0040cf00 -00a55470 0040cee0 -00a55470 00a555c0 +00a553c0 00aef15c 00a55470 00a55530 +00a55470 00a555c0 +00a55470 0040cee0 +00a55470 0040cf00 00a55504 0069dd90 00a55504 00af05eb -00a55530 00aef15c 00a55530 EXTERNAL:00000220 +00a55530 00aef15c 00a555c0 00a288a0 00a55660 EXTERNAL:00000006 00a55660 EXTERNAL:00000008 -00a556c0 0040cf00 -00a556c0 00a55910 -00a556c0 00415bc0 -00a556c0 0040cee0 -00a556c0 00a555c0 -00a556c0 00a288a0 00a556c0 00a55530 -00a5582b 0069dd90 +00a556c0 00a555c0 +00a556c0 0040cee0 +00a556c0 00a55910 +00a556c0 00a288a0 +00a556c0 0040cf00 +00a556c0 00415bc0 00a5582b 00a55440 +00a5582b 0069dd90 00a5582b 00af05eb -00a55860 00aef15c 00a55860 EXTERNAL:00000007 -00a558a0 00aef15c +00a55860 00aef15c 00a558a0 EXTERNAL:00000007 +00a558a0 00aef15c 00a55910 00a288a0 -00a559d0 00aef15c 00a559d0 EXTERNAL:00000007 -00a55a10 00aef15c +00a559d0 00aef15c 00a55a10 EXTERNAL:00000007 +00a55a10 00aef15c 00a55aa0 00a2bfe0 00a55b70 00a561f0 -00a55c20 00a55d60 00a55c20 0069dac0 +00a55c20 00a55d60 00a55c40 00af05df -00a55c40 00a55d60 00a55c40 00a56350 +00a55c40 00a55d60 00a55c40 00a0f4e0 00a55d60 00a648b0 00a55e20 00af05df -00a55e20 00a56c30 00a55e20 00a0f4e0 +00a55e20 00a56c30 00a55ef0 00a561f0 00a56060 00a561f0 -00a561f0 0040cf00 -00a561f0 00a56300 -00a561f0 00415bc0 00a561f0 0040cee0 +00a561f0 00a56300 00a561f0 00834fa0 00a561f0 00a56d60 -00a56350 00af05df +00a561f0 0040cf00 +00a561f0 00415bc0 00a56350 00a561f0 +00a56350 00af05df 00a56350 00a0f4e0 00a56350 EXTERNAL:00000262 -00a56750 00aefca0 00a56750 00a1b8e0 -00a56790 00af05df +00a56750 00aefca0 00a56790 00a561f0 +00a56790 00af05df 00a56790 00a0f4e0 00a56790 EXTERNAL:00000262 -00a56bf0 00aefca0 00a56bf0 00a1ba10 +00a56bf0 00aefca0 +00a56c30 00a56da0 +00a56c30 0069dd90 +00a56c30 0040cee0 +00a56c30 00a56d60 00a56c30 0040cf00 00a56c30 00415bc0 -00a56c30 0040cee0 -00a56c30 0069dd90 -00a56c30 00a56da0 -00a56c30 00a56d60 00a56de0 00aef15c 00a56de0 00a56e10 00a56e10 00aef15c -00a56e10 00a7f0a0 00a56e10 00a57690 -00a56ea0 009c59a0 +00a56e10 00a7f0a0 +00a56ea0 00a232c0 00a56ea0 EXTERNAL:00000009 00a56ea0 00a23ae0 +00a56ea0 009c59a0 00a56ea0 00a23610 -00a56ea0 00a232c0 +00a57060 00a57a10 +00a57060 00af08b1 +00a57060 00a238e0 00a57060 EXTERNAL:00000009 +00a57060 00a0f4c0 00a57060 00aef15c 00a57060 00a53290 -00a57060 00a52940 -00a57060 00a238e0 00a57060 00a7e6e0 -00a57060 00a57a10 -00a57060 00a0f4c0 -00a57060 00af08b1 +00a57060 00a52940 00a57060 008ef120 -00a572d0 00a577b0 00a572d0 00a57a10 00a572d0 00a288a0 -00a57420 00a572d0 -00a57420 00a23ae0 -00a57420 00aef15c -00a57420 00a23610 -00a57420 00a282c0 -00a57420 00a28790 +00a572d0 00a577b0 00a57420 00a57a10 -00a57420 00a288a0 +00a57420 00a23ae0 +00a57420 00a282c0 +00a57420 00aef15c 00a57420 00a71c40 +00a57420 00a572d0 +00a57420 00a23610 00a57420 00a575e0 +00a57420 00a288a0 +00a57420 00a28790 00a575c0 00a572d0 -00a575e0 00a577b0 00a575e0 00a288a0 -00a57690 00aef15c -00a57690 EXTERNAL:00000220 +00a575e0 00a577b0 00a57690 00a57a10 +00a57690 EXTERNAL:00000220 +00a57690 00aef15c 00a57710 00a57a10 00a57730 00a288a0 -00a577b0 0040cf00 +00a577b0 00a57a10 +00a577b0 EXTERNAL:00000220 00a577b0 00aef15c 00a577b0 00a57aa0 -00a577b0 00415bc0 00a577b0 0040cee0 -00a577b0 00a57730 -00a577b0 EXTERNAL:00000220 -00a577b0 00a57a10 00a577b0 00a288a0 +00a577b0 00a57730 +00a577b0 0040cf00 +00a577b0 00415bc0 00a579e5 00a57710 -00a579e5 007e8710 00a579e5 00af05eb +00a579e5 007e8710 00a57aa0 00a57a10 00a57aa0 00a288a0 00a57b70 00a57a10 -00a57ba0 00aef15c 00a57ba0 007dcd30 +00a57ba0 00aef15c 00a57c00 007dcd30 00a57c40 007dccd0 00a57d00 00a2c860 @@ -57832,23 +57832,23 @@ 00a57d30 00a57fc0 00a57db0 00af05df 00a57db0 00a57fc0 -00a57eb0 00a112c0 00a57eb0 00af05df +00a57eb0 00a112c0 00a57eb0 007dccd0 00a57f80 00a112c0 00a57fc0 00a112c0 00a57fc0 007dccd0 +00a58040 00a584b0 00a58040 0042cdf0 00a58040 007dccd0 -00a58040 00a584b0 00a58170 00a58200 00a58170 00aef15c 00a58200 007dcd30 00a58270 00a57fc0 00a582e0 00af05df 00a582e0 00a57fc0 -00a583e0 00a112c0 00a583e0 00af05df +00a583e0 00a112c0 00a583e0 007dccd0 00a584b5 00a58170 00a584bd 0040c200 @@ -57857,351 +57857,351 @@ 00a585c0 00a68490 00a58640 00a59850 00a58670 00a68490 -00a586f0 00aef15c 00a586f0 00a58860 +00a586f0 00aef15c 00a58720 00aef15c 00a58720 00a59be0 00a58740 00a23ae0 -00a58740 00a23610 00a58740 00a0f4c0 +00a58740 00a23610 00a58860 00aef15c 00a58860 00a59be0 +00a588c0 00a78370 00a588c0 00a585c0 -00a588c0 00aef12b 00a588c0 EXTERNAL:0000022f 00a588c0 00a598e0 -00a588c0 00aefca0 -00a588c0 00a2a030 -00a588c0 00a78370 -00a588c0 00a5a2f0 -00a588c0 00414a80 00a588c0 00a68490 -00a58cb0 00915b40 +00a588c0 00a5a2f0 +00a588c0 00aef12b +00a588c0 00a2a030 +00a588c0 00414a80 +00a588c0 00aefca0 00a58cb0 008ef1d0 -00a58cb0 EXTERNAL:0000022f -00a58cb0 00a58640 -00a58cb0 00a59d00 -00a58cb0 00a2a030 -00a58cb0 00a59fd0 -00a58cb0 00a59850 -00a58cb0 00a59ed0 -00a58cb0 009145f0 -00a58cb0 00a595c0 00a58cb0 00a0f4c0 -00a58cb0 00a59d50 -00a58cb0 00a584d0 -00a58cb0 00a2a690 -00a58cb0 00aef12b +00a58cb0 00a59d00 +00a58cb0 00915b40 +00a58cb0 EXTERNAL:0000022f 00a58cb0 00a598e0 -00a58cb0 00a58c40 -00a58cb0 00a595a0 00a58cb0 00a68490 +00a58cb0 00aef12b +00a58cb0 00a59850 +00a58cb0 00a595a0 +00a58cb0 00a59d50 +00a58cb0 009145f0 +00a58cb0 00a59ed0 +00a58cb0 00a58640 +00a58cb0 00a59fd0 +00a58cb0 00a595c0 +00a58cb0 00a2a030 +00a58cb0 00a584d0 +00a58cb0 00a58c40 +00a58cb0 00a2a690 00a590c0 008ef1d0 -00a590c0 00a59640 -00a590c0 00a590c0 -00a590c0 00a595a0 -00a590c0 00a59850 00a590c0 009145f0 +00a590c0 00a59640 00a590c0 00a595c0 -00a59200 00aef12b +00a590c0 00a590c0 +00a590c0 00a59850 +00a590c0 00a595a0 00a59200 EXTERNAL:0000022f +00a59200 00aef12b 00a59200 00a2a030 -00a59270 00a112c0 00a59270 00a23ae0 -00a59270 00aef12b 00a59270 EXTERNAL:0000022f -00a59270 00a23610 00a59270 00a598e0 +00a59270 00a112c0 +00a59270 EXTERNAL:0000022d +00a59270 00a68490 +00a59270 008fd7a0 +00a59270 00aef12b +00a59270 00a23610 00a59270 00a2a030 00a59270 00414a80 -00a59270 008fd7a0 -00a59270 00a68490 -00a59270 EXTERNAL:0000022d 00a595a0 00a59970 00a595c0 00a59c90 +00a59640 00415d20 00a59640 00aef15c 00a59640 00414a80 -00a59640 00415d20 00a59640 00a59be0 00a59850 008ef1d0 +00a598e0 00415d20 00a598e0 00aef15c 00a598e0 00414a80 -00a598e0 00415d20 -00a59970 00415fe0 -00a59970 00a59c90 -00a59970 004170d0 +00a59970 00415f80 00a59970 009145f0 00a59970 00a0f4c0 +00a59970 00415fe0 00a59970 00a68490 -00a59970 00415f80 +00a59970 00a59c90 +00a59970 004170d0 00a59be0 00aef15c 00a59be0 00a59be0 00a59d50 00a59ed0 00a59d50 00a0f4c0 00a59e20 00a112c0 00a59e50 00a112c0 -00a59ed0 00a5a360 00a59ed0 00a59d00 +00a59ed0 00a5a360 00a59ed0 00a59e50 +00a59f30 00a59d00 00a59f30 00a648b0 00a59f30 00af05df 00a59f30 00a5a360 -00a59f30 00a59d00 00a59f30 00a59e50 +00a59fd0 00af05df +00a59fd0 00a59d00 +00a59fd0 00a0f4c0 +00a59fd0 00a5a210 00a59fd0 00415bd0 00a59fd0 EXTERNAL:00000263 -00a59fd0 00af05df -00a59fd0 00a5a210 -00a59fd0 00a59d00 00a59fd0 004170d0 -00a59fd0 00a0f4c0 00a5a210 006527d0 00a5a210 EXTERNAL:00000262 -00a5a360 00415bd0 00a5a360 00a59d00 -00a5a360 004170d0 00a5a360 00a0f4c0 +00a5a360 00415bd0 +00a5a360 004170d0 00a5a420 00a648b0 00a5a490 00aef15c 00a5a490 00a5a4c0 -00a5a4c0 EXTERNAL:00000211 -00a5a4c0 00aef15c 00a5a4c0 00a7f1e0 -00a5a4c0 EXTERNAL:00000114 00a5a4c0 EXTERNAL:000000eb +00a5a4c0 00aef15c +00a5a4c0 EXTERNAL:00000211 00a5a4c0 EXTERNAL:00000103 +00a5a4c0 EXTERNAL:00000114 00a5a530 00a112c0 -00a5a570 00a112c0 -00a5a570 00aef15c -00a5a570 EXTERNAL:00000210 -00a5a570 EXTERNAL:00000104 -00a5a570 EXTERNAL:000000f9 00a5a570 EXTERNAL:00000102 00a5a570 00a0f4c0 +00a5a570 00aef15c +00a5a570 EXTERNAL:00000104 +00a5a570 00a112c0 00a5a570 EXTERNAL:0000011c +00a5a570 EXTERNAL:00000210 +00a5a570 EXTERNAL:000000f9 00a5a570 EXTERNAL:00000100 -00a5a700 EXTERNAL:00000211 -00a5a700 00aef15c 00a5a700 00a7f1e0 -00a5a700 EXTERNAL:00000114 00a5a700 EXTERNAL:000000eb +00a5a700 00aef15c +00a5a700 EXTERNAL:00000211 00a5a700 EXTERNAL:00000103 +00a5a700 EXTERNAL:00000114 00a5a760 00aef15c -00a5a7a0 EXTERNAL:00000263 00a5a7a0 00a648b0 +00a5a7a0 00652a30 00a5a7a0 EXTERNAL:0000022e +00a5a7a0 EXTERNAL:00000263 00a5a7a0 EXTERNAL:0000022c 00a5a7a0 00a23200 -00a5a7a0 00652a30 00a5ab30 EXTERNAL:00000168 -00a5ab30 00aef12b 00a5ab30 EXTERNAL:00000197 -00a5ab30 00af05e5 -00a5ab30 00a80c70 -00a5ab30 EXTERNAL:00000190 -00a5ab30 EXTERNAL:0000017f -00a5ab30 EXTERNAL:00000198 00a5ab30 EXTERNAL:0000019a -00a5ad50 00aef12b -00a5ad50 00a80fb0 +00a5ab30 00a80c70 +00a5ab30 EXTERNAL:00000198 +00a5ab30 EXTERNAL:00000190 +00a5ab30 00af05e5 +00a5ab30 00aef12b +00a5ab30 EXTERNAL:0000017f 00a5ad50 EXTERNAL:00000150 +00a5ad50 00a80fb0 +00a5ad50 00aef12b 00a5af00 EXTERNAL:0000015c 00a5af00 EXTERNAL:00000159 -00a5af50 00aef12b -00a5af50 EXTERNAL:00000141 00a5af50 EXTERNAL:0000015a 00a5af50 EXTERNAL:0000015e +00a5af50 00aef12b +00a5af50 EXTERNAL:00000141 00a5afc0 00a80c70 00a5afc0 EXTERNAL:00000157 00a5b010 00a80c70 00a5b010 EXTERNAL:00000157 00a5b050 EXTERNAL:0000015c -00a5b050 00aef12b -00a5b050 EXTERNAL:00000169 -00a5b050 EXTERNAL:00000141 -00a5b050 EXTERNAL:0000015a -00a5b050 EXTERNAL:0000015e 00a5b050 00a80c70 -00a5b050 EXTERNAL:00000159 +00a5b050 EXTERNAL:0000015a +00a5b050 EXTERNAL:00000169 +00a5b050 EXTERNAL:0000015e +00a5b050 00aef12b 00a5b050 EXTERNAL:00000184 +00a5b050 EXTERNAL:00000141 +00a5b050 EXTERNAL:00000159 00a5b050 EXTERNAL:00000157 00a5b1d0 EXTERNAL:0000015c -00a5b1d0 EXTERNAL:0000015a -00a5b1d0 EXTERNAL:00000141 00a5b1d0 00a80c70 +00a5b1d0 EXTERNAL:0000015a 00a5b1d0 EXTERNAL:00000167 +00a5b1d0 EXTERNAL:00000141 00a5b1d0 EXTERNAL:00000159 00a5b1d0 EXTERNAL:00000157 -00a5b2d0 00aef12b -00a5b2d0 EXTERNAL:00000169 -00a5b2d0 EXTERNAL:00000141 -00a5b2d0 EXTERNAL:0000015e -00a5b2d0 EXTERNAL:0000018c 00a5b2d0 EXTERNAL:00000163 -00a5b380 00aef12b -00a5b380 00a80fb0 -00a5b380 EXTERNAL:00000141 -00a5b380 EXTERNAL:0000015e -00a5b380 EXTERNAL:0000016c -00a5b380 EXTERNAL:0000014a +00a5b2d0 EXTERNAL:0000018c +00a5b2d0 EXTERNAL:00000169 +00a5b2d0 EXTERNAL:0000015e +00a5b2d0 00aef12b +00a5b2d0 EXTERNAL:00000141 00a5b380 EXTERNAL:00000150 +00a5b380 EXTERNAL:0000014a +00a5b380 00a80fb0 00a5b380 EXTERNAL:0000015d -00a5b4c0 EXTERNAL:00000199 -00a5b4c0 EXTERNAL:00000198 +00a5b380 EXTERNAL:0000015e +00a5b380 00aef12b +00a5b380 EXTERNAL:00000141 +00a5b380 EXTERNAL:0000016c 00a5b4c0 00a80ef0 +00a5b4c0 EXTERNAL:00000198 +00a5b4c0 EXTERNAL:00000199 00a5b590 EXTERNAL:00000175 00a5b620 00aef12b -00a5b620 EXTERNAL:0000016c 00a5b620 EXTERNAL:00000140 -00a5b6a0 EXTERNAL:00000162 -00a5b6a0 EXTERNAL:0000021c +00a5b620 EXTERNAL:0000016c 00a5b6a0 EXTERNAL:000000f7 00a5b6a0 00a81cd0 -00a5b720 EXTERNAL:00000131 -00a5b720 EXTERNAL:00000162 -00a5b720 EXTERNAL:0000021c +00a5b6a0 EXTERNAL:0000021c +00a5b6a0 EXTERNAL:00000162 00a5b720 EXTERNAL:000000f7 +00a5b720 EXTERNAL:00000131 +00a5b720 EXTERNAL:0000021c +00a5b720 EXTERNAL:00000162 +00a5b7b0 00af08b1 +00a5b7b0 EXTERNAL:00000181 +00a5b7b0 EXTERNAL:0000014b +00a5b7b0 00a80fb0 +00a5b7b0 EXTERNAL:00000144 +00a5b7b0 00aef12b +00a5b7b0 EXTERNAL:00000184 +00a5b7b0 00a69ef0 +00a5b7b0 EXTERNAL:00000173 +00a5b7b0 00a26000 +00a5b7b0 00a5b4c0 00a5b7b0 00a648b0 00a5b7b0 00af05df -00a5b7b0 EXTERNAL:00000181 -00a5b7b0 00a80fb0 -00a5b7b0 00a69ef0 -00a5b7b0 00a78a10 00a5b7b0 00a69f60 -00a5b7b0 EXTERNAL:0000014b -00a5b7b0 EXTERNAL:00000144 -00a5b7b0 00af08b1 -00a5b7b0 00aef12b -00a5b7b0 EXTERNAL:00000173 -00a5b7b0 00a5b4c0 -00a5b7b0 00a26000 -00a5b7b0 EXTERNAL:00000184 -00a5cd20 EXTERNAL:00000168 -00a5cd20 00af05e5 -00a5cd20 00a69f60 -00a5cd20 EXTERNAL:00000182 -00a5cd20 EXTERNAL:00000159 -00a5cd20 EXTERNAL:00000173 -00a5cd20 EXTERNAL:0000018f -00a5cd20 EXTERNAL:0000016c -00a5cd20 00a5b4c0 -00a5cd20 EXTERNAL:0000018b +00a5b7b0 00a78a10 +00a5cd20 EXTERNAL:00000150 +00a5cd20 00a80c70 00a5cd20 EXTERNAL:000000f6 00a5cd20 00a80ae0 -00a5cd20 00a69ef0 00a5cd20 00a80fb0 -00a5cd20 EXTERNAL:0000015e -00a5cd20 EXTERNAL:00000193 -00a5cd20 EXTERNAL:00000166 -00a5cd20 EXTERNAL:0000017f -00a5cd20 EXTERNAL:00000140 -00a5cd20 EXTERNAL:00000150 -00a5cd20 00a80ef0 -00a5cd20 EXTERNAL:0000018d -00a5cd20 00aef12b -00a5cd20 EXTERNAL:000001a1 -00a5cd20 00a80c70 -00a5cd20 EXTERNAL:00000143 -00a5cd20 00a5ab30 +00a5cd20 EXTERNAL:0000018b +00a5cd20 00a69ef0 +00a5cd20 EXTERNAL:00000159 00a5cd20 EXTERNAL:00000156 +00a5cd20 EXTERNAL:00000168 +00a5cd20 00a80ef0 +00a5cd20 00a5b4c0 +00a5cd20 EXTERNAL:0000015e +00a5cd20 EXTERNAL:00000140 +00a5cd20 EXTERNAL:00000143 +00a5cd20 EXTERNAL:0000017f +00a5cd20 EXTERNAL:0000018d +00a5cd20 00a5ab30 +00a5cd20 EXTERNAL:00000193 +00a5cd20 EXTERNAL:000001a1 +00a5cd20 EXTERNAL:0000018f +00a5cd20 00af05e5 +00a5cd20 00aef12b +00a5cd20 EXTERNAL:00000173 +00a5cd20 EXTERNAL:0000016c +00a5cd20 EXTERNAL:00000166 +00a5cd20 00a69f60 00a5cd20 EXTERNAL:00000183 -00a5d390 00a5b620 +00a5cd20 EXTERNAL:00000182 00a5d390 00a7fce0 -00a5d390 00a5e490 -00a5d390 00a80010 -00a5d390 EXTERNAL:00000165 -00a5d390 EXTERNAL:00000154 -00a5d390 00a263e0 -00a5d390 00a82d40 -00a5d390 00a5e030 -00a5d390 00a6b570 -00a5d390 00a5b6a0 -00a5d390 00a83290 00a5d390 00a83b90 -00a5d390 00a5df80 -00a5d390 00a5cd20 00a5d390 00a83d20 00a5d390 EXTERNAL:00000155 +00a5d390 00a263e0 +00a5d390 00a5e490 +00a5d390 00a5df80 +00a5d390 00a5e030 +00a5d390 00a5b6a0 +00a5d390 00a83290 +00a5d390 EXTERNAL:00000165 +00a5d390 00a5b620 +00a5d390 00a80010 +00a5d390 EXTERNAL:00000154 +00a5d390 00a6b570 +00a5d390 00a5cd20 +00a5d390 00a82d40 00a5d4e0 EXTERNAL:0000015a -00a5d4e0 00a5b720 -00a5d4e0 EXTERNAL:0000017e 00a5d4e0 00a5b1d0 +00a5d4e0 EXTERNAL:0000017e 00a5d4e0 EXTERNAL:00000186 00a5d4e0 EXTERNAL:0000013f -00a5d580 00a80ae0 +00a5d4e0 00a5b720 00a5d580 EXTERNAL:00000187 -00a5d5c0 EXTERNAL:00000173 -00a5d5c0 EXTERNAL:00000160 -00a5d5c0 EXTERNAL:00000185 +00a5d580 00a80ae0 00a5d5c0 00a5ab30 00a5d5c0 00a5aad0 +00a5d5c0 EXTERNAL:00000185 +00a5d5c0 EXTERNAL:00000173 00a5d5c0 EXTERNAL:0000013f +00a5d5c0 EXTERNAL:00000160 00a5d6c0 EXTERNAL:00000141 -00a5d710 00aef12b -00a5d710 00a80fb0 -00a5d710 EXTERNAL:0000016c 00a5d710 EXTERNAL:00000150 -00a5d830 00aef12b +00a5d710 00a80fb0 +00a5d710 00aef12b +00a5d710 EXTERNAL:0000016c 00a5d830 EXTERNAL:0000015e -00a5d880 00a5b620 -00a5d880 00aef12b -00a5d880 00a80fb0 -00a5d880 EXTERNAL:0000016c -00a5d880 00a5b6a0 +00a5d830 00aef12b 00a5d880 EXTERNAL:00000150 +00a5d880 00a80fb0 +00a5d880 00aef12b +00a5d880 00a5b6a0 +00a5d880 00a5b620 +00a5d880 EXTERNAL:0000016c +00a5d9e0 EXTERNAL:0000014e 00a5d9e0 00aef12b 00a5d9e0 EXTERNAL:0000017d -00a5d9e0 EXTERNAL:0000014e +00a5da50 EXTERNAL:0000014e 00a5da50 00aef12b 00a5da50 EXTERNAL:0000017d 00a5da50 00a5ad50 -00a5da50 EXTERNAL:0000014e -00a5dad0 00aef12b 00a5dad0 EXTERNAL:0000015e -00a5db20 00aef12b +00a5dad0 00aef12b +00a5db20 EXTERNAL:00000150 00a5db20 00a80fb0 00a5db20 EXTERNAL:0000015e +00a5db20 00aef12b 00a5db20 EXTERNAL:00000161 -00a5db20 EXTERNAL:00000150 -00a5dc90 EXTERNAL:00000168 00a5dc90 EXTERNAL:00000193 -00a5dc90 00a69f60 -00a5dc90 EXTERNAL:0000017f -00a5dc90 EXTERNAL:00000182 +00a5dc90 EXTERNAL:00000168 00a5dc90 00a80ef0 +00a5dc90 00a69f60 +00a5dc90 EXTERNAL:00000182 +00a5dc90 EXTERNAL:0000017f 00a5dd90 EXTERNAL:0000018e 00a5ddb0 EXTERNAL:0000018e -00a5ddd0 00aef12b -00a5ddd0 EXTERNAL:00000173 -00a5ddd0 EXTERNAL:0000018e -00a5ddd0 00a80fb0 -00a5ddd0 EXTERNAL:0000018f -00a5ddd0 EXTERNAL:0000016c 00a5ddd0 EXTERNAL:00000180 +00a5ddd0 EXTERNAL:00000150 +00a5ddd0 EXTERNAL:0000018e +00a5ddd0 EXTERNAL:0000018f 00a5ddd0 EXTERNAL:0000014a +00a5ddd0 00a80fb0 +00a5ddd0 EXTERNAL:0000015d +00a5ddd0 00aef12b 00a5ddd0 EXTERNAL:00000182 00a5ddd0 EXTERNAL:00000140 -00a5ddd0 EXTERNAL:00000150 -00a5ddd0 EXTERNAL:0000015d +00a5ddd0 EXTERNAL:00000173 +00a5ddd0 EXTERNAL:0000016c 00a5df80 EXTERNAL:0000018e 00a5df80 00af05e5 00a5df80 EXTERNAL:000000f8 00a5dff0 EXTERNAL:0000018e 00a5e010 EXTERNAL:00000152 -00a5e030 EXTERNAL:00000165 00a5e030 EXTERNAL:00000154 00a5e030 EXTERNAL:00000155 -00a5e060 00a5b620 -00a5e060 00aef12b -00a5e060 00a80fb0 -00a5e060 EXTERNAL:0000016c -00a5e060 EXTERNAL:0000014a -00a5e060 00a5aa80 -00a5e060 00a5b720 -00a5e060 00a5b6a0 +00a5e030 EXTERNAL:00000165 00a5e060 EXTERNAL:00000150 -00a5e060 EXTERNAL:00000140 +00a5e060 EXTERNAL:0000014a +00a5e060 00a80fb0 00a5e060 EXTERNAL:0000015d +00a5e060 00aef12b +00a5e060 00a5aa80 +00a5e060 EXTERNAL:00000140 +00a5e060 00a5b6a0 +00a5e060 00a5b620 +00a5e060 00a5b720 +00a5e060 EXTERNAL:0000016c 00a5e340 EXTERNAL:0000016f 00a5e360 EXTERNAL:0000016d 00a5e380 EXTERNAL:00000180 @@ -58221,401 +58221,401 @@ 00a5e5b0 EXTERNAL:00000153 00a5e630 00a5afc0 00a5e630 00a5b010 -00a5e660 EXTERNAL:00000132 -00a5e660 00aef12b -00a5e660 EXTERNAL:00000158 +00a5e660 EXTERNAL:00000175 +00a5e660 EXTERNAL:0000016f 00a5e660 EXTERNAL:00000181 -00a5e660 EXTERNAL:00000141 00a5e660 EXTERNAL:0000015e +00a5e660 00aef12b +00a5e660 EXTERNAL:00000132 +00a5e660 EXTERNAL:00000167 +00a5e660 EXTERNAL:00000158 +00a5e660 EXTERNAL:00000141 00a5e660 EXTERNAL:00000189 00a5e660 00a5b590 -00a5e660 EXTERNAL:0000016f -00a5e660 EXTERNAL:00000167 -00a5e660 EXTERNAL:00000175 -00a5e8d0 EXTERNAL:0000018a 00a5e8d0 00aefcf0 00a5e8d0 00a5e660 +00a5e8d0 EXTERNAL:0000018a 00a5e920 EXTERNAL:00000169 00a5e920 EXTERNAL:00000184 -00a5e980 EXTERNAL:00000141 00a5e980 EXTERNAL:00000167 -00a5e9d0 00a5e980 -00a5e9d0 EXTERNAL:00000169 -00a5e9d0 EXTERNAL:0000015a -00a5e9d0 EXTERNAL:0000016f +00a5e980 EXTERNAL:00000141 00a5e9d0 00a5af50 -00a5e9d0 00a5b2d0 +00a5e9d0 EXTERNAL:0000016f +00a5e9d0 EXTERNAL:0000015a 00a5e9d0 00a5af00 00a5e9d0 00a5afc0 +00a5e9d0 EXTERNAL:00000169 00a5e9d0 EXTERNAL:00000184 00a5e9d0 00a5b010 +00a5e9d0 00a5b2d0 +00a5e9d0 00a5e980 00a5eb30 00a69f60 00a5eb80 00a5ab30 00a5ebb0 00a69f60 00a5ec90 EXTERNAL:0000013f -00a5ecb0 00a5b2d0 00a5ecb0 00a5af00 +00a5ecb0 00a5b2d0 00a5ecd0 EXTERNAL:00000120 -00a5ecd0 EXTERNAL:00000177 -00a5ecd0 EXTERNAL:00000176 00a5ecd0 00a80c70 +00a5ecd0 EXTERNAL:0000017a 00a5ecd0 EXTERNAL:00000123 00a5ecd0 EXTERNAL:00000121 -00a5ecd0 EXTERNAL:0000017a -00a5ecd0 EXTERNAL:0000011e 00a5ecd0 EXTERNAL:0000011c +00a5ecd0 EXTERNAL:00000177 +00a5ecd0 EXTERNAL:0000011e +00a5ecd0 EXTERNAL:00000176 00a5ecd0 EXTERNAL:0000011f 00a5ee90 00a69f60 00a5efc0 00a69f60 00a5f000 00a838b0 00a5f000 00a69f60 00a5f090 00a69f60 -00a5f0e0 EXTERNAL:00000266 -00a5f0e0 EXTERNAL:00000060 -00a5f0e0 EXTERNAL:00000004 00a5f0e0 EXTERNAL:000000f7 +00a5f0e0 EXTERNAL:00000004 +00a5f0e0 00a68490 +00a5f0e0 EXTERNAL:00000060 +00a5f0e0 EXTERNAL:00000266 00a5f0e0 00a710a0 00a5f0e0 EXTERNAL:0000005e -00a5f0e0 00a68490 -00a5f1a0 EXTERNAL:00000001 00a5f1a0 EXTERNAL:0000000a +00a5f1a0 EXTERNAL:00000001 00a5f1c0 00af0750 00a5f200 00af0750 00a5f230 00af0750 -00a5f260 00af0750 00a5f260 00a5f090 +00a5f260 00af0750 00a5f2e0 00af0750 00a5f310 00af0750 00a5f340 00af0750 00a5f370 00af0750 -00a5f3a0 EXTERNAL:00000251 -00a5f3a0 00a648b0 00a5f3a0 00a5a7a0 00a5f3a0 00a0f4c0 +00a5f3a0 00a648b0 +00a5f3a0 EXTERNAL:00000251 00a5f4b0 00aef15c 00a5f4b0 00a1a500 -00a5f510 00a112c0 -00a5f510 EXTERNAL:00000104 00a5f510 00a0f4c0 +00a5f510 EXTERNAL:00000104 +00a5f510 00a112c0 00a5f510 00a1d610 -00a5f630 00a1d6b0 00a5f630 00a2a8d0 +00a5f630 00a1d6b0 00a5f6a0 00a28f60 00a5f6e0 EXTERNAL:0000011c -00a5f720 00a70990 00a5f720 00aef15c -00a5f770 00a112c0 -00a5f770 00aef12b -00a5f770 EXTERNAL:00000015 -00a5f770 00a24530 +00a5f720 00a70990 +00a5f770 EXTERNAL:00000018 +00a5f770 EXTERNAL:000000f5 00a5f770 EXTERNAL:00000014 00a5f770 00af05e5 -00a5f770 EXTERNAL:000000f5 -00a5f770 EXTERNAL:0000001a -00a5f770 EXTERNAL:00000018 -00a5f770 EXTERNAL:00000019 +00a5f770 00a112c0 00a5f770 EXTERNAL:00000016 +00a5f770 EXTERNAL:0000001a +00a5f770 00aef12b +00a5f770 00a24530 +00a5f770 EXTERNAL:00000015 +00a5f770 EXTERNAL:00000019 00a5fad0 00a648b0 00a5fad0 EXTERNAL:00000017 00a5fad0 EXTERNAL:0000001b -00a5fb80 EXTERNAL:0000001c 00a5fb80 00a6fe70 -00a5fba0 00a112c0 -00a5fba0 EXTERNAL:00000015 +00a5fb80 EXTERNAL:0000001c 00a5fba0 EXTERNAL:0000001f -00a5fba0 EXTERNAL:0000001e -00a5fba0 EXTERNAL:00000019 00a5fba0 EXTERNAL:0000001d +00a5fba0 00a112c0 +00a5fba0 EXTERNAL:0000001e +00a5fba0 EXTERNAL:00000015 +00a5fba0 EXTERNAL:00000019 00a5ffa0 EXTERNAL:00000024 +00a5ffa0 EXTERNAL:00000022 00a5ffa0 EXTERNAL:00000023 00a5ffa0 EXTERNAL:00000021 -00a5ffa0 EXTERNAL:00000022 00a60050 00a112c0 -00a60100 00a112c0 00a60100 00a648b0 -00a60100 EXTERNAL:00000015 00a60100 EXTERNAL:0000022f 00a60100 EXTERNAL:00000029 +00a60100 00a112c0 00a60100 EXTERNAL:0000002a 00a60100 EXTERNAL:00000026 00a60100 00a0f4e0 +00a60100 EXTERNAL:00000015 00a602f0 00a112c0 00a60430 00a112c0 00a60430 EXTERNAL:00000015 00a60510 00a112c0 00a60510 EXTERNAL:00000015 +00a60590 EXTERNAL:00000028 +00a60590 EXTERNAL:0000002c +00a60590 00a602f0 00a60590 00a112c0 00a60590 EXTERNAL:00000015 -00a60590 EXTERNAL:0000002c -00a60590 EXTERNAL:00000028 -00a60590 00a602f0 +00a60690 00a602f0 00a60690 00a112c0 00a60690 EXTERNAL:00000015 -00a60690 00a602f0 -00a60700 00415bc0 -00a60700 00a556c0 -00a60700 00a28360 -00a60700 EXTERNAL:00000031 00a60700 00af08b1 -00a60700 00aef15c -00a60700 EXTERNAL:0000002e -00a60700 EXTERNAL:00000030 -00a60700 00a84a90 -00a60700 EXTERNAL:00000032 00a60700 EXTERNAL:00000220 -00a60700 00a55470 -00a60700 00a288a0 -00a60700 00a71c40 +00a60700 00aef15c +00a60700 EXTERNAL:00000030 +00a60700 00a28360 +00a60700 00415bc0 +00a60700 EXTERNAL:0000002e +00a60700 EXTERNAL:00000032 +00a60700 00a556c0 00a60700 EXTERNAL:00000033 +00a60700 00a84a90 +00a60700 00a71c40 +00a60700 00a55470 00a60700 EXTERNAL:0000002f +00a60700 00a288a0 +00a60700 EXTERNAL:00000031 00a60a30 00a112c0 -00a60a30 EXTERNAL:00000015 00a60a30 EXTERNAL:00000034 -00a60a70 00a28360 -00a60a70 EXTERNAL:00000035 -00a60a70 EXTERNAL:00000031 +00a60a30 EXTERNAL:00000015 00a60a70 00af08b1 00a60a70 00a28840 +00a60a70 EXTERNAL:00000035 +00a60a70 00a2a430 +00a60a70 EXTERNAL:00000030 +00a60a70 00a28360 +00a60a70 EXTERNAL:00000019 +00a60a70 EXTERNAL:00000032 +00a60a70 00a84a90 +00a60a70 00a71c40 00a60a70 00a112c0 00a60a70 EXTERNAL:00000015 -00a60a70 EXTERNAL:00000030 -00a60a70 00a84a90 -00a60a70 EXTERNAL:00000032 -00a60a70 00a71c40 -00a60a70 EXTERNAL:00000019 -00a60a70 00a2a430 -00a60c50 EXTERNAL:00000036 -00a60c50 00a28360 -00a60c50 EXTERNAL:00000031 +00a60a70 EXTERNAL:00000031 00a60c50 00af08b1 00a60c50 00a28840 -00a60c50 00a112c0 +00a60c50 EXTERNAL:00000036 00a60c50 00aef12b -00a60c50 EXTERNAL:00000015 -00a60c50 EXTERNAL:00000030 -00a60c50 00a84a90 -00a60c50 EXTERNAL:00000032 -00a60c50 00a71c40 -00a60c50 EXTERNAL:00000019 00a60c50 00a2a430 +00a60c50 EXTERNAL:00000030 +00a60c50 00a28360 +00a60c50 EXTERNAL:00000019 +00a60c50 EXTERNAL:00000032 +00a60c50 00a84a90 +00a60c50 00a71c40 +00a60c50 00a112c0 +00a60c50 EXTERNAL:00000015 +00a60c50 EXTERNAL:00000031 00a60e30 00aef15c 00a60e30 00a60e60 +00a60e60 EXTERNAL:00000007 00a60e60 00aef15c 00a60e60 00a1a500 -00a60e60 EXTERNAL:00000007 -00a60ec0 00a112c0 00a60ec0 EXTERNAL:00000009 -00a60ec0 EXTERNAL:00000104 00a60ec0 00a0f4c0 +00a60ec0 EXTERNAL:00000104 +00a60ec0 00a112c0 00a60ec0 00a1d610 00a61000 00a648b0 -00a61000 00a1d6b0 00a61000 00a2a8d0 +00a61000 00a1d6b0 00a61120 EXTERNAL:00000009 00a61170 00a703f0 -00a61250 00a112c0 00a61250 00a648b0 -00a61250 EXTERNAL:00000263 00a61250 00a60050 -00a61250 EXTERNAL:00000037 +00a61250 00a112c0 +00a61250 EXTERNAL:00000263 00a61250 00a23200 -00a61400 00aef15c +00a61250 EXTERNAL:00000037 00a61400 EXTERNAL:00000007 -00a61450 00aef15c +00a61400 00aef15c 00a61450 EXTERNAL:00000007 +00a61450 00aef15c 00a61490 EXTERNAL:00000009 -00a614d0 00a112c0 -00a614d0 00af05df -00a614d0 00a85710 -00a614d0 00a15570 00a614d0 00a89d70 00a614d0 00a0f4c0 +00a614d0 00af05df 00a614d0 00a89c90 +00a614d0 00a112c0 +00a614d0 00a85710 +00a614d0 00a15570 00a615a0 00aef15c -00a615e0 0040c7f0 -00a615e0 00aef15c 00a615e0 0040d040 -00a615e0 00a23ee0 +00a615e0 00aef15c +00a615e0 0040c7f0 00a615e0 EXTERNAL:00000103 -00a616c0 00aaae20 +00a615e0 00a23ee0 00a616c0 00aaaf50 +00a616c0 00aaae20 +00a616c0 EXTERNAL:00000100 00a616c0 00a266a0 00a616c0 00a90bc0 -00a616c0 EXTERNAL:00000100 00a61790 00aef15c 00a61790 00a1a500 00a617e0 EXTERNAL:00000009 -00a617e0 EXTERNAL:00000104 -00a617e0 00a11c70 00a617e0 00a0f4c0 +00a617e0 EXTERNAL:00000104 00a617e0 0040c3b0 -00a61940 0040c7f0 +00a617e0 00a11c70 00a61940 00aef15c -00a61940 00a23ee0 +00a61940 0040c7f0 00a61940 EXTERNAL:00000103 +00a61940 00a23ee0 00a61a80 00aef15c 00a61ab0 EXTERNAL:00000009 00a61af0 EXTERNAL:00000009 -00a61b30 00420a80 00a61b30 EXTERNAL:00000009 00a61b30 00aef12b -00a61ba0 00420a80 -00a61ba0 00a112c0 +00a61b30 00420a80 00a61ba0 EXTERNAL:00000009 +00a61ba0 00a112c0 00a61ba0 00aef12b -00a61cd0 00420a80 +00a61ba0 00420a80 00a61cd0 00aef12b -00a61d20 00420a80 -00a61d20 00a112c0 +00a61cd0 00420a80 00a61d20 EXTERNAL:00000009 +00a61d20 00a112c0 00a61d20 00aef12b -00a61df0 00420a80 +00a61d20 00420a80 00a61df0 00aef12b +00a61df0 00420a80 00a61e50 EXTERNAL:00000009 -00a61e90 00420a80 00a61e90 00aef12b +00a61e90 00420a80 00a61ee0 EXTERNAL:00000252 00a61ee0 008c5d20 00a61f00 00a61ee0 -00a61f20 0040cf00 -00a61f20 00aef15c -00a61f20 00aef12b -00a61f20 EXTERNAL:00000220 00a61f20 0040cf50 -00a61f20 0040d040 +00a61f20 EXTERNAL:00000220 00a61f20 00a0f4c0 -00a61f20 00a61f00 +00a61f20 0040d040 +00a61f20 00aef15c +00a61f20 00a8a970 00a61f20 00a8a090 00a61f20 00a621e0 -00a61f20 00a8a970 +00a61f20 00a61f00 +00a61f20 00aef12b +00a61f20 0040cf00 00a621d0 00a61f00 -00a621e0 0040cf00 -00a621e0 00aef15c -00a621e0 00a62400 -00a621e0 00415bc0 -00a621e0 0040cee0 -00a621e0 EXTERNAL:00000220 00a621e0 0040cf50 +00a621e0 EXTERNAL:00000220 00a621e0 0040d040 +00a621e0 00aef15c +00a621e0 0040cee0 +00a621e0 00a62400 +00a621e0 0040cf00 +00a621e0 00415bc0 00a623c9 007e27d0 -00a623c9 007e27a0 00a623c9 00af05eb -00a624c0 EXTERNAL:00000112 -00a624c0 EXTERNAL:0000021a -00a624c0 008c5d50 +00a623c9 007e27a0 00a624c0 EXTERNAL:00000252 -00a624c0 EXTERNAL:0000021b 00a624c0 EXTERNAL:00000113 +00a624c0 EXTERNAL:00000112 +00a624c0 008c5d50 +00a624c0 EXTERNAL:0000021a +00a624c0 EXTERNAL:0000021b 00a62550 00a3bc70 00a62550 EXTERNAL:0000022d -00a62590 EXTERNAL:0000021a -00a62590 00a3bc70 00a62590 EXTERNAL:00000238 +00a62590 00a3bc70 +00a62590 EXTERNAL:0000021a 00a62590 00837090 00a62610 00a62590 00a62620 EXTERNAL:000001f4 +00a62680 00a62620 00a62680 00a3bc70 00a62680 00a62590 -00a62680 00a3bc90 00a62680 00a39f70 -00a62680 00a62620 +00a62680 00a3bc90 00a62740 00a62680 00a62750 00a624c0 00a62800 00aef15c 00a62830 00a112c0 -00a62880 00709150 00a62880 00a8b190 -00a62910 0040ccd0 -00a62910 00709150 -00a62910 00a8bcd0 +00a62880 00709150 00a62910 00a8b190 -00a62910 00a8bbd0 00a62910 00a0f4c0 +00a62910 0040ccd0 00a62910 00a178d0 -00a62a10 00a11f30 +00a62910 00a8bbd0 +00a62910 00a8bcd0 +00a62910 00709150 00a62a10 00a0f550 -00a62a10 00a8ab60 -00a62a10 00a18230 00a62a10 007090c0 +00a62a10 00a8ab60 +00a62a10 00a11f30 +00a62a10 00a18230 00a62a10 00a13460 -00a62b10 00aaae20 -00a62b10 00a0f550 -00a62b10 00a49fe0 -00a62b10 00aaaae0 00a62b10 00aaaf50 +00a62b10 00a49fe0 +00a62b10 00a0f550 00a62b10 00a31630 +00a62b10 00aaae20 +00a62b10 00aaaae0 00a62b10 00a36c60 00a62dc0 EXTERNAL:0000022f 00a62dc0 00a0f4e0 00a62e10 EXTERNAL:0000022f 00a62e10 00a0f4e0 -00a62f10 EXTERNAL:00000263 00a62f10 00af05e5 00a62f10 00a64610 +00a62f10 EXTERNAL:00000263 00a62f90 EXTERNAL:00000262 00a62fb0 00a90f30 00a63000 00af05e5 00a63000 EXTERNAL:00000262 -00a63100 008c5d50 00a63100 EXTERNAL:00000252 -00a631f0 EXTERNAL:00000263 +00a63100 008c5d50 00a631f0 00af05df 00a631f0 00a64610 -00a63390 EXTERNAL:00000263 +00a631f0 EXTERNAL:00000263 00a63390 00af05df -00a63390 EXTERNAL:00000262 00a63390 00a64610 -00a63490 00a92070 -00a63490 008c5d50 -00a63490 EXTERNAL:00000252 -00a63490 00a92520 -00a63490 00a91610 -00a63490 00a910c0 -00a63490 00a64610 -00a63490 00a930b0 -00a63490 00a64630 -00a63490 00a91dd0 -00a63490 00a91030 -00a63490 00a931f0 -00a63490 00a911e0 -00a63490 00a91b50 -00a63490 00aefcf0 +00a63390 EXTERNAL:00000263 +00a63390 EXTERNAL:00000262 00a63490 00a92b70 -00a63490 00a92cb0 +00a63490 00a91b50 +00a63490 00a91030 +00a63490 00a64630 00a63490 00a92640 +00a63490 00a911e0 +00a63490 00a930b0 +00a63490 00a64610 +00a63490 008c5d50 +00a63490 00a92070 +00a63490 00a91dd0 +00a63490 00a931f0 +00a63490 00a91610 +00a63490 00a92520 +00a63490 EXTERNAL:00000252 00a63490 00a91790 -00a63a10 EXTERNAL:00000263 -00a63a10 00af05e5 -00a63a10 008c5d50 -00a63a10 00a64160 +00a63490 00a92cb0 +00a63490 00a910c0 +00a63490 00aefcf0 00a63a10 EXTERNAL:00000252 +00a63a10 00a64160 +00a63a10 00af05e5 +00a63a10 00a64610 +00a63a10 EXTERNAL:00000263 +00a63a10 008c5d50 00a63a10 00af08b7 00a63a10 EXTERNAL:00000262 -00a63a10 00a64610 00a63ba0 00a932c0 00a63ba0 00af05df -00a63ba0 00a93480 -00a63ba0 00a94c80 00a63ba0 00a93860 +00a63ba0 00a94c80 +00a63ba0 00a93480 00a63ba0 00a93640 -00a63db0 00a90f30 00a63db0 00a91030 -00a63db0 00a910c0 00a63db0 00a957f0 +00a63db0 00a90f30 00a63db0 00a64610 -00a63f30 00af05e5 +00a63db0 00a910c0 00a63f30 00a95a10 +00a63f30 00af05e5 00a63f30 EXTERNAL:00000262 -00a64160 EXTERNAL:00000263 00a64160 00a64610 +00a64160 EXTERNAL:00000263 00a64610 00a64740 -00a64630 008c5d50 00a64630 EXTERNAL:00000252 +00a64630 008c5d50 00a64710 00a64660 00a64710 00a64610 -00a64740 008c5d50 00a64740 EXTERNAL:00000252 00a64740 EXTERNAL:000001f1 +00a64740 008c5d50 00a64770 00a64610 00a647c0 00aef15c 00a647c0 00a6f0c0 @@ -58623,249 +58623,249 @@ 00a64820 00a648b0 00a64820 00a6f270 00a648b0 EXTERNAL:00000263 -00a648b0 EXTERNAL:00000262 00a648b0 00a23200 +00a648b0 EXTERNAL:00000262 +00a649d0 00a357c0 00a649d0 00aef15c 00a649d0 00a12ad0 00a649d0 004149d0 -00a649d0 00a357c0 -00a64a50 EXTERNAL:00000263 +00a64a50 00a96800 00a64a50 00a12d50 -00a64a50 00a648b0 -00a64a50 00a96980 +00a64a50 00a64630 +00a64a50 00a982d0 00a64a50 00af05e5 +00a64a50 00aef12b +00a64a50 00a96980 +00a64a50 00a23160 +00a64a50 00a66730 +00a64a50 EXTERNAL:00000262 00a64a50 00a976e0 +00a64a50 00a648b0 +00a64a50 00a112c0 +00a64a50 EXTERNAL:00000263 +00a64a50 00ab33f0 00a64a50 00a230b0 00a64a50 00a973a0 -00a64a50 00a97450 -00a64a50 00af08b7 00a64a50 00a0f4e0 -00a64a50 00a23160 -00a64a50 EXTERNAL:00000262 -00a64a50 00a112c0 -00a64a50 00aef12b -00a64a50 00a64630 -00a64a50 00a663c0 -00a64a50 00a66730 -00a64a50 00a96cc0 -00a64a50 00a96800 -00a64a50 00ab33f0 00a64a50 00a97100 -00a64a50 00a982d0 +00a64a50 00a96cc0 +00a64a50 00af08b7 +00a64a50 00a97450 +00a64a50 00a663c0 00a650f0 EXTERNAL:000001f1 +00a65110 00a357c0 00a65110 00aef15c 00a65110 00a12ad0 00a65110 004149d0 -00a65110 00a357c0 00a65190 00a12d50 -00a65190 00af05e5 -00a65190 00a230b0 -00a65190 00a650f0 -00a65190 00a9d840 00a65190 00a9d9c0 -00a65190 00af08b7 -00a65190 00a23160 -00a65190 0040c200 -00a65190 00a112c0 +00a65190 00a650f0 +00a65190 00af05e5 00a65190 00aef12b 00a65190 00a9d390 -00a65190 00a663c0 +00a65190 00a23160 +00a65190 00a9d840 +00a65190 00a112c0 00a65190 00ab5cc0 +00a65190 00a230b0 +00a65190 0040c200 +00a65190 00af08b7 +00a65190 00a663c0 +00a659e0 00a357c0 00a659e0 00aef15c 00a659e0 00a12ad0 00a659e0 004149d0 -00a659e0 00a357c0 +00a65a60 00a12d50 +00a65a60 00a667b0 +00a65a60 00af05e5 00a65a60 00a112c0 00a65a60 00aef12b -00a65a60 00a12d50 -00a65a60 00a663c0 -00a65a60 00af05e5 00a65a60 00a230b0 -00a65a60 00a667b0 +00a65a60 00a663c0 +00a65d00 00a357c0 00a65d00 00aef15c 00a65d00 00a12ad0 00a65d00 004149d0 -00a65d00 00a357c0 -00a65d80 00a112c0 00a65d80 00a12d50 -00a65d80 00aef12b -00a65d80 00a663c0 00a65d80 00af05e5 +00a65d80 00a112c0 +00a65d80 00aef12b 00a65d80 00a230b0 +00a65d80 00a663c0 +00a66080 00a357c0 00a66080 00aef15c 00a66080 00a12ad0 00a66080 004149d0 -00a66080 00a357c0 +00a66100 00a357c0 00a66100 00aef15c 00a66100 00a12ad0 00a66100 004149d0 -00a66100 00a357c0 -00a66180 00a112c0 00a66180 00a12d50 -00a66180 00a663c0 00a66180 00af05e5 +00a66180 00a112c0 00a66180 00a230b0 +00a66180 00a663c0 +00a662f0 00a357c0 00a662f0 00aef15c 00a662f0 00a12ad0 00a662f0 004149d0 -00a662f0 00a357c0 -00a66440 00a112c0 00a66440 00a0f550 +00a66440 00a112c0 00a66590 00a112c0 -00a66730 00a230b0 -00a66730 00a66370 00a66730 00a66a20 +00a66730 00a66370 +00a66730 00a230b0 00a66730 00a23160 -00a667b0 00a66730 -00a667b0 00a66370 00a667b0 00a66a20 +00a667b0 00a66370 00a667b0 00a23160 +00a667b0 00a66730 00a66a20 00af05df -00a66a20 00a668b0 00a66a20 00a66830 +00a66a20 00a668b0 00a66a20 00a66370 00a66a20 00a66960 +00a66c30 00a357c0 00a66c30 00aef15c 00a66c30 00a12ad0 00a66c30 004149d0 -00a66c30 00a357c0 -00a66cb0 00a112c0 00a66cb0 00a12d50 00a66cb0 00af05e5 +00a66cb0 00a112c0 00a66cb0 00a230b0 00a66d90 00aef15c -00a66d90 00a680d0 00a66d90 004149d0 -00a66e30 00af08bd -00a66e30 0040c550 +00a66d90 00a680d0 00a66e30 00a12280 -00a66e30 00414a80 00a66e30 00a0f4c0 -00a66e30 0040c4a0 00a66e30 0040cc10 -00a66e30 0040c3b0 00a66e30 006a0d30 -00a671b0 00a10fa0 +00a66e30 00af08bd +00a66e30 0040c4a0 +00a66e30 00414a80 +00a66e30 0040c550 +00a66e30 0040c3b0 +00a671b0 EXTERNAL:00000220 +00a671b0 00a24e10 +00a671b0 00aef15c 00a671b0 00a10ab0 +00a671b0 00a67f40 00a671b0 00415bc0 -00a671b0 EXTERNAL:00000201 -00a671b0 00a11210 00a671b0 00589e40 00a671b0 00a67eb0 00a671b0 0041fba0 -00a671b0 00a24e10 00a671b0 00a112c0 -00a671b0 00aef15c -00a671b0 EXTERNAL:00000220 -00a671b0 00a67f40 -00a67bd0 00a112c0 -00a67bd0 00a24e10 -00a67bd0 00a31f20 +00a671b0 EXTERNAL:00000201 +00a671b0 00a10fa0 +00a671b0 00a11210 00a67bd0 00a14250 -00a67bd0 00a31be0 +00a67bd0 00a24e10 +00a67bd0 00a112c0 00a67bd0 00a363c0 +00a67bd0 00a31f20 +00a67bd0 00a31be0 00a67bd0 00a18a20 -00a67eb0 00a10fa0 -00a67eb0 0040cf00 00a67eb0 0040cee0 +00a67eb0 00a10fa0 00a67eb0 0041fe10 -00a67f40 0040cf00 -00a67f40 004200a0 -00a67f40 0040cee0 +00a67eb0 0040cf00 00a67f40 0041fe80 +00a67f40 0040cee0 +00a67f40 004200a0 +00a67f40 0040cf00 00a67fe0 00aef5c4 -00a67fe0 00a68360 00a67fe0 00a0f4e0 +00a67fe0 00a68360 00a680a0 00aef15c 00a680a0 00a680d0 00a680d0 00aef15c 00a680d0 00a23160 -00a68160 00aef638 00a68160 00aef15c +00a68160 00aef638 00a68210 00aef15c 00a68240 00aef15c 00a68280 00af05df 00a68280 00a230b0 00a68280 00a23160 -00a68360 00a23260 -00a68360 00a112c0 00a68360 00aef15c +00a68360 00a112c0 +00a68360 00a23260 00a68360 00416440 00a68440 00aef15c -00a68490 00aefe80 -00a68490 EXTERNAL:000000f4 00a68490 EXTERNAL:000000f3 +00a68490 EXTERNAL:000000f4 +00a68490 00aefe80 00a68490 00aefd70 00a684f0 00aef15c -00a684f0 00a68640 00a684f0 0042c8e0 +00a684f0 00a68640 00a68540 00aef15c -00a68540 00a68640 00a68540 0042c8e0 +00a68540 00a68640 00a68590 00652210 00a68590 EXTERNAL:0000022f -00a68590 00a159d0 00a68590 00a0f4e0 +00a68590 00a159d0 00a68640 0042c8e0 00a68640 EXTERNAL:00000262 00a68730 00a159d0 00a68730 00416440 +00a68790 00651990 00a68790 00a159d0 00a68790 00416440 -00a68790 00651990 -00a687f0 00aef15c -00a687f0 00a159d0 -00a687f0 0042c920 00a687f0 00a5a7a0 00a687f0 EXTERNAL:00000220 00a687f0 00651990 +00a687f0 00aef15c 00a687f0 00a172e0 +00a687f0 0042c920 +00a687f0 00a159d0 00a687f0 EXTERNAL:00000262 00a68a50 00a0f4c0 -00a68a50 00a0f4e0 -00a68a50 00a68c50 00a68a50 00a178d0 -00a68b50 00a68b80 +00a68a50 00a68c50 +00a68a50 00a0f4e0 00a68b50 00aef15c +00a68b50 00a68b80 00a68b80 00a648b0 00a68b80 00aef15c -00a68c50 00a850f0 00a68c50 00a89c90 -00a68cf0 00a112c0 -00a68cf0 00aef12b +00a68c50 00a850f0 00a68cf0 00a85320 +00a68cf0 00a112c0 00a68cf0 00a89f80 -00a69090 00a112c0 -00a69090 00aef12b +00a68cf0 00aef12b 00a69090 00a85320 +00a69090 00a112c0 00a69090 00a89f80 +00a69090 00aef12b 00a694a0 00a69090 00a694a0 00a68c50 00a69510 00af05df 00a69510 00a68cf0 00a69620 00a112c0 00a69640 00a112c0 -00a69650 00a112c0 00a69650 00a49fe0 -00a69650 00a66590 00a69650 00a31630 -00a69700 00a66440 +00a69650 00a112c0 +00a69650 00a66590 00a69700 00a0f550 -00a69760 00a112c0 -00a69760 009e3d30 -00a69760 00a46150 -00a69760 00a11780 +00a69700 00a66440 00a69760 00a0f4c0 00a69760 00499410 +00a69760 00a112c0 +00a69760 00a46150 +00a69760 009e3d30 +00a69760 00a11780 00a699f0 00aef15c 00a699f0 004149d0 00a69a20 004149d0 -00a69a30 00a12ad0 00a69a30 00a357c0 -00a69a50 00a49cb0 +00a69a30 00a12ad0 00a69a50 00a31630 -00a69ab0 00a49cb0 +00a69a50 00a49cb0 00a69ab0 00a31630 +00a69ab0 00a49cb0 00a69b10 00a39f70 00a69b30 00a38990 00a69b30 00a31630 @@ -58874,140 +58874,140 @@ 00a69be0 EXTERNAL:00000261 00a69c00 EXTERNAL:00000107 00a69c00 EXTERNAL:000000e4 -00a69c00 00af05e5 -00a69c00 00a6af90 00a69c00 00a26570 +00a69c00 00af05e5 00a69c00 EXTERNAL:00000103 +00a69c00 00a6af90 00a69e80 00af05e5 00a69e80 00a69f60 00a69ef0 00af05e5 00a69ef0 00a69f60 -00a69f60 00aef12b -00a69f60 0041d4c0 -00a69f60 00af05e5 -00a69f60 EXTERNAL:0000021c +00a69f60 EXTERNAL:000000e6 00a69f60 EXTERNAL:00000102 -00a69f60 00a69f60 00a69f60 EXTERNAL:000000fc 00a69f60 EXTERNAL:00000253 +00a69f60 00af05e5 +00a69f60 0041d4c0 +00a69f60 00a69f60 +00a69f60 00aef12b 00a69f60 EXTERNAL:00000100 -00a69f60 EXTERNAL:000000e6 +00a69f60 EXTERNAL:0000021c +00a6a420 00a9dad0 +00a6a420 00a9db20 +00a6a420 00a25770 +00a6a420 00a9db50 +00a6a420 EXTERNAL:000000f3 +00a6a420 00837010 +00a6a420 EXTERNAL:000000f4 00a6a420 00af05e5 00a6a420 EXTERNAL:00000104 -00a6a420 EXTERNAL:0000021c -00a6a420 00a9db20 -00a6a420 00a69f60 -00a6a420 00a9db50 -00a6a420 EXTERNAL:000000f4 -00a6a420 00a25770 -00a6a420 EXTERNAL:000000f3 -00a6a420 00a9dad0 -00a6a420 00837010 00a6a420 00a69c00 +00a6a420 00a69f60 +00a6a420 EXTERNAL:0000021c 00a6a710 EXTERNAL:0000021c 00a6a7f0 EXTERNAL:0000021c 00a6a870 EXTERNAL:0000021c 00a6a8d0 EXTERNAL:0000021c 00a6a930 EXTERNAL:0000021c -00a6a9b0 00aef12b -00a6a9b0 00af05e5 -00a6a9b0 EXTERNAL:0000021c -00a6a9b0 00a6af90 -00a6a9b0 00a69f60 -00a6a9b0 00a69e80 00a6a9b0 00a6b1a0 +00a6a9b0 00a69e80 +00a6a9b0 00af05e5 +00a6a9b0 00a69f60 +00a6a9b0 00aef12b +00a6a9b0 00a6af90 +00a6a9b0 EXTERNAL:0000021c 00a6ac80 00a69f60 -00a6af90 00af05e5 -00a6af90 EXTERNAL:0000021c -00a6af90 00a69f60 00a6af90 EXTERNAL:000000fc -00a6b0a0 EXTERNAL:0000021c +00a6af90 00af05e5 +00a6af90 00a69f60 +00a6af90 EXTERNAL:0000021c 00a6b0a0 00a69f60 +00a6b0a0 EXTERNAL:0000021c 00a6b1a0 00a69f60 -00a6b570 00aef12b 00a6b570 00a6bc50 -00a6b570 EXTERNAL:0000021c -00a6b570 00a6bbb0 -00a6b570 00a69f60 00a6b570 EXTERNAL:000000fc 00a6b570 EXTERNAL:0000022d +00a6b570 00a69f60 +00a6b570 00aef12b +00a6b570 00a6bbb0 +00a6b570 EXTERNAL:0000021c 00a6b570 00837090 00a6bb40 EXTERNAL:000001f4 -00a6bbb0 EXTERNAL:0000021c -00a6bbb0 00a69f60 00a6bbb0 EXTERNAL:000000fc -00a6bc50 EXTERNAL:0000021c -00a6bc50 00a69f60 +00a6bbb0 00a69f60 +00a6bbb0 EXTERNAL:0000021c 00a6bc50 EXTERNAL:000000fc +00a6bc50 00a69f60 +00a6bc50 EXTERNAL:0000021c 00a6bc50 00a6bb40 00a6be30 EXTERNAL:00000267 00a6beb0 00af08bd +00a6beb0 00a69f60 00a6beb0 00a69ef0 00a6beb0 EXTERNAL:0000021c -00a6beb0 00a69f60 00a6c190 EXTERNAL:0000022f 00a6c190 00af05e5 00a6c190 00a69f60 00a6c200 00af05e5 00a6c200 00a69f60 +00a6c390 00a1e2c0 00a6c390 00aef15c 00a6c390 004b3950 -00a6c390 00a1e2c0 -00a6c3e0 00af05e5 00a6c3e0 00a6ce70 00a6c3e0 00a6c960 +00a6c3e0 00af05e5 00a6c3e0 00a1e210 00a6c450 00a1e360 -00a6c480 00af08bd 00a6c480 007defc0 +00a6c480 00af08bd 00a6c610 00a19530 00a6c630 00a19530 -00a6c650 00af05e5 -00a6c650 EXTERNAL:0000021c -00a6c650 00a69f60 00a6c650 00a19530 -00a6c960 00af05e5 +00a6c650 00af05e5 +00a6c650 00a69f60 +00a6c650 EXTERNAL:0000021c 00a6c960 EXTERNAL:00000239 -00a6ce70 EXTERNAL:0000021c +00a6c960 00af05e5 00a6ce70 00a69f60 +00a6ce70 EXTERNAL:0000021c +00a6cf80 EXTERNAL:00000113 00a6cf80 00a112c0 00a6cf80 00aef12b -00a6cf80 EXTERNAL:00000113 00a6d2c0 00a112c0 00a6d2c0 00aef12b 00a6d560 00a112c0 00a6da10 00af08bd 00a6da10 EXTERNAL:00000262 -00a6dab0 00a112c0 -00a6dab0 EXTERNAL:0000013d -00a6dab0 00aef12b -00a6dab0 EXTERNAL:0000013c -00a6dab0 EXTERNAL:00000158 -00a6dab0 EXTERNAL:0000013b 00a6dab0 00a6da10 -00a6de60 00aefe80 -00a6de60 00a648b0 -00a6de60 00aef12b -00a6de60 EXTERNAL:000000f4 -00a6de60 EXTERNAL:000000f3 -00a6de60 00a6dd30 +00a6dab0 EXTERNAL:0000013d +00a6dab0 EXTERNAL:0000013c +00a6dab0 00a112c0 +00a6dab0 00aef12b +00a6dab0 EXTERNAL:0000013b +00a6dab0 EXTERNAL:00000158 00a6de60 00a6da10 -00a6ef50 00af08bd -00a6ef50 0040cf00 -00a6ef50 00aef15c -00a6ef50 00415bc0 -00a6ef50 0040cee0 +00a6de60 00a6dd30 +00a6de60 EXTERNAL:000000f3 +00a6de60 00a648b0 +00a6de60 EXTERNAL:000000f4 +00a6de60 00aefe80 +00a6de60 00aef12b 00a6ef50 EXTERNAL:00000220 +00a6ef50 00aef15c +00a6ef50 00af08bd +00a6ef50 0040cee0 +00a6ef50 0040cf00 +00a6ef50 00415bc0 00a6f090 00aef15c 00a6f090 00a6f0c0 -00a6f0c0 00aef15c -00a6f0c0 0042c780 00a6f0c0 00498f80 +00a6f0c0 00aef15c 00a6f0c0 EXTERNAL:00000103 +00a6f0c0 0042c780 00a6f1e0 00a9dea0 -00a6f270 00a9e0f0 00a6f270 00a0f4c0 00a6f270 00a9e170 +00a6f270 00a9e0f0 00a6f270 EXTERNAL:000001d7 00a6f440 00a112c0 00a6f4d0 00a112c0 @@ -59016,90 +59016,90 @@ 00a6f680 EXTERNAL:0000003f 00a6f680 EXTERNAL:0000003e 00a6f680 EXTERNAL:00000022 -00a6f770 00a70a10 -00a6f770 00a648b0 +00a6f770 00a157f0 +00a6f770 00aef15c +00a6f770 00a23df0 00a6f770 EXTERNAL:0000022f 00a6f770 00a70fe0 -00a6f770 00a157f0 +00a6f770 00a159a0 00a6f770 00415d20 +00a6f770 00a23ae0 +00a6f770 00a648b0 00a6f770 00a23bb0 +00a6f770 00a24210 +00a6f770 00a70a10 00a6f770 00a23d40 00a6f770 00a0f4e0 -00a6f770 00aef15c -00a6f770 00a23ae0 -00a6f770 00a24210 -00a6f770 00a23df0 -00a6f770 00a159a0 -00a6fa10 EXTERNAL:00000045 -00a6fa10 00a70a10 -00a6fa10 0040c340 -00a6fa10 0085be70 -00a6fa10 00a6f770 -00a6fa10 00a15a30 -00a6fa10 00a112c0 -00a6fa10 00aef15c -00a6fa10 00aef12b -00a6fa10 EXTERNAL:00000015 -00a6fa10 EXTERNAL:00000220 -00a6fa10 EXTERNAL:00000042 -00a6fa10 EXTERNAL:00000043 00a6fa10 EXTERNAL:00000044 00a6fa10 EXTERNAL:00000028 +00a6fa10 EXTERNAL:00000220 +00a6fa10 EXTERNAL:00000042 +00a6fa10 00aef15c +00a6fa10 00aef12b +00a6fa10 0040c340 +00a6fa10 00a15a30 +00a6fa10 00a112c0 +00a6fa10 00a70a10 +00a6fa10 EXTERNAL:00000045 +00a6fa10 0085be70 00a6fa10 EXTERNAL:00000022 00a6fa10 EXTERNAL:00000041 -00a6fc30 00a112c0 -00a6fc30 EXTERNAL:0000003c -00a6fc30 00a648b0 -00a6fc30 EXTERNAL:00000015 -00a6fc30 EXTERNAL:00000040 -00a6fc30 EXTERNAL:00000046 +00a6fa10 00a6f770 +00a6fa10 EXTERNAL:00000015 +00a6fa10 EXTERNAL:00000043 00a6fc30 EXTERNAL:00000028 +00a6fc30 EXTERNAL:00000046 +00a6fc30 00a648b0 +00a6fc30 00a112c0 +00a6fc30 EXTERNAL:00000040 00a6fc30 00a0f4e0 -00a6fd70 EXTERNAL:00000045 +00a6fc30 EXTERNAL:0000003c +00a6fc30 EXTERNAL:00000015 00a6fd70 00a70a10 +00a6fd70 EXTERNAL:00000045 00a6fd70 EXTERNAL:00000022 00a6fe30 00a112c0 00a6fe30 EXTERNAL:00000015 -00a6fe70 00a112c0 00a6fe70 00aef15c 00a6fe70 00a23df0 -00a6fe70 00416440 -00a6fe70 00a23d40 +00a6fe70 00a112c0 00a6fe70 004149d0 -00a70020 00a648b0 -00a70020 00a23c50 -00a70020 EXTERNAL:00000040 -00a70020 00a70d20 +00a6fe70 00a23d40 +00a6fe70 00416440 +00a70020 EXTERNAL:00000028 00a70020 00a0f4c0 -00a70020 00a23d40 -00a70020 00a0f4e0 -00a70020 00a70710 -00a70020 EXTERNAL:0000003c 00a70020 00a23f30 00a70020 00a23df0 +00a70020 00a70710 00a70020 EXTERNAL:0000003b 00a70020 00a706b0 -00a70020 EXTERNAL:00000028 +00a70020 00a648b0 +00a70020 00a70d20 +00a70020 00a23c50 +00a70020 00a23d40 +00a70020 EXTERNAL:00000040 +00a70020 00a0f4e0 +00a70020 EXTERNAL:0000003c 00a70020 00416440 -00a703f0 00af0750 -00a703f0 00a23c50 00a703f0 00a23df0 00a703f0 00a70d20 -00a703f0 00416440 +00a703f0 00a23c50 00a703f0 00a23d40 +00a703f0 00a70020 00a703f0 00a6f770 00a703f0 00a70710 -00a703f0 00a70020 +00a703f0 00416440 +00a703f0 00af0750 00a706b0 00a23df0 -00a706b0 00416440 00a706b0 00a23d40 +00a706b0 00416440 00a70710 00a23df0 -00a70710 00416440 00a70710 00a23d40 -00a70770 00a112c0 -00a70770 00af08bd +00a70710 00416440 00a70770 00a0f4c0 00a70770 006a0d30 +00a70770 00af08bd +00a70770 00a112c0 00a70770 EXTERNAL:000001d7 00a70770 00a70020 00a70950 004149d0 @@ -59107,262 +59107,262 @@ 00a70970 00a70d50 00a70990 00aef15c 00a70990 00a70cc0 -00a70990 00a70d50 00a70990 EXTERNAL:00000103 +00a70990 00a70d50 00a70a10 00a23ae0 -00a70a10 00a23c50 00a70a10 00a23df0 -00a70a10 00a70d20 00a70a10 00a23bb0 -00a70a10 00416440 +00a70a10 00a70d20 +00a70a10 00a23c50 00a70a10 00a23d40 00a70a10 00a70710 +00a70a10 00416440 00a70cc0 00aef15c 00a70cc0 004149d0 00a70d20 00a70e00 00a70d50 00aef15c 00a70d50 00a70d50 -00a70e00 00415fe0 -00a70e00 00a23df0 -00a70e00 004170d0 -00a70e00 00a0f4c0 -00a70e00 00416440 00a70e00 00415f80 +00a70e00 00a0f4c0 +00a70e00 00a23df0 +00a70e00 00415fe0 +00a70e00 00416440 +00a70e00 004170d0 00a70fe0 00a648b0 -00a710a0 00a648b0 -00a710a0 EXTERNAL:00000077 -00a710a0 00af05e5 -00a710a0 EXTERNAL:00000079 -00a710a0 00a0f4c0 -00a710a0 00a23230 -00a710a0 00a8c430 -00a710a0 00a1d610 -00a710a0 00a112c0 00a710a0 EXTERNAL:00000009 -00a710a0 00a15770 -00a710a0 00a5a7a0 +00a710a0 00a0f4c0 +00a710a0 00af05e5 00a710a0 EXTERNAL:00000104 +00a710a0 00a23230 00a710a0 00a15f10 -00a710a0 00a7d2a0 -00a710a0 00a21980 -00a710a0 00a18e90 -00a710a0 00a5f770 +00a710a0 00a8c430 00a710a0 00a167d0 -00a714e0 00aaae20 -00a714e0 00aef15c -00a714e0 00a28f60 -00a714e0 EXTERNAL:0000001c -00a714e0 00414a80 -00a714e0 00a21cb0 -00a714e0 00aaaf50 -00a714e0 00a266a0 +00a710a0 EXTERNAL:00000077 +00a710a0 00a5a7a0 +00a710a0 00a648b0 +00a710a0 00a7d2a0 +00a710a0 00a5f770 +00a710a0 00a112c0 +00a710a0 00a21980 +00a710a0 00a1d610 +00a710a0 00a18e90 +00a710a0 00a15770 +00a710a0 EXTERNAL:00000079 00a714e0 00a6fe70 -00a714e0 00a90bc0 +00a714e0 00aaaf50 +00a714e0 00a28f60 +00a714e0 00aef15c +00a714e0 EXTERNAL:0000001c 00a714e0 00a68490 +00a714e0 00aaae20 +00a714e0 00414a80 00a714e0 EXTERNAL:00000100 -00a71770 00a648b0 -00a71770 00a1d6b0 -00a71770 00a35370 -00a71770 00a6af90 -00a71770 00a21b70 -00a71770 00a177f0 -00a71770 00414a80 -00a71770 00a23ee0 -00a71770 0042c8e0 -00a71770 00a35660 -00a71770 EXTERNAL:00000103 -00a71770 00a2a8d0 +00a714e0 00a266a0 +00a714e0 00a90bc0 +00a714e0 00a21cb0 00a71770 00a13060 -00a71770 EXTERNAL:00000262 -00a71770 00a9e5a0 +00a71770 00a35660 00a71770 00aef15c -00a71770 0040c7f0 00a71770 00a31300 -00a71770 00a615a0 +00a71770 00a177f0 +00a71770 00a2a8d0 00a71770 EXTERNAL:00000017 -00a71770 0040d040 +00a71770 00a1d6b0 00a71770 EXTERNAL:0000001b +00a71770 00a6af90 +00a71770 00a9e5a0 +00a71770 00a23ee0 +00a71770 EXTERNAL:00000262 +00a71770 00a648b0 +00a71770 0040d040 +00a71770 0040c7f0 +00a71770 0042c8e0 +00a71770 00a21b70 +00a71770 00a35370 +00a71770 EXTERNAL:00000103 +00a71770 00414a80 +00a71770 00a615a0 +00a71c40 EXTERNAL:00000220 00a71c40 00aef15c 00a71c40 00426980 -00a71c40 EXTERNAL:00000220 00a71c40 00a2a5a0 00a71c40 00915d70 00a71c40 00a288a0 -00a71e10 00a72260 -00a71e10 00a157f0 -00a71e10 00a71fc0 -00a71e10 00a720a0 00a71e10 00a28840 +00a71e10 00a157f0 +00a71e10 00a72260 +00a71e10 00a71fc0 00a71e10 00a159a0 -00a71f00 00a72260 -00a71f00 00a157f0 -00a71f00 00a28790 +00a71e10 00a720a0 00a71f00 00a28840 +00a71f00 00a157f0 +00a71f00 00a72260 00a71f00 00a159a0 -00a71fc0 00415bd0 -00a71fc0 00a72260 -00a71fc0 004170d0 +00a71f00 00a28790 00a71fc0 00a0f4c0 -00a720a0 00415bd0 -00a720a0 00a72260 -00a720a0 004170d0 +00a71fc0 00a72260 +00a71fc0 00415bd0 +00a71fc0 004170d0 00a720a0 00a0f4c0 +00a720a0 00a72260 +00a720a0 00415bd0 00a720a0 00a28930 +00a720a0 004170d0 00a721b0 00aef15c 00a721b0 00a721b0 -00a722c0 00a2a0b0 -00a722c0 00af08bd -00a722c0 00a73100 -00a722c0 00a23ae0 -00a722c0 00aef15c -00a722c0 00a23610 -00a722c0 00426980 00a722c0 EXTERNAL:00000220 -00a722c0 00a28590 00a722c0 00a23920 -00a722c0 00a285f0 -00a722c0 007099a0 +00a722c0 00aef15c +00a722c0 00426980 00a722c0 004267f0 +00a722c0 00a73100 +00a722c0 00a28590 +00a722c0 007099a0 +00a722c0 00a23ae0 +00a722c0 00a2a0b0 +00a722c0 00a285f0 +00a722c0 00af08bd +00a722c0 00a23610 00a72740 00a288a0 -00a727b0 00aef15c 00a727b0 EXTERNAL:00000220 -00a727b0 00a73100 +00a727b0 00aef15c 00a727b0 004267f0 -00a72a20 00aef15c +00a727b0 00a73100 00a72a20 EXTERNAL:00000220 -00a72a20 00a73100 +00a72a20 00aef15c 00a72a20 004267f0 -00a72bc0 00a23ae0 -00a72bc0 00aef15c -00a72bc0 00a23610 +00a72a20 00a73100 00a72bc0 EXTERNAL:00000220 -00a72bc0 00a28590 +00a72bc0 00a23ae0 00a72bc0 00708430 00a72bc0 00a23920 -00a72bc0 00a28790 -00a72bc0 00a73100 +00a72bc0 00aef15c 00a72bc0 00a285f0 00a72bc0 004267f0 +00a72bc0 00a73100 +00a72bc0 00a28590 +00a72bc0 00a23610 00a72bc0 00a5f260 +00a72bc0 00a28790 00a73020 00a9e8c0 00a73020 00426980 00a73020 00a28ca0 -00a73100 00a112c0 00a73100 00426980 -00a73100 00a2a5a0 -00a73100 00915d70 00a73100 004267f0 +00a73100 00a2a5a0 +00a73100 00a112c0 +00a73100 00915d70 00a73200 008e24c0 00a73200 00a282c0 00a73aa0 00aef15c 00a73aa0 00a77dd0 00a73aa0 00a553c0 -00a73b60 00af08bd +00a73b60 00af08b1 +00a73b60 EXTERNAL:00000220 00a73b60 00a2a0b0 00a73b60 00aef15c +00a73b60 004267f0 00a73b60 00a77f70 -00a73b60 EXTERNAL:00000220 +00a73b60 00af08bd +00a73b60 EXTERNAL:00000137 00a73b60 00414a80 00a73b60 00a288a0 -00a73b60 EXTERNAL:00000137 -00a73b60 004267f0 -00a73b60 00af08b1 -00a73e00 00a75030 +00a73e00 00af08b1 +00a73e00 008e24c0 +00a73e00 00a9f120 00a73e00 008ef1d0 00a73e00 EXTERNAL:0000022f -00a73e00 00a2a030 -00a73e00 00a55330 00a73e00 00a59e20 -00a73e00 00a23610 -00a73e00 008e24c0 -00a73e00 00a78e10 -00a73e00 00a9f2b0 -00a73e00 00a9f0e0 -00a73e00 00a288a0 -00a73e00 00708d40 -00a73e00 00a9f120 00a73e00 004267f0 -00a73e00 00a2a0b0 -00a73e00 00a9ede0 +00a73e00 00a29f60 00a73e00 00a75010 -00a73e00 00a28360 -00a73e00 00af08b1 -00a73e00 00a28840 +00a73e00 00a55330 +00a73e00 00a2a0b0 00a73e00 00a112c0 -00a73e00 00a23ae0 +00a73e00 00a288a0 +00a73e00 00a9f0e0 +00a73e00 00a28840 +00a73e00 00a9f2b0 +00a73e00 EXTERNAL:0000022d +00a73e00 00708d40 +00a73e00 00a75030 00a73e00 00aef12b 00a73e00 00a9f180 -00a73e00 00a29f60 -00a73e00 EXTERNAL:0000022d -00a74470 00420a80 -00a74470 00a112c0 -00a74470 00aef12b -00a74470 EXTERNAL:00000136 -00a74470 00a69f60 +00a73e00 00a28360 +00a73e00 00a78e10 +00a73e00 00a23ae0 +00a73e00 00a23610 +00a73e00 00a2a030 +00a73e00 00a9ede0 00a74470 EXTERNAL:00000115 +00a74470 00a112c0 +00a74470 00a69f60 +00a74470 EXTERNAL:00000136 +00a74470 00aef12b +00a74470 00420a80 00a74470 EXTERNAL:000000f2 -00a745a0 00a9f180 -00a745a0 00a69f60 -00a745a0 00a28360 -00a745a0 00a288a0 00a745a0 00af08b1 00a745a0 00a28840 +00a745a0 00a69f60 +00a745a0 00a9f180 +00a745a0 00a28360 +00a745a0 00a288a0 00a74710 00a23ae0 -00a74710 00a23610 00a74710 EXTERNAL:0000022f -00a74710 00a2a030 -00a74710 00a71f00 -00a74710 00a5f260 00a74710 004267f0 -00a74940 00aef12b +00a74710 00a23610 +00a74710 00a71f00 +00a74710 00a2a030 +00a74710 00a5f260 00a74940 EXTERNAL:0000022f 00a74940 00a282c0 +00a74940 00aef12b 00a74940 00a2a070 00a74a40 00a74e00 -00a74a40 00a23ae0 -00a74a40 00aef15c -00a74a40 EXTERNAL:0000022f -00a74a40 00a23610 -00a74a40 EXTERNAL:000000f1 00a74a40 EXTERNAL:00000220 +00a74a40 00a23ae0 +00a74a40 EXTERNAL:000000f1 +00a74a40 EXTERNAL:0000022f 00a74a40 EXTERNAL:00000135 +00a74a40 00aef15c +00a74a40 00a23610 00a74a40 00a2a030 00a74a40 00a0f4e0 00a74a40 EXTERNAL:00000262 00a74d00 004149d0 -00a74d10 00a112c0 -00a74d10 00a791d0 00a74d10 00a58740 00a74d10 00a0f4c0 00a74d10 00a75050 +00a74d10 00a112c0 +00a74d10 00a791d0 00a74e00 EXTERNAL:000001f3 -00a74e70 EXTERNAL:0000014c -00a74e70 EXTERNAL:000000ef -00a74e70 EXTERNAL:00000114 -00a74e70 EXTERNAL:00000180 -00a74e70 00a69f60 +00a74e70 00a74e00 +00a74e70 EXTERNAL:000000f0 +00a74e70 00aef12b 00a74e70 EXTERNAL:00000129 +00a74e70 EXTERNAL:0000014c +00a74e70 EXTERNAL:00000180 +00a74e70 EXTERNAL:00000134 +00a74e70 00428590 +00a74e70 EXTERNAL:000000ef +00a74e70 00a69f60 00a74e70 EXTERNAL:00000133 00a74e70 EXTERNAL:00000171 -00a74e70 00a74e00 -00a74e70 00aef12b -00a74e70 00428590 -00a74e70 EXTERNAL:00000134 -00a74e70 EXTERNAL:000000f0 +00a74e70 EXTERNAL:00000114 00a75010 00af08b1 00a75030 00af08b1 -00a75050 00415bd0 -00a75050 004170d0 00a75050 00a0f4c0 00a75050 0040cc10 +00a75050 00415bd0 00a75050 00731ee0 +00a75050 004170d0 +00a751b0 EXTERNAL:00000007 00a751b0 00aef15c 00a751b0 00a77dd0 -00a751b0 EXTERNAL:00000007 00a751b0 EXTERNAL:00000008 00a75280 EXTERNAL:00000009 -00a75280 EXTERNAL:00000263 00a75280 00a77f70 +00a75280 EXTERNAL:00000263 00a75280 00a78a10 00a753f0 EXTERNAL:00000009 00a75410 EXTERNAL:00000009 @@ -59370,539 +59370,539 @@ 00a75460 00a282c0 00a75460 EXTERNAL:00000006 00a75460 EXTERNAL:00000008 +00a755d0 00a238e0 00a755d0 EXTERNAL:00000009 00a755d0 00a282c0 -00a755d0 00a238e0 00a755d0 EXTERNAL:00000006 00a755d0 EXTERNAL:00000008 +00a75740 00a238e0 00a75740 EXTERNAL:00000009 00a75740 00a282c0 -00a75740 00a238e0 00a75740 00a288a0 -00a75900 00a112c0 00a75900 00a75f30 -00a75900 00a791d0 00a75900 00a58740 00a75900 00a0f4c0 -00a759f0 00a53290 -00a759f0 00a28790 -00a759f0 00a28360 -00a759f0 00a71c40 +00a75900 00a112c0 +00a75900 00a791d0 00a759f0 00af08b1 00a759f0 00a28840 -00a75c10 00420a80 -00a75c10 00aef12b -00a75c10 EXTERNAL:00000009 -00a75c10 00a53290 +00a759f0 00a71c40 +00a759f0 00a53290 +00a759f0 00a28360 +00a759f0 00a28790 00a75c10 00a238e0 -00a75c10 00a28790 +00a75c10 EXTERNAL:00000009 +00a75c10 00aef12b +00a75c10 00420a80 +00a75c10 00a53290 00a75c10 00a28360 -00a75ef0 00aef15c +00a75c10 00a28790 00a75ef0 EXTERNAL:00000007 -00a75f30 00415bd0 -00a75f30 004170d0 +00a75ef0 00aef15c 00a75f30 00a0f4c0 00a75f30 0040cc10 +00a75f30 00415bd0 00a75f30 00731ee0 -00a76090 EXTERNAL:00000001 +00a75f30 004170d0 00a76090 EXTERNAL:0000000a -00a760b0 00aef15c +00a76090 EXTERNAL:00000001 00a760b0 EXTERNAL:00000007 +00a760b0 00aef15c 00a760f0 00aef15c 00a760f0 00a77dd0 -00a760f0 EXTERNAL:00000019 00a760f0 EXTERNAL:0000004f -00a76180 00aef12b +00a760f0 EXTERNAL:00000019 00a76180 EXTERNAL:00000038 00a76180 00a77f70 00a76180 EXTERNAL:00000047 +00a76180 00a70020 +00a76180 00aef12b +00a76180 00a0f4e0 00a76180 00a78a10 00a76180 EXTERNAL:00000049 -00a76180 00a0f4e0 00a76180 EXTERNAL:00000262 -00a76180 00a70020 00a76330 00a112c0 -00a76420 00a112c0 -00a76420 00a23ae0 00a76420 00a239e0 +00a76420 EXTERNAL:00000038 +00a76420 00a23ae0 +00a76420 EXTERNAL:0000004a +00a76420 00a112c0 00a76420 00aef12b 00a76420 00a23610 -00a76420 EXTERNAL:0000004a 00a76420 EXTERNAL:00000015 -00a76420 EXTERNAL:00000038 00a765a0 EXTERNAL:0000004b 00a765a0 EXTERNAL:00000019 -00a76650 EXTERNAL:00000009 -00a76650 EXTERNAL:0000004c -00a76650 00a282c0 -00a76650 EXTERNAL:00000019 -00a76650 00a5f260 00a76650 00af08b1 +00a76650 EXTERNAL:0000004c +00a76650 EXTERNAL:00000009 +00a76650 00a282c0 +00a76650 00a5f260 +00a76650 EXTERNAL:00000019 +00a76830 00af08b1 00a76830 EXTERNAL:0000004d 00a76830 00a288a0 00a76830 EXTERNAL:00000019 -00a76830 00af08b1 +00a76930 00a58740 +00a76930 00a0f4c0 00a76930 00a112c0 00a76930 00a791d0 -00a76930 00a58740 00a76930 00a77a90 -00a76930 00a0f4c0 -00a76a20 00420a80 -00a76a20 00af0750 -00a76a20 00a112c0 -00a76a20 00aef12b -00a76a20 EXTERNAL:00000015 -00a76a20 00a84a90 -00a76a20 00a84b90 -00a76a20 00a28360 00a76a20 00af08b1 00a76a20 00a28840 -00a76c90 00420a80 -00a76c90 00af0750 -00a76c90 00a84b90 -00a76c90 00a84900 -00a76c90 00a70770 -00a76c90 EXTERNAL:00000053 -00a76c90 00a0f4c0 -00a76c90 00a772a0 -00a76c90 EXTERNAL:00000031 +00a76a20 00a84a90 +00a76a20 00a112c0 +00a76a20 00aef12b +00a76a20 00420a80 +00a76a20 00a84b90 +00a76a20 00a28360 +00a76a20 EXTERNAL:00000015 +00a76a20 00af0750 00a76c90 00af08b1 -00a76c90 00a112c0 +00a76c90 EXTERNAL:00000220 +00a76c90 00a0f4c0 00a76c90 00aef15c +00a76c90 00a772a0 00a76c90 00aef12b -00a76c90 EXTERNAL:00000015 +00a76c90 00420a80 +00a76c90 EXTERNAL:00000053 +00a76c90 00af0750 +00a76c90 00a84900 00a76c90 00a84a90 00a76c90 00428590 -00a76c90 EXTERNAL:00000220 +00a76c90 00a112c0 +00a76c90 00a70770 +00a76c90 00a84b90 00a76c90 EXTERNAL:00000054 -00a76ff0 00a28790 -00a76ff0 00a5ffa0 +00a76c90 EXTERNAL:00000015 +00a76c90 EXTERNAL:00000031 00a76ff0 00af08b1 -00a770b0 00a2a0b0 -00a770b0 00aef15c +00a76ff0 00a5ffa0 +00a76ff0 00a28790 +00a770b0 EXTERNAL:00000220 +00a770b0 00a0f4c0 00a770b0 00428590 00a770b0 00a84a90 -00a770b0 EXTERNAL:00000220 +00a770b0 00aef15c +00a770b0 00a2a0b0 +00a770b0 00a70020 00a770b0 00a70770 00a770b0 00a28360 -00a770b0 00a0f4c0 -00a770b0 00a70020 -00a772a0 00af08bd -00a772a0 0040cf00 +00a772a0 00af08b1 +00a772a0 00a84e50 +00a772a0 EXTERNAL:000001b6 +00a772a0 EXTERNAL:00000220 +00a772a0 00a282c0 +00a772a0 00a23df0 +00a772a0 00aef15c +00a772a0 EXTERNAL:0000023c +00a772a0 00aef12b +00a772a0 00a28790 00a772a0 00af05df 00a772a0 EXTERNAL:00000221 -00a772a0 00a282c0 -00a772a0 EXTERNAL:0000023c -00a772a0 00a84e50 -00a772a0 0040ccc0 -00a772a0 00a28790 +00a772a0 00af08bd 00a772a0 00a23d40 -00a772a0 00a6f770 -00a772a0 00af08b1 -00a772a0 EXTERNAL:000001b6 -00a772a0 00aef15c -00a772a0 00aef12b 00a772a0 EXTERNAL:000001bc -00a772a0 00a23df0 -00a772a0 EXTERNAL:00000220 +00a772a0 00a71f00 +00a772a0 00a6f770 +00a772a0 0040ccc0 00a772a0 00a288a0 00a772a0 00416440 -00a772a0 00a71f00 -00a776a0 00af08bd -00a776a0 00a2a0b0 -00a776a0 0040cf00 +00a772a0 0040cf00 +00a776a0 00af08b1 +00a776a0 00a84e50 +00a776a0 EXTERNAL:000001b6 +00a776a0 EXTERNAL:00000220 +00a776a0 00aef15c +00a776a0 EXTERNAL:0000023c +00a776a0 00a70020 +00a776a0 00aef12b +00a776a0 00a28360 +00a776a0 00a84970 00a776a0 00af05df 00a776a0 EXTERNAL:00000221 -00a776a0 EXTERNAL:0000023c -00a776a0 00a84e50 -00a776a0 0040ccc0 -00a776a0 00a28360 -00a776a0 00a6f770 -00a776a0 00af08b1 -00a776a0 EXTERNAL:000001b6 -00a776a0 00a70020 -00a776a0 00aef15c -00a776a0 00aef12b +00a776a0 00a2a0b0 +00a776a0 00af08bd 00a776a0 EXTERNAL:000001bc -00a776a0 EXTERNAL:00000220 +00a776a0 00a6f770 +00a776a0 0040ccc0 00a776a0 00a288a0 -00a776a0 00a84970 -00a77a90 00415bd0 -00a77a90 004170d0 +00a776a0 0040cf00 00a77a90 00a0f4c0 00a77a90 0040cc10 +00a77a90 00415bd0 00a77a90 00731ee0 -00a77bf0 00a15770 +00a77a90 004170d0 00a77bf0 00a0f4c0 +00a77bf0 00a15770 00a77d60 00aef15c 00a77d60 00a77dd0 00a77d90 00aef15c 00a77d90 00a79c60 -00a77db0 00aef15c 00a77db0 00a79d10 +00a77db0 00aef15c +00a77dd0 00a79d10 00a77dd0 00a78940 00a77dd0 00aef15c -00a77dd0 00a79c60 00a77dd0 EXTERNAL:00000103 +00a77dd0 00a79c60 00a77dd0 00a799d0 -00a77dd0 00a79d10 00a77f70 008ef1d0 -00a77f70 00aef15c -00a77f70 00a79720 -00a77f70 00414a80 -00a77f70 00a79c60 00a77f70 00a78770 -00a78160 00a112c0 -00a78160 00a2a690 -00a78160 00a59f30 -00a78160 00a59850 -00a78160 00a79480 -00a78160 00a0f4c0 -00a78160 00aefcf0 +00a77f70 00aef15c +00a77f70 00414a80 +00a77f70 00a79720 +00a77f70 00a79c60 00a78160 00af0911 -00a78370 00a112c0 +00a78160 00a0f4c0 +00a78160 00a79480 +00a78160 00a112c0 +00a78160 00aefcf0 +00a78160 00a59850 +00a78160 00a59f30 +00a78160 00a2a690 00a78370 008ef1d0 00a78370 00a79650 +00a78370 00a112c0 00a78370 00a791d0 -00a78370 00a595a0 00a78370 00a5a2f0 -00a78370 00a59850 00a78370 00a584d0 +00a78370 00a59850 +00a78370 00a595a0 00a785c0 008ef1d0 -00a785c0 00aef15c -00a785c0 00a79720 00a785c0 00a29740 +00a785c0 00aef15c 00a785c0 00414a80 +00a785c0 00a79720 00a785c0 00a79c60 -00a78770 00a112c0 -00a78770 00aef15c -00a78770 00a793c0 -00a78770 00a59850 00a78770 009145f0 00a78770 00a0f4c0 -00a78770 00731790 +00a78770 00aef15c +00a78770 00a112c0 00a78770 008fd7a0 +00a78770 00a793c0 00a78770 00731ee0 +00a78770 00731790 +00a78770 00a59850 00a78940 00414a80 00a78940 00a59be0 00a78940 00a799d0 00a78a10 008ef1d0 -00a78a10 00a59200 -00a78a10 00a2a460 -00a78a10 00a2a510 -00a78a10 00a590c0 -00a78a10 00a59850 -00a78a10 009145f0 00a78a10 00a0f4c0 -00a78a10 00a59d50 +00a78a10 00a79360 00a78a10 00a58cb0 00a78a10 00731ee0 +00a78a10 00a59850 +00a78a10 00a59d50 +00a78a10 009145f0 +00a78a10 00a59200 +00a78a10 00a2a510 00a78a10 EXTERNAL:000001d7 -00a78a10 00a79360 +00a78a10 00a590c0 +00a78a10 00a2a460 00a78a10 00a2a690 -00a78e10 00a112c0 -00a78e10 00aef15c -00a78e10 00a79360 -00a78e10 008ef1d0 -00a78e10 00a79650 -00a78e10 00a282c0 00a78e10 EXTERNAL:00000220 -00a78e10 00a791d0 -00a78e10 00a73100 -00a78e10 EXTERNAL:0000022d +00a78e10 008ef1d0 +00a78e10 00a282c0 +00a78e10 00aef15c +00a78e10 00a79650 00a78e10 004267f0 +00a78e10 00a73100 +00a78e10 00a112c0 +00a78e10 EXTERNAL:0000022d +00a78e10 00a79360 +00a78e10 00a791d0 00a790b0 00a112c0 00a790b0 00a79360 -00a790b0 00a2a460 00a790b0 00731ee0 +00a790b0 00a2a460 00a79180 00a78940 00a79180 00a79c60 00a791d0 00a112c0 00a791d0 00731ee0 -00a79280 00a112c0 00a79280 008ef1d0 00a79280 00a794a0 +00a79280 00a112c0 00a793c0 00aef15c 00a79460 00aef15c 00a79460 00a799d0 00a79480 00a79a60 -00a794a0 00aef15c -00a794a0 00414a80 00a794a0 00415d20 00a794a0 00a79d10 -00a79650 00415bd0 -00a79650 004170d0 +00a794a0 00aef15c +00a794a0 00414a80 00a79650 00a0f4c0 +00a79650 00415bd0 00a79650 00731ee0 +00a79650 004170d0 00a79720 00a79df0 00a79720 00a0f4c0 00a79800 00aef15c 00a79800 00414a80 -00a79800 00828180 00a79800 00a79c60 +00a79800 00828180 00a799d0 00aef15c +00a79a60 00415f80 +00a79a60 00a0f4c0 00a79a60 00415fe0 00a79a60 004170d0 -00a79a60 00a0f4c0 -00a79a60 00415f80 00a79c60 00aef15c 00a79c60 00a79c60 -00a79d10 00aef15c 00a79d10 00a79d10 +00a79d10 00aef15c 00a79dc0 00aef15c 00a79dc0 00a79c60 -00a79df0 00a79360 00a79df0 00a79df0 00a79df0 00a0f4c0 +00a79df0 00a79360 00a79ecf 00424530 -00a79ecf 00a79c60 00a79ecf 00af05eb -00a79f40 EXTERNAL:0000021c +00a79ecf 00a79c60 00a79f40 00a79ef0 +00a79f40 EXTERNAL:0000021c 00a79ff0 EXTERNAL:0000021c 00a7a360 00af08bd 00a7a360 00a79ff0 00a7a4a0 00af05e5 -00a7a510 00a648b0 -00a7a510 EXTERNAL:00000263 -00a7a510 00af05e5 -00a7a510 00a17180 -00a7a510 00a7aa70 -00a7a510 00a0f4c0 -00a7a510 00a17f40 -00a7a510 00a112c0 -00a7a510 00a523e0 -00a7a510 00a79f40 -00a7a510 00a7b4c0 -00a7a510 00a52540 00a7a510 00a7af50 +00a7a510 00a0f4c0 +00a7a510 00af05e5 +00a7a510 00a7aa70 +00a7a510 00a17180 +00a7a510 00a79f40 +00a7a510 00a17f40 +00a7a510 00a52540 +00a7a510 00a648b0 +00a7a510 00a112c0 +00a7a510 EXTERNAL:00000263 +00a7a510 00a7b4c0 +00a7a510 00a523e0 00a7aa70 00af05e5 00a7aa70 EXTERNAL:00000262 -00a7ab90 00af05e5 -00a7ab90 004e4690 00a7ab90 00a7b180 00a7ab90 00a7b200 -00a7af50 00a582e0 +00a7ab90 00af05e5 +00a7ab90 004e4690 +00a7af50 EXTERNAL:00000220 00a7af50 00aef15c 00a7af50 00af05e5 -00a7af50 EXTERNAL:00000220 -00a7af50 00a57db0 +00a7af50 00a582e0 00a7af50 00a57fc0 +00a7af50 00a57db0 00a7b180 004e4690 00a7b200 00af05e5 -00a7b200 00a7b140 00a7b200 00a79f40 +00a7b200 00a7b140 00a7b200 00a7a360 00a7b5a0 00a7b3f0 00a7b5c0 00a7b3f0 -00a7b5e0 00aef15c -00a7b5e0 00a9fe40 00a7b5e0 00752710 +00a7b5e0 00aef15c 00a7b5e0 00a9f980 -00a7b6a0 00a648b0 -00a7b6a0 EXTERNAL:00000263 -00a7b6a0 00a17180 -00a7b6a0 00a230b0 +00a7b5e0 00a9fe40 00a7b6a0 00a7b940 00a7b6a0 00a0f4c0 -00a7b6a0 00a17f40 -00a7b6a0 00a112c0 +00a7b6a0 00a17180 00a7b6a0 00aef12b -00a7b6a0 00a523e0 00a7b6a0 00a9f630 +00a7b6a0 00a17f40 00a7b6a0 00a52540 +00a7b6a0 00a648b0 +00a7b6a0 00a112c0 +00a7b6a0 EXTERNAL:00000263 +00a7b6a0 00a230b0 00a7b6a0 00a23200 +00a7b6a0 00a523e0 00a7b8d0 00a9f870 00a7b900 00a9f980 00a7b940 00a0f4c0 00a7b940 0040cc10 00a7b9e0 00aef15c -00a7ba40 00aef638 -00a7ba40 00aef15c -00a7ba40 00a9fe40 -00a7ba40 00a2ba90 00a7ba40 00aa03e0 00a7ba40 00752710 +00a7ba40 00aef15c 00a7ba40 00a9fde0 -00a7bb40 00a17f40 +00a7ba40 00aef638 +00a7ba40 00a2ba90 +00a7ba40 00a9fe40 +00a7bb40 00a0f4c0 +00a7bb40 00a52540 00a7bb40 00a648b0 -00a7bb40 00a523e0 00a7bb40 00a17180 00a7bb40 00a9f630 -00a7bb40 00a52540 +00a7bb40 00a17f40 00a7bb40 00aa02b0 -00a7bb40 00a0f4c0 -00a7bcd0 00aef15c -00a7bcd0 00a9fe40 +00a7bb40 00a523e0 00a7bcd0 00752710 +00a7bcd0 00aef15c 00a7bcd0 00a9f980 -00a7bd80 00a648b0 -00a7bd80 EXTERNAL:00000263 -00a7bd80 00af05df -00a7bd80 00a17180 -00a7bd80 00a230b0 +00a7bcd0 00a9fe40 00a7bd80 00a7b940 -00a7bd80 00aa78e0 -00a7bd80 00aa7fb0 00a7bd80 00a0f4c0 -00a7bd80 00a0f4e0 +00a7bd80 00aa7fb0 +00a7bd80 00aa7340 +00a7bd80 00a17180 +00a7bd80 00a17f40 00a7bd80 00a23160 00a7bd80 EXTERNAL:00000262 -00a7bd80 00a17f40 -00a7bd80 00a112c0 -00a7bd80 00a523e0 -00a7bd80 00aa7340 00a7bd80 00a52540 +00a7bd80 00a648b0 +00a7bd80 00af05df +00a7bd80 00a112c0 +00a7bd80 EXTERNAL:00000263 +00a7bd80 00a230b0 +00a7bd80 00a0f4e0 00a7bd80 00a23200 +00a7bd80 00aa78e0 +00a7bd80 00a523e0 00a7c160 00a9f870 -00a7c1b0 00aef15c -00a7c1b0 00aef638 -00a7c1b0 00a9fe40 -00a7c1b0 00a2ba90 00a7c1b0 0040d040 00a7c1b0 00752710 -00a7c1b0 00a7c9a0 +00a7c1b0 00aef15c 00a7c1b0 00a9fde0 +00a7c1b0 00aef638 00a7c1b0 EXTERNAL:00000103 -00a7c2c0 00aa1590 +00a7c1b0 00a2ba90 +00a7c1b0 00a9fe40 +00a7c1b0 00a7c9a0 00a7c2c0 00aa7fb0 +00a7c2c0 00aa1590 00a7c2c0 00aa50a0 +00a7c3d0 00aa7770 00a7c3d0 00a112c0 00a7c3d0 EXTERNAL:00000263 -00a7c3d0 00aa7770 00a7c3d0 00a23200 00a7c490 00a112c0 -00a7c5e0 00a17f40 -00a7c5e0 0040ccd0 -00a7c5e0 00a648b0 -00a7c5e0 00a523e0 -00a7c5e0 00a17180 -00a7c5e0 00a52540 -00a7c5e0 00aa02b0 -00a7c5e0 00a0f4c0 00a7c5e0 00a7c3d0 -00a7c760 00a17f40 -00a7c760 00a648b0 -00a7c760 EXTERNAL:00000263 -00a7c760 00aef15c -00a7c760 00a523e0 -00a7c760 007530f0 -00a7c760 00a5a7a0 -00a7c760 00a17180 -00a7c760 00a52540 -00a7c760 00a0f4c0 +00a7c5e0 00a0f4c0 +00a7c5e0 00a52540 +00a7c5e0 00a648b0 +00a7c5e0 0040ccd0 +00a7c5e0 00a17180 +00a7c5e0 00a17f40 +00a7c5e0 00aa02b0 +00a7c5e0 00a523e0 00a7c760 00a7c3d0 +00a7c760 00a5a7a0 +00a7c760 00a0f4c0 +00a7c760 00a52540 +00a7c760 00a648b0 +00a7c760 00aef15c +00a7c760 EXTERNAL:00000263 +00a7c760 00a17180 +00a7c760 007530f0 +00a7c760 00a17f40 00a7c760 00a23200 +00a7c760 00a523e0 +00a7c9a0 00aa03e0 00a7c9a0 00a648b0 00a7c9a0 00aef15c -00a7c9a0 00aa03e0 00a7cab0 00428590 -00a7cab0 00a2b050 00a7cab0 EXTERNAL:0000006e -00a7cbb0 00aef15c -00a7cbb0 00a9fe40 +00a7cab0 00a2b050 00a7cbb0 00752710 +00a7cbb0 00aef15c 00a7cbb0 00a9f980 +00a7cbb0 00a9fe40 +00a7cc60 00a7b940 +00a7cc60 00a0f4c0 +00a7cc60 00a9f760 00a7cc60 00af05df +00a7cc60 00af05e5 +00a7cc60 00a7a510 +00a7cc60 00a7ab90 +00a7cc60 00a7aa70 00a7cc60 00aef12b 00a7cc60 00aeff60 -00a7cc60 00a7a510 -00a7cc60 00af05e5 -00a7cc60 00a7b940 -00a7cc60 00a9f760 -00a7cc60 00a7aa70 -00a7cc60 00a0f4c0 -00a7cc60 00a7ab90 00a7cdd0 00a112c0 -00a7ce00 00aef638 -00a7ce00 00aef15c -00a7ce00 00a9fe40 -00a7ce00 00a2ba90 -00a7ce00 00a7aa70 00a7ce00 00aa03e0 00a7ce00 00752710 +00a7ce00 00aef15c 00a7ce00 00a9fde0 +00a7ce00 00a7aa70 +00a7ce00 00aef638 +00a7ce00 00a2ba90 +00a7ce00 00a9fe40 00a7cef0 00af05df -00a7cef0 00a7b4c0 00a7cef0 00a7ab90 +00a7cef0 00a7b4c0 00a7cfd0 00a7a510 00a7cfd0 00aa02b0 -00a7d000 00a7aa70 00a7d000 00aa03e0 -00a7d040 00aef15c +00a7d000 00a7aa70 00a7d040 00752710 -00a7d070 007530f0 +00a7d040 00aef15c 00a7d070 00a0f4c0 +00a7d070 007530f0 00a7d160 00a648b0 00a7d160 00aef15c 00a7d160 EXTERNAL:00000262 00a7d260 00aef15c -00a7d260 00a5a4c0 00a7d260 00a2af30 -00a7d2a0 00a112c0 -00a7d2a0 00aef12b -00a7d2a0 EXTERNAL:0000007b -00a7d2a0 EXTERNAL:0000007c -00a7d2a0 EXTERNAL:0000007a +00a7d260 00a5a4c0 +00a7d2a0 EXTERNAL:00000075 +00a7d2a0 EXTERNAL:0000006b 00a7d2a0 EXTERNAL:0000006a 00a7d2a0 EXTERNAL:000000f6 +00a7d2a0 EXTERNAL:0000007b +00a7d2a0 EXTERNAL:0000007a +00a7d2a0 00a112c0 +00a7d2a0 00aef12b +00a7d2a0 EXTERNAL:0000007c 00a7d2a0 00a0f4e0 -00a7d2a0 EXTERNAL:0000006b 00a7d2a0 EXTERNAL:000000ee -00a7d2a0 EXTERNAL:00000075 00a7d550 00a2bcb0 -00a7d550 00a112c0 00a7d550 EXTERNAL:0000007a +00a7d550 00a112c0 00a7d550 EXTERNAL:00000066 00a7d550 EXTERNAL:00000074 -00a7d550 EXTERNAL:00000262 00a7d550 EXTERNAL:00000076 -00a7d690 00a112c0 +00a7d550 EXTERNAL:00000262 00a7d690 EXTERNAL:0000007a +00a7d690 00a112c0 00a7d690 EXTERNAL:00000066 -00a7d710 00a112c0 00a7d710 EXTERNAL:0000007a +00a7d710 00a112c0 00a7d710 EXTERNAL:00000066 -00a7d790 00a112c0 -00a7d790 00aef15c +00a7d790 00415d20 00a7d790 EXTERNAL:00000073 00a7d790 00a12280 -00a7d790 00414a80 -00a7d790 00415d20 +00a7d790 00aef15c +00a7d790 00a112c0 00a7d790 EXTERNAL:00000070 -00a7d8e0 00a112c0 -00a7d8e0 EXTERNAL:00000065 -00a7d8e0 EXTERNAL:00000066 +00a7d790 00414a80 00a7d8e0 EXTERNAL:00000064 -00a7d960 00a112c0 +00a7d8e0 EXTERNAL:00000065 +00a7d8e0 00a112c0 +00a7d8e0 EXTERNAL:00000066 00a7d960 EXTERNAL:00000073 00a7d960 EXTERNAL:00000068 -00a7d960 EXTERNAL:00000066 +00a7d960 00a112c0 00a7d960 EXTERNAL:00000070 -00a7da40 EXTERNAL:00000063 +00a7d960 EXTERNAL:00000066 00a7da40 00af05e5 00a7da40 EXTERNAL:00000062 +00a7da40 EXTERNAL:00000063 00a7da80 EXTERNAL:0000011c 00a7dac0 00aef15c -00a7dac0 00a5a4c0 00a7dac0 00a2af30 -00a7db00 00aef15c +00a7dac0 00a5a4c0 00a7db00 00a516c0 +00a7db00 00aef15c 00a7db30 EXTERNAL:00000009 -00a7db80 00a112c0 00a7db80 EXTERNAL:00000009 00a7db80 00a51d10 +00a7db80 00a112c0 00a7df10 00aef5c4 00a7df10 EXTERNAL:00000009 00a7df10 00a23ae0 -00a7df10 00a23610 00a7df10 00af05e5 -00a7df10 00a51dc0 +00a7df10 00a23610 00a7df10 00a0f4e0 +00a7df10 00a51dc0 00a7df10 EXTERNAL:00000262 -00a7e120 EXTERNAL:00000263 00a7e120 EXTERNAL:00000009 00a7e120 EXTERNAL:0000022f +00a7e120 EXTERNAL:00000263 00a7e120 00a51dc0 00a7e120 00a0f4e0 00a7e120 00a23200 @@ -59915,51 +59915,51 @@ 00a7e3b0 EXTERNAL:00000008 00a7e400 EXTERNAL:00000230 00a7e440 00aef15c -00a7e440 00a7f0a0 00a7e440 00a57690 -00a7e490 00aef15c -00a7e490 00a23df0 +00a7e440 00a7f0a0 00a7e490 00a7f010 +00a7e490 00a23df0 00a7e490 00a23bb0 -00a7e490 00416440 +00a7e490 00aef15c 00a7e490 00a23d40 +00a7e490 00416440 00a7e600 00a23df0 00a7e600 00a23bb0 -00a7e600 00416440 00a7e600 00a23d40 -00a7e6e0 EXTERNAL:00000263 -00a7e6e0 EXTERNAL:0000005a -00a7e6e0 00a23c50 -00a7e6e0 EXTERNAL:0000003f -00a7e6e0 EXTERNAL:0000001f -00a7e6e0 00a575c0 -00a7e6e0 EXTERNAL:0000001d -00a7e6e0 EXTERNAL:0000003d -00a7e6e0 00a112c0 -00a7e6e0 EXTERNAL:00000015 -00a7e6e0 00a6f680 -00a7e6e0 00a57a10 +00a7e600 00416440 00a7e6e0 EXTERNAL:0000003e -00a7e6e0 EXTERNAL:00000022 +00a7e6e0 EXTERNAL:0000001d 00a7e6e0 EXTERNAL:00000019 +00a7e6e0 00a57a10 +00a7e6e0 EXTERNAL:0000003d +00a7e6e0 00a6f680 +00a7e6e0 EXTERNAL:0000003f +00a7e6e0 EXTERNAL:0000005a +00a7e6e0 EXTERNAL:0000001f +00a7e6e0 00a23c50 +00a7e6e0 00a112c0 +00a7e6e0 EXTERNAL:00000263 +00a7e6e0 EXTERNAL:00000022 +00a7e6e0 00a575c0 +00a7e6e0 EXTERNAL:00000015 00a7e6e0 00a23200 -00a7e9d0 00a112c0 -00a7e9d0 EXTERNAL:00000015 -00a7e9d0 00a23df0 -00a7e9d0 00a7f0a0 00a7e9d0 00a0f4c0 00a7e9d0 EXTERNAL:00000057 -00a7e9d0 EXTERNAL:00000058 +00a7e9d0 00a23df0 +00a7e9d0 00a112c0 00a7e9d0 EXTERNAL:00000048 +00a7e9d0 00a7f0a0 00a7e9d0 EXTERNAL:000001d7 -00a7e9d0 EXTERNAL:00000059 00a7e9d0 00a70020 -00a7f010 00a23df0 +00a7e9d0 EXTERNAL:00000059 +00a7e9d0 EXTERNAL:00000015 +00a7e9d0 EXTERNAL:00000058 00a7f010 00a0f4c0 +00a7f010 00a23df0 00a7f010 EXTERNAL:000001d7 00a7f0a0 00aef15c -00a7f130 00aef15c 00a7f130 EXTERNAL:00000102 +00a7f130 00aef15c 00a7f130 EXTERNAL:0000011c 00a7f130 EXTERNAL:00000100 00a7f1ca EXTERNAL:00000211 @@ -59967,200 +59967,200 @@ 00a7f1e0 EXTERNAL:0000011c 00a7f1e0 EXTERNAL:00000100 00a7f230 EXTERNAL:00000100 -00a7f250 00aef12b -00a7f250 00af05e5 -00a7f250 00a69f60 -00a7f250 EXTERNAL:00000115 00a7f250 EXTERNAL:000000e8 +00a7f250 EXTERNAL:00000115 +00a7f250 00af05e5 00a7f250 EXTERNAL:00000122 -00a7f340 00aef12b -00a7f340 EXTERNAL:00000194 -00a7f340 00af05e5 +00a7f250 00a69f60 +00a7f250 00aef12b 00a7f340 00a80c70 -00a7f340 00a69f60 +00a7f340 00af05e5 00a7f340 00a7f250 +00a7f340 00a69f60 +00a7f340 00aef12b 00a7f340 00a6b3c0 -00a7fa50 EXTERNAL:0000021c -00a7fa50 00a80c70 +00a7f340 EXTERNAL:00000194 00a7fa50 EXTERNAL:000000e6 -00a7fb00 EXTERNAL:0000019c +00a7fa50 00a80c70 +00a7fa50 EXTERNAL:0000021c 00a7fb00 00a80ef0 -00a7fb80 EXTERNAL:0000021c -00a7fb80 EXTERNAL:000000fc +00a7fb00 EXTERNAL:0000019c 00a7fb80 00a80ef0 +00a7fb80 EXTERNAL:000000fc +00a7fb80 EXTERNAL:0000021c 00a7fc40 00a6bb40 00a7fc80 EXTERNAL:00000112 -00a7fce0 00aef12b -00a7fce0 EXTERNAL:00000112 -00a7fce0 00a7fc40 -00a7fce0 EXTERNAL:00000195 00a7fce0 00a80c70 +00a7fce0 00a7fc40 00a7fce0 EXTERNAL:00000113 -00a7fce0 EXTERNAL:0000017f +00a7fce0 EXTERNAL:00000112 00a7fce0 EXTERNAL:0000019b -00a80010 00aef12b -00a80010 EXTERNAL:00000194 +00a7fce0 00aef12b +00a7fce0 EXTERNAL:0000017f +00a7fce0 EXTERNAL:00000195 00a80010 00a80c70 +00a80010 EXTERNAL:00000115 +00a80010 EXTERNAL:0000019b +00a80010 00a69f60 +00a80010 00aef12b +00a80010 EXTERNAL:0000017f 00a80010 EXTERNAL:0000021c 00a80010 00a7f340 -00a80010 00a69f60 -00a80010 EXTERNAL:0000017f -00a80010 EXTERNAL:0000019b -00a80010 EXTERNAL:00000115 -00a80530 00aef12b -00a80530 EXTERNAL:00000112 +00a80010 EXTERNAL:00000194 00a80530 00a80c70 00a80530 EXTERNAL:00000113 +00a80530 EXTERNAL:00000112 +00a80530 00aef12b 00a80530 EXTERNAL:000000e9 00a80770 00af05e5 00a80a40 00aa8a00 -00a80a40 00a81980 -00a80a40 00aa8d90 00a80a40 EXTERNAL:0000014b +00a80a40 00aa8d90 +00a80a40 00a81980 00a80ae0 EXTERNAL:00000120 -00a80ae0 00af05e5 00a80ae0 00a80c70 +00a80ae0 00af05e5 00a80ae0 00a69f60 -00a80bb0 00af05e5 00a80bb0 00a80c70 -00a80bb0 00a69f60 +00a80bb0 00af05e5 00a80bb0 EXTERNAL:00000122 -00a80c70 00aef12b -00a80c70 00af05e5 -00a80c70 00a69f60 -00a80c70 EXTERNAL:00000115 +00a80bb0 00a69f60 00a80c70 EXTERNAL:000000e8 +00a80c70 EXTERNAL:00000115 +00a80c70 00af05e5 00a80c70 EXTERNAL:00000122 -00a80d30 00aef12b -00a80d30 00af05e5 +00a80c70 00a69f60 +00a80c70 00aef12b 00a80d30 EXTERNAL:0000017c 00a80d30 EXTERNAL:0000012a +00a80d30 00af05e5 00a80d30 EXTERNAL:00000122 -00a80ef0 00aef12b +00a80d30 00aef12b 00a80ef0 00af05e5 +00a80ef0 00aef12b 00a80ef0 EXTERNAL:000000e7 -00a80fb0 00aef12b 00a80fb0 00af05e5 +00a80fb0 00aef12b 00a80fb0 EXTERNAL:000000e7 -00a812f0 00a80770 -00a812f0 EXTERNAL:00000132 +00a812f0 EXTERNAL:0000018e +00a812f0 00a80c70 00a812f0 00a80530 00a812f0 00a80fb0 00a812f0 00af05e5 -00a812f0 00a81980 -00a812f0 00a80ef0 +00a812f0 EXTERNAL:0000018b 00a812f0 00aef12b 00a812f0 EXTERNAL:0000012b -00a812f0 EXTERNAL:00000158 -00a812f0 EXTERNAL:0000018e -00a812f0 00a80d30 -00a812f0 00a80c70 -00a812f0 EXTERNAL:00000189 -00a812f0 EXTERNAL:0000018b +00a812f0 00a81980 +00a812f0 00a80ef0 00a812f0 EXTERNAL:00000183 -00a81630 00aef12b +00a812f0 EXTERNAL:00000132 +00a812f0 00a80770 +00a812f0 EXTERNAL:00000158 +00a812f0 00a80d30 +00a812f0 EXTERNAL:00000189 00a81630 00af05e5 +00a81630 00aef12b 00a81630 EXTERNAL:00000140 +00a816f0 EXTERNAL:00000193 +00a816f0 00a6c190 +00a816f0 00a80ef0 00a816f0 00a80bb0 +00a816f0 00af05e5 +00a816f0 EXTERNAL:00000122 +00a816f0 EXTERNAL:00000130 00a816f0 00aef12b 00a816f0 EXTERNAL:0000019d -00a816f0 EXTERNAL:00000130 -00a816f0 00af05e5 -00a816f0 EXTERNAL:0000012d -00a816f0 EXTERNAL:00000193 00a816f0 EXTERNAL:00000191 -00a816f0 EXTERNAL:00000122 -00a816f0 00a80ef0 -00a816f0 00a6c190 +00a816f0 EXTERNAL:0000012d 00a81980 00af05df -00a81980 00aef12b -00a81980 EXTERNAL:00000130 -00a81980 00a6beb0 -00a81980 00af05e5 00a81980 EXTERNAL:0000012e +00a81980 00af05e5 00a81980 00a69f60 +00a81980 EXTERNAL:00000130 00a81980 00a816f0 -00a81cd0 EXTERNAL:00000131 -00a81cd0 00aef12b -00a81cd0 00a82500 +00a81980 00a6beb0 +00a81980 00aef12b 00a81cd0 00a6bdc0 -00a81cd0 00af05e5 -00a81cd0 00a69f60 00a81cd0 00a6be30 -00a81f70 00aef12b +00a81cd0 00af05e5 +00a81cd0 00a82500 +00a81cd0 00a69f60 +00a81cd0 00aef12b +00a81cd0 EXTERNAL:00000131 00a81f70 00af05e5 00a81f70 EXTERNAL:0000012f -00a82000 EXTERNAL:00000168 +00a81f70 00aef12b 00a82000 EXTERNAL:00000193 +00a82000 EXTERNAL:00000168 +00a82000 00a80ef0 00a82000 00a69f60 00a82000 EXTERNAL:0000017f -00a82000 00a80ef0 00a820f0 00aef12b 00a820f0 EXTERNAL:00000140 -00a82190 EXTERNAL:00000131 -00a82190 00aef12b -00a82190 00a82500 00a82190 00af05e5 -00a82190 EXTERNAL:0000012d 00a82190 00a69f60 -00a82500 00aef12b +00a82190 00a82500 +00a82190 00aef12b +00a82190 EXTERNAL:0000012d +00a82190 EXTERNAL:00000131 00a82500 00af05e5 -00a82500 EXTERNAL:0000012d 00a82500 00a69f60 -00a82600 EXTERNAL:0000019d -00a82600 00aef12b -00a82600 EXTERNAL:00000191 +00a82500 00aef12b +00a82500 EXTERNAL:0000012d 00a82600 EXTERNAL:00000192 00a82600 00a6c200 -00a826a0 00aef12b -00a826a0 EXTERNAL:0000019d +00a82600 EXTERNAL:0000019d +00a82600 EXTERNAL:00000191 +00a82600 00aef12b 00a826a0 EXTERNAL:00000196 00a826a0 00a69f60 +00a826a0 00aef12b +00a826a0 EXTERNAL:0000019d 00a826a0 EXTERNAL:00000191 -00a82800 00a69ef0 00a82800 00a69f60 +00a82800 00a69ef0 00a82800 00a6b3c0 +00a82ad0 EXTERNAL:000000e6 +00a82ad0 00a69f60 00a82ad0 00a82750 00a82ad0 EXTERNAL:0000021c -00a82ad0 00a69f60 -00a82ad0 EXTERNAL:000000e6 -00a82b90 EXTERNAL:0000021c -00a82b90 00a69f60 00a82b90 EXTERNAL:000000fc +00a82b90 00a69f60 +00a82b90 EXTERNAL:0000021c 00a82c10 00a6bb40 +00a82c50 EXTERNAL:000000fc 00a82c50 EXTERNAL:00000112 00a82c50 EXTERNAL:0000021c -00a82c50 EXTERNAL:000000fc 00a82cc0 EXTERNAL:00000107 -00a82d40 EXTERNAL:00000112 -00a82d40 00a82750 -00a82d40 00aef12b 00a82d40 EXTERNAL:00000107 00a82d40 00a83250 -00a82d40 00a69f60 -00a82d40 EXTERNAL:00000113 00a82d40 00a82c10 -00a82d40 00a6bb40 +00a82d40 EXTERNAL:00000113 00a82d40 EXTERNAL:0000022d +00a82d40 EXTERNAL:00000112 +00a82d40 00a69f60 +00a82d40 00a82750 +00a82d40 00aef12b +00a82d40 00a6bb40 00a83250 EXTERNAL:00000107 +00a83290 EXTERNAL:0000022d +00a83290 EXTERNAL:00000113 +00a83290 00a69f60 00a83290 00aef12b 00a83290 00a82750 -00a83290 EXTERNAL:0000021c 00a83290 00a82800 -00a83290 00a69f60 -00a83290 EXTERNAL:00000113 -00a83290 EXTERNAL:0000022d -00a839e0 00af05e5 -00a839e0 EXTERNAL:0000021c -00a839e0 00a69f60 +00a83290 EXTERNAL:0000021c 00a839e0 EXTERNAL:000000e6 -00a83b90 00aef12b -00a83b90 EXTERNAL:00000112 +00a839e0 00af05e5 +00a839e0 00a69f60 +00a839e0 EXTERNAL:0000021c 00a83b90 EXTERNAL:00000107 -00a83b90 00a69f60 00a83b90 EXTERNAL:00000113 -00a83d20 00aef12b +00a83b90 EXTERNAL:00000112 +00a83b90 00a69f60 +00a83b90 00aef12b 00a83d20 00a69f60 +00a83d20 00aef12b 00a83fa0 00aef15c 00a83fa0 00a52410 00a83fd0 EXTERNAL:00000245 @@ -60173,111 +60173,111 @@ 00a840f0 EXTERNAL:00000263 00a840f0 00a23200 00a84190 00a71c40 -00a84190 EXTERNAL:00000031 00a84190 00a5ffa0 -00a841c0 00a23df0 +00a84190 EXTERNAL:00000031 00a841c0 00a84900 -00a841c0 EXTERNAL:00000053 -00a841c0 EXTERNAL:00000054 00a841c0 00a0f4c0 00a841c0 0040cc10 +00a841c0 00a23df0 00a841c0 004267f0 00a841c0 00a70020 +00a841c0 EXTERNAL:00000053 +00a841c0 EXTERNAL:00000054 00a84460 00a84900 -00a84460 EXTERNAL:00000052 00a84460 00a232c0 +00a84460 EXTERNAL:00000052 00a844b0 00a84b90 00a844d0 00a84cf0 00a844f0 00a84e50 00a84520 00a84f50 -00a84550 00a112c0 00a84550 EXTERNAL:00000011 -00a84550 EXTERNAL:00000015 -00a84550 EXTERNAL:0000003a 00a84550 EXTERNAL:00000010 00a84550 EXTERNAL:00000051 -00a84550 EXTERNAL:00000019 -00a84550 EXTERNAL:0000000c +00a84550 00a112c0 00a84550 EXTERNAL:000001f4 +00a84550 EXTERNAL:00000015 +00a84550 EXTERNAL:0000000c +00a84550 EXTERNAL:00000019 +00a84550 EXTERNAL:0000003a +00a84680 EXTERNAL:00000050 +00a84680 EXTERNAL:00000051 00a84680 00a112c0 00a84680 EXTERNAL:00000015 -00a84680 EXTERNAL:0000003a -00a84680 EXTERNAL:00000051 00a84680 EXTERNAL:00000019 -00a84680 EXTERNAL:00000050 -00a84750 00a112c0 -00a84750 EXTERNAL:00000015 -00a84750 EXTERNAL:00000030 -00a84750 EXTERNAL:00000032 +00a84680 EXTERNAL:0000003a 00a84750 00a84900 -00a847e0 00a112c0 -00a847e0 EXTERNAL:00000015 -00a847e0 EXTERNAL:0000003a -00a847e0 EXTERNAL:00000039 +00a84750 EXTERNAL:00000032 +00a84750 00a112c0 +00a84750 EXTERNAL:00000030 +00a84750 EXTERNAL:00000015 00a847e0 EXTERNAL:00000010 00a847e0 EXTERNAL:00000051 +00a847e0 00a112c0 +00a847e0 EXTERNAL:00000039 +00a847e0 EXTERNAL:00000015 00a847e0 EXTERNAL:00000019 +00a847e0 EXTERNAL:0000003a 00a84900 EXTERNAL:0000000f 00a84900 00a112c0 00a84900 EXTERNAL:00000015 00a84900 EXTERNAL:00000019 -00a84970 00aef15c 00a84970 EXTERNAL:00000220 -00a84970 00a71e10 +00a84970 00aef15c 00a84970 EXTERNAL:00000031 +00a84970 00a71e10 00a84970 EXTERNAL:00000262 -00a84a90 EXTERNAL:0000022f -00a84a90 00a15a30 -00a84a90 00a0f4e0 00a84a90 00a84970 00a84a90 00af08b1 +00a84a90 00a15a30 +00a84a90 EXTERNAL:0000022f +00a84a90 00a0f4e0 00a84b60 00a112c0 00a84b60 EXTERNAL:00000015 -00a84b90 00a112c0 -00a84b90 EXTERNAL:00000015 -00a84b90 EXTERNAL:0000003a -00a84b90 EXTERNAL:0000000d +00a84b90 EXTERNAL:0000000e 00a84b90 EXTERNAL:00000010 00a84b90 EXTERNAL:00000051 -00a84b90 EXTERNAL:00000019 +00a84b90 00a112c0 +00a84b90 EXTERNAL:0000000d 00a84b90 EXTERNAL:000001f4 -00a84b90 EXTERNAL:0000000e -00a84cf0 00a112c0 -00a84cf0 EXTERNAL:00000015 -00a84cf0 EXTERNAL:0000003a -00a84cf0 EXTERNAL:0000000d +00a84b90 EXTERNAL:00000015 +00a84b90 EXTERNAL:00000019 +00a84b90 EXTERNAL:0000003a +00a84cf0 EXTERNAL:0000000e 00a84cf0 EXTERNAL:00000010 00a84cf0 EXTERNAL:00000051 -00a84cf0 EXTERNAL:00000019 +00a84cf0 00a112c0 +00a84cf0 EXTERNAL:0000000d 00a84cf0 EXTERNAL:000001f4 -00a84cf0 EXTERNAL:0000000e -00a84e50 00a112c0 -00a84e50 EXTERNAL:00000015 -00a84e50 EXTERNAL:00000013 +00a84cf0 EXTERNAL:00000015 +00a84cf0 EXTERNAL:00000019 +00a84cf0 EXTERNAL:0000003a 00a84e50 00a84900 +00a84e50 EXTERNAL:00000013 +00a84e50 00a112c0 00a84e50 EXTERNAL:00000020 00a84e50 EXTERNAL:00000012 -00a84f50 00a112c0 -00a84f50 EXTERNAL:00000015 -00a84f50 EXTERNAL:00000013 +00a84e50 EXTERNAL:00000015 00a84f50 00a84900 +00a84f50 EXTERNAL:00000013 +00a84f50 00a112c0 00a84f50 EXTERNAL:00000020 +00a84f50 EXTERNAL:00000015 00a85140 00a112c0 00a85320 00a85020 -00a85320 00a112c0 00a85320 00a85090 +00a85320 00a112c0 00a85710 00af05df -00a85710 00aef12b 00a85710 00af05e5 +00a85710 00aef12b +00a87300 00af05e5 00a87300 00aef12b 00a87300 00aeff60 -00a87300 00af05e5 00a87970 00af05df -00a87970 00aef12b 00a87970 00af05e5 +00a87970 00aef86f +00a87970 00aef12b 00a87970 EXTERNAL:0000021c 00a87970 00a87300 -00a87970 00aef86f 00a88170 EXTERNAL:0000021c 00a88560 00af05e5 00a88560 00a88170 @@ -60294,292 +60294,292 @@ 00a890e0 EXTERNAL:0000021c 00a899e0 00af05df 00a89a60 00af05e5 -00a89ba0 EXTERNAL:00000263 00a89ba0 00aef15c +00a89ba0 EXTERNAL:00000263 00a89ba0 00aa93e0 00a89ba0 00a23200 00a89ba0 00a89a60 -00a89c90 EXTERNAL:00000263 00a89c90 00aef15c +00a89c90 EXTERNAL:00000263 00a89c90 00aa93e0 00a89c90 00a23200 00a89d70 00aa94a0 -00a89de0 00af05df -00a89de0 00a890e0 -00a89de0 00a88650 -00a89de0 00a899e0 -00a89de0 00a855a0 00a89de0 00a88bb0 00a89de0 00a89d70 +00a89de0 00af05df +00a89de0 00a890e0 +00a89de0 00a855a0 +00a89de0 00a88650 +00a89de0 00a899e0 +00a89f80 00a89d70 00a89f80 00af05df 00a89f80 00a85710 -00a89f80 00a89d70 00a8a010 0040cf00 00a8a070 0040cf50 -00a8a090 0040ccd0 -00a8a090 EXTERNAL:00000263 -00a8a090 0040cf00 -00a8a090 0040ccc0 -00a8a090 00a0f4c0 -00a8a090 00a61f00 00a8a090 00431070 -00a8a090 00adbec0 -00a8a090 00aef15c -00a8a090 00651b10 -00a8a090 00aef12b -00a8a090 00421680 -00a8a090 EXTERNAL:00000104 -00a8a090 00aaac60 00a8a090 EXTERNAL:00000220 +00a8a090 00a0f4c0 +00a8a090 0040ccd0 +00a8a090 00aef15c +00a8a090 00adbec0 +00a8a090 EXTERNAL:00000104 +00a8a090 00651b10 +00a8a090 00a61f00 +00a8a090 00aef12b +00a8a090 00aaac60 00a8a090 004997f0 -00a8a810 00aaae20 -00a8a810 00aef15c -00a8a810 EXTERNAL:00000114 -00a8a810 EXTERNAL:000000eb +00a8a090 EXTERNAL:00000263 +00a8a090 0040ccc0 +00a8a090 0040cf00 +00a8a090 00421680 00a8a810 00aaaf50 -00a8a810 EXTERNAL:00000103 00a8a810 00498f80 +00a8a810 EXTERNAL:000000eb +00a8a810 00aef15c 00a8a810 004149d0 +00a8a810 EXTERNAL:00000103 +00a8a810 00aaae20 00a8a810 EXTERNAL:00000100 +00a8a810 EXTERNAL:00000114 00a8a810 EXTERNAL:00000262 -00a8a970 00651b10 -00a8a970 00aef15c -00a8a970 00aef12b 00a8a970 00aaac60 00a8a970 EXTERNAL:00000220 -00a8a970 EXTERNAL:00000114 +00a8a970 00aef15c 00a8a970 EXTERNAL:000000eb +00a8a970 00651b10 00a8a970 00a61f00 +00a8a970 00aef12b +00a8a970 EXTERNAL:00000114 00a8a970 00a8b570 +00a8ab60 00431070 +00a8ab60 EXTERNAL:00000220 +00a8ab60 00aef15c +00a8ab60 00651b10 00a8ab60 00aaae20 00a8ab60 00a61f00 -00a8ab60 00431070 -00a8ab60 0040cae0 -00a8ab60 EXTERNAL:00000100 -00a8ab60 00651b10 -00a8ab60 00aef15c 00a8ab60 00aef12b +00a8ab60 EXTERNAL:00000100 00a8ab60 00aaac60 -00a8ab60 EXTERNAL:00000220 -00a8ab60 00428590 -00a8ab60 00aaaf50 00a8ab60 004997f0 +00a8ab60 00aaaf50 +00a8ab60 00428590 +00a8ab60 0040cae0 00a8b0f1 00a8b130 00a8b0f1 00af05eb 00a8b130 0040cf50 -00a8b160 00aef15c 00a8b160 0040d040 -00a8b190 00af08bd -00a8b190 00aaae20 -00a8b190 00651b10 -00a8b190 00aef15c -00a8b190 0040cf00 -00a8b190 00aef12b -00a8b190 EXTERNAL:00000220 +00a8b160 00aef15c 00a8b190 0040cf50 +00a8b190 EXTERNAL:00000220 00a8b190 00aaaf50 -00a8b190 00a61f00 +00a8b190 00aef15c +00a8b190 00651b10 +00a8b190 00af08bd 00a8b190 EXTERNAL:0000011c -00a8b570 00420a80 -00a8b570 0040ccd0 -00a8b570 EXTERNAL:00000263 -00a8b570 00aef15c -00a8b570 EXTERNAL:000000e1 -00a8b570 00aef12b -00a8b570 00af05e5 -00a8b570 00428590 +00a8b190 00aaae20 +00a8b190 00a61f00 +00a8b190 00aef12b +00a8b190 0040cf00 00a8b570 EXTERNAL:00000220 -00a8b570 EXTERNAL:00000114 +00a8b570 0040ccd0 +00a8b570 00428590 +00a8b570 00aef15c +00a8b570 00af05e5 +00a8b570 EXTERNAL:00000263 00a8b570 00a61f00 -00a8b7d0 00aaae20 -00a8b7d0 00aef15c +00a8b570 00aef12b +00a8b570 00420a80 +00a8b570 EXTERNAL:00000114 +00a8b570 EXTERNAL:000000e1 00a8b7d0 EXTERNAL:00000220 -00a8b7d0 00aaa4a0 00a8b7d0 00aaaf50 00a8b7d0 00423310 00a8b7d0 00a0f4c0 +00a8b7d0 00aef15c +00a8b7d0 00aaa4a0 00a8b7d0 EXTERNAL:000001d7 +00a8b7d0 00aaae20 00a8bba0 00aef15c 00a8bbd0 0040ccd0 -00a8bbd0 00aef15c 00a8bbd0 0040d040 +00a8bbd0 00aef15c 00a8bcf0 00af08bd -00a8bd30 EXTERNAL:00000063 -00a8bd30 00a112c0 +00a8bd30 00557a60 00a8bd30 00a648b0 00a8bd30 00aef15c -00a8bd30 00557a60 -00a8bd30 EXTERNAL:00000066 +00a8bd30 00a112c0 00a8bd30 EXTERNAL:00000062 +00a8bd30 EXTERNAL:00000066 +00a8bd30 EXTERNAL:00000063 00a8be40 EXTERNAL:00000068 00a8be40 EXTERNAL:00000067 00a8bf10 EXTERNAL:0000006e 00a8bf30 EXTERNAL:0000006d 00a8bf50 EXTERNAL:00000070 -00a8bfd0 EXTERNAL:00000068 -00a8bfd0 EXTERNAL:00000061 -00a8bfd0 EXTERNAL:00000064 +00a8bfd0 EXTERNAL:0000006f 00a8bfd0 00a0f4c0 +00a8bfd0 EXTERNAL:00000064 +00a8bfd0 EXTERNAL:00000061 +00a8bfd0 EXTERNAL:00000068 00a8bfd0 00499410 00a8bfd0 EXTERNAL:0000006e -00a8bfd0 EXTERNAL:0000006f 00a8c1c0 EXTERNAL:00000071 00a8c1c0 EXTERNAL:00000062 -00a8c230 EXTERNAL:00000065 00a8c230 00a0f4c0 +00a8c230 EXTERNAL:00000065 00a8c230 00a0f4e0 00a8c39b 00a8bd30 +00a8c3c0 EXTERNAL:00000007 00a8c3c0 00aef15c 00a8c3c0 00a1a500 -00a8c3c0 EXTERNAL:00000007 00a8c430 EXTERNAL:00000009 00a8c430 00a23ae0 -00a8c430 EXTERNAL:00000104 -00a8c430 00a11c70 00a8c430 00a0f4c0 +00a8c430 00a61f20 +00a8c430 EXTERNAL:00000104 00a8c430 00a266a0 00a8c430 0040c3b0 -00a8c430 00a61f20 +00a8c430 00a11c70 00a8c600 00a23ae0 -00a8c600 00a9e2d0 -00a8c600 00a23610 00a8c600 00a23bb0 +00a8c600 00a23610 +00a8c600 00a9e2d0 00a8c6d0 00aef15c 00a8c6d0 00a8c7e0 -00a8c700 00a90650 00a8c700 00a0f4c0 +00a8c700 00a90650 +00a8c7e0 00adf8f0 00a8c7e0 00adeb70 00a8c7e0 00af05e5 00a8c7e0 00aa9bb0 -00a8c7e0 00adf8f0 +00a8c7e0 00a90a00 00a8c7e0 00ae0010 00a8c7e0 00aacae0 00a8c7e0 00adf950 -00a8c7e0 00aadc80 00a8c7e0 00aacf20 -00a8c7e0 00a90a00 +00a8c7e0 00aadc80 00a8c7e0 EXTERNAL:00000262 00a8c7e0 00aa9c20 -00a8ca10 00af08bd -00a8ca10 EXTERNAL:00000261 -00a8ca10 EXTERNAL:00000263 -00a8ca10 0040cf00 -00a8ca10 00ade980 -00a8ca10 00aaa500 -00a8ca10 00af05e5 -00a8ca10 00aac3e0 -00a8ca10 00a0f4c0 -00a8ca10 00aabed0 -00a8ca10 00a61f00 -00a8ca10 EXTERNAL:00000103 -00a8ca10 EXTERNAL:00000262 -00a8ca10 00aad330 -00a8ca10 EXTERNAL:00000265 -00a8ca10 00aef15c -00a8ca10 00aef12b -00a8ca10 EXTERNAL:00000104 00a8ca10 EXTERNAL:00000220 +00a8ca10 00a0f4c0 +00a8ca10 EXTERNAL:00000261 +00a8ca10 00aabed0 +00a8ca10 00aef15c +00a8ca10 EXTERNAL:00000104 +00a8ca10 00aacb50 +00a8ca10 00af05e5 00a8ca10 00aac240 00a8ca10 00ae2060 +00a8ca10 00a61f00 +00a8ca10 00aef12b +00a8ca10 EXTERNAL:00000262 +00a8ca10 00aaa500 00a8ca10 00a8e530 -00a8ca10 00aacb50 +00a8ca10 00aac3e0 +00a8ca10 00ade980 +00a8ca10 EXTERNAL:00000265 +00a8ca10 00af08bd +00a8ca10 EXTERNAL:00000263 +00a8ca10 EXTERNAL:00000103 +00a8ca10 00aad330 00a8ca10 00aacf20 -00a8d0a0 00aefe80 -00a8d0a0 00aef15c -00a8d0a0 00aef12b -00a8d0a0 00421680 -00a8d0a0 00aac1a0 +00a8ca10 0040cf00 00a8d0a0 EXTERNAL:00000220 +00a8d0a0 00aac1a0 00a8d0a0 00aac3e0 -00a8d0a0 0040ccc0 00a8d0a0 00aabed0 +00a8d0a0 00aef15c +00a8d0a0 00aefe80 00a8d0a0 00a61f00 +00a8d0a0 00aef12b 00a8d0a0 00aac5c0 -00a8d350 00ae2110 -00a8d350 00aaae20 -00a8d350 00aef12b -00a8d350 00ae2060 +00a8d0a0 0040ccc0 +00a8d0a0 00421680 00a8d350 00aaaf50 -00a8d350 00adebd0 -00a8d350 00aac980 00a8d350 00aaabb0 +00a8d350 00adebd0 +00a8d350 00aaae20 +00a8d350 00ae2060 +00a8d350 00aef12b 00a8d350 00adf8c0 -00a8d580 00a648b0 -00a8d580 00aefe80 -00a8d580 00af05e5 +00a8d350 00ae2110 +00a8d350 00aac980 00a8d580 00aadbf0 -00a8d580 00aac980 +00a8d580 00a648b0 +00a8d580 00af05e5 +00a8d580 00aefe80 00a8d580 00aada30 00a8d580 00aad3b0 -00a8d950 00aaae20 -00a8d950 00aef15c +00a8d580 00aac980 00a8d950 00aaaf50 +00a8d950 00aef15c +00a8d950 00aaae20 00a8d950 EXTERNAL:00000262 -00a8da40 00aaae20 -00a8da40 00a648b0 -00a8da40 00adeb70 -00a8da40 00ade980 -00a8da40 00af05e5 -00a8da40 0040ccc0 -00a8da40 00ade9f0 -00a8da40 00a61f00 -00a8da40 00a0f4e0 -00a8da40 00aad330 -00a8da40 EXTERNAL:00000100 -00a8da40 00aef15c -00a8da40 00aef12b -00a8da40 00421680 -00a8da40 00aaaa90 00a8da40 EXTERNAL:00000220 -00a8da40 00aefca0 +00a8da40 00aef15c +00a8da40 00adeb70 00a8da40 00aac8f0 -00a8da40 00ae2060 -00a8da40 00aaaf50 -00a8da40 00aadc80 00a8da40 00adebd0 -00a8da40 00a8e1b0 +00a8da40 00af05e5 +00a8da40 00aaae20 +00a8da40 00aaaa90 +00a8da40 00ae2060 +00a8da40 00a61f00 +00a8da40 00aef12b +00a8da40 EXTERNAL:00000100 +00a8da40 00aadc80 00a8da40 00aac980 -00a8e050 00adeb70 -00a8e050 00ade980 -00a8e050 00aac8f0 +00a8da40 00ade9f0 +00a8da40 00aaaf50 +00a8da40 00a648b0 +00a8da40 00ade980 +00a8da40 00a8e1b0 +00a8da40 00aad330 +00a8da40 00a0f4e0 +00a8da40 0040ccc0 +00a8da40 00aefca0 +00a8da40 00421680 00a8e050 00ade9f0 -00a8e050 00aac980 +00a8e050 00ade980 +00a8e050 00adeb70 +00a8e050 00aac8f0 00a8e050 00aada30 00a8e050 00aad3b0 -00a8e1b0 00af0160 -00a8e1b0 00af08bd -00a8e1b0 EXTERNAL:00000261 -00a8e1b0 EXTERNAL:00000263 -00a8e1b0 00aefc70 -00a8e1b0 00aac240 +00a8e050 00aac980 00a8e1b0 00aac3e0 -00a8e1b0 00ae2060 +00a8e1b0 EXTERNAL:00000261 00a8e1b0 00aabed0 +00a8e1b0 00af08bd +00a8e1b0 EXTERNAL:00000263 +00a8e1b0 00aac240 +00a8e1b0 00ae2060 +00a8e1b0 00aefc70 +00a8e1b0 00af0160 00a8e1b0 EXTERNAL:00000262 -00a8e530 00af08bd -00a8e530 EXTERNAL:00000261 -00a8e530 EXTERNAL:00000263 -00a8e530 00aaa150 -00a8e530 00adf970 00a8e530 00adf940 +00a8e530 EXTERNAL:00000261 +00a8e530 00aaa150 00a8e530 00af05e5 -00a8e530 00aac3e0 +00a8e530 00aef12b +00a8e530 00af05eb +00a8e530 00aac5c0 00a8e530 0040c340 00a8e530 00aab3e0 -00a8e530 00adffc0 00a8e530 EXTERNAL:00000262 -00a8e530 00aac5c0 -00a8e530 EXTERNAL:00000265 -00a8e530 00aef12b 00a8e530 00aac980 -00a8e530 00af05eb -00a8ecc0 00a62750 +00a8e530 00aac3e0 +00a8e530 00adf970 +00a8e530 EXTERNAL:00000265 +00a8e530 00af08bd +00a8e530 EXTERNAL:00000263 +00a8e530 00adffc0 +00a8ecc0 EXTERNAL:00000252 +00a8ecc0 00a62620 00a8ecc0 00a8fe90 00a8ecc0 008c5d50 -00a8ecc0 EXTERNAL:00000252 -00a8ecc0 EXTERNAL:0000021b +00a8ecc0 00a62750 00a8ecc0 00a8fb90 -00a8ecc0 00a62620 +00a8ecc0 EXTERNAL:0000021b 00a8f390 00a8ecc0 00a8f3c0 00a8f390 00a8f400 00a8f390 @@ -60710,334 +60710,334 @@ 00a90590 00a8f390 00a905e0 00a8f390 00a90620 00a8f390 -00a90650 00aaae20 -00a90650 00aef15c -00a90650 EXTERNAL:00000263 -00a90650 00aef12b -00a90650 EXTERNAL:00000104 -00a90650 00aaa500 00a90650 EXTERNAL:00000220 -00a90650 00aab3e0 +00a90650 00aaa500 00a90650 00aaaf50 00a90650 00a0f4c0 -00a90650 006941b0 +00a90650 00aef15c +00a90650 EXTERNAL:00000104 +00a90650 EXTERNAL:00000263 +00a90650 00aaae20 +00a90650 00aef12b 00a90650 00af05eb +00a90650 00aab3e0 +00a90650 006941b0 00a909d0 00aef15c 00a909d0 00a90a00 -00a90a00 00aaae20 -00a90a00 00aef15c -00a90a00 0040d040 00a90a00 00aaaf50 +00a90a00 00498f80 +00a90a00 0040d040 +00a90a00 00aef15c 00a90a00 00aaac20 00a90a00 EXTERNAL:00000103 -00a90a00 00498f80 -00a90a00 EXTERNAL:00000262 +00a90a00 00aaae20 00a90a00 EXTERNAL:00000100 -00a90ca0 0042cdf0 +00a90a00 EXTERNAL:00000262 00a90ca0 00a12d50 -00a90ca0 00a648b0 00a90ca0 EXTERNAL:0000022f 00a90ca0 00af05e5 -00a90ca0 00a230b0 -00a90ca0 00a38990 -00a90ca0 00a69950 -00a90ca0 00a31630 -00a90ca0 00a0f4e0 -00a90ca0 00a23160 -00a90ca0 00a112c0 -00a90ca0 00aefca0 00a90ca0 00a12c00 +00a90ca0 00a23160 00a90ca0 00a49940 -00a91030 00a62fb0 -00a91030 00a910c0 +00a90ca0 00a38990 +00a90ca0 00a648b0 +00a90ca0 00a31630 +00a90ca0 00a112c0 +00a90ca0 00a69950 +00a90ca0 0042cdf0 +00a90ca0 00a230b0 +00a90ca0 00a0f4e0 +00a90ca0 00aefca0 00a91030 00a64610 +00a91030 00a910c0 +00a91030 00a62fb0 00a910c0 00a64610 00a91190 00a64610 +00a911e0 EXTERNAL:00000252 00a911e0 00a64630 00a911e0 00a90f30 -00a911e0 00aef12b -00a911e0 008c5d50 -00a911e0 EXTERNAL:00000252 -00a911e0 00a910c0 -00a911e0 00a953b0 00a911e0 00a64610 -00a91610 008c5d50 +00a911e0 008c5d50 +00a911e0 00a910c0 +00a911e0 00aef12b +00a911e0 00a953b0 00a91610 EXTERNAL:00000252 -00a91610 00a910c0 00a91610 00a64610 -00a91790 00aef12b -00a91790 00a64630 -00a91790 00a91030 -00a91790 008c5d50 +00a91610 00a910c0 +00a91610 008c5d50 00a91790 EXTERNAL:00000252 +00a91790 00a91030 +00a91790 00a64630 +00a91790 008c5d50 00a91790 00aefcf0 -00a91b50 00aef12b -00a91b50 00a91030 -00a91b50 008c5d50 +00a91790 00aef12b 00a91b50 EXTERNAL:00000252 -00a91b50 00a910c0 +00a91b50 00a91030 00a91b50 00a64610 -00a91dd0 00aef12b -00a91dd0 008c5d50 +00a91b50 008c5d50 +00a91b50 00a910c0 +00a91b50 00aef12b 00a91dd0 EXTERNAL:00000252 -00a91dd0 00a910c0 00a91dd0 00a64610 -00a92070 008c5d50 +00a91dd0 008c5d50 +00a91dd0 00a910c0 +00a91dd0 00aef12b 00a92070 EXTERNAL:00000252 -00a92070 00a910c0 00a92070 00a64610 -00a921b0 00420a80 -00a921b0 00a64660 -00a921b0 EXTERNAL:00000263 -00a921b0 00aef12b -00a921b0 008c5d50 +00a92070 008c5d50 +00a92070 00a910c0 00a921b0 EXTERNAL:00000252 +00a921b0 00a64660 00a921b0 00a64610 +00a921b0 EXTERNAL:00000263 +00a921b0 008c5d50 +00a921b0 00aef12b +00a921b0 00420a80 +00a92520 EXTERNAL:00000252 +00a92520 00a921b0 +00a92520 00a64610 +00a92520 00a910c0 00a92520 008c5d50 00a92520 00a62fb0 00a92520 00a91190 -00a92520 EXTERNAL:00000252 -00a92520 00a921b0 -00a92520 00a910c0 00a92520 EXTERNAL:00000262 -00a92520 00a64610 -00a92640 00420a80 -00a92640 EXTERNAL:00000263 -00a92640 00af05df 00a92640 00a955e0 -00a92640 008c5d50 -00a92640 00a62fb0 -00a92640 EXTERNAL:00000252 -00a92640 00a92520 -00a92640 00a910c0 -00a92640 00a957f0 -00a92640 EXTERNAL:00000262 -00a92640 00a64610 00a92640 00a64630 -00a92640 00aef12b -00a92640 00a91190 00a92640 00a921b0 -00a92b70 00a90f30 -00a92b70 00aef12b -00a92b70 008c5d50 +00a92640 00a957f0 +00a92640 00a64610 +00a92640 008c5d50 +00a92640 00aef12b +00a92640 00420a80 +00a92640 00a91190 +00a92640 EXTERNAL:00000262 +00a92640 00a92520 +00a92640 EXTERNAL:00000252 +00a92640 00af05df +00a92640 EXTERNAL:00000263 +00a92640 00a910c0 +00a92640 00a62fb0 00a92b70 EXTERNAL:00000252 -00a92b70 00a910c0 +00a92b70 00a90f30 00a92b70 00a64610 -00a92cb0 EXTERNAL:00000263 -00a92cb0 00a90f30 -00a92cb0 00aef12b -00a92cb0 008c5d50 +00a92b70 008c5d50 +00a92b70 00a910c0 +00a92b70 00aef12b 00a92cb0 EXTERNAL:00000252 00a92cb0 00a921b0 -00a92cb0 00a910c0 -00a92cb0 EXTERNAL:00000262 +00a92cb0 00a90f30 00a92cb0 00a64610 -00a930b0 00a90f30 -00a930b0 00aef12b -00a930b0 008c5d50 +00a92cb0 008c5d50 +00a92cb0 EXTERNAL:00000263 +00a92cb0 00a910c0 +00a92cb0 00aef12b +00a92cb0 EXTERNAL:00000262 00a930b0 EXTERNAL:00000252 -00a930b0 00a910c0 +00a930b0 00a90f30 00a930b0 00a64610 -00a931f0 00aef12b +00a930b0 008c5d50 +00a930b0 00a910c0 +00a930b0 00aef12b +00a931f0 EXTERNAL:00000252 00a931f0 00a91030 00a931f0 008c5d50 -00a931f0 EXTERNAL:00000252 -00a932c0 EXTERNAL:00000263 +00a931f0 00aef12b 00a932c0 00af05e5 00a932c0 00a64610 -00a93480 00af05e5 -00a93480 00a91030 +00a932c0 EXTERNAL:00000263 00a93480 00a955e0 +00a93480 00a91030 +00a93480 00af05e5 00a93480 00a957f0 00a93480 00a64610 00a93640 00af05df 00a93860 00a94b10 +00a94b10 00a957f0 00a94b10 00a90f30 00a94b10 00a93480 -00a94b10 00a63db0 -00a94b10 00a910c0 -00a94b10 00a957f0 00a94b10 00a64610 -00a94c80 00a64260 -00a94c80 00a94f10 +00a94b10 00a910c0 +00a94b10 00a63db0 +00a94c80 00a951b0 00a94c80 00a64550 00a94c80 00a64320 -00a94c80 00a642e0 +00a94c80 00a94f10 00a94c80 00a952b0 -00a94c80 00a951b0 +00a94c80 00a642e0 +00a94c80 00a64260 00a94f10 00aef12b 00a953b0 00a955e0 -00a953b0 00aadd90 -00a953b0 00a95a10 00a953b0 EXTERNAL:00000265 -00a955e0 00aadf00 +00a953b0 00a95a10 +00a953b0 00aadd90 00a955e0 00af05e5 +00a955e0 00aadf00 00a957a0 00af05df -00a957f0 00aaeda0 00a957f0 00a95770 00a957f0 00a957a0 -00a95c50 00af05df +00a957f0 00aaeda0 00a95c50 00aaddd0 -00a95de0 00af05df +00a95c50 00af05df 00a95de0 00a95c50 +00a95de0 00af05df 00a95de0 00aaeeb0 -00a96000 00af05df -00a96000 00a95ac0 00a96000 00a95c50 +00a96000 00a95ac0 +00a96000 00af05df 00a96000 00aaeeb0 -00a96370 00af05df -00a96370 00a95ac0 00a96370 00a95c50 +00a96370 00a95ac0 +00a96370 00af05df 00a96370 00aaeeb0 -00a96800 EXTERNAL:00000263 -00a96800 00af05e5 -00a96800 00aafdb0 00a96800 00aaf7e0 +00a96800 00aafdb0 +00a96800 00af05e5 +00a96800 00a64610 +00a96800 EXTERNAL:00000263 00a96800 00af08b7 00a96800 EXTERNAL:00000262 -00a96800 00a64610 -00a96980 00ab1540 -00a96980 00ab1740 +00a96980 00a62e70 00a96980 00ab2140 -00a96980 00ab1ef0 +00a96980 00ab00b0 +00a96980 00ab0330 00a96980 00ab18e0 +00a96980 00ab0fc0 +00a96980 00ab1740 +00a96980 00ab1a50 +00a96980 00a64610 +00a96980 00ab2580 +00a96980 00ab0830 +00a96980 00ab1300 +00a96980 00ab04d0 +00a96980 00ab1540 +00a96980 00ab2040 00a96980 00ab06d0 00a96980 00ab1bc0 -00a96980 00a64610 -00a96980 00ab04d0 -00a96980 00ab1300 -00a96980 00ab0330 -00a96980 00ab0830 -00a96980 00ab1a50 -00a96980 00ab0fc0 -00a96980 00ab00b0 00a96980 00ab0540 -00a96980 00a62e70 -00a96980 00ab2580 -00a96980 00ab2040 +00a96980 00ab1ef0 00a96cc0 00aafe60 -00a96cc0 00af05df -00a96cc0 00aaf9d0 -00a96cc0 00a98430 00a96cc0 00ab2d80 -00a96cc0 00ab33f0 -00a96cc0 00ab3120 -00a96cc0 00ab2620 -00a96cc0 00ab28f0 -00a96cc0 00aafed0 +00a96cc0 00af05df 00a96cc0 00a64610 -00a97100 00ab1540 -00a97100 00ab1740 +00a96cc0 00ab2620 +00a96cc0 00a98430 +00a96cc0 00ab33f0 +00a96cc0 00aafed0 +00a96cc0 00ab3120 +00a96cc0 00aaf9d0 +00a96cc0 00ab28f0 00a97100 00ab2140 -00a97100 00ab1ef0 -00a97100 00ab18e0 -00a97100 00ab06d0 -00a97100 00aafed0 -00a97100 00ab1bc0 -00a97100 00a64610 -00a97100 00ab04d0 -00a97100 00ab1300 -00a97100 00ab0330 -00a97100 00ab0830 -00a97100 00ab1a50 -00a97100 00ab0fc0 00a97100 00ab00b0 -00a97100 00ab0540 +00a97100 00ab0330 +00a97100 00ab18e0 +00a97100 00ab0fc0 +00a97100 00ab1740 +00a97100 00ab1a50 +00a97100 00a64610 00a97100 00ab2580 +00a97100 00ab0830 +00a97100 00ab1300 +00a97100 00ab04d0 +00a97100 00ab1540 00a97100 00ab2040 +00a97100 00ab06d0 +00a97100 00ab1bc0 +00a97100 00ab0540 +00a97100 00aafed0 +00a97100 00ab1ef0 00a973a0 00a97450 00a973a0 EXTERNAL:00000262 +00a97450 00aaf700 00a97450 00af05e5 00a97450 00a63000 -00a97450 00aaf700 00a97450 EXTERNAL:00000262 -00a97730 00a9ae80 00a97730 00af08ff -00a98430 00a99280 -00a98430 00420a80 -00a98430 00a98e60 -00a98430 00a64550 -00a98430 00a64320 -00a98430 00a990f0 +00a97730 00a9ae80 +00a98430 00a9ad20 +00a98430 00a98a20 00a98430 00a9a960 00a98430 00a64610 -00a98430 00a98a20 -00a98430 00a98d50 +00a98430 00a99280 00a98430 00aef12b -00a98430 00a9ad20 +00a98430 00a64320 +00a98430 00420a80 +00a98430 00a98d50 00a98430 00a98c40 +00a98430 00a990f0 +00a98430 00a64550 +00a98430 00a98e60 00a98430 00a9a6d0 00a98430 00a9a2f0 00a98a20 00aef12b -00a9ae80 EXTERNAL:00000263 00a9ae80 00af08ff -00a9ae80 00aefcf0 00a9ae80 00a64610 -00a9bdd0 00aef12b +00a9ae80 EXTERNAL:00000263 +00a9ae80 00aefcf0 00a9bdd0 00af05e5 -00a9c770 00a9c690 -00a9c770 00aef12b +00a9bdd0 00aef12b 00a9c770 00a9c450 +00a9c770 00aef12b +00a9c770 00a9c690 00a9cac0 00a9c9a0 00a9d000 00a9c9a0 00a9d090 00a9c9a0 -00a9d1d0 0041d4c0 00a9d1d0 EXTERNAL:00000258 -00a9d210 00aef12b -00a9d210 008c5d50 +00a9d1d0 0041d4c0 00a9d210 EXTERNAL:00000252 +00a9d210 008c5d50 +00a9d210 00aef12b 00a9d2c0 00a9d1d0 -00a9d390 EXTERNAL:00000263 00a9d390 00ab3690 00a9d390 00af05e5 +00a9d390 EXTERNAL:00000263 00a9dad0 EXTERNAL:000000e5 -00a9dad0 EXTERNAL:0000021c 00a9dad0 00a69f60 -00a9db20 EXTERNAL:0000021c +00a9dad0 EXTERNAL:0000021c 00a9db20 EXTERNAL:000000e6 +00a9db20 EXTERNAL:0000021c 00a9db50 00a69f60 00a9db50 00a81050 -00a9dea0 00a9e280 +00a9dea0 00a9e170 00a9dea0 00a9e220 00a9dea0 00a9e0f0 +00a9dea0 00a9e280 00a9dea0 00a9e060 -00a9dea0 00a9e170 00a9e060 00af0750 00a9e0f0 00a9e060 00a9e170 00a9e060 -00a9e2d0 00af0750 +00a9e2d0 00a62dc0 00a9e2d0 EXTERNAL:00000009 00a9e2d0 00a648b0 -00a9e2d0 00a62dc0 +00a9e2d0 00af0750 00a9e2d0 EXTERNAL:00000262 -00a9e4f0 EXTERNAL:00000077 00a9e4f0 00a7d2a0 +00a9e4f0 EXTERNAL:00000077 00a9e4f0 EXTERNAL:00000079 00a9e5a0 00a2bcb0 -00a9e5a0 00a112c0 -00a9e5a0 EXTERNAL:00000079 00a9e5a0 EXTERNAL:0000007a +00a9e5a0 00a112c0 00a9e5a0 EXTERNAL:00000066 00a9e5a0 EXTERNAL:00000074 -00a9e5a0 EXTERNAL:00000262 00a9e5a0 EXTERNAL:00000076 -00a9e720 00a112c0 -00a9e720 00aef15c -00a9e720 00428590 +00a9e5a0 EXTERNAL:00000079 +00a9e5a0 EXTERNAL:00000262 00a9e720 EXTERNAL:00000220 +00a9e720 00428590 +00a9e720 00aef15c +00a9e720 00a112c0 00a9e890 00a112c0 00a9e8c0 00aef15c +00a9e8c0 00a2a8d0 +00a9e8c0 00a5a4c0 00a9e8c0 00a28ca0 00a9e8c0 00a1a500 -00a9e8c0 00a5a4c0 -00a9e8c0 00a2a8d0 -00a9e950 00af08bd -00a9e950 00aef15c -00a9e950 00426980 00a9e950 EXTERNAL:00000220 +00a9e950 00426980 +00a9e950 00aef15c +00a9e950 00af08bd 00a9e950 007099a0 -00a9eb80 00aef15c 00a9eb80 00426980 +00a9eb80 00aef15c 00a9ebc0 00426980 00a9ebe0 EXTERNAL:00000263 00a9ebe0 00a9eb30 @@ -61050,131 +61050,131 @@ 00a9ed70 00a112c0 00a9ed90 00a112c0 00a9edb0 00a112c0 -00a9ede0 00a2a0b0 -00a9ede0 00a648b0 -00a9ede0 EXTERNAL:0000022f -00a9ede0 00a2a030 -00a9ede0 00a2a070 -00a9ede0 00a23ae0 -00a9ede0 00aef15c -00a9ede0 00aef12b -00a9ede0 00a23610 00a9ede0 EXTERNAL:00000220 -00a9ede0 00a9f4b0 -00a9ede0 00a288a0 +00a9ede0 EXTERNAL:0000022f +00a9ede0 00aef15c 00a9ede0 004267f0 +00a9ede0 00aef12b +00a9ede0 00a23ae0 +00a9ede0 00a648b0 +00a9ede0 00a2a0b0 +00a9ede0 00a23610 +00a9ede0 00a2a030 +00a9ede0 00a9f4b0 +00a9ede0 00a2a070 +00a9ede0 00a288a0 00a9f0e0 004267f0 00a9f120 00af08bd -00a9f180 00aef15c 00a9f180 EXTERNAL:00000220 +00a9f180 00aef15c 00a9f180 00a71e10 -00a9f2b0 00a582e0 -00a9f2b0 00a112c0 -00a9f2b0 00aef15c -00a9f2b0 EXTERNAL:0000022f 00a9f2b0 EXTERNAL:00000220 -00a9f2b0 00a57fc0 +00a9f2b0 EXTERNAL:0000022f +00a9f2b0 00aef15c +00a9f2b0 00a582e0 00a9f2b0 EXTERNAL:0000022d -00a9f4b0 00af05df +00a9f2b0 00a112c0 +00a9f2b0 00a57fc0 00a9f4b0 00a583e0 -00a9f4b0 00a58040 00a9f4b0 007dcd30 +00a9f4b0 00a58040 +00a9f4b0 00af05df 00a9f4b0 00a0f4e0 00a9f5d0 EXTERNAL:00000009 00a9f630 00a112c0 00a9f630 00aef12b 00a9f760 00a112c0 00a9f760 00a230b0 -00a9f7b0 00aef15c 00a9f7b0 00752710 +00a9f7b0 00aef15c 00a9f980 00a7b940 -00a9f980 00a7d160 00a9f980 00a23160 +00a9f980 00a7d160 00a9fa00 00a9fb80 00a9fa20 00a0f4c0 -00a9fad0 00aef15c 00a9fad0 00752710 +00a9fad0 00aef15c 00a9fb00 00a112c0 -00a9fb80 00a112c0 00a9fb80 EXTERNAL:00000073 -00a9fb80 EXTERNAL:00000068 -00a9fb80 EXTERNAL:00000066 00a9fb80 EXTERNAL:00000061 -00a9fb80 EXTERNAL:0000006e +00a9fb80 EXTERNAL:00000068 +00a9fb80 00a112c0 00a9fb80 EXTERNAL:00000070 +00a9fb80 EXTERNAL:00000066 +00a9fb80 EXTERNAL:0000006e 00a9fd40 00a112c0 00a9fd40 EXTERNAL:00000066 00a9fd40 EXTERNAL:0000006d 00a9fd90 00a112c0 00a9fd90 EXTERNAL:00000066 00a9fd90 EXTERNAL:0000006e -00a9fde0 00a112c0 00a9fde0 EXTERNAL:00000068 +00a9fde0 00a112c0 00a9fde0 EXTERNAL:00000066 -00a9fe40 00a112c0 00a9fe40 EXTERNAL:00000068 -00a9fe40 EXTERNAL:00000066 +00a9fe40 00a112c0 00a9fe40 EXTERNAL:00000070 -00a9feb0 00a112c0 +00a9fe40 EXTERNAL:00000066 00a9feb0 EXTERNAL:00000073 +00a9feb0 00a112c0 00a9feb0 EXTERNAL:00000066 -00a9ff10 00a112c0 00a9ff10 EXTERNAL:00000072 +00a9ff10 00a112c0 00a9ff10 EXTERNAL:00000066 -00a9ff90 00a112c0 00a9ff90 0041d540 -00a9ff90 EXTERNAL:0000006c +00a9ff90 00a112c0 00a9ff90 EXTERNAL:00000066 +00a9ff90 EXTERNAL:0000006c 00a9ff90 0041d520 -00aa0050 00a112c0 00aa0050 EXTERNAL:00000072 +00aa0050 00a112c0 00aa0050 EXTERNAL:00000066 00aa00b0 00a23160 00aa0110 00aef5c4 00aa0110 00a9fa20 -00aa01c0 00aef638 -00aa01c0 00aef15c 00aa01c0 00752710 -00aa0240 00aef638 +00aa01c0 00aef15c +00aa01c0 00aef638 00aa0240 00752710 -00aa02b0 00a112c0 -00aa02b0 EXTERNAL:00000065 -00aa02b0 00a230b0 -00aa02b0 EXTERNAL:00000066 +00aa0240 00aef638 00aa02b0 EXTERNAL:00000064 +00aa02b0 EXTERNAL:00000065 +00aa02b0 00a112c0 +00aa02b0 EXTERNAL:00000066 +00aa02b0 00a230b0 00aa03c0 00a112c0 -00aa03e0 EXTERNAL:00000063 -00aa03e0 00a2ba90 -00aa03e0 00a7d160 -00aa03e0 00a23160 00aa03e0 EXTERNAL:00000062 -00aa0470 00a9fe40 +00aa03e0 00a2ba90 +00aa03e0 EXTERNAL:00000063 +00aa03e0 00a23160 +00aa03e0 00a7d160 00aa0470 00a2ba90 +00aa0470 00a9fe40 00aa0490 EXTERNAL:00000071 00aa0490 EXTERNAL:00000068 -00aa0600 00aef15c 00aa0600 00752710 +00aa0600 00aef15c 00aa0630 00752710 -00aa0640 00a112c0 -00aa0640 EXTERNAL:00000061 -00aa0640 EXTERNAL:0000006e 00aa0640 EXTERNAL:0000006f -00aa0720 00a112c0 -00aa0720 EXTERNAL:00000065 -00aa0720 EXTERNAL:00000066 +00aa0640 EXTERNAL:00000061 +00aa0640 00a112c0 +00aa0640 EXTERNAL:0000006e 00aa0720 EXTERNAL:00000064 +00aa0720 EXTERNAL:00000065 +00aa0720 00a112c0 +00aa0720 EXTERNAL:00000066 +00aa07a0 EXTERNAL:00000062 00aa07a0 EXTERNAL:00000063 00aa07a0 00a7d160 -00aa07a0 EXTERNAL:00000062 -00aa07e0 00a2b050 00aa07e0 EXTERNAL:0000006e +00aa07e0 00a2b050 00aa0840 EXTERNAL:00000263 -00aa0990 00aef12b 00aa0990 00af05e5 +00aa0990 00aef12b 00aa0990 EXTERNAL:0000021c -00aa0c40 EXTERNAL:0000021c -00aa0c40 EXTERNAL:00000267 00aa0c40 00aa0880 +00aa0c40 EXTERNAL:00000267 +00aa0c40 EXTERNAL:0000021c 00aa0f40 00af0905 00aa0f40 00aa0840 00aa0f40 00aa08f0 @@ -61190,258 +61190,258 @@ 00aa19b0 00aa13a0 00aa19b0 00aa1830 00aa19b0 00aa1610 -00aa1a40 EXTERNAL:0000021c 00aa1a40 00aa17b0 -00aa1b10 EXTERNAL:0000021c +00aa1a40 EXTERNAL:0000021c 00aa1b10 00aa1a40 -00aa1bc0 EXTERNAL:0000021c +00aa1b10 EXTERNAL:0000021c 00aa1bc0 00aa1a40 -00aa1c60 EXTERNAL:0000021c +00aa1bc0 EXTERNAL:0000021c 00aa1c60 00aa1a40 +00aa1c60 EXTERNAL:0000021c 00aa1c60 00aa1c60 -00aa1dc0 EXTERNAL:0000021c -00aa1dc0 00aa1b10 00aa1dc0 00aa0880 -00aa1fb0 EXTERNAL:0000021c +00aa1dc0 00aa1b10 +00aa1dc0 EXTERNAL:0000021c 00aa1fb0 00aa1dc0 00aa1fb0 00aa1b10 +00aa1fb0 EXTERNAL:0000021c 00aa20b0 00aa1fb0 -00aa2310 EXTERNAL:0000021c 00aa2310 00aa1dc0 00aa2310 00aa1b10 +00aa2310 EXTERNAL:0000021c 00aa2580 00aa1dc0 00aa2580 00aa1b10 -00aa2850 00aef12b 00aa2850 00aa2580 -00aa2850 00aa20b0 -00aa2850 00af05e5 00aa2850 00aa1dc0 00aa2850 00aa1fb0 +00aa2850 00aa20b0 +00aa2850 00af05e5 00aa2850 00af0720 +00aa2850 00aef12b 00aa2850 00aa1b10 00aa2850 00aa2310 00aa30a0 EXTERNAL:0000021c +00aa38a0 00aa3430 +00aa38a0 00aa3270 00aa38a0 00aa08f0 +00aa38a0 00af0720 00aa38a0 00aa30a0 00aa38a0 00aef12b 00aa38a0 00aa3620 -00aa38a0 00af0720 -00aa38a0 00aa3270 -00aa38a0 00aa3430 00aa4340 00aa08f0 -00aa4340 00aa19b0 -00aa4340 EXTERNAL:0000021c 00aa4340 00aa1b10 +00aa4340 EXTERNAL:0000021c +00aa4340 00aa19b0 00aa4340 00aa1c60 -00aa44d0 00af05df +00aa44d0 00aa40e0 +00aa44d0 00aa1bc0 00aa44d0 00af05e5 +00aa44d0 00aef86f +00aa44d0 00aef12b +00aa44d0 00aa1b10 +00aa44d0 00aa2850 00aa44d0 EXTERNAL:0000021c 00aa44d0 00aa1dc0 -00aa44d0 00aa38a0 -00aa44d0 00aa1c60 +00aa44d0 00af05df 00aa44d0 00aa08f0 -00aa44d0 00aef12b -00aa44d0 00aa2850 -00aa44d0 00aa1bc0 -00aa44d0 00aa1b10 -00aa44d0 00aa40e0 -00aa44d0 00aef86f +00aa44d0 00aa1c60 +00aa44d0 00aa38a0 00aa4f20 EXTERNAL:0000021c +00aa50a0 00aa4340 00aa50a0 00aa4f20 00aa50a0 00aa44d0 -00aa50a0 00aa4340 -00aa5250 EXTERNAL:00000263 -00aa5250 00af05df -00aa5250 00af05e5 -00aa5250 EXTERNAL:0000021c -00aa5250 00aa13a0 -00aa5250 00af08f9 -00aa5250 00aa1830 -00aa5250 00af08ed -00aa5250 EXTERNAL:00000262 -00aa5250 EXTERNAL:000001fb +00aa5250 00aa7640 +00aa5250 00aa0840 +00aa5250 00aa5120 +00aa5250 00aa1b10 +00aa5250 00af0917 00aa5250 00aa1540 +00aa5250 EXTERNAL:00000262 +00aa5250 00af08ff +00aa5250 00aa13a0 +00aa5250 00aa1830 +00aa5250 EXTERNAL:00000263 +00aa5250 00af08ed +00aa5250 00aa1c60 +00aa5250 EXTERNAL:000001fb +00aa5250 00aa1bc0 +00aa5250 00af05e5 +00aa5250 00aef12b +00aa5250 00aa17b0 +00aa5250 EXTERNAL:0000021c +00aa5250 00aa13f0 +00aa5250 00aa1a40 +00aa5250 00af05df +00aa5250 00aa08f0 00aa5250 EXTERNAL:00000267 +00aa5250 00af08f9 00aa5250 00aa0990 00aa5250 00aa0f40 -00aa5250 00af0917 -00aa5250 00af08ff -00aa5250 00aa13f0 -00aa5250 00aa17b0 -00aa5250 00aa5120 -00aa5250 00aa1c60 00aa5250 00aa0c40 -00aa5250 00aa0840 -00aa5250 00aa08f0 -00aa5250 00aef12b -00aa5250 00aa1a40 -00aa5250 00aa1bc0 -00aa5250 00aa1b10 -00aa5250 00aa7640 00aa7340 EXTERNAL:00000262 00aa7600 EXTERNAL:00000263 +00aa7670 00aa4340 00aa7670 00aa4f20 00aa7670 00aa44d0 -00aa7670 00aa4340 +00aa7770 00aa50a0 +00aa7770 00af05e5 00aa7770 00a112c0 00aa7770 EXTERNAL:00000263 00aa7770 00aef12b -00aa7770 00af05e5 00aa7770 00aa5250 -00aa7770 00aa50a0 -00aa78e0 00aef12b +00aa78e0 00aa7600 +00aa78e0 00aa50a0 00aa78e0 00af05e5 00aa78e0 00aa7340 -00aa78e0 00aa7600 +00aa78e0 00aef12b 00aa78e0 00aa5250 -00aa78e0 00aa50a0 -00aa7a10 00aef12b 00aa7a10 00af05e5 +00aa7a10 00aef12b 00aa7e80 00aa7a10 00aa7e80 EXTERNAL:0000021c 00aa7fb0 00aa7e80 00aa7fb0 00aa7670 00aa8090 EXTERNAL:0000013a -00aa8090 00aef12b +00aa8090 EXTERNAL:00000139 00aa8090 00af05e5 00aa8090 00a69f60 -00aa8090 EXTERNAL:00000139 +00aa8090 00aef12b 00aa8090 EXTERNAL:000001f4 00aa8270 00af05e5 00aa8270 EXTERNAL:0000021c 00aa8360 00aef12b -00aa8a00 00420a80 -00aa8a00 00aef12b 00aa8a00 00a69f60 +00aa8a00 00aef12b +00aa8a00 00420a80 00aa8a00 00a26240 -00aa8d90 00aef12b -00aa8d90 00af05e5 -00aa8d90 EXTERNAL:0000021c -00aa8d90 00aa8270 00aa8d90 00a26130 -00aa9360 00420a80 -00aa9360 00aef12b +00aa8d90 00aa8270 +00aa8d90 00af05e5 +00aa8d90 00aef12b +00aa8d90 EXTERNAL:0000021c 00aa9360 EXTERNAL:0000022f -00aa93e0 00af0210 +00aa9360 00aef12b +00aa9360 00420a80 00aa93e0 00aa9580 +00aa93e0 00af0210 00aa9580 00aa94a0 00aa97f0 00ab6bc0 -00aa9830 00ab6e40 00aa9830 00ab6d00 +00aa9830 00ab6e40 00aa9880 00ab6d00 -00aa98c0 00ab6e40 00aa98c0 00ab6a80 +00aa98c0 00ab6e40 00aa9910 00ab6a80 00aa9950 00ab6bc0 -00aa9990 00ab6e40 00aa9990 00ab6d00 +00aa9990 00ab6e40 00aa99e0 00ab6d00 -00aa9a20 00ab6e40 00aa9a20 00ab6a80 +00aa9a20 00ab6e40 00aa9a70 00ab6a80 00aa9bb0 EXTERNAL:00000262 00aa9c20 00af05e5 00aa9c20 EXTERNAL:00000262 +00aa9e80 EXTERNAL:00000265 00aa9e80 00ab7220 00aa9e80 00ab7120 -00aa9e80 EXTERNAL:00000265 00aa9e80 00aa9c20 -00aaa150 00aa9bb0 -00aaa150 00aa9ab0 -00aaa150 00ab7120 -00aaa150 00aa9e80 00aaa150 EXTERNAL:00000265 +00aaa150 00aa9ab0 +00aaa150 00aa9bb0 +00aaa150 00aa9e80 +00aaa150 00ab7120 00aaa150 00aa9c20 -00aaa450 00aaae20 00aaa450 00aaaf50 -00aaa4a0 00aaae20 +00aaa450 00aaae20 00aaa4a0 00aaaf50 -00aaa500 00420a80 +00aaa4a0 00aaae20 +00aaa500 00431070 +00aaa500 EXTERNAL:00000220 +00aaa500 00a0f4c0 00aaa500 0040ccd0 +00aaa500 00aef15c +00aaa500 00af05e5 +00aaa500 00651b10 +00aaa500 00aaac20 00aaa500 00aaae20 00aaa500 00aba8b0 -00aaa500 00af05e5 -00aaa500 00aaac20 -00aaa500 00a0f4c0 00aaa500 00a61f00 -00aaa500 00431070 -00aaa500 EXTERNAL:000001d7 -00aaa500 00651b10 -00aaa500 00aef15c 00aaa500 00aef12b -00aaa500 EXTERNAL:00000220 -00aaa500 00aaaf50 +00aaa500 00420a80 00aaa500 004997f0 -00aaaa90 00aaae20 +00aaa500 00aaaf50 +00aaa500 EXTERNAL:000001d7 00aaaa90 00aaaf50 -00aaaae0 00aef15c +00aaaa90 00aaae20 00aaaae0 00a0f4c0 +00aaaae0 00aef15c 00aaaae0 EXTERNAL:000001d7 -00aaabb0 00aaae20 00aaabb0 00aaaf50 +00aaabb0 00aaae20 00aaac20 00aef15c -00aaac60 00420a80 00aaac60 0040ccd0 -00aaac60 00aef12b 00aaac60 00af05e5 +00aaac60 00aef12b +00aaac60 00420a80 00aaace0 00aef15c 00aaace0 00aab170 -00aaad10 00aaae20 00aaad10 00aaaf50 00aaad10 00a8b7d0 -00aaad10 EXTERNAL:00000100 00aaad10 EXTERNAL:0000011c -00aaae20 00420a80 +00aaad10 00aaae20 +00aaad10 EXTERNAL:00000100 +00aaae20 EXTERNAL:00000220 00aaae20 0040ccd0 00aaae20 00aef15c -00aaae20 00aef12b 00aaae20 00af05e5 -00aaae20 EXTERNAL:00000220 00aaae20 00a61f00 +00aaae20 00aef12b +00aaae20 00420a80 00aaae20 EXTERNAL:00000100 -00aaaf50 00420a80 -00aaaf50 0040ccd0 -00aaaf50 00aef15c -00aaaf50 00aef12b -00aaaf50 00af05e5 00aaaf50 EXTERNAL:00000220 00aaaf50 EXTERNAL:00000102 -00aaaf50 00a61f00 +00aaaf50 0040ccd0 +00aaaf50 00aef15c +00aaaf50 00af05e5 00aaaf50 EXTERNAL:0000011c +00aaaf50 00a61f00 +00aaaf50 00aef12b +00aaaf50 00420a80 00aab090 EXTERNAL:000000e2 +00aab120 EXTERNAL:00000110 00aab120 00aab2c0 00aab120 00aab090 -00aab120 EXTERNAL:00000110 00aab140 00aef15c 00aab140 00aab170 -00aab170 0040cf00 -00aab170 00aef15c -00aab170 00aef12b 00aab170 EXTERNAL:00000220 -00aab170 EXTERNAL:00000114 +00aab170 00aef15c 00aab170 00a61f00 00aab170 EXTERNAL:000000e3 +00aab170 00aef12b +00aab170 EXTERNAL:00000114 +00aab170 0040cf00 00aab2c0 00aef12b -00aab33d 00420a80 -00aab33d 00af05e5 -00aab33d 00a8b130 00aab33d 00856390 -00aab33d 00a621d0 -00aab33d 00af05eb +00aab33d 00a8b130 00aab33d 0040bf20 +00aab33d 00a621d0 +00aab33d 00af05e5 +00aab33d 00af05eb +00aab33d 00420a80 00aab3e0 00aab470 -00aab470 0040ccd0 -00aab470 00651b10 -00aab470 00aef15c -00aab470 00aef12b -00aab470 00421680 00aab470 00aaac60 -00aab470 EXTERNAL:00000220 -00aab470 0040ccc0 -00aab470 0040d040 -00aab470 00a61f00 -00aab470 00431070 00aab470 004997f0 +00aab470 00431070 +00aab470 EXTERNAL:00000220 +00aab470 0040ccd0 +00aab470 0040d040 +00aab470 00aef15c +00aab470 00651b10 +00aab470 00a61f00 +00aab470 00aef12b +00aab470 0040ccc0 +00aab470 00421680 00aab900 00aef15c 00aab940 00aef15c 00aab980 00aef15c @@ -61455,207 +61455,207 @@ 00aabbd0 EXTERNAL:00000006 00aabbd0 EXTERNAL:00000008 00aabc80 EXTERNAL:00000009 -00aabc80 00a51790 00aabc80 EXTERNAL:00000006 +00aabc80 00a51790 00aabc80 EXTERNAL:00000008 -00aabd90 00a648b0 00aabd90 EXTERNAL:00000009 +00aabd90 00a648b0 00aabf60 00af05e5 00aabf60 EXTERNAL:00000262 00aabfb0 EXTERNAL:00000261 00aabfb0 00af05e5 00aabfb0 EXTERNAL:00000262 00aac040 EXTERNAL:00000261 -00aac040 00aabf60 00aac040 00af05e5 +00aac040 00aabf60 00aac040 EXTERNAL:00000262 -00aac1a0 00af08bd 00aac1a0 EXTERNAL:00000261 +00aac1a0 00af08bd 00aac1a0 EXTERNAL:00000263 00aac1a0 EXTERNAL:00000262 +00aac240 00af05f1 00aac240 00aac110 00aac240 00aef12b -00aac240 00af05f1 +00aac3e0 00af05f1 00aac3e0 00aac110 00aac3e0 00aef12b -00aac3e0 00af05f1 -00aac5c0 00af08bd -00aac5c0 00af05df 00aac5c0 00aabfb0 +00aac5c0 00af05df 00aac5c0 00aabed0 +00aac5c0 00af08bd 00aac5c0 00aac040 00aaca80 EXTERNAL:00000263 00aacae0 EXTERNAL:00000261 00aacae0 EXTERNAL:00000262 -00aacb50 EXTERNAL:00000263 +00aacb50 EXTERNAL:00000265 00aacb50 00af05e5 +00aacb50 00ab8650 +00aacb50 EXTERNAL:00000263 00aacb50 00abab70 00aacb50 00aacf20 -00aacb50 00ab8650 00aacb50 EXTERNAL:00000262 -00aacb50 EXTERNAL:00000265 00aacf20 00af05e5 00aacf20 EXTERNAL:00000262 +00aada30 00aaca80 00aada30 00aacae0 00aada30 00ab7120 -00aada30 00aaca80 00aadbf0 EXTERNAL:00000263 00aadbf0 00a23200 00aadc80 00aef15c 00aadc80 EXTERNAL:00000262 -00aadd10 00a8fe90 -00aadd10 008c5d50 00aadd10 EXTERNAL:00000252 00aadd10 00a62620 +00aadd10 00a8fe90 +00aadd10 008c5d50 00aadd90 EXTERNAL:00000265 00aaddb0 EXTERNAL:00000262 -00aae270 00aef12b 00aae270 00aae060 00aae270 00aadf90 +00aae270 00aef12b 00aaeb30 00aae610 00aaeda0 00aaf650 -00aaeeb0 00aaeda0 -00aaeeb0 00aadf00 -00aaeeb0 00aaf650 -00aaeeb0 00aae270 00aaeeb0 00aaf210 +00aaeeb0 00aae270 +00aaeeb0 00aaf650 +00aaeeb0 00aadf00 00aaeeb0 00aae510 00aaeeb0 00aaeb30 +00aaeeb0 00aaeda0 00aaf6b0 00abd870 -00aaf7e0 00aaddb0 +00aaf7e0 00aaf6b0 00aaf7e0 00aaf700 +00aaf7e0 EXTERNAL:00000265 +00aaf7e0 00aaddb0 00aaf7e0 00aadd90 00aaf7e0 EXTERNAL:00000262 -00aaf7e0 EXTERNAL:00000265 -00aaf7e0 00aaf6b0 00aaf9d0 00abd870 00aaf9d0 00abd900 00aafd80 00a64610 -00aafdb0 008c5d50 00aafdb0 EXTERNAL:00000252 +00aafdb0 008c5d50 00aafe60 00a90f30 00aafe60 00a64610 00aafed0 00aafe60 +00aafed0 EXTERNAL:00000252 00aafed0 00a64660 00aafed0 00a90f30 -00aafed0 00aef12b 00aafed0 00a64710 -00aafed0 008c5d50 -00aafed0 EXTERNAL:00000252 00aafed0 00a64610 +00aafed0 008c5d50 +00aafed0 00aef12b 00ab00b0 00aafe60 +00ab00b0 00a64610 00ab00b0 00aef12b 00ab00b0 00aafed0 00ab00b0 00a63100 -00ab00b0 00a64610 +00ab0330 EXTERNAL:00000252 00ab0330 00aafe60 00ab0330 00a64630 -00ab0330 00a62f10 -00ab0330 008c5d50 -00ab0330 EXTERNAL:00000252 -00ab0330 00aafed0 00ab0330 00a64610 -00ab04d0 008c5d50 +00ab0330 008c5d50 +00ab0330 00a62f10 +00ab0330 00aafed0 00ab04d0 EXTERNAL:00000252 -00ab04d0 00aafed0 00ab04d0 00a64610 +00ab04d0 008c5d50 +00ab04d0 00aafed0 +00ab0540 EXTERNAL:00000252 00ab0540 00aafe60 00ab0540 00a64630 -00ab0540 008c5d50 -00ab0540 EXTERNAL:00000252 -00ab0540 00aafed0 00ab0540 00a64610 +00ab0540 008c5d50 +00ab0540 00aafed0 +00ab06d0 EXTERNAL:00000252 00ab06d0 00aafe60 00ab06d0 00a64630 -00ab06d0 008c5d50 -00ab06d0 EXTERNAL:00000252 -00ab06d0 00aafed0 00ab06d0 00a64610 +00ab06d0 008c5d50 +00ab06d0 00aafed0 +00ab0830 EXTERNAL:00000252 00ab0830 00aafe60 00ab0830 00a64630 -00ab0830 008c5d50 -00ab0830 EXTERNAL:00000252 00ab0830 00aafe40 -00ab0830 00aafed0 00ab0830 00a64610 +00ab0830 008c5d50 +00ab0830 00aafed0 +00ab0fc0 EXTERNAL:00000252 00ab0fc0 00aafe60 00ab0fc0 00a64630 +00ab0fc0 00a64610 00ab0fc0 008c5d50 -00ab0fc0 EXTERNAL:00000252 00ab0fc0 00aefcf0 00ab0fc0 00aafed0 -00ab0fc0 00a64610 +00ab1300 EXTERNAL:00000252 00ab1300 00aafe60 00ab1300 00a64630 +00ab1300 00a64610 +00ab1300 008c5d50 00ab1300 EXTERNAL:00000263 00ab1300 00aef12b -00ab1300 008c5d50 -00ab1300 EXTERNAL:00000252 00ab1300 00aafed0 -00ab1300 00a64610 -00ab1540 00aafe60 -00ab1540 00aef12b -00ab1540 00a64630 -00ab1540 008c5d50 00ab1540 EXTERNAL:00000252 -00ab1540 00aafed0 +00ab1540 00aafe60 +00ab1540 00a64630 00ab1540 00a64610 +00ab1540 008c5d50 +00ab1540 00aef12b +00ab1540 00aafed0 +00ab1740 EXTERNAL:00000252 00ab1740 00aafe60 00ab1740 00a64630 -00ab1740 EXTERNAL:00000263 -00ab1740 008c5d50 -00ab1740 EXTERNAL:00000252 -00ab1740 00aafed0 00ab1740 00a64610 -00ab18e0 00aafe60 -00ab18e0 00aef12b -00ab18e0 00a64630 -00ab18e0 008c5d50 +00ab1740 008c5d50 +00ab1740 EXTERNAL:00000263 +00ab1740 00aafed0 00ab18e0 EXTERNAL:00000252 -00ab18e0 00aafed0 +00ab18e0 00aafe60 +00ab18e0 00a64630 00ab18e0 00a64610 -00ab1a50 00aafe60 -00ab1a50 00aef12b -00ab1a50 00a64630 -00ab1a50 008c5d50 +00ab18e0 008c5d50 +00ab18e0 00aef12b +00ab18e0 00aafed0 00ab1a50 EXTERNAL:00000252 -00ab1a50 00aafed0 +00ab1a50 00aafe60 +00ab1a50 00a64630 00ab1a50 00a64610 +00ab1a50 008c5d50 +00ab1a50 00aef12b +00ab1a50 00aafed0 +00ab1bc0 EXTERNAL:00000252 00ab1bc0 00aafe60 00ab1bc0 00a64630 -00ab1bc0 EXTERNAL:00000263 -00ab1bc0 008c5d50 00ab1bc0 00a631f0 -00ab1bc0 EXTERNAL:00000252 +00ab1bc0 00a64610 +00ab1bc0 008c5d50 +00ab1bc0 EXTERNAL:00000263 00ab1bc0 00aafed0 00ab1bc0 EXTERNAL:00000262 -00ab1bc0 00a64610 -00ab1ef0 00aafe60 -00ab1ef0 00aef12b -00ab1ef0 008c5d50 00ab1ef0 EXTERNAL:00000252 -00ab1ef0 00aafed0 +00ab1ef0 00aafe60 00ab1ef0 00a64610 +00ab1ef0 008c5d50 +00ab1ef0 00aef12b +00ab1ef0 00aafed0 00ab2040 00aafe60 -00ab2040 EXTERNAL:00000263 00ab2040 00a63390 +00ab2040 00a64610 +00ab2040 EXTERNAL:00000263 00ab2040 00aafed0 00ab2040 EXTERNAL:00000262 -00ab2040 00a64610 +00ab2140 00aafe60 +00ab2140 00a63390 +00ab2140 00a64630 +00ab2140 00a64610 +00ab2140 008c5d50 +00ab2140 00aef12b 00ab2140 00420a80 -00ab2140 EXTERNAL:00000263 +00ab2140 EXTERNAL:00000262 +00ab2140 EXTERNAL:00000252 00ab2140 00af05df 00ab2140 00abd870 -00ab2140 008c5d50 -00ab2140 00aaf9d0 -00ab2140 EXTERNAL:00000252 -00ab2140 00a63390 +00ab2140 EXTERNAL:00000263 00ab2140 00aafed0 -00ab2140 EXTERNAL:00000262 -00ab2140 00a64610 -00ab2140 00aafe60 -00ab2140 00aef12b -00ab2140 00a64630 +00ab2140 00aaf9d0 00ab2580 00a64710 00ab2580 00aafed0 00ab2620 00af05df @@ -61663,26 +61663,26 @@ 00ab28f0 00aef12b 00ab2d80 00a64610 00ab3120 00aafe60 -00ab3120 00af05e5 -00ab3120 00aaf9d0 -00ab3120 00aafed0 -00ab3120 00a64610 00ab3120 00aaf6b0 -00ab33f0 EXTERNAL:00000263 +00ab3120 00af05e5 +00ab3120 00a64610 +00ab3120 00aafed0 +00ab3120 00aaf9d0 00ab33f0 00af05e5 00ab33f0 00a97730 00ab33f0 00a64610 +00ab33f0 EXTERNAL:00000263 00ab3640 00af05df 00ab3690 EXTERNAL:00000263 00ab3810 EXTERNAL:00000263 -00ab3900 00ab3810 00ab3900 00ab3690 -00ab3b30 00ab3810 +00ab3900 00ab3810 00ab3b30 00ab3690 +00ab3b30 00ab3810 00ab3bf0 00ab3690 00ab3c60 00ab3690 -00ab3cd0 00ab3900 00ab3cd0 00ab3b30 +00ab3cd0 00ab3900 00ab4090 00ab3f20 00ab4090 00af05e5 00ab4220 00ab3ff0 @@ -61690,78 +61690,78 @@ 00ab4370 EXTERNAL:00000262 00ab4480 EXTERNAL:00000262 00ab4a00 00ab4850 -00ab4b10 00ab4a00 00ab4b10 00ab45a0 +00ab4b10 00ab4a00 00ab4d40 00af05df 00ab4d40 00af05e5 00ab4eb0 00af05df -00ab5960 00ab5560 00ab5960 00ab5480 +00ab5960 00ab5560 00ab5b30 00af05df 00ab5b30 00af05e5 -00ab5cc0 00af05e5 -00ab5cc0 00abe750 -00ab5cc0 00ab5480 -00ab5cc0 00ac21c0 -00ab5cc0 00abed70 -00ab5cc0 00abe4f0 -00ab5cc0 00ac71d0 -00ab5cc0 00ac99f0 -00ab5cc0 00ab5960 -00ab5cc0 00ab5b30 00ab5cc0 00ab5200 -00ab5cc0 00ac4ac0 +00ab5cc0 00ab5480 00ab5cc0 00acac20 +00ab5cc0 00ab5b30 +00ab5cc0 00af05e5 +00ab5cc0 00abe4f0 +00ab5cc0 00abed70 +00ab5cc0 00ac4ac0 +00ab5cc0 00ab5960 00ab5cc0 00ac1280 +00ab5cc0 00ac71d0 +00ab5cc0 00abe750 +00ab5cc0 00ac21c0 00ab5cc0 00aca570 +00ab5cc0 00ac99f0 00ab6a80 00acdf70 -00ab6a80 00acde90 -00ab6a80 00acd900 00ab6a80 00acdbc0 +00ab6a80 00acd900 +00ab6a80 00acde90 00ab6bc0 00acdf70 -00ab6bc0 00acd680 -00ab6bc0 00acdcb0 00ab6bc0 00acd240 +00ab6bc0 00acdcb0 +00ab6bc0 00acd680 00ab6d00 00acdf70 00ab6d00 00acd7c0 00ab6d00 00acdad0 00ab6d00 00acddb0 00ab6ee0 EXTERNAL:00000261 00ab6ee0 EXTERNAL:00000262 -00ab7220 00ab8230 +00ab7220 EXTERNAL:00000265 00ab7220 EXTERNAL:00000263 +00ab7220 00ab8230 00ab7220 00ab7120 00ab7220 EXTERNAL:00000262 -00ab7220 EXTERNAL:00000265 -00ab75d0 00ab70d0 00ab75d0 00ab7010 +00ab75d0 00ab70d0 +00ab7750 00ab7010 00ab7750 00ab70d0 00ab7750 00af0720 -00ab7750 00ab7010 00ab7a40 00ab75d0 -00ab7c00 00ab70d0 00ab7c00 00ab7010 -00ab7e70 00ab70d0 +00ab7c00 00ab70d0 00ab7e70 00ab7010 -00ab8090 EXTERNAL:00000263 +00ab7e70 00ab70d0 00ab8090 00af05e5 +00ab8090 EXTERNAL:00000263 00ab8090 EXTERNAL:00000262 -00ab8230 00af0917 00ab8230 00af08ff -00ab82e0 00ab8230 +00ab8230 00af0917 00ab82e0 EXTERNAL:000001fb 00ab82e0 EXTERNAL:00000265 +00ab82e0 00ab8230 00ab85c0 00af05e5 00ab85c0 EXTERNAL:00000262 00ab8650 00ab8090 -00ab8650 EXTERNAL:00000263 00ab8650 00ab85c0 +00ab8650 EXTERNAL:00000265 00ab8650 00af05e5 -00ab8650 00ab82e0 00ab8650 EXTERNAL:00000267 00ab8650 00af0720 +00ab8650 EXTERNAL:00000263 +00ab8650 00ab82e0 00ab8650 EXTERNAL:00000262 -00ab8650 EXTERNAL:00000265 00ab8b30 00af0720 00ab8cc0 00af0720 00ab9270 00af0720 @@ -61769,39 +61769,39 @@ 00ab9660 00ab8b30 00ab9660 00af0720 00ab9cd0 00af0770 -00ab9cd0 00af0917 -00ab9cd0 00af090b 00ab9cd0 EXTERNAL:00000267 00ab9cd0 00af0720 -00aba020 00af05df -00aba020 00af05e5 -00aba020 00ab9c40 +00ab9cd0 00af0917 +00ab9cd0 00af090b 00aba020 00ab9cd0 +00aba020 00af05df +00aba020 00ab9c40 +00aba020 00af05e5 00aba020 00af0720 00aba8b0 00af05e5 -00aba8b0 00aba9a3 00aba8b0 00a0f4e0 +00aba8b0 00aba9a3 00aba9a3 00aef12b 00aba9d0 00a648b0 00aba9d0 00aef15c 00abaa50 00af05df -00abab70 00af0770 00abab70 00af0905 +00abab70 00af0770 00abab70 EXTERNAL:00000263 -00abab70 00af0917 00abab70 00af08f9 00abab70 00af08e7 -00abb240 00abae50 +00abab70 00af0917 00abb240 00abb0a0 -00abb900 00abb750 +00abb240 00abae50 00abb900 00abb240 +00abb900 00abb750 +00abbc60 00abb240 00abbc60 00af0720 00abbc60 00abb750 -00abbc60 00abb240 00abc500 00af0905 00abc500 00af08e7 -00abd410 00abbe90 00abd410 00abc0b0 +00abd410 00abbe90 00abd410 00abc500 00abd900 00ad41d0 00abe4f0 00aef12b @@ -61816,43 +61816,43 @@ 00ac1240 00ac0bf0 00ac1260 00ac0e80 00ac1410 00ac2430 -00ac1750 00aef12b 00ac1750 00ac16c0 -00ac1750 00ac2780 00ac1750 00ac28a0 +00ac1750 00ac2780 +00ac1750 00aef12b 00ac19c0 00ac16c0 -00ac19c0 00ac2780 00ac19c0 00ac28a0 +00ac19c0 00ac2780 00ac1c00 00ac16c0 00ac1c00 00ac2780 -00ac1cf0 00aef12b 00ac1cf0 00ac16c0 -00ac1cf0 00ac2780 00ac1cf0 00ac28a0 +00ac1cf0 00ac2780 +00ac1cf0 00aef12b 00ac21c0 00af05df 00ac21c0 00af05e5 00ac22c0 00ac2430 -00ac2430 00aef12b 00ac2430 00af05e5 00ac2430 00aef86f +00ac2430 00aef12b 00ac28a0 00ac2780 -00ac2980 00aef12b -00ac2980 00ac2780 00ac2980 00ac28a0 +00ac2980 00ac2780 +00ac2980 00aef12b 00ac2da0 00aef12b 00ac3450 00ac2980 00ac3450 00ac2da0 00ac39d0 00ac35e0 -00ac3bb0 00ac35e0 00ac3bb0 00ac39d0 +00ac3bb0 00ac35e0 00ac3dc0 00aef12b 00ac4060 00aef12b -00ac42c0 00aef12b -00ac42c0 00ac3dc0 00ac42c0 00ac4060 -00ac43f0 00aef12b -00ac43f0 00ac3dc0 +00ac42c0 00ac3dc0 +00ac42c0 00aef12b 00ac43f0 00ac4060 +00ac43f0 00ac3dc0 +00ac43f0 00aef12b 00ac4600 00ac42c0 00ac4950 00ac3bb0 00ac4980 00af05e5 @@ -61879,8 +61879,8 @@ 00ac71d0 00af05e5 00ac7390 00ac2430 00ac7550 00af05e5 -00ac7550 00ac2780 00ac7550 00ac28a0 +00ac7550 00ac2780 00ac8360 00ab3640 00ac9830 00ac8ca0 00ac9850 00ac8f50 @@ -61893,20 +61893,20 @@ 00aca170 00aef12b 00aca440 00af05df 00acac20 00af05e5 -00acbc10 EXTERNAL:0000021c -00acbc10 00a6b570 -00acbc10 00a263e0 -00acbc10 00a82d40 -00acbc10 00a83290 00acbc10 00a83b90 -00acbc10 00acc370 00acbc10 00a83d20 -00acbe10 00acbeb0 -00acbe10 00acbf30 +00acbc10 00acc370 +00acbc10 00a263e0 +00acbc10 00a6b570 +00acbc10 00a83290 +00acbc10 EXTERNAL:0000021c +00acbc10 00a82d40 00acbe10 00acbbd0 +00acbe10 00acbf30 +00acbe10 00acbeb0 00acbf30 EXTERNAL:0000021c -00acc010 00acbf30 00acc010 00acbb40 +00acc010 00acbf30 00acc100 00a6a710 00acc340 00a6a710 00acc370 00acc100 @@ -61915,140 +61915,140 @@ 00acc4d0 00a69f60 00acc7c0 00a6c340 00acc840 00a69f60 -00acc8f0 00af05df 00acc8f0 00af08ff -00acc8f0 00af0800 -00acc8f0 00a6c200 00acc8f0 EXTERNAL:00000203 +00acc8f0 00af05df +00acc8f0 00a6c200 +00acc8f0 00af0800 00acca40 00af05df 00acca40 00a69f60 00accb90 00accab0 00accdd0 00accab0 00acd000 00accab0 -00acd240 00aeff60 00acd240 00acdad0 +00acd240 00aeff60 00acd240 00acda40 00acd2c0 00af05df -00acd2c0 00aef12b 00acd2c0 00af05e5 +00acd2c0 00aef12b 00acd2c0 00acddb0 00acd400 00af05df -00acd400 00aef12b 00acd400 00af05e5 00acd400 00acde90 +00acd400 00aef12b 00acd540 00af05df -00acd540 00aef12b 00acd540 00af05e5 00acd540 00acdcb0 +00acd540 00aef12b 00acd680 00af05df -00acd680 00aef12b 00acd680 00af05e5 00acd680 00acd240 +00acd680 00aef12b 00acd7c0 00af05df -00acd7c0 00aef12b 00acd7c0 00af05e5 00acd7c0 00acdad0 +00acd7c0 00aef12b 00acd900 00af05df -00acd900 00aef12b -00acd900 00af05e5 00acd900 00acdbc0 +00acd900 00af05e5 +00acd900 00aef12b 00acdf70 EXTERNAL:00000269 00ace280 00af05e5 00ace280 EXTERNAL:00000262 00ace2b0 EXTERNAL:00000262 -00ace310 EXTERNAL:00000263 00ace310 00af05e5 +00ace310 EXTERNAL:00000263 00ace310 00ab7120 00ace310 EXTERNAL:00000262 00ace410 EXTERNAL:00000265 +00ace450 00aaca80 00ace450 00ab7c00 00ace450 00ab7120 -00ace450 00aaca80 00ace590 00af08e1 +00ace590 00adb7d0 +00ace590 00af05e5 00ace590 EXTERNAL:00000263 00ace590 00af0917 -00ace590 00af05e5 -00ace590 00adb7d0 00ace810 00af05e5 00ace810 EXTERNAL:00000262 00ace840 00ab6ee0 +00ace9c0 EXTERNAL:00000265 00ace9c0 00af05e5 00ace9c0 00ab7120 00ace9c0 EXTERNAL:00000262 -00ace9c0 EXTERNAL:00000265 -00acebf0 EXTERNAL:00000263 -00acebf0 00ab9270 -00acebf0 00af05e5 -00acebf0 00ad2c00 -00acebf0 00abab50 -00acebf0 00ab9af0 -00acebf0 00ab9660 -00acebf0 00af0720 00acebf0 00aaca80 -00acebf0 00ad29e0 -00acebf0 00aba020 -00acebf0 00ab6ee0 -00acebf0 00abd410 -00acebf0 00abbc60 00acebf0 00ad23f0 +00acebf0 00af05e5 +00acebf0 00ab6ee0 +00acebf0 00ad2c00 +00acebf0 00af0720 00acebf0 00abd630 -00acf890 00af05e5 +00acebf0 00aba020 +00acebf0 00ab9af0 +00acebf0 00abd410 +00acebf0 EXTERNAL:00000263 +00acebf0 00ab9660 +00acebf0 00ad29e0 +00acebf0 00abab50 +00acebf0 00ab9270 +00acebf0 00abbc60 00acf890 00abb900 +00acf890 00af05e5 00acf890 00af0720 00acfb90 00af05e5 00acfb90 EXTERNAL:00000262 00acfbc0 00af05e5 00acfbc0 EXTERNAL:00000262 00acfc30 00ab6ee0 +00acfd30 EXTERNAL:00000265 00acfd30 00af05e5 00acfd30 00ab7120 00acfd30 EXTERNAL:00000262 -00acfd30 EXTERNAL:00000265 -00acff00 EXTERNAL:00000263 00acff00 EXTERNAL:00000265 +00acff00 EXTERNAL:00000263 00ad0520 00ab6ee0 00ad0520 00ad0120 -00ad05b0 00ab6ee0 00ad05b0 00ad0520 -00ad0790 EXTERNAL:00000263 +00ad05b0 00ab6ee0 00ad0790 00ab75d0 00ad0790 00af0720 +00ad0790 EXTERNAL:00000263 00ad0a20 00ad0790 00ad0a80 00ad05b0 -00ad0ae0 EXTERNAL:00000263 00ad0ae0 00af05e5 +00ad0ae0 EXTERNAL:00000263 00ad0e10 00ad0790 -00ad0e70 EXTERNAL:00000263 00ad0e70 00af05e5 +00ad0e70 EXTERNAL:00000263 00ad1110 00aaca80 00ad1110 00ad05b0 -00ad11e0 00ab7e70 -00ad11e0 00ab75d0 00ad11e0 00aaca80 +00ad11e0 00ab75d0 +00ad11e0 00ab7e70 00ad1380 00af05e5 00ad1380 EXTERNAL:00000262 00ad13b0 00af05e5 00ad13b0 EXTERNAL:00000262 00ad13e0 00ab6ee0 -00ad15f0 00af05e5 +00ad15f0 EXTERNAL:00000265 00ad15f0 EXTERNAL:00000267 +00ad15f0 00af05e5 00ad15f0 00ab7120 00ad15f0 EXTERNAL:00000262 -00ad15f0 EXTERNAL:00000265 00ad1f00 00af0770 00ad1f00 00af0917 -00ad23f0 EXTERNAL:0000021a -00ad23f0 EXTERNAL:00000263 -00ad23f0 00aeff60 -00ad23f0 00ad1f00 -00ad23f0 00ad1d70 00ad23f0 00ad21d0 +00ad23f0 EXTERNAL:00000263 +00ad23f0 00ad1f00 +00ad23f0 EXTERNAL:0000021a +00ad23f0 00ad1d70 +00ad23f0 00aeff60 00ad29e0 00aaca80 -00ad2c00 00af05e5 00ad2c00 00ab6ee0 +00ad2c00 00af05e5 +00ad3220 00aaca80 00ad3220 00ab75d0 00ad3220 00ab7120 -00ad3220 00aaca80 00ad3530 00af05e5 00ad38f0 00ad37e0 00ad3910 00ad37e0 @@ -62080,82 +62080,82 @@ 00adab90 00aef12b 00adae20 00aef12b 00adb2c0 00aef12b -00adb7d0 00af090b 00adb7d0 00af08e7 00adb7d0 00af08ed +00adb7d0 00af090b 00adbdd0 EXTERNAL:00000263 +00adbed0 00ae2740 00adbed0 00af05e5 00adbed0 00ae25e0 -00adbed0 00ae2740 -00adc0e0 00ae25e0 -00adc0e0 00ae2740 00adc0e0 00ae25a0 +00adc0e0 00ae2740 +00adc0e0 00ae25e0 +00adc4c0 00ae2740 00adc4c0 00af05e5 00adc4c0 00ae25e0 -00adc4c0 00ae2740 -00adcaa0 00ade750 00adcaa0 00af05df -00adcaa0 00ade460 00adcaa0 00af05e5 +00adcaa0 00ade750 +00adcaa0 00ade460 00adcd70 00addab0 -00add260 00ae2b00 -00add260 00ae2200 -00add260 EXTERNAL:00000263 00add260 00ae2ad0 00add260 00ae19b0 +00add260 00ae2b00 +00add260 00ae2200 00add260 00ae1100 -00add490 00ae2740 +00add260 EXTERNAL:00000263 00add490 00ae25a0 -00add7a0 EXTERNAL:00000263 -00add7a0 00af05e5 +00add490 00ae2740 00add7a0 00adbe40 +00add7a0 00af05e5 +00add7a0 EXTERNAL:00000263 00add7a0 EXTERNAL:00000262 -00ade980 00adbdd0 -00ade980 00add260 00ade980 00adbdb0 +00ade980 00add260 +00ade980 00adbdd0 00ade9f0 00aefc70 00adeb70 00ae2ad0 00adeb70 00adbdb0 00adeb70 00ae1100 00adeb70 EXTERNAL:00000262 00adebd0 00ae0fa0 -00adebd0 00ae25e0 +00adebd0 00adbe40 +00adebd0 00ae2740 00adebd0 00af05e5 00adebd0 00adc740 -00adebd0 00ae1060 -00adebd0 00add490 -00adebd0 00adc4c0 -00adebd0 00ae2630 -00adebd0 00adbe40 +00adebd0 00add7a0 +00adebd0 00ae25a0 +00adebd0 00aefc50 +00adebd0 00adcd70 00adebd0 00adbed0 +00adebd0 00ae2630 +00adebd0 00add490 00adebd0 00add000 00adebd0 00adcaa0 +00adebd0 00ae25e0 00adebd0 00adc0e0 -00adebd0 00adcd70 -00adebd0 00ae2740 -00adebd0 00aefc50 -00adebd0 00ae25a0 -00adebd0 00add7a0 +00adebd0 00adc4c0 +00adebd0 00ae1060 00adf8c0 00adbe40 00adf8f0 EXTERNAL:00000262 00adf950 00af05e5 00adf970 00af05e5 -00adf9a0 00adff50 00adf9a0 00ae2580 00adf9a0 EXTERNAL:00000263 +00adf9a0 00adff50 00adf9a0 00ae25e0 00adf9a0 00adff90 -00adfbc0 00ae25e0 00adfbc0 00ae2ad0 -00adfbc0 00adf8f0 -00adfbc0 00ae2e70 -00adfbc0 00ae2d60 00adfbc0 00adf9a0 -00adfbc0 00adf950 -00adfbc0 00ae2bf0 -00adfbc0 EXTERNAL:00000262 -00adfbc0 00adfdd0 +00adfbc0 00adf8f0 00adfbc0 EXTERNAL:00000265 +00adfbc0 00adfdd0 +00adfbc0 00ae2d60 +00adfbc0 00ae2bf0 +00adfbc0 00adf950 +00adfbc0 00ae2e70 +00adfbc0 00ae25e0 +00adfbc0 EXTERNAL:00000262 00adfdd0 00ae2580 00adfdd0 00ae25e0 00adff50 00ae25e0 @@ -62171,153 +62171,153 @@ 00ae1100 00adbdb0 00ae1100 EXTERNAL:00000262 00ae12e0 EXTERNAL:00000262 -00ae1330 EXTERNAL:00000263 -00ae1330 00af05e5 -00ae1330 00ae0b90 00ae1330 EXTERNAL:00000265 +00ae1330 00af05e5 +00ae1330 EXTERNAL:00000263 +00ae1330 00ae0b90 +00ae19b0 00ae1cf0 00ae19b0 00ae1330 00ae19b0 00ae12e0 00ae19b0 00af05e5 -00ae19b0 00ae1cf0 00ae19b0 00ae3150 -00ae1b60 00ae05b0 00ae1b60 00ae0200 -00ae1cf0 EXTERNAL:00000263 +00ae1b60 00ae05b0 +00ae1cf0 00adbdb0 00ae1cf0 00adbdd0 00ae1cf0 00adbe40 -00ae1cf0 00adbdb0 +00ae1cf0 EXTERNAL:00000263 00ae1cf0 EXTERNAL:00000262 -00ae2060 00aefc70 00ae2060 00aefc50 +00ae2060 00aefc70 00ae2110 00aefe80 -00ae2110 00aefc70 00ae2110 00aefc50 +00ae2110 00aefc70 00ae25a0 00ae2660 00ae25e0 00ae2660 00ae26e0 00ae26e0 00ae27f0 00ae26e0 00ae2a60 00ae2a60 00ae2ad0 EXTERNAL:00000262 -00ae2b00 EXTERNAL:00000263 00ae2b00 00af05df +00ae2b00 EXTERNAL:00000263 00ae2b00 00ae2a60 00ae2b00 EXTERNAL:00000262 +00ae2bf0 00ae25a0 00ae2bf0 00ae2580 +00ae2bf0 00ae27f0 00ae2bf0 EXTERNAL:00000263 00ae2bf0 00ae25e0 -00ae2bf0 00ae27f0 -00ae2bf0 00ae25a0 00ae2d60 EXTERNAL:00000262 -00ae2e70 EXTERNAL:00000263 -00ae2e70 00af05df -00ae2e70 00adbe20 -00ae2e70 00ae25e0 00ae2e70 00ae25a0 +00ae2e70 00af05df +00ae2e70 EXTERNAL:00000263 +00ae2e70 00ae25e0 +00ae2e70 00adbe20 00ae2e70 EXTERNAL:00000262 -00ae3150 00ae4210 00ae3150 00ae0b30 +00ae3150 00ae4210 00ae3b90 00ae39c0 00ae3b90 00ae3a70 -00ae3dc0 00ae3f40 -00ae3dc0 00ae3b90 00ae3dc0 00ae39c0 +00ae3dc0 00ae3b90 +00ae3dc0 00ae3f40 00ae3f40 00ae3830 -00ae4210 00ae4450 -00ae4210 00ae4410 00ae4210 00ae44b0 00ae4210 00ae4430 +00ae4210 00ae4450 +00ae4210 00ae4410 00ae4830 00ae4bf0 -00ae5260 00ae46e0 00ae5260 00ae4750 +00ae5260 00ae46e0 00ae5260 00ae1900 00ae5260 00ae4630 00ae5260 00ae4830 -00ae59b0 EXTERNAL:00000221 -00ae59b0 00ae8090 00ae59b0 00ae5d10 -00ae59b0 00ae81b0 +00ae59b0 00ae8090 00ae59b0 00ae88d0 -00ae5a90 00ae8400 -00ae5a90 00ae84f0 +00ae59b0 EXTERNAL:00000221 +00ae59b0 00ae81b0 00ae5a90 00ae7510 00ae5a90 00ae95f0 -00ae5bd0 00ae8330 +00ae5a90 00ae84f0 +00ae5a90 00ae8400 00ae5bd0 00ae9090 -00ae5bd0 00ae8fb0 +00ae5bd0 00ae8330 00ae5bd0 00ae9280 +00ae5bd0 00ae8fb0 00ae5d10 00ae5bd0 +00ae5e40 00ae8110 00ae5e40 00af05e5 00ae5e40 00ae8f50 -00ae5e40 00ae8110 00ae5fd0 00ae5ff0 -00ae5ff0 00ae8820 -00ae5ff0 00af05e5 -00ae5ff0 00ae7930 -00ae5ff0 00ae8580 -00ae5ff0 00ae8f50 00ae5ff0 00ae8110 +00ae5ff0 00ae7930 00ae5ff0 00ae79e0 00ae5ff0 00ae8300 +00ae5ff0 00af05e5 +00ae5ff0 00ae8f50 +00ae5ff0 00ae8820 +00ae5ff0 00ae8580 00ae6230 00ae8820 00ae6230 00ae5ff0 -00ae6300 00ae8140 00ae6300 00ae7930 -00ae6300 00ae5e40 00ae6300 00ae8550 -00ae6400 00ae8140 +00ae6300 00ae8140 +00ae6300 00ae5e40 00ae6400 00ae7930 -00ae6400 00ae5e40 00ae6400 00ae8550 -00ae6510 00ae9b10 -00ae6510 00ae6850 +00ae6400 00ae8140 +00ae6400 00ae5e40 +00ae6510 00aecf20 00ae6510 00aecdf0 -00ae6510 00aeb0f0 00ae6510 00aece40 00ae6510 00aea9a0 -00ae6510 00aecf20 -00ae6510 00aeb040 +00ae6510 00ae9b10 +00ae6510 00ae6850 00ae6510 0040c200 +00ae6510 00aeb0f0 +00ae6510 00aeb040 00ae65f0 00ae5ba0 00ae6610 00aea1b0 -00ae6630 00ae9b10 -00ae6630 00ae6850 +00ae6630 00aecf20 00ae6630 00aecdf0 -00ae6630 00aeb0f0 00ae6630 00aece40 00ae6630 00aea9a0 -00ae6630 00aecf20 -00ae6630 00aeb040 +00ae6630 00ae9b10 +00ae6630 00ae6850 00ae6630 0040c200 +00ae6630 00aeb0f0 +00ae6630 00aeb040 00ae6730 00aeff45 00ae6730 00ae7470 00ae6730 00ae9ae0 +00ae67e0 00aed1b0 00ae67e0 00aed1f0 00ae67e0 00aed180 -00ae67e0 00aed1b0 00ae6830 00aed5c0 00ae68b0 00aeff45 00ae68b0 00ae6630 00ae6920 00ae6630 -00ae6960 00ae9b10 -00ae6960 00aed5c0 -00ae6960 00af05e5 -00ae6960 00aed2c0 -00ae6960 00aed180 -00ae6960 00aea9a0 -00ae6960 00aecf20 -00ae6960 00aed1b0 -00ae6960 0040c200 -00ae6960 00aecf90 -00ae6960 00aed1f0 00ae6960 00ae6730 00ae6960 00aecdf0 -00ae6960 00aece40 +00ae6960 00af05e5 +00ae6960 00aea9a0 +00ae6960 00aed5c0 +00ae6960 00aed2c0 +00ae6960 00aed180 00ae6960 00aeb040 -00ae6b50 00aeff45 +00ae6960 00aecf20 +00ae6960 00aed1b0 +00ae6960 00aece40 +00ae6960 00ae9b10 +00ae6960 00aed1f0 +00ae6960 00aecf90 +00ae6960 0040c200 00ae6b50 00ae9f10 -00ae6b80 00aeff45 +00ae6b50 00aeff45 00ae6b80 00ae9f10 00ae6b80 00ae6dc0 +00ae6b80 00aeff45 00ae6b80 00aea220 00ae6b80 00aea1b0 00ae6c70 00aeff45 @@ -62325,108 +62325,108 @@ 00ae6cd0 00aeff45 00ae6cd0 00aed000 00ae6d30 00aeff45 -00ae6d30 00aed000 00ae6d30 00af05e5 +00ae6d30 00aed000 00ae6dc0 00aed000 -00ae6e10 00aed000 00ae6e10 00af05e5 +00ae6e10 00aed000 00ae6ea0 00aed000 -00ae6ee0 00aed000 00ae6ee0 00af05e5 +00ae6ee0 00aed000 00ae6f50 00aed000 00ae6f50 00ae7340 00ae6f80 00aed000 00ae6f80 00ae7340 00ae6fb0 00aeb230 +00ae7060 00aed570 00ae7060 00aed1f0 00ae7060 00aed510 00ae7060 00aed410 -00ae7060 00aed570 +00ae70e0 00aeb3f0 +00ae70e0 00ae73c0 00ae70e0 00af05df -00ae70e0 00aed000 00ae70e0 00af05e5 00ae70e0 00ae7470 -00ae70e0 00ae73c0 -00ae70e0 00aeb3f0 -00ae7250 00aed410 -00ae7250 00aed570 +00ae70e0 00aed000 00ae7250 00aeb3f0 +00ae7250 00aed570 00ae7250 00ae6fb0 -00ae7340 00aed000 +00ae7250 00aed410 00ae7340 00af05e5 +00ae7340 00aed000 00ae73c0 00aeb3f0 -00ae7470 00aed410 00ae7470 00ae7250 +00ae7470 00aed410 00ae74f0 00ae70e0 -00ae7510 00ae9b10 -00ae7510 00ae7fe0 -00ae7510 00ae7e50 -00ae7510 0041d4c0 -00ae7510 00ae80d0 -00ae7510 EXTERNAL:00000253 -00ae7510 00ae7b70 00ae7510 00ae7fb0 +00ae7510 EXTERNAL:00000253 +00ae7510 00ae80d0 +00ae7510 00ae9b10 +00ae7510 0041d4c0 +00ae7510 00ae7fe0 +00ae7510 00ae7b70 +00ae7510 00ae7e50 +00ae76c0 EXTERNAL:00000252 +00ae76c0 00ae7fb0 +00ae76c0 EXTERNAL:00000253 +00ae76c0 0041d4c0 00ae76c0 00ae7fe0 00ae76c0 00ae7e50 -00ae76c0 0041d4c0 -00ae76c0 EXTERNAL:00000252 -00ae76c0 EXTERNAL:00000253 -00ae76c0 00ae7fb0 -00ae7780 00ae7e50 -00ae7780 00ae7fe0 00ae7780 EXTERNAL:00000252 00ae7780 00ae7fb0 -00ae7810 EXTERNAL:000000df -00ae7810 EXTERNAL:000000dd +00ae7780 00ae7fe0 +00ae7780 00ae7e50 00ae7810 00ae7930 -00ae7810 00ae9b30 +00ae7810 EXTERNAL:000000dd +00ae7810 EXTERNAL:000000df 00ae7810 00ae7b70 -00ae7930 00ae7fe0 -00ae7930 00ae7e50 -00ae7930 0041d4c0 -00ae7930 EXTERNAL:00000253 -00ae7930 00ae7b70 +00ae7810 00ae9b30 00ae7930 00ae7fb0 -00ae79e0 00ae9b10 -00ae79e0 00ae7fe0 -00ae79e0 00ae7e50 -00ae79e0 0041d4c0 -00ae79e0 00ae80d0 -00ae79e0 EXTERNAL:00000253 -00ae79e0 00ae7b70 +00ae7930 EXTERNAL:00000253 +00ae7930 0041d4c0 +00ae7930 00ae7fe0 +00ae7930 00ae7b70 +00ae7930 00ae7e50 00ae79e0 00ae7fb0 -00ae7b70 EXTERNAL:000000de -00ae7b70 00af05d9 -00ae7b70 EXTERNAL:0000023a +00ae79e0 EXTERNAL:00000253 +00ae79e0 00ae80d0 +00ae79e0 00ae9b10 +00ae79e0 0041d4c0 +00ae79e0 00ae7fe0 +00ae79e0 00ae7b70 +00ae79e0 00ae7e50 00ae7b70 00ae79e0 +00ae7b70 EXTERNAL:0000023a +00ae7b70 00af05d9 00ae7b70 EXTERNAL:0000023d +00ae7b70 EXTERNAL:000000de 00ae7b70 00ae9b30 00ae7e50 00af05df 00ae7ed0 00af05df -00ae7ed0 EXTERNAL:000000df 00ae7ed0 EXTERNAL:000000dd +00ae7ed0 EXTERNAL:000000df 00ae7ed0 00ae9b30 00ae8000 00ae7b70 00ae8040 00ae7b70 00ae8090 00ae7b70 -00ae80d0 0041d4c0 00ae80d0 EXTERNAL:00000253 -00ae8110 00ae85d0 +00ae80d0 0041d4c0 00ae8110 00ae8ad0 -00ae8140 00ae8c00 +00ae8110 00ae85d0 00ae8140 00ae85d0 -00ae81b0 00ae8c00 -00ae81b0 00ae85d0 +00ae8140 00ae8c00 00ae81b0 00ae8400 -00ae8330 EXTERNAL:000000e0 -00ae8330 00aedf30 -00ae8330 00aedec0 -00ae8330 EXTERNAL:00000115 +00ae81b0 00ae85d0 +00ae81b0 00ae8c00 00ae8330 00ae79e0 -00ae8400 00aedf10 -00ae8400 EXTERNAL:00000115 +00ae8330 EXTERNAL:000000e0 +00ae8330 EXTERNAL:00000115 +00ae8330 00aedec0 +00ae8330 00aedf30 00ae8400 00ae79e0 00ae8400 EXTERNAL:000000db +00ae8400 EXTERNAL:00000115 +00ae8400 00aedf10 00ae84c0 00ae85d0 00ae84c0 00ae8da0 00ae84f0 00ae85d0 @@ -62434,54 +62434,54 @@ 00ae8550 00ae85d0 00ae8550 00ae8da0 00ae8580 00ae8da0 -00ae8670 EXTERNAL:00000112 -00ae8670 EXTERNAL:0000019e 00ae8670 EXTERNAL:00000107 -00ae8670 EXTERNAL:000000ea -00ae8670 EXTERNAL:00000114 +00ae8670 00ae79e0 00ae8670 EXTERNAL:00000115 00ae8670 EXTERNAL:0000019f -00ae8670 EXTERNAL:000000d9 00ae8670 00ae8090 -00ae8670 EXTERNAL:00000113 -00ae8670 EXTERNAL:00000119 -00ae8670 00ae79e0 00ae8670 EXTERNAL:000001a0 +00ae8670 EXTERNAL:000000ea +00ae8670 EXTERNAL:00000119 +00ae8670 EXTERNAL:0000019e +00ae8670 EXTERNAL:00000113 +00ae8670 EXTERNAL:00000112 +00ae8670 EXTERNAL:000000d9 +00ae8670 EXTERNAL:00000114 00ae8820 EXTERNAL:000000d2 00ae8820 00ae7930 -00ae8820 EXTERNAL:000000d7 00ae8820 00ae8000 +00ae8820 EXTERNAL:000000d7 00ae88d0 EXTERNAL:000000d2 00ae88d0 00ae7930 -00ae88d0 EXTERNAL:000000d7 -00ae88d0 00ae8000 -00ae88d0 EXTERNAL:000000d6 00ae88d0 EXTERNAL:000000dc +00ae88d0 EXTERNAL:000000d6 +00ae88d0 00ae8000 +00ae88d0 EXTERNAL:000000d7 00ae8a10 EXTERNAL:000000e0 -00ae8a10 00aedf30 00ae8a10 EXTERNAL:000000d8 +00ae8a10 00aedf30 +00ae8ad0 00ae8090 +00ae8ad0 00ae79e0 +00ae8ad0 EXTERNAL:00000115 00ae8ad0 00ae8e90 00ae8ad0 00aedf30 -00ae8ad0 00ae8090 -00ae8ad0 EXTERNAL:00000115 -00ae8ad0 00ae79e0 +00ae8c00 00ae79e0 00ae8c00 EXTERNAL:000000e0 -00ae8c00 00aedf30 -00ae8c00 00ae8da0 +00ae8c00 EXTERNAL:00000115 +00ae8c00 00ae8aa0 00ae8c00 00aedec0 00ae8c00 00ae8ad0 -00ae8c00 EXTERNAL:00000115 -00ae8c00 00ae79e0 -00ae8c00 00ae8aa0 -00ae8da0 00aedf10 -00ae8da0 EXTERNAL:00000115 +00ae8c00 00ae8da0 +00ae8c00 00aedf30 00ae8da0 00ae79e0 00ae8da0 EXTERNAL:000000db +00ae8da0 EXTERNAL:00000115 00ae8da0 EXTERNAL:000000da -00ae8e90 EXTERNAL:000000e0 -00ae8e90 EXTERNAL:00000115 -00ae8e90 EXTERNAL:00000119 +00ae8da0 00aedf10 00ae8e90 00ae79e0 +00ae8e90 EXTERNAL:000000e0 +00ae8e90 EXTERNAL:00000119 +00ae8e90 EXTERNAL:00000115 00ae8fb0 00ae97a0 00ae9090 00ae96c0 00ae9280 00ae9860 @@ -62491,43 +62491,43 @@ 00ae9860 00ae90b0 00ae9ae0 EXTERNAL:000000d5 00ae9b40 00ae6510 -00ae9b40 00aedf10 -00ae9b40 00aedf50 -00ae9b40 EXTERNAL:000000d5 -00ae9b40 00ae6960 00ae9b40 00ae84c0 +00ae9b40 EXTERNAL:000000d5 +00ae9b40 00aedf50 +00ae9b40 00ae6960 +00ae9b40 00aedf10 00ae9ca0 00ae9b40 -00ae9cc0 00aea190 00ae9cc0 00ae6610 +00ae9cc0 00aea190 +00ae9d20 00ae68b0 +00ae9d20 00ae8090 +00ae9d20 00ae7930 00ae9d20 00aeef70 00ae9d20 EXTERNAL:000000d1 -00ae9d20 00ae68b0 -00ae9d20 00ae7930 -00ae9d20 00ae8090 00ae9d90 EXTERNAL:000000d4 00ae9d90 EXTERNAL:000000d5 00ae9de0 00ae7930 -00ae9de0 EXTERNAL:000000d5 -00ae9de0 00ae8000 -00ae9de0 00ae8670 00ae9de0 00ae9f10 -00ae9de0 00ae5fd0 -00ae9de0 00ae8090 00ae9de0 00ae6230 -00ae9de0 00ae9cc0 -00ae9de0 00aeefd0 -00ae9de0 00ae6300 -00ae9de0 00ae9d90 00ae9de0 00ae8040 -00ae9f10 00ae9de0 -00ae9f10 00aeff45 -00ae9f10 00aedf30 -00ae9f10 00aea170 -00ae9f10 00ae9cc0 -00ae9f10 EXTERNAL:000000d5 -00ae9f10 00ae7510 +00ae9de0 00aeefd0 +00ae9de0 00ae9d90 +00ae9de0 00ae9cc0 +00ae9de0 00ae8090 +00ae9de0 00ae6300 +00ae9de0 00ae8000 +00ae9de0 EXTERNAL:000000d5 +00ae9de0 00ae8670 +00ae9de0 00ae5fd0 00ae9f10 00ae8110 +00ae9f10 00ae9de0 +00ae9f10 00ae9cc0 +00ae9f10 00ae7510 00ae9f10 00ae6610 +00ae9f10 00aeff45 +00ae9f10 00aea170 +00ae9f10 EXTERNAL:000000d5 +00ae9f10 00aedf30 00aea110 EXTERNAL:000000f4 00aea170 00aea6b0 00aea190 00aea6b0 @@ -62536,158 +62536,158 @@ 00aea220 00af05e5 00aea220 00aea2a0 00aea540 00af05e5 +00aea6b0 00ae79e0 00aea6b0 00aea540 00aea6b0 00af05c1 00aea6b0 00aea110 -00aea6b0 00ae79e0 +00aea9b0 00ae88d0 +00aea9b0 00ae9440 00aea9b0 00ae8820 00aea9b0 00ae9590 -00aea9b0 00ae9440 -00aea9b0 00ae88d0 -00aeab10 00ae8820 -00aeab10 00ae9590 -00aeab10 00aeae80 -00aeab10 00aeb020 00aeab10 00ae8090 -00aeab10 00ae9180 00aeab10 00ae88d0 -00aeab10 00ae8000 00aeab10 00aead90 +00aeab10 00ae8000 +00aeab10 00ae8820 +00aeab10 00aeae80 +00aeab10 00ae9180 00aeab10 00aede40 +00aeab10 00ae9590 +00aeab10 00aeb020 00aead90 00aeb1a0 00aead90 00ae8400 00aeae50 00ae5ba0 +00aeae80 00ae8090 +00aeae80 00aead90 +00aeae80 00ae8f50 +00aeae80 00aede40 00aeae80 00ae9590 00aeae80 00aeb020 -00aeae80 00ae8090 -00aeae80 00ae8f50 -00aeae80 00aead90 -00aeae80 00aede40 00aeb020 00aef125 -00aeb040 00aeb450 -00aeb040 00aec3c0 -00aeb040 00aeb4d0 -00aeb040 00aeb7b0 00aeb040 00aebb90 -00aeb0f0 00aeb450 +00aeb040 00aeb7b0 +00aeb040 00aec3c0 +00aeb040 00aeb450 +00aeb040 00aeb4d0 00aeb0f0 00aec3c0 -00aeb230 00ae6b50 -00aeb230 00aec2b0 +00aeb0f0 00aeb450 00aeb230 00aebc90 00aeb230 00aeb6c0 -00aeb2b0 00aedf30 +00aeb230 00ae6b50 +00aeb230 00aec2b0 00aeb2b0 00aeb6c0 -00aeb300 00aec9d0 +00aeb2b0 00aedf30 00aeb300 00aebdb0 -00aeb3a0 00aec2b0 +00aeb300 00aec9d0 00aeb3a0 00aebc90 00aeb3a0 00aeb6c0 +00aeb3a0 00aec2b0 00aeb450 00aeb4d0 -00aeb6c0 00aedf30 00aeb6c0 00ae8090 -00aeb6c0 00aec930 -00aeb6c0 00aecd30 00aeb6c0 00aebb90 +00aeb6c0 00aecd30 +00aeb6c0 00aec930 +00aeb6c0 00aedf30 00aeb7b0 00aed1f0 -00aeb7b0 00aedf10 00aeb7b0 00aec2b0 -00aeb880 00aeb620 +00aeb7b0 00aedf10 00aeb880 00ae79e0 -00aeb880 00aeb120 00aeb880 00ae8aa0 -00aeb9b0 00aeb150 -00aeb9b0 00ae8330 -00aeb9b0 00aeb880 +00aeb880 00aeb620 +00aeb880 00aeb120 00aeb9b0 00aeb5f0 -00aeb9b0 00aedf30 +00aeb9b0 00ae8000 +00aeb9b0 00aeb880 +00aeb9b0 00ae8330 +00aeb9b0 00aeb5c0 +00aeb9b0 00aeb150 +00aeb9b0 00aede40 00aeb9b0 00ae8400 00aeb9b0 00aedf10 -00aeb9b0 00aeb5c0 -00aeb9b0 00ae8000 -00aeb9b0 00aede40 +00aeb9b0 00aedf30 00aebb90 00aeb9b0 00aebb90 00aede40 -00aebc90 00aeb150 00aebc90 00ae5a90 -00aebc90 00aeab10 -00aebc90 00aedf10 +00aebc90 00aecd30 00aebc90 00aef125 00aebc90 00aec930 +00aebc90 00aeab10 +00aebc90 00aeb150 00aebc90 00aead40 -00aebc90 00aecd30 +00aebc90 00aedf10 00aebdb0 00aebe30 -00aebe30 00ae8330 -00aebe30 00aeacf0 -00aebe30 00af05e5 -00aebe30 00aeb620 -00aebe30 00aec4f0 -00aebe30 00aec650 -00aebe30 00ae8000 +00aebe30 00aea9b0 00aebe30 00aecd30 -00aebe30 00ae8a00 +00aebe30 00aec4f0 +00aebe30 00aeb620 +00aebe30 00af05e5 +00aebe30 00ae8330 00aebe30 00aede40 +00aebe30 00ae8a00 00aebe30 00aedf30 00aebe30 00ae8090 00aebe30 00ae9ad0 +00aebe30 00ae8000 +00aebe30 00aec650 +00aebe30 00aeacf0 00aebe30 00ae59b0 -00aebe30 00aea9b0 -00aec2b0 00ae8a10 -00aec2b0 00aec850 00aec2b0 00ae8090 +00aec2b0 00aec850 +00aec2b0 00ae8a10 00aec2b0 00aedf10 -00aec3c0 00aed1f0 -00aec3c0 00aed5c0 -00aec3c0 00aec850 -00aec3c0 00aedf10 -00aec3c0 00aed380 -00aec3c0 00aec2b0 00aec3c0 00aebc90 00aec3c0 00aecd30 +00aec3c0 00aed380 +00aec3c0 00aec850 +00aec3c0 00aed5c0 +00aec3c0 00aed1f0 +00aec3c0 00aec2b0 +00aec3c0 00aedf10 00aec4f0 00aeb9b0 -00aec650 00aecda0 +00aec650 00ae8000 00aec650 00aeb880 00aec650 00aeb9b0 -00aec650 00ae8000 00aec650 00aede40 +00aec650 00aecda0 00aec850 00aec650 00aec850 00aec930 -00aec9d0 00aebe30 -00aec9d0 00aeb450 -00aec9d0 00aec3c0 -00aec9d0 00aecbb0 -00aec9d0 00ae65f0 -00aec9d0 00aeb7b0 00aec9d0 00aebb90 00aec9d0 00ae8040 +00aec9d0 00aeb7b0 +00aec9d0 00aec3c0 +00aec9d0 00aeb450 +00aec9d0 00aecbb0 +00aec9d0 00ae65f0 +00aec9d0 00aebe30 +00aecbb0 00aec4f0 +00aecbb0 00aec650 00aecbb0 00aec850 00aecbb0 00ae5ba0 -00aecbb0 00aec650 -00aecbb0 00aec4f0 00aecd30 00aedf30 00aecd30 00aedf10 00aece40 00aeb3a0 00aece40 00aedda0 -00aecf20 00ae7060 00aecf20 00aef125 +00aecf20 00ae7060 00aecf90 00ae7060 -00aed000 00aeff45 00aed000 00ae9f10 -00aed000 00af05e5 -00aed000 00ae6ee0 00aed000 00ae7510 -00aed000 00ae6920 00aed000 00aed6a0 +00aed000 00aeff45 +00aed000 00af05e5 +00aed000 00ae6920 00aed000 00aede10 00aed000 00aecf90 +00aed000 00ae6ee0 00aed180 00aeb2b0 00aed180 00aedda0 00aed1b0 00aeb3a0 00aed1b0 00aedda0 00aed1f0 00ae7510 -00aed2c0 00aed8a0 00aed2c0 00aef125 -00aed380 00aed8a0 +00aed2c0 00aed8a0 00aed380 00aeb3f0 +00aed380 00aed8a0 00aed380 00aed620 00aed410 00aeb3a0 00aed410 00aedda0 @@ -62696,72 +62696,72 @@ 00aed570 00aedab0 00aed570 00aed620 00aed5c0 00aef125 -00aed6a0 00aed1f0 -00aed6a0 00aedb40 -00aed6a0 00ae85d0 -00aed6a0 00aeb300 -00aed6a0 00aed9b0 -00aed6a0 00aedd50 00aed6a0 00aeb3f0 +00aed6a0 00aedd50 00aed6a0 00ae7510 +00aed6a0 00aeb300 +00aed6a0 00aed1f0 +00aed6a0 00ae85d0 +00aed6a0 00aed9b0 +00aed6a0 00aedb40 00aed6a0 00aed620 00aed8a0 00aed620 00aed9b0 00aeb3f0 00aed9b0 00aeda50 00aeda50 00aeb3f0 00aedab0 00aed8a0 -00aedb40 00aed1f0 -00aedb40 00aedb40 -00aedb40 00aeb3a0 +00aedb40 00aeb3f0 +00aedb40 00aedd50 00aedb40 00aeb300 -00aedb40 00aed9b0 +00aedb40 00aeb3a0 +00aedb40 00aed1f0 00aedb40 00aedab0 00aedb40 00aedda0 -00aedb40 00aedd50 -00aedb40 00aeb3f0 +00aedb40 00aed9b0 +00aedb40 00aedb40 00aedd50 00aed8a0 00aedda0 00aed8a0 00aede10 00aeb3f0 -00aede40 00af0160 -00aede40 EXTERNAL:000000f4 00aede40 EXTERNAL:000000f3 +00aede40 EXTERNAL:000000f4 +00aede40 00af0160 00aedec0 00aee500 00aedf10 00aeeb90 00aedf30 00aeeb90 00aedf50 00af05e5 00aedf50 00aeeca0 -00aedf80 00aee850 -00aedf80 00af0160 -00aedf80 00ae8820 -00aedf80 00af0210 -00aedf80 00aee5f0 -00aedf80 00aeead0 00aedf80 00ae76c0 +00aedf80 00aeead0 +00aedf80 00af0210 +00aedf80 00aee850 +00aedf80 00aee5f0 +00aedf80 00ae8820 +00aedf80 00af0160 00aee560 00ae7780 -00aee5f0 00af0160 -00aee5f0 00af0210 -00aee5f0 00ae80d0 00aee5f0 00ae76c0 +00aee5f0 00ae80d0 +00aee5f0 00af0210 +00aee5f0 00af0160 00aee7b0 00af0210 00aee7b0 00aee500 -00aee850 00af0160 -00aee850 00aee5f0 00aee850 00ae76c0 +00aee850 00aee5f0 +00aee850 00af0160 00aeead0 EXTERNAL:000000cc -00aeead0 EXTERNAL:00000119 -00aeead0 00aede40 00aeead0 00aee480 +00aeead0 EXTERNAL:00000119 00aeead0 00aef065 +00aeead0 00aede40 00aeeb90 00aee500 00aeeca0 00aee7b0 00aeeca0 00aee500 -00aeef70 00aedf80 -00aeef70 00af05e5 -00aeef70 00aeeca0 00aeef70 00ae6b50 -00aeefd0 00aefe80 -00aeefd0 00af05e5 +00aeef70 00af05e5 +00aeef70 00aedf80 +00aeef70 00aeeca0 00aeefd0 00ae6b50 +00aeefd0 00af05e5 +00aeefd0 00aefe80 00aeefd0 00aede40 00aef0a1 0040c200 00aef0d2 00aef15c @@ -62770,61 +62770,61 @@ 00aef12b 00aef775 00aef139 00aef15c 00aef15c 00a0f500 -00aef191 EXTERNAL:00000112 -00aef191 EXTERNAL:000000d3 00aef191 EXTERNAL:000000cf -00aef191 00af0244 00aef191 EXTERNAL:000000f6 -00aef213 EXTERNAL:00000114 +00aef191 EXTERNAL:000000d3 +00aef191 EXTERNAL:00000112 +00aef191 00af0244 00aef213 EXTERNAL:00000103 +00aef213 EXTERNAL:00000114 00aef22f EXTERNAL:00000102 -00aef22f 00aef2ef 00aef22f EXTERNAL:00000100 +00aef22f 00aef2ef 00aef253 EXTERNAL:00000102 -00aef253 00aef2ef 00aef253 EXTERNAL:00000100 -00aef29d 00aef325 +00aef253 00aef2ef 00aef29d EXTERNAL:00000102 +00aef29d 00aef325 00aef29d EXTERNAL:00000100 00aef2ef EXTERNAL:000000ec 00aef2ef EXTERNAL:000000ed 00aef2ef 0040c200 -00aef325 EXTERNAL:00000102 00aef325 EXTERNAL:000000d0 -00aef325 0040c200 +00aef325 EXTERNAL:00000102 00aef325 EXTERNAL:00000100 +00aef325 0040c200 00aef3e9 00aeff8b 00aef3e9 00709c30 +00aef422 00af0244 00aef422 00af0415 00aef422 00af0627 -00aef422 00af0244 00aef53d 00af0415 00aef55a 00709c30 -00aef582 00af062d 00aef582 00af0633 +00aef582 00af062d 00aef5af 00aef582 -00aef5c4 00aef624 00aef5c4 00af0430 +00aef5c4 00aef624 00aef5c4 0040c200 00aef624 00aef6bd -00aef638 00aef6ad 00aef638 00af0430 +00aef638 00aef6ad 00aef638 0040c200 00aef6ad 00aef6bd 00aef6bd 00af0430 00aef6bd 0040c200 -00aef74d EXTERNAL:00000124 -00aef74d EXTERNAL:000000ce 00aef74d EXTERNAL:000000cd 00aef74d EXTERNAL:00000119 +00aef74d EXTERNAL:00000124 +00aef74d EXTERNAL:000000ce 00aef775 00aef74d 00aef775 EXTERNAL:00000125 00aef86f 00aef87b 00aef87b 00aef74d 00aef87b EXTERNAL:00000125 00aef94a EXTERNAL:00000126 -00aef956 00aef9bc 00aef956 00af0430 +00aef956 00aef9bc 00aef956 0040c200 00aef9bc 00aef6bd 00aef9d0 00af0603 @@ -62832,24 +62832,24 @@ 00aefec1 0040c200 00aeff45 00aefec1 00aeff8b EXTERNAL:00000125 -00af0244 EXTERNAL:00000127 -00af0244 00af0409 -00af0244 00af05e5 -00af0244 EXTERNAL:000000ce 00af0244 EXTERNAL:000000cd 00af0244 EXTERNAL:00000125 +00af0244 00af05e5 +00af0244 EXTERNAL:000000ce +00af0244 00af0409 +00af0244 EXTERNAL:00000127 00af03a7 EXTERNAL:000000cd -00af03b3 00af05f7 -00af03b3 00af05fd 00af03b3 00af0615 +00af03b3 00af05fd +00af03b3 00af05f7 00af0475 EXTERNAL:00000110 +00af0475 EXTERNAL:0000010f 00af0475 EXTERNAL:00000128 00af0475 EXTERNAL:000000f4 -00af0475 EXTERNAL:0000010f -00af0513 00af0699 00af0513 00af0244 -00af0534 0041d4c0 +00af0513 00af0699 00af0534 00837050 +00af0534 0041d4c0 00af0569 0040c200 00af0595 0040c200 00af0720 00aeff60 @@ -69189,11 +69189,11 @@ 00b15200 00415ae0 00b15200 0040d240 00b152a0 00aef15c -00b15330 004087a0 -00b15330 00407f10 00b15330 0040d040 -00b153a0 004235c0 +00b15330 00407f10 +00b15330 004087a0 00b153a0 00aef15c +00b153a0 004235c0 00b153d0 00aef638 00b153f0 00aef15c 00b15450 004149d0 @@ -69208,17 +69208,17 @@ 00b15650 00aef638 00b15670 00aef638 00b15690 00aef638 -00b156b0 004235c0 00b156b0 00aef15c -00b156e0 004235c0 +00b156b0 004235c0 00b156e0 00aef15c +00b156e0 004235c0 00b159d0 00aef15c 00b159d0 00731e90 -00b15a00 004235c0 00b15a00 00aef15c +00b15a00 004235c0 00b15a30 00aef15c -00b15b30 00aef15c 00b15b30 00424540 +00b15b30 00aef15c 00b15b30 00708f90 00b15b30 00708e20 00b15ba0 0040d040 @@ -69235,22 +69235,22 @@ 00b166a0 00731790 00b166e0 00a5a4c0 00b166f0 00aef15c -00b16a00 004235c0 00b16a00 00aef15c +00b16a00 004235c0 00b16a30 004149d0 00b16a50 00aef15c 00b16a50 009ebbf0 -00b16ad0 00aef15c 00b16ad0 00424540 +00b16ad0 00aef15c 00b16b10 004149d0 00b16b20 00aef15c 00b16b20 EXTERNAL:00000103 00b16b80 00a18e10 00b16ba0 004149d0 00b16be0 00a177f0 +00b16c10 00a1f980 00b16c10 00a21b70 00b16c10 00a5a4c0 -00b16c10 00a1f980 00b16ce0 00aef15c 00b16ce0 00a23ee0 00b16d10 00aef15c diff --git a/dump/functions.tsv b/dump/functions.tsv index e551ab9..2cd98fc 100644 --- a/dump/functions.tsv +++ b/dump/functions.tsv @@ -1,6 +1,6 @@ 00401140 FUN_00401140 142 004011e0 FUN_004011e0 80 -00401390 FUN_00401390 570 +00401390 completion_mark_names_init 570 00402090 FUN_00402090 163 00402160 FUN_00402160 225 00402280 FUN_00402280 267 @@ -258,7 +258,7 @@ 004155d0 rapidxml::xml_document::parse 229 004156c0 FUN_004156c0 309 00415800 std::map::_Erase_tree 159 -004158b0 FUN_004158b0 551 +004158b0 std::map::_Try_emplace 551 00415ae0 FUN_00415ae0 76 00415b30 FUN_00415b30 123 00415bb0 FUN_00415bb0 11 @@ -392,7 +392,7 @@ 0041cb90 FUN_0041cb90 205 0041cc60 FUN_0041cc60 131 0041ccf0 FUN_0041ccf0 305 -0041ce30 FUN_0041ce30 505 +0041ce30 std::map::_Try_emplace 505 0041d030 std::map::destroy_subtree 157 0041d0e0 FUN_0041d0e0 60 0041d120 FUN_0041d120 40 @@ -481,15 +481,15 @@ 00423500 FUN_00423500 43 00423530 FUN_00423530 129 004235c0 FUN_004235c0 76 -00423610 FUN_00423610 677 +00423610 std::map::_Emplace 677 004238c0 FUN_004238c0 38 004238f0 Color::Color 82 00423950 Entity_Player::ControllerIndex 7 00423960 FUN_00423960 16 00423970 FUN_00423970 20 -00423990 FUN_00423990 29 +00423990 PopupButtons::Init 29 004239b0 PopupButtons::reset 226 -00423aa0 FUN_00423aa0 532 +00423aa0 PopupButtons::load_graphics 532 00423cc0 PopupButtons::Render 992 004240b0 FUN_004240b0 114 00424130 FUN_00424130 225 @@ -501,8 +501,8 @@ 00424510 FUN_00424510 23 00424530 Config::GetCollectibles 3 00424540 FID_conflict:_Erase_tree_>_> 59 -00424580 FUN_00424580 796 -004248a0 FUN_004248a0 915 +00424580 ellipse_image_plot_points 796 +004248a0 ellipse_image_create 915 00424c40 SharedPtrPair::constructor 132 00424cd0 SharedPtrPair::~SharedPtrPair 154 00424d70 FUN_00424d70 232 @@ -560,7 +560,7 @@ 004291c0 update_cutscene_state_machine 866 00429550 FUN_00429550 7 00429560 FUN_00429560 7 -00429570 FUN_00429570 638 +00429570 DeathmatchManager::enter_arena 638 00429810 FUN_00429810 105 00429be0 DeathmatchManager::set_type 773 00429f20 FUN_00429f20 9 @@ -586,8 +586,8 @@ 0042a350 FUN_0042a350 211 0042a430 FUN_0042a430 82 0042a490 FUN_0042a490 56 -0042a4d0 FUN_0042a4d0 969 -0042a8b0 FUN_0042a8b0 979 +0042a4d0 DeathmatchTypeBase::Init 969 +0042a8b0 DeathmatchTypeBase::Update 979 0042aca0 FUN_0042aca0 491 0042ae90 FUN_0042ae90 99 0042af00 FUN_0042af00 280 @@ -608,11 +608,11 @@ 0042bc40 FUN_0042bc40 78 0042bc90 FUN_0042bc90 3 0042bca0 FUN_0042bca0 203 -0042bd70 FUN_0042bd70 114 -0042bdf0 FUN_0042bdf0 636 +0042bd70 DeathmatchTypeBase::StoreGameState 114 +0042bdf0 DeathmatchTypeBase::RestoreGameState 636 0042c070 FUN_0042c070 232 0042c160 FUN_0042c160 5 -0042c170 FUN_0042c170 857 +0042c170 DeathmatchTypeBase::spawn_random_pickup 857 0042c540 FUN_0042c540 337 0042c6a0 FUN_0042c6a0 52 0042c6e0 FUN_0042c6e0 18 @@ -655,7 +655,7 @@ 0042d060 get_netplay_player_color 136 0042d0f0 FUN_0042d0f0 175 0042d1b0 FUN_0042d1b0 6 -0042d1c0 FUN_0042d1c0 1067 +0042d1c0 DeathmatchTypeLudovico::render_ludovico_indicator 1067 0042d5f0 FUN_0042d5f0 109 0042d660 FUN_0042d660 6 0042d670 FUN_0042d670 9 @@ -745,7 +745,7 @@ 00431750 Entity_Tear::Height 7 00431760 Game::GetDebugFlag 39 00431790 FUN_00431790 146 -00431830 FUN_00431830 936 +00431830 FamiliarHelper::umbilical_baby_load_graphics 936 00431be0 Entity_Familiar::ai_umbilical_baby 12940 00434e70 rope_spring_force 698 00435130 FUN_00435130 349 @@ -832,9 +832,9 @@ 0043a5e0 Entity_Familiar::wisp_take_damage 1085 0043aa90 Entity_Familiar::ai_wisp 5241 0043d7f0 FUN_0043d7f0 81 -0043d850 FUN_0043d850 705 +0043d850 FamiliarHelper::wisp_mine_crafter_update 705 0043db20 Entity_Familiar::ai_mr_me_wisp 2427 -0043e4a0 FUN_0043e4a0 1249 +0043e4a0 Entity_Familiar::ai_mega_blast_wisp 1249 0043e990 FUN_0043e990 88 0043e9f0 FUN_0043e9f0 274 0043eb10 Entity_Familiar::GetRandomWisp 386 @@ -1052,7 +1052,7 @@ 004a6240 NpcHelper::delirium_remove_minions 690 004a6500 NpcAI::ENTITY_DELIRIUM 6107 004a84f0 FUN_004a84f0 396 -004a8680 FUN_004a8680 1262 +004a8680 NpcHelper::delirium_spawn_form_parts 1262 004a8b70 NpcHelper::delirium_fire_pattern 3255 004a9860 NpcHelper::delirium_morph_update 4028 004aaaa0 FUN_004aaaa0 67 @@ -1086,15 +1086,15 @@ 004b0a30 NpcAI::ENTITY_DOGMA_tv 1026 004b0e40 std::deque::assign 264 004b0f50 std::deque::push_back 137 -004b0fe0 FUN_004b0fe0 542 +004b0fe0 NpcHelper::gideon_spawn_stairs 542 004b1210 NpcHelper::gideon_choose_attack 1775 004b1910 NpcHelper::gideon_spawn_wave 1437 004b1ee0 NpcAI::ENTITY_GIDEON 5852 -004b3610 FUN_004b3610 813 -004b3940 thunk_FUN_004b3610 5 +004b3610 NpcHelper::gideon_update_death 813 +004b3940 NpcHelper::gideon_update_death 5 004b3950 FUN_004b3950 81 004b39b0 std::vector::_Emplace_reallocate 310 -004b3af0 FUN_004b3af0 602 +004b3af0 NpcHelper::heretic_spawn_afterimage 602 004b3d50 FUN_004b3d50 355 004b3ec0 NpcHelper::heretic_count_out_fires 74 004b3f10 FUN_004b3f10 437 @@ -1138,11 +1138,11 @@ 004bc460 NpcHelper::hornfel_room_controller 497 004bc660 FUN_004bc660 9 004bc670 EntityRef::IsCharmed 6 -004bc680 FUN_004bc680 567 +004bc680 NpcHelper::horny_boys_pick_position 567 004bc8c0 NpcHelper::horny_boys_pull_entity 609 004bcb30 FUN_004bcb30 312 -004bcc70 FUN_004bcc70 859 -004bcfd0 FUN_004bcfd0 712 +004bcc70 NpcHelper::horny_boys_spawn_bomb 859 +004bcfd0 NpcHelper::horny_boys_render 712 004bd2a0 NpcAI::ENTITY_HORNY_BOYS 425 004be670 NpcHelper::query_nearest_other 103 004be6e0 PathFinder::HasDirectPath 7 @@ -1234,7 +1234,7 @@ 004dea40 NpcAI::ENTITY_PUSTULE 2465 004df3f0 NpcAI::ENTITY_EVIS 4990 004e07a0 FUN_004e07a0 391 -004e0930 FUN_004e0930 1170 +004e0930 NpcHelper::gutted_fatty_burst_projectiles 1170 004e0dd0 NpcAI::ENTITY_GUTTED_FATTY 7489 004e2b40 NpcAI::ENTITY_GAPER_L2 3445 004e38c0 NpcAI::ENTITY_CHARGER_L2 3319 @@ -1291,7 +1291,7 @@ 004faad0 NpcAI::ENTITY_FACELESS 4621 004fbd10 NpcAI::ENTITY_DANNY 3843 004fcc20 NpcAI::ENTITY_BLASTER 1624 -004fd280 FUN_004fd280 694 +004fd280 quakey_timer_callback 694 004fd540 NpcAI::ENTITY_QUAKEY 2603 004fdf80 NpcAI::ENTITY_MOLE 5751 004ff620 NpcAI::ENTITY_GYRO 4975 @@ -1470,7 +1470,7 @@ 0056c7c0 FUN_0056c7c0 51 0056c800 NpcHelper::mother_2_slam_burst 1372 0056cd60 NpcAI::ENTITY_MOTHER_2 12091 -0056fcf0 FUN_0056fcf0 519 +0056fcf0 NpcHelper::mother_render 519 0056ff00 FUN_0056ff00 82 0056ff60 FUN_0056ff60 19 0056ff80 Level::GetRoomCount 7 @@ -1485,7 +1485,7 @@ 00572c10 FUN_00572c10 175 00572cc0 NpcHelper::clutch_spawn_fire 873 00573030 NpcAI::ENTITY_CLUTCH 10647 -00575a10 FUN_00575a10 1481 +00575a10 NpcHelper::clutch_render 1481 00575fe0 FUN_00575fe0 171 00576090 NpcHelper::raglich_pick_target_pos 955 00576450 NpcHelper::raglich_slam_spawn_grid 1359 @@ -1493,7 +1493,7 @@ 005784c0 Entity_Effect::Rotation 7 005784d0 Room::StopRain 8 005784e0 FUN_005784e0 191 -005785a0 FUN_005785a0 630 +005785a0 NpcHelper::rainmaker_drop_timer_launch 630 00578820 NpcHelper::rainmaker_spawn_homing_drop 588 00578a70 NpcAI::ENTITY_RAINMAKER 3180 00579700 FUN_00579700 84 @@ -1560,7 +1560,7 @@ 00596120 NpcAI::ENTITY_BEAST_stalactite 2861 00596c60 NpcAI::ENTITY_BEAST_rock_projectile 1402 005971e0 NpcAI::ENTITY_BEAST_soul 2811 -00597d00 FUN_00597d00 1375 +00597d00 NpcHelper::beast_soul_render 1375 00598260 FUN_00598260 37 00598290 FUN_00598290 341 005983f0 NpcAI::ENTITY_POLYCEPHALUS_the_pile 5424 @@ -1588,12 +1588,12 @@ 005a6b80 NpcAI::ENTITY_GREED_GAPER 1062 005a6fb0 FUN_005a6fb0 55 005a6ff0 Entity::MultiplyFriction 28 -005a7010 FUN_005a7010 766 -005a7310 FUN_005a7310 502 +005a7010 NpcHelper::visage_spawn_particles 766 +005a7310 NpcHelper::visage_spawn_chain 502 005a7510 NpcHelper::visage_plasma_cap 68 005a7570 FUN_005a7570 24 -005a7590 FUN_005a7590 903 -005a7920 FUN_005a7920 499 +005a7590 NpcHelper::visage_score_position 903 +005a7920 NpcHelper::visage_pick_target_position 499 005a7b20 NpcAI::ENTITY_VISAGE 723 005aae10 FUN_005aae10 323 005aaf60 FUN_005aaf60 101 @@ -1681,7 +1681,7 @@ 005b1a20 Entity_Player::moms_bracelet_grab 2363 005b2360 Entity_Player::UseRedKey 132 005b23f0 Entity_Player::use_card_hagalaz 3256 -005b30b0 FUN_005b30b0 1237 +005b30b0 alabaster_box_timer_callback 1237 005b35c0 Isaac::SpawnLocust 966 005b3990 FUN_005b3990 47 005b39d0 Entity_Player::UseActiveItem 2081 @@ -1691,8 +1691,8 @@ 005c7e30 FUN_005c7e30 161 005c7ef0 FUN_005c7ef0 44 005c7f20 FUN_005c7f20 231 -005c8020 FUN_005c8020 907 -005c83f0 FUN_005c83f0 1167 +005c8020 everything_jar_crack_the_sky_timer 907 +005c83f0 everything_jar_shopkeeper_rain_timer 1167 005c88a0 Entity_Player::reroll_collectibles_on_damage 2615 005c92f0 FUN_005c92f0 184 005c93b0 Entity_Player::AddWisp 819 @@ -1825,7 +1825,7 @@ 00607620 Entity_Effect::Render 13647 0060abb0 Entity_Effect::ClearReferences 105 0060ac20 Entity_Effect::IsPlayerCreep 76 -0060ac70 FUN_0060ac70 651 +0060ac70 room_perimeter_to_position 651 0060af00 Entity_Effect::CreateTimer 104 0060af70 Entity::AddFear 345 0060b0d0 Entity_Effect::update_variant178_shooter 1720 @@ -2044,7 +2044,7 @@ 0063b240 FUN_0063b240 247 0063b340 Entity_Familiar::update_idle_anim_by_size 347 0063b4a0 Entity_Familiar::GetFollowTargetPosition 1026 -0063b8b0 FUN_0063b8b0 979 +0063b8b0 Entity_Familiar::RemoveFromPlayer 979 0063c060 FUN_0063c060 57 0063c0a0 Entity_Familiar::TryThrow 288 0063c1c0 Entity_Familiar::ai_minisaac 3144 @@ -2080,7 +2080,7 @@ 0064a830 Entity_Familiar::load_config_graphics 636 0064aab0 anm2_apply_gfx_overrides 3048 0064b6a0 FUN_0064b6a0 28 -0064b6c0 FUN_0064b6c0 553 +0064b6c0 Entity_Familiar::render_abyss_locust_sprite 553 0064b920 Entity_Familiar::siren_charm 393 0064bab0 Entity_Familiar::RemoveFromPlayer 179 0064bb70 Entity::convert_shot_for_enemy_owner 1067 @@ -2115,7 +2115,7 @@ 00651d10 FUN_00651d10 59 00651d50 FUN_00651d50 93 00651db0 FUN_00651db0 57 -00651df0 FUN_00651df0 506 +00651df0 std::map::try_emplace 506 00651ff0 std::vector::_Emplace_reallocate 510 006521e4 Catch_All@006521e4 31 00652210 std::map::try_emplace 457 @@ -2271,7 +2271,7 @@ 00682260 FUN_00682260 32 00682280 shader_stack_push 201 00682350 FUN_00682350 61 -00682390 FUN_00682390 942 +00682390 text_wrap_lines 942 00682740 normalize_angle_degrees 83 006827a0 angle_lerp_shortest 268 006828b0 LerpAngleDeg 353 @@ -2306,7 +2306,7 @@ 00684450 FUN_00684450 74 006844a0 FUN_006844a0 239 00684590 FUN_00684590 303 -006846c0 FUN_006846c0 608 +006846c0 sha1_transform 608 00684920 sha1_digest 609 00684b90 hsv_to_rgb 262 00684cb0 Math::timescale_factor 42 @@ -2324,7 +2324,7 @@ 006851c0 FUN_006851c0 36 006851f0 vector_string_emplace_reallocate 325 0068532b Catch_All@0068532b 30 -00685360 FUN_00685360 521 +00685360 std::map::try_emplace 521 00685570 FUN_00685570 175 00685620 FUN_00685620 158 006856c0 std::vector::resize 491 @@ -2359,8 +2359,8 @@ 00685fc0 Console::destructor 147 00686060 FUN_00686060 167 00686110 FUN_00686110 268 -00686220 FUN_00686220 633 -006864a0 FUN_006864a0 647 +00686220 Console::LoadCommandHistory 633 +006864a0 Console::history_push 647 00686730 FUN_00686730 114 006867b0 FUN_006867b0 48 006867e0 Console::get_visible_line_range 296 @@ -2468,9 +2468,9 @@ 0069de00 deallocate 61 0069de40 FUN_0069de40 56 0069de80 FUN_0069de80 45 -0069deb0 FUN_0069deb0 485 +0069deb0 std::vector::_Emplace_reallocate 485 0069e08b Catch_All@0069e08b 30 -0069e0c0 FUN_0069e0c0 558 +0069e0c0 std::map::_Try_emplace 558 0069e2f0 std::vector<20byte>::_Emplace_reallocate 418 0069e4a0 std::vector<56byte>::_Emplace_reallocate 513 0069e697 Catch_All@0069e697 30 @@ -2489,7 +2489,7 @@ 0069f4a2 Catch_All@0069f4a2 31 0069f4e0 FUN_0069f4e0 52 0069f520 FUN_0069f520 60 -0069f560 FUN_0069f560 1065 +0069f560 EntityConfig_Entity::EntityConfig_Entity 1065 0069f990 Color::copy_constructor_ext 155 0069fa30 FUN_0069fa30 52 0069fa70 FUN_0069fa70 65 @@ -2501,7 +2501,7 @@ 0069fd40 FUN_0069fd40 11 0069fd50 FUN_0069fd50 11 0069fd60 FUN_0069fd60 22 -0069fd80 FUN_0069fd80 836 +0069fd80 std::_Sort_unchecked<20byte> 836 006a00d0 FUN_006a00d0 43 006a0100 FUN_006a0100 68 006a0150 std::vector<100byte>::_Resize_reallocate 586 @@ -2519,14 +2519,14 @@ 006a0d00 FUN_006a0d00 34 006a0d30 std::vector::reserve_clear 134 006a0dc0 FUN_006a0dc0 151 -006a0e60 FUN_006a0e60 686 -006a1110 FUN_006a1110 562 +006a0e60 std::_Partition_by_median_guess_unchecked<20byte_floatkey> 686 +006a1110 std::map::emplace 562 006a1350 FUN_006a1350 95 006a13b0 FUN_006a13b0 110 006a1420 FUN_006a1420 201 006a14f0 FUN_006a14f0 201 -006a15c0 FUN_006a15c0 1140 -006a1a40 FUN_006a1a40 957 +006a15c0 EntityConfig_Entity::move_constructor 1140 +006a1a40 EntityConfig_Player::EntityConfig_Player 957 006a1e00 FUN_006a1e00 117 006a1e80 FUN_006a1e80 176 006a1f30 Entity_Bomb::Free 132 @@ -2582,7 +2582,7 @@ 006a9c30 Entity::HasFullHealth 19 006a9c50 Entity::AddHealth 52 006a9c90 Entity::CollideWithGrid 5530 -006ab240 FUN_006ab240 504 +006ab240 Entity::is_grid_collision_at 504 006ab440 Entity::PlayerCollideWithGrid 3670 006ac2a0 Entity::SetSize 645 006ac530 Entity::IsEnemy 38 @@ -2925,7 +2925,7 @@ 006f5320 Game::Start 536 006f5850 FUN_006f5850 86 006f6260 daily_challenge_params_assign 667 -006f6500 FUN_006f6500 1480 +006f6500 Game::add_players 1480 006f6dd0 Game::StartDailyChallenge 468 006f72f0 Game::StartFromRerunState 388 006f7750 Game::StartDebug 223 @@ -3004,7 +3004,7 @@ 00707840 Game::AddErasedEnemy 175 007078f0 Game::ShouldEraseEnemy 206 007079c0 Entity::RemoveWithPoof 264 -00707ad0 FUN_00707ad0 803 +00707ad0 r_key_timer_callback 803 00707e10 spawn_chain_lightning 572 00708050 Game::SaveBackwardsStage 497 00708250 PlayerManager::GetGFuelCount 225 @@ -3270,7 +3270,7 @@ 007312c0 FUN_007312c0 155 00731360 std::vector<224byte>::_Emplace_reallocate 432 00731506 Catch_All@00731506 30 -00731540 FUN_00731540 583 +00731540 std::map::try_emplace 583 00731790 FID_conflict:_Erase_tree_>_> 59 007317d0 FUN_007317d0 76 00731820 FUN_00731820 76 @@ -3298,9 +3298,9 @@ 00732580 FUN_00732580 64 007325c0 FUN_007325c0 13 007325d0 FUN_007325d0 13 -007325e0 FUN_007325e0 590 +007325e0 std::map::try_emplace 590 00732830 FUN_00732830 481 -00732a20 FUN_00732a20 505 +00732a20 std::set::_Emplace 505 00732c70 ItemPool::GetPool 16 00732c90 FUN_00732c90 104 00732d00 ItemPool::is_collectible_available 177 @@ -3318,7 +3318,7 @@ 00734870 ItemPool::GetCard 137 00734900 ItemPool::GetPill 360 00734a80 ItemPool::GetPillEffect 447 -00734cc0 FUN_00734cc0 594 +00734cc0 ItemPool::remove_deathmatch_pill_effects 594 00734f30 ItemPool::Init 2395 00735910 ItemPool::shuffle_pools 263 00735a30 ItemPool::load_pools 2716 @@ -3372,9 +3372,9 @@ 00739370 Level::place_special_rooms 17370 0073d9b0 FUN_0073d9b0 131 0073da40 Level::GetTargetSlot 146 -0073dae0 FUN_0073dae0 956 +0073dae0 Level::update_room_doors 956 0073e040 FUN_0073e040 92 -0073e0a0 Level::generate_greed 5371 +0073e0a0 Level::load_room 5371 0073f620 Level::reveal_room_visibility 792 0073f940 Game::UpdateVisibility 215 0073fa20 Level::DEBUG_goto_room 595 @@ -3391,10 +3391,10 @@ 00741cf0 FUN_00741cf0 361 00741e60 Level::place_rooms_backwards 4024 00742ef0 Level::generate_backwards 947 -00743550 FUN_00743550 138 +00743550 Level::generate_greed 138 007435c8 FUN_007435c8 342 0074371e FUN_0074371e 109 -0074378b FUN_0074378b 527 +0074378b Level::generate_greed_chunk_rooms 527 0074399a FUN_0074399a 105 00743a03 FUN_00743a03 105 00743a6c FUN_00743a6c 141 @@ -3410,7 +3410,7 @@ 00743e72 FUN_00743e72 177 00743f23 FUN_00743f23 80 00743f73 FUN_00743f73 80 -00743fc3 FUN_00743fc3 654 +00743fc3 Level::generate_greed_chunk_place 654 0074406b FUN_0074406b 207 0074413a FUN_0074413a 207 00744209 FUN_00744209 319 @@ -3873,7 +3873,7 @@ 007c9130 Entity_Player::ShootRedCandle 543 007c9350 Entity_Player::ShootBlueCandle 573 007c9590 Entity_Player::DoZitEffect 597 -007c97f0 FUN_007c97f0 722 +007c97f0 Entity_Player::apply_victory_lap_penalty 722 007c9ad0 Entity_Player::get_voice_pitch 223 007c9bb0 Entity_Player::AddJarFlies 66 007c9c00 Entity_Player::IsPosInSpotLight 263 @@ -4069,7 +4069,7 @@ 007de4b0 FUN_007de4b0 35 007de4e0 std::vector<8byte>::insert_range 370 007de660 std::string::append_reversed 391 -007de7f0 FUN_007de7f0 506 +007de7f0 std::set::_Emplace 506 007de9f0 FUN_007de9f0 255 007deaf0 std::vector<28byte>::_Resize_reallocate 366 007dec60 FUN_007dec60 285 @@ -4363,10 +4363,10 @@ 00823be0 FUN_00823be0 295 00823d10 Room::find_reachable_position 431 00823ec0 FUN_00823ec0 133 -00823f50 FUN_00823f50 884 +00823f50 Room::attach_minecarts 884 008242d0 Room::HasLava 28 008242f0 FUN_008242f0 96 -00824350 FUN_00824350 1135 +00824350 Room::init_rain 1135 00824800 Room::update_ambient_spawns 616 00824a70 Room::update_ambient_effects 1129 00824ee0 Room::update_water_current 2116 @@ -4386,7 +4386,7 @@ 00827b70 Room::IsMirrorWorld 55 00827bb0 Room::HasCurseMist 12 00827bc0 Room::is_pre_ascent_mom_room 39 -00827bf0 FUN_00827bf0 814 +00827bf0 Room::spawn_sanguine_bond_spikes 814 00827f30 FUN_00827f30 55 00827f70 EntitySaveState::set_extra_data 158 00828010 FUN_00828010 62 @@ -4452,7 +4452,7 @@ 0082e650 FUN_0082e650 198 0082e720 std::map::_Copy_nodes 204 0082e7ec Catch_All@0082e7ec 26 -0082e810 FUN_0082e810 565 +0082e810 std::_Partition_by_median_guess_unchecked<16byte> 565 0082ea50 FUN_0082ea50 205 0082eb20 FUN_0082eb20 94 0082eb80 Room::GetSecondBossID 7 @@ -4494,8 +4494,8 @@ 008354f0 FUN_008354f0 93 00835550 FUN_00835550 33 00835580 FUN_00835580 152 -00835620 FUN_00835620 510 -00835820 FUN_00835820 844 +00835620 input_config_save_xml_node 510 +00835820 input_config_load_xml_node 844 00835ba0 FUN_00835ba0 215 00835c90 KeyConfigs::apply_to_device 715 00835f70 input_configs_load 1023 @@ -4564,7 +4564,7 @@ 0083bed0 FUN_0083bed0 112 0083bf50 FUN_0083bf50 56 0083bf90 FUN_0083bf90 88 -0083bff0 FUN_0083bff0 603 +0083bff0 std::vector<40byte>::_Emplace_reallocate 603 0083c241 Catch_All@0083c241 31 0083c270 FUN_0083c270 168 0083c320 FUN_0083c320 219 @@ -4572,7 +4572,7 @@ 0083c480 FUN_0083c480 13 0083c490 ItemPool::IsPillIdentified 40 0083c4c0 FUN_0083c4c0 291 -0083c5f0 FUN_0083c5f0 722 +0083c5f0 HUD::load_item_info_graphics 722 0083c8d0 HUD::update_item_info 3599 0083d6e0 FUN_0083d6e0 128 0083d760 FUN_0083d760 83 @@ -4638,7 +4638,7 @@ 0084dad0 InfoDisplayEntry::InfoDisplayEntry 183 0084db90 FUN_0084db90 36 0084dbc0 FUN_0084dbc0 59 -0084dc00 FUN_0084dc00 660 +0084dc00 StatsPanel::add_stat_line 660 0084dea0 StatsPanel::set 864 0084e200 StatsPanel::set 929 0084e5b0 InfoDisplayItem::is_line_visible 621 @@ -4676,7 +4676,7 @@ 00856960 FUN_00856960 59 008569a0 std::vector<104byte>::assign 481 00856b90 FUN_00856b90 13 -00856ba0 FUN_00856ba0 617 +00856ba0 std::copy<104byte> 617 00856e10 FUN_00856e10 317 00856f50 FUN_00856f50 18 00856f70 Leaderboard::constructor 221 @@ -4740,12 +4740,12 @@ 0085c7e0 FUN_0085c7e0 36 0085c810 FUN_0085c810 340 0085c970 FUN_0085c970 351 -0085cad0 FUN_0085cad0 520 +0085cad0 luabridge::CFunc::readOnlyError 520 0085cce0 FUN_0085cce0 87 0085cd40 FUN_0085cd40 486 0085cf30 FUN_0085cf30 262 -0085d040 FUN_0085d040 634 -0085d2c0 FUN_0085d2c0 574 +0085d040 luabridge::Namespace::ClassBase::createConstTable 634 +0085d2c0 luabridge::Namespace::ClassBase::createClassTable 574 0085d500 FUN_0085d500 491 0085d6f0 FUN_0085d6f0 57 0085d730 FUN_0085d730 466 @@ -5999,7 +5999,7 @@ 008984e0 FUN_008984e0 66 00898600 FUN_00898600 200 008986d0 FUN_008986d0 442 -00898890 FUN_00898890 579 +00898890 luabridge::CFunc::Call::f 579 00898cf0 FUN_00898cf0 150 00898d90 FUN_00898d90 108 00898e00 FUN_00898e00 108 @@ -6093,7 +6093,7 @@ 0089bf10 FUN_0089bf10 92 0089bf70 FUN_0089bf70 131 0089c000 FUN_0089c000 158 -0089c0a0 FUN_0089c0a0 522 +0089c0a0 luabridge::CFunc::CallMember::f 522 0089c350 FUN_0089c350 155 0089c3f0 FUN_0089c3f0 108 0089c460 FUN_0089c460 92 @@ -6224,54 +6224,54 @@ 008a06a0 FUN_008a06a0 81 008a0700 FUN_008a0700 26 008a0720 FUN_008a0720 31 -008a0740 FUN_008a0740 522 -008a0950 FUN_008a0950 522 -008a0b60 FUN_008a0b60 522 -008a0d70 FUN_008a0d70 522 -008a0f80 FUN_008a0f80 522 -008a1190 FUN_008a1190 522 -008a13a0 FUN_008a13a0 522 -008a15b0 FUN_008a15b0 522 -008a17c0 FUN_008a17c0 522 -008a19d0 FUN_008a19d0 522 -008a1be0 FUN_008a1be0 522 -008a1df0 FUN_008a1df0 522 -008a2000 FUN_008a2000 593 -008a2260 FUN_008a2260 593 -008a24c0 FUN_008a24c0 593 -008a2720 FUN_008a2720 593 -008a2980 FUN_008a2980 593 -008a2be0 FUN_008a2be0 593 -008a2e40 FUN_008a2e40 593 -008a30a0 FUN_008a30a0 522 -008a32b0 FUN_008a32b0 522 -008a34c0 FUN_008a34c0 593 -008a3720 FUN_008a3720 593 -008a3980 FUN_008a3980 593 -008a3be0 FUN_008a3be0 593 -008a3e40 FUN_008a3e40 593 -008a40a0 FUN_008a40a0 593 -008a4300 FUN_008a4300 593 -008a4560 FUN_008a4560 593 -008a47c0 FUN_008a47c0 593 -008a4a20 FUN_008a4a20 593 -008a4c80 FUN_008a4c80 522 -008a4ea0 FUN_008a4ea0 522 -008a50b0 FUN_008a50b0 522 -008a52c0 FUN_008a52c0 522 -008a54d0 FUN_008a54d0 522 -008a56e0 FUN_008a56e0 522 -008a58f0 FUN_008a58f0 522 -008a5b00 FUN_008a5b00 522 -008a5d10 FUN_008a5d10 522 -008a5f20 FUN_008a5f20 522 -008a6130 FUN_008a6130 522 -008a6340 FUN_008a6340 522 -008a6550 FUN_008a6550 522 -008a6760 FUN_008a6760 522 -008a6970 FUN_008a6970 522 -008a6b80 FUN_008a6b80 522 -008a6d90 FUN_008a6d90 522 +008a0740 luabridge::Namespace::Class::Class 522 +008a0950 luabridge::Namespace::Class::Class 522 +008a0b60 luabridge::Namespace::Class::Class 522 +008a0d70 luabridge::Namespace::Class::Class 522 +008a0f80 luabridge::Namespace::Class::Class 522 +008a1190 luabridge::Namespace::Class::Class 522 +008a13a0 luabridge::Namespace::Class::Class 522 +008a15b0 luabridge::Namespace::Class::Class 522 +008a17c0 luabridge::Namespace::Class::Class 522 +008a19d0 luabridge::Namespace::Class::Class 522 +008a1be0 luabridge::Namespace::Class::Class 522 +008a1df0 luabridge::Namespace::Class::Class 522 +008a2000 luabridge::Namespace::Class::Class 593 +008a2260 luabridge::Namespace::Class::Class 593 +008a24c0 luabridge::Namespace::Class::Class 593 +008a2720 luabridge::Namespace::Class::Class 593 +008a2980 luabridge::Namespace::Class::Class 593 +008a2be0 luabridge::Namespace::Class::Class 593 +008a2e40 luabridge::Namespace::Class::Class 593 +008a30a0 luabridge::Namespace::Class::Class 522 +008a32b0 luabridge::Namespace::Class::Class 522 +008a34c0 luabridge::Namespace::Class::Class 593 +008a3720 luabridge::Namespace::Class::Class 593 +008a3980 luabridge::Namespace::Class::Class 593 +008a3be0 luabridge::Namespace::Class::Class 593 +008a3e40 luabridge::Namespace::Class::Class 593 +008a40a0 luabridge::Namespace::Class::Class 593 +008a4300 luabridge::Namespace::Class::Class 593 +008a4560 luabridge::Namespace::Class::Class 593 +008a47c0 luabridge::Namespace::Class::Class 593 +008a4a20 luabridge::Namespace::Class::Class 593 +008a4c80 luabridge::Namespace::Class::Class 522 +008a4ea0 luabridge::Namespace::Class::Class 522 +008a50b0 luabridge::Namespace::Class::Class 522 +008a52c0 luabridge::Namespace::Class::Class 522 +008a54d0 luabridge::Namespace::Class::Class 522 +008a56e0 luabridge::Namespace::Class::Class 522 +008a58f0 luabridge::Namespace::Class::Class 522 +008a5b00 luabridge::Namespace::Class::Class 522 +008a5d10 luabridge::Namespace::Class::Class 522 +008a5f20 luabridge::Namespace::Class::Class 522 +008a6130 luabridge::Namespace::Class::Class 522 +008a6340 luabridge::Namespace::Class::Class 522 +008a6550 luabridge::Namespace::Class::Class 522 +008a6760 luabridge::Namespace::Class::Class 522 +008a6970 luabridge::Namespace::Class::Class 522 +008a6b80 luabridge::Namespace::Class::Class 522 +008a6d90 luabridge::Namespace::Class::Class 522 008a6fa0 luabridge::Namespace::Class::Class 522 008a71b0 luabridge::Namespace::Class::Class 522 008a73c0 luabridge::Namespace::Class::Class 522 @@ -6422,7 +6422,7 @@ 008ae0e0 FUN_008ae0e0 155 008ae180 FUN_008ae180 178 008ae240 FUN_008ae240 141 -008ae2d0 FUN_008ae2d0 505 +008ae2d0 luabridge::CFunc::CallMember::f 505 008ae4d0 FUN_008ae4d0 150 008ae570 FUN_008ae570 129 008ae600 FUN_008ae600 189 @@ -6430,7 +6430,7 @@ 008ae7b0 FUN_008ae7b0 155 008ae850 FUN_008ae850 95 008ae8b0 FUN_008ae8b0 485 -008aed10 FUN_008aed10 569 +008aed10 luabridge::CFunc::CallMember::f 569 008aef50 FUN_008aef50 446 008af270 FUN_008af270 185 008af330 FUN_008af330 152 @@ -6524,7 +6524,7 @@ 008b38f0 FUN_008b38f0 141 008b3ad0 FUN_008b3ad0 207 008b3ba0 FUN_008b3ba0 438 -008b3d60 FUN_008b3d60 523 +008b3d60 luabridge::CFunc::CallMember::f 523 008b40a0 FUN_008b40a0 185 008b4160 FUN_008b4160 208 008b4230 FUN_008b4230 101 @@ -6607,9 +6607,9 @@ 008b71a0 FUN_008b71a0 80 008b71f0 FUN_008b71f0 80 008b7240 FUN_008b7240 101 -008b72b0 FUN_008b72b0 580 -008b7630 FUN_008b7630 696 -008b78f0 FUN_008b78f0 634 +008b72b0 luabridge::CFunc::CallMember::f 580 +008b7630 luabridge::CFunc::CallMember::f 696 +008b78f0 luabridge::CFunc::CallMember::f 634 008b7b70 FUN_008b7b70 435 008b7d30 FUN_008b7d30 372 008b80f0 FUN_008b80f0 182 @@ -6835,7 +6835,7 @@ 008bf5b0 FUN_008bf5b0 89 008bf610 FUN_008bf610 92 008bf670 FUN_008bf670 144 -008bf700 FUN_008bf700 535 +008bf700 luabridge::CFunc::setProperty 535 008bf920 FUN_008bf920 89 008bf980 FUN_008bf980 145 008bfa20 FUN_008bfa20 147 @@ -7002,16 +7002,16 @@ 008c3570 FUN_008c3570 92 008c35d0 FUN_008c35d0 92 008c3630 FUN_008c3630 92 -008c3690 FUN_008c3690 522 -008c38a0 FUN_008c38a0 522 -008c3ab0 FUN_008c3ab0 522 -008c3cc0 FUN_008c3cc0 522 -008c3ed0 FUN_008c3ed0 522 -008c40e0 FUN_008c40e0 522 -008c42f0 FUN_008c42f0 522 -008c4500 FUN_008c4500 522 -008c4710 FUN_008c4710 522 -008c4920 FUN_008c4920 522 +008c3690 luabridge::Namespace::Class::Class 522 +008c38a0 luabridge::Namespace::Class>::Class 522 +008c3ab0 luabridge::Namespace::Class::Class 522 +008c3cc0 luabridge::Namespace::Class::Class 522 +008c3ed0 luabridge::Namespace::Class::Class 522 +008c40e0 luabridge::Namespace::Class::Class 522 +008c42f0 luabridge::Namespace::Class::Class 522 +008c4500 luabridge::Namespace::Class>::Class 522 +008c4710 luabridge::Namespace::Class::Class 522 +008c4920 luabridge::Namespace::Class::Class 522 008c4b30 FUN_008c4b30 323 008c4c80 FUN_008c4c80 39 008c4cb0 FUN_008c4cb0 36 @@ -7069,7 +7069,7 @@ 008c64e0 Menu_Bestiary::Update 433 008c66a0 Menu_Bestiary::Render 8100 008c8760 FUN_008c8760 68 -008c87b0 FUN_008c87b0 1202 +008c87b0 Menu_Bestiary::update_cursor 1202 008c8c70 Menu_Bestiary::LoadPreview 2019 008c9460 FUN_008c9460 72 008c94b0 FUN_008c94b0 112 @@ -7106,13 +7106,13 @@ 008cbfe0 Menu_OnlineMode::Update 439 008cc1a0 Menu_Online::render_mode_select 902 008cc530 FUN_008cc530 173 -008cc5e0 FUN_008cc5e0 1004 -008cca10 FUN_008cca10 595 +008cc5e0 Menu_CreateLobby::update_paper_layers 1004 +008cca10 Menu_OnlineMode::play_idle_animation 595 008ccc70 Menu_OnlineMode::update_mode_select 1906 -008cd3f0 FUN_008cd3f0 634 +008cd3f0 Menu_OnlineMode::update_seed_input 634 008cd670 FUN_008cd670 312 008cd7b0 Menu_Challenge::render_seed_text 1591 -008cddf0 FUN_008cddf0 523 +008cddf0 Menu_OnlineMode::apply_lobby_seed 523 008ce010 sprite_member_at_0x10_destroy 100 008ce080 Menu_CustomChallenge::Update 937 008ce430 Menu_CustomChallenge::Render 1877 @@ -7136,8 +7136,8 @@ 008d0f10 FUN_008d0f10 175 008d0fd0 PauseScreen::load_drop_player_menu 722 008d12b0 PauseScreen::update_player_info_page 848 -008d1600 FUN_008d1600 917 -008d19a0 FUN_008d19a0 867 +008d1600 kick_player_menu_render 917 +008d19a0 PauseScreen::build_player_user_list 867 008d1d20 FUN_008d1d20 60 008d1d60 OnlineEmotes::init 425 008d1f20 EmoteWheel::Update 1327 @@ -7151,24 +7151,24 @@ 008d2ca0 PauseScreen_MyStuff::Init 1453 008d3250 FUN_008d3250 265 008d3360 PauseScreen::update_items_menu 732 -008d3640 FUN_008d3640 585 +008d3640 PauseScreen::render_items_page 585 008d3890 PauseScreen::update_items_page 1956 -008d4040 FUN_008d4040 596 -008d42a0 FUN_008d42a0 1298 +008d4040 PauseScreen::update_trinket_display 596 +008d42a0 PauseScreen::update_pocket_item_display 1298 008d47c0 FUN_008d47c0 372 008d4940 OnlinePlayerInfo::render_items 2748 008d5440 FUN_008d5440 497 008d5640 FUN_008d5640 422 008d57f0 FUN_008d57f0 416 -008d5990 FUN_008d5990 1034 +008d5990 PauseScreen_MyStuff::render_entry 1034 008d5da0 FUN_008d5da0 461 008d5f70 render_item_info_text 2643 008d69d0 FUN_008d69d0 346 008d6b30 Menu_Collection::render_item_pool_icons 4480 008d7cb0 menu_item_description_build 1967 008d8460 FUN_008d8460 138 -008d84f0 FUN_008d84f0 884 -008d8870 FUN_008d8870 542 +008d84f0 PauseScreen::update_items_menu_selection 884 +008d8870 item_info_update_charge_bar 542 008d8a90 FUN_008d8a90 107 008d8b00 Menu_KeyConfig::Update 2038 008d9340 Menu_KeyConfig::Render 3283 @@ -7190,21 +7190,21 @@ 008df9b0 Menu_LobbyList::render_lobbies 3245 008e0660 render_lobby_info 2882 008e11b0 Level::InitializeGenesisRoom 586 -008e1400 FUN_008e1400 1197 +008e1400 Menu_OnlineLobbyList::request_lobby_list 1197 008e18b0 FUN_008e18b0 53 008e18f0 FUN_008e18f0 364 -008e1a70 FUN_008e1a70 1202 +008e1a70 Menu_OnlineLobbyList::lobby_search_callback 1202 008e1f30 FriendEntry::~FriendEntry 111 -008e1fb0 FUN_008e1fb0 1285 +008e1fb0 Menu_OnlineLobbyList::on_lobby_list_received 1285 008e24c0 KAGE::Network::Multiplayer::ConstLobby::~ConstLobby 100 -008e2530 FUN_008e2530 1146 +008e2530 Menu_OnlineLobbyList::on_password_search_result 1146 008e29b0 std::list::~list 136 008e2a40 FUN_008e2a40 180 008e2b00 FUN_008e2b00 117 008e2b80 FUN_008e2b80 95 008e2be0 FUN_008e2be0 22 008e2c00 FUN_008e2c00 22 -008e2c20 FUN_008e2c20 607 +008e2c20 std::vector::_Emplace_reallocate 607 008e2e75 Catch_All@008e2e75 31 008e2ea0 FUN_008e2ea0 430 008e3044 Catch_All@008e3044 31 @@ -7217,7 +7217,7 @@ 008e34e0 FUN_008e34e0 120 008e3560 FUN_008e3560 13 008e3570 FUN_008e3570 13 -008e3580 FUN_008e3580 675 +008e3580 std::list::_Merge_same 675 008e3830 Menu_Mods::Update 1373 008e3db0 AnimationLayer::RenderFrame 2993 008e4970 Menu_Mods::reset 174 @@ -7225,12 +7225,12 @@ 008e4b10 Menu_Online::Update 653 008e4e30 Menu_Online::Render 1069 008e5260 Menu_Online::enter 447 -008e5420 FUN_008e5420 645 +008e5420 Menu_Online::start_quick_match 645 008e56b0 FUN_008e56b0 97 008e5720 FUN_008e5720 97 008e5790 Menu_Online::render_descriptor 1957 -008e5f40 FUN_008e5f40 1445 -008e64f0 FUN_008e64f0 908 +008e5f40 Menu_Online::on_quick_match_search_result 1445 +008e64f0 online_quick_match_popup_callback 908 008e6880 FUN_008e6880 21 008e68a0 FUN_008e68a0 53 008e68e0 FUN_008e68e0 173 @@ -7249,7 +7249,7 @@ 008e9ac0 Menu_OnlineLobby::init_lobby_view 2169 008ea350 FUN_008ea350 7 008ea360 FUN_008ea360 53 -008ea3a0 FUN_008ea3a0 821 +008ea3a0 Menu_OnlineLobby::handle_kicked 821 008ea6e0 FUN_008ea6e0 265 008ea8f0 Menu_OnlineLobby::update_force_restart 941 008ead10 Menu_OnlineLobby::update_controls 2607 @@ -7270,8 +7270,8 @@ 008ee080 FUN_008ee080 77 008ee3b0 FUN_008ee3b0 87 008ee4d0 FUN_008ee4d0 93 -008ee700 FUN_008ee700 569 -008ee940 FUN_008ee940 764 +008ee700 online_lobby_members_changed_callback 569 +008ee940 Menu_OnlineLobby::leave_popup_callback 764 008eec40 FUN_008eec40 219 008eee70 FUN_008eee70 86 008eeed0 lobby_member_map_get_or_add 215 @@ -7303,7 +7303,7 @@ 008f2b70 FUN_008f2b70 288 008f2c90 FUN_008f2c90 138 008f2d20 FUN_008f2d20 93 -008f2d80 FUN_008f2d80 554 +008f2d80 ModEntry::ModEntry 554 008f2fb0 FUN_008f2fb0 61 008f2ff0 ModManager::~ModManager 216 008f30d0 ModManager::LoadModContent 5651 @@ -7334,7 +7334,7 @@ 008f99c0 Mod::GetContentPath 740 008f9cb0 Mod::load_menu_sprites 410 008f9e50 Mod::load_content_anm2 236 -008f9f40 FUN_008f9f40 1089 +008f9f40 ModManager::add_mod_entry 1089 008fa390 ModManager::UpdateWorkshopMods 3470 008fb120 ModManager::UpdateWorkshopMods 5119 008fc550 thunk_FUN_008fc660 5 @@ -7348,11 +7348,11 @@ 008fc760 FUN_008fc760 127 008fc7e0 std::vector<80byte>::_Emplace_reallocate 487 008fc9bd Catch_All@008fc9bd 30 -008fc9f0 FUN_008fc9f0 606 +008fc9f0 std::map::_Try_emplace 606 008fcc50 FUN_008fcc50 52 -008fcc90 FUN_008fcc90 648 +008fcc90 std::_Sort_unchecked 648 008fcf20 FUN_008fcf20 257 -008fd030 FUN_008fd030 597 +008fd030 std::_Partition_by_median_guess_unchecked<4byte> 597 008fd290 FUN_008fd290 171 008fd340 FUN_008fd340 83 008fd3a0 FUN_008fd3a0 31 @@ -7369,9 +7369,9 @@ 008feaa0 FUN_008feaa0 68 008feaf0 FUN_008feaf0 189 008fed20 FUN_008fed20 57 -008fed60 FUN_008fed60 543 +008fed60 NetDesyncHandler::receive_messages 543 008ffaf0 FUN_008ffaf0 370 -008ffc70 FUN_008ffc70 633 +008ffc70 NetDesyncHandler::write_desync_diff 633 00900940 FUN_00900940 95 009009a0 FUN_009009a0 22 009009c0 FUN_009009c0 424 @@ -7379,7 +7379,7 @@ 00900b90 FUN_00900b90 119 00900c10 FUN_00900c10 125 00900c90 FUN_00900c90 13 -00900ca0 FUN_00900ca0 674 +00900ca0 net_input_frame_capture 674 00900f50 FUN_00900f50 112 00901030 FUN_00901030 56 00901070 FUN_00901070 282 @@ -7396,10 +7396,10 @@ 00901560 FUN_00901560 20 00901580 FUN_00901580 20 009015a0 FUN_009015a0 5 -009015b0 FUN_009015b0 516 +009015b0 NetInputDevice::NetInputDevice 516 009017c0 FUN_009017c0 331 00901910 FUN_00901910 28 -00901930 FUN_00901930 572 +00901930 NetInputDevice::NetInputDevice 572 00901b70 FUN_00901b70 313 00901cb0 NetInputDevice::is_input_ready 852 00902010 NetInputDevice::ProcessInputMessage 1275 @@ -7417,11 +7417,11 @@ 00902fb0 FUN_00902fb0 26 00902fd0 FUN_00902fd0 100 00903040 FUN_00903040 463 -009032d0 FUN_009032d0 702 +009032d0 NetDesyncHandler::save_desync_files 702 009036b0 write_desync_dump 1709 -00903d60 FUN_00903d60 738 +00903d60 online_logs_prune 738 00904050 make_timestamp_string 1939 -009047f0 FUN_009047f0 525 +009047f0 online_log_make_path 525 00904a00 FUN_00904a00 85 00904a60 NetLogging::format_callstack 1027 00905c80 FUN_00905c80 253 @@ -7450,12 +7450,12 @@ 00907b60 online_lobby_get_member_count 174 00907c10 NetplayManager::is_user_in_player_list 105 00907c80 FUN_00907c80 110 -00908070 FUN_00908070 820 +00908070 netplay_lost_connection_callback 820 009083b0 FUN_009083b0 305 009084f0 FUN_009084f0 362 00908660 FUN_00908660 416 00908830 FUN_00908830 168 -009088e0 FUN_009088e0 759 +009088e0 netplay_lobby_join_requested_callback 759 00908be0 FUN_00908be0 241 00908ce0 netplay_leave_lobby_callback 392 00908e70 NetplayManager::QueueRemovePlayer 107 @@ -7489,14 +7489,14 @@ 0090c400 FUN_0090c400 342 0090c560 FUN_0090c560 467 0090c740 FUN_0090c740 146 -0090c7e0 FUN_0090c7e0 601 +0090c7e0 NetplayManager::restore_player_state 601 0090ca40 FUN_0090ca40 136 0090cd10 FUN_0090cd10 88 0090d360 KAGE::Filesys::BufferedStream::operator_assign 136 0090d4a0 FUN_0090d4a0 405 0090d640 NetplayManager::save_frame_snapshot 780 0090d950 FUN_0090d950 85 -0090d9b0 NPCAI_Pathfinder::EvadeTarget 122 +0090d9b0 NetplayManager::add_new_players 122 0090df40 NetplayManager::process_pending_joins 110 0090e2a0 FUN_0090e2a0 83 0090e6d0 NetplayManager::check_connection 247 @@ -7515,7 +7515,7 @@ 00912450 NetplayManager::remove_drop_entry 261 00912560 NetplayManager::receive_vote_end_message 478 009128e0 NetplayManager::update_lobby_stage_info 626 -00912b60 FUN_00912b60 534 +00912b60 NetplayManager::request_join_lobby 534 00912d80 FUN_00912d80 236 00913760 FUN_00913760 68 00913870 FUN_00913870 69 @@ -7530,7 +7530,7 @@ 00913c80 FUN_00913c80 361 00913df0 FUN_00913df0 95 00913e50 FUN_00913e50 32 -00913e70 FUN_00913e70 721 +00913e70 std::map::erase 721 00914150 FUN_00914150 32 00914170 FUN_00914170 452 00914340 std::map::erase 307 @@ -7550,7 +7550,7 @@ 00914de0 FUN_00914de0 86 00914e40 std::vector<16byte>::_Emplace_reallocate 618 009150a0 Catch_All@009150a0 31 -009150d0 FUN_009150d0 601 +009150d0 std::map::try_emplace 601 00915330 std::map::destroy_subtree 441 009154f0 FUN_009154f0 481 009156e0 FUN_009156e0 167 @@ -7579,12 +7579,12 @@ 009166b0 FUN_009166b0 181 00916770 NetplayManager::process_lobby_messages 517 00916f70 FUN_00916f70 187 -00917030 FUN_00917030 704 +00917030 write_new_game_to_stream 704 009172f0 write_game_state_to_stream 1862 -00917a50 FUN_00917a50 1407 +00917a50 NetplayManager::load_game_start_packet 1407 00917fd0 FUN_00917fd0 120 009187f0 FUN_009187f0 116 -00918870 FUN_00918870 1165 +00918870 NetplayManager::write_player_game_states_message 1165 00918d00 NetplayManager::read_player_game_states_message 1696 009193b0 FUN_009193b0 135 00919440 shared_save_write 1341 @@ -7637,7 +7637,7 @@ 0091ee00 OnlineChat::is_key_repeating 133 0091ee90 online_chat_text_input 1847 0091f5d0 OnlineChat::apply_roll_command 417 -0091f780 FUN_0091f780 543 +0091f780 NetplayManager::load_mute_list 543 0091f9a0 std::map::erase 354 0091fb10 std::map::_Erase_tree 102 0091fb80 FUN_0091fb80 164 @@ -7684,11 +7684,11 @@ 009262b0 PersistentGameData::Clear 432 00926460 FUN_00926460 75 009264b0 FUN_009264b0 81 -00926510 FUN_00926510 1334 +00926510 save_backup_find_latest 1334 00926a50 PersistentGameData::Load 98 -00926cf0 FUN_00926cf0 172 -00926f10 FUN_00926f10 525 -00927d20 FUN_00927d20 1460 +00926cf0 PersistentGameData::LoadFromSteamCloud 172 +00926f10 PersistentGameData::read 525 +00927d20 PersistentGameData::backfill_cutscene_counters 1460 009282e0 PersistentGameData::write 3065 00928ee0 PersistentGameData::SaveToSteamCloud 211 00929010 PersistentGameData::operator_assign 545 @@ -7730,7 +7730,7 @@ 0092c2c0 PersistentGameData::TryImportABLocalSave 639 0092ca70 std::map::operator_index 181 0092cb30 std_map_copy_assign 167 -0092cbe0 FUN_0092cbe0 584 +0092cbe0 std::_Sort_unchecked<4byte> 584 0092ce30 FUN_0092ce30 108 0092cea0 FUN_0092cea0 111 0092cf10 FUN_0092cf10 19 @@ -7823,7 +7823,7 @@ 0093b580 backdrop_wall_normal 150 0093b620 Backdrop::spawn_detail_effects 316 0093b760 Backdrop::spawn_wall_details 7586 -0093d510 FUN_0093d510 1069 +0093d510 Backdrop::render_wall_detail 1069 0093d960 Backdrop::Init 155 0093da00 Backdrop::load_details 3382 0093e770 Backdrop::render_wall_borders 646 @@ -7970,11 +7970,11 @@ 0095c520 std::vector::_Resize_reallocate 291 0095c63e Catch_All@0095c63e 31 0095c670 FUN_0095c670 36 -0095c6a0 FUN_0095c6a0 587 +0095c6a0 ChallengeParams::ChallengeParams 587 0095c8f0 FUN_0095c8f0 14 0095c900 FUN_0095c900 4 0095c910 FUN_0095c910 4 -0095c920 thunk_FUN_0095ed70 5 +0095c920 CutscenePart::load_subtitles 5 0095c930 FUN_0095c930 33 0095c960 FUN_0095c960 17 0095c980 FUN_0095c980 6 @@ -7988,14 +7988,14 @@ 0095df20 Manager::update_state_loading 2171 0095e7c0 Cutscene::Show 197 0095eb00 FUN_0095eb00 86 -0095eb60 FUN_0095eb60 513 -0095ed70 FUN_0095ed70 1059 +0095eb60 cutscene_render_skip_vote_count 513 +0095ed70 CutscenePart::load_subtitles 1059 0095f1a0 FUN_0095f1a0 70 -0095f1f0 FUN_0095f1f0 695 +0095f1f0 CutscenePart::render_subtitles 695 0095f4b0 FUN_0095f4b0 41 0095f4e0 FUN_0095f4e0 8 -0095f4f0 FUN_0095f4f0 510 -0095f6f0 Manager::ResizeWindow 496 +0095f4f0 Cutscene::ANM2Part::start 510 +0095f6f0 Cutscene::ANM2Part::Update 496 0095f900 FUN_0095f900 106 0095f970 FUN_0095f970 23 0095f990 FUN_0095f990 131 @@ -8004,7 +8004,7 @@ 0095fbd0 FUN_0095fbd0 255 0095fcd0 FUN_0095fcd0 105 0095fd40 FUN_0095fd40 48 -0095fd70 FUN_0095fd70 568 +0095fd70 Cutscene::TemporaryPart::Init 568 0095ffb0 Entity_Player::CheckPoopSpellQueue 1949 00960750 CutsceneEntry::Constructor 85 009607b0 CutsceneEntry::Destructor 135 @@ -8105,7 +8105,7 @@ 00983970 Game::IsGreedBoss 49 009839b0 Game::IsGreedFinalBoss 49 009839f0 GridEntity_PressurePlate::update_greed_button 1305 -00983f30 FUN_00983f30 1564 +00983f30 pressure_plate_kill_enemies_timer_callback 1564 00984550 GridEntity_PressurePlate::Reward 5377 00985c10 GridEntity_PressurePlate::Render 749 00985f00 GridEntity_PressurePlate::BeginBatches 499 @@ -8195,11 +8195,11 @@ 00998490 std::_Uninitialized_move 148 00998530 FUN_00998530 13 00998540 FUN_00998540 13 -00998550 FUN_00998550 677 +00998550 std::map::insert 677 00998800 netplay_player_list_destructor 112 00998880 GameOver::Render 3844 -009997c0 DeathScreen::Show 630 -0099a300 FUN_0099a300 1272 +009997c0 GameOver::Show 630 +0099a300 GameOver::render_collectible_icon 1272 0099a830 FUN_0099a830 161 0099a8e0 GridEntity_Decoration::Update 791 0099ac00 GridEntity_Decoration::Render 181 @@ -8356,11 +8356,11 @@ 009b7500 PopupWindow::hide 336 009b7650 is_single_player 42 009b7680 PauseScreen::Show 927 -009b7a20 FUN_009b7a20 1383 +009b7a20 PauseScreen::load_graphics 1383 009b7f90 PauseScreen::update_stuff_arrows 403 -009b8130 FUN_009b8130 614 -009b83a0 FUN_009b83a0 1487 -009b8990 FUN_009b8990 1281 +009b8130 PauseScreen::render_seed_paper 614 +009b83a0 PauseScreen::render_my_stuff 1487 +009b8990 PauseScreen::render_lobby_buttons 1281 009b8ea0 PlayerManager::~PlayerManager 156 009b8f40 PlayerManager::init_main_player 519 009b9150 FUN_009b9150 317 @@ -8441,12 +8441,12 @@ 009c07f0 Popup::get_elapsed_ms 125 009c0870 FUN_009c0870 235 009c0960 Popup::Update 715 -009c0c30 FUN_009c0c30 1481 +009c0c30 popup_render 1481 009c1200 FUN_009c1200 95 009c1260 Popup::set_state 111 009c12d0 Popup::show 481 009c14c0 Popup::hide 481 -009c16b0 FUN_009c16b0 2912 +009c16b0 Popup::render_frame 2912 009c2210 FUN_009c2210 151 009c22b0 FUN_009c22b0 24 009c22d0 FUN_009c22d0 147 @@ -8455,10 +8455,10 @@ 009c2450 FUN_009c2450 39 009c2480 FUN_009c2480 166 009c2530 FUN_009c2530 174 -009c25e0 FontDrawParams::FontDrawParams 278 +009c25e0 MessagePopup::MessagePopup 278 009c2700 FUN_009c2700 91 009c2760 FUN_009c2760 92 -009c27c0 FUN_009c27c0 1338 +009c27c0 Popup::build_lines 1338 009c2d00 Popup::free_line_buffers 157 009c2db0 std::vector<48byte>::push_back 113 009c2e30 std::vector<48byte>::_Emplace_reallocate 416 @@ -8492,7 +8492,7 @@ 009c59a0 std::vector::_Emplace_reallocate 216 009c5a80 FUN_009c5a80 115 009c5b00 daily_lobby_join_destructor 220 -009c5bf0 FUN_009c5bf0 511 +009c5bf0 daily_lobby_join_init 511 009c5df0 daily_lobby_join_reset 190 009c5eb0 daily_lobby_join_show_error 209 009c5f90 FUN_009c5f90 211 @@ -8508,7 +8508,7 @@ 009c6860 load_preloads_xml 1056 009c6c90 PreloadManager::load_group 383 009c6e10 FUN_009c6e10 32 -009c6e30 FUN_009c6e30 590 +009c6e30 std::map::_Try_emplace 590 009c7080 std::vector::_Emplace_reallocate 480 009c7256 Catch_All@009c7256 31 009c7280 FUN_009c7280 148 @@ -8536,9 +8536,9 @@ 009cb620 GameState::read_player 2914 009cc16c Catch_All@009cc16c 6 009cc172 Catch_All@009cc172 6 -009cc1a0 FUN_009cc1a0 194 +009cc1a0 GameState::read 194 009ce5a0 FUN_009ce5a0 366 -009ce720 FUN_009ce720 1364 +009ce720 GameState::read_item_pool 1364 009cec80 GameState::write_item_pool 881 009cf000 FUN_009cf000 66 009cf050 GameStatePlayer::Init 3813 @@ -8577,7 +8577,7 @@ 009d8d50 Menu_Save::~Menu_Save 380 009d92c0 Menu_Save::unload_graphics 658 009d9560 Menu_Save::LoadGraphics 904 -009d98f0 FUN_009d98f0 867 +009d98f0 Menu_Save::select_slot 867 009d9c60 Menu_Save::Update 2565 009da6d0 Menu_Save::Render 967 009daaa0 Menu_Save::unload_graphics 640 @@ -8623,7 +8623,7 @@ 009e3d30 FUN_009e3d30 48 009e3d60 FUN_009e3d60 82 009e3dc0 RebirthSaveData::Clear 218 -009e4af0 FUN_009e4af0 1154 +009e4af0 RebirthSaveData::repair_counters 1154 009e5000 get_rich_presence_room_status 667 009e5300 ScoreSheet::ScoreSheet 102 009e5370 FUN_009e5370 36 @@ -8666,7 +8666,7 @@ 009e7690 FUN_009e7690 230 009e7780 FUN_009e7780 234 009e7870 FUN_009e7870 312 -009e79b0 FUN_009e79b0 797 +009e79b0 std::basic_filebuf::uflow 797 009e7cd0 std::basic_filebuf_>::underflow 61 009e7d10 FUN_009e7d10 171 009e7dc0 Room::GetBossThematicItem 332 @@ -8752,7 +8752,7 @@ 009ef980 FUN_009ef980 31 009ef9a0 RichTextSpan::try_merge 108 009efa10 RichText::~RichText 323 -009efb60 FUN_009efb60 577 +009efb60 RichText::load_font 577 009efdb0 rich_text_render 892 009f0140 Font::measure_rich_text 332 009f0290 rich_text_layout 4310 @@ -8779,7 +8779,7 @@ 009f2b10 RichTextIcon::get_animation_name 205 009f2c10 RichTextIcon::set_icon 507 009f2e20 map_int_ImagePtr_subscript 188 -009f2ee0 FUN_009f2ee0 583 +009f2ee0 VideoPlayer::play 583 009f3130 Weapon::GetMaxCharge 3 009f3140 Weapon::GetFocusEntity 3 009f3150 Weapon::GetMainEntity 4 @@ -8933,7 +8933,7 @@ 00a0f830 FUN_00a0f830 367 00a0f9b0 FUN_00a0f9b0 179 00a0fa70 FUN_00a0fa70 219 -00a0fb60 FUN_00a0fb60 576 +00a0fb60 KColor::hsl_to_rgb 576 00a0fdb0 FUN_00a0fdb0 200 00a0fe80 EntityPtr::clear 16 00a0fe90 Vector::Vector 12 @@ -9009,7 +9009,7 @@ 00a123d0 FUN_00a123d0 17 00a123f0 FUN_00a123f0 44 00a12420 FUN_00a12420 8 -00a12430 FUN_00a12430 536 +00a12430 KAGE::Graphics::ImageBase::set_palette 536 00a12650 FUN_00a12650 202 00a12720 FUN_00a12720 247 00a12820 FUN_00a12820 199 @@ -9072,7 +9072,7 @@ 00a145e0 FUN_00a145e0 57 00a14620 Shader::load 430 00a147e0 FUN_00a147e0 404 -00a149a0 FUN_00a149a0 581 +00a149a0 KAGE::Graphics::ShaderBase::free_uniforms 581 00a14bf0 FUN_00a14bf0 8 00a14c00 Shader::set_uniform 778 00a14f90 FUN_00a14f90 168 @@ -9109,14 +9109,14 @@ 00a16060 FileSystem::GetMountPrefixes 206 00a16130 FUN_00a16130 225 00a16220 FUN_00a16220 454 -00a163f0 FUN_00a163f0 532 +00a163f0 filesys_list_directory_mounts 532 00a16610 filesys_list_directory 448 00a167d0 FileSystem::load_mount_points 1152 00a16c60 FileSystem::find_mount 406 00a16e00 FUN_00a16e00 84 00a16e60 FUN_00a16e60 95 00a16ec0 FUN_00a16ec0 133 -00a16f50 FUN_00a16f50 537 +00a16f50 opendir 537 00a17170 FUN_00a17170 6 00a17180 FileSystem::ResolvePath 342 00a172e0 win32_opendir 834 @@ -9126,7 +9126,7 @@ 00a177f0 FUN_00a177f0 105 00a17860 file_exists 100 00a178d0 FileSystem::Open 223 -00a179c0 FUN_00a179c0 1148 +00a179c0 KAGE_Filesys_FileManager::LoadArchiveFile 1148 00a17ea0 FileSystem::open_disk_file 158 00a17f40 FileSystem::open_archive_file 301 00a18070 FUN_00a18070 44 @@ -9143,11 +9143,11 @@ 00a188f0 FUN_00a188f0 42 00a189a0 FUN_00a189a0 106 00a18a20 FUN_00a18a20 81 -00a18aa0 FUN_00a18aa0 796 +00a18aa0 KAGE::Graphics::Manager::Manager 796 00a18dc0 FUN_00a18dc0 38 00a18df0 FUN_00a18df0 24 00a18e10 FUN_00a18e10 122 -00a18e90 FUN_00a18e90 665 +00a18e90 KAGE::Graphics::Manager::Init 665 00a19130 FUN_00a19130 74 00a19180 _glfw_context_reset 447 00a19340 GraphicsWindow::get_framebuffer_width 113 @@ -9161,7 +9161,7 @@ 00a19bc0 FUN_00a19bc0 47 00a19bf0 FUN_00a19bf0 167 00a19dd0 FUN_00a19dd0 21 -00a19df0 FUN_00a19df0 712 +00a19df0 KAGE_Graphics::create_window 712 00a1a2e0 window_get_current_monitor 385 00a1a470 FUN_00a1a470 135 00a1a500 FUN_00a1a500 51 @@ -9306,11 +9306,11 @@ 00a21f40 FUN_00a21f40 52 00a220c0 FUN_00a220c0 46 00a220f0 FUN_00a220f0 152 -00a22190 FUN_00a22190 636 +00a22190 KAGE::Input::InputDeviceGamepad::Init 636 00a22430 FUN_00a22430 101 00a224a0 FUN_00a224a0 7 00a224b0 FUN_00a224b0 120 -00a22940 FUN_00a22940 574 +00a22940 KAGE::Input::InputDeviceGamepad::update 574 00a22b80 FUN_00a22b80 242 00a22c80 FUN_00a22c80 154 00a22d20 FUN_00a22d20 90 @@ -9389,7 +9389,7 @@ 00a25560 FUN_00a25560 221 00a25650 FUN_00a25650 119 00a256d0 FUN_00a256d0 157 -00a25770 FUN_00a25770 1238 +00a25770 parseMapping 1238 00a25c50 FUN_00a25c50 271 00a25d60 FUN_00a25d60 181 00a25e20 FUN_00a25e20 247 @@ -9418,7 +9418,7 @@ 00a27980 std::map::find 109 00a279f0 FUN_00a279f0 32 00a27a10 FUN_00a27a10 32 -00a27a30 FUN_00a27a30 582 +00a27a30 std::map::try_emplace 582 00a27c80 std::map::_Erase_tree 100 00a27cf0 FUN_00a27cf0 457 00a27ec0 FUN_00a27ec0 490 @@ -9442,7 +9442,7 @@ 00a28840 FUN_00a28840 93 00a288a0 std::shared_ptr::assign 138 00a28930 FUN_00a28930 156 -00a289d0 FUN_00a289d0 529 +00a289d0 KAGE::Network::MultiplayerManager::dynamic_initializer 529 00a28bf0 FUN_00a28bf0 38 00a28c20 FUN_00a28c20 114 00a28ca0 KAGE::ThreadSafeQueue::~ThreadSafeQueue 131 @@ -12557,7 +12557,7 @@ 00a51bb0 FUN_00a51bb0 164 00a51c60 FUN_00a51c60 160 00a51d10 FUN_00a51d10 152 -00a51dc0 FUN_00a51dc0 778 +00a51dc0 leaderboard_request_complete 778 00a52100 FUN_00a52100 227 00a521f0 FUN_00a521f0 260 00a52300 FUN_00a52300 53 @@ -12585,7 +12585,7 @@ 00a52a40 FUN_00a52a40 14 00a52a50 FUN_00a52a50 124 00a52ad0 FUN_00a52ad0 56 -00a52b10 FUN_00a52b10 781 +00a52b10 KAGE::Network::Multiplayer::LobbySteam::get_members 781 00a52e20 FUN_00a52e20 89 00a52e80 FUN_00a52e80 189 00a52f40 FUN_00a52f40 91 @@ -12619,13 +12619,13 @@ 00a54080 FUN_00a54080 38 00a540b0 FUN_00a540b0 160 00a54150 LobbySteam::find_by_id_string 356 -00a542c0 FUN_00a542c0 1382 -00a54890 Multiplayer::invite_user_to_lobby 650 +00a542c0 KAGE::Network::MultiplayerManager::request_lobby_list 1382 +00a54890 KAGE::Network::MultiplayerManager::invite_user_to_lobby 650 00a54b20 FUN_00a54b20 436 00a54ce0 FUN_00a54ce0 18 00a54d00 FUN_00a54d00 322 00a54e50 FUN_00a54e50 167 -00a54f00 FUN_00a54f00 515 +00a54f00 KAGE::Network::MultiplayerManager::on_lobby_data_update 515 00a55110 FUN_00a55110 162 00a551c0 FUN_00a551c0 366 00a55330 std::vector::push_back 139 @@ -12670,7 +12670,7 @@ 00a56de0 FUN_00a56de0 35 00a56e10 FUN_00a56e10 115 00a56ea0 steam_friends_get 438 -00a57060 FUN_00a57060 622 +00a57060 KAGE::System::FriendManager::request_friend_lobbies 622 00a572d0 FUN_00a572d0 332 00a57420 FUN_00a57420 409 00a575c0 FUN_00a575c0 18 @@ -12678,7 +12678,7 @@ 00a57690 std::vector::_Tidy 117 00a57710 FUN_00a57710 22 00a57730 FUN_00a57730 124 -00a577b0 FUN_00a577b0 575 +00a577b0 std::vector<20byte>::_Emplace_reallocate 575 00a579e5 Catch_All@00a579e5 31 00a57a10 FUN_00a57a10 136 00a57aa0 FUN_00a57aa0 194 @@ -12715,20 +12715,20 @@ 00a58720 FUN_00a58720 32 00a58740 FUN_00a58740 287 00a58860 FUN_00a58860 81 -00a588c0 FUN_00a588c0 896 +00a588c0 KAGE::Network::Multiplayer::ConnectionBase::Update 896 00a58c40 FUN_00a58c40 93 -00a58cb0 FUN_00a58cb0 1040 +00a58cb0 KAGE::Network::Connection::send_message 1040 00a590c0 FUN_00a590c0 305 00a59200 FUN_00a59200 79 00a59250 FUN_00a59250 12 00a59260 FUN_00a59260 5 -00a59270 FUN_00a59270 781 +00a59270 KAGE::Network::Multiplayer::ConnectionBase::handle_internal_message 781 00a595a0 FUN_00a595a0 32 00a595c0 FUN_00a595c0 114 -00a59640 FUN_00a59640 510 +00a59640 std::map::erase 510 00a59850 KAGE::SmartPointer::operator_assign 138 00a598e0 FUN_00a598e0 139 -00a59970 FUN_00a59970 614 +00a59970 std::map::try_emplace 614 00a59be0 FUN_00a59be0 159 00a59c90 FUN_00a59c90 103 00a59d00 FUN_00a59d00 75 @@ -12737,7 +12737,7 @@ 00a59e50 FUN_00a59e50 106 00a59ed0 FUN_00a59ed0 96 00a59f30 FUN_00a59f30 153 -00a59fd0 FUN_00a59fd0 563 +00a59fd0 multiplayer_message_coalesce_fragments 563 00a5a210 FUN_00a5a210 208 00a5a2f0 FUN_00a5a2f0 103 00a5a360 FUN_00a5a360 174 @@ -12767,7 +12767,7 @@ 00a5b620 FUN_00a5b620 117 00a5b6a0 FUN_00a5b6a0 127 00a5b720 FUN_00a5b720 140 -00a5b7b0 FUN_00a5b7b0 1321 +00a5b7b0 windowProc 1321 00a5cd20 _glfwCreateWindowWin32 1634 00a5d390 FUN_00a5d390 324 00a5d4e0 FUN_00a5d4e0 158 @@ -12789,7 +12789,7 @@ 00a5dff0 FUN_00a5dff0 22 00a5e010 FUN_00a5e010 22 00a5e030 FUN_00a5e030 46 -00a5e060 FUN_00a5e060 726 +00a5e060 _glfwSetWindowMonitorWin32 726 00a5e340 FUN_00a5e340 27 00a5e360 FUN_00a5e360 20 00a5e380 FUN_00a5e380 20 @@ -12802,7 +12802,7 @@ 00a5e540 FUN_00a5e540 100 00a5e5b0 FUN_00a5e5b0 122 00a5e630 FUN_00a5e630 34 -00a5e660 FUN_00a5e660 605 +00a5e660 _glfwPollEventsWin32 605 00a5e8d0 FUN_00a5e8d0 45 00a5e920 FUN_00a5e920 83 00a5e980 FUN_00a5e980 66 @@ -12838,10 +12838,10 @@ 00a5f6c0 FUN_00a5f6c0 25 00a5f6e0 FUN_00a5f6e0 60 00a5f720 FUN_00a5f720 68 -00a5f770 FUN_00a5f770 780 +00a5f770 KAGE::EosManager::Init 780 00a5fad0 FUN_00a5fad0 159 00a5fb80 FUN_00a5fb80 21 -00a5fba0 FUN_00a5fba0 774 +00a5fba0 eos_lobby_search_find 774 00a5ffa0 FUN_00a5ffa0 163 00a60050 FUN_00a60050 85 00a60100 FUN_00a60100 289 @@ -12850,7 +12850,7 @@ 00a60510 FUN_00a60510 49 00a60590 FUN_00a60590 116 00a60690 FUN_00a60690 54 -00a60700 FUN_00a60700 800 +00a60700 eos_lobby_search_on_find 800 00a60a30 FUN_00a60a30 47 00a60a70 FUN_00a60a70 431 00a60c50 FUN_00a60c50 457 @@ -12890,7 +12890,7 @@ 00a61e90 FUN_00a61e90 69 00a61ee0 FUN_00a61ee0 30 00a61f00 FUN_00a61f00 30 -00a61f20 FUN_00a61f20 680 +00a61f20 theoraplayer::init 680 00a621d0 FUN_00a621d0 9 00a621e0 FUN_00a621e0 499 00a623c9 Catch_All@00a623c9 30 @@ -12910,7 +12910,7 @@ 00a62880 VideoPlayer::unload 129 00a62910 FUN_00a62910 256 00a62a10 FUN_00a62a10 251 -00a62b10 FUN_00a62b10 676 +00a62b10 VideoPlayer::render 676 00a62dc0 FUN_00a62dc0 76 00a62e10 FUN_00a62e10 96 00a62e70 FUN_00a62e70 154 @@ -12921,9 +12921,9 @@ 00a63100 FUN_00a63100 227 00a631f0 FUN_00a631f0 400 00a63390 FUN_00a63390 250 -00a63490 png_write_info_before_PLTE 1403 +00a63490 png_write_info 1403 00a63a10 png_create_write_struct 395 -00a63ba0 FUN_00a63ba0 485 +00a63ba0 png_write_row 485 00a63db0 png_write_flush 383 00a63f30 png_destroy_write_struct 558 00a64160 FUN_00a64160 247 @@ -12947,16 +12947,16 @@ 00a649b0 FUN_00a649b0 7 00a649c0 FUN_00a649c0 5 00a649d0 FUN_00a649d0 120 -00a64a50 FUN_00a64a50 1464 +00a64a50 ImagePng::load 1464 00a65040 FUN_00a65040 57 00a65080 FUN_00a65080 102 00a650f0 FUN_00a650f0 22 00a65110 FUN_00a65110 120 -00a65190 image_load_jpeg 1917 +00a65190 KAGE::Graphics::ImageJpg::load 1917 00a659e0 FUN_00a659e0 120 -00a65a60 FUN_00a65a60 524 +00a65a60 ImageBmp::load 524 00a65d00 FUN_00a65d00 120 -00a65d80 FUN_00a65d80 653 +00a65d80 KAGE::Graphics::ImagePcx::load 653 00a66080 FUN_00a66080 120 00a66100 FUN_00a66100 120 00a66180 FUN_00a66180 324 @@ -12970,7 +12970,7 @@ 00a66830 FUN_00a66830 120 00a668b0 FUN_00a668b0 162 00a66960 FUN_00a66960 181 -00a66a20 FUN_00a66a20 513 +00a66a20 image_convert_pixel_format 513 00a66c30 FUN_00a66c30 120 00a66cb0 FUN_00a66cb0 196 00a66d90 FUN_00a66d90 141 @@ -13003,14 +13003,14 @@ 00a68640 FUN_00a68640 222 00a68730 FUN_00a68730 87 00a68790 FUN_00a68790 90 -00a687f0 FUN_00a687f0 607 +00a687f0 KAGE::Filesys::FileMap::scan_directory 607 00a68a50 FUN_00a68a50 246 00a68b50 FUN_00a68b50 38 00a68b80 KAGE::Filesys::ArchivedFile::~ArchivedFile 175 00a68c40 FUN_00a68c40 7 00a68c50 FUN_00a68c50 146 -00a68cf0 FUN_00a68cf0 906 -00a69090 FUN_00a69090 1007 +00a68cf0 KAGE::Filesys::ArchivedFile::refill_buffer 906 +00a69090 KAGE::Filesys::ArchivedFile::refill_buffer 1007 00a694a0 FUN_00a694a0 87 00a69500 FUN_00a69500 7 00a69510 FUN_00a69510 194 @@ -13029,29 +13029,29 @@ 00a69b10 FUN_00a69b10 31 00a69b30 FUN_00a69b30 175 00a69be0 FUN_00a69be0 20 -00a69c00 FUN_00a69c00 634 +00a69c00 glfw_terminate 634 00a69e80 FUN_00a69e80 98 00a69ef0 _glfw_calloc 106 00a69f60 _glfwInputError 1207 -00a6a420 FUN_00a6a420 740 +00a6a420 glfwInit 740 00a6a710 FUN_00a6a710 222 00a6a7f0 FUN_00a6a7f0 113 00a6a870 FUN_00a6a870 81 00a6a8d0 FUN_00a6a8d0 81 00a6a930 FUN_00a6a930 113 -00a6a9b0 FUN_00a6a9b0 712 -00a6ac80 FUN_00a6ac80 609 +00a6a9b0 glfwCreateWindow 712 +00a6ac80 glfwWindowHint 609 00a6af90 FUN_00a6af90 267 00a6b0a0 FUN_00a6b0a0 244 -00a6b1a0 FUN_00a6b1a0 529 +00a6b1a0 _glfwIsValidContextConfig 529 00a6b3c0 _glfwChooseFBConfig 425 -00a6b570 FUN_00a6b570 1476 +00a6b570 _glfwRefreshContextAttribs 1476 00a6bb40 FUN_00a6bb40 97 00a6bbb0 FUN_00a6bbb0 159 00a6bc50 FUN_00a6bc50 367 00a6bdc0 FUN_00a6bdc0 103 00a6be30 FUN_00a6be30 125 -00a6beb0 FUN_00a6beb0 728 +00a6beb0 _glfwInputMonitor 728 00a6c190 FUN_00a6c190 106 00a6c200 FUN_00a6c200 319 00a6c340 FUN_00a6c340 79 @@ -13068,15 +13068,15 @@ 00a6c5f0 FUN_00a6c5f0 24 00a6c610 FUN_00a6c610 24 00a6c630 FUN_00a6c630 25 -00a6c650 FUN_00a6c650 774 -00a6c960 FUN_00a6c960 1296 +00a6c650 KAGE::Input::InputDeviceKeyboard::update 774 +00a6c960 keyboard_key_names_init 1296 00a6ce70 FUN_00a6ce70 73 00a6cec0 FUN_00a6cec0 41 00a6cef0 FUN_00a6cef0 60 00a6cf80 FUN_00a6cf80 179 00a6d270 FUN_00a6d270 37 00a6d2a0 FUN_00a6d2a0 18 -00a6d2c0 FUN_00a6d2c0 612 +00a6d2c0 deviceObjectCallback 612 00a6d530 FUN_00a6d530 35 00a6d560 FUN_00a6d560 65 00a6da10 Gamepad_removeDevice 157 @@ -13094,22 +13094,22 @@ 00a6f560 FUN_00a6f560 172 00a6f620 FUN_00a6f620 89 00a6f680 FUN_00a6f680 220 -00a6f770 FUN_00a6f770 668 -00a6fa10 FUN_00a6fa10 520 +00a6f770 KAGE::System::UserProfile::set_id 668 +00a6fa10 eos_on_query_product_user_id_mappings 520 00a6fc30 FUN_00a6fc30 278 00a6fd70 FUN_00a6fd70 176 00a6fe30 FUN_00a6fe30 48 00a6fe70 eos_user_info_process_pending 421 00a70020 GridEntity_Door::play_animation 858 00a70380 FUN_00a70380 94 -00a703f0 FUN_00a703f0 697 +00a703f0 eos_user_info_find_or_create 697 00a706b0 FUN_00a706b0 84 00a70710 FUN_00a70710 87 00a70770 FUN_00a70770 468 00a70950 FUN_00a70950 19 00a70970 FUN_00a70970 28 00a70990 FUN_00a70990 119 -00a70a10 FUN_00a70a10 677 +00a70a10 eos_user_info_find_or_create 677 00a70cc0 FUN_00a70cc0 89 00a70d20 FUN_00a70d20 43 00a70d50 FUN_00a70d50 159 @@ -13117,7 +13117,7 @@ 00a70fe0 FUN_00a70fe0 176 00a710a0 KAGE::System::Init 1076 00a714e0 KAGE::System::update 647 -00a71770 FUN_00a71770 1182 +00a71770 kage_shutdown 1182 00a71c20 FUN_00a71c20 14 00a71c30 Lobby::refresh_members 5 00a71c40 Lobby::refresh_members 450 @@ -13127,25 +13127,25 @@ 00a720a0 FUN_00a720a0 264 00a721b0 FUN_00a721b0 159 00a72260 FUN_00a72260 96 -00a722c0 FUN_00a722c0 1151 +00a722c0 KAGE::Network::MultiplayerManager::update_lobby_members 1151 00a72740 KAGE::Network::Multiplayer::Lobby::Lobby 108 -00a727b0 FUN_00a727b0 616 +00a727b0 KAGE::Network::MultiplayerManager::create_lobby 616 00a72a20 KAGE::Network::MultiplayerManager::join_lobby 416 -00a72bc0 FUN_00a72bc0 1118 +00a72bc0 KAGE::Network::MultiplayerManager::request_user_profiles 1118 00a73020 multiplayer_lobby_state_destroy 208 00a73100 CommandThread::post_command 248 00a73200 FUN_00a73200 174 00a732b0 FUN_00a732b0 30 00a73360 FUN_00a73360 83 00a73aa0 FUN_00a73aa0 175 -00a73b60 FUN_00a73b60 640 +00a73b60 KAGE::Network::Multiplayer::ServiceLocalhost::update 640 00a73de0 FUN_00a73de0 20 00a73e00 netplay_lobby_host_handle_message 1620 00a74470 FUN_00a74470 275 00a745a0 FUN_00a745a0 366 -00a74710 FUN_00a74710 548 +00a74710 KAGE::Network::Multiplayer::ServiceLocalhost::join_lobby 548 00a74940 FUN_00a74940 247 -00a74a40 FUN_00a74a40 689 +00a74a40 KAGE::Network::Multiplayer::ServiceLocalhost::request_lobby_list 689 00a74d00 FUN_00a74d00 8 00a74d10 FUN_00a74d10 220 00a74e00 FUN_00a74e00 101 @@ -13177,12 +13177,12 @@ 00a76650 FUN_00a76650 480 00a76830 FUN_00a76830 252 00a76930 FUN_00a76930 220 -00a76a20 FUN_00a76a20 526 -00a76c90 FUN_00a76c90 774 +00a76a20 KAGE::Network::Multiplayer::ServiceEOS::on_create_lobby_complete 526 +00a76c90 eos_join_lobby_callback 774 00a76ff0 FUN_00a76ff0 186 00a770b0 FUN_00a770b0 484 -00a772a0 FUN_00a772a0 1020 -00a776a0 FUN_00a776a0 1002 +00a772a0 KAGE::Network::Multiplayer::ServiceEOS::load_lobby_member_attributes 1020 +00a776a0 eos_lobby_member_on_user_info 1002 00a77a90 FUN_00a77a90 350 00a77bf0 KAGE::Network::Multiplayer::ServiceBase::ServiceBase 366 00a77d60 std::basic_stringbuf,std::allocator_>::`scalar_deleting_destructor' 35 @@ -13191,11 +13191,11 @@ 00a77dd0 KAGE::Network::Multiplayer::ServiceBase::~ServiceBase 401 00a77f70 FUN_00a77f70 482 00a78160 NetConnection::send_message 516 -00a78370 FUN_00a78370 574 +00a78370 KAGE::Network::Multiplayer::ConnectionBase::send_message 574 00a785c0 FUN_00a785c0 430 00a78770 NetworkManager::receive_message 458 00a78940 FUN_00a78940 200 -00a78a10 FUN_00a78a10 1009 +00a78a10 NetworkManager::receive_packet 1009 00a78e10 netplay_lobby_handle_join_message 654 00a790b0 NetworkManager::get_peer 197 00a79180 FUN_00a79180 78 @@ -13210,7 +13210,7 @@ 00a79720 FUN_00a79720 220 00a79800 std::map::erase 446 00a799d0 FUN_00a799d0 139 -00a79a60 FUN_00a79a60 505 +00a79a60 std::map::try_emplace 505 00a79c60 std::map::_Erase_tree 159 00a79d10 FUN_00a79d10 159 00a79dc0 FUN_00a79dc0 36 @@ -13218,14 +13218,14 @@ 00a79ecf Catch_All@00a79ecf 26 00a79ef0 FUN_00a79ef0 79 00a79f40 FUN_00a79f40 161 -00a79ff0 FUN_00a79ff0 876 -00a7a360 FUN_00a7a360 307 +00a79ff0 ClownResampler_LowLevel_Resample 876 +00a7a360 ClownResampler_HighLevel_Resample 307 00a7a4a0 FUN_00a7a4a0 59 00a7a4e0 FUN_00a7a4e0 25 00a7a500 thunk_FUN_00a7aa70 5 -00a7a510 FUN_00a7a510 1341 +00a7a510 organya_song_load 1341 00a7aa70 FUN_00a7aa70 276 -00a7ab90 FUN_00a7ab90 924 +00a7ab90 org_render_samples 924 00a7af50 FUN_00a7af50 495 00a7b140 FUN_00a7b140 34 00a7b180 FUN_00a7b180 125 @@ -13236,7 +13236,7 @@ 00a7b5a0 FUN_00a7b5a0 20 00a7b5c0 FUN_00a7b5c0 17 00a7b5e0 FUN_00a7b5e0 175 -00a7b6a0 FUN_00a7b6a0 538 +00a7b6a0 KAGE::Sound::SampleSourceWav::load 538 00a7b8d0 FUN_00a7b8d0 42 00a7b900 FUN_00a7b900 19 00a7b920 FUN_00a7b920 5 @@ -13249,7 +13249,7 @@ 00a7bcb0 FUN_00a7bcb0 8 00a7bcc0 FUN_00a7bcc0 14 00a7bcd0 FUN_00a7bcd0 161 -00a7bd80 FUN_00a7bd80 974 +00a7bd80 KAGE::Sound::SampleSourceOgg::load 974 00a7c160 FUN_00a7c160 37 00a7c190 FUN_00a7c190 4 00a7c1a0 FUN_00a7c1a0 4 @@ -13258,7 +13258,7 @@ 00a7c3d0 FUN_00a7c3d0 182 00a7c490 FUN_00a7c490 106 00a7c5e0 FUN_00a7c5e0 375 -00a7c760 FUN_00a7c760 569 +00a7c760 KAGE::Sound::StreamSourceOgg::open 569 00a7c9a0 FUN_00a7c9a0 264 00a7cab0 FUN_00a7cab0 217 00a7cb90 FUN_00a7cb90 10 @@ -13280,7 +13280,7 @@ 00a7d160 FUN_00a7d160 229 00a7d250 FUN_00a7d250 13 00a7d260 FUN_00a7d260 51 -00a7d2a0 FUN_00a7d2a0 520 +00a7d2a0 KAGE::Sound::ManagerOpenAL::Init 520 00a7d550 FUN_00a7d550 309 00a7d690 FUN_00a7d690 109 00a7d710 FUN_00a7d710 112 @@ -13293,7 +13293,7 @@ 00a7db00 FUN_00a7db00 41 00a7db30 FUN_00a7db30 77 00a7db80 FUN_00a7db80 107 -00a7df10 FUN_00a7df10 518 +00a7df10 steam_leaderboard_scores_downloaded 518 00a7e120 FUN_00a7e120 386 00a7e2b0 FUN_00a7e2b0 83 00a7e310 FUN_00a7e310 18 @@ -13304,7 +13304,7 @@ 00a7e440 FUN_00a7e440 79 00a7e490 FUN_00a7e490 368 00a7e600 FUN_00a7e600 213 -00a7e6e0 FUN_00a7e6e0 738 +00a7e6e0 eos_friend_lobby_search_start 738 00a7e9d0 FUN_00a7e9d0 442 00a7f010 FUN_00a7f010 143 00a7f0a0 FUN_00a7f0a0 139 @@ -13320,10 +13320,10 @@ 00a7fc40 FUN_00a7fc40 57 00a7fc80 FUN_00a7fc80 33 00a7fcb0 FUN_00a7fcb0 37 -00a7fce0 FUN_00a7fce0 816 -00a80010 FUN_00a80010 1307 -00a80530 FUN_00a80530 571 -00a80770 FUN_00a80770 706 +00a7fce0 _glfwInitWGL 816 +00a80010 _glfwCreateContextWGL 1307 +00a80530 loadLibraries 571 +00a80770 glfw_createKeyTables 706 00a80a40 FUN_00a80a40 158 00a80ae0 _glfwCreateWideStringFromUTF8Win32 197 00a80bb0 FUN_00a80bb0 182 @@ -13331,16 +13331,16 @@ 00a80d30 FUN_00a80d30 446 00a80ef0 _glfwIsWindowsVersionOrGreaterWin32 180 00a80fb0 _glfwIsWindows10BuildOrGreaterWin32 150 -00a81050 FUN_00a81050 662 -00a812f0 FUN_00a812f0 504 +00a81050 _glfwConnectWin32 662 +00a812f0 _glfwInitWin32 504 00a81630 FUN_00a81630 181 -00a816f0 FUN_00a816f0 643 -00a81980 FUN_00a81980 836 -00a81cd0 FUN_00a81cd0 662 +00a816f0 createMonitor 643 +00a81980 _glfwPollMonitorsWin32 836 +00a81cd0 _glfwSetVideoModeWin32 662 00a81f70 FUN_00a81f70 130 00a82000 FUN_00a82000 238 00a820f0 FUN_00a820f0 154 -00a82190 FUN_00a82190 876 +00a82190 _glfwGetVideoModesWin32 876 00a82500 FUN_00a82500 242 00a82600 FUN_00a82600 153 00a826a0 FUN_00a826a0 176 @@ -13352,7 +13352,7 @@ 00a82c10 FUN_00a82c10 49 00a82c50 FUN_00a82c50 111 00a82cc0 FUN_00a82cc0 127 -00a82d40 FUN_00a82d40 1288 +00a82d40 _glfwInitEGL 1288 00a83250 FUN_00a83250 53 00a83290 _glfwCreateContextEGL 1565 00a838b0 FUN_00a838b0 226 @@ -13360,14 +13360,14 @@ 00a83b20 FUN_00a83b20 14 00a83b30 FUN_00a83b30 83 00a83b90 FUN_00a83b90 393 -00a83d20 FUN_00a83d20 631 +00a83d20 _glfwCreateContextOSMesa 631 00a83fa0 FUN_00a83fa0 41 00a83fd0 FUN_00a83fd0 82 00a84030 FUN_00a84030 35 00a84060 KAGE::Network::Multiplayer::LobbyEOS::~LobbyEOS 125 00a840f0 FUN_00a840f0 145 00a84190 FUN_00a84190 35 -00a841c0 FUN_00a841c0 657 +00a841c0 KAGE::Network::Multiplayer::LobbyEOS::get_members 657 00a84460 FUN_00a84460 78 00a844b0 FUN_00a844b0 23 00a844d0 FUN_00a844d0 19 @@ -13389,22 +13389,22 @@ 00a85090 FUN_00a85090 86 00a850f0 FUN_00a850f0 74 00a85140 lzw_compress 476 -00a85320 FUN_00a85320 624 +00a85320 lzw_decompress 624 00a855a0 FUN_00a855a0 356 00a85710 tinfl_decompress 6953 00a87300 tdefl_optimize_huffman_table 1637 00a87970 miniz::tdefl_start_dynamic_block 2041 -00a88170 FUN_00a88170 1003 +00a88170 tdefl_compress_lz_codes 1003 00a88560 FUN_00a88560 227 00a88650 tdefl_flush_block 1365 -00a88bb0 FUN_00a88bb0 1315 +00a88bb0 tdefl_compress_fast 1315 00a890e0 tdefl_compress_normal 2292 00a899e0 FUN_00a899e0 119 00a89a60 FUN_00a89a60 313 00a89ba0 FUN_00a89ba0 227 00a89c90 FUN_00a89c90 222 00a89d70 FUN_00a89d70 100 -00a89de0 FUN_00a89de0 415 +00a89de0 tdefl_compress 415 00a89f80 FUN_00a89f80 134 00a8a010 FUN_00a8a010 95 00a8a070 FUN_00a8a070 22 @@ -13416,8 +13416,8 @@ 00a8b130 FUN_00a8b130 40 00a8b160 FUN_00a8b160 44 00a8b190 TheoraVideoManager::destroyVideoClip 985 -00a8b570 FUN_00a8b570 606 -00a8b7d0 FUN_00a8b7d0 962 +00a8b570 TheoraVideoManager::createWorkerThreads 606 +00a8b7d0 TheoraVideoManager::requestWork 962 00a8bba0 std::_Facet_base::`scalar_deleting_destructor' 36 00a8bbd0 FUN_00a8bbd0 138 00a8bc60 FUN_00a8bc60 33 @@ -13441,11 +13441,11 @@ 00a8c600 FUN_00a8c600 207 00a8c6d0 FUN_00a8c6d0 38 00a8c700 FUN_00a8c700 220 -00a8c7e0 FUN_00a8c7e0 550 +00a8c7e0 theoraplayer::VideoClip_Theora::~VideoClip_Theora 550 00a8ca10 VideoClip_Theora::_load 1680 -00a8d0a0 FUN_00a8d0a0 672 -00a8d350 FUN_00a8d350 556 -00a8d580 FUN_00a8d580 968 +00a8d0a0 VideoClip_Theora::_readData 672 +00a8d350 theoraplayer::VideoClip_Theora::_decodeNextFrame 556 +00a8d580 VideoClip_Theora::_decodeAudio 968 00a8d950 FUN_00a8d950 227 00a8da40 VideoClip_Theora::_executeSeek 1542 00a8e050 FUN_00a8e050 350 @@ -13582,7 +13582,7 @@ 00a90590 FUN_00a90590 71 00a905e0 FUN_00a905e0 64 00a90620 FUN_00a90620 47 -00a90650 FUN_00a90650 893 +00a90650 theoraplayer::VideoClip::VideoClip 893 00a909d0 FUN_00a909d0 38 00a90a00 FUN_00a90a00 432 00a90bc0 FUN_00a90bc0 218 @@ -13591,29 +13591,29 @@ 00a91030 FUN_00a91030 128 00a910c0 png_write_chunk_header 197 00a91190 FUN_00a91190 70 -00a911e0 FUN_00a911e0 993 +00a911e0 png_write_IHDR 993 00a91610 FUN_00a91610 374 -00a91790 FUN_00a91790 953 -00a91b50 FUN_00a91b50 631 -00a91dd0 FUN_00a91dd0 666 +00a91790 png_write_cHRM 953 +00a91b50 png_write_tRNS 631 +00a91dd0 png_write_bKGD 666 00a92070 FUN_00a92070 311 -00a921b0 FUN_00a921b0 879 +00a921b0 png_check_keyword 879 00a92520 FUN_00a92520 273 00a92640 png_write_zTXt 1313 00a92b70 FUN_00a92b70 310 -00a92cb0 FUN_00a92cb0 1008 +00a92cb0 png_write_pCAL 1008 00a930b0 FUN_00a930b0 310 00a931f0 FUN_00a931f0 205 00a932c0 FUN_00a932c0 443 00a93480 png_write_finish_row 429 -00a93640 FUN_00a93640 541 +00a93640 png_do_write_interlace 541 00a93860 png_write_find_filter 4769 00a94b10 png_write_filtered_row 366 -00a94c80 FUN_00a94c80 650 -00a94f10 FUN_00a94f10 658 +00a94c80 png_do_write_transformations 650 +00a94f10 png_do_shift 658 00a951b0 FUN_00a951b0 249 00a952b0 FUN_00a952b0 251 -00a953b0 FUN_00a953b0 559 +00a953b0 deflateInit2_ 559 00a955e0 FUN_00a955e0 389 00a95770 FUN_00a95770 36 00a957a0 FUN_00a957a0 75 @@ -13621,24 +13621,24 @@ 00a95a10 FUN_00a95a10 175 00a95ac0 FUN_00a95ac0 389 00a95c50 FUN_00a95c50 400 -00a95de0 FUN_00a95de0 535 -00a96000 FUN_00a96000 865 -00a96370 FUN_00a96370 1163 +00a95de0 deflate_stored 535 +00a96000 deflate_fast 865 +00a96370 deflate_slow 1163 00a96800 FUN_00a96800 350 -00a96980 FUN_00a96980 817 -00a96cc0 FUN_00a96cc0 1057 -00a97100 FUN_00a97100 656 -00a973a0 FUN_00a973a0 173 -00a97450 FUN_00a97450 653 +00a96980 png_read_info 817 +00a96cc0 png_read_row 1057 +00a97100 png_read_end 656 +00a973a0 png_destroy_read_struct 173 +00a97450 png_read_destroy 653 00a976e0 FUN_00a976e0 70 00a97730 png_init_read_transformations 2939 00a982d0 FUN_00a982d0 343 -00a98430 png_read_row 1509 +00a98430 png_do_read_transformations 1509 00a98a20 png_do_unshift 504 00a98c40 png_do_read_swap_alpha 268 00a98d50 png_do_read_invert_alpha 268 00a98e60 FUN_00a98e60 10 -00a98e6a FUN_00a98e6a 640 +00a98e6a png_do_read_filler 640 00a990f0 png_do_gray_to_rgb 395 00a99280 png_do_background 4139 00a9a2f0 png_do_gamma 958 @@ -13646,12 +13646,12 @@ 00a9a960 png_do_expand 955 00a9ad20 png_do_dither 348 00a9ae80 libpng_png_build_gamma_table 1735 -00a9b550 FUN_00a9b550 860 -00a9b8b0 FUN_00a9b8b0 866 +00a9b550 get_sof 860 +00a9b8b0 get_sos 866 00a9bc20 FUN_00a9bc20 422 -00a9bdd0 FUN_00a9bdd0 968 -00a9c1a0 FUN_00a9c1a0 680 -00a9c450 FUN_00a9c450 565 +00a9bdd0 get_dht 968 +00a9c1a0 get_dqt 680 +00a9c450 examine_app0 565 00a9c690 FUN_00a9c690 211 00a9c770 FUN_00a9c770 367 00a9c8e0 FUN_00a9c8e0 181 @@ -13666,20 +13666,20 @@ 00a9d2c0 FUN_00a9d2c0 175 00a9d370 FUN_00a9d370 26 00a9d390 jpeg_CreateDecompress 653 -00a9d620 FUN_00a9d620 544 +00a9d620 default_decompress_parms 544 00a9d840 libjpeg_output_pass_setup 378 00a9d9c0 jpeg_read_scanlines 262 00a9dad0 FUN_00a9dad0 78 00a9db20 FUN_00a9db20 45 -00a9db50 FUN_00a9db50 839 +00a9db50 _glfwSelectPlatform 839 00a9dea0 FUN_00a9dea0 444 00a9e060 FUN_00a9e060 137 00a9e0f0 FUN_00a9e0f0 122 00a9e170 FUN_00a9e170 161 00a9e220 FUN_00a9e220 90 00a9e280 FUN_00a9e280 67 -00a9e2d0 FUN_00a9e2d0 529 -00a9e4f0 FUN_00a9e4f0 168 +00a9e2d0 steam_user_profile_update 529 +00a9e4f0 KAGE::Sound::Manager::Init 168 00a9e5a0 FUN_00a9e5a0 369 00a9e720 FUN_00a9e720 319 00a9e890 FUN_00a9e890 42 @@ -13784,25 +13784,25 @@ 00aa50a0 FUN_00aa50a0 113 00aa5120 stb_vorbis::is_whole_packet_present 297 00aa5250 stb_vorbis::start_decoder 8431 -00aa7340 FUN_00aa7340 696 +00aa7340 vorbis_deinit 696 00aa7600 FUN_00aa7600 55 00aa7640 FUN_00aa7640 38 00aa7670 FUN_00aa7670 248 00aa7770 FUN_00aa7770 305 00aa78e0 FUN_00aa78e0 301 -00aa7a10 FUN_00aa7a10 1127 +00aa7a10 stb_vorbis::compute_stereo_samples 1127 00aa7e80 FUN_00aa7e80 303 00aa7fb0 FUN_00aa7fb0 187 00aa8070 FUN_00aa8070 32 00aa8090 FUN_00aa8090 468 00aa8270 FUN_00aa8270 231 -00aa8360 FUN_00aa8360 579 +00aa8360 deviceObjectCallback 579 00aa8a00 FUN_00aa8a00 488 -00aa8d90 FUN_00aa8d90 1456 +00aa8d90 _glfwPollJoystickWin32 1456 00aa9360 FUN_00aa9360 123 00aa93e0 FUN_00aa93e0 182 00aa94a0 FUN_00aa94a0 46 -00aa9580 FUN_00aa9580 617 +00aa9580 isaac_randinit 617 00aa97f0 FUN_00aa97f0 55 00aa9830 FUN_00aa9830 73 00aa9880 FUN_00aa9880 55 @@ -13887,61 +13887,61 @@ 00aaddd0 FUN_00aaddd0 301 00aadf00 FUN_00aadf00 132 00aadf90 FUN_00aadf90 207 -00aae060 FUN_00aae060 520 -00aae270 FUN_00aae270 663 +00aae060 gen_bitlen 520 +00aae270 build_tree 663 00aae510 FUN_00aae510 242 -00aae610 FUN_00aae610 1308 -00aaeb30 FUN_00aaeb30 621 +00aae610 send_tree 1308 +00aaeb30 send_all_trees 621 00aaeda0 FUN_00aaeda0 270 -00aaeeb0 FUN_00aaeeb0 852 -00aaf210 FUN_00aaf210 1074 +00aaeeb0 _tr_flush_block 852 +00aaf210 compress_block 1074 00aaf650 FUN_00aaf650 87 00aaf6b0 FUN_00aaf6b0 71 00aaf700 FUN_00aaf700 211 00aaf7e0 FUN_00aaf7e0 484 -00aaf9d0 FUN_00aaf9d0 879 +00aaf9d0 inflate 879 00aafd80 FUN_00aafd80 43 00aafdb0 FUN_00aafdb0 142 00aafe40 FUN_00aafe40 31 00aafe60 png_crc_read 100 00aafed0 png_crc_finish 466 -00ab00b0 FUN_00ab00b0 600 +00ab00b0 png_handle_IHDR 600 00ab0330 FUN_00ab0330 412 00ab04d0 FUN_00ab04d0 109 00ab0540 FUN_00ab0540 391 00ab06d0 FUN_00ab06d0 339 -00ab0830 KAGE_Graphics_ImageManager::apply_frame_images 1925 -00ab0fc0 FUN_00ab0fc0 827 -00ab1300 FUN_00ab1300 567 +00ab0830 png_handle_cHRM 1925 +00ab0fc0 png_handle_sRGB 827 +00ab1300 png_handle_tRNS 567 00ab1540 FUN_00ab1540 500 00ab1740 FUN_00ab1740 401 00ab18e0 FUN_00ab18e0 358 00ab1a50 FUN_00ab1a50 361 -00ab1bc0 FUN_00ab1bc0 800 +00ab1bc0 png_handle_pCAL 800 00ab1ef0 FUN_00ab1ef0 334 00ab2040 FUN_00ab2040 241 -00ab2140 FUN_00ab2140 1085 +00ab2140 png_handle_zTXt 1085 00ab2580 FUN_00ab2580 146 -00ab2620 FUN_00ab2620 720 -00ab28f0 FUN_00ab28f0 1158 -00ab2d80 FUN_00ab2d80 902 -00ab3120 FUN_00ab3120 719 -00ab33f0 FUN_00ab33f0 582 +00ab2620 png_combine_row 720 +00ab28f0 png_do_read_interlace 1158 +00ab2d80 png_read_filter_row 902 +00ab3120 png_read_finish_row 719 +00ab33f0 png_read_start_row 582 00ab3640 FUN_00ab3640 65 00ab3690 alloc_small 373 00ab3810 FUN_00ab3810 237 -00ab3900 FUN_00ab3900 546 +00ab3900 alloc_sarray 546 00ab3b30 FUN_00ab3b30 187 00ab3bf0 FUN_00ab3bf0 108 00ab3c60 FUN_00ab3c60 108 -00ab3cd0 FUN_00ab3cd0 585 +00ab3cd0 realize_virt_arrays 585 00ab3f20 FUN_00ab3f20 197 00ab3ff0 FUN_00ab3ff0 153 00ab4090 FUN_00ab4090 386 00ab4220 FUN_00ab4220 334 00ab4370 FUN_00ab4370 264 00ab4480 FUN_00ab4480 287 -00ab45a0 FUN_00ab45a0 671 +00ab45a0 initial_setup 671 00ab4850 FUN_00ab4850 427 00ab4a00 FUN_00ab4a00 232 00ab4af0 FUN_00ab4af0 20 @@ -13965,7 +13965,7 @@ 00ab5cc0 libjpeg_jinit_master_decompress 2002 00ab64a0 FUN_00ab64a0 346 00ab6600 FUN_00ab6600 40 -00ab6a80 FUN_00ab6a80 309 +00ab6a80 I420ToRGBAMatrix 309 00ab6bc0 FUN_00ab6bc0 309 00ab6d00 FUN_00ab6d00 309 00ab6e40 FUN_00ab6e40 156 @@ -13973,15 +13973,15 @@ 00ab7010 FUN_00ab7010 188 00ab70d0 FUN_00ab70d0 75 00ab7120 FUN_00ab7120 242 -00ab7220 FUN_00ab7220 937 +00ab7220 vorbis_staticbook_unpack 937 00ab75d0 FUN_00ab75d0 384 -00ab7750 FUN_00ab7750 747 +00ab7750 vorbis_book_decodevs_add 747 00ab7a40 FUN_00ab7a40 206 -00ab7c00 FUN_00ab7c00 623 -00ab7e70 FUN_00ab7e70 543 +00ab7c00 vorbis_book_decodev_set 623 +00ab7e70 vorbis_book_decodevv_add 543 00ab8090 FUN_00ab8090 415 00ab8230 FUN_00ab8230 174 -00ab82e0 FUN_00ab82e0 730 +00ab82e0 _book_unquantize 730 00ab85c0 FUN_00ab85c0 91 00ab8620 FUN_00ab8620 33 00ab8650 vorbis_book_init_decode 1243 @@ -14001,11 +14001,11 @@ 00abaa50 FUN_00abaa50 246 00abab50 FUN_00abab50 25 00abab70 mdct_init 733 -00abae50 FUN_00abae50 585 +00abae50 mdct_butterfly_32 585 00abb0a0 FUN_00abb0a0 409 00abb240 mdct_butterflies 1291 00abb750 mdct_bitreverse 423 -00abb900 FUN_00abb900 855 +00abb900 mdct_backward 855 00abbc60 mdct_forward 558 00abbe90 dradf2 532 00abc0b0 dradf4 1095 @@ -14013,7 +14013,7 @@ 00abd410 drftf1 533 00abd630 _vorbis_apply_window 576 00abd870 FUN_00abd870 125 -00abd900 FUN_00abd900 137 +00abd900 inflate_blocks 137 00abe4f0 create_colormap 607 00abe750 create_colorindex 305 00abe890 FUN_00abe890 149 @@ -14024,48 +14024,48 @@ 00abed70 FUN_00abed70 75 00abedc0 FUN_00abedc0 432 00abef70 FUN_00abef70 25 -00abef90 FUN_00abef90 520 -00abf1a0 FUN_00abf1a0 544 -00abf3c0 FUN_00abf3c0 520 -00abf5d0 FUN_00abf5d0 544 -00abf7f0 FUN_00abf7f0 544 -00abfa10 FUN_00abfa10 544 +00abef90 extrgb_h2v2_merged_upsample_internal 520 +00abf1a0 extrgbx_h2v2_merged_upsample_internal 544 +00abf3c0 h2v2_merged_upsample 520 +00abf5d0 libjpeg_h2v2_merged_upsample 544 +00abf7f0 extxbgr_h2v2_merged_upsample_internal 544 +00abfa10 extxrgb_h2v2_merged_upsample_internal 544 00abfc30 FUN_00abfc30 24 00abfc50 FUN_00abfc50 180 00abfd10 FUN_00abfd10 53 00abfd50 FUN_00abfd50 375 00ac07f0 FUN_00ac07f0 434 -00ac09b0 FUN_00ac09b0 562 -00ac0bf0 FUN_00ac0bf0 655 -00ac0e80 FUN_00ac0e80 882 +00ac09b0 h2v1_merged_upsample_565D_le 562 +00ac0bf0 h2v2_merged_upsample_565_le 655 +00ac0e80 h2v2_merged_upsample_565D_le 882 00ac1200 FUN_00ac1200 25 00ac1220 FUN_00ac1220 25 00ac1240 FUN_00ac1240 25 00ac1260 FUN_00ac1260 25 -00ac1280 libjpeg_jinit_upsampler 399 -00ac1410 FUN_00ac1410 684 +00ac1280 jinit_merged_upsampler 399 +00ac1410 start_pass_phuff_decoder 684 00ac16c0 FUN_00ac16c0 133 -00ac1750 FUN_00ac1750 621 -00ac19c0 FUN_00ac19c0 566 +00ac1750 decode_mcu_DC_first 621 +00ac19c0 decode_mcu_AC_first 566 00ac1c00 FUN_00ac1c00 228 -00ac1cf0 FUN_00ac1cf0 1221 +00ac1cf0 decode_mcu_AC_refine 1221 00ac21c0 add_huff_table 247 00ac22c0 FUN_00ac22c0 354 -00ac2430 FUN_00ac2430 844 +00ac2430 jpeg_make_d_derived_tbl 844 00ac2780 FUN_00ac2780 280 00ac28a0 FUN_00ac28a0 218 -00ac2980 FUN_00ac2980 1049 +00ac2980 decode_mcu_fast 1049 00ac2da0 decode_mcu_slow 1697 00ac3450 FUN_00ac3450 233 00ac3540 FUN_00ac3540 158 -00ac35e0 FUN_00ac35e0 997 +00ac35e0 libjpeg_update_box 997 00ac39d0 FUN_00ac39d0 473 -00ac3bb0 FUN_00ac3bb0 520 -00ac3dc0 FUN_00ac3dc0 664 -00ac4060 FUN_00ac4060 595 +00ac3bb0 select_colors 520 +00ac3dc0 find_nearby_colors 664 +00ac4060 find_best_colors 595 00ac42c0 FUN_00ac42c0 303 -00ac43f0 FUN_00ac43f0 528 -00ac4600 FUN_00ac4600 677 +00ac43f0 pass2_no_dither 528 +00ac4600 pass2_fs_dither 677 00ac48b0 FUN_00ac48b0 154 00ac4950 FUN_00ac4950 34 00ac4980 FUN_00ac4980 273 @@ -14077,30 +14077,30 @@ 00ac5100 FUN_00ac5100 447 00ac52c0 FUN_00ac52c0 121 00ac5340 FUN_00ac5340 427 -00ac54f0 FUN_00ac54f0 834 -00ac5840 FUN_00ac5840 912 +00ac54f0 libjpeg_arith_decode_mcu 834 +00ac5840 start_pass_huff_decoder 912 00ac5bd0 FUN_00ac5bd0 104 00ac5c40 FUN_00ac5c40 22 00ac5c60 FUN_00ac5c60 79 -00ac5cb0 FUN_00ac5cb0 623 -00ac5f20 FUN_00ac5f20 554 +00ac5cb0 decompress_onepass 623 +00ac5f20 consume_data 554 00ac6150 FUN_00ac6150 431 00ac6300 FUN_00ac6300 433 -00ac64c0 FUN_00ac64c0 3331 +00ac64c0 decompress_smooth_data 3331 00ac71d0 libjpeg_jinit_d_coef_controller 435 00ac7390 FUN_00ac7390 340 00ac74f0 FUN_00ac74f0 84 -00ac7550 FUN_00ac7550 614 +00ac7550 decode_mcus 614 00ac77c0 FUN_00ac77c0 206 00ac7890 FUN_00ac7890 318 00ac8180 FUN_00ac8180 478 00ac8360 FUN_00ac8360 35 00ac8390 FUN_00ac8390 123 00ac86a0 FUN_00ac86a0 190 -00ac8ca0 FUN_00ac8ca0 686 -00ac8f50 FUN_00ac8f50 872 +00ac8ca0 ycc_rgb565_convert_le 686 +00ac8f50 ycc_rgb565D_convert 872 00ac92c0 FUN_00ac92c0 372 -00ac9440 FUN_00ac9440 594 +00ac9440 rgb_rgb565D_convert_le 594 00ac96a0 FUN_00ac96a0 391 00ac9830 FUN_00ac9830 28 00ac9850 FUN_00ac9850 28 @@ -14113,15 +14113,15 @@ 00ac9ec0 FUN_00ac9ec0 134 00ac9f50 FUN_00ac9f50 18 00ac9f70 FUN_00ac9f70 501 -00aca170 FUN_00aca170 718 +00aca170 consume_data 718 00aca440 FUN_00aca440 301 -00aca570 jinit_d_coef_controller 435 +00aca570 jinit_d_diff_controller 435 00aca730 FUN_00aca730 428 00aca8e0 FUN_00aca8e0 108 -00aca950 FUN_00aca950 670 +00aca950 process_data_context_main 670 00acabf0 FUN_00acabf0 38 00acac20 libjpeg_jinit_d_main_controller 473 -00acae00 FUN_00acae00 1136 +00acae00 jddctmgr_start_pass 1136 00acb400 FUN_00acb400 259 00acb510 FUN_00acb510 107 00acb580 FUN_00acb580 160 @@ -14179,9 +14179,9 @@ 00acc8f0 FUN_00acc8f0 322 00acca40 FUN_00acca40 107 00accab0 FUN_00accab0 219 -00accb90 FUN_00accb90 564 -00accdd0 FUN_00accdd0 557 -00acd000 FUN_00acd000 566 +00accb90 I422ToARGBRow_C 564 +00accdd0 I422ToRGB24Row_C 557 +00acd000 I422ToRGBARow_C 566 00acd240 FUN_00acd240 128 00acd2c0 FUN_00acd2c0 312 00acd400 FUN_00acd400 312 @@ -14195,47 +14195,47 @@ 00acdcb0 FUN_00acdcb0 246 00acddb0 FUN_00acddb0 218 00acde90 FUN_00acde90 218 -00acdf70 FUN_00acdf70 779 +00acdf70 InitCpuFlags 779 00ace280 FUN_00ace280 34 00ace2b0 FUN_00ace2b0 82 00ace310 FUN_00ace310 252 00ace410 FUN_00ace410 53 -00ace450 FUN_00ace450 320 -00ace590 FUN_00ace590 628 +00ace450 floor0_inverse1 320 +00ace590 floor0_inverse2 628 00ace810 FUN_00ace810 37 00ace840 FUN_00ace840 372 -00ace9c0 FUN_00ace9c0 549 -00acebf0 mapping0_inverse 3227 -00acf890 FUN_00acf890 764 +00ace9c0 mapping0_unpack 549 +00acebf0 mapping0_forward 3227 +00acf890 mapping0_inverse 764 00acfb90 FUN_00acfb90 37 00acfbc0 FUN_00acfbc0 112 00acfc30 FUN_00acfc30 252 00acfd30 FUN_00acfd30 442 -00acff00 FUN_00acff00 539 -00ad0120 FUN_00ad0120 1016 -00ad0520 FUN_00ad0520 141 +00acff00 res0_look 539 +00ad0120 local_book_besterror 1016 +00ad0520 _encodepart 141 00ad05b0 FUN_00ad05b0 470 -00ad0790 FUN_00ad0790 640 +00ad0790 _01inverse 640 00ad0a20 FUN_00ad0a20 88 00ad0a80 FUN_00ad0a80 87 -00ad0ae0 FUN_00ad0ae0 816 +00ad0ae0 res1_class 816 00ad0e10 FUN_00ad0e10 88 -00ad0e70 FUN_00ad0e70 668 +00ad0e70 res2_class 668 00ad1110 FUN_00ad1110 197 -00ad11e0 FUN_00ad11e0 414 +00ad11e0 res2_inverse 414 00ad1380 FUN_00ad1380 37 00ad13b0 FUN_00ad13b0 37 00ad13e0 FUN_00ad13e0 491 00ad15d0 FUN_00ad15d0 19 -00ad15f0 FUN_00ad15f0 982 +00ad15f0 floor1_unpack 982 00ad1d70 accumulate_fit 399 00ad1f00 fit_line 710 00ad21d0 inspect_error 542 00ad23f0 floor1_fit 1516 00ad29e0 floor1_interpolate_fit 530 00ad2c00 theora_oc_dec_dc_unpredict_mcu_plane 1548 -00ad3220 FUN_00ad3220 783 -00ad3530 FUN_00ad3530 682 +00ad3220 floor1_inverse1 783 +00ad3530 floor1_inverse2 682 00ad37e0 FUN_00ad37e0 259 00ad38f0 FUN_00ad38f0 25 00ad3910 FUN_00ad3910 45 @@ -14251,27 +14251,27 @@ 00ad3b10 FUN_00ad3b10 28 00ad3b30 FUN_00ad3b30 146 00ad41d0 FUN_00ad41d0 266 -00ad42e0 FUN_00ad42e0 1336 -00ad4820 FUN_00ad4820 1439 +00ad42e0 huft_build 1336 +00ad4820 jpeg_idct_islow 1439 00ad4dc0 jpeg_idct_7x7 4819 -00ad60a0 theora_oc_state_frag_recon 2599 -00ad6ad0 jpeg_idct_islow 1861 -00ad7220 FUN_00ad7220 545 -00ad7450 FUN_00ad7450 1095 -00ad78a0 FUN_00ad78a0 1307 -00ad7dc0 FUN_00ad7dc0 1627 -00ad8420 FUN_00ad8420 1487 -00ad89f0 FUN_00ad89f0 1876 -00ad9150 FUN_00ad9150 1765 +00ad60a0 jpeg_idct_6x6 2599 +00ad6ad0 jpeg_idct_5x5 1861 +00ad7220 jpeg_idct_3x3 545 +00ad7450 jpeg_idct_9x9 1095 +00ad78a0 jpeg_idct_10x10 1307 +00ad7dc0 jpeg_idct_11x11 1627 +00ad8420 jpeg_idct_12x12 1487 +00ad89f0 jpeg_idct_13x13 1876 +00ad9150 jpeg_idct_14x14 1765 00ad9840 jpeg_idct_15x15 1916 00ad9fc0 jpeg_idct_16x16 2131 -00ada820 FUN_00ada820 873 -00adab90 FUN_00adab90 590 +00ada820 jpeg_idct_4x4 873 +00adab90 jpeg_idct_2x2 590 00adade0 FUN_00adade0 61 -00adae20 FUN_00adae20 1170 -00adb2c0 FUN_00adb2c0 1282 +00adae20 jpeg_idct_ifast 1170 +00adb2c0 jpeg_idct_float 1282 00adb7d0 FUN_00adb7d0 485 -00adb9c0 FUN_00adb9c0 1003 +00adb9c0 inflate_fast 1003 00adbdb0 FUN_00adbdb0 29 00adbdd0 FUN_00adbdd0 70 00adbe20 FUN_00adbe20 23 @@ -14284,13 +14284,13 @@ 00adcaa0 oc_dec_deblock_frag_rows 714 00adcd70 oc_dec_dering_frag_rows 644 00add000 oc_dec_frags_recon_mcu_plane 604 -00add260 FUN_00add260 550 +00add260 oc_dec_init 550 00add490 oc_dec_mv_unpack 750 00add7a0 oc_dec_postprocess_init 784 00addab0 oc_dering_block 2472 00ade460 oc_filter_hedge 749 00ade750 oc_filter_vedge 550 -00ade980 FUN_00ade980 99 +00ade980 th_decode_alloc 99 00ade9f0 th_decode_ctl 351 00adeb70 FUN_00adeb70 81 00adebd0 th_decode_packetin 3307 @@ -14299,8 +14299,8 @@ 00adf940 FUN_00adf940 14 00adf950 FUN_00adf950 20 00adf970 FUN_00adf970 39 -00adf9a0 FUN_00adf9a0 542 -00adfbc0 FUN_00adfbc0 523 +00adf9a0 oc_comment_unpack 542 +00adfbc0 oc_dec_headerin 523 00adfdd0 FUN_00adfdd0 383 00adff50 FUN_00adff50 64 00adff90 FUN_00adff90 45 @@ -14310,28 +14310,28 @@ 00ae00b0 FUN_00ae00b0 143 00ae0140 FUN_00ae0140 143 00ae01d0 FUN_00ae01d0 41 -00ae0200 FUN_00ae0200 939 -00ae05b0 FUN_00ae05b0 1007 +00ae0200 loop_filter_h 939 +00ae05b0 loop_filter_v 1007 00ae09a0 FUN_00ae09a0 124 00ae0a20 FUN_00ae0a20 45 00ae0a50 FUN_00ae0a50 59 00ae0a90 FUN_00ae0a90 62 00ae0ad0 FUN_00ae0ad0 83 00ae0b30 FUN_00ae0b30 92 -00ae0b90 FUN_00ae0b90 1029 +00ae0b90 oc_state_border_init 1029 00ae0fa0 oc_state_borders_fill_caps 181 00ae1060 oc_state_borders_fill_rows 156 00ae1100 FUN_00ae1100 96 00ae1160 FUN_00ae1160 383 00ae12e0 FUN_00ae12e0 77 -00ae1330 FUN_00ae1330 1488 +00ae1330 oc_state_frarray_init 1488 00ae1900 FUN_00ae1900 176 00ae19b0 FUN_00ae19b0 430 -00ae1b60 FUN_00ae1b60 400 -00ae1cf0 FUN_00ae1cf0 865 +00ae1b60 oc_state_loop_filter_frag_rows 400 +00ae1cf0 oc_state_ref_bufs_init 865 00ae2060 th_granule_frame 162 00ae2110 FUN_00ae2110 232 -00ae2200 FUN_00ae2200 881 +00ae2200 oc_dequant_tables_init 881 00ae2580 FUN_00ae2580 30 00ae25a0 FUN_00ae25a0 50 00ae25e0 FUN_00ae25e0 80 @@ -14339,13 +14339,13 @@ 00ae2660 FUN_00ae2660 120 00ae26e0 FUN_00ae26e0 81 00ae2740 oc_huff_token_decode 161 -00ae27f0 FUN_00ae27f0 617 +00ae27f0 oc_huff_tree_collapse 617 00ae2a60 FUN_00ae2a60 98 00ae2ad0 FUN_00ae2ad0 36 00ae2b00 FUN_00ae2b00 228 00ae2bf0 FUN_00ae2bf0 359 00ae2d60 FUN_00ae2d60 271 -00ae2e70 FUN_00ae2e70 728 +00ae2e70 oc_quant_params_unpack 728 00ae3150 FUN_00ae3150 106 00ae31c0 FUN_00ae31c0 127 00ae3240 FUN_00ae3240 165 @@ -14353,12 +14353,12 @@ 00ae34f0 FUN_00ae34f0 449 00ae36c0 FUN_00ae36c0 362 00ae3830 FUN_00ae3830 396 -00ae39c0 FUN_00ae39c0 162 +00ae39c0 idct8_2 162 00ae3a70 FUN_00ae3a70 279 -00ae3b90 FUN_00ae3b90 558 -00ae3dc0 FUN_00ae3dc0 376 -00ae3f40 FUN_00ae3f40 705 -00ae4210 FUN_00ae4210 512 +00ae3b90 oc_idct8x8_10 558 +00ae3dc0 oc_idct8x8_c 376 +00ae3f40 oc_idct8x8_slow 705 +00ae4210 oc_cpu_flags_get 512 00ae4410 FUN_00ae4410 28 00ae4430 FUN_00ae4430 32 00ae4450 FUN_00ae4450 96 @@ -14368,11 +14368,11 @@ 00ae4630 FUN_00ae4630 175 00ae46e0 FUN_00ae46e0 108 00ae4750 FUN_00ae4750 200 -00ae4830 FUN_00ae4830 951 +00ae4830 oc_idct8x8_mmx 951 00ae4bf0 oc_idct8x8_mmx 1601 00ae5240 FUN_00ae5240 30 00ae5260 FUN_00ae5260 330 -00ae53b0 FUN_00ae53b0 1485 +00ae53b0 oc_state_loop_filter_frag_rows_mmx 1485 00ae59b0 FUN_00ae59b0 223 00ae5a90 FUN_00ae5a90 271 00ae5ba0 FUN_00ae5ba0 37 @@ -14380,7 +14380,7 @@ 00ae5d10 FUN_00ae5d10 297 00ae5e40 mi_manage_os_memory_ex 390 00ae5fd0 FUN_00ae5fd0 26 -00ae5ff0 FUN_00ae5ff0 562 +00ae5ff0 mi_reserve_huge_os_pages_at_ex 562 00ae6230 FUN_00ae6230 199 00ae6300 FUN_00ae6300 244 00ae6400 mi_reserve_os_memory_ex 252 @@ -14420,7 +14420,7 @@ 00ae7810 FUN_00ae7810 285 00ae7930 FUN_00ae7930 169 00ae79e0 FUN_00ae79e0 394 -00ae7b70 FUN_00ae7b70 736 +00ae7b70 mi_option_init 736 00ae7e50 FUN_00ae7e50 119 00ae7ed0 FUN_00ae7ed0 214 00ae7fb0 FUN_00ae7fb0 37 @@ -14473,16 +14473,16 @@ 00ae9d20 FUN_00ae9d20 109 00ae9d90 FUN_00ae9d90 71 00ae9de0 FUN_00ae9de0 298 -00ae9f10 FUN_00ae9f10 502 +00ae9f10 mi_thread_init 502 00aea110 FUN_00aea110 96 00aea170 FUN_00aea170 18 00aea190 FUN_00aea190 18 00aea1b0 FUN_00aea1b0 69 00aea200 FUN_00aea200 28 00aea220 FUN_00aea220 124 -00aea2a0 FUN_00aea2a0 662 +00aea2a0 chacha_block 662 00aea540 FUN_00aea540 353 -00aea6b0 FUN_00aea6b0 750 +00aea6b0 mi_random_init_ex 750 00aea9a0 thunk_FUN_00aeae80 5 00aea9b0 FUN_00aea9b0 342 00aeab10 FUN_00aeab10 472 @@ -14515,11 +14515,11 @@ 00aebb90 FUN_00aebb90 256 00aebc90 FUN_00aebc90 281 00aebdb0 FUN_00aebdb0 114 -00aebe30 FUN_00aebe30 1145 +00aebe30 mi_segment_alloc 1145 00aec2b0 FUN_00aec2b0 272 00aec3c0 FUN_00aec3c0 295 00aec4f0 FUN_00aec4f0 345 -00aec650 FUN_00aec650 505 +00aec650 mi_segment_span_free 505 00aec850 FUN_00aec850 212 00aec930 FUN_00aec930 152 00aec9d0 FUN_00aec9d0 466 @@ -14541,12 +14541,12 @@ 00aed570 FUN_00aed570 71 00aed5c0 FUN_00aed5c0 88 00aed620 FUN_00aed620 117 -00aed6a0 FUN_00aed6a0 501 +00aed6a0 mi_find_page 501 00aed8a0 FUN_00aed8a0 258 00aed9b0 FUN_00aed9b0 155 00aeda50 FUN_00aeda50 88 00aedab0 FUN_00aedab0 142 -00aedb40 FUN_00aedb40 513 +00aedb40 mi_page_queue_find_free_ex 513 00aedd50 FUN_00aedd50 80 00aedda0 FUN_00aedda0 98 00aede10 FUN_00aede10 46 @@ -14555,16 +14555,16 @@ 00aedf10 FUN_00aedf10 29 00aedf30 FUN_00aedf30 21 00aedf50 FUN_00aedf50 45 -00aedf80 FUN_00aedf80 1271 +00aedf80 _mi_stats_print 1271 00aee480 FUN_00aee480 117 00aee500 FUN_00aee500 84 00aee560 FUN_00aee560 136 00aee5f0 FUN_00aee5f0 441 00aee7b0 FUN_00aee7b0 160 -00aee850 FUN_00aee850 627 +00aee850 mi_stat_print_ex 627 00aeead0 FUN_00aeead0 177 00aeeb90 FUN_00aeeb90 264 -00aeeca0 FUN_00aeeca0 710 +00aeeca0 mi_stats_add 710 00aeef70 FUN_00aeef70 73 00aeefd0 FUN_00aeefd0 149 00aef065 KERNEL32.DLL::K32GetProcessMemoryInfo 6 diff --git a/dump/strings.tsv b/dump/strings.tsv index 5d2c240..fd78290 100644 --- a/dump/strings.tsv +++ b/dump/strings.tsv @@ -5,8 +5,8 @@ 00b1955c failed to reserve %zu k memory\n 00ae6300:FUN_00ae6300 00ae6400:mi_reserve_os_memory_ex 00b1957c (in large os pages) 00ae6300:FUN_00ae6300 00ae6400:mi_reserve_os_memory_ex 00ae6300:FUN_00ae6300 00ae6400:mi_reserve_os_memory_ex 00b19594 reserved %zu KiB memory%s\n 00ae6300:FUN_00ae6300 00ae6400:mi_reserve_os_memory_ex -00b195b0 failed to reserve %zu GiB huge pages\n 00ae5ff0:FUN_00ae5ff0 -00b195d8 numa node %i: reserved %zu GiB huge pages (of the %zu GiB requested)\n 00ae5ff0:FUN_00ae5ff0 +00b195b0 failed to reserve %zu GiB huge pages\n 00ae5ff0:mi_reserve_huge_os_pages_at_ex +00b195d8 numa node %i: reserved %zu GiB huge pages (of the %zu GiB requested)\n 00ae5ff0:mi_reserve_huge_os_pages_at_ex 00b19638 show_errors 00ae7810:FUN_00ae7810 00bf803c 00b19644 show_stats 00ae7810:FUN_00ae7810 00bf8050 00b19650 verbose @@ -38,11 +38,11 @@ 00b19860 mimalloc: 00ae7930:FUN_00ae7930 00b1986c mimalloc: error: 00ae7510:FUN_00ae7510 00ae7510:FUN_00ae7510 00b19880 mimalloc: warning: 00ae79e0:FUN_00ae79e0 00ae79e0:FUN_00ae79e0 -00b19894 mimalloc_ 00ae7b70:FUN_00ae7b70 -00b198a0 environment option "mimalloc_%s" is deprecated -- use "mimalloc_%s" instead.\n 00ae7b70:FUN_00ae7b70 -00b198f0 1;TRUE;YES;ON 00ae7b70:FUN_00ae7b70 -00b19900 0;FALSE;NO;OFF 00ae7b70:FUN_00ae7b70 -00b19910 environment option mimalloc_%s has an invalid value.\n 00ae7b70:FUN_00ae7b70 00ae7b70:FUN_00ae7b70 +00b19894 mimalloc_ 00ae7b70:mi_option_init +00b198a0 environment option "mimalloc_%s" is deprecated -- use "mimalloc_%s" instead.\n 00ae7b70:mi_option_init +00b198f0 1;TRUE;YES;ON 00ae7b70:mi_option_init +00b19900 0;FALSE;NO;OFF 00ae7b70:mi_option_init +00b19910 environment option mimalloc_%s has an invalid value.\n 00ae7b70:mi_option_init 00ae7b70:mi_option_init 00b19948 SeLockMemoryPrivilege 00ae8670:FUN_00ae8670 00b19960 cannot enable large OS page support, error %lu\n 00ae8670:FUN_00ae8670 00b19990 kernelbase.dll 00ae8670:FUN_00ae8670 @@ -63,65 +63,65 @@ 00b19c4c using %zd numa regions\n 00ae88d0:FUN_00ae88d0 00ae8820:FUN_00ae8820 00b1a0a8 malloc is redirected.\n 00ae9ab2 00b1a0c0 process done: 0x%zx\n 00ae9d20:FUN_00ae9d20 -00b1a0d8 unable to allocate thread local heap metadata (%zu bytes)\n 00ae9f10:FUN_00ae9f10 +00b1a0d8 unable to allocate thread local heap metadata (%zu bytes)\n 00ae9f10:mi_thread_init 00b1a114 process init: 0x%zx\n 00ae9de0:FUN_00ae9de0 00b1a12c secure level: %d\n 00ae9de0:FUN_00ae9de0 -00b1a140 unable to use secure randomness\n 00aea6b0:FUN_00aea6b0 +00b1a140 unable to use secure randomness\n 00aea6b0:mi_random_init_ex 00b1a168 commit mask overflow: idx=%zu count=%zu start=%zx end=%zx p=0x%p size=%zu fullsize=%zu\n 00aeb880:FUN_00aeb880 00b1a1c0 corrupted thread-free list\n 00aed1f0:FUN_00aed1f0 -00b1a1dc allocation request is too large (%zu bytes)\n 00aed6a0:FUN_00aed6a0 +00b1a1dc allocation request is too large (%zu bytes)\n 00aed6a0:mi_find_page 00b1a20c unable to allocate memory (%zu bytes)\n 00aed000:FUN_00aed000 00b1a234 %d %-3s 00aee5f0:FUN_00aee5f0 00b1a240 %ld.%ld %-3s 00aee5f0:FUN_00aee5f0 -00b1a258 %10s: 00aee850:FUN_00aee850 00aedf80:FUN_00aedf80 00aedf80:FUN_00aedf80 00aedf80:FUN_00aedf80 00aedf80:FUN_00aedf80 -00b1a260 not all freed!\n 00aee850:FUN_00aee850 00aee850:FUN_00aee850 00aee850:FUN_00aee850 00aee850:FUN_00aee850 -00b1a274 ok\n 00aee850:FUN_00aee850 00aee850:FUN_00aee850 -00b1a284 %10s: %5ld.%ld avg\n 00aedf80:FUN_00aedf80 -00b1a298 count 00aedf80:FUN_00aedf80 -00b1a2a4 unit 00aedf80:FUN_00aedf80 -00b1a2ac current 00aedf80:FUN_00aedf80 -00b1a2b8 freed 00aedf80:FUN_00aedf80 -00b1a2c4 total 00aedf80:FUN_00aedf80 -00b1a2d0 peak 00aedf80:FUN_00aedf80 -00b1a2d8 heap stats 00aedf80:FUN_00aedf80 -00b1a2e4 %10s: %10s %10s %10s %10s %10s %10s\n 00aedf80:FUN_00aedf80 -00b1a30c reserved 00aedf80:FUN_00aedf80 -00b1a318 committed 00aedf80:FUN_00aedf80 -00b1a324 touched 00aedf80:FUN_00aedf80 -00b1a32c segments 00aedf80:FUN_00aedf80 -00b1a338 -abandoned 00aedf80:FUN_00aedf80 00aedf80:FUN_00aedf80 -00b1a344 -cached 00aedf80:FUN_00aedf80 -00b1a34c pages 00aedf80:FUN_00aedf80 -00b1a354 -extended 00aedf80:FUN_00aedf80 -00b1a360 -noretire 00aedf80:FUN_00aedf80 -00b1a36c mmaps 00aedf80:FUN_00aedf80 -00b1a374 commits 00aedf80:FUN_00aedf80 -00b1a37c threads 00aedf80:FUN_00aedf80 -00b1a384 searches 00aedf80:FUN_00aedf80 -00b1a390 numa nodes 00aedf80:FUN_00aedf80 -00b1a39c %10s: %7zu\n 00aedf80:FUN_00aedf80 -00b1a3a8 elapsed 00aedf80:FUN_00aedf80 -00b1a3b0 %10s: %7ld.%03ld s\n 00aedf80:FUN_00aedf80 -00b1a3c4 process 00aedf80:FUN_00aedf80 -00b1a3d0 %10s: user: %ld.%03ld s, system: %ld.%03ld s, faults: %lu, rss: 00aedf80:FUN_00aedf80 -00b1a414 , commit: 00aedf80:FUN_00aedf80 +00b1a258 %10s: 00aee850:mi_stat_print_ex 00aedf80:_mi_stats_print 00aedf80:_mi_stats_print 00aedf80:_mi_stats_print 00aedf80:_mi_stats_print +00b1a260 not all freed!\n 00aee850:mi_stat_print_ex 00aee850:mi_stat_print_ex 00aee850:mi_stat_print_ex 00aee850:mi_stat_print_ex +00b1a274 ok\n 00aee850:mi_stat_print_ex 00aee850:mi_stat_print_ex +00b1a284 %10s: %5ld.%ld avg\n 00aedf80:_mi_stats_print +00b1a298 count 00aedf80:_mi_stats_print +00b1a2a4 unit 00aedf80:_mi_stats_print +00b1a2ac current 00aedf80:_mi_stats_print +00b1a2b8 freed 00aedf80:_mi_stats_print +00b1a2c4 total 00aedf80:_mi_stats_print +00b1a2d0 peak 00aedf80:_mi_stats_print +00b1a2d8 heap stats 00aedf80:_mi_stats_print +00b1a2e4 %10s: %10s %10s %10s %10s %10s %10s\n 00aedf80:_mi_stats_print +00b1a30c reserved 00aedf80:_mi_stats_print +00b1a318 committed 00aedf80:_mi_stats_print +00b1a324 touched 00aedf80:_mi_stats_print +00b1a32c segments 00aedf80:_mi_stats_print +00b1a338 -abandoned 00aedf80:_mi_stats_print 00aedf80:_mi_stats_print +00b1a344 -cached 00aedf80:_mi_stats_print +00b1a34c pages 00aedf80:_mi_stats_print +00b1a354 -extended 00aedf80:_mi_stats_print +00b1a360 -noretire 00aedf80:_mi_stats_print +00b1a36c mmaps 00aedf80:_mi_stats_print +00b1a374 commits 00aedf80:_mi_stats_print +00b1a37c threads 00aedf80:_mi_stats_print +00b1a384 searches 00aedf80:_mi_stats_print +00b1a390 numa nodes 00aedf80:_mi_stats_print +00b1a39c %10s: %7zu\n 00aedf80:_mi_stats_print +00b1a3a8 elapsed 00aedf80:_mi_stats_print +00b1a3b0 %10s: %7ld.%03ld s\n 00aedf80:_mi_stats_print +00b1a3c4 process 00aedf80:_mi_stats_print +00b1a3d0 %10s: user: %ld.%03ld s, system: %ld.%03ld s, faults: %lu, rss: 00aedf80:_mi_stats_print +00b1a414 , commit: 00aedf80:_mi_stats_print 00b1a46c kernel32.dll 00aef191:FUN_00aef191 00b1a488 SleepConditionVariableCS 00aef191:FUN_00aef191 00b1a4a4 WakeAllConditionVariable 00aef191:FUN_00aef191 -00b1a4f0 id out of bounds\n 008e3830:Menu_Mods::Update 009db850:Menu_Save::update_sprites 009a3eb0:HUD::Render 00713ee0:GridEntity_Pit::update_sprite_edges 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 008da030:Menu_KeyConfig::update_gamepad_layout 00982100:Menu_Game::PreRenderContinueImg 00982100:Menu_Game::PreRenderContinueImg 00982100:Menu_Game::PreRenderContinueImg 00712180:GridEntity_Pit::Update 0099a300:FUN_0099a300 0099a300:FUN_0099a300 006e2570:Entity_Pickup::update_price_sprite 006e2570:Entity_Pickup::update_price_sprite 006e2570:Entity_Pickup::update_price_sprite 0040a7e0:ANM2::SetLayerFrame 00981140:Menu_Game::Update 00981140:Menu_Game::Update 00981140:Menu_Game::Update 00981140:Menu_Game::Update 00998880:GameOver::Render 008d0840:FUN_008d0840 008d0840:FUN_008d0840 008d8b00:Menu_KeyConfig::Update 00408b90:AnimationState::AdvanceLayerPosition 00408c10:AnimationState::AdvanceNullLayerPosition 00408e00:AnimationState::SetFrameFloat 00408e00:AnimationState::SetFrameFloat 00408ef0:AnimationState::SetLayerFrame 00408fc0:AnimationState::SetNullLayerFrame 00837ab0:GenericPrompt::Update 008e7f60:Menu_OnlineLobby::load_graphics 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 008ced40:Menu_Cutscenes::Update 0094ef10:Menu_Collection::Render 0094ef10:Menu_Collection::Render 009462c0:Menu_Challenge::Render 009462c0:Menu_Challenge::Render 009462c0:Menu_Challenge::Render 009462c0:Menu_Challenge::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008ddae0:Menu_OnlineLobby::Render 008ed350:HUD::LoadGraphics 008ed350:HUD::LoadGraphics 009ed5a0:Menu_Stats::render_number 0094d500:Menu_Character::UpdateRotations 0094d500:Menu_Character::UpdateRotations 00665630:FUN_00665630 00665630:FUN_00665630 00565680:Entity_NPC::render_v1_layer_frames 00565680:Entity_NPC::render_v1_layer_frames 00565680:Entity_NPC::render_v1_layer_frames 009ecbc0:Menu_Stats::Update 009ecbc0:Menu_Stats::Update 009ecbc0:Menu_Stats::Update 00999d08 00999d97 00999e1d 00999f05 00999fb3 0099a021 008d4940:OnlinePlayerInfo::render_items 009b83a0:FUN_009b83a0 008d4940:OnlinePlayerInfo::render_items -00b1a504 AnimationData is NULL\n 005832c0:Entity_Pickup::GetLootList 0040ac70:AnimationState::GetNullFrameById 0040ace0:AnimationState::GetNullFrame 0040ace0:AnimationState::GetNullFrame 0040add0:AnimationState::IsEventTriggered 0040ae70:AnimationState::WasEventTriggered 0040af10:AnimationState::NextEventTrigger 0040a220:AnimationState::GetLayerFrame 0094a500:Menu_Character::Render 0094a500:Menu_Character::Render 00998880:GameOver::Render 00998880:GameOver::Render 008e8af0:Menu_OnlineLobby::Render 00408c90:AnimationState::FireTriggersAtCurrentFrame 004b7c30:NpcHelper::hornfel_render_minecart 004b7c30:NpcHelper::hornfel_render_minecart 00935010:Backdrop::render_control_icon 008d3640:FUN_008d3640 +00b1a4f0 id out of bounds\n 008e3830:Menu_Mods::Update 009db850:Menu_Save::update_sprites 009a3eb0:HUD::Render 00713ee0:GridEntity_Pit::update_sprite_edges 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 008da030:Menu_KeyConfig::update_gamepad_layout 00982100:Menu_Game::PreRenderContinueImg 00982100:Menu_Game::PreRenderContinueImg 00982100:Menu_Game::PreRenderContinueImg 00712180:GridEntity_Pit::Update 0099a300:GameOver::render_collectible_icon 0099a300:GameOver::render_collectible_icon 006e2570:Entity_Pickup::update_price_sprite 006e2570:Entity_Pickup::update_price_sprite 006e2570:Entity_Pickup::update_price_sprite 0040a7e0:ANM2::SetLayerFrame 00981140:Menu_Game::Update 00981140:Menu_Game::Update 00981140:Menu_Game::Update 00981140:Menu_Game::Update 00998880:GameOver::Render 008d0840:FUN_008d0840 008d0840:FUN_008d0840 008d8b00:Menu_KeyConfig::Update 00408b90:AnimationState::AdvanceLayerPosition 00408c10:AnimationState::AdvanceNullLayerPosition 00408e00:AnimationState::SetFrameFloat 00408e00:AnimationState::SetFrameFloat 00408ef0:AnimationState::SetLayerFrame 00408fc0:AnimationState::SetNullLayerFrame 00837ab0:GenericPrompt::Update 008e7f60:Menu_OnlineLobby::load_graphics 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 008ced40:Menu_Cutscenes::Update 0094ef10:Menu_Collection::Render 0094ef10:Menu_Collection::Render 009462c0:Menu_Challenge::Render 009462c0:Menu_Challenge::Render 009462c0:Menu_Challenge::Render 009462c0:Menu_Challenge::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008ddae0:Menu_OnlineLobby::Render 008ed350:HUD::LoadGraphics 008ed350:HUD::LoadGraphics 009ed5a0:Menu_Stats::render_number 0094d500:Menu_Character::UpdateRotations 0094d500:Menu_Character::UpdateRotations 00665630:FUN_00665630 00665630:FUN_00665630 00565680:Entity_NPC::render_v1_layer_frames 00565680:Entity_NPC::render_v1_layer_frames 00565680:Entity_NPC::render_v1_layer_frames 009ecbc0:Menu_Stats::Update 009ecbc0:Menu_Stats::Update 009ecbc0:Menu_Stats::Update 00999d08 00999d97 00999e1d 00999f05 00999fb3 0099a021 008d4940:OnlinePlayerInfo::render_items 009b83a0:PauseScreen::render_my_stuff 008d4940:OnlinePlayerInfo::render_items +00b1a504 AnimationData is NULL\n 005832c0:Entity_Pickup::GetLootList 0040ac70:AnimationState::GetNullFrameById 0040ace0:AnimationState::GetNullFrame 0040ace0:AnimationState::GetNullFrame 0040add0:AnimationState::IsEventTriggered 0040ae70:AnimationState::WasEventTriggered 0040af10:AnimationState::NextEventTrigger 0040a220:AnimationState::GetLayerFrame 0094a500:Menu_Character::Render 0094a500:Menu_Character::Render 00998880:GameOver::Render 00998880:GameOver::Render 008e8af0:Menu_OnlineLobby::Render 00408c90:AnimationState::FireTriggersAtCurrentFrame 004b7c30:NpcHelper::hornfel_render_minecart 004b7c30:NpcHelper::hornfel_render_minecart 00935010:Backdrop::render_control_icon 008d3640:PauseScreen::render_items_page 00b1a520 Animation::AdvancePosition cannot go backward (new: %d, cur: %d)\n 00408d00:AnimationState::AdvancePosition -00b1a564 LayerId out of bounds\n 008e3830:Menu_Mods::Update 009db850:Menu_Save::update_sprites 009a3eb0:HUD::Render 004bbe30:Entity_Pickup::Render 00713ee0:GridEntity_Pit::update_sprite_edges 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 005832c0:Entity_Pickup::GetLootList 00832850:Entity_Player::TriggerRoomExit 0040a8a0:FUN_0040a8a0 008da030:Menu_KeyConfig::update_gamepad_layout 00982100:Menu_Game::PreRenderContinueImg 00982100:Menu_Game::PreRenderContinueImg 00982100:Menu_Game::PreRenderContinueImg 00712180:GridEntity_Pit::Update 0040a220:AnimationState::GetLayerFrame 0099a300:FUN_0099a300 0099a300:FUN_0099a300 006e2570:Entity_Pickup::update_price_sprite 006e2570:Entity_Pickup::update_price_sprite 006e2570:Entity_Pickup::update_price_sprite 0094a500:Menu_Character::Render 0094a500:Menu_Character::Render 0040a7e0:ANM2::SetLayerFrame 00981140:Menu_Game::Update 00981140:Menu_Game::Update 00981140:Menu_Game::Update 00981140:Menu_Game::Update 00998880:GameOver::Render 00998880:GameOver::Render 00998880:GameOver::Render 008d0840:FUN_008d0840 008d0840:FUN_008d0840 00920940:NightmareScene::Render 008e8af0:Menu_OnlineLobby::Render 008d8b00:Menu_KeyConfig::Update 00408ef0:AnimationState::SetLayerFrame 00408f70:AnimationState::GetLayerFrameIdx 00837ab0:GenericPrompt::Update 004b7c30:NpcHelper::hornfel_render_minecart 004b7c30:NpcHelper::hornfel_render_minecart 008e7f60:Menu_OnlineLobby::load_graphics 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 008ced40:Menu_Cutscenes::Update 0094ef10:Menu_Collection::Render 0094ef10:Menu_Collection::Render 009462c0:Menu_Challenge::Render 009462c0:Menu_Challenge::Render 009462c0:Menu_Challenge::Render 009462c0:Menu_Challenge::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008ddae0:Menu_OnlineLobby::Render 00935010:Backdrop::render_control_icon 008ed350:HUD::LoadGraphics 008ed350:HUD::LoadGraphics 009ed5a0:Menu_Stats::render_number 0094d500:Menu_Character::UpdateRotations 0094d500:Menu_Character::UpdateRotations 0093d510:FUN_0093d510 00665630:FUN_00665630 00665630:FUN_00665630 00565680:Entity_NPC::render_v1_layer_frames 00565680:Entity_NPC::render_v1_layer_frames 00565680:Entity_NPC::render_v1_layer_frames 009ecbc0:Menu_Stats::Update 009ecbc0:Menu_Stats::Update 009ecbc0:Menu_Stats::Update 00999cd7 00999d67 00999de9 00999e90 00999f85 00999ff3 00999ed4 008d3640:FUN_008d3640 008d4940:OnlinePlayerInfo::render_items 009b83a0:FUN_009b83a0 008d4940:OnlinePlayerInfo::render_items +00b1a564 LayerId out of bounds\n 008e3830:Menu_Mods::Update 009db850:Menu_Save::update_sprites 009a3eb0:HUD::Render 004bbe30:Entity_Pickup::Render 00713ee0:GridEntity_Pit::update_sprite_edges 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 009b31c0:Menu_Options::Render 005832c0:Entity_Pickup::GetLootList 00832850:Entity_Player::TriggerRoomExit 0040a8a0:FUN_0040a8a0 008da030:Menu_KeyConfig::update_gamepad_layout 00982100:Menu_Game::PreRenderContinueImg 00982100:Menu_Game::PreRenderContinueImg 00982100:Menu_Game::PreRenderContinueImg 00712180:GridEntity_Pit::Update 0040a220:AnimationState::GetLayerFrame 0099a300:GameOver::render_collectible_icon 0099a300:GameOver::render_collectible_icon 006e2570:Entity_Pickup::update_price_sprite 006e2570:Entity_Pickup::update_price_sprite 006e2570:Entity_Pickup::update_price_sprite 0094a500:Menu_Character::Render 0094a500:Menu_Character::Render 0040a7e0:ANM2::SetLayerFrame 00981140:Menu_Game::Update 00981140:Menu_Game::Update 00981140:Menu_Game::Update 00981140:Menu_Game::Update 00998880:GameOver::Render 00998880:GameOver::Render 00998880:GameOver::Render 008d0840:FUN_008d0840 008d0840:FUN_008d0840 00920940:NightmareScene::Render 008e8af0:Menu_OnlineLobby::Render 008d8b00:Menu_KeyConfig::Update 00408ef0:AnimationState::SetLayerFrame 00408f70:AnimationState::GetLayerFrameIdx 00837ab0:GenericPrompt::Update 004b7c30:NpcHelper::hornfel_render_minecart 004b7c30:NpcHelper::hornfel_render_minecart 008e7f60:Menu_OnlineLobby::load_graphics 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 008ced40:Menu_Cutscenes::Update 0094ef10:Menu_Collection::Render 0094ef10:Menu_Collection::Render 009462c0:Menu_Challenge::Render 009462c0:Menu_Challenge::Render 009462c0:Menu_Challenge::Render 009462c0:Menu_Challenge::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008c66a0:Menu_Bestiary::Render 008ddae0:Menu_OnlineLobby::Render 00935010:Backdrop::render_control_icon 008ed350:HUD::LoadGraphics 008ed350:HUD::LoadGraphics 009ed5a0:Menu_Stats::render_number 0094d500:Menu_Character::UpdateRotations 0094d500:Menu_Character::UpdateRotations 0093d510:Backdrop::render_wall_detail 00665630:FUN_00665630 00665630:FUN_00665630 00565680:Entity_NPC::render_v1_layer_frames 00565680:Entity_NPC::render_v1_layer_frames 00565680:Entity_NPC::render_v1_layer_frames 009ecbc0:Menu_Stats::Update 009ecbc0:Menu_Stats::Update 009ecbc0:Menu_Stats::Update 00999cd7 00999d67 00999de9 00999e90 00999f85 00999ff3 00999ed4 008d3640:PauseScreen::render_items_page 008d4940:OnlinePlayerInfo::render_items 009b83a0:PauseScreen::render_my_stuff 008d4940:OnlinePlayerInfo::render_items 00b1a57c layerId out of bounds\n 00408fc0:AnimationState::SetNullLayerFrame 00b1a594 ChampionColor 00409120:AnimationLayer::RenderFrame -00b1a5b0 KAGE_ColorTextureShader 00a1bd80:Font::render_glyph_quads 0083a3d0:render_beast_arena_background 00a18e90:FUN_00a18e90 00a180b0:FUN_00a180b0 00817830:Room::render_water 00817830:Room::render_water 00a1c7d0:Font::draw_glyph_run 00a14050:shader_cache_find +00b1a5b0 KAGE_ColorTextureShader 00a1bd80:Font::render_glyph_quads 0083a3d0:render_beast_arena_background 00a18e90:KAGE::Graphics::Manager::Init 00a180b0:FUN_00a180b0 00817830:Room::render_water 00817830:Room::render_water 00a1c7d0:Font::draw_glyph_run 00a14050:shader_cache_find 00b1a5c8 [warn] PlayRandom: no animations\n 0040a2b0:Sprite::PlayRandom 00b1a5ec [warn] Animation index out of range!\n 0040a400:FUN_0040a400 00b1a614 [warn] no animation named %s\n 0040aaf0:ANM2::SetOverlayAnimation 0040a5d0:ANM2::SetAnimation -00b1a634 [warn] no layer named %s\n 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008eba50:Menu_OnlineLobby::render_lobby_info 008eba50:Menu_OnlineLobby::render_lobby_info 00423cc0:PopupButtons::Render 008ebfb0:GameOver::RenderItemSprite 008ebfb0:GameOver::RenderItemSprite 008db070:Menu_OnlineLobby::update_list_cursor 009b31c0:Menu_Options::Render 0040a860:FUN_0040a860 008caa30:netplay_lobby_render 008caa30:netplay_lobby_render 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 009897d0:MenuManager::Update 00998880:GameOver::Render 008e8af0:Menu_OnlineLobby::Render 008e8af0:Menu_OnlineLobby::Render 008cfd40:Menu_DailyChallenge::Render 008cca10:FUN_008cca10 008e4b10:Menu_Online::Update 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008d4940:OnlinePlayerInfo::render_items +00b1a634 [warn] no layer named %s\n 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008db8f0:Menu_OnlineLobby::render_player_slots 008eba50:Menu_OnlineLobby::render_lobby_info 008eba50:Menu_OnlineLobby::render_lobby_info 00423cc0:PopupButtons::Render 008ebfb0:GameOver::RenderItemSprite 008ebfb0:GameOver::RenderItemSprite 008db070:Menu_OnlineLobby::update_list_cursor 009b31c0:Menu_Options::Render 0040a860:FUN_0040a860 008caa30:netplay_lobby_render 008caa30:netplay_lobby_render 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 00859290:Leaderboard::render_scores 009897d0:MenuManager::Update 00998880:GameOver::Render 008e8af0:Menu_OnlineLobby::Render 008e8af0:Menu_OnlineLobby::Render 008cfd40:Menu_DailyChallenge::Render 008cca10:Menu_OnlineMode::play_idle_animation 008e4b10:Menu_Online::Update 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008d4940:OnlinePlayerInfo::render_items 00b1a650 [warn] ANM2::GetNullFrame frame number %d out of bounds.\n 0040b0c0:ANM2::GetNullFrame 00b1a68c %s: No layer with Id %d\n 0040b220:ANM2::GetLayer -00b1a6a8 %s: No null with Id %d\n 0040b4d0:FUN_0040b4d0 00596120:NpcAI::ENTITY_BEAST_stalactite 0093d510:FUN_0093d510 +00b1a6a8 %s: No null with Id %d\n 0040b4d0:FUN_0040b4d0 00596120:NpcAI::ENTITY_BEAST_stalactite 0093d510:Backdrop::render_wall_detail 00b1a6c0 shadow 0060bae0:Entity_Effect::setup_loot_preview 0040bd50:ANM2::Load 007ab130:Entity_Player::AnimatePickup 008c8c70:Menu_Bestiary::LoadPreview 0040bd50:ANM2::Load 00b1a6c8 deque too long 0040cad0:FUN_0040cad0 00b1a714 string too long 0040ccc0:std::string::_Xlen @@ -198,8 +198,8 @@ 00b1b6f8 expected ; 00416920:FUN_00416920 00416b70:FUN_00416b70 00416e80:FUN_00416e80 00b1b704 invalid numeric character entity 00416dc0:FUN_00416dc0 00b1b728 EL: invalid sublist\n 00417540:EntityList::sublist_init -00b1b740 EL: not enough space for push_back\n 0041b4f0:EntityList::AddPersistentEntity 0041ab50:EntityList::query_player_capsule_hits 0041ab50:EntityList::query_player_capsule_hits 0041af60:EntityList::QuerySublist 0041af60:EntityList::QuerySublist 0041af60:EntityList::QuerySublist 0041af60:EntityList::QuerySublist 0041af60:EntityList::QuerySublist 00612440:Entity_Familiar::RecalculateOrbitOffset 00612440:Entity_Familiar::RecalculateOrbitOffset 0041a790:EntityList::QueryRadius 0041a790:EntityList::QueryRadius 00419e70:EntityList::rebuild_sublists 00429570:FUN_00429570 006d0ca0:Entity_NPC::QueryNPCsSpawnerType 006d0dd0:Entity_NPC::QueryNPCsGroup 00418230:EntityList::Reset 00418230:EntityList::Reset 00418230:EntityList::Reset 00418230:EntityList::Reset 00418230:EntityList::Reset 00418230:EntityList::Reset 00630560:Menu_Stats::Render 00418500:EntityList::AddEntity 00418500:EntityList::AddEntity 00418500:EntityList::AddEntity 00417630:EntityList_EL::push_back 0060de70:Entity_Familiar::Init 0060de70:Entity_Familiar::Init 0041c490:EntityPartition::query_box 00610540:Entity_Familiar::Kill 00610540:Entity_Familiar::Kill -00b1b764 EL: invalid index for remove\n 00429570:FUN_00429570 004186c0:EntityList::Update 004186c0:EntityList::Update 004186c0:EntityList::Update 004186c0:EntityList::Update 004186c0:EntityList::Update 0048f110:NpcAI::ENTITY_FORSAKEN 00417670:EntityList_EL::remove 0052db50:NpcAI::ENTITY_MAGGOT +00b1b740 EL: not enough space for push_back\n 0041b4f0:EntityList::AddPersistentEntity 0041ab50:EntityList::query_player_capsule_hits 0041ab50:EntityList::query_player_capsule_hits 0041af60:EntityList::QuerySublist 0041af60:EntityList::QuerySublist 0041af60:EntityList::QuerySublist 0041af60:EntityList::QuerySublist 0041af60:EntityList::QuerySublist 00612440:Entity_Familiar::RecalculateOrbitOffset 00612440:Entity_Familiar::RecalculateOrbitOffset 0041a790:EntityList::QueryRadius 0041a790:EntityList::QueryRadius 00419e70:EntityList::rebuild_sublists 00429570:DeathmatchManager::enter_arena 006d0ca0:Entity_NPC::QueryNPCsSpawnerType 006d0dd0:Entity_NPC::QueryNPCsGroup 00418230:EntityList::Reset 00418230:EntityList::Reset 00418230:EntityList::Reset 00418230:EntityList::Reset 00418230:EntityList::Reset 00418230:EntityList::Reset 00630560:Menu_Stats::Render 00418500:EntityList::AddEntity 00418500:EntityList::AddEntity 00418500:EntityList::AddEntity 00417630:EntityList_EL::push_back 0060de70:Entity_Familiar::Init 0060de70:Entity_Familiar::Init 0041c490:EntityPartition::query_box 00610540:Entity_Familiar::Kill 00610540:Entity_Familiar::Kill +00b1b764 EL: invalid index for remove\n 00429570:DeathmatchManager::enter_arena 004186c0:EntityList::Update 004186c0:EntityList::Update 004186c0:EntityList::Update 004186c0:EntityList::Update 004186c0:EntityList::Update 0048f110:NpcAI::ENTITY_FORSAKEN 00417670:EntityList_EL::remove 0052db50:NpcAI::ENTITY_MAGGOT 00b1b784 EL: not enough space for insert\n 00418500:EntityList::AddEntity 00b1b7a8 EL: invalid index for insert\n 00418500:EntityList::AddEntity 00b1b7c8 EL: not enough space for copy\n 0041ab50:EntityList::query_player_capsule_hits 0041af60:EntityList::QuerySublist 0041af60:EntityList::QuerySublist 0041a790:EntityList::QueryRadius 006b8320:EntityList::assign @@ -213,9 +213,9 @@ 00b1b924 CellSpace::collide - cell counts don't match!\n 0041c070:CellSpace::collide 00b1b954 _____________________ 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 00b1b974 vector too long 0041cb50:FUN_0041cb50 -00b1b990 CNGSAVE06R 00926f10:FUN_00926f10 0041d670:AfterbirthPersistentGameData::check_header -00b1b9a4 CNGSAVE07R 00926f10:FUN_00926f10 0041d670:AfterbirthPersistentGameData::check_header -00b1b9b8 CNGSAVE08R 00926f10:FUN_00926f10 0041d670:AfterbirthPersistentGameData::check_header +00b1b990 CNGSAVE06R 00926f10:PersistentGameData::read 0041d670:AfterbirthPersistentGameData::check_header +00b1b9a4 CNGSAVE07R 00926f10:PersistentGameData::read 0041d670:AfterbirthPersistentGameData::check_header +00b1b9b8 CNGSAVE08R 00926f10:PersistentGameData::read 0041d670:AfterbirthPersistentGameData::check_header 00b1b9c8 AfterbirthPersistentGameData wrong file header (%.16s)\n 0041d670:AfterbirthPersistentGameData::check_header 00b1ba00 [warn] AfterbirthPersistentGameData checksum invalid!\n 0041d670:AfterbirthPersistentGameData::check_header 00b1ba38 Different number of achievements %d/%d\n 0041d670:AfterbirthPersistentGameData::check_header 009e4504 @@ -229,7 +229,7 @@ 00b1bb88 STEAMUSERSTATS_INTERFACE_VERSION013 0041e440:FUN_0041e440 00b1bbb0 Beam renderer needs per-vertex colors for Dogma but his shader doesn't support it!\n 0041e960:BeamRenderer::End 00b1bc04 Disclaimer popup is already running\n 00420190:show_beta_disclaimer_popup -00b1bc2c resources/gfx/ui/LoadingSpinner.anm2 00420190:show_beta_disclaimer_popup 009c5bf0:FUN_009c5bf0 +00b1bc2c resources/gfx/ui/LoadingSpinner.anm2 00420190:show_beta_disclaimer_popup 009c5bf0:daily_lobby_join_init 00b1bc60 Welcome to The Binding of Isaac: Repentance+ Beta!\n\nThis is a fully featured beta, but be aware that it may crash or have other issues. Repentance+ uses its own save files and your Repentance saves are not touched so in the event of save issues, your backups remain intact.\n\nReport bugs to isaac@nicalis.com with the subject line\n#Repentance+Beta %s\n\nEnjoy playing online! 00420190:show_beta_disclaimer_popup 00b1bde8 ACCEPT 00420190:show_beta_disclaimer_popup 00b1bef6 t consent to this data collection, you may opt-out by not participating in online multiplayer mode. If you are under the age of 18 and/or do not have parental consent, you must opt out. @@ -271,11 +271,11 @@ 00b1c184 boss pool ran out of repicks\n 00422620:FUN_00422620 00b1c1a4 failed to pick random boss from pool\n 00422620:FUN_00422620 00b1c1cc Failed to pick a boss room variant, defaulting to Monstro\n 00422830:BossPool::GetBossId -00b1c210 gfx/ui/ButtonPromptWidget.anm2 00423aa0:FUN_00423aa0 -00b1c230 LeftPrompt 00423aa0:FUN_00423aa0 00423aa0:FUN_00423aa0 00423aa0:FUN_00423aa0 -00b1c23c RightPrompt 00423aa0:FUN_00423aa0 00423aa0:FUN_00423aa0 00423aa0:FUN_00423aa0 +00b1c210 gfx/ui/ButtonPromptWidget.anm2 00423aa0:PopupButtons::load_graphics +00b1c230 LeftPrompt 00423aa0:PopupButtons::load_graphics 00423aa0:PopupButtons::load_graphics 00423aa0:PopupButtons::load_graphics +00b1c23c RightPrompt 00423aa0:PopupButtons::load_graphics 00423aa0:PopupButtons::load_graphics 00423aa0:PopupButtons::load_graphics 00b1c248 IconPos 004240b0:FUN_004240b0 -00b1c250 Ellipse 004248a0:FUN_004248a0 +00b1c250 Ellipse 004248a0:ellipse_image_create 00b1c258 gfx/ui/completion_widget.anm2 00424ef0:CompletionMarks::Load 006f3c00:Game::ReloadStagesXmlOnLuaReset 006f4740:Game::LoadConfigXmls 00b1c278 gfx/ui/completion_widget_pause.png 00424ef0:CompletionMarks::Load 00b1c2a0 Attempting to save coop award progress before finalizing stats \n @@ -307,16 +307,16 @@ 00b1c5e8 #Online/DEATHMATCH_DRAW 00429b04 00b1c600 Unknown type specified\n 00429be0:DeathmatchManager::set_type 00b1c618 invalid bitset position 0042a030:std::bitset::_Xran -00b1c630 list too long 0091be00:profanity_list_load 009c3e60:FUN_009c3e60 00693470:list_string_push_back_move 009a36d0:HUD::show_fortune_text_impl 00a8b7d0:FUN_00a8b7d0 00aaaae0:FUN_00aaaae0 00a52b10:FUN_00a52b10 00a52100:FUN_00a52100 0047a360:NpcAI::ENTITY_CHUB 00a2a510:FUN_00a2a510 00aaa500:FrameQueue::setSize 00839840:FUN_00839840 008e1a70:FUN_008e1a70 00901cb0:NetInputDevice::is_input_ready 008e1fb0:FUN_008e1fb0 00429f90:FUN_00429f90 00a78a10:FUN_00a78a10 00820d30:Room::record_killed_npc 00870f40:Isaac::RegisterMod 009807a0:Game::ShowFortuneText 00a70770:FUN_00a70770 00a7f010:FUN_00a7f010 00a6f270:FUN_00a6f270 00a7e9d0:FUN_00a7e9d0 0042eb10:DebugRenderer::Get 00686da0:Console::FillOmnicomplete 006eef60:Random 008e5f40:FUN_008e5f40 00a1d610:std::list>::push_back 008f4a30:ModManager::LoadShaders 009c4100:InviteFriendsMenu::load_graphics 009bc790:PlayerManager::match_saved_players 0085eca0:HUD::ShowFortuneText -00b1c640 Error: Game Start Seed was not set.\n 007db8d0:Entity_Player::get_seeded_variant 0074beb0:Level::init_rotgut_dungeon_room 0042a2d0:Seeds::GetPlayerInitSeed 0042a4d0:FUN_0042a4d0 007d9d00:Entity_Player::CalculateBagOfCraftingOutput 009c9340:GameState::write 00751650:Level::GenerateHome 00989750:MenuManager::start_game 00998880:GameOver::Render 009d8190:GameState::write_rerun 006f8140:Game::restore_game_state 006f8140:Game::restore_game_state 006f8140:Game::restore_game_state 006f8140:Game::restore_game_state 00738280:Seeds::GetStageSeed 0074f820:Level::InitStageSeeds 006ef890:Seeds::GetNextSeed 007c7960:Entity_Player::GetZodiacEffect 006f7d9d 006f7db8 007475b0:Level::RestoreGameState 006f6dd0:Game::StartDailyChallenge 00436140:Seeds::GetStartSeed 006f6500:FUN_006f6500 007467c0:Level::SetNextStage 00745b70:FUN_00745b70 00685dc0:Seeds::GetStartSeedString 00744940:Level::Init 006f557a 006f5729 006f5b35 006f5d38 006f5d53 006f5f45 006f6fec 006f71e8 006f7218 006f74b3 006f7668 006f797e 006f7c94 006f7ceb 009b8130:FUN_009b8130 +00b1c630 list too long 0091be00:profanity_list_load 009c3e60:FUN_009c3e60 00693470:list_string_push_back_move 009a36d0:HUD::show_fortune_text_impl 00a8b7d0:TheoraVideoManager::requestWork 00aaaae0:FUN_00aaaae0 00a52b10:KAGE::Network::Multiplayer::LobbySteam::get_members 00a52100:FUN_00a52100 0047a360:NpcAI::ENTITY_CHUB 00a2a510:FUN_00a2a510 00aaa500:FrameQueue::setSize 00839840:FUN_00839840 008e1a70:Menu_OnlineLobbyList::lobby_search_callback 00901cb0:NetInputDevice::is_input_ready 008e1fb0:Menu_OnlineLobbyList::on_lobby_list_received 00429f90:FUN_00429f90 00a78a10:NetworkManager::receive_packet 00820d30:Room::record_killed_npc 00870f40:Isaac::RegisterMod 009807a0:Game::ShowFortuneText 00a70770:FUN_00a70770 00a7f010:FUN_00a7f010 00a6f270:FUN_00a6f270 00a7e9d0:FUN_00a7e9d0 0042eb10:DebugRenderer::Get 00686da0:Console::FillOmnicomplete 006eef60:Random 008e5f40:Menu_Online::on_quick_match_search_result 00a1d610:std::list>::push_back 008f4a30:ModManager::LoadShaders 009c4100:InviteFriendsMenu::load_graphics 009bc790:PlayerManager::match_saved_players 0085eca0:HUD::ShowFortuneText +00b1c640 Error: Game Start Seed was not set.\n 007db8d0:Entity_Player::get_seeded_variant 0074beb0:Level::init_rotgut_dungeon_room 0042a2d0:Seeds::GetPlayerInitSeed 0042a4d0:DeathmatchTypeBase::Init 007d9d00:Entity_Player::CalculateBagOfCraftingOutput 009c9340:GameState::write 00751650:Level::GenerateHome 00989750:MenuManager::start_game 00998880:GameOver::Render 009d8190:GameState::write_rerun 006f8140:Game::restore_game_state 006f8140:Game::restore_game_state 006f8140:Game::restore_game_state 006f8140:Game::restore_game_state 00738280:Seeds::GetStageSeed 0074f820:Level::InitStageSeeds 006ef890:Seeds::GetNextSeed 007c7960:Entity_Player::GetZodiacEffect 006f7d9d 006f7db8 007475b0:Level::RestoreGameState 006f6dd0:Game::StartDailyChallenge 00436140:Seeds::GetStartSeed 006f6500:Game::add_players 007467c0:Level::SetNextStage 00745b70:FUN_00745b70 00685dc0:Seeds::GetStartSeedString 00744940:Level::Init 006f557a 006f5729 006f5b35 006f5d38 006f5d53 006f5f45 006f6fec 006f71e8 006f7218 006f74b3 006f7668 006f797e 006f7c94 006f7ceb 009b8130:PauseScreen::render_seed_paper 00b1c668 %02d:%02d 0042aca0:FUN_0042aca0 00985c10:GridEntity_PressurePlate::Render 00b1c674 Normal 008e0660:render_lobby_info 00b1c67c No spawnpoints to place player at, add more spawnpoints\n 0042c070:FUN_0042c070 00b1ca18 gfx/Items/Collectibles/collectibles_329_theludovicotechnique.png 00429be0:DeathmatchManager::set_type 00b1cdbc Bubble 0042fba0:OnlineEmotes::load_anm2 0042fba0:OnlineEmotes::load_anm2 0042fba0:OnlineEmotes::load_anm2 00b1cdc4 gfx/OnlineEmotes.anm2 0042fba0:OnlineEmotes::load_anm2 0042fba0:OnlineEmotes::load_anm2 -00b1cde8 Right 0042fba0:OnlineEmotes::load_anm2 0084d740:FUN_0084d740 00a6c960:FUN_00a6c960 006d4a00:Entity_NPC::CanBeDamagedFromVelocity 006d4a00:Entity_NPC::CanBeDamagedFromVelocity 00c5c2d8 00b62984 00b64798 0060b0d0:Entity_Effect::update_variant178_shooter 00a2275f -00b1cdfc Happy 007abd30:Entity_Player::AnimateHappy 005b30b0:FUN_005b30b0 0042fba0:OnlineEmotes::load_anm2 007c4180:Entity_Player::UsePill +00b1cde8 Right 0042fba0:OnlineEmotes::load_anm2 0084d740:FUN_0084d740 00a6c960:keyboard_key_names_init 006d4a00:Entity_NPC::CanBeDamagedFromVelocity 006d4a00:Entity_NPC::CanBeDamagedFromVelocity 00c5c2d8 00b62984 00b64798 0060b0d0:Entity_Effect::update_variant178_shooter 00a2275f +00b1cdfc Happy 007abd30:Entity_Player::AnimateHappy 005b30b0:alabaster_box_timer_callback 0042fba0:OnlineEmotes::load_anm2 007c4180:Entity_Player::UsePill 00b1ce04 ThumbsDown 0042fba0:OnlineEmotes::load_anm2 00b1ce10 ThumbsUp 0042fba0:OnlineEmotes::load_anm2 00b1ce24 Heart 0042fba0:OnlineEmotes::load_anm2 0051f2f0:NpcAI::ENTITY_HEART 0051f2f0:NpcAI::ENTITY_HEART 00b63af4 @@ -340,17 +340,17 @@ 00b1cfd0 EnableEpicOverlay 004307c0:init_engine_parameters 00924440:OptionsConfig::Load 00b1cfe4 %s/options.ini 004307c0:init_engine_parameters 00b1cff4 KAGE Game 00430f50:FUN_00430f50 -00b1d000 gfx/familiar/umbilical_baby/base.png 00431830:FUN_00431830 -00b1d028 gfx/familiar/umbilical_baby/proptosis.png 00431830:FUN_00431830 00431830:FUN_00431830 00431830:FUN_00431830 00431830:FUN_00431830 -00b1d054 gfx/familiar/umbilical_baby/drfetus.png 00431830:FUN_00431830 00431830:FUN_00431830 -00b1d07c gfx/familiar/umbilical_baby/innereye.png 00431830:FUN_00431830 00431830:FUN_00431830 -00b1d0a8 gfx/familiar/umbilical_baby/mutantspider.png 00431830:FUN_00431830 00431830:FUN_00431830 -00b1d0d8 gfx/familiar/umbilical_baby/godhead.png 00431830:FUN_00431830 -00b1d100 gfx/familiar/umbilical_baby/techx.png 00431830:FUN_00431830 00431830:FUN_00431830 -00b1d128 gfx/familiar/umbilical_baby/polyphemus.png 00431830:FUN_00431830 -00b1d154 gfx/familiar/umbilical_baby/ipecac.png 00431830:FUN_00431830 -00b1d17c gfx/familiar/umbilical_baby/brimstone_horns.png 00431830:FUN_00431830 00431830:FUN_00431830 00431830:FUN_00431830 -00b1d1ac gfx/familiar/umbilical_baby/brimstone.png 00431830:FUN_00431830 00431830:FUN_00431830 00431830:FUN_00431830 00431830:FUN_00431830 00431830:FUN_00431830 +00b1d000 gfx/familiar/umbilical_baby/base.png 00431830:FamiliarHelper::umbilical_baby_load_graphics +00b1d028 gfx/familiar/umbilical_baby/proptosis.png 00431830:FamiliarHelper::umbilical_baby_load_graphics 00431830:FamiliarHelper::umbilical_baby_load_graphics 00431830:FamiliarHelper::umbilical_baby_load_graphics 00431830:FamiliarHelper::umbilical_baby_load_graphics +00b1d054 gfx/familiar/umbilical_baby/drfetus.png 00431830:FamiliarHelper::umbilical_baby_load_graphics 00431830:FamiliarHelper::umbilical_baby_load_graphics +00b1d07c gfx/familiar/umbilical_baby/innereye.png 00431830:FamiliarHelper::umbilical_baby_load_graphics 00431830:FamiliarHelper::umbilical_baby_load_graphics +00b1d0a8 gfx/familiar/umbilical_baby/mutantspider.png 00431830:FamiliarHelper::umbilical_baby_load_graphics 00431830:FamiliarHelper::umbilical_baby_load_graphics +00b1d0d8 gfx/familiar/umbilical_baby/godhead.png 00431830:FamiliarHelper::umbilical_baby_load_graphics +00b1d100 gfx/familiar/umbilical_baby/techx.png 00431830:FamiliarHelper::umbilical_baby_load_graphics 00431830:FamiliarHelper::umbilical_baby_load_graphics +00b1d128 gfx/familiar/umbilical_baby/polyphemus.png 00431830:FamiliarHelper::umbilical_baby_load_graphics +00b1d154 gfx/familiar/umbilical_baby/ipecac.png 00431830:FamiliarHelper::umbilical_baby_load_graphics +00b1d17c gfx/familiar/umbilical_baby/brimstone_horns.png 00431830:FamiliarHelper::umbilical_baby_load_graphics 00431830:FamiliarHelper::umbilical_baby_load_graphics 00431830:FamiliarHelper::umbilical_baby_load_graphics +00b1d1ac gfx/familiar/umbilical_baby/brimstone.png 00431830:FamiliarHelper::umbilical_baby_load_graphics 00431830:FamiliarHelper::umbilical_baby_load_graphics 00431830:FamiliarHelper::umbilical_baby_load_graphics 00431830:FamiliarHelper::umbilical_baby_load_graphics 00431830:FamiliarHelper::umbilical_baby_load_graphics 00b1d1d8 BodySideDown 00b1d244 00b1d24c 00b1d1e8 BodySide 00b1d240 00b1d250 00b1d1f4 BodySideUp 00b1d254 00b1d25c @@ -360,7 +360,7 @@ 00b1d280 Book of Virtues is missing default wisp config!\n 004362a0:ItemConfig::get_wisp_config 00b1d2b4 SpecialDown 0043aa90:Entity_Familiar::ai_wisp 0043aa90:Entity_Familiar::ai_wisp 00b1d2c0 SpecialUp 0043aa90:Entity_Familiar::ai_wisp 0043aa90:Entity_Familiar::ai_wisp -00b1d2d4 Sound 00573030:NpcAI::ENTITY_CLUTCH 004b3610:FUN_004b3610 0058aed0:NpcAI::ENTITY_SINGE_body 0058aed0:NpcAI::ENTITY_SINGE_body 0058aed0:NpcAI::ENTITY_SINGE_body 0058aed0:NpcAI::ENTITY_SINGE_body 004aafa0:NpcAI::ENTITY_DOGMA 004aafa0:NpcAI::ENTITY_DOGMA 004aafa0:NpcAI::ENTITY_DOGMA 004aafa0:NpcAI::ENTITY_DOGMA 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00522430:NpcAI::ENTITY_LUMP 00949c20:Menu_Character::Update 00499de0:NpcAI::ENTITY_BUMBINO 00499de0:NpcAI::ENTITY_BUMBINO 00499de0:NpcAI::ENTITY_BUMBINO 00499de0:NpcAI::ENTITY_BUMBINO 004b1ee0:NpcAI::ENTITY_GIDEON 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 004a12f0:NpcAI::ENTITY_CLOG 004b92e0:Entity_NPC::Hornfel_UpdateAI 004b92e0:Entity_NPC::Hornfel_UpdateAI 00591460:NpcAI::ENTITY_SIREN 00581730:NpcAI::ENTITY_ROTGUT 00587aa0:NpcAI::ENTITY_SCOURGE 00587aa0:NpcAI::ENTITY_SCOURGE 00587aa0:NpcAI::ENTITY_SCOURGE 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 004ae4d0:NpcAI::ENTITY_DOGMA_angel 004ae4d0:NpcAI::ENTITY_DOGMA_angel 004ae4d0:NpcAI::ENTITY_DOGMA_angel 0057e4a0:NpcAI::ENTITY_ROTGUT_maggot 004e6570:NpcAI::ENTITY_GRUDGE 004ddf00:NpcAI::ENTITY_MAMA_FLY 004e5170:NpcAI::ENTITY_WHIPPER 004e5170:NpcAI::ENTITY_WHIPPER 004dd7f0:NpcAI::ENTITY_GASBAG 009aca90:ItemOverlay::Update 0056cd60:NpcAI::ENTITY_MOTHER_2 0056cd60:NpcAI::ENTITY_MOTHER_2 0053c0d0:NpcAI::ENTITY_WALL_CREEP 005542e0:NpcAI::ENTITY_DARK_ESAU 0070c5c0:GridEntity_Door::Update 0044d786 00480b1b 0043f3f8 0043f749 00448ace 00449268 0044cdca 0044dd6b 004b47ee 004b64e5 004b66b7 004b66e6 004bd7d7 004bd88a 004bd995 004be326 004d99c2 004d9de6 004da174 0051dbd9 0051dc1f 005e9b0c 0063e45a 0063eab9 006467af +00b1d2d4 Sound 00573030:NpcAI::ENTITY_CLUTCH 004b3610:NpcHelper::gideon_update_death 0058aed0:NpcAI::ENTITY_SINGE_body 0058aed0:NpcAI::ENTITY_SINGE_body 0058aed0:NpcAI::ENTITY_SINGE_body 0058aed0:NpcAI::ENTITY_SINGE_body 004aafa0:NpcAI::ENTITY_DOGMA 004aafa0:NpcAI::ENTITY_DOGMA 004aafa0:NpcAI::ENTITY_DOGMA 004aafa0:NpcAI::ENTITY_DOGMA 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00522430:NpcAI::ENTITY_LUMP 00949c20:Menu_Character::Update 00499de0:NpcAI::ENTITY_BUMBINO 00499de0:NpcAI::ENTITY_BUMBINO 00499de0:NpcAI::ENTITY_BUMBINO 00499de0:NpcAI::ENTITY_BUMBINO 004b1ee0:NpcAI::ENTITY_GIDEON 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 004a12f0:NpcAI::ENTITY_CLOG 004b92e0:Entity_NPC::Hornfel_UpdateAI 004b92e0:Entity_NPC::Hornfel_UpdateAI 00591460:NpcAI::ENTITY_SIREN 00581730:NpcAI::ENTITY_ROTGUT 00587aa0:NpcAI::ENTITY_SCOURGE 00587aa0:NpcAI::ENTITY_SCOURGE 00587aa0:NpcAI::ENTITY_SCOURGE 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 004ae4d0:NpcAI::ENTITY_DOGMA_angel 004ae4d0:NpcAI::ENTITY_DOGMA_angel 004ae4d0:NpcAI::ENTITY_DOGMA_angel 0057e4a0:NpcAI::ENTITY_ROTGUT_maggot 004e6570:NpcAI::ENTITY_GRUDGE 004ddf00:NpcAI::ENTITY_MAMA_FLY 004e5170:NpcAI::ENTITY_WHIPPER 004e5170:NpcAI::ENTITY_WHIPPER 004dd7f0:NpcAI::ENTITY_GASBAG 009aca90:ItemOverlay::Update 0056cd60:NpcAI::ENTITY_MOTHER_2 0056cd60:NpcAI::ENTITY_MOTHER_2 0053c0d0:NpcAI::ENTITY_WALL_CREEP 005542e0:NpcAI::ENTITY_DARK_ESAU 0070c5c0:GridEntity_Door::Update 0044d786 00480b1b 0043f3f8 0043f749 00448ace 00449268 0044cdca 0044dd6b 004b47ee 004b64e5 004b66b7 004b66e6 004bd7d7 004bd88a 004bd995 004be326 004d99c2 004d9de6 004da174 0051dbd9 0051dc1f 005e9b0c 0063e45a 0063eab9 006467af 00b1d2dc Shoot 0045b830:NpcAI::ENTITY_FALLEN 0045b830:NpcAI::ENTITY_FALLEN 0045b830:NpcAI::ENTITY_FALLEN 004fbd10:NpcAI::ENTITY_DANNY 00563da0:NpcAI::ENTITY_BLOATY 00563da0:NpcAI::ENTITY_BLOATY 0057bec0:NpcAI::ENTITY_ROTGUT_face 0057bec0:NpcAI::ENTITY_ROTGUT_face 0057bec0:NpcAI::ENTITY_ROTGUT_face 0057bec0:NpcAI::ENTITY_ROTGUT_face 0064bfa0:FamiliarAI::worm_friend 004a3040:NpcAI::ENTITY_COLOSTOMIA 004a3040:NpcAI::ENTITY_COLOSTOMIA 004a3040:NpcAI::ENTITY_COLOSTOMIA 004a3040:NpcAI::ENTITY_COLOSTOMIA 004a3040:NpcAI::ENTITY_COLOSTOMIA 004a3040:NpcAI::ENTITY_COLOSTOMIA 004a3040:NpcAI::ENTITY_COLOSTOMIA 004a3040:NpcAI::ENTITY_COLOSTOMIA 004a3040:NpcAI::ENTITY_COLOSTOMIA 00573030:NpcAI::ENTITY_CLUTCH 00573030:NpcAI::ENTITY_CLUTCH 00573030:NpcAI::ENTITY_CLUTCH 00573030:NpcAI::ENTITY_CLUTCH 00573030:NpcAI::ENTITY_CLUTCH 00573030:NpcAI::ENTITY_CLUTCH 00573030:NpcAI::ENTITY_CLUTCH 00573030:NpcAI::ENTITY_CLUTCH 00573030:NpcAI::ENTITY_CLUTCH 00573030:NpcAI::ENTITY_CLUTCH 00573030:NpcAI::ENTITY_CLUTCH 005430d0:NpcAI::ENTITY_BLISTER 00513080:NpcAI::ENTITY_HORF 00453140:NpcAI::ENTITY_BIG_HORN 00453140:NpcAI::ENTITY_BIG_HORN 00453140:NpcAI::ENTITY_BIG_HORN 00453140:NpcAI::ENTITY_BIG_HORN 00453140:NpcAI::ENTITY_BIG_HORN 006431d0:Entity_Familiar::ai_bot_fly 00493200:NpcAI::ENTITY_RAG_MAN 00503300:NpcAI::ENTITY_BOMBGAGGER 0051b570:NpcAI::ENTITY_WALKINGBOIL 0051b570:NpcAI::ENTITY_WALKINGBOIL 0051b570:NpcAI::ENTITY_WALKINGBOIL 00483710:NpcAI::ENTITY_THE_LAMB 00543720:NpcAI::ENTITY_PORTAL 00483710:NpcAI::ENTITY_THE_LAMB 00483710:NpcAI::ENTITY_THE_LAMB 00632820:Entity_Familiar::ai_lil_monstro 004faad0:NpcAI::ENTITY_FACELESS 004faad0:NpcAI::ENTITY_FACELESS 0051aaa0:NpcAI::ENTITY_GURGLE 0053ab40:NpcAI::ENTITY_OOB 0053ab40:NpcAI::ENTITY_OOB 004e2b40:NpcAI::ENTITY_GAPER_L2 004e2b40:NpcAI::ENTITY_GAPER_L2 004f2c20:NpcAI::ENTITY_GOAT 004f2c20:NpcAI::ENTITY_GOAT 004f2c20:NpcAI::ENTITY_GOAT 004f2c20:NpcAI::ENTITY_GOAT 00532cf0:NpcAI::ENTITY_DEATHS_HEAD 00532cf0:NpcAI::ENTITY_DEATHS_HEAD 0055ad20:NpcAI::ENTITY_BUBBLES 00552d30:NpcAI::ENTITY_BLOOD_PUPPY 0048ae30:NpcAI::ENTITY_MAMA_GURDY 0052ae30:NpcAI::ENTITY_BABY 0058aed0:NpcAI::ENTITY_SINGE_body 0058aed0:NpcAI::ENTITY_SINGE_body 0058aed0:NpcAI::ENTITY_SINGE_body 0058aed0:NpcAI::ENTITY_SINGE_body 0058aed0:NpcAI::ENTITY_SINGE_body 0058aed0:NpcAI::ENTITY_SINGE_body 00522ef0:NpcAI::ENTITY_EYE 00522ef0:NpcAI::ENTITY_EYE 00522ef0:NpcAI::ENTITY_EYE 00522ef0:NpcAI::ENTITY_EYE 004aafa0:NpcAI::ENTITY_DOGMA 004aafa0:NpcAI::ENTITY_DOGMA 004aafa0:NpcAI::ENTITY_DOGMA 004aafa0:NpcAI::ENTITY_DOGMA 004aafa0:NpcAI::ENTITY_DOGMA 004aafa0:NpcAI::ENTITY_DOGMA 004aafa0:NpcAI::ENTITY_DOGMA 004aafa0:NpcAI::ENTITY_DOGMA 005321d0:NpcAI::ENTITY_MOBILE_HOST 005321d0:NpcAI::ENTITY_MOBILE_HOST 005321d0:NpcAI::ENTITY_MOBILE_HOST 005321d0:NpcAI::ENTITY_MOBILE_HOST 0059a2d0:NpcAI::ENTITY_TUFF_TWINS 0059a2d0:NpcAI::ENTITY_TUFF_TWINS 0059a2d0:NpcAI::ENTITY_TUFF_TWINS 00562290:NpcAI::ENTITY_POOT_MINE 00562290:NpcAI::ENTITY_POOT_MINE 0047a360:NpcAI::ENTITY_CHUB 004ea3d0:NpcAI::ENTITY_VIS_FATTY 004ea3d0:NpcAI::ENTITY_VIS_FATTY 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00522430:NpcAI::ENTITY_LUMP 00522430:NpcAI::ENTITY_LUMP 00522430:NpcAI::ENTITY_LUMP 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00592460:NpcAI::ENTITY_BEAST 00541810:NpcAI::ENTITY_DUKIE 006d18d0:NpcAI::ENTITY_FIREPLACE 006d18d0:NpcAI::ENTITY_FIREPLACE 00531ab0:NpcAI::ENTITY_BABY_LONG_LEGS 00471cc0:NpcAI::ENTITY_GEMINI_baby 00471cc0:NpcAI::ENTITY_GEMINI_baby 00541ce0:NpcAI::ENTITY_MEATBALL 00541ce0:NpcAI::ENTITY_MEATBALL 00489ca0:NpcAI::ENTITY_POLYCEPHALUS 00489ca0:NpcAI::ENTITY_POLYCEPHALUS 00489ca0:NpcAI::ENTITY_POLYCEPHALUS 00489ca0:NpcAI::ENTITY_POLYCEPHALUS 00489ca0:NpcAI::ENTITY_POLYCEPHALUS 00889d00:FUN_00889d00 00499de0:NpcAI::ENTITY_BUMBINO 00499de0:NpcAI::ENTITY_BUMBINO 00499de0:NpcAI::ENTITY_BUMBINO 00499de0:NpcAI::ENTITY_BUMBINO 00499de0:NpcAI::ENTITY_BUMBINO 004b1ee0:NpcAI::ENTITY_GIDEON 004b1ee0:NpcAI::ENTITY_GIDEON 004b1ee0:NpcAI::ENTITY_GIDEON 004b1ee0:NpcAI::ENTITY_GIDEON 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 00569170:NpcAI::ENTITY_MOTHER 005111b0:NpcAI::ENTITY_HOST 005111b0:NpcAI::ENTITY_HOST 005111b0:NpcAI::ENTITY_HOST 005111b0:NpcAI::ENTITY_HOST 005492c0:NpcAI::ENTITY_MR_MINE 005492c0:NpcAI::ENTITY_MR_MINE 004a12f0:NpcAI::ENTITY_CLOG 004a12f0:NpcAI::ENTITY_CLOG 004b92e0:Entity_NPC::Hornfel_UpdateAI 004b92e0:Entity_NPC::Hornfel_UpdateAI 004b92e0:Entity_NPC::Hornfel_UpdateAI 004b92e0:Entity_NPC::Hornfel_UpdateAI 004b92e0:Entity_NPC::Hornfel_UpdateAI 004d1290:NpcAI::ENTITY_MOM 004d1290:NpcAI::ENTITY_MOM 004d1290:NpcAI::ENTITY_MOM 004d1290:NpcAI::ENTITY_MOM 004d1290:NpcAI::ENTITY_MOM 004d1290:NpcAI::ENTITY_MOM 00531350:NpcAI::ENTITY_COD_WORM 005593c0:NpcAI::ENTITY_WILLO_L2 00481410:NpcAI::ENTITY_THE_HAUNT 00481410:NpcAI::ENTITY_THE_HAUNT 00481410:NpcAI::ENTITY_THE_HAUNT 00481410:NpcAI::ENTITY_THE_HAUNT 00481410:NpcAI::ENTITY_THE_HAUNT 00581730:NpcAI::ENTITY_ROTGUT 00581730:NpcAI::ENTITY_ROTGUT 00581730:NpcAI::ENTITY_ROTGUT 00578a70:NpcAI::ENTITY_RAINMAKER 00578a70:NpcAI::ENTITY_RAINMAKER 00578a70:NpcAI::ENTITY_RAINMAKER 00578a70:NpcAI::ENTITY_RAINMAKER 004b0a30:NpcAI::ENTITY_DOGMA_tv 00510ae0:NpcAI::ENTITY_MAW 00510ae0:NpcAI::ENTITY_MAW 00538b70:NpcAI::ENTITY_SKINNY 00520c60:NpcAI::ENTITY_STONEHEAD 00520c60:NpcAI::ENTITY_STONEHEAD 00520c60:NpcAI::ENTITY_STONEHEAD 00560ca0:NpcAI::ENTITY_FLY_TRAP 00560ca0:NpcAI::ENTITY_FLY_TRAP 004e0dd0:NpcAI::ENTITY_GUTTED_FATTY 004e0dd0:NpcAI::ENTITY_GUTTED_FATTY 004f8df0:NpcAI::ENTITY_BOMB_GRIMACE 004f8df0:NpcAI::ENTITY_BOMB_GRIMACE 00450da0:NpcAI::ENTITY_LIL_BLUB 00450da0:NpcAI::ENTITY_LIL_BLUB 00450da0:NpcAI::ENTITY_LIL_BLUB 00450da0:NpcAI::ENTITY_LIL_BLUB 00450da0:NpcAI::ENTITY_LIL_BLUB 00518e20:NpcAI::ENTITY_SWARMER 00518e20:NpcAI::ENTITY_SWARMER 00518e20:NpcAI::ENTITY_SWARMER 00518e20:NpcAI::ENTITY_SWARMER 00518e20:NpcAI::ENTITY_SWARMER 00508f40:NpcAI::ENTITY_GAPER 00508f40:NpcAI::ENTITY_GAPER 00508f40:NpcAI::ENTITY_GAPER 00508f40:NpcAI::ENTITY_GAPER 00508f40:NpcAI::ENTITY_GAPER 00440f00:NpcAI::ENTITY_BEAST_ultra_death 00440f00:NpcAI::ENTITY_BEAST_ultra_death 00440f00:NpcAI::ENTITY_BEAST_ultra_death 00440f00:NpcAI::ENTITY_BEAST_ultra_death 004c8090:NpcAI::ENTITY_MEGA_SATAN 00468180:NpcAI::ENTITY_DADDYLONGLEGS 005583d0:NpcHelper::willo_attack 005983f0:NpcAI::ENTITY_POLYCEPHALUS_the_pile 005983f0:NpcAI::ENTITY_POLYCEPHALUS_the_pile 004e8380:NpcAI::ENTITY_BABY_BEGOTTEN 004e8380:NpcAI::ENTITY_BABY_BEGOTTEN 00540510:NpcAI::ENTITY_FAT_BAT 00440630:NpcAI::ENTITY_BEAST_background 00490680:NpcAI::ENTITY_LITTLE_HORN 00490680:NpcAI::ENTITY_LITTLE_HORN 00460780:NpcAI::ENTITY_MEGA_FATTY 00460780:NpcAI::ENTITY_MEGA_FATTY 005af800:NpcAI::ENTITY_WORMWOOD_main 005af800:NpcAI::ENTITY_WORMWOOD_main 005af800:NpcAI::ENTITY_WORMWOOD_main 004878a0:NpcAI::ENTITY_CAGE 004878a0:NpcAI::ENTITY_CAGE 004878a0:NpcAI::ENTITY_CAGE 00587aa0:NpcAI::ENTITY_SCOURGE 00587aa0:NpcAI::ENTITY_SCOURGE 00587aa0:NpcAI::ENTITY_SCOURGE 00587aa0:NpcAI::ENTITY_SCOURGE 00587aa0:NpcAI::ENTITY_SCOURGE 0046fbe0:NpcAI::ENTITY_WIDOW 0046fbe0:NpcAI::ENTITY_WIDOW 004efb90:NpcAI::ENTITY_CLICKETY_CLACK 0046fbe0:NpcAI::ENTITY_WIDOW 004efb90:NpcAI::ENTITY_CLICKETY_CLACK 004efb90:NpcAI::ENTITY_CLICKETY_CLACK 004efb90:NpcAI::ENTITY_CLICKETY_CLACK 004efb90:NpcAI::ENTITY_CLICKETY_CLACK 0045fc00:NpcAI::ENTITY_GATE 0045fc00:NpcAI::ENTITY_GATE 0045fc00:NpcAI::ENTITY_GATE 004f7e60:NpcAI::ENTITY_MORNINGSTAR 004e7ea0:NpcAI::ENTITY_BISHOP 004e7ea0:NpcAI::ENTITY_BISHOP 004e7ea0:NpcAI::ENTITY_BISHOP 0056ffa0:NpcAI::ENTITY_MOTHERS_SHADOW 0056ffa0:NpcAI::ENTITY_MOTHERS_SHADOW 0056ffa0:NpcAI::ENTITY_MOTHERS_SHADOW 0056ffa0:NpcAI::ENTITY_MOTHERS_SHADOW 00517150:NpcAI::ENTITY_BOIL 00517150:NpcAI::ENTITY_BOIL 00517150:NpcAI::ENTITY_BOIL 0051f2f0:NpcAI::ENTITY_HEART 0050f280:NpcAI::ENTITY_BOOMFLY 004df3f0:NpcAI::ENTITY_EVIS 006174c0:Entity_Familiar::ai_charger 005374a0:NpcAI::ENTITY_WIZOOB 00467670:NpcAI::ENTITY_LOKI 00467670:NpcAI::ENTITY_LOKI 00467670:NpcAI::ENTITY_LOKI 004cf690:NpcAI::ENTITY_MIN_MIN 004cf690:NpcAI::ENTITY_MIN_MIN 004cf690:NpcAI::ENTITY_MIN_MIN 004cf690:NpcAI::ENTITY_MIN_MIN 004cf690:NpcAI::ENTITY_MIN_MIN 004cf690:NpcAI::ENTITY_MIN_MIN 004cf690:NpcAI::ENTITY_MIN_MIN 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 005769b0:NpcAI::ENTITY_RAGLICH 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00506bd0:NpcAI::ENTITY_FLY 00456c40:NpcAI::ENTITY_FAMINE 00456c40:NpcAI::ENTITY_FAMINE 00456c40:NpcAI::ENTITY_FAMINE 00456c40:NpcAI::ENTITY_FAMINE 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0058ec70:NpcAI::ENTITY_SIREN_main 0059edb0:NpcAI::ENTITY_ULTRA_GREED 0045ef20:NpcAI::ENTITY_MEGA_MAW 0045ef20:NpcAI::ENTITY_MEGA_MAW 0045ef20:NpcAI::ENTITY_MEGA_MAW 0045e050:NpcAI::ENTITY_ADVERSARY 00496fb0:NpcAI::ENTITY_SISTERS_VIS 0045e050:NpcAI::ENTITY_ADVERSARY 0051e0f0:NpcAI::ENTITY_URIEL 0051e0f0:NpcAI::ENTITY_URIEL 005562b0:NpcAI::ENTITY_PEEPER_FATTY 00506320:NpcAI::ENTITY_CONSTANT_STONE_SHOOTER 00506320:NpcAI::ENTITY_CONSTANT_STONE_SHOOTER 00526470:NpcAI::ENTITY_HOPPER 004ae4d0:NpcAI::ENTITY_DOGMA_angel 004ae4d0:NpcAI::ENTITY_DOGMA_angel 004ae4d0:NpcAI::ENTITY_DOGMA_angel 004ae4d0:NpcAI::ENTITY_DOGMA_angel 004ae4d0:NpcAI::ENTITY_DOGMA_angel 004ae4d0:NpcAI::ENTITY_DOGMA_angel 004ae4d0:NpcAI::ENTITY_DOGMA_angel 004f64e0:NpcAI::ENTITY_POOFER 0057e4a0:NpcAI::ENTITY_ROTGUT_maggot 0057e4a0:NpcAI::ENTITY_ROTGUT_maggot 0057e4a0:NpcAI::ENTITY_ROTGUT_maggot 0057e4a0:NpcAI::ENTITY_ROTGUT_maggot 0057e4a0:NpcAI::ENTITY_ROTGUT_maggot 0053e4a0:NpcAI::ENTITY_ROUND_WORM 0053e4a0:NpcAI::ENTITY_ROUND_WORM 004be6f0:NpcAI::ENTITY_HUSH_BOIL 004be6f0:NpcAI::ENTITY_HUSH_BOIL 004be6f0:NpcAI::ENTITY_HUSH_BOIL 004ed840:NpcAI::ENTITY_CULTIST 004ed840:NpcAI::ENTITY_CULTIST 0047d8a0:NpcAI::ENTITY_PEEP 0047d8a0:NpcAI::ENTITY_PEEP 0047d8a0:NpcAI::ENTITY_PEEP 0047d8a0:NpcAI::ENTITY_PEEP 0047d8a0:NpcAI::ENTITY_PEEP 0047d8a0:NpcAI::ENTITY_PEEP 0052db50:NpcAI::ENTITY_MAGGOT 0052db50:NpcAI::ENTITY_MAGGOT 0052db50:NpcAI::ENTITY_MAGGOT 0052db50:NpcAI::ENTITY_MAGGOT 004ddf00:NpcAI::ENTITY_MAMA_FLY 00545f70:NpcAI::ENTITY_FISTULOID 00545f70:NpcAI::ENTITY_FISTULOID 00545f70:NpcAI::ENTITY_FISTULOID 004fdf80:NpcAI::ENTITY_MOLE 004fdf80:NpcAI::ENTITY_MOLE 004fdf80:NpcAI::ENTITY_MOLE 004fdf80:NpcAI::ENTITY_MOLE 004fdf80:NpcAI::ENTITY_MOLE 004fdf80:NpcAI::ENTITY_MOLE 0049d130:NpcAI::ENTITY_CHIMERA_body 0049d130:NpcAI::ENTITY_CHIMERA_body 0049d130:NpcAI::ENTITY_CHIMERA_body 0049d130:NpcAI::ENTITY_CHIMERA_body 0049d130:NpcAI::ENTITY_CHIMERA_body 0049d130:NpcAI::ENTITY_CHIMERA_body 0049d130:NpcAI::ENTITY_CHIMERA_body 005052a0:NpcAI::ENTITY_NECRO 0050d370:NpcAI::ENTITY_CLOTTY 0050d370:NpcAI::ENTITY_CLOTTY 0050d370:NpcAI::ENTITY_CLOTTY 005153b0:NpcAI::ENTITY_GUTS 004fd540:NpcAI::ENTITY_QUAKEY 004fd540:NpcAI::ENTITY_QUAKEY 004855b0:NpcAI::ENTITY_DINGLE 004855b0:NpcAI::ENTITY_DINGLE 0045d7d0:NpcAI::ENTITY_DARK_ONE 0045d7d0:NpcAI::ENTITY_DARK_ONE 004dd7f0:NpcAI::ENTITY_GASBAG 0047c850:NpcAI::ENTITY_GURDY 004e4970:NpcAI::ENTITY_CANDLER 00524a10:NpcAI::ENTITY_FRED 00524a10:NpcAI::ENTITY_FRED 0051cb30:NpcAI::ENTITY_HANGER 004ecc10:NpcAI::ENTITY_REVENANT 004fcc20:NpcAI::ENTITY_BLASTER 0056cd60:NpcAI::ENTITY_MOTHER_2 0056cd60:NpcAI::ENTITY_MOTHER_2 0056cd60:NpcAI::ENTITY_MOTHER_2 0056cd60:NpcAI::ENTITY_MOTHER_2 0056cd60:NpcAI::ENTITY_MOTHER_2 0056cd60:NpcAI::ENTITY_MOTHER_2 0056cd60:NpcAI::ENTITY_MOTHER_2 0056cd60:NpcAI::ENTITY_MOTHER_2 0049cd90:NpcAI::ENTITY_CHIMERA_head_update 0051c040:NpcAI::ENTITY_MEMBRAIN 0051c040:NpcAI::ENTITY_MEMBRAIN 0044c070:NpcAI::ENTITY_BEAST_ultra_war 0053c0d0:NpcAI::ENTITY_WALL_CREEP 0053c0d0:NpcAI::ENTITY_WALL_CREEP 0053c0d0:NpcAI::ENTITY_WALL_CREEP 0053c0d0:NpcAI::ENTITY_WALL_CREEP 0046c0a0:NpcAI::ENTITY_MONSTRO 0046c0a0:NpcAI::ENTITY_MONSTRO 005041d0:NpcAI::ENTITY_BIG_BONY 005542e0:NpcAI::ENTITY_DARK_ESAU 005542e0:NpcAI::ENTITY_DARK_ESAU 005542e0:NpcAI::ENTITY_DARK_ESAU 005542e0:NpcAI::ENTITY_DARK_ESAU 005442a0:NpcAI::ENTITY_TARBOY 005442a0:NpcAI::ENTITY_TARBOY 005442a0:NpcAI::ENTITY_TARBOY 005442a0:NpcAI::ENTITY_TARBOY 005442a0:NpcAI::ENTITY_TARBOY 0050c370:NpcAI::ENTITY_HIVE 0048c3b0:NpcAI::ENTITY_BROWNIE 00614500:Entity_Familiar::PlayShootAnim 00614500:Entity_Familiar::PlayShootAnim 00614500:Entity_Familiar::PlayShootAnim 0052c720:NpcAI::ENTITY_VIS 0052c720:NpcAI::ENTITY_VIS 0052c720:NpcAI::ENTITY_VIS 0044d798 0044696e 004469f5 00480b63 004be6f0:NpcAI::ENTITY_HUSH_BOIL 004e7ea0:NpcAI::ENTITY_BISHOP 00517150:NpcAI::ENTITY_BOIL 00518e20:NpcAI::ENTITY_SWARMER 00518e20:NpcAI::ENTITY_SWARMER 0051b570:NpcAI::ENTITY_WALKINGBOIL 00614500:Entity_Familiar::PlayShootAnim 0061da10:Entity_Familiar::Update 00640ca0:Entity_Familiar::ai_boiled_baby 00640ca0:Entity_Familiar::ai_boiled_baby 00640ca0:Entity_Familiar::ai_boiled_baby 006c4b30:Entity_NPC::Update 006c4b30:Entity_NPC::Update 006c4b30:Entity_NPC::Update 006c4b30:Entity_NPC::Update 006c4b30:Entity_NPC::Update 00640ca0:Entity_Familiar::ai_boiled_baby 0043f354 0043f60c 0043f811 004404aa 004456cf 0044573a 00445d2e 00449869 00448f4b 00449315 004496da 00449c6c 00449c90 0044d8d7 0044cddc 0044d0b0 0044d0d8 0044dd7d 0044dde8 0044dfad 00480590 004806cd 00480760 004807d3 00480a54 00480902 004a0160 0049fca5 004b51a2 004b4817 004b4b09 004b5359 004b5a6b 004b5aa8 004b5da1 004b635d 004b6377 004b64bd 004b6562 004bd5ca 004bd8b9 004bd9de 004bdaf5 004bdbfe 004bdf7c 004c6782 004c6ac2 004c6fad 004f2892 004f2a8b 00500d28 0051dbea 0051dc52 0051de40 00550372 005519d1 00551b0b 00552965 00552aa3 00552b13 0057ab12 0057afc4 0057b1b1 0057b42b 0057b70f 0057b73d 005a9c2f 005a9cab 005aa219 005aa3ad 005aa856 005aa93b 005ae5db 0060b0d0:Entity_Effect::update_variant178_shooter 005dddf4 005dee70 005e499b 005f9c3f 00602be2 0063e306 0063e819 0063eb7c 0063f91a 00640704 00b1d2f4 Attack3Loop 00440380 0043f8e4 00440374 005aa3a0 0063f7ff 0063ec7a 0063f7f2 00b1d300 Attack3End 00476860:NpcAI::ENTITY_PIN 0043f88e 0057b15e 005aa5a7 0063ebf9 @@ -601,7 +601,7 @@ 00b1e050 AttackHeadDown 0059a2d0:NpcAI::ENTITY_TUFF_TWINS 00b1dc88 00b1e060 AttackHeadUp 0059a2d0:NpcAI::ENTITY_TUFF_TWINS 00b1dc80 00b1e070 WalkHeadDown 0046a0f0:NpcAI::ENTITY_LARRYJR 0046a0f0:NpcAI::ENTITY_LARRYJR 00599b80:NpcAI::ENTITY_TUFF_TWINS_head_anim 0046a0f0:NpcAI::ENTITY_LARRYJR -00b1e080 WalkBodyHori 0046a0f0:NpcAI::ENTITY_LARRYJR 0046a0f0:NpcAI::ENTITY_LARRYJR 0046a0f0:NpcAI::ENTITY_LARRYJR 004a8680:FUN_004a8680 004a8680:FUN_004a8680 0046a0f0:NpcAI::ENTITY_LARRYJR 004a8680:FUN_004a8680 +00b1e080 WalkBodyHori 0046a0f0:NpcAI::ENTITY_LARRYJR 0046a0f0:NpcAI::ENTITY_LARRYJR 0046a0f0:NpcAI::ENTITY_LARRYJR 004a8680:NpcHelper::delirium_spawn_form_parts 004a8680:NpcHelper::delirium_spawn_form_parts 0046a0f0:NpcAI::ENTITY_LARRYJR 004a8680:NpcHelper::delirium_spawn_form_parts 00b1e090 WalkHeadUp 0046a0f0:NpcAI::ENTITY_LARRYJR 00599b80:NpcAI::ENTITY_TUFF_TWINS_head_anim 00b1e09c WalkHeadHori 0046a0f0:NpcAI::ENTITY_LARRYJR 0046a0f0:NpcAI::ENTITY_LARRYJR 00599b80:NpcAI::ENTITY_TUFF_TWINS_head_anim 00599b80:NpcAI::ENTITY_TUFF_TWINS_head_anim 00b1e0ac WalkBodyDown 0046a0f0:NpcAI::ENTITY_LARRYJR @@ -612,7 +612,7 @@ 00b1e0f8 IdleHead 00471050:NpcAI::ENTITY_GEMINI 00471050:NpcAI::ENTITY_GEMINI 00b1e104 Walk01 004ea3d0:NpcAI::ENTITY_VIS_FATTY 004ea3d0:NpcAI::ENTITY_VIS_FATTY 00471cc0:NpcAI::ENTITY_GEMINI_baby 00471cc0:NpcAI::ENTITY_GEMINI_baby 00b1e124 Wrath: Evade own bomb.\n 00475110:NpcAI::ENTITY_WRATH -00b1e13c Death 007d35b0:Entity_Player::try_end_astral_projection 007d35b0:Entity_Player::try_end_astral_projection 004b3610:FUN_004b3610 00483710:NpcAI::ENTITY_THE_LAMB 007828f0:Entity_Player::GetDeathAnimName 008318a0:RoomTransition::Update 005911b0:NpcAI::siren_release_stolen_items 004c8090:NpcAI::ENTITY_MEGA_SATAN 004c8090:NpcAI::ENTITY_MEGA_SATAN 004c8090:NpcAI::ENTITY_MEGA_SATAN 004c8090:NpcAI::ENTITY_MEGA_SATAN 00630560:Menu_Stats::Render 007d87a0:Entity_Player::spawn_ghost_corpse 007d87a0:Entity_Player::spawn_ghost_corpse 00587aa0:NpcAI::ENTITY_SCOURGE 007afc20:Entity_Player::try_trigger_astral_projection 007bf3d0:Entity_Player::CanPickupItem 0047f640:NpcAI::ENTITY_SATAN 0059edb0:NpcAI::ENTITY_ULTRA_GREED 004e6570:NpcAI::ENTITY_GRUDGE 0056cd60:NpcAI::ENTITY_MOTHER_2 005542e0:NpcAI::ENTITY_DARK_ESAU 004b43c0:NpcAI::ENTITY_HERETIC 0048c3b0:NpcAI::ENTITY_BROWNIE 00664560:Entity_Slot::TakeDamage 00664560:Entity_Slot::TakeDamage 00664560:Entity_Slot::TakeDamage 0047412a 004c8090:NpcAI::ENTITY_MEGA_SATAN 004c8090:NpcAI::ENTITY_MEGA_SATAN 004c8090:NpcAI::ENTITY_MEGA_SATAN 004e6570:NpcAI::ENTITY_GRUDGE 005542e0:NpcAI::ENTITY_DARK_ESAU 0056cd60:NpcAI::ENTITY_MOTHER_2 00587aa0:NpcAI::ENTITY_SCOURGE 005911b0:NpcAI::siren_release_stolen_items 007828f0:Entity_Player::GetDeathAnimName 007bf3d0:Entity_Player::CanPickupItem 007d35b0:Entity_Player::try_end_astral_projection 007d87a0:Entity_Player::spawn_ghost_corpse 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 006c4b30:Entity_NPC::Update 006c4b30:Entity_NPC::Update 006c4b30:Entity_NPC::Update 005dddd0 005dee51 006027ad 006467a2 +00b1e13c Death 007d35b0:Entity_Player::try_end_astral_projection 007d35b0:Entity_Player::try_end_astral_projection 004b3610:NpcHelper::gideon_update_death 00483710:NpcAI::ENTITY_THE_LAMB 007828f0:Entity_Player::GetDeathAnimName 008318a0:RoomTransition::Update 005911b0:NpcAI::siren_release_stolen_items 004c8090:NpcAI::ENTITY_MEGA_SATAN 004c8090:NpcAI::ENTITY_MEGA_SATAN 004c8090:NpcAI::ENTITY_MEGA_SATAN 004c8090:NpcAI::ENTITY_MEGA_SATAN 00630560:Menu_Stats::Render 007d87a0:Entity_Player::spawn_ghost_corpse 007d87a0:Entity_Player::spawn_ghost_corpse 00587aa0:NpcAI::ENTITY_SCOURGE 007afc20:Entity_Player::try_trigger_astral_projection 007bf3d0:Entity_Player::CanPickupItem 0047f640:NpcAI::ENTITY_SATAN 0059edb0:NpcAI::ENTITY_ULTRA_GREED 004e6570:NpcAI::ENTITY_GRUDGE 0056cd60:NpcAI::ENTITY_MOTHER_2 005542e0:NpcAI::ENTITY_DARK_ESAU 004b43c0:NpcAI::ENTITY_HERETIC 0048c3b0:NpcAI::ENTITY_BROWNIE 00664560:Entity_Slot::TakeDamage 00664560:Entity_Slot::TakeDamage 00664560:Entity_Slot::TakeDamage 0047412a 004c8090:NpcAI::ENTITY_MEGA_SATAN 004c8090:NpcAI::ENTITY_MEGA_SATAN 004c8090:NpcAI::ENTITY_MEGA_SATAN 004e6570:NpcAI::ENTITY_GRUDGE 005542e0:NpcAI::ENTITY_DARK_ESAU 0056cd60:NpcAI::ENTITY_MOTHER_2 00587aa0:NpcAI::ENTITY_SCOURGE 005911b0:NpcAI::siren_release_stolen_items 007828f0:Entity_Player::GetDeathAnimName 007bf3d0:Entity_Player::CanPickupItem 007d35b0:Entity_Player::try_end_astral_projection 007d87a0:Entity_Player::spawn_ghost_corpse 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 006c4b30:Entity_NPC::Update 006c4b30:Entity_NPC::Update 006c4b30:Entity_NPC::Update 005dddd0 005dee51 006027ad 006467a2 00b1e144 Attack01Up 004df3f0:NpcAI::ENTITY_EVIS 00475a30:NpcAI::ENTITY_GREED 004df3f0:NpcAI::ENTITY_EVIS 00b1e150 Attack01Hori 00475a30:NpcAI::ENTITY_GREED 00475a30:NpcAI::ENTITY_GREED 00b1e160 Walk4 004760a0:NpcAI::ENTITY_ENVY 004760a0:NpcAI::ENTITY_ENVY @@ -4795,7 +4795,7 @@ z 00b62a50 HeadFrontStunned 005af800:NpcAI::ENTITY_WORMWOOD_main 00b62a64 Body6Wiggle 005ae784 00b62a70 Body5Wiggle 005ae764 -00b62a7c Collectible ID out of bounds!\n 005b30b0:FUN_005b30b0 00802980:Room::Update 007a1090:Entity_Player::TriggerDeath 009e14b0:trigger_effect_execute 005b17c0:Entity_Player::GetCollectibleRNG 00930ee0:FUN_00930ee0 005c7d30:FUN_005c7d30 009be140:PlayerManager::RandomCollectibleOwner +00b62a7c Collectible ID out of bounds!\n 005b30b0:alabaster_box_timer_callback 00802980:Room::Update 007a1090:Entity_Player::TriggerDeath 009e14b0:trigger_effect_execute 005b17c0:Entity_Player::GetCollectibleRNG 00930ee0:FUN_00930ee0 005c7d30:FUN_005c7d30 009be140:PlayerManager::RandomCollectibleOwner 00b62a9c Fortune_General 005b1870:Game::ShowFortune 00b62aac Rock1 005b1a20:Entity_Player::moms_bracelet_grab 00b62ab4 gfx/002.040_thrown tear.anm2 005b1a20:Entity_Player::moms_bracelet_grab 005b1a20:Entity_Player::moms_bracelet_grab @@ -5071,7 +5071,7 @@ z 00b64a54 RegularTear%d 00677780:Entity_Tear::ResetSpriteScale 00677780:Entity_Tear::ResetSpriteScale 00b64a68 ReGenProjectile 00b64a78 Fortune_Seeds 0065d070:FUN_0065d070 -00b64a88 Trinket ID out of bounds!\n 006bbdc0:Entity_Pickup::Update 0071b1c0:GridEntity_Rock::TrySpawnLadder 007fb250:Room::SpawnClearAward 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 006627e0:Entity_Slot::HandleCollision 006627e0:Entity_Slot::HandleCollision 006627e0:Entity_Slot::HandleCollision 006627e0:Entity_Slot::HandleCollision 00711bb0:GridEntity_Lock::break_open 007a1090:Entity_Player::TriggerDeath 007a1090:Entity_Player::TriggerDeath 006e8ae0:Entity_Pickup::HandleCollision 006e8ae0:Entity_Pickup::HandleCollision 006e8ae0:Entity_Pickup::HandleCollision 007a8fd0:Entity_Player::TriggerRoomClear 006e84d0:Entity_Pickup::CollectTrinket 0073e0a0:Level::generate_greed 0073e0a0:Level::generate_greed 009be2a0:PlayerManager::FirstTrinketOwner 009be3e0:PlayerManager::RandomTrinketOwner 006ddcd0:Pickup_PickVariant 0065cf80:Entity_Player::GetTrinketRNG 007dc2d0:_Entity_Player::SpawnTrinketRandomPickup 007dc2d0:_Entity_Player::SpawnTrinketRandomPickup +00b64a88 Trinket ID out of bounds!\n 006bbdc0:Entity_Pickup::Update 0071b1c0:GridEntity_Rock::TrySpawnLadder 007fb250:Room::SpawnClearAward 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 006627e0:Entity_Slot::HandleCollision 006627e0:Entity_Slot::HandleCollision 006627e0:Entity_Slot::HandleCollision 006627e0:Entity_Slot::HandleCollision 00711bb0:GridEntity_Lock::break_open 007a1090:Entity_Player::TriggerDeath 007a1090:Entity_Player::TriggerDeath 006e8ae0:Entity_Pickup::HandleCollision 006e8ae0:Entity_Pickup::HandleCollision 006e8ae0:Entity_Pickup::HandleCollision 007a8fd0:Entity_Player::TriggerRoomClear 006e84d0:Entity_Pickup::CollectTrinket 0073e0a0:Level::load_room 0073e0a0:Level::load_room 009be2a0:PlayerManager::FirstTrinketOwner 009be3e0:PlayerManager::RandomTrinketOwner 006ddcd0:Pickup_PickVariant 0065cf80:Entity_Player::GetTrinketRNG 007dc2d0:_Entity_Player::SpawnTrinketRandomPickup 007dc2d0:_Entity_Player::SpawnTrinketRandomPickup 00b64aa4 CoinJam4 00b64c48 00b64ab0 Prize 0065d200:Entity_Slot::Init 0065d200:Entity_Slot::Init 00665630:FUN_00665630 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 0065d950:Entity_Slot::Update 00b64ab8 Shell1Prize 00b64c30 @@ -5196,20 +5196,20 @@ z 00b656fc PixelationAmount 006fbc10:Game::Render 00683060:apply_sprite_shader_params 00821950:Room::render_water_shader 00b65718 Assert 00684920:sha1_digest 00684920:sha1_digest 00684920:sha1_digest 00b65760 STEAMREMOTESTORAGE_INTERFACE_VERSION016 00685ca0:FUN_00685ca0 -00b65788 unknown 00a12b80:FUN_00a12b80 00a12430:FUN_00a12430 00a69760:FUN_00a69760 00a90ca0:KAGE_Graphics_RenderTargetBase::RenderTargetBase 00686da0:Console::FillOmnicomplete 0068cdc0:Console::RunCommand 0040e520:TextureCache::Add 00a11c70:KAGE_Graphics::create_image 00a12430:FUN_00a12430 00a12b80:FUN_00a12b80 00a12c00:FUN_00a12c00 00a69760:FUN_00a69760 00a90ca0:KAGE_Graphics_RenderTargetBase::RenderTargetBase 009e243a -00b65790 Mom's Heart 00401390:FUN_00401390 -00b6579c Cathedral 00401390:FUN_00401390 -00b657a8 Sheol 00401390:FUN_00401390 -00b657b0 Greed 00401390:FUN_00401390 00948200:Menu_Character::LoadGraphics 00948200:Menu_Character::LoadGraphics 008e0660:render_lobby_info 00948200:Menu_Character::LoadGraphics -00b657b8 Delirium 00401390:FUN_00401390 -00b657c4 Mother 00401390:FUN_00401390 -00b657cc Boss Rush 00401390:FUN_00401390 -00b657d8 Chest 00401390:FUN_00401390 0080f200:Room::Render -00b657e0 Dark Room 00401390:FUN_00401390 -00b657ec Mega Satan 00401390:FUN_00401390 -00b65814 Beast 00401390:FUN_00401390 +00b65788 unknown 00a12b80:FUN_00a12b80 00a12430:KAGE::Graphics::ImageBase::set_palette 00a69760:FUN_00a69760 00a90ca0:KAGE_Graphics_RenderTargetBase::RenderTargetBase 00686da0:Console::FillOmnicomplete 0068cdc0:Console::RunCommand 0040e520:TextureCache::Add 00a11c70:KAGE_Graphics::create_image 00a12430:KAGE::Graphics::ImageBase::set_palette 00a12b80:FUN_00a12b80 00a12c00:FUN_00a12c00 00a69760:FUN_00a69760 00a90ca0:KAGE_Graphics_RenderTargetBase::RenderTargetBase 009e243a +00b65790 Mom's Heart 00401390:completion_mark_names_init +00b6579c Cathedral 00401390:completion_mark_names_init +00b657a8 Sheol 00401390:completion_mark_names_init +00b657b0 Greed 00401390:completion_mark_names_init 00948200:Menu_Character::LoadGraphics 00948200:Menu_Character::LoadGraphics 008e0660:render_lobby_info 00948200:Menu_Character::LoadGraphics +00b657b8 Delirium 00401390:completion_mark_names_init +00b657c4 Mother 00401390:completion_mark_names_init +00b657cc Boss Rush 00401390:completion_mark_names_init +00b657d8 Chest 00401390:completion_mark_names_init 0080f200:Room::Render +00b657e0 Dark Room 00401390:completion_mark_names_init +00b657ec Mega Satan 00401390:completion_mark_names_init +00b65814 Beast 00401390:completion_mark_names_init 00b6581c Repentance+ Console\n 00686110:FUN_00686110 -00b65834 cmd_history.txt 00686950:Console::Close 00686220:FUN_00686220 +00b65834 cmd_history.txt 00686950:Console::Close 00686220:Console::LoadCommandHistory 00b65844 remove 00686da0:Console::FillOmnicomplete 00686da0:Console::FillOmnicomplete 0068cdc0:Console::RunCommand 0068cdc0:Console::RunCommand 00b6584c costumetest 00686da0:Console::FillOmnicomplete 0068cdc0:Console::RunCommand 00b65860 restart 00686da0:Console::FillOmnicomplete 0068cdc0:Console::RunCommand @@ -5367,7 +5367,7 @@ z 00b660f4 kill# 00686da0:Console::FillOmnicomplete 00b660fc forceroom 00686da0:Console::FillOmnicomplete 0068cdc0:Console::RunCommand 00b66108 s#d#x 00686da0:Console::FillOmnicomplete -00b66114 %d.%d.%d 00a6b570:FUN_00a6b570 00686da0:Console::FillOmnicomplete +00b66114 %d.%d.%d 00a6b570:_glfwRefreshContextAttribs 00686da0:Console::FillOmnicomplete 00b66120 %d.%d 00686da0:Console::FillOmnicomplete 00686da0:Console::FillOmnicomplete 0068cdc0:Console::RunCommand 00b66128 %s:%s 00686da0:Console::FillOmnicomplete 00686da0:Console::FillOmnicomplete 00686da0:Console::FillOmnicomplete 00686da0:Console::FillOmnicomplete 00686da0:Console::FillOmnicomplete 00686da0:Console::FillOmnicomplete 00686da0:Console::FillOmnicomplete 00686da0:Console::FillOmnicomplete 00686da0:Console::FillOmnicomplete 00686da0:Console::FillOmnicomplete 00686da0:Console::FillOmnicomplete 00b66144 %u..%u 00686da0:Console::FillOmnicomplete @@ -5504,7 +5504,7 @@ z 00b66b78 deathanm2 006950c0:EntityConfig::LoadEntities 00725570:ItemConfig::Load 00b66b84 invalid tag: %s\n 00722cb0:ItemConfig::parse_tags 00694680:EntityConfig::parse_entity_tags 00b66b98 Entities 00694d20:EntityConfig_Entity::GetName 00694d20:EntityConfig_Entity::GetName -00b66ba4 Players 009a2d20:HUD::ShowItemText 009a2d20:HUD::ShowItemText 00694de0:EntityConfig_Player::GetDisplayName 00694de0:EntityConfig_Player::GetDisplayName 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 +00b66ba4 Players 009a2d20:HUD::ShowItemText 009a2d20:HUD::ShowItemText 00694de0:EntityConfig_Player::GetDisplayName 00694de0:EntityConfig_Player::GetDisplayName 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 00b66bac entities 006950c0:EntityConfig::LoadEntities 00b66bb8 collisionDamage 006950c0:EntityConfig::LoadEntities 006950c0:EntityConfig::LoadEntities 00b66bd0 bossID 006950c0:EntityConfig::LoadEntities 006950c0:EntityConfig::LoadEntities @@ -5745,7 +5745,7 @@ z 00b682bc Amount 006fbc10:Game::Render 006fbc10:Game::Render 0098a040:MenuManager::Render 0080f200:Room::Render 0080f200:Room::Render 0080f200:Room::Render 00b682c4 RNG Start Seed: %s (%u) [Daily, %d]\n 006f5b6b 006f7022 00b682ec RNG Start Seed: %s (%u) [Net, %d]\n 006f5d84 -00b68310 Failed to find input device for UserId %llu\n 006f6500:FUN_006f6500 +00b68310 Failed to find input device for UserId %llu\n 006f6500:Game::add_players 00b68340 RNG Start Seed: %s (%u) [Rerun, %d]\n 006f74e9 00b68368 Ratio 006fbc10:Game::Render 0080f200:Room::Render 0080f200:Room::Render 0080f200:Room::Render 0080f200:Room::Render 0080f200:Room::Render 00b68370 ScreenSize 006fbc10:Game::Render 006fbc10:Game::Render 006fbc10:Game::Render @@ -6034,7 +6034,7 @@ z 00b69f5c includeFlags 0072ece0:ItemConfig::LoadBombCostumes 0072ece0:ItemConfig::LoadBombCostumes 00b69f74 front2 0072ece0:ItemConfig::LoadBombCostumes 0072ece0:ItemConfig::LoadBombCostumes 00b69f7c front 0072ece0:ItemConfig::LoadBombCostumes 0072ece0:ItemConfig::LoadBombCostumes -00b69f84 Items 008d2ca0:PauseScreen_MyStuff::Init 009b7a20:FUN_009b7a20 0072ff10:ItemConfig_Item::GetLocalizedName 0072ff10:ItemConfig_Item::GetLocalizedName 0072fff0:ItemConfig_Item::get_localized_description 0072fff0:ItemConfig_Item::get_localized_description 008d4940:OnlinePlayerInfo::render_items 008d4940:OnlinePlayerInfo::render_items +00b69f84 Items 008d2ca0:PauseScreen_MyStuff::Init 009b7a20:PauseScreen::load_graphics 0072ff10:ItemConfig_Item::GetLocalizedName 0072ff10:ItemConfig_Item::GetLocalizedName 0072fff0:ItemConfig_Item::get_localized_description 0072fff0:ItemConfig_Item::get_localized_description 008d4940:OnlinePlayerInfo::render_items 008d4940:OnlinePlayerInfo::render_items 00b69f8c suffix2 0072ece0:ItemConfig::LoadBombCostumes 0072ece0:ItemConfig::LoadBombCostumes 00b69f94 shellGame 00b1f3ec 00b69fa0 library 00b1fd80 00b1f3e8 @@ -6084,7 +6084,7 @@ z 00b6a474 Found a candidate without leave door\n 0073fc80:Level::ChangeRoom 00b6a4a0 Level::get_target_slot: Could not find a valid door slot for room idx %d\n 0073da40:Level::GetTargetSlot 00b6a4f0 [warn] LevelGenerator could not find a required room (type=ROOM_DEFAULT, shape=%d, difficulty=%d-%d, doors=%s.\n 00739370:Level::place_special_rooms -00b6a560 Level::load_room: could not choose a door from where to enter off grid room 0073e0a0:Level::generate_greed +00b6a560 Level::load_room: could not choose a door from where to enter off grid room 0073e0a0:Level::load_room 00b6a5ac Map Generated in %d Loops\n 0074341b 00b6a5c8 generated level is not usable\n 00b6a5e8 generate...\n 00751650:Level::GenerateHome 00740e10:Level::generate_dungeon 00742ef0:Level::generate_backwards @@ -6168,7 +6168,7 @@ z 00b6aff4 _Idle 0077b020:Entity_Player::update_shooting 0077b020:Entity_Player::update_shooting 00782af0:Entity_Player::Update 00b6affc Controller %d has disconnected.\n 00782af0:Entity_Player::Update 00b6b020 HoleDeath 007828f0:Entity_Player::GetDeathAnimName -00b6b02c Pause 00782af0:Entity_Player::Update 00866960:LuaEngine::RegisterAPI 0084d740:FUN_0084d740 00a6c960:FUN_00a6c960 +00b6b02c Pause 00782af0:Entity_Player::Update 00866960:LuaEngine::RegisterAPI 0084d740:FUN_0084d740 00a6c960:keyboard_key_names_init 00b6b034 PickupWalkUp 00782af0:Entity_Player::Update 00782af0:Entity_Player::Update 00782af0:Entity_Player::Update 00b6b044 Removing voided collectible %d (%s) from player %d (%s)\n 0078f840:Entity_Player::RemoveCollectible 00b6b084 PickupWalkDown 00782af0:Entity_Player::Update 00782af0:Entity_Player::Update 00782af0:Entity_Player::Update 00782af0:Entity_Player::Update 00782af0:Entity_Player::Update 00782af0:Entity_Player::Update 00782af0:Entity_Player::Update 00782af0:Entity_Player::Update @@ -6184,7 +6184,7 @@ z 00b6b1b4 Pickup_Online 00793970:Entity_Player::trigger_collectible_effect_removed 007ab130:Entity_Player::AnimatePickup 007bf490:Entity_Player::IsHoldingItem 007ab130:Entity_Player::AnimatePickup 007bf490:Entity_Player::IsHoldingItem 00b6b1c4 [Frame %d] Mega Mush Ending, starting Shrink Animation \n 00793970:Entity_Player::trigger_collectible_effect_removed 00b6b200 Tractor 007aa850:Entity_Player::GetLaserOffset -00b6b210 gfx/ui/ui_cardspills.anm2 007ab6b0:Entity_Player::AnimateCard 009a1a30:HUD::LoadGraphics 008d42a0:FUN_008d42a0 +00b6b210 gfx/ui/ui_cardspills.anm2 007ab6b0:Entity_Player::AnimateCard 009a1a30:HUD::LoadGraphics 008d42a0:PauseScreen::update_pocket_item_display 00b6b22c Collectible 007ab130:Entity_Player::AnimatePickup 00b6b238 Entity_Player::SetControllerId() Setting controller ID to %d, (Prev: %d) \n 007a6450:Entity_Player::SetControllerIndex 00b6b284 Action PillCard Triggered\n 007a3d30:Entity_Player::pocket_use_input @@ -6194,7 +6194,7 @@ z 00b6b2e4 m_FamiliarCount does not match m_Familiars.size() 007b0070:Entity_Player::spawn_dark_esau 00b6b318 RightFootstep 007b9940:Entity_Player::is_footstep_triggered 00b6b328 LeftFootstep 007b9940:Entity_Player::is_footstep_triggered 007b9940:Entity_Player::is_footstep_triggered -00b6b33c CardFronts 007ab6b0:Entity_Player::AnimateCard 008471c0:PlayerHUD::RenderPocketItems 008d42a0:FUN_008d42a0 +00b6b33c CardFronts 007ab6b0:Entity_Player::AnimateCard 008471c0:PlayerHUD::RenderPocketItems 008d42a0:PauseScreen::update_pocket_item_display 00b6b348 JumpOut 007b9b50:Entity_Player::update_pitfall 007b9b50:Entity_Player::update_pitfall 007abc90:Entity_Player::AnimatePitfallOut 00b6b350 FallIn 007abc20:Entity_Player::AnimatePitfallIn 0057bec0:NpcAI::ENTITY_ROTGUT_face 00452c60:FUN_00452c60 00492550:NpcAI::ENTITY_PITFALL 007b9b50:Entity_Player::update_pitfall 00714320:GridEntity_Pit::PostInit 007b9b50:Entity_Player::update_pitfall 00b6b358 [err] Couldn't select a baby subtype!\n 007c2e90:Entity_Player::GetGlitchBabySubType @@ -6256,7 +6256,7 @@ z 00b6becc music stopped playing\n 007e15a0:FUN_007e15a0 00b6bee8 Music::Crossfade: music already playing, only adjusting target volume.\n 007e1e70:MusicManager::Crossfade 00b6bf30 [warn] no music for ID %d (%s).\n 007e1d50:Music::Play 007e1e70:MusicManager::Crossfade -00b6bf54 RNG Seed is zero!\n 009eb880:Seeds::set_start_seed 009eb880:Seeds::set_start_seed 007db8d0:Entity_Player::get_seeded_variant 009eb980:Seeds::ForgetStageSeed 00793970:Entity_Player::trigger_collectible_effect_removed 00793970:Entity_Player::trigger_collectible_effect_removed 007c3980:Entity_Player::add_random_stat_up 00633990:familiar_wisp_pick_tear_color 00633990:familiar_wisp_pick_tear_color 00633990:familiar_wisp_pick_tear_color 00633990:familiar_wisp_pick_tear_color 00633990:familiar_wisp_pick_tear_color 0074399a:FUN_0074399a 00743a6c:FUN_00743a6c 00743a03:FUN_00743a03 00743af9:FUN_00743af9 0060bae0:Entity_Effect::setup_loot_preview 0062bb70:Entity_Familiar::room_enter 00743b49:FUN_00743b49 00743bf8:FUN_00743bf8 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007dbba0:Entity_Player::add_random_drug_item_effect 00743ba3:FUN_00743ba3 00743c43:FUN_00743c43 006fbc10:Game::Render 00743ced:FUN_00743ced 0074bce0:FUN_0074bce0 00733ca0:ItemPool::GetTrinket 00733ca0:ItemPool::GetTrinket 007dbc80:Entity_Player::AddRandomMomItemEffect 00743c93:FUN_00743c93 00813d90:Room::init_shop_item_slots 00813d90:Room::init_shop_item_slots 00813d90:Room::init_shop_item_slots 00813d90:Room::init_shop_item_slots 00813d90:Room::init_shop_item_slots 00813d90:Room::init_shop_item_slots 00813d90:Room::init_shop_item_slots 00813d90:Room::init_shop_item_slots 007dbd70:Entity_Player::ModelingClay_roll 008e3db0:AnimationLayer::RenderFrame 0080bd20:Room::render_player_light 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 0080bd20:Room::render_player_light 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 00743d94:FUN_00743d94 00743e72:FUN_00743e72 0085bed0:EntitySpawner::Spawn 007dbeb0:Entity_Player::twins_duplicate_familiars 007dbeb0:Entity_Player::twins_duplicate_familiars 0074beb0:Level::init_rotgut_dungeon_room 0074beb0:Level::init_rotgut_dungeon_room 00743f73:FUN_00743f73 00743f23:FUN_00743f23 005cbfe0:FUN_005cbfe0 00743fc3:FUN_00743fc3 007abf80:Entity_Player::active_used_post 006e30a0:Entity_Pickup::Morph 006e30a0:Entity_Pickup::Morph 005b30b0:FUN_005b30b0 005b30b0:FUN_005b30b0 005b30b0:FUN_005b30b0 005b30b0:FUN_005b30b0 005b30b0:FUN_005b30b0 007eb1b0:Room::PlayMusic 007eb1b0:Room::PlayMusic 007fb250:Room::SpawnClearAward 008332e0:Ambush::shuffle_waves 00763370:Entity_Player::CheckFamiliar 007333f0:ItemPool::should_force_magic_skin 007333f0:ItemPool::should_force_magic_skin 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0042b560:ItemPool::ReplaceBlacklistedPickup 0042b560:ItemPool::ReplaceBlacklistedPickup 007435c8:FUN_007435c8 0099b520:GridEntity_Gravity::PostInit 00813520:Room::FindFreePickupSpawnPosition 0078b640:Entity_Player::Render 00733610:ItemPool::GetCollectible 00833600:Ambush::SpawnWave 00833600:Ambush::SpawnWave 00833600:Ambush::SpawnWave 00833600:Ambush::SpawnWave 00833600:Ambush::SpawnWave 00713760:GridEntity_Pit::BeginBatches 00713760:GridEntity_Pit::BeginBatches 00713760:GridEntity_Pit::BeginBatches 00543720:NpcAI::ENTITY_PORTAL 0074371e:FUN_0074371e 0074378b:FUN_0074378b 00422830:BossPool::GetBossId 00802980:Room::Update 00802980:Room::Update 00802980:Room::Update 00802980:Room::Update 00802980:Room::Update 00802980:Room::Update 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 0062a930:Entity_Familiar::AddCoins 0062a930:Entity_Familiar::AddCoins 00802980:Room::Update 00802980:Room::Update 00802980:Room::Update 00802980:Room::Update 00802980:Room::Update 005caa70:Entity_Player::console_spawn 005caa70:Entity_Player::console_spawn 00612bb0:Entity_Familiar::FollowParent 00612bb0:Entity_Familiar::FollowParent 00682b90:string_scramble_seeded 00682b90:string_scramble_seeded 0099acc0:GridEntity_Decoration::BeginBatches 0065ad30:reroll_entity_to_free_tile 0065ad30:reroll_entity_to_free_tile 00732dc0:ItemPool::GetPoolForRoom 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 007c2e90:Entity_Player::GetGlitchBabySubType 0071af60:GridEntity_Rock::TrySpawnWorms 006a2050:Entity_Bomb::Init 008020d0:Room::update_deaths_list 008020d0:Room::update_deaths_list 008020d0:Room::update_deaths_list 0058a010:Entity_NPC::Render 0058a010:Entity_NPC::Render 00712180:GridEntity_Pit::Update 00712180:GridEntity_Pit::Update 00712180:GridEntity_Pit::Update 00712180:GridEntity_Pit::Update 0059a2d0:NpcAI::ENTITY_TUFF_TWINS 005b23f0:Entity_Player::use_card_hagalaz 005b23f0:Entity_Player::use_card_hagalaz 005ca470:Entity_Player::TriggerBookOfVirtues 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 004da590:NpcAI::ENTITY_ROTTEN_GAPER 004218e0:BossPool::init 00579890:NpcAI::ENTITY_REAP_CREEP 00579890:NpcAI::ENTITY_REAP_CREEP 004098a0:AnimationLayer::GetSourceQuad 004098a0:AnimationLayer::GetSourceQuad 004b1910:NpcHelper::gideon_spawn_wave 004b1910:NpcHelper::gideon_spawn_wave 004b1910:NpcHelper::gideon_spawn_wave 004b1910:NpcHelper::gideon_spawn_wave 004b1910:NpcHelper::gideon_spawn_wave 006e1910:FUN_006e1910 007499a0:Level::InitializeDevilAngelRoom 007499a0:Level::InitializeDevilAngelRoom 007499a0:Level::InitializeDevilAngelRoom 006c1ac0:Entity_NPC::shopkeeper_get_loot 006c1ac0:Entity_NPC::shopkeeper_get_loot 006c1ac0:Entity_NPC::shopkeeper_get_loot 006c1ac0:Entity_NPC::shopkeeper_get_loot 006c1ac0:Entity_NPC::shopkeeper_get_loot 00631b20:Entity_Familiar::delirium_morph 00631b20:Entity_Familiar::delirium_morph 009b1b20:level_generator_rooms_shuffle 00759bf0:Entity_Player::AddSwarmFlyOrbital 00711bb0:GridEntity_Lock::break_open 00711bb0:GridEntity_Lock::break_open 00711bb0:GridEntity_Lock::break_open 00711bb0:GridEntity_Lock::break_open 00921ce0:NightmareScene::Show 00921ce0:NightmareScene::Show 00921ce0:NightmareScene::Show 00921ce0:NightmareScene::Show 00921ce0:NightmareScene::Show 00921ce0:NightmareScene::Show 00541ce0:NpcAI::ENTITY_MEATBALL 00541ce0:NpcAI::ENTITY_MEATBALL 007d9ca0:FUN_007d9ca0 007d9d00:Entity_Player::CalculateBagOfCraftingOutput 007d9d00:Entity_Player::CalculateBagOfCraftingOutput 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 007520a2 007520dd 00751cf5 006e1e90:Entity_Pickup::load_collectible_gfx 00751d60 00751dc6 00751e64 00709fb0:GridEntity::hurt_func 00709fb0:GridEntity::hurt_func 00709fb0:GridEntity::hurt_func 00709fb0:GridEntity::hurt_func 00709fb0:GridEntity::hurt_func 00719f80:GridEntity_Rock::BeginBatches 00719f80:GridEntity_Rock::BeginBatches 00719f80:GridEntity_Rock::BeginBatches 00719f80:GridEntity_Rock::BeginBatches 00719f80:GridEntity_Rock::BeginBatches 007e9020:RNG::RandomInt 007e90f0:RNG::Next 007e9080:RNG::RandomFloat 00739080:Level::pick_boss_room_config 00739080:Level::pick_boss_room_config 007a1090:Entity_Player::TriggerDeath 007a1090:Entity_Player::TriggerDeath 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 005c93b0:Entity_Player::AddWisp 00591460:NpcAI::ENTITY_SIREN 009e14b0:trigger_effect_execute 009e14b0:trigger_effect_execute 009e14b0:trigger_effect_execute 009e14b0:trigger_effect_execute 00751650:Level::GenerateHome 005c96f0:Entity_Player::AddItemWisp 006d97e0:Entity_NPC::zhl_misfit_006d97e0 006d97e0:Entity_NPC::zhl_misfit_006d97e0 006d97e0:Entity_NPC::zhl_misfit_006d97e0 007c97f0:FUN_007c97f0 00740860:Level::GetRandomRoomIndex 00740860:Level::GetRandomRoomIndex 007c8830:Entity_Player::spawn_locusts 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 005c88a0:Entity_Player::reroll_collectibles_on_damage 005c88a0:Entity_Player::reroll_collectibles_on_damage 00428940:Seeds::Init3 00428940:Seeds::Init3 00428940:Seeds::Init3 00428940:Seeds::Init3 004d8910:spawn_small_maggot_jump 007009a0:Game::BombTearflagEffects 009e0ad0:ProceduralEffect::roll_spawn_target 009e0ad0:ProceduralEffect::roll_spawn_target 009e0ad0:ProceduralEffect::roll_spawn_target 009e0ad0:ProceduralEffect::roll_spawn_target 006e8ae0:Entity_Pickup::HandleCollision 006e8ae0:Entity_Pickup::HandleCollision 006e8ae0:Entity_Pickup::HandleCollision 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00738ab0:Level::place_room 004d8b50:spawn_small_maggot 00618b00:FamiliarAI::gb_bug 00618b00:FamiliarAI::gb_bug 00618b00:FamiliarAI::gb_bug 009b0b00:LevelGenerator::get_neighbor_candidates 004d8d10:NpcHelper::gaper_l2_spawn_maggot 004f8df0:NpcAI::ENTITY_BOMB_GRIMACE 004f8df0:NpcAI::ENTITY_BOMB_GRIMACE 00540df0:NpcAI::ENTITY_SWARM 00930ee0:FUN_00930ee0 00528ec0:NpcHelper::migraine_timer_spawn 00528ec0:NpcHelper::migraine_timer_spawn 00528ec0:NpcHelper::migraine_timer_spawn 00528ec0:NpcHelper::migraine_timer_spawn 004b0fe0:FUN_004b0fe0 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 009e0f60:ProceduralEffect::roll_params 009e0f60:ProceduralEffect::roll_params 007c8050:Entity_Player::AddImmaculateConceptionCounter 005c8020:FUN_005c8020 005c8020:FUN_005c8020 005c8020:FUN_005c8020 00678080:Entity_Tear::fire_split_projectiles 007481d0:Level::ForceHorsemanBoss 00820170:Room::TrySpawnBlueWombDoor 00468180:NpcAI::ENTITY_DADDYLONGLEGS 00468180:NpcAI::ENTITY_DADDYLONGLEGS 006e02f0:Entity_Pickup::Init 006e02f0:Entity_Pickup::Init 007a8350:Entity_Player::TriggerNewRoom_TemporaryEffects 007a8350:Entity_Player::TriggerNewRoom_TemporaryEffects 007a8350:Entity_Player::TriggerNewRoom_TemporaryEffects 006d03e0:Entity_NPC::MakeChampion 006d03e0:Entity_NPC::MakeChampion 005c83f0:FUN_005c83f0 005c83f0:FUN_005c83f0 007f83b0:Room::TrySpawnDevilRoomDoor 007f83b0:Room::TrySpawnDevilRoomDoor 007f83b0:Room::TrySpawnDevilRoomDoor 009b04d0:LevelGenerator::generate_rooms 009b04d0:LevelGenerator::generate_rooms 009b04d0:LevelGenerator::generate_rooms 009b04d0:LevelGenerator::generate_rooms 009b04d0:LevelGenerator::generate_rooms 009b04d0:LevelGenerator::generate_rooms 009b04d0:LevelGenerator::generate_rooms 00790530:Entity_Player::DropCollectible 005505c0:NpcAI::ENTITY_SWARM_SPIDER 00838560:GridEntity_Statue::Destroy 00838560:GridEntity_Statue::Destroy 00838560:GridEntity_Statue::Destroy 00650610:Entity_Familiar::ai_variant_242 00650610:Entity_Familiar::ai_variant_242 00650610:Entity_Familiar::ai_variant_242 00650610:Entity_Familiar::ai_variant_242 008f06e0:Menu_SpecialSeeds::Render 008f06e0:Menu_SpecialSeeds::Render 009e0700:ProceduralEffect::roll_trigger_target 009e0700:ProceduralEffect::roll_trigger_target 00548720:NpcHelper::leper_flesh_ai 00548720:NpcHelper::leper_flesh_ai 0074f820:Level::InitStageSeeds 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 006ef890:Seeds::GetNextSeed 004878a0:NpcAI::ENTITY_CAGE 004878a0:NpcAI::ENTITY_CAGE 007c7960:Entity_Player::GetZodiacEffect 007f7a40:Room::TrySpawnSecretExit 005c7ad0:FUN_005c7ad0 00707ad0:FUN_00707ad0 00967a70:Entity_Knife::apply_wiggle 00827bf0:FUN_00827bf0 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0081fb70:LRoomTileDesc::GetRandomTile 0081fb70:LRoomTileDesc::GetRandomTile 0081fb70:LRoomTileDesc::GetRandomTile 0081fb70:LRoomTileDesc::GetRandomTile 0081fb70:LRoomTileDesc::GetRandomTile 007d7c30:Entity_Player::trigger_cracked_orb 0097fc10:Entity_Laser::ResetSpriteScale 004bfd30:NpcAI::ENTITY_HUSH 004bfd30:NpcAI::ENTITY_HUSH 004bfd30:NpcAI::ENTITY_HUSH 004bfd30:NpcAI::ENTITY_HUSH 004bfd30:NpcAI::ENTITY_HUSH 004bfd30:NpcAI::ENTITY_HUSH 004bfd30:NpcAI::ENTITY_HUSH 004f7e60:NpcAI::ENTITY_MORNINGSTAR 005c7f20:FUN_005c7f20 00737010:ItemPool::get_chaos_pool 00737010:ItemPool::get_chaos_pool 0067f0d0:RandomVector 0074f0c0:Level::generate_mirror_world 009df1f6 009df29a 009df2e4 009df32c 009df3a5 009df416 009df465 009df5a5 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 009df19d 007d7290:Entity_Player::UsePoopSpell 0074f360:Level::generate_mineshaft 0074f360:Level::generate_mineshaft 0074f360:Level::generate_mineshaft 0044f2b0:NpcAI::ENTITY_BEAST_ultra_war_bomb 0044f2b0:NpcAI::ENTITY_BEAST_ultra_war_bomb 008176e8 00817729 0081712c 00817370 008173df 0081744e 0079f3c0:Entity_Player::update_ladder 0079f3c0:Entity_Player::update_ladder 00737380:ItemPool::get_available_collectibles 00737380:ItemPool::get_available_collectibles 00937420:Backdrop::pre_render_walls 00937420:Backdrop::pre_render_walls 00937420:Backdrop::pre_render_walls 00937420:Backdrop::pre_render_walls 00937420:Backdrop::pre_render_walls 00937420:Backdrop::pre_render_walls 0071f4b0:FUN_0071f4b0 0071f4b0:FUN_0071f4b0 007475b0:Level::RestoreGameState 007cf610:Entity_Player::RemoveCollectible 008276e0:Room::spawn_options_alternative 008276e0:Room::spawn_options_alternative 008276e0:Room::spawn_options_alternative 007bf6c0:Entity_Player::GetTearHitParams 007bf6c0:Entity_Player::GetTearHitParams 007376c0:ItemPool::GetCardImpl 007376c0:ItemPool::GetCardImpl 007376c0:ItemPool::GetCardImpl 007bf6c0:Entity_Player::GetTearHitParams 0062f7f0:FamiliarAI::bumbo 004d77b0:NpcAI::ENTITY_SMALL_MAGGOT 004d77b0:NpcAI::ENTITY_SMALL_MAGGOT 004d77b0:NpcAI::ENTITY_SMALL_MAGGOT 006ae820:Entity::Update 006ae820:Entity::Update 00816910:Room::SpawnGreedModeWave 00426a50:DailyChallenge::Init 00426a50:DailyChallenge::Init 00426a50:DailyChallenge::Init 00426a50:DailyChallenge::Init 00426a50:DailyChallenge::Init 00426a50:DailyChallenge::Init 0075ea40:Entity_Player::render_charge_bars 0043eb10:Entity_Familiar::GetRandomWisp 00996b30:FXLayers::grow_vein_branches 00736ba0:ItemPool::ForceAddPillEffect 007a6c50:Entity_Player::room_enter 007a6c50:Entity_Player::room_enter 007a6c50:Entity_Player::room_enter 00736c30:ItemPool::on_pill_used 006f6dd0:Game::StartDailyChallenge 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 006d6d80:Entity_NPC::room_enter 00996e90:FXLayers::update_vein_branch 006e6e40:Entity_Pickup::TryOpenChest 006e6e40:Entity_Pickup::TryOpenChest 009df144 009defa3 007570d5 009960b0:Game::start_poop_cloud_screen_effect 009960b0:Game::start_poop_cloud_screen_effect 009960b0:Game::start_poop_cloud_screen_effect 009960b0:Game::start_poop_cloud_screen_effect 009960b0:Game::start_poop_cloud_screen_effect 009960b0:Game::start_poop_cloud_screen_effect 00816000:Room::ShopReshuffle 00816000:Room::ShopReshuffle 0073e0a0:Level::generate_greed 0073e0a0:Level::generate_greed 0073e0a0:Level::generate_greed 0073e0a0:Level::generate_greed 0073e0a0:Level::generate_greed 009be140:PlayerManager::RandomCollectibleOwner 009ae170:LevelGenerator::place_secret_room 009ae170:LevelGenerator::place_secret_room 007fe220:Room::card_against_humanity_fill 007fe220:Room::card_against_humanity_fill 007fe220:Room::card_against_humanity_fill 007fe220:Room::card_against_humanity_fill 007fe220:Room::card_against_humanity_fill 007fe220:Room::card_against_humanity_fill 007fe220:Room::card_against_humanity_fill 0046e290:NpcAI::ENTITY_DUKE 0046e290:NpcAI::ENTITY_DUKE 0046e290:NpcAI::ENTITY_DUKE 0046e290:NpcAI::ENTITY_DUKE 009be3e0:PlayerManager::RandomTrinketOwner 00436330:Entity_Familiar::WispInit 00436330:Entity_Familiar::WispInit 00436330:Entity_Familiar::WispInit 00436330:Entity_Familiar::WispInit 00436330:Entity_Familiar::WispInit 00436330:Entity_Familiar::WispInit 0080e320:Room::pick_special_clear_award 006ee440:Isaac::GetRandomPickupVelocity 006ee440:Isaac::GetRandomPickupVelocity 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 008ce430:Menu_CustomChallenge::Render 009be530:PlayerManager::GetRandomPlayer 007d6670:Entity_Player::poop_spell_roll 007d6670:Entity_Player::poop_spell_roll 007d6670:Entity_Player::poop_spell_roll 007d6670:Entity_Player::poop_spell_roll 007d6670:Entity_Player::poop_spell_roll 007d6670:Entity_Player::poop_spell_roll 007d6670:Entity_Player::poop_spell_roll 006ee640:FUN_006ee640 006ee640:FUN_006ee640 007ce6e0:Entity_Player::ChangePlayerType 007ce6e0:Entity_Player::ChangePlayerType 009ae640:LevelGenerator::try_place_room 009ae640:LevelGenerator::try_place_room 006d6690:NpcAI::ENTITY_MOVABLE_TNT 00956780:seed_fart_sound_override 0082d880:RoomConfig::GetRandomSplitRoom 0082d880:RoomConfig::GetRandomSplitRoom 008158a0:Room::ShopRestockPartial 008158a0:Room::ShopRestockPartial 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 0058d8b0:NpcAI::ENTITY_SINGE_ball 00715940:GridEntity_Poop::BeginBatches 00735a30:ItemPool::load_pools 00735a30:ItemPool::load_pools 006ddcd0:Pickup_PickVariant 006ddcd0:Pickup_PickVariant 006ddcd0:Pickup_PickVariant 00815ed0 00815c14 0092dc30:SoundEffects::Play 009bdc60:PlayerManager::init_random_unlocks 00825de0:Room::render_darkness_overlay 00825de0:Room::render_darkness_overlay 00825de0:Room::render_darkness_overlay 00825de0:Room::render_darkness_overlay 00825de0:Room::render_darkness_overlay 00825de0:Room::render_darkness_overlay 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 00545f70:NpcAI::ENTITY_FISTULOID 007cdf30:teleport_to_random_room_of_types 007cdf30:teleport_to_random_room_of_types 0071dfc0:GridEntity_Spikes::BeginBatches 0071dfc0:GridEntity_Spikes::BeginBatches 0071dfc0:GridEntity_Spikes::BeginBatches 00535280:NpcAI::ENTITY_SQUIRT 00535280:NpcAI::ENTITY_SQUIRT 0050d370:NpcAI::ENTITY_CLOTTY 006b5320:Entity_Tear::reroll_hit_entity 006b5320:Entity_Tear::reroll_hit_entity 007ed310:Room::SpawnEntry 007ed310:Room::SpawnEntry 007ed310:Room::SpawnEntry 007ed310:Room::SpawnEntry 007ed310:Room::SpawnEntry 007ed310:Room::SpawnEntry 0096d3f0:Entity_Laser::impact_tear_flag_effects 0096d3f0:Entity_Laser::impact_tear_flag_effects 0096d3f0:Entity_Laser::impact_tear_flag_effects 0096d3f0:Entity_Laser::impact_tear_flag_effects 006653e0:FUN_006653e0 00755470:Entity_Player::Init 00755470:Entity_Player::Init 00755470:Entity_Player::Init 00755470:Entity_Player::Init 00755470:Entity_Player::Init 00755470:Entity_Player::Init 00755470:Entity_Player::Init 00755470:Entity_Player::Init 00755470:Entity_Player::Init 006d5400:Entity_NPC::trigger_kill_item_effects 006d5400:Entity_NPC::trigger_kill_item_effects 006d5400:Entity_NPC::trigger_kill_item_effects 006d5400:Entity_NPC::trigger_kill_item_effects 0074d4a0:Level::prepare_blue_room 00705480:Game::DevolveEnemy 0063d570:FamiliarHelper::fly_head_pathfind_move 0063d570:FamiliarHelper::fly_head_pathfind_move 0093d510:FUN_0093d510 009356a0:Backdrop::render_floor_to_target 009356a0:Backdrop::render_floor_to_target 009356a0:Backdrop::render_floor_to_target 009356a0:Backdrop::render_floor_to_target 009356a0:Backdrop::render_floor_to_target 006657a0:Entity_Slot::HandleCollision 006657a0:Entity_Slot::HandleCollision 006657a0:Entity_Slot::HandleCollision 0062c8d0:Entity_Familiar::farting_baby_fart 007f4757 007f4891 007f4e0b 007f4f12 007f52cc 007f53cb 007f5455 007f557d 007f5b3a 007f5c71 007f6658 007f6828 007f5a87 007f54c2 007f4fd4 00744940:Level::Init 00734900:ItemPool::GetPill 00734900:ItemPool::GetPill 00734900:ItemPool::GetPill 00504a40:NpcAI::ENTITY_DUSTY_DEATHS_HEAD 00504a40:NpcAI::ENTITY_DUSTY_DEATHS_HEAD 0065cb60:Entity_Projectile::Render 0065cb60:Entity_Projectile::Render 0065cb60:Entity_Projectile::Render 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 0051cb30:NpcAI::ENTITY_HANGER 0049cbf0:WeightedOutcomePicker::PickOutcome 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 00704c50:Game::RerollLevelPickups 00734cc0:FUN_00734cc0 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 00624e10:Entity_Familiar::Render 0074cea0:FUN_0074cea0 00644e80:Entity_Familiar::ai_shadow_intruder_damocles 00644e80:Entity_Familiar::ai_shadow_intruder_damocles 00734f30:ItemPool::Init 00734f30:ItemPool::Init 00734f30:ItemPool::Init 00734f30:ItemPool::Init 0074406b:FUN_0074406b 005cc070:RNG::Shuffle 005240a0:NpcAI::ENTITY_PARA_BITE 00584140:NpcAI::ENTITY_SCOURGE_chain 00584140:NpcAI::ENTITY_SCOURGE_chain 0074413a:FUN_0074413a 007ec100:Room::TransformEntry 0063c1c0:Entity_Familiar::ai_minisaac 0063c1c0:Entity_Familiar::ai_minisaac 007c4180:Entity_Player::UsePill 007c4180:Entity_Player::UsePill 00734180:ItemPool::GetCardEx 00734180:ItemPool::GetCardEx 00734180:ItemPool::GetCardEx 00734180:ItemPool::GetCardEx 00734180:ItemPool::GetCardEx 00734180:ItemPool::GetCardEx 00744209:FUN_00744209 007dc2d0:_Entity_Player::SpawnTrinketRandomPickup 007dc2d0:_Entity_Player::SpawnTrinketRandomPickup 005442a0:NpcAI::ENTITY_TARBOY 005442a0:NpcAI::ENTITY_TARBOY 00744348:FUN_00744348 00744348:FUN_00744348 00744348:FUN_00744348 00824350:FUN_00824350 00824350:FUN_00824350 00824350:FUN_00824350 00824350:FUN_00824350 00824350:FUN_00824350 00824350:FUN_00824350 00744466:FUN_00744466 00664560:Entity_Slot::TakeDamage 00664560:Entity_Slot::TakeDamage 00664560:Entity_Slot::TakeDamage 00664560:Entity_Slot::TakeDamage 00664560:Entity_Slot::TakeDamage 00744500:FUN_00744500 00984550:GridEntity_PressurePlate::Reward 00984550:GridEntity_PressurePlate::Reward 00984550:GridEntity_PressurePlate::Reward 007bc740:Entity_Player::InitPostLevelInitStats 007bc740:Entity_Player::InitPostLevelInitStats 007bc740:Entity_Player::InitPostLevelInitStats 007bc740:Entity_Player::InitPostLevelInitStats 007bc740:Entity_Player::InitPostLevelInitStats 007bc740:Entity_Player::InitPostLevelInitStats 007bc740:Entity_Player::InitPostLevelInitStats 007bc740:Entity_Player::InitPostLevelInitStats 0082c7d0:RoomConfig::GetRandomRoom 0082c7d0:RoomConfig::GetRandomRoom 0082c7d0:RoomConfig::GetRandomRoom 007ac7e0:Entity_Player::DischargeActiveItem 00934770:Backdrop::PreRenderControls 006f5cc1 006f5e66 006f710a 00756e24 00756f7e 0075db63 007f4354 008170c1 009deee9 009def3f 006378c0:Entity_Familiar::ai_lil_harbingers 00610540:Entity_Familiar::Kill 00610540:Entity_Familiar::Kill 006e69b0:Entity_Pickup::Render 00580eae 00580f12 0058072b 005807a1 0043fd44 0043fcc5 0063f0b9 0063f132 00716019 00716085 0071612b 00745477 00740e10:Level::generate_dungeon 00740e10:Level::generate_dungeon 00740e10:Level::generate_dungeon 00740e10:Level::generate_dungeon 00740e10:Level::generate_dungeon 00742ef0:Level::generate_backwards 00743550:FUN_00743550 00743550:FUN_00743550 0075fe32 0075fef5 00760556 007601fa 0076024c 007607c8 0075ffbd 00760680 00760a18 00760ae2 00760c76 007f3227 007f339d 007f4142 007f4185 007f420a 007f428c 007f3684 007f42da 007f396c 007f39e4 007f3db6 007f360e 0093b760:Backdrop::spawn_wall_details 009e0e34 +00b6bf54 RNG Seed is zero!\n 009eb880:Seeds::set_start_seed 009eb880:Seeds::set_start_seed 007db8d0:Entity_Player::get_seeded_variant 009eb980:Seeds::ForgetStageSeed 00793970:Entity_Player::trigger_collectible_effect_removed 00793970:Entity_Player::trigger_collectible_effect_removed 007c3980:Entity_Player::add_random_stat_up 00633990:familiar_wisp_pick_tear_color 00633990:familiar_wisp_pick_tear_color 00633990:familiar_wisp_pick_tear_color 00633990:familiar_wisp_pick_tear_color 00633990:familiar_wisp_pick_tear_color 0074399a:FUN_0074399a 00743a6c:FUN_00743a6c 00743a03:FUN_00743a03 00743af9:FUN_00743af9 0060bae0:Entity_Effect::setup_loot_preview 0062bb70:Entity_Familiar::room_enter 00743b49:FUN_00743b49 00743bf8:FUN_00743bf8 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007bbbd0:Entity_Player::Init 007dbba0:Entity_Player::add_random_drug_item_effect 00743ba3:FUN_00743ba3 00743c43:FUN_00743c43 006fbc10:Game::Render 00743ced:FUN_00743ced 0074bce0:FUN_0074bce0 00733ca0:ItemPool::GetTrinket 00733ca0:ItemPool::GetTrinket 007dbc80:Entity_Player::AddRandomMomItemEffect 00743c93:FUN_00743c93 00813d90:Room::init_shop_item_slots 00813d90:Room::init_shop_item_slots 00813d90:Room::init_shop_item_slots 00813d90:Room::init_shop_item_slots 00813d90:Room::init_shop_item_slots 00813d90:Room::init_shop_item_slots 00813d90:Room::init_shop_item_slots 00813d90:Room::init_shop_item_slots 007dbd70:Entity_Player::ModelingClay_roll 008e3db0:AnimationLayer::RenderFrame 0080bd20:Room::render_player_light 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 0080bd20:Room::render_player_light 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 00743d94:FUN_00743d94 00743e72:FUN_00743e72 0085bed0:EntitySpawner::Spawn 007dbeb0:Entity_Player::twins_duplicate_familiars 007dbeb0:Entity_Player::twins_duplicate_familiars 0074beb0:Level::init_rotgut_dungeon_room 0074beb0:Level::init_rotgut_dungeon_room 00743f73:FUN_00743f73 00743f23:FUN_00743f23 005cbfe0:FUN_005cbfe0 00743fc3:Level::generate_greed_chunk_place 007abf80:Entity_Player::active_used_post 006e30a0:Entity_Pickup::Morph 006e30a0:Entity_Pickup::Morph 005b30b0:alabaster_box_timer_callback 005b30b0:alabaster_box_timer_callback 005b30b0:alabaster_box_timer_callback 005b30b0:alabaster_box_timer_callback 005b30b0:alabaster_box_timer_callback 007eb1b0:Room::PlayMusic 007eb1b0:Room::PlayMusic 007fb250:Room::SpawnClearAward 008332e0:Ambush::shuffle_waves 00763370:Entity_Player::CheckFamiliar 007333f0:ItemPool::should_force_magic_skin 007333f0:ItemPool::should_force_magic_skin 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0071b410:GridEntity_Rock::SpawnDrops 0042b560:ItemPool::ReplaceBlacklistedPickup 0042b560:ItemPool::ReplaceBlacklistedPickup 007435c8:FUN_007435c8 0099b520:GridEntity_Gravity::PostInit 00813520:Room::FindFreePickupSpawnPosition 0078b640:Entity_Player::Render 00733610:ItemPool::GetCollectible 00833600:Ambush::SpawnWave 00833600:Ambush::SpawnWave 00833600:Ambush::SpawnWave 00833600:Ambush::SpawnWave 00833600:Ambush::SpawnWave 00713760:GridEntity_Pit::BeginBatches 00713760:GridEntity_Pit::BeginBatches 00713760:GridEntity_Pit::BeginBatches 00543720:NpcAI::ENTITY_PORTAL 0074371e:FUN_0074371e 0074378b:Level::generate_greed_chunk_rooms 00422830:BossPool::GetBossId 00802980:Room::Update 00802980:Room::Update 00802980:Room::Update 00802980:Room::Update 00802980:Room::Update 00802980:Room::Update 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 007fa920:RoomClear_PickVariant 0062a930:Entity_Familiar::AddCoins 0062a930:Entity_Familiar::AddCoins 00802980:Room::Update 00802980:Room::Update 00802980:Room::Update 00802980:Room::Update 00802980:Room::Update 005caa70:Entity_Player::console_spawn 005caa70:Entity_Player::console_spawn 00612bb0:Entity_Familiar::FollowParent 00612bb0:Entity_Familiar::FollowParent 00682b90:string_scramble_seeded 00682b90:string_scramble_seeded 0099acc0:GridEntity_Decoration::BeginBatches 0065ad30:reroll_entity_to_free_tile 0065ad30:reroll_entity_to_free_tile 00732dc0:ItemPool::GetPoolForRoom 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 006dae40:Entity_Pickup::GetChestLoot 007c2e90:Entity_Player::GetGlitchBabySubType 0071af60:GridEntity_Rock::TrySpawnWorms 006a2050:Entity_Bomb::Init 008020d0:Room::update_deaths_list 008020d0:Room::update_deaths_list 008020d0:Room::update_deaths_list 0058a010:Entity_NPC::Render 0058a010:Entity_NPC::Render 00712180:GridEntity_Pit::Update 00712180:GridEntity_Pit::Update 00712180:GridEntity_Pit::Update 00712180:GridEntity_Pit::Update 0059a2d0:NpcAI::ENTITY_TUFF_TWINS 005b23f0:Entity_Player::use_card_hagalaz 005b23f0:Entity_Player::use_card_hagalaz 005ca470:Entity_Player::TriggerBookOfVirtues 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0061a4e0:Entity_Familiar::ai_pickup_sack 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 0074a500:Level::generate_home 004da590:NpcAI::ENTITY_ROTTEN_GAPER 004218e0:BossPool::init 00579890:NpcAI::ENTITY_REAP_CREEP 00579890:NpcAI::ENTITY_REAP_CREEP 004098a0:AnimationLayer::GetSourceQuad 004098a0:AnimationLayer::GetSourceQuad 004b1910:NpcHelper::gideon_spawn_wave 004b1910:NpcHelper::gideon_spawn_wave 004b1910:NpcHelper::gideon_spawn_wave 004b1910:NpcHelper::gideon_spawn_wave 004b1910:NpcHelper::gideon_spawn_wave 006e1910:FUN_006e1910 007499a0:Level::InitializeDevilAngelRoom 007499a0:Level::InitializeDevilAngelRoom 007499a0:Level::InitializeDevilAngelRoom 006c1ac0:Entity_NPC::shopkeeper_get_loot 006c1ac0:Entity_NPC::shopkeeper_get_loot 006c1ac0:Entity_NPC::shopkeeper_get_loot 006c1ac0:Entity_NPC::shopkeeper_get_loot 006c1ac0:Entity_NPC::shopkeeper_get_loot 00631b20:Entity_Familiar::delirium_morph 00631b20:Entity_Familiar::delirium_morph 009b1b20:level_generator_rooms_shuffle 00759bf0:Entity_Player::AddSwarmFlyOrbital 00711bb0:GridEntity_Lock::break_open 00711bb0:GridEntity_Lock::break_open 00711bb0:GridEntity_Lock::break_open 00711bb0:GridEntity_Lock::break_open 00921ce0:NightmareScene::Show 00921ce0:NightmareScene::Show 00921ce0:NightmareScene::Show 00921ce0:NightmareScene::Show 00921ce0:NightmareScene::Show 00921ce0:NightmareScene::Show 00541ce0:NpcAI::ENTITY_MEATBALL 00541ce0:NpcAI::ENTITY_MEATBALL 007d9ca0:FUN_007d9ca0 007d9d00:Entity_Player::CalculateBagOfCraftingOutput 007d9d00:Entity_Player::CalculateBagOfCraftingOutput 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 00741e60:Level::place_rooms_backwards 007520a2 007520dd 00751cf5 006e1e90:Entity_Pickup::load_collectible_gfx 00751d60 00751dc6 00751e64 00709fb0:GridEntity::hurt_func 00709fb0:GridEntity::hurt_func 00709fb0:GridEntity::hurt_func 00709fb0:GridEntity::hurt_func 00709fb0:GridEntity::hurt_func 00719f80:GridEntity_Rock::BeginBatches 00719f80:GridEntity_Rock::BeginBatches 00719f80:GridEntity_Rock::BeginBatches 00719f80:GridEntity_Rock::BeginBatches 00719f80:GridEntity_Rock::BeginBatches 007e9020:RNG::RandomInt 007e90f0:RNG::Next 007e9080:RNG::RandomFloat 00739080:Level::pick_boss_room_config 00739080:Level::pick_boss_room_config 007a1090:Entity_Player::TriggerDeath 007a1090:Entity_Player::TriggerDeath 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 00739370:Level::place_special_rooms 005c93b0:Entity_Player::AddWisp 00591460:NpcAI::ENTITY_SIREN 009e14b0:trigger_effect_execute 009e14b0:trigger_effect_execute 009e14b0:trigger_effect_execute 009e14b0:trigger_effect_execute 00751650:Level::GenerateHome 005c96f0:Entity_Player::AddItemWisp 006d97e0:Entity_NPC::zhl_misfit_006d97e0 006d97e0:Entity_NPC::zhl_misfit_006d97e0 006d97e0:Entity_NPC::zhl_misfit_006d97e0 007c97f0:Entity_Player::apply_victory_lap_penalty 00740860:Level::GetRandomRoomIndex 00740860:Level::GetRandomRoomIndex 007c8830:Entity_Player::spawn_locusts 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 007508c0:Level::generate_random_layout 005c88a0:Entity_Player::reroll_collectibles_on_damage 005c88a0:Entity_Player::reroll_collectibles_on_damage 00428940:Seeds::Init3 00428940:Seeds::Init3 00428940:Seeds::Init3 00428940:Seeds::Init3 004d8910:spawn_small_maggot_jump 007009a0:Game::BombTearflagEffects 009e0ad0:ProceduralEffect::roll_spawn_target 009e0ad0:ProceduralEffect::roll_spawn_target 009e0ad0:ProceduralEffect::roll_spawn_target 009e0ad0:ProceduralEffect::roll_spawn_target 006e8ae0:Entity_Pickup::HandleCollision 006e8ae0:Entity_Pickup::HandleCollision 006e8ae0:Entity_Pickup::HandleCollision 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00738ab0:Level::place_room 004d8b50:spawn_small_maggot 00618b00:FamiliarAI::gb_bug 00618b00:FamiliarAI::gb_bug 00618b00:FamiliarAI::gb_bug 009b0b00:LevelGenerator::get_neighbor_candidates 004d8d10:NpcHelper::gaper_l2_spawn_maggot 004f8df0:NpcAI::ENTITY_BOMB_GRIMACE 004f8df0:NpcAI::ENTITY_BOMB_GRIMACE 00540df0:NpcAI::ENTITY_SWARM 00930ee0:FUN_00930ee0 00528ec0:NpcHelper::migraine_timer_spawn 00528ec0:NpcHelper::migraine_timer_spawn 00528ec0:NpcHelper::migraine_timer_spawn 00528ec0:NpcHelper::migraine_timer_spawn 004b0fe0:NpcHelper::gideon_spawn_stairs 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 007a8fd0:Entity_Player::TriggerRoomClear 009e0f60:ProceduralEffect::roll_params 009e0f60:ProceduralEffect::roll_params 007c8050:Entity_Player::AddImmaculateConceptionCounter 005c8020:everything_jar_crack_the_sky_timer 005c8020:everything_jar_crack_the_sky_timer 005c8020:everything_jar_crack_the_sky_timer 00678080:Entity_Tear::fire_split_projectiles 007481d0:Level::ForceHorsemanBoss 00820170:Room::TrySpawnBlueWombDoor 00468180:NpcAI::ENTITY_DADDYLONGLEGS 00468180:NpcAI::ENTITY_DADDYLONGLEGS 006e02f0:Entity_Pickup::Init 006e02f0:Entity_Pickup::Init 007a8350:Entity_Player::TriggerNewRoom_TemporaryEffects 007a8350:Entity_Player::TriggerNewRoom_TemporaryEffects 007a8350:Entity_Player::TriggerNewRoom_TemporaryEffects 006d03e0:Entity_NPC::MakeChampion 006d03e0:Entity_NPC::MakeChampion 005c83f0:everything_jar_shopkeeper_rain_timer 005c83f0:everything_jar_shopkeeper_rain_timer 007f83b0:Room::TrySpawnDevilRoomDoor 007f83b0:Room::TrySpawnDevilRoomDoor 007f83b0:Room::TrySpawnDevilRoomDoor 009b04d0:LevelGenerator::generate_rooms 009b04d0:LevelGenerator::generate_rooms 009b04d0:LevelGenerator::generate_rooms 009b04d0:LevelGenerator::generate_rooms 009b04d0:LevelGenerator::generate_rooms 009b04d0:LevelGenerator::generate_rooms 009b04d0:LevelGenerator::generate_rooms 00790530:Entity_Player::DropCollectible 005505c0:NpcAI::ENTITY_SWARM_SPIDER 00838560:GridEntity_Statue::Destroy 00838560:GridEntity_Statue::Destroy 00838560:GridEntity_Statue::Destroy 00650610:Entity_Familiar::ai_variant_242 00650610:Entity_Familiar::ai_variant_242 00650610:Entity_Familiar::ai_variant_242 00650610:Entity_Familiar::ai_variant_242 008f06e0:Menu_SpecialSeeds::Render 008f06e0:Menu_SpecialSeeds::Render 009e0700:ProceduralEffect::roll_trigger_target 009e0700:ProceduralEffect::roll_trigger_target 00548720:NpcHelper::leper_flesh_ai 00548720:NpcHelper::leper_flesh_ai 0074f820:Level::InitStageSeeds 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 006ef890:Seeds::GetNextSeed 004878a0:NpcAI::ENTITY_CAGE 004878a0:NpcAI::ENTITY_CAGE 007c7960:Entity_Player::GetZodiacEffect 007f7a40:Room::TrySpawnSecretExit 005c7ad0:FUN_005c7ad0 00707ad0:r_key_timer_callback 00967a70:Entity_Knife::apply_wiggle 00827bf0:Room::spawn_sanguine_bond_spikes 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0074fbe0:Level::try_place_random_room 0081fb70:LRoomTileDesc::GetRandomTile 0081fb70:LRoomTileDesc::GetRandomTile 0081fb70:LRoomTileDesc::GetRandomTile 0081fb70:LRoomTileDesc::GetRandomTile 0081fb70:LRoomTileDesc::GetRandomTile 007d7c30:Entity_Player::trigger_cracked_orb 0097fc10:Entity_Laser::ResetSpriteScale 004bfd30:NpcAI::ENTITY_HUSH 004bfd30:NpcAI::ENTITY_HUSH 004bfd30:NpcAI::ENTITY_HUSH 004bfd30:NpcAI::ENTITY_HUSH 004bfd30:NpcAI::ENTITY_HUSH 004bfd30:NpcAI::ENTITY_HUSH 004bfd30:NpcAI::ENTITY_HUSH 004f7e60:NpcAI::ENTITY_MORNINGSTAR 005c7f20:FUN_005c7f20 00737010:ItemPool::get_chaos_pool 00737010:ItemPool::get_chaos_pool 0067f0d0:RandomVector 0074f0c0:Level::generate_mirror_world 009df1f6 009df29a 009df2e4 009df32c 009df3a5 009df416 009df465 009df5a5 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 006bf120:NpcHelper::ChampionDrop 009df19d 007d7290:Entity_Player::UsePoopSpell 0074f360:Level::generate_mineshaft 0074f360:Level::generate_mineshaft 0074f360:Level::generate_mineshaft 0044f2b0:NpcAI::ENTITY_BEAST_ultra_war_bomb 0044f2b0:NpcAI::ENTITY_BEAST_ultra_war_bomb 008176e8 00817729 0081712c 00817370 008173df 0081744e 0079f3c0:Entity_Player::update_ladder 0079f3c0:Entity_Player::update_ladder 00737380:ItemPool::get_available_collectibles 00737380:ItemPool::get_available_collectibles 00937420:Backdrop::pre_render_walls 00937420:Backdrop::pre_render_walls 00937420:Backdrop::pre_render_walls 00937420:Backdrop::pre_render_walls 00937420:Backdrop::pre_render_walls 00937420:Backdrop::pre_render_walls 0071f4b0:FUN_0071f4b0 0071f4b0:FUN_0071f4b0 007475b0:Level::RestoreGameState 007cf610:Entity_Player::RemoveCollectible 008276e0:Room::spawn_options_alternative 008276e0:Room::spawn_options_alternative 008276e0:Room::spawn_options_alternative 007bf6c0:Entity_Player::GetTearHitParams 007bf6c0:Entity_Player::GetTearHitParams 007376c0:ItemPool::GetCardImpl 007376c0:ItemPool::GetCardImpl 007376c0:ItemPool::GetCardImpl 007bf6c0:Entity_Player::GetTearHitParams 0062f7f0:FamiliarAI::bumbo 004d77b0:NpcAI::ENTITY_SMALL_MAGGOT 004d77b0:NpcAI::ENTITY_SMALL_MAGGOT 004d77b0:NpcAI::ENTITY_SMALL_MAGGOT 006ae820:Entity::Update 006ae820:Entity::Update 00816910:Room::SpawnGreedModeWave 00426a50:DailyChallenge::Init 00426a50:DailyChallenge::Init 00426a50:DailyChallenge::Init 00426a50:DailyChallenge::Init 00426a50:DailyChallenge::Init 00426a50:DailyChallenge::Init 0075ea40:Entity_Player::render_charge_bars 0043eb10:Entity_Familiar::GetRandomWisp 00996b30:FXLayers::grow_vein_branches 00736ba0:ItemPool::ForceAddPillEffect 007a6c50:Entity_Player::room_enter 007a6c50:Entity_Player::room_enter 007a6c50:Entity_Player::room_enter 00736c30:ItemPool::on_pill_used 006f6dd0:Game::StartDailyChallenge 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 00716db0:spawn_poop_rewards 006d6d80:Entity_NPC::room_enter 00996e90:FXLayers::update_vein_branch 006e6e40:Entity_Pickup::TryOpenChest 006e6e40:Entity_Pickup::TryOpenChest 009df144 009defa3 007570d5 009960b0:Game::start_poop_cloud_screen_effect 009960b0:Game::start_poop_cloud_screen_effect 009960b0:Game::start_poop_cloud_screen_effect 009960b0:Game::start_poop_cloud_screen_effect 009960b0:Game::start_poop_cloud_screen_effect 009960b0:Game::start_poop_cloud_screen_effect 00816000:Room::ShopReshuffle 00816000:Room::ShopReshuffle 0073e0a0:Level::load_room 0073e0a0:Level::load_room 0073e0a0:Level::load_room 0073e0a0:Level::load_room 0073e0a0:Level::load_room 009be140:PlayerManager::RandomCollectibleOwner 009ae170:LevelGenerator::place_secret_room 009ae170:LevelGenerator::place_secret_room 007fe220:Room::card_against_humanity_fill 007fe220:Room::card_against_humanity_fill 007fe220:Room::card_against_humanity_fill 007fe220:Room::card_against_humanity_fill 007fe220:Room::card_against_humanity_fill 007fe220:Room::card_against_humanity_fill 007fe220:Room::card_against_humanity_fill 0046e290:NpcAI::ENTITY_DUKE 0046e290:NpcAI::ENTITY_DUKE 0046e290:NpcAI::ENTITY_DUKE 0046e290:NpcAI::ENTITY_DUKE 009be3e0:PlayerManager::RandomTrinketOwner 00436330:Entity_Familiar::WispInit 00436330:Entity_Familiar::WispInit 00436330:Entity_Familiar::WispInit 00436330:Entity_Familiar::WispInit 00436330:Entity_Familiar::WispInit 00436330:Entity_Familiar::WispInit 0080e320:Room::pick_special_clear_award 006ee440:Isaac::GetRandomPickupVelocity 006ee440:Isaac::GetRandomPickupVelocity 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 004d64f0:NpcAI::ENTITY_MOMS_HEART_mausoleum_death 008ce430:Menu_CustomChallenge::Render 009be530:PlayerManager::GetRandomPlayer 007d6670:Entity_Player::poop_spell_roll 007d6670:Entity_Player::poop_spell_roll 007d6670:Entity_Player::poop_spell_roll 007d6670:Entity_Player::poop_spell_roll 007d6670:Entity_Player::poop_spell_roll 007d6670:Entity_Player::poop_spell_roll 007d6670:Entity_Player::poop_spell_roll 006ee640:FUN_006ee640 006ee640:FUN_006ee640 007ce6e0:Entity_Player::ChangePlayerType 007ce6e0:Entity_Player::ChangePlayerType 009ae640:LevelGenerator::try_place_room 009ae640:LevelGenerator::try_place_room 006d6690:NpcAI::ENTITY_MOVABLE_TNT 00956780:seed_fart_sound_override 0082d880:RoomConfig::GetRandomSplitRoom 0082d880:RoomConfig::GetRandomSplitRoom 008158a0:Room::ShopRestockPartial 008158a0:Room::ShopRestockPartial 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 007d58f0:Entity_Player::tainted_cain_pedestal_burst 0058d8b0:NpcAI::ENTITY_SINGE_ball 00715940:GridEntity_Poop::BeginBatches 00735a30:ItemPool::load_pools 00735a30:ItemPool::load_pools 006ddcd0:Pickup_PickVariant 006ddcd0:Pickup_PickVariant 006ddcd0:Pickup_PickVariant 00815ed0 00815c14 0092dc30:SoundEffects::Play 009bdc60:PlayerManager::init_random_unlocks 00825de0:Room::render_darkness_overlay 00825de0:Room::render_darkness_overlay 00825de0:Room::render_darkness_overlay 00825de0:Room::render_darkness_overlay 00825de0:Room::render_darkness_overlay 00825de0:Room::render_darkness_overlay 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 0074de30:Game::generate_home_level 00545f70:NpcAI::ENTITY_FISTULOID 007cdf30:teleport_to_random_room_of_types 007cdf30:teleport_to_random_room_of_types 0071dfc0:GridEntity_Spikes::BeginBatches 0071dfc0:GridEntity_Spikes::BeginBatches 0071dfc0:GridEntity_Spikes::BeginBatches 00535280:NpcAI::ENTITY_SQUIRT 00535280:NpcAI::ENTITY_SQUIRT 0050d370:NpcAI::ENTITY_CLOTTY 006b5320:Entity_Tear::reroll_hit_entity 006b5320:Entity_Tear::reroll_hit_entity 007ed310:Room::SpawnEntry 007ed310:Room::SpawnEntry 007ed310:Room::SpawnEntry 007ed310:Room::SpawnEntry 007ed310:Room::SpawnEntry 007ed310:Room::SpawnEntry 0096d3f0:Entity_Laser::impact_tear_flag_effects 0096d3f0:Entity_Laser::impact_tear_flag_effects 0096d3f0:Entity_Laser::impact_tear_flag_effects 0096d3f0:Entity_Laser::impact_tear_flag_effects 006653e0:FUN_006653e0 00755470:Entity_Player::Init 00755470:Entity_Player::Init 00755470:Entity_Player::Init 00755470:Entity_Player::Init 00755470:Entity_Player::Init 00755470:Entity_Player::Init 00755470:Entity_Player::Init 00755470:Entity_Player::Init 00755470:Entity_Player::Init 006d5400:Entity_NPC::trigger_kill_item_effects 006d5400:Entity_NPC::trigger_kill_item_effects 006d5400:Entity_NPC::trigger_kill_item_effects 006d5400:Entity_NPC::trigger_kill_item_effects 0074d4a0:Level::prepare_blue_room 00705480:Game::DevolveEnemy 0063d570:FamiliarHelper::fly_head_pathfind_move 0063d570:FamiliarHelper::fly_head_pathfind_move 0093d510:Backdrop::render_wall_detail 009356a0:Backdrop::render_floor_to_target 009356a0:Backdrop::render_floor_to_target 009356a0:Backdrop::render_floor_to_target 009356a0:Backdrop::render_floor_to_target 009356a0:Backdrop::render_floor_to_target 006657a0:Entity_Slot::HandleCollision 006657a0:Entity_Slot::HandleCollision 006657a0:Entity_Slot::HandleCollision 0062c8d0:Entity_Familiar::farting_baby_fart 007f4757 007f4891 007f4e0b 007f4f12 007f52cc 007f53cb 007f5455 007f557d 007f5b3a 007f5c71 007f6658 007f6828 007f5a87 007f54c2 007f4fd4 00744940:Level::Init 00734900:ItemPool::GetPill 00734900:ItemPool::GetPill 00734900:ItemPool::GetPill 00504a40:NpcAI::ENTITY_DUSTY_DEATHS_HEAD 00504a40:NpcAI::ENTITY_DUSTY_DEATHS_HEAD 0065cb60:Entity_Projectile::Render 0065cb60:Entity_Projectile::Render 0065cb60:Entity_Projectile::Render 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 00634b10:Entity_Familiar::ai_lil_spewer 0051cb30:NpcAI::ENTITY_HANGER 0049cbf0:WeightedOutcomePicker::PickOutcome 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 007a4ba0:Entity_Player::level_start 00704c50:Game::RerollLevelPickups 00734cc0:ItemPool::remove_deathmatch_pill_effects 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 009dcc70:ItemPool::CreateGlitchedCollectible 00624e10:Entity_Familiar::Render 0074cea0:FUN_0074cea0 00644e80:Entity_Familiar::ai_shadow_intruder_damocles 00644e80:Entity_Familiar::ai_shadow_intruder_damocles 00734f30:ItemPool::Init 00734f30:ItemPool::Init 00734f30:ItemPool::Init 00734f30:ItemPool::Init 0074406b:FUN_0074406b 005cc070:RNG::Shuffle 005240a0:NpcAI::ENTITY_PARA_BITE 00584140:NpcAI::ENTITY_SCOURGE_chain 00584140:NpcAI::ENTITY_SCOURGE_chain 0074413a:FUN_0074413a 007ec100:Room::TransformEntry 0063c1c0:Entity_Familiar::ai_minisaac 0063c1c0:Entity_Familiar::ai_minisaac 007c4180:Entity_Player::UsePill 007c4180:Entity_Player::UsePill 00734180:ItemPool::GetCardEx 00734180:ItemPool::GetCardEx 00734180:ItemPool::GetCardEx 00734180:ItemPool::GetCardEx 00734180:ItemPool::GetCardEx 00734180:ItemPool::GetCardEx 00744209:FUN_00744209 007dc2d0:_Entity_Player::SpawnTrinketRandomPickup 007dc2d0:_Entity_Player::SpawnTrinketRandomPickup 005442a0:NpcAI::ENTITY_TARBOY 005442a0:NpcAI::ENTITY_TARBOY 00744348:FUN_00744348 00744348:FUN_00744348 00744348:FUN_00744348 00824350:Room::init_rain 00824350:Room::init_rain 00824350:Room::init_rain 00824350:Room::init_rain 00824350:Room::init_rain 00824350:Room::init_rain 00744466:FUN_00744466 00664560:Entity_Slot::TakeDamage 00664560:Entity_Slot::TakeDamage 00664560:Entity_Slot::TakeDamage 00664560:Entity_Slot::TakeDamage 00664560:Entity_Slot::TakeDamage 00744500:FUN_00744500 00984550:GridEntity_PressurePlate::Reward 00984550:GridEntity_PressurePlate::Reward 00984550:GridEntity_PressurePlate::Reward 007bc740:Entity_Player::InitPostLevelInitStats 007bc740:Entity_Player::InitPostLevelInitStats 007bc740:Entity_Player::InitPostLevelInitStats 007bc740:Entity_Player::InitPostLevelInitStats 007bc740:Entity_Player::InitPostLevelInitStats 007bc740:Entity_Player::InitPostLevelInitStats 007bc740:Entity_Player::InitPostLevelInitStats 007bc740:Entity_Player::InitPostLevelInitStats 0082c7d0:RoomConfig::GetRandomRoom 0082c7d0:RoomConfig::GetRandomRoom 0082c7d0:RoomConfig::GetRandomRoom 007ac7e0:Entity_Player::DischargeActiveItem 00934770:Backdrop::PreRenderControls 006f5cc1 006f5e66 006f710a 00756e24 00756f7e 0075db63 007f4354 008170c1 009deee9 009def3f 006378c0:Entity_Familiar::ai_lil_harbingers 00610540:Entity_Familiar::Kill 00610540:Entity_Familiar::Kill 006e69b0:Entity_Pickup::Render 00580eae 00580f12 0058072b 005807a1 0043fd44 0043fcc5 0063f0b9 0063f132 00716019 00716085 0071612b 00745477 00740e10:Level::generate_dungeon 00740e10:Level::generate_dungeon 00740e10:Level::generate_dungeon 00740e10:Level::generate_dungeon 00740e10:Level::generate_dungeon 00742ef0:Level::generate_backwards 00743550:Level::generate_greed 00743550:Level::generate_greed 0075fe32 0075fef5 00760556 007601fa 0076024c 007607c8 0075ffbd 00760680 00760a18 00760ae2 00760c76 007f3227 007f339d 007f4142 007f4185 007f420a 007f428c 007f3684 007f42da 007f396c 007f39e4 007f3db6 007f360e 0093b760:Backdrop::spawn_wall_details 009e0e34 00b6bf68 RNG: Invalid ShiftIdx\n 007d9d00:Entity_Player::CalculateBagOfCraftingOutput 007e8f90:RNG::game_constructor 00b6bf80 Floor Water Surface 007ea630:init_room_render_surfaces 00b6bf94 Shockwave Surface 007ea630:init_room_render_surfaces @@ -6275,7 +6275,7 @@ z 00b6c0c8 gfx/grid/grid_pit_mask.png 007ea630:init_room_render_surfaces 00b6c0e4 Textured Pit Surface 007ea630:init_room_render_surfaces 00b6c0fc Spawn Entity with Type(%d), Variant(%d), Pos(%.2f,%.2f)\n 00815f76 007ed310:Room::SpawnEntry -00b6c138 SpawnGridEntity: Grid index invalid\n 007ebca0:Room::SpawnGridEntity 007ebd50:Room::SpawnGridEntityDesc 0071b1c0:GridEntity_Rock::TrySpawnLadder 006ab440:Entity::PlayerCollideWithGrid 0042a8b0:FUN_0042a8b0 0058a010:Entity_NPC::Render 0046a0f0:NpcAI::ENTITY_LARRYJR 0047a360:NpcAI::ENTITY_CHUB 006e2570:Entity_Pickup::update_price_sprite 007009a0:Game::BombTearflagEffects 007009a0:Game::BombTearflagEffects 00718ac0:GridEntity_Poop::get_giga_part 004b0fe0:FUN_004b0fe0 007f8190:Room::TrySpawnSecretShop 00460780:NpcAI::ENTITY_MEGA_FATTY 005af800:NpcAI::ENTITY_WORMWOOD_main 00827bf0:FUN_00827bf0 006ff2a0:Game::BombDamage 006ff2a0:Game::BombDamage 007fe220:Room::card_against_humanity_fill 00576450:NpcHelper::raglich_slam_spawn_grid 007ee7e0:Room::make_wall 007ee7e0:Room::make_wall 004855b0:NpcAI::ENTITY_DINGLE 008257a0:Room::spawn_grid_from_desc 008257a0:Room::spawn_grid_from_desc 007f48dd 00984550:GridEntity_PressurePlate::Reward 00984550:GridEntity_PressurePlate::Reward 007f43c3 007f45f0 00580502 +00b6c138 SpawnGridEntity: Grid index invalid\n 007ebca0:Room::SpawnGridEntity 007ebd50:Room::SpawnGridEntityDesc 0071b1c0:GridEntity_Rock::TrySpawnLadder 006ab440:Entity::PlayerCollideWithGrid 0042a8b0:DeathmatchTypeBase::Update 0058a010:Entity_NPC::Render 0046a0f0:NpcAI::ENTITY_LARRYJR 0047a360:NpcAI::ENTITY_CHUB 006e2570:Entity_Pickup::update_price_sprite 007009a0:Game::BombTearflagEffects 007009a0:Game::BombTearflagEffects 00718ac0:GridEntity_Poop::get_giga_part 004b0fe0:NpcHelper::gideon_spawn_stairs 007f8190:Room::TrySpawnSecretShop 00460780:NpcAI::ENTITY_MEGA_FATTY 005af800:NpcAI::ENTITY_WORMWOOD_main 00827bf0:Room::spawn_sanguine_bond_spikes 006ff2a0:Game::BombDamage 006ff2a0:Game::BombDamage 007fe220:Room::card_against_humanity_fill 00576450:NpcHelper::raglich_slam_spawn_grid 007ee7e0:Room::make_wall 007ee7e0:Room::make_wall 004855b0:NpcAI::ENTITY_DINGLE 008257a0:Room::spawn_grid_from_desc 008257a0:Room::spawn_grid_from_desc 007f48dd 00984550:GridEntity_PressurePlate::Reward 00984550:GridEntity_PressurePlate::Reward 007f43c3 007f45f0 00580502 00b6c160 invalid GridIndex while spawning door (slot %d) 007eea90:Room::MakeDoor 00b6c190 make_wall index out of bounds\n 007ee7e0:Room::make_wall 00b6c1b0 gfx/ash_mask.png 007ea630:init_room_render_surfaces @@ -6422,16 +6422,16 @@ z 00b6cfd4 Wave has no entries! 00833c40:Ambush::SpawnBossrushWave 00b6cfec chunks 00834680:Game::LoadBossRushXml 00834680:Game::LoadBossRushXml 00b6cff4 spawnsPerWave 00834680:Game::LoadBossRushXml 00834680:Game::LoadBossRushXml -00b6d004 %s-%u 00835620:FUN_00835620 -00b6d00c Unknown action (%s) found while loading button config\n 00835820:FUN_00835820 -00b6d044 Keyboard 00835820:FUN_00835820 00934770:Backdrop::PreRenderControls 00835820:FUN_00835820 00a6c440:FUN_00a6c440 +00b6d004 %s-%u 00835620:input_config_save_xml_node +00b6d00c Unknown action (%s) found while loading button config\n 00835820:input_config_load_xml_node +00b6d044 Keyboard 00835820:input_config_load_xml_node 00934770:Backdrop::PreRenderControls 00835820:input_config_load_xml_node 00a6c440:FUN_00a6c440 00b6d050 Controller 00836370:input_configs_save 00836370:input_configs_save 00836370:input_configs_save 00b6d05c KeyConfigs 00836370:input_configs_save 00835f70:input_configs_load 00836370:input_configs_save 00836370:input_configs_save 00b6d068 %s/inputconfigs.dat 00836370:input_configs_save 00835f70:input_configs_load -00b6d07c Unknown action slot (%d) found while loading button config\n 00835820:FUN_00835820 +00b6d07c Unknown action slot (%d) found while loading button config\n 00835820:input_config_load_xml_node 00b6d0b8 Binding of Isaac Afterbirth+ 00952410:Manager::Init 00835f70:input_configs_load 00924440:OptionsConfig::Load 00b6d0d8 Binding of Isaac Repentance+ 00835f70:input_configs_load 00924440:OptionsConfig::Load 0092c2c0:PersistentGameData::TryImportABLocalSave 0092b2e0:PersistentGameData::TryImportRebirthLocalSave -00b6d0fc Unknown 00952df0:Manager::load_configs 00a224b0:FUN_00a224b0 00a51dc0:FUN_00a51dc0 00a51dc0:FUN_00a51dc0 00a51dc0:FUN_00a51dc0 00a51dc0:FUN_00a51dc0 00a51dc0:FUN_00a51dc0 00a51dc0:FUN_00a51dc0 00a1e360:FUN_00a1e360 00a51dc0:FUN_00a51dc0 00a51dc0:FUN_00a51dc0 00a51dc0:FUN_00a51dc0 00a51dc0:FUN_00a51dc0 00a51dc0:FUN_00a51dc0 00a51dc0:FUN_00a51dc0 00a51dc0:FUN_00a51dc0 +00b6d0fc Unknown 00952df0:Manager::load_configs 00a224b0:FUN_00a224b0 00a51dc0:leaderboard_request_complete 00a51dc0:leaderboard_request_complete 00a51dc0:leaderboard_request_complete 00a51dc0:leaderboard_request_complete 00a51dc0:leaderboard_request_complete 00a51dc0:leaderboard_request_complete 00a1e360:FUN_00a1e360 00a51dc0:leaderboard_request_complete 00a51dc0:leaderboard_request_complete 00a51dc0:leaderboard_request_complete 00a51dc0:leaderboard_request_complete 00a51dc0:leaderboard_request_complete 00a51dc0:leaderboard_request_complete 00a51dc0:leaderboard_request_complete 00b6d10c Windows 00aa9350 00b6d114 Popups 009b31c0:Menu_Options::Render 00b6d11c Clear 00866960:LuaEngine::RegisterAPI @@ -6477,10 +6477,10 @@ z 00b6d910 IconBoss 0098b5e0:Minimap::refresh_room_icons 008d6b30:Menu_Collection::render_item_pool_icons 008d6b30:Menu_Collection::render_item_pool_icons 008d6b30:Menu_Collection::render_item_pool_icons 0083d8c0:item_pool_icons_render 0083d8c0:item_pool_icons_render 0083d8c0:item_pool_icons_render 0083d8c0:item_pool_icons_render 0083d8c0:item_pool_icons_render 0083d8c0:item_pool_icons_render 0083d8c0:item_pool_icons_render 0083d8c0:item_pool_icons_render 008d6b30:Menu_Collection::render_item_pool_icons 008d6b30:Menu_Collection::render_item_pool_icons 0098b5e0:Minimap::refresh_room_icons 00b6d91c ##GAME###ITEM_INFO_UNIDENTIFIED 0083c8d0:HUD::update_item_info 00b6d93c IconTreasureRoom 0098b5e0:Minimap::refresh_room_icons 008d6b30:Menu_Collection::render_item_pool_icons 008d6b30:Menu_Collection::render_item_pool_icons 008d6b30:Menu_Collection::render_item_pool_icons 0083d8c0:item_pool_icons_render 0083d8c0:item_pool_icons_render 0083d8c0:item_pool_icons_render 008d6b30:Menu_Collection::render_item_pool_icons 008d6b30:Menu_Collection::render_item_pool_icons 0098b5e0:Minimap::refresh_room_icons 0098b5e0:Minimap::refresh_room_icons -00b6d950 gfx/ui/minimap_icons.anm2 0098d560:Minimap::Init 0083c5f0:FUN_0083c5f0 008d2ca0:PauseScreen_MyStuff::Init +00b6d950 gfx/ui/minimap_icons.anm2 0098d560:Minimap::Init 0083c5f0:HUD::load_item_info_graphics 008d2ca0:PauseScreen_MyStuff::Init 00b6d96c Spins down into +%.2f 0084dc00:FUN_0084dc00 0084dc00:FUN_0084dc00 +00b6e24c +%.2f 0084dc00:StatsPanel::add_stat_line 0084dc00:StatsPanel::add_stat_line 00b6e274 Speed 0084e200:StatsPanel::set 0084dea0:StatsPanel::set -00b6e27c %.2f 0084dc00:FUN_0084dc00 0084dc00:FUN_0084dc00 +00b6e27c %.2f 0084dc00:StatsPanel::add_stat_line 0084dc00:StatsPanel::add_stat_line 00b6e2a4 trinkets 0084eba0:InfoDisplay::load_xml 00b6e2b0 pills 0084eba0:InfoDisplay::load_xml 00b6e2c0 collectibles 0084eba0:InfoDisplay::load_xml @@ -6672,37 +6672,37 @@ z 00b6e858 %d_scores_coop_R+ 008ea8f0:Menu_OnlineLobby::update_force_restart 0085afb0:leaderboard_name_format 00b6e86c Leaderboard::OnScoresDownloaded() callback called\n 0085ab90:FUN_0085ab90 00b6e8a0 BAD THING \n 0085ae10:FUN_0085ae10 -00b6e8ac lobby_password 0085b300:Menu_Save::select_save_slot 008e2530:FUN_008e2530 008e1fb0:FUN_008e1fb0 008e11b0:Level::InitializeGenesisRoom 008de690:Menu_OnlineLobbyList::update_password_entry 008e5f40:FUN_008e5f40 00b23e90 +00b6e8ac lobby_password 0085b300:Menu_Save::select_save_slot 008e2530:Menu_OnlineLobbyList::on_password_search_result 008e1fb0:Menu_OnlineLobbyList::on_lobby_list_received 008e11b0:Level::InitializeGenesisRoom 008de690:Menu_OnlineLobbyList::update_password_entry 008e5f40:Menu_Online::on_quick_match_search_result 00b23e90 00b6e8bc lobby_banned 0085b300:Menu_Save::select_save_slot 0085b300:Menu_Save::select_save_slot 00b23e8c 00b6e8cc lobby_seed 0085b300:Menu_Save::select_save_slot 00b23e98 00b6e8d8 lobby_challenge 0085b300:Menu_Save::select_save_slot 008e0660:render_lobby_info 00b23e94 -00b6e8e8 lobby_mode 0085bd40:FUN_0085bd40 0085b300:Menu_Save::select_save_slot 008e1a70:FUN_008e1a70 008e1400:FUN_008e1400 008e1400:FUN_008e1400 008e1400:FUN_008e1400 008e1400:FUN_008e1400 008e0660:render_lobby_info 008df9b0:Menu_LobbyList::render_lobbies 008df1d0:Menu_OnlineLobby::render_lobby_list 008e5f40:FUN_008e5f40 00b23ea0 -00b6e8f4 lobby_tag 0085bd40:FUN_0085bd40 0085b300:Menu_Save::select_save_slot 008e1400:FUN_008e1400 008e0660:render_lobby_info 00b23e9c +00b6e8e8 lobby_mode 0085bd40:FUN_0085bd40 0085b300:Menu_Save::select_save_slot 008e1a70:Menu_OnlineLobbyList::lobby_search_callback 008e1400:Menu_OnlineLobbyList::request_lobby_list 008e1400:Menu_OnlineLobbyList::request_lobby_list 008e1400:Menu_OnlineLobbyList::request_lobby_list 008e1400:Menu_OnlineLobbyList::request_lobby_list 008e0660:render_lobby_info 008df9b0:Menu_LobbyList::render_lobbies 008df1d0:Menu_OnlineLobby::render_lobby_list 008e5f40:Menu_Online::on_quick_match_search_result 00b23ea0 +00b6e8f4 lobby_tag 0085bd40:FUN_0085bd40 0085b300:Menu_Save::select_save_slot 008e1400:Menu_OnlineLobbyList::request_lobby_list 008e0660:render_lobby_info 00b23e9c 00b6e918 wasd8456 0085b790:FUN_0085b790 -00b6e924 current_stage 0085bd40:FUN_0085bd40 009128e0:NetplayManager::update_lobby_stage_info 00912b60:FUN_00912b60 008e9ac0:Menu_OnlineLobby::init_lobby_view 008e1400:FUN_008e1400 008e1400:FUN_008e1400 008e0660:render_lobby_info 008df9b0:Menu_LobbyList::render_lobbies 008df1d0:Menu_OnlineLobby::render_lobby_list 008e64f0:FUN_008e64f0 008e5f40:FUN_008e5f40 008dc0d0:FUN_008dc0d0 008dc0d0:FUN_008dc0d0 -00b6e934 stoull argument out of range 0085be70:FUN_0085be70 0085b300:Menu_Save::select_save_slot 00a772a0:FUN_00a772a0 00a776a0:FUN_00a776a0 0091f780:FUN_0091f780 00a54150:LobbySteam::find_by_id_string -00b6e954 invalid stoull argument 0085be70:FUN_0085be70 0085b300:Menu_Save::select_save_slot 00a772a0:FUN_00a772a0 00a776a0:FUN_00a776a0 0091f780:FUN_0091f780 00a54150:LobbySteam::find_by_id_string +00b6e924 current_stage 0085bd40:FUN_0085bd40 009128e0:NetplayManager::update_lobby_stage_info 00912b60:NetplayManager::request_join_lobby 008e9ac0:Menu_OnlineLobby::init_lobby_view 008e1400:Menu_OnlineLobbyList::request_lobby_list 008e1400:Menu_OnlineLobbyList::request_lobby_list 008e0660:render_lobby_info 008df9b0:Menu_LobbyList::render_lobbies 008df1d0:Menu_OnlineLobby::render_lobby_list 008e64f0:online_quick_match_popup_callback 008e5f40:Menu_Online::on_quick_match_search_result 008dc0d0:FUN_008dc0d0 008dc0d0:FUN_008dc0d0 +00b6e934 stoull argument out of range 0085be70:FUN_0085be70 0085b300:Menu_Save::select_save_slot 00a772a0:KAGE::Network::Multiplayer::ServiceEOS::load_lobby_member_attributes 00a776a0:eos_lobby_member_on_user_info 0091f780:NetplayManager::load_mute_list 00a54150:LobbySteam::find_by_id_string +00b6e954 invalid stoull argument 0085be70:FUN_0085be70 0085b300:Menu_Save::select_save_slot 00a772a0:KAGE::Network::Multiplayer::ServiceEOS::load_lobby_member_attributes 00a776a0:eos_lobby_member_on_user_info 0091f780:NetplayManager::load_mute_list 00a54150:LobbySteam::find_by_id_string 00b6e96c missing error 0085c080:FUN_0085c080 0085c080:FUN_0085c080 00b6e97c tostring 008601f0:FUN_008601f0 -00b6e988 __parent 008a3980:FUN_008a3980 008a3980:FUN_008a3980 008a3980:FUN_008a3980 008a3be0:FUN_008a3be0 008a3be0:FUN_008a3be0 008a3be0:FUN_008a3be0 008a3e40:FUN_008a3e40 008a3e40:FUN_008a3e40 008a3e40:FUN_008a3e40 008a34c0:FUN_008a34c0 008a34c0:FUN_008a34c0 008a34c0:FUN_008a34c0 008a3720:FUN_008a3720 008a3720:FUN_008a3720 008a3720:FUN_008a3720 008a2980:FUN_008a2980 008a2980:FUN_008a2980 008a2980:FUN_008a2980 008a2be0:FUN_008a2be0 008a2be0:FUN_008a2be0 008a2be0:FUN_008a2be0 008a2e40:FUN_008a2e40 008a2e40:FUN_008a2e40 008a2e40:FUN_008a2e40 008a2000:FUN_008a2000 008a2000:FUN_008a2000 008a2000:FUN_008a2000 008a2260:FUN_008a2260 008a2260:FUN_008a2260 008a2260:FUN_008a2260 008a24c0:FUN_008a24c0 008a24c0:FUN_008a24c0 008a24c0:FUN_008a24c0 008a2720:FUN_008a2720 008a2720:FUN_008a2720 008a2720:FUN_008a2720 0085c810:FUN_0085c810 0085c970:FUN_0085c970 008a4a20:FUN_008a4a20 008a4a20:FUN_008a4a20 008a4a20:FUN_008a4a20 0085cd40:FUN_0085cd40 0085cf30:FUN_0085cf30 008a40a0:FUN_008a40a0 008a40a0:FUN_008a40a0 008a40a0:FUN_008a40a0 008a4300:FUN_008a4300 008a4300:FUN_008a4300 008a4300:FUN_008a4300 0085c590:luabridge::Userdata::getClass 008a4560:FUN_008a4560 008a4560:FUN_008a4560 008a4560:FUN_008a4560 008a47c0:FUN_008a47c0 008a47c0:FUN_008a47c0 008a47c0:FUN_008a47c0 -00b6e994 __propget 0087b8d0:luabridge::Namespace::Class::addData_Charge 0087b8d0:luabridge::Namespace::Class::addData_Charge 00883940:FUN_00883940 00883940:FUN_00883940 00883ab0:luabridge::Namespace::Class::addData_TearFlags 00883ab0:luabridge::Namespace::Class::addData_TearFlags 0087ba50:luabridge::Namespace::Class::addProperty_Touched 0087ba50:luabridge::Namespace::Class::addProperty_Touched 0087bbd0:lua_register_VectorList 0087bbd0:lua_register_VectorList 0088bb60:luabridge::Namespace::Class::addData 0088bb60:luabridge::Namespace::Class::addData 0088bcd0:luabridge::Namespace::Class::addData_ExtraSprite 0088bcd0:luabridge::Namespace::Class::addData_ExtraSprite 00883c30:FUN_00883c30 00883c30:FUN_00883c30 00883da0:luabridge::Namespace::Class::addData_CanFly 00883da0:luabridge::Namespace::Class::addData_CanFly 0088be50:luabridge::Namespace::Class::addData 0088be50:luabridge::Namespace::Class::addData 0088bfd0:luabridge::Namespace::Class::addData_PreviousState 0088bfd0:luabridge::Namespace::Class::addData_PreviousState 0087bf10:luabridge::Namespace::Class::addData_Item 0087bf10:luabridge::Namespace::Class::addData_Item 00883f40:luabridge::Namespace::Class::addData_BabySkin 00883f40:luabridge::Namespace::Class::addData_BabySkin 008830a0:luabridge::Namespace::Class::addProperty_SpriteScale 008830a0:luabridge::Namespace::Class::addProperty_SpriteScale 0087b150:FUN_0087b150 0087b150:FUN_0087b150 0087b2c0:luabridge::Namespace::Class::addData_TearColor 0087b2c0:luabridge::Namespace::Class::addData_TearColor 00883220:FUN_00883220 00883220:FUN_00883220 0087b440:luabridge::Namespace::Class::addData_TearFlags 0087b440:luabridge::Namespace::Class::addData_TearFlags 0087b5c0:FUN_0087b5c0 0087b5c0:FUN_0087b5c0 0088b600:FUN_0088b600 0088b600:FUN_0088b600 008837c0:luabridge::Namespace::Class::addProperty_FireDelay 008837c0:luabridge::Namespace::Class::addProperty_FireDelay 0087b750:luabridge::Namespace::Class::addData_Item 0087b750:luabridge::Namespace::Class::addData_Item 0087a940:lua_register_CostumeConfigList 0087a940:lua_register_CostumeConfigList 0088ac20:luabridge::Namespace::Class::addProperty_VarData 0088ac20:luabridge::Namespace::Class::addProperty_VarData 0088ada0:luabridge::Namespace::Class::addData_Desc 0088ada0:luabridge::Namespace::Class::addData_Desc 00882d50:luabridge::Namespace::Class::addProperty_FriendBallEnemy 00882d50:luabridge::Namespace::Class::addProperty_FriendBallEnemy 0088af40:luabridge::Namespace::Class::addData_CollisionClass 0088af40:luabridge::Namespace::Class::addData_CollisionClass 008920c0:luabridge::Namespace::Class::addProperty 008920c0:luabridge::Namespace::Class::addProperty 0087a010:lua_register_CardConfigList 0087a010:lua_register_CardConfigList 0088a100:FUN_0088a100 0088a100:FUN_0088a100 008922e0:luabridge::Class::addProperty_DungeonReturnPosition 008922e0:luabridge::Class::addProperty_DungeonReturnPosition 0088a270:FUN_0088a270 0088a270:FUN_0088a270 0088a3e0:luabridge::Namespace::Class::addData_Initialized 0088a3e0:luabridge::Namespace::Class::addData_Initialized 0087a320:lua_register_PillConfigList 0087a320:lua_register_PillConfigList 008824d0:luabridge::Namespace::Class::addProperty_ControlsEnabled 008824d0:luabridge::Namespace::Class::addProperty_ControlsEnabled 0088a580:FUN_0088a580 0088a580:FUN_0088a580 0087a630:lua_register_ItemConfigList 0087a630:lua_register_ItemConfigList 00882650:luabridge::Namespace::Class::addProperty_ControlsCooldown 00882650:luabridge::Namespace::Class::addProperty_ControlsCooldown 008927f0:luabridge::Class::addProperty_GreedModeWave 008927f0:luabridge::Class::addProperty_GreedModeWave 0088a740:luabridge::Namespace::Class::addProperty_State 0088a740:luabridge::Namespace::Class::addProperty_State 00881950:luabridge::Namespace::Class::addProperty_TearsOffset 00881950:luabridge::Namespace::Class::addProperty_TearsOffset 00889960:luabridge::Namespace::Class::addProperty_TearFlags 00889960:luabridge::Namespace::Class::addProperty_TearFlags 00889ae0:FUN_00889ae0 00889ae0:FUN_00889ae0 00879a30:FUN_00879a30 00879a30:FUN_00879a30 00879ba0:luabridge::Namespace::Class::addData_Anm2Path 00879ba0:luabridge::Namespace::Class::addData_Anm2Path 00879d20:FUN_00879d20 00879d20:FUN_00879d20 00879e90:luabridge::Namespace::Class::addData_SkinColor 00879e90:luabridge::Namespace::Class::addData_SkinColor 00889f70:FUN_00889f70 00889f70:FUN_00889f70 00889050:FUN_00889050 00889050:FUN_00889050 00879050:luabridge::Namespace::Class::addData_CacheFlags 00879050:luabridge::Namespace::Class::addData_CacheFlags 008791d0:FUN_008791d0 008791d0:FUN_008791d0 008891c0:luabridge::Namespace::Class::addData_SampleLaser 008891c0:luabridge::Namespace::Class::addData_SampleLaser 00889340:luabridge::Namespace::Class::addData_HomingLaser 00889340:luabridge::Namespace::Class::addData_HomingLaser 00879340:FUN_00879340 00879340:FUN_00879340 00891490:lua_register_RoomDescriptor_array 00891490:lua_register_RoomDescriptor_array 008794b0:FUN_008794b0 008794b0:FUN_008794b0 008894c0:luabridge::Namespace::Class::addData_RotationDelay 008894c0:luabridge::Namespace::Class::addData_RotationDelay 008795b0:luabridge::Namespace::Class::addData_ChargeType 008795b0:luabridge::Namespace::Class::addData_ChargeType 00889640:luabridge::Namespace::Class::addData_HomingType 00889640:luabridge::Namespace::Class::addData_HomingType 008897c0:luabridge::Namespace::Class::addData_BounceLaser 008897c0:luabridge::Namespace::Class::addData_BounceLaser 00879730:luabridge::Namespace::Class::addData_Tags 00879730:luabridge::Namespace::Class::addData_Tags 00891750:lua_register_intValues 00891750:lua_register_intValues 00880880:luabridge::Namespace::Class::addData_StickTarget 00880880:luabridge::Namespace::Class::addData_StickTarget 00878920:FUN_00878920 00878920:FUN_00878920 00878a90:FUN_00878a90 00878a90:FUN_00878a90 00880a00:luabridge::Namespace::Class::addData_CanTriggerStreakEnd 00880a00:luabridge::Namespace::Class::addData_CanTriggerStreakEnd 00888a70:FUN_00888a70 00888a70:FUN_00888a70 00880b80:FUN_00880b80 00880b80:FUN_00880b80 00888be0:FUN_00888be0 00888be0:FUN_00888be0 00888d50:luabridge::Namespace::Class::addData_TearFlags 00888d50:luabridge::Namespace::Class::addData_TearFlags 00878d70:FUN_00878d70 00878d70:FUN_00878d70 00888ed0:luabridge::Namespace::Class::addData_Timeout 00888ed0:luabridge::Namespace::Class::addData_Timeout 00878ee0:FUN_00878ee0 00878ee0:FUN_00878ee0 008800c0:FUN_008800c0 008800c0:FUN_008800c0 008880f0:FUN_008880f0 008880f0:FUN_008880f0 008780f0:luabridge::Namespace::Class::addData_CardType 008780f0:luabridge::Namespace::Class::addData_CardType 00878270:luabridge::Namespace::Class::addData_AnnouncerVoice 00878270:luabridge::Namespace::Class::addData_AnnouncerVoice 00880340:FUN_00880340 00880340:FUN_00880340 00888340:luabridge::Namespace::Class::addProperty_TearFlags 00888340:luabridge::Namespace::Class::addProperty_TearFlags 008804b0:FUN_008804b0 008804b0:FUN_008804b0 008784b0:FUN_008784b0 008784b0:FUN_008784b0 008884c0:FUN_008884c0 008884c0:FUN_008884c0 008805a0:FUN_008805a0 008805a0:FUN_008805a0 00878620:luabridge::Namespace::Class::addData_Name 00878620:luabridge::Namespace::Class::addData_Name 008787a0:luabridge::Namespace::Class::addData_GreedModeAllowed 008787a0:luabridge::Namespace::Class::addData_GreedModeAllowed 00880710:FUN_00880710 00880710:FUN_00880710 0088f890:luabridge::Namespace::Class::addProperty 0088f890:luabridge::Namespace::Class::addProperty 00887950:luabridge::Namespace::Class::addData_Pathfinder 00887950:luabridge::Namespace::Class::addData_Pathfinder 00887ad0:luabridge::Namespace::Class::addData_State 00887ad0:luabridge::Namespace::Class::addData_State 0088fa00:luabridge::Class::addData_ClearCount 0088fa00:luabridge::Class::addData_ClearCount 0088fb80:luabridge::Namespace::Class::addData 0088fb80:luabridge::Namespace::Class::addData 00877b00:FUN_00877b00 00877b00:FUN_00877b00 00887c50:FUN_00887c50 00887c50:FUN_00887c50 00877c70:FUN_00877c70 00877c70:FUN_00877c70 0087fdd0:FUN_0087fdd0 0087fdd0:FUN_0087fdd0 00887de0:luabridge::Namespace::Class::addProperty_Flags 00887de0:luabridge::Namespace::Class::addProperty_Flags 00877de0:luabridge::Namespace::Class::addData_GreedModeAllowed 00877de0:luabridge::Namespace::Class::addData_GreedModeAllowed 0087ff40:luabridge::Namespace::Class::addProperty_TearFlags 0087ff40:luabridge::Namespace::Class::addProperty_TearFlags 00887f70:luabridge::Namespace::Class::addProperty_IsFetus 00887f70:luabridge::Namespace::Class::addProperty_IsFetus 00877f70:luabridge::Namespace::Class::addData_PickupSubtype 00877f70:luabridge::Namespace::Class::addData_PickupSubtype 0088f0b0:FUN_0088f0b0 0088f0b0:FUN_0088f0b0 0088f1b0:FUN_0088f1b0 0088f1b0:FUN_0088f1b0 00897120:FUN_00897120 0088f2c0:luabridge::Namespace::Class::addData 0088f2c0:luabridge::Namespace::Class::addData 0087f3d0:FUN_0087f3d0 0087f3d0:FUN_0087f3d0 008973e0:FUN_008973e0 008774f0:FUN_008774f0 008774f0:FUN_008774f0 0088f430:luabridge::Namespace::Class::addData 0088f430:luabridge::Namespace::Class::addData 0088f5a0:luabridge::Class::addData_AllowedDoors 0088f5a0:luabridge::Class::addData_AllowedDoors 00887570:FUN_00887570 00887570:FUN_00887570 00887660:luabridge::Namespace::Class::addProperty_EntityRef 00887660:luabridge::Namespace::Class::addProperty_EntityRef 008877e0:FUN_008877e0 008877e0:FUN_008877e0 0088f720:luabridge::Namespace::Class::addData 0088f720:luabridge::Namespace::Class::addData 008968b0:FUN_008968b0 0087e8d0:FUN_0087e8d0 0087e8d0:FUN_0087e8d0 0088e840:luabridge::Class::addData_SumWeights 0088e840:luabridge::Class::addData_SumWeights 00876840:luabridge::Namespace::Class::addData_GridCollision 00876840:luabridge::Namespace::Class::addData_GridCollision 008769c0:FUN_008769c0 008769c0:FUN_008769c0 0088e9e0:FUN_0088e9e0 0088e9e0:FUN_0088e9e0 00886910:FUN_00886910 00886910:FUN_00886910 0088ead0:FUN_0088ead0 0088ead0:FUN_0088ead0 00896ae0:FUN_00896ae0 0087ea40:luabridge::Namespace::Class::addProperty_Size 0087ea40:luabridge::Namespace::Class::addProperty_Size 0088ebc0:FUN_0088ebc0 0088ebc0:FUN_0088ebc0 00876b30:luabridge::Namespace::Class::addData_Color 00876b30:luabridge::Namespace::Class::addData_Color 00886b60:luabridge::Namespace::Class::addProperty_CanShutDoors 00886b60:luabridge::Namespace::Class::addProperty_CanShutDoors 00876cb0:FUN_00876cb0 00876cb0:FUN_00876cb0 0088ecc0:FUN_0088ecc0 0088ecc0:FUN_0088ecc0 00896cf0:FUN_00896cf0 0087ec20:FUN_0087ec20 0087ec20:FUN_0087ec20 0088edc0:FUN_0088edc0 0088edc0:FUN_0088edc0 0087ed10:luabridge::Namespace::Class::addProperty_TargetPosition 0087ed10:luabridge::Namespace::Class::addProperty_TargetPosition 0088eeb0:FUN_0088eeb0 0088eeb0:FUN_0088eeb0 00876e20:FUN_00876e20 00876e20:FUN_00876e20 00876f90:FUN_00876f90 00876f90:FUN_00876f90 0088efb0:FUN_0088efb0 0088efb0:FUN_0088efb0 00886ff0:luabridge::Namespace::Class::addProperty_Scale 00886ff0:luabridge::Namespace::Class::addProperty_Scale 0088e090:luabridge::Namespace::Class::addData 0088e090:luabridge::Namespace::Class::addData 008760c0:luabridge::Namespace::Class::addData_Position 008760c0:luabridge::Namespace::Class::addData_Position 008860f0:FUN_008860f0 008860f0:FUN_008860f0 0087e290:luabridge::Namespace::Class::addProperty_SplatColor 0087e290:luabridge::Namespace::Class::addProperty_SplatColor 0088e200:luabridge::Class::addData_Weight 0088e200:luabridge::Class::addData_Weight 00876240:FUN_00876240 00876240:FUN_00876240 00886260:luabridge::Namespace::Class::addData_OrbitDistance 00886260:luabridge::Namespace::Class::addData_OrbitDistance 008763b0:luabridge::Namespace::Class::addData_Entity 008763b0:luabridge::Namespace::Class::addData_Entity 008863e0:FUN_008863e0 008863e0:FUN_008863e0 0087e410:FUN_0087e410 0087e410:FUN_0087e410 0088e450:luabridge::Namespace::Class::addData 0088e450:luabridge::Namespace::Class::addData 0087e580:FUN_0087e580 0087e580:FUN_0087e580 0088e5c0:FUN_0088e5c0 0088e5c0:FUN_0088e5c0 00886570:FUN_00886570 00886570:FUN_00886570 0088e6c0:luabridge::Class::addData_EntryCount 0088e6c0:luabridge::Class::addData_EntryCount 0087e6f0:luabridge::Namespace::Class::addProperty_SortingLayer 0087e6f0:luabridge::Namespace::Class::addProperty_SortingLayer 00886740:FUN_00886740 00886740:FUN_00886740 00885990:luabridge::Namespace::Class::addProperty_Player 00885990:luabridge::Namespace::Class::addProperty_Player 0087d920:luabridge::Namespace::Class::addProperty_Color 0087d920:luabridge::Namespace::Class::addProperty_Color 0088d970:lua_register_RoomConfigEntries 0088d970:lua_register_RoomConfigEntries 00875960:luabridge::Namespace::Class::addProperty_Color 00875960:luabridge::Namespace::Class::addProperty_Color 00875ae0:FUN_00875ae0 00875ae0:FUN_00875ae0 00885b10:FUN_00885b10 00885b10:FUN_00885b10 0087dce0:FUN_0087dce0 0087dce0:FUN_0087dce0 0088dc30:lua_register_RoomConfigSpawns 0088dc30:lua_register_RoomConfigSpawns 00875c50:luabridge::Namespace::Class::addData_Type 00875c50:luabridge::Namespace::Class::addData_Type 00875dd0:FUN_00875dd0 00875dd0:FUN_00875dd0 0087ddd0:FUN_0087ddd0 0087ddd0:FUN_0087ddd0 00885f80:FUN_00885f80 00885f80:FUN_00885f80 0088df10:luabridge::Class::addData_Type 0088df10:luabridge::Class::addData_Type 0087df50:FUN_0087df50 0087df50:FUN_0087df50 00875f40:luabridge::Namespace::Class::addData_SpawnerType 00875f40:luabridge::Namespace::Class::addData_SpawnerType 008850a0:FUN_008850a0 008850a0:FUN_008850a0 0085d040:FUN_0085d040 00875130:FUN_00875130 00875130:FUN_00875130 0087d130:FUN_0087d130 0087d130:FUN_0087d130 0088d150:luabridge::Class::addData_FrameCnt 0088d150:luabridge::Class::addData_FrameCnt 008952b0:luabridge::Class::addData_TimeCounter 008952b0:luabridge::Class::addData_TimeCounter 0087d2c0:FUN_0087d2c0 0087d2c0:FUN_0087d2c0 0085d2c0:FUN_0085d2c0 00875230:FUN_00875230 00875230:FUN_00875230 008753a0:FUN_008753a0 008753a0:FUN_008753a0 00885330:FUN_00885330 00885330:FUN_00885330 0088d350:luabridge::Class::addData_TimerPlate 0088d350:luabridge::Class::addData_TimerPlate 008854a0:FUN_008854a0 008854a0:FUN_008854a0 0088d4d0:luabridge::Class::addData_NextGreedAnimation 0088d4d0:luabridge::Class::addData_NextGreedAnimation 0087d430:luabridge::Namespace::Class::addData_PartialCharge 0087d430:luabridge::Namespace::Class::addData_PartialCharge 0087d5d0:luabridge::Namespace::Class::addData_Friction 0087d5d0:luabridge::Namespace::Class::addData_Friction 00875510:FUN_00875510 00875510:FUN_00875510 0085d500:FUN_0085d500 00875680:FUN_00875680 00875680:FUN_00875680 00885610:luabridge::Namespace::Class::addData_IsFollowing 00885610:luabridge::Namespace::Class::addData_IsFollowing 0088d650:luabridge::Class::addData_GreedModeRNG 0088d650:luabridge::Class::addData_GreedModeRNG 00885790:luabridge::Namespace::Class::addData_ParentOffset 00885790:luabridge::Namespace::Class::addData_ParentOffset 0087d7b0:FUN_0087d7b0 0087d7b0:FUN_0087d7b0 0088d7f0:luabridge::Class::addData_Timeout 0088d7f0:luabridge::Class::addData_Timeout 008757f0:FUN_008757f0 008757f0:FUN_008757f0 0085d730:FUN_0085d730 0085c810:FUN_0085c810 008849b0:FUN_008849b0 008849b0:FUN_008849b0 00894950:luabridge::Namespace::Class::addProperty 00894950:luabridge::Namespace::Class::addProperty 0088ca80:luabridge::Class::addData_HasLadder 0088ca80:luabridge::Class::addData_HasLadder 00894c80:luabridge::Class::addProperty_ScreenShakeOffset 00894c80:luabridge::Class::addProperty_ScreenShakeOffset 00884c70:FUN_00884c70 00884c70:FUN_00884c70 0085cd40:FUN_0085cd40 0087ce80:FUN_0087ce80 0087ce80:FUN_0087ce80 00884ea0:luabridge::Namespace::Class::addData_State 00884ea0:luabridge::Namespace::Class::addData_State 0088ce40:luabridge::Namespace::Class::addData 0088ce40:luabridge::Namespace::Class::addData 0088cfb0:luabridge::Class::addData_FrameCnt 0088cfb0:luabridge::Class::addData_FrameCnt 00894f70:FUN_00894f70 00894f70:FUN_00894f70 0087c090:FUN_0087c090 0087c090:FUN_0087c090 008840c0:luabridge::Namespace::Class::addData_QueuedItem 008840c0:luabridge::Namespace::Class::addData_QueuedItem 0088c150:luabridge::Namespace::Class::addData_PreviousVariant 0088c150:luabridge::Namespace::Class::addData_PreviousVariant 0088c2d0:luabridge::Namespace::Class::addData 0088c2d0:luabridge::Namespace::Class::addData 0087c200:lua_register_EffectList 0087c200:lua_register_EffectList 00884240:FUN_00884240 00884240:FUN_00884240 0088c4c0:luabridge::Namespace::Class::addData_ReviveTimer 0088c4c0:luabridge::Namespace::Class::addData_ReviveTimer 0088c640:luabridge::Namespace::Class::addData_StateAnimation 0088c640:luabridge::Namespace::Class::addData_StateAnimation 0088c7c0:luabridge::Namespace::Class::addData_UnderPlayer 0088c7c0:luabridge::Namespace::Class::addData_UnderPlayer +00b6e988 __parent 008a3980:luabridge::Namespace::Class::Class 008a3980:luabridge::Namespace::Class::Class 008a3980:luabridge::Namespace::Class::Class 008a3be0:luabridge::Namespace::Class::Class 008a3be0:luabridge::Namespace::Class::Class 008a3be0:luabridge::Namespace::Class::Class 008a3e40:luabridge::Namespace::Class::Class 008a3e40:luabridge::Namespace::Class::Class 008a3e40:luabridge::Namespace::Class::Class 008a34c0:luabridge::Namespace::Class::Class 008a34c0:luabridge::Namespace::Class::Class 008a34c0:luabridge::Namespace::Class::Class 008a3720:luabridge::Namespace::Class::Class 008a3720:luabridge::Namespace::Class::Class 008a3720:luabridge::Namespace::Class::Class 008a2980:luabridge::Namespace::Class::Class 008a2980:luabridge::Namespace::Class::Class 008a2980:luabridge::Namespace::Class::Class 008a2be0:luabridge::Namespace::Class::Class 008a2be0:luabridge::Namespace::Class::Class 008a2be0:luabridge::Namespace::Class::Class 008a2e40:luabridge::Namespace::Class::Class 008a2e40:luabridge::Namespace::Class::Class 008a2e40:luabridge::Namespace::Class::Class 008a2000:luabridge::Namespace::Class::Class 008a2000:luabridge::Namespace::Class::Class 008a2000:luabridge::Namespace::Class::Class 008a2260:luabridge::Namespace::Class::Class 008a2260:luabridge::Namespace::Class::Class 008a2260:luabridge::Namespace::Class::Class 008a24c0:luabridge::Namespace::Class::Class 008a24c0:luabridge::Namespace::Class::Class 008a24c0:luabridge::Namespace::Class::Class 008a2720:luabridge::Namespace::Class::Class 008a2720:luabridge::Namespace::Class::Class 008a2720:luabridge::Namespace::Class::Class 0085c810:FUN_0085c810 0085c970:FUN_0085c970 008a4a20:luabridge::Namespace::Class::Class 008a4a20:luabridge::Namespace::Class::Class 008a4a20:luabridge::Namespace::Class::Class 0085cd40:FUN_0085cd40 0085cf30:FUN_0085cf30 008a40a0:luabridge::Namespace::Class::Class 008a40a0:luabridge::Namespace::Class::Class 008a40a0:luabridge::Namespace::Class::Class 008a4300:luabridge::Namespace::Class::Class 008a4300:luabridge::Namespace::Class::Class 008a4300:luabridge::Namespace::Class::Class 0085c590:luabridge::Userdata::getClass 008a4560:luabridge::Namespace::Class::Class 008a4560:luabridge::Namespace::Class::Class 008a4560:luabridge::Namespace::Class::Class 008a47c0:luabridge::Namespace::Class::Class 008a47c0:luabridge::Namespace::Class::Class 008a47c0:luabridge::Namespace::Class::Class +00b6e994 __propget 0087b8d0:luabridge::Namespace::Class::addData_Charge 0087b8d0:luabridge::Namespace::Class::addData_Charge 00883940:FUN_00883940 00883940:FUN_00883940 00883ab0:luabridge::Namespace::Class::addData_TearFlags 00883ab0:luabridge::Namespace::Class::addData_TearFlags 0087ba50:luabridge::Namespace::Class::addProperty_Touched 0087ba50:luabridge::Namespace::Class::addProperty_Touched 0087bbd0:lua_register_VectorList 0087bbd0:lua_register_VectorList 0088bb60:luabridge::Namespace::Class::addData 0088bb60:luabridge::Namespace::Class::addData 0088bcd0:luabridge::Namespace::Class::addData_ExtraSprite 0088bcd0:luabridge::Namespace::Class::addData_ExtraSprite 00883c30:FUN_00883c30 00883c30:FUN_00883c30 00883da0:luabridge::Namespace::Class::addData_CanFly 00883da0:luabridge::Namespace::Class::addData_CanFly 0088be50:luabridge::Namespace::Class::addData 0088be50:luabridge::Namespace::Class::addData 0088bfd0:luabridge::Namespace::Class::addData_PreviousState 0088bfd0:luabridge::Namespace::Class::addData_PreviousState 0087bf10:luabridge::Namespace::Class::addData_Item 0087bf10:luabridge::Namespace::Class::addData_Item 00883f40:luabridge::Namespace::Class::addData_BabySkin 00883f40:luabridge::Namespace::Class::addData_BabySkin 008830a0:luabridge::Namespace::Class::addProperty_SpriteScale 008830a0:luabridge::Namespace::Class::addProperty_SpriteScale 0087b150:FUN_0087b150 0087b150:FUN_0087b150 0087b2c0:luabridge::Namespace::Class::addData_TearColor 0087b2c0:luabridge::Namespace::Class::addData_TearColor 00883220:FUN_00883220 00883220:FUN_00883220 0087b440:luabridge::Namespace::Class::addData_TearFlags 0087b440:luabridge::Namespace::Class::addData_TearFlags 0087b5c0:FUN_0087b5c0 0087b5c0:FUN_0087b5c0 0088b600:FUN_0088b600 0088b600:FUN_0088b600 008837c0:luabridge::Namespace::Class::addProperty_FireDelay 008837c0:luabridge::Namespace::Class::addProperty_FireDelay 0087b750:luabridge::Namespace::Class::addData_Item 0087b750:luabridge::Namespace::Class::addData_Item 0087a940:lua_register_CostumeConfigList 0087a940:lua_register_CostumeConfigList 0088ac20:luabridge::Namespace::Class::addProperty_VarData 0088ac20:luabridge::Namespace::Class::addProperty_VarData 0088ada0:luabridge::Namespace::Class::addData_Desc 0088ada0:luabridge::Namespace::Class::addData_Desc 00882d50:luabridge::Namespace::Class::addProperty_FriendBallEnemy 00882d50:luabridge::Namespace::Class::addProperty_FriendBallEnemy 0088af40:luabridge::Namespace::Class::addData_CollisionClass 0088af40:luabridge::Namespace::Class::addData_CollisionClass 008920c0:luabridge::Namespace::Class::addProperty 008920c0:luabridge::Namespace::Class::addProperty 0087a010:lua_register_CardConfigList 0087a010:lua_register_CardConfigList 0088a100:FUN_0088a100 0088a100:FUN_0088a100 008922e0:luabridge::Class::addProperty_DungeonReturnPosition 008922e0:luabridge::Class::addProperty_DungeonReturnPosition 0088a270:FUN_0088a270 0088a270:FUN_0088a270 0088a3e0:luabridge::Namespace::Class::addData_Initialized 0088a3e0:luabridge::Namespace::Class::addData_Initialized 0087a320:lua_register_PillConfigList 0087a320:lua_register_PillConfigList 008824d0:luabridge::Namespace::Class::addProperty_ControlsEnabled 008824d0:luabridge::Namespace::Class::addProperty_ControlsEnabled 0088a580:FUN_0088a580 0088a580:FUN_0088a580 0087a630:lua_register_ItemConfigList 0087a630:lua_register_ItemConfigList 00882650:luabridge::Namespace::Class::addProperty_ControlsCooldown 00882650:luabridge::Namespace::Class::addProperty_ControlsCooldown 008927f0:luabridge::Class::addProperty_GreedModeWave 008927f0:luabridge::Class::addProperty_GreedModeWave 0088a740:luabridge::Namespace::Class::addProperty_State 0088a740:luabridge::Namespace::Class::addProperty_State 00881950:luabridge::Namespace::Class::addProperty_TearsOffset 00881950:luabridge::Namespace::Class::addProperty_TearsOffset 00889960:luabridge::Namespace::Class::addProperty_TearFlags 00889960:luabridge::Namespace::Class::addProperty_TearFlags 00889ae0:FUN_00889ae0 00889ae0:FUN_00889ae0 00879a30:FUN_00879a30 00879a30:FUN_00879a30 00879ba0:luabridge::Namespace::Class::addData_Anm2Path 00879ba0:luabridge::Namespace::Class::addData_Anm2Path 00879d20:FUN_00879d20 00879d20:FUN_00879d20 00879e90:luabridge::Namespace::Class::addData_SkinColor 00879e90:luabridge::Namespace::Class::addData_SkinColor 00889f70:FUN_00889f70 00889f70:FUN_00889f70 00889050:FUN_00889050 00889050:FUN_00889050 00879050:luabridge::Namespace::Class::addData_CacheFlags 00879050:luabridge::Namespace::Class::addData_CacheFlags 008791d0:FUN_008791d0 008791d0:FUN_008791d0 008891c0:luabridge::Namespace::Class::addData_SampleLaser 008891c0:luabridge::Namespace::Class::addData_SampleLaser 00889340:luabridge::Namespace::Class::addData_HomingLaser 00889340:luabridge::Namespace::Class::addData_HomingLaser 00879340:FUN_00879340 00879340:FUN_00879340 00891490:lua_register_RoomDescriptor_array 00891490:lua_register_RoomDescriptor_array 008794b0:FUN_008794b0 008794b0:FUN_008794b0 008894c0:luabridge::Namespace::Class::addData_RotationDelay 008894c0:luabridge::Namespace::Class::addData_RotationDelay 008795b0:luabridge::Namespace::Class::addData_ChargeType 008795b0:luabridge::Namespace::Class::addData_ChargeType 00889640:luabridge::Namespace::Class::addData_HomingType 00889640:luabridge::Namespace::Class::addData_HomingType 008897c0:luabridge::Namespace::Class::addData_BounceLaser 008897c0:luabridge::Namespace::Class::addData_BounceLaser 00879730:luabridge::Namespace::Class::addData_Tags 00879730:luabridge::Namespace::Class::addData_Tags 00891750:lua_register_intValues 00891750:lua_register_intValues 00880880:luabridge::Namespace::Class::addData_StickTarget 00880880:luabridge::Namespace::Class::addData_StickTarget 00878920:FUN_00878920 00878920:FUN_00878920 00878a90:FUN_00878a90 00878a90:FUN_00878a90 00880a00:luabridge::Namespace::Class::addData_CanTriggerStreakEnd 00880a00:luabridge::Namespace::Class::addData_CanTriggerStreakEnd 00888a70:FUN_00888a70 00888a70:FUN_00888a70 00880b80:FUN_00880b80 00880b80:FUN_00880b80 00888be0:FUN_00888be0 00888be0:FUN_00888be0 00888d50:luabridge::Namespace::Class::addData_TearFlags 00888d50:luabridge::Namespace::Class::addData_TearFlags 00878d70:FUN_00878d70 00878d70:FUN_00878d70 00888ed0:luabridge::Namespace::Class::addData_Timeout 00888ed0:luabridge::Namespace::Class::addData_Timeout 00878ee0:FUN_00878ee0 00878ee0:FUN_00878ee0 008800c0:FUN_008800c0 008800c0:FUN_008800c0 008880f0:FUN_008880f0 008880f0:FUN_008880f0 008780f0:luabridge::Namespace::Class::addData_CardType 008780f0:luabridge::Namespace::Class::addData_CardType 00878270:luabridge::Namespace::Class::addData_AnnouncerVoice 00878270:luabridge::Namespace::Class::addData_AnnouncerVoice 00880340:FUN_00880340 00880340:FUN_00880340 00888340:luabridge::Namespace::Class::addProperty_TearFlags 00888340:luabridge::Namespace::Class::addProperty_TearFlags 008804b0:FUN_008804b0 008804b0:FUN_008804b0 008784b0:FUN_008784b0 008784b0:FUN_008784b0 008884c0:FUN_008884c0 008884c0:FUN_008884c0 008805a0:FUN_008805a0 008805a0:FUN_008805a0 00878620:luabridge::Namespace::Class::addData_Name 00878620:luabridge::Namespace::Class::addData_Name 008787a0:luabridge::Namespace::Class::addData_GreedModeAllowed 008787a0:luabridge::Namespace::Class::addData_GreedModeAllowed 00880710:FUN_00880710 00880710:FUN_00880710 0088f890:luabridge::Namespace::Class::addProperty 0088f890:luabridge::Namespace::Class::addProperty 00887950:luabridge::Namespace::Class::addData_Pathfinder 00887950:luabridge::Namespace::Class::addData_Pathfinder 00887ad0:luabridge::Namespace::Class::addData_State 00887ad0:luabridge::Namespace::Class::addData_State 0088fa00:luabridge::Class::addData_ClearCount 0088fa00:luabridge::Class::addData_ClearCount 0088fb80:luabridge::Namespace::Class::addData 0088fb80:luabridge::Namespace::Class::addData 00877b00:FUN_00877b00 00877b00:FUN_00877b00 00887c50:FUN_00887c50 00887c50:FUN_00887c50 00877c70:FUN_00877c70 00877c70:FUN_00877c70 0087fdd0:FUN_0087fdd0 0087fdd0:FUN_0087fdd0 00887de0:luabridge::Namespace::Class::addProperty_Flags 00887de0:luabridge::Namespace::Class::addProperty_Flags 00877de0:luabridge::Namespace::Class::addData_GreedModeAllowed 00877de0:luabridge::Namespace::Class::addData_GreedModeAllowed 0087ff40:luabridge::Namespace::Class::addProperty_TearFlags 0087ff40:luabridge::Namespace::Class::addProperty_TearFlags 00887f70:luabridge::Namespace::Class::addProperty_IsFetus 00887f70:luabridge::Namespace::Class::addProperty_IsFetus 00877f70:luabridge::Namespace::Class::addData_PickupSubtype 00877f70:luabridge::Namespace::Class::addData_PickupSubtype 0088f0b0:FUN_0088f0b0 0088f0b0:FUN_0088f0b0 0088f1b0:FUN_0088f1b0 0088f1b0:FUN_0088f1b0 00897120:FUN_00897120 0088f2c0:luabridge::Namespace::Class::addData 0088f2c0:luabridge::Namespace::Class::addData 0087f3d0:FUN_0087f3d0 0087f3d0:FUN_0087f3d0 008973e0:FUN_008973e0 008774f0:FUN_008774f0 008774f0:FUN_008774f0 0088f430:luabridge::Namespace::Class::addData 0088f430:luabridge::Namespace::Class::addData 0088f5a0:luabridge::Class::addData_AllowedDoors 0088f5a0:luabridge::Class::addData_AllowedDoors 00887570:FUN_00887570 00887570:FUN_00887570 00887660:luabridge::Namespace::Class::addProperty_EntityRef 00887660:luabridge::Namespace::Class::addProperty_EntityRef 008877e0:FUN_008877e0 008877e0:FUN_008877e0 0088f720:luabridge::Namespace::Class::addData 0088f720:luabridge::Namespace::Class::addData 008968b0:FUN_008968b0 0087e8d0:FUN_0087e8d0 0087e8d0:FUN_0087e8d0 0088e840:luabridge::Class::addData_SumWeights 0088e840:luabridge::Class::addData_SumWeights 00876840:luabridge::Namespace::Class::addData_GridCollision 00876840:luabridge::Namespace::Class::addData_GridCollision 008769c0:FUN_008769c0 008769c0:FUN_008769c0 0088e9e0:FUN_0088e9e0 0088e9e0:FUN_0088e9e0 00886910:FUN_00886910 00886910:FUN_00886910 0088ead0:FUN_0088ead0 0088ead0:FUN_0088ead0 00896ae0:FUN_00896ae0 0087ea40:luabridge::Namespace::Class::addProperty_Size 0087ea40:luabridge::Namespace::Class::addProperty_Size 0088ebc0:FUN_0088ebc0 0088ebc0:FUN_0088ebc0 00876b30:luabridge::Namespace::Class::addData_Color 00876b30:luabridge::Namespace::Class::addData_Color 00886b60:luabridge::Namespace::Class::addProperty_CanShutDoors 00886b60:luabridge::Namespace::Class::addProperty_CanShutDoors 00876cb0:FUN_00876cb0 00876cb0:FUN_00876cb0 0088ecc0:FUN_0088ecc0 0088ecc0:FUN_0088ecc0 00896cf0:FUN_00896cf0 0087ec20:FUN_0087ec20 0087ec20:FUN_0087ec20 0088edc0:FUN_0088edc0 0088edc0:FUN_0088edc0 0087ed10:luabridge::Namespace::Class::addProperty_TargetPosition 0087ed10:luabridge::Namespace::Class::addProperty_TargetPosition 0088eeb0:FUN_0088eeb0 0088eeb0:FUN_0088eeb0 00876e20:FUN_00876e20 00876e20:FUN_00876e20 00876f90:FUN_00876f90 00876f90:FUN_00876f90 0088efb0:FUN_0088efb0 0088efb0:FUN_0088efb0 00886ff0:luabridge::Namespace::Class::addProperty_Scale 00886ff0:luabridge::Namespace::Class::addProperty_Scale 0088e090:luabridge::Namespace::Class::addData 0088e090:luabridge::Namespace::Class::addData 008760c0:luabridge::Namespace::Class::addData_Position 008760c0:luabridge::Namespace::Class::addData_Position 008860f0:FUN_008860f0 008860f0:FUN_008860f0 0087e290:luabridge::Namespace::Class::addProperty_SplatColor 0087e290:luabridge::Namespace::Class::addProperty_SplatColor 0088e200:luabridge::Class::addData_Weight 0088e200:luabridge::Class::addData_Weight 00876240:FUN_00876240 00876240:FUN_00876240 00886260:luabridge::Namespace::Class::addData_OrbitDistance 00886260:luabridge::Namespace::Class::addData_OrbitDistance 008763b0:luabridge::Namespace::Class::addData_Entity 008763b0:luabridge::Namespace::Class::addData_Entity 008863e0:FUN_008863e0 008863e0:FUN_008863e0 0087e410:FUN_0087e410 0087e410:FUN_0087e410 0088e450:luabridge::Namespace::Class::addData 0088e450:luabridge::Namespace::Class::addData 0087e580:FUN_0087e580 0087e580:FUN_0087e580 0088e5c0:FUN_0088e5c0 0088e5c0:FUN_0088e5c0 00886570:FUN_00886570 00886570:FUN_00886570 0088e6c0:luabridge::Class::addData_EntryCount 0088e6c0:luabridge::Class::addData_EntryCount 0087e6f0:luabridge::Namespace::Class::addProperty_SortingLayer 0087e6f0:luabridge::Namespace::Class::addProperty_SortingLayer 00886740:FUN_00886740 00886740:FUN_00886740 00885990:luabridge::Namespace::Class::addProperty_Player 00885990:luabridge::Namespace::Class::addProperty_Player 0087d920:luabridge::Namespace::Class::addProperty_Color 0087d920:luabridge::Namespace::Class::addProperty_Color 0088d970:lua_register_RoomConfigEntries 0088d970:lua_register_RoomConfigEntries 00875960:luabridge::Namespace::Class::addProperty_Color 00875960:luabridge::Namespace::Class::addProperty_Color 00875ae0:FUN_00875ae0 00875ae0:FUN_00875ae0 00885b10:FUN_00885b10 00885b10:FUN_00885b10 0087dce0:FUN_0087dce0 0087dce0:FUN_0087dce0 0088dc30:lua_register_RoomConfigSpawns 0088dc30:lua_register_RoomConfigSpawns 00875c50:luabridge::Namespace::Class::addData_Type 00875c50:luabridge::Namespace::Class::addData_Type 00875dd0:FUN_00875dd0 00875dd0:FUN_00875dd0 0087ddd0:FUN_0087ddd0 0087ddd0:FUN_0087ddd0 00885f80:FUN_00885f80 00885f80:FUN_00885f80 0088df10:luabridge::Class::addData_Type 0088df10:luabridge::Class::addData_Type 0087df50:FUN_0087df50 0087df50:FUN_0087df50 00875f40:luabridge::Namespace::Class::addData_SpawnerType 00875f40:luabridge::Namespace::Class::addData_SpawnerType 008850a0:FUN_008850a0 008850a0:FUN_008850a0 0085d040:luabridge::Namespace::ClassBase::createConstTable 00875130:FUN_00875130 00875130:FUN_00875130 0087d130:FUN_0087d130 0087d130:FUN_0087d130 0088d150:luabridge::Class::addData_FrameCnt 0088d150:luabridge::Class::addData_FrameCnt 008952b0:luabridge::Class::addData_TimeCounter 008952b0:luabridge::Class::addData_TimeCounter 0087d2c0:FUN_0087d2c0 0087d2c0:FUN_0087d2c0 0085d2c0:luabridge::Namespace::ClassBase::createClassTable 00875230:FUN_00875230 00875230:FUN_00875230 008753a0:FUN_008753a0 008753a0:FUN_008753a0 00885330:FUN_00885330 00885330:FUN_00885330 0088d350:luabridge::Class::addData_TimerPlate 0088d350:luabridge::Class::addData_TimerPlate 008854a0:FUN_008854a0 008854a0:FUN_008854a0 0088d4d0:luabridge::Class::addData_NextGreedAnimation 0088d4d0:luabridge::Class::addData_NextGreedAnimation 0087d430:luabridge::Namespace::Class::addData_PartialCharge 0087d430:luabridge::Namespace::Class::addData_PartialCharge 0087d5d0:luabridge::Namespace::Class::addData_Friction 0087d5d0:luabridge::Namespace::Class::addData_Friction 00875510:FUN_00875510 00875510:FUN_00875510 0085d500:FUN_0085d500 00875680:FUN_00875680 00875680:FUN_00875680 00885610:luabridge::Namespace::Class::addData_IsFollowing 00885610:luabridge::Namespace::Class::addData_IsFollowing 0088d650:luabridge::Class::addData_GreedModeRNG 0088d650:luabridge::Class::addData_GreedModeRNG 00885790:luabridge::Namespace::Class::addData_ParentOffset 00885790:luabridge::Namespace::Class::addData_ParentOffset 0087d7b0:FUN_0087d7b0 0087d7b0:FUN_0087d7b0 0088d7f0:luabridge::Class::addData_Timeout 0088d7f0:luabridge::Class::addData_Timeout 008757f0:FUN_008757f0 008757f0:FUN_008757f0 0085d730:FUN_0085d730 0085c810:FUN_0085c810 008849b0:FUN_008849b0 008849b0:FUN_008849b0 00894950:luabridge::Namespace::Class::addProperty 00894950:luabridge::Namespace::Class::addProperty 0088ca80:luabridge::Class::addData_HasLadder 0088ca80:luabridge::Class::addData_HasLadder 00894c80:luabridge::Class::addProperty_ScreenShakeOffset 00894c80:luabridge::Class::addProperty_ScreenShakeOffset 00884c70:FUN_00884c70 00884c70:FUN_00884c70 0085cd40:FUN_0085cd40 0087ce80:FUN_0087ce80 0087ce80:FUN_0087ce80 00884ea0:luabridge::Namespace::Class::addData_State 00884ea0:luabridge::Namespace::Class::addData_State 0088ce40:luabridge::Namespace::Class::addData 0088ce40:luabridge::Namespace::Class::addData 0088cfb0:luabridge::Class::addData_FrameCnt 0088cfb0:luabridge::Class::addData_FrameCnt 00894f70:FUN_00894f70 00894f70:FUN_00894f70 0087c090:FUN_0087c090 0087c090:FUN_0087c090 008840c0:luabridge::Namespace::Class::addData_QueuedItem 008840c0:luabridge::Namespace::Class::addData_QueuedItem 0088c150:luabridge::Namespace::Class::addData_PreviousVariant 0088c150:luabridge::Namespace::Class::addData_PreviousVariant 0088c2d0:luabridge::Namespace::Class::addData 0088c2d0:luabridge::Namespace::Class::addData 0087c200:lua_register_EffectList 0087c200:lua_register_EffectList 00884240:FUN_00884240 00884240:FUN_00884240 0088c4c0:luabridge::Namespace::Class::addData_ReviveTimer 0088c4c0:luabridge::Namespace::Class::addData_ReviveTimer 0088c640:luabridge::Namespace::Class::addData_StateAnimation 0088c640:luabridge::Namespace::Class::addData_StateAnimation 0088c7c0:luabridge::Namespace::Class::addData_UnderPlayer 0088c7c0:luabridge::Namespace::Class::addData_UnderPlayer 00b6e9a0 %s expected, got %s 0085c3e0:FUN_0085c3e0 0085c590:luabridge::Userdata::getClass 00b6e9b4 cannot be const 0085c590:luabridge::Userdata::getClass -00b6e9c4 __const 008c38a0:FUN_008c38a0 008a3980:FUN_008a3980 008c3ab0:FUN_008c3ab0 008a3be0:FUN_008a3be0 008c3cc0:FUN_008c3cc0 008c3ed0:FUN_008c3ed0 008a3e40:FUN_008a3e40 008a30a0:FUN_008a30a0 008a32b0:FUN_008a32b0 008a34c0:FUN_008a34c0 008c3690:FUN_008c3690 008a3720:FUN_008a3720 008a2980:FUN_008a2980 008a2be0:FUN_008a2be0 008a2e40:FUN_008a2e40 008a2000:FUN_008a2000 008a2260:FUN_008a2260 008a24c0:FUN_008a24c0 008a2720:FUN_008a2720 008a19d0:FUN_008a19d0 008a1be0:FUN_008a1be0 008a1df0:FUN_008a1df0 008a1190:FUN_008a1190 008a13a0:FUN_008a13a0 008a15b0:FUN_008a15b0 008a17c0:FUN_008a17c0 008a0950:FUN_008a0950 008a0b60:FUN_008a0b60 008a0d70:FUN_008a0d70 008a0f80:FUN_008a0f80 008a0740:FUN_008a0740 008a79f0:luabridge::Namespace::Class::Class 008a7c00:luabridge::Namespace::Class::Class 008a7e10:luabridge::Namespace::Class::Class 008a71b0:luabridge::Namespace::Class::Class 008a73c0:luabridge::Namespace::Class::Class 008a75d0:luabridge::Namespace::Class::Class 008a77e0:luabridge::Namespace::Class::Class 008a6970:FUN_008a6970 008a6b80:FUN_008a6b80 008a6d90:FUN_008a6d90 008a6fa0:luabridge::Namespace::Class::Class 008a6130:FUN_008a6130 008a6340:FUN_008a6340 008a6550:FUN_008a6550 008a6760:FUN_008a6760 008a58f0:FUN_008a58f0 008a5b00:FUN_008a5b00 008a5d10:FUN_008a5d10 008a5f20:FUN_008a5f20 008a50b0:FUN_008a50b0 008a52c0:FUN_008a52c0 0085d2c0:FUN_0085d2c0 008a54d0:FUN_008a54d0 008a56e0:FUN_008a56e0 008c4920:FUN_008c4920 008a4a20:FUN_008a4a20 008a4c80:FUN_008a4c80 008a4ea0:FUN_008a4ea0 008a40a0:FUN_008a40a0 008c40e0:FUN_008c40e0 008c42f0:FUN_008c42f0 0085c3e0:FUN_0085c3e0 008a4300:FUN_008a4300 0085c590:luabridge::Userdata::getClass 0085c590:luabridge::Userdata::getClass 008c4500:FUN_008c4500 008a4560:FUN_008a4560 008a47c0:FUN_008a47c0 008c4710:FUN_008c4710 -00b6e9cc __type 0085d040:FUN_0085d040 0085d2c0:FUN_0085d2c0 0085c3e0:FUN_0085c3e0 0085c3e0:FUN_0085c3e0 0085c590:luabridge::Userdata::getClass 0085c590:luabridge::Userdata::getClass +00b6e9c4 __const 008c38a0:luabridge::Namespace::Class>::Class 008a3980:luabridge::Namespace::Class::Class 008c3ab0:luabridge::Namespace::Class::Class 008a3be0:luabridge::Namespace::Class::Class 008c3cc0:luabridge::Namespace::Class::Class 008c3ed0:luabridge::Namespace::Class::Class 008a3e40:luabridge::Namespace::Class::Class 008a30a0:luabridge::Namespace::Class::Class 008a32b0:luabridge::Namespace::Class::Class 008a34c0:luabridge::Namespace::Class::Class 008c3690:luabridge::Namespace::Class::Class 008a3720:luabridge::Namespace::Class::Class 008a2980:luabridge::Namespace::Class::Class 008a2be0:luabridge::Namespace::Class::Class 008a2e40:luabridge::Namespace::Class::Class 008a2000:luabridge::Namespace::Class::Class 008a2260:luabridge::Namespace::Class::Class 008a24c0:luabridge::Namespace::Class::Class 008a2720:luabridge::Namespace::Class::Class 008a19d0:luabridge::Namespace::Class::Class 008a1be0:luabridge::Namespace::Class::Class 008a1df0:luabridge::Namespace::Class::Class 008a1190:luabridge::Namespace::Class::Class 008a13a0:luabridge::Namespace::Class::Class 008a15b0:luabridge::Namespace::Class::Class 008a17c0:luabridge::Namespace::Class::Class 008a0950:luabridge::Namespace::Class::Class 008a0b60:luabridge::Namespace::Class::Class 008a0d70:luabridge::Namespace::Class::Class 008a0f80:luabridge::Namespace::Class::Class 008a0740:luabridge::Namespace::Class::Class 008a79f0:luabridge::Namespace::Class::Class 008a7c00:luabridge::Namespace::Class::Class 008a7e10:luabridge::Namespace::Class::Class 008a71b0:luabridge::Namespace::Class::Class 008a73c0:luabridge::Namespace::Class::Class 008a75d0:luabridge::Namespace::Class::Class 008a77e0:luabridge::Namespace::Class::Class 008a6970:luabridge::Namespace::Class::Class 008a6b80:luabridge::Namespace::Class::Class 008a6d90:luabridge::Namespace::Class::Class 008a6fa0:luabridge::Namespace::Class::Class 008a6130:luabridge::Namespace::Class::Class 008a6340:luabridge::Namespace::Class::Class 008a6550:luabridge::Namespace::Class::Class 008a6760:luabridge::Namespace::Class::Class 008a58f0:luabridge::Namespace::Class::Class 008a5b00:luabridge::Namespace::Class::Class 008a5d10:luabridge::Namespace::Class::Class 008a5f20:luabridge::Namespace::Class::Class 008a50b0:luabridge::Namespace::Class::Class 008a52c0:luabridge::Namespace::Class::Class 0085d2c0:luabridge::Namespace::ClassBase::createClassTable 008a54d0:luabridge::Namespace::Class::Class 008a56e0:luabridge::Namespace::Class::Class 008c4920:luabridge::Namespace::Class::Class 008a4a20:luabridge::Namespace::Class::Class 008a4c80:luabridge::Namespace::Class::Class 008a4ea0:luabridge::Namespace::Class::Class 008a40a0:luabridge::Namespace::Class::Class 008c40e0:luabridge::Namespace::Class::Class 008c42f0:luabridge::Namespace::Class::Class 0085c3e0:FUN_0085c3e0 008a4300:luabridge::Namespace::Class::Class 0085c590:luabridge::Userdata::getClass 0085c590:luabridge::Userdata::getClass 008c4500:luabridge::Namespace::Class>::Class 008a4560:luabridge::Namespace::Class::Class 008a47c0:luabridge::Namespace::Class::Class 008c4710:luabridge::Namespace::Class::Class +00b6e9cc __type 0085d040:luabridge::Namespace::ClassBase::createConstTable 0085d2c0:luabridge::Namespace::ClassBase::createClassTable 0085c3e0:FUN_0085c3e0 0085c3e0:FUN_0085c3e0 0085c590:luabridge::Userdata::getClass 0085c590:luabridge::Userdata::getClass 00b6e9d4 missing __propget table 0085cd40:FUN_0085cd40 00b6e9ec __parent is not a table 0085cd40:FUN_0085cd40 00b6ea04 invalid stack 0085d980:luabridge::Namespace::~Namespace 0085d910:FUN_0085d910 0085cce0:FUN_0085cce0 00b6ea14 not a cfunction 0085cd40:FUN_0085cd40 -00b6ea24 ' is read-only 0085cad0:FUN_0085cad0 -00b6ea38 __propset 0087b8d0:luabridge::Namespace::Class::addData_Charge 00883940:FUN_00883940 00883ab0:luabridge::Namespace::Class::addData_TearFlags 0087ba50:luabridge::Namespace::Class::addProperty_Touched 0088bb60:luabridge::Namespace::Class::addData 0088bcd0:luabridge::Namespace::Class::addData_ExtraSprite 00883c30:FUN_00883c30 00883da0:luabridge::Namespace::Class::addData_CanFly 0088be50:luabridge::Namespace::Class::addData 0088bfd0:luabridge::Namespace::Class::addData_PreviousState 0087bf10:luabridge::Namespace::Class::addData_Item 00883f40:luabridge::Namespace::Class::addData_BabySkin 008830a0:luabridge::Namespace::Class::addProperty_SpriteScale 0087b150:FUN_0087b150 0087b2c0:luabridge::Namespace::Class::addData_TearColor 0087b440:luabridge::Namespace::Class::addData_TearFlags 0087b5c0:FUN_0087b5c0 0088b600:FUN_0088b600 008837c0:luabridge::Namespace::Class::addProperty_FireDelay 0087b750:luabridge::Namespace::Class::addData_Item 0088ac20:luabridge::Namespace::Class::addProperty_VarData 0088ada0:luabridge::Namespace::Class::addData_Desc 00882d50:luabridge::Namespace::Class::addProperty_FriendBallEnemy 0088af40:luabridge::Namespace::Class::addData_CollisionClass 008920c0:luabridge::Namespace::Class::addProperty 0088a100:FUN_0088a100 008922e0:luabridge::Class::addProperty_DungeonReturnPosition 0088a270:FUN_0088a270 0088a3e0:luabridge::Namespace::Class::addData_Initialized 008824d0:luabridge::Namespace::Class::addProperty_ControlsEnabled 00882650:luabridge::Namespace::Class::addProperty_ControlsCooldown 008927f0:luabridge::Class::addProperty_GreedModeWave 0088a740:luabridge::Namespace::Class::addProperty_State 00881950:luabridge::Namespace::Class::addProperty_TearsOffset 00889960:luabridge::Namespace::Class::addProperty_TearFlags 00889ae0:FUN_00889ae0 00879a30:FUN_00879a30 00879ba0:luabridge::Namespace::Class::addData_Anm2Path 00879d20:FUN_00879d20 00879e90:luabridge::Namespace::Class::addData_SkinColor 00889f70:FUN_00889f70 00889050:FUN_00889050 00879050:luabridge::Namespace::Class::addData_CacheFlags 008791d0:FUN_008791d0 008891c0:luabridge::Namespace::Class::addData_SampleLaser 00889340:luabridge::Namespace::Class::addData_HomingLaser 00879340:FUN_00879340 008894c0:luabridge::Namespace::Class::addData_RotationDelay 008795b0:luabridge::Namespace::Class::addData_ChargeType 00889640:luabridge::Namespace::Class::addData_HomingType 008897c0:luabridge::Namespace::Class::addData_BounceLaser 00879730:luabridge::Namespace::Class::addData_Tags 00880880:luabridge::Namespace::Class::addData_StickTarget 00878920:FUN_00878920 00878a90:FUN_00878a90 00880a00:luabridge::Namespace::Class::addData_CanTriggerStreakEnd 00888a70:FUN_00888a70 00888be0:FUN_00888be0 00888d50:luabridge::Namespace::Class::addData_TearFlags 00878d70:FUN_00878d70 00888ed0:luabridge::Namespace::Class::addData_Timeout 00878ee0:FUN_00878ee0 008880f0:FUN_008880f0 008780f0:luabridge::Namespace::Class::addData_CardType 00878270:luabridge::Namespace::Class::addData_AnnouncerVoice 00880340:FUN_00880340 00888340:luabridge::Namespace::Class::addProperty_TearFlags 008784b0:FUN_008784b0 008884c0:FUN_008884c0 008805a0:FUN_008805a0 00878620:luabridge::Namespace::Class::addData_Name 008787a0:luabridge::Namespace::Class::addData_GreedModeAllowed 00880710:FUN_00880710 0088f890:luabridge::Namespace::Class::addProperty 00887950:luabridge::Namespace::Class::addData_Pathfinder 00887ad0:luabridge::Namespace::Class::addData_State 0088fa00:luabridge::Class::addData_ClearCount 0088fb80:luabridge::Namespace::Class::addData 00877b00:FUN_00877b00 00887c50:FUN_00887c50 00877c70:FUN_00877c70 0087fdd0:FUN_0087fdd0 00887de0:luabridge::Namespace::Class::addProperty_Flags 00877de0:luabridge::Namespace::Class::addData_GreedModeAllowed 0087ff40:luabridge::Namespace::Class::addProperty_TearFlags 00887f70:luabridge::Namespace::Class::addProperty_IsFetus 00877f70:luabridge::Namespace::Class::addData_PickupSubtype 00897120:FUN_00897120 0088f2c0:luabridge::Namespace::Class::addData 0087f3d0:FUN_0087f3d0 008973e0:FUN_008973e0 008774f0:FUN_008774f0 0088f430:luabridge::Namespace::Class::addData 0088f5a0:luabridge::Class::addData_AllowedDoors 00887660:luabridge::Namespace::Class::addProperty_EntityRef 008877e0:FUN_008877e0 0088f720:luabridge::Namespace::Class::addData 008968b0:FUN_008968b0 0087e8d0:FUN_0087e8d0 0088e840:luabridge::Class::addData_SumWeights 00876840:luabridge::Namespace::Class::addData_GridCollision 008769c0:FUN_008769c0 00886910:FUN_00886910 00896ae0:FUN_00896ae0 0087ea40:luabridge::Namespace::Class::addProperty_Size 00876b30:luabridge::Namespace::Class::addData_Color 00886b60:luabridge::Namespace::Class::addProperty_CanShutDoors 00876cb0:FUN_00876cb0 00896cf0:FUN_00896cf0 0087ed10:luabridge::Namespace::Class::addProperty_TargetPosition 00876e20:FUN_00876e20 00876f90:FUN_00876f90 00886ff0:luabridge::Namespace::Class::addProperty_Scale 0088e090:luabridge::Namespace::Class::addData 008760c0:luabridge::Namespace::Class::addData_Position 008860f0:FUN_008860f0 0087e290:luabridge::Namespace::Class::addProperty_SplatColor 0088e200:luabridge::Class::addData_Weight 00876240:FUN_00876240 00886260:luabridge::Namespace::Class::addData_OrbitDistance 008763b0:luabridge::Namespace::Class::addData_Entity 008863e0:FUN_008863e0 0087e410:FUN_0087e410 0088e450:luabridge::Namespace::Class::addData 0087e580:FUN_0087e580 00886570:FUN_00886570 0088e6c0:luabridge::Class::addData_EntryCount 0087e6f0:luabridge::Namespace::Class::addProperty_SortingLayer 00886740:FUN_00886740 00885990:luabridge::Namespace::Class::addProperty_Player 0087d920:luabridge::Namespace::Class::addProperty_Color 00875960:luabridge::Namespace::Class::addProperty_Color 00875ae0:FUN_00875ae0 00885b10:FUN_00885b10 00875c50:luabridge::Namespace::Class::addData_Type 00875dd0:FUN_00875dd0 0087ddd0:FUN_0087ddd0 00885f80:FUN_00885f80 0088df10:luabridge::Class::addData_Type 0087df50:FUN_0087df50 00875f40:luabridge::Namespace::Class::addData_SpawnerType 008850a0:FUN_008850a0 0087d130:FUN_0087d130 0088d150:luabridge::Class::addData_FrameCnt 008952b0:luabridge::Class::addData_TimeCounter 0087d2c0:FUN_0087d2c0 0085d2c0:FUN_0085d2c0 00875230:FUN_00875230 008753a0:FUN_008753a0 00885330:FUN_00885330 0088d350:luabridge::Class::addData_TimerPlate 008854a0:FUN_008854a0 0088d4d0:luabridge::Class::addData_NextGreedAnimation 0087d430:luabridge::Namespace::Class::addData_PartialCharge 0087d5d0:luabridge::Namespace::Class::addData_Friction 00875510:FUN_00875510 0085d500:FUN_0085d500 00875680:FUN_00875680 00885610:luabridge::Namespace::Class::addData_IsFollowing 0088d650:luabridge::Class::addData_GreedModeRNG 00885790:luabridge::Namespace::Class::addData_ParentOffset 0087d7b0:FUN_0087d7b0 0088d7f0:luabridge::Class::addData_Timeout 008757f0:FUN_008757f0 0085d730:FUN_0085d730 008849b0:FUN_008849b0 00894950:luabridge::Namespace::Class::addProperty 0085c970:FUN_0085c970 0085c970:FUN_0085c970 0088ca80:luabridge::Class::addData_HasLadder 00894c80:luabridge::Class::addProperty_ScreenShakeOffset 00884c70:FUN_00884c70 00884ea0:luabridge::Namespace::Class::addData_State 0088ce40:luabridge::Namespace::Class::addData 0088cfb0:luabridge::Class::addData_FrameCnt 0085cf30:FUN_0085cf30 0087c090:FUN_0087c090 008840c0:luabridge::Namespace::Class::addData_QueuedItem 0088c150:luabridge::Namespace::Class::addData_PreviousVariant 0088c2d0:luabridge::Namespace::Class::addData 00884240:FUN_00884240 0088c4c0:luabridge::Namespace::Class::addData_ReviveTimer 0088c640:luabridge::Namespace::Class::addData_StateAnimation 0088c7c0:luabridge::Namespace::Class::addData_UnderPlayer +00b6ea24 ' is read-only 0085cad0:luabridge::CFunc::readOnlyError +00b6ea38 __propset 0087b8d0:luabridge::Namespace::Class::addData_Charge 00883940:FUN_00883940 00883ab0:luabridge::Namespace::Class::addData_TearFlags 0087ba50:luabridge::Namespace::Class::addProperty_Touched 0088bb60:luabridge::Namespace::Class::addData 0088bcd0:luabridge::Namespace::Class::addData_ExtraSprite 00883c30:FUN_00883c30 00883da0:luabridge::Namespace::Class::addData_CanFly 0088be50:luabridge::Namespace::Class::addData 0088bfd0:luabridge::Namespace::Class::addData_PreviousState 0087bf10:luabridge::Namespace::Class::addData_Item 00883f40:luabridge::Namespace::Class::addData_BabySkin 008830a0:luabridge::Namespace::Class::addProperty_SpriteScale 0087b150:FUN_0087b150 0087b2c0:luabridge::Namespace::Class::addData_TearColor 0087b440:luabridge::Namespace::Class::addData_TearFlags 0087b5c0:FUN_0087b5c0 0088b600:FUN_0088b600 008837c0:luabridge::Namespace::Class::addProperty_FireDelay 0087b750:luabridge::Namespace::Class::addData_Item 0088ac20:luabridge::Namespace::Class::addProperty_VarData 0088ada0:luabridge::Namespace::Class::addData_Desc 00882d50:luabridge::Namespace::Class::addProperty_FriendBallEnemy 0088af40:luabridge::Namespace::Class::addData_CollisionClass 008920c0:luabridge::Namespace::Class::addProperty 0088a100:FUN_0088a100 008922e0:luabridge::Class::addProperty_DungeonReturnPosition 0088a270:FUN_0088a270 0088a3e0:luabridge::Namespace::Class::addData_Initialized 008824d0:luabridge::Namespace::Class::addProperty_ControlsEnabled 00882650:luabridge::Namespace::Class::addProperty_ControlsCooldown 008927f0:luabridge::Class::addProperty_GreedModeWave 0088a740:luabridge::Namespace::Class::addProperty_State 00881950:luabridge::Namespace::Class::addProperty_TearsOffset 00889960:luabridge::Namespace::Class::addProperty_TearFlags 00889ae0:FUN_00889ae0 00879a30:FUN_00879a30 00879ba0:luabridge::Namespace::Class::addData_Anm2Path 00879d20:FUN_00879d20 00879e90:luabridge::Namespace::Class::addData_SkinColor 00889f70:FUN_00889f70 00889050:FUN_00889050 00879050:luabridge::Namespace::Class::addData_CacheFlags 008791d0:FUN_008791d0 008891c0:luabridge::Namespace::Class::addData_SampleLaser 00889340:luabridge::Namespace::Class::addData_HomingLaser 00879340:FUN_00879340 008894c0:luabridge::Namespace::Class::addData_RotationDelay 008795b0:luabridge::Namespace::Class::addData_ChargeType 00889640:luabridge::Namespace::Class::addData_HomingType 008897c0:luabridge::Namespace::Class::addData_BounceLaser 00879730:luabridge::Namespace::Class::addData_Tags 00880880:luabridge::Namespace::Class::addData_StickTarget 00878920:FUN_00878920 00878a90:FUN_00878a90 00880a00:luabridge::Namespace::Class::addData_CanTriggerStreakEnd 00888a70:FUN_00888a70 00888be0:FUN_00888be0 00888d50:luabridge::Namespace::Class::addData_TearFlags 00878d70:FUN_00878d70 00888ed0:luabridge::Namespace::Class::addData_Timeout 00878ee0:FUN_00878ee0 008880f0:FUN_008880f0 008780f0:luabridge::Namespace::Class::addData_CardType 00878270:luabridge::Namespace::Class::addData_AnnouncerVoice 00880340:FUN_00880340 00888340:luabridge::Namespace::Class::addProperty_TearFlags 008784b0:FUN_008784b0 008884c0:FUN_008884c0 008805a0:FUN_008805a0 00878620:luabridge::Namespace::Class::addData_Name 008787a0:luabridge::Namespace::Class::addData_GreedModeAllowed 00880710:FUN_00880710 0088f890:luabridge::Namespace::Class::addProperty 00887950:luabridge::Namespace::Class::addData_Pathfinder 00887ad0:luabridge::Namespace::Class::addData_State 0088fa00:luabridge::Class::addData_ClearCount 0088fb80:luabridge::Namespace::Class::addData 00877b00:FUN_00877b00 00887c50:FUN_00887c50 00877c70:FUN_00877c70 0087fdd0:FUN_0087fdd0 00887de0:luabridge::Namespace::Class::addProperty_Flags 00877de0:luabridge::Namespace::Class::addData_GreedModeAllowed 0087ff40:luabridge::Namespace::Class::addProperty_TearFlags 00887f70:luabridge::Namespace::Class::addProperty_IsFetus 00877f70:luabridge::Namespace::Class::addData_PickupSubtype 00897120:FUN_00897120 0088f2c0:luabridge::Namespace::Class::addData 0087f3d0:FUN_0087f3d0 008973e0:FUN_008973e0 008774f0:FUN_008774f0 0088f430:luabridge::Namespace::Class::addData 0088f5a0:luabridge::Class::addData_AllowedDoors 00887660:luabridge::Namespace::Class::addProperty_EntityRef 008877e0:FUN_008877e0 0088f720:luabridge::Namespace::Class::addData 008968b0:FUN_008968b0 0087e8d0:FUN_0087e8d0 0088e840:luabridge::Class::addData_SumWeights 00876840:luabridge::Namespace::Class::addData_GridCollision 008769c0:FUN_008769c0 00886910:FUN_00886910 00896ae0:FUN_00896ae0 0087ea40:luabridge::Namespace::Class::addProperty_Size 00876b30:luabridge::Namespace::Class::addData_Color 00886b60:luabridge::Namespace::Class::addProperty_CanShutDoors 00876cb0:FUN_00876cb0 00896cf0:FUN_00896cf0 0087ed10:luabridge::Namespace::Class::addProperty_TargetPosition 00876e20:FUN_00876e20 00876f90:FUN_00876f90 00886ff0:luabridge::Namespace::Class::addProperty_Scale 0088e090:luabridge::Namespace::Class::addData 008760c0:luabridge::Namespace::Class::addData_Position 008860f0:FUN_008860f0 0087e290:luabridge::Namespace::Class::addProperty_SplatColor 0088e200:luabridge::Class::addData_Weight 00876240:FUN_00876240 00886260:luabridge::Namespace::Class::addData_OrbitDistance 008763b0:luabridge::Namespace::Class::addData_Entity 008863e0:FUN_008863e0 0087e410:FUN_0087e410 0088e450:luabridge::Namespace::Class::addData 0087e580:FUN_0087e580 00886570:FUN_00886570 0088e6c0:luabridge::Class::addData_EntryCount 0087e6f0:luabridge::Namespace::Class::addProperty_SortingLayer 00886740:FUN_00886740 00885990:luabridge::Namespace::Class::addProperty_Player 0087d920:luabridge::Namespace::Class::addProperty_Color 00875960:luabridge::Namespace::Class::addProperty_Color 00875ae0:FUN_00875ae0 00885b10:FUN_00885b10 00875c50:luabridge::Namespace::Class::addData_Type 00875dd0:FUN_00875dd0 0087ddd0:FUN_0087ddd0 00885f80:FUN_00885f80 0088df10:luabridge::Class::addData_Type 0087df50:FUN_0087df50 00875f40:luabridge::Namespace::Class::addData_SpawnerType 008850a0:FUN_008850a0 0087d130:FUN_0087d130 0088d150:luabridge::Class::addData_FrameCnt 008952b0:luabridge::Class::addData_TimeCounter 0087d2c0:FUN_0087d2c0 0085d2c0:luabridge::Namespace::ClassBase::createClassTable 00875230:FUN_00875230 008753a0:FUN_008753a0 00885330:FUN_00885330 0088d350:luabridge::Class::addData_TimerPlate 008854a0:FUN_008854a0 0088d4d0:luabridge::Class::addData_NextGreedAnimation 0087d430:luabridge::Namespace::Class::addData_PartialCharge 0087d5d0:luabridge::Namespace::Class::addData_Friction 00875510:FUN_00875510 0085d500:FUN_0085d500 00875680:FUN_00875680 00885610:luabridge::Namespace::Class::addData_IsFollowing 0088d650:luabridge::Class::addData_GreedModeRNG 00885790:luabridge::Namespace::Class::addData_ParentOffset 0087d7b0:FUN_0087d7b0 0088d7f0:luabridge::Class::addData_Timeout 008757f0:FUN_008757f0 0085d730:FUN_0085d730 008849b0:FUN_008849b0 00894950:luabridge::Namespace::Class::addProperty 0085c970:FUN_0085c970 0085c970:FUN_0085c970 0088ca80:luabridge::Class::addData_HasLadder 00894c80:luabridge::Class::addProperty_ScreenShakeOffset 00884c70:FUN_00884c70 00884ea0:luabridge::Namespace::Class::addData_State 0088ce40:luabridge::Namespace::Class::addData 0088cfb0:luabridge::Class::addData_FrameCnt 0085cf30:FUN_0085cf30 0087c090:FUN_0087c090 008840c0:luabridge::Namespace::Class::addData_QueuedItem 0088c150:luabridge::Namespace::Class::addData_PreviousVariant 0088c2d0:luabridge::Namespace::Class::addData 00884240:FUN_00884240 0088c4c0:luabridge::Namespace::Class::addData_ReviveTimer 0088c640:luabridge::Namespace::Class::addData_StateAnimation 0088c7c0:luabridge::Namespace::Class::addData_UnderPlayer 00b6ea44 no writable variable '%s' 0085c970:FUN_0085c970 -00b6ea64 __metatable 0085d040:FUN_0085d040 0085d2c0:FUN_0085d2c0 0085d500:FUN_0085d500 -00b6ea70 __class 008c38a0:FUN_008c38a0 008a3980:FUN_008a3980 008c3ab0:FUN_008c3ab0 008a3be0:FUN_008a3be0 008c3cc0:FUN_008c3cc0 008c3ed0:FUN_008c3ed0 008a3e40:FUN_008a3e40 008a30a0:FUN_008a30a0 008a32b0:FUN_008a32b0 008a34c0:FUN_008a34c0 008c3690:FUN_008c3690 008a3720:FUN_008a3720 008a2980:FUN_008a2980 008a2be0:FUN_008a2be0 008a2e40:FUN_008a2e40 008a2000:FUN_008a2000 008a2260:FUN_008a2260 008a24c0:FUN_008a24c0 008a2720:FUN_008a2720 008a19d0:FUN_008a19d0 008a1be0:FUN_008a1be0 008a1df0:FUN_008a1df0 008a1190:FUN_008a1190 008a13a0:FUN_008a13a0 008a15b0:FUN_008a15b0 008a17c0:FUN_008a17c0 008a0950:FUN_008a0950 008a0b60:FUN_008a0b60 008a0d70:FUN_008a0d70 008a0f80:FUN_008a0f80 008a0740:FUN_008a0740 008a79f0:luabridge::Namespace::Class::Class 008a7c00:luabridge::Namespace::Class::Class 008a7e10:luabridge::Namespace::Class::Class 008a71b0:luabridge::Namespace::Class::Class 008a73c0:luabridge::Namespace::Class::Class 008a75d0:luabridge::Namespace::Class::Class 008a77e0:luabridge::Namespace::Class::Class 008a6970:FUN_008a6970 008a6b80:FUN_008a6b80 008a6d90:FUN_008a6d90 008a6fa0:luabridge::Namespace::Class::Class 008a6130:FUN_008a6130 008a6340:FUN_008a6340 008a6550:FUN_008a6550 008a6760:FUN_008a6760 008a58f0:FUN_008a58f0 008a5b00:FUN_008a5b00 008a5d10:FUN_008a5d10 008a5f20:FUN_008a5f20 008a50b0:FUN_008a50b0 008a52c0:FUN_008a52c0 0085d2c0:FUN_0085d2c0 008a54d0:FUN_008a54d0 0085d500:FUN_0085d500 008a56e0:FUN_008a56e0 008c4920:FUN_008c4920 008a4a20:FUN_008a4a20 008a4c80:FUN_008a4c80 008a4ea0:FUN_008a4ea0 008a40a0:FUN_008a40a0 008c40e0:FUN_008c40e0 008c42f0:FUN_008c42f0 008a4300:FUN_008a4300 008c4500:FUN_008c4500 008a4560:FUN_008a4560 008a47c0:FUN_008a47c0 008c4710:FUN_008c4710 -00b6ea78 __index 0085d040:FUN_0085d040 0085d2c0:FUN_0085d2c0 0085d500:FUN_0085d500 0085d730:FUN_0085d730 -00b6ea80 __newindex 0085d040:FUN_0085d040 0085d2c0:FUN_0085d2c0 0085d500:FUN_0085d500 0085d730:FUN_0085d730 +00b6ea64 __metatable 0085d040:luabridge::Namespace::ClassBase::createConstTable 0085d2c0:luabridge::Namespace::ClassBase::createClassTable 0085d500:FUN_0085d500 +00b6ea70 __class 008c38a0:luabridge::Namespace::Class>::Class 008a3980:luabridge::Namespace::Class::Class 008c3ab0:luabridge::Namespace::Class::Class 008a3be0:luabridge::Namespace::Class::Class 008c3cc0:luabridge::Namespace::Class::Class 008c3ed0:luabridge::Namespace::Class::Class 008a3e40:luabridge::Namespace::Class::Class 008a30a0:luabridge::Namespace::Class::Class 008a32b0:luabridge::Namespace::Class::Class 008a34c0:luabridge::Namespace::Class::Class 008c3690:luabridge::Namespace::Class::Class 008a3720:luabridge::Namespace::Class::Class 008a2980:luabridge::Namespace::Class::Class 008a2be0:luabridge::Namespace::Class::Class 008a2e40:luabridge::Namespace::Class::Class 008a2000:luabridge::Namespace::Class::Class 008a2260:luabridge::Namespace::Class::Class 008a24c0:luabridge::Namespace::Class::Class 008a2720:luabridge::Namespace::Class::Class 008a19d0:luabridge::Namespace::Class::Class 008a1be0:luabridge::Namespace::Class::Class 008a1df0:luabridge::Namespace::Class::Class 008a1190:luabridge::Namespace::Class::Class 008a13a0:luabridge::Namespace::Class::Class 008a15b0:luabridge::Namespace::Class::Class 008a17c0:luabridge::Namespace::Class::Class 008a0950:luabridge::Namespace::Class::Class 008a0b60:luabridge::Namespace::Class::Class 008a0d70:luabridge::Namespace::Class::Class 008a0f80:luabridge::Namespace::Class::Class 008a0740:luabridge::Namespace::Class::Class 008a79f0:luabridge::Namespace::Class::Class 008a7c00:luabridge::Namespace::Class::Class 008a7e10:luabridge::Namespace::Class::Class 008a71b0:luabridge::Namespace::Class::Class 008a73c0:luabridge::Namespace::Class::Class 008a75d0:luabridge::Namespace::Class::Class 008a77e0:luabridge::Namespace::Class::Class 008a6970:luabridge::Namespace::Class::Class 008a6b80:luabridge::Namespace::Class::Class 008a6d90:luabridge::Namespace::Class::Class 008a6fa0:luabridge::Namespace::Class::Class 008a6130:luabridge::Namespace::Class::Class 008a6340:luabridge::Namespace::Class::Class 008a6550:luabridge::Namespace::Class::Class 008a6760:luabridge::Namespace::Class::Class 008a58f0:luabridge::Namespace::Class::Class 008a5b00:luabridge::Namespace::Class::Class 008a5d10:luabridge::Namespace::Class::Class 008a5f20:luabridge::Namespace::Class::Class 008a50b0:luabridge::Namespace::Class::Class 008a52c0:luabridge::Namespace::Class::Class 0085d2c0:luabridge::Namespace::ClassBase::createClassTable 008a54d0:luabridge::Namespace::Class::Class 0085d500:FUN_0085d500 008a56e0:luabridge::Namespace::Class::Class 008c4920:luabridge::Namespace::Class::Class 008a4a20:luabridge::Namespace::Class::Class 008a4c80:luabridge::Namespace::Class::Class 008a4ea0:luabridge::Namespace::Class::Class 008a40a0:luabridge::Namespace::Class::Class 008c40e0:luabridge::Namespace::Class::Class 008c42f0:luabridge::Namespace::Class::Class 008a4300:luabridge::Namespace::Class::Class 008c4500:luabridge::Namespace::Class>::Class 008a4560:luabridge::Namespace::Class::Class 008a47c0:luabridge::Namespace::Class::Class 008c4710:luabridge::Namespace::Class::Class +00b6ea78 __index 0085d040:luabridge::Namespace::ClassBase::createConstTable 0085d2c0:luabridge::Namespace::ClassBase::createClassTable 0085d500:FUN_0085d500 0085d730:FUN_0085d730 +00b6ea80 __newindex 0085d040:luabridge::Namespace::ClassBase::createConstTable 0085d2c0:luabridge::Namespace::ClassBase::createClassTable 0085d500:FUN_0085d500 0085d730:FUN_0085d730 00b6ea8c no member named '%s' 0085cf30:FUN_0085cf30 -00b6eaa4 const 0085d040:FUN_0085d040 +00b6eaa4 const 0085d040:luabridge::Namespace::ClassBase::createConstTable 00b6eaac string 00a27038:StringTable::load_xml 00a27038:StringTable::load_xml 00a27038:StringTable::load_xml 00a27038:StringTable::load_xml 00a27038:StringTable::load_xml 00a27038:StringTable::load_xml 00a27038:StringTable::load_xml 00a27038:StringTable::load_xml 00a27038:StringTable::load_xml 00a27038:StringTable::load_xml 00b23ec8 00b6eac0 Could not reserve memory for Lua, defaulting to legacy behavior\n 00b6eb04 coroutine 008604c0:LuaEngine::Init 00b23eb8 @@ -6965,7 +6965,7 @@ z 00b7068c GetDefaultAnimationName 00866960:LuaEngine::RegisterAPI 00b706a4 Scale 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00886ff0:luabridge::Namespace::Class::addProperty_Scale 00886ff0:luabridge::Namespace::Class::addProperty_Scale 00886ff0:luabridge::Namespace::Class::addProperty_Scale 008f4a30:ModManager::LoadShaders 00b706ac IsFriendly 00866960:LuaEngine::RegisterAPI -00b706b8 Entity 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 008763b0:luabridge::Namespace::Class::addData_Entity 008763b0:luabridge::Namespace::Class::addData_Entity 008763b0:luabridge::Namespace::Class::addData_Entity 008a4c80:FUN_008a4c80 008a4c80:FUN_008a4c80 008a4c80:FUN_008a4c80 008a4c80:FUN_008a4c80 +00b706b8 Entity 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 008763b0:luabridge::Namespace::Class::addData_Entity 008763b0:luabridge::Namespace::Class::addData_Entity 008763b0:luabridge::Namespace::Class::addData_Entity 008a4c80:luabridge::Namespace::Class::Class 008a4c80:luabridge::Namespace::Class::Class 008a4c80:luabridge::Namespace::Class::Class 008a4c80:luabridge::Namespace::Class::Class 00b706c0 SpawnerVariant 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00b706d0 IsCharmed 00866960:LuaEngine::RegisterAPI 00b706dc Variant 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI @@ -6975,7 +6975,7 @@ z 00b70710 GridCollision 00876840:luabridge::Namespace::Class::addData_GridCollision 00876840:luabridge::Namespace::Class::addData_GridCollision 00876840:luabridge::Namespace::Class::addData_GridCollision 00866960:LuaEngine::RegisterAPI 00b70720 HeightModifier 00866960:LuaEngine::RegisterAPI 00b70730 RandomFloat 00866960:LuaEngine::RegisterAPI 00876710:FUN_00876710 -00b7073c ProjectileParams 00866960:LuaEngine::RegisterAPI 008a6b80:FUN_008a6b80 008a6b80:FUN_008a6b80 008a6b80:FUN_008a6b80 008a6b80:FUN_008a6b80 +00b7073c ProjectileParams 00866960:LuaEngine::RegisterAPI 008a6b80:luabridge::Namespace::Class::Class 008a6b80:luabridge::Namespace::Class::Class 008a6b80:luabridge::Namespace::Class::Class 008a6b80:luabridge::Namespace::Class::Class 00b70750 SetSeed 00866960:LuaEngine::RegisterAPI 00876650:FUN_00876650 00b70758 RandomInt 00866960:LuaEngine::RegisterAPI 008766b0:FUN_008766b0 00b70768 GetSeed 00866960:LuaEngine::RegisterAPI 008765a0:FUN_008765a0 008765a0:FUN_008765a0 @@ -6998,7 +6998,7 @@ z 00b70874 __bnot 008771d0:FUN_008771d0 008771d0:FUN_008771d0 00866960:LuaEngine::RegisterAPI 00b70884 __bor 00866960:LuaEngine::RegisterAPI 00b7088c __bxor 00866960:LuaEngine::RegisterAPI -00b70894 BitSet128 008a6970:FUN_008a6970 008a6970:FUN_008a6970 008a6970:FUN_008a6970 008a6970:FUN_008a6970 00866960:LuaEngine::RegisterAPI +00b70894 BitSet128 008a6970:luabridge::Namespace::Class::Class 008a6970:luabridge::Namespace::Class::Class 008a6970:luabridge::Namespace::Class::Class 008a6970:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b708a0 __band 00866960:LuaEngine::RegisterAPI 00b708a8 ChangeTimeout 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00b708b8 DepthOffset 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI @@ -7006,7 +7006,7 @@ z 00b708dc FindGridPath 00877800:FUN_00877800 00866960:LuaEngine::RegisterAPI 00b708ec MoveRandomly 008776e0:FUN_008776e0 00866960:LuaEngine::RegisterAPI 00b708fc MoveRandomlyBoss 00866960:LuaEngine::RegisterAPI -00b70914 PathFinder 00866960:LuaEngine::RegisterAPI 008a6760:FUN_008a6760 008a6760:FUN_008a6760 008a6760:FUN_008a6760 008a6760:FUN_008a6760 +00b70914 PathFinder 00866960:LuaEngine::RegisterAPI 008a6760:luabridge::Namespace::Class::Class 008a6760:luabridge::Namespace::Class::Class 008a6760:luabridge::Namespace::Class::Class 008a6760:luabridge::Namespace::Class::Class 00b70928 GetGridIndex 00877a30:FUN_00877a30 00877a30:FUN_00877a30 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00b70938 SetCanCrushRocks 00866960:LuaEngine::RegisterAPI 00b7094c ResetMovementTarget 00866960:LuaEngine::RegisterAPI @@ -7025,7 +7025,7 @@ z 00b70a24 AnnouncerVoiceSuper 00866960:LuaEngine::RegisterAPI 00b70a38 EffectClass 00866960:LuaEngine::RegisterAPI 00b70a44 IsAvailable 00879960:FUN_00879960 00879960:FUN_00879960 00878c00:FUN_00878c00 00878c00:FUN_00878c00 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI -00b70a50 PillEffect 00866960:LuaEngine::RegisterAPI 008a6340:FUN_008a6340 008a6340:FUN_008a6340 008a6340:FUN_008a6340 008a6340:FUN_008a6340 +00b70a50 PillEffect 00866960:LuaEngine::RegisterAPI 008a6340:luabridge::Namespace::Class::Class 008a6340:luabridge::Namespace::Class::Class 008a6340:luabridge::Namespace::Class::Class 008a6340:luabridge::Namespace::Class::Class 00b70a5c IsCard 00866960:LuaEngine::RegisterAPI 00b70a64 IsRune 00866960:LuaEngine::RegisterAPI 00b70a6c AnnouncerDelay 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI @@ -7053,7 +7053,7 @@ z 00b70b94 InitCharge 00866960:LuaEngine::RegisterAPI 00b70ba0 ChargeType 008795b0:luabridge::Namespace::Class::addData_ChargeType 008795b0:luabridge::Namespace::Class::addData_ChargeType 008795b0:luabridge::Namespace::Class::addData_ChargeType 00866960:LuaEngine::RegisterAPI 00b70bac DevilPrice 00866960:LuaEngine::RegisterAPI -00b70bb8 Costume 008794b0:FUN_008794b0 008794b0:FUN_008794b0 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 008a5f20:FUN_008a5f20 008a5f20:FUN_008a5f20 008a5f20:FUN_008a5f20 008a5f20:FUN_008a5f20 +00b70bb8 Costume 008794b0:FUN_008794b0 008794b0:FUN_008794b0 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 008a5f20:luabridge::Namespace::Class::Class 008a5f20:luabridge::Namespace::Class::Class 008a5f20:luabridge::Namespace::Class::Class 008a5f20:luabridge::Namespace::Class::Class 00b70bc0 Priority 00866960:LuaEngine::RegisterAPI 00b70bcc HasOverlay 00866960:LuaEngine::RegisterAPI 00b70bd8 HasTags 008798b0:FUN_008798b0 008798b0:FUN_008798b0 00866960:LuaEngine::RegisterAPI @@ -7061,10 +7061,10 @@ z 00b70bec Quality 00866960:LuaEngine::RegisterAPI 00b70bf4 CraftingQuality 00866960:LuaEngine::RegisterAPI 00b70c04 ClearEffectsOnRemove 00866960:LuaEngine::RegisterAPI -00b70c24 ItemConfigList 00866960:LuaEngine::RegisterAPI 008c4500:FUN_008c4500 008c4500:FUN_008c4500 008c4500:FUN_008c4500 008c4500:FUN_008c4500 -00b70c34 CostumeConfigList 00866960:LuaEngine::RegisterAPI 008c42f0:FUN_008c42f0 008c42f0:FUN_008c42f0 008c42f0:FUN_008c42f0 008c42f0:FUN_008c42f0 -00b70c48 CardConfigList 00866960:LuaEngine::RegisterAPI 008c4920:FUN_008c4920 008c4920:FUN_008c4920 008c4920:FUN_008c4920 008c4920:FUN_008c4920 -00b70c58 PillConfigList 00866960:LuaEngine::RegisterAPI 008c4710:FUN_008c4710 008c4710:FUN_008c4710 008c4710:FUN_008c4710 008c4710:FUN_008c4710 +00b70c24 ItemConfigList 00866960:LuaEngine::RegisterAPI 008c4500:luabridge::Namespace::Class>::Class 008c4500:luabridge::Namespace::Class>::Class 008c4500:luabridge::Namespace::Class>::Class 008c4500:luabridge::Namespace::Class>::Class +00b70c34 CostumeConfigList 00866960:LuaEngine::RegisterAPI 008c42f0:luabridge::Namespace::Class::Class 008c42f0:luabridge::Namespace::Class::Class 008c42f0:luabridge::Namespace::Class::Class 008c42f0:luabridge::Namespace::Class::Class +00b70c48 CardConfigList 00866960:LuaEngine::RegisterAPI 008c4920:luabridge::Namespace::Class::Class 008c4920:luabridge::Namespace::Class::Class 008c4920:luabridge::Namespace::Class::Class 008c4920:luabridge::Namespace::Class::Class +00b70c58 PillConfigList 00866960:LuaEngine::RegisterAPI 008c4710:luabridge::Namespace::Class::Class 008c4710:luabridge::Namespace::Class::Class 008c4710:luabridge::Namespace::Class::Class 008c4710:luabridge::Namespace::Class::Class 00b70c68 SkinColor 00879e90:luabridge::Namespace::Class::addData_SkinColor 00879e90:luabridge::Namespace::Class::addData_SkinColor 00879e90:luabridge::Namespace::Class::addData_SkinColor 00866960:LuaEngine::RegisterAPI 00b70c74 OverwriteColor 00866960:LuaEngine::RegisterAPI 00b70c84 IsFlying 00889d60:FUN_00889d60 00889d60:FUN_00889d60 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI @@ -7075,20 +7075,20 @@ z 00b70cc0 ShouldAddCostumeOnPickup 0087ad70:FUN_0087ad70 00866960:LuaEngine::RegisterAPI 00b70cdc GetCollectible 00893350:FUN_00893350 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00b70cec GetTrinket 008934d0:FUN_008934d0 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI -00b70cf8 Config 00866960:LuaEngine::RegisterAPI 008a5d10:FUN_008a5d10 008a5d10:FUN_008a5d10 008a5d10:FUN_008a5d10 008a5d10:FUN_008a5d10 +00b70cf8 Config 00866960:LuaEngine::RegisterAPI 008a5d10:luabridge::Namespace::Class::Class 008a5d10:luabridge::Namespace::Class::Class 008a5d10:luabridge::Namespace::Class::Class 008a5d10:luabridge::Namespace::Class::Class 00b70d00 IsValidCollectible 0087ac70:FUN_0087ac70 00866960:LuaEngine::RegisterAPI 00b70d14 TearVariant 00866960:LuaEngine::RegisterAPI 00b70d20 BombVariant 00866960:LuaEngine::RegisterAPI 00b70d2c GetPillEffects 0087b080:FUN_0087b080 0087b080:FUN_0087b080 00866960:LuaEngine::RegisterAPI -00b70d3c TearParams 00866960:LuaEngine::RegisterAPI 008a5b00:FUN_008a5b00 008a5b00:FUN_008a5b00 008a5b00:FUN_008a5b00 008a5b00:FUN_008a5b00 +00b70d3c TearParams 00866960:LuaEngine::RegisterAPI 008a5b00:luabridge::Namespace::Class::Class 008a5b00:luabridge::Namespace::Class::Class 008a5b00:luabridge::Namespace::Class::Class 008a5b00:luabridge::Namespace::Class::Class 00b70d48 GetNullItems 00866960:LuaEngine::RegisterAPI 00b70d58 GetCards 0087afd0:FUN_0087afd0 0087afd0:FUN_0087afd0 00866960:LuaEngine::RegisterAPI 00b70d64 GetCollectibles 00866960:LuaEngine::RegisterAPI 00b70d74 GetTrinkets 00866960:LuaEngine::RegisterAPI -00b70d80 VectorList 00866960:LuaEngine::RegisterAPI 008c40e0:FUN_008c40e0 008c40e0:FUN_008c40e0 008c40e0:FUN_008c40e0 008c40e0:FUN_008c40e0 -00b70d8c TemporaryEffect 00866960:LuaEngine::RegisterAPI 008a56e0:FUN_008a56e0 008a56e0:FUN_008a56e0 008a56e0:FUN_008a56e0 008a56e0:FUN_008a56e0 +00b70d80 VectorList 00866960:LuaEngine::RegisterAPI 008c40e0:luabridge::Namespace::Class::Class 008c40e0:luabridge::Namespace::Class::Class 008c40e0:luabridge::Namespace::Class::Class 008c40e0:luabridge::Namespace::Class::Class +00b70d8c TemporaryEffect 00866960:LuaEngine::RegisterAPI 008a56e0:luabridge::Namespace::Class::Class 008a56e0:luabridge::Namespace::Class::Class 008a56e0:luabridge::Namespace::Class::Class 008a56e0:luabridge::Namespace::Class::Class 00b70d9c TearHeight 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI -00b70da8 QueueItemData 00866960:LuaEngine::RegisterAPI 008a58f0:FUN_008a58f0 008a58f0:FUN_008a58f0 008a58f0:FUN_008a58f0 008a58f0:FUN_008a58f0 +00b70da8 QueueItemData 00866960:LuaEngine::RegisterAPI 008a58f0:luabridge::Namespace::Class::Class 008a58f0:luabridge::Namespace::Class::Class 008a58f0:luabridge::Namespace::Class::Class 008a58f0:luabridge::Namespace::Class::Class 00b70db8 TearDamage 00866960:LuaEngine::RegisterAPI 00b70dc4 TearScale 00866960:LuaEngine::RegisterAPI 00b70dd0 TearColor 0087b2c0:luabridge::Namespace::Class::addData_TearColor 0087b2c0:luabridge::Namespace::Class::addData_TearColor 0087b2c0:luabridge::Namespace::Class::addData_TearColor 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI @@ -7097,8 +7097,8 @@ z 00b70df8 RemoveCollectibleEffect 00866960:LuaEngine::RegisterAPI 0087c650:FUN_0087c650 00b70e10 AddCollectibleEffect 00866960:LuaEngine::RegisterAPI 0087c530:FUN_0087c530 00b70e28 AddTrinketEffect 00866960:LuaEngine::RegisterAPI 0087c590:FUN_0087c590 -00b70e3c EffectList 008c3ed0:FUN_008c3ed0 008c3ed0:FUN_008c3ed0 008c3ed0:FUN_008c3ed0 008c3ed0:FUN_008c3ed0 00866960:LuaEngine::RegisterAPI -00b70e48 TemporaryEffects 00866960:LuaEngine::RegisterAPI 008a54d0:FUN_008a54d0 008a54d0:FUN_008a54d0 008a54d0:FUN_008a54d0 008a54d0:FUN_008a54d0 +00b70e3c EffectList 008c3ed0:luabridge::Namespace::Class::Class 008c3ed0:luabridge::Namespace::Class::Class 008c3ed0:luabridge::Namespace::Class::Class 008c3ed0:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI +00b70e48 TemporaryEffects 00866960:LuaEngine::RegisterAPI 008a54d0:luabridge::Namespace::Class::Class 008a54d0:luabridge::Namespace::Class::Class 008a54d0:luabridge::Namespace::Class::Class 008a54d0:luabridge::Namespace::Class::Class 00b70e5c Count 00866960:LuaEngine::RegisterAPI 00b70e64 Cooldown 00866960:LuaEngine::RegisterAPI 00b70e70 GetTrinketEffect 00866960:LuaEngine::RegisterAPI 0087ca30:FUN_0087ca30 0087ca30:FUN_0087ca30 @@ -7109,7 +7109,7 @@ z 00b70ed4 HasTrinketEffect 00866960:LuaEngine::RegisterAPI 0087c820:FUN_0087c820 0087c820:FUN_0087c820 00b70ee8 RemoveTrinketEffect 00866960:LuaEngine::RegisterAPI 0087c6b0:FUN_0087c6b0 00b70efc RemoveNullEffect 00866960:LuaEngine::RegisterAPI 0087c710:FUN_0087c710 -00b70f10 EntityList 00866960:LuaEngine::RegisterAPI 008a52c0:FUN_008a52c0 008a52c0:FUN_008a52c0 008a52c0:FUN_008a52c0 008a52c0:FUN_008a52c0 +00b70f10 EntityList 00866960:LuaEngine::RegisterAPI 008a52c0:luabridge::Namespace::Class::Class 008a52c0:luabridge::Namespace::Class::Class 008a52c0:luabridge::Namespace::Class::Class 008a52c0:luabridge::Namespace::Class::Class 00b70f1c __len 0087bbd0:lua_register_VectorList 0087bbd0:lua_register_VectorList 0087a940:lua_register_CostumeConfigList 0087a940:lua_register_CostumeConfigList 0087a010:lua_register_CardConfigList 0087a010:lua_register_CardConfigList 0087a320:lua_register_PillConfigList 0087a320:lua_register_PillConfigList 0087a630:lua_register_ItemConfigList 0087a630:lua_register_ItemConfigList 00891490:lua_register_RoomDescriptor_array 00891490:lua_register_RoomDescriptor_array 00891750:lua_register_intValues 00891750:lua_register_intValues 00866960:LuaEngine::RegisterAPI 0088d970:lua_register_RoomConfigEntries 0088d970:lua_register_RoomConfigEntries 0088dc30:lua_register_RoomConfigSpawns 0088dc30:lua_register_RoomConfigSpawns 0087cfb0:FUN_0087cfb0 0087cfb0:FUN_0087cfb0 0087c200:lua_register_EffectList 0087c200:lua_register_EffectList 00b70f24 GetEffectsList 00866960:LuaEngine::RegisterAPI 0087ce00:FUN_0087ce00 00b70f34 CppContainer 0087bbd0:lua_register_VectorList 0087a940:lua_register_CostumeConfigList 0087a010:lua_register_CardConfigList 0087a320:lua_register_PillConfigList 0087a630:lua_register_ItemConfigList 00891490:lua_register_RoomDescriptor_array 00891750:lua_register_intValues 00866960:LuaEngine::RegisterAPI 0088d970:lua_register_RoomConfigEntries 0088dc30:lua_register_RoomConfigSpawns 0087c200:lua_register_EffectList @@ -7122,9 +7122,9 @@ z 00b70fbc BatteryCharge 00866960:LuaEngine::RegisterAPI 00b70fcc SubCharge 00866960:LuaEngine::RegisterAPI 00b70fd8 Velocity 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI -00b70fe4 ActiveItemDesc 00866960:LuaEngine::RegisterAPI 008a4ea0:FUN_008a4ea0 008a4ea0:FUN_008a4ea0 008a4ea0:FUN_008a4ea0 008a4ea0:FUN_008a4ea0 +00b70fe4 ActiveItemDesc 00866960:LuaEngine::RegisterAPI 008a4ea0:luabridge::Namespace::Class::Class 008a4ea0:luabridge::Namespace::Class::Class 008a4ea0:luabridge::Namespace::Class::Class 008a4ea0:luabridge::Namespace::Class::Class 00b70ff4 PlayerTypes 00866960:LuaEngine::RegisterAPI -00b71000 PosVel 00866960:LuaEngine::RegisterAPI 008a50b0:FUN_008a50b0 008a50b0:FUN_008a50b0 008a50b0:FUN_008a50b0 008a50b0:FUN_008a50b0 +00b71000 PosVel 00866960:LuaEngine::RegisterAPI 008a50b0:luabridge::Namespace::Class::Class 008a50b0:luabridge::Namespace::Class::Class 008a50b0:luabridge::Namespace::Class::Class 008a50b0:luabridge::Namespace::Class::Class 00b71008 HasMortalDamage 00866960:LuaEngine::RegisterAPI 00b71020 PostRender 00866960:LuaEngine::RegisterAPI 00b7102c TakeDamage 00866960:LuaEngine::RegisterAPI 0087dbc0:FUN_0087dbc0 @@ -7210,7 +7210,7 @@ z 00b7147c FallingSpeed 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00b7148c FallingAcceleration 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00b714a0 ToProjectile 0087fd10:FUN_0087fd10 0087fd10:FUN_0087fd10 00866960:LuaEngine::RegisterAPI -00b714b0 EntityTear 00866960:LuaEngine::RegisterAPI 008a4a20:FUN_008a4a20 008a4a20:FUN_008a4a20 008a4a20:FUN_008a4a20 +00b714b0 EntityTear 00866960:LuaEngine::RegisterAPI 008a4a20:luabridge::Namespace::Class::Class 008a4a20:luabridge::Namespace::Class::Class 008a4a20:luabridge::Namespace::Class::Class 00b714bc ContinueVelocity 00866960:LuaEngine::RegisterAPI 00b714d0 BaseDamage 00866960:LuaEngine::RegisterAPI 00b714dc BaseScale 00866960:LuaEngine::RegisterAPI @@ -7220,7 +7220,7 @@ z 00b71518 ChangeVariant 00866960:LuaEngine::RegisterAPI 00b71528 SetParentOffset 00880280:FUN_00880280 00866960:LuaEngine::RegisterAPI 00b71538 ParentOffset 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00885790:luabridge::Namespace::Class::addData_ParentOffset 00885790:luabridge::Namespace::Class::addData_ParentOffset 00885790:luabridge::Namespace::Class::addData_ParentOffset -00b71548 EntityPlayer 00866960:LuaEngine::RegisterAPI 008a47c0:FUN_008a47c0 008a47c0:FUN_008a47c0 008a47c0:FUN_008a47c0 +00b71548 EntityPlayer 00866960:LuaEngine::RegisterAPI 008a47c0:luabridge::Namespace::Class::Class 008a47c0:luabridge::Namespace::Class::Class 008a47c0:luabridge::Namespace::Class::Class 00b71558 CanTriggerStreakEnd 00880a00:luabridge::Namespace::Class::addData_CanTriggerStreakEnd 00880a00:luabridge::Namespace::Class::addData_CanTriggerStreakEnd 00880a00:luabridge::Namespace::Class::addData_CanTriggerStreakEnd 00866960:LuaEngine::RegisterAPI 00b7156c PosDisplacement 00880b80:FUN_00880b80 00880b80:FUN_00880b80 00866960:LuaEngine::RegisterAPI 00b7157c StickDiff 00866960:LuaEngine::RegisterAPI @@ -7485,7 +7485,7 @@ z 00b726bc Morph 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00886aa0:FUN_00886aa0 00884950:FUN_00884950 00b726c4 IsShopItem 00866960:LuaEngine::RegisterAPI 00b726d0 IBSCharge 00866960:LuaEngine::RegisterAPI -00b726dc EntityPickup 00866960:LuaEngine::RegisterAPI 008a4560:FUN_008a4560 008a4560:FUN_008a4560 008a4560:FUN_008a4560 +00b726dc EntityPickup 00866960:LuaEngine::RegisterAPI 008a4560:luabridge::Namespace::Class::Class 008a4560:luabridge::Namespace::Class::Class 008a4560:luabridge::Namespace::Class::Class 00b726ec GetHeadColor 00866960:LuaEngine::RegisterAPI 00b726fc SamsonBerserkCharge 00866960:LuaEngine::RegisterAPI 00b72710 GetPoopSpell 00866960:LuaEngine::RegisterAPI 00884880:FUN_00884880 00884880:FUN_00884880 @@ -7499,7 +7499,7 @@ z 00b72788 GetCoinValue 00866960:LuaEngine::RegisterAPI 00884bc0:FUN_00884bc0 00884bc0:FUN_00884bc0 00b72798 FollowParent 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00885210:FUN_00885210 00b727a8 SetDamageSource 00866960:LuaEngine::RegisterAPI -00b727b8 EntityEffect 00866960:LuaEngine::RegisterAPI 008a4300:FUN_008a4300 008a4300:FUN_008a4300 008a4300:FUN_008a4300 +00b727b8 EntityEffect 00866960:LuaEngine::RegisterAPI 008a4300:luabridge::Namespace::Class::Class 008a4300:luabridge::Namespace::Class::Class 008a4300:luabridge::Namespace::Class::Class 00b727c8 SetTimeout 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00b727d4 AutoUpdatePrice 00866960:LuaEngine::RegisterAPI 00b727e4 State 0088a740:luabridge::Namespace::Class::addProperty_State 0088a740:luabridge::Namespace::Class::addProperty_State 0088a740:luabridge::Namespace::Class::addProperty_State 00887ad0:luabridge::Namespace::Class::addData_State 00887ad0:luabridge::Namespace::Class::addData_State 00887ad0:luabridge::Namespace::Class::addData_State 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00884ea0:luabridge::Namespace::Class::addData_State 00884ea0:luabridge::Namespace::Class::addData_State 00884ea0:luabridge::Namespace::Class::addData_State @@ -7518,7 +7518,7 @@ z 00b72894 PickEnemyTarget 00866960:LuaEngine::RegisterAPI 00885c80:FUN_00885c80 00b728a4 FollowPosition 00866960:LuaEngine::RegisterAPI 00885d40:FUN_00885d40 00b728b4 Coins 00866960:LuaEngine::RegisterAPI -00b728c4 EntityFamiliar 00866960:LuaEngine::RegisterAPI 008a40a0:FUN_008a40a0 008a40a0:FUN_008a40a0 008a40a0:FUN_008a40a0 +00b728c4 EntityFamiliar 00866960:LuaEngine::RegisterAPI 008a40a0:luabridge::Namespace::Class::Class 008a40a0:luabridge::Namespace::Class::Class 008a40a0:luabridge::Namespace::Class::Class 00b728d4 Player 00866960:LuaEngine::RegisterAPI 00885990:luabridge::Namespace::Class::addProperty_Player 00885990:luabridge::Namespace::Class::addProperty_Player 00885990:luabridge::Namespace::Class::addProperty_Player 00b728dc AddToFollowers 00866960:LuaEngine::RegisterAPI 00b728ec AddToDelayed 00866960:LuaEngine::RegisterAPI @@ -7550,7 +7550,7 @@ z 00b72a8c AddChangeFlags 00866960:LuaEngine::RegisterAPI 00b72a9c AddFallingSpeed 00866960:LuaEngine::RegisterAPI 00b72aac FallingAccel 00866960:LuaEngine::RegisterAPI -00b72abc EntityProjectile 008a3e40:FUN_008a3e40 008a3e40:FUN_008a3e40 008a3e40:FUN_008a3e40 00866960:LuaEngine::RegisterAPI +00b72abc EntityProjectile 008a3e40:luabridge::Namespace::Class::Class 008a3e40:luabridge::Namespace::Class::Class 008a3e40:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b72ad0 AddHeight 00866960:LuaEngine::RegisterAPI 00b72adc GetBossColorIdx 00866960:LuaEngine::RegisterAPI 00b72aec GetChampionColorIdx 00866960:LuaEngine::RegisterAPI @@ -7559,7 +7559,7 @@ z 00b72b24 KillUnique 00866960:LuaEngine::RegisterAPI 00b72b30 ThrowSpider 00866960:LuaEngine::RegisterAPI 00886d80:FUN_00886d80 00b72b3c ProjectileFlags 00866960:LuaEngine::RegisterAPI -00b72b4c EntityNPC 008a3be0:FUN_008a3be0 008a3be0:FUN_008a3be0 008a3be0:FUN_008a3be0 00866960:LuaEngine::RegisterAPI +00b72b4c EntityNPC 008a3be0:luabridge::Namespace::Class::Class 008a3be0:luabridge::Namespace::Class::Class 008a3be0:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b72b58 GetAliveEnemyCount 00866960:LuaEngine::RegisterAPI 00b72b6c FireProjectiles 00887290:FUN_00887290 00866960:LuaEngine::RegisterAPI 00b72b7c PlaySound 008871d0:FUN_008871d0 00866960:LuaEngine::RegisterAPI @@ -7580,13 +7580,13 @@ z 00b72c7c ProjectileDelay 00866960:LuaEngine::RegisterAPI 00b72c90 Pathfinder 00887950:luabridge::Namespace::Class::addData_Pathfinder 00887950:luabridge::Namespace::Class::addData_Pathfinder 00887950:luabridge::Namespace::Class::addData_Pathfinder 00866960:LuaEngine::RegisterAPI 00b72c9c ProjectileCooldown 00866960:LuaEngine::RegisterAPI -00b72cb0 EntityLaser 008a3720:FUN_008a3720 008a3720:FUN_008a3720 008a3720:FUN_008a3720 00866960:LuaEngine::RegisterAPI +00b72cb0 EntityLaser 008a3720:luabridge::Namespace::Class::Class 008a3720:luabridge::Namespace::Class::Class 008a3720:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b72cbc ShootAngle 008882e0:FUN_008882e0 00866960:LuaEngine::RegisterAPI 00b72cc8 SetExplosionCountdown 00888260:FUN_00888260 00866960:LuaEngine::RegisterAPI 00b72ce0 RadiusMultiplier 00866960:LuaEngine::RegisterAPI 00b72cf4 IsFetus 00887f70:luabridge::Namespace::Class::addProperty_IsFetus 00887f70:luabridge::Namespace::Class::addProperty_IsFetus 00887f70:luabridge::Namespace::Class::addProperty_IsFetus 00866960:LuaEngine::RegisterAPI 00b72cfc ExplosionDamage 00866960:LuaEngine::RegisterAPI -00b72d0c EntityBomb 008a3980:FUN_008a3980 008a3980:FUN_008a3980 008a3980:FUN_008a3980 00866960:LuaEngine::RegisterAPI +00b72d0c EntityBomb 008a3980:luabridge::Namespace::Class::Class 008a3980:luabridge::Namespace::Class::Class 008a3980:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b72d18 Flags 00887de0:luabridge::Namespace::Class::addProperty_Flags 00887de0:luabridge::Namespace::Class::addProperty_Flags 00887de0:luabridge::Namespace::Class::addProperty_Flags 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00b72d20 GetNonOptimizedSamples 00866960:LuaEngine::RegisterAPI 00b72d38 SetOneHit 00866960:LuaEngine::RegisterAPI @@ -7625,14 +7625,14 @@ z 00b72f4c GetKnifeDistance 00866960:LuaEngine::RegisterAPI 00b72f68 GetKnifeVelocity 00866960:LuaEngine::RegisterAPI 00b72f7c GridHit 00866960:LuaEngine::RegisterAPI -00b72f84 EntityKnife 008a34c0:FUN_008a34c0 008a34c0:FUN_008a34c0 008a34c0:FUN_008a34c0 00866960:LuaEngine::RegisterAPI +00b72f84 EntityKnife 008a34c0:luabridge::Namespace::Class::Class 008a34c0:luabridge::Namespace::Class::Class 008a34c0:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b72f90 BlackHpDropChance 00866960:LuaEngine::RegisterAPI 00b72fa4 OneHit 00866960:LuaEngine::RegisterAPI 00b72fb4 VariableSeed 00866960:LuaEngine::RegisterAPI -00b72fcc GridEntity 008a30a0:FUN_008a30a0 008a30a0:FUN_008a30a0 008a30a0:FUN_008a30a0 008a30a0:FUN_008a30a0 00866960:LuaEngine::RegisterAPI +00b72fcc GridEntity 008a30a0:luabridge::Namespace::Class::Class 008a30a0:luabridge::Namespace::Class::Class 008a30a0:luabridge::Namespace::Class::Class 008a30a0:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b72fe0 SpawnSeed 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00b72ff4 Initialized 0088a3e0:luabridge::Namespace::Class::addData_Initialized 0088a3e0:luabridge::Namespace::Class::addData_Initialized 0088a3e0:luabridge::Namespace::Class::addData_Initialized 00866960:LuaEngine::RegisterAPI -00b73008 GridEntityDesc 008a32b0:FUN_008a32b0 008a32b0:FUN_008a32b0 008a32b0:FUN_008a32b0 008a32b0:FUN_008a32b0 00866960:LuaEngine::RegisterAPI +00b73008 GridEntityDesc 008a32b0:luabridge::Namespace::Class::Class 008a32b0:luabridge::Namespace::Class::Class 008a32b0:luabridge::Namespace::Class::Class 008a32b0:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b73020 SpawnCount 0088f0b0:FUN_0088f0b0 0088f0b0:FUN_0088f0b0 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00b73034 PathOffset 00866960:LuaEngine::RegisterAPI 00b73048 PathFollowSpeed 00866960:LuaEngine::RegisterAPI @@ -7652,7 +7652,7 @@ z 00b730f8 GetSaveState 0088abc0:FUN_0088abc0 00866960:LuaEngine::RegisterAPI 00b73108 TargetRoomIndex 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00b73118 SetRoomTypes 0088b770:FUN_0088b770 00866960:LuaEngine::RegisterAPI -00b73128 GridEntityDoor 008a2e40:FUN_008a2e40 008a2e40:FUN_008a2e40 008a2e40:FUN_008a2e40 00866960:LuaEngine::RegisterAPI +00b73128 GridEntityDoor 008a2e40:luabridge::Namespace::Class::Class 008a2e40:luabridge::Namespace::Class::Class 008a2e40:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b73138 Direction 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00b73144 ToSpikes 0088b4a0:FUN_0088b4a0 0088b4a0:FUN_0088b4a0 00866960:LuaEngine::RegisterAPI 00b73150 ToTNT 0088b540:FUN_0088b540 0088b540:FUN_0088b540 00866960:LuaEngine::RegisterAPI @@ -7681,16 +7681,16 @@ z 00b732cc ExtraSprite 0088bcd0:luabridge::Namespace::Class::addData_ExtraSprite 0088bcd0:luabridge::Namespace::Class::addData_ExtraSprite 0088bcd0:luabridge::Namespace::Class::addData_ExtraSprite 00866960:LuaEngine::RegisterAPI 00b732d8 ExtraVisible 00866960:LuaEngine::RegisterAPI 00b732e8 UnderPlayer 00866960:LuaEngine::RegisterAPI 0088c7c0:luabridge::Namespace::Class::addData_UnderPlayer 0088c7c0:luabridge::Namespace::Class::addData_UnderPlayer 0088c7c0:luabridge::Namespace::Class::addData_UnderPlayer -00b732f4 GridEntityPit 008a2980:FUN_008a2980 008a2980:FUN_008a2980 008a2980:FUN_008a2980 00866960:LuaEngine::RegisterAPI +00b732f4 GridEntityPit 008a2980:luabridge::Namespace::Class::Class 008a2980:luabridge::Namespace::Class::Class 008a2980:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b73304 ReviveTimer 00866960:LuaEngine::RegisterAPI 0088c4c0:luabridge::Namespace::Class::addData_ReviveTimer 0088c4c0:luabridge::Namespace::Class::addData_ReviveTimer 0088c4c0:luabridge::Namespace::Class::addData_ReviveTimer 00b73310 StateAnimation 00866960:LuaEngine::RegisterAPI 0088c640:luabridge::Namespace::Class::addData_StateAnimation 0088c640:luabridge::Namespace::Class::addData_StateAnimation 0088c640:luabridge::Namespace::Class::addData_StateAnimation 00b73320 RespawnRedPoop 00866960:LuaEngine::RegisterAPI 00b73330 ReduceSpawnRate 00866960:LuaEngine::RegisterAPI 00b73340 OpenLockedAnimation 00866960:LuaEngine::RegisterAPI -00b73354 GridEntityPoop 008a2be0:FUN_008a2be0 008a2be0:FUN_008a2be0 008a2be0:FUN_008a2be0 00866960:LuaEngine::RegisterAPI +00b73354 GridEntityPoop 008a2be0:luabridge::Namespace::Class::Class 008a2be0:luabridge::Namespace::Class::Class 008a2be0:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b73364 SetBigRockFrame 00866960:LuaEngine::RegisterAPI 0088ccd0:FUN_0088ccd0 00b73374 GetBigRockFrame 00866960:LuaEngine::RegisterAPI 0088cd30:FUN_0088cd30 0088cd30:FUN_0088cd30 -00b73384 GridEntityRock 008a2720:FUN_008a2720 008a2720:FUN_008a2720 008a2720:FUN_008a2720 00866960:LuaEngine::RegisterAPI +00b73384 GridEntityRock 008a2720:luabridge::Namespace::Class::Class 008a2720:luabridge::Namespace::Class::Class 008a2720:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b73394 GetRubbleAnim 00866960:LuaEngine::RegisterAPI 0088cc20:FUN_0088cc20 0088cc20:FUN_0088cc20 00b733a4 UpdateCollision 00866960:LuaEngine::RegisterAPI 0088ca20:FUN_0088ca20 00b733b4 HasLadder 00866960:LuaEngine::RegisterAPI 0088ca80:luabridge::Class::addData_HasLadder 0088ca80:luabridge::Class::addData_HasLadder 0088ca80:luabridge::Class::addData_HasLadder @@ -7698,17 +7698,17 @@ z 00b733cc SetLadder 00866960:LuaEngine::RegisterAPI 0088c9c0:FUN_0088c9c0 00b733d8 Reward 00866960:LuaEngine::RegisterAPI 0088d2f0:FUN_0088d2f0 00b733e0 TimerPlate 00866960:LuaEngine::RegisterAPI 0088d350:luabridge::Class::addData_TimerPlate 0088d350:luabridge::Class::addData_TimerPlate 0088d350:luabridge::Class::addData_TimerPlate -00b733ec GridEntityTNT 008a24c0:FUN_008a24c0 008a24c0:FUN_008a24c0 008a24c0:FUN_008a24c0 00866960:LuaEngine::RegisterAPI -00b733fc GridEntityPressurePlate 008a2260:FUN_008a2260 008a2260:FUN_008a2260 008a2260:FUN_008a2260 00866960:LuaEngine::RegisterAPI +00b733ec GridEntityTNT 008a24c0:luabridge::Namespace::Class::Class 008a24c0:luabridge::Namespace::Class::Class 008a24c0:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI +00b733fc GridEntityPressurePlate 008a2260:luabridge::Namespace::Class::Class 008a2260:luabridge::Namespace::Class::Class 008a2260:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b73414 RubbleAnim 00866960:LuaEngine::RegisterAPI 00b73420 FrameCnt 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 0088d150:luabridge::Class::addData_FrameCnt 0088d150:luabridge::Class::addData_FrameCnt 0088d150:luabridge::Class::addData_FrameCnt 0088cfb0:luabridge::Class::addData_FrameCnt 0088cfb0:luabridge::Class::addData_FrameCnt 0088cfb0:luabridge::Class::addData_FrameCnt 00b7342c UpdateAnimFrame 00866960:LuaEngine::RegisterAPI 0088cde0:FUN_0088cde0 -00b73444 Entry 008a1df0:FUN_008a1df0 008a1df0:FUN_008a1df0 008a1df0:FUN_008a1df0 008a1df0:FUN_008a1df0 00866960:LuaEngine::RegisterAPI +00b73444 Entry 008a1df0:luabridge::Namespace::Class::Class 008a1df0:luabridge::Namespace::Class::Class 008a1df0:luabridge::Namespace::Class::Class 008a1df0:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b7344c Subtype 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI -00b73454 RoomConfigSpawns 008c3ab0:FUN_008c3ab0 008c3ab0:FUN_008c3ab0 008c3ab0:FUN_008c3ab0 008c3ab0:FUN_008c3ab0 00866960:LuaEngine::RegisterAPI +00b73454 RoomConfigSpawns 008c3ab0:luabridge::Namespace::Class::Class 008c3ab0:luabridge::Namespace::Class::Class 008c3ab0:luabridge::Namespace::Class::Class 008c3ab0:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b73468 RoomConfig 00866960:LuaEngine::RegisterAPI -00b73474 GridEntitySpikes 008a2000:FUN_008a2000 008a2000:FUN_008a2000 008a2000:FUN_008a2000 00866960:LuaEngine::RegisterAPI -00b73488 RoomConfigEntries 008c3cc0:FUN_008c3cc0 008c3cc0:FUN_008c3cc0 008c3cc0:FUN_008c3cc0 008c3cc0:FUN_008c3cc0 00866960:LuaEngine::RegisterAPI +00b73474 GridEntitySpikes 008a2000:luabridge::Namespace::Class::Class 008a2000:luabridge::Namespace::Class::Class 008a2000:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI +00b73488 RoomConfigEntries 008c3cc0:luabridge::Namespace::Class::Class 008c3cc0:luabridge::Namespace::Class::Class 008c3cc0:luabridge::Namespace::Class::Class 008c3cc0:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b7349c NextGreedAnimation 00866960:LuaEngine::RegisterAPI 0088d4d0:luabridge::Class::addData_NextGreedAnimation 0088d4d0:luabridge::Class::addData_NextGreedAnimation 0088d4d0:luabridge::Class::addData_NextGreedAnimation 00b734b0 GreedModeRNG 00866960:LuaEngine::RegisterAPI 0088d650:luabridge::Class::addData_GreedModeRNG 0088d650:luabridge::Class::addData_GreedModeRNG 0088d650:luabridge::Class::addData_GreedModeRNG 00b734c8 OriginalVariant 00866960:LuaEngine::RegisterAPI @@ -7720,7 +7720,7 @@ z 00b7353c GridIndex 00866960:LuaEngine::RegisterAPI 00b73550 SafeGridIndex 00866960:LuaEngine::RegisterAPI 00b73568 Shape 00866960:LuaEngine::RegisterAPI -00b73578 RoomDescriptor 008c38a0:FUN_008c38a0 008c38a0:FUN_008c38a0 008c38a0:FUN_008c38a0 008c38a0:FUN_008c38a0 008a17c0:FUN_008a17c0 008a17c0:FUN_008a17c0 008a17c0:FUN_008a17c0 008a17c0:FUN_008a17c0 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI +00b73578 RoomDescriptor 008c38a0:luabridge::Namespace::Class>::Class 008c38a0:luabridge::Namespace::Class>::Class 008c38a0:luabridge::Namespace::Class>::Class 008c38a0:luabridge::Namespace::Class>::Class 008a17c0:luabridge::Namespace::Class::Class 008a17c0:luabridge::Namespace::Class::Class 008a17c0:luabridge::Namespace::Class::Class 008a17c0:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00b73590 Doors 00866960:LuaEngine::RegisterAPI 0088eeb0:FUN_0088eeb0 0088eeb0:FUN_0088eeb0 00b735a0 Spawns 00866960:LuaEngine::RegisterAPI 0088efb0:FUN_0088efb0 0088efb0:FUN_0088efb0 00b735b0 Difficulty 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00894f70:FUN_00894f70 00894f70:FUN_00894f70 @@ -7856,8 +7856,8 @@ z 00b73ee8 GetCurseName 00866960:LuaEngine::RegisterAPI 00b73ef8 SetStage 00866960:LuaEngine::RegisterAPI 00b73f04 SetNextStage 00866960:LuaEngine::RegisterAPI -00b73f14 intValues 008c3690:FUN_008c3690 008c3690:FUN_008c3690 008c3690:FUN_008c3690 008c3690:FUN_008c3690 00866960:LuaEngine::RegisterAPI -00b73f20 Level 008a13a0:FUN_008a13a0 008a13a0:FUN_008a13a0 008a13a0:FUN_008a13a0 008a13a0:FUN_008a13a0 00866960:LuaEngine::RegisterAPI +00b73f14 intValues 008c3690:luabridge::Namespace::Class::Class 008c3690:luabridge::Namespace::Class::Class 008c3690:luabridge::Namespace::Class::Class 008c3690:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI +00b73f20 Level 008a13a0:luabridge::Namespace::Class::Class 008a13a0:luabridge::Namespace::Class::Class 008a13a0:luabridge::Namespace::Class::Class 008a13a0:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b73f28 GetRenderMode 008913e0:FUN_008913e0 008913e0:FUN_008913e0 00866960:LuaEngine::RegisterAPI 00b73f38 GetEnemyDamageInflicted 00866960:LuaEngine::RegisterAPI 00b73f50 GetRoomCount 00866960:LuaEngine::RegisterAPI @@ -7923,7 +7923,7 @@ z 00b74394 SetStartSeed 00892b60:FUN_00892b60 00866960:LuaEngine::RegisterAPI 00b743a4 ClearStartSeed 00866960:LuaEngine::RegisterAPI 00b743b4 IsPreAscent 00866960:LuaEngine::RegisterAPI -00b743c0 Seeds 008a1190:FUN_008a1190 008a1190:FUN_008a1190 008a1190:FUN_008a1190 008a1190:FUN_008a1190 00866960:LuaEngine::RegisterAPI +00b743c0 Seeds 008a1190:luabridge::Namespace::Class::Class 008a1190:luabridge::Namespace::Class::Class 008a1190:luabridge::Namespace::Class::Class 008a1190:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b743c8 GetSeedEffect 008930a0:FUN_008930a0 00866960:LuaEngine::RegisterAPI 00b743d8 HasSeedEffect 00893100:FUN_00893100 00893100:FUN_00893100 00866960:LuaEngine::RegisterAPI 00b743e8 Seed2String 00892fe0:FUN_00892fe0 00866960:LuaEngine::RegisterAPI @@ -7944,7 +7944,7 @@ z 00b744fc ForceAddPillEffect 00893800:FUN_00893800 00866960:LuaEngine::RegisterAPI 00b74510 ResetTrinkets 00866960:LuaEngine::RegisterAPI 00b74520 IdentifyPill 00866960:LuaEngine::RegisterAPI -00b74530 ItemPool 008a0f80:FUN_008a0f80 008a0f80:FUN_008a0f80 008a0f80:FUN_008a0f80 008a0f80:FUN_008a0f80 00866960:LuaEngine::RegisterAPI +00b74530 ItemPool 008a0f80:luabridge::Namespace::Class::Class 008a0f80:luabridge::Namespace::Class::Class 008a0f80:luabridge::Namespace::Class::Class 008a0f80:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00b7453c RemoveTrinket 00893410:FUN_00893410 00866960:LuaEngine::RegisterAPI 00b7454c InitSeedInfo 00893270:FUN_00893270 00866960:LuaEngine::RegisterAPI 00b7455c CountUnlockedSeedEffects 008932d0:FUN_008932d0 00866960:LuaEngine::RegisterAPI @@ -8023,7 +8023,7 @@ z 00b74abc RerollLevelPickups 00866960:LuaEngine::RegisterAPI 00895070:FUN_00895070 00b74ad0 NextVictoryLap 00866960:LuaEngine::RegisterAPI 00b74ae0 IsGreedMode 00866960:LuaEngine::RegisterAPI -00b74aec Challenge 008e0660:render_lobby_info 00866960:LuaEngine::RegisterAPI 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 +00b74aec Challenge 008e0660:render_lobby_info 00866960:LuaEngine::RegisterAPI 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 00b74af8 GetVictoryLap 00866960:LuaEngine::RegisterAPI 00b74b08 GetDarknessModifier 00866960:LuaEngine::RegisterAPI 00b74b1c GetTargetDarkness 00866960:LuaEngine::RegisterAPI @@ -8039,7 +8039,7 @@ z 00b74bb4 SetAmbientSound 00866960:LuaEngine::RegisterAPI 00895630:FUN_00895630 00b74bc4 AdjustPitch 00866960:LuaEngine::RegisterAPI 00b74bd0 StopLoopingSounds 00866960:LuaEngine::RegisterAPI 00895570:FUN_00895570 -00b74be4 SFXManager 008a0950:FUN_008a0950 008a0950:FUN_008a0950 008a0950:FUN_008a0950 008a0950:FUN_008a0950 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00895d30:FUN_00895d30 +00b74be4 SFXManager 008a0950:luabridge::Namespace::Class::Class 008a0950:luabridge::Namespace::Class::Class 008a0950:luabridge::Namespace::Class::Class 008a0950:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00895d30:FUN_00895d30 00b74bf0 AdjustVolume 00866960:LuaEngine::RegisterAPI 00b74c00 MakeShockwave 00866960:LuaEngine::RegisterAPI 00895250:FUN_00895250 00b74c10 TimeCounter 00866960:LuaEngine::RegisterAPI 008952b0:luabridge::Class::addData_TimeCounter 008952b0:luabridge::Class::addData_TimeCounter 008952b0:luabridge::Class::addData_TimeCounter @@ -8050,7 +8050,7 @@ z 00b74c50 Crossfade 00866960:LuaEngine::RegisterAPI 00895770:FUN_00895770 00b74c5c Queue 00866960:LuaEngine::RegisterAPI 00b74c64 GetAmbientSoundVolume 00866960:LuaEngine::RegisterAPI 00895690:FUN_00895690 -00b74c7c MusicManager 008a0740:FUN_008a0740 008a0740:FUN_008a0740 008a0740:FUN_008a0740 008a0740:FUN_008a0740 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00895d90:FUN_00895d90 +00b74c7c MusicManager 008a0740:luabridge::Namespace::Class::Class 008a0740:luabridge::Namespace::Class::Class 008a0740:luabridge::Namespace::Class::Class 008a0740:luabridge::Namespace::Class::Class 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00895d90:FUN_00895d90 00b74c8c UpdateVolume 00866960:LuaEngine::RegisterAPI 00b74c9c GetCurrentMusicID 00866960:LuaEngine::RegisterAPI 00b74cb0 ResetPitch 00866960:LuaEngine::RegisterAPI @@ -8157,15 +8157,15 @@ z 00b7536c ArrayProxy 00891490:lua_register_RoomDescriptor_array 00891750:lua_register_intValues 0088d970:lua_register_RoomConfigEntries 0088dc30:lua_register_RoomConfigSpawns 00b75378 __call 00877120:FUN_00877120 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00866960:LuaEngine::RegisterAPI 00876550:FUN_00876550 008767f0:FUN_008767f0 00b75380 invalid vector subscript 008ba150:FUN_008ba150 -00b7539c nil passed to reference 008bb0d0:FUN_008bb0d0 008bb0d0:FUN_008bb0d0 008bb010:FUN_008bb010 008bb070:FUN_008bb070 008bb070:FUN_008bb070 008ba900:FUN_008ba900 008ba900:FUN_008ba900 008ba960:FUN_008ba960 008ba960:FUN_008ba960 008baab0:FUN_008baab0 008baa50:FUN_008baa50 008baa50:FUN_008baa50 008bac00:FUN_008bac00 008bac00:FUN_008bac00 008badb0:FUN_008badb0 008badb0:FUN_008badb0 008ae2d0:FUN_008ae2d0 +00b7539c nil passed to reference 008bb0d0:FUN_008bb0d0 008bb0d0:FUN_008bb0d0 008bb010:FUN_008bb010 008bb070:FUN_008bb070 008bb070:FUN_008bb070 008ba900:FUN_008ba900 008ba900:FUN_008ba900 008ba960:FUN_008ba960 008ba960:FUN_008ba960 008baab0:FUN_008baab0 008baa50:FUN_008baa50 008baa50:FUN_008baa50 008bac00:FUN_008bac00 008bac00:FUN_008bac00 008badb0:FUN_008badb0 008badb0:FUN_008badb0 008ae2d0:luabridge::CFunc::CallMember::f 00b753e4 #BESTIARY_HITS 008c66a0:Menu_Bestiary::Render 00b753f4 #BESTIARY_DEATHS 008c66a0:Menu_Bestiary::Render 00b75408 #BESTIARY_HP 008c66a0:Menu_Bestiary::Render 00b75418 %s: %.f 008c66a0:Menu_Bestiary::Render -00b75420 Diary 008d2ca0:PauseScreen_MyStuff::Init 008d2ca0:PauseScreen_MyStuff::Init 0099a300:FUN_0099a300 00921ce0:NightmareScene::Show 009997c0:DeathScreen::Show 009502c0:Menu_Collection::reset 009502c0:Menu_Collection::reset 009b7a20:FUN_009b7a20 009b7a20:FUN_009b7a20 009b7a20:FUN_009b7a20 009b7a20:FUN_009b7a20 0094ef10:Menu_Collection::Render 008c6240:Menu_Bestiary::load_graphics 008c6240:Menu_Bestiary::load_graphics 009b5840:PauseScreen::Init 009b5840:PauseScreen::Init 008c6240:Menu_Bestiary::load_graphics 008d2ca0:PauseScreen_MyStuff::Init 009502c0:Menu_Collection::reset 009b5840:PauseScreen::Init 009b7a20:FUN_009b7a20 009b7a20:FUN_009b7a20 +00b75420 Diary 008d2ca0:PauseScreen_MyStuff::Init 008d2ca0:PauseScreen_MyStuff::Init 0099a300:GameOver::render_collectible_icon 00921ce0:NightmareScene::Show 009997c0:GameOver::Show 009502c0:Menu_Collection::reset 009502c0:Menu_Collection::reset 009b7a20:PauseScreen::load_graphics 009b7a20:PauseScreen::load_graphics 009b7a20:PauseScreen::load_graphics 009b7a20:PauseScreen::load_graphics 0094ef10:Menu_Collection::Render 008c6240:Menu_Bestiary::load_graphics 008c6240:Menu_Bestiary::load_graphics 009b5840:PauseScreen::Init 009b5840:PauseScreen::Init 008c6240:Menu_Bestiary::load_graphics 008d2ca0:PauseScreen_MyStuff::Init 009502c0:Menu_Collection::reset 009b5840:PauseScreen::Init 009b7a20:PauseScreen::load_graphics 009b7a20:PauseScreen::load_graphics 00b75428 #BESTIARY_UNKNOWN 008c66a0:Menu_Bestiary::Render 00b7543c gfx/ui/main menu/BestiaryMenu.anm2 008c6240:Menu_Bestiary::load_graphics -00b75460 gfx/ui/Death Screen.anm2 00921ce0:NightmareScene::Show 009b5840:PauseScreen::Init 008d2ca0:PauseScreen_MyStuff::Init 00988d80:MenuManager::LoadGraphics 008c6240:Menu_Bestiary::load_graphics 009b7a20:FUN_009b7a20 009b7a20:FUN_009b7a20 0099a300:FUN_0099a300 009997c0:DeathScreen::Show 009997c0:DeathScreen::Show 009997c0:DeathScreen::Show +00b75460 gfx/ui/Death Screen.anm2 00921ce0:NightmareScene::Show 009b5840:PauseScreen::Init 008d2ca0:PauseScreen_MyStuff::Init 00988d80:MenuManager::LoadGraphics 008c6240:Menu_Bestiary::load_graphics 009b7a20:PauseScreen::load_graphics 009b7a20:PauseScreen::load_graphics 0099a300:GameOver::render_collectible_icon 009997c0:GameOver::Show 009997c0:GameOver::Show 009997c0:GameOver::Show 00b7547c #BESTIARY_KILLS 008c66a0:Menu_Bestiary::Render 00b7548c #BESTIARY_ENCOUNTERS 008c66a0:Menu_Bestiary::Render 00b754a4 gfx/ui/main menu/ControllerSelectMenu.anm2 00988d80:MenuManager::LoadGraphics @@ -8178,23 +8178,23 @@ z 00b75560 PlayerCharacter%d 008caa30:netplay_lobby_render 00b75574 Player %d 008ca600:online_stats_finalize 0099a21e 00b75580 Player%d Text 008caa30:netplay_lobby_render 00998880:GameOver::Render -00b75590 DailyMode 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 -00b7559c ModeTitle 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 -00b755a8 BackButton 008db8f0:Menu_OnlineLobby::render_player_slots 008e8af0:Menu_OnlineLobby::Render 008ddae0:Menu_OnlineLobby::Render 008e4e30:Menu_Online::Render 008cc1a0:Menu_Online::render_mode_select 008d3640:FUN_008d3640 -00b755b4 Paper 008cc5e0:FUN_008cc5e0 +00b75590 DailyMode 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers +00b7559c ModeTitle 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers +00b755a8 BackButton 008db8f0:Menu_OnlineLobby::render_player_slots 008e8af0:Menu_OnlineLobby::Render 008ddae0:Menu_OnlineLobby::Render 008e4e30:Menu_Online::Render 008cc1a0:Menu_Online::render_mode_select 008d3640:PauseScreen::render_items_page +00b755b4 Paper 008cc5e0:Menu_CreateLobby::update_paper_layers 00b755bc gfx/ui/main menu/CreateLobbyMenu.anm2 008cbd60:Menu_CreateLobby::load_graphics 00b23eac 00b755e4 BackKey 008db8f0:Menu_OnlineLobby::render_player_slots 009b5d20:PauseScreen::Update 008e4e30:Menu_Online::Render 008cc1a0:Menu_Online::render_mode_select 00b755ec gfx/ui/main menu/CreateLobbyBoxes.anm2 008cbd60:Menu_CreateLobby::load_graphics 00b23ea8 -00b75614 Idle_Challenge 008cca10:FUN_008cca10 008cca10:FUN_008cca10 008cca10:FUN_008cca10 -00b75624 Title 008d1600:FUN_008d1600 008efe10:RevivePlayerMenu::Render 008cca10:FUN_008cca10 008cca10:FUN_008cca10 -00b75634 Password 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 -00b75644 ChallengeTitle 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 -00b75654 Arrows 009a1a30:HUD::LoadGraphics 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 -00b7565c TagTitle 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 008cc5e0:FUN_008cc5e0 +00b75614 Idle_Challenge 008cca10:Menu_OnlineMode::play_idle_animation 008cca10:Menu_OnlineMode::play_idle_animation 008cca10:Menu_OnlineMode::play_idle_animation +00b75624 Title 008d1600:kick_player_menu_render 008efe10:RevivePlayerMenu::Render 008cca10:Menu_OnlineMode::play_idle_animation 008cca10:Menu_OnlineMode::play_idle_animation +00b75634 Password 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers +00b75644 ChallengeTitle 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers +00b75654 Arrows 009a1a30:HUD::LoadGraphics 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers +00b7565c TagTitle 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 008cc5e0:Menu_CreateLobby::update_paper_layers 00b75688 Large 008cd670:FUN_008cd670 008cd670:FUN_008cd670 00b75690 Medium 008cd670:FUN_008cd670 008cd670:FUN_008cd670 -00b75698 Idle_FriendMatch 008cca10:FUN_008cca10 -00b756ac Idle_DailyMatch 008cca10:FUN_008cca10 +00b75698 Idle_FriendMatch 008cca10:Menu_OnlineMode::play_idle_animation +00b756ac Idle_DailyMatch 008cca10:Menu_OnlineMode::play_idle_animation 00b756bc ChallengeBox 008cc1a0:Menu_Online::render_mode_select 00b756cc SeedPos 00998880:GameOver::Render 008cd7b0:Menu_Challenge::render_seed_text 008cd7b0:Menu_Challenge::render_seed_text 00b756dc CreateBox 00b75704 @@ -8213,13 +8213,13 @@ z 00b75814 Text2 009a3ac0:HUD::render_fortune_text 008cfd40:Menu_DailyChallenge::Render 008cfd40:Menu_DailyChallenge::Render 00b7581c Score 008cfd40:Menu_DailyChallenge::Render 00b7582c Item2 00920940:NightmareScene::Render 00c5d264 -00b7583c KICK PLAYER 008d1600:FUN_008d1600 008d1600:FUN_008d1600 -00b75848 %d / %d 008d1600:FUN_008d1600 008df9b0:Menu_LobbyList::render_lobbies 008df9b0:Menu_LobbyList::render_lobbies 008df1d0:Menu_OnlineLobby::render_lobby_list 008deac0:Menu_OnlineLobby::render_lobby_list +00b7583c KICK PLAYER 008d1600:kick_player_menu_render 008d1600:kick_player_menu_render +00b75848 %d / %d 008d1600:kick_player_menu_render 008df9b0:Menu_LobbyList::render_lobbies 008df9b0:Menu_LobbyList::render_lobbies 008df1d0:Menu_OnlineLobby::render_lobby_list 008deac0:Menu_OnlineLobby::render_lobby_list 00b75850 UpperSelector 008d12b0:PauseScreen::update_player_info_page 008d12b0:PauseScreen::update_player_info_page 008d0fd0:PauseScreen::load_drop_player_menu 008d0fd0:PauseScreen::load_drop_player_menu 008ef840:FUN_008ef840 008ef840:FUN_008ef840 008efe10:RevivePlayerMenu::Render 008ef560:RevivePlayerMenu::Init 008ef560:RevivePlayerMenu::Init 008d0fd0:PauseScreen::load_drop_player_menu 008d12b0:PauseScreen::update_player_info_page 008ef560:RevivePlayerMenu::Init 008ef840:FUN_008ef840 008efe10:RevivePlayerMenu::Render 008efe10:RevivePlayerMenu::Render 00b75860 LowerSelector 008d12b0:PauseScreen::update_player_info_page 008d12b0:PauseScreen::update_player_info_page 008d12b0:PauseScreen::update_player_info_page 008efe10:RevivePlayerMenu::Render 008d12b0:PauseScreen::update_player_info_page 008efe10:RevivePlayerMenu::Render 00b75870 gfx/ui/Menu_DropPlayer.anm2 008d0fd0:PauseScreen::load_drop_player_menu 00b7588c gfx/ui/DropPlayer_Counter.anm2 008d0fd0:PauseScreen::load_drop_player_menu -00b758ac KickCounter 008d1600:FUN_008d1600 +00b758ac KickCounter 008d1600:kick_player_menu_render 00b758b8 Invalid set index %d \n 008d26c0:FUN_008d26c0 008d1d60:OnlineEmotes::init 00b758d0 DescriptionArrowUp 008d3360:PauseScreen::update_items_menu 008d3360:PauseScreen::update_items_menu 00b758e4 DescriptionArrowDown 008d3360:PauseScreen::update_items_menu 008d3360:PauseScreen::update_items_menu @@ -8231,10 +8231,10 @@ z 00b75970 CollectibleItemPools 008d5440:FUN_008d5440 00b75988 Trinkets 008d4940:OnlinePlayerInfo::render_items 00b75994 CollectibleTitle 008d5440:FUN_008d5440 008d5440:FUN_008d5440 -00b759a8 PocketArrowUp 008d42a0:FUN_008d42a0 008d42a0:FUN_008d42a0 -00b759b8 PocketArrowDown 008d42a0:FUN_008d42a0 008d42a0:FUN_008d42a0 -00b759c8 TrinketArrowUp 008d4040:FUN_008d4040 008d4040:FUN_008d4040 -00b759d8 TrinketArrowDown 008d4040:FUN_008d4040 008d4040:FUN_008d4040 +00b759a8 PocketArrowUp 008d42a0:PauseScreen::update_pocket_item_display 008d42a0:PauseScreen::update_pocket_item_display +00b759b8 PocketArrowDown 008d42a0:PauseScreen::update_pocket_item_display 008d42a0:PauseScreen::update_pocket_item_display +00b759c8 TrinketArrowUp 008d4040:PauseScreen::update_trinket_display 008d4040:PauseScreen::update_trinket_display +00b759d8 TrinketArrowDown 008d4040:PauseScreen::update_trinket_display 008d4040:PauseScreen::update_trinket_display 00b759ec PocketTitle 008d57f0:FUN_008d57f0 008d57f0:FUN_008d57f0 00b759f8 PocketDesc 008d57f0:FUN_008d57f0 00b75a04 TrinketTitle 008d5640:FUN_008d5640 008d5640:FUN_008d5640 @@ -8316,7 +8316,7 @@ z 00b75f5c Casual 008e0660:render_lobby_info 00b75f64 Min/Max 008e0660:render_lobby_info 00b75f6c gfx/ui/main menu/ModsMenu.anm2 00988d80:MenuManager::LoadGraphics -00b75f8c /disable.it 008e3830:Menu_Mods::Update 008fa390:ModManager::UpdateWorkshopMods 008f9f40:FUN_008f9f40 008f6dfb +00b75f8c /disable.it 008e3830:Menu_Mods::Update 008fa390:ModManager::UpdateWorkshopMods 008f9f40:ModManager::add_mod_entry 008f6dfb 00b75f98 %s[Old] 008e3db0:AnimationLayer::RenderFrame 008e3db0:AnimationLayer::RenderFrame 00b75fa0 WidgetTab 008e3830:Menu_Mods::Update 00b75fac WidgetButton 008e3db0:AnimationLayer::RenderFrame @@ -8330,13 +8330,13 @@ z 00b760a8 #Online/ONLINE_QUICK_DESCRIPTOR 008e4e30:Menu_Online::Render 00b760c8 Quick Match 008e4b10:Menu_Online::Update 00b760d4 Public Match 008e4b10:Menu_Online::Update -00b760e4 ##GAME###Online/NO_LOBBIES_FOUND 008e64f0:FUN_008e64f0 -00b76108 ##GAME###Online/CREATE_NEW_LOBBY 008e64f0:FUN_008e64f0 -00b7612c ##GAME###Online/JOIN_LOBBY_IN_PROGRESS 008e64f0:FUN_008e64f0 +00b760e4 ##GAME###Online/NO_LOBBIES_FOUND 008e64f0:online_quick_match_popup_callback +00b76108 ##GAME###Online/CREATE_NEW_LOBBY 008e64f0:online_quick_match_popup_callback +00b7612c ##GAME###Online/JOIN_LOBBY_IN_PROGRESS 008e64f0:online_quick_match_popup_callback 00b76154 Descriptor Position 008e5790:Menu_Online::render_descriptor -00b76168 ##GAME###Online/ONLY_FOUND_JOIN_IN_PROGRESS 008e64f0:FUN_008e64f0 +00b76168 ##GAME###Online/ONLY_FOUND_JOIN_IN_PROGRESS 008e64f0:online_quick_match_popup_callback 00b76194 Doodle Position 008e4e30:Menu_Online::Render -00b761a4 ##GAME###Online/SEARCHING_FOR_LOBBIES 008e5420:FUN_008e5420 +00b761a4 ##GAME###Online/SEARCHING_FOR_LOBBIES 008e5420:Menu_Online::start_quick_match 00b761cc ?????? 008e6a80:Menu_Online::render_descriptions 008e6a80:Menu_Online::render_descriptions 00b761d4 DescriptionPos 008e6a80:Menu_Online::render_descriptions 00b761e4 gfx/ui/main menu/OnlineStatsMenu.anm2 00988d80:MenuManager::LoadGraphics @@ -8362,7 +8362,7 @@ z 00b763b0 ChallengeName 008e8af0:Menu_OnlineLobby::Render 008e8af0:Menu_OnlineLobby::Render 00b763c0 BestStreakNum 008e8af0:Menu_OnlineLobby::Render 008e8af0:Menu_OnlineLobby::Render 00b763d0 Recieved upload complete message for User %llu \n -00b76404 #Online/LOBBY_KICKED 008ea3a0:FUN_008ea3a0 +00b76404 #Online/LOBBY_KICKED 008ea3a0:Menu_OnlineLobby::handle_kicked 00b7641c MinigameButton 008e8af0:Menu_OnlineLobby::Render 00b7642c Minigame 008e8af0:Menu_OnlineLobby::Render 00b76438 Countdown Position 008e8af0:Menu_OnlineLobby::Render @@ -8402,7 +8402,7 @@ z 00b7671c Player_Left_Next_Button 008ebfb0:GameOver::RenderItemSprite 00b76734 Player_Next_Left 008ebfb0:GameOver::RenderItemSprite 00b76748 Background_Challenge 008ed090:FUN_008ed090 008ed090:FUN_008ed090 008ed090:FUN_008ed090 008ed090:FUN_008ed090 -00b76760 InviteButton 008ebfb0:GameOver::RenderItemSprite 009b8990:FUN_009b8990 +00b76760 InviteButton 008ebfb0:GameOver::RenderItemSprite 009b8990:PauseScreen::render_lobby_buttons 00b76770 SwapButton 008ebfb0:GameOver::RenderItemSprite 00b7677c ReadyButton 008ebfb0:GameOver::RenderItemSprite 00b76788 UnreadyButton 008ebfb0:GameOver::RenderItemSprite @@ -8431,7 +8431,7 @@ z 00b76a94 PaperTop 009b31c0:Menu_Options::Render 008f06e0:Menu_SpecialSeeds::Render 008f06e0:Menu_SpecialSeeds::Render 00b76aa0 NextSection 008f06e0:Menu_SpecialSeeds::Render 008f06e0:Menu_SpecialSeeds::Render 008f06e0:Menu_SpecialSeeds::Render 00b76aac confirm 008f19f0:Menu_SpecialSeeds::Reset 008f19f0:Menu_SpecialSeeds::Reset -00b76ab4 reset 008f19f0:Menu_SpecialSeeds::Reset 00aedf80:FUN_00aedf80 008f19f0:Menu_SpecialSeeds::Reset +00b76ab4 reset 008f19f0:Menu_SpecialSeeds::Reset 00aedf80:_mi_stats_print 008f19f0:Menu_SpecialSeeds::Reset 00b76abc seedmenu 008f19f0:Menu_SpecialSeeds::Reset 00b76ac8 enable 008f19f0:Menu_SpecialSeeds::Reset 008f19f0:Menu_SpecialSeeds::Reset 00b76ad0 unlock 008f19f0:Menu_SpecialSeeds::Reset 008f19f0:Menu_SpecialSeeds::Reset @@ -8472,7 +8472,7 @@ z 00b76d60 Could not find root node 'shaders' in mod %s\n 008f4a30:ModManager::LoadShaders 00b76d90 shaders 008f4a30:ModManager::LoadShaders 00b76d98 shaders.xml 008f4a30:ModManager::LoadShaders -00b76da4 /metadata.xml 008f9f40:FUN_008f9f40 008f6368 008f92b0:ModEntry::parse_metadata_xml 008fb120:ModManager::UpdateWorkshopMods +00b76da4 /metadata.xml 008f9f40:ModManager::add_mod_entry 008f6368 008f92b0:ModEntry::parse_metadata_xml 008fb120:ModManager::UpdateWorkshopMods 00b76db4 begin list mods\n 008f61d0:ModManager::ListMods 00b76dc8 -dlc3/ 008f99c0:Mod::GetContentPath 008f5ad0:ModManager::TryRedirectPath 00b76dd0 [warn] Failed to open shader config file %s\n 008f4a30:ModManager::LoadShaders @@ -8487,7 +8487,7 @@ z 00b76ea0 metadata 008fb120:ModManager::UpdateWorkshopMods 008f92b0:ModEntry::parse_metadata_xml 008f65c2 008f6571 008f6582 008f65b7 008f92b0:ModEntry::parse_metadata_xml 008f92b0:ModEntry::parse_metadata_xml 00b76eb0 #MOD_UPDATING 008fa390:ModManager::UpdateWorkshopMods 008fa390:ModManager::UpdateWorkshopMods 00b76ec0 #MOD_INSTALLING 008fa390:ModManager::UpdateWorkshopMods 008fa390:ModManager::UpdateWorkshopMods -00b76ed0 /unfinished.it 008fb120:ModManager::UpdateWorkshopMods 008fa390:ModManager::UpdateWorkshopMods 008fa390:ModManager::UpdateWorkshopMods 008f9f40:FUN_008f9f40 +00b76ed0 /unfinished.it 008fb120:ModManager::UpdateWorkshopMods 008fa390:ModManager::UpdateWorkshopMods 008fa390:ModManager::UpdateWorkshopMods 008f9f40:ModManager::add_mod_entry 00b76ee0 reallocate %d rooms.\n 00b76ef8 [ModManager] bad room config header in %s!\n 00b76f24 [ModManager] Failed to open room config files %s!\n @@ -8528,11 +8528,11 @@ z 00b776d8 [Frame: %d] Broadcasting MSG_DESYNC_NOTIFY: Desync Frame = %d \n 00b77718 [Frame: %d] Desync occured but we do not have a framestate to send \n 00b77760 [Frame: %d] Sending MSG_DESYNC_CONFIRM to user %llu \n 008ff239 -00b77798 [Frame: %d] Received invalid desync message (%d), from user %llu !\n 008fed60:FUN_008fed60 -00b777e0 [Frame: %d] Recieved MSG_DESYNC_RECOVERY_COMPLETE from user %llu \n 008fed60:FUN_008fed60 -00b77828 [Frame: %d] Recieved MSG_DESYNC_RECOVERY_START from user %llu \n 008fed60:FUN_008fed60 -00b77868 [Frame: %d] Recieved MSG_DESYNC_CONFIRM from user %llu \n 008fed60:FUN_008fed60 -00b778a4 [Frame: %d] Recieved MSG_DESYNC_NOTIFY from user %llu \n 008fed60:FUN_008fed60 +00b77798 [Frame: %d] Received invalid desync message (%d), from user %llu !\n 008fed60:NetDesyncHandler::receive_messages +00b777e0 [Frame: %d] Recieved MSG_DESYNC_RECOVERY_COMPLETE from user %llu \n 008fed60:NetDesyncHandler::receive_messages +00b77828 [Frame: %d] Recieved MSG_DESYNC_RECOVERY_START from user %llu \n 008fed60:NetDesyncHandler::receive_messages +00b77868 [Frame: %d] Recieved MSG_DESYNC_CONFIRM from user %llu \n 008fed60:NetDesyncHandler::receive_messages +00b778a4 [Frame: %d] Recieved MSG_DESYNC_NOTIFY from user %llu \n 008fed60:NetDesyncHandler::receive_messages 00b778e0 [Frame %d] NetDesyncHandler::add_user_resync_complete() recieved user ID (%llu) which has already completed recovery! \n 00b77958 \n-------------------------------------------------------------------------------------------- @@ -8547,8 +8547,8 @@ z \n \nNumber of players: %d \nPlayer Info: -\n 008ffc70:FUN_008ffc70 -00b77aa8 [Frame: %d] Missing Desync Frame States from user "%s"! Cannot create Desync Diff \n 008ffc70:FUN_008ffc70 +\n 008ffc70:NetDesyncHandler::write_desync_diff +00b77aa8 [Frame: %d] Missing Desync Frame States from user "%s"! Cannot create Desync Diff \n 008ffc70:NetDesyncHandler::write_desync_diff 00b77b00 [Frame: %d] NetDesyncHandler::process_desync_recovery_start_message, Resync Count = %d/%d, Resync Frame = %d \n 008ffaf0:FUN_008ffaf0 00b77b70 [Frame: %d] Recieved MSG_DESYNC_CONFIRM from a user (%llu) without a device \n 00b77bc0 Invalid or corrupt message data recieved in NetDesyncHandler::process_desync_confirm_message() \n 008ff78d @@ -8587,14 +8587,14 @@ z 00b7815c %s/online_logs/sessions/%s/persistentgamedata%d_end.dat 00903040:FUN_00903040 00b78194 %s/online_logs/sessions/%s/persistentgamedata%d_begin.dat 00903040:FUN_00903040 00b781d0 online_logs/sessions/ 00902fd0:FUN_00902fd0 -00b781e8 online_logs/desyncs/ 00902fd0:FUN_00902fd0 009047f0:FUN_009047f0 +00b781e8 online_logs/desyncs/ 00902fd0:FUN_00902fd0 009047f0:online_log_make_path 00b78200 Could not load input file 009036b0:write_desync_dump 00b7821c desync_screenshot -00b78230 Saving screenshot...\n 009032d0:FUN_009032d0 -00b78248 desync_shared_save.dat 009032d0:FUN_009032d0 -00b78260 desync_log.txt 009032d0:FUN_009032d0 +00b78230 Saving screenshot...\n 009032d0:NetDesyncHandler::save_desync_files +00b78248 desync_shared_save.dat 009032d0:NetDesyncHandler::save_desync_files +00b78260 desync_log.txt 009032d0:NetDesyncHandler::save_desync_files 00b78270 desync_framestate.txt 008fe70b -00b78288 desync_diff.txt 008ffc70:FUN_008ffc70 +00b78288 desync_diff.txt 008ffc70:NetDesyncHandler::write_desync_diff 00b78298 %s/online_logs/sessions/%s/log.txt 00b782bc Application start address not found 009036b0:write_desync_dump 00b782e0 Application Version 009036b0:write_desync_dump @@ -8608,7 +8608,7 @@ z 00b783b0 (0x%llx)\n 00904a60:NetLogging::format_callstack 00b783c4 NetLogging:: 00904a60:NetLogging::format_callstack 00b783dc %02d_%02d_%d__%02d_%02d_%02d 00919980:Menu_Save::load_slot_data 00919440:shared_save_write 00904050:make_timestamp_string -00b783fc %s%s%s 00903d60:FUN_00903d60 00aee5f0:FUN_00aee5f0 +00b783fc %s%s%s 00903d60:online_logs_prune 00aee5f0:FUN_00aee5f0 00b78404 *************************** End ****************************\n 00b78444 ****** Generated random number %lu on frame %d ******\n 00b7847c ************************************************************\n @@ -8636,11 +8636,11 @@ z 00b7875c Creating friend lobby...\n 00907460:FUN_00907460 00b78778 ##GAME###Online/CREATING_LOBBY 00b78798 Creating public lobby...\n 00907230:FUN_00907230 -00b787b8 [Frame %d] Attempted to add remote player (id %llu), but they already exist \n 006f6500:FUN_006f6500 -00b78808 [Frame: %d] Adding remote player, UserID = %llu, device ID = %d \n 006f6500:FUN_006f6500 -00b7884c [Frame: %d] Adding local player, device ID = %d \n 006f6500:FUN_006f6500 +00b787b8 [Frame %d] Attempted to add remote player (id %llu), but they already exist \n 006f6500:Game::add_players +00b78808 [Frame: %d] Adding remote player, UserID = %llu, device ID = %d \n 006f6500:Game::add_players +00b7884c [Frame: %d] Adding local player, device ID = %d \n 006f6500:Game::add_players 00b78880 #LOBBY_JOIN_FAILED 00908be0:FUN_00908be0 00908ce0:netplay_leave_lobby_callback -00b78894 ##GAME###Online/CONNECTING_TO_SERVER 00981140:Menu_Game::Update 009088e0:FUN_009088e0 +00b78894 ##GAME###Online/CONNECTING_TO_SERVER 00981140:Menu_Game::Update 009088e0:netplay_lobby_join_requested_callback 00b788bc Failed to join lobby, result = %d\n 00908660:FUN_00908660 00b788e0 Successfully joined lobby %llu\n 00908660:FUN_00908660 00b78900 #Online/LOBBY_JOIN_FAILED 009084f0:FUN_009084f0 @@ -8669,13 +8669,13 @@ z 00b78f10 [Frame %d] GetDeviceByPlayerEntity() given NULL player entity \n 0090ac70:InputManager::GetDeviceByPlayerEntity 00b78f50 [Frame %d] Executing delayed game start \n 0090b150:NetplayManager::Update 00b78f80 [Frame: %d] NetManager::GetLocalUserDevice() failed to find device!\n 0090b070:FUN_0090b070 -00b78fc8 [Frame: %d] NetManager::GetDeviceById() failed to find device with ID %d \n 0090b010:FUN_0090b010 008d19a0:FUN_008d19a0 +00b78fc8 [Frame: %d] NetManager::GetDeviceById() failed to find device with ID %d \n 0090b010:FUN_0090b010 008d19a0:PauseScreen::build_player_user_list 00b79018 [Frame: %d] NetManager::SetLocalDeviceID() failed to find device for local user! \n 00b7906c [Frame: %d] Setting local device ID to %d \n 0090af30:FUN_0090af30 00b79098 [Frame %d] FirstLocalDeviceID() Could not find a device for the local user! \n 0090aeb0:InputManager::FirstLocalDeviceID 00b790e8 ----------------------------------------------------------- \n 0090ae59 00b79128 [Frame %d] Processing pending joins \n 0090df40:NetplayManager::process_pending_joins -00b79150 [Frame %d] Adding %d new players\n 0090d9b0:NPCAI_Pathfinder::EvadeTarget +00b79150 [Frame %d] Adding %d new players\n 0090d9b0:NetplayManager::add_new_players 00b79178 [Frame: %d] Save checksum mismatch (frame %d): local %08x, remote %08x\n 0090d4a0:FUN_0090d4a0 0090d4a0:FUN_0090d4a0 00b791c0 [Frame: %d] Checksum mismatch (frame %d): local %08x, remote %08x\n 0090d4a0:FUN_0090d4a0 0090d4a0:FUN_0090d4a0 00b79204 [Frame %d] NetManager::NotifyGameEnd() Result = %d \n 0090cd10:FUN_0090cd10 @@ -8752,7 +8752,7 @@ z 00b79e68 /unmute 0091dc10:online_chat_update 0091dc10:online_chat_update 0091dc10:online_chat_update 00b79e74 /mute 0091dc10:online_chat_update 0091dc10:online_chat_update 0091dc10:online_chat_update 00b79e7c %llu\n 0091dc10:online_chat_update -00b79e84 mute_list.txt 0091f780:FUN_0091f780 0091dc10:online_chat_update +00b79e84 mute_list.txt 0091f780:NetplayManager::load_mute_list 0091dc10:online_chat_update 00b79e94 Rolled a D20! Result = 0091f5d0:OnlineChat::apply_roll_command 00b79eb4 Rolled a D6! Result = 0091f5d0:OnlineChat::apply_roll_command 00b79ed0 nightmare_bg.anm2 0091fe80:NightmareScene::load_nightmares_xml 0091fe80:NightmareScene::load_nightmares_xml @@ -8940,18 +8940,18 @@ z 00b7a924 %s%d.%s 009d9c60:Menu_Save::Update 009292c0:Manager::BackupSaveFile 00b7a92c Trying to import AB+ Steam save.\n 00b7a950 SteamCloud could not find or open %s.\n -00b7a978 Loading PersistentGameData from Steam Cloud: %s.\n 00926cf0:FUN_00926cf0 +00b7a978 Loading PersistentGameData from Steam Cloud: %s.\n 00926cf0:PersistentGameData::LoadFromSteamCloud 00b7a9b0 No PersistentGameData found for any version of Isaac, creating new one.\n 00b7a9fc Successfully imported Rebirth save!!\n 00b7aa24 No AB PersistentGameData, trying to import Rebirth save.\n 00b7aa60 Successfully imported from AB!\n 00b7aa80 Done Reading Achievements\n 00b7aa9c Reading Achievements\n -00b7aab4 Reading chunk %d\n 00926f10:FUN_00926f10 -00b7aac8 [warn] Unsuported save version (probably an AB or Rebirth save)!\n 00926f10:FUN_00926f10 -00b7ab0c [warn] PersistentGameData checksum invalid!\n 00926f10:FUN_00926f10 -00b7ab3c PersistentGameData wrong file header (%.16s)\n 00926f10:FUN_00926f10 -00b7ab70 CNGSAVE09R 00926f10:FUN_00926f10 +00b7aab4 Reading chunk %d\n 00926f10:PersistentGameData::read +00b7aac8 [warn] Unsuported save version (probably an AB or Rebirth save)!\n 00926f10:PersistentGameData::read +00b7ab0c [warn] PersistentGameData checksum invalid!\n 00926f10:PersistentGameData::read +00b7ab3c PersistentGameData wrong file header (%.16s)\n 00926f10:PersistentGameData::read +00b7ab70 CNGSAVE09R 00926f10:PersistentGameData::read 00b7ab80 Starting with a clean save state.\n 00b7aba4 Done Reading Mini Bosses\n 00b7abc0 Reading Mini Bosses\n @@ -8970,19 +8970,19 @@ z 00b7ad20 Done Reading Bosses\n 00b7ad38 Reading Bosses\n 00b7ad48 PersistentGameData no filename supplied\n 009294f0:PersistentGameData::Save -00b7ad74 %s/save_backups/ 009d9c60:Menu_Save::Update 009292c0:Manager::BackupSaveFile 00926510:FUN_00926510 00926510:FUN_00926510 +00b7ad74 %s/save_backups/ 009d9c60:Menu_Save::Update 009292c0:Manager::BackupSaveFile 00926510:save_backup_find_latest 00926510:save_backup_find_latest 00b7ad88 [warn] failed to open file.\n 00b7ada8 Saving PersistentGameData to Steam Cloud: %s.\n 00928ee0:PersistentGameData::SaveToSteamCloud 00b7add8 Done Reading Bestiary Counters\n 00927c73 00b7adf8 Reading Bestiary Counters\n 00b7ae14 Done Reading Special Seed Counters\n 00b7ae38 Reading Special Seed Counters\n -00b7ae58 Seed %d added to SaveState\n 0092b230:FUN_0092b230 008cddf0:FUN_008cddf0 0094d040:Menu_Character::submit_seed +00b7ae58 Seed %d added to SaveState\n 0092b230:FUN_0092b230 008cddf0:Menu_OnlineMode::apply_lobby_seed 0094d040:Menu_Character::submit_seed 00b7ae74 Invalid cutscene ID "%d" \n 00958e60:Manager::ShowCutscene 0095e7c0:Cutscene::Show 00b7ae90 Boss %d added to SaveState\n 0092a5e0:FUN_0092a5e0 00b7aeac MiniBoss %d added to SaveState\n 0092a520:FUN_0092a520 00b7aecc [warn] AddMiniBoss: invalid miniboss id %d\n 0092a520:FUN_0092a520 -00b7aef8 Setting PersistentGameData ReadOnly to %s\n 007fb250:Room::SpawnClearAward 007fb250:Room::SpawnClearAward 007fb250:Room::SpawnClearAward 006fa0c0:Game::Exit 0095a4a0:Game::end_save_progress 0095a680:persistent_game_data_set_writable 009299e0:FUN_009299e0 006f9f20:FUN_006f9f20 00428d30:FUN_00428d30 006f7ac0:Game::NextVictoryLap 006f72f0:Game::StartFromRerunState 006f7750:Game::StartDebug 006f6dd0:Game::StartDailyChallenge 0090e2a0:FUN_0090e2a0 006f6500:FUN_006f6500 006f5320:Game::Start 00704f20:Game::FinishChallenge 006f5aef 006f5c87 0090ccd7 +00b7aef8 Setting PersistentGameData ReadOnly to %s\n 007fb250:Room::SpawnClearAward 007fb250:Room::SpawnClearAward 007fb250:Room::SpawnClearAward 006fa0c0:Game::Exit 0095a4a0:Game::end_save_progress 0095a680:persistent_game_data_set_writable 009299e0:FUN_009299e0 006f9f20:FUN_006f9f20 00428d30:FUN_00428d30 006f7ac0:Game::NextVictoryLap 006f72f0:Game::StartFromRerunState 006f7750:Game::StartDebug 006f6dd0:Game::StartDailyChallenge 0090e2a0:FUN_0090e2a0 006f6500:Game::add_players 006f5320:Game::Start 00704f20:Game::FinishChallenge 006f5aef 006f5c87 0090ccd7 00b7af24 False 006fa0c0:Game::Exit 0095a4a0:Game::end_save_progress 0095a680:persistent_game_data_set_writable 009299e0:FUN_009299e0 006f9f20:FUN_006f9f20 006f72f0:Game::StartFromRerunState 006f7750:Game::StartDebug 006f5320:Game::Start 00704f20:Game::FinishChallenge 006f5c86 0090ccd2 006f5320:Game::Start 006f5c79 006f72f0:Game::StartFromRerunState 006f7750:Game::StartDebug 009299e0:FUN_009299e0 00b7af2c unlock steam achievement '%s'\n 00929790:PersistentGameData::UnlockSteamAchievement 00b7af4c Binding of Isaac Afterbirth 00952410:Manager::Init @@ -9141,7 +9141,7 @@ z 00b7c1ac bosscolors.xml 00952df0:Manager::load_configs 00b7c1bc babies.xml 00952df0:Manager::load_configs 00b7c1c8 bossportraits.xml 00952df0:Manager::load_configs -00b7c1dc font/terminus.fnt 0095fd70:FUN_0095fd70 00952df0:Manager::load_configs +00b7c1dc font/terminus.fnt 0095fd70:Cutscene::TemporaryPart::Init 00952df0:Manager::load_configs 00b7c1f0 font/terminus8.fnt 00952df0:Manager::load_configs 00b7c204 font/LuaMiniOutlined.fnt 00952df0:Manager::load_configs 00b7c220 Viewport: %dx%d\n 00954320:Manager::set_viewport_size @@ -9203,8 +9203,8 @@ z 00b7c808 anm2part 0095cc00:Cutscene::load_xml 0095cc00:Cutscene::load_xml 00b7c814 musicDelay 0095cc00:Cutscene::load_xml 0095cc00:Cutscene::load_xml 00b7c820 videopart 0095cc00:Cutscene::load_xml 0095cc00:Cutscene::load_xml -00b7c834 Cutscene: correct anm2 timing: f%d -> f%d\n 0095f6f0:Manager::ResizeWindow -00b7c860 font/TeamMeatFont20Bold.fnt 0095fd70:FUN_0095fd70 +00b7c834 Cutscene: correct anm2 timing: f%d -> f%d\n 0095f6f0:Cutscene::ANM2Part::Update +00b7c860 font/TeamMeatFont20Bold.fnt 0095fd70:Cutscene::TemporaryPart::Init 00b7c87c keepMusic 0095cc00:Cutscene::load_xml 0095cc00:Cutscene::load_xml 00b7c888 temporary 0095cc00:Cutscene::load_xml 0095cc00:Cutscene::load_xml 00b7c894 [warn] %s unknown tag %s.\n 0095cc00:Cutscene::load_xml @@ -9212,7 +9212,7 @@ z 00b7c8bc subtitles 0095cc00:Cutscene::load_xml 0095cc00:Cutscene::load_xml 00b7c8c8 ##GAME###Online/WAITING_FOR_PLAYERS 0095df20:Manager::update_state_loading 00b7c8ec playing cutscene %d (%s).\n 0095e7c0:Cutscene::Show -00b7c908 #Online/VOTE_COUNT_STRING 0095eb60:FUN_0095eb60 +00b7c908 #Online/VOTE_COUNT_STRING 0095eb60:cutscene_render_skip_vote_count 00b7ca6c ChargedLeft 00b7cb28 00b7ca78 ChargedUp 00b7cb2c 00b7ca84 ChargedRight 00b7cb30 @@ -9375,9 +9375,9 @@ z 00b7d86c animationSpeed 00990a40:FXLayers::LoadConfig 00990a40:FXLayers::LoadConfig 00b7d87c fxParams 00990a40:FXLayers::LoadConfig 00b7d888 gfx/Veins.anm2 00990a40:FXLayers::LoadConfig -00b7d898 gfx/ui/DeedsDeathScreen.anm2 009997c0:DeathScreen::Show 009997c0:DeathScreen::Show +00b7d898 gfx/ui/DeedsDeathScreen.anm2 009997c0:GameOver::Show 009997c0:GameOver::Show 00b7d8b8 DeedsMe 00998880:GameOver::Render 00998880:GameOver::Render -00b7d8c0 Game Over. Killed by (%d.%d) spawned by (%d.%d) damage flags (%d)\n 009997c0:DeathScreen::Show +00b7d8c0 Game Over. Killed by (%d.%d) spawned by (%d.%d) damage flags (%d)\n 009997c0:GameOver::Show 00b7d904 Caves 0099acc0:GridEntity_Decoration::BeginBatches 0099acc0:GridEntity_Decoration::BeginBatches 0099acc0:GridEntity_Decoration::BeginBatches 00b7d90c Catacombs 0099acc0:GridEntity_Decoration::BeginBatches 0099acc0:GridEntity_Decoration::BeginBatches 0099acc0:GridEntity_Decoration::BeginBatches 00b7d918 Puddle 0099acc0:GridEntity_Decoration::BeginBatches 0099acc0:GridEntity_Decoration::BeginBatches 0099acc0:GridEntity_Decoration::BeginBatches 0099acc0:GridEntity_Decoration::BeginBatches 0099a8e0:GridEntity_Decoration::Update @@ -9495,30 +9495,30 @@ z 00b7e4ec gfx/ui/main menu/OptionsMenuDark.png 009b4810:Menu_Options::load_graphics 00b7e514 gfx/ui/main menu/GammaMenu.anm2 009b4810:Menu_Options::load_graphics 00b7e534 Counter 009b4810:Menu_Options::load_graphics 009b4810:Menu_Options::load_graphics 009b4810:Menu_Options::load_graphics -00b7e53c gfx/ui/PauseScreen.anm2 009b5840:PauseScreen::Init 009b7a20:FUN_009b7a20 -00b7e554 gfx/ui/PauseScreen_small.anm2 009b5840:PauseScreen::Init 009b7a20:FUN_009b7a20 -00b7e574 gfx/ui/PauseScreenStats.anm2 009b5840:PauseScreen::Init 009b7a20:FUN_009b7a20 -00b7e594 gfx/ui/menu_mystuff.png 009b7a20:FUN_009b7a20 009b5840:PauseScreen::Init -00b7e5ac SeedPaper 009b7190:PauseScreen::Render 009b8130:FUN_009b8130 -00b7e5b8 StuffArrow1 009b7f90:PauseScreen::update_stuff_arrows 009b7f90:PauseScreen::update_stuff_arrows 009b83a0:FUN_009b83a0 -00b7e5c4 StuffArrow2 009b7f90:PauseScreen::update_stuff_arrows 009b7f90:PauseScreen::update_stuff_arrows 009b83a0:FUN_009b83a0 +00b7e53c gfx/ui/PauseScreen.anm2 009b5840:PauseScreen::Init 009b7a20:PauseScreen::load_graphics +00b7e554 gfx/ui/PauseScreen_small.anm2 009b5840:PauseScreen::Init 009b7a20:PauseScreen::load_graphics +00b7e574 gfx/ui/PauseScreenStats.anm2 009b5840:PauseScreen::Init 009b7a20:PauseScreen::load_graphics +00b7e594 gfx/ui/menu_mystuff.png 009b7a20:PauseScreen::load_graphics 009b5840:PauseScreen::Init +00b7e5ac SeedPaper 009b7190:PauseScreen::Render 009b8130:PauseScreen::render_seed_paper +00b7e5b8 StuffArrow1 009b7f90:PauseScreen::update_stuff_arrows 009b7f90:PauseScreen::update_stuff_arrows 009b83a0:PauseScreen::render_my_stuff +00b7e5c4 StuffArrow2 009b7f90:PauseScreen::update_stuff_arrows 009b7f90:PauseScreen::update_stuff_arrows 009b83a0:PauseScreen::render_my_stuff 00b7e5d0 PasswordPaper 009b6840:netplay_lobby_menu_update 00b7e5e0 ShowPassword 009b6840:netplay_lobby_menu_update 00b7e5f0 ShowPasswordKey 009b6840:netplay_lobby_menu_update -00b7e600 MyStuff 009b83a0:FUN_009b83a0 +00b7e600 MyStuff 009b83a0:PauseScreen::render_my_stuff 00b7e608 CompletionWidget 009b7409 00b7e61c #QUIT_DAILY_RUN_4 009b5d20:PauseScreen::Update 00b7e630 #QUIT_DAILY_RUN_3 009b5d20:PauseScreen::Update 00b7e644 #QUIT_DAILY_RUN_2 009b5d20:PauseScreen::Update 00b7e658 #QUIT_DAILY_RUN_1 009b5d20:PauseScreen::Update -00b7e66c Invite 009b7680:PauseScreen::Show 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b8990:FUN_009b8990 +00b7e66c Invite 009b7680:PauseScreen::Show 009b6840:netplay_lobby_menu_update 009b6840:netplay_lobby_menu_update 009b8990:PauseScreen::render_lobby_buttons 00b7e674 InviteKey 009b6840:netplay_lobby_menu_update 00b7e680 KickKey 009b6840:netplay_lobby_menu_update 00b7e688 Menu Title 009b7190:PauseScreen::Render -00b7e694 KickButton 009b8990:FUN_009b8990 -00b7e6a0 PasswordButton 009b8990:FUN_009b8990 -00b7e6b0 PasswordPos 009b8990:FUN_009b8990 -00b7e6bc PlayerManager::GetPlayer() : There are no players! \n 009bb840:PlayerManager::trigger_room_clear 0083b850:HUD::update_player_hud_slots 0099b980:GridEntity_Gravity::Update 00703950:Game::GetNearestPlayer 00703950:Game::GetNearestPlayer 009439d0:Camera::update_focus_position 009839f0:GridEntity_PressurePlate::update_greed_button 009839f0:GridEntity_PressurePlate::update_greed_button 009bb960:PlayerManager::trigger_level_start 009bba30:PlayerManager::enter_level 009bba30:PlayerManager::enter_level 009bba30:PlayerManager::enter_level 009bba30:PlayerManager::enter_level 00703ab0:Game::GetNearestPlayerEx 00833c40:Ambush::SpawnBossrushWave 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 009a3eb0:HUD::Render 00463100:NpcAI::ENTITY_ISAAC 0095b310:Manager::update_controller_popups 0095b310:Manager::update_controller_popups 0095b310:Manager::update_controller_popups 0071b410:GridEntity_Rock::SpawnDrops 005cb480:Entity_Player::update_mini_mush_costume 009bb5d0:PlayerManager::Update 009bb5d0:PlayerManager::Update 00703670:Game::ShakeScreen 00833600:Ambush::SpawnWave 0042a8b0:FUN_0042a8b0 00802980:Room::Update 0041ab50:EntityList::query_player_capsule_hits 006d2b50:Entity_NPC::Interpolate 009bac40:PlayerManager::handle_coop_join 009bac40:PlayerManager::handle_coop_join 009bac40:PlayerManager::handle_coop_join 009bac40:PlayerManager::handle_coop_join 009bac40:PlayerManager::handle_coop_join 0065ad30:reroll_entity_to_free_tile 004aafa0:NpcAI::ENTITY_DOGMA 008020d0:Room::update_deaths_list 0058a010:Entity_NPC::Render 00712180:GridEntity_Pit::Update 00712180:GridEntity_Pit::Update 009b23a0:Menu_Options::Update 0042a4d0:FUN_0042a4d0 0042a4d0:FUN_0042a4d0 006fa540:Manager::update_ingame_input 0095a7b0:PlayerManager::unlock_completion_mark 0041a790:EntityList::QueryRadius 00802740:random_position_away_from_players 00579890:NpcAI::ENTITY_REAP_CREEP 008d19a0:FUN_008d19a0 00711950:GridEntity_Lock::Update 00921ce0:NightmareScene::Show 00921ce0:NightmareScene::Show 00541ce0:NpcAI::ENTITY_MEATBALL 00499de0:NpcAI::ENTITY_BUMBINO 00499de0:NpcAI::ENTITY_BUMBINO 00419e70:EntityList::rebuild_sublists 00419e70:EntityList::rebuild_sublists 00419e70:EntityList::rebuild_sublists 00419e70:EntityList::rebuild_sublists 00419e70:EntityList::rebuild_sublists 00419e70:EntityList::rebuild_sublists 00839070:FUN_00839070 00959180:save_rerun_to_steam_cloud 00569170:NpcAI::ENTITY_MOTHER 004291c0:update_cutscene_state_machine 009b92c0:PlayerManager::GetPlayer 004d1290:NpcAI::ENTITY_MOM 004d1290:NpcAI::ENTITY_MOM 006b9740:Entity::IsPlayerInRadius 007597e0:Entity_Player::ConsumableCountChanged 00721780:GridEntity_Web::Update 00830950:RoomTransition::ChangeRoom 009a8a40:FUN_009a8a40 007b0be0:Entity_Player::StoreGameState 007b0be0:Entity_Player::StoreGameState 004f8df0:NpcAI::ENTITY_BOMB_GRIMACE 00930ee0:FUN_00930ee0 00528ec0:NpcHelper::migraine_timer_spawn 00528ec0:NpcHelper::migraine_timer_spawn 00908070:FUN_00908070 006f8140:Game::restore_game_state 004c8090:NpcAI::ENTITY_MEGA_SATAN 00468180:NpcAI::ENTITY_DADDYLONGLEGS 00708250:PlayerManager::GetGFuelCount 007584b0:Entity_Player::InvalidateCoPlayerItems 007584b0:Entity_Player::InvalidateCoPlayerItems 00800500:Room::update_ambient_sounds 009a8620:HUD::AssignPlayerHUDs 004186c0:EntityList::Update 009a0740:HomingLaser::truncate_samples_at_player 00417870:Game::GetPlayer 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 00757ac0:Entity_Player::release_weapons_and_effects 00757ac0:Entity_Player::release_weapons_and_effects 00707ad0:FUN_00707ad0 0096fd60:Entity_Laser::CalculateEndPoint 004f7e60:NpcAI::ENTITY_MORNINGSTAR 0071fef0:GridEntity_TrapDoor::Update 008271e0:Room::UpdateRedKey 009172f0:write_game_state_to_stream 0080f200:Room::Render 0080f200:Room::Render 0080f200:Room::Render 0044f2b0:NpcAI::ENTITY_BEAST_ultra_war_bomb 0079f3c0:Entity_Player::update_ladder 0079f3c0:Entity_Player::update_ladder 009bf530:PlayerManager::restore_controller_assignment 009bf530:PlayerManager::restore_controller_assignment 009bf530:PlayerManager::restore_controller_assignment 007475b0:Level::RestoreGameState 004f76f0:NpcAI::ENTITY_MOCKULUS 006be840:Entity_NPC::GetPlayerTarget 006ae820:Entity::Update 007069a0:Game::GetNearestTargetPlayer 009beba0:players_center_position 009beba0:players_center_position 007a6c50:Entity_Player::room_enter 00706020:Game::rewind 0073e0a0:Level::generate_greed 007fe220:Room::card_against_humanity_fill 006fe2f0:Game::ChangeRoom 006fe410:Game::SpawnEx 007ae4b0:Entity_Player::RestoreGameState 007ae4b0:Entity_Player::RestoreGameState 006f6500:FUN_006f6500 004a6500:NpcAI::ENTITY_DELIRIUM 00715940:GridEntity_Poop::BeginBatches 0098dba0:Game::update_map_input 0098dba0:Game::update_map_input 006ddcd0:Pickup_PickVariant 004cde30:Entity_NPC::update_physics 00535280:NpcAI::ENTITY_SQUIRT 009bd3b0:PlayerManager::spawn_coop_baby_for_join 006b5320:Entity_Tear::reroll_hit_entity 0096d3f0:Entity_Laser::impact_tear_flag_effects 0096d3f0:Entity_Laser::impact_tear_flag_effects 006d5400:Entity_NPC::trigger_kill_item_effects 0064d5f0:FamiliarAI::star_of_bethlehem 006ed690:Entity_Pickup::update_magnet_attraction 006ed690:Entity_Pickup::update_magnet_attraction 006ed690:Entity_Pickup::update_magnet_attraction 009aca90:ItemOverlay::Update 00944a40:Camera::IsPosVisible 00954b40:input_poll_active_device 00644e80:Entity_Familiar::ai_shadow_intruder_damocles 009bc000:PlayerManager::trigger_new_room_effects 00584140:NpcAI::ENTITY_SCOURGE_chain 0042c170:FUN_0042c170 0063c1c0:Entity_Familiar::ai_minisaac 0084c170:FUN_0084c170 00714320:GridEntity_Pit::PostInit 00664560:Entity_Slot::TakeDamage 007bc740:Entity_Player::InitPostLevelInitStats 00934770:Backdrop::PreRenderControls 006f5fb0 006f7c5b 006fe10b 006fe157 006fe234 007a6615 00817071 0082f01e 0090d41e 0090e35e 0090e4fe 00714770:GridEntity_Poop::Update 00714770:GridEntity_Poop::Update 00610540:Entity_Familiar::Kill 00580a4e 0044002e 0063f413 +00b7e694 KickButton 009b8990:PauseScreen::render_lobby_buttons +00b7e6a0 PasswordButton 009b8990:PauseScreen::render_lobby_buttons +00b7e6b0 PasswordPos 009b8990:PauseScreen::render_lobby_buttons +00b7e6bc PlayerManager::GetPlayer() : There are no players! \n 009bb840:PlayerManager::trigger_room_clear 0083b850:HUD::update_player_hud_slots 0099b980:GridEntity_Gravity::Update 00703950:Game::GetNearestPlayer 00703950:Game::GetNearestPlayer 009439d0:Camera::update_focus_position 009839f0:GridEntity_PressurePlate::update_greed_button 009839f0:GridEntity_PressurePlate::update_greed_button 009bb960:PlayerManager::trigger_level_start 009bba30:PlayerManager::enter_level 009bba30:PlayerManager::enter_level 009bba30:PlayerManager::enter_level 009bba30:PlayerManager::enter_level 00703ab0:Game::GetNearestPlayerEx 00833c40:Ambush::SpawnBossrushWave 006bbdc0:Entity_Pickup::Update 006bbdc0:Entity_Pickup::Update 009a3eb0:HUD::Render 00463100:NpcAI::ENTITY_ISAAC 0095b310:Manager::update_controller_popups 0095b310:Manager::update_controller_popups 0095b310:Manager::update_controller_popups 0071b410:GridEntity_Rock::SpawnDrops 005cb480:Entity_Player::update_mini_mush_costume 009bb5d0:PlayerManager::Update 009bb5d0:PlayerManager::Update 00703670:Game::ShakeScreen 00833600:Ambush::SpawnWave 0042a8b0:DeathmatchTypeBase::Update 00802980:Room::Update 0041ab50:EntityList::query_player_capsule_hits 006d2b50:Entity_NPC::Interpolate 009bac40:PlayerManager::handle_coop_join 009bac40:PlayerManager::handle_coop_join 009bac40:PlayerManager::handle_coop_join 009bac40:PlayerManager::handle_coop_join 009bac40:PlayerManager::handle_coop_join 0065ad30:reroll_entity_to_free_tile 004aafa0:NpcAI::ENTITY_DOGMA 008020d0:Room::update_deaths_list 0058a010:Entity_NPC::Render 00712180:GridEntity_Pit::Update 00712180:GridEntity_Pit::Update 009b23a0:Menu_Options::Update 0042a4d0:DeathmatchTypeBase::Init 0042a4d0:DeathmatchTypeBase::Init 006fa540:Manager::update_ingame_input 0095a7b0:PlayerManager::unlock_completion_mark 0041a790:EntityList::QueryRadius 00802740:random_position_away_from_players 00579890:NpcAI::ENTITY_REAP_CREEP 008d19a0:PauseScreen::build_player_user_list 00711950:GridEntity_Lock::Update 00921ce0:NightmareScene::Show 00921ce0:NightmareScene::Show 00541ce0:NpcAI::ENTITY_MEATBALL 00499de0:NpcAI::ENTITY_BUMBINO 00499de0:NpcAI::ENTITY_BUMBINO 00419e70:EntityList::rebuild_sublists 00419e70:EntityList::rebuild_sublists 00419e70:EntityList::rebuild_sublists 00419e70:EntityList::rebuild_sublists 00419e70:EntityList::rebuild_sublists 00419e70:EntityList::rebuild_sublists 00839070:FUN_00839070 00959180:save_rerun_to_steam_cloud 00569170:NpcAI::ENTITY_MOTHER 004291c0:update_cutscene_state_machine 009b92c0:PlayerManager::GetPlayer 004d1290:NpcAI::ENTITY_MOM 004d1290:NpcAI::ENTITY_MOM 006b9740:Entity::IsPlayerInRadius 007597e0:Entity_Player::ConsumableCountChanged 00721780:GridEntity_Web::Update 00830950:RoomTransition::ChangeRoom 009a8a40:FUN_009a8a40 007b0be0:Entity_Player::StoreGameState 007b0be0:Entity_Player::StoreGameState 004f8df0:NpcAI::ENTITY_BOMB_GRIMACE 00930ee0:FUN_00930ee0 00528ec0:NpcHelper::migraine_timer_spawn 00528ec0:NpcHelper::migraine_timer_spawn 00908070:netplay_lost_connection_callback 006f8140:Game::restore_game_state 004c8090:NpcAI::ENTITY_MEGA_SATAN 00468180:NpcAI::ENTITY_DADDYLONGLEGS 00708250:PlayerManager::GetGFuelCount 007584b0:Entity_Player::InvalidateCoPlayerItems 007584b0:Entity_Player::InvalidateCoPlayerItems 00800500:Room::update_ambient_sounds 009a8620:HUD::AssignPlayerHUDs 004186c0:EntityList::Update 009a0740:HomingLaser::truncate_samples_at_player 00417870:Game::GetPlayer 007178c0:GridEntity_Poop::spawn_drops 007178c0:GridEntity_Poop::spawn_drops 00757ac0:Entity_Player::release_weapons_and_effects 00757ac0:Entity_Player::release_weapons_and_effects 00707ad0:r_key_timer_callback 0096fd60:Entity_Laser::CalculateEndPoint 004f7e60:NpcAI::ENTITY_MORNINGSTAR 0071fef0:GridEntity_TrapDoor::Update 008271e0:Room::UpdateRedKey 009172f0:write_game_state_to_stream 0080f200:Room::Render 0080f200:Room::Render 0080f200:Room::Render 0044f2b0:NpcAI::ENTITY_BEAST_ultra_war_bomb 0079f3c0:Entity_Player::update_ladder 0079f3c0:Entity_Player::update_ladder 009bf530:PlayerManager::restore_controller_assignment 009bf530:PlayerManager::restore_controller_assignment 009bf530:PlayerManager::restore_controller_assignment 007475b0:Level::RestoreGameState 004f76f0:NpcAI::ENTITY_MOCKULUS 006be840:Entity_NPC::GetPlayerTarget 006ae820:Entity::Update 007069a0:Game::GetNearestTargetPlayer 009beba0:players_center_position 009beba0:players_center_position 007a6c50:Entity_Player::room_enter 00706020:Game::rewind 0073e0a0:Level::load_room 007fe220:Room::card_against_humanity_fill 006fe2f0:Game::ChangeRoom 006fe410:Game::SpawnEx 007ae4b0:Entity_Player::RestoreGameState 007ae4b0:Entity_Player::RestoreGameState 006f6500:Game::add_players 004a6500:NpcAI::ENTITY_DELIRIUM 00715940:GridEntity_Poop::BeginBatches 0098dba0:Game::update_map_input 0098dba0:Game::update_map_input 006ddcd0:Pickup_PickVariant 004cde30:Entity_NPC::update_physics 00535280:NpcAI::ENTITY_SQUIRT 009bd3b0:PlayerManager::spawn_coop_baby_for_join 006b5320:Entity_Tear::reroll_hit_entity 0096d3f0:Entity_Laser::impact_tear_flag_effects 0096d3f0:Entity_Laser::impact_tear_flag_effects 006d5400:Entity_NPC::trigger_kill_item_effects 0064d5f0:FamiliarAI::star_of_bethlehem 006ed690:Entity_Pickup::update_magnet_attraction 006ed690:Entity_Pickup::update_magnet_attraction 006ed690:Entity_Pickup::update_magnet_attraction 009aca90:ItemOverlay::Update 00944a40:Camera::IsPosVisible 00954b40:input_poll_active_device 00644e80:Entity_Familiar::ai_shadow_intruder_damocles 009bc000:PlayerManager::trigger_new_room_effects 00584140:NpcAI::ENTITY_SCOURGE_chain 0042c170:DeathmatchTypeBase::spawn_random_pickup 0063c1c0:Entity_Familiar::ai_minisaac 0084c170:FUN_0084c170 00714320:GridEntity_Pit::PostInit 00664560:Entity_Slot::TakeDamage 007bc740:Entity_Player::InitPostLevelInitStats 00934770:Backdrop::PreRenderControls 006f5fb0 006f7c5b 006fe10b 006fe157 006fe234 007a6615 00817071 0082f01e 0090d41e 0090e35e 0090e4fe 00714770:GridEntity_Poop::Update 00714770:GridEntity_Poop::Update 00610540:Entity_Familiar::Kill 00580a4e 0044002e 0063f413 00b7e6f4 Clearing player color assignments \n 009b9150:FUN_009b9150 0090e549 00b7e718 Clearing player color assignment for color %d \n 0090e62c 00b7e748 Clearing player color assignment for controllerId %d \n 009ba000:PlayerManager::RemoveCoPlayer @@ -9543,8 +9543,8 @@ z 00b7ed08 Path is incomplete 009bffb0:NpcHelper::path_point_at 00b7ed4c gfx/ui/Popup_Beige.png 009c01d0:Popup::constructor 00b7ed64 gfx/ui/Popup_White.png 009c01d0:Popup::constructor -00b7ed7c ##GAME## 009c27c0:FUN_009c27c0 -00b7ed88 ##PLATFORM## 009c27c0:FUN_009c27c0 +00b7ed7c ##GAME## 009c27c0:Popup::build_lines +00b7ed88 ##PLATFORM## 009c27c0:Popup::build_lines 00b7ed98 ##GAME###PROMPT_OK 009c3c30:MessagePopup::add_ok_button 00b7edac ##GAME###PROMPT_YES 009c3d10:MessagePopup::add_yes_no_buttons 00b7edc0 ##GAME###PROMPT_NO 009c3d10:MessagePopup::add_yes_no_buttons @@ -9557,7 +9557,7 @@ z 00b7eec8 Status 009c51e0:InviteFriendsMenu::Render 00b7eed0 FriendList 009c51e0:InviteFriendsMenu::Render 00b7eedc #Online/NO_ONLINE_FRIENDS 009c51e0:InviteFriendsMenu::Render -00b7eef8 #Online/LOBBY_JOIN_DAILY_CHECK 00912b60:FUN_00912b60 +00b7eef8 #Online/LOBBY_JOIN_DAILY_CHECK 00912b60:NetplayManager::request_join_lobby 00b7ef18 #Online/LOBBY_JOIN_DAILY_DENIED 0090b150:NetplayManager::Update 00b7ef38 #Online/LOBBY_JOIN_DAILY_FAILED 0090b150:NetplayManager::Update 00b7ef58 #Online/LOBBY_JOIN_DAILY_IN_PROGRESS 0090b150:NetplayManager::Update @@ -9568,9 +9568,9 @@ z 00b7f000 [warn] GameState::SaveSteamCloud could not open %s for writing.\n 009cad40:FUN_009cad40 00b7f048 SteamCloud could not find or open %s. No Rerun State detected.\n 009caea0:FUN_009caea0 00b7f088 [warn] GameState::SaveRerunToSteamCloud could not open %s for writing.\n 00959180:save_rerun_to_steam_cloud -00b7f0d0 ISAACNG_GSR%u 009d7d50:GameState::read_rerun 009cc1a0:FUN_009cc1a0 -00b7f0e0 [warn] GameState header is incorrect (%u != %u).\n 009cc1a0:FUN_009cc1a0 -00b7f114 GameState Version Loaded: %u\n 009cc1a0:FUN_009cc1a0 +00b7f0d0 ISAACNG_GSR%u 009d7d50:GameState::read_rerun 009cc1a0:GameState::read +00b7f0e0 [warn] GameState header is incorrect (%u != %u).\n 009cc1a0:GameState::read +00b7f114 GameState Version Loaded: %u\n 009cc1a0:GameState::read 00b7f134 [warn] GameState File %s: Checksum invalid!\n 009d7d50:GameState::read_rerun 00b7f168 [warn] Invalid history count %d. Save file %s might be corrupt.\n 009d2656:GameStatePlayer::read_part3 009d7d50:GameState::read_rerun 00b7f1ac [warn] GameState::Delete: no filename specified.\n 009c8350:GameState::Delete @@ -9612,9 +9612,9 @@ z 00b7f890 Menu_Save Pre Prompt init\n 00b7f8ac Menu_Save loading slot drawings\n 00b7f8d0 gfx/ui/main menu/SaveSelectMenu_Drawing.anm2 009d9560:Menu_Save::LoadGraphics -00b7f900 #SAVE_DATA_CORRUPTED_HAS_BACKUP_LINE_3 009d98f0:FUN_009d98f0 -00b7f928 #SAVE_DATA_CORRUPTED_HAS_BACKUP_LINE_5 009d98f0:FUN_009d98f0 -00b7f950 #SAVE_DATA_CORRUPTED_HAS_BACKUP_LINE_4 009d98f0:FUN_009d98f0 +00b7f900 #SAVE_DATA_CORRUPTED_HAS_BACKUP_LINE_3 009d98f0:Menu_Save::select_slot +00b7f928 #SAVE_DATA_CORRUPTED_HAS_BACKUP_LINE_5 009d98f0:Menu_Save::select_slot +00b7f950 #SAVE_DATA_CORRUPTED_HAS_BACKUP_LINE_4 009d98f0:Menu_Save::select_slot 00b7f978 DeleteConfirmationIdle 009db850:Menu_Save::update_sprites 009db850:Menu_Save::update_sprites 009d9c60:Menu_Save::Update 009d9c60:Menu_Save::Update 009db850:Menu_Save::update_sprites 00b7f990 DeleteConfirmationDissapear 009db850:Menu_Save::update_sprites 009d9c60:Menu_Save::Update 009d9c60:Menu_Save::Update 009d9c60:Menu_Save::Update 009d9c60:Menu_Save::Update 009db850:Menu_Save::update_sprites 00b7f9ac DeleteDeselect 009db850:Menu_Save::update_sprites 009d9c60:Menu_Save::Update 009db850:Menu_Save::update_sprites @@ -9623,13 +9623,13 @@ z 00b7f9dc File3Deselect 009d9c60:Menu_Save::Update 009d9c60:Menu_Save::Update 009d9c60:Menu_Save::Update 00b7f9ec DeleteSelect 009d9c60:Menu_Save::Update 00b7f9fc File1Select 009db850:Menu_Save::update_sprites 009db850:Menu_Save::update_sprites 009dad30:Menu_Save::Reset 009dad30:Menu_Save::Reset 009d9c60:Menu_Save::Update 009dad30:Menu_Save::Reset -00b7fa08 #SAVE_DATA_CORRUPTED_HAS_BACKUP_LINE_2 009d98f0:FUN_009d98f0 -00b7fa30 #SAVE_DATA_CORRUPTED_HAS_BACKUP_LINE_1 009d98f0:FUN_009d98f0 -00b7fa58 #SAVE_DATA_CORRUPTED_NO_BACKUP_LINE_5 009d98f0:FUN_009d98f0 -00b7fa80 #SAVE_DATA_CORRUPTED_NO_BACKUP_LINE_4 009d98f0:FUN_009d98f0 -00b7faa8 #SAVE_DATA_CORRUPTED_NO_BACKUP_LINE_3 009d98f0:FUN_009d98f0 -00b7fad0 #SAVE_DATA_CORRUPTED_NO_BACKUP_LINE_2 009d98f0:FUN_009d98f0 -00b7faf8 #SAVE_DATA_CORRUPTED_NO_BACKUP_LINE_1 009d98f0:FUN_009d98f0 +00b7fa08 #SAVE_DATA_CORRUPTED_HAS_BACKUP_LINE_2 009d98f0:Menu_Save::select_slot +00b7fa30 #SAVE_DATA_CORRUPTED_HAS_BACKUP_LINE_1 009d98f0:Menu_Save::select_slot +00b7fa58 #SAVE_DATA_CORRUPTED_NO_BACKUP_LINE_5 009d98f0:Menu_Save::select_slot +00b7fa80 #SAVE_DATA_CORRUPTED_NO_BACKUP_LINE_4 009d98f0:Menu_Save::select_slot +00b7faa8 #SAVE_DATA_CORRUPTED_NO_BACKUP_LINE_3 009d98f0:Menu_Save::select_slot +00b7fad0 #SAVE_DATA_CORRUPTED_NO_BACKUP_LINE_2 009d98f0:Menu_Save::select_slot +00b7faf8 #SAVE_DATA_CORRUPTED_NO_BACKUP_LINE_1 009d98f0:Menu_Save::select_slot 00b7fb20 DeleteConfirmationAppear 009db850:Menu_Save::update_sprites 009d9c60:Menu_Save::Update 009db850:Menu_Save::update_sprites 00b7fb3c gfx/ui/main menu/SaveDrawings/Beast.png 009db2d0:Menu_Save::replace_slot_graphics 009db2d0:Menu_Save::replace_slot_graphics 00b7fb64 gfx/ui/main menu/SaveDrawings/Dogma.png 009db2d0:Menu_Save::replace_slot_graphics 009db2d0:Menu_Save::replace_slot_graphics @@ -9789,11 +9789,11 @@ z 00b80f40 ##PLATFORM###CONFIRM_EXIT_GAME 009897d0:MenuManager::Update 00b80f60 ##PLATFORM###REPENTANCE_DLC_NOT_INSTALLED 009ef5c0:FUN_009ef5c0 00b80f8c STEAMAPPS_INTERFACE_VERSION008 009ef980:FUN_009ef980 -00b80fb4 Failed to load font: %s \n 009efb60:FUN_009efb60 +00b80fb4 Failed to load font: %s \n 009efb60:RichText::load_font 00b80fd0 redheart 009f1380:rich_text_parse_icon_tag 00b80fe0 blackheart 009f1380:rich_text_parse_icon_tag 00b80fec soulheart 009f1380:rich_text_parse_icon_tag -00b80ff8 gfx/ui/text_icons.anm2 009efb60:FUN_009efb60 +00b80ff8 gfx/ui/text_icons.anm2 009efb60:RichText::load_font 00b81010 Invalid icon id (%d) for Icon Type %d \n 009f2c10:RichTextIcon::set_icon 00b81038 Invalid icon type (%d) for get_animation_name() \n 009f2b10:RichTextIcon::get_animation_name 00b81074 FloatChargedSide 009f4280:Weapon::UpdateHeadChargeAnimation 00b816f4 00b816fc @@ -9821,7 +9821,7 @@ z 00b8172c gfx/promo/gfuel/effects/casing.anm2 00a0a720:Weapon_Tears::Fire 00b81750 gfx/promo/gfuel/effects/muzzle_flash.anm2 00a0a720:Weapon_Tears::Fire 00b8177c Specified color isn't in the RGB color space 00a0f830:FUN_00a0f830 00a0f770:FUN_00a0f770 -00b817ac Specified color isn't in the HSL color space 00a0fb60:FUN_00a0fb60 00a0fdb0:FUN_00a0fdb0 +00b817ac Specified color isn't in the HSL color space 00a0fb60:KColor::hsl_to_rgb 00a0fdb0:FUN_00a0fdb0 00b817dc Specified color isn't in the sRGB color space 00a0f9b0:FUN_00a0f9b0 00a0fa70:FUN_00a0fa70 00b8180c [NET] - 00a112c0:KAGE_LogMessage 00a112c0:KAGE_LogMessage 00b81818 [INFO] - 00a112c0:KAGE_LogMessage 00a112c0:KAGE_LogMessage @@ -9829,10 +9829,10 @@ z 00b81830 [WARN] - 00a112c0:KAGE_LogMessage 00a112c0:KAGE_LogMessage 00b8183c [ASSERT] - 00a112c0:KAGE_LogMessage 00a112c0:KAGE_LogMessage 00b81860 Unknown image format '%d' passed to LoadImage\n 00a11c70:KAGE_Graphics::create_image -00b818c0 Specified palette is larger than 256 texels in size\n 00a12430:FUN_00a12430 -00b818f8 Attempting to set palette on an image that isn't indexed\n 00a12430:FUN_00a12430 -00b81940 KAGE_IndexedTextureShader 00a129a0:FUN_00a129a0 00a18e90:FUN_00a18e90 00a180b0:FUN_00a180b0 -00b8195c %s - Palette 00a12430:FUN_00a12430 +00b818c0 Specified palette is larger than 256 texels in size\n 00a12430:KAGE::Graphics::ImageBase::set_palette +00b818f8 Attempting to set palette on an image that isn't indexed\n 00a12430:KAGE::Graphics::ImageBase::set_palette +00b81940 KAGE_IndexedTextureShader 00a129a0:FUN_00a129a0 00a18e90:KAGE::Graphics::Manager::Init 00a180b0:FUN_00a180b0 +00b8195c %s - Palette 00a12430:KAGE::Graphics::ImageBase::set_palette 00b8196c Attempted to create image larger than max supported size 00a12d50:ImageBase::set_size 00b819a8 GetTexelRegion not implemented. 00a12a80:FUN_00a12a80 00b81a2c Render target stack empty\n 00a13460:FUN_00a13460 00a69760:FUN_00a69760 @@ -9845,33 +9845,33 @@ z 00b81c20 Trying to unlock mutex that has not been initialized 00a23ae0:UserProfile::find_or_create 00a159a0:FUN_00a159a0 00b81c58 Trying to lock mutex that has not been initialized 00a23ae0:UserProfile::find_or_create 00a157f0:KAGE::Mutex::Lock 00b81c8c kage_mount_points.dat 00a167d0:FileSystem::load_mount_points 00a167d0:FileSystem::load_mount_points -00b81d14 Failed to open archive file '%s'\n 00a179c0:FUN_00a179c0 00a179c0:FUN_00a179c0 -00b81d38 Failed to load file %x%x from '%s', checksum is invalid\n 00a179c0:FUN_00a179c0 -00b81d78 Cannot load archive file '%s', maximum number of archive files exceeded\n 00a179c0:FUN_00a179c0 -00b81dc4 Failed to load file %x%x from '%s', hash table is full\n 00a179c0:FUN_00a179c0 +00b81d14 Failed to open archive file '%s'\n 00a179c0:KAGE_Filesys_FileManager::LoadArchiveFile 00a179c0:KAGE_Filesys_FileManager::LoadArchiveFile +00b81d38 Failed to load file %x%x from '%s', checksum is invalid\n 00a179c0:KAGE_Filesys_FileManager::LoadArchiveFile +00b81d78 Cannot load archive file '%s', maximum number of archive files exceeded\n 00a179c0:KAGE_Filesys_FileManager::LoadArchiveFile +00b81dc4 Failed to load file %x%x from '%s', hash table is full\n 00a179c0:KAGE_Filesys_FileManager::LoadArchiveFile 00b81e04 framebuffer still nok after detaching depth buffer, Status %x\n 00a18300:KAGE_Graphics::SetRenderTarget -00b81e50 KAGE_ColorShader 009b31c0:Menu_Options::Render 006b1260:Entity::PostRender 008413a0:HUD_Message::render_text_image 00920940:NightmareScene::Render 00a18e90:FUN_00a18e90 00a180b0:FUN_00a180b0 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 00a1d8f0:render_quad_draw_color_shader 00825de0:Room::render_darkness_overlay 00a1dfd0:render_color_shader_pass 0091d2b0:OnlineChat::render 009956e0:render_color_quad_list 00a1d710:render_color_quad 0068c2e0:Console::Render 0068c2e0:Console::Render +00b81e50 KAGE_ColorShader 009b31c0:Menu_Options::Render 006b1260:Entity::PostRender 008413a0:HUD_Message::render_text_image 00920940:NightmareScene::Render 00a18e90:KAGE::Graphics::Manager::Init 00a180b0:FUN_00a180b0 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 007cfba0:Game::render_debug_player_info 00a1d8f0:render_quad_draw_color_shader 00825de0:Room::render_darkness_overlay 00a1dfd0:render_color_shader_pass 0091d2b0:OnlineChat::render 009956e0:render_color_quad_list 00a1d710:render_color_quad 0068c2e0:Console::Render 0068c2e0:Console::Render 00b81e64 Framebuffer nok Status %x\n 00a18300:KAGE_Graphics::SetRenderTarget 00b81e80 GL_FRAMEBUFFER_UNSUPPORTED\n 00a18300:KAGE_Graphics::SetRenderTarget 00b81e9c No shader set\n 00a189a0:FUN_00a189a0 00a67bd0:KAGE_Graphics::submit_batch 00b81eac Renderbuffer ID: %d size %dx%d\n 00a18750:KAGE_Graphics::update_depth_renderbuffer 00b81ecc Unknwon blend factor specified\n 00a18a20:FUN_00a18a20 00b81eec Unknwon blend function specified\n 00a188f0:FUN_00a188f0 00a67bd0:KAGE_Graphics::submit_batch -00b81f10 \n\nattribute\tvec3\t\t\tPosition;\nattribute\tvec4\t\t\tColor;\n\nvarying\t\tvec4\t\t\tColor0;\n\nuniform\t\tmat4\t\t\tTransform;\n\nvoid\t\tmain( void )\n{\n\tColor0 = Color;\n\tgl_Position = Transform * vec4( Position.xyz, 1.0 );\n}\n\n 00a18e90:FUN_00a18e90 00a180b0:FUN_00a180b0 00b2454c -00b81fe0 \n\nattribute\tvec3\t\t\tPosition;\nattribute\tvec4\t\t\tColor;\nattribute\tvec2\t\t\tTexCoord;\n\nvarying\t\tvec4\t\t\tColor0;\nvarying\t\tvec2\t\t\tTexCoord0;\n\nuniform\t\tmat4\t\t\tTransform;\n\nvoid\t\tmain( void )\n{\n\tgl_Position = Transform * vec4( Position.xyz, 1.0 );\n\tColor0 = Color;\n\tTexCoord0 = TexCoord;\n}\n\n 00a18e90:FUN_00a18e90 00a18e90:FUN_00a18e90 00a180b0:FUN_00a180b0 00a180b0:FUN_00a180b0 00a180b0:FUN_00a180b0 00b24540 -00b820f8 \n\n#ifndef GL_ES\n\t#define lowp\n#endif\n\nvarying\t\tlowp vec4\t\tColor0;\n\nvoid\t\tmain( void )\n{\n\tgl_FragColor = Color0;\n\tif( gl_FragColor.a == 0.0 )\t\tdiscard;\n}\n\n 00a18e90:FUN_00a18e90 00a180b0:FUN_00a180b0 00b24550 -00b82198 \n\n#ifndef GL_ES\n\t#define lowp\n\t#define highp\n#endif\n\nvarying\t\tlowp vec4\t\tColor0;\nvarying\t\thighp vec2\t\tTexCoord0;\n\nuniform\t\tsampler2D\t\tTexture0;\nuniform\t\tsampler2D\t\tTexture1;\n\nvoid\t\tmain( void )\n{\n\tvec4\tPaletteIndex = texture2D( Texture0, TexCoord0 );\n\tvec4\tOutputColor = texture2D( Texture1, PaletteIndex.xy ) * Color0;\n\tif( OutputColor.w == 0.0 )\t\tdiscard;\n\tgl_FragColor = OutputColor;\n}\n\n 00a18e90:FUN_00a18e90 00a180b0:FUN_00a180b0 00b24548 -00b82320 \n\n#ifndef GL_ES\n\t#define lowp\n\t#define highp\n#endif\n\nvarying\t\tlowp vec4\t\tColor0;\nvarying\t\thighp vec2\t\tTexCoord0;\n\nuniform\t\tsampler2D\t\tTexture0;\n\nvoid\t\tmain( void )\n{\n\tgl_FragColor = texture2D( Texture0, TexCoord0 ) * Color0;\n\tif( gl_FragColor.a == 0.0 )\t\tdiscard;\n}\n\n 00a18e90:FUN_00a18e90 00a180b0:FUN_00a180b0 00b24544 +00b81f10 \n\nattribute\tvec3\t\t\tPosition;\nattribute\tvec4\t\t\tColor;\n\nvarying\t\tvec4\t\t\tColor0;\n\nuniform\t\tmat4\t\t\tTransform;\n\nvoid\t\tmain( void )\n{\n\tColor0 = Color;\n\tgl_Position = Transform * vec4( Position.xyz, 1.0 );\n}\n\n 00a18e90:KAGE::Graphics::Manager::Init 00a180b0:FUN_00a180b0 00b2454c +00b81fe0 \n\nattribute\tvec3\t\t\tPosition;\nattribute\tvec4\t\t\tColor;\nattribute\tvec2\t\t\tTexCoord;\n\nvarying\t\tvec4\t\t\tColor0;\nvarying\t\tvec2\t\t\tTexCoord0;\n\nuniform\t\tmat4\t\t\tTransform;\n\nvoid\t\tmain( void )\n{\n\tgl_Position = Transform * vec4( Position.xyz, 1.0 );\n\tColor0 = Color;\n\tTexCoord0 = TexCoord;\n}\n\n 00a18e90:KAGE::Graphics::Manager::Init 00a18e90:KAGE::Graphics::Manager::Init 00a180b0:FUN_00a180b0 00a180b0:FUN_00a180b0 00a180b0:FUN_00a180b0 00b24540 +00b820f8 \n\n#ifndef GL_ES\n\t#define lowp\n#endif\n\nvarying\t\tlowp vec4\t\tColor0;\n\nvoid\t\tmain( void )\n{\n\tgl_FragColor = Color0;\n\tif( gl_FragColor.a == 0.0 )\t\tdiscard;\n}\n\n 00a18e90:KAGE::Graphics::Manager::Init 00a180b0:FUN_00a180b0 00b24550 +00b82198 \n\n#ifndef GL_ES\n\t#define lowp\n\t#define highp\n#endif\n\nvarying\t\tlowp vec4\t\tColor0;\nvarying\t\thighp vec2\t\tTexCoord0;\n\nuniform\t\tsampler2D\t\tTexture0;\nuniform\t\tsampler2D\t\tTexture1;\n\nvoid\t\tmain( void )\n{\n\tvec4\tPaletteIndex = texture2D( Texture0, TexCoord0 );\n\tvec4\tOutputColor = texture2D( Texture1, PaletteIndex.xy ) * Color0;\n\tif( OutputColor.w == 0.0 )\t\tdiscard;\n\tgl_FragColor = OutputColor;\n}\n\n 00a18e90:KAGE::Graphics::Manager::Init 00a180b0:FUN_00a180b0 00b24548 +00b82320 \n\n#ifndef GL_ES\n\t#define lowp\n\t#define highp\n#endif\n\nvarying\t\tlowp vec4\t\tColor0;\nvarying\t\thighp vec2\t\tTexCoord0;\n\nuniform\t\tsampler2D\t\tTexture0;\n\nvoid\t\tmain( void )\n{\n\tgl_FragColor = texture2D( Texture0, TexCoord0 ) * Color0;\n\tif( gl_FragColor.a == 0.0 )\t\tdiscard;\n}\n\n 00a18e90:KAGE::Graphics::Manager::Init 00a180b0:FUN_00a180b0 00b24544 00b824b0 Setting position of window while in fullscreen, is this intended?\n 00a19600:glfw_set_window_pos -00b824f4 Failed to create OpenGL window / context\n 00a19df0:FUN_00a19df0 +00b824f4 Failed to create OpenGL window / context\n 00a19df0:KAGE_Graphics::create_window 00b82520 GLFW Error %d: %s\n 00a19dd0:FUN_00a19dd0 00b82534 GLSL version %s\n -00b82548 OpenGL version %s\n 00a19df0:FUN_00a19df0 +00b82548 OpenGL version %s\n 00a19df0:KAGE_Graphics::create_window 00b8255c Framebuffer ID: %d\n 00b82570 glGenFramebuffers is NULL!\n 00b8258c Setting size of window while in fullscreen, is this intended?\n 00a19450:FUN_00a19450 -00b825cc GLFW failed to initialize\n 00a18e90:FUN_00a18e90 -00b825e8 wglSwapIntervalEXT 00a1a470:FUN_00a1a470 00a7fce0:FUN_00a7fce0 +00b825cc GLFW failed to initialize\n 00a18e90:KAGE::Graphics::Manager::Init +00b825e8 wglSwapIntervalEXT 00a1a470:FUN_00a1a470 00a7fce0:_glfwInitWGL 00b82684 Left Joystick Down 00a1e360:FUN_00a1e360 00b82698 Left Joystick Up 00a1e360:FUN_00a1e360 00b826ac Right Joystick Right 00a1e360:FUN_00a1e360 @@ -9897,8 +9897,8 @@ z 00b82a38 XInput Controller 8 00b82a4c Xbox Controller 00aa8a00:FUN_00aa8a00 00aa8a00:FUN_00aa8a00 00b82a5c Steam Virtual Gamepad -00b82a74 XInput Controller 1 00a22190:FUN_00a22190 00a22190:FUN_00a22190 00a22190:FUN_00a22190 00c57ce8 00b468b0 -00b82a88 Unknown Device 00a22190:FUN_00a22190 00a22190:FUN_00a22190 00a22190:FUN_00a22190 00a22190:FUN_00a22190 00a22190:FUN_00a22190 00a22190:FUN_00a22190 00c57b70 +00b82a74 XInput Controller 1 00a22190:KAGE::Input::InputDeviceGamepad::Init 00a22190:KAGE::Input::InputDeviceGamepad::Init 00a22190:KAGE::Input::InputDeviceGamepad::Init 00c57ce8 00b468b0 +00b82a88 Unknown Device 00a22190:KAGE::Input::InputDeviceGamepad::Init 00a22190:KAGE::Input::InputDeviceGamepad::Init 00a22190:KAGE::Input::InputDeviceGamepad::Init 00a22190:KAGE::Input::InputDeviceGamepad::Init 00a22190:KAGE::Input::InputDeviceGamepad::Init 00a22190:KAGE::Input::InputDeviceGamepad::Init 00c57b70 00b82a98 XInput Controller 3 00b468b8 00b82aac XInput Controller 2 00b468b4 00b82ac0 Playstation Classic Controller @@ -9907,7 +9907,7 @@ z 00b82b04 8Bitdo NES30 00b82b14 Logitech Dual Action 00b82b2c Logitech F310 -00b82b3c Could not find hardware descriptor for gamepad\n 00a22190:FUN_00a22190 +00b82b3c Could not find hardware descriptor for gamepad\n 00a22190:KAGE::Input::InputDeviceGamepad::Init 00b82b6c HORIPAD 00b82b74 Xbox Elite Series 2 00b82b88 Xbox Wireless Controller @@ -9917,7 +9917,7 @@ z 00b82be8 MotioninJoy Virtual DS3 00b82c00 DualSense 00b82c0c DualShock 4 -00b82c20 Gamepad identified as '%s', VendorId = %d, ProductId = %d, Family = %s\n 00a22190:FUN_00a22190 +00b82c20 Gamepad identified as '%s', VendorId = %d, ProductId = %d, Family = %s\n 00a22190:KAGE::Input::InputDeviceGamepad::Init 00b82d18 Invalid heap identifier specified 00a230b0:KAGE_Memory::heap_alloc 00a23160:KAGE_Memory::heap_free 00a68360:FUN_00a68360 00b82d54 steamid 00a23500:FUN_00a23500 00b82d5c Steam User Avatar - %llu 00a23610:KAGE::System::UserProfile::load_steam_avatar @@ -9926,7 +9926,7 @@ z 00b82dd4 SteamFriends017 00a23900:FUN_00a23900 00b82de4 KAGE_UserProfileDefaultIcon 00a617e0:FUN_00a617e0 00a8c430:FUN_00a8c430 00b82e4c Cannot calculate Easter date for year %d 00427870:holiday_get_current -00b82e78 ActionId is out of range\n 00423cc0:PopupButtons::Render 0095b310:Manager::update_controller_popups 008da030:Menu_KeyConfig::update_gamepad_layout 008da510:Menu_KeyConfig::render_gamepad_layout 008d9340:Menu_KeyConfig::Render 008d8b00:Menu_KeyConfig::Update 008d8b00:Menu_KeyConfig::Update 008d8b00:Menu_KeyConfig::Update 008d8b00:Menu_KeyConfig::Update 004307c0:init_engine_parameters 004307c0:init_engine_parameters 00a1f280:KAGE::Input::InputDevice::update 00a1e8d0:FUN_00a1e8d0 00a1e970:FUN_00a1e970 00a1ea20:FUN_00a1ea20 00a1ee10:FUN_00a1ee10 00835820:FUN_00835820 00835820:FUN_00835820 00835ba0:FUN_00835ba0 00835c90:KeyConfigs::apply_to_device 00935010:Backdrop::render_control_icon 00a243c0:FUN_00a243c0 00a24330:FUN_00a24330 00a24370:FUN_00a24370 +00b82e78 ActionId is out of range\n 00423cc0:PopupButtons::Render 0095b310:Manager::update_controller_popups 008da030:Menu_KeyConfig::update_gamepad_layout 008da510:Menu_KeyConfig::render_gamepad_layout 008d9340:Menu_KeyConfig::Render 008d8b00:Menu_KeyConfig::Update 008d8b00:Menu_KeyConfig::Update 008d8b00:Menu_KeyConfig::Update 008d8b00:Menu_KeyConfig::Update 004307c0:init_engine_parameters 004307c0:init_engine_parameters 00a1f280:KAGE::Input::InputDevice::update 00a1e8d0:FUN_00a1e8d0 00a1e970:FUN_00a1e970 00a1ea20:FUN_00a1ea20 00a1ee10:FUN_00a1ee10 00835820:input_config_load_xml_node 00835820:input_config_load_xml_node 00835ba0:FUN_00835ba0 00835c90:KeyConfigs::apply_to_device 00935010:Backdrop::render_control_icon 00a243c0:FUN_00a243c0 00a24330:FUN_00a24330 00a24370:FUN_00a24370 00b82e94 Failed to convert standard button to platform button\n 004307c0:init_engine_parameters 00b82ecc Mapping slot overflow\n 004307c0:init_engine_parameters 004307c0:init_engine_parameters 00b82ee8 SetEngineParameters must be called before calling KAGE::Initialize\n 004307c0:init_engine_parameters @@ -9937,14 +9937,14 @@ z 00b82fd0 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._ !?&-()+: 00a24530:FUN_00a24530 00b8301c %s: It is longer than the allowed size of %d\n 00a24530:FUN_00a24530 00b8304c %s: '%c' in an invalid character\n 00a24530:FUN_00a24530 -00b83070 Specified product version is not valid 00a5f770:FUN_00a5f770 -00b83098 Specified product name is not valid 00a5f770:FUN_00a5f770 -00b830c0 Specified sandbox ID is not valid: It is longer than the allowed size of %d\n 00a5f770:FUN_00a5f770 -00b83110 Specified product ID is not valid: It is longer than the allowed size of %d\n 00a5f770:FUN_00a5f770 -00b83160 Specified client ID is not valid: It is longer than the allowed size of %d\n 00a5f770:FUN_00a5f770 -00b831b0 Specified deployment ID is not valid: It is longer than the allowed size of %d\n 00a5f770:FUN_00a5f770 -00b83200 Specified encryption key is not valid: It is longer than the allowed size of %d\n 00a5f770:FUN_00a5f770 -00b83258 Specified client secret is not valid: It is longer than the allowed size of %d\n 00a5f770:FUN_00a5f770 +00b83070 Specified product version is not valid 00a5f770:KAGE::EosManager::Init +00b83098 Specified product name is not valid 00a5f770:KAGE::EosManager::Init +00b830c0 Specified sandbox ID is not valid: It is longer than the allowed size of %d\n 00a5f770:KAGE::EosManager::Init +00b83110 Specified product ID is not valid: It is longer than the allowed size of %d\n 00a5f770:KAGE::EosManager::Init +00b83160 Specified client ID is not valid: It is longer than the allowed size of %d\n 00a5f770:KAGE::EosManager::Init +00b831b0 Specified deployment ID is not valid: It is longer than the allowed size of %d\n 00a5f770:KAGE::EosManager::Init +00b83200 Specified encryption key is not valid: It is longer than the allowed size of %d\n 00a5f770:KAGE::EosManager::Init +00b83258 Specified client secret is not valid: It is longer than the allowed size of %d\n 00a5f770:KAGE::EosManager::Init 00b832a8 Failed to compile vertex shader '%s'. Errors - \n%s\n 00a246a0:FUN_00a246a0 00b832dc Failed to link shader program '%s'. Errors - \n%s\n 00a246a0:FUN_00a246a0 00b83310 Failed to compile fragment shader '%s'. Errors - \n%s\n 00a246a0:FUN_00a246a0 @@ -10311,45 +10311,45 @@ z 00b9b018 0300000034120000adbe000000000000,vJoy Device,a:b0,b:b1,back:b15,dpdown:b6,dpleft:b7,dpright:b8,dpup:b5,guide:b16,leftshoulder:b9,leftstick:b13,lefttrigger:b11,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b14,righttrigger:b12,rightx:a3,righty:a4,start:b4,x:b2,y:b3,platform:Windows, 00b25140 00b9b138 03000000341a00000608000000000000,Xeox,a:b0,b:b1,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b2,y:b3,platform:Windows, 00b2514c 00b9b258 030000005e040000130b000000000000,Xbox Series Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b10,leftshoulder:b4,leftstick:b8,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b9,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,platform:Windows, 00b25148 -00b9b384 rightshoulder 00a25770:FUN_00a25770 -00b9b394 leftshoulder 00a25770:FUN_00a25770 -00b9b3a4 rightstick 00a25770:FUN_00a25770 -00b9b3b0 leftstick 00a25770:FUN_00a25770 -00b9b3bc dpright 00a25770:FUN_00a25770 -00b9b3cc dpleft 00a25770:FUN_00a25770 -00b9b3d4 dpdown 00a25770:FUN_00a25770 +00b9b384 rightshoulder 00a25770:parseMapping +00b9b394 leftshoulder 00a25770:parseMapping +00b9b3a4 rightstick 00a25770:parseMapping +00b9b3b0 leftstick 00a25770:parseMapping +00b9b3bc dpright 00a25770:parseMapping +00b9b3cc dpleft 00a25770:parseMapping +00b9b3d4 dpdown 00a25770:parseMapping 00b9b3e0 78696e70757404000000000000000000,XInput Flight Stick (GLFW),platform:Windows,a:b0,b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,back:b6,start:b7,leftstick:b8,rightstick:b9,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,dpup:h0.1,dpright:h0.2,dpdown:h0.4,dpleft:h0.8, 00b25174 00b9b508 78696e70757403000000000000000000,XInput Arcade Stick (GLFW),platform:Windows,a:b0,b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,back:b6,start:b7,leftstick:b8,rightstick:b9,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,dpup:h0.1,dpright:h0.2,dpdown:h0.4,dpleft:h0.8, 00b25170 00b9b630 78696e70757406000000000000000000,XInput Guitar (GLFW),platform:Windows,a:b0,b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,back:b6,start:b7,leftstick:b8,rightstick:b9,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,dpup:h0.1,dpright:h0.2,dpdown:h0.4,dpleft:h0.8, 00b2517c 00b9b750 78696e70757405000000000000000000,XInput Dance Pad (GLFW),platform:Windows,a:b0,b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,back:b6,start:b7,leftstick:b8,rightstick:b9,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,dpup:h0.1,dpright:h0.2,dpdown:h0.4,dpleft:h0.8, 00b25178 -00b9b870 platform 00a25770:FUN_00a25770 00a25770:FUN_00a25770 00a25770:FUN_00a25770 +00b9b870 platform 00a25770:parseMapping 00a25770:parseMapping 00a25770:parseMapping 00b9b880 78696e70757408000000000000000000,XInput Drum Kit (GLFW),platform:Windows,a:b0,b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,back:b6,start:b7,leftstick:b8,rightstick:b9,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,dpup:h0.1,dpright:h0.2,dpdown:h0.4,dpleft:h0.8, 00b25180 -00b9b9a0 guide 00a25770:FUN_00a25770 -00b9b9a8 start 00a25770:FUN_00a25770 -00b9b9b0 key <= GLFW_KEY_LAST 00a5e660:FUN_00a5e660 00a25c50:FUN_00a25c50 -00b9b9e0 key >= 0 || key == GLFW_KEY_UNKNOWN 00a5e660:FUN_00a5e660 00a25c50:FUN_00a25c50 -00b9ba28 mods == (mods & GLFW_MOD_MASK) 00a5e660:FUN_00a5e660 00a25c50:FUN_00a25c50 00a25d60:FUN_00a25d60 00a25f20:FUN_00a25f20 00a5bfe7 +00b9b9a0 guide 00a25770:parseMapping +00b9b9a8 start 00a25770:parseMapping +00b9b9b0 key <= GLFW_KEY_LAST 00a5e660:_glfwPollEventsWin32 00a25c50:FUN_00a25c50 +00b9b9e0 key >= 0 || key == GLFW_KEY_UNKNOWN 00a5e660:_glfwPollEventsWin32 00a25c50:FUN_00a25c50 +00b9ba28 mods == (mods & GLFW_MOD_MASK) 00a5e660:_glfwPollEventsWin32 00a25c50:FUN_00a25c50 00a25d60:FUN_00a25d60 00a25f20:FUN_00a25f20 00a5bfe7 00b9ba68 action == GLFW_PRESS || action == GLFW_RELEASE 00a25c50:FUN_00a25c50 00a25f20:FUN_00a25f20 00b9bac8 xoffset > -FLT_MAX 00a25e20:FUN_00a25e20 00b9baf0 plain == GLFW_TRUE || plain == GLFW_FALSE 00a25d60:FUN_00a25d60 00b9bb44 yoffset > -FLT_MAX 00a25e20:FUN_00a25e20 00b9bb6c xoffset < FLT_MAX 00a25e20:FUN_00a25e20 -00b9bb90 righttrigger 00a25770:FUN_00a25770 -00b9bba0 lefttrigger 00a25770:FUN_00a25770 -00b9bbac lefty 00a25770:FUN_00a25770 -00b9bbb4 leftx 00a25770:FUN_00a25770 -00b9bbbc righty 00a25770:FUN_00a25770 -00b9bbc4 rightx 00a25770:FUN_00a25770 -00b9bbcc window != NULL 00a6b0a0:FUN_00a6b0a0 0068b260:Console::Update 00a6a8d0:FUN_00a6a8d0 00a6a870:FUN_00a6a870 00a6a930:FUN_00a6a930 00a82c50:FUN_00a82c50 00a6a7f0:FUN_00a6a7f0 00a6a710:FUN_00a6a710 007b9f60:Entity_Player::GetMouseAimTarget 00a19180:_glfw_context_reset 00a193c0:Window::get_framebuffer_height 00a19340:GraphicsWindow::get_framebuffer_width 00a19530:glfw_get_window_size 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a19600:glfw_set_window_pos 00a18e90:FUN_00a18e90 00a7fb80:FUN_00a7fb80 0086fdb0:Input::IsMouseBtnPressed 0086fe50:Input::GetMousePosition 009ef570:FUN_009ef570 00a26000:FUN_00a26000 00a264f0:glfwGetMouseButton 00a26440:glfwSetInputMode 00a25c50:FUN_00a25c50 00a25d60:FUN_00a25d60 00a25e20:FUN_00a25e20 00a25f20:FUN_00a25f20 00954cd0:Manager::Update 00a6ce70:FUN_00a6ce70 00a6c650:FUN_00a6c650 00a6c650:FUN_00a6c650 -00b9bbf0 C:\nicalis\builderbob\projects\KAGE\Source\Platforms\PC\Shared\Source\External\gl\GLFW_3.4\src\input.c 0068b260:Console::Update 007b9f60:Entity_Player::GetMouseAimTarget 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8270:FUN_00aa8270 0086fdb0:Input::IsMouseBtnPressed 0086fe50:Input::GetMousePosition 00a26000:FUN_00a26000 00a26000:FUN_00a26000 00a26000:FUN_00a26000 00a26000:FUN_00a26000 00a26000:FUN_00a26000 00a26130:FUN_00a26130 00a26130:FUN_00a26130 00a26130:FUN_00a26130 00a26130:FUN_00a26130 00a26130:FUN_00a26130 00a26130:FUN_00a26130 00a264f0:glfwGetMouseButton 00a26440:glfwSetInputMode 00a26620:FUN_00a26620 00a5e660:FUN_00a5e660 00a5e660:FUN_00a5e660 00a5e660:FUN_00a5e660 00a25c50:FUN_00a25c50 00a25c50:FUN_00a25c50 00a25c50:FUN_00a25c50 00a25c50:FUN_00a25c50 00a25c50:FUN_00a25c50 00a25d60:FUN_00a25d60 00a25d60:FUN_00a25d60 00a25d60:FUN_00a25d60 00a25e20:FUN_00a25e20 00a25e20:FUN_00a25e20 00a25e20:FUN_00a25e20 00a25e20:FUN_00a25e20 00a25e20:FUN_00a25e20 00a25f20:FUN_00a25f20 00a25f20:FUN_00a25f20 00a25f20:FUN_00a25f20 00a25f20:FUN_00a25f20 00a25f20:FUN_00a25f20 00954cd0:Manager::Update 00a6ce70:FUN_00a6ce70 00a6c650:FUN_00a6c650 00a6c650:FUN_00a6c650 00aa8c7f 00a5bfe2 00a5c983 00a5c963 +00b9bb90 righttrigger 00a25770:parseMapping +00b9bba0 lefttrigger 00a25770:parseMapping +00b9bbac lefty 00a25770:parseMapping +00b9bbb4 leftx 00a25770:parseMapping +00b9bbbc righty 00a25770:parseMapping +00b9bbc4 rightx 00a25770:parseMapping +00b9bbcc window != NULL 00a6b0a0:FUN_00a6b0a0 0068b260:Console::Update 00a6a8d0:FUN_00a6a8d0 00a6a870:FUN_00a6a870 00a6a930:FUN_00a6a930 00a82c50:FUN_00a82c50 00a6a7f0:FUN_00a6a7f0 00a6a710:FUN_00a6a710 007b9f60:Entity_Player::GetMouseAimTarget 00a19180:_glfw_context_reset 00a193c0:Window::get_framebuffer_height 00a19340:GraphicsWindow::get_framebuffer_width 00a19530:glfw_get_window_size 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a19600:glfw_set_window_pos 00a18e90:KAGE::Graphics::Manager::Init 00a7fb80:FUN_00a7fb80 0086fdb0:Input::IsMouseBtnPressed 0086fe50:Input::GetMousePosition 009ef570:FUN_009ef570 00a26000:FUN_00a26000 00a264f0:glfwGetMouseButton 00a26440:glfwSetInputMode 00a25c50:FUN_00a25c50 00a25d60:FUN_00a25d60 00a25e20:FUN_00a25e20 00a25f20:FUN_00a25f20 00954cd0:Manager::Update 00a6ce70:FUN_00a6ce70 00a6c650:KAGE::Input::InputDeviceKeyboard::update 00a6c650:KAGE::Input::InputDeviceKeyboard::update +00b9bbf0 C:\nicalis\builderbob\projects\KAGE\Source\Platforms\PC\Shared\Source\External\gl\GLFW_3.4\src\input.c 0068b260:Console::Update 007b9f60:Entity_Player::GetMouseAimTarget 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8270:FUN_00aa8270 0086fdb0:Input::IsMouseBtnPressed 0086fe50:Input::GetMousePosition 00a26000:FUN_00a26000 00a26000:FUN_00a26000 00a26000:FUN_00a26000 00a26000:FUN_00a26000 00a26000:FUN_00a26000 00a26130:FUN_00a26130 00a26130:FUN_00a26130 00a26130:FUN_00a26130 00a26130:FUN_00a26130 00a26130:FUN_00a26130 00a26130:FUN_00a26130 00a264f0:glfwGetMouseButton 00a26440:glfwSetInputMode 00a26620:FUN_00a26620 00a5e660:_glfwPollEventsWin32 00a5e660:_glfwPollEventsWin32 00a5e660:_glfwPollEventsWin32 00a25c50:FUN_00a25c50 00a25c50:FUN_00a25c50 00a25c50:FUN_00a25c50 00a25c50:FUN_00a25c50 00a25c50:FUN_00a25c50 00a25d60:FUN_00a25d60 00a25d60:FUN_00a25d60 00a25d60:FUN_00a25d60 00a25e20:FUN_00a25e20 00a25e20:FUN_00a25e20 00a25e20:FUN_00a25e20 00a25e20:FUN_00a25e20 00a25e20:FUN_00a25e20 00a25f20:FUN_00a25f20 00a25f20:FUN_00a25f20 00a25f20:FUN_00a25f20 00a25f20:FUN_00a25f20 00a25f20:FUN_00a25f20 00954cd0:Manager::Update 00a6ce70:FUN_00a6ce70 00a6c650:KAGE::Input::InputDeviceKeyboard::update 00a6c650:KAGE::Input::InputDeviceKeyboard::update 00aa8c7f 00a5bfe2 00a5c983 00a5c963 00b9bcc0 paths != NULL 00a5c988 00b9bcdc count > 0 00a5c968 00b9bcf0 js != NULL 00aa8270:FUN_00aa8270 00a26130:FUN_00a26130 00aa8c84 -00b9bd08 axis < js->axisCount 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 -00b9bd34 axis >= 0 00aa8d90:FUN_00aa8d90 -00b9bd48 value == GLFW_PRESS || value == GLFW_RELEASE 00aa8d90:FUN_00aa8d90 -00b9bda4 button < js->buttonCount 00aa8d90:FUN_00aa8d90 00aa8d90:FUN_00aa8d90 -00b9bdd8 button >= 0 00aa8d90:FUN_00aa8d90 00a25f20:FUN_00a25f20 +00b9bd08 axis < js->axisCount 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 +00b9bd34 axis >= 0 00aa8d90:_glfwPollJoystickWin32 +00b9bd48 value == GLFW_PRESS || value == GLFW_RELEASE 00aa8d90:_glfwPollJoystickWin32 +00b9bda4 button < js->buttonCount 00aa8d90:_glfwPollJoystickWin32 00aa8d90:_glfwPollJoystickWin32 +00b9bdd8 button >= 0 00aa8d90:_glfwPollJoystickWin32 00a25f20:FUN_00a25f20 00b9bdf0 yoffset < FLT_MAX 00a25e20:FUN_00a25e20 00b9be14 xpos > -FLT_MAX 00a26000:FUN_00a26000 00b9be38 button <= GLFW_MOUSE_BUTTON_LAST 00a25f20:FUN_00a25f20 @@ -10373,7 +10373,7 @@ z 00b9c11c category 00a27038:StringTable::load_xml 00a27038:StringTable::load_xml 00a27038:StringTable::load_xml 00a27038:StringTable::load_xml 00a27038:StringTable::load_xml 00b9c128 language 00a27038:StringTable::load_xml 00b9c134 StringTable::InvalidCategory 00a26af0:StringTable::get_string 00a26d30:StringTable::get_string_by_index -00b9c180 Invalid lobby user index 008d19a0:FUN_008d19a0 00a284d0:KAGE::Network::Multiplayer::Lobby::get_member +00b9c180 Invalid lobby user index 008d19a0:PauseScreen::build_player_user_list 00a284d0:KAGE::Network::Multiplayer::Lobby::get_member 00b9c1c0 Attempting to broadcast a message when there is no multiplayer service\n 00a29a40:FUN_00a29a40 00b9c208 Unknown or unsupported service provider type specified\n 0090bbf0:online_lobby_join 00a29370:Multiplayer::set_service_provider 00b9c240 Incorrect number of parameters for user modification command\n 00a28f60:lobby_process_user_commands @@ -10419,7 +10419,7 @@ z 00b9c8c8 GL_APPLE_framebuffer_multisample 00b9c8ec GL_APPLE_texture_range 00b9c904 GL_APPLE_sync -00b9c914 GL_ARB_debug_output 00a6b570:FUN_00a6b570 +00b9c914 GL_ARB_debug_output 00a6b570:_glfwRefreshContextAttribs 00b9c928 GL_ARB_copy_image 00b9c93c GL_ARB_draw_buffers 00b9c950 GL_ARB_direct_state_access @@ -10465,7 +10465,7 @@ z 00b9cd70 GL_ARB_multitexture 00b9cd84 GL_ARB_program_interface_query 00b9cda4 GL_ARB_point_parameters -00b9cdbc GL_ARB_robustness 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 +00b9cdbc GL_ARB_robustness 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs 00b9cdd0 GL_ARB_provoking_vertex 00b9cde8 GL_ARB_texture_multisample 00b9ce04 GL_ARB_texture_compression @@ -10551,7 +10551,7 @@ z 00b9d5f8 GL_EXT_polygon_offset 00b9d610 GL_EXT_provoking_vertex 00b9d628 GL_EXT_primitive_bounding_box -00b9d648 GL_EXT_robustness 00a6b570:FUN_00a6b570 +00b9d648 GL_EXT_robustness 00a6b570:_glfwRefreshContextAttribs 00b9d65c GL_EXT_raster_multisample 00b9d678 GL_EXT_separate_shader_objects 00b9d698 GL_EXT_secondary_color @@ -10725,18 +10725,18 @@ z 00b9e720 GL_SGIX_polynomial_ffd 00b9e738 Attempting to upload score to leaderboard that hasn't been downloaded\n 00a51aa0:FUN_00a51aa0 008eec40:FUN_008eec40 00b9e780 Extra data has been specified but no extra data size has been specified\n 00a51aa0:FUN_00a51aa0 -00b9e7cc Failed to get leaderboard '%s': %s\n 00a51dc0:FUN_00a51dc0 -00b9e7f0 Failed to upload score to leaderboard '%s': %s\n 00a51dc0:FUN_00a51dc0 00a51dc0:FUN_00a51dc0 +00b9e7cc Failed to get leaderboard '%s': %s\n 00a51dc0:leaderboard_request_complete +00b9e7f0 Failed to upload score to leaderboard '%s': %s\n 00a51dc0:leaderboard_request_complete 00a51dc0:leaderboard_request_complete 00b9e820 Attempting to download entries from leaderboard that hasn't been downloaded\n 00a51bb0:FUN_00a51bb0 00a51c60:FUN_00a51c60 00858610:Leaderboard::download_entries 00858610:Leaderboard::download_entries -00b9e870 Failed to download entries from leaderboard '%s': %s\n 00a51dc0:FUN_00a51dc0 00a51dc0:FUN_00a51dc0 -00b9e8a8 Failed to attach UGC to leaderboard '%s': %s\n 00a51dc0:FUN_00a51dc0 -00b9e97c user_join_time 00a52b10:FUN_00a52b10 00a75c10:FUN_00a75c10 +00b9e870 Failed to download entries from leaderboard '%s': %s\n 00a51dc0:leaderboard_request_complete 00a51dc0:leaderboard_request_complete +00b9e8a8 Failed to attach UGC to leaderboard '%s': %s\n 00a51dc0:leaderboard_request_complete +00b9e97c user_join_time 00a52b10:KAGE::Network::Multiplayer::LobbySteam::get_members 00a75c10:FUN_00a75c10 00b9e98c SteamMatchMaking009 00a53860:FUN_00a53860 00b9e9e8 Attempting to apply metadata values to an invalid lobby\n 00a735f1 -00b9ea24 String filter value index out of bounds\n 00a5fba0:FUN_00a5fba0 00a542c0:FUN_00a542c0 -00b9ea50 Number filter value index out of bounds\n 00a5fba0:FUN_00a5fba0 00a542c0:FUN_00a542c0 -00b9ea80 Steam has a maximum of 50 lobby results, the requested amount '(%d)' is above that value so results will be truncated 00a542c0:FUN_00a542c0 -00b9eaf8 Steam does not provide an API for BestMatch using string values\n 00a542c0:FUN_00a542c0 +00b9ea24 String filter value index out of bounds\n 00a5fba0:eos_lobby_search_find 00a542c0:KAGE::Network::MultiplayerManager::request_lobby_list +00b9ea50 Number filter value index out of bounds\n 00a5fba0:eos_lobby_search_find 00a542c0:KAGE::Network::MultiplayerManager::request_lobby_list +00b9ea80 Steam has a maximum of 50 lobby results, the requested amount '(%d)' is above that value so results will be truncated 00a542c0:KAGE::Network::MultiplayerManager::request_lobby_list +00b9eaf8 Steam does not provide an API for BestMatch using string values\n 00a542c0:KAGE::Network::MultiplayerManager::request_lobby_list 00b9eb3c +connect_lobby 00a7e400:FUN_00a7e400 00b9ebfc Attempting to flush to a read-only buffer\n 00a57f80:FUN_00a57f80 00b9ec28 Attempting to rebuffer data on a read-only buffer 00a57fc0:KAGE::Filesys::BufferedStream::rebuffer @@ -10744,14 +10744,14 @@ z 00b9ec98 Attempting to write to a read-only buffer\n 00a583e0:buffered_stream_write 00a57eb0:KAGE::Filesys::BufferedStream::write 00b9ed84 Inconsistent message ID 00a59e50:FUN_00a59e50 00b9ed9c Inconsistent message flags 00a59e50:FUN_00a59e50 -00b9edb8 This function should only be called on consolidated messages 00a73e00:netplay_lobby_host_handle_message 00a73e00:netplay_lobby_host_handle_message 00a73e00:netplay_lobby_host_handle_message 00a73e00:netplay_lobby_host_handle_message 00a73e00:netplay_lobby_host_handle_message 00a73e00:netplay_lobby_host_handle_message 00a73e00:netplay_lobby_host_handle_message 00902010:NetInputDevice::ProcessInputMessage 00902010:NetInputDevice::ProcessInputMessage 008ea6e0:FUN_008ea6e0 00911c70:NetplayManager::update_revives 00a59e20:FUN_00a59e20 00a59270:FUN_00a59270 00a59270:FUN_00a59270 00a59270:FUN_00a59270 00a59270:FUN_00a59270 00a59270:FUN_00a59270 00a59270:FUN_00a59270 00a78e10:netplay_lobby_handle_join_message 00a78e10:netplay_lobby_handle_join_message 00910650:NetplayManager::update_status_messages 00910650:NetplayManager::update_status_messages 008ffaf0:FUN_008ffaf0 0090f760:NetplayManager::process_drop_player_message 0090f760:NetplayManager::process_drop_player_message 0091e980:Camera::UpdateUltrasmooth 0091e980:Camera::UpdateUltrasmooth 008fed60:FUN_008fed60 009163b0:RemovePlayerMessage::read 009163b0:RemovePlayerMessage::read 00916770:NetplayManager::process_lobby_messages 00916770:NetplayManager::process_lobby_messages 00916770:NetplayManager::process_lobby_messages 008fd530:NetplayManager::process_consolidated_messages 0091cb70:online_vote_process_messages 0091cb70:online_vote_process_messages 0091cb70:online_vote_process_messages 008ff70e +00b9edb8 This function should only be called on consolidated messages 00a73e00:netplay_lobby_host_handle_message 00a73e00:netplay_lobby_host_handle_message 00a73e00:netplay_lobby_host_handle_message 00a73e00:netplay_lobby_host_handle_message 00a73e00:netplay_lobby_host_handle_message 00a73e00:netplay_lobby_host_handle_message 00a73e00:netplay_lobby_host_handle_message 00902010:NetInputDevice::ProcessInputMessage 00902010:NetInputDevice::ProcessInputMessage 008ea6e0:FUN_008ea6e0 00911c70:NetplayManager::update_revives 00a59e20:FUN_00a59e20 00a59270:KAGE::Network::Multiplayer::ConnectionBase::handle_internal_message 00a59270:KAGE::Network::Multiplayer::ConnectionBase::handle_internal_message 00a59270:KAGE::Network::Multiplayer::ConnectionBase::handle_internal_message 00a59270:KAGE::Network::Multiplayer::ConnectionBase::handle_internal_message 00a59270:KAGE::Network::Multiplayer::ConnectionBase::handle_internal_message 00a59270:KAGE::Network::Multiplayer::ConnectionBase::handle_internal_message 00a78e10:netplay_lobby_handle_join_message 00a78e10:netplay_lobby_handle_join_message 00910650:NetplayManager::update_status_messages 00910650:NetplayManager::update_status_messages 008ffaf0:FUN_008ffaf0 0090f760:NetplayManager::process_drop_player_message 0090f760:NetplayManager::process_drop_player_message 0091e980:Camera::UpdateUltrasmooth 0091e980:Camera::UpdateUltrasmooth 008fed60:NetDesyncHandler::receive_messages 009163b0:RemovePlayerMessage::read 009163b0:RemovePlayerMessage::read 00916770:NetplayManager::process_lobby_messages 00916770:NetplayManager::process_lobby_messages 00916770:NetplayManager::process_lobby_messages 008fd530:NetplayManager::process_consolidated_messages 0091cb70:online_vote_process_messages 0091cb70:online_vote_process_messages 0091cb70:online_vote_process_messages 008ff70e 00b9edf8 Inconsistent message channel 00a59e50:FUN_00a59e50 00b9ee18 Inconsistent message total count 00a59e50:FUN_00a59e50 00b9ee3c Thread is already running\n 00a62830:FUN_00a62830 00a5a530:FUN_00a5a530 00a5a570:FUN_00a5a570 00b9ee70 %s/%s 00a5a7a0:path_join 00b9ee78 GLFW_ICON 00a5cd20:_glfwCreateWindowWin32 00b9ee8c Win32: Failed to register window class 00a5cd20:_glfwCreateWindowWin32 -00b9eeb4 Win32: Failed to retrieve raw input data 00a5b7b0:FUN_00a5b7b0 +00b9eeb4 Win32: Failed to retrieve raw input data 00a5b7b0:windowProc 00b9eee0 GLFW30 00a5cd20:_glfwCreateWindowWin32 00b9eef0 Win32: Unknown standard cursor 00a5ebb0:FUN_00a5ebb0 00b9ef10 Win32: Failed to create standard cursor 00a5ec2d @@ -10761,10 +10761,10 @@ z 00b9ef90 Win32: Failed to create icon 00a5ab30:glfw_createIcon 00b9efb0 Win32: Failed to create RGBA bitmap 00a5ab30:glfw_createIcon 00b9efd4 Win32: Failed to remove raw input device 00a5b010:FUN_00a5b010 00a5b1d0:FUN_00a5b1d0 -00b9f000 GLFW 00a5b7b0:FUN_00a5b7b0 00a5e660:FUN_00a5e660 00a5d4e0:FUN_00a5d4e0 00a5cd20:_glfwCreateWindowWin32 +00b9f000 GLFW 00a5b7b0:windowProc 00a5e660:_glfwPollEventsWin32 00a5d4e0:FUN_00a5d4e0 00a5cd20:_glfwCreateWindowWin32 00b9f00c Win32: Failed to create cursor 00a5ab30:glfw_createIcon 00b9f02c Win32: Failed to register raw input device 00a5afc0:FUN_00a5afc0 00a5b050:FUN_00a5b050 -00b9f058 Win32: Platform not initialized 008fa390:ModManager::UpdateWorkshopMods 008fa390:ModManager::UpdateWorkshopMods 00a19df0:FUN_00a19df0 00a29370:Multiplayer::set_service_provider 009495f0:Menu_Character::set_character_menu_shown 00a5f090:FUN_00a5f090 00a74e70:FUN_00a74e70 00a74470:FUN_00a74470 00a745a0:FUN_00a745a0 +00b9f058 Win32: Platform not initialized 008fa390:ModManager::UpdateWorkshopMods 008fa390:ModManager::UpdateWorkshopMods 00a19df0:KAGE_Graphics::create_window 00a29370:Multiplayer::set_service_provider 009495f0:Menu_Character::set_character_menu_shown 00a5f090:FUN_00a5f090 00a74e70:FUN_00a74e70 00a74470:FUN_00a74470 00a745a0:FUN_00a745a0 00b9f078 vkCreateWin32SurfaceKHR 00a5f000:FUN_00a5f000 00b9f090 Win32: Failed to create Vulkan surface: %s 00a5f000:FUN_00a5f000 00b9f0bc Win32: Failed to open clipboard 00a5ecd0:FUN_00a5ecd0 00a5ee0f @@ -10802,21 +10802,21 @@ z 00b9f49f SteamUser023 00b9f4ac STEAMVIDEO_INTERFACE_V007 00b9f4c8 SteamUser023 00a5f1a0:FUN_00a5f1a0 -00b9f4d8 localhost 00a703f0:FUN_00a703f0 00a5f1c0:FUN_00a5f1c0 008feaf0:FUN_008feaf0 00a76a20:FUN_00a76a20 00a76c90:FUN_00a76c90 008feaf0:FUN_008feaf0 00a703f0:FUN_00a703f0 00a76a20:FUN_00a76a20 00a76c90:FUN_00a76c90 +00b9f4d8 localhost 00a703f0:eos_user_info_find_or_create 00a5f1c0:FUN_00a5f1c0 008feaf0:FUN_008feaf0 00a76a20:KAGE::Network::Multiplayer::ServiceEOS::on_create_lobby_complete 00a76c90:eos_join_lobby_callback 008feaf0:FUN_008feaf0 00a703f0:eos_user_info_find_or_create 00a76a20:KAGE::Network::Multiplayer::ServiceEOS::on_create_lobby_complete 00a76c90:eos_join_lobby_callback 00b9f508 Logging in to EGS...\n 00a60050:FUN_00a60050 00b9f520 Connecting to EOS...\n 00a61250:FUN_00a61250 00a60100:FUN_00a60100 00a76330:FUN_00a76330 -00b9f538 Failed to add number parameter '%s' to filters list: %s\n 00a5fba0:FUN_00a5fba0 -00b9f574 KAGE_PRESENCE_LOBBY_ID 00a5ffa0:FUN_00a5ffa0 00a7e6e0:FUN_00a7e6e0 00a7e6e0:FUN_00a7e6e0 +00b9f538 Failed to add number parameter '%s' to filters list: %s\n 00a5fba0:eos_lobby_search_find +00b9f574 KAGE_PRESENCE_LOBBY_ID 00a5ffa0:FUN_00a5ffa0 00a7e6e0:eos_friend_lobby_search_start 00a7e6e0:eos_friend_lobby_search_start 00b9f58c Successfully logged in to EGS\n 00a60430:FUN_00a60430 00b9f5ac EGS account has not been linked yet, linking now...\n 00a60430:FUN_00a60430 00b9f5e4 Failed to retrieve user access token: %s\n 00a60100:FUN_00a60100 00b9f610 Successfully connected to EOS\n 00a602f0:FUN_00a602f0 -00b9f630 Failed to initialize EOS: %s\n 00a5f770:FUN_00a5f770 -00b9f650 Failed to acquire EOS platform handle object\n 00a5f770:FUN_00a5f770 -00b9f680 KAGE_EOS_LOBBY_BUCKET_ID 00a5fba0:FUN_00a5fba0 00a765a0:FUN_00a765a0 00a847e0:FUN_00a847e0 00a847e0:FUN_00a847e0 -00b9f69c Failed to add string parameter '%s' to filters list: %s\n 00a5fba0:FUN_00a5fba0 -00b9f6d8 Failed to create lobby search handle: %s\n 00a5fba0:FUN_00a5fba0 -00b9f704 bucket 00a5fba0:FUN_00a5fba0 +00b9f630 Failed to initialize EOS: %s\n 00a5f770:KAGE::EosManager::Init +00b9f650 Failed to acquire EOS platform handle object\n 00a5f770:KAGE::EosManager::Init +00b9f680 KAGE_EOS_LOBBY_BUCKET_ID 00a5fba0:eos_lobby_search_find 00a765a0:FUN_00a765a0 00a847e0:FUN_00a847e0 00a847e0:FUN_00a847e0 +00b9f69c Failed to add string parameter '%s' to filters list: %s\n 00a5fba0:eos_lobby_search_find +00b9f6d8 Failed to create lobby search handle: %s\n 00a5fba0:eos_lobby_search_find +00b9f704 bucket 00a5fba0:eos_lobby_search_find 00b9f70c Failed to get details for presence lobby: %s\n 00a60c50:FUN_00a60c50 00b9f73c Failed to get info for presence lobby: %s\n 00a60c50:FUN_00a60c50 00b9f768 Failed to get details for invitation lobby: %s\n 00a60a70:FUN_00a60a70 @@ -10834,8 +10834,8 @@ z 00b9f9f4 %s_stat 00a61ba0:FUN_00a61ba0 00a61d20:FUN_00a61d20 00b9fa00 Failed to set progress for achievement '%s', the stat '%s' does not exist\n 00a61ba0:FUN_00a61ba0 00b9fa4c Could not retrieve progress for achievement '%s'\n 00a61d20:FUN_00a61d20 -00b9fab4 Theora 00a61f20:FUN_00a61f20 00a8bcf0:FUN_00a8bcf0 -00b9fabc Initializing theoraplayer with theora support. 00a61f20:FUN_00a61f20 +00b9fab4 Theora 00a61f20:theoraplayer::init 00a8bcf0:FUN_00a8bcf0 +00b9fabc Initializing theoraplayer with theora support. 00a61f20:theoraplayer::init 00b9faec Attempting to dlopen() while in the dynamic linker.\n 00a624c0:FUN_00a624c0 00b9fb24 %s() not found in %s: %s\n 00a624c0:FUN_00a624c0 00b9fb40 OpenGL ES 00a62550:epoxy_is_desktop_gl @@ -10847,31 +10847,31 @@ z 00b9fbf8 Width too large to process image data; rowbytes will overflow. 00a63100:FUN_00a63100 00b9fc38 No IDATs written into file 009e8d40:PngWriter::write_end 00b9fc54 Incompatible libpng version in application and library 00a63a10:png_create_write_struct 00a96800:FUN_00a96800 -00b9fc8c Valid palette required for paletted images\n 00a63490:png_write_info_before_PLTE +00b9fc8c Valid palette required for paletted images\n 00a63490:png_write_info 00b9fcb8 zlib error 00a63db0:png_write_flush 00a92640:png_write_zTXt 00a93480:png_write_finish_row 00a94b10:png_write_filtered_row 00b9fcc4 libpng error: %s\n 00a64740:FUN_00a64740 -00b9fcd8 libpng warning: %s\n 00a63a10:png_create_write_struct 00a63a10:png_create_write_struct 00a930b0:FUN_00a930b0 00a931f0:FUN_00a931f0 00a63100:FUN_00a63100 00a63490:png_write_info_before_PLTE 00a63490:png_write_info_before_PLTE 00a92b70:FUN_00a92b70 00a92cb0:FUN_00a92cb0 00a92070:FUN_00a92070 00a921b0:FUN_00a921b0 00a921b0:FUN_00a921b0 00a921b0:FUN_00a921b0 00a921b0:FUN_00a921b0 00a921b0:FUN_00a921b0 00a921b0:FUN_00a921b0 00ab2140:FUN_00ab2140 00ab2140:FUN_00ab2140 00a92520:FUN_00a92520 00a92640:png_write_zTXt 00ab18e0:FUN_00ab18e0 00ab1a50:FUN_00ab1a50 00ab1bc0:FUN_00ab1bc0 00ab1bc0:FUN_00ab1bc0 00ab1bc0:FUN_00ab1bc0 00a91b50:FUN_00a91b50 00a91b50:FUN_00a91b50 00a91dd0:FUN_00a91dd0 00ab1ef0:FUN_00ab1ef0 00a911e0:FUN_00a911e0 00a911e0:FUN_00a911e0 00ab1300:FUN_00ab1300 00ab1540:FUN_00ab1540 00a91610:FUN_00a91610 00a91790:FUN_00a91790 00ab1740:FUN_00ab1740 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images 00ab0fc0:FUN_00ab0fc0 00ab0fc0:FUN_00ab0fc0 00ab0330:FUN_00ab0330 00ab04d0:FUN_00ab04d0 00ab0540:FUN_00ab0540 00ab0540:FUN_00ab0540 009e86e0:png_write_image 009e86e0:png_write_image 00ab06d0:FUN_00ab06d0 00aafdb0:FUN_00aafdb0 00aafdb0:FUN_00aafdb0 00aafed0:png_crc_finish 00a64630:FUN_00a64630 +00b9fcd8 libpng warning: %s\n 00a63a10:png_create_write_struct 00a63a10:png_create_write_struct 00a930b0:FUN_00a930b0 00a931f0:FUN_00a931f0 00a63100:FUN_00a63100 00a63490:png_write_info 00a63490:png_write_info 00a92b70:FUN_00a92b70 00a92cb0:png_write_pCAL 00a92070:FUN_00a92070 00a921b0:png_check_keyword 00a921b0:png_check_keyword 00a921b0:png_check_keyword 00a921b0:png_check_keyword 00a921b0:png_check_keyword 00a921b0:png_check_keyword 00ab2140:png_handle_zTXt 00ab2140:png_handle_zTXt 00a92520:FUN_00a92520 00a92640:png_write_zTXt 00ab18e0:FUN_00ab18e0 00ab1a50:FUN_00ab1a50 00ab1bc0:png_handle_pCAL 00ab1bc0:png_handle_pCAL 00ab1bc0:png_handle_pCAL 00a91b50:png_write_tRNS 00a91b50:png_write_tRNS 00a91dd0:png_write_bKGD 00ab1ef0:FUN_00ab1ef0 00a911e0:png_write_IHDR 00a911e0:png_write_IHDR 00ab1300:png_handle_tRNS 00ab1540:FUN_00ab1540 00a91610:FUN_00a91610 00a91790:png_write_cHRM 00ab1740:FUN_00ab1740 00ab0830:png_handle_cHRM 00ab0830:png_handle_cHRM 00ab0830:png_handle_cHRM 00ab0830:png_handle_cHRM 00ab0fc0:png_handle_sRGB 00ab0fc0:png_handle_sRGB 00ab0330:FUN_00ab0330 00ab04d0:FUN_00ab04d0 00ab0540:FUN_00ab0540 00ab0540:FUN_00ab0540 009e86e0:png_write_image 009e86e0:png_write_image 00ab06d0:FUN_00ab06d0 00aafdb0:FUN_00aafdb0 00aafdb0:FUN_00aafdb0 00aafed0:png_crc_finish 00a64630:FUN_00a64630 00b9fcec Write Error 00a64770:FUN_00a64770 00b9fcf8 Attempted to set both read_data_fn and write_data_fn in 00a63a10:png_create_write_struct 009e86e0:png_write_image -00b9fd30 Call to NULL write function 009e8d40:PngWriter::write_end 00a63490:png_write_info_before_PLTE 00a63db0:png_write_flush 00a91030:FUN_00a91030 00a910c0:png_write_chunk_header 00a91190:FUN_00a91190 00a911e0:FUN_00a911e0 00a91610:FUN_00a91610 00a91b50:FUN_00a91b50 00a91dd0:FUN_00a91dd0 00a92070:FUN_00a92070 00a92520:FUN_00a92520 00a92640:png_write_zTXt 00a92b70:FUN_00a92b70 00a92cb0:FUN_00a92cb0 00a930b0:FUN_00a930b0 00a94b10:png_write_filtered_row +00b9fd30 Call to NULL write function 009e8d40:PngWriter::write_end 00a63490:png_write_info 00a63db0:png_write_flush 00a91030:FUN_00a91030 00a910c0:png_write_chunk_header 00a91190:FUN_00a91190 00a911e0:png_write_IHDR 00a91610:FUN_00a91610 00a91b50:png_write_tRNS 00a91dd0:png_write_bKGD 00a92070:FUN_00a92070 00a92520:FUN_00a92520 00a92640:png_write_zTXt 00a92b70:FUN_00a92b70 00a92cb0:png_write_pCAL 00a930b0:FUN_00a930b0 00a94b10:png_write_filtered_row 00b9fd4c the same structure. Resetting read_data_fn to NULL. 00a63a10:png_create_write_struct 009e86e0:png_write_image -00b9fda8 Invalid mutex object specified 00a2a0b0:Multiplayer::handle_member_status 00a2a5a0:FUN_00a2a5a0 00a51d10:FUN_00a51d10 00a790b0:NetworkManager::get_peer 00a791d0:connection_map_contains 00a79280:FUN_00a79280 00a29740:multiplayer_send_message 00a20fb0:KAGE::Input::Manager::query_devices 00a200a0:FUN_00a200a0 00a20020:KAGE::Input::Manager::get_device_count 00a78160:NetConnection::send_message 00a20240:KAGE::Input::Manager::get_device 00a20390:InputManager::get_device 00a78370:FUN_00a78370 00a204e0:FUN_00a204e0 00a20440:FUN_00a20440 00a70770:FUN_00a70770 00a78770:NetworkManager::receive_message 00a1fc00:KAGE::Input::Manager::update_devices 00a6fe70:eos_user_info_process_pending 00a6f4d0:FUN_00a6f4d0 00a6f440:FUN_00a6f440 00a6f560:FUN_00a6f560 00a76930:FUN_00a76930 00a75900:FUN_00a75900 00a74d10:FUN_00a74d10 -00b9fde0 Failed to load image '%s' because it has a unsupported number of channels (%d)\n 00a65d80:FUN_00a65d80 00a65190:image_load_jpeg 00a64a50:FUN_00a64a50 -00b9fe30 Failed to load image '%s' because bind_texel_data failed\n 00a66cb0:FUN_00a66cb0 00a66180:FUN_00a66180 00a65a60:FUN_00a65a60 00a65d80:FUN_00a65d80 00a65190:image_load_jpeg 00a64a50:FUN_00a64a50 -00b9fe70 Failed to load image '%s' because texel buffer allocation of size %d failed\n 00a66cb0:FUN_00a66cb0 00a66180:FUN_00a66180 00a65a60:FUN_00a65a60 00a65d80:FUN_00a65d80 00a65190:image_load_jpeg 00a64a50:FUN_00a64a50 -00b9fec0 Failed to load image '%s' because the component depth is not 8-bit.\n 00a64a50:FUN_00a64a50 -00b9ff08 Failed to load image '%s' because set_size failed\n 00a66180:FUN_00a66180 00a65a60:FUN_00a65a60 00a65d80:FUN_00a65d80 00a65190:image_load_jpeg 00a64a50:FUN_00a64a50 +00b9fda8 Invalid mutex object specified 00a2a0b0:Multiplayer::handle_member_status 00a2a5a0:FUN_00a2a5a0 00a51d10:FUN_00a51d10 00a790b0:NetworkManager::get_peer 00a791d0:connection_map_contains 00a79280:FUN_00a79280 00a29740:multiplayer_send_message 00a20fb0:KAGE::Input::Manager::query_devices 00a200a0:FUN_00a200a0 00a20020:KAGE::Input::Manager::get_device_count 00a78160:NetConnection::send_message 00a20240:KAGE::Input::Manager::get_device 00a20390:InputManager::get_device 00a78370:KAGE::Network::Multiplayer::ConnectionBase::send_message 00a204e0:FUN_00a204e0 00a20440:FUN_00a20440 00a70770:FUN_00a70770 00a78770:NetworkManager::receive_message 00a1fc00:KAGE::Input::Manager::update_devices 00a6fe70:eos_user_info_process_pending 00a6f4d0:FUN_00a6f4d0 00a6f440:FUN_00a6f440 00a6f560:FUN_00a6f560 00a76930:FUN_00a76930 00a75900:FUN_00a75900 00a74d10:FUN_00a74d10 +00b9fde0 Failed to load image '%s' because it has a unsupported number of channels (%d)\n 00a65d80:KAGE::Graphics::ImagePcx::load 00a65190:KAGE::Graphics::ImageJpg::load 00a64a50:ImagePng::load +00b9fe30 Failed to load image '%s' because bind_texel_data failed\n 00a66cb0:FUN_00a66cb0 00a66180:FUN_00a66180 00a65a60:ImageBmp::load 00a65d80:KAGE::Graphics::ImagePcx::load 00a65190:KAGE::Graphics::ImageJpg::load 00a64a50:ImagePng::load +00b9fe70 Failed to load image '%s' because texel buffer allocation of size %d failed\n 00a66cb0:FUN_00a66cb0 00a66180:FUN_00a66180 00a65a60:ImageBmp::load 00a65d80:KAGE::Graphics::ImagePcx::load 00a65190:KAGE::Graphics::ImageJpg::load 00a64a50:ImagePng::load +00b9fec0 Failed to load image '%s' because the component depth is not 8-bit.\n 00a64a50:ImagePng::load +00b9ff08 Failed to load image '%s' because set_size failed\n 00a66180:FUN_00a66180 00a65a60:ImageBmp::load 00a65d80:KAGE::Graphics::ImagePcx::load 00a65190:KAGE::Graphics::ImageJpg::load 00a64a50:ImagePng::load 00b9ff3c 1.0.2 00a96800:FUN_00a96800 00a96800:FUN_00a96800 -00b9ff44 Failed to load image '%s' due to an internal library error\n 00a65190:image_load_jpeg 00a64a50:FUN_00a64a50 -00ba00b0 Failed to load image '%s' because it has a unsupported number of bits per pixel (%d)\n 00a65a60:FUN_00a65a60 -00ba0108 Failed to load image '%s' because the header type is invalid\n 00a65a60:FUN_00a65a60 -00ba0148 Failed to load image '%s' because compressed bitmaps are not supported\n 00a65a60:FUN_00a65a60 -00ba01f8 Pcx image "%s" has premultiplied alpha but premultipled alpha rendering is not turned on in KAGE\n 00a65d80:FUN_00a65d80 +00b9ff44 Failed to load image '%s' due to an internal library error\n 00a65190:KAGE::Graphics::ImageJpg::load 00a64a50:ImagePng::load +00ba00b0 Failed to load image '%s' because it has a unsupported number of bits per pixel (%d)\n 00a65a60:ImageBmp::load +00ba0108 Failed to load image '%s' because the header type is invalid\n 00a65a60:ImageBmp::load +00ba0148 Failed to load image '%s' because compressed bitmaps are not supported\n 00a65a60:ImageBmp::load +00ba01f8 Pcx image "%s" has premultiplied alpha but premultipled alpha rendering is not turned on in KAGE\n 00a65d80:KAGE::Graphics::ImagePcx::load 00ba0388 Cannot set texel inside an indexed texture 00a66590:FUN_00a66590 00ba03b4 Cannot get texel color from an indexed texture\n 00a66440:FUN_00a66440 00ba0448 Misaligned vertex data 00a67bd0:KAGE_Graphics::submit_batch -00ba04e8 ArchivedFile::refill_buffer LZW compressed buffer overflow.\n 00a69090:FUN_00a69090 00a68cf0:FUN_00a68cf0 -00ba0528 ArchivedFile::refill_buffer MiniZ compressed buffer overflow.\n 00a69090:FUN_00a69090 00a68cf0:FUN_00a68cf0 +00ba04e8 ArchivedFile::refill_buffer LZW compressed buffer overflow.\n 00a69090:KAGE::Filesys::ArchivedFile::refill_buffer 00a68cf0:KAGE::Filesys::ArchivedFile::refill_buffer +00ba0528 ArchivedFile::refill_buffer MiniZ compressed buffer overflow.\n 00a69090:KAGE::Filesys::ArchivedFile::refill_buffer 00a68cf0:KAGE::Filesys::ArchivedFile::refill_buffer 00ba0568 ArchivedFile::Write not implemented.\n 00a69620:FUN_00a69620 00ba0590 ArchivedFile::Flush not implemented.\n 00a69640:FUN_00a69640 00ba05e0 Cannot set texel color of a palette image, use a palette swap to achieve this\n 00a69650:FUN_00a69650 @@ -10883,7 +10883,7 @@ z 00ba0740 A platform-specific error occurred 00a69f60:_glfwInputError 00ba0764 Out of memory 00a69f60:_glfwInputError 00ba0774 The requested API is unavailable 00a69f60:_glfwInputError -00ba0798 Allocation size overflow 00a839e0:FUN_00a839e0 00a82190:FUN_00a82190 00a81980:FUN_00a81980 00a69ef0:_glfw_calloc 00a80ae0:_glfwCreateWideStringFromUTF8Win32 00aa8090:FUN_00aa8090 00a7f340:glfw_choosePixelFormatWGL 00a26240:FUN_00a26240 00a6c200:FUN_00a6c200 00a6c200:FUN_00a6c200 00a6c200:FUN_00a6c200 00ab69e0 00a5c8cc +00ba0798 Allocation size overflow 00a839e0:FUN_00a839e0 00a82190:_glfwGetVideoModesWin32 00a81980:_glfwPollMonitorsWin32 00a69ef0:_glfw_calloc 00a80ae0:_glfwCreateWideStringFromUTF8Win32 00aa8090:FUN_00aa8090 00a7f340:glfw_choosePixelFormatWGL 00a26240:FUN_00a26240 00a6c200:FUN_00a6c200 00a6c200:FUN_00a6c200 00a6c200:FUN_00a6c200 00ab69e0 00a5c8cc 00ba07b4 The specified cursor shape is unavailable 00a69f60:_glfwInputError 00ba07e0 The requested feature cannot be implemented for this platform 00a69f60:_glfwInputError 00ba0820 The requested format is unavailable 00a69f60:_glfwInputError @@ -10891,105 +10891,105 @@ z 00ba0868 ERROR: UNKNOWN GLFW ERROR 00a69f60:_glfwInputError 00ba0888 The requested feature has not yet been implemented for this platform 00a69f60:_glfwInputError 00ba08d0 The requested platform is unavailable 00a69f60:_glfwInputError -00ba08f8 C:\nicalis\builderbob\projects\KAGE\Source\Platforms\PC\Shared\Source\External\gl\GLFW_3.4\src\window.c 00acbf30:FUN_00acbf30 00acbf30:FUN_00acbf30 00acbf30:FUN_00acbf30 00acbf30:FUN_00acbf30 00a6b0a0:FUN_00a6b0a0 00a6b0a0:FUN_00a6b0a0 00a6b0a0:FUN_00a6b0a0 00a6a8d0:FUN_00a6a8d0 00a6a8d0:FUN_00a6a8d0 00a6a870:FUN_00a6a870 00a6a870:FUN_00a6a870 00a6a9b0:FUN_00a6a9b0 00a6a9b0:FUN_00a6a9b0 00a6a9b0:FUN_00a6a9b0 00a6a930:FUN_00a6a930 00a6a930:FUN_00a6a930 00a6a930:FUN_00a6a930 00a6a7f0:FUN_00a6a7f0 00a6a7f0:FUN_00a6a7f0 00a6a7f0:FUN_00a6a7f0 00a6a710:FUN_00a6a710 00a6a710:FUN_00a6a710 00a193c0:Window::get_framebuffer_height 00a19340:GraphicsWindow::get_framebuffer_width 00a19450:FUN_00a19450 00a19450:FUN_00a19450 00a19530:glfw_get_window_size 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a19600:glfw_set_window_pos 00a18e90:FUN_00a18e90 009ef570:FUN_009ef570 -00ba09c8 Invalid window size %ix%i 00a6b0a0:FUN_00a6b0a0 00a6a9b0:FUN_00a6a9b0 -00ba09e4 Invalid window hint 0x%08X 00a6ac80:FUN_00a6ac80 +00ba08f8 C:\nicalis\builderbob\projects\KAGE\Source\Platforms\PC\Shared\Source\External\gl\GLFW_3.4\src\window.c 00acbf30:FUN_00acbf30 00acbf30:FUN_00acbf30 00acbf30:FUN_00acbf30 00acbf30:FUN_00acbf30 00a6b0a0:FUN_00a6b0a0 00a6b0a0:FUN_00a6b0a0 00a6b0a0:FUN_00a6b0a0 00a6a8d0:FUN_00a6a8d0 00a6a8d0:FUN_00a6a8d0 00a6a870:FUN_00a6a870 00a6a870:FUN_00a6a870 00a6a9b0:glfwCreateWindow 00a6a9b0:glfwCreateWindow 00a6a9b0:glfwCreateWindow 00a6a930:FUN_00a6a930 00a6a930:FUN_00a6a930 00a6a930:FUN_00a6a930 00a6a7f0:FUN_00a6a7f0 00a6a7f0:FUN_00a6a7f0 00a6a7f0:FUN_00a6a7f0 00a6a710:FUN_00a6a710 00a6a710:FUN_00a6a710 00a193c0:Window::get_framebuffer_height 00a19340:GraphicsWindow::get_framebuffer_width 00a19450:FUN_00a19450 00a19450:FUN_00a19450 00a19530:glfw_get_window_size 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a196b0:KAGE_Graphics::set_fullscreen 00a19600:glfw_set_window_pos 00a18e90:KAGE::Graphics::Manager::Init 009ef570:FUN_009ef570 +00ba09c8 Invalid window size %ix%i 00a6b0a0:FUN_00a6b0a0 00a6a9b0:glfwCreateWindow +00ba09e4 Invalid window hint 0x%08X 00a6ac80:glfwWindowHint 00ba0a00 yscale < FLT_MAX -00ba0a24 title != NULL 00a6a9b0:FUN_00a6a9b0 -00ba0a40 height >= 0 00acbf30:FUN_00acbf30 00acbf30:FUN_00acbf30 00a6b0a0:FUN_00a6b0a0 00a6a9b0:FUN_00a6a9b0 00a6a930:FUN_00a6a930 00a6a7f0:FUN_00a6a7f0 00a19450:FUN_00a19450 +00ba0a24 title != NULL 00a6a9b0:glfwCreateWindow +00ba0a40 height >= 0 00acbf30:FUN_00acbf30 00acbf30:FUN_00acbf30 00a6b0a0:FUN_00a6b0a0 00a6a9b0:glfwCreateWindow 00a6a930:FUN_00a6a930 00a6a7f0:FUN_00a6a7f0 00a19450:FUN_00a19450 00ba0a58 iconified == GLFW_TRUE || iconified == GLFW_FALSE 00a6a870:FUN_00a6a870 00ba0ac0 focused == GLFW_TRUE || focused == GLFW_FALSE 00a6a710:FUN_00a6a710 -00ba0b1c width >= 0 00acbf30:FUN_00acbf30 00acbf30:FUN_00acbf30 00a6b0a0:FUN_00a6b0a0 00a6a9b0:FUN_00a6a9b0 00a6a930:FUN_00a6a930 00a6a7f0:FUN_00a6a7f0 00a19450:FUN_00a19450 +00ba0b1c width >= 0 00acbf30:FUN_00acbf30 00acbf30:FUN_00acbf30 00a6b0a0:FUN_00a6b0a0 00a6a9b0:glfwCreateWindow 00a6a930:FUN_00a6a930 00a6a7f0:FUN_00a6a7f0 00a19450:FUN_00a19450 00ba0b34 xscale < FLT_MAX 00ba0b58 yscale > 0.f 00ba0b78 maximized == GLFW_TRUE || maximized == GLFW_FALSE 00a6a8d0:FUN_00a6a8d0 00ba0bdc xscale > 0.f 00ba0bf8 Invalid refresh rate %i 00a6b0a0:FUN_00a6b0a0 -00ba0c10 Invalid client API 0x%08X 00a6b1a0:FUN_00a6b1a0 -00ba0c2c Context creation APIs do not match between contexts 00a6b1a0:FUN_00a6b1a0 -00ba0c60 Invalid context creation API 0x%08X 00a6b1a0:FUN_00a6b1a0 -00ba0c88 Context profiles are only defined for OpenGL version 3.2 and above 00a6b1a0:FUN_00a6b1a0 -00ba0cd0 Forward-compatibility is only defined for OpenGL version 3.0 and above 00a6b1a0:FUN_00a6b1a0 -00ba0d18 Invalid OpenGL version %i.%i 00a6b1a0:FUN_00a6b1a0 -00ba0d38 Invalid OpenGL profile 0x%08X 00a6b1a0:FUN_00a6b1a0 -00ba0d58 OpenGL ES version string retrieval is broken 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 -00ba0d88 No version found in OpenGL version string 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 -00ba0db4 Entry point retrieval is broken 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 -00ba0dd4 OpenGL version string retrieval is broken 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 -00ba0e00 Requested OpenGL ES version %i.%i, got version %i.%i 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 -00ba0e38 glGetStringi 00a6b570:FUN_00a6b570 -00ba0e48 No version found in OpenGL ES version string 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 -00ba0e78 Requested OpenGL version %i.%i, got version %i.%i 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 -00ba0eac Invalid context release behavior 0x%08X 00a6b1a0:FUN_00a6b1a0 -00ba0ed4 OpenGL ES-CM 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 -00ba0ee4 Invalid OpenGL ES version %i.%i 00a6b1a0:FUN_00a6b1a0 -00ba0f04 Invalid context robustness mode 0x%08X 00a6b1a0:FUN_00a6b1a0 -00ba0f2c glGetIntegerv 00a6b570:FUN_00a6b570 -00ba0f3c glGetString 00a6b570:FUN_00a6b570 -00ba0f48 OpenGL ES-CL 00a6b570:FUN_00a6b570 -00ba0f58 OpenGL ES 00a6b570:FUN_00a6b570 +00ba0c10 Invalid client API 0x%08X 00a6b1a0:_glfwIsValidContextConfig +00ba0c2c Context creation APIs do not match between contexts 00a6b1a0:_glfwIsValidContextConfig +00ba0c60 Invalid context creation API 0x%08X 00a6b1a0:_glfwIsValidContextConfig +00ba0c88 Context profiles are only defined for OpenGL version 3.2 and above 00a6b1a0:_glfwIsValidContextConfig +00ba0cd0 Forward-compatibility is only defined for OpenGL version 3.0 and above 00a6b1a0:_glfwIsValidContextConfig +00ba0d18 Invalid OpenGL version %i.%i 00a6b1a0:_glfwIsValidContextConfig +00ba0d38 Invalid OpenGL profile 0x%08X 00a6b1a0:_glfwIsValidContextConfig +00ba0d58 OpenGL ES version string retrieval is broken 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs +00ba0d88 No version found in OpenGL version string 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs +00ba0db4 Entry point retrieval is broken 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs +00ba0dd4 OpenGL version string retrieval is broken 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs +00ba0e00 Requested OpenGL ES version %i.%i, got version %i.%i 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs +00ba0e38 glGetStringi 00a6b570:_glfwRefreshContextAttribs +00ba0e48 No version found in OpenGL ES version string 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs +00ba0e78 Requested OpenGL version %i.%i, got version %i.%i 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs +00ba0eac Invalid context release behavior 0x%08X 00a6b1a0:_glfwIsValidContextConfig +00ba0ed4 OpenGL ES-CM 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs +00ba0ee4 Invalid OpenGL ES version %i.%i 00a6b1a0:_glfwIsValidContextConfig +00ba0f04 Invalid context robustness mode 0x%08X 00a6b1a0:_glfwIsValidContextConfig +00ba0f2c glGetIntegerv 00a6b570:_glfwRefreshContextAttribs +00ba0f3c glGetString 00a6b570:_glfwRefreshContextAttribs +00ba0f48 OpenGL ES-CL 00a6b570:_glfwRefreshContextAttribs +00ba0f58 OpenGL ES 00a6b570:_glfwRefreshContextAttribs 00ba0f64 Extension string retrieval is broken 00a6bc50:FUN_00a6bc50 00ba0f90 Cannot query extension without a current OpenGL or OpenGL ES context 00a6bc50:FUN_00a6bc50 00ba0fd8 Extension name cannot be an empty string 00a6bc50:FUN_00a6bc50 -00ba1004 glClear 00a6b570:FUN_00a6b570 -00ba1010 Cannot make current with a window that has no OpenGL or OpenGL ES context 00a6bbb0:FUN_00a6bbb0 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 00a19df0:FUN_00a19df0 -00ba105c GL_ARB_compatibility 00a6b570:FUN_00a6b570 -00ba1074 GL_KHR_context_flush_control 00a6b570:FUN_00a6b570 +00ba1004 glClear 00a6b570:_glfwRefreshContextAttribs +00ba1010 Cannot make current with a window that has no OpenGL or OpenGL ES context 00a6bbb0:FUN_00a6bbb0 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs 00a19df0:KAGE_Graphics::create_window +00ba105c GL_ARB_compatibility 00a6b570:_glfwRefreshContextAttribs +00ba1074 GL_KHR_context_flush_control 00a6b570:_glfwRefreshContextAttribs 00ba1098 Cannot set swap interval without a current OpenGL or OpenGL ES context 00a1a470:FUN_00a1a470 00ba10e0 extension != NULL 00a6bc50:FUN_00a6bc50 00ba1108 C:\nicalis\builderbob\projects\KAGE\Source\Platforms\PC\Shared\Source\External\gl\GLFW_3.4\src\context.c 00a6bc50:FUN_00a6bc50 00a19180:_glfw_context_reset 00ba11e0 Cannot swap buffers of a window that has no OpenGL or OpenGL ES context 00a19180:_glfw_context_reset -00ba1228 monitor != NULL 00acbc10:FUN_00acbc10 00a6beb0:FUN_00a6beb0 00a5b6a0:FUN_00a5b6a0 00a5b720:FUN_00a5b720 00a1a2e0:window_get_current_monitor 00a1a2e0:window_get_current_monitor 00a196b0:KAGE_Graphics::set_fullscreen 00925ce0:OptionsConfig::set_vsync -00ba1248 action == GLFW_CONNECTED || action == GLFW_DISCONNECTED 00a6beb0:FUN_00a6beb0 -00ba12b8 C:\nicalis\builderbob\projects\KAGE\Source\Platforms\PC\Shared\Source\External\gl\GLFW_3.4\src\monitor.c 00acbc10:FUN_00acbc10 00a6beb0:FUN_00a6beb0 00a6beb0:FUN_00a6beb0 00a6beb0:FUN_00a6beb0 00a5b6a0:FUN_00a5b6a0 00a5b720:FUN_00a5b720 00a1a2e0:window_get_current_monitor 00a1a2e0:window_get_current_monitor 00a196b0:KAGE_Graphics::set_fullscreen 00925ce0:OptionsConfig::set_vsync -00ba1390 placement == _GLFW_INSERT_FIRST || placement == _GLFW_INSERT_LAST 00a6beb0:FUN_00a6beb0 -00ba1414 Equals 00a6c960:FUN_00a6c960 -00ba141c L Curly 00a6c960:FUN_00a6c960 -00ba1424 Slash 00a6c960:FUN_00a6c960 -00ba142c Semicolon 00a6c960:FUN_00a6c960 -00ba1438 Grave 00a6c960:FUN_00a6c960 -00ba1440 SQUIGGLE! 00a6c960:FUN_00a6c960 -00ba144c Backslash 00a6c960:FUN_00a6c960 -00ba1458 R Brace 00a6c960:FUN_00a6c960 -00ba1460 Space 00a6c960:FUN_00a6c960 -00ba1468 Minus 00a6c960:FUN_00a6c960 -00ba1470 Period 00a6c960:FUN_00a6c960 -00ba1478 Quote 00a6c960:FUN_00a6c960 -00ba1480 Comma 00a6c960:FUN_00a6c960 -00ba1488 Squirrel 00a6c960:FUN_00a6c960 -00ba1494 Num Lock 00a6c960:FUN_00a6c960 -00ba14a8 CAPS LOCK 00a6c960:FUN_00a6c960 -00ba14bc PRTSCN 00a6c960:FUN_00a6c960 -00ba14c8 Enter 00a6c960:FUN_00a6c960 -00ba14d0 Backspace 00a6c960:FUN_00a6c960 -00ba14dc World 00a6c960:FUN_00a6c960 -00ba14f8 Insert 00a6c960:FUN_00a6c960 -00ba1500 Delete 00a6c960:FUN_00a6c960 -00ba1548 Numpad 4 00a6c960:FUN_00a6c960 -00ba1554 Numpad 5 00a6c960:FUN_00a6c960 -00ba1560 Numpad 2 00a6c960:FUN_00a6c960 -00ba156c Numpad 3 00a6c960:FUN_00a6c960 -00ba1578 Numpad 8 00a6c960:FUN_00a6c960 -00ba1584 Numpad 9 00a6c960:FUN_00a6c960 -00ba1590 Numpad 6 00a6c960:FUN_00a6c960 -00ba159c Numpad 7 00a6c960:FUN_00a6c960 -00ba15b8 Numpad 0 00a6c960:FUN_00a6c960 -00ba15c4 Numpad 1 00a6c960:FUN_00a6c960 -00ba15d8 L OS Key 00a6c960:FUN_00a6c960 -00ba15e4 R Shift 00a6c960:FUN_00a6c960 -00ba15ec L Ctrl 00a6c960:FUN_00a6c960 -00ba15f4 L Alt 00a6c960:FUN_00a6c960 -00ba15fc R OS Key 00a6c960:FUN_00a6c960 -00ba1608 R Ctrl 00a6c960:FUN_00a6c960 -00ba1610 R Alt 00a6c960:FUN_00a6c960 -00ba1618 Numpad x 00a6c960:FUN_00a6c960 -00ba1624 Numpad - 00a6c960:FUN_00a6c960 -00ba1630 Numpad . 00a6c960:FUN_00a6c960 -00ba163c Numpad / 00a6c960:FUN_00a6c960 -00ba1648 Numpad = 00a6c960:FUN_00a6c960 -00ba1654 L Shift 00a6c960:FUN_00a6c960 -00ba165c Numpad + 00a6c960:FUN_00a6c960 -00ba1668 Num Enter 00a6c960:FUN_00a6c960 +00ba1228 monitor != NULL 00acbc10:FUN_00acbc10 00a6beb0:_glfwInputMonitor 00a5b6a0:FUN_00a5b6a0 00a5b720:FUN_00a5b720 00a1a2e0:window_get_current_monitor 00a1a2e0:window_get_current_monitor 00a196b0:KAGE_Graphics::set_fullscreen 00925ce0:OptionsConfig::set_vsync +00ba1248 action == GLFW_CONNECTED || action == GLFW_DISCONNECTED 00a6beb0:_glfwInputMonitor +00ba12b8 C:\nicalis\builderbob\projects\KAGE\Source\Platforms\PC\Shared\Source\External\gl\GLFW_3.4\src\monitor.c 00acbc10:FUN_00acbc10 00a6beb0:_glfwInputMonitor 00a6beb0:_glfwInputMonitor 00a6beb0:_glfwInputMonitor 00a5b6a0:FUN_00a5b6a0 00a5b720:FUN_00a5b720 00a1a2e0:window_get_current_monitor 00a1a2e0:window_get_current_monitor 00a196b0:KAGE_Graphics::set_fullscreen 00925ce0:OptionsConfig::set_vsync +00ba1390 placement == _GLFW_INSERT_FIRST || placement == _GLFW_INSERT_LAST 00a6beb0:_glfwInputMonitor +00ba1414 Equals 00a6c960:keyboard_key_names_init +00ba141c L Curly 00a6c960:keyboard_key_names_init +00ba1424 Slash 00a6c960:keyboard_key_names_init +00ba142c Semicolon 00a6c960:keyboard_key_names_init +00ba1438 Grave 00a6c960:keyboard_key_names_init +00ba1440 SQUIGGLE! 00a6c960:keyboard_key_names_init +00ba144c Backslash 00a6c960:keyboard_key_names_init +00ba1458 R Brace 00a6c960:keyboard_key_names_init +00ba1460 Space 00a6c960:keyboard_key_names_init +00ba1468 Minus 00a6c960:keyboard_key_names_init +00ba1470 Period 00a6c960:keyboard_key_names_init +00ba1478 Quote 00a6c960:keyboard_key_names_init +00ba1480 Comma 00a6c960:keyboard_key_names_init +00ba1488 Squirrel 00a6c960:keyboard_key_names_init +00ba1494 Num Lock 00a6c960:keyboard_key_names_init +00ba14a8 CAPS LOCK 00a6c960:keyboard_key_names_init +00ba14bc PRTSCN 00a6c960:keyboard_key_names_init +00ba14c8 Enter 00a6c960:keyboard_key_names_init +00ba14d0 Backspace 00a6c960:keyboard_key_names_init +00ba14dc World 00a6c960:keyboard_key_names_init +00ba14f8 Insert 00a6c960:keyboard_key_names_init +00ba1500 Delete 00a6c960:keyboard_key_names_init +00ba1548 Numpad 4 00a6c960:keyboard_key_names_init +00ba1554 Numpad 5 00a6c960:keyboard_key_names_init +00ba1560 Numpad 2 00a6c960:keyboard_key_names_init +00ba156c Numpad 3 00a6c960:keyboard_key_names_init +00ba1578 Numpad 8 00a6c960:keyboard_key_names_init +00ba1584 Numpad 9 00a6c960:keyboard_key_names_init +00ba1590 Numpad 6 00a6c960:keyboard_key_names_init +00ba159c Numpad 7 00a6c960:keyboard_key_names_init +00ba15b8 Numpad 0 00a6c960:keyboard_key_names_init +00ba15c4 Numpad 1 00a6c960:keyboard_key_names_init +00ba15d8 L OS Key 00a6c960:keyboard_key_names_init +00ba15e4 R Shift 00a6c960:keyboard_key_names_init +00ba15ec L Ctrl 00a6c960:keyboard_key_names_init +00ba15f4 L Alt 00a6c960:keyboard_key_names_init +00ba15fc R OS Key 00a6c960:keyboard_key_names_init +00ba1608 R Ctrl 00a6c960:keyboard_key_names_init +00ba1610 R Alt 00a6c960:keyboard_key_names_init +00ba1618 Numpad x 00a6c960:keyboard_key_names_init +00ba1624 Numpad - 00a6c960:keyboard_key_names_init +00ba1630 Numpad . 00a6c960:keyboard_key_names_init +00ba163c Numpad / 00a6c960:keyboard_key_names_init +00ba1648 Numpad = 00a6c960:keyboard_key_names_init +00ba1654 L Shift 00a6c960:keyboard_key_names_init +00ba165c Numpad + 00a6c960:keyboard_key_names_init +00ba1668 Num Enter 00a6c960:keyboard_key_names_init 00ba1710 Message 00a6d1ce 00a6d187 00ba1718 Failed to create register class for joystick autodetect 00a6d1b0 00ba1750 XInput1_4.dll 00a6cf80:FUN_00a6cf80 @@ -10997,7 +10997,7 @@ z 00ba1774 Failed to create message window for joystick autodetect 00a6d1e4 00ba17ac Failed to create notify device for joystick autodetect 00a6d242 00ba17e4 Gamepad_init fatal error: Couldn't load DINPUT8.dll \n -00ba181c DirectInput8Create 00a80530:FUN_00a80530 +00ba181c DirectInput8Create 00a80530:loadLibraries 00ba1830 XInputGetCapabilitiesEx_proc function not found in the XInput DLL. \n 00ba1878 DINPUT8.dll 00ba1884 Raw Device Info: %s \n @@ -11008,9 +11008,9 @@ z 00ba1960 Using XInput 1.4 \n 00a6cf80:FUN_00a6cf80 00a6cf80:FUN_00a6cf80 00ba1974 XInput1_3.dll 00a6cf80:FUN_00a6cf80 00ba1984 XInputSetState -00ba1994 XInputGetCapabilities 00a80530:FUN_00a80530 +00ba1994 XInputGetCapabilities 00a80530:loadLibraries 00ba19b0 Gamepad_init couldn't load XInput1_4.dll or XInput1_3.dll; proceeding with DInput only\n 00a6cf80:FUN_00a6cf80 -00ba1a08 XInputGetState 00a80530:FUN_00a80530 +00ba1a08 XInputGetState 00a80530:loadLibraries 00ba1a18 Warning: IDirectInput_EnumDevices returned 0x%X\n 00a6dab0:FUN_00a6dab0 00ba1a4c Using XInput to initalize new device \n 00a6dab0:FUN_00a6dab0 00ba1a74 Warning: IDirectInputDevice8_SetDataFormat returned 0x%X\n 00a6d833 @@ -11018,7 +11018,7 @@ z 00ba1ae8 XInputGetCapabilitiesEx_proc() returned error %d, unable to retrieve Vendor or Product ID for device. (This happens when Steam overrides the device to be an generic XInput device) \n 00ba1ba0 Device is compatible with XInput \n 00ba1bc4 Device is not compatible with XInput \n 00a6d6dc -00ba1bec Warning: IDIrectInputDevice8_SetProperty returned 0x%X\n 00a6d2c0:FUN_00a6d2c0 00a6d2c0:FUN_00a6d2c0 +00ba1bec Warning: IDIrectInputDevice8_SetProperty returned 0x%X\n 00a6d2c0:deviceObjectCallback 00a6d2c0:deviceObjectCallback 00ba1c24 DInput checking if device supports XInput (v = %d, p = %d) \n 00a6d560:FUN_00a6d560 00ba1c64 Warning: IDirectInputDevice8_QueryInterface returned 0x%X\n 00a6d7da 00ba1ca0 Warning: IDirectInputDevice8_SetCooperativeLevel returned 0x%X\n 00a6d810 @@ -11080,9 +11080,9 @@ z 00ba2050 Axis 8+ 00a2269d 00ba2058 Axis 7- 00a22682 00ba2060 Axis 7+ 00a2268b -00ba2068 Nintendo 00a22190:FUN_00a22190 00a22190:FUN_00a22190 -00ba2074 Unrecognized 00a22190:FUN_00a22190 00a22190:FUN_00a22190 -00ba208c PlayStation 00a22190:FUN_00a22190 00a22190:FUN_00a22190 +00ba2068 Nintendo 00a22190:KAGE::Input::InputDeviceGamepad::Init 00a22190:KAGE::Input::InputDeviceGamepad::Init +00ba2074 Unrecognized 00a22190:KAGE::Input::InputDeviceGamepad::Init 00a22190:KAGE::Input::InputDeviceGamepad::Init +00ba208c PlayStation 00a22190:KAGE::Input::InputDeviceGamepad::Init 00a22190:KAGE::Input::InputDeviceGamepad::Init 00ba2098 Axis 14- 00a22700 00ba20a4 Axis 14+ 00a22709 00ba20b0 Axis 13- 00a226ee @@ -11092,39 +11092,39 @@ z 00ba20e0 Axis 15- 00a22712 00ba20ec Axis 15+ 00a2271b 00ba2134 Unknown EOS platform\n 00a233c0:FUN_00a233c0 -00ba214c Failed to retrieve product ID mapping: %s\n 00a6fa10:FUN_00a6fa10 +00ba214c Failed to retrieve product ID mapping: %s\n 00a6fa10:eos_on_query_product_user_id_mappings 00ba2178 Failed to retrieve user presence info: %s\n 00a6fe30:FUN_00a6fe30 -00ba21a4 Unsupported platform for user\n 00a6fa10:FUN_00a6fa10 +00ba21a4 Unsupported platform for user\n 00a6fa10:eos_on_query_product_user_id_mappings 00ba21c4 Failed to retrieve account ID mapping: %s\n 00a6fc30:FUN_00a6fc30 00ba21f0 KAGE has already been initialized\n 00a710a0:KAGE::System::Init 00ba225c Incorrect number of parameters for create lobby command\n 00a73438 00ba2298 Incorrect number of parameters for join lobby command\n 00a734e4 00a73476 00ba22f0 Failed to send localhost data, result = %s\n 00a74470:FUN_00a74470 -00ba231c process_name 00a74a40:FUN_00a74a40 00a74a40:FUN_00a74a40 +00ba231c process_name 00a74a40:KAGE::Network::Multiplayer::ServiceLocalhost::request_lobby_list 00a74a40:KAGE::Network::Multiplayer::ServiceLocalhost::request_lobby_list 00ba2334 Packet was actively rejected 00a74470:FUN_00a74470 00ba2354 Trying to add a redundant network connection\n 00a76930:FUN_00a76930 00a75900:FUN_00a75900 00a74d10:FUN_00a74d10 00ba2428 SteamNetworking006 00a76090:FUN_00a76090 00ba2480 KAGE_P2P_SOCKET_ID 00a76420:FUN_00a76420 00ba2494 Failed to send P2P data: %s\n 00a76420:FUN_00a76420 -00ba24b4 user_name 00a772a0:FUN_00a772a0 00a776a0:FUN_00a776a0 00a76a20:FUN_00a76a20 00a76c90:FUN_00a76c90 -00ba24c0 Failed to create EOS lobby: %s\n 00a76a20:FUN_00a76a20 -00ba24e8 user_id 00a772a0:FUN_00a772a0 00a776a0:FUN_00a776a0 00a76a20:FUN_00a76a20 00a76c90:FUN_00a76c90 -00ba24f0 Failed to join EOS lobby: %s\n 00a76c90:FUN_00a76c90 +00ba24b4 user_name 00a772a0:KAGE::Network::Multiplayer::ServiceEOS::load_lobby_member_attributes 00a776a0:eos_lobby_member_on_user_info 00a76a20:KAGE::Network::Multiplayer::ServiceEOS::on_create_lobby_complete 00a76c90:eos_join_lobby_callback +00ba24c0 Failed to create EOS lobby: %s\n 00a76a20:KAGE::Network::Multiplayer::ServiceEOS::on_create_lobby_complete +00ba24e8 user_id 00a772a0:KAGE::Network::Multiplayer::ServiceEOS::load_lobby_member_attributes 00a776a0:eos_lobby_member_on_user_info 00a76a20:KAGE::Network::Multiplayer::ServiceEOS::on_create_lobby_complete 00a76c90:eos_join_lobby_callback +00ba24f0 Failed to join EOS lobby: %s\n 00a76c90:eos_join_lobby_callback 00ba2598 configuration->stretched_kernel_radius_delta < CLOWNRESAMPLER_TO_FIXED_POINT_FROM_INTEGER(1) 00a79f40:FUN_00a79f40 -00ba2658 min_relative <= configuration->integer_stretched_kernel_radius 00a79ff0:FUN_00a79ff0 -00ba26d8 C:\nicalis\builderbob\projects\KAGE\Source\Core\External\clownresampler.h 00a79ff0:FUN_00a79ff0 00a79ff0:FUN_00a79ff0 00a79ff0:FUN_00a79ff0 00a79f40:FUN_00a79f40 004069e0:FUN_004069e0 +00ba2658 min_relative <= configuration->integer_stretched_kernel_radius 00a79ff0:ClownResampler_LowLevel_Resample +00ba26d8 C:\nicalis\builderbob\projects\KAGE\Source\Core\External\clownresampler.h 00a79ff0:ClownResampler_LowLevel_Resample 00a79ff0:ClownResampler_LowLevel_Resample 00a79ff0:ClownResampler_LowLevel_Resample 00a79f40:FUN_00a79f40 004069e0:FUN_004069e0 00ba2770 CLOWNRESAMPLER_FABS(x) <= kernel_radius 004069e0:FUN_004069e0 -00ba27c0 Organya track uses unsupported drum type: Instrument Index = %d, Drum Type = %d\n 00a7a510:FUN_00a7a510 -00ba2818 max_relative <= configuration->integer_stretched_kernel_radius 00a79ff0:FUN_00a79ff0 -00ba2898 kernel_index < CLOWNRESAMPLER_COUNT_OF(precomputed->lanczos_kernel_table) 00a79ff0:FUN_00a79ff0 -00ba292c Not enough memory to load WAV file: %s\n 00a7b6a0:FUN_00a7b6a0 -00ba2a64 Could not decode OGG file %s.\n 00a7bd80:FUN_00a7bd80 -00ba2a84 memory allocation error.\n 00a7bd80:FUN_00a7bd80 +00ba27c0 Organya track uses unsupported drum type: Instrument Index = %d, Drum Type = %d\n 00a7a510:organya_song_load +00ba2818 max_relative <= configuration->integer_stretched_kernel_radius 00a79ff0:ClownResampler_LowLevel_Resample +00ba2898 kernel_index < CLOWNRESAMPLER_COUNT_OF(precomputed->lanczos_kernel_table) 00a79ff0:ClownResampler_LowLevel_Resample +00ba292c Not enough memory to load WAV file: %s\n 00a7b6a0:KAGE::Sound::SampleSourceWav::load +00ba2a64 Could not decode OGG file %s.\n 00a7bd80:KAGE::Sound::SampleSourceOgg::load +00ba2a84 memory allocation error.\n 00a7bd80:KAGE::Sound::SampleSourceOgg::load 00ba2b10 stb_vorbis_open_file returned error %d.\n 00a7c3d0:FUN_00a7c3d0 00ba2b3c Queued Path %s\n 00a7c490:FUN_00a7c490 00ba2bd0 TODO: Unimplemented\n 00a7cdd0:FUN_00a7cdd0 -00ba2d4c Failed to open OpenAL device\n 00a7d2a0:FUN_00a7d2a0 -00ba2d6c Failed to create OpenAL context\n 00a7d2a0:FUN_00a7d2a0 +00ba2d4c Failed to open OpenAL device\n 00a7d2a0:KAGE::Sound::ManagerOpenAL::Init +00ba2d6c Failed to create OpenAL context\n 00a7d2a0:KAGE::Sound::ManagerOpenAL::Init 00ba2d90 OpenAL error encountered after suspend. Error = %d\n 00a7d690:FUN_00a7d690 00ba2dc4 OpenAL error encountered before resume. Error = %d\n 00a7d710:FUN_00a7d710 00ba2df8 OpenAL error encountered source shutdown. Error = %d\n 00a9e5a0:FUN_00a9e5a0 00a7d550:FUN_00a7d550 @@ -11133,10 +11133,10 @@ z 00ba2eb0 OpenAL error encountered when assigning source data. Error = %d\n 00a9fb80:FUN_00a9fb80 00a7d960:FUN_00a7d960 00ba2ef4 OpenAL error encountered after resume. Error = %d\n 00a7d710:FUN_00a7d710 00ba2f28 OpenAL error encountered when creating source object. Error = %d\n 00aa02b0:FUN_00aa02b0 00aa0720:FUN_00aa0720 00a7d8e0:FUN_00a7d8e0 -00ba2f6c OpenAL32.dll 00a7d2a0:FUN_00a7d2a0 -00ba2f88 OpenAL DLL loaded from: %ls\n 00a7d2a0:FUN_00a7d2a0 -00ba2fa8 Failed to make current OpenAL context\n 00a7d2a0:FUN_00a7d2a0 -00ba2fd0 Failed to start up OpenAL processing thread\n 00a7d2a0:FUN_00a7d2a0 +00ba2f6c OpenAL32.dll 00a7d2a0:KAGE::Sound::ManagerOpenAL::Init +00ba2f88 OpenAL DLL loaded from: %ls\n 00a7d2a0:KAGE::Sound::ManagerOpenAL::Init +00ba2fa8 Failed to make current OpenAL context\n 00a7d2a0:KAGE::Sound::ManagerOpenAL::Init +00ba2fd0 Failed to start up OpenAL processing thread\n 00a7d2a0:KAGE::Sound::ManagerOpenAL::Init 00ba3000 OpenAL AL_VERSION : %s\n 00ba3018 OpenAL ALC_EXTENSIONS : %s\n 00ba3034 OpenAL AL_VENDOR : %s\n @@ -11145,10 +11145,10 @@ z 00ba3104 Leaderboard not found 00a7e120:FUN_00a7e120 00ba311c Leaderboard data is not valid\n 00a7dc52 00a7dccd 00a7dd23 00a7ddf8 00a7de46 00ba313c Operation failed 00a7e2b0:FUN_00a7e2b0 00a7e330:FUN_00a7e330 -00ba3170 Failed to set lobby ID for friend lobby search: %s\n 00a7e6e0:FUN_00a7e6e0 +00ba3170 Failed to set lobby ID for friend lobby search: %s\n 00a7e6e0:eos_friend_lobby_search_start 00ba31a8 Failed to retrieve friend at index %d from EOS: Friend user profile is invalid\n 00a7e9d0:FUN_00a7e9d0 -00ba31f8 Failed to copy friend presence info: %s\n 00a7e6e0:FUN_00a7e6e0 -00ba3224 Failed to create friend lobby search handle: %s\n 00a7e6e0:FUN_00a7e6e0 +00ba31f8 Failed to copy friend presence info: %s\n 00a7e6e0:eos_friend_lobby_search_start +00ba3224 Failed to create friend lobby search handle: %s\n 00a7e6e0:eos_friend_lobby_search_start 00ba3258 Successfully retrieved list of %d friends from EOS\n 00a7e9d0:FUN_00a7e9d0 00ba328c Failed to retrieve friends list from EOS: %s\n 00a7e9d0:FUN_00a7e9d0 00ba32c4 WGL: Failed to retrieve pixel format attributes 00a7f340:glfw_choosePixelFormatWGL @@ -11159,94 +11159,94 @@ z 00ba3398 WGL: The driver does not appear to support OpenGL 00a7f340:glfw_choosePixelFormatWGL 00a7f340:glfw_choosePixelFormatWGL 00ba33cc WGL: Failed to find a suitable pixel format 00a7f340:glfw_choosePixelFormatWGL 00ba33f8 WGL: Unknown pixel format attribute requested 00a7f250:glfw_findPixelFormatAttribValue -00ba3428 C:\nicalis\builderbob\projects\KAGE\Source\Platforms\PC\Shared\Source\External\gl\GLFW_3.4\src\wgl_context.c 00a80010:FUN_00a80010 00a80010:FUN_00a80010 00a80010:FUN_00a80010 00a7fb80:FUN_00a7fb80 -00ba3504 WGL: Failed to create dummy context 00a7fce0:FUN_00a7fce0 -00ba3528 WGL: Failed to make dummy context current 00a7fce0:FUN_00a7fce0 -00ba3554 wglShareLists 00a7fce0:FUN_00a7fce0 -00ba3564 WGL: Failed to set pixel format for dummy context 00a7fce0:FUN_00a7fce0 -00ba3598 wglCreateContextAttribsARB 00a7fce0:FUN_00a7fce0 -00ba35b4 wglGetPixelFormatAttribivARB 00a7fce0:FUN_00a7fce0 -00ba35d4 wglGetExtensionsStringEXT 00a7fce0:FUN_00a7fce0 -00ba35f0 wglGetExtensionsStringARB 00a7fce0:FUN_00a7fce0 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00aadd10:epoxy_has_wgl_extension -00ba360c wglCreateContext 00a7fce0:FUN_00a7fce0 -00ba3620 wglDeleteContext 00a7fce0:FUN_00a7fce0 -00ba3634 opengl32.dll 00a7fce0:FUN_00a7fce0 -00ba3644 WGL: Failed to load opengl32.dll 00a7fce0:FUN_00a7fce0 -00ba3668 wglGetCurrentContext 00a7fce0:FUN_00a7fce0 -00ba3680 wglMakeCurrent 00a7fce0:FUN_00a7fce0 -00ba3690 wglGetProcAddress 00a7fce0:FUN_00a7fce0 -00ba36a4 wglGetCurrentDC 00a7fce0:FUN_00a7fce0 -00ba36b4 WGL_ARB_pixel_format 00a7fce0:FUN_00a7fce0 00a8ecc0:wgl_provider_resolver -00ba36cc WGL_ARB_context_flush_control 00a7fce0:FUN_00a7fce0 -00ba36ec WGL_EXT_swap_control 00a7fce0:FUN_00a7fce0 00a8ecc0:wgl_provider_resolver -00ba3704 WGL_EXT_colorspace 00a7fce0:FUN_00a7fce0 -00ba3718 WGL: Failed to set selected pixel format 00a80010:FUN_00a80010 -00ba3748 WGL: A forward compatible OpenGL context requested but WGL_ARB_create_context is unavailable 00a80010:FUN_00a80010 -00ba37a8 WGL: Failed to retrieve DC for window 00a80010:FUN_00a80010 -00ba37d0 WGL: Failed to retrieve PFD for selected pixel format 00a80010:FUN_00a80010 -00ba3808 WGL_EXT_framebuffer_sRGB 00a7fce0:FUN_00a7fce0 -00ba3824 WGL_ARB_create_context 00a7fce0:FUN_00a7fce0 00a8ecc0:wgl_provider_resolver -00ba383c WGL_ARB_multisample 00a7fce0:FUN_00a7fce0 -00ba3850 WGL_ARB_framebuffer_sRGB 00a7fce0:FUN_00a7fce0 -00ba386c WGL_ARB_create_context_robustness 00a7fce0:FUN_00a7fce0 -00ba3890 WGL_ARB_create_context_no_error 00a7fce0:FUN_00a7fce0 -00ba38b0 WGL_ARB_create_context_profile 00a7fce0:FUN_00a7fce0 -00ba38d0 WGL_EXT_create_context_es2_profile 00a7fce0:FUN_00a7fce0 -00ba38f4 WGL: Failed to create OpenGL ES context 00a80010:FUN_00a80010 -00ba391c WGL: Failed to enable sharing with specified OpenGL context 00a80010:FUN_00a80010 -00ba3958 ((size_t) index + 1) < sizeof(attribs) / sizeof(attribs[0]) 00a83290:_glfwCreateContextEGL 00a83290:_glfwCreateContextEGL 00a83290:_glfwCreateContextEGL 00a80010:FUN_00a80010 00a80010:FUN_00a80010 00a80010:FUN_00a80010 -00ba39d0 WGL: Driver does not support OpenGL version %i.%i 00a80010:FUN_00a80010 00a80010:FUN_00a80010 -00ba3a08 WGL: OpenGL profile requested but WGL_ARB_create_context_profile is unavailable 00a80010:FUN_00a80010 -00ba3a58 WGL: OpenGL ES requested but WGL_ARB_create_context_es2_profile is unavailable 00a80010:FUN_00a80010 -00ba3aa8 WGL: The share context is not compatible with the requested context 00a80010:FUN_00a80010 -00ba3aec WGL: Failed to create OpenGL context 00a80010:FUN_00a80010 00a80010:FUN_00a80010 -00ba3b14 WGL: Driver does not support OpenGL ES version %i.%i 00a80010:FUN_00a80010 00a80010:FUN_00a80010 -00ba3b4c WGL: Driver does not support the requested OpenGL profile 00a80010:FUN_00a80010 -00ba3b88 Win32: Failed to load user32.dll 00a80530:FUN_00a80530 -00ba3bac SetProcessDPIAware 00a80530:FUN_00a80530 -00ba3bc0 Win32: Failed to retrieve own module handle 00a80530:FUN_00a80530 -00ba3bec user32.dll 00a80530:FUN_00a80530 -00ba3bf8 SetProcessDpiAwarenessContext 00a80530:FUN_00a80530 -00ba3c18 GetDpiForWindow 00a80530:FUN_00a80530 -00ba3c28 ChangeWindowMessageFilterEx 00a80530:FUN_00a80530 -00ba3c44 EnableNonClientDpiScaling 00a80530:FUN_00a80530 -00ba3c60 DwmFlush 00a80530:FUN_00a80530 -00ba3c6c DwmEnableBlurBehindWindow 00a80530:FUN_00a80530 -00ba3c88 dwmapi.dll 00a80530:FUN_00a80530 -00ba3c94 DwmIsCompositionEnabled 00a80530:FUN_00a80530 -00ba3cac SetProcessDpiAwareness 00a80530:FUN_00a80530 -00ba3cc4 GetDpiForMonitor 00a80530:FUN_00a80530 -00ba3cd8 DwmGetColorizationColor 00a80530:FUN_00a80530 -00ba3cf0 shcore.dll 00a80530:FUN_00a80530 -00ba3cfc dinput8.dll 00a80530:FUN_00a80530 -00ba3d08 xinput1_4.dll 00a80530:FUN_00a80530 00a80530:FUN_00a80530 00a80530:FUN_00a80530 -00ba3d18 AdjustWindowRectExForDpi 00a80530:FUN_00a80530 -00ba3d34 GetSystemMetricsForDpi 00a80530:FUN_00a80530 -00ba3d4c xinput1_2.dll 00a80530:FUN_00a80530 -00ba3d5c xinput1_1.dll 00a80530:FUN_00a80530 -00ba3d6c xinput1_3.dll 00a80530:FUN_00a80530 00a80530:FUN_00a80530 -00ba3d7c xinput9_1_0.dll 00a80530:FUN_00a80530 -00ba3d8c GLFW3 Helper 00a812f0:FUN_00a812f0 -00ba3da8 Win32: Failed to register helper window class 00a812f0:FUN_00a812f0 -00ba3dd8 ntdll.dll 00a80530:FUN_00a80530 00ae8670:FUN_00ae8670 -00ba3de4 RtlVerifyVersionInfo 00a80530:FUN_00a80530 +00ba3428 C:\nicalis\builderbob\projects\KAGE\Source\Platforms\PC\Shared\Source\External\gl\GLFW_3.4\src\wgl_context.c 00a80010:_glfwCreateContextWGL 00a80010:_glfwCreateContextWGL 00a80010:_glfwCreateContextWGL 00a7fb80:FUN_00a7fb80 +00ba3504 WGL: Failed to create dummy context 00a7fce0:_glfwInitWGL +00ba3528 WGL: Failed to make dummy context current 00a7fce0:_glfwInitWGL +00ba3554 wglShareLists 00a7fce0:_glfwInitWGL +00ba3564 WGL: Failed to set pixel format for dummy context 00a7fce0:_glfwInitWGL +00ba3598 wglCreateContextAttribsARB 00a7fce0:_glfwInitWGL +00ba35b4 wglGetPixelFormatAttribivARB 00a7fce0:_glfwInitWGL +00ba35d4 wglGetExtensionsStringEXT 00a7fce0:_glfwInitWGL +00ba35f0 wglGetExtensionsStringARB 00a7fce0:_glfwInitWGL 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00a8ecc0:wgl_provider_resolver 00aadd10:epoxy_has_wgl_extension +00ba360c wglCreateContext 00a7fce0:_glfwInitWGL +00ba3620 wglDeleteContext 00a7fce0:_glfwInitWGL +00ba3634 opengl32.dll 00a7fce0:_glfwInitWGL +00ba3644 WGL: Failed to load opengl32.dll 00a7fce0:_glfwInitWGL +00ba3668 wglGetCurrentContext 00a7fce0:_glfwInitWGL +00ba3680 wglMakeCurrent 00a7fce0:_glfwInitWGL +00ba3690 wglGetProcAddress 00a7fce0:_glfwInitWGL +00ba36a4 wglGetCurrentDC 00a7fce0:_glfwInitWGL +00ba36b4 WGL_ARB_pixel_format 00a7fce0:_glfwInitWGL 00a8ecc0:wgl_provider_resolver +00ba36cc WGL_ARB_context_flush_control 00a7fce0:_glfwInitWGL +00ba36ec WGL_EXT_swap_control 00a7fce0:_glfwInitWGL 00a8ecc0:wgl_provider_resolver +00ba3704 WGL_EXT_colorspace 00a7fce0:_glfwInitWGL +00ba3718 WGL: Failed to set selected pixel format 00a80010:_glfwCreateContextWGL +00ba3748 WGL: A forward compatible OpenGL context requested but WGL_ARB_create_context is unavailable 00a80010:_glfwCreateContextWGL +00ba37a8 WGL: Failed to retrieve DC for window 00a80010:_glfwCreateContextWGL +00ba37d0 WGL: Failed to retrieve PFD for selected pixel format 00a80010:_glfwCreateContextWGL +00ba3808 WGL_EXT_framebuffer_sRGB 00a7fce0:_glfwInitWGL +00ba3824 WGL_ARB_create_context 00a7fce0:_glfwInitWGL 00a8ecc0:wgl_provider_resolver +00ba383c WGL_ARB_multisample 00a7fce0:_glfwInitWGL +00ba3850 WGL_ARB_framebuffer_sRGB 00a7fce0:_glfwInitWGL +00ba386c WGL_ARB_create_context_robustness 00a7fce0:_glfwInitWGL +00ba3890 WGL_ARB_create_context_no_error 00a7fce0:_glfwInitWGL +00ba38b0 WGL_ARB_create_context_profile 00a7fce0:_glfwInitWGL +00ba38d0 WGL_EXT_create_context_es2_profile 00a7fce0:_glfwInitWGL +00ba38f4 WGL: Failed to create OpenGL ES context 00a80010:_glfwCreateContextWGL +00ba391c WGL: Failed to enable sharing with specified OpenGL context 00a80010:_glfwCreateContextWGL +00ba3958 ((size_t) index + 1) < sizeof(attribs) / sizeof(attribs[0]) 00a83290:_glfwCreateContextEGL 00a83290:_glfwCreateContextEGL 00a83290:_glfwCreateContextEGL 00a80010:_glfwCreateContextWGL 00a80010:_glfwCreateContextWGL 00a80010:_glfwCreateContextWGL +00ba39d0 WGL: Driver does not support OpenGL version %i.%i 00a80010:_glfwCreateContextWGL 00a80010:_glfwCreateContextWGL +00ba3a08 WGL: OpenGL profile requested but WGL_ARB_create_context_profile is unavailable 00a80010:_glfwCreateContextWGL +00ba3a58 WGL: OpenGL ES requested but WGL_ARB_create_context_es2_profile is unavailable 00a80010:_glfwCreateContextWGL +00ba3aa8 WGL: The share context is not compatible with the requested context 00a80010:_glfwCreateContextWGL +00ba3aec WGL: Failed to create OpenGL context 00a80010:_glfwCreateContextWGL 00a80010:_glfwCreateContextWGL +00ba3b14 WGL: Driver does not support OpenGL ES version %i.%i 00a80010:_glfwCreateContextWGL 00a80010:_glfwCreateContextWGL +00ba3b4c WGL: Driver does not support the requested OpenGL profile 00a80010:_glfwCreateContextWGL +00ba3b88 Win32: Failed to load user32.dll 00a80530:loadLibraries +00ba3bac SetProcessDPIAware 00a80530:loadLibraries +00ba3bc0 Win32: Failed to retrieve own module handle 00a80530:loadLibraries +00ba3bec user32.dll 00a80530:loadLibraries +00ba3bf8 SetProcessDpiAwarenessContext 00a80530:loadLibraries +00ba3c18 GetDpiForWindow 00a80530:loadLibraries +00ba3c28 ChangeWindowMessageFilterEx 00a80530:loadLibraries +00ba3c44 EnableNonClientDpiScaling 00a80530:loadLibraries +00ba3c60 DwmFlush 00a80530:loadLibraries +00ba3c6c DwmEnableBlurBehindWindow 00a80530:loadLibraries +00ba3c88 dwmapi.dll 00a80530:loadLibraries +00ba3c94 DwmIsCompositionEnabled 00a80530:loadLibraries +00ba3cac SetProcessDpiAwareness 00a80530:loadLibraries +00ba3cc4 GetDpiForMonitor 00a80530:loadLibraries +00ba3cd8 DwmGetColorizationColor 00a80530:loadLibraries +00ba3cf0 shcore.dll 00a80530:loadLibraries +00ba3cfc dinput8.dll 00a80530:loadLibraries +00ba3d08 xinput1_4.dll 00a80530:loadLibraries 00a80530:loadLibraries 00a80530:loadLibraries +00ba3d18 AdjustWindowRectExForDpi 00a80530:loadLibraries +00ba3d34 GetSystemMetricsForDpi 00a80530:loadLibraries +00ba3d4c xinput1_2.dll 00a80530:loadLibraries +00ba3d5c xinput1_1.dll 00a80530:loadLibraries +00ba3d6c xinput1_3.dll 00a80530:loadLibraries 00a80530:loadLibraries +00ba3d7c xinput9_1_0.dll 00a80530:loadLibraries +00ba3d8c GLFW3 Helper 00a812f0:_glfwInitWin32 +00ba3da8 Win32: Failed to register helper window class 00a812f0:_glfwInitWin32 +00ba3dd8 ntdll.dll 00a80530:loadLibraries 00ae8670:FUN_00ae8670 +00ba3de4 RtlVerifyVersionInfo 00a80530:loadLibraries 00ba3dfc Win32: Failed to convert string from UTF-8 00a80ae0:_glfwCreateWideStringFromUTF8Win32 00a80ae0:_glfwCreateWideStringFromUTF8Win32 00ba3e28 Win32: Failed to convert string to UTF-8 00a80bb0:FUN_00a80bb0 00a80bb0:FUN_00a80bb0 -00ba3e54 GLFW message window 00a812f0:FUN_00a812f0 -00ba3e7c Win32: Failed to create helper window 00a812f0:FUN_00a812f0 +00ba3e54 GLFW message window 00a812f0:_glfwInitWin32 +00ba3e7c Win32: Failed to create helper window 00a812f0:_glfwInitWin32 00ba3ea4 Win32: Failed to query monitor DPI 00a82000:FUN_00a82000 00a5dc90:FUN_00a5dc90 00a5cd20:_glfwCreateWindowWin32 00ba3ec8 Win32: Failed to query display settings 00a82500:FUN_00a82500 -00ba3ef0 Computer restart required 00a81cd0:FUN_00a81cd0 00a81cd0:FUN_00a81cd0 -00ba3f0c Win32: Failed to set video mode: %s 00a81cd0:FUN_00a81cd0 +00ba3ef0 Computer restart required 00a81cd0:_glfwSetVideoModeWin32 00a81cd0:_glfwSetVideoModeWin32 +00ba3f0c Win32: Failed to set video mode: %s 00a81cd0:_glfwSetVideoModeWin32 00ba3f30 Win32: Gamma ramp size must be 256 00a826a0:FUN_00a826a0 -00ba3f54 The system uses DualView 00a81cd0:FUN_00a81cd0 00a81cd0:FUN_00a81cd0 -00ba3f70 Invalid flags 00a81cd0:FUN_00a81cd0 00a81cd0:FUN_00a81cd0 -00ba3f80 DISPLAY 00a826a0:FUN_00a826a0 00a82600:FUN_00a82600 00a816f0:FUN_00a816f0 -00ba3f90 Unknown error 00a81cd0:FUN_00a81cd0 00a81cd0:FUN_00a81cd0 -00ba3fa0 Graphics mode failed 00a81cd0:FUN_00a81cd0 00a81cd0:FUN_00a81cd0 -00ba3fb8 Failed to write to registry 00a81cd0:FUN_00a81cd0 00a81cd0:FUN_00a81cd0 -00ba3fd4 Graphics mode not supported 00a81cd0:FUN_00a81cd0 00a81cd0:FUN_00a81cd0 -00ba3ff0 Invalid parameter 00a81cd0:FUN_00a81cd0 00a81cd0:FUN_00a81cd0 +00ba3f54 The system uses DualView 00a81cd0:_glfwSetVideoModeWin32 00a81cd0:_glfwSetVideoModeWin32 +00ba3f70 Invalid flags 00a81cd0:_glfwSetVideoModeWin32 00a81cd0:_glfwSetVideoModeWin32 +00ba3f80 DISPLAY 00a826a0:FUN_00a826a0 00a82600:FUN_00a82600 00a816f0:createMonitor +00ba3f90 Unknown error 00a81cd0:_glfwSetVideoModeWin32 00a81cd0:_glfwSetVideoModeWin32 +00ba3fa0 Graphics mode failed 00a81cd0:_glfwSetVideoModeWin32 00a81cd0:_glfwSetVideoModeWin32 +00ba3fb8 Failed to write to registry 00a81cd0:_glfwSetVideoModeWin32 00a81cd0:_glfwSetVideoModeWin32 +00ba3fd4 Graphics mode not supported 00a81cd0:_glfwSetVideoModeWin32 00a81cd0:_glfwSetVideoModeWin32 +00ba3ff0 Invalid parameter 00a81cd0:_glfwSetVideoModeWin32 00a81cd0:_glfwSetVideoModeWin32 00ba4004 EGL is not or could not be initialized 00a82750:glfw_getEGLErrorString 00ba402c EGL cannot access a requested resource 00a82750:glfw_getEGLErrorString 00ba4058 An EGLContext argument does not name a valid EGL rendering context 00a82750:glfw_getEGLErrorString @@ -11269,53 +11269,53 @@ z 00ba4424 The application must destroy all contexts and reinitialise 00a82750:glfw_getEGLErrorString 00ba4460 One or more argument values are invalid 00a82750:glfw_getEGLErrorString 00ba4488 A NativePixmapType argument does not refer to a valid native pixmap 00a82750:glfw_getEGLErrorString -00ba44cc eglGetError 00a82d40:FUN_00a82d40 -00ba44d8 eglInitialize 00a82d40:FUN_00a82d40 -00ba44e8 eglGetConfigs 00a82d40:FUN_00a82d40 -00ba44f8 eglGetDisplay 00a82d40:FUN_00a82d40 -00ba4508 eglCreateContext 00a82d40:FUN_00a82d40 -00ba451c eglDestroySurface 00a82d40:FUN_00a82d40 -00ba4530 eglTerminate 00a82d40:FUN_00a82d40 -00ba4540 eglBindAPI 00a82d40:FUN_00a82d40 +00ba44cc eglGetError 00a82d40:_glfwInitEGL +00ba44d8 eglInitialize 00a82d40:_glfwInitEGL +00ba44e8 eglGetConfigs 00a82d40:_glfwInitEGL +00ba44f8 eglGetDisplay 00a82d40:_glfwInitEGL +00ba4508 eglCreateContext 00a82d40:_glfwInitEGL +00ba451c eglDestroySurface 00a82d40:_glfwInitEGL +00ba4530 eglTerminate 00a82d40:_glfwInitEGL +00ba4540 eglBindAPI 00a82d40:_glfwInitEGL 00ba4550 C:\nicalis\builderbob\projects\KAGE\Source\Platforms\PC\Shared\Source\External\gl\GLFW_3.4\src\egl_context.c 00a83290:_glfwCreateContextEGL 00a83290:_glfwCreateContextEGL 00a83290:_glfwCreateContextEGL 00a82c50:FUN_00a82c50 -00ba462c libEGL.dll 00a82d40:FUN_00a82d40 00a82d40:FUN_00a82d40 00a82d40:FUN_00a82d40 00a82d40:FUN_00a82d40 +00ba462c libEGL.dll 00a82d40:_glfwInitEGL 00a82d40:_glfwInitEGL 00a82d40:_glfwInitEGL 00a82d40:_glfwInitEGL 00ba4638 EGL: Failed to clear current context: %s 00a82ad0:FUN_00a82ad0 00ba4668 EGL: The context must be current on the calling thread when swapping buffers 00a82b90:FUN_00a82b90 -00ba46bc eglGetConfigAttrib 00a82d40:FUN_00a82d40 -00ba46d0 EGL.dll 00a82d40:FUN_00a82d40 00a82d40:FUN_00a82d40 -00ba46d8 EGL: Library not found 00a82d40:FUN_00a82d40 -00ba46f0 EGL_EXT_platform_wayland 00a82d40:FUN_00a82d40 -00ba470c EGL_ANGLE_platform_angle 00a82d40:FUN_00a82d40 -00ba4728 EGL_EXT_platform_base 00a82d40:FUN_00a82d40 -00ba4740 EGL_EXT_platform_x11 00a82d40:FUN_00a82d40 -00ba4758 EGL_ANGLE_platform_angle_vulkan 00a82d40:FUN_00a82d40 -00ba4778 EGL_ANGLE_platform_angle_metal 00a82d40:FUN_00a82d40 -00ba4798 EGL_ANGLE_platform_angle_opengl 00a82d40:FUN_00a82d40 -00ba47b8 EGL_ANGLE_platform_angle_d3d 00a82d40:FUN_00a82d40 -00ba47d8 eglMakeCurrent 00a82d40:FUN_00a82d40 -00ba47e8 eglSwapBuffers 00a82d40:FUN_00a82d40 -00ba47f8 eglDestroyContext 00a82d40:FUN_00a82d40 -00ba480c eglCreateWindowSurface 00a82d40:FUN_00a82d40 -00ba4824 eglGetProcAddress 00a82d40:FUN_00a82d40 -00ba4838 EGL: Failed to load required entry points 00a82d40:FUN_00a82d40 -00ba4864 eglSwapInterval 00a82d40:FUN_00a82d40 -00ba4874 eglQueryString 00a82d40:FUN_00a82d40 +00ba46bc eglGetConfigAttrib 00a82d40:_glfwInitEGL +00ba46d0 EGL.dll 00a82d40:_glfwInitEGL 00a82d40:_glfwInitEGL +00ba46d8 EGL: Library not found 00a82d40:_glfwInitEGL +00ba46f0 EGL_EXT_platform_wayland 00a82d40:_glfwInitEGL +00ba470c EGL_ANGLE_platform_angle 00a82d40:_glfwInitEGL +00ba4728 EGL_EXT_platform_base 00a82d40:_glfwInitEGL +00ba4740 EGL_EXT_platform_x11 00a82d40:_glfwInitEGL +00ba4758 EGL_ANGLE_platform_angle_vulkan 00a82d40:_glfwInitEGL +00ba4778 EGL_ANGLE_platform_angle_metal 00a82d40:_glfwInitEGL +00ba4798 EGL_ANGLE_platform_angle_opengl 00a82d40:_glfwInitEGL +00ba47b8 EGL_ANGLE_platform_angle_d3d 00a82d40:_glfwInitEGL +00ba47d8 eglMakeCurrent 00a82d40:_glfwInitEGL +00ba47e8 eglSwapBuffers 00a82d40:_glfwInitEGL +00ba47f8 eglDestroyContext 00a82d40:_glfwInitEGL +00ba480c eglCreateWindowSurface 00a82d40:_glfwInitEGL +00ba4824 eglGetProcAddress 00a82d40:_glfwInitEGL +00ba4838 EGL: Failed to load required entry points 00a82d40:_glfwInitEGL +00ba4864 eglSwapInterval 00a82d40:_glfwInitEGL +00ba4874 eglQueryString 00a82d40:_glfwInitEGL 00ba4884 EGL: API not available 00a83290:_glfwCreateContextEGL 00ba489c EGL: Failed to bind OpenGL ES: %s 00a83290:_glfwCreateContextEGL -00ba48c0 EGL_KHR_context_flush_control 00a82d40:FUN_00a82d40 -00ba48e0 EGL_EXT_present_opaque 00a82d40:FUN_00a82d40 +00ba48c0 EGL_KHR_context_flush_control 00a82d40:_glfwInitEGL +00ba48e0 EGL_EXT_present_opaque 00a82d40:_glfwInitEGL 00ba48f8 EGL: Failed to create window surface: %s 00a83290:_glfwCreateContextEGL 00ba4924 GLESv1_CM.dll 00a83290:_glfwCreateContextEGL 00a83290:_glfwCreateContextEGL 00a83290:_glfwCreateContextEGL 00ba4934 EGL: Failed to bind OpenGL: %s 00a83290:_glfwCreateContextEGL 00ba4954 EGL: Failed to create context: %s 00a83290:_glfwCreateContextEGL -00ba4978 EGL: Failed to get EGL display: %s 00a82d40:FUN_00a82d40 -00ba499c EGL: Failed to initialize EGL: %s 00a82d40:FUN_00a82d40 -00ba49c0 eglGetPlatformDisplayEXT 00a82d40:FUN_00a82d40 -00ba49dc eglCreatePlatformWindowSurfaceEXT 00a82d40:FUN_00a82d40 -00ba4a00 EGL_KHR_gl_colorspace 00a82d40:FUN_00a82d40 -00ba4a18 EGL_KHR_get_all_proc_addresses 00a82d40:FUN_00a82d40 -00ba4a38 EGL_KHR_create_context 00a82d40:FUN_00a82d40 -00ba4a50 EGL_KHR_create_context_no_error 00a82d40:FUN_00a82d40 +00ba4978 EGL: Failed to get EGL display: %s 00a82d40:_glfwInitEGL +00ba499c EGL: Failed to initialize EGL: %s 00a82d40:_glfwInitEGL +00ba49c0 eglGetPlatformDisplayEXT 00a82d40:_glfwInitEGL +00ba49dc eglCreatePlatformWindowSurfaceEXT 00a82d40:_glfwInitEGL +00ba4a00 EGL_KHR_gl_colorspace 00a82d40:_glfwInitEGL +00ba4a18 EGL_KHR_get_all_proc_addresses 00a82d40:_glfwInitEGL +00ba4a38 EGL_KHR_create_context 00a82d40:_glfwInitEGL +00ba4a50 EGL_KHR_create_context_no_error 00a82d40:_glfwInitEGL 00ba4a70 libGLESv2.dll 00a83290:_glfwCreateContextEGL 00ba4a80 EGL: Failed to load client library 00a83290:_glfwCreateContextEGL 00ba4aa4 libGLES_CM.dll 00a83290:_glfwCreateContextEGL @@ -11351,15 +11351,15 @@ z 00ba5014 OSMesaMakeCurrent 00a83b90:FUN_00a83b90 00ba5028 OSMesaCreateContextExt 00a83b90:FUN_00a83b90 00ba5040 OSMesaCreateContextAttribs 00a83b90:FUN_00a83b90 -00ba505c OSMesa: Failed to create context 00a83d20:FUN_00a83d20 +00ba505c OSMesa: Failed to create context 00a83d20:_glfwCreateContextOSMesa 00ba5080 OSMesaGetProcAddress 00a83b90:FUN_00a83b90 00ba5098 OSMesa: Failed to load required entry points 00a83b90:FUN_00a83b90 00ba50c8 OSMesaGetColorBuffer 00a83b90:FUN_00a83b90 00ba50e0 OSMesaGetDepthBuffer 00a83b90:FUN_00a83b90 -00ba50f8 OSMesa: Forward-compatible contexts not supported 00a83d20:FUN_00a83d20 -00ba512c OSMesa: OpenGL profiles unavailable 00a83d20:FUN_00a83d20 -00ba5150 OSMesa: OpenGL ES is not available on OSMesa 00a83d20:FUN_00a83d20 -00ba51c0 add member string value 00a76a20:FUN_00a76a20 00a76a20:FUN_00a76a20 00a76c90:FUN_00a76c90 00a76c90:FUN_00a76c90 +00ba50f8 OSMesa: Forward-compatible contexts not supported 00a83d20:_glfwCreateContextOSMesa +00ba512c OSMesa: OpenGL profiles unavailable 00a83d20:_glfwCreateContextOSMesa +00ba5150 OSMesa: OpenGL ES is not available on OSMesa 00a83d20:_glfwCreateContextOSMesa +00ba51c0 add member string value 00a76a20:KAGE::Network::Multiplayer::ServiceEOS::on_create_lobby_complete 00a76a20:KAGE::Network::Multiplayer::ServiceEOS::on_create_lobby_complete 00a76c90:eos_join_lobby_callback 00a76c90:eos_join_lobby_callback 00ba51d8 Failed to set lobby %s because a modification handle could not be created: %s\n 00a847e0:FUN_00a847e0 00ba5228 private 00a847e0:FUN_00a847e0 00a847e0:FUN_00a847e0 00ba5230 joinable 00a847e0:FUN_00a847e0 00a847e0:FUN_00a847e0 00a847e0:FUN_00a847e0 00a847e0:FUN_00a847e0 @@ -11381,20 +11381,20 @@ z 00ba54a8 Failed to get lobby value '%s' because a details handle couldn't be retrieved\n 00a84e50:FUN_00a84e50 00a84f50:FUN_00a84f50 00ba54f8 Failed to get lobby value '%s': %s\n 00a84e50:FUN_00a84e50 00a84f50:FUN_00a84f50 00ba5564 ERROR! Cannot flush BitBuffer, not enough space left.\n 00a85140:lzw_compress -00ba559c ERROR! wrong code %u\n 00a85320:FUN_00a85320 +00ba559c ERROR! wrong code %u\n 00a85320:lzw_decompress 00ba55b8 max_match_len <= TDEFL_MAX_MATCH_LEN 00a890e0:tdefl_compress_normal -00ba5608 (cur_match_len >= TDEFL_MIN_MATCH_LEN) && (cur_match_dist >= 1) && (cur_match_dist <= TDEFL_LZ_DICT_SIZE) 00a88bb0:FUN_00a88bb0 +00ba5608 (cur_match_len >= TDEFL_MIN_MATCH_LEN) && (cur_match_dist >= 1) && (cur_match_dist <= TDEFL_LZ_DICT_SIZE) 00a88bb0:tdefl_compress_fast 00ba56dc !d->m_output_flush_remaining 00a88650:tdefl_flush_block 00ba5718 d->m_pOutput_buf < d->m_pOutput_buf_end 00a88650:tdefl_flush_block 00ba5768 d->m_lookahead_size >= len_to_move 00a890e0:tdefl_compress_normal -00ba57b0 lookahead_size >= cur_match_len 00a88bb0:FUN_00a88bb0 +00ba57b0 lookahead_size >= cur_match_len 00a88bb0:tdefl_compress_fast 00ba57f0 (match_len >= TDEFL_MIN_MATCH_LEN) && (match_dist >= 1) && (match_dist <= TDEFL_LZ_DICT_SIZE) 00a890e0:tdefl_compress_normal 00a890e0:tdefl_compress_normal 00a890e0:tdefl_compress_normal -00ba58b0 C:\nicalis\builderbob\projects\KAGE\Source\Core\External\miniz.cpp 00a890e0:tdefl_compress_normal 00a890e0:tdefl_compress_normal 00a890e0:tdefl_compress_normal 00a890e0:tdefl_compress_normal 00a890e0:tdefl_compress_normal 00a88bb0:FUN_00a88bb0 00a88bb0:FUN_00a88bb0 00a88170:FUN_00a88170 00a88170:FUN_00a88170 00a88170:FUN_00a88170 00a88170:FUN_00a88170 00a88170:FUN_00a88170 00a88170:FUN_00a88170 00a88170:FUN_00a88170 00a88170:FUN_00a88170 00a88170:FUN_00a88170 00a88650:tdefl_flush_block 00a88650:tdefl_flush_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block -00ba5938 bits <= ((1U << len) - 1U) 00a88170:FUN_00a88170 00a88170:FUN_00a88170 00a88170:FUN_00a88170 00a88170:FUN_00a88170 00a88170:FUN_00a88170 00a88170:FUN_00a88170 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block -00ba5978 d->m_huff_code_sizes[1][sym] 00a88170:FUN_00a88170 -00ba59b4 d->m_huff_code_sizes[0][lit] 00a88170:FUN_00a88170 +00ba58b0 C:\nicalis\builderbob\projects\KAGE\Source\Core\External\miniz.cpp 00a890e0:tdefl_compress_normal 00a890e0:tdefl_compress_normal 00a890e0:tdefl_compress_normal 00a890e0:tdefl_compress_normal 00a890e0:tdefl_compress_normal 00a88bb0:tdefl_compress_fast 00a88bb0:tdefl_compress_fast 00a88170:tdefl_compress_lz_codes 00a88170:tdefl_compress_lz_codes 00a88170:tdefl_compress_lz_codes 00a88170:tdefl_compress_lz_codes 00a88170:tdefl_compress_lz_codes 00a88170:tdefl_compress_lz_codes 00a88170:tdefl_compress_lz_codes 00a88170:tdefl_compress_lz_codes 00a88170:tdefl_compress_lz_codes 00a88650:tdefl_flush_block 00a88650:tdefl_flush_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block +00ba5938 bits <= ((1U << len) - 1U) 00a88170:tdefl_compress_lz_codes 00a88170:tdefl_compress_lz_codes 00a88170:tdefl_compress_lz_codes 00a88170:tdefl_compress_lz_codes 00a88170:tdefl_compress_lz_codes 00a88170:tdefl_compress_lz_codes 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block 00a87970:miniz::tdefl_start_dynamic_block +00ba5978 d->m_huff_code_sizes[1][sym] 00a88170:tdefl_compress_lz_codes +00ba59b4 d->m_huff_code_sizes[0][lit] 00a88170:tdefl_compress_lz_codes 00ba59f0 code < TDEFL_MAX_HUFF_SYMBOLS_2 00a87970:miniz::tdefl_start_dynamic_block -00ba5a30 d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]] 00a88170:FUN_00a88170 +00ba5a30 d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]] 00a88170:tdefl_compress_lz_codes 00ba5cd0 ------------------------------------ 00a8a090:TheoraVideoManager::TheoraVideoManager 00ba5cf8 Changing number of worker threads to: 00a8a970:FUN_00a8a970 00ba5d20 - libtheora version: 00a8a090:TheoraVideoManager::TheoraVideoManager @@ -11409,7 +11409,7 @@ z 00ba5e78 Destroying video clip: 00a8b190:TheoraVideoManager::destroyVideoClip 00ba5e90 Error destroying Theora Audio Interface: %d\n 00a8bd30:FUN_00a8bd30 00ba5f70 unable to determine file duration! 00a8ca10:VideoClip_Theora::_load -00ba5f94 finished playing 00a8d0a0:FUN_00a8d0a0 +00ba5f94 finished playing 00a8d0a0:VideoClip_Theora::_readData 00ba5fa8 Error parsing Theora stream headers! 00a8e530:VideoClip_Theora::readTheoraVorbisHeaders 00ba5fd0 Invalid theora stream! 00a8e530:VideoClip_Theora::readTheoraVorbisHeaders 00ba5fe8 [seek]: fineseeking failed, _readData failed! 00a8da40:VideoClip_Theora::_executeSeek @@ -11445,57 +11445,57 @@ z 00ba6350 WGL_OML_sync_control 00a8ecc0:wgl_provider_resolver 00ba6368 WGL_NV_video_capture 00a8ecc0:wgl_provider_resolver 00ba6380 WGL_NV_video_output 00a8ecc0:wgl_provider_resolver -00ba6394 Invalid output mode: FORMAT_UNDEFINED for video: 00a90650:FUN_00a90650 -00ba63c8 F:\NicalisSVN\KAGE\trunk\Build\External\LibTheora\theoraplayer\src\VideoClip.cpp 00a90650:FUN_00a90650 +00ba6394 Invalid output mode: FORMAT_UNDEFINED for video: 00a90650:theoraplayer::VideoClip::VideoClip +00ba63c8 F:\NicalisSVN\KAGE\trunk\Build\External\LibTheora\theoraplayer\src\VideoClip.cpp 00a90650:theoraplayer::VideoClip::VideoClip 00ba64a8 Could not allocate %d bytes to store texel data for render target\n 00a90ca0:KAGE_Graphics_RenderTargetBase::RenderTargetBase -00ba64ec Out of Memory 00a62f10:FUN_00a62f10 00a631f0:FUN_00a631f0 00a631f0:FUN_00a631f0 00a631f0:FUN_00a631f0 00a63390:FUN_00a63390 00a63a10:png_create_write_struct 00a64160:FUN_00a64160 00a64160:FUN_00a64160 00a921b0:FUN_00a921b0 00a92640:png_write_zTXt 00a92cb0:FUN_00a92cb0 00a932c0:FUN_00a932c0 00a932c0:FUN_00a932c0 00a932c0:FUN_00a932c0 00a932c0:FUN_00a932c0 00a932c0:FUN_00a932c0 00a932c0:FUN_00a932c0 00a96800:FUN_00a96800 00a9ae80:libpng_png_build_gamma_table 00a9ae80:libpng_png_build_gamma_table 00a9ae80:libpng_png_build_gamma_table 00a9ae80:libpng_png_build_gamma_table 00a9ae80:libpng_png_build_gamma_table 00ab1300:FUN_00ab1300 00ab1740:FUN_00ab1740 00ab1bc0:FUN_00ab1bc0 00ab1bc0:FUN_00ab1bc0 00ab2040:FUN_00ab2040 00ab2040:FUN_00ab2040 00ab2140:FUN_00ab2140 00ab2140:FUN_00ab2140 00ab33f0:FUN_00ab33f0 00ab33f0:FUN_00ab33f0 -00ba64fc Invalid bit depth for grayscale image 00a911e0:FUN_00a911e0 -00ba6524 Invalid bit depth for grayscale+alpha image 00a911e0:FUN_00a911e0 -00ba6550 Invalid bit depth for RGBA image 00a911e0:FUN_00a911e0 -00ba6574 Invalid bit depth for RGB image 00a911e0:FUN_00a911e0 -00ba6594 Invalid bit depth for paletted image 00a911e0:FUN_00a911e0 -00ba65bc Invalid cHRM green point specified 00a91790:FUN_00a91790 -00ba65e0 Invalid cHRM blue point specified 00a91790:FUN_00a91790 -00ba6604 Invalid cHRM white point specified 00a91790:FUN_00a91790 -00ba6628 Invalid cHRM red point specified 00a91790:FUN_00a91790 -00ba664c Invalid background palette index 00a91dd0:FUN_00a91dd0 +00ba64ec Out of Memory 00a62f10:FUN_00a62f10 00a631f0:FUN_00a631f0 00a631f0:FUN_00a631f0 00a631f0:FUN_00a631f0 00a63390:FUN_00a63390 00a63a10:png_create_write_struct 00a64160:FUN_00a64160 00a64160:FUN_00a64160 00a921b0:png_check_keyword 00a92640:png_write_zTXt 00a92cb0:png_write_pCAL 00a932c0:FUN_00a932c0 00a932c0:FUN_00a932c0 00a932c0:FUN_00a932c0 00a932c0:FUN_00a932c0 00a932c0:FUN_00a932c0 00a932c0:FUN_00a932c0 00a96800:FUN_00a96800 00a9ae80:libpng_png_build_gamma_table 00a9ae80:libpng_png_build_gamma_table 00a9ae80:libpng_png_build_gamma_table 00a9ae80:libpng_png_build_gamma_table 00a9ae80:libpng_png_build_gamma_table 00ab1300:png_handle_tRNS 00ab1740:FUN_00ab1740 00ab1bc0:png_handle_pCAL 00ab1bc0:png_handle_pCAL 00ab2040:FUN_00ab2040 00ab2040:FUN_00ab2040 00ab2140:png_handle_zTXt 00ab2140:png_handle_zTXt 00ab33f0:png_read_start_row 00ab33f0:png_read_start_row +00ba64fc Invalid bit depth for grayscale image 00a911e0:png_write_IHDR +00ba6524 Invalid bit depth for grayscale+alpha image 00a911e0:png_write_IHDR +00ba6550 Invalid bit depth for RGBA image 00a911e0:png_write_IHDR +00ba6574 Invalid bit depth for RGB image 00a911e0:png_write_IHDR +00ba6594 Invalid bit depth for paletted image 00a911e0:png_write_IHDR +00ba65bc Invalid cHRM green point specified 00a91790:png_write_cHRM +00ba65e0 Invalid cHRM blue point specified 00a91790:png_write_cHRM +00ba6604 Invalid cHRM white point specified 00a91790:png_write_cHRM +00ba6628 Invalid cHRM red point specified 00a91790:png_write_cHRM +00ba664c Invalid background palette index 00a91dd0:png_write_bKGD 00ba6670 Invalid number of histogram entries specified 00a92070:FUN_00a92070 -00ba66a0 Invalid number of transparent colors specified 00a91b50:FUN_00a91b50 -00ba66d0 Can't write tRNS with an alpha channel 00a91b50:FUN_00a91b50 -00ba66f8 Invalid filter type specified 00a911e0:FUN_00a911e0 -00ba6718 Invalid interlace type specified 00a911e0:FUN_00a911e0 -00ba673c Invalid image color type specified 00a911e0:FUN_00a911e0 -00ba6760 Invalid compression type specified 00a911e0:FUN_00a911e0 -00ba6784 Invalid sRGB rendering intent specified 00a63490:png_write_info_before_PLTE -00ba67ac Invalid sBIT depth specified 00a63490:png_write_info_before_PLTE 00a63490:png_write_info_before_PLTE +00ba66a0 Invalid number of transparent colors specified 00a91b50:png_write_tRNS +00ba66d0 Can't write tRNS with an alpha channel 00a91b50:png_write_tRNS +00ba66f8 Invalid filter type specified 00a911e0:png_write_IHDR +00ba6718 Invalid interlace type specified 00a911e0:png_write_IHDR +00ba673c Invalid image color type specified 00a911e0:png_write_IHDR +00ba6760 Invalid compression type specified 00a911e0:png_write_IHDR +00ba6784 Invalid sRGB rendering intent specified 00a63490:png_write_info +00ba67ac Invalid sBIT depth specified 00a63490:png_write_info 00a63490:png_write_info 00ba67cc Invalid number of colors in palette 00a91610:FUN_00a91610 00a91610:FUN_00a91610 00ba67f0 Unrecognized unit type for pHYs chunk 00a930b0:FUN_00a930b0 00ba6818 Invalid time specified for tIME chunk 00a931f0:FUN_00a931f0 00ba6840 Unrecognized unit type for oFFs chunk 00a92b70:FUN_00a92b70 -00ba6868 Unrecognized equation type for pCAL chunk 00a92cb0:FUN_00a92cb0 00ab1bc0:FUN_00ab1bc0 -00ba6894 trailing spaces removed from keyword 00a921b0:FUN_00a921b0 -00ba68bc leading spaces removed from keyword 00a921b0:FUN_00a921b0 -00ba68e0 zero length keyword 00a921b0:FUN_00a921b0 00a921b0:FUN_00a921b0 -00ba68f4 invalid keyword character 0x%02X 00a921b0:FUN_00a921b0 +00ba6868 Unrecognized equation type for pCAL chunk 00a92cb0:png_write_pCAL 00ab1bc0:png_handle_pCAL +00ba6894 trailing spaces removed from keyword 00a921b0:png_check_keyword +00ba68bc leading spaces removed from keyword 00a921b0:png_check_keyword +00ba68e0 zero length keyword 00a921b0:png_check_keyword 00a921b0:png_check_keyword +00ba68f4 invalid keyword character 0x%02X 00a921b0:png_check_keyword 00ba6918 Empty keyword in zTXt chunk 00a92640:png_write_zTXt -00ba6934 Unknown zTXt compression type %d 00ab2140:FUN_00ab2140 00a92640:png_write_zTXt -00ba6958 keyword length must be 1 - 79 characters 00a921b0:FUN_00a921b0 +00ba6934 Unknown zTXt compression type %d 00ab2140:png_handle_zTXt 00a92640:png_write_zTXt +00ba6958 keyword length must be 1 - 79 characters 00a921b0:png_check_keyword 00ba6984 Empty keyword in tEXt chunk 00a92520:FUN_00a92520 -00ba69a0 Invalid attempt to read row data 00a96cc0:FUN_00a96cc0 -00ba69c4 Not enough image data 00a96cc0:FUN_00a96cc0 00ab3120:FUN_00ab3120 -00ba69dc Missing IHDR before IDAT 00a96980:FUN_00a96980 -00ba69f8 Missing PLTE before IDAT 00a96980:FUN_00a96980 -00ba6a14 Too many IDAT's found 00a97100:FUN_00a97100 -00ba6a2c Extra compressed data 00a96cc0:FUN_00a96cc0 00ab3120:FUN_00ab3120 -00ba6a44 Decompression error 00a96cc0:FUN_00a96cc0 +00ba69a0 Invalid attempt to read row data 00a96cc0:png_read_row +00ba69c4 Not enough image data 00a96cc0:png_read_row 00ab3120:png_read_finish_row +00ba69dc Missing IHDR before IDAT 00a96980:png_read_info +00ba69f8 Missing PLTE before IDAT 00a96980:png_read_info +00ba6a14 Too many IDAT's found 00a97100:png_read_end +00ba6a2c Extra compressed data 00a96cc0:png_read_row 00ab3120:png_read_finish_row +00ba6a44 Decompression error 00a96cc0:png_read_row 00ba6a58 zlib version error 00a96800:FUN_00a96800 00ba6a6c Unknown zlib error 00a96800:FUN_00a96800 00ba6a80 zlib memory error 00a96800:FUN_00a96800 -00ba6a94 Not a PNG file 00a96980:FUN_00a96980 -00ba6aa4 PNG file corrupted by ASCII conversion 00a96980:FUN_00a96980 -00ba6acc Width too large for libpng to process image data. 00a64a50:FUN_00a64a50 -00ba6b00 png_do_dither returned rowbytes=0 00a98430:png_read_row -00ba6b24 NULL row buffer for row %ld, pass %d 00a98430:png_read_row +00ba6a94 Not a PNG file 00a96980:png_read_info +00ba6aa4 PNG file corrupted by ASCII conversion 00a96980:png_read_info +00ba6acc Width too large for libpng to process image data. 00a64a50:ImagePng::load +00ba6b00 png_do_dither returned rowbytes=0 00a98430:png_do_read_transformations +00ba6b24 NULL row buffer for row %ld, pass %d 00a98430:png_do_read_transformations 00ba6b4c Bogus Huffman table definition 00b4df7c 00ba6b6c Bogus input colorspace 00b4df80 00ba6b84 IDCT output block size %d not supported 00b4df74 @@ -11625,21 +11625,21 @@ z 00ba7eb4 Unknown Adobe color transform code %d 00b4e128 00ba7edc Corrupt JPEG data: bad ICC marker 00b4e154 00ba7f00 Invalid restart interval %d; must be an integer multiple of the number of MCUs in an MCU row (%d) 00b4e158 -00ba7f68 C:\nicalis\builderbob\projects\KAGE\Source\Platforms\PC\Shared\Source\External\gl\GLFW_3.4\src\win32_thread.c 00a839e0:FUN_00a839e0 00a6bbb0:FUN_00a6bbb0 00a6bc50:FUN_00a6bc50 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 00a82ad0:FUN_00a82ad0 00a82b90:FUN_00a82b90 00a82c50:FUN_00a82c50 00a6af90:FUN_00a6af90 00a6af90:FUN_00a6af90 00a6a420:FUN_00a6a420 00a1a470:FUN_00a1a470 00a19df0:FUN_00a19df0 00a69f60:_glfwInputError 00a69f60:_glfwInputError 00a69f60:_glfwInputError 00a69f60:_glfwInputError 00a7fa50:FUN_00a7fa50 00a7fa50:FUN_00a7fa50 00a7fb80:FUN_00a7fb80 00a9dad0:FUN_00a9dad0 00a9db20:FUN_00a9db20 +00ba7f68 C:\nicalis\builderbob\projects\KAGE\Source\Platforms\PC\Shared\Source\External\gl\GLFW_3.4\src\win32_thread.c 00a839e0:FUN_00a839e0 00a6bbb0:FUN_00a6bbb0 00a6bc50:FUN_00a6bc50 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs 00a82ad0:FUN_00a82ad0 00a82b90:FUN_00a82b90 00a82c50:FUN_00a82c50 00a6af90:FUN_00a6af90 00a6af90:FUN_00a6af90 00a6a420:glfwInit 00a1a470:FUN_00a1a470 00a19df0:KAGE_Graphics::create_window 00a69f60:_glfwInputError 00a69f60:_glfwInputError 00a69f60:_glfwInputError 00a69f60:_glfwInputError 00a7fa50:FUN_00a7fa50 00a7fa50:FUN_00a7fa50 00a7fb80:FUN_00a7fb80 00a9dad0:FUN_00a9dad0 00a9db20:FUN_00a9db20 00ba8048 tls->win32.allocated == GLFW_FALSE 00a9dad0:FUN_00a9dad0 -00ba8090 mutex->win32.allocated == GLFW_FALSE 00a6a420:FUN_00a6a420 +00ba8090 mutex->win32.allocated == GLFW_FALSE 00a6a420:glfwInit 00ba80e0 mutex->win32.allocated == GLFW_TRUE 00a69f60:_glfwInputError 00a69f60:_glfwInputError 00ba8128 Win32: Failed to allocate TLS index 00a9dad0:FUN_00a9dad0 -00ba8150 tls->win32.allocated == GLFW_TRUE 00a839e0:FUN_00a839e0 00a6bbb0:FUN_00a6bbb0 00a6bc50:FUN_00a6bc50 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 00a6b570:FUN_00a6b570 00a82ad0:FUN_00a82ad0 00a82b90:FUN_00a82b90 00a82c50:FUN_00a82c50 00a6af90:FUN_00a6af90 00a6af90:FUN_00a6af90 00a1a470:FUN_00a1a470 00a19df0:FUN_00a19df0 00a69f60:_glfwInputError 00a69f60:_glfwInputError 00a7fa50:FUN_00a7fa50 00a7fa50:FUN_00a7fa50 00a7fb80:FUN_00a7fb80 00a9db20:FUN_00a9db20 -00ba8194 The requested platform is not supported 00a9db50:FUN_00a9db50 -00ba81bc Invalid platform ID 0x%08X 00a9db50:FUN_00a9db50 -00ba81d8 alcDevicePauseSOFT 00a710a0:KAGE::System::Init 00a9e4f0:FUN_00a9e4f0 -00ba81ec alcEventCallbackSOFT 00a710a0:KAGE::System::Init 00a9e4f0:FUN_00a9e4f0 -00ba8204 alcReopenDeviceSOFT 00a710a0:KAGE::System::Init 00a9e4f0:FUN_00a9e4f0 -00ba8218 alcDeviceResumeSOFT 00a710a0:KAGE::System::Init 00a9e4f0:FUN_00a9e4f0 -00ba822c alcEventControlSOFT 00a710a0:KAGE::System::Init 00a9e4f0:FUN_00a9e4f0 +00ba8150 tls->win32.allocated == GLFW_TRUE 00a839e0:FUN_00a839e0 00a6bbb0:FUN_00a6bbb0 00a6bc50:FUN_00a6bc50 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs 00a6b570:_glfwRefreshContextAttribs 00a82ad0:FUN_00a82ad0 00a82b90:FUN_00a82b90 00a82c50:FUN_00a82c50 00a6af90:FUN_00a6af90 00a6af90:FUN_00a6af90 00a1a470:FUN_00a1a470 00a19df0:KAGE_Graphics::create_window 00a69f60:_glfwInputError 00a69f60:_glfwInputError 00a7fa50:FUN_00a7fa50 00a7fa50:FUN_00a7fa50 00a7fb80:FUN_00a7fb80 00a9db20:FUN_00a9db20 +00ba8194 The requested platform is not supported 00a9db50:_glfwSelectPlatform +00ba81bc Invalid platform ID 0x%08X 00a9db50:_glfwSelectPlatform +00ba81d8 alcDevicePauseSOFT 00a710a0:KAGE::System::Init 00a9e4f0:KAGE::Sound::Manager::Init +00ba81ec alcEventCallbackSOFT 00a710a0:KAGE::System::Init 00a9e4f0:KAGE::Sound::Manager::Init +00ba8204 alcReopenDeviceSOFT 00a710a0:KAGE::System::Init 00a9e4f0:KAGE::Sound::Manager::Init +00ba8218 alcDeviceResumeSOFT 00a710a0:KAGE::System::Init 00a9e4f0:KAGE::Sound::Manager::Init +00ba822c alcEventControlSOFT 00a710a0:KAGE::System::Init 00a9e4f0:KAGE::Sound::Manager::Init 00ba8240 OpenAL-SOFT device has changed\n 00a9e890:FUN_00a9e890 -00ba8260 ALC_SOFT_system_events 00a710a0:KAGE::System::Init 00a9e4f0:FUN_00a9e4f0 00a9e5a0:FUN_00a9e5a0 +00ba8260 ALC_SOFT_system_events 00a710a0:KAGE::System::Init 00a9e4f0:KAGE::Sound::Manager::Init 00a9e5a0:FUN_00a9e5a0 00ba8278 OpenAL-SOFT device has changed, re-opening the device\n 00a9e720:FUN_00a9e720 00ba82b0 Command thread is already initialized\n 00a710a0:KAGE::System::Init 00a60ec0:FUN_00a60ec0 00a28e20:FUN_00a28e20 00a5f510:FUN_00a5f510 00ba82d8 Command thread is not initialized\n 00a73100:CommandThread::post_command @@ -11706,50 +11706,50 @@ z 00ba8f68 frames. 00aaa500:FrameQueue::setSize 00ba8f7c WARNING: '<0x%p>' is deadlocked! 00aaaf50:Mutex::lock 00ba8fa0 WARNING: '<0x%p>' has been scope-unlocked automatically! 00aaae20:Mutex::ScopeLock::~ScopeLock -00ba8fdc Theoraplayer Worker Thread 00aab090:FUN_00aab090 00aab33d:Catch@00aab33d 00a8b570:FUN_00a8b570 +00ba8fdc Theoraplayer Worker Thread 00aab090:FUN_00aab090 00aab33d:Catch@00aab33d 00a8b570:TheoraVideoManager::createWorkerThreads 00ba8ff8 FATAL: Thread '%s' '<0x%p>': 00aab33d:Catch@00aab33d 00ba9018 Thread still executing in destructor! Attempting 'stop', but this may be unsafe. The thread should be joined before deleting it. 00aab170:FUN_00aab170 00aab170:FUN_00aab170 -00ba909c WARNING: Thread '%s' '<0x%p>' already running, cannot start! 00a8b570:FUN_00a8b570 +00ba909c WARNING: Thread '%s' '<0x%p>' already running, cannot start! 00a8b570:TheoraVideoManager::createWorkerThreads 00ba90e8 FATAL: 00aab470:theoraplayer::_Exception::_setInternalMessage 00ba91b0 Implementation unexpectedly missing WGL_ARB_extensions_string. Probably a libepoxy bug.\n 00a8ecc0:wgl_provider_resolver 00aadd10:epoxy_has_wgl_extension -00ba920c need dictionary 00aaf9d0:FUN_00aaf9d0 00b4f160 +00ba920c need dictionary 00aaf9d0:inflate 00b4f160 00ba921c stream end 00b4f164 00ba9228 data error -00ba9234 insufficient memory 00a953b0:FUN_00a953b0 00b4f178 +00ba9234 insufficient memory 00a953b0:deflateInit2_ 00b4f178 00ba9248 file error 00b4f16c 00ba9254 stream error 00a957f0:deflate 00b4f170 00ba9264 buffer error 00a957f0:deflate 00b4f17c 00ba9274 incompatible version -00ba928c unknown compression method 00aaf9d0:FUN_00aaf9d0 -00ba92a8 incorrect data check 00aaf9d0:FUN_00aaf9d0 -00ba92c0 invalid window size 00aaf9d0:FUN_00aaf9d0 -00ba92d4 incorrect header check 00aaf9d0:FUN_00aaf9d0 -00ba92ec Call to NULL read function 00a96980:FUN_00a96980 00a96cc0:FUN_00a96cc0 00a97100:FUN_00a97100 00aafe60:png_crc_read 00aafed0:png_crc_finish 00ab3120:FUN_00ab3120 +00ba928c unknown compression method 00aaf9d0:inflate +00ba92a8 incorrect data check 00aaf9d0:inflate +00ba92c0 invalid window size 00aaf9d0:inflate +00ba92d4 incorrect header check 00aaf9d0:inflate +00ba92ec Call to NULL read function 00a96980:png_read_info 00a96cc0:png_read_row 00a97100:png_read_end 00aafe60:png_crc_read 00aafed0:png_crc_finish 00ab3120:png_read_finish_row 00ba9308 Read Error 00aafd80:FUN_00aafd80 00ba9318 It's an error to set both read_data_fn and write_data_fn in the 00aafdb0:FUN_00aafdb0 00ba935c same structure. Resetting write_data_fn to NULL. 00aafdb0:FUN_00aafdb0 -00ba9390 Unknown compression method in IHDR 00ab00b0:FUN_00ab00b0 -00ba93b4 Unknown filter method in IHDR 00ab00b0:FUN_00ab00b0 -00ba93d4 Invalid color type/bit depth combination in IHDR 00ab00b0:FUN_00ab00b0 -00ba9408 Unknown interlace method in IHDR 00ab00b0:FUN_00ab00b0 +00ba9390 Unknown compression method in IHDR 00ab00b0:png_handle_IHDR +00ba93b4 Unknown filter method in IHDR 00ab00b0:png_handle_IHDR +00ba93d4 Invalid color type/bit depth combination in IHDR 00ab00b0:png_handle_IHDR +00ba9408 Unknown interlace method in IHDR 00ab00b0:png_handle_IHDR 00ba942c Duplicate PLTE chunk 00ab0330:FUN_00ab0330 00ba9444 Invalid palette chunk 00ab0330:FUN_00ab0330 00ba945c Missing IHDR before PLTE 00ab0330:FUN_00ab0330 00ba9478 Invalid PLTE after IDAT 00ab0330:FUN_00ab0330 00ba9490 CRC error 00aafed0:png_crc_finish 00aafed0:png_crc_finish -00ba949c Out of place IHDR 00ab00b0:FUN_00ab00b0 -00ba94b0 Invalid bit depth in IHDR 00ab00b0:FUN_00ab00b0 -00ba94cc Invalid color type in IHDR 00ab00b0:FUN_00ab00b0 -00ba94e8 Invalid IHDR chunk 00ab00b0:FUN_00ab00b0 -00ba94fc Invalid image size in IHDR 00ab00b0:FUN_00ab00b0 +00ba949c Out of place IHDR 00ab00b0:png_handle_IHDR +00ba94b0 Invalid bit depth in IHDR 00ab00b0:png_handle_IHDR +00ba94cc Invalid color type in IHDR 00ab00b0:png_handle_IHDR +00ba94e8 Invalid IHDR chunk 00ab00b0:png_handle_IHDR +00ba94fc Invalid image size in IHDR 00ab00b0:png_handle_IHDR 00ba9518 Out of place sBIT chunk 00ab06d0:FUN_00ab06d0 00ba9530 Duplicate sBIT chunk 00ab06d0:FUN_00ab06d0 -00ba9548 Missing IHDR before sBIT 00ab06d0:FUN_00ab06d0 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images +00ba9548 Missing IHDR before sBIT 00ab06d0:FUN_00ab06d0 00ab0830:png_handle_cHRM 00ba9564 Invalid sBIT after IDAT 00ab06d0:FUN_00ab06d0 -00ba957c Missing PLTE before cHRM 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images -00ba9598 Duplicate cHRM chunk 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images +00ba957c Missing PLTE before cHRM 00ab0830:png_handle_cHRM +00ba9598 Duplicate cHRM chunk 00ab0830:png_handle_cHRM 00ba95b0 Incorrect sBIT chunk length 00ab06d0:FUN_00ab06d0 -00ba95cc Invalid cHRM after IDAT 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images +00ba95cc Invalid cHRM after IDAT 00ab0830:png_handle_cHRM 00ba95e4 Incorrect IEND chunk length 00ab04d0:FUN_00ab04d0 00ba9600 Missing IHDR before gAMA 00ab0540:FUN_00ab0540 00ba961c Truncating incorrect tRNS chunk length 00ab0330:FUN_00ab0330 @@ -11758,22 +11758,22 @@ z 00ba9670 Incorrect gAMA chunk length 00ab0540:FUN_00ab0540 00ba968c Invalid gAMA after IDAT 00ab0540:FUN_00ab0540 00ba96a4 Out of place gAMA chunk 00ab0540:FUN_00ab0540 -00ba96bc Out of place sRGB chunk 00ab0fc0:FUN_00ab0fc0 -00ba96d4 Duplicate sRGB chunk 00ab0fc0:FUN_00ab0fc0 -00ba96ec Missing IHDR before sRGB 00ab0fc0:FUN_00ab0fc0 -00ba9708 Invalid sRGB after IDAT 00ab0fc0:FUN_00ab0fc0 -00ba9720 Ignoring incorrect gAMA value when sRGB is also present 00ab0fc0:FUN_00ab0fc0 -00ba9758 gamma=%f\n 00ab0fc0:FUN_00ab0fc0 -00ba9764 Incorrect sRGB chunk length 00ab0fc0:FUN_00ab0fc0 -00ba9780 Unknown sRGB intent 00ab0fc0:FUN_00ab0fc0 -00ba9794 Invalid cHRM red point 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images -00ba97ac Invalid cHRM green point 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images -00ba97c8 Incorrect cHRM chunk length 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images -00ba97e4 Invalid cHRM white point 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images -00ba9800 wx=%f, wy=%f, rx=%f, ry=%f\n 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images -00ba981c gx=%f, gy=%f, bx=%f, by=%f\n 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images -00ba9838 Invalid cHRM blue point 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images -00ba9850 Ignoring incorrect cHRM value when sRGB is also present 00ab0830:KAGE_Graphics_ImageManager::apply_frame_images 00ab0fc0:FUN_00ab0fc0 +00ba96bc Out of place sRGB chunk 00ab0fc0:png_handle_sRGB +00ba96d4 Duplicate sRGB chunk 00ab0fc0:png_handle_sRGB +00ba96ec Missing IHDR before sRGB 00ab0fc0:png_handle_sRGB +00ba9708 Invalid sRGB after IDAT 00ab0fc0:png_handle_sRGB +00ba9720 Ignoring incorrect gAMA value when sRGB is also present 00ab0fc0:png_handle_sRGB +00ba9758 gamma=%f\n 00ab0fc0:png_handle_sRGB +00ba9764 Incorrect sRGB chunk length 00ab0fc0:png_handle_sRGB +00ba9780 Unknown sRGB intent 00ab0fc0:png_handle_sRGB +00ba9794 Invalid cHRM red point 00ab0830:png_handle_cHRM +00ba97ac Invalid cHRM green point 00ab0830:png_handle_cHRM +00ba97c8 Incorrect cHRM chunk length 00ab0830:png_handle_cHRM +00ba97e4 Invalid cHRM white point 00ab0830:png_handle_cHRM +00ba9800 wx=%f, wy=%f, rx=%f, ry=%f\n 00ab0830:png_handle_cHRM +00ba981c gx=%f, gy=%f, bx=%f, by=%f\n 00ab0830:png_handle_cHRM +00ba9838 Invalid cHRM blue point 00ab0830:png_handle_cHRM +00ba9850 Ignoring incorrect cHRM value when sRGB is also present 00ab0830:png_handle_cHRM 00ab0fc0:png_handle_sRGB 00ba9888 Duplicate bKGD chunk 00ab1540:FUN_00ab1540 00ba98a0 Incorrect bKGD chunk length 00ab1540:FUN_00ab1540 00ba98bc Invalid bKGD after IDAT 00ab1540:FUN_00ab1540 @@ -11782,22 +11782,22 @@ z 00ba990c Duplicate hIST chunk 00ab1740:FUN_00ab1740 00ba9924 Missing IHDR before hIST 00ab1740:FUN_00ab1740 00ba9940 Invalid hIST after IDAT 00ab1740:FUN_00ab1740 -00ba9958 Duplicate tRNS chunk 00ab1300:FUN_00ab1300 -00ba9970 Missing PLTE before tRNS 00ab1300:FUN_00ab1300 -00ba998c Missing IHDR before tRNS 00ab1300:FUN_00ab1300 -00ba99a8 Invalid tRNS after IDAT 00ab1300:FUN_00ab1300 -00ba99c0 tRNS chunk not allowed with alpha channel 00ab1300:FUN_00ab1300 +00ba9958 Duplicate tRNS chunk 00ab1300:png_handle_tRNS +00ba9970 Missing PLTE before tRNS 00ab1300:png_handle_tRNS +00ba998c Missing IHDR before tRNS 00ab1300:png_handle_tRNS +00ba99a8 Invalid tRNS after IDAT 00ab1300:png_handle_tRNS +00ba99c0 tRNS chunk not allowed with alpha channel 00ab1300:png_handle_tRNS 00ba99ec Missing IHDR before bKGD 00ab1540:FUN_00ab1540 -00ba9a08 Incorrect tRNS chunk length 00ab1300:FUN_00ab1300 00ab1300:FUN_00ab1300 -00ba9a24 Zero length tRNS chunk 00ab1300:FUN_00ab1300 -00ba9a3c Invalid pCAL after IDAT 00ab1bc0:FUN_00ab1bc0 -00ba9a54 Duplicate pCAL chunk 00ab1bc0:FUN_00ab1bc0 +00ba9a08 Incorrect tRNS chunk length 00ab1300:png_handle_tRNS 00ab1300:png_handle_tRNS +00ba9a24 Zero length tRNS chunk 00ab1300:png_handle_tRNS +00ba9a3c Invalid pCAL after IDAT 00ab1bc0:png_handle_pCAL +00ba9a54 Duplicate pCAL chunk 00ab1bc0:png_handle_pCAL 00ba9a6c Incorrect oFFs chunk length 00ab1a50:FUN_00ab1a50 -00ba9a88 Missing IHDR before pCAL 00ab1bc0:FUN_00ab1bc0 +00ba9a88 Missing IHDR before pCAL 00ab1bc0:png_handle_pCAL 00ba9aa4 Out of place tIME chunk 00ab1ef0:FUN_00ab1ef0 00ba9abc Duplicate tIME chunk 00ab1ef0:FUN_00ab1ef0 -00ba9ad4 Invalid pCAL data 00ab1bc0:FUN_00ab1bc0 00ab1bc0:FUN_00ab1bc0 -00ba9ae8 Invalid pCAL parameters for equation type 00ab1bc0:FUN_00ab1bc0 +00ba9ad4 Invalid pCAL data 00ab1bc0:png_handle_pCAL 00ab1bc0:png_handle_pCAL +00ba9ae8 Invalid pCAL parameters for equation type 00ab1bc0:png_handle_pCAL 00ba9b14 Invalid pHYS after IDAT 00ab18e0:FUN_00ab18e0 00ba9b2c Duplicate pHYS chunk 00ab18e0:FUN_00ab18e0 00ba9b44 Incorrect hIST chunk length 00ab1740:FUN_00ab1740 @@ -11806,13 +11806,13 @@ z 00ba9b94 Duplicate oFFs chunk 00ab1a50:FUN_00ab1a50 00ba9bac Incorrect pHYs chunk length 00ab18e0:FUN_00ab18e0 00ba9bc8 Missing IHDR before oFFs 00ab1a50:FUN_00ab1a50 -00ba9be4 Extra compression data 00ab3120:FUN_00ab3120 -00ba9bfc Missing IHDR before zTXt 00ab2140:FUN_00ab2140 -00ba9c18 Zero length zTXt chunk 00ab2140:FUN_00ab2140 +00ba9be4 Extra compression data 00ab3120:png_read_finish_row +00ba9bfc Missing IHDR before zTXt 00ab2140:png_handle_zTXt +00ba9c18 Zero length zTXt chunk 00ab2140:png_handle_zTXt 00ba9c30 Incorrect tIME chunk length 00ab1ef0:FUN_00ab1ef0 00ba9c4c Missing IHDR before tEXt 00ab2040:FUN_00ab2040 -00ba9c68 Bad adaptive filter type 00ab2d80:FUN_00ab2d80 -00ba9c84 Decompression Error 00ab3120:FUN_00ab3120 +00ba9c68 Bad adaptive filter type 00ab2d80:png_read_filter_row +00ba9c84 Decompression Error 00ab3120:png_read_finish_row 00ba9c98 unknown critical chunk 00ab2580:FUN_00ab2580 00ba9cb0 invalid chunk type 00ab2580:FUN_00ab2580 00ba9cd0 too many length or distance symbols 00abe30a @@ -11821,20 +11821,20 @@ z 00ba9d24 invalid stored block lengths 00abe2c1 00ba9d7c Null: Gamma ramp size must match current ramp size 00acca40:FUN_00acca40 00ba9db0 Null SuperNoop 0 00ab691a -00ba9dc4 LIBYUV_DISABLE_F16C 00acdf70:FUN_00acdf70 -00ba9dd8 LIBYUV_DISABLE_ASM 00acdf70:FUN_00acdf70 -00ba9dec LIBYUV_DISABLE_FMA3 00acdf70:FUN_00acdf70 -00ba9e00 LIBYUV_DISABLE_AVX3 00acdf70:FUN_00acdf70 -00ba9e14 LIBYUV_DISABLE_SSSE3 00acdf70:FUN_00acdf70 -00ba9e2c LIBYUV_DISABLE_SSE41 00acdf70:FUN_00acdf70 -00ba9e44 LIBYUV_DISABLE_X86 00acdf70:FUN_00acdf70 -00ba9e58 LIBYUV_DISABLE_SSE2 00acdf70:FUN_00acdf70 -00ba9e6c LIBYUV_DISABLE_AVX2 00acdf70:FUN_00acdf70 -00ba9e80 LIBYUV_DISABLE_ERMS 00acdf70:FUN_00acdf70 -00ba9e94 LIBYUV_DISABLE_SSE42 00acdf70:FUN_00acdf70 -00ba9eac LIBYUV_DISABLE_AVX 00acdf70:FUN_00acdf70 -00ba9ec0 invalid literal/length code 00adb9c0:FUN_00adb9c0 00ad40f6 -00ba9edc invalid distance code 00adb9c0:FUN_00adb9c0 00ad3e60 +00ba9dc4 LIBYUV_DISABLE_F16C 00acdf70:InitCpuFlags +00ba9dd8 LIBYUV_DISABLE_ASM 00acdf70:InitCpuFlags +00ba9dec LIBYUV_DISABLE_FMA3 00acdf70:InitCpuFlags +00ba9e00 LIBYUV_DISABLE_AVX3 00acdf70:InitCpuFlags +00ba9e14 LIBYUV_DISABLE_SSSE3 00acdf70:InitCpuFlags +00ba9e2c LIBYUV_DISABLE_SSE41 00acdf70:InitCpuFlags +00ba9e44 LIBYUV_DISABLE_X86 00acdf70:InitCpuFlags +00ba9e58 LIBYUV_DISABLE_SSE2 00acdf70:InitCpuFlags +00ba9e6c LIBYUV_DISABLE_AVX2 00acdf70:InitCpuFlags +00ba9e80 LIBYUV_DISABLE_ERMS 00acdf70:InitCpuFlags +00ba9e94 LIBYUV_DISABLE_SSE42 00acdf70:InitCpuFlags +00ba9eac LIBYUV_DISABLE_AVX 00acdf70:InitCpuFlags +00ba9ec0 invalid literal/length code 00adb9c0:inflate_fast 00ad40f6 +00ba9edc invalid distance code 00adb9c0:inflate_fast 00ad3e60 00ba9ef4 oversubscribed literal/length tree 00abe0e8 00ba9f18 incomplete literal/length tree 00abe100 00ba9f38 oversubscribed dynamic bit lengths tree 00abe33f @@ -15728,7 +15728,7 @@ z 00bf78b8 ceil 00bf78c0 floor 00bf7938 OpenAL32.dll -00c12987 \nPLTE 00a64a50:FUN_00a64a50 +00c12987 \nPLTE 00a64a50:ImagePng::load 00c13cee !!!!!!"""""######$$$$$%%%%%%&&&&&''''''((((())))))*****++++++,,,,,------..... 00c13de2 !!!!!"""""#####$$$$$$%%%%%&&&&&'''''((((()))))*****+++++,,,,,,-----...../////000001111122 00c13ed8 !!!!!"""""#####$$$$$%%%%&&&&&'''''((((()))))*****++++,,,,,-----...../////00001111122222333334444455 @@ -15843,7 +15843,7 @@ z 00c2ad84 !!""###$$%%&&''(())***++,,--..//0011122334455667788899::;;<<==>>???@@AABBCCDDEEFFFGGHHIIJJKKLLMMMNNOOPPQQRRSSTTTUUVVWWXXYYZZ[[[\\]]^^__``aabbbccddeeffgghhiiijjkkllmmnnoopppqqrrssttuuvvww 00c2b082 !!!""##$$%%&&''(())**++,,,--..//001122334455667778899::;;<<==>>??@@AABBCCCDDEEFFGGHHIIJJKKLLMMNNNOOPPQQRRSSTTUUVVWWXXYYYZZ[[\\]]^^__``aabbccdddeeffgghhiijjkkllmmnnoooppqqrrssttuuvvwwxxyyzz 00c5c530 vorbis 00aa5250:stb_vorbis::start_decoder 00aa5250:stb_vorbis::start_decoder 00aa5250:stb_vorbis::start_decoder 00aa5250:stb_vorbis::start_decoder 00aa5250:stb_vorbis::start_decoder -00c5c538 Error decoding zTXt chunk 00ab2140:FUN_00ab2140 00ab2140:FUN_00ab2140 00ab2140:FUN_00ab2140 +00c5c538 Error decoding zTXt chunk 00ab2140:png_handle_zTXt 00ab2140:png_handle_zTXt 00ab2140:png_handle_zTXt 00c5d468 .?AVbad_array_new_length@std@@ 00c5d490 .?AVbad_alloc@std@@ 00c5d4ac .?AVexception@std@@ diff --git a/dump/zhl_fields.tsv b/dump/zhl_fields.tsv index eeb96ac..8996858 100644 --- a/dump/zhl_fields.tsv +++ b/dump/zhl_fields.tsv @@ -1729,3 +1729,211 @@ EntityList 0xa4 int _renderMode EntityList::render_up_to 004199d0 switches on +0 EntityList_EL 0x4 Entity** _data Beast/Dogma/Gideon AIs (00444cc0, 004aafa0, 004b1ee0) read *(Room+0x125c)[i] (EL at EntityList+0x40); render_up_to 004199d0 reads EntityList+0x54 [i] (EL at +0x50) EntityList_EL 0xc uint32_t _size same loops bound i by Room+0x1264 (EL+0xc of _updateEL) and EntityList+0x5c (EL+0xc of _renderEL) Entity 0x176 bool _isInitFlag176 ? only written in the dump: Entity::Init 006a93a0 zeroes it (word with _removedByFactory 0x177); Entity_Pickup::Init 006e02f0 sets 1; Entity_Effect::Init 005cdb20 sets 1 for floor/random-rotation effects (variants with sortingLayer 0/z 2000, 0x61, 0x91, 0x92, 0x9b); Entity_Projectile::Update 00653070 clears it when switching to the "Flickering" anim; no reader found +RNG 0x0 uint32_t _seed RNG::Next 007e90f0 reads/writes the xorshift state at +0 ("RNG Seed is zero!"); RNG::SetSeed 007e8fe0 stores Seed there. Ghidra's RNG is 4 bytes today, so every RNG member shows its shifts as field_0x (Entity+0x3e0..0x3e8, Game+0x182d8.., ItemPool+0x658, Seeds+0xc/0x10, GridEntity+0x30) +RNG 0x4 uint32_t _shift1 RNG::Next 007e90f0 seed ^= seed >> this[1]; RNG::SetSeed 007e8fe0 copies 3 shifts from table DAT_00b1f4c8+idx*0xc into +4..+0xc; Game ctor writes 5,9 (qword) at Game+0x182d8 = _generationRNG+4 +RNG 0x8 uint32_t _shift2 RNG::Next 007e90f0 seed ^= seed << this[2]; SetSeed 007e8fe0 table dword 2 +RNG 0xc uint32_t _shift3 RNG::Next 007e90f0 seed ^= seed >> this[3]; SetSeed 007e8fe0 table dword 3; Level::Init 00744940 sets Game+0x182f0 (_devilAngelRoomRNG+0xc) = 0x13 +Weapon 0x4 Entity* _owner Weapon::Init 009f34d0 stores param_3 at +4; Weapon::Update 009f34f0 steps the charge by owner+0x39c; IsAxisAligned 009f3360 / Fire 009f3540 / Weapon_*::Fire read it as the Entity_Player (or familiar, type 3 -> its player) +Weapon 0x34 uint32_t _modifiers WeaponModifier bits: Weapon_Brimstone::GetMaxCharge 00a00f30 bit 0 (Chocolate Milk) scales max charge 2.5, bit 4 (Ludovico) makes it 0; GetFocusEntity 00a02870 / GetMarkedTargetVariant 00a02800 test bit 4; fire 00a02890 bit 9; Entity_Familiar::update_weapon 0062e620 copies the player's weapon +0x34 | 0x40000000 into the familiar's weapon +ProceduralItemManager 0x28 std_set_TypeVariant _spawnTriggerTargets set of (type, variant or -1) keys (node 0x18, key uint type +0x10 / int variant +0x14): ~ProceduralItemManager 009dc750 erases the tree head at +0x28 (= Game+0x67780, allocated by Game ctor 006f1020 with size +0x2c); ItemPool::CreateGlitchedCollectible 009dcc70 inserts (FUN_009e24f0) a glitched item's trigger target when its trigger kind is 6; Game::SpawnEx 006fe410 and Entity_NPC::Render 0058a010 look up the spawned entity's (type,variant)/(type,-1) and fire trigger_set_dispatch(6,..) on a hit +Manager 0xc int _previousState Manager::Update 00954cd0 saves _state here before switching to the cutscene state 3 and restores _state from it when the cutscene ends; Manager::Init 00952410 zeroes it +Manager 0x20dcc bool _isSavingGameState Manager::save_game_state 00958ed0 sets it to 1 around Game::store_game_state and clears it after saving; entity_type_is_saved 007eed10 forces true while it (or Game _isStoringGlowingHourglassState) is set +Manager 0x21618 bool _isCutscenePending Manager::ShowCutscene 00958e60 and Game::End 006f9770 set it to 1; Manager::Update 00954cd0 then calls Cutscene::Show(_pendingCutsceneId), enters state 3 and clears it; BossOverlay::update 004212c0 sets it too +Manager 0x2161c int _pendingCutsceneId Manager::ShowCutscene 00958e60 stores cutsceneID (<= 0x1a); Game::End 006f9770 stores 3/0xf/0x10..; Manager::Update 00954cd0 passes it to Cutscene::Show(&_cutsceneManager, id) +Manager 0x21620 bool _isCutsceneCleanupPending Manager::ShowCutscene 00958e60 stores its shouldCleanup argument; Manager::Update 00954cd0 unloads the game state (unload_state) before the cutscene and, after it, goes to _cutsceneNextMenuState with the fade color when set +Manager 0x21624 int _cutsceneNextMenuState Manager::ShowCutscene 00958e60 stores its 3rd argument; Manager::Update 00954cd0 copies it into _pendingMenuState and calls start_pending_menu after a cleanup cutscene; Game::End 006f9770 stores the menu to return to +Manager 0x4a950 PopupButtons _popupButtons Manager ctor 00950610 eh-vector-ctor 2 x 0x130 at +0x4a950 (FUN_00951130 = ANM2 ctor + fields); Manager::Init 00954733 loads gfx/ui/ButtonPromptWidget.anm2 into both (FUN_00423aa0); Manager::Update 00954cd0 slides them; Manager::Render 00955c7f calls PopupButtons::Render; Cutscene::Show 0095e7c0 / DeathScreen::Show / online_stats_finalize call PopupButtons::reset on it; ends at _framecount 0x4abbc +PopupButton 0x0 ANM2 _sprite FUN_00423aa0 (Manager::Init) loads gfx/ui/ButtonPromptWidget.anm2 into each 0x130 record and plays LeftPrompt/RightPrompt; PopupButtons::Render 00423cc0 sets layer "Text" frame and renders it +PopupButton 0x114 float _slideOffset Manager::Update 00954cd0 (954fb1) moves +0x114 toward +0x118 by 6.0 per frame for both buttons; FUN_00424130 adds scale*it to the button's screen y; PopupButtons::reset 004239b0 sets 96 +PopupButton 0x118 float _targetSlideOffset PopupButtons::reset 004239b0 sets 96 (hidden below the screen) or 0 with arg 1 (slide in); MenuManager::Render 0098a040 / Manager::RestartGame / update_ingame_input set Manager+0x4aa68/+0x4ab98 to 96 or 0 to hide/show the prompts; Manager::Update 00954cd0 slides _slideOffset to it +PopupButton 0x11c int _textFrame PopupButtons::Render 00423cc0 ANM2::SetLayerFrame(sprite, "Text" layer, *(+0x11c)); reset 004239b0 sets 1 / 0; Cutscene::Show 0095e7c0 sets button 1 to 6 +PopupButton 0x120 bool _isVisible ? PopupButtons::reset 004239b0 sets 1; PopupButtons::Render 00423cc0 draws the action glyph only while it is set (and _buttonAction != 0x20) +PopupButton 0x124 int _buttonAction PopupButtons::reset 004239b0 sets 0xf / 0xe (MENUBACK / MENUCONFIRM); PopupButtons::Render 00423cc0 looks it up in the input device's action table ("ActionId is out of range") and draws its glyph or name; Manager::Update 00954cd0 skips 0x20 +PopupButton 0x128 Vector _offset PopupButtons::reset 004239b0 zeroes it (g_vectorZero); FUN_00424130 adds +0x128/+0x12c to the button's screen position +PopupButtons 0x0 PopupButton _buttons[2] PopupButtons::reset 004239b0 resets records at +0x114.. and +0x244.. (0x130 apart); FUN_00424130 positions button 0 bottom-left and button 1 bottom-right; Manager::Update 00954cd0 loops 2 records of 0x130 +PopupButtons 0x260 float _scale PopupButtons::reset 004239b0 sets 1.0; PopupButtons::Render 00423cc0 and FUN_00424130/004240b0 scale positions, sprite scale and glyphs by it; FUN_0095eb60 (cutscene callback) reads +0x260 +PopupButtons 0x264 void* _callback PopupButtons::reset 004239b0 clears it; Cutscene::Show 0095e8dc stores 0x95eb60 at Manager+0x4abb4 (= +0x264); DeathScreen::Show installs FUN_008cb190 +PopupButtons 0x268 void* _callbackContext PopupButtons::reset 004239b0 clears it; Cutscene::Show 0095e8e6 stores the Cutscene* at Manager+0x4abb8 (= +0x268) beside _callback +Manager 0x4abc0 int _consecutiveResetCount Manager::RestartGame 00958cb0 increments it when its progresScaredHeart argument is set (else zeroes) and unlocks achievement 0x148 (Mr. Resetter) once > 6; StartNewGame 00958aa0 / Menu_Game::Update / Menu_DailyChallenge::Update / Manager::Init zero it +Manager 0x4b3bc Vector _lastMousePosition Manager::Update 00954cd0 compares the window cursor position with +0x4b3bc/+0x4b3c0 and stores it; Manager::Render 009555c0 draws _cursorSprite at it scaled to the window +Manager 0x4b3c4 int _cursorVisibleTimer Manager::Update 00954cd0 sets it to 300 when the mouse moves, else decrements to 0; Manager::Render 009555c0 draws _cursorSprite only while > 0 (mouse control on, state 1/2); Manager::Init zeroes it +Manager 0x4b3c9 bool _isRenderSurfaceResetPending Manager::update_screen_scale 00954150 sets it; Manager::Render 009555c0 then resets the render-target smart pointers, calls create_render_surfaces, re-reads the window size and clears it; Manager::Init zeroes it +Entity_Effect 0x474 float _rotation Lua EntityEffect.Rotation 005784c0 returns float this+0x474; Entity_Effect::Init 005cdb20 zeroes it and sets 30*rand+5 for some variants +Entity_Effect 0x478 float _scale Lua EntityEffect.Scale 004d7770 returns float this+0x478; Entity_Effect::Init 005cdb20 defaults it to 1.0 (1.3 for player-spawned 0x20, 0.033 for 0x9b, 0 for 0x79/0xb2); Entity_Effect::Render 00607620 uses scale*0.65 for the overlay layer +PlayerManager 0xc CoopJoinSlot _coopSlots[4] 4 records of 0x14 at +0xc/+0x20/+0x34/+0x48: PlayerManager::handle_coop_join 009bac40 checks each slot's controller/state and fills playerType/1/1.0/locked; GetPlayerSlotFromController 009baaa0 scans this+0xc for a controller; RemoveCoPlayer 009ba000 resets them (-1,0,-1,0) +CoopJoinSlot 0x0 int _controllerIndex PlayerManager::GetPlayerSlotFromController 009baaa0 matches it; handle_coop_join 009bac40 passes it to Entity_Player::SetControllerIndex for the joined player; RemoveCoPlayer 009ba000 sets -1; HUD::Render 009a3eb0 draws the join menu while >= 0 +CoopJoinSlot 0x4 int _playerType handle_coop_join 009bac40 sets 0 or the challenge's _playerType and spawns SpawnCoPlayer2(it); -1 picks a random entry of PlayerManager+0x70 +CoopJoinSlot 0x8 int _state ? handle_coop_join 009bac40 sets 1 when a controller joins; RemoveCoPlayer 009ba000 / RestoreGameState set -1; handle_coop_join and HUD::Render 009a3eb0 treat >= 0 as an open join menu +CoopJoinSlot 0xc float _menuPosition ? handle_coop_join 009bac40 sets 1.0 on join; HUD::Render 009a3eb0 (9a5d3c) draws character portraits from floor(x-2)..ceil(x+2) offset by (i - it), i.e. the scrolling character-select position +CoopJoinSlot 0x10 bool _isPlayerTypeForced handle_coop_join 009bac40 sets 1 when a challenge/daily forces the type (0 otherwise) and only lets the slot browse characters while it is 0, clearing it on confirm +PlayerManager 0x70 std_vector_int _coopPlayerTypes handle_coop_join 009bac40 picks a random element 1..n-1 of begin/end +0x70/+0x74 for a random (-1) co-op character; HUD::Render 009a3eb0 (Game+0x1bb18) draws the join carousel from it +RoomDescriptor 0x1c int _doors[8] RoomDescriptor::constructor 006ef590 sets the 8 dwords 0x1c..0x38 to -1; Level::ChangeRoom 0073fc80 / UncoverHiddenDoor 0074a1b0 read +0x1c+slot*4 as the neighbouring room index (GetRoomByIdx); MakeRedRoomDoor 0074d010 writes -2 or the new room's GridIndex +ColorModState 0x0 float _red Game::Render 006fbc10 sends Game+0x676b8 (+0) as the colour-modifier tint red; Game ctor 006f1020 inits 1,1,1,0,0,1 +ColorModState 0x4 float _green Game::Render 006fbc10 tint green from +4 (Game+0x676bc) +ColorModState 0x8 float _blue Game::Render 006fbc10 tint blue from +8 (Game+0x676c0) +ColorModState 0xc float _amount Game::Render 006fbc10 Shader::set_uniform("Amount", Game+0x676c4); MenuManager::Render 0098a040 set_uniform("Amount", +0xf7cc) (= its _currentColorModState+0xc) +ColorModState 0x10 float _brightness Game::Render 006fbc10 Shader::set_uniform("Brightness", Game+0x676c8) +ColorModState 0x14 float _contrast Game::Render 006fbc10 Shader::set_uniform("Contrast", Game+0x676cc); ctor default 1.0 +AchievementOverlay 0x0 std_deque_int _queue AchievementOverlay::Update 00931ba0 pops the front id when idle: map +4 [(off>>2) & (mapSize+8 - 1)][off & 3], then size (+0x10) -1 and offset (+0xc) +1 (0 when empty): MSVC deque layout +AchievementOverlay 0x14 int _currentEntry AchievementOverlay::Update 00931ba0 stores the popped id and indexes _entries (+0x134 + it*0x34) for the sprite and the "No sprite for achievement %d (%s)" log +AchievementOverlay 0x18 int _frame AchievementOverlay::Update 00931ba0 zeroes it on entering state 2 and plays "Dissapear" once it passes 0x5a (or MENUCONFIRM) +AchievementOverlay 0x1c int _state AchievementOverlay::Update 00931ba0: 0 idle (pops the queue, -> 1 "Appear"), 1 -> 2 "Idle" + sound 8 when the anim ends, 2 -> 3 "Dissapear", 3 -> 0 +AchievementOverlay 0x20 ANM2 _sprite AchievementOverlay::Update 00931ba0 ANM2::Play(this+0x20, Appear/Idle/Dissapear), GetLayer 0/3, ReplaceSpritesheet layer 3, LoadGraphics; Manager ctor builds an ANM2 at Overlay+0x20 +AchievementOverlay 0x134 AchievementOverlay_Entry _entries[642] AchievementOverlay::Update 00931ba0 indexes +0x134 + id*0x34 (id at +0, name std::string +0x138, gfx std::string +0x150); 0x134 + 0x282*0x34 = 0x839c = _isPopupBlocked +AchievementOverlay_Entry 0x0 int _id AchievementOverlay::Update 00931ba0 logs it as the %d of "No sprite for achievement %d (%s)" +AchievementOverlay_Entry 0x4 std_string _name AchievementOverlay::Update 00931ba0 logs it (heap ptr when capacity +0x14 > 0xf) as the %s +AchievementOverlay_Entry 0x1c std_string _gfx AchievementOverlay::Update 00931ba0 tests its size (+0x10) and passes it to Sprite::ReplaceSpritesheet(layer 3) +ItemOverlay 0x0 int _state ItemOverlay::Update 009aca90: 1 counts _delay down, 0 idle, 2 active until the anim ends (REPENTOGON INACTIVE/WAITING/ACTIVE) +ItemOverlay 0x4 int _overlayID ItemOverlay::Show 009ad210 stores eOverlayID (<= 0x2f) here; Update 009aca90 tests == 0x2c +ItemOverlay 0x8 ANM2 _sprite ItemOverlay::Show 009ad210 ANM2::Reset/Load/ReplaceSpritesheet/LoadGraphics(this+8) from the per-overlay table (0x58 records from +0x11c); Update 009aca90 updates/reads its anim state (+0x38/+0x3c) +ItemOverlay 0x119c int _delay ItemOverlay::Show 009ad210 stores delay; Update 009aca90 decrements it in state 1 and starts the overlay when < 1 +ItemOverlay 0x11a0 EntityPtr _player ItemOverlay::Show 009ad210 assigns player with the EntityPtr multiset erase/insert; Update 009aca90 sets player+0x171 and Render 009acfe0 skips without it +EntityList 0x20 EntityList_EL _mainEL EntityList::Reset 00418230 walks data +0x24 / size +0x2c (cap +0x28), removes entities without FLAG_PERSISTENT (hi flags 0x20) and keeps the rest; EntityList::AddEntity 00418500 pushes non-player entities into it +EntityList 0x30 EntityList_EL _persistentEL EntityList::AddEntity 00418500 pushes players (1), familiars (3) and knives 8.0 into data +0x34 / size +0x3c (cap +0x38); Reset 00418230 re-adds them to _updateEL/_renderEL; EntityList::Update 004186c0 drops the ones no longer existing +EntityList 0x90 EntityList_EL _wispEL EntityList::Reset 00418230 pushes every 3.206 (wisp) of _updateEL into data +0x94 / size +0x9c (cap +0x98) +EntityList_EL 0x8 uint32_t _capacity EntityList::Reset 00418230 / AddEntity 00418500 log "EL: not enough space for push_back" when size+1 > +0x8 +Entity_Player 0x1540 int _potatoPeelerBandageCounter Entity_Player::UseActiveItem 005b39d0 (Potato Peeler case) increments it instead of _potatoPeelerCounter when the player has Ball of Bandages (207) but no Cube of Meat (73); EvaluateItems 00763570 adds it to damage *0.2 and to the Ball of Bandages level (+ GetCollectibleNum(207) + effect num); RestoreGameState 007ae4b0 restores it +Entity_Player 0x1564 float _taurusSpeedBonus Entity_Player::update_effects 00794e50 (79681f) adds a constant to it while the Taurus (299) effect is active and sets cache flags 0x1010, zeroes it when the effect is gone; EvaluateItems 00763570 adds it to _movespeed with the Taurus effect; TriggerNewRoom_TemporaryEffects 007a8350 zeroes it +GenericPrompt 0x0 ANM2 _sprite GenericPrompt::Show 008380f0 ANM2::SetAnimation(this,"Appear") and AnimationState::Rewind(this+0x30); GenericPrompt::Update 00837ab0 updates the anim state while byte +0x109 (ANM2 _loaded) is set and reads its animData +0x34 +Game 0x18320 Vector _dungeonReturnPosition Lua Level:DungeonReturnPosition 0085e140 returns Game+0x18320/+0x18324; Level::GetEnterPosition 0074a090 returns it when re-entering _dungeonReturnRoomIndex from a crawlspace; GridEntity_Stairs::Update 0099bd50 / ENTITY_ROTGUT_face 0057bec0 set it; Level::Init sets 320 +Game 0x18328 int _dungeonReturnRoomIndex Level*==Game*: Level::GetEnterPosition 0074a090 compares _currentRoomIdx with Game+0x18328 (Level._dungeonReturnRoomIndex) before using _dungeonReturnPosition +Level 0x18320 Vector _dungeonReturnPosition Lua Level:DungeonReturnPosition 0085e140 returns this+0x18320/+0x18324; Level::GetEnterPosition 0074a090 returns it for the crawlspace return room; Level::RestoreGameState 007475b0 restores it +Game 0x265c4 uint8_t _restartHoldFrames Manager::update_ingame_input 006fa540 increments this byte each frame ACTION_RESTART (0x12) is held (0 when released), restarts the run once >= 0x10 (not in dailies / Eden); Game::reset_run_state 006f43b0 zeroes it +Ambush 0x18 int _maxWaves ? HUD::Render 009a3eb0 (9a42d9) prints "%d/%d" with Game+0x265ec (_currentWave) over Game+0x265e0 (= Ambush+0x18) +Ambush 0x24 int _currentWave HUD::Render 009a3eb0 prints it as the %d of "%d/%d" waves; Game::store_game_state 006f9000 saves max(it-1, 0); room reset FUN_007eb010 and Game ctor 006f1020 zero Game+0x265ec +OnlineStatsScreen 0x568 std_vector_OnlineStatsPlayer _players ? 0x38-byte records (controller id +0, std::string name +8): online_stats_finalize 008ca600 clears and _Emplace_reallocates them at +0x568/+0x56c/+0x570; Game::Exit 006fa0c0 and update_ingame_input 006fa540 destroy them (Game+0x25ebc) when closing the screen +MusicManager 0x0 int _currentChannel MusicManager::Crossfade 007e1e70 flips *this between 0 and 1 and starts the new music on channel *this; EnableLayer 007e2280 and ENTITY_BEAST 00592460 index the 0x184-byte channel at this+4+*this*0x184 +MusicManager 0x4 MusicChannel _channels[2] MusicManager::Crossfade 007e1e70 / EnableLayer 007e2280 index channels of 0x61 dwords from this+4; 4 + 2*0x184 = 0x30c = _currentMusicID +MusicChannel 0x16c uint32_t _enabledLayers MusicManager::EnableLayer 007e2280 ORs 1<::_Erase_tree) and resets the size; RoomTransition::Update 008318a0 updates every node's anim state +RoomTransition 0x22c Vector _slideOffset ? RoomTransition::ChangeRoom 00830950 sets x (+0x22c) or y (+0x230) to the screen-width/height offset of the new room for the door direction (this+0x10 = 0..3) +NightmareScene 0x36c int _stageBarIcons[14] ? NightmareScene::record_stage 00923320 maps (stage, stageType) to a stage-bar icon index stored at +0x36c + stage*4 (stage 13 at +0x3a0); FUN_00707ad0 sets entry 0 (Manager+0x21994) to -3 in greed / 0; Manager::unload_configs 00953f10 sets entries 0/1 to 0x11 +MenuManager 0xda98 Menu_Online _menuOnline MenuManager::Update 009897d0 Menu_Online::Update(this+0xda98); MenuManager::Render 0098a040 Menu_Online::Render(this+0xda98); ctor 00986450 stores "gfx/ui/main menu/OnlineMenu.anm2" at its first dword, LoadGraphics 00988d80 loads it +ItemConfig 0x7c std_map_LocustConfig _locustConfigs ItemConfig::LoadLocustConfig 0072ba80 clears the tree at +0x7c (size +0x80) before parsing locusts.xml (color/scale/quality per item) and inserts entries (FUN_00731870); ItemConfig::destructor 00725190 erases it and deletes the 0x54-byte head +GridEntity_Door 0x3a0 uint32_t _doorFlags ? GridEntity_Door::LoadSprite 0070d3f0 zeroes it then ORs style bits by room type (1, 2, 4, 8, 0x10 with the "Break" anims, 0x20 with "Collapse", 0x40); SetRoomTypes / Open / TryUnlock / Update / Entity_Effect::update_mr_me / Entity_Familiar::ai_wisp test bits 1/0x10/0x20/0x50 +PauseScreen 0x0 int _state PauseScreen::Show 009b7680 sets *this=1; PauseScreen::Update 009b5d20 sets 4 after GenericPrompt::Show of the quit-daily prompt and back to 1 (then Game::End) when the prompt is answered +PauseScreen 0x47c GenericPrompt _genericPrompt PauseScreen::Update 009b5d20 GenericPrompt::Show(this+0x47c,0) for "#QUIT_DAILY_RUN_*" and GenericPrompt::Update(this+0x47c,1); Render 009b7190 GenericPrompt::Render(this+0x47c); right after REPENTOGON's last ANM2 (0x368+0x114) +GameState 0x1fdec bool _isSaveAvailable FUN_00959fa0 (load save slot) sets byte Manager+0x20d90 (=_gamestate+0x1fdec) to 1 when GameState read 009cc1a0 succeeds, else GameState::Delete; Menu_Game::Update 00981140 / PreRenderContinueImg 00982100 enable the Continue widget on it +GameState 0x1fded bool _isRerunAvailable FUN_00959fa0 sets byte Manager+0x20d91 (=_gamestate+0x1fded) to 1 when GameState::read_rerun 009d7d50 succeeds, else GameState::DeleteRerun; Menu_Game::Update 00981140 also enables Continue on it +GameState 0x1fe24 void* _saveFile Manager::save_game_state 00958ed0 / save_rerun_to_steam_cloud 00959180 delete the old object (vtbl[0](1)), store SaveDataManager::open_file_write result at Manager+0x20dc8 (=_gamestate+0x1fe24), pass it to GameState::write and call vtbl+0x30/+0x34 (flush/close); GameState::read_player 009cb620 reads via this+0x1fe24 (REPENTOGON GameState _saveFile, last member) +Cutscene 0x808 int _currentCutsceneId Cutscene::Show 0095e7c0 unloads entry this[0x202] then stores cutsceneid at this+0x808; Manager::update_screen_scale 00954150 / ResizeWindowCallback 009a9ef0 / Manager::Update 00954cd0 index the 0x4c-byte entries at Cutscene+4 by Manager+0x215d8 (=Cutscene+0x808) +Cutscene 0x84c int _queuedCutsceneId Manager::ShowCutscene 00958e60 stores cutsceneID at Manager+0x2161c (=Cutscene+0x84c) and sets pending byte +0x848; Manager::Update 00954cd0 then calls Cutscene::Show(this, it); BossOverlay::update 004212c0 queues 0x19, Game::End 006f9770 queues the endings +Cutscene 0x850 bool _isQueuedCleanup Manager::ShowCutscene 00958e60 stores shouldCleanup at Manager+0x21620 (=Cutscene+0x850); Manager::Update 00954cd0 clears _isSaveOnExit and calls unload_state before showing when set, and on cutscene end restores the menu state (+0x854) and fade color only when set +StringTable 0xc std_map_cstr_StringTableCategory _categories ? Manager::destructor 00951160 erases trees at StringTable+4 (0x18-byte nodes) and +0xc (0x28-byte nodes, std::map); Game::ShowFortuneText 009807a0 map-finds a category name and compares with the head at Manager+0x4a92c, taking the entry count from the node for RNG::RandomInt +Manager 0x4b284 bool _isSaveOnExit Manager::unload_state 00959670 passes byte this+0x4b284 to Game::Exit(ShouldSave); start_pending_game 00959720 sets it (word 1); Game::DeleteSaveState 00959130 / RestartGame 00958cb0 / Init clear it; Console::RunCommand sets 1 after the rerun restart +Manager 0x4b2a4 bool _isNightmarePending StageTransition::Update 0092f1c0 / ItemOverlay::Update 009aca90 set it with the nightmare id in +0x4b2a5; Manager::Update 00954cd0 then calls NightmareScene::Show(this+0x21628, +0x4b2a5), enters state 5 and clears it; Init 00952410 clears +Game 0x1ba98 RNG _fortuneRNG Lua Game:ShowFortune 005b1870 and FUN_0065d070 ("Fortune_Seeds") pass this+0x1ba98 as the RNG to Game::ShowFortuneText 009807a0; ctor 006f1020 seed 0xaa17414f shifts 5/9/7 at +0x1ba9c..+0x1baa4; Game::Start 006f5320 reseeds from Seeds::GetNextSeed; store_game_state saves it +Game 0x269d0 bool _isConsoleUsedThisRun ? Game::Start 006f5320 / StartDebug 006f7750 / StartDailyChallenge 006f6dd0 copy Manager _isConsoleEnabled into it; StartFromRerunState 006f72f0 sets it when the rerun state flag or the console is on; store_game_state 006f9000 saves it; no other reader found +BossPool 0x8ac vector_bool _removedBosses Level::ForceHorsemanBoss 007481d0 tests bits 9..0xc / 0x26 in *(Game+0x1b81c) (=_bossPool+0x8ac data) and sets the chosen boss id bit; Room::SpawnEntry 007ed310 tests bit 0x18; ctor 006f1020 zeroes it (REPENTOGON BossPool _removedBosses 0x8ac, size 0x8cc) +RoomTransition 0x10 int _direction RoomTransition::ChangeRoom 00830950 switches on it (0..3 door side offsets) and sets Game _leaveDoor=-1 when it is -1; RoomTransition::Update 008318a0 hides players when -1; FUN_00429570 / FUN_00707ad0 zero it +RoomTransition 0x14 int _targetRoomIdx RoomTransition::ChangeRoom 00830950 Level::GetRoomByIdx(+0x14, +0x18) and Game::ChangeRoom(+0x14, +0x18); Update 008318a0 compares it with Game _currentRoomIdx +RoomTransition 0x18 int _targetDimension RoomTransition::ChangeRoom 00830950 passes it as the dimension with _targetRoomIdx to GetRoomByIdx and Game::ChangeRoom +RoomTransition 0x38 ANM2 _versusScreenSprite Game::constructor 006f1020 ANM2::constructor(_roomTransition+0x38); RoomTransition::StartBossIntro 0082f1c0 loads/plays the versus screen on this+0x38 +Seeds 0x18 uint32_t _stageSeeds[14] Lua Seeds:GetStageSeed 00738280 returns this+0x18+min(stage,13)*4 (so _rng at +8 is a 0x10 RNG, not 0x48; Seeds::GetNextSeed 006ef890 shifts are +0xc/+0x10/+0x14) +PersistentGameData 0x4 void* _saveFile PersistentGameData::Load 00926a50 / SaveToSteamCloud 00928ee0 delete the old file object at this+4 (vtbl[0](1)) and store the new one; ctor 00925f80 zeroes it; Manager::destructor frees it +PersistentGameData 0xf64 std_map_int_int _bestiaryEncounters PersistentGameData::TryAddBestiaryEncounter 0092aea0 inserts key (id<<12|variant)*0x100 into the map at this+0xf64 (size +0xf68); Clear 009262b0 erases it +PersistentGameData 0xf6c std_map_int_int _bestiaryKills PersistentGameData::AddBestiaryKill 0092acb0 / GetBestiaryKillCount 0092b100 use the map at this+0xf6c (size +0xf70); Clear 009262b0 erases it +PersistentGameData 0xf7c std_map_int_int _bestiaryDeaths PersistentGameData::GetBestiaryDeathCount 0092b070 finds key (id<<12|variant)*0x100 and returns node value (+0x14) unless it is the head this+0xf7c; Clear 009262b0 erases it and zeroes size +0xf80 +MenuManager 0xda9c ANM2 _onlineMenuSprite MenuManager::constructor 00986450 stores "gfx/ui/main menu/OnlineMenu.anm2" at +0xda98 and builds ANM2 at +0xda9c; LoadGraphics 00988d80 ANM2::Load(+0xda9c, that path) + Play Idle; unload_graphics 00988ba0 resets it (Menu_Mods ends at 0xd96c+0x12c = 0xda98) +MenuManager 0xf5cc ANM2 _onlineStatsMenuSprite MenuManager::LoadGraphics 00988d80 ANM2::Load(+0xf5cc,"gfx/ui/main menu/OnlineStatsMenu.anm2") + Play Idle; MenuManager::Update 009897d0 sets its "Cursor" layer frame; ctor builds it, unload_graphics resets it +EntityConfig_Entity 0x68 std_vector_BossColor _bossColors EntityConfig::load_boss_colors 00698e80 clears (end=begin +0x68/+0x6c) and push_backs 0x7c-byte entries (std::vector<124byte>::_Emplace_reallocate, cap +0x70) +Ambush 0xc std_vector_std_vector_BossRushEntry _bossRushWaves Ambush::SpawnBossrushWave 00833c40 pops the last 0xc-byte element (itself a vector of 12-byte entries) of begin +0xc / end +0x10 _bossesPerWave times; Ambush::Update 00834350 tests it empty in the boss rush room (type 0x11); StartChallenge 00833420 +Room 0x11f0 int _enterFrame Room::GetFrameCount 00813ce0 returns Game _frameCount - this+0x11f0 (-1 if room not initialised); Room::Update 00802980 runs first-frame logic on _frameCount - it == 1 / 4 +Room 0x788c float _beastBlastForce ? only NpcAI::ENTITY_BEAST 00592460 uses it: grows by +-0.2 (cap 7/7.5, sign from flipX) while shooting, decays 0.05/0.8/0.9/0.95, and pushes the colliding entity with -it (+0xbb8); ctor 007e9400 zeroes it +PlayerProceduralItems 0x0 Entity_Player* _player Entity_Player::Init 00755470 (007575bb) stores the player at Entity_Player+0x1fc8 (= _proceduralItems+0) +PlayerProceduralItems 0x4 std_set_int _itemIds Entity_Player::TryRemoveTrinket 00771f60 walks the tree at Entity_Player+0x1fcc for negative (glitched) ids indexing ProceduralItemManager _proceduralItems; ctor 00753da0 builds the head +PlayerHUDActiveItem 0x10 KAGE_SmartPointer_ImageBase _bookImage PlayerHUD::Update 00842230 swaps Manager::LoadImage("gfx/ui/hud_BookOfVirtues.png"/BookOfBelial/WithBelial) into PlayerHUD+0x1a0/+0x1a4+i*0x1c (entry+0x10/+0x14, REPENTOGON bookImage +0x10) +PlayerHUDActiveItem 0x4 int _bookItemId ? PlayerHUD::Update 00842230 reloads the book overlay only when the item id (0x248 Book of Virtues, 0x22 Book of Belial, 0x3b) differs from PlayerHUD+0x194+i*0x1c and then stores it +EntityRef 0x18 Vector _velocity EntityRef::constructor 00431310 copies entity _velocity (or g_vectorZero) to +0x18/+0x1c +EntityRef 0x20 uint32_t _flags EntityRef::constructor 00431310 builds 1 charmed (flag 0x100) | 2 friendly (0x20000000) | 4; Lua EntityRef:IsCharmed 004bc670 returns +0x20 & 1, IsFriendly 004a2910 returns bit 1 +LayerState 0x0 LayerData* _layerData LayerState::Init 00408310 stores its LayerInfo* arg at *this and copies the spritesheet path from arg+0x20; ANM2::Load 0040bd50 reads the layer name at *(layer)+8 to find "shadow" / "*" layers; AnmCache::Load 0040db90 calls Init(layerData + i*0x38) per layer +LayerState 0x4 ANM2* _animation AnmCache::Load 0040db90: after LayerState::Init, layerState[i]+4 = the ANM2 (whose +0x7c is the layer-state array) +LayerState 0x8 std_string _spriteSheetPath Sprite::ReplaceSpritesheet 0040bf30 compares/assigns the path at layer+8 (stride 0xa0) and clears +0x30; ANM2::LoadGraphics 0040c000 passes layer+8 to Manager::LoadImage +LayerState 0x20 unsigned int _minFilterMode LayerState::GetTexture 00408590 passes +0x20/+0x24 to texture vtbl+0x44 (filter) when they differ from tex+0x30/+0x34; SetTexture 00408640 copies tex+0x30 into +0x20; show_beta_disclaimer_popup 00420190 sets GetLayer(0)+0x20 = +0x24 = 1 on its popup sprite +LayerState 0x24 unsigned int _magFilterMode LayerState::GetTexture 00408590 second arg of texture vtbl+0x44 (filter) with +0x20; SetTexture 00408640 copies tex+0x34 +LayerState 0x28 unsigned int _wrapSMode LayerState::GetTexture 00408590 passes +0x28/+0x2c to texture vtbl+0x48 (wrap) when they differ from tex+0x38/+0x3c; SetTexture 00408640 copies tex+0x38; shader renders set GetLayer(0)+0x28 = +0x2c = 0 +LayerState 0x2c unsigned int _wrapTMode LayerState::GetTexture 00408590 second arg of texture vtbl+0x48 (wrap); SetTexture 00408640 copies tex+0x3c +LayerState 0x30 bool _spriteSheetLoaded ANM2::LoadGraphics 0040c000 skips a layer whose +0x30 is set, else loads the image and stores the success flag there; Sprite::ReplaceSpritesheet 0040bf30 clears it; Entity_Pickup::load_collectible_gfx 006e1e90 sets it after binding the glitched-item render target +LayerState 0x32 bool _flipX render_build_sprite_quad 00409cb0 (param_4 = the LayerState from AnimationLayer::RenderFrame 00409120) negates the x scale when layer+0x32 != 0 +LayerState 0x33 bool _flipY render_build_sprite_quad 00409cb0 negates the y scale when layer+0x33 != 0 +LayerState 0x34 Vector _size render_build_sprite_quad 00409cb0 multiplies frame scale (+0x18/+0x1c) by layer+0x34/+0x38; LayerState::Init 00408310 sets it to g_vectorOne +LayerState 0x3c float _rotation render_build_sprite_quad 00409cb0 adds layer+0x3c to the frame rotation (+0x5c); LayerState::Init 00408310 = 0 +LayerState 0x40 Vector _pos render_build_sprite_quad 00409cb0 adds layer+0x40/+0x44 to the frame position (+0x10/+0x14); LayerState::Init 00408310 sets it to g_vectorZero +LayerState 0x48 ColorMod _color AnimationLayer::RenderFrame 00409120 Color::operator_assign(layer+0x48) when flag 1 is set; LayerState::Init 00408310 = tint 1,1,1,1, colorize/offset 0 (0x48..0x73) +LayerState 0x74 bool _visible AnimationLayer::RenderFrame 00409120 returns when byte [layer+0x74] == 0 (CMP byte ptr [EDI+0x74],0 at 004091b8); LayerState::Init 00408310 sets it to 1; Menu_Online::Render 008e4e30 sets GetLayer("BackKey")->+0x74 by controller type +LayerState 0x78 int _blendMode[5] AnimationLayer::RenderFrame 00409120 loads +0x78..+0x84 into g_graphicsManager_blendMode[0..3] and +0x88 into DAT_00c79910; ctor 004081d0/Init 00408310 set 0, 1|6, 7, 1, 7 +LayerState 0x8c unsigned int _bitflags AnimationLayer::RenderFrame 00409120 ORs layer+0x8c with ANM2+0x110 flags (OR ECX,[EDI+0x8c] at 004091f1); render_build_sprite_quad 00409cb0 tests flag 8 in the same OR; ANM2::Load 0040bd50 sets |= 5 on "*" layers +LayerState 0x90 Vector _cropOffset AnimationLayer::RenderFrame 00409120 adds layer+0x90/+0x94 to the source quad position; Entity_Pickup::load_collectible_gfx 006e1e90 sets it to the glitched-item atlas cell (~id&0x1f)*32, (~id>>5)*32; Init 00408310 = g_vectorZero +LayerState 0x98 KAGE_SmartPointer_ImageBase _spriteSheet LayerState::GetTexture 00408590 reads the image at *(layer+0x98) (filter/wrap via its vtbl) and returns a SmartPointer copy of +0x98; ctor 004081d0 zeroes +0x98/+0x9c (8-byte smart pointer, struct stride 0xa0) +DailyChallenge 0x0 unsigned int _id DailyChallenge::Init 00426a50 sets this+0 = dailyDate (yyyymmdd) and seeds the xorshift picks from it; Game::StartDailyChallenge 006f6dd0 copies *daily; Console::Update 0068b260 tests g_game daily _id != 0 +DailyChallenge 0x4 unsigned int _seed Game::StartDailyChallenge 006f6dd0 passes daily[1] to Seeds::Seed2String then Seeds::SetStartSeed +DailyChallenge 0x8 bool _isPractice Game::StartDailyChallenge 006f6dd0 copies byte daily+8; Menu_DailyChallenge::Update 008cf610 sets Manager daily +8 = (selected option == 2) and only bumps the daily event counter when not practice; Console::Update 0068b260 blocks the console in a non-practice daily +DailyChallenge 0xc unsigned int _specialDailyId DailyChallenge::Init 00426a50 sets this+0xc = holiday_get_current() and uses ==2 to shift the date seed; Game::StartDailyChallenge 006f6dd0 copies daily[3] +DailyChallenge 0x10 ChallengeParam _params DailyChallenge::Init 00426a50 calls ChallengeParam::Reset with ECX = this+0x10 then writes playerType/endStage/pathType at +0x10+0x44/+0x40/+0x80; Game::StartDailyChallenge 006f6dd0 reads difficulty at daily+0x80 (=+0x10+0x70) and seed effects at daily+0xa8 (=+0x10+0x98); struct size 0xb4 +ChallengeParam 0x0 std_string _name challenges_xml_load 009569f0: "name" attribute std::string::assign with ECX = the params local (LEA ECX,[EBP-0xd0] at 00956d0b, same as the ChallengeParams ctor call 00956c36); ChallengeParams ctor 00424310 / copy ctor 0095c050 string at +0 +ChallengeParam 0x18 std_set_int _roomset challenges_xml_load 009569f0: "roomfilter" values inserted into the set at params+0x18 (LEA ECX,[EBP-0xb8] before CALL 00428560 at 00957682); ctor 00424310 allocates its head node; Reset 00424440 erases it +ChallengeParam 0x20 std_vector_int _collectibleList challenges_xml_load 009569f0 pushes "startingitems" ids into the vector at params+0x20 (end ptr local +0x24); copy ctor 0095c050 std::vector copy at +0x20 +ChallengeParam 0x2c std_vector_int _trinketList challenges_xml_load 009569f0 pushes "startingtrinkets" ids into the vector at params+0x2c (end ptr local +0x30); Reset 00424440 sets +0x30 = +0x2c +ChallengeParam 0x38 int _startingPill challenges_xml_load 009569f0 stores atoi("startingpill") at params+0x38; Reset 00424440 = -1 +ChallengeParam 0x3c int _startingCard challenges_xml_load 009569f0 stores atoi("startingcard") at params+0x3c +ChallengeParam 0x40 int _endStage challenges_xml_load 009569f0 stores atoi("endstage") at params+0x40; DailyChallenge::Init 00426a50 picks 6/8/10/11 (0xb + megasatan on Sundays) +ChallengeParam 0x44 int _playerType challenges_xml_load 009569f0 stores atoi("playertype") at params+0x44; DailyChallenge::Init 00426a50 picks seed % 20 (skipping 11/12/17/20) and maps to tainted 0x15..0x25 +ChallengeParam 0x48 std_vector_int _achievementList challenges_xml_load 009569f0 pushes "achievements" ids into the vector at params+0x48 (end ptr local +0x4c) +ChallengeParam 0x54 int _soulHearts challenges_xml_load 009569f0 stores atoi("soulhp") at params+0x54 +ChallengeParam 0x58 int _blackHearts challenges_xml_load 009569f0 stores atoi("blackhp") at params+0x58 +ChallengeParam 0x5c int _hearts challenges_xml_load 009569f0 stores atoi("redhp") at params+0x5c +ChallengeParam 0x60 int _maxHearts challenges_xml_load 009569f0 stores atoi("maxhp") at params+0x60 +ChallengeParam 0x64 int _coins challenges_xml_load 009569f0 stores atoi("coins") at params+0x64 +ChallengeParam 0x68 float _addDamage challenges_xml_load 009569f0 stores (float)atof("adddamage") at params+0x68 +ChallengeParam 0x6c bool _canShoot challenges_xml_load 009569f0 parses "canshoot" (true/1) into byte params+0x6c; Reset 00424440 = 1 +ChallengeParam 0x70 int _difficulty challenges_xml_load 009569f0 stores atoi("difficulty") at params+0x70; Game::StartDailyChallenge 006f6dd0 copies daily+0x80 (=+0x10+0x70) to Game _difficulty +ChallengeParam 0x74 bool _isMegaSatan challenges_xml_load 009569f0 stores string_to_bool("megasatan") at params+0x74; DailyChallenge::Init 00426a50 sets it with endStage 11 on Sundays +ChallengeParam 0x78 float _minFireRate challenges_xml_load 009569f0 stores (float)atof("minfirerate") at params+0x78 +ChallengeParam 0x7c bool _maxDamage challenges_xml_load 009569f0 parses "maxdamage" (true/1) into byte params+0x7c +ChallengeParam 0x7d bool _minShotSpeed challenges_xml_load 009569f0 parses "minshotspeed" (true/1) into byte params+0x7d +ChallengeParam 0x7e bool _bigRange challenges_xml_load 009569f0 parses "bigrange" (true/1) into byte params+0x7e +ChallengeParam 0x7f bool _isPathTypeSet ? challenges_xml_load 009569f0 sets byte params+0x7f = 1 for every parsed ; DailyChallenge::Init 00426a50 sets _params+0x7f = 1; Reset 00424440 clears it (dword +0x7c = 0) +ChallengeParam 0x80 int _pathType challenges_xml_load 009569f0: "altpath" true -> params+0x80 = 1, "secretpath" true -> 2; DailyChallenge::Init 00426a50 writes 0..3 with the end stage +ChallengeParam 0x84 unsigned int _getCurse challenges_xml_load 009569f0 stores atoi("getcurse") at params+0x84 +ChallengeParam 0x88 unsigned int _curseFilter challenges_xml_load 009569f0 stores atoi("cursefilter") at params+0x88 +ChallengeParam 0x8c std_vector_int _collectibleTwinList challenges_xml_load 009569f0 pushes "startingitems2" ids into the vector at params+0x8c (end ptr local +0x90); copy ctor 0095c050 std::vector copy at +0x8c +ChallengeParam 0x98 std_vector_int _seedEffects Game::StartDailyChallenge 006f6dd0 calls Seeds::AddSeedEffect(daily+0xa8[i]) (=_params+0x98) for each element (asm 006f6ed2..006f6f12); copy ctor 0095c050 copies the int vector at +0x98; Reset 00424440 sets +0x9c = +0x98; struct size 0xa4 (Game::GetChallengeParams 00706940 stride) +Menu_Online 0x4 ANM2 _anm2 Menu_Online::enter 008e5260 ANM2::SetAnimation(this+4, "Idle"); Menu_Online::Update 008e4b10 GetLayer(this+4, "Cursor") + SetLayerFrame(.., _state); Render 008e4e30 GetLayer(this+4, "BackKey") +Menu_Online 0x22c int _prevState Menu_Online::Update 008e4b10 (asm 008e4b83/008e4be7): a held-input repeat counter, not a previous state: the cursor moves only when it is 0 or >0x31 and %10 == 0, then it is incremented (reset to 0 when no input); Menu_Online::enter 008e5260 sets it to 1 +Menu_Online 0x230 int _state Menu_Online::Update 008e4b10 (asm 008e4ba8..008e4c18) cycles it 0..4 (Quick Match/Public Match/Friend Match/Daily Run/Options) and switches on it when confirming; Render 008e4e30 picks the #Online/ONLINE_*_DESCRIPTOR text from it +GameStateItemPool 0x0 std_vector_float _poolsItemWeights[31] ItemPool::StoreGameState 007367d0 resizes the 31 vectors at state+0 (stride 0xc) to each pool's item count and copies each PoolItem weight (+8, stride 0x18) into them +GameStateItemPool 0x174 uint32_t _bibleUpgrades[31] ItemPool::StoreGameState 007367d0 copies ItemPool _pools[i]._bibleUpgrade (pool+0x30) to state+0x174+i*4 (LEA EAX,[ECX+0x174] at 007367f0) +GameStateItemPool 0x1f0 uint32_t _seed ItemPool::StoreGameState 007367d0 MOV [ECX+0x1f0], ItemPool+0 (seed) at 0073690a +GameStateItemPool 0x1f4 int _lastPool ItemPool::StoreGameState 007367d0 MOV [ECX+0x1f4], ItemPool+0x650 (_lastPool) at 00736916 +GameStateItemPool 0x1f8 uint32_t _itemPoolRNGseed ItemPool::StoreGameState 007367d0 MOV [ECX+0x1f8], ItemPool+0x654 (_itemPoolRNG seed) at 00736922 +GameStateItemPool 0x1fc uint32_t _trinketPoolRNGseed ItemPool::StoreGameState 007367d0 MOV [ECX+0x1fc], ItemPool+0x664 (_trinketPoolRNG seed) at 0073692e +GameStateItemPool 0x200 float _unkFloat674 ? ItemPool::StoreGameState 007367d0 MOV [ECX+0x200], ItemPool+0x674 (_unkFloat674) at 0073693a +GameStateItemPool 0x204 float _unkFloat678 ? ItemPool::StoreGameState 007367d0 MOV [ECX+0x204], ItemPool+0x678 (_unkFloat678) at 00736946 +GameStateItemPool 0x208 vector_bool _removedCollectibles ItemPool::StoreGameState 007367d0 resizes the vector at state+0x208 to ItemPool+0x688 bits and copies the _removedCollectibles bits (ItemPool+0x67c) +GameStateItemPool 0x218 vector_bool _trinketPoolItems ItemPool::StoreGameState 007367d0 resizes the vector at state+0x218 (ADD ECX,0x218 at 007369c8) to the trinket count and stores each TrinketPoolItem +4 (available) flag as a bit (REPENTOGON types it vector_TrinketPoolItem: it is a bit vector) +GameStateItemPool 0x228 int _pillEffects[15] ItemPool::StoreGameState 007367d0 copies 15 dwords ItemPool+0x7a4 (pill effects) to state+0x228 (00736a39..00736a63) +GameStateItemPool 0x264 bool _identifiedPillEffects[15] ItemPool::StoreGameState 007367d0 copies 15 bytes ItemPool+0x7e0 (identified flags, ItemPool::IdentifyPill 00718ea0 / IsPillIdentified 0083c490) to state+0x264 +GameStateItemPool 0x274 uint16_t _remainingGenesisItems[31] ItemPool::StoreGameState 007367d0 copies 31 words ItemPool+0x7f0 to state+0x274 (00736a65..00736a85); struct ends 0x2b4 (name from REPENTOGON, meaning unchecked) +ItemPool_Item 0x0 float _totalWeight ItemPool::load_pools 00735a30 adds each item's weight to pool+0; ItemPool::GetCollectible 00733610 RNG::RandomFloat * pool._totalWeight; ctor 00732c20 = 0 +ItemPool_Item 0x4 std_vector_PoolItem _poolList ItemPool_Item ctor 00732c20 zeroes +4/+8/+0xc; ItemPool::load_pools 00735a30 emplaces 0x18-byte items at pool+8 (end) / +0xc (cap); shuffle_pools 00735910 and StoreGameState 007367d0 walk pool+4..+8 stride 0x18 +ItemPool_Item 0x10 RNG _rng1 ItemPool_Item ctor 00732c20 sets +0x10 = 0xaa17414f and the shift triple at +0x14..+0x1c (RNG layout) +ItemPool_Item 0x20 RNG _rng2 ItemPool_Item ctor 00732c20 sets +0x20 = 0xaa17414f and the shift triple at +0x24..+0x2c +ItemPool_Item 0x30 uint32_t _bibleUpgrade ItemPool_Item ctor 00732c20 zeroes +0x30; ItemPool::StoreGameState 007367d0 copies pool+0x30 to GameStateItemPool._bibleUpgrades[i]; ItemPool::AddBibleUpgrade 00736fd0 adds to ItemPool+0x34+i*0x34; stride 0x34 (GetPool 00732c70) +GlowingHourglassState 0x0 bool _isUsable Game::GetGlowingHourglassState 00706780 returns the slot only when its first byte is set; Game::save_rewind_state 00705ee0 sets *slot = 1 after storing +GlowingHourglassState 0x4 GameState _gameState Game::save_rewind_state 00705ee0 calls store_game_state(game, slot+4); GameState is 0x1fe28 bytes (last member _saveFile at 0x1fe24), so it ends at 0x1fe2c +GlowingHourglassState 0x1fe2c int _leaveDoor Game::save_rewind_state 00705ee0 stores its arg (the door slot, from Room::update_door_transitions 007f01c0; -1 otherwise) at slot+0x1fe2c and returns early if the same door is passed again (REPENTOGON 0x1fca4: drifted +0x188) +GlowingHourglassState 0x1fe30 uint32_t _timeCounter Game::save_rewind_state 00705ee0 stores Game _frameCount at slot+0x1fe30 and skips a new save within 0xf frames of it (REPENTOGON 0x1fca4+4: drifted +0x188) +GlowingHourglassState 0x1fe34 int _eventCounters[523] Game::save_rewind_state 00705ee0 copies 0x20b dwords of PersistentGameData _eventCounters to slot+0x1fe34; ends at 0x20660 = the slot stride (eh-vector ctor 0x20660 x2, GetGlowingHourglassState) (REPENTOGON 0x1fcac: drifted +0x188) +BackwardsStageDesc 0x0 RoomDescriptor _bossRooms[2] Game::SaveBackwardsStage 00708050 (desc = Game::get_backwards_stage 00738340 base): copy_room_list into boss room i, frees/zeroes the RoomDescriptor data pointer at desc+0x10+i*0xb8 (write_room_config first) +BackwardsStageDesc 0x170 GameStateRoomConfig _bossRoomConfigs[2] Game::SaveBackwardsStage 00708050 Level::write_room_config(bossRoom[i].data, desc+0x170+i*0xc) +BackwardsStageDesc 0x188 RoomDescriptor _treasureRooms[2] Game::SaveBackwardsStage 00708050: for room type 4 (treasure) copy_room_list into treasure room i, data pointer at desc+0x198+i*0xb8 +BackwardsStageDesc 0x2f8 GameStateRoomConfig _treasureRoomConfigs[2] Game::SaveBackwardsStage 00708050 Level::write_room_config(treasureRoom[i].data, desc+0x2f8+i*0xc) +BackwardsStageDesc 0x310 uint32_t _bossRoomsCount Game::SaveBackwardsStage 00708050 sets desc+0x310 = 1 (last boss room), increments it per extra type-5 room while < 2; Level::place_rooms_backwards 00741e60 reads it +BackwardsStageDesc 0x314 uint32_t _treasureRoomsCount Game::SaveBackwardsStage 00708050 zeroes desc+0x314 and increments it per type-4 (treasure) room while < 2; Level::place_rooms_backwards 00741e60 reads it +BackwardsStageDesc 0x318 uint32_t _stageType Game::SaveBackwardsStage 00708050 stores Game _stageType at desc+0x318 +BackwardsStageDesc 0x31c bool _isXL Game::SaveBackwardsStage 00708050 sets byte desc+0x31c = (_bossRoomsCount > 1); stride 800 (get_backwards_stage 00738340) diff --git a/project/isaac.rep/idata/00/~00000000.db/db.90.gbf b/project/isaac.rep/idata/00/~00000000.db/db.95.gbf similarity index 98% rename from project/isaac.rep/idata/00/~00000000.db/db.90.gbf rename to project/isaac.rep/idata/00/~00000000.db/db.95.gbf index 58489f5..8d5410f 100644 Binary files a/project/isaac.rep/idata/00/~00000000.db/db.90.gbf and b/project/isaac.rep/idata/00/~00000000.db/db.95.gbf differ diff --git a/scripts/ApplyTypes.java b/scripts/ApplyTypes.java index c5ac9f0..41439b7 100644 --- a/scripts/ApplyTypes.java +++ b/scripts/ApplyTypes.java @@ -34,10 +34,11 @@ public class ApplyTypes extends GhidraScript { } DataType container(String t) { // MSVC STL layouts, so v._end - v._begin reads as such instead of field_0x4 - field_0x0 - String kind = t.startsWith("std_string") ? "string" : t.replaceFirst("^(std_)?(vector|deque|map|set|multiset|multimap|list)_.*", "$2"); + String kind = t.startsWith("std_string") ? "string" : t.matches("(std_)?vector_bool") ? "vector_bool" : t.replaceFirst("^(std_)?(vector|deque|map|set|multiset|multimap|list)_.*", "$2"); String[] m = switch (kind) { case "string" -> new String[] {"_size", "_capacity"}; case "vector" -> new String[] {"_begin", "_end", "_capacity"}; + case "vector_bool" -> new String[] {"_begin", "_end", "_capacity", "_size"}; // packed words + bit count case "deque" -> new String[] {"_proxy", "_map", "_mapSize", "_offset", "_size"}; case "map", "set", "multiset", "multimap", "list" -> new String[] {"_head", "_size"}; default -> null; diff --git a/scripts/headers.py b/scripts/headers.py index c6e69bd..202a9cb 100644 --- a/scripts/headers.py +++ b/scripts/headers.py @@ -34,7 +34,7 @@ def flat(cls, depth=0): f.update(fields.get(cls, {})) return f done, order = {}, [] -STL = [(r'std_string', 0x18), (r'(std_)?vector_', 0xc), (r'(std_)?deque_', 0x14), (r'std_(map|set|multiset|multimap|list)_', 8)] +STL = [(r'std_string', 0x18), (r'(std_)?vector_bool', 0x10), (r'(std_)?vector_', 0xc), (r'(std_)?deque_', 0x14), (r'std_(map|set|multiset|multimap|list)_', 8)] def size_of(t): if t.endswith('*'): return 4 return SIZE.get(t) or done.get(t) or next((n for p, n in STL if re.match(p, t)), None) diff --git a/src/structs.hpp b/src/structs.hpp index 837a2c6..2af2a5f 100644 --- a/src/structs.hpp +++ b/src/structs.hpp @@ -91,11 +91,31 @@ static_assert(offsetof(ANM2, _loaded) == 0x109); static_assert(offsetof(ANM2, _shadowLayerIndex) == 0x10c); static_assert(offsetof(ANM2, _bitflags) == 0x110); +struct AchievementOverlay_Entry { + int _id; // AchievementOverlay::Update 00931ba0 logs it as the %d of "No sprite for achievement %d (%s)" + uint8_t _name[0x18]; // std_string; AchievementOverlay::Update 00931ba0 logs it (heap ptr when capacity +0x14 > 0xf) as the %s + uint8_t _gfx[0x18]; // std_string; AchievementOverlay::Update 00931ba0 tests its size (+0x10) and passes it to Sprite::ReplaceSpritesheet(layer 3) +}; +static_assert(offsetof(AchievementOverlay_Entry, _id) == 0x0); +static_assert(offsetof(AchievementOverlay_Entry, _name) == 0x4); +static_assert(offsetof(AchievementOverlay_Entry, _gfx) == 0x1c); + struct AchievementOverlay { - uint8_t _pad_0x0[0x839c]; + uint8_t _queue[0x14]; // std_deque_int; AchievementOverlay::Update 00931ba0 pops the front id when idle: map +4 [(off>>2) & (mapSize+8 - 1)][off & 3], then size (+0x10) -1 and offset (+0xc) +1 (0 when empty): MSVC deque layout + int _currentEntry; // AchievementOverlay::Update 00931ba0 stores the popped id and indexes _entries (+0x134 + it*0x34) for the sprite and the "No sprite for achievement %d (%s)" log + int _frame; // AchievementOverlay::Update 00931ba0 zeroes it on entering state 2 and plays "Dissapear" once it passes 0x5a (or MENUCONFIRM) + int _state; // AchievementOverlay::Update 00931ba0: 0 idle (pops the queue, -> 1 "Appear"), 1 -> 2 "Idle" + sound 8 when the anim ends, 2 -> 3 "Dissapear", 3 -> 0 + ANM2 _sprite; // AchievementOverlay::Update 00931ba0 ANM2::Play(this+0x20, Appear/Idle/Dissapear), GetLayer 0/3, ReplaceSpritesheet layer 3, LoadGraphics; Manager ctor builds an ANM2 at Overlay+0x20 + AchievementOverlay_Entry _entries[642]; // AchievementOverlay::Update 00931ba0 indexes +0x134 + id*0x34 (id at +0, name std::string +0x138, gfx std::string +0x150); 0x134 + 0x282*0x34 = 0x839c = _isPopupBlocked bool _isPopupBlocked; // Manager::Update 00954cd0 only calls AchievementOverlay::Update and Manager::Render 009555c0 only draws the popup while Manager+0x29fb8 (= Overlay+0x839c, the byte after the 0x282 x 0x34 entry array) is 0; Manager::ShowCutscene 00958e60, BossOverlay::update, Room::SpawnClearAward set 1; Game::Update 006fadc0 clears; AchievementOverlay::load_graphics 00931550 and setter 005cd800 clear this+0x839c uint8_t _pad_0x839d[0x3]; }; +static_assert(offsetof(AchievementOverlay, _queue) == 0x0); +static_assert(offsetof(AchievementOverlay, _currentEntry) == 0x14); +static_assert(offsetof(AchievementOverlay, _frame) == 0x18); +static_assert(offsetof(AchievementOverlay, _state) == 0x1c); +static_assert(offsetof(AchievementOverlay, _sprite) == 0x20); +static_assert(offsetof(AchievementOverlay, _entries) == 0x134); static_assert(offsetof(AchievementOverlay, _isPopupBlocked) == 0x839c); struct ActiveItemDesc { @@ -118,11 +138,100 @@ static_assert(offsetof(ActiveItemDesc, _partialCharge) == 0x18); static_assert(offsetof(ActiveItemDesc, _varData) == 0x1c); struct Ambush { - uint8_t _pad_0x0[0x20]; + uint8_t _pad_0x0[0xc]; + uint8_t _bossRushWaves[0xc]; // std_vector_std_vector_BossRushEntry; Ambush::SpawnBossrushWave 00833c40 pops the last 0xc-byte element (itself a vector of 12-byte entries) of begin +0xc / end +0x10 _bossesPerWave times; Ambush::Update 00834350 tests it empty in the boss rush room (type 0x11); StartChallenge 00833420 + int _maxWaves; // ? HUD::Render 009a3eb0 (9a42d9) prints "%d/%d" with Game+0x265ec (_currentWave) over Game+0x265e0 (= Ambush+0x18) + uint8_t _pad_0x1c[0x4]; bool _isActive; // Room::IsAmbushActive 0081e240 returns byte Game+0x265e8 (_ambush+0x20); Room::Update 00802980 calls Ambush::Update while set in room types 0xb/0x11; GridEntity_Door::Open 00710dd0 stays shut in type 0xb while set; HUD::Render draws the wave counter while set; FUN_007eb010 / ctor clear it, store_game_state saves it uint8_t _pad_0x21[0x3]; + int _currentWave; // HUD::Render 009a3eb0 prints it as the %d of "%d/%d" waves; Game::store_game_state 006f9000 saves max(it-1, 0); room reset FUN_007eb010 and Game ctor 006f1020 zero Game+0x265ec }; +static_assert(offsetof(Ambush, _bossRushWaves) == 0xc); +static_assert(offsetof(Ambush, _maxWaves) == 0x18); static_assert(offsetof(Ambush, _isActive) == 0x20); +static_assert(offsetof(Ambush, _currentWave) == 0x24); + +struct RoomDescriptor { + int32_t GridIndex; + int32_t SafeGridIndex; + int32_t ListIndex; + int32_t Dimension; // ctor zeroes +0xc between ListIndex and Data; Room::update_door_transitions (007f01c0) / Entity_NPC::HandleCollision read the target desc+0xc as the dimension with its GridIndex; RoomTransition::ChangeRoom compares two descs' +0xc + uint32_t Data; // RoomConfig_Room* + uint32_t OverrideData; // RoomConfig_Room* + int32_t AllowedDoors; + int _doors[8]; // RoomDescriptor::constructor 006ef590 sets the 8 dwords 0x1c..0x38 to -1; Level::ChangeRoom 0073fc80 / UncoverHiddenDoor 0074a1b0 read +0x1c+slot*4 as the neighbouring room index (GetRoomByIdx); MakeRedRoomDoor 0074d010 writes -2 or the new room's GridIndex + int32_t DisplayFlags; + int32_t VisitedCount; + int32_t Flags; + int16_t TotalMoneySpent; // FUN_007d8630 (player coin spend, Keeper's Sack) adds the amount to short (Room->_descriptor)+0x48 and unlocks achievement 0x246 once it exceeds 0x27; ctor zeroes it + int16_t ClearCount; + int32_t GreedSubType; // Level::generate_greed (0073e0a0) stores the chosen greed room subtype (4 or 0xb) in current desc+0x4c when 0, else reuses it as the RoomConfig::GetRandomRoom subtype; ctor zeroes it + int16_t PoopCount; + int16_t TKeeperCoinSpawns; // Entity_Pickup::Update (006bbdc0) for player type 0x21 (Tainted Keeper): if the room was visited before, stops at short desc+0x52 > 9, else rolls 1/(n+1) and increments it per enemy coin spawn + int32_t PitsCount; + int32_t DecorationSeed; + int32_t SpawnSeed; + int32_t AwardSeed; + uint32_t BossDeathSeed; // Room::TriggerBossDeath (007fec00, log "TriggerBossDeath: %d bosses remaining.") loads (Room->_descriptor)+0x64 at 007fed23 as the RNG seed for the last-boss-death reward (Game+0x265f4 overrides); ctor zeroes it + uint8_t SavedGridEntities[0xc]; // vector_GridEntityDesc; RoomDescriptor::constructor (006ef590) sizes the vector at +0x68/+0x6c/+0x70 to 0x1c0 (grid cells) x 0x20 GridEntityDesc, each with seed 0x16a9de81 at +0x10/+0x1c + uint8_t SavedEntities[0xc]; // vector_EntitySaveState; Room::RestoreState (007eff50) respawns each 0x78-byte EntitySaveState in desc+0x74..+0x78 via Game::SpawnEx + Entity_Pickup::RestoreState, then clears it + uint8_t RestrictedGridIndexes[0x8]; // std_set_int; ctor allocates a 0x14-byte std::set head at +0x80 (size +0x84); grid-bound enemies (NpcAI POKY/SPIKEBALL/STONEHEAD/CONSTANT_STONE_SHOOTER/BOMB_GRIMACE/GUTS) std::set::insert their _spawnGridIndex into current desc+0x80 on death; Room::Init find_node's it + uint8_t SavedEffects[0xc]; // vector_EntitySaveState; Game::spawn_bomb_crater (00703190) appends the crater effect's 0x78-byte save state to (Room->_descriptor)+0x88..+0x90, capped at 0x80 entries + uint8_t _pad_0x94[0x18]; + int16_t ShopItemIdx; + int16_t ShopItemDiscountIdx; + int32_t DeliriumDistance; + int32_t Group; // RoomDescriptor::constructor 006ef590 sets +0xb4 = -1; operator_assign 007387d0 copies it as last dword (stride 0xb8); Level::GetRandomRoomIndex 00740860 only picks rooms whose +0xb4 is -1 or equals the current room's +}; +static_assert(offsetof(RoomDescriptor, GridIndex) == 0x0); +static_assert(offsetof(RoomDescriptor, SafeGridIndex) == 0x4); +static_assert(offsetof(RoomDescriptor, ListIndex) == 0x8); +static_assert(offsetof(RoomDescriptor, Dimension) == 0xc); +static_assert(offsetof(RoomDescriptor, Data) == 0x10); +static_assert(offsetof(RoomDescriptor, OverrideData) == 0x14); +static_assert(offsetof(RoomDescriptor, AllowedDoors) == 0x18); +static_assert(offsetof(RoomDescriptor, _doors) == 0x1c); +static_assert(offsetof(RoomDescriptor, DisplayFlags) == 0x3c); +static_assert(offsetof(RoomDescriptor, VisitedCount) == 0x40); +static_assert(offsetof(RoomDescriptor, Flags) == 0x44); +static_assert(offsetof(RoomDescriptor, TotalMoneySpent) == 0x48); +static_assert(offsetof(RoomDescriptor, ClearCount) == 0x4a); +static_assert(offsetof(RoomDescriptor, GreedSubType) == 0x4c); +static_assert(offsetof(RoomDescriptor, PoopCount) == 0x50); +static_assert(offsetof(RoomDescriptor, TKeeperCoinSpawns) == 0x52); +static_assert(offsetof(RoomDescriptor, PitsCount) == 0x54); +static_assert(offsetof(RoomDescriptor, DecorationSeed) == 0x58); +static_assert(offsetof(RoomDescriptor, SpawnSeed) == 0x5c); +static_assert(offsetof(RoomDescriptor, AwardSeed) == 0x60); +static_assert(offsetof(RoomDescriptor, BossDeathSeed) == 0x64); +static_assert(offsetof(RoomDescriptor, SavedGridEntities) == 0x68); +static_assert(offsetof(RoomDescriptor, SavedEntities) == 0x74); +static_assert(offsetof(RoomDescriptor, RestrictedGridIndexes) == 0x80); +static_assert(offsetof(RoomDescriptor, SavedEffects) == 0x88); +static_assert(offsetof(RoomDescriptor, ShopItemIdx) == 0xac); +static_assert(offsetof(RoomDescriptor, ShopItemDiscountIdx) == 0xae); +static_assert(offsetof(RoomDescriptor, DeliriumDistance) == 0xb0); +static_assert(offsetof(RoomDescriptor, Group) == 0xb4); + +struct BackwardsStageDesc { + RoomDescriptor _bossRooms[2]; // Game::SaveBackwardsStage 00708050 (desc = Game::get_backwards_stage 00738340 base): copy_room_list into boss room i, frees/zeroes the RoomDescriptor data pointer at desc+0x10+i*0xb8 (write_room_config first) + uint8_t _bossRoomConfigs[0x18]; // GameStateRoomConfig; Game::SaveBackwardsStage 00708050 Level::write_room_config(bossRoom[i].data, desc+0x170+i*0xc) + RoomDescriptor _treasureRooms[2]; // Game::SaveBackwardsStage 00708050: for room type 4 (treasure) copy_room_list into treasure room i, data pointer at desc+0x198+i*0xb8 + uint8_t _treasureRoomConfigs[0x18]; // GameStateRoomConfig; Game::SaveBackwardsStage 00708050 Level::write_room_config(treasureRoom[i].data, desc+0x2f8+i*0xc) + uint32_t _bossRoomsCount; // Game::SaveBackwardsStage 00708050 sets desc+0x310 = 1 (last boss room), increments it per extra type-5 room while < 2; Level::place_rooms_backwards 00741e60 reads it + uint32_t _treasureRoomsCount; // Game::SaveBackwardsStage 00708050 zeroes desc+0x314 and increments it per type-4 (treasure) room while < 2; Level::place_rooms_backwards 00741e60 reads it + uint32_t _stageType; // Game::SaveBackwardsStage 00708050 stores Game _stageType at desc+0x318 + bool _isXL; // Game::SaveBackwardsStage 00708050 sets byte desc+0x31c = (_bossRoomsCount > 1); stride 800 (get_backwards_stage 00738340) + uint8_t _pad_0x31d[0x3]; +}; +static_assert(offsetof(BackwardsStageDesc, _bossRooms) == 0x0); +static_assert(offsetof(BackwardsStageDesc, _bossRoomConfigs) == 0x170); +static_assert(offsetof(BackwardsStageDesc, _treasureRooms) == 0x188); +static_assert(offsetof(BackwardsStageDesc, _treasureRoomConfigs) == 0x2f8); +static_assert(offsetof(BackwardsStageDesc, _bossRoomsCount) == 0x310); +static_assert(offsetof(BackwardsStageDesc, _treasureRoomsCount) == 0x314); +static_assert(offsetof(BackwardsStageDesc, _stageType) == 0x318); +static_assert(offsetof(BackwardsStageDesc, _isXL) == 0x31c); struct BitSet128 { uint64_t _l; // Lua BitSet128.l via binder 008774f0: getter 008bc3c0 pushes two dwords via FUN_0085c030 (64-bit pushinteger), setter stores 64-bit checkinteger @@ -131,6 +240,12 @@ struct BitSet128 { static_assert(offsetof(BitSet128, _l) == 0x0); static_assert(offsetof(BitSet128, _h) == 0x8); +struct BossPool { + uint8_t _pad_0x0[0x8ac]; + uint8_t _removedBosses[0x10]; // vector_bool; Level::ForceHorsemanBoss 007481d0 tests bits 9..0xc / 0x26 in *(Game+0x1b81c) (=_bossPool+0x8ac data) and sets the chosen boss id bit; Room::SpawnEntry 007ed310 tests bit 0x18; ctor 006f1020 zeroes it (REPENTOGON BossPool _removedBosses 0x8ac, size 0x8cc) +}; +static_assert(offsetof(BossPool, _removedBosses) == 0x8ac); + struct Camera { uint8_t _aimOffsetBuffer[16]; // ring buffer {Vector* data, int capacity, int count, int head} of 60 aim/focus-entity look-ahead offsets: ctor 009428d0 fills 0x3c, update_focus_position 009439d0 pushes aimDirection*35 (or knife/Epic Fetus focus offset), FUN_00943190 averages it uint8_t _velocityOffsetBuffer[16]; // ring buffer (90) of player velocity*4.5 look-ahead: update_focus_position 009439d0 pushes it, averages with FUN_00943190; SnapToPosition 00944d40 refills with zero @@ -163,6 +278,96 @@ static_assert(offsetof(Camera, _unk84) == 0x84); static_assert(offsetof(Camera, _shouldOverride) == 0x8c); static_assert(offsetof(Camera, _followLerp) == 0x90); +struct ChallengeParam { + uint8_t _name[0x18]; // std_string; challenges_xml_load 009569f0: "name" attribute std::string::assign with ECX = the params local (LEA ECX,[EBP-0xd0] at 00956d0b, same as the ChallengeParams ctor call 00956c36); ChallengeParams ctor 00424310 / copy ctor 0095c050 string at +0 + uint8_t _roomset[0x8]; // std_set_int; challenges_xml_load 009569f0: "roomfilter" values inserted into the set at params+0x18 (LEA ECX,[EBP-0xb8] before CALL 00428560 at 00957682); ctor 00424310 allocates its head node; Reset 00424440 erases it + uint8_t _collectibleList[0xc]; // std_vector_int; challenges_xml_load 009569f0 pushes "startingitems" ids into the vector at params+0x20 (end ptr local +0x24); copy ctor 0095c050 std::vector copy at +0x20 + uint8_t _trinketList[0xc]; // std_vector_int; challenges_xml_load 009569f0 pushes "startingtrinkets" ids into the vector at params+0x2c (end ptr local +0x30); Reset 00424440 sets +0x30 = +0x2c + int _startingPill; // challenges_xml_load 009569f0 stores atoi("startingpill") at params+0x38; Reset 00424440 = -1 + int _startingCard; // challenges_xml_load 009569f0 stores atoi("startingcard") at params+0x3c + int _endStage; // challenges_xml_load 009569f0 stores atoi("endstage") at params+0x40; DailyChallenge::Init 00426a50 picks 6/8/10/11 (0xb + megasatan on Sundays) + int _playerType; // challenges_xml_load 009569f0 stores atoi("playertype") at params+0x44; DailyChallenge::Init 00426a50 picks seed % 20 (skipping 11/12/17/20) and maps to tainted 0x15..0x25 + uint8_t _achievementList[0xc]; // std_vector_int; challenges_xml_load 009569f0 pushes "achievements" ids into the vector at params+0x48 (end ptr local +0x4c) + int _soulHearts; // challenges_xml_load 009569f0 stores atoi("soulhp") at params+0x54 + int _blackHearts; // challenges_xml_load 009569f0 stores atoi("blackhp") at params+0x58 + int _hearts; // challenges_xml_load 009569f0 stores atoi("redhp") at params+0x5c + int _maxHearts; // challenges_xml_load 009569f0 stores atoi("maxhp") at params+0x60 + int _coins; // challenges_xml_load 009569f0 stores atoi("coins") at params+0x64 + float _addDamage; // challenges_xml_load 009569f0 stores (float)atof("adddamage") at params+0x68 + bool _canShoot; // challenges_xml_load 009569f0 parses "canshoot" (true/1) into byte params+0x6c; Reset 00424440 = 1 + uint8_t _pad_0x6d[0x3]; + int _difficulty; // challenges_xml_load 009569f0 stores atoi("difficulty") at params+0x70; Game::StartDailyChallenge 006f6dd0 copies daily+0x80 (=+0x10+0x70) to Game _difficulty + bool _isMegaSatan; // challenges_xml_load 009569f0 stores string_to_bool("megasatan") at params+0x74; DailyChallenge::Init 00426a50 sets it with endStage 11 on Sundays + uint8_t _pad_0x75[0x3]; + float _minFireRate; // challenges_xml_load 009569f0 stores (float)atof("minfirerate") at params+0x78 + bool _maxDamage; // challenges_xml_load 009569f0 parses "maxdamage" (true/1) into byte params+0x7c + bool _minShotSpeed; // challenges_xml_load 009569f0 parses "minshotspeed" (true/1) into byte params+0x7d + bool _bigRange; // challenges_xml_load 009569f0 parses "bigrange" (true/1) into byte params+0x7e + bool _isPathTypeSet; // ? challenges_xml_load 009569f0 sets byte params+0x7f = 1 for every parsed ; DailyChallenge::Init 00426a50 sets _params+0x7f = 1; Reset 00424440 clears it (dword +0x7c = 0) + int _pathType; // challenges_xml_load 009569f0: "altpath" true -> params+0x80 = 1, "secretpath" true -> 2; DailyChallenge::Init 00426a50 writes 0..3 with the end stage + uint32_t _getCurse; // challenges_xml_load 009569f0 stores atoi("getcurse") at params+0x84 + uint32_t _curseFilter; // challenges_xml_load 009569f0 stores atoi("cursefilter") at params+0x88 + uint8_t _collectibleTwinList[0xc]; // std_vector_int; challenges_xml_load 009569f0 pushes "startingitems2" ids into the vector at params+0x8c (end ptr local +0x90); copy ctor 0095c050 std::vector copy at +0x8c + uint8_t _seedEffects[0xc]; // std_vector_int; Game::StartDailyChallenge 006f6dd0 calls Seeds::AddSeedEffect(daily+0xa8[i]) (=_params+0x98) for each element (asm 006f6ed2..006f6f12); copy ctor 0095c050 copies the int vector at +0x98; Reset 00424440 sets +0x9c = +0x98; struct size 0xa4 (Game::GetChallengeParams 00706940 stride) +}; +static_assert(offsetof(ChallengeParam, _name) == 0x0); +static_assert(offsetof(ChallengeParam, _roomset) == 0x18); +static_assert(offsetof(ChallengeParam, _collectibleList) == 0x20); +static_assert(offsetof(ChallengeParam, _trinketList) == 0x2c); +static_assert(offsetof(ChallengeParam, _startingPill) == 0x38); +static_assert(offsetof(ChallengeParam, _startingCard) == 0x3c); +static_assert(offsetof(ChallengeParam, _endStage) == 0x40); +static_assert(offsetof(ChallengeParam, _playerType) == 0x44); +static_assert(offsetof(ChallengeParam, _achievementList) == 0x48); +static_assert(offsetof(ChallengeParam, _soulHearts) == 0x54); +static_assert(offsetof(ChallengeParam, _blackHearts) == 0x58); +static_assert(offsetof(ChallengeParam, _hearts) == 0x5c); +static_assert(offsetof(ChallengeParam, _maxHearts) == 0x60); +static_assert(offsetof(ChallengeParam, _coins) == 0x64); +static_assert(offsetof(ChallengeParam, _addDamage) == 0x68); +static_assert(offsetof(ChallengeParam, _canShoot) == 0x6c); +static_assert(offsetof(ChallengeParam, _difficulty) == 0x70); +static_assert(offsetof(ChallengeParam, _isMegaSatan) == 0x74); +static_assert(offsetof(ChallengeParam, _minFireRate) == 0x78); +static_assert(offsetof(ChallengeParam, _maxDamage) == 0x7c); +static_assert(offsetof(ChallengeParam, _minShotSpeed) == 0x7d); +static_assert(offsetof(ChallengeParam, _bigRange) == 0x7e); +static_assert(offsetof(ChallengeParam, _isPathTypeSet) == 0x7f); +static_assert(offsetof(ChallengeParam, _pathType) == 0x80); +static_assert(offsetof(ChallengeParam, _getCurse) == 0x84); +static_assert(offsetof(ChallengeParam, _curseFilter) == 0x88); +static_assert(offsetof(ChallengeParam, _collectibleTwinList) == 0x8c); +static_assert(offsetof(ChallengeParam, _seedEffects) == 0x98); + +struct ColorModState { + float _red; // Game::Render 006fbc10 sends Game+0x676b8 (+0) as the colour-modifier tint red; Game ctor 006f1020 inits 1,1,1,0,0,1 + float _green; // Game::Render 006fbc10 tint green from +4 (Game+0x676bc) + float _blue; // Game::Render 006fbc10 tint blue from +8 (Game+0x676c0) + float _amount; // Game::Render 006fbc10 Shader::set_uniform("Amount", Game+0x676c4); MenuManager::Render 0098a040 set_uniform("Amount", +0xf7cc) (= its _currentColorModState+0xc) + float _brightness; // Game::Render 006fbc10 Shader::set_uniform("Brightness", Game+0x676c8) + float _contrast; // Game::Render 006fbc10 Shader::set_uniform("Contrast", Game+0x676cc); ctor default 1.0 +}; +static_assert(offsetof(ColorModState, _red) == 0x0); +static_assert(offsetof(ColorModState, _green) == 0x4); +static_assert(offsetof(ColorModState, _blue) == 0x8); +static_assert(offsetof(ColorModState, _amount) == 0xc); +static_assert(offsetof(ColorModState, _brightness) == 0x10); +static_assert(offsetof(ColorModState, _contrast) == 0x14); + +struct CoopJoinSlot { + int _controllerIndex; // PlayerManager::GetPlayerSlotFromController 009baaa0 matches it; handle_coop_join 009bac40 passes it to Entity_Player::SetControllerIndex for the joined player; RemoveCoPlayer 009ba000 sets -1; HUD::Render 009a3eb0 draws the join menu while >= 0 + int _playerType; // handle_coop_join 009bac40 sets 0 or the challenge's _playerType and spawns SpawnCoPlayer2(it); -1 picks a random entry of PlayerManager+0x70 + int _state; // ? handle_coop_join 009bac40 sets 1 when a controller joins; RemoveCoPlayer 009ba000 / RestoreGameState set -1; handle_coop_join and HUD::Render 009a3eb0 treat >= 0 as an open join menu + float _menuPosition; // ? handle_coop_join 009bac40 sets 1.0 on join; HUD::Render 009a3eb0 (9a5d3c) draws character portraits from floor(x-2)..ceil(x+2) offset by (i - it), i.e. the scrolling character-select position + bool _isPlayerTypeForced; // handle_coop_join 009bac40 sets 1 when a challenge/daily forces the type (0 otherwise) and only lets the slot browse characters while it is 0, clearing it on confirm + uint8_t _pad_0x11[0x3]; +}; +static_assert(offsetof(CoopJoinSlot, _controllerIndex) == 0x0); +static_assert(offsetof(CoopJoinSlot, _playerType) == 0x4); +static_assert(offsetof(CoopJoinSlot, _state) == 0x8); +static_assert(offsetof(CoopJoinSlot, _menuPosition) == 0xc); +static_assert(offsetof(CoopJoinSlot, _isPlayerTypeForced) == 0x10); + struct CostumeSpriteDesc { uint8_t _pad_0x0[0x114]; uint32_t _item; // ItemConfig_Item* // Entity_Player::UpdateCostumes 0075bf00 reads desc+0x114 as {type,id} (tests type 3 id 0x271 Mega Mush, types 1/3/4 id 0x14); AddCostume compares it with the ItemConfig_Item* arg while walking the 0x130-stride vector @@ -174,19 +379,57 @@ static_assert(offsetof(CostumeSpriteDesc, _item) == 0x114); static_assert(offsetof(CostumeSpriteDesc, _priority) == 0x118); static_assert(offsetof(CostumeSpriteDesc, _playerType) == 0x12c); +struct Cutscene { + uint8_t _pad_0x0[0x808]; + int _currentCutsceneId; // Cutscene::Show 0095e7c0 unloads entry this[0x202] then stores cutsceneid at this+0x808; Manager::update_screen_scale 00954150 / ResizeWindowCallback 009a9ef0 / Manager::Update 00954cd0 index the 0x4c-byte entries at Cutscene+4 by Manager+0x215d8 (=Cutscene+0x808) + uint8_t _pad_0x80c[0x40]; + int _queuedCutsceneId; // Manager::ShowCutscene 00958e60 stores cutsceneID at Manager+0x2161c (=Cutscene+0x84c) and sets pending byte +0x848; Manager::Update 00954cd0 then calls Cutscene::Show(this, it); BossOverlay::update 004212c0 queues 0x19, Game::End 006f9770 queues the endings + bool _isQueuedCleanup; // Manager::ShowCutscene 00958e60 stores shouldCleanup at Manager+0x21620 (=Cutscene+0x850); Manager::Update 00954cd0 clears _isSaveOnExit and calls unload_state before showing when set, and on cutscene end restores the menu state (+0x854) and fade color only when set + uint8_t _pad_0x851[0x3]; +}; +static_assert(offsetof(Cutscene, _currentCutsceneId) == 0x808); +static_assert(offsetof(Cutscene, _queuedCutsceneId) == 0x84c); +static_assert(offsetof(Cutscene, _isQueuedCleanup) == 0x850); + +struct DailyChallenge { + uint32_t _id; // DailyChallenge::Init 00426a50 sets this+0 = dailyDate (yyyymmdd) and seeds the xorshift picks from it; Game::StartDailyChallenge 006f6dd0 copies *daily; Console::Update 0068b260 tests g_game daily _id != 0 + uint32_t _seed; // Game::StartDailyChallenge 006f6dd0 passes daily[1] to Seeds::Seed2String then Seeds::SetStartSeed + bool _isPractice; // Game::StartDailyChallenge 006f6dd0 copies byte daily+8; Menu_DailyChallenge::Update 008cf610 sets Manager daily +8 = (selected option == 2) and only bumps the daily event counter when not practice; Console::Update 0068b260 blocks the console in a non-practice daily + uint8_t _pad_0x9[0x3]; + uint32_t _specialDailyId; // DailyChallenge::Init 00426a50 sets this+0xc = holiday_get_current() and uses ==2 to shift the date seed; Game::StartDailyChallenge 006f6dd0 copies daily[3] + ChallengeParam _params; // DailyChallenge::Init 00426a50 calls ChallengeParam::Reset with ECX = this+0x10 then writes playerType/endStage/pathType at +0x10+0x44/+0x40/+0x80; Game::StartDailyChallenge 006f6dd0 reads difficulty at daily+0x80 (=+0x10+0x70) and seed effects at daily+0xa8 (=+0x10+0x98); struct size 0xb4 +}; +static_assert(offsetof(DailyChallenge, _id) == 0x0); +static_assert(offsetof(DailyChallenge, _seed) == 0x4); +static_assert(offsetof(DailyChallenge, _isPractice) == 0x8); +static_assert(offsetof(DailyChallenge, _specialDailyId) == 0xc); +static_assert(offsetof(DailyChallenge, _params) == 0x10); + struct DeathmatchManager { uint8_t _pad_0x0[0xc]; uint32_t _type; // DeathmatchType* // DeathmatchManager::set_type 00429be0 deletes the old object at this+0xc via vtable slot 0 and news DeathmatchTypeNormal/Ipecac/Bomberman/Ludovico/Sumo/Knockout/SwordFight/MachineGun/Indigestion/KnifeFight into it (Game+0x26620); ~60 sites call its vtable (+0x44 etc.), Game::Render calls +0x14/+0x18 on it }; static_assert(offsetof(DeathmatchManager, _type) == 0xc); +struct RNG { + uint32_t _seed; // RNG::Next 007e90f0 reads/writes the xorshift state at +0 ("RNG Seed is zero!"); RNG::SetSeed 007e8fe0 stores Seed there. Ghidra's RNG is 4 bytes today, so every RNG member shows its shifts as field_0x (Entity+0x3e0..0x3e8, Game+0x182d8.., ItemPool+0x658, Seeds+0xc/0x10, GridEntity+0x30) + uint32_t _shift1; // RNG::Next 007e90f0 seed ^= seed >> this[1]; RNG::SetSeed 007e8fe0 copies 3 shifts from table DAT_00b1f4c8+idx*0xc into +4..+0xc; Game ctor writes 5,9 (qword) at Game+0x182d8 = _generationRNG+4 + uint32_t _shift2; // RNG::Next 007e90f0 seed ^= seed << this[2]; SetSeed 007e8fe0 table dword 2 + uint32_t _shift3; // RNG::Next 007e90f0 seed ^= seed >> this[3]; SetSeed 007e8fe0 table dword 3; Level::Init 00744940 sets Game+0x182f0 (_devilAngelRoomRNG+0xc) = 0x13 +}; +static_assert(offsetof(RNG, _seed) == 0x0); +static_assert(offsetof(RNG, _shift1) == 0x4); +static_assert(offsetof(RNG, _shift2) == 0x8); +static_assert(offsetof(RNG, _shift3) == 0xc); + struct EntityRef { int _type; // Lua EntityRef.Type via binder 00875c50: getter 008bb900 pushes dword via FUN_0085bfd0 (signed pushinteger), setter 008bb960 luaL_checkinteger dword uint32_t _variant; // Lua EntityRef.Variant via binder 00875dd0: getter 008bb9c0 pushes dword via FUN_0085bff0 (pushinteger, high=0 unsigned), setter 008bb960 dword int _spawnerType; // Lua EntityRef.SpawnerType via binder 00875f40: getter 008bba20 lua_pushinteger(*(int*), sign-extended; separate instance from Type, likely an enum), setter dword uint32_t _spawnerVariant; // Lua EntityRef.SpawnerVariant via binder 00875dd0: getter 008bb9c0 pushes dword via FUN_0085bff0 (pushinteger, high=0 unsigned), setter 008bb960 dword Vector _position; // Lua EntityRef.Position via binder 008760c0: getter 008bba80 copies 8 bytes into UserdataValue - uint8_t _pad_0x18[0xc]; + Vector _velocity; // EntityRef::constructor 00431310 copies entity _velocity (or g_vectorZero) to +0x18/+0x1c + uint32_t _flags; // EntityRef::constructor 00431310 builds 1 charmed (flag 0x100) | 2 friendly (0x20000000) | 4; Lua EntityRef:IsCharmed 004bc670 returns +0x20 & 1, IsFriendly 004a2910 returns bit 1 uint32_t _entity; // Entity* // Lua EntityRef.Entity via binder 008763b0: getter 008bbbc0 UserdataPtr with Entity class key c8297a (nil if 0), setter stores pointer }; static_assert(offsetof(EntityRef, _type) == 0x0); @@ -194,6 +437,8 @@ static_assert(offsetof(EntityRef, _variant) == 0x4); static_assert(offsetof(EntityRef, _spawnerType) == 0x8); static_assert(offsetof(EntityRef, _spawnerVariant) == 0xc); static_assert(offsetof(EntityRef, _position) == 0x10); +static_assert(offsetof(EntityRef, _velocity) == 0x18); +static_assert(offsetof(EntityRef, _flags) == 0x20); static_assert(offsetof(EntityRef, _entity) == 0x24); struct Entity { @@ -308,7 +553,7 @@ struct Entity { uint8_t _entityPtrReferrers[0x8]; // std_multiset_uint; Entity::ClearReferences 006acb60 walks the tree at 0x3cc (head node new(0x14), size 0x3d0) nulling every EntityPtr* stored in it; EntityPtr assignments go through std::multiset::insert/erase uint8_t _minecart[0x4]; // EntityPtr; Entity::GiveMinecart 006b7be0 spawns a 965.0 minecart and stores it in this EntityPtr (multiset ref); ctor 006a8290 nulls it uint8_t _hitEffect[0x4]; // EntityPtr; ? Entity::TakeDamage 006ace60 Removes the old one and stores a freshly spawned effect 1000.160 in in_ECX[0xf6]; ClearReferences 006acb60 releases it - uint8_t _dropRNG[0x10]; // RNG + RNG _dropRNG; uint32_t _initSeed; int _holdCountdown; // Entity_NPC::hold_set 006b5de0 sets max(it, ticks) with the spot in 0x3f4 (Emergency Contact); Entity::Update 006ae820 decrements it; NPC::Update 006c4b30 kills friction and pins velocity while >0 Vector _holdPosition; // Entity_NPC::hold_set 006b5de0 writes the spot to 0x3f4/0x3f8; Entity_NPC::Update 006c4b30 assigns it while _holdCountdown>0 @@ -466,7 +711,7 @@ struct EntityConfig_Entity { uint32_t gibsAmount; // EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "gibAmount" attr and atoi -> +0x5c uint32_t gibFlags; // EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it flags -> +0x60 int portrait; // EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "portrait" atoi -> +0x64 (negated if negative) - uint8_t _pad_0x68[0xc]; + uint8_t _bossColors[0xc]; // std_vector_BossColor; EntityConfig::load_boss_colors 00698e80 clears (end=begin +0x68/+0x6c) and push_backs 0x7c-byte entries (std::vector<124byte>::_Emplace_reallocate, cap +0x70) uint8_t anm2Path[0x18]; // std_string; EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it "anm2path" concat(modpath) -> +0x74; EntityConfig::PreloadResources 0069ba90 AnmCache::Preload(+0x74) uint8_t _pad_0x8c[0xc]; uint8_t preloadSounds[0xc]; // std_vector_int; NEW: EntityConfig::LoadEntities 006950c0 parses entities2.xml into a stack EntityConfig_Entity (id @EBP-0x10210) then inserts it push_back(atoi) into +0x98..; EntityConfig::PreloadResources 0069ba90 walks +0x98..+0x9c as sound ids @@ -517,6 +762,7 @@ static_assert(offsetof(EntityConfig_Entity, shutDoors) == 0x58); static_assert(offsetof(EntityConfig_Entity, gibsAmount) == 0x5c); static_assert(offsetof(EntityConfig_Entity, gibFlags) == 0x60); static_assert(offsetof(EntityConfig_Entity, portrait) == 0x64); +static_assert(offsetof(EntityConfig_Entity, _bossColors) == 0x68); static_assert(offsetof(EntityConfig_Entity, anm2Path) == 0x74); static_assert(offsetof(EntityConfig_Entity, preloadSounds) == 0x98); static_assert(offsetof(EntityConfig_Entity, devolve) == 0xa4); @@ -637,22 +883,29 @@ static_assert(offsetof(EntityDesc, _playerControlled) == 0x18); struct EntityList_EL { uint8_t _pad_0x0[0x4]; uint32_t _data; // Entity** // Beast/Dogma/Gideon AIs (00444cc0, 004aafa0, 004b1ee0) read *(Room+0x125c)[i] (EL at EntityList+0x40); render_up_to 004199d0 reads EntityList+0x54 [i] (EL at +0x50) - uint8_t _pad_0x8[0x4]; + uint32_t _capacity; // EntityList::Reset 00418230 / AddEntity 00418500 log "EL: not enough space for push_back" when size+1 > +0x8 uint32_t _size; // same loops bound i by Room+0x1264 (EL+0xc of _updateEL) and EntityList+0x5c (EL+0xc of _renderEL) }; static_assert(offsetof(EntityList_EL, _data) == 0x4); +static_assert(offsetof(EntityList_EL, _capacity) == 0x8); static_assert(offsetof(EntityList_EL, _size) == 0xc); struct EntityList { - uint8_t _pad_0x0[0x40]; + uint8_t _pad_0x0[0x20]; + EntityList_EL _mainEL; // EntityList::Reset 00418230 walks data +0x24 / size +0x2c (cap +0x28), removes entities without FLAG_PERSISTENT (hi flags 0x20) and keeps the rest; EntityList::AddEntity 00418500 pushes non-player entities into it + EntityList_EL _persistentEL; // EntityList::AddEntity 00418500 pushes players (1), familiars (3) and knives 8.0 into data +0x34 / size +0x3c (cap +0x38); Reset 00418230 re-adds them to _updateEL/_renderEL; EntityList::Update 004186c0 drops the ones no longer existing EntityList_EL _updateEL; // Lua Room:GetEntities 00428a50 returns Room+0x1258 = EntityList(Room+0x1218)+0x40; ENTITY_BEAST_ultra_famine 00444cc0 / ENTITY_DOGMA 004aafa0 / ENTITY_GIDEON 004b1ee0 loop data(+0x44)[i] for i < size(+0x4c), DOGMA copies it as EntityList_EL EntityList_EL _renderEL; // EntityList::render_up_to 004199d0 walks the depth-sorted render list data +0x54[i] for cursor <= i < size +0x5c; Room::render_water 00820fd0 calls vtable+0x1c on Room+0x126c[i] - uint8_t _pad_0x60[0x40]; + uint8_t _pad_0x60[0x30]; + EntityList_EL _wispEL; // EntityList::Reset 00418230 pushes every 3.206 (wisp) of _updateEL into data +0x94 / size +0x9c (cap +0x98) uint32_t _renderCursor; // EntityList::render_up_to 004199d0 starts at +0xa0, increments it per entity rendered and stops at the first with depth >= arg; Room::render_water 00820fd0 zeroes Room+0x12b8 before each pass and then loops [0, +0x12b8) over the render list int _renderMode; // EntityList::render_up_to 004199d0 switches on +0xa4 (3/4 water-reflection filters, 5 mirrored pass); same int as Room._renderMode (Room+0x12bc, Lua field) which lies at EntityList+0xa4 }; +static_assert(offsetof(EntityList, _mainEL) == 0x20); +static_assert(offsetof(EntityList, _persistentEL) == 0x30); static_assert(offsetof(EntityList, _updateEL) == 0x40); static_assert(offsetof(EntityList, _renderEL) == 0x50); +static_assert(offsetof(EntityList, _wispEL) == 0x90); static_assert(offsetof(EntityList, _renderCursor) == 0xa0); static_assert(offsetof(EntityList, _renderMode) == 0xa4); @@ -768,7 +1021,7 @@ struct Entity_Bomb { // : Entity (flattened) uint8_t _entityPtrReferrers[0x8]; // std_multiset_uint; Entity::ClearReferences 006acb60 walks the tree at 0x3cc (head node new(0x14), size 0x3d0) nulling every EntityPtr* stored in it; EntityPtr assignments go through std::multiset::insert/erase uint8_t _minecart[0x4]; // EntityPtr; Entity::GiveMinecart 006b7be0 spawns a 965.0 minecart and stores it in this EntityPtr (multiset ref); ctor 006a8290 nulls it uint8_t _hitEffect[0x4]; // EntityPtr; ? Entity::TakeDamage 006ace60 Removes the old one and stores a freshly spawned effect 1000.160 in in_ECX[0xf6]; ClearReferences 006acb60 releases it - uint8_t _dropRNG[0x10]; // RNG + RNG _dropRNG; uint32_t _initSeed; int _holdCountdown; // Entity_NPC::hold_set 006b5de0 sets max(it, ticks) with the spot in 0x3f4 (Emergency Contact); Entity::Update 006ae820 decrements it; NPC::Update 006c4b30 kills friction and pins velocity while >0 Vector _holdPosition; // Entity_NPC::hold_set 006b5de0 writes the spot to 0x3f4/0x3f8; Entity_NPC::Update 006c4b30 assigns it while _holdCountdown>0 @@ -1050,7 +1303,7 @@ struct Entity_Effect { // : Entity (flattened) uint8_t _entityPtrReferrers[0x8]; // std_multiset_uint; Entity::ClearReferences 006acb60 walks the tree at 0x3cc (head node new(0x14), size 0x3d0) nulling every EntityPtr* stored in it; EntityPtr assignments go through std::multiset::insert/erase uint8_t _minecart[0x4]; // EntityPtr; Entity::GiveMinecart 006b7be0 spawns a 965.0 minecart and stores it in this EntityPtr (multiset ref); ctor 006a8290 nulls it uint8_t _hitEffect[0x4]; // EntityPtr; ? Entity::TakeDamage 006ace60 Removes the old one and stores a freshly spawned effect 1000.160 in in_ECX[0xf6]; ClearReferences 006acb60 releases it - uint8_t _dropRNG[0x10]; // RNG + RNG _dropRNG; uint32_t _initSeed; int _holdCountdown; // Entity_NPC::hold_set 006b5de0 sets max(it, ticks) with the spot in 0x3f4 (Emergency Contact); Entity::Update 006ae820 decrements it; NPC::Update 006c4b30 kills friction and pins velocity while >0 Vector _holdPosition; // Entity_NPC::hold_set 006b5de0 writes the spot to 0x3f4/0x3f8; Entity_NPC::Update 006c4b30 assigns it while _holdCountdown>0 @@ -1074,7 +1327,9 @@ struct Entity_Effect { // : Entity (flattened) uint8_t _pad_0x465[0x3]; Vector _parentOffset; // Lua EntityEffect.ParentOffset via binder 00885790: getter 008bf0d0 UserdataValue 8-byte copy int _damageSource; // Lua EntityEffect.DamageSource via binder 008854a0: getter 008bef40 FUN_0085bfd0 signed dword, setter dword - uint8_t _pad_0x474[0x34]; + float _rotation; // Lua EntityEffect.Rotation 005784c0 returns float this+0x474; Entity_Effect::Init 005cdb20 zeroes it and sets 30*rand+5 for some variants + float _scale; // Lua EntityEffect.Scale 004d7770 returns float this+0x478; Entity_Effect::Init 005cdb20 defaults it to 1.0 (1.3 for player-spawned 0x20, 0.033 for 0x9b, 0 for 0x79/0xb2); Entity_Effect::Render 00607620 uses scale*0.65 for the overlay layer + uint8_t _pad_0x47c[0x2c]; uint8_t _hitList[0xc]; // std_vector_uint; (not in REPENTOGON) Entity_Effect::Update passes this+0x4a8 to EntityList::HitListContains 00431640 (5df65f, 5ecd27); ctor 005cd960 zeroes +0x4a8..0x4b0 }; static_assert(offsetof(Entity_Effect, _damageEvents) == 0x8); @@ -1200,6 +1455,8 @@ static_assert(offsetof(Entity_Effect, _lifespan) == 0x460); static_assert(offsetof(Entity_Effect, _isFollowing) == 0x464); static_assert(offsetof(Entity_Effect, _parentOffset) == 0x468); static_assert(offsetof(Entity_Effect, _damageSource) == 0x470); +static_assert(offsetof(Entity_Effect, _rotation) == 0x474); +static_assert(offsetof(Entity_Effect, _scale) == 0x478); static_assert(offsetof(Entity_Effect, _hitList) == 0x4a8); struct NPCAI_Pathfinder { @@ -1345,7 +1602,7 @@ struct Entity_Familiar { // : Entity (flattened) uint8_t _entityPtrReferrers[0x8]; // std_multiset_uint; Entity::ClearReferences 006acb60 walks the tree at 0x3cc (head node new(0x14), size 0x3d0) nulling every EntityPtr* stored in it; EntityPtr assignments go through std::multiset::insert/erase uint8_t _minecart[0x4]; // EntityPtr; Entity::GiveMinecart 006b7be0 spawns a 965.0 minecart and stores it in this EntityPtr (multiset ref); ctor 006a8290 nulls it uint8_t _hitEffect[0x4]; // EntityPtr; ? Entity::TakeDamage 006ace60 Removes the old one and stores a freshly spawned effect 1000.160 in in_ECX[0xf6]; ClearReferences 006acb60 releases it - uint8_t _dropRNG[0x10]; // RNG + RNG _dropRNG; uint32_t _initSeed; int _holdCountdown; // Entity_NPC::hold_set 006b5de0 sets max(it, ticks) with the spot in 0x3f4 (Emergency Contact); Entity::Update 006ae820 decrements it; NPC::Update 006c4b30 kills friction and pins velocity while >0 Vector _holdPosition; // Entity_NPC::hold_set 006b5de0 writes the spot to 0x3f4/0x3f8; Entity_NPC::Update 006c4b30 assigns it while _holdCountdown>0 @@ -1680,7 +1937,7 @@ struct Entity_Knife { // : Entity (flattened) uint8_t _entityPtrReferrers[0x8]; // std_multiset_uint; Entity::ClearReferences 006acb60 walks the tree at 0x3cc (head node new(0x14), size 0x3d0) nulling every EntityPtr* stored in it; EntityPtr assignments go through std::multiset::insert/erase uint8_t _minecart[0x4]; // EntityPtr; Entity::GiveMinecart 006b7be0 spawns a 965.0 minecart and stores it in this EntityPtr (multiset ref); ctor 006a8290 nulls it uint8_t _hitEffect[0x4]; // EntityPtr; ? Entity::TakeDamage 006ace60 Removes the old one and stores a freshly spawned effect 1000.160 in in_ECX[0xf6]; ClearReferences 006acb60 releases it - uint8_t _dropRNG[0x10]; // RNG + RNG _dropRNG; uint32_t _initSeed; int _holdCountdown; // Entity_NPC::hold_set 006b5de0 sets max(it, ticks) with the spot in 0x3f4 (Emergency Contact); Entity::Update 006ae820 decrements it; NPC::Update 006c4b30 kills friction and pins velocity while >0 Vector _holdPosition; // Entity_NPC::hold_set 006b5de0 writes the spot to 0x3f4/0x3f8; Entity_NPC::Update 006c4b30 assigns it while _holdCountdown>0 @@ -1977,7 +2234,7 @@ struct Entity_Laser { // : Entity (flattened) uint8_t _entityPtrReferrers[0x8]; // std_multiset_uint; Entity::ClearReferences 006acb60 walks the tree at 0x3cc (head node new(0x14), size 0x3d0) nulling every EntityPtr* stored in it; EntityPtr assignments go through std::multiset::insert/erase uint8_t _minecart[0x4]; // EntityPtr; Entity::GiveMinecart 006b7be0 spawns a 965.0 minecart and stores it in this EntityPtr (multiset ref); ctor 006a8290 nulls it uint8_t _hitEffect[0x4]; // EntityPtr; ? Entity::TakeDamage 006ace60 Removes the old one and stores a freshly spawned effect 1000.160 in in_ECX[0xf6]; ClearReferences 006acb60 releases it - uint8_t _dropRNG[0x10]; // RNG + RNG _dropRNG; uint32_t _initSeed; int _holdCountdown; // Entity_NPC::hold_set 006b5de0 sets max(it, ticks) with the spot in 0x3f4 (Emergency Contact); Entity::Update 006ae820 decrements it; NPC::Update 006c4b30 kills friction and pins velocity while >0 Vector _holdPosition; // Entity_NPC::hold_set 006b5de0 writes the spot to 0x3f4/0x3f8; Entity_NPC::Update 006c4b30 assigns it while _holdCountdown>0 @@ -2312,7 +2569,7 @@ struct Entity_NPC { // : Entity (flattened) uint8_t _entityPtrReferrers[0x8]; // std_multiset_uint; Entity::ClearReferences 006acb60 walks the tree at 0x3cc (head node new(0x14), size 0x3d0) nulling every EntityPtr* stored in it; EntityPtr assignments go through std::multiset::insert/erase uint8_t _minecart[0x4]; // EntityPtr; Entity::GiveMinecart 006b7be0 spawns a 965.0 minecart and stores it in this EntityPtr (multiset ref); ctor 006a8290 nulls it uint8_t _hitEffect[0x4]; // EntityPtr; ? Entity::TakeDamage 006ace60 Removes the old one and stores a freshly spawned effect 1000.160 in in_ECX[0xf6]; ClearReferences 006acb60 releases it - uint8_t _dropRNG[0x10]; // RNG + RNG _dropRNG; uint32_t _initSeed; int _holdCountdown; // Entity_NPC::hold_set 006b5de0 sets max(it, ticks) with the spot in 0x3f4 (Emergency Contact); Entity::Update 006ae820 decrements it; NPC::Update 006c4b30 kills friction and pins velocity while >0 Vector _holdPosition; // Entity_NPC::hold_set 006b5de0 writes the spot to 0x3f4/0x3f8; Entity_NPC::Update 006c4b30 assigns it while _holdCountdown>0 @@ -2700,7 +2957,7 @@ struct Entity_Pickup { // : Entity (flattened) uint8_t _entityPtrReferrers[0x8]; // std_multiset_uint; Entity::ClearReferences 006acb60 walks the tree at 0x3cc (head node new(0x14), size 0x3d0) nulling every EntityPtr* stored in it; EntityPtr assignments go through std::multiset::insert/erase uint8_t _minecart[0x4]; // EntityPtr; Entity::GiveMinecart 006b7be0 spawns a 965.0 minecart and stores it in this EntityPtr (multiset ref); ctor 006a8290 nulls it uint8_t _hitEffect[0x4]; // EntityPtr; ? Entity::TakeDamage 006ace60 Removes the old one and stores a freshly spawned effect 1000.160 in in_ECX[0xf6]; ClearReferences 006acb60 releases it - uint8_t _dropRNG[0x10]; // RNG + RNG _dropRNG; uint32_t _initSeed; int _holdCountdown; // Entity_NPC::hold_set 006b5de0 sets max(it, ticks) with the spot in 0x3f4 (Emergency Contact); Entity::Update 006ae820 decrements it; NPC::Update 006c4b30 kills friction and pins velocity while >0 Vector _holdPosition; // Entity_NPC::hold_set 006b5de0 writes the spot to 0x3f4/0x3f8; Entity_NPC::Update 006c4b30 assigns it while _holdCountdown>0 @@ -2926,6 +3183,13 @@ static_assert(offsetof(TemporaryEffects, _shouldEvaluateCache) == 0x10); static_assert(offsetof(TemporaryEffects, _disabled) == 0x11); static_assert(offsetof(TemporaryEffects, _player) == 0x14); +struct PlayerProceduralItems { + uint32_t _player; // Entity_Player* // Entity_Player::Init 00755470 (007575bb) stores the player at Entity_Player+0x1fc8 (= _proceduralItems+0) + uint8_t _itemIds[0x8]; // std_set_int; Entity_Player::TryRemoveTrinket 00771f60 walks the tree at Entity_Player+0x1fcc for negative (glitched) ids indexing ProceduralItemManager _proceduralItems; ctor 00753da0 builds the head +}; +static_assert(offsetof(PlayerProceduralItems, _player) == 0x0); +static_assert(offsetof(PlayerProceduralItems, _itemIds) == 0x4); + struct Entity_Player { // : Entity (flattened) uint8_t _pad_0x0[0x8]; uint8_t _damageEvents[0xc]; // vector_DamageEvent; damage queued this frame: Entity::TakeDamage 006ace60 pushes {float dmg, pad, uint64 flags @+8, EntityRef @+0x10} (FUN_006b7db0); Entity::Update 006ae820 walks begin 0x8..end 0xc in 0x38-byte steps subtracting dmg from _health, then clears (0xc=0x8) @@ -3038,7 +3302,7 @@ struct Entity_Player { // : Entity (flattened) uint8_t _entityPtrReferrers[0x8]; // std_multiset_uint; Entity::ClearReferences 006acb60 walks the tree at 0x3cc (head node new(0x14), size 0x3d0) nulling every EntityPtr* stored in it; EntityPtr assignments go through std::multiset::insert/erase uint8_t _minecart[0x4]; // EntityPtr; Entity::GiveMinecart 006b7be0 spawns a 965.0 minecart and stores it in this EntityPtr (multiset ref); ctor 006a8290 nulls it uint8_t _hitEffect[0x4]; // EntityPtr; ? Entity::TakeDamage 006ace60 Removes the old one and stores a freshly spawned effect 1000.160 in in_ECX[0xf6]; ClearReferences 006acb60 releases it - uint8_t _dropRNG[0x10]; // RNG + RNG _dropRNG; uint32_t _initSeed; int _holdCountdown; // Entity_NPC::hold_set 006b5de0 sets max(it, ticks) with the spot in 0x3f4 (Emergency Contact); Entity::Update 006ae820 decrements it; NPC::Update 006c4b30 kills friction and pins velocity while >0 Vector _holdPosition; // Entity_NPC::hold_set 006b5de0 writes the spot to 0x3f4/0x3f8; Entity_NPC::Update 006c4b30 assigns it while _holdCountdown>0 @@ -3143,7 +3407,7 @@ struct Entity_Player { // : Entity (flattened) int _luckModifier; // EvaluateItems 00763570 luck block (cache 0x400) adds it, zeroed under Curse Mist/coop ghost (shift +8) int _donateLuck; // DonateLuck 007b2200 (Lua EntityPlayer:DonateLuck) adds the argument here and sets cache flag 0x400; EvaluateItems adds it to luck int _potatoPeelerCounter; // EvaluateItems 00763570: damage += (0x153c+0x1540)*0.2 and Cube of Meat level = 0x153c + GetCollectibleNum(73) + effect num(73) (shift +8) - uint8_t _pad_0x1540[0x4]; + int _potatoPeelerBandageCounter; // Entity_Player::UseActiveItem 005b39d0 (Potato Peeler case) increments it instead of _potatoPeelerCounter when the player has Ball of Bandages (207) but no Cube of Meat (73); EvaluateItems 00763570 adds it to damage *0.2 and to the Ball of Bandages level (+ GetCollectibleNum(207) + effect num); RestoreGameState 007ae4b0 restores it short _greedsGulletHearts; // Game::render_debug_player_info 007cfba0 prints "Greed's Gullet: %d (overflow:%d)" from shorts 0x1544/0x1546; update_greeds_gullet 007ce420 compares GetGreedsGulletHearts with it short _greedsGulletOverflow; // render_debug_player_info 007cfba0 prints it as the overflow; update_greeds_gullet 007ce420 adds it to the heart cap and writes it back short _greedsGulletRedHearts; // ? update_greeds_gullet 007ce420: when GetGreedsGulletHearts grew past it, adds red hearts and stores the new value here @@ -3155,7 +3419,7 @@ struct Entity_Player { // : Entity (flattened) float _edenTearRange; // EvaluateItems 00763570 range block (beside the -80/-60 per-character range) adds it when playerType is 9/0x1e float _edenShotSpeed; // EvaluateItems 00763570 shot-speed block: shotspeed += it when playerType is 9/0x1e float _edenLuck; // EvaluateItems 00763570 luck block (cache 0x400) sums it with the luck modifiers; last of the 6-float Eden block 0x154c..0x1560, right before kept _movespeed 0x1568 - uint8_t _pad_0x1564[0x4]; + float _taurusSpeedBonus; // Entity_Player::update_effects 00794e50 (79681f) adds a constant to it while the Taurus (299) effect is active and sets cache flags 0x1010, zeroes it when the effect is gone; EvaluateItems 00763570 adds it to _movespeed with the Taurus effect; TriggerNewRoom_TemporaryEffects 007a8350 zeroes it float _movespeed; float _luck; bool _canFly; @@ -3363,7 +3627,7 @@ struct Entity_Player { // : Entity (flattened) uint8_t _darkEsau[0x4]; // EntityPtr; NpcAI::ENTITY_DARK_ESAU 005542e0 checks spawner player's +0x1fc0 == npc; DischargeActiveItem 007ac7e0 / release_weapons_and_effects 00757ac0 move/clear it with the EntityPtr multiset erase/insert bool _isLevelStartPending; // level_start 007a4ba0 sets it on the _backupPlayer and clears its own; Update 00782af0 runs level_start(1) once it is set; saved uint8_t _pad_0x1fc5[0x3]; - uint8_t _proceduralItems[0xc]; // PlayerProceduralItems; embedded {Entity_Player* owner at 0x1fc8, std::set at 0x1fcc (head, size 0x1fd0)}: Init 00755470 (007575bb) stores this at 0x1fc8; ctor builds the set head; TryRemoveTrinket 00771f60 walks the set for negative (glitched) ids in Game _proceduralItemManager 0x67758 and RemoveCollectible's on the owner; trigger_set_dispatch 009e0680 runs glitched_item_effects_run(id, owner, ...) for every id, called with ECX=this+0x1fc8 from EvaluateItems, TakeDamage, TriggerRoomClear, trigger_npc_death, Weapon::TriggerTearEffects, Entity_NPC::TakeDamage; Store/RestoreGameState copy the set + PlayerProceduralItems _proceduralItems; // embedded {Entity_Player* owner at 0x1fc8, std::set at 0x1fcc (head, size 0x1fd0)}: Init 00755470 (007575bb) stores this at 0x1fc8; ctor builds the set head; TryRemoveTrinket 00771f60 walks the set for negative (glitched) ids in Game _proceduralItemManager 0x67758 and RemoveCollectible's on the owner; trigger_set_dispatch 009e0680 runs glitched_item_effects_run(id, owner, ...) for every id, called with ECX=this+0x1fc8 from EvaluateItems, TakeDamage, TriggerRoomClear, trigger_npc_death, Weapon::TriggerTearEffects, Entity_NPC::TakeDamage; Store/RestoreGameState copy the set uint8_t _extraCollectibleCounts[0xc]; // std_vector_uint8; ? GetCollectibleNum 00770ca0 adds byte begin[id] (bounds end 0x1fd8 - begin) to the count; is_achievement_79_unlocked 007db860 reads byte [0x8f] uint8_t _extraTrinketCounts[0xc]; // std_vector_uint8; ? Init 00755470 resizes it to the trinket count (Game+0x2a414-0x2a410)>>2 and zeroes it, right after doing the same to _extraCollectibleCounts 0x1fd4 with the collectible count; GetTrinketMultiplier 007cb6e0 adds 1 when byte begin[id] (bounds end 0x1fe4) is non-zero uint8_t _pad_0x1fec[0x18]; @@ -3596,6 +3860,7 @@ static_assert(offsetof(Entity_Player, _shotSpeedModifier) == 0x1530); static_assert(offsetof(Entity_Player, _luckModifier) == 0x1534); static_assert(offsetof(Entity_Player, _donateLuck) == 0x1538); static_assert(offsetof(Entity_Player, _potatoPeelerCounter) == 0x153c); +static_assert(offsetof(Entity_Player, _potatoPeelerBandageCounter) == 0x1540); static_assert(offsetof(Entity_Player, _greedsGulletHearts) == 0x1544); static_assert(offsetof(Entity_Player, _greedsGulletOverflow) == 0x1546); static_assert(offsetof(Entity_Player, _greedsGulletRedHearts) == 0x1548); @@ -3606,6 +3871,7 @@ static_assert(offsetof(Entity_Player, _edenDamage) == 0x1554); static_assert(offsetof(Entity_Player, _edenTearRange) == 0x1558); static_assert(offsetof(Entity_Player, _edenShotSpeed) == 0x155c); static_assert(offsetof(Entity_Player, _edenLuck) == 0x1560); +static_assert(offsetof(Entity_Player, _taurusSpeedBonus) == 0x1564); static_assert(offsetof(Entity_Player, _movespeed) == 0x1568); static_assert(offsetof(Entity_Player, _luck) == 0x156c); static_assert(offsetof(Entity_Player, _canFly) == 0x1570); @@ -3917,7 +4183,7 @@ struct Entity_Projectile { // : Entity (flattened) uint8_t _entityPtrReferrers[0x8]; // std_multiset_uint; Entity::ClearReferences 006acb60 walks the tree at 0x3cc (head node new(0x14), size 0x3d0) nulling every EntityPtr* stored in it; EntityPtr assignments go through std::multiset::insert/erase uint8_t _minecart[0x4]; // EntityPtr; Entity::GiveMinecart 006b7be0 spawns a 965.0 minecart and stores it in this EntityPtr (multiset ref); ctor 006a8290 nulls it uint8_t _hitEffect[0x4]; // EntityPtr; ? Entity::TakeDamage 006ace60 Removes the old one and stores a freshly spawned effect 1000.160 in in_ECX[0xf6]; ClearReferences 006acb60 releases it - uint8_t _dropRNG[0x10]; // RNG + RNG _dropRNG; uint32_t _initSeed; int _holdCountdown; // Entity_NPC::hold_set 006b5de0 sets max(it, ticks) with the spot in 0x3f4 (Emergency Contact); Entity::Update 006ae820 decrements it; NPC::Update 006c4b30 kills friction and pins velocity while >0 Vector _holdPosition; // Entity_NPC::hold_set 006b5de0 writes the spot to 0x3f4/0x3f8; Entity_NPC::Update 006c4b30 assigns it while _holdCountdown>0 @@ -4186,7 +4452,7 @@ struct Entity_Slot { // : Entity (flattened) uint8_t _entityPtrReferrers[0x8]; // std_multiset_uint; Entity::ClearReferences 006acb60 walks the tree at 0x3cc (head node new(0x14), size 0x3d0) nulling every EntityPtr* stored in it; EntityPtr assignments go through std::multiset::insert/erase uint8_t _minecart[0x4]; // EntityPtr; Entity::GiveMinecart 006b7be0 spawns a 965.0 minecart and stores it in this EntityPtr (multiset ref); ctor 006a8290 nulls it uint8_t _hitEffect[0x4]; // EntityPtr; ? Entity::TakeDamage 006ace60 Removes the old one and stores a freshly spawned effect 1000.160 in in_ECX[0xf6]; ClearReferences 006acb60 releases it - uint8_t _dropRNG[0x10]; // RNG + RNG _dropRNG; uint32_t _initSeed; int _holdCountdown; // Entity_NPC::hold_set 006b5de0 sets max(it, ticks) with the spot in 0x3f4 (Emergency Contact); Entity::Update 006ae820 decrements it; NPC::Update 006c4b30 kills friction and pins velocity while >0 Vector _holdPosition; // Entity_NPC::hold_set 006b5de0 writes the spot to 0x3f4/0x3f8; Entity_NPC::Update 006c4b30 assigns it while _holdCountdown>0 @@ -4419,7 +4685,7 @@ struct Entity_Tear { // : Entity (flattened) uint8_t _entityPtrReferrers[0x8]; // std_multiset_uint; Entity::ClearReferences 006acb60 walks the tree at 0x3cc (head node new(0x14), size 0x3d0) nulling every EntityPtr* stored in it; EntityPtr assignments go through std::multiset::insert/erase uint8_t _minecart[0x4]; // EntityPtr; Entity::GiveMinecart 006b7be0 spawns a 965.0 minecart and stores it in this EntityPtr (multiset ref); ctor 006a8290 nulls it uint8_t _hitEffect[0x4]; // EntityPtr; ? Entity::TakeDamage 006ace60 Removes the old one and stores a freshly spawned effect 1000.160 in in_ECX[0xf6]; ClearReferences 006acb60 releases it - uint8_t _dropRNG[0x10]; // RNG + RNG _dropRNG; uint32_t _initSeed; int _holdCountdown; // Entity_NPC::hold_set 006b5de0 sets max(it, ticks) with the spot in 0x3f4 (Emergency Contact); Entity::Update 006ae820 decrements it; NPC::Update 006c4b30 kills friction and pins velocity while >0 Vector _holdPosition; // Entity_NPC::hold_set 006b5de0 writes the spot to 0x3f4/0x3f8; Entity_NPC::Update 006c4b30 assigns it while _holdCountdown>0 @@ -4702,18 +4968,30 @@ static_assert(offsetof(Font, _pageTextures) == 0x3c); static_assert(offsetof(Font, _charsBlock) == 0x40); static_assert(offsetof(Font, _missingCharacter) == 0x48); +struct ItemPool_Item { + float _totalWeight; // ItemPool::load_pools 00735a30 adds each item's weight to pool+0; ItemPool::GetCollectible 00733610 RNG::RandomFloat * pool._totalWeight; ctor 00732c20 = 0 + uint8_t _poolList[0xc]; // std_vector_PoolItem; ItemPool_Item ctor 00732c20 zeroes +4/+8/+0xc; ItemPool::load_pools 00735a30 emplaces 0x18-byte items at pool+8 (end) / +0xc (cap); shuffle_pools 00735910 and StoreGameState 007367d0 walk pool+4..+8 stride 0x18 + RNG _rng1; // ItemPool_Item ctor 00732c20 sets +0x10 = 0xaa17414f and the shift triple at +0x14..+0x1c (RNG layout) + RNG _rng2; // ItemPool_Item ctor 00732c20 sets +0x20 = 0xaa17414f and the shift triple at +0x24..+0x2c + uint32_t _bibleUpgrade; // ItemPool_Item ctor 00732c20 zeroes +0x30; ItemPool::StoreGameState 007367d0 copies pool+0x30 to GameStateItemPool._bibleUpgrades[i]; ItemPool::AddBibleUpgrade 00736fd0 adds to ItemPool+0x34+i*0x34; stride 0x34 (GetPool 00732c70) +}; +static_assert(offsetof(ItemPool_Item, _totalWeight) == 0x0); +static_assert(offsetof(ItemPool_Item, _poolList) == 0x4); +static_assert(offsetof(ItemPool_Item, _rng1) == 0x10); +static_assert(offsetof(ItemPool_Item, _rng2) == 0x20); +static_assert(offsetof(ItemPool_Item, _bibleUpgrade) == 0x30); + struct ItemPool { uint32_t _seed; // 00734f30 ItemPool::Init stores the seed param at *this (and at 0x654); 007367d0 StoreGameState copies *this to GameStateItemPool._seed - uint8_t _pools[0x64c]; // ItemPool_Item; 00732c70 GetPool returns this+4+type*0x34; ctor 006f1020 eh-vector-ctor(_itemPool+4, 0x34, 0x1f); 00736fd0 AddBibleUpgrade adds to +0x34+i*0x34 (pool._bibleUpgrade); 00732e90 GetItemPoolsForCollectible walks pool vectors at +0x8/+0xc stride 0x34 + ItemPool_Item _pools[31]; // 00732c70 GetPool returns this+4+type*0x34; ctor 006f1020 eh-vector-ctor(_itemPool+4, 0x34, 0x1f); 00736fd0 AddBibleUpgrade adds to +0x34+i*0x34 (pool._bibleUpgrade); 00732e90 GetItemPoolsForCollectible walks pool vectors at +0x8/+0xc stride 0x34 int _lastPool; - uint8_t _itemPoolRNG[0x10]; // RNG; 00734f30 ItemPool::Init stores seed param at this+0x654 and steps it; 00735910 shuffle_pools MTRNG::Init(this+0x654 seed); 007367d0 StoreGameState saves it - uint8_t _trinketPoolRNG[0x10]; // RNG; 00734f30 Init seeds it with the stepped item-pool seed, shifts 1/5/0x13 at 0x668..0x670; 00733ca0 GetTrinket copies/steps it (FUN_008658c0(.., this+0x664)); 007367d0 StoreGameState writes it to _trinketPoolRNGseed + RNG _itemPoolRNG; // 00734f30 ItemPool::Init stores seed param at this+0x654 and steps it; 00735910 shuffle_pools MTRNG::Init(this+0x654 seed); 007367d0 StoreGameState saves it + RNG _trinketPoolRNG; // 00734f30 Init seeds it with the stepped item-pool seed, shifts 1/5/0x13 at 0x668..0x670; 00733ca0 GetTrinket copies/steps it (FUN_008658c0(.., this+0x664)); 007367d0 StoreGameState writes it to _trinketPoolRNGseed float _unkFloat674; // ? 00734f30 Init = 1.0f; 007367d0 StoreGameState saves it to GameStateItemPool+0x200; StatHUD::update_player 0084cc40 shows Game+0x1adb4 (=ItemPool+0x674) *100 as stat slot 8 (after devil/angel), a slot StatHUD::Render 0084c2c0 skips float _unkFloat678; // ? 00734f30 Init = 1.0f; 007367d0 StoreGameState saves it to GameStateItemPool+0x204 (GameState::Clear 009c79a0 also sets both to 1.0f); no other reader found - uint8_t _removedCollectibles[0xc]; // vector_bool; 00733ff0 Lua RemoveCollectible: bit test/set in *(this+0x67c), bound *(this+0x688) (vector size); 007340b0 ResetCollectible clears bit - uint8_t _pad_0x688[0x4]; - uint8_t _roomBlacklistedCollectibles[0xc]; // vector_bool; 005b14b0 Lua AddRoomBlacklist sets bit in *(this+0x68c); 00736f90 ResetRoomBlacklist clears bits up to size *(this+0x698) - uint8_t _pad_0x698[0xfc]; + uint8_t _removedCollectibles[0x10]; // vector_bool; 00733ff0 Lua RemoveCollectible: bit test/set in *(this+0x67c), bound *(this+0x688) (vector size); 007340b0 ResetCollectible clears bit + uint8_t _roomBlacklistedCollectibles[0x10]; // vector_bool; 005b14b0 Lua AddRoomBlacklist sets bit in *(this+0x68c); 00736f90 ResetRoomBlacklist clears bits up to size *(this+0x698) + uint8_t _pad_0x69c[0xf8]; uint8_t _trinketPoolItems[0xc]; // vector_TrinketPoolItem; 00734130 Lua RemoveTrinket / 00736a90 ResetTrinkets walk *(this+0x794)..*(this+0x798) stride 8 (id,+4 available,+5 unlocked) int _numAvailableTrinkets; // 00734130 RemoveTrinket decrements this+0x7a0; 00736a90 ResetTrinkets recounts it, warns "trinket pool is empty" when 0 }; @@ -4731,22 +5009,37 @@ static_assert(offsetof(ItemPool, _numAvailableTrinkets) == 0x7a0); struct PlayerManager { uint8_t _playerList[0xc]; // vector_EntityPlayerPtr; 009b92c0 PlayerManager::GetPlayer indexes *this..this[1] (>>2), logs "There are no players"; IsCoopPlay/GetRandomPlayer iterate it - uint8_t _pad_0xc[0xac]; - uint8_t _rng[0x10]; // RNG; 006f1020 Game::constructor (PM at Game+0x1baa8): RNG default init (seed 0xaa17414f, shifts 5,9,7) at PM+0xb8, esauJr[4] zeroed at PM+0x80 as in REPENTOGON; 006f9000 Game::store_game_state saves its seed (Game+0x1bb60) + CoopJoinSlot _coopSlots[4]; // 4 records of 0x14 at +0xc/+0x20/+0x34/+0x48: PlayerManager::handle_coop_join 009bac40 checks each slot's controller/state and fills playerType/1/1.0/locked; GetPlayerSlotFromController 009baaa0 scans this+0xc for a controller; RemoveCoPlayer 009ba000 resets them (-1,0,-1,0) + uint8_t _pad_0x5c[0x14]; + uint8_t _coopPlayerTypes[0xc]; // std_vector_int; handle_coop_join 009bac40 picks a random element 1..n-1 of begin/end +0x70/+0x74 for a random (-1) co-op character; HUD::Render 009a3eb0 (Game+0x1bb18) draws the join carousel from it + uint8_t _pad_0x7c[0x3c]; + RNG _rng; // 006f1020 Game::constructor (PM at Game+0x1baa8): RNG default init (seed 0xaa17414f, shifts 5,9,7) at PM+0xb8, esauJr[4] zeroed at PM+0x80 as in REPENTOGON; 006f9000 Game::store_game_state saves its seed (Game+0x1bb60) uint32_t _stageTransitionPlayer; // Entity_Player* // Game::StartStageTransition tail (006fdf4d, after the noreturn log call) stores the player argument at Game+0x1bb70; StageTransition::Update 0092f1c0 plays AnimateCollectible(0x7f,"Pickup","PlayerPickupSparkle") for this player and PlayExtraAnimation for the others; Entity_Player dtor 00754ed0 nulls it if it is this; ctor zeroes uint32_t _roomTransitionPlayer; // Entity_Player* // RoomTransition start 0082ee40 (at 0082efcb) stores StartRoomTransition's player argument at Game+0x1bb74; RoomTransition::ChangeRoom 00830950 uses it (fallback GetPlayer(0)) and teleports it for type 0x11, StartBossIntro reads it, FUN_00707ad0 passes it back to StartRoomTransition; Entity_Player dtor 00754ed0 nulls it uint8_t _extraPlayers[0xc]; // std_vector_EntityPlayerPtr; ? begin/end Game+0x1bb78/0x1bb7c (ctor zeroes 0x1bb78..0x1bb80): EntityList::Update 004186c0 runs Update (vtable +0xc) on each element after the main player list with flag 0x4000 like players; elements have Entity_Player _controllerIndex (+0x1618) and Entity_NPC::TransferControl 006d88b0 / NpcAI::ENTITY_HEART retarget their _target (+0x3c4) when the NPC they control changes; ~PlayerManager 009b8ea0 deletes every element (owned) }; static_assert(offsetof(PlayerManager, _playerList) == 0x0); +static_assert(offsetof(PlayerManager, _coopSlots) == 0xc); +static_assert(offsetof(PlayerManager, _coopPlayerTypes) == 0x70); static_assert(offsetof(PlayerManager, _rng) == 0xb8); static_assert(offsetof(PlayerManager, _stageTransitionPlayer) == 0xc8); static_assert(offsetof(PlayerManager, _roomTransitionPlayer) == 0xcc); static_assert(offsetof(PlayerManager, _extraPlayers) == 0xd0); struct ItemOverlay { - uint8_t _pad_0x0[0x11a4]; + int _state; // ItemOverlay::Update 009aca90: 1 counts _delay down, 0 idle, 2 active until the anim ends (REPENTOGON INACTIVE/WAITING/ACTIVE) + int _overlayID; // ItemOverlay::Show 009ad210 stores eOverlayID (<= 0x2f) here; Update 009aca90 tests == 0x2c + ANM2 _sprite; // ItemOverlay::Show 009ad210 ANM2::Reset/Load/ReplaceSpritesheet/LoadGraphics(this+8) from the per-overlay table (0x58 records from +0x11c); Update 009aca90 updates/reads its anim state (+0x38/+0x3c) + uint8_t _pad_0x11c[0x1080]; + int _delay; // ItemOverlay::Show 009ad210 stores delay; Update 009aca90 decrements it in state 1 and starts the overlay when < 1 + uint8_t _player[0x4]; // EntityPtr; ItemOverlay::Show 009ad210 assigns player with the EntityPtr multiset erase/insert; Update 009aca90 sets player+0x171 and Render 009acfe0 skips without it ANM2 _megaMushPlayerSprite; // Game ctor ANM2::constructor at Game+0x1d1d8 (= _itemOverlay+0x11a4); ~ItemOverlay 009abd80 resets ANM2 at +0x11a4; Entity_Player::trigger_collectible_effect_removed 00793970 for Mega Mush (0x271) copies the player sprite into it, zeroes its layer offsets and plays "TransformBack"; ItemOverlay::Render draws it }; +static_assert(offsetof(ItemOverlay, _state) == 0x0); +static_assert(offsetof(ItemOverlay, _overlayID) == 0x4); +static_assert(offsetof(ItemOverlay, _sprite) == 0x8); +static_assert(offsetof(ItemOverlay, _delay) == 0x119c); +static_assert(offsetof(ItemOverlay, _player) == 0x11a0); static_assert(offsetof(ItemOverlay, _megaMushPlayerSprite) == 0x11a4); struct HUD { @@ -4831,13 +5124,26 @@ struct Leaderboard { }; static_assert(offsetof(Leaderboard, _state) == 0x4); +struct GenericPrompt { + ANM2 _sprite; // GenericPrompt::Show 008380f0 ANM2::SetAnimation(this,"Appear") and AnimationState::Rewind(this+0x30); GenericPrompt::Update 00837ab0 updates the anim state while byte +0x109 (ANM2 _loaded) is set and reads its animData +0x34 + uint8_t _pad_0x114[0x1c]; + bool _isOnlineVote; // GenericPrompt::handle_input sends the choice through online_vote_send when byte this+0x130 is set; Game::Update 006fadc0 returns after GenericPrompt::Update and Game::Render 006fbc10 draws the completion widget vote counter ("%d/%d") while Game+0x268a8 is set; Menu_Options::Update / ctor clear it + uint8_t _pad_0x131[0x3]; +}; +static_assert(offsetof(GenericPrompt, _sprite) == 0x0); +static_assert(offsetof(GenericPrompt, _isOnlineVote) == 0x130); + struct PauseScreen { - uint8_t _pad_0x0[0x4]; + int _state; // PauseScreen::Show 009b7680 sets *this=1; PauseScreen::Update 009b5d20 sets 4 after GenericPrompt::Show of the quit-daily prompt and back to 1 (then Game::End) when the prompt is answered int _menuType; // ? ctor 009b5320 sets 0, Show 009b7680 sets 1; Update 009b5d20 picks the ANM2 at +0x140 (minisprite) when ==1 else +0x2c (mainsprite) for every selection test - uint8_t _pad_0x8[0xfa4]; + uint8_t _pad_0x8[0x474]; + GenericPrompt _genericPrompt; // PauseScreen::Update 009b5d20 GenericPrompt::Show(this+0x47c,0) for "#QUIT_DAILY_RUN_*" and GenericPrompt::Update(this+0x47c,1); Render 009b7190 GenericPrompt::Render(this+0x47c); right after REPENTOGON's last ANM2 (0x368+0x114) + uint8_t _pad_0x5b0[0x9fc]; int _playerIdx; // PauseScreen::Show 009b7680 sets this+0xfac (Game+0x24a20) to 0, or online to the index of the local player in _playerList (-1 if absent); FUN_009b5800 / Menu_Options::Update 009b23a0 / ~10 pause-menu item renderers (008d5f70, 008d7cb0) call Game::GetPlayer(g_game, it) to show/control that player }; +static_assert(offsetof(PauseScreen, _state) == 0x0); static_assert(offsetof(PauseScreen, _menuType) == 0x4); +static_assert(offsetof(PauseScreen, _genericPrompt) == 0x47c); static_assert(offsetof(PauseScreen, _playerIdx) == 0xfac); struct Minimap { @@ -4866,73 +5172,39 @@ static_assert(offsetof(Minimap, _iconsSprite) == 0x500); static_assert(offsetof(Minimap, _shakeDuration) == 0x61c); static_assert(offsetof(Minimap, _shakeOffset) == 0x620); +struct GameState { + uint8_t _pad_0x0[0x1fdec]; + bool _isSaveAvailable; // FUN_00959fa0 (load save slot) sets byte Manager+0x20d90 (=_gamestate+0x1fdec) to 1 when GameState read 009cc1a0 succeeds, else GameState::Delete; Menu_Game::Update 00981140 / PreRenderContinueImg 00982100 enable the Continue widget on it + bool _isRerunAvailable; // FUN_00959fa0 sets byte Manager+0x20d91 (=_gamestate+0x1fded) to 1 when GameState::read_rerun 009d7d50 succeeds, else GameState::DeleteRerun; Menu_Game::Update 00981140 also enables Continue on it + uint8_t _pad_0x1fdee[0x36]; + uint32_t _saveFile; // void* // Manager::save_game_state 00958ed0 / save_rerun_to_steam_cloud 00959180 delete the old object (vtbl[0](1)), store SaveDataManager::open_file_write result at Manager+0x20dc8 (=_gamestate+0x1fe24), pass it to GameState::write and call vtbl+0x30/+0x34 (flush/close); GameState::read_player 009cb620 reads via this+0x1fe24 (REPENTOGON GameState _saveFile, last member) +}; +static_assert(offsetof(GameState, _isSaveAvailable) == 0x1fdec); +static_assert(offsetof(GameState, _isRerunAvailable) == 0x1fded); +static_assert(offsetof(GameState, _saveFile) == 0x1fe24); + +struct GlowingHourglassState { + bool _isUsable; // Game::GetGlowingHourglassState 00706780 returns the slot only when its first byte is set; Game::save_rewind_state 00705ee0 sets *slot = 1 after storing + uint8_t _pad_0x1[0x3]; + GameState _gameState; // Game::save_rewind_state 00705ee0 calls store_game_state(game, slot+4); GameState is 0x1fe28 bytes (last member _saveFile at 0x1fe24), so it ends at 0x1fe2c + int _leaveDoor; // Game::save_rewind_state 00705ee0 stores its arg (the door slot, from Room::update_door_transitions 007f01c0; -1 otherwise) at slot+0x1fe2c and returns early if the same door is passed again (REPENTOGON 0x1fca4: drifted +0x188) + uint32_t _timeCounter; // Game::save_rewind_state 00705ee0 stores Game _frameCount at slot+0x1fe30 and skips a new save within 0xf frames of it (REPENTOGON 0x1fca4+4: drifted +0x188) + int _eventCounters[523]; // Game::save_rewind_state 00705ee0 copies 0x20b dwords of PersistentGameData _eventCounters to slot+0x1fe34; ends at 0x20660 = the slot stride (eh-vector ctor 0x20660 x2, GetGlowingHourglassState) (REPENTOGON 0x1fcac: drifted +0x188) +}; +static_assert(offsetof(GlowingHourglassState, _isUsable) == 0x0); +static_assert(offsetof(GlowingHourglassState, _gameState) == 0x4); +static_assert(offsetof(GlowingHourglassState, _leaveDoor) == 0x1fe2c); +static_assert(offsetof(GlowingHourglassState, _timeCounter) == 0x1fe30); +static_assert(offsetof(GlowingHourglassState, _eventCounters) == 0x1fe34); + struct ProceduralItemManager { uint8_t _proceduralItems[0xc]; // std_vector_ProceduralItemPtr; begin/end at Game+0x67758/0x6775c: ItemPool::CreateGlitchedCollectible 009dcc70, Entity_Pickup::Update 006e3940, Isaac::SpawnLocust 005b35c0, reroll_collectibles_on_damage 005c88a0 index *(begin + ~id*4) bounded by (end-begin)>>2; ~ProceduralItemManager 009dc750 Tidy()s it at +0 - uint8_t _renderTarget[0x4]; // KAGE_SmartPointer_RenderTargetBase; Entity_Pickup::load_collectible_gfx 006e1e90, Entity_Player::AnimateCollectible 007ab380, collectible_icon_render 00848c20, HUD::render_extra_hud call KAGE::SmartPointer::operator_assign(&Game+0x67764) to bind it for glitched items; ~ProceduralItemManager 009dc750 releases the ref at +0xc/+0x10 via g_renderTargetReleaseFn (ctor zeroes 0x67764/0x67768) + uint8_t _renderTarget[0x1c]; // KAGE_SmartPointer_RenderTargetBase; Entity_Pickup::load_collectible_gfx 006e1e90, Entity_Player::AnimateCollectible 007ab380, collectible_icon_render 00848c20, HUD::render_extra_hud call KAGE::SmartPointer::operator_assign(&Game+0x67764) to bind it for glitched items; ~ProceduralItemManager 009dc750 releases the ref at +0xc/+0x10 via g_renderTargetReleaseFn (ctor zeroes 0x67764/0x67768) + uint8_t _spawnTriggerTargets[0x8]; // std_set_TypeVariant; set of (type, variant or -1) keys (node 0x18, key uint type +0x10 / int variant +0x14): ~ProceduralItemManager 009dc750 erases the tree head at +0x28 (= Game+0x67780, allocated by Game ctor 006f1020 with size +0x2c); ItemPool::CreateGlitchedCollectible 009dcc70 inserts (FUN_009e24f0) a glitched item's trigger target when its trigger kind is 6; Game::SpawnEx 006fe410 and Entity_NPC::Render 0058a010 look up the spawned entity's (type,variant)/(type,-1) and fire trigger_set_dispatch(6,..) on a hit }; static_assert(offsetof(ProceduralItemManager, _proceduralItems) == 0x0); static_assert(offsetof(ProceduralItemManager, _renderTarget) == 0xc); - -struct RoomDescriptor { - int32_t GridIndex; - int32_t SafeGridIndex; - int32_t ListIndex; - int32_t Dimension; // ctor zeroes +0xc between ListIndex and Data; Room::update_door_transitions (007f01c0) / Entity_NPC::HandleCollision read the target desc+0xc as the dimension with its GridIndex; RoomTransition::ChangeRoom compares two descs' +0xc - uint32_t Data; // RoomConfig_Room* - uint32_t OverrideData; // RoomConfig_Room* - int32_t AllowedDoors; - uint8_t _pad_0x1c[0x20]; - int32_t DisplayFlags; - int32_t VisitedCount; - int32_t Flags; - int16_t TotalMoneySpent; // FUN_007d8630 (player coin spend, Keeper's Sack) adds the amount to short (Room->_descriptor)+0x48 and unlocks achievement 0x246 once it exceeds 0x27; ctor zeroes it - int16_t ClearCount; - int32_t GreedSubType; // Level::generate_greed (0073e0a0) stores the chosen greed room subtype (4 or 0xb) in current desc+0x4c when 0, else reuses it as the RoomConfig::GetRandomRoom subtype; ctor zeroes it - int16_t PoopCount; - int16_t TKeeperCoinSpawns; // Entity_Pickup::Update (006bbdc0) for player type 0x21 (Tainted Keeper): if the room was visited before, stops at short desc+0x52 > 9, else rolls 1/(n+1) and increments it per enemy coin spawn - int32_t PitsCount; - int32_t DecorationSeed; - int32_t SpawnSeed; - int32_t AwardSeed; - uint32_t BossDeathSeed; // Room::TriggerBossDeath (007fec00, log "TriggerBossDeath: %d bosses remaining.") loads (Room->_descriptor)+0x64 at 007fed23 as the RNG seed for the last-boss-death reward (Game+0x265f4 overrides); ctor zeroes it - uint8_t SavedGridEntities[0xc]; // vector_GridEntityDesc; RoomDescriptor::constructor (006ef590) sizes the vector at +0x68/+0x6c/+0x70 to 0x1c0 (grid cells) x 0x20 GridEntityDesc, each with seed 0x16a9de81 at +0x10/+0x1c - uint8_t SavedEntities[0xc]; // vector_EntitySaveState; Room::RestoreState (007eff50) respawns each 0x78-byte EntitySaveState in desc+0x74..+0x78 via Game::SpawnEx + Entity_Pickup::RestoreState, then clears it - uint8_t RestrictedGridIndexes[0x8]; // std_set_int; ctor allocates a 0x14-byte std::set head at +0x80 (size +0x84); grid-bound enemies (NpcAI POKY/SPIKEBALL/STONEHEAD/CONSTANT_STONE_SHOOTER/BOMB_GRIMACE/GUTS) std::set::insert their _spawnGridIndex into current desc+0x80 on death; Room::Init find_node's it - uint8_t SavedEffects[0xc]; // vector_EntitySaveState; Game::spawn_bomb_crater (00703190) appends the crater effect's 0x78-byte save state to (Room->_descriptor)+0x88..+0x90, capped at 0x80 entries - uint8_t _pad_0x94[0x18]; - int16_t ShopItemIdx; - int16_t ShopItemDiscountIdx; - int32_t DeliriumDistance; - int32_t Group; // RoomDescriptor::constructor 006ef590 sets +0xb4 = -1; operator_assign 007387d0 copies it as last dword (stride 0xb8); Level::GetRandomRoomIndex 00740860 only picks rooms whose +0xb4 is -1 or equals the current room's -}; -static_assert(offsetof(RoomDescriptor, GridIndex) == 0x0); -static_assert(offsetof(RoomDescriptor, SafeGridIndex) == 0x4); -static_assert(offsetof(RoomDescriptor, ListIndex) == 0x8); -static_assert(offsetof(RoomDescriptor, Dimension) == 0xc); -static_assert(offsetof(RoomDescriptor, Data) == 0x10); -static_assert(offsetof(RoomDescriptor, OverrideData) == 0x14); -static_assert(offsetof(RoomDescriptor, AllowedDoors) == 0x18); -static_assert(offsetof(RoomDescriptor, DisplayFlags) == 0x3c); -static_assert(offsetof(RoomDescriptor, VisitedCount) == 0x40); -static_assert(offsetof(RoomDescriptor, Flags) == 0x44); -static_assert(offsetof(RoomDescriptor, TotalMoneySpent) == 0x48); -static_assert(offsetof(RoomDescriptor, ClearCount) == 0x4a); -static_assert(offsetof(RoomDescriptor, GreedSubType) == 0x4c); -static_assert(offsetof(RoomDescriptor, PoopCount) == 0x50); -static_assert(offsetof(RoomDescriptor, TKeeperCoinSpawns) == 0x52); -static_assert(offsetof(RoomDescriptor, PitsCount) == 0x54); -static_assert(offsetof(RoomDescriptor, DecorationSeed) == 0x58); -static_assert(offsetof(RoomDescriptor, SpawnSeed) == 0x5c); -static_assert(offsetof(RoomDescriptor, AwardSeed) == 0x60); -static_assert(offsetof(RoomDescriptor, BossDeathSeed) == 0x64); -static_assert(offsetof(RoomDescriptor, SavedGridEntities) == 0x68); -static_assert(offsetof(RoomDescriptor, SavedEntities) == 0x74); -static_assert(offsetof(RoomDescriptor, RestrictedGridIndexes) == 0x80); -static_assert(offsetof(RoomDescriptor, SavedEffects) == 0x88); -static_assert(offsetof(RoomDescriptor, ShopItemIdx) == 0xac); -static_assert(offsetof(RoomDescriptor, ShopItemDiscountIdx) == 0xae); -static_assert(offsetof(RoomDescriptor, DeliriumDistance) == 0xb0); -static_assert(offsetof(RoomDescriptor, Group) == 0xb4); +static_assert(offsetof(ProceduralItemManager, _spawnTriggerTargets) == 0x28); struct KColor { float _red; @@ -4951,18 +5223,31 @@ struct RoomTransition { uint8_t _pad_0x0[0x4]; int _frame; // RoomTransition start 0082ee40 zeroes this+4; RoomTransition::Update 008318a0 compares it with this+8 and resets it on mode change; Game::Render 006fbc10 fades by Game+0x1b840 / Game+0x1b844 in modes 2/3; Game::interpolate_update steps the progress float +0xc by 0.5/duration while frame != duration int _duration; // RoomTransition start 0082ee40 sets this+8 = 0x1e (or the per-type value); Update 008318a0 ends the phase when this+4 >= it; Game::Render 006fbc10 divides _frame by it - uint8_t _pad_0xc[0x10]; + uint8_t _pad_0xc[0x4]; + int _direction; // RoomTransition::ChangeRoom 00830950 switches on it (0..3 door side offsets) and sets Game _leaveDoor=-1 when it is -1; RoomTransition::Update 008318a0 hides players when -1; FUN_00429570 / FUN_00707ad0 zero it + int _targetRoomIdx; // RoomTransition::ChangeRoom 00830950 Level::GetRoomByIdx(+0x14, +0x18) and Game::ChangeRoom(+0x14, +0x18); Update 008318a0 compares it with Game _currentRoomIdx + int _targetDimension; // RoomTransition::ChangeRoom 00830950 passes it as the dimension with _targetRoomIdx to GetRoomByIdx and Game::ChangeRoom int _animation; // RoomTransition start 0082ee40 stores StartRoomTransition's type argument (<= 0x16) at this+0x1c; ChangeRoom / Update switch on it (3 teleport, 0xb, 0xc, 0xd, 0x11, 0x13 minecart, 0x14); FUN_00707ad0 restarts the transition after Level::Init when it is 3/0xb/0xc/0xd uint8_t _pad_0x20[0x4]; uint32_t _flags; // ? RoomTransition start 0082ee40 zeroes this+0x24; Level::generate_greed 0073e0a0 tests bit 0 (skip) and bit 1 (shop room: clear room flag 0x10) of Game+0x1b860 while a transition is active; FUN_00429570 / FUN_00707ad0 clear it with the rest of the transition - uint8_t _pad_0x28[0x20c]; + uint8_t _pad_0x28[0x10]; + ANM2 _versusScreenSprite; // Game::constructor 006f1020 ANM2::constructor(_roomTransition+0x38); RoomTransition::StartBossIntro 0082f1c0 loads/plays the versus screen on this+0x38 + uint8_t _pad_0x14c[0xd8]; + uint8_t _sprites[0x8]; // std_map_RoomTransitionSprite; ? std::map head +0x224 / size +0x228 of ANM2 values (node +0x14 = ANM2, its _loaded at node+0x11d): RoomTransition::StartBossIntro 0082f1c0 erases it (std::map::_Erase_tree) and resets the size; RoomTransition::Update 008318a0 updates every node's anim state + Vector _slideOffset; // ? RoomTransition::ChangeRoom 00830950 sets x (+0x22c) or y (+0x230) to the screen-width/height offset of the new room for the door direction (this+0x10 = 0..3) uint8_t _minecart[0x4]; // EntityPtr; Entity_NPC::HandleCollision 006cd410: player touching a minecart (0x3c5.10) calls StartRoomTransition(..,0x13,..) then assigns the npc to Game+0x1ba70 with the EntityPtr multiset insert/erase; RoomTransition::Update 008318a0 reads this[0x8d] and moves it when it is still 0x3c5.10 int _bossIntroBossId; // RoomTransition::StartBossIntro 0082f1c0 stores bossID1 in this+0x238; RoomTransition start 0082ee40 zeroes it; Update 008318a0 mode 2 waits on the versus-screen ANM2 when nonzero else changes room at once; Game::Render / PauseScreen::Render / update_ingame_input test Game+0x1ba74 != 0 (versus screen up) }; static_assert(offsetof(RoomTransition, _frame) == 0x4); static_assert(offsetof(RoomTransition, _duration) == 0x8); +static_assert(offsetof(RoomTransition, _direction) == 0x10); +static_assert(offsetof(RoomTransition, _targetRoomIdx) == 0x14); +static_assert(offsetof(RoomTransition, _targetDimension) == 0x18); static_assert(offsetof(RoomTransition, _animation) == 0x1c); static_assert(offsetof(RoomTransition, _flags) == 0x24); +static_assert(offsetof(RoomTransition, _versusScreenSprite) == 0x38); +static_assert(offsetof(RoomTransition, _sprites) == 0x224); +static_assert(offsetof(RoomTransition, _slideOffset) == 0x22c); static_assert(offsetof(RoomTransition, _minecart) == 0x234); static_assert(offsetof(RoomTransition, _bossIntroBossId) == 0x238); @@ -4978,7 +5263,8 @@ struct Seeds { bool _isCustomRun; // 006b83d0 (Lua Seeds:IsCustomRun binding, misnamed Room::IsInitialized) returns *(byte*)this; 009e9290 ctor / 009e9bc0 Reset clear byte 0 uint8_t _pad_0x1[0x3]; uint32_t _gameStartSeed; // 00436140 Lua GetStartSeed returns [this+4] ("Game Start Seed was not set" if 0); 009eb880 set_start_seed writes it; 0085e180 ClearStartSeed zeroes it - uint8_t _rng[0x48]; // RNG; 006ef890 Lua GetNextSeed steps xorshift seed this+8 with shifts +0xc/+0x10/+0x14; ctor inits 0xaa17414f,5,9,7; set_start_seed seeds it from start seed + RNG _rng; // 006ef890 Lua GetNextSeed steps xorshift seed this+8 with shifts +0xc/+0x10/+0x14; ctor inits 0xaa17414f,5,9,7; set_start_seed seeds it from start seed + uint32_t _stageSeeds[14]; // Lua Seeds:GetStageSeed 00738280 returns this+0x18+min(stage,13)*4 (so _rng at +8 is a 0x10 RNG, not 0x48; Seeds::GetNextSeed 006ef890 shifts are +0xc/+0x10/+0x14) uint32_t _playerInitSeed; uint32_t _seedEffects; // void* // std::set head ptr (new vs REPENTOGON): 009e9290 ctor allocs 0x14-byte tree head at this+0x54; 00685e70 ClearSeedEffects erases tree this+0x54 then count +0x58=0 int _seedEffectsCount; // 0085e1b0 Lua CountSeedEffects returns this+0x58; ClearSeedEffects zeroes it @@ -4986,22 +5272,18 @@ struct Seeds { static_assert(offsetof(Seeds, _isCustomRun) == 0x0); static_assert(offsetof(Seeds, _gameStartSeed) == 0x4); static_assert(offsetof(Seeds, _rng) == 0x8); +static_assert(offsetof(Seeds, _stageSeeds) == 0x18); static_assert(offsetof(Seeds, _playerInitSeed) == 0x50); static_assert(offsetof(Seeds, _seedEffects) == 0x54); static_assert(offsetof(Seeds, _seedEffectsCount) == 0x58); -struct GenericPrompt { - uint8_t _pad_0x0[0x130]; - bool _isOnlineVote; // GenericPrompt::handle_input sends the choice through online_vote_send when byte this+0x130 is set; Game::Update 006fadc0 returns after GenericPrompt::Update and Game::Render 006fbc10 draws the completion widget vote counter ("%d/%d") while Game+0x268a8 is set; Menu_Options::Update / ctor clear it - uint8_t _pad_0x131[0x3]; -}; -static_assert(offsetof(GenericPrompt, _isOnlineVote) == 0x130); - struct OnlineStatsScreen { bool _isActive; // Game::End 006f9770 calls online_stats_finalize only while byte Game+0x25954 == 0; Game::Update / update_ingame_input return early and PauseScreen is not updated while it is set; StageTransition::Update skips Game::End while set; update_ingame_input clears it after the continue vote; Game::Exit clears it - uint8_t _pad_0x1[0x3]; + uint8_t _pad_0x1[0x567]; + uint8_t _players[0xc]; // std_vector_OnlineStatsPlayer; ? 0x38-byte records (controller id +0, std::string name +8): online_stats_finalize 008ca600 clears and _Emplace_reallocates them at +0x568/+0x56c/+0x570; Game::Exit 006fa0c0 and update_ingame_input 006fa540 destroy them (Game+0x25ebc) when closing the screen }; static_assert(offsetof(OnlineStatsScreen, _isActive) == 0x0); +static_assert(offsetof(OnlineStatsScreen, _players) == 0x568); struct Game { uint32_t _stage; // Level:GetStage binding (0040c3a0) returns *this; Game:GetLevel (00424530) returns this, so Level*==Game* @@ -5016,8 +5298,8 @@ struct Game { uint32_t _currentRoomMap; // int* // Level*==Game*: Level::ChangeRoom 0073fc80 sets it to this+0x17adc+dimension*0x2a4 uint32_t _nbRooms; // Level::GetRoomCount (0056ff80) returns it; Level::GetRoomByIdx (00740bc0) loops rooms up to it uint32_t _startingRoomIdx; // Level::GetStartingRoomIndex (00505c70) returns it - uint8_t _generationRNG[0x10]; // RNG; Game ctor (006f1020) inits RNG (seed 0xaa17414f, shifts 5/9/7); Level::Init (00744940) seeds+steps it; used by Level::place_special_rooms/generate_dungeon/generate_mineshaft - uint8_t _devilAngelRoomRNG[0x10]; // RNG; Level:GetDevilAngelRoomRNG (007537f0) returns this+0x182e4; ctor/Level::Init init it as 2nd RNG; Level::InitializeDevilAngelRoom uses it (not in REPENTOGON) + RNG _generationRNG; // Game ctor (006f1020) inits RNG (seed 0xaa17414f, shifts 5/9/7); Level::Init (00744940) seeds+steps it; used by Level::place_special_rooms/generate_dungeon/generate_mineshaft + RNG _devilAngelRoomRNG; // Level:GetDevilAngelRoomRNG (007537f0) returns this+0x182e4; ctor/Level::Init init it as 2nd RNG; Level::InitializeDevilAngelRoom uses it (not in REPENTOGON) float _angelRoomChance; // Level::GetAngelRoomChance (007e9270) returns float; Level::AddAngelRoomChance (0065cf00) adds to it (not in REPENTOGON) uint8_t _pad_0x182f8[0x8]; uint32_t _room; // Room* // Level::GetCurrentRoom (00407480) returns it; RemoveCurses uses it +0x1218 as EntityList @@ -5028,7 +5310,8 @@ struct Game { uint32_t _lastBossRoomListIdx; // Level::GetLastBossRoomListIndex lua field uint32_t _leaveDoor; // Level::LeaveDoor lua field uint32_t _enterDoor; // Level::EnterDoor lua field - uint8_t _pad_0x18320[0xc]; + Vector _dungeonReturnPosition; // Lua Level:DungeonReturnPosition 0085e140 returns Game+0x18320/+0x18324; Level::GetEnterPosition 0074a090 returns it when re-entering _dungeonReturnRoomIndex from a crawlspace; GridEntity_Stairs::Update 0099bd50 / ENTITY_ROTGUT_face 0057bec0 set it; Level::Init sets 320 + int _dungeonReturnRoomIndex; // Level*==Game*: Level::GetEnterPosition 0074a090 compares _currentRoomIdx with Game+0x18328 (Level._dungeonReturnRoomIndex) before using _dungeonReturnPosition uint32_t _dungeonPlacementSeed; // Level::GetDungeonPlacementSeed (0060d000) returns it uint8_t _pad_0x18330[0x4]; uint32_t _greedModeWave; // Level::GreedModeWave (0070c5b0) returns it @@ -5048,10 +5331,12 @@ struct Game { uint8_t _preloadManager[0x8]; // PreloadManager; Game::LoadConfigXmls 006f4740 calls load_preloads_xml 009c6860 with ECX=Game+0x1a738; ctor builds a std::map head (new 0x50, color 0x101) at +0 and size +4 right after RoomConfig's inline ctor ends at RoomConfig+0x1e24; PlayerManager::enter_level looks up group "player tears" in that map for PreloadManager::load_group (so _roomConfig is 0x1e28, not 0x1e30) ItemPool _itemPool; uint8_t _pad_0x1aee4[0x8c]; - uint8_t _bossPool[0x8cc]; // BossPool; Game ctor (006f1020) builds 0x25 x 0x3c BossPool_Pool at Game+0x1af70 (~Game destroys them); Level::place_special_rooms / generate_boss_room / TryInitializeExtraBossRoom call BossPool::GetBossId with ECX=Game+0x1af70 + BossPool _bossPool; // Game ctor (006f1020) builds 0x25 x 0x3c BossPool_Pool at Game+0x1af70 (~Game destroys them); Level::place_special_rooms / generate_boss_room / TryInitializeExtraBossRoom call BossPool::GetBossId with ECX=Game+0x1af70 + uint8_t _pad_0x1b82c[0x10]; RoomTransition _roomTransition; // BossOverlay::update / FUN_00429570 call RoomTransition::Update with ECX=Game+0x1b83c; ctor builds the versus-screen ANM2 at +0x38 (0x1b874); Game::IsPaused / many AIs test its mode dword != 0 StageTransition _stageTransition; // StageTransition::Update (0092f1c0) runs with this=Game+0x1ba78; Game::Update/Render/IsPaused and Entity_Player shooting/pocket-use test the state dword != 0 (PlayerManager::Update next to _roomTransition) - uint8_t _pad_0x1ba84[0x24]; + uint8_t _pad_0x1ba84[0x14]; + RNG _fortuneRNG; // Lua Game:ShowFortune 005b1870 and FUN_0065d070 ("Fortune_Seeds") pass this+0x1ba98 as the RNG to Game::ShowFortuneText 009807a0; ctor 006f1020 seed 0xaa17414f shifts 5/9/7 at +0x1ba9c..+0x1baa4; Game::Start 006f5320 reseeds from Seeds::GetNextSeed; store_game_state saves it PlayerManager _playerManager; Seeds _seedEffects; // Lua Game:GetSeeds (0042a340) returns this+0x1bb84; ctor calls Seeds::constructor there; Seeds::AchievementUnlocksDisallowed called with ECX=Game+0x1bb84 uint8_t _onlinePlayerStats[0xc]; // std_vector_OnlinePlayerStats; ? 0x68-byte records (uint64 user id at +0, 0x16 dword counters from +0xc): FUN_0065d090 returns &Game+0x1bbe0 for Player_stats_add (Entity_Player::TakeDamage, Entity_Slot::Update revive); online_stats_finalize 008ca600 walks begin/end (/0x68) logging "Finalized stats for user %llu"; write_game_state_to_stream 009172f0 writes the count and records; Game::Start / LoadConfigXmls clear it (end=begin); ctor zeroes 0x1bbe0..0x1bbe8 right after Seeds::constructor (Seeds is 0x5c, ends here) @@ -5070,7 +5355,7 @@ struct Game { int _emoteMenuState; // ? +4 of an unnamed online emote-menu object at Game+0x25108 (ctor: byte +0, dword +4, OnlineEmotes::constructor at +8): FUN_008d1f20 runs it as 0 closed / 1 opening / 2 open / 3 closing; online_chat_update 0091dc10, PauseScreen::Update 009b5d20 and input filter FUN_00900ca0 are blocked while != 0; Game::Exit and the menu reset zero it (not part of _revivePlayerMenu, which ends at 0x25108) uint8_t _pad_0x25110[0x844]; OnlineStatsScreen _onlineStatsScreen; // ? Game ctor builds it at Game+0x25954 (byte +0, ANM2 +4 = 0x25958, ANM2[4] at 0x25a6c); online_stats_finalize 008ca600, CompletionWidget::Load 008ca2c0, netplay_lobby_render 008caa30, ~OnlineStatsScreen 008ca220 all run with ECX=Game+0x25954 (not part of _revivePlayerMenu) - uint8_t _pad_0x25958[0x574]; + uint8_t _pad_0x25ec8[0x4]; Minimap _minimap; // HUD::Render (009a3eb0) calls Minimap::Render with ECX=Game+0x25ecc; LoadConfigXmls calls Minimap::Init on it; 8 Minimap::Refresh calls on it int _freezeFrames; // Game::Update 006fadc0 decrements it while >0 and returns right after HUD::PostUpdate (no game update); Game::IsPaused 006fd350 returns 1 while >0; reset_run_state 006f43b0 zeroes it int _frameCount; @@ -5119,12 +5404,13 @@ struct Game { float _fadeSpeed; // Fadein 006f5210 / Fadeout 006f5290 store the speed; Game::Update 006fadc0 steps the fade alphas by it int _fadeOutTarget; // Game::Fadeout 006f5290 stores the target (<= 0xb, "Invalid target specified to Game::Fadeout()"); Game::Update 006fadc0 switches on it when the fade completes int _framesSinceRoomTransition; // Game::Update 006fadc0 increments it each normal frame and zeroes it while a RoomTransition is active; FUN_00708350 returns true while < 8; ResetState/ctor zero it - uint8_t _pad_0x265c4[0x4]; + uint8_t _restartHoldFrames; // Manager::update_ingame_input 006fa540 increments this byte each frame ACTION_RESTART (0x12) is held (0 when released), restarts the run once >= 0x10 (not in dailies / Eden); Game::reset_run_state 006f43b0 zeroes it + uint8_t _pad_0x265c5[0x3]; Ambush _ambush; - uint8_t _pad_0x265ec[0x28]; + uint8_t _pad_0x265f0[0x24]; DeathmatchManager _deathmatchManager; // ctor 006f1020 zeroes 0x26614..0x2662c then calls DeathmatchManager::set_type 00429be0 (this+0xc = 0x26620 gets new DeathmatchType{Normal,Ipecac,Bomberman,Ludovico..}, ~Game deletes 0x26620); +0 mode int: Game::End returns if >1 and !=6, Game::Render calls 0x26620 vtable +0x14/+0x18 when ==4, ~150 sites treat players as enemies when >1; FUN_008cb0f0 resets +0/+4. Ends at _dailyChallenge 0x26630 (Ambush 0x265c8 is 0x4c) uint8_t _pad_0x26624[0xc]; - uint8_t _dailyChallenge[0xb4]; // DailyChallenge; Game::StartDailyChallenge(DailyChallenge*) (006f6dd0) copies _id/_seed/_isPractice/_specialDailyId into Game+0x26630/34/38/3c; Game::IsChallengeOrDaily (006dae20) tests +0x26630 != 0 + DailyChallenge _dailyChallenge; // Game::StartDailyChallenge(DailyChallenge*) (006f6dd0) copies _id/_seed/_isPractice/_specialDailyId into Game+0x26630/34/38/3c; Game::IsChallengeOrDaily (006dae20) tests +0x26630 != 0 uint8_t _scoreSheet[0x90]; // ScoreSheet; Minimap::render_score_time (0098ef30, at 0098f62a) calls ScoreSheet::Calculate (009e5d90) with ECX=Game+0x266e4; Game::StartStageTransition passes Game+0x266e4 to FUN_009e5a30 int _victoryLap; GenericPrompt _genericPrompt; // Game::LoadConfigXmls / ReloadStagesXmlOnLuaReset call GenericPrompt::Initialize(Game+0x26778); Game::Render calls GenericPrompt::Render and Room::SpawnClearAward GenericPrompt::Show on it @@ -5133,7 +5419,8 @@ struct Game { int _stageNameNumeral; // ? Level::GetName 007460b0 passes it to get_stage_display_name 00745ca0, which appends it as a roman numeral (table 00b6a950 M/CM/D..) plus "?","?!","..."," Spikes","... Please stop." at 3/4/5/1001/x1000; ResetState 006f4520 = 1; StageTransition::Update alternates on its parity; store_game_state saves it; no writer besides ResetState found uint32_t _difficulty; int _lastLevelWithDamage; - uint8_t _pad_0x269d0[0x4]; + bool _isConsoleUsedThisRun; // ? Game::Start 006f5320 / StartDebug 006f7750 / StartDailyChallenge 006f6dd0 copy Manager _isConsoleEnabled into it; StartFromRerunState 006f72f0 sets it when the rerun state flag or the console is on; store_game_state 006f9000 saves it; no other reader found + uint8_t _pad_0x269d1[0x3]; uint8_t _encounteredBosses[12]; // std::vector<{int type, int variant}>: Lua Game:AddEncounteredBoss 00703470 pushes (8-byte stride 0x269d4/d8/dc), HasEncounteredBoss 00703510 / GetNumEncounteredBosses 0085e370 scan it int _pixelationTimer; // Lua Game:AddPixelation 00753cc0 sets it to max(cur, arg); Game::Update 006fadc0 counts it down; Room::Render 0080f200 pixelation while >0 int _pixelationDuration; // ? AddPixelation 00753cc0 writes the same max value; read by Room::Render 0080f200 as the total @@ -5141,14 +5428,15 @@ struct Game { bool _isStartingFromState; // FUN_00959720 sets 1 around Game::restore_game_state..LuaEngine::PostGameStart then 0; Player::AddSoulHearts (00758d00) skips while set; reset_run_state zeroes bool _isStoringGlowingHourglassState; // Game::save_rewind_state (00705ee0) sets 1 while storing the slot, 0 after, and bails if already set bool _isRestoringGlowingHourglassState; // Entity_Player::RestoreGameState (007ae4b0) branches on it; save_rewind_state bails if set - uint8_t _glowingHourglassStates[0x40cc0]; // GlowingHourglassState; Game ctor: vector ctor 2 x 0x20660 at Game+0x269ec; save_rewind_state writes Game+0x269ec+slot*0x20660 + GlowingHourglassState _glowingHourglassStates[2]; // Game ctor: vector ctor 2 x 0x20660 at Game+0x269ec; save_rewind_state writes Game+0x269ec+slot*0x20660 int _currentGlowingHourglassSlot; // Game::save_rewind_state (00705ee0) reads/writes int index 0x19dab (=0x676ac) as the slot selecting the 0x20660 state int _rewindsThisFloor; // ? Game::rewind 00706020 increments it on every Glowing Hourglass rewind; PlayerManager::trigger_level_start 009bb960 and Game::ResetState 006f4520 zero it bool _shouldLerpColorModState; // Game::SetColorModifier (007067c0) sets 1 when lerp, 0 otherwise; Game::Update clears it when done uint8_t _pad_0x676b5[0x3]; - uint8_t _currentColorModifier[0x18]; // ColorModState; SetColorModifier copies target into it when not lerping; ctor inits 1,1,1,0,0,1 - uint8_t _targetColorModifier[0x18]; // ColorModState; SetColorModifier copies the argument ColorModState into it - uint8_t _lerpColorModifier[0x44]; // ColorModState; SetColorModifier stores |target-current|*rate per component into it + ColorModState _currentColorModifier; // SetColorModifier copies target into it when not lerping; ctor inits 1,1,1,0,0,1 + ColorModState _targetColorModifier; // SetColorModifier copies the argument ColorModState into it + ColorModState _lerpColorModifier; // SetColorModifier stores |target-current|*rate per component into it + uint8_t _pad_0x67700[0x2c]; uint8_t _debugRenderer[0x8]; // DebugRenderer; Game::Render (006fbc10) calls DebugRenderer::Render (0042dbb0) with ECX=Game+0x6772c; Game::Update expires its list entries float _lightningIntensity; // Game::Update (006fadc0) decays it *0.75, zero below 0.05 float _dizzyIntensity; // Game::Update moves it toward 0x6773c by step 0x67740 @@ -5159,7 +5447,6 @@ struct Game { int _magicSkinUses; // FUN_005b18b0 adds to it, called from Entity_Player::UseActiveItem 005b39d0 (Magic Skin case: spawn collectible, lose a heart container); FUN_005b18a0 getter; ItemPool::GetCollectible helper FUN_007333f0 returns Magic Skin (0x282) again with chance it*0.01 and 1/(4-it) unless owned / already in a room; reset_run_state zeroes, store_game_state saves it uint8_t _erasedEntities[0xc]; // vector_ErasedEntities; Game::AddErasedEnemy (00707840) pushes {type,variant,subtype} (12 bytes) to vector at 0x6774c/0x67750; Game::ShouldEraseEnemy scans it ProceduralItemManager _proceduralItemManager; // ItemPool::CreateGlitchedCollectible (009dcc70) indexes vector at Game+0x67758 by -1-id - uint8_t _pad_0x67768[0x20]; int _ascentTimer; // Dad's Note white-out: set to 1 by the AddCollectible body 0x762675, counted up by Game::Update 0x6fb92e (shake n/6+2, StartStageTransition(0,5,0) past 0x59), Game::Render alpha n/90; notes/systems/ascent.md uint8_t _pad_0x6778c[0x15e0]; int _deathCertificateExitTimer; // Entity_Pickup::RemoveOtherOptions 006ee750 sets 0x5a when an option collectible (variant 100) is taken in dimension 2 (Death Certificate) and it is < 1; Game::Update 006fadc0 counts it down with _screenShakeTimer = 10 and at 0 (still in dimension 2) StartRoomTransition back (leaveDoor -1); Entity_Pickup::Update / Entity_Player::init_player_type_state test it > 0; ResetState zeroes, store_game_state saves it @@ -5188,6 +5475,8 @@ static_assert(offsetof(Game, _lastRoomDimensionIdx) == 0x18310); static_assert(offsetof(Game, _lastBossRoomListIdx) == 0x18314); static_assert(offsetof(Game, _leaveDoor) == 0x18318); static_assert(offsetof(Game, _enterDoor) == 0x1831c); +static_assert(offsetof(Game, _dungeonReturnPosition) == 0x18320); +static_assert(offsetof(Game, _dungeonReturnRoomIndex) == 0x18328); static_assert(offsetof(Game, _dungeonPlacementSeed) == 0x1832c); static_assert(offsetof(Game, _greedModeWave) == 0x18334); static_assert(offsetof(Game, _greedModeTreasureRoomIdx) == 0x18370); @@ -5203,6 +5492,7 @@ static_assert(offsetof(Game, _itemPool) == 0x1a740); static_assert(offsetof(Game, _bossPool) == 0x1af70); static_assert(offsetof(Game, _roomTransition) == 0x1b83c); static_assert(offsetof(Game, _stageTransition) == 0x1ba78); +static_assert(offsetof(Game, _fortuneRNG) == 0x1ba98); static_assert(offsetof(Game, _playerManager) == 0x1baa8); static_assert(offsetof(Game, _seedEffects) == 0x1bb84); static_assert(offsetof(Game, _onlinePlayerStats) == 0x1bbe0); @@ -5258,6 +5548,7 @@ static_assert(offsetof(Game, _fadeOutColor) == 0x265a4); static_assert(offsetof(Game, _fadeSpeed) == 0x265b8); static_assert(offsetof(Game, _fadeOutTarget) == 0x265bc); static_assert(offsetof(Game, _framesSinceRoomTransition) == 0x265c0); +static_assert(offsetof(Game, _restartHoldFrames) == 0x265c4); static_assert(offsetof(Game, _ambush) == 0x265c8); static_assert(offsetof(Game, _deathmatchManager) == 0x26614); static_assert(offsetof(Game, _dailyChallenge) == 0x26630); @@ -5269,6 +5560,7 @@ static_assert(offsetof(Game, _lastLevelWithoutHalfHp) == 0x269c0); static_assert(offsetof(Game, _stageNameNumeral) == 0x269c4); static_assert(offsetof(Game, _difficulty) == 0x269c8); static_assert(offsetof(Game, _lastLevelWithDamage) == 0x269cc); +static_assert(offsetof(Game, _isConsoleUsedThisRun) == 0x269d0); static_assert(offsetof(Game, _encounteredBosses) == 0x269d4); static_assert(offsetof(Game, _pixelationTimer) == 0x269e0); static_assert(offsetof(Game, _pixelationDuration) == 0x269e4); @@ -5297,6 +5589,37 @@ static_assert(offsetof(Game, _deathCertificateExitTimer) == 0x68d6c); static_assert(offsetof(Game, _isPocketItemRewindSaved) == 0x68d70); static_assert(offsetof(Game, _console) == 0x68d78); +struct GameStateItemPool { + uint8_t _poolsItemWeights[0x174]; // std_vector_float; ItemPool::StoreGameState 007367d0 resizes the 31 vectors at state+0 (stride 0xc) to each pool's item count and copies each PoolItem weight (+8, stride 0x18) into them + uint32_t _bibleUpgrades[31]; // ItemPool::StoreGameState 007367d0 copies ItemPool _pools[i]._bibleUpgrade (pool+0x30) to state+0x174+i*4 (LEA EAX,[ECX+0x174] at 007367f0) + uint32_t _seed; // ItemPool::StoreGameState 007367d0 MOV [ECX+0x1f0], ItemPool+0 (seed) at 0073690a + int _lastPool; // ItemPool::StoreGameState 007367d0 MOV [ECX+0x1f4], ItemPool+0x650 (_lastPool) at 00736916 + uint32_t _itemPoolRNGseed; // ItemPool::StoreGameState 007367d0 MOV [ECX+0x1f8], ItemPool+0x654 (_itemPoolRNG seed) at 00736922 + uint32_t _trinketPoolRNGseed; // ItemPool::StoreGameState 007367d0 MOV [ECX+0x1fc], ItemPool+0x664 (_trinketPoolRNG seed) at 0073692e + float _unkFloat674; // ? ItemPool::StoreGameState 007367d0 MOV [ECX+0x200], ItemPool+0x674 (_unkFloat674) at 0073693a + float _unkFloat678; // ? ItemPool::StoreGameState 007367d0 MOV [ECX+0x204], ItemPool+0x678 (_unkFloat678) at 00736946 + uint8_t _removedCollectibles[0x10]; // vector_bool; ItemPool::StoreGameState 007367d0 resizes the vector at state+0x208 to ItemPool+0x688 bits and copies the _removedCollectibles bits (ItemPool+0x67c) + uint8_t _trinketPoolItems[0x10]; // vector_bool; ItemPool::StoreGameState 007367d0 resizes the vector at state+0x218 (ADD ECX,0x218 at 007369c8) to the trinket count and stores each TrinketPoolItem +4 (available) flag as a bit (REPENTOGON types it vector_TrinketPoolItem: it is a bit vector) + int _pillEffects[15]; // ItemPool::StoreGameState 007367d0 copies 15 dwords ItemPool+0x7a4 (pill effects) to state+0x228 (00736a39..00736a63) + bool _identifiedPillEffects[15]; // ItemPool::StoreGameState 007367d0 copies 15 bytes ItemPool+0x7e0 (identified flags, ItemPool::IdentifyPill 00718ea0 / IsPillIdentified 0083c490) to state+0x264 + uint8_t _pad_0x273[0x1]; + uint16_t _remainingGenesisItems[31]; // ItemPool::StoreGameState 007367d0 copies 31 words ItemPool+0x7f0 to state+0x274 (00736a65..00736a85); struct ends 0x2b4 (name from REPENTOGON, meaning unchecked) + uint8_t _pad_0x2b2[0x2]; +}; +static_assert(offsetof(GameStateItemPool, _poolsItemWeights) == 0x0); +static_assert(offsetof(GameStateItemPool, _bibleUpgrades) == 0x174); +static_assert(offsetof(GameStateItemPool, _seed) == 0x1f0); +static_assert(offsetof(GameStateItemPool, _lastPool) == 0x1f4); +static_assert(offsetof(GameStateItemPool, _itemPoolRNGseed) == 0x1f8); +static_assert(offsetof(GameStateItemPool, _trinketPoolRNGseed) == 0x1fc); +static_assert(offsetof(GameStateItemPool, _unkFloat674) == 0x200); +static_assert(offsetof(GameStateItemPool, _unkFloat678) == 0x204); +static_assert(offsetof(GameStateItemPool, _removedCollectibles) == 0x208); +static_assert(offsetof(GameStateItemPool, _trinketPoolItems) == 0x218); +static_assert(offsetof(GameStateItemPool, _pillEffects) == 0x228); +static_assert(offsetof(GameStateItemPool, _identifiedPillEffects) == 0x264); +static_assert(offsetof(GameStateItemPool, _remainingGenesisItems) == 0x274); + struct GridEntityDesc { int _type; int _variant; @@ -5324,7 +5647,7 @@ struct GridEntity { uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; }; @@ -5343,7 +5666,7 @@ struct GridEntity_Decoration { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; }; @@ -5362,7 +5685,7 @@ struct GridEntity_Door { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; uint8_t _sprite[0x94]; // ANM2 Vector _spriteOffset; @@ -5381,7 +5704,7 @@ struct GridEntity_Door { // : GridEntity (flattened) int _targetRoomIdx; // Lua GridEntityDoor.TargetRoomIndex field+0x394; Room::update_door_transitions (007f01c0) and Entity_NPC::HandleCollision read door+0x394 and, when < -99, resolve it with Level::GetRoomByIdx for the target room's Dimension/GridIndex uint32_t _previousState; uint32_t _previousVariant; - uint8_t _pad_0x3a0[0x4]; + uint32_t _doorFlags; // ? GridEntity_Door::LoadSprite 0070d3f0 zeroes it then ORs style bits by room type (1, 2, 4, 8, 0x10 with the "Break" anims, 0x20 with "Collapse", 0x40); SetRoomTypes / Open / TryUnlock / Update / Entity_Effect::update_mr_me / Entity_Familiar::ai_wisp test bits 1/0x10/0x20/0x50 uint8_t _openAnimation[0x18]; // std_string; Lua GridEntityDoor.OpenAnimation via binder 0088c2d0: getter 008c0f40 lua_pushlstring of MSVC std::string (SSO cap>0xf), setter std::string::assign uint8_t _closeAnimation[0x18]; // std_string; Lua GridEntityDoor.CloseAnimation via binder 0088c2d0: getter 008c0f40 lua_pushlstring of MSVC std::string (SSO cap>0xf), setter std::string::assign uint8_t _lockedAnimation[0x18]; // std_string; Lua GridEntityDoor.LockedAnimation via binder 0088c2d0: getter 008c0f40 lua_pushlstring of MSVC std::string (SSO cap>0xf), setter std::string::assign @@ -5408,6 +5731,7 @@ static_assert(offsetof(GridEntity_Door, _isUnlockedByPlayer) == 0x392); static_assert(offsetof(GridEntity_Door, _targetRoomIdx) == 0x394); static_assert(offsetof(GridEntity_Door, _previousState) == 0x398); static_assert(offsetof(GridEntity_Door, _previousVariant) == 0x39c); +static_assert(offsetof(GridEntity_Door, _doorFlags) == 0x3a0); static_assert(offsetof(GridEntity_Door, _openAnimation) == 0x3a4); static_assert(offsetof(GridEntity_Door, _closeAnimation) == 0x3bc); static_assert(offsetof(GridEntity_Door, _lockedAnimation) == 0x3d4); @@ -5420,7 +5744,7 @@ struct GridEntity_Fire { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; }; @@ -5439,7 +5763,7 @@ struct GridEntity_Gravity { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; }; @@ -5458,7 +5782,7 @@ struct GridEntity_Lock { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; }; @@ -5477,7 +5801,7 @@ struct GridEntity_Pit { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; bool _hasLadder; // Lua GridEntityPit.HasLadder via binder 0088ca80: getter 008c13d0 pushboolean(byte), setter toboolean -> bool @@ -5499,7 +5823,7 @@ struct GridEntity_Poop { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; int _reviveTimer; // Lua GridEntityPoop.ReviveTimer via binder 0088c4c0: getter 008c10c0 FUN_0085bfd0 signed dword, setter dword @@ -5525,12 +5849,12 @@ struct GridEntity_PressurePlate { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; ANM2 _timerPlate; // Lua GridEntityPressurePlate.TimerPlate via binder 0088d350: getter 008c17a0 UserdataValue copy-constructs ANM2, setter ANM2 copy+SwapANM2 uint32_t _nextGreedAnimation; // char* // Lua GridEntityPressurePlate.NextGreedAnimation via binder 0088d4d0: getter 008c1940 lua_pushstring(ptr) or nil, setter stores luaL_checklstring pointer - uint8_t _greedModeRNG[0x4]; // RNG; Lua GridEntityPressurePlate.GreedModeRNG via binder 0088d650: getter 008c1a50 UserdataValue 16-byte copy + RNG _greedModeRNG; // Lua GridEntityPressurePlate.GreedModeRNG via binder 0088d650: getter 008c1a50 UserdataValue 16-byte copy }; static_assert(offsetof(GridEntity_PressurePlate, _desc) == 0x4); static_assert(offsetof(GridEntity_PressurePlate, _varData) == 0x18); @@ -5550,7 +5874,7 @@ struct GridEntity_Rock { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; uint8_t _anim[0x18]; // std_string; Lua GridEntityRock.Anim via binder 0088ce40: getter 008c14a0 pushlstring of std::string, setter assign @@ -5577,7 +5901,7 @@ struct GridEntity_Spikes { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; int _timeout; // Lua GridEntitySpikes.Timeout via binder 0088d7f0: getter 008c1b70 FUN_0085bfd0 signed dword, setter dword @@ -5598,7 +5922,7 @@ struct GridEntity_Stairs { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; }; @@ -5617,7 +5941,7 @@ struct GridEntity_Statue { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; }; @@ -5636,7 +5960,7 @@ struct GridEntity_TNT { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; int _frameCnt; // Lua GridEntityTNT.FrameCnt via binder 0088d150: getter 008c16e0 FUN_0085bfd0 signed dword, setter dword @@ -5657,7 +5981,7 @@ struct GridEntity_Teleporter { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; }; @@ -5676,7 +6000,7 @@ struct GridEntity_TrapDoor { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; }; @@ -5695,7 +6019,7 @@ struct GridEntity_Wall { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; }; @@ -5714,7 +6038,7 @@ struct GridEntity_Web { // : GridEntity (flattened) uint8_t _pad_0x1c[0x8]; uint32_t _gridIndex; uint32_t _spawnFrame; // GridEntity::Init (00709db0) sets this+0x28 = Game _frameCount (Game+0x264f8); GridEntity_TrapDoor::Update compares it with the room's entry frame - uint8_t _rng[0x10]; // RNG + RNG _rng; int _collisionClass; ANM2 _sprite; }; @@ -5745,7 +6069,9 @@ struct ItemConfig { uint8_t _collectibleNameMap[0x8]; // std_map_string_int; LuaEngine::Isaac_GetItemIdByName 0086f640 looks up Manager+0x2a440 = ItemConfig(Manager+0x2a404, Isaac::GetItemConfig 0042ca00)+0x3c, string key, int value at node+0x28; ItemConfig::Load 00725570 clears this+0x3c uint8_t _playerForms[0xc]; // vector_ItemConfigPlayerFormPtr; Entity_Player::reroll_collectibles_on_damage 005c88a0 loops ids <0x10 over Manager+0x2a448/0x2a44c (= ItemConfig+0x44), calls IncrementPlayerFormCounter(id,-1) and AddCostume(null item at form+0x28); FUN_007252a0 deletes 0x30-byte entries (1 string) uint8_t _wispGfxRoot[0x18]; // std_string; ? std::string at Manager+0x2a454 (= ItemConfig+0x50) is the prefix copied before "hungry_%d.png" (Entity_Familiar::load_config_graphics 0064a830) and anm2= overrides (anm2_apply_gfx_overrides 0064aab0); load_wisps_xml 0072a1b0 reads the root "gfxroot" attribute; destructor 00725190 frees a string here - uint8_t _pad_0x68[0x9c]; + uint8_t _pad_0x68[0x14]; + uint8_t _locustConfigs[0x8]; // std_map_LocustConfig; ItemConfig::LoadLocustConfig 0072ba80 clears the tree at +0x7c (size +0x80) before parsing locusts.xml (color/scale/quality per item) and inserts entries (FUN_00731870); ItemConfig::destructor 00725190 erases it and deletes the 0x54-byte head + uint8_t _pad_0x84[0x80]; uint8_t _availabilityFilters[0xc]; // vector_ItemAvailabilityFn; Item::IsAvailable 007300d0 (flag 8) calls every function pointer in Manager+0x2a508..0x2a50c (= ItemConfig+0x104) and rejects on false; ItemPool::GetCardImpl 007376c0 and Entity_Player::ModelingClay_roll 007dbd70 push a filter, roll, then pop it; destructor 00725190 Tidy(+0x104) }; static_assert(offsetof(ItemConfig, _collectibles) == 0x0); @@ -5756,6 +6082,7 @@ static_assert(offsetof(ItemConfig, _pillEffects) == 0x30); static_assert(offsetof(ItemConfig, _collectibleNameMap) == 0x3c); static_assert(offsetof(ItemConfig, _playerForms) == 0x44); static_assert(offsetof(ItemConfig, _wispGfxRoot) == 0x50); +static_assert(offsetof(ItemConfig, _locustConfigs) == 0x7c); static_assert(offsetof(ItemConfig, _availabilityFilters) == 0x104); struct ItemConfig_Card { @@ -5900,6 +6227,49 @@ static_assert(offsetof(ItemConfig_Pill, mimicCharge) == 0x48); static_assert(offsetof(ItemConfig_Pill, effectClass) == 0x4c); static_assert(offsetof(ItemConfig_Pill, effectSubClass) == 0x4d); +struct LayerState { + uint32_t _layerData; // LayerData* // LayerState::Init 00408310 stores its LayerInfo* arg at *this and copies the spritesheet path from arg+0x20; ANM2::Load 0040bd50 reads the layer name at *(layer)+8 to find "shadow" / "*" layers; AnmCache::Load 0040db90 calls Init(layerData + i*0x38) per layer + uint32_t _animation; // ANM2* // AnmCache::Load 0040db90: after LayerState::Init, layerState[i]+4 = the ANM2 (whose +0x7c is the layer-state array) + uint8_t _spriteSheetPath[0x18]; // std_string; Sprite::ReplaceSpritesheet 0040bf30 compares/assigns the path at layer+8 (stride 0xa0) and clears +0x30; ANM2::LoadGraphics 0040c000 passes layer+8 to Manager::LoadImage + uint32_t _minFilterMode; // LayerState::GetTexture 00408590 passes +0x20/+0x24 to texture vtbl+0x44 (filter) when they differ from tex+0x30/+0x34; SetTexture 00408640 copies tex+0x30 into +0x20; show_beta_disclaimer_popup 00420190 sets GetLayer(0)+0x20 = +0x24 = 1 on its popup sprite + uint32_t _magFilterMode; // LayerState::GetTexture 00408590 second arg of texture vtbl+0x44 (filter) with +0x20; SetTexture 00408640 copies tex+0x34 + uint32_t _wrapSMode; // LayerState::GetTexture 00408590 passes +0x28/+0x2c to texture vtbl+0x48 (wrap) when they differ from tex+0x38/+0x3c; SetTexture 00408640 copies tex+0x38; shader renders set GetLayer(0)+0x28 = +0x2c = 0 + uint32_t _wrapTMode; // LayerState::GetTexture 00408590 second arg of texture vtbl+0x48 (wrap); SetTexture 00408640 copies tex+0x3c + bool _spriteSheetLoaded; // ANM2::LoadGraphics 0040c000 skips a layer whose +0x30 is set, else loads the image and stores the success flag there; Sprite::ReplaceSpritesheet 0040bf30 clears it; Entity_Pickup::load_collectible_gfx 006e1e90 sets it after binding the glitched-item render target + uint8_t _pad_0x31[0x1]; + bool _flipX; // render_build_sprite_quad 00409cb0 (param_4 = the LayerState from AnimationLayer::RenderFrame 00409120) negates the x scale when layer+0x32 != 0 + bool _flipY; // render_build_sprite_quad 00409cb0 negates the y scale when layer+0x33 != 0 + Vector _size; // render_build_sprite_quad 00409cb0 multiplies frame scale (+0x18/+0x1c) by layer+0x34/+0x38; LayerState::Init 00408310 sets it to g_vectorOne + float _rotation; // render_build_sprite_quad 00409cb0 adds layer+0x3c to the frame rotation (+0x5c); LayerState::Init 00408310 = 0 + Vector _pos; // render_build_sprite_quad 00409cb0 adds layer+0x40/+0x44 to the frame position (+0x10/+0x14); LayerState::Init 00408310 sets it to g_vectorZero + ColorMod _color; // AnimationLayer::RenderFrame 00409120 Color::operator_assign(layer+0x48) when flag 1 is set; LayerState::Init 00408310 = tint 1,1,1,1, colorize/offset 0 (0x48..0x73) + bool _visible; // AnimationLayer::RenderFrame 00409120 returns when byte [layer+0x74] == 0 (CMP byte ptr [EDI+0x74],0 at 004091b8); LayerState::Init 00408310 sets it to 1; Menu_Online::Render 008e4e30 sets GetLayer("BackKey")->+0x74 by controller type + uint8_t _pad_0x75[0x3]; + int _blendMode[5]; // AnimationLayer::RenderFrame 00409120 loads +0x78..+0x84 into g_graphicsManager_blendMode[0..3] and +0x88 into DAT_00c79910; ctor 004081d0/Init 00408310 set 0, 1|6, 7, 1, 7 + uint32_t _bitflags; // AnimationLayer::RenderFrame 00409120 ORs layer+0x8c with ANM2+0x110 flags (OR ECX,[EDI+0x8c] at 004091f1); render_build_sprite_quad 00409cb0 tests flag 8 in the same OR; ANM2::Load 0040bd50 sets |= 5 on "*" layers + Vector _cropOffset; // AnimationLayer::RenderFrame 00409120 adds layer+0x90/+0x94 to the source quad position; Entity_Pickup::load_collectible_gfx 006e1e90 sets it to the glitched-item atlas cell (~id&0x1f)*32, (~id>>5)*32; Init 00408310 = g_vectorZero + uint8_t _spriteSheet[0x4]; // KAGE_SmartPointer_ImageBase; LayerState::GetTexture 00408590 reads the image at *(layer+0x98) (filter/wrap via its vtbl) and returns a SmartPointer copy of +0x98; ctor 004081d0 zeroes +0x98/+0x9c (8-byte smart pointer, struct stride 0xa0) +}; +static_assert(offsetof(LayerState, _layerData) == 0x0); +static_assert(offsetof(LayerState, _animation) == 0x4); +static_assert(offsetof(LayerState, _spriteSheetPath) == 0x8); +static_assert(offsetof(LayerState, _minFilterMode) == 0x20); +static_assert(offsetof(LayerState, _magFilterMode) == 0x24); +static_assert(offsetof(LayerState, _wrapSMode) == 0x28); +static_assert(offsetof(LayerState, _wrapTMode) == 0x2c); +static_assert(offsetof(LayerState, _spriteSheetLoaded) == 0x30); +static_assert(offsetof(LayerState, _flipX) == 0x32); +static_assert(offsetof(LayerState, _flipY) == 0x33); +static_assert(offsetof(LayerState, _size) == 0x34); +static_assert(offsetof(LayerState, _rotation) == 0x3c); +static_assert(offsetof(LayerState, _pos) == 0x40); +static_assert(offsetof(LayerState, _color) == 0x48); +static_assert(offsetof(LayerState, _visible) == 0x74); +static_assert(offsetof(LayerState, _blendMode) == 0x78); +static_assert(offsetof(LayerState, _bitflags) == 0x8c); +static_assert(offsetof(LayerState, _cropOffset) == 0x90); +static_assert(offsetof(LayerState, _spriteSheet) == 0x98); + struct Level { uint32_t _stage; // Level:GetStage binding (0040c3a0) returns *this uint32_t _stageType; // Level:GetStageType (004073c0) returns this+4; Level::IsAltStage (0042a2c0) @@ -5913,8 +6283,8 @@ struct Level { uint32_t _currentRoomMap; // int* // Level::ChangeRoom 0073fc80 / Init 00744940 set it to &_roomMap[dimension*0xa9] (this+0x17adc+dim*0x2a4) int _roomCount; int _startingRoomIndex; - uint8_t _generationRNG[0x10]; // RNG; Level::generate_dungeon 00740e10 / Init 00744940 seed+step the RNG at 0x182d4..0x182e0 (Game._generationRNG) - uint8_t _devilAngelRoomRNG[0x10]; // RNG; Level:GetDevilAngelRoomRNG (007537f0) returns this+0x182e4 (not in REPENTOGON) + RNG _generationRNG; // Level::generate_dungeon 00740e10 / Init 00744940 seed+step the RNG at 0x182d4..0x182e0 (Game._generationRNG) + RNG _devilAngelRoomRNG; // Level:GetDevilAngelRoomRNG (007537f0) returns this+0x182e4 (not in REPENTOGON) float _angelRoomChance; // Level::GetAngelRoomChance (007e9270)/AddAngelRoomChance (0065cf00) (not in REPENTOGON) uint8_t _pad_0x182f8[0x8]; uint32_t _room; // Room* // Level::ChangeRoom 0073fc80 / RestoreGameState 007475b0 use it as the current Room (Game._room, Level::GetCurrentRoom 00407480) @@ -5925,7 +6295,7 @@ struct Level { int _lastBossRoomListIndex; int _leaveDoor; int _enterDoor; - uint8_t _pad_0x18320[0x8]; + Vector _dungeonReturnPosition; // Lua Level:DungeonReturnPosition 0085e140 returns this+0x18320/+0x18324; Level::GetEnterPosition 0074a090 returns it for the crawlspace return room; Level::RestoreGameState 007475b0 restores it int _dungeonReturnRoomIndex; int _dungeonPlacementSeed; uint8_t _pad_0x18330[0x4]; @@ -5957,6 +6327,7 @@ static_assert(offsetof(Level, _lastRoomDimensionIdx) == 0x18310); static_assert(offsetof(Level, _lastBossRoomListIndex) == 0x18314); static_assert(offsetof(Level, _leaveDoor) == 0x18318); static_assert(offsetof(Level, _enterDoor) == 0x1831c); +static_assert(offsetof(Level, _dungeonReturnPosition) == 0x18320); static_assert(offsetof(Level, _dungeonReturnRoomIndex) == 0x18328); static_assert(offsetof(Level, _dungeonPlacementSeed) == 0x1832c); static_assert(offsetof(Level, _greedModeWave) == 0x18334); @@ -5983,7 +6354,9 @@ struct PersistentGameData { uint8_t _pad_0x0[0x1]; bool _isReadOnly; // ? TryUnlock 00929a20, IncreaseEventCounter 00929b40, AddToCollection 0092a2d0, AddChallenge 0092a7b0, AddBestiaryKill 0092acb0, TryAddBestiaryEncounter 0092aea0 and Manager+0x15 users (Room::SpawnClearAward 007fb250) all skip writing while it is set; Clear 009262b0 zeroes it bool _isSteamAchievementsEnabled; // ? Clear 009262b0 sets 1; TryUnlock 00929a20 only calls UnlockSteamAchievement and Manager::queue_achievement_popup when set; UnlockSteamAchievement 00929790 also checks it - uint8_t _pad_0x3[0x35]; + uint8_t _pad_0x3[0x1]; + uint32_t _saveFile; // void* // PersistentGameData::Load 00926a50 / SaveToSteamCloud 00928ee0 delete the old file object at this+4 (vtbl[0](1)) and store the new one; ctor 00925f80 zeroes it; Manager::destructor frees it + uint8_t _pad_0x8[0x30]; bool _achievements[642]; // PersistentGameData::TryUnlock 00929a20 / Unlocked 00929aa0 read/write this+0x38+id (id<=0x281); write 009282e0 chunk 1 = 0x282 bytes from +0x38; Manager+0x4c+id users (Manager 0xe4/0xe5/0x6d/0x1e7/0x142/...) uint8_t _pad_0x2ba[0x2]; int _eventCounters[523]; // PersistentGameData::IncreaseEventCounter 00929b40 adds to this[0xaf+id]*4 (= +0x2bc); write 009282e0 chunk 2 = 0x20b ints; Menu_Stats::Update reads Manager+0x2d4 (counter 1) and +0x2f8; Manager 0x324/0x328 are counters 21/22 @@ -5991,21 +6364,54 @@ struct PersistentGameData { int _cutsceneCounters[27]; // Manager::ShowCutscene 00958e60 increments [cutsceneID] and [2] (credits, when id!=1) and sets changes-made; BossOverlay::update 004212c0 increments Manager+0xf18 (= [25]) with cutscene 0x19; write 009282e0 chunk 8 = 0x1b ints from +0xea0 int _lastDifficulty; // Menu_Character::handle_input 0094c580 stores Difficulty into Manager+0xf20 (= +0xf0c); Menu_Character::Reset 00948fc0 reads it back; write 009282e0 chunk 9 (2 ints at +0xf0c) int _characterMenuShown; // Menu_Character::set_character_menu_shown 009495f0 writes Manager+0xf24 (= +0xf10, normal/tainted page); Reset 00948fc0 and LoadGraphics read it; Menu_OnlineLobby::update_controls flips 1-x; MenuManager::start_game tests ==1; 2nd int of write chunk 9 - uint8_t _pad_0xf14[0x78]; + uint8_t _pad_0xf14[0x50]; + uint8_t _bestiaryEncounters[0x8]; // std_map_int_int; PersistentGameData::TryAddBestiaryEncounter 0092aea0 inserts key (id<<12|variant)*0x100 into the map at this+0xf64 (size +0xf68); Clear 009262b0 erases it + uint8_t _bestiaryKills[0x8]; // std_map_int_int; PersistentGameData::AddBestiaryKill 0092acb0 / GetBestiaryKillCount 0092b100 use the map at this+0xf6c (size +0xf70); Clear 009262b0 erases it + uint8_t _pad_0xf74[0x8]; + uint8_t _bestiaryDeaths[0x8]; // std_map_int_int; PersistentGameData::GetBestiaryDeathCount 0092b070 finds key (id<<12|variant)*0x100 and returns node value (+0x14) unless it is the head this+0xf7c; Clear 009262b0 erases it and zeroes size +0xf80 + uint8_t _pad_0xf84[0x8]; bool _isFileLoaded; // Clear 009262b0 sets 1; load paths FUN_0092bf00 / TryImportABLocalSave 0092c2c0 store the read result; Game::Exit 006fa0c0 and Menu_Save::Update 009d9c60 only save when changes-made && Manager+0xfa0 (= +0xf8c) uint8_t _pad_0xf8d[0x3]; }; static_assert(offsetof(PersistentGameData, _isReadOnly) == 0x1); static_assert(offsetof(PersistentGameData, _isSteamAchievementsEnabled) == 0x2); +static_assert(offsetof(PersistentGameData, _saveFile) == 0x4); static_assert(offsetof(PersistentGameData, _achievements) == 0x38); static_assert(offsetof(PersistentGameData, _eventCounters) == 0x2bc); static_assert(offsetof(PersistentGameData, _cutsceneCounters) == 0xea0); static_assert(offsetof(PersistentGameData, _lastDifficulty) == 0xf0c); static_assert(offsetof(PersistentGameData, _characterMenuShown) == 0xf10); +static_assert(offsetof(PersistentGameData, _bestiaryEncounters) == 0xf64); +static_assert(offsetof(PersistentGameData, _bestiaryKills) == 0xf6c); +static_assert(offsetof(PersistentGameData, _bestiaryDeaths) == 0xf7c); static_assert(offsetof(PersistentGameData, _isFileLoaded) == 0xf8c); +struct NightmareScene { + uint8_t _pad_0x0[0x36c]; + int _stageBarIcons[14]; // ? NightmareScene::record_stage 00923320 maps (stage, stageType) to a stage-bar icon index stored at +0x36c + stage*4 (stage 13 at +0x3a0); FUN_00707ad0 sets entry 0 (Manager+0x21994) to -3 in greed / 0; Manager::unload_configs 00953f10 sets entries 0/1 to 0x11 +}; +static_assert(offsetof(NightmareScene, _stageBarIcons) == 0x36c); + +struct MusicChannel { + uint8_t _pad_0x0[0x16c]; + uint32_t _enabledLayers; // MusicManager::EnableLayer 007e2280 ORs 1<); Game::ShowFortuneText 009807a0 map-finds a category name and compares with the head at Manager+0x4a92c, taking the entry count from the node for RNG::RandomInt +}; +static_assert(offsetof(StringTable, _categories) == 0xc); + +struct PopupButton { + ANM2 _sprite; // FUN_00423aa0 (Manager::Init) loads gfx/ui/ButtonPromptWidget.anm2 into each 0x130 record and plays LeftPrompt/RightPrompt; PopupButtons::Render 00423cc0 sets layer "Text" frame and renders it + float _slideOffset; // Manager::Update 00954cd0 (954fb1) moves +0x114 toward +0x118 by 6.0 per frame for both buttons; FUN_00424130 adds scale*it to the button's screen y; PopupButtons::reset 004239b0 sets 96 + float _targetSlideOffset; // PopupButtons::reset 004239b0 sets 96 (hidden below the screen) or 0 with arg 1 (slide in); MenuManager::Render 0098a040 / Manager::RestartGame / update_ingame_input set Manager+0x4aa68/+0x4ab98 to 96 or 0 to hide/show the prompts; Manager::Update 00954cd0 slides _slideOffset to it + int _textFrame; // PopupButtons::Render 00423cc0 ANM2::SetLayerFrame(sprite, "Text" layer, *(+0x11c)); reset 004239b0 sets 1 / 0; Cutscene::Show 0095e7c0 sets button 1 to 6 + bool _isVisible; // ? PopupButtons::reset 004239b0 sets 1; PopupButtons::Render 00423cc0 draws the action glyph only while it is set (and _buttonAction != 0x20) + uint8_t _pad_0x121[0x3]; + int _buttonAction; // PopupButtons::reset 004239b0 sets 0xf / 0xe (MENUBACK / MENUCONFIRM); PopupButtons::Render 00423cc0 looks it up in the input device's action table ("ActionId is out of range") and draws its glyph or name; Manager::Update 00954cd0 skips 0x20 + Vector _offset; // PopupButtons::reset 004239b0 zeroes it (g_vectorZero); FUN_00424130 adds +0x128/+0x12c to the button's screen position +}; +static_assert(offsetof(PopupButton, _sprite) == 0x0); +static_assert(offsetof(PopupButton, _slideOffset) == 0x114); +static_assert(offsetof(PopupButton, _targetSlideOffset) == 0x118); +static_assert(offsetof(PopupButton, _textFrame) == 0x11c); +static_assert(offsetof(PopupButton, _isVisible) == 0x120); +static_assert(offsetof(PopupButton, _buttonAction) == 0x124); +static_assert(offsetof(PopupButton, _offset) == 0x128); + +struct PopupButtons { + PopupButton _buttons[2]; // PopupButtons::reset 004239b0 resets records at +0x114.. and +0x244.. (0x130 apart); FUN_00424130 positions button 0 bottom-left and button 1 bottom-right; Manager::Update 00954cd0 loops 2 records of 0x130 + float _scale; // PopupButtons::reset 004239b0 sets 1.0; PopupButtons::Render 00423cc0 and FUN_00424130/004240b0 scale positions, sprite scale and glyphs by it; FUN_0095eb60 (cutscene callback) reads +0x260 + uint32_t _callback; // void* // PopupButtons::reset 004239b0 clears it; Cutscene::Show 0095e8dc stores 0x95eb60 at Manager+0x4abb4 (= +0x264); DeathScreen::Show installs FUN_008cb190 + uint32_t _callbackContext; // void* // PopupButtons::reset 004239b0 clears it; Cutscene::Show 0095e8e6 stores the Cutscene* at Manager+0x4abb8 (= +0x268) beside _callback +}; +static_assert(offsetof(PopupButtons, _buttons) == 0x0); +static_assert(offsetof(PopupButtons, _scale) == 0x260); +static_assert(offsetof(PopupButtons, _callback) == 0x264); +static_assert(offsetof(PopupButtons, _callbackContext) == 0x268); + struct Manager { uint8_t _pad_0x0[0x8]; int _state; // 00954cd0 Manager::Update switch(this+8), saves prev to +0xc; 009595e0 IsGameplayInputActive tests ==2 (in game); ctor 00950610 zeroes it - uint8_t _pad_0xc[0x4]; + int _previousState; // Manager::Update 00954cd0 saves _state here before switching to the cutscene state 3 and restores _state from it when the cutscene ends; Manager::Init 00952410 zeroes it uint32_t _currentSaveSlot; // 00959e70 Manager::SetSaveSlot writes slot to [this+0x10] after PersistentGameData::Clear(this+0x14) PersistentGameData _persistentGameData; // 00950610 ctor calls PersistentGameData ctor 00925f80 on this+0x14; 00959e70 SetSaveSlot Clear(this+0x14); TryUnlock/IncreaseEventCounter(g_Manager+0x14) x70 - uint8_t _gamestate[0x1fe2c]; // GameState; 00950610 ctor calls 009c73c0 on this+0xfa4; 00959130 Game::DeleteSaveState GameState::Delete(g_Manager+0xfa4); SetSaveSlot uses this+0xfa4 - uint8_t _cutsceneManager[0x858]; // Cutscene; 00950610 ctor: CutsceneEntry[27] (0x4c) at +0x20dd4 = Cutscene+4; 00952df0 load_configs Cutscene::load_xml(this+0x20dd0); 00954cd0 Manager::Update Cutscene::Show(this+0x20dd0) - uint8_t _nightmareScene[0x5f4]; // NightmareScene; 00950610 ctor ANM2s at +0x20/+0x134/+0x248/+0x4d4 of 0x21628 (= REPENTOGON NightmareScene layout); 00954cd0 Update NightmareScene::Show(this+0x21628); 009555c0 Render NightmareScene::Render(this+0x21628) + GameState _gamestate; // 00950610 ctor calls 009c73c0 on this+0xfa4; 00959130 Game::DeleteSaveState GameState::Delete(g_Manager+0xfa4); SetSaveSlot uses this+0xfa4 + bool _isSavingGameState; // Manager::save_game_state 00958ed0 sets it to 1 around Game::store_game_state and clears it after saving; entity_type_is_saved 007eed10 forces true while it (or Game _isStoringGlowingHourglassState) is set + uint8_t _pad_0x20dcd[0x3]; + uint8_t _cutsceneManager[0x848]; // Cutscene; 00950610 ctor: CutsceneEntry[27] (0x4c) at +0x20dd4 = Cutscene+4; 00952df0 load_configs Cutscene::load_xml(this+0x20dd0); 00954cd0 Manager::Update Cutscene::Show(this+0x20dd0) + bool _isCutscenePending; // Manager::ShowCutscene 00958e60 and Game::End 006f9770 set it to 1; Manager::Update 00954cd0 then calls Cutscene::Show(_pendingCutsceneId), enters state 3 and clears it; BossOverlay::update 004212c0 sets it too + uint8_t _pad_0x21619[0x3]; + int _pendingCutsceneId; // Manager::ShowCutscene 00958e60 stores cutsceneID (<= 0x1a); Game::End 006f9770 stores 3/0xf/0x10..; Manager::Update 00954cd0 passes it to Cutscene::Show(&_cutsceneManager, id) + bool _isCutsceneCleanupPending; // Manager::ShowCutscene 00958e60 stores its shouldCleanup argument; Manager::Update 00954cd0 unloads the game state (unload_state) before the cutscene and, after it, goes to _cutsceneNextMenuState with the fade color when set + uint8_t _pad_0x21621[0x3]; + int _cutsceneNextMenuState; // Manager::ShowCutscene 00958e60 stores its 3rd argument; Manager::Update 00954cd0 copies it into _pendingMenuState and calls start_pending_menu after a cleanup cutscene; Game::End 006f9770 stores the menu to return to + NightmareScene _nightmareScene; // 00950610 ctor ANM2s at +0x20/+0x134/+0x248/+0x4d4 of 0x21628 (= REPENTOGON NightmareScene layout); 00954cd0 Update NightmareScene::Show(this+0x21628); 009555c0 Render NightmareScene::Render(this+0x21628) + uint8_t _pad_0x219cc[0x250]; AchievementOverlay _achievementOverlay; // 005cd810 trivial getter returns g_Manager+0x21c1c (GetAchievementOverlay); ctor 00950610: ANM2 at +0x20, vector of 0x34-byte entries at +0x134, zeroes +0x14/+0x1c (displayedachievement/status) MusicManager _musicManager; // 00428cd0 Lua MusicManager() returns g_Manager+0x29fbc; the Lua class is MusicManager (lua_fields), so the member gets that struct uint8_t _pad_0x2a2e8[0x3c]; @@ -6200,10 +6652,14 @@ struct Manager { EntityConfig _entityConfig; // 00417910 getter returns g_Manager+0x2a670; 004186c0 EntityList::Update calls EntityConfig::GetEntity with ECX=g_Manager+0x2a670; players vector at +8 (0x2a678/0x2a67c, /0x148 stride, 44 uses) uint8_t _pad_0x2a6a8[0x18]; uint8_t _modManager[0x20260]; // ModManager; 0040d210 getter returns g_Manager+0x2a6c0; ModManager::TryRedirectPath(g_Manager+0x2a6c0) many; ctor: vector +0, memset(+0xc,0,0x20000) redirect table, +0x2025c modBanStatus - uint8_t _stringTable[0x18]; // StringTable; 004253c0 getter returns g_Manager+0x4a920; string_table_translate(g_Manager+0x4a920,"#...") 118 uses; 00951920 load_fonts reads language at +0 - uint8_t _stringTablePc[0x284]; // StringTable; Manager::Init 00952410 StringTable::Load(this+0x4a938,"stringtable_pc.sta") right after stringtable.sta into +0x4a920; ModManager::UpdateWorkshopMods translates "#MOD_UNINSTALLING" with it; Manager::destructor clears the two tables (maps +0x4a924/+0x4a92c and +0x4a93c/+0x4a944) + StringTable _stringTable; // 004253c0 getter returns g_Manager+0x4a920; string_table_translate(g_Manager+0x4a920,"#...") 118 uses; 00951920 load_fonts reads language at +0 + uint8_t _pad_0x4a934[0x4]; + StringTable _stringTablePc; // Manager::Init 00952410 StringTable::Load(this+0x4a938,"stringtable_pc.sta") right after stringtable.sta into +0x4a920; ModManager::UpdateWorkshopMods translates "#MOD_UNINSTALLING" with it; Manager::destructor clears the two tables (maps +0x4a924/+0x4a92c and +0x4a93c/+0x4a944) + uint8_t _pad_0x4a94c[0x4]; + PopupButtons _popupButtons; // Manager ctor 00950610 eh-vector-ctor 2 x 0x130 at +0x4a950 (FUN_00951130 = ANM2 ctor + fields); Manager::Init 00954733 loads gfx/ui/ButtonPromptWidget.anm2 into both (FUN_00423aa0); Manager::Update 00954cd0 slides them; Manager::Render 00955c7f calls PopupButtons::Render; Cutscene::Show 0095e7c0 / DeathScreen::Show / online_stats_finalize call PopupButtons::reset on it; ends at _framecount 0x4abbc uint32_t _framecount; // 0086f090 Lua Isaac::GetFrameCount returns *(g_Manager+0x4abbc) - uint8_t _pad_0x4abc0[0x7]; + int _consecutiveResetCount; // Manager::RestartGame 00958cb0 increments it when its progresScaredHeart argument is set (else zeroes) and unlocks achievement 0x148 (Mr. Resetter) once > 6; StartNewGame 00958aa0 / Menu_Game::Update / Menu_DailyChallenge::Update / Manager::Init zero it + uint8_t _pad_0x4abc4[0x3]; bool _isHotkeysEnabled; // Manager::update_hotkeys 009548d0 skips all hotkeys (music mute toggle, fullscreen...) when this+0x4abc7 is 0; Console::Update 0068b260 clears it while the console is open; Menu_KeyConfig::Update 008d8b00 sets it to !rebinding; Manager::Init sets 1 uint8_t _pad_0x4abc8[0x9]; bool _isConsoleEnabled; // 00952410 Manager::Init copies options _enableDebugConsole (0x2a398) to +0x4abd1; Game::Start/StartDebug copy it into Game+0x269d0 @@ -6235,27 +6691,38 @@ struct Manager { int _startDifficulty; // Manager::StartNewGame 00958aa0 stores the difficulty argument here (after the _startSeeds copy) bool _debugStart; // 00958aa0 StartNewGame clears; 00959720 dispatcher tests it to choose start args; Menu_Game::Update 00981140 clears uint8_t _pad_0x4b19d[0x23]; - uint8_t _dailyChallenge[0xb4]; // DailyChallenge; 00958c40 DailyChallenge::Init(ECX=g_Manager+0x4b1c0); StartNewGame zeroes +0/+4/+8(byte)/+0xc = _id/_seed/_isPractice/_specialDailyId; ctor ChallengeParam ctor at +0x10 + DailyChallenge _dailyChallenge; // 00958c40 DailyChallenge::Init(ECX=g_Manager+0x4b1c0); StartNewGame zeroes +0/+4/+8(byte)/+0xc = _id/_seed/_isPractice/_specialDailyId; ctor ChallengeParam ctor at +0x10 bool _networkPlay; // 00958aa0 StartNewGame clears; 009595e0 IsGameplayInputActive: starting && networkPlay; 00959720 dispatcher tests it first uint8_t _pad_0x4b275[0x3]; uint8_t _lobbyMembers[0xc]; // vector_LobbyMember; ? 0x14-byte entries whose +4 points at a user object with a 64-bit id at +8/+0xc: Menu_OnlineLobby::init_lobby_view 008e9ac0, online_vote_update 0091c320 and write_game_state_to_stream 009172f0 (writes count (end-begin)/0x14 then each id); NetplayManager::send_message 0090eca0 - uint8_t _pad_0x4b284[0x4]; + bool _isSaveOnExit; // Manager::unload_state 00959670 passes byte this+0x4b284 to Game::Exit(ShouldSave); start_pending_game 00959720 sets it (word 1); Game::DeleteSaveState 00959130 / RestartGame 00958cb0 / Init clear it; Console::RunCommand sets 1 after the rerun restart + uint8_t _pad_0x4b285[0x3]; bool _isMenuPending; // Game::Update 006fadc0 sets it (with _pendingMenuState and the fade color) when the end fade completes; Manager::start_pending_menu 00959d00 tests it, unloads the game and calls MenuManager::SetState(_pendingMenuState) uint8_t _pad_0x4b289[0x3]; int _pendingMenuState; // Manager::start_pending_menu 00959d00 MenuManager::SetState(this+0x4b28c,1) and skips netplay_leave_lobby when it is 0x11; Game::Update 006fadc0 sets 1/2/3/0x13 by fade target; Manager::Update copies the cutscene's next state (Cutscene+0x854) KColor _pendingMenuFadeColor; // Game::Update 006fadc0 stores the KColor::SetFromARGB result in +0x4b290..+0x4b2a0; Manager::start_pending_menu 00959d00 copies the 5 dwords to MenuManager _fadeInColor (+0x1c..+0x2c) - uint8_t _pad_0x4b2a4[0x4]; + bool _isNightmarePending; // StageTransition::Update 0092f1c0 / ItemOverlay::Update 009aca90 set it with the nightmare id in +0x4b2a5; Manager::Update 00954cd0 then calls NightmareScene::Show(this+0x21628, +0x4b2a5), enters state 5 and clears it; Init 00952410 clears + uint8_t _pad_0x4b2a5[0x3]; ANM2 _cursorSprite; // 00952410 Manager::Init ANM2::Load(this+0x4b2a8,"gfx/ui/cursor.anm2") - uint8_t _pad_0x4b3bc[0xe]; + Vector _lastMousePosition; // Manager::Update 00954cd0 compares the window cursor position with +0x4b3bc/+0x4b3c0 and stores it; Manager::Render 009555c0 draws _cursorSprite at it scaled to the window + int _cursorVisibleTimer; // Manager::Update 00954cd0 sets it to 300 when the mouse moves, else decrements to 0; Manager::Render 009555c0 draws _cursorSprite only while > 0 (mouse control on, state 1/2); Manager::Init zeroes it + uint8_t _pad_0x4b3c8[0x1]; + bool _isRenderSurfaceResetPending; // Manager::update_screen_scale 00954150 sets it; Manager::Render 009555c0 then resets the render-target smart pointers, calls create_render_surfaces, re-reads the window size and clears it; Manager::Init zeroes it bool _isWindowFocused; // FUN_009aa020 (focus callback) sets it to param!=0; Game::Update 006fadc0 shows the pause screen when it is 0 and Options PauseOnFocusLost is on (offline); Game::interpolate_update gates on it; Manager::Init sets 1 uint8_t _pad_0x4b3cb[0xd]; uint8_t _netplayManager[0x4]; // NetplayManager; 00417920 getter returns this+0x4b3d8; 006d8e10 is_local_player_owned: ECX=g_Manager+0x4b3d8 -> NetplayManager::IsIdxLocalPlayer; ctor calls 00906260 on it (misnamed SaveSlotManager::constructor) }; static_assert(offsetof(Manager, _state) == 0x8); +static_assert(offsetof(Manager, _previousState) == 0xc); static_assert(offsetof(Manager, _currentSaveSlot) == 0x10); static_assert(offsetof(Manager, _persistentGameData) == 0x14); static_assert(offsetof(Manager, _gamestate) == 0xfa4); +static_assert(offsetof(Manager, _isSavingGameState) == 0x20dcc); static_assert(offsetof(Manager, _cutsceneManager) == 0x20dd0); +static_assert(offsetof(Manager, _isCutscenePending) == 0x21618); +static_assert(offsetof(Manager, _pendingCutsceneId) == 0x2161c); +static_assert(offsetof(Manager, _isCutsceneCleanupPending) == 0x21620); +static_assert(offsetof(Manager, _cutsceneNextMenuState) == 0x21624); static_assert(offsetof(Manager, _nightmareScene) == 0x21628); static_assert(offsetof(Manager, _achievementOverlay) == 0x21c1c); static_assert(offsetof(Manager, _musicManager) == 0x29fbc); @@ -6268,7 +6735,9 @@ static_assert(offsetof(Manager, _entityConfig) == 0x2a670); static_assert(offsetof(Manager, _modManager) == 0x2a6c0); static_assert(offsetof(Manager, _stringTable) == 0x4a920); static_assert(offsetof(Manager, _stringTablePc) == 0x4a938); +static_assert(offsetof(Manager, _popupButtons) == 0x4a950); static_assert(offsetof(Manager, _framecount) == 0x4abbc); +static_assert(offsetof(Manager, _consecutiveResetCount) == 0x4abc0); static_assert(offsetof(Manager, _isHotkeysEnabled) == 0x4abc7); static_assert(offsetof(Manager, _isConsoleEnabled) == 0x4abd1); static_assert(offsetof(Manager, _activeControllerIndex) == 0x4abd4); @@ -6296,10 +6765,15 @@ static_assert(offsetof(Manager, _debugStart) == 0x4b19c); static_assert(offsetof(Manager, _dailyChallenge) == 0x4b1c0); static_assert(offsetof(Manager, _networkPlay) == 0x4b274); static_assert(offsetof(Manager, _lobbyMembers) == 0x4b278); +static_assert(offsetof(Manager, _isSaveOnExit) == 0x4b284); static_assert(offsetof(Manager, _isMenuPending) == 0x4b288); static_assert(offsetof(Manager, _pendingMenuState) == 0x4b28c); static_assert(offsetof(Manager, _pendingMenuFadeColor) == 0x4b290); +static_assert(offsetof(Manager, _isNightmarePending) == 0x4b2a4); static_assert(offsetof(Manager, _cursorSprite) == 0x4b2a8); +static_assert(offsetof(Manager, _lastMousePosition) == 0x4b3bc); +static_assert(offsetof(Manager, _cursorVisibleTimer) == 0x4b3c4); +static_assert(offsetof(Manager, _isRenderSurfaceResetPending) == 0x4b3c9); static_assert(offsetof(Manager, _isWindowFocused) == 0x4b3ca); static_assert(offsetof(Manager, _netplayManager) == 0x4b3d8); @@ -6415,7 +6889,7 @@ struct Menu_Stats { ANM2 _achievementMiniSprite9; // 9th of the 11-ANM2 run (ctor 00986450); FUN_009ede60 uses +0x14fc ANM2 _cursorLeftSprite; // 10th of the 11-ANM2 run (ctor 00986450); Render 009ecdd0 uses +0x1640/+0x1660 inside it ANM2 _cursorRightSprite; // 11th of the 11-ANM2 run (ctor 00986450); Render 009ecdd0 uses +0x1754/+0x1774 inside it - uint8_t _achievementOverlayEntries[0x8268]; // AchievementOverlay_Entry; ctor 00986450 eh_vector_constructor 0x282 x 0x34 at Stats+0x1838; Update 009ecbc0 tests [i*0x34+0x1838]==i (REP 0x1834[641]) + AchievementOverlay_Entry _achievementOverlayEntries[642]; // ctor 00986450 eh_vector_constructor 0x282 x 0x34 at Stats+0x1838; Update 009ecbc0 tests [i*0x34+0x1838]==i (REP 0x1834[641]) int _achievementIDList[642]; // update_achievements 009ee2a0 and load_achievements_xml 009ed780 index [this+i*4+0x9aa0] (REP 0x9a68[641]) int _maxAchievementID; // load_achievements_xml 009ed780 fills it (13 refs); update_achievements wraps _selectedAchievmentId at it (REP 0xa46c) int _holdInputTimer; // update_achievements 009ee2a0 counts held frames, accelerates past 0x3c/0xb4, resets to 0 (REP 0xa470) @@ -6452,6 +6926,17 @@ static_assert(offsetof(Menu_Stats, _maxAchievementID) == 0xa4a8); static_assert(offsetof(Menu_Stats, _holdInputTimer) == 0xa4ac); static_assert(offsetof(Menu_Stats, _scrollSpeed) == 0xa4b0); +struct Menu_Online { + uint8_t _pad_0x0[0x4]; + ANM2 _anm2; // Menu_Online::enter 008e5260 ANM2::SetAnimation(this+4, "Idle"); Menu_Online::Update 008e4b10 GetLayer(this+4, "Cursor") + SetLayerFrame(.., _state); Render 008e4e30 GetLayer(this+4, "BackKey") + uint8_t _pad_0x118[0x114]; + int _prevState; // Menu_Online::Update 008e4b10 (asm 008e4b83/008e4be7): a held-input repeat counter, not a previous state: the cursor moves only when it is 0 or >0x31 and %10 == 0, then it is incremented (reset to 0 when no input); Menu_Online::enter 008e5260 sets it to 1 + int _state; // Menu_Online::Update 008e4b10 (asm 008e4ba8..008e4c18) cycles it 0..4 (Quick Match/Public Match/Friend Match/Daily Run/Options) and switches on it when confirming; Render 008e4e30 picks the #Online/ONLINE_*_DESCRIPTOR text from it +}; +static_assert(offsetof(Menu_Online, _anm2) == 0x4); +static_assert(offsetof(Menu_Online, _prevState) == 0x22c); +static_assert(offsetof(Menu_Online, _state) == 0x230); + struct MenuManager { uint8_t _menuStateHistory[0xc]; // std_vector_uint; new: FUN_0098ae20 (menu state push) appends the new menu id to the vector at +0/+4/+8 (begin/end/cap) before calling SetState FUN_0098aa30; ctor 00986450 zeroes all three bool _state; // REP int, only a byte here: SetState FUN_0098aa30 sets it to 1 on a menu change; MenuManager::Update 009897d0 eases _ViewPosition toward _viewPositionSet[_selectedMenuID] while set and clears it on arrival @@ -6486,13 +6971,18 @@ struct MenuManager { uint8_t _menuCutscenes[0x124]; // Menu_Cutscenes; ctor 00986450 ECX=this+0xd3ac: +8/+0xc zeroed, ANM2 at +0x10 (REP 0xd36c, +0x40) uint8_t _menuBestiary[0x378]; // Menu_Bestiary; ctor 00986450 ESI=this+0xd4d0: PositionX/Y +0/+4, ANM2 at +8, +0x11c, +0x230, +0x350..+0x364 zeroed (REP 0xd490, +0x40) uint8_t _menuCustomChallenge[0x124]; // Menu_CustomChallenge; MenuManager::Update 009897d0 calls Menu_CustomChallenge::Update(this+0xd848); ctor ANM2 at +0xd858 (REP 0xd808, +0x40) - uint8_t _menuMods[0x1d98]; // Menu_Mods; ctor 00986450 ESI=this+0xd96c: +8/+0xc zeroed, ANM2 at +0x10, +0x128 (REP 0xd92c, +0x40) + uint8_t _menuMods[0x12c]; // Menu_Mods; ctor 00986450 ESI=this+0xd96c: +8/+0xc zeroed, ANM2 at +0x10, +0x128 (REP 0xd92c, +0x40) + uint8_t _menuOnline[0x4]; // Menu_Online; MenuManager::Update 009897d0 Menu_Online::Update(this+0xda98); MenuManager::Render 0098a040 Menu_Online::Render(this+0xda98); ctor 00986450 stores "gfx/ui/main menu/OnlineMenu.anm2" at its first dword, LoadGraphics 00988d80 loads it + ANM2 _onlineMenuSprite; // MenuManager::constructor 00986450 stores "gfx/ui/main menu/OnlineMenu.anm2" at +0xda98 and builds ANM2 at +0xda9c; LoadGraphics 00988d80 ANM2::Load(+0xda9c, that path) + Play Idle; unload_graphics 00988ba0 resets it (Menu_Mods ends at 0xd96c+0x12c = 0xda98) + uint8_t _pad_0xdbb0[0x1a1c]; + ANM2 _onlineStatsMenuSprite; // MenuManager::LoadGraphics 00988d80 ANM2::Load(+0xf5cc,"gfx/ui/main menu/OnlineStatsMenu.anm2") + Play Idle; MenuManager::Update 009897d0 sets its "Cursor" layer frame; ctor builds it, unload_graphics resets it + uint8_t _pad_0xf6e0[0x24]; Vector _viewPositionSet[23]; // ctor 00986450 zeroes 23 Vectors from +0xf704 (ends at the 0xf7bc bool); Update 009897d0 reads +0xf704/+0xf708 + id*8; SetState writes [12].x (+0xf768) for state 0xc (REP 0xf70c, -8) bool _shouldLerpColorModState; // MenuManager::Update 009897d0 lerps while set and clears it once the lerp equals the target; ctor 00986450 sets it to 0 (REP 0xf7c4, -8) uint8_t _pad_0xf7bd[0x3]; - uint8_t _currentColorModState[0x18]; // ColorModState; Render 0098a040 sends +0xf7c0..c8 as tint and +0xf7cc/+0xf7d0/+0xf7d4 as the "Amount"/"Brightness"/"Contrast" uniforms; ctor sets (1,1,1,0,0,1) (REP 0xf7c8, -8) - uint8_t _targetColorModState[0x18]; // ColorModState; Update 009897d0 FUN_006ef410(this+0xf7d8, this+0xf7f0) and compares the result with +0xf7d8..+0xf7ec; ctor (1,1,1,0,0,1) (REP 0xf7e0, -8) - uint8_t _lerpColorModState[0x18]; // ColorModState; second ColorModState arg of the lerp in Update 009897d0; ctor (1,1,1,0,0,1) at +0xf7f0..+0xf804 (REP 0xf7f8, -8) + ColorModState _currentColorModState; // Render 0098a040 sends +0xf7c0..c8 as tint and +0xf7cc/+0xf7d0/+0xf7d4 as the "Amount"/"Brightness"/"Contrast" uniforms; ctor sets (1,1,1,0,0,1) (REP 0xf7c8, -8) + ColorModState _targetColorModState; // Update 009897d0 FUN_006ef410(this+0xf7d8, this+0xf7f0) and compares the result with +0xf7d8..+0xf7ec; ctor (1,1,1,0,0,1) (REP 0xf7e0, -8) + ColorModState _lerpColorModState; // second ColorModState arg of the lerp in Update 009897d0; ctor (1,1,1,0,0,1) at +0xf7f0..+0xf804 (REP 0xf7f8, -8) float _scrollinterpolationX; // -8 like its neighbours; Update 009897d0 sets it to viewPositionSet[1].x + 364 + dist^2*0.004 and Render 0098a040 draws the fly sprite at _ViewPosition + (this, +0xf80c), so it is really the fly's offset (REP 0xf810) float _scrollinterpolationY; // Update 009897d0 sets viewPositionSet[1].y + 176 + dist*0.004; Render 0098a040 fly sprite y offset (REP 0xf814) uint8_t _pad_0xf810[0x8]; @@ -6526,6 +7016,9 @@ static_assert(offsetof(MenuManager, _menuCutscenes) == 0xd3ac); static_assert(offsetof(MenuManager, _menuBestiary) == 0xd4d0); static_assert(offsetof(MenuManager, _menuCustomChallenge) == 0xd848); static_assert(offsetof(MenuManager, _menuMods) == 0xd96c); +static_assert(offsetof(MenuManager, _menuOnline) == 0xda98); +static_assert(offsetof(MenuManager, _onlineMenuSprite) == 0xda9c); +static_assert(offsetof(MenuManager, _onlineStatsMenuSprite) == 0xf5cc); static_assert(offsetof(MenuManager, _viewPositionSet) == 0xf704); static_assert(offsetof(MenuManager, _shouldLerpColorModState) == 0xf7bc); static_assert(offsetof(MenuManager, _currentColorModState) == 0xf7c0); @@ -6547,6 +7040,15 @@ static_assert(offsetof(PathFinder, _movementTarget) == 0x4); static_assert(offsetof(PathFinder, _hasDirectPath) == 0x72c); static_assert(offsetof(PathFinder, _evadeMovementCountdown) == 0x73c); +struct PlayerHUDActiveItem { + uint8_t _pad_0x0[0x4]; + int _bookItemId; // ? PlayerHUD::Update 00842230 reloads the book overlay only when the item id (0x248 Book of Virtues, 0x22 Book of Belial, 0x3b) differs from PlayerHUD+0x194+i*0x1c and then stores it + uint8_t _pad_0x8[0x8]; + uint8_t _bookImage[0x4]; // KAGE_SmartPointer_ImageBase; PlayerHUD::Update 00842230 swaps Manager::LoadImage("gfx/ui/hud_BookOfVirtues.png"/BookOfBelial/WithBelial) into PlayerHUD+0x1a0/+0x1a4+i*0x1c (entry+0x10/+0x14, REPENTOGON bookImage +0x10) +}; +static_assert(offsetof(PlayerHUDActiveItem, _bookItemId) == 0x4); +static_assert(offsetof(PlayerHUDActiveItem, _bookImage) == 0x10); + struct PlayerHUD { uint32_t _player; // Entity_Player* // HUD::FlashChargeBar 009a2bc0 / InvalidateActiveItem 009a2c00 match *(PlayerHUD+0)==player, stride 0x6dc uint32_t _HUD; // HUD* // HUD reset FUN_009a19a0 writes PlayerHUD[i]+4 = HUD this @@ -6556,7 +7058,8 @@ struct PlayerHUD { int8_t _soulHeartFlashCountdown; // PlayerHUD::UpdateHearts 00841e20 flashes BlueHeart* when >0; PlayerHUD::Update 00842230 decrements int8_t _goldHeartFlashCountdown; // PlayerHUD::RenderHearts 00843df0 tests it with heart gold flag; PlayerHUD::Update 00842230 decrements; reset 00841cf0 zeroes uint8_t _pad_0xf[0x181]; - uint8_t _activeItem[0x51d]; // PlayerHUDActiveItem; HUD::InvalidateActiveItem 009a2c00 zeroes PlayerHUD+0x190+i*0x1c; FlashChargeBar 009a2bc0 writes +0x1a8+i*0x1c = 8 (same as REPENTOGON) + PlayerHUDActiveItem _activeItem[4]; // HUD::InvalidateActiveItem 009a2c00 zeroes PlayerHUD+0x190+i*0x1c; FlashChargeBar 009a2bc0 writes +0x1a8+i*0x1c = 8 (same as REPENTOGON) + uint8_t _pad_0x1e0[0x4cd]; bool _isCraftingItemDirty; // HUD::InvalidateCraftingItem 009a2c70 sets PlayerHUD[i]+0x6ad=1 for the player (or all); Entity_Player::bag_of_crafting_collect 007d5170 sets it on pickup uint8_t _pad_0x6ae[0x2]; }; @@ -6643,7 +7146,8 @@ struct Room { int _gridPaths[448]; // Lua Room:GetGridPath 004565c0 / SetGridPath 0042a290 read/write this+0x76c+idx*4 for idx < 0x1c0; SetGridPath 004565e0 only overwrites values < 951 uint8_t _pad_0xe6c[0x380]; int _roomClearDelay; // Room::KeepDoorsClosed (0085e0f0) sets this+0x11ec=10; Room::Update (00802980) resets it to 10 (20 in some boss rooms) while enemies/greed wave remain and otherwise counts it down; NPC AIs test it (< 9) as the room-clear countdown - uint8_t _pad_0x11f0[0x8]; + int _enterFrame; // Room::GetFrameCount 00813ce0 returns Game _frameCount - this+0x11f0 (-1 if room not initialised); Room::Update 00802980 runs first-frame logic on _frameCount - it == 1 / 4 + uint8_t _pad_0x11f4[0x4]; uint32_t _Camera; // Camera* // AIs call Camera::IsPosVisible / Camera::SetFocusPosition with *(Room+0x11f8) (NpcAI::ENTITY_ADVERSARY, ENTITY_DOGMA, ENTITY_SISTERS_VIS); FUN_00428a70 returns it Vector _renderSurfaceTopLeft; Vector _renderScrollOffset; @@ -6702,7 +7206,9 @@ struct Room { Vector _waterCurrent; // Lua Room:GetWaterCurrent 00505c50 returns this+0x7460/0x7464; Room::Init 007f2800 sets it from table 0xc5d0e8 uint8_t _railManager[0x2d8]; // RailManager; ctor 007e9400 writes this to +0x7468 (RailManager._room) and builds its ANM2; Room::Render passes ECX=room+0x7468 to RailManager::Render 009e2f20; rail byte grid at +0x746c float _lavaIntensity; // Lua Room:GetLavaIntensity 007120c0 returns this+0x7740 - uint8_t _redDoorOutlines[0x150]; // EntityPtr; ctor 007e9400 builds 8 EntityPtr (ctor 0042a020 / dtor 00579700 multiset erase); Room::UpdateRedKey 008271e0 spawns effect 1000.154 per free door slot and stores it with multiset insert, clears them without Red Key + uint8_t _redDoorOutlines[0x148]; // EntityPtr; ctor 007e9400 builds 8 EntityPtr (ctor 0042a020 / dtor 00579700 multiset erase); Room::UpdateRedKey 008271e0 spawns effect 1000.154 per free door slot and stores it with multiset insert, clears them without Red Key + float _beastBlastForce; // ? only NpcAI::ENTITY_BEAST 00592460 uses it: grows by +-0.2 (cap 7/7.5, sign from flipX) while shooting, decays 0.05/0.8/0.9/0.95, and pushes the colliding entity with -it (+0xbb8); ctor 007e9400 zeroes it + uint8_t _pad_0x7890[0x4]; bool _isPickupVisionInvalid; // Lua Room:InvalidatePickupVision 005b16c0 sets this+0x7894 = 1 (REPENTOGON lacks this) uint8_t _pad_0x7895[0x3]; }; @@ -6719,6 +7225,7 @@ static_assert(offsetof(Room, _tintedRockIdx) == 0x764); static_assert(offsetof(Room, _dungeonRockIdx) == 0x768); static_assert(offsetof(Room, _gridPaths) == 0x76c); static_assert(offsetof(Room, _roomClearDelay) == 0x11ec); +static_assert(offsetof(Room, _enterFrame) == 0x11f0); static_assert(offsetof(Room, _Camera) == 0x11f8); static_assert(offsetof(Room, _renderSurfaceTopLeft) == 0x11fc); static_assert(offsetof(Room, _renderScrollOffset) == 0x1204); @@ -6763,6 +7270,7 @@ static_assert(offsetof(Room, _waterCurrent) == 0x7460); static_assert(offsetof(Room, _railManager) == 0x7468); static_assert(offsetof(Room, _lavaIntensity) == 0x7740); static_assert(offsetof(Room, _redDoorOutlines) == 0x7744); +static_assert(offsetof(Room, _beastBlastForce) == 0x788c); static_assert(offsetof(Room, _isPickupVisionInvalid) == 0x7894); struct RoomEntry { @@ -6817,22 +7325,35 @@ static_assert(offsetof(TemporaryEffect, _count) == 0x4); static_assert(offsetof(TemporaryEffect, _cooldown) == 0x8); struct Weapon { - uint8_t _pad_0x0[0x8]; - uint8_t _technology2Laser[0x4]; // EntityPtr; Weapon::Fire 009f3540 fires a laser into +0x8 when the owner has Technology 2 (0x98) and Removes it (vslot 0x28) when not shooting; Weapon::ClearReferences 009f3320 (and Weapon_Brimstone/Bone/Knife/Laser/UrnOfSouls ClearReferences) Remove it and erase the multiset ref + uint8_t _pad_0x0[0x4]; + uint32_t _owner; // Entity* // Weapon::Init 009f34d0 stores param_3 at +4; Weapon::Update 009f34f0 steps the charge by owner+0x39c; IsAxisAligned 009f3360 / Fire 009f3540 / Weapon_*::Fire read it as the Entity_Player (or familiar, type 3 -> its player) + uint8_t _technology2Laser[0x2c]; // EntityPtr; Weapon::Fire 009f3540 fires a laser into +0x8 when the owner has Technology 2 (0x98) and Removes it (vslot 0x28) when not shooting; Weapon::ClearReferences 009f3320 (and Weapon_Brimstone/Bone/Knife/Laser/UrnOfSouls ClearReferences) Remove it and erase the multiset ref + uint32_t _modifiers; // WeaponModifier bits: Weapon_Brimstone::GetMaxCharge 00a00f30 bit 0 (Chocolate Milk) scales max charge 2.5, bit 4 (Ludovico) makes it 0; GetFocusEntity 00a02870 / GetMarkedTargetVariant 00a02800 test bit 4; fire 00a02890 bit 9; Entity_Familiar::update_weapon 0062e620 copies the player's weapon +0x34 | 0x40000000 into the familiar's weapon }; +static_assert(offsetof(Weapon, _owner) == 0x4); static_assert(offsetof(Weapon, _technology2Laser) == 0x8); +static_assert(offsetof(Weapon, _modifiers) == 0x34); struct Weapon_Brimstone { // : Weapon (flattened) - uint8_t _pad_0x0[0x8]; - uint8_t _technology2Laser[0x40]; // EntityPtr; Weapon::Fire 009f3540 fires a laser into +0x8 when the owner has Technology 2 (0x98) and Removes it (vslot 0x28) when not shooting; Weapon::ClearReferences 009f3320 (and Weapon_Brimstone/Bone/Knife/Laser/UrnOfSouls ClearReferences) Remove it and erase the multiset ref + uint8_t _pad_0x0[0x4]; + uint32_t _owner; // Entity* // Weapon::Init 009f34d0 stores param_3 at +4; Weapon::Update 009f34f0 steps the charge by owner+0x39c; IsAxisAligned 009f3360 / Fire 009f3540 / Weapon_*::Fire read it as the Entity_Player (or familiar, type 3 -> its player) + uint8_t _technology2Laser[0x2c]; // EntityPtr; Weapon::Fire 009f3540 fires a laser into +0x8 when the owner has Technology 2 (0x98) and Removes it (vslot 0x28) when not shooting; Weapon::ClearReferences 009f3320 (and Weapon_Brimstone/Bone/Knife/Laser/UrnOfSouls ClearReferences) Remove it and erase the multiset ref + uint32_t _modifiers; // WeaponModifier bits: Weapon_Brimstone::GetMaxCharge 00a00f30 bit 0 (Chocolate Milk) scales max charge 2.5, bit 4 (Ludovico) makes it 0; GetFocusEntity 00a02870 / GetMarkedTargetVariant 00a02800 test bit 4; fire 00a02890 bit 9; Entity_Familiar::update_weapon 0062e620 copies the player's weapon +0x34 | 0x40000000 into the familiar's weapon + uint8_t _pad_0x38[0x10]; uint8_t _mainLaser[0x4]; // EntityPtr; Weapon_Brimstone::GetMainEntity 009f3160 returns +0x48, GetFocusEntity 00a02870 returns it under modifier bit 4; ClearReferences 00a02790 Removes it; Fire 009ff360 stores/tests the brimstone laser there (+0x458, +0x3bc) }; +static_assert(offsetof(Weapon_Brimstone, _owner) == 0x4); static_assert(offsetof(Weapon_Brimstone, _technology2Laser) == 0x8); +static_assert(offsetof(Weapon_Brimstone, _modifiers) == 0x34); static_assert(offsetof(Weapon_Brimstone, _mainLaser) == 0x48); struct Weapon_MonstrosLung { // : Weapon (flattened) - uint8_t _pad_0x0[0x8]; - uint8_t _technology2Laser[0x4]; // EntityPtr; Weapon::Fire 009f3540 fires a laser into +0x8 when the owner has Technology 2 (0x98) and Removes it (vslot 0x28) when not shooting; Weapon::ClearReferences 009f3320 (and Weapon_Brimstone/Bone/Knife/Laser/UrnOfSouls ClearReferences) Remove it and erase the multiset ref + uint8_t _pad_0x0[0x4]; + uint32_t _owner; // Entity* // Weapon::Init 009f34d0 stores param_3 at +4; Weapon::Update 009f34f0 steps the charge by owner+0x39c; IsAxisAligned 009f3360 / Fire 009f3540 / Weapon_*::Fire read it as the Entity_Player (or familiar, type 3 -> its player) + uint8_t _technology2Laser[0x2c]; // EntityPtr; Weapon::Fire 009f3540 fires a laser into +0x8 when the owner has Technology 2 (0x98) and Removes it (vslot 0x28) when not shooting; Weapon::ClearReferences 009f3320 (and Weapon_Brimstone/Bone/Knife/Laser/UrnOfSouls ClearReferences) Remove it and erase the multiset ref + uint32_t _modifiers; // WeaponModifier bits: Weapon_Brimstone::GetMaxCharge 00a00f30 bit 0 (Chocolate Milk) scales max charge 2.5, bit 4 (Ludovico) makes it 0; GetFocusEntity 00a02870 / GetMarkedTargetVariant 00a02800 test bit 4; fire 00a02890 bit 9; Entity_Familiar::update_weapon 0062e620 copies the player's weapon +0x34 | 0x40000000 into the familiar's weapon }; +static_assert(offsetof(Weapon_MonstrosLung, _owner) == 0x4); static_assert(offsetof(Weapon_MonstrosLung, _technology2Laser) == 0x8); +static_assert(offsetof(Weapon_MonstrosLung, _modifiers) == 0x34); #pragma pack(pop)