// // sub_1004D0E8C from 0x1004d0e8c to 0x1004d0f30 (164 bytes) // // 1 xrefs: // > FMOD::System::createDSPByPlugin @ 0x1004c9b5c // // 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 // __int64 __fastcall sub_1004D0E8C(__int64 a1, int a2, unsigned __int64 *a3) { __int64 *v3; // x20 __int64 result; // x0 unsigned int *v6; // x8 unsigned int v7; // w9 __int64 v8; // [xsp+8h] [xbp-18h] BYREF v8 = 0; v3 = (__int64 *)(a1 + 69128); if ( !*(_QWORD *)(a1 + 69128) ) return 67; if ( !a3 ) return 31; *a3 = 0; result = sub_1004BB900(*v3, a2, &v8); if ( !(_DWORD)result ) { result = sub_1004BC664(*v3, v8, 0, a3); if ( !(_DWORD)result ) { v6 = (unsigned int *)(*a3 + 100); do v7 = __ldaxr(v6); while ( __stlxr(v7 | 4, v6) ); ++*(_DWORD *)(v8 + 60); return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source