// // SetupAreaTintTriggerPopup::determineStartValues from 0x10003846c to 0x1000385ac (320 bytes) // // 2 xrefs: // > @ 0x10076b690 // > @ 0x10076c6d8 // // 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 SetupAreaTintTriggerPopup::determineStartValues(SetupAreaTintTriggerPopup *a1) { __int64 v2; // x0 cocos2d::CCArray *m_gameObjects; // x20 char v4; // w24 __int64 v5; // x21 char v6; // w23 __int64 v7; // x0 __int64 v8; // x8 __int64 v9; // x9 SetupTriggerPopup::determineStartValues(a1); if ( a1->m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)sub_10024A15C(v2); sub_10024A2D0(m_gameObjects, a1->m_gameObject); if ( !m_gameObjects ) return; } else { m_gameObjects = a1->m_gameObjects; if ( !m_gameObjects ) return; } if ( (unsigned int)sub_10024A36C(m_gameObjects) ) { a1->m_hsvValue = (cocos2d::ccHSVValue)xmmword_10086A610; if ( (unsigned int)sub_10024A36C(m_gameObjects) ) { v4 = 0; v5 = 0; v6 = 1; do { v7 = sub_10024A388(m_gameObjects, v5); if ( (v4 & 1) != 0 ) { v4 = 1; } else { v9 = *(_QWORD *)(v7 + 1612); v8 = *(_QWORD *)(v7 + 1620); if ( (v6 & 1) != 0 ) goto LABEL_17; if ( a1->m_hsvValue.h != *(float *)&v9 || a1->m_hsvValue.s != *((float *)&v9 + 1) || a1->m_hsvValue.v != *(float *)&v8 || __PAIR64__(a1->m_hsvValue.absoluteBrightness, a1->m_hsvValue.absoluteSaturation) != __PAIR64__( BYTE5(v8), BYTE4(v8)) ) { v8 = 0; v9 = 3129152111LL; LABEL_17: v4 = v6 ^ 1; *(_QWORD *)&a1->m_hsvValue.h = v9; *(_QWORD *)&a1->m_hsvValue.v = v8; v6 = 0; goto LABEL_18; } v6 = 0; v4 = 0; } LABEL_18: v5 = (unsigned int)(v5 + 1); } while ( (unsigned int)v5 < (unsigned int)sub_10024A36C(m_gameObjects) ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source