{"type": "func", "start": 4296038192, "end": 4296038237, "name": "GJBaseGameLayer::canTouchObject", "pseudocode": "// \n// GJBaseGameLayer::canTouchObject from 0x100105730 to 0x10010575d (45 bytes)\n// \n// 0 xrefs:\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:21:31 +0000\n// \n\nbool __fastcall GJBaseGameLayer::canTouchObject(__int64 a1, __int64 a2)\n{\n  int v2; // ecx\n  bool result; // al\n\n  v2 = *(_DWORD *)(a1 + 828);\n  result = 1;\n  if ( v2 )\n  {\n    if ( *(_DWORD *)(a2 + 1248) == 1 )\n      return *(_DWORD *)(a2 + 1776) == 0 || *(_DWORD *)(a2 + 1776) == v2;\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::canTouchObject from 0x100105730 to 0x10010575d (45 bytes)\n; \n; 0 xrefs:\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:21:31 +0000\n; \npush    rbp                                                            ; +0x0, 0x100105730\nmov     rbp, rsp                                                       ; +0x1, 0x100105731\nmov     ecx, [rdi+33Ch]                                                ; +0x4, 0x100105734\nmov     al, 1                                                          ; +0xa, 0x10010573a\ntest    ecx, ecx                                                       ; +0xc, 0x10010573c\njz      short loc_10010575B                                            ; +0xe, 0x10010573e\ncmp     dword ptr [rsi+4E0h], 1                                        ; +0x10, 0x100105740\njnz     short loc_10010575B                                            ; +0x17, 0x100105747\nmov     eax, [rsi+6F0h]                                                ; +0x19, 0x100105749\ntest    eax, eax                                                       ; +0x1f, 0x10010574f\nsetz    dl                                                             ; +0x21, 0x100105751\ncmp     eax, ecx                                                       ; +0x24, 0x100105754\nsetz    al                                                             ; +0x26, 0x100105756\nor      al, dl                                                         ; +0x29, 0x100105759\npop     rbp                                                            ; +0x2b, 0x10010575b\nretn                                                                   ; +0x2c, 0x10010575c", "xrefs": [], "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"}