// // CountTriggerGameObject::triggerObject from 0x3ee864 to 0x3ee96a (262 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void CountTriggerGameObject::triggerObject( CountTriggerGameObject *a1, GJBaseGameLayer *a2, int a3, std::vector *const a4) { int m_objectID; // r6 GJEffectManager *m_effectManager; // r11 int v9; // r10 int v10; // r9 bool m_multiActivate; // r8 int v12; // r2 bool v13; // r3 int m_itemID; // r11 int m_pickupCount; // r10 int m_targetGroupID; // r9 bool m_activateGroup; // r2 int m_pickupTriggerMode; // r3 int v19; // [sp+18h] [bp-1Ch] bool v20; // [sp+18h] [bp-1Ch] bool v21; // [sp+1Ch] [bp-18h] int v22; // [sp+1Ch] [bp-18h] std::vector v23; // [sp+20h] [bp-14h] BYREF m_objectID = a1->m_objectID; switch ( m_objectID ) { case 1811: m_itemID = a1->m_itemID; m_pickupCount = a1->m_pickupCount; m_targetGroupID = a1->m_targetGroupID; m_activateGroup = a1->m_activateGroup; m_pickupTriggerMode = a1->m_pickupTriggerMode; if ( a4 ) { v22 = a1->m_pickupTriggerMode; v20 = a1->m_activateGroup; std::vector::vector((unsigned int *)&v23, (int)a4); m_activateGroup = v20; m_pickupTriggerMode = v22; } else { memset(&v23, 0, sizeof(v23)); } GJBaseGameLayer::testInstantCountTrigger( a2, m_itemID, m_pickupCount, m_targetGroupID, m_activateGroup, m_pickupTriggerMode, &v23, a1->m_uniqueID, a1->m_controlID); goto LABEL_12; case 1817: GJBaseGameLayer::addPickupTrigger(a2, a1); break; case 1611: m_effectManager = a2->m_effectManager; v9 = a1->m_itemID; v10 = a1->m_pickupCount; m_multiActivate = a1->m_multiActivate; v12 = a1->m_targetGroupID; v13 = a1->m_activateGroup; if ( a4 ) { v21 = a1->m_activateGroup; v19 = a1->m_targetGroupID; std::vector::vector((unsigned int *)&v23, (int)a4); v12 = v19; v13 = v21; } else { memset(&v23, 0, sizeof(v23)); } GJEffectManager::runCountTrigger( m_effectManager, v9, v10, m_multiActivate, v12, v13, &v23, a1->m_uniqueID, a1->m_controlID); LABEL_12: std::_Vector_base::~_Vector_base((void **)&v23.m_start); return; default: EffectGameObject::triggerObject(a1, a2, a3, a4); break; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source