{"type": "func", "start": 4297463584, "end": 4297463684, "name": "GameObject::slopeYPos_1", "pseudocode": "// \n// GameObject::slopeYPos_1 from 0x100261720 to 0x100261784 (100 bytes)\n// \n// 1 xrefs:\n// > PlayerObject::collidedWithObjectInternal @ 0x100221df8\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  float *v2; // x1\n  unsigned int m_slopeDirection; // w8\n  bool v5; // cc\n  int v6; // w8\n  float v8; // s0\n\n  m_slopeDirection = a1->m_slopeDirection;\n  v5 = m_slopeDirection > 6;\n  v6 = (1 << m_slopeDirection) & 0x6A;\n  if ( v5 || v6 == 0 )\n  {\n    if ( !a1->m_slopeUphill )\n      goto LABEL_6;\nLABEL_8:\n    v8 = sub_100022C40((__int64)v2);\n    return GameObject::slopeYPos(a1, v8);\n  }\n  if ( !a1->m_slopeUphill )\n    goto LABEL_8;\nLABEL_6:\n  v8 = sub_100022C30(v2);\n  return GameObject::slopeYPos(a1, v8);\n}", "assembly": "; \n; GameObject::slopeYPos_1 from 0x100261720 to 0x100261784 (100 bytes)\n; \n; 1 xrefs:\n; > PlayerObject::collidedWithObjectInternal @ 0x100221df8\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100261720\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100261724\nADD             X29, SP, #0x10                                         ; +0x8, 0x100261728\nMOV             X19, X0                                                ; +0xc, 0x10026172c\nLDR             W8, [X0,#0x43C]                                        ; +0x10, 0x100261730\nCMP             W8, #6                                                 ; +0x14, 0x100261734\nMOV             W9, #1                                                 ; +0x18, 0x100261738\nLSL             W8, W9, W8                                             ; +0x1c, 0x10026173c\nMOV             W9, #0x6A ; 'j'                                        ; +0x20, 0x100261740\nAND             W8, W8, W9                                             ; +0x24, 0x100261744\nCCMP            W8, #0, #4, LS                                         ; +0x28, 0x100261748\nB.EQ            loc_100261764                                          ; +0x2c, 0x10026174c\nLDRB            W8, [X19,#0x438]                                       ; +0x30, 0x100261750\nTBZ             W8, #0, loc_10026176C                                  ; +0x34, 0x100261754\nMOV             X0, X1                                                 ; +0x38, 0x100261758\nBL              sub_100022C30                                          ; +0x3c, 0x10026175c\nB               loc_100261774                                          ; +0x40, 0x100261760\nLDRB            W8, [X19,#0x438]                                       ; +0x44, 0x100261764\nTBZ             W8, #0, loc_100261758                                  ; +0x48, 0x100261768\nMOV             X0, X1                                                 ; +0x4c, 0x10026176c\nBL              sub_100022C40                                          ; +0x50, 0x100261770\nMOV             X0, X19                                                ; +0x54, 0x100261774\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x58, 0x100261778\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x5c, 0x10026177c\nB               GameObject__slopeYPos                                  ; +0x60, 0x100261780", "xrefs": ["PlayerObject::collidedWithObjectInternal @ 0x100221df8"], "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"}