{"type": "func", "start": 4300989088, "end": 4300989137, "name": "GameObject::getSlopeAngle", "pseudocode": "// \n// GameObject::getSlopeAngle from 0x1005be2a0 to 0x1005be2d1 (49 bytes)\n// \n// 4 xrefs:\n// > LevelEditorLayer::rotationForSlopeNearObject @ 0x1000e0bb7\n// > PlayerObject::collidedWithSlopeInternal @ 0x1004073e1\n// > PlayerObject::collidedWithSlopeInternal @ 0x100407d13\n// > PlayerObject::collidedWithSlopeInternal @ 0x10040866a\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\nfloat __fastcall GameObject::getSlopeAngle(GameObject *a1)\n{\n  unsigned __int64 *v1; // rax\n  __m128 v3; // [rsp+0h] [rbp-10h] BYREF\n\n  v1 = (unsigned __int64 *)((__int64 (__fastcall *)(GameObject *))a1->getObjectRect)(a1);\n  sub_10028D180(&v3, v1);\n  return atanf(v3.f32[3] / v3.f32[2]);\n}", "assembly": "; \n; GameObject::getSlopeAngle from 0x1005be2a0 to 0x1005be2d1 (49 bytes)\n; \n; 4 xrefs:\n; > LevelEditorLayer::rotationForSlopeNearObject @ 0x1000e0bb7\n; > PlayerObject::collidedWithSlopeInternal @ 0x1004073e1\n; > PlayerObject::collidedWithSlopeInternal @ 0x100407d13\n; > PlayerObject::collidedWithSlopeInternal @ 0x10040866a\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, 0x1005be2a0\nmov     rbp, rsp                                                       ; +0x1, 0x1005be2a1\nsub     rsp, 10h                                                       ; +0x4, 0x1005be2a4\nmov     rax, [rdi]                                                     ; +0x8, 0x1005be2a8\ncall    qword ptr [rax+520h]                                           ; +0xb, 0x1005be2ab\nlea     rdi, [rbp+var_10]                                              ; +0x11, 0x1005be2b1\nmov     rsi, rax                                                       ; +0x15, 0x1005be2b5\ncall    sub_10028D180                                                  ; +0x18, 0x1005be2b8\nmovss   xmm0, [rbp+var_4]                                              ; +0x1d, 0x1005be2bd\ndivss   xmm0, [rbp+var_8]; float                                       ; +0x22, 0x1005be2c2\nadd     rsp, 10h                                                       ; +0x27, 0x1005be2c7\npop     rbp                                                            ; +0x2b, 0x1005be2cb\njmp     _atanf                                                         ; +0x2c, 0x1005be2cc", "xrefs": ["LevelEditorLayer::rotationForSlopeNearObject @ 0x1000e0bb7", "PlayerObject::collidedWithSlopeInternal @ 0x1004073e1", "PlayerObject::collidedWithSlopeInternal @ 0x100407d13", "PlayerObject::collidedWithSlopeInternal @ 0x10040866a"], "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"}