//
// GJRotateCommandLayer::sliderTimesChanged from 0x100003690 to 0x100003734 (164 bytes)
//
// 1 xrefs:
// > GJRotateCommandLayer::init @ 0x100002429
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJRotateCommandLayer::sliderTimesChanged(GJRotateCommandLayer *a1, cocos2d::CCObject *a2)
{
__m128 v2; // xmm0
EffectGameObject *m_gameObject; // rax
unsigned int v4; // r14d
v2.f32[0] = SliderThumb::getValue((SliderThumb *)a2) * 20.0;
a1->m_times360 = (int)(float)(_mm_round_ss(v2, v2, 9).f32[0] + -10.0);
GJRotateCommandLayer::updateTimesLabel(a1);
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_times360 = a1->m_times360;
}
else if ( (unsigned int)sub_100720070(a1->m_gameObjects) )
{
v4 = 0;
do
*(_DWORD *)(sub_1007200C0(a1->m_gameObjects, v4++) + 1548) = a1->m_times360;
while ( v4 < (unsigned int)sub_100720070(a1->m_gameObjects) );
}
}