//
// GJBaseGameLayer::updateCameraOffsetX from 0x9e3794 to 0x9e380c (120 bytes)
//
// 5 xrefs:
// > PlayLayer::playEndAnimationToPos @ 0x6f3e80
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x704398
// > CameraTriggerGameObject::triggerObject @ 0x898e34
// > GJBaseGameLayer::resetCamera @ 0x9e7024
// > ??> @ 0xab5b0
//
// 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:57 +0000
//
__int64 __fastcall GJBaseGameLayer::updateCameraOffsetX(
GJBaseGameLayer *this,
float a2,
float a3,
int a4,
float a5,
int a6,
int a7)
{
__int64 result; // x0
*((float *)this + 110) = a2;
if ( a3 > 0.0 )
return GJGameState::tweenValue(
(GJBaseGameLayer *)((char *)this + 424),
*((float *)this + 108),
a2,
15,
a3,
a4,
a5,
a6,
a7);
GJGameState::stopTweenAction((GJBaseGameLayer *)((char *)this + 424), 15);
result = *((unsigned int *)this + 110);
*((_DWORD *)this + 108) = result;
return result;
}