//
// GJBaseGameLayer::updateInternalCamOffsetX from 0x5b87c4 to 0x5b8812 (78 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::resetCamera @ 0x5b93dc
//
// 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:40 +0000
//
void __fastcall GJBaseGameLayer::updateInternalCamOffsetX(GJBaseGameLayer *this, float a2, float a3, float a4)
{
GJGameState *v5; // r0
*((float *)this + 138) = a2;
v5 = (GJBaseGameLayer *)((char *)this + 328);
if ( a3 <= 0.0 )
{
GJGameState::stopTweenAction((unsigned int)v5, 0x12u);
*((_DWORD *)this + 136) = *((_DWORD *)this + 138);
}
else
{
GJGameState::tweenValue(v5, *((float *)this + 136), a2, 0x12u, a3, 1, a4, -1, -1);
}
}