// // CameraTriggerGameObject::triggerObject from 0x1001beed0 to 0x1001bf122 (594 bytes) // // 1 xrefs: // > @ 0x100ad7010 // // 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:26:14 +0000 // void __fastcall CameraTriggerGameObject::triggerObject( unsigned __int64 a1, _DWORD *a2, __int64 a3, __int64 a4, __m128 a5) { int v5; // eax int v6; // r8d v5 = *(_DWORD *)(a1 + 1028); if ( v5 > 2015 ) { if ( v5 == 2016 ) return; if ( v5 != 2062 ) { if ( v5 == 2925 ) { GJBaseGameLayer::updateCameraMode((__int64)a2, a1, 1u); return; } goto LABEL_12; } GJBaseGameLayer::updateCameraEdge(a2, *(_DWORD *)(a1 + 1848), *(_DWORD *)(a1 + 1464)); } else { switch ( v5 ) { case 1914: v6 = *(_DWORD *)(a1 + 1512); if ( *(_BYTE *)(a1 + 1840) ) GJBaseGameLayer::exitStaticCamera( (__int64)a2, v6 != 2, v6 != 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, *(_DWORD *)(a1 + 1468), v6 != 2, v6 != 1, *(_BYTE *)(a1 + 1841), *(_DWORD *)(a1 + 1496), *(float *)(a1 + 1844), *(float *)(a1 + 1452), *(float *)(a1 + 1500), *(float *)(a1 + 1856), *(_BYTE *)(a1 + 1852)); 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, a2, a3, a4, a5); return; } } }