// // sub_1005C77F8 from 0x1005c77f8 to 0x1005c7858 (96 bytes) // // 6 xrefs: // > sub_10057D98C @ 0x10057da7c // > sub_10057D98C @ 0x10057da9c // > sub_10057D98C @ 0x10057dae4 // > sub_10057D98C @ 0x10057daf0 // > sub_10058C338 @ 0x10058ea40 // > FMOD::DSP::setBypass @ 0x1005ab68c // // 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 11:09:25 +0000 // __int64 __fastcall sub_1005C77F8(__int64 a1, int a2) { unsigned int *v2; // x8 char v3; // w9 unsigned int v4; // w9 unsigned int v5; // w9 v2 = (unsigned int *)(a1 + 100); v3 = atomic_load((unsigned int *)(a1 + 100)); if ( ((((v3 & 1) == 0) ^ a2) & 1) == 0 ) *(_DWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 168) + 67512LL) + 48LL) = 1; if ( (a2 & 1) != 0 ) { do v4 = __ldaxr(v2); while ( __stlxr(v4 | 1, v2) ); } else { do v5 = __ldaxr(v2); while ( __stlxr(v5 & 0xFFFFFFFE, v2) ); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source