{"type": "func", "start": 4295052528, "end": 4295052588, "name": "GJEffectManager::hasActiveDualTouch", "pseudocode": "// \n// GJEffectManager::hasActiveDualTouch from 0x100014cf0 to 0x100014d2c (60 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::handleButton @ 0x1001fac20\n// > GJBaseGameLayer::buttonIsRelevant @ 0x1001faf20\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 __fastcall GJEffectManager::hasActiveDualTouch(GJEffectManager *a1)\n{\n  std::__vector_base<TouchToggleAction>::pointer i; // x8\n\n  for ( i = a1->m_unkVector1e0.__begin_; ; ++i )\n  {\n    if ( i == a1->m_unkVector1e0.__end_ )\n      return 0;\n    if ( i->m_dualMode && !i->m_disabled )\n      break;\n  }\n  return 1;\n}", "assembly": "; \n; GJEffectManager::hasActiveDualTouch from 0x100014cf0 to 0x100014d2c (60 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::handleButton @ 0x1001fac20\n; > GJBaseGameLayer::buttonIsRelevant @ 0x1001faf20\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\nLDP             X8, X9, [X0,#0x1C0]                                    ; +0x0, 0x100014cf0\nCMP             X8, X9                                                 ; +0x4, 0x100014cf4\nB.EQ            loc_100014D1C                                          ; +0x8, 0x100014cf8\nLDRB            W10, [X8,#0x1C]                                        ; +0xc, 0x100014cfc\nCMP             W10, #1                                                ; +0x10, 0x100014d00\nB.NE            loc_100014D14                                          ; +0x14, 0x100014d04\nLDRB            W10, [X8]                                              ; +0x18, 0x100014d08\nCMP             W10, #1                                                ; +0x1c, 0x100014d0c\nB.NE            loc_100014D24                                          ; +0x20, 0x100014d10\nADD             X8, X8, #0x38 ; '8'                                    ; +0x24, 0x100014d14\nB               loc_100014CF4                                          ; +0x28, 0x100014d18\nMOV             W0, #0                                                 ; +0x2c, 0x100014d1c\nRET                                                                    ; +0x30, 0x100014d20\nMOV             W0, #1                                                 ; +0x34, 0x100014d24\nRET                                                                    ; +0x38, 0x100014d28", "xrefs": ["GJBaseGameLayer::handleButton @ 0x1001fac20", "GJBaseGameLayer::buttonIsRelevant @ 0x1001faf20"], "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"}