Advertisement
Moolah60

wild

May 2nd, 2019
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 4.25 KB | None | 0 0
  1. char * __thiscall segchk(emu64 *this,ulong inAddress)
  2.  
  3. {
  4.   uint uVar1;
  5.   void *pvVar2;
  6.   void *pvVar3;
  7.   char *pcVar4;
  8.   char "anime_6_model+sizeof(Mtx)*%2u" [46];
  9.   char acStack56 [32];
  10.  
  11.   "anime_6_model+sizeof(Mtx)*%2u"._0_4_ = 0x616e696d;
  12.   "anime_6_model+sizeof(Mtx)*%2u"._4_4_ = 0x655f345f;
  13.   "anime_6_model+sizeof(Mtx)*%2u"._8_4_ = 0x7478742b;
  14.   "anime_6_model+sizeof(Mtx)*%2u"._12_4_ = 0x25347500;
  15.   "anime_6_model+sizeof(Mtx)*%2u"._16_4_ = 0x616e696d;
  16.   "anime_6_model+sizeof(Mtx)*%2u"._20_4_ = 0x655f365f;
  17.   "anime_6_model+sizeof(Mtx)*%2u"._24_4_ = 0x6d6f6465;
  18.   "anime_6_model+sizeof(Mtx)*%2u"._28_4_ = 0x6c2b7369;
  19.   "anime_6_model+sizeof(Mtx)*%2u"._32_4_ = 0x7a656f66;
  20.   "anime_6_model+sizeof(Mtx)*%2u"._36_4_ = 0x284d7478;
  21.   "anime_6_model+sizeof(Mtx)*%2u"._40_4_ = 0x292a2532;
  22.   "anime_6_model+sizeof(Mtx)*%2u"._44_2_ = 0x7500;
  23.   pvVar2 = seg2k0(this,inAddress);
  24.   pvVar3 = (void *)convert_partial_address((int)pvVar2);
  25.   str$811[0] = 0;
  26.   if ((void *)inAddress == pvVar2) {
  27.     if (pvVar3 == pvVar2) {
  28.       snprintf(str$811,0x40,@882,inAddress);
  29.     }
  30.     else {
  31.       snprintf(str$811,0x40,@883,inAddress,pvVar3);
  32.     }
  33.   }
  34.   else {
  35.     if (inAddress == 0x7000000) {
  36.       pcVar4 = @884;
  37.     }
  38.     else {
  39.       if (inAddress == 0x8000000) {
  40.         pcVar4 = @885;
  41.       }
  42.       else {
  43.         if (inAddress == 0x9000000) {
  44.           pcVar4 = @886;
  45.         }
  46.         else {
  47.           if (inAddress == 0xa000000) {
  48.             pcVar4 = @887;
  49.           }
  50.           else {
  51.             if (inAddress == 0xb000000) {
  52.               pcVar4 = @888;
  53.             }
  54.             else {
  55.               if (inAddress == 0xc000000) {
  56.                 pcVar4 = @889;
  57.               }
  58.               else {
  59.                 if (inAddress == 0xd000000) {
  60.                   pcVar4 = @890;
  61.                 }
  62.                 else {
  63.                   if (inAddress == 0x8000000) {
  64.                     pcVar4 = @891;
  65.                   }
  66.                   else {
  67.                     if (inAddress == 0x9000000) {
  68.                       pcVar4 = @892;
  69.                     }
  70.                     else {
  71.                       if (inAddress == 0xa000000) {
  72.                         pcVar4 = @893;
  73.                       }
  74.                       else {
  75.                         if (inAddress == 0xb000000) {
  76.                           pcVar4 = @894;
  77.                         }
  78.                         else {
  79.                           if (inAddress == 0xc000000) {
  80.                             pcVar4 = @895;
  81.                           }
  82.                           else {
  83.                             if (inAddress == 0xd000000) {
  84.                               pcVar4 = @896;
  85.                             }
  86.                             else {
  87.                               if ((inAddress < 0xb000001) || (0xb0007ff < inAddress)) {
  88.                                 if ((inAddress < 0xd000001) || (0xd000407 < inAddress)) {
  89.                                   pcVar4 = NULL;
  90.                                 }
  91.                                 else {
  92.                                   uVar1 = inAddress + 0xf3000000;
  93.                                   snprintf(acStack56,0x1d,"anime_6_model+sizeof(Mtx)*%2u" + 0x10,((int)uVar1 >> 6) + (uint)((int)uVar1 < 0 && (uVar1 & 0x3f) != 0));
  94.                                   pcVar4 = acStack56;
  95.                                 }
  96.                               }
  97.                               else {
  98.                                 snprintf(acStack56,0x1d,"anime_6_model+sizeof(Mtx)*%2u");
  99.                                 pcVar4 = acStack56;
  100.                               }
  101.                             }
  102.                           }
  103.                         }
  104.                       }
  105.                     }
  106.                   }
  107.                 }
  108.               }
  109.             }
  110.           }
  111.         }
  112.       }
  113.     }
  114.     if (pvVar3 == pvVar2) {
  115.       if (pcVar4 == NULL) {
  116.         snprintf(str$811,0x40,@898,inAddress,pvVar2);
  117.       }
  118.       else {
  119.         snprintf(str$811,0x40,@897,pcVar4,pvVar2);
  120.       }
  121.     }
  122.     else {
  123.       if (pcVar4 == NULL) {
  124.         snprintf(str$811,0x40,@900,inAddress,pvVar2,pvVar3);
  125.       }
  126.       else {
  127.         snprintf(str$811,0x40,@899,pcVar4,pvVar2,pvVar3);
  128.       }
  129.     }
  130.   }
  131.   return str$811;
  132. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement