{"type": "func", "start": 4301846928, "end": 4301846980, "name": "GameObject::getObjectDirection", "pseudocode": "// \n// GameObject::getObjectDirection from 0x10068f990 to 0x10068f9c4 (52 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::updateGameObjects @ 0x1000ad951\n// > LevelEditorLayer::updateGameObjects @ 0x1000ad979\n// > LevelTools::sortChannelOrderObjects @ 0x1005011c4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:35:07 +0000\n// \n\n__int64 __fastcall GameObject::getObjectDirection(__int64 a1)\n{\n  unsigned int v1; // ecx\n  __int64 result; // rax\n\n  GameObject::determineSlopeDirection(a1);\n  v1 = *(_DWORD *)(a1 + 1084) - 2;\n  result = 4;\n  if ( v1 <= 5 )\n    return dword_100A10600[v1];\n  return result;\n}", "assembly": "; \n; GameObject::getObjectDirection from 0x10068f990 to 0x10068f9c4 (52 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::updateGameObjects @ 0x1000ad951\n; > LevelEditorLayer::updateGameObjects @ 0x1000ad979\n; > LevelTools::sortChannelOrderObjects @ 0x1005011c4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:35:07 +0000\n; \npush    rbp                                                            ; +0x0, 0x10068f990\nmov     rbp, rsp                                                       ; +0x1, 0x10068f991\npush    rbx                                                            ; +0x4, 0x10068f994\npush    rax                                                            ; +0x5, 0x10068f995\nmov     rbx, rdi                                                       ; +0x6, 0x10068f996\ncall    GameObject__determineSlopeDirection                            ; +0x9, 0x10068f999\nmov     ecx, [rbx+43Ch]                                                ; +0xe, 0x10068f99e\nadd     ecx, 0FFFFFFFEh                                                ; +0x14, 0x10068f9a4\nmov     eax, 4                                                         ; +0x17, 0x10068f9a7\ncmp     ecx, 5                                                         ; +0x1c, 0x10068f9ac\nja      short loc_10068F9BD                                            ; +0x1f, 0x10068f9af\nmov     eax, ecx                                                       ; +0x21, 0x10068f9b1\nlea     rcx, dword_100A10600                                           ; +0x23, 0x10068f9b3\nmov     eax, [rcx+rax*4]                                               ; +0x2a, 0x10068f9ba\nadd     rsp, 8                                                         ; +0x2d, 0x10068f9bd\npop     rbx                                                            ; +0x31, 0x10068f9c1\npop     rbp                                                            ; +0x32, 0x10068f9c2\nretn                                                                   ; +0x33, 0x10068f9c3", "xrefs": ["LevelEditorLayer::updateGameObjects @ 0x1000ad951", "LevelEditorLayer::updateGameObjects @ 0x1000ad979", "LevelTools::sortChannelOrderObjects @ 0x1005011c4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}