// // SetupEnterEffectPopup::onClose from 0xa12f3c to 0xa13028 (236 bytes) // // 2 xrefs: // > @ 0x9ce28 // > @ 0x11d43a8 // // 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; // x0 float v; // w1 float h; // w3 bool absoluteBrightness; // w4 float s; // w2 cocos2d::CCArray *m_gameObjects; // x0 unsigned int v10; // w20 __int64 v11; // x1 float v12; // w4 float v13; // w3 bool v14; // w5 float v15; // w2 bool v16; // cf unsigned int v17; // w1 if ( a1->m_objectID == 3021 && a1->m_hsvChanged ) { m_gameObject = a1->m_gameObject; if ( m_gameObject ) { v = a1->m_hsvValue.v; h = a1->m_hsvValue.h; absoluteBrightness = a1->m_hsvValue.absoluteBrightness; s = a1->m_hsvValue.s; m_gameObject->m_hsvValue.absoluteSaturation = a1->m_hsvValue.absoluteSaturation; m_gameObject->m_hsvValue.absoluteBrightness = absoluteBrightness; m_gameObject->m_hsvValue.v = v; m_gameObject->m_hsvValue.h = h; m_gameObject->m_hsvValue.s = s; SetupTriggerPopup::onClose(a1, a2); return; } m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { v10 = 0; while ( 1 ) { v16 = v10 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects); v17 = v10++; if ( v16 ) break; v11 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v17); v12 = a1->m_hsvValue.h; v13 = a1->m_hsvValue.s; v14 = a1->m_hsvValue.absoluteBrightness; v15 = a1->m_hsvValue.v; m_gameObjects = a1->m_gameObjects; *(_BYTE *)(v11 + 1608) = a1->m_hsvValue.absoluteSaturation; *(_BYTE *)(v11 + 1609) = v14; *(float *)(v11 + 1596) = v12; *(float *)(v11 + 1600) = v13; *(float *)(v11 + 1604) = v15; } } } SetupTriggerPopup::onClose(a1, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source