//
// GJBaseGameLayer::updateInternalCamOffsetX from 0x9e607c to 0x9e60ec (112 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::resetCamera @ 0x9e707c
// > ??> @ 0xcd768
//
// This function is hookable on this platform (idp: arm, 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:58:59 +0000
//
__int64 __fastcall GJBaseGameLayer::updateInternalCamOffsetX(GJBaseGameLayer *this, float a2, float a3, float a4)
{
__int64 result; // x0
*((float *)this + 162) = a2;
if ( a3 > 0.0 )
return GJGameState::tweenValue(
(GJBaseGameLayer *)((char *)this + 424),
*((float *)this + 160),
a2,
18,
a3,
1,
a4,
-1,
-1);
GJGameState::stopTweenAction((GJBaseGameLayer *)((char *)this + 424), 18);
result = *((unsigned int *)this + 162);
*((_DWORD *)this + 160) = result;
return result;
}