//
// SetupTriggerPopup::determineStartValues from 0x9e53dc to 0x9e54ac (208 bytes)
//
// 100 xrefs:
// > ColorSelectPopup::determineStartValues @ 0x73b6dc
// > EditTriggersPopup::determineStartValues @ 0x8c25bc
// > SetupEnterTriggerPopup::determineStartValues @ 0x8c25d8
// > SetupOpacityPopup::determineStartValues @ 0x8e7874
// > SetupPulsePopup::determineStartValues @ 0x8ebf6c
// > SetTargetIDLayer::determineStartValues @ 0x94c62c
// > SetupAnimationPopup::determineStartValues @ 0x94cfe4
// > SetupCollisionTriggerPopup::determineStartValues @ 0x94f698
// > SetupCountTriggerPopup::determineStartValues @ 0x952c04
// > SetupInstantCountPopup::determineStartValues @ 0x9559ac
// > SetupShakePopup::determineStartValues @ 0x9590b0
// > SetupTouchTogglePopup::determineStartValues @ 0x95a89c
// > SetupCameraOffsetTrigger::determineStartValues @ 0x966e98
// > SetupZoomTriggerPopup::determineStartValues @ 0x96bc1c
// > SetupRandTriggerPopup::determineStartValues @ 0x96c45c
// > SetupEndPopup::determineStartValues @ 0x96e0b8
// > SetupTimeWarpPopup::determineStartValues @ 0x9aaef8
// > SetupCameraRotatePopup::determineStartValues @ 0x9ab984
// > SetupCameraEdgePopup::determineStartValues @ 0x9edcec
// > SetupTeleportPopup::determineStartValues @ 0x9f11dc
// > SetupGradientPopup::determineStartValues @ 0x9f9e40
// > SetupAreaTintTriggerPopup::determineStartValues @ 0xa08e40
// > SetupEnterEffectPopup::determineStartValues @ 0xa12c28
// > SetupCameraModePopup::determineStartValues @ 0xa160d0
// > SetupMGTrigger::determineStartValues @ 0xa1f16c
// > ??> @ 0x74cb8
// > ??> @ 0x1187900
// > ??> @ 0x118d0b0
// > ??> @ 0x1193d10
// > ??> @ 0x11960f0
// > ??> @ 0x11968f0
// > ??> @ 0x119a240
// > ??> @ 0x119d840
// > ??> @ 0x119e040
// > ??> @ 0x119e840
// > ??> @ 0x119fdd0
// > ??> @ 0x11a1c20
// > ??> @ 0x11a3800
// > ??> @ 0x11a4000
// > ??> @ 0x11af070
// > ??> @ 0x11b4a10
// > ??> @ 0x11b6210
// > ??> @ 0x11b6a40
// > ??> @ 0x11b7a00
// > ??> @ 0x11b8a00
// > ??> @ 0x11b9a00
// > ??> @ 0x11ba200
// > ??> @ 0x11bef60
// > ??> @ 0x11c0f50
// > ??> @ 0x11c3070
// > ??> @ 0x11c4c70
// > ??> @ 0x11c54d0
// > ??> @ 0x11c6560
// > ??> @ 0x11c7540
// > ??> @ 0x11cc570
// > ??> @ 0x11ccdb0
// > ??> @ 0x11cddc0
// > ??> @ 0x11ce5a0
// > ??> @ 0x11d0330
// > ??> @ 0x11d0be0
// > ??> @ 0x11d13c0
// > ??> @ 0x11d1ba0
// > ??> @ 0x11d2380
// > ??> @ 0x11d3370
// > ??> @ 0x11d5460
// > ??> @ 0x11d6310
// > ??> @ 0x11d6af0
// > ??> @ 0x11d7ae0
// > ??> @ 0x11d82e0
// > ??> @ 0x11dcbb0
// > ??> @ 0x11dd3b0
// > ??> @ 0x11ddbe0
// > ??> @ 0x11de3c0
// > ??> @ 0x11dec60
// > ??> @ 0x11df440
// > ??> @ 0x11dfc20
// > ??> @ 0x11e0460
// > ??> @ 0x11e0e50
// > ??> @ 0x11e1630
// > ??> @ 0x11e1e10
// > ??> @ 0x11e25f0
// > ??> @ 0x11e2dd0
// > ??> @ 0x11e35b0
// > ??> @ 0x11e3d90
// > ??> @ 0x11e4570
// > ??> @ 0x11e4d50
// > ??> @ 0x11e5530
// > ??> @ 0x11e5d10
// > ??> @ 0x11e64f0
// > ??> @ 0x11e6cd0
// > ??> @ 0x11e74b0
// > ??> @ 0x11e7c90
// > ??> @ 0x11e8470
// > ??> @ 0x11e8c70
// > ??> @ 0x11e9450
// > ??> @ 0x11e9c50
// > ??> @ 0x11ea450
// > ??> @ 0x11f1860
// > ??> @ 0x11f2040
// > ??> @ 0x11f2820
//
// 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 SetupTriggerPopup::determineStartValues(SetupTriggerPopup *a1)
{
cocos2d::CCArray *Objects; // x0
cocos2d::CCArray *v3; // x20
unsigned int v4; // w19
bool v5; // cf
unsigned int v6; // w1
cocos2d::CCArray *v7; // x0
__int64 v8; // x0
Objects = SetupTriggerPopup::getObjects(a1);
v3 = Objects;
if ( Objects && (unsigned int)cocos2d::CCArray::count(Objects) )
{
v4 = 0;
a1->m_touchTriggered = 1;
a1->m_spawnTriggered = 1;
a1->m_multiTriggered = 1;
a1->m_effectObjects = 1;
LABEL_4:
v5 = v4 >= (unsigned int)cocos2d::CCArray::count(v3);
v6 = v4;
v7 = v3;
++v4;
if ( !v5 )
{
while ( 1 )
{
v8 = cocos2d::CCArray::objectAtIndex(v7, v6);
if ( *(_DWORD *)(v8 + 1232) != 1 )
break;
if ( !*(_BYTE *)(v8 + 1456) )
a1->m_touchTriggered = 0;
if ( !*(_BYTE *)(v8 + 1457) )
a1->m_spawnTriggered = 0;
if ( *(_BYTE *)(v8 + 1648) )
goto LABEL_4;
a1->m_multiTriggered = 0;
v5 = v4 >= (unsigned int)cocos2d::CCArray::count(v3);
v6 = v4;
v7 = v3;
++v4;
if ( v5 )
return;
}
a1->m_effectObjects = 0;
}
}
}