{"type": "func", "start": 4301139192, "end": 4301139400, "name": "FMOD::Reverb3D::set3DAttributes", "pseudocode": "// \n// FMOD::Reverb3D::set3DAttributes from 0x1005e2cf8 to 0x1005e2dc8 (208 bytes)\n// \n// 1 xrefs:\n// > sub_10057A788 @ 0x10057a78c\n// \n// This function is hookable on this platform (idp: arm, 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 11:09:41 +0000\n// \n\n__int64 __fastcall FMOD::Reverb3D::set3DAttributes(__int64 a1, __int64 a2, float a3, float a4)\n{\n  __int64 v8; // x20\n  __int64 v10; // [xsp+0h] [xbp-140h] BYREF\n  _BYTE v11[256]; // [xsp+8h] [xbp-138h] BYREF\n\n  v8 = sub_1005E36FC(a1, &v10);\n  if ( (_DWORD)v8 || (v8 = sub_1005E3A08(v10, a2, a3, a4), (_DWORD)v8) )\n  {\n    if ( (*((_BYTE *)off_1009DA5E8 + 32) & 0x80) != 0 )\n    {\n      v11[0] = 0;\n      sub_1005AAA04(v8, 10, a1, (__int64)\"Reverb3D::set3DAttributes\", (__int64)v11);\n    }\n  }\n  return v8;\n}", "assembly": "; \n; FMOD::Reverb3D::set3DAttributes from 0x1005e2cf8 to 0x1005e2dc8 (208 bytes)\n; \n; 1 xrefs:\n; > sub_10057A788 @ 0x10057a78c\n; \n; This function is hookable on this platform (idp: arm, 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 11:09:41 +0000\n; \nSUB             SP, SP, #0x150                                         ; +0x0, 0x1005e2cf8\nSTP             D9, D8, [SP,#0x140+var_30]                             ; +0x4, 0x1005e2cfc\nSTP             X22, X21, [SP,#0x140+var_20]                           ; +0x8, 0x1005e2d00\nSTP             X20, X19, [SP,#0x140+var_10]                           ; +0xc, 0x1005e2d04\nSTP             X29, X30, [SP,#0x140+var_s0]                           ; +0x10, 0x1005e2d08\nADD             X29, SP, #0x140                                        ; +0x14, 0x1005e2d0c\nFMOV            S8, S1                                                 ; +0x18, 0x1005e2d10\nFMOV            S9, S0                                                 ; +0x1c, 0x1005e2d14\nMOV             X21, X1                                                ; +0x20, 0x1005e2d18\nMOV             X19, X0                                                ; +0x24, 0x1005e2d1c\nADRP            X8, #___stack_chk_guard_ptr@PAGE                       ; +0x28, 0x1005e2d20\nLDR             X8, [X8,#___stack_chk_guard_ptr@PAGEOFF]; ___stack_chk_guard ; +0x2c, 0x1005e2d24\nLDR             X8, [X8]                                               ; +0x30, 0x1005e2d28\nSTUR            X8, [X29,#var_38]                                      ; +0x34, 0x1005e2d2c\nMOV             X1, SP                                                 ; +0x38, 0x1005e2d30\nBL              sub_1005E36FC                                          ; +0x3c, 0x1005e2d34\nMOV             X20, X0                                                ; +0x40, 0x1005e2d38\nCBNZ            W0, loc_1005E2D5C                                      ; +0x44, 0x1005e2d3c\nLDR             X0, [SP,#0x140+var_140]                                ; +0x48, 0x1005e2d40\nMOV             X1, X21                                                ; +0x4c, 0x1005e2d44\nFMOV            S0, S9                                                 ; +0x50, 0x1005e2d48\nFMOV            S1, S8                                                 ; +0x54, 0x1005e2d4c\nBL              sub_1005E3A08                                          ; +0x58, 0x1005e2d50\nMOV             X20, X0                                                ; +0x5c, 0x1005e2d54\nCBZ             W0, loc_1005E2D90                                      ; +0x60, 0x1005e2d58\nADRL            X8, off_1009DA5E8                                      ; +0x64, 0x1005e2d5c\nLDR             X8, [X8]; unk_100A02230                                ; +0x6c, 0x1005e2d64\nLDRB            W8, [X8,#(dword_100A02250 - 0x100A02230)]              ; +0x70, 0x1005e2d68\nTBZ             W8, #7, loc_1005E2D90                                  ; +0x74, 0x1005e2d6c\nSTRB            WZR, [SP,#0x140+var_138]                               ; +0x78, 0x1005e2d70\nADRL            X3, aReverb3dSet3da; \"Reverb3D::set3DAttributes\"       ; +0x7c, 0x1005e2d74\nADD             X4, SP, #0x140+var_138                                 ; +0x84, 0x1005e2d7c\nMOV             X0, X20                                                ; +0x88, 0x1005e2d80\nMOV             W1, #0xA                                               ; +0x8c, 0x1005e2d84\nMOV             X2, X19                                                ; +0x90, 0x1005e2d88\nBL              sub_1005AAA04                                          ; +0x94, 0x1005e2d8c\nLDUR            X8, [X29,#var_38]                                      ; +0x98, 0x1005e2d90\nADRP            X9, #___stack_chk_guard_ptr@PAGE                       ; +0x9c, 0x1005e2d94\nLDR             X9, [X9,#___stack_chk_guard_ptr@PAGEOFF]; ___stack_chk_guard ; +0xa0, 0x1005e2d98\nLDR             X9, [X9]                                               ; +0xa4, 0x1005e2d9c\nCMP             X9, X8                                                 ; +0xa8, 0x1005e2da0\nB.NE            loc_1005E2DC4                                          ; +0xac, 0x1005e2da4\nMOV             X0, X20                                                ; +0xb0, 0x1005e2da8\nLDP             X29, X30, [SP,#0x140+var_s0]                           ; +0xb4, 0x1005e2dac\nLDP             X20, X19, [SP,#0x140+var_10]                           ; +0xb8, 0x1005e2db0\nLDP             X22, X21, [SP,#0x140+var_20]                           ; +0xbc, 0x1005e2db4\nLDP             D9, D8, [SP,#0x140+var_30]                             ; +0xc0, 0x1005e2db8\nADD             SP, SP, #0x150                                         ; +0xc4, 0x1005e2dbc\nRET                                                                    ; +0xc8, 0x1005e2dc0\nBL              ___stack_chk_fail                                      ; +0xcc, 0x1005e2dc4", "xrefs": ["sub_10057A788 @ 0x10057a78c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}