返回列表 发新帖

[悬赏求助] 【求助】过软件SDK验证

[复制链接]

69

主题

645

帖子

3844

积分

大学生

Rank: 5Rank: 5

金币
1324
好评
22
贡献
0

考神MT论坛帅哥MT论坛活跃会员

发表在  2019-7-27 22:22:03 来自手机  | 显示全部楼层 | 阅读模式
18金币
本帖最后由 qianhui_123456 于 2019-7-27 22:28 编辑


这是文本对比图

下面是别人过验证的4.0版本代码
  1. const/16 v1 0x400
  2. const/4 v5 0
  3. const/4 v4 1
  4. invoke-virtual {v6,v4} Lcom/carrot/iceworld/CarrotFantasy;->requestWindowFeature(I)Z
  5. invoke-virtual {v6} Lcom/carrot/iceworld/CarrotFantasy;->getWindow()Landroid/view/Window;
  6. move-result-object v0
  7. invoke-virtual {v0,v1,v1} Landroid/view/Window;->setFlags(II)V
  8. invoke-virtual {v6} Lcom/carrot/iceworld/CarrotFantasy;->getWindow()Landroid/view/Window;
  9. move-result-object v0
  10. const/16 v1 0x80
  11. invoke-virtual {v0,v1} Landroid/view/Window;->addFlags(I)V
  12. sget v0 Landroid/os/Build$VERSION;->SDK_INT:I
  13. const/16 v1 0x9
  14. if-lt v0 v1 :label_33
  15. const/4 v0 6
  16. invoke-virtual {v6,v0} Lcom/carrot/iceworld/CarrotFantasy;->setRequestedOrientation(I)V
  17. label_33:
  18. invoke-static {v6} Lcom/tianti/AppLogger;->init(Landroid/content/Context;)V
  19. const/16 v0 0xa
  20. invoke-static {v0} Lcom/tianti/AppLogger;->setSessionInterval(I)V
  21. invoke-static {} Lcom/tianti/AppLogger;->enableOnlineConfig()V
  22. invoke-static {} Lcom/tianti/AppLogger;->enableCrashReport()V
  23. invoke-static {} Lcom/carrot/iceworld/AdHelper;->initOnlineConfig()V
  24. sput-object v6 Lcom/carrot/iceworld/CarrotFantasy;->a:Lcom/carrot/iceworld/CarrotFantasy;
  25. invoke-static {} Lcom/umeng/onlineconfig/OnlineConfigAgent;->getInstance()Lcom/umeng/onlineconfig/OnlineConfigAgent;
  26. move-result-object v0
  27. invoke-virtual {v0,v6} Lcom/umeng/onlineconfig/OnlineConfigAgent;->updateOnlineConfig(Landroid/content/Context;)V
  28. const-wide/16 v0 0x2710
  29. invoke-static {v0,v1} Lcom/umeng/analytics/MobclickAgent;->setSessionContinueMillis(J)V
  30. invoke-static {} Lcom/umeng/onlineconfig/OnlineConfigAgent;->getInstance()Lcom/umeng/onlineconfig/OnlineConfigAgent;
  31. move-result-object v0
  32. sget-object v1 Lcom/carrot/iceworld/CarrotFantasy;->a:Lcom/carrot/iceworld/CarrotFantasy;
  33. const-string v2 "UpdateOnlyWifi"
  34. invoke-virtual {v0,v1,v2} Lcom/umeng/onlineconfig/OnlineConfigAgent;->getConfigParams(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
  35. move-result-object v0
  36. invoke-static {} Lcom/umeng/onlineconfig/OnlineConfigAgent;->getInstance()Lcom/umeng/onlineconfig/OnlineConfigAgent;
  37. move-result-object v1
  38. sget-object v2 Lcom/carrot/iceworld/CarrotFantasy;->a:Lcom/carrot/iceworld/CarrotFantasy;
  39. const-string v3 "UpdateTimeInterval"
  40. invoke-virtual {v1,v2,v3} Lcom/umeng/onlineconfig/OnlineConfigAgent;->getConfigParams(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
  41. invoke-static {v0} Lcom/carrot/iceworld/tools/r;->a(Ljava/lang/String;)Z
  42. move-result v1
  43. if-nez v1 :label_161
  44. invoke-static {v0} Lcom/carrot/iceworld/CarrotFantasy;->a(Ljava/lang/String;)I
  45. move-result v0
  46. if-nez v0 :label_157
  47. invoke-static {v4} Lcom/umeng/update/UmengUpdateAgent;->setUpdateOnlyWifi(Z)V
  48. label_102:
  49. sget-object v0 Lcom/carrot/iceworld/CarrotFantasy;->a:Lcom/carrot/iceworld/CarrotFantasy;
  50. invoke-static {v0} Lcom/umeng/update/UmengUpdateAgent;->silentUpdate(Landroid/content/Context;)V
  51. new-instance v0 Landroid/os/Message;
  52. invoke-direct {v0} Landroid/os/Message;-><init>()V
  53. const/16 v1 0x1c
  54. iput v1 v0 Landroid/os/Message;->what:I
  55. sget-object v1 Lcom/carrot/iceworld/CarrotFantasy;->aa:Lcom/carrot/iceworld/ShareHelper;
  56. invoke-virtual {v1,v0} Lcom/carrot/iceworld/ShareHelper;->sendMessage(Landroid/os/Message;)Z
  57. invoke-super {v6,v7} Lorg/cocos2dx/lib/Cocos2dxActivity;->onCreate(Landroid/os/Bundle;)V
  58. sget-object v0 Lcom/carrot/iceworld/CarrotFantasy;->aa:Lcom/carrot/iceworld/ShareHelper;
  59. sget-object v0 Lcom/carrot/iceworld/CarrotFantasy;->aa:Lcom/carrot/iceworld/ShareHelper;
  60. iget-object v0 v0 Lcom/carrot/iceworld/ShareHelper;->APP_ID:Ljava/lang/String;
  61. invoke-static {v6,v0,v4} Lcom/tencent/mm/sdk/openapi/WXAPIFactory;->createWXAPI(Landroid/content/Context;Ljava/lang/String;Z)Lcom/tencent/mm/sdk/openapi/IWXAPI;
  62. move-result-object v0
  63. sput-object v0 Lcom/carrot/iceworld/ShareHelper;->api:Lcom/tencent/mm/sdk/openapi/IWXAPI;
  64. sget-object v0 Lcom/carrot/iceworld/CarrotFantasy;->aa:Lcom/carrot/iceworld/ShareHelper;
  65. sget-object v0 Lcom/carrot/iceworld/ShareHelper;->api:Lcom/tencent/mm/sdk/openapi/IWXAPI;
  66. sget-object v1 Lcom/carrot/iceworld/CarrotFantasy;->aa:Lcom/carrot/iceworld/ShareHelper;
  67. iget-object v1 v1 Lcom/carrot/iceworld/ShareHelper;->APP_ID:Ljava/lang/String;
  68. invoke-interface {v0,v1} Lcom/tencent/mm/sdk/openapi/IWXAPI;->registerApp(Ljava/lang/String;)Z
  69. move-result v0
  70. sput-boolean v0 Lcom/carrot/iceworld/CarrotFantasy;->S:Z
  71. invoke-static {} Lcom/carrot/iceworld/AdHelper;->onCreate()V
  72. invoke-static/range {v6..v6} Lcom/pubsky/activitiesbox/a/b;->a(Landroid/content/Context;)V
  73. return-void
  74. label_157:
  75. invoke-static {v5} Lcom/umeng/update/UmengUpdateAgent;->setUpdateOnlyWifi(Z)V
  76. goto :label_102
  77. label_161:
  78. invoke-static {v5} Lcom/umeng/update/UmengUpdateAgent;->setUpdateOnlyWifi(Z)V
  79. goto :label_102
复制代码



这是我的4.1,我对比修改了下结果软件闪退
所以我把原码放出来
  1. const/16 v1 0x400
  2. const/4 v5 0
  3. const/4 v4 1
  4. invoke-virtual {v6,v4} Lcom/carrot/iceworld/CarrotFantasy;->requestWindowFeature(I)Z
  5. invoke-virtual {v6} Lcom/carrot/iceworld/CarrotFantasy;->getWindow()Landroid/view/Window;
  6. move-result-object v0
  7. invoke-virtual {v0,v1,v1} Landroid/view/Window;->setFlags(II)V
  8. invoke-virtual {v6} Lcom/carrot/iceworld/CarrotFantasy;->getWindow()Landroid/view/Window;
  9. move-result-object v0
  10. const/16 v1 0x80
  11. invoke-virtual {v0,v1} Landroid/view/Window;->addFlags(I)V
  12. sget v0 Landroid/os/Build$VERSION;->SDK_INT:I
  13. const/16 v1 0x9
  14. if-lt v0 v1 :label_33
  15. const/4 v0 6
  16. invoke-virtual {v6,v0} Lcom/carrot/iceworld/CarrotFantasy;->setRequestedOrientation(I)V
  17. label_33:
  18. sput-object v6 Lcom/carrot/iceworld/CarrotFantasy;->a:Lcom/carrot/iceworld/CarrotFantasy;
  19. sget v0 Landroid/os/Build$VERSION;->SDK_INT:I
  20. const/16 v1 0x17
  21. if-lt v0 v1 :label_44
  22. invoke-static {} Lcom/carrot/iceworld/DeviceOrChannelHelper;->checkAndRequestPermission()V
  23. label_44:
  24. invoke-static {v6} Lcom/tianti/AppLogger;->init(Landroid/content/Context;)V
  25. const/16 v0 0xa
  26. invoke-static {v0} Lcom/tianti/AppLogger;->setSessionInterval(I)V
  27. invoke-static {} Lcom/tianti/AppLogger;->enableOnlineConfig()V
  28. invoke-static {} Lcom/umeng/onlineconfig/OnlineConfigAgent;->getInstance()Lcom/umeng/onlineconfig/OnlineConfigAgent;
  29. move-result-object v0
  30. invoke-virtual {v0,v6} Lcom/umeng/onlineconfig/OnlineConfigAgent;->updateOnlineConfig(Landroid/content/Context;)V
  31. const-wide/16 v0 0x2710
  32. invoke-static {v0,v1} Lcom/umeng/analytics/MobclickAgent;->setSessionContinueMillis(J)V
  33. invoke-static {} Lcom/umeng/onlineconfig/OnlineConfigAgent;->getInstance()Lcom/umeng/onlineconfig/OnlineConfigAgent;
  34. move-result-object v0
  35. sget-object v1 Lcom/carrot/iceworld/CarrotFantasy;->a:Lcom/carrot/iceworld/CarrotFantasy;
  36. const-string v2 "UpdateOnlyWifi"
  37. invoke-virtual {v0,v1,v2} Lcom/umeng/onlineconfig/OnlineConfigAgent;->getConfigParams(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
  38. move-result-object v0
  39. invoke-static {} Lcom/umeng/onlineconfig/OnlineConfigAgent;->getInstance()Lcom/umeng/onlineconfig/OnlineConfigAgent;
  40. move-result-object v1
  41. sget-object v2 Lcom/carrot/iceworld/CarrotFantasy;->a:Lcom/carrot/iceworld/CarrotFantasy;
  42. const-string v3 "UpdateTimeInterval"
  43. invoke-virtual {v1,v2,v3} Lcom/umeng/onlineconfig/OnlineConfigAgent;->getConfigParams(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
  44. invoke-static {v0} La/q;->a(Ljava/lang/String;)Z
  45. move-result v1
  46. if-nez v1 :label_144
  47. invoke-static {v0} Lcom/carrot/iceworld/CarrotFantasy;->a(Ljava/lang/String;)I
  48. move-result v0
  49. if-nez v0 :label_140
  50. invoke-static {v4} Lcom/umeng/update/UmengUpdateAgent;->setUpdateOnlyWifi(Z)V
  51. label_105:
  52. sget-object v0 Lcom/carrot/iceworld/CarrotFantasy;->a:Lcom/carrot/iceworld/CarrotFantasy;
  53. invoke-static {v0} Lcom/umeng/update/UmengUpdateAgent;->silentUpdate(Landroid/content/Context;)V
  54. invoke-super {v6,v7} Lorg/cocos2dx/lib/Cocos2dxActivity;->onCreate(Landroid/os/Bundle;)V
  55. sget-object v0 Lcom/carrot/iceworld/CarrotFantasy;->X:Lcom/carrot/iceworld/ShareHelper;
  56. sget-object v0 Lcom/carrot/iceworld/CarrotFantasy;->X:Lcom/carrot/iceworld/ShareHelper;
  57. iget-object v0 v0 Lcom/carrot/iceworld/ShareHelper;->APP_ID:Ljava/lang/String;
  58. invoke-static {v6,v0,v4} Lcom/tencent/mm/sdk/openapi/WXAPIFactory;->createWXAPI(Landroid/content/Context;Ljava/lang/String;Z)Lcom/tencent/mm/sdk/openapi/IWXAPI;
  59. move-result-object v0
  60. sput-object v0 Lcom/carrot/iceworld/ShareHelper;->api:Lcom/tencent/mm/sdk/openapi/IWXAPI;
  61. sget-object v0 Lcom/carrot/iceworld/CarrotFantasy;->X:Lcom/carrot/iceworld/ShareHelper;
  62. sget-object v0 Lcom/carrot/iceworld/ShareHelper;->api:Lcom/tencent/mm/sdk/openapi/IWXAPI;
  63. sget-object v1 Lcom/carrot/iceworld/CarrotFantasy;->X:Lcom/carrot/iceworld/ShareHelper;
  64. iget-object v1 v1 Lcom/carrot/iceworld/ShareHelper;->APP_ID:Ljava/lang/String;
  65. invoke-interface {v0,v1} Lcom/tencent/mm/sdk/openapi/IWXAPI;->registerApp(Ljava/lang/String;)Z
  66. move-result v0
  67. sput-boolean v0 Lcom/carrot/iceworld/CarrotFantasy;->S:Z
  68. return-void
  69. label_140:
  70. invoke-static {v5} Lcom/umeng/update/UmengUpdateAgent;->setUpdateOnlyWifi(Z)V
  71. goto :label_105
  72. label_144:
  73. invoke-static {v5} Lcom/umeng/update/UmengUpdateAgent;->setUpdateOnlyWifi(Z)V
  74. goto :label_105
复制代码


要过的软件就是保卫萝卜2【TapTalp】
@萌❤心(尼斯湖小水怪) @Tab @唯独爱你 @耗子爱吃草 @守护 @赤⚡️夜 @苦艾酒 @Bin @希望的转生 @꯭清꯭羽꯭ღ @恋灬风

回复

使用道具 举报

3

主题

385

帖子

1289

积分

高中生

Rank: 4

金币
12
好评
1
贡献
0
发表于 2019-7-27 23:16:55 来自手机  | 显示全部楼层
过SDK验证有什么用?
回复

使用道具 举报

187

主题

4065

帖子

9909

积分

硕士生

大水怪在此![#滑稽]

Rank: 6Rank: 6

金币
2128
好评
62
贡献
1

MT论坛活跃会员MT论坛侠客MT论坛美女懒考神

QQ
发表于 2019-7-28 19:04:56 来自手机  | 显示全部楼层
我不会,你是不是把所有好友都艾特了?
回复

使用道具 举报

21

主题

1591

帖子

5719

积分

硕士生

我爱学习

Rank: 6Rank: 6

金币
1670
好评
15
贡献
1

考神MT论坛帅哥

发表于 2019-8-26 21:19:25 来自手机  | 显示全部楼层
看不懂
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表