{"type": "func", "start": 4300989152, "end": 4300989204, "name": "GameObject::getObjectDirection", "pseudocode": "// \n// GameObject::getObjectDirection from 0x1005be2e0 to 0x1005be314 (52 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::updateGameObjects @ 0x1000de831\n// > LevelEditorLayer::updateGameObjects @ 0x1000de859\n// > LevelTools::sortChannelOrderObjects @ 0x100502494\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 v1; // ecx\n  int result; // eax\n\n  GameObject::determineSlopeDirection(a1);\n  v1 = a1->m_slopeDirection - 2;\n  result = 4;\n  if ( v1 <= 5 )\n    return dword_100821728[v1];\n  return result;\n}", "assembly": "; \n; GameObject::getObjectDirection from 0x1005be2e0 to 0x1005be314 (52 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::updateGameObjects @ 0x1000de831\n; > LevelEditorLayer::updateGameObjects @ 0x1000de859\n; > LevelTools::sortChannelOrderObjects @ 0x100502494\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, 0x1005be2e0\nmov     rbp, rsp                                                       ; +0x1, 0x1005be2e1\npush    rbx                                                            ; +0x4, 0x1005be2e4\npush    rax                                                            ; +0x5, 0x1005be2e5\nmov     rbx, rdi                                                       ; +0x6, 0x1005be2e6\ncall    GameObject__determineSlopeDirection                            ; +0x9, 0x1005be2e9\nmov     ecx, [rbx+43Ch]                                                ; +0xe, 0x1005be2ee\nadd     ecx, 0FFFFFFFEh                                                ; +0x14, 0x1005be2f4\nmov     eax, 4                                                         ; +0x17, 0x1005be2f7\ncmp     ecx, 5                                                         ; +0x1c, 0x1005be2fc\nja      short loc_1005BE30D                                            ; +0x1f, 0x1005be2ff\nmov     eax, ecx                                                       ; +0x21, 0x1005be301\nlea     rcx, dword_100821728                                           ; +0x23, 0x1005be303\nmov     eax, [rcx+rax*4]                                               ; +0x2a, 0x1005be30a\nadd     rsp, 8                                                         ; +0x2d, 0x1005be30d\npop     rbx                                                            ; +0x31, 0x1005be311\npop     rbp                                                            ; +0x32, 0x1005be312\nretn                                                                   ; +0x33, 0x1005be313", "xrefs": ["LevelEditorLayer::updateGameObjects @ 0x1000de831", "LevelEditorLayer::updateGameObjects @ 0x1000de859", "LevelTools::sortChannelOrderObjects @ 0x100502494"], "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"}