//
// GJEffectManager::hasActiveDualTouch from 0x1002d43a0 to 0x1002d43df (63 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::handleButton @ 0x100128f40
// > GJBaseGameLayer::buttonIsRelevant @ 0x100129214
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:28:14 +0000
//
char __fastcall GJEffectManager::hasActiveDualTouch(__int64 a1)
{
_BYTE *v1; // rax
_BYTE *v2; // rcx
v1 = *(_BYTE **)(a1 + 448);
v2 = *(_BYTE **)(a1 + 456);
if ( v1 == v2 )
return 0;
do
{
if ( v1[28] == 1 && *v1 != 1 )
return 1;
v1 += 56;
}
while ( v1 != v2 );
return 0;
}