// // sub_E7D78 from 0xe7d78 to 0xe7e84 (268 bytes) // // 2 xrefs: // > sub_E7EC4 @ 0xe7f5c // > sub_E88F4 @ 0xe897c // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:15:00 +0000 // __int64 __fastcall sub_E7D78(__int64 a1, char a2, _DWORD *a3, _DWORD *a4) { unsigned int v7; // w22 __int64 v9; // [xsp+0h] [xbp-40h] BYREF __int64 v10; // [xsp+8h] [xbp-38h] __int64 v11; // [xsp+10h] [xbp-30h] BYREF __int64 v12; // [xsp+18h] [xbp-28h] BYREF v7 = sub_E7638(a1); if ( !v7 ) { if ( (unsigned int)so_AAudio_createStreamBuilder(&v11) ) { return 51; } else { v9 = v11; v10 = 0; so_AAudioStreamBuilder_setPerformanceMode(v11, 12); if ( so_AAudioStreamBuilder_setUsage ) ((void (__fastcall *)(__int64, __int64))so_AAudioStreamBuilder_setUsage)(v11, 14); so_AAudioStreamBuilder_setDirection(v11, a2 & 1); if ( (unsigned int)so_AAudioStreamBuilder_openStream(v11, &v12) ) { v7 = 51; } else { v10 = v12; if ( a3 ) *a3 = so_AAudioStream_getSampleRate(v12); v7 = 0; if ( a4 ) *a4 = so_AAudioStream_getChannelCount(v12); } sub_E7E84(&v9); } } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source