//
// SetupTriggerPopup::preSetup from 0x100220c50 to 0x100220c65 (21 bytes)
//
// 93 xrefs:
// > SetupRotateCommandPopup::init @ 0x100001612
// > SetupPickupTriggerPopup::init @ 0x10001df3e
// > SetupAnimSettingsPopup::init @ 0x100061f00
// > sub_100063390 @ 0x1000633ce
// > CustomizeObjectSettingsPopup::init @ 0x1001dbc4a
// > SetupKeyframeAnimPopup::init @ 0x1001e179e
// > SetupKeyframePopup::init @ 0x1001e2678
// > sub_1002586A0 @ 0x1002587c6
// > sub_10025B470 @ 0x10025b4b1
// > LevelOptionsLayer2::init @ 0x10025bd6d
// > StartPosLayer::init @ 0x10025c5a1
// > sub_100272600 @ 0x10027263e
// > SetupSpawnPopup::init @ 0x10027a9e2
// > EditGameObjectPopup::init @ 0x100297851
// > GameOptionsLayer::create @ 0x10029e2e0
// > sub_10029E320 @ 0x10029e361
// > sub_10029F920 @ 0x10029f97f
// > UIOptionsLayer::init @ 0x1002a02d0
// > UISaveLoadLayer::init @ 0x1002a301c
// > UIPOptionsLayer::init @ 0x1002a51b3
// > SetupCountTriggerPopup::init @ 0x1002a942e
// > SetupShaderEffectPopup::init @ 0x1002b2e1e
// > SetupSongTriggerPopup::init @ 0x1002bfd62
// > sub_1002C1E30 @ 0x1002c1e70
// > SetupAdvFollowPopup::init @ 0x1002f00b2
// > sub_1002F5170 @ 0x1002f51b0
// > sub_1002F6130 @ 0x1002f616e
// > SetupObjectOptions2Popup::init @ 0x1003063ee
// > SetupZoomTriggerPopup::init @ 0x10030c5d0
// > sub_100350460 @ 0x10035049e
// > SetupObjectTogglePopup::init @ 0x10035f10d
// > SetupCollisionTriggerPopup::init @ 0x1003803be
// > SetupInstantCollisionTriggerPopup::init @ 0x100380f4e
// > SetupCollisionStateTriggerPopup::init @ 0x10038197e
// > SetupTransformPopup::init @ 0x100384d50
// > sub_10038A630 @ 0x10038a66e
// > sub_10038AFD0 @ 0x10038b00e
// > sub_10038B5F0 @ 0x10038b62e
// > CreateStartPosPopup::init @ 0x1003c4673
// > SetupReverbPopup::init @ 0x1004b0e42
// > SetupSFXPopup::init @ 0x1004b1b2c
// > SetupSFXEditPopup::init @ 0x1004b4095
// > sub_1004B7A70 @ 0x1004b7ab0
// > SetupSequenceTriggerPopup::init @ 0x1004d8944
// > GJRateLevelLayer::init @ 0x1005049af
// > sub_1005070C0 @ 0x100507115
// > GJRateEditorSoundLayer::init @ 0x100508f72
// > SetupBGSpeedTrigger::init @ 0x10050c175
// > sub_10050F430 @ 0x10050f46e
// > sub_100511B80 @ 0x100511bc0
// > SetupEventLinkPopup::init @ 0x1005a4a22
// > SelectEventLayer::init @ 0x1005a561a
// > SetupPlayerControlPopup::init @ 0x1005a7df2
// > sub_1005A84B0 @ 0x1005a84ee
// > SetupCheckpointPopup::init @ 0x1005a91ce
// > MultiTriggerPopup::init @ 0x1005a97ee
// > UIObjectSettingsPopup::init @ 0x1005a9b72
// > sub_1005AA8B0 @ 0x1005aa8ee
// > SetupItemEditTriggerPopup::init @ 0x1005aac82
// > SetupItemCompareTriggerPopup::init @ 0x1005ad3b2
// > SetupCoinLayer::init @ 0x1005af5d1
// > SetupPersistentItemTriggerPopup::init @ 0x1005afa7e
// > SetupAudioLineGuidePopup::init @ 0x1005b0182
// > SetupCameraGuidePopup::init @ 0x1005b0ade
// > SetupForceBlockPopup::init @ 0x1005b117e
// > SetupArtSwitchPopup::init @ 0x1005b1b03
// > SetupStopTriggerPopup::init @ 0x1005b2251
// > sub_1005B2A90 @ 0x1005b2ad0
// > sub_1005B2E60 @ 0x1005b2e9e
// > SetupDashRingPopup::init @ 0x1005b359e
// > KeybindCapturePopup::init @ 0x1005b3cb7
// > AutoSaveSettingsLayer::init @ 0x1005bc426
// > GameSettingsLayer::init @ 0x1005fe50e
// > SetupRotatePopup::init @ 0x10066e342
// > SetupOptionsTriggerPopup::init @ 0x1006ba4d0
// > SetupMoveCommandPopup::init @ 0x1006dee62
// > KeybindingsLayer::init @ 0x1006e172a
// > SetupPlatformerEndPopup::init @ 0x100748d3e
// > SetupRotateGameplayPopup::init @ 0x100878350
// > SetupGameplayOffsetPopup::init @ 0x100879022
// > CreatorSettingsPopup::init @ 0x1008b63a9
// > sub_1008DCDF0 @ 0x1008dcee8
// > EditorSFXActionConfigLayer::init @ 0x1008df365
// > sub_1008EE9C0 @ 0x1008eea17
// > sub_1008EF050 @ 0x1008ef0b8
// > sub_1008F3770 @ 0x1008f37e1
// > sub_1008FB260 @ 0x1008fb2c3
// > sub_1008FD5B0 @ 0x1008fd5fd
// > EditorWindowPopup::initWindow @ 0x10090035f
// > PlatformerControlsPopup::init @ 0x10095d6e2
// > TouchControlEditLayer::init @ 0x100977d65
// > ControlSlotsPopup::init @ 0x10097bd99
// > sub_100982340 @ 0x10098238d
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:27:03 +0000
//
__int64 __fastcall SetupTriggerPopup::preSetup(_BYTE *a1)
{
a1[744] = 1;
return (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 1360LL))(a1);
}