//
// GJBaseGameLayer::updateCameraOffsetX from 0x100299248 to 0x1002992c8 (128 bytes)
//
// 3 xrefs:
// > PlayLayer::playEndAnimationToPos @ 0x1001449b0
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x100144d5c
// > CameraTriggerGameObject::triggerObject @ 0x100439680
//
// 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 11:02:07 +0000
//
float __fastcall GJBaseGameLayer::updateCameraOffsetX(__int64 a1, int a2, int a3, int a4, float a5, float a6, float a7)
{
float result; // s0
int v9; // [xsp+Ch] [xbp-14h] BYREF
*(float *)(a1 + 440) = a5;
if ( a6 <= 0.0 )
{
v9 = 15;
sub_10001BB58((_QWORD *)(a1 + 1016), &v9);
result = *(float *)(a1 + 440);
*(float *)(a1 + 432) = result;
}
else
{
sub_10027409C(a1 + 424, 15, a2, a3, a4, *(float *)(a1 + 432), a5, a6, a7);
}
return result;
}