{"type": "func", "start": 4301035920, "end": 4301036000, "name": "GameObject::slopeYPos_1", "pseudocode": "// \n// GameObject::slopeYPos_1 from 0x1005c9990 to 0x1005c99e0 (80 bytes)\n// \n// 1 xrefs:\n// > PlayerObject::collidedWithObjectInternal @ 0x1004090c2\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_1(GameObject *a1, cocos2d::CCRect a2)\n{\n  unsigned int *v2; // rsi\n  unsigned int m_slopeDirection; // eax\n  int v4; // ecx\n  double v5; // xmm0_8\n\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(v2);\n    return GameObject::slopeYPos(a1, *(float *)&v5);\n  }\n  if ( !a1->m_slopeUphill )\n    goto LABEL_6;\nLABEL_4:\n  v5 = sub_10028D230((float *)v2);\n  return GameObject::slopeYPos(a1, *(float *)&v5);\n}", "assembly": "; \n; GameObject::slopeYPos_1 from 0x1005c9990 to 0x1005c99e0 (80 bytes)\n; \n; 1 xrefs:\n; > PlayerObject::collidedWithObjectInternal @ 0x1004090c2\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, 0x1005c9990\nmov     rbp, rsp                                                       ; +0x1, 0x1005c9991\npush    rbx                                                            ; +0x4, 0x1005c9994\npush    rax                                                            ; +0x5, 0x1005c9995\nmov     rbx, rdi                                                       ; +0x6, 0x1005c9996\nmov     eax, [rdi+43Ch]                                                ; +0x9, 0x1005c9999\ncmp     eax, 6                                                         ; +0xf, 0x1005c999f\nja      short loc_1005C99C1                                            ; +0x12, 0x1005c99a2\nmov     ecx, 6Ah ; 'j'                                                 ; +0x14, 0x1005c99a4\nbt      ecx, eax                                                       ; +0x19, 0x1005c99a9\njnb     short loc_1005C99C1                                            ; +0x1c, 0x1005c99ac\ncmp     byte ptr [rbx+438h], 0                                         ; +0x1e, 0x1005c99ae\njz      short loc_1005C99CA                                            ; +0x25, 0x1005c99b5\nmov     rdi, rsi                                                       ; +0x27, 0x1005c99b7\ncall    sub_10028D230                                                  ; +0x2a, 0x1005c99ba\njmp     short loc_1005C99D2                                            ; +0x2f, 0x1005c99bf\ncmp     byte ptr [rbx+438h], 0                                         ; +0x31, 0x1005c99c1\njz      short loc_1005C99B7                                            ; +0x38, 0x1005c99c8\nmov     rdi, rsi                                                       ; +0x3a, 0x1005c99ca\ncall    sub_10028D270                                                  ; +0x3d, 0x1005c99cd\nmov     rdi, rbx                                                       ; +0x42, 0x1005c99d2\nadd     rsp, 8                                                         ; +0x45, 0x1005c99d5\npop     rbx                                                            ; +0x49, 0x1005c99d9\npop     rbp                                                            ; +0x4a, 0x1005c99da\njmp     $+5                                                            ; +0x4b, 0x1005c99db", "xrefs": ["PlayerObject::collidedWithObjectInternal @ 0x1004090c2"], "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"}