//
// sub_CCFAE0 from 0xccfae0 to 0xccfb20 (64 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
//
__int64 sub_CCFAE0()
{
unsigned int v0; // w0
__int64 result; // x0
if ( &pthread_create )
{
do
v0 = __ldaxr((unsigned int *)&dword_124A104);
while ( __stlxr(v0 + 1, (unsigned int *)&dword_124A104) );
return v0 + 4;
}
else
{
result = (unsigned int)(dword_124A104 + 4);
++dword_124A104;
}
return result;
}