//
// GJBaseGameLayer::updateCameraOffsetX from 0x140235f70 to 0x140236007 (151 bytes)
//
// 2 xrefs:
// > CameraTriggerGameObject::triggerObject @ 0x1404bd910
// > ??> @ 0x1406ce0a0
//
// 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 GJBaseGameLayer::updateCameraOffsetX(GJBaseGameLayer *a1, float a2, float a3, int a4, float a5, int a6, int a7)
{
int v8; // [rsp+68h] [rbp+10h] BYREF
a1->m_gameState.m_unkPoint1.x = a2;
if ( a3 <= 0.0 )
{
v8 = 15;
sub_14024AC30(&a1->m_gameState.m_tweenActions, &v8);
a1->m_gameState.m_cameraOffset.x = a1->m_gameState.m_unkPoint1.x;
}
else
{
GJGameState::tweenValue(&a1->m_gameState, a1->m_gameState.m_cameraOffset.x, a2, 15, a3, a4, a5, a6, a7);
}
}