{"type": "func", "start": 342932, "end": 343020, "name": "sub_53B94", "pseudocode": "// \n// sub_53B94 from 0x53b94 to 0x53bec (88 bytes)\n// \n// 1 xrefs:\n// > FMOD::Reverb3D::set3DAttributes @ 0xb4590\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:40:44 +0000\n// \n\nint __fastcall sub_53B94(int a1, _DWORD *a2, float a3, float a4)\n{\n  float v4; // s0\n  int v5; // r5\n  int v6; // r6\n\n  v4 = a3;\n  if ( a2 )\n  {\n    v5 = a2[1];\n    v6 = a2[2];\n    *(_DWORD *)(a1 + 76) = *a2;\n    *(_DWORD *)(a1 + 80) = v5;\n    *(_DWORD *)(a1 + 84) = v6;\n  }\n  *(float *)(a1 + 88) = a3;\n  if ( *(float *)(a1 + 92) < a3 )\n    *(float *)(a1 + 92) = a3;\n  *(float *)(a1 + 92) = a4;\n  if ( a3 > a4 )\n  {\n    *(float *)(a1 + 88) = a4;\n    v4 = a4;\n  }\n  *(float *)(a1 + 96) = a4 - v4;\n  return 0;\n}", "assembly": "; \n; sub_53B94 from 0x53b94 to 0x53bec (88 bytes)\n; \n; 1 xrefs:\n; > FMOD::Reverb3D::set3DAttributes @ 0xb4590\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:40:44 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x53b94\nADD             R7, SP, #0xC                                           ; +0x2, 0x53b96\nPUSH.W          {R11}                                                  ; +0x4, 0x53b98\nVMOV            S0, R2                                                 ; +0x8, 0x53b9c\nCBZ             R1, loc_53BAC                                          ; +0xc, 0x53ba0\nLDM.W           R1, {R4-R6}                                            ; +0xe, 0x53ba2\nADD.W           R2, R0, #0x4C ; 'L'                                    ; +0x12, 0x53ba6\nSTM             R2!, {R4-R6}                                           ; +0x16, 0x53baa\nVSTR            S0, [R0,#0x58]                                         ; +0x18, 0x53bac\nVMOV            S2, R3                                                 ; +0x1c, 0x53bb0\nVLDR            S4, [R0,#0x5C]                                         ; +0x20, 0x53bb4\nVCMPE.F32       S4, S0                                                 ; +0x24, 0x53bb8\nVMRS            APSR_nzcv, FPSCR                                       ; +0x28, 0x53bbc\nVCMPE.F32       S0, S2                                                 ; +0x2c, 0x53bc0\nIT LT                                                                  ; +0x30, 0x53bc4\nVSTRLT          S0, [R0,#0x5C]                                         ; +0x32, 0x53bc6\nVSTR            S2, [R0,#0x5C]                                         ; +0x36, 0x53bca\nVMRS            APSR_nzcv, FPSCR                                       ; +0x3a, 0x53bce\nITT GT                                                                 ; +0x3e, 0x53bd2\nVSTRGT          S2, [R0,#0x58]                                         ; +0x40, 0x53bd4\nVMOVGT.F32      S0, S2                                                 ; +0x44, 0x53bd8\nVSUB.F32        S0, S2, S0                                             ; +0x48, 0x53bdc\nVSTR            S0, [R0,#0x60]                                         ; +0x4c, 0x53be0\nMOVS            R0, #0                                                 ; +0x50, 0x53be4\nPOP.W           {R11}                                                  ; +0x52, 0x53be6\nPOP             {R4-R7,PC}                                             ; +0x56, 0x53bea", "xrefs": ["FMOD::Reverb3D::set3DAttributes @ 0xb4590"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}