//
// GJBaseGameLayer::updateCameraOffsetY from 0x10012ce60 to 0x10012cf57 (247 bytes)
//
// 3 xrefs:
// > PlayLayer::playEndAnimationToPos @ 0x10008393b
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x100083e88
// > CameraTriggerGameObject::triggerObject @ 0x1001bf099
//
// This function is hookable on this platform (idp: pc, 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:24:44 +0000
//
__int64 __fastcall GJBaseGameLayer::updateCameraOffsetY(
__int64 a1,
int a2,
int a3,
int a4,
float a5,
float a6,
float a7)
{
__int64 *v9; // rdi
__int64 result; // rax
int v11[3]; // [rsp+4h] [rbp-5Ch] BYREF
__int64 v12; // [rsp+10h] [rbp-50h]
int v13; // [rsp+18h] [rbp-48h]
float v14; // [rsp+1Ch] [rbp-44h]
__int16 v15; // [rsp+20h] [rbp-40h]
int v16; // [rsp+24h] [rbp-3Ch]
int v17; // [rsp+28h] [rbp-38h]
int v18; // [rsp+2Ch] [rbp-34h] BYREF
int v19; // [rsp+30h] [rbp-30h]
float v20; // [rsp+34h] [rbp-2Ch]
int v21; // [rsp+38h] [rbp-28h]
int v22; // [rsp+3Ch] [rbp-24h]
*(float *)(a1 + 444) = a5;
if ( a6 <= 0.0 )
{
v11[0] = 16;
result = sub_10001C120((__int64 *)(a1 + 1016), v11);
*(_DWORD *)(a1 + 436) = *(_DWORD *)(a1 + 444);
}
else
{
v19 = *(_DWORD *)(a1 + 436);
v18 = 16;
v11[0] = 16;
v9 = (__int64 *)(a1 + 1016);
v20 = a7;
v21 = LODWORD(a6);
v22 = LODWORD(a5);
sub_10001C120(v9, v11);
v12 = 0;
v15 = 0;
v11[0] = v19;
v11[1] = v22;
v11[2] = v21;
v13 = a2;
v14 = v20;
v16 = a3;
v17 = a4;
return sub_100145000(v9, &v18, &v18, v11);
}
return result;
}