// // SetupEnterEffectPopup::onClose from 0x55c326 to 0x55c3a0 (122 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 SetupEnterEffectPopup::onClose(SetupEnterEffectPopup *a1, cocos2d::CCObject *a2) { EffectGameObject *m_gameObject; // r4 cocos2d::ccHSVValue *p_m_hsvValue; // r4 int v6; // r0 float s; // [sp+4h] [bp-1Ch] float v; // [sp+8h] [bp-18h] int v9; // [sp+Ch] [bp-14h] float v10; // [sp+14h] [bp-Ch] float v11; // [sp+18h] [bp-8h] int v12; // [sp+1Ch] [bp-4h] if ( a1->m_objectID == 3021 && a1->m_hsvChanged ) { m_gameObject = a1->m_gameObject; if ( m_gameObject ) { p_m_hsvValue = &m_gameObject->m_hsvValue; s = a1->m_hsvValue.s; v = a1->m_hsvValue.v; v9 = *(_DWORD *)&a1->m_hsvValue.absoluteSaturation; p_m_hsvValue->h = a1->m_hsvValue.h; p_m_hsvValue->s = s; p_m_hsvValue->v = v; *(_DWORD *)&p_m_hsvValue->absoluteSaturation = v9; } else if ( a1->m_gameObjects ) { while ( (unsigned int)m_gameObject < cocos2d::CCArray::count(a1->m_gameObjects) ) { v6 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, (unsigned int)m_gameObject); m_gameObject = (EffectGameObject *)((char *)m_gameObject + 1); v10 = a1->m_hsvValue.s; v11 = a1->m_hsvValue.v; v12 = *(_DWORD *)&a1->m_hsvValue.absoluteSaturation; *(float *)(v6 + 1424) = a1->m_hsvValue.h; *(float *)(v6 + 1428) = v10; *(float *)(v6 + 1432) = v11; *(_DWORD *)(v6 + 1436) = v12; } } } SetupTriggerPopup::onClose(a1, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source