// // sub_C0784 from 0xc0784 to 0xc082a (166 bytes) // // 2 xrefs: // > sub_582B4 @ 0x582ca // > sub_610FC @ 0x611da // // 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_C0784(int *a1) { int result; // r0 int v3; // r0 int v4; // r9 int v5; // r0 int v6; // r8 int v7; // r0 int v8; // r3 int v9; // r3 int v10; // r0 int v11; // r3 int v12; // [sp+4h] [bp-1Ch] BYREF if ( !a1 ) return 31; v12 = 0; result = sub_BFE7C((int)&v12); if ( !result ) { v3 = (*(int (__fastcall **)(int, int, const char *, const char *))(*(_DWORD *)v12 + 452))( v12, gFMODClass, "checkInit", "()Z"); if ( v3 && (v4 = v3, (v5 = (*(int (__fastcall **)(int, int, const char *, const char *))(*(_DWORD *)v12 + 452))( v12, gFMODClass, "supportsLowLatency", "()Z")) != 0) && (v6 = v5, (v7 = (*(int (__fastcall **)(int, int, const char *, const char *))(*(_DWORD *)v12 + 452))( v12, gFMODClass, "supportsAAudio", "()Z")) != 0) ) { if ( sub_BF840(v12, gFMODClass, v7, v8) ) { v10 = 18; } else if ( sub_BF840(v12, gFMODClass, v4, v9) && sub_BF840(v12, gFMODClass, v6, v11) ) { v10 = 12; } else { v10 = 11; } *a1 = v10; return 0; } else { return 28; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source