// // FMOD::SystemI::createDiskFile from 0x627b0 to 0x62a18 (616 bytes) // // 1 xrefs: // > FMOD::SystemI::createDiskFile @ 0xe2d88 // // 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:40:52 +0000 // int __fastcall FMOD::SystemI::createDiskFile(int a1, int a2, _DWORD *a3, int *a4, _BYTE *a5) { int v6; // r6 int v10; // r9 bool v11; // zf bool v12; // zf int v13; // r0 int v14; // r5 int v15; // r0 int v16; // r1 int v17; // r3 int v18; // r0 int v19; // r1 int v20; // r2 int v21; // r0 int v22; // r1 int v23; // r2 int v24; // r0 int v25; // r1 int v26; // r2 int v27; // r4 int v28; // r0 int v30; // [sp+0h] [bp-30h] int v31; // [sp+4h] [bp-2Ch] int v32; // [sp+8h] [bp-28h] int v33; // [sp+10h] [bp-20h] BYREF v6 = 0; v33 = 0; v10 = sub_62A60(a1, a3); if ( !sub_BE30E("fmod:///remote/", a2, 15) ) { v18 = sub_BD410(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), 428, "../../src/fmod_systemi_sound.cpp", 509); if ( v18 ) { v14 = v18; v15 = sub_62A7C(v18, v19, v20); v33 = v15; v16 = a1; v17 = *(_DWORD *)(a1 + 68932); goto LABEL_18; } goto LABEL_40; } v11 = a3 == nullptr; if ( a3 ) v11 = a3[19] == 0; if ( v11 || !a3[20] || (!a3[21] || !a3[22]) && (!a3[23] || !a3[24]) || a3[31] ) { if ( *(_BYTE *)(a1 + 68928) ) { v12 = a3 == nullptr; if ( a3 ) v12 = a3[31] == 0; if ( v12 ) { v13 = sub_BD410(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), 456, "../../src/fmod_systemi_sound.cpp", 535); v14 = v13; if ( !v13 ) { v27 = 38; v6 = 0; goto LABEL_42; } sub_62A98(v13); v33 = v14; if ( a3 ) *(_DWORD *)(v14 + 452) = a3[25]; v15 = v14; goto LABEL_15; } } if ( sub_BE30E("http://", a2, 7) && sub_BE30E("http:\\\\", a2, 7) && sub_BE30E("https://", a2, 8) && sub_BE30E("https:\\\\", a2, 8) && sub_BE30E("mms://", a2, 6) && sub_BE30E("mms:\\\\", a2, 6) ) { v6 = 0; v21 = sub_BD410(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), 424, "../../src/fmod_systemi_sound.cpp", 568); if ( v21 ) { v14 = v21; v15 = sub_62B1C(v21, v22, v23); v33 = v15; LABEL_15: v16 = a1; v17 = v10; LABEL_18: sub_BB0F0(v15, v16, 0, v17, 0, 0, 1); LABEL_30: v6 = 0; v27 = 0; *a4 = v14; LABEL_42: v33 = v6; goto LABEL_43; } } else { v6 = 0; v24 = sub_BD410(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), 8724, "../../src/fmod_systemi_sound.cpp", 555); if ( v24 ) { v14 = v24; v33 = sub_BBF34(v24, v25, v26); sub_BB0F0(v33, a1, 0, v10, 0, 0, 1); if ( a5 ) *a5 = 1; goto LABEL_30; } } LABEL_40: v27 = 38; goto LABEL_42; } v28 = sub_BD410(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), 456, "../../src/fmod_systemi_sound.cpp", 520); v6 = v28; if ( !v28 ) goto LABEL_40; sub_62A98(v28); v33 = v6; v27 = sub_62AC4(v6, a3[19], a3[20], a3[21], a3[22], a3[23], a3[24]); if ( !v27 ) { *(_DWORD *)(v6 + 452) = a3[25]; sub_BB0F0(v6, a1, 0, v10, v30, v31, v32); v14 = v6; goto LABEL_30; } LABEL_43: sub_62B40(&v33); return v27; }
GD Web Decomp Icon

GD Web Decomp

Raw Source