//
// EffectGameObject::triggerObject from 0x100199bc0 to 0x10019ac2d (4205 bytes)
//
// 32 xrefs:
// > RandTriggerGameObject::triggerObject @ 0x1001a3c28
// > CountTriggerGameObject::triggerObject @ 0x1001b7c88
// > TransformTriggerGameObject::triggerObject @ 0x1001ba5c0
// > CameraTriggerGameObject::triggerObject @ 0x1001bf007
// > TimerTriggerGameObject::triggerObject @ 0x1001c4082
// > ItemTriggerGameObject::triggerObject @ 0x1001c661a
// > ??> @ 0x100ac8400
// > ??> @ 0x100ac8c08
// > ??> @ 0x100ac9410
// > ??> @ 0x100ac9c18
// > ??> @ 0x100acccd0
// > ??> @ 0x100acd4f0
// > ??> @ 0x100acdd10
// > ??> @ 0x100ace530
// > ??> @ 0x100aced50
// > ??> @ 0x100acf570
// > ??> @ 0x100acfd90
// > ??> @ 0x100ad05b0
// > ??> @ 0x100ad0dd0
// > ??> @ 0x100ad15f0
// > ??> @ 0x100ad1e28
// > ??> @ 0x100ad3700
// > ??> @ 0x100ad3f38
// > ??> @ 0x100ad67f0
// > ??> @ 0x100ad8870
// > ??> @ 0x100ad9090
// > ??> @ 0x100ada0d0
// > ??> @ 0x100ada8f0
// > ??> @ 0x100adb110
// > ??> @ 0x100adc150
// > ??> @ 0x100adc970
// > ??> @ 0x100add190
//
// 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:25:57 +0000
//
void __fastcall EffectGameObject::triggerObject(unsigned __int64 a1, _QWORD *a2, __int64 a3, __int64 a4, __m128 a5)
{
__int64 v5; // r13
__int64 v7; // r14
__int64 v9; // rsi
unsigned __int8 v10; // dl
const void *v11; // r12
signed __int64 v12; // r13
int v13; // eax
__int64 v14; // rdx
int v15; // esi
__int64 v16; // rdx
__int64 v17; // r14
__int64 v18; // rdx
double v19; // xmm0_8
__int64 v20; // rsi
__int64 v21; // rax
__int64 v22; // r14
unsigned int v23; // r15d
unsigned __int8 v24; // r12
int v25; // r15d
float v26; // xmm0_4
__int64 v27; // rax
__int64 v28; // rax
unsigned int v29; // r15d
__int64 v30; // rdx
__int64 v31; // rsi
__int64 v32; // r15
float v33; // xmm0_4
float v34; // xmm1_4
__int64 v35; // r14
__int64 v36; // rdx
unsigned int v37; // r15d
double v38; // xmm0_8
__int64 v39; // rax
__int64 v40; // rdi
int v41; // esi
__int64 v42; // rax
__int64 v43; // r14
int v44; // r15d
unsigned __int8 v45; // r12
unsigned __int8 v46; // r13
__int64 v47; // rdi
int v48; // esi
unsigned __int8 v49; // r12
int v50; // r14d
int v51; // r15d
unsigned __int8 v52; // r13
__int64 v53; // r14
int v54; // esi
char v55; // al
int v56; // r14d
__int64 v57; // rdi
int v58; // esi
int v59; // r13d
unsigned __int8 v60; // r15
unsigned __int8 v61; // r12
__int64 v62; // rdx
__int64 v63; // rdi
int v64; // r14d
int v65; // r15d
unsigned __int8 v66; // r12
unsigned __int8 v67; // r13
__int64 v68; // [rsp+40h] [rbp-60h]
unsigned __int8 v69; // [rsp+50h] [rbp-50h]
void *__p[2]; // [rsp+60h] [rbp-40h] BYREF
char *v72; // [rsp+70h] [rbp-30h]
v5 = (__int64)a2;
if ( *(_DWORD *)(a1 + 920) == 30 )
{
if ( *(_BYTE *)(a1 + 1688) == 1 )
{
v7 = a4;
GJBaseGameLayer::collectedObject((__int64)a2, a1);
a4 = v7;
}
if ( *(_BYTE *)(a1 + 1689) == 1 )
{
v9 = *(unsigned int *)(a1 + 1464);
v10 = *(_BYTE *)(a1 + 1637);
if ( a4 )
{
*(_OWORD *)__p = 0;
v72 = nullptr;
v11 = *(const void **)a4;
v12 = *(_QWORD *)(a4 + 8) - *(_QWORD *)a4;
if ( v12 )
{
v69 = v10;
if ( v12 < 0 )
sub_100093980();
__p[0] = operator new(v12);
v72 = (char *)__p[0] + v12;
memcpy(__p[0], v11, v12);
__p[1] = (char *)__p[0] + v12;
v9 = (unsigned int)v9;
v10 = v69;
}
}
else
{
*(_OWORD *)__p = 0;
v72 = nullptr;
}
v5 = (__int64)a2;
(*(void (__fastcall **)(_QWORD *, __int64, _QWORD, void **, _QWORD, _QWORD, double))(*a2 + 1240LL))(
a2,
v9,
v10,
__p,
*(unsigned int *)(a1 + 916),
*(unsigned int *)(a1 + 1672),
0.0);
if ( __p[0] )
{
__p[1] = __p[0];
operator delete(__p[0]);
}
}
v15 = *(_DWORD *)(a1 + 1696);
if ( v15 )
GJBaseGameLayer::addPoints(v5, v15);
return;
}
v13 = *(_DWORD *)(a1 + 1028);
if ( v13 > 2065 )
{
switch ( v13 )
{
case 2899:
GJBaseGameLayer::processOptionsTrigger((__int64)a2, a1);
return;
case 2900:
(*(void (__fastcall **)(_QWORD *, unsigned __int64))(*a2 + 1448LL))(a2, a1);
return;
case 2901:
if ( *(_DWORD *)(a1 + 1512) == 2
|| (GJBaseGameLayer::updateGameplayOffsetX((__int64)a2, (int)*(float *)(a1 + 1488), *(_BYTE *)(a1 + 1504)),
*(_DWORD *)(a1 + 1512) != 1) )
{
GJBaseGameLayer::updateGameplayOffsetY((__int64)a2, (int)*(float *)(a1 + 1492), *(_BYTE *)(a1 + 1505));
}
return;
case 2902:
case 2906:
case 2908:
case 2918:
case 2925:
case 2926:
case 2927:
case 2928:
case 2929:
case 2930:
case 2931:
case 2932:
case 2933:
case 2934:
case 2935:
case 2936:
case 2937:
case 2938:
case 2939:
case 2940:
case 2941:
case 2942:
case 2943:
case 2944:
case 2945:
case 2946:
case 2947:
case 2948:
case 2949:
case 2950:
case 2951:
case 2952:
case 2953:
case 2954:
case 2955:
case 2956:
case 2957:
case 2958:
case 2959:
case 2960:
case 2961:
case 2962:
case 2963:
case 2964:
case 2965:
case 2966:
case 2967:
case 2968:
case 2969:
case 2970:
case 2971:
case 2972:
case 2973:
case 2974:
case 2975:
case 2976:
case 2977:
case 2978:
case 2979:
case 2980:
case 2981:
case 2982:
case 2983:
case 2984:
case 2985:
case 2986:
case 2987:
case 2988:
case 2989:
case 2990:
case 2991:
case 2992:
case 2993:
case 2994:
case 2995:
case 2996:
case 2997:
case 2998:
case 3000:
case 3001:
case 3002:
case 3003:
case 3004:
case 3005:
case 3025:
case 3026:
case 3027:
case 3028:
case 3029:
case 3030:
case 3031:
case 3032:
return;
case 2903:
GJBaseGameLayer::triggerGradientCommand((__int64)a2, a1, *(double *)a5.i64);
return;
case 2904:
case 2905:
case 2907:
case 2909:
case 2910:
case 2911:
case 2912:
case 2913:
case 2914:
case 2915:
case 2916:
case 2917:
case 2919:
case 2920:
case 2921:
case 2922:
case 2923:
case 2924:
GJBaseGameLayer::triggerShaderCommand((__int64)a2, a1, a3);
return;
case 2999:
GJBaseGameLayer::updateMGOffsetY(
(__int64)a2,
*(_DWORD *)(a1 + 1496),
*(_DWORD *)(a1 + 916),
*(_DWORD *)(a1 + 1672),
*(float *)(a1 + 1492),
*(float *)(a1 + 1452),
*(float *)(a1 + 1500));
return;
case 3006:
case 3007:
case 3008:
case 3009:
case 3010:
case 3011:
case 3012:
case 3013:
case 3014:
case 3015:
GJBaseGameLayer::triggerAreaEffect((__int64)a2, a1);
return;
case 3016:
GJBaseGameLayer::triggerAdvancedFollowCommand((__int64)a2, a1);
return;
case 3017:
case 3018:
case 3019:
case 3020:
case 3021:
goto LABEL_15;
case 3022:
GJBaseGameLayer::teleportPlayer((__int64)a2, a1, 0);
return;
case 3023:
GJBaseGameLayer::stopCustomEnterEffect_1((__int64)a2, a1);
return;
case 3024:
GJBaseGameLayer::controlAreaEffectWithID(a2, *(_DWORD *)(a1 + 1464), -1, 0);
return;
case 3033:
if ( a4 )
{
sub_10019B500(__p, a4, a3);
}
else
{
*(_OWORD *)__p = 0;
v72 = nullptr;
}
GJBaseGameLayer::playKeyframeAnimation(a2, (_DWORD *)a1, (__int64)__p);
goto LABEL_164;
default:
switch ( v13 )
{
case 3602:
GJBaseGameLayer::activateSFXTrigger((__int64)a2, a1, a3, *(double *)a5.i64);
return;
case 3603:
GJBaseGameLayer::activateSFXEditTrigger((__int64)a2, a1, *(double *)a5.i64);
return;
case 3604:
case 3607:
case 3610:
case 3611:
case 3613:
case 3614:
case 3615:
case 3616:
case 3617:
case 3619:
case 3620:
case 3621:
case 3622:
case 3623:
case 3624:
case 3625:
case 3626:
case 3627:
case 3628:
case 3629:
case 3630:
case 3631:
case 3632:
case 3633:
case 3634:
case 3635:
case 3636:
case 3637:
case 3638:
case 3639:
case 3641:
case 3642:
case 3643:
case 3644:
case 3645:
case 3646:
case 3647:
case 3648:
case 3649:
case 3650:
case 3651:
case 3652:
case 3653:
case 3654:
case 3656:
case 3657:
case 3658:
case 3659:
case 3662:
return;
case 3605:
GJBaseGameLayer::activateSongEditTrigger((__int64)a2, a1);
return;
case 3606:
GJBaseGameLayer::updateBGArtSpeed(
(__int64)a2,
(__m128)*(unsigned int *)(a1 + 1516),
(__m128)*(unsigned int *)(a1 + 1520));
return;
case 3608:
GJBaseGameLayer::spawnParticleTrigger_1((__int64)a2, a1);
return;
case 3609:
if ( *(_BYTE *)(a1 + 1686) == 1 )
{
v31 = a4;
v32 = 1468;
if ( !(unsigned __int8)GJBaseGameLayer::checkCollision(v5, 10000, 10001) )
goto LABEL_130;
}
else
{
v53 = a4;
v54 = 10000;
if ( !*(_BYTE *)(a1 + 1684) )
{
v54 = 10001;
if ( !*(_BYTE *)(a1 + 1685) )
v54 = *(_DWORD *)(a1 + 1680);
}
v55 = GJBaseGameLayer::checkCollision(v5, v54, *(_DWORD *)(a1 + 1668));
v31 = v53;
if ( !v55 )
{
v32 = 1468;
if ( *(_BYTE *)(a1 + 1684) != 1 )
goto LABEL_130;
if ( *(_BYTE *)(a1 + 1685) != 1 )
goto LABEL_130;
v31 = v53;
if ( !(unsigned __int8)GJBaseGameLayer::checkCollision(v5, 10001, *(_DWORD *)(a1 + 1668)) )
goto LABEL_130;
}
}
v32 = 1464;
LABEL_130:
v25 = *(_DWORD *)(a1 + v32);
if ( *(_BYTE *)(a1 + 1798) == 1 && v31 )
{
sub_10019B500(__p, v31, v30);
}
else
{
*(_OWORD *)__p = 0;
v72 = nullptr;
}
goto LABEL_124;
case 3612:
GJBaseGameLayer::updateMGArtSpeed(
(__int64)a2,
(__m128)*(unsigned int *)(a1 + 1516),
(__m128)*(unsigned int *)(a1 + 1520));
return;
case 3618:
GJBaseGameLayer::activateResetTrigger(a2, a1);
return;
case 3640:
v29 = *(_DWORD *)(a1 + 1464);
if ( a4 )
{
sub_10019B500(__p, a4, a3);
}
else
{
*(_OWORD *)__p = 0;
v72 = nullptr;
}
(*(void (__fastcall **)(_QWORD *, _QWORD, _QWORD, void **, _QWORD, _QWORD, double))(*a2 + 1256LL))(
a2,
v29,
0,
__p,
*(unsigned int *)(a1 + 916),
*(unsigned int *)(a1 + 1672),
0.0);
if ( __p[0] )
{
__p[1] = __p[0];
operator delete(__p[0]);
}
GJBaseGameLayer::registerStateObject((__int64)a2, a1);
return;
case 3655:
sub_1001079F0();
return;
case 3660:
case 3661:
GJBaseGameLayer::triggerAdvancedFollowEditCommand((unsigned __int64)a2, a1);
return;
case 3663:
GJBaseGameLayer::activateProgressTrigger((__int64)a2, a1);
return;
default:
if ( v13 == 2066 )
GJBaseGameLayer::triggerGravityChange((__int64)a2, a1, a3);
return;
}
}
}
if ( v13 <= 914 )
{
if ( v13 <= 743 )
{
v14 = (unsigned int)(v13 - 22);
switch ( v13 )
{
case 22:
case 23:
case 24:
case 25:
case 26:
case 27:
case 28:
case 55:
case 56:
case 57:
case 58:
case 59:
goto LABEL_15;
case 29:
case 30:
case 105:
goto LABEL_47;
case 32:
if ( !*(_BYTE *)(a1 + 649) )
{
GameManager::sharedState(a1, a2, v14);
PlayLayer::toggleGhostEffect(*(_QWORD *)(v27 + 544), 1);
}
break;
case 33:
if ( !*(_BYTE *)(a1 + 649) )
{
GameManager::sharedState(a1, a2, v14);
PlayLayer::toggleGhostEffect(*(_QWORD *)(v28 + 544), 0);
}
break;
case 142:
goto LABEL_36;
case 200:
case 201:
case 202:
case 203:
goto LABEL_39;
default:
return;
}
return;
}
if ( (unsigned int)(v13 - 899) >= 2 && v13 != 744 )
{
if ( v13 == 901 )
GJBaseGameLayer::triggerMoveCommand((__int64)a2, a1);
return;
}
LABEL_47:
(*(void (__fastcall **)(_QWORD *, unsigned __int64, _QWORD, _QWORD, unsigned __int64, _QWORD, float, float, _DWORD, unsigned __int64, _DWORD, _DWORD))(*a2 + 1232LL))(
a2,
a1 + 1448,
*(unsigned int *)(a1 + 1024),
*(unsigned __int8 *)(a1 + 1487),
a1 + 1612,
*(unsigned int *)(a1 + 1628),
*(float *)(a1 + 1452),
*(float *)(a1 + 1456),
*(unsigned __int8 *)(a1 + 1632),
a1,
*(_DWORD *)(a1 + 916),
*(_DWORD *)(a1 + 1672));
if ( *(_DWORD *)(a1 + 1028) == 29 && *(_BYTE *)(a1 + 1484) == 1 )
(*(void (__fastcall **)(_QWORD *, unsigned __int64, __int64, _QWORD, unsigned __int64, _QWORD, float, float, _DWORD, unsigned __int64, _DWORD, _DWORD))(*a2 + 1232LL))(
a2,
a1 + 1448,
1001,
0,
a1 + 1612,
*(unsigned int *)(a1 + 1628),
*(float *)(a1 + 1452),
1.0,
*(unsigned __int8 *)(a1 + 1632),
a1,
*(_DWORD *)(a1 + 916),
*(_DWORD *)(a1 + 1672));
return;
}
if ( v13 > 1519 )
{
v16 = (unsigned int)(v13 - 1812);
switch ( v13 )
{
case 1812:
if ( !*(_BYTE *)(a1 + 649) )
{
v17 = a4;
*(_QWORD *)&v19 = GameManager::sharedState(a1, a2, v16).u64[0];
v20 = v17;
v22 = *(_QWORD *)(*(_QWORD *)(v21 + 544) + 2152LL);
v23 = *(_DWORD *)(a1 + 1464);
v24 = *(_BYTE *)(a1 + 1637);
if ( v20 )
{
sub_10019B500(__p, v20, v18);
}
else
{
v19 = 0.0;
*(_OWORD *)__p = 0;
v72 = nullptr;
}
GJEffectManager::runDeathTrigger(
v22,
v23,
v24,
__p,
*(unsigned int *)(a1 + 916),
*(unsigned int *)(a1 + 1672),
v19);
goto LABEL_164;
}
break;
case 1813:
case 1816:
case 1817:
case 1820:
case 1821:
case 1822:
case 1823:
case 1824:
case 1825:
case 1826:
case 1827:
case 1828:
case 1829:
case 1830:
case 1831:
case 1832:
case 1833:
case 1834:
case 1835:
case 1836:
case 1837:
case 1838:
case 1839:
case 1840:
case 1841:
case 1842:
case 1843:
case 1844:
case 1845:
case 1846:
case 1847:
case 1848:
case 1849:
case 1850:
case 1851:
case 1852:
case 1853:
case 1854:
case 1855:
case 1856:
case 1857:
case 1858:
case 1859:
case 1860:
case 1861:
case 1862:
case 1863:
case 1864:
case 1865:
case 1866:
case 1867:
case 1868:
case 1869:
case 1870:
case 1871:
case 1872:
case 1873:
case 1874:
case 1875:
case 1876:
case 1877:
case 1878:
case 1879:
case 1880:
case 1881:
case 1882:
case 1883:
case 1884:
case 1885:
case 1886:
case 1887:
case 1888:
case 1889:
case 1890:
case 1891:
case 1892:
case 1893:
case 1894:
case 1895:
case 1896:
case 1897:
case 1898:
case 1899:
case 1900:
case 1901:
case 1902:
case 1903:
case 1904:
case 1905:
case 1906:
case 1907:
case 1908:
case 1909:
case 1910:
case 1911:
case 1914:
case 1916:
case 1918:
case 1919:
case 1920:
case 1921:
case 1922:
case 1923:
case 1924:
case 1925:
case 1926:
case 1927:
case 1928:
case 1929:
case 1930:
case 1933:
return;
case 1814:
GJEffectManager::createPlayerFollowCommand(
a2[269],
*(unsigned int *)(a1 + 1584),
*(unsigned int *)(a1 + 1464),
*(unsigned int *)(a1 + 916),
*(unsigned int *)(a1 + 1672),
*(float *)(a1 + 1576),
*(float *)(a1 + 1580),
*(float *)(a1 + 1588),
*(float *)(a1 + 1452));
break;
case 1815:
if ( *(_BYTE *)(a1 + 1686) == 1 )
{
v43 = a2[269];
v44 = *(_DWORD *)(a1 + 1464);
v45 = *(_BYTE *)(a1 + 1667);
v46 = *(_BYTE *)(a1 + 1637);
if ( a4 )
{
sub_10019B500(__p, a4, v16);
}
else
{
*(_OWORD *)__p = 0;
v72 = nullptr;
}
GJEffectManager::registerCollisionTrigger(
v43,
v44,
10000,
10001,
v45,
v46,
(__int64)__p,
*(_DWORD *)(a1 + 916),
*(_DWORD *)(a1 + 1672));
goto LABEL_164;
}
v56 = 10000;
if ( !*(_BYTE *)(a1 + 1684) )
{
v56 = 10001;
if ( !*(_BYTE *)(a1 + 1685) )
v56 = *(_DWORD *)(a1 + 1680);
}
v57 = a2[269];
v58 = *(_DWORD *)(a1 + 1464);
v59 = *(_DWORD *)(a1 + 1668);
v60 = *(_BYTE *)(a1 + 1667);
v61 = *(_BYTE *)(a1 + 1637);
v68 = a4;
if ( a4 )
{
sub_10019B500(__p, a4, v16);
}
else
{
*(_OWORD *)__p = 0;
v72 = nullptr;
}
GJEffectManager::registerCollisionTrigger(
v57,
v58,
v56,
v59,
v60,
v61,
(__int64)__p,
*(_DWORD *)(a1 + 916),
*(_DWORD *)(a1 + 1672));
if ( __p[0] )
{
__p[1] = __p[0];
operator delete(__p[0]);
}
if ( *(_BYTE *)(a1 + 1684) == 1 && *(_BYTE *)(a1 + 1685) == 1 )
{
v63 = a2[269];
v64 = *(_DWORD *)(a1 + 1464);
v65 = *(_DWORD *)(a1 + 1668);
v66 = *(_BYTE *)(a1 + 1667);
v67 = *(_BYTE *)(a1 + 1637);
if ( v68 )
{
sub_10019B500(__p, v68, v62);
}
else
{
*(_OWORD *)__p = 0;
v72 = nullptr;
}
GJEffectManager::registerCollisionTrigger(
v63,
v64,
10001,
v65,
v66,
v67,
(__int64)__p,
*(_DWORD *)(a1 + 916),
*(_DWORD *)(a1 + 1672));
goto LABEL_164;
}
break;
case 1818:
if ( !*(_BYTE *)(a1 + 649) )
{
*(_QWORD *)&v38 = GameManager::sharedState(a1, a2, v16).u64[0];
v40 = *(_QWORD *)(v42 + 544);
v41 = 1;
goto LABEL_109;
}
break;
case 1819:
if ( !*(_BYTE *)(a1 + 649) )
{
*(_QWORD *)&v38 = GameManager::sharedState(a1, a2, v16).u64[0];
v40 = *(_QWORD *)(v39 + 544);
v41 = 0;
LABEL_109:
PlayLayer::toggleBGEffectVisibility(v40, v41, v38);
}
break;
case 1912:
v35 = a4;
v37 = *(_DWORD *)(a1
+ 4LL * (*(float *)(a1 + 1452) < (float)(GameToolbox::fast_rand_0_1(a1, a2, v16) * 100.0))
+ 1464);
if ( v35 )
{
sub_10019B500(__p, v35, v36);
}
else
{
*(_OWORD *)__p = 0;
v72 = nullptr;
}
GJBaseGameLayer::spawnGroupTriggered((__int64)a2, v37, 0, 0.0);
LABEL_164:
if ( __p[0] )
{
__p[1] = __p[0];
operator delete(__p[0]);
}
break;
case 1913:
GJBaseGameLayer::updateZoom(
(__int64)a2,
*(_DWORD *)(a1 + 1496),
*(_DWORD *)(a1 + 916),
*(_DWORD *)(a1 + 1672),
(__m128)*(unsigned int *)(a1 + 1744),
*(float *)(a1 + 1452),
*(float *)(a1 + 1500));
break;
case 1915:
LABEL_15:
GJBaseGameLayer::updateActiveEnterEffect(a2, (_DWORD *)a1);
break;
case 1917:
(*(void (__fastcall **)(_QWORD *, unsigned __int64))(*a2 + 1440LL))(a2, a1);
break;
case 1931:
(*(void (__fastcall **)(_QWORD *, _QWORD, _QWORD, _QWORD))(*a2 + 1272LL))(
a2,
*(unsigned int *)(a1 + 1464),
*(unsigned __int8 *)(a1 + 1761),
*(unsigned __int8 *)(a1 + 1505));
break;
case 1932:
GJBaseGameLayer::activatePlayerControlTrigger((__int64)a2, (_BYTE *)a1, v16);
break;
case 1934:
GJBaseGameLayer::activateSongTrigger((__int64)a2, a1, *(double *)a5.i64);
break;
case 1935:
GJBaseGameLayer::queueTimeWarp((__int64)a2, *(float *)(a1 + 1764));
break;
default:
switch ( v13 )
{
case 1585:
GJBaseGameLayer::playAnimationCommand((__int64)a2, *(_DWORD *)(a1 + 1652), *(_DWORD *)(a1 + 1464));
break;
case 1586:
case 1587:
case 1588:
case 1589:
case 1590:
case 1591:
case 1592:
case 1593:
case 1594:
case 1596:
case 1597:
case 1598:
case 1599:
case 1600:
case 1601:
case 1602:
case 1603:
case 1604:
case 1605:
case 1606:
case 1607:
case 1608:
case 1609:
case 1610:
case 1611:
return;
case 1595:
v47 = a2[269];
v48 = *(_DWORD *)(a1 + 1464);
v49 = *(_BYTE *)(a1 + 1638);
v50 = *(_DWORD *)(a1 + 1640);
v51 = *(_DWORD *)(a1 + 1644);
v52 = *(_BYTE *)(a1 + 1648);
if ( a4 )
{
sub_10019B500(__p, a4, (unsigned int)(v13 - 1585));
}
else
{
*(_OWORD *)__p = 0;
v72 = nullptr;
}
GJEffectManager::runTouchTriggerCommand(
v47,
v48,
v49,
v50,
v51,
v52,
(__int64)__p,
*(_DWORD *)(a1 + 916),
*(_DWORD *)(a1 + 1672));
goto LABEL_164;
case 1612:
GJBaseGameLayer::togglePlayerVisibility_1((__int64)a2, 0);
break;
case 1613:
GJBaseGameLayer::togglePlayerVisibility_1((__int64)a2, 1);
break;
default:
if ( v13 == 1520 )
{
v33 = *(float *)(a1 + 1452);
if ( v33 > 0.0 )
{
v34 = *(float *)(a1 + 1476);
if ( v34 > 0.0 )
GJBaseGameLayer::shakeCamera((__int64)a2, v33, v34, *(float *)(a1 + 1480));
}
}
break;
}
break;
}
}
else if ( v13 > 1048 )
{
v14 = (unsigned int)(v13 - 1329);
switch ( v13 )
{
case 1329:
LABEL_36:
v25 = *(_DWORD *)(a1 + 1464);
if ( v25 > 0 )
{
if ( a4 )
{
sub_10019B500(__p, a4, v14);
}
else
{
*(_OWORD *)__p = 0;
v72 = nullptr;
}
LABEL_124:
(*(void (__fastcall **)(__int64, _QWORD, _QWORD, void **, _QWORD, _QWORD, double))(*(_QWORD *)v5 + 1256LL))(
v5,
(unsigned int)v25,
0,
__p,
*(unsigned int *)(a1 + 916),
*(unsigned int *)(a1 + 1672),
0.0);
goto LABEL_164;
}
break;
case 1330:
case 1331:
case 1332:
case 1333:
case 1335:
case 1336:
case 1337:
case 1338:
case 1339:
case 1340:
case 1341:
case 1342:
case 1343:
case 1344:
case 1345:
return;
case 1334:
LABEL_39:
v26 = 0.89999998;
if ( v13 > 202 )
{
if ( v13 == 203 )
{
v26 = 1.3;
}
else if ( v13 == 1334 )
{
v26 = 1.6;
}
}
else if ( v13 == 200 )
{
v26 = 0.69999999;
}
else if ( v13 == 202 )
{
v26 = 1.1;
}
GJBaseGameLayer::updateTimeMod((__int64)a2, 0, *(_BYTE *)(a1 + 1044), v26);
GameObject::playShineEffect(a1);
(*(void (__fastcall **)(_QWORD *, unsigned __int64))(*a2 + 1216LL))(a2, a1);
break;
case 1346:
GJBaseGameLayer::triggerRotateCommand((__int64)a2, a1, a5);
break;
case 1347:
GJEffectManager::createFollowCommand(
a2[269],
*(unsigned int *)(a1 + 1464),
*(unsigned int *)(a1 + 1468),
*(unsigned int *)(a1 + 916),
*(unsigned int *)(a1 + 1672),
*(float *)(a1 + 1568),
*(float *)(a1 + 1572),
*(float *)(a1 + 1452));
break;
default:
if ( v13 == 1049 )
GJBaseGameLayer::toggleGroup(a2, *(unsigned int *)(a1 + 1464), *(_BYTE *)(a1 + 1637));
break;
}
}
else
{
switch ( v13 )
{
case 915:
goto LABEL_47;
case 1006:
GJEffectManager::runPulseEffect(
a2[269],
*(_DWORD *)(a1 + 1464),
*(_DWORD *)(a1 + 1608) == 1,
(*(_DWORD *)(a1 + 1604) == 0) + 1,
*(unsigned __int16 *)(a1 + 1448) | (*(unsigned __int8 *)(a1 + 1450) << 16),
*(_QWORD *)(a1 + 1620),
*(_DWORD *)(a1 + 1628),
*(_BYTE *)(a1 + 1633),
*(_BYTE *)(a1 + 1634),
*(_BYTE *)(a1 + 1635),
*(_BYTE *)(a1 + 1636),
*(_DWORD *)(a1 + 916),
*(_DWORD *)(a1 + 1672));
break;
case 1007:
GJEffectManager::runOpacityActionOnGroup(
a2[269],
*(unsigned int *)(a1 + 1464),
*(unsigned int *)(a1 + 916),
*(unsigned int *)(a1 + 1672),
*(float *)(a1 + 1452),
*(float *)(a1 + 1456));
break;
}
}
}