{"type": "func", "start": 4301035808, "end": 4301035918, "name": "GameObject::slopeYPos_2", "pseudocode": "// \n// GameObject::slopeYPos_2 from 0x1005c9920 to 0x1005c998e (110 bytes)\n// \n// 0 xrefs:\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\ndouble __fastcall GameObject::slopeYPos_2(GameObject *a1)\n{\n  __int64 v1; // rsi\n  unsigned __int64 *v2; // rax\n  unsigned int m_slopeDirection; // eax\n  int v4; // ecx\n  double v5; // xmm0_8\n  __m128 v7; // [rsp+8h] [rbp-18h] BYREF\n\n  v2 = (unsigned __int64 *)(*(__int64 (__fastcall **)())(*(_QWORD *)v1 + 1312LL))();\n  sub_10028D180(&v7, v2);\n  m_slopeDirection = a1->m_slopeDirection;\n  if ( m_slopeDirection > 6 || (v4 = 106, !_bittest(&v4, m_slopeDirection)) )\n  {\n    if ( !a1->m_slopeUphill )\n      goto LABEL_4;\nLABEL_6:\n    v5 = sub_10028D270((unsigned int *)&v7);\n    return GameObject::slopeYPos(a1, *(float *)&v5);\n  }\n  if ( !a1->m_slopeUphill )\n    goto LABEL_6;\nLABEL_4:\n  v5 = sub_10028D230(v7.f32);\n  return GameObject::slopeYPos(a1, *(float *)&v5);\n}", "assembly": "; \n; GameObject::slopeYPos_2 from 0x1005c9920 to 0x1005c998e (110 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x1005c9920\nmov     rbp, rsp                                                       ; +0x1, 0x1005c9921\npush    rbx                                                            ; +0x4, 0x1005c9924\nsub     rsp, 18h                                                       ; +0x5, 0x1005c9925\nmov     rbx, rdi                                                       ; +0x9, 0x1005c9929\nmov     rax, [rsi]                                                     ; +0xc, 0x1005c992c\nmov     rdi, rsi                                                       ; +0xf, 0x1005c992f\ncall    qword ptr [rax+520h]                                           ; +0x12, 0x1005c9932\nlea     rdi, [rbp+var_18]                                              ; +0x18, 0x1005c9938\nmov     rsi, rax                                                       ; +0x1c, 0x1005c993c\ncall    sub_10028D180                                                  ; +0x1f, 0x1005c993f\nmov     eax, [rbx+43Ch]                                                ; +0x24, 0x1005c9944\ncmp     eax, 6                                                         ; +0x2a, 0x1005c994a\nja      short loc_1005C996D                                            ; +0x2d, 0x1005c994d\nmov     ecx, 6Ah ; 'j'                                                 ; +0x2f, 0x1005c994f\nbt      ecx, eax                                                       ; +0x34, 0x1005c9954\njnb     short loc_1005C996D                                            ; +0x37, 0x1005c9957\ncmp     byte ptr [rbx+438h], 0                                         ; +0x39, 0x1005c9959\njz      short loc_1005C9976                                            ; +0x40, 0x1005c9960\nlea     rdi, [rbp+var_18]                                              ; +0x42, 0x1005c9962\ncall    sub_10028D230                                                  ; +0x46, 0x1005c9966\njmp     short loc_1005C997F                                            ; +0x4b, 0x1005c996b\ncmp     byte ptr [rbx+438h], 0                                         ; +0x4d, 0x1005c996d\njz      short loc_1005C9962                                            ; +0x54, 0x1005c9974\nlea     rdi, [rbp+var_18]                                              ; +0x56, 0x1005c9976\ncall    sub_10028D270                                                  ; +0x5a, 0x1005c997a\nmov     rdi, rbx                                                       ; +0x5f, 0x1005c997f\ncall    GameObject__slopeYPos                                          ; +0x62, 0x1005c9982\nadd     rsp, 18h                                                       ; +0x67, 0x1005c9987\npop     rbx                                                            ; +0x6b, 0x1005c998b\npop     rbp                                                            ; +0x6c, 0x1005c998c\nretn                                                                   ; +0x6d, 0x1005c998d", "xrefs": [], "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"}