Advertisement
MattFiler

Untitled

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