{"type": "func", "start": 4298021104, "end": 4298021167, "name": "GJEffectManager::hasActiveDualTouch", "pseudocode": "// \n// GJEffectManager::hasActiveDualTouch from 0x1002e98f0 to 0x1002e992f (63 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::handleButton @ 0x10014abfc\n// > GJBaseGameLayer::buttonIsRelevant @ 0x10014aee4\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 begin; // rax\n  std::__vector_base<TouchToggleAction>::pointer end; // rcx\n\n  begin = a1->m_unkVector1e0.__begin_;\n  end = a1->m_unkVector1e0.__end_;\n  if ( begin == end )\n    return 0;\n  do\n  {\n    if ( begin->m_dualMode && !begin->m_disabled )\n      return 1;\n    ++begin;\n  }\n  while ( begin != end );\n  return 0;\n}", "assembly": "; \n; GJEffectManager::hasActiveDualTouch from 0x1002e98f0 to 0x1002e992f (63 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::handleButton @ 0x10014abfc\n; > GJBaseGameLayer::buttonIsRelevant @ 0x10014aee4\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\nmov     rax, [rdi+1C0h]                                                ; +0x0, 0x1002e98f0\nmov     rcx, [rdi+1C8h]                                                ; +0x7, 0x1002e98f7\ncmp     rax, rcx                                                       ; +0xe, 0x1002e98fe\njz      short loc_1002E992C                                            ; +0x11, 0x1002e9901\npush    rbp                                                            ; +0x13, 0x1002e9903\nmov     rbp, rsp                                                       ; +0x14, 0x1002e9904\njmp     short loc_1002E9919                                            ; +0x17, 0x1002e9907\nalign 10h                                                              ; +0x19, 0x1002e9909\nadd     rax, 38h ; '8'                                                 ; +0x20, 0x1002e9910\ncmp     rax, rcx                                                       ; +0x24, 0x1002e9914\njz      short loc_1002E9928                                            ; +0x27, 0x1002e9917\ncmp     byte ptr [rax+1Ch], 1                                          ; +0x29, 0x1002e9919\njnz     short loc_1002E9910                                            ; +0x2d, 0x1002e991d\ncmp     byte ptr [rax], 1                                              ; +0x2f, 0x1002e991f\njz      short loc_1002E9910                                            ; +0x32, 0x1002e9922\nmov     al, 1                                                          ; +0x34, 0x1002e9924\npop     rbp                                                            ; +0x36, 0x1002e9926\nretn                                                                   ; +0x37, 0x1002e9927\nxor     eax, eax                                                       ; +0x38, 0x1002e9928\npop     rbp                                                            ; +0x3a, 0x1002e992a\nretn                                                                   ; +0x3b, 0x1002e992b\nxor     eax, eax                                                       ; +0x3c, 0x1002e992c\nretn                                                                   ; +0x3e, 0x1002e992e", "xrefs": ["GJBaseGameLayer::handleButton @ 0x10014abfc", "GJBaseGameLayer::buttonIsRelevant @ 0x10014aee4"], "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"}