//
// GJBaseGameLayer::updateCameraOffsetY from 0x9e380c to 0x9e3884 (120 bytes)
//
// 5 xrefs:
// > PlayLayer::playEndAnimationToPos @ 0x6f3ea0
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x7043b8
// > CameraTriggerGameObject::triggerObject @ 0x898d94
// > GJBaseGameLayer::resetCamera @ 0x9e7044
// > ??> @ 0x889c0
//
// 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::updateCameraOffsetY(
GJBaseGameLayer *this,
float a2,
float a3,
int a4,
float a5,
int a6,
int a7)
{
__int64 result; // x0
*((float *)this + 111) = a2;
if ( a3 > 0.0 )
return GJGameState::tweenValue(
(GJBaseGameLayer *)((char *)this + 424),
*((float *)this + 109),
a2,
16,
a3,
a4,
a5,
a6,
a7);
GJGameState::stopTweenAction((GJBaseGameLayer *)((char *)this + 424), 16);
result = *((unsigned int *)this + 111);
*((_DWORD *)this + 109) = result;
return result;
}