{"type": "func", "start": 5372447680, "end": 5372447794, "name": "PlayerObject::updateSlopeRotation", "pseudocode": "// \n// PlayerObject::updateSlopeRotation from 0x140390bc0 to 0x140390c32 (114 bytes)\n// \n// 2 xrefs:\n// > PlayerObject::collidedWithSlopeInternal @ 0x140390afc\n// > <???> @ 0x1406d6128\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\nvoid PlayerObject::updateSlopeRotation(PlayerObject *a1, float a2)\n{\n  float v3; // xmm0_4\n\n  v3 = PlayerObject::convertToClosestRotation(a1, a1->m_slopeRotation * 57.29578018188477);\n  if ( a1->m_isPlatformer\n    && a1->m_maybeChangedDirectionAngle > 80.0\n    && (a1->m_platformerMovingLeft || a1->m_platformerMovingRight) )\n  {\n    v3 = 0.0;\n  }\n  PlayerObject::updateRotation(a1, a2, v3);\n}", "assembly": "; \n; PlayerObject::updateSlopeRotation from 0x140390bc0 to 0x140390c32 (114 bytes)\n; \n; 2 xrefs:\n; > PlayerObject::collidedWithSlopeInternal @ 0x140390afc\n; > <???> @ 0x1406d6128\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\npush    rbx                                                            ; +0x0, 0x140390bc0\nsub     rsp, 30h                                                       ; +0x2, 0x140390bc2\nmovsd   xmm0, qword ptr [rcx+930h]                                     ; +0x6, 0x140390bc6\nmov     rbx, rcx                                                       ; +0xe, 0x140390bce\nmulsd   xmm0, cs:qword_140622F50                                       ; +0x11, 0x140390bd1\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x19, 0x140390bd9\nmovaps  xmm6, xmm1                                                     ; +0x1e, 0x140390bde\ncvtpd2ps xmm1, xmm0                                                    ; +0x21, 0x140390be1\ncall    PlayerObject__convertToClosestRotation                         ; +0x25, 0x140390be5\ncmp     byte ptr [rbx+0B70h], 0                                        ; +0x2a, 0x140390bea\njz      short loc_140390C1A                                            ; +0x31, 0x140390bf1\nmovsd   xmm2, qword ptr [rbx+0B60h]                                    ; +0x33, 0x140390bf3\ncomisd  xmm2, cs:qword_140622F70                                       ; +0x3b, 0x140390bfb\njbe     short loc_140390C1A                                            ; +0x43, 0x140390c03\ncmp     byte ptr [rbx+0B59h], 0                                        ; +0x45, 0x140390c05\njnz     short loc_140390C17                                            ; +0x4c, 0x140390c0c\ncmp     byte ptr [rbx+0B5Ah], 0                                        ; +0x4e, 0x140390c0e\njz      short loc_140390C1A                                            ; +0x55, 0x140390c15\nxorps   xmm0, xmm0                                                     ; +0x57, 0x140390c17\nmovaps  xmm2, xmm0                                                     ; +0x5a, 0x140390c1a\nmovaps  xmm1, xmm6                                                     ; +0x5d, 0x140390c1d\nmov     rcx, rbx                                                       ; +0x60, 0x140390c20\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x63, 0x140390c23\nadd     rsp, 30h                                                       ; +0x68, 0x140390c28\npop     rbx                                                            ; +0x6c, 0x140390c2c\njmp     PlayerObject__updateRotation                                   ; +0x6d, 0x140390c2d", "xrefs": ["PlayerObject::collidedWithSlopeInternal @ 0x140390afc", "<???> @ 0x1406d6128"], "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"}