// // sub_5A318 from 0x5a318 to 0x5a394 (124 bytes) // // 7 xrefs: // > sub_44ED8 @ 0x44f04 // > sub_44ED8 @ 0x44f1c // > sub_753C4 @ 0x75b12 // > sub_753C4 @ 0x75c88 // > sub_753C4 @ 0x75dee // > sub_753C4 @ 0x7745e // > FMOD::System::createDSPByType @ 0xb962c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_5A318(int a1, int a2, _DWORD *a3) { int result; // r0 int *v6; // r5 _DWORD *v7[10]; // [sp+8h] [bp-38h] BYREF if ( !*(_DWORD *)(a1 + 68272) ) return 67; if ( !a3 ) return 31; *a3 = 0; result = 31; if ( a2 && a2 <= 36 ) { if ( a2 == 1 ) { memset(v7, 0, 0x24u); v7[4] = &dword_0 + 1; v7[1] = "FMOD Mixer unit"; result = sub_617B8(a1, v7, 0, a3, 1); } else { v6 = (int *)(a1 + 68272); v7[0] = nullptr; result = sub_51BCE(*v6, a2, v7); if ( result ) return result; result = sub_51CA4(*v6, v7[0], nullptr, a3); } if ( !result ) return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source