//
// SetupPortalPopup::updateCameraEasing from 0x10059da40 to 0x10059dabb (123 bytes)
//
// 0 xrefs:
//
// 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:32:31 +0000
//
__int64 __fastcall SetupPortalPopup::updateCameraEasing(__int64 a1)
{
__int64 result; // rax
unsigned int v2; // r14d
result = *(_QWORD *)(a1 + 672);
if ( result )
{
*(float *)(result + 1752) = (float)*(int *)(a1 + 712);
}
else
{
result = sub_1007FEF90(*(_QWORD *)(a1 + 664));
if ( (_DWORD)result )
{
v2 = 0;
do
{
*(float *)(sub_1007FEFE0(*(_QWORD *)(a1 + 664), v2++) + 1752) = (float)*(int *)(a1 + 712);
result = sub_1007FEF90(*(_QWORD *)(a1 + 664));
}
while ( v2 < (unsigned int)result );
}
}
return result;
}