{"type": "func", "start": 4296048512, "end": 4296048585, "name": "GJBaseGameLayer::playerWasTouchingObject", "pseudocode": "// \n// GJBaseGameLayer::playerWasTouchingObject from 0x100107f80 to 0x100107fc9 (73 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:32 +0000\n// \n\nchar __fastcall GJBaseGameLayer::playerWasTouchingObject(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 *v3; // rax\n  int v4; // ecx\n  int v5; // edx\n  int v6; // esi\n  int v7; // esi\n\n  v3 = *(__int64 **)(a1 + 1176);\n  if ( v3 )\n  {\n    v4 = *(_DWORD *)(a3 + 916);\n    v5 = *(_DWORD *)(a2 + 916);\n    while ( 1 )\n    {\n      v6 = *((_DWORD *)v3 + 7);\n      if ( v4 >= v6 )\n      {\n        if ( v4 <= v6 )\n        {\n          v7 = *((_DWORD *)v3 + 8);\n          if ( v5 < v7 )\n            goto LABEL_4;\n          if ( v5 <= v7 )\n            return 1;\n        }\n        ++v3;\n      }\nLABEL_4:\n      v3 = (__int64 *)*v3;\n      if ( !v3 )\n        return 0;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; GJBaseGameLayer::playerWasTouchingObject from 0x100107f80 to 0x100107fc9 (73 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:32 +0000\n; \nmov     rax, [rdi+498h]                                                ; +0x0, 0x100107f80\ntest    rax, rax                                                       ; +0x7, 0x100107f87\njz      short loc_100107FC6                                            ; +0xa, 0x100107f8a\npush    rbp                                                            ; +0xc, 0x100107f8c\nmov     rbp, rsp                                                       ; +0xd, 0x100107f8d\nmov     ecx, [rdx+394h]                                                ; +0x10, 0x100107f90\nmov     edx, [rsi+394h]                                                ; +0x16, 0x100107f96\njmp     short loc_100107FAC                                            ; +0x1c, 0x100107f9c\nalign 20h                                                              ; +0x1e, 0x100107f9e\nadd     rax, 8                                                         ; +0x20, 0x100107fa0\nmov     rax, [rax]                                                     ; +0x24, 0x100107fa4\ntest    rax, rax                                                       ; +0x27, 0x100107fa7\njz      short loc_100107FC2                                            ; +0x2a, 0x100107faa\nmov     esi, [rax+1Ch]                                                 ; +0x2c, 0x100107fac\ncmp     ecx, esi                                                       ; +0x2f, 0x100107faf\njl      short loc_100107FA4                                            ; +0x31, 0x100107fb1\njg      short loc_100107FA0                                            ; +0x33, 0x100107fb3\nmov     esi, [rax+20h]                                                 ; +0x35, 0x100107fb5\ncmp     edx, esi                                                       ; +0x38, 0x100107fb8\njl      short loc_100107FA4                                            ; +0x3a, 0x100107fba\njg      short loc_100107FA0                                            ; +0x3c, 0x100107fbc\nmov     al, 1                                                          ; +0x3e, 0x100107fbe\npop     rbp                                                            ; +0x40, 0x100107fc0\nretn                                                                   ; +0x41, 0x100107fc1\nxor     eax, eax                                                       ; +0x42, 0x100107fc2\npop     rbp                                                            ; +0x44, 0x100107fc4\nretn                                                                   ; +0x45, 0x100107fc5\nxor     eax, eax                                                       ; +0x46, 0x100107fc6\nretn                                                                   ; +0x48, 0x100107fc8", "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"}