{"type": "func", "start": 4301895312, "end": 4301895460, "name": "GameObject::isFacingLeft", "pseudocode": "// \n// GameObject::isFacingLeft from 0x10069b690 to 0x10069b724 (148 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::gravBumpPlayer @ 0x100105c86\n// > PlayerObject::ringJump @ 0x1004017de\n// > PlayerObject::bumpPlayer @ 0x100407906\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::isFacingLeft(__int64 a1)\n{\n  int v1; // r14d\n  char v2; // al\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    return ((unsigned int)(v1 - 91) < 0xB3 || (unsigned int)(v1 + 269) < 0xB3) ^ v2;\n  v4 = v1 + 360;\n  if ( v1 >= 0 )\n    v4 = v1;\n  return v2 & (v4 == 90) | (v4 == 270) & (v2 ^ 1);\n}", "assembly": "; \n; GameObject::isFacingLeft from 0x10069b690 to 0x10069b724 (148 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::gravBumpPlayer @ 0x100105c86\n; > PlayerObject::ringJump @ 0x1004017de\n; > PlayerObject::bumpPlayer @ 0x100407906\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, 0x10069b690\nmov     rbp, rsp                                                       ; +0x1, 0x10069b691\npush    r14                                                            ; +0x4, 0x10069b694\npush    rbx                                                            ; +0x6, 0x10069b696\nmov     rbx, rdi                                                       ; +0x7, 0x10069b697\nmov     rax, [rdi]                                                     ; +0xa, 0x10069b69a\ncall    qword ptr [rax+628h]                                           ; +0xd, 0x10069b69d\ncvttss2si r14d, xmm0                                                   ; +0x13, 0x10069b6a3\nmov     rax, [rbx]                                                     ; +0x18, 0x10069b6a8\nmov     rdi, rbx                                                       ; +0x1b, 0x10069b6ab\ncall    qword ptr [rax+598h]                                           ; +0x1e, 0x10069b6ae\nimul    ecx, r14d, 0A4FA4FA5h                                          ; +0x24, 0x10069b6b4\nadd     ecx, 2D82D82h                                                  ; +0x2b, 0x10069b6bb\nror     ecx, 1                                                         ; +0x31, 0x10069b6c1\ncmp     ecx, 2D82D83h                                                  ; +0x33, 0x10069b6c3\njb      short loc_10069B6F2                                            ; +0x39, 0x10069b6c9\nlea     ecx, [r14-5Bh]                                                 ; +0x3b, 0x10069b6cb\ncmp     ecx, 0B3h                                                      ; +0x3f, 0x10069b6cf\nsetb    cl                                                             ; +0x45, 0x10069b6d5\nadd     r14d, 10Dh                                                     ; +0x48, 0x10069b6d8\ncmp     r14d, 0B3h                                                     ; +0x4f, 0x10069b6df\nsetb    dl                                                             ; +0x56, 0x10069b6e6\nor      dl, cl                                                         ; +0x59, 0x10069b6e9\nxor     al, dl                                                         ; +0x5b, 0x10069b6eb\npop     rbx                                                            ; +0x5d, 0x10069b6ed\npop     r14                                                            ; +0x5e, 0x10069b6ee\npop     rbp                                                            ; +0x60, 0x10069b6f0\nretn                                                                   ; +0x61, 0x10069b6f1\nlea     ecx, [r14+168h]                                                ; +0x62, 0x10069b6f2\ntest    r14d, r14d                                                     ; +0x69, 0x10069b6f9\ncmovns  ecx, r14d                                                      ; +0x6c, 0x10069b6fc\ncmp     ecx, 10Eh                                                      ; +0x70, 0x10069b700\nsetz    dl                                                             ; +0x76, 0x10069b706\nmov     esi, eax                                                       ; +0x79, 0x10069b709\nxor     sil, 1                                                         ; +0x7b, 0x10069b70b\ncmp     ecx, 5Ah ; 'Z'                                                 ; +0x7f, 0x10069b70f\nsetz    cl                                                             ; +0x82, 0x10069b712\nand     cl, al                                                         ; +0x85, 0x10069b715\nand     sil, dl                                                        ; +0x87, 0x10069b717\nor      sil, cl                                                        ; +0x8a, 0x10069b71a\nmov     eax, esi                                                       ; +0x8d, 0x10069b71d\npop     rbx                                                            ; +0x8f, 0x10069b71f\npop     r14                                                            ; +0x90, 0x10069b720\npop     rbp                                                            ; +0x92, 0x10069b722\nretn                                                                   ; +0x93, 0x10069b723", "xrefs": ["GJBaseGameLayer::gravBumpPlayer @ 0x100105c86", "PlayerObject::ringJump @ 0x1004017de", "PlayerObject::bumpPlayer @ 0x100407906"], "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"}