This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* WARNING: Unknown calling convention yet parameter storage is locked */ | |
/* OverworldGenerator::postProcess(ChunkViewSource&) */ | |
ulong postProcess(ChunkViewSource *param_1) | |
{ | |
uint uVar1; | |
uint uVar2; | |
code *pcVar3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* public: float __cdecl Biome::getTemperatureWorldGen(class BlockPos const & __ptr64)const __ptr64 | |
*/ | |
float __thiscall getTemperatureWorldGen(Biome *this,BlockPos *param_1) | |
{ | |
int *piVar1; | |
uint uVar2; | |
int iVar3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* WARNING: Could not reconcile some variable overlaps */ | |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ | |
/* public: virtual bool __cdecl CactusFeature::place(class BlockSource & __ptr64,class BlockPos | |
const & __ptr64,class Random & __ptr64)const __ptr64 */ | |
bool __thiscall place(CactusFeature *this,BlockSource *param_1,BlockPos *param_2,Random *param_3) | |
{ | |
longlong *plVar1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool place(BlockSource *blockSource, BlockPos *blockPos, Random *random) { | |
for (int attempt = 0; attempt < 10; attempt++) { | |
int xOff = random->nextGaussianInt(8); // = (_genRandInt32() & 7) - (_genRandInt32() & 7) | |
int yOff = random->nextGaussianInt(4); // = (_genRandInt32() & 3) - (_genRandInt32() & 3) | |
int zOff = random->nextGaussianInt(8); // = (_genRandInt32() & 7) - (_genRandInt32() & 7) | |
BlockPos newBlockPos = blockPos.offset(xOff, yOff, zOff); | |
if (blockSource.isEmptyBlock(newBlockPos.x, newBlockPos.y, newBlockPos.z)) { | |
int height = random->nextInt(random->nextInt(3)) + 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void StructureFeature::addFeature(Dimension &dimension, Random &random, ChunkPos &chunkPos, BiomeSource &biomeSource) { | |
code *pcVar1; | |
bool uVar5; | |
undefined8 extraout_RDX; | |
unique_ptr<StructureStart> structureStart; | |
nextInt(); | |
std::shared_lock lock1; | |
// lock1 dies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void StructureFeature::createBlueprints(Dimension &dimension, ChunkPos &chunkPos, BiomeSource &biomeSource) | |
{ | |
std::vector<ChunkPos> chunkPositions; | |
std::lock_guard<SpinLock> lock1(this->spinLock); | |
uint chunkX = chunkPos->x - this->bounding_size; | |
while ((int)chunkX <= chunkPos->x + this->bounding_size)) { | |
uint chunkY = chunkPos->y - this->bounding_size; | |
while ((int)chunkY <= chunkPos->y + this->bounding_size) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* public: __cdecl StrongholdStart::StrongholdStart(class Dimension & __ptr64,class Random & | |
__ptr64,int,int) __ptr64 */ | |
void __thiscall | |
StrongholdStart(StrongholdStart *this,Dimension *param_1,Random *param_2,int param_3,int param_4) | |
{ | |
longlong **pplVar1; | |
longlong lVar2; |
NewerOlder