//
// GJBaseGameLayer::updateCameraOffsetX from 0x5b6964 to 0x5b69b2 (78 bytes)
//
// 4 xrefs:
// > PlayLayer::playEndAnimationToPos @ 0x400040
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x4083f8
// > CameraTriggerGameObject::triggerObject @ 0x4f5606
// > GJBaseGameLayer::resetCamera @ 0x5b93a2
//
// 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:53:38 +0000
//
void __fastcall GJBaseGameLayer::updateCameraOffsetX(
GJBaseGameLayer *this,
float a2,
float a3,
int a4,
float a5,
int a6,
int a7)
{
GJGameState *v8; // r0
*((float *)this + 86) = a2;
v8 = (GJBaseGameLayer *)((char *)this + 328);
if ( a3 <= 0.0 )
{
GJGameState::stopTweenAction((unsigned int)v8, 0xFu);
*((_DWORD *)this + 84) = *((_DWORD *)this + 86);
}
else
{
GJGameState::tweenValue(v8, *((float *)this + 84), a2, 0xFu, a3, a4, a5, a6, a7);
}
}