// // SetupOpacityPopup::determineStartValues from 0x8e7858 to 0x8e79b0 (344 bytes) // // 2 xrefs: // > @ 0x61998 // > @ 0x11a3000 // // 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 SetupOpacityPopup::determineStartValues(SetupOpacityPopup *a1) { EffectGameObject *m_gameObject; // x0 cocos2d::CCArray *m_gameObjects; // x21 float v4; // s8 float v5; // s9 unsigned int v6; // w19 __int64 v7; // x0 int m_groupID; // w2 int v9; // w0 SetupTriggerPopup::determineStartValues(a1); m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)m_gameObject); cocos2d::CCArray::addObject(m_gameObjects, a1->m_gameObject); } else { m_gameObjects = a1->m_gameObjects; } if ( m_gameObjects && (unsigned int)cocos2d::CCArray::count(m_gameObjects) ) { a1->m_groupID = -99999; v4 = -99999.0; v5 = -99999.0; v6 = 0; a1->m_opacity = 1.0; if ( (unsigned int)cocos2d::CCArray::count(m_gameObjects) ) { while ( 1 ) { v7 = cocos2d::CCArray::objectAtIndex(m_gameObjects, v6); if ( v5 == -99999.0 ) { v5 = *(float *)(v7 + 1436); } else if ( v5 != *(float *)(v7 + 1436) ) { v5 = -2.0; } if ( v4 == -99999.0 ) break; if ( v4 == *(float *)(v7 + 1440) ) goto LABEL_10; m_groupID = a1->m_groupID; v9 = *(_DWORD *)(v7 + 1448); v4 = -2.0; if ( m_groupID != -99999 ) { LABEL_11: if ( m_groupID != v9 ) a1->m_groupID = 0; ++v6; goto LABEL_14; } LABEL_22: a1->m_groupID = v9; ++v6; LABEL_14: if ( v6 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects) ) goto LABEL_15; } v4 = *(float *)(v7 + 1440); LABEL_10: m_groupID = a1->m_groupID; v9 = *(_DWORD *)(v7 + 1448); if ( m_groupID != -99999 ) goto LABEL_11; goto LABEL_22; } LABEL_15: if ( v5 >= 0.0 ) a1->m_fadeTime = v5; if ( v4 >= 0.0 ) a1->m_opacity = v4; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source