//
// StartPosLayer::valueDidChange from 0x10025dea0 to 0x10025e0d9 (569 bytes)
//
// 1 xrefs:
// > ??> @ 0x100af3b28
//
// 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:27:29 +0000
//
__int64 __fastcall StartPosLayer::valueDidChange(__int64 a1, int a2, float a3)
{
__int64 result; // rax
switch ( a2 )
{
case -15:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(_DWORD *)(result + 468) = (int)a3;
break;
case -14:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(_DWORD *)(result + 472) = (int)a3;
break;
case -13:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(float *)(result + 476) = fmaxf(fminf(a3, 100.0), -100.0);
break;
case -12:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(_DWORD *)(result + 376) = (int)a3;
break;
case -11:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(_DWORD *)(result + 372) = (int)a3;
break;
case -10:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(_BYTE *)(result + 465) = a3 != 0.0;
break;
case -9:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(_BYTE *)(result + 464) = a3 != 0.0;
break;
case -8:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(_BYTE *)(result + 440) = a3 != 0.0;
break;
case -7:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(_BYTE *)(result + 370) = a3 != 0.0;
break;
case -6:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(_BYTE *)(result + 339) = a3 != 0.0;
break;
case -5:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(_BYTE *)(result + 463) = a3 != 0.0;
break;
case -4:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(_BYTE *)(result + 338) = a3 != 0.0;
break;
case -3:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(_BYTE *)(result + 337) = a3 != 0.0;
break;
case -2:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(_BYTE *)(result + 336) = a3 != 0.0;
break;
case -1:
result = *(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL);
*(_BYTE *)(result + 369) = a3 != 0.0;
break;
default:
return result;
}
return result;
}