// // FMOD::Sound::setMode from 0xb5f68 to 0xb5ff4 (140 bytes) // // 1 xrefs: // > FMOD::Sound::setMode @ 0xe0668 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:41:43 +0000 // int __fastcall FMOD::Sound::setMode(FMOD::Sound *this, unsigned int a2) { int v4; // r6 int v5; // r0 int v6; // r0 _BYTE v8[256]; // [sp+8h] [bp-118h] BYREF int v9; // [sp+108h] [bp-18h] BYREF _DWORD *v10; // [sp+10Ch] [bp-14h] BYREF v9 = 0; v4 = sub_54E84((int)this, &v10, (int)&v9); if ( !v4 ) { v5 = v10[47]; __dmb(0xBu); if ( v5 && (v6 = v10[47], __dmb(0xBu), v6 != 7) ) { v4 = 46; } else { v4 = (*(int (__fastcall **)(_DWORD *, unsigned int))(*v10 + 140))(v10, a2); if ( !v4 ) { v4 = 0; goto LABEL_9; } } } if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 ) { sub_5C8F4(v8, 256, a2); sub_BAB40(v4, 5, this, "Sound::setMode", v8); } LABEL_9: sub_6429C(&v9); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source