{"type": "func", "start": 4827374, "end": 4827406, "name": "GJEffectManager::hasActiveDualTouch", "pseudocode": "// \n// GJEffectManager::hasActiveDualTouch from 0x49a8ee to 0x49a90e (32 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::buttonIsRelevant @ 0x47586c\n// > GJBaseGameLayer::handleButton @ 0x492d62\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool GJEffectManager::hasActiveDualTouch(GJEffectManager *a1)\n{\n  TouchToggleAction *i; // r3\n\n  for ( i = a1->m_unkVector1e0.m_start; ; ++i )\n  {\n    if ( i == a1->m_unkVector1e0.m_finish )\n      return 0;\n    if ( i->m_dualMode && !i->m_disabled )\n      break;\n  }\n  return 1;\n}", "assembly": "; \n; GJEffectManager::hasActiveDualTouch from 0x49a8ee to 0x49a90e (32 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::buttonIsRelevant @ 0x47586c\n; > GJBaseGameLayer::handleButton @ 0x492d62\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR.W           R2, [R0,#0x15C]                                        ; +0x0, 0x49a8ee\nLDR.W           R3, [R0,#0x158]                                        ; +0x4, 0x49a8f2\nCMP             R3, R2                                                 ; +0x8, 0x49a8f6\nBEQ             loc_49A906                                             ; +0xa, 0x49a8f8\nLDRB            R1, [R3,#0x1C]                                         ; +0xc, 0x49a8fa\nCBZ             R1, loc_49A902                                         ; +0xe, 0x49a8fc\nLDRB            R1, [R3]                                               ; +0x10, 0x49a8fe\nCBZ             R1, loc_49A90A                                         ; +0x12, 0x49a900\nADDS            R3, #0x2C ; ','                                        ; +0x14, 0x49a902\nB               loc_49A8F6                                             ; +0x16, 0x49a904\nMOVS            R0, #0                                                 ; +0x18, 0x49a906\nBX              LR                                                     ; +0x1a, 0x49a908\nMOVS            R0, #1                                                 ; +0x1c, 0x49a90a\nBX              LR                                                     ; +0x1e, 0x49a90c", "xrefs": ["GJBaseGameLayer::buttonIsRelevant @ 0x47586c", "GJBaseGameLayer::handleButton @ 0x492d62"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}