{"type": "func", "start": 4297445896, "end": 4297445964, "name": "GameObject::getObjectDirection", "pseudocode": "// \n// GameObject::getObjectDirection from 0x10025d208 to 0x10025d24c (68 bytes)\n// \n// 3 xrefs:\n// > LevelTools::sortChannelOrderObjects @ 0x1001a97f0\n// > LevelEditorLayer::updateGameObjects @ 0x100358ecc\n// > LevelEditorLayer::updateGameObjects @ 0x100358ee4\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\nint __fastcall GameObject::getObjectDirection(GameObject *a1)\n{\n  unsigned int v2; // w8\n\n  GameObject::determineSlopeDirection(a1);\n  v2 = a1->m_slopeDirection - 2;\n  if ( v2 > 5 )\n    return 4;\n  else\n    return dword_10064272C[v2];\n}", "assembly": "; \n; GameObject::getObjectDirection from 0x10025d208 to 0x10025d24c (68 bytes)\n; \n; 3 xrefs:\n; > LevelTools::sortChannelOrderObjects @ 0x1001a97f0\n; > LevelEditorLayer::updateGameObjects @ 0x100358ecc\n; > LevelEditorLayer::updateGameObjects @ 0x100358ee4\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, 0x10025d208\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10025d20c\nADD             X29, SP, #0x10                                         ; +0x8, 0x10025d210\nMOV             X19, X0                                                ; +0xc, 0x10025d214\nBL              GameObject__determineSlopeDirection                    ; +0x10, 0x10025d218\nLDR             W8, [X19,#0x43C]                                       ; +0x14, 0x10025d21c\nSUB             W8, W8, #2                                             ; +0x18, 0x10025d220\nCMP             W8, #5                                                 ; +0x1c, 0x10025d224\nB.HI            loc_10025D23C                                          ; +0x20, 0x10025d228\nADRL            X9, dword_10064272C                                    ; +0x24, 0x10025d22c\nLDR             W0, [X9,W8,UXTW#2]                                     ; +0x2c, 0x10025d234\nB               loc_10025D240                                          ; +0x30, 0x10025d238\nMOV             W0, #4                                                 ; +0x34, 0x10025d23c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x10025d240\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x10025d244\nRET                                                                    ; +0x40, 0x10025d248", "xrefs": ["LevelTools::sortChannelOrderObjects @ 0x1001a97f0", "LevelEditorLayer::updateGameObjects @ 0x100358ecc", "LevelEditorLayer::updateGameObjects @ 0x100358ee4"], "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"}