Advertisement
Guest User

Untitled

a guest
Sep 9th, 2023
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.11 KB | None | 0 0
  1. int main(void)
  2.  
  3. {
  4. char cVar1;
  5. bool bVar2;
  6. undefined4 uVar3;
  7. int iVar4;
  8. _Ios_Openmode _Var5;
  9. string *psVar6;
  10. int *piVar7;
  11. SjLj_Function_Context SStack_544;
  12. undefined *puStack_524;
  13. undefined *puStack_520;
  14. undefined *puStack_51c;
  15. undefined auStack_508 [232];
  16. undefined auStack_420 [248];
  17. string asStack_328 [125];
  18. undefined auStack_134 [252];
  19. undefined auStack_38 [4];
  20. undefined auStack_34 [6];
  21. undefined uStack_2e;
  22. undefined uStack_2d;
  23. int iStack_2c;
  24. int iStack_28;
  25. int iStack_24;
  26. undefined auStack_20 [8];
  27. undefined *puStack_18;
  28.  
  29. puStack_18 = &stack0x00000004;
  30. puStack_51c = &stack0xfffffa40;
  31. SStack_544.personality = (_Unwind_Personality_Fn)&___gxx_personality_sj0;
  32. SStack_544.lsda = &DAT_00554b41;
  33. puStack_524 = auStack_20;
  34. puStack_520 = &DAT_00404d1e;
  35. _Unwind_SjLj_Register(&SStack_544);
  36. ___main();
  37. SStack_544.call_site = 1;
  38. __ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode();
  39. SStack_544.call_site = 2;
  40. cVar1 = __ZNKSt9basic_iosIcSt11char_traitsIcEEntEv();
  41. if (cVar1 != '\0') {
  42. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc();
  43. __ZNSolsEPFRSoS_E();
  44. _system();
  45. }
  46. SStack_544.call_site = 2;
  47. __ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RSbIS4_S5_T1_E();
  48. bVar2 = std::operator==<>(&line,"The Wastes are no more and the world now rests");
  49. if (bVar2) {
  50. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc();
  51. __ZNSolsEPFRSoS_E();
  52. _system();
  53. /* WARNING: Subroutine does not return */
  54. _exit();
  55. }
  56. SStack_544.call_site = 2;
  57. __ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv();
  58. Names::Names((Names *)auStack_508);
  59. SStack_544.call_site = 3;
  60. _PlaySoundA@12();
  61. uVar3 = _time(0);
  62. _srand(uVar3);
  63. Vial1 = 5;
  64. Vial2 = 5;
  65. Vial3 = 5;
  66. Vial4 = 5;
  67. Vial5 = 5;
  68. iVar4 = _rand();
  69. Vial1 = iVar4 % Vial1;
  70. iVar4 = _rand();
  71. Vial2 = iVar4 % Vial2;
  72. iVar4 = _rand();
  73. Vial3 = iVar4 % Vial3;
  74. iVar4 = _rand();
  75. Vial4 = iVar4 % Vial4;
  76. iVar4 = _rand();
  77. Vial1 = Vial1 + 1;
  78. Vial2 = Vial2 + 1;
  79. Vial3 = Vial3 + 1;
  80. Vial4 = Vial4 + 1;
  81. Vial5 = iVar4 % Vial5 + 1;
  82. _remove(&DAT_00560f10);
  83. __ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(&DAT_00560f10,1);
  84. SStack_544.call_site = 4;
  85. uVar3 = __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  86. uVar3 = __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(uVar3,&DAT_00560f2b);
  87. __ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E
  88. (uVar3,auStack_508 + 8);
  89. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  90. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  91. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00560f40);
  92. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  93. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00560f80);
  94. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  95. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00560fc0);
  96. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  97. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  98. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00560fec);
  99. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  100. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  101. iStack_24 = 5;
  102. while (iStack_24 != 0) {
  103. iStack_24 = iStack_24 + -1;
  104. switch(iStack_24) {
  105. case 0:
  106. SStack_544.call_site = 4;
  107. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_0056102e);
  108. iStack_28 = Vial5;
  109. break;
  110. case 1:
  111. SStack_544.call_site = 4;
  112. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_0056103b);
  113. iStack_28 = Vial4;
  114. break;
  115. case 2:
  116. SStack_544.call_site = 4;
  117. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561049);
  118. iStack_28 = Vial3;
  119. break;
  120. case 3:
  121. SStack_544.call_site = 4;
  122. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561054);
  123. iStack_28 = Vial2;
  124. break;
  125. case 4:
  126. SStack_544.call_site = 4;
  127. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561062);
  128. iStack_28 = Vial1;
  129. }
  130. if (iStack_28 == 1) {
  131. Randomiser = 5;
  132. iVar4 = _rand();
  133. Randomiser = iVar4 % Randomiser;
  134. switch(Randomiser) {
  135. case 0:
  136. SStack_544.call_site = 4;
  137. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561070);
  138. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  139. break;
  140. case 1:
  141. SStack_544.call_site = 4;
  142. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561098);
  143. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  144. break;
  145. case 2:
  146. SStack_544.call_site = 4;
  147. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_005610c4);
  148. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  149. break;
  150. case 3:
  151. SStack_544.call_site = 4;
  152. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_005610f4);
  153. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  154. break;
  155. case 4:
  156. SStack_544.call_site = 4;
  157. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561120);
  158. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  159. }
  160. }
  161. else if (iStack_28 == 2) {
  162. Randomiser = 5;
  163. iVar4 = _rand();
  164. Randomiser = iVar4 % Randomiser;
  165. switch(Randomiser) {
  166. case 0:
  167. SStack_544.call_site = 4;
  168. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561134);
  169. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  170. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_0056116e);
  171. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  172. break;
  173. case 1:
  174. SStack_544.call_site = 4;
  175. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561184);
  176. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  177. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_005611c0);
  178. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  179. break;
  180. case 2:
  181. SStack_544.call_site = 4;
  182. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561200);
  183. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  184. break;
  185. case 3:
  186. SStack_544.call_site = 4;
  187. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561224);
  188. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  189. break;
  190. case 4:
  191. SStack_544.call_site = 4;
  192. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_0056124c);
  193. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  194. }
  195. }
  196. else if (iStack_28 == 3) {
  197. Randomiser = 5;
  198. iVar4 = _rand();
  199. Randomiser = iVar4 % Randomiser;
  200. switch(Randomiser) {
  201. case 0:
  202. SStack_544.call_site = 4;
  203. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561278);
  204. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  205. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_005612b4);
  206. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  207. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_005612f1);
  208. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  209. break;
  210. case 1:
  211. SStack_544.call_site = 4;
  212. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_005612fc);
  213. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  214. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_0056133b);
  215. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  216. break;
  217. case 2:
  218. SStack_544.call_site = 4;
  219. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561348);
  220. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  221. break;
  222. case 3:
  223. SStack_544.call_site = 4;
  224. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561368);
  225. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  226. break;
  227. case 4:
  228. SStack_544.call_site = 4;
  229. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561398);
  230. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  231. }
  232. }
  233. else if (iStack_28 == 4) {
  234. Randomiser = 5;
  235. iVar4 = _rand();
  236. Randomiser = iVar4 % Randomiser;
  237. switch(Randomiser) {
  238. case 0:
  239. SStack_544.call_site = 4;
  240. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_005613cc);
  241. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  242. break;
  243. case 1:
  244. SStack_544.call_site = 4;
  245. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561401);
  246. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  247. break;
  248. case 2:
  249. SStack_544.call_site = 4;
  250. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561414);
  251. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  252. break;
  253. case 3:
  254. SStack_544.call_site = 4;
  255. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561440);
  256. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  257. break;
  258. case 4:
  259. SStack_544.call_site = 4;
  260. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561462);
  261. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  262. }
  263. }
  264. else if (iStack_28 == 5) {
  265. Randomiser = 5;
  266. iVar4 = _rand();
  267. Randomiser = iVar4 % Randomiser;
  268. switch(Randomiser) {
  269. case 0:
  270. SStack_544.call_site = 4;
  271. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561480);
  272. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  273. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_005614c4);
  274. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  275. break;
  276. case 1:
  277. SStack_544.call_site = 4;
  278. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561504);
  279. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  280. break;
  281. case 2:
  282. SStack_544.call_site = 4;
  283. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561544);
  284. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  285. break;
  286. case 3:
  287. SStack_544.call_site = 4;
  288. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561570);
  289. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  290. break;
  291. case 4:
  292. SStack_544.call_site = 4;
  293. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_00561597);
  294. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  295. }
  296. }
  297. SStack_544.call_site = 4;
  298. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  299. }
  300. SStack_544.call_site = 4;
  301. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_005615b0);
  302. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  303. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(auStack_420,&DAT_005615e7);
  304. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  305. __ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv();
  306. iStack_2c = 1;
  307. SStack_544.call_site = 5;
  308. __ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(&DAT_005615f8,8);
  309. y = 0;
  310. while( true ) {
  311. SStack_544.call_site = 6;
  312. cVar1 = __ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv();
  313. if (cVar1 == '\x01') break;
  314. SStack_544.call_site = 6;
  315. __ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RSbIS4_S5_T1_E
  316. (auStack_134,&line);
  317. iStack_2c = iStack_2c + 1;
  318. y = y + 1;
  319. }
  320. __ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv();
  321. __ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(&DAT_005615f8,8);
  322. _remove(&DAT_00561617);
  323. psVar6 = (string *)&DAT_00561617;
  324. __ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(&DAT_00561617,1);
  325. y = 0;
  326. while( true ) {
  327. SStack_544.call_site = 7;
  328. cVar1 = __ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv();
  329. if (cVar1 == '\x01') break;
  330. SStack_544.call_site = 7;
  331. __ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RSbIS4_S5_T1_E
  332. (auStack_134,&line);
  333. psVar6 = asStack_328;
  334. __ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E(psVar6,&line);
  335. if (iStack_2c != y) {
  336. psVar6 = (string *)&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_;
  337. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  338. }
  339. y = y + 1;
  340. }
  341. __ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv();
  342. __ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv();
  343. CharacterCreation();
  344. Loop1 = 1;
  345. LAB_00404b03:
  346. do {
  347. while( true ) {
  348. while( true ) {
  349. if (Loop1 != 1) {
  350. SStack_544.call_site = 6;
  351. __ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev();
  352. SStack_544.call_site = 5;
  353. __ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev();
  354. SStack_544.call_site = 3;
  355. __ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev();
  356. Names::~Names((Names *)auStack_508,(int)psVar6);
  357. SStack_544.call_site = 1;
  358. __ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev();
  359. _Unwind_SjLj_Unregister(&SStack_544);
  360. return 0;
  361. }
  362. do {
  363. _system(&DAT_00561625);
  364. SStack_544.call_site = 8;
  365. Title();
  366. Greetings();
  367. uVar3 = __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  368. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(uVar3,&DAT_0056162c);
  369. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  370. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561664);
  371. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  372. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  373. if (AsciiGone == 0) {
  374. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_005616a8);
  375. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  376. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  377. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_005616d4);
  378. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  379. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  380. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561714);
  381. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  382. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  383. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_0056173c);
  384. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  385. }
  386. else {
  387. SStack_544.call_site = 8;
  388. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_0056175c);
  389. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  390. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  391. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_0056177c);
  392. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  393. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  394. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_005617b0);
  395. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  396. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  397. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_005617cf);
  398. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  399. }
  400. SStack_544.call_site = 8;
  401. uVar3 = __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  402. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(uVar3,&DAT_00561664);
  403. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  404. __ZNSaIcEC1Ev();
  405. SStack_544.call_site = 9;
  406. __ZNSsC1EPKcRKSaIcE(&DAT_00559031,&uStack_2e);
  407. __ZNSaIcED1Ev();
  408. SStack_544.call_site = 10;
  409. __ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RSbIS4_S5_T1_E
  410. (&__ZSt3cin,auStack_34);
  411. _Var5 = std::operator|(_S_out,_S_in);
  412. __ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKSsSt13_Ios_Openmode
  413. (auStack_34,_Var5);
  414. piVar7 = &Randomiser;
  415. SStack_544.call_site = 0xb;
  416. __ZNSirsERi(&Randomiser);
  417. iVar4 = __ZNKSt9basic_iosIcSt11char_traitsIcEEcvPvEv();
  418. SStack_544.call_site = 10;
  419. __ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev();
  420. __ZNSsD1Ev();
  421. } while (iVar4 == 0);
  422. if (Randomiser != 0x42) break;
  423. SStack_544.call_site = 7;
  424. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_0056214f);
  425. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  426. psVar6 = (string *)&DAT_0055ae57;
  427. _system();
  428. player_Hp_Max = 10;
  429. player_Hp = 10;
  430. player_Str = 1;
  431. player_Agi = 1;
  432. player_Int = 1;
  433. }
  434. psVar6 = (string *)piVar7;
  435. if (0x42 < Randomiser) break;
  436. if (Randomiser == 0xd) {
  437. SStack_544.call_site = 7;
  438. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00562047);
  439. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  440. psVar6 = (string *)&DAT_0055ae57;
  441. _system();
  442. player_Hp_Max = 0x32;
  443. player_Hp = 0x32;
  444. player_Str = 1;
  445. player_Agi = 1;
  446. player_Int = 1;
  447. }
  448. else if (Randomiser < 0xe) {
  449. if (Randomiser == 2) {
  450. psVar6 = (string *)&DAT_005617eb;
  451. SStack_544.call_site = 7;
  452. _PlaySoundA@12(&DAT_005617eb,0,0);
  453. _PlaySoundA@12(&DAT_00560f01,0,9);
  454. }
  455. else if (Randomiser < 3) {
  456. if (Randomiser == 1) {
  457. SStack_544.call_site = 7;
  458. _PlaySoundA@12(&DAT_005617eb,0,0);
  459. _PlaySoundA@12(&DAT_00560f01,0,9);
  460. _system(&DAT_00561625);
  461. Title();
  462. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561805);
  463. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  464. __ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RSbIS4_S5_T1_E
  465. (&__ZSt3cin,&PlayerName);
  466. psVar6 = &PlayerName;
  467. bVar2 = std::operator!=<>(&PlayerName,"");
  468. if (bVar2) {
  469. while (0 < player_Hp) {
  470. psVar6 = (string *)&DAT_00561625;
  471. _system();
  472. SStack_544.call_site = 7;
  473. Menu();
  474. Explore();
  475. Region = 0;
  476. }
  477. SStack_544.call_site = 7;
  478. GameOver();
  479. }
  480. }
  481. }
  482. else {
  483. if (Randomiser == 3) {
  484. do {
  485. SStack_544.call_site = 0xc;
  486. _PlaySoundA@12(&DAT_005617eb,0,0);
  487. _PlaySoundA@12(&DAT_00560f01,0,9);
  488. _system(&DAT_00561625);
  489. Title();
  490. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  491. uVar3 = __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
  492. );
  493. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(uVar3,&DAT_00561824);
  494. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  495. if (AsciiGone == 0) {
  496. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561664);
  497. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  498. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  499. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561854);
  500. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  501. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  502. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561890);
  503. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  504. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  505. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_005618cc);
  506. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  507. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  508. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561904);
  509. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  510. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  511. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_0056193c);
  512. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  513. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  514. if (SoundGone == 0) {
  515. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  516. (&__ZSt4cout,&DAT_00561970);
  517. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  518. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  519. }
  520. else {
  521. SStack_544.call_site = 0xc;
  522. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  523. (&__ZSt4cout,&DAT_005619a8);
  524. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  525. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  526. }
  527. SStack_544.call_site = 0xc;
  528. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_005619dc);
  529. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  530. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  531. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561a14);
  532. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  533. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  534. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561a44);
  535. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  536. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  537. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  538. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561a74);
  539. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  540. uVar3 = __ZNSolsEPFRSoS_E(&
  541. __ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6 _
  542. );
  543. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(uVar3,&DAT_00561664);
  544. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  545. }
  546. else {
  547. SStack_544.call_site = 0xc;
  548. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561a94);
  549. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  550. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  551. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561ac0);
  552. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  553. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  554. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561ae8);
  555. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  556. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  557. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561b10);
  558. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  559. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  560. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561b38);
  561. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  562. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  563. if (SoundGone == 0) {
  564. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  565. (&__ZSt4cout,&DAT_00561b5c);
  566. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  567. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  568. }
  569. else {
  570. SStack_544.call_site = 0xc;
  571. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  572. (&__ZSt4cout,&DAT_00561b84);
  573. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  574. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  575. }
  576. SStack_544.call_site = 0xc;
  577. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561bac);
  578. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  579. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  580. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561bd4);
  581. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  582. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  583. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561bf8);
  584. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  585. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  586. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  587. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c1b);
  588. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  589. }
  590. __ZNSaIcEC1Ev();
  591. SStack_544.call_site = 0xd;
  592. __ZNSsC1EPKcRKSaIcE(&DAT_00559031,&uStack_2d);
  593. __ZNSaIcED1Ev();
  594. SStack_544.call_site = 0xe;
  595. __ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RSbIS4_S5_T1_E
  596. (&__ZSt3cin,auStack_38);
  597. _Var5 = std::operator|(_S_out,_S_in);
  598. __ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKSsSt13_Ios_Openmode
  599. (auStack_38,_Var5);
  600. piVar7 = &Randomiser;
  601. SStack_544.call_site = 0xf;
  602. __ZNSirsERi(&Randomiser);
  603. iVar4 = __ZNKSt9basic_iosIcSt11char_traitsIcEEcvPvEv();
  604. SStack_544.call_site = 0xe;
  605. __ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev();
  606. __ZNSsD1Ev();
  607. } while (iVar4 == 0);
  608. switch(Randomiser) {
  609. case 1:
  610. piVar7 = (int *)&DAT_005617eb;
  611. SStack_544.call_site = 7;
  612. _PlaySoundA@12(&DAT_005617eb,0,0);
  613. _PlaySoundA@12(&DAT_00560f01,0,9);
  614. LAB_0040324e:
  615. if (Loop1 == 1) {
  616. _system(&DAT_00561625);
  617. SStack_544.call_site = 7;
  618. Title();
  619. MonsterGenerator();
  620. Loop1 = 1;
  621. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561664);
  622. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  623. uVar3 = __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  624. (&__ZSt4cout,&DAT_00561c37);
  625. __ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E
  626. (uVar3,&Op_Name);
  627. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  628. iVar4 = Op_Str;
  629. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c45);
  630. __ZNSolsEi(iVar4);
  631. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  632. iVar4 = Op_Agi;
  633. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c53);
  634. __ZNSolsEi(iVar4);
  635. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  636. iVar4 = Op_Hp;
  637. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c61);
  638. __ZNSolsEi(iVar4);
  639. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  640. iVar4 = Op_xp;
  641. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c6f);
  642. __ZNSolsEi(iVar4);
  643. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  644. iVar4 = Op_Lv;
  645. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c7d);
  646. __ZNSolsEi(iVar4);
  647. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  648. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  649. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561664);
  650. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  651. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c8b);
  652. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  653. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c9f);
  654. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  655. do {
  656. piVar7 = (int *)&__ZSt4cout;
  657. SStack_544.call_site = 7;
  658. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  659. (&__ZSt4cout,&DAT_00559031);
  660. iVar4 = __ZNKSt9basic_iosIcSt11char_traitsIcEEcvPvEv();
  661. if (iVar4 == 0) {
  662. LAB_00403231:
  663. bVar2 = false;
  664. }
  665. else {
  666. piVar7 = &choice;
  667. __ZNSirsERi(&choice);
  668. cVar1 = __ZNKSt9basic_iosIcSt11char_traitsIcEEntEv();
  669. if (((cVar1 == '\0') && (-1 < choice)) && (choice < 2)) goto LAB_00403231;
  670. bVar2 = true;
  671. }
  672. if (!bVar2) goto code_r0x0040323b;
  673. SStack_544.call_site = 7;
  674. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  675. (&__ZSt4cout,&DAT_00561ca8);
  676. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  677. __ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(0);
  678. iVar4 = std::numeric_limits<int>::max();
  679. __ZNSi6ignoreEii(iVar4,10);
  680. } while( true );
  681. }
  682. break;
  683. case 2:
  684. piVar7 = (int *)&DAT_005617eb;
  685. SStack_544.call_site = 7;
  686. _PlaySoundA@12(&DAT_005617eb,0,0);
  687. _PlaySoundA@12(&DAT_00560f01,0,9);
  688. LAB_00403570:
  689. if (Loop1 == 1) {
  690. _system(&DAT_00561625);
  691. SStack_544.call_site = 7;
  692. Title();
  693. WeaponGenerator();
  694. Loop1 = 1;
  695. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561664);
  696. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  697. uVar3 = __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  698. (&__ZSt4cout,&DAT_00561c37);
  699. __ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E
  700. (uVar3,&WeaponName);
  701. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  702. iVar4 = WeaponDamage;
  703. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561cce);
  704. __ZNSolsEi(iVar4);
  705. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  706. iVar4 = WeaponDura;
  707. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561cdc);
  708. __ZNSolsEi(iVar4);
  709. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  710. iVar4 = WeaponValue;
  711. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561cea);
  712. __ZNSolsEi(iVar4);
  713. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  714. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  715. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561664);
  716. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  717. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c8b);
  718. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  719. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c9f);
  720. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  721. do {
  722. piVar7 = (int *)&__ZSt4cout;
  723. SStack_544.call_site = 7;
  724. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  725. (&__ZSt4cout,&DAT_00559031);
  726. iVar4 = __ZNKSt9basic_iosIcSt11char_traitsIcEEcvPvEv();
  727. if (iVar4 == 0) {
  728. LAB_00403553:
  729. bVar2 = false;
  730. }
  731. else {
  732. piVar7 = &choice;
  733. __ZNSirsERi(&choice);
  734. cVar1 = __ZNKSt9basic_iosIcSt11char_traitsIcEEntEv();
  735. if (((cVar1 == '\0') && (-1 < choice)) && (choice < 2)) goto LAB_00403553;
  736. bVar2 = true;
  737. }
  738. if (!bVar2) goto code_r0x0040355d;
  739. SStack_544.call_site = 7;
  740. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  741. (&__ZSt4cout,&DAT_00561ca8);
  742. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  743. __ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(0);
  744. iVar4 = std::numeric_limits<int>::max();
  745. __ZNSi6ignoreEii(iVar4,10);
  746. } while( true );
  747. }
  748. break;
  749. case 3:
  750. piVar7 = (int *)&DAT_005617eb;
  751. SStack_544.call_site = 7;
  752. _PlaySoundA@12(&DAT_005617eb,0,0);
  753. _PlaySoundA@12(&DAT_00560f01,0,9);
  754. LAB_00403892:
  755. if (Loop1 == 1) {
  756. _system(&DAT_00561625);
  757. SStack_544.call_site = 7;
  758. Title();
  759. FoodGenerator();
  760. Loop1 = 1;
  761. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561664);
  762. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  763. uVar3 = __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  764. (&__ZSt4cout,&DAT_00561c37);
  765. __ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E
  766. (uVar3,&FoodName);
  767. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  768. iVar4 = FoodHp;
  769. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c61);
  770. __ZNSolsEi(iVar4);
  771. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  772. iVar4 = FoodRad;
  773. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561cf8);
  774. __ZNSolsEi(iVar4);
  775. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  776. iVar4 = FoodVal;
  777. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561cea);
  778. __ZNSolsEi(iVar4);
  779. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  780. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  781. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561664);
  782. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  783. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c8b);
  784. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  785. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c9f);
  786. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  787. do {
  788. piVar7 = (int *)&__ZSt4cout;
  789. SStack_544.call_site = 7;
  790. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  791. (&__ZSt4cout,&DAT_00559031);
  792. iVar4 = __ZNKSt9basic_iosIcSt11char_traitsIcEEcvPvEv();
  793. if (iVar4 == 0) {
  794. LAB_00403875:
  795. bVar2 = false;
  796. }
  797. else {
  798. piVar7 = &choice;
  799. __ZNSirsERi(&choice);
  800. cVar1 = __ZNKSt9basic_iosIcSt11char_traitsIcEEntEv();
  801. if (((cVar1 == '\0') && (-1 < choice)) && (choice < 2)) goto LAB_00403875;
  802. bVar2 = true;
  803. }
  804. if (!bVar2) goto code_r0x0040387f;
  805. SStack_544.call_site = 7;
  806. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  807. (&__ZSt4cout,&DAT_00561ca8);
  808. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  809. __ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(0);
  810. iVar4 = std::numeric_limits<int>::max();
  811. __ZNSi6ignoreEii(iVar4,10);
  812. } while( true );
  813. }
  814. break;
  815. case 4:
  816. SStack_544.call_site = 7;
  817. _PlaySoundA@12(&DAT_005617eb,0,0);
  818. _PlaySoundA@12(&DAT_00560f01,0,9);
  819. _system(&DAT_00561625);
  820. Title();
  821. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561d06);
  822. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  823. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561d0d);
  824. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  825. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561d17);
  826. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  827. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561d1f);
  828. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  829. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561d29);
  830. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  831. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561d30);
  832. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  833. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  834. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c9f);
  835. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  836. do {
  837. piVar7 = (int *)&__ZSt4cout;
  838. SStack_544.call_site = 7;
  839. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00559031);
  840. iVar4 = __ZNKSt9basic_iosIcSt11char_traitsIcEEcvPvEv();
  841. if (iVar4 == 0) {
  842. LAB_00403aea:
  843. bVar2 = false;
  844. }
  845. else {
  846. piVar7 = &Randomiser;
  847. __ZNSirsERi(&Randomiser);
  848. cVar1 = __ZNKSt9basic_iosIcSt11char_traitsIcEEntEv();
  849. if (((cVar1 == '\0') && (-1 < Randomiser)) && (Randomiser < 7)) goto LAB_00403aea;
  850. bVar2 = true;
  851. }
  852. if (!bVar2) goto code_r0x00403b02;
  853. SStack_544.call_site = 7;
  854. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561d38);
  855. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  856. __ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(0);
  857. iVar4 = std::numeric_limits<int>::max();
  858. __ZNSi6ignoreEii(iVar4,10);
  859. } while( true );
  860. case 5:
  861. if (AsciiGone == 0) {
  862. AsciiGone = 1;
  863. }
  864. else {
  865. AsciiGone = AsciiGone + -1;
  866. }
  867. break;
  868. case 6:
  869. if (SoundGone == 0) {
  870. SoundGone = 1;
  871. }
  872. else {
  873. SoundGone = SoundGone + -1;
  874. }
  875. break;
  876. case 7:
  877. piVar7 = (int *)&DAT_005617eb;
  878. SStack_544.call_site = 7;
  879. _PlaySoundA@12(&DAT_005617eb,0,0);
  880. _system(&DAT_00561625);
  881. Title();
  882. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561d60);
  883. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  884. PlayGuitar();
  885. _PlaySoundA@12(&DAT_00560f01,0,9);
  886. break;
  887. case 8:
  888. piVar7 = (int *)&DAT_005617eb;
  889. SStack_544.call_site = 7;
  890. _PlaySoundA@12(&DAT_005617eb,0,0);
  891. _PlaySoundA@12(&DAT_00560f01,0,9);
  892. _system(&DAT_00561d93);
  893. _system(&DAT_00561625);
  894. Title();
  895. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561d9c);
  896. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  897. _system(&DAT_0055ae57);
  898. break;
  899. case 9:
  900. piVar7 = (int *)&DAT_005617eb;
  901. SStack_544.call_site = 7;
  902. _PlaySoundA@12(&DAT_005617eb,0,0);
  903. Loop1 = 1;
  904. switchD_00403eeb_caseD_1e:
  905. if (Loop1 == 1) {
  906. _system(&DAT_00561625);
  907. SStack_544.call_site = 7;
  908. Title();
  909. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561db4);
  910. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  911. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00561c9f);
  912. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  913. do {
  914. SStack_544.call_site = 7;
  915. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  916. (&__ZSt4cout,&DAT_00559031);
  917. iVar4 = __ZNKSt9basic_iosIcSt11char_traitsIcEEcvPvEv();
  918. if (iVar4 == 0) {
  919. LAB_00403ecc:
  920. bVar2 = false;
  921. }
  922. else {
  923. __ZNSirsERi(&Randomiser);
  924. cVar1 = __ZNKSt9basic_iosIcSt11char_traitsIcEEntEv();
  925. if (((cVar1 == '\0') && (-1 < Randomiser)) && (Randomiser < 0x1e))
  926. goto LAB_00403ecc;
  927. bVar2 = true;
  928. }
  929. if (!bVar2) goto code_r0x00403ee4;
  930. SStack_544.call_site = 7;
  931. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  932. (&__ZSt4cout,&DAT_00561dc8);
  933. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  934. __ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(0);
  935. iVar4 = std::numeric_limits<int>::max();
  936. __ZNSi6ignoreEii(iVar4,10);
  937. } while( true );
  938. }
  939. SStack_544.call_site = 7;
  940. _PlaySoundA@12(&DAT_00560f01,0,9);
  941. break;
  942. }
  943. goto switchD_00402ebc_caseD_0;
  944. }
  945. if (Randomiser == 4) {
  946. /* WARNING: Subroutine does not return */
  947. _exit(0);
  948. }
  949. }
  950. }
  951. else if (Randomiser == 0x1f) {
  952. SStack_544.call_site = 7;
  953. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00562103);
  954. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  955. psVar6 = (string *)&DAT_0055ae57;
  956. _system();
  957. player_Hp_Max = 300;
  958. player_Hp = 300;
  959. player_Str = 10;
  960. player_Agi = 10;
  961. player_Int = 10;
  962. }
  963. else if (Randomiser < 0x20) {
  964. if (Randomiser == 0x1a) {
  965. SStack_544.call_site = 7;
  966. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_0056205d);
  967. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  968. _system(&DAT_0055ae57);
  969. player_Hp_Max = 1000;
  970. player_Hp = 1000;
  971. player_Str = 100;
  972. player_Agi = 100;
  973. player_Int = 100;
  974. _remove(&DAT_00561617);
  975. __ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(&DAT_00561617,1);
  976. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(asStack_328,&DAT_0056207c);
  977. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  978. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(asStack_328,&DAT_005620a0);
  979. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  980. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(asStack_328,&DAT_005620c8);
  981. psVar6 = (string *)&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_;
  982. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  983. __ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv();
  984. reqxp = 10000;
  985. player_Level = 0x1e;
  986. }
  987. }
  988. else if (Randomiser == 0x21) {
  989. SStack_544.call_site = 7;
  990. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_0056211b);
  991. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  992. psVar6 = (string *)&DAT_0055ae57;
  993. _system();
  994. Skilled = 9;
  995. }
  996. else if (Randomiser == 0x23) {
  997. SStack_544.call_site = 7;
  998. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00562132);
  999. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  1000. psVar6 = (string *)&DAT_0055ae57;
  1001. _system();
  1002. Skilled = 99;
  1003. }
  1004. }
  1005. if (Randomiser == 0x22b) {
  1006. SStack_544.call_site = 7;
  1007. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00562210);
  1008. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  1009. psVar6 = (string *)&DAT_0055ae57;
  1010. _system();
  1011. player_Money = 1000000.0;
  1012. goto LAB_00404b03;
  1013. }
  1014. if (Randomiser < 0x22c) {
  1015. if (Randomiser == 0x65) {
  1016. SStack_544.call_site = 7;
  1017. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_005621d8);
  1018. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  1019. psVar6 = (string *)&DAT_0055ae57;
  1020. _system();
  1021. reqxp = 999999999;
  1022. Level1forever = 1;
  1023. }
  1024. else if (Randomiser < 0x66) {
  1025. if (Randomiser == 0x4e) {
  1026. SStack_544.call_site = 7;
  1027. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00562168);
  1028. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  1029. do {
  1030. piVar7 = (int *)&__ZSt4cout;
  1031. SStack_544.call_site = 7;
  1032. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00559031);
  1033. iVar4 = __ZNKSt9basic_iosIcSt11char_traitsIcEEcvPvEv();
  1034. if (iVar4 == 0) {
  1035. LAB_004048a1:
  1036. bVar2 = false;
  1037. psVar6 = (string *)piVar7;
  1038. }
  1039. else {
  1040. piVar7 = &Randomiser;
  1041. __ZNSirsERi(&Randomiser);
  1042. cVar1 = __ZNKSt9basic_iosIcSt11char_traitsIcEEntEv();
  1043. if (((cVar1 == '\0') && (0 < Randomiser)) && (Randomiser < 0x10)) goto LAB_004048a1;
  1044. bVar2 = true;
  1045. psVar6 = (string *)piVar7;
  1046. }
  1047. if (!bVar2) goto code_r0x004048ab;
  1048. SStack_544.call_site = 7;
  1049. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_005621b0);
  1050. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  1051. __ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(0);
  1052. iVar4 = std::numeric_limits<int>::max();
  1053. __ZNSi6ignoreEii(iVar4,10);
  1054. } while( true );
  1055. }
  1056. }
  1057. else if (Randomiser == 0x6c) {
  1058. SStack_544.call_site = 7;
  1059. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_005621f9);
  1060. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  1061. psVar6 = (string *)&DAT_0055ae57;
  1062. _system();
  1063. GARRY = 1;
  1064. }
  1065. else if (Randomiser == 0x194) {
  1066. SStack_544.call_site = 7;
  1067. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00562254);
  1068. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  1069. psVar6 = (string *)&DAT_0055ae57;
  1070. _system();
  1071. ForceEncounter = 1;
  1072. }
  1073. }
  1074. else if (Randomiser == 0x3ef) {
  1075. SStack_544.call_site = 7;
  1076. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_0056223b);
  1077. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  1078. psVar6 = (string *)&DAT_0055ae57;
  1079. _system();
  1080. Looter = 100;
  1081. }
  1082. else if (Randomiser < 0x3f0) {
  1083. if (Randomiser == 999) {
  1084. Drugged = 1;
  1085. DruggedCount = 100000000;
  1086. }
  1087. }
  1088. else if (Randomiser == 0x539) {
  1089. SStack_544.call_site = 7;
  1090. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00562225);
  1091. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  1092. psVar6 = (string *)&DAT_0055ae57;
  1093. _system();
  1094. player_Hp_Max = 0x9c4;
  1095. player_Hp = 0x9c4;
  1096. player_Str = 100;
  1097. player_Agi = 100;
  1098. player_Int = 100;
  1099. }
  1100. else if (Randomiser == 0x15b3) {
  1101. SStack_544.call_site = 7;
  1102. __ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(&__ZSt4cout,&DAT_00562276);
  1103. __ZNSolsEPFRSoS_E(&__ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_);
  1104. psVar6 = (string *)&DAT_0055ae57;
  1105. _system();
  1106. player_Money = 1e+08;
  1107. }
  1108. } while( true );
  1109. code_r0x00403ee4:
  1110. switch(Randomiser) {
  1111. case 0:
  1112. Loop1 = 0;
  1113. break;
  1114. case 1:
  1115. SStack_544.call_site = 7;
  1116. _PlaySoundA@12(&DAT_00561def,0,0);
  1117. break;
  1118. case 2:
  1119. SStack_544.call_site = 7;
  1120. _PlaySoundA@12(&DAT_00561e03,0,0);
  1121. break;
  1122. case 3:
  1123. SStack_544.call_site = 7;
  1124. _PlaySoundA@12(&DAT_00561e17,0,0);
  1125. break;
  1126. case 4:
  1127. SStack_544.call_site = 7;
  1128. _PlaySoundA@12(&DAT_00561e2b,0,0);
  1129. break;
  1130. case 5:
  1131. SStack_544.call_site = 7;
  1132. _PlaySoundA@12(&DAT_00561e3f,0,0);
  1133. break;
  1134. case 6:
  1135. SStack_544.call_site = 7;
  1136. _PlaySoundA@12(&DAT_00561e53,0,0);
  1137. break;
  1138. case 7:
  1139. SStack_544.call_site = 7;
  1140. _PlaySoundA@12(&DAT_00561e67,0,0);
  1141. break;
  1142. case 8:
  1143. SStack_544.call_site = 7;
  1144. _PlaySoundA@12(&DAT_00561e7b,0,0);
  1145. break;
  1146. case 9:
  1147. SStack_544.call_site = 7;
  1148. _PlaySoundA@12(&DAT_00561e8f,0,0);
  1149. break;
  1150. case 10:
  1151. SStack_544.call_site = 7;
  1152. _PlaySoundA@12(&DAT_00561ea4,0,0);
  1153. break;
  1154. case 0xb:
  1155. SStack_544.call_site = 7;
  1156. _PlaySoundA@12(&DAT_00561eb9,0,0);
  1157. break;
  1158. case 0xc:
  1159. SStack_544.call_site = 7;
  1160. _PlaySoundA@12(&DAT_00561ece,0,0);
  1161. break;
  1162. case 0xd:
  1163. SStack_544.call_site = 7;
  1164. _PlaySoundA@12(&DAT_00561ee3,0,0);
  1165. break;
  1166. case 0xe:
  1167. SStack_544.call_site = 7;
  1168. _PlaySoundA@12(&DAT_00561ef8,0,0);
  1169. break;
  1170. case 0xf:
  1171. SStack_544.call_site = 7;
  1172. _PlaySoundA@12(&DAT_00561f0d,0,0);
  1173. break;
  1174. case 0x10:
  1175. SStack_544.call_site = 7;
  1176. _PlaySoundA@12(&DAT_00561f22,0,0);
  1177. break;
  1178. case 0x11:
  1179. SStack_544.call_site = 7;
  1180. _PlaySoundA@12(&DAT_00561f37,0,0);
  1181. break;
  1182. case 0x12:
  1183. SStack_544.call_site = 7;
  1184. _PlaySoundA@12(&DAT_00561f4c,0,0);
  1185. break;
  1186. case 0x13:
  1187. SStack_544.call_site = 7;
  1188. _PlaySoundA@12(&DAT_00561f61,0,0);
  1189. break;
  1190. case 0x14:
  1191. SStack_544.call_site = 7;
  1192. _PlaySoundA@12(&DAT_00561f76,0,0);
  1193. break;
  1194. case 0x15:
  1195. SStack_544.call_site = 7;
  1196. _PlaySoundA@12(&DAT_00561f8b,0,0);
  1197. break;
  1198. case 0x16:
  1199. SStack_544.call_site = 7;
  1200. _PlaySoundA@12(&DAT_00561fa0,0,0);
  1201. break;
  1202. case 0x17:
  1203. SStack_544.call_site = 7;
  1204. _PlaySoundA@12(&DAT_00561fb5,0,0);
  1205. break;
  1206. case 0x18:
  1207. SStack_544.call_site = 7;
  1208. _PlaySoundA@12(&DAT_00561fca,0,0);
  1209. break;
  1210. case 0x19:
  1211. SStack_544.call_site = 7;
  1212. _PlaySoundA@12(&DAT_00561fdf,0,0);
  1213. break;
  1214. case 0x1a:
  1215. SStack_544.call_site = 7;
  1216. _PlaySoundA@12(&DAT_00561ff4,0,0);
  1217. break;
  1218. case 0x1b:
  1219. SStack_544.call_site = 7;
  1220. _PlaySoundA@12(&DAT_00562009,0,0);
  1221. break;
  1222. case 0x1c:
  1223. SStack_544.call_site = 7;
  1224. _PlaySoundA@12(&DAT_0056201e,0,0);
  1225. break;
  1226. case 0x1d:
  1227. SStack_544.call_site = 7;
  1228. _PlaySoundA@12(&DAT_00562033,0,0);
  1229. }
  1230. goto switchD_00403eeb_caseD_1e;
  1231. code_r0x00403b02:
  1232. switch(Randomiser) {
  1233. case 1:
  1234. piVar7 = (int *)0x0;
  1235. SStack_544.call_site = 7;
  1236. _waveOutSetVolume@8(0,0xffffffff);
  1237. break;
  1238. case 2:
  1239. piVar7 = (int *)0x0;
  1240. SStack_544.call_site = 7;
  1241. _waveOutSetVolume@8(0,0xcccccccc);
  1242. break;
  1243. case 3:
  1244. piVar7 = (int *)0x0;
  1245. SStack_544.call_site = 7;
  1246. _waveOutSetVolume@8(0,0x99999999);
  1247. break;
  1248. case 4:
  1249. piVar7 = (int *)0x0;
  1250. SStack_544.call_site = 7;
  1251. _waveOutSetVolume@8(0,0x66666666);
  1252. break;
  1253. case 5:
  1254. piVar7 = (int *)0x0;
  1255. SStack_544.call_site = 7;
  1256. _waveOutSetVolume@8(0,0x33333333);
  1257. break;
  1258. case 6:
  1259. piVar7 = (int *)0x0;
  1260. SStack_544.call_site = 7;
  1261. _waveOutSetVolume@8(0,0);
  1262. }
  1263. switchD_00402ebc_caseD_0:
  1264. Loop1 = 1;
  1265. psVar6 = (string *)piVar7;
  1266. goto LAB_00404b03;
  1267. code_r0x0040387f:
  1268. if (choice == 0) {
  1269. Loop1 = 0;
  1270. }
  1271. goto LAB_00403892;
  1272. code_r0x0040355d:
  1273. if (choice == 0) {
  1274. Loop1 = 0;
  1275. }
  1276. goto LAB_00403570;
  1277. code_r0x0040323b:
  1278. if (choice == 0) {
  1279. Loop1 = 0;
  1280. }
  1281. goto LAB_0040324e;
  1282. code_r0x004048ab:
  1283. AllColor = Randomiser;
  1284. goto LAB_00404b03;
  1285. }
  1286.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement