// // sub_CEADA4 from 0xceada4 to 0xceae68 (196 bytes) // // 0 xrefs: // // 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 // _DWORD *__fastcall sub_CEADA4(_DWORD *result, __int64 a2, __int64 **a3) { __int64 *v4; // x1 _DWORD *v5; // x20 __int64 **v6; // x22 unsigned int v7; // w0 __int64 v8; // x0 unsigned __int64 v9; // x0 _DWORD *v10; // x2 __int64 *v11; // t1 v4 = *a3; v5 = result; v6 = a3; if ( *a3 ) { do { v8 = *v4; if ( !*v4 ) { if ( &pthread_create ) { do v7 = __ldaxr((unsigned int *)&dword_124A1C8); while ( __stlxr(v7 + 1, (unsigned int *)&dword_124A1C8) ); LODWORD(v8) = v7 + 1; } else { LODWORD(v8) = ++dword_124A1C8; } v8 = (int)v8; *v4 = (int)v8; } v9 = v8 - 1; if ( *(_QWORD *)(a2 + 16) - 1LL < v9 || (v10 = *(_DWORD **)(*(_QWORD *)(a2 + 8) + 8 * v9)) == nullptr ) sub_D13DB0("locale::_Impl::_M_replace_facet"); result = sub_CEA9C4(v5, v4, v10); v11 = v6[1]; ++v6; v4 = v11; } while ( v11 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source