//
// UIPOptionsLayer::valueDidChange from 0x1002b76e0 to 0x1002b77a5 (197 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009035c8
//
// 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 UIPOptionsLayer::valueDidChange(UIPOptionsLayer *a1, int a2, float a3)
{
__int64 v3; // rax
unsigned int v4; // r14d
__int64 v5; // rax
__int64 v6; // rax
__int64 v7; // rax
if ( a2 == -29 )
{
GameManager::sharedState()->m_practiceOpacity = a3;
v3 = ((__int64 (__fastcall *)(cocos2d::CCNode *))a1->m_practiceNode->getChildren)(a1->m_practiceNode);
if ( (unsigned int)sub_100720070(v3) )
{
v4 = 0;
do
{
v5 = ((__int64 (__fastcall *)(cocos2d::CCNode *))a1->m_practiceNode->getChildren)(a1->m_practiceNode);
v6 = sub_1007200C0(v5, v4);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 896LL))(v6, (unsigned __int8)(int)(float)(a3 * 255.0));
++v4;
v7 = ((__int64 (__fastcall *)(cocos2d::CCNode *))a1->m_practiceNode->getChildren)(a1->m_practiceNode);
}
while ( v4 < (unsigned int)sub_100720070(v7) );
}
}
}