// // sub_BF4F4 from 0xbf4f4 to 0xbf5e0 (236 bytes) // // 0 xrefs: // // 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:48 +0000 // int __fastcall sub_BF4F4( unsigned __int64 **a1, int a2, int a3, _DWORD *a4, _DWORD *a5, int *a6, int *a7, unsigned int a8, int a9, int a10, const char *a11) { unsigned __int64 *v13; // r0 int *v14; // r4 int v15; // r1 int v16; // r5 const char *v17; // r0 unsigned __int64 *v19; // r0 int v20; // [sp+4h] [bp-24h] BYREF int v21; // [sp+8h] [bp-20h] BYREF a1[12] = (_QWORD *)(&dword_0 + 1); if ( !*a5 ) { *a5 = 3; *a6 = 2; } *a7 = *((_DWORD *)&unk_E5EB8 + 2 * a2); v13 = sub_BD580( *(int *)((char *)&dword_14C + (_DWORD)off_E8000), 0x20u, "../../src/fmod_output_wavwriter_nrt.cpp", 0x64u, 0); *a1 = v13; if ( !v13 ) return 38; v14 = (int *)v13; *(_DWORD *)v13 = *a4; *((_DWORD *)v13 + 1) = *a6; v15 = *a7; *((_DWORD *)v13 + 2) = a8; *((_DWORD *)v13 + 4) = v15; v21 = 0; v16 = sub_4C6EA(a8, &v21, *a6, *a7); if ( !v16 ) { v14[3] = v21; v20 = 0; v17 = "fmodoutput.wav"; if ( a11 ) v17 = a11; if ( j_FMOD_OS_File_Open(v17, 1, &v20, v14 + 7) ) { return 51; } else { v16 = sub_85CA8(v14[7], v14[4], v14[1], *v14, v14[5]); if ( !v16 ) { v16 = 0; v19 = sub_BD580( *(int *)((char *)&dword_14C + (_DWORD)off_E8000), v14[3], "../../src/fmod_output_wavwriter_nrt.cpp", 0x84u, 0); v14[6] = (int)v19; if ( !v19 ) return 38; } } } return v16; }
GD Web Decomp Icon

GD Web Decomp

Raw Source