terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ AI_025()

void Terraria.Projectile.AI_025 ( )
inlineprivate

Definition at line 5372 of file Projectile.cs.

5373 {
5374 int num = this.type;
5375 int num2 = this.type;
5376 if (num2 == 0)
5377 {
5378 }
5379 this.frame = num2;
5380 long num3 = 0L;
5381 float y = this.velocity.Y;
5382 float x = this.velocity.X;
5383 float x2 = this.position.X;
5384 float y2 = this.position.Y;
5385 int num4 = 15744;
5386 if (num4 == 0)
5387 {
5388 }
5389 long num5 = 0L;
5390 bool flag = WorldGen.SolidTile(0, (int)num3, num5 != 0L);
5391 if (num4 == 0)
5392 {
5393 }
5394 long num6 = 0L;
5395 bool flag2 = WorldGen.SolidTile(0, (int)num3, num6 != 0L);
5396 int num7 = 1;
5397 int width = this.width;
5398 float x3 = this.position.X;
5399 int num8 = 15744;
5400 if (num8 == 0)
5401 {
5402 }
5403 long num9 = 0L;
5404 bool flag3 = WorldGen.SolidTile(0, (int)num3, num9 != 0L);
5405 if (num8 == 0)
5406 {
5407 }
5408 long num10 = 0L;
5409 bool flag4 = WorldGen.SolidTile(0, (int)num3, num10 != 0L);
5410 int num11;
5411 if (num7 != 0)
5412 {
5413 num11 = 16128;
5414 return;
5415 }
5416 if (num11 != 0)
5417 {
5418 int num12 = 48896;
5420 float x4 = this.velocity.X;
5421 float num13 = this.rotation;
5422 this.rotation = x4;
5423 float y3 = this.velocity.Y;
5424 int num14 = 16768;
5425 this.velocity.Y = (float)num14;
5426 int num15 = this.type;
5427 float x5 = this.velocity.X;
5428 return;
5429 }
5430 float x6 = this.position.X;
5431 float y4 = this.position.Y;
5432 int num16 = 15744;
5433 if (num16 == 0)
5434 {
5435 }
5436 long num17 = 0L;
5437 long num18;
5438 bool flag5 = WorldGen.SolidTile(0, (int)num18, num17 != 0L);
5439 if (num16 == 0)
5440 {
5441 }
5442 long num19 = 0L;
5443 bool flag6 = WorldGen.SolidTile(0, (int)num18, num19 != 0L);
5444 int num20 = 1;
5445 int width2 = this.width;
5446 float x7 = this.position.X;
5447 int num21 = 15744;
5448 if (num21 == 0)
5449 {
5450 }
5451 long num22 = 0L;
5452 bool flag7 = WorldGen.SolidTile(0, (int)num18, num22 != 0L);
5453 if (num21 == 0)
5454 {
5455 }
5456 long num23 = 0L;
5457 bool flag8 = WorldGen.SolidTile(0, (int)num18, num23 != 0L);
5458 int num24 = 1;
5459 while (num20 != 0)
5460 {
5461 }
5462 while (num24 != 0)
5463 {
5464 }
5465 float x8 = this.position.X;
5466 float y5 = this.position.Y;
5467 int num25 = 49664;
5468 if (num25 == 0)
5469 {
5470 }
5471 long num26 = 0L;
5472 bool flag9 = WorldGen.SolidTile(0, (int)num18, num26 != 0L);
5473 if (num25 == 0)
5474 {
5475 }
5476 long num27 = 0L;
5477 bool flag10 = WorldGen.SolidTile(0, (int)num18, num27 != 0L);
5478 int width3 = this.width;
5479 float x9 = this.position.X;
5480 int num28 = 16896;
5481 if (num28 == 0)
5482 {
5483 }
5484 long num29 = 0L;
5485 bool flag11 = WorldGen.SolidTile(0, (int)num18, num29 != 0L);
5486 if (num28 == 0)
5487 {
5488 }
5489 long num30 = 0L;
5490 bool flag12 = WorldGen.SolidTile(0, (int)num18, num30 != 0L);
5491 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460

References j__TPar, System.L, Terraria.Entity.position, Terraria.Projectile.rotation, Terraria.WorldGen.SolidTile(), Terraria.Projectile.type, Terraria.Entity.velocity, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.