{"type": "func", "start": 4297933728, "end": 4297933791, "name": "GJEffectManager::hasActiveDualTouch", "pseudocode": "// \n// GJEffectManager::hasActiveDualTouch from 0x1002d43a0 to 0x1002d43df (63 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::handleButton @ 0x100128f40\n// > GJBaseGameLayer::buttonIsRelevant @ 0x100129214\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:28:14 +0000\n// \n\nchar __fastcall GJEffectManager::hasActiveDualTouch(__int64 a1)\n{\n  _BYTE *v1; // rax\n  _BYTE *v2; // rcx\n\n  v1 = *(_BYTE **)(a1 + 448);\n  v2 = *(_BYTE **)(a1 + 456);\n  if ( v1 == v2 )\n    return 0;\n  do\n  {\n    if ( v1[28] == 1 && *v1 != 1 )\n      return 1;\n    v1 += 56;\n  }\n  while ( v1 != v2 );\n  return 0;\n}", "assembly": "; \n; GJEffectManager::hasActiveDualTouch from 0x1002d43a0 to 0x1002d43df (63 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::handleButton @ 0x100128f40\n; > GJBaseGameLayer::buttonIsRelevant @ 0x100129214\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:28:14 +0000\n; \nmov     rax, [rdi+1C0h]                                                ; +0x0, 0x1002d43a0\nmov     rcx, [rdi+1C8h]                                                ; +0x7, 0x1002d43a7\ncmp     rax, rcx                                                       ; +0xe, 0x1002d43ae\njz      short loc_1002D43DC                                            ; +0x11, 0x1002d43b1\npush    rbp                                                            ; +0x13, 0x1002d43b3\nmov     rbp, rsp                                                       ; +0x14, 0x1002d43b4\njmp     short loc_1002D43C9                                            ; +0x17, 0x1002d43b7\nalign 20h                                                              ; +0x19, 0x1002d43b9\nadd     rax, 38h ; '8'                                                 ; +0x20, 0x1002d43c0\ncmp     rax, rcx                                                       ; +0x24, 0x1002d43c4\njz      short loc_1002D43D8                                            ; +0x27, 0x1002d43c7\ncmp     byte ptr [rax+1Ch], 1                                          ; +0x29, 0x1002d43c9\njnz     short loc_1002D43C0                                            ; +0x2d, 0x1002d43cd\ncmp     byte ptr [rax], 1                                              ; +0x2f, 0x1002d43cf\njz      short loc_1002D43C0                                            ; +0x32, 0x1002d43d2\nmov     al, 1                                                          ; +0x34, 0x1002d43d4\npop     rbp                                                            ; +0x36, 0x1002d43d6\nretn                                                                   ; +0x37, 0x1002d43d7\nxor     eax, eax                                                       ; +0x38, 0x1002d43d8\npop     rbp                                                            ; +0x3a, 0x1002d43da\nretn                                                                   ; +0x3b, 0x1002d43db\nxor     eax, eax                                                       ; +0x3c, 0x1002d43dc\nretn                                                                   ; +0x3e, 0x1002d43de", "xrefs": ["GJBaseGameLayer::handleButton @ 0x100128f40", "GJBaseGameLayer::buttonIsRelevant @ 0x100129214"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}