//
// EffectGameObject::triggerObject from 0x76f498 to 0x77038c (3828 bytes)
//
// 32 xrefs:
// > TransformTriggerGameObject::triggerObject @ 0x7703b4
// > CameraTriggerGameObject::triggerObject @ 0x770410
// > RandTriggerGameObject::triggerObject @ 0x770640
// > CountTriggerGameObject::triggerObject @ 0x770720
// > TimerTriggerGameObject::triggerObject @ 0x770aac
// > ItemTriggerGameObject::triggerObject @ 0x770b58
// > ??> @ 0xc1650
// > ??> @ 0x1162330
// > ??> @ 0x1162b30
// > ??> @ 0x1163330
// > ??> @ 0x1163b30
// > ??> @ 0x1164330
// > ??> @ 0x1164b30
// > ??> @ 0x1165330
// > ??> @ 0x1167300
// > ??> @ 0x1167b00
// > ??> @ 0x1168b40
// > ??> @ 0x1169340
// > ??> @ 0x1169b40
// > ??> @ 0x116a340
// > ??> @ 0x116ab40
// > ??> @ 0x116b350
// > ??> @ 0x116cb50
// > ??> @ 0x116d350
// > ??> @ 0x116db50
// > ??> @ 0x1171350
// > ??> @ 0x1173350
// > ??> @ 0x1173b50
// > ??> @ 0x1174b50
// > ??> @ 0x1175350
// > ??> @ 0x1176350
// > ??> @ 0x1176b50
//
// 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 EffectGameObject::triggerObject(EffectGameObject *a1, GJBaseGameLayer *a2, int a3, std::vector *const a4)
{
int m_objectID; // w0
GJEffectManager *v8; // x26
int v9; // w25
bool v10; // w24
bool v11; // w21
int *v12; // x0
unsigned int m_targetGroupID; // w26
_BOOL4 m_activateGroup; // w25
void (__fastcall *toggleGroupTriggered)(GJBaseGameLayer *__hidden, int, bool, const std::vector *, int, int); // x24
int *m_start; // x1
int *m_finish; // x23
signed __int64 v18; // x23
unsigned __int64 v19; // x0
signed __int64 v20; // x22
int *v21; // x3
int m_collectiblePoints; // w1
GJEffectManager *m_effectManager; // x26
int v24; // w25
bool m_touchHoldMode; // w24
TouchTriggerType m_touchToggleMode; // w3
TouchTriggerControl m_touchPlayerMode; // w4
bool m_isDualMode; // w21
GameManager *v29; // x0
float m_duration; // s0
float m_shakeStrength; // s1
GameManager *v32; // x0
int v33; // w21
bool v34; // w2
GJEffectManager *v35; // x24
unsigned int v36; // w25
void (__fastcall *spawnGroup)(GJBaseGameLayer *__hidden, int, bool, double, const std::vector *, int, int); // x24
int v38; // w24
void (__fastcall *v39)(GJBaseGameLayer *__hidden, int, bool, double, const std::vector *, int, int); // x25
GameManager *v40; // x0
PulseEffectType v41; // w3
GameManager *v42; // x0
GameManager *v43; // x0
int v44; // w24
int m_itemID; // w1
void (__fastcall *v46)(GJBaseGameLayer *__hidden, int, bool, double, const std::vector *, int, int); // x24
unsigned int m_centerGroupID; // w25
int v48; // w2
GJEffectManager *v49; // x27
int v50; // w26
int m_itemID2; // w3
bool m_triggerOnExit; // w25
bool v53; // w24
GJEffectManager *v54; // x24
int v55; // w3
int v56; // w21
bool v57; // w4
bool v58; // w5
_BOOL4 v59; // w0
float v60; // s0
bool v61; // [xsp+98h] [xbp+68h]
TouchTriggerControl v62; // [xsp+A0h] [xbp+70h]
int v63; // [xsp+A0h] [xbp+70h]
bool v64; // [xsp+A0h] [xbp+70h]
TouchTriggerType v65; // [xsp+A8h] [xbp+78h]
bool v66; // [xsp+A8h] [xbp+78h]
int v67; // [xsp+A8h] [xbp+78h]
int v68; // [xsp+A8h] [xbp+78h]
std::vector p; // [xsp+B0h] [xbp+80h] BYREF
if ( a1->m_objectType == Collectible )
{
if ( a1->m_collectibleIsPickupItem )
GJBaseGameLayer::collectedObject(a2, a1);
if ( a1->m_collectibleIsToggleTrigger )
{
m_targetGroupID = a1->m_targetGroupID;
m_activateGroup = a1->m_activateGroup;
toggleGroupTriggered = a2->toggleGroupTriggered;
if ( a4 )
{
m_start = a4->m_start;
m_finish = a4->m_finish;
memset(&p, 0, sizeof(p));
v18 = (char *)m_finish - (char *)m_start;
v19 = v18 >> 2;
if ( v18 >> 2 )
{
if ( v19 > 0x3FFFFFFFFFFFFFFFLL )
sub_D1383C();
v21 = (int *)operator new(v18);
m_start = a4->m_start;
v20 = (char *)a4->m_finish - (char *)a4->m_start;
v19 = v20 >> 2;
}
else
{
v20 = v18;
v21 = nullptr;
}
p.m_start = v21;
p.m_finish = v21;
p.m_reserveEnd = (int *)((char *)v21 + v18);
if ( v19 )
v21 = (int *)memmove(v21, m_start, v20);
p.m_finish = (int *)((char *)v21 + v20);
}
else
{
memset(&p, 0, sizeof(p));
}
toggleGroupTriggered(a2, m_targetGroupID, m_activateGroup, &p, a1->m_uniqueID, a1->m_controlID);
if ( p.m_start )
operator delete(p.m_start);
}
m_collectiblePoints = a1->m_collectiblePoints;
if ( m_collectiblePoints )
GJBaseGameLayer::addPoints(a2, m_collectiblePoints);
return;
}
m_objectID = a1->m_objectID;
if ( m_objectID == 1917 )
{
a2->reverseDirection(a2, a1);
return;
}
if ( m_objectID > 1917 )
{
if ( m_objectID <= 3015 )
{
if ( m_objectID >= 3006 )
{
GJBaseGameLayer::triggerAreaEffect(a2, (EnterEffectObject *)a1);
return;
}
if ( m_objectID == 2903 )
{
GJBaseGameLayer::triggerGradientCommand(a2, (GradientTriggerObject *)a1);
return;
}
if ( m_objectID <= 2903 )
{
if ( m_objectID == 1935 )
{
GJBaseGameLayer::queueTimeWarp(a2, a1->m_timeWarpTimeMod);
}
else if ( m_objectID <= 1935 )
{
switch ( m_objectID )
{
case 1932:
GJBaseGameLayer::activatePlayerControlTrigger(a2, (PlayerControlGameObject *)a1);
break;
case 1934:
GJBaseGameLayer::activateSongTrigger(a2, (SongTriggerGameObject *)a1);
break;
case 1931:
a2->activateEndTrigger(a2, a1->m_targetGroupID, a1->m_endReversed, a1->m_lockToPlayerY);
break;
}
}
else if ( m_objectID == 2899 )
{
GJBaseGameLayer::processOptionsTrigger(a2, (GameOptionsTrigger *)a1);
}
else if ( m_objectID <= 2899 )
{
if ( m_objectID == 2066 )
GJBaseGameLayer::triggerGravityChange(a2, a1, a3);
}
else if ( m_objectID == 2900 )
{
a2->rotateGameplay(a2, (RotateGameplayGameObject *)a1);
}
else if ( m_objectID == 2901 )
{
if ( a1->m_moveTargetMode == YOnly
|| (GJBaseGameLayer::updateGameplayOffsetX(a2, (int)a1->m_moveOffset.x, a1->m_lockToPlayerX),
a1->m_moveTargetMode != XOnly) )
{
GJBaseGameLayer::updateGameplayOffsetY(a2, (int)a1->m_moveOffset.y, a1->m_lockToPlayerY);
}
}
return;
}
if ( m_objectID <= 2917 )
{
if ( m_objectID < 2909 && m_objectID > 2905 && m_objectID != 2907 )
return;
}
else
{
if ( m_objectID < 2919 )
return;
if ( m_objectID > 2924 )
{
if ( m_objectID == 2999 )
GJBaseGameLayer::updateMGOffsetY(
a2,
a1->m_moveOffset.y,
a1->m_duration,
a1->m_easingType,
a1->m_easingRate,
a1->m_uniqueID,
a1->m_controlID);
return;
}
}
GJBaseGameLayer::triggerShaderCommand(a2, (ShaderGameObject *)a1);
return;
}
if ( m_objectID == 3605 )
{
GJBaseGameLayer::activateSongEditTrigger(a2, (SongTriggerGameObject *)a1);
return;
}
if ( m_objectID > 3605 )
{
if ( m_objectID == 3618 )
{
GJBaseGameLayer::activateResetTrigger(a2, a1);
return;
}
if ( m_objectID > 3618 )
{
if ( m_objectID == 3655 )
{
GJBaseGameLayer::activateObjectControlTrigger(a2, (ObjectControlGameObject *)a1);
}
else if ( m_objectID > 3655 )
{
if ( (unsigned int)(m_objectID - 3660) <= 1 )
GJBaseGameLayer::triggerAdvancedFollowEditCommand(a2, (AdvancedFollowEditObject *)a1);
}
else if ( m_objectID == 3640 )
{
v36 = a1->m_targetGroupID;
spawnGroup = a2->spawnGroup;
if ( a4 )
std::vector::vector(&p, (__int64)a4);
else
memset(&p, 0, sizeof(p));
((void (__fastcall *)(GJBaseGameLayer *, _QWORD, _QWORD, std::vector *, _QWORD, _QWORD, double))spawnGroup)(
a2,
v36,
0,
&p,
(unsigned int)a1->m_uniqueID,
(unsigned int)a1->m_controlID,
0.0);
if ( p.m_start )
operator delete(p.m_start);
GJBaseGameLayer::registerStateObject(a2, a1);
}
return;
}
if ( m_objectID == 3608 )
{
GJBaseGameLayer::spawnParticleTrigger(a2, (SpawnParticleGameObject *)a1);
return;
}
if ( m_objectID <= 3608 )
{
if ( m_objectID == 3606 )
GJBaseGameLayer::updateBGArtSpeed(a2, a1->m_moveModX, a1->m_moveModY);
return;
}
if ( m_objectID != 3609 )
{
if ( m_objectID == 3612 )
GJBaseGameLayer::updateMGArtSpeed(a2, a1->m_moveModX, a1->m_moveModY);
return;
}
if ( a1->m_followCPP )
{
v59 = GJBaseGameLayer::checkCollision(a2, 10000, 10001);
}
else
{
m_itemID = 10000;
if ( !a1->m_targetPlayer1 )
{
m_itemID = 10001;
if ( !a1->m_targetPlayer2 )
m_itemID = a1->m_itemID;
}
if ( GJBaseGameLayer::checkCollision(a2, m_itemID, a1->m_itemID2) )
{
m_centerGroupID = a1->m_targetGroupID;
v46 = a2->spawnGroup;
goto LABEL_198;
}
if ( !a1->m_targetPlayer1 || !a1->m_targetPlayer2 )
{
v46 = a2->spawnGroup;
LABEL_197:
m_centerGroupID = a1->m_centerGroupID;
LABEL_198:
if ( *(&a1->m_unk6f5 + 1) && a4 )
std::vector::vector(&p, (__int64)a4);
else
memset(&p, 0, sizeof(p));
((void (__fastcall *)(GJBaseGameLayer *, _QWORD, _QWORD, std::vector *, _QWORD, _QWORD, double))v46)(
a2,
m_centerGroupID,
0,
&p,
(unsigned int)a1->m_uniqueID,
(unsigned int)a1->m_controlID,
0.0);
v12 = p.m_start;
if ( p.m_start )
goto LABEL_234;
return;
}
v59 = GJBaseGameLayer::checkCollision(a2, 10001, a1->m_itemID2);
}
v46 = a2->spawnGroup;
if ( v59 )
{
m_centerGroupID = a1->m_targetGroupID;
goto LABEL_198;
}
goto LABEL_197;
}
if ( m_objectID == 3023 )
{
GJBaseGameLayer::stopCustomEnterEffect(a2, (EnterEffectObject *)a1);
return;
}
if ( m_objectID > 3023 )
{
if ( m_objectID != 3033 )
{
if ( m_objectID <= 3033 )
{
if ( m_objectID == 3024 )
GJBaseGameLayer::controlAreaEffectWithID(a2, a1->m_targetGroupID, -1, Stop);
}
else if ( m_objectID == 3602 )
{
GJBaseGameLayer::activateSFXTrigger(a2, (SFXTriggerGameObject *)a1);
}
else if ( m_objectID == 3603 )
{
GJBaseGameLayer::activateSFXEditTrigger(a2, (SFXTriggerGameObject *)a1);
}
return;
}
if ( a4 )
std::vector::vector(&p, (__int64)a4);
else
memset(&p, 0, sizeof(p));
GJBaseGameLayer::playKeyframeAnimation(a2, (KeyframeAnimTriggerObject *)a1, &p);
v12 = p.m_start;
if ( !p.m_start )
return;
goto LABEL_234;
}
if ( m_objectID > 3021 )
{
GJBaseGameLayer::teleportPlayer(a2, (TeleportPortalObject *)a1, nullptr);
return;
}
if ( m_objectID < 3017 )
{
GJBaseGameLayer::triggerAdvancedFollowCommand(a2, (AdvancedFollowTriggerObject *)a1);
return;
}
LABEL_212:
GJBaseGameLayer::updateActiveEnterEffect(a2, (EnterEffectObject *)a1);
return;
}
if ( m_objectID == 1007 )
{
GJEffectManager::runOpacityActionOnGroup(
a2->m_effectManager,
a1->m_targetGroupID,
a1->m_duration,
a1->m_opacity,
a1->m_uniqueID,
a1->m_controlID);
return;
}
if ( m_objectID <= 1007 )
{
if ( m_objectID != 105 )
{
if ( m_objectID <= 105 )
{
if ( m_objectID > 30 )
{
if ( m_objectID == 33 )
{
if ( !a1->m_editorEnabled )
{
v42 = GameManager::sharedState();
PlayLayer::toggleGhostEffect(v42->m_playLayer, 0);
}
return;
}
if ( m_objectID <= 33 )
{
if ( m_objectID == 32 && !a1->m_editorEnabled )
{
v29 = GameManager::sharedState();
PlayLayer::toggleGhostEffect(v29->m_playLayer, 1);
}
return;
}
if ( (unsigned int)(m_objectID - 55) > 4 )
return;
goto LABEL_212;
}
if ( m_objectID < 29 )
{
if ( m_objectID < 22 )
return;
goto LABEL_212;
}
}
else if ( m_objectID <= 900 )
{
if ( m_objectID < 899 )
{
if ( m_objectID <= 203 )
{
if ( m_objectID >= 200 )
{
if ( m_objectID == 202 )
{
v60 = 1.1;
}
else if ( m_objectID <= 202 )
{
if ( m_objectID == 200 )
v60 = 0.7;
else
v60 = 0.9;
}
else
{
v60 = 1.3;
}
goto LABEL_207;
}
if ( m_objectID != 142 )
return;
LABEL_132:
v38 = a1->m_targetGroupID;
if ( v38 <= 0 )
return;
v39 = a2->spawnGroup;
if ( a4 )
std::vector::vector(&p, (__int64)a4);
else
memset(&p, 0, sizeof(p));
((void (__fastcall *)(GJBaseGameLayer *, _QWORD, _QWORD, std::vector *, _QWORD, _QWORD, double))v39)(
a2,
(unsigned int)v38,
0,
&p,
(unsigned int)a1->m_uniqueID,
(unsigned int)a1->m_controlID,
0.0);
v12 = p.m_start;
if ( !p.m_start )
return;
goto LABEL_234;
}
if ( m_objectID != 744 )
return;
}
}
else if ( m_objectID != 915 )
{
if ( m_objectID == 1006 )
{
if ( a1->m_pulseMode )
v41 = Hsv;
else
v41 = 2;
GJEffectManager::runPulseEffect(
a2->m_effectManager,
a1->m_targetGroupID,
a1->m_pulseTargetType == 1,
a1->m_fadeInDuration,
a1->m_holdDuration,
a1->m_fadeOutDuration,
v41,
(cocos2d::ccColor3B)*(_QWORD *)&a1->m_triggerTargetColor.r,
a1->m_hsvValue,
a1->m_copyColorID,
a1->m_pulseMainOnly,
a1->m_pulseDetailOnly,
a1->m_pulseExclusive,
a1->m_legacyHSV,
a1->m_uniqueID,
a1->m_controlID);
}
else if ( m_objectID == 901 )
{
GJBaseGameLayer::triggerMoveCommand(a2, a1);
}
return;
}
}
((void (__fastcall *)(GJBaseGameLayer *, cocos2d::ccColor3B *, _QWORD, bool, cocos2d::ccHSVValue *, _QWORD, bool, EffectGameObject *, float, float, int, int))a2->updateColor)(
a2,
&a1->m_triggerTargetColor,
(unsigned int)a1->m_targetColor,
a1->m_usesBlending,
&a1->m_hsvValue,
(unsigned int)a1->m_copyColorID,
a1->m_copyOpacity,
a1,
a1->m_duration,
a1->m_opacity,
a1->m_uniqueID,
a1->m_controlID);
if ( a1->m_objectID == 29 && a1->m_tintGround )
((void (__fastcall *)(GJBaseGameLayer *, cocos2d::ccColor3B *, __int64, _QWORD, cocos2d::ccHSVValue *, _QWORD, bool, EffectGameObject *, float, float, int, int))a2->updateColor)(
a2,
&a1->m_triggerTargetColor,
1001,
0,
&a1->m_hsvValue,
(unsigned int)a1->m_copyColorID,
a1->m_copyOpacity,
a1,
a1->m_duration,
1.0,
a1->m_uniqueID,
a1->m_controlID);
return;
}
if ( m_objectID == 1612 )
{
GJBaseGameLayer::togglePlayerVisibility(a2, 0);
return;
}
if ( m_objectID <= 1612 )
{
if ( m_objectID == 1346 )
{
GJBaseGameLayer::triggerRotateCommand(a2, (EnhancedTriggerObject *)a1);
return;
}
if ( m_objectID > 1346 )
{
if ( m_objectID == 1520 )
{
m_duration = a1->m_duration;
if ( m_duration > 0.0 )
{
m_shakeStrength = a1->m_shakeStrength;
if ( m_shakeStrength > 0.0 )
GJBaseGameLayer::shakeCamera(a2, m_duration, m_shakeStrength, a1->m_shakeInterval);
}
}
else if ( m_objectID <= 1520 )
{
if ( m_objectID == 1347 )
GJEffectManager::createFollowCommand(
a2->m_effectManager,
a1->m_followXMod,
a1->m_followYMod,
a1->m_duration,
a1->m_targetGroupID,
a1->m_centerGroupID,
a1->m_uniqueID,
a1->m_controlID);
}
else
{
if ( m_objectID == 1585 )
{
GJBaseGameLayer::playAnimationCommand(a2, a1->m_animationID, a1->m_targetGroupID);
return;
}
if ( m_objectID == 1595 )
{
m_effectManager = a2->m_effectManager;
v24 = a1->m_targetGroupID;
m_touchHoldMode = a1->m_touchHoldMode;
m_touchToggleMode = a1->m_touchToggleMode;
m_touchPlayerMode = a1->m_touchPlayerMode;
m_isDualMode = a1->m_isDualMode;
if ( a4 )
{
v62 = a1->m_touchPlayerMode;
v65 = a1->m_touchToggleMode;
std::vector::vector(&p, (__int64)a4);
m_touchToggleMode = v65;
m_touchPlayerMode = v62;
}
else
{
memset(&p, 0, sizeof(p));
}
GJEffectManager::runTouchTriggerCommand(
m_effectManager,
v24,
m_touchHoldMode,
m_touchToggleMode,
m_touchPlayerMode,
m_isDualMode,
&p,
a1->m_uniqueID,
a1->m_controlID);
v12 = p.m_start;
if ( p.m_start )
goto LABEL_234;
}
}
return;
}
if ( m_objectID != 1329 )
{
if ( m_objectID != 1334 )
{
if ( m_objectID == 1049 )
GJBaseGameLayer::toggleGroup(a2, a1->m_targetGroupID, a1->m_activateGroup);
return;
}
v60 = 1.6;
LABEL_207:
GJBaseGameLayer::updateTimeMod(a2, v60, 0, a1->m_hasNoEffects);
GameObject::playShineEffect(a1);
a2->addToSpeedObjects(a2, a1);
return;
}
goto LABEL_132;
}
if ( m_objectID == 1818 )
{
if ( !a1->m_editorEnabled )
{
v43 = GameManager::sharedState();
PlayLayer::toggleBGEffectVisibility(v43->m_playLayer, 1);
}
return;
}
if ( m_objectID > 1818 )
{
if ( m_objectID == 1912 )
{
if ( (float)(GameToolbox::fast_rand_0_1() * 100.0) > a1->m_duration )
v44 = a1->m_centerGroupID;
else
v44 = a1->m_targetGroupID;
if ( a4 )
std::vector::vector(&p, (__int64)a4);
else
memset(&p, 0, sizeof(p));
GJBaseGameLayer::spawnGroupTriggered(a2, v44, 0.0, 0, &p, a1->m_uniqueID, a1->m_controlID);
v12 = p.m_start;
if ( !p.m_start )
return;
goto LABEL_234;
}
if ( m_objectID <= 1912 )
{
if ( m_objectID == 1819 && !a1->m_editorEnabled )
{
v40 = GameManager::sharedState();
PlayLayer::toggleBGEffectVisibility(v40->m_playLayer, 0);
}
return;
}
if ( m_objectID == 1913 )
{
GJBaseGameLayer::updateZoom(
a2,
a1->m_zoomValue,
a1->m_duration,
a1->m_easingType,
a1->m_easingRate,
a1->m_uniqueID,
a1->m_controlID);
return;
}
if ( m_objectID == 1915 )
goto LABEL_212;
}
else
{
if ( m_objectID == 1812 )
{
if ( a1->m_editorEnabled )
return;
v32 = GameManager::sharedState();
v33 = a1->m_targetGroupID;
v34 = a1->m_activateGroup;
v35 = v32->m_playLayer->m_effectManager;
if ( a4 )
{
v66 = a1->m_activateGroup;
std::vector::vector(&p, (__int64)a4);
v34 = v66;
}
else
{
memset(&p, 0, sizeof(p));
}
GJEffectManager::runDeathTrigger(v35, v33, v34, &p, a1->m_uniqueID, a1->m_controlID);
v12 = p.m_start;
if ( !p.m_start )
return;
goto LABEL_234;
}
if ( m_objectID <= 1812 )
{
if ( m_objectID == 1613 )
GJBaseGameLayer::togglePlayerVisibility(a2, 1);
return;
}
if ( m_objectID == 1814 )
{
GJEffectManager::createPlayerFollowCommand(
a2->m_effectManager,
a1->m_followYSpeed,
a1->m_followYDelay,
a1->m_followYOffset,
a1->m_followYMaxSpeed,
a1->m_duration,
a1->m_targetGroupID,
a1->m_uniqueID,
a1->m_controlID);
return;
}
if ( m_objectID == 1815 )
{
if ( !a1->m_followCPP )
{
v48 = 10000;
if ( !a1->m_targetPlayer1 )
{
v48 = 10001;
if ( !a1->m_targetPlayer2 )
v48 = a1->m_itemID;
}
v49 = a2->m_effectManager;
v50 = a1->m_targetGroupID;
m_itemID2 = a1->m_itemID2;
m_triggerOnExit = a1->m_triggerOnExit;
v53 = a1->m_activateGroup;
if ( a4 )
{
v63 = a1->m_itemID2;
v67 = v48;
std::vector::vector(&p, (__int64)a4);
v48 = v67;
m_itemID2 = v63;
}
else
{
memset(&p, 0, sizeof(p));
}
GJEffectManager::registerCollisionTrigger(
v49,
v50,
v48,
m_itemID2,
m_triggerOnExit,
v53,
&p,
a1->m_uniqueID,
a1->m_controlID);
if ( p.m_start )
operator delete(p.m_start);
if ( a1->m_targetPlayer1 && a1->m_targetPlayer2 )
{
v54 = a2->m_effectManager;
v55 = a1->m_itemID2;
v56 = a1->m_targetGroupID;
v57 = a1->m_triggerOnExit;
v58 = a1->m_activateGroup;
if ( a4 )
{
v61 = a1->m_activateGroup;
v64 = a1->m_triggerOnExit;
v68 = a1->m_itemID2;
std::vector::vector(&p, (__int64)a4);
v55 = v68;
v57 = v64;
v58 = v61;
}
else
{
memset(&p, 0, sizeof(p));
}
GJEffectManager::registerCollisionTrigger(v54, v56, 10001, v55, v57, v58, &p, a1->m_uniqueID, a1->m_controlID);
v12 = p.m_start;
if ( p.m_start )
goto LABEL_234;
}
return;
}
v8 = a2->m_effectManager;
v9 = a1->m_targetGroupID;
v10 = a1->m_triggerOnExit;
v11 = a1->m_activateGroup;
if ( a4 )
std::vector::vector(&p, (__int64)a4);
else
memset(&p, 0, sizeof(p));
GJEffectManager::registerCollisionTrigger(v8, v9, 10000, 10001, v10, v11, &p, a1->m_uniqueID, a1->m_controlID);
v12 = p.m_start;
if ( !p.m_start )
return;
LABEL_234:
operator delete(v12);
}
}
}