//
// StartPosLayer::valueDidChange from 0x14045f420 to 0x14045f648 (552 bytes)
//
// 1 xrefs:
// > ??> @ 0x140797918
//
// 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 11:32:32 +0000
//
__int64 __fastcall StartPosLayer::valueDidChange(__int64 a1, int a2, float a3)
{
__int64 result; // rax
switch ( a2 )
{
case -15:
result = *(_QWORD *)(a1 + 1000);
*(_DWORD *)(*(_QWORD *)(result + 1856) + 476LL) = (int)a3;
break;
case -14:
result = *(_QWORD *)(a1 + 1000);
*(_DWORD *)(*(_QWORD *)(result + 1856) + 480LL) = (int)a3;
break;
case -13:
result = *(_QWORD *)(a1 + 1000);
*(float *)(*(_QWORD *)(result + 1856) + 484LL) = fmaxf(-100.0, fminf(100.0, a3));
break;
case -12:
result = *(_QWORD *)(a1 + 1000);
*(_DWORD *)(*(_QWORD *)(result + 1856) + 376LL) = (int)a3;
break;
case -11:
result = *(_QWORD *)(a1 + 1000);
*(_DWORD *)(*(_QWORD *)(result + 1856) + 372LL) = (int)a3;
break;
case -10:
result = *(_QWORD *)(a1 + 1000);
*(_BYTE *)(*(_QWORD *)(result + 1856) + 473LL) = a3 != 0.0;
break;
case -9:
result = *(_QWORD *)(a1 + 1000);
*(_BYTE *)(*(_QWORD *)(result + 1856) + 472LL) = a3 != 0.0;
break;
case -8:
result = *(_QWORD *)(a1 + 1000);
*(_BYTE *)(*(_QWORD *)(result + 1856) + 448LL) = a3 != 0.0;
break;
case -7:
result = *(_QWORD *)(a1 + 1000);
*(_BYTE *)(*(_QWORD *)(result + 1856) + 370LL) = a3 != 0.0;
break;
case -6:
result = *(_QWORD *)(a1 + 1000);
*(_BYTE *)(*(_QWORD *)(result + 1856) + 339LL) = a3 != 0.0;
break;
case -5:
result = *(_QWORD *)(a1 + 1000);
*(_BYTE *)(*(_QWORD *)(result + 1856) + 471LL) = a3 != 0.0;
break;
case -4:
result = *(_QWORD *)(a1 + 1000);
*(_BYTE *)(*(_QWORD *)(result + 1856) + 338LL) = a3 != 0.0;
break;
case -3:
result = *(_QWORD *)(a1 + 1000);
*(_BYTE *)(*(_QWORD *)(result + 1856) + 337LL) = a3 != 0.0;
break;
case -2:
result = *(_QWORD *)(a1 + 1000);
*(_BYTE *)(*(_QWORD *)(result + 1856) + 336LL) = a3 != 0.0;
break;
case -1:
result = *(_QWORD *)(a1 + 1000);
*(_BYTE *)(*(_QWORD *)(result + 1856) + 369LL) = a3 != 0.0;
break;
default:
return result;
}
return result;
}