{"type": "func", "start": 417500, "end": 417572, "name": "sub_65EDC", "pseudocode": "// \n// sub_65EDC from 0x65edc to 0x65f24 (72 bytes)\n// \n// 1 xrefs:\n// > FMOD::Reverb3D::set3DAttributes @ 0xd7cb8\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\n__int64 __fastcall sub_65EDC(__int64 a1, __int64 *a2, float a3, float a4)\n{\n  __int64 v4; // x9\n  float v5; // s2\n\n  if ( a2 )\n  {\n    v4 = *a2;\n    *(_DWORD *)(a1 + 104) = *((_DWORD *)a2 + 2);\n    *(_QWORD *)(a1 + 96) = v4;\n  }\n  v5 = *(float *)(a1 + 112);\n  *(float *)(a1 + 108) = a3;\n  if ( v5 < a3 )\n    *(float *)(a1 + 112) = a3;\n  *(float *)(a1 + 112) = a4;\n  if ( a3 > a4 )\n  {\n    a3 = a4;\n    *(float *)(a1 + 108) = a4;\n  }\n  *(float *)(a1 + 116) = a4 - a3;\n  return 0;\n}", "assembly": "; \n; sub_65EDC from 0x65edc to 0x65f24 (72 bytes)\n; \n; 1 xrefs:\n; > FMOD::Reverb3D::set3DAttributes @ 0xd7cb8\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\nCBZ             X1, loc_65EF0                                          ; +0x0, 0x65edc\nLDR             W8, [X1,#8]                                            ; +0x4, 0x65ee0\nLDR             X9, [X1]                                               ; +0x8, 0x65ee4\nSTR             W8, [X0,#0x68]                                         ; +0xc, 0x65ee8\nSTR             X9, [X0,#0x60]                                         ; +0x10, 0x65eec\nLDR             S2, [X0,#0x70]                                         ; +0x14, 0x65ef0\nSTR             S0, [X0,#0x6C]                                         ; +0x18, 0x65ef4\nFCMP            S2, S0                                                 ; +0x1c, 0x65ef8\nB.GE            loc_65F04                                              ; +0x20, 0x65efc\nSTR             S0, [X0,#0x70]                                         ; +0x24, 0x65f00\nFCMP            S0, S1                                                 ; +0x28, 0x65f04\nSTR             S1, [X0,#0x70]                                         ; +0x2c, 0x65f08\nB.LE            loc_65F18                                              ; +0x30, 0x65f0c\nMOV             V0.16B, V1.16B                                         ; +0x34, 0x65f10\nSTR             S1, [X0,#0x6C]                                         ; +0x38, 0x65f14\nFSUB            S0, S1, S0                                             ; +0x3c, 0x65f18\nSTR             S0, [X0,#0x74]                                         ; +0x40, 0x65f1c\nB               loc_662E8                                              ; +0x44, 0x65f20", "xrefs": ["FMOD::Reverb3D::set3DAttributes @ 0xd7cb8"], "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"}