//
// SetupTriggerPopup::createMultiTriggerItemsDefaultHorizontal from 0x54222c to 0x5422fa (206 bytes)
//
// 21 xrefs:
// > GJRotateCommandLayer::init @ 0x4e010a
// > SetupRotateCommandPopup::init @ 0x4e0dc8
// > SetupStaticCameraPopup::init @ 0x503f04
// > SetupSongTriggerPopup::init @ 0x525266
// > SetupCameraRotatePopup::init @ 0x527132
// > SetupOptionsTriggerPopup::init @ 0x540576
// > SetupTeleportPopup::init @ 0x54afac
// > SetupShaderEffectPopup::init @ 0x5571a6
// > SetupAreaMoveTriggerPopup::init @ 0x558e1e
// > SetupAreaTransformTriggerPopup::init @ 0x559702
// > SetupAreaRotateTriggerPopup::init @ 0x559c56
// > SetupAreaFadeTriggerPopup::init @ 0x55a0ee
// > SetupAreaTintTriggerPopup::init @ 0x55a64e
// > SetupAreaTriggerPopup::init @ 0x55acc2
// > SetupAreaAnimTriggerPopup::init @ 0x55b1bc
// > SetupEnterEffectPopup::init @ 0x55c79e
// > SetupAdvFollowPopup::init @ 0x55f46c
// > SetupAdvFollowEditPhysicsPopup::init @ 0x561820
// > SetupItemEditTriggerPopup::init @ 0x57ac3c
// > SetupItemCompareTriggerPopup::init @ 0x57be78
// > SetupSequenceTriggerPopup::init @ 0x580c8c
//
// 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::createMultiTriggerItemsDefaultHorizontal(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, 90.0, 0.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);
}