//
// CameraTriggerGameObject::triggerObject from 0x100439560 to 0x10043971c (444 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095cc78
//
// This function is hookable on this platform (idp: arm, 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 11:05:09 +0000
//
void __fastcall CameraTriggerGameObject::triggerObject(
__int64 a1,
_DWORD *a2,
int a3,
__int64 a4,
__n128 a5,
__n128 a6,
__n128 a7,
__n128 a8,
__n128 a9)
{
int v11; // w8
int v12; // w8
v11 = *(_DWORD *)(a1 + 1028);
if ( v11 > 2015 )
{
if ( v11 != 2016 )
{
if ( v11 != 2062 )
{
if ( v11 == 2925 )
{
GJBaseGameLayer::updateCameraMode((__int64)a2, (int32x2_t *)a1, 1);
return;
}
goto LABEL_12;
}
GJBaseGameLayer::updateCameraEdge(a2, *(_DWORD *)(a1 + 1848), *(_DWORD *)(a1 + 1464));
}
}
else
{
switch ( v11 )
{
case 1914:
v12 = *(_DWORD *)(a1 + 1512);
if ( (*(_BYTE *)(a1 + 1840) & 1) != 0 )
GJBaseGameLayer::exitStaticCamera(
(__int64)a2,
v12 != 2,
v12 != 1,
*(_DWORD *)(a1 + 1496),
*(unsigned __int8 *)(a1 + 1852),
*(unsigned __int8 *)(a1 + 1860),
*(float *)(a1 + 1452),
*(float *)(a1 + 1500),
*(float *)(a1 + 1856));
else
GJBaseGameLayer::updateStaticCameraPosToGroup(
(__int64)a2,
*(unsigned int *)(a1 + 1468),
v12 != 2,
v12 != 1,
*(unsigned __int8 *)(a1 + 1841),
*(_DWORD *)(a1 + 1496),
*(unsigned __int8 *)(a1 + 1852),
*(float *)(a1 + 1844),
*(float *)(a1 + 1452),
*(float *)(a1 + 1500),
*(float *)(a1 + 1856));
break;
case 1916:
if ( *(_DWORD *)(a1 + 1512) == 2
|| (GJBaseGameLayer::updateCameraOffsetX(
(__int64)a2,
*(_DWORD *)(a1 + 1496),
*(_DWORD *)(a1 + 916),
*(_DWORD *)(a1 + 1672),
*(float *)(a1 + 1488),
*(float *)(a1 + 1452),
*(float *)(a1 + 1500)),
*(_DWORD *)(a1 + 1512) != 1) )
{
GJBaseGameLayer::updateCameraOffsetY(
(__int64)a2,
*(_DWORD *)(a1 + 1496),
*(_DWORD *)(a1 + 916),
*(_DWORD *)(a1 + 1672),
*(float *)(a1 + 1492),
*(float *)(a1 + 1452),
*(float *)(a1 + 1500));
}
break;
case 2015:
(*(void (__fastcall **)(_DWORD *, _QWORD, _QWORD, _QWORD, _QWORD, _QWORD, float, float, float))(*(_QWORD *)a2 + 1432LL))(
a2,
*(unsigned __int8 *)(a1 + 1552),
*(unsigned __int8 *)(a1 + 1525),
*(unsigned int *)(a1 + 1496),
*(unsigned int *)(a1 + 916),
*(unsigned int *)(a1 + 1672),
*(float *)(a1 + 1544),
*(float *)(a1 + 1452),
*(float *)(a1 + 1500));
return;
default:
LABEL_12:
EffectGameObject::triggerObject(a1, (__int64)a2, a3, a4, a5, a6, a7, a8, a9);
return;
}
}
}