// // UIPOptionsLayer::valueDidChange from 0x4a9a78 to 0x4a9ae0 (104 bytes) // // 0 xrefs: // // 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 UIPOptionsLayer::valueDidChange(UIPOptionsLayer *a1, int a2, float a3) { unsigned int v5; // r4 float i; // s16 cocos2d::CCArray *v7; // r0 cocos2d::CCArray *v8; // r0 int v9; // r0 if ( a2 == -29 ) { v5 = 0; GameManager::sharedState()->m_practiceOpacity = a3; for ( i = a3 * 255.0; ; (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v9 + 448))(v9, (unsigned __int8)(unsigned int)i) ) { v7 = a1->m_practiceNode->getChildren(a1->m_practiceNode); if ( v5 >= cocos2d::CCArray::count(v7) ) break; v8 = a1->m_practiceNode->getChildren(a1->m_practiceNode); v9 = cocos2d::CCArray::objectAtIndex(v8, v5++); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source