{"type": "func", "start": 4301846864, "end": 4301846913, "name": "GameObject::getSlopeAngle", "pseudocode": "// \n// GameObject::getSlopeAngle from 0x10068f950 to 0x10068f981 (49 bytes)\n// \n// 4 xrefs:\n// > LevelEditorLayer::rotationForSlopeNearObject @ 0x1000b03b7\n// > PlayerObject::collidedWithSlopeInternal @ 0x1003f4561\n// > PlayerObject::collidedWithSlopeInternal @ 0x1003f4e93\n// > PlayerObject::collidedWithSlopeInternal @ 0x1003f57ea\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\nfloat __fastcall GameObject::getSlopeAngle(__int64 a1)\n{\n  unsigned __int64 *v1; // rax\n  __m128 v3; // [rsp+0h] [rbp-10h] BYREF\n\n  v1 = (unsigned __int64 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1328LL))(a1);\n  sub_1002787F0(&v3, v1);\n  return atanf(v3.f32[3] / v3.f32[2]);\n}", "assembly": "; \n; GameObject::getSlopeAngle from 0x10068f950 to 0x10068f981 (49 bytes)\n; \n; 4 xrefs:\n; > LevelEditorLayer::rotationForSlopeNearObject @ 0x1000b03b7\n; > PlayerObject::collidedWithSlopeInternal @ 0x1003f4561\n; > PlayerObject::collidedWithSlopeInternal @ 0x1003f4e93\n; > PlayerObject::collidedWithSlopeInternal @ 0x1003f57ea\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, 0x10068f950\nmov     rbp, rsp                                                       ; +0x1, 0x10068f951\nsub     rsp, 10h                                                       ; +0x4, 0x10068f954\nmov     rax, [rdi]                                                     ; +0x8, 0x10068f958\ncall    qword ptr [rax+530h]                                           ; +0xb, 0x10068f95b\nlea     rdi, [rbp+var_10]                                              ; +0x11, 0x10068f961\nmov     rsi, rax                                                       ; +0x15, 0x10068f965\ncall    sub_1002787F0                                                  ; +0x18, 0x10068f968\nmovss   xmm0, [rbp+var_4]                                              ; +0x1d, 0x10068f96d\ndivss   xmm0, [rbp+var_8]; float                                       ; +0x22, 0x10068f972\nadd     rsp, 10h                                                       ; +0x27, 0x10068f977\npop     rbp                                                            ; +0x2b, 0x10068f97b\njmp     _atanf                                                         ; +0x2c, 0x10068f97c", "xrefs": ["LevelEditorLayer::rotationForSlopeNearObject @ 0x1000b03b7", "PlayerObject::collidedWithSlopeInternal @ 0x1003f4561", "PlayerObject::collidedWithSlopeInternal @ 0x1003f4e93", "PlayerObject::collidedWithSlopeInternal @ 0x1003f57ea"], "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"}