{"type": "func", "start": 4301895184, "end": 4301895302, "name": "GameObject::isFacingDown", "pseudocode": "// \n// GameObject::isFacingDown from 0x10069b610 to 0x10069b686 (118 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::gravBumpPlayer @ 0x100105c9e\n// > PlayerObject::ringJump @ 0x100401800\n// > PlayerObject::bumpPlayer @ 0x100407927\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:35:16 +0000\n// \n\nchar __fastcall GameObject::isFacingDown(__int64 a1)\n{\n  int v1; // r14d\n  char v2; // al\n  bool v3; // cl\n  int v4; // ecx\n\n  v1 = (int)(*(float (__fastcall **)(__int64))(*(_QWORD *)a1 + 1576LL))(a1);\n  v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1432LL))(a1);\n  if ( __ROR4__(-1527099483 * v1 + 47721858, 1) < 0x2D82D83u )\n  {\n    v4 = -v1;\n    if ( v1 > 0 )\n      v4 = v1;\n    v3 = v4 == 180;\n  }\n  else\n  {\n    v3 = (unsigned int)(v1 - 91) < 0xB3 || (unsigned int)(v1 + 269) < 0xB3;\n  }\n  return v3 ^ v2;\n}", "assembly": "; \n; GameObject::isFacingDown from 0x10069b610 to 0x10069b686 (118 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::gravBumpPlayer @ 0x100105c9e\n; > PlayerObject::ringJump @ 0x100401800\n; > PlayerObject::bumpPlayer @ 0x100407927\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:35:16 +0000\n; \npush    rbp                                                            ; +0x0, 0x10069b610\nmov     rbp, rsp                                                       ; +0x1, 0x10069b611\npush    r14                                                            ; +0x4, 0x10069b614\npush    rbx                                                            ; +0x6, 0x10069b616\nmov     rbx, rdi                                                       ; +0x7, 0x10069b617\nmov     rax, [rdi]                                                     ; +0xa, 0x10069b61a\ncall    qword ptr [rax+628h]                                           ; +0xd, 0x10069b61d\ncvttss2si r14d, xmm0                                                   ; +0x13, 0x10069b623\nmov     rax, [rbx]                                                     ; +0x18, 0x10069b628\nmov     rdi, rbx                                                       ; +0x1b, 0x10069b62b\ncall    qword ptr [rax+598h]                                           ; +0x1e, 0x10069b62e\nimul    ecx, r14d, 0A4FA4FA5h                                          ; +0x24, 0x10069b634\nadd     ecx, 2D82D82h                                                  ; +0x2b, 0x10069b63b\nror     ecx, 1                                                         ; +0x31, 0x10069b641\ncmp     ecx, 2D82D83h                                                  ; +0x33, 0x10069b643\njb      short loc_10069B66D                                            ; +0x39, 0x10069b649\nlea     ecx, [r14-5Bh]                                                 ; +0x3b, 0x10069b64b\ncmp     ecx, 0B3h                                                      ; +0x3f, 0x10069b64f\nsetb    dl                                                             ; +0x45, 0x10069b655\nadd     r14d, 10Dh                                                     ; +0x48, 0x10069b658\ncmp     r14d, 0B3h                                                     ; +0x4f, 0x10069b65f\nsetb    cl                                                             ; +0x56, 0x10069b666\nor      cl, dl                                                         ; +0x59, 0x10069b669\njmp     short loc_10069B67F                                            ; +0x5b, 0x10069b66b\nmov     ecx, r14d                                                      ; +0x5d, 0x10069b66d\nneg     ecx                                                            ; +0x60, 0x10069b670\ncmovs   ecx, r14d                                                      ; +0x62, 0x10069b672\ncmp     ecx, 0B4h                                                      ; +0x66, 0x10069b676\nsetz    cl                                                             ; +0x6c, 0x10069b67c\nxor     al, cl                                                         ; +0x6f, 0x10069b67f\npop     rbx                                                            ; +0x71, 0x10069b681\npop     r14                                                            ; +0x72, 0x10069b682\npop     rbp                                                            ; +0x74, 0x10069b684\nretn                                                                   ; +0x75, 0x10069b685", "xrefs": ["GJBaseGameLayer::gravBumpPlayer @ 0x100105c9e", "PlayerObject::ringJump @ 0x100401800", "PlayerObject::bumpPlayer @ 0x100407927"], "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"}