//
// SecretLayer2::getMessage from 0x10049e0a0 to 0x10049e124 (132 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
//
std::string *__fastcall SecretLayer2::getMessage(std::string *this, SecretLayer2 *a2)
{
float v3; // [rsp+Ch] [rbp-14h]
if ( a2->m_selectedThread )
goto LABEL_5;
v3 = (float)((float)a2->m_basicMessageCount * -0.050000001) + 1.0;
if ( (float)((float)rand() * 4.6566129e-10) > v3 )
SecretLayer2::selectAThread(a2);
if ( a2->m_selectedThread )
LABEL_5:
SecretLayer2::getThreadMessage(this);
else
SecretLayer2::getBasicMessage(this, a2);
return this;
}