Advertisement
MattFiler

Untitled

Mar 26th, 2022
936
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 7.89 KB | None | 0 0
  1. undefined8 __thiscall
  2. CATHODE::LogicAll::on_custom_method
  3.           (LogicAll *this,ShortGuid *param_1,bool *param_2,MemoryPtr *param_3,MemoryRefPtr *param_4)
  4.  
  5. {
  6.   bool bVar1;
  7.   int iVar2;
  8.   CathodeProfileNode *this_00;
  9.   CathodeProfileNode aCStack144 [8];
  10.   CathodeProfileNode aCStack136 [8];
  11.   CathodeProfileNode aCStack128 [8];
  12.   CathodeProfileNode aCStack120 [8];
  13.   CathodeProfileNode aCStack112 [8];
  14.   CathodeProfileNode aCStack104 [8];
  15.   CathodeProfileNode aCStack96 [8];
  16.   CathodeProfileNode aCStack88 [8];
  17.   CathodeProfileNode aCStack80 [8];
  18.   CathodeProfileNode aCStack72 [8];
  19.   CathodeProfileNode aCStack64 [8];
  20.   CathodeProfileNode aCStack56 [8];
  21.  
  22.   this_00 = aCStack144;
  23.   iVar2 = *(int *)param_1;
  24.   if (EntityMethodInterfaceClass::m_trigger_method_guid == iVar2) {
  25.     CathodeProfileNode::CathodeProfileNode(aCStack56,"trigger");
  26.     push_entity_guid_context();
  27.     add_entity_guid_context(param_3);
  28.     if (*(char *)(EntityManager::m_instance + 0x182) != '\0') {
  29.       *(undefined *)(EntityManager::m_instance + 0x182) = 0;
  30.       iVar2 = CA::running_in_debugger();
  31.       if (iVar2 != 0) {
  32.         _DebugBreak();
  33.       }
  34.     }
  35.     bVar1 = (bool)(**(code **)(*(long *)this + 0x518))(this,param_3,param_4);
  36.     *param_2 = bVar1;
  37.     pop_entity_guid_context();
  38.     this_00 = aCStack56;
  39.   }
  40.   else if (EntityMethodInterfaceClass::m_reset_method_guid == iVar2) {
  41.     CathodeProfileNode::CathodeProfileNode(aCStack64,"reset");
  42.     push_entity_guid_context();
  43.     add_entity_guid_context(param_3);
  44.     if (*(char *)(EntityManager::m_instance + 0x182) != '\0') {
  45.       *(undefined *)(EntityManager::m_instance + 0x182) = 0;
  46.       iVar2 = CA::running_in_debugger();
  47.       if (iVar2 != 0) {
  48.         _DebugBreak();
  49.       }
  50.     }
  51.     bVar1 = (bool)(**(code **)(*(long *)this + 0x740))(this,param_3,param_4);
  52.     *param_2 = bVar1;
  53.     pop_entity_guid_context();
  54.     this_00 = aCStack64;
  55.   }
  56.   else if (EntityMethodInterfaceClass::m_Pin1_method_guid == iVar2) {
  57.     CathodeProfileNode::CathodeProfileNode(aCStack72,"Pin1");
  58.     push_entity_guid_context();
  59.     add_entity_guid_context(param_3);
  60.     if (*(char *)(EntityManager::m_instance + 0x182) != '\0') {
  61.       *(undefined *)(EntityManager::m_instance + 0x182) = 0;
  62.       iVar2 = CA::running_in_debugger();
  63.       if (iVar2 != 0) {
  64.         _DebugBreak();
  65.       }
  66.     }
  67.     bVar1 = (bool)(**(code **)(*(long *)this + 0x748))(this,param_3,param_4);
  68.     *param_2 = bVar1;
  69.     pop_entity_guid_context();
  70.     this_00 = aCStack72;
  71.   }
  72.   else if (EntityMethodInterfaceClass::m_Pin2_method_guid == iVar2) {
  73.     CathodeProfileNode::CathodeProfileNode(aCStack80,"Pin2");
  74.     push_entity_guid_context();
  75.     add_entity_guid_context(param_3);
  76.     if (*(char *)(EntityManager::m_instance + 0x182) != '\0') {
  77.       *(undefined *)(EntityManager::m_instance + 0x182) = 0;
  78.       iVar2 = CA::running_in_debugger();
  79.       if (iVar2 != 0) {
  80.         _DebugBreak();
  81.       }
  82.     }
  83.     bVar1 = (bool)(**(code **)(*(long *)this + 0x750))(this,param_3,param_4);
  84.     *param_2 = bVar1;
  85.     pop_entity_guid_context();
  86.     this_00 = aCStack80;
  87.   }
  88.   else if (EntityMethodInterfaceClass::m_Pin3_method_guid == iVar2) {
  89.     CathodeProfileNode::CathodeProfileNode(aCStack88,"Pin3");
  90.     push_entity_guid_context();
  91.     add_entity_guid_context(param_3);
  92.     if (*(char *)(EntityManager::m_instance + 0x182) != '\0') {
  93.       *(undefined *)(EntityManager::m_instance + 0x182) = 0;
  94.       iVar2 = CA::running_in_debugger();
  95.       if (iVar2 != 0) {
  96.         _DebugBreak();
  97.       }
  98.     }
  99.     bVar1 = (bool)(**(code **)(*(long *)this + 0x758))(this,param_3,param_4);
  100.     *param_2 = bVar1;
  101.     pop_entity_guid_context();
  102.     this_00 = aCStack88;
  103.   }
  104.   else if (EntityMethodInterfaceClass::m_Pin4_method_guid == iVar2) {
  105.     CathodeProfileNode::CathodeProfileNode(aCStack96,"Pin4");
  106.     push_entity_guid_context();
  107.     add_entity_guid_context(param_3);
  108.     if (*(char *)(EntityManager::m_instance + 0x182) != '\0') {
  109.       *(undefined *)(EntityManager::m_instance + 0x182) = 0;
  110.       iVar2 = CA::running_in_debugger();
  111.       if (iVar2 != 0) {
  112.         _DebugBreak();
  113.       }
  114.     }
  115.     bVar1 = (bool)(**(code **)(*(long *)this + 0x760))(this,param_3,param_4);
  116.     *param_2 = bVar1;
  117.     pop_entity_guid_context();
  118.     this_00 = aCStack96;
  119.   }
  120.   else if (EntityMethodInterfaceClass::m_Pin5_method_guid == iVar2) {
  121.     CathodeProfileNode::CathodeProfileNode(aCStack104,"Pin5");
  122.     push_entity_guid_context();
  123.     add_entity_guid_context(param_3);
  124.     if (*(char *)(EntityManager::m_instance + 0x182) != '\0') {
  125.       *(undefined *)(EntityManager::m_instance + 0x182) = 0;
  126.       iVar2 = CA::running_in_debugger();
  127.       if (iVar2 != 0) {
  128.         _DebugBreak();
  129.       }
  130.     }
  131.     bVar1 = (bool)(**(code **)(*(long *)this + 0x768))(this,param_3,param_4);
  132.     *param_2 = bVar1;
  133.     pop_entity_guid_context();
  134.     this_00 = aCStack104;
  135.   }
  136.   else if (EntityMethodInterfaceClass::m_Pin6_method_guid == iVar2) {
  137.     CathodeProfileNode::CathodeProfileNode(aCStack112,"Pin6");
  138.     push_entity_guid_context();
  139.     add_entity_guid_context(param_3);
  140.     if (*(char *)(EntityManager::m_instance + 0x182) != '\0') {
  141.       *(undefined *)(EntityManager::m_instance + 0x182) = 0;
  142.       iVar2 = CA::running_in_debugger();
  143.       if (iVar2 != 0) {
  144.         _DebugBreak();
  145.       }
  146.     }
  147.     bVar1 = (bool)(**(code **)(*(long *)this + 0x770))(this,param_3,param_4);
  148.     *param_2 = bVar1;
  149.     pop_entity_guid_context();
  150.     this_00 = aCStack112;
  151.   }
  152.   else if (EntityMethodInterfaceClass::m_Pin7_method_guid == iVar2) {
  153.     CathodeProfileNode::CathodeProfileNode(aCStack120,"Pin7");
  154.     push_entity_guid_context();
  155.     add_entity_guid_context(param_3);
  156.     if (*(char *)(EntityManager::m_instance + 0x182) != '\0') {
  157.       *(undefined *)(EntityManager::m_instance + 0x182) = 0;
  158.       iVar2 = CA::running_in_debugger();
  159.       if (iVar2 != 0) {
  160.         _DebugBreak();
  161.       }
  162.     }
  163.     bVar1 = (bool)(**(code **)(*(long *)this + 0x778))(this,param_3,param_4);
  164.     *param_2 = bVar1;
  165.     pop_entity_guid_context();
  166.     this_00 = aCStack120;
  167.   }
  168.   else if (EntityMethodInterfaceClass::m_Pin8_method_guid == iVar2) {
  169.     CathodeProfileNode::CathodeProfileNode(aCStack128,"Pin8");
  170.     push_entity_guid_context();
  171.     add_entity_guid_context(param_3);
  172.     if (*(char *)(EntityManager::m_instance + 0x182) != '\0') {
  173.       *(undefined *)(EntityManager::m_instance + 0x182) = 0;
  174.       iVar2 = CA::running_in_debugger();
  175.       if (iVar2 != 0) {
  176.         _DebugBreak();
  177.       }
  178.     }
  179.     bVar1 = (bool)(**(code **)(*(long *)this + 0x780))(this,param_3,param_4);
  180.     *param_2 = bVar1;
  181.     pop_entity_guid_context();
  182.     this_00 = aCStack128;
  183.   }
  184.   else if (EntityMethodInterfaceClass::m_Pin9_method_guid == iVar2) {
  185.     CathodeProfileNode::CathodeProfileNode(aCStack136,"Pin9");
  186.     push_entity_guid_context();
  187.     add_entity_guid_context(param_3);
  188.     if (*(char *)(EntityManager::m_instance + 0x182) != '\0') {
  189.       *(undefined *)(EntityManager::m_instance + 0x182) = 0;
  190.       iVar2 = CA::running_in_debugger();
  191.       if (iVar2 != 0) {
  192.         _DebugBreak();
  193.       }
  194.     }
  195.     bVar1 = (bool)(**(code **)(*(long *)this + 0x788))(this,param_3,param_4);
  196.     *param_2 = bVar1;
  197.     pop_entity_guid_context();
  198.     this_00 = aCStack136;
  199.   }
  200.   else {
  201.     if (EntityMethodInterfaceClass::m_Pin10_method_guid != iVar2) {
  202.       return 0;
  203.     }
  204.     CathodeProfileNode::CathodeProfileNode(aCStack144,"Pin10");
  205.     push_entity_guid_context();
  206.     add_entity_guid_context(param_3);
  207.     if (*(char *)(EntityManager::m_instance + 0x182) != '\0') {
  208.       *(undefined *)(EntityManager::m_instance + 0x182) = 0;
  209.       iVar2 = CA::running_in_debugger();
  210.       if (iVar2 != 0) {
  211.         _DebugBreak();
  212.       }
  213.     }
  214.     bVar1 = (bool)(**(code **)(*(long *)this + 0x790))(this,param_3,param_4);
  215.     *param_2 = bVar1;
  216.     pop_entity_guid_context();
  217.   }
  218.   CathodeProfileNode::~CathodeProfileNode(this_00);
  219.   return 1;
  220. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement