//
// SetItemIDLayer::valueDidChange from 0x100063ca0 to 0x100063d96 (246 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ab96a8
//
// 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:19:42 +0000
//
__int64 __fastcall SetItemIDLayer::valueDidChange(_QWORD *a1, int a2, __m128 a3)
{
__int64 result; // rax
__int64 Objects; // rbx
unsigned int v5; // r15d
__int64 v6; // rax
__m128 v7; // rt1
switch ( a2 )
{
case 390:
v7.i32[0] = -1082130432;
return (*(__int64 (__fastcall **)(_QWORD *, __int64, _QWORD))(*a1 + 1352LL))(
a1,
390,
_mm_cvtsi128_si32((__m128i)_mm_cmpeq_ss(a3, v7)) & 1);
case 466:
result = cocos2d::CCDictionary::objectForKey_1(a1[125]);
if ( result )
return sub_100914A10(
result,
2 * (_mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss((__m128)a3.u32[0], (__m128)0LL)) & 1u) + 2);
break;
case 391:
Objects = SetupTriggerPopup::getObjects(a1);
result = sub_1007FEF90(Objects);
if ( (_DWORD)result )
{
v5 = 0;
do
{
v6 = sub_1007FEFE0(Objects, v5);
LabelGameObject::updateLabelAlign(v6, (unsigned int)(int)a3.f32[0]);
++v5;
result = sub_1007FEF90(Objects);
}
while ( v5 < (unsigned int)result );
}
break;
}
return result;
}