// // SetupTouchTogglePopup::onDualTouchMode from 0x95ac04 to 0x95ac80 (124 bytes) // // 3 xrefs: // > @ 0x36300 // > SetupTouchTogglePopup::init @ 0x95b650 // > @ 0x1229a70 // // 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 SetupTouchTogglePopup::onDualTouchMode(SetupTouchTogglePopup *a1, cocos2d::CCObject *a2) { EffectGameObject *m_gameObject; // x2 bool v3; // w1 cocos2d::CCArray *m_gameObjects; // x1 unsigned int v6; // w20 __int64 v7; // x0 bool v8; // cf unsigned int v9; // w1 m_gameObject = a1->m_gameObject; v3 = !a1->m_dualMode; a1->m_dualMode = v3; if ( m_gameObject ) { m_gameObject->m_isDualMode = v3; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { v6 = 0; while ( 1 ) { v8 = v6 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects); v9 = v6++; if ( v8 ) break; v7 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v9); m_gameObjects = a1->m_gameObjects; *(_BYTE *)(v7 + 1632) = a1->m_dualMode; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source