//
// GJEffectManager::hasActiveDualTouch from 0x1002e98f0 to 0x1002e992f (63 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::handleButton @ 0x10014abfc
// > GJBaseGameLayer::buttonIsRelevant @ 0x10014aee4
//
// 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
//
bool __fastcall GJEffectManager::hasActiveDualTouch(GJEffectManager *a1)
{
std::__vector_base::pointer begin; // rax
std::__vector_base::pointer end; // rcx
begin = a1->m_unkVector1e0.__begin_;
end = a1->m_unkVector1e0.__end_;
if ( begin == end )
return 0;
do
{
if ( begin->m_dualMode && !begin->m_disabled )
return 1;
++begin;
}
while ( begin != end );
return 0;
}