// // SetupEnterEffectPopup::determineStartValues from 0x10040133c to 0x1004014a8 (364 bytes) // // 1 xrefs: // > @ 0x100816c30 // // 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 SetupEnterEffectPopup::determineStartValues(SetupEnterEffectPopup *a1) { cocos2d::CCArray *m_gameObjects; // x20 int m_objectID; // w23 unsigned int v4; // w21 char v5; // w24 char v6; // w23 __int64 v7; // x0 int m_enterType; // w9 int v9; // w8 __int64 v10; // x8 __int64 v11; // x9 SetupTriggerPopup::determineStartValues(a1); if ( a1->m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)sub_10024A15C(); sub_10024A2D0((__int64)m_gameObjects); if ( !m_gameObjects ) return; } else { m_gameObjects = a1->m_gameObjects; if ( !m_gameObjects ) return; } if ( (unsigned int)sub_10024A36C((__int64)m_gameObjects) ) { a1->m_enterType = -1; a1->m_hsvValue = (cocos2d::ccHSVValue)xmmword_10086E9D0; m_objectID = a1->m_objectID; if ( (unsigned int)sub_10024A36C((__int64)m_gameObjects) ) { v4 = 0; v5 = m_objectID != 3021; v6 = 1; do { v7 = sub_10024A388((__int64)m_gameObjects, v4); m_enterType = a1->m_enterType; v9 = *(_DWORD *)(v7 + 1836); if ( (m_enterType & 0x80000000) == 0 ) { if ( m_enterType == v9 ) goto LABEL_12; v9 = 0; } a1->m_enterType = v9; LABEL_12: if ( (v5 & 1) != 0 ) { v5 = 1; } else { v11 = *(_QWORD *)(v7 + 1612); v10 = *(_QWORD *)(v7 + 1620); if ( (v6 & 1) != 0 ) goto LABEL_21; if ( a1->m_hsvValue.h != *(float *)&v11 || a1->m_hsvValue.s != *((float *)&v11 + 1) || a1->m_hsvValue.v != *(float *)&v10 || __PAIR64__(a1->m_hsvValue.absoluteBrightness, a1->m_hsvValue.absoluteSaturation) != __PAIR64__( BYTE5(v10), BYTE4(v10)) ) { v10 = 0; v11 = 3129152111LL; LABEL_21: v5 = v6 ^ 1; *(_QWORD *)&a1->m_hsvValue.h = v11; *(_QWORD *)&a1->m_hsvValue.v = v10; v6 = 0; goto LABEL_22; } v6 = 0; v5 = 0; } LABEL_22: ++v4; } while ( v4 < (unsigned int)sub_10024A36C((__int64)m_gameObjects) ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source