//
// SetupTriggerPopup::createMultiTriggerItemsDefault from 0x541fc0 to 0x54208e (206 bytes)
//
// 39 xrefs:
// > EditTriggersPopup::init @ 0x4aa9ec
// > SetupEnterTriggerPopup::init @ 0x4aaba6
// > SetupOpacityPopup::init @ 0x4bb186
// > SetupObjectTogglePopup::init @ 0x4bba92
// > SetupSpawnPopup::init @ 0x4bcb86
// > SetTargetIDLayer::init @ 0x4f2c0a
// > SetupAnimationPopup::init @ 0x4f377a
// > SetupCollisionTriggerPopup::init @ 0x4f4e1c
// > SetupInstantCollisionTriggerPopup::init @ 0x4f5692
// > SetupInstantCountPopup::init @ 0x4f7ee6
// > SetupPickupTriggerPopup::init @ 0x4f8962
// > SetupShakePopup::init @ 0x4f98ae
// > SetupCameraOffsetTrigger::init @ 0x502a00
// > SetupZoomTriggerPopup::init @ 0x50465e
// > SetupEndPopup::init @ 0x506380
// > SetupPlatformerEndPopup::init @ 0x50660a
// > SetupCameraRotatePopup2::init @ 0x527656
// > SetupCameraEdgePopup::init @ 0x549460
// > SetupRotateGameplayPopup::init @ 0x549e4a
// > SetupGameplayOffsetPopup::init @ 0x549ff6
// > SetupAdvFollowRetargetPopup::init @ 0x561fdc
// > SetupMGTrigger::init @ 0x5634c8
// > SetupBGSpeedTrigger::init @ 0x563b76
// > SetupGravityTriggerPopup::init @ 0x563e4e
// > SetupKeyframeAnimPopup::init @ 0x573546
// > SetupSFXPopup::init @ 0x5763a6
// > SetupSFXEditPopup::init @ 0x576e58
// > SetupEventLinkPopup::init @ 0x578332
// > SetupPlayerControlPopup::init @ 0x5787b6
// > SetupSpawnParticlePopup::init @ 0x578b66
// > SetupCheckpointPopup::init @ 0x5791e6
// > SetupResetTriggerPopup::init @ 0x579e48
// > SetupPersistentItemTriggerPopup::init @ 0x57cd4e
// > SetupArtSwitchPopup::init @ 0x57dfc8
// > SetupStopTriggerPopup::init @ 0x57e2d2
// > SetupObjectControlPopup::init @ 0x57e6e6
// > SetupTimerTriggerPopup::init @ 0x593c82
// > SetupTimerEventTriggerPopup::init @ 0x5941be
// > SetupTimerControlTriggerPopup::init @ 0x594532
//
// 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::createMultiTriggerItemsDefault(SetupTriggerPopup *a1)
{
cocos2d::CCDirector *v2; // r0
cocos2d::CCPoint v3; // r1
float v4; // [sp+0h] [bp-14h]
cocos2d::CCPoint v5; // [sp+4h] [bp-10h] BYREF
cocos2d::CCPoint v6; // [sp+Ch] [bp-8h] BYREF
cocos2d::CCPoint v7; // [sp+14h] [bp+0h] BYREF
_BYTE v8[8]; // [sp+1Ch] [bp+8h] BYREF
cocos2d::CCPoint v9; // [sp+24h] [bp+10h] BYREF
cocos2d::CCPoint v10; // [sp+2Ch] [bp+18h] BYREF
cocos2d::CCPoint v11; // 0:kr00_8.8
v2 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize((cocos2d::CCSize *)&v5, v2);
cocos2d::CCPoint::CCPoint(
&v6,
(float)((float)(v5.x * 0.5) - (float)(a1->m_width * 0.5)) + 20.0,
(float)((float)(v5.y * 0.5) - (float)(a1->m_height * 0.5)) + 20.0);
cocos2d::CCPoint::CCPoint(&v7, 0.0, 30.0);
cocos2d::CCPoint::operator+(v8, &v6, &v7);
cocos2d::CCPoint::CCPoint(&v10, &v6);
cocos2d::CCPoint::CCPoint(&v9, (float)((float)(a1->m_width * 0.5) + (float)(v5.x * 0.5)) - 72.0, v6.y);
LODWORD(v3.y) = &v10;
LODWORD(v3.x) = v8;
LODWORD(v11.x) = &v9;
v11.y = v4;
SetupTriggerPopup::createMultiTriggerItems(a1, v3, v11, v5);
}