//
// GJBaseGameLayer::updateCameraOffsetY from 0x5b69b2 to 0x5b6a00 (78 bytes)
//
// 4 xrefs:
// > PlayLayer::playEndAnimationToPos @ 0x400056
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x40840c
// > CameraTriggerGameObject::triggerObject @ 0x4f5638
// > GJBaseGameLayer::resetCamera @ 0x5b93b8
//
// 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::updateCameraOffsetY(
GJBaseGameLayer *this,
float a2,
float a3,
int a4,
float a5,
int a6,
int a7)
{
GJGameState *v8; // r0
*((float *)this + 87) = a2;
v8 = (GJBaseGameLayer *)((char *)this + 328);
if ( a3 <= 0.0 )
{
GJGameState::stopTweenAction((unsigned int)v8, 0x10u);
*((_DWORD *)this + 85) = *((_DWORD *)this + 87);
}
else
{
GJGameState::tweenValue(v8, *((float *)this + 85), a2, 0x10u, a3, a4, a5, a6, a7);
}
}