// // SetupPulsePopup::updateHSVValue from 0x4bd750 to 0x4bd7ac (92 bytes) // // 1 xrefs: // > SetupPulsePopup::onClose @ 0x4bd89a // // 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 SetupPulsePopup::updateHSVValue(SetupPulsePopup *a1) { EffectGameObject *m_gameObject; // r4 cocos2d::ccHSVValue *p_m_hsvValue; // r4 int v4; // r0 float s; // [sp+4h] [bp-20h] float v; // [sp+8h] [bp-1Ch] int v7; // [sp+Ch] [bp-18h] float v8; // [sp+14h] [bp-10h] float v9; // [sp+18h] [bp-Ch] int v10; // [sp+1Ch] [bp-8h] m_gameObject = a1->m_gameObject; if ( m_gameObject ) { p_m_hsvValue = &m_gameObject->m_hsvValue; s = a1->m_hsv.s; v = a1->m_hsv.v; v7 = *(_DWORD *)&a1->m_hsv.absoluteSaturation; p_m_hsvValue->h = a1->m_hsv.h; p_m_hsvValue->s = s; p_m_hsvValue->v = v; *(_DWORD *)&p_m_hsvValue->absoluteSaturation = v7; } else if ( a1->m_gameObjects ) { while ( (unsigned int)m_gameObject < cocos2d::CCArray::count(a1->m_gameObjects) ) { v4 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, (unsigned int)m_gameObject); m_gameObject = (EffectGameObject *)((char *)m_gameObject + 1); v8 = a1->m_hsv.s; v9 = a1->m_hsv.v; v10 = *(_DWORD *)&a1->m_hsv.absoluteSaturation; *(float *)(v4 + 1424) = a1->m_hsv.h; *(float *)(v4 + 1428) = v8; *(float *)(v4 + 1432) = v9; *(_DWORD *)(v4 + 1436) = v10; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source