//
// GJBaseGameLayer::updateCameraMode from 0x1001249a0 to 0x100124a1f (127 bytes)
//
// 1 xrefs:
// > CameraTriggerGameObject::triggerObject @ 0x1001ddfe4
//
// 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 __fastcall GJBaseGameLayer::updateCameraMode(GJBaseGameLayer *a1, EffectGameObject *a2, bool a3)
{
char m_isFreeMode; // al
char m_cameraIsFreeMode; // cl
m_isFreeMode = a1->m_gameState.m_isFreeMode;
m_cameraIsFreeMode = a2->m_cameraIsFreeMode;
a1->m_gameState.m_isFreeMode = m_cameraIsFreeMode;
a1->m_gameState.m_unkBool9 = a2->m_cameraDisableGridSnap;
if ( a2->m_cameraEditCameraSettings )
_mm_storel_ps(
(double *)&a1->m_gameState.m_unkFloat2,
_mm_min_ps(
(__m128)0x422000003F800000uLL,
_mm_max_ps(
(__m128)0x3F80000000000000uLL,
_mm_shuffle_ps(
(__m128)*(unsigned __int64 *)&a2->m_cameraEasingValue,
(__m128)*(unsigned __int64 *)&a2->m_cameraEasingValue,
225))));
if ( m_isFreeMode != m_cameraIsFreeMode && a3 )
GJBaseGameLayer::updateDualGround(a1, a1->m_player1, a1->m_gameState.m_dualRelated, 0, 0.0);
}