// // sub_CCFD74 from 0xccfd74 to 0xccfdf8 (132 bytes) // // 4 xrefs: // > sub_CCEF54 @ 0xccefdc // > sub_CCF834 @ 0xccf8bc // > sub_CCFDF8 @ 0xccfe20 // > sub_CCFE50 @ 0xccfe78 // // 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 // void __fastcall sub_CCFD74(__int64 a1) { _DWORD *v1; // x1 unsigned int *v3; // x0 unsigned int v4; // w2 _DWORD *v5; // x19 v1 = *(_DWORD **)(a1 + 40); if ( v1 ) { v3 = v1 + 5; if ( !&pthread_create ) goto LABEL_8; do LABEL_3: v4 = __ldaxr(v3); while ( __stlxr(v4 - 1, v3) ); while ( !v4 ) { v5 = *(_DWORD **)v1; operator delete(v1); v1 = v5; if ( !v5 ) break; v3 = v5 + 5; if ( &pthread_create ) goto LABEL_3; LABEL_8: v4 = v1[5]; v1[5] = v4 - 1; } } *(_QWORD *)(a1 + 40) = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source