Advertisement
MrCheeze

Indirect writes (0/4 aligned pointer) (probably incomplete)

Oct 25th, 2020
458
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. Searching 6287 files for "arg0->unk[0-9A-F]*[04][^0-9A-F][^&\|,\n]*->.*[^=><!]=[^=]" (regex)
  2.  
  3. \\wsl$\Ubuntu\home\matt\git\oot\asm\non_matchings\overlays\actors\ovl_Bg_Bowl_Wall\func_8086F718.s.c:
  4. 13 arg0->unk28 = (f32) (arg0->unk16C - 450.0f);
  5. 14 arg0->unk30 = (s16) arg0->unkB4;
  6. 15: (arg0->unk184 + (arg0->unk1C * 2))->unk23E = (u16)2;
  7. 16 arg0->unk164 = &func_8086F7F8;
  8. 17 }
  9.  
  10. \\wsl$\Ubuntu\home\matt\git\oot\asm\non_matchings\overlays\actors\ovl_Boss_Sst\func_80933C80.s.c:
  11. 9 phi_v1 = 0xC0;
  12. 10 loop_1:
  13. 11: (arg0->unk3F0 + phi_v1)->unk5 = arg1;
  14. 12: (arg0->unk3F0 + phi_v1)->unk45 = arg1;
  15. 13: (arg0->unk3F0 + phi_v1)->unk85 = arg1;
  16. 14 temp_v1 = phi_v1 + 0x100;
  17. 15: (arg0->unk3F0 + phi_v1)->unkC5 = arg1;
  18. 16 phi_v1 = temp_v1;
  19. 17 if (temp_v1 != 0x2C0) {
  20.  
  21. \\wsl$\Ubuntu\home\matt\git\oot\asm\non_matchings\overlays\actors\ovl_En_Dekubaba\EnDekubaba_Init.s.c:
  22. 28 temp_a0 = phi_a0 + 1;
  23. 29 temp_v1 = (s16) (s32) ((f32) phi_a1->unk20 * 2.5f);
  24. 30: (arg0->unk254 + phi_v0)->unk2E = temp_v1;
  25. 31: (arg0->unk254 + phi_v0)->unk36 = temp_v1;
  26. 32 phi_a1 = phi_a1 + 0x24;
  27. 33 phi_v0 = phi_v0 + 0x40;
  28.  
  29. \\wsl$\Ubuntu\home\matt\git\oot\asm\non_matchings\overlays\actors\ovl_En_G_Switch\func_80A22764.s.c:
  30. 30 temp_v0_3 = arg0->unk118;
  31. 31 if (temp_v0_3->unk130 != 0) {
  32. 32: (temp_v0_3 + (arg0->unk160 * 2))->unk166 = (u16)1;
  33. 33 }
  34. 34 Actor_Kill(5.0f, arg0, 0x3E99999A);
  35. ..
  36. 50 temp_v0_4 = arg0->unk118;
  37. 51 if (temp_v0_4->unk130 != 0) {
  38. 52: (temp_v0_4 + (arg0->unk160 * 2))->unk166 = (u16)1;
  39. 53 }
  40. 54 Actor_Kill(arg0);
  41. ..
  42. 60 temp_v0_5 = arg0->unk118;
  43. 61 if (temp_v0_5->unk130 != 0) {
  44. 62: (temp_v0_5 + (arg0->unk160 * 2))->unk166 = (u16)1;
  45. 63 }
  46. 64 Actor_Kill(arg0);
  47. ..
  48. 72 arg0->unk6C = 0.0f;
  49. 73 if (temp_v0_6->unk130 != 0) {
  50. 74: (temp_v0_6 + (arg0->unk160 * 2))->unk166 = (u16)1;
  51. 75 }
  52. 76 Actor_Kill(arg0);
  53. ..
  54. 83 if (temp_v0_7->unk130 != 0) {
  55. 84 temp_v0_7->unk156 = (s16) (temp_v0_7->unk156 + 1);
  56. 85: (temp_v0_7 + (arg0->unk160 * 2))->unk166 = (u16)2;
  57. 86 sp24 = temp_v0_7;
  58. 87 func_80078884(0x28D3);
  59.  
  60. \\wsl$\Ubuntu\home\matt\git\oot\asm\non_matchings\overlays\actors\ovl_En_Horse_Zelda\func_80A6DFD4.s.c:
  61. 20 func_800A6408(arg2, (arg0->unk264 + phi_s0)->unk3C, temp_a2, &sp40);
  62. 21 temp_s2 = phi_s2 + 1;
  63. 22: (arg0->unk264 + phi_s0)->unk30 = (s16) (s32) sp40;
  64. 23: (arg0->unk264 + phi_s0)->unk32 = (s16) (s32) sp44;
  65. 24: (arg0->unk264 + phi_s0)->unk34 = (s16) (s32) sp48;
  66. 25 temp_v0 = arg0->unk264 + phi_s0;
  67. 26 temp_v0->unk36 = (s16) (s32) (temp_v0->unk38 * (f32) temp_v0->unk2E);
  68.  
  69. 15 matches across 5 files
  70.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement