// // SetupObjectOptionsPopup::onSinglePlayerTouch from 0x100040b44 to 0x100040bd0 (140 bytes) // // 1 xrefs: // > SetupObjectOptionsPopup::init @ 0x10003fac8 // // 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 SetupObjectOptionsPopup::onSinglePlayerTouch(SetupObjectOptionsPopup *a1, cocos2d::CCObject *a2) { bool v2; // w8 GameObject *m_gameObject; // x9 __int64 v5; // x20 __int64 v6; // x0 v2 = !a1->m_singlePlayerTouch; a1->m_singlePlayerTouch = v2; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { if ( m_gameObject->m_classType == Effect ) LOBYTE(m_gameObject[1].m_transformToBatch.c) = v2; } else if ( (unsigned int)sub_10024A36C(a1->m_gameObjects) ) { v5 = 0; do { v6 = sub_10024A388(a1->m_gameObjects, v5); if ( *(_DWORD *)(v6 + 1248) == 1 ) *(_BYTE *)(v6 + 1740) = a1->m_singlePlayerTouch; v5 = (unsigned int)(v5 + 1); } while ( (unsigned int)v5 < (unsigned int)sub_10024A36C(a1->m_gameObjects) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source