// // SetupObjectOptionsPopup::onHideEffects from 0x975024 to 0x975094 (112 bytes) // // 3 xrefs: // > @ 0x449d0 // > SetupObjectOptionsPopup::init @ 0x97a73c // > @ 0x122a320 // // 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 SetupObjectOptionsPopup::onHideEffects(SetupObjectOptionsPopup *a1, cocos2d::CCObject *a2) { GameObject *m_gameObject; // x2 bool v3; // w1 unsigned int v5; // w20 bool v6; // cf unsigned int v7; // w1 m_gameObject = a1->m_gameObject; v3 = !a1->m_noEffects; a1->m_noEffects = v3; if ( m_gameObject ) { m_gameObject->m_hasNoEffects = v3; } else { v5 = 0; while ( 1 ) { v6 = v5 >= (unsigned int)cocos2d::CCArray::count(a1->m_gameObjects); v7 = v5++; if ( v6 ) break; *(_BYTE *)(cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v7) + 1028) = a1->m_noEffects; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source