//
// SetupCameraModePopup::updateCameraEasing from 0xb45f58 to 0xb45fc8 (112 bytes)
//
// 3 xrefs:
// > SetupCameraModePopup::onEditCameraSettings @ 0xb460b0
// > SetupCameraModePopup::sliderChanged @ 0xb46180
// > ??> @ 0x593f8
//
// 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 13:01:53 +0000
//
__int64 __fastcall SetupCameraModePopup::updateCameraEasing(SetupCameraModePopup *this)
{
__int64 v1; // x1
__int64 result; // x0
unsigned int v4; // w20
bool v5; // cf
unsigned int v6; // w1
v1 = *((_QWORD *)this + 85);
if ( v1 )
{
result = *((unsigned int *)this + 262);
*(float *)(v1 + 1752) = (float)(int)result;
}
else
{
v4 = 0;
while ( 1 )
{
result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 86));
v5 = v4 >= (unsigned int)result;
v6 = v4++;
if ( v5 )
break;
*(float *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v6) + 1752) = (float)*((int *)this + 262);
}
}
return result;
}