{"type": "func", "start": 5372486704, "end": 5372486886, "name": "PlayerObject::playerIsFallingBugged", "pseudocode": "// \n// PlayerObject::playerIsFallingBugged from 0x14039a430 to 0x14039a4e6 (182 bytes)\n// \n// 7 xrefs:\n// > PlayerObject::updateJump @ 0x14038c115\n// > PlayerObject::updateJump @ 0x14038c27e\n// > PlayerObject::updateJump @ 0x14038c41f\n// > PlayerObject::updateJump @ 0x14038c61a\n// > PlayerObject::updateJump @ 0x14038c654\n// > PlayerObject::updateJump @ 0x14038c898\n// > PlayerObject::updateJump @ 0x14038cb26\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool PlayerObject::playerIsFallingBugged(PlayerObject *a1)\n{\n  double m_gravity; // xmm1_8\n  float v2; // xmm0_4\n  double v3; // xmm2_8\n  double m_yVelocity; // xmm2_8\n  float v6; // xmm1_4\n\n  if ( a1->m_isSideways || a1->m_isPlatformer || a1->m_isSwing || a1->m_fixGravityBug )\n  {\n    m_yVelocity = a1->m_yVelocity;\n    v6 = a1->m_gravity + a1->m_gravity;\n    if ( a1->m_isUpsideDown )\n      return m_yVelocity > (float)-v6;\n    else\n      return v6 > m_yVelocity;\n  }\n  else\n  {\n    m_gravity = a1->m_gravity;\n    v2 = m_gravity;\n    if ( a1->m_unkA99 )\n      v2 = -m_gravity;\n    v3 = a1->m_yVelocity;\n    if ( a1->m_isUpsideDown )\n      return v3 > m_gravity + m_gravity;\n    else\n      return (float)(v2 + v2) > v3;\n  }\n}", "assembly": "; \n; PlayerObject::playerIsFallingBugged from 0x14039a430 to 0x14039a4e6 (182 bytes)\n; \n; 7 xrefs:\n; > PlayerObject::updateJump @ 0x14038c115\n; > PlayerObject::updateJump @ 0x14038c27e\n; > PlayerObject::updateJump @ 0x14038c41f\n; > PlayerObject::updateJump @ 0x14038c61a\n; > PlayerObject::updateJump @ 0x14038c654\n; > PlayerObject::updateJump @ 0x14038c898\n; > PlayerObject::updateJump @ 0x14038cb26\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ncmp     byte ptr [rcx+9C3h], 0                                         ; +0x0, 0x14039a430\njnz     short loc_14039A4A4                                            ; +0x7, 0x14039a437\ncmp     byte ptr [rcx+0B70h], 0                                        ; +0x9, 0x14039a439\njnz     short loc_14039A4A4                                            ; +0x10, 0x14039a440\ncmp     byte ptr [rcx+9C4h], 0                                         ; +0x12, 0x14039a442\njnz     short loc_14039A4A4                                            ; +0x19, 0x14039a449\ncmp     byte ptr [rcx+561h], 0                                         ; +0x1b, 0x14039a44b\njnz     short loc_14039A4A4                                            ; +0x22, 0x14039a452\ncmp     byte ptr [rcx+0A99h], 0                                        ; +0x24, 0x14039a454\nmovsd   xmm1, qword ptr [rcx+7C8h]                                     ; +0x2b, 0x14039a45b\ncvtpd2ps xmm0, xmm1                                                    ; +0x33, 0x14039a463\njz      short loc_14039A477                                            ; +0x37, 0x14039a467\nmovaps  xmm0, xmm1                                                     ; +0x39, 0x14039a469\nxorps   xmm0, cs:xmmword_1406243E0                                     ; +0x3c, 0x14039a46c\ncvtsd2ss xmm0, xmm0                                                    ; +0x43, 0x14039a473\ncmp     byte ptr [rcx+9BFh], 0                                         ; +0x47, 0x14039a477\nmovsd   xmm2, qword ptr [rcx+9A0h]                                     ; +0x4e, 0x14039a47e\njnz     short loc_14039A498                                            ; +0x56, 0x14039a486\naddss   xmm0, xmm0                                                     ; +0x58, 0x14039a488\ncvtss2sd xmm0, xmm0                                                    ; +0x5c, 0x14039a48c\ncomisd  xmm0, xmm2                                                     ; +0x60, 0x14039a490\nsetnbe  al                                                             ; +0x64, 0x14039a494\nretn                                                                   ; +0x67, 0x14039a497\naddsd   xmm1, xmm1                                                     ; +0x68, 0x14039a498\ncomisd  xmm2, xmm1                                                     ; +0x6c, 0x14039a49c\nsetnbe  al                                                             ; +0x70, 0x14039a4a0\nretn                                                                   ; +0x73, 0x14039a4a3\ncmp     byte ptr [rcx+9BFh], 0                                         ; +0x74, 0x14039a4a4\nmovsd   xmm0, qword ptr [rcx+7C8h]                                     ; +0x7b, 0x14039a4ab\nmovsd   xmm2, qword ptr [rcx+9A0h]                                     ; +0x83, 0x14039a4b3\naddsd   xmm0, xmm0                                                     ; +0x8b, 0x14039a4bb\ncvtpd2ps xmm1, xmm0                                                    ; +0x8f, 0x14039a4bf\njnz     short loc_14039A4D0                                            ; +0x93, 0x14039a4c3\ncvtps2pd xmm0, xmm1                                                    ; +0x95, 0x14039a4c5\ncomisd  xmm0, xmm2                                                     ; +0x98, 0x14039a4c8\nsetnbe  al                                                             ; +0x9c, 0x14039a4cc\nretn                                                                   ; +0x9f, 0x14039a4cf\nxorps   xmm1, cs:xmmword_1406243F0                                     ; +0xa0, 0x14039a4d0\nxorps   xmm0, xmm0                                                     ; +0xa7, 0x14039a4d7\ncvtss2sd xmm0, xmm1                                                    ; +0xaa, 0x14039a4da\ncomisd  xmm2, xmm0                                                     ; +0xae, 0x14039a4de\nsetnbe  al                                                             ; +0xb2, 0x14039a4e2\nretn                                                                   ; +0xb5, 0x14039a4e5", "xrefs": ["PlayerObject::updateJump @ 0x14038c115", "PlayerObject::updateJump @ 0x14038c27e", "PlayerObject::updateJump @ 0x14038c41f", "PlayerObject::updateJump @ 0x14038c61a", "PlayerObject::updateJump @ 0x14038c654", "PlayerObject::updateJump @ 0x14038c898", "PlayerObject::updateJump @ 0x14038cb26"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}