// // SetupObjectOptionsPopup::onSinglePlayerTouch from 0x140400960 to 0x140400a03 (163 bytes) // // 4 xrefs: // > SetupObjectOptionsPopup::init @ 0x1403feada // > @ 0x14069e870 // > @ 0x14069e880 // > @ 0x1406d87e0 // // 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::onSinglePlayerTouch(SetupObjectOptionsPopup *a1, cocos2d::CCObject *a2) { bool v3; // cl GameObject *m_gameObject; // rax unsigned int i; // ebx struct cocos2d::CCObject *v6; // rax v3 = !a1->m_singlePlayerTouch; a1->m_singlePlayerTouch = v3; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { if ( m_gameObject->m_classType == Effect ) LOBYTE(m_gameObject[1].m_transformToBatch.tx) = v3; } else { for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); ++i ) { v6 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i); if ( v6[22].m_uAutoReleaseCount == 1 ) LOBYTE(v6[31].m_uReference) = a1->m_singlePlayerTouch; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source