//
// CameraTriggerGameObject::triggerObject from 0x4f54f4 to 0x4f569c (424 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:16 +0000
//
char **__fastcall CameraTriggerGameObject::triggerObject(
EffectGameObject *a1,
GJBaseGameLayer *this,
int a3,
const void **a4)
{
int v5; // r1
char **result; // r0
int v8; // r3
float *v9; // r6
float *v10; // r7
int v11; // r2
char v12; // r0
float *v13; // r1
bool v14; // lr
bool v15; // r3
v5 = *((_DWORD *)a1 + 223);
if ( v5 == 2015 )
return (char **)(*(int (__fastcall **)(GJBaseGameLayer *, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD))(*(_DWORD *)this + 716))(
this,
*((_DWORD *)a1 + 341),
*((unsigned __int8 *)a1 + 1372),
*((unsigned __int8 *)a1 + 1345),
*((_DWORD *)a1 + 318),
*((_DWORD *)a1 + 329),
*((_DWORD *)a1 + 330),
*((_DWORD *)a1 + 195),
*((_DWORD *)a1 + 373));
if ( v5 >= 2016 )
{
if ( v5 == 2062 )
return (char **)GJBaseGameLayer::updateCameraEdge(this, *((_DWORD *)a1 + 414), *((_DWORD *)a1 + 321));
result = (char **)(&stru_B6C + 1);
if ( v5 == 2925 )
return (char **)GJBaseGameLayer::updateCameraMode(this, a1, 1);
if ( v5 != 2016 )
return EffectGameObject::triggerObject((char **)a1, (GJEffectManager **)this, a3, a4);
}
else if ( v5 == 1914 )
{
v8 = *((_DWORD *)a1 + 333);
v9 = (float *)((char *)a1 + 1272);
v10 = (float *)((char *)a1 + 1320);
v11 = *((_DWORD *)a1 + 329);
v12 = *((_BYTE *)a1 + 1660);
v13 = (float *)((char *)a1 + 1664);
v14 = v8 != 2;
v15 = v8 != 1;
if ( *((_BYTE *)a1 + 1648) )
return (char **)GJBaseGameLayer::exitStaticCamera(
this,
v14,
v15,
*v9,
*((float *)a1 + 329),
*v10,
v12,
*v13,
*((_BYTE *)a1 + 1668));
else
return (char **)GJBaseGameLayer::updateStaticCameraPosToGroup(
this,
*((_DWORD *)a1 + 322),
v14,
v15,
*((_BYTE *)a1 + 1649),
*((float *)a1 + 413),
*v9,
v11,
*v10,
v12,
*v13);
}
else
{
result = (char **)&stru_77C;
if ( v5 != 1916 )
return EffectGameObject::triggerObject((char **)a1, (GJEffectManager **)this, a3, a4);
if ( *((_DWORD *)a1 + 333) != 2 )
result = (char **)GJBaseGameLayer::updateCameraOffsetX(
this,
*((float *)a1 + 327),
*((float *)a1 + 318),
*((_DWORD *)a1 + 329),
*((float *)a1 + 330),
*((_DWORD *)a1 + 195),
*((_DWORD *)a1 + 373));
if ( *((_DWORD *)a1 + 333) != 1 )
return (char **)GJBaseGameLayer::updateCameraOffsetY(
this,
*((float *)a1 + 328),
*((float *)a1 + 318),
*((_DWORD *)a1 + 329),
*((float *)a1 + 330),
*((_DWORD *)a1 + 195),
*((_DWORD *)a1 + 373));
}
return result;
}