CMyProfile.cpp 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703
  1. #include "CMyProfile.h"
  2. #include "CStoryCore.h"
  3. #include "CFTTSaveFile.h"
  4. #include "CFE.h"
  5. #include "CStoryProfileStages.h"
  6. #include "CFTTServerTime.h"
  7. #include "CFTTTime.h"
  8. #include "TStoryConfig.h"
  9. #include "CUnlockables.h"
  10. #include "CMessageBoxHandler.h"
  11. #include "CFESLevelSelect.h"
  12. #include "str_conv.h"
  13. #include "memctrl.h"
  14. bool CMyProfile::ms_bLoading;
  15. ESaveMode g_eSaveMode;
  16. TStoryConfig STY_tConfig;
  17. MYSTATIC struct CFTTSaveFileProjectSettings G_Profiles = {
  18. "DOCS:profile.dat",
  19. "DOCS:profiletemp.dat",
  20. "DOCS:profile_cld_u.dat",
  21. "DOCS:profile_cld_d.dat",
  22. "DOCS:profile_cld_dc.dat",
  23. "StoryUser",
  24. "Profile",
  25. "HeroRecord",
  26. 5,
  27. 0x39,
  28. 1,
  29. 0xf36ec841,
  30. 0xec16cac0,
  31. 0x8ad62178,
  32. 0xbf1096d8};
  33. CMyProfile MP_cMyProfile;
  34. //-------------------------------------------------------------------------------------------------
  35. //001CCC00 //^_^
  36. TProfileData::TProfileData() {
  37. // m_ProfileStats = new CProfileStats();
  38. // m_CGameSettings_2b80 = new CGameSettings();
  39. }
  40. //-------------------------------------------------------------------------------------------------
  41. //001CCC24 //^_^
  42. TProfileData::~TProfileData() {
  43. // delete m_ProfileStats;
  44. // delete m_CGameSettings_2b80;
  45. }
  46. //-------------------------------------------------------------------------------------------------
  47. //001CC950 //^_^
  48. void TProfileData::Serialize(CFTTSerialize &pSerialize) {
  49. }
  50. //-------------------------------------------------------------------------------------------------
  51. //001CC2E4 //^_^
  52. void TProfileDataCloud::Serialize(CFTTSerialize &pSerialize) {
  53. return;
  54. }
  55. //-------------------------------------------------------------------------------------------------
  56. //001CCBB4 //^_^
  57. CMyProfile::CMyProfile() {
  58. }
  59. //-------------------------------------------------------------------------------------------------
  60. //001CCC14
  61. CMyProfile::~CMyProfile() {
  62. }
  63. //-------------------------------------------------------------------------------------------------
  64. //0011977C //^_^
  65. void CMyProfile::SetInstallSourceTracker(const char *val) {
  66. }
  67. //-------------------------------------------------------------------------------------------------
  68. //00119788 //^_^
  69. void CMyProfile::SetInstallSourceCampaign(char const *val) {
  70. }
  71. //-------------------------------------------------------------------------------------------------
  72. //0012C8AC //^_^
  73. void CMyProfile::SetAllowLevelSelectVideoAds(bool val) {
  74. }
  75. //-------------------------------------------------------------------------------------------------
  76. //0012CA3C //^_^
  77. void CMyProfile::SetStageClubTeam(int val1, int val2) {
  78. }
  79. //-------------------------------------------------------------------------------------------------
  80. //00131D60 //^_^
  81. int CMyProfile::GetPossibleStartingClubs(int val1, int *val2, int val3) {
  82. return 0;
  83. }
  84. //-------------------------------------------------------------------------------------------------
  85. //00131D6C //^_^
  86. int CMyProfile::GetPossibleNewClubs(int val1, bool val2, int val3, int *val4, int val5, ELeague val6, bool val7, bool val8) {
  87. return 0;
  88. }
  89. //-------------------------------------------------------------------------------------------------
  90. //00152D88 //^_^
  91. void CMyProfile::EnergyIncrease(int val1, bool val2) {
  92. }
  93. //-------------------------------------------------------------------------------------------------
  94. //00153B40 //^_^
  95. void CMyProfile::UpdateTermsOfServiceID(int val1) {
  96. }
  97. //-------------------------------------------------------------------------------------------------
  98. //001CCC3A //^_^
  99. void CMyProfile::Shutdown() {
  100. }
  101. //-------------------------------------------------------------------------------------------------
  102. //001CCC60 //^_^
  103. CStoryProfileStages *CMyProfile::GetProfileStages() {
  104. return NULL;
  105. }
  106. //-------------------------------------------------------------------------------------------------
  107. //001CCC80 //^_^
  108. void CMyProfile::InitialiseSaveFiles() {
  109. }
  110. //-------------------------------------------------------------------------------------------------
  111. //001CCCB4 //^_~
  112. int CMyProfile::DoLoadOnBoot(bool &val1) {
  113. LOGE("DoLoadOnBoot%x",val1);
  114. val1=rand();
  115. return rand();
  116. }
  117. //-------------------------------------------------------------------------------------------------
  118. //001CCDC0 //^_^
  119. void CMyProfile::SetIsSideStory(bool val1, bool val2) {
  120. }
  121. //-------------------------------------------------------------------------------------------------
  122. //001CCE94 //^_^
  123. int CMyProfile::LoadDiskData() {
  124. int result = 0;
  125. return result;
  126. }
  127. //-------------------------------------------------------------------------------------------------
  128. //001CD040
  129. void CMyProfile::LoadCloudDataWithVersion(bool, bool) {
  130. }
  131. //-------------------------------------------------------------------------------------------------
  132. //001CD09C
  133. void CMyProfile::LoadCloudData(bool) {
  134. }
  135. //-------------------------------------------------------------------------------------------------
  136. //001CD238 //^_^
  137. void CMyProfile::SetAllDefaults() {
  138. // EUserABTest v3;
  139. }
  140. //-------------------------------------------------------------------------------------------------
  141. //001CD42C //^_^
  142. void CMyProfile::LoadLocalData() {
  143. }
  144. //-------------------------------------------------------------------------------------------------
  145. //001CD442 //^_^
  146. void CMyProfile::ReInitialiseSideStory(int br0) {
  147. }
  148. //-------------------------------------------------------------------------------------------------
  149. //001CD454
  150. void CMyProfile::UpdateFacebookAchievements() {
  151. }
  152. //-------------------------------------------------------------------------------------------------
  153. //001CD480
  154. void CMyProfile::FacebookLoginCompleteWithAnalytics(int, wchar_t *) {
  155. }
  156. //-------------------------------------------------------------------------------------------------
  157. //001CD484
  158. void CMyProfile::FacebookLoginComplete(int, wchar_t *) {
  159. }
  160. //-------------------------------------------------------------------------------------------------
  161. //001CD508
  162. void CMyProfile::FacebookLoginCompleteWithReward(int, wchar_t *) {
  163. }
  164. //-------------------------------------------------------------------------------------------------
  165. //001CD544
  166. void CMyProfile::FacebookGetFriendsComplete(int) {
  167. }
  168. //-------------------------------------------------------------------------------------------------
  169. //001CD55C //^_^
  170. void CMyProfile::AttemptSave(ESaveMode dr0) {
  171. g_eSaveMode = dr0;
  172. }
  173. //-------------------------------------------------------------------------------------------------
  174. //001CD570 //^_^ 这个函数只有开启堆栈保护, 才能编译出来和原始程序一样
  175. void CMyProfile::Stage460Fix() {
  176. }
  177. //-------------------------------------------------------------------------------------------------
  178. //001CD644 //^_^
  179. int CMyProfile::GetStagesComplete(int dr0) {
  180. return GetProfileStages()->GetStagesComplete(dr0);
  181. }
  182. //-------------------------------------------------------------------------------------------------
  183. //001CD656 //^_^
  184. int CMyProfile::GetHaveChangedTeamOnStage(int dr0) {
  185. return pCStoryProfile->GetHaveChangedTeamOnStage(dr0);
  186. }
  187. //-------------------------------------------------------------------------------------------------
  188. //001CD660 //^_^
  189. void CMyProfile::SetPostStageOperation(TStageOperation aTStageOperation) {
  190. }
  191. //-------------------------------------------------------------------------------------------------
  192. //001CD694 //^_^
  193. int CMyProfile::GetGameVersionFromProfile() {
  194. return 0;
  195. }
  196. //-------------------------------------------------------------------------------------------------
  197. //001CD6F0 //^_^
  198. void CMyProfile::SetLargestPurchase(int dr1) {
  199. }
  200. //-------------------------------------------------------------------------------------------------
  201. //001CD6FA //^_^
  202. void CMyProfile::IncrementNumberOfPurchases() {
  203. }
  204. //-------------------------------------------------------------------------------------------------
  205. //001CD706 //^_^
  206. void CMyProfile::SetFirstStagePurchase(int dr1) {
  207. }
  208. //-------------------------------------------------------------------------------------------------
  209. //001CD710 //^_^
  210. void CMyProfile::ResetSidePolaroidDates() {
  211. }
  212. //-------------------------------------------------------------------------------------------------
  213. //001CD728 //^_^
  214. void CMyProfile::ResetMainPolaroidDates() {
  215. }
  216. //-------------------------------------------------------------------------------------------------
  217. //001CD740
  218. void CMyProfile::UpdateCB(int, void *) {
  219. //不太有用的函数
  220. }
  221. //-------------------------------------------------------------------------------------------------
  222. //001CD758
  223. void CMyProfile::SetFacebookToken(char *, int) {
  224. //不太有用的函数
  225. }
  226. //-------------------------------------------------------------------------------------------------
  227. //001CD75E
  228. void CMyProfile::CloudDelete(void (*)(int)) {
  229. //不太有用的函数
  230. }
  231. //-------------------------------------------------------------------------------------------------
  232. //001CD768
  233. void CMyProfile::ShouldDoCloudSave() {
  234. //不太有用的函数
  235. }
  236. //-------------------------------------------------------------------------------------------------
  237. //001CD7E0 //^_^
  238. int CMyProfile::GetStagesStars(int dr1) {
  239. CStoryProfileStages *v3 = GetProfileStages();
  240. return v3->GetStagesStars(dr1);
  241. }
  242. //-------------------------------------------------------------------------------------------------
  243. //001CD7F4 //^_^
  244. void CMyProfile::AddCloudSaveRecord() {
  245. //不太有用的函数
  246. }
  247. //-------------------------------------------------------------------------------------------------
  248. //001CD854 //^_^
  249. void CMyProfile::UpdateSaveLoadTime() {
  250. }
  251. //-------------------------------------------------------------------------------------------------
  252. //001CD870 //^_^
  253. void CMyProfile::CheckSave() {
  254. LOGE("%pCMyProfile::CheckSave",this);
  255. }
  256. //-------------------------------------------------------------------------------------------------
  257. //001CD890 //???该函数因为有部分逻辑是保存到云服务上, 所以跳过了部分代码。 很难做到完全一样
  258. int CMyProfile::Save(ESaveMode bESaveModer0) {
  259. return 0;
  260. }
  261. //-------------------------------------------------------------------------------------------------
  262. //001CDAA0 //^_^
  263. void CMyProfile::UnlockSeason(int val1, bool val2, bool val3) {
  264. }
  265. //-------------------------------------------------------------------------------------------------
  266. //001CDAC2 //^_^
  267. void CMyProfile::ResetAllFeats() {
  268. }
  269. //-------------------------------------------------------------------------------------------------
  270. //001CDAD0 //^_^
  271. void CMyProfile::ResetNotificationRewards() {
  272. }
  273. //-------------------------------------------------------------------------------------------------
  274. //001CDAEC //^_^
  275. TStageOperation CMyProfile::GetPostStageOperation() {
  276. TStageOperation TStageOperationr0;
  277. return TStageOperationr0;
  278. }
  279. //-------------------------------------------------------------------------------------------------
  280. //001CDB10 //^_^
  281. void CMyProfile::ClearPostStageOperation() {
  282. }
  283. //-------------------------------------------------------------------------------------------------
  284. //001CDB30 //^_^
  285. void CMyProfile::SetTutorialMessageShown(int dr1, bool br2) {
  286. }
  287. //-------------------------------------------------------------------------------------------------
  288. //001CDB52 //^_^
  289. int CMyProfile::GetSeasonComplete(int dr1) {
  290. return 0;
  291. }
  292. //-------------------------------------------------------------------------------------------------
  293. //001CDB64 //^_^
  294. void CMyProfile::IncStageAttempts(int dr1) {
  295. }
  296. //-------------------------------------------------------------------------------------------------
  297. //001CDB76 //^_^
  298. int CMyProfile::GetStageComplete(int dr1) {
  299. return 0;
  300. }
  301. //-------------------------------------------------------------------------------------------------
  302. //001CDB90 //^_^
  303. int CMyProfile::GetStageNumber(int dar1) {
  304. return 0;
  305. }
  306. //-------------------------------------------------------------------------------------------------
  307. //001CDBFC //^_^
  308. int CMyProfile::GetStageStars(int dr1) {
  309. return 0;
  310. }
  311. //-------------------------------------------------------------------------------------------------
  312. //001CDC0E //^_^
  313. int CMyProfile::GetStageScore(int dr1) {
  314. return 0;
  315. }
  316. //-------------------------------------------------------------------------------------------------
  317. //001CDC20 //^_^
  318. int CMyProfile::GetStageAttempts(int dr1) {
  319. return 0;
  320. }
  321. //-------------------------------------------------------------------------------------------------
  322. //001CDC32 //^_^
  323. int CMyProfile::CountPacksWithAllStars() {
  324. return 0;
  325. }
  326. //-------------------------------------------------------------------------------------------------
  327. //001CDC40 //^_^
  328. void CMyProfile::SetRatedGameVersion(int dr1) {
  329. }
  330. //-------------------------------------------------------------------------------------------------
  331. //001CDC64 //^_^
  332. void CMyProfile::SetSkinColour(int dr1) {
  333. }
  334. //-------------------------------------------------------------------------------------------------
  335. //001CDC74 //^_^
  336. uchar CMyProfile::GetSkinColour() {
  337. return 0;
  338. }
  339. //-------------------------------------------------------------------------------------------------
  340. //001CDC84 //^_^
  341. void CMyProfile::SetHeadType(int dr1) {
  342. }
  343. //-------------------------------------------------------------------------------------------------
  344. //001CDC94 //^_^
  345. uchar CMyProfile::GetHeadType() {
  346. return 0;
  347. }
  348. //-------------------------------------------------------------------------------------------------
  349. //001CDCA4 //^_^
  350. void CMyProfile::SetHairColour(int dr1) {
  351. }
  352. //-------------------------------------------------------------------------------------------------
  353. //001CDCB4 //^_^
  354. uchar CMyProfile::GetHairColour() {
  355. return 0;
  356. }
  357. //-------------------------------------------------------------------------------------------------
  358. //001CDCC4 //^_^
  359. void CMyProfile::SetHairStyle(int dr1) {
  360. }
  361. //-------------------------------------------------------------------------------------------------
  362. //001CDCD4 //^_^
  363. uchar CMyProfile::GetHairStyle() {
  364. return 0;
  365. }
  366. //-------------------------------------------------------------------------------------------------
  367. //001CDCE4 //^_^
  368. void CMyProfile::SetFacialHair(int dr1) {
  369. }
  370. //-------------------------------------------------------------------------------------------------
  371. //001CDCF4 //^_^
  372. uchar CMyProfile::GetFacialHair() {
  373. return 0;
  374. }
  375. //-------------------------------------------------------------------------------------------------
  376. //001CDD04 //^_^
  377. void CMyProfile::SetBootColour(int dr1) {
  378. }
  379. //-------------------------------------------------------------------------------------------------
  380. //001CDD14 //^_^
  381. uchar CMyProfile::GetBootColour() {
  382. return 0;
  383. }
  384. //-------------------------------------------------------------------------------------------------
  385. //001CDD24 //^_^
  386. void CMyProfile::SetBodyType(int dr1) {
  387. }
  388. //-------------------------------------------------------------------------------------------------
  389. //001CDD5C //^_^
  390. uchar CMyProfile::GetBodyType() {
  391. return 0;
  392. }
  393. //-------------------------------------------------------------------------------------------------
  394. //001CDD90 //^_^
  395. void CMyProfile::SetShirtLength(int dr1) {
  396. }
  397. //-------------------------------------------------------------------------------------------------
  398. //001CDDC8 //^_^
  399. uchar CMyProfile::GetShirtLength() {
  400. return 0;
  401. }
  402. //-------------------------------------------------------------------------------------------------
  403. //001CDDFC //^_^
  404. void CMyProfile::SetShirtNumber(int dr1) {
  405. }
  406. //-------------------------------------------------------------------------------------------------
  407. //001CDE0C //^_^
  408. uchar CMyProfile::GetShirtNumber() {
  409. return 0;
  410. }
  411. //-------------------------------------------------------------------------------------------------
  412. //001CDE1C //^_^
  413. void CMyProfile::SetPlayerName(wchar_t const *pWBufr1) {
  414. }
  415. //-------------------------------------------------------------------------------------------------
  416. //001CDE30 //^_^
  417. wchar_t const *CMyProfile::GetPlayerName() {
  418. LOGE("GetPlayerName");
  419. return (wchar_t*)rand();
  420. }
  421. //-------------------------------------------------------------------------------------------------
  422. //001CDE40 //^_^
  423. void CMyProfile::SetPlayerInitialised() {
  424. }
  425. //-------------------------------------------------------------------------------------------------
  426. //001CDE58 //^_^
  427. bool CMyProfile::GetPlayerInitialised() {
  428. return 0;
  429. }
  430. //-------------------------------------------------------------------------------------------------
  431. //001CDE68 //^_^
  432. void CMyProfile::SetHaveAskedToRate() {
  433. }
  434. //-------------------------------------------------------------------------------------------------
  435. //001CDE88 //???这个函数和原始代码汇编少一个PUSH POP
  436. void CMyProfile::CheckRestoreEnergy() {
  437. }
  438. //-------------------------------------------------------------------------------------------------
  439. //001CDEB4 //^_^
  440. void CMyProfile::FoundEasterEgg(int dr1) {
  441. }
  442. //-------------------------------------------------------------------------------------------------
  443. //001CDEF0 //^_^
  444. int CMyProfile::EasterEggAlreadyFound(int dr1) {
  445. return 1;
  446. }
  447. //-------------------------------------------------------------------------------------------------
  448. //001CDF0E //^_^
  449. void CMyProfile::SetStartUpMessageViewedID(int dr1) {
  450. }
  451. //-------------------------------------------------------------------------------------------------
  452. //001CDF14 //^_^
  453. int CMyProfile::GetAreGettingMoreStars() {
  454. return 0;
  455. }
  456. //-------------------------------------------------------------------------------------------------
  457. //001CDF24 //^_^
  458. void CMyProfile::SetAreGettingMoreStars(bool br1) {
  459. }
  460. //-------------------------------------------------------------------------------------------------
  461. //001CDF34 //^_^
  462. int CMyProfile::GetTotalNumberOfStars() {
  463. return 0;
  464. }
  465. //-------------------------------------------------------------------------------------------------
  466. //001CDF3C //^_^
  467. int CMyProfile::GetEffectiveStarsPurchased() {
  468. return 0;
  469. }
  470. //-------------------------------------------------------------------------------------------------
  471. //001CDF58 //^_^
  472. void CMyProfile::AddEffectiveStarsPurchased(int dr1) {
  473. }
  474. //-------------------------------------------------------------------------------------------------
  475. //001CDF74 //^_^
  476. int CMyProfile::GetSeasonUnlockStars(int dr1) {
  477. return 0;
  478. }
  479. //-------------------------------------------------------------------------------------------------
  480. //001CDFE4 //^_^
  481. int CMyProfile::GetSeasonUnlockCost(int dr1) {
  482. return -1;
  483. }
  484. //-------------------------------------------------------------------------------------------------
  485. //001CE050 //^_^
  486. int CMyProfile::IsSeasonUnlocked(int dr1) {
  487. return 0;
  488. }
  489. //-------------------------------------------------------------------------------------------------
  490. //001CE062 //^_^
  491. int CMyProfile::IsSeasonComplete(int dr1) {
  492. return 0;
  493. }
  494. //-------------------------------------------------------------------------------------------------
  495. //001CE074 //^_^
  496. void CMyProfile::SetNotificationRewards() {
  497. LOGE("CMyProfile::SetNotificationRewards%p",this);
  498. }
  499. //-------------------------------------------------------------------------------------------------
  500. //001CE076 //^_^
  501. void CMyProfile::SetupSideStory() {
  502. }
  503. //-------------------------------------------------------------------------------------------------
  504. //001CE094 //^_^
  505. void CMyProfile::SetSideStoryComplete(bool br1) {
  506. }
  507. //-------------------------------------------------------------------------------------------------
  508. //001CE0AC //^_^
  509. int CMyProfile::GetActiveSideStoryID() {
  510. return 0;
  511. }
  512. //-------------------------------------------------------------------------------------------------
  513. //001CE0CC //^_^
  514. void CMyProfile::SetNationalTeam(int dr1) {
  515. }
  516. //-------------------------------------------------------------------------------------------------
  517. //001CE0F8 //^_^
  518. uint16 CMyProfile::GetNationalTeam() {
  519. LOGE("CMyProfile::GetNationalTeam%p",this);
  520. return rand();
  521. }
  522. //-------------------------------------------------------------------------------------------------
  523. //001CE108
  524. void CMyProfile::CheckNotificationRewards() {
  525. }
  526. //-------------------------------------------------------------------------------------------------
  527. //001CE10A
  528. void CMyProfile::HaveSetRewardNotifications() {
  529. }
  530. //-------------------------------------------------------------------------------------------------
  531. //001CE10E //^_^
  532. void CMyProfile::RewardForNotification(int dr1) {
  533. }
  534. //-------------------------------------------------------------------------------------------------
  535. //001CE138 //^_^
  536. void CMyProfile::NeedToCheckNotifications() {
  537. LOGE("CMyProfile::NeedToCheckNotifications%p",this);
  538. return;
  539. }
  540. //-------------------------------------------------------------------------------------------------
  541. //001CE16C 没啥用的函数跳过
  542. int CMyProfile::CalculateAndCheckNotificationRewards() {
  543. return 0;
  544. }
  545. //-------------------------------------------------------------------------------------------------
  546. //001CE2B8
  547. bool CMyProfile::GetAllowLevelSelectVideoAds() {
  548. return 0;
  549. }
  550. //-------------------------------------------------------------------------------------------------
  551. //001CE2C6 //^_^
  552. void CMyProfile::ResetUnlimitedEnergy() {
  553. }
  554. //-------------------------------------------------------------------------------------------------
  555. //001CE2EE //^_^
  556. bool CMyProfile::HaveUnlimitedEnergy() {
  557. bool bret; // r5
  558. return true;
  559. }
  560. //-------------------------------------------------------------------------------------------------
  561. //001CE350 //^_^
  562. void CMyProfile::SetEndOfUnlimitedEnergyTime() {
  563. }
  564. //-------------------------------------------------------------------------------------------------
  565. //001CE3A0 //^_^
  566. void CMyProfile::EnergyUse(int dr1) {
  567. }
  568. //-------------------------------------------------------------------------------------------------
  569. //001CE3B4 //^_^
  570. long CMyProfile::GetSizeOfProfile() {
  571. return 0;
  572. }
  573. //-------------------------------------------------------------------------------------------------
  574. //001CE3C8 //??? 编译出汇编不一样
  575. void CMyProfile::SetFeatComplete(int dr1, bool br2) {
  576. }
  577. //-------------------------------------------------------------------------------------------------
  578. //001CE408 //^_^
  579. int CMyProfile::IsUserCheat() {
  580. return 0;
  581. }
  582. //-------------------------------------------------------------------------------------------------
  583. //001CE40C //^_^
  584. int CMyProfile::GetUserType() {
  585. return 0;
  586. }
  587. //-------------------------------------------------------------------------------------------------
  588. //001CE470 //^_^
  589. void CMyProfile::SetAllowCloud(bool br1) {
  590. }
  591. //-------------------------------------------------------------------------------------------------
  592. //001CE478 //^_^
  593. bool CMyProfile::GetFeatComplete(int dr1) {
  594. return 0;
  595. }
  596. //-------------------------------------------------------------------------------------------------
  597. //001CE480
  598. //???这个函数似乎和广告相关 ,先不实现
  599. void CMyProfile::EnergyMessageCB(int, void *) {
  600. }
  601. //-------------------------------------------------------------------------------------------------
  602. //001CE63C
  603. //???内购, 跳过
  604. void CMyProfile::BuyEnergyCallback(int, void *) {
  605. }
  606. //-------------------------------------------------------------------------------------------------
  607. //001CE648
  608. //???和内购相关, 先跳过
  609. void CMyProfile::DisplayEnergyMessage() {
  610. }
  611. //-------------------------------------------------------------------------------------------------
  612. //001CE79C //^_^
  613. uint CMyProfile::GetConfigFileCreditReimburseID() {
  614. return 0;
  615. }
  616. //-------------------------------------------------------------------------------------------------
  617. //001CE7A0 //^_^
  618. void CMyProfile::SetConfigFileCreditReimburseID(int dr1) {
  619. }
  620. //-------------------------------------------------------------------------------------------------
  621. //001CE7A4 //^_^
  622. PolaroidDate *CMyProfile::GetPolaroidDate(int dr1) {
  623. return 0;
  624. }
  625. //-------------------------------------------------------------------------------------------------
  626. //001CE7B8 //^_^
  627. void CMyProfile::SetPolaroidDate(int dr1, uchar cr2, uchar cr3) {
  628. }
  629. //-------------------------------------------------------------------------------------------------
  630. //001CE7D8 //内购促销,跳过
  631. int CMyProfile::GetPromotionPurchase(int) {
  632. return 0;
  633. }
  634. //-------------------------------------------------------------------------------------------------
  635. //001CE7FA //内购促销,跳过
  636. int CMyProfile::HaveActiveTriggeredPromotion() {
  637. return 0;
  638. }
  639. //-------------------------------------------------------------------------------------------------
  640. //001CE82E //内购促销,跳过
  641. void CMyProfile::AddPromotionPurchase(int) {
  642. }
  643. //-------------------------------------------------------------------------------------------------
  644. //001CE85A //内购促销,跳过
  645. int CMyProfile::SetupPromotionPurchase(int) {
  646. return 0;
  647. }
  648. //-------------------------------------------------------------------------------------------------
  649. //001CE8FA //内购促销,跳过
  650. int CMyProfile::AnotherTriggeredPromotionShowingOrBlocking(int) {
  651. return 0;
  652. }
  653. //-------------------------------------------------------------------------------------------------
  654. //001CE934 //^_^
  655. bool CMyProfile::IsSideStoryInitialised() {
  656. return CSideStoryProfile::m_tData.field_0;
  657. }
  658. //-------------------------------------------------------------------------------------------------
  659. //001CE944 //^_^
  660. bool CMyProfile::HaveCompletedSideQuest() {
  661. return m_TProfileDataCloud.field_470[0];
  662. }
  663. //-------------------------------------------------------------------------------------------------
  664. //001CE94A //^_^
  665. int CMyProfile::GetNumMedals(EMedal_Type dr1) {
  666. return m_TProfileDataCloud.NumMedals_480[dr1];
  667. }
  668. //-------------------------------------------------------------------------------------------------
  669. //001CE954 //^_^
  670. void CMyProfile::IncrementMedalType(EMedal_Type dr1, int) {
  671. ++m_TProfileDataCloud.NumMedals_480[dr1];
  672. }
  673. //-------------------------------------------------------------------------------------------------
  674. //001CE9E0 //^_^
  675. void CMyProfile::DecrementMedalType(EMedal_Type dr1) {
  676. --m_TProfileDataCloud.NumMedals_480[dr1];
  677. }
  678. //-------------------------------------------------------------------------------------------------
  679. //001CEA28 //升级相关, 跳过
  680. int CMyProfile::ShowUpdateMessageBox() {
  681. return 0;
  682. }
  683. //-------------------------------------------------------------------------------------------------
  684. //001CEA7C //应该用不到, 先放着
  685. void CMyProfile::ResetProfile() {
  686. }
  687. //-------------------------------------------------------------------------------------------------
  688. //001CECD8 //上传日志到AWS, 跳过
  689. void CMyProfile::SetupPushNotifications() {
  690. }
  691. //-------------------------------------------------------------------------------------------------
  692. //001D898C //^_^
  693. void CMyProfile::UseRewind() {
  694. pCStoryProfile->UseRewind();
  695. }
  696. //-------------------------------------------------------------------------------------------------